diff --git a/.tool-versions b/.tool-versions new file mode 100644 index 00000000..ea1c9039 --- /dev/null +++ b/.tool-versions @@ -0,0 +1,2 @@ +java temurin-17.0.17+10 +gradle 9.3.0 diff --git a/README.md b/README.md index 024fcdb7..8d887bb9 100644 --- a/README.md +++ b/README.md @@ -74,7 +74,7 @@ the unit tests) before expecting it to work! For a working example, see `example There are several steps involved to execute CQL. First, you must create a JSON representation of the ELM. For the easiest integration, we will generate a JSON file using cql-to-elm: -1. Install the [Java 11 SDK](https://adoptopenjdk.net/) +1. Install the [Java 17 SDK](https://adoptopenjdk.net/) 2. Clone the [clinical_quality_language](https://github.com/cqframework/clinical_quality_language) repository to a location of your choice 3. `cd ${path_to_clinical_quality_language}/Src/java` (replacing diff --git a/package.json b/package.json index 93528cf4..9591be2a 100644 --- a/package.json +++ b/package.json @@ -112,7 +112,7 @@ "build": "tsc", "build:browserify": "npm run build && node ./bin/browserify.js", "build:test-data": "cd \"./test/generator\" && \"./gradlew\" generateTestData && cd ..", - "build:spec-test-data": "node \"test/spec-tests/generate-cql.js\" && cd \"./test/generator\" && \"./gradlew\" generateSpecTestData && cd ..", + "build:spec-test-data": "node \"test/spec-tests/generate-cql.js\" && cd \"./test/generator\" && \"./gradlew\" generateSpecTestData && cd ../.. && node \"test/spec-tests/prettify-json.js\"", "build:all": "npm run build && npm run build:browserify && npm run build:test-data && npm run build:spec-test-data", "watch:test-data": "cd \"./test/generator\" && \"./gradlew\" watchTestData && cd ..", "test": "cross-env TS_NODE_PROJECT=\"./test/tsconfig.json\" TS_NODE_FILES=true mocha --reporter spec --recursive", diff --git a/test/elm/aggregate/data.js b/test/elm/aggregate/data.js index 44f37b80..f2d6c8e4 100644 --- a/test/elm/aggregate/data.js +++ b/test/elm/aggregate/data.js @@ -19,411 +19,464 @@ define is_null: Count(null as List) */ module.exports['Count'] = { - "library" : { - "localId" : "0", - "annotation" : [ { - "translatorVersion" : "3.27.0", - "translatorOptions" : "EnableDateRangeOptimization,EnableAnnotations,EnableResultTypes", - "signatureLevel" : "All", - "type" : "CqlToElmInfo" - }, { - "type" : "Annotation", - "s" : { + "library" : { + "localId" : "0", + "annotation" : [ { + "type" : "CqlToElmInfo", + "translatorVersion" : "4.2.0", + "translatorOptions" : "EnableDateRangeOptimization,EnableAnnotations,EnableResultTypes", + "signatureLevel" : "All" + }, { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "266", + "s" : [ { + "value" : [ "", "library TestSnippet version '1'" ] + } ] + } + } ], + "identifier" : { + "id" : "TestSnippet", + "version" : "1" + }, + "schemaIdentifier" : { + "id" : "urn:hl7-org:elm", + "version" : "r1" + }, + "usings" : { + "def" : [ { + "localId" : "1", + "localIdentifier" : "System", + "uri" : "urn:hl7-org:elm-types:r1", + "annotation" : [ ] + }, { + "localId" : "206", + "localIdentifier" : "Simple", + "uri" : "https://github.com/cqframework/cql-execution/simple", + "version" : "1.0.0", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "206", + "s" : [ { + "value" : [ "", "using " ] + }, { + "s" : [ { + "value" : [ "Simple" ] + } ] + }, { + "value" : [ " version '1.0.0'" ] + } ] + } + } ] + } ] + }, + "contexts" : { + "def" : [ { + "localId" : "211", + "name" : "Patient", + "annotation" : [ ] + } ] + }, + "statements" : { + "def" : [ { + "localId" : "209", + "name" : "Patient", + "context" : "Patient", + "annotation" : [ ], + "expression" : { + "type" : "SingletonFrom", + "localId" : "210", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Retrieve", + "localId" : "208", + "dataType" : "{https://github.com/cqframework/cql-execution/simple}Patient", + "annotation" : [ ], + "include" : [ ], + "codeFilter" : [ ], + "dateFilter" : [ ], + "otherFilter" : [ ] + } + } + }, { + "localId" : "214", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "name" : "not_null", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "214", + "s" : [ { + "value" : [ "", "define ", "not_null", ": " ] + }, { + "r" : "227", + "s" : [ { + "value" : [ "Count", "(" ] + }, { + "r" : "215", + "s" : [ { + "r" : "216", + "value" : [ "{", "1", ",", "2", ",", "3", ",", "4", ",", "5", "}" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Count", + "localId" : "227", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ], + "signature" : [ { + "type" : "ListTypeSpecifier", + "localId" : "228", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "229", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } ], + "source" : { + "type" : "List", + "localId" : "215", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "221", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "222", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "element" : [ { + "type" : "Literal", + "localId" : "216", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "217", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "218", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "219", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "4", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "220", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "5", + "annotation" : [ ] + } ] + } + } + }, { + "localId" : "232", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "name" : "has_null", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "232", + "s" : [ { + "value" : [ "", "define ", "has_null", ": " ] + }, { + "r" : "248", + "s" : [ { + "value" : [ "Count", "(" ] + }, { + "r" : "233", + "s" : [ { + "r" : "234", + "value" : [ "{", "1", ",", "null", ",", "null", ",", "null", ",", "2", "}" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Count", + "localId" : "248", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ], + "signature" : [ { + "type" : "ListTypeSpecifier", + "localId" : "249", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "250", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } ], + "source" : { + "type" : "List", + "localId" : "233", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "242", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "243", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "element" : [ { + "type" : "Literal", + "localId" : "234", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, { + "type" : "As", + "localId" : "239", + "asType" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Null", + "localId" : "235", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } + }, { + "type" : "As", + "localId" : "240", + "asType" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Null", + "localId" : "236", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } + }, { + "type" : "As", + "localId" : "241", + "asType" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Null", + "localId" : "237", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } + }, { + "type" : "Literal", + "localId" : "238", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "annotation" : [ ] + } ] + } + } + }, { + "localId" : "253", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "name" : "empty", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "253", + "s" : [ { + "value" : [ "", "define ", "empty", ": " ] + }, { + "r" : "261", + "s" : [ { + "r" : "254", + "value" : [ "Count", "(", "{}", ")" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Count", + "localId" : "261", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ], + "signature" : [ { + "type" : "ListTypeSpecifier", + "localId" : "262", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "263", + "name" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } + } ], + "source" : { + "type" : "List", + "localId" : "254", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "255", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "256", + "name" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } + }, + "element" : [ ] + } + } + }, { + "localId" : "266", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "name" : "is_null", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { "r" : "266", "s" : [ { - "value" : [ "","library TestSnippet version '1'" ] - } ] - } - } ], - "identifier" : { - "id" : "TestSnippet", - "version" : "1" - }, - "schemaIdentifier" : { - "id" : "urn:hl7-org:elm", - "version" : "r1" - }, - "usings" : { - "def" : [ { - "localId" : "1", - "localIdentifier" : "System", - "uri" : "urn:hl7-org:elm-types:r1" - }, { - "localId" : "206", - "localIdentifier" : "Simple", - "uri" : "https://github.com/cqframework/cql-execution/simple", - "version" : "1.0.0", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "206", - "s" : [ { - "value" : [ "","using " ] - }, { - "s" : [ { - "value" : [ "Simple" ] - } ] - }, { - "value" : [ " version '1.0.0'" ] - } ] - } - } ] - } ] - }, - "contexts" : { - "def" : [ { - "localId" : "211", - "name" : "Patient" - } ] - }, - "statements" : { - "def" : [ { - "localId" : "209", - "name" : "Patient", - "context" : "Patient", - "expression" : { - "localId" : "210", - "type" : "SingletonFrom", - "signature" : [ ], - "operand" : { - "localId" : "208", - "dataType" : "{https://github.com/cqframework/cql-execution/simple}Patient", - "type" : "Retrieve", - "include" : [ ], - "codeFilter" : [ ], - "dateFilter" : [ ], - "otherFilter" : [ ] - } - } - }, { - "localId" : "214", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "name" : "not_null", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "214", - "s" : [ { - "value" : [ "","define ","not_null",": " ] - }, { - "r" : "227", - "s" : [ { - "value" : [ "Count","(" ] - }, { - "r" : "215", - "s" : [ { - "r" : "216", - "value" : [ "{","1",",","2",",","3",",","4",",","5","}" ] - } ] - }, { - "value" : [ ")" ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "227", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "Count", - "signature" : [ { - "localId" : "228", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "229", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } ], - "source" : { - "localId" : "215", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "221", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "222", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "element" : [ { - "localId" : "216", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, { - "localId" : "217", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal" - }, { - "localId" : "218", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, { - "localId" : "219", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "4", - "type" : "Literal" - }, { - "localId" : "220", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal" - } ] - } - } - }, { - "localId" : "232", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "name" : "has_null", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "232", - "s" : [ { - "value" : [ "","define ","has_null",": " ] - }, { - "r" : "248", - "s" : [ { - "value" : [ "Count","(" ] - }, { - "r" : "233", - "s" : [ { - "r" : "234", - "value" : [ "{","1",",","null",",","null",",","null",",","2","}" ] - } ] - }, { - "value" : [ ")" ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "248", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "Count", - "signature" : [ { - "localId" : "249", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "250", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } ], - "source" : { - "localId" : "233", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "242", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "243", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "element" : [ { - "localId" : "234", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, { - "localId" : "239", - "asType" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "As", - "signature" : [ ], - "operand" : { - "localId" : "235", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - } - }, { - "localId" : "240", - "asType" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "As", - "signature" : [ ], - "operand" : { - "localId" : "236", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - } - }, { - "localId" : "241", - "asType" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "As", - "signature" : [ ], - "operand" : { - "localId" : "237", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - } - }, { - "localId" : "238", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal" - } ] - } - } - }, { - "localId" : "253", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "name" : "empty", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "253", + "value" : [ "", "define ", "is_null", ": " ] + }, { + "r" : "279", + "s" : [ { + "value" : [ "Count", "(" ] + }, { + "r" : "267", + "s" : [ { + "r" : "268", + "value" : [ "null", " as " ] + }, { + "r" : "269", "s" : [ { - "value" : [ "","define ","empty",": " ] + "value" : [ "List<" ] }, { - "r" : "261", - "s" : [ { - "r" : "254", - "value" : [ "Count","(","{}",")" ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "261", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "Count", - "signature" : [ { - "localId" : "262", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "263", - "name" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "NamedTypeSpecifier" - } - } ], - "source" : { - "localId" : "254", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "255", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "256", - "name" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "NamedTypeSpecifier" - } - }, - "element" : [ ] - } - } - }, { - "localId" : "266", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "name" : "is_null", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "266", - "s" : [ { - "value" : [ "","define ","is_null",": " ] + "r" : "270", + "s" : [ { + "value" : [ "Integer" ] + } ] }, { - "r" : "279", - "s" : [ { - "value" : [ "Count","(" ] - }, { - "r" : "267", - "s" : [ { - "r" : "268", - "value" : [ "null"," as " ] - }, { - "r" : "269", - "s" : [ { - "value" : [ "List<" ] - }, { - "r" : "270", - "s" : [ { - "value" : [ "Integer" ] - } ] - }, { - "value" : [ ">" ] - } ] - } ] - }, { - "value" : [ ")" ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "279", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "Count", - "signature" : [ { - "localId" : "280", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "281", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } ], - "source" : { - "localId" : "267", - "strict" : false, - "type" : "As", - "resultTypeSpecifier" : { - "localId" : "273", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "274", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "signature" : [ ], - "operand" : { - "localId" : "268", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - }, - "asTypeSpecifier" : { - "localId" : "269", - "type" : "ListTypeSpecifier", - "resultTypeSpecifier" : { - "localId" : "271", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "272", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "elementType" : { - "localId" : "270", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } - } - } - } ] - } - } + "value" : [ ">" ] + } ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Count", + "localId" : "279", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ], + "signature" : [ { + "type" : "ListTypeSpecifier", + "localId" : "280", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "281", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } ], + "source" : { + "type" : "As", + "localId" : "267", + "strict" : false, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "273", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "274", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "signature" : [ ], + "operand" : { + "type" : "Null", + "localId" : "268", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + }, + "asTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "269", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "271", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "272", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "270", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } + } + } + } ] + } + } } /* Sum @@ -442,3006 +495,3363 @@ define IncompatibleUnitsNull: Sum({1 'mg/d', 0.002 '/d'}) */ module.exports['Sum'] = { - "library" : { - "localId" : "0", - "annotation" : [ { - "translatorVersion" : "3.27.0", - "translatorOptions" : "EnableDateRangeOptimization,EnableAnnotations,EnableResultTypes", - "signatureLevel" : "All", - "type" : "CqlToElmInfo" - }, { - "type" : "Annotation", - "s" : { - "r" : "366", + "library" : { + "localId" : "0", + "annotation" : [ { + "type" : "CqlToElmInfo", + "translatorVersion" : "4.2.0", + "translatorOptions" : "EnableDateRangeOptimization,EnableAnnotations,EnableResultTypes", + "signatureLevel" : "All" + }, { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "366", + "s" : [ { + "value" : [ "", "library TestSnippet version '1'" ] + } ] + } + } ], + "identifier" : { + "id" : "TestSnippet", + "version" : "1" + }, + "schemaIdentifier" : { + "id" : "urn:hl7-org:elm", + "version" : "r1" + }, + "usings" : { + "def" : [ { + "localId" : "1", + "localIdentifier" : "System", + "uri" : "urn:hl7-org:elm-types:r1", + "annotation" : [ ] + }, { + "localId" : "206", + "localIdentifier" : "Simple", + "uri" : "https://github.com/cqframework/cql-execution/simple", + "version" : "1.0.0", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "206", "s" : [ { - "value" : [ "","library TestSnippet version '1'" ] - } ] - } - } ], - "identifier" : { - "id" : "TestSnippet", - "version" : "1" - }, - "schemaIdentifier" : { - "id" : "urn:hl7-org:elm", - "version" : "r1" - }, - "usings" : { - "def" : [ { - "localId" : "1", - "localIdentifier" : "System", - "uri" : "urn:hl7-org:elm-types:r1" - }, { - "localId" : "206", - "localIdentifier" : "Simple", - "uri" : "https://github.com/cqframework/cql-execution/simple", - "version" : "1.0.0", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "206", - "s" : [ { - "value" : [ "","using " ] - }, { - "s" : [ { - "value" : [ "Simple" ] - } ] - }, { - "value" : [ " version '1.0.0'" ] - } ] - } - } ] - } ] - }, - "contexts" : { - "def" : [ { - "localId" : "211", - "name" : "Patient" - } ] - }, - "statements" : { - "def" : [ { - "localId" : "209", - "name" : "Patient", - "context" : "Patient", - "expression" : { - "localId" : "210", - "type" : "SingletonFrom", - "signature" : [ ], - "operand" : { - "localId" : "208", - "dataType" : "{https://github.com/cqframework/cql-execution/simple}Patient", - "type" : "Retrieve", - "include" : [ ], - "codeFilter" : [ ], - "dateFilter" : [ ], - "otherFilter" : [ ] - } - } - }, { - "localId" : "214", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "name" : "not_null", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "214", - "s" : [ { - "value" : [ "","define ","not_null",": " ] - }, { - "r" : "227", - "s" : [ { - "value" : [ "Sum","(" ] - }, { - "r" : "215", - "s" : [ { - "r" : "216", - "value" : [ "{","1",",","2",",","3",",","4",",","5","}" ] - } ] - }, { - "value" : [ ")" ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "227", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "Sum", - "signature" : [ { - "localId" : "228", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "229", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } ], - "source" : { - "localId" : "215", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "221", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "222", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "element" : [ { - "localId" : "216", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, { - "localId" : "217", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal" - }, { - "localId" : "218", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, { - "localId" : "219", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "4", - "type" : "Literal" - }, { - "localId" : "220", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal" - } ] - } - } - }, { - "localId" : "232", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "name" : "has_null", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "232", - "s" : [ { - "value" : [ "","define ","has_null",": " ] - }, { - "r" : "248", - "s" : [ { - "value" : [ "Sum","(" ] - }, { - "r" : "233", - "s" : [ { - "r" : "234", - "value" : [ "{","1",",","null",",","null",",","null",",","2","}" ] - } ] - }, { - "value" : [ ")" ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "248", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "Sum", - "signature" : [ { - "localId" : "249", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "250", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } ], - "source" : { - "localId" : "233", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "242", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "243", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "element" : [ { - "localId" : "234", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, { - "localId" : "239", - "asType" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "As", - "signature" : [ ], - "operand" : { - "localId" : "235", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - } - }, { - "localId" : "240", - "asType" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "As", - "signature" : [ ], - "operand" : { - "localId" : "236", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - } - }, { - "localId" : "241", - "asType" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "As", - "signature" : [ ], - "operand" : { - "localId" : "237", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - } - }, { - "localId" : "238", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal" - } ] - } - } - }, { - "localId" : "253", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "name" : "not_null_q", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "253", + "value" : [ "", "using " ] + }, { + "s" : [ { + "value" : [ "Simple" ] + } ] + }, { + "value" : [ " version '1.0.0'" ] + } ] + } + } ] + } ] + }, + "contexts" : { + "def" : [ { + "localId" : "211", + "name" : "Patient", + "annotation" : [ ] + } ] + }, + "statements" : { + "def" : [ { + "localId" : "209", + "name" : "Patient", + "context" : "Patient", + "annotation" : [ ], + "expression" : { + "type" : "SingletonFrom", + "localId" : "210", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Retrieve", + "localId" : "208", + "dataType" : "{https://github.com/cqframework/cql-execution/simple}Patient", + "annotation" : [ ], + "include" : [ ], + "codeFilter" : [ ], + "dateFilter" : [ ], + "otherFilter" : [ ] + } + } + }, { + "localId" : "214", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "name" : "not_null", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "214", + "s" : [ { + "value" : [ "", "define ", "not_null", ": " ] + }, { + "r" : "227", + "s" : [ { + "value" : [ "Sum", "(" ] + }, { + "r" : "215", + "s" : [ { + "r" : "216", + "value" : [ "{", "1", ",", "2", ",", "3", ",", "4", ",", "5", "}" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Sum", + "localId" : "227", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ], + "signature" : [ { + "type" : "ListTypeSpecifier", + "localId" : "228", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "229", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } ], + "source" : { + "type" : "List", + "localId" : "215", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "221", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "222", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "element" : [ { + "type" : "Literal", + "localId" : "216", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "217", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "218", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "219", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "4", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "220", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "5", + "annotation" : [ ] + } ] + } + } + }, { + "localId" : "232", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "name" : "has_null", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "232", + "s" : [ { + "value" : [ "", "define ", "has_null", ": " ] + }, { + "r" : "248", + "s" : [ { + "value" : [ "Sum", "(" ] + }, { + "r" : "233", + "s" : [ { + "r" : "234", + "value" : [ "{", "1", ",", "null", ",", "null", ",", "null", ",", "2", "}" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Sum", + "localId" : "248", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ], + "signature" : [ { + "type" : "ListTypeSpecifier", + "localId" : "249", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "250", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } ], + "source" : { + "type" : "List", + "localId" : "233", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "242", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "243", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "element" : [ { + "type" : "Literal", + "localId" : "234", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, { + "type" : "As", + "localId" : "239", + "asType" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Null", + "localId" : "235", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } + }, { + "type" : "As", + "localId" : "240", + "asType" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Null", + "localId" : "236", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } + }, { + "type" : "As", + "localId" : "241", + "asType" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Null", + "localId" : "237", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } + }, { + "type" : "Literal", + "localId" : "238", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "annotation" : [ ] + } ] + } + } + }, { + "localId" : "253", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "name" : "not_null_q", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "253", + "s" : [ { + "value" : [ "", "define ", "not_null_q", ": " ] + }, { + "r" : "266", + "s" : [ { + "value" : [ "Sum", "(" ] + }, { + "r" : "254", + "s" : [ { + "value" : [ "{" ] + }, { + "r" : "255", "s" : [ { - "value" : [ "","define ","not_null_q",": " ] - }, { - "r" : "266", - "s" : [ { - "value" : [ "Sum","(" ] - }, { - "r" : "254", - "s" : [ { - "value" : [ "{" ] - }, { - "r" : "255", - "s" : [ { - "value" : [ "1 ","'ml'" ] - } ] - }, { - "value" : [ "," ] - }, { - "r" : "256", - "s" : [ { - "value" : [ "2 ","'ml'" ] - } ] - }, { - "value" : [ "," ] - }, { - "r" : "257", - "s" : [ { - "value" : [ "3 ","'ml'" ] - } ] - }, { - "value" : [ "," ] - }, { - "r" : "258", - "s" : [ { - "value" : [ "4 ","'ml'" ] - } ] - }, { - "value" : [ "," ] - }, { - "r" : "259", - "s" : [ { - "value" : [ "5 ","'ml'" ] - } ] - }, { - "value" : [ "}" ] - } ] - }, { - "value" : [ ")" ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "266", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "Sum", - "signature" : [ { - "localId" : "267", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "268", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } - } ], - "source" : { - "localId" : "254", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "260", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "261", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } - }, - "element" : [ { - "localId" : "255", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "value" : 1, - "unit" : "ml", - "type" : "Quantity" - }, { - "localId" : "256", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "value" : 2, - "unit" : "ml", - "type" : "Quantity" - }, { - "localId" : "257", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "value" : 3, - "unit" : "ml", - "type" : "Quantity" - }, { - "localId" : "258", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "value" : 4, - "unit" : "ml", - "type" : "Quantity" - }, { - "localId" : "259", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "value" : 5, - "unit" : "ml", - "type" : "Quantity" + "value" : [ "1 ", "'ml'" ] } ] - } - } - }, { - "localId" : "271", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "name" : "has_null_q", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "271", + }, { + "value" : [ "," ] + }, { + "r" : "256", "s" : [ { - "value" : [ "","define ","has_null_q",": " ] - }, { - "r" : "287", - "s" : [ { - "value" : [ "Sum","(" ] - }, { - "r" : "272", - "s" : [ { - "value" : [ "{" ] - }, { - "r" : "273", - "s" : [ { - "value" : [ "1 ","'ml'" ] - } ] - }, { - "r" : "274", - "value" : [ ",","null",",","null",",","null","," ] - }, { - "r" : "277", - "s" : [ { - "value" : [ "2 ","'ml'" ] - } ] - }, { - "value" : [ "}" ] - } ] - }, { - "value" : [ ")" ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "287", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "Sum", - "signature" : [ { - "localId" : "288", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "289", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } - } ], - "source" : { - "localId" : "272", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "281", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "282", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } - }, - "element" : [ { - "localId" : "273", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "value" : 1, - "unit" : "ml", - "type" : "Quantity" - }, { - "localId" : "278", - "asType" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "As", - "signature" : [ ], - "operand" : { - "localId" : "274", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - } - }, { - "localId" : "279", - "asType" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "As", - "signature" : [ ], - "operand" : { - "localId" : "275", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - } - }, { - "localId" : "280", - "asType" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "As", - "signature" : [ ], - "operand" : { - "localId" : "276", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - } - }, { - "localId" : "277", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "value" : 2, - "unit" : "ml", - "type" : "Quantity" + "value" : [ "2 ", "'ml'" ] } ] - } - } - }, { - "localId" : "292", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "name" : "unmatched_units_q", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "292", + }, { + "value" : [ "," ] + }, { + "r" : "257", "s" : [ { - "value" : [ "","define ","unmatched_units_q",": " ] - }, { - "r" : "306", - "s" : [ { - "value" : [ "Min","(" ] - }, { - "r" : "293", - "s" : [ { - "value" : [ "{" ] - }, { - "r" : "294", - "s" : [ { - "value" : [ "1 ","'ml'" ] - } ] - }, { - "value" : [ "," ] - }, { - "r" : "295", - "s" : [ { - "value" : [ "2 ","'m'" ] - } ] - }, { - "value" : [ "," ] - }, { - "r" : "296", - "s" : [ { - "value" : [ "3 ","'ml'" ] - } ] - }, { - "value" : [ "," ] - }, { - "r" : "297", - "s" : [ { - "value" : [ "4 ","'ml'" ] - } ] - }, { - "value" : [ "," ] - }, { - "r" : "298", - "s" : [ { - "value" : [ "5 ","'ml'" ] - } ] - }, { - "value" : [ "," ] - }, { - "r" : "299", - "s" : [ { - "value" : [ "0 ","'ml'" ] - } ] - }, { - "value" : [ "}" ] - } ] - }, { - "value" : [ ")" ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "306", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "Min", - "signature" : [ { - "localId" : "307", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "308", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } - } ], - "source" : { - "localId" : "293", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "300", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "301", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } - }, - "element" : [ { - "localId" : "294", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "value" : 1, - "unit" : "ml", - "type" : "Quantity" - }, { - "localId" : "295", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "value" : 2, - "unit" : "m", - "type" : "Quantity" - }, { - "localId" : "296", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "value" : 3, - "unit" : "ml", - "type" : "Quantity" - }, { - "localId" : "297", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "value" : 4, - "unit" : "ml", - "type" : "Quantity" - }, { - "localId" : "298", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "value" : 5, - "unit" : "ml", - "type" : "Quantity" - }, { - "localId" : "299", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "value" : 0, - "unit" : "ml", - "type" : "Quantity" - } ] - } - } - }, { - "localId" : "311", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "name" : "empty", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "311", + "value" : [ "3 ", "'ml'" ] + } ] + }, { + "value" : [ "," ] + }, { + "r" : "258", "s" : [ { - "value" : [ "","define ","empty",": " ] - }, { - "r" : "321", - "s" : [ { - "value" : [ "Sum","(" ] - }, { - "r" : "313", - "s" : [ { - "value" : [ "List<" ] - }, { - "r" : "312", - "s" : [ { - "value" : [ "Integer" ] - } ] - }, { - "value" : [ ">{}" ] - } ] - }, { - "value" : [ ")" ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "321", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "Sum", - "signature" : [ { - "localId" : "322", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "323", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } ], - "source" : { - "localId" : "313", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "315", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "316", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "element" : [ ] - } - } - }, { - "localId" : "326", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "name" : "q_diff_units", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "326", - "s" : [ { - "value" : [ "","define ","q_diff_units",": " ] - }, { - "r" : "339", - "s" : [ { - "value" : [ "Sum","(" ] - }, { - "r" : "327", - "s" : [ { - "value" : [ "{" ] - }, { - "r" : "328", - "s" : [ { - "value" : [ "1 ","'ml'" ] - } ] - }, { - "value" : [ "," ] - }, { - "r" : "329", - "s" : [ { - "value" : [ "0.002 ","'l'" ] - } ] - }, { - "value" : [ "," ] - }, { - "r" : "330", - "s" : [ { - "value" : [ "0.03 ","'dl'" ] - } ] - }, { - "value" : [ "," ] - }, { - "r" : "331", - "s" : [ { - "value" : [ "4 ","'ml'" ] - } ] - }, { - "value" : [ "," ] - }, { - "r" : "332", - "s" : [ { - "value" : [ "0.005 ","'l'" ] - } ] - }, { - "value" : [ "}" ] - } ] - }, { - "value" : [ ")" ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "339", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "Sum", - "signature" : [ { - "localId" : "340", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "341", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } - } ], - "source" : { - "localId" : "327", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "333", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "334", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } - }, - "element" : [ { - "localId" : "328", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "value" : 1, - "unit" : "ml", - "type" : "Quantity" - }, { - "localId" : "329", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "value" : 0.002, - "unit" : "l", - "type" : "Quantity" - }, { - "localId" : "330", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "value" : 0.03, - "unit" : "dl", - "type" : "Quantity" - }, { - "localId" : "331", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "value" : 4, - "unit" : "ml", - "type" : "Quantity" - }, { - "localId" : "332", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "value" : 0.005, - "unit" : "l", - "type" : "Quantity" - } ] - } - } - }, { - "localId" : "344", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "name" : "NumbersAndQuantities", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "344", - "s" : [ { - "value" : [ "","define ","NumbersAndQuantities",": " ] - }, { - "r" : "361", - "s" : [ { - "value" : [ "Sum","(" ] - }, { - "r" : "345", - "s" : [ { - "r" : "346", - "value" : [ "{","1"," ," ] - }, { - "r" : "347", - "s" : [ { - "value" : [ "2 ","'ml'" ] - } ] - }, { - "value" : [ "," ] - }, { - "r" : "348", - "s" : [ { - "value" : [ "3 ","'ml'" ] - } ] - }, { - "value" : [ "," ] - }, { - "r" : "349", - "s" : [ { - "value" : [ "4 ","'ml'" ] - } ] - }, { - "value" : [ "," ] - }, { - "r" : "350", - "s" : [ { - "value" : [ "5 ","'ml'" ] - } ] - }, { - "value" : [ "," ] - }, { - "r" : "351", - "s" : [ { - "value" : [ "0 ","'ml'" ] - } ] - }, { - "value" : [ "}" ] - } ] - }, { - "value" : [ ")" ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "361", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "Sum", - "signature" : [ { - "localId" : "362", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "363", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } - } ], - "source" : { - "localId" : "345", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "355", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "356", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } - }, - "element" : [ { - "localId" : "353", - "type" : "ToQuantity", - "signature" : [ { - "localId" : "354", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "346", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - } - }, { - "localId" : "347", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "value" : 2, - "unit" : "ml", - "type" : "Quantity" - }, { - "localId" : "348", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "value" : 3, - "unit" : "ml", - "type" : "Quantity" - }, { - "localId" : "349", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "value" : 4, - "unit" : "ml", - "type" : "Quantity" - }, { - "localId" : "350", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "value" : 5, - "unit" : "ml", - "type" : "Quantity" - }, { - "localId" : "351", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "value" : 0, - "unit" : "ml", - "type" : "Quantity" - } ] - } - } - }, { - "localId" : "366", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "name" : "IncompatibleUnitsNull", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "366", + "value" : [ "4 ", "'ml'" ] + } ] + }, { + "value" : [ "," ] + }, { + "r" : "259", "s" : [ { - "value" : [ "","define ","IncompatibleUnitsNull",": " ] - }, { - "r" : "376", - "s" : [ { - "value" : [ "Sum","(" ] - }, { - "r" : "367", - "s" : [ { - "value" : [ "{" ] - }, { - "r" : "368", - "s" : [ { - "value" : [ "1 ","'mg/d'" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "369", - "s" : [ { - "value" : [ "0.002 ","'/d'" ] - } ] - }, { - "value" : [ "}" ] - } ] - }, { - "value" : [ ")" ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "376", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "Sum", - "signature" : [ { - "localId" : "377", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "378", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } - } ], - "source" : { - "localId" : "367", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "370", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "371", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } - }, - "element" : [ { - "localId" : "368", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "value" : 1, - "unit" : "mg/d", - "type" : "Quantity" - }, { - "localId" : "369", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "value" : 0.002, - "unit" : "/d", - "type" : "Quantity" + "value" : [ "5 ", "'ml'" ] } ] - } - } - } ] - } - } -} - -/* Min -library TestSnippet version '1' -using Simple version '1.0.0' -context Patient -define not_null: Min({1,2,3,4,5,0}) -define has_null: Min({1,null,-1,null,2}) -define empty: Min(List{}) -define not_null_q: Min({1 'ml',2 'ml',3 'ml',4 'ml',5 'ml',0 'ml'}) -define has_null_q: Min({1 'ml',null,-1 'ml',null,2 'ml'}) -define q_diff_units: Min({1 'ml',2 'dl',3 'l',4 'l',5 'l',0 'ml'}) -define NumbersAndQuantities: Min({1 ,2 'ml',3 'ml',4 'ml',5 'ml',0 'ml'}) -define IntegerMin: Min({ 2, 4, 8, 6 }) -define DecimalMin: Min({ 5.0, 4.9, 5.1, -5.0 }) -define DateMin: Min({ @2012-12-31, @2013-01-01, @2012-01-01 }) -define DateTimeMin: Min({ DateTime(2012, 9, 9), DateTime(2012, 9, 5) }) -define TimeMin: Min({ Time(12, 30, 4), Time(12, 30, 3), Time(12, 30, 5)}) -define StringMin: Min({'def', 'abc', 'jkl', 'ghi'}) -define MinIsNull: Min({ null as Quantity, null as Quantity, null as Quantity }) -define MinIsAlsoNull: Min(null as List) -define IncompatibleUnitsNull: Min({1 'mg/d', 0.002 '/d'}) -*/ - -module.exports['Min'] = { - "library" : { - "localId" : "0", - "annotation" : [ { - "translatorVersion" : "3.27.0", - "translatorOptions" : "EnableDateRangeOptimization,EnableAnnotations,EnableResultTypes", - "signatureLevel" : "All", - "type" : "CqlToElmInfo" - }, { - "type" : "Annotation", - "s" : { - "r" : "563", + }, { + "value" : [ "}" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Sum", + "localId" : "266", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ], + "signature" : [ { + "type" : "ListTypeSpecifier", + "localId" : "267", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "268", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } + } ], + "source" : { + "type" : "List", + "localId" : "254", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "260", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "261", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } + }, + "element" : [ { + "type" : "Quantity", + "localId" : "255", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "value" : 1, + "unit" : "ml", + "annotation" : [ ] + }, { + "type" : "Quantity", + "localId" : "256", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "value" : 2, + "unit" : "ml", + "annotation" : [ ] + }, { + "type" : "Quantity", + "localId" : "257", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "value" : 3, + "unit" : "ml", + "annotation" : [ ] + }, { + "type" : "Quantity", + "localId" : "258", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "value" : 4, + "unit" : "ml", + "annotation" : [ ] + }, { + "type" : "Quantity", + "localId" : "259", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "value" : 5, + "unit" : "ml", + "annotation" : [ ] + } ] + } + } + }, { + "localId" : "271", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "name" : "has_null_q", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "271", "s" : [ { - "value" : [ "","library TestSnippet version '1'" ] - } ] - } - } ], - "identifier" : { - "id" : "TestSnippet", - "version" : "1" - }, - "schemaIdentifier" : { - "id" : "urn:hl7-org:elm", - "version" : "r1" - }, - "usings" : { - "def" : [ { - "localId" : "1", - "localIdentifier" : "System", - "uri" : "urn:hl7-org:elm-types:r1" - }, { - "localId" : "206", - "localIdentifier" : "Simple", - "uri" : "https://github.com/cqframework/cql-execution/simple", - "version" : "1.0.0", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "206", - "s" : [ { - "value" : [ "","using " ] - }, { - "s" : [ { - "value" : [ "Simple" ] - } ] - }, { - "value" : [ " version '1.0.0'" ] - } ] - } - } ] - } ] - }, - "contexts" : { - "def" : [ { - "localId" : "211", - "name" : "Patient" - } ] - }, - "statements" : { - "def" : [ { - "localId" : "209", - "name" : "Patient", - "context" : "Patient", - "expression" : { - "localId" : "210", - "type" : "SingletonFrom", - "signature" : [ ], - "operand" : { - "localId" : "208", - "dataType" : "{https://github.com/cqframework/cql-execution/simple}Patient", - "type" : "Retrieve", - "include" : [ ], - "codeFilter" : [ ], - "dateFilter" : [ ], - "otherFilter" : [ ] - } - } - }, { - "localId" : "214", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "name" : "not_null", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "214", - "s" : [ { - "value" : [ "","define ","not_null",": " ] - }, { - "r" : "228", - "s" : [ { - "value" : [ "Min","(" ] - }, { - "r" : "215", - "s" : [ { - "r" : "216", - "value" : [ "{","1",",","2",",","3",",","4",",","5",",","0","}" ] - } ] - }, { - "value" : [ ")" ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "228", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "Min", - "signature" : [ { - "localId" : "229", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "230", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } ], - "source" : { - "localId" : "215", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "222", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "223", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "element" : [ { - "localId" : "216", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, { - "localId" : "217", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal" - }, { - "localId" : "218", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, { - "localId" : "219", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "4", - "type" : "Literal" - }, { - "localId" : "220", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal" - }, { - "localId" : "221", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" + "value" : [ "", "define ", "has_null_q", ": " ] + }, { + "r" : "287", + "s" : [ { + "value" : [ "Sum", "(" ] + }, { + "r" : "272", + "s" : [ { + "value" : [ "{" ] + }, { + "r" : "273", + "s" : [ { + "value" : [ "1 ", "'ml'" ] + } ] + }, { + "r" : "274", + "value" : [ ",", "null", ",", "null", ",", "null", "," ] + }, { + "r" : "277", + "s" : [ { + "value" : [ "2 ", "'ml'" ] + } ] + }, { + "value" : [ "}" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Sum", + "localId" : "287", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ], + "signature" : [ { + "type" : "ListTypeSpecifier", + "localId" : "288", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "289", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } + } ], + "source" : { + "type" : "List", + "localId" : "272", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "281", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "282", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } + }, + "element" : [ { + "type" : "Quantity", + "localId" : "273", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "value" : 1, + "unit" : "ml", + "annotation" : [ ] + }, { + "type" : "As", + "localId" : "278", + "asType" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Null", + "localId" : "274", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } + }, { + "type" : "As", + "localId" : "279", + "asType" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Null", + "localId" : "275", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } + }, { + "type" : "As", + "localId" : "280", + "asType" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Null", + "localId" : "276", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } + }, { + "type" : "Quantity", + "localId" : "277", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "value" : 2, + "unit" : "ml", + "annotation" : [ ] + } ] + } + } + }, { + "localId" : "292", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "name" : "unmatched_units_q", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "292", + "s" : [ { + "value" : [ "", "define ", "unmatched_units_q", ": " ] + }, { + "r" : "306", + "s" : [ { + "value" : [ "Min", "(" ] + }, { + "r" : "293", + "s" : [ { + "value" : [ "{" ] + }, { + "r" : "294", + "s" : [ { + "value" : [ "1 ", "'ml'" ] + } ] + }, { + "value" : [ "," ] + }, { + "r" : "295", + "s" : [ { + "value" : [ "2 ", "'m'" ] } ] - } - } - }, { - "localId" : "233", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "name" : "has_null", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "233", + }, { + "value" : [ "," ] + }, { + "r" : "296", "s" : [ { - "value" : [ "","define ","has_null",": " ] - }, { - "r" : "250", - "s" : [ { - "value" : [ "Min","(" ] - }, { - "r" : "234", - "s" : [ { - "r" : "235", - "value" : [ "{","1",",","null","," ] - }, { - "r" : "237", - "s" : [ { - "r" : "238", - "value" : [ "-","1" ] - } ] - }, { - "r" : "240", - "value" : [ ",","null",",","2","}" ] - } ] - }, { - "value" : [ ")" ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "250", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "Min", - "signature" : [ { - "localId" : "251", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "252", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } ], - "source" : { - "localId" : "234", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "244", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "245", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "element" : [ { - "localId" : "235", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, { - "localId" : "242", - "asType" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "As", - "signature" : [ ], - "operand" : { - "localId" : "236", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - } - }, { - "localId" : "237", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "Negate", - "signature" : [ { - "localId" : "239", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "238", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - } - }, { - "localId" : "243", - "asType" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "As", - "signature" : [ ], - "operand" : { - "localId" : "240", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - } - }, { - "localId" : "241", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal" + "value" : [ "3 ", "'ml'" ] } ] - } - } - }, { - "localId" : "255", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "name" : "empty", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "255", + }, { + "value" : [ "," ] + }, { + "r" : "297", "s" : [ { - "value" : [ "","define ","empty",": " ] - }, { - "r" : "265", - "s" : [ { - "value" : [ "Min","(" ] - }, { - "r" : "257", - "s" : [ { - "value" : [ "List<" ] - }, { - "r" : "256", - "s" : [ { - "value" : [ "Integer" ] - } ] - }, { - "value" : [ ">{}" ] - } ] - }, { - "value" : [ ")" ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "265", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "Min", - "signature" : [ { - "localId" : "266", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "267", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } ], - "source" : { - "localId" : "257", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "259", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "260", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "element" : [ ] - } - } - }, { - "localId" : "270", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "name" : "not_null_q", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "270", + "value" : [ "4 ", "'ml'" ] + } ] + }, { + "value" : [ "," ] + }, { + "r" : "298", "s" : [ { - "value" : [ "","define ","not_null_q",": " ] - }, { - "r" : "284", - "s" : [ { - "value" : [ "Min","(" ] - }, { - "r" : "271", - "s" : [ { - "value" : [ "{" ] - }, { - "r" : "272", - "s" : [ { - "value" : [ "1 ","'ml'" ] - } ] - }, { - "value" : [ "," ] - }, { - "r" : "273", - "s" : [ { - "value" : [ "2 ","'ml'" ] - } ] - }, { - "value" : [ "," ] - }, { - "r" : "274", - "s" : [ { - "value" : [ "3 ","'ml'" ] - } ] - }, { - "value" : [ "," ] - }, { - "r" : "275", - "s" : [ { - "value" : [ "4 ","'ml'" ] - } ] - }, { - "value" : [ "," ] - }, { - "r" : "276", - "s" : [ { - "value" : [ "5 ","'ml'" ] - } ] - }, { - "value" : [ "," ] - }, { - "r" : "277", - "s" : [ { - "value" : [ "0 ","'ml'" ] - } ] - }, { - "value" : [ "}" ] - } ] - }, { - "value" : [ ")" ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "284", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "Min", - "signature" : [ { - "localId" : "285", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "286", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } - } ], - "source" : { - "localId" : "271", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "278", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "279", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } - }, - "element" : [ { - "localId" : "272", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "value" : 1, - "unit" : "ml", - "type" : "Quantity" - }, { - "localId" : "273", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "value" : 2, - "unit" : "ml", - "type" : "Quantity" - }, { - "localId" : "274", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "value" : 3, - "unit" : "ml", - "type" : "Quantity" - }, { - "localId" : "275", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "value" : 4, - "unit" : "ml", - "type" : "Quantity" - }, { - "localId" : "276", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "value" : 5, - "unit" : "ml", - "type" : "Quantity" - }, { - "localId" : "277", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "value" : 0, - "unit" : "ml", - "type" : "Quantity" - } ] - } - } - }, { - "localId" : "289", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "name" : "has_null_q", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "289", - "s" : [ { - "value" : [ "","define ","has_null_q",": " ] - }, { - "r" : "306", - "s" : [ { - "value" : [ "Min","(" ] - }, { - "r" : "290", - "s" : [ { - "value" : [ "{" ] - }, { - "r" : "291", - "s" : [ { - "value" : [ "1 ","'ml'" ] - } ] - }, { - "r" : "292", - "value" : [ ",","null","," ] - }, { - "r" : "293", - "s" : [ { - "value" : [ "-" ] - }, { - "r" : "294", - "s" : [ { - "value" : [ "1 ","'ml'" ] - } ] - } ] - }, { - "r" : "296", - "value" : [ ",","null","," ] - }, { - "r" : "297", - "s" : [ { - "value" : [ "2 ","'ml'" ] - } ] - }, { - "value" : [ "}" ] - } ] - }, { - "value" : [ ")" ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "306", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "Min", - "signature" : [ { - "localId" : "307", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "308", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } - } ], - "source" : { - "localId" : "290", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "300", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "301", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } - }, - "element" : [ { - "localId" : "291", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "value" : 1, - "unit" : "ml", - "type" : "Quantity" - }, { - "localId" : "298", - "asType" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "As", - "signature" : [ ], - "operand" : { - "localId" : "292", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - } - }, { - "localId" : "293", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "Negate", - "signature" : [ { - "localId" : "295", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "294", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "value" : 1, - "unit" : "ml", - "type" : "Quantity" - } - }, { - "localId" : "299", - "asType" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "As", - "signature" : [ ], - "operand" : { - "localId" : "296", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - } - }, { - "localId" : "297", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "value" : 2, - "unit" : "ml", - "type" : "Quantity" - } ] - } - } - }, { - "localId" : "311", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "name" : "q_diff_units", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "311", + "value" : [ "5 ", "'ml'" ] + } ] + }, { + "value" : [ "," ] + }, { + "r" : "299", "s" : [ { - "value" : [ "","define ","q_diff_units",": " ] - }, { - "r" : "325", - "s" : [ { - "value" : [ "Min","(" ] - }, { - "r" : "312", - "s" : [ { - "value" : [ "{" ] - }, { - "r" : "313", - "s" : [ { - "value" : [ "1 ","'ml'" ] - } ] - }, { - "value" : [ "," ] - }, { - "r" : "314", - "s" : [ { - "value" : [ "2 ","'dl'" ] - } ] - }, { - "value" : [ "," ] - }, { - "r" : "315", - "s" : [ { - "value" : [ "3 ","'l'" ] - } ] - }, { - "value" : [ "," ] - }, { - "r" : "316", - "s" : [ { - "value" : [ "4 ","'l'" ] - } ] - }, { - "value" : [ "," ] - }, { - "r" : "317", - "s" : [ { - "value" : [ "5 ","'l'" ] - } ] - }, { - "value" : [ "," ] - }, { - "r" : "318", - "s" : [ { - "value" : [ "0 ","'ml'" ] - } ] - }, { - "value" : [ "}" ] - } ] - }, { - "value" : [ ")" ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "325", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "Min", - "signature" : [ { - "localId" : "326", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "327", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } - } ], - "source" : { - "localId" : "312", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "319", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "320", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } - }, - "element" : [ { - "localId" : "313", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "value" : 1, - "unit" : "ml", - "type" : "Quantity" - }, { - "localId" : "314", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "value" : 2, - "unit" : "dl", - "type" : "Quantity" - }, { - "localId" : "315", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "value" : 3, - "unit" : "l", - "type" : "Quantity" - }, { - "localId" : "316", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "value" : 4, - "unit" : "l", - "type" : "Quantity" - }, { - "localId" : "317", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "value" : 5, - "unit" : "l", - "type" : "Quantity" - }, { - "localId" : "318", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "value" : 0, - "unit" : "ml", - "type" : "Quantity" - } ] - } - } - }, { - "localId" : "330", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "name" : "NumbersAndQuantities", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { + "value" : [ "0 ", "'ml'" ] + } ] + }, { + "value" : [ "}" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Min", + "localId" : "306", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ], + "signature" : [ { + "type" : "ListTypeSpecifier", + "localId" : "307", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "308", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } + } ], + "source" : { + "type" : "List", + "localId" : "293", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "300", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "301", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } + }, + "element" : [ { + "type" : "Quantity", + "localId" : "294", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "value" : 1, + "unit" : "ml", + "annotation" : [ ] + }, { + "type" : "Quantity", + "localId" : "295", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "value" : 2, + "unit" : "m", + "annotation" : [ ] + }, { + "type" : "Quantity", + "localId" : "296", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "value" : 3, + "unit" : "ml", + "annotation" : [ ] + }, { + "type" : "Quantity", + "localId" : "297", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "value" : 4, + "unit" : "ml", + "annotation" : [ ] + }, { + "type" : "Quantity", + "localId" : "298", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "value" : 5, + "unit" : "ml", + "annotation" : [ ] + }, { + "type" : "Quantity", + "localId" : "299", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "value" : 0, + "unit" : "ml", + "annotation" : [ ] + } ] + } + } + }, { + "localId" : "311", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "name" : "empty", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "311", + "s" : [ { + "value" : [ "", "define ", "empty", ": " ] + }, { + "r" : "321", + "s" : [ { + "value" : [ "Sum", "(" ] + }, { + "r" : "313", + "s" : [ { + "value" : [ "List<" ] + }, { + "r" : "312", + "s" : [ { + "value" : [ "Integer" ] + } ] + }, { + "value" : [ ">{}" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Sum", + "localId" : "321", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ], + "signature" : [ { + "type" : "ListTypeSpecifier", + "localId" : "322", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "323", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } ], + "source" : { + "type" : "List", + "localId" : "313", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "315", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "316", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "element" : [ ] + } + } + }, { + "localId" : "326", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "name" : "q_diff_units", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "326", + "s" : [ { + "value" : [ "", "define ", "q_diff_units", ": " ] + }, { + "r" : "339", + "s" : [ { + "value" : [ "Sum", "(" ] + }, { + "r" : "327", + "s" : [ { + "value" : [ "{" ] + }, { + "r" : "328", + "s" : [ { + "value" : [ "1 ", "'ml'" ] + } ] + }, { + "value" : [ "," ] + }, { + "r" : "329", + "s" : [ { + "value" : [ "0.002 ", "'l'" ] + } ] + }, { + "value" : [ "," ] + }, { "r" : "330", "s" : [ { - "value" : [ "","define ","NumbersAndQuantities",": " ] - }, { - "r" : "347", - "s" : [ { - "value" : [ "Min","(" ] - }, { - "r" : "331", - "s" : [ { - "r" : "332", - "value" : [ "{","1"," ," ] - }, { - "r" : "333", - "s" : [ { - "value" : [ "2 ","'ml'" ] - } ] - }, { - "value" : [ "," ] - }, { - "r" : "334", - "s" : [ { - "value" : [ "3 ","'ml'" ] - } ] - }, { - "value" : [ "," ] - }, { - "r" : "335", - "s" : [ { - "value" : [ "4 ","'ml'" ] - } ] - }, { - "value" : [ "," ] - }, { - "r" : "336", - "s" : [ { - "value" : [ "5 ","'ml'" ] - } ] - }, { - "value" : [ "," ] - }, { - "r" : "337", - "s" : [ { - "value" : [ "0 ","'ml'" ] - } ] - }, { - "value" : [ "}" ] - } ] - }, { - "value" : [ ")" ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "347", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "Min", - "signature" : [ { - "localId" : "348", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "349", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } - } ], - "source" : { - "localId" : "331", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "341", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "342", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } - }, - "element" : [ { - "localId" : "339", - "type" : "ToQuantity", - "signature" : [ { - "localId" : "340", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "332", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - } - }, { - "localId" : "333", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "value" : 2, - "unit" : "ml", - "type" : "Quantity" - }, { - "localId" : "334", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "value" : 3, - "unit" : "ml", - "type" : "Quantity" - }, { - "localId" : "335", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "value" : 4, - "unit" : "ml", - "type" : "Quantity" - }, { - "localId" : "336", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "value" : 5, - "unit" : "ml", - "type" : "Quantity" - }, { - "localId" : "337", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "value" : 0, - "unit" : "ml", - "type" : "Quantity" + "value" : [ "0.03 ", "'dl'" ] } ] - } - } - }, { - "localId" : "352", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "name" : "IntegerMin", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "352", - "s" : [ { - "value" : [ "","define ","IntegerMin",": " ] - }, { - "r" : "364", - "s" : [ { - "value" : [ "Min","(" ] - }, { - "r" : "353", - "s" : [ { - "r" : "354", - "value" : [ "{ ","2",", ","4",", ","8",", ","6"," }" ] - } ] - }, { - "value" : [ ")" ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "364", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "Min", - "signature" : [ { - "localId" : "365", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "366", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } ], - "source" : { - "localId" : "353", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "358", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "359", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "element" : [ { - "localId" : "354", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal" - }, { - "localId" : "355", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "4", - "type" : "Literal" - }, { - "localId" : "356", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "8", - "type" : "Literal" - }, { - "localId" : "357", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "6", - "type" : "Literal" + }, { + "value" : [ "," ] + }, { + "r" : "331", + "s" : [ { + "value" : [ "4 ", "'ml'" ] } ] - } - } - }, { - "localId" : "369", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "name" : "DecimalMin", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { + }, { + "value" : [ "," ] + }, { + "r" : "332", + "s" : [ { + "value" : [ "0.005 ", "'l'" ] + } ] + }, { + "value" : [ "}" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Sum", + "localId" : "339", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ], + "signature" : [ { + "type" : "ListTypeSpecifier", + "localId" : "340", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "341", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } + } ], + "source" : { + "type" : "List", + "localId" : "327", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "333", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "334", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } + }, + "element" : [ { + "type" : "Quantity", + "localId" : "328", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "value" : 1, + "unit" : "ml", + "annotation" : [ ] + }, { + "type" : "Quantity", + "localId" : "329", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "value" : 0.002, + "unit" : "l", + "annotation" : [ ] + }, { + "type" : "Quantity", + "localId" : "330", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "value" : 0.03, + "unit" : "dl", + "annotation" : [ ] + }, { + "type" : "Quantity", + "localId" : "331", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "value" : 4, + "unit" : "ml", + "annotation" : [ ] + }, { + "type" : "Quantity", + "localId" : "332", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "value" : 0.005, + "unit" : "l", + "annotation" : [ ] + } ] + } + } + }, { + "localId" : "344", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "name" : "NumbersAndQuantities", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "344", + "s" : [ { + "value" : [ "", "define ", "NumbersAndQuantities", ": " ] + }, { + "r" : "361", + "s" : [ { + "value" : [ "Sum", "(" ] + }, { + "r" : "345", + "s" : [ { + "r" : "346", + "value" : [ "{", "1", " ," ] + }, { + "r" : "347", + "s" : [ { + "value" : [ "2 ", "'ml'" ] + } ] + }, { + "value" : [ "," ] + }, { + "r" : "348", + "s" : [ { + "value" : [ "3 ", "'ml'" ] + } ] + }, { + "value" : [ "," ] + }, { + "r" : "349", + "s" : [ { + "value" : [ "4 ", "'ml'" ] + } ] + }, { + "value" : [ "," ] + }, { + "r" : "350", + "s" : [ { + "value" : [ "5 ", "'ml'" ] + } ] + }, { + "value" : [ "," ] + }, { + "r" : "351", + "s" : [ { + "value" : [ "0 ", "'ml'" ] + } ] + }, { + "value" : [ "}" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Sum", + "localId" : "361", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ], + "signature" : [ { + "type" : "ListTypeSpecifier", + "localId" : "362", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "363", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } + } ], + "source" : { + "type" : "List", + "localId" : "345", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "355", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "356", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } + }, + "element" : [ { + "type" : "ToQuantity", + "localId" : "353", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "354", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "operand" : { + "type" : "Literal", + "localId" : "346", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + } + }, { + "type" : "Quantity", + "localId" : "347", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "value" : 2, + "unit" : "ml", + "annotation" : [ ] + }, { + "type" : "Quantity", + "localId" : "348", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "value" : 3, + "unit" : "ml", + "annotation" : [ ] + }, { + "type" : "Quantity", + "localId" : "349", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "value" : 4, + "unit" : "ml", + "annotation" : [ ] + }, { + "type" : "Quantity", + "localId" : "350", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "value" : 5, + "unit" : "ml", + "annotation" : [ ] + }, { + "type" : "Quantity", + "localId" : "351", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "value" : 0, + "unit" : "ml", + "annotation" : [ ] + } ] + } + } + }, { + "localId" : "366", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "name" : "IncompatibleUnitsNull", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "366", + "s" : [ { + "value" : [ "", "define ", "IncompatibleUnitsNull", ": " ] + }, { + "r" : "376", + "s" : [ { + "value" : [ "Sum", "(" ] + }, { + "r" : "367", + "s" : [ { + "value" : [ "{" ] + }, { + "r" : "368", + "s" : [ { + "value" : [ "1 ", "'mg/d'" ] + } ] + }, { + "value" : [ ", " ] + }, { "r" : "369", "s" : [ { - "value" : [ "","define ","DecimalMin",": " ] - }, { - "r" : "383", - "s" : [ { - "value" : [ "Min","(" ] - }, { - "r" : "370", - "s" : [ { - "r" : "371", - "value" : [ "{ ","5.0",", ","4.9",", ","5.1",", " ] - }, { - "r" : "374", - "s" : [ { - "r" : "375", - "value" : [ "-","5.0" ] - } ] - }, { - "value" : [ " }" ] - } ] - }, { - "value" : [ ")" ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "383", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "Min", - "signature" : [ { - "localId" : "384", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "385", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } - } ], - "source" : { - "localId" : "370", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "377", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "378", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } - }, - "element" : [ { - "localId" : "371", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "5.0", - "type" : "Literal" - }, { - "localId" : "372", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "4.9", - "type" : "Literal" - }, { - "localId" : "373", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "5.1", - "type" : "Literal" - }, { - "localId" : "374", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "Negate", - "signature" : [ { - "localId" : "376", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "375", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "5.0", - "type" : "Literal" - } - } ] - } - } - }, { - "localId" : "388", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", - "name" : "DateMin", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "388", + "value" : [ "0.002 ", "'/d'" ] + } ] + }, { + "value" : [ "}" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Sum", + "localId" : "376", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ], + "signature" : [ { + "type" : "ListTypeSpecifier", + "localId" : "377", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "378", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } + } ], + "source" : { + "type" : "List", + "localId" : "367", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "370", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "371", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } + }, + "element" : [ { + "type" : "Quantity", + "localId" : "368", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "value" : 1, + "unit" : "mg/d", + "annotation" : [ ] + }, { + "type" : "Quantity", + "localId" : "369", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "value" : 0.002, + "unit" : "/d", + "annotation" : [ ] + } ] + } + } + } ] + } + } +} + +/* Min +library TestSnippet version '1' +using Simple version '1.0.0' +context Patient +define not_null: Min({1,2,3,4,5,0}) +define has_null: Min({1,null,-1,null,2}) +define empty: Min(List{}) +define not_null_q: Min({1 'ml',2 'ml',3 'ml',4 'ml',5 'ml',0 'ml'}) +define has_null_q: Min({1 'ml',null,-1 'ml',null,2 'ml'}) +define q_diff_units: Min({1 'ml',2 'dl',3 'l',4 'l',5 'l',0 'ml'}) +define NumbersAndQuantities: Min({1 ,2 'ml',3 'ml',4 'ml',5 'ml',0 'ml'}) +define IntegerMin: Min({ 2, 4, 8, 6 }) +define DecimalMin: Min({ 5.0, 4.9, 5.1, -5.0 }) +define DateMin: Min({ @2012-12-31, @2013-01-01, @2012-01-01 }) +define DateTimeMin: Min({ DateTime(2012, 9, 9), DateTime(2012, 9, 5) }) +define TimeMin: Min({ Time(12, 30, 4), Time(12, 30, 3), Time(12, 30, 5)}) +define StringMin: Min({'def', 'abc', 'jkl', 'ghi'}) +define MinIsNull: Min({ null as Quantity, null as Quantity, null as Quantity }) +define MinIsAlsoNull: Min(null as List) +define IncompatibleUnitsNull: Min({1 'mg/d', 0.002 '/d'}) +*/ + +module.exports['Min'] = { + "library" : { + "localId" : "0", + "annotation" : [ { + "type" : "CqlToElmInfo", + "translatorVersion" : "4.2.0", + "translatorOptions" : "EnableDateRangeOptimization,EnableAnnotations,EnableResultTypes", + "signatureLevel" : "All" + }, { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "563", + "s" : [ { + "value" : [ "", "library TestSnippet version '1'" ] + } ] + } + } ], + "identifier" : { + "id" : "TestSnippet", + "version" : "1" + }, + "schemaIdentifier" : { + "id" : "urn:hl7-org:elm", + "version" : "r1" + }, + "usings" : { + "def" : [ { + "localId" : "1", + "localIdentifier" : "System", + "uri" : "urn:hl7-org:elm-types:r1", + "annotation" : [ ] + }, { + "localId" : "206", + "localIdentifier" : "Simple", + "uri" : "https://github.com/cqframework/cql-execution/simple", + "version" : "1.0.0", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "206", + "s" : [ { + "value" : [ "", "using " ] + }, { + "s" : [ { + "value" : [ "Simple" ] + } ] + }, { + "value" : [ " version '1.0.0'" ] + } ] + } + } ] + } ] + }, + "contexts" : { + "def" : [ { + "localId" : "211", + "name" : "Patient", + "annotation" : [ ] + } ] + }, + "statements" : { + "def" : [ { + "localId" : "209", + "name" : "Patient", + "context" : "Patient", + "annotation" : [ ], + "expression" : { + "type" : "SingletonFrom", + "localId" : "210", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Retrieve", + "localId" : "208", + "dataType" : "{https://github.com/cqframework/cql-execution/simple}Patient", + "annotation" : [ ], + "include" : [ ], + "codeFilter" : [ ], + "dateFilter" : [ ], + "otherFilter" : [ ] + } + } + }, { + "localId" : "214", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "name" : "not_null", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "214", + "s" : [ { + "value" : [ "", "define ", "not_null", ": " ] + }, { + "r" : "228", + "s" : [ { + "value" : [ "Min", "(" ] + }, { + "r" : "215", + "s" : [ { + "r" : "216", + "value" : [ "{", "1", ",", "2", ",", "3", ",", "4", ",", "5", ",", "0", "}" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Min", + "localId" : "228", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ], + "signature" : [ { + "type" : "ListTypeSpecifier", + "localId" : "229", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "230", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } ], + "source" : { + "type" : "List", + "localId" : "215", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "222", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "223", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "element" : [ { + "type" : "Literal", + "localId" : "216", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "217", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "218", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "219", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "4", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "220", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "5", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "221", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } ] + } + } + }, { + "localId" : "233", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "name" : "has_null", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "233", + "s" : [ { + "value" : [ "", "define ", "has_null", ": " ] + }, { + "r" : "250", + "s" : [ { + "value" : [ "Min", "(" ] + }, { + "r" : "234", + "s" : [ { + "r" : "235", + "value" : [ "{", "1", ",", "null", "," ] + }, { + "r" : "237", + "s" : [ { + "r" : "238", + "value" : [ "-", "1" ] + } ] + }, { + "r" : "240", + "value" : [ ",", "null", ",", "2", "}" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Min", + "localId" : "250", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ], + "signature" : [ { + "type" : "ListTypeSpecifier", + "localId" : "251", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "252", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } ], + "source" : { + "type" : "List", + "localId" : "234", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "244", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "245", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "element" : [ { + "type" : "Literal", + "localId" : "235", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, { + "type" : "As", + "localId" : "242", + "asType" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Null", + "localId" : "236", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } + }, { + "type" : "Negate", + "localId" : "237", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "239", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "operand" : { + "type" : "Literal", + "localId" : "238", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + } + }, { + "type" : "As", + "localId" : "243", + "asType" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Null", + "localId" : "240", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } + }, { + "type" : "Literal", + "localId" : "241", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "annotation" : [ ] + } ] + } + } + }, { + "localId" : "255", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "name" : "empty", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "255", + "s" : [ { + "value" : [ "", "define ", "empty", ": " ] + }, { + "r" : "265", + "s" : [ { + "value" : [ "Min", "(" ] + }, { + "r" : "257", + "s" : [ { + "value" : [ "List<" ] + }, { + "r" : "256", + "s" : [ { + "value" : [ "Integer" ] + } ] + }, { + "value" : [ ">{}" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Min", + "localId" : "265", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ], + "signature" : [ { + "type" : "ListTypeSpecifier", + "localId" : "266", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "267", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } ], + "source" : { + "type" : "List", + "localId" : "257", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "259", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "260", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "element" : [ ] + } + } + }, { + "localId" : "270", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "name" : "not_null_q", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "270", + "s" : [ { + "value" : [ "", "define ", "not_null_q", ": " ] + }, { + "r" : "284", + "s" : [ { + "value" : [ "Min", "(" ] + }, { + "r" : "271", + "s" : [ { + "value" : [ "{" ] + }, { + "r" : "272", + "s" : [ { + "value" : [ "1 ", "'ml'" ] + } ] + }, { + "value" : [ "," ] + }, { + "r" : "273", + "s" : [ { + "value" : [ "2 ", "'ml'" ] + } ] + }, { + "value" : [ "," ] + }, { + "r" : "274", + "s" : [ { + "value" : [ "3 ", "'ml'" ] + } ] + }, { + "value" : [ "," ] + }, { + "r" : "275", + "s" : [ { + "value" : [ "4 ", "'ml'" ] + } ] + }, { + "value" : [ "," ] + }, { + "r" : "276", + "s" : [ { + "value" : [ "5 ", "'ml'" ] + } ] + }, { + "value" : [ "," ] + }, { + "r" : "277", + "s" : [ { + "value" : [ "0 ", "'ml'" ] + } ] + }, { + "value" : [ "}" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Min", + "localId" : "284", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ], + "signature" : [ { + "type" : "ListTypeSpecifier", + "localId" : "285", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "286", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } + } ], + "source" : { + "type" : "List", + "localId" : "271", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "278", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "279", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } + }, + "element" : [ { + "type" : "Quantity", + "localId" : "272", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "value" : 1, + "unit" : "ml", + "annotation" : [ ] + }, { + "type" : "Quantity", + "localId" : "273", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "value" : 2, + "unit" : "ml", + "annotation" : [ ] + }, { + "type" : "Quantity", + "localId" : "274", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "value" : 3, + "unit" : "ml", + "annotation" : [ ] + }, { + "type" : "Quantity", + "localId" : "275", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "value" : 4, + "unit" : "ml", + "annotation" : [ ] + }, { + "type" : "Quantity", + "localId" : "276", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "value" : 5, + "unit" : "ml", + "annotation" : [ ] + }, { + "type" : "Quantity", + "localId" : "277", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "value" : 0, + "unit" : "ml", + "annotation" : [ ] + } ] + } + } + }, { + "localId" : "289", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "name" : "has_null_q", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "289", + "s" : [ { + "value" : [ "", "define ", "has_null_q", ": " ] + }, { + "r" : "306", + "s" : [ { + "value" : [ "Min", "(" ] + }, { + "r" : "290", + "s" : [ { + "value" : [ "{" ] + }, { + "r" : "291", + "s" : [ { + "value" : [ "1 ", "'ml'" ] + } ] + }, { + "r" : "292", + "value" : [ ",", "null", "," ] + }, { + "r" : "293", "s" : [ { - "value" : [ "","define ","DateMin",": " ] - }, { - "r" : "411", - "s" : [ { - "value" : [ "Min","(" ] - }, { - "r" : "389", - "s" : [ { - "r" : "394", - "value" : [ "{ ","@2012-12-31",", ","@2013-01-01",", ","@2012-01-01"," }" ] - } ] - }, { - "value" : [ ")" ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "411", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "Min", - "signature" : [ { - "localId" : "412", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "413", - "name" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "NamedTypeSpecifier" - } - } ], - "source" : { - "localId" : "389", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "405", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "406", - "name" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "NamedTypeSpecifier" - } - }, - "element" : [ { - "localId" : "394", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "Date", - "signature" : [ ], - "year" : { - "localId" : "391", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "392", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "12", - "type" : "Literal" - }, - "day" : { - "localId" : "393", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "31", - "type" : "Literal" - } - }, { - "localId" : "399", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "Date", - "signature" : [ ], - "year" : { - "localId" : "396", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2013", - "type" : "Literal" - }, - "month" : { - "localId" : "397", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "398", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - } - }, { - "localId" : "404", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "Date", - "signature" : [ ], - "year" : { - "localId" : "401", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "402", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "403", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - } - } ] - } - } - }, { - "localId" : "416", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "name" : "DateTimeMin", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "416", - "s" : [ { - "value" : [ "","define ","DateTimeMin",": " ] - }, { - "r" : "448", - "s" : [ { - "value" : [ "Min","(" ] - }, { - "r" : "417", - "s" : [ { - "value" : [ "{ " ] - }, { - "r" : "426", - "s" : [ { - "r" : "418", - "value" : [ "DateTime","(","2012",", ","9",", ","9",")" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "438", - "s" : [ { - "r" : "430", - "value" : [ "DateTime","(","2012",", ","9",", ","5",")" ] - } ] - }, { - "value" : [ " }" ] - } ] - }, { - "value" : [ ")" ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "448", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "Min", - "signature" : [ { - "localId" : "449", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "450", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } ], - "source" : { - "localId" : "417", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "442", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "443", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "element" : [ { - "localId" : "426", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "427", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "428", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "429", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "418", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "419", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "9", - "type" : "Literal" - }, - "day" : { - "localId" : "420", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "9", - "type" : "Literal" - } - }, { - "localId" : "438", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "439", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "440", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "441", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "430", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "431", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "9", - "type" : "Literal" - }, - "day" : { - "localId" : "432", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal" - } - } ] - } - } - }, { - "localId" : "453", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Time", - "name" : "TimeMin", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "453", - "s" : [ { - "value" : [ "","define ","TimeMin",": " ] + "value" : [ "-" ] }, { - "r" : "497", - "s" : [ { - "value" : [ "Min","(" ] - }, { - "r" : "454", - "s" : [ { - "value" : [ "{ " ] - }, { - "r" : "463", - "s" : [ { - "r" : "455", - "value" : [ "Time","(","12",", ","30",", ","4",")" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "475", - "s" : [ { - "r" : "467", - "value" : [ "Time","(","12",", ","30",", ","3",")" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "487", - "s" : [ { - "r" : "479", - "value" : [ "Time","(","12",", ","30",", ","5",")" ] - } ] - }, { - "value" : [ "}" ] - } ] - }, { - "value" : [ ")" ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "497", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Time", - "type" : "Min", - "signature" : [ { - "localId" : "498", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "499", - "name" : "{urn:hl7-org:elm-types:r1}Time", - "type" : "NamedTypeSpecifier" - } - } ], - "source" : { - "localId" : "454", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "491", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "492", - "name" : "{urn:hl7-org:elm-types:r1}Time", - "type" : "NamedTypeSpecifier" - } - }, - "element" : [ { - "localId" : "463", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Time", - "type" : "Time", - "signature" : [ { - "localId" : "464", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "465", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "466", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "hour" : { - "localId" : "455", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "12", - "type" : "Literal" - }, - "minute" : { - "localId" : "456", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "30", - "type" : "Literal" - }, - "second" : { - "localId" : "457", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "4", - "type" : "Literal" - } - }, { - "localId" : "475", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Time", - "type" : "Time", - "signature" : [ { - "localId" : "476", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "477", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "478", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "hour" : { - "localId" : "467", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "12", - "type" : "Literal" - }, - "minute" : { - "localId" : "468", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "30", - "type" : "Literal" - }, - "second" : { - "localId" : "469", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - } - }, { - "localId" : "487", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Time", - "type" : "Time", - "signature" : [ { - "localId" : "488", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "489", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "490", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "hour" : { - "localId" : "479", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "12", - "type" : "Literal" - }, - "minute" : { - "localId" : "480", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "30", - "type" : "Literal" - }, - "second" : { - "localId" : "481", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal" - } - } ] - } - } - }, { - "localId" : "502", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "name" : "StringMin", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "502", + "r" : "294", + "s" : [ { + "value" : [ "1 ", "'ml'" ] + } ] + } ] + }, { + "r" : "296", + "value" : [ ",", "null", "," ] + }, { + "r" : "297", "s" : [ { - "value" : [ "","define ","StringMin",": " ] - }, { - "r" : "518", - "s" : [ { - "value" : [ "Min","(" ] - }, { - "r" : "503", - "s" : [ { - "value" : [ "{" ] - }, { - "r" : "504", - "s" : [ { - "value" : [ "'def'" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "506", - "s" : [ { - "value" : [ "'abc'" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "508", - "s" : [ { - "value" : [ "'jkl'" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "510", - "s" : [ { - "value" : [ "'ghi'" ] - } ] - }, { - "value" : [ "}" ] - } ] - }, { - "value" : [ ")" ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "518", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "type" : "Min", - "signature" : [ { - "localId" : "519", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "520", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } - } ], - "source" : { - "localId" : "503", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "512", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "513", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } - }, - "element" : [ { - "localId" : "504", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "def", - "type" : "Literal" - }, { - "localId" : "506", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "abc", - "type" : "Literal" - }, { - "localId" : "508", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "jkl", - "type" : "Literal" - }, { - "localId" : "510", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "ghi", - "type" : "Literal" - } ] - } - } - }, { - "localId" : "523", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "name" : "MinIsNull", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "523", + "value" : [ "2 ", "'ml'" ] + } ] + }, { + "value" : [ "}" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Min", + "localId" : "306", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ], + "signature" : [ { + "type" : "ListTypeSpecifier", + "localId" : "307", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "308", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } + } ], + "source" : { + "type" : "List", + "localId" : "290", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "300", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "301", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } + }, + "element" : [ { + "type" : "Quantity", + "localId" : "291", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "value" : 1, + "unit" : "ml", + "annotation" : [ ] + }, { + "type" : "As", + "localId" : "298", + "asType" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Null", + "localId" : "292", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } + }, { + "type" : "Negate", + "localId" : "293", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "295", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } ], + "operand" : { + "type" : "Quantity", + "localId" : "294", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "value" : 1, + "unit" : "ml", + "annotation" : [ ] + } + }, { + "type" : "As", + "localId" : "299", + "asType" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Null", + "localId" : "296", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } + }, { + "type" : "Quantity", + "localId" : "297", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "value" : 2, + "unit" : "ml", + "annotation" : [ ] + } ] + } + } + }, { + "localId" : "311", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "name" : "q_diff_units", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "311", + "s" : [ { + "value" : [ "", "define ", "q_diff_units", ": " ] + }, { + "r" : "325", + "s" : [ { + "value" : [ "Min", "(" ] + }, { + "r" : "312", + "s" : [ { + "value" : [ "{" ] + }, { + "r" : "313", "s" : [ { - "value" : [ "","define ","MinIsNull",": " ] - }, { - "r" : "540", - "s" : [ { - "value" : [ "Min","(" ] - }, { - "r" : "524", - "s" : [ { - "value" : [ "{ " ] - }, { - "r" : "525", - "s" : [ { - "r" : "526", - "value" : [ "null"," as " ] - }, { - "r" : "527", - "s" : [ { - "value" : [ "Quantity" ] - } ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "528", - "s" : [ { - "r" : "529", - "value" : [ "null"," as " ] - }, { - "r" : "530", - "s" : [ { - "value" : [ "Quantity" ] - } ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "531", - "s" : [ { - "r" : "532", - "value" : [ "null"," as " ] - }, { - "r" : "533", - "s" : [ { - "value" : [ "Quantity" ] - } ] - } ] - }, { - "value" : [ " }" ] - } ] - }, { - "value" : [ ")" ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "540", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "Min", - "signature" : [ { - "localId" : "541", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "542", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } - } ], - "source" : { - "localId" : "524", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "534", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "535", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } - }, - "element" : [ { - "localId" : "525", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "strict" : false, - "type" : "As", - "signature" : [ ], - "operand" : { - "localId" : "526", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - }, - "asTypeSpecifier" : { - "localId" : "527", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "528", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "strict" : false, - "type" : "As", - "signature" : [ ], - "operand" : { - "localId" : "529", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - }, - "asTypeSpecifier" : { - "localId" : "530", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "531", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "strict" : false, - "type" : "As", - "signature" : [ ], - "operand" : { - "localId" : "532", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - }, - "asTypeSpecifier" : { - "localId" : "533", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } - } ] - } - } - }, { - "localId" : "545", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "name" : "MinIsAlsoNull", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "545", + "value" : [ "1 ", "'ml'" ] + } ] + }, { + "value" : [ "," ] + }, { + "r" : "314", "s" : [ { - "value" : [ "","define ","MinIsAlsoNull",": " ] - }, { - "r" : "558", - "s" : [ { - "value" : [ "Min","(" ] - }, { - "r" : "546", - "s" : [ { - "r" : "547", - "value" : [ "null"," as " ] - }, { - "r" : "548", - "s" : [ { - "value" : [ "List<" ] - }, { - "r" : "549", - "s" : [ { - "value" : [ "Decimal" ] - } ] - }, { - "value" : [ ">" ] - } ] - } ] - }, { - "value" : [ ")" ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "558", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "Min", - "signature" : [ { - "localId" : "559", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "560", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } - } ], - "source" : { - "localId" : "546", - "strict" : false, - "type" : "As", - "resultTypeSpecifier" : { - "localId" : "552", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "553", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } - }, - "signature" : [ ], - "operand" : { - "localId" : "547", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - }, - "asTypeSpecifier" : { - "localId" : "548", - "type" : "ListTypeSpecifier", - "resultTypeSpecifier" : { - "localId" : "550", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "551", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } - }, - "elementType" : { - "localId" : "549", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } - } - } - } - }, { - "localId" : "563", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "name" : "IncompatibleUnitsNull", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "563", + "value" : [ "2 ", "'dl'" ] + } ] + }, { + "value" : [ "," ] + }, { + "r" : "315", "s" : [ { - "value" : [ "","define ","IncompatibleUnitsNull",": " ] - }, { - "r" : "573", - "s" : [ { - "value" : [ "Min","(" ] - }, { - "r" : "564", - "s" : [ { - "value" : [ "{" ] - }, { - "r" : "565", - "s" : [ { - "value" : [ "1 ","'mg/d'" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "566", - "s" : [ { - "value" : [ "0.002 ","'/d'" ] - } ] - }, { - "value" : [ "}" ] - } ] - }, { - "value" : [ ")" ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "573", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "Min", - "signature" : [ { - "localId" : "574", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "575", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } - } ], - "source" : { - "localId" : "564", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "567", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "568", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } - }, - "element" : [ { - "localId" : "565", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "value" : 1, - "unit" : "mg/d", - "type" : "Quantity" - }, { - "localId" : "566", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "value" : 0.002, - "unit" : "/d", - "type" : "Quantity" + "value" : [ "3 ", "'l'" ] } ] - } - } - } ] - } - } + }, { + "value" : [ "," ] + }, { + "r" : "316", + "s" : [ { + "value" : [ "4 ", "'l'" ] + } ] + }, { + "value" : [ "," ] + }, { + "r" : "317", + "s" : [ { + "value" : [ "5 ", "'l'" ] + } ] + }, { + "value" : [ "," ] + }, { + "r" : "318", + "s" : [ { + "value" : [ "0 ", "'ml'" ] + } ] + }, { + "value" : [ "}" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Min", + "localId" : "325", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ], + "signature" : [ { + "type" : "ListTypeSpecifier", + "localId" : "326", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "327", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } + } ], + "source" : { + "type" : "List", + "localId" : "312", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "319", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "320", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } + }, + "element" : [ { + "type" : "Quantity", + "localId" : "313", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "value" : 1, + "unit" : "ml", + "annotation" : [ ] + }, { + "type" : "Quantity", + "localId" : "314", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "value" : 2, + "unit" : "dl", + "annotation" : [ ] + }, { + "type" : "Quantity", + "localId" : "315", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "value" : 3, + "unit" : "l", + "annotation" : [ ] + }, { + "type" : "Quantity", + "localId" : "316", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "value" : 4, + "unit" : "l", + "annotation" : [ ] + }, { + "type" : "Quantity", + "localId" : "317", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "value" : 5, + "unit" : "l", + "annotation" : [ ] + }, { + "type" : "Quantity", + "localId" : "318", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "value" : 0, + "unit" : "ml", + "annotation" : [ ] + } ] + } + } + }, { + "localId" : "330", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "name" : "NumbersAndQuantities", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "330", + "s" : [ { + "value" : [ "", "define ", "NumbersAndQuantities", ": " ] + }, { + "r" : "347", + "s" : [ { + "value" : [ "Min", "(" ] + }, { + "r" : "331", + "s" : [ { + "r" : "332", + "value" : [ "{", "1", " ," ] + }, { + "r" : "333", + "s" : [ { + "value" : [ "2 ", "'ml'" ] + } ] + }, { + "value" : [ "," ] + }, { + "r" : "334", + "s" : [ { + "value" : [ "3 ", "'ml'" ] + } ] + }, { + "value" : [ "," ] + }, { + "r" : "335", + "s" : [ { + "value" : [ "4 ", "'ml'" ] + } ] + }, { + "value" : [ "," ] + }, { + "r" : "336", + "s" : [ { + "value" : [ "5 ", "'ml'" ] + } ] + }, { + "value" : [ "," ] + }, { + "r" : "337", + "s" : [ { + "value" : [ "0 ", "'ml'" ] + } ] + }, { + "value" : [ "}" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Min", + "localId" : "347", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ], + "signature" : [ { + "type" : "ListTypeSpecifier", + "localId" : "348", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "349", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } + } ], + "source" : { + "type" : "List", + "localId" : "331", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "341", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "342", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } + }, + "element" : [ { + "type" : "ToQuantity", + "localId" : "339", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "340", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "operand" : { + "type" : "Literal", + "localId" : "332", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + } + }, { + "type" : "Quantity", + "localId" : "333", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "value" : 2, + "unit" : "ml", + "annotation" : [ ] + }, { + "type" : "Quantity", + "localId" : "334", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "value" : 3, + "unit" : "ml", + "annotation" : [ ] + }, { + "type" : "Quantity", + "localId" : "335", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "value" : 4, + "unit" : "ml", + "annotation" : [ ] + }, { + "type" : "Quantity", + "localId" : "336", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "value" : 5, + "unit" : "ml", + "annotation" : [ ] + }, { + "type" : "Quantity", + "localId" : "337", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "value" : 0, + "unit" : "ml", + "annotation" : [ ] + } ] + } + } + }, { + "localId" : "352", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "name" : "IntegerMin", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "352", + "s" : [ { + "value" : [ "", "define ", "IntegerMin", ": " ] + }, { + "r" : "364", + "s" : [ { + "value" : [ "Min", "(" ] + }, { + "r" : "353", + "s" : [ { + "r" : "354", + "value" : [ "{ ", "2", ", ", "4", ", ", "8", ", ", "6", " }" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Min", + "localId" : "364", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ], + "signature" : [ { + "type" : "ListTypeSpecifier", + "localId" : "365", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "366", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } ], + "source" : { + "type" : "List", + "localId" : "353", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "358", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "359", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "element" : [ { + "type" : "Literal", + "localId" : "354", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "355", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "4", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "356", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "8", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "357", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "6", + "annotation" : [ ] + } ] + } + } + }, { + "localId" : "369", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "name" : "DecimalMin", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "369", + "s" : [ { + "value" : [ "", "define ", "DecimalMin", ": " ] + }, { + "r" : "383", + "s" : [ { + "value" : [ "Min", "(" ] + }, { + "r" : "370", + "s" : [ { + "r" : "371", + "value" : [ "{ ", "5.0", ", ", "4.9", ", ", "5.1", ", " ] + }, { + "r" : "374", + "s" : [ { + "r" : "375", + "value" : [ "-", "5.0" ] + } ] + }, { + "value" : [ " }" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Min", + "localId" : "383", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ], + "signature" : [ { + "type" : "ListTypeSpecifier", + "localId" : "384", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "385", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } + } ], + "source" : { + "type" : "List", + "localId" : "370", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "377", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "378", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } + }, + "element" : [ { + "type" : "Literal", + "localId" : "371", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "5.0", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "372", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "4.9", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "373", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "5.1", + "annotation" : [ ] + }, { + "type" : "Negate", + "localId" : "374", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "376", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } ], + "operand" : { + "type" : "Literal", + "localId" : "375", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "5.0", + "annotation" : [ ] + } + } ] + } + } + }, { + "localId" : "388", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", + "name" : "DateMin", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "388", + "s" : [ { + "value" : [ "", "define ", "DateMin", ": " ] + }, { + "r" : "411", + "s" : [ { + "value" : [ "Min", "(" ] + }, { + "r" : "389", + "s" : [ { + "r" : "394", + "value" : [ "{ ", "@2012-12-31", ", ", "@2013-01-01", ", ", "@2012-01-01", " }" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Min", + "localId" : "411", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ], + "signature" : [ { + "type" : "ListTypeSpecifier", + "localId" : "412", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "413", + "name" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ] + } + } ], + "source" : { + "type" : "List", + "localId" : "389", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "405", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "406", + "name" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ] + } + }, + "element" : [ { + "type" : "Date", + "localId" : "394", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ], + "signature" : [ ], + "year" : { + "type" : "Literal", + "localId" : "391", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "392", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "12", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "393", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "31", + "annotation" : [ ] + } + }, { + "type" : "Date", + "localId" : "399", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ], + "signature" : [ ], + "year" : { + "type" : "Literal", + "localId" : "396", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2013", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "397", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "398", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + } + }, { + "type" : "Date", + "localId" : "404", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ], + "signature" : [ ], + "year" : { + "type" : "Literal", + "localId" : "401", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "402", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "403", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + } + } ] + } + } + }, { + "localId" : "416", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "name" : "DateTimeMin", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "416", + "s" : [ { + "value" : [ "", "define ", "DateTimeMin", ": " ] + }, { + "r" : "448", + "s" : [ { + "value" : [ "Min", "(" ] + }, { + "r" : "417", + "s" : [ { + "value" : [ "{ " ] + }, { + "r" : "426", + "s" : [ { + "r" : "418", + "value" : [ "DateTime", "(", "2012", ", ", "9", ", ", "9", ")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "438", + "s" : [ { + "r" : "430", + "value" : [ "DateTime", "(", "2012", ", ", "9", ", ", "5", ")" ] + } ] + }, { + "value" : [ " }" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Min", + "localId" : "448", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "ListTypeSpecifier", + "localId" : "449", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "450", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } ], + "source" : { + "type" : "List", + "localId" : "417", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "442", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "443", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "element" : [ { + "type" : "DateTime", + "localId" : "426", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "427", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "428", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "429", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "418", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "419", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "9", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "420", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "9", + "annotation" : [ ] + } + }, { + "type" : "DateTime", + "localId" : "438", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "439", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "440", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "441", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "430", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "431", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "9", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "432", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "5", + "annotation" : [ ] + } + } ] + } + } + }, { + "localId" : "453", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Time", + "name" : "TimeMin", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "453", + "s" : [ { + "value" : [ "", "define ", "TimeMin", ": " ] + }, { + "r" : "497", + "s" : [ { + "value" : [ "Min", "(" ] + }, { + "r" : "454", + "s" : [ { + "value" : [ "{ " ] + }, { + "r" : "463", + "s" : [ { + "r" : "455", + "value" : [ "Time", "(", "12", ", ", "30", ", ", "4", ")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "475", + "s" : [ { + "r" : "467", + "value" : [ "Time", "(", "12", ", ", "30", ", ", "3", ")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "487", + "s" : [ { + "r" : "479", + "value" : [ "Time", "(", "12", ", ", "30", ", ", "5", ")" ] + } ] + }, { + "value" : [ "}" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Min", + "localId" : "497", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Time", + "annotation" : [ ], + "signature" : [ { + "type" : "ListTypeSpecifier", + "localId" : "498", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "499", + "name" : "{urn:hl7-org:elm-types:r1}Time", + "annotation" : [ ] + } + } ], + "source" : { + "type" : "List", + "localId" : "454", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "491", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "492", + "name" : "{urn:hl7-org:elm-types:r1}Time", + "annotation" : [ ] + } + }, + "element" : [ { + "type" : "Time", + "localId" : "463", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Time", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "464", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "465", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "466", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "hour" : { + "type" : "Literal", + "localId" : "455", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "12", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "456", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "30", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "457", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "4", + "annotation" : [ ] + } + }, { + "type" : "Time", + "localId" : "475", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Time", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "476", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "477", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "478", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "hour" : { + "type" : "Literal", + "localId" : "467", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "12", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "468", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "30", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "469", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + } + }, { + "type" : "Time", + "localId" : "487", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Time", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "488", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "489", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "490", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "hour" : { + "type" : "Literal", + "localId" : "479", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "12", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "480", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "30", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "481", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "5", + "annotation" : [ ] + } + } ] + } + } + }, { + "localId" : "502", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "name" : "StringMin", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "502", + "s" : [ { + "value" : [ "", "define ", "StringMin", ": " ] + }, { + "r" : "518", + "s" : [ { + "value" : [ "Min", "(" ] + }, { + "r" : "503", + "s" : [ { + "value" : [ "{" ] + }, { + "r" : "504", + "s" : [ { + "value" : [ "'def'" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "506", + "s" : [ { + "value" : [ "'abc'" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "508", + "s" : [ { + "value" : [ "'jkl'" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "510", + "s" : [ { + "value" : [ "'ghi'" ] + } ] + }, { + "value" : [ "}" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Min", + "localId" : "518", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ], + "signature" : [ { + "type" : "ListTypeSpecifier", + "localId" : "519", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "520", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } + } ], + "source" : { + "type" : "List", + "localId" : "503", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "512", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "513", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } + }, + "element" : [ { + "type" : "Literal", + "localId" : "504", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "def", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "506", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "abc", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "508", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "jkl", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "510", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "ghi", + "annotation" : [ ] + } ] + } + } + }, { + "localId" : "523", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "name" : "MinIsNull", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "523", + "s" : [ { + "value" : [ "", "define ", "MinIsNull", ": " ] + }, { + "r" : "540", + "s" : [ { + "value" : [ "Min", "(" ] + }, { + "r" : "524", + "s" : [ { + "value" : [ "{ " ] + }, { + "r" : "525", + "s" : [ { + "r" : "526", + "value" : [ "null", " as " ] + }, { + "r" : "527", + "s" : [ { + "value" : [ "Quantity" ] + } ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "528", + "s" : [ { + "r" : "529", + "value" : [ "null", " as " ] + }, { + "r" : "530", + "s" : [ { + "value" : [ "Quantity" ] + } ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "531", + "s" : [ { + "r" : "532", + "value" : [ "null", " as " ] + }, { + "r" : "533", + "s" : [ { + "value" : [ "Quantity" ] + } ] + } ] + }, { + "value" : [ " }" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Min", + "localId" : "540", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ], + "signature" : [ { + "type" : "ListTypeSpecifier", + "localId" : "541", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "542", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } + } ], + "source" : { + "type" : "List", + "localId" : "524", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "534", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "535", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } + }, + "element" : [ { + "type" : "As", + "localId" : "525", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "strict" : false, + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Null", + "localId" : "526", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + }, + "asTypeSpecifier" : { + "type" : "NamedTypeSpecifier", + "localId" : "527", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } + }, { + "type" : "As", + "localId" : "528", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "strict" : false, + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Null", + "localId" : "529", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + }, + "asTypeSpecifier" : { + "type" : "NamedTypeSpecifier", + "localId" : "530", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } + }, { + "type" : "As", + "localId" : "531", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "strict" : false, + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Null", + "localId" : "532", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + }, + "asTypeSpecifier" : { + "type" : "NamedTypeSpecifier", + "localId" : "533", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } + } ] + } + } + }, { + "localId" : "545", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "name" : "MinIsAlsoNull", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "545", + "s" : [ { + "value" : [ "", "define ", "MinIsAlsoNull", ": " ] + }, { + "r" : "558", + "s" : [ { + "value" : [ "Min", "(" ] + }, { + "r" : "546", + "s" : [ { + "r" : "547", + "value" : [ "null", " as " ] + }, { + "r" : "548", + "s" : [ { + "value" : [ "List<" ] + }, { + "r" : "549", + "s" : [ { + "value" : [ "Decimal" ] + } ] + }, { + "value" : [ ">" ] + } ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Min", + "localId" : "558", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ], + "signature" : [ { + "type" : "ListTypeSpecifier", + "localId" : "559", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "560", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } + } ], + "source" : { + "type" : "As", + "localId" : "546", + "strict" : false, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "552", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "553", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } + }, + "signature" : [ ], + "operand" : { + "type" : "Null", + "localId" : "547", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + }, + "asTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "548", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "550", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "551", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } + }, + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "549", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } + } + } + } + }, { + "localId" : "563", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "name" : "IncompatibleUnitsNull", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "563", + "s" : [ { + "value" : [ "", "define ", "IncompatibleUnitsNull", ": " ] + }, { + "r" : "573", + "s" : [ { + "value" : [ "Min", "(" ] + }, { + "r" : "564", + "s" : [ { + "value" : [ "{" ] + }, { + "r" : "565", + "s" : [ { + "value" : [ "1 ", "'mg/d'" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "566", + "s" : [ { + "value" : [ "0.002 ", "'/d'" ] + } ] + }, { + "value" : [ "}" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Min", + "localId" : "573", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ], + "signature" : [ { + "type" : "ListTypeSpecifier", + "localId" : "574", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "575", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } + } ], + "source" : { + "type" : "List", + "localId" : "564", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "567", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "568", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } + }, + "element" : [ { + "type" : "Quantity", + "localId" : "565", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "value" : 1, + "unit" : "mg/d", + "annotation" : [ ] + }, { + "type" : "Quantity", + "localId" : "566", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "value" : 0.002, + "unit" : "/d", + "annotation" : [ ] + } ] + } + } + } ] + } + } } /* Max @@ -3469,1900 +3879,2134 @@ define MaxIsAlsoNull: Max(null as List) */ module.exports['Max'] = { - "library" : { - "localId" : "0", - "annotation" : [ { - "translatorVersion" : "3.27.0", - "translatorOptions" : "EnableDateRangeOptimization,EnableAnnotations,EnableResultTypes", - "signatureLevel" : "All", - "type" : "CqlToElmInfo" - }, { - "type" : "Annotation", - "s" : { - "r" : "554", + "library" : { + "localId" : "0", + "annotation" : [ { + "type" : "CqlToElmInfo", + "translatorVersion" : "4.2.0", + "translatorOptions" : "EnableDateRangeOptimization,EnableAnnotations,EnableResultTypes", + "signatureLevel" : "All" + }, { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "554", + "s" : [ { + "value" : [ "", "library TestSnippet version '1'" ] + } ] + } + } ], + "identifier" : { + "id" : "TestSnippet", + "version" : "1" + }, + "schemaIdentifier" : { + "id" : "urn:hl7-org:elm", + "version" : "r1" + }, + "usings" : { + "def" : [ { + "localId" : "1", + "localIdentifier" : "System", + "uri" : "urn:hl7-org:elm-types:r1", + "annotation" : [ ] + }, { + "localId" : "206", + "localIdentifier" : "Simple", + "uri" : "https://github.com/cqframework/cql-execution/simple", + "version" : "1.0.0", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "206", "s" : [ { - "value" : [ "","library TestSnippet version '1'" ] - } ] - } - } ], - "identifier" : { - "id" : "TestSnippet", - "version" : "1" - }, - "schemaIdentifier" : { - "id" : "urn:hl7-org:elm", - "version" : "r1" - }, - "usings" : { - "def" : [ { - "localId" : "1", - "localIdentifier" : "System", - "uri" : "urn:hl7-org:elm-types:r1" - }, { - "localId" : "206", - "localIdentifier" : "Simple", - "uri" : "https://github.com/cqframework/cql-execution/simple", - "version" : "1.0.0", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "206", - "s" : [ { - "value" : [ "","using " ] - }, { - "s" : [ { - "value" : [ "Simple" ] - } ] - }, { - "value" : [ " version '1.0.0'" ] - } ] - } - } ] - } ] - }, - "contexts" : { - "def" : [ { - "localId" : "211", - "name" : "Patient" - } ] - }, - "statements" : { - "def" : [ { - "localId" : "209", - "name" : "Patient", - "context" : "Patient", - "expression" : { - "localId" : "210", - "type" : "SingletonFrom", - "signature" : [ ], - "operand" : { - "localId" : "208", - "dataType" : "{https://github.com/cqframework/cql-execution/simple}Patient", - "type" : "Retrieve", - "include" : [ ], - "codeFilter" : [ ], - "dateFilter" : [ ], - "otherFilter" : [ ] - } - } - }, { - "localId" : "214", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "name" : "not_null", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "214", - "s" : [ { - "value" : [ "","define ","not_null",": " ] - }, { - "r" : "228", - "s" : [ { - "value" : [ "Max","(" ] - }, { - "r" : "215", - "s" : [ { - "r" : "216", - "value" : [ "{","10",",","1",",","2",",","3",",","4",",","5","}" ] - } ] - }, { - "value" : [ ")" ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "228", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "Max", - "signature" : [ { - "localId" : "229", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "230", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } ], - "source" : { - "localId" : "215", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "222", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "223", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "element" : [ { - "localId" : "216", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal" - }, { - "localId" : "217", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, { - "localId" : "218", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal" - }, { - "localId" : "219", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, { - "localId" : "220", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "4", - "type" : "Literal" - }, { - "localId" : "221", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal" + "value" : [ "", "using " ] + }, { + "s" : [ { + "value" : [ "Simple" ] + } ] + }, { + "value" : [ " version '1.0.0'" ] + } ] + } + } ] + } ] + }, + "contexts" : { + "def" : [ { + "localId" : "211", + "name" : "Patient", + "annotation" : [ ] + } ] + }, + "statements" : { + "def" : [ { + "localId" : "209", + "name" : "Patient", + "context" : "Patient", + "annotation" : [ ], + "expression" : { + "type" : "SingletonFrom", + "localId" : "210", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Retrieve", + "localId" : "208", + "dataType" : "{https://github.com/cqframework/cql-execution/simple}Patient", + "annotation" : [ ], + "include" : [ ], + "codeFilter" : [ ], + "dateFilter" : [ ], + "otherFilter" : [ ] + } + } + }, { + "localId" : "214", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "name" : "not_null", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "214", + "s" : [ { + "value" : [ "", "define ", "not_null", ": " ] + }, { + "r" : "228", + "s" : [ { + "value" : [ "Max", "(" ] + }, { + "r" : "215", + "s" : [ { + "r" : "216", + "value" : [ "{", "10", ",", "1", ",", "2", ",", "3", ",", "4", ",", "5", "}" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Max", + "localId" : "228", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ], + "signature" : [ { + "type" : "ListTypeSpecifier", + "localId" : "229", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "230", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } ], + "source" : { + "type" : "List", + "localId" : "215", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "222", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "223", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "element" : [ { + "type" : "Literal", + "localId" : "216", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "10", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "217", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "218", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "219", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "220", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "4", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "221", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "5", + "annotation" : [ ] + } ] + } + } + }, { + "localId" : "233", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "name" : "has_null", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "233", + "s" : [ { + "value" : [ "", "define ", "has_null", ": " ] + }, { + "r" : "247", + "s" : [ { + "value" : [ "Max", "(" ] + }, { + "r" : "234", + "s" : [ { + "r" : "235", + "value" : [ "{", "1", ",", "null", ",", "null", ",", "2", "}" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Max", + "localId" : "247", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ], + "signature" : [ { + "type" : "ListTypeSpecifier", + "localId" : "248", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "249", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } ], + "source" : { + "type" : "List", + "localId" : "234", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "241", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "242", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "element" : [ { + "type" : "Literal", + "localId" : "235", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, { + "type" : "As", + "localId" : "239", + "asType" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Null", + "localId" : "236", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } + }, { + "type" : "As", + "localId" : "240", + "asType" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Null", + "localId" : "237", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } + }, { + "type" : "Literal", + "localId" : "238", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "annotation" : [ ] + } ] + } + } + }, { + "localId" : "252", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "name" : "not_null_q", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "252", + "s" : [ { + "value" : [ "", "define ", "not_null_q", ": " ] + }, { + "r" : "266", + "s" : [ { + "value" : [ "Max", "(" ] + }, { + "r" : "253", + "s" : [ { + "value" : [ "{" ] + }, { + "r" : "254", + "s" : [ { + "value" : [ "10 ", "'ml'" ] + } ] + }, { + "value" : [ "," ] + }, { + "r" : "255", + "s" : [ { + "value" : [ "1 ", "'ml'" ] + } ] + }, { + "value" : [ "," ] + }, { + "r" : "256", + "s" : [ { + "value" : [ "2 ", "'ml'" ] + } ] + }, { + "value" : [ "," ] + }, { + "r" : "257", + "s" : [ { + "value" : [ "3 ", "'ml'" ] + } ] + }, { + "value" : [ "," ] + }, { + "r" : "258", + "s" : [ { + "value" : [ "4 ", "'ml'" ] + } ] + }, { + "value" : [ "," ] + }, { + "r" : "259", + "s" : [ { + "value" : [ "5 ", "'ml'" ] + } ] + }, { + "value" : [ "}" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Max", + "localId" : "266", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ], + "signature" : [ { + "type" : "ListTypeSpecifier", + "localId" : "267", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "268", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } + } ], + "source" : { + "type" : "List", + "localId" : "253", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "260", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "261", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } + }, + "element" : [ { + "type" : "Quantity", + "localId" : "254", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "value" : 10, + "unit" : "ml", + "annotation" : [ ] + }, { + "type" : "Quantity", + "localId" : "255", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "value" : 1, + "unit" : "ml", + "annotation" : [ ] + }, { + "type" : "Quantity", + "localId" : "256", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "value" : 2, + "unit" : "ml", + "annotation" : [ ] + }, { + "type" : "Quantity", + "localId" : "257", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "value" : 3, + "unit" : "ml", + "annotation" : [ ] + }, { + "type" : "Quantity", + "localId" : "258", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "value" : 4, + "unit" : "ml", + "annotation" : [ ] + }, { + "type" : "Quantity", + "localId" : "259", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "value" : 5, + "unit" : "ml", + "annotation" : [ ] + } ] + } + } + }, { + "localId" : "271", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "name" : "has_null_q", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "271", + "s" : [ { + "value" : [ "", "define ", "has_null_q", ": " ] + }, { + "r" : "285", + "s" : [ { + "value" : [ "Max", "(" ] + }, { + "r" : "272", + "s" : [ { + "value" : [ "{" ] + }, { + "r" : "273", + "s" : [ { + "value" : [ "1 ", "'ml'" ] + } ] + }, { + "r" : "274", + "value" : [ ",", "null", ",", "null", "," ] + }, { + "r" : "276", + "s" : [ { + "value" : [ "2 ", "'ml'" ] + } ] + }, { + "value" : [ "}" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Max", + "localId" : "285", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ], + "signature" : [ { + "type" : "ListTypeSpecifier", + "localId" : "286", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "287", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } + } ], + "source" : { + "type" : "List", + "localId" : "272", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "279", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "280", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } + }, + "element" : [ { + "type" : "Quantity", + "localId" : "273", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "value" : 1, + "unit" : "ml", + "annotation" : [ ] + }, { + "type" : "As", + "localId" : "277", + "asType" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Null", + "localId" : "274", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } + }, { + "type" : "As", + "localId" : "278", + "asType" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Null", + "localId" : "275", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } + }, { + "type" : "Quantity", + "localId" : "276", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "value" : 2, + "unit" : "ml", + "annotation" : [ ] + } ] + } + } + }, { + "localId" : "290", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "name" : "q_diff_units", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "290", + "s" : [ { + "value" : [ "", "define ", "q_diff_units", ": " ] + }, { + "r" : "304", + "s" : [ { + "value" : [ "Max", "(" ] + }, { + "r" : "291", + "s" : [ { + "value" : [ "{" ] + }, { + "r" : "292", + "s" : [ { + "value" : [ "10 ", "'ml'" ] + } ] + }, { + "value" : [ "," ] + }, { + "r" : "293", + "s" : [ { + "value" : [ "1 ", "'ml'" ] } ] - } - } - }, { - "localId" : "233", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "name" : "has_null", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "233", + }, { + "value" : [ "," ] + }, { + "r" : "294", "s" : [ { - "value" : [ "","define ","has_null",": " ] - }, { - "r" : "247", - "s" : [ { - "value" : [ "Max","(" ] - }, { - "r" : "234", - "s" : [ { - "r" : "235", - "value" : [ "{","1",",","null",",","null",",","2","}" ] - } ] - }, { - "value" : [ ")" ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "247", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "Max", - "signature" : [ { - "localId" : "248", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "249", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } ], - "source" : { - "localId" : "234", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "241", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "242", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "element" : [ { - "localId" : "235", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, { - "localId" : "239", - "asType" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "As", - "signature" : [ ], - "operand" : { - "localId" : "236", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - } - }, { - "localId" : "240", - "asType" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "As", - "signature" : [ ], - "operand" : { - "localId" : "237", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - } - }, { - "localId" : "238", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal" - } ] - } - } - }, { - "localId" : "252", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "name" : "not_null_q", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "252", + "value" : [ "2 ", "'ml'" ] + } ] + }, { + "value" : [ "," ] + }, { + "r" : "295", "s" : [ { - "value" : [ "","define ","not_null_q",": " ] - }, { - "r" : "266", - "s" : [ { - "value" : [ "Max","(" ] - }, { - "r" : "253", - "s" : [ { - "value" : [ "{" ] - }, { - "r" : "254", - "s" : [ { - "value" : [ "10 ","'ml'" ] - } ] - }, { - "value" : [ "," ] - }, { - "r" : "255", - "s" : [ { - "value" : [ "1 ","'ml'" ] - } ] - }, { - "value" : [ "," ] - }, { - "r" : "256", - "s" : [ { - "value" : [ "2 ","'ml'" ] - } ] - }, { - "value" : [ "," ] - }, { - "r" : "257", - "s" : [ { - "value" : [ "3 ","'ml'" ] - } ] - }, { - "value" : [ "," ] - }, { - "r" : "258", - "s" : [ { - "value" : [ "4 ","'ml'" ] - } ] - }, { - "value" : [ "," ] - }, { - "r" : "259", - "s" : [ { - "value" : [ "5 ","'ml'" ] - } ] - }, { - "value" : [ "}" ] - } ] - }, { - "value" : [ ")" ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "266", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "Max", - "signature" : [ { - "localId" : "267", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "268", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } - } ], - "source" : { - "localId" : "253", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "260", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "261", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } - }, - "element" : [ { - "localId" : "254", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "value" : 10, - "unit" : "ml", - "type" : "Quantity" - }, { - "localId" : "255", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "value" : 1, - "unit" : "ml", - "type" : "Quantity" - }, { - "localId" : "256", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "value" : 2, - "unit" : "ml", - "type" : "Quantity" - }, { - "localId" : "257", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "value" : 3, - "unit" : "ml", - "type" : "Quantity" - }, { - "localId" : "258", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "value" : 4, - "unit" : "ml", - "type" : "Quantity" - }, { - "localId" : "259", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "value" : 5, - "unit" : "ml", - "type" : "Quantity" + "value" : [ "3 ", "'ml'" ] } ] - } - } - }, { - "localId" : "271", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "name" : "has_null_q", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "271", + }, { + "value" : [ "," ] + }, { + "r" : "296", "s" : [ { - "value" : [ "","define ","has_null_q",": " ] - }, { - "r" : "285", - "s" : [ { - "value" : [ "Max","(" ] - }, { - "r" : "272", - "s" : [ { - "value" : [ "{" ] - }, { - "r" : "273", - "s" : [ { - "value" : [ "1 ","'ml'" ] - } ] - }, { - "r" : "274", - "value" : [ ",","null",",","null","," ] - }, { - "r" : "276", - "s" : [ { - "value" : [ "2 ","'ml'" ] - } ] - }, { - "value" : [ "}" ] - } ] - }, { - "value" : [ ")" ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "285", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "Max", - "signature" : [ { - "localId" : "286", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "287", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } - } ], - "source" : { - "localId" : "272", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "279", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "280", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } - }, - "element" : [ { - "localId" : "273", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "value" : 1, - "unit" : "ml", - "type" : "Quantity" - }, { - "localId" : "277", - "asType" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "As", - "signature" : [ ], - "operand" : { - "localId" : "274", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - } - }, { - "localId" : "278", - "asType" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "As", - "signature" : [ ], - "operand" : { - "localId" : "275", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - } - }, { - "localId" : "276", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "value" : 2, - "unit" : "ml", - "type" : "Quantity" + "value" : [ "4 ", "'ml'" ] } ] - } - } - }, { - "localId" : "290", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "name" : "q_diff_units", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "290", - "s" : [ { - "value" : [ "","define ","q_diff_units",": " ] - }, { - "r" : "304", - "s" : [ { - "value" : [ "Max","(" ] - }, { - "r" : "291", - "s" : [ { - "value" : [ "{" ] - }, { - "r" : "292", - "s" : [ { - "value" : [ "10 ","'ml'" ] - } ] - }, { - "value" : [ "," ] - }, { - "r" : "293", - "s" : [ { - "value" : [ "1 ","'ml'" ] - } ] - }, { - "value" : [ "," ] - }, { - "r" : "294", - "s" : [ { - "value" : [ "2 ","'ml'" ] - } ] - }, { - "value" : [ "," ] - }, { - "r" : "295", - "s" : [ { - "value" : [ "3 ","'ml'" ] - } ] - }, { - "value" : [ "," ] - }, { - "r" : "296", - "s" : [ { - "value" : [ "4 ","'ml'" ] - } ] - }, { - "value" : [ "," ] - }, { - "r" : "297", - "s" : [ { - "value" : [ "5 ","'l'" ] - } ] - }, { - "value" : [ "}" ] - } ] - }, { - "value" : [ ")" ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "304", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "Max", - "signature" : [ { - "localId" : "305", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "306", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } - } ], - "source" : { - "localId" : "291", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "298", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "299", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } - }, - "element" : [ { - "localId" : "292", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "value" : 10, - "unit" : "ml", - "type" : "Quantity" - }, { - "localId" : "293", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "value" : 1, - "unit" : "ml", - "type" : "Quantity" - }, { - "localId" : "294", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "value" : 2, - "unit" : "ml", - "type" : "Quantity" - }, { - "localId" : "295", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "value" : 3, - "unit" : "ml", - "type" : "Quantity" - }, { - "localId" : "296", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "value" : 4, - "unit" : "ml", - "type" : "Quantity" - }, { - "localId" : "297", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "value" : 5, - "unit" : "l", - "type" : "Quantity" + }, { + "value" : [ "," ] + }, { + "r" : "297", + "s" : [ { + "value" : [ "5 ", "'l'" ] } ] - } - } - }, { - "localId" : "309", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "name" : "NumbersAndQuantities", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "309", + }, { + "value" : [ "}" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Max", + "localId" : "304", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ], + "signature" : [ { + "type" : "ListTypeSpecifier", + "localId" : "305", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "306", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } + } ], + "source" : { + "type" : "List", + "localId" : "291", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "298", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "299", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } + }, + "element" : [ { + "type" : "Quantity", + "localId" : "292", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "value" : 10, + "unit" : "ml", + "annotation" : [ ] + }, { + "type" : "Quantity", + "localId" : "293", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "value" : 1, + "unit" : "ml", + "annotation" : [ ] + }, { + "type" : "Quantity", + "localId" : "294", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "value" : 2, + "unit" : "ml", + "annotation" : [ ] + }, { + "type" : "Quantity", + "localId" : "295", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "value" : 3, + "unit" : "ml", + "annotation" : [ ] + }, { + "type" : "Quantity", + "localId" : "296", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "value" : 4, + "unit" : "ml", + "annotation" : [ ] + }, { + "type" : "Quantity", + "localId" : "297", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "value" : 5, + "unit" : "l", + "annotation" : [ ] + } ] + } + } + }, { + "localId" : "309", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "name" : "NumbersAndQuantities", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "309", + "s" : [ { + "value" : [ "", "define ", "NumbersAndQuantities", ": " ] + }, { + "r" : "326", + "s" : [ { + "value" : [ "Max", "(" ] + }, { + "r" : "310", + "s" : [ { + "r" : "311", + "value" : [ "{", "10", " ," ] + }, { + "r" : "312", "s" : [ { - "value" : [ "","define ","NumbersAndQuantities",": " ] - }, { - "r" : "326", - "s" : [ { - "value" : [ "Max","(" ] - }, { - "r" : "310", - "s" : [ { - "r" : "311", - "value" : [ "{","10"," ," ] - }, { - "r" : "312", - "s" : [ { - "value" : [ "1 ","'ml'" ] - } ] - }, { - "value" : [ "," ] - }, { - "r" : "313", - "s" : [ { - "value" : [ "2 ","'ml'" ] - } ] - }, { - "value" : [ "," ] - }, { - "r" : "314", - "s" : [ { - "value" : [ "3 ","'ml'" ] - } ] - }, { - "value" : [ "," ] - }, { - "r" : "315", - "s" : [ { - "value" : [ "4 ","'ml'" ] - } ] - }, { - "value" : [ "," ] - }, { - "r" : "316", - "s" : [ { - "value" : [ "5 ","'ml'" ] - } ] - }, { - "value" : [ "}" ] - } ] - }, { - "value" : [ ")" ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "326", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "Max", - "signature" : [ { - "localId" : "327", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "328", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } - } ], - "source" : { - "localId" : "310", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "320", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "321", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } - }, - "element" : [ { - "localId" : "318", - "type" : "ToQuantity", - "signature" : [ { - "localId" : "319", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "311", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal" - } - }, { - "localId" : "312", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "value" : 1, - "unit" : "ml", - "type" : "Quantity" - }, { - "localId" : "313", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "value" : 2, - "unit" : "ml", - "type" : "Quantity" - }, { - "localId" : "314", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "value" : 3, - "unit" : "ml", - "type" : "Quantity" - }, { - "localId" : "315", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "value" : 4, - "unit" : "ml", - "type" : "Quantity" - }, { - "localId" : "316", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "value" : 5, - "unit" : "ml", - "type" : "Quantity" + "value" : [ "1 ", "'ml'" ] } ] - } - } - }, { - "localId" : "331", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "name" : "IncompatibleUnitsNull", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "331", + }, { + "value" : [ "," ] + }, { + "r" : "313", "s" : [ { - "value" : [ "","define ","IncompatibleUnitsNull",": " ] - }, { - "r" : "341", - "s" : [ { - "value" : [ "Max","(" ] - }, { - "r" : "332", - "s" : [ { - "value" : [ "{" ] - }, { - "r" : "333", - "s" : [ { - "value" : [ "1 ","'mg/d'" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "334", - "s" : [ { - "value" : [ "0.002 ","'/d'" ] - } ] - }, { - "value" : [ "}" ] - } ] - }, { - "value" : [ ")" ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "341", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "Max", - "signature" : [ { - "localId" : "342", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "343", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } - } ], - "source" : { - "localId" : "332", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "335", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "336", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } - }, - "element" : [ { - "localId" : "333", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "value" : 1, - "unit" : "mg/d", - "type" : "Quantity" - }, { - "localId" : "334", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "value" : 0.002, - "unit" : "/d", - "type" : "Quantity" + "value" : [ "2 ", "'ml'" ] } ] - } - } - }, { - "localId" : "346", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "name" : "empty", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "346", + }, { + "value" : [ "," ] + }, { + "r" : "314", "s" : [ { - "value" : [ "","define ","empty",": " ] - }, { - "r" : "356", - "s" : [ { - "value" : [ "Max","(" ] - }, { - "r" : "348", - "s" : [ { - "value" : [ "List<" ] - }, { - "r" : "347", - "s" : [ { - "value" : [ "Integer" ] - } ] - }, { - "value" : [ ">{}" ] - } ] - }, { - "value" : [ ")" ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "356", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "Max", - "signature" : [ { - "localId" : "357", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "358", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } ], - "source" : { - "localId" : "348", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "350", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "351", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "element" : [ ] - } - } - }, { - "localId" : "361", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "name" : "IntegerMax", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "361", - "s" : [ { - "value" : [ "","define ","IntegerMax",": " ] - }, { - "r" : "373", - "s" : [ { - "value" : [ "Max","(" ] - }, { - "r" : "362", - "s" : [ { - "r" : "363", - "value" : [ "{ ","2",", ","4",", ","8",", ","6"," }" ] - } ] - }, { - "value" : [ ")" ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "373", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "Max", - "signature" : [ { - "localId" : "374", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "375", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } ], - "source" : { - "localId" : "362", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "367", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "368", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "element" : [ { - "localId" : "363", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal" - }, { - "localId" : "364", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "4", - "type" : "Literal" - }, { - "localId" : "365", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "8", - "type" : "Literal" - }, { - "localId" : "366", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "6", - "type" : "Literal" - } ] - } - } - }, { - "localId" : "378", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "name" : "DecimalMax", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "378", + "value" : [ "3 ", "'ml'" ] + } ] + }, { + "value" : [ "," ] + }, { + "r" : "315", "s" : [ { - "value" : [ "","define ","DecimalMax",": " ] - }, { - "r" : "392", - "s" : [ { - "value" : [ "Max","(" ] - }, { - "r" : "379", - "s" : [ { - "r" : "380", - "value" : [ "{ ","5.0",", ","4.9",", ","5.1",", " ] - }, { - "r" : "383", - "s" : [ { - "r" : "384", - "value" : [ "-","5.0" ] - } ] - }, { - "value" : [ " }" ] - } ] - }, { - "value" : [ ")" ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "392", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "Max", - "signature" : [ { - "localId" : "393", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "394", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } - } ], - "source" : { - "localId" : "379", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "386", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "387", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } - }, - "element" : [ { - "localId" : "380", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "5.0", - "type" : "Literal" - }, { - "localId" : "381", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "4.9", - "type" : "Literal" - }, { - "localId" : "382", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "5.1", - "type" : "Literal" - }, { - "localId" : "383", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "Negate", - "signature" : [ { - "localId" : "385", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "384", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "5.0", - "type" : "Literal" - } - } ] - } - } - }, { - "localId" : "397", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", - "name" : "DateMax", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "397", + "value" : [ "4 ", "'ml'" ] + } ] + }, { + "value" : [ "," ] + }, { + "r" : "316", "s" : [ { - "value" : [ "","define ","DateMax",": " ] - }, { - "r" : "420", - "s" : [ { - "value" : [ "Max","(" ] - }, { - "r" : "398", - "s" : [ { - "r" : "403", - "value" : [ "{ ","@2012-12-31",", ","@2013-01-01",", ","@2012-01-01"," }" ] - } ] - }, { - "value" : [ ")" ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "420", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "Max", - "signature" : [ { - "localId" : "421", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "422", - "name" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "NamedTypeSpecifier" - } - } ], - "source" : { - "localId" : "398", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "414", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "415", - "name" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "NamedTypeSpecifier" - } - }, - "element" : [ { - "localId" : "403", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "Date", - "signature" : [ ], - "year" : { - "localId" : "400", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "401", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "12", - "type" : "Literal" - }, - "day" : { - "localId" : "402", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "31", - "type" : "Literal" - } - }, { - "localId" : "408", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "Date", - "signature" : [ ], - "year" : { - "localId" : "405", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2013", - "type" : "Literal" - }, - "month" : { - "localId" : "406", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "407", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - } - }, { - "localId" : "413", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "Date", - "signature" : [ ], - "year" : { - "localId" : "410", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "411", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "412", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - } - } ] - } - } - }, { - "localId" : "425", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "name" : "DateTimeMax", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "425", - "s" : [ { - "value" : [ "","define ","DateTimeMax",": " ] - }, { - "r" : "457", - "s" : [ { - "value" : [ "Max","(" ] - }, { - "r" : "426", - "s" : [ { - "value" : [ "{ " ] - }, { - "r" : "435", - "s" : [ { - "r" : "427", - "value" : [ "DateTime","(","2012",", ","2",", ","3",")" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "447", - "s" : [ { - "r" : "439", - "value" : [ "DateTime","(","2012",", ","9",", ","5",")" ] - } ] - }, { - "value" : [ " }" ] - } ] - }, { - "value" : [ ")" ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "457", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "Max", - "signature" : [ { - "localId" : "458", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "459", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } ], - "source" : { - "localId" : "426", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "451", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "452", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "element" : [ { - "localId" : "435", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "436", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "437", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "438", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "427", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "428", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal" - }, - "day" : { - "localId" : "429", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - } - }, { - "localId" : "447", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "448", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "449", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "450", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "439", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "440", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "9", - "type" : "Literal" - }, - "day" : { - "localId" : "441", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal" - } - } ] - } - } - }, { - "localId" : "462", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Time", - "name" : "TimeMax", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "462", - "s" : [ { - "value" : [ "","define ","TimeMax",": " ] - }, { - "r" : "506", - "s" : [ { - "value" : [ "Max","(" ] - }, { - "r" : "463", - "s" : [ { - "value" : [ "{ " ] - }, { - "r" : "472", - "s" : [ { - "r" : "464", - "value" : [ "Time","(","12",", ","30",", ","1",")" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "484", - "s" : [ { - "r" : "476", - "value" : [ "Time","(","12",", ","30",", ","3",")" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "496", - "s" : [ { - "r" : "488", - "value" : [ "Time","(","12",", ","30",", ","2",")" ] - } ] - }, { - "value" : [ "}" ] - } ] - }, { - "value" : [ ")" ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "506", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Time", - "type" : "Max", - "signature" : [ { - "localId" : "507", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "508", - "name" : "{urn:hl7-org:elm-types:r1}Time", - "type" : "NamedTypeSpecifier" - } - } ], - "source" : { - "localId" : "463", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "500", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "501", - "name" : "{urn:hl7-org:elm-types:r1}Time", - "type" : "NamedTypeSpecifier" - } - }, - "element" : [ { - "localId" : "472", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Time", - "type" : "Time", - "signature" : [ { - "localId" : "473", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "474", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "475", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "hour" : { - "localId" : "464", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "12", - "type" : "Literal" - }, - "minute" : { - "localId" : "465", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "30", - "type" : "Literal" - }, - "second" : { - "localId" : "466", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - } - }, { - "localId" : "484", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Time", - "type" : "Time", - "signature" : [ { - "localId" : "485", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "486", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "487", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "hour" : { - "localId" : "476", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "12", - "type" : "Literal" - }, - "minute" : { - "localId" : "477", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "30", - "type" : "Literal" - }, - "second" : { - "localId" : "478", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - } - }, { - "localId" : "496", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Time", - "type" : "Time", - "signature" : [ { - "localId" : "497", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "498", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "499", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "hour" : { - "localId" : "488", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "12", - "type" : "Literal" - }, - "minute" : { - "localId" : "489", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "30", - "type" : "Literal" - }, - "second" : { - "localId" : "490", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal" - } - } ] - } - } - }, { - "localId" : "511", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "name" : "StringMax", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "511", - "s" : [ { - "value" : [ "","define ","StringMax",": " ] - }, { - "r" : "527", - "s" : [ { - "value" : [ "Max","(" ] - }, { - "r" : "512", - "s" : [ { - "value" : [ "{" ] - }, { - "r" : "513", - "s" : [ { - "value" : [ "'def'" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "515", - "s" : [ { - "value" : [ "'abc'" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "517", - "s" : [ { - "value" : [ "'jkl'" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "519", - "s" : [ { - "value" : [ "'ghi'" ] - } ] - }, { - "value" : [ "}" ] - } ] - }, { - "value" : [ ")" ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "527", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "type" : "Max", - "signature" : [ { - "localId" : "528", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "529", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } - } ], - "source" : { - "localId" : "512", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "521", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "522", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } - }, - "element" : [ { - "localId" : "513", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "def", - "type" : "Literal" - }, { - "localId" : "515", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "abc", - "type" : "Literal" - }, { - "localId" : "517", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "jkl", - "type" : "Literal" - }, { - "localId" : "519", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "ghi", - "type" : "Literal" - } ] - } - } - }, { - "localId" : "532", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "name" : "MaxIsNull", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "532", - "s" : [ { - "value" : [ "","define ","MaxIsNull",": " ] - }, { - "r" : "549", - "s" : [ { - "value" : [ "Max","(" ] - }, { - "r" : "533", - "s" : [ { - "value" : [ "{ " ] - }, { - "r" : "534", - "s" : [ { - "r" : "535", - "value" : [ "null"," as " ] - }, { - "r" : "536", - "s" : [ { - "value" : [ "Quantity" ] - } ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "537", - "s" : [ { - "r" : "538", - "value" : [ "null"," as " ] - }, { - "r" : "539", - "s" : [ { - "value" : [ "Quantity" ] - } ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "540", - "s" : [ { - "r" : "541", - "value" : [ "null"," as " ] - }, { - "r" : "542", - "s" : [ { - "value" : [ "Quantity" ] - } ] - } ] - }, { - "value" : [ " }" ] - } ] - }, { - "value" : [ ")" ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "549", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "Max", - "signature" : [ { - "localId" : "550", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "551", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } - } ], - "source" : { - "localId" : "533", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "543", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "544", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } - }, - "element" : [ { - "localId" : "534", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "strict" : false, - "type" : "As", - "signature" : [ ], - "operand" : { - "localId" : "535", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - }, - "asTypeSpecifier" : { - "localId" : "536", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "537", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "strict" : false, - "type" : "As", - "signature" : [ ], - "operand" : { - "localId" : "538", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - }, - "asTypeSpecifier" : { - "localId" : "539", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "540", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "strict" : false, - "type" : "As", - "signature" : [ ], - "operand" : { - "localId" : "541", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - }, - "asTypeSpecifier" : { - "localId" : "542", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } - } ] - } - } - }, { - "localId" : "554", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "name" : "MaxIsAlsoNull", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "554", - "s" : [ { - "value" : [ "","define ","MaxIsAlsoNull",": " ] - }, { - "r" : "567", - "s" : [ { - "value" : [ "Max","(" ] - }, { - "r" : "555", - "s" : [ { - "r" : "556", - "value" : [ "null"," as " ] - }, { - "r" : "557", - "s" : [ { - "value" : [ "List<" ] - }, { - "r" : "558", - "s" : [ { - "value" : [ "Decimal" ] - } ] - }, { - "value" : [ ">" ] - } ] - } ] - }, { - "value" : [ ")" ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "567", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "Max", - "signature" : [ { - "localId" : "568", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "569", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } - } ], - "source" : { - "localId" : "555", - "strict" : false, - "type" : "As", - "resultTypeSpecifier" : { - "localId" : "561", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "562", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } - }, - "signature" : [ ], - "operand" : { - "localId" : "556", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - }, - "asTypeSpecifier" : { - "localId" : "557", - "type" : "ListTypeSpecifier", - "resultTypeSpecifier" : { - "localId" : "559", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "560", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } - }, - "elementType" : { - "localId" : "558", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } - } - } - } - } ] - } - } + "value" : [ "5 ", "'ml'" ] + } ] + }, { + "value" : [ "}" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Max", + "localId" : "326", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ], + "signature" : [ { + "type" : "ListTypeSpecifier", + "localId" : "327", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "328", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } + } ], + "source" : { + "type" : "List", + "localId" : "310", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "320", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "321", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } + }, + "element" : [ { + "type" : "ToQuantity", + "localId" : "318", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "319", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "operand" : { + "type" : "Literal", + "localId" : "311", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "10", + "annotation" : [ ] + } + }, { + "type" : "Quantity", + "localId" : "312", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "value" : 1, + "unit" : "ml", + "annotation" : [ ] + }, { + "type" : "Quantity", + "localId" : "313", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "value" : 2, + "unit" : "ml", + "annotation" : [ ] + }, { + "type" : "Quantity", + "localId" : "314", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "value" : 3, + "unit" : "ml", + "annotation" : [ ] + }, { + "type" : "Quantity", + "localId" : "315", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "value" : 4, + "unit" : "ml", + "annotation" : [ ] + }, { + "type" : "Quantity", + "localId" : "316", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "value" : 5, + "unit" : "ml", + "annotation" : [ ] + } ] + } + } + }, { + "localId" : "331", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "name" : "IncompatibleUnitsNull", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "331", + "s" : [ { + "value" : [ "", "define ", "IncompatibleUnitsNull", ": " ] + }, { + "r" : "341", + "s" : [ { + "value" : [ "Max", "(" ] + }, { + "r" : "332", + "s" : [ { + "value" : [ "{" ] + }, { + "r" : "333", + "s" : [ { + "value" : [ "1 ", "'mg/d'" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "334", + "s" : [ { + "value" : [ "0.002 ", "'/d'" ] + } ] + }, { + "value" : [ "}" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Max", + "localId" : "341", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ], + "signature" : [ { + "type" : "ListTypeSpecifier", + "localId" : "342", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "343", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } + } ], + "source" : { + "type" : "List", + "localId" : "332", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "335", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "336", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } + }, + "element" : [ { + "type" : "Quantity", + "localId" : "333", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "value" : 1, + "unit" : "mg/d", + "annotation" : [ ] + }, { + "type" : "Quantity", + "localId" : "334", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "value" : 0.002, + "unit" : "/d", + "annotation" : [ ] + } ] + } + } + }, { + "localId" : "346", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "name" : "empty", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "346", + "s" : [ { + "value" : [ "", "define ", "empty", ": " ] + }, { + "r" : "356", + "s" : [ { + "value" : [ "Max", "(" ] + }, { + "r" : "348", + "s" : [ { + "value" : [ "List<" ] + }, { + "r" : "347", + "s" : [ { + "value" : [ "Integer" ] + } ] + }, { + "value" : [ ">{}" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Max", + "localId" : "356", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ], + "signature" : [ { + "type" : "ListTypeSpecifier", + "localId" : "357", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "358", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } ], + "source" : { + "type" : "List", + "localId" : "348", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "350", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "351", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "element" : [ ] + } + } + }, { + "localId" : "361", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "name" : "IntegerMax", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "361", + "s" : [ { + "value" : [ "", "define ", "IntegerMax", ": " ] + }, { + "r" : "373", + "s" : [ { + "value" : [ "Max", "(" ] + }, { + "r" : "362", + "s" : [ { + "r" : "363", + "value" : [ "{ ", "2", ", ", "4", ", ", "8", ", ", "6", " }" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Max", + "localId" : "373", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ], + "signature" : [ { + "type" : "ListTypeSpecifier", + "localId" : "374", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "375", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } ], + "source" : { + "type" : "List", + "localId" : "362", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "367", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "368", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "element" : [ { + "type" : "Literal", + "localId" : "363", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "364", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "4", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "365", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "8", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "366", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "6", + "annotation" : [ ] + } ] + } + } + }, { + "localId" : "378", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "name" : "DecimalMax", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "378", + "s" : [ { + "value" : [ "", "define ", "DecimalMax", ": " ] + }, { + "r" : "392", + "s" : [ { + "value" : [ "Max", "(" ] + }, { + "r" : "379", + "s" : [ { + "r" : "380", + "value" : [ "{ ", "5.0", ", ", "4.9", ", ", "5.1", ", " ] + }, { + "r" : "383", + "s" : [ { + "r" : "384", + "value" : [ "-", "5.0" ] + } ] + }, { + "value" : [ " }" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Max", + "localId" : "392", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ], + "signature" : [ { + "type" : "ListTypeSpecifier", + "localId" : "393", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "394", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } + } ], + "source" : { + "type" : "List", + "localId" : "379", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "386", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "387", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } + }, + "element" : [ { + "type" : "Literal", + "localId" : "380", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "5.0", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "381", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "4.9", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "382", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "5.1", + "annotation" : [ ] + }, { + "type" : "Negate", + "localId" : "383", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "385", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } ], + "operand" : { + "type" : "Literal", + "localId" : "384", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "5.0", + "annotation" : [ ] + } + } ] + } + } + }, { + "localId" : "397", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", + "name" : "DateMax", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "397", + "s" : [ { + "value" : [ "", "define ", "DateMax", ": " ] + }, { + "r" : "420", + "s" : [ { + "value" : [ "Max", "(" ] + }, { + "r" : "398", + "s" : [ { + "r" : "403", + "value" : [ "{ ", "@2012-12-31", ", ", "@2013-01-01", ", ", "@2012-01-01", " }" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Max", + "localId" : "420", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ], + "signature" : [ { + "type" : "ListTypeSpecifier", + "localId" : "421", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "422", + "name" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ] + } + } ], + "source" : { + "type" : "List", + "localId" : "398", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "414", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "415", + "name" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ] + } + }, + "element" : [ { + "type" : "Date", + "localId" : "403", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ], + "signature" : [ ], + "year" : { + "type" : "Literal", + "localId" : "400", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "401", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "12", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "402", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "31", + "annotation" : [ ] + } + }, { + "type" : "Date", + "localId" : "408", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ], + "signature" : [ ], + "year" : { + "type" : "Literal", + "localId" : "405", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2013", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "406", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "407", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + } + }, { + "type" : "Date", + "localId" : "413", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ], + "signature" : [ ], + "year" : { + "type" : "Literal", + "localId" : "410", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "411", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "412", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + } + } ] + } + } + }, { + "localId" : "425", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "name" : "DateTimeMax", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "425", + "s" : [ { + "value" : [ "", "define ", "DateTimeMax", ": " ] + }, { + "r" : "457", + "s" : [ { + "value" : [ "Max", "(" ] + }, { + "r" : "426", + "s" : [ { + "value" : [ "{ " ] + }, { + "r" : "435", + "s" : [ { + "r" : "427", + "value" : [ "DateTime", "(", "2012", ", ", "2", ", ", "3", ")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "447", + "s" : [ { + "r" : "439", + "value" : [ "DateTime", "(", "2012", ", ", "9", ", ", "5", ")" ] + } ] + }, { + "value" : [ " }" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Max", + "localId" : "457", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "ListTypeSpecifier", + "localId" : "458", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "459", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } ], + "source" : { + "type" : "List", + "localId" : "426", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "451", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "452", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "element" : [ { + "type" : "DateTime", + "localId" : "435", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "436", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "437", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "438", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "427", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "428", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "429", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + } + }, { + "type" : "DateTime", + "localId" : "447", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "448", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "449", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "450", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "439", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "440", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "9", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "441", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "5", + "annotation" : [ ] + } + } ] + } + } + }, { + "localId" : "462", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Time", + "name" : "TimeMax", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "462", + "s" : [ { + "value" : [ "", "define ", "TimeMax", ": " ] + }, { + "r" : "506", + "s" : [ { + "value" : [ "Max", "(" ] + }, { + "r" : "463", + "s" : [ { + "value" : [ "{ " ] + }, { + "r" : "472", + "s" : [ { + "r" : "464", + "value" : [ "Time", "(", "12", ", ", "30", ", ", "1", ")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "484", + "s" : [ { + "r" : "476", + "value" : [ "Time", "(", "12", ", ", "30", ", ", "3", ")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "496", + "s" : [ { + "r" : "488", + "value" : [ "Time", "(", "12", ", ", "30", ", ", "2", ")" ] + } ] + }, { + "value" : [ "}" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Max", + "localId" : "506", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Time", + "annotation" : [ ], + "signature" : [ { + "type" : "ListTypeSpecifier", + "localId" : "507", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "508", + "name" : "{urn:hl7-org:elm-types:r1}Time", + "annotation" : [ ] + } + } ], + "source" : { + "type" : "List", + "localId" : "463", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "500", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "501", + "name" : "{urn:hl7-org:elm-types:r1}Time", + "annotation" : [ ] + } + }, + "element" : [ { + "type" : "Time", + "localId" : "472", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Time", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "473", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "474", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "475", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "hour" : { + "type" : "Literal", + "localId" : "464", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "12", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "465", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "30", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "466", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + } + }, { + "type" : "Time", + "localId" : "484", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Time", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "485", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "486", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "487", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "hour" : { + "type" : "Literal", + "localId" : "476", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "12", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "477", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "30", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "478", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + } + }, { + "type" : "Time", + "localId" : "496", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Time", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "497", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "498", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "499", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "hour" : { + "type" : "Literal", + "localId" : "488", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "12", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "489", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "30", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "490", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "annotation" : [ ] + } + } ] + } + } + }, { + "localId" : "511", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "name" : "StringMax", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "511", + "s" : [ { + "value" : [ "", "define ", "StringMax", ": " ] + }, { + "r" : "527", + "s" : [ { + "value" : [ "Max", "(" ] + }, { + "r" : "512", + "s" : [ { + "value" : [ "{" ] + }, { + "r" : "513", + "s" : [ { + "value" : [ "'def'" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "515", + "s" : [ { + "value" : [ "'abc'" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "517", + "s" : [ { + "value" : [ "'jkl'" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "519", + "s" : [ { + "value" : [ "'ghi'" ] + } ] + }, { + "value" : [ "}" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Max", + "localId" : "527", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ], + "signature" : [ { + "type" : "ListTypeSpecifier", + "localId" : "528", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "529", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } + } ], + "source" : { + "type" : "List", + "localId" : "512", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "521", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "522", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } + }, + "element" : [ { + "type" : "Literal", + "localId" : "513", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "def", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "515", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "abc", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "517", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "jkl", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "519", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "ghi", + "annotation" : [ ] + } ] + } + } + }, { + "localId" : "532", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "name" : "MaxIsNull", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "532", + "s" : [ { + "value" : [ "", "define ", "MaxIsNull", ": " ] + }, { + "r" : "549", + "s" : [ { + "value" : [ "Max", "(" ] + }, { + "r" : "533", + "s" : [ { + "value" : [ "{ " ] + }, { + "r" : "534", + "s" : [ { + "r" : "535", + "value" : [ "null", " as " ] + }, { + "r" : "536", + "s" : [ { + "value" : [ "Quantity" ] + } ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "537", + "s" : [ { + "r" : "538", + "value" : [ "null", " as " ] + }, { + "r" : "539", + "s" : [ { + "value" : [ "Quantity" ] + } ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "540", + "s" : [ { + "r" : "541", + "value" : [ "null", " as " ] + }, { + "r" : "542", + "s" : [ { + "value" : [ "Quantity" ] + } ] + } ] + }, { + "value" : [ " }" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Max", + "localId" : "549", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ], + "signature" : [ { + "type" : "ListTypeSpecifier", + "localId" : "550", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "551", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } + } ], + "source" : { + "type" : "List", + "localId" : "533", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "543", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "544", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } + }, + "element" : [ { + "type" : "As", + "localId" : "534", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "strict" : false, + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Null", + "localId" : "535", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + }, + "asTypeSpecifier" : { + "type" : "NamedTypeSpecifier", + "localId" : "536", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } + }, { + "type" : "As", + "localId" : "537", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "strict" : false, + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Null", + "localId" : "538", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + }, + "asTypeSpecifier" : { + "type" : "NamedTypeSpecifier", + "localId" : "539", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } + }, { + "type" : "As", + "localId" : "540", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "strict" : false, + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Null", + "localId" : "541", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + }, + "asTypeSpecifier" : { + "type" : "NamedTypeSpecifier", + "localId" : "542", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } + } ] + } + } + }, { + "localId" : "554", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "name" : "MaxIsAlsoNull", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "554", + "s" : [ { + "value" : [ "", "define ", "MaxIsAlsoNull", ": " ] + }, { + "r" : "567", + "s" : [ { + "value" : [ "Max", "(" ] + }, { + "r" : "555", + "s" : [ { + "r" : "556", + "value" : [ "null", " as " ] + }, { + "r" : "557", + "s" : [ { + "value" : [ "List<" ] + }, { + "r" : "558", + "s" : [ { + "value" : [ "Decimal" ] + } ] + }, { + "value" : [ ">" ] + } ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Max", + "localId" : "567", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ], + "signature" : [ { + "type" : "ListTypeSpecifier", + "localId" : "568", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "569", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } + } ], + "source" : { + "type" : "As", + "localId" : "555", + "strict" : false, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "561", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "562", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } + }, + "signature" : [ ], + "operand" : { + "type" : "Null", + "localId" : "556", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + }, + "asTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "557", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "559", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "560", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } + }, + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "558", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } + } + } + } + } ] + } + } } /* Avg @@ -5380,964 +6024,1082 @@ define IncompatibleUnitsNull: Avg({1 'mg/d', 0.002 '/d'}) */ module.exports['Avg'] = { - "library" : { - "localId" : "0", - "annotation" : [ { - "translatorVersion" : "3.27.0", - "translatorOptions" : "EnableDateRangeOptimization,EnableAnnotations,EnableResultTypes", - "signatureLevel" : "All", - "type" : "CqlToElmInfo" - }, { - "type" : "Annotation", - "s" : { - "r" : "385", + "library" : { + "localId" : "0", + "annotation" : [ { + "type" : "CqlToElmInfo", + "translatorVersion" : "4.2.0", + "translatorOptions" : "EnableDateRangeOptimization,EnableAnnotations,EnableResultTypes", + "signatureLevel" : "All" + }, { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "385", + "s" : [ { + "value" : [ "", "library TestSnippet version '1'" ] + } ] + } + } ], + "identifier" : { + "id" : "TestSnippet", + "version" : "1" + }, + "schemaIdentifier" : { + "id" : "urn:hl7-org:elm", + "version" : "r1" + }, + "usings" : { + "def" : [ { + "localId" : "1", + "localIdentifier" : "System", + "uri" : "urn:hl7-org:elm-types:r1", + "annotation" : [ ] + }, { + "localId" : "206", + "localIdentifier" : "Simple", + "uri" : "https://github.com/cqframework/cql-execution/simple", + "version" : "1.0.0", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "206", "s" : [ { - "value" : [ "","library TestSnippet version '1'" ] - } ] - } - } ], - "identifier" : { - "id" : "TestSnippet", - "version" : "1" - }, - "schemaIdentifier" : { - "id" : "urn:hl7-org:elm", - "version" : "r1" - }, - "usings" : { - "def" : [ { - "localId" : "1", - "localIdentifier" : "System", - "uri" : "urn:hl7-org:elm-types:r1" - }, { - "localId" : "206", - "localIdentifier" : "Simple", - "uri" : "https://github.com/cqframework/cql-execution/simple", - "version" : "1.0.0", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "206", - "s" : [ { - "value" : [ "","using " ] - }, { - "s" : [ { - "value" : [ "Simple" ] - } ] - }, { - "value" : [ " version '1.0.0'" ] - } ] - } - } ] - } ] - }, - "contexts" : { - "def" : [ { - "localId" : "211", - "name" : "Patient" - } ] - }, - "statements" : { - "def" : [ { - "localId" : "209", - "name" : "Patient", - "context" : "Patient", - "expression" : { - "localId" : "210", - "type" : "SingletonFrom", - "signature" : [ ], - "operand" : { - "localId" : "208", - "dataType" : "{https://github.com/cqframework/cql-execution/simple}Patient", - "type" : "Retrieve", - "include" : [ ], - "codeFilter" : [ ], - "dateFilter" : [ ], - "otherFilter" : [ ] - } - } - }, { - "localId" : "214", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "name" : "not_null", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "214", - "s" : [ { - "value" : [ "","define ","not_null",": " ] - }, { - "r" : "234", - "s" : [ { - "value" : [ "Avg","(" ] - }, { - "r" : "215", - "s" : [ { - "r" : "216", - "value" : [ "{","1",",","2",",","3",",","4",",","5","}" ] - } ] - }, { - "value" : [ ")" ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "234", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "Avg", - "signature" : [ { - "localId" : "242", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "243", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } - } ], - "source" : { - "localId" : "235", - "type" : "Query", - "source" : [ { - "localId" : "236", - "alias" : "X", - "expression" : { - "localId" : "215", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "221", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "222", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "element" : [ { - "localId" : "216", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, { - "localId" : "217", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal" - }, { - "localId" : "218", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, { - "localId" : "219", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "4", - "type" : "Literal" - }, { - "localId" : "220", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal" - } ] - } - } ], - "let" : [ ], - "relationship" : [ ], - "return" : { - "localId" : "237", - "distinct" : false, - "expression" : { - "localId" : "240", - "type" : "ToDecimal", - "signature" : [ { - "localId" : "241", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "238", - "name" : "X", - "type" : "AliasRef" - } - } - } - } - } - }, { - "localId" : "246", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "name" : "has_null", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "246", - "s" : [ { - "value" : [ "","define ","has_null",": " ] - }, { - "r" : "267", - "s" : [ { - "value" : [ "Avg","(" ] - }, { - "r" : "247", - "s" : [ { - "r" : "248", - "value" : [ "{","1",",","null",",","null",",","2","}" ] - } ] - }, { - "value" : [ ")" ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "267", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "Avg", - "signature" : [ { - "localId" : "275", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "276", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } - } ], - "source" : { - "localId" : "268", - "type" : "Query", - "source" : [ { - "localId" : "269", - "alias" : "X", - "expression" : { - "localId" : "247", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "254", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "255", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "element" : [ { - "localId" : "248", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, { - "localId" : "252", - "asType" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "As", - "signature" : [ ], - "operand" : { - "localId" : "249", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - } - }, { - "localId" : "253", - "asType" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "As", - "signature" : [ ], - "operand" : { - "localId" : "250", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - } - }, { - "localId" : "251", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal" - } ] - } - } ], - "let" : [ ], - "relationship" : [ ], - "return" : { - "localId" : "270", - "distinct" : false, - "expression" : { - "localId" : "273", - "type" : "ToDecimal", - "signature" : [ { - "localId" : "274", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "271", - "name" : "X", - "type" : "AliasRef" - } - } - } - } - } - }, { - "localId" : "279", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "name" : "not_null_q", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "279", - "s" : [ { - "value" : [ "","define ","not_null_q",": " ] - }, { - "r" : "292", - "s" : [ { - "value" : [ "Avg","(" ] - }, { - "r" : "280", - "s" : [ { - "value" : [ "{" ] - }, { - "r" : "281", - "s" : [ { - "value" : [ "1 ","'ml'" ] - } ] - }, { - "value" : [ "," ] - }, { - "r" : "282", - "s" : [ { - "value" : [ "2 ","'ml'" ] - } ] - }, { - "value" : [ "," ] - }, { - "r" : "283", - "s" : [ { - "value" : [ "3 ","'ml'" ] - } ] - }, { - "value" : [ "," ] - }, { - "r" : "284", - "s" : [ { - "value" : [ "4 ","'ml'" ] - } ] - }, { - "value" : [ "," ] - }, { - "r" : "285", - "s" : [ { - "value" : [ "5 ","'ml'" ] - } ] - }, { - "value" : [ "}" ] - } ] - }, { - "value" : [ ")" ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "292", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "Avg", - "signature" : [ { - "localId" : "293", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "294", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } - } ], - "source" : { - "localId" : "280", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "286", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "287", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } - }, - "element" : [ { - "localId" : "281", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "value" : 1, - "unit" : "ml", - "type" : "Quantity" - }, { - "localId" : "282", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "value" : 2, - "unit" : "ml", - "type" : "Quantity" - }, { - "localId" : "283", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "value" : 3, - "unit" : "ml", - "type" : "Quantity" - }, { - "localId" : "284", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "value" : 4, - "unit" : "ml", - "type" : "Quantity" - }, { - "localId" : "285", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "value" : 5, - "unit" : "ml", - "type" : "Quantity" - } ] - } - } - }, { - "localId" : "297", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "name" : "has_null_q", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "297", - "s" : [ { - "value" : [ "","define ","has_null_q",": " ] - }, { - "r" : "311", - "s" : [ { - "value" : [ "Avg","(" ] - }, { - "r" : "298", - "s" : [ { - "value" : [ "{" ] - }, { - "r" : "299", - "s" : [ { - "value" : [ "1 ","'ml'" ] - } ] - }, { - "r" : "300", - "value" : [ ",","null",",","null","," ] - }, { - "r" : "302", - "s" : [ { - "value" : [ "2 ","'ml'" ] - } ] - }, { - "value" : [ "}" ] - } ] - }, { - "value" : [ ")" ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "311", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "Avg", - "signature" : [ { - "localId" : "312", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "313", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } - } ], - "source" : { - "localId" : "298", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "305", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "306", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } - }, - "element" : [ { - "localId" : "299", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "value" : 1, - "unit" : "ml", - "type" : "Quantity" - }, { - "localId" : "303", - "asType" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "As", - "signature" : [ ], - "operand" : { - "localId" : "300", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - } - }, { - "localId" : "304", - "asType" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "As", - "signature" : [ ], - "operand" : { - "localId" : "301", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - } - }, { - "localId" : "302", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "value" : 2, - "unit" : "ml", - "type" : "Quantity" - } ] - } - } - }, { - "localId" : "316", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "name" : "empty", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "316", - "s" : [ { - "value" : [ "","define ","empty",": " ] - }, { - "r" : "333", - "s" : [ { - "value" : [ "Avg","(" ] - }, { - "r" : "318", - "s" : [ { - "value" : [ "List<" ] - }, { - "r" : "317", - "s" : [ { - "value" : [ "Integer" ] - } ] - }, { - "value" : [ ">{}" ] - } ] - }, { - "value" : [ ")" ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "333", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "Avg", - "signature" : [ { - "localId" : "341", + "value" : [ "", "using " ] + }, { + "s" : [ { + "value" : [ "Simple" ] + } ] + }, { + "value" : [ " version '1.0.0'" ] + } ] + } + } ] + } ] + }, + "contexts" : { + "def" : [ { + "localId" : "211", + "name" : "Patient", + "annotation" : [ ] + } ] + }, + "statements" : { + "def" : [ { + "localId" : "209", + "name" : "Patient", + "context" : "Patient", + "annotation" : [ ], + "expression" : { + "type" : "SingletonFrom", + "localId" : "210", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Retrieve", + "localId" : "208", + "dataType" : "{https://github.com/cqframework/cql-execution/simple}Patient", + "annotation" : [ ], + "include" : [ ], + "codeFilter" : [ ], + "dateFilter" : [ ], + "otherFilter" : [ ] + } + } + }, { + "localId" : "214", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "name" : "not_null", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "214", + "s" : [ { + "value" : [ "", "define ", "not_null", ": " ] + }, { + "r" : "234", + "s" : [ { + "value" : [ "Avg", "(" ] + }, { + "r" : "215", + "s" : [ { + "r" : "216", + "value" : [ "{", "1", ",", "2", ",", "3", ",", "4", ",", "5", "}" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Avg", + "localId" : "234", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ], + "signature" : [ { + "type" : "ListTypeSpecifier", + "localId" : "242", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "243", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } + } ], + "source" : { + "type" : "Query", + "localId" : "235", + "annotation" : [ ], + "source" : [ { + "localId" : "236", + "alias" : "X", + "annotation" : [ ], + "expression" : { + "type" : "List", + "localId" : "215", + "annotation" : [ ], + "resultTypeSpecifier" : { "type" : "ListTypeSpecifier", + "localId" : "221", + "annotation" : [ ], "elementType" : { - "localId" : "342", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } - } ], - "source" : { - "localId" : "334", - "type" : "Query", - "source" : [ { - "localId" : "335", - "alias" : "X", - "expression" : { - "localId" : "318", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "320", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "321", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "element" : [ ] - } - } ], - "let" : [ ], - "relationship" : [ ], - "return" : { - "localId" : "336", - "distinct" : false, - "expression" : { - "localId" : "339", - "type" : "ToDecimal", - "signature" : [ { - "localId" : "340", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "337", - "name" : "X", - "type" : "AliasRef" - } - } - } - } - } - }, { - "localId" : "345", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "name" : "q_diff_units", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "345", - "s" : [ { - "value" : [ "","define ","q_diff_units",": " ] - }, { - "r" : "358", - "s" : [ { - "value" : [ "Avg","(" ] - }, { - "r" : "346", - "s" : [ { - "value" : [ "{" ] - }, { - "r" : "347", - "s" : [ { - "value" : [ "1 ","'ml'" ] - } ] - }, { - "value" : [ "," ] - }, { - "r" : "348", - "s" : [ { - "value" : [ "0.002 ","'l'" ] - } ] - }, { - "value" : [ "," ] - }, { - "r" : "349", - "s" : [ { - "value" : [ "0.03 ","'dl'" ] - } ] - }, { - "value" : [ "," ] - }, { - "r" : "350", - "s" : [ { - "value" : [ "4 ","'ml'" ] - } ] - }, { - "value" : [ "," ] - }, { - "r" : "351", - "s" : [ { - "value" : [ "5 ","'ml'" ] - } ] - }, { - "value" : [ "}" ] - } ] - }, { - "value" : [ ")" ] - } ] - } ] - } + "type" : "NamedTypeSpecifier", + "localId" : "222", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "element" : [ { + "type" : "Literal", + "localId" : "216", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "217", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "218", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "219", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "4", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "220", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "5", + "annotation" : [ ] + } ] + } } ], - "expression" : { - "localId" : "358", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "Avg", - "signature" : [ { - "localId" : "359", + "let" : [ ], + "relationship" : [ ], + "return" : { + "localId" : "237", + "distinct" : false, + "annotation" : [ ], + "expression" : { + "type" : "ToDecimal", + "localId" : "240", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "241", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "operand" : { + "type" : "AliasRef", + "localId" : "238", + "name" : "X", + "annotation" : [ ] + } + } + } + } + } + }, { + "localId" : "246", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "name" : "has_null", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "246", + "s" : [ { + "value" : [ "", "define ", "has_null", ": " ] + }, { + "r" : "267", + "s" : [ { + "value" : [ "Avg", "(" ] + }, { + "r" : "247", + "s" : [ { + "r" : "248", + "value" : [ "{", "1", ",", "null", ",", "null", ",", "2", "}" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Avg", + "localId" : "267", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ], + "signature" : [ { + "type" : "ListTypeSpecifier", + "localId" : "275", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "276", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } + } ], + "source" : { + "type" : "Query", + "localId" : "268", + "annotation" : [ ], + "source" : [ { + "localId" : "269", + "alias" : "X", + "annotation" : [ ], + "expression" : { + "type" : "List", + "localId" : "247", + "annotation" : [ ], + "resultTypeSpecifier" : { "type" : "ListTypeSpecifier", + "localId" : "254", + "annotation" : [ ], "elementType" : { - "localId" : "360", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" + "type" : "NamedTypeSpecifier", + "localId" : "255", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "element" : [ { + "type" : "Literal", + "localId" : "248", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, { + "type" : "As", + "localId" : "252", + "asType" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Null", + "localId" : "249", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] } - } ], - "source" : { - "localId" : "346", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "352", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "353", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } - }, - "element" : [ { - "localId" : "347", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "value" : 1, - "unit" : "ml", - "type" : "Quantity" - }, { - "localId" : "348", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "value" : 0.002, - "unit" : "l", - "type" : "Quantity" - }, { - "localId" : "349", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "value" : 0.03, - "unit" : "dl", - "type" : "Quantity" - }, { - "localId" : "350", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "value" : 4, - "unit" : "ml", - "type" : "Quantity" - }, { - "localId" : "351", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "value" : 5, - "unit" : "ml", - "type" : "Quantity" - } ] - } - } - }, { - "localId" : "363", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "name" : "NumbersAndQuantities", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "363", - "s" : [ { - "value" : [ "","define ","NumbersAndQuantities",": " ] - }, { - "r" : "380", - "s" : [ { - "value" : [ "Avg","(" ] - }, { - "r" : "364", - "s" : [ { - "r" : "365", - "value" : [ "{","1"," ," ] - }, { - "r" : "366", - "s" : [ { - "value" : [ "2 ","'ml'" ] - } ] - }, { - "value" : [ "," ] - }, { - "r" : "367", - "s" : [ { - "value" : [ "3 ","'ml'" ] - } ] - }, { - "value" : [ "," ] - }, { - "r" : "368", - "s" : [ { - "value" : [ "4 ","'ml'" ] - } ] - }, { - "value" : [ "," ] - }, { - "r" : "369", - "s" : [ { - "value" : [ "5 ","'ml'" ] - } ] - }, { - "value" : [ "," ] - }, { - "r" : "370", - "s" : [ { - "value" : [ "0 ","'ml'" ] - } ] - }, { - "value" : [ "}" ] - } ] - }, { - "value" : [ ")" ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "380", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "Avg", - "signature" : [ { - "localId" : "381", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "382", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" + }, { + "type" : "As", + "localId" : "253", + "asType" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Null", + "localId" : "250", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] } - } ], - "source" : { - "localId" : "364", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "374", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "375", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } - }, - "element" : [ { - "localId" : "372", - "type" : "ToQuantity", - "signature" : [ { - "localId" : "373", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "365", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - } - }, { - "localId" : "366", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "value" : 2, - "unit" : "ml", - "type" : "Quantity" - }, { - "localId" : "367", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "value" : 3, - "unit" : "ml", - "type" : "Quantity" - }, { - "localId" : "368", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "value" : 4, - "unit" : "ml", - "type" : "Quantity" - }, { - "localId" : "369", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "value" : 5, - "unit" : "ml", - "type" : "Quantity" - }, { - "localId" : "370", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "value" : 0, - "unit" : "ml", - "type" : "Quantity" - } ] - } - } - }, { - "localId" : "385", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "name" : "IncompatibleUnitsNull", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "385", - "s" : [ { - "value" : [ "","define ","IncompatibleUnitsNull",": " ] - }, { - "r" : "395", - "s" : [ { - "value" : [ "Avg","(" ] - }, { - "r" : "386", - "s" : [ { - "value" : [ "{" ] - }, { - "r" : "387", - "s" : [ { - "value" : [ "1 ","'mg/d'" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "388", - "s" : [ { - "value" : [ "0.002 ","'/d'" ] - } ] - }, { - "value" : [ "}" ] - } ] - }, { - "value" : [ ")" ] - } ] - } ] - } + }, { + "type" : "Literal", + "localId" : "251", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "annotation" : [ ] + } ] + } } ], - "expression" : { - "localId" : "395", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "Avg", - "signature" : [ { - "localId" : "396", + "let" : [ ], + "relationship" : [ ], + "return" : { + "localId" : "270", + "distinct" : false, + "annotation" : [ ], + "expression" : { + "type" : "ToDecimal", + "localId" : "273", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "274", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "operand" : { + "type" : "AliasRef", + "localId" : "271", + "name" : "X", + "annotation" : [ ] + } + } + } + } + } + }, { + "localId" : "279", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "name" : "not_null_q", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "279", + "s" : [ { + "value" : [ "", "define ", "not_null_q", ": " ] + }, { + "r" : "292", + "s" : [ { + "value" : [ "Avg", "(" ] + }, { + "r" : "280", + "s" : [ { + "value" : [ "{" ] + }, { + "r" : "281", + "s" : [ { + "value" : [ "1 ", "'ml'" ] + } ] + }, { + "value" : [ "," ] + }, { + "r" : "282", + "s" : [ { + "value" : [ "2 ", "'ml'" ] + } ] + }, { + "value" : [ "," ] + }, { + "r" : "283", + "s" : [ { + "value" : [ "3 ", "'ml'" ] + } ] + }, { + "value" : [ "," ] + }, { + "r" : "284", + "s" : [ { + "value" : [ "4 ", "'ml'" ] + } ] + }, { + "value" : [ "," ] + }, { + "r" : "285", + "s" : [ { + "value" : [ "5 ", "'ml'" ] + } ] + }, { + "value" : [ "}" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Avg", + "localId" : "292", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ], + "signature" : [ { + "type" : "ListTypeSpecifier", + "localId" : "293", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "294", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } + } ], + "source" : { + "type" : "List", + "localId" : "280", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "286", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "287", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } + }, + "element" : [ { + "type" : "Quantity", + "localId" : "281", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "value" : 1, + "unit" : "ml", + "annotation" : [ ] + }, { + "type" : "Quantity", + "localId" : "282", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "value" : 2, + "unit" : "ml", + "annotation" : [ ] + }, { + "type" : "Quantity", + "localId" : "283", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "value" : 3, + "unit" : "ml", + "annotation" : [ ] + }, { + "type" : "Quantity", + "localId" : "284", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "value" : 4, + "unit" : "ml", + "annotation" : [ ] + }, { + "type" : "Quantity", + "localId" : "285", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "value" : 5, + "unit" : "ml", + "annotation" : [ ] + } ] + } + } + }, { + "localId" : "297", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "name" : "has_null_q", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "297", + "s" : [ { + "value" : [ "", "define ", "has_null_q", ": " ] + }, { + "r" : "311", + "s" : [ { + "value" : [ "Avg", "(" ] + }, { + "r" : "298", + "s" : [ { + "value" : [ "{" ] + }, { + "r" : "299", + "s" : [ { + "value" : [ "1 ", "'ml'" ] + } ] + }, { + "r" : "300", + "value" : [ ",", "null", ",", "null", "," ] + }, { + "r" : "302", + "s" : [ { + "value" : [ "2 ", "'ml'" ] + } ] + }, { + "value" : [ "}" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Avg", + "localId" : "311", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ], + "signature" : [ { + "type" : "ListTypeSpecifier", + "localId" : "312", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "313", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } + } ], + "source" : { + "type" : "List", + "localId" : "298", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "305", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "306", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } + }, + "element" : [ { + "type" : "Quantity", + "localId" : "299", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "value" : 1, + "unit" : "ml", + "annotation" : [ ] + }, { + "type" : "As", + "localId" : "303", + "asType" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Null", + "localId" : "300", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } + }, { + "type" : "As", + "localId" : "304", + "asType" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Null", + "localId" : "301", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } + }, { + "type" : "Quantity", + "localId" : "302", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "value" : 2, + "unit" : "ml", + "annotation" : [ ] + } ] + } + } + }, { + "localId" : "316", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "name" : "empty", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "316", + "s" : [ { + "value" : [ "", "define ", "empty", ": " ] + }, { + "r" : "333", + "s" : [ { + "value" : [ "Avg", "(" ] + }, { + "r" : "318", + "s" : [ { + "value" : [ "List<" ] + }, { + "r" : "317", + "s" : [ { + "value" : [ "Integer" ] + } ] + }, { + "value" : [ ">{}" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Avg", + "localId" : "333", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ], + "signature" : [ { + "type" : "ListTypeSpecifier", + "localId" : "341", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "342", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } + } ], + "source" : { + "type" : "Query", + "localId" : "334", + "annotation" : [ ], + "source" : [ { + "localId" : "335", + "alias" : "X", + "annotation" : [ ], + "expression" : { + "type" : "List", + "localId" : "318", + "annotation" : [ ], + "resultTypeSpecifier" : { "type" : "ListTypeSpecifier", + "localId" : "320", + "annotation" : [ ], "elementType" : { - "localId" : "397", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } - } ], - "source" : { - "localId" : "386", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "389", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "390", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } - }, - "element" : [ { - "localId" : "387", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "value" : 1, - "unit" : "mg/d", - "type" : "Quantity" - }, { - "localId" : "388", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "value" : 0.002, - "unit" : "/d", - "type" : "Quantity" + "type" : "NamedTypeSpecifier", + "localId" : "321", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "element" : [ ] + } + } ], + "let" : [ ], + "relationship" : [ ], + "return" : { + "localId" : "336", + "distinct" : false, + "annotation" : [ ], + "expression" : { + "type" : "ToDecimal", + "localId" : "339", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "340", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "operand" : { + "type" : "AliasRef", + "localId" : "337", + "name" : "X", + "annotation" : [ ] + } + } + } + } + } + }, { + "localId" : "345", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "name" : "q_diff_units", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "345", + "s" : [ { + "value" : [ "", "define ", "q_diff_units", ": " ] + }, { + "r" : "358", + "s" : [ { + "value" : [ "Avg", "(" ] + }, { + "r" : "346", + "s" : [ { + "value" : [ "{" ] + }, { + "r" : "347", + "s" : [ { + "value" : [ "1 ", "'ml'" ] + } ] + }, { + "value" : [ "," ] + }, { + "r" : "348", + "s" : [ { + "value" : [ "0.002 ", "'l'" ] + } ] + }, { + "value" : [ "," ] + }, { + "r" : "349", + "s" : [ { + "value" : [ "0.03 ", "'dl'" ] + } ] + }, { + "value" : [ "," ] + }, { + "r" : "350", + "s" : [ { + "value" : [ "4 ", "'ml'" ] + } ] + }, { + "value" : [ "," ] + }, { + "r" : "351", + "s" : [ { + "value" : [ "5 ", "'ml'" ] } ] - } - } - } ] - } - } + }, { + "value" : [ "}" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Avg", + "localId" : "358", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ], + "signature" : [ { + "type" : "ListTypeSpecifier", + "localId" : "359", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "360", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } + } ], + "source" : { + "type" : "List", + "localId" : "346", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "352", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "353", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } + }, + "element" : [ { + "type" : "Quantity", + "localId" : "347", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "value" : 1, + "unit" : "ml", + "annotation" : [ ] + }, { + "type" : "Quantity", + "localId" : "348", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "value" : 0.002, + "unit" : "l", + "annotation" : [ ] + }, { + "type" : "Quantity", + "localId" : "349", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "value" : 0.03, + "unit" : "dl", + "annotation" : [ ] + }, { + "type" : "Quantity", + "localId" : "350", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "value" : 4, + "unit" : "ml", + "annotation" : [ ] + }, { + "type" : "Quantity", + "localId" : "351", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "value" : 5, + "unit" : "ml", + "annotation" : [ ] + } ] + } + } + }, { + "localId" : "363", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "name" : "NumbersAndQuantities", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "363", + "s" : [ { + "value" : [ "", "define ", "NumbersAndQuantities", ": " ] + }, { + "r" : "380", + "s" : [ { + "value" : [ "Avg", "(" ] + }, { + "r" : "364", + "s" : [ { + "r" : "365", + "value" : [ "{", "1", " ," ] + }, { + "r" : "366", + "s" : [ { + "value" : [ "2 ", "'ml'" ] + } ] + }, { + "value" : [ "," ] + }, { + "r" : "367", + "s" : [ { + "value" : [ "3 ", "'ml'" ] + } ] + }, { + "value" : [ "," ] + }, { + "r" : "368", + "s" : [ { + "value" : [ "4 ", "'ml'" ] + } ] + }, { + "value" : [ "," ] + }, { + "r" : "369", + "s" : [ { + "value" : [ "5 ", "'ml'" ] + } ] + }, { + "value" : [ "," ] + }, { + "r" : "370", + "s" : [ { + "value" : [ "0 ", "'ml'" ] + } ] + }, { + "value" : [ "}" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Avg", + "localId" : "380", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ], + "signature" : [ { + "type" : "ListTypeSpecifier", + "localId" : "381", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "382", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } + } ], + "source" : { + "type" : "List", + "localId" : "364", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "374", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "375", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } + }, + "element" : [ { + "type" : "ToQuantity", + "localId" : "372", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "373", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "operand" : { + "type" : "Literal", + "localId" : "365", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + } + }, { + "type" : "Quantity", + "localId" : "366", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "value" : 2, + "unit" : "ml", + "annotation" : [ ] + }, { + "type" : "Quantity", + "localId" : "367", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "value" : 3, + "unit" : "ml", + "annotation" : [ ] + }, { + "type" : "Quantity", + "localId" : "368", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "value" : 4, + "unit" : "ml", + "annotation" : [ ] + }, { + "type" : "Quantity", + "localId" : "369", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "value" : 5, + "unit" : "ml", + "annotation" : [ ] + }, { + "type" : "Quantity", + "localId" : "370", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "value" : 0, + "unit" : "ml", + "annotation" : [ ] + } ] + } + } + }, { + "localId" : "385", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "name" : "IncompatibleUnitsNull", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "385", + "s" : [ { + "value" : [ "", "define ", "IncompatibleUnitsNull", ": " ] + }, { + "r" : "395", + "s" : [ { + "value" : [ "Avg", "(" ] + }, { + "r" : "386", + "s" : [ { + "value" : [ "{" ] + }, { + "r" : "387", + "s" : [ { + "value" : [ "1 ", "'mg/d'" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "388", + "s" : [ { + "value" : [ "0.002 ", "'/d'" ] + } ] + }, { + "value" : [ "}" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Avg", + "localId" : "395", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ], + "signature" : [ { + "type" : "ListTypeSpecifier", + "localId" : "396", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "397", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } + } ], + "source" : { + "type" : "List", + "localId" : "386", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "389", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "390", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } + }, + "element" : [ { + "type" : "Quantity", + "localId" : "387", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "value" : 1, + "unit" : "mg/d", + "annotation" : [ ] + }, { + "type" : "Quantity", + "localId" : "388", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "value" : 0.002, + "unit" : "/d", + "annotation" : [ ] + } ] + } + } + } ] + } + } } /* Median @@ -6362,1837 +7124,2068 @@ define IncompatibleUnitsNull: Median({1 'mg/d', 0.002 '/d'}) */ module.exports['Median'] = { - "library" : { - "localId" : "0", - "annotation" : [ { - "translatorVersion" : "3.27.0", - "translatorOptions" : "EnableDateRangeOptimization,EnableAnnotations,EnableResultTypes", - "signatureLevel" : "All", - "type" : "CqlToElmInfo" - }, { - "type" : "Annotation", - "s" : { - "r" : "561", + "library" : { + "localId" : "0", + "annotation" : [ { + "type" : "CqlToElmInfo", + "translatorVersion" : "4.2.0", + "translatorOptions" : "EnableDateRangeOptimization,EnableAnnotations,EnableResultTypes", + "signatureLevel" : "All" + }, { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "561", + "s" : [ { + "value" : [ "", "library TestSnippet version '1'" ] + } ] + } + } ], + "identifier" : { + "id" : "TestSnippet", + "version" : "1" + }, + "schemaIdentifier" : { + "id" : "urn:hl7-org:elm", + "version" : "r1" + }, + "usings" : { + "def" : [ { + "localId" : "1", + "localIdentifier" : "System", + "uri" : "urn:hl7-org:elm-types:r1", + "annotation" : [ ] + }, { + "localId" : "206", + "localIdentifier" : "Simple", + "uri" : "https://github.com/cqframework/cql-execution/simple", + "version" : "1.0.0", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "206", "s" : [ { - "value" : [ "","library TestSnippet version '1'" ] - } ] - } - } ], - "identifier" : { - "id" : "TestSnippet", - "version" : "1" - }, - "schemaIdentifier" : { - "id" : "urn:hl7-org:elm", - "version" : "r1" - }, - "usings" : { - "def" : [ { - "localId" : "1", - "localIdentifier" : "System", - "uri" : "urn:hl7-org:elm-types:r1" - }, { - "localId" : "206", - "localIdentifier" : "Simple", - "uri" : "https://github.com/cqframework/cql-execution/simple", - "version" : "1.0.0", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "206", - "s" : [ { - "value" : [ "","using " ] - }, { - "s" : [ { - "value" : [ "Simple" ] - } ] - }, { - "value" : [ " version '1.0.0'" ] - } ] - } - } ] - } ] - }, - "contexts" : { - "def" : [ { - "localId" : "211", - "name" : "Patient" - } ] - }, - "statements" : { - "def" : [ { - "localId" : "209", - "name" : "Patient", - "context" : "Patient", - "expression" : { - "localId" : "210", - "type" : "SingletonFrom", - "signature" : [ ], - "operand" : { - "localId" : "208", - "dataType" : "{https://github.com/cqframework/cql-execution/simple}Patient", - "type" : "Retrieve", - "include" : [ ], - "codeFilter" : [ ], - "dateFilter" : [ ], - "otherFilter" : [ ] - } - } - }, { - "localId" : "214", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "name" : "odd", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "214", - "s" : [ { - "value" : [ "","define ","odd",": " ] - }, { - "r" : "234", - "s" : [ { - "value" : [ "Median","(" ] - }, { - "r" : "215", - "s" : [ { - "r" : "216", - "value" : [ "{","5",",","1",",","2",",","3",",","4","}" ] - } ] - }, { - "value" : [ ")" ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "234", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "Median", - "signature" : [ { - "localId" : "242", + "value" : [ "", "using " ] + }, { + "s" : [ { + "value" : [ "Simple" ] + } ] + }, { + "value" : [ " version '1.0.0'" ] + } ] + } + } ] + } ] + }, + "contexts" : { + "def" : [ { + "localId" : "211", + "name" : "Patient", + "annotation" : [ ] + } ] + }, + "statements" : { + "def" : [ { + "localId" : "209", + "name" : "Patient", + "context" : "Patient", + "annotation" : [ ], + "expression" : { + "type" : "SingletonFrom", + "localId" : "210", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Retrieve", + "localId" : "208", + "dataType" : "{https://github.com/cqframework/cql-execution/simple}Patient", + "annotation" : [ ], + "include" : [ ], + "codeFilter" : [ ], + "dateFilter" : [ ], + "otherFilter" : [ ] + } + } + }, { + "localId" : "214", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "name" : "odd", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "214", + "s" : [ { + "value" : [ "", "define ", "odd", ": " ] + }, { + "r" : "234", + "s" : [ { + "value" : [ "Median", "(" ] + }, { + "r" : "215", + "s" : [ { + "r" : "216", + "value" : [ "{", "5", ",", "1", ",", "2", ",", "3", ",", "4", "}" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Median", + "localId" : "234", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ], + "signature" : [ { + "type" : "ListTypeSpecifier", + "localId" : "242", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "243", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } + } ], + "source" : { + "type" : "Query", + "localId" : "235", + "annotation" : [ ], + "source" : [ { + "localId" : "236", + "alias" : "X", + "annotation" : [ ], + "expression" : { + "type" : "List", + "localId" : "215", + "annotation" : [ ], + "resultTypeSpecifier" : { "type" : "ListTypeSpecifier", + "localId" : "221", + "annotation" : [ ], "elementType" : { - "localId" : "243", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } - } ], - "source" : { - "localId" : "235", - "type" : "Query", - "source" : [ { - "localId" : "236", - "alias" : "X", - "expression" : { - "localId" : "215", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "221", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "222", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "element" : [ { - "localId" : "216", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal" - }, { - "localId" : "217", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, { - "localId" : "218", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal" - }, { - "localId" : "219", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, { - "localId" : "220", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "4", - "type" : "Literal" - } ] - } - } ], - "let" : [ ], - "relationship" : [ ], - "return" : { - "localId" : "237", - "distinct" : false, - "expression" : { - "localId" : "240", - "type" : "ToDecimal", - "signature" : [ { - "localId" : "241", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "238", - "name" : "X", - "type" : "AliasRef" - } - } - } - } - } - }, { - "localId" : "246", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "name" : "even", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "246", - "s" : [ { - "value" : [ "","define ","even",": " ] - }, { - "r" : "267", - "s" : [ { - "value" : [ "Median","(" ] - }, { - "r" : "247", - "s" : [ { - "r" : "248", - "value" : [ "{","5",",","1",",","2",",","3",",","4",",","6","}" ] - } ] - }, { - "value" : [ ")" ] - } ] - } ] - } + "type" : "NamedTypeSpecifier", + "localId" : "222", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "element" : [ { + "type" : "Literal", + "localId" : "216", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "5", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "217", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "218", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "219", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "220", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "4", + "annotation" : [ ] + } ] + } } ], - "expression" : { - "localId" : "267", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "Median", - "signature" : [ { - "localId" : "275", + "let" : [ ], + "relationship" : [ ], + "return" : { + "localId" : "237", + "distinct" : false, + "annotation" : [ ], + "expression" : { + "type" : "ToDecimal", + "localId" : "240", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "241", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "operand" : { + "type" : "AliasRef", + "localId" : "238", + "name" : "X", + "annotation" : [ ] + } + } + } + } + } + }, { + "localId" : "246", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "name" : "even", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "246", + "s" : [ { + "value" : [ "", "define ", "even", ": " ] + }, { + "r" : "267", + "s" : [ { + "value" : [ "Median", "(" ] + }, { + "r" : "247", + "s" : [ { + "r" : "248", + "value" : [ "{", "5", ",", "1", ",", "2", ",", "3", ",", "4", ",", "6", "}" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Median", + "localId" : "267", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ], + "signature" : [ { + "type" : "ListTypeSpecifier", + "localId" : "275", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "276", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } + } ], + "source" : { + "type" : "Query", + "localId" : "268", + "annotation" : [ ], + "source" : [ { + "localId" : "269", + "alias" : "X", + "annotation" : [ ], + "expression" : { + "type" : "List", + "localId" : "247", + "annotation" : [ ], + "resultTypeSpecifier" : { "type" : "ListTypeSpecifier", + "localId" : "254", + "annotation" : [ ], "elementType" : { - "localId" : "276", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } - } ], - "source" : { - "localId" : "268", - "type" : "Query", - "source" : [ { - "localId" : "269", - "alias" : "X", - "expression" : { - "localId" : "247", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "254", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "255", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "element" : [ { - "localId" : "248", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal" - }, { - "localId" : "249", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, { - "localId" : "250", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal" - }, { - "localId" : "251", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, { - "localId" : "252", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "4", - "type" : "Literal" - }, { - "localId" : "253", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "6", - "type" : "Literal" - } ] - } - } ], - "let" : [ ], - "relationship" : [ ], - "return" : { - "localId" : "270", - "distinct" : false, - "expression" : { - "localId" : "273", - "type" : "ToDecimal", - "signature" : [ { - "localId" : "274", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "271", - "name" : "X", - "type" : "AliasRef" - } - } - } - } - } - }, { - "localId" : "279", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "name" : "odd_q", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "279", - "s" : [ { - "value" : [ "","define ","odd_q",": " ] - }, { - "r" : "292", - "s" : [ { - "value" : [ "Median","(" ] - }, { - "r" : "280", - "s" : [ { - "value" : [ "{" ] - }, { - "r" : "281", - "s" : [ { - "value" : [ "5 ","'ml'" ] - } ] - }, { - "value" : [ "," ] - }, { - "r" : "282", - "s" : [ { - "value" : [ "1 ","'ml'" ] - } ] - }, { - "value" : [ "," ] - }, { - "r" : "283", - "s" : [ { - "value" : [ "2 ","'ml'" ] - } ] - }, { - "value" : [ "," ] - }, { - "r" : "284", - "s" : [ { - "value" : [ "3 ","'ml'" ] - } ] - }, { - "value" : [ "," ] - }, { - "r" : "285", - "s" : [ { - "value" : [ "4 ","'ml'" ] - } ] - }, { - "value" : [ "}" ] - } ] - }, { - "value" : [ ")" ] - } ] - } ] - } + "type" : "NamedTypeSpecifier", + "localId" : "255", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "element" : [ { + "type" : "Literal", + "localId" : "248", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "5", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "249", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "250", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "251", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "252", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "4", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "253", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "6", + "annotation" : [ ] + } ] + } } ], - "expression" : { - "localId" : "292", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "Median", - "signature" : [ { - "localId" : "293", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "294", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } - } ], - "source" : { - "localId" : "280", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "286", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "287", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } - }, - "element" : [ { - "localId" : "281", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "value" : 5, - "unit" : "ml", - "type" : "Quantity" - }, { - "localId" : "282", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "value" : 1, - "unit" : "ml", - "type" : "Quantity" - }, { - "localId" : "283", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "value" : 2, - "unit" : "ml", - "type" : "Quantity" - }, { - "localId" : "284", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "value" : 3, - "unit" : "ml", - "type" : "Quantity" - }, { - "localId" : "285", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "value" : 4, - "unit" : "ml", - "type" : "Quantity" - } ] - } + "let" : [ ], + "relationship" : [ ], + "return" : { + "localId" : "270", + "distinct" : false, + "annotation" : [ ], + "expression" : { + "type" : "ToDecimal", + "localId" : "273", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "274", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "operand" : { + "type" : "AliasRef", + "localId" : "271", + "name" : "X", + "annotation" : [ ] + } + } } - }, { - "localId" : "297", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "name" : "even_q", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "297", + } + } + }, { + "localId" : "279", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "name" : "odd_q", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "279", + "s" : [ { + "value" : [ "", "define ", "odd_q", ": " ] + }, { + "r" : "292", + "s" : [ { + "value" : [ "Median", "(" ] + }, { + "r" : "280", + "s" : [ { + "value" : [ "{" ] + }, { + "r" : "281", "s" : [ { - "value" : [ "","define ","even_q",": " ] - }, { - "r" : "311", - "s" : [ { - "value" : [ "Median","(" ] - }, { - "r" : "298", - "s" : [ { - "value" : [ "{" ] - }, { - "r" : "299", - "s" : [ { - "value" : [ "5 ","'ml'" ] - } ] - }, { - "value" : [ "," ] - }, { - "r" : "300", - "s" : [ { - "value" : [ "1 ","'ml'" ] - } ] - }, { - "value" : [ "," ] - }, { - "r" : "301", - "s" : [ { - "value" : [ "2 ","'ml'" ] - } ] - }, { - "value" : [ "," ] - }, { - "r" : "302", - "s" : [ { - "value" : [ "3 ","'ml'" ] - } ] - }, { - "value" : [ "," ] - }, { - "r" : "303", - "s" : [ { - "value" : [ "4 ","'ml'" ] - } ] - }, { - "value" : [ "," ] - }, { - "r" : "304", - "s" : [ { - "value" : [ "6 ","'ml'" ] - } ] - }, { - "value" : [ "}" ] - } ] - }, { - "value" : [ ")" ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "311", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "Median", - "signature" : [ { - "localId" : "312", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "313", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } - } ], - "source" : { - "localId" : "298", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "305", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "306", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } - }, - "element" : [ { - "localId" : "299", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "value" : 5, - "unit" : "ml", - "type" : "Quantity" - }, { - "localId" : "300", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "value" : 1, - "unit" : "ml", - "type" : "Quantity" - }, { - "localId" : "301", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "value" : 2, - "unit" : "ml", - "type" : "Quantity" - }, { - "localId" : "302", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "value" : 3, - "unit" : "ml", - "type" : "Quantity" - }, { - "localId" : "303", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "value" : 4, - "unit" : "ml", - "type" : "Quantity" - }, { - "localId" : "304", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "value" : 6, - "unit" : "ml", - "type" : "Quantity" - } ] - } - } - }, { - "localId" : "316", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "name" : "q_diff_units", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "316", + "value" : [ "5 ", "'ml'" ] + } ] + }, { + "value" : [ "," ] + }, { + "r" : "282", "s" : [ { - "value" : [ "","define ","q_diff_units",": " ] - }, { - "r" : "330", - "s" : [ { - "value" : [ "Median","(" ] - }, { - "r" : "317", - "s" : [ { - "value" : [ "{" ] - }, { - "r" : "318", - "s" : [ { - "value" : [ "5 ","'ml'" ] - } ] - }, { - "value" : [ "," ] - }, { - "r" : "319", - "s" : [ { - "value" : [ "0.001 ","'l'" ] - } ] - }, { - "value" : [ "," ] - }, { - "r" : "320", - "s" : [ { - "value" : [ "0.02 ","'dl'" ] - } ] - }, { - "value" : [ "," ] - }, { - "r" : "321", - "s" : [ { - "value" : [ "3 ","'ml'" ] - } ] - }, { - "value" : [ "," ] - }, { - "r" : "322", - "s" : [ { - "value" : [ "4 ","'ml'" ] - } ] - }, { - "value" : [ "," ] - }, { - "r" : "323", - "s" : [ { - "value" : [ "6 ","'ml'" ] - } ] - }, { - "value" : [ "}" ] - } ] - }, { - "value" : [ ")" ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "330", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "Median", - "signature" : [ { - "localId" : "331", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "332", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } - } ], - "source" : { - "localId" : "317", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "324", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "325", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } - }, - "element" : [ { - "localId" : "318", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "value" : 5, - "unit" : "ml", - "type" : "Quantity" - }, { - "localId" : "319", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "value" : 0.001, - "unit" : "l", - "type" : "Quantity" - }, { - "localId" : "320", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "value" : 0.02, - "unit" : "dl", - "type" : "Quantity" - }, { - "localId" : "321", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "value" : 3, - "unit" : "ml", - "type" : "Quantity" - }, { - "localId" : "322", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "value" : 4, - "unit" : "ml", - "type" : "Quantity" - }, { - "localId" : "323", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "value" : 6, - "unit" : "ml", - "type" : "Quantity" - } ] - } - } - }, { - "localId" : "335", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "name" : "NumbersAndQuantities", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "335", + "value" : [ "1 ", "'ml'" ] + } ] + }, { + "value" : [ "," ] + }, { + "r" : "283", "s" : [ { - "value" : [ "","define ","NumbersAndQuantities",": " ] - }, { - "r" : "361", - "s" : [ { - "value" : [ "Median","(" ] - }, { - "r" : "336", - "s" : [ { - "r" : "337", - "value" : [ "{","5"," ,","1"," ,","2"," ,","3"," ," ] - }, { - "r" : "341", - "s" : [ { - "value" : [ "4 ","'ml'" ] - } ] - }, { - "value" : [ "," ] - }, { - "r" : "342", - "s" : [ { - "value" : [ "6 ","'ml'" ] - } ] - }, { - "value" : [ "}" ] - } ] - }, { - "value" : [ ")" ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "361", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "Median", - "signature" : [ { - "localId" : "362", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "363", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } - } ], - "source" : { - "localId" : "336", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "355", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "356", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } - }, - "element" : [ { - "localId" : "344", - "type" : "ToQuantity", - "signature" : [ { - "localId" : "345", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "337", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal" - } - }, { - "localId" : "347", - "type" : "ToQuantity", - "signature" : [ { - "localId" : "348", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "338", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - } - }, { - "localId" : "350", - "type" : "ToQuantity", - "signature" : [ { - "localId" : "351", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "339", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal" - } - }, { - "localId" : "353", - "type" : "ToQuantity", - "signature" : [ { - "localId" : "354", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "340", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - } - }, { - "localId" : "341", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "value" : 4, - "unit" : "ml", - "type" : "Quantity" - }, { - "localId" : "342", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "value" : 6, - "unit" : "ml", - "type" : "Quantity" - } ] - } - } - }, { - "localId" : "366", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "name" : "empty", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "366", + "value" : [ "2 ", "'ml'" ] + } ] + }, { + "value" : [ "," ] + }, { + "r" : "284", "s" : [ { - "value" : [ "","define ","empty",": " ] - }, { - "r" : "383", - "s" : [ { - "value" : [ "Median","(" ] - }, { - "r" : "368", - "s" : [ { - "value" : [ "List<" ] - }, { - "r" : "367", - "s" : [ { - "value" : [ "Integer" ] - } ] - }, { - "value" : [ ">{}" ] - } ] - }, { - "value" : [ ")" ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "383", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "Median", - "signature" : [ { - "localId" : "391", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "392", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } - } ], - "source" : { - "localId" : "384", - "type" : "Query", - "source" : [ { - "localId" : "385", - "alias" : "X", - "expression" : { - "localId" : "368", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "370", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "371", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "element" : [ ] - } - } ], - "let" : [ ], - "relationship" : [ ], - "return" : { - "localId" : "386", - "distinct" : false, - "expression" : { - "localId" : "389", - "type" : "ToDecimal", - "signature" : [ { - "localId" : "390", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "387", - "name" : "X", - "type" : "AliasRef" - } - } - } - } - } - }, { - "localId" : "395", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "name" : "has_null", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "395", - "s" : [ { - "value" : [ "","define ","has_null",": " ] - }, { - "r" : "416", - "s" : [ { - "value" : [ "Median","(" ] - }, { - "r" : "396", - "s" : [ { - "r" : "397", - "value" : [ "{","1",",","null",",","null",",","2","}" ] - } ] - }, { - "value" : [ ")" ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "416", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "Median", - "signature" : [ { - "localId" : "424", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "425", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } - } ], - "source" : { - "localId" : "417", - "type" : "Query", - "source" : [ { - "localId" : "418", - "alias" : "X", - "expression" : { - "localId" : "396", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "403", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "404", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "element" : [ { - "localId" : "397", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, { - "localId" : "401", - "asType" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "As", - "signature" : [ ], - "operand" : { - "localId" : "398", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - } - }, { - "localId" : "402", - "asType" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "As", - "signature" : [ ], - "operand" : { - "localId" : "399", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - } - }, { - "localId" : "400", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal" - } ] - } - } ], - "let" : [ ], - "relationship" : [ ], - "return" : { - "localId" : "419", - "distinct" : false, - "expression" : { - "localId" : "422", - "type" : "ToDecimal", - "signature" : [ { - "localId" : "423", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "420", - "name" : "X", - "type" : "AliasRef" - } - } - } - } - } - }, { - "localId" : "428", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "name" : "dup_vals_even", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "428", - "s" : [ { - "value" : [ "","define ","dup_vals_even",": " ] - }, { - "r" : "451", - "s" : [ { - "value" : [ "Median","(" ] - }, { - "r" : "429", - "s" : [ { - "r" : "430", - "value" : [ "{","3",",","1",",","2",",","2",",","2",",","3",",","4",",","5","}" ] - } ] - }, { - "value" : [ ")" ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "451", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "Median", - "signature" : [ { - "localId" : "459", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "460", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } - } ], - "source" : { - "localId" : "452", - "type" : "Query", - "source" : [ { - "localId" : "453", - "alias" : "X", - "expression" : { - "localId" : "429", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "438", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "439", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "element" : [ { - "localId" : "430", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, { - "localId" : "431", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, { - "localId" : "432", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal" - }, { - "localId" : "433", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal" - }, { - "localId" : "434", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal" - }, { - "localId" : "435", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, { - "localId" : "436", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "4", - "type" : "Literal" - }, { - "localId" : "437", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal" - } ] - } - } ], - "let" : [ ], - "relationship" : [ ], - "return" : { - "localId" : "454", - "distinct" : false, - "expression" : { - "localId" : "457", - "type" : "ToDecimal", - "signature" : [ { - "localId" : "458", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "455", - "name" : "X", - "type" : "AliasRef" - } - } - } - } - } - }, { - "localId" : "463", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "name" : "dup_vals_odd", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "463", + "value" : [ "3 ", "'ml'" ] + } ] + }, { + "value" : [ "," ] + }, { + "r" : "285", "s" : [ { - "value" : [ "","define ","dup_vals_odd",": " ] - }, { - "r" : "487", - "s" : [ { - "value" : [ "Median","(" ] - }, { - "r" : "464", - "s" : [ { - "r" : "465", - "value" : [ "{","3",",","1",",","2",",","2",",","2",",","3",",","4",",","5",",","6","}" ] - } ] - }, { - "value" : [ ")" ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "487", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "Median", - "signature" : [ { - "localId" : "495", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "496", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } - } ], - "source" : { - "localId" : "488", - "type" : "Query", - "source" : [ { - "localId" : "489", - "alias" : "X", - "expression" : { - "localId" : "464", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "474", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "475", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "element" : [ { - "localId" : "465", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, { - "localId" : "466", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, { - "localId" : "467", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal" - }, { - "localId" : "468", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal" - }, { - "localId" : "469", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal" - }, { - "localId" : "470", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, { - "localId" : "471", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "4", - "type" : "Literal" - }, { - "localId" : "472", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal" - }, { - "localId" : "473", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "6", - "type" : "Literal" - } ] - } - } ], - "let" : [ ], - "relationship" : [ ], - "return" : { - "localId" : "490", - "distinct" : false, - "expression" : { - "localId" : "493", - "type" : "ToDecimal", - "signature" : [ { - "localId" : "494", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "491", - "name" : "X", - "type" : "AliasRef" - } - } - } - } - } - }, { - "localId" : "499", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "name" : "has_null_q", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "499", - "s" : [ { - "value" : [ "","define ","has_null_q",": " ] - }, { - "r" : "513", - "s" : [ { - "value" : [ "Median","(" ] - }, { - "r" : "500", - "s" : [ { - "value" : [ "{" ] - }, { - "r" : "501", - "s" : [ { - "value" : [ "1 ","'ml'" ] - } ] - }, { - "r" : "502", - "value" : [ ",","null",",","null","," ] - }, { - "r" : "504", - "s" : [ { - "value" : [ "2 ","'ml'" ] - } ] - }, { - "value" : [ "}" ] - } ] - }, { - "value" : [ ")" ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "513", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "Median", - "signature" : [ { - "localId" : "514", + "value" : [ "4 ", "'ml'" ] + } ] + }, { + "value" : [ "}" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Median", + "localId" : "292", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ], + "signature" : [ { + "type" : "ListTypeSpecifier", + "localId" : "293", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "294", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } + } ], + "source" : { + "type" : "List", + "localId" : "280", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "286", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "287", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } + }, + "element" : [ { + "type" : "Quantity", + "localId" : "281", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "value" : 5, + "unit" : "ml", + "annotation" : [ ] + }, { + "type" : "Quantity", + "localId" : "282", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "value" : 1, + "unit" : "ml", + "annotation" : [ ] + }, { + "type" : "Quantity", + "localId" : "283", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "value" : 2, + "unit" : "ml", + "annotation" : [ ] + }, { + "type" : "Quantity", + "localId" : "284", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "value" : 3, + "unit" : "ml", + "annotation" : [ ] + }, { + "type" : "Quantity", + "localId" : "285", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "value" : 4, + "unit" : "ml", + "annotation" : [ ] + } ] + } + } + }, { + "localId" : "297", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "name" : "even_q", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "297", + "s" : [ { + "value" : [ "", "define ", "even_q", ": " ] + }, { + "r" : "311", + "s" : [ { + "value" : [ "Median", "(" ] + }, { + "r" : "298", + "s" : [ { + "value" : [ "{" ] + }, { + "r" : "299", + "s" : [ { + "value" : [ "5 ", "'ml'" ] + } ] + }, { + "value" : [ "," ] + }, { + "r" : "300", + "s" : [ { + "value" : [ "1 ", "'ml'" ] + } ] + }, { + "value" : [ "," ] + }, { + "r" : "301", + "s" : [ { + "value" : [ "2 ", "'ml'" ] + } ] + }, { + "value" : [ "," ] + }, { + "r" : "302", + "s" : [ { + "value" : [ "3 ", "'ml'" ] + } ] + }, { + "value" : [ "," ] + }, { + "r" : "303", + "s" : [ { + "value" : [ "4 ", "'ml'" ] + } ] + }, { + "value" : [ "," ] + }, { + "r" : "304", + "s" : [ { + "value" : [ "6 ", "'ml'" ] + } ] + }, { + "value" : [ "}" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Median", + "localId" : "311", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ], + "signature" : [ { + "type" : "ListTypeSpecifier", + "localId" : "312", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "313", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } + } ], + "source" : { + "type" : "List", + "localId" : "298", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "305", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "306", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } + }, + "element" : [ { + "type" : "Quantity", + "localId" : "299", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "value" : 5, + "unit" : "ml", + "annotation" : [ ] + }, { + "type" : "Quantity", + "localId" : "300", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "value" : 1, + "unit" : "ml", + "annotation" : [ ] + }, { + "type" : "Quantity", + "localId" : "301", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "value" : 2, + "unit" : "ml", + "annotation" : [ ] + }, { + "type" : "Quantity", + "localId" : "302", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "value" : 3, + "unit" : "ml", + "annotation" : [ ] + }, { + "type" : "Quantity", + "localId" : "303", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "value" : 4, + "unit" : "ml", + "annotation" : [ ] + }, { + "type" : "Quantity", + "localId" : "304", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "value" : 6, + "unit" : "ml", + "annotation" : [ ] + } ] + } + } + }, { + "localId" : "316", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "name" : "q_diff_units", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "316", + "s" : [ { + "value" : [ "", "define ", "q_diff_units", ": " ] + }, { + "r" : "330", + "s" : [ { + "value" : [ "Median", "(" ] + }, { + "r" : "317", + "s" : [ { + "value" : [ "{" ] + }, { + "r" : "318", + "s" : [ { + "value" : [ "5 ", "'ml'" ] + } ] + }, { + "value" : [ "," ] + }, { + "r" : "319", + "s" : [ { + "value" : [ "0.001 ", "'l'" ] + } ] + }, { + "value" : [ "," ] + }, { + "r" : "320", + "s" : [ { + "value" : [ "0.02 ", "'dl'" ] + } ] + }, { + "value" : [ "," ] + }, { + "r" : "321", + "s" : [ { + "value" : [ "3 ", "'ml'" ] + } ] + }, { + "value" : [ "," ] + }, { + "r" : "322", + "s" : [ { + "value" : [ "4 ", "'ml'" ] + } ] + }, { + "value" : [ "," ] + }, { + "r" : "323", + "s" : [ { + "value" : [ "6 ", "'ml'" ] + } ] + }, { + "value" : [ "}" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Median", + "localId" : "330", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ], + "signature" : [ { + "type" : "ListTypeSpecifier", + "localId" : "331", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "332", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } + } ], + "source" : { + "type" : "List", + "localId" : "317", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "324", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "325", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } + }, + "element" : [ { + "type" : "Quantity", + "localId" : "318", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "value" : 5, + "unit" : "ml", + "annotation" : [ ] + }, { + "type" : "Quantity", + "localId" : "319", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "value" : 0.001, + "unit" : "l", + "annotation" : [ ] + }, { + "type" : "Quantity", + "localId" : "320", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "value" : 0.02, + "unit" : "dl", + "annotation" : [ ] + }, { + "type" : "Quantity", + "localId" : "321", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "value" : 3, + "unit" : "ml", + "annotation" : [ ] + }, { + "type" : "Quantity", + "localId" : "322", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "value" : 4, + "unit" : "ml", + "annotation" : [ ] + }, { + "type" : "Quantity", + "localId" : "323", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "value" : 6, + "unit" : "ml", + "annotation" : [ ] + } ] + } + } + }, { + "localId" : "335", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "name" : "NumbersAndQuantities", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "335", + "s" : [ { + "value" : [ "", "define ", "NumbersAndQuantities", ": " ] + }, { + "r" : "361", + "s" : [ { + "value" : [ "Median", "(" ] + }, { + "r" : "336", + "s" : [ { + "r" : "337", + "value" : [ "{", "5", " ,", "1", " ,", "2", " ,", "3", " ," ] + }, { + "r" : "341", + "s" : [ { + "value" : [ "4 ", "'ml'" ] + } ] + }, { + "value" : [ "," ] + }, { + "r" : "342", + "s" : [ { + "value" : [ "6 ", "'ml'" ] + } ] + }, { + "value" : [ "}" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Median", + "localId" : "361", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ], + "signature" : [ { + "type" : "ListTypeSpecifier", + "localId" : "362", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "363", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } + } ], + "source" : { + "type" : "List", + "localId" : "336", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "355", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "356", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } + }, + "element" : [ { + "type" : "ToQuantity", + "localId" : "344", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "345", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "operand" : { + "type" : "Literal", + "localId" : "337", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "5", + "annotation" : [ ] + } + }, { + "type" : "ToQuantity", + "localId" : "347", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "348", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "operand" : { + "type" : "Literal", + "localId" : "338", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + } + }, { + "type" : "ToQuantity", + "localId" : "350", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "351", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "operand" : { + "type" : "Literal", + "localId" : "339", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "annotation" : [ ] + } + }, { + "type" : "ToQuantity", + "localId" : "353", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "354", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "operand" : { + "type" : "Literal", + "localId" : "340", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + } + }, { + "type" : "Quantity", + "localId" : "341", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "value" : 4, + "unit" : "ml", + "annotation" : [ ] + }, { + "type" : "Quantity", + "localId" : "342", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "value" : 6, + "unit" : "ml", + "annotation" : [ ] + } ] + } + } + }, { + "localId" : "366", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "name" : "empty", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "366", + "s" : [ { + "value" : [ "", "define ", "empty", ": " ] + }, { + "r" : "383", + "s" : [ { + "value" : [ "Median", "(" ] + }, { + "r" : "368", + "s" : [ { + "value" : [ "List<" ] + }, { + "r" : "367", + "s" : [ { + "value" : [ "Integer" ] + } ] + }, { + "value" : [ ">{}" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Median", + "localId" : "383", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ], + "signature" : [ { + "type" : "ListTypeSpecifier", + "localId" : "391", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "392", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } + } ], + "source" : { + "type" : "Query", + "localId" : "384", + "annotation" : [ ], + "source" : [ { + "localId" : "385", + "alias" : "X", + "annotation" : [ ], + "expression" : { + "type" : "List", + "localId" : "368", + "annotation" : [ ], + "resultTypeSpecifier" : { "type" : "ListTypeSpecifier", + "localId" : "370", + "annotation" : [ ], "elementType" : { - "localId" : "515", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } - } ], - "source" : { - "localId" : "500", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "507", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "508", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } - }, - "element" : [ { - "localId" : "501", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "value" : 1, - "unit" : "ml", - "type" : "Quantity" - }, { - "localId" : "505", - "asType" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "As", - "signature" : [ ], - "operand" : { - "localId" : "502", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - } - }, { - "localId" : "506", - "asType" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "As", - "signature" : [ ], - "operand" : { - "localId" : "503", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - } - }, { - "localId" : "504", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "value" : 2, - "unit" : "ml", - "type" : "Quantity" - } ] - } - } - }, { - "localId" : "518", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "name" : "dup_vals_even_q", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "518", - "s" : [ { - "value" : [ "","define ","dup_vals_even_q",": " ] - }, { - "r" : "534", - "s" : [ { - "value" : [ "Median","(" ] - }, { - "r" : "519", - "s" : [ { - "value" : [ "{" ] - }, { - "r" : "520", - "s" : [ { - "value" : [ "3 ","'ml'" ] - } ] - }, { - "value" : [ "," ] - }, { - "r" : "521", - "s" : [ { - "value" : [ "1 ","'ml'" ] - } ] - }, { - "value" : [ "," ] - }, { - "r" : "522", - "s" : [ { - "value" : [ "2 ","'ml'" ] - } ] - }, { - "value" : [ "," ] - }, { - "r" : "523", - "s" : [ { - "value" : [ "2 ","'ml'" ] - } ] - }, { - "value" : [ "," ] - }, { - "r" : "524", - "s" : [ { - "value" : [ "2 ","'ml'" ] - } ] - }, { - "value" : [ "," ] - }, { - "r" : "525", - "s" : [ { - "value" : [ "3 ","'ml'" ] - } ] - }, { - "value" : [ "," ] - }, { - "r" : "526", - "s" : [ { - "value" : [ "4 ","'ml'" ] - } ] - }, { - "value" : [ "," ] - }, { - "r" : "527", - "s" : [ { - "value" : [ "5 ","'ml'" ] - } ] - }, { - "value" : [ "}" ] - } ] - }, { - "value" : [ ")" ] - } ] - } ] - } + "type" : "NamedTypeSpecifier", + "localId" : "371", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "element" : [ ] + } } ], - "expression" : { - "localId" : "534", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "Median", - "signature" : [ { - "localId" : "535", + "let" : [ ], + "relationship" : [ ], + "return" : { + "localId" : "386", + "distinct" : false, + "annotation" : [ ], + "expression" : { + "type" : "ToDecimal", + "localId" : "389", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "390", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "operand" : { + "type" : "AliasRef", + "localId" : "387", + "name" : "X", + "annotation" : [ ] + } + } + } + } + } + }, { + "localId" : "395", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "name" : "has_null", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "395", + "s" : [ { + "value" : [ "", "define ", "has_null", ": " ] + }, { + "r" : "416", + "s" : [ { + "value" : [ "Median", "(" ] + }, { + "r" : "396", + "s" : [ { + "r" : "397", + "value" : [ "{", "1", ",", "null", ",", "null", ",", "2", "}" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Median", + "localId" : "416", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ], + "signature" : [ { + "type" : "ListTypeSpecifier", + "localId" : "424", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "425", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } + } ], + "source" : { + "type" : "Query", + "localId" : "417", + "annotation" : [ ], + "source" : [ { + "localId" : "418", + "alias" : "X", + "annotation" : [ ], + "expression" : { + "type" : "List", + "localId" : "396", + "annotation" : [ ], + "resultTypeSpecifier" : { "type" : "ListTypeSpecifier", + "localId" : "403", + "annotation" : [ ], "elementType" : { - "localId" : "536", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" + "type" : "NamedTypeSpecifier", + "localId" : "404", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "element" : [ { + "type" : "Literal", + "localId" : "397", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, { + "type" : "As", + "localId" : "401", + "asType" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Null", + "localId" : "398", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] } - } ], - "source" : { - "localId" : "519", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "528", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "529", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } - }, - "element" : [ { - "localId" : "520", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "value" : 3, - "unit" : "ml", - "type" : "Quantity" - }, { - "localId" : "521", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "value" : 1, - "unit" : "ml", - "type" : "Quantity" - }, { - "localId" : "522", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "value" : 2, - "unit" : "ml", - "type" : "Quantity" - }, { - "localId" : "523", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "value" : 2, - "unit" : "ml", - "type" : "Quantity" - }, { - "localId" : "524", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "value" : 2, - "unit" : "ml", - "type" : "Quantity" - }, { - "localId" : "525", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "value" : 3, - "unit" : "ml", - "type" : "Quantity" - }, { - "localId" : "526", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "value" : 4, - "unit" : "ml", - "type" : "Quantity" - }, { - "localId" : "527", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "value" : 5, - "unit" : "ml", - "type" : "Quantity" - } ] - } - } - }, { - "localId" : "539", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "name" : "dup_vals_odd_q", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "539", - "s" : [ { - "value" : [ "","define ","dup_vals_odd_q",": " ] - }, { - "r" : "556", - "s" : [ { - "value" : [ "Median","(" ] - }, { - "r" : "540", - "s" : [ { - "value" : [ "{" ] - }, { - "r" : "541", - "s" : [ { - "value" : [ "3 ","'ml'" ] - } ] - }, { - "value" : [ "," ] - }, { - "r" : "542", - "s" : [ { - "value" : [ "1 ","'ml'" ] - } ] - }, { - "value" : [ "," ] - }, { - "r" : "543", - "s" : [ { - "value" : [ "2 ","'ml'" ] - } ] - }, { - "value" : [ "," ] - }, { - "r" : "544", - "s" : [ { - "value" : [ "2 ","'ml'" ] - } ] - }, { - "value" : [ "," ] - }, { - "r" : "545", - "s" : [ { - "value" : [ "2 ","'ml'" ] - } ] - }, { - "value" : [ "," ] - }, { - "r" : "546", - "s" : [ { - "value" : [ "3 ","'ml'" ] - } ] - }, { - "value" : [ "," ] - }, { - "r" : "547", - "s" : [ { - "value" : [ "4 ","'ml'" ] - } ] - }, { - "value" : [ "," ] - }, { - "r" : "548", - "s" : [ { - "value" : [ "5 ","'ml'" ] - } ] - }, { - "value" : [ "," ] - }, { - "r" : "549", - "s" : [ { - "value" : [ "6 ","'ml'" ] - } ] - }, { - "value" : [ "}" ] - } ] - }, { - "value" : [ ")" ] - } ] - } ] - } + }, { + "type" : "As", + "localId" : "402", + "asType" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Null", + "localId" : "399", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } + }, { + "type" : "Literal", + "localId" : "400", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "annotation" : [ ] + } ] + } } ], - "expression" : { - "localId" : "556", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "Median", - "signature" : [ { - "localId" : "557", + "let" : [ ], + "relationship" : [ ], + "return" : { + "localId" : "419", + "distinct" : false, + "annotation" : [ ], + "expression" : { + "type" : "ToDecimal", + "localId" : "422", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "423", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "operand" : { + "type" : "AliasRef", + "localId" : "420", + "name" : "X", + "annotation" : [ ] + } + } + } + } + } + }, { + "localId" : "428", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "name" : "dup_vals_even", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "428", + "s" : [ { + "value" : [ "", "define ", "dup_vals_even", ": " ] + }, { + "r" : "451", + "s" : [ { + "value" : [ "Median", "(" ] + }, { + "r" : "429", + "s" : [ { + "r" : "430", + "value" : [ "{", "3", ",", "1", ",", "2", ",", "2", ",", "2", ",", "3", ",", "4", ",", "5", "}" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Median", + "localId" : "451", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ], + "signature" : [ { + "type" : "ListTypeSpecifier", + "localId" : "459", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "460", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } + } ], + "source" : { + "type" : "Query", + "localId" : "452", + "annotation" : [ ], + "source" : [ { + "localId" : "453", + "alias" : "X", + "annotation" : [ ], + "expression" : { + "type" : "List", + "localId" : "429", + "annotation" : [ ], + "resultTypeSpecifier" : { "type" : "ListTypeSpecifier", + "localId" : "438", + "annotation" : [ ], "elementType" : { - "localId" : "558", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } - } ], - "source" : { - "localId" : "540", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "550", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "551", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } - }, - "element" : [ { - "localId" : "541", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "value" : 3, - "unit" : "ml", - "type" : "Quantity" - }, { - "localId" : "542", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "value" : 1, - "unit" : "ml", - "type" : "Quantity" - }, { - "localId" : "543", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "value" : 2, - "unit" : "ml", - "type" : "Quantity" - }, { - "localId" : "544", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "value" : 2, - "unit" : "ml", - "type" : "Quantity" - }, { - "localId" : "545", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "value" : 2, - "unit" : "ml", - "type" : "Quantity" - }, { - "localId" : "546", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "value" : 3, - "unit" : "ml", - "type" : "Quantity" - }, { - "localId" : "547", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "value" : 4, - "unit" : "ml", - "type" : "Quantity" - }, { - "localId" : "548", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "value" : 5, - "unit" : "ml", - "type" : "Quantity" - }, { - "localId" : "549", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "value" : 6, - "unit" : "ml", - "type" : "Quantity" - } ] - } - } - }, { - "localId" : "561", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "name" : "IncompatibleUnitsNull", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "561", - "s" : [ { - "value" : [ "","define ","IncompatibleUnitsNull",": " ] - }, { - "r" : "571", - "s" : [ { - "value" : [ "Median","(" ] - }, { - "r" : "562", - "s" : [ { - "value" : [ "{" ] - }, { - "r" : "563", - "s" : [ { - "value" : [ "1 ","'mg/d'" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "564", - "s" : [ { - "value" : [ "0.002 ","'/d'" ] - } ] - }, { - "value" : [ "}" ] - } ] - }, { - "value" : [ ")" ] - } ] - } ] - } + "type" : "NamedTypeSpecifier", + "localId" : "439", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "element" : [ { + "type" : "Literal", + "localId" : "430", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "431", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "432", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "433", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "434", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "435", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "436", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "4", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "437", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "5", + "annotation" : [ ] + } ] + } } ], - "expression" : { - "localId" : "571", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "Median", - "signature" : [ { - "localId" : "572", + "let" : [ ], + "relationship" : [ ], + "return" : { + "localId" : "454", + "distinct" : false, + "annotation" : [ ], + "expression" : { + "type" : "ToDecimal", + "localId" : "457", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "458", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "operand" : { + "type" : "AliasRef", + "localId" : "455", + "name" : "X", + "annotation" : [ ] + } + } + } + } + } + }, { + "localId" : "463", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "name" : "dup_vals_odd", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "463", + "s" : [ { + "value" : [ "", "define ", "dup_vals_odd", ": " ] + }, { + "r" : "487", + "s" : [ { + "value" : [ "Median", "(" ] + }, { + "r" : "464", + "s" : [ { + "r" : "465", + "value" : [ "{", "3", ",", "1", ",", "2", ",", "2", ",", "2", ",", "3", ",", "4", ",", "5", ",", "6", "}" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Median", + "localId" : "487", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ], + "signature" : [ { + "type" : "ListTypeSpecifier", + "localId" : "495", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "496", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } + } ], + "source" : { + "type" : "Query", + "localId" : "488", + "annotation" : [ ], + "source" : [ { + "localId" : "489", + "alias" : "X", + "annotation" : [ ], + "expression" : { + "type" : "List", + "localId" : "464", + "annotation" : [ ], + "resultTypeSpecifier" : { "type" : "ListTypeSpecifier", + "localId" : "474", + "annotation" : [ ], "elementType" : { - "localId" : "573", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } - } ], - "source" : { - "localId" : "562", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "565", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "566", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } - }, - "element" : [ { - "localId" : "563", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "value" : 1, - "unit" : "mg/d", - "type" : "Quantity" - }, { - "localId" : "564", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "value" : 0.002, - "unit" : "/d", - "type" : "Quantity" + "type" : "NamedTypeSpecifier", + "localId" : "475", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "element" : [ { + "type" : "Literal", + "localId" : "465", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "466", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "467", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "468", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "469", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "470", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "471", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "4", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "472", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "5", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "473", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "6", + "annotation" : [ ] + } ] + } + } ], + "let" : [ ], + "relationship" : [ ], + "return" : { + "localId" : "490", + "distinct" : false, + "annotation" : [ ], + "expression" : { + "type" : "ToDecimal", + "localId" : "493", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "494", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "operand" : { + "type" : "AliasRef", + "localId" : "491", + "name" : "X", + "annotation" : [ ] + } + } + } + } + } + }, { + "localId" : "499", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "name" : "has_null_q", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "499", + "s" : [ { + "value" : [ "", "define ", "has_null_q", ": " ] + }, { + "r" : "513", + "s" : [ { + "value" : [ "Median", "(" ] + }, { + "r" : "500", + "s" : [ { + "value" : [ "{" ] + }, { + "r" : "501", + "s" : [ { + "value" : [ "1 ", "'ml'" ] + } ] + }, { + "r" : "502", + "value" : [ ",", "null", ",", "null", "," ] + }, { + "r" : "504", + "s" : [ { + "value" : [ "2 ", "'ml'" ] + } ] + }, { + "value" : [ "}" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Median", + "localId" : "513", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ], + "signature" : [ { + "type" : "ListTypeSpecifier", + "localId" : "514", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "515", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } + } ], + "source" : { + "type" : "List", + "localId" : "500", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "507", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "508", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } + }, + "element" : [ { + "type" : "Quantity", + "localId" : "501", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "value" : 1, + "unit" : "ml", + "annotation" : [ ] + }, { + "type" : "As", + "localId" : "505", + "asType" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Null", + "localId" : "502", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } + }, { + "type" : "As", + "localId" : "506", + "asType" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Null", + "localId" : "503", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } + }, { + "type" : "Quantity", + "localId" : "504", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "value" : 2, + "unit" : "ml", + "annotation" : [ ] + } ] + } + } + }, { + "localId" : "518", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "name" : "dup_vals_even_q", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "518", + "s" : [ { + "value" : [ "", "define ", "dup_vals_even_q", ": " ] + }, { + "r" : "534", + "s" : [ { + "value" : [ "Median", "(" ] + }, { + "r" : "519", + "s" : [ { + "value" : [ "{" ] + }, { + "r" : "520", + "s" : [ { + "value" : [ "3 ", "'ml'" ] + } ] + }, { + "value" : [ "," ] + }, { + "r" : "521", + "s" : [ { + "value" : [ "1 ", "'ml'" ] + } ] + }, { + "value" : [ "," ] + }, { + "r" : "522", + "s" : [ { + "value" : [ "2 ", "'ml'" ] + } ] + }, { + "value" : [ "," ] + }, { + "r" : "523", + "s" : [ { + "value" : [ "2 ", "'ml'" ] } ] - } - } - } ] - } - } + }, { + "value" : [ "," ] + }, { + "r" : "524", + "s" : [ { + "value" : [ "2 ", "'ml'" ] + } ] + }, { + "value" : [ "," ] + }, { + "r" : "525", + "s" : [ { + "value" : [ "3 ", "'ml'" ] + } ] + }, { + "value" : [ "," ] + }, { + "r" : "526", + "s" : [ { + "value" : [ "4 ", "'ml'" ] + } ] + }, { + "value" : [ "," ] + }, { + "r" : "527", + "s" : [ { + "value" : [ "5 ", "'ml'" ] + } ] + }, { + "value" : [ "}" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Median", + "localId" : "534", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ], + "signature" : [ { + "type" : "ListTypeSpecifier", + "localId" : "535", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "536", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } + } ], + "source" : { + "type" : "List", + "localId" : "519", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "528", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "529", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } + }, + "element" : [ { + "type" : "Quantity", + "localId" : "520", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "value" : 3, + "unit" : "ml", + "annotation" : [ ] + }, { + "type" : "Quantity", + "localId" : "521", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "value" : 1, + "unit" : "ml", + "annotation" : [ ] + }, { + "type" : "Quantity", + "localId" : "522", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "value" : 2, + "unit" : "ml", + "annotation" : [ ] + }, { + "type" : "Quantity", + "localId" : "523", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "value" : 2, + "unit" : "ml", + "annotation" : [ ] + }, { + "type" : "Quantity", + "localId" : "524", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "value" : 2, + "unit" : "ml", + "annotation" : [ ] + }, { + "type" : "Quantity", + "localId" : "525", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "value" : 3, + "unit" : "ml", + "annotation" : [ ] + }, { + "type" : "Quantity", + "localId" : "526", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "value" : 4, + "unit" : "ml", + "annotation" : [ ] + }, { + "type" : "Quantity", + "localId" : "527", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "value" : 5, + "unit" : "ml", + "annotation" : [ ] + } ] + } + } + }, { + "localId" : "539", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "name" : "dup_vals_odd_q", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "539", + "s" : [ { + "value" : [ "", "define ", "dup_vals_odd_q", ": " ] + }, { + "r" : "556", + "s" : [ { + "value" : [ "Median", "(" ] + }, { + "r" : "540", + "s" : [ { + "value" : [ "{" ] + }, { + "r" : "541", + "s" : [ { + "value" : [ "3 ", "'ml'" ] + } ] + }, { + "value" : [ "," ] + }, { + "r" : "542", + "s" : [ { + "value" : [ "1 ", "'ml'" ] + } ] + }, { + "value" : [ "," ] + }, { + "r" : "543", + "s" : [ { + "value" : [ "2 ", "'ml'" ] + } ] + }, { + "value" : [ "," ] + }, { + "r" : "544", + "s" : [ { + "value" : [ "2 ", "'ml'" ] + } ] + }, { + "value" : [ "," ] + }, { + "r" : "545", + "s" : [ { + "value" : [ "2 ", "'ml'" ] + } ] + }, { + "value" : [ "," ] + }, { + "r" : "546", + "s" : [ { + "value" : [ "3 ", "'ml'" ] + } ] + }, { + "value" : [ "," ] + }, { + "r" : "547", + "s" : [ { + "value" : [ "4 ", "'ml'" ] + } ] + }, { + "value" : [ "," ] + }, { + "r" : "548", + "s" : [ { + "value" : [ "5 ", "'ml'" ] + } ] + }, { + "value" : [ "," ] + }, { + "r" : "549", + "s" : [ { + "value" : [ "6 ", "'ml'" ] + } ] + }, { + "value" : [ "}" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Median", + "localId" : "556", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ], + "signature" : [ { + "type" : "ListTypeSpecifier", + "localId" : "557", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "558", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } + } ], + "source" : { + "type" : "List", + "localId" : "540", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "550", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "551", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } + }, + "element" : [ { + "type" : "Quantity", + "localId" : "541", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "value" : 3, + "unit" : "ml", + "annotation" : [ ] + }, { + "type" : "Quantity", + "localId" : "542", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "value" : 1, + "unit" : "ml", + "annotation" : [ ] + }, { + "type" : "Quantity", + "localId" : "543", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "value" : 2, + "unit" : "ml", + "annotation" : [ ] + }, { + "type" : "Quantity", + "localId" : "544", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "value" : 2, + "unit" : "ml", + "annotation" : [ ] + }, { + "type" : "Quantity", + "localId" : "545", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "value" : 2, + "unit" : "ml", + "annotation" : [ ] + }, { + "type" : "Quantity", + "localId" : "546", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "value" : 3, + "unit" : "ml", + "annotation" : [ ] + }, { + "type" : "Quantity", + "localId" : "547", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "value" : 4, + "unit" : "ml", + "annotation" : [ ] + }, { + "type" : "Quantity", + "localId" : "548", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "value" : 5, + "unit" : "ml", + "annotation" : [ ] + }, { + "type" : "Quantity", + "localId" : "549", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "value" : 6, + "unit" : "ml", + "annotation" : [ ] + } ] + } + } + }, { + "localId" : "561", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "name" : "IncompatibleUnitsNull", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "561", + "s" : [ { + "value" : [ "", "define ", "IncompatibleUnitsNull", ": " ] + }, { + "r" : "571", + "s" : [ { + "value" : [ "Median", "(" ] + }, { + "r" : "562", + "s" : [ { + "value" : [ "{" ] + }, { + "r" : "563", + "s" : [ { + "value" : [ "1 ", "'mg/d'" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "564", + "s" : [ { + "value" : [ "0.002 ", "'/d'" ] + } ] + }, { + "value" : [ "}" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Median", + "localId" : "571", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ], + "signature" : [ { + "type" : "ListTypeSpecifier", + "localId" : "572", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "573", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } + } ], + "source" : { + "type" : "List", + "localId" : "562", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "565", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "566", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } + }, + "element" : [ { + "type" : "Quantity", + "localId" : "563", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "value" : 1, + "unit" : "mg/d", + "annotation" : [ ] + }, { + "type" : "Quantity", + "localId" : "564", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "value" : 0.002, + "unit" : "/d", + "annotation" : [ ] + } ] + } + } + } ] + } + } } /* Mode @@ -8209,653 +9202,735 @@ define IncompatibleUnitsNull: Mode({1 'mg/d', 0.002 '/d'}) */ module.exports['Mode'] = { - "library" : { - "localId" : "0", - "annotation" : [ { - "translatorVersion" : "3.27.0", - "translatorOptions" : "EnableDateRangeOptimization,EnableAnnotations,EnableResultTypes", - "signatureLevel" : "All", - "type" : "CqlToElmInfo" - }, { - "type" : "Annotation", - "s" : { - "r" : "311", + "library" : { + "localId" : "0", + "annotation" : [ { + "type" : "CqlToElmInfo", + "translatorVersion" : "4.2.0", + "translatorOptions" : "EnableDateRangeOptimization,EnableAnnotations,EnableResultTypes", + "signatureLevel" : "All" + }, { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "311", + "s" : [ { + "value" : [ "", "library TestSnippet version '1'" ] + } ] + } + } ], + "identifier" : { + "id" : "TestSnippet", + "version" : "1" + }, + "schemaIdentifier" : { + "id" : "urn:hl7-org:elm", + "version" : "r1" + }, + "usings" : { + "def" : [ { + "localId" : "1", + "localIdentifier" : "System", + "uri" : "urn:hl7-org:elm-types:r1", + "annotation" : [ ] + }, { + "localId" : "206", + "localIdentifier" : "Simple", + "uri" : "https://github.com/cqframework/cql-execution/simple", + "version" : "1.0.0", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "206", "s" : [ { - "value" : [ "","library TestSnippet version '1'" ] - } ] - } - } ], - "identifier" : { - "id" : "TestSnippet", - "version" : "1" - }, - "schemaIdentifier" : { - "id" : "urn:hl7-org:elm", - "version" : "r1" - }, - "usings" : { - "def" : [ { - "localId" : "1", - "localIdentifier" : "System", - "uri" : "urn:hl7-org:elm-types:r1" - }, { - "localId" : "206", - "localIdentifier" : "Simple", - "uri" : "https://github.com/cqframework/cql-execution/simple", - "version" : "1.0.0", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "206", - "s" : [ { - "value" : [ "","using " ] - }, { - "s" : [ { - "value" : [ "Simple" ] - } ] - }, { - "value" : [ " version '1.0.0'" ] - } ] - } - } ] - } ] - }, - "contexts" : { - "def" : [ { - "localId" : "211", - "name" : "Patient" - } ] - }, - "statements" : { - "def" : [ { - "localId" : "209", - "name" : "Patient", - "context" : "Patient", - "expression" : { - "localId" : "210", - "type" : "SingletonFrom", - "signature" : [ ], - "operand" : { - "localId" : "208", - "dataType" : "{https://github.com/cqframework/cql-execution/simple}Patient", - "type" : "Retrieve", - "include" : [ ], - "codeFilter" : [ ], - "dateFilter" : [ ], - "otherFilter" : [ ] - } - } - }, { - "localId" : "214", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "name" : "not_null", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "214", - "s" : [ { - "value" : [ "","define ","not_null",": " ] - }, { - "r" : "229", - "s" : [ { - "value" : [ "Mode","(" ] - }, { - "r" : "215", - "s" : [ { - "r" : "216", - "value" : [ "{","1",",","2",",","2",",","2",",","3",",","4",",","5","}" ] - } ] - }, { - "value" : [ ")" ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "229", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "Mode", - "signature" : [ { - "localId" : "230", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "231", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } ], - "source" : { - "localId" : "215", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "223", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "224", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "element" : [ { - "localId" : "216", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, { - "localId" : "217", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal" - }, { - "localId" : "218", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal" - }, { - "localId" : "219", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal" - }, { - "localId" : "220", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, { - "localId" : "221", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "4", - "type" : "Literal" - }, { - "localId" : "222", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal" + "value" : [ "", "using " ] + }, { + "s" : [ { + "value" : [ "Simple" ] + } ] + }, { + "value" : [ " version '1.0.0'" ] + } ] + } + } ] + } ] + }, + "contexts" : { + "def" : [ { + "localId" : "211", + "name" : "Patient", + "annotation" : [ ] + } ] + }, + "statements" : { + "def" : [ { + "localId" : "209", + "name" : "Patient", + "context" : "Patient", + "annotation" : [ ], + "expression" : { + "type" : "SingletonFrom", + "localId" : "210", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Retrieve", + "localId" : "208", + "dataType" : "{https://github.com/cqframework/cql-execution/simple}Patient", + "annotation" : [ ], + "include" : [ ], + "codeFilter" : [ ], + "dateFilter" : [ ], + "otherFilter" : [ ] + } + } + }, { + "localId" : "214", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "name" : "not_null", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "214", + "s" : [ { + "value" : [ "", "define ", "not_null", ": " ] + }, { + "r" : "229", + "s" : [ { + "value" : [ "Mode", "(" ] + }, { + "r" : "215", + "s" : [ { + "r" : "216", + "value" : [ "{", "1", ",", "2", ",", "2", ",", "2", ",", "3", ",", "4", ",", "5", "}" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Mode", + "localId" : "229", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ], + "signature" : [ { + "type" : "ListTypeSpecifier", + "localId" : "230", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "231", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } ], + "source" : { + "type" : "List", + "localId" : "215", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "223", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "224", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "element" : [ { + "type" : "Literal", + "localId" : "216", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "217", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "218", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "219", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "220", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "221", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "4", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "222", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "5", + "annotation" : [ ] + } ] + } + } + }, { + "localId" : "234", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "name" : "has_null", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "234", + "s" : [ { + "value" : [ "", "define ", "has_null", ": " ] + }, { + "r" : "249", + "s" : [ { + "value" : [ "Mode", "(" ] + }, { + "r" : "235", + "s" : [ { + "r" : "236", + "value" : [ "{", "1", ",", "null", ",", "null", ",", "2", ",", "2", "}" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Mode", + "localId" : "249", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ], + "signature" : [ { + "type" : "ListTypeSpecifier", + "localId" : "250", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "251", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } ], + "source" : { + "type" : "List", + "localId" : "235", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "243", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "244", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "element" : [ { + "type" : "Literal", + "localId" : "236", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, { + "type" : "As", + "localId" : "241", + "asType" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Null", + "localId" : "237", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } + }, { + "type" : "As", + "localId" : "242", + "asType" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Null", + "localId" : "238", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } + }, { + "type" : "Literal", + "localId" : "239", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "240", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "annotation" : [ ] + } ] + } + } + }, { + "localId" : "254", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "name" : "empty", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "254", + "s" : [ { + "value" : [ "", "define ", "empty", ": " ] + }, { + "r" : "262", + "s" : [ { + "r" : "255", + "value" : [ "Mode", "(", "{}", ")" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Mode", + "localId" : "262", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ], + "signature" : [ { + "type" : "ListTypeSpecifier", + "localId" : "263", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "264", + "name" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } + } ], + "source" : { + "type" : "List", + "localId" : "255", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "256", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "257", + "name" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } + }, + "element" : [ ] + } + } + }, { + "localId" : "267", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "name" : "bi_modal", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "267", + "s" : [ { + "value" : [ "", "define ", "bi_modal", ": " ] + }, { + "r" : "284", + "s" : [ { + "value" : [ "Mode", "(" ] + }, { + "r" : "268", + "s" : [ { + "r" : "269", + "value" : [ "{", "1", ",", "2", ",", "2", ",", "2", ",", "3", ",", "3", ",", "3", ",", "4", ",", "5", "}" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Mode", + "localId" : "284", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ], + "signature" : [ { + "type" : "ListTypeSpecifier", + "localId" : "285", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "286", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } ], + "source" : { + "type" : "List", + "localId" : "268", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "278", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "279", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "element" : [ { + "type" : "Literal", + "localId" : "269", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "270", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "271", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "272", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "273", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "274", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "275", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "276", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "4", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "277", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "5", + "annotation" : [ ] + } ] + } + } + }, { + "localId" : "289", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "name" : "NumbersAndQuantities", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "289", + "s" : [ { + "value" : [ "", "define ", "NumbersAndQuantities", ": " ] + }, { + "r" : "306", + "s" : [ { + "value" : [ "Mode", "(" ] + }, { + "r" : "290", + "s" : [ { + "r" : "291", + "value" : [ "{", "1", " ," ] + }, { + "r" : "292", + "s" : [ { + "value" : [ "2 ", "'ml'" ] } ] - } - } - }, { - "localId" : "234", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "name" : "has_null", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "234", + }, { + "value" : [ "," ] + }, { + "r" : "293", "s" : [ { - "value" : [ "","define ","has_null",": " ] - }, { - "r" : "249", - "s" : [ { - "value" : [ "Mode","(" ] - }, { - "r" : "235", - "s" : [ { - "r" : "236", - "value" : [ "{","1",",","null",",","null",",","2",",","2","}" ] - } ] - }, { - "value" : [ ")" ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "249", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "Mode", - "signature" : [ { - "localId" : "250", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "251", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } ], - "source" : { - "localId" : "235", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "243", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "244", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "element" : [ { - "localId" : "236", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, { - "localId" : "241", - "asType" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "As", - "signature" : [ ], - "operand" : { - "localId" : "237", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - } - }, { - "localId" : "242", - "asType" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "As", - "signature" : [ ], - "operand" : { - "localId" : "238", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - } - }, { - "localId" : "239", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal" - }, { - "localId" : "240", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal" + "value" : [ "3 ", "'ml'" ] } ] - } - } - }, { - "localId" : "254", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "name" : "empty", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "254", + }, { + "value" : [ "," ] + }, { + "r" : "294", "s" : [ { - "value" : [ "","define ","empty",": " ] - }, { - "r" : "262", - "s" : [ { - "r" : "255", - "value" : [ "Mode","(","{}",")" ] - } ] + "value" : [ "4 ", "'ml'" ] } ] - } - } ], - "expression" : { - "localId" : "262", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Mode", - "signature" : [ { - "localId" : "263", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "264", - "name" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "NamedTypeSpecifier" - } - } ], - "source" : { - "localId" : "255", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "256", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "257", - "name" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "NamedTypeSpecifier" - } - }, - "element" : [ ] - } - } - }, { - "localId" : "267", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "name" : "bi_modal", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "267", + }, { + "value" : [ "," ] + }, { + "r" : "295", "s" : [ { - "value" : [ "","define ","bi_modal",": " ] - }, { - "r" : "284", - "s" : [ { - "value" : [ "Mode","(" ] - }, { - "r" : "268", - "s" : [ { - "r" : "269", - "value" : [ "{","1",",","2",",","2",",","2",",","3",",","3",",","3",",","4",",","5","}" ] - } ] - }, { - "value" : [ ")" ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "284", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "Mode", - "signature" : [ { - "localId" : "285", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "286", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } ], - "source" : { - "localId" : "268", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "278", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "279", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "element" : [ { - "localId" : "269", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, { - "localId" : "270", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal" - }, { - "localId" : "271", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal" - }, { - "localId" : "272", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal" - }, { - "localId" : "273", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, { - "localId" : "274", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, { - "localId" : "275", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, { - "localId" : "276", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "4", - "type" : "Literal" - }, { - "localId" : "277", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal" - } ] - } - } - }, { - "localId" : "289", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "name" : "NumbersAndQuantities", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "289", - "s" : [ { - "value" : [ "","define ","NumbersAndQuantities",": " ] - }, { - "r" : "306", - "s" : [ { - "value" : [ "Mode","(" ] - }, { - "r" : "290", - "s" : [ { - "r" : "291", - "value" : [ "{","1"," ," ] - }, { - "r" : "292", - "s" : [ { - "value" : [ "2 ","'ml'" ] - } ] - }, { - "value" : [ "," ] - }, { - "r" : "293", - "s" : [ { - "value" : [ "3 ","'ml'" ] - } ] - }, { - "value" : [ "," ] - }, { - "r" : "294", - "s" : [ { - "value" : [ "4 ","'ml'" ] - } ] - }, { - "value" : [ "," ] - }, { - "r" : "295", - "s" : [ { - "value" : [ "5 ","'ml'" ] - } ] - }, { - "value" : [ "," ] - }, { - "r" : "296", - "s" : [ { - "value" : [ "0 ","'ml'" ] - } ] - }, { - "value" : [ "}" ] - } ] - }, { - "value" : [ ")" ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "306", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "Mode", - "signature" : [ { - "localId" : "307", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "308", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } - } ], - "source" : { - "localId" : "290", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "300", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "301", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } - }, - "element" : [ { - "localId" : "298", - "type" : "ToQuantity", - "signature" : [ { - "localId" : "299", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "291", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - } - }, { - "localId" : "292", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "value" : 2, - "unit" : "ml", - "type" : "Quantity" - }, { - "localId" : "293", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "value" : 3, - "unit" : "ml", - "type" : "Quantity" - }, { - "localId" : "294", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "value" : 4, - "unit" : "ml", - "type" : "Quantity" - }, { - "localId" : "295", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "value" : 5, - "unit" : "ml", - "type" : "Quantity" - }, { - "localId" : "296", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "value" : 0, - "unit" : "ml", - "type" : "Quantity" - } ] - } - } - }, { - "localId" : "311", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "name" : "IncompatibleUnitsNull", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "311", + "value" : [ "5 ", "'ml'" ] + } ] + }, { + "value" : [ "," ] + }, { + "r" : "296", "s" : [ { - "value" : [ "","define ","IncompatibleUnitsNull",": " ] - }, { - "r" : "321", - "s" : [ { - "value" : [ "Mode","(" ] - }, { - "r" : "312", - "s" : [ { - "value" : [ "{" ] - }, { - "r" : "313", - "s" : [ { - "value" : [ "1 ","'mg/d'" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "314", - "s" : [ { - "value" : [ "0.002 ","'/d'" ] - } ] - }, { - "value" : [ "}" ] - } ] - }, { - "value" : [ ")" ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "321", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "Mode", - "signature" : [ { - "localId" : "322", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "323", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } - } ], - "source" : { - "localId" : "312", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "315", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "316", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } - }, - "element" : [ { - "localId" : "313", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "value" : 1, - "unit" : "mg/d", - "type" : "Quantity" - }, { - "localId" : "314", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "value" : 0.002, - "unit" : "/d", - "type" : "Quantity" + "value" : [ "0 ", "'ml'" ] } ] - } - } - } ] - } - } + }, { + "value" : [ "}" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Mode", + "localId" : "306", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ], + "signature" : [ { + "type" : "ListTypeSpecifier", + "localId" : "307", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "308", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } + } ], + "source" : { + "type" : "List", + "localId" : "290", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "300", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "301", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } + }, + "element" : [ { + "type" : "ToQuantity", + "localId" : "298", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "299", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "operand" : { + "type" : "Literal", + "localId" : "291", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + } + }, { + "type" : "Quantity", + "localId" : "292", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "value" : 2, + "unit" : "ml", + "annotation" : [ ] + }, { + "type" : "Quantity", + "localId" : "293", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "value" : 3, + "unit" : "ml", + "annotation" : [ ] + }, { + "type" : "Quantity", + "localId" : "294", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "value" : 4, + "unit" : "ml", + "annotation" : [ ] + }, { + "type" : "Quantity", + "localId" : "295", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "value" : 5, + "unit" : "ml", + "annotation" : [ ] + }, { + "type" : "Quantity", + "localId" : "296", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "value" : 0, + "unit" : "ml", + "annotation" : [ ] + } ] + } + } + }, { + "localId" : "311", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "name" : "IncompatibleUnitsNull", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "311", + "s" : [ { + "value" : [ "", "define ", "IncompatibleUnitsNull", ": " ] + }, { + "r" : "321", + "s" : [ { + "value" : [ "Mode", "(" ] + }, { + "r" : "312", + "s" : [ { + "value" : [ "{" ] + }, { + "r" : "313", + "s" : [ { + "value" : [ "1 ", "'mg/d'" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "314", + "s" : [ { + "value" : [ "0.002 ", "'/d'" ] + } ] + }, { + "value" : [ "}" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Mode", + "localId" : "321", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ], + "signature" : [ { + "type" : "ListTypeSpecifier", + "localId" : "322", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "323", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } + } ], + "source" : { + "type" : "List", + "localId" : "312", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "315", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "316", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } + }, + "element" : [ { + "type" : "Quantity", + "localId" : "313", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "value" : 1, + "unit" : "mg/d", + "annotation" : [ ] + }, { + "type" : "Quantity", + "localId" : "314", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "value" : 0.002, + "unit" : "/d", + "annotation" : [ ] + } ] + } + } + } ] + } + } } /* Variance @@ -8870,647 +9945,723 @@ define IncompatibleUnitsNull: Variance({1 'mg/d', 0.002 '/d'}) */ module.exports['Variance'] = { - "library" : { - "localId" : "0", - "annotation" : [ { - "translatorVersion" : "3.27.0", - "translatorOptions" : "EnableDateRangeOptimization,EnableAnnotations,EnableResultTypes", - "signatureLevel" : "All", - "type" : "CqlToElmInfo" - }, { - "type" : "Annotation", - "s" : { - "r" : "309", + "library" : { + "localId" : "0", + "annotation" : [ { + "type" : "CqlToElmInfo", + "translatorVersion" : "4.2.0", + "translatorOptions" : "EnableDateRangeOptimization,EnableAnnotations,EnableResultTypes", + "signatureLevel" : "All" + }, { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "309", + "s" : [ { + "value" : [ "", "library TestSnippet version '1'" ] + } ] + } + } ], + "identifier" : { + "id" : "TestSnippet", + "version" : "1" + }, + "schemaIdentifier" : { + "id" : "urn:hl7-org:elm", + "version" : "r1" + }, + "usings" : { + "def" : [ { + "localId" : "1", + "localIdentifier" : "System", + "uri" : "urn:hl7-org:elm-types:r1", + "annotation" : [ ] + }, { + "localId" : "206", + "localIdentifier" : "Simple", + "uri" : "https://github.com/cqframework/cql-execution/simple", + "version" : "1.0.0", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "206", "s" : [ { - "value" : [ "","library TestSnippet version '1'" ] - } ] - } - } ], - "identifier" : { - "id" : "TestSnippet", - "version" : "1" - }, - "schemaIdentifier" : { - "id" : "urn:hl7-org:elm", - "version" : "r1" - }, - "usings" : { - "def" : [ { - "localId" : "1", - "localIdentifier" : "System", - "uri" : "urn:hl7-org:elm-types:r1" - }, { - "localId" : "206", - "localIdentifier" : "Simple", - "uri" : "https://github.com/cqframework/cql-execution/simple", - "version" : "1.0.0", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "206", - "s" : [ { - "value" : [ "","using " ] - }, { - "s" : [ { - "value" : [ "Simple" ] - } ] - }, { - "value" : [ " version '1.0.0'" ] - } ] - } - } ] - } ] - }, - "contexts" : { - "def" : [ { - "localId" : "211", - "name" : "Patient" - } ] - }, - "statements" : { - "def" : [ { - "localId" : "209", - "name" : "Patient", - "context" : "Patient", - "expression" : { - "localId" : "210", - "type" : "SingletonFrom", - "signature" : [ ], - "operand" : { - "localId" : "208", - "dataType" : "{https://github.com/cqframework/cql-execution/simple}Patient", - "type" : "Retrieve", - "include" : [ ], - "codeFilter" : [ ], - "dateFilter" : [ ], - "otherFilter" : [ ] - } - } - }, { - "localId" : "214", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "name" : "v", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "214", - "s" : [ { - "value" : [ "","define ","v",": " ] - }, { - "r" : "234", - "s" : [ { - "value" : [ "Variance","(" ] - }, { - "r" : "215", - "s" : [ { - "r" : "216", - "value" : [ "{","1",",","2",",","3",",","4",",","5","}" ] - } ] - }, { - "value" : [ ")" ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "234", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "Variance", - "signature" : [ { - "localId" : "242", + "value" : [ "", "using " ] + }, { + "s" : [ { + "value" : [ "Simple" ] + } ] + }, { + "value" : [ " version '1.0.0'" ] + } ] + } + } ] + } ] + }, + "contexts" : { + "def" : [ { + "localId" : "211", + "name" : "Patient", + "annotation" : [ ] + } ] + }, + "statements" : { + "def" : [ { + "localId" : "209", + "name" : "Patient", + "context" : "Patient", + "annotation" : [ ], + "expression" : { + "type" : "SingletonFrom", + "localId" : "210", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Retrieve", + "localId" : "208", + "dataType" : "{https://github.com/cqframework/cql-execution/simple}Patient", + "annotation" : [ ], + "include" : [ ], + "codeFilter" : [ ], + "dateFilter" : [ ], + "otherFilter" : [ ] + } + } + }, { + "localId" : "214", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "name" : "v", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "214", + "s" : [ { + "value" : [ "", "define ", "v", ": " ] + }, { + "r" : "234", + "s" : [ { + "value" : [ "Variance", "(" ] + }, { + "r" : "215", + "s" : [ { + "r" : "216", + "value" : [ "{", "1", ",", "2", ",", "3", ",", "4", ",", "5", "}" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Variance", + "localId" : "234", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ], + "signature" : [ { + "type" : "ListTypeSpecifier", + "localId" : "242", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "243", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } + } ], + "source" : { + "type" : "Query", + "localId" : "235", + "annotation" : [ ], + "source" : [ { + "localId" : "236", + "alias" : "X", + "annotation" : [ ], + "expression" : { + "type" : "List", + "localId" : "215", + "annotation" : [ ], + "resultTypeSpecifier" : { "type" : "ListTypeSpecifier", + "localId" : "221", + "annotation" : [ ], "elementType" : { - "localId" : "243", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } - } ], - "source" : { - "localId" : "235", - "type" : "Query", - "source" : [ { - "localId" : "236", - "alias" : "X", - "expression" : { - "localId" : "215", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "221", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "222", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "element" : [ { - "localId" : "216", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, { - "localId" : "217", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal" - }, { - "localId" : "218", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, { - "localId" : "219", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "4", - "type" : "Literal" - }, { - "localId" : "220", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal" - } ] - } - } ], - "let" : [ ], - "relationship" : [ ], - "return" : { - "localId" : "237", - "distinct" : false, - "expression" : { - "localId" : "240", - "type" : "ToDecimal", - "signature" : [ { - "localId" : "241", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "238", - "name" : "X", - "type" : "AliasRef" - } - } - } - } - } - }, { - "localId" : "246", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "name" : "v_q", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "246", - "s" : [ { - "value" : [ "","define ","v_q",": " ] - }, { - "r" : "259", - "s" : [ { - "value" : [ "Variance","(" ] - }, { - "r" : "247", - "s" : [ { - "value" : [ "{" ] - }, { - "r" : "248", - "s" : [ { - "value" : [ "1 ","'ml'" ] - } ] - }, { - "value" : [ "," ] - }, { - "r" : "249", - "s" : [ { - "value" : [ "2 ","'ml'" ] - } ] - }, { - "value" : [ "," ] - }, { - "r" : "250", - "s" : [ { - "value" : [ "3 ","'ml'" ] - } ] - }, { - "value" : [ "," ] - }, { - "r" : "251", - "s" : [ { - "value" : [ "4 ","'ml'" ] - } ] - }, { - "value" : [ "," ] - }, { - "r" : "252", - "s" : [ { - "value" : [ "5 ","'ml'" ] - } ] - }, { - "value" : [ "}" ] - } ] - }, { - "value" : [ ")" ] - } ] - } ] - } + "type" : "NamedTypeSpecifier", + "localId" : "222", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "element" : [ { + "type" : "Literal", + "localId" : "216", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "217", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "218", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "219", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "4", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "220", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "5", + "annotation" : [ ] + } ] + } } ], - "expression" : { - "localId" : "259", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "Variance", - "signature" : [ { - "localId" : "260", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "261", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } - } ], - "source" : { - "localId" : "247", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "253", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "254", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } - }, - "element" : [ { - "localId" : "248", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "value" : 1, - "unit" : "ml", - "type" : "Quantity" - }, { - "localId" : "249", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "value" : 2, - "unit" : "ml", - "type" : "Quantity" - }, { - "localId" : "250", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "value" : 3, - "unit" : "ml", - "type" : "Quantity" - }, { - "localId" : "251", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "value" : 4, - "unit" : "ml", - "type" : "Quantity" - }, { - "localId" : "252", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "value" : 5, - "unit" : "ml", - "type" : "Quantity" + "let" : [ ], + "relationship" : [ ], + "return" : { + "localId" : "237", + "distinct" : false, + "annotation" : [ ], + "expression" : { + "type" : "ToDecimal", + "localId" : "240", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "241", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "operand" : { + "type" : "AliasRef", + "localId" : "238", + "name" : "X", + "annotation" : [ ] + } + } + } + } + } + }, { + "localId" : "246", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "name" : "v_q", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "246", + "s" : [ { + "value" : [ "", "define ", "v_q", ": " ] + }, { + "r" : "259", + "s" : [ { + "value" : [ "Variance", "(" ] + }, { + "r" : "247", + "s" : [ { + "value" : [ "{" ] + }, { + "r" : "248", + "s" : [ { + "value" : [ "1 ", "'ml'" ] + } ] + }, { + "value" : [ "," ] + }, { + "r" : "249", + "s" : [ { + "value" : [ "2 ", "'ml'" ] + } ] + }, { + "value" : [ "," ] + }, { + "r" : "250", + "s" : [ { + "value" : [ "3 ", "'ml'" ] } ] - } - } - }, { - "localId" : "264", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "name" : "q_diff_units", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "264", - "s" : [ { - "value" : [ "","define ","q_diff_units",": " ] - }, { - "r" : "277", - "s" : [ { - "value" : [ "Variance","(" ] - }, { - "r" : "265", - "s" : [ { - "value" : [ "{" ] - }, { - "r" : "266", - "s" : [ { - "value" : [ "1.0 ","'ml'" ] - } ] - }, { - "value" : [ "," ] - }, { - "r" : "267", - "s" : [ { - "value" : [ "0.002 ","'l'" ] - } ] - }, { - "value" : [ "," ] - }, { - "r" : "268", - "s" : [ { - "value" : [ "0.003 ","'l'" ] - } ] - }, { - "value" : [ "," ] - }, { - "r" : "269", - "s" : [ { - "value" : [ "0.04 ","'dl'" ] - } ] - }, { - "value" : [ "," ] - }, { - "r" : "270", - "s" : [ { - "value" : [ "5.0 ","'ml'" ] - } ] - }, { - "value" : [ "}" ] - } ] - }, { - "value" : [ ")" ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "277", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "Variance", - "signature" : [ { - "localId" : "278", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "279", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } - } ], - "source" : { - "localId" : "265", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "271", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "272", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } - }, - "element" : [ { - "localId" : "266", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "value" : 1.0, - "unit" : "ml", - "type" : "Quantity" - }, { - "localId" : "267", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "value" : 0.002, - "unit" : "l", - "type" : "Quantity" - }, { - "localId" : "268", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "value" : 0.003, - "unit" : "l", - "type" : "Quantity" - }, { - "localId" : "269", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "value" : 0.04, - "unit" : "dl", - "type" : "Quantity" - }, { - "localId" : "270", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "value" : 5.0, - "unit" : "ml", - "type" : "Quantity" - } ] - } - } - }, { - "localId" : "282", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "name" : "NumbersAndQuantities", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "282", + }, { + "value" : [ "," ] + }, { + "r" : "251", + "s" : [ { + "value" : [ "4 ", "'ml'" ] + } ] + }, { + "value" : [ "," ] + }, { + "r" : "252", + "s" : [ { + "value" : [ "5 ", "'ml'" ] + } ] + }, { + "value" : [ "}" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Variance", + "localId" : "259", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ], + "signature" : [ { + "type" : "ListTypeSpecifier", + "localId" : "260", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "261", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } + } ], + "source" : { + "type" : "List", + "localId" : "247", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "253", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "254", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } + }, + "element" : [ { + "type" : "Quantity", + "localId" : "248", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "value" : 1, + "unit" : "ml", + "annotation" : [ ] + }, { + "type" : "Quantity", + "localId" : "249", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "value" : 2, + "unit" : "ml", + "annotation" : [ ] + }, { + "type" : "Quantity", + "localId" : "250", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "value" : 3, + "unit" : "ml", + "annotation" : [ ] + }, { + "type" : "Quantity", + "localId" : "251", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "value" : 4, + "unit" : "ml", + "annotation" : [ ] + }, { + "type" : "Quantity", + "localId" : "252", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "value" : 5, + "unit" : "ml", + "annotation" : [ ] + } ] + } + } + }, { + "localId" : "264", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "name" : "q_diff_units", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "264", + "s" : [ { + "value" : [ "", "define ", "q_diff_units", ": " ] + }, { + "r" : "277", + "s" : [ { + "value" : [ "Variance", "(" ] + }, { + "r" : "265", + "s" : [ { + "value" : [ "{" ] + }, { + "r" : "266", + "s" : [ { + "value" : [ "1.0 ", "'ml'" ] + } ] + }, { + "value" : [ "," ] + }, { + "r" : "267", + "s" : [ { + "value" : [ "0.002 ", "'l'" ] + } ] + }, { + "value" : [ "," ] + }, { + "r" : "268", + "s" : [ { + "value" : [ "0.003 ", "'l'" ] + } ] + }, { + "value" : [ "," ] + }, { + "r" : "269", "s" : [ { - "value" : [ "","define ","NumbersAndQuantities",": " ] - }, { - "r" : "304", - "s" : [ { - "value" : [ "Variance","(" ] - }, { - "r" : "283", - "s" : [ { - "r" : "284", - "value" : [ "{","1.0"," ,","2.0"," ,","3.0"," ," ] - }, { - "r" : "287", - "s" : [ { - "value" : [ "4.0 ","'ml'" ] - } ] - }, { - "value" : [ "," ] - }, { - "r" : "288", - "s" : [ { - "value" : [ "5.0 ","'ml'" ] - } ] - }, { - "value" : [ "}" ] - } ] - }, { - "value" : [ ")" ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "304", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "Variance", - "signature" : [ { - "localId" : "305", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "306", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } - } ], - "source" : { - "localId" : "283", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "298", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "299", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } - }, - "element" : [ { - "localId" : "290", - "type" : "ToQuantity", - "signature" : [ { - "localId" : "291", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "284", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "1.0", - "type" : "Literal" - } - }, { - "localId" : "293", - "type" : "ToQuantity", - "signature" : [ { - "localId" : "294", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "285", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "2.0", - "type" : "Literal" - } - }, { - "localId" : "296", - "type" : "ToQuantity", - "signature" : [ { - "localId" : "297", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "286", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "3.0", - "type" : "Literal" - } - }, { - "localId" : "287", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "value" : 4.0, - "unit" : "ml", - "type" : "Quantity" - }, { - "localId" : "288", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "value" : 5.0, - "unit" : "ml", - "type" : "Quantity" + "value" : [ "0.04 ", "'dl'" ] } ] - } - } - }, { - "localId" : "309", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "name" : "IncompatibleUnitsNull", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "309", + }, { + "value" : [ "," ] + }, { + "r" : "270", "s" : [ { - "value" : [ "","define ","IncompatibleUnitsNull",": " ] - }, { - "r" : "319", - "s" : [ { - "value" : [ "Variance","(" ] - }, { - "r" : "310", - "s" : [ { - "value" : [ "{" ] - }, { - "r" : "311", - "s" : [ { - "value" : [ "1 ","'mg/d'" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "312", - "s" : [ { - "value" : [ "0.002 ","'/d'" ] - } ] - }, { - "value" : [ "}" ] - } ] - }, { - "value" : [ ")" ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "319", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "Variance", - "signature" : [ { - "localId" : "320", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "321", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } - } ], - "source" : { - "localId" : "310", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "313", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "314", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } - }, - "element" : [ { - "localId" : "311", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "value" : 1, - "unit" : "mg/d", - "type" : "Quantity" - }, { - "localId" : "312", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "value" : 0.002, - "unit" : "/d", - "type" : "Quantity" + "value" : [ "5.0 ", "'ml'" ] } ] - } - } - } ] - } - } + }, { + "value" : [ "}" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Variance", + "localId" : "277", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ], + "signature" : [ { + "type" : "ListTypeSpecifier", + "localId" : "278", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "279", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } + } ], + "source" : { + "type" : "List", + "localId" : "265", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "271", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "272", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } + }, + "element" : [ { + "type" : "Quantity", + "localId" : "266", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "value" : 1.0, + "unit" : "ml", + "annotation" : [ ] + }, { + "type" : "Quantity", + "localId" : "267", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "value" : 0.002, + "unit" : "l", + "annotation" : [ ] + }, { + "type" : "Quantity", + "localId" : "268", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "value" : 0.003, + "unit" : "l", + "annotation" : [ ] + }, { + "type" : "Quantity", + "localId" : "269", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "value" : 0.04, + "unit" : "dl", + "annotation" : [ ] + }, { + "type" : "Quantity", + "localId" : "270", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "value" : 5.0, + "unit" : "ml", + "annotation" : [ ] + } ] + } + } + }, { + "localId" : "282", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "name" : "NumbersAndQuantities", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "282", + "s" : [ { + "value" : [ "", "define ", "NumbersAndQuantities", ": " ] + }, { + "r" : "304", + "s" : [ { + "value" : [ "Variance", "(" ] + }, { + "r" : "283", + "s" : [ { + "r" : "284", + "value" : [ "{", "1.0", " ,", "2.0", " ,", "3.0", " ," ] + }, { + "r" : "287", + "s" : [ { + "value" : [ "4.0 ", "'ml'" ] + } ] + }, { + "value" : [ "," ] + }, { + "r" : "288", + "s" : [ { + "value" : [ "5.0 ", "'ml'" ] + } ] + }, { + "value" : [ "}" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Variance", + "localId" : "304", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ], + "signature" : [ { + "type" : "ListTypeSpecifier", + "localId" : "305", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "306", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } + } ], + "source" : { + "type" : "List", + "localId" : "283", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "298", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "299", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } + }, + "element" : [ { + "type" : "ToQuantity", + "localId" : "290", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "291", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } ], + "operand" : { + "type" : "Literal", + "localId" : "284", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "1.0", + "annotation" : [ ] + } + }, { + "type" : "ToQuantity", + "localId" : "293", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "294", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } ], + "operand" : { + "type" : "Literal", + "localId" : "285", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "2.0", + "annotation" : [ ] + } + }, { + "type" : "ToQuantity", + "localId" : "296", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "297", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } ], + "operand" : { + "type" : "Literal", + "localId" : "286", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "3.0", + "annotation" : [ ] + } + }, { + "type" : "Quantity", + "localId" : "287", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "value" : 4.0, + "unit" : "ml", + "annotation" : [ ] + }, { + "type" : "Quantity", + "localId" : "288", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "value" : 5.0, + "unit" : "ml", + "annotation" : [ ] + } ] + } + } + }, { + "localId" : "309", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "name" : "IncompatibleUnitsNull", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "309", + "s" : [ { + "value" : [ "", "define ", "IncompatibleUnitsNull", ": " ] + }, { + "r" : "319", + "s" : [ { + "value" : [ "Variance", "(" ] + }, { + "r" : "310", + "s" : [ { + "value" : [ "{" ] + }, { + "r" : "311", + "s" : [ { + "value" : [ "1 ", "'mg/d'" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "312", + "s" : [ { + "value" : [ "0.002 ", "'/d'" ] + } ] + }, { + "value" : [ "}" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Variance", + "localId" : "319", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ], + "signature" : [ { + "type" : "ListTypeSpecifier", + "localId" : "320", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "321", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } + } ], + "source" : { + "type" : "List", + "localId" : "310", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "313", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "314", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } + }, + "element" : [ { + "type" : "Quantity", + "localId" : "311", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "value" : 1, + "unit" : "mg/d", + "annotation" : [ ] + }, { + "type" : "Quantity", + "localId" : "312", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "value" : 0.002, + "unit" : "/d", + "annotation" : [ ] + } ] + } + } + } ] + } + } } /* PopulationVariance @@ -9525,619 +10676,689 @@ define IncompatibleUnitsNull: PopulationVariance({1 'mg/d', 0.002 '/d'}) */ module.exports['PopulationVariance'] = { - "library" : { - "localId" : "0", - "annotation" : [ { - "translatorVersion" : "3.27.0", - "translatorOptions" : "EnableDateRangeOptimization,EnableAnnotations,EnableResultTypes", - "signatureLevel" : "All", - "type" : "CqlToElmInfo" - }, { - "type" : "Annotation", - "s" : { - "r" : "295", + "library" : { + "localId" : "0", + "annotation" : [ { + "type" : "CqlToElmInfo", + "translatorVersion" : "4.2.0", + "translatorOptions" : "EnableDateRangeOptimization,EnableAnnotations,EnableResultTypes", + "signatureLevel" : "All" + }, { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "295", + "s" : [ { + "value" : [ "", "library TestSnippet version '1'" ] + } ] + } + } ], + "identifier" : { + "id" : "TestSnippet", + "version" : "1" + }, + "schemaIdentifier" : { + "id" : "urn:hl7-org:elm", + "version" : "r1" + }, + "usings" : { + "def" : [ { + "localId" : "1", + "localIdentifier" : "System", + "uri" : "urn:hl7-org:elm-types:r1", + "annotation" : [ ] + }, { + "localId" : "206", + "localIdentifier" : "Simple", + "uri" : "https://github.com/cqframework/cql-execution/simple", + "version" : "1.0.0", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "206", "s" : [ { - "value" : [ "","library TestSnippet version '1'" ] - } ] - } - } ], - "identifier" : { - "id" : "TestSnippet", - "version" : "1" - }, - "schemaIdentifier" : { - "id" : "urn:hl7-org:elm", - "version" : "r1" - }, - "usings" : { - "def" : [ { - "localId" : "1", - "localIdentifier" : "System", - "uri" : "urn:hl7-org:elm-types:r1" - }, { - "localId" : "206", - "localIdentifier" : "Simple", - "uri" : "https://github.com/cqframework/cql-execution/simple", - "version" : "1.0.0", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "206", - "s" : [ { - "value" : [ "","using " ] - }, { - "s" : [ { - "value" : [ "Simple" ] - } ] - }, { - "value" : [ " version '1.0.0'" ] - } ] - } - } ] - } ] - }, - "contexts" : { - "def" : [ { - "localId" : "211", - "name" : "Patient" - } ] - }, - "statements" : { - "def" : [ { - "localId" : "209", - "name" : "Patient", - "context" : "Patient", - "expression" : { - "localId" : "210", - "type" : "SingletonFrom", - "signature" : [ ], - "operand" : { - "localId" : "208", - "dataType" : "{https://github.com/cqframework/cql-execution/simple}Patient", - "type" : "Retrieve", - "include" : [ ], - "codeFilter" : [ ], - "dateFilter" : [ ], - "otherFilter" : [ ] - } - } - }, { - "localId" : "214", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "name" : "v", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "214", - "s" : [ { - "value" : [ "","define ","v",": " ] - }, { - "r" : "227", - "s" : [ { - "value" : [ "PopulationVariance","(" ] - }, { - "r" : "215", - "s" : [ { - "r" : "216", - "value" : [ "{","1.0",",","2.0",",","3.0",",","4.0",",","5.0","}" ] - } ] - }, { - "value" : [ ")" ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "227", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "PopulationVariance", - "signature" : [ { - "localId" : "228", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "229", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } - } ], - "source" : { - "localId" : "215", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "221", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "222", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } - }, - "element" : [ { - "localId" : "216", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "1.0", - "type" : "Literal" - }, { - "localId" : "217", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "2.0", - "type" : "Literal" - }, { - "localId" : "218", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "3.0", - "type" : "Literal" - }, { - "localId" : "219", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "4.0", - "type" : "Literal" - }, { - "localId" : "220", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "5.0", - "type" : "Literal" + "value" : [ "", "using " ] + }, { + "s" : [ { + "value" : [ "Simple" ] + } ] + }, { + "value" : [ " version '1.0.0'" ] + } ] + } + } ] + } ] + }, + "contexts" : { + "def" : [ { + "localId" : "211", + "name" : "Patient", + "annotation" : [ ] + } ] + }, + "statements" : { + "def" : [ { + "localId" : "209", + "name" : "Patient", + "context" : "Patient", + "annotation" : [ ], + "expression" : { + "type" : "SingletonFrom", + "localId" : "210", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Retrieve", + "localId" : "208", + "dataType" : "{https://github.com/cqframework/cql-execution/simple}Patient", + "annotation" : [ ], + "include" : [ ], + "codeFilter" : [ ], + "dateFilter" : [ ], + "otherFilter" : [ ] + } + } + }, { + "localId" : "214", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "name" : "v", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "214", + "s" : [ { + "value" : [ "", "define ", "v", ": " ] + }, { + "r" : "227", + "s" : [ { + "value" : [ "PopulationVariance", "(" ] + }, { + "r" : "215", + "s" : [ { + "r" : "216", + "value" : [ "{", "1.0", ",", "2.0", ",", "3.0", ",", "4.0", ",", "5.0", "}" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "PopulationVariance", + "localId" : "227", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ], + "signature" : [ { + "type" : "ListTypeSpecifier", + "localId" : "228", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "229", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } + } ], + "source" : { + "type" : "List", + "localId" : "215", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "221", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "222", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } + }, + "element" : [ { + "type" : "Literal", + "localId" : "216", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "1.0", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "217", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "2.0", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "218", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "3.0", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "219", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "4.0", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "220", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "5.0", + "annotation" : [ ] + } ] + } + } + }, { + "localId" : "232", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "name" : "v_q", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "232", + "s" : [ { + "value" : [ "", "define ", "v_q", ": " ] + }, { + "r" : "245", + "s" : [ { + "value" : [ "PopulationVariance", "(" ] + }, { + "r" : "233", + "s" : [ { + "value" : [ "{" ] + }, { + "r" : "234", + "s" : [ { + "value" : [ "1.0 ", "'ml'" ] } ] - } - } - }, { - "localId" : "232", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "name" : "v_q", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "232", - "s" : [ { - "value" : [ "","define ","v_q",": " ] - }, { - "r" : "245", - "s" : [ { - "value" : [ "PopulationVariance","(" ] - }, { - "r" : "233", - "s" : [ { - "value" : [ "{" ] - }, { - "r" : "234", - "s" : [ { - "value" : [ "1.0 ","'ml'" ] - } ] - }, { - "value" : [ "," ] - }, { - "r" : "235", - "s" : [ { - "value" : [ "2.0 ","'ml'" ] - } ] - }, { - "value" : [ "," ] - }, { - "r" : "236", - "s" : [ { - "value" : [ "3.0 ","'ml'" ] - } ] - }, { - "value" : [ "," ] - }, { - "r" : "237", - "s" : [ { - "value" : [ "4.0 ","'ml'" ] - } ] - }, { - "value" : [ "," ] - }, { - "r" : "238", - "s" : [ { - "value" : [ "5.0 ","'ml'" ] - } ] - }, { - "value" : [ "}" ] - } ] - }, { - "value" : [ ")" ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "245", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "PopulationVariance", - "signature" : [ { - "localId" : "246", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "247", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } - } ], - "source" : { - "localId" : "233", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "239", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "240", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } - }, - "element" : [ { - "localId" : "234", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "value" : 1.0, - "unit" : "ml", - "type" : "Quantity" - }, { - "localId" : "235", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "value" : 2.0, - "unit" : "ml", - "type" : "Quantity" - }, { - "localId" : "236", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "value" : 3.0, - "unit" : "ml", - "type" : "Quantity" - }, { - "localId" : "237", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "value" : 4.0, - "unit" : "ml", - "type" : "Quantity" - }, { - "localId" : "238", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "value" : 5.0, - "unit" : "ml", - "type" : "Quantity" + }, { + "value" : [ "," ] + }, { + "r" : "235", + "s" : [ { + "value" : [ "2.0 ", "'ml'" ] } ] - } - } - }, { - "localId" : "250", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "name" : "q_diff_units", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "250", + }, { + "value" : [ "," ] + }, { + "r" : "236", "s" : [ { - "value" : [ "","define ","q_diff_units",": " ] - }, { - "r" : "263", - "s" : [ { - "value" : [ "PopulationVariance","(" ] - }, { - "r" : "251", - "s" : [ { - "value" : [ "{" ] - }, { - "r" : "252", - "s" : [ { - "value" : [ "1.0 ","'ml'" ] - } ] - }, { - "value" : [ "," ] - }, { - "r" : "253", - "s" : [ { - "value" : [ "0.002 ","'l'" ] - } ] - }, { - "value" : [ "," ] - }, { - "r" : "254", - "s" : [ { - "value" : [ "0.003 ","'l'" ] - } ] - }, { - "value" : [ "," ] - }, { - "r" : "255", - "s" : [ { - "value" : [ "0.04 ","'dl'" ] - } ] - }, { - "value" : [ "," ] - }, { - "r" : "256", - "s" : [ { - "value" : [ "5.0 ","'ml'" ] - } ] - }, { - "value" : [ "}" ] - } ] - }, { - "value" : [ ")" ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "263", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "PopulationVariance", - "signature" : [ { - "localId" : "264", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "265", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } - } ], - "source" : { - "localId" : "251", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "257", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "258", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } - }, - "element" : [ { - "localId" : "252", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "value" : 1.0, - "unit" : "ml", - "type" : "Quantity" - }, { - "localId" : "253", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "value" : 0.002, - "unit" : "l", - "type" : "Quantity" - }, { - "localId" : "254", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "value" : 0.003, - "unit" : "l", - "type" : "Quantity" - }, { - "localId" : "255", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "value" : 0.04, - "unit" : "dl", - "type" : "Quantity" - }, { - "localId" : "256", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "value" : 5.0, - "unit" : "ml", - "type" : "Quantity" + "value" : [ "3.0 ", "'ml'" ] } ] - } - } - }, { - "localId" : "268", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "name" : "NumbersAndQuantities", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "268", + }, { + "value" : [ "," ] + }, { + "r" : "237", "s" : [ { - "value" : [ "","define ","NumbersAndQuantities",": " ] - }, { - "r" : "290", - "s" : [ { - "value" : [ "PopulationVariance","(" ] - }, { - "r" : "269", - "s" : [ { - "r" : "270", - "value" : [ "{","1.0"," ,","2.0"," ,","3.0"," ," ] - }, { - "r" : "273", - "s" : [ { - "value" : [ "4.0 ","'ml'" ] - } ] - }, { - "value" : [ "," ] - }, { - "r" : "274", - "s" : [ { - "value" : [ "5.0 ","'ml'" ] - } ] - }, { - "value" : [ "}" ] - } ] - }, { - "value" : [ ")" ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "290", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "PopulationVariance", - "signature" : [ { - "localId" : "291", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "292", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } - } ], - "source" : { - "localId" : "269", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "284", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "285", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } - }, - "element" : [ { - "localId" : "276", - "type" : "ToQuantity", - "signature" : [ { - "localId" : "277", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "270", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "1.0", - "type" : "Literal" - } - }, { - "localId" : "279", - "type" : "ToQuantity", - "signature" : [ { - "localId" : "280", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "271", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "2.0", - "type" : "Literal" - } - }, { - "localId" : "282", - "type" : "ToQuantity", - "signature" : [ { - "localId" : "283", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "272", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "3.0", - "type" : "Literal" - } - }, { - "localId" : "273", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "value" : 4.0, - "unit" : "ml", - "type" : "Quantity" - }, { - "localId" : "274", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "value" : 5.0, - "unit" : "ml", - "type" : "Quantity" - } ] - } - } - }, { - "localId" : "295", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "name" : "IncompatibleUnitsNull", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "295", + "value" : [ "4.0 ", "'ml'" ] + } ] + }, { + "value" : [ "," ] + }, { + "r" : "238", "s" : [ { - "value" : [ "","define ","IncompatibleUnitsNull",": " ] - }, { - "r" : "305", - "s" : [ { - "value" : [ "PopulationVariance","(" ] - }, { - "r" : "296", - "s" : [ { - "value" : [ "{" ] - }, { - "r" : "297", - "s" : [ { - "value" : [ "1 ","'mg/d'" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "298", - "s" : [ { - "value" : [ "0.002 ","'/d'" ] - } ] - }, { - "value" : [ "}" ] - } ] - }, { - "value" : [ ")" ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "305", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "PopulationVariance", - "signature" : [ { - "localId" : "306", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "307", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } - } ], - "source" : { - "localId" : "296", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "299", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "300", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } - }, - "element" : [ { - "localId" : "297", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "value" : 1, - "unit" : "mg/d", - "type" : "Quantity" - }, { - "localId" : "298", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "value" : 0.002, - "unit" : "/d", - "type" : "Quantity" + "value" : [ "5.0 ", "'ml'" ] } ] - } - } - } ] - } - } + }, { + "value" : [ "}" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "PopulationVariance", + "localId" : "245", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ], + "signature" : [ { + "type" : "ListTypeSpecifier", + "localId" : "246", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "247", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } + } ], + "source" : { + "type" : "List", + "localId" : "233", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "239", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "240", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } + }, + "element" : [ { + "type" : "Quantity", + "localId" : "234", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "value" : 1.0, + "unit" : "ml", + "annotation" : [ ] + }, { + "type" : "Quantity", + "localId" : "235", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "value" : 2.0, + "unit" : "ml", + "annotation" : [ ] + }, { + "type" : "Quantity", + "localId" : "236", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "value" : 3.0, + "unit" : "ml", + "annotation" : [ ] + }, { + "type" : "Quantity", + "localId" : "237", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "value" : 4.0, + "unit" : "ml", + "annotation" : [ ] + }, { + "type" : "Quantity", + "localId" : "238", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "value" : 5.0, + "unit" : "ml", + "annotation" : [ ] + } ] + } + } + }, { + "localId" : "250", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "name" : "q_diff_units", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "250", + "s" : [ { + "value" : [ "", "define ", "q_diff_units", ": " ] + }, { + "r" : "263", + "s" : [ { + "value" : [ "PopulationVariance", "(" ] + }, { + "r" : "251", + "s" : [ { + "value" : [ "{" ] + }, { + "r" : "252", + "s" : [ { + "value" : [ "1.0 ", "'ml'" ] + } ] + }, { + "value" : [ "," ] + }, { + "r" : "253", + "s" : [ { + "value" : [ "0.002 ", "'l'" ] + } ] + }, { + "value" : [ "," ] + }, { + "r" : "254", + "s" : [ { + "value" : [ "0.003 ", "'l'" ] + } ] + }, { + "value" : [ "," ] + }, { + "r" : "255", + "s" : [ { + "value" : [ "0.04 ", "'dl'" ] + } ] + }, { + "value" : [ "," ] + }, { + "r" : "256", + "s" : [ { + "value" : [ "5.0 ", "'ml'" ] + } ] + }, { + "value" : [ "}" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "PopulationVariance", + "localId" : "263", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ], + "signature" : [ { + "type" : "ListTypeSpecifier", + "localId" : "264", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "265", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } + } ], + "source" : { + "type" : "List", + "localId" : "251", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "257", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "258", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } + }, + "element" : [ { + "type" : "Quantity", + "localId" : "252", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "value" : 1.0, + "unit" : "ml", + "annotation" : [ ] + }, { + "type" : "Quantity", + "localId" : "253", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "value" : 0.002, + "unit" : "l", + "annotation" : [ ] + }, { + "type" : "Quantity", + "localId" : "254", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "value" : 0.003, + "unit" : "l", + "annotation" : [ ] + }, { + "type" : "Quantity", + "localId" : "255", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "value" : 0.04, + "unit" : "dl", + "annotation" : [ ] + }, { + "type" : "Quantity", + "localId" : "256", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "value" : 5.0, + "unit" : "ml", + "annotation" : [ ] + } ] + } + } + }, { + "localId" : "268", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "name" : "NumbersAndQuantities", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "268", + "s" : [ { + "value" : [ "", "define ", "NumbersAndQuantities", ": " ] + }, { + "r" : "290", + "s" : [ { + "value" : [ "PopulationVariance", "(" ] + }, { + "r" : "269", + "s" : [ { + "r" : "270", + "value" : [ "{", "1.0", " ,", "2.0", " ,", "3.0", " ," ] + }, { + "r" : "273", + "s" : [ { + "value" : [ "4.0 ", "'ml'" ] + } ] + }, { + "value" : [ "," ] + }, { + "r" : "274", + "s" : [ { + "value" : [ "5.0 ", "'ml'" ] + } ] + }, { + "value" : [ "}" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "PopulationVariance", + "localId" : "290", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ], + "signature" : [ { + "type" : "ListTypeSpecifier", + "localId" : "291", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "292", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } + } ], + "source" : { + "type" : "List", + "localId" : "269", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "284", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "285", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } + }, + "element" : [ { + "type" : "ToQuantity", + "localId" : "276", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "277", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } ], + "operand" : { + "type" : "Literal", + "localId" : "270", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "1.0", + "annotation" : [ ] + } + }, { + "type" : "ToQuantity", + "localId" : "279", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "280", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } ], + "operand" : { + "type" : "Literal", + "localId" : "271", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "2.0", + "annotation" : [ ] + } + }, { + "type" : "ToQuantity", + "localId" : "282", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "283", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } ], + "operand" : { + "type" : "Literal", + "localId" : "272", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "3.0", + "annotation" : [ ] + } + }, { + "type" : "Quantity", + "localId" : "273", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "value" : 4.0, + "unit" : "ml", + "annotation" : [ ] + }, { + "type" : "Quantity", + "localId" : "274", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "value" : 5.0, + "unit" : "ml", + "annotation" : [ ] + } ] + } + } + }, { + "localId" : "295", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "name" : "IncompatibleUnitsNull", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "295", + "s" : [ { + "value" : [ "", "define ", "IncompatibleUnitsNull", ": " ] + }, { + "r" : "305", + "s" : [ { + "value" : [ "PopulationVariance", "(" ] + }, { + "r" : "296", + "s" : [ { + "value" : [ "{" ] + }, { + "r" : "297", + "s" : [ { + "value" : [ "1 ", "'mg/d'" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "298", + "s" : [ { + "value" : [ "0.002 ", "'/d'" ] + } ] + }, { + "value" : [ "}" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "PopulationVariance", + "localId" : "305", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ], + "signature" : [ { + "type" : "ListTypeSpecifier", + "localId" : "306", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "307", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } + } ], + "source" : { + "type" : "List", + "localId" : "296", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "299", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "300", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } + }, + "element" : [ { + "type" : "Quantity", + "localId" : "297", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "value" : 1, + "unit" : "mg/d", + "annotation" : [ ] + }, { + "type" : "Quantity", + "localId" : "298", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "value" : 0.002, + "unit" : "/d", + "annotation" : [ ] + } ] + } + } + } ] + } + } } /* StdDev @@ -10153,770 +11374,860 @@ define IncompatibleUnitsNull: StdDev({1 'mg/d', 0.002 '/d'}) */ module.exports['StdDev'] = { - "library" : { - "localId" : "0", - "annotation" : [ { - "translatorVersion" : "3.27.0", - "translatorOptions" : "EnableDateRangeOptimization,EnableAnnotations,EnableResultTypes", - "signatureLevel" : "All", - "type" : "CqlToElmInfo" - }, { - "type" : "Annotation", - "s" : { - "r" : "330", + "library" : { + "localId" : "0", + "annotation" : [ { + "type" : "CqlToElmInfo", + "translatorVersion" : "4.2.0", + "translatorOptions" : "EnableDateRangeOptimization,EnableAnnotations,EnableResultTypes", + "signatureLevel" : "All" + }, { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "330", + "s" : [ { + "value" : [ "", "library TestSnippet version '1'" ] + } ] + } + } ], + "identifier" : { + "id" : "TestSnippet", + "version" : "1" + }, + "schemaIdentifier" : { + "id" : "urn:hl7-org:elm", + "version" : "r1" + }, + "usings" : { + "def" : [ { + "localId" : "1", + "localIdentifier" : "System", + "uri" : "urn:hl7-org:elm-types:r1", + "annotation" : [ ] + }, { + "localId" : "206", + "localIdentifier" : "Simple", + "uri" : "https://github.com/cqframework/cql-execution/simple", + "version" : "1.0.0", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "206", "s" : [ { - "value" : [ "","library TestSnippet version '1'" ] - } ] - } - } ], - "identifier" : { - "id" : "TestSnippet", - "version" : "1" - }, - "schemaIdentifier" : { - "id" : "urn:hl7-org:elm", - "version" : "r1" - }, - "usings" : { - "def" : [ { - "localId" : "1", - "localIdentifier" : "System", - "uri" : "urn:hl7-org:elm-types:r1" - }, { - "localId" : "206", - "localIdentifier" : "Simple", - "uri" : "https://github.com/cqframework/cql-execution/simple", - "version" : "1.0.0", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "206", - "s" : [ { - "value" : [ "","using " ] - }, { - "s" : [ { - "value" : [ "Simple" ] - } ] - }, { - "value" : [ " version '1.0.0'" ] - } ] - } - } ] - } ] - }, - "contexts" : { - "def" : [ { - "localId" : "211", - "name" : "Patient" - } ] - }, - "statements" : { - "def" : [ { - "localId" : "209", - "name" : "Patient", - "context" : "Patient", - "expression" : { - "localId" : "210", - "type" : "SingletonFrom", - "signature" : [ ], - "operand" : { - "localId" : "208", - "dataType" : "{https://github.com/cqframework/cql-execution/simple}Patient", - "type" : "Retrieve", - "include" : [ ], - "codeFilter" : [ ], - "dateFilter" : [ ], - "otherFilter" : [ ] - } - } - }, { - "localId" : "214", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "name" : "std", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "214", - "s" : [ { - "value" : [ "","define ","std",": " ] - }, { - "r" : "234", - "s" : [ { - "value" : [ "StdDev","(" ] - }, { - "r" : "215", - "s" : [ { - "r" : "216", - "value" : [ "{","1",",","2",",","3",",","4",",","5","}" ] - } ] - }, { - "value" : [ ")" ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "234", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "StdDev", - "signature" : [ { - "localId" : "242", + "value" : [ "", "using " ] + }, { + "s" : [ { + "value" : [ "Simple" ] + } ] + }, { + "value" : [ " version '1.0.0'" ] + } ] + } + } ] + } ] + }, + "contexts" : { + "def" : [ { + "localId" : "211", + "name" : "Patient", + "annotation" : [ ] + } ] + }, + "statements" : { + "def" : [ { + "localId" : "209", + "name" : "Patient", + "context" : "Patient", + "annotation" : [ ], + "expression" : { + "type" : "SingletonFrom", + "localId" : "210", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Retrieve", + "localId" : "208", + "dataType" : "{https://github.com/cqframework/cql-execution/simple}Patient", + "annotation" : [ ], + "include" : [ ], + "codeFilter" : [ ], + "dateFilter" : [ ], + "otherFilter" : [ ] + } + } + }, { + "localId" : "214", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "name" : "std", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "214", + "s" : [ { + "value" : [ "", "define ", "std", ": " ] + }, { + "r" : "234", + "s" : [ { + "value" : [ "StdDev", "(" ] + }, { + "r" : "215", + "s" : [ { + "r" : "216", + "value" : [ "{", "1", ",", "2", ",", "3", ",", "4", ",", "5", "}" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "StdDev", + "localId" : "234", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ], + "signature" : [ { + "type" : "ListTypeSpecifier", + "localId" : "242", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "243", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } + } ], + "source" : { + "type" : "Query", + "localId" : "235", + "annotation" : [ ], + "source" : [ { + "localId" : "236", + "alias" : "X", + "annotation" : [ ], + "expression" : { + "type" : "List", + "localId" : "215", + "annotation" : [ ], + "resultTypeSpecifier" : { "type" : "ListTypeSpecifier", + "localId" : "221", + "annotation" : [ ], "elementType" : { - "localId" : "243", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } - } ], - "source" : { - "localId" : "235", - "type" : "Query", - "source" : [ { - "localId" : "236", - "alias" : "X", - "expression" : { - "localId" : "215", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "221", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "222", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "element" : [ { - "localId" : "216", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, { - "localId" : "217", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal" - }, { - "localId" : "218", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, { - "localId" : "219", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "4", - "type" : "Literal" - }, { - "localId" : "220", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal" - } ] - } - } ], - "let" : [ ], - "relationship" : [ ], - "return" : { - "localId" : "237", - "distinct" : false, - "expression" : { - "localId" : "240", - "type" : "ToDecimal", - "signature" : [ { - "localId" : "241", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "238", - "name" : "X", - "type" : "AliasRef" - } - } - } - } - } - }, { - "localId" : "246", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "name" : "std_q", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "246", - "s" : [ { - "value" : [ "","define ","std_q",": " ] - }, { - "r" : "259", - "s" : [ { - "value" : [ "StdDev","(" ] - }, { - "r" : "247", - "s" : [ { - "value" : [ "{" ] - }, { - "r" : "248", - "s" : [ { - "value" : [ "1 ","'ml'" ] - } ] - }, { - "value" : [ "," ] - }, { - "r" : "249", - "s" : [ { - "value" : [ "2 ","'ml'" ] - } ] - }, { - "value" : [ "," ] - }, { - "r" : "250", - "s" : [ { - "value" : [ "3 ","'ml'" ] - } ] - }, { - "value" : [ "," ] - }, { - "r" : "251", - "s" : [ { - "value" : [ "4 ","'ml'" ] - } ] - }, { - "value" : [ "," ] - }, { - "r" : "252", - "s" : [ { - "value" : [ "5 ","'ml'" ] - } ] - }, { - "value" : [ "}" ] - } ] - }, { - "value" : [ ")" ] - } ] - } ] - } + "type" : "NamedTypeSpecifier", + "localId" : "222", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "element" : [ { + "type" : "Literal", + "localId" : "216", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "217", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "218", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "219", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "4", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "220", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "5", + "annotation" : [ ] + } ] + } } ], - "expression" : { - "localId" : "259", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "StdDev", - "signature" : [ { - "localId" : "260", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "261", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } - } ], - "source" : { - "localId" : "247", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "253", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "254", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } - }, - "element" : [ { - "localId" : "248", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "value" : 1, - "unit" : "ml", - "type" : "Quantity" - }, { - "localId" : "249", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "value" : 2, - "unit" : "ml", - "type" : "Quantity" - }, { - "localId" : "250", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "value" : 3, - "unit" : "ml", - "type" : "Quantity" - }, { - "localId" : "251", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "value" : 4, - "unit" : "ml", - "type" : "Quantity" - }, { - "localId" : "252", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "value" : 5, - "unit" : "ml", - "type" : "Quantity" + "let" : [ ], + "relationship" : [ ], + "return" : { + "localId" : "237", + "distinct" : false, + "annotation" : [ ], + "expression" : { + "type" : "ToDecimal", + "localId" : "240", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "241", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "operand" : { + "type" : "AliasRef", + "localId" : "238", + "name" : "X", + "annotation" : [ ] + } + } + } + } + } + }, { + "localId" : "246", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "name" : "std_q", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "246", + "s" : [ { + "value" : [ "", "define ", "std_q", ": " ] + }, { + "r" : "259", + "s" : [ { + "value" : [ "StdDev", "(" ] + }, { + "r" : "247", + "s" : [ { + "value" : [ "{" ] + }, { + "r" : "248", + "s" : [ { + "value" : [ "1 ", "'ml'" ] + } ] + }, { + "value" : [ "," ] + }, { + "r" : "249", + "s" : [ { + "value" : [ "2 ", "'ml'" ] + } ] + }, { + "value" : [ "," ] + }, { + "r" : "250", + "s" : [ { + "value" : [ "3 ", "'ml'" ] } ] - } - } - }, { - "localId" : "264", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "name" : "q_diff_units", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "264", - "s" : [ { - "value" : [ "","define ","q_diff_units",": " ] - }, { - "r" : "277", - "s" : [ { - "value" : [ "StdDev","(" ] - }, { - "r" : "265", - "s" : [ { - "value" : [ "{" ] - }, { - "r" : "266", - "s" : [ { - "value" : [ "1 ","'ml'" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "267", - "s" : [ { - "value" : [ "0.002 ","'l'" ] - } ] - }, { - "value" : [ "," ] - }, { - "r" : "268", - "s" : [ { - "value" : [ "3 ","'ml'" ] - } ] - }, { - "value" : [ "," ] - }, { - "r" : "269", - "s" : [ { - "value" : [ "4 ","'ml'" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "270", - "s" : [ { - "value" : [ "0.05 ","'dl'" ] - } ] - }, { - "value" : [ "}" ] - } ] - }, { - "value" : [ ")" ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "277", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "StdDev", - "signature" : [ { - "localId" : "278", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "279", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } - } ], - "source" : { - "localId" : "265", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "271", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "272", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } - }, - "element" : [ { - "localId" : "266", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "value" : 1, - "unit" : "ml", - "type" : "Quantity" - }, { - "localId" : "267", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "value" : 0.002, - "unit" : "l", - "type" : "Quantity" - }, { - "localId" : "268", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "value" : 3, - "unit" : "ml", - "type" : "Quantity" - }, { - "localId" : "269", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "value" : 4, - "unit" : "ml", - "type" : "Quantity" - }, { - "localId" : "270", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "value" : 0.05, - "unit" : "dl", - "type" : "Quantity" - } ] - } - } - }, { - "localId" : "282", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "name" : "sq_throw1", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "282", + }, { + "value" : [ "," ] + }, { + "r" : "251", "s" : [ { - "value" : [ "","define ","sq_throw1",": " ] - }, { - "r" : "295", - "s" : [ { - "value" : [ "StdDev","(" ] - }, { - "r" : "283", - "s" : [ { - "value" : [ "{" ] - }, { - "r" : "284", - "s" : [ { - "value" : [ "1 ","'ml'" ] - } ] - }, { - "value" : [ "," ] - }, { - "r" : "285", - "s" : [ { - "value" : [ "2 ","'ml'" ] - } ] - }, { - "value" : [ "," ] - }, { - "r" : "286", - "s" : [ { - "value" : [ "3 ","'ml'" ] - } ] - }, { - "value" : [ "," ] - }, { - "r" : "287", - "s" : [ { - "value" : [ "4 ","'ml'" ] - } ] - }, { - "value" : [ "," ] - }, { - "r" : "288", - "s" : [ { - "value" : [ "5 ","'m'" ] - } ] - }, { - "value" : [ "}" ] - } ] - }, { - "value" : [ ")" ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "295", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "StdDev", - "signature" : [ { - "localId" : "296", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "297", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } - } ], - "source" : { - "localId" : "283", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "289", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "290", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } - }, - "element" : [ { - "localId" : "284", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "value" : 1, - "unit" : "ml", - "type" : "Quantity" - }, { - "localId" : "285", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "value" : 2, - "unit" : "ml", - "type" : "Quantity" - }, { - "localId" : "286", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "value" : 3, - "unit" : "ml", - "type" : "Quantity" - }, { - "localId" : "287", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "value" : 4, - "unit" : "ml", - "type" : "Quantity" - }, { - "localId" : "288", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "value" : 5, - "unit" : "m", - "type" : "Quantity" - } ] - } - } - }, { - "localId" : "300", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "name" : "NumbersAndQuantities", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "300", + "value" : [ "4 ", "'ml'" ] + } ] + }, { + "value" : [ "," ] + }, { + "r" : "252", "s" : [ { - "value" : [ "","define ","NumbersAndQuantities",": " ] - }, { - "r" : "325", - "s" : [ { - "value" : [ "StdDev","(" ] - }, { - "r" : "301", - "s" : [ { - "r" : "302", - "value" : [ "{","1"," ,","2"," ,","3"," ," ] - }, { - "r" : "305", - "s" : [ { - "value" : [ "4 ","'ml'" ] - } ] - }, { - "r" : "306", - "value" : [ ",","5"," }" ] - } ] - }, { - "value" : [ ")" ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "325", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "StdDev", - "signature" : [ { - "localId" : "326", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "327", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } - } ], - "source" : { - "localId" : "301", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "319", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "320", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } - }, - "element" : [ { - "localId" : "308", - "type" : "ToQuantity", - "signature" : [ { - "localId" : "309", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "302", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - } - }, { - "localId" : "311", - "type" : "ToQuantity", - "signature" : [ { - "localId" : "312", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "303", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal" - } - }, { - "localId" : "314", - "type" : "ToQuantity", - "signature" : [ { - "localId" : "315", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "304", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - } - }, { - "localId" : "305", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "value" : 4, - "unit" : "ml", - "type" : "Quantity" - }, { - "localId" : "317", - "type" : "ToQuantity", - "signature" : [ { - "localId" : "318", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "306", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal" - } - } ] - } - } - }, { - "localId" : "330", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "name" : "IncompatibleUnitsNull", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "330", + "value" : [ "5 ", "'ml'" ] + } ] + }, { + "value" : [ "}" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "StdDev", + "localId" : "259", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ], + "signature" : [ { + "type" : "ListTypeSpecifier", + "localId" : "260", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "261", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } + } ], + "source" : { + "type" : "List", + "localId" : "247", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "253", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "254", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } + }, + "element" : [ { + "type" : "Quantity", + "localId" : "248", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "value" : 1, + "unit" : "ml", + "annotation" : [ ] + }, { + "type" : "Quantity", + "localId" : "249", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "value" : 2, + "unit" : "ml", + "annotation" : [ ] + }, { + "type" : "Quantity", + "localId" : "250", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "value" : 3, + "unit" : "ml", + "annotation" : [ ] + }, { + "type" : "Quantity", + "localId" : "251", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "value" : 4, + "unit" : "ml", + "annotation" : [ ] + }, { + "type" : "Quantity", + "localId" : "252", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "value" : 5, + "unit" : "ml", + "annotation" : [ ] + } ] + } + } + }, { + "localId" : "264", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "name" : "q_diff_units", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "264", + "s" : [ { + "value" : [ "", "define ", "q_diff_units", ": " ] + }, { + "r" : "277", + "s" : [ { + "value" : [ "StdDev", "(" ] + }, { + "r" : "265", + "s" : [ { + "value" : [ "{" ] + }, { + "r" : "266", "s" : [ { - "value" : [ "","define ","IncompatibleUnitsNull",": " ] - }, { - "r" : "340", - "s" : [ { - "value" : [ "StdDev","(" ] - }, { - "r" : "331", - "s" : [ { - "value" : [ "{" ] - }, { - "r" : "332", - "s" : [ { - "value" : [ "1 ","'mg/d'" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "333", - "s" : [ { - "value" : [ "0.002 ","'/d'" ] - } ] - }, { - "value" : [ "}" ] - } ] - }, { - "value" : [ ")" ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "340", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "StdDev", - "signature" : [ { - "localId" : "341", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "342", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } - } ], - "source" : { - "localId" : "331", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "334", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "335", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } - }, - "element" : [ { - "localId" : "332", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "value" : 1, - "unit" : "mg/d", - "type" : "Quantity" - }, { - "localId" : "333", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "value" : 0.002, - "unit" : "/d", - "type" : "Quantity" + "value" : [ "1 ", "'ml'" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "267", + "s" : [ { + "value" : [ "0.002 ", "'l'" ] + } ] + }, { + "value" : [ "," ] + }, { + "r" : "268", + "s" : [ { + "value" : [ "3 ", "'ml'" ] + } ] + }, { + "value" : [ "," ] + }, { + "r" : "269", + "s" : [ { + "value" : [ "4 ", "'ml'" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "270", + "s" : [ { + "value" : [ "0.05 ", "'dl'" ] + } ] + }, { + "value" : [ "}" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "StdDev", + "localId" : "277", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ], + "signature" : [ { + "type" : "ListTypeSpecifier", + "localId" : "278", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "279", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } + } ], + "source" : { + "type" : "List", + "localId" : "265", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "271", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "272", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } + }, + "element" : [ { + "type" : "Quantity", + "localId" : "266", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "value" : 1, + "unit" : "ml", + "annotation" : [ ] + }, { + "type" : "Quantity", + "localId" : "267", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "value" : 0.002, + "unit" : "l", + "annotation" : [ ] + }, { + "type" : "Quantity", + "localId" : "268", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "value" : 3, + "unit" : "ml", + "annotation" : [ ] + }, { + "type" : "Quantity", + "localId" : "269", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "value" : 4, + "unit" : "ml", + "annotation" : [ ] + }, { + "type" : "Quantity", + "localId" : "270", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "value" : 0.05, + "unit" : "dl", + "annotation" : [ ] + } ] + } + } + }, { + "localId" : "282", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "name" : "sq_throw1", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "282", + "s" : [ { + "value" : [ "", "define ", "sq_throw1", ": " ] + }, { + "r" : "295", + "s" : [ { + "value" : [ "StdDev", "(" ] + }, { + "r" : "283", + "s" : [ { + "value" : [ "{" ] + }, { + "r" : "284", + "s" : [ { + "value" : [ "1 ", "'ml'" ] + } ] + }, { + "value" : [ "," ] + }, { + "r" : "285", + "s" : [ { + "value" : [ "2 ", "'ml'" ] + } ] + }, { + "value" : [ "," ] + }, { + "r" : "286", + "s" : [ { + "value" : [ "3 ", "'ml'" ] + } ] + }, { + "value" : [ "," ] + }, { + "r" : "287", + "s" : [ { + "value" : [ "4 ", "'ml'" ] + } ] + }, { + "value" : [ "," ] + }, { + "r" : "288", + "s" : [ { + "value" : [ "5 ", "'m'" ] + } ] + }, { + "value" : [ "}" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "StdDev", + "localId" : "295", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ], + "signature" : [ { + "type" : "ListTypeSpecifier", + "localId" : "296", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "297", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } + } ], + "source" : { + "type" : "List", + "localId" : "283", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "289", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "290", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } + }, + "element" : [ { + "type" : "Quantity", + "localId" : "284", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "value" : 1, + "unit" : "ml", + "annotation" : [ ] + }, { + "type" : "Quantity", + "localId" : "285", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "value" : 2, + "unit" : "ml", + "annotation" : [ ] + }, { + "type" : "Quantity", + "localId" : "286", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "value" : 3, + "unit" : "ml", + "annotation" : [ ] + }, { + "type" : "Quantity", + "localId" : "287", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "value" : 4, + "unit" : "ml", + "annotation" : [ ] + }, { + "type" : "Quantity", + "localId" : "288", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "value" : 5, + "unit" : "m", + "annotation" : [ ] + } ] + } + } + }, { + "localId" : "300", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "name" : "NumbersAndQuantities", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "300", + "s" : [ { + "value" : [ "", "define ", "NumbersAndQuantities", ": " ] + }, { + "r" : "325", + "s" : [ { + "value" : [ "StdDev", "(" ] + }, { + "r" : "301", + "s" : [ { + "r" : "302", + "value" : [ "{", "1", " ,", "2", " ,", "3", " ," ] + }, { + "r" : "305", + "s" : [ { + "value" : [ "4 ", "'ml'" ] + } ] + }, { + "r" : "306", + "value" : [ ",", "5", " }" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "StdDev", + "localId" : "325", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ], + "signature" : [ { + "type" : "ListTypeSpecifier", + "localId" : "326", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "327", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } + } ], + "source" : { + "type" : "List", + "localId" : "301", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "319", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "320", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } + }, + "element" : [ { + "type" : "ToQuantity", + "localId" : "308", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "309", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "operand" : { + "type" : "Literal", + "localId" : "302", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + } + }, { + "type" : "ToQuantity", + "localId" : "311", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "312", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "operand" : { + "type" : "Literal", + "localId" : "303", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "annotation" : [ ] + } + }, { + "type" : "ToQuantity", + "localId" : "314", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "315", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "operand" : { + "type" : "Literal", + "localId" : "304", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + } + }, { + "type" : "Quantity", + "localId" : "305", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "value" : 4, + "unit" : "ml", + "annotation" : [ ] + }, { + "type" : "ToQuantity", + "localId" : "317", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "318", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "operand" : { + "type" : "Literal", + "localId" : "306", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "5", + "annotation" : [ ] + } + } ] + } + } + }, { + "localId" : "330", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "name" : "IncompatibleUnitsNull", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "330", + "s" : [ { + "value" : [ "", "define ", "IncompatibleUnitsNull", ": " ] + }, { + "r" : "340", + "s" : [ { + "value" : [ "StdDev", "(" ] + }, { + "r" : "331", + "s" : [ { + "value" : [ "{" ] + }, { + "r" : "332", + "s" : [ { + "value" : [ "1 ", "'mg/d'" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "333", + "s" : [ { + "value" : [ "0.002 ", "'/d'" ] } ] - } - } - } ] - } - } + }, { + "value" : [ "}" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "StdDev", + "localId" : "340", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ], + "signature" : [ { + "type" : "ListTypeSpecifier", + "localId" : "341", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "342", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } + } ], + "source" : { + "type" : "List", + "localId" : "331", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "334", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "335", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } + }, + "element" : [ { + "type" : "Quantity", + "localId" : "332", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "value" : 1, + "unit" : "mg/d", + "annotation" : [ ] + }, { + "type" : "Quantity", + "localId" : "333", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "value" : 0.002, + "unit" : "/d", + "annotation" : [ ] + } ] + } + } + } ] + } + } } /* PopulationStdDev @@ -10931,650 +12242,728 @@ define IncompatibleUnitsNull: PopulationStdDev({1 'mg/d', 0.002 '/d'}) */ module.exports['PopulationStdDev'] = { - "library" : { - "localId" : "0", - "annotation" : [ { - "translatorVersion" : "3.27.0", - "translatorOptions" : "EnableDateRangeOptimization,EnableAnnotations,EnableResultTypes", - "signatureLevel" : "All", - "type" : "CqlToElmInfo" - }, { - "type" : "Annotation", - "s" : { - "r" : "312", + "library" : { + "localId" : "0", + "annotation" : [ { + "type" : "CqlToElmInfo", + "translatorVersion" : "4.2.0", + "translatorOptions" : "EnableDateRangeOptimization,EnableAnnotations,EnableResultTypes", + "signatureLevel" : "All" + }, { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "312", + "s" : [ { + "value" : [ "", "library TestSnippet version '1'" ] + } ] + } + } ], + "identifier" : { + "id" : "TestSnippet", + "version" : "1" + }, + "schemaIdentifier" : { + "id" : "urn:hl7-org:elm", + "version" : "r1" + }, + "usings" : { + "def" : [ { + "localId" : "1", + "localIdentifier" : "System", + "uri" : "urn:hl7-org:elm-types:r1", + "annotation" : [ ] + }, { + "localId" : "206", + "localIdentifier" : "Simple", + "uri" : "https://github.com/cqframework/cql-execution/simple", + "version" : "1.0.0", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "206", "s" : [ { - "value" : [ "","library TestSnippet version '1'" ] - } ] - } - } ], - "identifier" : { - "id" : "TestSnippet", - "version" : "1" - }, - "schemaIdentifier" : { - "id" : "urn:hl7-org:elm", - "version" : "r1" - }, - "usings" : { - "def" : [ { - "localId" : "1", - "localIdentifier" : "System", - "uri" : "urn:hl7-org:elm-types:r1" - }, { - "localId" : "206", - "localIdentifier" : "Simple", - "uri" : "https://github.com/cqframework/cql-execution/simple", - "version" : "1.0.0", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "206", - "s" : [ { - "value" : [ "","using " ] - }, { - "s" : [ { - "value" : [ "Simple" ] - } ] - }, { - "value" : [ " version '1.0.0'" ] - } ] - } - } ] - } ] - }, - "contexts" : { - "def" : [ { - "localId" : "211", - "name" : "Patient" - } ] - }, - "statements" : { - "def" : [ { - "localId" : "209", - "name" : "Patient", - "context" : "Patient", - "expression" : { - "localId" : "210", - "type" : "SingletonFrom", - "signature" : [ ], - "operand" : { - "localId" : "208", - "dataType" : "{https://github.com/cqframework/cql-execution/simple}Patient", - "type" : "Retrieve", - "include" : [ ], - "codeFilter" : [ ], - "dateFilter" : [ ], - "otherFilter" : [ ] - } - } - }, { - "localId" : "214", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "name" : "dev", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "214", - "s" : [ { - "value" : [ "","define ","dev",": " ] - }, { - "r" : "234", - "s" : [ { - "value" : [ "PopulationStdDev","(" ] - }, { - "r" : "215", - "s" : [ { - "r" : "216", - "value" : [ "{","1",",","2",",","3",",","4",",","5","}" ] - } ] - }, { - "value" : [ ")" ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "234", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "PopulationStdDev", - "signature" : [ { - "localId" : "242", + "value" : [ "", "using " ] + }, { + "s" : [ { + "value" : [ "Simple" ] + } ] + }, { + "value" : [ " version '1.0.0'" ] + } ] + } + } ] + } ] + }, + "contexts" : { + "def" : [ { + "localId" : "211", + "name" : "Patient", + "annotation" : [ ] + } ] + }, + "statements" : { + "def" : [ { + "localId" : "209", + "name" : "Patient", + "context" : "Patient", + "annotation" : [ ], + "expression" : { + "type" : "SingletonFrom", + "localId" : "210", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Retrieve", + "localId" : "208", + "dataType" : "{https://github.com/cqframework/cql-execution/simple}Patient", + "annotation" : [ ], + "include" : [ ], + "codeFilter" : [ ], + "dateFilter" : [ ], + "otherFilter" : [ ] + } + } + }, { + "localId" : "214", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "name" : "dev", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "214", + "s" : [ { + "value" : [ "", "define ", "dev", ": " ] + }, { + "r" : "234", + "s" : [ { + "value" : [ "PopulationStdDev", "(" ] + }, { + "r" : "215", + "s" : [ { + "r" : "216", + "value" : [ "{", "1", ",", "2", ",", "3", ",", "4", ",", "5", "}" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "PopulationStdDev", + "localId" : "234", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ], + "signature" : [ { + "type" : "ListTypeSpecifier", + "localId" : "242", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "243", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } + } ], + "source" : { + "type" : "Query", + "localId" : "235", + "annotation" : [ ], + "source" : [ { + "localId" : "236", + "alias" : "X", + "annotation" : [ ], + "expression" : { + "type" : "List", + "localId" : "215", + "annotation" : [ ], + "resultTypeSpecifier" : { "type" : "ListTypeSpecifier", + "localId" : "221", + "annotation" : [ ], "elementType" : { - "localId" : "243", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } - } ], - "source" : { - "localId" : "235", - "type" : "Query", - "source" : [ { - "localId" : "236", - "alias" : "X", - "expression" : { - "localId" : "215", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "221", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "222", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "element" : [ { - "localId" : "216", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, { - "localId" : "217", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal" - }, { - "localId" : "218", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, { - "localId" : "219", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "4", - "type" : "Literal" - }, { - "localId" : "220", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal" - } ] - } - } ], - "let" : [ ], - "relationship" : [ ], - "return" : { - "localId" : "237", - "distinct" : false, - "expression" : { - "localId" : "240", - "type" : "ToDecimal", - "signature" : [ { - "localId" : "241", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "238", - "name" : "X", - "type" : "AliasRef" - } - } - } - } - } - }, { - "localId" : "246", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "name" : "dev_q", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "246", - "s" : [ { - "value" : [ "","define ","dev_q",": " ] - }, { - "r" : "259", - "s" : [ { - "value" : [ "PopulationStdDev","(" ] - }, { - "r" : "247", - "s" : [ { - "value" : [ "{" ] - }, { - "r" : "248", - "s" : [ { - "value" : [ "1 ","'ml'" ] - } ] - }, { - "value" : [ "," ] - }, { - "r" : "249", - "s" : [ { - "value" : [ "2 ","'ml'" ] - } ] - }, { - "value" : [ "," ] - }, { - "r" : "250", - "s" : [ { - "value" : [ "3 ","'ml'" ] - } ] - }, { - "value" : [ "," ] - }, { - "r" : "251", - "s" : [ { - "value" : [ "4 ","'ml'" ] - } ] - }, { - "value" : [ "," ] - }, { - "r" : "252", - "s" : [ { - "value" : [ "5 ","'ml'" ] - } ] - }, { - "value" : [ "}" ] - } ] - }, { - "value" : [ ")" ] - } ] - } ] - } + "type" : "NamedTypeSpecifier", + "localId" : "222", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "element" : [ { + "type" : "Literal", + "localId" : "216", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "217", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "218", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "219", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "4", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "220", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "5", + "annotation" : [ ] + } ] + } } ], - "expression" : { - "localId" : "259", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "PopulationStdDev", - "signature" : [ { - "localId" : "260", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "261", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } - } ], - "source" : { - "localId" : "247", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "253", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "254", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } - }, - "element" : [ { - "localId" : "248", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "value" : 1, - "unit" : "ml", - "type" : "Quantity" - }, { - "localId" : "249", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "value" : 2, - "unit" : "ml", - "type" : "Quantity" - }, { - "localId" : "250", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "value" : 3, - "unit" : "ml", - "type" : "Quantity" - }, { - "localId" : "251", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "value" : 4, - "unit" : "ml", - "type" : "Quantity" - }, { - "localId" : "252", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "value" : 5, - "unit" : "ml", - "type" : "Quantity" + "let" : [ ], + "relationship" : [ ], + "return" : { + "localId" : "237", + "distinct" : false, + "annotation" : [ ], + "expression" : { + "type" : "ToDecimal", + "localId" : "240", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "241", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "operand" : { + "type" : "AliasRef", + "localId" : "238", + "name" : "X", + "annotation" : [ ] + } + } + } + } + } + }, { + "localId" : "246", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "name" : "dev_q", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "246", + "s" : [ { + "value" : [ "", "define ", "dev_q", ": " ] + }, { + "r" : "259", + "s" : [ { + "value" : [ "PopulationStdDev", "(" ] + }, { + "r" : "247", + "s" : [ { + "value" : [ "{" ] + }, { + "r" : "248", + "s" : [ { + "value" : [ "1 ", "'ml'" ] + } ] + }, { + "value" : [ "," ] + }, { + "r" : "249", + "s" : [ { + "value" : [ "2 ", "'ml'" ] + } ] + }, { + "value" : [ "," ] + }, { + "r" : "250", + "s" : [ { + "value" : [ "3 ", "'ml'" ] } ] - } - } - }, { - "localId" : "264", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "name" : "q_diff_units", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "264", - "s" : [ { - "value" : [ "","define ","q_diff_units",": " ] - }, { - "r" : "277", - "s" : [ { - "value" : [ "PopulationStdDev","(" ] - }, { - "r" : "265", - "s" : [ { - "value" : [ "{" ] - }, { - "r" : "266", - "s" : [ { - "value" : [ "1 ","'ml'" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "267", - "s" : [ { - "value" : [ "0.002 ","'l'" ] - } ] - }, { - "value" : [ "," ] - }, { - "r" : "268", - "s" : [ { - "value" : [ "3 ","'ml'" ] - } ] - }, { - "value" : [ "," ] - }, { - "r" : "269", - "s" : [ { - "value" : [ "4 ","'ml'" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "270", - "s" : [ { - "value" : [ "0.05 ","'dl'" ] - } ] - }, { - "value" : [ "}" ] - } ] - }, { - "value" : [ ")" ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "277", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "PopulationStdDev", - "signature" : [ { - "localId" : "278", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "279", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } - } ], - "source" : { - "localId" : "265", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "271", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "272", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } - }, - "element" : [ { - "localId" : "266", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "value" : 1, - "unit" : "ml", - "type" : "Quantity" - }, { - "localId" : "267", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "value" : 0.002, - "unit" : "l", - "type" : "Quantity" - }, { - "localId" : "268", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "value" : 3, - "unit" : "ml", - "type" : "Quantity" - }, { - "localId" : "269", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "value" : 4, - "unit" : "ml", - "type" : "Quantity" - }, { - "localId" : "270", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "value" : 0.05, - "unit" : "dl", - "type" : "Quantity" - } ] - } - } - }, { - "localId" : "282", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "name" : "NumbersAndQuantities", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "282", + }, { + "value" : [ "," ] + }, { + "r" : "251", "s" : [ { - "value" : [ "","define ","NumbersAndQuantities",": " ] - }, { - "r" : "307", - "s" : [ { - "value" : [ "PopulationStdDev","(" ] - }, { - "r" : "283", - "s" : [ { - "r" : "284", - "value" : [ "{","1"," ,","2"," ,","3"," ," ] - }, { - "r" : "287", - "s" : [ { - "value" : [ "4 ","'ml'" ] - } ] - }, { - "r" : "288", - "value" : [ ",","5"," }" ] - } ] - }, { - "value" : [ ")" ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "307", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "PopulationStdDev", - "signature" : [ { - "localId" : "308", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "309", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } - } ], - "source" : { - "localId" : "283", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "301", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "302", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } - }, - "element" : [ { - "localId" : "290", - "type" : "ToQuantity", - "signature" : [ { - "localId" : "291", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "284", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - } - }, { - "localId" : "293", - "type" : "ToQuantity", - "signature" : [ { - "localId" : "294", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "285", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal" - } - }, { - "localId" : "296", - "type" : "ToQuantity", - "signature" : [ { - "localId" : "297", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "286", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - } - }, { - "localId" : "287", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "value" : 4, - "unit" : "ml", - "type" : "Quantity" - }, { - "localId" : "299", - "type" : "ToQuantity", - "signature" : [ { - "localId" : "300", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "288", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal" - } - } ] - } - } - }, { - "localId" : "312", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "name" : "IncompatibleUnitsNull", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "312", + "value" : [ "4 ", "'ml'" ] + } ] + }, { + "value" : [ "," ] + }, { + "r" : "252", "s" : [ { - "value" : [ "","define ","IncompatibleUnitsNull",": " ] - }, { - "r" : "322", - "s" : [ { - "value" : [ "PopulationStdDev","(" ] - }, { - "r" : "313", - "s" : [ { - "value" : [ "{" ] - }, { - "r" : "314", - "s" : [ { - "value" : [ "1 ","'mg/d'" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "315", - "s" : [ { - "value" : [ "0.002 ","'/d'" ] - } ] - }, { - "value" : [ "}" ] - } ] - }, { - "value" : [ ")" ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "322", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "PopulationStdDev", - "signature" : [ { - "localId" : "323", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "324", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } - } ], - "source" : { - "localId" : "313", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "316", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "317", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } - }, - "element" : [ { - "localId" : "314", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "value" : 1, - "unit" : "mg/d", - "type" : "Quantity" - }, { - "localId" : "315", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "value" : 0.002, - "unit" : "/d", - "type" : "Quantity" + "value" : [ "5 ", "'ml'" ] } ] - } - } - } ] - } - } + }, { + "value" : [ "}" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "PopulationStdDev", + "localId" : "259", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ], + "signature" : [ { + "type" : "ListTypeSpecifier", + "localId" : "260", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "261", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } + } ], + "source" : { + "type" : "List", + "localId" : "247", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "253", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "254", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } + }, + "element" : [ { + "type" : "Quantity", + "localId" : "248", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "value" : 1, + "unit" : "ml", + "annotation" : [ ] + }, { + "type" : "Quantity", + "localId" : "249", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "value" : 2, + "unit" : "ml", + "annotation" : [ ] + }, { + "type" : "Quantity", + "localId" : "250", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "value" : 3, + "unit" : "ml", + "annotation" : [ ] + }, { + "type" : "Quantity", + "localId" : "251", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "value" : 4, + "unit" : "ml", + "annotation" : [ ] + }, { + "type" : "Quantity", + "localId" : "252", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "value" : 5, + "unit" : "ml", + "annotation" : [ ] + } ] + } + } + }, { + "localId" : "264", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "name" : "q_diff_units", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "264", + "s" : [ { + "value" : [ "", "define ", "q_diff_units", ": " ] + }, { + "r" : "277", + "s" : [ { + "value" : [ "PopulationStdDev", "(" ] + }, { + "r" : "265", + "s" : [ { + "value" : [ "{" ] + }, { + "r" : "266", + "s" : [ { + "value" : [ "1 ", "'ml'" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "267", + "s" : [ { + "value" : [ "0.002 ", "'l'" ] + } ] + }, { + "value" : [ "," ] + }, { + "r" : "268", + "s" : [ { + "value" : [ "3 ", "'ml'" ] + } ] + }, { + "value" : [ "," ] + }, { + "r" : "269", + "s" : [ { + "value" : [ "4 ", "'ml'" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "270", + "s" : [ { + "value" : [ "0.05 ", "'dl'" ] + } ] + }, { + "value" : [ "}" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "PopulationStdDev", + "localId" : "277", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ], + "signature" : [ { + "type" : "ListTypeSpecifier", + "localId" : "278", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "279", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } + } ], + "source" : { + "type" : "List", + "localId" : "265", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "271", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "272", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } + }, + "element" : [ { + "type" : "Quantity", + "localId" : "266", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "value" : 1, + "unit" : "ml", + "annotation" : [ ] + }, { + "type" : "Quantity", + "localId" : "267", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "value" : 0.002, + "unit" : "l", + "annotation" : [ ] + }, { + "type" : "Quantity", + "localId" : "268", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "value" : 3, + "unit" : "ml", + "annotation" : [ ] + }, { + "type" : "Quantity", + "localId" : "269", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "value" : 4, + "unit" : "ml", + "annotation" : [ ] + }, { + "type" : "Quantity", + "localId" : "270", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "value" : 0.05, + "unit" : "dl", + "annotation" : [ ] + } ] + } + } + }, { + "localId" : "282", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "name" : "NumbersAndQuantities", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "282", + "s" : [ { + "value" : [ "", "define ", "NumbersAndQuantities", ": " ] + }, { + "r" : "307", + "s" : [ { + "value" : [ "PopulationStdDev", "(" ] + }, { + "r" : "283", + "s" : [ { + "r" : "284", + "value" : [ "{", "1", " ,", "2", " ,", "3", " ," ] + }, { + "r" : "287", + "s" : [ { + "value" : [ "4 ", "'ml'" ] + } ] + }, { + "r" : "288", + "value" : [ ",", "5", " }" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "PopulationStdDev", + "localId" : "307", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ], + "signature" : [ { + "type" : "ListTypeSpecifier", + "localId" : "308", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "309", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } + } ], + "source" : { + "type" : "List", + "localId" : "283", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "301", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "302", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } + }, + "element" : [ { + "type" : "ToQuantity", + "localId" : "290", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "291", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "operand" : { + "type" : "Literal", + "localId" : "284", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + } + }, { + "type" : "ToQuantity", + "localId" : "293", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "294", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "operand" : { + "type" : "Literal", + "localId" : "285", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "annotation" : [ ] + } + }, { + "type" : "ToQuantity", + "localId" : "296", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "297", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "operand" : { + "type" : "Literal", + "localId" : "286", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + } + }, { + "type" : "Quantity", + "localId" : "287", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "value" : 4, + "unit" : "ml", + "annotation" : [ ] + }, { + "type" : "ToQuantity", + "localId" : "299", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "300", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "operand" : { + "type" : "Literal", + "localId" : "288", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "5", + "annotation" : [ ] + } + } ] + } + } + }, { + "localId" : "312", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "name" : "IncompatibleUnitsNull", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "312", + "s" : [ { + "value" : [ "", "define ", "IncompatibleUnitsNull", ": " ] + }, { + "r" : "322", + "s" : [ { + "value" : [ "PopulationStdDev", "(" ] + }, { + "r" : "313", + "s" : [ { + "value" : [ "{" ] + }, { + "r" : "314", + "s" : [ { + "value" : [ "1 ", "'mg/d'" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "315", + "s" : [ { + "value" : [ "0.002 ", "'/d'" ] + } ] + }, { + "value" : [ "}" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "PopulationStdDev", + "localId" : "322", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ], + "signature" : [ { + "type" : "ListTypeSpecifier", + "localId" : "323", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "324", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } + } ], + "source" : { + "type" : "List", + "localId" : "313", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "316", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "317", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } + }, + "element" : [ { + "type" : "Quantity", + "localId" : "314", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "value" : 1, + "unit" : "mg/d", + "annotation" : [ ] + }, { + "type" : "Quantity", + "localId" : "315", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "value" : 0.002, + "unit" : "/d", + "annotation" : [ ] + } ] + } + } + } ] + } + } } /* Product @@ -11595,1153 +12984,1289 @@ define IncompatibleUnitsNull: Product({1 'mg/d', 0.002 '/d'}) */ module.exports['Product'] = { - "library" : { - "localId" : "0", - "annotation" : [ { - "translatorVersion" : "3.27.0", - "translatorOptions" : "EnableDateRangeOptimization,EnableAnnotations,EnableResultTypes", - "signatureLevel" : "All", - "type" : "CqlToElmInfo" - }, { - "type" : "Annotation", - "s" : { - "r" : "395", + "library" : { + "localId" : "0", + "annotation" : [ { + "type" : "CqlToElmInfo", + "translatorVersion" : "4.2.0", + "translatorOptions" : "EnableDateRangeOptimization,EnableAnnotations,EnableResultTypes", + "signatureLevel" : "All" + }, { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "395", + "s" : [ { + "value" : [ "", "library TestSnippet version '1'" ] + } ] + } + } ], + "identifier" : { + "id" : "TestSnippet", + "version" : "1" + }, + "schemaIdentifier" : { + "id" : "urn:hl7-org:elm", + "version" : "r1" + }, + "usings" : { + "def" : [ { + "localId" : "1", + "localIdentifier" : "System", + "uri" : "urn:hl7-org:elm-types:r1", + "annotation" : [ ] + }, { + "localId" : "206", + "localIdentifier" : "Simple", + "uri" : "https://github.com/cqframework/cql-execution/simple", + "version" : "1.0.0", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "206", "s" : [ { - "value" : [ "","library TestSnippet version '1'" ] - } ] - } - } ], - "identifier" : { - "id" : "TestSnippet", - "version" : "1" - }, - "schemaIdentifier" : { - "id" : "urn:hl7-org:elm", - "version" : "r1" - }, - "usings" : { - "def" : [ { - "localId" : "1", - "localIdentifier" : "System", - "uri" : "urn:hl7-org:elm-types:r1" - }, { - "localId" : "206", - "localIdentifier" : "Simple", - "uri" : "https://github.com/cqframework/cql-execution/simple", - "version" : "1.0.0", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "206", - "s" : [ { - "value" : [ "","using " ] - }, { - "s" : [ { - "value" : [ "Simple" ] - } ] - }, { - "value" : [ " version '1.0.0'" ] - } ] - } - } ] - } ] - }, - "contexts" : { - "def" : [ { - "localId" : "211", - "name" : "Patient" - } ] - }, - "statements" : { - "def" : [ { - "localId" : "209", - "name" : "Patient", - "context" : "Patient", - "expression" : { - "localId" : "210", - "type" : "SingletonFrom", - "signature" : [ ], - "operand" : { - "localId" : "208", - "dataType" : "{https://github.com/cqframework/cql-execution/simple}Patient", - "type" : "Retrieve", - "include" : [ ], - "codeFilter" : [ ], - "dateFilter" : [ ], - "otherFilter" : [ ] - } - } - }, { - "localId" : "214", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "name" : "decimal_product", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "214", - "s" : [ { - "value" : [ "","define ","decimal_product",": " ] - }, { - "r" : "226", - "s" : [ { - "value" : [ "Product","(" ] - }, { - "r" : "215", - "s" : [ { - "r" : "216", - "value" : [ "{","1.0",", ","2.0",", ","3.0",", ","4.0","}" ] - } ] - }, { - "value" : [ ")" ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "226", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "Product", - "signature" : [ { - "localId" : "227", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "228", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } - } ], - "source" : { - "localId" : "215", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "220", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "221", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } - }, - "element" : [ { - "localId" : "216", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "1.0", - "type" : "Literal" - }, { - "localId" : "217", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "2.0", - "type" : "Literal" - }, { - "localId" : "218", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "3.0", - "type" : "Literal" - }, { - "localId" : "219", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "4.0", - "type" : "Literal" - } ] - } - } - }, { - "localId" : "231", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "name" : "integer_product", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "231", - "s" : [ { - "value" : [ "","define ","integer_product",": " ] - }, { - "r" : "242", - "s" : [ { - "value" : [ "Product","(" ] - }, { - "r" : "232", - "s" : [ { - "r" : "233", - "value" : [ "{","5",", ","4",", ","5","}" ] - } ] - }, { - "value" : [ ")" ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "242", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "Product", - "signature" : [ { - "localId" : "243", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "244", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } ], - "source" : { - "localId" : "232", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "236", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "237", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "element" : [ { - "localId" : "233", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal" - }, { - "localId" : "234", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "4", - "type" : "Literal" - }, { - "localId" : "235", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal" + "value" : [ "", "using " ] + }, { + "s" : [ { + "value" : [ "Simple" ] + } ] + }, { + "value" : [ " version '1.0.0'" ] + } ] + } + } ] + } ] + }, + "contexts" : { + "def" : [ { + "localId" : "211", + "name" : "Patient", + "annotation" : [ ] + } ] + }, + "statements" : { + "def" : [ { + "localId" : "209", + "name" : "Patient", + "context" : "Patient", + "annotation" : [ ], + "expression" : { + "type" : "SingletonFrom", + "localId" : "210", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Retrieve", + "localId" : "208", + "dataType" : "{https://github.com/cqframework/cql-execution/simple}Patient", + "annotation" : [ ], + "include" : [ ], + "codeFilter" : [ ], + "dateFilter" : [ ], + "otherFilter" : [ ] + } + } + }, { + "localId" : "214", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "name" : "decimal_product", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "214", + "s" : [ { + "value" : [ "", "define ", "decimal_product", ": " ] + }, { + "r" : "226", + "s" : [ { + "value" : [ "Product", "(" ] + }, { + "r" : "215", + "s" : [ { + "r" : "216", + "value" : [ "{", "1.0", ", ", "2.0", ", ", "3.0", ", ", "4.0", "}" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Product", + "localId" : "226", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ], + "signature" : [ { + "type" : "ListTypeSpecifier", + "localId" : "227", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "228", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } + } ], + "source" : { + "type" : "List", + "localId" : "215", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "220", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "221", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } + }, + "element" : [ { + "type" : "Literal", + "localId" : "216", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "1.0", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "217", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "2.0", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "218", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "3.0", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "219", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "4.0", + "annotation" : [ ] + } ] + } + } + }, { + "localId" : "231", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "name" : "integer_product", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "231", + "s" : [ { + "value" : [ "", "define ", "integer_product", ": " ] + }, { + "r" : "242", + "s" : [ { + "value" : [ "Product", "(" ] + }, { + "r" : "232", + "s" : [ { + "r" : "233", + "value" : [ "{", "5", ", ", "4", ", ", "5", "}" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Product", + "localId" : "242", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ], + "signature" : [ { + "type" : "ListTypeSpecifier", + "localId" : "243", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "244", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } ], + "source" : { + "type" : "List", + "localId" : "232", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "236", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "237", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "element" : [ { + "type" : "Literal", + "localId" : "233", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "5", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "234", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "4", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "235", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "5", + "annotation" : [ ] + } ] + } + } + }, { + "localId" : "247", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "name" : "zero_product", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "247", + "s" : [ { + "value" : [ "", "define ", "zero_product", ": " ] + }, { + "r" : "258", + "s" : [ { + "value" : [ "Product", "(" ] + }, { + "r" : "248", + "s" : [ { + "r" : "249", + "value" : [ "{", "0", ", ", "5", ", ", "10", "}" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Product", + "localId" : "258", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ], + "signature" : [ { + "type" : "ListTypeSpecifier", + "localId" : "259", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "260", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } ], + "source" : { + "type" : "List", + "localId" : "248", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "252", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "253", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "element" : [ { + "type" : "Literal", + "localId" : "249", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "250", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "5", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "251", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "10", + "annotation" : [ ] + } ] + } + } + }, { + "localId" : "263", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "name" : "quantity_product", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "263", + "s" : [ { + "value" : [ "", "define ", "quantity_product", ": " ] + }, { + "r" : "275", + "s" : [ { + "value" : [ "Product", "(" ] + }, { + "r" : "264", + "s" : [ { + "value" : [ "{" ] + }, { + "r" : "265", + "s" : [ { + "value" : [ "1.0 ", "'g'" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "266", + "s" : [ { + "value" : [ "2.0 ", "'g'" ] } ] - } - } - }, { - "localId" : "247", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "name" : "zero_product", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "247", - "s" : [ { - "value" : [ "","define ","zero_product",": " ] - }, { - "r" : "258", - "s" : [ { - "value" : [ "Product","(" ] - }, { - "r" : "248", - "s" : [ { - "r" : "249", - "value" : [ "{","0",", ","5",", ","10","}" ] - } ] - }, { - "value" : [ ")" ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "258", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "Product", - "signature" : [ { - "localId" : "259", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "260", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } ], - "source" : { - "localId" : "248", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "252", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "253", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "element" : [ { - "localId" : "249", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, { - "localId" : "250", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal" - }, { - "localId" : "251", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal" + }, { + "value" : [ ", " ] + }, { + "r" : "267", + "s" : [ { + "value" : [ "3.0 ", "'g'" ] } ] - } - } - }, { - "localId" : "263", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "name" : "quantity_product", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "263", - "s" : [ { - "value" : [ "","define ","quantity_product",": " ] - }, { - "r" : "275", - "s" : [ { - "value" : [ "Product","(" ] - }, { - "r" : "264", - "s" : [ { - "value" : [ "{" ] - }, { - "r" : "265", - "s" : [ { - "value" : [ "1.0 ","'g'" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "266", - "s" : [ { - "value" : [ "2.0 ","'g'" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "267", - "s" : [ { - "value" : [ "3.0 ","'g'" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "268", - "s" : [ { - "value" : [ "4.0 ","'g'" ] - } ] - }, { - "value" : [ "}" ] - } ] - }, { - "value" : [ ")" ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "275", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "Product", - "signature" : [ { - "localId" : "276", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "277", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } - } ], - "source" : { - "localId" : "264", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "269", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "270", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } - }, - "element" : [ { - "localId" : "265", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "value" : 1.0, - "unit" : "g", - "type" : "Quantity" - }, { - "localId" : "266", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "value" : 2.0, - "unit" : "g", - "type" : "Quantity" - }, { - "localId" : "267", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "value" : 3.0, - "unit" : "g", - "type" : "Quantity" - }, { - "localId" : "268", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "value" : 4.0, - "unit" : "g", - "type" : "Quantity" + }, { + "value" : [ ", " ] + }, { + "r" : "268", + "s" : [ { + "value" : [ "4.0 ", "'g'" ] } ] - } - } - }, { - "localId" : "280", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "name" : "quantity_zero_product", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "280", - "s" : [ { - "value" : [ "","define ","quantity_zero_product",": " ] - }, { - "r" : "291", - "s" : [ { - "value" : [ "Product","(" ] - }, { - "r" : "281", - "s" : [ { - "value" : [ "{" ] - }, { - "r" : "282", - "s" : [ { - "value" : [ "1.0 ","'g'" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "283", - "s" : [ { - "value" : [ "2.0 ","'g'" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "284", - "s" : [ { - "value" : [ "0 ","'g'" ] - } ] - }, { - "value" : [ "}" ] - } ] - }, { - "value" : [ ")" ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "291", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "Product", - "signature" : [ { - "localId" : "292", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "293", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } - } ], - "source" : { - "localId" : "281", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "285", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "286", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } - }, - "element" : [ { - "localId" : "282", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "value" : 1.0, - "unit" : "g", - "type" : "Quantity" - }, { - "localId" : "283", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "value" : 2.0, - "unit" : "g", - "type" : "Quantity" - }, { - "localId" : "284", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "value" : 0, - "unit" : "g", - "type" : "Quantity" + }, { + "value" : [ "}" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Product", + "localId" : "275", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ], + "signature" : [ { + "type" : "ListTypeSpecifier", + "localId" : "276", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "277", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } + } ], + "source" : { + "type" : "List", + "localId" : "264", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "269", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "270", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } + }, + "element" : [ { + "type" : "Quantity", + "localId" : "265", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "value" : 1.0, + "unit" : "g", + "annotation" : [ ] + }, { + "type" : "Quantity", + "localId" : "266", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "value" : 2.0, + "unit" : "g", + "annotation" : [ ] + }, { + "type" : "Quantity", + "localId" : "267", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "value" : 3.0, + "unit" : "g", + "annotation" : [ ] + }, { + "type" : "Quantity", + "localId" : "268", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "value" : 4.0, + "unit" : "g", + "annotation" : [ ] + } ] + } + } + }, { + "localId" : "280", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "name" : "quantity_zero_product", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "280", + "s" : [ { + "value" : [ "", "define ", "quantity_zero_product", ": " ] + }, { + "r" : "291", + "s" : [ { + "value" : [ "Product", "(" ] + }, { + "r" : "281", + "s" : [ { + "value" : [ "{" ] + }, { + "r" : "282", + "s" : [ { + "value" : [ "1.0 ", "'g'" ] } ] - } - } - }, { - "localId" : "296", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "name" : "product_with_null", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "296", + }, { + "value" : [ ", " ] + }, { + "r" : "283", "s" : [ { - "value" : [ "","define ","product_with_null",": " ] - }, { - "r" : "308", - "s" : [ { - "value" : [ "Product","(" ] - }, { - "r" : "297", - "s" : [ { - "r" : "298", - "value" : [ "{","5",", ","4",", ","null","}" ] - } ] - }, { - "value" : [ ")" ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "308", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "Product", - "signature" : [ { - "localId" : "309", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "310", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } ], - "source" : { - "localId" : "297", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "302", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "303", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "element" : [ { - "localId" : "298", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal" - }, { - "localId" : "299", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "4", - "type" : "Literal" - }, { - "localId" : "301", - "asType" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "As", - "signature" : [ ], - "operand" : { - "localId" : "300", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - } - } ] - } - } - }, { - "localId" : "313", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "name" : "product_of_nulls", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "313", + "value" : [ "2.0 ", "'g'" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "284", "s" : [ { - "value" : [ "","define ","product_of_nulls",": " ] - }, { - "r" : "328", - "s" : [ { - "value" : [ "Product","(" ] - }, { - "r" : "314", - "s" : [ { - "value" : [ "{" ] - }, { - "r" : "315", - "s" : [ { - "r" : "316", - "value" : [ "null"," as " ] - }, { - "r" : "317", - "s" : [ { - "value" : [ "Integer" ] - } ] - } ] - }, { - "r" : "318", - "value" : [ ", ","null",", ","null","}" ] - } ] - }, { - "value" : [ ")" ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "328", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "Product", - "signature" : [ { - "localId" : "329", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "330", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } ], - "source" : { - "localId" : "314", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "322", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "323", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "element" : [ { - "localId" : "315", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "strict" : false, - "type" : "As", - "signature" : [ ], - "operand" : { - "localId" : "316", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - }, - "asTypeSpecifier" : { - "localId" : "317", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } + "value" : [ "0 ", "'g'" ] + } ] + }, { + "value" : [ "}" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Product", + "localId" : "291", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ], + "signature" : [ { + "type" : "ListTypeSpecifier", + "localId" : "292", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "293", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } + } ], + "source" : { + "type" : "List", + "localId" : "281", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "285", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "286", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } + }, + "element" : [ { + "type" : "Quantity", + "localId" : "282", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "value" : 1.0, + "unit" : "g", + "annotation" : [ ] + }, { + "type" : "Quantity", + "localId" : "283", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "value" : 2.0, + "unit" : "g", + "annotation" : [ ] + }, { + "type" : "Quantity", + "localId" : "284", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "value" : 0, + "unit" : "g", + "annotation" : [ ] + } ] + } + } + }, { + "localId" : "296", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "name" : "product_with_null", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "296", + "s" : [ { + "value" : [ "", "define ", "product_with_null", ": " ] + }, { + "r" : "308", + "s" : [ { + "value" : [ "Product", "(" ] + }, { + "r" : "297", + "s" : [ { + "r" : "298", + "value" : [ "{", "5", ", ", "4", ", ", "null", "}" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Product", + "localId" : "308", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ], + "signature" : [ { + "type" : "ListTypeSpecifier", + "localId" : "309", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "310", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } ], + "source" : { + "type" : "List", + "localId" : "297", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "302", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "303", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "element" : [ { + "type" : "Literal", + "localId" : "298", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "5", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "299", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "4", + "annotation" : [ ] + }, { + "type" : "As", + "localId" : "301", + "asType" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Null", + "localId" : "300", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } + } ] + } + } + }, { + "localId" : "313", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "name" : "product_of_nulls", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "313", + "s" : [ { + "value" : [ "", "define ", "product_of_nulls", ": " ] + }, { + "r" : "328", + "s" : [ { + "value" : [ "Product", "(" ] + }, { + "r" : "314", + "s" : [ { + "value" : [ "{" ] + }, { + "r" : "315", + "s" : [ { + "r" : "316", + "value" : [ "null", " as " ] + }, { + "r" : "317", + "s" : [ { + "value" : [ "Integer" ] + } ] + } ] + }, { + "r" : "318", + "value" : [ ", ", "null", ", ", "null", "}" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Product", + "localId" : "328", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ], + "signature" : [ { + "type" : "ListTypeSpecifier", + "localId" : "329", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "330", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } ], + "source" : { + "type" : "List", + "localId" : "314", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "322", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "323", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "element" : [ { + "type" : "As", + "localId" : "315", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "strict" : false, + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Null", + "localId" : "316", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + }, + "asTypeSpecifier" : { + "type" : "NamedTypeSpecifier", + "localId" : "317", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, { + "type" : "As", + "localId" : "320", + "asType" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Null", + "localId" : "318", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } + }, { + "type" : "As", + "localId" : "321", + "asType" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Null", + "localId" : "319", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } + } ] + } + } + }, { + "localId" : "333", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "name" : "product_null", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "333", + "s" : [ { + "value" : [ "", "define ", "product_null", ": " ] + }, { + "r" : "346", + "s" : [ { + "value" : [ "Product", "(" ] + }, { + "r" : "334", + "s" : [ { + "r" : "335", + "value" : [ "null", " as " ] + }, { + "r" : "336", + "s" : [ { + "value" : [ "List<" ] }, { - "localId" : "320", - "asType" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "As", - "signature" : [ ], - "operand" : { - "localId" : "318", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - } + "r" : "337", + "s" : [ { + "value" : [ "Decimal" ] + } ] }, { - "localId" : "321", - "asType" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "As", - "signature" : [ ], - "operand" : { - "localId" : "319", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - } - } ] - } - } - }, { - "localId" : "333", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "name" : "product_null", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "333", + "value" : [ ">" ] + } ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Product", + "localId" : "346", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ], + "signature" : [ { + "type" : "ListTypeSpecifier", + "localId" : "347", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "348", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } + } ], + "source" : { + "type" : "As", + "localId" : "334", + "strict" : false, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "340", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "341", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } + }, + "signature" : [ ], + "operand" : { + "type" : "Null", + "localId" : "335", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + }, + "asTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "336", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "338", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "339", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } + }, + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "337", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } + } + } + } + }, { + "localId" : "351", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "name" : "product_quantity_null", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "351", + "s" : [ { + "value" : [ "", "define ", "product_quantity_null", ": " ] + }, { + "r" : "368", + "s" : [ { + "value" : [ "Product", "(" ] + }, { + "r" : "352", + "s" : [ { + "value" : [ "{" ] + }, { + "r" : "353", + "s" : [ { + "r" : "354", + "value" : [ "null", " as " ] + }, { + "r" : "355", + "s" : [ { + "value" : [ "Quantity" ] + } ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "356", + "s" : [ { + "r" : "357", + "value" : [ "null", " as " ] + }, { + "r" : "358", + "s" : [ { + "value" : [ "Quantity" ] + } ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "359", + "s" : [ { + "r" : "360", + "value" : [ "null", " as " ] + }, { + "r" : "361", + "s" : [ { + "value" : [ "Quantity" ] + } ] + } ] + }, { + "value" : [ "}" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Product", + "localId" : "368", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ], + "signature" : [ { + "type" : "ListTypeSpecifier", + "localId" : "369", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "370", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } + } ], + "source" : { + "type" : "List", + "localId" : "352", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "362", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "363", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } + }, + "element" : [ { + "type" : "As", + "localId" : "353", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "strict" : false, + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Null", + "localId" : "354", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + }, + "asTypeSpecifier" : { + "type" : "NamedTypeSpecifier", + "localId" : "355", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } + }, { + "type" : "As", + "localId" : "356", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "strict" : false, + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Null", + "localId" : "357", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + }, + "asTypeSpecifier" : { + "type" : "NamedTypeSpecifier", + "localId" : "358", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } + }, { + "type" : "As", + "localId" : "359", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "strict" : false, + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Null", + "localId" : "360", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + }, + "asTypeSpecifier" : { + "type" : "NamedTypeSpecifier", + "localId" : "361", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } + } ] + } + } + }, { + "localId" : "373", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "name" : "NumbersAndQuantities", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "373", + "s" : [ { + "value" : [ "", "define ", "NumbersAndQuantities", ": " ] + }, { + "r" : "390", + "s" : [ { + "value" : [ "Product", "(" ] + }, { + "r" : "374", + "s" : [ { + "r" : "375", + "value" : [ "{", "1", " ," ] + }, { + "r" : "376", + "s" : [ { + "value" : [ "2 ", "'ml'" ] + } ] + }, { + "value" : [ "," ] + }, { + "r" : "377", + "s" : [ { + "value" : [ "3 ", "'ml'" ] + } ] + }, { + "value" : [ "," ] + }, { + "r" : "378", "s" : [ { - "value" : [ "","define ","product_null",": " ] - }, { - "r" : "346", - "s" : [ { - "value" : [ "Product","(" ] - }, { - "r" : "334", - "s" : [ { - "r" : "335", - "value" : [ "null"," as " ] - }, { - "r" : "336", - "s" : [ { - "value" : [ "List<" ] - }, { - "r" : "337", - "s" : [ { - "value" : [ "Decimal" ] - } ] - }, { - "value" : [ ">" ] - } ] - } ] - }, { - "value" : [ ")" ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "346", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "Product", - "signature" : [ { - "localId" : "347", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "348", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } - } ], - "source" : { - "localId" : "334", - "strict" : false, - "type" : "As", - "resultTypeSpecifier" : { - "localId" : "340", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "341", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } - }, - "signature" : [ ], - "operand" : { - "localId" : "335", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - }, - "asTypeSpecifier" : { - "localId" : "336", - "type" : "ListTypeSpecifier", - "resultTypeSpecifier" : { - "localId" : "338", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "339", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } - }, - "elementType" : { - "localId" : "337", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } - } - } - } - }, { - "localId" : "351", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "name" : "product_quantity_null", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "351", + "value" : [ "4 ", "'ml'" ] + } ] + }, { + "value" : [ "," ] + }, { + "r" : "379", + "s" : [ { + "value" : [ "5 ", "'ml'" ] + } ] + }, { + "value" : [ "," ] + }, { + "r" : "380", + "s" : [ { + "value" : [ "0 ", "'ml'" ] + } ] + }, { + "value" : [ "}" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Product", + "localId" : "390", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ], + "signature" : [ { + "type" : "ListTypeSpecifier", + "localId" : "391", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "392", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } + } ], + "source" : { + "type" : "List", + "localId" : "374", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "384", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "385", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } + }, + "element" : [ { + "type" : "ToQuantity", + "localId" : "382", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "383", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "operand" : { + "type" : "Literal", + "localId" : "375", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + } + }, { + "type" : "Quantity", + "localId" : "376", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "value" : 2, + "unit" : "ml", + "annotation" : [ ] + }, { + "type" : "Quantity", + "localId" : "377", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "value" : 3, + "unit" : "ml", + "annotation" : [ ] + }, { + "type" : "Quantity", + "localId" : "378", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "value" : 4, + "unit" : "ml", + "annotation" : [ ] + }, { + "type" : "Quantity", + "localId" : "379", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "value" : 5, + "unit" : "ml", + "annotation" : [ ] + }, { + "type" : "Quantity", + "localId" : "380", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "value" : 0, + "unit" : "ml", + "annotation" : [ ] + } ] + } + } + }, { + "localId" : "395", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "name" : "IncompatibleUnitsNull", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "395", + "s" : [ { + "value" : [ "", "define ", "IncompatibleUnitsNull", ": " ] + }, { + "r" : "405", + "s" : [ { + "value" : [ "Product", "(" ] + }, { + "r" : "396", + "s" : [ { + "value" : [ "{" ] + }, { + "r" : "397", + "s" : [ { + "value" : [ "1 ", "'mg/d'" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "398", "s" : [ { - "value" : [ "","define ","product_quantity_null",": " ] - }, { - "r" : "368", - "s" : [ { - "value" : [ "Product","(" ] - }, { - "r" : "352", - "s" : [ { - "value" : [ "{" ] - }, { - "r" : "353", - "s" : [ { - "r" : "354", - "value" : [ "null"," as " ] - }, { - "r" : "355", - "s" : [ { - "value" : [ "Quantity" ] - } ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "356", - "s" : [ { - "r" : "357", - "value" : [ "null"," as " ] - }, { - "r" : "358", - "s" : [ { - "value" : [ "Quantity" ] - } ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "359", - "s" : [ { - "r" : "360", - "value" : [ "null"," as " ] - }, { - "r" : "361", - "s" : [ { - "value" : [ "Quantity" ] - } ] - } ] - }, { - "value" : [ "}" ] - } ] - }, { - "value" : [ ")" ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "368", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "Product", - "signature" : [ { - "localId" : "369", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "370", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } - } ], - "source" : { - "localId" : "352", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "362", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "363", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } - }, - "element" : [ { - "localId" : "353", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "strict" : false, - "type" : "As", - "signature" : [ ], - "operand" : { - "localId" : "354", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - }, - "asTypeSpecifier" : { - "localId" : "355", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "356", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "strict" : false, - "type" : "As", - "signature" : [ ], - "operand" : { - "localId" : "357", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - }, - "asTypeSpecifier" : { - "localId" : "358", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "359", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "strict" : false, - "type" : "As", - "signature" : [ ], - "operand" : { - "localId" : "360", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - }, - "asTypeSpecifier" : { - "localId" : "361", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } - } ] - } - } - }, { - "localId" : "373", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "name" : "NumbersAndQuantities", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "373", - "s" : [ { - "value" : [ "","define ","NumbersAndQuantities",": " ] - }, { - "r" : "390", - "s" : [ { - "value" : [ "Product","(" ] - }, { - "r" : "374", - "s" : [ { - "r" : "375", - "value" : [ "{","1"," ," ] - }, { - "r" : "376", - "s" : [ { - "value" : [ "2 ","'ml'" ] - } ] - }, { - "value" : [ "," ] - }, { - "r" : "377", - "s" : [ { - "value" : [ "3 ","'ml'" ] - } ] - }, { - "value" : [ "," ] - }, { - "r" : "378", - "s" : [ { - "value" : [ "4 ","'ml'" ] - } ] - }, { - "value" : [ "," ] - }, { - "r" : "379", - "s" : [ { - "value" : [ "5 ","'ml'" ] - } ] - }, { - "value" : [ "," ] - }, { - "r" : "380", - "s" : [ { - "value" : [ "0 ","'ml'" ] - } ] - }, { - "value" : [ "}" ] - } ] - }, { - "value" : [ ")" ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "390", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "Product", - "signature" : [ { - "localId" : "391", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "392", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } - } ], - "source" : { - "localId" : "374", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "384", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "385", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } - }, - "element" : [ { - "localId" : "382", - "type" : "ToQuantity", - "signature" : [ { - "localId" : "383", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "375", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - } - }, { - "localId" : "376", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "value" : 2, - "unit" : "ml", - "type" : "Quantity" - }, { - "localId" : "377", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "value" : 3, - "unit" : "ml", - "type" : "Quantity" - }, { - "localId" : "378", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "value" : 4, - "unit" : "ml", - "type" : "Quantity" - }, { - "localId" : "379", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "value" : 5, - "unit" : "ml", - "type" : "Quantity" - }, { - "localId" : "380", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "value" : 0, - "unit" : "ml", - "type" : "Quantity" - } ] - } - } - }, { - "localId" : "395", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "name" : "IncompatibleUnitsNull", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "395", - "s" : [ { - "value" : [ "","define ","IncompatibleUnitsNull",": " ] - }, { - "r" : "405", - "s" : [ { - "value" : [ "Product","(" ] - }, { - "r" : "396", - "s" : [ { - "value" : [ "{" ] - }, { - "r" : "397", - "s" : [ { - "value" : [ "1 ","'mg/d'" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "398", - "s" : [ { - "value" : [ "0.002 ","'/d'" ] - } ] - }, { - "value" : [ "}" ] - } ] - }, { - "value" : [ ")" ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "405", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "Product", - "signature" : [ { - "localId" : "406", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "407", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } - } ], - "source" : { - "localId" : "396", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "399", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "400", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } - }, - "element" : [ { - "localId" : "397", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "value" : 1, - "unit" : "mg/d", - "type" : "Quantity" - }, { - "localId" : "398", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "value" : 0.002, - "unit" : "/d", - "type" : "Quantity" + "value" : [ "0.002 ", "'/d'" ] } ] - } - } - } ] - } - } + }, { + "value" : [ "}" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Product", + "localId" : "405", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ], + "signature" : [ { + "type" : "ListTypeSpecifier", + "localId" : "406", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "407", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } + } ], + "source" : { + "type" : "List", + "localId" : "396", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "399", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "400", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } + }, + "element" : [ { + "type" : "Quantity", + "localId" : "397", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "value" : 1, + "unit" : "mg/d", + "annotation" : [ ] + }, { + "type" : "Quantity", + "localId" : "398", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "value" : 0.002, + "unit" : "/d", + "annotation" : [ ] + } ] + } + } + } ] + } + } } /* GeometricMean @@ -12756,538 +14281,612 @@ define also_null_geometric_mean: GeometricMean(null as List) */ module.exports['GeometricMean'] = { - "library" : { - "localId" : "0", - "annotation" : [ { - "translatorVersion" : "3.27.0", - "translatorOptions" : "EnableDateRangeOptimization,EnableAnnotations,EnableResultTypes", - "signatureLevel" : "All", - "type" : "CqlToElmInfo" - }, { - "type" : "Annotation", - "s" : { - "r" : "307", + "library" : { + "localId" : "0", + "annotation" : [ { + "type" : "CqlToElmInfo", + "translatorVersion" : "4.2.0", + "translatorOptions" : "EnableDateRangeOptimization,EnableAnnotations,EnableResultTypes", + "signatureLevel" : "All" + }, { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "307", + "s" : [ { + "value" : [ "", "library TestSnippet version '1'" ] + } ] + } + } ], + "identifier" : { + "id" : "TestSnippet", + "version" : "1" + }, + "schemaIdentifier" : { + "id" : "urn:hl7-org:elm", + "version" : "r1" + }, + "usings" : { + "def" : [ { + "localId" : "1", + "localIdentifier" : "System", + "uri" : "urn:hl7-org:elm-types:r1", + "annotation" : [ ] + }, { + "localId" : "206", + "localIdentifier" : "Simple", + "uri" : "https://github.com/cqframework/cql-execution/simple", + "version" : "1.0.0", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "206", "s" : [ { - "value" : [ "","library TestSnippet version '1'" ] - } ] - } - } ], - "identifier" : { - "id" : "TestSnippet", - "version" : "1" - }, - "schemaIdentifier" : { - "id" : "urn:hl7-org:elm", - "version" : "r1" - }, - "usings" : { - "def" : [ { - "localId" : "1", - "localIdentifier" : "System", - "uri" : "urn:hl7-org:elm-types:r1" - }, { - "localId" : "206", - "localIdentifier" : "Simple", - "uri" : "https://github.com/cqframework/cql-execution/simple", - "version" : "1.0.0", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "206", - "s" : [ { - "value" : [ "","using " ] - }, { - "s" : [ { - "value" : [ "Simple" ] - } ] - }, { - "value" : [ " version '1.0.0'" ] - } ] - } - } ] - } ] - }, - "contexts" : { - "def" : [ { - "localId" : "211", - "name" : "Patient" - } ] - }, - "statements" : { - "def" : [ { - "localId" : "209", - "name" : "Patient", - "context" : "Patient", - "expression" : { - "localId" : "210", - "type" : "SingletonFrom", - "signature" : [ ], - "operand" : { - "localId" : "208", - "dataType" : "{https://github.com/cqframework/cql-execution/simple}Patient", - "type" : "Retrieve", - "include" : [ ], - "codeFilter" : [ ], - "dateFilter" : [ ], - "otherFilter" : [ ] - } - } - }, { - "localId" : "214", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "name" : "decimal_geometric_mean", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "214", - "s" : [ { - "value" : [ "","define ","decimal_geometric_mean",": " ] - }, { - "r" : "226", - "s" : [ { - "value" : [ "GeometricMean","(" ] - }, { - "r" : "215", - "s" : [ { - "r" : "216", - "value" : [ "{","2.0",", ","8.0",", ","null","}" ] - } ] - }, { - "value" : [ ")" ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "226", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "GeometricMean", - "signature" : [ { - "localId" : "227", + "value" : [ "", "using " ] + }, { + "s" : [ { + "value" : [ "Simple" ] + } ] + }, { + "value" : [ " version '1.0.0'" ] + } ] + } + } ] + } ] + }, + "contexts" : { + "def" : [ { + "localId" : "211", + "name" : "Patient", + "annotation" : [ ] + } ] + }, + "statements" : { + "def" : [ { + "localId" : "209", + "name" : "Patient", + "context" : "Patient", + "annotation" : [ ], + "expression" : { + "type" : "SingletonFrom", + "localId" : "210", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Retrieve", + "localId" : "208", + "dataType" : "{https://github.com/cqframework/cql-execution/simple}Patient", + "annotation" : [ ], + "include" : [ ], + "codeFilter" : [ ], + "dateFilter" : [ ], + "otherFilter" : [ ] + } + } + }, { + "localId" : "214", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "name" : "decimal_geometric_mean", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "214", + "s" : [ { + "value" : [ "", "define ", "decimal_geometric_mean", ": " ] + }, { + "r" : "226", + "s" : [ { + "value" : [ "GeometricMean", "(" ] + }, { + "r" : "215", + "s" : [ { + "r" : "216", + "value" : [ "{", "2.0", ", ", "8.0", ", ", "null", "}" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "GeometricMean", + "localId" : "226", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ], + "signature" : [ { + "type" : "ListTypeSpecifier", + "localId" : "227", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "228", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } + } ], + "source" : { + "type" : "List", + "localId" : "215", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "220", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "221", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } + }, + "element" : [ { + "type" : "Literal", + "localId" : "216", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "2.0", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "217", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "8.0", + "annotation" : [ ] + }, { + "type" : "As", + "localId" : "219", + "asType" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Null", + "localId" : "218", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } + } ] + } + } + }, { + "localId" : "231", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "name" : "zero_geometric_mean", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "231", + "s" : [ { + "value" : [ "", "define ", "zero_geometric_mean", ": " ] + }, { + "r" : "245", + "s" : [ { + "value" : [ "GeometricMean", "(" ] + }, { + "r" : "232", + "s" : [ { + "r" : "233", + "value" : [ "{", "2.0", ", ", "8.0", ", ", "0", "}" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "GeometricMean", + "localId" : "245", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ], + "signature" : [ { + "type" : "ListTypeSpecifier", + "localId" : "246", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "247", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } + } ], + "source" : { + "type" : "List", + "localId" : "232", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "239", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "240", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } + }, + "element" : [ { + "type" : "Literal", + "localId" : "233", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "2.0", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "234", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "8.0", + "annotation" : [ ] + }, { + "type" : "ToDecimal", + "localId" : "237", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "238", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "operand" : { + "type" : "Literal", + "localId" : "235", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + } ] + } + } + }, { + "localId" : "250", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "name" : "null_geometric_mean", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "250", + "s" : [ { + "value" : [ "", "define ", "null_geometric_mean", ": " ] + }, { + "r" : "269", + "s" : [ { + "value" : [ "GeometricMean", "(" ] + }, { + "r" : "251", + "s" : [ { + "r" : "252", + "value" : [ "{", "1", ", ", "2", ", ", "null", "}" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "GeometricMean", + "localId" : "269", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ], + "signature" : [ { + "type" : "ListTypeSpecifier", + "localId" : "277", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "278", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } + } ], + "source" : { + "type" : "Query", + "localId" : "270", + "annotation" : [ ], + "source" : [ { + "localId" : "271", + "alias" : "X", + "annotation" : [ ], + "expression" : { + "type" : "List", + "localId" : "251", + "annotation" : [ ], + "resultTypeSpecifier" : { "type" : "ListTypeSpecifier", + "localId" : "256", + "annotation" : [ ], "elementType" : { - "localId" : "228", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" + "type" : "NamedTypeSpecifier", + "localId" : "257", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "element" : [ { + "type" : "Literal", + "localId" : "252", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "253", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "annotation" : [ ] + }, { + "type" : "As", + "localId" : "255", + "asType" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Null", + "localId" : "254", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] } - } ], - "source" : { - "localId" : "215", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "220", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "221", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } - }, - "element" : [ { - "localId" : "216", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "2.0", - "type" : "Literal" - }, { - "localId" : "217", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "8.0", - "type" : "Literal" - }, { - "localId" : "219", - "asType" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "As", - "signature" : [ ], - "operand" : { - "localId" : "218", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - } - } ] - } - } - }, { - "localId" : "231", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "name" : "zero_geometric_mean", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "231", - "s" : [ { - "value" : [ "","define ","zero_geometric_mean",": " ] - }, { - "r" : "245", - "s" : [ { - "value" : [ "GeometricMean","(" ] - }, { - "r" : "232", - "s" : [ { - "r" : "233", - "value" : [ "{","2.0",", ","8.0",", ","0","}" ] - } ] - }, { - "value" : [ ")" ] - } ] - } ] - } + } ] + } } ], - "expression" : { - "localId" : "245", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "GeometricMean", - "signature" : [ { - "localId" : "246", + "let" : [ ], + "relationship" : [ ], + "return" : { + "localId" : "272", + "distinct" : false, + "annotation" : [ ], + "expression" : { + "type" : "ToDecimal", + "localId" : "275", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "276", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "operand" : { + "type" : "AliasRef", + "localId" : "273", + "name" : "X", + "annotation" : [ ] + } + } + } + } + } + }, { + "localId" : "281", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "name" : "all_nulls", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "281", + "s" : [ { + "value" : [ "", "define ", "all_nulls", ": " ] + }, { + "r" : "297", + "s" : [ { + "value" : [ "GeometricMean", "(" ] + }, { + "r" : "282", + "s" : [ { + "r" : "283", + "value" : [ "{", "null", ", ", "null", ", ", "null", "}" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "GeometricMean", + "localId" : "297", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ], + "signature" : [ { + "type" : "ListTypeSpecifier", + "localId" : "303", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "304", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } + } ], + "source" : { + "type" : "Query", + "localId" : "298", + "annotation" : [ ], + "source" : [ { + "localId" : "299", + "alias" : "X", + "annotation" : [ ], + "expression" : { + "type" : "List", + "localId" : "282", + "annotation" : [ ], + "resultTypeSpecifier" : { "type" : "ListTypeSpecifier", + "localId" : "286", + "annotation" : [ ], "elementType" : { - "localId" : "247", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } - } ], - "source" : { - "localId" : "232", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "239", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "240", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } - }, - "element" : [ { - "localId" : "233", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "2.0", - "type" : "Literal" - }, { - "localId" : "234", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "8.0", - "type" : "Literal" - }, { - "localId" : "237", - "type" : "ToDecimal", - "signature" : [ { - "localId" : "238", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "235", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - } ] - } - } - }, { - "localId" : "250", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "name" : "null_geometric_mean", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "250", - "s" : [ { - "value" : [ "","define ","null_geometric_mean",": " ] - }, { - "r" : "269", - "s" : [ { - "value" : [ "GeometricMean","(" ] - }, { - "r" : "251", - "s" : [ { - "r" : "252", - "value" : [ "{","1",", ","2",", ","null","}" ] - } ] - }, { - "value" : [ ")" ] - } ] - } ] - } + "type" : "NamedTypeSpecifier", + "localId" : "287", + "name" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } + }, + "element" : [ { + "type" : "Null", + "localId" : "283", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + }, { + "type" : "Null", + "localId" : "284", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + }, { + "type" : "Null", + "localId" : "285", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } ] + } } ], - "expression" : { - "localId" : "269", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "GeometricMean", - "signature" : [ { - "localId" : "277", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "278", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } - } ], - "source" : { - "localId" : "270", - "type" : "Query", - "source" : [ { - "localId" : "271", - "alias" : "X", - "expression" : { - "localId" : "251", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "256", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "257", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "element" : [ { - "localId" : "252", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, { - "localId" : "253", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal" - }, { - "localId" : "255", - "asType" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "As", - "signature" : [ ], - "operand" : { - "localId" : "254", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - } - } ] - } - } ], - "let" : [ ], - "relationship" : [ ], - "return" : { - "localId" : "272", - "distinct" : false, - "expression" : { - "localId" : "275", - "type" : "ToDecimal", - "signature" : [ { - "localId" : "276", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "273", - "name" : "X", - "type" : "AliasRef" - } - } - } - } + "let" : [ ], + "relationship" : [ ], + "return" : { + "localId" : "300", + "distinct" : false, + "annotation" : [ ], + "expression" : { + "type" : "As", + "localId" : "302", + "asType" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "AliasRef", + "localId" : "301", + "name" : "X", + "annotation" : [ ] + } + } } - }, { - "localId" : "281", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "name" : "all_nulls", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "281", + } + } + }, { + "localId" : "307", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "name" : "also_null_geometric_mean", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "307", + "s" : [ { + "value" : [ "", "define ", "also_null_geometric_mean", ": " ] + }, { + "r" : "320", + "s" : [ { + "value" : [ "GeometricMean", "(" ] + }, { + "r" : "308", + "s" : [ { + "r" : "309", + "value" : [ "null", " as " ] + }, { + "r" : "310", "s" : [ { - "value" : [ "","define ","all_nulls",": " ] + "value" : [ "List<" ] }, { - "r" : "297", - "s" : [ { - "value" : [ "GeometricMean","(" ] - }, { - "r" : "282", - "s" : [ { - "r" : "283", - "value" : [ "{","null",", ","null",", ","null","}" ] - } ] - }, { - "value" : [ ")" ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "297", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "GeometricMean", - "signature" : [ { - "localId" : "303", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "304", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } - } ], - "source" : { - "localId" : "298", - "type" : "Query", - "source" : [ { - "localId" : "299", - "alias" : "X", - "expression" : { - "localId" : "282", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "286", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "287", - "name" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "NamedTypeSpecifier" - } - }, - "element" : [ { - "localId" : "283", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - }, { - "localId" : "284", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - }, { - "localId" : "285", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - } ] - } - } ], - "let" : [ ], - "relationship" : [ ], - "return" : { - "localId" : "300", - "distinct" : false, - "expression" : { - "localId" : "302", - "asType" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "As", - "signature" : [ ], - "operand" : { - "localId" : "301", - "name" : "X", - "type" : "AliasRef" - } - } - } - } - } - }, { - "localId" : "307", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "name" : "also_null_geometric_mean", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "307", - "s" : [ { - "value" : [ "","define ","also_null_geometric_mean",": " ] + "r" : "311", + "s" : [ { + "value" : [ "Decimal" ] + } ] }, { - "r" : "320", - "s" : [ { - "value" : [ "GeometricMean","(" ] - }, { - "r" : "308", - "s" : [ { - "r" : "309", - "value" : [ "null"," as " ] - }, { - "r" : "310", - "s" : [ { - "value" : [ "List<" ] - }, { - "r" : "311", - "s" : [ { - "value" : [ "Decimal" ] - } ] - }, { - "value" : [ ">" ] - } ] - } ] - }, { - "value" : [ ")" ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "320", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "GeometricMean", - "signature" : [ { - "localId" : "321", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "322", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } - } ], - "source" : { - "localId" : "308", - "strict" : false, - "type" : "As", - "resultTypeSpecifier" : { - "localId" : "314", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "315", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } - }, - "signature" : [ ], - "operand" : { - "localId" : "309", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - }, - "asTypeSpecifier" : { - "localId" : "310", - "type" : "ListTypeSpecifier", - "resultTypeSpecifier" : { - "localId" : "312", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "313", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } - }, - "elementType" : { - "localId" : "311", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } - } - } - } - } ] - } - } + "value" : [ ">" ] + } ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "GeometricMean", + "localId" : "320", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ], + "signature" : [ { + "type" : "ListTypeSpecifier", + "localId" : "321", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "322", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } + } ], + "source" : { + "type" : "As", + "localId" : "308", + "strict" : false, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "314", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "315", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } + }, + "signature" : [ ], + "operand" : { + "type" : "Null", + "localId" : "309", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + }, + "asTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "310", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "312", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "313", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } + }, + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "311", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } + } + } + } + } ] + } + } } /* AllTrue @@ -13302,445 +14901,504 @@ define atfwn: AllTrue({true,true,null,null,true,false}) */ module.exports['AllTrue'] = { - "library" : { - "localId" : "0", - "annotation" : [ { - "translatorVersion" : "3.27.0", - "translatorOptions" : "EnableDateRangeOptimization,EnableAnnotations,EnableResultTypes", - "signatureLevel" : "All", - "type" : "CqlToElmInfo" - }, { - "type" : "Annotation", - "s" : { + "library" : { + "localId" : "0", + "annotation" : [ { + "type" : "CqlToElmInfo", + "translatorVersion" : "4.2.0", + "translatorOptions" : "EnableDateRangeOptimization,EnableAnnotations,EnableResultTypes", + "signatureLevel" : "All" + }, { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "269", + "s" : [ { + "value" : [ "", "library TestSnippet version '1'" ] + } ] + } + } ], + "identifier" : { + "id" : "TestSnippet", + "version" : "1" + }, + "schemaIdentifier" : { + "id" : "urn:hl7-org:elm", + "version" : "r1" + }, + "usings" : { + "def" : [ { + "localId" : "1", + "localIdentifier" : "System", + "uri" : "urn:hl7-org:elm-types:r1", + "annotation" : [ ] + }, { + "localId" : "206", + "localIdentifier" : "Simple", + "uri" : "https://github.com/cqframework/cql-execution/simple", + "version" : "1.0.0", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "206", + "s" : [ { + "value" : [ "", "using " ] + }, { + "s" : [ { + "value" : [ "Simple" ] + } ] + }, { + "value" : [ " version '1.0.0'" ] + } ] + } + } ] + } ] + }, + "contexts" : { + "def" : [ { + "localId" : "211", + "name" : "Patient", + "annotation" : [ ] + } ] + }, + "statements" : { + "def" : [ { + "localId" : "209", + "name" : "Patient", + "context" : "Patient", + "annotation" : [ ], + "expression" : { + "type" : "SingletonFrom", + "localId" : "210", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Retrieve", + "localId" : "208", + "dataType" : "{https://github.com/cqframework/cql-execution/simple}Patient", + "annotation" : [ ], + "include" : [ ], + "codeFilter" : [ ], + "dateFilter" : [ ], + "otherFilter" : [ ] + } + } + }, { + "localId" : "214", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "at", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "214", + "s" : [ { + "value" : [ "", "define ", "at", ": " ] + }, { + "r" : "226", + "s" : [ { + "value" : [ "AllTrue", "(" ] + }, { + "r" : "215", + "s" : [ { + "r" : "216", + "value" : [ "{", "true", ",", "true", ",", "true", ",", "true", "}" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "AllTrue", + "localId" : "226", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "ListTypeSpecifier", + "localId" : "227", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "228", + "name" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ] + } + } ], + "source" : { + "type" : "List", + "localId" : "215", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "220", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "221", + "name" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ] + } + }, + "element" : [ { + "type" : "Literal", + "localId" : "216", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", + "value" : "true", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "217", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", + "value" : "true", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "218", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", + "value" : "true", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "219", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", + "value" : "true", + "annotation" : [ ] + } ] + } + } + }, { + "localId" : "231", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "atwn", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "231", + "s" : [ { + "value" : [ "", "define ", "atwn", ": " ] + }, { + "r" : "247", + "s" : [ { + "value" : [ "AllTrue", "(" ] + }, { + "r" : "232", + "s" : [ { + "r" : "233", + "value" : [ "{", "true", ",", "true", ",", "null", ",", "null", ",", "true", ",", "true", "}" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "AllTrue", + "localId" : "247", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "ListTypeSpecifier", + "localId" : "248", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "249", + "name" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ] + } + } ], + "source" : { + "type" : "List", + "localId" : "232", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "241", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "242", + "name" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ] + } + }, + "element" : [ { + "type" : "Literal", + "localId" : "233", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", + "value" : "true", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "234", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", + "value" : "true", + "annotation" : [ ] + }, { + "type" : "As", + "localId" : "239", + "asType" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Null", + "localId" : "235", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } + }, { + "type" : "As", + "localId" : "240", + "asType" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Null", + "localId" : "236", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } + }, { + "type" : "Literal", + "localId" : "237", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", + "value" : "true", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "238", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", + "value" : "true", + "annotation" : [ ] + } ] + } + } + }, { + "localId" : "252", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "atf", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "252", + "s" : [ { + "value" : [ "", "define ", "atf", ": " ] + }, { + "r" : "264", + "s" : [ { + "value" : [ "AllTrue", "(" ] + }, { + "r" : "253", + "s" : [ { + "r" : "254", + "value" : [ "{", "true", ",", "true", ",", "true", ",", "false", "}" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "AllTrue", + "localId" : "264", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "ListTypeSpecifier", + "localId" : "265", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "266", + "name" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ] + } + } ], + "source" : { + "type" : "List", + "localId" : "253", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "258", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "259", + "name" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ] + } + }, + "element" : [ { + "type" : "Literal", + "localId" : "254", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", + "value" : "true", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "255", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", + "value" : "true", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "256", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", + "value" : "true", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "257", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", + "value" : "false", + "annotation" : [ ] + } ] + } + } + }, { + "localId" : "269", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "atfwn", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { "r" : "269", "s" : [ { - "value" : [ "","library TestSnippet version '1'" ] - } ] - } - } ], - "identifier" : { - "id" : "TestSnippet", - "version" : "1" - }, - "schemaIdentifier" : { - "id" : "urn:hl7-org:elm", - "version" : "r1" - }, - "usings" : { - "def" : [ { - "localId" : "1", - "localIdentifier" : "System", - "uri" : "urn:hl7-org:elm-types:r1" - }, { - "localId" : "206", - "localIdentifier" : "Simple", - "uri" : "https://github.com/cqframework/cql-execution/simple", - "version" : "1.0.0", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "206", - "s" : [ { - "value" : [ "","using " ] - }, { - "s" : [ { - "value" : [ "Simple" ] - } ] - }, { - "value" : [ " version '1.0.0'" ] - } ] - } - } ] - } ] - }, - "contexts" : { - "def" : [ { - "localId" : "211", - "name" : "Patient" - } ] - }, - "statements" : { - "def" : [ { - "localId" : "209", - "name" : "Patient", - "context" : "Patient", - "expression" : { - "localId" : "210", - "type" : "SingletonFrom", - "signature" : [ ], - "operand" : { - "localId" : "208", - "dataType" : "{https://github.com/cqframework/cql-execution/simple}Patient", - "type" : "Retrieve", - "include" : [ ], - "codeFilter" : [ ], - "dateFilter" : [ ], - "otherFilter" : [ ] - } - } - }, { - "localId" : "214", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "at", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "214", - "s" : [ { - "value" : [ "","define ","at",": " ] - }, { - "r" : "226", - "s" : [ { - "value" : [ "AllTrue","(" ] - }, { - "r" : "215", - "s" : [ { - "r" : "216", - "value" : [ "{","true",",","true",",","true",",","true","}" ] - } ] - }, { - "value" : [ ")" ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "226", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "AllTrue", - "signature" : [ { - "localId" : "227", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "228", - "name" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "NamedTypeSpecifier" - } - } ], - "source" : { - "localId" : "215", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "220", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "221", - "name" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "NamedTypeSpecifier" - } - }, - "element" : [ { - "localId" : "216", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "true", - "type" : "Literal" - }, { - "localId" : "217", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "true", - "type" : "Literal" - }, { - "localId" : "218", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "true", - "type" : "Literal" - }, { - "localId" : "219", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "true", - "type" : "Literal" - } ] - } - } - }, { - "localId" : "231", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "atwn", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "231", - "s" : [ { - "value" : [ "","define ","atwn",": " ] - }, { - "r" : "247", - "s" : [ { - "value" : [ "AllTrue","(" ] - }, { - "r" : "232", - "s" : [ { - "r" : "233", - "value" : [ "{","true",",","true",",","null",",","null",",","true",",","true","}" ] - } ] - }, { - "value" : [ ")" ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "247", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "AllTrue", - "signature" : [ { - "localId" : "248", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "249", - "name" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "NamedTypeSpecifier" - } - } ], - "source" : { - "localId" : "232", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "241", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "242", - "name" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "NamedTypeSpecifier" - } - }, - "element" : [ { - "localId" : "233", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "true", - "type" : "Literal" - }, { - "localId" : "234", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "true", - "type" : "Literal" - }, { - "localId" : "239", - "asType" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "As", - "signature" : [ ], - "operand" : { - "localId" : "235", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - } - }, { - "localId" : "240", - "asType" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "As", - "signature" : [ ], - "operand" : { - "localId" : "236", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - } - }, { - "localId" : "237", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "true", - "type" : "Literal" - }, { - "localId" : "238", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "true", - "type" : "Literal" - } ] - } - } - }, { - "localId" : "252", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "atf", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "252", - "s" : [ { - "value" : [ "","define ","atf",": " ] - }, { - "r" : "264", - "s" : [ { - "value" : [ "AllTrue","(" ] - }, { - "r" : "253", - "s" : [ { - "r" : "254", - "value" : [ "{","true",",","true",",","true",",","false","}" ] - } ] - }, { - "value" : [ ")" ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "264", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "AllTrue", - "signature" : [ { - "localId" : "265", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "266", - "name" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "NamedTypeSpecifier" - } - } ], - "source" : { - "localId" : "253", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "258", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "259", - "name" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "NamedTypeSpecifier" - } - }, - "element" : [ { - "localId" : "254", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "true", - "type" : "Literal" - }, { - "localId" : "255", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "true", - "type" : "Literal" - }, { - "localId" : "256", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "true", - "type" : "Literal" - }, { - "localId" : "257", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "false", - "type" : "Literal" - } ] - } - } - }, { - "localId" : "269", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "atfwn", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "269", - "s" : [ { - "value" : [ "","define ","atfwn",": " ] - }, { - "r" : "285", - "s" : [ { - "value" : [ "AllTrue","(" ] - }, { - "r" : "270", - "s" : [ { - "r" : "271", - "value" : [ "{","true",",","true",",","null",",","null",",","true",",","false","}" ] - } ] - }, { - "value" : [ ")" ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "285", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "AllTrue", - "signature" : [ { - "localId" : "286", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "287", - "name" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "NamedTypeSpecifier" - } - } ], - "source" : { - "localId" : "270", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "279", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "280", - "name" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "NamedTypeSpecifier" - } - }, - "element" : [ { - "localId" : "271", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "true", - "type" : "Literal" - }, { - "localId" : "272", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "true", - "type" : "Literal" - }, { - "localId" : "277", - "asType" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "As", - "signature" : [ ], - "operand" : { - "localId" : "273", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - } - }, { - "localId" : "278", - "asType" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "As", - "signature" : [ ], - "operand" : { - "localId" : "274", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - } - }, { - "localId" : "275", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "true", - "type" : "Literal" - }, { - "localId" : "276", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "false", - "type" : "Literal" - } ] - } - } - } ] - } - } + "value" : [ "", "define ", "atfwn", ": " ] + }, { + "r" : "285", + "s" : [ { + "value" : [ "AllTrue", "(" ] + }, { + "r" : "270", + "s" : [ { + "r" : "271", + "value" : [ "{", "true", ",", "true", ",", "null", ",", "null", ",", "true", ",", "false", "}" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "AllTrue", + "localId" : "285", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "ListTypeSpecifier", + "localId" : "286", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "287", + "name" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ] + } + } ], + "source" : { + "type" : "List", + "localId" : "270", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "279", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "280", + "name" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ] + } + }, + "element" : [ { + "type" : "Literal", + "localId" : "271", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", + "value" : "true", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "272", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", + "value" : "true", + "annotation" : [ ] + }, { + "type" : "As", + "localId" : "277", + "asType" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Null", + "localId" : "273", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } + }, { + "type" : "As", + "localId" : "278", + "asType" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Null", + "localId" : "274", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } + }, { + "type" : "Literal", + "localId" : "275", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", + "value" : "true", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "276", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", + "value" : "false", + "annotation" : [ ] + } ] + } + } + } ] + } + } } /* AnyTrue @@ -13755,444 +15413,503 @@ define atfwn: AnyTrue({false,false,null,null,false,false}) */ module.exports['AnyTrue'] = { - "library" : { - "localId" : "0", - "annotation" : [ { - "translatorVersion" : "3.27.0", - "translatorOptions" : "EnableDateRangeOptimization,EnableAnnotations,EnableResultTypes", - "signatureLevel" : "All", - "type" : "CqlToElmInfo" - }, { - "type" : "Annotation", - "s" : { + "library" : { + "localId" : "0", + "annotation" : [ { + "type" : "CqlToElmInfo", + "translatorVersion" : "4.2.0", + "translatorOptions" : "EnableDateRangeOptimization,EnableAnnotations,EnableResultTypes", + "signatureLevel" : "All" + }, { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "269", + "s" : [ { + "value" : [ "", "library TestSnippet version '1'" ] + } ] + } + } ], + "identifier" : { + "id" : "TestSnippet", + "version" : "1" + }, + "schemaIdentifier" : { + "id" : "urn:hl7-org:elm", + "version" : "r1" + }, + "usings" : { + "def" : [ { + "localId" : "1", + "localIdentifier" : "System", + "uri" : "urn:hl7-org:elm-types:r1", + "annotation" : [ ] + }, { + "localId" : "206", + "localIdentifier" : "Simple", + "uri" : "https://github.com/cqframework/cql-execution/simple", + "version" : "1.0.0", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "206", + "s" : [ { + "value" : [ "", "using " ] + }, { + "s" : [ { + "value" : [ "Simple" ] + } ] + }, { + "value" : [ " version '1.0.0'" ] + } ] + } + } ] + } ] + }, + "contexts" : { + "def" : [ { + "localId" : "211", + "name" : "Patient", + "annotation" : [ ] + } ] + }, + "statements" : { + "def" : [ { + "localId" : "209", + "name" : "Patient", + "context" : "Patient", + "annotation" : [ ], + "expression" : { + "type" : "SingletonFrom", + "localId" : "210", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Retrieve", + "localId" : "208", + "dataType" : "{https://github.com/cqframework/cql-execution/simple}Patient", + "annotation" : [ ], + "include" : [ ], + "codeFilter" : [ ], + "dateFilter" : [ ], + "otherFilter" : [ ] + } + } + }, { + "localId" : "214", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "at", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "214", + "s" : [ { + "value" : [ "", "define ", "at", ": " ] + }, { + "r" : "226", + "s" : [ { + "value" : [ "AnyTrue", "(" ] + }, { + "r" : "215", + "s" : [ { + "r" : "216", + "value" : [ "{", "true", ",", "false", ",", "false", ",", "true", "}" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "AnyTrue", + "localId" : "226", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "ListTypeSpecifier", + "localId" : "227", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "228", + "name" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ] + } + } ], + "source" : { + "type" : "List", + "localId" : "215", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "220", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "221", + "name" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ] + } + }, + "element" : [ { + "type" : "Literal", + "localId" : "216", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", + "value" : "true", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "217", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", + "value" : "false", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "218", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", + "value" : "false", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "219", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", + "value" : "true", + "annotation" : [ ] + } ] + } + } + }, { + "localId" : "231", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "atwn", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "231", + "s" : [ { + "value" : [ "", "define ", "atwn", ": " ] + }, { + "r" : "247", + "s" : [ { + "value" : [ "AnyTrue", "(" ] + }, { + "r" : "232", + "s" : [ { + "r" : "233", + "value" : [ "{", "true", ",", "false", ",", "null", ",", "null", ",", "false", ",", "true", "}" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "AnyTrue", + "localId" : "247", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "ListTypeSpecifier", + "localId" : "248", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "249", + "name" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ] + } + } ], + "source" : { + "type" : "List", + "localId" : "232", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "241", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "242", + "name" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ] + } + }, + "element" : [ { + "type" : "Literal", + "localId" : "233", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", + "value" : "true", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "234", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", + "value" : "false", + "annotation" : [ ] + }, { + "type" : "As", + "localId" : "239", + "asType" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Null", + "localId" : "235", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } + }, { + "type" : "As", + "localId" : "240", + "asType" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Null", + "localId" : "236", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } + }, { + "type" : "Literal", + "localId" : "237", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", + "value" : "false", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "238", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", + "value" : "true", + "annotation" : [ ] + } ] + } + } + }, { + "localId" : "252", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "atf", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "252", + "s" : [ { + "value" : [ "", "define ", "atf", ": " ] + }, { + "r" : "264", + "s" : [ { + "value" : [ "AnyTrue", "(" ] + }, { + "r" : "253", + "s" : [ { + "r" : "254", + "value" : [ "{", "false", ",", "false", ",", "false", ",", "false", "}" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "AnyTrue", + "localId" : "264", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "ListTypeSpecifier", + "localId" : "265", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "266", + "name" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ] + } + } ], + "source" : { + "type" : "List", + "localId" : "253", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "258", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "259", + "name" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ] + } + }, + "element" : [ { + "type" : "Literal", + "localId" : "254", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", + "value" : "false", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "255", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", + "value" : "false", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "256", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", + "value" : "false", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "257", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", + "value" : "false", + "annotation" : [ ] + } ] + } + } + }, { + "localId" : "269", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "atfwn", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { "r" : "269", "s" : [ { - "value" : [ "","library TestSnippet version '1'" ] - } ] - } - } ], - "identifier" : { - "id" : "TestSnippet", - "version" : "1" - }, - "schemaIdentifier" : { - "id" : "urn:hl7-org:elm", - "version" : "r1" - }, - "usings" : { - "def" : [ { - "localId" : "1", - "localIdentifier" : "System", - "uri" : "urn:hl7-org:elm-types:r1" - }, { - "localId" : "206", - "localIdentifier" : "Simple", - "uri" : "https://github.com/cqframework/cql-execution/simple", - "version" : "1.0.0", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "206", - "s" : [ { - "value" : [ "","using " ] - }, { - "s" : [ { - "value" : [ "Simple" ] - } ] - }, { - "value" : [ " version '1.0.0'" ] - } ] - } - } ] - } ] - }, - "contexts" : { - "def" : [ { - "localId" : "211", - "name" : "Patient" - } ] - }, - "statements" : { - "def" : [ { - "localId" : "209", - "name" : "Patient", - "context" : "Patient", - "expression" : { - "localId" : "210", - "type" : "SingletonFrom", - "signature" : [ ], - "operand" : { - "localId" : "208", - "dataType" : "{https://github.com/cqframework/cql-execution/simple}Patient", - "type" : "Retrieve", - "include" : [ ], - "codeFilter" : [ ], - "dateFilter" : [ ], - "otherFilter" : [ ] - } - } - }, { - "localId" : "214", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "at", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "214", - "s" : [ { - "value" : [ "","define ","at",": " ] - }, { - "r" : "226", - "s" : [ { - "value" : [ "AnyTrue","(" ] - }, { - "r" : "215", - "s" : [ { - "r" : "216", - "value" : [ "{","true",",","false",",","false",",","true","}" ] - } ] - }, { - "value" : [ ")" ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "226", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "AnyTrue", - "signature" : [ { - "localId" : "227", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "228", - "name" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "NamedTypeSpecifier" - } - } ], - "source" : { - "localId" : "215", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "220", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "221", - "name" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "NamedTypeSpecifier" - } - }, - "element" : [ { - "localId" : "216", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "true", - "type" : "Literal" - }, { - "localId" : "217", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "false", - "type" : "Literal" - }, { - "localId" : "218", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "false", - "type" : "Literal" - }, { - "localId" : "219", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "true", - "type" : "Literal" - } ] - } - } - }, { - "localId" : "231", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "atwn", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "231", - "s" : [ { - "value" : [ "","define ","atwn",": " ] - }, { - "r" : "247", - "s" : [ { - "value" : [ "AnyTrue","(" ] - }, { - "r" : "232", - "s" : [ { - "r" : "233", - "value" : [ "{","true",",","false",",","null",",","null",",","false",",","true","}" ] - } ] - }, { - "value" : [ ")" ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "247", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "AnyTrue", - "signature" : [ { - "localId" : "248", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "249", - "name" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "NamedTypeSpecifier" - } - } ], - "source" : { - "localId" : "232", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "241", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "242", - "name" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "NamedTypeSpecifier" - } - }, - "element" : [ { - "localId" : "233", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "true", - "type" : "Literal" - }, { - "localId" : "234", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "false", - "type" : "Literal" - }, { - "localId" : "239", - "asType" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "As", - "signature" : [ ], - "operand" : { - "localId" : "235", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - } - }, { - "localId" : "240", - "asType" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "As", - "signature" : [ ], - "operand" : { - "localId" : "236", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - } - }, { - "localId" : "237", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "false", - "type" : "Literal" - }, { - "localId" : "238", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "true", - "type" : "Literal" - } ] - } - } - }, { - "localId" : "252", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "atf", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "252", - "s" : [ { - "value" : [ "","define ","atf",": " ] - }, { - "r" : "264", - "s" : [ { - "value" : [ "AnyTrue","(" ] - }, { - "r" : "253", - "s" : [ { - "r" : "254", - "value" : [ "{","false",",","false",",","false",",","false","}" ] - } ] - }, { - "value" : [ ")" ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "264", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "AnyTrue", - "signature" : [ { - "localId" : "265", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "266", - "name" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "NamedTypeSpecifier" - } - } ], - "source" : { - "localId" : "253", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "258", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "259", - "name" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "NamedTypeSpecifier" - } - }, - "element" : [ { - "localId" : "254", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "false", - "type" : "Literal" - }, { - "localId" : "255", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "false", - "type" : "Literal" - }, { - "localId" : "256", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "false", - "type" : "Literal" - }, { - "localId" : "257", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "false", - "type" : "Literal" - } ] - } - } - }, { - "localId" : "269", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "atfwn", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "269", - "s" : [ { - "value" : [ "","define ","atfwn",": " ] - }, { - "r" : "285", - "s" : [ { - "value" : [ "AnyTrue","(" ] - }, { - "r" : "270", - "s" : [ { - "r" : "271", - "value" : [ "{","false",",","false",",","null",",","null",",","false",",","false","}" ] - } ] - }, { - "value" : [ ")" ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "285", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "AnyTrue", - "signature" : [ { - "localId" : "286", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "287", - "name" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "NamedTypeSpecifier" - } - } ], - "source" : { - "localId" : "270", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "279", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "280", - "name" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "NamedTypeSpecifier" - } - }, - "element" : [ { - "localId" : "271", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "false", - "type" : "Literal" - }, { - "localId" : "272", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "false", - "type" : "Literal" - }, { - "localId" : "277", - "asType" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "As", - "signature" : [ ], - "operand" : { - "localId" : "273", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - } - }, { - "localId" : "278", - "asType" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "As", - "signature" : [ ], - "operand" : { - "localId" : "274", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - } - }, { - "localId" : "275", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "false", - "type" : "Literal" - }, { - "localId" : "276", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "false", - "type" : "Literal" - } ] - } - } - } ] - } - } + "value" : [ "", "define ", "atfwn", ": " ] + }, { + "r" : "285", + "s" : [ { + "value" : [ "AnyTrue", "(" ] + }, { + "r" : "270", + "s" : [ { + "r" : "271", + "value" : [ "{", "false", ",", "false", ",", "null", ",", "null", ",", "false", ",", "false", "}" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "AnyTrue", + "localId" : "285", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "ListTypeSpecifier", + "localId" : "286", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "287", + "name" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ] + } + } ], + "source" : { + "type" : "List", + "localId" : "270", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "279", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "280", + "name" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ] + } + }, + "element" : [ { + "type" : "Literal", + "localId" : "271", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", + "value" : "false", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "272", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", + "value" : "false", + "annotation" : [ ] + }, { + "type" : "As", + "localId" : "277", + "asType" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Null", + "localId" : "273", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } + }, { + "type" : "As", + "localId" : "278", + "asType" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Null", + "localId" : "274", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } + }, { + "type" : "Literal", + "localId" : "275", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", + "value" : "false", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "276", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", + "value" : "false", + "annotation" : [ ] + } ] + } + } + } ] + } + } } diff --git a/test/elm/arithmetic/data.js b/test/elm/arithmetic/data.js index 582e173d..985c4dfb 100644 --- a/test/elm/arithmetic/data.js +++ b/test/elm/arithmetic/data.js @@ -26,903 +26,1014 @@ define AddNumberAndUncertainty: 10 + UncertaintyZeroToTwelve */ module.exports['Add'] = { - "library" : { - "localId" : "0", - "annotation" : [ { - "translatorVersion" : "3.27.0", - "translatorOptions" : "EnableDateRangeOptimization,EnableAnnotations,EnableResultTypes", - "signatureLevel" : "All", - "type" : "CqlToElmInfo" - }, { - "type" : "Annotation", - "s" : { - "r" : "349", + "library" : { + "localId" : "0", + "annotation" : [ { + "type" : "CqlToElmInfo", + "translatorVersion" : "4.2.0", + "translatorOptions" : "EnableDateRangeOptimization,EnableAnnotations,EnableResultTypes", + "signatureLevel" : "All" + }, { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "349", + "s" : [ { + "value" : [ "", "library TestSnippet version '1'" ] + } ] + } + } ], + "identifier" : { + "id" : "TestSnippet", + "version" : "1" + }, + "schemaIdentifier" : { + "id" : "urn:hl7-org:elm", + "version" : "r1" + }, + "usings" : { + "def" : [ { + "localId" : "1", + "localIdentifier" : "System", + "uri" : "urn:hl7-org:elm-types:r1", + "annotation" : [ ] + }, { + "localId" : "206", + "localIdentifier" : "Simple", + "uri" : "https://github.com/cqframework/cql-execution/simple", + "version" : "1.0.0", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "206", "s" : [ { - "value" : [ "","library TestSnippet version '1'" ] - } ] - } - } ], - "identifier" : { - "id" : "TestSnippet", - "version" : "1" - }, - "schemaIdentifier" : { - "id" : "urn:hl7-org:elm", - "version" : "r1" - }, - "usings" : { - "def" : [ { - "localId" : "1", - "localIdentifier" : "System", - "uri" : "urn:hl7-org:elm-types:r1" - }, { - "localId" : "206", - "localIdentifier" : "Simple", - "uri" : "https://github.com/cqframework/cql-execution/simple", - "version" : "1.0.0", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "206", - "s" : [ { - "value" : [ "","using " ] - }, { - "s" : [ { - "value" : [ "Simple" ] - } ] - }, { - "value" : [ " version '1.0.0'" ] - } ] - } - } ] - } ] - }, - "contexts" : { - "def" : [ { - "localId" : "211", - "name" : "Patient" - } ] - }, - "statements" : { - "def" : [ { - "localId" : "209", - "name" : "Patient", - "context" : "Patient", - "expression" : { - "localId" : "210", - "type" : "SingletonFrom", - "signature" : [ ], - "operand" : { - "localId" : "208", - "dataType" : "{https://github.com/cqframework/cql-execution/simple}Patient", - "type" : "Retrieve", - "include" : [ ], - "codeFilter" : [ ], - "dateFilter" : [ ], - "otherFilter" : [ ] - } - } - }, { - "localId" : "214", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "name" : "Ten", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "214", - "s" : [ { - "r" : "215", - "value" : [ "","define ","Ten",": ","10" ] - } ] - } - } ], - "expression" : { - "localId" : "215", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal" - } - }, { - "localId" : "218", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "name" : "Eleven", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "218", - "s" : [ { - "r" : "219", - "value" : [ "","define ","Eleven",": ","11" ] - } ] - } - } ], - "expression" : { - "localId" : "219", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "11", - "type" : "Literal" - } - }, { - "localId" : "222", + "value" : [ "", "using " ] + }, { + "s" : [ { + "value" : [ "Simple" ] + } ] + }, { + "value" : [ " version '1.0.0'" ] + } ] + } + } ] + } ] + }, + "contexts" : { + "def" : [ { + "localId" : "211", + "name" : "Patient", + "annotation" : [ ] + } ] + }, + "statements" : { + "def" : [ { + "localId" : "209", + "name" : "Patient", + "context" : "Patient", + "annotation" : [ ], + "expression" : { + "type" : "SingletonFrom", + "localId" : "210", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Retrieve", + "localId" : "208", + "dataType" : "{https://github.com/cqframework/cql-execution/simple}Patient", + "annotation" : [ ], + "include" : [ ], + "codeFilter" : [ ], + "dateFilter" : [ ], + "otherFilter" : [ ] + } + } + }, { + "localId" : "214", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "name" : "Ten", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "214", + "s" : [ { + "r" : "215", + "value" : [ "", "define ", "Ten", ": ", "10" ] + } ] + } + } ], + "expression" : { + "type" : "Literal", + "localId" : "215", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "10", + "annotation" : [ ] + } + }, { + "localId" : "218", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "name" : "Eleven", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "218", + "s" : [ { + "r" : "219", + "value" : [ "", "define ", "Eleven", ": ", "11" ] + } ] + } + } ], + "expression" : { + "type" : "Literal", + "localId" : "219", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "11", + "annotation" : [ ] + } + }, { + "localId" : "222", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "name" : "OnePlusTwo", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "222", + "s" : [ { + "value" : [ "", "define ", "OnePlusTwo", ": " ] + }, { + "r" : "223", + "s" : [ { + "r" : "224", + "value" : [ "1", " + ", "2" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Add", + "localId" : "223", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "226", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "227", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "Literal", + "localId" : "224", "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "name" : "OnePlusTwo", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "222", - "s" : [ { - "value" : [ "","define ","OnePlusTwo",": " ] - }, { - "r" : "223", - "s" : [ { - "r" : "224", - "value" : [ "1"," + ","2" ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "223", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "Add", - "signature" : [ { - "localId" : "226", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "227", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "224", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, { - "localId" : "225", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal" - } ] - } - }, { - "localId" : "230", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "225", "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "name" : "AddMultiple", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "230", - "s" : [ { - "value" : [ "","define ","AddMultiple",": " ] - }, { - "r" : "231", - "s" : [ { - "r" : "232", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "annotation" : [ ] + } ] + } + }, { + "localId" : "230", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "name" : "AddMultiple", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "230", + "s" : [ { + "value" : [ "", "define ", "AddMultiple", ": " ] + }, { + "r" : "231", + "s" : [ { + "r" : "232", + "s" : [ { + "r" : "233", + "s" : [ { + "r" : "234", + "s" : [ { + "r" : "235", + "s" : [ { + "r" : "236", "s" : [ { - "r" : "233", - "s" : [ { - "r" : "234", + "r" : "237", + "s" : [ { + "r" : "238", + "s" : [ { + "r" : "239", "s" : [ { - "r" : "235", - "s" : [ { - "r" : "236", - "s" : [ { - "r" : "237", - "s" : [ { - "r" : "238", - "s" : [ { - "r" : "239", - "s" : [ { - "r" : "240", - "value" : [ "1"," + ","2" ] - } ] - }, { - "r" : "244", - "value" : [ " + ","3" ] - } ] - }, { - "r" : "247", - "value" : [ " + ","4" ] - } ] - }, { - "r" : "250", - "value" : [ " + ","5" ] - } ] - }, { - "r" : "253", - "value" : [ " + ","6" ] - } ] - }, { - "r" : "256", - "value" : [ " + ","7" ] + "r" : "240", + "value" : [ "1", " + ", "2" ] } ] - }, { - "r" : "259", - "value" : [ " + ","8" ] - } ] + }, { + "r" : "244", + "value" : [ " + ", "3" ] + } ] + }, { + "r" : "247", + "value" : [ " + ", "4" ] + } ] }, { - "r" : "262", - "value" : [ " + ","9" ] + "r" : "250", + "value" : [ " + ", "5" ] } ] - }, { - "r" : "265", - "value" : [ " + ","10" ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "231", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "Add", - "signature" : [ { - "localId" : "266", + }, { + "r" : "253", + "value" : [ " + ", "6" ] + } ] + }, { + "r" : "256", + "value" : [ " + ", "7" ] + } ] + }, { + "r" : "259", + "value" : [ " + ", "8" ] + } ] + }, { + "r" : "262", + "value" : [ " + ", "9" ] + } ] + }, { + "r" : "265", + "value" : [ " + ", "10" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Add", + "localId" : "231", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "266", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "267", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "Add", + "localId" : "232", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "263", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "264", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "Add", + "localId" : "233", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "260", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "261", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "Add", + "localId" : "234", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "257", "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "267", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "258", "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "232", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "operand" : [ { "type" : "Add", + "localId" : "235", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ], "signature" : [ { - "localId" : "263", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "264", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" + "type" : "NamedTypeSpecifier", + "localId" : "254", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "255", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] } ], "operand" : [ { - "localId" : "233", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "Add", - "signature" : [ { - "localId" : "260", + "type" : "Add", + "localId" : "236", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "251", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "252", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "Add", + "localId" : "237", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "248", "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "261", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "249", "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "234", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "operand" : [ { "type" : "Add", + "localId" : "238", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ], "signature" : [ { - "localId" : "257", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" + "type" : "NamedTypeSpecifier", + "localId" : "245", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] }, { - "localId" : "258", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" + "type" : "NamedTypeSpecifier", + "localId" : "246", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] } ], "operand" : [ { - "localId" : "235", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "Add", - "signature" : [ { - "localId" : "254", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "255", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "236", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "Add", - "signature" : [ { - "localId" : "251", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "252", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "237", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "Add", - "signature" : [ { - "localId" : "248", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "249", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "238", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "Add", - "signature" : [ { - "localId" : "245", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "246", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "239", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "Add", - "signature" : [ { - "localId" : "242", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "243", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "240", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, { - "localId" : "241", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal" - } ] - }, { - "localId" : "244", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - } ] - }, { - "localId" : "247", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "4", - "type" : "Literal" - } ] - }, { - "localId" : "250", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal" - } ] - }, { - "localId" : "253", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "6", - "type" : "Literal" - } ] + "type" : "Add", + "localId" : "239", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "242", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "243", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "Literal", + "localId" : "240", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "241", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "annotation" : [ ] + } ] }, { - "localId" : "256", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "7", - "type" : "Literal" - } ] - }, { - "localId" : "259", + "type" : "Literal", + "localId" : "244", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + } ] + }, { + "type" : "Literal", + "localId" : "247", "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "8", - "type" : "Literal" - } ] - }, { - "localId" : "262", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "9", - "type" : "Literal" - } ] - }, { - "localId" : "265", + "value" : "4", + "annotation" : [ ] + } ] + }, { + "type" : "Literal", + "localId" : "250", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "5", + "annotation" : [ ] + } ] + }, { + "type" : "Literal", + "localId" : "253", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "6", + "annotation" : [ ] + } ] + }, { + "type" : "Literal", + "localId" : "256", "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal" - } ] - } - }, { - "localId" : "270", + "value" : "7", + "annotation" : [ ] + } ] + }, { + "type" : "Literal", + "localId" : "259", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "8", + "annotation" : [ ] + } ] + }, { + "type" : "Literal", + "localId" : "262", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "9", + "annotation" : [ ] + } ] + }, { + "type" : "Literal", + "localId" : "265", "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "name" : "AddVariables", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "270", - "s" : [ { - "value" : [ "","define ","AddVariables",": " ] - }, { - "r" : "271", - "s" : [ { - "r" : "272", - "s" : [ { - "value" : [ "Ten" ] - } ] - }, { - "value" : [ " + " ] - }, { - "r" : "273", - "s" : [ { - "value" : [ "Eleven" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "271", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "Add", - "signature" : [ { - "localId" : "274", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "275", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "272", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "name" : "Ten", - "type" : "ExpressionRef" - }, { - "localId" : "273", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "name" : "Eleven", - "type" : "ExpressionRef" - } ] - } - }, { - "localId" : "278", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "10", + "annotation" : [ ] + } ] + } + }, { + "localId" : "270", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "name" : "AddVariables", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "270", + "s" : [ { + "value" : [ "", "define ", "AddVariables", ": " ] + }, { + "r" : "271", + "s" : [ { + "r" : "272", + "s" : [ { + "value" : [ "Ten" ] + } ] + }, { + "value" : [ " + " ] + }, { + "r" : "273", + "s" : [ { + "value" : [ "Eleven" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Add", + "localId" : "271", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "274", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "275", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "ExpressionRef", + "localId" : "272", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "name" : "Ten", + "annotation" : [ ] + }, { + "type" : "ExpressionRef", + "localId" : "273", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "name" : "Eleven", + "annotation" : [ ] + } ] + } + }, { + "localId" : "278", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Time", + "name" : "AddTime", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "278", + "s" : [ { + "value" : [ "", "define ", "AddTime", ": " ] + }, { + "r" : "279", + "s" : [ { + "r" : "284", + "s" : [ { + "r" : "280", + "value" : [ "Time", "(", "12", ")" ] + } ] + }, { + "value" : [ " + " ] + }, { + "r" : "286", + "s" : [ { + "value" : [ "1 ", "'hour'" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Add", + "localId" : "279", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Time", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "287", + "name" : "{urn:hl7-org:elm-types:r1}Time", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "288", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "Time", + "localId" : "284", "resultTypeName" : "{urn:hl7-org:elm-types:r1}Time", - "name" : "AddTime", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "278", - "s" : [ { - "value" : [ "","define ","AddTime",": " ] - }, { - "r" : "279", - "s" : [ { - "r" : "284", - "s" : [ { - "r" : "280", - "value" : [ "Time","(","12",")" ] - } ] - }, { - "value" : [ " + " ] - }, { - "r" : "286", - "s" : [ { - "value" : [ "1 ","'hour'" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "279", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Time", - "type" : "Add", - "signature" : [ { - "localId" : "287", - "name" : "{urn:hl7-org:elm-types:r1}Time", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "288", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "284", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Time", - "type" : "Time", - "signature" : [ { - "localId" : "285", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "hour" : { - "localId" : "280", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "12", - "type" : "Literal" - } - }, { - "localId" : "286", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "value" : 1, - "unit" : "hour", - "type" : "Quantity" - } ] - } - }, { - "localId" : "291", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "285", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "hour" : { + "type" : "Literal", + "localId" : "280", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "12", + "annotation" : [ ] + } + }, { + "type" : "Quantity", + "localId" : "286", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "value" : 1, + "unit" : "hour", + "annotation" : [ ] + } ] + } + }, { + "localId" : "291", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "name" : "UncertaintyZeroToTwelve", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "291", + "s" : [ { + "value" : [ "", "define ", "UncertaintyZeroToTwelve", ": " ] + }, { + "r" : "292", + "s" : [ { + "value" : [ "months between " ] + }, { + "r" : "299", + "s" : [ { + "r" : "293", + "value" : [ "DateTime", "(", "2005", ", ", "12", ")" ] + } ] + }, { + "value" : [ " and " ] + }, { + "r" : "306", + "s" : [ { + "r" : "302", + "value" : [ "DateTime", "(", "2006", ")" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "DurationBetween", + "localId" : "292", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "precision" : "Month", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "308", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "309", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "DateTime", + "localId" : "299", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "300", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "301", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "293", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2005", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "294", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "12", + "annotation" : [ ] + } + }, { + "type" : "DateTime", + "localId" : "306", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "307", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "302", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2006", + "annotation" : [ ] + } + } ] + } + }, { + "localId" : "312", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "name" : "UncertaintySixToEighteen", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "312", + "s" : [ { + "value" : [ "", "define ", "UncertaintySixToEighteen", ": " ] + }, { + "r" : "313", + "s" : [ { + "value" : [ "months between " ] + }, { + "r" : "318", + "s" : [ { + "r" : "314", + "value" : [ "DateTime", "(", "2005", ")" ] + } ] + }, { + "value" : [ " and " ] + }, { + "r" : "326", + "s" : [ { + "r" : "320", + "value" : [ "DateTime", "(", "2006", ", ", "7", ")" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "DurationBetween", + "localId" : "313", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "precision" : "Month", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "329", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "330", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "DateTime", + "localId" : "318", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "319", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "314", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2005", + "annotation" : [ ] + } + }, { + "type" : "DateTime", + "localId" : "326", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "327", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "328", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "320", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2006", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "321", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "7", + "annotation" : [ ] + } + } ] + } + }, { + "localId" : "333", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "name" : "AddUncertainties", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "333", + "s" : [ { + "value" : [ "", "define ", "AddUncertainties", ": " ] + }, { + "r" : "334", + "s" : [ { + "r" : "335", + "s" : [ { + "value" : [ "UncertaintyZeroToTwelve" ] + } ] + }, { + "value" : [ " + " ] + }, { + "r" : "336", + "s" : [ { + "value" : [ "UncertaintySixToEighteen" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Add", + "localId" : "334", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "337", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "338", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "ExpressionRef", + "localId" : "335", "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", "name" : "UncertaintyZeroToTwelve", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "291", - "s" : [ { - "value" : [ "","define ","UncertaintyZeroToTwelve",": " ] - }, { - "r" : "292", - "s" : [ { - "value" : [ "months between " ] - }, { - "r" : "299", - "s" : [ { - "r" : "293", - "value" : [ "DateTime","(","2005",", ","12",")" ] - } ] - }, { - "value" : [ " and " ] - }, { - "r" : "306", - "s" : [ { - "r" : "302", - "value" : [ "DateTime","(","2006",")" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "292", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "precision" : "Month", - "type" : "DurationBetween", - "signature" : [ { - "localId" : "308", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "309", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "299", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "300", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "301", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "293", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2005", - "type" : "Literal" - }, - "month" : { - "localId" : "294", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "12", - "type" : "Literal" - } - }, { - "localId" : "306", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "307", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "302", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2006", - "type" : "Literal" - } - } ] - } - }, { - "localId" : "312", + "annotation" : [ ] + }, { + "type" : "ExpressionRef", + "localId" : "336", "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", "name" : "UncertaintySixToEighteen", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "312", - "s" : [ { - "value" : [ "","define ","UncertaintySixToEighteen",": " ] - }, { - "r" : "313", - "s" : [ { - "value" : [ "months between " ] - }, { - "r" : "318", - "s" : [ { - "r" : "314", - "value" : [ "DateTime","(","2005",")" ] - } ] - }, { - "value" : [ " and " ] - }, { - "r" : "326", - "s" : [ { - "r" : "320", - "value" : [ "DateTime","(","2006",", ","7",")" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "313", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "precision" : "Month", - "type" : "DurationBetween", - "signature" : [ { - "localId" : "329", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "330", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "318", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "319", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "314", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2005", - "type" : "Literal" - } - }, { - "localId" : "326", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "327", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "328", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "320", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2006", - "type" : "Literal" - }, - "month" : { - "localId" : "321", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "7", - "type" : "Literal" - } - } ] - } - }, { - "localId" : "333", + "annotation" : [ ] + } ] + } + }, { + "localId" : "341", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "name" : "AddUncertaintyAndNumber", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "341", + "s" : [ { + "value" : [ "", "define ", "AddUncertaintyAndNumber", ": " ] + }, { + "r" : "342", + "s" : [ { + "r" : "343", + "s" : [ { + "value" : [ "UncertaintyZeroToTwelve" ] + } ] + }, { + "r" : "344", + "value" : [ " + ", "5" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Add", + "localId" : "342", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "345", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "346", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "ExpressionRef", + "localId" : "343", "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "name" : "AddUncertainties", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "333", - "s" : [ { - "value" : [ "","define ","AddUncertainties",": " ] - }, { - "r" : "334", - "s" : [ { - "r" : "335", - "s" : [ { - "value" : [ "UncertaintyZeroToTwelve" ] - } ] - }, { - "value" : [ " + " ] - }, { - "r" : "336", - "s" : [ { - "value" : [ "UncertaintySixToEighteen" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "334", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "Add", - "signature" : [ { - "localId" : "337", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "338", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "335", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "name" : "UncertaintyZeroToTwelve", - "type" : "ExpressionRef" - }, { - "localId" : "336", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "name" : "UncertaintySixToEighteen", - "type" : "ExpressionRef" - } ] - } - }, { - "localId" : "341", + "name" : "UncertaintyZeroToTwelve", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "344", "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "name" : "AddUncertaintyAndNumber", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "341", - "s" : [ { - "value" : [ "","define ","AddUncertaintyAndNumber",": " ] - }, { - "r" : "342", - "s" : [ { - "r" : "343", - "s" : [ { - "value" : [ "UncertaintyZeroToTwelve" ] - } ] - }, { - "r" : "344", - "value" : [ " + ","5" ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "342", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "Add", - "signature" : [ { - "localId" : "345", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "346", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "343", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "name" : "UncertaintyZeroToTwelve", - "type" : "ExpressionRef" - }, { - "localId" : "344", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal" - } ] - } - }, { - "localId" : "349", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "5", + "annotation" : [ ] + } ] + } + }, { + "localId" : "349", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "name" : "AddNumberAndUncertainty", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "349", + "s" : [ { + "value" : [ "", "define ", "AddNumberAndUncertainty", ": " ] + }, { + "r" : "350", + "s" : [ { + "r" : "351", + "value" : [ "10", " + " ] + }, { + "r" : "352", + "s" : [ { + "value" : [ "UncertaintyZeroToTwelve" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Add", + "localId" : "350", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "353", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "354", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "Literal", + "localId" : "351", "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "name" : "AddNumberAndUncertainty", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "349", - "s" : [ { - "value" : [ "","define ","AddNumberAndUncertainty",": " ] - }, { - "r" : "350", - "s" : [ { - "r" : "351", - "value" : [ "10"," + " ] - }, { - "r" : "352", - "s" : [ { - "value" : [ "UncertaintyZeroToTwelve" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "350", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "Add", - "signature" : [ { - "localId" : "353", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "354", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "351", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal" - }, { - "localId" : "352", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "name" : "UncertaintyZeroToTwelve", - "type" : "ExpressionRef" - } ] - } - } ] - } - } + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "10", + "annotation" : [ ] + }, { + "type" : "ExpressionRef", + "localId" : "352", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "name" : "UncertaintyZeroToTwelve", + "annotation" : [ ] + } ] + } + } ] + } + } } /* Subtract @@ -942,679 +1053,758 @@ define SubtractUncertaintyFromNumber: 10 - UncertaintySixToEighteen */ module.exports['Subtract'] = { - "library" : { - "localId" : "0", - "annotation" : [ { - "translatorVersion" : "3.27.0", - "translatorOptions" : "EnableDateRangeOptimization,EnableAnnotations,EnableResultTypes", - "signatureLevel" : "All", - "type" : "CqlToElmInfo" - }, { - "type" : "Annotation", - "s" : { - "r" : "312", + "library" : { + "localId" : "0", + "annotation" : [ { + "type" : "CqlToElmInfo", + "translatorVersion" : "4.2.0", + "translatorOptions" : "EnableDateRangeOptimization,EnableAnnotations,EnableResultTypes", + "signatureLevel" : "All" + }, { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "312", + "s" : [ { + "value" : [ "", "library TestSnippet version '1'" ] + } ] + } + } ], + "identifier" : { + "id" : "TestSnippet", + "version" : "1" + }, + "schemaIdentifier" : { + "id" : "urn:hl7-org:elm", + "version" : "r1" + }, + "usings" : { + "def" : [ { + "localId" : "1", + "localIdentifier" : "System", + "uri" : "urn:hl7-org:elm-types:r1", + "annotation" : [ ] + }, { + "localId" : "206", + "localIdentifier" : "Simple", + "uri" : "https://github.com/cqframework/cql-execution/simple", + "version" : "1.0.0", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "206", "s" : [ { - "value" : [ "","library TestSnippet version '1'" ] - } ] - } - } ], - "identifier" : { - "id" : "TestSnippet", - "version" : "1" - }, - "schemaIdentifier" : { - "id" : "urn:hl7-org:elm", - "version" : "r1" - }, - "usings" : { - "def" : [ { - "localId" : "1", - "localIdentifier" : "System", - "uri" : "urn:hl7-org:elm-types:r1" - }, { - "localId" : "206", - "localIdentifier" : "Simple", - "uri" : "https://github.com/cqframework/cql-execution/simple", - "version" : "1.0.0", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "206", - "s" : [ { - "value" : [ "","using " ] - }, { - "s" : [ { - "value" : [ "Simple" ] - } ] - }, { - "value" : [ " version '1.0.0'" ] - } ] - } - } ] - } ] - }, - "contexts" : { - "def" : [ { - "localId" : "211", - "name" : "Patient" - } ] - }, - "statements" : { - "def" : [ { - "localId" : "209", - "name" : "Patient", - "context" : "Patient", - "expression" : { - "localId" : "210", - "type" : "SingletonFrom", - "signature" : [ ], - "operand" : { - "localId" : "208", - "dataType" : "{https://github.com/cqframework/cql-execution/simple}Patient", - "type" : "Retrieve", - "include" : [ ], - "codeFilter" : [ ], - "dateFilter" : [ ], - "otherFilter" : [ ] - } - } - }, { - "localId" : "214", + "value" : [ "", "using " ] + }, { + "s" : [ { + "value" : [ "Simple" ] + } ] + }, { + "value" : [ " version '1.0.0'" ] + } ] + } + } ] + } ] + }, + "contexts" : { + "def" : [ { + "localId" : "211", + "name" : "Patient", + "annotation" : [ ] + } ] + }, + "statements" : { + "def" : [ { + "localId" : "209", + "name" : "Patient", + "context" : "Patient", + "annotation" : [ ], + "expression" : { + "type" : "SingletonFrom", + "localId" : "210", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Retrieve", + "localId" : "208", + "dataType" : "{https://github.com/cqframework/cql-execution/simple}Patient", + "annotation" : [ ], + "include" : [ ], + "codeFilter" : [ ], + "dateFilter" : [ ], + "otherFilter" : [ ] + } + } + }, { + "localId" : "214", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "name" : "Ten", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "214", + "s" : [ { + "r" : "215", + "value" : [ "", "define ", "Ten", ": ", "10" ] + } ] + } + } ], + "expression" : { + "type" : "Literal", + "localId" : "215", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "10", + "annotation" : [ ] + } + }, { + "localId" : "218", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "name" : "Eleven", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "218", + "s" : [ { + "r" : "219", + "value" : [ "", "define ", "Eleven", ": ", "11" ] + } ] + } + } ], + "expression" : { + "type" : "Literal", + "localId" : "219", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "11", + "annotation" : [ ] + } + }, { + "localId" : "222", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "name" : "FiveMinusTwo", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "222", + "s" : [ { + "value" : [ "", "define ", "FiveMinusTwo", ": " ] + }, { + "r" : "223", + "s" : [ { + "r" : "224", + "value" : [ "5", " - ", "2" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Subtract", + "localId" : "223", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "226", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "227", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "Literal", + "localId" : "224", "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "name" : "Ten", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "214", - "s" : [ { - "r" : "215", - "value" : [ "","define ","Ten",": ","10" ] - } ] - } - } ], - "expression" : { - "localId" : "215", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal" - } - }, { - "localId" : "218", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "5", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "225", "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "name" : "Eleven", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "218", - "s" : [ { - "r" : "219", - "value" : [ "","define ","Eleven",": ","11" ] - } ] - } - } ], - "expression" : { - "localId" : "219", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "11", - "type" : "Literal" - } - }, { - "localId" : "222", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "annotation" : [ ] + } ] + } + }, { + "localId" : "230", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "name" : "SubtractMultiple", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "230", + "s" : [ { + "value" : [ "", "define ", "SubtractMultiple", ": " ] + }, { + "r" : "231", + "s" : [ { + "r" : "232", + "s" : [ { + "r" : "233", + "s" : [ { + "r" : "234", + "value" : [ "100", " - ", "50" ] + } ] + }, { + "r" : "238", + "value" : [ " - ", "25" ] + } ] + }, { + "r" : "241", + "value" : [ " - ", "10" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Subtract", + "localId" : "231", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "242", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "243", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "Subtract", + "localId" : "232", "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "name" : "FiveMinusTwo", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "222", - "s" : [ { - "value" : [ "","define ","FiveMinusTwo",": " ] - }, { - "r" : "223", - "s" : [ { - "r" : "224", - "value" : [ "5"," - ","2" ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "223", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "Subtract", - "signature" : [ { - "localId" : "226", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "227", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "224", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal" - }, { - "localId" : "225", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal" - } ] - } - }, { - "localId" : "230", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "239", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "240", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "Subtract", + "localId" : "233", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "236", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "237", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "Literal", + "localId" : "234", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "100", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "235", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "50", + "annotation" : [ ] + } ] + }, { + "type" : "Literal", + "localId" : "238", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "25", + "annotation" : [ ] + } ] + }, { + "type" : "Literal", + "localId" : "241", "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "name" : "SubtractMultiple", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "230", - "s" : [ { - "value" : [ "","define ","SubtractMultiple",": " ] - }, { - "r" : "231", - "s" : [ { - "r" : "232", - "s" : [ { - "r" : "233", - "s" : [ { - "r" : "234", - "value" : [ "100"," - ","50" ] - } ] - }, { - "r" : "238", - "value" : [ " - ","25" ] - } ] - }, { - "r" : "241", - "value" : [ " - ","10" ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "231", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "Subtract", - "signature" : [ { - "localId" : "242", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "243", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "232", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "Subtract", - "signature" : [ { - "localId" : "239", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "240", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "233", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "Subtract", - "signature" : [ { - "localId" : "236", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "237", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "234", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "100", - "type" : "Literal" - }, { - "localId" : "235", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "50", - "type" : "Literal" - } ] - }, { - "localId" : "238", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "25", - "type" : "Literal" - } ] - }, { - "localId" : "241", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal" - } ] - } - }, { - "localId" : "246", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "10", + "annotation" : [ ] + } ] + } + }, { + "localId" : "246", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "name" : "SubtractVariables", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "246", + "s" : [ { + "value" : [ "", "define ", "SubtractVariables", ": " ] + }, { + "r" : "247", + "s" : [ { + "r" : "248", + "s" : [ { + "value" : [ "Eleven" ] + } ] + }, { + "value" : [ " - " ] + }, { + "r" : "249", + "s" : [ { + "value" : [ "Ten" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Subtract", + "localId" : "247", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "250", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "251", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "ExpressionRef", + "localId" : "248", "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "name" : "SubtractVariables", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "246", - "s" : [ { - "value" : [ "","define ","SubtractVariables",": " ] - }, { - "r" : "247", - "s" : [ { - "r" : "248", - "s" : [ { - "value" : [ "Eleven" ] - } ] - }, { - "value" : [ " - " ] - }, { - "r" : "249", - "s" : [ { - "value" : [ "Ten" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "247", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "Subtract", - "signature" : [ { - "localId" : "250", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "251", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "248", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "name" : "Eleven", - "type" : "ExpressionRef" - }, { - "localId" : "249", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "name" : "Ten", - "type" : "ExpressionRef" - } ] - } - }, { - "localId" : "254", + "name" : "Eleven", + "annotation" : [ ] + }, { + "type" : "ExpressionRef", + "localId" : "249", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "name" : "Ten", + "annotation" : [ ] + } ] + } + }, { + "localId" : "254", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "name" : "UncertaintyZeroToTwelve", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "254", + "s" : [ { + "value" : [ "", "define ", "UncertaintyZeroToTwelve", ": " ] + }, { + "r" : "255", + "s" : [ { + "value" : [ "months between " ] + }, { + "r" : "262", + "s" : [ { + "r" : "256", + "value" : [ "DateTime", "(", "2005", ", ", "12", ")" ] + } ] + }, { + "value" : [ " and " ] + }, { + "r" : "269", + "s" : [ { + "r" : "265", + "value" : [ "DateTime", "(", "2006", ")" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "DurationBetween", + "localId" : "255", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "precision" : "Month", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "271", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "272", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "DateTime", + "localId" : "262", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "263", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "264", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "256", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2005", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "257", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "12", + "annotation" : [ ] + } + }, { + "type" : "DateTime", + "localId" : "269", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "270", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "265", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2006", + "annotation" : [ ] + } + } ] + } + }, { + "localId" : "275", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "name" : "UncertaintySixToEighteen", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "275", + "s" : [ { + "value" : [ "", "define ", "UncertaintySixToEighteen", ": " ] + }, { + "r" : "276", + "s" : [ { + "value" : [ "months between " ] + }, { + "r" : "281", + "s" : [ { + "r" : "277", + "value" : [ "DateTime", "(", "2005", ")" ] + } ] + }, { + "value" : [ " and " ] + }, { + "r" : "289", + "s" : [ { + "r" : "283", + "value" : [ "DateTime", "(", "2006", ", ", "7", ")" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "DurationBetween", + "localId" : "276", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "precision" : "Month", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "292", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "293", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "DateTime", + "localId" : "281", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "282", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "277", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2005", + "annotation" : [ ] + } + }, { + "type" : "DateTime", + "localId" : "289", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "290", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "291", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "283", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2006", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "284", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "7", + "annotation" : [ ] + } + } ] + } + }, { + "localId" : "296", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "name" : "SubtractUncertainties", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "296", + "s" : [ { + "value" : [ "", "define ", "SubtractUncertainties", ": " ] + }, { + "r" : "297", + "s" : [ { + "r" : "298", + "s" : [ { + "value" : [ "UncertaintySixToEighteen" ] + } ] + }, { + "value" : [ " - " ] + }, { + "r" : "299", + "s" : [ { + "value" : [ "UncertaintyZeroToTwelve" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Subtract", + "localId" : "297", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "300", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "301", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "ExpressionRef", + "localId" : "298", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "name" : "UncertaintySixToEighteen", + "annotation" : [ ] + }, { + "type" : "ExpressionRef", + "localId" : "299", "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", "name" : "UncertaintyZeroToTwelve", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "254", - "s" : [ { - "value" : [ "","define ","UncertaintyZeroToTwelve",": " ] - }, { - "r" : "255", - "s" : [ { - "value" : [ "months between " ] - }, { - "r" : "262", - "s" : [ { - "r" : "256", - "value" : [ "DateTime","(","2005",", ","12",")" ] - } ] - }, { - "value" : [ " and " ] - }, { - "r" : "269", - "s" : [ { - "r" : "265", - "value" : [ "DateTime","(","2006",")" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "255", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "precision" : "Month", - "type" : "DurationBetween", - "signature" : [ { - "localId" : "271", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "272", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "262", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "263", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "264", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "256", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2005", - "type" : "Literal" - }, - "month" : { - "localId" : "257", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "12", - "type" : "Literal" - } - }, { - "localId" : "269", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "270", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "265", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2006", - "type" : "Literal" - } - } ] - } - }, { - "localId" : "275", + "annotation" : [ ] + } ] + } + }, { + "localId" : "304", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "name" : "SubtractNumberFromUncertainty", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "304", + "s" : [ { + "value" : [ "", "define ", "SubtractNumberFromUncertainty", ": " ] + }, { + "r" : "305", + "s" : [ { + "r" : "306", + "s" : [ { + "value" : [ "UncertaintySixToEighteen" ] + } ] + }, { + "r" : "307", + "value" : [ " - ", "5" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Subtract", + "localId" : "305", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "308", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "309", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "ExpressionRef", + "localId" : "306", "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", "name" : "UncertaintySixToEighteen", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "275", - "s" : [ { - "value" : [ "","define ","UncertaintySixToEighteen",": " ] - }, { - "r" : "276", - "s" : [ { - "value" : [ "months between " ] - }, { - "r" : "281", - "s" : [ { - "r" : "277", - "value" : [ "DateTime","(","2005",")" ] - } ] - }, { - "value" : [ " and " ] - }, { - "r" : "289", - "s" : [ { - "r" : "283", - "value" : [ "DateTime","(","2006",", ","7",")" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "276", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "precision" : "Month", - "type" : "DurationBetween", - "signature" : [ { - "localId" : "292", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "293", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "281", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "282", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "277", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2005", - "type" : "Literal" - } - }, { - "localId" : "289", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "290", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "291", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "283", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2006", - "type" : "Literal" - }, - "month" : { - "localId" : "284", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "7", - "type" : "Literal" - } - } ] - } - }, { - "localId" : "296", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "307", "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "name" : "SubtractUncertainties", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "296", - "s" : [ { - "value" : [ "","define ","SubtractUncertainties",": " ] - }, { - "r" : "297", - "s" : [ { - "r" : "298", - "s" : [ { - "value" : [ "UncertaintySixToEighteen" ] - } ] - }, { - "value" : [ " - " ] - }, { - "r" : "299", - "s" : [ { - "value" : [ "UncertaintyZeroToTwelve" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "297", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "Subtract", - "signature" : [ { - "localId" : "300", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "301", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "298", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "name" : "UncertaintySixToEighteen", - "type" : "ExpressionRef" - }, { - "localId" : "299", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "name" : "UncertaintyZeroToTwelve", - "type" : "ExpressionRef" - } ] - } - }, { - "localId" : "304", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "5", + "annotation" : [ ] + } ] + } + }, { + "localId" : "312", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "name" : "SubtractUncertaintyFromNumber", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "312", + "s" : [ { + "value" : [ "", "define ", "SubtractUncertaintyFromNumber", ": " ] + }, { + "r" : "313", + "s" : [ { + "r" : "314", + "value" : [ "10", " - " ] + }, { + "r" : "315", + "s" : [ { + "value" : [ "UncertaintySixToEighteen" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Subtract", + "localId" : "313", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "316", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "317", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "Literal", + "localId" : "314", "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "name" : "SubtractNumberFromUncertainty", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "304", - "s" : [ { - "value" : [ "","define ","SubtractNumberFromUncertainty",": " ] - }, { - "r" : "305", - "s" : [ { - "r" : "306", - "s" : [ { - "value" : [ "UncertaintySixToEighteen" ] - } ] - }, { - "r" : "307", - "value" : [ " - ","5" ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "305", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "Subtract", - "signature" : [ { - "localId" : "308", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "309", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "306", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "name" : "UncertaintySixToEighteen", - "type" : "ExpressionRef" - }, { - "localId" : "307", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal" - } ] - } - }, { - "localId" : "312", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "10", + "annotation" : [ ] + }, { + "type" : "ExpressionRef", + "localId" : "315", "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "name" : "SubtractUncertaintyFromNumber", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "312", - "s" : [ { - "value" : [ "","define ","SubtractUncertaintyFromNumber",": " ] - }, { - "r" : "313", - "s" : [ { - "r" : "314", - "value" : [ "10"," - " ] - }, { - "r" : "315", - "s" : [ { - "value" : [ "UncertaintySixToEighteen" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "313", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "Subtract", - "signature" : [ { - "localId" : "316", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "317", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "314", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal" - }, { - "localId" : "315", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "name" : "UncertaintySixToEighteen", - "type" : "ExpressionRef" - } ] - } - } ] - } - } + "name" : "UncertaintySixToEighteen", + "annotation" : [ ] + } ] + } + } ] + } + } } /* Multiply @@ -1634,705 +1824,788 @@ define MultiplyNumberAndUncertainty: 10 * UncertaintyTwoToFourteen */ module.exports['Multiply'] = { - "library" : { - "localId" : "0", - "annotation" : [ { - "translatorVersion" : "3.27.0", - "translatorOptions" : "EnableDateRangeOptimization,EnableAnnotations,EnableResultTypes", - "signatureLevel" : "All", - "type" : "CqlToElmInfo" - }, { - "type" : "Annotation", - "s" : { - "r" : "316", + "library" : { + "localId" : "0", + "annotation" : [ { + "type" : "CqlToElmInfo", + "translatorVersion" : "4.2.0", + "translatorOptions" : "EnableDateRangeOptimization,EnableAnnotations,EnableResultTypes", + "signatureLevel" : "All" + }, { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "316", + "s" : [ { + "value" : [ "", "library TestSnippet version '1'" ] + } ] + } + } ], + "identifier" : { + "id" : "TestSnippet", + "version" : "1" + }, + "schemaIdentifier" : { + "id" : "urn:hl7-org:elm", + "version" : "r1" + }, + "usings" : { + "def" : [ { + "localId" : "1", + "localIdentifier" : "System", + "uri" : "urn:hl7-org:elm-types:r1", + "annotation" : [ ] + }, { + "localId" : "206", + "localIdentifier" : "Simple", + "uri" : "https://github.com/cqframework/cql-execution/simple", + "version" : "1.0.0", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "206", "s" : [ { - "value" : [ "","library TestSnippet version '1'" ] - } ] - } - } ], - "identifier" : { - "id" : "TestSnippet", - "version" : "1" - }, - "schemaIdentifier" : { - "id" : "urn:hl7-org:elm", - "version" : "r1" - }, - "usings" : { - "def" : [ { - "localId" : "1", - "localIdentifier" : "System", - "uri" : "urn:hl7-org:elm-types:r1" - }, { - "localId" : "206", - "localIdentifier" : "Simple", - "uri" : "https://github.com/cqframework/cql-execution/simple", - "version" : "1.0.0", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "206", - "s" : [ { - "value" : [ "","using " ] - }, { - "s" : [ { - "value" : [ "Simple" ] - } ] - }, { - "value" : [ " version '1.0.0'" ] - } ] - } - } ] - } ] - }, - "contexts" : { - "def" : [ { - "localId" : "211", - "name" : "Patient" - } ] - }, - "statements" : { - "def" : [ { - "localId" : "209", - "name" : "Patient", - "context" : "Patient", - "expression" : { - "localId" : "210", - "type" : "SingletonFrom", - "signature" : [ ], - "operand" : { - "localId" : "208", - "dataType" : "{https://github.com/cqframework/cql-execution/simple}Patient", - "type" : "Retrieve", - "include" : [ ], - "codeFilter" : [ ], - "dateFilter" : [ ], - "otherFilter" : [ ] - } - } - }, { - "localId" : "214", + "value" : [ "", "using " ] + }, { + "s" : [ { + "value" : [ "Simple" ] + } ] + }, { + "value" : [ " version '1.0.0'" ] + } ] + } + } ] + } ] + }, + "contexts" : { + "def" : [ { + "localId" : "211", + "name" : "Patient", + "annotation" : [ ] + } ] + }, + "statements" : { + "def" : [ { + "localId" : "209", + "name" : "Patient", + "context" : "Patient", + "annotation" : [ ], + "expression" : { + "type" : "SingletonFrom", + "localId" : "210", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Retrieve", + "localId" : "208", + "dataType" : "{https://github.com/cqframework/cql-execution/simple}Patient", + "annotation" : [ ], + "include" : [ ], + "codeFilter" : [ ], + "dateFilter" : [ ], + "otherFilter" : [ ] + } + } + }, { + "localId" : "214", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "name" : "Ten", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "214", + "s" : [ { + "r" : "215", + "value" : [ "", "define ", "Ten", ": ", "10" ] + } ] + } + } ], + "expression" : { + "type" : "Literal", + "localId" : "215", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "10", + "annotation" : [ ] + } + }, { + "localId" : "218", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "name" : "Eleven", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "218", + "s" : [ { + "r" : "219", + "value" : [ "", "define ", "Eleven", ": ", "11" ] + } ] + } + } ], + "expression" : { + "type" : "Literal", + "localId" : "219", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "11", + "annotation" : [ ] + } + }, { + "localId" : "222", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "name" : "FiveTimesTwo", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "222", + "s" : [ { + "value" : [ "", "define ", "FiveTimesTwo", ": " ] + }, { + "r" : "223", + "s" : [ { + "r" : "224", + "value" : [ "5", " * ", "2" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Multiply", + "localId" : "223", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "226", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "227", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "Literal", + "localId" : "224", "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "name" : "Ten", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "214", - "s" : [ { - "r" : "215", - "value" : [ "","define ","Ten",": ","10" ] - } ] - } - } ], - "expression" : { - "localId" : "215", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal" - } - }, { - "localId" : "218", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "5", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "225", "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "name" : "Eleven", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "218", - "s" : [ { - "r" : "219", - "value" : [ "","define ","Eleven",": ","11" ] - } ] - } - } ], - "expression" : { - "localId" : "219", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "11", - "type" : "Literal" - } - }, { - "localId" : "222", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "annotation" : [ ] + } ] + } + }, { + "localId" : "230", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "name" : "MultiplyMultiple", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "230", + "s" : [ { + "value" : [ "", "define ", "MultiplyMultiple", ": " ] + }, { + "r" : "231", + "s" : [ { + "r" : "232", + "s" : [ { + "r" : "233", + "s" : [ { + "r" : "234", + "s" : [ { + "r" : "235", + "value" : [ "1", " * ", "2" ] + } ] + }, { + "r" : "239", + "value" : [ " * ", "3" ] + } ] + }, { + "r" : "242", + "value" : [ " * ", "4" ] + } ] + }, { + "r" : "245", + "value" : [ " * ", "5" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Multiply", + "localId" : "231", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "246", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "247", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "Multiply", + "localId" : "232", "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "name" : "FiveTimesTwo", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "222", - "s" : [ { - "value" : [ "","define ","FiveTimesTwo",": " ] - }, { - "r" : "223", - "s" : [ { - "r" : "224", - "value" : [ "5"," * ","2" ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "223", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "Multiply", - "signature" : [ { - "localId" : "226", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "243", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "244", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "Multiply", + "localId" : "233", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "240", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "241", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "Multiply", + "localId" : "234", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "237", "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "227", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "238", "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "224", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "Literal", + "localId" : "235", "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal" - }, { - "localId" : "225", + "value" : "1", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "236", "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", "valueType" : "{urn:hl7-org:elm-types:r1}Integer", "value" : "2", - "type" : "Literal" - } ] - } - }, { - "localId" : "230", + "annotation" : [ ] + } ] + }, { + "type" : "Literal", + "localId" : "239", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + } ] + }, { + "type" : "Literal", + "localId" : "242", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "4", + "annotation" : [ ] + } ] + }, { + "type" : "Literal", + "localId" : "245", "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "name" : "MultiplyMultiple", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "230", - "s" : [ { - "value" : [ "","define ","MultiplyMultiple",": " ] - }, { - "r" : "231", - "s" : [ { - "r" : "232", - "s" : [ { - "r" : "233", - "s" : [ { - "r" : "234", - "s" : [ { - "r" : "235", - "value" : [ "1"," * ","2" ] - } ] - }, { - "r" : "239", - "value" : [ " * ","3" ] - } ] - }, { - "r" : "242", - "value" : [ " * ","4" ] - } ] - }, { - "r" : "245", - "value" : [ " * ","5" ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "231", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "Multiply", - "signature" : [ { - "localId" : "246", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "247", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "232", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "Multiply", - "signature" : [ { - "localId" : "243", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "244", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "233", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "Multiply", - "signature" : [ { - "localId" : "240", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "241", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "234", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "Multiply", - "signature" : [ { - "localId" : "237", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "238", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "235", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, { - "localId" : "236", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal" - } ] - }, { - "localId" : "239", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - } ] - }, { - "localId" : "242", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "4", - "type" : "Literal" - } ] - }, { - "localId" : "245", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal" - } ] - } - }, { - "localId" : "250", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "5", + "annotation" : [ ] + } ] + } + }, { + "localId" : "250", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "name" : "MultiplyVariables", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "250", + "s" : [ { + "value" : [ "", "define ", "MultiplyVariables", ": " ] + }, { + "r" : "251", + "s" : [ { + "r" : "252", + "s" : [ { + "value" : [ "Eleven" ] + } ] + }, { + "value" : [ " * " ] + }, { + "r" : "253", + "s" : [ { + "value" : [ "Ten" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Multiply", + "localId" : "251", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "254", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "255", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "ExpressionRef", + "localId" : "252", "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "name" : "MultiplyVariables", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "250", - "s" : [ { - "value" : [ "","define ","MultiplyVariables",": " ] - }, { - "r" : "251", - "s" : [ { - "r" : "252", - "s" : [ { - "value" : [ "Eleven" ] - } ] - }, { - "value" : [ " * " ] - }, { - "r" : "253", - "s" : [ { - "value" : [ "Ten" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "251", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "Multiply", - "signature" : [ { - "localId" : "254", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "255", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "252", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "name" : "Eleven", - "type" : "ExpressionRef" - }, { - "localId" : "253", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "name" : "Ten", - "type" : "ExpressionRef" - } ] - } - }, { - "localId" : "258", + "name" : "Eleven", + "annotation" : [ ] + }, { + "type" : "ExpressionRef", + "localId" : "253", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "name" : "Ten", + "annotation" : [ ] + } ] + } + }, { + "localId" : "258", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "name" : "UncertaintyTwoToFourteen", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "258", + "s" : [ { + "value" : [ "", "define ", "UncertaintyTwoToFourteen", ": " ] + }, { + "r" : "259", + "s" : [ { + "value" : [ "months between " ] + }, { + "r" : "266", + "s" : [ { + "r" : "260", + "value" : [ "DateTime", "(", "2005", ", ", "10", ")" ] + } ] + }, { + "value" : [ " and " ] + }, { + "r" : "273", + "s" : [ { + "r" : "269", + "value" : [ "DateTime", "(", "2006", ")" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "DurationBetween", + "localId" : "259", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "precision" : "Month", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "275", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "276", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "DateTime", + "localId" : "266", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "267", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "268", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "260", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2005", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "261", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "10", + "annotation" : [ ] + } + }, { + "type" : "DateTime", + "localId" : "273", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "274", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "269", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2006", + "annotation" : [ ] + } + } ] + } + }, { + "localId" : "279", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "name" : "UncertaintySixToEighteen", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "279", + "s" : [ { + "value" : [ "", "define ", "UncertaintySixToEighteen", ": " ] + }, { + "r" : "280", + "s" : [ { + "value" : [ "months between " ] + }, { + "r" : "285", + "s" : [ { + "r" : "281", + "value" : [ "DateTime", "(", "2005", ")" ] + } ] + }, { + "value" : [ " and " ] + }, { + "r" : "293", + "s" : [ { + "r" : "287", + "value" : [ "DateTime", "(", "2006", ", ", "7", ")" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "DurationBetween", + "localId" : "280", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "precision" : "Month", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "296", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "297", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "DateTime", + "localId" : "285", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "286", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "281", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2005", + "annotation" : [ ] + } + }, { + "type" : "DateTime", + "localId" : "293", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "294", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "295", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "287", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2006", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "288", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "7", + "annotation" : [ ] + } + } ] + } + }, { + "localId" : "300", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "name" : "MultiplyUncertainties", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "300", + "s" : [ { + "value" : [ "", "define ", "MultiplyUncertainties", ": " ] + }, { + "r" : "301", + "s" : [ { + "r" : "302", + "s" : [ { + "value" : [ "UncertaintyTwoToFourteen" ] + } ] + }, { + "value" : [ " * " ] + }, { + "r" : "303", + "s" : [ { + "value" : [ "UncertaintySixToEighteen" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Multiply", + "localId" : "301", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "304", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "305", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "ExpressionRef", + "localId" : "302", "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", "name" : "UncertaintyTwoToFourteen", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "258", - "s" : [ { - "value" : [ "","define ","UncertaintyTwoToFourteen",": " ] - }, { - "r" : "259", - "s" : [ { - "value" : [ "months between " ] - }, { - "r" : "266", - "s" : [ { - "r" : "260", - "value" : [ "DateTime","(","2005",", ","10",")" ] - } ] - }, { - "value" : [ " and " ] - }, { - "r" : "273", - "s" : [ { - "r" : "269", - "value" : [ "DateTime","(","2006",")" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "259", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "precision" : "Month", - "type" : "DurationBetween", - "signature" : [ { - "localId" : "275", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "276", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "266", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "267", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "268", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "260", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2005", - "type" : "Literal" - }, - "month" : { - "localId" : "261", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal" - } - }, { - "localId" : "273", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "274", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "269", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2006", - "type" : "Literal" - } - } ] - } - }, { - "localId" : "279", + "annotation" : [ ] + }, { + "type" : "ExpressionRef", + "localId" : "303", "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", "name" : "UncertaintySixToEighteen", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "279", - "s" : [ { - "value" : [ "","define ","UncertaintySixToEighteen",": " ] - }, { - "r" : "280", - "s" : [ { - "value" : [ "months between " ] - }, { - "r" : "285", - "s" : [ { - "r" : "281", - "value" : [ "DateTime","(","2005",")" ] - } ] - }, { - "value" : [ " and " ] - }, { - "r" : "293", - "s" : [ { - "r" : "287", - "value" : [ "DateTime","(","2006",", ","7",")" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "280", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "precision" : "Month", - "type" : "DurationBetween", - "signature" : [ { - "localId" : "296", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "297", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "285", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "286", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "281", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2005", - "type" : "Literal" - } - }, { - "localId" : "293", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "294", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "295", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "287", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2006", - "type" : "Literal" - }, - "month" : { - "localId" : "288", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "7", - "type" : "Literal" - } - } ] - } - }, { - "localId" : "300", + "annotation" : [ ] + } ] + } + }, { + "localId" : "308", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "name" : "MultiplyUncertaintyAndNumber", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "308", + "s" : [ { + "value" : [ "", "define ", "MultiplyUncertaintyAndNumber", ": " ] + }, { + "r" : "309", + "s" : [ { + "r" : "310", + "s" : [ { + "value" : [ "UncertaintyTwoToFourteen" ] + } ] + }, { + "r" : "311", + "value" : [ " * ", "5" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Multiply", + "localId" : "309", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "312", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "313", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "ExpressionRef", + "localId" : "310", "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "name" : "MultiplyUncertainties", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "300", - "s" : [ { - "value" : [ "","define ","MultiplyUncertainties",": " ] - }, { - "r" : "301", - "s" : [ { - "r" : "302", - "s" : [ { - "value" : [ "UncertaintyTwoToFourteen" ] - } ] - }, { - "value" : [ " * " ] - }, { - "r" : "303", - "s" : [ { - "value" : [ "UncertaintySixToEighteen" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "301", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "Multiply", - "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" : "302", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "name" : "UncertaintyTwoToFourteen", - "type" : "ExpressionRef" - }, { - "localId" : "303", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "name" : "UncertaintySixToEighteen", - "type" : "ExpressionRef" - } ] - } - }, { - "localId" : "308", + "name" : "UncertaintyTwoToFourteen", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "311", "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "name" : "MultiplyUncertaintyAndNumber", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "308", - "s" : [ { - "value" : [ "","define ","MultiplyUncertaintyAndNumber",": " ] - }, { - "r" : "309", - "s" : [ { - "r" : "310", - "s" : [ { - "value" : [ "UncertaintyTwoToFourteen" ] - } ] - }, { - "r" : "311", - "value" : [ " * ","5" ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "309", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "Multiply", - "signature" : [ { - "localId" : "312", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "313", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "310", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "name" : "UncertaintyTwoToFourteen", - "type" : "ExpressionRef" - }, { - "localId" : "311", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal" - } ] - } - }, { - "localId" : "316", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "5", + "annotation" : [ ] + } ] + } + }, { + "localId" : "316", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "name" : "MultiplyNumberAndUncertainty", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "316", + "s" : [ { + "value" : [ "", "define ", "MultiplyNumberAndUncertainty", ": " ] + }, { + "r" : "317", + "s" : [ { + "r" : "318", + "value" : [ "10", " * " ] + }, { + "r" : "319", + "s" : [ { + "value" : [ "UncertaintyTwoToFourteen" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Multiply", + "localId" : "317", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "320", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "321", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "Literal", + "localId" : "318", "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "name" : "MultiplyNumberAndUncertainty", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "316", - "s" : [ { - "value" : [ "","define ","MultiplyNumberAndUncertainty",": " ] - }, { - "r" : "317", - "s" : [ { - "r" : "318", - "value" : [ "10"," * " ] - }, { - "r" : "319", - "s" : [ { - "value" : [ "UncertaintyTwoToFourteen" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "317", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "Multiply", - "signature" : [ { - "localId" : "320", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "321", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "318", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal" - }, { - "localId" : "319", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "name" : "UncertaintyTwoToFourteen", - "type" : "ExpressionRef" - } ] - } - } ] - } - } + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "10", + "annotation" : [ ] + }, { + "type" : "ExpressionRef", + "localId" : "319", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "name" : "UncertaintyTwoToFourteen", + "annotation" : [ ] + } ] + } + } ] + } + } } /* Divide @@ -2353,1782 +2626,1993 @@ define DivideNumberByUncertainty: 36 / UncertaintySixToEighteen */ module.exports['Divide'] = { - "library" : { - "localId" : "0", - "annotation" : [ { - "translatorVersion" : "3.27.0", - "translatorOptions" : "EnableDateRangeOptimization,EnableAnnotations,EnableResultTypes", - "signatureLevel" : "All", - "type" : "CqlToElmInfo" - }, { - "type" : "Annotation", - "s" : { + "library" : { + "localId" : "0", + "annotation" : [ { + "type" : "CqlToElmInfo", + "translatorVersion" : "4.2.0", + "translatorOptions" : "EnableDateRangeOptimization,EnableAnnotations,EnableResultTypes", + "signatureLevel" : "All" + }, { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "362", + "s" : [ { + "value" : [ "", "library TestSnippet version '1'" ] + } ] + } + } ], + "identifier" : { + "id" : "TestSnippet", + "version" : "1" + }, + "schemaIdentifier" : { + "id" : "urn:hl7-org:elm", + "version" : "r1" + }, + "usings" : { + "def" : [ { + "localId" : "1", + "localIdentifier" : "System", + "uri" : "urn:hl7-org:elm-types:r1", + "annotation" : [ ] + }, { + "localId" : "206", + "localIdentifier" : "Simple", + "uri" : "https://github.com/cqframework/cql-execution/simple", + "version" : "1.0.0", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "206", + "s" : [ { + "value" : [ "", "using " ] + }, { + "s" : [ { + "value" : [ "Simple" ] + } ] + }, { + "value" : [ " version '1.0.0'" ] + } ] + } + } ] + } ] + }, + "contexts" : { + "def" : [ { + "localId" : "211", + "name" : "Patient", + "annotation" : [ ] + } ] + }, + "statements" : { + "def" : [ { + "localId" : "209", + "name" : "Patient", + "context" : "Patient", + "annotation" : [ ], + "expression" : { + "type" : "SingletonFrom", + "localId" : "210", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Retrieve", + "localId" : "208", + "dataType" : "{https://github.com/cqframework/cql-execution/simple}Patient", + "annotation" : [ ], + "include" : [ ], + "codeFilter" : [ ], + "dateFilter" : [ ], + "otherFilter" : [ ] + } + } + }, { + "localId" : "214", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "name" : "Hundred", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "214", + "s" : [ { + "r" : "215", + "value" : [ "", "define ", "Hundred", ": ", "100" ] + } ] + } + } ], + "expression" : { + "type" : "Literal", + "localId" : "215", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "100", + "annotation" : [ ] + } + }, { + "localId" : "218", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "name" : "Four", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "218", + "s" : [ { + "r" : "219", + "value" : [ "", "define ", "Four", ": ", "4" ] + } ] + } + } ], + "expression" : { + "type" : "Literal", + "localId" : "219", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "4", + "annotation" : [ ] + } + }, { + "localId" : "222", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "name" : "TenDividedByTwo", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "222", + "s" : [ { + "value" : [ "", "define ", "TenDividedByTwo", ": " ] + }, { + "r" : "223", + "s" : [ { + "r" : "224", + "value" : [ "10", " / ", "2" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Divide", + "localId" : "223", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "232", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "233", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "ToDecimal", + "localId" : "227", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "228", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "operand" : { + "type" : "Literal", + "localId" : "224", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "10", + "annotation" : [ ] + } + }, { + "type" : "ToDecimal", + "localId" : "230", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "231", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "operand" : { + "type" : "Literal", + "localId" : "225", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "annotation" : [ ] + } + } ] + } + }, { + "localId" : "236", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "name" : "TenDividedByFour", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "236", + "s" : [ { + "value" : [ "", "define ", "TenDividedByFour", ": " ] + }, { + "r" : "237", + "s" : [ { + "r" : "238", + "value" : [ "10", " / ", "4" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Divide", + "localId" : "237", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "246", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "247", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "ToDecimal", + "localId" : "241", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "242", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "operand" : { + "type" : "Literal", + "localId" : "238", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "10", + "annotation" : [ ] + } + }, { + "type" : "ToDecimal", + "localId" : "244", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "245", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "operand" : { + "type" : "Literal", + "localId" : "239", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "4", + "annotation" : [ ] + } + } ] + } + }, { + "localId" : "250", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "name" : "DivideMultiple", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "250", + "s" : [ { + "value" : [ "", "define ", "DivideMultiple", ": " ] + }, { + "r" : "251", + "s" : [ { + "r" : "252", + "s" : [ { + "r" : "253", + "s" : [ { + "r" : "254", + "value" : [ "1000", " / ", "4" ] + } ] + }, { + "r" : "264", + "value" : [ " / ", "10" ] + } ] + }, { + "r" : "270", + "value" : [ " / ", "5" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Divide", + "localId" : "251", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "274", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "275", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "Divide", + "localId" : "252", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "268", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "269", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "Divide", + "localId" : "253", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "262", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "263", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "ToDecimal", + "localId" : "257", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "258", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "operand" : { + "type" : "Literal", + "localId" : "254", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1000", + "annotation" : [ ] + } + }, { + "type" : "ToDecimal", + "localId" : "260", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "261", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "operand" : { + "type" : "Literal", + "localId" : "255", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "4", + "annotation" : [ ] + } + } ] + }, { + "type" : "ToDecimal", + "localId" : "266", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "267", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "operand" : { + "type" : "Literal", + "localId" : "264", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "10", + "annotation" : [ ] + } + } ] + }, { + "type" : "ToDecimal", + "localId" : "272", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "273", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "operand" : { + "type" : "Literal", + "localId" : "270", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "5", + "annotation" : [ ] + } + } ] + } + }, { + "localId" : "278", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "name" : "DivideVariables", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "278", + "s" : [ { + "value" : [ "", "define ", "DivideVariables", ": " ] + }, { + "r" : "279", + "s" : [ { + "r" : "280", + "s" : [ { + "value" : [ "Hundred" ] + } ] + }, { + "value" : [ " / " ] + }, { + "r" : "281", + "s" : [ { + "value" : [ "Four" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Divide", + "localId" : "279", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "288", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "289", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "ToDecimal", + "localId" : "283", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "284", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "operand" : { + "type" : "ExpressionRef", + "localId" : "280", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "name" : "Hundred", + "annotation" : [ ] + } + }, { + "type" : "ToDecimal", + "localId" : "286", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "287", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "operand" : { + "type" : "ExpressionRef", + "localId" : "281", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "name" : "Four", + "annotation" : [ ] + } + } ] + } + }, { + "localId" : "292", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "name" : "UncertaintyTwoToFourteen", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "292", + "s" : [ { + "value" : [ "", "define ", "UncertaintyTwoToFourteen", ": " ] + }, { + "r" : "293", + "s" : [ { + "value" : [ "months between " ] + }, { + "r" : "300", + "s" : [ { + "r" : "294", + "value" : [ "DateTime", "(", "2005", ", ", "10", ")" ] + } ] + }, { + "value" : [ " and " ] + }, { + "r" : "307", + "s" : [ { + "r" : "303", + "value" : [ "DateTime", "(", "2006", ")" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "DurationBetween", + "localId" : "293", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "precision" : "Month", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "309", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "310", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "DateTime", + "localId" : "300", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "301", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "302", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "294", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2005", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "295", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "10", + "annotation" : [ ] + } + }, { + "type" : "DateTime", + "localId" : "307", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "308", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "303", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2006", + "annotation" : [ ] + } + } ] + } + }, { + "localId" : "313", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "name" : "UncertaintySixToEighteen", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "313", + "s" : [ { + "value" : [ "", "define ", "UncertaintySixToEighteen", ": " ] + }, { + "r" : "314", + "s" : [ { + "value" : [ "months between " ] + }, { + "r" : "319", + "s" : [ { + "r" : "315", + "value" : [ "DateTime", "(", "2005", ")" ] + } ] + }, { + "value" : [ " and " ] + }, { + "r" : "327", + "s" : [ { + "r" : "321", + "value" : [ "DateTime", "(", "2006", ", ", "7", ")" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "DurationBetween", + "localId" : "314", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "precision" : "Month", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "330", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "331", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "DateTime", + "localId" : "319", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "320", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "315", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2005", + "annotation" : [ ] + } + }, { + "type" : "DateTime", + "localId" : "327", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "328", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "329", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "321", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2006", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "322", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "7", + "annotation" : [ ] + } + } ] + } + }, { + "localId" : "334", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "name" : "DivideUncertainties", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "334", + "s" : [ { + "value" : [ "", "define ", "DivideUncertainties", ": " ] + }, { + "r" : "335", + "s" : [ { + "r" : "336", + "s" : [ { + "value" : [ "UncertaintySixToEighteen" ] + } ] + }, { + "value" : [ " / " ] + }, { + "r" : "337", + "s" : [ { + "value" : [ "UncertaintyTwoToFourteen" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Divide", + "localId" : "335", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "344", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "345", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "ToDecimal", + "localId" : "339", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "340", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "operand" : { + "type" : "ExpressionRef", + "localId" : "336", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "name" : "UncertaintySixToEighteen", + "annotation" : [ ] + } + }, { + "type" : "ToDecimal", + "localId" : "342", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "343", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "operand" : { + "type" : "ExpressionRef", + "localId" : "337", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "name" : "UncertaintyTwoToFourteen", + "annotation" : [ ] + } + } ] + } + }, { + "localId" : "348", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "name" : "DivideUncertaintyByNumber", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "348", + "s" : [ { + "value" : [ "", "define ", "DivideUncertaintyByNumber", ": " ] + }, { + "r" : "349", + "s" : [ { + "r" : "350", + "s" : [ { + "value" : [ "UncertaintySixToEighteen" ] + } ] + }, { + "r" : "351", + "value" : [ " / ", "2" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Divide", + "localId" : "349", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "358", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "359", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "ToDecimal", + "localId" : "353", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "354", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "operand" : { + "type" : "ExpressionRef", + "localId" : "350", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "name" : "UncertaintySixToEighteen", + "annotation" : [ ] + } + }, { + "type" : "ToDecimal", + "localId" : "356", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "357", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "operand" : { + "type" : "Literal", + "localId" : "351", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "annotation" : [ ] + } + } ] + } + }, { + "localId" : "362", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "name" : "DivideNumberByUncertainty", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { "r" : "362", "s" : [ { - "value" : [ "","library TestSnippet version '1'" ] - } ] - } - } ], - "identifier" : { - "id" : "TestSnippet", - "version" : "1" - }, - "schemaIdentifier" : { - "id" : "urn:hl7-org:elm", - "version" : "r1" - }, - "usings" : { - "def" : [ { - "localId" : "1", - "localIdentifier" : "System", - "uri" : "urn:hl7-org:elm-types:r1" - }, { - "localId" : "206", - "localIdentifier" : "Simple", - "uri" : "https://github.com/cqframework/cql-execution/simple", - "version" : "1.0.0", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "206", - "s" : [ { - "value" : [ "","using " ] - }, { - "s" : [ { - "value" : [ "Simple" ] - } ] - }, { - "value" : [ " version '1.0.0'" ] - } ] - } - } ] - } ] - }, - "contexts" : { - "def" : [ { - "localId" : "211", - "name" : "Patient" - } ] - }, - "statements" : { - "def" : [ { - "localId" : "209", - "name" : "Patient", - "context" : "Patient", - "expression" : { - "localId" : "210", - "type" : "SingletonFrom", - "signature" : [ ], - "operand" : { - "localId" : "208", - "dataType" : "{https://github.com/cqframework/cql-execution/simple}Patient", - "type" : "Retrieve", - "include" : [ ], - "codeFilter" : [ ], - "dateFilter" : [ ], - "otherFilter" : [ ] - } - } - }, { - "localId" : "214", + "value" : [ "", "define ", "DivideNumberByUncertainty", ": " ] + }, { + "r" : "363", + "s" : [ { + "r" : "364", + "value" : [ "36", " / " ] + }, { + "r" : "365", + "s" : [ { + "value" : [ "UncertaintySixToEighteen" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Divide", + "localId" : "363", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "372", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "373", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "ToDecimal", + "localId" : "367", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "368", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "operand" : { + "type" : "Literal", + "localId" : "364", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "36", + "annotation" : [ ] + } + }, { + "type" : "ToDecimal", + "localId" : "370", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "371", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "operand" : { + "type" : "ExpressionRef", + "localId" : "365", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "name" : "UncertaintySixToEighteen", + "annotation" : [ ] + } + } ] + } + } ] + } + } +} + +/* Negate +library TestSnippet version '1' +using Simple version '1.0.0' +context Patient +define NegativeOne: -1 +*/ + +module.exports['Negate'] = { + "library" : { + "localId" : "0", + "annotation" : [ { + "type" : "CqlToElmInfo", + "translatorVersion" : "4.2.0", + "translatorOptions" : "EnableDateRangeOptimization,EnableAnnotations,EnableResultTypes", + "signatureLevel" : "All" + }, { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "214", + "s" : [ { + "value" : [ "", "library TestSnippet version '1'" ] + } ] + } + } ], + "identifier" : { + "id" : "TestSnippet", + "version" : "1" + }, + "schemaIdentifier" : { + "id" : "urn:hl7-org:elm", + "version" : "r1" + }, + "usings" : { + "def" : [ { + "localId" : "1", + "localIdentifier" : "System", + "uri" : "urn:hl7-org:elm-types:r1", + "annotation" : [ ] + }, { + "localId" : "206", + "localIdentifier" : "Simple", + "uri" : "https://github.com/cqframework/cql-execution/simple", + "version" : "1.0.0", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "206", + "s" : [ { + "value" : [ "", "using " ] + }, { + "s" : [ { + "value" : [ "Simple" ] + } ] + }, { + "value" : [ " version '1.0.0'" ] + } ] + } + } ] + } ] + }, + "contexts" : { + "def" : [ { + "localId" : "211", + "name" : "Patient", + "annotation" : [ ] + } ] + }, + "statements" : { + "def" : [ { + "localId" : "209", + "name" : "Patient", + "context" : "Patient", + "annotation" : [ ], + "expression" : { + "type" : "SingletonFrom", + "localId" : "210", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Retrieve", + "localId" : "208", + "dataType" : "{https://github.com/cqframework/cql-execution/simple}Patient", + "annotation" : [ ], + "include" : [ ], + "codeFilter" : [ ], + "dateFilter" : [ ], + "otherFilter" : [ ] + } + } + }, { + "localId" : "214", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "name" : "NegativeOne", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "214", + "s" : [ { + "value" : [ "", "define ", "NegativeOne", ": " ] + }, { + "r" : "215", + "s" : [ { + "r" : "216", + "value" : [ "-", "1" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Negate", + "localId" : "215", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "217", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "operand" : { + "type" : "Literal", + "localId" : "216", "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "name" : "Hundred", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "214", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + } + } + } ] + } + } +} + +/* MathPrecedence +library TestSnippet version '1' +using Simple version '1.0.0' +context Patient +define Mixed: 1 + 5 * 10 - 15 / 3 +define Parenthetical: (1 + 5) * (10 - 15) / 3 +*/ + +module.exports['MathPrecedence'] = { + "library" : { + "localId" : "0", + "annotation" : [ { + "type" : "CqlToElmInfo", + "translatorVersion" : "4.2.0", + "translatorOptions" : "EnableDateRangeOptimization,EnableAnnotations,EnableResultTypes", + "signatureLevel" : "All" + }, { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "243", + "s" : [ { + "value" : [ "", "library TestSnippet version '1'" ] + } ] + } + } ], + "identifier" : { + "id" : "TestSnippet", + "version" : "1" + }, + "schemaIdentifier" : { + "id" : "urn:hl7-org:elm", + "version" : "r1" + }, + "usings" : { + "def" : [ { + "localId" : "1", + "localIdentifier" : "System", + "uri" : "urn:hl7-org:elm-types:r1", + "annotation" : [ ] + }, { + "localId" : "206", + "localIdentifier" : "Simple", + "uri" : "https://github.com/cqframework/cql-execution/simple", + "version" : "1.0.0", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "206", + "s" : [ { + "value" : [ "", "using " ] + }, { + "s" : [ { + "value" : [ "Simple" ] + } ] + }, { + "value" : [ " version '1.0.0'" ] + } ] + } + } ] + } ] + }, + "contexts" : { + "def" : [ { + "localId" : "211", + "name" : "Patient", + "annotation" : [ ] + } ] + }, + "statements" : { + "def" : [ { + "localId" : "209", + "name" : "Patient", + "context" : "Patient", + "annotation" : [ ], + "expression" : { + "type" : "SingletonFrom", + "localId" : "210", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Retrieve", + "localId" : "208", + "dataType" : "{https://github.com/cqframework/cql-execution/simple}Patient", + "annotation" : [ ], + "include" : [ ], + "codeFilter" : [ ], + "dateFilter" : [ ], + "otherFilter" : [ ] + } + } + }, { + "localId" : "214", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "name" : "Mixed", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "214", + "s" : [ { + "value" : [ "", "define ", "Mixed", ": " ] + }, { + "r" : "215", + "s" : [ { + "r" : "216", + "s" : [ { + "r" : "217", + "value" : [ "1", " + " ] + }, { + "r" : "218", "s" : [ { - "r" : "215", - "value" : [ "","define ","Hundred",": ","100" ] + "r" : "219", + "value" : [ "5", " * ", "10" ] } ] - } - } ], - "expression" : { - "localId" : "215", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "100", - "type" : "Literal" - } - }, { - "localId" : "218", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "name" : "Four", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "218", - "s" : [ { - "r" : "219", - "value" : [ "","define ","Four",": ","4" ] - } ] - } - } ], - "expression" : { - "localId" : "219", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "4", - "type" : "Literal" - } - }, { - "localId" : "222", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "name" : "TenDividedByTwo", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "222", - "s" : [ { - "value" : [ "","define ","TenDividedByTwo",": " ] - }, { - "r" : "223", - "s" : [ { - "r" : "224", - "value" : [ "10"," / ","2" ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "223", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "Divide", - "signature" : [ { - "localId" : "232", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "233", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "227", - "type" : "ToDecimal", - "signature" : [ { - "localId" : "228", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "224", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal" - } - }, { - "localId" : "230", - "type" : "ToDecimal", - "signature" : [ { - "localId" : "231", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "225", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal" - } - } ] - } - }, { - "localId" : "236", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "name" : "TenDividedByFour", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "236", - "s" : [ { - "value" : [ "","define ","TenDividedByFour",": " ] - }, { - "r" : "237", - "s" : [ { - "r" : "238", - "value" : [ "10"," / ","4" ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "237", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "Divide", - "signature" : [ { - "localId" : "246", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "247", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "241", - "type" : "ToDecimal", - "signature" : [ { - "localId" : "242", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "238", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal" - } - }, { - "localId" : "244", - "type" : "ToDecimal", - "signature" : [ { - "localId" : "245", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "239", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "4", - "type" : "Literal" - } - } ] - } - }, { - "localId" : "250", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "name" : "DivideMultiple", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "250", - "s" : [ { - "value" : [ "","define ","DivideMultiple",": " ] - }, { - "r" : "251", - "s" : [ { - "r" : "252", - "s" : [ { - "r" : "253", - "s" : [ { - "r" : "254", - "value" : [ "1000"," / ","4" ] - } ] - }, { - "r" : "264", - "value" : [ " / ","10" ] - } ] - }, { - "r" : "270", - "value" : [ " / ","5" ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "251", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "Divide", - "signature" : [ { - "localId" : "274", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "275", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "252", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "Divide", - "signature" : [ { - "localId" : "268", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "269", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "253", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "Divide", - "signature" : [ { - "localId" : "262", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "263", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "257", - "type" : "ToDecimal", - "signature" : [ { - "localId" : "258", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "254", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1000", - "type" : "Literal" - } - }, { - "localId" : "260", - "type" : "ToDecimal", - "signature" : [ { - "localId" : "261", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "255", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "4", - "type" : "Literal" - } - } ] - }, { - "localId" : "266", - "type" : "ToDecimal", - "signature" : [ { - "localId" : "267", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "264", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal" - } - } ] - }, { - "localId" : "272", - "type" : "ToDecimal", - "signature" : [ { - "localId" : "273", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "270", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal" - } - } ] + } ] + }, { + "value" : [ " - " ] + }, { + "r" : "225", + "s" : [ { + "r" : "226", + "value" : [ "15", " / ", "3" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Subtract", + "localId" : "215", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "239", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "240", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "ToDecimal", + "localId" : "237", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "238", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "operand" : { + "type" : "Add", + "localId" : "216", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "223", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "224", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "Literal", + "localId" : "217", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, { + "type" : "Multiply", + "localId" : "218", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "221", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "222", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "Literal", + "localId" : "219", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "5", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "220", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "10", + "annotation" : [ ] + } ] + } ] } - }, { - "localId" : "278", + }, { + "type" : "Divide", + "localId" : "225", "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "name" : "DivideVariables", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "278", - "s" : [ { - "value" : [ "","define ","DivideVariables",": " ] - }, { - "r" : "279", - "s" : [ { - "r" : "280", - "s" : [ { - "value" : [ "Hundred" ] - } ] - }, { - "value" : [ " / " ] - }, { - "r" : "281", - "s" : [ { - "value" : [ "Four" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "279", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "Divide", - "signature" : [ { - "localId" : "288", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "289", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "283", - "type" : "ToDecimal", - "signature" : [ { - "localId" : "284", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "280", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "name" : "Hundred", - "type" : "ExpressionRef" - } - }, { - "localId" : "286", - "type" : "ToDecimal", - "signature" : [ { - "localId" : "287", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "281", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "name" : "Four", - "type" : "ExpressionRef" - } - } ] - } - }, { - "localId" : "292", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "name" : "UncertaintyTwoToFourteen", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "292", - "s" : [ { - "value" : [ "","define ","UncertaintyTwoToFourteen",": " ] - }, { - "r" : "293", - "s" : [ { - "value" : [ "months between " ] - }, { - "r" : "300", - "s" : [ { - "r" : "294", - "value" : [ "DateTime","(","2005",", ","10",")" ] - } ] - }, { - "value" : [ " and " ] - }, { - "r" : "307", - "s" : [ { - "r" : "303", - "value" : [ "DateTime","(","2006",")" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "293", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "precision" : "Month", - "type" : "DurationBetween", - "signature" : [ { - "localId" : "309", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "310", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "300", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "301", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "302", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "294", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2005", - "type" : "Literal" - }, - "month" : { - "localId" : "295", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal" - } - }, { - "localId" : "307", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "308", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "303", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2006", - "type" : "Literal" - } - } ] - } - }, { - "localId" : "313", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "name" : "UncertaintySixToEighteen", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "313", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "234", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "235", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "ToDecimal", + "localId" : "229", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "230", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "operand" : { + "type" : "Literal", + "localId" : "226", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "15", + "annotation" : [ ] + } + }, { + "type" : "ToDecimal", + "localId" : "232", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "233", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "operand" : { + "type" : "Literal", + "localId" : "227", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + } + } ] + } ] + } + }, { + "localId" : "243", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "name" : "Parenthetical", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "243", + "s" : [ { + "value" : [ "", "define ", "Parenthetical", ": " ] + }, { + "r" : "244", + "s" : [ { + "r" : "245", + "s" : [ { + "r" : "246", "s" : [ { - "value" : [ "","define ","UncertaintySixToEighteen",": " ] - }, { - "r" : "314", - "s" : [ { - "value" : [ "months between " ] - }, { - "r" : "319", - "s" : [ { - "r" : "315", - "value" : [ "DateTime","(","2005",")" ] - } ] - }, { - "value" : [ " and " ] - }, { - "r" : "327", - "s" : [ { - "r" : "321", - "value" : [ "DateTime","(","2006",", ","7",")" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "314", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "precision" : "Month", - "type" : "DurationBetween", - "signature" : [ { - "localId" : "330", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "331", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "319", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "320", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "315", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2005", - "type" : "Literal" - } - }, { - "localId" : "327", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "328", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" + "value" : [ "(" ] }, { - "localId" : "329", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "321", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2006", - "type" : "Literal" - }, - "month" : { - "localId" : "322", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "7", - "type" : "Literal" - } - } ] - } - }, { - "localId" : "334", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "name" : "DivideUncertainties", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "334", - "s" : [ { - "value" : [ "","define ","DivideUncertainties",": " ] + "r" : "246", + "s" : [ { + "r" : "247", + "value" : [ "1", " + ", "5" ] + } ] }, { - "r" : "335", - "s" : [ { - "r" : "336", - "s" : [ { - "value" : [ "UncertaintySixToEighteen" ] - } ] - }, { - "value" : [ " / " ] - }, { - "r" : "337", - "s" : [ { - "value" : [ "UncertaintyTwoToFourteen" ] - } ] - } ] + "value" : [ ")" ] } ] - } - } ], - "expression" : { - "localId" : "335", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "Divide", - "signature" : [ { - "localId" : "344", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "345", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "339", - "type" : "ToDecimal", - "signature" : [ { - "localId" : "340", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "336", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "name" : "UncertaintySixToEighteen", - "type" : "ExpressionRef" - } - }, { - "localId" : "342", - "type" : "ToDecimal", - "signature" : [ { - "localId" : "343", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "337", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "name" : "UncertaintyTwoToFourteen", - "type" : "ExpressionRef" - } - } ] - } - }, { - "localId" : "348", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "name" : "DivideUncertaintyByNumber", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "348", + }, { + "value" : [ " * " ] + }, { + "r" : "251", "s" : [ { - "value" : [ "","define ","DivideUncertaintyByNumber",": " ] + "value" : [ "(" ] }, { - "r" : "349", - "s" : [ { - "r" : "350", - "s" : [ { - "value" : [ "UncertaintySixToEighteen" ] - } ] - }, { - "r" : "351", - "value" : [ " / ","2" ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "349", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "Divide", - "signature" : [ { - "localId" : "358", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "359", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "353", - "type" : "ToDecimal", - "signature" : [ { - "localId" : "354", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "350", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "name" : "UncertaintySixToEighteen", - "type" : "ExpressionRef" - } - }, { - "localId" : "356", - "type" : "ToDecimal", - "signature" : [ { - "localId" : "357", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "351", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal" - } - } ] - } - }, { - "localId" : "362", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "name" : "DivideNumberByUncertainty", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "362", - "s" : [ { - "value" : [ "","define ","DivideNumberByUncertainty",": " ] + "r" : "251", + "s" : [ { + "r" : "252", + "value" : [ "10", " - ", "15" ] + } ] }, { - "r" : "363", - "s" : [ { - "r" : "364", - "value" : [ "36"," / " ] - }, { - "r" : "365", - "s" : [ { - "value" : [ "UncertaintySixToEighteen" ] - } ] - } ] + "value" : [ ")" ] } ] - } - } ], - "expression" : { - "localId" : "363", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "Divide", - "signature" : [ { - "localId" : "372", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "373", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "367", - "type" : "ToDecimal", - "signature" : [ { - "localId" : "368", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "364", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "36", - "type" : "Literal" - } - }, { - "localId" : "370", - "type" : "ToDecimal", - "signature" : [ { - "localId" : "371", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "365", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "name" : "UncertaintySixToEighteen", - "type" : "ExpressionRef" - } - } ] + } ] + }, { + "r" : "258", + "value" : [ " / ", "3" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Divide", + "localId" : "244", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "265", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "266", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "ToDecimal", + "localId" : "260", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "261", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "operand" : { + "type" : "Multiply", + "localId" : "245", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "256", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "257", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "Add", + "localId" : "246", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "249", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "250", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "Literal", + "localId" : "247", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "248", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "5", + "annotation" : [ ] + } ] + }, { + "type" : "Subtract", + "localId" : "251", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "254", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "255", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "Literal", + "localId" : "252", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "10", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "253", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "15", + "annotation" : [ ] + } ] + } ] } - } ] - } - } + }, { + "type" : "ToDecimal", + "localId" : "263", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "264", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "operand" : { + "type" : "Literal", + "localId" : "258", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + } + } ] + } + } ] + } + } } -/* Negate +/* Power library TestSnippet version '1' using Simple version '1.0.0' context Patient -define NegativeOne: -1 +define Pow: 3 ^ 4 */ -module.exports['Negate'] = { - "library" : { - "localId" : "0", - "annotation" : [ { - "translatorVersion" : "3.27.0", - "translatorOptions" : "EnableDateRangeOptimization,EnableAnnotations,EnableResultTypes", - "signatureLevel" : "All", - "type" : "CqlToElmInfo" - }, { - "type" : "Annotation", - "s" : { +module.exports['Power'] = { + "library" : { + "localId" : "0", + "annotation" : [ { + "type" : "CqlToElmInfo", + "translatorVersion" : "4.2.0", + "translatorOptions" : "EnableDateRangeOptimization,EnableAnnotations,EnableResultTypes", + "signatureLevel" : "All" + }, { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "214", + "s" : [ { + "value" : [ "", "library TestSnippet version '1'" ] + } ] + } + } ], + "identifier" : { + "id" : "TestSnippet", + "version" : "1" + }, + "schemaIdentifier" : { + "id" : "urn:hl7-org:elm", + "version" : "r1" + }, + "usings" : { + "def" : [ { + "localId" : "1", + "localIdentifier" : "System", + "uri" : "urn:hl7-org:elm-types:r1", + "annotation" : [ ] + }, { + "localId" : "206", + "localIdentifier" : "Simple", + "uri" : "https://github.com/cqframework/cql-execution/simple", + "version" : "1.0.0", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "206", + "s" : [ { + "value" : [ "", "using " ] + }, { + "s" : [ { + "value" : [ "Simple" ] + } ] + }, { + "value" : [ " version '1.0.0'" ] + } ] + } + } ] + } ] + }, + "contexts" : { + "def" : [ { + "localId" : "211", + "name" : "Patient", + "annotation" : [ ] + } ] + }, + "statements" : { + "def" : [ { + "localId" : "209", + "name" : "Patient", + "context" : "Patient", + "annotation" : [ ], + "expression" : { + "type" : "SingletonFrom", + "localId" : "210", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Retrieve", + "localId" : "208", + "dataType" : "{https://github.com/cqframework/cql-execution/simple}Patient", + "annotation" : [ ], + "include" : [ ], + "codeFilter" : [ ], + "dateFilter" : [ ], + "otherFilter" : [ ] + } + } + }, { + "localId" : "214", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "name" : "Pow", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { "r" : "214", "s" : [ { - "value" : [ "","library TestSnippet version '1'" ] - } ] - } - } ], - "identifier" : { - "id" : "TestSnippet", - "version" : "1" - }, - "schemaIdentifier" : { - "id" : "urn:hl7-org:elm", - "version" : "r1" - }, - "usings" : { - "def" : [ { - "localId" : "1", - "localIdentifier" : "System", - "uri" : "urn:hl7-org:elm-types:r1" - }, { - "localId" : "206", - "localIdentifier" : "Simple", - "uri" : "https://github.com/cqframework/cql-execution/simple", - "version" : "1.0.0", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "206", - "s" : [ { - "value" : [ "","using " ] - }, { - "s" : [ { - "value" : [ "Simple" ] - } ] - }, { - "value" : [ " version '1.0.0'" ] - } ] - } - } ] - } ] - }, - "contexts" : { - "def" : [ { - "localId" : "211", - "name" : "Patient" - } ] - }, - "statements" : { - "def" : [ { - "localId" : "209", - "name" : "Patient", - "context" : "Patient", - "expression" : { - "localId" : "210", - "type" : "SingletonFrom", - "signature" : [ ], - "operand" : { - "localId" : "208", - "dataType" : "{https://github.com/cqframework/cql-execution/simple}Patient", - "type" : "Retrieve", - "include" : [ ], - "codeFilter" : [ ], - "dateFilter" : [ ], - "otherFilter" : [ ] - } - } - }, { - "localId" : "214", + "value" : [ "", "define ", "Pow", ": " ] + }, { + "r" : "215", + "s" : [ { + "r" : "216", + "value" : [ "3", " ^ ", "4" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Power", + "localId" : "215", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "218", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "219", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "Literal", + "localId" : "216", "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "name" : "NegativeOne", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "214", - "s" : [ { - "value" : [ "","define ","NegativeOne",": " ] - }, { - "r" : "215", - "s" : [ { - "r" : "216", - "value" : [ "-","1" ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "215", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "Negate", - "signature" : [ { - "localId" : "217", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "216", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - } - } - } ] - } - } + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "217", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "4", + "annotation" : [ ] + } ] + } + } ] + } + } } -/* MathPrecedence +/* MinValue library TestSnippet version '1' using Simple version '1.0.0' context Patient -define Mixed: 1 + 5 * 10 - 15 / 3 -define Parenthetical: (1 + 5) * (10 - 15) / 3 +define MinInteger: minimum Integer +define MinDecimal: minimum Decimal +define MinDateTime: minimum DateTime +define MinTime: minimum Time +define MinWrongType: minimum Quantity */ -module.exports['MathPrecedence'] = { - "library" : { - "localId" : "0", - "annotation" : [ { - "translatorVersion" : "3.27.0", - "translatorOptions" : "EnableDateRangeOptimization,EnableAnnotations,EnableResultTypes", - "signatureLevel" : "All", - "type" : "CqlToElmInfo" - }, { - "type" : "Annotation", - "s" : { - "r" : "243", +module.exports['MinValue'] = { + "library" : { + "localId" : "0", + "annotation" : [ { + "type" : "CqlToElmInfo", + "translatorVersion" : "4.2.0", + "translatorOptions" : "EnableDateRangeOptimization,EnableAnnotations,EnableResultTypes", + "signatureLevel" : "All" + }, { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "234", + "s" : [ { + "value" : [ "", "library TestSnippet version '1'" ] + } ] + } + } ], + "identifier" : { + "id" : "TestSnippet", + "version" : "1" + }, + "schemaIdentifier" : { + "id" : "urn:hl7-org:elm", + "version" : "r1" + }, + "usings" : { + "def" : [ { + "localId" : "1", + "localIdentifier" : "System", + "uri" : "urn:hl7-org:elm-types:r1", + "annotation" : [ ] + }, { + "localId" : "206", + "localIdentifier" : "Simple", + "uri" : "https://github.com/cqframework/cql-execution/simple", + "version" : "1.0.0", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "206", "s" : [ { - "value" : [ "","library TestSnippet version '1'" ] - } ] - } - } ], - "identifier" : { - "id" : "TestSnippet", - "version" : "1" - }, - "schemaIdentifier" : { - "id" : "urn:hl7-org:elm", - "version" : "r1" - }, - "usings" : { - "def" : [ { - "localId" : "1", - "localIdentifier" : "System", - "uri" : "urn:hl7-org:elm-types:r1" - }, { - "localId" : "206", - "localIdentifier" : "Simple", - "uri" : "https://github.com/cqframework/cql-execution/simple", - "version" : "1.0.0", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "206", - "s" : [ { - "value" : [ "","using " ] - }, { - "s" : [ { - "value" : [ "Simple" ] - } ] - }, { - "value" : [ " version '1.0.0'" ] - } ] - } - } ] - } ] - }, - "contexts" : { - "def" : [ { - "localId" : "211", - "name" : "Patient" - } ] - }, - "statements" : { - "def" : [ { - "localId" : "209", - "name" : "Patient", - "context" : "Patient", - "expression" : { - "localId" : "210", - "type" : "SingletonFrom", - "signature" : [ ], - "operand" : { - "localId" : "208", - "dataType" : "{https://github.com/cqframework/cql-execution/simple}Patient", - "type" : "Retrieve", - "include" : [ ], - "codeFilter" : [ ], - "dateFilter" : [ ], - "otherFilter" : [ ] - } - } - }, { - "localId" : "214", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "name" : "Mixed", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "214", - "s" : [ { - "value" : [ "","define ","Mixed",": " ] - }, { - "r" : "215", - "s" : [ { - "r" : "216", - "s" : [ { - "r" : "217", - "value" : [ "1"," + " ] - }, { - "r" : "218", - "s" : [ { - "r" : "219", - "value" : [ "5"," * ","10" ] - } ] - } ] - }, { - "value" : [ " - " ] - }, { - "r" : "225", - "s" : [ { - "r" : "226", - "value" : [ "15"," / ","3" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "215", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "Subtract", - "signature" : [ { - "localId" : "239", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "240", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "237", - "type" : "ToDecimal", - "signature" : [ { - "localId" : "238", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "216", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "Add", - "signature" : [ { - "localId" : "223", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "224", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "217", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, { - "localId" : "218", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "Multiply", - "signature" : [ { - "localId" : "221", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "222", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "219", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal" - }, { - "localId" : "220", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal" - } ] - } ] - } - }, { - "localId" : "225", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "Divide", - "signature" : [ { - "localId" : "234", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "235", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "229", - "type" : "ToDecimal", - "signature" : [ { - "localId" : "230", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "226", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal" - } - }, { - "localId" : "232", - "type" : "ToDecimal", - "signature" : [ { - "localId" : "233", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "227", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - } - } ] - } ] - } - }, { - "localId" : "243", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "name" : "Parenthetical", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "243", - "s" : [ { - "value" : [ "","define ","Parenthetical",": " ] - }, { - "r" : "244", - "s" : [ { - "r" : "245", - "s" : [ { - "r" : "246", - "s" : [ { - "value" : [ "(" ] - }, { - "r" : "246", - "s" : [ { - "r" : "247", - "value" : [ "1"," + ","5" ] - } ] - }, { - "value" : [ ")" ] - } ] - }, { - "value" : [ " * " ] - }, { - "r" : "251", - "s" : [ { - "value" : [ "(" ] - }, { - "r" : "251", - "s" : [ { - "r" : "252", - "value" : [ "10"," - ","15" ] - } ] - }, { - "value" : [ ")" ] - } ] - } ] - }, { - "r" : "258", - "value" : [ " / ","3" ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "244", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "Divide", - "signature" : [ { - "localId" : "265", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "266", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "260", - "type" : "ToDecimal", - "signature" : [ { - "localId" : "261", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "245", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "Multiply", - "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" : "246", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "Add", - "signature" : [ { - "localId" : "249", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "250", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "247", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, { - "localId" : "248", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal" - } ] - }, { - "localId" : "251", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "Subtract", - "signature" : [ { - "localId" : "254", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "255", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "252", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal" - }, { - "localId" : "253", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal" - } ] - } ] - } - }, { - "localId" : "263", - "type" : "ToDecimal", - "signature" : [ { - "localId" : "264", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "258", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - } - } ] - } - } ] - } - } -} - -/* Power -library TestSnippet version '1' -using Simple version '1.0.0' -context Patient -define Pow: 3 ^ 4 -*/ - -module.exports['Power'] = { - "library" : { - "localId" : "0", - "annotation" : [ { - "translatorVersion" : "3.27.0", - "translatorOptions" : "EnableDateRangeOptimization,EnableAnnotations,EnableResultTypes", - "signatureLevel" : "All", - "type" : "CqlToElmInfo" - }, { - "type" : "Annotation", - "s" : { + "value" : [ "", "using " ] + }, { + "s" : [ { + "value" : [ "Simple" ] + } ] + }, { + "value" : [ " version '1.0.0'" ] + } ] + } + } ] + } ] + }, + "contexts" : { + "def" : [ { + "localId" : "211", + "name" : "Patient", + "annotation" : [ ] + } ] + }, + "statements" : { + "def" : [ { + "localId" : "209", + "name" : "Patient", + "context" : "Patient", + "annotation" : [ ], + "expression" : { + "type" : "SingletonFrom", + "localId" : "210", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Retrieve", + "localId" : "208", + "dataType" : "{https://github.com/cqframework/cql-execution/simple}Patient", + "annotation" : [ ], + "include" : [ ], + "codeFilter" : [ ], + "dateFilter" : [ ], + "otherFilter" : [ ] + } + } + }, { + "localId" : "214", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "name" : "MinInteger", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { "r" : "214", "s" : [ { - "value" : [ "","library TestSnippet version '1'" ] - } ] - } - } ], - "identifier" : { - "id" : "TestSnippet", - "version" : "1" - }, - "schemaIdentifier" : { - "id" : "urn:hl7-org:elm", - "version" : "r1" - }, - "usings" : { - "def" : [ { - "localId" : "1", - "localIdentifier" : "System", - "uri" : "urn:hl7-org:elm-types:r1" - }, { - "localId" : "206", - "localIdentifier" : "Simple", - "uri" : "https://github.com/cqframework/cql-execution/simple", - "version" : "1.0.0", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "206", - "s" : [ { - "value" : [ "","using " ] - }, { - "s" : [ { - "value" : [ "Simple" ] - } ] - }, { - "value" : [ " version '1.0.0'" ] - } ] - } - } ] - } ] - }, - "contexts" : { - "def" : [ { - "localId" : "211", - "name" : "Patient" - } ] - }, - "statements" : { - "def" : [ { - "localId" : "209", - "name" : "Patient", - "context" : "Patient", - "expression" : { - "localId" : "210", - "type" : "SingletonFrom", - "signature" : [ ], - "operand" : { - "localId" : "208", - "dataType" : "{https://github.com/cqframework/cql-execution/simple}Patient", - "type" : "Retrieve", - "include" : [ ], - "codeFilter" : [ ], - "dateFilter" : [ ], - "otherFilter" : [ ] - } - } - }, { - "localId" : "214", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "name" : "Pow", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "214", - "s" : [ { - "value" : [ "","define ","Pow",": " ] - }, { - "r" : "215", - "s" : [ { - "r" : "216", - "value" : [ "3"," ^ ","4" ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "215", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "Power", - "signature" : [ { - "localId" : "218", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "219", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "216", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, { - "localId" : "217", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "4", - "type" : "Literal" - } ] - } - } ] - } - } -} - -/* MinValue -library TestSnippet version '1' -using Simple version '1.0.0' -context Patient -define MinInteger: minimum Integer -define MinDecimal: minimum Decimal -define MinDateTime: minimum DateTime -define MinTime: minimum Time -define MinWrongType: minimum Quantity -*/ - -module.exports['MinValue'] = { - "library" : { - "localId" : "0", - "annotation" : [ { - "translatorVersion" : "3.27.0", - "translatorOptions" : "EnableDateRangeOptimization,EnableAnnotations,EnableResultTypes", - "signatureLevel" : "All", - "type" : "CqlToElmInfo" - }, { - "type" : "Annotation", - "s" : { + "value" : [ "", "define ", "MinInteger", ": " ] + }, { + "r" : "216", + "s" : [ { + "value" : [ "minimum", " " ] + }, { + "r" : "215", + "s" : [ { + "value" : [ "Integer" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "MinValue", + "localId" : "216", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, { + "localId" : "219", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "name" : "MinDecimal", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "219", + "s" : [ { + "value" : [ "", "define ", "MinDecimal", ": " ] + }, { + "r" : "221", + "s" : [ { + "value" : [ "minimum", " " ] + }, { + "r" : "220", + "s" : [ { + "value" : [ "Decimal" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "MinValue", + "localId" : "221", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } + }, { + "localId" : "224", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "name" : "MinDateTime", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "224", + "s" : [ { + "value" : [ "", "define ", "MinDateTime", ": " ] + }, { + "r" : "226", + "s" : [ { + "value" : [ "minimum", " " ] + }, { + "r" : "225", + "s" : [ { + "value" : [ "DateTime" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "MinValue", + "localId" : "226", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "valueType" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, { + "localId" : "229", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Time", + "name" : "MinTime", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "229", + "s" : [ { + "value" : [ "", "define ", "MinTime", ": " ] + }, { + "r" : "231", + "s" : [ { + "value" : [ "minimum", " " ] + }, { + "r" : "230", + "s" : [ { + "value" : [ "Time" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "MinValue", + "localId" : "231", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Time", + "valueType" : "{urn:hl7-org:elm-types:r1}Time", + "annotation" : [ ] + } + }, { + "localId" : "234", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "name" : "MinWrongType", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { "r" : "234", "s" : [ { - "value" : [ "","library TestSnippet version '1'" ] - } ] - } - } ], - "identifier" : { - "id" : "TestSnippet", - "version" : "1" - }, - "schemaIdentifier" : { - "id" : "urn:hl7-org:elm", - "version" : "r1" - }, - "usings" : { - "def" : [ { - "localId" : "1", - "localIdentifier" : "System", - "uri" : "urn:hl7-org:elm-types:r1" - }, { - "localId" : "206", - "localIdentifier" : "Simple", - "uri" : "https://github.com/cqframework/cql-execution/simple", - "version" : "1.0.0", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "206", - "s" : [ { - "value" : [ "","using " ] - }, { - "s" : [ { - "value" : [ "Simple" ] - } ] - }, { - "value" : [ " version '1.0.0'" ] - } ] - } - } ] - } ] - }, - "contexts" : { - "def" : [ { - "localId" : "211", - "name" : "Patient" - } ] - }, - "statements" : { - "def" : [ { - "localId" : "209", - "name" : "Patient", - "context" : "Patient", - "expression" : { - "localId" : "210", - "type" : "SingletonFrom", - "signature" : [ ], - "operand" : { - "localId" : "208", - "dataType" : "{https://github.com/cqframework/cql-execution/simple}Patient", - "type" : "Retrieve", - "include" : [ ], - "codeFilter" : [ ], - "dateFilter" : [ ], - "otherFilter" : [ ] - } - } - }, { - "localId" : "214", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "name" : "MinInteger", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "214", - "s" : [ { - "value" : [ "","define ","MinInteger",": " ] - }, { - "r" : "216", - "s" : [ { - "value" : [ "minimum"," " ] - }, { - "r" : "215", - "s" : [ { - "value" : [ "Integer" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "216", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "MinValue" - } - }, { - "localId" : "219", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "name" : "MinDecimal", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "219", - "s" : [ { - "value" : [ "","define ","MinDecimal",": " ] - }, { - "r" : "221", - "s" : [ { - "value" : [ "minimum"," " ] - }, { - "r" : "220", - "s" : [ { - "value" : [ "Decimal" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "221", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "MinValue" - } - }, { - "localId" : "224", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "name" : "MinDateTime", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "224", - "s" : [ { - "value" : [ "","define ","MinDateTime",": " ] - }, { - "r" : "226", - "s" : [ { - "value" : [ "minimum"," " ] - }, { - "r" : "225", - "s" : [ { - "value" : [ "DateTime" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "226", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "valueType" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "MinValue" - } - }, { - "localId" : "229", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Time", - "name" : "MinTime", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "229", - "s" : [ { - "value" : [ "","define ","MinTime",": " ] - }, { - "r" : "231", - "s" : [ { - "value" : [ "minimum"," " ] - }, { - "r" : "230", - "s" : [ { - "value" : [ "Time" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "231", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Time", - "valueType" : "{urn:hl7-org:elm-types:r1}Time", - "type" : "MinValue" - } - }, { - "localId" : "234", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "name" : "MinWrongType", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "234", - "s" : [ { - "value" : [ "","define ","MinWrongType",": " ] - }, { - "r" : "236", - "s" : [ { - "value" : [ "minimum"," " ] - }, { - "r" : "235", - "s" : [ { - "value" : [ "Quantity" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "236", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "valueType" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "MinValue" - } - } ] - } - } + "value" : [ "", "define ", "MinWrongType", ": " ] + }, { + "r" : "236", + "s" : [ { + "value" : [ "minimum", " " ] + }, { + "r" : "235", + "s" : [ { + "value" : [ "Quantity" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "MinValue", + "localId" : "236", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "valueType" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } + } ] + } + } } /* MaxValue @@ -4143,240 +4627,257 @@ define MaxWrongType: maximum Quantity */ module.exports['MaxValue'] = { - "library" : { - "localId" : "0", - "annotation" : [ { - "translatorVersion" : "3.27.0", - "translatorOptions" : "EnableDateRangeOptimization,EnableAnnotations,EnableResultTypes", - "signatureLevel" : "All", - "type" : "CqlToElmInfo" - }, { - "type" : "Annotation", - "s" : { + "library" : { + "localId" : "0", + "annotation" : [ { + "type" : "CqlToElmInfo", + "translatorVersion" : "4.2.0", + "translatorOptions" : "EnableDateRangeOptimization,EnableAnnotations,EnableResultTypes", + "signatureLevel" : "All" + }, { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "234", + "s" : [ { + "value" : [ "", "library TestSnippet version '1'" ] + } ] + } + } ], + "identifier" : { + "id" : "TestSnippet", + "version" : "1" + }, + "schemaIdentifier" : { + "id" : "urn:hl7-org:elm", + "version" : "r1" + }, + "usings" : { + "def" : [ { + "localId" : "1", + "localIdentifier" : "System", + "uri" : "urn:hl7-org:elm-types:r1", + "annotation" : [ ] + }, { + "localId" : "206", + "localIdentifier" : "Simple", + "uri" : "https://github.com/cqframework/cql-execution/simple", + "version" : "1.0.0", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "206", + "s" : [ { + "value" : [ "", "using " ] + }, { + "s" : [ { + "value" : [ "Simple" ] + } ] + }, { + "value" : [ " version '1.0.0'" ] + } ] + } + } ] + } ] + }, + "contexts" : { + "def" : [ { + "localId" : "211", + "name" : "Patient", + "annotation" : [ ] + } ] + }, + "statements" : { + "def" : [ { + "localId" : "209", + "name" : "Patient", + "context" : "Patient", + "annotation" : [ ], + "expression" : { + "type" : "SingletonFrom", + "localId" : "210", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Retrieve", + "localId" : "208", + "dataType" : "{https://github.com/cqframework/cql-execution/simple}Patient", + "annotation" : [ ], + "include" : [ ], + "codeFilter" : [ ], + "dateFilter" : [ ], + "otherFilter" : [ ] + } + } + }, { + "localId" : "214", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "name" : "MaxInteger", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "214", + "s" : [ { + "value" : [ "", "define ", "MaxInteger", ": " ] + }, { + "r" : "216", + "s" : [ { + "value" : [ "maximum", " " ] + }, { + "r" : "215", + "s" : [ { + "value" : [ "Integer" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "MaxValue", + "localId" : "216", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, { + "localId" : "219", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "name" : "MaxDecimal", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "219", + "s" : [ { + "value" : [ "", "define ", "MaxDecimal", ": " ] + }, { + "r" : "221", + "s" : [ { + "value" : [ "maximum", " " ] + }, { + "r" : "220", + "s" : [ { + "value" : [ "Decimal" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "MaxValue", + "localId" : "221", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } + }, { + "localId" : "224", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "name" : "MaxDateTime", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "224", + "s" : [ { + "value" : [ "", "define ", "MaxDateTime", ": " ] + }, { + "r" : "226", + "s" : [ { + "value" : [ "maximum", " " ] + }, { + "r" : "225", + "s" : [ { + "value" : [ "DateTime" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "MaxValue", + "localId" : "226", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "valueType" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, { + "localId" : "229", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Time", + "name" : "MaxTime", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "229", + "s" : [ { + "value" : [ "", "define ", "MaxTime", ": " ] + }, { + "r" : "231", + "s" : [ { + "value" : [ "maximum", " " ] + }, { + "r" : "230", + "s" : [ { + "value" : [ "Time" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "MaxValue", + "localId" : "231", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Time", + "valueType" : "{urn:hl7-org:elm-types:r1}Time", + "annotation" : [ ] + } + }, { + "localId" : "234", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "name" : "MaxWrongType", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { "r" : "234", "s" : [ { - "value" : [ "","library TestSnippet version '1'" ] - } ] - } - } ], - "identifier" : { - "id" : "TestSnippet", - "version" : "1" - }, - "schemaIdentifier" : { - "id" : "urn:hl7-org:elm", - "version" : "r1" - }, - "usings" : { - "def" : [ { - "localId" : "1", - "localIdentifier" : "System", - "uri" : "urn:hl7-org:elm-types:r1" - }, { - "localId" : "206", - "localIdentifier" : "Simple", - "uri" : "https://github.com/cqframework/cql-execution/simple", - "version" : "1.0.0", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "206", - "s" : [ { - "value" : [ "","using " ] - }, { - "s" : [ { - "value" : [ "Simple" ] - } ] - }, { - "value" : [ " version '1.0.0'" ] - } ] - } - } ] - } ] - }, - "contexts" : { - "def" : [ { - "localId" : "211", - "name" : "Patient" - } ] - }, - "statements" : { - "def" : [ { - "localId" : "209", - "name" : "Patient", - "context" : "Patient", - "expression" : { - "localId" : "210", - "type" : "SingletonFrom", - "signature" : [ ], - "operand" : { - "localId" : "208", - "dataType" : "{https://github.com/cqframework/cql-execution/simple}Patient", - "type" : "Retrieve", - "include" : [ ], - "codeFilter" : [ ], - "dateFilter" : [ ], - "otherFilter" : [ ] - } - } - }, { - "localId" : "214", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "name" : "MaxInteger", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "214", - "s" : [ { - "value" : [ "","define ","MaxInteger",": " ] - }, { - "r" : "216", - "s" : [ { - "value" : [ "maximum"," " ] - }, { - "r" : "215", - "s" : [ { - "value" : [ "Integer" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "216", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "MaxValue" - } - }, { - "localId" : "219", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "name" : "MaxDecimal", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "219", - "s" : [ { - "value" : [ "","define ","MaxDecimal",": " ] - }, { - "r" : "221", - "s" : [ { - "value" : [ "maximum"," " ] - }, { - "r" : "220", - "s" : [ { - "value" : [ "Decimal" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "221", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "MaxValue" - } - }, { - "localId" : "224", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "name" : "MaxDateTime", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "224", - "s" : [ { - "value" : [ "","define ","MaxDateTime",": " ] - }, { - "r" : "226", - "s" : [ { - "value" : [ "maximum"," " ] - }, { - "r" : "225", - "s" : [ { - "value" : [ "DateTime" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "226", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "valueType" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "MaxValue" - } - }, { - "localId" : "229", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Time", - "name" : "MaxTime", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "229", - "s" : [ { - "value" : [ "","define ","MaxTime",": " ] - }, { - "r" : "231", - "s" : [ { - "value" : [ "maximum"," " ] - }, { - "r" : "230", - "s" : [ { - "value" : [ "Time" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "231", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Time", - "valueType" : "{urn:hl7-org:elm-types:r1}Time", - "type" : "MaxValue" - } - }, { - "localId" : "234", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "name" : "MaxWrongType", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "234", - "s" : [ { - "value" : [ "","define ","MaxWrongType",": " ] - }, { - "r" : "236", - "s" : [ { - "value" : [ "maximum"," " ] - }, { - "r" : "235", - "s" : [ { - "value" : [ "Quantity" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "236", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "valueType" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "MaxValue" - } - } ] - } - } + "value" : [ "", "define ", "MaxWrongType", ": " ] + }, { + "r" : "236", + "s" : [ { + "value" : [ "maximum", " " ] + }, { + "r" : "235", + "s" : [ { + "value" : [ "Quantity" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "MaxValue", + "localId" : "236", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "valueType" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } + } ] + } + } } /* TruncatedDivide @@ -4388,181 +4889,200 @@ define Even: 9 div 3 */ module.exports['TruncatedDivide'] = { - "library" : { - "localId" : "0", - "annotation" : [ { - "translatorVersion" : "3.27.0", - "translatorOptions" : "EnableDateRangeOptimization,EnableAnnotations,EnableResultTypes", - "signatureLevel" : "All", - "type" : "CqlToElmInfo" - }, { - "type" : "Annotation", - "s" : { - "r" : "222", + "library" : { + "localId" : "0", + "annotation" : [ { + "type" : "CqlToElmInfo", + "translatorVersion" : "4.2.0", + "translatorOptions" : "EnableDateRangeOptimization,EnableAnnotations,EnableResultTypes", + "signatureLevel" : "All" + }, { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "222", + "s" : [ { + "value" : [ "", "library TestSnippet version '1'" ] + } ] + } + } ], + "identifier" : { + "id" : "TestSnippet", + "version" : "1" + }, + "schemaIdentifier" : { + "id" : "urn:hl7-org:elm", + "version" : "r1" + }, + "usings" : { + "def" : [ { + "localId" : "1", + "localIdentifier" : "System", + "uri" : "urn:hl7-org:elm-types:r1", + "annotation" : [ ] + }, { + "localId" : "206", + "localIdentifier" : "Simple", + "uri" : "https://github.com/cqframework/cql-execution/simple", + "version" : "1.0.0", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "206", "s" : [ { - "value" : [ "","library TestSnippet version '1'" ] - } ] - } - } ], - "identifier" : { - "id" : "TestSnippet", - "version" : "1" - }, - "schemaIdentifier" : { - "id" : "urn:hl7-org:elm", - "version" : "r1" - }, - "usings" : { - "def" : [ { - "localId" : "1", - "localIdentifier" : "System", - "uri" : "urn:hl7-org:elm-types:r1" - }, { - "localId" : "206", - "localIdentifier" : "Simple", - "uri" : "https://github.com/cqframework/cql-execution/simple", - "version" : "1.0.0", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "206", - "s" : [ { - "value" : [ "","using " ] - }, { - "s" : [ { - "value" : [ "Simple" ] - } ] - }, { - "value" : [ " version '1.0.0'" ] - } ] - } - } ] - } ] - }, - "contexts" : { - "def" : [ { - "localId" : "211", - "name" : "Patient" - } ] - }, - "statements" : { - "def" : [ { - "localId" : "209", - "name" : "Patient", - "context" : "Patient", - "expression" : { - "localId" : "210", - "type" : "SingletonFrom", - "signature" : [ ], - "operand" : { - "localId" : "208", - "dataType" : "{https://github.com/cqframework/cql-execution/simple}Patient", - "type" : "Retrieve", - "include" : [ ], - "codeFilter" : [ ], - "dateFilter" : [ ], - "otherFilter" : [ ] - } - } - }, { - "localId" : "214", + "value" : [ "", "using " ] + }, { + "s" : [ { + "value" : [ "Simple" ] + } ] + }, { + "value" : [ " version '1.0.0'" ] + } ] + } + } ] + } ] + }, + "contexts" : { + "def" : [ { + "localId" : "211", + "name" : "Patient", + "annotation" : [ ] + } ] + }, + "statements" : { + "def" : [ { + "localId" : "209", + "name" : "Patient", + "context" : "Patient", + "annotation" : [ ], + "expression" : { + "type" : "SingletonFrom", + "localId" : "210", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Retrieve", + "localId" : "208", + "dataType" : "{https://github.com/cqframework/cql-execution/simple}Patient", + "annotation" : [ ], + "include" : [ ], + "codeFilter" : [ ], + "dateFilter" : [ ], + "otherFilter" : [ ] + } + } + }, { + "localId" : "214", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "name" : "Trunc", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "214", + "s" : [ { + "value" : [ "", "define ", "Trunc", ": " ] + }, { + "r" : "215", + "s" : [ { + "r" : "216", + "value" : [ "10", " div ", "3" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "TruncatedDivide", + "localId" : "215", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "218", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "219", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "Literal", + "localId" : "216", "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "name" : "Trunc", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "214", - "s" : [ { - "value" : [ "","define ","Trunc",": " ] - }, { - "r" : "215", - "s" : [ { - "r" : "216", - "value" : [ "10"," div ","3" ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "215", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "TruncatedDivide", - "signature" : [ { - "localId" : "218", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "219", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "216", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal" - }, { - "localId" : "217", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - } ] - } - }, { - "localId" : "222", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "10", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "217", "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "name" : "Even", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "222", - "s" : [ { - "value" : [ "","define ","Even",": " ] - }, { - "r" : "223", - "s" : [ { - "r" : "224", - "value" : [ "9"," div ","3" ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "223", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "TruncatedDivide", - "signature" : [ { - "localId" : "226", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "227", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "224", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "9", - "type" : "Literal" - }, { - "localId" : "225", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - } ] - } - } ] - } - } + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + } ] + } + }, { + "localId" : "222", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "name" : "Even", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "222", + "s" : [ { + "value" : [ "", "define ", "Even", ": " ] + }, { + "r" : "223", + "s" : [ { + "r" : "224", + "value" : [ "9", " div ", "3" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "TruncatedDivide", + "localId" : "223", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "226", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "227", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "Literal", + "localId" : "224", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "9", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "225", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + } ] + } + } ] + } + } } /* Modulo @@ -4573,133 +5093,146 @@ define Mod: 3 mod 2 */ module.exports['Modulo'] = { - "library" : { - "localId" : "0", - "annotation" : [ { - "translatorVersion" : "3.27.0", - "translatorOptions" : "EnableDateRangeOptimization,EnableAnnotations,EnableResultTypes", - "signatureLevel" : "All", - "type" : "CqlToElmInfo" - }, { - "type" : "Annotation", - "s" : { + "library" : { + "localId" : "0", + "annotation" : [ { + "type" : "CqlToElmInfo", + "translatorVersion" : "4.2.0", + "translatorOptions" : "EnableDateRangeOptimization,EnableAnnotations,EnableResultTypes", + "signatureLevel" : "All" + }, { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "214", + "s" : [ { + "value" : [ "", "library TestSnippet version '1'" ] + } ] + } + } ], + "identifier" : { + "id" : "TestSnippet", + "version" : "1" + }, + "schemaIdentifier" : { + "id" : "urn:hl7-org:elm", + "version" : "r1" + }, + "usings" : { + "def" : [ { + "localId" : "1", + "localIdentifier" : "System", + "uri" : "urn:hl7-org:elm-types:r1", + "annotation" : [ ] + }, { + "localId" : "206", + "localIdentifier" : "Simple", + "uri" : "https://github.com/cqframework/cql-execution/simple", + "version" : "1.0.0", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "206", + "s" : [ { + "value" : [ "", "using " ] + }, { + "s" : [ { + "value" : [ "Simple" ] + } ] + }, { + "value" : [ " version '1.0.0'" ] + } ] + } + } ] + } ] + }, + "contexts" : { + "def" : [ { + "localId" : "211", + "name" : "Patient", + "annotation" : [ ] + } ] + }, + "statements" : { + "def" : [ { + "localId" : "209", + "name" : "Patient", + "context" : "Patient", + "annotation" : [ ], + "expression" : { + "type" : "SingletonFrom", + "localId" : "210", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Retrieve", + "localId" : "208", + "dataType" : "{https://github.com/cqframework/cql-execution/simple}Patient", + "annotation" : [ ], + "include" : [ ], + "codeFilter" : [ ], + "dateFilter" : [ ], + "otherFilter" : [ ] + } + } + }, { + "localId" : "214", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "name" : "Mod", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { "r" : "214", "s" : [ { - "value" : [ "","library TestSnippet version '1'" ] - } ] - } - } ], - "identifier" : { - "id" : "TestSnippet", - "version" : "1" - }, - "schemaIdentifier" : { - "id" : "urn:hl7-org:elm", - "version" : "r1" - }, - "usings" : { - "def" : [ { - "localId" : "1", - "localIdentifier" : "System", - "uri" : "urn:hl7-org:elm-types:r1" - }, { - "localId" : "206", - "localIdentifier" : "Simple", - "uri" : "https://github.com/cqframework/cql-execution/simple", - "version" : "1.0.0", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "206", - "s" : [ { - "value" : [ "","using " ] - }, { - "s" : [ { - "value" : [ "Simple" ] - } ] - }, { - "value" : [ " version '1.0.0'" ] - } ] - } - } ] - } ] - }, - "contexts" : { - "def" : [ { - "localId" : "211", - "name" : "Patient" - } ] - }, - "statements" : { - "def" : [ { - "localId" : "209", - "name" : "Patient", - "context" : "Patient", - "expression" : { - "localId" : "210", - "type" : "SingletonFrom", - "signature" : [ ], - "operand" : { - "localId" : "208", - "dataType" : "{https://github.com/cqframework/cql-execution/simple}Patient", - "type" : "Retrieve", - "include" : [ ], - "codeFilter" : [ ], - "dateFilter" : [ ], - "otherFilter" : [ ] - } - } - }, { - "localId" : "214", + "value" : [ "", "define ", "Mod", ": " ] + }, { + "r" : "215", + "s" : [ { + "r" : "216", + "value" : [ "3", " mod ", "2" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Modulo", + "localId" : "215", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "218", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "219", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "Literal", + "localId" : "216", "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "name" : "Mod", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "214", - "s" : [ { - "value" : [ "","define ","Mod",": " ] - }, { - "r" : "215", - "s" : [ { - "r" : "216", - "value" : [ "3"," mod ","2" ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "215", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "Modulo", - "signature" : [ { - "localId" : "218", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "219", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "216", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, { - "localId" : "217", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal" - } ] - } - } ] - } - } + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "217", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "annotation" : [ ] + } ] + } + } ] + } + } } /* Ceiling @@ -4711,170 +5244,187 @@ define Even: Ceiling(10) */ module.exports['Ceiling'] = { - "library" : { - "localId" : "0", - "annotation" : [ { - "translatorVersion" : "3.27.0", - "translatorOptions" : "EnableDateRangeOptimization,EnableAnnotations,EnableResultTypes", - "signatureLevel" : "All", - "type" : "CqlToElmInfo" - }, { - "type" : "Annotation", - "s" : { + "library" : { + "localId" : "0", + "annotation" : [ { + "type" : "CqlToElmInfo", + "translatorVersion" : "4.2.0", + "translatorOptions" : "EnableDateRangeOptimization,EnableAnnotations,EnableResultTypes", + "signatureLevel" : "All" + }, { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "223", + "s" : [ { + "value" : [ "", "library TestSnippet version '1'" ] + } ] + } + } ], + "identifier" : { + "id" : "TestSnippet", + "version" : "1" + }, + "schemaIdentifier" : { + "id" : "urn:hl7-org:elm", + "version" : "r1" + }, + "usings" : { + "def" : [ { + "localId" : "1", + "localIdentifier" : "System", + "uri" : "urn:hl7-org:elm-types:r1", + "annotation" : [ ] + }, { + "localId" : "206", + "localIdentifier" : "Simple", + "uri" : "https://github.com/cqframework/cql-execution/simple", + "version" : "1.0.0", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "206", + "s" : [ { + "value" : [ "", "using " ] + }, { + "s" : [ { + "value" : [ "Simple" ] + } ] + }, { + "value" : [ " version '1.0.0'" ] + } ] + } + } ] + } ] + }, + "contexts" : { + "def" : [ { + "localId" : "211", + "name" : "Patient", + "annotation" : [ ] + } ] + }, + "statements" : { + "def" : [ { + "localId" : "209", + "name" : "Patient", + "context" : "Patient", + "annotation" : [ ], + "expression" : { + "type" : "SingletonFrom", + "localId" : "210", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Retrieve", + "localId" : "208", + "dataType" : "{https://github.com/cqframework/cql-execution/simple}Patient", + "annotation" : [ ], + "include" : [ ], + "codeFilter" : [ ], + "dateFilter" : [ ], + "otherFilter" : [ ] + } + } + }, { + "localId" : "214", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "name" : "Ceil", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "214", + "s" : [ { + "value" : [ "", "define ", "Ceil", ": " ] + }, { + "r" : "219", + "s" : [ { + "r" : "215", + "value" : [ "Ceiling", "(", "10.1", ")" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Ceiling", + "localId" : "219", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "220", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } ], + "operand" : { + "type" : "Literal", + "localId" : "215", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "10.1", + "annotation" : [ ] + } + } + }, { + "localId" : "223", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "name" : "Even", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { "r" : "223", "s" : [ { - "value" : [ "","library TestSnippet version '1'" ] - } ] - } - } ], - "identifier" : { - "id" : "TestSnippet", - "version" : "1" - }, - "schemaIdentifier" : { - "id" : "urn:hl7-org:elm", - "version" : "r1" - }, - "usings" : { - "def" : [ { - "localId" : "1", - "localIdentifier" : "System", - "uri" : "urn:hl7-org:elm-types:r1" - }, { - "localId" : "206", - "localIdentifier" : "Simple", - "uri" : "https://github.com/cqframework/cql-execution/simple", - "version" : "1.0.0", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "206", - "s" : [ { - "value" : [ "","using " ] - }, { - "s" : [ { - "value" : [ "Simple" ] - } ] - }, { - "value" : [ " version '1.0.0'" ] - } ] - } - } ] - } ] - }, - "contexts" : { - "def" : [ { - "localId" : "211", - "name" : "Patient" - } ] - }, - "statements" : { - "def" : [ { - "localId" : "209", - "name" : "Patient", - "context" : "Patient", - "expression" : { - "localId" : "210", - "type" : "SingletonFrom", - "signature" : [ ], - "operand" : { - "localId" : "208", - "dataType" : "{https://github.com/cqframework/cql-execution/simple}Patient", - "type" : "Retrieve", - "include" : [ ], - "codeFilter" : [ ], - "dateFilter" : [ ], - "otherFilter" : [ ] - } - } - }, { - "localId" : "214", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "name" : "Ceil", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "214", - "s" : [ { - "value" : [ "","define ","Ceil",": " ] - }, { - "r" : "219", - "s" : [ { - "r" : "215", - "value" : [ "Ceiling","(","10.1",")" ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "219", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "Ceiling", - "signature" : [ { - "localId" : "220", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "215", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "10.1", - "type" : "Literal" - } - } - }, { - "localId" : "223", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "name" : "Even", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "223", - "s" : [ { - "value" : [ "","define ","Even",": " ] - }, { - "r" : "231", - "s" : [ { - "r" : "224", - "value" : [ "Ceiling","(","10",")" ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "231", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "Ceiling", - "signature" : [ { - "localId" : "235", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "233", - "type" : "ToDecimal", - "signature" : [ { - "localId" : "234", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "224", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal" - } - } - } - } ] - } - } + "value" : [ "", "define ", "Even", ": " ] + }, { + "r" : "231", + "s" : [ { + "r" : "224", + "value" : [ "Ceiling", "(", "10", ")" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Ceiling", + "localId" : "231", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "235", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } ], + "operand" : { + "type" : "ToDecimal", + "localId" : "233", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "234", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "operand" : { + "type" : "Literal", + "localId" : "224", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "10", + "annotation" : [ ] + } + } + } + } ] + } + } } /* Floor @@ -4886,170 +5436,187 @@ define Even: Floor(10) */ module.exports['Floor'] = { - "library" : { - "localId" : "0", - "annotation" : [ { - "translatorVersion" : "3.27.0", - "translatorOptions" : "EnableDateRangeOptimization,EnableAnnotations,EnableResultTypes", - "signatureLevel" : "All", - "type" : "CqlToElmInfo" - }, { - "type" : "Annotation", - "s" : { + "library" : { + "localId" : "0", + "annotation" : [ { + "type" : "CqlToElmInfo", + "translatorVersion" : "4.2.0", + "translatorOptions" : "EnableDateRangeOptimization,EnableAnnotations,EnableResultTypes", + "signatureLevel" : "All" + }, { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "223", + "s" : [ { + "value" : [ "", "library TestSnippet version '1'" ] + } ] + } + } ], + "identifier" : { + "id" : "TestSnippet", + "version" : "1" + }, + "schemaIdentifier" : { + "id" : "urn:hl7-org:elm", + "version" : "r1" + }, + "usings" : { + "def" : [ { + "localId" : "1", + "localIdentifier" : "System", + "uri" : "urn:hl7-org:elm-types:r1", + "annotation" : [ ] + }, { + "localId" : "206", + "localIdentifier" : "Simple", + "uri" : "https://github.com/cqframework/cql-execution/simple", + "version" : "1.0.0", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "206", + "s" : [ { + "value" : [ "", "using " ] + }, { + "s" : [ { + "value" : [ "Simple" ] + } ] + }, { + "value" : [ " version '1.0.0'" ] + } ] + } + } ] + } ] + }, + "contexts" : { + "def" : [ { + "localId" : "211", + "name" : "Patient", + "annotation" : [ ] + } ] + }, + "statements" : { + "def" : [ { + "localId" : "209", + "name" : "Patient", + "context" : "Patient", + "annotation" : [ ], + "expression" : { + "type" : "SingletonFrom", + "localId" : "210", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Retrieve", + "localId" : "208", + "dataType" : "{https://github.com/cqframework/cql-execution/simple}Patient", + "annotation" : [ ], + "include" : [ ], + "codeFilter" : [ ], + "dateFilter" : [ ], + "otherFilter" : [ ] + } + } + }, { + "localId" : "214", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "name" : "flr", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "214", + "s" : [ { + "value" : [ "", "define ", "flr", ": " ] + }, { + "r" : "219", + "s" : [ { + "r" : "215", + "value" : [ "Floor", "(", "10.1", ")" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Floor", + "localId" : "219", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "220", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } ], + "operand" : { + "type" : "Literal", + "localId" : "215", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "10.1", + "annotation" : [ ] + } + } + }, { + "localId" : "223", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "name" : "Even", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { "r" : "223", "s" : [ { - "value" : [ "","library TestSnippet version '1'" ] - } ] - } - } ], - "identifier" : { - "id" : "TestSnippet", - "version" : "1" - }, - "schemaIdentifier" : { - "id" : "urn:hl7-org:elm", - "version" : "r1" - }, - "usings" : { - "def" : [ { - "localId" : "1", - "localIdentifier" : "System", - "uri" : "urn:hl7-org:elm-types:r1" - }, { - "localId" : "206", - "localIdentifier" : "Simple", - "uri" : "https://github.com/cqframework/cql-execution/simple", - "version" : "1.0.0", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "206", - "s" : [ { - "value" : [ "","using " ] - }, { - "s" : [ { - "value" : [ "Simple" ] - } ] - }, { - "value" : [ " version '1.0.0'" ] - } ] - } - } ] - } ] - }, - "contexts" : { - "def" : [ { - "localId" : "211", - "name" : "Patient" - } ] - }, - "statements" : { - "def" : [ { - "localId" : "209", - "name" : "Patient", - "context" : "Patient", - "expression" : { - "localId" : "210", - "type" : "SingletonFrom", - "signature" : [ ], - "operand" : { - "localId" : "208", - "dataType" : "{https://github.com/cqframework/cql-execution/simple}Patient", - "type" : "Retrieve", - "include" : [ ], - "codeFilter" : [ ], - "dateFilter" : [ ], - "otherFilter" : [ ] - } - } - }, { - "localId" : "214", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "name" : "flr", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "214", - "s" : [ { - "value" : [ "","define ","flr",": " ] - }, { - "r" : "219", - "s" : [ { - "r" : "215", - "value" : [ "Floor","(","10.1",")" ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "219", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "Floor", - "signature" : [ { - "localId" : "220", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "215", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "10.1", - "type" : "Literal" - } - } - }, { - "localId" : "223", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "name" : "Even", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "223", - "s" : [ { - "value" : [ "","define ","Even",": " ] - }, { - "r" : "231", - "s" : [ { - "r" : "224", - "value" : [ "Floor","(","10",")" ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "231", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "Floor", - "signature" : [ { - "localId" : "235", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "233", - "type" : "ToDecimal", - "signature" : [ { - "localId" : "234", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "224", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal" - } - } - } - } ] - } - } + "value" : [ "", "define ", "Even", ": " ] + }, { + "r" : "231", + "s" : [ { + "r" : "224", + "value" : [ "Floor", "(", "10", ")" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Floor", + "localId" : "231", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "235", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } ], + "operand" : { + "type" : "ToDecimal", + "localId" : "233", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "234", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "operand" : { + "type" : "Literal", + "localId" : "224", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "10", + "annotation" : [ ] + } + } + } + } ] + } + } } /* Truncate @@ -5061,170 +5628,187 @@ define Even: Truncate(10) */ module.exports['Truncate'] = { - "library" : { - "localId" : "0", - "annotation" : [ { - "translatorVersion" : "3.27.0", - "translatorOptions" : "EnableDateRangeOptimization,EnableAnnotations,EnableResultTypes", - "signatureLevel" : "All", - "type" : "CqlToElmInfo" - }, { - "type" : "Annotation", - "s" : { + "library" : { + "localId" : "0", + "annotation" : [ { + "type" : "CqlToElmInfo", + "translatorVersion" : "4.2.0", + "translatorOptions" : "EnableDateRangeOptimization,EnableAnnotations,EnableResultTypes", + "signatureLevel" : "All" + }, { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "223", + "s" : [ { + "value" : [ "", "library TestSnippet version '1'" ] + } ] + } + } ], + "identifier" : { + "id" : "TestSnippet", + "version" : "1" + }, + "schemaIdentifier" : { + "id" : "urn:hl7-org:elm", + "version" : "r1" + }, + "usings" : { + "def" : [ { + "localId" : "1", + "localIdentifier" : "System", + "uri" : "urn:hl7-org:elm-types:r1", + "annotation" : [ ] + }, { + "localId" : "206", + "localIdentifier" : "Simple", + "uri" : "https://github.com/cqframework/cql-execution/simple", + "version" : "1.0.0", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "206", + "s" : [ { + "value" : [ "", "using " ] + }, { + "s" : [ { + "value" : [ "Simple" ] + } ] + }, { + "value" : [ " version '1.0.0'" ] + } ] + } + } ] + } ] + }, + "contexts" : { + "def" : [ { + "localId" : "211", + "name" : "Patient", + "annotation" : [ ] + } ] + }, + "statements" : { + "def" : [ { + "localId" : "209", + "name" : "Patient", + "context" : "Patient", + "annotation" : [ ], + "expression" : { + "type" : "SingletonFrom", + "localId" : "210", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Retrieve", + "localId" : "208", + "dataType" : "{https://github.com/cqframework/cql-execution/simple}Patient", + "annotation" : [ ], + "include" : [ ], + "codeFilter" : [ ], + "dateFilter" : [ ], + "otherFilter" : [ ] + } + } + }, { + "localId" : "214", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "name" : "Trunc", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "214", + "s" : [ { + "value" : [ "", "define ", "Trunc", ": " ] + }, { + "r" : "219", + "s" : [ { + "r" : "215", + "value" : [ "Truncate", "(", "10.1", ")" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Truncate", + "localId" : "219", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "220", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } ], + "operand" : { + "type" : "Literal", + "localId" : "215", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "10.1", + "annotation" : [ ] + } + } + }, { + "localId" : "223", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "name" : "Even", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { "r" : "223", "s" : [ { - "value" : [ "","library TestSnippet version '1'" ] - } ] - } - } ], - "identifier" : { - "id" : "TestSnippet", - "version" : "1" - }, - "schemaIdentifier" : { - "id" : "urn:hl7-org:elm", - "version" : "r1" - }, - "usings" : { - "def" : [ { - "localId" : "1", - "localIdentifier" : "System", - "uri" : "urn:hl7-org:elm-types:r1" - }, { - "localId" : "206", - "localIdentifier" : "Simple", - "uri" : "https://github.com/cqframework/cql-execution/simple", - "version" : "1.0.0", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "206", - "s" : [ { - "value" : [ "","using " ] - }, { - "s" : [ { - "value" : [ "Simple" ] - } ] - }, { - "value" : [ " version '1.0.0'" ] - } ] - } - } ] - } ] - }, - "contexts" : { - "def" : [ { - "localId" : "211", - "name" : "Patient" - } ] - }, - "statements" : { - "def" : [ { - "localId" : "209", - "name" : "Patient", - "context" : "Patient", - "expression" : { - "localId" : "210", - "type" : "SingletonFrom", - "signature" : [ ], - "operand" : { - "localId" : "208", - "dataType" : "{https://github.com/cqframework/cql-execution/simple}Patient", - "type" : "Retrieve", - "include" : [ ], - "codeFilter" : [ ], - "dateFilter" : [ ], - "otherFilter" : [ ] - } - } - }, { - "localId" : "214", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "name" : "Trunc", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "214", - "s" : [ { - "value" : [ "","define ","Trunc",": " ] - }, { - "r" : "219", - "s" : [ { - "r" : "215", - "value" : [ "Truncate","(","10.1",")" ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "219", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "Truncate", - "signature" : [ { - "localId" : "220", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "215", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "10.1", - "type" : "Literal" - } - } - }, { - "localId" : "223", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "name" : "Even", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "223", - "s" : [ { - "value" : [ "","define ","Even",": " ] - }, { - "r" : "231", - "s" : [ { - "r" : "224", - "value" : [ "Truncate","(","10",")" ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "231", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "Truncate", - "signature" : [ { - "localId" : "235", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "233", - "type" : "ToDecimal", - "signature" : [ { - "localId" : "234", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "224", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal" - } - } - } - } ] - } - } + "value" : [ "", "define ", "Even", ": " ] + }, { + "r" : "231", + "s" : [ { + "r" : "224", + "value" : [ "Truncate", "(", "10", ")" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Truncate", + "localId" : "231", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "235", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } ], + "operand" : { + "type" : "ToDecimal", + "localId" : "233", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "234", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "operand" : { + "type" : "Literal", + "localId" : "224", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "10", + "annotation" : [ ] + } + } + } + } ] + } + } } /* Abs @@ -5237,216 +5821,237 @@ define Zero: Abs(0) */ module.exports['Abs'] = { - "library" : { - "localId" : "0", - "annotation" : [ { - "translatorVersion" : "3.27.0", - "translatorOptions" : "EnableDateRangeOptimization,EnableAnnotations,EnableResultTypes", - "signatureLevel" : "All", - "type" : "CqlToElmInfo" - }, { - "type" : "Annotation", - "s" : { - "r" : "234", + "library" : { + "localId" : "0", + "annotation" : [ { + "type" : "CqlToElmInfo", + "translatorVersion" : "4.2.0", + "translatorOptions" : "EnableDateRangeOptimization,EnableAnnotations,EnableResultTypes", + "signatureLevel" : "All" + }, { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "234", + "s" : [ { + "value" : [ "", "library TestSnippet version '1'" ] + } ] + } + } ], + "identifier" : { + "id" : "TestSnippet", + "version" : "1" + }, + "schemaIdentifier" : { + "id" : "urn:hl7-org:elm", + "version" : "r1" + }, + "usings" : { + "def" : [ { + "localId" : "1", + "localIdentifier" : "System", + "uri" : "urn:hl7-org:elm-types:r1", + "annotation" : [ ] + }, { + "localId" : "206", + "localIdentifier" : "Simple", + "uri" : "https://github.com/cqframework/cql-execution/simple", + "version" : "1.0.0", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "206", "s" : [ { - "value" : [ "","library TestSnippet version '1'" ] - } ] - } - } ], - "identifier" : { - "id" : "TestSnippet", - "version" : "1" - }, - "schemaIdentifier" : { - "id" : "urn:hl7-org:elm", - "version" : "r1" - }, - "usings" : { - "def" : [ { - "localId" : "1", - "localIdentifier" : "System", - "uri" : "urn:hl7-org:elm-types:r1" - }, { - "localId" : "206", - "localIdentifier" : "Simple", - "uri" : "https://github.com/cqframework/cql-execution/simple", - "version" : "1.0.0", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "206", - "s" : [ { - "value" : [ "","using " ] - }, { - "s" : [ { - "value" : [ "Simple" ] - } ] - }, { - "value" : [ " version '1.0.0'" ] - } ] - } - } ] - } ] - }, - "contexts" : { - "def" : [ { - "localId" : "211", - "name" : "Patient" - } ] - }, - "statements" : { - "def" : [ { - "localId" : "209", - "name" : "Patient", - "context" : "Patient", - "expression" : { - "localId" : "210", - "type" : "SingletonFrom", - "signature" : [ ], - "operand" : { - "localId" : "208", - "dataType" : "{https://github.com/cqframework/cql-execution/simple}Patient", - "type" : "Retrieve", - "include" : [ ], - "codeFilter" : [ ], - "dateFilter" : [ ], - "otherFilter" : [ ] - } - } - }, { - "localId" : "214", + "value" : [ "", "using " ] + }, { + "s" : [ { + "value" : [ "Simple" ] + } ] + }, { + "value" : [ " version '1.0.0'" ] + } ] + } + } ] + } ] + }, + "contexts" : { + "def" : [ { + "localId" : "211", + "name" : "Patient", + "annotation" : [ ] + } ] + }, + "statements" : { + "def" : [ { + "localId" : "209", + "name" : "Patient", + "context" : "Patient", + "annotation" : [ ], + "expression" : { + "type" : "SingletonFrom", + "localId" : "210", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Retrieve", + "localId" : "208", + "dataType" : "{https://github.com/cqframework/cql-execution/simple}Patient", + "annotation" : [ ], + "include" : [ ], + "codeFilter" : [ ], + "dateFilter" : [ ], + "otherFilter" : [ ] + } + } + }, { + "localId" : "214", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "name" : "Pos", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "214", + "s" : [ { + "value" : [ "", "define ", "Pos", ": " ] + }, { + "r" : "219", + "s" : [ { + "r" : "215", + "value" : [ "Abs", "(", "10", ")" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Abs", + "localId" : "219", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "220", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "operand" : { + "type" : "Literal", + "localId" : "215", "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "name" : "Pos", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "214", - "s" : [ { - "value" : [ "","define ","Pos",": " ] - }, { - "r" : "219", - "s" : [ { - "r" : "215", - "value" : [ "Abs","(","10",")" ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "219", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "Abs", - "signature" : [ { - "localId" : "220", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "215", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal" - } - } - }, { - "localId" : "223", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "10", + "annotation" : [ ] + } + } + }, { + "localId" : "223", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "name" : "Neg", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "223", + "s" : [ { + "value" : [ "", "define ", "Neg", ": " ] + }, { + "r" : "230", + "s" : [ { + "value" : [ "Abs", "(" ] + }, { + "r" : "224", + "s" : [ { + "r" : "225", + "value" : [ "-", "10" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Abs", + "localId" : "230", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "231", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "operand" : { + "type" : "Negate", + "localId" : "224", "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "name" : "Neg", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "223", - "s" : [ { - "value" : [ "","define ","Neg",": " ] - }, { - "r" : "230", - "s" : [ { - "value" : [ "Abs","(" ] - }, { - "r" : "224", - "s" : [ { - "r" : "225", - "value" : [ "-","10" ] - } ] - }, { - "value" : [ ")" ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "230", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "Abs", - "signature" : [ { - "localId" : "231", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "224", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "Negate", - "signature" : [ { - "localId" : "226", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "225", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal" - } - } - } - }, { - "localId" : "234", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "226", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "operand" : { + "type" : "Literal", + "localId" : "225", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "10", + "annotation" : [ ] + } + } + } + }, { + "localId" : "234", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "name" : "Zero", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "234", + "s" : [ { + "value" : [ "", "define ", "Zero", ": " ] + }, { + "r" : "239", + "s" : [ { + "r" : "235", + "value" : [ "Abs", "(", "0", ")" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Abs", + "localId" : "239", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "240", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "operand" : { + "type" : "Literal", + "localId" : "235", "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "name" : "Zero", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "234", - "s" : [ { - "value" : [ "","define ","Zero",": " ] - }, { - "r" : "239", - "s" : [ { - "r" : "235", - "value" : [ "Abs","(","0",")" ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "239", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "Abs", - "signature" : [ { - "localId" : "240", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "235", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - } - } ] - } - } + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + } + } ] + } + } } /* Round @@ -5460,259 +6065,286 @@ define Down_percent: Round(4.43,1) */ module.exports['Round'] = { - "library" : { - "localId" : "0", - "annotation" : [ { - "translatorVersion" : "3.27.0", - "translatorOptions" : "EnableDateRangeOptimization,EnableAnnotations,EnableResultTypes", - "signatureLevel" : "All", - "type" : "CqlToElmInfo" - }, { - "type" : "Annotation", - "s" : { - "r" : "244", + "library" : { + "localId" : "0", + "annotation" : [ { + "type" : "CqlToElmInfo", + "translatorVersion" : "4.2.0", + "translatorOptions" : "EnableDateRangeOptimization,EnableAnnotations,EnableResultTypes", + "signatureLevel" : "All" + }, { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "244", + "s" : [ { + "value" : [ "", "library TestSnippet version '1'" ] + } ] + } + } ], + "identifier" : { + "id" : "TestSnippet", + "version" : "1" + }, + "schemaIdentifier" : { + "id" : "urn:hl7-org:elm", + "version" : "r1" + }, + "usings" : { + "def" : [ { + "localId" : "1", + "localIdentifier" : "System", + "uri" : "urn:hl7-org:elm-types:r1", + "annotation" : [ ] + }, { + "localId" : "206", + "localIdentifier" : "Simple", + "uri" : "https://github.com/cqframework/cql-execution/simple", + "version" : "1.0.0", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "206", "s" : [ { - "value" : [ "","library TestSnippet version '1'" ] - } ] - } - } ], - "identifier" : { - "id" : "TestSnippet", - "version" : "1" - }, - "schemaIdentifier" : { - "id" : "urn:hl7-org:elm", - "version" : "r1" - }, - "usings" : { - "def" : [ { - "localId" : "1", - "localIdentifier" : "System", - "uri" : "urn:hl7-org:elm-types:r1" - }, { - "localId" : "206", - "localIdentifier" : "Simple", - "uri" : "https://github.com/cqframework/cql-execution/simple", - "version" : "1.0.0", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "206", - "s" : [ { - "value" : [ "","using " ] - }, { - "s" : [ { - "value" : [ "Simple" ] - } ] - }, { - "value" : [ " version '1.0.0'" ] - } ] - } - } ] - } ] - }, - "contexts" : { - "def" : [ { - "localId" : "211", - "name" : "Patient" - } ] - }, - "statements" : { - "def" : [ { - "localId" : "209", - "name" : "Patient", - "context" : "Patient", - "expression" : { - "localId" : "210", - "type" : "SingletonFrom", - "signature" : [ ], - "operand" : { - "localId" : "208", - "dataType" : "{https://github.com/cqframework/cql-execution/simple}Patient", - "type" : "Retrieve", - "include" : [ ], - "codeFilter" : [ ], - "dateFilter" : [ ], - "otherFilter" : [ ] - } - } - }, { - "localId" : "214", + "value" : [ "", "using " ] + }, { + "s" : [ { + "value" : [ "Simple" ] + } ] + }, { + "value" : [ " version '1.0.0'" ] + } ] + } + } ] + } ] + }, + "contexts" : { + "def" : [ { + "localId" : "211", + "name" : "Patient", + "annotation" : [ ] + } ] + }, + "statements" : { + "def" : [ { + "localId" : "209", + "name" : "Patient", + "context" : "Patient", + "annotation" : [ ], + "expression" : { + "type" : "SingletonFrom", + "localId" : "210", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Retrieve", + "localId" : "208", + "dataType" : "{https://github.com/cqframework/cql-execution/simple}Patient", + "annotation" : [ ], + "include" : [ ], + "codeFilter" : [ ], + "dateFilter" : [ ], + "otherFilter" : [ ] + } + } + }, { + "localId" : "214", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "name" : "Up", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "214", + "s" : [ { + "value" : [ "", "define ", "Up", ": " ] + }, { + "r" : "219", + "s" : [ { + "r" : "215", + "value" : [ "Round", "(", "4.56", ")" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Round", + "localId" : "219", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "220", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } ], + "operand" : { + "type" : "Literal", + "localId" : "215", "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "name" : "Up", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "214", - "s" : [ { - "value" : [ "","define ","Up",": " ] - }, { - "r" : "219", - "s" : [ { - "r" : "215", - "value" : [ "Round","(","4.56",")" ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "219", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "Round", - "signature" : [ { - "localId" : "220", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "215", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "4.56", - "type" : "Literal" - } - } - }, { - "localId" : "223", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "4.56", + "annotation" : [ ] + } + } + }, { + "localId" : "223", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "name" : "Up_percent", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "223", + "s" : [ { + "value" : [ "", "define ", "Up_percent", ": " ] + }, { + "r" : "230", + "s" : [ { + "r" : "224", + "value" : [ "Round", "(", "4.56", ",", "1", ")" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Round", + "localId" : "230", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "231", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "232", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "operand" : { + "type" : "Literal", + "localId" : "224", "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "name" : "Up_percent", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "223", - "s" : [ { - "value" : [ "","define ","Up_percent",": " ] - }, { - "r" : "230", - "s" : [ { - "r" : "224", - "value" : [ "Round","(","4.56",",","1",")" ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "230", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "Round", - "signature" : [ { - "localId" : "231", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "232", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "224", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "4.56", - "type" : "Literal" - }, - "precision" : { - "localId" : "225", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - } - } - }, { - "localId" : "235", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "4.56", + "annotation" : [ ] + }, + "precision" : { + "type" : "Literal", + "localId" : "225", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + } + } + }, { + "localId" : "235", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "name" : "Down", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "235", + "s" : [ { + "value" : [ "", "define ", "Down", ": " ] + }, { + "r" : "240", + "s" : [ { + "r" : "236", + "value" : [ "Round", "(", "4.49", ")" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Round", + "localId" : "240", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "241", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } ], + "operand" : { + "type" : "Literal", + "localId" : "236", "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "name" : "Down", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "235", - "s" : [ { - "value" : [ "","define ","Down",": " ] - }, { - "r" : "240", - "s" : [ { - "r" : "236", - "value" : [ "Round","(","4.49",")" ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "240", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "Round", - "signature" : [ { - "localId" : "241", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "236", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "4.49", - "type" : "Literal" - } - } - }, { - "localId" : "244", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "4.49", + "annotation" : [ ] + } + } + }, { + "localId" : "244", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "name" : "Down_percent", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "244", + "s" : [ { + "value" : [ "", "define ", "Down_percent", ": " ] + }, { + "r" : "251", + "s" : [ { + "r" : "245", + "value" : [ "Round", "(", "4.43", ",", "1", ")" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Round", + "localId" : "251", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "252", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "253", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "operand" : { + "type" : "Literal", + "localId" : "245", "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "name" : "Down_percent", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "244", - "s" : [ { - "value" : [ "","define ","Down_percent",": " ] - }, { - "r" : "251", - "s" : [ { - "r" : "245", - "value" : [ "Round","(","4.43",",","1",")" ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "251", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "Round", - "signature" : [ { - "localId" : "252", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "253", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "245", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "4.43", - "type" : "Literal" - }, - "precision" : { - "localId" : "246", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - } - } - } ] - } - } + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "4.43", + "annotation" : [ ] + }, + "precision" : { + "type" : "Literal", + "localId" : "246", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + } + } + } ] + } + } } /* Ln @@ -5723,132 +6355,145 @@ define ln: Ln(4) */ module.exports['Ln'] = { - "library" : { - "localId" : "0", - "annotation" : [ { - "translatorVersion" : "3.27.0", - "translatorOptions" : "EnableDateRangeOptimization,EnableAnnotations,EnableResultTypes", - "signatureLevel" : "All", - "type" : "CqlToElmInfo" - }, { - "type" : "Annotation", - "s" : { + "library" : { + "localId" : "0", + "annotation" : [ { + "type" : "CqlToElmInfo", + "translatorVersion" : "4.2.0", + "translatorOptions" : "EnableDateRangeOptimization,EnableAnnotations,EnableResultTypes", + "signatureLevel" : "All" + }, { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "214", + "s" : [ { + "value" : [ "", "library TestSnippet version '1'" ] + } ] + } + } ], + "identifier" : { + "id" : "TestSnippet", + "version" : "1" + }, + "schemaIdentifier" : { + "id" : "urn:hl7-org:elm", + "version" : "r1" + }, + "usings" : { + "def" : [ { + "localId" : "1", + "localIdentifier" : "System", + "uri" : "urn:hl7-org:elm-types:r1", + "annotation" : [ ] + }, { + "localId" : "206", + "localIdentifier" : "Simple", + "uri" : "https://github.com/cqframework/cql-execution/simple", + "version" : "1.0.0", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "206", + "s" : [ { + "value" : [ "", "using " ] + }, { + "s" : [ { + "value" : [ "Simple" ] + } ] + }, { + "value" : [ " version '1.0.0'" ] + } ] + } + } ] + } ] + }, + "contexts" : { + "def" : [ { + "localId" : "211", + "name" : "Patient", + "annotation" : [ ] + } ] + }, + "statements" : { + "def" : [ { + "localId" : "209", + "name" : "Patient", + "context" : "Patient", + "annotation" : [ ], + "expression" : { + "type" : "SingletonFrom", + "localId" : "210", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Retrieve", + "localId" : "208", + "dataType" : "{https://github.com/cqframework/cql-execution/simple}Patient", + "annotation" : [ ], + "include" : [ ], + "codeFilter" : [ ], + "dateFilter" : [ ], + "otherFilter" : [ ] + } + } + }, { + "localId" : "214", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "name" : "ln", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { "r" : "214", "s" : [ { - "value" : [ "","library TestSnippet version '1'" ] - } ] - } - } ], - "identifier" : { - "id" : "TestSnippet", - "version" : "1" - }, - "schemaIdentifier" : { - "id" : "urn:hl7-org:elm", - "version" : "r1" - }, - "usings" : { - "def" : [ { - "localId" : "1", - "localIdentifier" : "System", - "uri" : "urn:hl7-org:elm-types:r1" - }, { - "localId" : "206", - "localIdentifier" : "Simple", - "uri" : "https://github.com/cqframework/cql-execution/simple", - "version" : "1.0.0", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "206", - "s" : [ { - "value" : [ "","using " ] - }, { - "s" : [ { - "value" : [ "Simple" ] - } ] - }, { - "value" : [ " version '1.0.0'" ] - } ] - } - } ] - } ] - }, - "contexts" : { - "def" : [ { - "localId" : "211", - "name" : "Patient" - } ] - }, - "statements" : { - "def" : [ { - "localId" : "209", - "name" : "Patient", - "context" : "Patient", - "expression" : { - "localId" : "210", - "type" : "SingletonFrom", - "signature" : [ ], - "operand" : { - "localId" : "208", - "dataType" : "{https://github.com/cqframework/cql-execution/simple}Patient", - "type" : "Retrieve", - "include" : [ ], - "codeFilter" : [ ], - "dateFilter" : [ ], - "otherFilter" : [ ] - } - } - }, { - "localId" : "214", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "name" : "ln", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "214", - "s" : [ { - "value" : [ "","define ","ln",": " ] - }, { - "r" : "222", - "s" : [ { - "r" : "215", - "value" : [ "Ln","(","4",")" ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "222", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "Ln", - "signature" : [ { - "localId" : "226", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "224", - "type" : "ToDecimal", - "signature" : [ { - "localId" : "225", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "215", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "4", - "type" : "Literal" - } - } - } - } ] - } - } + "value" : [ "", "define ", "ln", ": " ] + }, { + "r" : "222", + "s" : [ { + "r" : "215", + "value" : [ "Ln", "(", "4", ")" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Ln", + "localId" : "222", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "226", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } ], + "operand" : { + "type" : "ToDecimal", + "localId" : "224", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "225", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "operand" : { + "type" : "Literal", + "localId" : "215", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "4", + "annotation" : [ ] + } + } + } + } ] + } + } } /* Log @@ -5859,151 +6504,168 @@ define log: Log(10,10000) */ module.exports['Log'] = { - "library" : { - "localId" : "0", - "annotation" : [ { - "translatorVersion" : "3.27.0", - "translatorOptions" : "EnableDateRangeOptimization,EnableAnnotations,EnableResultTypes", - "signatureLevel" : "All", - "type" : "CqlToElmInfo" - }, { - "type" : "Annotation", - "s" : { + "library" : { + "localId" : "0", + "annotation" : [ { + "type" : "CqlToElmInfo", + "translatorVersion" : "4.2.0", + "translatorOptions" : "EnableDateRangeOptimization,EnableAnnotations,EnableResultTypes", + "signatureLevel" : "All" + }, { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "214", + "s" : [ { + "value" : [ "", "library TestSnippet version '1'" ] + } ] + } + } ], + "identifier" : { + "id" : "TestSnippet", + "version" : "1" + }, + "schemaIdentifier" : { + "id" : "urn:hl7-org:elm", + "version" : "r1" + }, + "usings" : { + "def" : [ { + "localId" : "1", + "localIdentifier" : "System", + "uri" : "urn:hl7-org:elm-types:r1", + "annotation" : [ ] + }, { + "localId" : "206", + "localIdentifier" : "Simple", + "uri" : "https://github.com/cqframework/cql-execution/simple", + "version" : "1.0.0", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "206", + "s" : [ { + "value" : [ "", "using " ] + }, { + "s" : [ { + "value" : [ "Simple" ] + } ] + }, { + "value" : [ " version '1.0.0'" ] + } ] + } + } ] + } ] + }, + "contexts" : { + "def" : [ { + "localId" : "211", + "name" : "Patient", + "annotation" : [ ] + } ] + }, + "statements" : { + "def" : [ { + "localId" : "209", + "name" : "Patient", + "context" : "Patient", + "annotation" : [ ], + "expression" : { + "type" : "SingletonFrom", + "localId" : "210", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Retrieve", + "localId" : "208", + "dataType" : "{https://github.com/cqframework/cql-execution/simple}Patient", + "annotation" : [ ], + "include" : [ ], + "codeFilter" : [ ], + "dateFilter" : [ ], + "otherFilter" : [ ] + } + } + }, { + "localId" : "214", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "name" : "log", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { "r" : "214", "s" : [ { - "value" : [ "","library TestSnippet version '1'" ] - } ] - } - } ], - "identifier" : { - "id" : "TestSnippet", - "version" : "1" - }, - "schemaIdentifier" : { - "id" : "urn:hl7-org:elm", - "version" : "r1" - }, - "usings" : { - "def" : [ { - "localId" : "1", - "localIdentifier" : "System", - "uri" : "urn:hl7-org:elm-types:r1" - }, { - "localId" : "206", - "localIdentifier" : "Simple", - "uri" : "https://github.com/cqframework/cql-execution/simple", - "version" : "1.0.0", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "206", - "s" : [ { - "value" : [ "","using " ] - }, { - "s" : [ { - "value" : [ "Simple" ] - } ] - }, { - "value" : [ " version '1.0.0'" ] - } ] - } - } ] - } ] - }, - "contexts" : { - "def" : [ { - "localId" : "211", - "name" : "Patient" - } ] - }, - "statements" : { - "def" : [ { - "localId" : "209", - "name" : "Patient", - "context" : "Patient", - "expression" : { - "localId" : "210", - "type" : "SingletonFrom", - "signature" : [ ], - "operand" : { - "localId" : "208", - "dataType" : "{https://github.com/cqframework/cql-execution/simple}Patient", - "type" : "Retrieve", - "include" : [ ], - "codeFilter" : [ ], - "dateFilter" : [ ], - "otherFilter" : [ ] - } - } - }, { - "localId" : "214", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "name" : "log", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "214", - "s" : [ { - "value" : [ "","define ","log",": " ] - }, { - "r" : "227", - "s" : [ { - "r" : "215", - "value" : [ "Log","(","10",",","10000",")" ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "227", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "Log", - "signature" : [ { - "localId" : "234", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "235", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "229", - "type" : "ToDecimal", - "signature" : [ { - "localId" : "230", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "215", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal" - } - }, { - "localId" : "232", - "type" : "ToDecimal", - "signature" : [ { - "localId" : "233", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "216", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10000", - "type" : "Literal" - } - } ] - } - } ] - } - } + "value" : [ "", "define ", "log", ": " ] + }, { + "r" : "227", + "s" : [ { + "r" : "215", + "value" : [ "Log", "(", "10", ",", "10000", ")" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Log", + "localId" : "227", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "234", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "235", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "ToDecimal", + "localId" : "229", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "230", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "operand" : { + "type" : "Literal", + "localId" : "215", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "10", + "annotation" : [ ] + } + }, { + "type" : "ToDecimal", + "localId" : "232", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "233", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "operand" : { + "type" : "Literal", + "localId" : "216", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "10000", + "annotation" : [ ] + } + } ] + } + } ] + } + } } /* Successor @@ -6024,920 +6686,1041 @@ define max_date: successor of DateTime(9999,12,31,23,59,59,999) */ module.exports['Successor'] = { - "library" : { - "localId" : "0", - "annotation" : [ { - "translatorVersion" : "3.27.0", - "translatorOptions" : "EnableDateRangeOptimization,EnableAnnotations,EnableResultTypes", - "signatureLevel" : "All", - "type" : "CqlToElmInfo" - }, { - "type" : "Annotation", - "s" : { - "r" : "372", + "library" : { + "localId" : "0", + "annotation" : [ { + "type" : "CqlToElmInfo", + "translatorVersion" : "4.2.0", + "translatorOptions" : "EnableDateRangeOptimization,EnableAnnotations,EnableResultTypes", + "signatureLevel" : "All" + }, { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "372", + "s" : [ { + "value" : [ "", "library TestSnippet version '1'" ] + } ] + } + } ], + "identifier" : { + "id" : "TestSnippet", + "version" : "1" + }, + "schemaIdentifier" : { + "id" : "urn:hl7-org:elm", + "version" : "r1" + }, + "usings" : { + "def" : [ { + "localId" : "1", + "localIdentifier" : "System", + "uri" : "urn:hl7-org:elm-types:r1", + "annotation" : [ ] + }, { + "localId" : "206", + "localIdentifier" : "Simple", + "uri" : "https://github.com/cqframework/cql-execution/simple", + "version" : "1.0.0", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "206", "s" : [ { - "value" : [ "","library TestSnippet version '1'" ] - } ] - } - } ], - "identifier" : { - "id" : "TestSnippet", - "version" : "1" - }, - "schemaIdentifier" : { - "id" : "urn:hl7-org:elm", - "version" : "r1" - }, - "usings" : { - "def" : [ { - "localId" : "1", - "localIdentifier" : "System", - "uri" : "urn:hl7-org:elm-types:r1" - }, { - "localId" : "206", - "localIdentifier" : "Simple", - "uri" : "https://github.com/cqframework/cql-execution/simple", - "version" : "1.0.0", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "206", - "s" : [ { - "value" : [ "","using " ] - }, { - "s" : [ { - "value" : [ "Simple" ] - } ] - }, { - "value" : [ " version '1.0.0'" ] - } ] - } - } ] - } ] - }, - "contexts" : { - "def" : [ { - "localId" : "211", - "name" : "Patient" - } ] - }, - "statements" : { - "def" : [ { - "localId" : "209", - "name" : "Patient", - "context" : "Patient", - "expression" : { - "localId" : "210", - "type" : "SingletonFrom", - "signature" : [ ], - "operand" : { - "localId" : "208", - "dataType" : "{https://github.com/cqframework/cql-execution/simple}Patient", - "type" : "Retrieve", - "include" : [ ], - "codeFilter" : [ ], - "dateFilter" : [ ], - "otherFilter" : [ ] - } - } - }, { - "localId" : "214", + "value" : [ "", "using " ] + }, { + "s" : [ { + "value" : [ "Simple" ] + } ] + }, { + "value" : [ " version '1.0.0'" ] + } ] + } + } ] + } ] + }, + "contexts" : { + "def" : [ { + "localId" : "211", + "name" : "Patient", + "annotation" : [ ] + } ] + }, + "statements" : { + "def" : [ { + "localId" : "209", + "name" : "Patient", + "context" : "Patient", + "annotation" : [ ], + "expression" : { + "type" : "SingletonFrom", + "localId" : "210", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Retrieve", + "localId" : "208", + "dataType" : "{https://github.com/cqframework/cql-execution/simple}Patient", + "annotation" : [ ], + "include" : [ ], + "codeFilter" : [ ], + "dateFilter" : [ ], + "otherFilter" : [ ] + } + } + }, { + "localId" : "214", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "name" : "Is", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "214", + "s" : [ { + "value" : [ "", "define ", "Is", ": " ] + }, { + "r" : "216", + "s" : [ { + "r" : "215", + "value" : [ "successor of ", "2" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Successor", + "localId" : "216", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "217", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "operand" : { + "type" : "Literal", + "localId" : "215", "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "name" : "Is", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "214", - "s" : [ { - "value" : [ "","define ","Is",": " ] - }, { - "r" : "216", - "s" : [ { - "r" : "215", - "value" : [ "successor of ","2" ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "216", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "Successor", - "signature" : [ { - "localId" : "217", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "215", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal" - } - } - }, { - "localId" : "220", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "annotation" : [ ] + } + } + }, { + "localId" : "220", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "name" : "Rs", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "220", + "s" : [ { + "value" : [ "", "define ", "Rs", ": " ] + }, { + "r" : "222", + "s" : [ { + "r" : "221", + "value" : [ "successor of ", "2.2" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Successor", + "localId" : "222", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "223", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } ], + "operand" : { + "type" : "Literal", + "localId" : "221", "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "name" : "Rs", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "220", - "s" : [ { - "value" : [ "","define ","Rs",": " ] - }, { - "r" : "222", - "s" : [ { - "r" : "221", - "value" : [ "successor of ","2.2" ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "222", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "Successor", - "signature" : [ { - "localId" : "223", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "221", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "2.2", - "type" : "Literal" - } - } - }, { - "localId" : "226", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "2.2", + "annotation" : [ ] + } + } + }, { + "localId" : "226", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "name" : "ofr", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "226", + "s" : [ { + "value" : [ "", "define ", "ofr", ": " ] + }, { + "r" : "228", + "s" : [ { + "r" : "227", + "value" : [ "successor of ", "2147483647" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Successor", + "localId" : "228", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "229", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "operand" : { + "type" : "Literal", + "localId" : "227", "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "name" : "ofr", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "226", - "s" : [ { - "value" : [ "","define ","ofr",": " ] - }, { - "r" : "228", - "s" : [ { - "r" : "227", - "value" : [ "successor of ","2147483647" ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "228", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "Successor", - "signature" : [ { - "localId" : "229", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "227", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2147483647", - "type" : "Literal" - } - } - }, { - "localId" : "232", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "name" : "y_date", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "232", - "s" : [ { - "value" : [ "","define ","y_date",": " ] - }, { - "r" : "239", - "s" : [ { - "value" : [ "successor of " ] - }, { - "r" : "237", - "s" : [ { - "r" : "233", - "value" : [ "DateTime","(","2015",")" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "239", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "Successor", - "signature" : [ { - "localId" : "240", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "237", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "238", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "233", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2015", - "type" : "Literal" - } - } - } - }, { - "localId" : "243", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2147483647", + "annotation" : [ ] + } + } + }, { + "localId" : "232", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "name" : "y_date", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "232", + "s" : [ { + "value" : [ "", "define ", "y_date", ": " ] + }, { + "r" : "239", + "s" : [ { + "value" : [ "successor of " ] + }, { + "r" : "237", + "s" : [ { + "r" : "233", + "value" : [ "DateTime", "(", "2015", ")" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Successor", + "localId" : "239", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "240", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } ], + "operand" : { + "type" : "DateTime", + "localId" : "237", "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "name" : "ym_date", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "243", - "s" : [ { - "value" : [ "","define ","ym_date",": " ] - }, { - "r" : "253", - "s" : [ { - "value" : [ "successor of " ] - }, { - "r" : "250", - "s" : [ { - "r" : "244", - "value" : [ "DateTime","(","2015",",","01",")" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "253", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "Successor", - "signature" : [ { - "localId" : "254", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "250", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "251", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "252", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "244", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2015", - "type" : "Literal" - }, - "month" : { - "localId" : "245", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "01", - "type" : "Literal" - } - } - } - }, { - "localId" : "257", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "238", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "233", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2015", + "annotation" : [ ] + } + } + } + }, { + "localId" : "243", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "name" : "ym_date", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "243", + "s" : [ { + "value" : [ "", "define ", "ym_date", ": " ] + }, { + "r" : "253", + "s" : [ { + "value" : [ "successor of " ] + }, { + "r" : "250", + "s" : [ { + "r" : "244", + "value" : [ "DateTime", "(", "2015", ",", "01", ")" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Successor", + "localId" : "253", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "254", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } ], + "operand" : { + "type" : "DateTime", + "localId" : "250", "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "name" : "ymd_date", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "257", - "s" : [ { - "value" : [ "","define ","ymd_date",": " ] - }, { - "r" : "270", - "s" : [ { - "value" : [ "successor of " ] - }, { - "r" : "266", - "s" : [ { - "r" : "258", - "value" : [ "DateTime","(","2015",",","01",",","01",")" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "270", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "Successor", - "signature" : [ { - "localId" : "271", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "266", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "267", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "268", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "269", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "258", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2015", - "type" : "Literal" - }, - "month" : { - "localId" : "259", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "01", - "type" : "Literal" - }, - "day" : { - "localId" : "260", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "01", - "type" : "Literal" - } - } - } - }, { - "localId" : "274", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "251", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "252", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "244", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2015", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "245", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "01", + "annotation" : [ ] + } + } + } + }, { + "localId" : "257", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "name" : "ymd_date", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "257", + "s" : [ { + "value" : [ "", "define ", "ymd_date", ": " ] + }, { + "r" : "270", + "s" : [ { + "value" : [ "successor of " ] + }, { + "r" : "266", + "s" : [ { + "r" : "258", + "value" : [ "DateTime", "(", "2015", ",", "01", ",", "01", ")" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Successor", + "localId" : "270", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "271", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } ], + "operand" : { + "type" : "DateTime", + "localId" : "266", "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "name" : "ymdh_date", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "274", - "s" : [ { - "value" : [ "","define ","ymdh_date",": " ] - }, { - "r" : "290", - "s" : [ { - "value" : [ "successor of " ] - }, { - "r" : "285", - "s" : [ { - "r" : "275", - "value" : [ "DateTime","(","2015",",","01",",","01",",","0",")" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "290", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "Successor", - "signature" : [ { - "localId" : "291", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "285", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "286", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "287", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "288", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "289", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "275", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2015", - "type" : "Literal" - }, - "month" : { - "localId" : "276", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "01", - "type" : "Literal" - }, - "day" : { - "localId" : "277", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "01", - "type" : "Literal" - }, - "hour" : { - "localId" : "278", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - } - } - }, { - "localId" : "294", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "267", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "268", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "269", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "258", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2015", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "259", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "01", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "260", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "01", + "annotation" : [ ] + } + } + } + }, { + "localId" : "274", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "name" : "ymdh_date", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "274", + "s" : [ { + "value" : [ "", "define ", "ymdh_date", ": " ] + }, { + "r" : "290", + "s" : [ { + "value" : [ "successor of " ] + }, { + "r" : "285", + "s" : [ { + "r" : "275", + "value" : [ "DateTime", "(", "2015", ",", "01", ",", "01", ",", "0", ")" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Successor", + "localId" : "290", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "291", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } ], + "operand" : { + "type" : "DateTime", + "localId" : "285", "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "name" : "ymdhm_date", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "294", - "s" : [ { - "value" : [ "","define ","ymdhm_date",": " ] - }, { - "r" : "313", - "s" : [ { - "value" : [ "successor of " ] - }, { - "r" : "307", - "s" : [ { - "r" : "295", - "value" : [ "DateTime","(","2015",",","01",",","01",",","0",",","0",")" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "313", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "Successor", - "signature" : [ { - "localId" : "314", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "307", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "308", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "309", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "310", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "311", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "312", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "295", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2015", - "type" : "Literal" - }, - "month" : { - "localId" : "296", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "01", - "type" : "Literal" - }, - "day" : { - "localId" : "297", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "01", - "type" : "Literal" - }, - "hour" : { - "localId" : "298", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "299", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - } - } - }, { - "localId" : "317", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "286", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "287", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "288", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "289", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "275", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2015", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "276", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "01", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "277", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "01", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "278", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + } + } + }, { + "localId" : "294", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "name" : "ymdhm_date", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "294", + "s" : [ { + "value" : [ "", "define ", "ymdhm_date", ": " ] + }, { + "r" : "313", + "s" : [ { + "value" : [ "successor of " ] + }, { + "r" : "307", + "s" : [ { + "r" : "295", + "value" : [ "DateTime", "(", "2015", ",", "01", ",", "01", ",", "0", ",", "0", ")" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Successor", + "localId" : "313", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "314", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } ], + "operand" : { + "type" : "DateTime", + "localId" : "307", "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "name" : "ymdhms_date", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "317", - "s" : [ { - "value" : [ "","define ","ymdhms_date",": " ] - }, { - "r" : "339", - "s" : [ { - "value" : [ "successor of " ] - }, { - "r" : "332", - "s" : [ { - "r" : "318", - "value" : [ "DateTime","(","2015",",","01",",","01",",","0",",","0",",","0",")" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "339", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "Successor", - "signature" : [ { - "localId" : "340", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "332", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "333", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "334", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "335", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "336", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "337", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "338", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "318", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2015", - "type" : "Literal" - }, - "month" : { - "localId" : "319", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "01", - "type" : "Literal" - }, - "day" : { - "localId" : "320", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "01", - "type" : "Literal" - }, - "hour" : { - "localId" : "321", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "322", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "323", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - } - } - }, { - "localId" : "343", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "308", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "309", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "310", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "311", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "312", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "295", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2015", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "296", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "01", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "297", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "01", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "298", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "299", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + } + } + }, { + "localId" : "317", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "name" : "ymdhms_date", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "317", + "s" : [ { + "value" : [ "", "define ", "ymdhms_date", ": " ] + }, { + "r" : "339", + "s" : [ { + "value" : [ "successor of " ] + }, { + "r" : "332", + "s" : [ { + "r" : "318", + "value" : [ "DateTime", "(", "2015", ",", "01", ",", "01", ",", "0", ",", "0", ",", "0", ")" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Successor", + "localId" : "339", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "340", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } ], + "operand" : { + "type" : "DateTime", + "localId" : "332", "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "name" : "ymdhmsm_date", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "343", - "s" : [ { - "value" : [ "","define ","ymdhmsm_date",": " ] - }, { - "r" : "368", - "s" : [ { - "value" : [ "successor of " ] - }, { - "r" : "360", - "s" : [ { - "r" : "344", - "value" : [ "DateTime","(","2015",",","01",",","01",",","0",",","0",",","0",",","0",")" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "368", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "Successor", - "signature" : [ { - "localId" : "369", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "360", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "361", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "362", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "363", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "364", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "365", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "366", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "367", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "344", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2015", - "type" : "Literal" - }, - "month" : { - "localId" : "345", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "01", - "type" : "Literal" - }, - "day" : { - "localId" : "346", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "01", - "type" : "Literal" - }, - "hour" : { - "localId" : "347", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "348", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "349", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "350", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - } - } - }, { - "localId" : "372", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "333", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "334", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "335", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "336", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "337", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "338", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "318", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2015", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "319", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "01", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "320", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "01", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "321", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "322", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "323", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + } + } + }, { + "localId" : "343", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "name" : "ymdhmsm_date", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "343", + "s" : [ { + "value" : [ "", "define ", "ymdhmsm_date", ": " ] + }, { + "r" : "368", + "s" : [ { + "value" : [ "successor of " ] + }, { + "r" : "360", + "s" : [ { + "r" : "344", + "value" : [ "DateTime", "(", "2015", ",", "01", ",", "01", ",", "0", ",", "0", ",", "0", ",", "0", ")" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Successor", + "localId" : "368", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "369", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } ], + "operand" : { + "type" : "DateTime", + "localId" : "360", "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "name" : "max_date", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "372", - "s" : [ { - "value" : [ "","define ","max_date",": " ] - }, { - "r" : "397", - "s" : [ { - "value" : [ "successor of " ] - }, { - "r" : "389", - "s" : [ { - "r" : "373", - "value" : [ "DateTime","(","9999",",","12",",","31",",","23",",","59",",","59",",","999",")" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "397", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "Successor", - "signature" : [ { - "localId" : "398", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "389", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "390", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "391", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "392", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "393", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "394", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "395", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "396", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "373", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "9999", - "type" : "Literal" - }, - "month" : { - "localId" : "374", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "12", - "type" : "Literal" - }, - "day" : { - "localId" : "375", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "31", - "type" : "Literal" - }, - "hour" : { - "localId" : "376", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "23", - "type" : "Literal" - }, - "minute" : { - "localId" : "377", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal" - }, - "second" : { - "localId" : "378", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "379", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "999", - "type" : "Literal" - } - } - } - } ] - } - } + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "361", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "362", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "363", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "364", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "365", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "366", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "367", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "344", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2015", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "345", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "01", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "346", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "01", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "347", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "348", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "349", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "350", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + } + } + }, { + "localId" : "372", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "name" : "max_date", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "372", + "s" : [ { + "value" : [ "", "define ", "max_date", ": " ] + }, { + "r" : "397", + "s" : [ { + "value" : [ "successor of " ] + }, { + "r" : "389", + "s" : [ { + "r" : "373", + "value" : [ "DateTime", "(", "9999", ",", "12", ",", "31", ",", "23", ",", "59", ",", "59", ",", "999", ")" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Successor", + "localId" : "397", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "398", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } ], + "operand" : { + "type" : "DateTime", + "localId" : "389", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "390", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "391", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "392", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "393", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "394", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "395", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "396", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "373", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "9999", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "374", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "12", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "375", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "31", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "376", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "23", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "377", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "59", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "378", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "59", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "379", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "999", + "annotation" : [ ] + } + } + } + } ] + } + } } /* Predecessor @@ -6958,935 +7741,1058 @@ define min_date: predecessor of DateTime(0001,01,01,0,0,0,0) */ module.exports['Predecessor'] = { - "library" : { - "localId" : "0", - "annotation" : [ { - "translatorVersion" : "3.27.0", - "translatorOptions" : "EnableDateRangeOptimization,EnableAnnotations,EnableResultTypes", - "signatureLevel" : "All", - "type" : "CqlToElmInfo" - }, { - "type" : "Annotation", - "s" : { - "r" : "374", + "library" : { + "localId" : "0", + "annotation" : [ { + "type" : "CqlToElmInfo", + "translatorVersion" : "4.2.0", + "translatorOptions" : "EnableDateRangeOptimization,EnableAnnotations,EnableResultTypes", + "signatureLevel" : "All" + }, { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "374", + "s" : [ { + "value" : [ "", "library TestSnippet version '1'" ] + } ] + } + } ], + "identifier" : { + "id" : "TestSnippet", + "version" : "1" + }, + "schemaIdentifier" : { + "id" : "urn:hl7-org:elm", + "version" : "r1" + }, + "usings" : { + "def" : [ { + "localId" : "1", + "localIdentifier" : "System", + "uri" : "urn:hl7-org:elm-types:r1", + "annotation" : [ ] + }, { + "localId" : "206", + "localIdentifier" : "Simple", + "uri" : "https://github.com/cqframework/cql-execution/simple", + "version" : "1.0.0", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "206", "s" : [ { - "value" : [ "","library TestSnippet version '1'" ] - } ] - } - } ], - "identifier" : { - "id" : "TestSnippet", - "version" : "1" - }, - "schemaIdentifier" : { - "id" : "urn:hl7-org:elm", - "version" : "r1" - }, - "usings" : { - "def" : [ { - "localId" : "1", - "localIdentifier" : "System", - "uri" : "urn:hl7-org:elm-types:r1" - }, { - "localId" : "206", - "localIdentifier" : "Simple", - "uri" : "https://github.com/cqframework/cql-execution/simple", - "version" : "1.0.0", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "206", - "s" : [ { - "value" : [ "","using " ] - }, { - "s" : [ { - "value" : [ "Simple" ] - } ] - }, { - "value" : [ " version '1.0.0'" ] - } ] - } - } ] - } ] - }, - "contexts" : { - "def" : [ { - "localId" : "211", - "name" : "Patient" - } ] - }, - "statements" : { - "def" : [ { - "localId" : "209", - "name" : "Patient", - "context" : "Patient", - "expression" : { - "localId" : "210", - "type" : "SingletonFrom", - "signature" : [ ], - "operand" : { - "localId" : "208", - "dataType" : "{https://github.com/cqframework/cql-execution/simple}Patient", - "type" : "Retrieve", - "include" : [ ], - "codeFilter" : [ ], - "dateFilter" : [ ], - "otherFilter" : [ ] - } - } - }, { - "localId" : "214", + "value" : [ "", "using " ] + }, { + "s" : [ { + "value" : [ "Simple" ] + } ] + }, { + "value" : [ " version '1.0.0'" ] + } ] + } + } ] + } ] + }, + "contexts" : { + "def" : [ { + "localId" : "211", + "name" : "Patient", + "annotation" : [ ] + } ] + }, + "statements" : { + "def" : [ { + "localId" : "209", + "name" : "Patient", + "context" : "Patient", + "annotation" : [ ], + "expression" : { + "type" : "SingletonFrom", + "localId" : "210", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Retrieve", + "localId" : "208", + "dataType" : "{https://github.com/cqframework/cql-execution/simple}Patient", + "annotation" : [ ], + "include" : [ ], + "codeFilter" : [ ], + "dateFilter" : [ ], + "otherFilter" : [ ] + } + } + }, { + "localId" : "214", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "name" : "Is", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "214", + "s" : [ { + "value" : [ "", "define ", "Is", ": " ] + }, { + "r" : "216", + "s" : [ { + "r" : "215", + "value" : [ "predecessor of ", "2" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Predecessor", + "localId" : "216", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "217", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "operand" : { + "type" : "Literal", + "localId" : "215", "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "name" : "Is", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "214", - "s" : [ { - "value" : [ "","define ","Is",": " ] - }, { - "r" : "216", - "s" : [ { - "r" : "215", - "value" : [ "predecessor of ","2" ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "216", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "Predecessor", - "signature" : [ { - "localId" : "217", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "215", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal" - } - } - }, { - "localId" : "220", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "annotation" : [ ] + } + } + }, { + "localId" : "220", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "name" : "Rs", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "220", + "s" : [ { + "value" : [ "", "define ", "Rs", ": " ] + }, { + "r" : "222", + "s" : [ { + "r" : "221", + "value" : [ "predecessor of ", "2.2" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Predecessor", + "localId" : "222", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "223", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } ], + "operand" : { + "type" : "Literal", + "localId" : "221", "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "name" : "Rs", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "220", - "s" : [ { - "value" : [ "","define ","Rs",": " ] - }, { - "r" : "222", - "s" : [ { - "r" : "221", - "value" : [ "predecessor of ","2.2" ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "222", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "Predecessor", - "signature" : [ { - "localId" : "223", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "221", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "2.2", - "type" : "Literal" - } - } - }, { - "localId" : "226", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "2.2", + "annotation" : [ ] + } + } + }, { + "localId" : "226", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "name" : "ufr", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "226", + "s" : [ { + "value" : [ "", "define ", "ufr", ": " ] + }, { + "r" : "230", + "s" : [ { + "value" : [ "predecessor of " ] + }, { + "r" : "227", + "s" : [ { + "r" : "228", + "value" : [ "-", "2147483648" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Predecessor", + "localId" : "230", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "231", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "operand" : { + "type" : "Negate", + "localId" : "227", "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "name" : "ufr", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "226", - "s" : [ { - "value" : [ "","define ","ufr",": " ] - }, { - "r" : "230", - "s" : [ { - "value" : [ "predecessor of " ] - }, { - "r" : "227", - "s" : [ { - "r" : "228", - "value" : [ "-","2147483648" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "230", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "Predecessor", - "signature" : [ { - "localId" : "231", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "227", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "Negate", - "signature" : [ { - "localId" : "229", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "228", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2147483648", - "type" : "Literal" - } - } - } - }, { - "localId" : "234", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "229", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "operand" : { + "type" : "Literal", + "localId" : "228", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2147483648", + "annotation" : [ ] + } + } + } + }, { + "localId" : "234", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "name" : "y_date", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "234", + "s" : [ { + "value" : [ "", "define ", "y_date", ": " ] + }, { + "r" : "241", + "s" : [ { + "value" : [ "predecessor of " ] + }, { + "r" : "239", + "s" : [ { + "r" : "235", + "value" : [ "DateTime", "(", "2015", ")" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Predecessor", + "localId" : "241", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "242", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } ], + "operand" : { + "type" : "DateTime", + "localId" : "239", "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "name" : "y_date", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "234", - "s" : [ { - "value" : [ "","define ","y_date",": " ] - }, { - "r" : "241", - "s" : [ { - "value" : [ "predecessor of " ] - }, { - "r" : "239", - "s" : [ { - "r" : "235", - "value" : [ "DateTime","(","2015",")" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "241", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "Predecessor", - "signature" : [ { - "localId" : "242", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "239", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "240", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "235", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2015", - "type" : "Literal" - } - } - } - }, { - "localId" : "245", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "240", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "235", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2015", + "annotation" : [ ] + } + } + } + }, { + "localId" : "245", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "name" : "ym_date", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "245", + "s" : [ { + "value" : [ "", "define ", "ym_date", ": " ] + }, { + "r" : "255", + "s" : [ { + "value" : [ "predecessor of " ] + }, { + "r" : "252", + "s" : [ { + "r" : "246", + "value" : [ "DateTime", "(", "2015", ",", "01", ")" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Predecessor", + "localId" : "255", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "256", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } ], + "operand" : { + "type" : "DateTime", + "localId" : "252", "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "name" : "ym_date", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "245", - "s" : [ { - "value" : [ "","define ","ym_date",": " ] - }, { - "r" : "255", - "s" : [ { - "value" : [ "predecessor of " ] - }, { - "r" : "252", - "s" : [ { - "r" : "246", - "value" : [ "DateTime","(","2015",",","01",")" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "255", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "Predecessor", - "signature" : [ { - "localId" : "256", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "252", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "253", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "254", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "246", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2015", - "type" : "Literal" - }, - "month" : { - "localId" : "247", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "01", - "type" : "Literal" - } - } - } - }, { - "localId" : "259", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "253", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "254", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "246", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2015", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "247", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "01", + "annotation" : [ ] + } + } + } + }, { + "localId" : "259", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "name" : "ymd_date", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "259", + "s" : [ { + "value" : [ "", "define ", "ymd_date", ": " ] + }, { + "r" : "272", + "s" : [ { + "value" : [ "predecessor of " ] + }, { + "r" : "268", + "s" : [ { + "r" : "260", + "value" : [ "DateTime", "(", "2015", ",", "01", ",", "01", ")" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Predecessor", + "localId" : "272", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "273", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } ], + "operand" : { + "type" : "DateTime", + "localId" : "268", "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "name" : "ymd_date", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "259", - "s" : [ { - "value" : [ "","define ","ymd_date",": " ] - }, { - "r" : "272", - "s" : [ { - "value" : [ "predecessor of " ] - }, { - "r" : "268", - "s" : [ { - "r" : "260", - "value" : [ "DateTime","(","2015",",","01",",","01",")" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "272", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "Predecessor", - "signature" : [ { - "localId" : "273", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "268", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "269", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "270", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "271", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "260", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2015", - "type" : "Literal" - }, - "month" : { - "localId" : "261", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "01", - "type" : "Literal" - }, - "day" : { - "localId" : "262", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "01", - "type" : "Literal" - } - } - } - }, { - "localId" : "276", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "269", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "270", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "271", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "260", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2015", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "261", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "01", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "262", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "01", + "annotation" : [ ] + } + } + } + }, { + "localId" : "276", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "name" : "ymdh_date", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "276", + "s" : [ { + "value" : [ "", "define ", "ymdh_date", ": " ] + }, { + "r" : "292", + "s" : [ { + "value" : [ "predecessor of " ] + }, { + "r" : "287", + "s" : [ { + "r" : "277", + "value" : [ "DateTime", "(", "2015", ",", "01", ",", "01", ",", "0", ")" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Predecessor", + "localId" : "292", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "293", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } ], + "operand" : { + "type" : "DateTime", + "localId" : "287", "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "name" : "ymdh_date", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "276", - "s" : [ { - "value" : [ "","define ","ymdh_date",": " ] - }, { - "r" : "292", - "s" : [ { - "value" : [ "predecessor of " ] - }, { - "r" : "287", - "s" : [ { - "r" : "277", - "value" : [ "DateTime","(","2015",",","01",",","01",",","0",")" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "292", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "Predecessor", - "signature" : [ { - "localId" : "293", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "287", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "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" - }, { - "localId" : "290", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "291", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "277", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2015", - "type" : "Literal" - }, - "month" : { - "localId" : "278", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "01", - "type" : "Literal" - }, - "day" : { - "localId" : "279", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "01", - "type" : "Literal" - }, - "hour" : { - "localId" : "280", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - } - } - }, { - "localId" : "296", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "288", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "289", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "290", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "291", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "277", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2015", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "278", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "01", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "279", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "01", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "280", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + } + } + }, { + "localId" : "296", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "name" : "ymdhm_date", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "296", + "s" : [ { + "value" : [ "", "define ", "ymdhm_date", ": " ] + }, { + "r" : "315", + "s" : [ { + "value" : [ "predecessor of " ] + }, { + "r" : "309", + "s" : [ { + "r" : "297", + "value" : [ "DateTime", "(", "2015", ",", "01", ",", "01", ",", "0", ",", "0", ")" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Predecessor", + "localId" : "315", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "316", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } ], + "operand" : { + "type" : "DateTime", + "localId" : "309", "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "name" : "ymdhm_date", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "296", - "s" : [ { - "value" : [ "","define ","ymdhm_date",": " ] - }, { - "r" : "315", - "s" : [ { - "value" : [ "predecessor of " ] - }, { - "r" : "309", - "s" : [ { - "r" : "297", - "value" : [ "DateTime","(","2015",",","01",",","01",",","0",",","0",")" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "315", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "Predecessor", - "signature" : [ { - "localId" : "316", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "309", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "310", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "311", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "312", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "313", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "314", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "297", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2015", - "type" : "Literal" - }, - "month" : { - "localId" : "298", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "01", - "type" : "Literal" - }, - "day" : { - "localId" : "299", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "01", - "type" : "Literal" - }, - "hour" : { - "localId" : "300", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "301", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - } - } - }, { - "localId" : "319", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "310", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "311", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "312", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "313", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "314", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "297", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2015", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "298", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "01", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "299", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "01", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "300", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "301", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + } + } + }, { + "localId" : "319", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "name" : "ymdhms_date", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "319", + "s" : [ { + "value" : [ "", "define ", "ymdhms_date", ": " ] + }, { + "r" : "341", + "s" : [ { + "value" : [ "predecessor of " ] + }, { + "r" : "334", + "s" : [ { + "r" : "320", + "value" : [ "DateTime", "(", "2015", ",", "01", ",", "01", ",", "0", ",", "0", ",", "0", ")" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Predecessor", + "localId" : "341", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "342", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } ], + "operand" : { + "type" : "DateTime", + "localId" : "334", "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "name" : "ymdhms_date", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "319", - "s" : [ { - "value" : [ "","define ","ymdhms_date",": " ] - }, { - "r" : "341", - "s" : [ { - "value" : [ "predecessor of " ] - }, { - "r" : "334", - "s" : [ { - "r" : "320", - "value" : [ "DateTime","(","2015",",","01",",","01",",","0",",","0",",","0",")" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "341", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "Predecessor", - "signature" : [ { - "localId" : "342", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "334", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "335", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "336", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "337", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "338", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "339", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "340", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "320", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2015", - "type" : "Literal" - }, - "month" : { - "localId" : "321", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "01", - "type" : "Literal" - }, - "day" : { - "localId" : "322", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "01", - "type" : "Literal" - }, - "hour" : { - "localId" : "323", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "324", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "325", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - } - } - }, { - "localId" : "345", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "335", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "336", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "337", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "338", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "339", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "340", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "320", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2015", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "321", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "01", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "322", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "01", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "323", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "324", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "325", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + } + } + }, { + "localId" : "345", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "name" : "ymdhmsm_date", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "345", + "s" : [ { + "value" : [ "", "define ", "ymdhmsm_date", ": " ] + }, { + "r" : "370", + "s" : [ { + "value" : [ "predecessor of " ] + }, { + "r" : "362", + "s" : [ { + "r" : "346", + "value" : [ "DateTime", "(", "2015", ",", "01", ",", "01", ",", "0", ",", "0", ",", "0", ",", "0", ")" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Predecessor", + "localId" : "370", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "371", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } ], + "operand" : { + "type" : "DateTime", + "localId" : "362", "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "name" : "ymdhmsm_date", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "345", - "s" : [ { - "value" : [ "","define ","ymdhmsm_date",": " ] - }, { - "r" : "370", - "s" : [ { - "value" : [ "predecessor of " ] - }, { - "r" : "362", - "s" : [ { - "r" : "346", - "value" : [ "DateTime","(","2015",",","01",",","01",",","0",",","0",",","0",",","0",")" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "370", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "Predecessor", - "signature" : [ { - "localId" : "371", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "362", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "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" - }, { - "localId" : "365", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "366", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "367", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "368", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "369", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "346", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2015", - "type" : "Literal" - }, - "month" : { - "localId" : "347", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "01", - "type" : "Literal" - }, - "day" : { - "localId" : "348", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "01", - "type" : "Literal" - }, - "hour" : { - "localId" : "349", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "350", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "351", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "352", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - } - } - }, { - "localId" : "374", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "363", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "364", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "365", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "366", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "367", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "368", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "369", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "346", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2015", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "347", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "01", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "348", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "01", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "349", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "350", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "351", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "352", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + } + } + }, { + "localId" : "374", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "name" : "min_date", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "374", + "s" : [ { + "value" : [ "", "define ", "min_date", ": " ] + }, { + "r" : "399", + "s" : [ { + "value" : [ "predecessor of " ] + }, { + "r" : "391", + "s" : [ { + "r" : "375", + "value" : [ "DateTime", "(", "0001", ",", "01", ",", "01", ",", "0", ",", "0", ",", "0", ",", "0", ")" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Predecessor", + "localId" : "399", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "400", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } ], + "operand" : { + "type" : "DateTime", + "localId" : "391", "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "name" : "min_date", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "374", - "s" : [ { - "value" : [ "","define ","min_date",": " ] - }, { - "r" : "399", - "s" : [ { - "value" : [ "predecessor of " ] - }, { - "r" : "391", - "s" : [ { - "r" : "375", - "value" : [ "DateTime","(","0001",",","01",",","01",",","0",",","0",",","0",",","0",")" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "399", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "Predecessor", - "signature" : [ { - "localId" : "400", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "391", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "392", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "393", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "394", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "395", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "396", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "397", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "398", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "375", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0001", - "type" : "Literal" - }, - "month" : { - "localId" : "376", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "01", - "type" : "Literal" - }, - "day" : { - "localId" : "377", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "01", - "type" : "Literal" - }, - "hour" : { - "localId" : "378", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "379", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "380", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "381", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - } - } - } ] - } - } + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "392", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "393", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "394", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "395", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "396", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "397", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "398", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "375", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0001", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "376", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "01", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "377", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "01", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "378", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "379", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "380", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "381", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + } + } + } ] + } + } } /* Quantity @@ -7919,1458 +8825,1613 @@ define SubtractUcum: (25 'km' - 5 'm') = 24995 'm' */ module.exports['Quantity'] = { - "library" : { - "localId" : "0", - "annotation" : [ { - "translatorVersion" : "3.27.0", - "translatorOptions" : "EnableDateRangeOptimization,EnableAnnotations,EnableResultTypes", - "signatureLevel" : "All", - "type" : "CqlToElmInfo" - }, { - "type" : "Annotation", - "s" : { - "r" : "411", + "library" : { + "localId" : "0", + "annotation" : [ { + "type" : "CqlToElmInfo", + "translatorVersion" : "4.2.0", + "translatorOptions" : "EnableDateRangeOptimization,EnableAnnotations,EnableResultTypes", + "signatureLevel" : "All" + }, { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "411", + "s" : [ { + "value" : [ "", "library TestSnippet version '1'" ] + } ] + } + } ], + "identifier" : { + "id" : "TestSnippet", + "version" : "1" + }, + "schemaIdentifier" : { + "id" : "urn:hl7-org:elm", + "version" : "r1" + }, + "usings" : { + "def" : [ { + "localId" : "1", + "localIdentifier" : "System", + "uri" : "urn:hl7-org:elm-types:r1", + "annotation" : [ ] + }, { + "localId" : "206", + "localIdentifier" : "Simple", + "uri" : "https://github.com/cqframework/cql-execution/simple", + "version" : "1.0.0", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "206", + "s" : [ { + "value" : [ "", "using " ] + }, { + "s" : [ { + "value" : [ "Simple" ] + } ] + }, { + "value" : [ " version '1.0.0'" ] + } ] + } + } ] + } ] + }, + "contexts" : { + "def" : [ { + "localId" : "211", + "name" : "Patient", + "annotation" : [ ] + } ] + }, + "statements" : { + "def" : [ { + "localId" : "209", + "name" : "Patient", + "context" : "Patient", + "annotation" : [ ], + "expression" : { + "type" : "SingletonFrom", + "localId" : "210", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Retrieve", + "localId" : "208", + "dataType" : "{https://github.com/cqframework/cql-execution/simple}Patient", + "annotation" : [ ], + "include" : [ ], + "codeFilter" : [ ], + "dateFilter" : [ ], + "otherFilter" : [ ] + } + } + }, { + "localId" : "214", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "name" : "days_10", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "214", + "s" : [ { + "value" : [ "", "define ", "days_10", ": " ] + }, { + "r" : "215", + "s" : [ { + "value" : [ "10 ", "days" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Quantity", + "localId" : "215", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "value" : 10, + "unit" : "days", + "annotation" : [ ] + } + }, { + "localId" : "218", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "name" : "QL10Days", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "218", + "s" : [ { + "value" : [ "", "define ", "QL10Days", ": " ] + }, { + "r" : "219", + "s" : [ { + "value" : [ "Quantity", "{" ] + }, { + "s" : [ { + "r" : "221", + "value" : [ "value", ": ", "10" ] + } ] + }, { + "value" : [ ", " ] + }, { + "s" : [ { + "value" : [ "unit", ": " ] + }, { + "r" : "225", + "s" : [ { + "value" : [ "'days'" ] + } ] + } ] + }, { + "value" : [ "}" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Instance", + "localId" : "219", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "classType" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ], + "element" : [ { + "name" : "value", + "value" : { + "type" : "ToDecimal", + "localId" : "223", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "224", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "operand" : { + "type" : "Literal", + "localId" : "221", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "10", + "annotation" : [ ] + } + } + }, { + "name" : "unit", + "value" : { + "type" : "Literal", + "localId" : "225", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "days", + "annotation" : [ ] + } + } ] + } + }, { + "localId" : "229", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "name" : "QL10Min", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "229", "s" : [ { - "value" : [ "","library TestSnippet version '1'" ] - } ] - } - } ], - "identifier" : { - "id" : "TestSnippet", - "version" : "1" - }, - "schemaIdentifier" : { - "id" : "urn:hl7-org:elm", - "version" : "r1" - }, - "usings" : { - "def" : [ { - "localId" : "1", - "localIdentifier" : "System", - "uri" : "urn:hl7-org:elm-types:r1" - }, { - "localId" : "206", - "localIdentifier" : "Simple", - "uri" : "https://github.com/cqframework/cql-execution/simple", - "version" : "1.0.0", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "206", + "value" : [ "", "define ", "QL10Min", " : " ] + }, { + "r" : "230", + "s" : [ { + "value" : [ "Quantity", "{" ] + }, { + "s" : [ { + "r" : "232", + "value" : [ "value", ": ", "10" ] + } ] + }, { + "value" : [ ", " ] + }, { + "s" : [ { + "value" : [ "unit", ": " ] + }, { + "r" : "236", "s" : [ { - "value" : [ "","using " ] - }, { - "s" : [ { - "value" : [ "Simple" ] - } ] - }, { - "value" : [ " version '1.0.0'" ] + "value" : [ "'min'" ] } ] - } - } ] - } ] - }, - "contexts" : { - "def" : [ { - "localId" : "211", - "name" : "Patient" - } ] - }, - "statements" : { - "def" : [ { - "localId" : "209", - "name" : "Patient", - "context" : "Patient", - "expression" : { - "localId" : "210", - "type" : "SingletonFrom", - "signature" : [ ], - "operand" : { - "localId" : "208", - "dataType" : "{https://github.com/cqframework/cql-execution/simple}Patient", - "type" : "Retrieve", - "include" : [ ], - "codeFilter" : [ ], - "dateFilter" : [ ], - "otherFilter" : [ ] - } - } - }, { - "localId" : "214", + } ] + }, { + "value" : [ " }" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Instance", + "localId" : "230", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "classType" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ], + "element" : [ { + "name" : "value", + "value" : { + "type" : "ToDecimal", + "localId" : "234", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "235", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "operand" : { + "type" : "Literal", + "localId" : "232", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "10", + "annotation" : [ ] + } + } + }, { + "name" : "unit", + "value" : { + "type" : "Literal", + "localId" : "236", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "min", + "annotation" : [ ] + } + } ] + } + }, { + "localId" : "240", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "name" : "Jan1_2000", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "240", + "s" : [ { + "value" : [ "", "define ", "Jan1_2000", ": " ] + }, { + "r" : "249", + "s" : [ { + "r" : "241", + "value" : [ "DateTime", "(", "2000", ", ", "1", ", ", "1", ")" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "DateTime", + "localId" : "249", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "250", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "251", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "252", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "241", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "242", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "243", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + } + } + }, { + "localId" : "255", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "name" : "add_q_q", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "255", + "s" : [ { + "value" : [ "", "define ", "add_q_q", " : " ] + }, { + "r" : "256", + "s" : [ { + "r" : "257", + "s" : [ { + "value" : [ "days_10" ] + } ] + }, { + "value" : [ " + " ] + }, { + "r" : "258", + "s" : [ { + "value" : [ "QL10Days" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Add", + "localId" : "256", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "259", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "260", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "ExpressionRef", + "localId" : "257", "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", "name" : "days_10", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "214", - "s" : [ { - "value" : [ "","define ","days_10",": " ] - }, { - "r" : "215", - "s" : [ { - "value" : [ "10 ","days" ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "215", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "value" : 10, - "unit" : "days", - "type" : "Quantity" - } - }, { - "localId" : "218", + "annotation" : [ ] + }, { + "type" : "ExpressionRef", + "localId" : "258", "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", "name" : "QL10Days", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "218", - "s" : [ { - "value" : [ "","define ","QL10Days",": " ] - }, { - "r" : "219", - "s" : [ { - "value" : [ "Quantity","{" ] - }, { - "s" : [ { - "r" : "221", - "value" : [ "value",": ","10" ] - } ] - }, { - "value" : [ ", " ] - }, { - "s" : [ { - "value" : [ "unit",": " ] - }, { - "r" : "225", - "s" : [ { - "value" : [ "'days'" ] - } ] - } ] - }, { - "value" : [ "}" ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "219", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "classType" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "Instance", - "element" : [ { - "name" : "value", - "value" : { - "localId" : "223", - "type" : "ToDecimal", - "signature" : [ { - "localId" : "224", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "221", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal" - } - } - }, { - "name" : "unit", - "value" : { - "localId" : "225", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "days", - "type" : "Literal" - } - } ] - } - }, { - "localId" : "229", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "name" : "QL10Min", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "229", - "s" : [ { - "value" : [ "","define ","QL10Min"," : " ] - }, { - "r" : "230", - "s" : [ { - "value" : [ "Quantity","{" ] - }, { - "s" : [ { - "r" : "232", - "value" : [ "value",": ","10" ] - } ] - }, { - "value" : [ ", " ] - }, { - "s" : [ { - "value" : [ "unit",": " ] - }, { - "r" : "236", - "s" : [ { - "value" : [ "'min'" ] - } ] - } ] - }, { - "value" : [ " }" ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "230", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "classType" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "Instance", - "element" : [ { - "name" : "value", - "value" : { - "localId" : "234", - "type" : "ToDecimal", - "signature" : [ { - "localId" : "235", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "232", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal" - } - } - }, { - "name" : "unit", - "value" : { - "localId" : "236", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "min", - "type" : "Literal" - } - } ] - } - }, { - "localId" : "240", + "annotation" : [ ] + } ] + } + }, { + "localId" : "263", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "name" : "add_d_q", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "263", + "s" : [ { + "value" : [ "", "define ", "add_d_q", " : " ] + }, { + "r" : "264", + "s" : [ { + "r" : "265", + "s" : [ { + "value" : [ "Jan1_2000" ] + } ] + }, { + "value" : [ " + " ] + }, { + "r" : "266", + "s" : [ { + "value" : [ "days_10" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Add", + "localId" : "264", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "267", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "268", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "ExpressionRef", + "localId" : "265", "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", "name" : "Jan1_2000", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "240", - "s" : [ { - "value" : [ "","define ","Jan1_2000",": " ] - }, { - "r" : "249", - "s" : [ { - "r" : "241", - "value" : [ "DateTime","(","2000",", ","1",", ","1",")" ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "249", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "250", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "251", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "252", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "241", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "242", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "243", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - } - } - }, { - "localId" : "255", + "annotation" : [ ] + }, { + "type" : "ExpressionRef", + "localId" : "266", "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "name" : "add_q_q", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "255", - "s" : [ { - "value" : [ "","define ","add_q_q"," : " ] - }, { - "r" : "256", - "s" : [ { - "r" : "257", - "s" : [ { - "value" : [ "days_10" ] - } ] - }, { - "value" : [ " + " ] - }, { - "r" : "258", - "s" : [ { - "value" : [ "QL10Days" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "256", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "Add", - "signature" : [ { - "localId" : "259", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "260", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "257", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "name" : "days_10", - "type" : "ExpressionRef" - }, { - "localId" : "258", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "name" : "QL10Days", - "type" : "ExpressionRef" - } ] - } - }, { - "localId" : "263", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "name" : "add_d_q", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "263", - "s" : [ { - "value" : [ "","define ","add_d_q"," : " ] - }, { - "r" : "264", - "s" : [ { - "r" : "265", - "s" : [ { - "value" : [ "Jan1_2000" ] - } ] - }, { - "value" : [ " + " ] - }, { - "r" : "266", - "s" : [ { - "value" : [ "days_10" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "264", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "Add", - "signature" : [ { - "localId" : "267", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "268", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "265", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "name" : "Jan1_2000", - "type" : "ExpressionRef" - }, { - "localId" : "266", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "name" : "days_10", - "type" : "ExpressionRef" - } ] - } - }, { - "localId" : "271", + "name" : "days_10", + "annotation" : [ ] + } ] + } + }, { + "localId" : "271", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "name" : "sub_q_q", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "271", + "s" : [ { + "value" : [ "", "define ", "sub_q_q", " : " ] + }, { + "r" : "272", + "s" : [ { + "r" : "273", + "s" : [ { + "value" : [ "days_10" ] + } ] + }, { + "value" : [ " - " ] + }, { + "r" : "274", + "s" : [ { + "value" : [ "QL10Days" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Subtract", + "localId" : "272", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "275", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "276", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "ExpressionRef", + "localId" : "273", "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "name" : "sub_q_q", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "271", - "s" : [ { - "value" : [ "","define ","sub_q_q"," : " ] - }, { - "r" : "272", - "s" : [ { - "r" : "273", - "s" : [ { - "value" : [ "days_10" ] - } ] - }, { - "value" : [ " - " ] - }, { - "r" : "274", - "s" : [ { - "value" : [ "QL10Days" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "272", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "Subtract", - "signature" : [ { - "localId" : "275", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "276", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "273", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "name" : "days_10", - "type" : "ExpressionRef" - }, { - "localId" : "274", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "name" : "QL10Days", - "type" : "ExpressionRef" - } ] - } - }, { - "localId" : "279", + "name" : "days_10", + "annotation" : [ ] + }, { + "type" : "ExpressionRef", + "localId" : "274", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "name" : "QL10Days", + "annotation" : [ ] + } ] + } + }, { + "localId" : "279", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "name" : "sub_d_q", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "279", + "s" : [ { + "value" : [ "", "define ", "sub_d_q", " : " ] + }, { + "r" : "280", + "s" : [ { + "r" : "281", + "s" : [ { + "value" : [ "Jan1_2000" ] + } ] + }, { + "value" : [ " - " ] + }, { + "r" : "282", + "s" : [ { + "value" : [ "days_10" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Subtract", + "localId" : "280", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "283", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "284", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "ExpressionRef", + "localId" : "281", "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "name" : "sub_d_q", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "279", - "s" : [ { - "value" : [ "","define ","sub_d_q"," : " ] - }, { - "r" : "280", - "s" : [ { - "r" : "281", - "s" : [ { - "value" : [ "Jan1_2000" ] - } ] - }, { - "value" : [ " - " ] - }, { - "r" : "282", - "s" : [ { - "value" : [ "days_10" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "280", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "Subtract", - "signature" : [ { - "localId" : "283", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "284", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "281", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "name" : "Jan1_2000", - "type" : "ExpressionRef" - }, { - "localId" : "282", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "name" : "days_10", - "type" : "ExpressionRef" - } ] - } - }, { - "localId" : "287", + "name" : "Jan1_2000", + "annotation" : [ ] + }, { + "type" : "ExpressionRef", + "localId" : "282", "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "name" : "add_q_q_diff", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "287", - "s" : [ { - "value" : [ "","define ","add_q_q_diff"," : " ] - }, { - "r" : "288", - "s" : [ { - "r" : "289", - "s" : [ { - "value" : [ "QL10Days" ] - } ] - }, { - "value" : [ " + " ] - }, { - "r" : "290", - "s" : [ { - "value" : [ "QL10Min" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "288", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "Add", - "signature" : [ { - "localId" : "291", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "292", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "289", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "name" : "QL10Days", - "type" : "ExpressionRef" - }, { - "localId" : "290", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "name" : "QL10Min", - "type" : "ExpressionRef" - } ] - } - }, { - "localId" : "295", + "name" : "days_10", + "annotation" : [ ] + } ] + } + }, { + "localId" : "287", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "name" : "add_q_q_diff", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "287", + "s" : [ { + "value" : [ "", "define ", "add_q_q_diff", " : " ] + }, { + "r" : "288", + "s" : [ { + "r" : "289", + "s" : [ { + "value" : [ "QL10Days" ] + } ] + }, { + "value" : [ " + " ] + }, { + "r" : "290", + "s" : [ { + "value" : [ "QL10Min" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Add", + "localId" : "288", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "291", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "292", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "ExpressionRef", + "localId" : "289", "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "name" : "sub_q_q_diff", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "295", - "s" : [ { - "value" : [ "","define ","sub_q_q_diff"," : " ] - }, { - "r" : "296", - "s" : [ { - "r" : "297", - "s" : [ { - "value" : [ "QL10Days" ] - } ] - }, { - "value" : [ " - " ] - }, { - "r" : "298", - "s" : [ { - "value" : [ "QL10Min" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "296", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "Subtract", - "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", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "name" : "QL10Days", - "type" : "ExpressionRef" - }, { - "localId" : "298", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "name" : "QL10Min", - "type" : "ExpressionRef" - } ] - } - }, { - "localId" : "303", + "name" : "QL10Days", + "annotation" : [ ] + }, { + "type" : "ExpressionRef", + "localId" : "290", "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "name" : "div_q_d", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "303", - "s" : [ { - "value" : [ "","define ","div_q_d"," : " ] - }, { - "r" : "304", - "s" : [ { - "r" : "305", - "s" : [ { - "value" : [ "days_10" ] - } ] - }, { - "r" : "306", - "value" : [ " / ","2" ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "304", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "Divide", - "signature" : [ { - "localId" : "310", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "311", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "305", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "name" : "days_10", - "type" : "ExpressionRef" - }, { - "localId" : "308", - "type" : "ToQuantity", - "signature" : [ { - "localId" : "309", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "306", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal" - } - } ] - } - }, { - "localId" : "314", + "name" : "QL10Min", + "annotation" : [ ] + } ] + } + }, { + "localId" : "295", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "name" : "sub_q_q_diff", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "295", + "s" : [ { + "value" : [ "", "define ", "sub_q_q_diff", " : " ] + }, { + "r" : "296", + "s" : [ { + "r" : "297", + "s" : [ { + "value" : [ "QL10Days" ] + } ] + }, { + "value" : [ " - " ] + }, { + "r" : "298", + "s" : [ { + "value" : [ "QL10Min" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Subtract", + "localId" : "296", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "299", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "300", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "ExpressionRef", + "localId" : "297", "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "name" : "div_q_q", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "314", - "s" : [ { - "value" : [ "","define ","div_q_q"," : " ] - }, { - "r" : "315", - "s" : [ { - "r" : "316", - "s" : [ { - "value" : [ "days_10" ] - } ] - }, { - "value" : [ " / " ] - }, { - "r" : "317", - "s" : [ { - "value" : [ "QL10Days" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "315", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "Divide", - "signature" : [ { - "localId" : "318", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "319", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "316", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "name" : "days_10", - "type" : "ExpressionRef" - }, { - "localId" : "317", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "name" : "QL10Days", - "type" : "ExpressionRef" - } ] - } - }, { - "localId" : "322", + "name" : "QL10Days", + "annotation" : [ ] + }, { + "type" : "ExpressionRef", + "localId" : "298", "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "name" : "mul_q_d", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "322", - "s" : [ { - "value" : [ "","define ","mul_q_d"," : " ] - }, { - "r" : "323", - "s" : [ { - "r" : "324", - "s" : [ { - "value" : [ "days_10" ] - } ] - }, { - "r" : "325", - "value" : [ " * ","2" ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "323", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "Multiply", - "signature" : [ { - "localId" : "329", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "330", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "324", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "name" : "days_10", - "type" : "ExpressionRef" - }, { - "localId" : "327", - "type" : "ToQuantity", - "signature" : [ { - "localId" : "328", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "325", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal" - } - } ] - } - }, { - "localId" : "333", + "name" : "QL10Min", + "annotation" : [ ] + } ] + } + }, { + "localId" : "303", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "name" : "div_q_d", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "303", + "s" : [ { + "value" : [ "", "define ", "div_q_d", " : " ] + }, { + "r" : "304", + "s" : [ { + "r" : "305", + "s" : [ { + "value" : [ "days_10" ] + } ] + }, { + "r" : "306", + "value" : [ " / ", "2" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Divide", + "localId" : "304", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "310", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "311", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "ExpressionRef", + "localId" : "305", "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "name" : "mul_d_q", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "333", - "s" : [ { - "value" : [ "","define ","mul_d_q"," : " ] - }, { - "r" : "334", - "s" : [ { - "r" : "335", - "value" : [ "2"," * " ] - }, { - "r" : "336", - "s" : [ { - "value" : [ "QL10Days" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "334", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "Multiply", - "signature" : [ { - "localId" : "340", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "341", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "338", - "type" : "ToQuantity", - "signature" : [ { - "localId" : "339", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "335", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal" - } - }, { - "localId" : "336", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "name" : "QL10Days", - "type" : "ExpressionRef" - } ] - } - }, { - "localId" : "344", + "name" : "days_10", + "annotation" : [ ] + }, { + "type" : "ToQuantity", + "localId" : "308", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "309", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "operand" : { + "type" : "Literal", + "localId" : "306", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "annotation" : [ ] + } + } ] + } + }, { + "localId" : "314", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "name" : "div_q_q", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "314", + "s" : [ { + "value" : [ "", "define ", "div_q_q", " : " ] + }, { + "r" : "315", + "s" : [ { + "r" : "316", + "s" : [ { + "value" : [ "days_10" ] + } ] + }, { + "value" : [ " / " ] + }, { + "r" : "317", + "s" : [ { + "value" : [ "QL10Days" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Divide", + "localId" : "315", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "318", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "319", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "ExpressionRef", + "localId" : "316", "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "name" : "mul_q_q", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "344", - "s" : [ { - "value" : [ "","define ","mul_q_q"," : " ] - }, { - "r" : "345", - "s" : [ { - "r" : "346", - "s" : [ { - "value" : [ "2 ","'m'" ] - } ] - }, { - "value" : [ " * " ] - }, { - "r" : "347", - "s" : [ { - "value" : [ "10 ","'m'" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "345", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "Multiply", - "signature" : [ { - "localId" : "348", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "349", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "346", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "value" : 2, - "unit" : "m", - "type" : "Quantity" - }, { - "localId" : "347", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "value" : 10, - "unit" : "m", - "type" : "Quantity" - } ] - } - }, { - "localId" : "352", + "name" : "days_10", + "annotation" : [ ] + }, { + "type" : "ExpressionRef", + "localId" : "317", "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "name" : "mul_q_q_diff", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "352", - "s" : [ { - "value" : [ "","define ","mul_q_q_diff"," : " ] - }, { - "r" : "353", - "s" : [ { - "r" : "354", - "s" : [ { - "value" : [ "2 ","'m'" ] - } ] - }, { - "value" : [ " * " ] - }, { - "r" : "355", - "s" : [ { - "value" : [ "10 ","'/d'" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "353", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "Multiply", - "signature" : [ { - "localId" : "356", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "357", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "354", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "value" : 2, - "unit" : "m", - "type" : "Quantity" - }, { - "localId" : "355", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "value" : 10, - "unit" : "/d", - "type" : "Quantity" - } ] - } - }, { - "localId" : "360", + "name" : "QL10Days", + "annotation" : [ ] + } ] + } + }, { + "localId" : "322", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "name" : "mul_q_d", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "322", + "s" : [ { + "value" : [ "", "define ", "mul_q_d", " : " ] + }, { + "r" : "323", + "s" : [ { + "r" : "324", + "s" : [ { + "value" : [ "days_10" ] + } ] + }, { + "r" : "325", + "value" : [ " * ", "2" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Multiply", + "localId" : "323", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "329", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "330", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "ExpressionRef", + "localId" : "324", "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "name" : "neg", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "360", - "s" : [ { - "value" : [ "","define ","neg"," : " ] - }, { - "r" : "361", - "s" : [ { - "value" : [ "- " ] - }, { - "r" : "362", - "s" : [ { - "value" : [ "days_10" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "361", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "Negate", - "signature" : [ { - "localId" : "363", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "362", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "name" : "days_10", - "type" : "ExpressionRef" - } - } - }, { - "localId" : "366", + "name" : "days_10", + "annotation" : [ ] + }, { + "type" : "ToQuantity", + "localId" : "327", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "328", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "operand" : { + "type" : "Literal", + "localId" : "325", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "annotation" : [ ] + } + } ] + } + }, { + "localId" : "333", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "name" : "mul_d_q", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "333", + "s" : [ { + "value" : [ "", "define ", "mul_d_q", " : " ] + }, { + "r" : "334", + "s" : [ { + "r" : "335", + "value" : [ "2", " * " ] + }, { + "r" : "336", + "s" : [ { + "value" : [ "QL10Days" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Multiply", + "localId" : "334", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "340", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "341", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "ToQuantity", + "localId" : "338", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "339", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "operand" : { + "type" : "Literal", + "localId" : "335", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "annotation" : [ ] + } + }, { + "type" : "ExpressionRef", + "localId" : "336", "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "name" : "abs", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "366", - "s" : [ { - "value" : [ "","define ","abs"," : " ] - }, { - "r" : "371", - "s" : [ { - "value" : [ "Abs","(" ] - }, { - "r" : "367", - "s" : [ { - "value" : [ "neg" ] - } ] - }, { - "value" : [ ")" ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "371", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "Abs", - "signature" : [ { - "localId" : "372", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "367", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "name" : "neg", - "type" : "ExpressionRef" - } - } - }, { - "localId" : "375", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "MultiplyUcum", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "375", - "s" : [ { - "value" : [ "","define ","MultiplyUcum",": " ] - }, { - "r" : "376", - "s" : [ { - "r" : "377", - "s" : [ { - "value" : [ "(" ] - }, { - "r" : "377", - "s" : [ { - "r" : "378", - "s" : [ { - "value" : [ "5 ","'m'" ] - } ] - }, { - "value" : [ " * " ] - }, { - "r" : "379", - "s" : [ { - "value" : [ "25 ","'km'" ] - } ] - } ] - }, { - "value" : [ ")" ] - } ] - }, { - "value" : [ " ","="," " ] - }, { - "r" : "382", - "s" : [ { - "value" : [ "125000 ","'m2'" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "376", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "Equal", - "signature" : [ { - "localId" : "383", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "384", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "377", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "Multiply", - "signature" : [ { - "localId" : "380", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "381", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "378", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "value" : 5, - "unit" : "m", - "type" : "Quantity" - }, { - "localId" : "379", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "value" : 25, - "unit" : "km", - "type" : "Quantity" - } ] - }, { - "localId" : "382", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "value" : 125000, - "unit" : "m2", - "type" : "Quantity" - } ] - } - }, { - "localId" : "387", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "DivideUcum", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "387", - "s" : [ { - "value" : [ "","define ","DivideUcum",": " ] - }, { - "r" : "388", - "s" : [ { - "r" : "389", - "s" : [ { - "value" : [ "(" ] - }, { - "r" : "389", - "s" : [ { - "r" : "390", - "s" : [ { - "value" : [ "20 ","'m2'" ] - } ] - }, { - "value" : [ " / " ] - }, { - "r" : "391", - "s" : [ { - "value" : [ "5 ","'m'" ] - } ] - } ] - }, { - "value" : [ ")" ] - } ] - }, { - "value" : [ " ","="," " ] - }, { - "r" : "394", - "s" : [ { - "value" : [ "4 ","'m'" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "388", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "Equal", - "signature" : [ { - "localId" : "395", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "396", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "389", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "Divide", - "signature" : [ { - "localId" : "392", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "393", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "390", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "value" : 20, - "unit" : "m2", - "type" : "Quantity" - }, { - "localId" : "391", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "value" : 5, - "unit" : "m", - "type" : "Quantity" - } ] - }, { - "localId" : "394", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "value" : 4, - "unit" : "m", - "type" : "Quantity" - } ] - } - }, { - "localId" : "399", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "AddUcum", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "399", - "s" : [ { - "value" : [ "","define ","AddUcum",": " ] - }, { - "r" : "400", - "s" : [ { - "r" : "401", - "s" : [ { - "value" : [ "(" ] - }, { - "r" : "401", - "s" : [ { - "r" : "402", - "s" : [ { - "value" : [ "5 ","'m'" ] - } ] - }, { - "value" : [ " + " ] - }, { - "r" : "403", - "s" : [ { - "value" : [ "5 ","'km'" ] - } ] - } ] - }, { - "value" : [ ")" ] - } ] - }, { - "value" : [ " ","="," " ] - }, { - "r" : "406", - "s" : [ { - "value" : [ "5005 ","'m'" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "400", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "Equal", - "signature" : [ { - "localId" : "407", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "408", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "401", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "Add", - "signature" : [ { - "localId" : "404", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "405", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "402", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "value" : 5, - "unit" : "m", - "type" : "Quantity" - }, { - "localId" : "403", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "value" : 5, - "unit" : "km", - "type" : "Quantity" - } ] - }, { - "localId" : "406", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "value" : 5005, - "unit" : "m", - "type" : "Quantity" - } ] - } - }, { - "localId" : "411", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "SubtractUcum", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "411", + "name" : "QL10Days", + "annotation" : [ ] + } ] + } + }, { + "localId" : "344", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "name" : "mul_q_q", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "344", + "s" : [ { + "value" : [ "", "define ", "mul_q_q", " : " ] + }, { + "r" : "345", + "s" : [ { + "r" : "346", + "s" : [ { + "value" : [ "2 ", "'m'" ] + } ] + }, { + "value" : [ " * " ] + }, { + "r" : "347", + "s" : [ { + "value" : [ "10 ", "'m'" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Multiply", + "localId" : "345", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "348", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "349", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "Quantity", + "localId" : "346", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "value" : 2, + "unit" : "m", + "annotation" : [ ] + }, { + "type" : "Quantity", + "localId" : "347", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "value" : 10, + "unit" : "m", + "annotation" : [ ] + } ] + } + }, { + "localId" : "352", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "name" : "mul_q_q_diff", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "352", + "s" : [ { + "value" : [ "", "define ", "mul_q_q_diff", " : " ] + }, { + "r" : "353", + "s" : [ { + "r" : "354", + "s" : [ { + "value" : [ "2 ", "'m'" ] + } ] + }, { + "value" : [ " * " ] + }, { + "r" : "355", + "s" : [ { + "value" : [ "10 ", "'/d'" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Multiply", + "localId" : "353", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "356", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "357", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "Quantity", + "localId" : "354", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "value" : 2, + "unit" : "m", + "annotation" : [ ] + }, { + "type" : "Quantity", + "localId" : "355", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "value" : 10, + "unit" : "/d", + "annotation" : [ ] + } ] + } + }, { + "localId" : "360", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "name" : "neg", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "360", + "s" : [ { + "value" : [ "", "define ", "neg", " : " ] + }, { + "r" : "361", + "s" : [ { + "value" : [ "- " ] + }, { + "r" : "362", + "s" : [ { + "value" : [ "days_10" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Negate", + "localId" : "361", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "363", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } ], + "operand" : { + "type" : "ExpressionRef", + "localId" : "362", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "name" : "days_10", + "annotation" : [ ] + } + } + }, { + "localId" : "366", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "name" : "abs", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "366", + "s" : [ { + "value" : [ "", "define ", "abs", " : " ] + }, { + "r" : "371", + "s" : [ { + "value" : [ "Abs", "(" ] + }, { + "r" : "367", + "s" : [ { + "value" : [ "neg" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Abs", + "localId" : "371", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "372", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } ], + "operand" : { + "type" : "ExpressionRef", + "localId" : "367", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "name" : "neg", + "annotation" : [ ] + } + } + }, { + "localId" : "375", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "MultiplyUcum", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "375", + "s" : [ { + "value" : [ "", "define ", "MultiplyUcum", ": " ] + }, { + "r" : "376", + "s" : [ { + "r" : "377", + "s" : [ { + "value" : [ "(" ] + }, { + "r" : "377", "s" : [ { - "value" : [ "","define ","SubtractUcum",": " ] - }, { - "r" : "412", - "s" : [ { - "r" : "413", - "s" : [ { - "value" : [ "(" ] - }, { - "r" : "413", - "s" : [ { - "r" : "414", - "s" : [ { - "value" : [ "25 ","'km'" ] - } ] - }, { - "value" : [ " - " ] - }, { - "r" : "415", - "s" : [ { - "value" : [ "5 ","'m'" ] - } ] - } ] - }, { - "value" : [ ")" ] - } ] - }, { - "value" : [ " ","="," " ] - }, { - "r" : "418", - "s" : [ { - "value" : [ "24995 ","'m'" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "412", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "Equal", - "signature" : [ { - "localId" : "419", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "420", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "413", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "Subtract", - "signature" : [ { - "localId" : "416", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "417", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "414", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "value" : 25, - "unit" : "km", - "type" : "Quantity" - }, { - "localId" : "415", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "value" : 5, - "unit" : "m", - "type" : "Quantity" - } ] - }, { - "localId" : "418", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "value" : 24995, - "unit" : "m", - "type" : "Quantity" - } ] - } - } ] - } - } + "r" : "378", + "s" : [ { + "value" : [ "5 ", "'m'" ] + } ] + }, { + "value" : [ " * " ] + }, { + "r" : "379", + "s" : [ { + "value" : [ "25 ", "'km'" ] + } ] + } ] + }, { + "value" : [ ")" ] + } ] + }, { + "value" : [ " ", "=", " " ] + }, { + "r" : "382", + "s" : [ { + "value" : [ "125000 ", "'m2'" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Equal", + "localId" : "376", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "383", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "384", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "Multiply", + "localId" : "377", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "380", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "381", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "Quantity", + "localId" : "378", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "value" : 5, + "unit" : "m", + "annotation" : [ ] + }, { + "type" : "Quantity", + "localId" : "379", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "value" : 25, + "unit" : "km", + "annotation" : [ ] + } ] + }, { + "type" : "Quantity", + "localId" : "382", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "value" : 125000, + "unit" : "m2", + "annotation" : [ ] + } ] + } + }, { + "localId" : "387", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "DivideUcum", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "387", + "s" : [ { + "value" : [ "", "define ", "DivideUcum", ": " ] + }, { + "r" : "388", + "s" : [ { + "r" : "389", + "s" : [ { + "value" : [ "(" ] + }, { + "r" : "389", + "s" : [ { + "r" : "390", + "s" : [ { + "value" : [ "20 ", "'m2'" ] + } ] + }, { + "value" : [ " / " ] + }, { + "r" : "391", + "s" : [ { + "value" : [ "5 ", "'m'" ] + } ] + } ] + }, { + "value" : [ ")" ] + } ] + }, { + "value" : [ " ", "=", " " ] + }, { + "r" : "394", + "s" : [ { + "value" : [ "4 ", "'m'" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Equal", + "localId" : "388", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "395", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "396", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "Divide", + "localId" : "389", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "392", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "393", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "Quantity", + "localId" : "390", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "value" : 20, + "unit" : "m2", + "annotation" : [ ] + }, { + "type" : "Quantity", + "localId" : "391", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "value" : 5, + "unit" : "m", + "annotation" : [ ] + } ] + }, { + "type" : "Quantity", + "localId" : "394", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "value" : 4, + "unit" : "m", + "annotation" : [ ] + } ] + } + }, { + "localId" : "399", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "AddUcum", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "399", + "s" : [ { + "value" : [ "", "define ", "AddUcum", ": " ] + }, { + "r" : "400", + "s" : [ { + "r" : "401", + "s" : [ { + "value" : [ "(" ] + }, { + "r" : "401", + "s" : [ { + "r" : "402", + "s" : [ { + "value" : [ "5 ", "'m'" ] + } ] + }, { + "value" : [ " + " ] + }, { + "r" : "403", + "s" : [ { + "value" : [ "5 ", "'km'" ] + } ] + } ] + }, { + "value" : [ ")" ] + } ] + }, { + "value" : [ " ", "=", " " ] + }, { + "r" : "406", + "s" : [ { + "value" : [ "5005 ", "'m'" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Equal", + "localId" : "400", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "407", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "408", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "Add", + "localId" : "401", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "404", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "405", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "Quantity", + "localId" : "402", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "value" : 5, + "unit" : "m", + "annotation" : [ ] + }, { + "type" : "Quantity", + "localId" : "403", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "value" : 5, + "unit" : "km", + "annotation" : [ ] + } ] + }, { + "type" : "Quantity", + "localId" : "406", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "value" : 5005, + "unit" : "m", + "annotation" : [ ] + } ] + } + }, { + "localId" : "411", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "SubtractUcum", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "411", + "s" : [ { + "value" : [ "", "define ", "SubtractUcum", ": " ] + }, { + "r" : "412", + "s" : [ { + "r" : "413", + "s" : [ { + "value" : [ "(" ] + }, { + "r" : "413", + "s" : [ { + "r" : "414", + "s" : [ { + "value" : [ "25 ", "'km'" ] + } ] + }, { + "value" : [ " - " ] + }, { + "r" : "415", + "s" : [ { + "value" : [ "5 ", "'m'" ] + } ] + } ] + }, { + "value" : [ ")" ] + } ] + }, { + "value" : [ " ", "=", " " ] + }, { + "r" : "418", + "s" : [ { + "value" : [ "24995 ", "'m'" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Equal", + "localId" : "412", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "419", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "420", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "Subtract", + "localId" : "413", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "416", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "417", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "Quantity", + "localId" : "414", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "value" : 25, + "unit" : "km", + "annotation" : [ ] + }, { + "type" : "Quantity", + "localId" : "415", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "value" : 5, + "unit" : "m", + "annotation" : [ ] + } ] + }, { + "type" : "Quantity", + "localId" : "418", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "value" : 24995, + "unit" : "m", + "annotation" : [ ] + } ] + } + } ] + } + } } /* OutOfBounds @@ -9444,3740 +10505,4117 @@ define ExpOverflow: Exp(maximum Decimal) */ module.exports['OutOfBounds'] = { - "library" : { - "localId" : "0", - "annotation" : [ { - "translatorVersion" : "3.27.0", - "translatorOptions" : "EnableDateRangeOptimization,EnableAnnotations,EnableResultTypes", - "signatureLevel" : "All", - "type" : "CqlToElmInfo" - }, { - "type" : "Annotation", - "s" : { - "r" : "751", + "library" : { + "localId" : "0", + "annotation" : [ { + "type" : "CqlToElmInfo", + "translatorVersion" : "4.2.0", + "translatorOptions" : "EnableDateRangeOptimization,EnableAnnotations,EnableResultTypes", + "signatureLevel" : "All" + }, { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "751", + "s" : [ { + "value" : [ "", "library TestSnippet version '1'" ] + } ] + } + } ], + "identifier" : { + "id" : "TestSnippet", + "version" : "1" + }, + "schemaIdentifier" : { + "id" : "urn:hl7-org:elm", + "version" : "r1" + }, + "usings" : { + "def" : [ { + "localId" : "1", + "localIdentifier" : "System", + "uri" : "urn:hl7-org:elm-types:r1", + "annotation" : [ ] + }, { + "localId" : "206", + "localIdentifier" : "Simple", + "uri" : "https://github.com/cqframework/cql-execution/simple", + "version" : "1.0.0", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "206", "s" : [ { - "value" : [ "","library TestSnippet version '1'" ] - } ] - } - } ], - "identifier" : { - "id" : "TestSnippet", - "version" : "1" - }, - "schemaIdentifier" : { - "id" : "urn:hl7-org:elm", - "version" : "r1" - }, - "usings" : { - "def" : [ { - "localId" : "1", - "localIdentifier" : "System", - "uri" : "urn:hl7-org:elm-types:r1" - }, { - "localId" : "206", - "localIdentifier" : "Simple", - "uri" : "https://github.com/cqframework/cql-execution/simple", - "version" : "1.0.0", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "206", - "s" : [ { - "value" : [ "","using " ] - }, { - "s" : [ { - "value" : [ "Simple" ] - } ] - }, { - "value" : [ " version '1.0.0'" ] - } ] - } - } ] - } ] - }, - "contexts" : { - "def" : [ { - "localId" : "211", - "name" : "Patient" - } ] - }, - "statements" : { - "def" : [ { - "localId" : "209", - "name" : "Patient", - "context" : "Patient", - "expression" : { - "localId" : "210", - "type" : "SingletonFrom", - "signature" : [ ], - "operand" : { - "localId" : "208", - "dataType" : "{https://github.com/cqframework/cql-execution/simple}Patient", - "type" : "Retrieve", - "include" : [ ], - "codeFilter" : [ ], - "dateFilter" : [ ], - "otherFilter" : [ ] - } - } - }, { - "localId" : "214", + "value" : [ "", "using " ] + }, { + "s" : [ { + "value" : [ "Simple" ] + } ] + }, { + "value" : [ " version '1.0.0'" ] + } ] + } + } ] + } ] + }, + "contexts" : { + "def" : [ { + "localId" : "211", + "name" : "Patient", + "annotation" : [ ] + } ] + }, + "statements" : { + "def" : [ { + "localId" : "209", + "name" : "Patient", + "context" : "Patient", + "annotation" : [ ], + "expression" : { + "type" : "SingletonFrom", + "localId" : "210", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Retrieve", + "localId" : "208", + "dataType" : "{https://github.com/cqframework/cql-execution/simple}Patient", + "annotation" : [ ], + "include" : [ ], + "codeFilter" : [ ], + "dateFilter" : [ ], + "otherFilter" : [ ] + } + } + }, { + "localId" : "214", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "name" : "IntegerAddOverflow", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "214", + "s" : [ { + "value" : [ "", "define ", "IntegerAddOverflow", ": " ] + }, { + "r" : "215", + "s" : [ { + "r" : "217", + "s" : [ { + "value" : [ "maximum", " " ] + }, { + "r" : "216", + "s" : [ { + "value" : [ "Integer" ] + } ] + } ] + }, { + "r" : "218", + "value" : [ " + ", "1" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Add", + "localId" : "215", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "219", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "220", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "MaxValue", + "localId" : "217", "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "name" : "IntegerAddOverflow", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "214", - "s" : [ { - "value" : [ "","define ","IntegerAddOverflow",": " ] - }, { - "r" : "215", - "s" : [ { - "r" : "217", - "s" : [ { - "value" : [ "maximum"," " ] - }, { - "r" : "216", - "s" : [ { - "value" : [ "Integer" ] - } ] - } ] - }, { - "r" : "218", - "value" : [ " + ","1" ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "215", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "Add", - "signature" : [ { - "localId" : "219", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "220", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "217", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "MaxValue" - }, { - "localId" : "218", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - } ] - } - }, { - "localId" : "223", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "218", "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "name" : "IntegerAddUnderflow", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "223", - "s" : [ { - "value" : [ "","define ","IntegerAddUnderflow",": " ] - }, { - "r" : "224", - "s" : [ { - "r" : "226", - "s" : [ { - "value" : [ "minimum"," " ] - }, { - "r" : "225", - "s" : [ { - "value" : [ "Integer" ] - } ] - } ] - }, { - "value" : [ " + " ] - }, { - "r" : "227", - "s" : [ { - "r" : "228", - "value" : [ "-","1" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "224", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "Add", - "signature" : [ { - "localId" : "230", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "231", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "226", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "MinValue" - }, { - "localId" : "227", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "Negate", - "signature" : [ { - "localId" : "229", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "228", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - } - } ] - } - }, { - "localId" : "234", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + } ] + } + }, { + "localId" : "223", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "name" : "IntegerAddUnderflow", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "223", + "s" : [ { + "value" : [ "", "define ", "IntegerAddUnderflow", ": " ] + }, { + "r" : "224", + "s" : [ { + "r" : "226", + "s" : [ { + "value" : [ "minimum", " " ] + }, { + "r" : "225", + "s" : [ { + "value" : [ "Integer" ] + } ] + } ] + }, { + "value" : [ " + " ] + }, { + "r" : "227", + "s" : [ { + "r" : "228", + "value" : [ "-", "1" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Add", + "localId" : "224", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "230", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "231", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "MinValue", + "localId" : "226", "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "name" : "IntegerSubtractOverflow", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "234", - "s" : [ { - "value" : [ "","define ","IntegerSubtractOverflow",": " ] - }, { - "r" : "235", - "s" : [ { - "r" : "237", - "s" : [ { - "value" : [ "maximum"," " ] - }, { - "r" : "236", - "s" : [ { - "value" : [ "Integer" ] - } ] - } ] - }, { - "value" : [ " - " ] - }, { - "r" : "238", - "s" : [ { - "r" : "239", - "value" : [ "-","1" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "235", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "Subtract", - "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" : "237", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "MaxValue" - }, { - "localId" : "238", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "Negate", - "signature" : [ { - "localId" : "240", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "239", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - } - } ] - } - }, { - "localId" : "245", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "Negate", + "localId" : "227", "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "name" : "IntegerSubtractUnderflow", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "245", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "229", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "operand" : { + "type" : "Literal", + "localId" : "228", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + } + } ] + } + }, { + "localId" : "234", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "name" : "IntegerSubtractOverflow", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "234", + "s" : [ { + "value" : [ "", "define ", "IntegerSubtractOverflow", ": " ] + }, { + "r" : "235", + "s" : [ { + "r" : "237", + "s" : [ { + "value" : [ "maximum", " " ] + }, { + "r" : "236", "s" : [ { - "value" : [ "","define ","IntegerSubtractUnderflow",": " ] - }, { - "r" : "246", - "s" : [ { - "r" : "248", - "s" : [ { - "value" : [ "minimum"," " ] - }, { - "r" : "247", - "s" : [ { - "value" : [ "Integer" ] - } ] - } ] - }, { - "r" : "249", - "value" : [ " - ","1" ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "246", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "Subtract", - "signature" : [ { - "localId" : "250", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "251", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "248", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "MinValue" - }, { - "localId" : "249", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - } ] - } - }, { - "localId" : "254", + "value" : [ "Integer" ] + } ] + } ] + }, { + "value" : [ " - " ] + }, { + "r" : "238", + "s" : [ { + "r" : "239", + "value" : [ "-", "1" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Subtract", + "localId" : "235", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "241", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "242", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "MaxValue", + "localId" : "237", "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "name" : "IntegerMultiplyOverflow", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "254", - "s" : [ { - "value" : [ "","define ","IntegerMultiplyOverflow",": " ] - }, { - "r" : "255", - "s" : [ { - "r" : "257", - "s" : [ { - "value" : [ "maximum"," " ] - }, { - "r" : "256", - "s" : [ { - "value" : [ "Integer" ] - } ] - } ] - }, { - "r" : "258", - "value" : [ " * ","2" ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "255", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "Multiply", - "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", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "MaxValue" - }, { - "localId" : "258", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal" - } ] - } - }, { - "localId" : "263", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "Negate", + "localId" : "238", "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "name" : "IntegerMultiplyUnderflow", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "263", - "s" : [ { - "value" : [ "","define ","IntegerMultiplyUnderflow",": " ] - }, { - "r" : "264", - "s" : [ { - "r" : "266", - "s" : [ { - "value" : [ "minimum"," " ] - }, { - "r" : "265", - "s" : [ { - "value" : [ "Integer" ] - } ] - } ] - }, { - "value" : [ " * " ] - }, { - "r" : "267", - "s" : [ { - "r" : "268", - "value" : [ "-","2" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "264", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "Multiply", - "signature" : [ { - "localId" : "270", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "271", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "266", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "MinValue" - }, { - "localId" : "267", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "Negate", - "signature" : [ { - "localId" : "269", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "268", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal" - } - } ] - } - }, { - "localId" : "274", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "name" : "IntegerDivideOverflow", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "274", - "s" : [ { - "value" : [ "","define ","IntegerDivideOverflow",": " ] - }, { - "r" : "275", - "s" : [ { - "r" : "277", - "s" : [ { - "value" : [ "maximum"," " ] - }, { - "r" : "276", - "s" : [ { - "value" : [ "Integer" ] - } ] - } ] - }, { - "value" : [ " / " ] - }, { - "r" : "278", - "s" : [ { - "r" : "278", - "value" : [ "(","0.5",")" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "275", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "Divide", - "signature" : [ { - "localId" : "282", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "283", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "280", - "type" : "ToDecimal", - "signature" : [ { - "localId" : "281", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "277", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "MaxValue" - } - }, { - "localId" : "278", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "0.5", - "type" : "Literal" - } ] - } - }, { - "localId" : "286", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "name" : "IntegerDivideUnderflow", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "286", - "s" : [ { - "value" : [ "","define ","IntegerDivideUnderflow",": " ] - }, { - "r" : "287", - "s" : [ { - "r" : "289", - "s" : [ { - "value" : [ "minimum"," " ] - }, { - "r" : "288", - "s" : [ { - "value" : [ "Integer" ] - } ] - } ] - }, { - "value" : [ " / " ] - }, { - "r" : "290", - "s" : [ { - "value" : [ "(" ] - }, { - "r" : "290", - "s" : [ { - "r" : "291", - "value" : [ "-","0.5" ] - } ] - }, { - "value" : [ ")" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "287", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "Divide", - "signature" : [ { - "localId" : "296", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "297", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "294", - "type" : "ToDecimal", - "signature" : [ { - "localId" : "295", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "289", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "MinValue" - } - }, { - "localId" : "290", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "Negate", - "signature" : [ { - "localId" : "292", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "291", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "0.5", - "type" : "Literal" - } - } ] - } - }, { - "localId" : "300", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "name" : "IntegerDivideByZero", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "300", - "s" : [ { - "value" : [ "","define ","IntegerDivideByZero",": " ] - }, { - "r" : "301", - "s" : [ { - "r" : "302", - "value" : [ "1"," / ","0" ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "301", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "Divide", - "signature" : [ { - "localId" : "310", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "311", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "305", - "type" : "ToDecimal", - "signature" : [ { - "localId" : "306", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "302", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - } - }, { - "localId" : "308", - "type" : "ToDecimal", - "signature" : [ { - "localId" : "309", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "303", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - } ] - } - }, { - "localId" : "314", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "240", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "operand" : { + "type" : "Literal", + "localId" : "239", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + } + } ] + } + }, { + "localId" : "245", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "name" : "IntegerSubtractUnderflow", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "245", + "s" : [ { + "value" : [ "", "define ", "IntegerSubtractUnderflow", ": " ] + }, { + "r" : "246", + "s" : [ { + "r" : "248", + "s" : [ { + "value" : [ "minimum", " " ] + }, { + "r" : "247", + "s" : [ { + "value" : [ "Integer" ] + } ] + } ] + }, { + "r" : "249", + "value" : [ " - ", "1" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Subtract", + "localId" : "246", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "250", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "251", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "MinValue", + "localId" : "248", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "249", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + } ] + } + }, { + "localId" : "254", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "name" : "IntegerMultiplyOverflow", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "254", + "s" : [ { + "value" : [ "", "define ", "IntegerMultiplyOverflow", ": " ] + }, { + "r" : "255", + "s" : [ { + "r" : "257", + "s" : [ { + "value" : [ "maximum", " " ] + }, { + "r" : "256", + "s" : [ { + "value" : [ "Integer" ] + } ] + } ] + }, { + "r" : "258", + "value" : [ " * ", "2" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Multiply", + "localId" : "255", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "259", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "260", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "MaxValue", + "localId" : "257", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "258", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "annotation" : [ ] + } ] + } + }, { + "localId" : "263", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "name" : "IntegerMultiplyUnderflow", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "263", + "s" : [ { + "value" : [ "", "define ", "IntegerMultiplyUnderflow", ": " ] + }, { + "r" : "264", + "s" : [ { + "r" : "266", + "s" : [ { + "value" : [ "minimum", " " ] + }, { + "r" : "265", + "s" : [ { + "value" : [ "Integer" ] + } ] + } ] + }, { + "value" : [ " * " ] + }, { + "r" : "267", + "s" : [ { + "r" : "268", + "value" : [ "-", "2" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Multiply", + "localId" : "264", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "270", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "271", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "MinValue", + "localId" : "266", "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "name" : "IntegerPowerOverflow", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "314", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "Negate", + "localId" : "267", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "269", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "operand" : { + "type" : "Literal", + "localId" : "268", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "annotation" : [ ] + } + } ] + } + }, { + "localId" : "274", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "name" : "IntegerDivideOverflow", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "274", + "s" : [ { + "value" : [ "", "define ", "IntegerDivideOverflow", ": " ] + }, { + "r" : "275", + "s" : [ { + "r" : "277", + "s" : [ { + "value" : [ "maximum", " " ] + }, { + "r" : "276", "s" : [ { - "value" : [ "","define ","IntegerPowerOverflow",": " ] - }, { - "r" : "315", - "s" : [ { - "r" : "317", - "s" : [ { - "value" : [ "(" ] - }, { - "r" : "317", - "s" : [ { - "value" : [ "maximum"," " ] - }, { - "r" : "316", - "s" : [ { - "value" : [ "Integer" ] - } ] - } ] - }, { - "value" : [ ")" ] - } ] - }, { - "r" : "318", - "value" : [ "^","3" ] - } ] + "value" : [ "Integer" ] } ] - } - } ], - "expression" : { - "localId" : "315", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "Power", - "signature" : [ { - "localId" : "319", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "320", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "317", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "MaxValue" - }, { - "localId" : "318", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - } ] - } - }, { - "localId" : "323", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "name" : "IntegerPowerUnderflow", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "323", + } ] + }, { + "value" : [ " / " ] + }, { + "r" : "278", + "s" : [ { + "r" : "278", + "value" : [ "(", "0.5", ")" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Divide", + "localId" : "275", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "282", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "283", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "ToDecimal", + "localId" : "280", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "281", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "operand" : { + "type" : "MaxValue", + "localId" : "277", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, { + "type" : "Literal", + "localId" : "278", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "0.5", + "annotation" : [ ] + } ] + } + }, { + "localId" : "286", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "name" : "IntegerDivideUnderflow", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "286", + "s" : [ { + "value" : [ "", "define ", "IntegerDivideUnderflow", ": " ] + }, { + "r" : "287", + "s" : [ { + "r" : "289", + "s" : [ { + "value" : [ "minimum", " " ] + }, { + "r" : "288", + "s" : [ { + "value" : [ "Integer" ] + } ] + } ] + }, { + "value" : [ " / " ] + }, { + "r" : "290", + "s" : [ { + "value" : [ "(" ] + }, { + "r" : "290", + "s" : [ { + "r" : "291", + "value" : [ "-", "0.5" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Divide", + "localId" : "287", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "296", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "297", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "ToDecimal", + "localId" : "294", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "295", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "operand" : { + "type" : "MinValue", + "localId" : "289", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, { + "type" : "Negate", + "localId" : "290", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "292", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } ], + "operand" : { + "type" : "Literal", + "localId" : "291", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "0.5", + "annotation" : [ ] + } + } ] + } + }, { + "localId" : "300", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "name" : "IntegerDivideByZero", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "300", + "s" : [ { + "value" : [ "", "define ", "IntegerDivideByZero", ": " ] + }, { + "r" : "301", + "s" : [ { + "r" : "302", + "value" : [ "1", " / ", "0" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Divide", + "localId" : "301", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "310", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "311", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "ToDecimal", + "localId" : "305", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "306", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "operand" : { + "type" : "Literal", + "localId" : "302", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + } + }, { + "type" : "ToDecimal", + "localId" : "308", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "309", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "operand" : { + "type" : "Literal", + "localId" : "303", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + } ] + } + }, { + "localId" : "314", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "name" : "IntegerPowerOverflow", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "314", + "s" : [ { + "value" : [ "", "define ", "IntegerPowerOverflow", ": " ] + }, { + "r" : "315", + "s" : [ { + "r" : "317", + "s" : [ { + "value" : [ "(" ] + }, { + "r" : "317", "s" : [ { - "value" : [ "","define ","IntegerPowerUnderflow",": " ] + "value" : [ "maximum", " " ] }, { - "r" : "324", - "s" : [ { - "r" : "326", - "s" : [ { - "value" : [ "(" ] - }, { - "r" : "326", - "s" : [ { - "value" : [ "minimum"," " ] - }, { - "r" : "325", - "s" : [ { - "value" : [ "Integer" ] - } ] - } ] - }, { - "value" : [ ")" ] - } ] - }, { - "r" : "327", - "value" : [ "^","3" ] - } ] + "r" : "316", + "s" : [ { + "value" : [ "Integer" ] + } ] } ] - } - } ], - "expression" : { - "localId" : "324", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "Power", - "signature" : [ { - "localId" : "328", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "329", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "326", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "MinValue" - }, { - "localId" : "327", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - } ] - } - }, { - "localId" : "332", + }, { + "value" : [ ")" ] + } ] + }, { + "r" : "318", + "value" : [ "^", "3" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Power", + "localId" : "315", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "319", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "320", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "MaxValue", + "localId" : "317", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "318", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + } ] + } + }, { + "localId" : "323", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "name" : "IntegerPowerUnderflow", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "323", + "s" : [ { + "value" : [ "", "define ", "IntegerPowerUnderflow", ": " ] + }, { + "r" : "324", + "s" : [ { + "r" : "326", + "s" : [ { + "value" : [ "(" ] + }, { + "r" : "326", + "s" : [ { + "value" : [ "minimum", " " ] + }, { + "r" : "325", + "s" : [ { + "value" : [ "Integer" ] + } ] + } ] + }, { + "value" : [ ")" ] + } ] + }, { + "r" : "327", + "value" : [ "^", "3" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Power", + "localId" : "324", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "328", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "329", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "MinValue", + "localId" : "326", "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "name" : "IntegerSuccessorOverflow", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "332", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "327", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + } ] + } + }, { + "localId" : "332", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "name" : "IntegerSuccessorOverflow", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "332", + "s" : [ { + "value" : [ "", "define ", "IntegerSuccessorOverflow", ": " ] + }, { + "r" : "335", + "s" : [ { + "value" : [ "successor of " ] + }, { + "r" : "334", + "s" : [ { + "value" : [ "maximum", " " ] + }, { + "r" : "333", "s" : [ { - "value" : [ "","define ","IntegerSuccessorOverflow",": " ] - }, { - "r" : "335", - "s" : [ { - "value" : [ "successor of " ] - }, { - "r" : "334", - "s" : [ { - "value" : [ "maximum"," " ] - }, { - "r" : "333", - "s" : [ { - "value" : [ "Integer" ] - } ] - } ] - } ] + "value" : [ "Integer" ] } ] - } - } ], - "expression" : { - "localId" : "335", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "Successor", - "signature" : [ { - "localId" : "336", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "334", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "MaxValue" - } - } - }, { - "localId" : "339", + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Successor", + "localId" : "335", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "336", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "operand" : { + "type" : "MaxValue", + "localId" : "334", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } + }, { + "localId" : "339", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "name" : "IntegerPredecessorUnderflow", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "339", + "s" : [ { + "value" : [ "", "define ", "IntegerPredecessorUnderflow", ": " ] + }, { + "r" : "342", + "s" : [ { + "value" : [ "predecessor of " ] + }, { + "r" : "341", + "s" : [ { + "value" : [ "minimum", " " ] + }, { + "r" : "340", + "s" : [ { + "value" : [ "Integer" ] + } ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Predecessor", + "localId" : "342", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "343", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "operand" : { + "type" : "MinValue", + "localId" : "341", "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "name" : "IntegerPredecessorUnderflow", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "339", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } + }, { + "localId" : "346", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "name" : "DecimalAddOverflow", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "346", + "s" : [ { + "value" : [ "", "define ", "DecimalAddOverflow", ": " ] + }, { + "r" : "347", + "s" : [ { + "r" : "349", + "s" : [ { + "value" : [ "maximum", " " ] + }, { + "r" : "348", "s" : [ { - "value" : [ "","define ","IntegerPredecessorUnderflow",": " ] - }, { - "r" : "342", - "s" : [ { - "value" : [ "predecessor of " ] - }, { - "r" : "341", - "s" : [ { - "value" : [ "minimum"," " ] - }, { - "r" : "340", - "s" : [ { - "value" : [ "Integer" ] - } ] - } ] - } ] + "value" : [ "Decimal" ] } ] - } - } ], - "expression" : { - "localId" : "342", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "Predecessor", - "signature" : [ { - "localId" : "343", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "341", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "MinValue" - } - } - }, { - "localId" : "346", + } ] + }, { + "r" : "350", + "value" : [ " + ", "1.0" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Add", + "localId" : "347", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "351", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "352", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "MaxValue", + "localId" : "349", "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "name" : "DecimalAddOverflow", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "346", - "s" : [ { - "value" : [ "","define ","DecimalAddOverflow",": " ] - }, { - "r" : "347", - "s" : [ { - "r" : "349", - "s" : [ { - "value" : [ "maximum"," " ] - }, { - "r" : "348", - "s" : [ { - "value" : [ "Decimal" ] - } ] - } ] - }, { - "r" : "350", - "value" : [ " + ","1.0" ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "347", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "Add", - "signature" : [ { - "localId" : "351", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "352", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "349", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "MaxValue" - }, { - "localId" : "350", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "1.0", - "type" : "Literal" - } ] - } - }, { - "localId" : "355", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "350", "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "name" : "DecimalAddUnderflow", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "355", - "s" : [ { - "value" : [ "","define ","DecimalAddUnderflow",": " ] - }, { - "r" : "356", - "s" : [ { - "r" : "358", - "s" : [ { - "value" : [ "minimum"," " ] - }, { - "r" : "357", - "s" : [ { - "value" : [ "Decimal" ] - } ] - } ] - }, { - "value" : [ " + " ] - }, { - "r" : "359", - "s" : [ { - "r" : "360", - "value" : [ "-","1.0" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "356", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "Add", - "signature" : [ { - "localId" : "362", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "363", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "358", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "MinValue" - }, { - "localId" : "359", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "Negate", - "signature" : [ { - "localId" : "361", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "360", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "1.0", - "type" : "Literal" - } - } ] - } - }, { - "localId" : "366", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "1.0", + "annotation" : [ ] + } ] + } + }, { + "localId" : "355", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "name" : "DecimalAddUnderflow", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "355", + "s" : [ { + "value" : [ "", "define ", "DecimalAddUnderflow", ": " ] + }, { + "r" : "356", + "s" : [ { + "r" : "358", + "s" : [ { + "value" : [ "minimum", " " ] + }, { + "r" : "357", + "s" : [ { + "value" : [ "Decimal" ] + } ] + } ] + }, { + "value" : [ " + " ] + }, { + "r" : "359", + "s" : [ { + "r" : "360", + "value" : [ "-", "1.0" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Add", + "localId" : "356", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "362", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "363", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "MinValue", + "localId" : "358", "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "name" : "DecimalSubtractOverflow", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "366", - "s" : [ { - "value" : [ "","define ","DecimalSubtractOverflow",": " ] - }, { - "r" : "367", - "s" : [ { - "r" : "369", - "s" : [ { - "value" : [ "maximum"," " ] - }, { - "r" : "368", - "s" : [ { - "value" : [ "Decimal" ] - } ] - } ] - }, { - "value" : [ " - " ] - }, { - "r" : "370", - "s" : [ { - "r" : "371", - "value" : [ "-","1.0" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "367", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "Subtract", - "signature" : [ { - "localId" : "373", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "374", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "369", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "MaxValue" - }, { - "localId" : "370", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "Negate", - "signature" : [ { - "localId" : "372", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "371", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "1.0", - "type" : "Literal" - } - } ] - } - }, { - "localId" : "377", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + }, { + "type" : "Negate", + "localId" : "359", "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "name" : "DecimalSubtractUnderflow", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "377", - "s" : [ { - "value" : [ "","define ","DecimalSubtractUnderflow",": " ] - }, { - "r" : "378", - "s" : [ { - "r" : "380", - "s" : [ { - "value" : [ "minimum"," " ] - }, { - "r" : "379", - "s" : [ { - "value" : [ "Decimal" ] - } ] - } ] - }, { - "r" : "381", - "value" : [ " - ","1.0" ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "378", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "Subtract", - "signature" : [ { - "localId" : "382", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "383", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "380", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "MinValue" - }, { - "localId" : "381", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "1.0", - "type" : "Literal" - } ] - } - }, { - "localId" : "386", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "361", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } ], + "operand" : { + "type" : "Literal", + "localId" : "360", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "1.0", + "annotation" : [ ] + } + } ] + } + }, { + "localId" : "366", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "name" : "DecimalSubtractOverflow", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "366", + "s" : [ { + "value" : [ "", "define ", "DecimalSubtractOverflow", ": " ] + }, { + "r" : "367", + "s" : [ { + "r" : "369", + "s" : [ { + "value" : [ "maximum", " " ] + }, { + "r" : "368", + "s" : [ { + "value" : [ "Decimal" ] + } ] + } ] + }, { + "value" : [ " - " ] + }, { + "r" : "370", + "s" : [ { + "r" : "371", + "value" : [ "-", "1.0" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Subtract", + "localId" : "367", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "373", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "374", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "MaxValue", + "localId" : "369", "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "name" : "DecimalMultiplyOverflow", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "386", - "s" : [ { - "value" : [ "","define ","DecimalMultiplyOverflow",": " ] - }, { - "r" : "387", - "s" : [ { - "r" : "389", - "s" : [ { - "value" : [ "maximum"," " ] - }, { - "r" : "388", - "s" : [ { - "value" : [ "Decimal" ] - } ] - } ] - }, { - "r" : "390", - "value" : [ " * ","2" ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "387", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "Multiply", - "signature" : [ { - "localId" : "394", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "395", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "389", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "MaxValue" - }, { - "localId" : "392", - "type" : "ToDecimal", - "signature" : [ { - "localId" : "393", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "390", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal" - } - } ] - } - }, { - "localId" : "398", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + }, { + "type" : "Negate", + "localId" : "370", "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "name" : "DecimalMultiplyUnderflow", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "398", - "s" : [ { - "value" : [ "","define ","DecimalMultiplyUnderflow",": " ] - }, { - "r" : "399", - "s" : [ { - "r" : "401", - "s" : [ { - "value" : [ "minimum"," " ] - }, { - "r" : "400", - "s" : [ { - "value" : [ "Decimal" ] - } ] - } ] - }, { - "value" : [ " * " ] - }, { - "r" : "402", - "s" : [ { - "r" : "403", - "value" : [ "-","2" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "399", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "Multiply", - "signature" : [ { - "localId" : "408", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "409", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "401", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "MinValue" - }, { - "localId" : "406", - "type" : "ToDecimal", - "signature" : [ { - "localId" : "407", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "402", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "Negate", - "signature" : [ { - "localId" : "404", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "403", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal" - } - } - } ] - } - }, { - "localId" : "412", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "372", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } ], + "operand" : { + "type" : "Literal", + "localId" : "371", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "1.0", + "annotation" : [ ] + } + } ] + } + }, { + "localId" : "377", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "name" : "DecimalSubtractUnderflow", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "377", + "s" : [ { + "value" : [ "", "define ", "DecimalSubtractUnderflow", ": " ] + }, { + "r" : "378", + "s" : [ { + "r" : "380", + "s" : [ { + "value" : [ "minimum", " " ] + }, { + "r" : "379", + "s" : [ { + "value" : [ "Decimal" ] + } ] + } ] + }, { + "r" : "381", + "value" : [ " - ", "1.0" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Subtract", + "localId" : "378", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "382", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "383", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "MinValue", + "localId" : "380", "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "name" : "DecimalDivideOverflow", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "412", - "s" : [ { - "value" : [ "","define ","DecimalDivideOverflow",": " ] - }, { - "r" : "413", - "s" : [ { - "r" : "415", - "s" : [ { - "value" : [ "maximum"," " ] - }, { - "r" : "414", - "s" : [ { - "value" : [ "Decimal" ] - } ] - } ] - }, { - "value" : [ " / " ] - }, { - "r" : "416", - "s" : [ { - "r" : "416", - "value" : [ "(","0.5",")" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "413", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "Divide", - "signature" : [ { - "localId" : "417", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "418", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "415", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "MaxValue" - }, { - "localId" : "416", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "0.5", - "type" : "Literal" - } ] - } - }, { - "localId" : "421", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "381", "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "name" : "DecimalDivideUnderflow", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "421", - "s" : [ { - "value" : [ "","define ","DecimalDivideUnderflow",": " ] - }, { - "r" : "422", - "s" : [ { - "r" : "424", - "s" : [ { - "value" : [ "minimum"," " ] - }, { - "r" : "423", - "s" : [ { - "value" : [ "Decimal" ] - } ] - } ] - }, { - "value" : [ " / " ] - }, { - "r" : "425", - "s" : [ { - "value" : [ "(" ] - }, { - "r" : "425", - "s" : [ { - "r" : "426", - "value" : [ "-","0.5" ] - } ] - }, { - "value" : [ ")" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "422", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "Divide", - "signature" : [ { - "localId" : "428", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "429", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "424", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "MinValue" - }, { - "localId" : "425", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "Negate", - "signature" : [ { - "localId" : "427", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "426", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "0.5", - "type" : "Literal" - } - } ] - } - }, { - "localId" : "432", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "1.0", + "annotation" : [ ] + } ] + } + }, { + "localId" : "386", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "name" : "DecimalMultiplyOverflow", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "386", + "s" : [ { + "value" : [ "", "define ", "DecimalMultiplyOverflow", ": " ] + }, { + "r" : "387", + "s" : [ { + "r" : "389", + "s" : [ { + "value" : [ "maximum", " " ] + }, { + "r" : "388", + "s" : [ { + "value" : [ "Decimal" ] + } ] + } ] + }, { + "r" : "390", + "value" : [ " * ", "2" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Multiply", + "localId" : "387", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "394", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "395", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "MaxValue", + "localId" : "389", "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "name" : "DecimalDivideByZero", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "432", - "s" : [ { - "value" : [ "","define ","DecimalDivideByZero",": " ] - }, { - "r" : "433", - "s" : [ { - "r" : "434", - "value" : [ "1.0"," / ","0" ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "433", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "Divide", - "signature" : [ { - "localId" : "439", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "440", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "434", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "1.0", - "type" : "Literal" - }, { - "localId" : "437", - "type" : "ToDecimal", - "signature" : [ { - "localId" : "438", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "435", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - } ] - } - }, { - "localId" : "443", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + }, { + "type" : "ToDecimal", + "localId" : "392", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "393", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "operand" : { + "type" : "Literal", + "localId" : "390", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "annotation" : [ ] + } + } ] + } + }, { + "localId" : "398", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "name" : "DecimalMultiplyUnderflow", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "398", + "s" : [ { + "value" : [ "", "define ", "DecimalMultiplyUnderflow", ": " ] + }, { + "r" : "399", + "s" : [ { + "r" : "401", + "s" : [ { + "value" : [ "minimum", " " ] + }, { + "r" : "400", + "s" : [ { + "value" : [ "Decimal" ] + } ] + } ] + }, { + "value" : [ " * " ] + }, { + "r" : "402", + "s" : [ { + "r" : "403", + "value" : [ "-", "2" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Multiply", + "localId" : "399", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "408", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "409", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "MinValue", + "localId" : "401", "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "name" : "DecimalPowerOverflow", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "443", - "s" : [ { - "value" : [ "","define ","DecimalPowerOverflow",": " ] - }, { - "r" : "444", - "s" : [ { - "r" : "446", - "s" : [ { - "value" : [ "(" ] - }, { - "r" : "446", - "s" : [ { - "value" : [ "maximum"," " ] - }, { - "r" : "445", - "s" : [ { - "value" : [ "Decimal" ] - } ] - } ] - }, { - "value" : [ ")" ] - } ] - }, { - "r" : "447", - "value" : [ "^","2" ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "444", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "Power", - "signature" : [ { - "localId" : "451", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "452", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "446", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "MaxValue" - }, { - "localId" : "449", - "type" : "ToDecimal", - "signature" : [ { - "localId" : "450", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "447", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal" - } - } ] - } - }, { - "localId" : "455", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + }, { + "type" : "ToDecimal", + "localId" : "406", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "407", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "operand" : { + "type" : "Negate", + "localId" : "402", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "404", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "operand" : { + "type" : "Literal", + "localId" : "403", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "annotation" : [ ] + } + } + } ] + } + }, { + "localId" : "412", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "name" : "DecimalDivideOverflow", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "412", + "s" : [ { + "value" : [ "", "define ", "DecimalDivideOverflow", ": " ] + }, { + "r" : "413", + "s" : [ { + "r" : "415", + "s" : [ { + "value" : [ "maximum", " " ] + }, { + "r" : "414", + "s" : [ { + "value" : [ "Decimal" ] + } ] + } ] + }, { + "value" : [ " / " ] + }, { + "r" : "416", + "s" : [ { + "r" : "416", + "value" : [ "(", "0.5", ")" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Divide", + "localId" : "413", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "417", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "418", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "MaxValue", + "localId" : "415", "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "name" : "DecimalPowerUnderflow", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "455", - "s" : [ { - "value" : [ "","define ","DecimalPowerUnderflow",": " ] - }, { - "r" : "456", - "s" : [ { - "r" : "458", - "s" : [ { - "value" : [ "(" ] - }, { - "r" : "458", - "s" : [ { - "value" : [ "minimum"," " ] - }, { - "r" : "457", - "s" : [ { - "value" : [ "Decimal" ] - } ] - } ] - }, { - "value" : [ ")" ] - } ] - }, { - "r" : "459", - "value" : [ "^","3" ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "456", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "Power", - "signature" : [ { - "localId" : "463", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "464", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "458", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "MinValue" - }, { - "localId" : "461", - "type" : "ToDecimal", - "signature" : [ { - "localId" : "462", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "459", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - } - } ] - } - }, { - "localId" : "467", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "416", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "0.5", + "annotation" : [ ] + } ] + } + }, { + "localId" : "421", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "name" : "DecimalDivideUnderflow", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "421", + "s" : [ { + "value" : [ "", "define ", "DecimalDivideUnderflow", ": " ] + }, { + "r" : "422", + "s" : [ { + "r" : "424", + "s" : [ { + "value" : [ "minimum", " " ] + }, { + "r" : "423", + "s" : [ { + "value" : [ "Decimal" ] + } ] + } ] + }, { + "value" : [ " / " ] + }, { + "r" : "425", + "s" : [ { + "value" : [ "(" ] + }, { + "r" : "425", + "s" : [ { + "r" : "426", + "value" : [ "-", "0.5" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Divide", + "localId" : "422", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "428", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "429", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "MinValue", + "localId" : "424", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + }, { + "type" : "Negate", + "localId" : "425", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "427", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } ], + "operand" : { + "type" : "Literal", + "localId" : "426", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "0.5", + "annotation" : [ ] + } + } ] + } + }, { + "localId" : "432", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "name" : "DecimalDivideByZero", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "432", + "s" : [ { + "value" : [ "", "define ", "DecimalDivideByZero", ": " ] + }, { + "r" : "433", + "s" : [ { + "r" : "434", + "value" : [ "1.0", " / ", "0" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Divide", + "localId" : "433", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "439", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "440", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "Literal", + "localId" : "434", "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "name" : "DecimalSuccessorOverflow", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "467", - "s" : [ { - "value" : [ "","define ","DecimalSuccessorOverflow",": " ] - }, { - "r" : "470", - "s" : [ { - "value" : [ "successor of " ] - }, { - "r" : "469", - "s" : [ { - "value" : [ "maximum"," " ] - }, { - "r" : "468", - "s" : [ { - "value" : [ "Decimal" ] - } ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "470", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "Successor", - "signature" : [ { - "localId" : "471", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "469", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "MaxValue" - } - } - }, { - "localId" : "474", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "1.0", + "annotation" : [ ] + }, { + "type" : "ToDecimal", + "localId" : "437", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "438", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "operand" : { + "type" : "Literal", + "localId" : "435", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + } ] + } + }, { + "localId" : "443", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "name" : "DecimalPowerOverflow", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "443", + "s" : [ { + "value" : [ "", "define ", "DecimalPowerOverflow", ": " ] + }, { + "r" : "444", + "s" : [ { + "r" : "446", + "s" : [ { + "value" : [ "(" ] + }, { + "r" : "446", + "s" : [ { + "value" : [ "maximum", " " ] + }, { + "r" : "445", + "s" : [ { + "value" : [ "Decimal" ] + } ] + } ] + }, { + "value" : [ ")" ] + } ] + }, { + "r" : "447", + "value" : [ "^", "2" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Power", + "localId" : "444", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "451", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "452", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "MaxValue", + "localId" : "446", "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "name" : "DecimalPredecessorUnderflow", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "474", - "s" : [ { - "value" : [ "","define ","DecimalPredecessorUnderflow",": " ] - }, { - "r" : "477", - "s" : [ { - "value" : [ "predecessor of " ] - }, { - "r" : "476", - "s" : [ { - "value" : [ "minimum"," " ] - }, { - "r" : "475", - "s" : [ { - "value" : [ "Decimal" ] - } ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "477", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "Predecessor", - "signature" : [ { - "localId" : "478", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "476", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "MinValue" - } - } - }, { - "localId" : "481", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + }, { + "type" : "ToDecimal", + "localId" : "449", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "450", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "operand" : { + "type" : "Literal", + "localId" : "447", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "annotation" : [ ] + } + } ] + } + }, { + "localId" : "455", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "name" : "DecimalPowerUnderflow", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "455", + "s" : [ { + "value" : [ "", "define ", "DecimalPowerUnderflow", ": " ] + }, { + "r" : "456", + "s" : [ { + "r" : "458", + "s" : [ { + "value" : [ "(" ] + }, { + "r" : "458", + "s" : [ { + "value" : [ "minimum", " " ] + }, { + "r" : "457", + "s" : [ { + "value" : [ "Decimal" ] + } ] + } ] + }, { + "value" : [ ")" ] + } ] + }, { + "r" : "459", + "value" : [ "^", "3" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Power", + "localId" : "456", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "463", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "464", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "MinValue", + "localId" : "458", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + }, { + "type" : "ToDecimal", + "localId" : "461", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "462", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "operand" : { + "type" : "Literal", + "localId" : "459", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + } + } ] + } + }, { + "localId" : "467", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "name" : "DecimalSuccessorOverflow", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "467", + "s" : [ { + "value" : [ "", "define ", "DecimalSuccessorOverflow", ": " ] + }, { + "r" : "470", + "s" : [ { + "value" : [ "successor of " ] + }, { + "r" : "469", + "s" : [ { + "value" : [ "maximum", " " ] + }, { + "r" : "468", + "s" : [ { + "value" : [ "Decimal" ] + } ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Successor", + "localId" : "470", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "471", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } ], + "operand" : { + "type" : "MaxValue", + "localId" : "469", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } + } + }, { + "localId" : "474", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "name" : "DecimalPredecessorUnderflow", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "474", + "s" : [ { + "value" : [ "", "define ", "DecimalPredecessorUnderflow", ": " ] + }, { + "r" : "477", + "s" : [ { + "value" : [ "predecessor of " ] + }, { + "r" : "476", + "s" : [ { + "value" : [ "minimum", " " ] + }, { + "r" : "475", + "s" : [ { + "value" : [ "Decimal" ] + } ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Predecessor", + "localId" : "477", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "478", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } ], + "operand" : { + "type" : "MinValue", + "localId" : "476", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } + } + }, { + "localId" : "481", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "name" : "MaxQuantity", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "481", + "s" : [ { + "value" : [ "", "define ", "MaxQuantity", ": " ] + }, { + "r" : "482", + "s" : [ { + "value" : [ "Quantity", " { " ] + }, { + "s" : [ { + "value" : [ "value", ": " ] + }, { + "r" : "485", + "s" : [ { + "value" : [ "maximum", " " ] + }, { + "r" : "484", + "s" : [ { + "value" : [ "Decimal" ] + } ] + } ] + } ] + }, { + "value" : [ ", " ] + }, { + "s" : [ { + "value" : [ "unit", ": " ] + }, { + "r" : "486", + "s" : [ { + "value" : [ "'mm'" ] + } ] + } ] + }, { + "value" : [ " }" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Instance", + "localId" : "482", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "classType" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ], + "element" : [ { + "name" : "value", + "value" : { + "type" : "MaxValue", + "localId" : "485", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } + }, { + "name" : "unit", + "value" : { + "type" : "Literal", + "localId" : "486", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "mm", + "annotation" : [ ] + } + } ] + } + }, { + "localId" : "490", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "name" : "MinQuantity", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "490", + "s" : [ { + "value" : [ "", "define ", "MinQuantity", ": " ] + }, { + "r" : "491", + "s" : [ { + "value" : [ "Quantity", " { " ] + }, { + "s" : [ { + "value" : [ "value", ": " ] + }, { + "r" : "494", + "s" : [ { + "value" : [ "minimum", " " ] + }, { + "r" : "493", + "s" : [ { + "value" : [ "Decimal" ] + } ] + } ] + } ] + }, { + "value" : [ ", " ] + }, { + "s" : [ { + "value" : [ "unit", ": " ] + }, { + "r" : "495", + "s" : [ { + "value" : [ "'mm'" ] + } ] + } ] + }, { + "value" : [ " }" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Instance", + "localId" : "491", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "classType" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ], + "element" : [ { + "name" : "value", + "value" : { + "type" : "MinValue", + "localId" : "494", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } + }, { + "name" : "unit", + "value" : { + "type" : "Literal", + "localId" : "495", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "mm", + "annotation" : [ ] + } + } ] + } + }, { + "localId" : "499", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "name" : "QuantityAddOverflow", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "499", + "s" : [ { + "value" : [ "", "define ", "QuantityAddOverflow", ": " ] + }, { + "r" : "500", + "s" : [ { + "r" : "501", + "s" : [ { + "value" : [ "MaxQuantity" ] + } ] + }, { + "value" : [ " + " ] + }, { + "r" : "502", + "s" : [ { + "value" : [ "1.0 ", "'mm'" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Add", + "localId" : "500", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "503", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "504", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "ExpressionRef", + "localId" : "501", "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", "name" : "MaxQuantity", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "481", - "s" : [ { - "value" : [ "","define ","MaxQuantity",": " ] - }, { - "r" : "482", - "s" : [ { - "value" : [ "Quantity"," { " ] - }, { - "s" : [ { - "value" : [ "value",": " ] - }, { - "r" : "485", - "s" : [ { - "value" : [ "maximum"," " ] - }, { - "r" : "484", - "s" : [ { - "value" : [ "Decimal" ] - } ] - } ] - } ] - }, { - "value" : [ ", " ] - }, { - "s" : [ { - "value" : [ "unit",": " ] - }, { - "r" : "486", - "s" : [ { - "value" : [ "'mm'" ] - } ] - } ] - }, { - "value" : [ " }" ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "482", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "classType" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "Instance", - "element" : [ { - "name" : "value", - "value" : { - "localId" : "485", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "MaxValue" - } - }, { - "name" : "unit", - "value" : { - "localId" : "486", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "mm", - "type" : "Literal" - } - } ] - } - }, { - "localId" : "490", + "annotation" : [ ] + }, { + "type" : "Quantity", + "localId" : "502", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "value" : 1.0, + "unit" : "mm", + "annotation" : [ ] + } ] + } + }, { + "localId" : "507", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "name" : "QuantityAddUnderflow", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "507", + "s" : [ { + "value" : [ "", "define ", "QuantityAddUnderflow", ": " ] + }, { + "r" : "508", + "s" : [ { + "r" : "509", + "s" : [ { + "value" : [ "MinQuantity" ] + } ] + }, { + "value" : [ " + " ] + }, { + "r" : "510", + "s" : [ { + "value" : [ "(" ] + }, { + "r" : "510", + "s" : [ { + "value" : [ "-" ] + }, { + "r" : "511", + "s" : [ { + "value" : [ "1.0 ", "'mm'" ] + } ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Add", + "localId" : "508", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "513", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "514", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "ExpressionRef", + "localId" : "509", "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", "name" : "MinQuantity", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "490", - "s" : [ { - "value" : [ "","define ","MinQuantity",": " ] - }, { - "r" : "491", - "s" : [ { - "value" : [ "Quantity"," { " ] - }, { - "s" : [ { - "value" : [ "value",": " ] - }, { - "r" : "494", - "s" : [ { - "value" : [ "minimum"," " ] - }, { - "r" : "493", - "s" : [ { - "value" : [ "Decimal" ] - } ] - } ] - } ] - }, { - "value" : [ ", " ] - }, { - "s" : [ { - "value" : [ "unit",": " ] - }, { - "r" : "495", - "s" : [ { - "value" : [ "'mm'" ] - } ] - } ] - }, { - "value" : [ " }" ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "491", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "classType" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "Instance", - "element" : [ { - "name" : "value", - "value" : { - "localId" : "494", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "MinValue" - } - }, { - "name" : "unit", - "value" : { - "localId" : "495", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "mm", - "type" : "Literal" - } - } ] - } - }, { - "localId" : "499", + "annotation" : [ ] + }, { + "type" : "Negate", + "localId" : "510", "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "name" : "QuantityAddOverflow", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "499", - "s" : [ { - "value" : [ "","define ","QuantityAddOverflow",": " ] - }, { - "r" : "500", - "s" : [ { - "r" : "501", - "s" : [ { - "value" : [ "MaxQuantity" ] - } ] - }, { - "value" : [ " + " ] - }, { - "r" : "502", - "s" : [ { - "value" : [ "1.0 ","'mm'" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "500", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "Add", - "signature" : [ { - "localId" : "503", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "504", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "501", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "name" : "MaxQuantity", - "type" : "ExpressionRef" - }, { - "localId" : "502", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "value" : 1.0, - "unit" : "mm", - "type" : "Quantity" - } ] - } - }, { - "localId" : "507", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "512", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } ], + "operand" : { + "type" : "Quantity", + "localId" : "511", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "value" : 1.0, + "unit" : "mm", + "annotation" : [ ] + } + } ] + } + }, { + "localId" : "517", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "name" : "QuantitySubtractOverflow", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "517", + "s" : [ { + "value" : [ "", "define ", "QuantitySubtractOverflow", ": " ] + }, { + "r" : "518", + "s" : [ { + "r" : "519", + "s" : [ { + "value" : [ "MaxQuantity" ] + } ] + }, { + "value" : [ " - " ] + }, { + "r" : "520", + "s" : [ { + "value" : [ "(" ] + }, { + "r" : "520", + "s" : [ { + "value" : [ "-" ] + }, { + "r" : "521", + "s" : [ { + "value" : [ "1 ", "'mm'" ] + } ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Subtract", + "localId" : "518", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "523", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "524", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "ExpressionRef", + "localId" : "519", "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "name" : "QuantityAddUnderflow", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "507", - "s" : [ { - "value" : [ "","define ","QuantityAddUnderflow",": " ] - }, { - "r" : "508", - "s" : [ { - "r" : "509", - "s" : [ { - "value" : [ "MinQuantity" ] - } ] - }, { - "value" : [ " + " ] - }, { - "r" : "510", - "s" : [ { - "value" : [ "(" ] - }, { - "r" : "510", - "s" : [ { - "value" : [ "-" ] - }, { - "r" : "511", - "s" : [ { - "value" : [ "1.0 ","'mm'" ] - } ] - } ] - }, { - "value" : [ ")" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "508", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "Add", - "signature" : [ { - "localId" : "513", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "514", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "509", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "name" : "MinQuantity", - "type" : "ExpressionRef" - }, { - "localId" : "510", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "Negate", - "signature" : [ { - "localId" : "512", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "511", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "value" : 1.0, - "unit" : "mm", - "type" : "Quantity" - } - } ] - } - }, { - "localId" : "517", + "name" : "MaxQuantity", + "annotation" : [ ] + }, { + "type" : "Negate", + "localId" : "520", "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "name" : "QuantitySubtractOverflow", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "517", - "s" : [ { - "value" : [ "","define ","QuantitySubtractOverflow",": " ] - }, { - "r" : "518", - "s" : [ { - "r" : "519", - "s" : [ { - "value" : [ "MaxQuantity" ] - } ] - }, { - "value" : [ " - " ] - }, { - "r" : "520", - "s" : [ { - "value" : [ "(" ] - }, { - "r" : "520", - "s" : [ { - "value" : [ "-" ] - }, { - "r" : "521", - "s" : [ { - "value" : [ "1 ","'mm'" ] - } ] - } ] - }, { - "value" : [ ")" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "518", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "Subtract", - "signature" : [ { - "localId" : "523", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "524", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "519", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "name" : "MaxQuantity", - "type" : "ExpressionRef" - }, { - "localId" : "520", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "Negate", - "signature" : [ { - "localId" : "522", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "521", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "value" : 1, - "unit" : "mm", - "type" : "Quantity" - } - } ] - } - }, { - "localId" : "527", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "522", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } ], + "operand" : { + "type" : "Quantity", + "localId" : "521", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "value" : 1, + "unit" : "mm", + "annotation" : [ ] + } + } ] + } + }, { + "localId" : "527", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "name" : "QuantitySubtractUnderflow", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "527", + "s" : [ { + "value" : [ "", "define ", "QuantitySubtractUnderflow", ": " ] + }, { + "r" : "528", + "s" : [ { + "r" : "529", + "s" : [ { + "value" : [ "MinQuantity" ] + } ] + }, { + "value" : [ " - " ] + }, { + "r" : "530", + "s" : [ { + "value" : [ "1 ", "'mm'" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Subtract", + "localId" : "528", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "531", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "532", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "ExpressionRef", + "localId" : "529", "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "name" : "QuantitySubtractUnderflow", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "527", - "s" : [ { - "value" : [ "","define ","QuantitySubtractUnderflow",": " ] - }, { - "r" : "528", - "s" : [ { - "r" : "529", - "s" : [ { - "value" : [ "MinQuantity" ] - } ] - }, { - "value" : [ " - " ] - }, { - "r" : "530", - "s" : [ { - "value" : [ "1 ","'mm'" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "528", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "Subtract", - "signature" : [ { - "localId" : "531", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "532", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "529", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "name" : "MinQuantity", - "type" : "ExpressionRef" - }, { - "localId" : "530", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "value" : 1, - "unit" : "mm", - "type" : "Quantity" - } ] - } - }, { - "localId" : "535", + "name" : "MinQuantity", + "annotation" : [ ] + }, { + "type" : "Quantity", + "localId" : "530", "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "name" : "QuantityMultiplyOverflow", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "535", - "s" : [ { - "value" : [ "","define ","QuantityMultiplyOverflow",": " ] - }, { - "r" : "536", - "s" : [ { - "r" : "537", - "s" : [ { - "value" : [ "MaxQuantity" ] - } ] - }, { - "value" : [ " * " ] - }, { - "r" : "538", - "s" : [ { - "value" : [ "2 ","'mm'" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "536", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "Multiply", - "signature" : [ { - "localId" : "539", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "540", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "537", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "name" : "MaxQuantity", - "type" : "ExpressionRef" - }, { - "localId" : "538", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "value" : 2, - "unit" : "mm", - "type" : "Quantity" - } ] - } - }, { - "localId" : "543", + "value" : 1, + "unit" : "mm", + "annotation" : [ ] + } ] + } + }, { + "localId" : "535", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "name" : "QuantityMultiplyOverflow", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "535", + "s" : [ { + "value" : [ "", "define ", "QuantityMultiplyOverflow", ": " ] + }, { + "r" : "536", + "s" : [ { + "r" : "537", + "s" : [ { + "value" : [ "MaxQuantity" ] + } ] + }, { + "value" : [ " * " ] + }, { + "r" : "538", + "s" : [ { + "value" : [ "2 ", "'mm'" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Multiply", + "localId" : "536", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "539", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "540", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "ExpressionRef", + "localId" : "537", "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "name" : "QuantityMultiplyUnderflow", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "543", - "s" : [ { - "value" : [ "","define ","QuantityMultiplyUnderflow",": " ] - }, { - "r" : "544", - "s" : [ { - "r" : "545", - "s" : [ { - "value" : [ "MinQuantity" ] - } ] - }, { - "value" : [ " * " ] - }, { - "r" : "546", - "s" : [ { - "value" : [ "2 ","'mm'" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "544", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "Multiply", - "signature" : [ { - "localId" : "547", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "548", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "545", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "name" : "MinQuantity", - "type" : "ExpressionRef" - }, { - "localId" : "546", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "value" : 2, - "unit" : "mm", - "type" : "Quantity" - } ] - } - }, { - "localId" : "551", + "name" : "MaxQuantity", + "annotation" : [ ] + }, { + "type" : "Quantity", + "localId" : "538", "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "name" : "QuantityDivideOverflow", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "551", - "s" : [ { - "value" : [ "","define ","QuantityDivideOverflow",": " ] - }, { - "r" : "552", - "s" : [ { - "r" : "553", - "s" : [ { - "value" : [ "MaxQuantity" ] - } ] - }, { - "value" : [ " / " ] - }, { - "r" : "554", - "s" : [ { - "value" : [ "0.5 ","'mm'" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "552", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "Divide", - "signature" : [ { - "localId" : "555", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "556", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "553", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "name" : "MaxQuantity", - "type" : "ExpressionRef" - }, { - "localId" : "554", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "value" : 0.5, - "unit" : "mm", - "type" : "Quantity" - } ] - } - }, { - "localId" : "559", + "value" : 2, + "unit" : "mm", + "annotation" : [ ] + } ] + } + }, { + "localId" : "543", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "name" : "QuantityMultiplyUnderflow", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "543", + "s" : [ { + "value" : [ "", "define ", "QuantityMultiplyUnderflow", ": " ] + }, { + "r" : "544", + "s" : [ { + "r" : "545", + "s" : [ { + "value" : [ "MinQuantity" ] + } ] + }, { + "value" : [ " * " ] + }, { + "r" : "546", + "s" : [ { + "value" : [ "2 ", "'mm'" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Multiply", + "localId" : "544", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "547", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "548", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "ExpressionRef", + "localId" : "545", "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "name" : "QuantityDivideUnderflow", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "559", - "s" : [ { - "value" : [ "","define ","QuantityDivideUnderflow",": " ] - }, { - "r" : "560", - "s" : [ { - "r" : "561", - "s" : [ { - "value" : [ "MinQuantity" ] - } ] - }, { - "value" : [ " / " ] - }, { - "r" : "562", - "s" : [ { - "value" : [ "(" ] - }, { - "r" : "562", - "s" : [ { - "value" : [ "-" ] - }, { - "r" : "563", - "s" : [ { - "value" : [ "0.5 ","'mm'" ] - } ] - } ] - }, { - "value" : [ ")" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "560", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "Divide", - "signature" : [ { - "localId" : "565", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "566", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "561", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "name" : "MinQuantity", - "type" : "ExpressionRef" - }, { - "localId" : "562", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "Negate", - "signature" : [ { - "localId" : "564", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "563", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "value" : 0.5, - "unit" : "mm", - "type" : "Quantity" - } - } ] - } - }, { - "localId" : "569", + "name" : "MinQuantity", + "annotation" : [ ] + }, { + "type" : "Quantity", + "localId" : "546", "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "name" : "QuantityDivideByZero", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "569", - "s" : [ { - "value" : [ "","define ","QuantityDivideByZero",": " ] - }, { - "r" : "570", - "s" : [ { - "r" : "571", - "s" : [ { - "value" : [ "1.0 ","'mm'" ] - } ] - }, { - "value" : [ " / " ] - }, { - "r" : "572", - "s" : [ { - "value" : [ "0 ","'mm'" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "570", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "Divide", - "signature" : [ { - "localId" : "573", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "574", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "571", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "value" : 1.0, - "unit" : "mm", - "type" : "Quantity" - }, { - "localId" : "572", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "value" : 0, - "unit" : "mm", - "type" : "Quantity" - } ] - } - }, { - "localId" : "577", + "value" : 2, + "unit" : "mm", + "annotation" : [ ] + } ] + } + }, { + "localId" : "551", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "name" : "QuantityDivideOverflow", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "551", + "s" : [ { + "value" : [ "", "define ", "QuantityDivideOverflow", ": " ] + }, { + "r" : "552", + "s" : [ { + "r" : "553", + "s" : [ { + "value" : [ "MaxQuantity" ] + } ] + }, { + "value" : [ " / " ] + }, { + "r" : "554", + "s" : [ { + "value" : [ "0.5 ", "'mm'" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Divide", + "localId" : "552", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "555", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "556", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "ExpressionRef", + "localId" : "553", "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "name" : "QuantitySuccessorOverflow", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "577", - "s" : [ { - "value" : [ "","define ","QuantitySuccessorOverflow",": " ] - }, { - "r" : "579", - "s" : [ { - "value" : [ "successor of " ] - }, { - "r" : "578", - "s" : [ { - "value" : [ "MaxQuantity" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "579", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "Successor", - "signature" : [ { - "localId" : "580", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "578", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "name" : "MaxQuantity", - "type" : "ExpressionRef" - } - } - }, { - "localId" : "583", + "name" : "MaxQuantity", + "annotation" : [ ] + }, { + "type" : "Quantity", + "localId" : "554", "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "name" : "QuantityPredecessorUnderflow", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "583", - "s" : [ { - "value" : [ "","define ","QuantityPredecessorUnderflow",": " ] - }, { - "r" : "585", - "s" : [ { - "value" : [ "predecessor of " ] - }, { - "r" : "584", - "s" : [ { - "value" : [ "MinQuantity" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "585", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "Predecessor", - "signature" : [ { - "localId" : "586", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "584", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "name" : "MinQuantity", - "type" : "ExpressionRef" - } - } - }, { - "localId" : "589", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "name" : "DateTimeAddOverflow", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "589", - "s" : [ { - "value" : [ "","define ","DateTimeAddOverflow",": " ] - }, { - "r" : "590", - "s" : [ { - "r" : "592", - "s" : [ { - "value" : [ "maximum"," " ] - }, { - "r" : "591", - "s" : [ { - "value" : [ "DateTime" ] - } ] - } ] - }, { - "value" : [ " + " ] - }, { - "r" : "593", - "s" : [ { - "value" : [ "1 ","day" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "590", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "Add", - "signature" : [ { - "localId" : "594", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "595", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "592", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "valueType" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "MaxValue" - }, { - "localId" : "593", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "value" : 1, - "unit" : "day", - "type" : "Quantity" - } ] - } - }, { - "localId" : "598", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "name" : "DateTimeAddUnderflow", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "598", - "s" : [ { - "value" : [ "","define ","DateTimeAddUnderflow",": " ] - }, { - "r" : "599", - "s" : [ { - "r" : "601", - "s" : [ { - "value" : [ "minimum"," " ] - }, { - "r" : "600", - "s" : [ { - "value" : [ "DateTime" ] - } ] - } ] - }, { - "value" : [ " + " ] - }, { - "r" : "602", - "s" : [ { - "value" : [ "(" ] - }, { - "r" : "602", - "s" : [ { - "value" : [ "-" ] - }, { - "r" : "603", - "s" : [ { - "value" : [ "1 ","day" ] - } ] - } ] - }, { - "value" : [ ")" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "599", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "Add", - "signature" : [ { - "localId" : "605", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "606", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "601", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "valueType" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "MinValue" - }, { - "localId" : "602", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "Negate", - "signature" : [ { - "localId" : "604", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "603", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "value" : 1, - "unit" : "day", - "type" : "Quantity" - } - } ] - } - }, { - "localId" : "609", + "value" : 0.5, + "unit" : "mm", + "annotation" : [ ] + } ] + } + }, { + "localId" : "559", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "name" : "QuantityDivideUnderflow", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "559", + "s" : [ { + "value" : [ "", "define ", "QuantityDivideUnderflow", ": " ] + }, { + "r" : "560", + "s" : [ { + "r" : "561", + "s" : [ { + "value" : [ "MinQuantity" ] + } ] + }, { + "value" : [ " / " ] + }, { + "r" : "562", + "s" : [ { + "value" : [ "(" ] + }, { + "r" : "562", + "s" : [ { + "value" : [ "-" ] + }, { + "r" : "563", + "s" : [ { + "value" : [ "0.5 ", "'mm'" ] + } ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Divide", + "localId" : "560", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "565", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "566", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "ExpressionRef", + "localId" : "561", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "name" : "MinQuantity", + "annotation" : [ ] + }, { + "type" : "Negate", + "localId" : "562", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "564", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } ], + "operand" : { + "type" : "Quantity", + "localId" : "563", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "value" : 0.5, + "unit" : "mm", + "annotation" : [ ] + } + } ] + } + }, { + "localId" : "569", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "name" : "QuantityDivideByZero", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "569", + "s" : [ { + "value" : [ "", "define ", "QuantityDivideByZero", ": " ] + }, { + "r" : "570", + "s" : [ { + "r" : "571", + "s" : [ { + "value" : [ "1.0 ", "'mm'" ] + } ] + }, { + "value" : [ " / " ] + }, { + "r" : "572", + "s" : [ { + "value" : [ "0 ", "'mm'" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Divide", + "localId" : "570", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "573", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "574", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "Quantity", + "localId" : "571", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "value" : 1.0, + "unit" : "mm", + "annotation" : [ ] + }, { + "type" : "Quantity", + "localId" : "572", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "value" : 0, + "unit" : "mm", + "annotation" : [ ] + } ] + } + }, { + "localId" : "577", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "name" : "QuantitySuccessorOverflow", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "577", + "s" : [ { + "value" : [ "", "define ", "QuantitySuccessorOverflow", ": " ] + }, { + "r" : "579", + "s" : [ { + "value" : [ "successor of " ] + }, { + "r" : "578", + "s" : [ { + "value" : [ "MaxQuantity" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Successor", + "localId" : "579", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "580", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } ], + "operand" : { + "type" : "ExpressionRef", + "localId" : "578", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "name" : "MaxQuantity", + "annotation" : [ ] + } + } + }, { + "localId" : "583", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "name" : "QuantityPredecessorUnderflow", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "583", + "s" : [ { + "value" : [ "", "define ", "QuantityPredecessorUnderflow", ": " ] + }, { + "r" : "585", + "s" : [ { + "value" : [ "predecessor of " ] + }, { + "r" : "584", + "s" : [ { + "value" : [ "MinQuantity" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Predecessor", + "localId" : "585", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "586", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } ], + "operand" : { + "type" : "ExpressionRef", + "localId" : "584", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "name" : "MinQuantity", + "annotation" : [ ] + } + } + }, { + "localId" : "589", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "name" : "DateTimeAddOverflow", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "589", + "s" : [ { + "value" : [ "", "define ", "DateTimeAddOverflow", ": " ] + }, { + "r" : "590", + "s" : [ { + "r" : "592", + "s" : [ { + "value" : [ "maximum", " " ] + }, { + "r" : "591", + "s" : [ { + "value" : [ "DateTime" ] + } ] + } ] + }, { + "value" : [ " + " ] + }, { + "r" : "593", + "s" : [ { + "value" : [ "1 ", "day" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Add", + "localId" : "590", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "594", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "595", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "MaxValue", + "localId" : "592", "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "name" : "DateTimeSubtractOverflow", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "609", - "s" : [ { - "value" : [ "","define ","DateTimeSubtractOverflow",": " ] - }, { - "r" : "610", - "s" : [ { - "r" : "612", - "s" : [ { - "value" : [ "maximum"," " ] - }, { - "r" : "611", - "s" : [ { - "value" : [ "DateTime" ] - } ] - } ] - }, { - "value" : [ " - " ] - }, { - "r" : "613", - "s" : [ { - "value" : [ "(" ] - }, { - "r" : "613", - "s" : [ { - "value" : [ "-" ] - }, { - "r" : "614", - "s" : [ { - "value" : [ "1 ","day" ] - } ] - } ] - }, { - "value" : [ ")" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "610", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "Subtract", - "signature" : [ { - "localId" : "616", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "617", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "612", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "valueType" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "MaxValue" - }, { - "localId" : "613", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "Negate", - "signature" : [ { - "localId" : "615", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "614", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "value" : 1, - "unit" : "day", - "type" : "Quantity" - } - } ] - } - }, { - "localId" : "620", + "valueType" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + }, { + "type" : "Quantity", + "localId" : "593", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "value" : 1, + "unit" : "day", + "annotation" : [ ] + } ] + } + }, { + "localId" : "598", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "name" : "DateTimeAddUnderflow", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "598", + "s" : [ { + "value" : [ "", "define ", "DateTimeAddUnderflow", ": " ] + }, { + "r" : "599", + "s" : [ { + "r" : "601", + "s" : [ { + "value" : [ "minimum", " " ] + }, { + "r" : "600", + "s" : [ { + "value" : [ "DateTime" ] + } ] + } ] + }, { + "value" : [ " + " ] + }, { + "r" : "602", + "s" : [ { + "value" : [ "(" ] + }, { + "r" : "602", + "s" : [ { + "value" : [ "-" ] + }, { + "r" : "603", + "s" : [ { + "value" : [ "1 ", "day" ] + } ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Add", + "localId" : "599", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "605", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "606", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "MinValue", + "localId" : "601", "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "name" : "DateTimeSubtractUnderflow", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "620", - "s" : [ { - "value" : [ "","define ","DateTimeSubtractUnderflow",": " ] - }, { - "r" : "621", - "s" : [ { - "r" : "623", - "s" : [ { - "value" : [ "minimum"," " ] - }, { - "r" : "622", - "s" : [ { - "value" : [ "DateTime" ] - } ] - } ] - }, { - "value" : [ " - " ] - }, { - "r" : "624", - "s" : [ { - "value" : [ "1 ","day" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "621", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "Subtract", - "signature" : [ { - "localId" : "625", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "626", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "623", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "valueType" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "MinValue" - }, { - "localId" : "624", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "value" : 1, - "unit" : "day", - "type" : "Quantity" - } ] - } - }, { - "localId" : "629", + "valueType" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + }, { + "type" : "Negate", + "localId" : "602", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "604", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } ], + "operand" : { + "type" : "Quantity", + "localId" : "603", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "value" : 1, + "unit" : "day", + "annotation" : [ ] + } + } ] + } + }, { + "localId" : "609", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "name" : "DateTimeSubtractOverflow", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "609", + "s" : [ { + "value" : [ "", "define ", "DateTimeSubtractOverflow", ": " ] + }, { + "r" : "610", + "s" : [ { + "r" : "612", + "s" : [ { + "value" : [ "maximum", " " ] + }, { + "r" : "611", + "s" : [ { + "value" : [ "DateTime" ] + } ] + } ] + }, { + "value" : [ " - " ] + }, { + "r" : "613", + "s" : [ { + "value" : [ "(" ] + }, { + "r" : "613", + "s" : [ { + "value" : [ "-" ] + }, { + "r" : "614", + "s" : [ { + "value" : [ "1 ", "day" ] + } ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Subtract", + "localId" : "610", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "616", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "617", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "MaxValue", + "localId" : "612", "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "name" : "DateTimeSuccessorOverflow", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "629", - "s" : [ { - "value" : [ "","define ","DateTimeSuccessorOverflow",": " ] - }, { - "r" : "632", - "s" : [ { - "value" : [ "successor of " ] - }, { - "r" : "631", - "s" : [ { - "value" : [ "maximum"," " ] - }, { - "r" : "630", - "s" : [ { - "value" : [ "DateTime" ] - } ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "632", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "Successor", - "signature" : [ { - "localId" : "633", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "631", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "valueType" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "MaxValue" - } - } - }, { - "localId" : "636", + "valueType" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + }, { + "type" : "Negate", + "localId" : "613", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "615", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } ], + "operand" : { + "type" : "Quantity", + "localId" : "614", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "value" : 1, + "unit" : "day", + "annotation" : [ ] + } + } ] + } + }, { + "localId" : "620", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "name" : "DateTimeSubtractUnderflow", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "620", + "s" : [ { + "value" : [ "", "define ", "DateTimeSubtractUnderflow", ": " ] + }, { + "r" : "621", + "s" : [ { + "r" : "623", + "s" : [ { + "value" : [ "minimum", " " ] + }, { + "r" : "622", + "s" : [ { + "value" : [ "DateTime" ] + } ] + } ] + }, { + "value" : [ " - " ] + }, { + "r" : "624", + "s" : [ { + "value" : [ "1 ", "day" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Subtract", + "localId" : "621", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "625", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "626", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "MinValue", + "localId" : "623", "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "name" : "DateTimePredecessorUnderflow", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "636", - "s" : [ { - "value" : [ "","define ","DateTimePredecessorUnderflow",": " ] - }, { - "r" : "639", - "s" : [ { - "value" : [ "predecessor of " ] - }, { - "r" : "638", - "s" : [ { - "value" : [ "minimum"," " ] - }, { - "r" : "637", - "s" : [ { - "value" : [ "DateTime" ] - } ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "639", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "Predecessor", - "signature" : [ { - "localId" : "640", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "638", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "valueType" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "MinValue" - } - } - }, { - "localId" : "643", + "valueType" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + }, { + "type" : "Quantity", + "localId" : "624", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "value" : 1, + "unit" : "day", + "annotation" : [ ] + } ] + } + }, { + "localId" : "629", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "name" : "DateTimeSuccessorOverflow", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "629", + "s" : [ { + "value" : [ "", "define ", "DateTimeSuccessorOverflow", ": " ] + }, { + "r" : "632", + "s" : [ { + "value" : [ "successor of " ] + }, { + "r" : "631", + "s" : [ { + "value" : [ "maximum", " " ] + }, { + "r" : "630", + "s" : [ { + "value" : [ "DateTime" ] + } ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Successor", + "localId" : "632", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "633", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } ], + "operand" : { + "type" : "MaxValue", + "localId" : "631", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "valueType" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + }, { + "localId" : "636", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "name" : "DateTimePredecessorUnderflow", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "636", + "s" : [ { + "value" : [ "", "define ", "DateTimePredecessorUnderflow", ": " ] + }, { + "r" : "639", + "s" : [ { + "value" : [ "predecessor of " ] + }, { + "r" : "638", + "s" : [ { + "value" : [ "minimum", " " ] + }, { + "r" : "637", + "s" : [ { + "value" : [ "DateTime" ] + } ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Predecessor", + "localId" : "639", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "640", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } ], + "operand" : { + "type" : "MinValue", + "localId" : "638", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "valueType" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + }, { + "localId" : "643", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", + "name" : "DateAddOverflow", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "643", + "s" : [ { + "value" : [ "", "define ", "DateAddOverflow", ": " ] + }, { + "r" : "644", + "s" : [ { + "r" : "646", + "s" : [ { + "value" : [ "maximum", " " ] + }, { + "r" : "645", + "s" : [ { + "value" : [ "Date" ] + } ] + } ] + }, { + "value" : [ " + " ] + }, { + "r" : "647", + "s" : [ { + "value" : [ "1 ", "day" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Add", + "localId" : "644", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "648", + "name" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "649", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "MaxValue", + "localId" : "646", "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", - "name" : "DateAddOverflow", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "643", - "s" : [ { - "value" : [ "","define ","DateAddOverflow",": " ] - }, { - "r" : "644", - "s" : [ { - "r" : "646", - "s" : [ { - "value" : [ "maximum"," " ] - }, { - "r" : "645", - "s" : [ { - "value" : [ "Date" ] - } ] - } ] - }, { - "value" : [ " + " ] - }, { - "r" : "647", - "s" : [ { - "value" : [ "1 ","day" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "644", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "Add", - "signature" : [ { - "localId" : "648", - "name" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "649", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "646", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", - "valueType" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "MaxValue" - }, { - "localId" : "647", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "value" : 1, - "unit" : "day", - "type" : "Quantity" - } ] - } - }, { - "localId" : "652", + "valueType" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ] + }, { + "type" : "Quantity", + "localId" : "647", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "value" : 1, + "unit" : "day", + "annotation" : [ ] + } ] + } + }, { + "localId" : "652", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", + "name" : "DateAddUnderflow", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "652", + "s" : [ { + "value" : [ "", "define ", "DateAddUnderflow", ": " ] + }, { + "r" : "653", + "s" : [ { + "r" : "655", + "s" : [ { + "value" : [ "minimum", " " ] + }, { + "r" : "654", + "s" : [ { + "value" : [ "Date" ] + } ] + } ] + }, { + "value" : [ " + " ] + }, { + "r" : "656", + "s" : [ { + "value" : [ "(" ] + }, { + "r" : "656", + "s" : [ { + "value" : [ "-" ] + }, { + "r" : "657", + "s" : [ { + "value" : [ "1 ", "day" ] + } ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Add", + "localId" : "653", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "659", + "name" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "660", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "MinValue", + "localId" : "655", "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", - "name" : "DateAddUnderflow", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "652", - "s" : [ { - "value" : [ "","define ","DateAddUnderflow",": " ] - }, { - "r" : "653", - "s" : [ { - "r" : "655", - "s" : [ { - "value" : [ "minimum"," " ] - }, { - "r" : "654", - "s" : [ { - "value" : [ "Date" ] - } ] - } ] - }, { - "value" : [ " + " ] - }, { - "r" : "656", - "s" : [ { - "value" : [ "(" ] - }, { - "r" : "656", - "s" : [ { - "value" : [ "-" ] - }, { - "r" : "657", - "s" : [ { - "value" : [ "1 ","day" ] - } ] - } ] - }, { - "value" : [ ")" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "653", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "Add", - "signature" : [ { - "localId" : "659", - "name" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "660", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "655", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", - "valueType" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "MinValue" - }, { - "localId" : "656", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "Negate", - "signature" : [ { - "localId" : "658", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "657", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "value" : 1, - "unit" : "day", - "type" : "Quantity" - } - } ] - } - }, { - "localId" : "663", + "valueType" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ] + }, { + "type" : "Negate", + "localId" : "656", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "658", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } ], + "operand" : { + "type" : "Quantity", + "localId" : "657", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "value" : 1, + "unit" : "day", + "annotation" : [ ] + } + } ] + } + }, { + "localId" : "663", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", + "name" : "DateSubtractOverflow", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "663", + "s" : [ { + "value" : [ "", "define ", "DateSubtractOverflow", ": " ] + }, { + "r" : "664", + "s" : [ { + "r" : "666", + "s" : [ { + "value" : [ "maximum", " " ] + }, { + "r" : "665", + "s" : [ { + "value" : [ "Date" ] + } ] + } ] + }, { + "value" : [ " - " ] + }, { + "r" : "667", + "s" : [ { + "value" : [ "(" ] + }, { + "r" : "667", + "s" : [ { + "value" : [ "-" ] + }, { + "r" : "668", + "s" : [ { + "value" : [ "1 ", "day" ] + } ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Subtract", + "localId" : "664", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "670", + "name" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "671", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "MaxValue", + "localId" : "666", "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", - "name" : "DateSubtractOverflow", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "663", - "s" : [ { - "value" : [ "","define ","DateSubtractOverflow",": " ] - }, { - "r" : "664", - "s" : [ { - "r" : "666", - "s" : [ { - "value" : [ "maximum"," " ] - }, { - "r" : "665", - "s" : [ { - "value" : [ "Date" ] - } ] - } ] - }, { - "value" : [ " - " ] - }, { - "r" : "667", - "s" : [ { - "value" : [ "(" ] - }, { - "r" : "667", - "s" : [ { - "value" : [ "-" ] - }, { - "r" : "668", - "s" : [ { - "value" : [ "1 ","day" ] - } ] - } ] - }, { - "value" : [ ")" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "664", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "Subtract", - "signature" : [ { - "localId" : "670", - "name" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "671", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "666", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", - "valueType" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "MaxValue" - }, { - "localId" : "667", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "Negate", - "signature" : [ { - "localId" : "669", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "668", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "value" : 1, - "unit" : "day", - "type" : "Quantity" - } - } ] - } - }, { - "localId" : "674", + "valueType" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ] + }, { + "type" : "Negate", + "localId" : "667", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "669", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } ], + "operand" : { + "type" : "Quantity", + "localId" : "668", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "value" : 1, + "unit" : "day", + "annotation" : [ ] + } + } ] + } + }, { + "localId" : "674", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", + "name" : "DateSubtractUnderflow", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "674", + "s" : [ { + "value" : [ "", "define ", "DateSubtractUnderflow", ": " ] + }, { + "r" : "675", + "s" : [ { + "r" : "677", + "s" : [ { + "value" : [ "minimum", " " ] + }, { + "r" : "676", + "s" : [ { + "value" : [ "Date" ] + } ] + } ] + }, { + "value" : [ " - " ] + }, { + "r" : "678", + "s" : [ { + "value" : [ "1 ", "day" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Subtract", + "localId" : "675", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "679", + "name" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "680", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "MinValue", + "localId" : "677", "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", - "name" : "DateSubtractUnderflow", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "674", - "s" : [ { - "value" : [ "","define ","DateSubtractUnderflow",": " ] - }, { - "r" : "675", - "s" : [ { - "r" : "677", - "s" : [ { - "value" : [ "minimum"," " ] - }, { - "r" : "676", - "s" : [ { - "value" : [ "Date" ] - } ] - } ] - }, { - "value" : [ " - " ] - }, { - "r" : "678", - "s" : [ { - "value" : [ "1 ","day" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "675", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "Subtract", - "signature" : [ { - "localId" : "679", - "name" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "680", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "677", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", - "valueType" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "MinValue" - }, { - "localId" : "678", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "value" : 1, - "unit" : "day", - "type" : "Quantity" - } ] - } - }, { - "localId" : "683", + "valueType" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ] + }, { + "type" : "Quantity", + "localId" : "678", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "value" : 1, + "unit" : "day", + "annotation" : [ ] + } ] + } + }, { + "localId" : "683", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", + "name" : "DateSuccessorOverflow", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "683", + "s" : [ { + "value" : [ "", "define ", "DateSuccessorOverflow", ": " ] + }, { + "r" : "686", + "s" : [ { + "value" : [ "successor of " ] + }, { + "r" : "685", + "s" : [ { + "value" : [ "maximum", " " ] + }, { + "r" : "684", + "s" : [ { + "value" : [ "Date" ] + } ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Successor", + "localId" : "686", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "687", + "name" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ] + } ], + "operand" : { + "type" : "MaxValue", + "localId" : "685", "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", - "name" : "DateSuccessorOverflow", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "683", - "s" : [ { - "value" : [ "","define ","DateSuccessorOverflow",": " ] - }, { - "r" : "686", - "s" : [ { - "value" : [ "successor of " ] - }, { - "r" : "685", - "s" : [ { - "value" : [ "maximum"," " ] - }, { - "r" : "684", - "s" : [ { - "value" : [ "Date" ] - } ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "686", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "Successor", - "signature" : [ { - "localId" : "687", - "name" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "685", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", - "valueType" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "MaxValue" - } - } - }, { - "localId" : "690", + "valueType" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ] + } + } + }, { + "localId" : "690", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", + "name" : "DatePredecessorUnderflow", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "690", + "s" : [ { + "value" : [ "", "define ", "DatePredecessorUnderflow", ": " ] + }, { + "r" : "693", + "s" : [ { + "value" : [ "predecessor of " ] + }, { + "r" : "692", + "s" : [ { + "value" : [ "minimum", " " ] + }, { + "r" : "691", + "s" : [ { + "value" : [ "Date" ] + } ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Predecessor", + "localId" : "693", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "694", + "name" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ] + } ], + "operand" : { + "type" : "MinValue", + "localId" : "692", "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", - "name" : "DatePredecessorUnderflow", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "690", - "s" : [ { - "value" : [ "","define ","DatePredecessorUnderflow",": " ] - }, { - "r" : "693", - "s" : [ { - "value" : [ "predecessor of " ] - }, { - "r" : "692", - "s" : [ { - "value" : [ "minimum"," " ] - }, { - "r" : "691", - "s" : [ { - "value" : [ "Date" ] - } ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "693", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "Predecessor", - "signature" : [ { - "localId" : "694", - "name" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "692", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", - "valueType" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "MinValue" - } - } - }, { - "localId" : "697", + "valueType" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ] + } + } + }, { + "localId" : "697", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Time", + "name" : "TimeAddOverflow", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "697", + "s" : [ { + "value" : [ "", "define ", "TimeAddOverflow", ": " ] + }, { + "r" : "698", + "s" : [ { + "r" : "700", + "s" : [ { + "value" : [ "maximum", " " ] + }, { + "r" : "699", + "s" : [ { + "value" : [ "Time" ] + } ] + } ] + }, { + "value" : [ " + " ] + }, { + "r" : "701", + "s" : [ { + "value" : [ "1 ", "second" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Add", + "localId" : "698", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Time", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "702", + "name" : "{urn:hl7-org:elm-types:r1}Time", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "703", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "MaxValue", + "localId" : "700", "resultTypeName" : "{urn:hl7-org:elm-types:r1}Time", - "name" : "TimeAddOverflow", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "697", - "s" : [ { - "value" : [ "","define ","TimeAddOverflow",": " ] - }, { - "r" : "698", - "s" : [ { - "r" : "700", - "s" : [ { - "value" : [ "maximum"," " ] - }, { - "r" : "699", - "s" : [ { - "value" : [ "Time" ] - } ] - } ] - }, { - "value" : [ " + " ] - }, { - "r" : "701", - "s" : [ { - "value" : [ "1 ","second" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "698", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Time", - "type" : "Add", - "signature" : [ { - "localId" : "702", - "name" : "{urn:hl7-org:elm-types:r1}Time", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "703", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "700", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Time", - "valueType" : "{urn:hl7-org:elm-types:r1}Time", - "type" : "MaxValue" - }, { - "localId" : "701", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "value" : 1, - "unit" : "second", - "type" : "Quantity" - } ] - } - }, { - "localId" : "706", + "valueType" : "{urn:hl7-org:elm-types:r1}Time", + "annotation" : [ ] + }, { + "type" : "Quantity", + "localId" : "701", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "value" : 1, + "unit" : "second", + "annotation" : [ ] + } ] + } + }, { + "localId" : "706", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Time", + "name" : "TimeAddUnderflow", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "706", + "s" : [ { + "value" : [ "", "define ", "TimeAddUnderflow", ": " ] + }, { + "r" : "707", + "s" : [ { + "r" : "709", + "s" : [ { + "value" : [ "minimum", " " ] + }, { + "r" : "708", + "s" : [ { + "value" : [ "Time" ] + } ] + } ] + }, { + "value" : [ " + " ] + }, { + "r" : "710", + "s" : [ { + "value" : [ "(" ] + }, { + "r" : "710", + "s" : [ { + "value" : [ "-" ] + }, { + "r" : "711", + "s" : [ { + "value" : [ "1 ", "second" ] + } ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Add", + "localId" : "707", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Time", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "713", + "name" : "{urn:hl7-org:elm-types:r1}Time", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "714", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "MinValue", + "localId" : "709", "resultTypeName" : "{urn:hl7-org:elm-types:r1}Time", - "name" : "TimeAddUnderflow", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "706", - "s" : [ { - "value" : [ "","define ","TimeAddUnderflow",": " ] - }, { - "r" : "707", - "s" : [ { - "r" : "709", - "s" : [ { - "value" : [ "minimum"," " ] - }, { - "r" : "708", - "s" : [ { - "value" : [ "Time" ] - } ] - } ] - }, { - "value" : [ " + " ] - }, { - "r" : "710", - "s" : [ { - "value" : [ "(" ] - }, { - "r" : "710", - "s" : [ { - "value" : [ "-" ] - }, { - "r" : "711", - "s" : [ { - "value" : [ "1 ","second" ] - } ] - } ] - }, { - "value" : [ ")" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "707", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Time", - "type" : "Add", - "signature" : [ { - "localId" : "713", - "name" : "{urn:hl7-org:elm-types:r1}Time", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "714", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "709", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Time", - "valueType" : "{urn:hl7-org:elm-types:r1}Time", - "type" : "MinValue" - }, { - "localId" : "710", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "Negate", - "signature" : [ { - "localId" : "712", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "711", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "value" : 1, - "unit" : "second", - "type" : "Quantity" - } - } ] - } - }, { - "localId" : "717", + "valueType" : "{urn:hl7-org:elm-types:r1}Time", + "annotation" : [ ] + }, { + "type" : "Negate", + "localId" : "710", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "712", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } ], + "operand" : { + "type" : "Quantity", + "localId" : "711", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "value" : 1, + "unit" : "second", + "annotation" : [ ] + } + } ] + } + }, { + "localId" : "717", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Time", + "name" : "TimeSubtractOverflow", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "717", + "s" : [ { + "value" : [ "", "define ", "TimeSubtractOverflow", ": " ] + }, { + "r" : "718", + "s" : [ { + "r" : "720", + "s" : [ { + "value" : [ "maximum", " " ] + }, { + "r" : "719", + "s" : [ { + "value" : [ "Time" ] + } ] + } ] + }, { + "value" : [ " - " ] + }, { + "r" : "721", + "s" : [ { + "value" : [ "(" ] + }, { + "r" : "721", + "s" : [ { + "value" : [ "-" ] + }, { + "r" : "722", + "s" : [ { + "value" : [ "1 ", "second" ] + } ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Subtract", + "localId" : "718", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Time", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "724", + "name" : "{urn:hl7-org:elm-types:r1}Time", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "725", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "MaxValue", + "localId" : "720", "resultTypeName" : "{urn:hl7-org:elm-types:r1}Time", - "name" : "TimeSubtractOverflow", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "717", - "s" : [ { - "value" : [ "","define ","TimeSubtractOverflow",": " ] - }, { - "r" : "718", - "s" : [ { - "r" : "720", - "s" : [ { - "value" : [ "maximum"," " ] - }, { - "r" : "719", - "s" : [ { - "value" : [ "Time" ] - } ] - } ] - }, { - "value" : [ " - " ] - }, { - "r" : "721", - "s" : [ { - "value" : [ "(" ] - }, { - "r" : "721", - "s" : [ { - "value" : [ "-" ] - }, { - "r" : "722", - "s" : [ { - "value" : [ "1 ","second" ] - } ] - } ] - }, { - "value" : [ ")" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "718", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Time", - "type" : "Subtract", - "signature" : [ { - "localId" : "724", - "name" : "{urn:hl7-org:elm-types:r1}Time", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "725", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "720", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Time", - "valueType" : "{urn:hl7-org:elm-types:r1}Time", - "type" : "MaxValue" - }, { - "localId" : "721", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "Negate", - "signature" : [ { - "localId" : "723", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "722", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "value" : 1, - "unit" : "second", - "type" : "Quantity" - } - } ] - } - }, { - "localId" : "728", + "valueType" : "{urn:hl7-org:elm-types:r1}Time", + "annotation" : [ ] + }, { + "type" : "Negate", + "localId" : "721", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "723", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } ], + "operand" : { + "type" : "Quantity", + "localId" : "722", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "value" : 1, + "unit" : "second", + "annotation" : [ ] + } + } ] + } + }, { + "localId" : "728", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Time", + "name" : "TimeSubtractUnderflow", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "728", + "s" : [ { + "value" : [ "", "define ", "TimeSubtractUnderflow", ": " ] + }, { + "r" : "729", + "s" : [ { + "r" : "731", + "s" : [ { + "value" : [ "minimum", " " ] + }, { + "r" : "730", + "s" : [ { + "value" : [ "Time" ] + } ] + } ] + }, { + "value" : [ " - " ] + }, { + "r" : "732", + "s" : [ { + "value" : [ "1 ", "second" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Subtract", + "localId" : "729", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Time", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "733", + "name" : "{urn:hl7-org:elm-types:r1}Time", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "734", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "MinValue", + "localId" : "731", "resultTypeName" : "{urn:hl7-org:elm-types:r1}Time", - "name" : "TimeSubtractUnderflow", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "728", - "s" : [ { - "value" : [ "","define ","TimeSubtractUnderflow",": " ] - }, { - "r" : "729", - "s" : [ { - "r" : "731", - "s" : [ { - "value" : [ "minimum"," " ] - }, { - "r" : "730", - "s" : [ { - "value" : [ "Time" ] - } ] - } ] - }, { - "value" : [ " - " ] - }, { - "r" : "732", - "s" : [ { - "value" : [ "1 ","second" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "729", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Time", - "type" : "Subtract", - "signature" : [ { - "localId" : "733", - "name" : "{urn:hl7-org:elm-types:r1}Time", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "734", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "731", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Time", - "valueType" : "{urn:hl7-org:elm-types:r1}Time", - "type" : "MinValue" - }, { - "localId" : "732", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "value" : 1, - "unit" : "second", - "type" : "Quantity" - } ] - } - }, { - "localId" : "737", + "valueType" : "{urn:hl7-org:elm-types:r1}Time", + "annotation" : [ ] + }, { + "type" : "Quantity", + "localId" : "732", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "value" : 1, + "unit" : "second", + "annotation" : [ ] + } ] + } + }, { + "localId" : "737", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Time", + "name" : "TimeSuccessorOverflow", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "737", + "s" : [ { + "value" : [ "", "define ", "TimeSuccessorOverflow", ": " ] + }, { + "r" : "740", + "s" : [ { + "value" : [ "successor of " ] + }, { + "r" : "739", + "s" : [ { + "value" : [ "maximum", " " ] + }, { + "r" : "738", + "s" : [ { + "value" : [ "Time" ] + } ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Successor", + "localId" : "740", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Time", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "741", + "name" : "{urn:hl7-org:elm-types:r1}Time", + "annotation" : [ ] + } ], + "operand" : { + "type" : "MaxValue", + "localId" : "739", "resultTypeName" : "{urn:hl7-org:elm-types:r1}Time", - "name" : "TimeSuccessorOverflow", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "737", - "s" : [ { - "value" : [ "","define ","TimeSuccessorOverflow",": " ] - }, { - "r" : "740", - "s" : [ { - "value" : [ "successor of " ] - }, { - "r" : "739", - "s" : [ { - "value" : [ "maximum"," " ] - }, { - "r" : "738", - "s" : [ { - "value" : [ "Time" ] - } ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "740", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Time", - "type" : "Successor", - "signature" : [ { - "localId" : "741", - "name" : "{urn:hl7-org:elm-types:r1}Time", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "739", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Time", - "valueType" : "{urn:hl7-org:elm-types:r1}Time", - "type" : "MaxValue" - } - } - }, { - "localId" : "744", + "valueType" : "{urn:hl7-org:elm-types:r1}Time", + "annotation" : [ ] + } + } + }, { + "localId" : "744", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Time", + "name" : "TimePredecessorUnderflow", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "744", + "s" : [ { + "value" : [ "", "define ", "TimePredecessorUnderflow", ": " ] + }, { + "r" : "747", + "s" : [ { + "value" : [ "predecessor of " ] + }, { + "r" : "746", + "s" : [ { + "value" : [ "minimum", " " ] + }, { + "r" : "745", + "s" : [ { + "value" : [ "Time" ] + } ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Predecessor", + "localId" : "747", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Time", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "748", + "name" : "{urn:hl7-org:elm-types:r1}Time", + "annotation" : [ ] + } ], + "operand" : { + "type" : "MinValue", + "localId" : "746", "resultTypeName" : "{urn:hl7-org:elm-types:r1}Time", - "name" : "TimePredecessorUnderflow", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "744", - "s" : [ { - "value" : [ "","define ","TimePredecessorUnderflow",": " ] - }, { - "r" : "747", - "s" : [ { - "value" : [ "predecessor of " ] - }, { - "r" : "746", - "s" : [ { - "value" : [ "minimum"," " ] - }, { - "r" : "745", - "s" : [ { - "value" : [ "Time" ] - } ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "747", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Time", - "type" : "Predecessor", - "signature" : [ { - "localId" : "748", - "name" : "{urn:hl7-org:elm-types:r1}Time", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "746", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Time", - "valueType" : "{urn:hl7-org:elm-types:r1}Time", - "type" : "MinValue" - } - } - }, { - "localId" : "751", + "valueType" : "{urn:hl7-org:elm-types:r1}Time", + "annotation" : [ ] + } + } + }, { + "localId" : "751", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "name" : "ExpOverflow", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "751", + "s" : [ { + "value" : [ "", "define ", "ExpOverflow", ": " ] + }, { + "r" : "757", + "s" : [ { + "value" : [ "Exp", "(" ] + }, { + "r" : "753", + "s" : [ { + "value" : [ "maximum", " " ] + }, { + "r" : "752", + "s" : [ { + "value" : [ "Decimal" ] + } ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Exp", + "localId" : "757", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "758", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } ], + "operand" : { + "type" : "MaxValue", + "localId" : "753", "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "name" : "ExpOverflow", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "751", - "s" : [ { - "value" : [ "","define ","ExpOverflow",": " ] - }, { - "r" : "757", - "s" : [ { - "value" : [ "Exp","(" ] - }, { - "r" : "753", - "s" : [ { - "value" : [ "maximum"," " ] - }, { - "r" : "752", - "s" : [ { - "value" : [ "Decimal" ] - } ] - } ] - }, { - "value" : [ ")" ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "757", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "Exp", - "signature" : [ { - "localId" : "758", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "753", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "MaxValue" - } - } - } ] - } - } + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } + } + } ] + } + } } diff --git a/test/elm/clinical/data.js b/test/elm/clinical/data.js index a9c77ccc..9fb43074 100644 --- a/test/elm/clinical/data.js +++ b/test/elm/clinical/data.js @@ -21,211 +21,226 @@ define ResolveValueSet: "Unknown Three Arg" */ module.exports['ValueSetDef'] = { - "library" : { - "localId" : "0", - "annotation" : [ { - "translatorVersion" : "3.27.0", - "translatorOptions" : "EnableDateRangeOptimization,EnableAnnotations,EnableResultTypes", - "signatureLevel" : "All", - "type" : "CqlToElmInfo" - }, { - "type" : "Annotation", - "s" : { - "r" : "225", + "library" : { + "localId" : "0", + "annotation" : [ { + "type" : "CqlToElmInfo", + "translatorVersion" : "4.2.0", + "translatorOptions" : "EnableDateRangeOptimization,EnableAnnotations,EnableResultTypes", + "signatureLevel" : "All" + }, { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "225", + "s" : [ { + "value" : [ "", "library TestSnippet version '1'" ] + } ] + } + } ], + "identifier" : { + "id" : "TestSnippet", + "version" : "1" + }, + "schemaIdentifier" : { + "id" : "urn:hl7-org:elm", + "version" : "r1" + }, + "usings" : { + "def" : [ { + "localId" : "1", + "localIdentifier" : "System", + "uri" : "urn:hl7-org:elm-types:r1", + "annotation" : [ ] + }, { + "localId" : "206", + "localIdentifier" : "Simple", + "uri" : "https://github.com/cqframework/cql-execution/simple", + "version" : "1.0.0", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "206", "s" : [ { - "value" : [ "","library TestSnippet version '1'" ] - } ] - } - } ], - "identifier" : { - "id" : "TestSnippet", - "version" : "1" - }, - "schemaIdentifier" : { - "id" : "urn:hl7-org:elm", - "version" : "r1" - }, - "usings" : { - "def" : [ { - "localId" : "1", - "localIdentifier" : "System", - "uri" : "urn:hl7-org:elm-types:r1" - }, { - "localId" : "206", - "localIdentifier" : "Simple", - "uri" : "https://github.com/cqframework/cql-execution/simple", - "version" : "1.0.0", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "206", - "s" : [ { - "value" : [ "","using " ] - }, { - "s" : [ { - "value" : [ "Simple" ] - } ] - }, { - "value" : [ " version '1.0.0'" ] - } ] - } + "value" : [ "", "using " ] + }, { + "s" : [ { + "value" : [ "Simple" ] + } ] + }, { + "value" : [ " version '1.0.0'" ] } ] - } ] - }, - "codeSystems" : { - "def" : [ { - "localId" : "214", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}CodeSystem", - "name" : "CS4VS", - "id" : "http://loinc.org", - "version" : "2", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "214", - "s" : [ { - "value" : [ "","codesystem ","\"CS4VS\"",": ","'http://loinc.org'"," version ","'2'" ] - } ] - } + } + } ] + } ] + }, + "codeSystems" : { + "def" : [ { + "localId" : "214", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}CodeSystem", + "name" : "CS4VS", + "id" : "http://loinc.org", + "version" : "2", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "214", + "s" : [ { + "value" : [ "", "codesystem ", "\"CS4VS\"", ": ", "'http://loinc.org'", " version ", "'2'" ] } ] - } ] - }, - "valueSets" : { - "def" : [ { - "localId" : "208", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}ValueSet", - "name" : "Known", - "id" : "2.16.840.1.113883.3.464.1003.101.12.1061", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "208", - "s" : [ { - "value" : [ "","valueset ","\"Known\"",": ","'2.16.840.1.113883.3.464.1003.101.12.1061'" ] - } ] - } - } ], - "codeSystem" : [ ] - }, { - "localId" : "210", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}ValueSet", - "name" : "Unknown One Arg", - "id" : "1.2.3.4.5.6.7.8.9", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "210", - "s" : [ { - "value" : [ "","valueset ","\"Unknown One Arg\"",": ","'1.2.3.4.5.6.7.8.9'" ] - } ] - } - } ], - "codeSystem" : [ ] - }, { - "localId" : "212", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}ValueSet", - "name" : "Unknown Two Arg", - "id" : "1.2.3.4.5.6.7.8.9", - "version" : "1", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "212", - "s" : [ { - "value" : [ "","valueset ","\"Unknown Two Arg\"",": ","'1.2.3.4.5.6.7.8.9'"," version ","'1'" ] - } ] - } - } ], - "codeSystem" : [ ] - }, { - "localId" : "216", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}ValueSet", - "name" : "Unknown Three Arg", - "id" : "1.2.3.4.5.6.7.8.9", - "version" : "1", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "216", - "s" : [ { - "value" : [ "","valueset ","\"Unknown Three Arg\"",": ","'1.2.3.4.5.6.7.8.9'"," version ","'1'"," codesystems { " ] - }, { - "r" : "217", - "s" : [ { - "value" : [ "\"CS4VS\"" ] - } ] - }, { - "value" : [ " }" ] - } ] - } - } ], - "codeSystem" : [ { - "localId" : "217", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}CodeSystem", - "name" : "CS4VS" - } ] - } ] - }, - "contexts" : { - "def" : [ { - "localId" : "222", - "name" : "Patient" - } ] - }, - "statements" : { - "def" : [ { - "localId" : "220", - "name" : "Patient", - "context" : "Patient", - "expression" : { - "localId" : "221", - "type" : "SingletonFrom", - "signature" : [ ], - "operand" : { - "localId" : "219", - "dataType" : "{https://github.com/cqframework/cql-execution/simple}Patient", - "type" : "Retrieve", - "include" : [ ], - "codeFilter" : [ ], - "dateFilter" : [ ], - "otherFilter" : [ ] - } - } - }, { - "localId" : "225", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}ValueSet", - "name" : "ResolveValueSet", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "225", - "s" : [ { - "value" : [ "","define ","ResolveValueSet",": " ] - }, { - "r" : "226", - "s" : [ { - "value" : [ "\"Unknown Three Arg\"" ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "226", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}ValueSet", - "name" : "Unknown Three Arg", - "preserve" : true, - "type" : "ValueSetRef" - } - } ] - } - } + } + } ] + } ] + }, + "valueSets" : { + "def" : [ { + "localId" : "208", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}ValueSet", + "name" : "Known", + "id" : "2.16.840.1.113883.3.464.1003.101.12.1061", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "208", + "s" : [ { + "value" : [ "", "valueset ", "\"Known\"", ": ", "'2.16.840.1.113883.3.464.1003.101.12.1061'" ] + } ] + } + } ], + "codeSystem" : [ ] + }, { + "localId" : "210", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}ValueSet", + "name" : "Unknown One Arg", + "id" : "1.2.3.4.5.6.7.8.9", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "210", + "s" : [ { + "value" : [ "", "valueset ", "\"Unknown One Arg\"", ": ", "'1.2.3.4.5.6.7.8.9'" ] + } ] + } + } ], + "codeSystem" : [ ] + }, { + "localId" : "212", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}ValueSet", + "name" : "Unknown Two Arg", + "id" : "1.2.3.4.5.6.7.8.9", + "version" : "1", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "212", + "s" : [ { + "value" : [ "", "valueset ", "\"Unknown Two Arg\"", ": ", "'1.2.3.4.5.6.7.8.9'", " version ", "'1'" ] + } ] + } + } ], + "codeSystem" : [ ] + }, { + "localId" : "216", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}ValueSet", + "name" : "Unknown Three Arg", + "id" : "1.2.3.4.5.6.7.8.9", + "version" : "1", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "216", + "s" : [ { + "value" : [ "", "valueset ", "\"Unknown Three Arg\"", ": ", "'1.2.3.4.5.6.7.8.9'", " version ", "'1'", " codesystems { " ] + }, { + "r" : "217", + "s" : [ { + "value" : [ "\"CS4VS\"" ] + } ] + }, { + "value" : [ " }" ] + } ] + } + } ], + "codeSystem" : [ { + "localId" : "217", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}CodeSystem", + "name" : "CS4VS", + "annotation" : [ ] + } ] + } ] + }, + "contexts" : { + "def" : [ { + "localId" : "222", + "name" : "Patient", + "annotation" : [ ] + } ] + }, + "statements" : { + "def" : [ { + "localId" : "220", + "name" : "Patient", + "context" : "Patient", + "annotation" : [ ], + "expression" : { + "type" : "SingletonFrom", + "localId" : "221", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Retrieve", + "localId" : "219", + "dataType" : "{https://github.com/cqframework/cql-execution/simple}Patient", + "annotation" : [ ], + "include" : [ ], + "codeFilter" : [ ], + "dateFilter" : [ ], + "otherFilter" : [ ] + } + } + }, { + "localId" : "225", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}ValueSet", + "name" : "ResolveValueSet", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "225", + "s" : [ { + "value" : [ "", "define ", "ResolveValueSet", ": " ] + }, { + "r" : "226", + "s" : [ { + "value" : [ "\"Unknown Three Arg\"" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "ValueSetRef", + "localId" : "226", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}ValueSet", + "name" : "Unknown Three Arg", + "preserve" : true, + "annotation" : [ ] + } + } ] + } + } } /* ValueSetRef @@ -237,131 +252,141 @@ define Foo: "Acute Pharyngitis" */ module.exports['ValueSetRef'] = { - "library" : { - "localId" : "0", - "annotation" : [ { - "translatorVersion" : "3.27.0", - "translatorOptions" : "EnableDateRangeOptimization,EnableAnnotations,EnableResultTypes", - "signatureLevel" : "All", - "type" : "CqlToElmInfo" - }, { - "type" : "Annotation", - "s" : { + "library" : { + "localId" : "0", + "annotation" : [ { + "type" : "CqlToElmInfo", + "translatorVersion" : "4.2.0", + "translatorOptions" : "EnableDateRangeOptimization,EnableAnnotations,EnableResultTypes", + "signatureLevel" : "All" + }, { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "216", + "s" : [ { + "value" : [ "", "library TestSnippet version '1'" ] + } ] + } + } ], + "identifier" : { + "id" : "TestSnippet", + "version" : "1" + }, + "schemaIdentifier" : { + "id" : "urn:hl7-org:elm", + "version" : "r1" + }, + "usings" : { + "def" : [ { + "localId" : "1", + "localIdentifier" : "System", + "uri" : "urn:hl7-org:elm-types:r1", + "annotation" : [ ] + }, { + "localId" : "206", + "localIdentifier" : "Simple", + "uri" : "https://github.com/cqframework/cql-execution/simple", + "version" : "1.0.0", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "206", + "s" : [ { + "value" : [ "", "using " ] + }, { + "s" : [ { + "value" : [ "Simple" ] + } ] + }, { + "value" : [ " version '1.0.0'" ] + } ] + } + } ] + } ] + }, + "valueSets" : { + "def" : [ { + "localId" : "208", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}ValueSet", + "name" : "Acute Pharyngitis", + "id" : "2.16.840.1.113883.3.464.1003.101.12.1001", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "208", + "s" : [ { + "value" : [ "", "valueset ", "\"Acute Pharyngitis\"", ": ", "'2.16.840.1.113883.3.464.1003.101.12.1001'" ] + } ] + } + } ], + "codeSystem" : [ ] + } ] + }, + "contexts" : { + "def" : [ { + "localId" : "213", + "name" : "Patient", + "annotation" : [ ] + } ] + }, + "statements" : { + "def" : [ { + "localId" : "211", + "name" : "Patient", + "context" : "Patient", + "annotation" : [ ], + "expression" : { + "type" : "SingletonFrom", + "localId" : "212", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Retrieve", + "localId" : "210", + "dataType" : "{https://github.com/cqframework/cql-execution/simple}Patient", + "annotation" : [ ], + "include" : [ ], + "codeFilter" : [ ], + "dateFilter" : [ ], + "otherFilter" : [ ] + } + } + }, { + "localId" : "216", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}ValueSet", + "name" : "Foo", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { "r" : "216", "s" : [ { - "value" : [ "","library TestSnippet version '1'" ] - } ] - } - } ], - "identifier" : { - "id" : "TestSnippet", - "version" : "1" - }, - "schemaIdentifier" : { - "id" : "urn:hl7-org:elm", - "version" : "r1" - }, - "usings" : { - "def" : [ { - "localId" : "1", - "localIdentifier" : "System", - "uri" : "urn:hl7-org:elm-types:r1" - }, { - "localId" : "206", - "localIdentifier" : "Simple", - "uri" : "https://github.com/cqframework/cql-execution/simple", - "version" : "1.0.0", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "206", - "s" : [ { - "value" : [ "","using " ] - }, { - "s" : [ { - "value" : [ "Simple" ] - } ] - }, { - "value" : [ " version '1.0.0'" ] - } ] - } + "value" : [ "", "define ", "Foo", ": " ] + }, { + "r" : "217", + "s" : [ { + "value" : [ "\"Acute Pharyngitis\"" ] + } ] } ] - } ] - }, - "valueSets" : { - "def" : [ { - "localId" : "208", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}ValueSet", - "name" : "Acute Pharyngitis", - "id" : "2.16.840.1.113883.3.464.1003.101.12.1001", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "208", - "s" : [ { - "value" : [ "","valueset ","\"Acute Pharyngitis\"",": ","'2.16.840.1.113883.3.464.1003.101.12.1001'" ] - } ] - } - } ], - "codeSystem" : [ ] - } ] - }, - "contexts" : { - "def" : [ { - "localId" : "213", - "name" : "Patient" - } ] - }, - "statements" : { - "def" : [ { - "localId" : "211", - "name" : "Patient", - "context" : "Patient", - "expression" : { - "localId" : "212", - "type" : "SingletonFrom", - "signature" : [ ], - "operand" : { - "localId" : "210", - "dataType" : "{https://github.com/cqframework/cql-execution/simple}Patient", - "type" : "Retrieve", - "include" : [ ], - "codeFilter" : [ ], - "dateFilter" : [ ], - "otherFilter" : [ ] - } - } - }, { - "localId" : "216", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}ValueSet", - "name" : "Foo", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "216", - "s" : [ { - "value" : [ "","define ","Foo",": " ] - }, { - "r" : "217", - "s" : [ { - "value" : [ "\"Acute Pharyngitis\"" ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "217", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}ValueSet", - "name" : "Acute Pharyngitis", - "preserve" : true, - "type" : "ValueSetRef" - } - } ] - } - } + } + } ], + "expression" : { + "type" : "ValueSetRef", + "localId" : "217", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}ValueSet", + "name" : "Acute Pharyngitis", + "preserve" : true, + "annotation" : [ ] + } + } ] + } + } } /* AnyInValueSet @@ -395,1559 +420,1721 @@ define ListInNullVS: ListInVS(null as ValueSet) */ module.exports['AnyInValueSet'] = { - "library" : { - "localId" : "0", - "annotation" : [ { - "translatorVersion" : "3.27.0", - "translatorOptions" : "EnableDateRangeOptimization,EnableAnnotations,EnableResultTypes", - "signatureLevel" : "All", - "type" : "CqlToElmInfo" - }, { - "type" : "Annotation", - "s" : { - "r" : "410", + "library" : { + "localId" : "0", + "annotation" : [ { + "type" : "CqlToElmInfo", + "translatorVersion" : "4.2.0", + "translatorOptions" : "EnableDateRangeOptimization,EnableAnnotations,EnableResultTypes", + "signatureLevel" : "All" + }, { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "410", + "s" : [ { + "value" : [ "", "library TestSnippet version '1'" ] + } ] + } + } ], + "identifier" : { + "id" : "TestSnippet", + "version" : "1" + }, + "schemaIdentifier" : { + "id" : "urn:hl7-org:elm", + "version" : "r1" + }, + "usings" : { + "def" : [ { + "localId" : "1", + "localIdentifier" : "System", + "uri" : "urn:hl7-org:elm-types:r1", + "annotation" : [ ] + }, { + "localId" : "206", + "localIdentifier" : "Simple", + "uri" : "https://github.com/cqframework/cql-execution/simple", + "version" : "1.0.0", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "206", "s" : [ { - "value" : [ "","library TestSnippet version '1'" ] - } ] - } - } ], - "identifier" : { - "id" : "TestSnippet", - "version" : "1" - }, - "schemaIdentifier" : { - "id" : "urn:hl7-org:elm", - "version" : "r1" - }, - "usings" : { - "def" : [ { - "localId" : "1", - "localIdentifier" : "System", - "uri" : "urn:hl7-org:elm-types:r1" - }, { - "localId" : "206", - "localIdentifier" : "Simple", - "uri" : "https://github.com/cqframework/cql-execution/simple", - "version" : "1.0.0", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "206", - "s" : [ { - "value" : [ "","using " ] - }, { - "s" : [ { - "value" : [ "Simple" ] - } ] - }, { - "value" : [ " version '1.0.0'" ] - } ] - } + "value" : [ "", "using " ] + }, { + "s" : [ { + "value" : [ "Simple" ] + } ] + }, { + "value" : [ " version '1.0.0'" ] } ] - } ] - }, - "codeSystems" : { - "def" : [ { - "localId" : "214", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}CodeSystem", - "name" : "SNOMED", - "id" : "http://snomed.info/sct", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "214", + } + } ] + } ] + }, + "codeSystems" : { + "def" : [ { + "localId" : "214", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}CodeSystem", + "name" : "SNOMED", + "id" : "http://snomed.info/sct", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "214", + "s" : [ { + "value" : [ "", "codesystem ", "\"SNOMED\"", ": ", "'http://snomed.info/sct'" ] + } ] + } + } ] + } ] + }, + "valueSets" : { + "def" : [ { + "localId" : "208", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}ValueSet", + "name" : "Major Depressive Disorder Active", + "id" : "2.16.840.1.113883.3.526.3.1491", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "208", + "s" : [ { + "value" : [ "", "valueset ", "\"Major Depressive Disorder Active\"", ": ", "'2.16.840.1.113883.3.526.3.1491'" ] + } ] + } + } ], + "codeSystem" : [ ] + }, { + "localId" : "210", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}ValueSet", + "name" : "Male", + "id" : "2.16.840.1.113883.3.560.100.1", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "210", + "s" : [ { + "value" : [ "", "valueset ", "\"Male\"", ": ", "'2.16.840.1.113883.3.560.100.1'" ] + } ] + } + } ], + "codeSystem" : [ ] + }, { + "localId" : "212", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}ValueSet", + "name" : "UnknownAny", + "id" : "1.2.3.4.5.6.7.8.9", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "212", + "s" : [ { + "value" : [ "", "valueset ", "\"UnknownAny\"", ": ", "'1.2.3.4.5.6.7.8.9'" ] + } ] + } + } ], + "codeSystem" : [ ] + } ] + }, + "codes" : { + "def" : [ { + "localId" : "216", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Code", + "name" : "ChronicRecurrentDepression", + "id" : "2618002", + "display" : "Chronic recurrent major depressive disorder (disorder)", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "216", + "s" : [ { + "value" : [ "", "code ", "\"ChronicRecurrentDepression\"", ": ", "'2618002'", " from " ] + }, { + "r" : "217", + "s" : [ { + "value" : [ "\"SNOMED\"" ] + } ] + }, { + "value" : [ " display ", "'Chronic recurrent major depressive disorder (disorder)'" ] + } ] + } + } ], + "codeSystem" : { + "localId" : "217", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}CodeSystem", + "name" : "SNOMED", + "annotation" : [ ] + } + }, { + "localId" : "219", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Code", + "name" : "ModerateMajorDepression", + "id" : "832007", + "display" : "Moderate major depression (disorder)", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "219", + "s" : [ { + "value" : [ "", "code ", "\"ModerateMajorDepression\"", ": ", "'832007'", " from " ] + }, { + "r" : "220", + "s" : [ { + "value" : [ "\"SNOMED\"" ] + } ] + }, { + "value" : [ " display ", "'Moderate major depression (disorder)'" ] + } ] + } + } ], + "codeSystem" : { + "localId" : "220", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}CodeSystem", + "name" : "SNOMED", + "annotation" : [ ] + } + } ] + }, + "concepts" : { + "def" : [ { + "localId" : "222", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Concept", + "name" : "Depression Concept", + "display" : "Depression Concept", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "222", + "s" : [ { + "value" : [ "", "concept ", "\"Depression Concept\"", ": { " ] + }, { + "r" : "223", + "s" : [ { + "value" : [ "\"ChronicRecurrentDepression\"" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "224", + "s" : [ { + "value" : [ "\"ModerateMajorDepression\"" ] + } ] + }, { + "value" : [ " } display ", "'Depression Concept'" ] + } ] + } + } ], + "code" : [ { + "localId" : "223", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Code", + "name" : "ChronicRecurrentDepression", + "annotation" : [ ] + }, { + "localId" : "224", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Code", + "name" : "ModerateMajorDepression", + "annotation" : [ ] + } ] + } ] + }, + "contexts" : { + "def" : [ { + "localId" : "228", + "name" : "Patient", + "annotation" : [ ] + } ] + }, + "statements" : { + "def" : [ { + "localId" : "226", + "name" : "Patient", + "context" : "Patient", + "annotation" : [ ], + "expression" : { + "type" : "SingletonFrom", + "localId" : "227", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Retrieve", + "localId" : "225", + "dataType" : "{https://github.com/cqframework/cql-execution/simple}Patient", + "annotation" : [ ], + "include" : [ ], + "codeFilter" : [ ], + "dateFilter" : [ ], + "otherFilter" : [ ] + } + } + }, { + "localId" : "231", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "AnyInListOfConcepts", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "231", + "s" : [ { + "value" : [ "", "define ", "AnyInListOfConcepts", ": " ] + }, { + "r" : "237", + "s" : [ { + "r" : "232", + "s" : [ { + "value" : [ "{ " ] + }, { + "r" : "233", "s" : [ { - "value" : [ "","codesystem ","\"SNOMED\"",": ","'http://snomed.info/sct'" ] - } ] - } + "value" : [ "\"Depression Concept\"" ] + } ] + }, { + "value" : [ " }" ] + } ] + }, { + "value" : [ " in " ] + }, { + "r" : "236", + "s" : [ { + "value" : [ "\"Major Depressive Disorder Active\"" ] + } ] + } ] } ] - } ] - }, - "valueSets" : { - "def" : [ { - "localId" : "208", + } + } ], + "expression" : { + "type" : "AnyInValueSet", + "localId" : "237", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "ListTypeSpecifier", + "localId" : "238", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "239", + "name" : "{urn:hl7-org:elm-types:r1}Concept", + "annotation" : [ ] + } + } ], + "codes" : { + "type" : "List", + "localId" : "232", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "234", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "235", + "name" : "{urn:hl7-org:elm-types:r1}Concept", + "annotation" : [ ] + } + }, + "element" : [ { + "type" : "ConceptRef", + "localId" : "233", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Concept", + "name" : "Depression Concept", + "annotation" : [ ] + } ] + }, + "valueset" : { + "localId" : "236", "resultTypeName" : "{urn:hl7-org:elm-types:r1}ValueSet", "name" : "Major Depressive Disorder Active", - "id" : "2.16.840.1.113883.3.526.3.1491", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "208", - "s" : [ { - "value" : [ "","valueset ","\"Major Depressive Disorder Active\"",": ","'2.16.840.1.113883.3.526.3.1491'" ] - } ] - } - } ], - "codeSystem" : [ ] - }, { - "localId" : "210", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}ValueSet", - "name" : "Male", - "id" : "2.16.840.1.113883.3.560.100.1", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "210", - "s" : [ { - "value" : [ "","valueset ","\"Male\"",": ","'2.16.840.1.113883.3.560.100.1'" ] - } ] - } - } ], - "codeSystem" : [ ] - }, { - "localId" : "212", + "preserve" : true, + "annotation" : [ ] + } + } + }, { + "localId" : "242", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "AnyInListOfCodes", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "242", + "s" : [ { + "value" : [ "", "define ", "AnyInListOfCodes", ": " ] + }, { + "r" : "249", + "s" : [ { + "r" : "243", + "s" : [ { + "value" : [ "{ " ] + }, { + "r" : "244", + "s" : [ { + "value" : [ "\"ChronicRecurrentDepression\"" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "245", + "s" : [ { + "value" : [ "\"ModerateMajorDepression\"" ] + } ] + }, { + "value" : [ " }" ] + } ] + }, { + "value" : [ " in " ] + }, { + "r" : "248", + "s" : [ { + "value" : [ "\"Major Depressive Disorder Active\"" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "AnyInValueSet", + "localId" : "249", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "ListTypeSpecifier", + "localId" : "250", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "251", + "name" : "{urn:hl7-org:elm-types:r1}Code", + "annotation" : [ ] + } + } ], + "codes" : { + "type" : "List", + "localId" : "243", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "246", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "247", + "name" : "{urn:hl7-org:elm-types:r1}Code", + "annotation" : [ ] + } + }, + "element" : [ { + "type" : "CodeRef", + "localId" : "244", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Code", + "name" : "ChronicRecurrentDepression", + "annotation" : [ ] + }, { + "type" : "CodeRef", + "localId" : "245", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Code", + "name" : "ModerateMajorDepression", + "annotation" : [ ] + } ] + }, + "valueset" : { + "localId" : "248", "resultTypeName" : "{urn:hl7-org:elm-types:r1}ValueSet", - "name" : "UnknownAny", - "id" : "1.2.3.4.5.6.7.8.9", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "212", - "s" : [ { - "value" : [ "","valueset ","\"UnknownAny\"",": ","'1.2.3.4.5.6.7.8.9'" ] - } ] - } - } ], - "codeSystem" : [ ] - } ] - }, - "codes" : { - "def" : [ { - "localId" : "216", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Code", - "name" : "ChronicRecurrentDepression", - "id" : "2618002", - "display" : "Chronic recurrent major depressive disorder (disorder)", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "216", + "name" : "Major Depressive Disorder Active", + "preserve" : true, + "annotation" : [ ] + } + } + }, { + "localId" : "254", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "AnyInListOfStrings", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "254", + "s" : [ { + "value" : [ "", "define ", "AnyInListOfStrings", ": " ] + }, { + "r" : "263", + "s" : [ { + "r" : "255", + "s" : [ { + "value" : [ "{ " ] + }, { + "r" : "256", "s" : [ { - "value" : [ "","code ","\"ChronicRecurrentDepression\"",": ","'2618002'"," from " ] - }, { - "r" : "217", - "s" : [ { - "value" : [ "\"SNOMED\"" ] - } ] - }, { - "value" : [ " display ","'Chronic recurrent major depressive disorder (disorder)'" ] + "value" : [ "'2618002'" ] } ] - } - } ], - "codeSystem" : { - "localId" : "217", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}CodeSystem", - "name" : "SNOMED" - } - }, { - "localId" : "219", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Code", - "name" : "ModerateMajorDepression", - "id" : "832007", - "display" : "Moderate major depression (disorder)", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "219", + }, { + "value" : [ ", " ] + }, { + "r" : "258", "s" : [ { - "value" : [ "","code ","\"ModerateMajorDepression\"",": ","'832007'"," from " ] - }, { - "r" : "220", - "s" : [ { - "value" : [ "\"SNOMED\"" ] - } ] - }, { - "value" : [ " display ","'Moderate major depression (disorder)'" ] - } ] - } - } ], - "codeSystem" : { - "localId" : "220", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}CodeSystem", - "name" : "SNOMED" + "value" : [ "'12345'" ] + } ] + }, { + "value" : [ " }" ] + } ] + }, { + "value" : [ " in " ] + }, { + "r" : "262", + "s" : [ { + "value" : [ "\"Major Depressive Disorder Active\"" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "AnyInValueSet", + "localId" : "263", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "ListTypeSpecifier", + "localId" : "264", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "265", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] } - } ] - }, - "concepts" : { - "def" : [ { - "localId" : "222", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Concept", - "name" : "Depression Concept", - "display" : "Depression Concept", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "222", - "s" : [ { - "value" : [ "","concept ","\"Depression Concept\"",": { " ] - }, { - "r" : "223", - "s" : [ { - "value" : [ "\"ChronicRecurrentDepression\"" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "224", - "s" : [ { - "value" : [ "\"ModerateMajorDepression\"" ] - } ] - }, { - "value" : [ " } display ","'Depression Concept'" ] - } ] - } - } ], - "code" : [ { - "localId" : "223", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Code", - "name" : "ChronicRecurrentDepression" - }, { - "localId" : "224", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Code", - "name" : "ModerateMajorDepression" - } ] - } ] - }, - "contexts" : { - "def" : [ { - "localId" : "228", - "name" : "Patient" - } ] - }, - "statements" : { - "def" : [ { - "localId" : "226", - "name" : "Patient", - "context" : "Patient", - "expression" : { - "localId" : "227", - "type" : "SingletonFrom", - "signature" : [ ], - "operand" : { - "localId" : "225", - "dataType" : "{https://github.com/cqframework/cql-execution/simple}Patient", - "type" : "Retrieve", - "include" : [ ], - "codeFilter" : [ ], - "dateFilter" : [ ], - "otherFilter" : [ ] - } + } ], + "codes" : { + "type" : "List", + "localId" : "255", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "260", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "261", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } + }, + "element" : [ { + "type" : "Literal", + "localId" : "256", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "2618002", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "258", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "12345", + "annotation" : [ ] + } ] + }, + "valueset" : { + "localId" : "262", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}ValueSet", + "name" : "Major Depressive Disorder Active", + "preserve" : true, + "annotation" : [ ] + } + } + }, { + "localId" : "268", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "AnyInNullList", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "268", + "s" : [ { + "value" : [ "", "define ", "AnyInNullList", ": " ] + }, { + "r" : "278", + "s" : [ { + "r" : "269", + "s" : [ { + "r" : "270", + "value" : [ "null", " as " ] + }, { + "r" : "271", + "s" : [ { + "value" : [ "List<" ] + }, { + "r" : "272", + "s" : [ { + "value" : [ "Code" ] + } ] + }, { + "value" : [ ">" ] + } ] + } ] + }, { + "value" : [ " in " ] + }, { + "r" : "277", + "s" : [ { + "value" : [ "\"Major Depressive Disorder Active\"" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "AnyInValueSet", + "localId" : "278", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "ListTypeSpecifier", + "localId" : "279", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "280", + "name" : "{urn:hl7-org:elm-types:r1}Code", + "annotation" : [ ] } - }, { - "localId" : "231", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "AnyInListOfConcepts", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "231", - "s" : [ { - "value" : [ "","define ","AnyInListOfConcepts",": " ] - }, { - "r" : "237", - "s" : [ { - "r" : "232", - "s" : [ { - "value" : [ "{ " ] - }, { - "r" : "233", - "s" : [ { - "value" : [ "\"Depression Concept\"" ] - } ] - }, { - "value" : [ " }" ] - } ] - }, { - "value" : [ " in " ] - }, { - "r" : "236", - "s" : [ { - "value" : [ "\"Major Depressive Disorder Active\"" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "237", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "AnyInValueSet", - "signature" : [ { - "localId" : "238", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "239", - "name" : "{urn:hl7-org:elm-types:r1}Concept", - "type" : "NamedTypeSpecifier" - } - } ], - "codes" : { - "localId" : "232", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "234", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "235", - "name" : "{urn:hl7-org:elm-types:r1}Concept", - "type" : "NamedTypeSpecifier" - } - }, - "element" : [ { - "localId" : "233", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Concept", - "name" : "Depression Concept", - "type" : "ConceptRef" - } ] - }, - "valueset" : { - "localId" : "236", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}ValueSet", - "name" : "Major Depressive Disorder Active", - "preserve" : true - } + } ], + "codes" : { + "type" : "As", + "localId" : "269", + "strict" : false, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "275", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "276", + "name" : "{urn:hl7-org:elm-types:r1}Code", + "annotation" : [ ] + } + }, + "signature" : [ ], + "operand" : { + "type" : "Null", + "localId" : "270", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + }, + "asTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "271", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "273", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "274", + "name" : "{urn:hl7-org:elm-types:r1}Code", + "annotation" : [ ] + } + }, + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "272", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Code", + "name" : "{urn:hl7-org:elm-types:r1}Code", + "annotation" : [ ] + } } - }, { - "localId" : "242", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "AnyInListOfCodes", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "242", - "s" : [ { - "value" : [ "","define ","AnyInListOfCodes",": " ] - }, { - "r" : "249", - "s" : [ { - "r" : "243", - "s" : [ { - "value" : [ "{ " ] - }, { - "r" : "244", - "s" : [ { - "value" : [ "\"ChronicRecurrentDepression\"" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "245", - "s" : [ { - "value" : [ "\"ModerateMajorDepression\"" ] - } ] - }, { - "value" : [ " }" ] - } ] - }, { - "value" : [ " in " ] - }, { - "r" : "248", - "s" : [ { - "value" : [ "\"Major Depressive Disorder Active\"" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "249", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "AnyInValueSet", - "signature" : [ { - "localId" : "250", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "251", - "name" : "{urn:hl7-org:elm-types:r1}Code", - "type" : "NamedTypeSpecifier" - } - } ], - "codes" : { - "localId" : "243", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "246", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "247", - "name" : "{urn:hl7-org:elm-types:r1}Code", - "type" : "NamedTypeSpecifier" - } - }, - "element" : [ { - "localId" : "244", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Code", - "name" : "ChronicRecurrentDepression", - "type" : "CodeRef" - }, { - "localId" : "245", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Code", - "name" : "ModerateMajorDepression", - "type" : "CodeRef" - } ] - }, - "valueset" : { - "localId" : "248", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}ValueSet", - "name" : "Major Depressive Disorder Active", - "preserve" : true - } + }, + "valueset" : { + "localId" : "277", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}ValueSet", + "name" : "Major Depressive Disorder Active", + "preserve" : true, + "annotation" : [ ] + } + } + }, { + "localId" : "283", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "AnyInNullListNullVs", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "283", + "s" : [ { + "value" : [ "", "define ", "AnyInNullListNullVs", ": " ] + }, { + "r" : "295", + "s" : [ { + "r" : "284", + "s" : [ { + "r" : "285", + "value" : [ "null", " as " ] + }, { + "r" : "286", + "s" : [ { + "value" : [ "List<" ] + }, { + "r" : "287", + "s" : [ { + "value" : [ "Code" ] + } ] + }, { + "value" : [ ">" ] + } ] + } ] + }, { + "value" : [ " in " ] + }, { + "r" : "292", + "s" : [ { + "r" : "293", + "value" : [ "null", " as " ] + }, { + "r" : "294", + "s" : [ { + "value" : [ "ValueSet" ] + } ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "AnyInValueSet", + "localId" : "295", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "ListTypeSpecifier", + "localId" : "296", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "297", + "name" : "{urn:hl7-org:elm-types:r1}Code", + "annotation" : [ ] } - }, { - "localId" : "254", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "AnyInListOfStrings", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "254", - "s" : [ { - "value" : [ "","define ","AnyInListOfStrings",": " ] - }, { - "r" : "263", - "s" : [ { - "r" : "255", - "s" : [ { - "value" : [ "{ " ] - }, { - "r" : "256", - "s" : [ { - "value" : [ "'2618002'" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "258", - "s" : [ { - "value" : [ "'12345'" ] - } ] - }, { - "value" : [ " }" ] - } ] - }, { - "value" : [ " in " ] - }, { - "r" : "262", - "s" : [ { - "value" : [ "\"Major Depressive Disorder Active\"" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "263", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "AnyInValueSet", - "signature" : [ { - "localId" : "264", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "265", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } - } ], - "codes" : { - "localId" : "255", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "260", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "261", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } - }, - "element" : [ { - "localId" : "256", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "2618002", - "type" : "Literal" - }, { - "localId" : "258", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "12345", - "type" : "Literal" - } ] - }, - "valueset" : { - "localId" : "262", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}ValueSet", - "name" : "Major Depressive Disorder Active", - "preserve" : true - } + }, { + "type" : "NamedTypeSpecifier", + "localId" : "298", + "name" : "{urn:hl7-org:elm-types:r1}ValueSet", + "annotation" : [ ] + } ], + "codes" : { + "type" : "As", + "localId" : "284", + "strict" : false, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "290", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "291", + "name" : "{urn:hl7-org:elm-types:r1}Code", + "annotation" : [ ] + } + }, + "signature" : [ ], + "operand" : { + "type" : "Null", + "localId" : "285", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + }, + "asTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "286", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "288", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "289", + "name" : "{urn:hl7-org:elm-types:r1}Code", + "annotation" : [ ] + } + }, + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "287", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Code", + "name" : "{urn:hl7-org:elm-types:r1}Code", + "annotation" : [ ] + } } - }, { - "localId" : "268", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "AnyInNullList", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "268", - "s" : [ { - "value" : [ "","define ","AnyInNullList",": " ] - }, { - "r" : "278", - "s" : [ { - "r" : "269", - "s" : [ { - "r" : "270", - "value" : [ "null"," as " ] - }, { - "r" : "271", - "s" : [ { - "value" : [ "List<" ] - }, { - "r" : "272", - "s" : [ { - "value" : [ "Code" ] - } ] - }, { - "value" : [ ">" ] - } ] - } ] - }, { - "value" : [ " in " ] - }, { - "r" : "277", - "s" : [ { - "value" : [ "\"Major Depressive Disorder Active\"" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "278", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "AnyInValueSet", - "signature" : [ { - "localId" : "279", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "280", - "name" : "{urn:hl7-org:elm-types:r1}Code", - "type" : "NamedTypeSpecifier" - } - } ], - "codes" : { - "localId" : "269", - "strict" : false, - "type" : "As", - "resultTypeSpecifier" : { - "localId" : "275", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "276", - "name" : "{urn:hl7-org:elm-types:r1}Code", - "type" : "NamedTypeSpecifier" - } - }, - "signature" : [ ], - "operand" : { - "localId" : "270", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - }, - "asTypeSpecifier" : { - "localId" : "271", - "type" : "ListTypeSpecifier", - "resultTypeSpecifier" : { - "localId" : "273", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "274", - "name" : "{urn:hl7-org:elm-types:r1}Code", - "type" : "NamedTypeSpecifier" - } - }, - "elementType" : { - "localId" : "272", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Code", - "name" : "{urn:hl7-org:elm-types:r1}Code", - "type" : "NamedTypeSpecifier" - } - } - }, - "valueset" : { - "localId" : "277", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}ValueSet", - "name" : "Major Depressive Disorder Active", - "preserve" : true - } + }, + "valuesetExpression" : { + "type" : "As", + "localId" : "292", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}ValueSet", + "strict" : false, + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Null", + "localId" : "293", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + }, + "asTypeSpecifier" : { + "type" : "NamedTypeSpecifier", + "localId" : "294", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}ValueSet", + "name" : "{urn:hl7-org:elm-types:r1}ValueSet", + "annotation" : [ ] } - }, { - "localId" : "283", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "AnyInNullListNullVs", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "283", + } + } + }, { + "localId" : "301", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "AnyInListOfCodesWithNull", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "301", + "s" : [ { + "value" : [ "", "define ", "AnyInListOfCodesWithNull", ": " ] + }, { + "r" : "314", + "s" : [ { + "r" : "302", + "s" : [ { + "value" : [ "{ " ] + }, { + "r" : "303", + "s" : [ { + "value" : [ "Code", " { " ] + }, { + "s" : [ { + "value" : [ "code", ": " ] + }, { + "r" : "305", + "s" : [ { + "value" : [ "'M'" ] + } ] + } ] + }, { + "value" : [ " }" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "307", + "s" : [ { + "value" : [ "(" ] + }, { + "r" : "307", + "s" : [ { + "r" : "308", + "value" : [ "null", " as " ] + }, { + "r" : "309", + "s" : [ { + "value" : [ "Code" ] + } ] + } ] + }, { + "value" : [ ")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "310", "s" : [ { - "value" : [ "","define ","AnyInNullListNullVs",": " ] - }, { - "r" : "295", - "s" : [ { - "r" : "284", - "s" : [ { - "r" : "285", - "value" : [ "null"," as " ] - }, { - "r" : "286", - "s" : [ { - "value" : [ "List<" ] - }, { - "r" : "287", - "s" : [ { - "value" : [ "Code" ] - } ] - }, { - "value" : [ ">" ] - } ] - } ] - }, { - "value" : [ " in " ] - }, { - "r" : "292", - "s" : [ { - "r" : "293", - "value" : [ "null"," as " ] - }, { - "r" : "294", - "s" : [ { - "value" : [ "ValueSet" ] - } ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "295", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "AnyInValueSet", - "signature" : [ { - "localId" : "296", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "297", - "name" : "{urn:hl7-org:elm-types:r1}Code", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "298", - "name" : "{urn:hl7-org:elm-types:r1}ValueSet", - "type" : "NamedTypeSpecifier" - } ], - "codes" : { - "localId" : "284", - "strict" : false, - "type" : "As", - "resultTypeSpecifier" : { - "localId" : "290", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "291", - "name" : "{urn:hl7-org:elm-types:r1}Code", - "type" : "NamedTypeSpecifier" - } - }, - "signature" : [ ], - "operand" : { - "localId" : "285", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - }, - "asTypeSpecifier" : { - "localId" : "286", - "type" : "ListTypeSpecifier", - "resultTypeSpecifier" : { - "localId" : "288", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "289", - "name" : "{urn:hl7-org:elm-types:r1}Code", - "type" : "NamedTypeSpecifier" - } - }, - "elementType" : { - "localId" : "287", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Code", - "name" : "{urn:hl7-org:elm-types:r1}Code", - "type" : "NamedTypeSpecifier" - } - } - }, - "valuesetExpression" : { - "localId" : "292", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}ValueSet", - "strict" : false, - "type" : "As", - "signature" : [ ], - "operand" : { - "localId" : "293", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - }, - "asTypeSpecifier" : { - "localId" : "294", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}ValueSet", - "name" : "{urn:hl7-org:elm-types:r1}ValueSet", - "type" : "NamedTypeSpecifier" - } - } + "value" : [ "\"ChronicRecurrentDepression\"" ] + } ] + }, { + "value" : [ " }" ] + } ] + }, { + "value" : [ " in " ] + }, { + "r" : "313", + "s" : [ { + "value" : [ "\"Major Depressive Disorder Active\"" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "AnyInValueSet", + "localId" : "314", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "ListTypeSpecifier", + "localId" : "315", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "316", + "name" : "{urn:hl7-org:elm-types:r1}Code", + "annotation" : [ ] } - }, { - "localId" : "301", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "AnyInListOfCodesWithNull", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "301", - "s" : [ { - "value" : [ "","define ","AnyInListOfCodesWithNull",": " ] - }, { - "r" : "314", - "s" : [ { - "r" : "302", - "s" : [ { - "value" : [ "{ " ] - }, { - "r" : "303", - "s" : [ { - "value" : [ "Code"," { " ] - }, { - "s" : [ { - "value" : [ "code",": " ] - }, { - "r" : "305", - "s" : [ { - "value" : [ "'M'" ] - } ] - } ] - }, { - "value" : [ " }" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "307", - "s" : [ { - "value" : [ "(" ] - }, { - "r" : "307", - "s" : [ { - "r" : "308", - "value" : [ "null"," as " ] - }, { - "r" : "309", - "s" : [ { - "value" : [ "Code" ] - } ] - } ] - }, { - "value" : [ ")" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "310", - "s" : [ { - "value" : [ "\"ChronicRecurrentDepression\"" ] - } ] - }, { - "value" : [ " }" ] - } ] - }, { - "value" : [ " in " ] - }, { - "r" : "313", - "s" : [ { - "value" : [ "\"Major Depressive Disorder Active\"" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "314", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "AnyInValueSet", - "signature" : [ { - "localId" : "315", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "316", - "name" : "{urn:hl7-org:elm-types:r1}Code", - "type" : "NamedTypeSpecifier" - } - } ], - "codes" : { - "localId" : "302", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "311", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "312", - "name" : "{urn:hl7-org:elm-types:r1}Code", - "type" : "NamedTypeSpecifier" - } - }, - "element" : [ { - "localId" : "303", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Code", - "classType" : "{urn:hl7-org:elm-types:r1}Code", - "type" : "Instance", - "element" : [ { - "name" : "code", - "value" : { - "localId" : "305", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "M", - "type" : "Literal" - } - } ] - }, { - "localId" : "307", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Code", - "strict" : false, - "type" : "As", - "signature" : [ ], - "operand" : { - "localId" : "308", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - }, - "asTypeSpecifier" : { - "localId" : "309", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Code", - "name" : "{urn:hl7-org:elm-types:r1}Code", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "310", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Code", - "name" : "ChronicRecurrentDepression", - "type" : "CodeRef" - } ] - }, - "valueset" : { - "localId" : "313", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}ValueSet", - "name" : "Major Depressive Disorder Active", - "preserve" : true - } + } ], + "codes" : { + "type" : "List", + "localId" : "302", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "311", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "312", + "name" : "{urn:hl7-org:elm-types:r1}Code", + "annotation" : [ ] + } + }, + "element" : [ { + "type" : "Instance", + "localId" : "303", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Code", + "classType" : "{urn:hl7-org:elm-types:r1}Code", + "annotation" : [ ], + "element" : [ { + "name" : "code", + "value" : { + "type" : "Literal", + "localId" : "305", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "M", + "annotation" : [ ] + } + } ] + }, { + "type" : "As", + "localId" : "307", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Code", + "strict" : false, + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Null", + "localId" : "308", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + }, + "asTypeSpecifier" : { + "type" : "NamedTypeSpecifier", + "localId" : "309", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Code", + "name" : "{urn:hl7-org:elm-types:r1}Code", + "annotation" : [ ] + } + }, { + "type" : "CodeRef", + "localId" : "310", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Code", + "name" : "ChronicRecurrentDepression", + "annotation" : [ ] + } ] + }, + "valueset" : { + "localId" : "313", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}ValueSet", + "name" : "Major Depressive Disorder Active", + "preserve" : true, + "annotation" : [ ] + } + } + }, { + "localId" : "319", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "AnyInUnknown", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "319", + "s" : [ { + "value" : [ "", "define ", "AnyInUnknown", ": " ] + }, { + "r" : "325", + "s" : [ { + "r" : "320", + "s" : [ { + "value" : [ "{ " ] + }, { + "r" : "321", + "s" : [ { + "value" : [ "\"Depression Concept\"" ] + } ] + }, { + "value" : [ " }" ] + } ] + }, { + "value" : [ " in " ] + }, { + "r" : "324", + "s" : [ { + "value" : [ "\"UnknownAny\"" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "AnyInValueSet", + "localId" : "325", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "ListTypeSpecifier", + "localId" : "326", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "327", + "name" : "{urn:hl7-org:elm-types:r1}Concept", + "annotation" : [ ] } - }, { - "localId" : "319", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "AnyInUnknown", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "319", - "s" : [ { - "value" : [ "","define ","AnyInUnknown",": " ] - }, { - "r" : "325", - "s" : [ { - "r" : "320", - "s" : [ { - "value" : [ "{ " ] - }, { - "r" : "321", - "s" : [ { - "value" : [ "\"Depression Concept\"" ] - } ] - }, { - "value" : [ " }" ] - } ] - }, { - "value" : [ " in " ] - }, { - "r" : "324", - "s" : [ { - "value" : [ "\"UnknownAny\"" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "325", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "AnyInValueSet", - "signature" : [ { - "localId" : "326", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "327", - "name" : "{urn:hl7-org:elm-types:r1}Concept", - "type" : "NamedTypeSpecifier" - } - } ], - "codes" : { - "localId" : "320", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "322", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "323", - "name" : "{urn:hl7-org:elm-types:r1}Concept", - "type" : "NamedTypeSpecifier" - } - }, - "element" : [ { - "localId" : "321", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Concept", - "name" : "Depression Concept", - "type" : "ConceptRef" - } ] - }, - "valueset" : { - "localId" : "324", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}ValueSet", - "name" : "UnknownAny", - "preserve" : true - } + } ], + "codes" : { + "type" : "List", + "localId" : "320", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "322", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "323", + "name" : "{urn:hl7-org:elm-types:r1}Concept", + "annotation" : [ ] + } + }, + "element" : [ { + "type" : "ConceptRef", + "localId" : "321", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Concept", + "name" : "Depression Concept", + "annotation" : [ ] + } ] + }, + "valueset" : { + "localId" : "324", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}ValueSet", + "name" : "UnknownAny", + "preserve" : true, + "annotation" : [ ] + } + } + }, { + "localId" : "330", + "name" : "ListOfCodes", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "330", + "s" : [ { + "value" : [ "// expression data\n", "define ", "ListOfCodes", ": " ] + }, { + "r" : "331", + "s" : [ { + "value" : [ "{ " ] + }, { + "r" : "332", + "s" : [ { + "value" : [ "Code", " { " ] + }, { + "s" : [ { + "value" : [ "code", ": " ] + }, { + "r" : "334", + "s" : [ { + "value" : [ "'M'" ] + } ] + } ] + }, { + "value" : [ " }" ] + } ] + }, { + "value" : [ " , " ] + }, { + "r" : "336", + "s" : [ { + "value" : [ "\"ChronicRecurrentDepression\"" ] + } ] + }, { + "value" : [ " }" ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "339", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "340", + "name" : "{urn:hl7-org:elm-types:r1}Code", + "annotation" : [ ] + } + }, + "expression" : { + "type" : "List", + "localId" : "331", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "337", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "338", + "name" : "{urn:hl7-org:elm-types:r1}Code", + "annotation" : [ ] } - }, { - "localId" : "330", + }, + "element" : [ { + "type" : "Instance", + "localId" : "332", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Code", + "classType" : "{urn:hl7-org:elm-types:r1}Code", + "annotation" : [ ], + "element" : [ { + "name" : "code", + "value" : { + "type" : "Literal", + "localId" : "334", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "M", + "annotation" : [ ] + } + } ] + }, { + "type" : "CodeRef", + "localId" : "336", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Code", + "name" : "ChronicRecurrentDepression", + "annotation" : [ ] + } ] + } + }, { + "localId" : "343", + "name" : "WrongListOfCodes", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "343", + "s" : [ { + "value" : [ "", "define ", "WrongListOfCodes", ": " ] + }, { + "r" : "344", + "s" : [ { + "value" : [ "{ " ] + }, { + "r" : "345", + "s" : [ { + "value" : [ "Code", " { " ] + }, { + "s" : [ { + "value" : [ "code", ": " ] + }, { + "r" : "347", + "s" : [ { + "value" : [ "'M'" ] + } ] + } ] + }, { + "value" : [ " }" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "349", + "s" : [ { + "value" : [ "Code", " { " ] + }, { + "s" : [ { + "value" : [ "code", ": " ] + }, { + "r" : "351", + "s" : [ { + "value" : [ "'F'" ] + } ] + } ] + }, { + "value" : [ ", " ] + }, { + "s" : [ { + "value" : [ "system", ": " ] + }, { + "r" : "353", + "s" : [ { + "value" : [ "'3.16.840.1.113883.18.2'" ] + } ] + } ] + }, { + "value" : [ " }" ] + } ] + }, { + "value" : [ " }" ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "357", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "358", + "name" : "{urn:hl7-org:elm-types:r1}Code", + "annotation" : [ ] + } + }, + "expression" : { + "type" : "List", + "localId" : "344", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "355", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "356", + "name" : "{urn:hl7-org:elm-types:r1}Code", + "annotation" : [ ] + } + }, + "element" : [ { + "type" : "Instance", + "localId" : "345", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Code", + "classType" : "{urn:hl7-org:elm-types:r1}Code", + "annotation" : [ ], + "element" : [ { + "name" : "code", + "value" : { + "type" : "Literal", + "localId" : "347", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "M", + "annotation" : [ ] + } + } ] + }, { + "type" : "Instance", + "localId" : "349", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Code", + "classType" : "{urn:hl7-org:elm-types:r1}Code", + "annotation" : [ ], + "element" : [ { + "name" : "code", + "value" : { + "type" : "Literal", + "localId" : "351", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "F", + "annotation" : [ ] + } + }, { + "name" : "system", + "value" : { + "type" : "Literal", + "localId" : "353", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "3.16.840.1.113883.18.2", + "annotation" : [ ] + } + } ] + } ] + } + }, { + "localId" : "361", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "AnyInListOfCodesExpressionRef", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "361", + "s" : [ { + "value" : [ "", "define ", "AnyInListOfCodesExpressionRef", ": " ] + }, { + "r" : "366", + "s" : [ { + "r" : "362", + "s" : [ { + "value" : [ "ListOfCodes" ] + } ] + }, { + "value" : [ " in " ] + }, { + "r" : "365", + "s" : [ { + "value" : [ "\"Major Depressive Disorder Active\"" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "AnyInValueSet", + "localId" : "366", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "ListTypeSpecifier", + "localId" : "367", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "368", + "name" : "{urn:hl7-org:elm-types:r1}Code", + "annotation" : [ ] + } + } ], + "codes" : { + "type" : "ExpressionRef", + "localId" : "362", "name" : "ListOfCodes", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "330", - "s" : [ { - "value" : [ "// expression data\n","define ","ListOfCodes",": " ] - }, { - "r" : "331", - "s" : [ { - "value" : [ "{ " ] - }, { - "r" : "332", - "s" : [ { - "value" : [ "Code"," { " ] - }, { - "s" : [ { - "value" : [ "code",": " ] - }, { - "r" : "334", - "s" : [ { - "value" : [ "'M'" ] - } ] - } ] - }, { - "value" : [ " }" ] - } ] - }, { - "value" : [ " , " ] - }, { - "r" : "336", - "s" : [ { - "value" : [ "\"ChronicRecurrentDepression\"" ] - } ] - }, { - "value" : [ " }" ] - } ] - } ] - } - } ], + "annotation" : [ ], "resultTypeSpecifier" : { - "localId" : "339", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "340", - "name" : "{urn:hl7-org:elm-types:r1}Code", - "type" : "NamedTypeSpecifier" - } - }, - "expression" : { - "localId" : "331", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "337", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "338", - "name" : "{urn:hl7-org:elm-types:r1}Code", - "type" : "NamedTypeSpecifier" - } - }, - "element" : [ { - "localId" : "332", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Code", - "classType" : "{urn:hl7-org:elm-types:r1}Code", - "type" : "Instance", - "element" : [ { - "name" : "code", - "value" : { - "localId" : "334", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "M", - "type" : "Literal" - } - } ] - }, { - "localId" : "336", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Code", - "name" : "ChronicRecurrentDepression", - "type" : "CodeRef" - } ] + "type" : "ListTypeSpecifier", + "localId" : "363", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "364", + "name" : "{urn:hl7-org:elm-types:r1}Code", + "annotation" : [ ] + } + } + }, + "valueset" : { + "localId" : "365", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}ValueSet", + "name" : "Major Depressive Disorder Active", + "preserve" : true, + "annotation" : [ ] + } + } + }, { + "localId" : "371", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "AnyInWrongListOfCodes", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "371", + "s" : [ { + "value" : [ "", "define ", "AnyInWrongListOfCodes", ": " ] + }, { + "r" : "376", + "s" : [ { + "r" : "372", + "s" : [ { + "value" : [ "WrongListOfCodes" ] + } ] + }, { + "value" : [ " in " ] + }, { + "r" : "375", + "s" : [ { + "value" : [ "\"Major Depressive Disorder Active\"" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "AnyInValueSet", + "localId" : "376", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "ListTypeSpecifier", + "localId" : "377", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "378", + "name" : "{urn:hl7-org:elm-types:r1}Code", + "annotation" : [ ] } - }, { - "localId" : "343", + } ], + "codes" : { + "type" : "ExpressionRef", + "localId" : "372", "name" : "WrongListOfCodes", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "343", - "s" : [ { - "value" : [ "","define ","WrongListOfCodes",": " ] - }, { - "r" : "344", - "s" : [ { - "value" : [ "{ " ] - }, { - "r" : "345", - "s" : [ { - "value" : [ "Code"," { " ] - }, { - "s" : [ { - "value" : [ "code",": " ] - }, { - "r" : "347", - "s" : [ { - "value" : [ "'M'" ] - } ] - } ] - }, { - "value" : [ " }" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "349", - "s" : [ { - "value" : [ "Code"," { " ] - }, { - "s" : [ { - "value" : [ "code",": " ] - }, { - "r" : "351", - "s" : [ { - "value" : [ "'F'" ] - } ] - } ] - }, { - "value" : [ ", " ] - }, { - "s" : [ { - "value" : [ "system",": " ] - }, { - "r" : "353", - "s" : [ { - "value" : [ "'3.16.840.1.113883.18.2'" ] - } ] - } ] - }, { - "value" : [ " }" ] - } ] - }, { - "value" : [ " }" ] - } ] - } ] - } - } ], + "annotation" : [ ], "resultTypeSpecifier" : { - "localId" : "357", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "358", - "name" : "{urn:hl7-org:elm-types:r1}Code", - "type" : "NamedTypeSpecifier" - } - }, - "expression" : { - "localId" : "344", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "355", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "356", - "name" : "{urn:hl7-org:elm-types:r1}Code", - "type" : "NamedTypeSpecifier" - } - }, - "element" : [ { - "localId" : "345", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Code", - "classType" : "{urn:hl7-org:elm-types:r1}Code", - "type" : "Instance", - "element" : [ { - "name" : "code", - "value" : { - "localId" : "347", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "M", - "type" : "Literal" - } - } ] - }, { - "localId" : "349", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Code", - "classType" : "{urn:hl7-org:elm-types:r1}Code", - "type" : "Instance", - "element" : [ { - "name" : "code", - "value" : { - "localId" : "351", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "F", - "type" : "Literal" - } - }, { - "name" : "system", - "value" : { - "localId" : "353", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "3.16.840.1.113883.18.2", - "type" : "Literal" - } - } ] - } ] - } - }, { - "localId" : "361", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "AnyInListOfCodesExpressionRef", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "361", - "s" : [ { - "value" : [ "","define ","AnyInListOfCodesExpressionRef",": " ] - }, { - "r" : "366", - "s" : [ { - "r" : "362", - "s" : [ { - "value" : [ "ListOfCodes" ] - } ] - }, { - "value" : [ " in " ] - }, { - "r" : "365", - "s" : [ { - "value" : [ "\"Major Depressive Disorder Active\"" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "366", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "AnyInValueSet", - "signature" : [ { - "localId" : "367", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "368", - "name" : "{urn:hl7-org:elm-types:r1}Code", - "type" : "NamedTypeSpecifier" - } - } ], - "codes" : { - "localId" : "362", - "name" : "ListOfCodes", - "type" : "ExpressionRef", - "resultTypeSpecifier" : { - "localId" : "363", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "364", - "name" : "{urn:hl7-org:elm-types:r1}Code", - "type" : "NamedTypeSpecifier" - } - } - }, - "valueset" : { - "localId" : "365", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}ValueSet", - "name" : "Major Depressive Disorder Active", - "preserve" : true - } + "type" : "ListTypeSpecifier", + "localId" : "373", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "374", + "name" : "{urn:hl7-org:elm-types:r1}Code", + "annotation" : [ ] + } } - }, { - "localId" : "371", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "AnyInWrongListOfCodes", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "371", + }, + "valueset" : { + "localId" : "375", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}ValueSet", + "name" : "Major Depressive Disorder Active", + "preserve" : true, + "annotation" : [ ] + } + } + }, { + "type" : "FunctionDef", + "localId" : "379", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "ListInVS", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "379", + "s" : [ { + "value" : [ "// function data\n", "define function ListInVS(vs ValueSet): " ] + }, { + "r" : "392", + "s" : [ { + "r" : "392", + "s" : [ { + "r" : "384", "s" : [ { - "value" : [ "","define ","AnyInWrongListOfCodes",": " ] + "value" : [ "{ " ] }, { - "r" : "376", - "s" : [ { - "r" : "372", - "s" : [ { - "value" : [ "WrongListOfCodes" ] - } ] - }, { - "value" : [ " in " ] - }, { - "r" : "375", - "s" : [ { - "value" : [ "\"Major Depressive Disorder Active\"" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "376", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "AnyInValueSet", - "signature" : [ { - "localId" : "377", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "378", - "name" : "{urn:hl7-org:elm-types:r1}Code", - "type" : "NamedTypeSpecifier" - } - } ], - "codes" : { - "localId" : "372", - "name" : "WrongListOfCodes", - "type" : "ExpressionRef", - "resultTypeSpecifier" : { - "localId" : "373", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "374", - "name" : "{urn:hl7-org:elm-types:r1}Code", - "type" : "NamedTypeSpecifier" - } - } - }, - "valueset" : { - "localId" : "375", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}ValueSet", - "name" : "Major Depressive Disorder Active", - "preserve" : true - } - } - }, { - "localId" : "379", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "ListInVS", - "context" : "Patient", - "accessLevel" : "Public", - "type" : "FunctionDef", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "379", - "s" : [ { - "value" : [ "// function data\n","define function ListInVS(vs ValueSet): " ] + "r" : "385", + "s" : [ { + "value" : [ "'2618002'" ] + } ] }, { - "r" : "392", - "s" : [ { - "r" : "392", - "s" : [ { - "r" : "384", - "s" : [ { - "value" : [ "{ " ] - }, { - "r" : "385", - "s" : [ { - "value" : [ "'2618002'" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "387", - "s" : [ { - "value" : [ "'12345'" ] - } ] - }, { - "value" : [ " }" ] - } ] - }, { - "value" : [ " in " ] - }, { - "r" : "391", - "s" : [ { - "value" : [ "vs" ] - } ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "392", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "AnyInValueSet", - "signature" : [ { - "localId" : "393", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "394", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "395", - "name" : "{urn:hl7-org:elm-types:r1}ValueSet", - "type" : "NamedTypeSpecifier" - } ], - "codes" : { - "localId" : "384", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "389", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "390", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } - }, - "element" : [ { - "localId" : "385", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "2618002", - "type" : "Literal" + "value" : [ ", " ] }, { - "localId" : "387", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "12345", - "type" : "Literal" - } ] - }, - "valuesetExpression" : { - "localId" : "391", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}ValueSet", - "name" : "vs", - "type" : "OperandRef" - } - }, - "operand" : [ { - "localId" : "381", - "name" : "vs", - "operandTypeSpecifier" : { - "localId" : "380", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}ValueSet", - "name" : "{urn:hl7-org:elm-types:r1}ValueSet", - "type" : "NamedTypeSpecifier" - } - } ] - }, { - "localId" : "398", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "ListInPassedVS", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "398", - "s" : [ { - "value" : [ "","define ","ListInPassedVS",": " ] + "r" : "387", + "s" : [ { + "value" : [ "'12345'" ] + } ] }, { - "r" : "400", - "s" : [ { - "value" : [ "ListInVS","(" ] - }, { - "r" : "399", - "s" : [ { - "value" : [ "\"Major Depressive Disorder Active\"" ] - } ] - }, { - "value" : [ ")" ] - } ] + "value" : [ " }" ] } ] - } - } ], - "expression" : { - "localId" : "400", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "ListInVS", - "type" : "FunctionRef", - "signature" : [ { - "localId" : "401", - "name" : "{urn:hl7-org:elm-types:r1}ValueSet", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "399", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}ValueSet", - "name" : "Major Depressive Disorder Active", - "preserve" : true, - "type" : "ValueSetRef" - } ] - } - }, { - "localId" : "404", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "ListInWrongVS", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "404", + }, { + "value" : [ " in " ] + }, { + "r" : "391", "s" : [ { - "value" : [ "","define ","ListInWrongVS",": " ] - }, { - "r" : "406", - "s" : [ { - "value" : [ "ListInVS","(" ] - }, { - "r" : "405", - "s" : [ { - "value" : [ "\"Male\"" ] - } ] - }, { - "value" : [ ")" ] - } ] + "value" : [ "vs" ] } ] - } - } ], - "expression" : { - "localId" : "406", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "ListInVS", - "type" : "FunctionRef", - "signature" : [ { - "localId" : "407", - "name" : "{urn:hl7-org:elm-types:r1}ValueSet", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "405", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}ValueSet", - "name" : "Male", - "preserve" : true, - "type" : "ValueSetRef" - } ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "AnyInValueSet", + "localId" : "392", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "ListTypeSpecifier", + "localId" : "393", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "394", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] } - }, { - "localId" : "410", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "ListInNullVS", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "410", + }, { + "type" : "NamedTypeSpecifier", + "localId" : "395", + "name" : "{urn:hl7-org:elm-types:r1}ValueSet", + "annotation" : [ ] + } ], + "codes" : { + "type" : "List", + "localId" : "384", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "389", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "390", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } + }, + "element" : [ { + "type" : "Literal", + "localId" : "385", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "2618002", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "387", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "12345", + "annotation" : [ ] + } ] + }, + "valuesetExpression" : { + "type" : "OperandRef", + "localId" : "391", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}ValueSet", + "name" : "vs", + "annotation" : [ ] + } + }, + "operand" : [ { + "localId" : "381", + "name" : "vs", + "annotation" : [ ], + "operandTypeSpecifier" : { + "type" : "NamedTypeSpecifier", + "localId" : "380", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}ValueSet", + "name" : "{urn:hl7-org:elm-types:r1}ValueSet", + "annotation" : [ ] + } + } ] + }, { + "localId" : "398", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "ListInPassedVS", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "398", + "s" : [ { + "value" : [ "", "define ", "ListInPassedVS", ": " ] + }, { + "r" : "400", + "s" : [ { + "value" : [ "ListInVS", "(" ] + }, { + "r" : "399", + "s" : [ { + "value" : [ "\"Major Depressive Disorder Active\"" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "FunctionRef", + "localId" : "400", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "ListInVS", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "401", + "name" : "{urn:hl7-org:elm-types:r1}ValueSet", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "ValueSetRef", + "localId" : "399", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}ValueSet", + "name" : "Major Depressive Disorder Active", + "preserve" : true, + "annotation" : [ ] + } ] + } + }, { + "localId" : "404", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "ListInWrongVS", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "404", + "s" : [ { + "value" : [ "", "define ", "ListInWrongVS", ": " ] + }, { + "r" : "406", + "s" : [ { + "value" : [ "ListInVS", "(" ] + }, { + "r" : "405", + "s" : [ { + "value" : [ "\"Male\"" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "FunctionRef", + "localId" : "406", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "ListInVS", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "407", + "name" : "{urn:hl7-org:elm-types:r1}ValueSet", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "ValueSetRef", + "localId" : "405", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}ValueSet", + "name" : "Male", + "preserve" : true, + "annotation" : [ ] + } ] + } + }, { + "localId" : "410", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "ListInNullVS", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "410", + "s" : [ { + "value" : [ "", "define ", "ListInNullVS", ": " ] + }, { + "r" : "414", + "s" : [ { + "value" : [ "ListInVS", "(" ] + }, { + "r" : "411", + "s" : [ { + "r" : "412", + "value" : [ "null", " as " ] + }, { + "r" : "413", "s" : [ { - "value" : [ "","define ","ListInNullVS",": " ] - }, { - "r" : "414", - "s" : [ { - "value" : [ "ListInVS","(" ] - }, { - "r" : "411", - "s" : [ { - "r" : "412", - "value" : [ "null"," as " ] - }, { - "r" : "413", - "s" : [ { - "value" : [ "ValueSet" ] - } ] - } ] - }, { - "value" : [ ")" ] - } ] + "value" : [ "ValueSet" ] } ] - } - } ], - "expression" : { - "localId" : "414", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "ListInVS", - "type" : "FunctionRef", - "signature" : [ { - "localId" : "415", - "name" : "{urn:hl7-org:elm-types:r1}ValueSet", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "411", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}ValueSet", - "strict" : false, - "type" : "As", - "signature" : [ ], - "operand" : { - "localId" : "412", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - }, - "asTypeSpecifier" : { - "localId" : "413", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}ValueSet", - "name" : "{urn:hl7-org:elm-types:r1}ValueSet", - "type" : "NamedTypeSpecifier" - } - } ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "FunctionRef", + "localId" : "414", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "ListInVS", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "415", + "name" : "{urn:hl7-org:elm-types:r1}ValueSet", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "As", + "localId" : "411", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}ValueSet", + "strict" : false, + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Null", + "localId" : "412", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + }, + "asTypeSpecifier" : { + "type" : "NamedTypeSpecifier", + "localId" : "413", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}ValueSet", + "name" : "{urn:hl7-org:elm-types:r1}ValueSet", + "annotation" : [ ] } - } ] - } - } + } ] + } + } ] + } + } } /* InValueSet @@ -1984,1665 +2171,1808 @@ define InUnknown: 'F' in "UnknownIn" */ module.exports['InValueSet'] = { - "library" : { - "localId" : "0", - "annotation" : [ { - "translatorVersion" : "3.27.0", - "translatorOptions" : "EnableDateRangeOptimization,EnableAnnotations,EnableResultTypes", - "signatureLevel" : "All", - "type" : "CqlToElmInfo" - }, { - "type" : "Annotation", - "s" : { - "r" : "420", + "library" : { + "localId" : "0", + "annotation" : [ { + "type" : "CqlToElmInfo", + "translatorVersion" : "4.2.0", + "translatorOptions" : "EnableDateRangeOptimization,EnableAnnotations,EnableResultTypes", + "signatureLevel" : "All" + }, { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "420", + "s" : [ { + "value" : [ "", "library TestSnippet version '1'" ] + } ] + } + } ], + "identifier" : { + "id" : "TestSnippet", + "version" : "1" + }, + "schemaIdentifier" : { + "id" : "urn:hl7-org:elm", + "version" : "r1" + }, + "usings" : { + "def" : [ { + "localId" : "1", + "localIdentifier" : "System", + "uri" : "urn:hl7-org:elm-types:r1", + "annotation" : [ ] + }, { + "localId" : "206", + "localIdentifier" : "Simple", + "uri" : "https://github.com/cqframework/cql-execution/simple", + "version" : "1.0.0", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "206", "s" : [ { - "value" : [ "","library TestSnippet version '1'" ] - } ] - } - } ], - "identifier" : { - "id" : "TestSnippet", - "version" : "1" - }, - "schemaIdentifier" : { - "id" : "urn:hl7-org:elm", - "version" : "r1" - }, - "usings" : { - "def" : [ { - "localId" : "1", - "localIdentifier" : "System", - "uri" : "urn:hl7-org:elm-types:r1" - }, { - "localId" : "206", - "localIdentifier" : "Simple", - "uri" : "https://github.com/cqframework/cql-execution/simple", - "version" : "1.0.0", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "206", - "s" : [ { - "value" : [ "","using " ] - }, { - "s" : [ { - "value" : [ "Simple" ] - } ] - }, { - "value" : [ " version '1.0.0'" ] - } ] - } + "value" : [ "", "using " ] + }, { + "s" : [ { + "value" : [ "Simple" ] + } ] + }, { + "value" : [ " version '1.0.0'" ] } ] - } ] - }, - "valueSets" : { - "def" : [ { - "localId" : "208", + } + } ] + } ] + }, + "valueSets" : { + "def" : [ { + "localId" : "208", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}ValueSet", + "name" : "Female", + "id" : "2.16.840.1.113883.3.560.100.2", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "208", + "s" : [ { + "value" : [ "", "valueset ", "\"Female\"", ": ", "'2.16.840.1.113883.3.560.100.2'" ] + } ] + } + } ], + "codeSystem" : [ ] + }, { + "localId" : "210", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}ValueSet", + "name" : "Male", + "id" : "2.16.840.1.113883.3.560.100.1", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "210", + "s" : [ { + "value" : [ "", "valueset ", "\"Male\"", ": ", "'2.16.840.1.113883.3.560.100.1'" ] + } ] + } + } ], + "codeSystem" : [ ] + }, { + "localId" : "212", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}ValueSet", + "name" : "Versioned Female", + "id" : "2.16.840.1.113883.3.560.100.2", + "version" : "20121025", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "212", + "s" : [ { + "value" : [ "", "valueset ", "\"Versioned Female\"", ": ", "'2.16.840.1.113883.3.560.100.2'", " version ", "'20121025'" ] + } ] + } + } ], + "codeSystem" : [ ] + }, { + "localId" : "214", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}ValueSet", + "name" : "SharedCodes", + "id" : "2.16.840.1.113883.3.000.000.0", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "214", + "s" : [ { + "value" : [ "", "valueset ", "\"SharedCodes\"", ": ", "'2.16.840.1.113883.3.000.000.0'" ] + } ] + } + } ], + "codeSystem" : [ ] + }, { + "localId" : "216", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}ValueSet", + "name" : "ImproperSharedCodes", + "id" : "2.16.840.1.113883.3.000.000.1", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "216", + "s" : [ { + "value" : [ "", "valueset ", "\"ImproperSharedCodes\"", ": ", "'2.16.840.1.113883.3.000.000.1'" ] + } ] + } + } ], + "codeSystem" : [ ] + }, { + "localId" : "218", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}ValueSet", + "name" : "UnknownIn", + "id" : "1.2.3.4.5.6.7.8.9", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "218", + "s" : [ { + "value" : [ "", "valueset ", "\"UnknownIn\"", ": ", "'1.2.3.4.5.6.7.8.9'" ] + } ] + } + } ], + "codeSystem" : [ ] + } ] + }, + "contexts" : { + "def" : [ { + "localId" : "223", + "name" : "Patient", + "annotation" : [ ] + } ] + }, + "statements" : { + "def" : [ { + "localId" : "221", + "name" : "Patient", + "context" : "Patient", + "annotation" : [ ], + "expression" : { + "type" : "SingletonFrom", + "localId" : "222", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Retrieve", + "localId" : "220", + "dataType" : "{https://github.com/cqframework/cql-execution/simple}Patient", + "annotation" : [ ], + "include" : [ ], + "codeFilter" : [ ], + "dateFilter" : [ ], + "otherFilter" : [ ] + } + } + }, { + "localId" : "226", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "String", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "226", + "s" : [ { + "value" : [ "", "define ", "String", ": " ] + }, { + "r" : "230", + "s" : [ { + "r" : "227", + "s" : [ { + "value" : [ "'F'" ] + } ] + }, { + "value" : [ " in " ] + }, { + "r" : "229", + "s" : [ { + "value" : [ "\"Female\"" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "InValueSet", + "localId" : "230", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "231", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } ], + "code" : { + "type" : "Literal", + "localId" : "227", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "F", + "annotation" : [ ] + }, + "valueset" : { + "localId" : "229", "resultTypeName" : "{urn:hl7-org:elm-types:r1}ValueSet", "name" : "Female", - "id" : "2.16.840.1.113883.3.560.100.2", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "208", - "s" : [ { - "value" : [ "","valueset ","\"Female\"",": ","'2.16.840.1.113883.3.560.100.2'" ] - } ] - } - } ], - "codeSystem" : [ ] - }, { - "localId" : "210", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}ValueSet", - "name" : "Male", - "id" : "2.16.840.1.113883.3.560.100.1", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "210", - "s" : [ { - "value" : [ "","valueset ","\"Male\"",": ","'2.16.840.1.113883.3.560.100.1'" ] - } ] - } - } ], - "codeSystem" : [ ] - }, { - "localId" : "212", + "preserve" : true, + "annotation" : [ ] + } + } + }, { + "localId" : "234", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "SharedCodesFoo", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "234", + "s" : [ { + "value" : [ "", "define ", "SharedCodesFoo", ": " ] + }, { + "r" : "238", + "s" : [ { + "r" : "235", + "s" : [ { + "value" : [ "'foo'" ] + } ] + }, { + "value" : [ " in " ] + }, { + "r" : "237", + "s" : [ { + "value" : [ "\"SharedCodes\"" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "InValueSet", + "localId" : "238", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "239", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } ], + "code" : { + "type" : "Literal", + "localId" : "235", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "foo", + "annotation" : [ ] + }, + "valueset" : { + "localId" : "237", "resultTypeName" : "{urn:hl7-org:elm-types:r1}ValueSet", - "name" : "Versioned Female", - "id" : "2.16.840.1.113883.3.560.100.2", - "version" : "20121025", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "212", - "s" : [ { - "value" : [ "","valueset ","\"Versioned Female\"",": ","'2.16.840.1.113883.3.560.100.2'"," version ","'20121025'" ] - } ] - } - } ], - "codeSystem" : [ ] - }, { - "localId" : "214", + "name" : "SharedCodes", + "preserve" : true, + "annotation" : [ ] + } + } + }, { + "localId" : "242", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "SharedCodesNoMatch", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "242", + "s" : [ { + "value" : [ "", "define ", "SharedCodesNoMatch", ": " ] + }, { + "r" : "246", + "s" : [ { + "r" : "243", + "s" : [ { + "value" : [ "'baz'" ] + } ] + }, { + "value" : [ " in " ] + }, { + "r" : "245", + "s" : [ { + "value" : [ "\"SharedCodes\"" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "InValueSet", + "localId" : "246", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "247", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } ], + "code" : { + "type" : "Literal", + "localId" : "243", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "baz", + "annotation" : [ ] + }, + "valueset" : { + "localId" : "245", "resultTypeName" : "{urn:hl7-org:elm-types:r1}ValueSet", "name" : "SharedCodes", - "id" : "2.16.840.1.113883.3.000.000.0", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "214", - "s" : [ { - "value" : [ "","valueset ","\"SharedCodes\"",": ","'2.16.840.1.113883.3.000.000.0'" ] - } ] - } - } ], - "codeSystem" : [ ] - }, { - "localId" : "216", + "preserve" : true, + "annotation" : [ ] + } + } + }, { + "localId" : "250", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "ImproperSharedCodesCodeValue", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "250", + "s" : [ { + "value" : [ "", "define ", "ImproperSharedCodesCodeValue", ": " ] + }, { + "r" : "254", + "s" : [ { + "r" : "251", + "s" : [ { + "value" : [ "'codeValue'" ] + } ] + }, { + "value" : [ " in " ] + }, { + "r" : "253", + "s" : [ { + "value" : [ "\"ImproperSharedCodes\"" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "InValueSet", + "localId" : "254", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "255", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } ], + "code" : { + "type" : "Literal", + "localId" : "251", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "codeValue", + "annotation" : [ ] + }, + "valueset" : { + "localId" : "253", "resultTypeName" : "{urn:hl7-org:elm-types:r1}ValueSet", "name" : "ImproperSharedCodes", - "id" : "2.16.840.1.113883.3.000.000.1", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "216", - "s" : [ { - "value" : [ "","valueset ","\"ImproperSharedCodes\"",": ","'2.16.840.1.113883.3.000.000.1'" ] - } ] - } - } ], - "codeSystem" : [ ] - }, { - "localId" : "218", + "preserve" : true, + "annotation" : [ ] + } + } + }, { + "localId" : "258", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "StringInVersionedValueSet", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "258", + "s" : [ { + "value" : [ "", "define ", "StringInVersionedValueSet", ": " ] + }, { + "r" : "262", + "s" : [ { + "r" : "259", + "s" : [ { + "value" : [ "'F'" ] + } ] + }, { + "value" : [ " in " ] + }, { + "r" : "261", + "s" : [ { + "value" : [ "\"Versioned Female\"" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "InValueSet", + "localId" : "262", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "263", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } ], + "code" : { + "type" : "Literal", + "localId" : "259", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "F", + "annotation" : [ ] + }, + "valueset" : { + "localId" : "261", "resultTypeName" : "{urn:hl7-org:elm-types:r1}ValueSet", - "name" : "UnknownIn", - "id" : "1.2.3.4.5.6.7.8.9", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "218", - "s" : [ { - "value" : [ "","valueset ","\"UnknownIn\"",": ","'1.2.3.4.5.6.7.8.9'" ] - } ] - } - } ], - "codeSystem" : [ ] - } ] - }, - "contexts" : { - "def" : [ { - "localId" : "223", - "name" : "Patient" - } ] - }, - "statements" : { - "def" : [ { - "localId" : "221", - "name" : "Patient", - "context" : "Patient", - "expression" : { - "localId" : "222", - "type" : "SingletonFrom", - "signature" : [ ], - "operand" : { - "localId" : "220", - "dataType" : "{https://github.com/cqframework/cql-execution/simple}Patient", - "type" : "Retrieve", - "include" : [ ], - "codeFilter" : [ ], - "dateFilter" : [ ], - "otherFilter" : [ ] - } - } - }, { - "localId" : "226", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "String", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "226", - "s" : [ { - "value" : [ "","define ","String",": " ] - }, { - "r" : "230", - "s" : [ { - "r" : "227", - "s" : [ { - "value" : [ "'F'" ] - } ] - }, { - "value" : [ " in " ] - }, { - "r" : "229", - "s" : [ { - "value" : [ "\"Female\"" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "230", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "InValueSet", - "signature" : [ { - "localId" : "231", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } ], - "code" : { - "localId" : "227", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "F", - "type" : "Literal" - }, - "valueset" : { - "localId" : "229", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}ValueSet", - "name" : "Female", - "preserve" : true - } - } - }, { - "localId" : "234", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "SharedCodesFoo", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "234", - "s" : [ { - "value" : [ "","define ","SharedCodesFoo",": " ] - }, { - "r" : "238", - "s" : [ { - "r" : "235", - "s" : [ { - "value" : [ "'foo'" ] - } ] - }, { - "value" : [ " in " ] - }, { - "r" : "237", - "s" : [ { - "value" : [ "\"SharedCodes\"" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "238", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "InValueSet", - "signature" : [ { - "localId" : "239", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } ], - "code" : { - "localId" : "235", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "foo", - "type" : "Literal" - }, - "valueset" : { - "localId" : "237", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}ValueSet", - "name" : "SharedCodes", - "preserve" : true - } - } - }, { - "localId" : "242", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "SharedCodesNoMatch", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "242", - "s" : [ { - "value" : [ "","define ","SharedCodesNoMatch",": " ] - }, { - "r" : "246", - "s" : [ { - "r" : "243", - "s" : [ { - "value" : [ "'baz'" ] - } ] - }, { - "value" : [ " in " ] - }, { - "r" : "245", - "s" : [ { - "value" : [ "\"SharedCodes\"" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "246", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "InValueSet", - "signature" : [ { - "localId" : "247", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } ], - "code" : { - "localId" : "243", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "baz", - "type" : "Literal" - }, - "valueset" : { - "localId" : "245", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}ValueSet", - "name" : "SharedCodes", - "preserve" : true - } - } - }, { - "localId" : "250", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "ImproperSharedCodesCodeValue", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "250", - "s" : [ { - "value" : [ "","define ","ImproperSharedCodesCodeValue",": " ] - }, { - "r" : "254", - "s" : [ { - "r" : "251", - "s" : [ { - "value" : [ "'codeValue'" ] - } ] - }, { - "value" : [ " in " ] - }, { - "r" : "253", - "s" : [ { - "value" : [ "\"ImproperSharedCodes\"" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "254", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "InValueSet", - "signature" : [ { - "localId" : "255", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } ], - "code" : { - "localId" : "251", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "codeValue", - "type" : "Literal" - }, - "valueset" : { - "localId" : "253", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}ValueSet", - "name" : "ImproperSharedCodes", - "preserve" : true - } - } - }, { - "localId" : "258", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "StringInVersionedValueSet", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "258", - "s" : [ { - "value" : [ "","define ","StringInVersionedValueSet",": " ] - }, { - "r" : "262", - "s" : [ { - "r" : "259", - "s" : [ { - "value" : [ "'F'" ] - } ] - }, { - "value" : [ " in " ] - }, { - "r" : "261", - "s" : [ { - "value" : [ "\"Versioned Female\"" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "262", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "InValueSet", - "signature" : [ { - "localId" : "263", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } ], - "code" : { - "localId" : "259", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "F", - "type" : "Literal" - }, - "valueset" : { - "localId" : "261", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}ValueSet", - "name" : "Versioned Female", - "preserve" : true - } - } - }, { - "localId" : "266", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "ShortCode", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "266", - "s" : [ { - "value" : [ "","define ","ShortCode",": " ] - }, { - "r" : "272", - "s" : [ { - "r" : "267", - "s" : [ { - "value" : [ "Code"," { " ] - }, { - "s" : [ { - "value" : [ "code",": " ] - }, { - "r" : "269", - "s" : [ { - "value" : [ "'F'" ] - } ] - } ] - }, { - "value" : [ " }" ] - } ] - }, { - "value" : [ " in " ] - }, { - "r" : "271", - "s" : [ { - "value" : [ "\"Female\"" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "272", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "InValueSet", - "signature" : [ { - "localId" : "273", - "name" : "{urn:hl7-org:elm-types:r1}Code", - "type" : "NamedTypeSpecifier" - } ], - "code" : { - "localId" : "267", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Code", - "classType" : "{urn:hl7-org:elm-types:r1}Code", - "type" : "Instance", - "element" : [ { - "name" : "code", - "value" : { - "localId" : "269", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "F", - "type" : "Literal" - } - } ] - }, - "valueset" : { - "localId" : "271", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}ValueSet", - "name" : "Female", - "preserve" : true - } - } - }, { - "localId" : "276", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "MediumCode", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "276", - "s" : [ { - "value" : [ "","define ","MediumCode",": " ] - }, { - "r" : "284", - "s" : [ { - "r" : "277", - "s" : [ { - "value" : [ "Code"," { " ] - }, { - "s" : [ { - "value" : [ "code",": " ] - }, { - "r" : "279", - "s" : [ { - "value" : [ "'F'" ] - } ] - } ] - }, { - "value" : [ ", " ] - }, { - "s" : [ { - "value" : [ "system",": " ] - }, { - "r" : "281", - "s" : [ { - "value" : [ "'2.16.840.1.113883.18.2'" ] - } ] - } ] - }, { - "value" : [ " }" ] - } ] - }, { - "value" : [ " in " ] - }, { - "r" : "283", - "s" : [ { - "value" : [ "\"Female\"" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "284", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "InValueSet", - "signature" : [ { - "localId" : "285", - "name" : "{urn:hl7-org:elm-types:r1}Code", - "type" : "NamedTypeSpecifier" - } ], - "code" : { - "localId" : "277", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Code", - "classType" : "{urn:hl7-org:elm-types:r1}Code", - "type" : "Instance", - "element" : [ { - "name" : "code", - "value" : { - "localId" : "279", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "F", - "type" : "Literal" - } - }, { - "name" : "system", - "value" : { - "localId" : "281", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "2.16.840.1.113883.18.2", - "type" : "Literal" - } - } ] - }, - "valueset" : { - "localId" : "283", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}ValueSet", - "name" : "Female", - "preserve" : true - } - } - }, { - "localId" : "288", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "LongCode", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "288", - "s" : [ { - "value" : [ "","define ","LongCode",": " ] - }, { - "r" : "298", - "s" : [ { - "r" : "289", - "s" : [ { - "value" : [ "Code"," { " ] - }, { - "s" : [ { - "value" : [ "code",": " ] - }, { - "r" : "291", - "s" : [ { - "value" : [ "'F'" ] - } ] - } ] - }, { - "value" : [ ", " ] - }, { - "s" : [ { - "value" : [ "system",": " ] - }, { - "r" : "293", - "s" : [ { - "value" : [ "'2.16.840.1.113883.18.2'" ] - } ] - } ] - }, { - "value" : [ ", " ] - }, { - "s" : [ { - "value" : [ "version",": " ] - }, { - "r" : "295", - "s" : [ { - "value" : [ "'HL7V2.5'" ] - } ] - } ] - }, { - "value" : [ " }" ] - } ] - }, { - "value" : [ " in " ] - }, { - "r" : "297", - "s" : [ { - "value" : [ "\"Female\"" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "298", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "InValueSet", - "signature" : [ { - "localId" : "299", - "name" : "{urn:hl7-org:elm-types:r1}Code", - "type" : "NamedTypeSpecifier" - } ], - "code" : { - "localId" : "289", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Code", - "classType" : "{urn:hl7-org:elm-types:r1}Code", - "type" : "Instance", - "element" : [ { - "name" : "code", - "value" : { - "localId" : "291", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "F", - "type" : "Literal" - } - }, { - "name" : "system", - "value" : { - "localId" : "293", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "2.16.840.1.113883.18.2", - "type" : "Literal" - } - }, { - "name" : "version", - "value" : { - "localId" : "295", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "HL7V2.5", - "type" : "Literal" - } - } ] - }, - "valueset" : { - "localId" : "297", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}ValueSet", - "name" : "Female", - "preserve" : true - } - } - }, { - "localId" : "302", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "WrongString", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "302", - "s" : [ { - "value" : [ "","define ","WrongString",": " ] - }, { - "r" : "306", - "s" : [ { - "r" : "303", - "s" : [ { - "value" : [ "'M'" ] - } ] - }, { - "value" : [ " in " ] - }, { - "r" : "305", - "s" : [ { - "value" : [ "\"Female\"" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "306", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "InValueSet", - "signature" : [ { - "localId" : "307", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } ], - "code" : { - "localId" : "303", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "M", - "type" : "Literal" - }, - "valueset" : { - "localId" : "305", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}ValueSet", - "name" : "Female", - "preserve" : true - } - } - }, { - "localId" : "310", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "WrongStringInVersionedValueSet", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "310", - "s" : [ { - "value" : [ "","define ","WrongStringInVersionedValueSet",": " ] - }, { - "r" : "314", - "s" : [ { - "r" : "311", - "s" : [ { - "value" : [ "'M'" ] - } ] - }, { - "value" : [ " in " ] - }, { - "r" : "313", - "s" : [ { - "value" : [ "\"Versioned Female\"" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "314", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "InValueSet", - "signature" : [ { - "localId" : "315", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } ], - "code" : { - "localId" : "311", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "M", - "type" : "Literal" - }, - "valueset" : { - "localId" : "313", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}ValueSet", - "name" : "Versioned Female", - "preserve" : true - } - } - }, { - "localId" : "318", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "WrongShortCode", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "318", - "s" : [ { - "value" : [ "","define ","WrongShortCode",": " ] - }, { - "r" : "324", - "s" : [ { - "r" : "319", - "s" : [ { - "value" : [ "Code"," { " ] - }, { - "s" : [ { - "value" : [ "code",": " ] - }, { - "r" : "321", - "s" : [ { - "value" : [ "'M'" ] - } ] - } ] - }, { - "value" : [ " }" ] - } ] - }, { - "value" : [ " in " ] - }, { - "r" : "323", - "s" : [ { - "value" : [ "\"Female\"" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "324", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "InValueSet", - "signature" : [ { - "localId" : "325", - "name" : "{urn:hl7-org:elm-types:r1}Code", - "type" : "NamedTypeSpecifier" - } ], - "code" : { - "localId" : "319", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Code", - "classType" : "{urn:hl7-org:elm-types:r1}Code", - "type" : "Instance", - "element" : [ { - "name" : "code", - "value" : { - "localId" : "321", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "M", - "type" : "Literal" - } - } ] - }, - "valueset" : { - "localId" : "323", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}ValueSet", - "name" : "Female", - "preserve" : true - } - } - }, { - "localId" : "328", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "WrongMediumCode", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "328", - "s" : [ { - "value" : [ "","define ","WrongMediumCode",": " ] - }, { - "r" : "336", - "s" : [ { - "r" : "329", - "s" : [ { - "value" : [ "Code"," { " ] - }, { - "s" : [ { - "value" : [ "code",": " ] - }, { - "r" : "331", - "s" : [ { - "value" : [ "'F'" ] - } ] - } ] - }, { - "value" : [ ", " ] - }, { - "s" : [ { - "value" : [ "system",": " ] - }, { - "r" : "333", - "s" : [ { - "value" : [ "'3.16.840.1.113883.18.2'" ] - } ] - } ] - }, { - "value" : [ " }" ] - } ] - }, { - "value" : [ " in " ] - }, { - "r" : "335", - "s" : [ { - "value" : [ "\"Female\"" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "336", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "InValueSet", - "signature" : [ { - "localId" : "337", - "name" : "{urn:hl7-org:elm-types:r1}Code", - "type" : "NamedTypeSpecifier" - } ], - "code" : { - "localId" : "329", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Code", - "classType" : "{urn:hl7-org:elm-types:r1}Code", - "type" : "Instance", - "element" : [ { - "name" : "code", - "value" : { - "localId" : "331", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "F", - "type" : "Literal" - } - }, { - "name" : "system", - "value" : { - "localId" : "333", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "3.16.840.1.113883.18.2", - "type" : "Literal" - } - } ] - }, - "valueset" : { - "localId" : "335", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}ValueSet", - "name" : "Female", - "preserve" : true - } - } - }, { - "localId" : "340", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "LongCodeDifferentVersion", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "340", - "s" : [ { - "value" : [ "","define ","LongCodeDifferentVersion",": " ] - }, { - "r" : "350", - "s" : [ { - "r" : "341", - "s" : [ { - "value" : [ "Code"," { " ] - }, { - "s" : [ { - "value" : [ "code",": " ] - }, { - "r" : "343", - "s" : [ { - "value" : [ "'F'" ] - } ] - } ] - }, { - "value" : [ ", " ] - }, { - "s" : [ { - "value" : [ "system",": " ] - }, { - "r" : "345", - "s" : [ { - "value" : [ "'2.16.840.1.113883.18.2'" ] - } ] - } ] - }, { - "value" : [ ", " ] - }, { - "s" : [ { - "value" : [ "version",": " ] - }, { - "r" : "347", - "s" : [ { - "value" : [ "'HL7V2.6'" ] - } ] - } ] - }, { - "value" : [ " }" ] - } ] - }, { - "value" : [ " in " ] - }, { - "r" : "349", - "s" : [ { - "value" : [ "\"Female\"" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "350", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "InValueSet", - "signature" : [ { - "localId" : "351", - "name" : "{urn:hl7-org:elm-types:r1}Code", - "type" : "NamedTypeSpecifier" - } ], - "code" : { - "localId" : "341", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Code", - "classType" : "{urn:hl7-org:elm-types:r1}Code", - "type" : "Instance", - "element" : [ { - "name" : "code", - "value" : { - "localId" : "343", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "F", - "type" : "Literal" - } - }, { - "name" : "system", - "value" : { - "localId" : "345", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "2.16.840.1.113883.18.2", - "type" : "Literal" - } - }, { - "name" : "version", - "value" : { - "localId" : "347", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "HL7V2.6", - "type" : "Literal" - } - } ] - }, - "valueset" : { - "localId" : "349", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}ValueSet", - "name" : "Female", - "preserve" : true - } - } - }, { - "localId" : "354", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "NullCode", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "354", - "s" : [ { - "value" : [ "","define ","NullCode",": " ] - }, { - "r" : "364", - "s" : [ { - "r" : "355", - "s" : [ { - "value" : [ "Code"," { " ] - }, { - "s" : [ { - "r" : "357", - "value" : [ "code",": ","null" ] - } ] - }, { - "value" : [ ", " ] - }, { - "s" : [ { - "value" : [ "system",": " ] - }, { - "r" : "359", - "s" : [ { - "value" : [ "'2.16.840.1.113883.18.2'" ] - } ] - } ] - }, { - "value" : [ ", " ] - }, { - "s" : [ { - "value" : [ "version",": " ] - }, { - "r" : "361", - "s" : [ { - "value" : [ "'HL7V2.6'" ] - } ] - } ] - }, { - "value" : [ " }" ] - } ] - }, { - "value" : [ " in " ] - }, { - "r" : "363", - "s" : [ { - "value" : [ "\"Female\"" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "364", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "InValueSet", - "signature" : [ { - "localId" : "365", - "name" : "{urn:hl7-org:elm-types:r1}Code", - "type" : "NamedTypeSpecifier" - } ], - "code" : { - "localId" : "355", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Code", - "classType" : "{urn:hl7-org:elm-types:r1}Code", - "type" : "Instance", - "element" : [ { - "name" : "code", - "value" : { - "localId" : "358", - "asType" : "{urn:hl7-org:elm-types:r1}String", - "type" : "As", - "signature" : [ ], - "operand" : { - "localId" : "357", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - } - } - }, { - "name" : "system", - "value" : { - "localId" : "359", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "2.16.840.1.113883.18.2", - "type" : "Literal" - } - }, { - "name" : "version", - "value" : { - "localId" : "361", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "HL7V2.6", - "type" : "Literal" - } - } ] - }, - "valueset" : { - "localId" : "363", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}ValueSet", - "name" : "Female", - "preserve" : true - } - } - }, { - "localId" : "368", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "NullCastAsCode", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "368", - "s" : [ { - "value" : [ "","define ","NullCastAsCode",": " ] - }, { - "r" : "373", - "s" : [ { - "r" : "369", - "s" : [ { - "r" : "370", - "value" : [ "null"," as " ] - }, { - "r" : "371", - "s" : [ { - "value" : [ "Code" ] - } ] - } ] - }, { - "value" : [ " in " ] - }, { - "r" : "372", - "s" : [ { - "value" : [ "\"Female\"" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "373", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "InValueSet", - "signature" : [ { - "localId" : "374", - "name" : "{urn:hl7-org:elm-types:r1}Code", - "type" : "NamedTypeSpecifier" - } ], - "code" : { - "localId" : "369", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Code", - "strict" : false, - "type" : "As", - "signature" : [ ], - "operand" : { - "localId" : "370", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - }, - "asTypeSpecifier" : { - "localId" : "371", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Code", - "name" : "{urn:hl7-org:elm-types:r1}Code", - "type" : "NamedTypeSpecifier" - } - }, - "valueset" : { - "localId" : "372", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}ValueSet", - "name" : "Female", - "preserve" : true - } - } - }, { - "localId" : "377", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "NullCastAsCodeWithNullVS", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "377", + "name" : "Versioned Female", + "preserve" : true, + "annotation" : [ ] + } + } + }, { + "localId" : "266", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "ShortCode", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "266", + "s" : [ { + "value" : [ "", "define ", "ShortCode", ": " ] + }, { + "r" : "272", + "s" : [ { + "r" : "267", + "s" : [ { + "value" : [ "Code", " { " ] + }, { + "s" : [ { + "value" : [ "code", ": " ] + }, { + "r" : "269", + "s" : [ { + "value" : [ "'F'" ] + } ] + } ] + }, { + "value" : [ " }" ] + } ] + }, { + "value" : [ " in " ] + }, { + "r" : "271", + "s" : [ { + "value" : [ "\"Female\"" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "InValueSet", + "localId" : "272", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "273", + "name" : "{urn:hl7-org:elm-types:r1}Code", + "annotation" : [ ] + } ], + "code" : { + "type" : "Instance", + "localId" : "267", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Code", + "classType" : "{urn:hl7-org:elm-types:r1}Code", + "annotation" : [ ], + "element" : [ { + "name" : "code", + "value" : { + "type" : "Literal", + "localId" : "269", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "F", + "annotation" : [ ] + } + } ] + }, + "valueset" : { + "localId" : "271", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}ValueSet", + "name" : "Female", + "preserve" : true, + "annotation" : [ ] + } + } + }, { + "localId" : "276", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "MediumCode", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "276", + "s" : [ { + "value" : [ "", "define ", "MediumCode", ": " ] + }, { + "r" : "284", + "s" : [ { + "r" : "277", + "s" : [ { + "value" : [ "Code", " { " ] + }, { + "s" : [ { + "value" : [ "code", ": " ] + }, { + "r" : "279", + "s" : [ { + "value" : [ "'F'" ] + } ] + } ] + }, { + "value" : [ ", " ] + }, { + "s" : [ { + "value" : [ "system", ": " ] + }, { + "r" : "281", + "s" : [ { + "value" : [ "'2.16.840.1.113883.18.2'" ] + } ] + } ] + }, { + "value" : [ " }" ] + } ] + }, { + "value" : [ " in " ] + }, { + "r" : "283", + "s" : [ { + "value" : [ "\"Female\"" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "InValueSet", + "localId" : "284", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "285", + "name" : "{urn:hl7-org:elm-types:r1}Code", + "annotation" : [ ] + } ], + "code" : { + "type" : "Instance", + "localId" : "277", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Code", + "classType" : "{urn:hl7-org:elm-types:r1}Code", + "annotation" : [ ], + "element" : [ { + "name" : "code", + "value" : { + "type" : "Literal", + "localId" : "279", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "F", + "annotation" : [ ] + } + }, { + "name" : "system", + "value" : { + "type" : "Literal", + "localId" : "281", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "2.16.840.1.113883.18.2", + "annotation" : [ ] + } + } ] + }, + "valueset" : { + "localId" : "283", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}ValueSet", + "name" : "Female", + "preserve" : true, + "annotation" : [ ] + } + } + }, { + "localId" : "288", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "LongCode", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "288", + "s" : [ { + "value" : [ "", "define ", "LongCode", ": " ] + }, { + "r" : "298", + "s" : [ { + "r" : "289", + "s" : [ { + "value" : [ "Code", " { " ] + }, { + "s" : [ { + "value" : [ "code", ": " ] + }, { + "r" : "291", + "s" : [ { + "value" : [ "'F'" ] + } ] + } ] + }, { + "value" : [ ", " ] + }, { + "s" : [ { + "value" : [ "system", ": " ] + }, { + "r" : "293", + "s" : [ { + "value" : [ "'2.16.840.1.113883.18.2'" ] + } ] + } ] + }, { + "value" : [ ", " ] + }, { + "s" : [ { + "value" : [ "version", ": " ] + }, { + "r" : "295", + "s" : [ { + "value" : [ "'HL7V2.5'" ] + } ] + } ] + }, { + "value" : [ " }" ] + } ] + }, { + "value" : [ " in " ] + }, { + "r" : "297", + "s" : [ { + "value" : [ "\"Female\"" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "InValueSet", + "localId" : "298", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "299", + "name" : "{urn:hl7-org:elm-types:r1}Code", + "annotation" : [ ] + } ], + "code" : { + "type" : "Instance", + "localId" : "289", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Code", + "classType" : "{urn:hl7-org:elm-types:r1}Code", + "annotation" : [ ], + "element" : [ { + "name" : "code", + "value" : { + "type" : "Literal", + "localId" : "291", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "F", + "annotation" : [ ] + } + }, { + "name" : "system", + "value" : { + "type" : "Literal", + "localId" : "293", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "2.16.840.1.113883.18.2", + "annotation" : [ ] + } + }, { + "name" : "version", + "value" : { + "type" : "Literal", + "localId" : "295", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "HL7V2.5", + "annotation" : [ ] + } + } ] + }, + "valueset" : { + "localId" : "297", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}ValueSet", + "name" : "Female", + "preserve" : true, + "annotation" : [ ] + } + } + }, { + "localId" : "302", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "WrongString", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "302", + "s" : [ { + "value" : [ "", "define ", "WrongString", ": " ] + }, { + "r" : "306", + "s" : [ { + "r" : "303", + "s" : [ { + "value" : [ "'M'" ] + } ] + }, { + "value" : [ " in " ] + }, { + "r" : "305", + "s" : [ { + "value" : [ "\"Female\"" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "InValueSet", + "localId" : "306", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "307", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } ], + "code" : { + "type" : "Literal", + "localId" : "303", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "M", + "annotation" : [ ] + }, + "valueset" : { + "localId" : "305", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}ValueSet", + "name" : "Female", + "preserve" : true, + "annotation" : [ ] + } + } + }, { + "localId" : "310", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "WrongStringInVersionedValueSet", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "310", + "s" : [ { + "value" : [ "", "define ", "WrongStringInVersionedValueSet", ": " ] + }, { + "r" : "314", + "s" : [ { + "r" : "311", + "s" : [ { + "value" : [ "'M'" ] + } ] + }, { + "value" : [ " in " ] + }, { + "r" : "313", + "s" : [ { + "value" : [ "\"Versioned Female\"" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "InValueSet", + "localId" : "314", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "315", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } ], + "code" : { + "type" : "Literal", + "localId" : "311", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "M", + "annotation" : [ ] + }, + "valueset" : { + "localId" : "313", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}ValueSet", + "name" : "Versioned Female", + "preserve" : true, + "annotation" : [ ] + } + } + }, { + "localId" : "318", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "WrongShortCode", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "318", + "s" : [ { + "value" : [ "", "define ", "WrongShortCode", ": " ] + }, { + "r" : "324", + "s" : [ { + "r" : "319", + "s" : [ { + "value" : [ "Code", " { " ] + }, { + "s" : [ { + "value" : [ "code", ": " ] + }, { + "r" : "321", + "s" : [ { + "value" : [ "'M'" ] + } ] + } ] + }, { + "value" : [ " }" ] + } ] + }, { + "value" : [ " in " ] + }, { + "r" : "323", + "s" : [ { + "value" : [ "\"Female\"" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "InValueSet", + "localId" : "324", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "325", + "name" : "{urn:hl7-org:elm-types:r1}Code", + "annotation" : [ ] + } ], + "code" : { + "type" : "Instance", + "localId" : "319", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Code", + "classType" : "{urn:hl7-org:elm-types:r1}Code", + "annotation" : [ ], + "element" : [ { + "name" : "code", + "value" : { + "type" : "Literal", + "localId" : "321", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "M", + "annotation" : [ ] + } + } ] + }, + "valueset" : { + "localId" : "323", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}ValueSet", + "name" : "Female", + "preserve" : true, + "annotation" : [ ] + } + } + }, { + "localId" : "328", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "WrongMediumCode", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "328", + "s" : [ { + "value" : [ "", "define ", "WrongMediumCode", ": " ] + }, { + "r" : "336", + "s" : [ { + "r" : "329", + "s" : [ { + "value" : [ "Code", " { " ] + }, { + "s" : [ { + "value" : [ "code", ": " ] + }, { + "r" : "331", + "s" : [ { + "value" : [ "'F'" ] + } ] + } ] + }, { + "value" : [ ", " ] + }, { + "s" : [ { + "value" : [ "system", ": " ] + }, { + "r" : "333", + "s" : [ { + "value" : [ "'3.16.840.1.113883.18.2'" ] + } ] + } ] + }, { + "value" : [ " }" ] + } ] + }, { + "value" : [ " in " ] + }, { + "r" : "335", + "s" : [ { + "value" : [ "\"Female\"" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "InValueSet", + "localId" : "336", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "337", + "name" : "{urn:hl7-org:elm-types:r1}Code", + "annotation" : [ ] + } ], + "code" : { + "type" : "Instance", + "localId" : "329", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Code", + "classType" : "{urn:hl7-org:elm-types:r1}Code", + "annotation" : [ ], + "element" : [ { + "name" : "code", + "value" : { + "type" : "Literal", + "localId" : "331", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "F", + "annotation" : [ ] + } + }, { + "name" : "system", + "value" : { + "type" : "Literal", + "localId" : "333", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "3.16.840.1.113883.18.2", + "annotation" : [ ] + } + } ] + }, + "valueset" : { + "localId" : "335", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}ValueSet", + "name" : "Female", + "preserve" : true, + "annotation" : [ ] + } + } + }, { + "localId" : "340", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "LongCodeDifferentVersion", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "340", + "s" : [ { + "value" : [ "", "define ", "LongCodeDifferentVersion", ": " ] + }, { + "r" : "350", + "s" : [ { + "r" : "341", + "s" : [ { + "value" : [ "Code", " { " ] + }, { + "s" : [ { + "value" : [ "code", ": " ] + }, { + "r" : "343", + "s" : [ { + "value" : [ "'F'" ] + } ] + } ] + }, { + "value" : [ ", " ] + }, { + "s" : [ { + "value" : [ "system", ": " ] + }, { + "r" : "345", + "s" : [ { + "value" : [ "'2.16.840.1.113883.18.2'" ] + } ] + } ] + }, { + "value" : [ ", " ] + }, { + "s" : [ { + "value" : [ "version", ": " ] + }, { + "r" : "347", + "s" : [ { + "value" : [ "'HL7V2.6'" ] + } ] + } ] + }, { + "value" : [ " }" ] + } ] + }, { + "value" : [ " in " ] + }, { + "r" : "349", + "s" : [ { + "value" : [ "\"Female\"" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "InValueSet", + "localId" : "350", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "351", + "name" : "{urn:hl7-org:elm-types:r1}Code", + "annotation" : [ ] + } ], + "code" : { + "type" : "Instance", + "localId" : "341", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Code", + "classType" : "{urn:hl7-org:elm-types:r1}Code", + "annotation" : [ ], + "element" : [ { + "name" : "code", + "value" : { + "type" : "Literal", + "localId" : "343", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "F", + "annotation" : [ ] + } + }, { + "name" : "system", + "value" : { + "type" : "Literal", + "localId" : "345", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "2.16.840.1.113883.18.2", + "annotation" : [ ] + } + }, { + "name" : "version", + "value" : { + "type" : "Literal", + "localId" : "347", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "HL7V2.6", + "annotation" : [ ] + } + } ] + }, + "valueset" : { + "localId" : "349", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}ValueSet", + "name" : "Female", + "preserve" : true, + "annotation" : [ ] + } + } + }, { + "localId" : "354", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "NullCode", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "354", + "s" : [ { + "value" : [ "", "define ", "NullCode", ": " ] + }, { + "r" : "364", + "s" : [ { + "r" : "355", + "s" : [ { + "value" : [ "Code", " { " ] + }, { + "s" : [ { + "r" : "357", + "value" : [ "code", ": ", "null" ] + } ] + }, { + "value" : [ ", " ] + }, { + "s" : [ { + "value" : [ "system", ": " ] + }, { + "r" : "359", + "s" : [ { + "value" : [ "'2.16.840.1.113883.18.2'" ] + } ] + } ] + }, { + "value" : [ ", " ] + }, { + "s" : [ { + "value" : [ "version", ": " ] + }, { + "r" : "361", + "s" : [ { + "value" : [ "'HL7V2.6'" ] + } ] + } ] + }, { + "value" : [ " }" ] + } ] + }, { + "value" : [ " in " ] + }, { + "r" : "363", + "s" : [ { + "value" : [ "\"Female\"" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "InValueSet", + "localId" : "364", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "365", + "name" : "{urn:hl7-org:elm-types:r1}Code", + "annotation" : [ ] + } ], + "code" : { + "type" : "Instance", + "localId" : "355", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Code", + "classType" : "{urn:hl7-org:elm-types:r1}Code", + "annotation" : [ ], + "element" : [ { + "name" : "code", + "value" : { + "type" : "As", + "localId" : "358", + "asType" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Null", + "localId" : "357", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } + } + }, { + "name" : "system", + "value" : { + "type" : "Literal", + "localId" : "359", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "2.16.840.1.113883.18.2", + "annotation" : [ ] + } + }, { + "name" : "version", + "value" : { + "type" : "Literal", + "localId" : "361", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "HL7V2.6", + "annotation" : [ ] + } + } ] + }, + "valueset" : { + "localId" : "363", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}ValueSet", + "name" : "Female", + "preserve" : true, + "annotation" : [ ] + } + } + }, { + "localId" : "368", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "NullCastAsCode", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "368", + "s" : [ { + "value" : [ "", "define ", "NullCastAsCode", ": " ] + }, { + "r" : "373", + "s" : [ { + "r" : "369", + "s" : [ { + "r" : "370", + "value" : [ "null", " as " ] + }, { + "r" : "371", "s" : [ { - "value" : [ "","define ","NullCastAsCodeWithNullVS",": " ] - }, { - "r" : "384", - "s" : [ { - "r" : "378", - "s" : [ { - "r" : "379", - "value" : [ "null"," as " ] - }, { - "r" : "380", - "s" : [ { - "value" : [ "Code" ] - } ] - } ] - }, { - "value" : [ " in " ] - }, { - "r" : "381", - "s" : [ { - "r" : "382", - "value" : [ "null"," as " ] - }, { - "r" : "383", - "s" : [ { - "value" : [ "ValueSet" ] - } ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "384", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "InValueSet", - "signature" : [ { - "localId" : "385", - "name" : "{urn:hl7-org:elm-types:r1}Code", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "386", - "name" : "{urn:hl7-org:elm-types:r1}ValueSet", - "type" : "NamedTypeSpecifier" - } ], - "code" : { - "localId" : "378", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Code", - "strict" : false, - "type" : "As", - "signature" : [ ], - "operand" : { - "localId" : "379", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - }, - "asTypeSpecifier" : { - "localId" : "380", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Code", - "name" : "{urn:hl7-org:elm-types:r1}Code", - "type" : "NamedTypeSpecifier" - } - }, - "valuesetExpression" : { - "localId" : "381", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}ValueSet", - "strict" : false, - "type" : "As", - "signature" : [ ], - "operand" : { - "localId" : "382", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - }, - "asTypeSpecifier" : { - "localId" : "383", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}ValueSet", - "name" : "{urn:hl7-org:elm-types:r1}ValueSet", - "type" : "NamedTypeSpecifier" - } - } + "value" : [ "Code" ] + } ] + } ] + }, { + "value" : [ " in " ] + }, { + "r" : "372", + "s" : [ { + "value" : [ "\"Female\"" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "InValueSet", + "localId" : "373", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "374", + "name" : "{urn:hl7-org:elm-types:r1}Code", + "annotation" : [ ] + } ], + "code" : { + "type" : "As", + "localId" : "369", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Code", + "strict" : false, + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Null", + "localId" : "370", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + }, + "asTypeSpecifier" : { + "type" : "NamedTypeSpecifier", + "localId" : "371", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Code", + "name" : "{urn:hl7-org:elm-types:r1}Code", + "annotation" : [ ] } - }, { - "localId" : "387", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "FInVS", - "context" : "Patient", - "accessLevel" : "Public", - "type" : "FunctionDef", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "387", - "s" : [ { - "value" : [ "","define function FInVS(vs ValueSet): " ] - }, { - "r" : "395", - "s" : [ { - "r" : "395", - "s" : [ { - "r" : "392", - "s" : [ { - "value" : [ "'F'" ] - } ] - }, { - "value" : [ " in " ] - }, { - "r" : "394", - "s" : [ { - "value" : [ "vs" ] - } ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "395", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "InValueSet", - "signature" : [ { - "localId" : "396", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "397", - "name" : "{urn:hl7-org:elm-types:r1}ValueSet", - "type" : "NamedTypeSpecifier" - } ], - "code" : { - "localId" : "392", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "F", - "type" : "Literal" - }, - "valuesetExpression" : { - "localId" : "394", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}ValueSet", - "name" : "vs", - "type" : "OperandRef" - } + }, + "valueset" : { + "localId" : "372", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}ValueSet", + "name" : "Female", + "preserve" : true, + "annotation" : [ ] + } + } + }, { + "localId" : "377", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "NullCastAsCodeWithNullVS", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "377", + "s" : [ { + "value" : [ "", "define ", "NullCastAsCodeWithNullVS", ": " ] + }, { + "r" : "384", + "s" : [ { + "r" : "378", + "s" : [ { + "r" : "379", + "value" : [ "null", " as " ] + }, { + "r" : "380", + "s" : [ { + "value" : [ "Code" ] + } ] + } ] + }, { + "value" : [ " in " ] + }, { + "r" : "381", + "s" : [ { + "r" : "382", + "value" : [ "null", " as " ] + }, { + "r" : "383", + "s" : [ { + "value" : [ "ValueSet" ] + } ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "InValueSet", + "localId" : "384", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "385", + "name" : "{urn:hl7-org:elm-types:r1}Code", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "386", + "name" : "{urn:hl7-org:elm-types:r1}ValueSet", + "annotation" : [ ] + } ], + "code" : { + "type" : "As", + "localId" : "378", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Code", + "strict" : false, + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Null", + "localId" : "379", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] }, - "operand" : [ { - "localId" : "389", - "name" : "vs", - "operandTypeSpecifier" : { - "localId" : "388", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}ValueSet", - "name" : "{urn:hl7-org:elm-types:r1}ValueSet", - "type" : "NamedTypeSpecifier" - } - } ] - }, { - "localId" : "400", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "FInPassedVS", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "400", - "s" : [ { - "value" : [ "","define ","FInPassedVS",": " ] - }, { - "r" : "402", - "s" : [ { - "value" : [ "FInVS","(" ] - }, { - "r" : "401", - "s" : [ { - "value" : [ "\"Female\"" ] - } ] - }, { - "value" : [ ")" ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "402", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "FInVS", - "type" : "FunctionRef", - "signature" : [ { - "localId" : "403", - "name" : "{urn:hl7-org:elm-types:r1}ValueSet", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "401", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}ValueSet", - "name" : "Female", - "preserve" : true, - "type" : "ValueSetRef" - } ] + "asTypeSpecifier" : { + "type" : "NamedTypeSpecifier", + "localId" : "380", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Code", + "name" : "{urn:hl7-org:elm-types:r1}Code", + "annotation" : [ ] } - }, { - "localId" : "406", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "FInWrongVS", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "406", - "s" : [ { - "value" : [ "","define ","FInWrongVS",": " ] - }, { - "r" : "408", - "s" : [ { - "value" : [ "FInVS","(" ] - }, { - "r" : "407", - "s" : [ { - "value" : [ "\"Male\"" ] - } ] - }, { - "value" : [ ")" ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "408", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "FInVS", - "type" : "FunctionRef", - "signature" : [ { - "localId" : "409", - "name" : "{urn:hl7-org:elm-types:r1}ValueSet", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "407", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}ValueSet", - "name" : "Male", - "preserve" : true, - "type" : "ValueSetRef" - } ] + }, + "valuesetExpression" : { + "type" : "As", + "localId" : "381", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}ValueSet", + "strict" : false, + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Null", + "localId" : "382", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + }, + "asTypeSpecifier" : { + "type" : "NamedTypeSpecifier", + "localId" : "383", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}ValueSet", + "name" : "{urn:hl7-org:elm-types:r1}ValueSet", + "annotation" : [ ] } - }, { - "localId" : "412", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "FInNullVS", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "412", + } + } + }, { + "type" : "FunctionDef", + "localId" : "387", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "FInVS", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "387", + "s" : [ { + "value" : [ "", "define function FInVS(vs ValueSet): " ] + }, { + "r" : "395", + "s" : [ { + "r" : "395", + "s" : [ { + "r" : "392", "s" : [ { - "value" : [ "","define ","FInNullVS",": " ] - }, { - "r" : "416", - "s" : [ { - "value" : [ "FInVS","(" ] - }, { - "r" : "413", - "s" : [ { - "r" : "414", - "value" : [ "null"," as " ] - }, { - "r" : "415", - "s" : [ { - "value" : [ "ValueSet" ] - } ] - } ] - }, { - "value" : [ ")" ] - } ] + "value" : [ "'F'" ] } ] - } - } ], - "expression" : { - "localId" : "416", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "FInVS", - "type" : "FunctionRef", - "signature" : [ { - "localId" : "417", - "name" : "{urn:hl7-org:elm-types:r1}ValueSet", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "413", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}ValueSet", - "strict" : false, - "type" : "As", - "signature" : [ ], - "operand" : { - "localId" : "414", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - }, - "asTypeSpecifier" : { - "localId" : "415", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}ValueSet", - "name" : "{urn:hl7-org:elm-types:r1}ValueSet", - "type" : "NamedTypeSpecifier" - } - } ] - } - }, { - "localId" : "420", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "InUnknown", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "420", + }, { + "value" : [ " in " ] + }, { + "r" : "394", "s" : [ { - "value" : [ "","define ","InUnknown",": " ] - }, { - "r" : "424", - "s" : [ { - "r" : "421", - "s" : [ { - "value" : [ "'F'" ] - } ] - }, { - "value" : [ " in " ] - }, { - "r" : "423", - "s" : [ { - "value" : [ "\"UnknownIn\"" ] - } ] - } ] + "value" : [ "vs" ] } ] - } - } ], - "expression" : { - "localId" : "424", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "InValueSet", - "signature" : [ { - "localId" : "425", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } ], - "code" : { - "localId" : "421", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "F", - "type" : "Literal" - }, - "valueset" : { - "localId" : "423", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}ValueSet", - "name" : "UnknownIn", - "preserve" : true - } + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "InValueSet", + "localId" : "395", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "396", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "397", + "name" : "{urn:hl7-org:elm-types:r1}ValueSet", + "annotation" : [ ] + } ], + "code" : { + "type" : "Literal", + "localId" : "392", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "F", + "annotation" : [ ] + }, + "valuesetExpression" : { + "type" : "OperandRef", + "localId" : "394", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}ValueSet", + "name" : "vs", + "annotation" : [ ] + } + }, + "operand" : [ { + "localId" : "389", + "name" : "vs", + "annotation" : [ ], + "operandTypeSpecifier" : { + "type" : "NamedTypeSpecifier", + "localId" : "388", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}ValueSet", + "name" : "{urn:hl7-org:elm-types:r1}ValueSet", + "annotation" : [ ] + } + } ] + }, { + "localId" : "400", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "FInPassedVS", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "400", + "s" : [ { + "value" : [ "", "define ", "FInPassedVS", ": " ] + }, { + "r" : "402", + "s" : [ { + "value" : [ "FInVS", "(" ] + }, { + "r" : "401", + "s" : [ { + "value" : [ "\"Female\"" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "FunctionRef", + "localId" : "402", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "FInVS", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "403", + "name" : "{urn:hl7-org:elm-types:r1}ValueSet", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "ValueSetRef", + "localId" : "401", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}ValueSet", + "name" : "Female", + "preserve" : true, + "annotation" : [ ] + } ] + } + }, { + "localId" : "406", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "FInWrongVS", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "406", + "s" : [ { + "value" : [ "", "define ", "FInWrongVS", ": " ] + }, { + "r" : "408", + "s" : [ { + "value" : [ "FInVS", "(" ] + }, { + "r" : "407", + "s" : [ { + "value" : [ "\"Male\"" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "FunctionRef", + "localId" : "408", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "FInVS", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "409", + "name" : "{urn:hl7-org:elm-types:r1}ValueSet", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "ValueSetRef", + "localId" : "407", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}ValueSet", + "name" : "Male", + "preserve" : true, + "annotation" : [ ] + } ] + } + }, { + "localId" : "412", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "FInNullVS", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "412", + "s" : [ { + "value" : [ "", "define ", "FInNullVS", ": " ] + }, { + "r" : "416", + "s" : [ { + "value" : [ "FInVS", "(" ] + }, { + "r" : "413", + "s" : [ { + "r" : "414", + "value" : [ "null", " as " ] + }, { + "r" : "415", + "s" : [ { + "value" : [ "ValueSet" ] + } ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "FunctionRef", + "localId" : "416", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "FInVS", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "417", + "name" : "{urn:hl7-org:elm-types:r1}ValueSet", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "As", + "localId" : "413", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}ValueSet", + "strict" : false, + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Null", + "localId" : "414", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + }, + "asTypeSpecifier" : { + "type" : "NamedTypeSpecifier", + "localId" : "415", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}ValueSet", + "name" : "{urn:hl7-org:elm-types:r1}ValueSet", + "annotation" : [ ] } - } ] - } - } + } ] + } + }, { + "localId" : "420", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "InUnknown", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "420", + "s" : [ { + "value" : [ "", "define ", "InUnknown", ": " ] + }, { + "r" : "424", + "s" : [ { + "r" : "421", + "s" : [ { + "value" : [ "'F'" ] + } ] + }, { + "value" : [ " in " ] + }, { + "r" : "423", + "s" : [ { + "value" : [ "\"UnknownIn\"" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "InValueSet", + "localId" : "424", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "425", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } ], + "code" : { + "type" : "Literal", + "localId" : "421", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "F", + "annotation" : [ ] + }, + "valueset" : { + "localId" : "423", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}ValueSet", + "name" : "UnknownIn", + "preserve" : true, + "annotation" : [ ] + } + } + } ] + } + } } /* ExpandValueset @@ -3666,883 +3996,1000 @@ define ExpandUnknown: ExpandValueSet("UnknownExpand") */ module.exports['ExpandValueset'] = { - "library" : { - "localId" : "0", - "annotation" : [ { - "translatorVersion" : "3.27.0", - "translatorOptions" : "EnableDateRangeOptimization,EnableAnnotations,EnableResultTypes", - "signatureLevel" : "All", - "type" : "CqlToElmInfo" - }, { - "type" : "Annotation", - "s" : { - "r" : "359", + "library" : { + "localId" : "0", + "annotation" : [ { + "type" : "CqlToElmInfo", + "translatorVersion" : "4.2.0", + "translatorOptions" : "EnableDateRangeOptimization,EnableAnnotations,EnableResultTypes", + "signatureLevel" : "All" + }, { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "359", + "s" : [ { + "value" : [ "", "library TestSnippet version '1'" ] + } ] + } + } ], + "identifier" : { + "id" : "TestSnippet", + "version" : "1" + }, + "schemaIdentifier" : { + "id" : "urn:hl7-org:elm", + "version" : "r1" + }, + "usings" : { + "def" : [ { + "localId" : "1", + "localIdentifier" : "System", + "uri" : "urn:hl7-org:elm-types:r1", + "annotation" : [ ] + }, { + "localId" : "206", + "localIdentifier" : "Simple", + "uri" : "https://github.com/cqframework/cql-execution/simple", + "version" : "1.0.0", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "206", + "s" : [ { + "value" : [ "", "using " ] + }, { + "s" : [ { + "value" : [ "Simple" ] + } ] + }, { + "value" : [ " version '1.0.0'" ] + } ] + } + } ] + } ] + }, + "valueSets" : { + "def" : [ { + "localId" : "208", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}ValueSet", + "name" : "Female", + "id" : "2.16.840.1.113883.3.560.100.2", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "208", + "s" : [ { + "value" : [ "", "valueset ", "\"Female\"", ": ", "'2.16.840.1.113883.3.560.100.2'" ] + } ] + } + } ], + "codeSystem" : [ ] + }, { + "localId" : "210", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}ValueSet", + "name" : "Known", + "id" : "2.16.840.1.113883.3.464.1003.101.12.1061", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "210", + "s" : [ { + "value" : [ "", "valueset ", "\"Known\"", ": ", "'2.16.840.1.113883.3.464.1003.101.12.1061'" ] + } ] + } + } ], + "codeSystem" : [ ] + }, { + "localId" : "212", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}ValueSet", + "name" : "UnknownExpand", + "id" : "1.2.3.4.5.6.7.8.9", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "212", + "s" : [ { + "value" : [ "", "valueset ", "\"UnknownExpand\"", ": ", "'1.2.3.4.5.6.7.8.9'" ] + } ] + } + } ], + "codeSystem" : [ ] + } ] + }, + "contexts" : { + "def" : [ { + "localId" : "217", + "name" : "Patient", + "annotation" : [ ] + } ] + }, + "statements" : { + "def" : [ { + "localId" : "215", + "name" : "Patient", + "context" : "Patient", + "annotation" : [ ], + "expression" : { + "type" : "SingletonFrom", + "localId" : "216", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Retrieve", + "localId" : "214", + "dataType" : "{https://github.com/cqframework/cql-execution/simple}Patient", + "annotation" : [ ], + "include" : [ ], + "codeFilter" : [ ], + "dateFilter" : [ ], + "otherFilter" : [ ] + } + } + }, { + "localId" : "220", + "name" : "ExpandFemale", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "220", + "s" : [ { + "value" : [ "", "define ", "ExpandFemale", ": " ] + }, { + "r" : "225", + "s" : [ { + "value" : [ "ExpandValueSet", "(" ] + }, { + "r" : "221", + "s" : [ { + "value" : [ "\"Female\"" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "229", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "230", + "name" : "{urn:hl7-org:elm-types:r1}Code", + "annotation" : [ ] + } + }, + "expression" : { + "type" : "ExpandValueSet", + "localId" : "225", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "227", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "228", + "name" : "{urn:hl7-org:elm-types:r1}Code", + "annotation" : [ ] + } + }, + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "226", + "name" : "{urn:hl7-org:elm-types:r1}ValueSet", + "annotation" : [ ] + } ], + "operand" : { + "type" : "ValueSetRef", + "localId" : "221", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}ValueSet", + "name" : "Female", + "preserve" : true, + "annotation" : [ ] + } + } + }, { + "localId" : "233", + "name" : "ExpandKnown", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "233", + "s" : [ { + "value" : [ "", "define ", "ExpandKnown", ": " ] + }, { + "r" : "238", + "s" : [ { + "value" : [ "ExpandValueSet", "(" ] + }, { + "r" : "234", + "s" : [ { + "value" : [ "\"Known\"" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "242", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "243", + "name" : "{urn:hl7-org:elm-types:r1}Code", + "annotation" : [ ] + } + }, + "expression" : { + "type" : "ExpandValueSet", + "localId" : "238", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "240", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "241", + "name" : "{urn:hl7-org:elm-types:r1}Code", + "annotation" : [ ] + } + }, + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "239", + "name" : "{urn:hl7-org:elm-types:r1}ValueSet", + "annotation" : [ ] + } ], + "operand" : { + "type" : "ValueSetRef", + "localId" : "234", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}ValueSet", + "name" : "Known", + "preserve" : true, + "annotation" : [ ] + } + } + }, { + "localId" : "246", + "name" : "ExpandNull", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "246", + "s" : [ { + "value" : [ "", "define ", "ExpandNull", ": " ] + }, { + "r" : "252", + "s" : [ { + "r" : "247", + "value" : [ "ExpandValueSet", "(", "null", ")" ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "257", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "258", + "name" : "{urn:hl7-org:elm-types:r1}Code", + "annotation" : [ ] + } + }, + "expression" : { + "type" : "ExpandValueSet", + "localId" : "252", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "255", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "256", + "name" : "{urn:hl7-org:elm-types:r1}Code", + "annotation" : [ ] + } + }, + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "254", + "name" : "{urn:hl7-org:elm-types:r1}ValueSet", + "annotation" : [ ] + } ], + "operand" : { + "type" : "As", + "localId" : "253", + "asType" : "{urn:hl7-org:elm-types:r1}ValueSet", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Null", + "localId" : "247", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } + } + } + }, { + "localId" : "261", + "name" : "InvokeExpandWithUnion", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "261", + "s" : [ { + "value" : [ "", "define ", "InvokeExpandWithUnion", ": " ] + }, { + "r" : "264", + "s" : [ { + "r" : "262", + "s" : [ { + "value" : [ "\"Female\"" ] + } ] + }, { + "value" : [ " union " ] + }, { + "r" : "263", + "s" : [ { + "value" : [ "\"Known\"" ] + } ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "277", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "278", + "name" : "{urn:hl7-org:elm-types:r1}Code", + "annotation" : [ ] + } + }, + "expression" : { + "type" : "Union", + "localId" : "264", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "275", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "276", + "name" : "{urn:hl7-org:elm-types:r1}Code", + "annotation" : [ ] + } + }, + "signature" : [ { + "type" : "ListTypeSpecifier", + "localId" : "271", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "272", + "name" : "{urn:hl7-org:elm-types:r1}Code", + "annotation" : [ ] + } + }, { + "type" : "ListTypeSpecifier", + "localId" : "273", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "274", + "name" : "{urn:hl7-org:elm-types:r1}Code", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "ExpandValueSet", + "localId" : "266", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "267", + "name" : "{urn:hl7-org:elm-types:r1}ValueSet", + "annotation" : [ ] + } ], + "operand" : { + "type" : "ValueSetRef", + "localId" : "262", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}ValueSet", + "name" : "Female", + "preserve" : true, + "annotation" : [ ] + } + }, { + "type" : "ExpandValueSet", + "localId" : "269", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "270", + "name" : "{urn:hl7-org:elm-types:r1}ValueSet", + "annotation" : [ ] + } ], + "operand" : { + "type" : "ValueSetRef", + "localId" : "263", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}ValueSet", + "name" : "Known", + "preserve" : true, + "annotation" : [ ] + } + } ] + } + }, { + "type" : "FunctionDef", + "localId" : "279", + "name" : "ExpandVSHelper", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "279", "s" : [ { - "value" : [ "","library TestSnippet version '1'" ] - } ] - } - } ], - "identifier" : { - "id" : "TestSnippet", - "version" : "1" - }, - "schemaIdentifier" : { - "id" : "urn:hl7-org:elm", - "version" : "r1" - }, - "usings" : { - "def" : [ { - "localId" : "1", - "localIdentifier" : "System", - "uri" : "urn:hl7-org:elm-types:r1" - }, { - "localId" : "206", - "localIdentifier" : "Simple", - "uri" : "https://github.com/cqframework/cql-execution/simple", - "version" : "1.0.0", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "206", - "s" : [ { - "value" : [ "","using " ] - }, { - "s" : [ { - "value" : [ "Simple" ] - } ] - }, { - "value" : [ " version '1.0.0'" ] - } ] - } + "value" : [ "", "define function ExpandVSHelper(vs ValueSet): " ] + }, { + "r" : "288", + "s" : [ { + "r" : "288", + "s" : [ { + "value" : [ "ExpandValueSet", "(" ] + }, { + "r" : "284", + "s" : [ { + "value" : [ "vs" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] } ] - } ] - }, - "valueSets" : { - "def" : [ { - "localId" : "208", + } + } ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "294", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "295", + "name" : "{urn:hl7-org:elm-types:r1}Code", + "annotation" : [ ] + } + }, + "expression" : { + "type" : "ExpandValueSet", + "localId" : "288", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "292", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "293", + "name" : "{urn:hl7-org:elm-types:r1}Code", + "annotation" : [ ] + } + }, + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "289", + "name" : "{urn:hl7-org:elm-types:r1}ValueSet", + "annotation" : [ ] + } ], + "operand" : { + "type" : "OperandRef", + "localId" : "284", "resultTypeName" : "{urn:hl7-org:elm-types:r1}ValueSet", - "name" : "Female", - "id" : "2.16.840.1.113883.3.560.100.2", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "208", - "s" : [ { - "value" : [ "","valueset ","\"Female\"",": ","'2.16.840.1.113883.3.560.100.2'" ] - } ] - } - } ], - "codeSystem" : [ ] - }, { - "localId" : "210", + "name" : "vs", + "annotation" : [ ] + } + }, + "operand" : [ { + "localId" : "281", + "name" : "vs", + "annotation" : [ ], + "operandTypeSpecifier" : { + "type" : "NamedTypeSpecifier", + "localId" : "280", "resultTypeName" : "{urn:hl7-org:elm-types:r1}ValueSet", - "name" : "Known", - "id" : "2.16.840.1.113883.3.464.1003.101.12.1061", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "210", - "s" : [ { - "value" : [ "","valueset ","\"Known\"",": ","'2.16.840.1.113883.3.464.1003.101.12.1061'" ] - } ] - } - } ], - "codeSystem" : [ ] - }, { - "localId" : "212", + "name" : "{urn:hl7-org:elm-types:r1}ValueSet", + "annotation" : [ ] + } + } ] + }, { + "localId" : "298", + "name" : "ExpandPassedVS", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "298", + "s" : [ { + "value" : [ "", "define ", "ExpandPassedVS", ": " ] + }, { + "r" : "300", + "s" : [ { + "value" : [ "ExpandVSHelper", "(" ] + }, { + "r" : "299", + "s" : [ { + "value" : [ "\"Female\"" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "304", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "305", + "name" : "{urn:hl7-org:elm-types:r1}Code", + "annotation" : [ ] + } + }, + "expression" : { + "type" : "FunctionRef", + "localId" : "300", + "name" : "ExpandVSHelper", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "302", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "303", + "name" : "{urn:hl7-org:elm-types:r1}Code", + "annotation" : [ ] + } + }, + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "301", + "name" : "{urn:hl7-org:elm-types:r1}ValueSet", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "ValueSetRef", + "localId" : "299", "resultTypeName" : "{urn:hl7-org:elm-types:r1}ValueSet", - "name" : "UnknownExpand", - "id" : "1.2.3.4.5.6.7.8.9", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "212", + "name" : "Female", + "preserve" : true, + "annotation" : [ ] + } ] + } + }, { + "localId" : "308", + "name" : "ExpandNullVS", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "308", + "s" : [ { + "value" : [ "", "define ", "ExpandNullVS", ": " ] + }, { + "r" : "312", + "s" : [ { + "value" : [ "ExpandVSHelper", "(" ] + }, { + "r" : "309", + "s" : [ { + "r" : "310", + "value" : [ "null", " as " ] + }, { + "r" : "311", "s" : [ { - "value" : [ "","valueset ","\"UnknownExpand\"",": ","'1.2.3.4.5.6.7.8.9'" ] + "value" : [ "ValueSet" ] } ] - } - } ], - "codeSystem" : [ ] - } ] - }, - "contexts" : { - "def" : [ { - "localId" : "217", - "name" : "Patient" - } ] - }, - "statements" : { - "def" : [ { - "localId" : "215", - "name" : "Patient", - "context" : "Patient", - "expression" : { - "localId" : "216", - "type" : "SingletonFrom", - "signature" : [ ], - "operand" : { - "localId" : "214", - "dataType" : "{https://github.com/cqframework/cql-execution/simple}Patient", - "type" : "Retrieve", - "include" : [ ], - "codeFilter" : [ ], - "dateFilter" : [ ], - "otherFilter" : [ ] - } + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "316", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "317", + "name" : "{urn:hl7-org:elm-types:r1}Code", + "annotation" : [ ] + } + }, + "expression" : { + "type" : "FunctionRef", + "localId" : "312", + "name" : "ExpandVSHelper", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "314", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "315", + "name" : "{urn:hl7-org:elm-types:r1}Code", + "annotation" : [ ] } - }, { - "localId" : "220", - "name" : "ExpandFemale", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "220", - "s" : [ { - "value" : [ "","define ","ExpandFemale",": " ] - }, { - "r" : "225", - "s" : [ { - "value" : [ "ExpandValueSet","(" ] - }, { - "r" : "221", - "s" : [ { - "value" : [ "\"Female\"" ] - } ] - }, { - "value" : [ ")" ] - } ] - } ] - } - } ], - "resultTypeSpecifier" : { - "localId" : "229", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "230", - "name" : "{urn:hl7-org:elm-types:r1}Code", - "type" : "NamedTypeSpecifier" - } + }, + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "313", + "name" : "{urn:hl7-org:elm-types:r1}ValueSet", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "As", + "localId" : "309", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}ValueSet", + "strict" : false, + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Null", + "localId" : "310", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] }, - "expression" : { - "localId" : "225", - "type" : "ExpandValueSet", - "resultTypeSpecifier" : { - "localId" : "227", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "228", - "name" : "{urn:hl7-org:elm-types:r1}Code", - "type" : "NamedTypeSpecifier" - } - }, - "signature" : [ { - "localId" : "226", - "name" : "{urn:hl7-org:elm-types:r1}ValueSet", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "221", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}ValueSet", - "name" : "Female", - "preserve" : true, - "type" : "ValueSetRef" - } + "asTypeSpecifier" : { + "type" : "NamedTypeSpecifier", + "localId" : "311", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}ValueSet", + "name" : "{urn:hl7-org:elm-types:r1}ValueSet", + "annotation" : [ ] } - }, { - "localId" : "233", - "name" : "ExpandKnown", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "233", + } ] + } + }, { + "type" : "FunctionDef", + "localId" : "318", + "name" : "UnionVSs", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "318", + "s" : [ { + "value" : [ "", "define function UnionVSs(vs1 ValueSet, vs2 ValueSet): " ] + }, { + "r" : "328", + "s" : [ { + "r" : "328", + "s" : [ { + "r" : "326", "s" : [ { - "value" : [ "","define ","ExpandKnown",": " ] - }, { - "r" : "238", - "s" : [ { - "value" : [ "ExpandValueSet","(" ] - }, { - "r" : "234", - "s" : [ { - "value" : [ "\"Known\"" ] - } ] - }, { - "value" : [ ")" ] - } ] + "value" : [ "vs1" ] } ] - } - } ], - "resultTypeSpecifier" : { - "localId" : "242", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "243", - "name" : "{urn:hl7-org:elm-types:r1}Code", - "type" : "NamedTypeSpecifier" - } - }, - "expression" : { - "localId" : "238", - "type" : "ExpandValueSet", - "resultTypeSpecifier" : { - "localId" : "240", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "241", - "name" : "{urn:hl7-org:elm-types:r1}Code", - "type" : "NamedTypeSpecifier" - } - }, - "signature" : [ { - "localId" : "239", - "name" : "{urn:hl7-org:elm-types:r1}ValueSet", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "234", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}ValueSet", - "name" : "Known", - "preserve" : true, - "type" : "ValueSetRef" - } - } - }, { - "localId" : "246", - "name" : "ExpandNull", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "246", + }, { + "value" : [ " union " ] + }, { + "r" : "327", "s" : [ { - "value" : [ "","define ","ExpandNull",": " ] - }, { - "r" : "252", - "s" : [ { - "r" : "247", - "value" : [ "ExpandValueSet","(","null",")" ] - } ] + "value" : [ "vs2" ] } ] - } - } ], - "resultTypeSpecifier" : { - "localId" : "257", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "258", - "name" : "{urn:hl7-org:elm-types:r1}Code", - "type" : "NamedTypeSpecifier" - } - }, - "expression" : { - "localId" : "252", - "type" : "ExpandValueSet", - "resultTypeSpecifier" : { - "localId" : "255", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "256", - "name" : "{urn:hl7-org:elm-types:r1}Code", - "type" : "NamedTypeSpecifier" - } - }, - "signature" : [ { - "localId" : "254", - "name" : "{urn:hl7-org:elm-types:r1}ValueSet", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "253", - "asType" : "{urn:hl7-org:elm-types:r1}ValueSet", - "type" : "As", - "signature" : [ ], - "operand" : { - "localId" : "247", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - } - } + } ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "343", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "344", + "name" : "{urn:hl7-org:elm-types:r1}Code", + "annotation" : [ ] + } + }, + "expression" : { + "type" : "Union", + "localId" : "328", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "341", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "342", + "name" : "{urn:hl7-org:elm-types:r1}Code", + "annotation" : [ ] } - }, { - "localId" : "261", - "name" : "InvokeExpandWithUnion", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "261", - "s" : [ { - "value" : [ "","define ","InvokeExpandWithUnion",": " ] - }, { - "r" : "264", - "s" : [ { - "r" : "262", - "s" : [ { - "value" : [ "\"Female\"" ] - } ] - }, { - "value" : [ " union " ] - }, { - "r" : "263", - "s" : [ { - "value" : [ "\"Known\"" ] - } ] - } ] - } ] - } - } ], - "resultTypeSpecifier" : { - "localId" : "277", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "278", - "name" : "{urn:hl7-org:elm-types:r1}Code", - "type" : "NamedTypeSpecifier" - } - }, - "expression" : { - "localId" : "264", - "type" : "Union", - "resultTypeSpecifier" : { - "localId" : "275", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "276", - "name" : "{urn:hl7-org:elm-types:r1}Code", - "type" : "NamedTypeSpecifier" - } - }, - "signature" : [ { - "localId" : "271", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "272", - "name" : "{urn:hl7-org:elm-types:r1}Code", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "273", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "274", - "name" : "{urn:hl7-org:elm-types:r1}Code", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "266", - "type" : "ExpandValueSet", - "signature" : [ { - "localId" : "267", - "name" : "{urn:hl7-org:elm-types:r1}ValueSet", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "262", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}ValueSet", - "name" : "Female", - "preserve" : true, - "type" : "ValueSetRef" - } - }, { - "localId" : "269", - "type" : "ExpandValueSet", - "signature" : [ { - "localId" : "270", - "name" : "{urn:hl7-org:elm-types:r1}ValueSet", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "263", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}ValueSet", - "name" : "Known", - "preserve" : true, - "type" : "ValueSetRef" - } - } ] + }, + "signature" : [ { + "type" : "ListTypeSpecifier", + "localId" : "335", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "336", + "name" : "{urn:hl7-org:elm-types:r1}Code", + "annotation" : [ ] } - }, { - "localId" : "279", - "name" : "ExpandVSHelper", - "context" : "Patient", - "accessLevel" : "Public", - "type" : "FunctionDef", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "279", - "s" : [ { - "value" : [ "","define function ExpandVSHelper(vs ValueSet): " ] - }, { - "r" : "288", - "s" : [ { - "r" : "288", - "s" : [ { - "value" : [ "ExpandValueSet","(" ] - }, { - "r" : "284", - "s" : [ { - "value" : [ "vs" ] - } ] - }, { - "value" : [ ")" ] - } ] - } ] - } ] - } - } ], - "resultTypeSpecifier" : { - "localId" : "294", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "295", - "name" : "{urn:hl7-org:elm-types:r1}Code", - "type" : "NamedTypeSpecifier" - } - }, - "expression" : { - "localId" : "288", - "type" : "ExpandValueSet", - "resultTypeSpecifier" : { - "localId" : "292", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "293", - "name" : "{urn:hl7-org:elm-types:r1}Code", - "type" : "NamedTypeSpecifier" - } - }, - "signature" : [ { - "localId" : "289", - "name" : "{urn:hl7-org:elm-types:r1}ValueSet", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "284", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}ValueSet", - "name" : "vs", - "type" : "OperandRef" - } - }, - "operand" : [ { - "localId" : "281", - "name" : "vs", - "operandTypeSpecifier" : { - "localId" : "280", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}ValueSet", - "name" : "{urn:hl7-org:elm-types:r1}ValueSet", - "type" : "NamedTypeSpecifier" - } - } ] - }, { - "localId" : "298", - "name" : "ExpandPassedVS", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "298", - "s" : [ { - "value" : [ "","define ","ExpandPassedVS",": " ] - }, { - "r" : "300", - "s" : [ { - "value" : [ "ExpandVSHelper","(" ] - }, { - "r" : "299", - "s" : [ { - "value" : [ "\"Female\"" ] - } ] - }, { - "value" : [ ")" ] - } ] - } ] - } - } ], - "resultTypeSpecifier" : { - "localId" : "304", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "305", - "name" : "{urn:hl7-org:elm-types:r1}Code", - "type" : "NamedTypeSpecifier" - } - }, - "expression" : { - "localId" : "300", - "name" : "ExpandVSHelper", - "type" : "FunctionRef", - "resultTypeSpecifier" : { - "localId" : "302", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "303", - "name" : "{urn:hl7-org:elm-types:r1}Code", - "type" : "NamedTypeSpecifier" - } - }, - "signature" : [ { - "localId" : "301", - "name" : "{urn:hl7-org:elm-types:r1}ValueSet", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "299", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}ValueSet", - "name" : "Female", - "preserve" : true, - "type" : "ValueSetRef" - } ] + }, { + "type" : "ListTypeSpecifier", + "localId" : "337", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "338", + "name" : "{urn:hl7-org:elm-types:r1}Code", + "annotation" : [ ] } - }, { - "localId" : "308", - "name" : "ExpandNullVS", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "308", - "s" : [ { - "value" : [ "","define ","ExpandNullVS",": " ] - }, { - "r" : "312", - "s" : [ { - "value" : [ "ExpandVSHelper","(" ] - }, { - "r" : "309", - "s" : [ { - "r" : "310", - "value" : [ "null"," as " ] - }, { - "r" : "311", - "s" : [ { - "value" : [ "ValueSet" ] - } ] - } ] - }, { - "value" : [ ")" ] - } ] - } ] - } - } ], - "resultTypeSpecifier" : { - "localId" : "316", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "317", - "name" : "{urn:hl7-org:elm-types:r1}Code", - "type" : "NamedTypeSpecifier" - } - }, - "expression" : { - "localId" : "312", - "name" : "ExpandVSHelper", - "type" : "FunctionRef", - "resultTypeSpecifier" : { - "localId" : "314", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "315", - "name" : "{urn:hl7-org:elm-types:r1}Code", - "type" : "NamedTypeSpecifier" - } - }, - "signature" : [ { - "localId" : "313", - "name" : "{urn:hl7-org:elm-types:r1}ValueSet", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "309", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}ValueSet", - "strict" : false, - "type" : "As", - "signature" : [ ], - "operand" : { - "localId" : "310", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - }, - "asTypeSpecifier" : { - "localId" : "311", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}ValueSet", - "name" : "{urn:hl7-org:elm-types:r1}ValueSet", - "type" : "NamedTypeSpecifier" - } - } ] + } ], + "operand" : [ { + "type" : "ExpandValueSet", + "localId" : "330", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "331", + "name" : "{urn:hl7-org:elm-types:r1}ValueSet", + "annotation" : [ ] + } ], + "operand" : { + "type" : "OperandRef", + "localId" : "326", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}ValueSet", + "name" : "vs1", + "annotation" : [ ] } - }, { - "localId" : "318", - "name" : "UnionVSs", - "context" : "Patient", - "accessLevel" : "Public", - "type" : "FunctionDef", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "318", - "s" : [ { - "value" : [ "","define function UnionVSs(vs1 ValueSet, vs2 ValueSet): " ] - }, { - "r" : "328", - "s" : [ { - "r" : "328", - "s" : [ { - "r" : "326", - "s" : [ { - "value" : [ "vs1" ] - } ] - }, { - "value" : [ " union " ] - }, { - "r" : "327", - "s" : [ { - "value" : [ "vs2" ] - } ] - } ] - } ] - } ] - } - } ], - "resultTypeSpecifier" : { - "localId" : "343", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "344", - "name" : "{urn:hl7-org:elm-types:r1}Code", - "type" : "NamedTypeSpecifier" - } - }, - "expression" : { - "localId" : "328", - "type" : "Union", - "resultTypeSpecifier" : { - "localId" : "341", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "342", - "name" : "{urn:hl7-org:elm-types:r1}Code", - "type" : "NamedTypeSpecifier" - } - }, - "signature" : [ { - "localId" : "335", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "336", - "name" : "{urn:hl7-org:elm-types:r1}Code", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "337", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "338", - "name" : "{urn:hl7-org:elm-types:r1}Code", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "330", - "type" : "ExpandValueSet", - "signature" : [ { - "localId" : "331", - "name" : "{urn:hl7-org:elm-types:r1}ValueSet", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "326", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}ValueSet", - "name" : "vs1", - "type" : "OperandRef" - } - }, { - "localId" : "333", - "type" : "ExpandValueSet", - "signature" : [ { - "localId" : "334", - "name" : "{urn:hl7-org:elm-types:r1}ValueSet", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "327", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}ValueSet", - "name" : "vs2", - "type" : "OperandRef" - } - } ] - }, - "operand" : [ { - "localId" : "320", - "name" : "vs1", - "operandTypeSpecifier" : { - "localId" : "319", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}ValueSet", - "name" : "{urn:hl7-org:elm-types:r1}ValueSet", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "322", - "name" : "vs2", - "operandTypeSpecifier" : { - "localId" : "321", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}ValueSet", - "name" : "{urn:hl7-org:elm-types:r1}ValueSet", - "type" : "NamedTypeSpecifier" - } - } ] - }, { - "localId" : "347", - "name" : "ExpandPassedWithUnion", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "347", - "s" : [ { - "value" : [ "","define ","ExpandPassedWithUnion",": " ] - }, { - "r" : "350", - "s" : [ { - "value" : [ "UnionVSs","(" ] - }, { - "r" : "348", - "s" : [ { - "value" : [ "\"Female\"" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "349", - "s" : [ { - "value" : [ "\"Known\"" ] - } ] - }, { - "value" : [ ")" ] - } ] - } ] - } - } ], - "resultTypeSpecifier" : { - "localId" : "355", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "356", - "name" : "{urn:hl7-org:elm-types:r1}Code", - "type" : "NamedTypeSpecifier" - } - }, - "expression" : { - "localId" : "350", - "name" : "UnionVSs", - "type" : "FunctionRef", - "resultTypeSpecifier" : { - "localId" : "353", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "354", - "name" : "{urn:hl7-org:elm-types:r1}Code", - "type" : "NamedTypeSpecifier" - } - }, - "signature" : [ { - "localId" : "351", - "name" : "{urn:hl7-org:elm-types:r1}ValueSet", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "352", - "name" : "{urn:hl7-org:elm-types:r1}ValueSet", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "348", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}ValueSet", - "name" : "Female", - "preserve" : true, - "type" : "ValueSetRef" - }, { - "localId" : "349", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}ValueSet", - "name" : "Known", - "preserve" : true, - "type" : "ValueSetRef" - } ] + }, { + "type" : "ExpandValueSet", + "localId" : "333", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "334", + "name" : "{urn:hl7-org:elm-types:r1}ValueSet", + "annotation" : [ ] + } ], + "operand" : { + "type" : "OperandRef", + "localId" : "327", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}ValueSet", + "name" : "vs2", + "annotation" : [ ] } - }, { - "localId" : "359", - "name" : "ExpandUnknown", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "359", - "s" : [ { - "value" : [ "","define ","ExpandUnknown",": " ] - }, { - "r" : "364", - "s" : [ { - "value" : [ "ExpandValueSet","(" ] - }, { - "r" : "360", - "s" : [ { - "value" : [ "\"UnknownExpand\"" ] - } ] - }, { - "value" : [ ")" ] - } ] - } ] - } - } ], - "resultTypeSpecifier" : { - "localId" : "368", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "369", - "name" : "{urn:hl7-org:elm-types:r1}Code", - "type" : "NamedTypeSpecifier" - } - }, - "expression" : { - "localId" : "364", - "type" : "ExpandValueSet", - "resultTypeSpecifier" : { - "localId" : "366", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "367", - "name" : "{urn:hl7-org:elm-types:r1}Code", - "type" : "NamedTypeSpecifier" - } - }, - "signature" : [ { - "localId" : "365", - "name" : "{urn:hl7-org:elm-types:r1}ValueSet", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "360", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}ValueSet", - "name" : "UnknownExpand", - "preserve" : true, - "type" : "ValueSetRef" - } + } ] + }, + "operand" : [ { + "localId" : "320", + "name" : "vs1", + "annotation" : [ ], + "operandTypeSpecifier" : { + "type" : "NamedTypeSpecifier", + "localId" : "319", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}ValueSet", + "name" : "{urn:hl7-org:elm-types:r1}ValueSet", + "annotation" : [ ] + } + }, { + "localId" : "322", + "name" : "vs2", + "annotation" : [ ], + "operandTypeSpecifier" : { + "type" : "NamedTypeSpecifier", + "localId" : "321", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}ValueSet", + "name" : "{urn:hl7-org:elm-types:r1}ValueSet", + "annotation" : [ ] + } + } ] + }, { + "localId" : "347", + "name" : "ExpandPassedWithUnion", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "347", + "s" : [ { + "value" : [ "", "define ", "ExpandPassedWithUnion", ": " ] + }, { + "r" : "350", + "s" : [ { + "value" : [ "UnionVSs", "(" ] + }, { + "r" : "348", + "s" : [ { + "value" : [ "\"Female\"" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "349", + "s" : [ { + "value" : [ "\"Known\"" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "355", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "356", + "name" : "{urn:hl7-org:elm-types:r1}Code", + "annotation" : [ ] + } + }, + "expression" : { + "type" : "FunctionRef", + "localId" : "350", + "name" : "UnionVSs", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "353", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "354", + "name" : "{urn:hl7-org:elm-types:r1}Code", + "annotation" : [ ] } - } ] - } - } + }, + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "351", + "name" : "{urn:hl7-org:elm-types:r1}ValueSet", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "352", + "name" : "{urn:hl7-org:elm-types:r1}ValueSet", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "ValueSetRef", + "localId" : "348", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}ValueSet", + "name" : "Female", + "preserve" : true, + "annotation" : [ ] + }, { + "type" : "ValueSetRef", + "localId" : "349", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}ValueSet", + "name" : "Known", + "preserve" : true, + "annotation" : [ ] + } ] + } + }, { + "localId" : "359", + "name" : "ExpandUnknown", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "359", + "s" : [ { + "value" : [ "", "define ", "ExpandUnknown", ": " ] + }, { + "r" : "364", + "s" : [ { + "value" : [ "ExpandValueSet", "(" ] + }, { + "r" : "360", + "s" : [ { + "value" : [ "\"UnknownExpand\"" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "368", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "369", + "name" : "{urn:hl7-org:elm-types:r1}Code", + "annotation" : [ ] + } + }, + "expression" : { + "type" : "ExpandValueSet", + "localId" : "364", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "366", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "367", + "name" : "{urn:hl7-org:elm-types:r1}Code", + "annotation" : [ ] + } + }, + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "365", + "name" : "{urn:hl7-org:elm-types:r1}ValueSet", + "annotation" : [ ] + } ], + "operand" : { + "type" : "ValueSetRef", + "localId" : "360", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}ValueSet", + "name" : "UnknownExpand", + "preserve" : true, + "annotation" : [ ] + } + } + } ] + } + } } /* Patient Property In ValueSet @@ -4554,172 +5001,186 @@ define IsFemale: Patient.gender in "Female" */ module.exports['Patient Property In ValueSet'] = { - "library" : { - "localId" : "0", - "annotation" : [ { - "translatorVersion" : "3.27.0", - "translatorOptions" : "EnableDateRangeOptimization,EnableAnnotations,EnableResultTypes", - "signatureLevel" : "All", - "type" : "CqlToElmInfo" - }, { - "type" : "Annotation", - "s" : { + "library" : { + "localId" : "0", + "annotation" : [ { + "type" : "CqlToElmInfo", + "translatorVersion" : "4.2.0", + "translatorOptions" : "EnableDateRangeOptimization,EnableAnnotations,EnableResultTypes", + "signatureLevel" : "All" + }, { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "216", + "s" : [ { + "value" : [ "", "library TestSnippet version '1'" ] + } ] + } + } ], + "identifier" : { + "id" : "TestSnippet", + "version" : "1" + }, + "schemaIdentifier" : { + "id" : "urn:hl7-org:elm", + "version" : "r1" + }, + "usings" : { + "def" : [ { + "localId" : "1", + "localIdentifier" : "System", + "uri" : "urn:hl7-org:elm-types:r1", + "annotation" : [ ] + }, { + "localId" : "206", + "localIdentifier" : "Simple", + "uri" : "https://github.com/cqframework/cql-execution/simple", + "version" : "1.0.0", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "206", + "s" : [ { + "value" : [ "", "using " ] + }, { + "s" : [ { + "value" : [ "Simple" ] + } ] + }, { + "value" : [ " version '1.0.0'" ] + } ] + } + } ] + } ] + }, + "valueSets" : { + "def" : [ { + "localId" : "208", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}ValueSet", + "name" : "Female", + "id" : "2.16.840.1.113883.3.560.100.2", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "208", + "s" : [ { + "value" : [ "", "valueset ", "\"Female\"", ": ", "'2.16.840.1.113883.3.560.100.2'" ] + } ] + } + } ], + "codeSystem" : [ ] + } ] + }, + "contexts" : { + "def" : [ { + "localId" : "213", + "name" : "Patient", + "annotation" : [ ] + } ] + }, + "statements" : { + "def" : [ { + "localId" : "211", + "name" : "Patient", + "context" : "Patient", + "annotation" : [ ], + "expression" : { + "type" : "SingletonFrom", + "localId" : "212", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Retrieve", + "localId" : "210", + "dataType" : "{https://github.com/cqframework/cql-execution/simple}Patient", + "annotation" : [ ], + "include" : [ ], + "codeFilter" : [ ], + "dateFilter" : [ ], + "otherFilter" : [ ] + } + } + }, { + "localId" : "216", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "IsFemale", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { "r" : "216", "s" : [ { - "value" : [ "","library TestSnippet version '1'" ] - } ] - } - } ], - "identifier" : { - "id" : "TestSnippet", - "version" : "1" - }, - "schemaIdentifier" : { - "id" : "urn:hl7-org:elm", - "version" : "r1" - }, - "usings" : { - "def" : [ { - "localId" : "1", - "localIdentifier" : "System", - "uri" : "urn:hl7-org:elm-types:r1" - }, { - "localId" : "206", - "localIdentifier" : "Simple", - "uri" : "https://github.com/cqframework/cql-execution/simple", - "version" : "1.0.0", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "206", + "value" : [ "", "define ", "IsFemale", ": " ] + }, { + "r" : "220", + "s" : [ { + "r" : "218", + "s" : [ { + "r" : "217", "s" : [ { - "value" : [ "","using " ] - }, { - "s" : [ { - "value" : [ "Simple" ] - } ] - }, { - "value" : [ " version '1.0.0'" ] + "value" : [ "Patient" ] } ] - } + }, { + "value" : [ "." ] + }, { + "r" : "218", + "s" : [ { + "value" : [ "gender" ] + } ] + } ] + }, { + "value" : [ " in " ] + }, { + "r" : "219", + "s" : [ { + "value" : [ "\"Female\"" ] + } ] + } ] } ] - } ] - }, - "valueSets" : { - "def" : [ { - "localId" : "208", + } + } ], + "expression" : { + "type" : "InValueSet", + "localId" : "220", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "221", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } ], + "code" : { + "type" : "Property", + "localId" : "218", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "path" : "gender", + "annotation" : [ ], + "source" : { + "type" : "ExpressionRef", + "localId" : "217", + "resultTypeName" : "{https://github.com/cqframework/cql-execution/simple}Patient", + "name" : "Patient", + "annotation" : [ ] + } + }, + "valueset" : { + "localId" : "219", "resultTypeName" : "{urn:hl7-org:elm-types:r1}ValueSet", "name" : "Female", - "id" : "2.16.840.1.113883.3.560.100.2", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "208", - "s" : [ { - "value" : [ "","valueset ","\"Female\"",": ","'2.16.840.1.113883.3.560.100.2'" ] - } ] - } - } ], - "codeSystem" : [ ] - } ] - }, - "contexts" : { - "def" : [ { - "localId" : "213", - "name" : "Patient" - } ] - }, - "statements" : { - "def" : [ { - "localId" : "211", - "name" : "Patient", - "context" : "Patient", - "expression" : { - "localId" : "212", - "type" : "SingletonFrom", - "signature" : [ ], - "operand" : { - "localId" : "210", - "dataType" : "{https://github.com/cqframework/cql-execution/simple}Patient", - "type" : "Retrieve", - "include" : [ ], - "codeFilter" : [ ], - "dateFilter" : [ ], - "otherFilter" : [ ] - } - } - }, { - "localId" : "216", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "IsFemale", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "216", - "s" : [ { - "value" : [ "","define ","IsFemale",": " ] - }, { - "r" : "220", - "s" : [ { - "r" : "218", - "s" : [ { - "r" : "217", - "s" : [ { - "value" : [ "Patient" ] - } ] - }, { - "value" : [ "." ] - }, { - "r" : "218", - "s" : [ { - "value" : [ "gender" ] - } ] - } ] - }, { - "value" : [ " in " ] - }, { - "r" : "219", - "s" : [ { - "value" : [ "\"Female\"" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "220", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "InValueSet", - "signature" : [ { - "localId" : "221", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } ], - "code" : { - "localId" : "218", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "path" : "gender", - "type" : "Property", - "source" : { - "localId" : "217", - "resultTypeName" : "{https://github.com/cqframework/cql-execution/simple}Patient", - "name" : "Patient", - "type" : "ExpressionRef" - } - }, - "valueset" : { - "localId" : "219", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}ValueSet", - "name" : "Female", - "preserve" : true - } - } - } ] - } - } + "preserve" : true, + "annotation" : [ ] + } + } + } ] + } + } } /* CodeDef @@ -4732,161 +5193,173 @@ define Foo: 'Bar' */ module.exports['CodeDef'] = { - "library" : { - "localId" : "0", - "annotation" : [ { - "translatorVersion" : "3.27.0", - "translatorOptions" : "EnableDateRangeOptimization,EnableAnnotations,EnableResultTypes", - "signatureLevel" : "All", - "type" : "CqlToElmInfo" - }, { - "type" : "Annotation", - "s" : { - "r" : "219", + "library" : { + "localId" : "0", + "annotation" : [ { + "type" : "CqlToElmInfo", + "translatorVersion" : "4.2.0", + "translatorOptions" : "EnableDateRangeOptimization,EnableAnnotations,EnableResultTypes", + "signatureLevel" : "All" + }, { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "219", + "s" : [ { + "value" : [ "", "library TestSnippet version '1'" ] + } ] + } + } ], + "identifier" : { + "id" : "TestSnippet", + "version" : "1" + }, + "schemaIdentifier" : { + "id" : "urn:hl7-org:elm", + "version" : "r1" + }, + "usings" : { + "def" : [ { + "localId" : "1", + "localIdentifier" : "System", + "uri" : "urn:hl7-org:elm-types:r1", + "annotation" : [ ] + }, { + "localId" : "206", + "localIdentifier" : "Simple", + "uri" : "https://github.com/cqframework/cql-execution/simple", + "version" : "1.0.0", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "206", "s" : [ { - "value" : [ "","library TestSnippet version '1'" ] - } ] - } - } ], - "identifier" : { - "id" : "TestSnippet", - "version" : "1" - }, - "schemaIdentifier" : { - "id" : "urn:hl7-org:elm", - "version" : "r1" - }, - "usings" : { - "def" : [ { - "localId" : "1", - "localIdentifier" : "System", - "uri" : "urn:hl7-org:elm-types:r1" - }, { - "localId" : "206", - "localIdentifier" : "Simple", - "uri" : "https://github.com/cqframework/cql-execution/simple", - "version" : "1.0.0", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "206", - "s" : [ { - "value" : [ "","using " ] - }, { - "s" : [ { - "value" : [ "Simple" ] - } ] - }, { - "value" : [ " version '1.0.0'" ] - } ] - } + "value" : [ "", "using " ] + }, { + "s" : [ { + "value" : [ "Simple" ] + } ] + }, { + "value" : [ " version '1.0.0'" ] } ] - } ] - }, - "codeSystems" : { - "def" : [ { - "localId" : "208", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}CodeSystem", - "name" : "LOINC", - "id" : "http://loinc.org", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "208", - "s" : [ { - "value" : [ "","codesystem ","\"LOINC\"",": ","'http://loinc.org'" ] - } ] - } + } + } ] + } ] + }, + "codeSystems" : { + "def" : [ { + "localId" : "208", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}CodeSystem", + "name" : "LOINC", + "id" : "http://loinc.org", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "208", + "s" : [ { + "value" : [ "", "codesystem ", "\"LOINC\"", ": ", "'http://loinc.org'" ] } ] - } ] - }, - "codes" : { - "def" : [ { - "localId" : "210", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Code", - "name" : "Tobacco smoking status code", - "id" : "72166-2", - "display" : "Tobacco smoking status", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "210", - "s" : [ { - "value" : [ "","code ","\"Tobacco smoking status code\"",": ","'72166-2'"," from " ] - }, { - "r" : "211", - "s" : [ { - "value" : [ "\"LOINC\"" ] - } ] - }, { - "value" : [ " display ","'Tobacco smoking status'" ] - } ] - } - } ], - "codeSystem" : { - "localId" : "211", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}CodeSystem", - "name" : "LOINC" - } - } ] - }, - "contexts" : { - "def" : [ { - "localId" : "216", - "name" : "Patient" - } ] - }, - "statements" : { - "def" : [ { - "localId" : "214", - "name" : "Patient", - "context" : "Patient", - "expression" : { - "localId" : "215", - "type" : "SingletonFrom", - "signature" : [ ], - "operand" : { - "localId" : "213", - "dataType" : "{https://github.com/cqframework/cql-execution/simple}Patient", - "type" : "Retrieve", - "include" : [ ], - "codeFilter" : [ ], - "dateFilter" : [ ], - "otherFilter" : [ ] - } - } - }, { - "localId" : "219", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "name" : "Foo", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "219", - "s" : [ { - "value" : [ "","define ","Foo",": " ] - }, { - "r" : "220", - "s" : [ { - "value" : [ "'Bar'" ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "220", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "Bar", - "type" : "Literal" - } - } ] - } - } + } + } ] + } ] + }, + "codes" : { + "def" : [ { + "localId" : "210", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Code", + "name" : "Tobacco smoking status code", + "id" : "72166-2", + "display" : "Tobacco smoking status", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "210", + "s" : [ { + "value" : [ "", "code ", "\"Tobacco smoking status code\"", ": ", "'72166-2'", " from " ] + }, { + "r" : "211", + "s" : [ { + "value" : [ "\"LOINC\"" ] + } ] + }, { + "value" : [ " display ", "'Tobacco smoking status'" ] + } ] + } + } ], + "codeSystem" : { + "localId" : "211", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}CodeSystem", + "name" : "LOINC", + "annotation" : [ ] + } + } ] + }, + "contexts" : { + "def" : [ { + "localId" : "216", + "name" : "Patient", + "annotation" : [ ] + } ] + }, + "statements" : { + "def" : [ { + "localId" : "214", + "name" : "Patient", + "context" : "Patient", + "annotation" : [ ], + "expression" : { + "type" : "SingletonFrom", + "localId" : "215", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Retrieve", + "localId" : "213", + "dataType" : "{https://github.com/cqframework/cql-execution/simple}Patient", + "annotation" : [ ], + "include" : [ ], + "codeFilter" : [ ], + "dateFilter" : [ ], + "otherFilter" : [ ] + } + } + }, { + "localId" : "219", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "name" : "Foo", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "219", + "s" : [ { + "value" : [ "", "define ", "Foo", ": " ] + }, { + "r" : "220", + "s" : [ { + "value" : [ "'Bar'" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Literal", + "localId" : "220", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "Bar", + "annotation" : [ ] + } + } ] + } + } } /* CodeRef @@ -4899,160 +5372,172 @@ define Foo: "Tobacco smoking status code" */ module.exports['CodeRef'] = { - "library" : { - "localId" : "0", - "annotation" : [ { - "translatorVersion" : "3.27.0", - "translatorOptions" : "EnableDateRangeOptimization,EnableAnnotations,EnableResultTypes", - "signatureLevel" : "All", - "type" : "CqlToElmInfo" - }, { - "type" : "Annotation", - "s" : { - "r" : "219", + "library" : { + "localId" : "0", + "annotation" : [ { + "type" : "CqlToElmInfo", + "translatorVersion" : "4.2.0", + "translatorOptions" : "EnableDateRangeOptimization,EnableAnnotations,EnableResultTypes", + "signatureLevel" : "All" + }, { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "219", + "s" : [ { + "value" : [ "", "library TestSnippet version '1'" ] + } ] + } + } ], + "identifier" : { + "id" : "TestSnippet", + "version" : "1" + }, + "schemaIdentifier" : { + "id" : "urn:hl7-org:elm", + "version" : "r1" + }, + "usings" : { + "def" : [ { + "localId" : "1", + "localIdentifier" : "System", + "uri" : "urn:hl7-org:elm-types:r1", + "annotation" : [ ] + }, { + "localId" : "206", + "localIdentifier" : "Simple", + "uri" : "https://github.com/cqframework/cql-execution/simple", + "version" : "1.0.0", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "206", "s" : [ { - "value" : [ "","library TestSnippet version '1'" ] - } ] - } - } ], - "identifier" : { - "id" : "TestSnippet", - "version" : "1" - }, - "schemaIdentifier" : { - "id" : "urn:hl7-org:elm", - "version" : "r1" - }, - "usings" : { - "def" : [ { - "localId" : "1", - "localIdentifier" : "System", - "uri" : "urn:hl7-org:elm-types:r1" - }, { - "localId" : "206", - "localIdentifier" : "Simple", - "uri" : "https://github.com/cqframework/cql-execution/simple", - "version" : "1.0.0", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "206", - "s" : [ { - "value" : [ "","using " ] - }, { - "s" : [ { - "value" : [ "Simple" ] - } ] - }, { - "value" : [ " version '1.0.0'" ] - } ] - } + "value" : [ "", "using " ] + }, { + "s" : [ { + "value" : [ "Simple" ] + } ] + }, { + "value" : [ " version '1.0.0'" ] } ] - } ] - }, - "codeSystems" : { - "def" : [ { - "localId" : "208", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}CodeSystem", - "name" : "LOINC", - "id" : "http://loinc.org", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "208", - "s" : [ { - "value" : [ "","codesystem ","\"LOINC\"",": ","'http://loinc.org'" ] - } ] - } + } + } ] + } ] + }, + "codeSystems" : { + "def" : [ { + "localId" : "208", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}CodeSystem", + "name" : "LOINC", + "id" : "http://loinc.org", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "208", + "s" : [ { + "value" : [ "", "codesystem ", "\"LOINC\"", ": ", "'http://loinc.org'" ] } ] - } ] - }, - "codes" : { - "def" : [ { - "localId" : "210", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Code", - "name" : "Tobacco smoking status code", - "id" : "72166-2", - "display" : "Tobacco smoking status", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "210", - "s" : [ { - "value" : [ "","code ","\"Tobacco smoking status code\"",": ","'72166-2'"," from " ] - }, { - "r" : "211", - "s" : [ { - "value" : [ "\"LOINC\"" ] - } ] - }, { - "value" : [ " display ","'Tobacco smoking status'" ] - } ] - } - } ], - "codeSystem" : { - "localId" : "211", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}CodeSystem", - "name" : "LOINC" - } - } ] - }, - "contexts" : { - "def" : [ { - "localId" : "216", - "name" : "Patient" - } ] - }, - "statements" : { - "def" : [ { - "localId" : "214", - "name" : "Patient", - "context" : "Patient", - "expression" : { - "localId" : "215", - "type" : "SingletonFrom", - "signature" : [ ], - "operand" : { - "localId" : "213", - "dataType" : "{https://github.com/cqframework/cql-execution/simple}Patient", - "type" : "Retrieve", - "include" : [ ], - "codeFilter" : [ ], - "dateFilter" : [ ], - "otherFilter" : [ ] - } - } - }, { - "localId" : "219", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Code", - "name" : "Foo", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "219", - "s" : [ { - "value" : [ "","define ","Foo",": " ] - }, { - "r" : "220", - "s" : [ { - "value" : [ "\"Tobacco smoking status code\"" ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "220", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Code", - "name" : "Tobacco smoking status code", - "type" : "CodeRef" - } - } ] - } - } + } + } ] + } ] + }, + "codes" : { + "def" : [ { + "localId" : "210", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Code", + "name" : "Tobacco smoking status code", + "id" : "72166-2", + "display" : "Tobacco smoking status", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "210", + "s" : [ { + "value" : [ "", "code ", "\"Tobacco smoking status code\"", ": ", "'72166-2'", " from " ] + }, { + "r" : "211", + "s" : [ { + "value" : [ "\"LOINC\"" ] + } ] + }, { + "value" : [ " display ", "'Tobacco smoking status'" ] + } ] + } + } ], + "codeSystem" : { + "localId" : "211", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}CodeSystem", + "name" : "LOINC", + "annotation" : [ ] + } + } ] + }, + "contexts" : { + "def" : [ { + "localId" : "216", + "name" : "Patient", + "annotation" : [ ] + } ] + }, + "statements" : { + "def" : [ { + "localId" : "214", + "name" : "Patient", + "context" : "Patient", + "annotation" : [ ], + "expression" : { + "type" : "SingletonFrom", + "localId" : "215", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Retrieve", + "localId" : "213", + "dataType" : "{https://github.com/cqframework/cql-execution/simple}Patient", + "annotation" : [ ], + "include" : [ ], + "codeFilter" : [ ], + "dateFilter" : [ ], + "otherFilter" : [ ] + } + } + }, { + "localId" : "219", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Code", + "name" : "Foo", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "219", + "s" : [ { + "value" : [ "", "define ", "Foo", ": " ] + }, { + "r" : "220", + "s" : [ { + "value" : [ "\"Tobacco smoking status code\"" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "CodeRef", + "localId" : "220", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Code", + "name" : "Tobacco smoking status code", + "annotation" : [ ] + } + } ] + } + } } /* ConceptDef @@ -5066,191 +5551,205 @@ define Foo: 'Bar' */ module.exports['ConceptDef'] = { - "library" : { - "localId" : "0", - "annotation" : [ { - "translatorVersion" : "3.27.0", - "translatorOptions" : "EnableDateRangeOptimization,EnableAnnotations,EnableResultTypes", - "signatureLevel" : "All", - "type" : "CqlToElmInfo" - }, { - "type" : "Annotation", - "s" : { - "r" : "221", + "library" : { + "localId" : "0", + "annotation" : [ { + "type" : "CqlToElmInfo", + "translatorVersion" : "4.2.0", + "translatorOptions" : "EnableDateRangeOptimization,EnableAnnotations,EnableResultTypes", + "signatureLevel" : "All" + }, { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "221", + "s" : [ { + "value" : [ "", "library TestSnippet version '1'" ] + } ] + } + } ], + "identifier" : { + "id" : "TestSnippet", + "version" : "1" + }, + "schemaIdentifier" : { + "id" : "urn:hl7-org:elm", + "version" : "r1" + }, + "usings" : { + "def" : [ { + "localId" : "1", + "localIdentifier" : "System", + "uri" : "urn:hl7-org:elm-types:r1", + "annotation" : [ ] + }, { + "localId" : "206", + "localIdentifier" : "Simple", + "uri" : "https://github.com/cqframework/cql-execution/simple", + "version" : "1.0.0", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "206", "s" : [ { - "value" : [ "","library TestSnippet version '1'" ] - } ] - } - } ], - "identifier" : { - "id" : "TestSnippet", - "version" : "1" - }, - "schemaIdentifier" : { - "id" : "urn:hl7-org:elm", - "version" : "r1" - }, - "usings" : { - "def" : [ { - "localId" : "1", - "localIdentifier" : "System", - "uri" : "urn:hl7-org:elm-types:r1" - }, { - "localId" : "206", - "localIdentifier" : "Simple", - "uri" : "https://github.com/cqframework/cql-execution/simple", - "version" : "1.0.0", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "206", - "s" : [ { - "value" : [ "","using " ] - }, { - "s" : [ { - "value" : [ "Simple" ] - } ] - }, { - "value" : [ " version '1.0.0'" ] - } ] - } + "value" : [ "", "using " ] + }, { + "s" : [ { + "value" : [ "Simple" ] + } ] + }, { + "value" : [ " version '1.0.0'" ] } ] - } ] - }, - "codeSystems" : { - "def" : [ { - "localId" : "208", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}CodeSystem", - "name" : "LOINC", - "id" : "http://loinc.org", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "208", - "s" : [ { - "value" : [ "","codesystem ","\"LOINC\"",": ","'http://loinc.org'" ] - } ] - } + } + } ] + } ] + }, + "codeSystems" : { + "def" : [ { + "localId" : "208", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}CodeSystem", + "name" : "LOINC", + "id" : "http://loinc.org", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "208", + "s" : [ { + "value" : [ "", "codesystem ", "\"LOINC\"", ": ", "'http://loinc.org'" ] } ] - } ] - }, - "codes" : { - "def" : [ { - "localId" : "210", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Code", - "name" : "Tobacco smoking status code", - "id" : "72166-2", - "display" : "Tobacco smoking status", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "210", - "s" : [ { - "value" : [ "","code ","\"Tobacco smoking status code\"",": ","'72166-2'"," from " ] - }, { - "r" : "211", - "s" : [ { - "value" : [ "\"LOINC\"" ] - } ] - }, { - "value" : [ " display ","'Tobacco smoking status'" ] - } ] - } - } ], - "codeSystem" : { - "localId" : "211", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}CodeSystem", - "name" : "LOINC" - } - } ] - }, - "concepts" : { - "def" : [ { - "localId" : "213", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Concept", - "name" : "Tobacco smoking status", - "display" : "Tobacco smoking status", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "213", - "s" : [ { - "value" : [ "","concept ","\"Tobacco smoking status\"",": { " ] - }, { - "r" : "214", - "s" : [ { - "value" : [ "\"Tobacco smoking status code\"" ] - } ] - }, { - "value" : [ " } display ","'Tobacco smoking status'" ] - } ] - } - } ], - "code" : [ { - "localId" : "214", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Code", - "name" : "Tobacco smoking status code" - } ] - } ] - }, - "contexts" : { - "def" : [ { - "localId" : "218", - "name" : "Patient" - } ] - }, - "statements" : { - "def" : [ { - "localId" : "216", - "name" : "Patient", - "context" : "Patient", - "expression" : { - "localId" : "217", - "type" : "SingletonFrom", - "signature" : [ ], - "operand" : { - "localId" : "215", - "dataType" : "{https://github.com/cqframework/cql-execution/simple}Patient", - "type" : "Retrieve", - "include" : [ ], - "codeFilter" : [ ], - "dateFilter" : [ ], - "otherFilter" : [ ] - } - } - }, { - "localId" : "221", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "name" : "Foo", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "221", - "s" : [ { - "value" : [ "","define ","Foo",": " ] - }, { - "r" : "222", - "s" : [ { - "value" : [ "'Bar'" ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "222", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "Bar", - "type" : "Literal" - } - } ] - } - } + } + } ] + } ] + }, + "codes" : { + "def" : [ { + "localId" : "210", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Code", + "name" : "Tobacco smoking status code", + "id" : "72166-2", + "display" : "Tobacco smoking status", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "210", + "s" : [ { + "value" : [ "", "code ", "\"Tobacco smoking status code\"", ": ", "'72166-2'", " from " ] + }, { + "r" : "211", + "s" : [ { + "value" : [ "\"LOINC\"" ] + } ] + }, { + "value" : [ " display ", "'Tobacco smoking status'" ] + } ] + } + } ], + "codeSystem" : { + "localId" : "211", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}CodeSystem", + "name" : "LOINC", + "annotation" : [ ] + } + } ] + }, + "concepts" : { + "def" : [ { + "localId" : "213", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Concept", + "name" : "Tobacco smoking status", + "display" : "Tobacco smoking status", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "213", + "s" : [ { + "value" : [ "", "concept ", "\"Tobacco smoking status\"", ": { " ] + }, { + "r" : "214", + "s" : [ { + "value" : [ "\"Tobacco smoking status code\"" ] + } ] + }, { + "value" : [ " } display ", "'Tobacco smoking status'" ] + } ] + } + } ], + "code" : [ { + "localId" : "214", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Code", + "name" : "Tobacco smoking status code", + "annotation" : [ ] + } ] + } ] + }, + "contexts" : { + "def" : [ { + "localId" : "218", + "name" : "Patient", + "annotation" : [ ] + } ] + }, + "statements" : { + "def" : [ { + "localId" : "216", + "name" : "Patient", + "context" : "Patient", + "annotation" : [ ], + "expression" : { + "type" : "SingletonFrom", + "localId" : "217", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Retrieve", + "localId" : "215", + "dataType" : "{https://github.com/cqframework/cql-execution/simple}Patient", + "annotation" : [ ], + "include" : [ ], + "codeFilter" : [ ], + "dateFilter" : [ ], + "otherFilter" : [ ] + } + } + }, { + "localId" : "221", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "name" : "Foo", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "221", + "s" : [ { + "value" : [ "", "define ", "Foo", ": " ] + }, { + "r" : "222", + "s" : [ { + "value" : [ "'Bar'" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Literal", + "localId" : "222", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "Bar", + "annotation" : [ ] + } + } ] + } + } } /* ConceptRef @@ -5264,190 +5763,204 @@ define Foo: "Tobacco smoking status" */ module.exports['ConceptRef'] = { - "library" : { - "localId" : "0", - "annotation" : [ { - "translatorVersion" : "3.27.0", - "translatorOptions" : "EnableDateRangeOptimization,EnableAnnotations,EnableResultTypes", - "signatureLevel" : "All", - "type" : "CqlToElmInfo" - }, { - "type" : "Annotation", - "s" : { - "r" : "221", + "library" : { + "localId" : "0", + "annotation" : [ { + "type" : "CqlToElmInfo", + "translatorVersion" : "4.2.0", + "translatorOptions" : "EnableDateRangeOptimization,EnableAnnotations,EnableResultTypes", + "signatureLevel" : "All" + }, { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "221", + "s" : [ { + "value" : [ "", "library TestSnippet version '1'" ] + } ] + } + } ], + "identifier" : { + "id" : "TestSnippet", + "version" : "1" + }, + "schemaIdentifier" : { + "id" : "urn:hl7-org:elm", + "version" : "r1" + }, + "usings" : { + "def" : [ { + "localId" : "1", + "localIdentifier" : "System", + "uri" : "urn:hl7-org:elm-types:r1", + "annotation" : [ ] + }, { + "localId" : "206", + "localIdentifier" : "Simple", + "uri" : "https://github.com/cqframework/cql-execution/simple", + "version" : "1.0.0", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "206", "s" : [ { - "value" : [ "","library TestSnippet version '1'" ] - } ] - } - } ], - "identifier" : { - "id" : "TestSnippet", - "version" : "1" - }, - "schemaIdentifier" : { - "id" : "urn:hl7-org:elm", - "version" : "r1" - }, - "usings" : { - "def" : [ { - "localId" : "1", - "localIdentifier" : "System", - "uri" : "urn:hl7-org:elm-types:r1" - }, { - "localId" : "206", - "localIdentifier" : "Simple", - "uri" : "https://github.com/cqframework/cql-execution/simple", - "version" : "1.0.0", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "206", - "s" : [ { - "value" : [ "","using " ] - }, { - "s" : [ { - "value" : [ "Simple" ] - } ] - }, { - "value" : [ " version '1.0.0'" ] - } ] - } + "value" : [ "", "using " ] + }, { + "s" : [ { + "value" : [ "Simple" ] + } ] + }, { + "value" : [ " version '1.0.0'" ] } ] - } ] - }, - "codeSystems" : { - "def" : [ { - "localId" : "208", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}CodeSystem", - "name" : "LOINC", - "id" : "http://loinc.org", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "208", - "s" : [ { - "value" : [ "","codesystem ","\"LOINC\"",": ","'http://loinc.org'" ] - } ] - } + } + } ] + } ] + }, + "codeSystems" : { + "def" : [ { + "localId" : "208", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}CodeSystem", + "name" : "LOINC", + "id" : "http://loinc.org", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "208", + "s" : [ { + "value" : [ "", "codesystem ", "\"LOINC\"", ": ", "'http://loinc.org'" ] } ] - } ] - }, - "codes" : { - "def" : [ { - "localId" : "210", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Code", - "name" : "Tobacco smoking status code", - "id" : "72166-2", - "display" : "Tobacco smoking status", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "210", - "s" : [ { - "value" : [ "","code ","\"Tobacco smoking status code\"",": ","'72166-2'"," from " ] - }, { - "r" : "211", - "s" : [ { - "value" : [ "\"LOINC\"" ] - } ] - }, { - "value" : [ " display ","'Tobacco smoking status'" ] - } ] - } - } ], - "codeSystem" : { - "localId" : "211", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}CodeSystem", - "name" : "LOINC" - } - } ] - }, - "concepts" : { - "def" : [ { - "localId" : "213", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Concept", - "name" : "Tobacco smoking status", - "display" : "Tobacco smoking status", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "213", - "s" : [ { - "value" : [ "","concept ","\"Tobacco smoking status\"",": { " ] - }, { - "r" : "214", - "s" : [ { - "value" : [ "\"Tobacco smoking status code\"" ] - } ] - }, { - "value" : [ " } display ","'Tobacco smoking status'" ] - } ] - } - } ], - "code" : [ { - "localId" : "214", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Code", - "name" : "Tobacco smoking status code" - } ] - } ] - }, - "contexts" : { - "def" : [ { - "localId" : "218", - "name" : "Patient" - } ] - }, - "statements" : { - "def" : [ { - "localId" : "216", - "name" : "Patient", - "context" : "Patient", - "expression" : { - "localId" : "217", - "type" : "SingletonFrom", - "signature" : [ ], - "operand" : { - "localId" : "215", - "dataType" : "{https://github.com/cqframework/cql-execution/simple}Patient", - "type" : "Retrieve", - "include" : [ ], - "codeFilter" : [ ], - "dateFilter" : [ ], - "otherFilter" : [ ] - } - } - }, { - "localId" : "221", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Concept", - "name" : "Foo", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "221", - "s" : [ { - "value" : [ "","define ","Foo",": " ] - }, { - "r" : "222", - "s" : [ { - "value" : [ "\"Tobacco smoking status\"" ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "222", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Concept", - "name" : "Tobacco smoking status", - "type" : "ConceptRef" - } - } ] - } - } + } + } ] + } ] + }, + "codes" : { + "def" : [ { + "localId" : "210", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Code", + "name" : "Tobacco smoking status code", + "id" : "72166-2", + "display" : "Tobacco smoking status", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "210", + "s" : [ { + "value" : [ "", "code ", "\"Tobacco smoking status code\"", ": ", "'72166-2'", " from " ] + }, { + "r" : "211", + "s" : [ { + "value" : [ "\"LOINC\"" ] + } ] + }, { + "value" : [ " display ", "'Tobacco smoking status'" ] + } ] + } + } ], + "codeSystem" : { + "localId" : "211", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}CodeSystem", + "name" : "LOINC", + "annotation" : [ ] + } + } ] + }, + "concepts" : { + "def" : [ { + "localId" : "213", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Concept", + "name" : "Tobacco smoking status", + "display" : "Tobacco smoking status", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "213", + "s" : [ { + "value" : [ "", "concept ", "\"Tobacco smoking status\"", ": { " ] + }, { + "r" : "214", + "s" : [ { + "value" : [ "\"Tobacco smoking status code\"" ] + } ] + }, { + "value" : [ " } display ", "'Tobacco smoking status'" ] + } ] + } + } ], + "code" : [ { + "localId" : "214", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Code", + "name" : "Tobacco smoking status code", + "annotation" : [ ] + } ] + } ] + }, + "contexts" : { + "def" : [ { + "localId" : "218", + "name" : "Patient", + "annotation" : [ ] + } ] + }, + "statements" : { + "def" : [ { + "localId" : "216", + "name" : "Patient", + "context" : "Patient", + "annotation" : [ ], + "expression" : { + "type" : "SingletonFrom", + "localId" : "217", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Retrieve", + "localId" : "215", + "dataType" : "{https://github.com/cqframework/cql-execution/simple}Patient", + "annotation" : [ ], + "include" : [ ], + "codeFilter" : [ ], + "dateFilter" : [ ], + "otherFilter" : [ ] + } + } + }, { + "localId" : "221", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Concept", + "name" : "Foo", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "221", + "s" : [ { + "value" : [ "", "define ", "Foo", ": " ] + }, { + "r" : "222", + "s" : [ { + "value" : [ "\"Tobacco smoking status\"" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "ConceptRef", + "localId" : "222", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Concept", + "name" : "Tobacco smoking status", + "annotation" : [ ] + } + } ] + } + } } /* CodeSystemRef @@ -5459,130 +5972,140 @@ define ResolveMyCS: "MyCS" */ module.exports['CodeSystemRef'] = { - "library" : { - "localId" : "0", - "annotation" : [ { - "translatorVersion" : "3.27.0", - "translatorOptions" : "EnableDateRangeOptimization,EnableAnnotations,EnableResultTypes", - "signatureLevel" : "All", - "type" : "CqlToElmInfo" - }, { - "type" : "Annotation", - "s" : { - "r" : "216", + "library" : { + "localId" : "0", + "annotation" : [ { + "type" : "CqlToElmInfo", + "translatorVersion" : "4.2.0", + "translatorOptions" : "EnableDateRangeOptimization,EnableAnnotations,EnableResultTypes", + "signatureLevel" : "All" + }, { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "216", + "s" : [ { + "value" : [ "", "library TestSnippet version '1'" ] + } ] + } + } ], + "identifier" : { + "id" : "TestSnippet", + "version" : "1" + }, + "schemaIdentifier" : { + "id" : "urn:hl7-org:elm", + "version" : "r1" + }, + "usings" : { + "def" : [ { + "localId" : "1", + "localIdentifier" : "System", + "uri" : "urn:hl7-org:elm-types:r1", + "annotation" : [ ] + }, { + "localId" : "206", + "localIdentifier" : "Simple", + "uri" : "https://github.com/cqframework/cql-execution/simple", + "version" : "1.0.0", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "206", "s" : [ { - "value" : [ "","library TestSnippet version '1'" ] - } ] - } - } ], - "identifier" : { - "id" : "TestSnippet", - "version" : "1" - }, - "schemaIdentifier" : { - "id" : "urn:hl7-org:elm", - "version" : "r1" - }, - "usings" : { - "def" : [ { - "localId" : "1", - "localIdentifier" : "System", - "uri" : "urn:hl7-org:elm-types:r1" - }, { - "localId" : "206", - "localIdentifier" : "Simple", - "uri" : "https://github.com/cqframework/cql-execution/simple", - "version" : "1.0.0", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "206", - "s" : [ { - "value" : [ "","using " ] - }, { - "s" : [ { - "value" : [ "Simple" ] - } ] - }, { - "value" : [ " version '1.0.0'" ] - } ] - } + "value" : [ "", "using " ] + }, { + "s" : [ { + "value" : [ "Simple" ] + } ] + }, { + "value" : [ " version '1.0.0'" ] } ] - } ] - }, - "codeSystems" : { - "def" : [ { - "localId" : "208", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}CodeSystem", - "name" : "MyCS", - "id" : "http://loinc.org", - "version" : "1", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "208", - "s" : [ { - "value" : [ "","codesystem ","\"MyCS\"",": ","'http://loinc.org'"," version ","'1'" ] - } ] - } + } + } ] + } ] + }, + "codeSystems" : { + "def" : [ { + "localId" : "208", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}CodeSystem", + "name" : "MyCS", + "id" : "http://loinc.org", + "version" : "1", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "208", + "s" : [ { + "value" : [ "", "codesystem ", "\"MyCS\"", ": ", "'http://loinc.org'", " version ", "'1'" ] } ] - } ] - }, - "contexts" : { - "def" : [ { - "localId" : "213", - "name" : "Patient" - } ] - }, - "statements" : { - "def" : [ { - "localId" : "211", - "name" : "Patient", - "context" : "Patient", - "expression" : { - "localId" : "212", - "type" : "SingletonFrom", - "signature" : [ ], - "operand" : { - "localId" : "210", - "dataType" : "{https://github.com/cqframework/cql-execution/simple}Patient", - "type" : "Retrieve", - "include" : [ ], - "codeFilter" : [ ], - "dateFilter" : [ ], - "otherFilter" : [ ] - } - } - }, { - "localId" : "216", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}CodeSystem", - "name" : "ResolveMyCS", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "216", - "s" : [ { - "value" : [ "","define ","ResolveMyCS",": " ] - }, { - "r" : "217", - "s" : [ { - "value" : [ "\"MyCS\"" ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "217", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}CodeSystem", - "name" : "MyCS", - "type" : "CodeSystemRef" - } - } ] - } - } + } + } ] + } ] + }, + "contexts" : { + "def" : [ { + "localId" : "213", + "name" : "Patient", + "annotation" : [ ] + } ] + }, + "statements" : { + "def" : [ { + "localId" : "211", + "name" : "Patient", + "context" : "Patient", + "annotation" : [ ], + "expression" : { + "type" : "SingletonFrom", + "localId" : "212", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Retrieve", + "localId" : "210", + "dataType" : "{https://github.com/cqframework/cql-execution/simple}Patient", + "annotation" : [ ], + "include" : [ ], + "codeFilter" : [ ], + "dateFilter" : [ ], + "otherFilter" : [ ] + } + } + }, { + "localId" : "216", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}CodeSystem", + "name" : "ResolveMyCS", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "216", + "s" : [ { + "value" : [ "", "define ", "ResolveMyCS", ": " ] + }, { + "r" : "217", + "s" : [ { + "value" : [ "\"MyCS\"" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "CodeSystemRef", + "localId" : "217", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}CodeSystem", + "name" : "MyCS", + "annotation" : [ ] + } + } ] + } + } } /* CalculateAge: Fully Specified Birth Date @@ -5599,390 +6122,436 @@ define Seconds: AgeInSeconds() */ module.exports['CalculateAge: Fully Specified Birth Date'] = { - "library" : { - "localId" : "0", - "annotation" : [ { - "translatorVersion" : "3.27.0", - "translatorOptions" : "EnableDateRangeOptimization,EnableAnnotations,EnableResultTypes", - "signatureLevel" : "All", - "type" : "CqlToElmInfo" - }, { - "type" : "Annotation", - "s" : { - "r" : "274", + "library" : { + "localId" : "0", + "annotation" : [ { + "type" : "CqlToElmInfo", + "translatorVersion" : "4.2.0", + "translatorOptions" : "EnableDateRangeOptimization,EnableAnnotations,EnableResultTypes", + "signatureLevel" : "All" + }, { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "274", + "s" : [ { + "value" : [ "", "library TestSnippet version '1'" ] + } ] + } + } ], + "identifier" : { + "id" : "TestSnippet", + "version" : "1" + }, + "schemaIdentifier" : { + "id" : "urn:hl7-org:elm", + "version" : "r1" + }, + "usings" : { + "def" : [ { + "localId" : "1", + "localIdentifier" : "System", + "uri" : "urn:hl7-org:elm-types:r1", + "annotation" : [ ] + }, { + "localId" : "206", + "localIdentifier" : "Simple", + "uri" : "https://github.com/cqframework/cql-execution/simple", + "version" : "1.0.0", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "206", "s" : [ { - "value" : [ "","library TestSnippet version '1'" ] - } ] - } - } ], - "identifier" : { - "id" : "TestSnippet", - "version" : "1" - }, - "schemaIdentifier" : { - "id" : "urn:hl7-org:elm", - "version" : "r1" - }, - "usings" : { - "def" : [ { - "localId" : "1", - "localIdentifier" : "System", - "uri" : "urn:hl7-org:elm-types:r1" - }, { - "localId" : "206", - "localIdentifier" : "Simple", - "uri" : "https://github.com/cqframework/cql-execution/simple", - "version" : "1.0.0", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "206", - "s" : [ { - "value" : [ "","using " ] - }, { - "s" : [ { - "value" : [ "Simple" ] - } ] - }, { - "value" : [ " version '1.0.0'" ] - } ] - } - } ] - } ] - }, - "contexts" : { - "def" : [ { - "localId" : "211", - "name" : "Patient" - } ] - }, - "statements" : { - "def" : [ { - "localId" : "209", - "name" : "Patient", - "context" : "Patient", - "expression" : { - "localId" : "210", - "type" : "SingletonFrom", - "signature" : [ ], - "operand" : { - "localId" : "208", - "dataType" : "{https://github.com/cqframework/cql-execution/simple}Patient", - "type" : "Retrieve", - "include" : [ ], - "codeFilter" : [ ], - "dateFilter" : [ ], - "otherFilter" : [ ] - } - } - }, { - "localId" : "214", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "name" : "Years", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "214", - "s" : [ { - "value" : [ "","define ","Years",": " ] - }, { - "r" : "222", - "s" : [ { - "value" : [ "AgeInYears","()" ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "222", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "precision" : "Year", - "type" : "CalculateAge", - "signature" : [ { - "localId" : "223", - "name" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "220", - "type" : "ToDate", - "signature" : [ { - "localId" : "221", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "218", - "path" : "birthDate", - "type" : "Property", - "source" : { - "localId" : "217", - "name" : "Patient", - "type" : "ExpressionRef" - } - } - } + "value" : [ "", "using " ] + }, { + "s" : [ { + "value" : [ "Simple" ] + } ] + }, { + "value" : [ " version '1.0.0'" ] + } ] + } + } ] + } ] + }, + "contexts" : { + "def" : [ { + "localId" : "211", + "name" : "Patient", + "annotation" : [ ] + } ] + }, + "statements" : { + "def" : [ { + "localId" : "209", + "name" : "Patient", + "context" : "Patient", + "annotation" : [ ], + "expression" : { + "type" : "SingletonFrom", + "localId" : "210", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Retrieve", + "localId" : "208", + "dataType" : "{https://github.com/cqframework/cql-execution/simple}Patient", + "annotation" : [ ], + "include" : [ ], + "codeFilter" : [ ], + "dateFilter" : [ ], + "otherFilter" : [ ] + } + } + }, { + "localId" : "214", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "name" : "Years", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "214", + "s" : [ { + "value" : [ "", "define ", "Years", ": " ] + }, { + "r" : "222", + "s" : [ { + "value" : [ "AgeInYears", "()" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "CalculateAge", + "localId" : "222", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "precision" : "Year", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "223", + "name" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ] + } ], + "operand" : { + "type" : "ToDate", + "localId" : "220", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "221", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } ], + "operand" : { + "type" : "Property", + "localId" : "218", + "path" : "birthDate", + "annotation" : [ ], + "source" : { + "type" : "ExpressionRef", + "localId" : "217", + "name" : "Patient", + "annotation" : [ ] + } } - }, { - "localId" : "226", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "name" : "Months", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "226", - "s" : [ { - "value" : [ "","define ","Months",": " ] - }, { - "r" : "234", - "s" : [ { - "value" : [ "AgeInMonths","()" ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "234", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "precision" : "Month", - "type" : "CalculateAge", - "signature" : [ { - "localId" : "235", - "name" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "232", - "type" : "ToDate", - "signature" : [ { - "localId" : "233", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "230", - "path" : "birthDate", - "type" : "Property", - "source" : { - "localId" : "229", - "name" : "Patient", - "type" : "ExpressionRef" - } - } - } + } + } + }, { + "localId" : "226", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "name" : "Months", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "226", + "s" : [ { + "value" : [ "", "define ", "Months", ": " ] + }, { + "r" : "234", + "s" : [ { + "value" : [ "AgeInMonths", "()" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "CalculateAge", + "localId" : "234", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "precision" : "Month", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "235", + "name" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ] + } ], + "operand" : { + "type" : "ToDate", + "localId" : "232", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "233", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } ], + "operand" : { + "type" : "Property", + "localId" : "230", + "path" : "birthDate", + "annotation" : [ ], + "source" : { + "type" : "ExpressionRef", + "localId" : "229", + "name" : "Patient", + "annotation" : [ ] + } } - }, { - "localId" : "238", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "name" : "Weeks", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "238", - "s" : [ { - "value" : [ "","define ","Weeks",": " ] - }, { - "r" : "243", - "s" : [ { - "value" : [ "AgeInWeeks","()" ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "243", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "precision" : "Week", - "type" : "CalculateAge", - "signature" : [ { - "localId" : "244", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "242", - "path" : "birthDate", - "type" : "Property", - "source" : { - "localId" : "241", - "name" : "Patient", - "type" : "ExpressionRef" - } - } + } + } + }, { + "localId" : "238", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "name" : "Weeks", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "238", + "s" : [ { + "value" : [ "", "define ", "Weeks", ": " ] + }, { + "r" : "243", + "s" : [ { + "value" : [ "AgeInWeeks", "()" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "CalculateAge", + "localId" : "243", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "precision" : "Week", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "244", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } ], + "operand" : { + "type" : "Property", + "localId" : "242", + "path" : "birthDate", + "annotation" : [ ], + "source" : { + "type" : "ExpressionRef", + "localId" : "241", + "name" : "Patient", + "annotation" : [ ] } - }, { - "localId" : "247", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "name" : "Days", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "247", - "s" : [ { - "value" : [ "","define ","Days",": " ] - }, { - "r" : "252", - "s" : [ { - "value" : [ "AgeInDays","()" ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "252", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "precision" : "Day", - "type" : "CalculateAge", - "signature" : [ { - "localId" : "253", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "251", - "path" : "birthDate", - "type" : "Property", - "source" : { - "localId" : "250", - "name" : "Patient", - "type" : "ExpressionRef" - } - } + } + } + }, { + "localId" : "247", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "name" : "Days", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "247", + "s" : [ { + "value" : [ "", "define ", "Days", ": " ] + }, { + "r" : "252", + "s" : [ { + "value" : [ "AgeInDays", "()" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "CalculateAge", + "localId" : "252", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "precision" : "Day", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "253", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } ], + "operand" : { + "type" : "Property", + "localId" : "251", + "path" : "birthDate", + "annotation" : [ ], + "source" : { + "type" : "ExpressionRef", + "localId" : "250", + "name" : "Patient", + "annotation" : [ ] } - }, { - "localId" : "256", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "name" : "Hours", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "256", - "s" : [ { - "value" : [ "","define ","Hours",": " ] - }, { - "r" : "261", - "s" : [ { - "value" : [ "AgeInHours","()" ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "261", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "precision" : "Hour", - "type" : "CalculateAge", - "signature" : [ { - "localId" : "262", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "260", - "path" : "birthDate", - "type" : "Property", - "source" : { - "localId" : "259", - "name" : "Patient", - "type" : "ExpressionRef" - } - } + } + } + }, { + "localId" : "256", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "name" : "Hours", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "256", + "s" : [ { + "value" : [ "", "define ", "Hours", ": " ] + }, { + "r" : "261", + "s" : [ { + "value" : [ "AgeInHours", "()" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "CalculateAge", + "localId" : "261", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "precision" : "Hour", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "262", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } ], + "operand" : { + "type" : "Property", + "localId" : "260", + "path" : "birthDate", + "annotation" : [ ], + "source" : { + "type" : "ExpressionRef", + "localId" : "259", + "name" : "Patient", + "annotation" : [ ] } - }, { - "localId" : "265", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "name" : "Minutes", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "265", - "s" : [ { - "value" : [ "","define ","Minutes",": " ] - }, { - "r" : "270", - "s" : [ { - "value" : [ "AgeInMinutes","()" ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "270", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "precision" : "Minute", - "type" : "CalculateAge", - "signature" : [ { - "localId" : "271", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "269", - "path" : "birthDate", - "type" : "Property", - "source" : { - "localId" : "268", - "name" : "Patient", - "type" : "ExpressionRef" - } - } + } + } + }, { + "localId" : "265", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "name" : "Minutes", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "265", + "s" : [ { + "value" : [ "", "define ", "Minutes", ": " ] + }, { + "r" : "270", + "s" : [ { + "value" : [ "AgeInMinutes", "()" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "CalculateAge", + "localId" : "270", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "precision" : "Minute", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "271", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } ], + "operand" : { + "type" : "Property", + "localId" : "269", + "path" : "birthDate", + "annotation" : [ ], + "source" : { + "type" : "ExpressionRef", + "localId" : "268", + "name" : "Patient", + "annotation" : [ ] } - }, { - "localId" : "274", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "name" : "Seconds", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "274", - "s" : [ { - "value" : [ "","define ","Seconds",": " ] - }, { - "r" : "279", - "s" : [ { - "value" : [ "AgeInSeconds","()" ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "279", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "precision" : "Second", - "type" : "CalculateAge", - "signature" : [ { - "localId" : "280", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "278", - "path" : "birthDate", - "type" : "Property", - "source" : { - "localId" : "277", - "name" : "Patient", - "type" : "ExpressionRef" - } - } + } + } + }, { + "localId" : "274", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "name" : "Seconds", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "274", + "s" : [ { + "value" : [ "", "define ", "Seconds", ": " ] + }, { + "r" : "279", + "s" : [ { + "value" : [ "AgeInSeconds", "()" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "CalculateAge", + "localId" : "279", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "precision" : "Second", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "280", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } ], + "operand" : { + "type" : "Property", + "localId" : "278", + "path" : "birthDate", + "annotation" : [ ], + "source" : { + "type" : "ExpressionRef", + "localId" : "277", + "name" : "Patient", + "annotation" : [ ] } - } ] - } - } + } + } + } ] + } + } } /* CalculateAge: Fully Specified Birth Date on Today @@ -5999,390 +6568,436 @@ define Seconds: AgeInSeconds() */ module.exports['CalculateAge: Fully Specified Birth Date on Today'] = { - "library" : { - "localId" : "0", - "annotation" : [ { - "translatorVersion" : "3.27.0", - "translatorOptions" : "EnableDateRangeOptimization,EnableAnnotations,EnableResultTypes", - "signatureLevel" : "All", - "type" : "CqlToElmInfo" - }, { - "type" : "Annotation", - "s" : { - "r" : "274", + "library" : { + "localId" : "0", + "annotation" : [ { + "type" : "CqlToElmInfo", + "translatorVersion" : "4.2.0", + "translatorOptions" : "EnableDateRangeOptimization,EnableAnnotations,EnableResultTypes", + "signatureLevel" : "All" + }, { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "274", + "s" : [ { + "value" : [ "", "library TestSnippet version '1'" ] + } ] + } + } ], + "identifier" : { + "id" : "TestSnippet", + "version" : "1" + }, + "schemaIdentifier" : { + "id" : "urn:hl7-org:elm", + "version" : "r1" + }, + "usings" : { + "def" : [ { + "localId" : "1", + "localIdentifier" : "System", + "uri" : "urn:hl7-org:elm-types:r1", + "annotation" : [ ] + }, { + "localId" : "206", + "localIdentifier" : "Simple", + "uri" : "https://github.com/cqframework/cql-execution/simple", + "version" : "1.0.0", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "206", "s" : [ { - "value" : [ "","library TestSnippet version '1'" ] - } ] - } - } ], - "identifier" : { - "id" : "TestSnippet", - "version" : "1" - }, - "schemaIdentifier" : { - "id" : "urn:hl7-org:elm", - "version" : "r1" - }, - "usings" : { - "def" : [ { - "localId" : "1", - "localIdentifier" : "System", - "uri" : "urn:hl7-org:elm-types:r1" - }, { - "localId" : "206", - "localIdentifier" : "Simple", - "uri" : "https://github.com/cqframework/cql-execution/simple", - "version" : "1.0.0", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "206", - "s" : [ { - "value" : [ "","using " ] - }, { - "s" : [ { - "value" : [ "Simple" ] - } ] - }, { - "value" : [ " version '1.0.0'" ] - } ] - } - } ] - } ] - }, - "contexts" : { - "def" : [ { - "localId" : "211", - "name" : "Patient" - } ] - }, - "statements" : { - "def" : [ { - "localId" : "209", - "name" : "Patient", - "context" : "Patient", - "expression" : { - "localId" : "210", - "type" : "SingletonFrom", - "signature" : [ ], - "operand" : { - "localId" : "208", - "dataType" : "{https://github.com/cqframework/cql-execution/simple}Patient", - "type" : "Retrieve", - "include" : [ ], - "codeFilter" : [ ], - "dateFilter" : [ ], - "otherFilter" : [ ] - } - } - }, { - "localId" : "214", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "name" : "Years", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "214", - "s" : [ { - "value" : [ "","define ","Years",": " ] - }, { - "r" : "222", - "s" : [ { - "value" : [ "AgeInYears","()" ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "222", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "precision" : "Year", - "type" : "CalculateAge", - "signature" : [ { - "localId" : "223", - "name" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "220", - "type" : "ToDate", - "signature" : [ { - "localId" : "221", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "218", - "path" : "birthDate", - "type" : "Property", - "source" : { - "localId" : "217", - "name" : "Patient", - "type" : "ExpressionRef" - } - } - } - } - }, { - "localId" : "226", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "name" : "Months", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "226", - "s" : [ { - "value" : [ "","define ","Months",": " ] - }, { - "r" : "234", - "s" : [ { - "value" : [ "AgeInMonths","()" ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "234", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "precision" : "Month", - "type" : "CalculateAge", - "signature" : [ { - "localId" : "235", - "name" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "232", - "type" : "ToDate", - "signature" : [ { - "localId" : "233", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "230", - "path" : "birthDate", - "type" : "Property", - "source" : { - "localId" : "229", - "name" : "Patient", - "type" : "ExpressionRef" - } - } - } + "value" : [ "", "using " ] + }, { + "s" : [ { + "value" : [ "Simple" ] + } ] + }, { + "value" : [ " version '1.0.0'" ] + } ] + } + } ] + } ] + }, + "contexts" : { + "def" : [ { + "localId" : "211", + "name" : "Patient", + "annotation" : [ ] + } ] + }, + "statements" : { + "def" : [ { + "localId" : "209", + "name" : "Patient", + "context" : "Patient", + "annotation" : [ ], + "expression" : { + "type" : "SingletonFrom", + "localId" : "210", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Retrieve", + "localId" : "208", + "dataType" : "{https://github.com/cqframework/cql-execution/simple}Patient", + "annotation" : [ ], + "include" : [ ], + "codeFilter" : [ ], + "dateFilter" : [ ], + "otherFilter" : [ ] + } + } + }, { + "localId" : "214", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "name" : "Years", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "214", + "s" : [ { + "value" : [ "", "define ", "Years", ": " ] + }, { + "r" : "222", + "s" : [ { + "value" : [ "AgeInYears", "()" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "CalculateAge", + "localId" : "222", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "precision" : "Year", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "223", + "name" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ] + } ], + "operand" : { + "type" : "ToDate", + "localId" : "220", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "221", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } ], + "operand" : { + "type" : "Property", + "localId" : "218", + "path" : "birthDate", + "annotation" : [ ], + "source" : { + "type" : "ExpressionRef", + "localId" : "217", + "name" : "Patient", + "annotation" : [ ] + } } - }, { - "localId" : "238", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "name" : "Weeks", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "238", - "s" : [ { - "value" : [ "","define ","Weeks",": " ] - }, { - "r" : "243", - "s" : [ { - "value" : [ "AgeInWeeks","()" ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "243", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "precision" : "Week", - "type" : "CalculateAge", - "signature" : [ { - "localId" : "244", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "242", - "path" : "birthDate", - "type" : "Property", - "source" : { - "localId" : "241", - "name" : "Patient", - "type" : "ExpressionRef" - } - } + } + } + }, { + "localId" : "226", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "name" : "Months", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "226", + "s" : [ { + "value" : [ "", "define ", "Months", ": " ] + }, { + "r" : "234", + "s" : [ { + "value" : [ "AgeInMonths", "()" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "CalculateAge", + "localId" : "234", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "precision" : "Month", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "235", + "name" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ] + } ], + "operand" : { + "type" : "ToDate", + "localId" : "232", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "233", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } ], + "operand" : { + "type" : "Property", + "localId" : "230", + "path" : "birthDate", + "annotation" : [ ], + "source" : { + "type" : "ExpressionRef", + "localId" : "229", + "name" : "Patient", + "annotation" : [ ] + } } - }, { - "localId" : "247", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "name" : "Days", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "247", - "s" : [ { - "value" : [ "","define ","Days",": " ] - }, { - "r" : "252", - "s" : [ { - "value" : [ "AgeInDays","()" ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "252", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "precision" : "Day", - "type" : "CalculateAge", - "signature" : [ { - "localId" : "253", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "251", - "path" : "birthDate", - "type" : "Property", - "source" : { - "localId" : "250", - "name" : "Patient", - "type" : "ExpressionRef" - } - } + } + } + }, { + "localId" : "238", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "name" : "Weeks", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "238", + "s" : [ { + "value" : [ "", "define ", "Weeks", ": " ] + }, { + "r" : "243", + "s" : [ { + "value" : [ "AgeInWeeks", "()" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "CalculateAge", + "localId" : "243", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "precision" : "Week", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "244", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } ], + "operand" : { + "type" : "Property", + "localId" : "242", + "path" : "birthDate", + "annotation" : [ ], + "source" : { + "type" : "ExpressionRef", + "localId" : "241", + "name" : "Patient", + "annotation" : [ ] } - }, { - "localId" : "256", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "name" : "Hours", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "256", - "s" : [ { - "value" : [ "","define ","Hours",": " ] - }, { - "r" : "261", - "s" : [ { - "value" : [ "AgeInHours","()" ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "261", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "precision" : "Hour", - "type" : "CalculateAge", - "signature" : [ { - "localId" : "262", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "260", - "path" : "birthDate", - "type" : "Property", - "source" : { - "localId" : "259", - "name" : "Patient", - "type" : "ExpressionRef" - } - } + } + } + }, { + "localId" : "247", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "name" : "Days", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "247", + "s" : [ { + "value" : [ "", "define ", "Days", ": " ] + }, { + "r" : "252", + "s" : [ { + "value" : [ "AgeInDays", "()" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "CalculateAge", + "localId" : "252", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "precision" : "Day", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "253", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } ], + "operand" : { + "type" : "Property", + "localId" : "251", + "path" : "birthDate", + "annotation" : [ ], + "source" : { + "type" : "ExpressionRef", + "localId" : "250", + "name" : "Patient", + "annotation" : [ ] } - }, { - "localId" : "265", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "name" : "Minutes", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "265", - "s" : [ { - "value" : [ "","define ","Minutes",": " ] - }, { - "r" : "270", - "s" : [ { - "value" : [ "AgeInMinutes","()" ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "270", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "precision" : "Minute", - "type" : "CalculateAge", - "signature" : [ { - "localId" : "271", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "269", - "path" : "birthDate", - "type" : "Property", - "source" : { - "localId" : "268", - "name" : "Patient", - "type" : "ExpressionRef" - } - } + } + } + }, { + "localId" : "256", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "name" : "Hours", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "256", + "s" : [ { + "value" : [ "", "define ", "Hours", ": " ] + }, { + "r" : "261", + "s" : [ { + "value" : [ "AgeInHours", "()" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "CalculateAge", + "localId" : "261", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "precision" : "Hour", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "262", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } ], + "operand" : { + "type" : "Property", + "localId" : "260", + "path" : "birthDate", + "annotation" : [ ], + "source" : { + "type" : "ExpressionRef", + "localId" : "259", + "name" : "Patient", + "annotation" : [ ] } - }, { - "localId" : "274", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "name" : "Seconds", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "274", - "s" : [ { - "value" : [ "","define ","Seconds",": " ] - }, { - "r" : "279", - "s" : [ { - "value" : [ "AgeInSeconds","()" ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "279", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "precision" : "Second", - "type" : "CalculateAge", - "signature" : [ { - "localId" : "280", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "278", - "path" : "birthDate", - "type" : "Property", - "source" : { - "localId" : "277", - "name" : "Patient", - "type" : "ExpressionRef" - } - } + } + } + }, { + "localId" : "265", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "name" : "Minutes", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "265", + "s" : [ { + "value" : [ "", "define ", "Minutes", ": " ] + }, { + "r" : "270", + "s" : [ { + "value" : [ "AgeInMinutes", "()" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "CalculateAge", + "localId" : "270", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "precision" : "Minute", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "271", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } ], + "operand" : { + "type" : "Property", + "localId" : "269", + "path" : "birthDate", + "annotation" : [ ], + "source" : { + "type" : "ExpressionRef", + "localId" : "268", + "name" : "Patient", + "annotation" : [ ] } - } ] - } - } + } + } + }, { + "localId" : "274", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "name" : "Seconds", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "274", + "s" : [ { + "value" : [ "", "define ", "Seconds", ": " ] + }, { + "r" : "279", + "s" : [ { + "value" : [ "AgeInSeconds", "()" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "CalculateAge", + "localId" : "279", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "precision" : "Second", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "280", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } ], + "operand" : { + "type" : "Property", + "localId" : "278", + "path" : "birthDate", + "annotation" : [ ], + "source" : { + "type" : "ExpressionRef", + "localId" : "277", + "name" : "Patient", + "annotation" : [ ] + } + } + } + } ] + } + } } /* CalculateAge: Date-Only Birth Date as DateTime @@ -6399,390 +7014,436 @@ define Seconds: AgeInSeconds() */ module.exports['CalculateAge: Date-Only Birth Date as DateTime'] = { - "library" : { - "localId" : "0", - "annotation" : [ { - "translatorVersion" : "3.27.0", - "translatorOptions" : "EnableDateRangeOptimization,EnableAnnotations,EnableResultTypes", - "signatureLevel" : "All", - "type" : "CqlToElmInfo" - }, { - "type" : "Annotation", - "s" : { - "r" : "274", + "library" : { + "localId" : "0", + "annotation" : [ { + "type" : "CqlToElmInfo", + "translatorVersion" : "4.2.0", + "translatorOptions" : "EnableDateRangeOptimization,EnableAnnotations,EnableResultTypes", + "signatureLevel" : "All" + }, { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "274", + "s" : [ { + "value" : [ "", "library TestSnippet version '1'" ] + } ] + } + } ], + "identifier" : { + "id" : "TestSnippet", + "version" : "1" + }, + "schemaIdentifier" : { + "id" : "urn:hl7-org:elm", + "version" : "r1" + }, + "usings" : { + "def" : [ { + "localId" : "1", + "localIdentifier" : "System", + "uri" : "urn:hl7-org:elm-types:r1", + "annotation" : [ ] + }, { + "localId" : "206", + "localIdentifier" : "Simple", + "uri" : "https://github.com/cqframework/cql-execution/simple", + "version" : "1.0.0", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "206", "s" : [ { - "value" : [ "","library TestSnippet version '1'" ] - } ] - } - } ], - "identifier" : { - "id" : "TestSnippet", - "version" : "1" - }, - "schemaIdentifier" : { - "id" : "urn:hl7-org:elm", - "version" : "r1" - }, - "usings" : { - "def" : [ { - "localId" : "1", - "localIdentifier" : "System", - "uri" : "urn:hl7-org:elm-types:r1" - }, { - "localId" : "206", - "localIdentifier" : "Simple", - "uri" : "https://github.com/cqframework/cql-execution/simple", - "version" : "1.0.0", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "206", - "s" : [ { - "value" : [ "","using " ] - }, { - "s" : [ { - "value" : [ "Simple" ] - } ] - }, { - "value" : [ " version '1.0.0'" ] - } ] - } - } ] - } ] - }, - "contexts" : { - "def" : [ { - "localId" : "211", - "name" : "Patient" - } ] - }, - "statements" : { - "def" : [ { - "localId" : "209", - "name" : "Patient", - "context" : "Patient", - "expression" : { - "localId" : "210", - "type" : "SingletonFrom", - "signature" : [ ], - "operand" : { - "localId" : "208", - "dataType" : "{https://github.com/cqframework/cql-execution/simple}Patient", - "type" : "Retrieve", - "include" : [ ], - "codeFilter" : [ ], - "dateFilter" : [ ], - "otherFilter" : [ ] - } - } - }, { - "localId" : "214", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "name" : "Years", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "214", - "s" : [ { - "value" : [ "","define ","Years",": " ] - }, { - "r" : "222", - "s" : [ { - "value" : [ "AgeInYears","()" ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "222", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "precision" : "Year", - "type" : "CalculateAge", - "signature" : [ { - "localId" : "223", - "name" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "220", - "type" : "ToDate", - "signature" : [ { - "localId" : "221", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "218", - "path" : "birthDate", - "type" : "Property", - "source" : { - "localId" : "217", - "name" : "Patient", - "type" : "ExpressionRef" - } - } - } + "value" : [ "", "using " ] + }, { + "s" : [ { + "value" : [ "Simple" ] + } ] + }, { + "value" : [ " version '1.0.0'" ] + } ] + } + } ] + } ] + }, + "contexts" : { + "def" : [ { + "localId" : "211", + "name" : "Patient", + "annotation" : [ ] + } ] + }, + "statements" : { + "def" : [ { + "localId" : "209", + "name" : "Patient", + "context" : "Patient", + "annotation" : [ ], + "expression" : { + "type" : "SingletonFrom", + "localId" : "210", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Retrieve", + "localId" : "208", + "dataType" : "{https://github.com/cqframework/cql-execution/simple}Patient", + "annotation" : [ ], + "include" : [ ], + "codeFilter" : [ ], + "dateFilter" : [ ], + "otherFilter" : [ ] + } + } + }, { + "localId" : "214", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "name" : "Years", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "214", + "s" : [ { + "value" : [ "", "define ", "Years", ": " ] + }, { + "r" : "222", + "s" : [ { + "value" : [ "AgeInYears", "()" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "CalculateAge", + "localId" : "222", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "precision" : "Year", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "223", + "name" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ] + } ], + "operand" : { + "type" : "ToDate", + "localId" : "220", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "221", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } ], + "operand" : { + "type" : "Property", + "localId" : "218", + "path" : "birthDate", + "annotation" : [ ], + "source" : { + "type" : "ExpressionRef", + "localId" : "217", + "name" : "Patient", + "annotation" : [ ] + } } - }, { - "localId" : "226", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "name" : "Months", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "226", - "s" : [ { - "value" : [ "","define ","Months",": " ] - }, { - "r" : "234", - "s" : [ { - "value" : [ "AgeInMonths","()" ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "234", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "precision" : "Month", - "type" : "CalculateAge", - "signature" : [ { - "localId" : "235", - "name" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "232", - "type" : "ToDate", - "signature" : [ { - "localId" : "233", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "230", - "path" : "birthDate", - "type" : "Property", - "source" : { - "localId" : "229", - "name" : "Patient", - "type" : "ExpressionRef" - } - } - } + } + } + }, { + "localId" : "226", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "name" : "Months", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "226", + "s" : [ { + "value" : [ "", "define ", "Months", ": " ] + }, { + "r" : "234", + "s" : [ { + "value" : [ "AgeInMonths", "()" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "CalculateAge", + "localId" : "234", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "precision" : "Month", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "235", + "name" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ] + } ], + "operand" : { + "type" : "ToDate", + "localId" : "232", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "233", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } ], + "operand" : { + "type" : "Property", + "localId" : "230", + "path" : "birthDate", + "annotation" : [ ], + "source" : { + "type" : "ExpressionRef", + "localId" : "229", + "name" : "Patient", + "annotation" : [ ] + } } - }, { - "localId" : "238", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "name" : "Weeks", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "238", - "s" : [ { - "value" : [ "","define ","Weeks",": " ] - }, { - "r" : "243", - "s" : [ { - "value" : [ "AgeInWeeks","()" ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "243", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "precision" : "Week", - "type" : "CalculateAge", - "signature" : [ { - "localId" : "244", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "242", - "path" : "birthDate", - "type" : "Property", - "source" : { - "localId" : "241", - "name" : "Patient", - "type" : "ExpressionRef" - } - } + } + } + }, { + "localId" : "238", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "name" : "Weeks", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "238", + "s" : [ { + "value" : [ "", "define ", "Weeks", ": " ] + }, { + "r" : "243", + "s" : [ { + "value" : [ "AgeInWeeks", "()" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "CalculateAge", + "localId" : "243", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "precision" : "Week", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "244", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } ], + "operand" : { + "type" : "Property", + "localId" : "242", + "path" : "birthDate", + "annotation" : [ ], + "source" : { + "type" : "ExpressionRef", + "localId" : "241", + "name" : "Patient", + "annotation" : [ ] } - }, { - "localId" : "247", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "name" : "Days", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "247", - "s" : [ { - "value" : [ "","define ","Days",": " ] - }, { - "r" : "252", - "s" : [ { - "value" : [ "AgeInDays","()" ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "252", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "precision" : "Day", - "type" : "CalculateAge", - "signature" : [ { - "localId" : "253", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "251", - "path" : "birthDate", - "type" : "Property", - "source" : { - "localId" : "250", - "name" : "Patient", - "type" : "ExpressionRef" - } - } + } + } + }, { + "localId" : "247", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "name" : "Days", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "247", + "s" : [ { + "value" : [ "", "define ", "Days", ": " ] + }, { + "r" : "252", + "s" : [ { + "value" : [ "AgeInDays", "()" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "CalculateAge", + "localId" : "252", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "precision" : "Day", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "253", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } ], + "operand" : { + "type" : "Property", + "localId" : "251", + "path" : "birthDate", + "annotation" : [ ], + "source" : { + "type" : "ExpressionRef", + "localId" : "250", + "name" : "Patient", + "annotation" : [ ] } - }, { - "localId" : "256", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "name" : "Hours", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "256", - "s" : [ { - "value" : [ "","define ","Hours",": " ] - }, { - "r" : "261", - "s" : [ { - "value" : [ "AgeInHours","()" ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "261", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "precision" : "Hour", - "type" : "CalculateAge", - "signature" : [ { - "localId" : "262", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "260", - "path" : "birthDate", - "type" : "Property", - "source" : { - "localId" : "259", - "name" : "Patient", - "type" : "ExpressionRef" - } - } + } + } + }, { + "localId" : "256", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "name" : "Hours", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "256", + "s" : [ { + "value" : [ "", "define ", "Hours", ": " ] + }, { + "r" : "261", + "s" : [ { + "value" : [ "AgeInHours", "()" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "CalculateAge", + "localId" : "261", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "precision" : "Hour", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "262", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } ], + "operand" : { + "type" : "Property", + "localId" : "260", + "path" : "birthDate", + "annotation" : [ ], + "source" : { + "type" : "ExpressionRef", + "localId" : "259", + "name" : "Patient", + "annotation" : [ ] } - }, { - "localId" : "265", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "name" : "Minutes", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "265", - "s" : [ { - "value" : [ "","define ","Minutes",": " ] - }, { - "r" : "270", - "s" : [ { - "value" : [ "AgeInMinutes","()" ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "270", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "precision" : "Minute", - "type" : "CalculateAge", - "signature" : [ { - "localId" : "271", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "269", - "path" : "birthDate", - "type" : "Property", - "source" : { - "localId" : "268", - "name" : "Patient", - "type" : "ExpressionRef" - } - } + } + } + }, { + "localId" : "265", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "name" : "Minutes", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "265", + "s" : [ { + "value" : [ "", "define ", "Minutes", ": " ] + }, { + "r" : "270", + "s" : [ { + "value" : [ "AgeInMinutes", "()" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "CalculateAge", + "localId" : "270", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "precision" : "Minute", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "271", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } ], + "operand" : { + "type" : "Property", + "localId" : "269", + "path" : "birthDate", + "annotation" : [ ], + "source" : { + "type" : "ExpressionRef", + "localId" : "268", + "name" : "Patient", + "annotation" : [ ] } - }, { - "localId" : "274", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "name" : "Seconds", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "274", - "s" : [ { - "value" : [ "","define ","Seconds",": " ] - }, { - "r" : "279", - "s" : [ { - "value" : [ "AgeInSeconds","()" ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "279", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "precision" : "Second", - "type" : "CalculateAge", - "signature" : [ { - "localId" : "280", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "278", - "path" : "birthDate", - "type" : "Property", - "source" : { - "localId" : "277", - "name" : "Patient", - "type" : "ExpressionRef" - } - } + } + } + }, { + "localId" : "274", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "name" : "Seconds", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "274", + "s" : [ { + "value" : [ "", "define ", "Seconds", ": " ] + }, { + "r" : "279", + "s" : [ { + "value" : [ "AgeInSeconds", "()" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "CalculateAge", + "localId" : "279", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "precision" : "Second", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "280", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } ], + "operand" : { + "type" : "Property", + "localId" : "278", + "path" : "birthDate", + "annotation" : [ ], + "source" : { + "type" : "ExpressionRef", + "localId" : "277", + "name" : "Patient", + "annotation" : [ ] } - } ] - } - } + } + } + } ] + } + } } /* CalculateAge: Date-Only Birth Date as DateTime on Today @@ -6799,390 +7460,436 @@ define Seconds: AgeInSeconds() */ module.exports['CalculateAge: Date-Only Birth Date as DateTime on Today'] = { - "library" : { - "localId" : "0", - "annotation" : [ { - "translatorVersion" : "3.27.0", - "translatorOptions" : "EnableDateRangeOptimization,EnableAnnotations,EnableResultTypes", - "signatureLevel" : "All", - "type" : "CqlToElmInfo" - }, { - "type" : "Annotation", - "s" : { - "r" : "274", + "library" : { + "localId" : "0", + "annotation" : [ { + "type" : "CqlToElmInfo", + "translatorVersion" : "4.2.0", + "translatorOptions" : "EnableDateRangeOptimization,EnableAnnotations,EnableResultTypes", + "signatureLevel" : "All" + }, { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "274", + "s" : [ { + "value" : [ "", "library TestSnippet version '1'" ] + } ] + } + } ], + "identifier" : { + "id" : "TestSnippet", + "version" : "1" + }, + "schemaIdentifier" : { + "id" : "urn:hl7-org:elm", + "version" : "r1" + }, + "usings" : { + "def" : [ { + "localId" : "1", + "localIdentifier" : "System", + "uri" : "urn:hl7-org:elm-types:r1", + "annotation" : [ ] + }, { + "localId" : "206", + "localIdentifier" : "Simple", + "uri" : "https://github.com/cqframework/cql-execution/simple", + "version" : "1.0.0", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "206", "s" : [ { - "value" : [ "","library TestSnippet version '1'" ] - } ] - } - } ], - "identifier" : { - "id" : "TestSnippet", - "version" : "1" - }, - "schemaIdentifier" : { - "id" : "urn:hl7-org:elm", - "version" : "r1" - }, - "usings" : { - "def" : [ { - "localId" : "1", - "localIdentifier" : "System", - "uri" : "urn:hl7-org:elm-types:r1" - }, { - "localId" : "206", - "localIdentifier" : "Simple", - "uri" : "https://github.com/cqframework/cql-execution/simple", - "version" : "1.0.0", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "206", - "s" : [ { - "value" : [ "","using " ] - }, { - "s" : [ { - "value" : [ "Simple" ] - } ] - }, { - "value" : [ " version '1.0.0'" ] - } ] - } - } ] - } ] - }, - "contexts" : { - "def" : [ { - "localId" : "211", - "name" : "Patient" - } ] - }, - "statements" : { - "def" : [ { - "localId" : "209", - "name" : "Patient", - "context" : "Patient", - "expression" : { - "localId" : "210", - "type" : "SingletonFrom", - "signature" : [ ], - "operand" : { - "localId" : "208", - "dataType" : "{https://github.com/cqframework/cql-execution/simple}Patient", - "type" : "Retrieve", - "include" : [ ], - "codeFilter" : [ ], - "dateFilter" : [ ], - "otherFilter" : [ ] - } - } - }, { - "localId" : "214", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "name" : "Years", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "214", - "s" : [ { - "value" : [ "","define ","Years",": " ] - }, { - "r" : "222", - "s" : [ { - "value" : [ "AgeInYears","()" ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "222", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "precision" : "Year", - "type" : "CalculateAge", - "signature" : [ { - "localId" : "223", - "name" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "220", - "type" : "ToDate", - "signature" : [ { - "localId" : "221", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "218", - "path" : "birthDate", - "type" : "Property", - "source" : { - "localId" : "217", - "name" : "Patient", - "type" : "ExpressionRef" - } - } - } + "value" : [ "", "using " ] + }, { + "s" : [ { + "value" : [ "Simple" ] + } ] + }, { + "value" : [ " version '1.0.0'" ] + } ] + } + } ] + } ] + }, + "contexts" : { + "def" : [ { + "localId" : "211", + "name" : "Patient", + "annotation" : [ ] + } ] + }, + "statements" : { + "def" : [ { + "localId" : "209", + "name" : "Patient", + "context" : "Patient", + "annotation" : [ ], + "expression" : { + "type" : "SingletonFrom", + "localId" : "210", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Retrieve", + "localId" : "208", + "dataType" : "{https://github.com/cqframework/cql-execution/simple}Patient", + "annotation" : [ ], + "include" : [ ], + "codeFilter" : [ ], + "dateFilter" : [ ], + "otherFilter" : [ ] + } + } + }, { + "localId" : "214", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "name" : "Years", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "214", + "s" : [ { + "value" : [ "", "define ", "Years", ": " ] + }, { + "r" : "222", + "s" : [ { + "value" : [ "AgeInYears", "()" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "CalculateAge", + "localId" : "222", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "precision" : "Year", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "223", + "name" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ] + } ], + "operand" : { + "type" : "ToDate", + "localId" : "220", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "221", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } ], + "operand" : { + "type" : "Property", + "localId" : "218", + "path" : "birthDate", + "annotation" : [ ], + "source" : { + "type" : "ExpressionRef", + "localId" : "217", + "name" : "Patient", + "annotation" : [ ] + } } - }, { - "localId" : "226", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "name" : "Months", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "226", - "s" : [ { - "value" : [ "","define ","Months",": " ] - }, { - "r" : "234", - "s" : [ { - "value" : [ "AgeInMonths","()" ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "234", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "precision" : "Month", - "type" : "CalculateAge", - "signature" : [ { - "localId" : "235", - "name" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "232", - "type" : "ToDate", - "signature" : [ { - "localId" : "233", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "230", - "path" : "birthDate", - "type" : "Property", - "source" : { - "localId" : "229", - "name" : "Patient", - "type" : "ExpressionRef" - } - } - } + } + } + }, { + "localId" : "226", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "name" : "Months", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "226", + "s" : [ { + "value" : [ "", "define ", "Months", ": " ] + }, { + "r" : "234", + "s" : [ { + "value" : [ "AgeInMonths", "()" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "CalculateAge", + "localId" : "234", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "precision" : "Month", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "235", + "name" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ] + } ], + "operand" : { + "type" : "ToDate", + "localId" : "232", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "233", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } ], + "operand" : { + "type" : "Property", + "localId" : "230", + "path" : "birthDate", + "annotation" : [ ], + "source" : { + "type" : "ExpressionRef", + "localId" : "229", + "name" : "Patient", + "annotation" : [ ] + } } - }, { - "localId" : "238", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "name" : "Weeks", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "238", - "s" : [ { - "value" : [ "","define ","Weeks",": " ] - }, { - "r" : "243", - "s" : [ { - "value" : [ "AgeInWeeks","()" ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "243", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "precision" : "Week", - "type" : "CalculateAge", - "signature" : [ { - "localId" : "244", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "242", - "path" : "birthDate", - "type" : "Property", - "source" : { - "localId" : "241", - "name" : "Patient", - "type" : "ExpressionRef" - } - } + } + } + }, { + "localId" : "238", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "name" : "Weeks", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "238", + "s" : [ { + "value" : [ "", "define ", "Weeks", ": " ] + }, { + "r" : "243", + "s" : [ { + "value" : [ "AgeInWeeks", "()" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "CalculateAge", + "localId" : "243", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "precision" : "Week", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "244", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } ], + "operand" : { + "type" : "Property", + "localId" : "242", + "path" : "birthDate", + "annotation" : [ ], + "source" : { + "type" : "ExpressionRef", + "localId" : "241", + "name" : "Patient", + "annotation" : [ ] } - }, { - "localId" : "247", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "name" : "Days", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "247", - "s" : [ { - "value" : [ "","define ","Days",": " ] - }, { - "r" : "252", - "s" : [ { - "value" : [ "AgeInDays","()" ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "252", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "precision" : "Day", - "type" : "CalculateAge", - "signature" : [ { - "localId" : "253", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "251", - "path" : "birthDate", - "type" : "Property", - "source" : { - "localId" : "250", - "name" : "Patient", - "type" : "ExpressionRef" - } - } + } + } + }, { + "localId" : "247", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "name" : "Days", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "247", + "s" : [ { + "value" : [ "", "define ", "Days", ": " ] + }, { + "r" : "252", + "s" : [ { + "value" : [ "AgeInDays", "()" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "CalculateAge", + "localId" : "252", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "precision" : "Day", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "253", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } ], + "operand" : { + "type" : "Property", + "localId" : "251", + "path" : "birthDate", + "annotation" : [ ], + "source" : { + "type" : "ExpressionRef", + "localId" : "250", + "name" : "Patient", + "annotation" : [ ] } - }, { - "localId" : "256", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "name" : "Hours", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "256", - "s" : [ { - "value" : [ "","define ","Hours",": " ] - }, { - "r" : "261", - "s" : [ { - "value" : [ "AgeInHours","()" ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "261", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "precision" : "Hour", - "type" : "CalculateAge", - "signature" : [ { - "localId" : "262", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "260", - "path" : "birthDate", - "type" : "Property", - "source" : { - "localId" : "259", - "name" : "Patient", - "type" : "ExpressionRef" - } - } + } + } + }, { + "localId" : "256", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "name" : "Hours", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "256", + "s" : [ { + "value" : [ "", "define ", "Hours", ": " ] + }, { + "r" : "261", + "s" : [ { + "value" : [ "AgeInHours", "()" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "CalculateAge", + "localId" : "261", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "precision" : "Hour", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "262", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } ], + "operand" : { + "type" : "Property", + "localId" : "260", + "path" : "birthDate", + "annotation" : [ ], + "source" : { + "type" : "ExpressionRef", + "localId" : "259", + "name" : "Patient", + "annotation" : [ ] } - }, { - "localId" : "265", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "name" : "Minutes", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "265", - "s" : [ { - "value" : [ "","define ","Minutes",": " ] - }, { - "r" : "270", - "s" : [ { - "value" : [ "AgeInMinutes","()" ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "270", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "precision" : "Minute", - "type" : "CalculateAge", - "signature" : [ { - "localId" : "271", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "269", - "path" : "birthDate", - "type" : "Property", - "source" : { - "localId" : "268", - "name" : "Patient", - "type" : "ExpressionRef" - } - } + } + } + }, { + "localId" : "265", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "name" : "Minutes", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "265", + "s" : [ { + "value" : [ "", "define ", "Minutes", ": " ] + }, { + "r" : "270", + "s" : [ { + "value" : [ "AgeInMinutes", "()" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "CalculateAge", + "localId" : "270", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "precision" : "Minute", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "271", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } ], + "operand" : { + "type" : "Property", + "localId" : "269", + "path" : "birthDate", + "annotation" : [ ], + "source" : { + "type" : "ExpressionRef", + "localId" : "268", + "name" : "Patient", + "annotation" : [ ] } - }, { - "localId" : "274", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "name" : "Seconds", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "274", - "s" : [ { - "value" : [ "","define ","Seconds",": " ] - }, { - "r" : "279", - "s" : [ { - "value" : [ "AgeInSeconds","()" ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "279", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "precision" : "Second", - "type" : "CalculateAge", - "signature" : [ { - "localId" : "280", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "278", - "path" : "birthDate", - "type" : "Property", - "source" : { - "localId" : "277", - "name" : "Patient", - "type" : "ExpressionRef" - } - } + } + } + }, { + "localId" : "274", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "name" : "Seconds", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "274", + "s" : [ { + "value" : [ "", "define ", "Seconds", ": " ] + }, { + "r" : "279", + "s" : [ { + "value" : [ "AgeInSeconds", "()" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "CalculateAge", + "localId" : "279", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "precision" : "Second", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "280", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } ], + "operand" : { + "type" : "Property", + "localId" : "278", + "path" : "birthDate", + "annotation" : [ ], + "source" : { + "type" : "ExpressionRef", + "localId" : "277", + "name" : "Patient", + "annotation" : [ ] } - } ] - } - } + } + } + } ] + } + } } /* CalculateAge: Date-Only Birth Date as Date @@ -7199,390 +7906,436 @@ define Seconds: AgeInSeconds() */ module.exports['CalculateAge: Date-Only Birth Date as Date'] = { - "library" : { - "localId" : "0", - "annotation" : [ { - "translatorVersion" : "3.27.0", - "translatorOptions" : "EnableDateRangeOptimization,EnableAnnotations,EnableResultTypes", - "signatureLevel" : "All", - "type" : "CqlToElmInfo" - }, { - "type" : "Annotation", - "s" : { - "r" : "274", + "library" : { + "localId" : "0", + "annotation" : [ { + "type" : "CqlToElmInfo", + "translatorVersion" : "4.2.0", + "translatorOptions" : "EnableDateRangeOptimization,EnableAnnotations,EnableResultTypes", + "signatureLevel" : "All" + }, { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "274", + "s" : [ { + "value" : [ "", "library TestSnippet version '1'" ] + } ] + } + } ], + "identifier" : { + "id" : "TestSnippet", + "version" : "1" + }, + "schemaIdentifier" : { + "id" : "urn:hl7-org:elm", + "version" : "r1" + }, + "usings" : { + "def" : [ { + "localId" : "1", + "localIdentifier" : "System", + "uri" : "urn:hl7-org:elm-types:r1", + "annotation" : [ ] + }, { + "localId" : "206", + "localIdentifier" : "Simple", + "uri" : "https://github.com/cqframework/cql-execution/simple", + "version" : "1.0.0", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "206", "s" : [ { - "value" : [ "","library TestSnippet version '1'" ] - } ] - } - } ], - "identifier" : { - "id" : "TestSnippet", - "version" : "1" - }, - "schemaIdentifier" : { - "id" : "urn:hl7-org:elm", - "version" : "r1" - }, - "usings" : { - "def" : [ { - "localId" : "1", - "localIdentifier" : "System", - "uri" : "urn:hl7-org:elm-types:r1" - }, { - "localId" : "206", - "localIdentifier" : "Simple", - "uri" : "https://github.com/cqframework/cql-execution/simple", - "version" : "1.0.0", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "206", - "s" : [ { - "value" : [ "","using " ] - }, { - "s" : [ { - "value" : [ "Simple" ] - } ] - }, { - "value" : [ " version '1.0.0'" ] - } ] - } - } ] - } ] - }, - "contexts" : { - "def" : [ { - "localId" : "211", - "name" : "Patient" - } ] - }, - "statements" : { - "def" : [ { - "localId" : "209", - "name" : "Patient", - "context" : "Patient", - "expression" : { - "localId" : "210", - "type" : "SingletonFrom", - "signature" : [ ], - "operand" : { - "localId" : "208", - "dataType" : "{https://github.com/cqframework/cql-execution/simple}Patient", - "type" : "Retrieve", - "include" : [ ], - "codeFilter" : [ ], - "dateFilter" : [ ], - "otherFilter" : [ ] - } - } - }, { - "localId" : "214", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "name" : "Years", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "214", - "s" : [ { - "value" : [ "","define ","Years",": " ] - }, { - "r" : "222", - "s" : [ { - "value" : [ "AgeInYears","()" ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "222", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "precision" : "Year", - "type" : "CalculateAge", - "signature" : [ { - "localId" : "223", - "name" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "220", - "type" : "ToDate", - "signature" : [ { - "localId" : "221", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "218", - "path" : "birthDate", - "type" : "Property", - "source" : { - "localId" : "217", - "name" : "Patient", - "type" : "ExpressionRef" - } - } - } - } - }, { - "localId" : "226", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "name" : "Months", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "226", - "s" : [ { - "value" : [ "","define ","Months",": " ] - }, { - "r" : "234", - "s" : [ { - "value" : [ "AgeInMonths","()" ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "234", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "precision" : "Month", - "type" : "CalculateAge", - "signature" : [ { - "localId" : "235", - "name" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "232", - "type" : "ToDate", - "signature" : [ { - "localId" : "233", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "230", - "path" : "birthDate", - "type" : "Property", - "source" : { - "localId" : "229", - "name" : "Patient", - "type" : "ExpressionRef" - } - } - } + "value" : [ "", "using " ] + }, { + "s" : [ { + "value" : [ "Simple" ] + } ] + }, { + "value" : [ " version '1.0.0'" ] + } ] + } + } ] + } ] + }, + "contexts" : { + "def" : [ { + "localId" : "211", + "name" : "Patient", + "annotation" : [ ] + } ] + }, + "statements" : { + "def" : [ { + "localId" : "209", + "name" : "Patient", + "context" : "Patient", + "annotation" : [ ], + "expression" : { + "type" : "SingletonFrom", + "localId" : "210", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Retrieve", + "localId" : "208", + "dataType" : "{https://github.com/cqframework/cql-execution/simple}Patient", + "annotation" : [ ], + "include" : [ ], + "codeFilter" : [ ], + "dateFilter" : [ ], + "otherFilter" : [ ] + } + } + }, { + "localId" : "214", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "name" : "Years", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "214", + "s" : [ { + "value" : [ "", "define ", "Years", ": " ] + }, { + "r" : "222", + "s" : [ { + "value" : [ "AgeInYears", "()" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "CalculateAge", + "localId" : "222", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "precision" : "Year", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "223", + "name" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ] + } ], + "operand" : { + "type" : "ToDate", + "localId" : "220", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "221", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } ], + "operand" : { + "type" : "Property", + "localId" : "218", + "path" : "birthDate", + "annotation" : [ ], + "source" : { + "type" : "ExpressionRef", + "localId" : "217", + "name" : "Patient", + "annotation" : [ ] + } } - }, { - "localId" : "238", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "name" : "Weeks", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "238", - "s" : [ { - "value" : [ "","define ","Weeks",": " ] - }, { - "r" : "243", - "s" : [ { - "value" : [ "AgeInWeeks","()" ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "243", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "precision" : "Week", - "type" : "CalculateAge", - "signature" : [ { - "localId" : "244", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "242", - "path" : "birthDate", - "type" : "Property", - "source" : { - "localId" : "241", - "name" : "Patient", - "type" : "ExpressionRef" - } - } + } + } + }, { + "localId" : "226", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "name" : "Months", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "226", + "s" : [ { + "value" : [ "", "define ", "Months", ": " ] + }, { + "r" : "234", + "s" : [ { + "value" : [ "AgeInMonths", "()" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "CalculateAge", + "localId" : "234", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "precision" : "Month", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "235", + "name" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ] + } ], + "operand" : { + "type" : "ToDate", + "localId" : "232", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "233", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } ], + "operand" : { + "type" : "Property", + "localId" : "230", + "path" : "birthDate", + "annotation" : [ ], + "source" : { + "type" : "ExpressionRef", + "localId" : "229", + "name" : "Patient", + "annotation" : [ ] + } } - }, { - "localId" : "247", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "name" : "Days", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "247", - "s" : [ { - "value" : [ "","define ","Days",": " ] - }, { - "r" : "252", - "s" : [ { - "value" : [ "AgeInDays","()" ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "252", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "precision" : "Day", - "type" : "CalculateAge", - "signature" : [ { - "localId" : "253", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "251", - "path" : "birthDate", - "type" : "Property", - "source" : { - "localId" : "250", - "name" : "Patient", - "type" : "ExpressionRef" - } - } + } + } + }, { + "localId" : "238", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "name" : "Weeks", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "238", + "s" : [ { + "value" : [ "", "define ", "Weeks", ": " ] + }, { + "r" : "243", + "s" : [ { + "value" : [ "AgeInWeeks", "()" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "CalculateAge", + "localId" : "243", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "precision" : "Week", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "244", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } ], + "operand" : { + "type" : "Property", + "localId" : "242", + "path" : "birthDate", + "annotation" : [ ], + "source" : { + "type" : "ExpressionRef", + "localId" : "241", + "name" : "Patient", + "annotation" : [ ] } - }, { - "localId" : "256", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "name" : "Hours", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "256", - "s" : [ { - "value" : [ "","define ","Hours",": " ] - }, { - "r" : "261", - "s" : [ { - "value" : [ "AgeInHours","()" ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "261", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "precision" : "Hour", - "type" : "CalculateAge", - "signature" : [ { - "localId" : "262", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "260", - "path" : "birthDate", - "type" : "Property", - "source" : { - "localId" : "259", - "name" : "Patient", - "type" : "ExpressionRef" - } - } + } + } + }, { + "localId" : "247", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "name" : "Days", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "247", + "s" : [ { + "value" : [ "", "define ", "Days", ": " ] + }, { + "r" : "252", + "s" : [ { + "value" : [ "AgeInDays", "()" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "CalculateAge", + "localId" : "252", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "precision" : "Day", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "253", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } ], + "operand" : { + "type" : "Property", + "localId" : "251", + "path" : "birthDate", + "annotation" : [ ], + "source" : { + "type" : "ExpressionRef", + "localId" : "250", + "name" : "Patient", + "annotation" : [ ] } - }, { - "localId" : "265", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "name" : "Minutes", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "265", - "s" : [ { - "value" : [ "","define ","Minutes",": " ] - }, { - "r" : "270", - "s" : [ { - "value" : [ "AgeInMinutes","()" ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "270", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "precision" : "Minute", - "type" : "CalculateAge", - "signature" : [ { - "localId" : "271", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "269", - "path" : "birthDate", - "type" : "Property", - "source" : { - "localId" : "268", - "name" : "Patient", - "type" : "ExpressionRef" - } - } + } + } + }, { + "localId" : "256", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "name" : "Hours", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "256", + "s" : [ { + "value" : [ "", "define ", "Hours", ": " ] + }, { + "r" : "261", + "s" : [ { + "value" : [ "AgeInHours", "()" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "CalculateAge", + "localId" : "261", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "precision" : "Hour", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "262", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } ], + "operand" : { + "type" : "Property", + "localId" : "260", + "path" : "birthDate", + "annotation" : [ ], + "source" : { + "type" : "ExpressionRef", + "localId" : "259", + "name" : "Patient", + "annotation" : [ ] } - }, { - "localId" : "274", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "name" : "Seconds", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "274", - "s" : [ { - "value" : [ "","define ","Seconds",": " ] - }, { - "r" : "279", - "s" : [ { - "value" : [ "AgeInSeconds","()" ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "279", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "precision" : "Second", - "type" : "CalculateAge", - "signature" : [ { - "localId" : "280", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "278", - "path" : "birthDate", - "type" : "Property", - "source" : { - "localId" : "277", - "name" : "Patient", - "type" : "ExpressionRef" - } - } + } + } + }, { + "localId" : "265", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "name" : "Minutes", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "265", + "s" : [ { + "value" : [ "", "define ", "Minutes", ": " ] + }, { + "r" : "270", + "s" : [ { + "value" : [ "AgeInMinutes", "()" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "CalculateAge", + "localId" : "270", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "precision" : "Minute", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "271", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } ], + "operand" : { + "type" : "Property", + "localId" : "269", + "path" : "birthDate", + "annotation" : [ ], + "source" : { + "type" : "ExpressionRef", + "localId" : "268", + "name" : "Patient", + "annotation" : [ ] } - } ] - } - } + } + } + }, { + "localId" : "274", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "name" : "Seconds", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "274", + "s" : [ { + "value" : [ "", "define ", "Seconds", ": " ] + }, { + "r" : "279", + "s" : [ { + "value" : [ "AgeInSeconds", "()" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "CalculateAge", + "localId" : "279", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "precision" : "Second", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "280", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } ], + "operand" : { + "type" : "Property", + "localId" : "278", + "path" : "birthDate", + "annotation" : [ ], + "source" : { + "type" : "ExpressionRef", + "localId" : "277", + "name" : "Patient", + "annotation" : [ ] + } + } + } + } ] + } + } } /* CalculateAge: Date-Only Birth Date as Date on Today @@ -7599,390 +8352,436 @@ define Seconds: AgeInSeconds() */ module.exports['CalculateAge: Date-Only Birth Date as Date on Today'] = { - "library" : { - "localId" : "0", - "annotation" : [ { - "translatorVersion" : "3.27.0", - "translatorOptions" : "EnableDateRangeOptimization,EnableAnnotations,EnableResultTypes", - "signatureLevel" : "All", - "type" : "CqlToElmInfo" - }, { - "type" : "Annotation", - "s" : { - "r" : "274", + "library" : { + "localId" : "0", + "annotation" : [ { + "type" : "CqlToElmInfo", + "translatorVersion" : "4.2.0", + "translatorOptions" : "EnableDateRangeOptimization,EnableAnnotations,EnableResultTypes", + "signatureLevel" : "All" + }, { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "274", + "s" : [ { + "value" : [ "", "library TestSnippet version '1'" ] + } ] + } + } ], + "identifier" : { + "id" : "TestSnippet", + "version" : "1" + }, + "schemaIdentifier" : { + "id" : "urn:hl7-org:elm", + "version" : "r1" + }, + "usings" : { + "def" : [ { + "localId" : "1", + "localIdentifier" : "System", + "uri" : "urn:hl7-org:elm-types:r1", + "annotation" : [ ] + }, { + "localId" : "206", + "localIdentifier" : "Simple", + "uri" : "https://github.com/cqframework/cql-execution/simple", + "version" : "1.0.0", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "206", "s" : [ { - "value" : [ "","library TestSnippet version '1'" ] - } ] - } - } ], - "identifier" : { - "id" : "TestSnippet", - "version" : "1" - }, - "schemaIdentifier" : { - "id" : "urn:hl7-org:elm", - "version" : "r1" - }, - "usings" : { - "def" : [ { - "localId" : "1", - "localIdentifier" : "System", - "uri" : "urn:hl7-org:elm-types:r1" - }, { - "localId" : "206", - "localIdentifier" : "Simple", - "uri" : "https://github.com/cqframework/cql-execution/simple", - "version" : "1.0.0", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "206", - "s" : [ { - "value" : [ "","using " ] - }, { - "s" : [ { - "value" : [ "Simple" ] - } ] - }, { - "value" : [ " version '1.0.0'" ] - } ] - } - } ] - } ] - }, - "contexts" : { - "def" : [ { - "localId" : "211", - "name" : "Patient" - } ] - }, - "statements" : { - "def" : [ { - "localId" : "209", - "name" : "Patient", - "context" : "Patient", - "expression" : { - "localId" : "210", - "type" : "SingletonFrom", - "signature" : [ ], - "operand" : { - "localId" : "208", - "dataType" : "{https://github.com/cqframework/cql-execution/simple}Patient", - "type" : "Retrieve", - "include" : [ ], - "codeFilter" : [ ], - "dateFilter" : [ ], - "otherFilter" : [ ] - } - } - }, { - "localId" : "214", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "name" : "Years", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "214", - "s" : [ { - "value" : [ "","define ","Years",": " ] - }, { - "r" : "222", - "s" : [ { - "value" : [ "AgeInYears","()" ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "222", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "precision" : "Year", - "type" : "CalculateAge", - "signature" : [ { - "localId" : "223", - "name" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "220", - "type" : "ToDate", - "signature" : [ { - "localId" : "221", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "218", - "path" : "birthDate", - "type" : "Property", - "source" : { - "localId" : "217", - "name" : "Patient", - "type" : "ExpressionRef" - } - } - } + "value" : [ "", "using " ] + }, { + "s" : [ { + "value" : [ "Simple" ] + } ] + }, { + "value" : [ " version '1.0.0'" ] + } ] + } + } ] + } ] + }, + "contexts" : { + "def" : [ { + "localId" : "211", + "name" : "Patient", + "annotation" : [ ] + } ] + }, + "statements" : { + "def" : [ { + "localId" : "209", + "name" : "Patient", + "context" : "Patient", + "annotation" : [ ], + "expression" : { + "type" : "SingletonFrom", + "localId" : "210", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Retrieve", + "localId" : "208", + "dataType" : "{https://github.com/cqframework/cql-execution/simple}Patient", + "annotation" : [ ], + "include" : [ ], + "codeFilter" : [ ], + "dateFilter" : [ ], + "otherFilter" : [ ] + } + } + }, { + "localId" : "214", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "name" : "Years", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "214", + "s" : [ { + "value" : [ "", "define ", "Years", ": " ] + }, { + "r" : "222", + "s" : [ { + "value" : [ "AgeInYears", "()" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "CalculateAge", + "localId" : "222", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "precision" : "Year", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "223", + "name" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ] + } ], + "operand" : { + "type" : "ToDate", + "localId" : "220", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "221", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } ], + "operand" : { + "type" : "Property", + "localId" : "218", + "path" : "birthDate", + "annotation" : [ ], + "source" : { + "type" : "ExpressionRef", + "localId" : "217", + "name" : "Patient", + "annotation" : [ ] + } } - }, { - "localId" : "226", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "name" : "Months", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "226", - "s" : [ { - "value" : [ "","define ","Months",": " ] - }, { - "r" : "234", - "s" : [ { - "value" : [ "AgeInMonths","()" ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "234", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "precision" : "Month", - "type" : "CalculateAge", - "signature" : [ { - "localId" : "235", - "name" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "232", - "type" : "ToDate", - "signature" : [ { - "localId" : "233", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "230", - "path" : "birthDate", - "type" : "Property", - "source" : { - "localId" : "229", - "name" : "Patient", - "type" : "ExpressionRef" - } - } - } + } + } + }, { + "localId" : "226", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "name" : "Months", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "226", + "s" : [ { + "value" : [ "", "define ", "Months", ": " ] + }, { + "r" : "234", + "s" : [ { + "value" : [ "AgeInMonths", "()" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "CalculateAge", + "localId" : "234", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "precision" : "Month", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "235", + "name" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ] + } ], + "operand" : { + "type" : "ToDate", + "localId" : "232", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "233", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } ], + "operand" : { + "type" : "Property", + "localId" : "230", + "path" : "birthDate", + "annotation" : [ ], + "source" : { + "type" : "ExpressionRef", + "localId" : "229", + "name" : "Patient", + "annotation" : [ ] + } } - }, { - "localId" : "238", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "name" : "Weeks", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "238", - "s" : [ { - "value" : [ "","define ","Weeks",": " ] - }, { - "r" : "243", - "s" : [ { - "value" : [ "AgeInWeeks","()" ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "243", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "precision" : "Week", - "type" : "CalculateAge", - "signature" : [ { - "localId" : "244", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "242", - "path" : "birthDate", - "type" : "Property", - "source" : { - "localId" : "241", - "name" : "Patient", - "type" : "ExpressionRef" - } - } + } + } + }, { + "localId" : "238", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "name" : "Weeks", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "238", + "s" : [ { + "value" : [ "", "define ", "Weeks", ": " ] + }, { + "r" : "243", + "s" : [ { + "value" : [ "AgeInWeeks", "()" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "CalculateAge", + "localId" : "243", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "precision" : "Week", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "244", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } ], + "operand" : { + "type" : "Property", + "localId" : "242", + "path" : "birthDate", + "annotation" : [ ], + "source" : { + "type" : "ExpressionRef", + "localId" : "241", + "name" : "Patient", + "annotation" : [ ] } - }, { - "localId" : "247", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "name" : "Days", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "247", - "s" : [ { - "value" : [ "","define ","Days",": " ] - }, { - "r" : "252", - "s" : [ { - "value" : [ "AgeInDays","()" ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "252", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "precision" : "Day", - "type" : "CalculateAge", - "signature" : [ { - "localId" : "253", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "251", - "path" : "birthDate", - "type" : "Property", - "source" : { - "localId" : "250", - "name" : "Patient", - "type" : "ExpressionRef" - } - } + } + } + }, { + "localId" : "247", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "name" : "Days", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "247", + "s" : [ { + "value" : [ "", "define ", "Days", ": " ] + }, { + "r" : "252", + "s" : [ { + "value" : [ "AgeInDays", "()" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "CalculateAge", + "localId" : "252", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "precision" : "Day", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "253", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } ], + "operand" : { + "type" : "Property", + "localId" : "251", + "path" : "birthDate", + "annotation" : [ ], + "source" : { + "type" : "ExpressionRef", + "localId" : "250", + "name" : "Patient", + "annotation" : [ ] } - }, { - "localId" : "256", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "name" : "Hours", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "256", - "s" : [ { - "value" : [ "","define ","Hours",": " ] - }, { - "r" : "261", - "s" : [ { - "value" : [ "AgeInHours","()" ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "261", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "precision" : "Hour", - "type" : "CalculateAge", - "signature" : [ { - "localId" : "262", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "260", - "path" : "birthDate", - "type" : "Property", - "source" : { - "localId" : "259", - "name" : "Patient", - "type" : "ExpressionRef" - } - } + } + } + }, { + "localId" : "256", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "name" : "Hours", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "256", + "s" : [ { + "value" : [ "", "define ", "Hours", ": " ] + }, { + "r" : "261", + "s" : [ { + "value" : [ "AgeInHours", "()" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "CalculateAge", + "localId" : "261", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "precision" : "Hour", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "262", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } ], + "operand" : { + "type" : "Property", + "localId" : "260", + "path" : "birthDate", + "annotation" : [ ], + "source" : { + "type" : "ExpressionRef", + "localId" : "259", + "name" : "Patient", + "annotation" : [ ] } - }, { - "localId" : "265", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "name" : "Minutes", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "265", - "s" : [ { - "value" : [ "","define ","Minutes",": " ] - }, { - "r" : "270", - "s" : [ { - "value" : [ "AgeInMinutes","()" ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "270", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "precision" : "Minute", - "type" : "CalculateAge", - "signature" : [ { - "localId" : "271", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "269", - "path" : "birthDate", - "type" : "Property", - "source" : { - "localId" : "268", - "name" : "Patient", - "type" : "ExpressionRef" - } - } + } + } + }, { + "localId" : "265", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "name" : "Minutes", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "265", + "s" : [ { + "value" : [ "", "define ", "Minutes", ": " ] + }, { + "r" : "270", + "s" : [ { + "value" : [ "AgeInMinutes", "()" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "CalculateAge", + "localId" : "270", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "precision" : "Minute", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "271", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } ], + "operand" : { + "type" : "Property", + "localId" : "269", + "path" : "birthDate", + "annotation" : [ ], + "source" : { + "type" : "ExpressionRef", + "localId" : "268", + "name" : "Patient", + "annotation" : [ ] } - }, { - "localId" : "274", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "name" : "Seconds", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "274", - "s" : [ { - "value" : [ "","define ","Seconds",": " ] - }, { - "r" : "279", - "s" : [ { - "value" : [ "AgeInSeconds","()" ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "279", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "precision" : "Second", - "type" : "CalculateAge", - "signature" : [ { - "localId" : "280", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "278", - "path" : "birthDate", - "type" : "Property", - "source" : { - "localId" : "277", - "name" : "Patient", - "type" : "ExpressionRef" - } - } + } + } + }, { + "localId" : "274", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "name" : "Seconds", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "274", + "s" : [ { + "value" : [ "", "define ", "Seconds", ": " ] + }, { + "r" : "279", + "s" : [ { + "value" : [ "AgeInSeconds", "()" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "CalculateAge", + "localId" : "279", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "precision" : "Second", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "280", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } ], + "operand" : { + "type" : "Property", + "localId" : "278", + "path" : "birthDate", + "annotation" : [ ], + "source" : { + "type" : "ExpressionRef", + "localId" : "277", + "name" : "Patient", + "annotation" : [ ] } - } ] - } - } + } + } + } ] + } + } } /* CalculateAgeAt @@ -8001,984 +8800,1122 @@ define AgeAtJanuary1DateArg: AgeInYearsAt(Date(2024, 1, 1)) */ module.exports['CalculateAgeAt'] = { - "library" : { - "localId" : "0", - "annotation" : [ { - "translatorVersion" : "3.27.0", - "translatorOptions" : "EnableDateRangeOptimization,EnableAnnotations,EnableResultTypes", - "signatureLevel" : "All", - "type" : "CqlToElmInfo" - }, { - "type" : "Annotation", - "s" : { - "r" : "395", + "library" : { + "localId" : "0", + "annotation" : [ { + "type" : "CqlToElmInfo", + "translatorVersion" : "4.2.0", + "translatorOptions" : "EnableDateRangeOptimization,EnableAnnotations,EnableResultTypes", + "signatureLevel" : "All" + }, { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "395", + "s" : [ { + "value" : [ "", "library TestSnippet version '1'" ] + } ] + } + } ], + "identifier" : { + "id" : "TestSnippet", + "version" : "1" + }, + "schemaIdentifier" : { + "id" : "urn:hl7-org:elm", + "version" : "r1" + }, + "usings" : { + "def" : [ { + "localId" : "1", + "localIdentifier" : "System", + "uri" : "urn:hl7-org:elm-types:r1", + "annotation" : [ ] + }, { + "localId" : "206", + "localIdentifier" : "Simple", + "uri" : "https://github.com/cqframework/cql-execution/simple", + "version" : "1.0.0", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "206", "s" : [ { - "value" : [ "","library TestSnippet version '1'" ] - } ] - } - } ], - "identifier" : { - "id" : "TestSnippet", - "version" : "1" - }, - "schemaIdentifier" : { - "id" : "urn:hl7-org:elm", - "version" : "r1" - }, - "usings" : { - "def" : [ { - "localId" : "1", - "localIdentifier" : "System", - "uri" : "urn:hl7-org:elm-types:r1" - }, { - "localId" : "206", - "localIdentifier" : "Simple", - "uri" : "https://github.com/cqframework/cql-execution/simple", - "version" : "1.0.0", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "206", - "s" : [ { - "value" : [ "","using " ] - }, { - "s" : [ { - "value" : [ "Simple" ] - } ] - }, { - "value" : [ " version '1.0.0'" ] - } ] - } - } ] - } ] - }, - "contexts" : { - "def" : [ { - "localId" : "211", - "name" : "Patient" - } ] - }, - "statements" : { - "def" : [ { - "localId" : "209", - "name" : "Patient", - "context" : "Patient", - "expression" : { - "localId" : "210", - "type" : "SingletonFrom", - "signature" : [ ], - "operand" : { - "localId" : "208", - "dataType" : "{https://github.com/cqframework/cql-execution/simple}Patient", - "type" : "Retrieve", - "include" : [ ], - "codeFilter" : [ ], - "dateFilter" : [ ], - "otherFilter" : [ ] - } + "value" : [ "", "using " ] + }, { + "s" : [ { + "value" : [ "Simple" ] + } ] + }, { + "value" : [ " version '1.0.0'" ] + } ] + } + } ] + } ] + }, + "contexts" : { + "def" : [ { + "localId" : "211", + "name" : "Patient", + "annotation" : [ ] + } ] + }, + "statements" : { + "def" : [ { + "localId" : "209", + "name" : "Patient", + "context" : "Patient", + "annotation" : [ ], + "expression" : { + "type" : "SingletonFrom", + "localId" : "210", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Retrieve", + "localId" : "208", + "dataType" : "{https://github.com/cqframework/cql-execution/simple}Patient", + "annotation" : [ ], + "include" : [ ], + "codeFilter" : [ ], + "dateFilter" : [ ], + "otherFilter" : [ ] + } + } + }, { + "localId" : "214", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "name" : "AgeAt2012", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "214", + "s" : [ { + "value" : [ "", "define ", "AgeAt2012", ": " ] + }, { + "r" : "225", + "s" : [ { + "value" : [ "AgeInYearsAt", "(" ] + }, { + "r" : "219", + "s" : [ { + "r" : "215", + "value" : [ "DateTime", "(", "2012", ")" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "CalculateAgeAt", + "localId" : "225", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "precision" : "Year", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "226", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "227", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "Property", + "localId" : "224", + "path" : "birthDate", + "annotation" : [ ], + "source" : { + "type" : "ExpressionRef", + "localId" : "223", + "name" : "Patient", + "annotation" : [ ] } - }, { - "localId" : "214", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "name" : "AgeAt2012", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "214", - "s" : [ { - "value" : [ "","define ","AgeAt2012",": " ] - }, { - "r" : "225", - "s" : [ { - "value" : [ "AgeInYearsAt","(" ] - }, { - "r" : "219", - "s" : [ { - "r" : "215", - "value" : [ "DateTime","(","2012",")" ] - } ] - }, { - "value" : [ ")" ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "225", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "precision" : "Year", - "type" : "CalculateAgeAt", - "signature" : [ { - "localId" : "226", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "227", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "224", - "path" : "birthDate", - "type" : "Property", - "source" : { - "localId" : "223", - "name" : "Patient", - "type" : "ExpressionRef" - } - }, { - "localId" : "219", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "220", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "215", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - } - } ] + }, { + "type" : "DateTime", + "localId" : "219", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "220", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "215", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] } - }, { - "localId" : "230", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "name" : "AgeAt19810216", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "230", - "s" : [ { - "value" : [ "","define ","AgeAt19810216",": " ] - }, { - "r" : "247", - "s" : [ { - "value" : [ "AgeInYearsAt","(" ] - }, { - "r" : "239", - "s" : [ { - "r" : "231", - "value" : [ "DateTime","(","1981",", ","2",", ","16",")" ] - } ] - }, { - "value" : [ ")" ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "247", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "precision" : "Year", - "type" : "CalculateAgeAt", - "signature" : [ { - "localId" : "248", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "249", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "246", - "path" : "birthDate", - "type" : "Property", - "source" : { - "localId" : "245", - "name" : "Patient", - "type" : "ExpressionRef" - } - }, { - "localId" : "239", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "240", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "241", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "242", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "231", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1981", - "type" : "Literal" - }, - "month" : { - "localId" : "232", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal" - }, - "day" : { - "localId" : "233", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "16", - "type" : "Literal" - } - } ] + } ] + } + }, { + "localId" : "230", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "name" : "AgeAt19810216", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "230", + "s" : [ { + "value" : [ "", "define ", "AgeAt19810216", ": " ] + }, { + "r" : "247", + "s" : [ { + "value" : [ "AgeInYearsAt", "(" ] + }, { + "r" : "239", + "s" : [ { + "r" : "231", + "value" : [ "DateTime", "(", "1981", ", ", "2", ", ", "16", ")" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "CalculateAgeAt", + "localId" : "247", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "precision" : "Year", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "248", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "249", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "Property", + "localId" : "246", + "path" : "birthDate", + "annotation" : [ ], + "source" : { + "type" : "ExpressionRef", + "localId" : "245", + "name" : "Patient", + "annotation" : [ ] } - }, { - "localId" : "252", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "name" : "AgeAt1975", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "252", - "s" : [ { - "value" : [ "","define ","AgeAt1975",": " ] - }, { - "r" : "263", - "s" : [ { - "value" : [ "AgeInYearsAt","(" ] - }, { - "r" : "257", - "s" : [ { - "r" : "253", - "value" : [ "DateTime","(","1975",")" ] - } ] - }, { - "value" : [ ")" ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "263", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "precision" : "Year", - "type" : "CalculateAgeAt", - "signature" : [ { - "localId" : "264", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "265", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "262", - "path" : "birthDate", - "type" : "Property", - "source" : { - "localId" : "261", - "name" : "Patient", - "type" : "ExpressionRef" - } - }, { - "localId" : "257", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "258", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "253", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1975", - "type" : "Literal" - } - } ] + }, { + "type" : "DateTime", + "localId" : "239", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "240", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "241", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "242", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "231", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1981", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "232", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "233", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "16", + "annotation" : [ ] } - }, { - "localId" : "268", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "name" : "AgeInYearsDateTimeArg", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "268", - "s" : [ { - "value" : [ "","define ","AgeInYearsDateTimeArg",": " ] - }, { - "r" : "285", - "s" : [ { - "value" : [ "AgeInYearsAt","(" ] - }, { - "r" : "277", - "s" : [ { - "r" : "269", - "value" : [ "DateTime","(","2012",", ","12",", ","1",")" ] - } ] - }, { - "value" : [ ")" ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "285", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "precision" : "Year", - "type" : "CalculateAgeAt", - "signature" : [ { - "localId" : "286", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "287", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "284", - "path" : "birthDate", - "type" : "Property", - "source" : { - "localId" : "283", - "name" : "Patient", - "type" : "ExpressionRef" - } - }, { - "localId" : "277", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "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" - }, { - "localId" : "280", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "269", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "270", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "12", - "type" : "Literal" - }, - "day" : { - "localId" : "271", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - } - } ] + } ] + } + }, { + "localId" : "252", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "name" : "AgeAt1975", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "252", + "s" : [ { + "value" : [ "", "define ", "AgeAt1975", ": " ] + }, { + "r" : "263", + "s" : [ { + "value" : [ "AgeInYearsAt", "(" ] + }, { + "r" : "257", + "s" : [ { + "r" : "253", + "value" : [ "DateTime", "(", "1975", ")" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "CalculateAgeAt", + "localId" : "263", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "precision" : "Year", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "264", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "265", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "Property", + "localId" : "262", + "path" : "birthDate", + "annotation" : [ ], + "source" : { + "type" : "ExpressionRef", + "localId" : "261", + "name" : "Patient", + "annotation" : [ ] } - }, { - "localId" : "290", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "name" : "CalculateAgeInYearsDateTimeArg", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "290", - "s" : [ { - "value" : [ "","define ","CalculateAgeInYearsDateTimeArg",": " ] - }, { - "r" : "314", - "s" : [ { - "r" : "291", - "value" : [ "CalculateAgeInYearsAt","(","@1994-12-01T23:59:00.000+00:00",", " ] - }, { - "r" : "308", - "s" : [ { - "r" : "300", - "value" : [ "DateTime","(","2012",", ","12",", ","1",")" ] - } ] - }, { - "value" : [ ")" ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "314", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "precision" : "Year", - "type" : "CalculateAgeAt", - "signature" : [ { - "localId" : "315", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "316", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "291", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ ], - "year" : { - "localId" : "292", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1994", - "type" : "Literal" - }, - "month" : { - "localId" : "293", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "12", - "type" : "Literal" - }, - "day" : { - "localId" : "294", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "295", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "23", - "type" : "Literal" - }, - "minute" : { - "localId" : "296", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal" - }, - "second" : { - "localId" : "297", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "298", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "timezoneOffset" : { - "localId" : "299", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "0.0", - "type" : "Literal" - } - }, { - "localId" : "308", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "309", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "310", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "311", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "300", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "301", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "12", - "type" : "Literal" - }, - "day" : { - "localId" : "302", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - } - } ] + }, { + "type" : "DateTime", + "localId" : "257", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "258", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "253", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1975", + "annotation" : [ ] } - }, { - "localId" : "319", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "name" : "AgeInYearsDateArg", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "319", - "s" : [ { - "value" : [ "","define ","AgeInYearsDateArg",": " ] - }, { - "r" : "339", - "s" : [ { - "value" : [ "AgeInYearsAt","(" ] - }, { - "r" : "328", - "s" : [ { - "r" : "320", - "value" : [ "Date","(","2012",", ","12",", ","1",")" ] - } ] - }, { - "value" : [ ")" ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "339", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "precision" : "Year", - "type" : "CalculateAgeAt", - "signature" : [ { - "localId" : "340", - "name" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "341", - "name" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "337", - "type" : "ToDate", - "signature" : [ { - "localId" : "338", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "335", - "path" : "birthDate", - "type" : "Property", - "source" : { - "localId" : "334", - "name" : "Patient", - "type" : "ExpressionRef" - } - } - }, { - "localId" : "328", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "Date", - "signature" : [ { - "localId" : "329", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "330", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "331", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "320", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "321", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "12", - "type" : "Literal" - }, - "day" : { - "localId" : "322", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - } - } ] + } ] + } + }, { + "localId" : "268", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "name" : "AgeInYearsDateTimeArg", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "268", + "s" : [ { + "value" : [ "", "define ", "AgeInYearsDateTimeArg", ": " ] + }, { + "r" : "285", + "s" : [ { + "value" : [ "AgeInYearsAt", "(" ] + }, { + "r" : "277", + "s" : [ { + "r" : "269", + "value" : [ "DateTime", "(", "2012", ", ", "12", ", ", "1", ")" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "CalculateAgeAt", + "localId" : "285", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "precision" : "Year", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "286", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "287", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "Property", + "localId" : "284", + "path" : "birthDate", + "annotation" : [ ], + "source" : { + "type" : "ExpressionRef", + "localId" : "283", + "name" : "Patient", + "annotation" : [ ] } - }, { - "localId" : "344", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "name" : "CalculateAgeInYearsDateArg", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "344", - "s" : [ { - "value" : [ "","define ","CalculateAgeInYearsDateArg",": " ] - }, { - "r" : "368", - "s" : [ { - "r" : "345", - "value" : [ "CalculateAgeInYearsAt","(","@1994-12-01T23:59:00.000+00:00",", " ] - }, { - "r" : "362", - "s" : [ { - "r" : "354", - "value" : [ "Date","(","2012",", ","12",", ","1",")" ] - } ] - }, { - "value" : [ ")" ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "368", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "precision" : "Year", - "type" : "CalculateAgeAt", - "signature" : [ { - "localId" : "372", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "373", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "345", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ ], - "year" : { - "localId" : "346", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1994", - "type" : "Literal" - }, - "month" : { - "localId" : "347", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "12", - "type" : "Literal" - }, - "day" : { - "localId" : "348", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "349", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "23", - "type" : "Literal" - }, - "minute" : { - "localId" : "350", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal" - }, - "second" : { - "localId" : "351", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "352", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "timezoneOffset" : { - "localId" : "353", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "0.0", - "type" : "Literal" - } - }, { - "localId" : "370", - "type" : "ToDateTime", - "signature" : [ { - "localId" : "371", - "name" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "362", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "Date", - "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" - }, { - "localId" : "365", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "354", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "355", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "12", - "type" : "Literal" - }, - "day" : { - "localId" : "356", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - } - } - } ] + }, { + "type" : "DateTime", + "localId" : "277", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "278", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "279", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "280", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "269", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "270", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "12", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "271", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] } - }, { - "localId" : "376", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "name" : "AgeAtJanuary1DateTimeArg", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "376", - "s" : [ { - "value" : [ "","define ","AgeAtJanuary1DateTimeArg",": " ] - }, { - "r" : "390", - "s" : [ { - "r" : "377", - "value" : [ "AgeInYearsAt","(","@2024-01-01T00:00:00.000+00:00",")" ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "390", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "precision" : "Year", - "type" : "CalculateAgeAt", - "signature" : [ { - "localId" : "391", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "392", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "389", - "path" : "birthDate", - "type" : "Property", - "source" : { - "localId" : "388", - "name" : "Patient", - "type" : "ExpressionRef" - } - }, { - "localId" : "377", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ ], - "year" : { - "localId" : "378", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2024", - "type" : "Literal" - }, - "month" : { - "localId" : "379", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "380", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "381", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "382", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "383", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "384", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "timezoneOffset" : { - "localId" : "385", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "0.0", - "type" : "Literal" - } - } ] + } ] + } + }, { + "localId" : "290", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "name" : "CalculateAgeInYearsDateTimeArg", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "290", + "s" : [ { + "value" : [ "", "define ", "CalculateAgeInYearsDateTimeArg", ": " ] + }, { + "r" : "314", + "s" : [ { + "r" : "291", + "value" : [ "CalculateAgeInYearsAt", "(", "@1994-12-01T23:59:00.000+00:00", ", " ] + }, { + "r" : "308", + "s" : [ { + "r" : "300", + "value" : [ "DateTime", "(", "2012", ", ", "12", ", ", "1", ")" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "CalculateAgeAt", + "localId" : "314", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "precision" : "Year", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "315", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "316", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "DateTime", + "localId" : "291", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ ], + "year" : { + "type" : "Literal", + "localId" : "292", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1994", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "293", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "12", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "294", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "295", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "23", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "296", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "59", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "297", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "298", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "timezoneOffset" : { + "type" : "Literal", + "localId" : "299", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "0.0", + "annotation" : [ ] } - }, { - "localId" : "395", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "name" : "AgeAtJanuary1DateArg", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "395", - "s" : [ { - "value" : [ "","define ","AgeAtJanuary1DateArg",": " ] - }, { - "r" : "415", - "s" : [ { - "value" : [ "AgeInYearsAt","(" ] - }, { - "r" : "404", - "s" : [ { - "r" : "396", - "value" : [ "Date","(","2024",", ","1",", ","1",")" ] - } ] - }, { - "value" : [ ")" ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "415", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "precision" : "Year", - "type" : "CalculateAgeAt", - "signature" : [ { - "localId" : "416", - "name" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "417", - "name" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "413", - "type" : "ToDate", - "signature" : [ { - "localId" : "414", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "411", - "path" : "birthDate", - "type" : "Property", - "source" : { - "localId" : "410", - "name" : "Patient", - "type" : "ExpressionRef" - } - } - }, { - "localId" : "404", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "Date", - "signature" : [ { - "localId" : "405", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "406", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "407", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "396", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2024", - "type" : "Literal" - }, - "month" : { - "localId" : "397", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "398", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - } - } ] + }, { + "type" : "DateTime", + "localId" : "308", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "309", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "310", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "311", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "300", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "301", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "12", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "302", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] } - } ] - } - } + } ] + } + }, { + "localId" : "319", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "name" : "AgeInYearsDateArg", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "319", + "s" : [ { + "value" : [ "", "define ", "AgeInYearsDateArg", ": " ] + }, { + "r" : "339", + "s" : [ { + "value" : [ "AgeInYearsAt", "(" ] + }, { + "r" : "328", + "s" : [ { + "r" : "320", + "value" : [ "Date", "(", "2012", ", ", "12", ", ", "1", ")" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "CalculateAgeAt", + "localId" : "339", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "precision" : "Year", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "340", + "name" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "341", + "name" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "ToDate", + "localId" : "337", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "338", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } ], + "operand" : { + "type" : "Property", + "localId" : "335", + "path" : "birthDate", + "annotation" : [ ], + "source" : { + "type" : "ExpressionRef", + "localId" : "334", + "name" : "Patient", + "annotation" : [ ] + } + } + }, { + "type" : "Date", + "localId" : "328", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "329", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "330", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "331", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "320", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "321", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "12", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "322", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + } + } ] + } + }, { + "localId" : "344", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "name" : "CalculateAgeInYearsDateArg", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "344", + "s" : [ { + "value" : [ "", "define ", "CalculateAgeInYearsDateArg", ": " ] + }, { + "r" : "368", + "s" : [ { + "r" : "345", + "value" : [ "CalculateAgeInYearsAt", "(", "@1994-12-01T23:59:00.000+00:00", ", " ] + }, { + "r" : "362", + "s" : [ { + "r" : "354", + "value" : [ "Date", "(", "2012", ", ", "12", ", ", "1", ")" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "CalculateAgeAt", + "localId" : "368", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "precision" : "Year", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "372", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "373", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "DateTime", + "localId" : "345", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ ], + "year" : { + "type" : "Literal", + "localId" : "346", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1994", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "347", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "12", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "348", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "349", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "23", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "350", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "59", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "351", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "352", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "timezoneOffset" : { + "type" : "Literal", + "localId" : "353", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "0.0", + "annotation" : [ ] + } + }, { + "type" : "ToDateTime", + "localId" : "370", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "371", + "name" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ] + } ], + "operand" : { + "type" : "Date", + "localId" : "362", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "363", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "364", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "365", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "354", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "355", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "12", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "356", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + } + } + } ] + } + }, { + "localId" : "376", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "name" : "AgeAtJanuary1DateTimeArg", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "376", + "s" : [ { + "value" : [ "", "define ", "AgeAtJanuary1DateTimeArg", ": " ] + }, { + "r" : "390", + "s" : [ { + "r" : "377", + "value" : [ "AgeInYearsAt", "(", "@2024-01-01T00:00:00.000+00:00", ")" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "CalculateAgeAt", + "localId" : "390", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "precision" : "Year", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "391", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "392", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "Property", + "localId" : "389", + "path" : "birthDate", + "annotation" : [ ], + "source" : { + "type" : "ExpressionRef", + "localId" : "388", + "name" : "Patient", + "annotation" : [ ] + } + }, { + "type" : "DateTime", + "localId" : "377", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ ], + "year" : { + "type" : "Literal", + "localId" : "378", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2024", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "379", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "380", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "381", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "382", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "383", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "384", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "timezoneOffset" : { + "type" : "Literal", + "localId" : "385", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "0.0", + "annotation" : [ ] + } + } ] + } + }, { + "localId" : "395", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "name" : "AgeAtJanuary1DateArg", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "395", + "s" : [ { + "value" : [ "", "define ", "AgeAtJanuary1DateArg", ": " ] + }, { + "r" : "415", + "s" : [ { + "value" : [ "AgeInYearsAt", "(" ] + }, { + "r" : "404", + "s" : [ { + "r" : "396", + "value" : [ "Date", "(", "2024", ", ", "1", ", ", "1", ")" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "CalculateAgeAt", + "localId" : "415", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "precision" : "Year", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "416", + "name" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "417", + "name" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "ToDate", + "localId" : "413", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "414", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } ], + "operand" : { + "type" : "Property", + "localId" : "411", + "path" : "birthDate", + "annotation" : [ ], + "source" : { + "type" : "ExpressionRef", + "localId" : "410", + "name" : "Patient", + "annotation" : [ ] + } + } + }, { + "type" : "Date", + "localId" : "404", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "405", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "406", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "407", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "396", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2024", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "397", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "398", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + } + } ] + } + } ] + } + } } diff --git a/test/elm/comparison/data.js b/test/elm/comparison/data.js index 309529e3..3c5b1d4e 100644 --- a/test/elm/comparison/data.js +++ b/test/elm/comparison/data.js @@ -55,5740 +55,6559 @@ define UneqRatios: 10 'mg' : 2 'dL' = 15 'mg' : 4 'dL' */ module.exports['Equal'] = { - "library" : { - "localId" : "0", - "annotation" : [ { - "translatorVersion" : "3.27.0", - "translatorOptions" : "EnableDateRangeOptimization,EnableAnnotations,EnableResultTypes", - "signatureLevel" : "All", - "type" : "CqlToElmInfo" + "library" : { + "localId" : "0", + "annotation" : [ { + "type" : "CqlToElmInfo", + "translatorVersion" : "4.2.0", + "translatorOptions" : "EnableDateRangeOptimization,EnableAnnotations,EnableResultTypes", + "signatureLevel" : "All" + }, { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "1359", + "s" : [ { + "value" : [ "", "library TestSnippet version '1'" ] + } ] + } + } ], + "identifier" : { + "id" : "TestSnippet", + "version" : "1" + }, + "schemaIdentifier" : { + "id" : "urn:hl7-org:elm", + "version" : "r1" + }, + "usings" : { + "def" : [ { + "localId" : "1", + "localIdentifier" : "System", + "uri" : "urn:hl7-org:elm-types:r1", + "annotation" : [ ] }, { - "type" : "Annotation", - "s" : { - "r" : "1359", + "localId" : "206", + "localIdentifier" : "Simple", + "uri" : "https://github.com/cqframework/cql-execution/simple", + "version" : "1.0.0", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "206", + "s" : [ { + "value" : [ "", "using " ] + }, { + "s" : [ { + "value" : [ "Simple" ] + } ] + }, { + "value" : [ " version '1.0.0'" ] + } ] + } + } ] + } ] + }, + "contexts" : { + "def" : [ { + "localId" : "211", + "name" : "Patient", + "annotation" : [ ] + } ] + }, + "statements" : { + "def" : [ { + "localId" : "209", + "name" : "Patient", + "context" : "Patient", + "annotation" : [ ], + "expression" : { + "type" : "SingletonFrom", + "localId" : "210", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Retrieve", + "localId" : "208", + "dataType" : "{https://github.com/cqframework/cql-execution/simple}Patient", + "annotation" : [ ], + "include" : [ ], + "codeFilter" : [ ], + "dateFilter" : [ ], + "otherFilter" : [ ] + } + } + }, { + "localId" : "214", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "AGtB_Int", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "214", + "s" : [ { + "value" : [ "", "define ", "AGtB_Int", ": " ] + }, { + "r" : "215", + "s" : [ { + "r" : "216", + "value" : [ "5", " ", "=", " ", "4" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Equal", + "localId" : "215", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "218", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "219", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "Literal", + "localId" : "216", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "5", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "217", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "4", + "annotation" : [ ] + } ] + } + }, { + "localId" : "222", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "AEqB_Int", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "222", + "s" : [ { + "value" : [ "", "define ", "AEqB_Int", ": " ] + }, { + "r" : "223", + "s" : [ { + "r" : "224", + "value" : [ "5", " ", "=", " ", "5" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Equal", + "localId" : "223", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "226", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "227", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "Literal", + "localId" : "224", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "5", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "225", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "5", + "annotation" : [ ] + } ] + } + }, { + "localId" : "230", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "ALtB_Int", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "230", + "s" : [ { + "value" : [ "", "define ", "ALtB_Int", ": " ] + }, { + "r" : "231", + "s" : [ { + "r" : "232", + "value" : [ "5", " ", "=", " ", "6" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Equal", + "localId" : "231", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "234", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "235", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "Literal", + "localId" : "232", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "5", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "233", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "6", + "annotation" : [ ] + } ] + } + }, { + "localId" : "238", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "EqTuples", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "238", "s" : [ { - "value" : [ "","library TestSnippet version '1'" ] - } ] - } - } ], - "identifier" : { - "id" : "TestSnippet", - "version" : "1" - }, - "schemaIdentifier" : { - "id" : "urn:hl7-org:elm", - "version" : "r1" - }, - "usings" : { - "def" : [ { - "localId" : "1", - "localIdentifier" : "System", - "uri" : "urn:hl7-org:elm-types:r1" - }, { - "localId" : "206", - "localIdentifier" : "Simple", - "uri" : "https://github.com/cqframework/cql-execution/simple", - "version" : "1.0.0", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "206", + "value" : [ "", "define ", "EqTuples", ": " ] + }, { + "r" : "239", + "s" : [ { + "r" : "240", + "s" : [ { + "value" : [ "Tuple{" ] + }, { "s" : [ { - "value" : [ "","using " ] - }, { - "s" : [ { - "value" : [ "Simple" ] - } ] - }, { - "value" : [ " version '1.0.0'" ] + "r" : "241", + "value" : [ "a", ": ", "1" ] } ] - } - } ] - } ] - }, - "contexts" : { - "def" : [ { - "localId" : "211", - "name" : "Patient" - } ] - }, - "statements" : { - "def" : [ { - "localId" : "209", - "name" : "Patient", - "context" : "Patient", - "expression" : { - "localId" : "210", - "type" : "SingletonFrom", - "signature" : [ ], - "operand" : { - "localId" : "208", - "dataType" : "{https://github.com/cqframework/cql-execution/simple}Patient", - "type" : "Retrieve", - "include" : [ ], - "codeFilter" : [ ], - "dateFilter" : [ ], - "otherFilter" : [ ] - } - } - }, { - "localId" : "214", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "AGtB_Int", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "214", + }, { + "value" : [ ", " ] + }, { "s" : [ { - "value" : [ "","define ","AGtB_Int",": " ] + "value" : [ "b", ": " ] }, { - "r" : "215", - "s" : [ { - "r" : "216", - "value" : [ "5"," ","="," ","4" ] - } ] + "r" : "242", + "s" : [ { + "value" : [ "Tuple{" ] + }, { + "s" : [ { + "r" : "243", + "value" : [ "c", ": ", "1" ] + } ] + }, { + "value" : [ "}" ] + } ] + } ] + }, { + "value" : [ "}" ] + } ] + }, { + "value" : [ " ", "=", " " ] + }, { + "r" : "254", + "s" : [ { + "value" : [ "Tuple{" ] + }, { + "s" : [ { + "r" : "255", + "value" : [ "a", ": ", "1" ] } ] - } - } ], - "expression" : { - "localId" : "215", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "Equal", - "signature" : [ { - "localId" : "218", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "219", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "216", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal" - }, { - "localId" : "217", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "4", - "type" : "Literal" - } ] - } - }, { - "localId" : "222", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "AEqB_Int", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "222", + }, { + "value" : [ ", " ] + }, { "s" : [ { - "value" : [ "","define ","AEqB_Int",": " ] + "value" : [ "b", ": " ] }, { - "r" : "223", - "s" : [ { - "r" : "224", - "value" : [ "5"," ","="," ","5" ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "223", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "Equal", - "signature" : [ { - "localId" : "226", + "r" : "256", + "s" : [ { + "value" : [ "Tuple{" ] + }, { + "s" : [ { + "r" : "257", + "value" : [ "c", ": ", "1" ] + } ] + }, { + "value" : [ "}" ] + } ] + } ] + }, { + "value" : [ "}" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Equal", + "localId" : "239", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "TupleTypeSpecifier", + "localId" : "268", + "annotation" : [ ], + "element" : [ { + "localId" : "269", + "name" : "a", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "270", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, { + "localId" : "271", + "name" : "b", + "annotation" : [ ], + "elementType" : { + "type" : "TupleTypeSpecifier", + "localId" : "272", + "annotation" : [ ], + "element" : [ { + "localId" : "273", + "name" : "c", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "274", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } ] + } + } ] + }, { + "type" : "TupleTypeSpecifier", + "localId" : "275", + "annotation" : [ ], + "element" : [ { + "localId" : "276", + "name" : "a", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "277", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, { + "localId" : "278", + "name" : "b", + "annotation" : [ ], + "elementType" : { + "type" : "TupleTypeSpecifier", + "localId" : "279", + "annotation" : [ ], + "element" : [ { + "localId" : "280", + "name" : "c", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "281", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } ] + } + } ] + } ], + "operand" : [ { + "type" : "Tuple", + "localId" : "240", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "TupleTypeSpecifier", + "localId" : "247", + "annotation" : [ ], + "element" : [ { + "localId" : "248", + "name" : "a", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "249", "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "227", + "annotation" : [ ] + } + }, { + "localId" : "250", + "name" : "b", + "annotation" : [ ], + "elementType" : { + "type" : "TupleTypeSpecifier", + "localId" : "251", + "annotation" : [ ], + "element" : [ { + "localId" : "252", + "name" : "c", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "253", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } ] + } + } ] + }, + "element" : [ { + "name" : "a", + "value" : { + "type" : "Literal", + "localId" : "241", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + } + }, { + "name" : "b", + "value" : { + "type" : "Tuple", + "localId" : "242", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "TupleTypeSpecifier", + "localId" : "244", + "annotation" : [ ], + "element" : [ { + "localId" : "245", + "name" : "c", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "246", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } ] + }, + "element" : [ { + "name" : "c", + "value" : { + "type" : "Literal", + "localId" : "243", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + } + } ] + } + } ] + }, { + "type" : "Tuple", + "localId" : "254", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "TupleTypeSpecifier", + "localId" : "261", + "annotation" : [ ], + "element" : [ { + "localId" : "262", + "name" : "a", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "263", "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "224", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal" - }, { - "localId" : "225", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal" - } ] - } - }, { - "localId" : "230", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "ALtB_Int", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "230", + "annotation" : [ ] + } + }, { + "localId" : "264", + "name" : "b", + "annotation" : [ ], + "elementType" : { + "type" : "TupleTypeSpecifier", + "localId" : "265", + "annotation" : [ ], + "element" : [ { + "localId" : "266", + "name" : "c", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "267", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } ] + } + } ] + }, + "element" : [ { + "name" : "a", + "value" : { + "type" : "Literal", + "localId" : "255", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + } + }, { + "name" : "b", + "value" : { + "type" : "Tuple", + "localId" : "256", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "TupleTypeSpecifier", + "localId" : "258", + "annotation" : [ ], + "element" : [ { + "localId" : "259", + "name" : "c", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "260", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } ] + }, + "element" : [ { + "name" : "c", + "value" : { + "type" : "Literal", + "localId" : "257", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + } + } ] + } + } ] + } ] + } + }, { + "localId" : "284", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "UneqTuples", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "284", + "s" : [ { + "value" : [ "", "define ", "UneqTuples", ": " ] + }, { + "r" : "285", + "s" : [ { + "r" : "286", + "s" : [ { + "value" : [ "Tuple{" ] + }, { "s" : [ { - "value" : [ "","define ","ALtB_Int",": " ] - }, { - "r" : "231", - "s" : [ { - "r" : "232", - "value" : [ "5"," ","="," ","6" ] - } ] + "r" : "287", + "value" : [ "a", ": ", "1" ] } ] - } - } ], - "expression" : { - "localId" : "231", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "Equal", - "signature" : [ { - "localId" : "234", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "235", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "232", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal" - }, { - "localId" : "233", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "6", - "type" : "Literal" - } ] - } - }, { - "localId" : "238", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "EqTuples", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "238", + }, { + "value" : [ ", " ] + }, { "s" : [ { - "value" : [ "","define ","EqTuples",": " ] + "value" : [ "b", ": " ] }, { - "r" : "239", - "s" : [ { - "r" : "240", - "s" : [ { - "value" : [ "Tuple{" ] - }, { - "s" : [ { - "r" : "241", - "value" : [ "a",": ","1" ] - } ] - }, { - "value" : [ ", " ] - }, { - "s" : [ { - "value" : [ "b",": " ] - }, { - "r" : "242", - "s" : [ { - "value" : [ "Tuple{" ] - }, { - "s" : [ { - "r" : "243", - "value" : [ "c",": ","1" ] - } ] - }, { - "value" : [ "}" ] - } ] - } ] - }, { - "value" : [ "}" ] - } ] - }, { - "value" : [ " ","="," " ] - }, { - "r" : "254", + "r" : "288", + "s" : [ { + "value" : [ "Tuple{" ] + }, { + "s" : [ { + "r" : "289", + "value" : [ "c", ": ", "1" ] + } ] + }, { + "value" : [ "}" ] + } ] + } ] + }, { + "value" : [ "}" ] + } ] + }, { + "value" : [ " ", "=", " " ] + }, { + "r" : "300", + "s" : [ { + "value" : [ "Tuple{" ] + }, { + "s" : [ { + "r" : "301", + "value" : [ "a", ": ", "1" ] + } ] + }, { + "value" : [ ", " ] + }, { + "s" : [ { + "value" : [ "b", ": " ] + }, { + "r" : "302", + "s" : [ { + "value" : [ "Tuple{" ] + }, { + "s" : [ { + "value" : [ "c", ": " ] + }, { + "r" : "303", "s" : [ { - "value" : [ "Tuple{" ] - }, { - "s" : [ { - "r" : "255", - "value" : [ "a",": ","1" ] - } ] - }, { - "value" : [ ", " ] - }, { - "s" : [ { - "value" : [ "b",": " ] - }, { - "r" : "256", - "s" : [ { - "value" : [ "Tuple{" ] - }, { - "s" : [ { - "r" : "257", - "value" : [ "c",": ","1" ] - } ] - }, { - "value" : [ "}" ] - } ] - } ] - }, { - "value" : [ "}" ] + "r" : "304", + "value" : [ "-", "1" ] } ] - } ] + } ] + }, { + "value" : [ "}" ] + } ] } ] - } - } ], - "expression" : { - "localId" : "239", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "Equal", - "signature" : [ { - "localId" : "268", + }, { + "value" : [ "}" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Equal", + "localId" : "285", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "TupleTypeSpecifier", + "localId" : "316", + "annotation" : [ ], + "element" : [ { + "localId" : "317", + "name" : "a", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "318", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, { + "localId" : "319", + "name" : "b", + "annotation" : [ ], + "elementType" : { + "type" : "TupleTypeSpecifier", + "localId" : "320", + "annotation" : [ ], + "element" : [ { + "localId" : "321", + "name" : "c", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "322", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } ] + } + } ] + }, { + "type" : "TupleTypeSpecifier", + "localId" : "323", + "annotation" : [ ], + "element" : [ { + "localId" : "324", + "name" : "a", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "325", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, { + "localId" : "326", + "name" : "b", + "annotation" : [ ], + "elementType" : { + "type" : "TupleTypeSpecifier", + "localId" : "327", + "annotation" : [ ], + "element" : [ { + "localId" : "328", + "name" : "c", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "329", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } ] + } + } ] + } ], + "operand" : [ { + "type" : "Tuple", + "localId" : "286", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "TupleTypeSpecifier", + "localId" : "293", + "annotation" : [ ], + "element" : [ { + "localId" : "294", + "name" : "a", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "295", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, { + "localId" : "296", + "name" : "b", + "annotation" : [ ], + "elementType" : { "type" : "TupleTypeSpecifier", + "localId" : "297", + "annotation" : [ ], "element" : [ { - "localId" : "269", - "name" : "a", - "elementType" : { - "localId" : "270", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "271", - "name" : "b", - "elementType" : { - "localId" : "272", - "type" : "TupleTypeSpecifier", - "element" : [ { - "localId" : "273", - "name" : "c", - "elementType" : { - "localId" : "274", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } ] - } - } ] - }, { - "localId" : "275", + "localId" : "298", + "name" : "c", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "299", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } ] + } + } ] + }, + "element" : [ { + "name" : "a", + "value" : { + "type" : "Literal", + "localId" : "287", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + } + }, { + "name" : "b", + "value" : { + "type" : "Tuple", + "localId" : "288", + "annotation" : [ ], + "resultTypeSpecifier" : { "type" : "TupleTypeSpecifier", + "localId" : "290", + "annotation" : [ ], "element" : [ { - "localId" : "276", - "name" : "a", - "elementType" : { - "localId" : "277", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "278", - "name" : "b", - "elementType" : { - "localId" : "279", - "type" : "TupleTypeSpecifier", - "element" : [ { - "localId" : "280", - "name" : "c", - "elementType" : { - "localId" : "281", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } ] - } - } ] - } ], - "operand" : [ { - "localId" : "240", - "type" : "Tuple", - "resultTypeSpecifier" : { - "localId" : "247", - "type" : "TupleTypeSpecifier", - "element" : [ { - "localId" : "248", - "name" : "a", - "elementType" : { - "localId" : "249", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "250", - "name" : "b", - "elementType" : { - "localId" : "251", - "type" : "TupleTypeSpecifier", - "element" : [ { - "localId" : "252", - "name" : "c", - "elementType" : { - "localId" : "253", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } ] - } - } ] - }, + "localId" : "291", + "name" : "c", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "292", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } ] + }, + "element" : [ { + "name" : "c", + "value" : { + "type" : "Literal", + "localId" : "289", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + } + } ] + } + } ] + }, { + "type" : "Tuple", + "localId" : "300", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "TupleTypeSpecifier", + "localId" : "309", + "annotation" : [ ], + "element" : [ { + "localId" : "310", + "name" : "a", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "311", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, { + "localId" : "312", + "name" : "b", + "annotation" : [ ], + "elementType" : { + "type" : "TupleTypeSpecifier", + "localId" : "313", + "annotation" : [ ], "element" : [ { - "name" : "a", - "value" : { - "localId" : "241", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - } - }, { - "name" : "b", - "value" : { - "localId" : "242", - "type" : "Tuple", - "resultTypeSpecifier" : { - "localId" : "244", - "type" : "TupleTypeSpecifier", - "element" : [ { - "localId" : "245", - "name" : "c", - "elementType" : { - "localId" : "246", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } ] - }, - "element" : [ { - "name" : "c", - "value" : { - "localId" : "243", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - } - } ] - } - } ] - }, { - "localId" : "254", - "type" : "Tuple", - "resultTypeSpecifier" : { - "localId" : "261", - "type" : "TupleTypeSpecifier", - "element" : [ { - "localId" : "262", - "name" : "a", - "elementType" : { - "localId" : "263", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "264", - "name" : "b", - "elementType" : { - "localId" : "265", - "type" : "TupleTypeSpecifier", - "element" : [ { - "localId" : "266", - "name" : "c", - "elementType" : { - "localId" : "267", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } ] - } - } ] - }, + "localId" : "314", + "name" : "c", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "315", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } ] + } + } ] + }, + "element" : [ { + "name" : "a", + "value" : { + "type" : "Literal", + "localId" : "301", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + } + }, { + "name" : "b", + "value" : { + "type" : "Tuple", + "localId" : "302", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "TupleTypeSpecifier", + "localId" : "306", + "annotation" : [ ], "element" : [ { - "name" : "a", - "value" : { - "localId" : "255", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - } + "localId" : "307", + "name" : "c", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "308", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } ] + }, + "element" : [ { + "name" : "c", + "value" : { + "type" : "Negate", + "localId" : "303", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "305", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "operand" : { + "type" : "Literal", + "localId" : "304", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + } + } + } ] + } + } ] + } ] + } + }, { + "localId" : "332", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "EqTuplesWithNullFields", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "332", + "s" : [ { + "value" : [ "", "define ", "EqTuplesWithNullFields", ": " ] + }, { + "r" : "333", + "s" : [ { + "r" : "334", + "s" : [ { + "value" : [ "Tuple{" ] + }, { + "s" : [ { + "value" : [ "a", ": " ] }, { - "name" : "b", - "value" : { - "localId" : "256", - "type" : "Tuple", - "resultTypeSpecifier" : { - "localId" : "258", - "type" : "TupleTypeSpecifier", - "element" : [ { - "localId" : "259", - "name" : "c", - "elementType" : { - "localId" : "260", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } ] - }, - "element" : [ { - "name" : "c", - "value" : { - "localId" : "257", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - } - } ] - } + "r" : "335", + "s" : [ { + "value" : [ "'Hello'" ] + } ] } ] - } ] - } - }, { - "localId" : "284", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "UneqTuples", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "284", + }, { + "value" : [ ", " ] + }, { + "s" : [ { + "r" : "337", + "value" : [ "b", ": ", "null" ] + } ] + }, { + "value" : [ "}" ] + } ] + }, { + "value" : [ " ", "=", " " ] + }, { + "r" : "343", + "s" : [ { + "value" : [ "Tuple{" ] + }, { "s" : [ { - "value" : [ "","define ","UneqTuples",": " ] + "value" : [ "a", ": " ] }, { - "r" : "285", - "s" : [ { - "r" : "286", - "s" : [ { - "value" : [ "Tuple{" ] - }, { - "s" : [ { - "r" : "287", - "value" : [ "a",": ","1" ] - } ] - }, { - "value" : [ ", " ] - }, { - "s" : [ { - "value" : [ "b",": " ] - }, { - "r" : "288", - "s" : [ { - "value" : [ "Tuple{" ] - }, { - "s" : [ { - "r" : "289", - "value" : [ "c",": ","1" ] - } ] - }, { - "value" : [ "}" ] - } ] - } ] - }, { - "value" : [ "}" ] - } ] - }, { - "value" : [ " ","="," " ] - }, { - "r" : "300", - "s" : [ { - "value" : [ "Tuple{" ] - }, { - "s" : [ { - "r" : "301", - "value" : [ "a",": ","1" ] - } ] - }, { - "value" : [ ", " ] - }, { - "s" : [ { - "value" : [ "b",": " ] - }, { - "r" : "302", - "s" : [ { - "value" : [ "Tuple{" ] - }, { - "s" : [ { - "value" : [ "c",": " ] - }, { - "r" : "303", - "s" : [ { - "r" : "304", - "value" : [ "-","1" ] - } ] - } ] - }, { - "value" : [ "}" ] - } ] - } ] - }, { - "value" : [ "}" ] - } ] - } ] + "r" : "344", + "s" : [ { + "value" : [ "'Hello'" ] + } ] } ] - } - } ], - "expression" : { - "localId" : "285", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "Equal", - "signature" : [ { - "localId" : "316", - "type" : "TupleTypeSpecifier", - "element" : [ { - "localId" : "317", - "name" : "a", - "elementType" : { - "localId" : "318", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } + }, { + "value" : [ ", " ] + }, { + "s" : [ { + "r" : "346", + "value" : [ "b", ": ", "null" ] + } ] + }, { + "value" : [ "}" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Equal", + "localId" : "333", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "TupleTypeSpecifier", + "localId" : "352", + "annotation" : [ ], + "element" : [ { + "localId" : "353", + "name" : "a", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "354", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } + }, { + "localId" : "355", + "name" : "b", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "356", + "name" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } + } ] + }, { + "type" : "TupleTypeSpecifier", + "localId" : "357", + "annotation" : [ ], + "element" : [ { + "localId" : "358", + "name" : "a", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "359", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } + }, { + "localId" : "360", + "name" : "b", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "361", + "name" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } + } ] + } ], + "operand" : [ { + "type" : "Tuple", + "localId" : "334", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "TupleTypeSpecifier", + "localId" : "338", + "annotation" : [ ], + "element" : [ { + "localId" : "339", + "name" : "a", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "340", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } + }, { + "localId" : "341", + "name" : "b", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "342", + "name" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } + } ] + }, + "element" : [ { + "name" : "a", + "value" : { + "type" : "Literal", + "localId" : "335", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "Hello", + "annotation" : [ ] + } + }, { + "name" : "b", + "value" : { + "type" : "Null", + "localId" : "337", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } + } ] + }, { + "type" : "Tuple", + "localId" : "343", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "TupleTypeSpecifier", + "localId" : "347", + "annotation" : [ ], + "element" : [ { + "localId" : "348", + "name" : "a", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "349", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } + }, { + "localId" : "350", + "name" : "b", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "351", + "name" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } + } ] + }, + "element" : [ { + "name" : "a", + "value" : { + "type" : "Literal", + "localId" : "344", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "Hello", + "annotation" : [ ] + } + }, { + "name" : "b", + "value" : { + "type" : "Null", + "localId" : "346", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } + } ] + } ] + } + }, { + "localId" : "364", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "UneqTuplesWithNullFields", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "364", + "s" : [ { + "value" : [ "", "define ", "UneqTuplesWithNullFields", ": " ] + }, { + "r" : "365", + "s" : [ { + "r" : "366", + "s" : [ { + "value" : [ "Tuple{" ] + }, { + "s" : [ { + "value" : [ "a", ": " ] }, { - "localId" : "319", - "name" : "b", - "elementType" : { - "localId" : "320", - "type" : "TupleTypeSpecifier", - "element" : [ { - "localId" : "321", - "name" : "c", - "elementType" : { - "localId" : "322", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } ] - } + "r" : "367", + "s" : [ { + "value" : [ "'Hello'" ] + } ] } ] - }, { - "localId" : "323", - "type" : "TupleTypeSpecifier", - "element" : [ { - "localId" : "324", - "name" : "a", - "elementType" : { - "localId" : "325", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } + }, { + "value" : [ ", " ] + }, { + "s" : [ { + "r" : "369", + "value" : [ "b", ": ", "null" ] + } ] + }, { + "value" : [ "}" ] + } ] + }, { + "value" : [ " ", "=", " " ] + }, { + "r" : "375", + "s" : [ { + "value" : [ "Tuple{" ] + }, { + "s" : [ { + "value" : [ "a", ": " ] }, { - "localId" : "326", - "name" : "b", - "elementType" : { - "localId" : "327", - "type" : "TupleTypeSpecifier", - "element" : [ { - "localId" : "328", - "name" : "c", - "elementType" : { - "localId" : "329", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } ] - } + "r" : "376", + "s" : [ { + "value" : [ "'Goodbye'" ] + } ] } ] - } ], - "operand" : [ { - "localId" : "286", - "type" : "Tuple", - "resultTypeSpecifier" : { - "localId" : "293", - "type" : "TupleTypeSpecifier", - "element" : [ { - "localId" : "294", - "name" : "a", - "elementType" : { - "localId" : "295", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "296", - "name" : "b", - "elementType" : { - "localId" : "297", - "type" : "TupleTypeSpecifier", - "element" : [ { - "localId" : "298", - "name" : "c", - "elementType" : { - "localId" : "299", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } ] - } - } ] - }, - "element" : [ { - "name" : "a", - "value" : { - "localId" : "287", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - } + }, { + "value" : [ ", " ] + }, { + "s" : [ { + "r" : "378", + "value" : [ "b", ": ", "null" ] + } ] + }, { + "value" : [ "}" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Equal", + "localId" : "365", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "TupleTypeSpecifier", + "localId" : "384", + "annotation" : [ ], + "element" : [ { + "localId" : "385", + "name" : "a", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "386", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } + }, { + "localId" : "387", + "name" : "b", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "388", + "name" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } + } ] + }, { + "type" : "TupleTypeSpecifier", + "localId" : "389", + "annotation" : [ ], + "element" : [ { + "localId" : "390", + "name" : "a", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "391", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } + }, { + "localId" : "392", + "name" : "b", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "393", + "name" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } + } ] + } ], + "operand" : [ { + "type" : "Tuple", + "localId" : "366", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "TupleTypeSpecifier", + "localId" : "370", + "annotation" : [ ], + "element" : [ { + "localId" : "371", + "name" : "a", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "372", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } + }, { + "localId" : "373", + "name" : "b", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "374", + "name" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } + } ] + }, + "element" : [ { + "name" : "a", + "value" : { + "type" : "Literal", + "localId" : "367", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "Hello", + "annotation" : [ ] + } + }, { + "name" : "b", + "value" : { + "type" : "Null", + "localId" : "369", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } + } ] + }, { + "type" : "Tuple", + "localId" : "375", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "TupleTypeSpecifier", + "localId" : "379", + "annotation" : [ ], + "element" : [ { + "localId" : "380", + "name" : "a", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "381", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } + }, { + "localId" : "382", + "name" : "b", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "383", + "name" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } + } ] + }, + "element" : [ { + "name" : "a", + "value" : { + "type" : "Literal", + "localId" : "376", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "Goodbye", + "annotation" : [ ] + } + }, { + "name" : "b", + "value" : { + "type" : "Null", + "localId" : "378", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } + } ] + } ] + } + }, { + "localId" : "396", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "UncertTuplesWithNullFieldOnOne", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "396", + "s" : [ { + "value" : [ "", "define ", "UncertTuplesWithNullFieldOnOne", ": " ] + }, { + "r" : "397", + "s" : [ { + "r" : "398", + "s" : [ { + "value" : [ "Tuple{" ] + }, { + "s" : [ { + "value" : [ "a", ": " ] }, { - "name" : "b", - "value" : { - "localId" : "288", - "type" : "Tuple", - "resultTypeSpecifier" : { - "localId" : "290", - "type" : "TupleTypeSpecifier", - "element" : [ { - "localId" : "291", - "name" : "c", - "elementType" : { - "localId" : "292", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } ] - }, - "element" : [ { - "name" : "c", - "value" : { - "localId" : "289", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - } - } ] - } + "r" : "399", + "s" : [ { + "value" : [ "'Hello'" ] + } ] } ] - }, { - "localId" : "300", - "type" : "Tuple", - "resultTypeSpecifier" : { - "localId" : "309", - "type" : "TupleTypeSpecifier", - "element" : [ { - "localId" : "310", - "name" : "a", - "elementType" : { - "localId" : "311", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "312", - "name" : "b", - "elementType" : { - "localId" : "313", - "type" : "TupleTypeSpecifier", - "element" : [ { - "localId" : "314", - "name" : "c", - "elementType" : { - "localId" : "315", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } ] - } - } ] - }, - "element" : [ { - "name" : "a", - "value" : { - "localId" : "301", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - } + }, { + "value" : [ ", " ] + }, { + "s" : [ { + "r" : "401", + "value" : [ "b", ": ", "null" ] + } ] + }, { + "value" : [ "}" ] + } ] + }, { + "value" : [ " ", "=", " " ] + }, { + "r" : "407", + "s" : [ { + "value" : [ "Tuple{" ] + }, { + "s" : [ { + "value" : [ "a", ": " ] }, { - "name" : "b", - "value" : { - "localId" : "302", - "type" : "Tuple", - "resultTypeSpecifier" : { - "localId" : "306", - "type" : "TupleTypeSpecifier", - "element" : [ { - "localId" : "307", - "name" : "c", - "elementType" : { - "localId" : "308", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } ] - }, - "element" : [ { - "name" : "c", - "value" : { - "localId" : "303", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "Negate", - "signature" : [ { - "localId" : "305", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "304", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - } - } - } ] - } + "r" : "408", + "s" : [ { + "value" : [ "'Hello'" ] + } ] } ] - } ] - } - }, { - "localId" : "332", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "EqTuplesWithNullFields", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "332", + }, { + "value" : [ ", " ] + }, { "s" : [ { - "value" : [ "","define ","EqTuplesWithNullFields",": " ] + "value" : [ "b", ": " ] }, { - "r" : "333", - "s" : [ { - "r" : "334", - "s" : [ { - "value" : [ "Tuple{" ] - }, { - "s" : [ { - "value" : [ "a",": " ] - }, { - "r" : "335", - "s" : [ { - "value" : [ "'Hello'" ] - } ] - } ] - }, { - "value" : [ ", " ] - }, { - "s" : [ { - "r" : "337", - "value" : [ "b",": ","null" ] - } ] - }, { - "value" : [ "}" ] - } ] - }, { - "value" : [ " ","="," " ] - }, { - "r" : "343", - "s" : [ { - "value" : [ "Tuple{" ] - }, { - "s" : [ { - "value" : [ "a",": " ] - }, { - "r" : "344", - "s" : [ { - "value" : [ "'Hello'" ] - } ] - } ] - }, { - "value" : [ ", " ] - }, { - "s" : [ { - "r" : "346", - "value" : [ "b",": ","null" ] - } ] - }, { - "value" : [ "}" ] - } ] - } ] + "r" : "410", + "s" : [ { + "value" : [ "'null'" ] + } ] } ] - } - } ], - "expression" : { - "localId" : "333", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "Equal", - "signature" : [ { - "localId" : "352", - "type" : "TupleTypeSpecifier", - "element" : [ { - "localId" : "353", - "name" : "a", - "elementType" : { - "localId" : "354", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } + }, { + "value" : [ "}" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Equal", + "localId" : "397", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "TupleTypeSpecifier", + "localId" : "417", + "annotation" : [ ], + "element" : [ { + "localId" : "418", + "name" : "a", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "419", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } + }, { + "localId" : "420", + "name" : "b", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "421", + "name" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } + } ] + }, { + "type" : "TupleTypeSpecifier", + "localId" : "422", + "annotation" : [ ], + "element" : [ { + "localId" : "423", + "name" : "a", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "424", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } + }, { + "localId" : "425", + "name" : "b", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "426", + "name" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } + } ] + } ], + "operand" : [ { + "type" : "Tuple", + "localId" : "398", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "TupleTypeSpecifier", + "localId" : "402", + "annotation" : [ ], + "element" : [ { + "localId" : "403", + "name" : "a", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "404", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } + }, { + "localId" : "405", + "name" : "b", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "406", + "name" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } + } ] + }, + "element" : [ { + "name" : "a", + "value" : { + "type" : "Literal", + "localId" : "399", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "Hello", + "annotation" : [ ] + } + }, { + "name" : "b", + "value" : { + "type" : "Null", + "localId" : "401", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } + } ] + }, { + "type" : "Tuple", + "localId" : "407", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "TupleTypeSpecifier", + "localId" : "412", + "annotation" : [ ], + "element" : [ { + "localId" : "413", + "name" : "a", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "414", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } + }, { + "localId" : "415", + "name" : "b", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "416", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } + } ] + }, + "element" : [ { + "name" : "a", + "value" : { + "type" : "Literal", + "localId" : "408", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "Hello", + "annotation" : [ ] + } + }, { + "name" : "b", + "value" : { + "type" : "Literal", + "localId" : "410", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "null", + "annotation" : [ ] + } + } ] + } ] + } + }, { + "localId" : "429", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "UncertTuplesWithNullFieldOnFirstOne", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "429", + "s" : [ { + "value" : [ "", "define ", "UncertTuplesWithNullFieldOnFirstOne", ": " ] + }, { + "r" : "430", + "s" : [ { + "r" : "431", + "s" : [ { + "value" : [ "Tuple{" ] + }, { + "s" : [ { + "r" : "432", + "value" : [ "a", ": ", "null" ] + } ] + }, { + "value" : [ ", " ] + }, { + "s" : [ { + "value" : [ "b", ": " ] + }, { + "r" : "433", + "s" : [ { + "value" : [ "'Goodbye'" ] + } ] + } ] + }, { + "value" : [ "}" ] + } ] + }, { + "value" : [ " ", "=", " " ] + }, { + "r" : "440", + "s" : [ { + "value" : [ "Tuple{" ] + }, { + "s" : [ { + "value" : [ "a", ": " ] }, { - "localId" : "355", - "name" : "b", - "elementType" : { - "localId" : "356", - "name" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "NamedTypeSpecifier" - } + "r" : "441", + "s" : [ { + "value" : [ "'Hello'" ] + } ] } ] - }, { - "localId" : "357", - "type" : "TupleTypeSpecifier", - "element" : [ { - "localId" : "358", - "name" : "a", - "elementType" : { - "localId" : "359", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } + }, { + "value" : [ ", " ] + }, { + "s" : [ { + "value" : [ "b", ": " ] }, { - "localId" : "360", - "name" : "b", - "elementType" : { - "localId" : "361", - "name" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "NamedTypeSpecifier" - } + "r" : "443", + "s" : [ { + "value" : [ "'Goodbye'" ] + } ] } ] - } ], - "operand" : [ { - "localId" : "334", - "type" : "Tuple", - "resultTypeSpecifier" : { - "localId" : "338", - "type" : "TupleTypeSpecifier", - "element" : [ { - "localId" : "339", - "name" : "a", - "elementType" : { - "localId" : "340", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "341", - "name" : "b", - "elementType" : { - "localId" : "342", - "name" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "NamedTypeSpecifier" - } - } ] - }, - "element" : [ { - "name" : "a", - "value" : { - "localId" : "335", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "Hello", - "type" : "Literal" - } + }, { + "value" : [ "}" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Equal", + "localId" : "430", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "TupleTypeSpecifier", + "localId" : "450", + "annotation" : [ ], + "element" : [ { + "localId" : "451", + "name" : "a", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "452", + "name" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } + }, { + "localId" : "453", + "name" : "b", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "454", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } + } ] + }, { + "type" : "TupleTypeSpecifier", + "localId" : "455", + "annotation" : [ ], + "element" : [ { + "localId" : "456", + "name" : "a", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "457", + "name" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } + }, { + "localId" : "458", + "name" : "b", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "459", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } + } ] + } ], + "operand" : [ { + "type" : "Tuple", + "localId" : "431", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "TupleTypeSpecifier", + "localId" : "435", + "annotation" : [ ], + "element" : [ { + "localId" : "436", + "name" : "a", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "437", + "name" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } + }, { + "localId" : "438", + "name" : "b", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "439", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } + } ] + }, + "element" : [ { + "name" : "a", + "value" : { + "type" : "Null", + "localId" : "432", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } + }, { + "name" : "b", + "value" : { + "type" : "Literal", + "localId" : "433", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "Goodbye", + "annotation" : [ ] + } + } ] + }, { + "type" : "Tuple", + "localId" : "440", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "TupleTypeSpecifier", + "localId" : "445", + "annotation" : [ ], + "element" : [ { + "localId" : "446", + "name" : "a", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "447", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } + }, { + "localId" : "448", + "name" : "b", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "449", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } + } ] + }, + "element" : [ { + "name" : "a", + "value" : { + "type" : "Literal", + "localId" : "441", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "Hello", + "annotation" : [ ] + } + }, { + "name" : "b", + "value" : { + "type" : "Literal", + "localId" : "443", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "Goodbye", + "annotation" : [ ] + } + } ] + } ] + } + }, { + "localId" : "462", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "UneqTuplesWithNullFieldOnOne", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "462", + "s" : [ { + "value" : [ "", "define ", "UneqTuplesWithNullFieldOnOne", ": " ] + }, { + "r" : "463", + "s" : [ { + "r" : "464", + "s" : [ { + "value" : [ "Tuple{" ] + }, { + "s" : [ { + "value" : [ "a", ": " ] }, { - "name" : "b", - "value" : { - "localId" : "337", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - } + "r" : "465", + "s" : [ { + "value" : [ "'Hello'" ] + } ] } ] - }, { - "localId" : "343", - "type" : "Tuple", - "resultTypeSpecifier" : { - "localId" : "347", - "type" : "TupleTypeSpecifier", - "element" : [ { - "localId" : "348", - "name" : "a", - "elementType" : { - "localId" : "349", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "350", - "name" : "b", - "elementType" : { - "localId" : "351", - "name" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "NamedTypeSpecifier" - } - } ] - }, - "element" : [ { - "name" : "a", - "value" : { - "localId" : "344", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "Hello", - "type" : "Literal" - } + }, { + "value" : [ ", " ] + }, { + "s" : [ { + "r" : "467", + "value" : [ "b", ": ", "null" ] + } ] + }, { + "value" : [ "}" ] + } ] + }, { + "value" : [ " ", "=", " " ] + }, { + "r" : "473", + "s" : [ { + "value" : [ "Tuple{" ] + }, { + "s" : [ { + "value" : [ "a", ": " ] }, { - "name" : "b", - "value" : { - "localId" : "346", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - } + "r" : "474", + "s" : [ { + "value" : [ "'Goodbye'" ] + } ] } ] - } ] - } - }, { - "localId" : "364", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "UneqTuplesWithNullFields", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "364", + }, { + "value" : [ ", " ] + }, { "s" : [ { - "value" : [ "","define ","UneqTuplesWithNullFields",": " ] + "value" : [ "b", ": " ] }, { - "r" : "365", - "s" : [ { - "r" : "366", - "s" : [ { - "value" : [ "Tuple{" ] - }, { - "s" : [ { - "value" : [ "a",": " ] - }, { - "r" : "367", - "s" : [ { - "value" : [ "'Hello'" ] - } ] - } ] - }, { - "value" : [ ", " ] - }, { - "s" : [ { - "r" : "369", - "value" : [ "b",": ","null" ] - } ] - }, { - "value" : [ "}" ] - } ] - }, { - "value" : [ " ","="," " ] - }, { - "r" : "375", - "s" : [ { - "value" : [ "Tuple{" ] - }, { - "s" : [ { - "value" : [ "a",": " ] - }, { - "r" : "376", - "s" : [ { - "value" : [ "'Goodbye'" ] - } ] - } ] - }, { - "value" : [ ", " ] - }, { - "s" : [ { - "r" : "378", - "value" : [ "b",": ","null" ] - } ] - }, { - "value" : [ "}" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "365", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "Equal", - "signature" : [ { - "localId" : "384", - "type" : "TupleTypeSpecifier", - "element" : [ { - "localId" : "385", - "name" : "a", - "elementType" : { - "localId" : "386", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "387", - "name" : "b", - "elementType" : { - "localId" : "388", - "name" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "NamedTypeSpecifier" - } + "r" : "476", + "s" : [ { + "value" : [ "'null'" ] + } ] } ] - }, { - "localId" : "389", - "type" : "TupleTypeSpecifier", - "element" : [ { - "localId" : "390", - "name" : "a", - "elementType" : { - "localId" : "391", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "392", - "name" : "b", - "elementType" : { - "localId" : "393", - "name" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "NamedTypeSpecifier" - } + }, { + "value" : [ "}" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Equal", + "localId" : "463", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "TupleTypeSpecifier", + "localId" : "483", + "annotation" : [ ], + "element" : [ { + "localId" : "484", + "name" : "a", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "485", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } + }, { + "localId" : "486", + "name" : "b", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "487", + "name" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } + } ] + }, { + "type" : "TupleTypeSpecifier", + "localId" : "488", + "annotation" : [ ], + "element" : [ { + "localId" : "489", + "name" : "a", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "490", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } + }, { + "localId" : "491", + "name" : "b", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "492", + "name" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } + } ] + } ], + "operand" : [ { + "type" : "Tuple", + "localId" : "464", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "TupleTypeSpecifier", + "localId" : "468", + "annotation" : [ ], + "element" : [ { + "localId" : "469", + "name" : "a", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "470", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } + }, { + "localId" : "471", + "name" : "b", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "472", + "name" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } + } ] + }, + "element" : [ { + "name" : "a", + "value" : { + "type" : "Literal", + "localId" : "465", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "Hello", + "annotation" : [ ] + } + }, { + "name" : "b", + "value" : { + "type" : "Null", + "localId" : "467", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } + } ] + }, { + "type" : "Tuple", + "localId" : "473", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "TupleTypeSpecifier", + "localId" : "478", + "annotation" : [ ], + "element" : [ { + "localId" : "479", + "name" : "a", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "480", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } + }, { + "localId" : "481", + "name" : "b", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "482", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } + } ] + }, + "element" : [ { + "name" : "a", + "value" : { + "type" : "Literal", + "localId" : "474", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "Goodbye", + "annotation" : [ ] + } + }, { + "name" : "b", + "value" : { + "type" : "Literal", + "localId" : "476", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "null", + "annotation" : [ ] + } + } ] + } ] + } + }, { + "localId" : "495", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "UneqTuplesWithNullFieldOnFirstOne", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "495", + "s" : [ { + "value" : [ "", "define ", "UneqTuplesWithNullFieldOnFirstOne", ": " ] + }, { + "r" : "496", + "s" : [ { + "r" : "497", + "s" : [ { + "value" : [ "Tuple{" ] + }, { + "s" : [ { + "r" : "498", + "value" : [ "a", ": ", "null" ] } ] - } ], - "operand" : [ { - "localId" : "366", - "type" : "Tuple", - "resultTypeSpecifier" : { - "localId" : "370", - "type" : "TupleTypeSpecifier", - "element" : [ { - "localId" : "371", - "name" : "a", - "elementType" : { - "localId" : "372", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "373", - "name" : "b", - "elementType" : { - "localId" : "374", - "name" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "NamedTypeSpecifier" - } - } ] - }, - "element" : [ { - "name" : "a", - "value" : { - "localId" : "367", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "Hello", - "type" : "Literal" - } + }, { + "value" : [ ", " ] + }, { + "s" : [ { + "value" : [ "b", ": " ] + }, { + "r" : "499", + "s" : [ { + "value" : [ "'Hello'" ] + } ] + } ] + }, { + "value" : [ "}" ] + } ] + }, { + "value" : [ " ", "=", " " ] + }, { + "r" : "506", + "s" : [ { + "value" : [ "Tuple{" ] + }, { + "s" : [ { + "value" : [ "a", ": " ] }, { - "name" : "b", - "value" : { - "localId" : "369", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - } + "r" : "507", + "s" : [ { + "value" : [ "'null'" ] + } ] } ] - }, { - "localId" : "375", - "type" : "Tuple", - "resultTypeSpecifier" : { - "localId" : "379", - "type" : "TupleTypeSpecifier", - "element" : [ { - "localId" : "380", - "name" : "a", - "elementType" : { - "localId" : "381", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "382", - "name" : "b", - "elementType" : { - "localId" : "383", - "name" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "NamedTypeSpecifier" - } - } ] - }, - "element" : [ { - "name" : "a", - "value" : { - "localId" : "376", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "Goodbye", - "type" : "Literal" - } + }, { + "value" : [ ", " ] + }, { + "s" : [ { + "value" : [ "b", ": " ] }, { - "name" : "b", - "value" : { - "localId" : "378", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - } + "r" : "509", + "s" : [ { + "value" : [ "'Goodbye'" ] + } ] } ] - } ] - } - }, { - "localId" : "396", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "UncertTuplesWithNullFieldOnOne", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "396", + }, { + "value" : [ "}" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Equal", + "localId" : "496", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "TupleTypeSpecifier", + "localId" : "516", + "annotation" : [ ], + "element" : [ { + "localId" : "517", + "name" : "a", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "518", + "name" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } + }, { + "localId" : "519", + "name" : "b", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "520", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } + } ] + }, { + "type" : "TupleTypeSpecifier", + "localId" : "521", + "annotation" : [ ], + "element" : [ { + "localId" : "522", + "name" : "a", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "523", + "name" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } + }, { + "localId" : "524", + "name" : "b", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "525", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } + } ] + } ], + "operand" : [ { + "type" : "Tuple", + "localId" : "497", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "TupleTypeSpecifier", + "localId" : "501", + "annotation" : [ ], + "element" : [ { + "localId" : "502", + "name" : "a", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "503", + "name" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } + }, { + "localId" : "504", + "name" : "b", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "505", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } + } ] + }, + "element" : [ { + "name" : "a", + "value" : { + "type" : "Null", + "localId" : "498", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } + }, { + "name" : "b", + "value" : { + "type" : "Literal", + "localId" : "499", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "Hello", + "annotation" : [ ] + } + } ] + }, { + "type" : "Tuple", + "localId" : "506", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "TupleTypeSpecifier", + "localId" : "511", + "annotation" : [ ], + "element" : [ { + "localId" : "512", + "name" : "a", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "513", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } + }, { + "localId" : "514", + "name" : "b", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "515", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } + } ] + }, + "element" : [ { + "name" : "a", + "value" : { + "type" : "Literal", + "localId" : "507", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "null", + "annotation" : [ ] + } + }, { + "name" : "b", + "value" : { + "type" : "Literal", + "localId" : "509", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "Goodbye", + "annotation" : [ ] + } + } ] + } ] + } + }, { + "localId" : "528", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "EqDateTimes", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "528", + "s" : [ { + "value" : [ "", "define ", "EqDateTimes", ": " ] + }, { + "r" : "529", + "s" : [ { + "r" : "548", + "s" : [ { + "r" : "530", + "value" : [ "DateTime", "(", "2000", ", ", "3", ", ", "15", ", ", "13", ", ", "30", ", ", "25", ", ", "200", ", " ] + }, { + "r" : "537", "s" : [ { - "value" : [ "","define ","UncertTuplesWithNullFieldOnOne",": " ] - }, { - "r" : "397", - "s" : [ { - "r" : "398", - "s" : [ { - "value" : [ "Tuple{" ] - }, { - "s" : [ { - "value" : [ "a",": " ] - }, { - "r" : "399", - "s" : [ { - "value" : [ "'Hello'" ] - } ] - } ] - }, { - "value" : [ ", " ] - }, { - "s" : [ { - "r" : "401", - "value" : [ "b",": ","null" ] - } ] - }, { - "value" : [ "}" ] - } ] - }, { - "value" : [ " ","="," " ] - }, { - "r" : "407", - "s" : [ { - "value" : [ "Tuple{" ] - }, { - "s" : [ { - "value" : [ "a",": " ] - }, { - "r" : "408", - "s" : [ { - "value" : [ "'Hello'" ] - } ] - } ] - }, { - "value" : [ ", " ] - }, { - "s" : [ { - "value" : [ "b",": " ] - }, { - "r" : "410", - "s" : [ { - "value" : [ "'null'" ] - } ] - } ] - }, { - "value" : [ "}" ] - } ] - } ] + "r" : "537", + "value" : [ "+", "1.0" ] + } ] + }, { + "value" : [ ")" ] + } ] + }, { + "value" : [ " ", "=", " " ] + }, { + "r" : "575", + "s" : [ { + "r" : "557", + "value" : [ "DateTime", "(", "2000", ", ", "3", ", ", "15", ", ", "13", ", ", "30", ", ", "25", ", ", "200", ", " ] + }, { + "r" : "564", + "s" : [ { + "r" : "564", + "value" : [ "+", "1.0" ] } ] - } + }, { + "value" : [ ")" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Equal", + "localId" : "529", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "584", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "585", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "DateTime", + "localId" : "548", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "549", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "550", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "551", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "552", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "553", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "554", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "555", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "556", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] } ], - "expression" : { - "localId" : "397", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "Equal", - "signature" : [ { - "localId" : "417", - "type" : "TupleTypeSpecifier", - "element" : [ { - "localId" : "418", - "name" : "a", - "elementType" : { - "localId" : "419", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "420", - "name" : "b", - "elementType" : { - "localId" : "421", - "name" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "NamedTypeSpecifier" - } - } ] - }, { - "localId" : "422", - "type" : "TupleTypeSpecifier", - "element" : [ { - "localId" : "423", - "name" : "a", - "elementType" : { - "localId" : "424", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "425", - "name" : "b", - "elementType" : { - "localId" : "426", - "name" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "NamedTypeSpecifier" - } - } ] - } ], - "operand" : [ { - "localId" : "398", - "type" : "Tuple", - "resultTypeSpecifier" : { - "localId" : "402", - "type" : "TupleTypeSpecifier", - "element" : [ { - "localId" : "403", - "name" : "a", - "elementType" : { - "localId" : "404", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "405", - "name" : "b", - "elementType" : { - "localId" : "406", - "name" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "NamedTypeSpecifier" - } - } ] - }, - "element" : [ { - "name" : "a", - "value" : { - "localId" : "399", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "Hello", - "type" : "Literal" - } - }, { - "name" : "b", - "value" : { - "localId" : "401", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - } - } ] - }, { - "localId" : "407", - "type" : "Tuple", - "resultTypeSpecifier" : { - "localId" : "412", - "type" : "TupleTypeSpecifier", - "element" : [ { - "localId" : "413", - "name" : "a", - "elementType" : { - "localId" : "414", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "415", - "name" : "b", - "elementType" : { - "localId" : "416", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } - } ] - }, - "element" : [ { - "name" : "a", - "value" : { - "localId" : "408", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "Hello", - "type" : "Literal" - } - }, { - "name" : "b", - "value" : { - "localId" : "410", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "null", - "type" : "Literal" - } - } ] - } ] + "year" : { + "type" : "Literal", + "localId" : "530", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "531", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "532", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "15", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "533", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "13", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "534", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "30", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "535", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "25", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "536", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "200", + "annotation" : [ ] + }, + "timezoneOffset" : { + "type" : "Literal", + "localId" : "537", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "1.0", + "annotation" : [ ] } - }, { - "localId" : "429", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "UncertTuplesWithNullFieldOnFirstOne", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "429", - "s" : [ { - "value" : [ "","define ","UncertTuplesWithNullFieldOnFirstOne",": " ] - }, { - "r" : "430", - "s" : [ { - "r" : "431", - "s" : [ { - "value" : [ "Tuple{" ] - }, { - "s" : [ { - "r" : "432", - "value" : [ "a",": ","null" ] - } ] - }, { - "value" : [ ", " ] - }, { - "s" : [ { - "value" : [ "b",": " ] - }, { - "r" : "433", - "s" : [ { - "value" : [ "'Goodbye'" ] - } ] - } ] - }, { - "value" : [ "}" ] - } ] - }, { - "value" : [ " ","="," " ] - }, { - "r" : "440", - "s" : [ { - "value" : [ "Tuple{" ] - }, { - "s" : [ { - "value" : [ "a",": " ] - }, { - "r" : "441", - "s" : [ { - "value" : [ "'Hello'" ] - } ] - } ] - }, { - "value" : [ ", " ] - }, { - "s" : [ { - "value" : [ "b",": " ] - }, { - "r" : "443", - "s" : [ { - "value" : [ "'Goodbye'" ] - } ] - } ] - }, { - "value" : [ "}" ] - } ] - } ] - } ] - } + }, { + "type" : "DateTime", + "localId" : "575", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "576", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "577", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "578", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "579", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "580", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "581", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "582", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "583", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] } ], - "expression" : { - "localId" : "430", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "Equal", - "signature" : [ { - "localId" : "450", - "type" : "TupleTypeSpecifier", - "element" : [ { - "localId" : "451", - "name" : "a", - "elementType" : { - "localId" : "452", - "name" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "453", - "name" : "b", - "elementType" : { - "localId" : "454", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } - } ] - }, { - "localId" : "455", - "type" : "TupleTypeSpecifier", - "element" : [ { - "localId" : "456", - "name" : "a", - "elementType" : { - "localId" : "457", - "name" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "458", - "name" : "b", - "elementType" : { - "localId" : "459", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } - } ] - } ], - "operand" : [ { - "localId" : "431", - "type" : "Tuple", - "resultTypeSpecifier" : { - "localId" : "435", - "type" : "TupleTypeSpecifier", - "element" : [ { - "localId" : "436", - "name" : "a", - "elementType" : { - "localId" : "437", - "name" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "438", - "name" : "b", - "elementType" : { - "localId" : "439", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } - } ] - }, - "element" : [ { - "name" : "a", - "value" : { - "localId" : "432", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - } - }, { - "name" : "b", - "value" : { - "localId" : "433", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "Goodbye", - "type" : "Literal" - } - } ] - }, { - "localId" : "440", - "type" : "Tuple", - "resultTypeSpecifier" : { - "localId" : "445", - "type" : "TupleTypeSpecifier", - "element" : [ { - "localId" : "446", - "name" : "a", - "elementType" : { - "localId" : "447", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "448", - "name" : "b", - "elementType" : { - "localId" : "449", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } - } ] - }, - "element" : [ { - "name" : "a", - "value" : { - "localId" : "441", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "Hello", - "type" : "Literal" - } - }, { - "name" : "b", - "value" : { - "localId" : "443", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "Goodbye", - "type" : "Literal" - } - } ] - } ] + "year" : { + "type" : "Literal", + "localId" : "557", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "558", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "559", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "15", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "560", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "13", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "561", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "30", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "562", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "25", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "563", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "200", + "annotation" : [ ] + }, + "timezoneOffset" : { + "type" : "Literal", + "localId" : "564", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "1.0", + "annotation" : [ ] } - }, { - "localId" : "462", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "UneqTuplesWithNullFieldOnOne", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "462", + } ] + } + }, { + "localId" : "588", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "UneqDateTimes", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "588", + "s" : [ { + "value" : [ "", "define ", "UneqDateTimes", ": " ] + }, { + "r" : "589", + "s" : [ { + "r" : "608", + "s" : [ { + "r" : "590", + "value" : [ "DateTime", "(", "2000", ", ", "3", ", ", "15", ", ", "13", ", ", "30", ", ", "25", ", ", "200", ", " ] + }, { + "r" : "597", "s" : [ { - "value" : [ "","define ","UneqTuplesWithNullFieldOnOne",": " ] - }, { - "r" : "463", - "s" : [ { - "r" : "464", - "s" : [ { - "value" : [ "Tuple{" ] - }, { - "s" : [ { - "value" : [ "a",": " ] - }, { - "r" : "465", - "s" : [ { - "value" : [ "'Hello'" ] - } ] - } ] - }, { - "value" : [ ", " ] - }, { - "s" : [ { - "r" : "467", - "value" : [ "b",": ","null" ] - } ] - }, { - "value" : [ "}" ] - } ] - }, { - "value" : [ " ","="," " ] - }, { - "r" : "473", - "s" : [ { - "value" : [ "Tuple{" ] - }, { - "s" : [ { - "value" : [ "a",": " ] - }, { - "r" : "474", - "s" : [ { - "value" : [ "'Goodbye'" ] - } ] - } ] - }, { - "value" : [ ", " ] - }, { - "s" : [ { - "value" : [ "b",": " ] - }, { - "r" : "476", - "s" : [ { - "value" : [ "'null'" ] - } ] - } ] - }, { - "value" : [ "}" ] - } ] - } ] + "r" : "597", + "value" : [ "+", "1.0" ] + } ] + }, { + "value" : [ ")" ] + } ] + }, { + "value" : [ " ", "=", " " ] + }, { + "r" : "635", + "s" : [ { + "r" : "617", + "value" : [ "DateTime", "(", "2000", ", ", "3", ", ", "15", ", ", "13", ", ", "30", ", ", "25", ", ", "201", ", " ] + }, { + "r" : "624", + "s" : [ { + "r" : "624", + "value" : [ "+", "1.0" ] } ] - } + }, { + "value" : [ ")" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Equal", + "localId" : "589", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "644", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "645", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "DateTime", + "localId" : "608", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "609", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "610", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "611", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "612", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "613", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "614", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "615", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "616", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] } ], - "expression" : { - "localId" : "463", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "Equal", - "signature" : [ { - "localId" : "483", - "type" : "TupleTypeSpecifier", - "element" : [ { - "localId" : "484", - "name" : "a", - "elementType" : { - "localId" : "485", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "486", - "name" : "b", - "elementType" : { - "localId" : "487", - "name" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "NamedTypeSpecifier" - } - } ] - }, { - "localId" : "488", - "type" : "TupleTypeSpecifier", - "element" : [ { - "localId" : "489", - "name" : "a", - "elementType" : { - "localId" : "490", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "491", - "name" : "b", - "elementType" : { - "localId" : "492", - "name" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "NamedTypeSpecifier" - } - } ] - } ], - "operand" : [ { - "localId" : "464", - "type" : "Tuple", - "resultTypeSpecifier" : { - "localId" : "468", - "type" : "TupleTypeSpecifier", - "element" : [ { - "localId" : "469", - "name" : "a", - "elementType" : { - "localId" : "470", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "471", - "name" : "b", - "elementType" : { - "localId" : "472", - "name" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "NamedTypeSpecifier" - } - } ] - }, - "element" : [ { - "name" : "a", - "value" : { - "localId" : "465", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "Hello", - "type" : "Literal" - } - }, { - "name" : "b", - "value" : { - "localId" : "467", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - } - } ] - }, { - "localId" : "473", - "type" : "Tuple", - "resultTypeSpecifier" : { - "localId" : "478", - "type" : "TupleTypeSpecifier", - "element" : [ { - "localId" : "479", - "name" : "a", - "elementType" : { - "localId" : "480", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "481", - "name" : "b", - "elementType" : { - "localId" : "482", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } - } ] - }, - "element" : [ { - "name" : "a", - "value" : { - "localId" : "474", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "Goodbye", - "type" : "Literal" - } - }, { - "name" : "b", - "value" : { - "localId" : "476", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "null", - "type" : "Literal" - } - } ] - } ] + "year" : { + "type" : "Literal", + "localId" : "590", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "591", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "592", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "15", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "593", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "13", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "594", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "30", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "595", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "25", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "596", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "200", + "annotation" : [ ] + }, + "timezoneOffset" : { + "type" : "Literal", + "localId" : "597", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "1.0", + "annotation" : [ ] } - }, { - "localId" : "495", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "UneqTuplesWithNullFieldOnFirstOne", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "495", - "s" : [ { - "value" : [ "","define ","UneqTuplesWithNullFieldOnFirstOne",": " ] - }, { - "r" : "496", - "s" : [ { - "r" : "497", - "s" : [ { - "value" : [ "Tuple{" ] - }, { - "s" : [ { - "r" : "498", - "value" : [ "a",": ","null" ] - } ] - }, { - "value" : [ ", " ] - }, { - "s" : [ { - "value" : [ "b",": " ] - }, { - "r" : "499", - "s" : [ { - "value" : [ "'Hello'" ] - } ] - } ] - }, { - "value" : [ "}" ] - } ] - }, { - "value" : [ " ","="," " ] - }, { - "r" : "506", - "s" : [ { - "value" : [ "Tuple{" ] - }, { - "s" : [ { - "value" : [ "a",": " ] - }, { - "r" : "507", - "s" : [ { - "value" : [ "'null'" ] - } ] - } ] - }, { - "value" : [ ", " ] - }, { - "s" : [ { - "value" : [ "b",": " ] - }, { - "r" : "509", - "s" : [ { - "value" : [ "'Goodbye'" ] - } ] - } ] - }, { - "value" : [ "}" ] - } ] - } ] - } ] - } + }, { + "type" : "DateTime", + "localId" : "635", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "636", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "637", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "638", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "639", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "640", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "641", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "642", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "643", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] } ], - "expression" : { - "localId" : "496", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "Equal", - "signature" : [ { - "localId" : "516", - "type" : "TupleTypeSpecifier", - "element" : [ { - "localId" : "517", - "name" : "a", - "elementType" : { - "localId" : "518", - "name" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "519", - "name" : "b", - "elementType" : { - "localId" : "520", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } - } ] - }, { - "localId" : "521", - "type" : "TupleTypeSpecifier", - "element" : [ { - "localId" : "522", - "name" : "a", - "elementType" : { - "localId" : "523", - "name" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "524", - "name" : "b", - "elementType" : { - "localId" : "525", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } - } ] - } ], - "operand" : [ { - "localId" : "497", - "type" : "Tuple", - "resultTypeSpecifier" : { - "localId" : "501", - "type" : "TupleTypeSpecifier", - "element" : [ { - "localId" : "502", - "name" : "a", - "elementType" : { - "localId" : "503", - "name" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "504", - "name" : "b", - "elementType" : { - "localId" : "505", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } - } ] - }, - "element" : [ { - "name" : "a", - "value" : { - "localId" : "498", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - } - }, { - "name" : "b", - "value" : { - "localId" : "499", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "Hello", - "type" : "Literal" - } - } ] - }, { - "localId" : "506", - "type" : "Tuple", - "resultTypeSpecifier" : { - "localId" : "511", - "type" : "TupleTypeSpecifier", - "element" : [ { - "localId" : "512", - "name" : "a", - "elementType" : { - "localId" : "513", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "514", - "name" : "b", - "elementType" : { - "localId" : "515", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } - } ] - }, - "element" : [ { - "name" : "a", - "value" : { - "localId" : "507", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "null", - "type" : "Literal" - } - }, { - "name" : "b", - "value" : { - "localId" : "509", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "Goodbye", - "type" : "Literal" - } - } ] - } ] + "year" : { + "type" : "Literal", + "localId" : "617", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "618", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "619", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "15", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "620", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "13", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "621", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "30", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "622", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "25", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "623", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "201", + "annotation" : [ ] + }, + "timezoneOffset" : { + "type" : "Literal", + "localId" : "624", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "1.0", + "annotation" : [ ] } - }, { - "localId" : "528", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "EqDateTimes", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "528", + } ] + } + }, { + "localId" : "648", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "EqDateTimesTZ", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "648", + "s" : [ { + "value" : [ "", "define ", "EqDateTimesTZ", ": " ] + }, { + "r" : "649", + "s" : [ { + "r" : "668", + "s" : [ { + "r" : "650", + "value" : [ "DateTime", "(", "2000", ", ", "3", ", ", "15", ", ", "23", ", ", "30", ", ", "25", ", ", "200", ", " ] + }, { + "r" : "657", "s" : [ { - "value" : [ "","define ","EqDateTimes",": " ] - }, { - "r" : "529", - "s" : [ { - "r" : "548", - "s" : [ { - "r" : "530", - "value" : [ "DateTime","(","2000",", ","3",", ","15",", ","13",", ","30",", ","25",", ","200",", " ] - }, { - "r" : "537", - "s" : [ { - "r" : "537", - "value" : [ "+","1.0" ] - } ] - }, { - "value" : [ ")" ] - } ] - }, { - "value" : [ " ","="," " ] - }, { - "r" : "575", - "s" : [ { - "r" : "557", - "value" : [ "DateTime","(","2000",", ","3",", ","15",", ","13",", ","30",", ","25",", ","200",", " ] - }, { - "r" : "564", - "s" : [ { - "r" : "564", - "value" : [ "+","1.0" ] - } ] - }, { - "value" : [ ")" ] - } ] - } ] + "r" : "657", + "value" : [ "+", "1.0" ] + } ] + }, { + "value" : [ ")" ] + } ] + }, { + "value" : [ " ", "=", " " ] + }, { + "r" : "695", + "s" : [ { + "r" : "677", + "value" : [ "DateTime", "(", "2000", ", ", "3", ", ", "16", ", ", "2", ", ", "30", ", ", "25", ", ", "200", ", " ] + }, { + "r" : "684", + "s" : [ { + "r" : "684", + "value" : [ "+", "4.0" ] } ] - } + }, { + "value" : [ ")" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Equal", + "localId" : "649", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "704", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "705", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "DateTime", + "localId" : "668", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "669", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "670", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "671", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "672", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "673", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "674", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "675", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "676", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] } ], - "expression" : { - "localId" : "529", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "Equal", - "signature" : [ { - "localId" : "584", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "585", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "548", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "549", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "550", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "551", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "552", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "553", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "554", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "555", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "556", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "530", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "531", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "532", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal" - }, - "hour" : { - "localId" : "533", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "13", - "type" : "Literal" - }, - "minute" : { - "localId" : "534", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "30", - "type" : "Literal" - }, - "second" : { - "localId" : "535", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "25", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "536", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "200", - "type" : "Literal" - }, - "timezoneOffset" : { - "localId" : "537", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "1.0", - "type" : "Literal" - } - }, { - "localId" : "575", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "576", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "577", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "578", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "579", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "580", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "581", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "582", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "583", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "557", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "558", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "559", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal" - }, - "hour" : { - "localId" : "560", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "13", - "type" : "Literal" - }, - "minute" : { - "localId" : "561", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "30", - "type" : "Literal" - }, - "second" : { - "localId" : "562", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "25", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "563", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "200", - "type" : "Literal" - }, - "timezoneOffset" : { - "localId" : "564", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "1.0", - "type" : "Literal" - } - } ] + "year" : { + "type" : "Literal", + "localId" : "650", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "651", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "652", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "15", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "653", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "23", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "654", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "30", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "655", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "25", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "656", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "200", + "annotation" : [ ] + }, + "timezoneOffset" : { + "type" : "Literal", + "localId" : "657", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "1.0", + "annotation" : [ ] } - }, { - "localId" : "588", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "UneqDateTimes", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "588", - "s" : [ { - "value" : [ "","define ","UneqDateTimes",": " ] - }, { - "r" : "589", - "s" : [ { - "r" : "608", - "s" : [ { - "r" : "590", - "value" : [ "DateTime","(","2000",", ","3",", ","15",", ","13",", ","30",", ","25",", ","200",", " ] - }, { - "r" : "597", - "s" : [ { - "r" : "597", - "value" : [ "+","1.0" ] - } ] - }, { - "value" : [ ")" ] - } ] - }, { - "value" : [ " ","="," " ] - }, { - "r" : "635", - "s" : [ { - "r" : "617", - "value" : [ "DateTime","(","2000",", ","3",", ","15",", ","13",", ","30",", ","25",", ","201",", " ] - }, { - "r" : "624", - "s" : [ { - "r" : "624", - "value" : [ "+","1.0" ] - } ] - }, { - "value" : [ ")" ] - } ] - } ] - } ] - } + }, { + "type" : "DateTime", + "localId" : "695", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "696", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "697", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "698", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "699", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "700", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "701", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "702", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "703", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] } ], - "expression" : { - "localId" : "589", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "Equal", - "signature" : [ { - "localId" : "644", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "645", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "608", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "609", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "610", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "611", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "612", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "613", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "614", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "615", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "616", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "590", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "591", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "592", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal" - }, - "hour" : { - "localId" : "593", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "13", - "type" : "Literal" - }, - "minute" : { - "localId" : "594", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "30", - "type" : "Literal" - }, - "second" : { - "localId" : "595", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "25", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "596", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "200", - "type" : "Literal" - }, - "timezoneOffset" : { - "localId" : "597", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "1.0", - "type" : "Literal" - } - }, { - "localId" : "635", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "636", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "637", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "638", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "639", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "640", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "641", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "642", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "643", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "617", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "618", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "619", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal" - }, - "hour" : { - "localId" : "620", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "13", - "type" : "Literal" - }, - "minute" : { - "localId" : "621", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "30", - "type" : "Literal" - }, - "second" : { - "localId" : "622", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "25", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "623", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "201", - "type" : "Literal" - }, - "timezoneOffset" : { - "localId" : "624", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "1.0", - "type" : "Literal" - } - } ] + "year" : { + "type" : "Literal", + "localId" : "677", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "678", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "679", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "16", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "680", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "681", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "30", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "682", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "25", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "683", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "200", + "annotation" : [ ] + }, + "timezoneOffset" : { + "type" : "Literal", + "localId" : "684", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "4.0", + "annotation" : [ ] } - }, { - "localId" : "648", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "EqDateTimesTZ", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "648", + } ] + } + }, { + "localId" : "708", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "UneqDateTimesTZ", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "708", + "s" : [ { + "value" : [ "", "define ", "UneqDateTimesTZ", ": " ] + }, { + "r" : "709", + "s" : [ { + "r" : "728", + "s" : [ { + "r" : "710", + "value" : [ "DateTime", "(", "2000", ", ", "3", ", ", "15", ", ", "13", ", ", "30", ", ", "25", ", ", "200", ", " ] + }, { + "r" : "717", "s" : [ { - "value" : [ "","define ","EqDateTimesTZ",": " ] - }, { - "r" : "649", - "s" : [ { - "r" : "668", - "s" : [ { - "r" : "650", - "value" : [ "DateTime","(","2000",", ","3",", ","15",", ","23",", ","30",", ","25",", ","200",", " ] - }, { - "r" : "657", - "s" : [ { - "r" : "657", - "value" : [ "+","1.0" ] - } ] - }, { - "value" : [ ")" ] - } ] - }, { - "value" : [ " ","="," " ] - }, { - "r" : "695", - "s" : [ { - "r" : "677", - "value" : [ "DateTime","(","2000",", ","3",", ","16",", ","2",", ","30",", ","25",", ","200",", " ] - }, { - "r" : "684", - "s" : [ { - "r" : "684", - "value" : [ "+","4.0" ] - } ] - }, { - "value" : [ ")" ] - } ] - } ] + "r" : "717", + "value" : [ "+", "1.0" ] + } ] + }, { + "value" : [ ")" ] + } ] + }, { + "value" : [ " ", "=", " " ] + }, { + "r" : "755", + "s" : [ { + "r" : "737", + "value" : [ "DateTime", "(", "2000", ", ", "3", ", ", "15", ", ", "13", ", ", "30", ", ", "25", ", ", "200", ", " ] + }, { + "r" : "744", + "s" : [ { + "r" : "744", + "value" : [ "+", "2.0" ] } ] - } + }, { + "value" : [ ")" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Equal", + "localId" : "709", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "764", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "765", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "DateTime", + "localId" : "728", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "729", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "730", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "731", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "732", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "733", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "734", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "735", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "736", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] } ], - "expression" : { - "localId" : "649", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "Equal", - "signature" : [ { - "localId" : "704", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "705", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "668", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "669", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "670", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "671", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "672", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "673", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "674", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "675", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "676", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "650", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "651", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "652", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal" - }, - "hour" : { - "localId" : "653", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "23", - "type" : "Literal" - }, - "minute" : { - "localId" : "654", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "30", - "type" : "Literal" - }, - "second" : { - "localId" : "655", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "25", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "656", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "200", - "type" : "Literal" - }, - "timezoneOffset" : { - "localId" : "657", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "1.0", - "type" : "Literal" - } - }, { - "localId" : "695", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "696", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "697", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "698", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "699", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "700", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "701", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "702", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "703", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "677", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "678", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "679", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "16", - "type" : "Literal" - }, - "hour" : { - "localId" : "680", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal" - }, - "minute" : { - "localId" : "681", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "30", - "type" : "Literal" - }, - "second" : { - "localId" : "682", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "25", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "683", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "200", - "type" : "Literal" - }, - "timezoneOffset" : { - "localId" : "684", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "4.0", - "type" : "Literal" - } - } ] + "year" : { + "type" : "Literal", + "localId" : "710", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "711", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "712", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "15", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "713", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "13", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "714", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "30", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "715", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "25", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "716", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "200", + "annotation" : [ ] + }, + "timezoneOffset" : { + "type" : "Literal", + "localId" : "717", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "1.0", + "annotation" : [ ] } - }, { - "localId" : "708", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "UneqDateTimesTZ", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "708", - "s" : [ { - "value" : [ "","define ","UneqDateTimesTZ",": " ] - }, { - "r" : "709", - "s" : [ { - "r" : "728", - "s" : [ { - "r" : "710", - "value" : [ "DateTime","(","2000",", ","3",", ","15",", ","13",", ","30",", ","25",", ","200",", " ] - }, { - "r" : "717", - "s" : [ { - "r" : "717", - "value" : [ "+","1.0" ] - } ] - }, { - "value" : [ ")" ] - } ] - }, { - "value" : [ " ","="," " ] - }, { - "r" : "755", - "s" : [ { - "r" : "737", - "value" : [ "DateTime","(","2000",", ","3",", ","15",", ","13",", ","30",", ","25",", ","200",", " ] - }, { - "r" : "744", - "s" : [ { - "r" : "744", - "value" : [ "+","2.0" ] - } ] - }, { - "value" : [ ")" ] - } ] - } ] - } ] - } + }, { + "type" : "DateTime", + "localId" : "755", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "756", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "757", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "758", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "759", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "760", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "761", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "762", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "763", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] } ], - "expression" : { - "localId" : "709", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "Equal", - "signature" : [ { - "localId" : "764", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "765", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "728", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "729", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "730", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "731", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "732", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "733", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "734", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "735", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "736", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "710", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "711", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "712", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal" - }, - "hour" : { - "localId" : "713", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "13", - "type" : "Literal" - }, - "minute" : { - "localId" : "714", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "30", - "type" : "Literal" - }, - "second" : { - "localId" : "715", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "25", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "716", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "200", - "type" : "Literal" - }, - "timezoneOffset" : { - "localId" : "717", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "1.0", - "type" : "Literal" - } - }, { - "localId" : "755", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "756", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "757", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "758", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "759", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "760", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "761", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "762", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "763", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "737", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "738", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "739", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal" - }, - "hour" : { - "localId" : "740", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "13", - "type" : "Literal" - }, - "minute" : { - "localId" : "741", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "30", - "type" : "Literal" - }, - "second" : { - "localId" : "742", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "25", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "743", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "200", - "type" : "Literal" - }, - "timezoneOffset" : { - "localId" : "744", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "2.0", - "type" : "Literal" - } - } ] + "year" : { + "type" : "Literal", + "localId" : "737", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "738", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "739", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "15", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "740", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "13", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "741", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "30", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "742", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "25", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "743", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "200", + "annotation" : [ ] + }, + "timezoneOffset" : { + "type" : "Literal", + "localId" : "744", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "2.0", + "annotation" : [ ] } - }, { - "localId" : "768", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "EqDateTimesNullMs", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "768", - "s" : [ { - "value" : [ "","define ","EqDateTimesNullMs",": " ] - }, { - "r" : "769", - "s" : [ { - "r" : "786", - "s" : [ { - "r" : "770", - "value" : [ "DateTime","(","2000",", ","3",", ","15",", ","13",", ","30",", ","25",", ","0",")" ] - } ] - }, { - "value" : [ " ","="," " ] - }, { - "r" : "808", - "s" : [ { - "r" : "794", - "value" : [ "DateTime","(","2000",", ","3",", ","15",", ","13",", ","30",", ","25",")" ] - } ] - } ] - } ] - } + } ] + } + }, { + "localId" : "768", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "EqDateTimesNullMs", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "768", + "s" : [ { + "value" : [ "", "define ", "EqDateTimesNullMs", ": " ] + }, { + "r" : "769", + "s" : [ { + "r" : "786", + "s" : [ { + "r" : "770", + "value" : [ "DateTime", "(", "2000", ", ", "3", ", ", "15", ", ", "13", ", ", "30", ", ", "25", ", ", "0", ")" ] + } ] + }, { + "value" : [ " ", "=", " " ] + }, { + "r" : "808", + "s" : [ { + "r" : "794", + "value" : [ "DateTime", "(", "2000", ", ", "3", ", ", "15", ", ", "13", ", ", "30", ", ", "25", ")" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Equal", + "localId" : "769", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "815", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "816", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "DateTime", + "localId" : "786", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "787", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "788", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "789", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "790", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "791", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "792", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "793", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] } ], - "expression" : { - "localId" : "769", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "Equal", - "signature" : [ { - "localId" : "815", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "816", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "786", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "787", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "788", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "789", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "790", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "791", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "792", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "793", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "770", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "771", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "772", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal" - }, - "hour" : { - "localId" : "773", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "13", - "type" : "Literal" - }, - "minute" : { - "localId" : "774", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "30", - "type" : "Literal" - }, - "second" : { - "localId" : "775", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "25", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "776", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - }, { - "localId" : "808", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "809", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "810", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "811", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "812", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "813", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "814", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "794", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "795", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "796", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal" - }, - "hour" : { - "localId" : "797", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "13", - "type" : "Literal" - }, - "minute" : { - "localId" : "798", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "30", - "type" : "Literal" - }, - "second" : { - "localId" : "799", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "25", - "type" : "Literal" - } - } ] + "year" : { + "type" : "Literal", + "localId" : "770", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "771", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "772", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "15", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "773", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "13", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "774", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "30", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "775", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "25", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "776", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] } - }, { - "localId" : "819", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "EqDateTimesNullOtherMs", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "819", - "s" : [ { - "value" : [ "","define ","EqDateTimesNullOtherMs",": " ] - }, { - "r" : "820", - "s" : [ { - "r" : "835", - "s" : [ { - "r" : "821", - "value" : [ "DateTime","(","2000",", ","3",", ","15",", ","13",", ","30",", ","25",")" ] - } ] - }, { - "value" : [ " ","="," " ] - }, { - "r" : "858", - "s" : [ { - "r" : "842", - "value" : [ "DateTime","(","2000",", ","3",", ","15",", ","13",", ","30",", ","25",", ","0",")" ] - } ] - } ] - } ] - } + }, { + "type" : "DateTime", + "localId" : "808", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "809", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "810", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "811", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "812", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "813", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "814", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] } ], - "expression" : { - "localId" : "820", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "Equal", - "signature" : [ { - "localId" : "866", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "867", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "835", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "836", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "837", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "838", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "839", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "840", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "841", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "821", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "822", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "823", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal" - }, - "hour" : { - "localId" : "824", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "13", - "type" : "Literal" - }, - "minute" : { - "localId" : "825", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "30", - "type" : "Literal" - }, - "second" : { - "localId" : "826", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "25", - "type" : "Literal" - } - }, { - "localId" : "858", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "859", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "860", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "861", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "862", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "863", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "864", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "865", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "842", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "843", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "844", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal" - }, - "hour" : { - "localId" : "845", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "13", - "type" : "Literal" - }, - "minute" : { - "localId" : "846", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "30", - "type" : "Literal" - }, - "second" : { - "localId" : "847", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "25", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "848", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - } ] + "year" : { + "type" : "Literal", + "localId" : "794", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "795", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "796", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "15", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "797", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "13", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "798", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "30", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "799", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "25", + "annotation" : [ ] } - }, { - "localId" : "870", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "EqDateTimesOnlyDate", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "870", - "s" : [ { - "value" : [ "","define ","EqDateTimesOnlyDate",": " ] - }, { - "r" : "871", - "s" : [ { - "r" : "880", - "s" : [ { - "r" : "872", - "value" : [ "DateTime","(","2000",", ","3",", ","15",")" ] - } ] - }, { - "value" : [ " ","="," " ] - }, { - "r" : "892", - "s" : [ { - "r" : "884", - "value" : [ "DateTime","(","2000",", ","3",", ","15",")" ] - } ] - } ] - } ] - } + } ] + } + }, { + "localId" : "819", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "EqDateTimesNullOtherMs", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "819", + "s" : [ { + "value" : [ "", "define ", "EqDateTimesNullOtherMs", ": " ] + }, { + "r" : "820", + "s" : [ { + "r" : "835", + "s" : [ { + "r" : "821", + "value" : [ "DateTime", "(", "2000", ", ", "3", ", ", "15", ", ", "13", ", ", "30", ", ", "25", ")" ] + } ] + }, { + "value" : [ " ", "=", " " ] + }, { + "r" : "858", + "s" : [ { + "r" : "842", + "value" : [ "DateTime", "(", "2000", ", ", "3", ", ", "15", ", ", "13", ", ", "30", ", ", "25", ", ", "0", ")" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Equal", + "localId" : "820", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "866", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "867", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "DateTime", + "localId" : "835", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "836", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "837", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "838", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "839", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "840", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "841", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] } ], - "expression" : { - "localId" : "871", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "Equal", - "signature" : [ { - "localId" : "896", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "897", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "880", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "881", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "882", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "883", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "872", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "873", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "874", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal" - } - }, { - "localId" : "892", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "893", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "894", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "895", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "884", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "885", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "886", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal" - } - } ] + "year" : { + "type" : "Literal", + "localId" : "821", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "822", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "823", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "15", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "824", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "13", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "825", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "30", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "826", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "25", + "annotation" : [ ] } - }, { - "localId" : "900", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "UneqDateTimesOnlyDate", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "900", - "s" : [ { - "value" : [ "","define ","UneqDateTimesOnlyDate",": " ] - }, { - "r" : "901", - "s" : [ { - "r" : "910", - "s" : [ { - "r" : "902", - "value" : [ "DateTime","(","2000",", ","3",", ","14",")" ] - } ] - }, { - "value" : [ " ","="," " ] - }, { - "r" : "922", - "s" : [ { - "r" : "914", - "value" : [ "DateTime","(","2000",", ","3",", ","15",")" ] - } ] - } ] - } ] - } + }, { + "type" : "DateTime", + "localId" : "858", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "859", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "860", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "861", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "862", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "863", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "864", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "865", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] } ], - "expression" : { - "localId" : "901", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "Equal", - "signature" : [ { - "localId" : "926", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "927", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "910", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "911", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "912", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "913", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "902", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "903", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "904", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "14", - "type" : "Literal" - } - }, { - "localId" : "922", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "923", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "924", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "925", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "914", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "915", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "916", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal" - } - } ] + "year" : { + "type" : "Literal", + "localId" : "842", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "843", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "844", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "15", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "845", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "13", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "846", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "30", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "847", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "25", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "848", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] } - }, { - "localId" : "930", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "PossiblyEqDateTimesOnlyDateOnOne", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "930", - "s" : [ { - "value" : [ "","define ","PossiblyEqDateTimesOnlyDateOnOne",": " ] - }, { - "r" : "931", - "s" : [ { - "r" : "940", - "s" : [ { - "r" : "932", - "value" : [ "DateTime","(","2000",", ","3",", ","13",")" ] - } ] - }, { - "value" : [ " ","="," " ] - }, { - "r" : "958", - "s" : [ { - "r" : "944", - "value" : [ "DateTime","(","2000",", ","3",", ","13",", ","13",", ","43",", ","32",")" ] - } ] - } ] - } ] - } + } ] + } + }, { + "localId" : "870", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "EqDateTimesOnlyDate", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "870", + "s" : [ { + "value" : [ "", "define ", "EqDateTimesOnlyDate", ": " ] + }, { + "r" : "871", + "s" : [ { + "r" : "880", + "s" : [ { + "r" : "872", + "value" : [ "DateTime", "(", "2000", ", ", "3", ", ", "15", ")" ] + } ] + }, { + "value" : [ " ", "=", " " ] + }, { + "r" : "892", + "s" : [ { + "r" : "884", + "value" : [ "DateTime", "(", "2000", ", ", "3", ", ", "15", ")" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Equal", + "localId" : "871", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "896", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "897", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "DateTime", + "localId" : "880", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "881", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "882", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "883", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] } ], - "expression" : { - "localId" : "931", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "Equal", - "signature" : [ { - "localId" : "965", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "966", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "940", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "941", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "942", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "943", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "932", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "933", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "934", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "13", - "type" : "Literal" - } - }, { - "localId" : "958", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "959", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "960", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "961", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "962", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "963", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "964", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "944", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "945", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "946", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "13", - "type" : "Literal" - }, - "hour" : { - "localId" : "947", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "13", - "type" : "Literal" - }, - "minute" : { - "localId" : "948", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "43", - "type" : "Literal" - }, - "second" : { - "localId" : "949", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "32", - "type" : "Literal" - } - } ] + "year" : { + "type" : "Literal", + "localId" : "872", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "873", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "874", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "15", + "annotation" : [ ] } - }, { - "localId" : "969", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "UneqDateTimesOnlyDateOnOne", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "969", - "s" : [ { - "value" : [ "","define ","UneqDateTimesOnlyDateOnOne",": " ] - }, { - "r" : "970", - "s" : [ { - "r" : "985", - "s" : [ { - "r" : "971", - "value" : [ "DateTime","(","2000",", ","4",", ","13",", ","12",", ","43",", ","32",")" ] - } ] - }, { - "value" : [ " ","="," " ] - }, { - "r" : "1000", - "s" : [ { - "r" : "992", - "value" : [ "DateTime","(","2000",", ","3",", ","13",")" ] - } ] - } ] - } ] - } + }, { + "type" : "DateTime", + "localId" : "892", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "893", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "894", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "895", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] } ], - "expression" : { - "localId" : "970", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "Equal", - "signature" : [ { - "localId" : "1004", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1005", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "985", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "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" - }, { - "localId" : "988", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "989", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "990", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "991", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "971", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "972", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "4", - "type" : "Literal" - }, - "day" : { - "localId" : "973", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "13", - "type" : "Literal" - }, - "hour" : { - "localId" : "974", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "12", - "type" : "Literal" - }, - "minute" : { - "localId" : "975", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "43", - "type" : "Literal" - }, - "second" : { - "localId" : "976", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "32", - "type" : "Literal" - } - }, { - "localId" : "1000", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "1001", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1002", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1003", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "992", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "993", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "994", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "13", - "type" : "Literal" - } - } ] + "year" : { + "type" : "Literal", + "localId" : "884", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "885", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "886", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "15", + "annotation" : [ ] } - }, { - "localId" : "1008", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "PossiblyEqualDateTimes", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "1008", - "s" : [ { - "value" : [ "","define ","PossiblyEqualDateTimes",": " ] - }, { - "r" : "1009", - "s" : [ { - "r" : "1018", - "s" : [ { - "r" : "1010", - "value" : [ "DateTime","(","2000",", ","3",", ","15",")" ] - } ] - }, { - "value" : [ " ","="," " ] - }, { - "r" : "1026", - "s" : [ { - "r" : "1022", - "value" : [ "DateTime","(","2000",")" ] - } ] - } ] - } ] - } + } ] + } + }, { + "localId" : "900", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "UneqDateTimesOnlyDate", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "900", + "s" : [ { + "value" : [ "", "define ", "UneqDateTimesOnlyDate", ": " ] + }, { + "r" : "901", + "s" : [ { + "r" : "910", + "s" : [ { + "r" : "902", + "value" : [ "DateTime", "(", "2000", ", ", "3", ", ", "14", ")" ] + } ] + }, { + "value" : [ " ", "=", " " ] + }, { + "r" : "922", + "s" : [ { + "r" : "914", + "value" : [ "DateTime", "(", "2000", ", ", "3", ", ", "15", ")" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Equal", + "localId" : "901", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "926", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "927", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "DateTime", + "localId" : "910", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "911", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "912", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "913", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] } ], - "expression" : { - "localId" : "1009", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "Equal", - "signature" : [ { - "localId" : "1028", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1029", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "1018", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "1019", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1020", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1021", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1010", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "1011", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "1012", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal" - } - }, { - "localId" : "1026", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "1027", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1022", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - } - } ] + "year" : { + "type" : "Literal", + "localId" : "902", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "903", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "904", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "14", + "annotation" : [ ] } - }, { - "localId" : "1032", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "ImpossiblyEqualDateTimes", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "1032", - "s" : [ { - "value" : [ "","define ","ImpossiblyEqualDateTimes",": " ] - }, { - "r" : "1033", - "s" : [ { - "r" : "1042", - "s" : [ { - "r" : "1034", - "value" : [ "DateTime","(","2000",", ","3",", ","15",")" ] - } ] - }, { - "value" : [ " ","="," " ] - }, { - "r" : "1052", - "s" : [ { - "r" : "1046", - "value" : [ "DateTime","(","2000",", ","4",")" ] - } ] - } ] - } ] - } + }, { + "type" : "DateTime", + "localId" : "922", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "923", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "924", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "925", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] } ], - "expression" : { - "localId" : "1033", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "Equal", - "signature" : [ { - "localId" : "1055", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1056", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "1042", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "1043", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1044", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1045", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1034", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "1035", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "1036", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal" - } - }, { - "localId" : "1052", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "1053", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1054", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1046", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "1047", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "4", - "type" : "Literal" - } - } ] + "year" : { + "type" : "Literal", + "localId" : "914", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "915", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "916", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "15", + "annotation" : [ ] } - }, { - "localId" : "1059", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "DateAndDateTimeTrue", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "1059", - "s" : [ { - "value" : [ "","define ","DateAndDateTimeTrue",": " ] - }, { - "r" : "1060", - "s" : [ { - "r" : "1069", - "s" : [ { - "r" : "1061", - "value" : [ "Date","(","2000",", ","3",", ","13",")" ] - } ] - }, { - "value" : [ " ","="," " ] - }, { - "r" : "1081", - "s" : [ { - "r" : "1073", - "value" : [ "DateTime","(","2000",", ","3",", ","13",")" ] - } ] - } ] - } ] - } + } ] + } + }, { + "localId" : "930", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "PossiblyEqDateTimesOnlyDateOnOne", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "930", + "s" : [ { + "value" : [ "", "define ", "PossiblyEqDateTimesOnlyDateOnOne", ": " ] + }, { + "r" : "931", + "s" : [ { + "r" : "940", + "s" : [ { + "r" : "932", + "value" : [ "DateTime", "(", "2000", ", ", "3", ", ", "13", ")" ] + } ] + }, { + "value" : [ " ", "=", " " ] + }, { + "r" : "958", + "s" : [ { + "r" : "944", + "value" : [ "DateTime", "(", "2000", ", ", "3", ", ", "13", ", ", "13", ", ", "43", ", ", "32", ")" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Equal", + "localId" : "931", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "965", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "966", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "DateTime", + "localId" : "940", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "941", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "942", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "943", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] } ], - "expression" : { - "localId" : "1060", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "Equal", - "signature" : [ { - "localId" : "1088", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1089", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "1086", - "type" : "ToDateTime", - "signature" : [ { - "localId" : "1087", - "name" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "1069", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "Date", - "signature" : [ { - "localId" : "1070", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1071", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1072", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1061", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "1062", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "1063", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "13", - "type" : "Literal" - } - } - }, { - "localId" : "1081", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "1082", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1083", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1084", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1073", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "1074", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "1075", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "13", - "type" : "Literal" - } - } ] + "year" : { + "type" : "Literal", + "localId" : "932", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "933", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "934", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "13", + "annotation" : [ ] } - }, { - "localId" : "1092", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "DateAndDateTimeNotEqual", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "1092", - "s" : [ { - "value" : [ "","define ","DateAndDateTimeNotEqual",": " ] - }, { - "r" : "1093", - "s" : [ { - "r" : "1102", - "s" : [ { - "r" : "1094", - "value" : [ "Date","(","2000",", ","3",", ","13",")" ] - } ] - }, { - "value" : [ " ","="," " ] - }, { - "r" : "1114", - "s" : [ { - "r" : "1106", - "value" : [ "DateTime","(","2000",", ","3",", ","12",")" ] - } ] - } ] - } ] - } + }, { + "type" : "DateTime", + "localId" : "958", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "959", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "960", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "961", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "962", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "963", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "964", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] } ], - "expression" : { - "localId" : "1093", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "Equal", - "signature" : [ { - "localId" : "1121", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1122", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "1119", - "type" : "ToDateTime", - "signature" : [ { - "localId" : "1120", - "name" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "1102", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "Date", - "signature" : [ { - "localId" : "1103", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1104", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1105", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1094", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "1095", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "1096", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "13", - "type" : "Literal" - } - } - }, { - "localId" : "1114", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "1115", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1116", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1117", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1106", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "1107", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "1108", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "12", - "type" : "Literal" - } - } ] + "year" : { + "type" : "Literal", + "localId" : "944", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "945", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "946", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "13", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "947", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "13", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "948", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "43", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "949", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "32", + "annotation" : [ ] } - }, { - "localId" : "1125", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "DateAndDateTimeUncertainNull", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "1125", - "s" : [ { - "value" : [ "","define ","DateAndDateTimeUncertainNull",": " ] - }, { - "r" : "1126", - "s" : [ { - "r" : "1135", - "s" : [ { - "r" : "1127", - "value" : [ "Date","(","2000",", ","3",", ","13",")" ] - } ] - }, { - "value" : [ " ","="," " ] - }, { - "r" : "1153", - "s" : [ { - "r" : "1139", - "value" : [ "DateTime","(","2000",", ","3",", ","13",", ","2",", ","4",", ","23",")" ] - } ] - } ] - } ] - } + } ] + } + }, { + "localId" : "969", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "UneqDateTimesOnlyDateOnOne", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "969", + "s" : [ { + "value" : [ "", "define ", "UneqDateTimesOnlyDateOnOne", ": " ] + }, { + "r" : "970", + "s" : [ { + "r" : "985", + "s" : [ { + "r" : "971", + "value" : [ "DateTime", "(", "2000", ", ", "4", ", ", "13", ", ", "12", ", ", "43", ", ", "32", ")" ] + } ] + }, { + "value" : [ " ", "=", " " ] + }, { + "r" : "1000", + "s" : [ { + "r" : "992", + "value" : [ "DateTime", "(", "2000", ", ", "3", ", ", "13", ")" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Equal", + "localId" : "970", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1004", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1005", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "DateTime", + "localId" : "985", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "986", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "987", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "988", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "989", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "990", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "991", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] } ], - "expression" : { - "localId" : "1126", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "Equal", - "signature" : [ { - "localId" : "1163", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1164", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "1161", - "type" : "ToDateTime", - "signature" : [ { - "localId" : "1162", - "name" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "1135", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "Date", - "signature" : [ { - "localId" : "1136", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1137", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1138", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1127", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "1128", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "1129", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "13", - "type" : "Literal" - } - } - }, { - "localId" : "1153", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "1154", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1155", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1156", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1157", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1158", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1159", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1139", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "1140", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "1141", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "13", - "type" : "Literal" - }, - "hour" : { - "localId" : "1142", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal" - }, - "minute" : { - "localId" : "1143", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "4", - "type" : "Literal" - }, - "second" : { - "localId" : "1144", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "23", - "type" : "Literal" - } - } ] + "year" : { + "type" : "Literal", + "localId" : "971", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "972", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "4", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "973", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "13", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "974", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "12", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "975", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "43", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "976", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "32", + "annotation" : [ ] } - }, { - "localId" : "1167", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "DateTimeAndDateTrue", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "1167", - "s" : [ { - "value" : [ "","define ","DateTimeAndDateTrue",": " ] - }, { - "r" : "1168", - "s" : [ { - "r" : "1177", - "s" : [ { - "r" : "1169", - "value" : [ "DateTime","(","2000",", ","3",", ","13",")" ] - } ] - }, { - "value" : [ " ","="," " ] - }, { - "r" : "1189", - "s" : [ { - "r" : "1181", - "value" : [ "Date","(","2000",", ","3",", ","13",")" ] - } ] - } ] - } ] - } + }, { + "type" : "DateTime", + "localId" : "1000", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1001", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1002", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1003", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] } ], - "expression" : { - "localId" : "1168", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "Equal", - "signature" : [ { - "localId" : "1196", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1197", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "1177", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "1178", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1179", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1180", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1169", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "1170", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "1171", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "13", - "type" : "Literal" - } - }, { - "localId" : "1194", - "type" : "ToDateTime", - "signature" : [ { - "localId" : "1195", - "name" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "1189", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "Date", - "signature" : [ { - "localId" : "1190", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1191", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1192", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1181", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "1182", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "1183", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "13", - "type" : "Literal" - } - } - } ] + "year" : { + "type" : "Literal", + "localId" : "992", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "993", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "994", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "13", + "annotation" : [ ] } - }, { - "localId" : "1200", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "DateTimeAndDateNotEqual", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "1200", - "s" : [ { - "value" : [ "","define ","DateTimeAndDateNotEqual",": " ] - }, { - "r" : "1201", - "s" : [ { - "r" : "1210", - "s" : [ { - "r" : "1202", - "value" : [ "DateTime","(","2000",", ","3",", ","12",")" ] - } ] - }, { - "value" : [ " ","="," " ] - }, { - "r" : "1222", - "s" : [ { - "r" : "1214", - "value" : [ "Date","(","2000",", ","3",", ","13",")" ] - } ] - } ] - } ] - } + } ] + } + }, { + "localId" : "1008", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "PossiblyEqualDateTimes", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "1008", + "s" : [ { + "value" : [ "", "define ", "PossiblyEqualDateTimes", ": " ] + }, { + "r" : "1009", + "s" : [ { + "r" : "1018", + "s" : [ { + "r" : "1010", + "value" : [ "DateTime", "(", "2000", ", ", "3", ", ", "15", ")" ] + } ] + }, { + "value" : [ " ", "=", " " ] + }, { + "r" : "1026", + "s" : [ { + "r" : "1022", + "value" : [ "DateTime", "(", "2000", ")" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Equal", + "localId" : "1009", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1028", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1029", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "DateTime", + "localId" : "1018", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1019", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1020", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1021", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] } ], - "expression" : { - "localId" : "1201", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "Equal", - "signature" : [ { - "localId" : "1229", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1230", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "1210", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "1211", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1212", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1213", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1202", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "1203", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "1204", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "12", - "type" : "Literal" - } - }, { - "localId" : "1227", - "type" : "ToDateTime", - "signature" : [ { - "localId" : "1228", - "name" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "1222", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "Date", - "signature" : [ { - "localId" : "1223", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1224", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1225", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1214", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "1215", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "1216", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "13", - "type" : "Literal" - } - } - } ] + "year" : { + "type" : "Literal", + "localId" : "1010", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1011", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "1012", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "15", + "annotation" : [ ] } - }, { - "localId" : "1233", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "DateTimeAndDateUncertainNull", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "1233", - "s" : [ { - "value" : [ "","define ","DateTimeAndDateUncertainNull",": " ] - }, { - "r" : "1234", - "s" : [ { - "r" : "1249", - "s" : [ { - "r" : "1235", - "value" : [ "DateTime","(","2000",", ","3",", ","13",", ","2",", ","4",", ","23",")" ] - } ] - }, { - "value" : [ " ","="," " ] - }, { - "r" : "1264", - "s" : [ { - "r" : "1256", - "value" : [ "Date","(","2000",", ","3",", ","13",")" ] - } ] - } ] - } ] - } + }, { + "type" : "DateTime", + "localId" : "1026", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1027", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] } ], - "expression" : { - "localId" : "1234", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "Equal", - "signature" : [ { - "localId" : "1271", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1272", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "1249", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "1250", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1251", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1252", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1253", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1254", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1255", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1235", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "1236", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "1237", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "13", - "type" : "Literal" - }, - "hour" : { - "localId" : "1238", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal" - }, - "minute" : { - "localId" : "1239", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "4", - "type" : "Literal" - }, - "second" : { - "localId" : "1240", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "23", - "type" : "Literal" - } - }, { - "localId" : "1269", - "type" : "ToDateTime", - "signature" : [ { - "localId" : "1270", - "name" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "1264", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "Date", - "signature" : [ { - "localId" : "1265", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1266", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1267", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1256", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "1257", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "1258", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "13", - "type" : "Literal" - } - } - } ] + "year" : { + "type" : "Literal", + "localId" : "1022", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] } - }, { - "localId" : "1275", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "AGtB_Quantity", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "1275", - "s" : [ { - "value" : [ "","define ","AGtB_Quantity",": " ] - }, { - "r" : "1276", - "s" : [ { - "r" : "1277", - "s" : [ { - "value" : [ "5 ","'m'" ] - } ] - }, { - "value" : [ " ","="," " ] - }, { - "r" : "1278", - "s" : [ { - "value" : [ "4 ","'m'" ] - } ] - } ] - } ] - } + } ] + } + }, { + "localId" : "1032", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "ImpossiblyEqualDateTimes", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "1032", + "s" : [ { + "value" : [ "", "define ", "ImpossiblyEqualDateTimes", ": " ] + }, { + "r" : "1033", + "s" : [ { + "r" : "1042", + "s" : [ { + "r" : "1034", + "value" : [ "DateTime", "(", "2000", ", ", "3", ", ", "15", ")" ] + } ] + }, { + "value" : [ " ", "=", " " ] + }, { + "r" : "1052", + "s" : [ { + "r" : "1046", + "value" : [ "DateTime", "(", "2000", ", ", "4", ")" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Equal", + "localId" : "1033", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1055", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1056", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "DateTime", + "localId" : "1042", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1043", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1044", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1045", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] } ], - "expression" : { - "localId" : "1276", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "Equal", - "signature" : [ { - "localId" : "1279", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1280", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "1277", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "value" : 5, - "unit" : "m", - "type" : "Quantity" - }, { - "localId" : "1278", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "value" : 4, - "unit" : "m", - "type" : "Quantity" - } ] + "year" : { + "type" : "Literal", + "localId" : "1034", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1035", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "1036", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "15", + "annotation" : [ ] } - }, { - "localId" : "1283", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "AEqB_Quantity", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "1283", - "s" : [ { - "value" : [ "","define ","AEqB_Quantity",": " ] - }, { - "r" : "1284", - "s" : [ { - "r" : "1285", - "s" : [ { - "value" : [ "5 ","'m'" ] - } ] - }, { - "value" : [ " ","="," " ] - }, { - "r" : "1286", - "s" : [ { - "value" : [ "5 ","'m'" ] - } ] - } ] - } ] - } + }, { + "type" : "DateTime", + "localId" : "1052", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1053", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1054", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] } ], - "expression" : { - "localId" : "1284", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "Equal", - "signature" : [ { - "localId" : "1287", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1288", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "1285", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "value" : 5, - "unit" : "m", - "type" : "Quantity" - }, { - "localId" : "1286", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "value" : 5, - "unit" : "m", - "type" : "Quantity" - } ] + "year" : { + "type" : "Literal", + "localId" : "1046", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1047", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "4", + "annotation" : [ ] } - }, { - "localId" : "1291", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "ALtB_Quantity", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "1291", - "s" : [ { - "value" : [ "","define ","ALtB_Quantity",": " ] - }, { - "r" : "1292", - "s" : [ { - "r" : "1293", - "s" : [ { - "value" : [ "5 ","'m'" ] - } ] - }, { - "value" : [ " ","="," " ] - }, { - "r" : "1294", - "s" : [ { - "value" : [ "6 ","'m'" ] - } ] - } ] - } ] - } + } ] + } + }, { + "localId" : "1059", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "DateAndDateTimeTrue", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "1059", + "s" : [ { + "value" : [ "", "define ", "DateAndDateTimeTrue", ": " ] + }, { + "r" : "1060", + "s" : [ { + "r" : "1069", + "s" : [ { + "r" : "1061", + "value" : [ "Date", "(", "2000", ", ", "3", ", ", "13", ")" ] + } ] + }, { + "value" : [ " ", "=", " " ] + }, { + "r" : "1081", + "s" : [ { + "r" : "1073", + "value" : [ "DateTime", "(", "2000", ", ", "3", ", ", "13", ")" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Equal", + "localId" : "1060", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1088", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1089", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "ToDateTime", + "localId" : "1086", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1087", + "name" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ] } ], - "expression" : { - "localId" : "1292", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "Equal", - "signature" : [ { - "localId" : "1295", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1296", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "1293", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "value" : 5, - "unit" : "m", - "type" : "Quantity" - }, { - "localId" : "1294", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "value" : 6, - "unit" : "m", - "type" : "Quantity" - } ] + "operand" : { + "type" : "Date", + "localId" : "1069", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1070", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1071", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1072", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1061", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1062", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "1063", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "13", + "annotation" : [ ] + } } - }, { - "localId" : "1299", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "AGtB_Quantity_diff", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "1299", - "s" : [ { - "value" : [ "","define ","AGtB_Quantity_diff",": " ] - }, { - "r" : "1300", - "s" : [ { - "r" : "1301", - "s" : [ { - "value" : [ "5 ","'m'" ] - } ] - }, { - "value" : [ " ","="," " ] - }, { - "r" : "1302", - "s" : [ { - "value" : [ "5 ","'cm'" ] - } ] - } ] - } ] - } + }, { + "type" : "DateTime", + "localId" : "1081", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1082", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1083", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1084", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] } ], - "expression" : { - "localId" : "1300", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "Equal", - "signature" : [ { - "localId" : "1303", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1304", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "1301", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "value" : 5, - "unit" : "m", - "type" : "Quantity" - }, { - "localId" : "1302", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "value" : 5, - "unit" : "cm", - "type" : "Quantity" - } ] + "year" : { + "type" : "Literal", + "localId" : "1073", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1074", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "1075", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "13", + "annotation" : [ ] } - }, { - "localId" : "1307", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "AEqB_Quantity_diff", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "1307", - "s" : [ { - "value" : [ "","define ","AEqB_Quantity_diff",": " ] - }, { - "r" : "1308", - "s" : [ { - "r" : "1309", - "s" : [ { - "value" : [ "5 ","'m'" ] - } ] - }, { - "value" : [ " ","="," " ] - }, { - "r" : "1310", - "s" : [ { - "value" : [ "500 ","'cm'" ] - } ] - } ] - } ] - } + } ] + } + }, { + "localId" : "1092", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "DateAndDateTimeNotEqual", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "1092", + "s" : [ { + "value" : [ "", "define ", "DateAndDateTimeNotEqual", ": " ] + }, { + "r" : "1093", + "s" : [ { + "r" : "1102", + "s" : [ { + "r" : "1094", + "value" : [ "Date", "(", "2000", ", ", "3", ", ", "13", ")" ] + } ] + }, { + "value" : [ " ", "=", " " ] + }, { + "r" : "1114", + "s" : [ { + "r" : "1106", + "value" : [ "DateTime", "(", "2000", ", ", "3", ", ", "12", ")" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Equal", + "localId" : "1093", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1121", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1122", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "ToDateTime", + "localId" : "1119", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1120", + "name" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ] } ], - "expression" : { - "localId" : "1308", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "Equal", - "signature" : [ { - "localId" : "1311", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1312", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "1309", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "value" : 5, - "unit" : "m", - "type" : "Quantity" - }, { - "localId" : "1310", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "value" : 500, - "unit" : "cm", - "type" : "Quantity" - } ] + "operand" : { + "type" : "Date", + "localId" : "1102", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1103", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1104", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1105", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1094", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1095", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "1096", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "13", + "annotation" : [ ] + } } - }, { - "localId" : "1315", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "ALtB_Quantity_diff", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "1315", - "s" : [ { - "value" : [ "","define ","ALtB_Quantity_diff",": " ] - }, { - "r" : "1316", - "s" : [ { - "r" : "1317", - "s" : [ { - "value" : [ "5 ","'m'" ] - } ] - }, { - "value" : [ " ","="," " ] - }, { - "r" : "1318", - "s" : [ { - "value" : [ "5 ","'km'" ] - } ] - } ] - } ] - } + }, { + "type" : "DateTime", + "localId" : "1114", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1115", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1116", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1117", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] } ], - "expression" : { - "localId" : "1316", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "Equal", - "signature" : [ { - "localId" : "1319", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1320", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "1317", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "value" : 5, - "unit" : "m", - "type" : "Quantity" - }, { - "localId" : "1318", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "value" : 5, - "unit" : "km", - "type" : "Quantity" - } ] + "year" : { + "type" : "Literal", + "localId" : "1106", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1107", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "1108", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "12", + "annotation" : [ ] } - }, { - "localId" : "1323", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "AGtB_Quantity_incompatible", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "1323", - "s" : [ { - "value" : [ "","define ","AGtB_Quantity_incompatible",": " ] - }, { - "r" : "1324", - "s" : [ { - "r" : "1325", - "s" : [ { - "value" : [ "5 ","'Cel'" ] - } ] - }, { - "value" : [ " ","="," " ] - }, { - "r" : "1326", - "s" : [ { - "value" : [ "4 ","'m'" ] - } ] - } ] - } ] - } + } ] + } + }, { + "localId" : "1125", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "DateAndDateTimeUncertainNull", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "1125", + "s" : [ { + "value" : [ "", "define ", "DateAndDateTimeUncertainNull", ": " ] + }, { + "r" : "1126", + "s" : [ { + "r" : "1135", + "s" : [ { + "r" : "1127", + "value" : [ "Date", "(", "2000", ", ", "3", ", ", "13", ")" ] + } ] + }, { + "value" : [ " ", "=", " " ] + }, { + "r" : "1153", + "s" : [ { + "r" : "1139", + "value" : [ "DateTime", "(", "2000", ", ", "3", ", ", "13", ", ", "2", ", ", "4", ", ", "23", ")" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Equal", + "localId" : "1126", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1163", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1164", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "ToDateTime", + "localId" : "1161", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1162", + "name" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ] } ], - "expression" : { - "localId" : "1324", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "Equal", - "signature" : [ { - "localId" : "1327", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1328", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "1325", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "value" : 5, - "unit" : "Cel", - "type" : "Quantity" - }, { - "localId" : "1326", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "value" : 4, - "unit" : "m", - "type" : "Quantity" - } ] + "operand" : { + "type" : "Date", + "localId" : "1135", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1136", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1137", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1138", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1127", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1128", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "1129", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "13", + "annotation" : [ ] + } } - }, { - "localId" : "1331", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "AEqB_Quantity_incompatible", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "1331", - "s" : [ { - "value" : [ "","define ","AEqB_Quantity_incompatible",": " ] - }, { - "r" : "1332", - "s" : [ { - "r" : "1333", - "s" : [ { - "value" : [ "5 ","'Cel'" ] - } ] - }, { - "value" : [ " ","="," " ] - }, { - "r" : "1334", - "s" : [ { - "value" : [ "5 ","'m'" ] - } ] - } ] - } ] - } + }, { + "type" : "DateTime", + "localId" : "1153", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1154", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1155", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1156", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1157", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1158", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1159", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] } ], - "expression" : { - "localId" : "1332", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "Equal", - "signature" : [ { - "localId" : "1335", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1336", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "1333", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "value" : 5, - "unit" : "Cel", - "type" : "Quantity" - }, { - "localId" : "1334", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "value" : 5, - "unit" : "m", - "type" : "Quantity" - } ] + "year" : { + "type" : "Literal", + "localId" : "1139", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1140", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "1141", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "13", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "1142", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "1143", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "4", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "1144", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "23", + "annotation" : [ ] } - }, { - "localId" : "1339", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "ALtB_Quantity_incompatible", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "1339", - "s" : [ { - "value" : [ "","define ","ALtB_Quantity_incompatible",": " ] - }, { - "r" : "1340", - "s" : [ { - "r" : "1341", - "s" : [ { - "value" : [ "5 ","'Cel'" ] - } ] - }, { - "value" : [ " ","="," " ] - }, { - "r" : "1342", - "s" : [ { - "value" : [ "40 ","'m'" ] - } ] - } ] - } ] - } + } ] + } + }, { + "localId" : "1167", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "DateTimeAndDateTrue", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "1167", + "s" : [ { + "value" : [ "", "define ", "DateTimeAndDateTrue", ": " ] + }, { + "r" : "1168", + "s" : [ { + "r" : "1177", + "s" : [ { + "r" : "1169", + "value" : [ "DateTime", "(", "2000", ", ", "3", ", ", "13", ")" ] + } ] + }, { + "value" : [ " ", "=", " " ] + }, { + "r" : "1189", + "s" : [ { + "r" : "1181", + "value" : [ "Date", "(", "2000", ", ", "3", ", ", "13", ")" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Equal", + "localId" : "1168", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1196", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1197", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "DateTime", + "localId" : "1177", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1178", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1179", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1180", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] } ], - "expression" : { - "localId" : "1340", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "Equal", - "signature" : [ { - "localId" : "1343", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1344", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "1341", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "value" : 5, - "unit" : "Cel", - "type" : "Quantity" - }, { - "localId" : "1342", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "value" : 40, - "unit" : "m", - "type" : "Quantity" - } ] + "year" : { + "type" : "Literal", + "localId" : "1169", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1170", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "1171", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "13", + "annotation" : [ ] } - }, { - "localId" : "1347", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "EqRatios", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "1347", + }, { + "type" : "ToDateTime", + "localId" : "1194", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1195", + "name" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ] + } ], + "operand" : { + "type" : "Date", + "localId" : "1189", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1190", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1191", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1192", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1181", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1182", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "1183", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "13", + "annotation" : [ ] + } + } + } ] + } + }, { + "localId" : "1200", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "DateTimeAndDateNotEqual", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "1200", + "s" : [ { + "value" : [ "", "define ", "DateTimeAndDateNotEqual", ": " ] + }, { + "r" : "1201", + "s" : [ { + "r" : "1210", + "s" : [ { + "r" : "1202", + "value" : [ "DateTime", "(", "2000", ", ", "3", ", ", "12", ")" ] + } ] + }, { + "value" : [ " ", "=", " " ] + }, { + "r" : "1222", + "s" : [ { + "r" : "1214", + "value" : [ "Date", "(", "2000", ", ", "3", ", ", "13", ")" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Equal", + "localId" : "1201", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1229", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1230", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "DateTime", + "localId" : "1210", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1211", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1212", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1213", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1202", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1203", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "1204", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "12", + "annotation" : [ ] + } + }, { + "type" : "ToDateTime", + "localId" : "1227", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1228", + "name" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ] + } ], + "operand" : { + "type" : "Date", + "localId" : "1222", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1223", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1224", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1225", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1214", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1215", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "1216", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "13", + "annotation" : [ ] + } + } + } ] + } + }, { + "localId" : "1233", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "DateTimeAndDateUncertainNull", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "1233", + "s" : [ { + "value" : [ "", "define ", "DateTimeAndDateUncertainNull", ": " ] + }, { + "r" : "1234", + "s" : [ { + "r" : "1249", + "s" : [ { + "r" : "1235", + "value" : [ "DateTime", "(", "2000", ", ", "3", ", ", "13", ", ", "2", ", ", "4", ", ", "23", ")" ] + } ] + }, { + "value" : [ " ", "=", " " ] + }, { + "r" : "1264", + "s" : [ { + "r" : "1256", + "value" : [ "Date", "(", "2000", ", ", "3", ", ", "13", ")" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Equal", + "localId" : "1234", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1271", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1272", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "DateTime", + "localId" : "1249", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1250", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1251", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1252", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1253", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1254", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1255", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1235", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1236", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "1237", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "13", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "1238", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "1239", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "4", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "1240", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "23", + "annotation" : [ ] + } + }, { + "type" : "ToDateTime", + "localId" : "1269", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1270", + "name" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ] + } ], + "operand" : { + "type" : "Date", + "localId" : "1264", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1265", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1266", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1267", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1256", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1257", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "1258", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "13", + "annotation" : [ ] + } + } + } ] + } + }, { + "localId" : "1275", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "AGtB_Quantity", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "1275", + "s" : [ { + "value" : [ "", "define ", "AGtB_Quantity", ": " ] + }, { + "r" : "1276", + "s" : [ { + "r" : "1277", + "s" : [ { + "value" : [ "5 ", "'m'" ] + } ] + }, { + "value" : [ " ", "=", " " ] + }, { + "r" : "1278", + "s" : [ { + "value" : [ "4 ", "'m'" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Equal", + "localId" : "1276", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1279", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1280", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "Quantity", + "localId" : "1277", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "value" : 5, + "unit" : "m", + "annotation" : [ ] + }, { + "type" : "Quantity", + "localId" : "1278", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "value" : 4, + "unit" : "m", + "annotation" : [ ] + } ] + } + }, { + "localId" : "1283", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "AEqB_Quantity", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "1283", + "s" : [ { + "value" : [ "", "define ", "AEqB_Quantity", ": " ] + }, { + "r" : "1284", + "s" : [ { + "r" : "1285", + "s" : [ { + "value" : [ "5 ", "'m'" ] + } ] + }, { + "value" : [ " ", "=", " " ] + }, { + "r" : "1286", + "s" : [ { + "value" : [ "5 ", "'m'" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Equal", + "localId" : "1284", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1287", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1288", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "Quantity", + "localId" : "1285", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "value" : 5, + "unit" : "m", + "annotation" : [ ] + }, { + "type" : "Quantity", + "localId" : "1286", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "value" : 5, + "unit" : "m", + "annotation" : [ ] + } ] + } + }, { + "localId" : "1291", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "ALtB_Quantity", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "1291", + "s" : [ { + "value" : [ "", "define ", "ALtB_Quantity", ": " ] + }, { + "r" : "1292", + "s" : [ { + "r" : "1293", + "s" : [ { + "value" : [ "5 ", "'m'" ] + } ] + }, { + "value" : [ " ", "=", " " ] + }, { + "r" : "1294", + "s" : [ { + "value" : [ "6 ", "'m'" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Equal", + "localId" : "1292", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1295", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1296", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "Quantity", + "localId" : "1293", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "value" : 5, + "unit" : "m", + "annotation" : [ ] + }, { + "type" : "Quantity", + "localId" : "1294", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "value" : 6, + "unit" : "m", + "annotation" : [ ] + } ] + } + }, { + "localId" : "1299", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "AGtB_Quantity_diff", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "1299", + "s" : [ { + "value" : [ "", "define ", "AGtB_Quantity_diff", ": " ] + }, { + "r" : "1300", + "s" : [ { + "r" : "1301", + "s" : [ { + "value" : [ "5 ", "'m'" ] + } ] + }, { + "value" : [ " ", "=", " " ] + }, { + "r" : "1302", + "s" : [ { + "value" : [ "5 ", "'cm'" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Equal", + "localId" : "1300", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1303", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1304", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "Quantity", + "localId" : "1301", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "value" : 5, + "unit" : "m", + "annotation" : [ ] + }, { + "type" : "Quantity", + "localId" : "1302", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "value" : 5, + "unit" : "cm", + "annotation" : [ ] + } ] + } + }, { + "localId" : "1307", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "AEqB_Quantity_diff", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "1307", + "s" : [ { + "value" : [ "", "define ", "AEqB_Quantity_diff", ": " ] + }, { + "r" : "1308", + "s" : [ { + "r" : "1309", + "s" : [ { + "value" : [ "5 ", "'m'" ] + } ] + }, { + "value" : [ " ", "=", " " ] + }, { + "r" : "1310", + "s" : [ { + "value" : [ "500 ", "'cm'" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Equal", + "localId" : "1308", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1311", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1312", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "Quantity", + "localId" : "1309", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "value" : 5, + "unit" : "m", + "annotation" : [ ] + }, { + "type" : "Quantity", + "localId" : "1310", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "value" : 500, + "unit" : "cm", + "annotation" : [ ] + } ] + } + }, { + "localId" : "1315", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "ALtB_Quantity_diff", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "1315", + "s" : [ { + "value" : [ "", "define ", "ALtB_Quantity_diff", ": " ] + }, { + "r" : "1316", + "s" : [ { + "r" : "1317", + "s" : [ { + "value" : [ "5 ", "'m'" ] + } ] + }, { + "value" : [ " ", "=", " " ] + }, { + "r" : "1318", + "s" : [ { + "value" : [ "5 ", "'km'" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Equal", + "localId" : "1316", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1319", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1320", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "Quantity", + "localId" : "1317", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "value" : 5, + "unit" : "m", + "annotation" : [ ] + }, { + "type" : "Quantity", + "localId" : "1318", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "value" : 5, + "unit" : "km", + "annotation" : [ ] + } ] + } + }, { + "localId" : "1323", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "AGtB_Quantity_incompatible", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "1323", + "s" : [ { + "value" : [ "", "define ", "AGtB_Quantity_incompatible", ": " ] + }, { + "r" : "1324", + "s" : [ { + "r" : "1325", + "s" : [ { + "value" : [ "5 ", "'Cel'" ] + } ] + }, { + "value" : [ " ", "=", " " ] + }, { + "r" : "1326", + "s" : [ { + "value" : [ "4 ", "'m'" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Equal", + "localId" : "1324", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1327", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1328", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "Quantity", + "localId" : "1325", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "value" : 5, + "unit" : "Cel", + "annotation" : [ ] + }, { + "type" : "Quantity", + "localId" : "1326", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "value" : 4, + "unit" : "m", + "annotation" : [ ] + } ] + } + }, { + "localId" : "1331", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "AEqB_Quantity_incompatible", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "1331", + "s" : [ { + "value" : [ "", "define ", "AEqB_Quantity_incompatible", ": " ] + }, { + "r" : "1332", + "s" : [ { + "r" : "1333", + "s" : [ { + "value" : [ "5 ", "'Cel'" ] + } ] + }, { + "value" : [ " ", "=", " " ] + }, { + "r" : "1334", + "s" : [ { + "value" : [ "5 ", "'m'" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Equal", + "localId" : "1332", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1335", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1336", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "Quantity", + "localId" : "1333", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "value" : 5, + "unit" : "Cel", + "annotation" : [ ] + }, { + "type" : "Quantity", + "localId" : "1334", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "value" : 5, + "unit" : "m", + "annotation" : [ ] + } ] + } + }, { + "localId" : "1339", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "ALtB_Quantity_incompatible", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "1339", + "s" : [ { + "value" : [ "", "define ", "ALtB_Quantity_incompatible", ": " ] + }, { + "r" : "1340", + "s" : [ { + "r" : "1341", + "s" : [ { + "value" : [ "5 ", "'Cel'" ] + } ] + }, { + "value" : [ " ", "=", " " ] + }, { + "r" : "1342", + "s" : [ { + "value" : [ "40 ", "'m'" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Equal", + "localId" : "1340", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1343", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1344", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "Quantity", + "localId" : "1341", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "value" : 5, + "unit" : "Cel", + "annotation" : [ ] + }, { + "type" : "Quantity", + "localId" : "1342", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "value" : 40, + "unit" : "m", + "annotation" : [ ] + } ] + } + }, { + "localId" : "1347", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "EqRatios", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "1347", + "s" : [ { + "value" : [ "", "define ", "EqRatios", ": " ] + }, { + "r" : "1348", + "s" : [ { + "r" : "1351", + "s" : [ { + "r" : "1349", "s" : [ { - "value" : [ "","define ","EqRatios",": " ] - }, { - "r" : "1348", - "s" : [ { - "r" : "1351", - "s" : [ { - "r" : "1349", - "s" : [ { - "value" : [ "10 ","'mg'" ] - } ] - }, { - "value" : [ " : " ] - }, { - "r" : "1350", - "s" : [ { - "value" : [ "2 ","'dL'" ] - } ] - } ] - }, { - "value" : [ " ","="," " ] - }, { - "r" : "1354", - "s" : [ { - "r" : "1352", - "s" : [ { - "value" : [ "15 ","'mg'" ] - } ] - }, { - "value" : [ " : " ] - }, { - "r" : "1353", - "s" : [ { - "value" : [ "3 ","'dL'" ] - } ] - } ] - } ] + "value" : [ "10 ", "'mg'" ] } ] - } - } ], - "expression" : { - "localId" : "1348", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "Equal", - "signature" : [ { - "localId" : "1355", - "name" : "{urn:hl7-org:elm-types:r1}Ratio", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1356", - "name" : "{urn:hl7-org:elm-types:r1}Ratio", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "1351", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Ratio", - "type" : "Ratio", - "numerator" : { - "localId" : "1349", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "value" : 10, - "unit" : "mg" - }, - "denominator" : { - "localId" : "1350", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "value" : 2, - "unit" : "dL" - } - }, { - "localId" : "1354", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Ratio", - "type" : "Ratio", - "numerator" : { - "localId" : "1352", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "value" : 15, - "unit" : "mg" - }, - "denominator" : { - "localId" : "1353", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "value" : 3, - "unit" : "dL" - } - } ] + }, { + "value" : [ " : " ] + }, { + "r" : "1350", + "s" : [ { + "value" : [ "2 ", "'dL'" ] + } ] + } ] + }, { + "value" : [ " ", "=", " " ] + }, { + "r" : "1354", + "s" : [ { + "r" : "1352", + "s" : [ { + "value" : [ "15 ", "'mg'" ] + } ] + }, { + "value" : [ " : " ] + }, { + "r" : "1353", + "s" : [ { + "value" : [ "3 ", "'dL'" ] + } ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Equal", + "localId" : "1348", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1355", + "name" : "{urn:hl7-org:elm-types:r1}Ratio", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1356", + "name" : "{urn:hl7-org:elm-types:r1}Ratio", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "Ratio", + "localId" : "1351", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Ratio", + "annotation" : [ ], + "numerator" : { + "localId" : "1349", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "value" : 10, + "unit" : "mg", + "annotation" : [ ] + }, + "denominator" : { + "localId" : "1350", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "value" : 2, + "unit" : "dL", + "annotation" : [ ] } - }, { - "localId" : "1359", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "UneqRatios", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "1359", + }, { + "type" : "Ratio", + "localId" : "1354", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Ratio", + "annotation" : [ ], + "numerator" : { + "localId" : "1352", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "value" : 15, + "unit" : "mg", + "annotation" : [ ] + }, + "denominator" : { + "localId" : "1353", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "value" : 3, + "unit" : "dL", + "annotation" : [ ] + } + } ] + } + }, { + "localId" : "1359", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "UneqRatios", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "1359", + "s" : [ { + "value" : [ "", "define ", "UneqRatios", ": " ] + }, { + "r" : "1360", + "s" : [ { + "r" : "1363", + "s" : [ { + "r" : "1361", "s" : [ { - "value" : [ "","define ","UneqRatios",": " ] - }, { - "r" : "1360", - "s" : [ { - "r" : "1363", - "s" : [ { - "r" : "1361", - "s" : [ { - "value" : [ "10 ","'mg'" ] - } ] - }, { - "value" : [ " : " ] - }, { - "r" : "1362", - "s" : [ { - "value" : [ "2 ","'dL'" ] - } ] - } ] - }, { - "value" : [ " ","="," " ] - }, { - "r" : "1366", - "s" : [ { - "r" : "1364", - "s" : [ { - "value" : [ "15 ","'mg'" ] - } ] - }, { - "value" : [ " : " ] - }, { - "r" : "1365", - "s" : [ { - "value" : [ "4 ","'dL'" ] - } ] - } ] - } ] + "value" : [ "10 ", "'mg'" ] } ] - } - } ], - "expression" : { - "localId" : "1360", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "Equal", - "signature" : [ { - "localId" : "1367", - "name" : "{urn:hl7-org:elm-types:r1}Ratio", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1368", - "name" : "{urn:hl7-org:elm-types:r1}Ratio", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "1363", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Ratio", - "type" : "Ratio", - "numerator" : { - "localId" : "1361", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "value" : 10, - "unit" : "mg" - }, - "denominator" : { - "localId" : "1362", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "value" : 2, - "unit" : "dL" - } - }, { - "localId" : "1366", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Ratio", - "type" : "Ratio", - "numerator" : { - "localId" : "1364", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "value" : 15, - "unit" : "mg" - }, - "denominator" : { - "localId" : "1365", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "value" : 4, - "unit" : "dL" - } - } ] + }, { + "value" : [ " : " ] + }, { + "r" : "1362", + "s" : [ { + "value" : [ "2 ", "'dL'" ] + } ] + } ] + }, { + "value" : [ " ", "=", " " ] + }, { + "r" : "1366", + "s" : [ { + "r" : "1364", + "s" : [ { + "value" : [ "15 ", "'mg'" ] + } ] + }, { + "value" : [ " : " ] + }, { + "r" : "1365", + "s" : [ { + "value" : [ "4 ", "'dL'" ] + } ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Equal", + "localId" : "1360", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1367", + "name" : "{urn:hl7-org:elm-types:r1}Ratio", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1368", + "name" : "{urn:hl7-org:elm-types:r1}Ratio", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "Ratio", + "localId" : "1363", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Ratio", + "annotation" : [ ], + "numerator" : { + "localId" : "1361", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "value" : 10, + "unit" : "mg", + "annotation" : [ ] + }, + "denominator" : { + "localId" : "1362", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "value" : 2, + "unit" : "dL", + "annotation" : [ ] } - } ] - } - } + }, { + "type" : "Ratio", + "localId" : "1366", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Ratio", + "annotation" : [ ], + "numerator" : { + "localId" : "1364", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "value" : 15, + "unit" : "mg", + "annotation" : [ ] + }, + "denominator" : { + "localId" : "1365", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "value" : 4, + "unit" : "dL", + "annotation" : [ ] + } + } ] + } + } ] + } + } } /* NotEqual @@ -5833,15445 +6652,17570 @@ define ALtB_Quantity_incompatible: 5 'Cel' != 40 'm' */ module.exports['NotEqual'] = { - "library" : { - "localId" : "0", - "annotation" : [ { - "translatorVersion" : "3.27.0", - "translatorOptions" : "EnableDateRangeOptimization,EnableAnnotations,EnableResultTypes", - "signatureLevel" : "All", - "type" : "CqlToElmInfo" + "library" : { + "localId" : "0", + "annotation" : [ { + "type" : "CqlToElmInfo", + "translatorVersion" : "4.2.0", + "translatorOptions" : "EnableDateRangeOptimization,EnableAnnotations,EnableResultTypes", + "signatureLevel" : "All" + }, { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "1308", + "s" : [ { + "value" : [ "", "library TestSnippet version '1'" ] + } ] + } + } ], + "identifier" : { + "id" : "TestSnippet", + "version" : "1" + }, + "schemaIdentifier" : { + "id" : "urn:hl7-org:elm", + "version" : "r1" + }, + "usings" : { + "def" : [ { + "localId" : "1", + "localIdentifier" : "System", + "uri" : "urn:hl7-org:elm-types:r1", + "annotation" : [ ] }, { - "type" : "Annotation", - "s" : { - "r" : "1308", + "localId" : "206", + "localIdentifier" : "Simple", + "uri" : "https://github.com/cqframework/cql-execution/simple", + "version" : "1.0.0", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "206", "s" : [ { - "value" : [ "","library TestSnippet version '1'" ] - } ] - } - } ], - "identifier" : { - "id" : "TestSnippet", - "version" : "1" - }, - "schemaIdentifier" : { - "id" : "urn:hl7-org:elm", - "version" : "r1" - }, - "usings" : { - "def" : [ { - "localId" : "1", - "localIdentifier" : "System", - "uri" : "urn:hl7-org:elm-types:r1" - }, { - "localId" : "206", - "localIdentifier" : "Simple", - "uri" : "https://github.com/cqframework/cql-execution/simple", - "version" : "1.0.0", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "206", - "s" : [ { - "value" : [ "","using " ] - }, { - "s" : [ { - "value" : [ "Simple" ] - } ] - }, { - "value" : [ " version '1.0.0'" ] - } ] - } - } ] - } ] - }, - "contexts" : { - "def" : [ { - "localId" : "211", - "name" : "Patient" - } ] - }, - "statements" : { - "def" : [ { - "localId" : "209", - "name" : "Patient", - "context" : "Patient", - "expression" : { - "localId" : "210", - "type" : "SingletonFrom", - "signature" : [ ], - "operand" : { - "localId" : "208", - "dataType" : "{https://github.com/cqframework/cql-execution/simple}Patient", - "type" : "Retrieve", - "include" : [ ], - "codeFilter" : [ ], - "dateFilter" : [ ], - "otherFilter" : [ ] - } - } - }, { - "localId" : "214", + "value" : [ "", "using " ] + }, { + "s" : [ { + "value" : [ "Simple" ] + } ] + }, { + "value" : [ " version '1.0.0'" ] + } ] + } + } ] + } ] + }, + "contexts" : { + "def" : [ { + "localId" : "211", + "name" : "Patient", + "annotation" : [ ] + } ] + }, + "statements" : { + "def" : [ { + "localId" : "209", + "name" : "Patient", + "context" : "Patient", + "annotation" : [ ], + "expression" : { + "type" : "SingletonFrom", + "localId" : "210", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Retrieve", + "localId" : "208", + "dataType" : "{https://github.com/cqframework/cql-execution/simple}Patient", + "annotation" : [ ], + "include" : [ ], + "codeFilter" : [ ], + "dateFilter" : [ ], + "otherFilter" : [ ] + } + } + }, { + "localId" : "214", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "AGtB_Int", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "214", + "s" : [ { + "value" : [ "", "define ", "AGtB_Int", ": " ] + }, { + "r" : "220", + "s" : [ { + "r" : "216", + "value" : [ "5", " ", "!=", " ", "4" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Not", + "localId" : "220", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "221", + "name" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ] + } ], + "operand" : { + "type" : "Equal", + "localId" : "215", "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "AGtB_Int", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "214", - "s" : [ { - "value" : [ "","define ","AGtB_Int",": " ] - }, { - "r" : "220", - "s" : [ { - "r" : "216", - "value" : [ "5"," ","!="," ","4" ] - } ] - } ] - } + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "218", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "219", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] } ], - "expression" : { - "localId" : "220", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "Not", - "signature" : [ { - "localId" : "221", - "name" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "215", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "Equal", - "signature" : [ { - "localId" : "218", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "219", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "216", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal" - }, { - "localId" : "217", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "4", - "type" : "Literal" - } ] - } - } - }, { - "localId" : "224", + "operand" : [ { + "type" : "Literal", + "localId" : "216", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "5", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "217", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "4", + "annotation" : [ ] + } ] + } + } + }, { + "localId" : "224", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "AEqB_Int", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "224", + "s" : [ { + "value" : [ "", "define ", "AEqB_Int", ": " ] + }, { + "r" : "230", + "s" : [ { + "r" : "226", + "value" : [ "5", " ", "!=", " ", "5" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Not", + "localId" : "230", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "231", + "name" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ] + } ], + "operand" : { + "type" : "Equal", + "localId" : "225", "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "AEqB_Int", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "224", - "s" : [ { - "value" : [ "","define ","AEqB_Int",": " ] - }, { - "r" : "230", - "s" : [ { - "r" : "226", - "value" : [ "5"," ","!="," ","5" ] - } ] - } ] - } + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "228", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "229", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] } ], - "expression" : { - "localId" : "230", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "Not", - "signature" : [ { - "localId" : "231", - "name" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "225", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "Equal", - "signature" : [ { - "localId" : "228", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "229", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "226", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal" - }, { - "localId" : "227", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal" - } ] - } - } - }, { - "localId" : "234", + "operand" : [ { + "type" : "Literal", + "localId" : "226", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "5", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "227", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "5", + "annotation" : [ ] + } ] + } + } + }, { + "localId" : "234", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "ALtB_Int", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "234", + "s" : [ { + "value" : [ "", "define ", "ALtB_Int", ": " ] + }, { + "r" : "240", + "s" : [ { + "r" : "236", + "value" : [ "5", " ", "!=", " ", "6" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Not", + "localId" : "240", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "241", + "name" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ] + } ], + "operand" : { + "type" : "Equal", + "localId" : "235", "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "ALtB_Int", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "234", - "s" : [ { - "value" : [ "","define ","ALtB_Int",": " ] - }, { - "r" : "240", - "s" : [ { - "r" : "236", - "value" : [ "5"," ","!="," ","6" ] - } ] - } ] - } + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "238", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "239", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] } ], - "expression" : { - "localId" : "240", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "Not", - "signature" : [ { - "localId" : "241", - "name" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "235", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "Equal", - "signature" : [ { - "localId" : "238", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "239", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "236", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal" - }, { - "localId" : "237", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "6", - "type" : "Literal" - } ] - } - } - }, { - "localId" : "244", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "EqTuples", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "244", + "operand" : [ { + "type" : "Literal", + "localId" : "236", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "5", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "237", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "6", + "annotation" : [ ] + } ] + } + } + }, { + "localId" : "244", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "EqTuples", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "244", + "s" : [ { + "value" : [ "", "define ", "EqTuples", ": " ] + }, { + "r" : "288", + "s" : [ { + "r" : "246", + "s" : [ { + "value" : [ "Tuple{" ] + }, { "s" : [ { - "value" : [ "","define ","EqTuples",": " ] - }, { - "r" : "288", - "s" : [ { - "r" : "246", - "s" : [ { - "value" : [ "Tuple{" ] - }, { - "s" : [ { - "r" : "247", - "value" : [ "a",": ","1" ] - } ] - }, { - "value" : [ ", " ] - }, { - "s" : [ { - "value" : [ "b",": " ] - }, { - "r" : "248", - "s" : [ { - "value" : [ "Tuple{" ] - }, { - "s" : [ { - "r" : "249", - "value" : [ "c",": ","1" ] - } ] - }, { - "value" : [ "}" ] - } ] - } ] - }, { - "value" : [ "}" ] - } ] - }, { - "value" : [ " ","!="," " ] - }, { - "r" : "260", - "s" : [ { - "value" : [ "Tuple{" ] - }, { - "s" : [ { - "r" : "261", - "value" : [ "a",": ","1" ] - } ] - }, { - "value" : [ ", " ] - }, { - "s" : [ { - "value" : [ "b",": " ] - }, { - "r" : "262", - "s" : [ { - "value" : [ "Tuple{" ] - }, { - "s" : [ { - "r" : "263", - "value" : [ "c",": ","1" ] - } ] - }, { - "value" : [ "}" ] - } ] - } ] - }, { - "value" : [ "}" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "288", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "Not", - "signature" : [ { - "localId" : "289", - "name" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "245", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "Equal", - "signature" : [ { - "localId" : "274", - "type" : "TupleTypeSpecifier", - "element" : [ { - "localId" : "275", - "name" : "a", - "elementType" : { - "localId" : "276", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "277", - "name" : "b", - "elementType" : { - "localId" : "278", - "type" : "TupleTypeSpecifier", - "element" : [ { - "localId" : "279", - "name" : "c", - "elementType" : { - "localId" : "280", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } ] - } - } ] - }, { - "localId" : "281", - "type" : "TupleTypeSpecifier", - "element" : [ { - "localId" : "282", - "name" : "a", - "elementType" : { - "localId" : "283", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "284", - "name" : "b", - "elementType" : { - "localId" : "285", - "type" : "TupleTypeSpecifier", - "element" : [ { - "localId" : "286", - "name" : "c", - "elementType" : { - "localId" : "287", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } ] - } - } ] - } ], - "operand" : [ { - "localId" : "246", - "type" : "Tuple", - "resultTypeSpecifier" : { - "localId" : "253", - "type" : "TupleTypeSpecifier", - "element" : [ { - "localId" : "254", - "name" : "a", - "elementType" : { - "localId" : "255", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "256", - "name" : "b", - "elementType" : { - "localId" : "257", - "type" : "TupleTypeSpecifier", - "element" : [ { - "localId" : "258", - "name" : "c", - "elementType" : { - "localId" : "259", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } ] - } - } ] - }, - "element" : [ { - "name" : "a", - "value" : { - "localId" : "247", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - } - }, { - "name" : "b", - "value" : { - "localId" : "248", - "type" : "Tuple", - "resultTypeSpecifier" : { - "localId" : "250", - "type" : "TupleTypeSpecifier", - "element" : [ { - "localId" : "251", - "name" : "c", - "elementType" : { - "localId" : "252", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } ] - }, - "element" : [ { - "name" : "c", - "value" : { - "localId" : "249", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - } - } ] - } - } ] - }, { - "localId" : "260", - "type" : "Tuple", - "resultTypeSpecifier" : { - "localId" : "267", - "type" : "TupleTypeSpecifier", - "element" : [ { - "localId" : "268", - "name" : "a", - "elementType" : { - "localId" : "269", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "270", - "name" : "b", - "elementType" : { - "localId" : "271", - "type" : "TupleTypeSpecifier", - "element" : [ { - "localId" : "272", - "name" : "c", - "elementType" : { - "localId" : "273", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } ] - } - } ] - }, - "element" : [ { - "name" : "a", - "value" : { - "localId" : "261", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - } - }, { - "name" : "b", - "value" : { - "localId" : "262", - "type" : "Tuple", - "resultTypeSpecifier" : { - "localId" : "264", - "type" : "TupleTypeSpecifier", - "element" : [ { - "localId" : "265", - "name" : "c", - "elementType" : { - "localId" : "266", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } ] - }, - "element" : [ { - "name" : "c", - "value" : { - "localId" : "263", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - } - } ] - } - } ] + "r" : "247", + "value" : [ "a", ": ", "1" ] } ] - } - } - }, { - "localId" : "292", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "UneqTuples", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "292", + }, { + "value" : [ ", " ] + }, { "s" : [ { - "value" : [ "","define ","UneqTuples",": " ] - }, { - "r" : "338", - "s" : [ { - "r" : "294", - "s" : [ { - "value" : [ "Tuple{" ] - }, { - "s" : [ { - "r" : "295", - "value" : [ "a",": ","1" ] - } ] - }, { - "value" : [ ", " ] - }, { - "s" : [ { - "value" : [ "b",": " ] - }, { - "r" : "296", - "s" : [ { - "value" : [ "Tuple{" ] - }, { - "s" : [ { - "r" : "297", - "value" : [ "c",": ","1" ] - } ] - }, { - "value" : [ "}" ] - } ] - } ] - }, { - "value" : [ "}" ] - } ] - }, { - "value" : [ " ","!="," " ] - }, { - "r" : "308", - "s" : [ { - "value" : [ "Tuple{" ] - }, { - "s" : [ { - "r" : "309", - "value" : [ "a",": ","1" ] - } ] - }, { - "value" : [ ", " ] - }, { - "s" : [ { - "value" : [ "b",": " ] - }, { - "r" : "310", - "s" : [ { - "value" : [ "Tuple{" ] - }, { - "s" : [ { - "value" : [ "c",": " ] - }, { - "r" : "311", - "s" : [ { - "r" : "312", - "value" : [ "-","1" ] - } ] - } ] - }, { - "value" : [ "}" ] - } ] - } ] - }, { - "value" : [ "}" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "338", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "Not", - "signature" : [ { - "localId" : "339", - "name" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "293", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "Equal", - "signature" : [ { - "localId" : "324", - "type" : "TupleTypeSpecifier", - "element" : [ { - "localId" : "325", - "name" : "a", - "elementType" : { - "localId" : "326", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "327", - "name" : "b", - "elementType" : { - "localId" : "328", - "type" : "TupleTypeSpecifier", - "element" : [ { - "localId" : "329", - "name" : "c", - "elementType" : { - "localId" : "330", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } ] - } - } ] - }, { - "localId" : "331", - "type" : "TupleTypeSpecifier", - "element" : [ { - "localId" : "332", - "name" : "a", - "elementType" : { - "localId" : "333", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "334", - "name" : "b", - "elementType" : { - "localId" : "335", - "type" : "TupleTypeSpecifier", - "element" : [ { - "localId" : "336", - "name" : "c", - "elementType" : { - "localId" : "337", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } ] - } - } ] - } ], - "operand" : [ { - "localId" : "294", - "type" : "Tuple", - "resultTypeSpecifier" : { - "localId" : "301", - "type" : "TupleTypeSpecifier", - "element" : [ { - "localId" : "302", - "name" : "a", - "elementType" : { - "localId" : "303", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "304", - "name" : "b", - "elementType" : { - "localId" : "305", - "type" : "TupleTypeSpecifier", - "element" : [ { - "localId" : "306", - "name" : "c", - "elementType" : { - "localId" : "307", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } ] - } - } ] - }, - "element" : [ { - "name" : "a", - "value" : { - "localId" : "295", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - } - }, { - "name" : "b", - "value" : { - "localId" : "296", - "type" : "Tuple", - "resultTypeSpecifier" : { - "localId" : "298", - "type" : "TupleTypeSpecifier", - "element" : [ { - "localId" : "299", - "name" : "c", - "elementType" : { - "localId" : "300", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } ] - }, - "element" : [ { - "name" : "c", - "value" : { - "localId" : "297", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - } - } ] - } - } ] + "value" : [ "b", ": " ] }, { - "localId" : "308", - "type" : "Tuple", - "resultTypeSpecifier" : { - "localId" : "317", - "type" : "TupleTypeSpecifier", - "element" : [ { - "localId" : "318", - "name" : "a", - "elementType" : { - "localId" : "319", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "320", - "name" : "b", - "elementType" : { - "localId" : "321", - "type" : "TupleTypeSpecifier", - "element" : [ { - "localId" : "322", - "name" : "c", - "elementType" : { - "localId" : "323", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } ] - } - } ] - }, - "element" : [ { - "name" : "a", - "value" : { - "localId" : "309", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - } - }, { - "name" : "b", - "value" : { - "localId" : "310", - "type" : "Tuple", - "resultTypeSpecifier" : { - "localId" : "314", - "type" : "TupleTypeSpecifier", - "element" : [ { - "localId" : "315", - "name" : "c", - "elementType" : { - "localId" : "316", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } ] - }, - "element" : [ { - "name" : "c", - "value" : { - "localId" : "311", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "Negate", - "signature" : [ { - "localId" : "313", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "312", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - } - } - } ] - } - } ] + "r" : "248", + "s" : [ { + "value" : [ "Tuple{" ] + }, { + "s" : [ { + "r" : "249", + "value" : [ "c", ": ", "1" ] + } ] + }, { + "value" : [ "}" ] + } ] + } ] + }, { + "value" : [ "}" ] + } ] + }, { + "value" : [ " ", "!=", " " ] + }, { + "r" : "260", + "s" : [ { + "value" : [ "Tuple{" ] + }, { + "s" : [ { + "r" : "261", + "value" : [ "a", ": ", "1" ] } ] - } - } - }, { - "localId" : "342", + }, { + "value" : [ ", " ] + }, { + "s" : [ { + "value" : [ "b", ": " ] + }, { + "r" : "262", + "s" : [ { + "value" : [ "Tuple{" ] + }, { + "s" : [ { + "r" : "263", + "value" : [ "c", ": ", "1" ] + } ] + }, { + "value" : [ "}" ] + } ] + } ] + }, { + "value" : [ "}" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Not", + "localId" : "288", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "289", + "name" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ] + } ], + "operand" : { + "type" : "Equal", + "localId" : "245", "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "EqTuplesWithNullFields", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "342", + "annotation" : [ ], + "signature" : [ { + "type" : "TupleTypeSpecifier", + "localId" : "274", + "annotation" : [ ], + "element" : [ { + "localId" : "275", + "name" : "a", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "276", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, { + "localId" : "277", + "name" : "b", + "annotation" : [ ], + "elementType" : { + "type" : "TupleTypeSpecifier", + "localId" : "278", + "annotation" : [ ], + "element" : [ { + "localId" : "279", + "name" : "c", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "280", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } ] + } + } ] + }, { + "type" : "TupleTypeSpecifier", + "localId" : "281", + "annotation" : [ ], + "element" : [ { + "localId" : "282", + "name" : "a", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "283", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, { + "localId" : "284", + "name" : "b", + "annotation" : [ ], + "elementType" : { + "type" : "TupleTypeSpecifier", + "localId" : "285", + "annotation" : [ ], + "element" : [ { + "localId" : "286", + "name" : "c", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "287", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } ] + } + } ] + } ], + "operand" : [ { + "type" : "Tuple", + "localId" : "246", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "TupleTypeSpecifier", + "localId" : "253", + "annotation" : [ ], + "element" : [ { + "localId" : "254", + "name" : "a", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "255", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, { + "localId" : "256", + "name" : "b", + "annotation" : [ ], + "elementType" : { + "type" : "TupleTypeSpecifier", + "localId" : "257", + "annotation" : [ ], + "element" : [ { + "localId" : "258", + "name" : "c", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "259", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } ] + } + } ] + }, + "element" : [ { + "name" : "a", + "value" : { + "type" : "Literal", + "localId" : "247", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + } + }, { + "name" : "b", + "value" : { + "type" : "Tuple", + "localId" : "248", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "TupleTypeSpecifier", + "localId" : "250", + "annotation" : [ ], + "element" : [ { + "localId" : "251", + "name" : "c", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "252", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } ] + }, + "element" : [ { + "name" : "c", + "value" : { + "type" : "Literal", + "localId" : "249", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + } + } ] + } + } ] + }, { + "type" : "Tuple", + "localId" : "260", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "TupleTypeSpecifier", + "localId" : "267", + "annotation" : [ ], + "element" : [ { + "localId" : "268", + "name" : "a", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "269", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, { + "localId" : "270", + "name" : "b", + "annotation" : [ ], + "elementType" : { + "type" : "TupleTypeSpecifier", + "localId" : "271", + "annotation" : [ ], + "element" : [ { + "localId" : "272", + "name" : "c", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "273", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } ] + } + } ] + }, + "element" : [ { + "name" : "a", + "value" : { + "type" : "Literal", + "localId" : "261", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + } + }, { + "name" : "b", + "value" : { + "type" : "Tuple", + "localId" : "262", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "TupleTypeSpecifier", + "localId" : "264", + "annotation" : [ ], + "element" : [ { + "localId" : "265", + "name" : "c", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "266", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } ] + }, + "element" : [ { + "name" : "c", + "value" : { + "type" : "Literal", + "localId" : "263", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + } + } ] + } + } ] + } ] + } + } + }, { + "localId" : "292", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "UneqTuples", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "292", + "s" : [ { + "value" : [ "", "define ", "UneqTuples", ": " ] + }, { + "r" : "338", + "s" : [ { + "r" : "294", + "s" : [ { + "value" : [ "Tuple{" ] + }, { "s" : [ { - "value" : [ "","define ","EqTuplesWithNullFields",": " ] - }, { - "r" : "372", - "s" : [ { - "r" : "344", - "s" : [ { - "value" : [ "Tuple{" ] - }, { - "s" : [ { - "value" : [ "a",": " ] - }, { - "r" : "345", - "s" : [ { - "value" : [ "'Hello'" ] - } ] - } ] - }, { - "value" : [ ", " ] - }, { - "s" : [ { - "r" : "347", - "value" : [ "b",": ","null" ] - } ] - }, { - "value" : [ "}" ] - } ] - }, { - "value" : [ " ","!="," " ] - }, { - "r" : "353", - "s" : [ { - "value" : [ "Tuple{" ] - }, { - "s" : [ { - "value" : [ "a",": " ] - }, { - "r" : "354", - "s" : [ { - "value" : [ "'Hello'" ] - } ] - } ] - }, { - "value" : [ ", " ] - }, { - "s" : [ { - "r" : "356", - "value" : [ "b",": ","null" ] - } ] - }, { - "value" : [ "}" ] - } ] - } ] + "r" : "295", + "value" : [ "a", ": ", "1" ] } ] - } - } ], - "expression" : { - "localId" : "372", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "Not", - "signature" : [ { - "localId" : "373", - "name" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "343", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "Equal", - "signature" : [ { - "localId" : "362", - "type" : "TupleTypeSpecifier", - "element" : [ { - "localId" : "363", - "name" : "a", - "elementType" : { - "localId" : "364", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "365", - "name" : "b", - "elementType" : { - "localId" : "366", - "name" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "NamedTypeSpecifier" - } - } ] - }, { - "localId" : "367", - "type" : "TupleTypeSpecifier", - "element" : [ { - "localId" : "368", - "name" : "a", - "elementType" : { - "localId" : "369", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "370", - "name" : "b", - "elementType" : { - "localId" : "371", - "name" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "NamedTypeSpecifier" - } - } ] - } ], - "operand" : [ { - "localId" : "344", - "type" : "Tuple", - "resultTypeSpecifier" : { - "localId" : "348", - "type" : "TupleTypeSpecifier", - "element" : [ { - "localId" : "349", - "name" : "a", - "elementType" : { - "localId" : "350", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "351", - "name" : "b", - "elementType" : { - "localId" : "352", - "name" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "NamedTypeSpecifier" - } - } ] - }, - "element" : [ { - "name" : "a", - "value" : { - "localId" : "345", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "Hello", - "type" : "Literal" - } - }, { - "name" : "b", - "value" : { - "localId" : "347", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - } - } ] + }, { + "value" : [ ", " ] + }, { + "s" : [ { + "value" : [ "b", ": " ] }, { - "localId" : "353", - "type" : "Tuple", - "resultTypeSpecifier" : { - "localId" : "357", - "type" : "TupleTypeSpecifier", - "element" : [ { - "localId" : "358", - "name" : "a", - "elementType" : { - "localId" : "359", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "360", - "name" : "b", - "elementType" : { - "localId" : "361", - "name" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "NamedTypeSpecifier" - } - } ] - }, - "element" : [ { - "name" : "a", - "value" : { - "localId" : "354", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "Hello", - "type" : "Literal" - } - }, { - "name" : "b", - "value" : { - "localId" : "356", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - } - } ] + "r" : "296", + "s" : [ { + "value" : [ "Tuple{" ] + }, { + "s" : [ { + "r" : "297", + "value" : [ "c", ": ", "1" ] + } ] + }, { + "value" : [ "}" ] + } ] + } ] + }, { + "value" : [ "}" ] + } ] + }, { + "value" : [ " ", "!=", " " ] + }, { + "r" : "308", + "s" : [ { + "value" : [ "Tuple{" ] + }, { + "s" : [ { + "r" : "309", + "value" : [ "a", ": ", "1" ] } ] - } - } - }, { - "localId" : "376", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "UneqTuplesWithNullFields", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "376", + }, { + "value" : [ ", " ] + }, { "s" : [ { - "value" : [ "","define ","UneqTuplesWithNullFields",": " ] - }, { - "r" : "406", - "s" : [ { - "r" : "378", - "s" : [ { - "value" : [ "Tuple{" ] - }, { - "s" : [ { - "value" : [ "a",": " ] - }, { - "r" : "379", - "s" : [ { - "value" : [ "'Hello'" ] - } ] - } ] - }, { - "value" : [ ", " ] - }, { - "s" : [ { - "r" : "381", - "value" : [ "b",": ","null" ] - } ] - }, { - "value" : [ "}" ] - } ] - }, { - "value" : [ " ","!="," " ] - }, { - "r" : "387", + "value" : [ "b", ": " ] + }, { + "r" : "310", + "s" : [ { + "value" : [ "Tuple{" ] + }, { + "s" : [ { + "value" : [ "c", ": " ] + }, { + "r" : "311", "s" : [ { - "value" : [ "Tuple{" ] - }, { - "s" : [ { - "value" : [ "a",": " ] - }, { - "r" : "388", - "s" : [ { - "value" : [ "'Goodbye'" ] - } ] - } ] - }, { - "value" : [ ", " ] - }, { - "s" : [ { - "r" : "390", - "value" : [ "b",": ","null" ] - } ] - }, { - "value" : [ "}" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "406", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "Not", - "signature" : [ { - "localId" : "407", - "name" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "377", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "Equal", - "signature" : [ { - "localId" : "396", - "type" : "TupleTypeSpecifier", - "element" : [ { - "localId" : "397", - "name" : "a", - "elementType" : { - "localId" : "398", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "399", - "name" : "b", - "elementType" : { - "localId" : "400", - "name" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "NamedTypeSpecifier" - } - } ] - }, { - "localId" : "401", - "type" : "TupleTypeSpecifier", - "element" : [ { - "localId" : "402", - "name" : "a", - "elementType" : { - "localId" : "403", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "404", - "name" : "b", - "elementType" : { - "localId" : "405", - "name" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "NamedTypeSpecifier" - } - } ] - } ], - "operand" : [ { - "localId" : "378", - "type" : "Tuple", - "resultTypeSpecifier" : { - "localId" : "382", - "type" : "TupleTypeSpecifier", - "element" : [ { - "localId" : "383", - "name" : "a", - "elementType" : { - "localId" : "384", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "385", - "name" : "b", - "elementType" : { - "localId" : "386", - "name" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "NamedTypeSpecifier" - } + "r" : "312", + "value" : [ "-", "1" ] } ] - }, - "element" : [ { - "name" : "a", - "value" : { - "localId" : "379", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "Hello", - "type" : "Literal" - } - }, { - "name" : "b", - "value" : { - "localId" : "381", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - } - } ] - }, { - "localId" : "387", - "type" : "Tuple", - "resultTypeSpecifier" : { - "localId" : "391", - "type" : "TupleTypeSpecifier", - "element" : [ { - "localId" : "392", - "name" : "a", - "elementType" : { - "localId" : "393", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "394", - "name" : "b", - "elementType" : { - "localId" : "395", - "name" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "NamedTypeSpecifier" - } - } ] - }, - "element" : [ { - "name" : "a", - "value" : { - "localId" : "388", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "Goodbye", - "type" : "Literal" - } - }, { - "name" : "b", - "value" : { - "localId" : "390", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - } - } ] + } ] + }, { + "value" : [ "}" ] + } ] } ] - } - } - }, { - "localId" : "410", + }, { + "value" : [ "}" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Not", + "localId" : "338", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "339", + "name" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ] + } ], + "operand" : { + "type" : "Equal", + "localId" : "293", "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "UncertTuplesWithNullFieldOnOne", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "410", - "s" : [ { - "value" : [ "","define ","UncertTuplesWithNullFieldOnOne",": " ] - }, { - "r" : "441", - "s" : [ { - "r" : "412", - "s" : [ { - "value" : [ "Tuple{" ] - }, { - "s" : [ { - "value" : [ "a",": " ] - }, { - "r" : "413", - "s" : [ { - "value" : [ "'Hello'" ] - } ] - } ] - }, { - "value" : [ ", " ] - }, { - "s" : [ { - "r" : "415", - "value" : [ "b",": ","null" ] - } ] - }, { - "value" : [ "}" ] - } ] - }, { - "value" : [ " ","!="," " ] - }, { - "r" : "421", - "s" : [ { - "value" : [ "Tuple{" ] - }, { - "s" : [ { - "value" : [ "a",": " ] - }, { - "r" : "422", - "s" : [ { - "value" : [ "'Hello'" ] - } ] - } ] - }, { - "value" : [ ", " ] - }, { - "s" : [ { - "value" : [ "b",": " ] - }, { - "r" : "424", - "s" : [ { - "value" : [ "'null'" ] - } ] - } ] - }, { - "value" : [ "}" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "441", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "Not", - "signature" : [ { - "localId" : "442", - "name" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "411", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "Equal", - "signature" : [ { - "localId" : "431", - "type" : "TupleTypeSpecifier", - "element" : [ { - "localId" : "432", - "name" : "a", - "elementType" : { - "localId" : "433", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "434", - "name" : "b", - "elementType" : { - "localId" : "435", - "name" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "NamedTypeSpecifier" - } - } ] - }, { - "localId" : "436", - "type" : "TupleTypeSpecifier", - "element" : [ { - "localId" : "437", - "name" : "a", - "elementType" : { - "localId" : "438", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "439", - "name" : "b", - "elementType" : { - "localId" : "440", - "name" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "NamedTypeSpecifier" - } - } ] - } ], - "operand" : [ { - "localId" : "412", - "type" : "Tuple", - "resultTypeSpecifier" : { - "localId" : "416", - "type" : "TupleTypeSpecifier", - "element" : [ { - "localId" : "417", - "name" : "a", - "elementType" : { - "localId" : "418", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "419", - "name" : "b", - "elementType" : { - "localId" : "420", - "name" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "NamedTypeSpecifier" - } - } ] - }, - "element" : [ { - "name" : "a", - "value" : { - "localId" : "413", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "Hello", - "type" : "Literal" - } - }, { - "name" : "b", - "value" : { - "localId" : "415", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - } - } ] - }, { - "localId" : "421", - "type" : "Tuple", - "resultTypeSpecifier" : { - "localId" : "426", - "type" : "TupleTypeSpecifier", - "element" : [ { - "localId" : "427", - "name" : "a", - "elementType" : { - "localId" : "428", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "429", - "name" : "b", - "elementType" : { - "localId" : "430", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } - } ] - }, - "element" : [ { - "name" : "a", - "value" : { - "localId" : "422", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "Hello", - "type" : "Literal" - } - }, { - "name" : "b", - "value" : { - "localId" : "424", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "null", - "type" : "Literal" - } - } ] - } ] - } - } - }, { - "localId" : "445", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "EqDateTimes", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "445", - "s" : [ { - "value" : [ "","define ","EqDateTimes",": " ] - }, { - "r" : "503", - "s" : [ { - "r" : "465", - "s" : [ { - "r" : "447", - "value" : [ "DateTime","(","2000",", ","3",", ","15",", ","13",", ","30",", ","25",", ","200",", " ] - }, { - "r" : "454", - "s" : [ { - "r" : "454", - "value" : [ "+","1.0" ] - } ] - }, { - "value" : [ ")" ] - } ] - }, { - "value" : [ " ","!="," " ] - }, { - "r" : "492", - "s" : [ { - "r" : "474", - "value" : [ "DateTime","(","2000",", ","3",", ","15",", ","13",", ","30",", ","25",", ","200",", " ] - }, { - "r" : "481", - "s" : [ { - "r" : "481", - "value" : [ "+","1.0" ] - } ] - }, { - "value" : [ ")" ] - } ] - } ] - } ] - } + "annotation" : [ ], + "signature" : [ { + "type" : "TupleTypeSpecifier", + "localId" : "324", + "annotation" : [ ], + "element" : [ { + "localId" : "325", + "name" : "a", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "326", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, { + "localId" : "327", + "name" : "b", + "annotation" : [ ], + "elementType" : { + "type" : "TupleTypeSpecifier", + "localId" : "328", + "annotation" : [ ], + "element" : [ { + "localId" : "329", + "name" : "c", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "330", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } ] + } + } ] + }, { + "type" : "TupleTypeSpecifier", + "localId" : "331", + "annotation" : [ ], + "element" : [ { + "localId" : "332", + "name" : "a", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "333", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, { + "localId" : "334", + "name" : "b", + "annotation" : [ ], + "elementType" : { + "type" : "TupleTypeSpecifier", + "localId" : "335", + "annotation" : [ ], + "element" : [ { + "localId" : "336", + "name" : "c", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "337", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } ] + } + } ] } ], - "expression" : { - "localId" : "503", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "Not", - "signature" : [ { - "localId" : "504", - "name" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "446", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "Equal", - "signature" : [ { - "localId" : "501", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "502", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "465", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "466", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "467", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "468", + "operand" : [ { + "type" : "Tuple", + "localId" : "294", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "TupleTypeSpecifier", + "localId" : "301", + "annotation" : [ ], + "element" : [ { + "localId" : "302", + "name" : "a", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "303", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, { + "localId" : "304", + "name" : "b", + "annotation" : [ ], + "elementType" : { + "type" : "TupleTypeSpecifier", + "localId" : "305", + "annotation" : [ ], + "element" : [ { + "localId" : "306", + "name" : "c", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "307", "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "469", + "annotation" : [ ] + } + } ] + } + } ] + }, + "element" : [ { + "name" : "a", + "value" : { + "type" : "Literal", + "localId" : "295", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + } + }, { + "name" : "b", + "value" : { + "type" : "Tuple", + "localId" : "296", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "TupleTypeSpecifier", + "localId" : "298", + "annotation" : [ ], + "element" : [ { + "localId" : "299", + "name" : "c", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "300", "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "470", + "annotation" : [ ] + } + } ] + }, + "element" : [ { + "name" : "c", + "value" : { + "type" : "Literal", + "localId" : "297", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + } + } ] + } + } ] + }, { + "type" : "Tuple", + "localId" : "308", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "TupleTypeSpecifier", + "localId" : "317", + "annotation" : [ ], + "element" : [ { + "localId" : "318", + "name" : "a", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "319", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, { + "localId" : "320", + "name" : "b", + "annotation" : [ ], + "elementType" : { + "type" : "TupleTypeSpecifier", + "localId" : "321", + "annotation" : [ ], + "element" : [ { + "localId" : "322", + "name" : "c", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "323", "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "471", + "annotation" : [ ] + } + } ] + } + } ] + }, + "element" : [ { + "name" : "a", + "value" : { + "type" : "Literal", + "localId" : "309", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + } + }, { + "name" : "b", + "value" : { + "type" : "Tuple", + "localId" : "310", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "TupleTypeSpecifier", + "localId" : "314", + "annotation" : [ ], + "element" : [ { + "localId" : "315", + "name" : "c", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "316", "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "472", + "annotation" : [ ] + } + } ] + }, + "element" : [ { + "name" : "c", + "value" : { + "type" : "Negate", + "localId" : "311", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "313", "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "473", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "447", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "448", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "449", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal" - }, - "hour" : { - "localId" : "450", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "13", - "type" : "Literal" - }, - "minute" : { - "localId" : "451", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "30", - "type" : "Literal" - }, - "second" : { - "localId" : "452", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "25", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "453", + "annotation" : [ ] + } ], + "operand" : { + "type" : "Literal", + "localId" : "312", "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "200", - "type" : "Literal" - }, - "timezoneOffset" : { - "localId" : "454", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "1.0", - "type" : "Literal" - } + "value" : "1", + "annotation" : [ ] + } + } + } ] + } + } ] + } ] + } + } + }, { + "localId" : "342", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "EqTuplesWithNullFields", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "342", + "s" : [ { + "value" : [ "", "define ", "EqTuplesWithNullFields", ": " ] + }, { + "r" : "372", + "s" : [ { + "r" : "344", + "s" : [ { + "value" : [ "Tuple{" ] + }, { + "s" : [ { + "value" : [ "a", ": " ] }, { - "localId" : "492", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "493", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "494", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "495", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "496", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "497", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "498", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "499", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "500", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "474", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "475", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "476", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal" - }, - "hour" : { - "localId" : "477", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "13", - "type" : "Literal" - }, - "minute" : { - "localId" : "478", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "30", - "type" : "Literal" - }, - "second" : { - "localId" : "479", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "25", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "480", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "200", - "type" : "Literal" - }, - "timezoneOffset" : { - "localId" : "481", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "1.0", - "type" : "Literal" - } + "r" : "345", + "s" : [ { + "value" : [ "'Hello'" ] + } ] } ] - } - } - }, { - "localId" : "507", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "UneqDateTimes", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "507", + }, { + "value" : [ ", " ] + }, { "s" : [ { - "value" : [ "","define ","UneqDateTimes",": " ] + "r" : "347", + "value" : [ "b", ": ", "null" ] + } ] + }, { + "value" : [ "}" ] + } ] + }, { + "value" : [ " ", "!=", " " ] + }, { + "r" : "353", + "s" : [ { + "value" : [ "Tuple{" ] + }, { + "s" : [ { + "value" : [ "a", ": " ] }, { - "r" : "565", - "s" : [ { - "r" : "527", - "s" : [ { - "r" : "509", - "value" : [ "DateTime","(","2000",", ","3",", ","15",", ","13",", ","30",", ","25",", ","200",", " ] - }, { - "r" : "516", - "s" : [ { - "r" : "516", - "value" : [ "+","1.0" ] - } ] - }, { - "value" : [ ")" ] - } ] - }, { - "value" : [ " ","!="," " ] - }, { - "r" : "554", - "s" : [ { - "r" : "536", - "value" : [ "DateTime","(","2000",", ","3",", ","15",", ","13",", ","30",", ","25",", ","201",", " ] - }, { - "r" : "543", - "s" : [ { - "r" : "543", - "value" : [ "+","1.0" ] - } ] - }, { - "value" : [ ")" ] - } ] - } ] + "r" : "354", + "s" : [ { + "value" : [ "'Hello'" ] + } ] + } ] + }, { + "value" : [ ", " ] + }, { + "s" : [ { + "r" : "356", + "value" : [ "b", ": ", "null" ] } ] - } + }, { + "value" : [ "}" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Not", + "localId" : "372", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "373", + "name" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ] + } ], + "operand" : { + "type" : "Equal", + "localId" : "343", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "TupleTypeSpecifier", + "localId" : "362", + "annotation" : [ ], + "element" : [ { + "localId" : "363", + "name" : "a", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "364", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } + }, { + "localId" : "365", + "name" : "b", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "366", + "name" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } + } ] + }, { + "type" : "TupleTypeSpecifier", + "localId" : "367", + "annotation" : [ ], + "element" : [ { + "localId" : "368", + "name" : "a", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "369", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } + }, { + "localId" : "370", + "name" : "b", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "371", + "name" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } + } ] } ], - "expression" : { - "localId" : "565", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "Not", - "signature" : [ { - "localId" : "566", - "name" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "508", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "Equal", - "signature" : [ { - "localId" : "563", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "564", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "527", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "528", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "529", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "530", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "531", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "532", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "533", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "534", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "535", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "509", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "510", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "511", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal" - }, - "hour" : { - "localId" : "512", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "13", - "type" : "Literal" - }, - "minute" : { - "localId" : "513", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "30", - "type" : "Literal" - }, - "second" : { - "localId" : "514", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "25", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "515", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "200", - "type" : "Literal" - }, - "timezoneOffset" : { - "localId" : "516", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "1.0", - "type" : "Literal" - } + "operand" : [ { + "type" : "Tuple", + "localId" : "344", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "TupleTypeSpecifier", + "localId" : "348", + "annotation" : [ ], + "element" : [ { + "localId" : "349", + "name" : "a", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "350", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } + }, { + "localId" : "351", + "name" : "b", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "352", + "name" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } + } ] + }, + "element" : [ { + "name" : "a", + "value" : { + "type" : "Literal", + "localId" : "345", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "Hello", + "annotation" : [ ] + } + }, { + "name" : "b", + "value" : { + "type" : "Null", + "localId" : "347", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } + } ] + }, { + "type" : "Tuple", + "localId" : "353", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "TupleTypeSpecifier", + "localId" : "357", + "annotation" : [ ], + "element" : [ { + "localId" : "358", + "name" : "a", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "359", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } + }, { + "localId" : "360", + "name" : "b", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "361", + "name" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } + } ] + }, + "element" : [ { + "name" : "a", + "value" : { + "type" : "Literal", + "localId" : "354", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "Hello", + "annotation" : [ ] + } + }, { + "name" : "b", + "value" : { + "type" : "Null", + "localId" : "356", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } + } ] + } ] + } + } + }, { + "localId" : "376", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "UneqTuplesWithNullFields", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "376", + "s" : [ { + "value" : [ "", "define ", "UneqTuplesWithNullFields", ": " ] + }, { + "r" : "406", + "s" : [ { + "r" : "378", + "s" : [ { + "value" : [ "Tuple{" ] + }, { + "s" : [ { + "value" : [ "a", ": " ] }, { - "localId" : "554", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "555", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "556", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "557", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "558", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "559", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "560", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "561", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "562", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "536", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "537", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "538", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal" - }, - "hour" : { - "localId" : "539", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "13", - "type" : "Literal" - }, - "minute" : { - "localId" : "540", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "30", - "type" : "Literal" - }, - "second" : { - "localId" : "541", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "25", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "542", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "201", - "type" : "Literal" - }, - "timezoneOffset" : { - "localId" : "543", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "1.0", - "type" : "Literal" - } + "r" : "379", + "s" : [ { + "value" : [ "'Hello'" ] + } ] } ] - } - } - }, { - "localId" : "569", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "EqDateTimesTZ", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "569", + }, { + "value" : [ ", " ] + }, { "s" : [ { - "value" : [ "","define ","EqDateTimesTZ",": " ] + "r" : "381", + "value" : [ "b", ": ", "null" ] + } ] + }, { + "value" : [ "}" ] + } ] + }, { + "value" : [ " ", "!=", " " ] + }, { + "r" : "387", + "s" : [ { + "value" : [ "Tuple{" ] + }, { + "s" : [ { + "value" : [ "a", ": " ] }, { - "r" : "627", - "s" : [ { - "r" : "589", - "s" : [ { - "r" : "571", - "value" : [ "DateTime","(","2000",", ","3",", ","15",", ","23",", ","30",", ","25",", ","200",", " ] - }, { - "r" : "578", - "s" : [ { - "r" : "578", - "value" : [ "+","1.0" ] - } ] - }, { - "value" : [ ")" ] - } ] - }, { - "value" : [ " ","!="," " ] - }, { - "r" : "616", - "s" : [ { - "r" : "598", - "value" : [ "DateTime","(","2000",", ","3",", ","16",", ","2",", ","30",", ","25",", ","200",", " ] - }, { - "r" : "605", - "s" : [ { - "r" : "605", - "value" : [ "+","4.0" ] - } ] - }, { - "value" : [ ")" ] - } ] - } ] + "r" : "388", + "s" : [ { + "value" : [ "'Goodbye'" ] + } ] + } ] + }, { + "value" : [ ", " ] + }, { + "s" : [ { + "r" : "390", + "value" : [ "b", ": ", "null" ] } ] - } + }, { + "value" : [ "}" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Not", + "localId" : "406", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "407", + "name" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ] + } ], + "operand" : { + "type" : "Equal", + "localId" : "377", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "TupleTypeSpecifier", + "localId" : "396", + "annotation" : [ ], + "element" : [ { + "localId" : "397", + "name" : "a", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "398", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } + }, { + "localId" : "399", + "name" : "b", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "400", + "name" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } + } ] + }, { + "type" : "TupleTypeSpecifier", + "localId" : "401", + "annotation" : [ ], + "element" : [ { + "localId" : "402", + "name" : "a", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "403", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } + }, { + "localId" : "404", + "name" : "b", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "405", + "name" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } + } ] } ], - "expression" : { - "localId" : "627", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "Not", - "signature" : [ { - "localId" : "628", - "name" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "570", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "Equal", - "signature" : [ { - "localId" : "625", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "626", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "589", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "590", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "591", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "592", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "593", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "594", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "595", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "596", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "597", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "571", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "572", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "573", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal" - }, - "hour" : { - "localId" : "574", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "23", - "type" : "Literal" - }, - "minute" : { - "localId" : "575", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "30", - "type" : "Literal" - }, - "second" : { - "localId" : "576", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "25", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "577", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "200", - "type" : "Literal" - }, - "timezoneOffset" : { - "localId" : "578", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "1.0", - "type" : "Literal" - } + "operand" : [ { + "type" : "Tuple", + "localId" : "378", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "TupleTypeSpecifier", + "localId" : "382", + "annotation" : [ ], + "element" : [ { + "localId" : "383", + "name" : "a", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "384", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } + }, { + "localId" : "385", + "name" : "b", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "386", + "name" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } + } ] + }, + "element" : [ { + "name" : "a", + "value" : { + "type" : "Literal", + "localId" : "379", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "Hello", + "annotation" : [ ] + } + }, { + "name" : "b", + "value" : { + "type" : "Null", + "localId" : "381", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } + } ] + }, { + "type" : "Tuple", + "localId" : "387", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "TupleTypeSpecifier", + "localId" : "391", + "annotation" : [ ], + "element" : [ { + "localId" : "392", + "name" : "a", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "393", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } + }, { + "localId" : "394", + "name" : "b", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "395", + "name" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } + } ] + }, + "element" : [ { + "name" : "a", + "value" : { + "type" : "Literal", + "localId" : "388", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "Goodbye", + "annotation" : [ ] + } + }, { + "name" : "b", + "value" : { + "type" : "Null", + "localId" : "390", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } + } ] + } ] + } + } + }, { + "localId" : "410", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "UncertTuplesWithNullFieldOnOne", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "410", + "s" : [ { + "value" : [ "", "define ", "UncertTuplesWithNullFieldOnOne", ": " ] + }, { + "r" : "441", + "s" : [ { + "r" : "412", + "s" : [ { + "value" : [ "Tuple{" ] + }, { + "s" : [ { + "value" : [ "a", ": " ] }, { - "localId" : "616", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "617", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "618", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "619", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "620", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "621", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "622", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "623", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "624", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "598", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "599", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "600", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "16", - "type" : "Literal" - }, - "hour" : { - "localId" : "601", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal" - }, - "minute" : { - "localId" : "602", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "30", - "type" : "Literal" - }, - "second" : { - "localId" : "603", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "25", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "604", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "200", - "type" : "Literal" - }, - "timezoneOffset" : { - "localId" : "605", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "4.0", - "type" : "Literal" - } + "r" : "413", + "s" : [ { + "value" : [ "'Hello'" ] + } ] } ] - } - } - }, { - "localId" : "631", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "UneqDateTimesTZ", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "631", + }, { + "value" : [ ", " ] + }, { "s" : [ { - "value" : [ "","define ","UneqDateTimesTZ",": " ] + "r" : "415", + "value" : [ "b", ": ", "null" ] + } ] + }, { + "value" : [ "}" ] + } ] + }, { + "value" : [ " ", "!=", " " ] + }, { + "r" : "421", + "s" : [ { + "value" : [ "Tuple{" ] + }, { + "s" : [ { + "value" : [ "a", ": " ] }, { - "r" : "689", - "s" : [ { - "r" : "651", - "s" : [ { - "r" : "633", - "value" : [ "DateTime","(","2000",", ","3",", ","15",", ","13",", ","30",", ","25",", ","200",", " ] - }, { - "r" : "640", - "s" : [ { - "r" : "640", - "value" : [ "+","1.0" ] - } ] - }, { - "value" : [ ")" ] - } ] - }, { - "value" : [ " ","!="," " ] - }, { - "r" : "678", - "s" : [ { - "r" : "660", - "value" : [ "DateTime","(","2000",", ","3",", ","15",", ","13",", ","30",", ","25",", ","200",", " ] - }, { - "r" : "667", - "s" : [ { - "r" : "667", - "value" : [ "+","2.0" ] - } ] - }, { - "value" : [ ")" ] - } ] - } ] + "r" : "422", + "s" : [ { + "value" : [ "'Hello'" ] + } ] } ] - } - } ], - "expression" : { - "localId" : "689", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "Not", - "signature" : [ { - "localId" : "690", - "name" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "632", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "Equal", - "signature" : [ { - "localId" : "687", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" + }, { + "value" : [ ", " ] + }, { + "s" : [ { + "value" : [ "b", ": " ] }, { - "localId" : "688", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "651", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "652", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "653", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "654", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "655", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "656", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "657", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "658", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "659", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "633", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "634", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "635", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal" - }, - "hour" : { - "localId" : "636", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "13", - "type" : "Literal" - }, - "minute" : { - "localId" : "637", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "30", - "type" : "Literal" - }, - "second" : { - "localId" : "638", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "25", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "639", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "200", - "type" : "Literal" - }, - "timezoneOffset" : { - "localId" : "640", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "1.0", - "type" : "Literal" - } - }, { - "localId" : "678", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "679", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "680", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "681", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "682", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "683", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "684", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "685", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "686", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "660", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "661", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "662", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal" - }, - "hour" : { - "localId" : "663", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "13", - "type" : "Literal" - }, - "minute" : { - "localId" : "664", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "30", - "type" : "Literal" - }, - "second" : { - "localId" : "665", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "25", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "666", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "200", - "type" : "Literal" - }, - "timezoneOffset" : { - "localId" : "667", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "2.0", - "type" : "Literal" - } - } ] - } - } - }, { - "localId" : "693", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "EqDateTimesNullMs", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "693", - "s" : [ { - "value" : [ "","define ","EqDateTimesNullMs",": " ] - }, { - "r" : "742", - "s" : [ { - "r" : "711", - "s" : [ { - "r" : "695", - "value" : [ "DateTime","(","2000",", ","3",", ","15",", ","13",", ","30",", ","25",", ","0",")" ] - } ] - }, { - "value" : [ " ","!="," " ] - }, { - "r" : "733", - "s" : [ { - "r" : "719", - "value" : [ "DateTime","(","2000",", ","3",", ","15",", ","13",", ","30",", ","25",")" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "742", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "Not", - "signature" : [ { - "localId" : "743", - "name" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "694", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "Equal", - "signature" : [ { - "localId" : "740", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "741", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "711", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "712", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "713", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "714", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "715", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "716", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "717", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "718", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "695", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "696", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "697", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal" - }, - "hour" : { - "localId" : "698", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "13", - "type" : "Literal" - }, - "minute" : { - "localId" : "699", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "30", - "type" : "Literal" - }, - "second" : { - "localId" : "700", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "25", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "701", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - }, { - "localId" : "733", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "734", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "735", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "736", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "737", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "738", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "739", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "719", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "720", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "721", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal" - }, - "hour" : { - "localId" : "722", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "13", - "type" : "Literal" - }, - "minute" : { - "localId" : "723", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "30", - "type" : "Literal" - }, - "second" : { - "localId" : "724", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "25", - "type" : "Literal" - } - } ] - } - } - }, { - "localId" : "746", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "EqDateTimesNullOtherMs", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "746", - "s" : [ { - "value" : [ "","define ","EqDateTimesNullOtherMs",": " ] - }, { - "r" : "795", - "s" : [ { - "r" : "762", - "s" : [ { - "r" : "748", - "value" : [ "DateTime","(","2000",", ","3",", ","15",", ","13",", ","30",", ","25",")" ] - } ] - }, { - "value" : [ " ","!="," " ] - }, { - "r" : "785", - "s" : [ { - "r" : "769", - "value" : [ "DateTime","(","2000",", ","3",", ","15",", ","13",", ","30",", ","25",", ","0",")" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "795", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "Not", - "signature" : [ { - "localId" : "796", - "name" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "747", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "Equal", - "signature" : [ { - "localId" : "793", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "794", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "762", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "763", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "764", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "765", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "766", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "767", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "768", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "748", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "749", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "750", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal" - }, - "hour" : { - "localId" : "751", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "13", - "type" : "Literal" - }, - "minute" : { - "localId" : "752", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "30", - "type" : "Literal" - }, - "second" : { - "localId" : "753", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "25", - "type" : "Literal" - } - }, { - "localId" : "785", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "786", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "787", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "788", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "789", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "790", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "791", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "792", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "769", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "770", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "771", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal" - }, - "hour" : { - "localId" : "772", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "13", - "type" : "Literal" - }, - "minute" : { - "localId" : "773", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "30", - "type" : "Literal" - }, - "second" : { - "localId" : "774", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "25", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "775", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - } ] - } - } - }, { - "localId" : "799", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "EqDateTimesOnlyDate", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "799", - "s" : [ { - "value" : [ "","define ","EqDateTimesOnlyDate",": " ] - }, { - "r" : "827", - "s" : [ { - "r" : "809", - "s" : [ { - "r" : "801", - "value" : [ "DateTime","(","2000",", ","3",", ","15",")" ] - } ] - }, { - "value" : [ " ","!="," " ] - }, { - "r" : "821", - "s" : [ { - "r" : "813", - "value" : [ "DateTime","(","2000",", ","3",", ","15",")" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "827", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "Not", - "signature" : [ { - "localId" : "828", - "name" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "800", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "Equal", - "signature" : [ { - "localId" : "825", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "826", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "809", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "810", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "811", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "812", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "801", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "802", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "803", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal" - } - }, { - "localId" : "821", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "822", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "823", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "824", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "813", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "814", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "815", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal" - } - } ] - } - } - }, { - "localId" : "831", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "UneqDateTimesOnlyDate", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "831", - "s" : [ { - "value" : [ "","define ","UneqDateTimesOnlyDate",": " ] - }, { - "r" : "859", - "s" : [ { - "r" : "841", - "s" : [ { - "r" : "833", - "value" : [ "DateTime","(","2000",", ","3",", ","14",")" ] - } ] - }, { - "value" : [ " ","!="," " ] - }, { - "r" : "853", - "s" : [ { - "r" : "845", - "value" : [ "DateTime","(","2000",", ","3",", ","15",")" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "859", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "Not", - "signature" : [ { - "localId" : "860", - "name" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "832", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "Equal", - "signature" : [ { - "localId" : "857", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "858", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "841", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "842", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "843", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "844", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "833", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "834", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "835", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "14", - "type" : "Literal" - } - }, { - "localId" : "853", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "854", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "855", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "856", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "845", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "846", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "847", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal" - } - } ] - } - } - }, { - "localId" : "863", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "PossiblyEqDateTimesOnlyDateOnOne", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "863", - "s" : [ { - "value" : [ "","define ","PossiblyEqDateTimesOnlyDateOnOne",": " ] - }, { - "r" : "900", - "s" : [ { - "r" : "873", - "s" : [ { - "r" : "865", - "value" : [ "DateTime","(","2000",", ","3",", ","13",")" ] - } ] - }, { - "value" : [ " ","!="," " ] - }, { - "r" : "891", - "s" : [ { - "r" : "877", - "value" : [ "DateTime","(","2000",", ","3",", ","13",", ","13",", ","43",", ","32",")" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "900", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "Not", - "signature" : [ { - "localId" : "901", - "name" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "864", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "Equal", - "signature" : [ { - "localId" : "898", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "899", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "873", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "874", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "875", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "876", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "865", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "866", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "867", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "13", - "type" : "Literal" - } - }, { - "localId" : "891", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "892", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "893", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "894", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "895", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "896", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "897", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "877", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "878", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "879", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "13", - "type" : "Literal" - }, - "hour" : { - "localId" : "880", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "13", - "type" : "Literal" - }, - "minute" : { - "localId" : "881", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "43", - "type" : "Literal" - }, - "second" : { - "localId" : "882", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "32", - "type" : "Literal" - } - } ] - } - } - }, { - "localId" : "904", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "UneqDateTimesOnlyDateOnOne", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "904", - "s" : [ { - "value" : [ "","define ","UneqDateTimesOnlyDateOnOne",": " ] - }, { - "r" : "941", - "s" : [ { - "r" : "920", - "s" : [ { - "r" : "906", - "value" : [ "DateTime","(","2000",", ","4",", ","13",", ","12",", ","43",", ","32",")" ] - } ] - }, { - "value" : [ " ","!="," " ] - }, { - "r" : "935", - "s" : [ { - "r" : "927", - "value" : [ "DateTime","(","2000",", ","3",", ","13",")" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "941", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "Not", - "signature" : [ { - "localId" : "942", - "name" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "905", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "Equal", - "signature" : [ { - "localId" : "939", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "940", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "920", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "921", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "922", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "923", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "924", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "925", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "926", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "906", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "907", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "4", - "type" : "Literal" - }, - "day" : { - "localId" : "908", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "13", - "type" : "Literal" - }, - "hour" : { - "localId" : "909", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "12", - "type" : "Literal" - }, - "minute" : { - "localId" : "910", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "43", - "type" : "Literal" - }, - "second" : { - "localId" : "911", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "32", - "type" : "Literal" - } - }, { - "localId" : "935", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "936", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "937", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "938", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "927", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "928", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "929", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "13", - "type" : "Literal" - } - } ] - } - } - }, { - "localId" : "945", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "PossiblyEqualDateTimes", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "945", - "s" : [ { - "value" : [ "","define ","PossiblyEqualDateTimes",": " ] - }, { - "r" : "967", - "s" : [ { - "r" : "955", - "s" : [ { - "r" : "947", - "value" : [ "DateTime","(","2000",", ","3",", ","15",")" ] - } ] - }, { - "value" : [ " ","!="," " ] - }, { - "r" : "963", - "s" : [ { - "r" : "959", - "value" : [ "DateTime","(","2000",")" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "967", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "Not", - "signature" : [ { - "localId" : "968", - "name" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "946", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "Equal", - "signature" : [ { - "localId" : "965", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "966", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "955", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "956", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "957", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "958", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "947", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "948", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "949", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal" - } - }, { - "localId" : "963", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "964", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "959", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - } - } ] - } - } - }, { - "localId" : "971", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "ImpossiblyEqualDateTimes", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "971", - "s" : [ { - "value" : [ "","define ","ImpossiblyEqualDateTimes",": " ] - }, { - "r" : "996", - "s" : [ { - "r" : "981", - "s" : [ { - "r" : "973", - "value" : [ "DateTime","(","2000",", ","3",", ","15",")" ] - } ] - }, { - "value" : [ " ","!="," " ] - }, { - "r" : "991", - "s" : [ { - "r" : "985", - "value" : [ "DateTime","(","2000",", ","4",")" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "996", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "Not", - "signature" : [ { - "localId" : "997", - "name" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "972", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "Equal", - "signature" : [ { - "localId" : "994", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "995", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "981", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "982", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "983", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "984", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "973", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "974", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "975", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal" - } - }, { - "localId" : "991", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "992", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "993", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "985", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "986", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "4", - "type" : "Literal" - } - } ] - } - } - }, { - "localId" : "1000", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "DateAndDateTimeFalse", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "1000", - "s" : [ { - "value" : [ "","define ","DateAndDateTimeFalse",": " ] - }, { - "r" : "1031", - "s" : [ { - "r" : "1010", - "s" : [ { - "r" : "1002", - "value" : [ "Date","(","2000",", ","3",", ","13",")" ] - } ] - }, { - "value" : [ " ","!="," " ] - }, { - "r" : "1022", - "s" : [ { - "r" : "1014", - "value" : [ "DateTime","(","2000",", ","3",", ","13",")" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "1031", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "Not", - "signature" : [ { - "localId" : "1032", - "name" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "1001", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "Equal", - "signature" : [ { - "localId" : "1029", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1030", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "1027", - "type" : "ToDateTime", - "signature" : [ { - "localId" : "1028", - "name" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "1010", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "Date", - "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" - }, { - "localId" : "1013", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1002", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "1003", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "1004", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "13", - "type" : "Literal" - } - } - }, { - "localId" : "1022", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "1023", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1024", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1025", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1014", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "1015", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "1016", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "13", - "type" : "Literal" - } - } ] - } - } - }, { - "localId" : "1035", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "DateAndDateTimeNotEqual", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "1035", - "s" : [ { - "value" : [ "","define ","DateAndDateTimeNotEqual",": " ] - }, { - "r" : "1066", - "s" : [ { - "r" : "1045", - "s" : [ { - "r" : "1037", - "value" : [ "Date","(","2000",", ","3",", ","13",")" ] - } ] - }, { - "value" : [ " ","!="," " ] - }, { - "r" : "1057", - "s" : [ { - "r" : "1049", - "value" : [ "DateTime","(","2000",", ","3",", ","12",")" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "1066", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "Not", - "signature" : [ { - "localId" : "1067", - "name" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "1036", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "Equal", - "signature" : [ { - "localId" : "1064", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1065", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "1062", - "type" : "ToDateTime", - "signature" : [ { - "localId" : "1063", - "name" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "1045", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "Date", - "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" - }, { - "localId" : "1048", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1037", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "1038", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "1039", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "13", - "type" : "Literal" - } - } - }, { - "localId" : "1057", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "1058", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1059", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1060", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1049", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "1050", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "1051", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "12", - "type" : "Literal" - } - } ] - } - } - }, { - "localId" : "1070", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "DateAndDateTimeUncertainTrue", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "1070", - "s" : [ { - "value" : [ "","define ","DateAndDateTimeUncertainTrue",": " ] - }, { - "r" : "1110", - "s" : [ { - "r" : "1080", - "s" : [ { - "r" : "1072", - "value" : [ "Date","(","2000",", ","3",", ","13",")" ] - } ] - }, { - "value" : [ " ","!="," " ] - }, { - "r" : "1098", - "s" : [ { - "r" : "1084", - "value" : [ "DateTime","(","2000",", ","3",", ","13",", ","2",", ","4",", ","23",")" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "1110", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "Not", - "signature" : [ { - "localId" : "1111", - "name" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "1071", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "Equal", - "signature" : [ { - "localId" : "1108", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1109", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "1106", - "type" : "ToDateTime", - "signature" : [ { - "localId" : "1107", - "name" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "1080", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "Date", - "signature" : [ { - "localId" : "1081", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1082", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1083", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1072", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "1073", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "1074", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "13", - "type" : "Literal" - } - } - }, { - "localId" : "1098", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "1099", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1100", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1101", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1102", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1103", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1104", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1084", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "1085", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "1086", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "13", - "type" : "Literal" - }, - "hour" : { - "localId" : "1087", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal" - }, - "minute" : { - "localId" : "1088", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "4", - "type" : "Literal" - }, - "second" : { - "localId" : "1089", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "23", - "type" : "Literal" - } - } ] - } - } - }, { - "localId" : "1114", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "DateTimeAndDateFalse", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "1114", - "s" : [ { - "value" : [ "","define ","DateTimeAndDateFalse",": " ] - }, { - "r" : "1145", - "s" : [ { - "r" : "1124", - "s" : [ { - "r" : "1116", - "value" : [ "DateTime","(","2000",", ","3",", ","13",")" ] - } ] - }, { - "value" : [ " ","!="," " ] - }, { - "r" : "1136", - "s" : [ { - "r" : "1128", - "value" : [ "Date","(","2000",", ","3",", ","13",")" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "1145", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "Not", - "signature" : [ { - "localId" : "1146", - "name" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "1115", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "Equal", - "signature" : [ { - "localId" : "1143", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1144", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "1124", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "1125", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1126", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1127", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1116", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "1117", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "1118", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "13", - "type" : "Literal" - } - }, { - "localId" : "1141", - "type" : "ToDateTime", - "signature" : [ { - "localId" : "1142", - "name" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "1136", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "Date", - "signature" : [ { - "localId" : "1137", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1138", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1139", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1128", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "1129", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "1130", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "13", - "type" : "Literal" - } - } - } ] - } - } - }, { - "localId" : "1149", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "DateTimeAndDateNotEqual", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "1149", - "s" : [ { - "value" : [ "","define ","DateTimeAndDateNotEqual",": " ] - }, { - "r" : "1180", - "s" : [ { - "r" : "1159", - "s" : [ { - "r" : "1151", - "value" : [ "DateTime","(","2000",", ","3",", ","12",")" ] - } ] - }, { - "value" : [ " ","!="," " ] - }, { - "r" : "1171", - "s" : [ { - "r" : "1163", - "value" : [ "Date","(","2000",", ","3",", ","13",")" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "1180", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "Not", - "signature" : [ { - "localId" : "1181", - "name" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "1150", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "Equal", - "signature" : [ { - "localId" : "1178", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1179", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "1159", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "1160", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1161", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1162", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1151", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "1152", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "1153", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "12", - "type" : "Literal" - } - }, { - "localId" : "1176", - "type" : "ToDateTime", - "signature" : [ { - "localId" : "1177", - "name" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "1171", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "Date", - "signature" : [ { - "localId" : "1172", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1173", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1174", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1163", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "1164", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "1165", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "13", - "type" : "Literal" - } - } - } ] - } - } - }, { - "localId" : "1184", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "DateTimeAndDateUncertainNull", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "1184", - "s" : [ { - "value" : [ "","define ","DateTimeAndDateUncertainNull",": " ] - }, { - "r" : "1224", - "s" : [ { - "r" : "1200", - "s" : [ { - "r" : "1186", - "value" : [ "DateTime","(","2000",", ","3",", ","13",", ","2",", ","4",", ","23",")" ] - } ] - }, { - "value" : [ " ","!="," " ] - }, { - "r" : "1215", - "s" : [ { - "r" : "1207", - "value" : [ "Date","(","2000",", ","3",", ","13",")" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "1224", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "Not", - "signature" : [ { - "localId" : "1225", - "name" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "1185", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "Equal", - "signature" : [ { - "localId" : "1222", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1223", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "1200", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "1201", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1202", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1203", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1204", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1205", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1206", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1186", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "1187", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "1188", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "13", - "type" : "Literal" - }, - "hour" : { - "localId" : "1189", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal" - }, - "minute" : { - "localId" : "1190", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "4", - "type" : "Literal" - }, - "second" : { - "localId" : "1191", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "23", - "type" : "Literal" - } - }, { - "localId" : "1220", - "type" : "ToDateTime", - "signature" : [ { - "localId" : "1221", - "name" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "1215", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "Date", - "signature" : [ { - "localId" : "1216", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1217", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1218", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1207", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "1208", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "1209", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "13", - "type" : "Literal" - } - } - } ] - } - } - }, { - "localId" : "1228", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "AGtB_Quantity", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "1228", - "s" : [ { - "value" : [ "","define ","AGtB_Quantity",": " ] - }, { - "r" : "1234", - "s" : [ { - "r" : "1230", - "s" : [ { - "value" : [ "5 ","'m'" ] - } ] - }, { - "value" : [ " ","!="," " ] - }, { - "r" : "1231", - "s" : [ { - "value" : [ "4 ","'m'" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "1234", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "Not", - "signature" : [ { - "localId" : "1235", - "name" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "1229", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "Equal", - "signature" : [ { - "localId" : "1232", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1233", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "1230", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "value" : 5, - "unit" : "m", - "type" : "Quantity" - }, { - "localId" : "1231", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "value" : 4, - "unit" : "m", - "type" : "Quantity" - } ] - } - } - }, { - "localId" : "1238", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "AEqB_Quantity", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "1238", - "s" : [ { - "value" : [ "","define ","AEqB_Quantity",": " ] - }, { - "r" : "1244", - "s" : [ { - "r" : "1240", - "s" : [ { - "value" : [ "5 ","'m'" ] - } ] - }, { - "value" : [ " ","!="," " ] - }, { - "r" : "1241", - "s" : [ { - "value" : [ "5 ","'m'" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "1244", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "Not", - "signature" : [ { - "localId" : "1245", - "name" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "1239", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "Equal", - "signature" : [ { - "localId" : "1242", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1243", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "1240", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "value" : 5, - "unit" : "m", - "type" : "Quantity" - }, { - "localId" : "1241", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "value" : 5, - "unit" : "m", - "type" : "Quantity" - } ] - } - } - }, { - "localId" : "1248", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "ALtB_Quantity", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "1248", - "s" : [ { - "value" : [ "","define ","ALtB_Quantity",": " ] - }, { - "r" : "1254", - "s" : [ { - "r" : "1250", - "s" : [ { - "value" : [ "5 ","'m'" ] - } ] - }, { - "value" : [ " ","!="," " ] - }, { - "r" : "1251", - "s" : [ { - "value" : [ "6 ","'m'" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "1254", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "Not", - "signature" : [ { - "localId" : "1255", - "name" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "1249", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "Equal", - "signature" : [ { - "localId" : "1252", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1253", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "1250", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "value" : 5, - "unit" : "m", - "type" : "Quantity" - }, { - "localId" : "1251", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "value" : 6, - "unit" : "m", - "type" : "Quantity" - } ] - } - } - }, { - "localId" : "1258", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "AGtB_Quantity_diff", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "1258", - "s" : [ { - "value" : [ "","define ","AGtB_Quantity_diff",": " ] - }, { - "r" : "1264", - "s" : [ { - "r" : "1260", - "s" : [ { - "value" : [ "5 ","'m'" ] - } ] - }, { - "value" : [ " ","!="," " ] - }, { - "r" : "1261", - "s" : [ { - "value" : [ "5 ","'cm'" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "1264", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "Not", - "signature" : [ { - "localId" : "1265", - "name" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "1259", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "Equal", - "signature" : [ { - "localId" : "1262", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1263", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "1260", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "value" : 5, - "unit" : "m", - "type" : "Quantity" - }, { - "localId" : "1261", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "value" : 5, - "unit" : "cm", - "type" : "Quantity" - } ] - } - } - }, { - "localId" : "1268", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "AEqB_Quantity_diff", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "1268", - "s" : [ { - "value" : [ "","define ","AEqB_Quantity_diff",": " ] - }, { - "r" : "1274", - "s" : [ { - "r" : "1270", - "s" : [ { - "value" : [ "5 ","'m'" ] - } ] - }, { - "value" : [ " ","!="," " ] - }, { - "r" : "1271", - "s" : [ { - "value" : [ "500 ","'cm'" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "1274", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "Not", - "signature" : [ { - "localId" : "1275", - "name" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "1269", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "Equal", - "signature" : [ { - "localId" : "1272", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1273", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "1270", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "value" : 5, - "unit" : "m", - "type" : "Quantity" - }, { - "localId" : "1271", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "value" : 500, - "unit" : "cm", - "type" : "Quantity" - } ] - } - } - }, { - "localId" : "1278", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "ALtB_Quantity_diff", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "1278", - "s" : [ { - "value" : [ "","define ","ALtB_Quantity_diff",": " ] - }, { - "r" : "1284", - "s" : [ { - "r" : "1280", - "s" : [ { - "value" : [ "5 ","'m'" ] - } ] - }, { - "value" : [ " ","!="," " ] - }, { - "r" : "1281", - "s" : [ { - "value" : [ "5 ","'km'" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "1284", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "Not", - "signature" : [ { - "localId" : "1285", - "name" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "1279", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "Equal", - "signature" : [ { - "localId" : "1282", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1283", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "1280", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "value" : 5, - "unit" : "m", - "type" : "Quantity" - }, { - "localId" : "1281", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "value" : 5, - "unit" : "km", - "type" : "Quantity" - } ] - } - } - }, { - "localId" : "1288", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "AGtB_Quantity_incompatible", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "1288", - "s" : [ { - "value" : [ "","define ","AGtB_Quantity_incompatible",": " ] - }, { - "r" : "1294", - "s" : [ { - "r" : "1290", - "s" : [ { - "value" : [ "5 ","'Cel'" ] - } ] - }, { - "value" : [ " ","!="," " ] - }, { - "r" : "1291", - "s" : [ { - "value" : [ "4 ","'m'" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "1294", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "Not", - "signature" : [ { - "localId" : "1295", - "name" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "1289", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "Equal", - "signature" : [ { - "localId" : "1292", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1293", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "1290", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "value" : 5, - "unit" : "Cel", - "type" : "Quantity" - }, { - "localId" : "1291", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "value" : 4, - "unit" : "m", - "type" : "Quantity" - } ] - } - } - }, { - "localId" : "1298", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "AEqB_Quantity_incompatible", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "1298", - "s" : [ { - "value" : [ "","define ","AEqB_Quantity_incompatible",": " ] - }, { - "r" : "1304", - "s" : [ { - "r" : "1300", - "s" : [ { - "value" : [ "5 ","'Cel'" ] - } ] - }, { - "value" : [ " ","!="," " ] - }, { - "r" : "1301", - "s" : [ { - "value" : [ "5 ","'m'" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "1304", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "Not", - "signature" : [ { - "localId" : "1305", - "name" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "1299", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "Equal", - "signature" : [ { - "localId" : "1302", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1303", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "1300", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "value" : 5, - "unit" : "Cel", - "type" : "Quantity" - }, { - "localId" : "1301", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "value" : 5, - "unit" : "m", - "type" : "Quantity" - } ] - } - } - }, { - "localId" : "1308", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "ALtB_Quantity_incompatible", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "1308", - "s" : [ { - "value" : [ "","define ","ALtB_Quantity_incompatible",": " ] - }, { - "r" : "1314", - "s" : [ { - "r" : "1310", - "s" : [ { - "value" : [ "5 ","'Cel'" ] - } ] - }, { - "value" : [ " ","!="," " ] - }, { - "r" : "1311", - "s" : [ { - "value" : [ "40 ","'m'" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "1314", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "Not", - "signature" : [ { - "localId" : "1315", - "name" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "1309", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "Equal", - "signature" : [ { - "localId" : "1312", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1313", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "1310", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "value" : 5, - "unit" : "Cel", - "type" : "Quantity" - }, { - "localId" : "1311", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "value" : 40, - "unit" : "m", - "type" : "Quantity" - } ] - } - } - } ] - } - } -} - -/* Equivalent -library TestSnippet version '1' -using Simple version '1.0.0' -codesystem "LOINC": 'http://loinc.org' -code "Tobacco smoking status code": '72166-2' from "LOINC" display 'Tobacco smoking status code' -code "Tobacco smoking status code clone": '72166-2' from "LOINC" display 'Tobacco smoking status code clone' -code "Total Score [AUDIT-C] code": '75626-2' from "LOINC" display 'Total Score [Audit-C] code' -concept "Tobacco smoking status": { "Tobacco smoking status code" } display 'Tobacco smoking status' -concept "Tobacco smoking status clone": { "Tobacco smoking status code clone" } display 'Tobacco smoking status' -concept "Total Score [AUDIT-C]": { "Total Score [AUDIT-C] code" } display 'Total Score [Audit-C]' -valueset "Unknown": '1.2.3.4.5.6.7.8.9' -valueset "UnknownSame": '1.2.3.4.5.6.7.8.9' -valueset "Known": '2.16.840.1.113883.3.560.100.1' version '20121025' -valueset "KnownSameCodes": '2.16.840.1.113883.3.560.100.1' version '20131025' -valueset "KnownDifferentCodes": '2.16.840.1.113883.3.560.100.1' version '20141025' -context Patient - -define ANull_BDefined: null ~ 4 -define ADefined_BNull: 5 ~ null -define ANull_BNull: (null as String) ~ (null as String) -define ADefined_BDefined: 3 ~ 3 -define CaseInsensitiveStrings: 'FOO' ~ 'foo' -define WhiteSpaceTabTrue: 'foo bar' ~ 'foo\tbar' -define WhiteSpaceTabReturnTrue: 'foo\tbar' ~ 'foo\nbar' -define WhiteSpaceIncorrectSpaceFalse: 'foo bar' ~ 'foo\t\tbar' -define WhiteSpaceIncorrectNumberTabsFalse: 'foo\t\tbar' ~'foo\tbar' -define WhiteSpaceNoSpaceFalse: 'foo bar' ~ 'foobar' -define EqRatios: 10 'mg' : 2 'dL' ~ 15 'mg' : 3 'dL' -define UneqRatios: 10 'mg' : 2 'dL' ~ 15 'mg' : 4 'dL' -define UneqRatioTypes: 10 'mg' : 2 'dL' ~ DateTime(2000, 3, 13, 2, 4, 23) - -// define EmptyTuples: { : } ~ { : } // TODO: We don't seem to support this format -define SameTuples: Tuple{a: 'a', b: 'b'} ~ Tuple{a: 'a', b: 'b'} -define SameTuplesNull: Tuple{a: null} ~ Tuple{a : null} -define DifferentTuples: Tuple{a: 'a', b: 'b'} ~ Tuple{a: 'x', b: 'b'} -define SameNestedTuples: Tuple{a: 'a', b: Tuple{c: 'c'}} ~ Tuple{a: 'a', b: Tuple{c: 'c'}} -define SameNestedTuplesNull: Tuple{a: 'a', b: Tuple{c: null}} ~ Tuple{a: 'a', b: Tuple{c: null}} - -define EmptyLists: { } ~ { } -define DifferentTypesLists: {'1', '2', '3'} ~ {1, 2, 3} -define DifferentLengthLists: {'a'} ~ {'a', 'a'} -define DifferentOrderLists: {'a', 'b'} ~ {'b', 'a'} -define SameLists: {'a', 'b', 'c'} ~ {'a', 'b', 'c'} -define SameListsNull: {null, null, null} ~ {null, null, null} -define SameNestedLists: {{'a','d'}, {'b', 'c'}} ~ {{'a','d'}, {'b', 'c'}} -define SameNestedListsNull: {null, {null, null}} ~ {null, {null, null}} - -define EmptyInterval: Interval(null, null) ~ Interval(null, null) -define IntervalDifferentPointTypes: Interval[1, 5] ~ Interval['1', '5'] -define IntervalDifferentStarts: Interval[1,3] ~ Interval[2,3] -define IntervalDifferentEndings: Interval[1,3] ~ Interval[1,4] -define SameIntervals: Interval[1,3] ~ Interval[1,3] - -define TupleAndList: {a: '1'} ~ {'1'} -define ListAndTuple: {'1'} ~ {a: '1'} -define TupleAndNullList: {a: '1'} ~ {null} -define NullListAndTuple: {null} ~ {a: '1'} - -define SameCodeAndCode: "Tobacco smoking status code" ~ "Tobacco smoking status code clone" -define SameCodeAndConcept: "Tobacco smoking status code clone" ~ "Tobacco smoking status" -define SameConceptAndCode: "Tobacco smoking status" ~ "Tobacco smoking status code clone" -define SameConceptAndConcept: "Tobacco smoking status" ~ "Tobacco smoking status clone" -define DiffCodeAndCode: "Tobacco smoking status code" ~ "Total Score [AUDIT-C] code" -define DiffCodeAndConcept: "Tobacco smoking status code clone" ~ "Total Score [AUDIT-C]" -define DiffConceptAndCode: "Tobacco smoking status" ~ "Total Score [AUDIT-C] code" -define DiffConceptAndConcept: "Tobacco smoking status" ~ "Total Score [AUDIT-C]" -define SameVSIdAndVersion: "Unknown" ~ "UnknownSame" -define SameVSCodes: "Known" ~ "KnownSameCodes" -define DiffVSCodes: "Known" ~ "KnownDifferentCodes" -define UnresolvableDiffVS: "Known" ~ "Unknown" - -define EqDateTimes: DateTime(2000, 3, 15, 13, 30, 25, 200, +1.0) ~ DateTime(2000, 3, 15, 13, 30, 25, 200, +1.0) -define UneqDateTimes: DateTime(2000, 3, 15, 13, 30, 25, 200, +1.0) ~ DateTime(2000, 3, 15, 13, 30, 25, 201, +1.0) -define EqDateTimesTZ: DateTime(2000, 3, 15, 23, 30, 25, 200, +1.0) ~ DateTime(2000, 3, 16, 2, 30, 25, 200, +4.0) -define UneqDateTimesTZ: DateTime(2000, 3, 15, 13, 30, 25, 200, +1.0) ~ DateTime(2000, 3, 15, 13, 30, 25, 200, +2.0) -define EqDateTimesNullMs: DateTime(2000, 3, 15, 13, 30, 25, 0) ~ DateTime(2000, 3, 15, 13, 30, 25) -define EqDateTimesNullOtherMs: DateTime(2000, 3, 15, 13, 30, 25) ~ DateTime(2000, 3, 15, 13, 30, 25, 0) -define EqDateTimesOnlyDate: DateTime(2000, 3, 15) ~ DateTime(2000, 3, 15) -define UneqDateTimesOnlyDate: DateTime(2000, 3, 14) ~ DateTime(2000, 3, 15) -define PossiblyEqDateTimesOnlyDateOnOne: DateTime(2000, 3, 13) ~ DateTime(2000, 3, 13, 13, 43, 32) -define UneqDateTimesOnlyDateOnOne: DateTime(2000, 4, 13, 12, 43, 32) ~ DateTime(2000, 3, 13) -define PossiblyEqualDateTimes: DateTime(2000, 3, 15) ~ DateTime(2000) -define ImpossiblyEqualDateTimes: DateTime(2000, 3, 15) ~ DateTime(2000, 4) -define DateAndDateTimeTrue: Date(2000, 3, 13) ~ DateTime(2000, 3, 13) -define DateAndDateTimeNotEqual: Date(2000, 3, 13) ~ DateTime(2000, 3, 12) -define DateAndDateTimeUncertainFalse: Date(2000, 3, 13) ~ DateTime(2000, 3, 13, 2, 4, 23) -define DateTimeAndDateTrue: DateTime(2000, 3, 13) ~ Date(2000, 3, 13) -define DateTimeAndDateNotEqual: DateTime(2000, 3, 12) ~ Date(2000, 3, 13) -define DateTimeAndDateUncertainFalse: DateTime(2000, 3, 13, 2, 4, 23) ~ Date(2000, 3, 13) -*/ - -module.exports['Equivalent'] = { - "library" : { - "localId" : "0", - "annotation" : [ { - "translatorVersion" : "3.27.0", - "translatorOptions" : "EnableDateRangeOptimization,EnableAnnotations,EnableResultTypes", - "signatureLevel" : "All", - "type" : "CqlToElmInfo" - }, { - "libraryId" : "TestSnippet", - "libraryVersion" : "1", - "startLine" : 55, - "startChar" : 37, - "endLine" : 55, - "endChar" : 42, - "message" : "List-valued expression was demoted to a singleton.", - "errorType" : "semantic", - "errorSeverity" : "warning", - "type" : "CqlToElmError" - }, { - "libraryId" : "TestSnippet", - "libraryVersion" : "1", - "startLine" : 56, - "startChar" : 26, - "endLine" : 56, - "endChar" : 31, - "message" : "List-valued expression was demoted to a singleton.", - "errorType" : "semantic", - "errorSeverity" : "warning", - "type" : "CqlToElmError" - }, { - "type" : "Annotation", - "s" : { - "r" : "1805", - "s" : [ { - "value" : [ "","library TestSnippet version '1'" ] - } ] - } - } ], - "identifier" : { - "id" : "TestSnippet", - "version" : "1" - }, - "schemaIdentifier" : { - "id" : "urn:hl7-org:elm", - "version" : "r1" - }, - "usings" : { - "def" : [ { - "localId" : "1", - "localIdentifier" : "System", - "uri" : "urn:hl7-org:elm-types:r1" - }, { - "localId" : "206", - "localIdentifier" : "Simple", - "uri" : "https://github.com/cqframework/cql-execution/simple", - "version" : "1.0.0", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "206", - "s" : [ { - "value" : [ "","using " ] - }, { - "s" : [ { - "value" : [ "Simple" ] - } ] - }, { - "value" : [ " version '1.0.0'" ] - } ] - } - } ] - } ] - }, - "codeSystems" : { - "def" : [ { - "localId" : "208", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}CodeSystem", - "name" : "LOINC", - "id" : "http://loinc.org", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "208", - "s" : [ { - "value" : [ "","codesystem ","\"LOINC\"",": ","'http://loinc.org'" ] - } ] - } - } ] - } ] - }, - "valueSets" : { - "def" : [ { - "localId" : "225", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}ValueSet", - "name" : "Unknown", - "id" : "1.2.3.4.5.6.7.8.9", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "225", - "s" : [ { - "value" : [ "","valueset ","\"Unknown\"",": ","'1.2.3.4.5.6.7.8.9'" ] - } ] - } - } ], - "codeSystem" : [ ] - }, { - "localId" : "227", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}ValueSet", - "name" : "UnknownSame", - "id" : "1.2.3.4.5.6.7.8.9", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "227", - "s" : [ { - "value" : [ "","valueset ","\"UnknownSame\"",": ","'1.2.3.4.5.6.7.8.9'" ] - } ] - } - } ], - "codeSystem" : [ ] - }, { - "localId" : "229", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}ValueSet", - "name" : "Known", - "id" : "2.16.840.1.113883.3.560.100.1", - "version" : "20121025", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "229", - "s" : [ { - "value" : [ "","valueset ","\"Known\"",": ","'2.16.840.1.113883.3.560.100.1'"," version ","'20121025'" ] - } ] - } - } ], - "codeSystem" : [ ] - }, { - "localId" : "231", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}ValueSet", - "name" : "KnownSameCodes", - "id" : "2.16.840.1.113883.3.560.100.1", - "version" : "20131025", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "231", - "s" : [ { - "value" : [ "","valueset ","\"KnownSameCodes\"",": ","'2.16.840.1.113883.3.560.100.1'"," version ","'20131025'" ] - } ] - } - } ], - "codeSystem" : [ ] - }, { - "localId" : "233", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}ValueSet", - "name" : "KnownDifferentCodes", - "id" : "2.16.840.1.113883.3.560.100.1", - "version" : "20141025", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "233", - "s" : [ { - "value" : [ "","valueset ","\"KnownDifferentCodes\"",": ","'2.16.840.1.113883.3.560.100.1'"," version ","'20141025'" ] - } ] - } - } ], - "codeSystem" : [ ] - } ] - }, - "codes" : { - "def" : [ { - "localId" : "210", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Code", - "name" : "Tobacco smoking status code", - "id" : "72166-2", - "display" : "Tobacco smoking status code", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "210", - "s" : [ { - "value" : [ "","code ","\"Tobacco smoking status code\"",": ","'72166-2'"," from " ] - }, { - "r" : "211", - "s" : [ { - "value" : [ "\"LOINC\"" ] - } ] - }, { - "value" : [ " display ","'Tobacco smoking status code'" ] - } ] - } - } ], - "codeSystem" : { - "localId" : "211", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}CodeSystem", - "name" : "LOINC" - } - }, { - "localId" : "213", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Code", - "name" : "Tobacco smoking status code clone", - "id" : "72166-2", - "display" : "Tobacco smoking status code clone", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "213", - "s" : [ { - "value" : [ "","code ","\"Tobacco smoking status code clone\"",": ","'72166-2'"," from " ] - }, { - "r" : "214", - "s" : [ { - "value" : [ "\"LOINC\"" ] - } ] - }, { - "value" : [ " display ","'Tobacco smoking status code clone'" ] - } ] - } - } ], - "codeSystem" : { - "localId" : "214", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}CodeSystem", - "name" : "LOINC" - } - }, { - "localId" : "216", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Code", - "name" : "Total Score [AUDIT-C] code", - "id" : "75626-2", - "display" : "Total Score [Audit-C] code", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "216", - "s" : [ { - "value" : [ "","code ","\"Total Score [AUDIT-C] code\"",": ","'75626-2'"," from " ] - }, { - "r" : "217", - "s" : [ { - "value" : [ "\"LOINC\"" ] - } ] - }, { - "value" : [ " display ","'Total Score [Audit-C] code'" ] - } ] - } - } ], - "codeSystem" : { - "localId" : "217", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}CodeSystem", - "name" : "LOINC" - } - } ] - }, - "concepts" : { - "def" : [ { - "localId" : "219", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Concept", - "name" : "Tobacco smoking status", - "display" : "Tobacco smoking status", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "219", - "s" : [ { - "value" : [ "","concept ","\"Tobacco smoking status\"",": { " ] - }, { - "r" : "220", - "s" : [ { - "value" : [ "\"Tobacco smoking status code\"" ] - } ] - }, { - "value" : [ " } display ","'Tobacco smoking status'" ] - } ] - } - } ], - "code" : [ { - "localId" : "220", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Code", - "name" : "Tobacco smoking status code" - } ] - }, { - "localId" : "221", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Concept", - "name" : "Tobacco smoking status clone", - "display" : "Tobacco smoking status", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "221", - "s" : [ { - "value" : [ "","concept ","\"Tobacco smoking status clone\"",": { " ] - }, { - "r" : "222", - "s" : [ { - "value" : [ "\"Tobacco smoking status code clone\"" ] - } ] - }, { - "value" : [ " } display ","'Tobacco smoking status'" ] - } ] - } - } ], - "code" : [ { - "localId" : "222", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Code", - "name" : "Tobacco smoking status code clone" - } ] - }, { - "localId" : "223", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Concept", - "name" : "Total Score [AUDIT-C]", - "display" : "Total Score [Audit-C]", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "223", - "s" : [ { - "value" : [ "","concept ","\"Total Score [AUDIT-C]\"",": { " ] - }, { - "r" : "224", - "s" : [ { - "value" : [ "\"Total Score [AUDIT-C] code\"" ] - } ] - }, { - "value" : [ " } display ","'Total Score [Audit-C]'" ] - } ] - } - } ], - "code" : [ { - "localId" : "224", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Code", - "name" : "Total Score [AUDIT-C] code" - } ] - } ] - }, - "contexts" : { - "def" : [ { - "localId" : "238", - "name" : "Patient" - } ] - }, - "statements" : { - "def" : [ { - "localId" : "236", - "name" : "Patient", - "context" : "Patient", - "expression" : { - "localId" : "237", - "type" : "SingletonFrom", - "signature" : [ ], - "operand" : { - "localId" : "235", - "dataType" : "{https://github.com/cqframework/cql-execution/simple}Patient", - "type" : "Retrieve", - "include" : [ ], - "codeFilter" : [ ], - "dateFilter" : [ ], - "otherFilter" : [ ] - } - } - }, { - "localId" : "241", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "ANull_BDefined", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "241", - "s" : [ { - "value" : [ "","define ","ANull_BDefined",": " ] - }, { - "r" : "242", - "s" : [ { - "r" : "243", - "value" : [ "null"," ","~"," ","4" ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "242", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "Equivalent", - "signature" : [ { - "localId" : "246", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "247", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "245", - "asType" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "As", - "signature" : [ ], - "operand" : { - "localId" : "243", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - } - }, { - "localId" : "244", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "4", - "type" : "Literal" - } ] - } - }, { - "localId" : "250", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "ADefined_BNull", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "250", - "s" : [ { - "value" : [ "","define ","ADefined_BNull",": " ] - }, { - "r" : "251", - "s" : [ { - "r" : "252", - "value" : [ "5"," ","~"," ","null" ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "251", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "Equivalent", - "signature" : [ { - "localId" : "255", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "256", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "252", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal" - }, { - "localId" : "254", - "asType" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "As", - "signature" : [ ], - "operand" : { - "localId" : "253", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - } - } ] - } - }, { - "localId" : "259", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "ANull_BNull", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "259", - "s" : [ { - "value" : [ "","define ","ANull_BNull",": " ] - }, { - "r" : "260", - "s" : [ { - "r" : "261", - "s" : [ { - "value" : [ "(" ] - }, { - "r" : "261", - "s" : [ { - "r" : "262", - "value" : [ "null"," as " ] - }, { - "r" : "263", - "s" : [ { - "value" : [ "String" ] - } ] - } ] - }, { - "value" : [ ")" ] - } ] - }, { - "value" : [ " ","~"," " ] - }, { - "r" : "264", - "s" : [ { - "value" : [ "(" ] - }, { - "r" : "264", - "s" : [ { - "r" : "265", - "value" : [ "null"," as " ] - }, { - "r" : "266", - "s" : [ { - "value" : [ "String" ] - } ] - } ] - }, { - "value" : [ ")" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "260", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "Equivalent", - "signature" : [ { - "localId" : "267", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "268", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "261", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "strict" : false, - "type" : "As", - "signature" : [ ], - "operand" : { - "localId" : "262", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - }, - "asTypeSpecifier" : { - "localId" : "263", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "264", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "strict" : false, - "type" : "As", - "signature" : [ ], - "operand" : { - "localId" : "265", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - }, - "asTypeSpecifier" : { - "localId" : "266", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } - } ] - } - }, { - "localId" : "271", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "ADefined_BDefined", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "271", - "s" : [ { - "value" : [ "","define ","ADefined_BDefined",": " ] - }, { - "r" : "272", - "s" : [ { - "r" : "273", - "value" : [ "3"," ","~"," ","3" ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "272", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "Equivalent", - "signature" : [ { - "localId" : "275", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "276", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "273", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, { - "localId" : "274", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - } ] - } - }, { - "localId" : "279", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "CaseInsensitiveStrings", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "279", - "s" : [ { - "value" : [ "","define ","CaseInsensitiveStrings",": " ] - }, { - "r" : "280", - "s" : [ { - "r" : "281", - "s" : [ { - "value" : [ "'FOO'" ] - } ] - }, { - "value" : [ " ","~"," " ] - }, { - "r" : "283", - "s" : [ { - "value" : [ "'foo'" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "280", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "Equivalent", - "signature" : [ { - "localId" : "285", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "286", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "281", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "FOO", - "type" : "Literal" - }, { - "localId" : "283", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "foo", - "type" : "Literal" - } ] - } - }, { - "localId" : "289", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "WhiteSpaceTabTrue", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "289", - "s" : [ { - "value" : [ "","define ","WhiteSpaceTabTrue",": " ] - }, { - "r" : "290", - "s" : [ { - "r" : "291", - "s" : [ { - "value" : [ "'foo bar'" ] - } ] - }, { - "value" : [ " ","~"," " ] - }, { - "r" : "293", - "s" : [ { - "value" : [ "'foo\\tbar'" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "290", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "Equivalent", - "signature" : [ { - "localId" : "295", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "296", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "291", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "foo bar", - "type" : "Literal" - }, { - "localId" : "293", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "foo\tbar", - "type" : "Literal" - } ] - } - }, { - "localId" : "299", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "WhiteSpaceTabReturnTrue", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "299", - "s" : [ { - "value" : [ "","define ","WhiteSpaceTabReturnTrue",": " ] - }, { - "r" : "300", - "s" : [ { - "r" : "301", - "s" : [ { - "value" : [ "'foo\\tbar'" ] - } ] - }, { - "value" : [ " ","~"," " ] - }, { - "r" : "303", - "s" : [ { - "value" : [ "'foo\\nbar'" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "300", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "Equivalent", - "signature" : [ { - "localId" : "305", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "306", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "301", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "foo\tbar", - "type" : "Literal" - }, { - "localId" : "303", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "foo\nbar", - "type" : "Literal" - } ] - } - }, { - "localId" : "309", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "WhiteSpaceIncorrectSpaceFalse", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "309", - "s" : [ { - "value" : [ "","define ","WhiteSpaceIncorrectSpaceFalse",": " ] - }, { - "r" : "310", - "s" : [ { - "r" : "311", - "s" : [ { - "value" : [ "'foo bar'" ] - } ] - }, { - "value" : [ " ","~"," " ] - }, { - "r" : "313", - "s" : [ { - "value" : [ "'foo\\t\\tbar'" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "310", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "Equivalent", - "signature" : [ { - "localId" : "315", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "316", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "311", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "foo bar", - "type" : "Literal" - }, { - "localId" : "313", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "foo\t\tbar", - "type" : "Literal" - } ] - } - }, { - "localId" : "319", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "WhiteSpaceIncorrectNumberTabsFalse", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "319", - "s" : [ { - "value" : [ "","define ","WhiteSpaceIncorrectNumberTabsFalse",": " ] - }, { - "r" : "320", - "s" : [ { - "r" : "321", - "s" : [ { - "value" : [ "'foo\\t\\tbar'" ] - } ] - }, { - "value" : [ " ","~" ] - }, { - "r" : "323", - "s" : [ { - "value" : [ "'foo\\tbar'" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "320", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "Equivalent", - "signature" : [ { - "localId" : "325", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "326", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "321", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "foo\t\tbar", - "type" : "Literal" - }, { - "localId" : "323", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "foo\tbar", - "type" : "Literal" - } ] - } - }, { - "localId" : "329", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "WhiteSpaceNoSpaceFalse", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "329", - "s" : [ { - "value" : [ "","define ","WhiteSpaceNoSpaceFalse",": " ] - }, { - "r" : "330", - "s" : [ { - "r" : "331", - "s" : [ { - "value" : [ "'foo bar'" ] - } ] - }, { - "value" : [ " ","~"," " ] - }, { - "r" : "333", - "s" : [ { - "value" : [ "'foobar'" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "330", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "Equivalent", - "signature" : [ { - "localId" : "335", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "336", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "331", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "foo bar", - "type" : "Literal" - }, { - "localId" : "333", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "foobar", - "type" : "Literal" - } ] - } - }, { - "localId" : "339", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "EqRatios", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "339", - "s" : [ { - "value" : [ "","define ","EqRatios",": " ] - }, { - "r" : "340", - "s" : [ { - "r" : "343", - "s" : [ { - "r" : "341", - "s" : [ { - "value" : [ "10 ","'mg'" ] - } ] - }, { - "value" : [ " : " ] - }, { - "r" : "342", - "s" : [ { - "value" : [ "2 ","'dL'" ] - } ] - } ] - }, { - "value" : [ " ","~"," " ] - }, { - "r" : "346", - "s" : [ { - "r" : "344", - "s" : [ { - "value" : [ "15 ","'mg'" ] - } ] - }, { - "value" : [ " : " ] - }, { - "r" : "345", - "s" : [ { - "value" : [ "3 ","'dL'" ] - } ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "340", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "Equivalent", - "signature" : [ { - "localId" : "347", - "name" : "{urn:hl7-org:elm-types:r1}Ratio", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "348", - "name" : "{urn:hl7-org:elm-types:r1}Ratio", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "343", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Ratio", - "type" : "Ratio", - "numerator" : { - "localId" : "341", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "value" : 10, - "unit" : "mg" - }, - "denominator" : { - "localId" : "342", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "value" : 2, - "unit" : "dL" - } - }, { - "localId" : "346", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Ratio", - "type" : "Ratio", - "numerator" : { - "localId" : "344", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "value" : 15, - "unit" : "mg" - }, - "denominator" : { - "localId" : "345", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "value" : 3, - "unit" : "dL" - } - } ] - } - }, { - "localId" : "351", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "UneqRatios", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "351", - "s" : [ { - "value" : [ "","define ","UneqRatios",": " ] - }, { - "r" : "352", - "s" : [ { - "r" : "355", - "s" : [ { - "r" : "353", - "s" : [ { - "value" : [ "10 ","'mg'" ] - } ] - }, { - "value" : [ " : " ] - }, { - "r" : "354", - "s" : [ { - "value" : [ "2 ","'dL'" ] - } ] - } ] - }, { - "value" : [ " ","~"," " ] - }, { - "r" : "358", - "s" : [ { - "r" : "356", - "s" : [ { - "value" : [ "15 ","'mg'" ] - } ] - }, { - "value" : [ " : " ] - }, { - "r" : "357", - "s" : [ { - "value" : [ "4 ","'dL'" ] - } ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "352", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "Equivalent", - "signature" : [ { - "localId" : "359", - "name" : "{urn:hl7-org:elm-types:r1}Ratio", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "360", - "name" : "{urn:hl7-org:elm-types:r1}Ratio", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "355", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Ratio", - "type" : "Ratio", - "numerator" : { - "localId" : "353", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "value" : 10, - "unit" : "mg" - }, - "denominator" : { - "localId" : "354", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "value" : 2, - "unit" : "dL" - } - }, { - "localId" : "358", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Ratio", - "type" : "Ratio", - "numerator" : { - "localId" : "356", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "value" : 15, - "unit" : "mg" - }, - "denominator" : { - "localId" : "357", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "value" : 4, - "unit" : "dL" - } - } ] - } - }, { - "localId" : "363", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "UneqRatioTypes", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "363", - "s" : [ { - "value" : [ "","define ","UneqRatioTypes",": " ] - }, { - "r" : "364", - "s" : [ { - "r" : "367", - "s" : [ { - "r" : "365", - "s" : [ { - "value" : [ "10 ","'mg'" ] - } ] - }, { - "value" : [ " : " ] - }, { - "r" : "366", - "s" : [ { - "value" : [ "2 ","'dL'" ] - } ] - } ] - }, { - "value" : [ " ","~"," " ] - }, { - "r" : "382", - "s" : [ { - "r" : "368", - "value" : [ "DateTime","(","2000",", ","3",", ","13",", ","2",", ","4",", ","23",")" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "364", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "Equivalent", - "signature" : [ { - "localId" : "391", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "392", - "name" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "393", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "394", - "name" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "389", - "type" : "ToList", - "signature" : [ ], - "operand" : { - "localId" : "367", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Ratio", - "type" : "Ratio", - "numerator" : { - "localId" : "365", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "value" : 10, - "unit" : "mg" - }, - "denominator" : { - "localId" : "366", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "value" : 2, - "unit" : "dL" - } - } - }, { - "localId" : "390", - "type" : "ToList", - "signature" : [ ], - "operand" : { - "localId" : "382", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "383", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "384", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "385", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "386", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "387", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "388", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "368", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "369", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "370", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "13", - "type" : "Literal" - }, - "hour" : { - "localId" : "371", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal" - }, - "minute" : { - "localId" : "372", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "4", - "type" : "Literal" - }, - "second" : { - "localId" : "373", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "23", - "type" : "Literal" - } - } - } ] - } - }, { - "localId" : "397", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "SameTuples", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "397", - "s" : [ { - "value" : [ "// define EmptyTuples: { : } ~ { : } // TODO: We don't seem to support this format\n","define ","SameTuples",": " ] - }, { - "r" : "398", - "s" : [ { - "r" : "399", - "s" : [ { - "value" : [ "Tuple{" ] - }, { - "s" : [ { - "value" : [ "a",": " ] - }, { - "r" : "400", - "s" : [ { - "value" : [ "'a'" ] - } ] - } ] - }, { - "value" : [ ", " ] - }, { - "s" : [ { - "value" : [ "b",": " ] - }, { - "r" : "402", - "s" : [ { - "value" : [ "'b'" ] - } ] - } ] - }, { - "value" : [ "}" ] - } ] - }, { - "value" : [ " ","~"," " ] - }, { - "r" : "409", - "s" : [ { - "value" : [ "Tuple{" ] - }, { - "s" : [ { - "value" : [ "a",": " ] - }, { - "r" : "410", - "s" : [ { - "value" : [ "'a'" ] - } ] - } ] - }, { - "value" : [ ", " ] - }, { - "s" : [ { - "value" : [ "b",": " ] - }, { - "r" : "412", - "s" : [ { - "value" : [ "'b'" ] - } ] - } ] - }, { - "value" : [ "}" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "398", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "Equivalent", - "signature" : [ { - "localId" : "419", - "type" : "TupleTypeSpecifier", - "element" : [ { - "localId" : "420", - "name" : "a", - "elementType" : { - "localId" : "421", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "422", - "name" : "b", - "elementType" : { - "localId" : "423", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } - } ] - }, { - "localId" : "424", - "type" : "TupleTypeSpecifier", - "element" : [ { - "localId" : "425", - "name" : "a", - "elementType" : { - "localId" : "426", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "427", - "name" : "b", - "elementType" : { - "localId" : "428", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } - } ] - } ], - "operand" : [ { - "localId" : "399", - "type" : "Tuple", - "resultTypeSpecifier" : { - "localId" : "404", - "type" : "TupleTypeSpecifier", - "element" : [ { - "localId" : "405", - "name" : "a", - "elementType" : { - "localId" : "406", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "407", - "name" : "b", - "elementType" : { - "localId" : "408", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } - } ] - }, - "element" : [ { - "name" : "a", - "value" : { - "localId" : "400", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "a", - "type" : "Literal" - } - }, { - "name" : "b", - "value" : { - "localId" : "402", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "b", - "type" : "Literal" - } - } ] - }, { - "localId" : "409", - "type" : "Tuple", - "resultTypeSpecifier" : { - "localId" : "414", - "type" : "TupleTypeSpecifier", - "element" : [ { - "localId" : "415", - "name" : "a", - "elementType" : { - "localId" : "416", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "417", - "name" : "b", - "elementType" : { - "localId" : "418", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } - } ] - }, - "element" : [ { - "name" : "a", - "value" : { - "localId" : "410", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "a", - "type" : "Literal" - } - }, { - "name" : "b", - "value" : { - "localId" : "412", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "b", - "type" : "Literal" - } - } ] - } ] - } - }, { - "localId" : "431", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "SameTuplesNull", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "431", - "s" : [ { - "value" : [ "","define ","SameTuplesNull",": " ] - }, { - "r" : "432", - "s" : [ { - "r" : "433", - "s" : [ { - "value" : [ "Tuple{" ] - }, { - "s" : [ { - "r" : "434", - "value" : [ "a",": ","null" ] - } ] - }, { - "value" : [ "}" ] - } ] - }, { - "value" : [ " ","~"," " ] - }, { - "r" : "438", - "s" : [ { - "value" : [ "Tuple{" ] - }, { - "s" : [ { - "r" : "439", - "value" : [ "a"," : ","null" ] - } ] - }, { - "value" : [ "}" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "432", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "Equivalent", - "signature" : [ { - "localId" : "443", - "type" : "TupleTypeSpecifier", - "element" : [ { - "localId" : "444", - "name" : "a", - "elementType" : { - "localId" : "445", - "name" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "NamedTypeSpecifier" - } - } ] - }, { - "localId" : "446", - "type" : "TupleTypeSpecifier", - "element" : [ { - "localId" : "447", - "name" : "a", - "elementType" : { - "localId" : "448", - "name" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "NamedTypeSpecifier" - } - } ] - } ], - "operand" : [ { - "localId" : "433", - "type" : "Tuple", - "resultTypeSpecifier" : { - "localId" : "435", - "type" : "TupleTypeSpecifier", - "element" : [ { - "localId" : "436", - "name" : "a", - "elementType" : { - "localId" : "437", - "name" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "NamedTypeSpecifier" - } - } ] - }, - "element" : [ { - "name" : "a", - "value" : { - "localId" : "434", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - } - } ] - }, { - "localId" : "438", - "type" : "Tuple", - "resultTypeSpecifier" : { - "localId" : "440", - "type" : "TupleTypeSpecifier", - "element" : [ { - "localId" : "441", - "name" : "a", - "elementType" : { - "localId" : "442", - "name" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "NamedTypeSpecifier" - } - } ] - }, - "element" : [ { - "name" : "a", - "value" : { - "localId" : "439", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - } - } ] - } ] - } - }, { - "localId" : "451", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "DifferentTuples", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "451", - "s" : [ { - "value" : [ "","define ","DifferentTuples",": " ] - }, { - "r" : "452", - "s" : [ { - "r" : "453", - "s" : [ { - "value" : [ "Tuple{" ] - }, { - "s" : [ { - "value" : [ "a",": " ] - }, { - "r" : "454", - "s" : [ { - "value" : [ "'a'" ] - } ] - } ] - }, { - "value" : [ ", " ] - }, { - "s" : [ { - "value" : [ "b",": " ] - }, { - "r" : "456", - "s" : [ { - "value" : [ "'b'" ] - } ] - } ] - }, { - "value" : [ "}" ] - } ] - }, { - "value" : [ " ","~"," " ] - }, { - "r" : "463", - "s" : [ { - "value" : [ "Tuple{" ] - }, { - "s" : [ { - "value" : [ "a",": " ] - }, { - "r" : "464", - "s" : [ { - "value" : [ "'x'" ] - } ] - } ] - }, { - "value" : [ ", " ] - }, { - "s" : [ { - "value" : [ "b",": " ] - }, { - "r" : "466", - "s" : [ { - "value" : [ "'b'" ] - } ] - } ] - }, { - "value" : [ "}" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "452", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "Equivalent", - "signature" : [ { - "localId" : "473", - "type" : "TupleTypeSpecifier", - "element" : [ { - "localId" : "474", - "name" : "a", - "elementType" : { - "localId" : "475", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "476", - "name" : "b", - "elementType" : { - "localId" : "477", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } - } ] - }, { - "localId" : "478", - "type" : "TupleTypeSpecifier", - "element" : [ { - "localId" : "479", - "name" : "a", - "elementType" : { - "localId" : "480", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "481", - "name" : "b", - "elementType" : { - "localId" : "482", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } - } ] - } ], - "operand" : [ { - "localId" : "453", - "type" : "Tuple", - "resultTypeSpecifier" : { - "localId" : "458", - "type" : "TupleTypeSpecifier", - "element" : [ { - "localId" : "459", - "name" : "a", - "elementType" : { - "localId" : "460", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "461", - "name" : "b", - "elementType" : { - "localId" : "462", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } - } ] - }, - "element" : [ { - "name" : "a", - "value" : { - "localId" : "454", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "a", - "type" : "Literal" - } - }, { - "name" : "b", - "value" : { - "localId" : "456", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "b", - "type" : "Literal" - } - } ] - }, { - "localId" : "463", - "type" : "Tuple", - "resultTypeSpecifier" : { - "localId" : "468", - "type" : "TupleTypeSpecifier", - "element" : [ { - "localId" : "469", - "name" : "a", - "elementType" : { - "localId" : "470", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "471", - "name" : "b", - "elementType" : { - "localId" : "472", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } - } ] - }, - "element" : [ { - "name" : "a", - "value" : { - "localId" : "464", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "x", - "type" : "Literal" - } - }, { - "name" : "b", - "value" : { - "localId" : "466", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "b", - "type" : "Literal" - } - } ] - } ] - } - }, { - "localId" : "485", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "SameNestedTuples", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "485", - "s" : [ { - "value" : [ "","define ","SameNestedTuples",": " ] - }, { - "r" : "486", - "s" : [ { - "r" : "487", - "s" : [ { - "value" : [ "Tuple{" ] - }, { - "s" : [ { - "value" : [ "a",": " ] - }, { - "r" : "488", - "s" : [ { - "value" : [ "'a'" ] - } ] - } ] - }, { - "value" : [ ", " ] - }, { - "s" : [ { - "value" : [ "b",": " ] - }, { - "r" : "490", - "s" : [ { - "value" : [ "Tuple{" ] - }, { - "s" : [ { - "value" : [ "c",": " ] - }, { - "r" : "491", - "s" : [ { - "value" : [ "'c'" ] - } ] - } ] - }, { - "value" : [ "}" ] - } ] - } ] - }, { - "value" : [ "}" ] - } ] - }, { - "value" : [ " ","~"," " ] - }, { - "r" : "503", - "s" : [ { - "value" : [ "Tuple{" ] - }, { - "s" : [ { - "value" : [ "a",": " ] - }, { - "r" : "504", - "s" : [ { - "value" : [ "'a'" ] - } ] - } ] - }, { - "value" : [ ", " ] - }, { - "s" : [ { - "value" : [ "b",": " ] - }, { - "r" : "506", - "s" : [ { - "value" : [ "Tuple{" ] - }, { - "s" : [ { - "value" : [ "c",": " ] - }, { - "r" : "507", - "s" : [ { - "value" : [ "'c'" ] - } ] - } ] - }, { - "value" : [ "}" ] - } ] - } ] - }, { - "value" : [ "}" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "486", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "Equivalent", - "signature" : [ { - "localId" : "519", - "type" : "TupleTypeSpecifier", - "element" : [ { - "localId" : "520", - "name" : "a", - "elementType" : { - "localId" : "521", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "522", - "name" : "b", - "elementType" : { - "localId" : "523", - "type" : "TupleTypeSpecifier", - "element" : [ { - "localId" : "524", - "name" : "c", - "elementType" : { - "localId" : "525", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } - } ] - } - } ] - }, { - "localId" : "526", - "type" : "TupleTypeSpecifier", - "element" : [ { - "localId" : "527", - "name" : "a", - "elementType" : { - "localId" : "528", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "529", - "name" : "b", - "elementType" : { - "localId" : "530", - "type" : "TupleTypeSpecifier", - "element" : [ { - "localId" : "531", - "name" : "c", - "elementType" : { - "localId" : "532", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } - } ] - } - } ] - } ], - "operand" : [ { - "localId" : "487", - "type" : "Tuple", - "resultTypeSpecifier" : { - "localId" : "496", - "type" : "TupleTypeSpecifier", - "element" : [ { - "localId" : "497", - "name" : "a", - "elementType" : { - "localId" : "498", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "499", - "name" : "b", - "elementType" : { - "localId" : "500", - "type" : "TupleTypeSpecifier", - "element" : [ { - "localId" : "501", - "name" : "c", - "elementType" : { - "localId" : "502", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } - } ] - } - } ] - }, - "element" : [ { - "name" : "a", - "value" : { - "localId" : "488", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "a", - "type" : "Literal" - } - }, { - "name" : "b", - "value" : { - "localId" : "490", - "type" : "Tuple", - "resultTypeSpecifier" : { - "localId" : "493", - "type" : "TupleTypeSpecifier", - "element" : [ { - "localId" : "494", - "name" : "c", - "elementType" : { - "localId" : "495", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } - } ] - }, - "element" : [ { - "name" : "c", - "value" : { - "localId" : "491", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "c", - "type" : "Literal" - } - } ] - } - } ] - }, { - "localId" : "503", - "type" : "Tuple", - "resultTypeSpecifier" : { - "localId" : "512", - "type" : "TupleTypeSpecifier", - "element" : [ { - "localId" : "513", - "name" : "a", - "elementType" : { - "localId" : "514", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "515", - "name" : "b", - "elementType" : { - "localId" : "516", - "type" : "TupleTypeSpecifier", - "element" : [ { - "localId" : "517", - "name" : "c", - "elementType" : { - "localId" : "518", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } - } ] - } - } ] - }, - "element" : [ { - "name" : "a", - "value" : { - "localId" : "504", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "a", - "type" : "Literal" - } - }, { - "name" : "b", - "value" : { - "localId" : "506", - "type" : "Tuple", - "resultTypeSpecifier" : { - "localId" : "509", - "type" : "TupleTypeSpecifier", - "element" : [ { - "localId" : "510", - "name" : "c", - "elementType" : { - "localId" : "511", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } - } ] - }, - "element" : [ { - "name" : "c", - "value" : { - "localId" : "507", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "c", - "type" : "Literal" - } - } ] - } - } ] - } ] - } - }, { - "localId" : "535", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "SameNestedTuplesNull", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "535", - "s" : [ { - "value" : [ "","define ","SameNestedTuplesNull",": " ] - }, { - "r" : "536", - "s" : [ { - "r" : "537", - "s" : [ { - "value" : [ "Tuple{" ] - }, { - "s" : [ { - "value" : [ "a",": " ] - }, { - "r" : "538", - "s" : [ { - "value" : [ "'a'" ] - } ] - } ] - }, { - "value" : [ ", " ] - }, { - "s" : [ { - "value" : [ "b",": " ] - }, { - "r" : "540", - "s" : [ { - "value" : [ "Tuple{" ] - }, { - "s" : [ { - "r" : "541", - "value" : [ "c",": ","null" ] - } ] - }, { - "value" : [ "}" ] - } ] - } ] - }, { - "value" : [ "}" ] - } ] - }, { - "value" : [ " ","~"," " ] - }, { - "r" : "552", - "s" : [ { - "value" : [ "Tuple{" ] - }, { - "s" : [ { - "value" : [ "a",": " ] - }, { - "r" : "553", - "s" : [ { - "value" : [ "'a'" ] - } ] - } ] - }, { - "value" : [ ", " ] - }, { - "s" : [ { - "value" : [ "b",": " ] - }, { - "r" : "555", - "s" : [ { - "value" : [ "Tuple{" ] - }, { - "s" : [ { - "r" : "556", - "value" : [ "c",": ","null" ] - } ] - }, { - "value" : [ "}" ] - } ] - } ] - }, { - "value" : [ "}" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "536", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "Equivalent", - "signature" : [ { - "localId" : "567", - "type" : "TupleTypeSpecifier", - "element" : [ { - "localId" : "568", - "name" : "a", - "elementType" : { - "localId" : "569", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "570", - "name" : "b", - "elementType" : { - "localId" : "571", - "type" : "TupleTypeSpecifier", - "element" : [ { - "localId" : "572", - "name" : "c", - "elementType" : { - "localId" : "573", - "name" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "NamedTypeSpecifier" - } - } ] - } - } ] - }, { - "localId" : "574", - "type" : "TupleTypeSpecifier", - "element" : [ { - "localId" : "575", - "name" : "a", - "elementType" : { - "localId" : "576", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "577", - "name" : "b", - "elementType" : { - "localId" : "578", - "type" : "TupleTypeSpecifier", - "element" : [ { - "localId" : "579", - "name" : "c", - "elementType" : { - "localId" : "580", - "name" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "NamedTypeSpecifier" - } - } ] - } - } ] - } ], - "operand" : [ { - "localId" : "537", - "type" : "Tuple", - "resultTypeSpecifier" : { - "localId" : "545", - "type" : "TupleTypeSpecifier", - "element" : [ { - "localId" : "546", - "name" : "a", - "elementType" : { - "localId" : "547", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "548", - "name" : "b", - "elementType" : { - "localId" : "549", - "type" : "TupleTypeSpecifier", - "element" : [ { - "localId" : "550", - "name" : "c", - "elementType" : { - "localId" : "551", - "name" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "NamedTypeSpecifier" - } - } ] - } - } ] - }, - "element" : [ { - "name" : "a", - "value" : { - "localId" : "538", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "a", - "type" : "Literal" - } - }, { - "name" : "b", - "value" : { - "localId" : "540", - "type" : "Tuple", - "resultTypeSpecifier" : { - "localId" : "542", - "type" : "TupleTypeSpecifier", - "element" : [ { - "localId" : "543", - "name" : "c", - "elementType" : { - "localId" : "544", - "name" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "NamedTypeSpecifier" - } - } ] - }, - "element" : [ { - "name" : "c", - "value" : { - "localId" : "541", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - } - } ] - } - } ] - }, { - "localId" : "552", - "type" : "Tuple", - "resultTypeSpecifier" : { - "localId" : "560", - "type" : "TupleTypeSpecifier", - "element" : [ { - "localId" : "561", - "name" : "a", - "elementType" : { - "localId" : "562", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "563", - "name" : "b", - "elementType" : { - "localId" : "564", - "type" : "TupleTypeSpecifier", - "element" : [ { - "localId" : "565", - "name" : "c", - "elementType" : { - "localId" : "566", - "name" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "NamedTypeSpecifier" - } - } ] - } - } ] - }, - "element" : [ { - "name" : "a", - "value" : { - "localId" : "553", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "a", - "type" : "Literal" - } - }, { - "name" : "b", - "value" : { - "localId" : "555", - "type" : "Tuple", - "resultTypeSpecifier" : { - "localId" : "557", - "type" : "TupleTypeSpecifier", - "element" : [ { - "localId" : "558", - "name" : "c", - "elementType" : { - "localId" : "559", - "name" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "NamedTypeSpecifier" - } - } ] - }, - "element" : [ { - "name" : "c", - "value" : { - "localId" : "556", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - } - } ] - } - } ] - } ] - } - }, { - "localId" : "583", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "EmptyLists", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "583", - "s" : [ { - "value" : [ "","define ","EmptyLists",": " ] - }, { - "r" : "584", - "s" : [ { - "r" : "585", - "value" : [ "{ }"," ","~"," ","{ }" ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "584", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "Equivalent", - "signature" : [ { - "localId" : "591", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "592", - "name" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "593", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "594", - "name" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "585", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "586", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "587", - "name" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "NamedTypeSpecifier" - } - }, - "element" : [ ] - }, { - "localId" : "588", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "589", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "590", - "name" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "NamedTypeSpecifier" - } - }, - "element" : [ ] - } ] - } - }, { - "localId" : "597", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "DifferentTypesLists", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "597", - "s" : [ { - "value" : [ "","define ","DifferentTypesLists",": " ] - }, { - "r" : "598", - "s" : [ { - "r" : "599", - "s" : [ { - "value" : [ "{" ] - }, { - "r" : "600", - "s" : [ { - "value" : [ "'1'" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "602", - "s" : [ { - "value" : [ "'2'" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "604", - "s" : [ { - "value" : [ "'3'" ] - } ] - }, { - "value" : [ "}" ] - } ] - }, { - "value" : [ " ","~"," " ] - }, { - "r" : "608", - "s" : [ { - "r" : "609", - "value" : [ "{","1",", ","2",", ","3","}" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "598", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "Equivalent", - "signature" : [ { - "localId" : "614", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "615", - "name" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "616", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "617", - "name" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "599", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "606", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "607", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } - }, - "element" : [ { - "localId" : "600", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "1", - "type" : "Literal" - }, { - "localId" : "602", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "2", - "type" : "Literal" - }, { - "localId" : "604", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "3", - "type" : "Literal" - } ] - }, { - "localId" : "608", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "612", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "613", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "element" : [ { - "localId" : "609", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, { - "localId" : "610", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal" - }, { - "localId" : "611", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - } ] - } ] - } - }, { - "localId" : "620", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "DifferentLengthLists", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "620", - "s" : [ { - "value" : [ "","define ","DifferentLengthLists",": " ] - }, { - "r" : "621", - "s" : [ { - "r" : "622", - "s" : [ { - "value" : [ "{" ] - }, { - "r" : "623", - "s" : [ { - "value" : [ "'a'" ] - } ] - }, { - "value" : [ "}" ] - } ] - }, { - "value" : [ " ","~"," " ] - }, { - "r" : "627", - "s" : [ { - "value" : [ "{" ] - }, { - "r" : "628", - "s" : [ { - "value" : [ "'a'" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "630", - "s" : [ { - "value" : [ "'a'" ] - } ] - }, { - "value" : [ "}" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "621", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "Equivalent", - "signature" : [ { - "localId" : "634", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "635", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "636", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "637", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "622", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "625", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "626", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } - }, - "element" : [ { - "localId" : "623", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "a", - "type" : "Literal" - } ] - }, { - "localId" : "627", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "632", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "633", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } - }, - "element" : [ { - "localId" : "628", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "a", - "type" : "Literal" - }, { - "localId" : "630", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "a", - "type" : "Literal" - } ] - } ] - } - }, { - "localId" : "640", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "DifferentOrderLists", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "640", - "s" : [ { - "value" : [ "","define ","DifferentOrderLists",": " ] - }, { - "r" : "641", - "s" : [ { - "r" : "642", - "s" : [ { - "value" : [ "{" ] - }, { - "r" : "643", - "s" : [ { - "value" : [ "'a'" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "645", - "s" : [ { - "value" : [ "'b'" ] - } ] - }, { - "value" : [ "}" ] - } ] - }, { - "value" : [ " ","~"," " ] - }, { - "r" : "649", - "s" : [ { - "value" : [ "{" ] - }, { - "r" : "650", - "s" : [ { - "value" : [ "'b'" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "652", - "s" : [ { - "value" : [ "'a'" ] - } ] - }, { - "value" : [ "}" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "641", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "Equivalent", - "signature" : [ { - "localId" : "656", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "657", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "658", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "659", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "642", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "647", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "648", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } - }, - "element" : [ { - "localId" : "643", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "a", - "type" : "Literal" - }, { - "localId" : "645", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "b", - "type" : "Literal" - } ] - }, { - "localId" : "649", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "654", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "655", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } - }, - "element" : [ { - "localId" : "650", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "b", - "type" : "Literal" - }, { - "localId" : "652", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "a", - "type" : "Literal" - } ] - } ] - } - }, { - "localId" : "662", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "SameLists", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "662", - "s" : [ { - "value" : [ "","define ","SameLists",": " ] - }, { - "r" : "663", - "s" : [ { - "r" : "664", - "s" : [ { - "value" : [ "{" ] - }, { - "r" : "665", - "s" : [ { - "value" : [ "'a'" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "667", - "s" : [ { - "value" : [ "'b'" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "669", - "s" : [ { - "value" : [ "'c'" ] - } ] - }, { - "value" : [ "}" ] - } ] - }, { - "value" : [ " ","~"," " ] - }, { - "r" : "673", - "s" : [ { - "value" : [ "{" ] - }, { - "r" : "674", - "s" : [ { - "value" : [ "'a'" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "676", - "s" : [ { - "value" : [ "'b'" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "678", - "s" : [ { - "value" : [ "'c'" ] - } ] - }, { - "value" : [ "}" ] - } ] - } ] + "r" : "424", + "s" : [ { + "value" : [ "'null'" ] + } ] } ] - } + }, { + "value" : [ "}" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Not", + "localId" : "441", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "442", + "name" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ] + } ], + "operand" : { + "type" : "Equal", + "localId" : "411", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "TupleTypeSpecifier", + "localId" : "431", + "annotation" : [ ], + "element" : [ { + "localId" : "432", + "name" : "a", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "433", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } + }, { + "localId" : "434", + "name" : "b", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "435", + "name" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } + } ] + }, { + "type" : "TupleTypeSpecifier", + "localId" : "436", + "annotation" : [ ], + "element" : [ { + "localId" : "437", + "name" : "a", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "438", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } + }, { + "localId" : "439", + "name" : "b", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "440", + "name" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } + } ] } ], - "expression" : { - "localId" : "663", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "Equivalent", - "signature" : [ { - "localId" : "682", - "type" : "ListTypeSpecifier", + "operand" : [ { + "type" : "Tuple", + "localId" : "412", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "TupleTypeSpecifier", + "localId" : "416", + "annotation" : [ ], + "element" : [ { + "localId" : "417", + "name" : "a", + "annotation" : [ ], "elementType" : { - "localId" : "683", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" + "type" : "NamedTypeSpecifier", + "localId" : "418", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] } - }, { - "localId" : "684", - "type" : "ListTypeSpecifier", + }, { + "localId" : "419", + "name" : "b", + "annotation" : [ ], "elementType" : { - "localId" : "685", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" + "type" : "NamedTypeSpecifier", + "localId" : "420", + "name" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] } - } ], - "operand" : [ { - "localId" : "664", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "671", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "672", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } - }, - "element" : [ { - "localId" : "665", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "a", - "type" : "Literal" - }, { - "localId" : "667", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "b", - "type" : "Literal" - }, { - "localId" : "669", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "c", - "type" : "Literal" - } ] - }, { - "localId" : "673", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "680", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "681", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } - }, - "element" : [ { - "localId" : "674", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "a", - "type" : "Literal" - }, { - "localId" : "676", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "b", - "type" : "Literal" - }, { - "localId" : "678", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "c", - "type" : "Literal" - } ] - } ] - } - }, { - "localId" : "688", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "SameListsNull", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "688", - "s" : [ { - "value" : [ "","define ","SameListsNull",": " ] - }, { - "r" : "689", - "s" : [ { - "r" : "690", - "s" : [ { - "r" : "691", - "value" : [ "{","null",", ","null",", ","null","}" ] - } ] - }, { - "value" : [ " ","~"," " ] - }, { - "r" : "696", - "s" : [ { - "r" : "697", - "value" : [ "{","null",", ","null",", ","null","}" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "689", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "Equivalent", - "signature" : [ { - "localId" : "702", - "type" : "ListTypeSpecifier", + } ] + }, + "element" : [ { + "name" : "a", + "value" : { + "type" : "Literal", + "localId" : "413", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "Hello", + "annotation" : [ ] + } + }, { + "name" : "b", + "value" : { + "type" : "Null", + "localId" : "415", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } + } ] + }, { + "type" : "Tuple", + "localId" : "421", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "TupleTypeSpecifier", + "localId" : "426", + "annotation" : [ ], + "element" : [ { + "localId" : "427", + "name" : "a", + "annotation" : [ ], "elementType" : { - "localId" : "703", - "name" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "NamedTypeSpecifier" + "type" : "NamedTypeSpecifier", + "localId" : "428", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] } - }, { - "localId" : "704", - "type" : "ListTypeSpecifier", + }, { + "localId" : "429", + "name" : "b", + "annotation" : [ ], "elementType" : { - "localId" : "705", - "name" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "NamedTypeSpecifier" + "type" : "NamedTypeSpecifier", + "localId" : "430", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] } - } ], - "operand" : [ { - "localId" : "690", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "694", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "695", - "name" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "NamedTypeSpecifier" - } - }, - "element" : [ { - "localId" : "691", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - }, { - "localId" : "692", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - }, { - "localId" : "693", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - } ] - }, { - "localId" : "696", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "700", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "701", - "name" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "NamedTypeSpecifier" - } - }, - "element" : [ { - "localId" : "697", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - }, { - "localId" : "698", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - }, { - "localId" : "699", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" + } ] + }, + "element" : [ { + "name" : "a", + "value" : { + "type" : "Literal", + "localId" : "422", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "Hello", + "annotation" : [ ] + } + }, { + "name" : "b", + "value" : { + "type" : "Literal", + "localId" : "424", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "null", + "annotation" : [ ] + } + } ] + } ] + } + } + }, { + "localId" : "445", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "EqDateTimes", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "445", + "s" : [ { + "value" : [ "", "define ", "EqDateTimes", ": " ] + }, { + "r" : "503", + "s" : [ { + "r" : "465", + "s" : [ { + "r" : "447", + "value" : [ "DateTime", "(", "2000", ", ", "3", ", ", "15", ", ", "13", ", ", "30", ", ", "25", ", ", "200", ", " ] + }, { + "r" : "454", + "s" : [ { + "r" : "454", + "value" : [ "+", "1.0" ] + } ] + }, { + "value" : [ ")" ] + } ] + }, { + "value" : [ " ", "!=", " " ] + }, { + "r" : "492", + "s" : [ { + "r" : "474", + "value" : [ "DateTime", "(", "2000", ", ", "3", ", ", "15", ", ", "13", ", ", "30", ", ", "25", ", ", "200", ", " ] + }, { + "r" : "481", + "s" : [ { + "r" : "481", + "value" : [ "+", "1.0" ] } ] - } ] - } - }, { - "localId" : "708", + }, { + "value" : [ ")" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Not", + "localId" : "503", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "504", + "name" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ] + } ], + "operand" : { + "type" : "Equal", + "localId" : "446", "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "SameNestedLists", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "708", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "501", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "502", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "DateTime", + "localId" : "465", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "466", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "467", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "468", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "469", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "470", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "471", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "472", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "473", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "447", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "448", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "449", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "15", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "450", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "13", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "451", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "30", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "452", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "25", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "453", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "200", + "annotation" : [ ] + }, + "timezoneOffset" : { + "type" : "Literal", + "localId" : "454", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "1.0", + "annotation" : [ ] + } + }, { + "type" : "DateTime", + "localId" : "492", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "493", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "494", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "495", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "496", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "497", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "498", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "499", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "500", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "474", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "475", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "476", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "15", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "477", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "13", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "478", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "30", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "479", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "25", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "480", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "200", + "annotation" : [ ] + }, + "timezoneOffset" : { + "type" : "Literal", + "localId" : "481", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "1.0", + "annotation" : [ ] + } + } ] + } + } + }, { + "localId" : "507", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "UneqDateTimes", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "507", + "s" : [ { + "value" : [ "", "define ", "UneqDateTimes", ": " ] + }, { + "r" : "565", + "s" : [ { + "r" : "527", + "s" : [ { + "r" : "509", + "value" : [ "DateTime", "(", "2000", ", ", "3", ", ", "15", ", ", "13", ", ", "30", ", ", "25", ", ", "200", ", " ] + }, { + "r" : "516", "s" : [ { - "value" : [ "","define ","SameNestedLists",": " ] - }, { - "r" : "709", - "s" : [ { - "r" : "710", - "s" : [ { - "value" : [ "{" ] - }, { - "r" : "711", - "s" : [ { - "value" : [ "{" ] - }, { - "r" : "712", - "s" : [ { - "value" : [ "'a'" ] - } ] - }, { - "value" : [ "," ] - }, { - "r" : "714", - "s" : [ { - "value" : [ "'d'" ] - } ] - }, { - "value" : [ "}" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "718", - "s" : [ { - "value" : [ "{" ] - }, { - "r" : "719", - "s" : [ { - "value" : [ "'b'" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "721", - "s" : [ { - "value" : [ "'c'" ] - } ] - }, { - "value" : [ "}" ] - } ] - }, { - "value" : [ "}" ] - } ] - }, { - "value" : [ " ","~"," " ] - }, { - "r" : "728", - "s" : [ { - "value" : [ "{" ] - }, { - "r" : "729", - "s" : [ { - "value" : [ "{" ] - }, { - "r" : "730", - "s" : [ { - "value" : [ "'a'" ] - } ] - }, { - "value" : [ "," ] - }, { - "r" : "732", - "s" : [ { - "value" : [ "'d'" ] - } ] - }, { - "value" : [ "}" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "736", - "s" : [ { - "value" : [ "{" ] - }, { - "r" : "737", - "s" : [ { - "value" : [ "'b'" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "739", - "s" : [ { - "value" : [ "'c'" ] - } ] - }, { - "value" : [ "}" ] - } ] - }, { - "value" : [ "}" ] - } ] - } ] + "r" : "516", + "value" : [ "+", "1.0" ] + } ] + }, { + "value" : [ ")" ] + } ] + }, { + "value" : [ " ", "!=", " " ] + }, { + "r" : "554", + "s" : [ { + "r" : "536", + "value" : [ "DateTime", "(", "2000", ", ", "3", ", ", "15", ", ", "13", ", ", "30", ", ", "25", ", ", "201", ", " ] + }, { + "r" : "543", + "s" : [ { + "r" : "543", + "value" : [ "+", "1.0" ] } ] - } + }, { + "value" : [ ")" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Not", + "localId" : "565", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "566", + "name" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ] + } ], + "operand" : { + "type" : "Equal", + "localId" : "508", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "563", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "564", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] } ], - "expression" : { - "localId" : "709", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "Equivalent", - "signature" : [ { - "localId" : "746", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "747", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "748", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } - } - }, { - "localId" : "749", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "750", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "751", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } - } - } ], - "operand" : [ { - "localId" : "710", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "725", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "726", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "727", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } - } - }, - "element" : [ { - "localId" : "711", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "716", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "717", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } - }, - "element" : [ { - "localId" : "712", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "a", - "type" : "Literal" - }, { - "localId" : "714", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "d", - "type" : "Literal" - } ] - }, { - "localId" : "718", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "723", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "724", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } - }, - "element" : [ { - "localId" : "719", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "b", - "type" : "Literal" - }, { - "localId" : "721", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "c", - "type" : "Literal" - } ] - } ] - }, { - "localId" : "728", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "743", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "744", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "745", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } - } - }, - "element" : [ { - "localId" : "729", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "734", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "735", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } - }, - "element" : [ { - "localId" : "730", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "a", - "type" : "Literal" - }, { - "localId" : "732", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "d", - "type" : "Literal" - } ] - }, { - "localId" : "736", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "741", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "742", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } - }, - "element" : [ { - "localId" : "737", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "b", - "type" : "Literal" - }, { - "localId" : "739", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "c", - "type" : "Literal" - } ] + "operand" : [ { + "type" : "DateTime", + "localId" : "527", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "528", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "529", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "530", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "531", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "532", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "533", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "534", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "535", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "509", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "510", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "511", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "15", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "512", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "13", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "513", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "30", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "514", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "25", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "515", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "200", + "annotation" : [ ] + }, + "timezoneOffset" : { + "type" : "Literal", + "localId" : "516", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "1.0", + "annotation" : [ ] + } + }, { + "type" : "DateTime", + "localId" : "554", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "555", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "556", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "557", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "558", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "559", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "560", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "561", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "562", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "536", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "537", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "538", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "15", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "539", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "13", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "540", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "30", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "541", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "25", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "542", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "201", + "annotation" : [ ] + }, + "timezoneOffset" : { + "type" : "Literal", + "localId" : "543", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "1.0", + "annotation" : [ ] + } + } ] + } + } + }, { + "localId" : "569", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "EqDateTimesTZ", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "569", + "s" : [ { + "value" : [ "", "define ", "EqDateTimesTZ", ": " ] + }, { + "r" : "627", + "s" : [ { + "r" : "589", + "s" : [ { + "r" : "571", + "value" : [ "DateTime", "(", "2000", ", ", "3", ", ", "15", ", ", "23", ", ", "30", ", ", "25", ", ", "200", ", " ] + }, { + "r" : "578", + "s" : [ { + "r" : "578", + "value" : [ "+", "1.0" ] + } ] + }, { + "value" : [ ")" ] + } ] + }, { + "value" : [ " ", "!=", " " ] + }, { + "r" : "616", + "s" : [ { + "r" : "598", + "value" : [ "DateTime", "(", "2000", ", ", "3", ", ", "16", ", ", "2", ", ", "30", ", ", "25", ", ", "200", ", " ] + }, { + "r" : "605", + "s" : [ { + "r" : "605", + "value" : [ "+", "4.0" ] } ] - } ] - } - }, { - "localId" : "754", + }, { + "value" : [ ")" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Not", + "localId" : "627", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "628", + "name" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ] + } ], + "operand" : { + "type" : "Equal", + "localId" : "570", "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "SameNestedListsNull", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "754", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "625", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "626", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "DateTime", + "localId" : "589", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "590", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "591", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "592", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "593", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "594", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "595", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "596", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "597", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "571", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "572", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "573", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "15", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "574", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "23", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "575", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "30", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "576", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "25", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "577", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "200", + "annotation" : [ ] + }, + "timezoneOffset" : { + "type" : "Literal", + "localId" : "578", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "1.0", + "annotation" : [ ] + } + }, { + "type" : "DateTime", + "localId" : "616", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "617", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "618", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "619", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "620", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "621", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "622", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "623", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "624", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "598", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "599", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "600", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "16", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "601", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "602", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "30", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "603", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "25", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "604", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "200", + "annotation" : [ ] + }, + "timezoneOffset" : { + "type" : "Literal", + "localId" : "605", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "4.0", + "annotation" : [ ] + } + } ] + } + } + }, { + "localId" : "631", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "UneqDateTimesTZ", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "631", + "s" : [ { + "value" : [ "", "define ", "UneqDateTimesTZ", ": " ] + }, { + "r" : "689", + "s" : [ { + "r" : "651", + "s" : [ { + "r" : "633", + "value" : [ "DateTime", "(", "2000", ", ", "3", ", ", "15", ", ", "13", ", ", "30", ", ", "25", ", ", "200", ", " ] + }, { + "r" : "640", "s" : [ { - "value" : [ "","define ","SameNestedListsNull",": " ] - }, { - "r" : "755", - "s" : [ { - "r" : "756", - "s" : [ { - "r" : "757", - "value" : [ "{","null",", " ] - }, { - "r" : "758", - "s" : [ { - "r" : "759", - "value" : [ "{","null",", ","null","}" ] - } ] - }, { - "value" : [ "}" ] - } ] - }, { - "value" : [ " ","~"," " ] - }, { - "r" : "769", - "s" : [ { - "r" : "770", - "value" : [ "{","null",", " ] - }, { - "r" : "771", - "s" : [ { - "r" : "772", - "value" : [ "{","null",", ","null","}" ] - } ] - }, { - "value" : [ "}" ] - } ] - } ] + "r" : "640", + "value" : [ "+", "1.0" ] + } ] + }, { + "value" : [ ")" ] + } ] + }, { + "value" : [ " ", "!=", " " ] + }, { + "r" : "678", + "s" : [ { + "r" : "660", + "value" : [ "DateTime", "(", "2000", ", ", "3", ", ", "15", ", ", "13", ", ", "30", ", ", "25", ", ", "200", ", " ] + }, { + "r" : "667", + "s" : [ { + "r" : "667", + "value" : [ "+", "2.0" ] } ] - } + }, { + "value" : [ ")" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Not", + "localId" : "689", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "690", + "name" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ] + } ], + "operand" : { + "type" : "Equal", + "localId" : "632", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "687", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "688", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] } ], - "expression" : { - "localId" : "755", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "Equivalent", - "signature" : [ { - "localId" : "782", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "783", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "784", - "name" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "NamedTypeSpecifier" - } - } - }, { - "localId" : "785", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "786", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "787", - "name" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "NamedTypeSpecifier" - } - } - } ], - "operand" : [ { - "localId" : "756", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "766", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "767", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "768", - "name" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "NamedTypeSpecifier" - } - } - }, - "element" : [ { - "localId" : "763", - "type" : "As", - "signature" : [ ], - "operand" : { - "localId" : "757", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - }, - "asTypeSpecifier" : { - "localId" : "764", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "765", - "name" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "NamedTypeSpecifier" - } - } - }, { - "localId" : "758", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "761", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "762", - "name" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "NamedTypeSpecifier" - } - }, - "element" : [ { - "localId" : "759", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - }, { - "localId" : "760", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - } ] - } ] - }, { - "localId" : "769", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "779", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "780", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "781", - "name" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "NamedTypeSpecifier" - } - } - }, - "element" : [ { - "localId" : "776", - "type" : "As", - "signature" : [ ], - "operand" : { - "localId" : "770", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - }, - "asTypeSpecifier" : { - "localId" : "777", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "778", - "name" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "NamedTypeSpecifier" - } - } - }, { - "localId" : "771", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "774", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "775", - "name" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "NamedTypeSpecifier" - } - }, - "element" : [ { - "localId" : "772", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - }, { - "localId" : "773", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - } ] - } ] - } ] - } - }, { - "localId" : "790", + "operand" : [ { + "type" : "DateTime", + "localId" : "651", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "652", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "653", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "654", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "655", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "656", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "657", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "658", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "659", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "633", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "634", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "635", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "15", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "636", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "13", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "637", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "30", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "638", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "25", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "639", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "200", + "annotation" : [ ] + }, + "timezoneOffset" : { + "type" : "Literal", + "localId" : "640", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "1.0", + "annotation" : [ ] + } + }, { + "type" : "DateTime", + "localId" : "678", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "679", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "680", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "681", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "682", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "683", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "684", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "685", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "686", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "660", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "661", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "662", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "15", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "663", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "13", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "664", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "30", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "665", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "25", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "666", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "200", + "annotation" : [ ] + }, + "timezoneOffset" : { + "type" : "Literal", + "localId" : "667", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "2.0", + "annotation" : [ ] + } + } ] + } + } + }, { + "localId" : "693", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "EqDateTimesNullMs", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "693", + "s" : [ { + "value" : [ "", "define ", "EqDateTimesNullMs", ": " ] + }, { + "r" : "742", + "s" : [ { + "r" : "711", + "s" : [ { + "r" : "695", + "value" : [ "DateTime", "(", "2000", ", ", "3", ", ", "15", ", ", "13", ", ", "30", ", ", "25", ", ", "0", ")" ] + } ] + }, { + "value" : [ " ", "!=", " " ] + }, { + "r" : "733", + "s" : [ { + "r" : "719", + "value" : [ "DateTime", "(", "2000", ", ", "3", ", ", "15", ", ", "13", ", ", "30", ", ", "25", ")" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Not", + "localId" : "742", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "743", + "name" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ] + } ], + "operand" : { + "type" : "Equal", + "localId" : "694", "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "EmptyInterval", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "790", - "s" : [ { - "value" : [ "","define ","EmptyInterval",": " ] - }, { - "r" : "791", - "s" : [ { - "r" : "794", - "s" : [ { - "r" : "792", - "value" : [ "Interval(","null",", ","null",")" ] - } ] - }, { - "value" : [ " ","~"," " ] - }, { - "r" : "799", - "s" : [ { - "r" : "797", - "value" : [ "Interval(","null",", ","null",")" ] - } ] - } ] - } ] - } + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "740", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "741", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] } ], - "expression" : { - "localId" : "791", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "Equivalent", - "signature" : [ { - "localId" : "802", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "803", - "name" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "804", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "805", - "name" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "794", - "lowClosed" : false, - "highClosed" : false, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "795", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "796", - "name" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "792", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - }, - "high" : { - "localId" : "793", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - } - }, { - "localId" : "799", - "lowClosed" : false, - "highClosed" : false, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "800", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "801", - "name" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "797", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - }, - "high" : { - "localId" : "798", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - } - } ] - } - }, { - "localId" : "808", + "operand" : [ { + "type" : "DateTime", + "localId" : "711", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "712", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "713", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "714", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "715", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "716", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "717", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "718", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "695", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "696", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "697", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "15", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "698", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "13", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "699", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "30", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "700", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "25", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "701", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + }, { + "type" : "DateTime", + "localId" : "733", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "734", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "735", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "736", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "737", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "738", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "739", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "719", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "720", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "721", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "15", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "722", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "13", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "723", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "30", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "724", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "25", + "annotation" : [ ] + } + } ] + } + } + }, { + "localId" : "746", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "EqDateTimesNullOtherMs", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "746", + "s" : [ { + "value" : [ "", "define ", "EqDateTimesNullOtherMs", ": " ] + }, { + "r" : "795", + "s" : [ { + "r" : "762", + "s" : [ { + "r" : "748", + "value" : [ "DateTime", "(", "2000", ", ", "3", ", ", "15", ", ", "13", ", ", "30", ", ", "25", ")" ] + } ] + }, { + "value" : [ " ", "!=", " " ] + }, { + "r" : "785", + "s" : [ { + "r" : "769", + "value" : [ "DateTime", "(", "2000", ", ", "3", ", ", "15", ", ", "13", ", ", "30", ", ", "25", ", ", "0", ")" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Not", + "localId" : "795", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "796", + "name" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ] + } ], + "operand" : { + "type" : "Equal", + "localId" : "747", "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "IntervalDifferentPointTypes", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "808", - "s" : [ { - "value" : [ "","define ","IntervalDifferentPointTypes",": " ] - }, { - "r" : "809", - "s" : [ { - "r" : "812", - "s" : [ { - "r" : "810", - "value" : [ "Interval[","1",", ","5","]" ] - } ] - }, { - "value" : [ " ","~"," " ] - }, { - "r" : "819", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "815", - "s" : [ { - "value" : [ "'1'" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "817", - "s" : [ { - "value" : [ "'5'" ] - } ] - }, { - "value" : [ "]" ] - } ] - } ] - } ] - } + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "793", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "794", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] } ], - "expression" : { - "localId" : "809", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "Equivalent", - "signature" : [ { - "localId" : "822", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "823", - "name" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "824", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "825", - "name" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "812", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "813", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "814", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "810", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "high" : { - "localId" : "811", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal" - } - }, { - "localId" : "819", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "820", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "821", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "815", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "1", - "type" : "Literal" - }, - "high" : { - "localId" : "817", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "5", - "type" : "Literal" - } - } ] - } - }, { + "operand" : [ { + "type" : "DateTime", + "localId" : "762", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "763", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "764", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "765", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "766", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "767", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "768", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "748", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "749", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "750", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "15", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "751", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "13", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "752", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "30", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "753", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "25", + "annotation" : [ ] + } + }, { + "type" : "DateTime", + "localId" : "785", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "786", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "787", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "788", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "789", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "790", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "791", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "792", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "769", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "770", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "771", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "15", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "772", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "13", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "773", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "30", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "774", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "25", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "775", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + } ] + } + } + }, { + "localId" : "799", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "EqDateTimesOnlyDate", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "799", + "s" : [ { + "value" : [ "", "define ", "EqDateTimesOnlyDate", ": " ] + }, { + "r" : "827", + "s" : [ { + "r" : "809", + "s" : [ { + "r" : "801", + "value" : [ "DateTime", "(", "2000", ", ", "3", ", ", "15", ")" ] + } ] + }, { + "value" : [ " ", "!=", " " ] + }, { + "r" : "821", + "s" : [ { + "r" : "813", + "value" : [ "DateTime", "(", "2000", ", ", "3", ", ", "15", ")" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Not", + "localId" : "827", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", "localId" : "828", + "name" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ] + } ], + "operand" : { + "type" : "Equal", + "localId" : "800", "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "IntervalDifferentStarts", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "828", - "s" : [ { - "value" : [ "","define ","IntervalDifferentStarts",": " ] - }, { - "r" : "829", - "s" : [ { - "r" : "832", - "s" : [ { - "r" : "830", - "value" : [ "Interval[","1",",","3","]" ] - } ] - }, { - "value" : [ " ","~"," " ] - }, { - "r" : "837", - "s" : [ { - "r" : "835", - "value" : [ "Interval[","2",",","3","]" ] - } ] - } ] - } ] - } + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "825", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "826", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] } ], - "expression" : { - "localId" : "829", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "Equivalent", - "signature" : [ { - "localId" : "840", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "841", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "842", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "843", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "832", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "833", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "834", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "830", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "high" : { - "localId" : "831", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - } - }, { - "localId" : "837", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "838", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "839", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "835", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal" - }, - "high" : { - "localId" : "836", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - } - } ] - } - }, { - "localId" : "846", + "operand" : [ { + "type" : "DateTime", + "localId" : "809", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "810", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "811", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "812", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "801", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "802", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "803", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "15", + "annotation" : [ ] + } + }, { + "type" : "DateTime", + "localId" : "821", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "822", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "823", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "824", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "813", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "814", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "815", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "15", + "annotation" : [ ] + } + } ] + } + } + }, { + "localId" : "831", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "UneqDateTimesOnlyDate", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "831", + "s" : [ { + "value" : [ "", "define ", "UneqDateTimesOnlyDate", ": " ] + }, { + "r" : "859", + "s" : [ { + "r" : "841", + "s" : [ { + "r" : "833", + "value" : [ "DateTime", "(", "2000", ", ", "3", ", ", "14", ")" ] + } ] + }, { + "value" : [ " ", "!=", " " ] + }, { + "r" : "853", + "s" : [ { + "r" : "845", + "value" : [ "DateTime", "(", "2000", ", ", "3", ", ", "15", ")" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Not", + "localId" : "859", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "860", + "name" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ] + } ], + "operand" : { + "type" : "Equal", + "localId" : "832", "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "IntervalDifferentEndings", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "846", - "s" : [ { - "value" : [ "","define ","IntervalDifferentEndings",": " ] - }, { - "r" : "847", - "s" : [ { - "r" : "850", - "s" : [ { - "r" : "848", - "value" : [ "Interval[","1",",","3","]" ] - } ] - }, { - "value" : [ " ","~"," " ] - }, { - "r" : "855", - "s" : [ { - "r" : "853", - "value" : [ "Interval[","1",",","4","]" ] - } ] - } ] - } ] - } + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "857", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "858", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "DateTime", + "localId" : "841", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "842", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "843", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "844", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "833", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "834", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "835", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "14", + "annotation" : [ ] + } + }, { + "type" : "DateTime", + "localId" : "853", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "854", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "855", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "856", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "845", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "846", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "847", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "15", + "annotation" : [ ] + } + } ] + } + } + }, { + "localId" : "863", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "PossiblyEqDateTimesOnlyDateOnOne", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "863", + "s" : [ { + "value" : [ "", "define ", "PossiblyEqDateTimesOnlyDateOnOne", ": " ] + }, { + "r" : "900", + "s" : [ { + "r" : "873", + "s" : [ { + "r" : "865", + "value" : [ "DateTime", "(", "2000", ", ", "3", ", ", "13", ")" ] + } ] + }, { + "value" : [ " ", "!=", " " ] + }, { + "r" : "891", + "s" : [ { + "r" : "877", + "value" : [ "DateTime", "(", "2000", ", ", "3", ", ", "13", ", ", "13", ", ", "43", ", ", "32", ")" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Not", + "localId" : "900", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "901", + "name" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ] + } ], + "operand" : { + "type" : "Equal", + "localId" : "864", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "898", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "899", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "DateTime", + "localId" : "873", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "874", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "875", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "876", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "865", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "866", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "867", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "13", + "annotation" : [ ] + } + }, { + "type" : "DateTime", + "localId" : "891", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "892", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "893", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "894", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "895", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "896", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "897", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "877", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "878", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "879", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "13", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "880", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "13", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "881", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "43", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "882", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "32", + "annotation" : [ ] + } + } ] + } + } + }, { + "localId" : "904", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "UneqDateTimesOnlyDateOnOne", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "904", + "s" : [ { + "value" : [ "", "define ", "UneqDateTimesOnlyDateOnOne", ": " ] + }, { + "r" : "941", + "s" : [ { + "r" : "920", + "s" : [ { + "r" : "906", + "value" : [ "DateTime", "(", "2000", ", ", "4", ", ", "13", ", ", "12", ", ", "43", ", ", "32", ")" ] + } ] + }, { + "value" : [ " ", "!=", " " ] + }, { + "r" : "935", + "s" : [ { + "r" : "927", + "value" : [ "DateTime", "(", "2000", ", ", "3", ", ", "13", ")" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Not", + "localId" : "941", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "942", + "name" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ] + } ], + "operand" : { + "type" : "Equal", + "localId" : "905", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "939", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "940", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "DateTime", + "localId" : "920", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "921", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "922", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "923", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "924", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "925", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "926", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "906", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "907", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "4", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "908", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "13", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "909", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "12", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "910", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "43", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "911", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "32", + "annotation" : [ ] + } + }, { + "type" : "DateTime", + "localId" : "935", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "936", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "937", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "938", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "927", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "928", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "929", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "13", + "annotation" : [ ] + } + } ] + } + } + }, { + "localId" : "945", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "PossiblyEqualDateTimes", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "945", + "s" : [ { + "value" : [ "", "define ", "PossiblyEqualDateTimes", ": " ] + }, { + "r" : "967", + "s" : [ { + "r" : "955", + "s" : [ { + "r" : "947", + "value" : [ "DateTime", "(", "2000", ", ", "3", ", ", "15", ")" ] + } ] + }, { + "value" : [ " ", "!=", " " ] + }, { + "r" : "963", + "s" : [ { + "r" : "959", + "value" : [ "DateTime", "(", "2000", ")" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Not", + "localId" : "967", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "968", + "name" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ] + } ], + "operand" : { + "type" : "Equal", + "localId" : "946", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "965", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "966", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "DateTime", + "localId" : "955", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "956", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "957", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "958", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "947", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "948", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "949", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "15", + "annotation" : [ ] + } + }, { + "type" : "DateTime", + "localId" : "963", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "964", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "959", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + } + } ] + } + } + }, { + "localId" : "971", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "ImpossiblyEqualDateTimes", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "971", + "s" : [ { + "value" : [ "", "define ", "ImpossiblyEqualDateTimes", ": " ] + }, { + "r" : "996", + "s" : [ { + "r" : "981", + "s" : [ { + "r" : "973", + "value" : [ "DateTime", "(", "2000", ", ", "3", ", ", "15", ")" ] + } ] + }, { + "value" : [ " ", "!=", " " ] + }, { + "r" : "991", + "s" : [ { + "r" : "985", + "value" : [ "DateTime", "(", "2000", ", ", "4", ")" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Not", + "localId" : "996", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "997", + "name" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ] + } ], + "operand" : { + "type" : "Equal", + "localId" : "972", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "994", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "995", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "DateTime", + "localId" : "981", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "982", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "983", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "984", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "973", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "974", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "975", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "15", + "annotation" : [ ] + } + }, { + "type" : "DateTime", + "localId" : "991", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "992", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "993", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "985", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "986", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "4", + "annotation" : [ ] + } + } ] + } + } + }, { + "localId" : "1000", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "DateAndDateTimeFalse", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "1000", + "s" : [ { + "value" : [ "", "define ", "DateAndDateTimeFalse", ": " ] + }, { + "r" : "1031", + "s" : [ { + "r" : "1010", + "s" : [ { + "r" : "1002", + "value" : [ "Date", "(", "2000", ", ", "3", ", ", "13", ")" ] + } ] + }, { + "value" : [ " ", "!=", " " ] + }, { + "r" : "1022", + "s" : [ { + "r" : "1014", + "value" : [ "DateTime", "(", "2000", ", ", "3", ", ", "13", ")" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Not", + "localId" : "1031", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1032", + "name" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ] + } ], + "operand" : { + "type" : "Equal", + "localId" : "1001", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1029", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1030", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "ToDateTime", + "localId" : "1027", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1028", + "name" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ] + } ], + "operand" : { + "type" : "Date", + "localId" : "1010", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1011", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1012", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1013", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1002", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1003", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "1004", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "13", + "annotation" : [ ] + } + } + }, { + "type" : "DateTime", + "localId" : "1022", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1023", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1024", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1025", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1014", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1015", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "1016", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "13", + "annotation" : [ ] + } + } ] + } + } + }, { + "localId" : "1035", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "DateAndDateTimeNotEqual", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "1035", + "s" : [ { + "value" : [ "", "define ", "DateAndDateTimeNotEqual", ": " ] + }, { + "r" : "1066", + "s" : [ { + "r" : "1045", + "s" : [ { + "r" : "1037", + "value" : [ "Date", "(", "2000", ", ", "3", ", ", "13", ")" ] + } ] + }, { + "value" : [ " ", "!=", " " ] + }, { + "r" : "1057", + "s" : [ { + "r" : "1049", + "value" : [ "DateTime", "(", "2000", ", ", "3", ", ", "12", ")" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Not", + "localId" : "1066", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1067", + "name" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ] + } ], + "operand" : { + "type" : "Equal", + "localId" : "1036", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1064", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1065", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] } ], - "expression" : { - "localId" : "847", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "Equivalent", - "signature" : [ { - "localId" : "858", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "859", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "860", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "861", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "850", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "851", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "852", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "848", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "high" : { - "localId" : "849", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - } - }, { - "localId" : "855", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "856", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "857", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "853", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "high" : { - "localId" : "854", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "4", - "type" : "Literal" - } - } ] - } - }, { - "localId" : "864", + "operand" : [ { + "type" : "ToDateTime", + "localId" : "1062", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1063", + "name" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ] + } ], + "operand" : { + "type" : "Date", + "localId" : "1045", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1046", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1047", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1048", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1037", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1038", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "1039", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "13", + "annotation" : [ ] + } + } + }, { + "type" : "DateTime", + "localId" : "1057", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1058", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1059", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1060", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1049", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1050", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "1051", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "12", + "annotation" : [ ] + } + } ] + } + } + }, { + "localId" : "1070", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "DateAndDateTimeUncertainTrue", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "1070", + "s" : [ { + "value" : [ "", "define ", "DateAndDateTimeUncertainTrue", ": " ] + }, { + "r" : "1110", + "s" : [ { + "r" : "1080", + "s" : [ { + "r" : "1072", + "value" : [ "Date", "(", "2000", ", ", "3", ", ", "13", ")" ] + } ] + }, { + "value" : [ " ", "!=", " " ] + }, { + "r" : "1098", + "s" : [ { + "r" : "1084", + "value" : [ "DateTime", "(", "2000", ", ", "3", ", ", "13", ", ", "2", ", ", "4", ", ", "23", ")" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Not", + "localId" : "1110", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1111", + "name" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ] + } ], + "operand" : { + "type" : "Equal", + "localId" : "1071", "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "SameIntervals", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "864", - "s" : [ { - "value" : [ "","define ","SameIntervals",": " ] - }, { - "r" : "865", - "s" : [ { - "r" : "868", - "s" : [ { - "r" : "866", - "value" : [ "Interval[","1",",","3","]" ] - } ] - }, { - "value" : [ " ","~"," " ] - }, { - "r" : "873", - "s" : [ { - "r" : "871", - "value" : [ "Interval[","1",",","3","]" ] - } ] - } ] - } ] - } + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1108", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1109", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] } ], - "expression" : { - "localId" : "865", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "Equivalent", - "signature" : [ { - "localId" : "876", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "877", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "878", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "879", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "868", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "869", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "870", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "866", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "high" : { - "localId" : "867", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - } - }, { - "localId" : "873", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "874", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "875", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "871", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "high" : { - "localId" : "872", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - } - } ] - } - }, { - "localId" : "882", + "operand" : [ { + "type" : "ToDateTime", + "localId" : "1106", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1107", + "name" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ] + } ], + "operand" : { + "type" : "Date", + "localId" : "1080", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1081", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1082", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1083", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1072", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1073", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "1074", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "13", + "annotation" : [ ] + } + } + }, { + "type" : "DateTime", + "localId" : "1098", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1099", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1100", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1101", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1102", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1103", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1104", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1084", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1085", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "1086", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "13", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "1087", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "1088", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "4", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "1089", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "23", + "annotation" : [ ] + } + } ] + } + } + }, { + "localId" : "1114", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "DateTimeAndDateFalse", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "1114", + "s" : [ { + "value" : [ "", "define ", "DateTimeAndDateFalse", ": " ] + }, { + "r" : "1145", + "s" : [ { + "r" : "1124", + "s" : [ { + "r" : "1116", + "value" : [ "DateTime", "(", "2000", ", ", "3", ", ", "13", ")" ] + } ] + }, { + "value" : [ " ", "!=", " " ] + }, { + "r" : "1136", + "s" : [ { + "r" : "1128", + "value" : [ "Date", "(", "2000", ", ", "3", ", ", "13", ")" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Not", + "localId" : "1145", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1146", + "name" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ] + } ], + "operand" : { + "type" : "Equal", + "localId" : "1115", "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "TupleAndList", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "882", - "s" : [ { - "value" : [ "","define ","TupleAndList",": " ] - }, { - "r" : "883", - "s" : [ { - "r" : "884", - "s" : [ { - "value" : [ "{" ] - }, { - "s" : [ { - "value" : [ "a",": " ] - }, { - "r" : "885", - "s" : [ { - "value" : [ "'1'" ] - } ] - } ] - }, { - "value" : [ "}" ] - } ] - }, { - "value" : [ " ","~"," " ] - }, { - "r" : "890", - "s" : [ { - "value" : [ "{" ] - }, { - "r" : "891", - "s" : [ { - "value" : [ "'1'" ] - } ] - }, { - "value" : [ "}" ] - } ] - } ] - } ] - } + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1143", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1144", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] } ], - "expression" : { - "localId" : "883", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "Equivalent", - "signature" : [ { - "localId" : "902", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "903", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "904", - "name" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "NamedTypeSpecifier" - } - } - }, { - "localId" : "905", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "906", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "907", - "name" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "NamedTypeSpecifier" - } - } - } ], - "operand" : [ { - "localId" : "896", - "type" : "ToList", - "signature" : [ ], - "operand" : { - "localId" : "895", - "type" : "ToList", - "signature" : [ ], - "operand" : { - "localId" : "884", - "type" : "Tuple", - "resultTypeSpecifier" : { - "localId" : "887", - "type" : "TupleTypeSpecifier", - "element" : [ { - "localId" : "888", - "name" : "a", - "elementType" : { - "localId" : "889", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } - } ] - }, - "element" : [ { - "name" : "a", - "value" : { - "localId" : "885", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "1", - "type" : "Literal" - } - } ] - } - } - }, { - "localId" : "897", - "type" : "Query", - "source" : [ { - "localId" : "898", - "alias" : "X", - "expression" : { - "localId" : "890", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "893", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "894", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } - }, - "element" : [ { - "localId" : "891", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "1", - "type" : "Literal" - } ] - } - } ], - "let" : [ ], - "relationship" : [ ], - "return" : { - "localId" : "899", - "distinct" : false, - "expression" : { - "localId" : "901", - "type" : "ToList", - "signature" : [ ], - "operand" : { - "localId" : "900", - "name" : "X", - "type" : "AliasRef" - } - } - } - } ] - } - }, { - "localId" : "910", + "operand" : [ { + "type" : "DateTime", + "localId" : "1124", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1125", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1126", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1127", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1116", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1117", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "1118", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "13", + "annotation" : [ ] + } + }, { + "type" : "ToDateTime", + "localId" : "1141", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1142", + "name" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ] + } ], + "operand" : { + "type" : "Date", + "localId" : "1136", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1137", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1138", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1139", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1128", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1129", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "1130", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "13", + "annotation" : [ ] + } + } + } ] + } + } + }, { + "localId" : "1149", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "DateTimeAndDateNotEqual", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "1149", + "s" : [ { + "value" : [ "", "define ", "DateTimeAndDateNotEqual", ": " ] + }, { + "r" : "1180", + "s" : [ { + "r" : "1159", + "s" : [ { + "r" : "1151", + "value" : [ "DateTime", "(", "2000", ", ", "3", ", ", "12", ")" ] + } ] + }, { + "value" : [ " ", "!=", " " ] + }, { + "r" : "1171", + "s" : [ { + "r" : "1163", + "value" : [ "Date", "(", "2000", ", ", "3", ", ", "13", ")" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Not", + "localId" : "1180", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1181", + "name" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ] + } ], + "operand" : { + "type" : "Equal", + "localId" : "1150", "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "ListAndTuple", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "910", - "s" : [ { - "value" : [ "","define ","ListAndTuple",": " ] - }, { - "r" : "911", - "s" : [ { - "r" : "912", - "s" : [ { - "value" : [ "{" ] - }, { - "r" : "913", - "s" : [ { - "value" : [ "'1'" ] - } ] - }, { - "value" : [ "}" ] - } ] - }, { - "value" : [ " ","~"," " ] - }, { - "r" : "917", - "s" : [ { - "value" : [ "{" ] - }, { - "s" : [ { - "value" : [ "a",": " ] - }, { - "r" : "918", - "s" : [ { - "value" : [ "'1'" ] - } ] - } ] - }, { - "value" : [ "}" ] - } ] - } ] - } ] - } + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1178", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1179", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] } ], - "expression" : { - "localId" : "911", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "Equivalent", - "signature" : [ { - "localId" : "930", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "931", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "932", - "name" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "NamedTypeSpecifier" - } - } - }, { - "localId" : "933", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "934", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "935", - "name" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "NamedTypeSpecifier" - } - } - } ], - "operand" : [ { - "localId" : "923", - "type" : "Query", - "source" : [ { - "localId" : "924", - "alias" : "X", - "expression" : { - "localId" : "912", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "915", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "916", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } - }, - "element" : [ { - "localId" : "913", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "1", - "type" : "Literal" - } ] - } - } ], - "let" : [ ], - "relationship" : [ ], - "return" : { - "localId" : "925", - "distinct" : false, - "expression" : { - "localId" : "927", - "type" : "ToList", - "signature" : [ ], - "operand" : { - "localId" : "926", - "name" : "X", - "type" : "AliasRef" - } - } - } - }, { - "localId" : "929", - "type" : "ToList", - "signature" : [ ], - "operand" : { - "localId" : "928", - "type" : "ToList", - "signature" : [ ], - "operand" : { - "localId" : "917", - "type" : "Tuple", - "resultTypeSpecifier" : { - "localId" : "920", - "type" : "TupleTypeSpecifier", - "element" : [ { - "localId" : "921", - "name" : "a", - "elementType" : { - "localId" : "922", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } - } ] - }, - "element" : [ { - "name" : "a", - "value" : { - "localId" : "918", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "1", - "type" : "Literal" - } - } ] - } - } - } ] - } - }, { - "localId" : "938", + "operand" : [ { + "type" : "DateTime", + "localId" : "1159", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1160", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1161", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1162", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1151", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1152", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "1153", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "12", + "annotation" : [ ] + } + }, { + "type" : "ToDateTime", + "localId" : "1176", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1177", + "name" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ] + } ], + "operand" : { + "type" : "Date", + "localId" : "1171", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1172", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1173", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1174", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1163", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1164", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "1165", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "13", + "annotation" : [ ] + } + } + } ] + } + } + }, { + "localId" : "1184", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "DateTimeAndDateUncertainNull", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "1184", + "s" : [ { + "value" : [ "", "define ", "DateTimeAndDateUncertainNull", ": " ] + }, { + "r" : "1224", + "s" : [ { + "r" : "1200", + "s" : [ { + "r" : "1186", + "value" : [ "DateTime", "(", "2000", ", ", "3", ", ", "13", ", ", "2", ", ", "4", ", ", "23", ")" ] + } ] + }, { + "value" : [ " ", "!=", " " ] + }, { + "r" : "1215", + "s" : [ { + "r" : "1207", + "value" : [ "Date", "(", "2000", ", ", "3", ", ", "13", ")" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Not", + "localId" : "1224", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1225", + "name" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ] + } ], + "operand" : { + "type" : "Equal", + "localId" : "1185", "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "TupleAndNullList", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "938", - "s" : [ { - "value" : [ "","define ","TupleAndNullList",": " ] - }, { - "r" : "939", - "s" : [ { - "r" : "940", - "s" : [ { - "value" : [ "{" ] - }, { - "s" : [ { - "value" : [ "a",": " ] - }, { - "r" : "941", - "s" : [ { - "value" : [ "'1'" ] - } ] - } ] - }, { - "value" : [ "}" ] - } ] - }, { - "value" : [ " ","~"," " ] - }, { - "r" : "946", - "s" : [ { - "r" : "947", - "value" : [ "{","null","}" ] - } ] - } ] - } ] - } + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1222", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1223", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] } ], - "expression" : { - "localId" : "939", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "Equivalent", - "signature" : [ { - "localId" : "957", - "type" : "TupleTypeSpecifier", - "element" : [ { - "localId" : "958", - "name" : "a", - "elementType" : { - "localId" : "959", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } - } ] - }, { - "localId" : "960", - "type" : "TupleTypeSpecifier", - "element" : [ { - "localId" : "961", - "name" : "a", - "elementType" : { - "localId" : "962", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } - } ] - } ], - "operand" : [ { - "localId" : "940", - "type" : "Tuple", - "resultTypeSpecifier" : { - "localId" : "943", - "type" : "TupleTypeSpecifier", - "element" : [ { - "localId" : "944", - "name" : "a", - "elementType" : { - "localId" : "945", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } - } ] - }, - "element" : [ { - "name" : "a", - "value" : { - "localId" : "941", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "1", - "type" : "Literal" - } - } ] - }, { - "localId" : "953", - "type" : "As", - "signature" : [ ], - "operand" : { - "localId" : "950", - "type" : "SingletonFrom", - "signature" : [ { - "localId" : "951", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "952", - "name" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : { - "localId" : "946", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "948", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "949", - "name" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "NamedTypeSpecifier" - } - }, - "element" : [ { - "localId" : "947", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - } ] - } - }, - "asTypeSpecifier" : { - "localId" : "954", - "type" : "TupleTypeSpecifier", - "element" : [ { - "localId" : "955", - "name" : "a", - "elementType" : { - "localId" : "956", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } - } ] - } - } ] - } - }, { - "localId" : "965", + "operand" : [ { + "type" : "DateTime", + "localId" : "1200", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1201", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1202", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1203", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1204", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1205", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1206", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1186", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1187", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "1188", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "13", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "1189", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "1190", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "4", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "1191", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "23", + "annotation" : [ ] + } + }, { + "type" : "ToDateTime", + "localId" : "1220", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1221", + "name" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ] + } ], + "operand" : { + "type" : "Date", + "localId" : "1215", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1216", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1217", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1218", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1207", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1208", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "1209", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "13", + "annotation" : [ ] + } + } + } ] + } + } + }, { + "localId" : "1228", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "AGtB_Quantity", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "1228", + "s" : [ { + "value" : [ "", "define ", "AGtB_Quantity", ": " ] + }, { + "r" : "1234", + "s" : [ { + "r" : "1230", + "s" : [ { + "value" : [ "5 ", "'m'" ] + } ] + }, { + "value" : [ " ", "!=", " " ] + }, { + "r" : "1231", + "s" : [ { + "value" : [ "4 ", "'m'" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Not", + "localId" : "1234", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1235", + "name" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ] + } ], + "operand" : { + "type" : "Equal", + "localId" : "1229", "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "NullListAndTuple", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "965", - "s" : [ { - "value" : [ "","define ","NullListAndTuple",": " ] - }, { - "r" : "966", - "s" : [ { - "r" : "967", - "s" : [ { - "r" : "968", - "value" : [ "{","null","}" ] - } ] - }, { - "value" : [ " ","~"," " ] - }, { - "r" : "971", - "s" : [ { - "value" : [ "{" ] - }, { - "s" : [ { - "value" : [ "a",": " ] - }, { - "r" : "972", - "s" : [ { - "value" : [ "'1'" ] - } ] - } ] - }, { - "value" : [ "}" ] - } ] - } ] - } ] - } + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1232", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1233", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] } ], - "expression" : { - "localId" : "966", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "Equivalent", - "signature" : [ { - "localId" : "984", - "type" : "TupleTypeSpecifier", - "element" : [ { - "localId" : "985", - "name" : "a", - "elementType" : { - "localId" : "986", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } - } ] - }, { - "localId" : "987", - "type" : "TupleTypeSpecifier", - "element" : [ { - "localId" : "988", - "name" : "a", - "elementType" : { - "localId" : "989", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } - } ] - } ], - "operand" : [ { - "localId" : "980", - "type" : "As", - "signature" : [ ], - "operand" : { - "localId" : "977", - "type" : "SingletonFrom", - "signature" : [ { - "localId" : "978", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "979", - "name" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : { - "localId" : "967", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "969", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "970", - "name" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "NamedTypeSpecifier" - } - }, - "element" : [ { - "localId" : "968", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - } ] - } - }, - "asTypeSpecifier" : { - "localId" : "981", - "type" : "TupleTypeSpecifier", - "element" : [ { - "localId" : "982", - "name" : "a", - "elementType" : { - "localId" : "983", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } - } ] - } - }, { - "localId" : "971", - "type" : "Tuple", - "resultTypeSpecifier" : { - "localId" : "974", - "type" : "TupleTypeSpecifier", - "element" : [ { - "localId" : "975", - "name" : "a", - "elementType" : { - "localId" : "976", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } - } ] - }, - "element" : [ { - "name" : "a", - "value" : { - "localId" : "972", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "1", - "type" : "Literal" - } - } ] - } ] - } - }, { - "localId" : "992", + "operand" : [ { + "type" : "Quantity", + "localId" : "1230", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "value" : 5, + "unit" : "m", + "annotation" : [ ] + }, { + "type" : "Quantity", + "localId" : "1231", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "value" : 4, + "unit" : "m", + "annotation" : [ ] + } ] + } + } + }, { + "localId" : "1238", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "AEqB_Quantity", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "1238", + "s" : [ { + "value" : [ "", "define ", "AEqB_Quantity", ": " ] + }, { + "r" : "1244", + "s" : [ { + "r" : "1240", + "s" : [ { + "value" : [ "5 ", "'m'" ] + } ] + }, { + "value" : [ " ", "!=", " " ] + }, { + "r" : "1241", + "s" : [ { + "value" : [ "5 ", "'m'" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Not", + "localId" : "1244", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1245", + "name" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ] + } ], + "operand" : { + "type" : "Equal", + "localId" : "1239", "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "SameCodeAndCode", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "992", - "s" : [ { - "value" : [ "","define ","SameCodeAndCode",": " ] - }, { - "r" : "993", - "s" : [ { - "r" : "994", - "s" : [ { - "value" : [ "\"Tobacco smoking status code\"" ] - } ] - }, { - "value" : [ " ","~"," " ] - }, { - "r" : "995", - "s" : [ { - "value" : [ "\"Tobacco smoking status code clone\"" ] - } ] - } ] - } ] - } + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1242", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1243", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] } ], - "expression" : { - "localId" : "993", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "Equivalent", - "signature" : [ { - "localId" : "996", - "name" : "{urn:hl7-org:elm-types:r1}Code", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "997", - "name" : "{urn:hl7-org:elm-types:r1}Code", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "994", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Code", - "name" : "Tobacco smoking status code", - "type" : "CodeRef" - }, { - "localId" : "995", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Code", - "name" : "Tobacco smoking status code clone", - "type" : "CodeRef" - } ] - } - }, { - "localId" : "1000", + "operand" : [ { + "type" : "Quantity", + "localId" : "1240", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "value" : 5, + "unit" : "m", + "annotation" : [ ] + }, { + "type" : "Quantity", + "localId" : "1241", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "value" : 5, + "unit" : "m", + "annotation" : [ ] + } ] + } + } + }, { + "localId" : "1248", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "ALtB_Quantity", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "1248", + "s" : [ { + "value" : [ "", "define ", "ALtB_Quantity", ": " ] + }, { + "r" : "1254", + "s" : [ { + "r" : "1250", + "s" : [ { + "value" : [ "5 ", "'m'" ] + } ] + }, { + "value" : [ " ", "!=", " " ] + }, { + "r" : "1251", + "s" : [ { + "value" : [ "6 ", "'m'" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Not", + "localId" : "1254", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1255", + "name" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ] + } ], + "operand" : { + "type" : "Equal", + "localId" : "1249", "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "SameCodeAndConcept", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "1000", - "s" : [ { - "value" : [ "","define ","SameCodeAndConcept",": " ] - }, { - "r" : "1001", - "s" : [ { - "r" : "1002", - "s" : [ { - "value" : [ "\"Tobacco smoking status code clone\"" ] - } ] - }, { - "value" : [ " ","~"," " ] - }, { - "r" : "1003", - "s" : [ { - "value" : [ "\"Tobacco smoking status\"" ] - } ] - } ] - } ] - } + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1252", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1253", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] } ], - "expression" : { - "localId" : "1001", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "Equivalent", - "signature" : [ { - "localId" : "1007", - "name" : "{urn:hl7-org:elm-types:r1}Concept", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1008", - "name" : "{urn:hl7-org:elm-types:r1}Concept", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "1005", - "type" : "ToConcept", - "signature" : [ { - "localId" : "1006", - "name" : "{urn:hl7-org:elm-types:r1}Code", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "1002", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Code", - "name" : "Tobacco smoking status code clone", - "type" : "CodeRef" - } - }, { - "localId" : "1003", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Concept", - "name" : "Tobacco smoking status", - "type" : "ConceptRef" - } ] - } - }, { - "localId" : "1011", + "operand" : [ { + "type" : "Quantity", + "localId" : "1250", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "value" : 5, + "unit" : "m", + "annotation" : [ ] + }, { + "type" : "Quantity", + "localId" : "1251", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "value" : 6, + "unit" : "m", + "annotation" : [ ] + } ] + } + } + }, { + "localId" : "1258", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "AGtB_Quantity_diff", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "1258", + "s" : [ { + "value" : [ "", "define ", "AGtB_Quantity_diff", ": " ] + }, { + "r" : "1264", + "s" : [ { + "r" : "1260", + "s" : [ { + "value" : [ "5 ", "'m'" ] + } ] + }, { + "value" : [ " ", "!=", " " ] + }, { + "r" : "1261", + "s" : [ { + "value" : [ "5 ", "'cm'" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Not", + "localId" : "1264", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1265", + "name" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ] + } ], + "operand" : { + "type" : "Equal", + "localId" : "1259", "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "SameConceptAndCode", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "1011", - "s" : [ { - "value" : [ "","define ","SameConceptAndCode",": " ] - }, { - "r" : "1012", - "s" : [ { - "r" : "1013", - "s" : [ { - "value" : [ "\"Tobacco smoking status\"" ] - } ] - }, { - "value" : [ " ","~"," " ] - }, { - "r" : "1014", - "s" : [ { - "value" : [ "\"Tobacco smoking status code clone\"" ] - } ] - } ] - } ] - } + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1262", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1263", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] } ], - "expression" : { - "localId" : "1012", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "Equivalent", - "signature" : [ { - "localId" : "1018", - "name" : "{urn:hl7-org:elm-types:r1}Concept", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1019", - "name" : "{urn:hl7-org:elm-types:r1}Concept", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "1013", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Concept", - "name" : "Tobacco smoking status", - "type" : "ConceptRef" - }, { - "localId" : "1016", - "type" : "ToConcept", - "signature" : [ { - "localId" : "1017", - "name" : "{urn:hl7-org:elm-types:r1}Code", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "1014", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Code", - "name" : "Tobacco smoking status code clone", - "type" : "CodeRef" - } - } ] - } - }, { - "localId" : "1022", + "operand" : [ { + "type" : "Quantity", + "localId" : "1260", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "value" : 5, + "unit" : "m", + "annotation" : [ ] + }, { + "type" : "Quantity", + "localId" : "1261", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "value" : 5, + "unit" : "cm", + "annotation" : [ ] + } ] + } + } + }, { + "localId" : "1268", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "AEqB_Quantity_diff", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "1268", + "s" : [ { + "value" : [ "", "define ", "AEqB_Quantity_diff", ": " ] + }, { + "r" : "1274", + "s" : [ { + "r" : "1270", + "s" : [ { + "value" : [ "5 ", "'m'" ] + } ] + }, { + "value" : [ " ", "!=", " " ] + }, { + "r" : "1271", + "s" : [ { + "value" : [ "500 ", "'cm'" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Not", + "localId" : "1274", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1275", + "name" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ] + } ], + "operand" : { + "type" : "Equal", + "localId" : "1269", "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "SameConceptAndConcept", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "1022", - "s" : [ { - "value" : [ "","define ","SameConceptAndConcept",": " ] - }, { - "r" : "1023", - "s" : [ { - "r" : "1024", - "s" : [ { - "value" : [ "\"Tobacco smoking status\"" ] - } ] - }, { - "value" : [ " ","~"," " ] - }, { - "r" : "1025", - "s" : [ { - "value" : [ "\"Tobacco smoking status clone\"" ] - } ] - } ] - } ] - } + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1272", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1273", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "Quantity", + "localId" : "1270", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "value" : 5, + "unit" : "m", + "annotation" : [ ] + }, { + "type" : "Quantity", + "localId" : "1271", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "value" : 500, + "unit" : "cm", + "annotation" : [ ] + } ] + } + } + }, { + "localId" : "1278", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "ALtB_Quantity_diff", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "1278", + "s" : [ { + "value" : [ "", "define ", "ALtB_Quantity_diff", ": " ] + }, { + "r" : "1284", + "s" : [ { + "r" : "1280", + "s" : [ { + "value" : [ "5 ", "'m'" ] + } ] + }, { + "value" : [ " ", "!=", " " ] + }, { + "r" : "1281", + "s" : [ { + "value" : [ "5 ", "'km'" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Not", + "localId" : "1284", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1285", + "name" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ] + } ], + "operand" : { + "type" : "Equal", + "localId" : "1279", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1282", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1283", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] } ], - "expression" : { - "localId" : "1023", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "Equivalent", - "signature" : [ { - "localId" : "1026", - "name" : "{urn:hl7-org:elm-types:r1}Concept", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1027", - "name" : "{urn:hl7-org:elm-types:r1}Concept", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "1024", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Concept", - "name" : "Tobacco smoking status", - "type" : "ConceptRef" - }, { - "localId" : "1025", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Concept", - "name" : "Tobacco smoking status clone", - "type" : "ConceptRef" - } ] - } - }, { - "localId" : "1030", + "operand" : [ { + "type" : "Quantity", + "localId" : "1280", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "value" : 5, + "unit" : "m", + "annotation" : [ ] + }, { + "type" : "Quantity", + "localId" : "1281", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "value" : 5, + "unit" : "km", + "annotation" : [ ] + } ] + } + } + }, { + "localId" : "1288", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "AGtB_Quantity_incompatible", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "1288", + "s" : [ { + "value" : [ "", "define ", "AGtB_Quantity_incompatible", ": " ] + }, { + "r" : "1294", + "s" : [ { + "r" : "1290", + "s" : [ { + "value" : [ "5 ", "'Cel'" ] + } ] + }, { + "value" : [ " ", "!=", " " ] + }, { + "r" : "1291", + "s" : [ { + "value" : [ "4 ", "'m'" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Not", + "localId" : "1294", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1295", + "name" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ] + } ], + "operand" : { + "type" : "Equal", + "localId" : "1289", "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "DiffCodeAndCode", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "1030", - "s" : [ { - "value" : [ "","define ","DiffCodeAndCode",": " ] - }, { - "r" : "1031", - "s" : [ { - "r" : "1032", - "s" : [ { - "value" : [ "\"Tobacco smoking status code\"" ] - } ] - }, { - "value" : [ " ","~"," " ] - }, { - "r" : "1033", - "s" : [ { - "value" : [ "\"Total Score [AUDIT-C] code\"" ] - } ] - } ] - } ] - } + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1292", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1293", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] } ], - "expression" : { - "localId" : "1031", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "Equivalent", - "signature" : [ { - "localId" : "1034", - "name" : "{urn:hl7-org:elm-types:r1}Code", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1035", - "name" : "{urn:hl7-org:elm-types:r1}Code", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "1032", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Code", - "name" : "Tobacco smoking status code", - "type" : "CodeRef" - }, { - "localId" : "1033", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Code", - "name" : "Total Score [AUDIT-C] code", - "type" : "CodeRef" - } ] - } - }, { - "localId" : "1038", + "operand" : [ { + "type" : "Quantity", + "localId" : "1290", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "value" : 5, + "unit" : "Cel", + "annotation" : [ ] + }, { + "type" : "Quantity", + "localId" : "1291", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "value" : 4, + "unit" : "m", + "annotation" : [ ] + } ] + } + } + }, { + "localId" : "1298", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "AEqB_Quantity_incompatible", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "1298", + "s" : [ { + "value" : [ "", "define ", "AEqB_Quantity_incompatible", ": " ] + }, { + "r" : "1304", + "s" : [ { + "r" : "1300", + "s" : [ { + "value" : [ "5 ", "'Cel'" ] + } ] + }, { + "value" : [ " ", "!=", " " ] + }, { + "r" : "1301", + "s" : [ { + "value" : [ "5 ", "'m'" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Not", + "localId" : "1304", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1305", + "name" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ] + } ], + "operand" : { + "type" : "Equal", + "localId" : "1299", "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "DiffCodeAndConcept", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "1038", - "s" : [ { - "value" : [ "","define ","DiffCodeAndConcept",": " ] - }, { - "r" : "1039", - "s" : [ { - "r" : "1040", - "s" : [ { - "value" : [ "\"Tobacco smoking status code clone\"" ] - } ] - }, { - "value" : [ " ","~"," " ] - }, { - "r" : "1041", - "s" : [ { - "value" : [ "\"Total Score [AUDIT-C]\"" ] - } ] - } ] - } ] - } + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1302", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1303", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] } ], - "expression" : { - "localId" : "1039", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "Equivalent", - "signature" : [ { - "localId" : "1045", - "name" : "{urn:hl7-org:elm-types:r1}Concept", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1046", - "name" : "{urn:hl7-org:elm-types:r1}Concept", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "1043", - "type" : "ToConcept", - "signature" : [ { - "localId" : "1044", - "name" : "{urn:hl7-org:elm-types:r1}Code", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "1040", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Code", - "name" : "Tobacco smoking status code clone", - "type" : "CodeRef" - } - }, { - "localId" : "1041", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Concept", - "name" : "Total Score [AUDIT-C]", - "type" : "ConceptRef" - } ] - } - }, { - "localId" : "1049", + "operand" : [ { + "type" : "Quantity", + "localId" : "1300", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "value" : 5, + "unit" : "Cel", + "annotation" : [ ] + }, { + "type" : "Quantity", + "localId" : "1301", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "value" : 5, + "unit" : "m", + "annotation" : [ ] + } ] + } + } + }, { + "localId" : "1308", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "ALtB_Quantity_incompatible", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "1308", + "s" : [ { + "value" : [ "", "define ", "ALtB_Quantity_incompatible", ": " ] + }, { + "r" : "1314", + "s" : [ { + "r" : "1310", + "s" : [ { + "value" : [ "5 ", "'Cel'" ] + } ] + }, { + "value" : [ " ", "!=", " " ] + }, { + "r" : "1311", + "s" : [ { + "value" : [ "40 ", "'m'" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Not", + "localId" : "1314", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1315", + "name" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ] + } ], + "operand" : { + "type" : "Equal", + "localId" : "1309", "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "DiffConceptAndCode", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "1049", - "s" : [ { - "value" : [ "","define ","DiffConceptAndCode",": " ] - }, { - "r" : "1050", - "s" : [ { - "r" : "1051", - "s" : [ { - "value" : [ "\"Tobacco smoking status\"" ] - } ] - }, { - "value" : [ " ","~"," " ] - }, { - "r" : "1052", - "s" : [ { - "value" : [ "\"Total Score [AUDIT-C] code\"" ] - } ] - } ] - } ] - } + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1312", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1313", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] } ], - "expression" : { - "localId" : "1050", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "Equivalent", - "signature" : [ { - "localId" : "1056", - "name" : "{urn:hl7-org:elm-types:r1}Concept", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1057", - "name" : "{urn:hl7-org:elm-types:r1}Concept", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "1051", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Concept", - "name" : "Tobacco smoking status", - "type" : "ConceptRef" - }, { - "localId" : "1054", - "type" : "ToConcept", - "signature" : [ { - "localId" : "1055", - "name" : "{urn:hl7-org:elm-types:r1}Code", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "1052", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Code", - "name" : "Total Score [AUDIT-C] code", - "type" : "CodeRef" - } - } ] + "operand" : [ { + "type" : "Quantity", + "localId" : "1310", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "value" : 5, + "unit" : "Cel", + "annotation" : [ ] + }, { + "type" : "Quantity", + "localId" : "1311", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "value" : 40, + "unit" : "m", + "annotation" : [ ] + } ] + } + } + } ] + } + } +} + +/* Equivalent +library TestSnippet version '1' +using Simple version '1.0.0' +codesystem "LOINC": 'http://loinc.org' +code "Tobacco smoking status code": '72166-2' from "LOINC" display 'Tobacco smoking status code' +code "Tobacco smoking status code clone": '72166-2' from "LOINC" display 'Tobacco smoking status code clone' +code "Total Score [AUDIT-C] code": '75626-2' from "LOINC" display 'Total Score [Audit-C] code' +concept "Tobacco smoking status": { "Tobacco smoking status code" } display 'Tobacco smoking status' +concept "Tobacco smoking status clone": { "Tobacco smoking status code clone" } display 'Tobacco smoking status' +concept "Total Score [AUDIT-C]": { "Total Score [AUDIT-C] code" } display 'Total Score [Audit-C]' +valueset "Unknown": '1.2.3.4.5.6.7.8.9' +valueset "UnknownSame": '1.2.3.4.5.6.7.8.9' +valueset "Known": '2.16.840.1.113883.3.560.100.1' version '20121025' +valueset "KnownSameCodes": '2.16.840.1.113883.3.560.100.1' version '20131025' +valueset "KnownDifferentCodes": '2.16.840.1.113883.3.560.100.1' version '20141025' +context Patient + +define ANull_BDefined: null ~ 4 +define ADefined_BNull: 5 ~ null +define ANull_BNull: (null as String) ~ (null as String) +define ADefined_BDefined: 3 ~ 3 +define CaseInsensitiveStrings: 'FOO' ~ 'foo' +define WhiteSpaceTabTrue: 'foo bar' ~ 'foo\tbar' +define WhiteSpaceTabReturnTrue: 'foo\tbar' ~ 'foo\nbar' +define WhiteSpaceIncorrectSpaceFalse: 'foo bar' ~ 'foo\t\tbar' +define WhiteSpaceIncorrectNumberTabsFalse: 'foo\t\tbar' ~'foo\tbar' +define WhiteSpaceNoSpaceFalse: 'foo bar' ~ 'foobar' +define EqRatios: 10 'mg' : 2 'dL' ~ 15 'mg' : 3 'dL' +define UneqRatios: 10 'mg' : 2 'dL' ~ 15 'mg' : 4 'dL' +define UneqRatioTypes: 10 'mg' : 2 'dL' ~ DateTime(2000, 3, 13, 2, 4, 23) + +// define EmptyTuples: { : } ~ { : } // TODO: We don't seem to support this format +define SameTuples: Tuple{a: 'a', b: 'b'} ~ Tuple{a: 'a', b: 'b'} +define SameTuplesNull: Tuple{a: null} ~ Tuple{a : null} +define DifferentTuples: Tuple{a: 'a', b: 'b'} ~ Tuple{a: 'x', b: 'b'} +define SameNestedTuples: Tuple{a: 'a', b: Tuple{c: 'c'}} ~ Tuple{a: 'a', b: Tuple{c: 'c'}} +define SameNestedTuplesNull: Tuple{a: 'a', b: Tuple{c: null}} ~ Tuple{a: 'a', b: Tuple{c: null}} + +define EmptyLists: { } ~ { } +define DifferentTypesLists: {'1', '2', '3'} ~ {1, 2, 3} +define DifferentLengthLists: {'a'} ~ {'a', 'a'} +define DifferentOrderLists: {'a', 'b'} ~ {'b', 'a'} +define SameLists: {'a', 'b', 'c'} ~ {'a', 'b', 'c'} +define SameListsNull: {null, null, null} ~ {null, null, null} +define SameNestedLists: {{'a','d'}, {'b', 'c'}} ~ {{'a','d'}, {'b', 'c'}} +define SameNestedListsNull: {null, {null, null}} ~ {null, {null, null}} + +define EmptyInterval: Interval(null, null) ~ Interval(null, null) +define IntervalDifferentPointTypes: Interval[1, 5] ~ Interval['1', '5'] +define IntervalDifferentStarts: Interval[1,3] ~ Interval[2,3] +define IntervalDifferentEndings: Interval[1,3] ~ Interval[1,4] +define SameIntervals: Interval[1,3] ~ Interval[1,3] + +define TupleAndList: {a: '1'} ~ {'1'} +define ListAndTuple: {'1'} ~ {a: '1'} +define TupleAndNullList: {a: '1'} ~ {null} +define NullListAndTuple: {null} ~ {a: '1'} + +define SameCodeAndCode: "Tobacco smoking status code" ~ "Tobacco smoking status code clone" +define SameCodeAndConcept: "Tobacco smoking status code clone" ~ "Tobacco smoking status" +define SameConceptAndCode: "Tobacco smoking status" ~ "Tobacco smoking status code clone" +define SameConceptAndConcept: "Tobacco smoking status" ~ "Tobacco smoking status clone" +define DiffCodeAndCode: "Tobacco smoking status code" ~ "Total Score [AUDIT-C] code" +define DiffCodeAndConcept: "Tobacco smoking status code clone" ~ "Total Score [AUDIT-C]" +define DiffConceptAndCode: "Tobacco smoking status" ~ "Total Score [AUDIT-C] code" +define DiffConceptAndConcept: "Tobacco smoking status" ~ "Total Score [AUDIT-C]" +define SameVSIdAndVersion: "Unknown" ~ "UnknownSame" +define SameVSCodes: "Known" ~ "KnownSameCodes" +define DiffVSCodes: "Known" ~ "KnownDifferentCodes" +define UnresolvableDiffVS: "Known" ~ "Unknown" + +define EqDateTimes: DateTime(2000, 3, 15, 13, 30, 25, 200, +1.0) ~ DateTime(2000, 3, 15, 13, 30, 25, 200, +1.0) +define UneqDateTimes: DateTime(2000, 3, 15, 13, 30, 25, 200, +1.0) ~ DateTime(2000, 3, 15, 13, 30, 25, 201, +1.0) +define EqDateTimesTZ: DateTime(2000, 3, 15, 23, 30, 25, 200, +1.0) ~ DateTime(2000, 3, 16, 2, 30, 25, 200, +4.0) +define UneqDateTimesTZ: DateTime(2000, 3, 15, 13, 30, 25, 200, +1.0) ~ DateTime(2000, 3, 15, 13, 30, 25, 200, +2.0) +define EqDateTimesNullMs: DateTime(2000, 3, 15, 13, 30, 25, 0) ~ DateTime(2000, 3, 15, 13, 30, 25) +define EqDateTimesNullOtherMs: DateTime(2000, 3, 15, 13, 30, 25) ~ DateTime(2000, 3, 15, 13, 30, 25, 0) +define EqDateTimesOnlyDate: DateTime(2000, 3, 15) ~ DateTime(2000, 3, 15) +define UneqDateTimesOnlyDate: DateTime(2000, 3, 14) ~ DateTime(2000, 3, 15) +define PossiblyEqDateTimesOnlyDateOnOne: DateTime(2000, 3, 13) ~ DateTime(2000, 3, 13, 13, 43, 32) +define UneqDateTimesOnlyDateOnOne: DateTime(2000, 4, 13, 12, 43, 32) ~ DateTime(2000, 3, 13) +define PossiblyEqualDateTimes: DateTime(2000, 3, 15) ~ DateTime(2000) +define ImpossiblyEqualDateTimes: DateTime(2000, 3, 15) ~ DateTime(2000, 4) +define DateAndDateTimeTrue: Date(2000, 3, 13) ~ DateTime(2000, 3, 13) +define DateAndDateTimeNotEqual: Date(2000, 3, 13) ~ DateTime(2000, 3, 12) +define DateAndDateTimeUncertainFalse: Date(2000, 3, 13) ~ DateTime(2000, 3, 13, 2, 4, 23) +define DateTimeAndDateTrue: DateTime(2000, 3, 13) ~ Date(2000, 3, 13) +define DateTimeAndDateNotEqual: DateTime(2000, 3, 12) ~ Date(2000, 3, 13) +define DateTimeAndDateUncertainFalse: DateTime(2000, 3, 13, 2, 4, 23) ~ Date(2000, 3, 13) +*/ + +module.exports['Equivalent'] = { + "library" : { + "localId" : "0", + "annotation" : [ { + "type" : "CqlToElmInfo", + "translatorVersion" : "4.2.0", + "translatorOptions" : "EnableDateRangeOptimization,EnableAnnotations,EnableResultTypes", + "signatureLevel" : "All" + }, { + "type" : "CqlToElmError", + "libraryId" : "TestSnippet", + "libraryVersion" : "1", + "startLine" : 55, + "startChar" : 37, + "endLine" : 55, + "endChar" : 42, + "message" : "List-valued expression was demoted to a singleton.", + "errorType" : "semantic", + "errorSeverity" : "warning" + }, { + "type" : "CqlToElmError", + "libraryId" : "TestSnippet", + "libraryVersion" : "1", + "startLine" : 56, + "startChar" : 26, + "endLine" : 56, + "endChar" : 31, + "message" : "List-valued expression was demoted to a singleton.", + "errorType" : "semantic", + "errorSeverity" : "warning" + }, { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "1805", + "s" : [ { + "value" : [ "", "library TestSnippet version '1'" ] + } ] + } + } ], + "identifier" : { + "id" : "TestSnippet", + "version" : "1" + }, + "schemaIdentifier" : { + "id" : "urn:hl7-org:elm", + "version" : "r1" + }, + "usings" : { + "def" : [ { + "localId" : "1", + "localIdentifier" : "System", + "uri" : "urn:hl7-org:elm-types:r1", + "annotation" : [ ] + }, { + "localId" : "206", + "localIdentifier" : "Simple", + "uri" : "https://github.com/cqframework/cql-execution/simple", + "version" : "1.0.0", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "206", + "s" : [ { + "value" : [ "", "using " ] + }, { + "s" : [ { + "value" : [ "Simple" ] + } ] + }, { + "value" : [ " version '1.0.0'" ] + } ] + } + } ] + } ] + }, + "codeSystems" : { + "def" : [ { + "localId" : "208", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}CodeSystem", + "name" : "LOINC", + "id" : "http://loinc.org", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "208", + "s" : [ { + "value" : [ "", "codesystem ", "\"LOINC\"", ": ", "'http://loinc.org'" ] + } ] + } + } ] + } ] + }, + "valueSets" : { + "def" : [ { + "localId" : "225", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}ValueSet", + "name" : "Unknown", + "id" : "1.2.3.4.5.6.7.8.9", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "225", + "s" : [ { + "value" : [ "", "valueset ", "\"Unknown\"", ": ", "'1.2.3.4.5.6.7.8.9'" ] + } ] + } + } ], + "codeSystem" : [ ] + }, { + "localId" : "227", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}ValueSet", + "name" : "UnknownSame", + "id" : "1.2.3.4.5.6.7.8.9", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "227", + "s" : [ { + "value" : [ "", "valueset ", "\"UnknownSame\"", ": ", "'1.2.3.4.5.6.7.8.9'" ] + } ] + } + } ], + "codeSystem" : [ ] + }, { + "localId" : "229", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}ValueSet", + "name" : "Known", + "id" : "2.16.840.1.113883.3.560.100.1", + "version" : "20121025", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "229", + "s" : [ { + "value" : [ "", "valueset ", "\"Known\"", ": ", "'2.16.840.1.113883.3.560.100.1'", " version ", "'20121025'" ] + } ] + } + } ], + "codeSystem" : [ ] + }, { + "localId" : "231", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}ValueSet", + "name" : "KnownSameCodes", + "id" : "2.16.840.1.113883.3.560.100.1", + "version" : "20131025", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "231", + "s" : [ { + "value" : [ "", "valueset ", "\"KnownSameCodes\"", ": ", "'2.16.840.1.113883.3.560.100.1'", " version ", "'20131025'" ] + } ] + } + } ], + "codeSystem" : [ ] + }, { + "localId" : "233", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}ValueSet", + "name" : "KnownDifferentCodes", + "id" : "2.16.840.1.113883.3.560.100.1", + "version" : "20141025", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "233", + "s" : [ { + "value" : [ "", "valueset ", "\"KnownDifferentCodes\"", ": ", "'2.16.840.1.113883.3.560.100.1'", " version ", "'20141025'" ] + } ] + } + } ], + "codeSystem" : [ ] + } ] + }, + "codes" : { + "def" : [ { + "localId" : "210", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Code", + "name" : "Tobacco smoking status code", + "id" : "72166-2", + "display" : "Tobacco smoking status code", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "210", + "s" : [ { + "value" : [ "", "code ", "\"Tobacco smoking status code\"", ": ", "'72166-2'", " from " ] + }, { + "r" : "211", + "s" : [ { + "value" : [ "\"LOINC\"" ] + } ] + }, { + "value" : [ " display ", "'Tobacco smoking status code'" ] + } ] + } + } ], + "codeSystem" : { + "localId" : "211", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}CodeSystem", + "name" : "LOINC", + "annotation" : [ ] + } + }, { + "localId" : "213", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Code", + "name" : "Tobacco smoking status code clone", + "id" : "72166-2", + "display" : "Tobacco smoking status code clone", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "213", + "s" : [ { + "value" : [ "", "code ", "\"Tobacco smoking status code clone\"", ": ", "'72166-2'", " from " ] + }, { + "r" : "214", + "s" : [ { + "value" : [ "\"LOINC\"" ] + } ] + }, { + "value" : [ " display ", "'Tobacco smoking status code clone'" ] + } ] + } + } ], + "codeSystem" : { + "localId" : "214", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}CodeSystem", + "name" : "LOINC", + "annotation" : [ ] + } + }, { + "localId" : "216", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Code", + "name" : "Total Score [AUDIT-C] code", + "id" : "75626-2", + "display" : "Total Score [Audit-C] code", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "216", + "s" : [ { + "value" : [ "", "code ", "\"Total Score [AUDIT-C] code\"", ": ", "'75626-2'", " from " ] + }, { + "r" : "217", + "s" : [ { + "value" : [ "\"LOINC\"" ] + } ] + }, { + "value" : [ " display ", "'Total Score [Audit-C] code'" ] + } ] + } + } ], + "codeSystem" : { + "localId" : "217", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}CodeSystem", + "name" : "LOINC", + "annotation" : [ ] + } + } ] + }, + "concepts" : { + "def" : [ { + "localId" : "219", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Concept", + "name" : "Tobacco smoking status", + "display" : "Tobacco smoking status", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "219", + "s" : [ { + "value" : [ "", "concept ", "\"Tobacco smoking status\"", ": { " ] + }, { + "r" : "220", + "s" : [ { + "value" : [ "\"Tobacco smoking status code\"" ] + } ] + }, { + "value" : [ " } display ", "'Tobacco smoking status'" ] + } ] + } + } ], + "code" : [ { + "localId" : "220", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Code", + "name" : "Tobacco smoking status code", + "annotation" : [ ] + } ] + }, { + "localId" : "221", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Concept", + "name" : "Tobacco smoking status clone", + "display" : "Tobacco smoking status", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "221", + "s" : [ { + "value" : [ "", "concept ", "\"Tobacco smoking status clone\"", ": { " ] + }, { + "r" : "222", + "s" : [ { + "value" : [ "\"Tobacco smoking status code clone\"" ] + } ] + }, { + "value" : [ " } display ", "'Tobacco smoking status'" ] + } ] + } + } ], + "code" : [ { + "localId" : "222", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Code", + "name" : "Tobacco smoking status code clone", + "annotation" : [ ] + } ] + }, { + "localId" : "223", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Concept", + "name" : "Total Score [AUDIT-C]", + "display" : "Total Score [Audit-C]", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "223", + "s" : [ { + "value" : [ "", "concept ", "\"Total Score [AUDIT-C]\"", ": { " ] + }, { + "r" : "224", + "s" : [ { + "value" : [ "\"Total Score [AUDIT-C] code\"" ] + } ] + }, { + "value" : [ " } display ", "'Total Score [Audit-C]'" ] + } ] + } + } ], + "code" : [ { + "localId" : "224", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Code", + "name" : "Total Score [AUDIT-C] code", + "annotation" : [ ] + } ] + } ] + }, + "contexts" : { + "def" : [ { + "localId" : "238", + "name" : "Patient", + "annotation" : [ ] + } ] + }, + "statements" : { + "def" : [ { + "localId" : "236", + "name" : "Patient", + "context" : "Patient", + "annotation" : [ ], + "expression" : { + "type" : "SingletonFrom", + "localId" : "237", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Retrieve", + "localId" : "235", + "dataType" : "{https://github.com/cqframework/cql-execution/simple}Patient", + "annotation" : [ ], + "include" : [ ], + "codeFilter" : [ ], + "dateFilter" : [ ], + "otherFilter" : [ ] + } + } + }, { + "localId" : "241", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "ANull_BDefined", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "241", + "s" : [ { + "value" : [ "", "define ", "ANull_BDefined", ": " ] + }, { + "r" : "242", + "s" : [ { + "r" : "243", + "value" : [ "null", " ", "~", " ", "4" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Equivalent", + "localId" : "242", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "246", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "247", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "As", + "localId" : "245", + "asType" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Null", + "localId" : "243", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] } - }, { - "localId" : "1060", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "DiffConceptAndConcept", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "1060", + }, { + "type" : "Literal", + "localId" : "244", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "4", + "annotation" : [ ] + } ] + } + }, { + "localId" : "250", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "ADefined_BNull", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "250", + "s" : [ { + "value" : [ "", "define ", "ADefined_BNull", ": " ] + }, { + "r" : "251", + "s" : [ { + "r" : "252", + "value" : [ "5", " ", "~", " ", "null" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Equivalent", + "localId" : "251", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "255", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "256", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "Literal", + "localId" : "252", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "5", + "annotation" : [ ] + }, { + "type" : "As", + "localId" : "254", + "asType" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Null", + "localId" : "253", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } + } ] + } + }, { + "localId" : "259", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "ANull_BNull", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "259", + "s" : [ { + "value" : [ "", "define ", "ANull_BNull", ": " ] + }, { + "r" : "260", + "s" : [ { + "r" : "261", + "s" : [ { + "value" : [ "(" ] + }, { + "r" : "261", "s" : [ { - "value" : [ "","define ","DiffConceptAndConcept",": " ] - }, { - "r" : "1061", - "s" : [ { - "r" : "1062", - "s" : [ { - "value" : [ "\"Tobacco smoking status\"" ] - } ] - }, { - "value" : [ " ","~"," " ] - }, { - "r" : "1063", - "s" : [ { - "value" : [ "\"Total Score [AUDIT-C]\"" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "1061", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "Equivalent", - "signature" : [ { - "localId" : "1064", - "name" : "{urn:hl7-org:elm-types:r1}Concept", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1065", - "name" : "{urn:hl7-org:elm-types:r1}Concept", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "1062", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Concept", - "name" : "Tobacco smoking status", - "type" : "ConceptRef" - }, { - "localId" : "1063", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Concept", - "name" : "Total Score [AUDIT-C]", - "type" : "ConceptRef" - } ] + "r" : "262", + "value" : [ "null", " as " ] + }, { + "r" : "263", + "s" : [ { + "value" : [ "String" ] + } ] + } ] + }, { + "value" : [ ")" ] + } ] + }, { + "value" : [ " ", "~", " " ] + }, { + "r" : "264", + "s" : [ { + "value" : [ "(" ] + }, { + "r" : "264", + "s" : [ { + "r" : "265", + "value" : [ "null", " as " ] + }, { + "r" : "266", + "s" : [ { + "value" : [ "String" ] + } ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Equivalent", + "localId" : "260", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "267", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "268", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "As", + "localId" : "261", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "strict" : false, + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Null", + "localId" : "262", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + }, + "asTypeSpecifier" : { + "type" : "NamedTypeSpecifier", + "localId" : "263", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] } - }, { - "localId" : "1068", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "SameVSIdAndVersion", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "1068", + }, { + "type" : "As", + "localId" : "264", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "strict" : false, + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Null", + "localId" : "265", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + }, + "asTypeSpecifier" : { + "type" : "NamedTypeSpecifier", + "localId" : "266", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } + } ] + } + }, { + "localId" : "271", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "ADefined_BDefined", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "271", + "s" : [ { + "value" : [ "", "define ", "ADefined_BDefined", ": " ] + }, { + "r" : "272", + "s" : [ { + "r" : "273", + "value" : [ "3", " ", "~", " ", "3" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Equivalent", + "localId" : "272", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "275", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "276", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "Literal", + "localId" : "273", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "274", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + } ] + } + }, { + "localId" : "279", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "CaseInsensitiveStrings", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "279", + "s" : [ { + "value" : [ "", "define ", "CaseInsensitiveStrings", ": " ] + }, { + "r" : "280", + "s" : [ { + "r" : "281", + "s" : [ { + "value" : [ "'FOO'" ] + } ] + }, { + "value" : [ " ", "~", " " ] + }, { + "r" : "283", + "s" : [ { + "value" : [ "'foo'" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Equivalent", + "localId" : "280", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "285", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "286", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "Literal", + "localId" : "281", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "FOO", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "283", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "foo", + "annotation" : [ ] + } ] + } + }, { + "localId" : "289", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "WhiteSpaceTabTrue", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "289", + "s" : [ { + "value" : [ "", "define ", "WhiteSpaceTabTrue", ": " ] + }, { + "r" : "290", + "s" : [ { + "r" : "291", + "s" : [ { + "value" : [ "'foo bar'" ] + } ] + }, { + "value" : [ " ", "~", " " ] + }, { + "r" : "293", + "s" : [ { + "value" : [ "'foo\\tbar'" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Equivalent", + "localId" : "290", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "295", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "296", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "Literal", + "localId" : "291", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "foo bar", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "293", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "foo\tbar", + "annotation" : [ ] + } ] + } + }, { + "localId" : "299", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "WhiteSpaceTabReturnTrue", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "299", + "s" : [ { + "value" : [ "", "define ", "WhiteSpaceTabReturnTrue", ": " ] + }, { + "r" : "300", + "s" : [ { + "r" : "301", + "s" : [ { + "value" : [ "'foo\\tbar'" ] + } ] + }, { + "value" : [ " ", "~", " " ] + }, { + "r" : "303", + "s" : [ { + "value" : [ "'foo\\nbar'" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Equivalent", + "localId" : "300", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "305", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "306", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "Literal", + "localId" : "301", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "foo\tbar", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "303", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "foo\nbar", + "annotation" : [ ] + } ] + } + }, { + "localId" : "309", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "WhiteSpaceIncorrectSpaceFalse", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "309", + "s" : [ { + "value" : [ "", "define ", "WhiteSpaceIncorrectSpaceFalse", ": " ] + }, { + "r" : "310", + "s" : [ { + "r" : "311", + "s" : [ { + "value" : [ "'foo bar'" ] + } ] + }, { + "value" : [ " ", "~", " " ] + }, { + "r" : "313", + "s" : [ { + "value" : [ "'foo\\t\\tbar'" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Equivalent", + "localId" : "310", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "315", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "316", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "Literal", + "localId" : "311", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "foo bar", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "313", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "foo\t\tbar", + "annotation" : [ ] + } ] + } + }, { + "localId" : "319", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "WhiteSpaceIncorrectNumberTabsFalse", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "319", + "s" : [ { + "value" : [ "", "define ", "WhiteSpaceIncorrectNumberTabsFalse", ": " ] + }, { + "r" : "320", + "s" : [ { + "r" : "321", + "s" : [ { + "value" : [ "'foo\\t\\tbar'" ] + } ] + }, { + "value" : [ " ", "~" ] + }, { + "r" : "323", + "s" : [ { + "value" : [ "'foo\\tbar'" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Equivalent", + "localId" : "320", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "325", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "326", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "Literal", + "localId" : "321", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "foo\t\tbar", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "323", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "foo\tbar", + "annotation" : [ ] + } ] + } + }, { + "localId" : "329", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "WhiteSpaceNoSpaceFalse", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "329", + "s" : [ { + "value" : [ "", "define ", "WhiteSpaceNoSpaceFalse", ": " ] + }, { + "r" : "330", + "s" : [ { + "r" : "331", + "s" : [ { + "value" : [ "'foo bar'" ] + } ] + }, { + "value" : [ " ", "~", " " ] + }, { + "r" : "333", + "s" : [ { + "value" : [ "'foobar'" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Equivalent", + "localId" : "330", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "335", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "336", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "Literal", + "localId" : "331", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "foo bar", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "333", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "foobar", + "annotation" : [ ] + } ] + } + }, { + "localId" : "339", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "EqRatios", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "339", + "s" : [ { + "value" : [ "", "define ", "EqRatios", ": " ] + }, { + "r" : "340", + "s" : [ { + "r" : "343", + "s" : [ { + "r" : "341", "s" : [ { - "value" : [ "","define ","SameVSIdAndVersion",": " ] - }, { - "r" : "1069", - "s" : [ { - "r" : "1070", - "s" : [ { - "value" : [ "\"Unknown\"" ] - } ] - }, { - "value" : [ " ","~"," " ] - }, { - "r" : "1071", - "s" : [ { - "value" : [ "\"UnknownSame\"" ] - } ] - } ] + "value" : [ "10 ", "'mg'" ] } ] - } - } ], - "expression" : { - "localId" : "1069", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "Equivalent", - "signature" : [ { - "localId" : "1072", - "name" : "{urn:hl7-org:elm-types:r1}ValueSet", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1073", - "name" : "{urn:hl7-org:elm-types:r1}ValueSet", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "1070", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}ValueSet", - "name" : "Unknown", - "preserve" : true, - "type" : "ValueSetRef" - }, { - "localId" : "1071", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}ValueSet", - "name" : "UnknownSame", - "preserve" : true, - "type" : "ValueSetRef" - } ] - } - }, { - "localId" : "1076", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "SameVSCodes", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "1076", + }, { + "value" : [ " : " ] + }, { + "r" : "342", "s" : [ { - "value" : [ "","define ","SameVSCodes",": " ] - }, { - "r" : "1077", - "s" : [ { - "r" : "1078", - "s" : [ { - "value" : [ "\"Known\"" ] - } ] - }, { - "value" : [ " ","~"," " ] - }, { - "r" : "1079", - "s" : [ { - "value" : [ "\"KnownSameCodes\"" ] - } ] - } ] + "value" : [ "2 ", "'dL'" ] + } ] + } ] + }, { + "value" : [ " ", "~", " " ] + }, { + "r" : "346", + "s" : [ { + "r" : "344", + "s" : [ { + "value" : [ "15 ", "'mg'" ] } ] - } - } ], - "expression" : { - "localId" : "1077", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "Equivalent", - "signature" : [ { - "localId" : "1080", - "name" : "{urn:hl7-org:elm-types:r1}ValueSet", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1081", - "name" : "{urn:hl7-org:elm-types:r1}ValueSet", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "1078", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}ValueSet", - "name" : "Known", - "preserve" : true, - "type" : "ValueSetRef" - }, { - "localId" : "1079", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}ValueSet", - "name" : "KnownSameCodes", - "preserve" : true, - "type" : "ValueSetRef" - } ] - } - }, { - "localId" : "1084", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "DiffVSCodes", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "1084", + }, { + "value" : [ " : " ] + }, { + "r" : "345", "s" : [ { - "value" : [ "","define ","DiffVSCodes",": " ] - }, { - "r" : "1085", - "s" : [ { - "r" : "1086", - "s" : [ { - "value" : [ "\"Known\"" ] - } ] - }, { - "value" : [ " ","~"," " ] - }, { - "r" : "1087", - "s" : [ { - "value" : [ "\"KnownDifferentCodes\"" ] - } ] - } ] + "value" : [ "3 ", "'dL'" ] } ] - } - } ], - "expression" : { - "localId" : "1085", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "Equivalent", - "signature" : [ { - "localId" : "1088", - "name" : "{urn:hl7-org:elm-types:r1}ValueSet", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1089", - "name" : "{urn:hl7-org:elm-types:r1}ValueSet", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "1086", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}ValueSet", - "name" : "Known", - "preserve" : true, - "type" : "ValueSetRef" - }, { - "localId" : "1087", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}ValueSet", - "name" : "KnownDifferentCodes", - "preserve" : true, - "type" : "ValueSetRef" - } ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Equivalent", + "localId" : "340", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "347", + "name" : "{urn:hl7-org:elm-types:r1}Ratio", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "348", + "name" : "{urn:hl7-org:elm-types:r1}Ratio", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "Ratio", + "localId" : "343", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Ratio", + "annotation" : [ ], + "numerator" : { + "localId" : "341", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "value" : 10, + "unit" : "mg", + "annotation" : [ ] + }, + "denominator" : { + "localId" : "342", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "value" : 2, + "unit" : "dL", + "annotation" : [ ] } - }, { - "localId" : "1092", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "UnresolvableDiffVS", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "1092", + }, { + "type" : "Ratio", + "localId" : "346", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Ratio", + "annotation" : [ ], + "numerator" : { + "localId" : "344", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "value" : 15, + "unit" : "mg", + "annotation" : [ ] + }, + "denominator" : { + "localId" : "345", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "value" : 3, + "unit" : "dL", + "annotation" : [ ] + } + } ] + } + }, { + "localId" : "351", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "UneqRatios", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "351", + "s" : [ { + "value" : [ "", "define ", "UneqRatios", ": " ] + }, { + "r" : "352", + "s" : [ { + "r" : "355", + "s" : [ { + "r" : "353", "s" : [ { - "value" : [ "","define ","UnresolvableDiffVS",": " ] - }, { - "r" : "1093", - "s" : [ { - "r" : "1094", - "s" : [ { - "value" : [ "\"Known\"" ] - } ] - }, { - "value" : [ " ","~"," " ] - }, { - "r" : "1095", - "s" : [ { - "value" : [ "\"Unknown\"" ] - } ] - } ] + "value" : [ "10 ", "'mg'" ] } ] - } - } ], - "expression" : { - "localId" : "1093", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "Equivalent", - "signature" : [ { - "localId" : "1096", - "name" : "{urn:hl7-org:elm-types:r1}ValueSet", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1097", - "name" : "{urn:hl7-org:elm-types:r1}ValueSet", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "1094", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}ValueSet", - "name" : "Known", - "preserve" : true, - "type" : "ValueSetRef" - }, { - "localId" : "1095", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}ValueSet", - "name" : "Unknown", - "preserve" : true, - "type" : "ValueSetRef" - } ] - } - }, { - "localId" : "1100", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "EqDateTimes", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "1100", + }, { + "value" : [ " : " ] + }, { + "r" : "354", "s" : [ { - "value" : [ "","define ","EqDateTimes",": " ] - }, { - "r" : "1101", - "s" : [ { - "r" : "1120", - "s" : [ { - "r" : "1102", - "value" : [ "DateTime","(","2000",", ","3",", ","15",", ","13",", ","30",", ","25",", ","200",", " ] - }, { - "r" : "1109", - "s" : [ { - "r" : "1109", - "value" : [ "+","1.0" ] - } ] - }, { - "value" : [ ")" ] - } ] - }, { - "value" : [ " ","~"," " ] - }, { - "r" : "1147", - "s" : [ { - "r" : "1129", - "value" : [ "DateTime","(","2000",", ","3",", ","15",", ","13",", ","30",", ","25",", ","200",", " ] - }, { - "r" : "1136", - "s" : [ { - "r" : "1136", - "value" : [ "+","1.0" ] - } ] - }, { - "value" : [ ")" ] - } ] - } ] + "value" : [ "2 ", "'dL'" ] + } ] + } ] + }, { + "value" : [ " ", "~", " " ] + }, { + "r" : "358", + "s" : [ { + "r" : "356", + "s" : [ { + "value" : [ "15 ", "'mg'" ] } ] - } - } ], - "expression" : { - "localId" : "1101", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "Equivalent", - "signature" : [ { - "localId" : "1156", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1157", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "1120", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "1121", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1122", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1123", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1124", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1125", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1126", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1127", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1128", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1102", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "1103", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "1104", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal" - }, - "hour" : { - "localId" : "1105", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "13", - "type" : "Literal" - }, - "minute" : { - "localId" : "1106", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "30", - "type" : "Literal" - }, - "second" : { - "localId" : "1107", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "25", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "1108", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "200", - "type" : "Literal" - }, - "timezoneOffset" : { - "localId" : "1109", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "1.0", - "type" : "Literal" - } - }, { - "localId" : "1147", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "1148", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1149", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1150", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1151", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1152", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1153", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1154", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1155", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1129", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "1130", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "1131", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal" - }, - "hour" : { - "localId" : "1132", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "13", - "type" : "Literal" - }, - "minute" : { - "localId" : "1133", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "30", - "type" : "Literal" - }, - "second" : { - "localId" : "1134", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "25", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "1135", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "200", - "type" : "Literal" - }, - "timezoneOffset" : { - "localId" : "1136", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "1.0", - "type" : "Literal" - } - } ] - } - }, { - "localId" : "1160", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "UneqDateTimes", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "1160", + }, { + "value" : [ " : " ] + }, { + "r" : "357", "s" : [ { - "value" : [ "","define ","UneqDateTimes",": " ] - }, { - "r" : "1161", - "s" : [ { - "r" : "1180", - "s" : [ { - "r" : "1162", - "value" : [ "DateTime","(","2000",", ","3",", ","15",", ","13",", ","30",", ","25",", ","200",", " ] - }, { - "r" : "1169", - "s" : [ { - "r" : "1169", - "value" : [ "+","1.0" ] - } ] - }, { - "value" : [ ")" ] - } ] - }, { - "value" : [ " ","~"," " ] - }, { - "r" : "1207", - "s" : [ { - "r" : "1189", - "value" : [ "DateTime","(","2000",", ","3",", ","15",", ","13",", ","30",", ","25",", ","201",", " ] - }, { - "r" : "1196", - "s" : [ { - "r" : "1196", - "value" : [ "+","1.0" ] - } ] - }, { - "value" : [ ")" ] - } ] - } ] + "value" : [ "4 ", "'dL'" ] } ] - } - } ], - "expression" : { - "localId" : "1161", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "Equivalent", - "signature" : [ { - "localId" : "1216", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1217", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "1180", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "1181", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1182", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1183", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1184", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1185", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1186", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1187", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1188", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1162", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "1163", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "1164", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal" - }, - "hour" : { - "localId" : "1165", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "13", - "type" : "Literal" - }, - "minute" : { - "localId" : "1166", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "30", - "type" : "Literal" - }, - "second" : { - "localId" : "1167", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "25", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "1168", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "200", - "type" : "Literal" - }, - "timezoneOffset" : { - "localId" : "1169", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "1.0", - "type" : "Literal" - } - }, { - "localId" : "1207", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "1208", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1209", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1210", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1211", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1212", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1213", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1214", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1215", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1189", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "1190", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "1191", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal" - }, - "hour" : { - "localId" : "1192", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "13", - "type" : "Literal" - }, - "minute" : { - "localId" : "1193", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "30", - "type" : "Literal" - }, - "second" : { - "localId" : "1194", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "25", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "1195", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "201", - "type" : "Literal" - }, - "timezoneOffset" : { - "localId" : "1196", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "1.0", - "type" : "Literal" - } - } ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Equivalent", + "localId" : "352", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "359", + "name" : "{urn:hl7-org:elm-types:r1}Ratio", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "360", + "name" : "{urn:hl7-org:elm-types:r1}Ratio", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "Ratio", + "localId" : "355", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Ratio", + "annotation" : [ ], + "numerator" : { + "localId" : "353", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "value" : 10, + "unit" : "mg", + "annotation" : [ ] + }, + "denominator" : { + "localId" : "354", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "value" : 2, + "unit" : "dL", + "annotation" : [ ] } - }, { - "localId" : "1220", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "EqDateTimesTZ", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "1220", + }, { + "type" : "Ratio", + "localId" : "358", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Ratio", + "annotation" : [ ], + "numerator" : { + "localId" : "356", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "value" : 15, + "unit" : "mg", + "annotation" : [ ] + }, + "denominator" : { + "localId" : "357", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "value" : 4, + "unit" : "dL", + "annotation" : [ ] + } + } ] + } + }, { + "localId" : "363", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "UneqRatioTypes", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "363", + "s" : [ { + "value" : [ "", "define ", "UneqRatioTypes", ": " ] + }, { + "r" : "364", + "s" : [ { + "r" : "367", + "s" : [ { + "r" : "365", "s" : [ { - "value" : [ "","define ","EqDateTimesTZ",": " ] - }, { - "r" : "1221", - "s" : [ { - "r" : "1240", - "s" : [ { - "r" : "1222", - "value" : [ "DateTime","(","2000",", ","3",", ","15",", ","23",", ","30",", ","25",", ","200",", " ] - }, { - "r" : "1229", - "s" : [ { - "r" : "1229", - "value" : [ "+","1.0" ] - } ] - }, { - "value" : [ ")" ] - } ] - }, { - "value" : [ " ","~"," " ] - }, { - "r" : "1267", - "s" : [ { - "r" : "1249", - "value" : [ "DateTime","(","2000",", ","3",", ","16",", ","2",", ","30",", ","25",", ","200",", " ] - }, { - "r" : "1256", - "s" : [ { - "r" : "1256", - "value" : [ "+","4.0" ] - } ] - }, { - "value" : [ ")" ] - } ] - } ] + "value" : [ "10 ", "'mg'" ] } ] - } - } ], - "expression" : { - "localId" : "1221", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "Equivalent", - "signature" : [ { - "localId" : "1276", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1277", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "1240", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "1241", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1242", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1243", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1244", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1245", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1246", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1247", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1248", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1222", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "1223", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "1224", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal" - }, - "hour" : { - "localId" : "1225", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "23", - "type" : "Literal" - }, - "minute" : { - "localId" : "1226", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "30", - "type" : "Literal" - }, - "second" : { - "localId" : "1227", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "25", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "1228", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "200", - "type" : "Literal" - }, - "timezoneOffset" : { - "localId" : "1229", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "1.0", - "type" : "Literal" - } - }, { - "localId" : "1267", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "1268", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1269", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1270", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1271", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1272", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1273", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1274", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1275", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1249", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "1250", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "1251", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "16", - "type" : "Literal" - }, - "hour" : { - "localId" : "1252", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal" - }, - "minute" : { - "localId" : "1253", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "30", - "type" : "Literal" - }, - "second" : { - "localId" : "1254", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "25", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "1255", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "200", - "type" : "Literal" - }, - "timezoneOffset" : { - "localId" : "1256", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "4.0", - "type" : "Literal" - } - } ] + }, { + "value" : [ " : " ] + }, { + "r" : "366", + "s" : [ { + "value" : [ "2 ", "'dL'" ] + } ] + } ] + }, { + "value" : [ " ", "~", " " ] + }, { + "r" : "382", + "s" : [ { + "r" : "368", + "value" : [ "DateTime", "(", "2000", ", ", "3", ", ", "13", ", ", "2", ", ", "4", ", ", "23", ")" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Equivalent", + "localId" : "364", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "ListTypeSpecifier", + "localId" : "391", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "392", + "name" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] } - }, { - "localId" : "1280", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "UneqDateTimesTZ", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "1280", + }, { + "type" : "ListTypeSpecifier", + "localId" : "393", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "394", + "name" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "ToList", + "localId" : "389", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Ratio", + "localId" : "367", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Ratio", + "annotation" : [ ], + "numerator" : { + "localId" : "365", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "value" : 10, + "unit" : "mg", + "annotation" : [ ] + }, + "denominator" : { + "localId" : "366", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "value" : 2, + "unit" : "dL", + "annotation" : [ ] + } + } + }, { + "type" : "ToList", + "localId" : "390", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "DateTime", + "localId" : "382", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "383", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "384", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "385", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "386", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "387", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "388", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "368", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "369", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "370", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "13", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "371", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "372", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "4", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "373", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "23", + "annotation" : [ ] + } + } + } ] + } + }, { + "localId" : "397", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "SameTuples", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "397", + "s" : [ { + "value" : [ "// define EmptyTuples: { : } ~ { : } // TODO: We don't seem to support this format\n", "define ", "SameTuples", ": " ] + }, { + "r" : "398", + "s" : [ { + "r" : "399", + "s" : [ { + "value" : [ "Tuple{" ] + }, { "s" : [ { - "value" : [ "","define ","UneqDateTimesTZ",": " ] + "value" : [ "a", ": " ] }, { - "r" : "1281", - "s" : [ { - "r" : "1300", - "s" : [ { - "r" : "1282", - "value" : [ "DateTime","(","2000",", ","3",", ","15",", ","13",", ","30",", ","25",", ","200",", " ] - }, { - "r" : "1289", - "s" : [ { - "r" : "1289", - "value" : [ "+","1.0" ] - } ] - }, { - "value" : [ ")" ] - } ] - }, { - "value" : [ " ","~"," " ] - }, { - "r" : "1327", - "s" : [ { - "r" : "1309", - "value" : [ "DateTime","(","2000",", ","3",", ","15",", ","13",", ","30",", ","25",", ","200",", " ] - }, { - "r" : "1316", - "s" : [ { - "r" : "1316", - "value" : [ "+","2.0" ] - } ] - }, { - "value" : [ ")" ] - } ] - } ] + "r" : "400", + "s" : [ { + "value" : [ "'a'" ] + } ] } ] - } - } ], - "expression" : { - "localId" : "1281", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "Equivalent", - "signature" : [ { - "localId" : "1336", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1337", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "1300", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "1301", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1302", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1303", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1304", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1305", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1306", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1307", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1308", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1282", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "1283", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "1284", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal" - }, - "hour" : { - "localId" : "1285", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "13", - "type" : "Literal" - }, - "minute" : { - "localId" : "1286", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "30", - "type" : "Literal" - }, - "second" : { - "localId" : "1287", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "25", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "1288", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "200", - "type" : "Literal" - }, - "timezoneOffset" : { - "localId" : "1289", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "1.0", - "type" : "Literal" - } - }, { - "localId" : "1327", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "1328", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1329", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1330", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1331", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1332", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1333", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1334", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1335", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1309", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "1310", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "1311", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal" - }, - "hour" : { - "localId" : "1312", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "13", - "type" : "Literal" - }, - "minute" : { - "localId" : "1313", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "30", - "type" : "Literal" - }, - "second" : { - "localId" : "1314", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "25", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "1315", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "200", - "type" : "Literal" - }, - "timezoneOffset" : { - "localId" : "1316", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "2.0", - "type" : "Literal" - } - } ] - } - }, { - "localId" : "1340", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "EqDateTimesNullMs", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "1340", + }, { + "value" : [ ", " ] + }, { + "s" : [ { + "value" : [ "b", ": " ] + }, { + "r" : "402", + "s" : [ { + "value" : [ "'b'" ] + } ] + } ] + }, { + "value" : [ "}" ] + } ] + }, { + "value" : [ " ", "~", " " ] + }, { + "r" : "409", + "s" : [ { + "value" : [ "Tuple{" ] + }, { "s" : [ { - "value" : [ "","define ","EqDateTimesNullMs",": " ] + "value" : [ "a", ": " ] }, { - "r" : "1341", - "s" : [ { - "r" : "1358", - "s" : [ { - "r" : "1342", - "value" : [ "DateTime","(","2000",", ","3",", ","15",", ","13",", ","30",", ","25",", ","0",")" ] - } ] - }, { - "value" : [ " ","~"," " ] - }, { - "r" : "1380", - "s" : [ { - "r" : "1366", - "value" : [ "DateTime","(","2000",", ","3",", ","15",", ","13",", ","30",", ","25",")" ] - } ] - } ] + "r" : "410", + "s" : [ { + "value" : [ "'a'" ] + } ] } ] - } - } ], - "expression" : { - "localId" : "1341", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "Equivalent", - "signature" : [ { - "localId" : "1387", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1388", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "1358", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "1359", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1360", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1361", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1362", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1363", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1364", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1365", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1342", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "1343", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "1344", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal" - }, - "hour" : { - "localId" : "1345", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "13", - "type" : "Literal" - }, - "minute" : { - "localId" : "1346", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "30", - "type" : "Literal" - }, - "second" : { - "localId" : "1347", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "25", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "1348", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - }, { - "localId" : "1380", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "1381", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1382", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1383", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1384", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1385", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1386", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1366", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "1367", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "1368", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal" - }, - "hour" : { - "localId" : "1369", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "13", - "type" : "Literal" - }, - "minute" : { - "localId" : "1370", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "30", - "type" : "Literal" - }, - "second" : { - "localId" : "1371", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "25", - "type" : "Literal" - } - } ] - } - }, { - "localId" : "1391", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "EqDateTimesNullOtherMs", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "1391", + }, { + "value" : [ ", " ] + }, { "s" : [ { - "value" : [ "","define ","EqDateTimesNullOtherMs",": " ] + "value" : [ "b", ": " ] }, { - "r" : "1392", - "s" : [ { - "r" : "1407", - "s" : [ { - "r" : "1393", - "value" : [ "DateTime","(","2000",", ","3",", ","15",", ","13",", ","30",", ","25",")" ] - } ] - }, { - "value" : [ " ","~"," " ] - }, { - "r" : "1430", - "s" : [ { - "r" : "1414", - "value" : [ "DateTime","(","2000",", ","3",", ","15",", ","13",", ","30",", ","25",", ","0",")" ] - } ] - } ] + "r" : "412", + "s" : [ { + "value" : [ "'b'" ] + } ] } ] - } - } ], - "expression" : { - "localId" : "1392", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "Equivalent", - "signature" : [ { - "localId" : "1438", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1439", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "1407", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "1408", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1409", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1410", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1411", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1412", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1413", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1393", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "1394", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "1395", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal" - }, - "hour" : { - "localId" : "1396", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "13", - "type" : "Literal" - }, - "minute" : { - "localId" : "1397", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "30", - "type" : "Literal" - }, - "second" : { - "localId" : "1398", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "25", - "type" : "Literal" - } - }, { - "localId" : "1430", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "1431", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1432", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1433", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1434", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1435", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1436", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1437", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1414", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "1415", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "1416", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal" - }, - "hour" : { - "localId" : "1417", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "13", - "type" : "Literal" - }, - "minute" : { - "localId" : "1418", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "30", - "type" : "Literal" - }, - "second" : { - "localId" : "1419", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "25", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "1420", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - } ] - } - }, { - "localId" : "1442", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "EqDateTimesOnlyDate", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "1442", + }, { + "value" : [ "}" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Equivalent", + "localId" : "398", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "TupleTypeSpecifier", + "localId" : "419", + "annotation" : [ ], + "element" : [ { + "localId" : "420", + "name" : "a", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "421", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } + }, { + "localId" : "422", + "name" : "b", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "423", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } + } ] + }, { + "type" : "TupleTypeSpecifier", + "localId" : "424", + "annotation" : [ ], + "element" : [ { + "localId" : "425", + "name" : "a", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "426", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } + }, { + "localId" : "427", + "name" : "b", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "428", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } + } ] + } ], + "operand" : [ { + "type" : "Tuple", + "localId" : "399", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "TupleTypeSpecifier", + "localId" : "404", + "annotation" : [ ], + "element" : [ { + "localId" : "405", + "name" : "a", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "406", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } + }, { + "localId" : "407", + "name" : "b", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "408", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } + } ] + }, + "element" : [ { + "name" : "a", + "value" : { + "type" : "Literal", + "localId" : "400", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "a", + "annotation" : [ ] + } + }, { + "name" : "b", + "value" : { + "type" : "Literal", + "localId" : "402", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "b", + "annotation" : [ ] + } + } ] + }, { + "type" : "Tuple", + "localId" : "409", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "TupleTypeSpecifier", + "localId" : "414", + "annotation" : [ ], + "element" : [ { + "localId" : "415", + "name" : "a", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "416", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } + }, { + "localId" : "417", + "name" : "b", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "418", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } + } ] + }, + "element" : [ { + "name" : "a", + "value" : { + "type" : "Literal", + "localId" : "410", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "a", + "annotation" : [ ] + } + }, { + "name" : "b", + "value" : { + "type" : "Literal", + "localId" : "412", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "b", + "annotation" : [ ] + } + } ] + } ] + } + }, { + "localId" : "431", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "SameTuplesNull", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "431", + "s" : [ { + "value" : [ "", "define ", "SameTuplesNull", ": " ] + }, { + "r" : "432", + "s" : [ { + "r" : "433", + "s" : [ { + "value" : [ "Tuple{" ] + }, { + "s" : [ { + "r" : "434", + "value" : [ "a", ": ", "null" ] + } ] + }, { + "value" : [ "}" ] + } ] + }, { + "value" : [ " ", "~", " " ] + }, { + "r" : "438", + "s" : [ { + "value" : [ "Tuple{" ] + }, { + "s" : [ { + "r" : "439", + "value" : [ "a", " : ", "null" ] + } ] + }, { + "value" : [ "}" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Equivalent", + "localId" : "432", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "TupleTypeSpecifier", + "localId" : "443", + "annotation" : [ ], + "element" : [ { + "localId" : "444", + "name" : "a", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "445", + "name" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } + } ] + }, { + "type" : "TupleTypeSpecifier", + "localId" : "446", + "annotation" : [ ], + "element" : [ { + "localId" : "447", + "name" : "a", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "448", + "name" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } + } ] + } ], + "operand" : [ { + "type" : "Tuple", + "localId" : "433", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "TupleTypeSpecifier", + "localId" : "435", + "annotation" : [ ], + "element" : [ { + "localId" : "436", + "name" : "a", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "437", + "name" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } + } ] + }, + "element" : [ { + "name" : "a", + "value" : { + "type" : "Null", + "localId" : "434", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } + } ] + }, { + "type" : "Tuple", + "localId" : "438", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "TupleTypeSpecifier", + "localId" : "440", + "annotation" : [ ], + "element" : [ { + "localId" : "441", + "name" : "a", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "442", + "name" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } + } ] + }, + "element" : [ { + "name" : "a", + "value" : { + "type" : "Null", + "localId" : "439", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } + } ] + } ] + } + }, { + "localId" : "451", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "DifferentTuples", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "451", + "s" : [ { + "value" : [ "", "define ", "DifferentTuples", ": " ] + }, { + "r" : "452", + "s" : [ { + "r" : "453", + "s" : [ { + "value" : [ "Tuple{" ] + }, { "s" : [ { - "value" : [ "","define ","EqDateTimesOnlyDate",": " ] + "value" : [ "a", ": " ] }, { - "r" : "1443", - "s" : [ { - "r" : "1452", - "s" : [ { - "r" : "1444", - "value" : [ "DateTime","(","2000",", ","3",", ","15",")" ] - } ] - }, { - "value" : [ " ","~"," " ] - }, { - "r" : "1464", - "s" : [ { - "r" : "1456", - "value" : [ "DateTime","(","2000",", ","3",", ","15",")" ] - } ] - } ] + "r" : "454", + "s" : [ { + "value" : [ "'a'" ] + } ] } ] - } - } ], - "expression" : { - "localId" : "1443", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "Equivalent", - "signature" : [ { - "localId" : "1468", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1469", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "1452", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "1453", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" + }, { + "value" : [ ", " ] + }, { + "s" : [ { + "value" : [ "b", ": " ] + }, { + "r" : "456", + "s" : [ { + "value" : [ "'b'" ] + } ] + } ] + }, { + "value" : [ "}" ] + } ] + }, { + "value" : [ " ", "~", " " ] + }, { + "r" : "463", + "s" : [ { + "value" : [ "Tuple{" ] + }, { + "s" : [ { + "value" : [ "a", ": " ] }, { - "localId" : "1454", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" + "r" : "464", + "s" : [ { + "value" : [ "'x'" ] + } ] + } ] + }, { + "value" : [ ", " ] + }, { + "s" : [ { + "value" : [ "b", ": " ] }, { - "localId" : "1455", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1444", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "1445", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "1446", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal" - } - }, { - "localId" : "1464", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "1465", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" + "r" : "466", + "s" : [ { + "value" : [ "'b'" ] + } ] + } ] + }, { + "value" : [ "}" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Equivalent", + "localId" : "452", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "TupleTypeSpecifier", + "localId" : "473", + "annotation" : [ ], + "element" : [ { + "localId" : "474", + "name" : "a", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "475", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } + }, { + "localId" : "476", + "name" : "b", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "477", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } + } ] + }, { + "type" : "TupleTypeSpecifier", + "localId" : "478", + "annotation" : [ ], + "element" : [ { + "localId" : "479", + "name" : "a", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "480", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } + }, { + "localId" : "481", + "name" : "b", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "482", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } + } ] + } ], + "operand" : [ { + "type" : "Tuple", + "localId" : "453", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "TupleTypeSpecifier", + "localId" : "458", + "annotation" : [ ], + "element" : [ { + "localId" : "459", + "name" : "a", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "460", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } + }, { + "localId" : "461", + "name" : "b", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "462", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } + } ] + }, + "element" : [ { + "name" : "a", + "value" : { + "type" : "Literal", + "localId" : "454", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "a", + "annotation" : [ ] + } + }, { + "name" : "b", + "value" : { + "type" : "Literal", + "localId" : "456", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "b", + "annotation" : [ ] + } + } ] + }, { + "type" : "Tuple", + "localId" : "463", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "TupleTypeSpecifier", + "localId" : "468", + "annotation" : [ ], + "element" : [ { + "localId" : "469", + "name" : "a", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "470", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } + }, { + "localId" : "471", + "name" : "b", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "472", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } + } ] + }, + "element" : [ { + "name" : "a", + "value" : { + "type" : "Literal", + "localId" : "464", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "x", + "annotation" : [ ] + } + }, { + "name" : "b", + "value" : { + "type" : "Literal", + "localId" : "466", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "b", + "annotation" : [ ] + } + } ] + } ] + } + }, { + "localId" : "485", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "SameNestedTuples", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "485", + "s" : [ { + "value" : [ "", "define ", "SameNestedTuples", ": " ] + }, { + "r" : "486", + "s" : [ { + "r" : "487", + "s" : [ { + "value" : [ "Tuple{" ] + }, { + "s" : [ { + "value" : [ "a", ": " ] }, { - "localId" : "1466", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" + "r" : "488", + "s" : [ { + "value" : [ "'a'" ] + } ] + } ] + }, { + "value" : [ ", " ] + }, { + "s" : [ { + "value" : [ "b", ": " ] + }, { + "r" : "490", + "s" : [ { + "value" : [ "Tuple{" ] + }, { + "s" : [ { + "value" : [ "c", ": " ] + }, { + "r" : "491", + "s" : [ { + "value" : [ "'c'" ] + } ] + } ] + }, { + "value" : [ "}" ] + } ] + } ] + }, { + "value" : [ "}" ] + } ] + }, { + "value" : [ " ", "~", " " ] + }, { + "r" : "503", + "s" : [ { + "value" : [ "Tuple{" ] + }, { + "s" : [ { + "value" : [ "a", ": " ] }, { - "localId" : "1467", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1456", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "1457", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "1458", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal" + "r" : "504", + "s" : [ { + "value" : [ "'a'" ] + } ] + } ] + }, { + "value" : [ ", " ] + }, { + "s" : [ { + "value" : [ "b", ": " ] + }, { + "r" : "506", + "s" : [ { + "value" : [ "Tuple{" ] + }, { + "s" : [ { + "value" : [ "c", ": " ] + }, { + "r" : "507", + "s" : [ { + "value" : [ "'c'" ] + } ] + } ] + }, { + "value" : [ "}" ] + } ] + } ] + }, { + "value" : [ "}" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Equivalent", + "localId" : "486", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "TupleTypeSpecifier", + "localId" : "519", + "annotation" : [ ], + "element" : [ { + "localId" : "520", + "name" : "a", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "521", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } + }, { + "localId" : "522", + "name" : "b", + "annotation" : [ ], + "elementType" : { + "type" : "TupleTypeSpecifier", + "localId" : "523", + "annotation" : [ ], + "element" : [ { + "localId" : "524", + "name" : "c", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "525", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] } - } ] - } - }, { - "localId" : "1472", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "UneqDateTimesOnlyDate", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "1472", + } ] + } + } ] + }, { + "type" : "TupleTypeSpecifier", + "localId" : "526", + "annotation" : [ ], + "element" : [ { + "localId" : "527", + "name" : "a", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "528", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } + }, { + "localId" : "529", + "name" : "b", + "annotation" : [ ], + "elementType" : { + "type" : "TupleTypeSpecifier", + "localId" : "530", + "annotation" : [ ], + "element" : [ { + "localId" : "531", + "name" : "c", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "532", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } + } ] + } + } ] + } ], + "operand" : [ { + "type" : "Tuple", + "localId" : "487", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "TupleTypeSpecifier", + "localId" : "496", + "annotation" : [ ], + "element" : [ { + "localId" : "497", + "name" : "a", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "498", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } + }, { + "localId" : "499", + "name" : "b", + "annotation" : [ ], + "elementType" : { + "type" : "TupleTypeSpecifier", + "localId" : "500", + "annotation" : [ ], + "element" : [ { + "localId" : "501", + "name" : "c", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "502", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } + } ] + } + } ] + }, + "element" : [ { + "name" : "a", + "value" : { + "type" : "Literal", + "localId" : "488", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "a", + "annotation" : [ ] + } + }, { + "name" : "b", + "value" : { + "type" : "Tuple", + "localId" : "490", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "TupleTypeSpecifier", + "localId" : "493", + "annotation" : [ ], + "element" : [ { + "localId" : "494", + "name" : "c", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "495", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } + } ] + }, + "element" : [ { + "name" : "c", + "value" : { + "type" : "Literal", + "localId" : "491", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "c", + "annotation" : [ ] + } + } ] + } + } ] + }, { + "type" : "Tuple", + "localId" : "503", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "TupleTypeSpecifier", + "localId" : "512", + "annotation" : [ ], + "element" : [ { + "localId" : "513", + "name" : "a", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "514", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } + }, { + "localId" : "515", + "name" : "b", + "annotation" : [ ], + "elementType" : { + "type" : "TupleTypeSpecifier", + "localId" : "516", + "annotation" : [ ], + "element" : [ { + "localId" : "517", + "name" : "c", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "518", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } + } ] + } + } ] + }, + "element" : [ { + "name" : "a", + "value" : { + "type" : "Literal", + "localId" : "504", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "a", + "annotation" : [ ] + } + }, { + "name" : "b", + "value" : { + "type" : "Tuple", + "localId" : "506", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "TupleTypeSpecifier", + "localId" : "509", + "annotation" : [ ], + "element" : [ { + "localId" : "510", + "name" : "c", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "511", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } + } ] + }, + "element" : [ { + "name" : "c", + "value" : { + "type" : "Literal", + "localId" : "507", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "c", + "annotation" : [ ] + } + } ] + } + } ] + } ] + } + }, { + "localId" : "535", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "SameNestedTuplesNull", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "535", + "s" : [ { + "value" : [ "", "define ", "SameNestedTuplesNull", ": " ] + }, { + "r" : "536", + "s" : [ { + "r" : "537", + "s" : [ { + "value" : [ "Tuple{" ] + }, { "s" : [ { - "value" : [ "","define ","UneqDateTimesOnlyDate",": " ] + "value" : [ "a", ": " ] }, { - "r" : "1473", - "s" : [ { - "r" : "1482", - "s" : [ { - "r" : "1474", - "value" : [ "DateTime","(","2000",", ","3",", ","14",")" ] - } ] - }, { - "value" : [ " ","~"," " ] - }, { - "r" : "1494", - "s" : [ { - "r" : "1486", - "value" : [ "DateTime","(","2000",", ","3",", ","15",")" ] - } ] - } ] + "r" : "538", + "s" : [ { + "value" : [ "'a'" ] + } ] } ] - } - } ], - "expression" : { - "localId" : "1473", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "Equivalent", - "signature" : [ { - "localId" : "1498", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1499", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "1482", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "1483", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1484", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" + }, { + "value" : [ ", " ] + }, { + "s" : [ { + "value" : [ "b", ": " ] + }, { + "r" : "540", + "s" : [ { + "value" : [ "Tuple{" ] + }, { + "s" : [ { + "r" : "541", + "value" : [ "c", ": ", "null" ] + } ] + }, { + "value" : [ "}" ] + } ] + } ] + }, { + "value" : [ "}" ] + } ] + }, { + "value" : [ " ", "~", " " ] + }, { + "r" : "552", + "s" : [ { + "value" : [ "Tuple{" ] + }, { + "s" : [ { + "value" : [ "a", ": " ] }, { - "localId" : "1485", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1474", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "1475", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "1476", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "14", - "type" : "Literal" + "r" : "553", + "s" : [ { + "value" : [ "'a'" ] + } ] + } ] + }, { + "value" : [ ", " ] + }, { + "s" : [ { + "value" : [ "b", ": " ] + }, { + "r" : "555", + "s" : [ { + "value" : [ "Tuple{" ] + }, { + "s" : [ { + "r" : "556", + "value" : [ "c", ": ", "null" ] + } ] + }, { + "value" : [ "}" ] + } ] + } ] + }, { + "value" : [ "}" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Equivalent", + "localId" : "536", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "TupleTypeSpecifier", + "localId" : "567", + "annotation" : [ ], + "element" : [ { + "localId" : "568", + "name" : "a", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "569", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } + }, { + "localId" : "570", + "name" : "b", + "annotation" : [ ], + "elementType" : { + "type" : "TupleTypeSpecifier", + "localId" : "571", + "annotation" : [ ], + "element" : [ { + "localId" : "572", + "name" : "c", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "573", + "name" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] } - }, { - "localId" : "1494", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "1495", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1496", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1497", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1486", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "1487", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "1488", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal" + } ] + } + } ] + }, { + "type" : "TupleTypeSpecifier", + "localId" : "574", + "annotation" : [ ], + "element" : [ { + "localId" : "575", + "name" : "a", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "576", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } + }, { + "localId" : "577", + "name" : "b", + "annotation" : [ ], + "elementType" : { + "type" : "TupleTypeSpecifier", + "localId" : "578", + "annotation" : [ ], + "element" : [ { + "localId" : "579", + "name" : "c", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "580", + "name" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } + } ] + } + } ] + } ], + "operand" : [ { + "type" : "Tuple", + "localId" : "537", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "TupleTypeSpecifier", + "localId" : "545", + "annotation" : [ ], + "element" : [ { + "localId" : "546", + "name" : "a", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "547", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } + }, { + "localId" : "548", + "name" : "b", + "annotation" : [ ], + "elementType" : { + "type" : "TupleTypeSpecifier", + "localId" : "549", + "annotation" : [ ], + "element" : [ { + "localId" : "550", + "name" : "c", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "551", + "name" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } + } ] + } + } ] + }, + "element" : [ { + "name" : "a", + "value" : { + "type" : "Literal", + "localId" : "538", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "a", + "annotation" : [ ] + } + }, { + "name" : "b", + "value" : { + "type" : "Tuple", + "localId" : "540", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "TupleTypeSpecifier", + "localId" : "542", + "annotation" : [ ], + "element" : [ { + "localId" : "543", + "name" : "c", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "544", + "name" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } + } ] + }, + "element" : [ { + "name" : "c", + "value" : { + "type" : "Null", + "localId" : "541", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } + } ] + } + } ] + }, { + "type" : "Tuple", + "localId" : "552", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "TupleTypeSpecifier", + "localId" : "560", + "annotation" : [ ], + "element" : [ { + "localId" : "561", + "name" : "a", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "562", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } + }, { + "localId" : "563", + "name" : "b", + "annotation" : [ ], + "elementType" : { + "type" : "TupleTypeSpecifier", + "localId" : "564", + "annotation" : [ ], + "element" : [ { + "localId" : "565", + "name" : "c", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "566", + "name" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } + } ] + } + } ] + }, + "element" : [ { + "name" : "a", + "value" : { + "type" : "Literal", + "localId" : "553", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "a", + "annotation" : [ ] + } + }, { + "name" : "b", + "value" : { + "type" : "Tuple", + "localId" : "555", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "TupleTypeSpecifier", + "localId" : "557", + "annotation" : [ ], + "element" : [ { + "localId" : "558", + "name" : "c", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "559", + "name" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } + } ] + }, + "element" : [ { + "name" : "c", + "value" : { + "type" : "Null", + "localId" : "556", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] } - } ] + } ] + } + } ] + } ] + } + }, { + "localId" : "583", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "EmptyLists", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "583", + "s" : [ { + "value" : [ "", "define ", "EmptyLists", ": " ] + }, { + "r" : "584", + "s" : [ { + "r" : "585", + "value" : [ "{ }", " ", "~", " ", "{ }" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Equivalent", + "localId" : "584", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "ListTypeSpecifier", + "localId" : "591", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "592", + "name" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] } - }, { - "localId" : "1502", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "PossiblyEqDateTimesOnlyDateOnOne", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "1502", + }, { + "type" : "ListTypeSpecifier", + "localId" : "593", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "594", + "name" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "List", + "localId" : "585", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "586", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "587", + "name" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } + }, + "element" : [ ] + }, { + "type" : "List", + "localId" : "588", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "589", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "590", + "name" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } + }, + "element" : [ ] + } ] + } + }, { + "localId" : "597", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "DifferentTypesLists", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "597", + "s" : [ { + "value" : [ "", "define ", "DifferentTypesLists", ": " ] + }, { + "r" : "598", + "s" : [ { + "r" : "599", + "s" : [ { + "value" : [ "{" ] + }, { + "r" : "600", "s" : [ { - "value" : [ "","define ","PossiblyEqDateTimesOnlyDateOnOne",": " ] - }, { - "r" : "1503", - "s" : [ { - "r" : "1512", - "s" : [ { - "r" : "1504", - "value" : [ "DateTime","(","2000",", ","3",", ","13",")" ] - } ] - }, { - "value" : [ " ","~"," " ] - }, { - "r" : "1530", - "s" : [ { - "r" : "1516", - "value" : [ "DateTime","(","2000",", ","3",", ","13",", ","13",", ","43",", ","32",")" ] - } ] - } ] + "value" : [ "'1'" ] } ] - } - } ], - "expression" : { - "localId" : "1503", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "Equivalent", - "signature" : [ { - "localId" : "1537", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1538", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "1512", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "1513", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1514", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1515", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1504", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "1505", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "1506", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "13", - "type" : "Literal" - } - }, { - "localId" : "1530", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "1531", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1532", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" + }, { + "value" : [ ", " ] + }, { + "r" : "602", + "s" : [ { + "value" : [ "'2'" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "604", + "s" : [ { + "value" : [ "'3'" ] + } ] + }, { + "value" : [ "}" ] + } ] + }, { + "value" : [ " ", "~", " " ] + }, { + "r" : "608", + "s" : [ { + "r" : "609", + "value" : [ "{", "1", ", ", "2", ", ", "3", "}" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Equivalent", + "localId" : "598", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "ListTypeSpecifier", + "localId" : "614", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "615", + "name" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } + }, { + "type" : "ListTypeSpecifier", + "localId" : "616", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "617", + "name" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "List", + "localId" : "599", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "606", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "607", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } + }, + "element" : [ { + "type" : "Literal", + "localId" : "600", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "1", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "602", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "2", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "604", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "3", + "annotation" : [ ] + } ] + }, { + "type" : "List", + "localId" : "608", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "612", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "613", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "element" : [ { + "type" : "Literal", + "localId" : "609", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "610", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "611", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + } ] + } ] + } + }, { + "localId" : "620", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "DifferentLengthLists", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "620", + "s" : [ { + "value" : [ "", "define ", "DifferentLengthLists", ": " ] + }, { + "r" : "621", + "s" : [ { + "r" : "622", + "s" : [ { + "value" : [ "{" ] + }, { + "r" : "623", + "s" : [ { + "value" : [ "'a'" ] + } ] + }, { + "value" : [ "}" ] + } ] + }, { + "value" : [ " ", "~", " " ] + }, { + "r" : "627", + "s" : [ { + "value" : [ "{" ] + }, { + "r" : "628", + "s" : [ { + "value" : [ "'a'" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "630", + "s" : [ { + "value" : [ "'a'" ] + } ] + }, { + "value" : [ "}" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Equivalent", + "localId" : "621", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "ListTypeSpecifier", + "localId" : "634", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "635", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } + }, { + "type" : "ListTypeSpecifier", + "localId" : "636", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "637", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "List", + "localId" : "622", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "625", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "626", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } + }, + "element" : [ { + "type" : "Literal", + "localId" : "623", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "a", + "annotation" : [ ] + } ] + }, { + "type" : "List", + "localId" : "627", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "632", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "633", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } + }, + "element" : [ { + "type" : "Literal", + "localId" : "628", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "a", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "630", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "a", + "annotation" : [ ] + } ] + } ] + } + }, { + "localId" : "640", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "DifferentOrderLists", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "640", + "s" : [ { + "value" : [ "", "define ", "DifferentOrderLists", ": " ] + }, { + "r" : "641", + "s" : [ { + "r" : "642", + "s" : [ { + "value" : [ "{" ] + }, { + "r" : "643", + "s" : [ { + "value" : [ "'a'" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "645", + "s" : [ { + "value" : [ "'b'" ] + } ] + }, { + "value" : [ "}" ] + } ] + }, { + "value" : [ " ", "~", " " ] + }, { + "r" : "649", + "s" : [ { + "value" : [ "{" ] + }, { + "r" : "650", + "s" : [ { + "value" : [ "'b'" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "652", + "s" : [ { + "value" : [ "'a'" ] + } ] + }, { + "value" : [ "}" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Equivalent", + "localId" : "641", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "ListTypeSpecifier", + "localId" : "656", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "657", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } + }, { + "type" : "ListTypeSpecifier", + "localId" : "658", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "659", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "List", + "localId" : "642", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "647", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "648", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } + }, + "element" : [ { + "type" : "Literal", + "localId" : "643", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "a", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "645", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "b", + "annotation" : [ ] + } ] + }, { + "type" : "List", + "localId" : "649", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "654", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "655", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } + }, + "element" : [ { + "type" : "Literal", + "localId" : "650", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "b", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "652", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "a", + "annotation" : [ ] + } ] + } ] + } + }, { + "localId" : "662", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "SameLists", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "662", + "s" : [ { + "value" : [ "", "define ", "SameLists", ": " ] + }, { + "r" : "663", + "s" : [ { + "r" : "664", + "s" : [ { + "value" : [ "{" ] + }, { + "r" : "665", + "s" : [ { + "value" : [ "'a'" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "667", + "s" : [ { + "value" : [ "'b'" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "669", + "s" : [ { + "value" : [ "'c'" ] + } ] + }, { + "value" : [ "}" ] + } ] + }, { + "value" : [ " ", "~", " " ] + }, { + "r" : "673", + "s" : [ { + "value" : [ "{" ] + }, { + "r" : "674", + "s" : [ { + "value" : [ "'a'" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "676", + "s" : [ { + "value" : [ "'b'" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "678", + "s" : [ { + "value" : [ "'c'" ] + } ] + }, { + "value" : [ "}" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Equivalent", + "localId" : "663", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "ListTypeSpecifier", + "localId" : "682", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "683", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } + }, { + "type" : "ListTypeSpecifier", + "localId" : "684", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "685", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "List", + "localId" : "664", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "671", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "672", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } + }, + "element" : [ { + "type" : "Literal", + "localId" : "665", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "a", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "667", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "b", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "669", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "c", + "annotation" : [ ] + } ] + }, { + "type" : "List", + "localId" : "673", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "680", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "681", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } + }, + "element" : [ { + "type" : "Literal", + "localId" : "674", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "a", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "676", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "b", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "678", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "c", + "annotation" : [ ] + } ] + } ] + } + }, { + "localId" : "688", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "SameListsNull", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "688", + "s" : [ { + "value" : [ "", "define ", "SameListsNull", ": " ] + }, { + "r" : "689", + "s" : [ { + "r" : "690", + "s" : [ { + "r" : "691", + "value" : [ "{", "null", ", ", "null", ", ", "null", "}" ] + } ] + }, { + "value" : [ " ", "~", " " ] + }, { + "r" : "696", + "s" : [ { + "r" : "697", + "value" : [ "{", "null", ", ", "null", ", ", "null", "}" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Equivalent", + "localId" : "689", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "ListTypeSpecifier", + "localId" : "702", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "703", + "name" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } + }, { + "type" : "ListTypeSpecifier", + "localId" : "704", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "705", + "name" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "List", + "localId" : "690", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "694", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "695", + "name" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } + }, + "element" : [ { + "type" : "Null", + "localId" : "691", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + }, { + "type" : "Null", + "localId" : "692", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + }, { + "type" : "Null", + "localId" : "693", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } ] + }, { + "type" : "List", + "localId" : "696", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "700", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "701", + "name" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } + }, + "element" : [ { + "type" : "Null", + "localId" : "697", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + }, { + "type" : "Null", + "localId" : "698", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + }, { + "type" : "Null", + "localId" : "699", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } ] + } ] + } + }, { + "localId" : "708", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "SameNestedLists", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "708", + "s" : [ { + "value" : [ "", "define ", "SameNestedLists", ": " ] + }, { + "r" : "709", + "s" : [ { + "r" : "710", + "s" : [ { + "value" : [ "{" ] + }, { + "r" : "711", + "s" : [ { + "value" : [ "{" ] }, { - "localId" : "1533", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" + "r" : "712", + "s" : [ { + "value" : [ "'a'" ] + } ] }, { - "localId" : "1534", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" + "value" : [ "," ] }, { - "localId" : "1535", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" + "r" : "714", + "s" : [ { + "value" : [ "'d'" ] + } ] }, { - "localId" : "1536", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1516", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "1517", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "1518", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "13", - "type" : "Literal" - }, - "hour" : { - "localId" : "1519", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "13", - "type" : "Literal" - }, - "minute" : { - "localId" : "1520", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "43", - "type" : "Literal" - }, - "second" : { - "localId" : "1521", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "32", - "type" : "Literal" - } - } ] - } - }, { - "localId" : "1541", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "UneqDateTimesOnlyDateOnOne", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "1541", + "value" : [ "}" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "718", + "s" : [ { + "value" : [ "{" ] + }, { + "r" : "719", + "s" : [ { + "value" : [ "'b'" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "721", + "s" : [ { + "value" : [ "'c'" ] + } ] + }, { + "value" : [ "}" ] + } ] + }, { + "value" : [ "}" ] + } ] + }, { + "value" : [ " ", "~", " " ] + }, { + "r" : "728", + "s" : [ { + "value" : [ "{" ] + }, { + "r" : "729", "s" : [ { - "value" : [ "","define ","UneqDateTimesOnlyDateOnOne",": " ] + "value" : [ "{" ] }, { - "r" : "1542", - "s" : [ { - "r" : "1557", - "s" : [ { - "r" : "1543", - "value" : [ "DateTime","(","2000",", ","4",", ","13",", ","12",", ","43",", ","32",")" ] - } ] - }, { - "value" : [ " ","~"," " ] - }, { - "r" : "1572", - "s" : [ { - "r" : "1564", - "value" : [ "DateTime","(","2000",", ","3",", ","13",")" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "1542", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "Equivalent", - "signature" : [ { - "localId" : "1576", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1577", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "1557", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "1558", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" + "r" : "730", + "s" : [ { + "value" : [ "'a'" ] + } ] }, { - "localId" : "1559", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" + "value" : [ "," ] }, { - "localId" : "1560", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" + "r" : "732", + "s" : [ { + "value" : [ "'d'" ] + } ] }, { - "localId" : "1561", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" + "value" : [ "}" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "736", + "s" : [ { + "value" : [ "{" ] }, { - "localId" : "1562", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" + "r" : "737", + "s" : [ { + "value" : [ "'b'" ] + } ] }, { - "localId" : "1563", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1543", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "1544", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "4", - "type" : "Literal" - }, - "day" : { - "localId" : "1545", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "13", - "type" : "Literal" - }, - "hour" : { - "localId" : "1546", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "12", - "type" : "Literal" - }, - "minute" : { - "localId" : "1547", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "43", - "type" : "Literal" - }, - "second" : { - "localId" : "1548", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "32", - "type" : "Literal" - } - }, { - "localId" : "1572", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "1573", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" + "value" : [ ", " ] }, { - "localId" : "1574", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" + "r" : "739", + "s" : [ { + "value" : [ "'c'" ] + } ] }, { - "localId" : "1575", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1564", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "1565", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "1566", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "13", - "type" : "Literal" - } - } ] + "value" : [ "}" ] + } ] + }, { + "value" : [ "}" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Equivalent", + "localId" : "709", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "ListTypeSpecifier", + "localId" : "746", + "annotation" : [ ], + "elementType" : { + "type" : "ListTypeSpecifier", + "localId" : "747", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "748", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } + } + }, { + "type" : "ListTypeSpecifier", + "localId" : "749", + "annotation" : [ ], + "elementType" : { + "type" : "ListTypeSpecifier", + "localId" : "750", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "751", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } + } + } ], + "operand" : [ { + "type" : "List", + "localId" : "710", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "725", + "annotation" : [ ], + "elementType" : { + "type" : "ListTypeSpecifier", + "localId" : "726", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "727", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } + } + }, + "element" : [ { + "type" : "List", + "localId" : "711", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "716", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "717", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } + }, + "element" : [ { + "type" : "Literal", + "localId" : "712", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "a", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "714", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "d", + "annotation" : [ ] + } ] + }, { + "type" : "List", + "localId" : "718", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "723", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "724", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } + }, + "element" : [ { + "type" : "Literal", + "localId" : "719", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "b", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "721", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "c", + "annotation" : [ ] + } ] + } ] + }, { + "type" : "List", + "localId" : "728", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "743", + "annotation" : [ ], + "elementType" : { + "type" : "ListTypeSpecifier", + "localId" : "744", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "745", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } + } + }, + "element" : [ { + "type" : "List", + "localId" : "729", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "734", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "735", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } + }, + "element" : [ { + "type" : "Literal", + "localId" : "730", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "a", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "732", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "d", + "annotation" : [ ] + } ] + }, { + "type" : "List", + "localId" : "736", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "741", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "742", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } + }, + "element" : [ { + "type" : "Literal", + "localId" : "737", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "b", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "739", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "c", + "annotation" : [ ] + } ] + } ] + } ] + } + }, { + "localId" : "754", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "SameNestedListsNull", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "754", + "s" : [ { + "value" : [ "", "define ", "SameNestedListsNull", ": " ] + }, { + "r" : "755", + "s" : [ { + "r" : "756", + "s" : [ { + "r" : "757", + "value" : [ "{", "null", ", " ] + }, { + "r" : "758", + "s" : [ { + "r" : "759", + "value" : [ "{", "null", ", ", "null", "}" ] + } ] + }, { + "value" : [ "}" ] + } ] + }, { + "value" : [ " ", "~", " " ] + }, { + "r" : "769", + "s" : [ { + "r" : "770", + "value" : [ "{", "null", ", " ] + }, { + "r" : "771", + "s" : [ { + "r" : "772", + "value" : [ "{", "null", ", ", "null", "}" ] + } ] + }, { + "value" : [ "}" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Equivalent", + "localId" : "755", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "ListTypeSpecifier", + "localId" : "782", + "annotation" : [ ], + "elementType" : { + "type" : "ListTypeSpecifier", + "localId" : "783", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "784", + "name" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } + } + }, { + "type" : "ListTypeSpecifier", + "localId" : "785", + "annotation" : [ ], + "elementType" : { + "type" : "ListTypeSpecifier", + "localId" : "786", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "787", + "name" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } + } + } ], + "operand" : [ { + "type" : "List", + "localId" : "756", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "766", + "annotation" : [ ], + "elementType" : { + "type" : "ListTypeSpecifier", + "localId" : "767", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "768", + "name" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } + } + }, + "element" : [ { + "type" : "As", + "localId" : "763", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Null", + "localId" : "757", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + }, + "asTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "764", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "765", + "name" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } + } + }, { + "type" : "List", + "localId" : "758", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "761", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "762", + "name" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } + }, + "element" : [ { + "type" : "Null", + "localId" : "759", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + }, { + "type" : "Null", + "localId" : "760", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } ] + } ] + }, { + "type" : "List", + "localId" : "769", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "779", + "annotation" : [ ], + "elementType" : { + "type" : "ListTypeSpecifier", + "localId" : "780", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "781", + "name" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } + } + }, + "element" : [ { + "type" : "As", + "localId" : "776", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Null", + "localId" : "770", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + }, + "asTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "777", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "778", + "name" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } + } + }, { + "type" : "List", + "localId" : "771", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "774", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "775", + "name" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } + }, + "element" : [ { + "type" : "Null", + "localId" : "772", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + }, { + "type" : "Null", + "localId" : "773", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } ] + } ] + } ] + } + }, { + "localId" : "790", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "EmptyInterval", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "790", + "s" : [ { + "value" : [ "", "define ", "EmptyInterval", ": " ] + }, { + "r" : "791", + "s" : [ { + "r" : "794", + "s" : [ { + "r" : "792", + "value" : [ "Interval(", "null", ", ", "null", ")" ] + } ] + }, { + "value" : [ " ", "~", " " ] + }, { + "r" : "799", + "s" : [ { + "r" : "797", + "value" : [ "Interval(", "null", ", ", "null", ")" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Equivalent", + "localId" : "791", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "802", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "803", + "name" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "804", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "805", + "name" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "Interval", + "localId" : "794", + "lowClosed" : false, + "highClosed" : false, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "795", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "796", + "name" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } + }, + "low" : { + "type" : "Null", + "localId" : "792", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + }, + "high" : { + "type" : "Null", + "localId" : "793", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } + }, { + "type" : "Interval", + "localId" : "799", + "lowClosed" : false, + "highClosed" : false, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "800", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "801", + "name" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } + }, + "low" : { + "type" : "Null", + "localId" : "797", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + }, + "high" : { + "type" : "Null", + "localId" : "798", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } + } ] + } + }, { + "localId" : "808", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "IntervalDifferentPointTypes", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "808", + "s" : [ { + "value" : [ "", "define ", "IntervalDifferentPointTypes", ": " ] + }, { + "r" : "809", + "s" : [ { + "r" : "812", + "s" : [ { + "r" : "810", + "value" : [ "Interval[", "1", ", ", "5", "]" ] + } ] + }, { + "value" : [ " ", "~", " " ] + }, { + "r" : "819", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "815", + "s" : [ { + "value" : [ "'1'" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "817", + "s" : [ { + "value" : [ "'5'" ] + } ] + }, { + "value" : [ "]" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Equivalent", + "localId" : "809", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "822", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "823", + "name" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "824", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "825", + "name" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "Interval", + "localId" : "812", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "813", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "814", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "low" : { + "type" : "Literal", + "localId" : "810", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "high" : { + "type" : "Literal", + "localId" : "811", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "5", + "annotation" : [ ] + } + }, { + "type" : "Interval", + "localId" : "819", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "820", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "821", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } + }, + "low" : { + "type" : "Literal", + "localId" : "815", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "1", + "annotation" : [ ] + }, + "high" : { + "type" : "Literal", + "localId" : "817", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "5", + "annotation" : [ ] + } + } ] + } + }, { + "localId" : "828", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "IntervalDifferentStarts", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "828", + "s" : [ { + "value" : [ "", "define ", "IntervalDifferentStarts", ": " ] + }, { + "r" : "829", + "s" : [ { + "r" : "832", + "s" : [ { + "r" : "830", + "value" : [ "Interval[", "1", ",", "3", "]" ] + } ] + }, { + "value" : [ " ", "~", " " ] + }, { + "r" : "837", + "s" : [ { + "r" : "835", + "value" : [ "Interval[", "2", ",", "3", "]" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Equivalent", + "localId" : "829", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "840", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "841", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "842", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "843", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "Interval", + "localId" : "832", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "833", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "834", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "low" : { + "type" : "Literal", + "localId" : "830", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "high" : { + "type" : "Literal", + "localId" : "831", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] } - }, { - "localId" : "1580", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "PossiblyEqualDateTimes", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "1580", + }, { + "type" : "Interval", + "localId" : "837", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "838", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "839", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "low" : { + "type" : "Literal", + "localId" : "835", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "annotation" : [ ] + }, + "high" : { + "type" : "Literal", + "localId" : "836", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + } + } ] + } + }, { + "localId" : "846", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "IntervalDifferentEndings", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "846", + "s" : [ { + "value" : [ "", "define ", "IntervalDifferentEndings", ": " ] + }, { + "r" : "847", + "s" : [ { + "r" : "850", + "s" : [ { + "r" : "848", + "value" : [ "Interval[", "1", ",", "3", "]" ] + } ] + }, { + "value" : [ " ", "~", " " ] + }, { + "r" : "855", + "s" : [ { + "r" : "853", + "value" : [ "Interval[", "1", ",", "4", "]" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Equivalent", + "localId" : "847", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "858", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "859", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "860", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "861", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "Interval", + "localId" : "850", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "851", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "852", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "low" : { + "type" : "Literal", + "localId" : "848", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "high" : { + "type" : "Literal", + "localId" : "849", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + } + }, { + "type" : "Interval", + "localId" : "855", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "856", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "857", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "low" : { + "type" : "Literal", + "localId" : "853", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "high" : { + "type" : "Literal", + "localId" : "854", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "4", + "annotation" : [ ] + } + } ] + } + }, { + "localId" : "864", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "SameIntervals", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "864", + "s" : [ { + "value" : [ "", "define ", "SameIntervals", ": " ] + }, { + "r" : "865", + "s" : [ { + "r" : "868", + "s" : [ { + "r" : "866", + "value" : [ "Interval[", "1", ",", "3", "]" ] + } ] + }, { + "value" : [ " ", "~", " " ] + }, { + "r" : "873", + "s" : [ { + "r" : "871", + "value" : [ "Interval[", "1", ",", "3", "]" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Equivalent", + "localId" : "865", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "876", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "877", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "878", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "879", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "Interval", + "localId" : "868", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "869", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "870", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "low" : { + "type" : "Literal", + "localId" : "866", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "high" : { + "type" : "Literal", + "localId" : "867", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + } + }, { + "type" : "Interval", + "localId" : "873", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "874", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "875", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "low" : { + "type" : "Literal", + "localId" : "871", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "high" : { + "type" : "Literal", + "localId" : "872", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + } + } ] + } + }, { + "localId" : "882", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "TupleAndList", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "882", + "s" : [ { + "value" : [ "", "define ", "TupleAndList", ": " ] + }, { + "r" : "883", + "s" : [ { + "r" : "884", + "s" : [ { + "value" : [ "{" ] + }, { "s" : [ { - "value" : [ "","define ","PossiblyEqualDateTimes",": " ] - }, { - "r" : "1581", - "s" : [ { - "r" : "1590", - "s" : [ { - "r" : "1582", - "value" : [ "DateTime","(","2000",", ","3",", ","15",")" ] - } ] - }, { - "value" : [ " ","~"," " ] - }, { - "r" : "1598", - "s" : [ { - "r" : "1594", - "value" : [ "DateTime","(","2000",")" ] - } ] - } ] + "value" : [ "a", ": " ] + }, { + "r" : "885", + "s" : [ { + "value" : [ "'1'" ] + } ] + } ] + }, { + "value" : [ "}" ] + } ] + }, { + "value" : [ " ", "~", " " ] + }, { + "r" : "890", + "s" : [ { + "value" : [ "{" ] + }, { + "r" : "891", + "s" : [ { + "value" : [ "'1'" ] } ] - } - } ], - "expression" : { - "localId" : "1581", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "Equivalent", - "signature" : [ { - "localId" : "1600", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1601", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "1590", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "1591", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1592", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1593", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1582", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "1583", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "1584", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal" + }, { + "value" : [ "}" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Equivalent", + "localId" : "883", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "ListTypeSpecifier", + "localId" : "902", + "annotation" : [ ], + "elementType" : { + "type" : "ListTypeSpecifier", + "localId" : "903", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "904", + "name" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } + } + }, { + "type" : "ListTypeSpecifier", + "localId" : "905", + "annotation" : [ ], + "elementType" : { + "type" : "ListTypeSpecifier", + "localId" : "906", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "907", + "name" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } + } + } ], + "operand" : [ { + "type" : "ToList", + "localId" : "896", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "ToList", + "localId" : "895", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Tuple", + "localId" : "884", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "TupleTypeSpecifier", + "localId" : "887", + "annotation" : [ ], + "element" : [ { + "localId" : "888", + "name" : "a", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "889", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } + } ] + }, + "element" : [ { + "name" : "a", + "value" : { + "type" : "Literal", + "localId" : "885", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "1", + "annotation" : [ ] } - }, { - "localId" : "1598", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "1599", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1594", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" + } ] + } + } + }, { + "type" : "Query", + "localId" : "897", + "annotation" : [ ], + "source" : [ { + "localId" : "898", + "alias" : "X", + "annotation" : [ ], + "expression" : { + "type" : "List", + "localId" : "890", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "893", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "894", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] } - } ] + }, + "element" : [ { + "type" : "Literal", + "localId" : "891", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "1", + "annotation" : [ ] + } ] + } + } ], + "let" : [ ], + "relationship" : [ ], + "return" : { + "localId" : "899", + "distinct" : false, + "annotation" : [ ], + "expression" : { + "type" : "ToList", + "localId" : "901", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "AliasRef", + "localId" : "900", + "name" : "X", + "annotation" : [ ] + } + } } - }, { - "localId" : "1604", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "ImpossiblyEqualDateTimes", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "1604", + } ] + } + }, { + "localId" : "910", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "ListAndTuple", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "910", + "s" : [ { + "value" : [ "", "define ", "ListAndTuple", ": " ] + }, { + "r" : "911", + "s" : [ { + "r" : "912", + "s" : [ { + "value" : [ "{" ] + }, { + "r" : "913", + "s" : [ { + "value" : [ "'1'" ] + } ] + }, { + "value" : [ "}" ] + } ] + }, { + "value" : [ " ", "~", " " ] + }, { + "r" : "917", + "s" : [ { + "value" : [ "{" ] + }, { "s" : [ { - "value" : [ "","define ","ImpossiblyEqualDateTimes",": " ] + "value" : [ "a", ": " ] }, { - "r" : "1605", - "s" : [ { - "r" : "1614", - "s" : [ { - "r" : "1606", - "value" : [ "DateTime","(","2000",", ","3",", ","15",")" ] - } ] - }, { - "value" : [ " ","~"," " ] - }, { - "r" : "1624", - "s" : [ { - "r" : "1618", - "value" : [ "DateTime","(","2000",", ","4",")" ] - } ] - } ] + "r" : "918", + "s" : [ { + "value" : [ "'1'" ] + } ] } ] - } - } ], - "expression" : { - "localId" : "1605", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "Equivalent", - "signature" : [ { - "localId" : "1627", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1628", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "1614", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "1615", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1616", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1617", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1606", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "1607", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "1608", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal" + }, { + "value" : [ "}" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Equivalent", + "localId" : "911", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "ListTypeSpecifier", + "localId" : "930", + "annotation" : [ ], + "elementType" : { + "type" : "ListTypeSpecifier", + "localId" : "931", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "932", + "name" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } + } + }, { + "type" : "ListTypeSpecifier", + "localId" : "933", + "annotation" : [ ], + "elementType" : { + "type" : "ListTypeSpecifier", + "localId" : "934", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "935", + "name" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } + } + } ], + "operand" : [ { + "type" : "Query", + "localId" : "923", + "annotation" : [ ], + "source" : [ { + "localId" : "924", + "alias" : "X", + "annotation" : [ ], + "expression" : { + "type" : "List", + "localId" : "912", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "915", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "916", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] } - }, { - "localId" : "1624", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "1625", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1626", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1618", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "1619", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "4", - "type" : "Literal" + }, + "element" : [ { + "type" : "Literal", + "localId" : "913", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "1", + "annotation" : [ ] + } ] + } + } ], + "let" : [ ], + "relationship" : [ ], + "return" : { + "localId" : "925", + "distinct" : false, + "annotation" : [ ], + "expression" : { + "type" : "ToList", + "localId" : "927", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "AliasRef", + "localId" : "926", + "name" : "X", + "annotation" : [ ] + } + } + } + }, { + "type" : "ToList", + "localId" : "929", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "ToList", + "localId" : "928", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Tuple", + "localId" : "917", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "TupleTypeSpecifier", + "localId" : "920", + "annotation" : [ ], + "element" : [ { + "localId" : "921", + "name" : "a", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "922", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } + } ] + }, + "element" : [ { + "name" : "a", + "value" : { + "type" : "Literal", + "localId" : "918", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "1", + "annotation" : [ ] } - } ] + } ] + } } - }, { - "localId" : "1631", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "DateAndDateTimeTrue", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "1631", + } ] + } + }, { + "localId" : "938", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "TupleAndNullList", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "938", + "s" : [ { + "value" : [ "", "define ", "TupleAndNullList", ": " ] + }, { + "r" : "939", + "s" : [ { + "r" : "940", + "s" : [ { + "value" : [ "{" ] + }, { "s" : [ { - "value" : [ "","define ","DateAndDateTimeTrue",": " ] - }, { - "r" : "1632", - "s" : [ { - "r" : "1641", - "s" : [ { - "r" : "1633", - "value" : [ "Date","(","2000",", ","3",", ","13",")" ] - } ] - }, { - "value" : [ " ","~"," " ] - }, { - "r" : "1653", - "s" : [ { - "r" : "1645", - "value" : [ "DateTime","(","2000",", ","3",", ","13",")" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "1632", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "Equivalent", - "signature" : [ { - "localId" : "1660", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1661", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "1658", - "type" : "ToDateTime", - "signature" : [ { - "localId" : "1659", - "name" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "1641", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "Date", - "signature" : [ { - "localId" : "1642", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1643", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1644", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1633", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "1634", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "1635", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "13", - "type" : "Literal" - } - } - }, { - "localId" : "1653", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "1654", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1655", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1656", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1645", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "1646", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "1647", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "13", - "type" : "Literal" + "value" : [ "a", ": " ] + }, { + "r" : "941", + "s" : [ { + "value" : [ "'1'" ] + } ] + } ] + }, { + "value" : [ "}" ] + } ] + }, { + "value" : [ " ", "~", " " ] + }, { + "r" : "946", + "s" : [ { + "r" : "947", + "value" : [ "{", "null", "}" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Equivalent", + "localId" : "939", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "TupleTypeSpecifier", + "localId" : "957", + "annotation" : [ ], + "element" : [ { + "localId" : "958", + "name" : "a", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "959", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } + } ] + }, { + "type" : "TupleTypeSpecifier", + "localId" : "960", + "annotation" : [ ], + "element" : [ { + "localId" : "961", + "name" : "a", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "962", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } + } ] + } ], + "operand" : [ { + "type" : "Tuple", + "localId" : "940", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "TupleTypeSpecifier", + "localId" : "943", + "annotation" : [ ], + "element" : [ { + "localId" : "944", + "name" : "a", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "945", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } + } ] + }, + "element" : [ { + "name" : "a", + "value" : { + "type" : "Literal", + "localId" : "941", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "1", + "annotation" : [ ] + } + } ] + }, { + "type" : "As", + "localId" : "953", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "SingletonFrom", + "localId" : "950", + "annotation" : [ ], + "signature" : [ { + "type" : "ListTypeSpecifier", + "localId" : "951", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "952", + "name" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } + } ], + "operand" : { + "type" : "List", + "localId" : "946", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "948", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "949", + "name" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] } - } ] + }, + "element" : [ { + "type" : "Null", + "localId" : "947", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } ] + } + }, + "asTypeSpecifier" : { + "type" : "TupleTypeSpecifier", + "localId" : "954", + "annotation" : [ ], + "element" : [ { + "localId" : "955", + "name" : "a", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "956", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } + } ] } - }, { - "localId" : "1664", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "DateAndDateTimeNotEqual", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "1664", + } ] + } + }, { + "localId" : "965", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "NullListAndTuple", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "965", + "s" : [ { + "value" : [ "", "define ", "NullListAndTuple", ": " ] + }, { + "r" : "966", + "s" : [ { + "r" : "967", + "s" : [ { + "r" : "968", + "value" : [ "{", "null", "}" ] + } ] + }, { + "value" : [ " ", "~", " " ] + }, { + "r" : "971", + "s" : [ { + "value" : [ "{" ] + }, { "s" : [ { - "value" : [ "","define ","DateAndDateTimeNotEqual",": " ] + "value" : [ "a", ": " ] }, { - "r" : "1665", - "s" : [ { - "r" : "1674", - "s" : [ { - "r" : "1666", - "value" : [ "Date","(","2000",", ","3",", ","13",")" ] - } ] - }, { - "value" : [ " ","~"," " ] - }, { - "r" : "1686", - "s" : [ { - "r" : "1678", - "value" : [ "DateTime","(","2000",", ","3",", ","12",")" ] - } ] - } ] + "r" : "972", + "s" : [ { + "value" : [ "'1'" ] + } ] } ] - } - } ], - "expression" : { - "localId" : "1665", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "Equivalent", - "signature" : [ { - "localId" : "1693", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1694", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "1691", - "type" : "ToDateTime", - "signature" : [ { - "localId" : "1692", - "name" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "1674", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "Date", - "signature" : [ { - "localId" : "1675", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1676", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1677", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1666", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "1667", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "1668", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "13", - "type" : "Literal" - } - } - }, { - "localId" : "1686", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "1687", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1688", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1689", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1678", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "1679", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "1680", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "12", - "type" : "Literal" + }, { + "value" : [ "}" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Equivalent", + "localId" : "966", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "TupleTypeSpecifier", + "localId" : "984", + "annotation" : [ ], + "element" : [ { + "localId" : "985", + "name" : "a", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "986", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } + } ] + }, { + "type" : "TupleTypeSpecifier", + "localId" : "987", + "annotation" : [ ], + "element" : [ { + "localId" : "988", + "name" : "a", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "989", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } + } ] + } ], + "operand" : [ { + "type" : "As", + "localId" : "980", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "SingletonFrom", + "localId" : "977", + "annotation" : [ ], + "signature" : [ { + "type" : "ListTypeSpecifier", + "localId" : "978", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "979", + "name" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } + } ], + "operand" : { + "type" : "List", + "localId" : "967", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "969", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "970", + "name" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] } - } ] + }, + "element" : [ { + "type" : "Null", + "localId" : "968", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } ] + } + }, + "asTypeSpecifier" : { + "type" : "TupleTypeSpecifier", + "localId" : "981", + "annotation" : [ ], + "element" : [ { + "localId" : "982", + "name" : "a", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "983", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } + } ] } - }, { - "localId" : "1697", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "DateAndDateTimeUncertainFalse", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "1697", - "s" : [ { - "value" : [ "","define ","DateAndDateTimeUncertainFalse",": " ] - }, { - "r" : "1698", - "s" : [ { - "r" : "1707", - "s" : [ { - "r" : "1699", - "value" : [ "Date","(","2000",", ","3",", ","13",")" ] - } ] - }, { - "value" : [ " ","~"," " ] - }, { - "r" : "1725", - "s" : [ { - "r" : "1711", - "value" : [ "DateTime","(","2000",", ","3",", ","13",", ","2",", ","4",", ","23",")" ] - } ] - } ] - } ] - } + }, { + "type" : "Tuple", + "localId" : "971", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "TupleTypeSpecifier", + "localId" : "974", + "annotation" : [ ], + "element" : [ { + "localId" : "975", + "name" : "a", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "976", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } + } ] + }, + "element" : [ { + "name" : "a", + "value" : { + "type" : "Literal", + "localId" : "972", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "1", + "annotation" : [ ] + } + } ] + } ] + } + }, { + "localId" : "992", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "SameCodeAndCode", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "992", + "s" : [ { + "value" : [ "", "define ", "SameCodeAndCode", ": " ] + }, { + "r" : "993", + "s" : [ { + "r" : "994", + "s" : [ { + "value" : [ "\"Tobacco smoking status code\"" ] + } ] + }, { + "value" : [ " ", "~", " " ] + }, { + "r" : "995", + "s" : [ { + "value" : [ "\"Tobacco smoking status code clone\"" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Equivalent", + "localId" : "993", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "996", + "name" : "{urn:hl7-org:elm-types:r1}Code", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "997", + "name" : "{urn:hl7-org:elm-types:r1}Code", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "CodeRef", + "localId" : "994", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Code", + "name" : "Tobacco smoking status code", + "annotation" : [ ] + }, { + "type" : "CodeRef", + "localId" : "995", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Code", + "name" : "Tobacco smoking status code clone", + "annotation" : [ ] + } ] + } + }, { + "localId" : "1000", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "SameCodeAndConcept", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "1000", + "s" : [ { + "value" : [ "", "define ", "SameCodeAndConcept", ": " ] + }, { + "r" : "1001", + "s" : [ { + "r" : "1002", + "s" : [ { + "value" : [ "\"Tobacco smoking status code clone\"" ] + } ] + }, { + "value" : [ " ", "~", " " ] + }, { + "r" : "1003", + "s" : [ { + "value" : [ "\"Tobacco smoking status\"" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Equivalent", + "localId" : "1001", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1007", + "name" : "{urn:hl7-org:elm-types:r1}Concept", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1008", + "name" : "{urn:hl7-org:elm-types:r1}Concept", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "ToConcept", + "localId" : "1005", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1006", + "name" : "{urn:hl7-org:elm-types:r1}Code", + "annotation" : [ ] } ], - "expression" : { - "localId" : "1698", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "Equivalent", - "signature" : [ { - "localId" : "1735", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1736", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "1733", - "type" : "ToDateTime", - "signature" : [ { - "localId" : "1734", - "name" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "1707", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "Date", - "signature" : [ { - "localId" : "1708", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1709", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1710", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1699", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "1700", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "1701", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "13", - "type" : "Literal" - } - } - }, { - "localId" : "1725", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "1726", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1727", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1728", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1729", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1730", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1731", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1711", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "1712", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "1713", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "13", - "type" : "Literal" - }, - "hour" : { - "localId" : "1714", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal" - }, - "minute" : { - "localId" : "1715", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "4", - "type" : "Literal" - }, - "second" : { - "localId" : "1716", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "23", - "type" : "Literal" - } - } ] + "operand" : { + "type" : "CodeRef", + "localId" : "1002", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Code", + "name" : "Tobacco smoking status code clone", + "annotation" : [ ] } - }, { - "localId" : "1739", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "DateTimeAndDateTrue", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "1739", + }, { + "type" : "ConceptRef", + "localId" : "1003", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Concept", + "name" : "Tobacco smoking status", + "annotation" : [ ] + } ] + } + }, { + "localId" : "1011", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "SameConceptAndCode", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "1011", + "s" : [ { + "value" : [ "", "define ", "SameConceptAndCode", ": " ] + }, { + "r" : "1012", + "s" : [ { + "r" : "1013", + "s" : [ { + "value" : [ "\"Tobacco smoking status\"" ] + } ] + }, { + "value" : [ " ", "~", " " ] + }, { + "r" : "1014", + "s" : [ { + "value" : [ "\"Tobacco smoking status code clone\"" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Equivalent", + "localId" : "1012", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1018", + "name" : "{urn:hl7-org:elm-types:r1}Concept", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1019", + "name" : "{urn:hl7-org:elm-types:r1}Concept", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "ConceptRef", + "localId" : "1013", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Concept", + "name" : "Tobacco smoking status", + "annotation" : [ ] + }, { + "type" : "ToConcept", + "localId" : "1016", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1017", + "name" : "{urn:hl7-org:elm-types:r1}Code", + "annotation" : [ ] + } ], + "operand" : { + "type" : "CodeRef", + "localId" : "1014", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Code", + "name" : "Tobacco smoking status code clone", + "annotation" : [ ] + } + } ] + } + }, { + "localId" : "1022", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "SameConceptAndConcept", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "1022", + "s" : [ { + "value" : [ "", "define ", "SameConceptAndConcept", ": " ] + }, { + "r" : "1023", + "s" : [ { + "r" : "1024", + "s" : [ { + "value" : [ "\"Tobacco smoking status\"" ] + } ] + }, { + "value" : [ " ", "~", " " ] + }, { + "r" : "1025", + "s" : [ { + "value" : [ "\"Tobacco smoking status clone\"" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Equivalent", + "localId" : "1023", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1026", + "name" : "{urn:hl7-org:elm-types:r1}Concept", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1027", + "name" : "{urn:hl7-org:elm-types:r1}Concept", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "ConceptRef", + "localId" : "1024", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Concept", + "name" : "Tobacco smoking status", + "annotation" : [ ] + }, { + "type" : "ConceptRef", + "localId" : "1025", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Concept", + "name" : "Tobacco smoking status clone", + "annotation" : [ ] + } ] + } + }, { + "localId" : "1030", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "DiffCodeAndCode", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "1030", + "s" : [ { + "value" : [ "", "define ", "DiffCodeAndCode", ": " ] + }, { + "r" : "1031", + "s" : [ { + "r" : "1032", + "s" : [ { + "value" : [ "\"Tobacco smoking status code\"" ] + } ] + }, { + "value" : [ " ", "~", " " ] + }, { + "r" : "1033", + "s" : [ { + "value" : [ "\"Total Score [AUDIT-C] code\"" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Equivalent", + "localId" : "1031", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1034", + "name" : "{urn:hl7-org:elm-types:r1}Code", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1035", + "name" : "{urn:hl7-org:elm-types:r1}Code", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "CodeRef", + "localId" : "1032", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Code", + "name" : "Tobacco smoking status code", + "annotation" : [ ] + }, { + "type" : "CodeRef", + "localId" : "1033", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Code", + "name" : "Total Score [AUDIT-C] code", + "annotation" : [ ] + } ] + } + }, { + "localId" : "1038", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "DiffCodeAndConcept", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "1038", + "s" : [ { + "value" : [ "", "define ", "DiffCodeAndConcept", ": " ] + }, { + "r" : "1039", + "s" : [ { + "r" : "1040", + "s" : [ { + "value" : [ "\"Tobacco smoking status code clone\"" ] + } ] + }, { + "value" : [ " ", "~", " " ] + }, { + "r" : "1041", + "s" : [ { + "value" : [ "\"Total Score [AUDIT-C]\"" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Equivalent", + "localId" : "1039", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1045", + "name" : "{urn:hl7-org:elm-types:r1}Concept", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1046", + "name" : "{urn:hl7-org:elm-types:r1}Concept", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "ToConcept", + "localId" : "1043", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1044", + "name" : "{urn:hl7-org:elm-types:r1}Code", + "annotation" : [ ] + } ], + "operand" : { + "type" : "CodeRef", + "localId" : "1040", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Code", + "name" : "Tobacco smoking status code clone", + "annotation" : [ ] + } + }, { + "type" : "ConceptRef", + "localId" : "1041", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Concept", + "name" : "Total Score [AUDIT-C]", + "annotation" : [ ] + } ] + } + }, { + "localId" : "1049", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "DiffConceptAndCode", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "1049", + "s" : [ { + "value" : [ "", "define ", "DiffConceptAndCode", ": " ] + }, { + "r" : "1050", + "s" : [ { + "r" : "1051", + "s" : [ { + "value" : [ "\"Tobacco smoking status\"" ] + } ] + }, { + "value" : [ " ", "~", " " ] + }, { + "r" : "1052", + "s" : [ { + "value" : [ "\"Total Score [AUDIT-C] code\"" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Equivalent", + "localId" : "1050", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1056", + "name" : "{urn:hl7-org:elm-types:r1}Concept", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1057", + "name" : "{urn:hl7-org:elm-types:r1}Concept", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "ConceptRef", + "localId" : "1051", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Concept", + "name" : "Tobacco smoking status", + "annotation" : [ ] + }, { + "type" : "ToConcept", + "localId" : "1054", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1055", + "name" : "{urn:hl7-org:elm-types:r1}Code", + "annotation" : [ ] + } ], + "operand" : { + "type" : "CodeRef", + "localId" : "1052", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Code", + "name" : "Total Score [AUDIT-C] code", + "annotation" : [ ] + } + } ] + } + }, { + "localId" : "1060", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "DiffConceptAndConcept", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "1060", + "s" : [ { + "value" : [ "", "define ", "DiffConceptAndConcept", ": " ] + }, { + "r" : "1061", + "s" : [ { + "r" : "1062", + "s" : [ { + "value" : [ "\"Tobacco smoking status\"" ] + } ] + }, { + "value" : [ " ", "~", " " ] + }, { + "r" : "1063", + "s" : [ { + "value" : [ "\"Total Score [AUDIT-C]\"" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Equivalent", + "localId" : "1061", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1064", + "name" : "{urn:hl7-org:elm-types:r1}Concept", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1065", + "name" : "{urn:hl7-org:elm-types:r1}Concept", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "ConceptRef", + "localId" : "1062", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Concept", + "name" : "Tobacco smoking status", + "annotation" : [ ] + }, { + "type" : "ConceptRef", + "localId" : "1063", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Concept", + "name" : "Total Score [AUDIT-C]", + "annotation" : [ ] + } ] + } + }, { + "localId" : "1068", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "SameVSIdAndVersion", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "1068", + "s" : [ { + "value" : [ "", "define ", "SameVSIdAndVersion", ": " ] + }, { + "r" : "1069", + "s" : [ { + "r" : "1070", + "s" : [ { + "value" : [ "\"Unknown\"" ] + } ] + }, { + "value" : [ " ", "~", " " ] + }, { + "r" : "1071", + "s" : [ { + "value" : [ "\"UnknownSame\"" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Equivalent", + "localId" : "1069", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1072", + "name" : "{urn:hl7-org:elm-types:r1}ValueSet", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1073", + "name" : "{urn:hl7-org:elm-types:r1}ValueSet", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "ValueSetRef", + "localId" : "1070", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}ValueSet", + "name" : "Unknown", + "preserve" : true, + "annotation" : [ ] + }, { + "type" : "ValueSetRef", + "localId" : "1071", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}ValueSet", + "name" : "UnknownSame", + "preserve" : true, + "annotation" : [ ] + } ] + } + }, { + "localId" : "1076", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "SameVSCodes", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "1076", + "s" : [ { + "value" : [ "", "define ", "SameVSCodes", ": " ] + }, { + "r" : "1077", + "s" : [ { + "r" : "1078", + "s" : [ { + "value" : [ "\"Known\"" ] + } ] + }, { + "value" : [ " ", "~", " " ] + }, { + "r" : "1079", + "s" : [ { + "value" : [ "\"KnownSameCodes\"" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Equivalent", + "localId" : "1077", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1080", + "name" : "{urn:hl7-org:elm-types:r1}ValueSet", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1081", + "name" : "{urn:hl7-org:elm-types:r1}ValueSet", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "ValueSetRef", + "localId" : "1078", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}ValueSet", + "name" : "Known", + "preserve" : true, + "annotation" : [ ] + }, { + "type" : "ValueSetRef", + "localId" : "1079", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}ValueSet", + "name" : "KnownSameCodes", + "preserve" : true, + "annotation" : [ ] + } ] + } + }, { + "localId" : "1084", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "DiffVSCodes", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "1084", + "s" : [ { + "value" : [ "", "define ", "DiffVSCodes", ": " ] + }, { + "r" : "1085", + "s" : [ { + "r" : "1086", + "s" : [ { + "value" : [ "\"Known\"" ] + } ] + }, { + "value" : [ " ", "~", " " ] + }, { + "r" : "1087", + "s" : [ { + "value" : [ "\"KnownDifferentCodes\"" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Equivalent", + "localId" : "1085", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1088", + "name" : "{urn:hl7-org:elm-types:r1}ValueSet", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1089", + "name" : "{urn:hl7-org:elm-types:r1}ValueSet", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "ValueSetRef", + "localId" : "1086", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}ValueSet", + "name" : "Known", + "preserve" : true, + "annotation" : [ ] + }, { + "type" : "ValueSetRef", + "localId" : "1087", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}ValueSet", + "name" : "KnownDifferentCodes", + "preserve" : true, + "annotation" : [ ] + } ] + } + }, { + "localId" : "1092", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "UnresolvableDiffVS", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "1092", + "s" : [ { + "value" : [ "", "define ", "UnresolvableDiffVS", ": " ] + }, { + "r" : "1093", + "s" : [ { + "r" : "1094", + "s" : [ { + "value" : [ "\"Known\"" ] + } ] + }, { + "value" : [ " ", "~", " " ] + }, { + "r" : "1095", + "s" : [ { + "value" : [ "\"Unknown\"" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Equivalent", + "localId" : "1093", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1096", + "name" : "{urn:hl7-org:elm-types:r1}ValueSet", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1097", + "name" : "{urn:hl7-org:elm-types:r1}ValueSet", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "ValueSetRef", + "localId" : "1094", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}ValueSet", + "name" : "Known", + "preserve" : true, + "annotation" : [ ] + }, { + "type" : "ValueSetRef", + "localId" : "1095", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}ValueSet", + "name" : "Unknown", + "preserve" : true, + "annotation" : [ ] + } ] + } + }, { + "localId" : "1100", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "EqDateTimes", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "1100", + "s" : [ { + "value" : [ "", "define ", "EqDateTimes", ": " ] + }, { + "r" : "1101", + "s" : [ { + "r" : "1120", + "s" : [ { + "r" : "1102", + "value" : [ "DateTime", "(", "2000", ", ", "3", ", ", "15", ", ", "13", ", ", "30", ", ", "25", ", ", "200", ", " ] + }, { + "r" : "1109", "s" : [ { - "value" : [ "","define ","DateTimeAndDateTrue",": " ] - }, { - "r" : "1740", - "s" : [ { - "r" : "1749", - "s" : [ { - "r" : "1741", - "value" : [ "DateTime","(","2000",", ","3",", ","13",")" ] - } ] - }, { - "value" : [ " ","~"," " ] - }, { - "r" : "1761", - "s" : [ { - "r" : "1753", - "value" : [ "Date","(","2000",", ","3",", ","13",")" ] - } ] - } ] + "r" : "1109", + "value" : [ "+", "1.0" ] + } ] + }, { + "value" : [ ")" ] + } ] + }, { + "value" : [ " ", "~", " " ] + }, { + "r" : "1147", + "s" : [ { + "r" : "1129", + "value" : [ "DateTime", "(", "2000", ", ", "3", ", ", "15", ", ", "13", ", ", "30", ", ", "25", ", ", "200", ", " ] + }, { + "r" : "1136", + "s" : [ { + "r" : "1136", + "value" : [ "+", "1.0" ] } ] - } + }, { + "value" : [ ")" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Equivalent", + "localId" : "1101", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1156", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1157", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "DateTime", + "localId" : "1120", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1121", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1122", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1123", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1124", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1125", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1126", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1127", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1128", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] } ], - "expression" : { - "localId" : "1740", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "Equivalent", - "signature" : [ { - "localId" : "1768", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1769", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "1749", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "1750", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1751", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1752", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1741", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "1742", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "1743", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "13", - "type" : "Literal" - } - }, { - "localId" : "1766", - "type" : "ToDateTime", - "signature" : [ { - "localId" : "1767", - "name" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "1761", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "Date", - "signature" : [ { - "localId" : "1762", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1763", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1764", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1753", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "1754", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "1755", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "13", - "type" : "Literal" - } - } - } ] + "year" : { + "type" : "Literal", + "localId" : "1102", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1103", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "1104", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "15", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "1105", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "13", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "1106", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "30", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "1107", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "25", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "1108", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "200", + "annotation" : [ ] + }, + "timezoneOffset" : { + "type" : "Literal", + "localId" : "1109", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "1.0", + "annotation" : [ ] } - }, { - "localId" : "1772", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "DateTimeAndDateNotEqual", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "1772", - "s" : [ { - "value" : [ "","define ","DateTimeAndDateNotEqual",": " ] - }, { - "r" : "1773", - "s" : [ { - "r" : "1782", - "s" : [ { - "r" : "1774", - "value" : [ "DateTime","(","2000",", ","3",", ","12",")" ] - } ] - }, { - "value" : [ " ","~"," " ] - }, { - "r" : "1794", - "s" : [ { - "r" : "1786", - "value" : [ "Date","(","2000",", ","3",", ","13",")" ] - } ] - } ] - } ] - } + }, { + "type" : "DateTime", + "localId" : "1147", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1148", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1149", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1150", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1151", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1152", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1153", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1154", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1155", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] } ], - "expression" : { - "localId" : "1773", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "Equivalent", - "signature" : [ { - "localId" : "1801", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1802", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "1782", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "1783", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1784", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1785", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1774", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "1775", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "1776", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "12", - "type" : "Literal" - } - }, { - "localId" : "1799", - "type" : "ToDateTime", - "signature" : [ { - "localId" : "1800", - "name" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "1794", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "Date", - "signature" : [ { - "localId" : "1795", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1796", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1797", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1786", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "1787", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "1788", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "13", - "type" : "Literal" - } - } - } ] + "year" : { + "type" : "Literal", + "localId" : "1129", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1130", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "1131", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "15", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "1132", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "13", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "1133", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "30", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "1134", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "25", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "1135", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "200", + "annotation" : [ ] + }, + "timezoneOffset" : { + "type" : "Literal", + "localId" : "1136", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "1.0", + "annotation" : [ ] } - }, { - "localId" : "1805", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "DateTimeAndDateUncertainFalse", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "1805", + } ] + } + }, { + "localId" : "1160", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "UneqDateTimes", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "1160", + "s" : [ { + "value" : [ "", "define ", "UneqDateTimes", ": " ] + }, { + "r" : "1161", + "s" : [ { + "r" : "1180", + "s" : [ { + "r" : "1162", + "value" : [ "DateTime", "(", "2000", ", ", "3", ", ", "15", ", ", "13", ", ", "30", ", ", "25", ", ", "200", ", " ] + }, { + "r" : "1169", "s" : [ { - "value" : [ "","define ","DateTimeAndDateUncertainFalse",": " ] - }, { - "r" : "1806", - "s" : [ { - "r" : "1821", - "s" : [ { - "r" : "1807", - "value" : [ "DateTime","(","2000",", ","3",", ","13",", ","2",", ","4",", ","23",")" ] - } ] - }, { - "value" : [ " ","~"," " ] - }, { - "r" : "1836", - "s" : [ { - "r" : "1828", - "value" : [ "Date","(","2000",", ","3",", ","13",")" ] - } ] - } ] + "r" : "1169", + "value" : [ "+", "1.0" ] + } ] + }, { + "value" : [ ")" ] + } ] + }, { + "value" : [ " ", "~", " " ] + }, { + "r" : "1207", + "s" : [ { + "r" : "1189", + "value" : [ "DateTime", "(", "2000", ", ", "3", ", ", "15", ", ", "13", ", ", "30", ", ", "25", ", ", "201", ", " ] + }, { + "r" : "1196", + "s" : [ { + "r" : "1196", + "value" : [ "+", "1.0" ] } ] - } + }, { + "value" : [ ")" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Equivalent", + "localId" : "1161", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1216", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1217", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "DateTime", + "localId" : "1180", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1181", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1182", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1183", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1184", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1185", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1186", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1187", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1188", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] } ], - "expression" : { - "localId" : "1806", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "Equivalent", - "signature" : [ { - "localId" : "1843", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1844", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "1821", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "1822", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1823", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1824", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1825", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1826", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1827", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1807", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "1808", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "1809", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "13", - "type" : "Literal" - }, - "hour" : { - "localId" : "1810", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal" - }, - "minute" : { - "localId" : "1811", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "4", - "type" : "Literal" - }, - "second" : { - "localId" : "1812", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "23", - "type" : "Literal" - } - }, { - "localId" : "1841", - "type" : "ToDateTime", - "signature" : [ { - "localId" : "1842", - "name" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "1836", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "Date", - "signature" : [ { - "localId" : "1837", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1838", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1839", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1828", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "1829", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "1830", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "13", - "type" : "Literal" - } - } - } ] + "year" : { + "type" : "Literal", + "localId" : "1162", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1163", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "1164", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "15", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "1165", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "13", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "1166", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "30", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "1167", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "25", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "1168", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "200", + "annotation" : [ ] + }, + "timezoneOffset" : { + "type" : "Literal", + "localId" : "1169", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "1.0", + "annotation" : [ ] } - } ] - } - } -} - -/* Less -library TestSnippet version '1' -using Simple version '1.0.0' -context Patient -define AGtB_Int: 5 < 4 -define AEqB_Int: 5 < 5 -define ALtB_Int: 5 < 6 -define AGtB_Quantity: 5 'm' < 4 'm' -define AEqB_Quantity: 5 'm' < 5 'm' -define ALtB_Quantity: 5 'm' < 6 'm' -define AGtB_Quantity_diff: 5 'm' < 5 'cm' -define AEqB_Quantity_diff: 5 'm' < 500 'cm' -define ALtB_Quantity_diff: 5 'm' < 5 'km' -define AGtB_Quantity_incompatible: 5 'Cel' < 4 'm' -define AEqB_Quantity_incompatible: 5 'Cel' < 5 'm' -define ALtB_Quantity_incompatible: 5 'Cel' < 40 'm' -*/ - -module.exports['Less'] = { - "library" : { - "localId" : "0", - "annotation" : [ { - "translatorVersion" : "3.27.0", - "translatorOptions" : "EnableDateRangeOptimization,EnableAnnotations,EnableResultTypes", - "signatureLevel" : "All", - "type" : "CqlToElmInfo" + }, { + "type" : "DateTime", + "localId" : "1207", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1208", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1209", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1210", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1211", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1212", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1213", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1214", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1215", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1189", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1190", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "1191", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "15", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "1192", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "13", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "1193", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "30", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "1194", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "25", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "1195", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "201", + "annotation" : [ ] + }, + "timezoneOffset" : { + "type" : "Literal", + "localId" : "1196", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "1.0", + "annotation" : [ ] + } + } ] + } }, { - "type" : "Annotation", - "s" : { - "r" : "302", + "localId" : "1220", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "EqDateTimesTZ", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "1220", "s" : [ { - "value" : [ "","library TestSnippet version '1'" ] - } ] - } - } ], - "identifier" : { - "id" : "TestSnippet", - "version" : "1" - }, - "schemaIdentifier" : { - "id" : "urn:hl7-org:elm", - "version" : "r1" - }, - "usings" : { - "def" : [ { - "localId" : "1", - "localIdentifier" : "System", - "uri" : "urn:hl7-org:elm-types:r1" - }, { - "localId" : "206", - "localIdentifier" : "Simple", - "uri" : "https://github.com/cqframework/cql-execution/simple", - "version" : "1.0.0", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "206", + "value" : [ "", "define ", "EqDateTimesTZ", ": " ] + }, { + "r" : "1221", + "s" : [ { + "r" : "1240", + "s" : [ { + "r" : "1222", + "value" : [ "DateTime", "(", "2000", ", ", "3", ", ", "15", ", ", "23", ", ", "30", ", ", "25", ", ", "200", ", " ] + }, { + "r" : "1229", "s" : [ { - "value" : [ "","using " ] - }, { - "s" : [ { - "value" : [ "Simple" ] - } ] - }, { - "value" : [ " version '1.0.0'" ] - } ] - } - } ] - } ] - }, - "contexts" : { - "def" : [ { - "localId" : "211", - "name" : "Patient" - } ] - }, - "statements" : { - "def" : [ { - "localId" : "209", - "name" : "Patient", - "context" : "Patient", - "expression" : { - "localId" : "210", - "type" : "SingletonFrom", - "signature" : [ ], - "operand" : { - "localId" : "208", - "dataType" : "{https://github.com/cqframework/cql-execution/simple}Patient", - "type" : "Retrieve", - "include" : [ ], - "codeFilter" : [ ], - "dateFilter" : [ ], - "otherFilter" : [ ] - } - } - }, { - "localId" : "214", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "AGtB_Int", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "214", + "r" : "1229", + "value" : [ "+", "1.0" ] + } ] + }, { + "value" : [ ")" ] + } ] + }, { + "value" : [ " ", "~", " " ] + }, { + "r" : "1267", + "s" : [ { + "r" : "1249", + "value" : [ "DateTime", "(", "2000", ", ", "3", ", ", "16", ", ", "2", ", ", "30", ", ", "25", ", ", "200", ", " ] + }, { + "r" : "1256", "s" : [ { - "value" : [ "","define ","AGtB_Int",": " ] - }, { - "r" : "215", - "s" : [ { - "r" : "216", - "value" : [ "5"," ","<"," ","4" ] - } ] + "r" : "1256", + "value" : [ "+", "4.0" ] } ] - } + }, { + "value" : [ ")" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Equivalent", + "localId" : "1221", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1276", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1277", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "DateTime", + "localId" : "1240", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1241", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1242", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1243", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1244", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1245", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1246", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1247", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1248", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] } ], - "expression" : { - "localId" : "215", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "Less", - "signature" : [ { - "localId" : "218", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "219", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "216", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal" - }, { - "localId" : "217", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "4", - "type" : "Literal" - } ] + "year" : { + "type" : "Literal", + "localId" : "1222", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1223", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "1224", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "15", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "1225", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "23", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "1226", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "30", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "1227", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "25", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "1228", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "200", + "annotation" : [ ] + }, + "timezoneOffset" : { + "type" : "Literal", + "localId" : "1229", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "1.0", + "annotation" : [ ] } - }, { - "localId" : "222", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "AEqB_Int", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "222", - "s" : [ { - "value" : [ "","define ","AEqB_Int",": " ] - }, { - "r" : "223", - "s" : [ { - "r" : "224", - "value" : [ "5"," ","<"," ","5" ] - } ] - } ] - } + }, { + "type" : "DateTime", + "localId" : "1267", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1268", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1269", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1270", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1271", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1272", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1273", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1274", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1275", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] } ], - "expression" : { - "localId" : "223", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "Less", - "signature" : [ { - "localId" : "226", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "227", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "224", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal" - }, { - "localId" : "225", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal" - } ] + "year" : { + "type" : "Literal", + "localId" : "1249", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1250", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "1251", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "16", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "1252", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "1253", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "30", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "1254", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "25", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "1255", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "200", + "annotation" : [ ] + }, + "timezoneOffset" : { + "type" : "Literal", + "localId" : "1256", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "4.0", + "annotation" : [ ] } - }, { - "localId" : "230", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "ALtB_Int", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "230", + } ] + } + }, { + "localId" : "1280", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "UneqDateTimesTZ", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "1280", + "s" : [ { + "value" : [ "", "define ", "UneqDateTimesTZ", ": " ] + }, { + "r" : "1281", + "s" : [ { + "r" : "1300", + "s" : [ { + "r" : "1282", + "value" : [ "DateTime", "(", "2000", ", ", "3", ", ", "15", ", ", "13", ", ", "30", ", ", "25", ", ", "200", ", " ] + }, { + "r" : "1289", "s" : [ { - "value" : [ "","define ","ALtB_Int",": " ] - }, { - "r" : "231", - "s" : [ { - "r" : "232", - "value" : [ "5"," ","<"," ","6" ] - } ] + "r" : "1289", + "value" : [ "+", "1.0" ] + } ] + }, { + "value" : [ ")" ] + } ] + }, { + "value" : [ " ", "~", " " ] + }, { + "r" : "1327", + "s" : [ { + "r" : "1309", + "value" : [ "DateTime", "(", "2000", ", ", "3", ", ", "15", ", ", "13", ", ", "30", ", ", "25", ", ", "200", ", " ] + }, { + "r" : "1316", + "s" : [ { + "r" : "1316", + "value" : [ "+", "2.0" ] } ] - } + }, { + "value" : [ ")" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Equivalent", + "localId" : "1281", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1336", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1337", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "DateTime", + "localId" : "1300", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1301", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1302", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1303", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1304", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1305", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1306", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1307", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1308", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] } ], - "expression" : { - "localId" : "231", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "Less", - "signature" : [ { - "localId" : "234", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "235", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "232", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal" - }, { - "localId" : "233", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "6", - "type" : "Literal" - } ] + "year" : { + "type" : "Literal", + "localId" : "1282", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1283", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "1284", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "15", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "1285", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "13", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "1286", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "30", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "1287", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "25", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "1288", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "200", + "annotation" : [ ] + }, + "timezoneOffset" : { + "type" : "Literal", + "localId" : "1289", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "1.0", + "annotation" : [ ] } - }, { - "localId" : "238", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "AGtB_Quantity", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "238", - "s" : [ { - "value" : [ "","define ","AGtB_Quantity",": " ] - }, { - "r" : "239", - "s" : [ { - "r" : "240", - "s" : [ { - "value" : [ "5 ","'m'" ] - } ] - }, { - "value" : [ " ","<"," " ] - }, { - "r" : "241", - "s" : [ { - "value" : [ "4 ","'m'" ] - } ] - } ] - } ] - } + }, { + "type" : "DateTime", + "localId" : "1327", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1328", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1329", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1330", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1331", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1332", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1333", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1334", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1335", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] } ], - "expression" : { - "localId" : "239", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "Less", - "signature" : [ { - "localId" : "242", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "243", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "240", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "value" : 5, - "unit" : "m", - "type" : "Quantity" - }, { - "localId" : "241", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "value" : 4, - "unit" : "m", - "type" : "Quantity" - } ] + "year" : { + "type" : "Literal", + "localId" : "1309", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1310", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "1311", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "15", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "1312", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "13", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "1313", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "30", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "1314", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "25", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "1315", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "200", + "annotation" : [ ] + }, + "timezoneOffset" : { + "type" : "Literal", + "localId" : "1316", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "2.0", + "annotation" : [ ] } - }, { - "localId" : "246", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "AEqB_Quantity", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "246", - "s" : [ { - "value" : [ "","define ","AEqB_Quantity",": " ] - }, { - "r" : "247", - "s" : [ { - "r" : "248", - "s" : [ { - "value" : [ "5 ","'m'" ] - } ] - }, { - "value" : [ " ","<"," " ] - }, { - "r" : "249", - "s" : [ { - "value" : [ "5 ","'m'" ] - } ] - } ] - } ] - } + } ] + } + }, { + "localId" : "1340", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "EqDateTimesNullMs", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "1340", + "s" : [ { + "value" : [ "", "define ", "EqDateTimesNullMs", ": " ] + }, { + "r" : "1341", + "s" : [ { + "r" : "1358", + "s" : [ { + "r" : "1342", + "value" : [ "DateTime", "(", "2000", ", ", "3", ", ", "15", ", ", "13", ", ", "30", ", ", "25", ", ", "0", ")" ] + } ] + }, { + "value" : [ " ", "~", " " ] + }, { + "r" : "1380", + "s" : [ { + "r" : "1366", + "value" : [ "DateTime", "(", "2000", ", ", "3", ", ", "15", ", ", "13", ", ", "30", ", ", "25", ")" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Equivalent", + "localId" : "1341", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1387", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1388", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "DateTime", + "localId" : "1358", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1359", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1360", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1361", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1362", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1363", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1364", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1365", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] } ], - "expression" : { - "localId" : "247", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "Less", - "signature" : [ { - "localId" : "250", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "251", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "248", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "value" : 5, - "unit" : "m", - "type" : "Quantity" - }, { - "localId" : "249", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "value" : 5, - "unit" : "m", - "type" : "Quantity" - } ] + "year" : { + "type" : "Literal", + "localId" : "1342", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1343", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "1344", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "15", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "1345", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "13", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "1346", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "30", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "1347", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "25", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "1348", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] } - }, { - "localId" : "254", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "ALtB_Quantity", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "254", - "s" : [ { - "value" : [ "","define ","ALtB_Quantity",": " ] - }, { - "r" : "255", - "s" : [ { - "r" : "256", - "s" : [ { - "value" : [ "5 ","'m'" ] - } ] - }, { - "value" : [ " ","<"," " ] - }, { - "r" : "257", - "s" : [ { - "value" : [ "6 ","'m'" ] - } ] - } ] - } ] - } + }, { + "type" : "DateTime", + "localId" : "1380", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1381", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1382", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1383", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1384", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1385", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1386", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] } ], - "expression" : { - "localId" : "255", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "Less", - "signature" : [ { - "localId" : "258", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "259", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "256", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "value" : 5, - "unit" : "m", - "type" : "Quantity" - }, { - "localId" : "257", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "value" : 6, - "unit" : "m", - "type" : "Quantity" - } ] + "year" : { + "type" : "Literal", + "localId" : "1366", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1367", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "1368", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "15", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "1369", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "13", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "1370", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "30", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "1371", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "25", + "annotation" : [ ] } - }, { - "localId" : "262", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "AGtB_Quantity_diff", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "262", - "s" : [ { - "value" : [ "","define ","AGtB_Quantity_diff",": " ] - }, { - "r" : "263", - "s" : [ { - "r" : "264", - "s" : [ { - "value" : [ "5 ","'m'" ] - } ] - }, { - "value" : [ " ","<"," " ] - }, { - "r" : "265", - "s" : [ { - "value" : [ "5 ","'cm'" ] - } ] - } ] - } ] - } + } ] + } + }, { + "localId" : "1391", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "EqDateTimesNullOtherMs", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "1391", + "s" : [ { + "value" : [ "", "define ", "EqDateTimesNullOtherMs", ": " ] + }, { + "r" : "1392", + "s" : [ { + "r" : "1407", + "s" : [ { + "r" : "1393", + "value" : [ "DateTime", "(", "2000", ", ", "3", ", ", "15", ", ", "13", ", ", "30", ", ", "25", ")" ] + } ] + }, { + "value" : [ " ", "~", " " ] + }, { + "r" : "1430", + "s" : [ { + "r" : "1414", + "value" : [ "DateTime", "(", "2000", ", ", "3", ", ", "15", ", ", "13", ", ", "30", ", ", "25", ", ", "0", ")" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Equivalent", + "localId" : "1392", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1438", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1439", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "DateTime", + "localId" : "1407", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1408", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1409", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1410", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1411", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1412", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1413", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] } ], - "expression" : { - "localId" : "263", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "Less", - "signature" : [ { - "localId" : "266", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "267", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "264", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "value" : 5, - "unit" : "m", - "type" : "Quantity" - }, { - "localId" : "265", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "value" : 5, - "unit" : "cm", - "type" : "Quantity" - } ] + "year" : { + "type" : "Literal", + "localId" : "1393", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1394", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "1395", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "15", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "1396", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "13", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "1397", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "30", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "1398", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "25", + "annotation" : [ ] } - }, { - "localId" : "270", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "AEqB_Quantity_diff", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "270", - "s" : [ { - "value" : [ "","define ","AEqB_Quantity_diff",": " ] - }, { - "r" : "271", - "s" : [ { - "r" : "272", - "s" : [ { - "value" : [ "5 ","'m'" ] - } ] - }, { - "value" : [ " ","<"," " ] - }, { - "r" : "273", - "s" : [ { - "value" : [ "500 ","'cm'" ] - } ] - } ] - } ] - } + }, { + "type" : "DateTime", + "localId" : "1430", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1431", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1432", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1433", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1434", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1435", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1436", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1437", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] } ], - "expression" : { - "localId" : "271", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "Less", - "signature" : [ { - "localId" : "274", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "275", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "272", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "value" : 5, - "unit" : "m", - "type" : "Quantity" - }, { - "localId" : "273", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "value" : 500, - "unit" : "cm", - "type" : "Quantity" - } ] + "year" : { + "type" : "Literal", + "localId" : "1414", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1415", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "1416", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "15", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "1417", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "13", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "1418", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "30", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "1419", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "25", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "1420", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] } - }, { - "localId" : "278", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "ALtB_Quantity_diff", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "278", - "s" : [ { - "value" : [ "","define ","ALtB_Quantity_diff",": " ] - }, { - "r" : "279", - "s" : [ { - "r" : "280", - "s" : [ { - "value" : [ "5 ","'m'" ] - } ] - }, { - "value" : [ " ","<"," " ] - }, { - "r" : "281", - "s" : [ { - "value" : [ "5 ","'km'" ] - } ] - } ] - } ] - } + } ] + } + }, { + "localId" : "1442", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "EqDateTimesOnlyDate", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "1442", + "s" : [ { + "value" : [ "", "define ", "EqDateTimesOnlyDate", ": " ] + }, { + "r" : "1443", + "s" : [ { + "r" : "1452", + "s" : [ { + "r" : "1444", + "value" : [ "DateTime", "(", "2000", ", ", "3", ", ", "15", ")" ] + } ] + }, { + "value" : [ " ", "~", " " ] + }, { + "r" : "1464", + "s" : [ { + "r" : "1456", + "value" : [ "DateTime", "(", "2000", ", ", "3", ", ", "15", ")" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Equivalent", + "localId" : "1443", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1468", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1469", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "DateTime", + "localId" : "1452", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1453", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1454", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1455", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] } ], - "expression" : { - "localId" : "279", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "Less", - "signature" : [ { - "localId" : "282", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "283", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "280", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "value" : 5, - "unit" : "m", - "type" : "Quantity" - }, { - "localId" : "281", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "value" : 5, - "unit" : "km", - "type" : "Quantity" - } ] + "year" : { + "type" : "Literal", + "localId" : "1444", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1445", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "1446", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "15", + "annotation" : [ ] } - }, { - "localId" : "286", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "AGtB_Quantity_incompatible", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "286", - "s" : [ { - "value" : [ "","define ","AGtB_Quantity_incompatible",": " ] - }, { - "r" : "287", - "s" : [ { - "r" : "288", - "s" : [ { - "value" : [ "5 ","'Cel'" ] - } ] - }, { - "value" : [ " ","<"," " ] - }, { - "r" : "289", - "s" : [ { - "value" : [ "4 ","'m'" ] - } ] - } ] - } ] - } + }, { + "type" : "DateTime", + "localId" : "1464", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1465", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1466", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1467", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] } ], - "expression" : { - "localId" : "287", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "Less", - "signature" : [ { - "localId" : "290", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "291", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "288", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "value" : 5, - "unit" : "Cel", - "type" : "Quantity" - }, { - "localId" : "289", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "value" : 4, - "unit" : "m", - "type" : "Quantity" - } ] + "year" : { + "type" : "Literal", + "localId" : "1456", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1457", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "1458", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "15", + "annotation" : [ ] } - }, { - "localId" : "294", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "AEqB_Quantity_incompatible", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "294", - "s" : [ { - "value" : [ "","define ","AEqB_Quantity_incompatible",": " ] - }, { - "r" : "295", - "s" : [ { - "r" : "296", - "s" : [ { - "value" : [ "5 ","'Cel'" ] - } ] - }, { - "value" : [ " ","<"," " ] - }, { - "r" : "297", - "s" : [ { - "value" : [ "5 ","'m'" ] - } ] - } ] - } ] - } + } ] + } + }, { + "localId" : "1472", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "UneqDateTimesOnlyDate", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "1472", + "s" : [ { + "value" : [ "", "define ", "UneqDateTimesOnlyDate", ": " ] + }, { + "r" : "1473", + "s" : [ { + "r" : "1482", + "s" : [ { + "r" : "1474", + "value" : [ "DateTime", "(", "2000", ", ", "3", ", ", "14", ")" ] + } ] + }, { + "value" : [ " ", "~", " " ] + }, { + "r" : "1494", + "s" : [ { + "r" : "1486", + "value" : [ "DateTime", "(", "2000", ", ", "3", ", ", "15", ")" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Equivalent", + "localId" : "1473", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1498", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1499", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "DateTime", + "localId" : "1482", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1483", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1484", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1485", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] } ], - "expression" : { - "localId" : "295", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "Less", - "signature" : [ { - "localId" : "298", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "299", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "296", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "value" : 5, - "unit" : "Cel", - "type" : "Quantity" - }, { - "localId" : "297", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "value" : 5, - "unit" : "m", - "type" : "Quantity" - } ] + "year" : { + "type" : "Literal", + "localId" : "1474", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1475", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "1476", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "14", + "annotation" : [ ] } - }, { - "localId" : "302", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "ALtB_Quantity_incompatible", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "302", - "s" : [ { - "value" : [ "","define ","ALtB_Quantity_incompatible",": " ] - }, { - "r" : "303", - "s" : [ { - "r" : "304", - "s" : [ { - "value" : [ "5 ","'Cel'" ] - } ] - }, { - "value" : [ " ","<"," " ] - }, { - "r" : "305", - "s" : [ { - "value" : [ "40 ","'m'" ] - } ] - } ] - } ] - } + }, { + "type" : "DateTime", + "localId" : "1494", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1495", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1496", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1497", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] } ], - "expression" : { - "localId" : "303", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "Less", - "signature" : [ { - "localId" : "306", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "307", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "304", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "value" : 5, - "unit" : "Cel", - "type" : "Quantity" - }, { - "localId" : "305", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "value" : 40, - "unit" : "m", - "type" : "Quantity" - } ] + "year" : { + "type" : "Literal", + "localId" : "1486", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1487", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "1488", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "15", + "annotation" : [ ] + } + } ] + } + }, { + "localId" : "1502", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "PossiblyEqDateTimesOnlyDateOnOne", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "1502", + "s" : [ { + "value" : [ "", "define ", "PossiblyEqDateTimesOnlyDateOnOne", ": " ] + }, { + "r" : "1503", + "s" : [ { + "r" : "1512", + "s" : [ { + "r" : "1504", + "value" : [ "DateTime", "(", "2000", ", ", "3", ", ", "13", ")" ] + } ] + }, { + "value" : [ " ", "~", " " ] + }, { + "r" : "1530", + "s" : [ { + "r" : "1516", + "value" : [ "DateTime", "(", "2000", ", ", "3", ", ", "13", ", ", "13", ", ", "43", ", ", "32", ")" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Equivalent", + "localId" : "1503", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1537", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1538", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "DateTime", + "localId" : "1512", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1513", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1514", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1515", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1504", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1505", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "1506", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "13", + "annotation" : [ ] + } + }, { + "type" : "DateTime", + "localId" : "1530", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1531", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1532", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1533", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1534", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1535", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1536", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1516", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1517", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "1518", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "13", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "1519", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "13", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "1520", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "43", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "1521", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "32", + "annotation" : [ ] + } + } ] + } + }, { + "localId" : "1541", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "UneqDateTimesOnlyDateOnOne", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "1541", + "s" : [ { + "value" : [ "", "define ", "UneqDateTimesOnlyDateOnOne", ": " ] + }, { + "r" : "1542", + "s" : [ { + "r" : "1557", + "s" : [ { + "r" : "1543", + "value" : [ "DateTime", "(", "2000", ", ", "4", ", ", "13", ", ", "12", ", ", "43", ", ", "32", ")" ] + } ] + }, { + "value" : [ " ", "~", " " ] + }, { + "r" : "1572", + "s" : [ { + "r" : "1564", + "value" : [ "DateTime", "(", "2000", ", ", "3", ", ", "13", ")" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Equivalent", + "localId" : "1542", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1576", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1577", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "DateTime", + "localId" : "1557", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1558", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1559", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1560", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1561", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1562", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1563", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1543", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1544", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "4", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "1545", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "13", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "1546", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "12", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "1547", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "43", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "1548", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "32", + "annotation" : [ ] + } + }, { + "type" : "DateTime", + "localId" : "1572", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1573", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1574", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1575", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1564", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1565", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "1566", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "13", + "annotation" : [ ] + } + } ] + } + }, { + "localId" : "1580", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "PossiblyEqualDateTimes", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "1580", + "s" : [ { + "value" : [ "", "define ", "PossiblyEqualDateTimes", ": " ] + }, { + "r" : "1581", + "s" : [ { + "r" : "1590", + "s" : [ { + "r" : "1582", + "value" : [ "DateTime", "(", "2000", ", ", "3", ", ", "15", ")" ] + } ] + }, { + "value" : [ " ", "~", " " ] + }, { + "r" : "1598", + "s" : [ { + "r" : "1594", + "value" : [ "DateTime", "(", "2000", ")" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Equivalent", + "localId" : "1581", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1600", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1601", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "DateTime", + "localId" : "1590", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1591", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1592", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1593", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1582", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1583", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "1584", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "15", + "annotation" : [ ] + } + }, { + "type" : "DateTime", + "localId" : "1598", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1599", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1594", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] } - } ] - } - } -} - -/* LessOrEqual -library TestSnippet version '1' -using Simple version '1.0.0' -context Patient -define AGtB_Int: 5 <= 4 -define AEqB_Int: 5 <= 5 -define ALtB_Int: 5 <= 6 -define AGtB_Quantity: 5 'm' <= 4 'm' -define AEqB_Quantity: 5 'm' <= 5 'm' -define ALtB_Quantity: 5 'm' <= 6 'm' -define AGtB_Quantity_diff: 5 'm' <= 4 'm' -define AEqB_Quantity_diff: 5 'm' <= 500 'cm' -define ALtB_Quantity_diff: 5 'm' <= 5 'km' -define AGtB_Quantity_incompatible: 5 'Cel' <= 4 'm' -define AEqB_Quantity_incompatible: 5 'Cel' <= 5 'm' -define ALtB_Quantity_incompatible: 5 'Cel' <= 40 'm' -*/ - -module.exports['LessOrEqual'] = { - "library" : { - "localId" : "0", - "annotation" : [ { - "translatorVersion" : "3.27.0", - "translatorOptions" : "EnableDateRangeOptimization,EnableAnnotations,EnableResultTypes", - "signatureLevel" : "All", - "type" : "CqlToElmInfo" + } ] + } }, { - "type" : "Annotation", - "s" : { - "r" : "302", + "localId" : "1604", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "ImpossiblyEqualDateTimes", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "1604", "s" : [ { - "value" : [ "","library TestSnippet version '1'" ] - } ] - } - } ], - "identifier" : { - "id" : "TestSnippet", - "version" : "1" - }, - "schemaIdentifier" : { - "id" : "urn:hl7-org:elm", - "version" : "r1" - }, - "usings" : { - "def" : [ { - "localId" : "1", - "localIdentifier" : "System", - "uri" : "urn:hl7-org:elm-types:r1" - }, { - "localId" : "206", - "localIdentifier" : "Simple", - "uri" : "https://github.com/cqframework/cql-execution/simple", - "version" : "1.0.0", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "206", - "s" : [ { - "value" : [ "","using " ] - }, { - "s" : [ { - "value" : [ "Simple" ] - } ] - }, { - "value" : [ " version '1.0.0'" ] - } ] - } - } ] - } ] - }, - "contexts" : { - "def" : [ { - "localId" : "211", - "name" : "Patient" - } ] - }, - "statements" : { - "def" : [ { - "localId" : "209", - "name" : "Patient", - "context" : "Patient", - "expression" : { - "localId" : "210", - "type" : "SingletonFrom", - "signature" : [ ], - "operand" : { - "localId" : "208", - "dataType" : "{https://github.com/cqframework/cql-execution/simple}Patient", - "type" : "Retrieve", - "include" : [ ], - "codeFilter" : [ ], - "dateFilter" : [ ], - "otherFilter" : [ ] - } + "value" : [ "", "define ", "ImpossiblyEqualDateTimes", ": " ] + }, { + "r" : "1605", + "s" : [ { + "r" : "1614", + "s" : [ { + "r" : "1606", + "value" : [ "DateTime", "(", "2000", ", ", "3", ", ", "15", ")" ] + } ] + }, { + "value" : [ " ", "~", " " ] + }, { + "r" : "1624", + "s" : [ { + "r" : "1618", + "value" : [ "DateTime", "(", "2000", ", ", "4", ")" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Equivalent", + "localId" : "1605", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1627", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1628", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "DateTime", + "localId" : "1614", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1615", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1616", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1617", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1606", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1607", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "1608", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "15", + "annotation" : [ ] } - }, { - "localId" : "214", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "AGtB_Int", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "214", - "s" : [ { - "value" : [ "","define ","AGtB_Int",": " ] - }, { - "r" : "215", - "s" : [ { - "r" : "216", - "value" : [ "5"," ","<="," ","4" ] - } ] - } ] - } + }, { + "type" : "DateTime", + "localId" : "1624", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1625", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1626", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] } ], - "expression" : { - "localId" : "215", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "LessOrEqual", - "signature" : [ { - "localId" : "218", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "219", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "216", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal" - }, { - "localId" : "217", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "4", - "type" : "Literal" - } ] + "year" : { + "type" : "Literal", + "localId" : "1618", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1619", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "4", + "annotation" : [ ] } - }, { - "localId" : "222", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "AEqB_Int", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "222", - "s" : [ { - "value" : [ "","define ","AEqB_Int",": " ] - }, { - "r" : "223", - "s" : [ { - "r" : "224", - "value" : [ "5"," ","<="," ","5" ] - } ] - } ] - } + } ] + } + }, { + "localId" : "1631", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "DateAndDateTimeTrue", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "1631", + "s" : [ { + "value" : [ "", "define ", "DateAndDateTimeTrue", ": " ] + }, { + "r" : "1632", + "s" : [ { + "r" : "1641", + "s" : [ { + "r" : "1633", + "value" : [ "Date", "(", "2000", ", ", "3", ", ", "13", ")" ] + } ] + }, { + "value" : [ " ", "~", " " ] + }, { + "r" : "1653", + "s" : [ { + "r" : "1645", + "value" : [ "DateTime", "(", "2000", ", ", "3", ", ", "13", ")" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Equivalent", + "localId" : "1632", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1660", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1661", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "ToDateTime", + "localId" : "1658", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1659", + "name" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ] } ], - "expression" : { - "localId" : "223", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "LessOrEqual", - "signature" : [ { - "localId" : "226", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "227", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "224", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal" - }, { - "localId" : "225", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal" - } ] + "operand" : { + "type" : "Date", + "localId" : "1641", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1642", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1643", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1644", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1633", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1634", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "1635", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "13", + "annotation" : [ ] + } } - }, { - "localId" : "230", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "ALtB_Int", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "230", - "s" : [ { - "value" : [ "","define ","ALtB_Int",": " ] - }, { - "r" : "231", - "s" : [ { - "r" : "232", - "value" : [ "5"," ","<="," ","6" ] - } ] - } ] - } + }, { + "type" : "DateTime", + "localId" : "1653", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1654", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1655", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1656", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] } ], - "expression" : { - "localId" : "231", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "LessOrEqual", - "signature" : [ { - "localId" : "234", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "235", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "232", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal" - }, { - "localId" : "233", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "6", - "type" : "Literal" - } ] + "year" : { + "type" : "Literal", + "localId" : "1645", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1646", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "1647", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "13", + "annotation" : [ ] } - }, { - "localId" : "238", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "AGtB_Quantity", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "238", - "s" : [ { - "value" : [ "","define ","AGtB_Quantity",": " ] - }, { - "r" : "239", - "s" : [ { - "r" : "240", - "s" : [ { - "value" : [ "5 ","'m'" ] - } ] - }, { - "value" : [ " ","<="," " ] - }, { - "r" : "241", - "s" : [ { - "value" : [ "4 ","'m'" ] - } ] - } ] - } ] - } + } ] + } + }, { + "localId" : "1664", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "DateAndDateTimeNotEqual", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "1664", + "s" : [ { + "value" : [ "", "define ", "DateAndDateTimeNotEqual", ": " ] + }, { + "r" : "1665", + "s" : [ { + "r" : "1674", + "s" : [ { + "r" : "1666", + "value" : [ "Date", "(", "2000", ", ", "3", ", ", "13", ")" ] + } ] + }, { + "value" : [ " ", "~", " " ] + }, { + "r" : "1686", + "s" : [ { + "r" : "1678", + "value" : [ "DateTime", "(", "2000", ", ", "3", ", ", "12", ")" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Equivalent", + "localId" : "1665", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1693", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1694", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "ToDateTime", + "localId" : "1691", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1692", + "name" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ] } ], - "expression" : { - "localId" : "239", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "LessOrEqual", - "signature" : [ { - "localId" : "242", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "243", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "240", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "value" : 5, - "unit" : "m", - "type" : "Quantity" - }, { - "localId" : "241", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "value" : 4, - "unit" : "m", - "type" : "Quantity" - } ] + "operand" : { + "type" : "Date", + "localId" : "1674", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1675", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1676", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1677", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1666", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1667", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "1668", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "13", + "annotation" : [ ] + } } - }, { - "localId" : "246", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "AEqB_Quantity", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "246", - "s" : [ { - "value" : [ "","define ","AEqB_Quantity",": " ] - }, { - "r" : "247", - "s" : [ { - "r" : "248", - "s" : [ { - "value" : [ "5 ","'m'" ] - } ] - }, { - "value" : [ " ","<="," " ] - }, { - "r" : "249", - "s" : [ { - "value" : [ "5 ","'m'" ] - } ] - } ] - } ] - } + }, { + "type" : "DateTime", + "localId" : "1686", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1687", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1688", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1689", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] } ], - "expression" : { - "localId" : "247", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "LessOrEqual", - "signature" : [ { - "localId" : "250", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "251", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "248", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "value" : 5, - "unit" : "m", - "type" : "Quantity" - }, { - "localId" : "249", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "value" : 5, - "unit" : "m", - "type" : "Quantity" - } ] + "year" : { + "type" : "Literal", + "localId" : "1678", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1679", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "1680", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "12", + "annotation" : [ ] } - }, { - "localId" : "254", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "ALtB_Quantity", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "254", - "s" : [ { - "value" : [ "","define ","ALtB_Quantity",": " ] - }, { - "r" : "255", - "s" : [ { - "r" : "256", - "s" : [ { - "value" : [ "5 ","'m'" ] - } ] - }, { - "value" : [ " ","<="," " ] - }, { - "r" : "257", - "s" : [ { - "value" : [ "6 ","'m'" ] - } ] - } ] - } ] - } + } ] + } + }, { + "localId" : "1697", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "DateAndDateTimeUncertainFalse", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "1697", + "s" : [ { + "value" : [ "", "define ", "DateAndDateTimeUncertainFalse", ": " ] + }, { + "r" : "1698", + "s" : [ { + "r" : "1707", + "s" : [ { + "r" : "1699", + "value" : [ "Date", "(", "2000", ", ", "3", ", ", "13", ")" ] + } ] + }, { + "value" : [ " ", "~", " " ] + }, { + "r" : "1725", + "s" : [ { + "r" : "1711", + "value" : [ "DateTime", "(", "2000", ", ", "3", ", ", "13", ", ", "2", ", ", "4", ", ", "23", ")" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Equivalent", + "localId" : "1698", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1735", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1736", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "ToDateTime", + "localId" : "1733", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1734", + "name" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ] } ], - "expression" : { - "localId" : "255", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "LessOrEqual", - "signature" : [ { - "localId" : "258", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "259", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "256", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "value" : 5, - "unit" : "m", - "type" : "Quantity" - }, { - "localId" : "257", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "value" : 6, - "unit" : "m", - "type" : "Quantity" - } ] + "operand" : { + "type" : "Date", + "localId" : "1707", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1708", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1709", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1710", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1699", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1700", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "1701", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "13", + "annotation" : [ ] + } } - }, { - "localId" : "262", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "AGtB_Quantity_diff", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "262", - "s" : [ { - "value" : [ "","define ","AGtB_Quantity_diff",": " ] - }, { - "r" : "263", - "s" : [ { - "r" : "264", - "s" : [ { - "value" : [ "5 ","'m'" ] - } ] - }, { - "value" : [ " ","<="," " ] - }, { - "r" : "265", - "s" : [ { - "value" : [ "4 ","'m'" ] - } ] - } ] - } ] - } + }, { + "type" : "DateTime", + "localId" : "1725", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1726", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1727", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1728", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1729", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1730", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1731", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] } ], - "expression" : { - "localId" : "263", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "LessOrEqual", - "signature" : [ { - "localId" : "266", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "267", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "264", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "value" : 5, - "unit" : "m", - "type" : "Quantity" - }, { - "localId" : "265", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "value" : 4, - "unit" : "m", - "type" : "Quantity" - } ] + "year" : { + "type" : "Literal", + "localId" : "1711", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1712", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "1713", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "13", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "1714", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "1715", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "4", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "1716", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "23", + "annotation" : [ ] } - }, { - "localId" : "270", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "AEqB_Quantity_diff", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "270", - "s" : [ { - "value" : [ "","define ","AEqB_Quantity_diff",": " ] - }, { - "r" : "271", - "s" : [ { - "r" : "272", - "s" : [ { - "value" : [ "5 ","'m'" ] - } ] - }, { - "value" : [ " ","<="," " ] - }, { - "r" : "273", - "s" : [ { - "value" : [ "500 ","'cm'" ] - } ] - } ] - } ] - } + } ] + } + }, { + "localId" : "1739", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "DateTimeAndDateTrue", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "1739", + "s" : [ { + "value" : [ "", "define ", "DateTimeAndDateTrue", ": " ] + }, { + "r" : "1740", + "s" : [ { + "r" : "1749", + "s" : [ { + "r" : "1741", + "value" : [ "DateTime", "(", "2000", ", ", "3", ", ", "13", ")" ] + } ] + }, { + "value" : [ " ", "~", " " ] + }, { + "r" : "1761", + "s" : [ { + "r" : "1753", + "value" : [ "Date", "(", "2000", ", ", "3", ", ", "13", ")" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Equivalent", + "localId" : "1740", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1768", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1769", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "DateTime", + "localId" : "1749", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1750", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1751", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1752", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] } ], - "expression" : { - "localId" : "271", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "LessOrEqual", - "signature" : [ { - "localId" : "274", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "275", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "272", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "value" : 5, - "unit" : "m", - "type" : "Quantity" - }, { - "localId" : "273", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "value" : 500, - "unit" : "cm", - "type" : "Quantity" - } ] + "year" : { + "type" : "Literal", + "localId" : "1741", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1742", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "1743", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "13", + "annotation" : [ ] } - }, { - "localId" : "278", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "ALtB_Quantity_diff", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "278", - "s" : [ { - "value" : [ "","define ","ALtB_Quantity_diff",": " ] - }, { - "r" : "279", - "s" : [ { - "r" : "280", - "s" : [ { - "value" : [ "5 ","'m'" ] - } ] - }, { - "value" : [ " ","<="," " ] - }, { - "r" : "281", - "s" : [ { - "value" : [ "5 ","'km'" ] - } ] - } ] - } ] - } + }, { + "type" : "ToDateTime", + "localId" : "1766", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1767", + "name" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ] } ], - "expression" : { - "localId" : "279", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "LessOrEqual", - "signature" : [ { - "localId" : "282", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "283", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "280", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "value" : 5, - "unit" : "m", - "type" : "Quantity" - }, { - "localId" : "281", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "value" : 5, - "unit" : "km", - "type" : "Quantity" - } ] + "operand" : { + "type" : "Date", + "localId" : "1761", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1762", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1763", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1764", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1753", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1754", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "1755", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "13", + "annotation" : [ ] + } } - }, { - "localId" : "286", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "AGtB_Quantity_incompatible", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "286", - "s" : [ { - "value" : [ "","define ","AGtB_Quantity_incompatible",": " ] - }, { - "r" : "287", - "s" : [ { - "r" : "288", - "s" : [ { - "value" : [ "5 ","'Cel'" ] - } ] - }, { - "value" : [ " ","<="," " ] - }, { - "r" : "289", - "s" : [ { - "value" : [ "4 ","'m'" ] - } ] - } ] - } ] - } + } ] + } + }, { + "localId" : "1772", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "DateTimeAndDateNotEqual", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "1772", + "s" : [ { + "value" : [ "", "define ", "DateTimeAndDateNotEqual", ": " ] + }, { + "r" : "1773", + "s" : [ { + "r" : "1782", + "s" : [ { + "r" : "1774", + "value" : [ "DateTime", "(", "2000", ", ", "3", ", ", "12", ")" ] + } ] + }, { + "value" : [ " ", "~", " " ] + }, { + "r" : "1794", + "s" : [ { + "r" : "1786", + "value" : [ "Date", "(", "2000", ", ", "3", ", ", "13", ")" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Equivalent", + "localId" : "1773", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1801", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1802", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "DateTime", + "localId" : "1782", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1783", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1784", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1785", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] } ], - "expression" : { - "localId" : "287", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "LessOrEqual", - "signature" : [ { - "localId" : "290", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "291", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "288", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "value" : 5, - "unit" : "Cel", - "type" : "Quantity" - }, { - "localId" : "289", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "value" : 4, - "unit" : "m", - "type" : "Quantity" - } ] + "year" : { + "type" : "Literal", + "localId" : "1774", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1775", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "1776", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "12", + "annotation" : [ ] } - }, { - "localId" : "294", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "AEqB_Quantity_incompatible", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "294", - "s" : [ { - "value" : [ "","define ","AEqB_Quantity_incompatible",": " ] - }, { - "r" : "295", - "s" : [ { - "r" : "296", - "s" : [ { - "value" : [ "5 ","'Cel'" ] - } ] - }, { - "value" : [ " ","<="," " ] - }, { - "r" : "297", - "s" : [ { - "value" : [ "5 ","'m'" ] - } ] - } ] - } ] - } + }, { + "type" : "ToDateTime", + "localId" : "1799", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1800", + "name" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ] } ], - "expression" : { - "localId" : "295", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "LessOrEqual", - "signature" : [ { - "localId" : "298", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "299", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "296", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "value" : 5, - "unit" : "Cel", - "type" : "Quantity" - }, { - "localId" : "297", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "value" : 5, - "unit" : "m", - "type" : "Quantity" - } ] + "operand" : { + "type" : "Date", + "localId" : "1794", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1795", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1796", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1797", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1786", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1787", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "1788", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "13", + "annotation" : [ ] + } } - }, { - "localId" : "302", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "ALtB_Quantity_incompatible", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "302", - "s" : [ { - "value" : [ "","define ","ALtB_Quantity_incompatible",": " ] - }, { - "r" : "303", - "s" : [ { - "r" : "304", - "s" : [ { - "value" : [ "5 ","'Cel'" ] - } ] - }, { - "value" : [ " ","<="," " ] - }, { - "r" : "305", - "s" : [ { - "value" : [ "40 ","'m'" ] - } ] - } ] - } ] - } + } ] + } + }, { + "localId" : "1805", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "DateTimeAndDateUncertainFalse", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "1805", + "s" : [ { + "value" : [ "", "define ", "DateTimeAndDateUncertainFalse", ": " ] + }, { + "r" : "1806", + "s" : [ { + "r" : "1821", + "s" : [ { + "r" : "1807", + "value" : [ "DateTime", "(", "2000", ", ", "3", ", ", "13", ", ", "2", ", ", "4", ", ", "23", ")" ] + } ] + }, { + "value" : [ " ", "~", " " ] + }, { + "r" : "1836", + "s" : [ { + "r" : "1828", + "value" : [ "Date", "(", "2000", ", ", "3", ", ", "13", ")" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Equivalent", + "localId" : "1806", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1843", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1844", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "DateTime", + "localId" : "1821", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1822", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1823", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1824", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1825", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1826", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1827", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] } ], - "expression" : { - "localId" : "303", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "LessOrEqual", - "signature" : [ { - "localId" : "306", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "307", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "304", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "value" : 5, - "unit" : "Cel", - "type" : "Quantity" - }, { - "localId" : "305", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "value" : 40, - "unit" : "m", - "type" : "Quantity" - } ] + "year" : { + "type" : "Literal", + "localId" : "1807", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1808", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "1809", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "13", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "1810", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "1811", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "4", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "1812", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "23", + "annotation" : [ ] + } + }, { + "type" : "ToDateTime", + "localId" : "1841", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1842", + "name" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ] + } ], + "operand" : { + "type" : "Date", + "localId" : "1836", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1837", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1838", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1839", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1828", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1829", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "1830", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "13", + "annotation" : [ ] + } } - } ] + } ] + } + } ] + } + } +} + +/* Less +library TestSnippet version '1' +using Simple version '1.0.0' +context Patient +define AGtB_Int: 5 < 4 +define AEqB_Int: 5 < 5 +define ALtB_Int: 5 < 6 +define AGtB_Quantity: 5 'm' < 4 'm' +define AEqB_Quantity: 5 'm' < 5 'm' +define ALtB_Quantity: 5 'm' < 6 'm' +define AGtB_Quantity_diff: 5 'm' < 5 'cm' +define AEqB_Quantity_diff: 5 'm' < 500 'cm' +define ALtB_Quantity_diff: 5 'm' < 5 'km' +define AGtB_Quantity_incompatible: 5 'Cel' < 4 'm' +define AEqB_Quantity_incompatible: 5 'Cel' < 5 'm' +define ALtB_Quantity_incompatible: 5 'Cel' < 40 'm' +*/ + +module.exports['Less'] = { + "library" : { + "localId" : "0", + "annotation" : [ { + "type" : "CqlToElmInfo", + "translatorVersion" : "4.2.0", + "translatorOptions" : "EnableDateRangeOptimization,EnableAnnotations,EnableResultTypes", + "signatureLevel" : "All" + }, { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "302", + "s" : [ { + "value" : [ "", "library TestSnippet version '1'" ] + } ] + } + } ], + "identifier" : { + "id" : "TestSnippet", + "version" : "1" + }, + "schemaIdentifier" : { + "id" : "urn:hl7-org:elm", + "version" : "r1" + }, + "usings" : { + "def" : [ { + "localId" : "1", + "localIdentifier" : "System", + "uri" : "urn:hl7-org:elm-types:r1", + "annotation" : [ ] + }, { + "localId" : "206", + "localIdentifier" : "Simple", + "uri" : "https://github.com/cqframework/cql-execution/simple", + "version" : "1.0.0", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "206", + "s" : [ { + "value" : [ "", "using " ] + }, { + "s" : [ { + "value" : [ "Simple" ] + } ] + }, { + "value" : [ " version '1.0.0'" ] + } ] + } + } ] + } ] + }, + "contexts" : { + "def" : [ { + "localId" : "211", + "name" : "Patient", + "annotation" : [ ] + } ] + }, + "statements" : { + "def" : [ { + "localId" : "209", + "name" : "Patient", + "context" : "Patient", + "annotation" : [ ], + "expression" : { + "type" : "SingletonFrom", + "localId" : "210", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Retrieve", + "localId" : "208", + "dataType" : "{https://github.com/cqframework/cql-execution/simple}Patient", + "annotation" : [ ], + "include" : [ ], + "codeFilter" : [ ], + "dateFilter" : [ ], + "otherFilter" : [ ] + } + } + }, { + "localId" : "214", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "AGtB_Int", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "214", + "s" : [ { + "value" : [ "", "define ", "AGtB_Int", ": " ] + }, { + "r" : "215", + "s" : [ { + "r" : "216", + "value" : [ "5", " ", "<", " ", "4" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Less", + "localId" : "215", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "218", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "219", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "Literal", + "localId" : "216", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "5", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "217", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "4", + "annotation" : [ ] + } ] + } + }, { + "localId" : "222", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "AEqB_Int", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "222", + "s" : [ { + "value" : [ "", "define ", "AEqB_Int", ": " ] + }, { + "r" : "223", + "s" : [ { + "r" : "224", + "value" : [ "5", " ", "<", " ", "5" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Less", + "localId" : "223", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "226", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "227", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "Literal", + "localId" : "224", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "5", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "225", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "5", + "annotation" : [ ] + } ] + } + }, { + "localId" : "230", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "ALtB_Int", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "230", + "s" : [ { + "value" : [ "", "define ", "ALtB_Int", ": " ] + }, { + "r" : "231", + "s" : [ { + "r" : "232", + "value" : [ "5", " ", "<", " ", "6" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Less", + "localId" : "231", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "234", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "235", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "Literal", + "localId" : "232", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "5", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "233", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "6", + "annotation" : [ ] + } ] + } + }, { + "localId" : "238", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "AGtB_Quantity", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "238", + "s" : [ { + "value" : [ "", "define ", "AGtB_Quantity", ": " ] + }, { + "r" : "239", + "s" : [ { + "r" : "240", + "s" : [ { + "value" : [ "5 ", "'m'" ] + } ] + }, { + "value" : [ " ", "<", " " ] + }, { + "r" : "241", + "s" : [ { + "value" : [ "4 ", "'m'" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Less", + "localId" : "239", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "242", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "243", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "Quantity", + "localId" : "240", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "value" : 5, + "unit" : "m", + "annotation" : [ ] + }, { + "type" : "Quantity", + "localId" : "241", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "value" : 4, + "unit" : "m", + "annotation" : [ ] + } ] + } + }, { + "localId" : "246", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "AEqB_Quantity", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "246", + "s" : [ { + "value" : [ "", "define ", "AEqB_Quantity", ": " ] + }, { + "r" : "247", + "s" : [ { + "r" : "248", + "s" : [ { + "value" : [ "5 ", "'m'" ] + } ] + }, { + "value" : [ " ", "<", " " ] + }, { + "r" : "249", + "s" : [ { + "value" : [ "5 ", "'m'" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Less", + "localId" : "247", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "250", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "251", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "Quantity", + "localId" : "248", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "value" : 5, + "unit" : "m", + "annotation" : [ ] + }, { + "type" : "Quantity", + "localId" : "249", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "value" : 5, + "unit" : "m", + "annotation" : [ ] + } ] + } + }, { + "localId" : "254", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "ALtB_Quantity", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "254", + "s" : [ { + "value" : [ "", "define ", "ALtB_Quantity", ": " ] + }, { + "r" : "255", + "s" : [ { + "r" : "256", + "s" : [ { + "value" : [ "5 ", "'m'" ] + } ] + }, { + "value" : [ " ", "<", " " ] + }, { + "r" : "257", + "s" : [ { + "value" : [ "6 ", "'m'" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Less", + "localId" : "255", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "258", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "259", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "Quantity", + "localId" : "256", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "value" : 5, + "unit" : "m", + "annotation" : [ ] + }, { + "type" : "Quantity", + "localId" : "257", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "value" : 6, + "unit" : "m", + "annotation" : [ ] + } ] + } + }, { + "localId" : "262", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "AGtB_Quantity_diff", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "262", + "s" : [ { + "value" : [ "", "define ", "AGtB_Quantity_diff", ": " ] + }, { + "r" : "263", + "s" : [ { + "r" : "264", + "s" : [ { + "value" : [ "5 ", "'m'" ] + } ] + }, { + "value" : [ " ", "<", " " ] + }, { + "r" : "265", + "s" : [ { + "value" : [ "5 ", "'cm'" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Less", + "localId" : "263", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "266", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "267", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "Quantity", + "localId" : "264", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "value" : 5, + "unit" : "m", + "annotation" : [ ] + }, { + "type" : "Quantity", + "localId" : "265", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "value" : 5, + "unit" : "cm", + "annotation" : [ ] + } ] + } + }, { + "localId" : "270", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "AEqB_Quantity_diff", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "270", + "s" : [ { + "value" : [ "", "define ", "AEqB_Quantity_diff", ": " ] + }, { + "r" : "271", + "s" : [ { + "r" : "272", + "s" : [ { + "value" : [ "5 ", "'m'" ] + } ] + }, { + "value" : [ " ", "<", " " ] + }, { + "r" : "273", + "s" : [ { + "value" : [ "500 ", "'cm'" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Less", + "localId" : "271", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "274", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "275", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "Quantity", + "localId" : "272", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "value" : 5, + "unit" : "m", + "annotation" : [ ] + }, { + "type" : "Quantity", + "localId" : "273", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "value" : 500, + "unit" : "cm", + "annotation" : [ ] + } ] + } + }, { + "localId" : "278", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "ALtB_Quantity_diff", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "278", + "s" : [ { + "value" : [ "", "define ", "ALtB_Quantity_diff", ": " ] + }, { + "r" : "279", + "s" : [ { + "r" : "280", + "s" : [ { + "value" : [ "5 ", "'m'" ] + } ] + }, { + "value" : [ " ", "<", " " ] + }, { + "r" : "281", + "s" : [ { + "value" : [ "5 ", "'km'" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Less", + "localId" : "279", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "282", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "283", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "Quantity", + "localId" : "280", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "value" : 5, + "unit" : "m", + "annotation" : [ ] + }, { + "type" : "Quantity", + "localId" : "281", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "value" : 5, + "unit" : "km", + "annotation" : [ ] + } ] + } + }, { + "localId" : "286", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "AGtB_Quantity_incompatible", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "286", + "s" : [ { + "value" : [ "", "define ", "AGtB_Quantity_incompatible", ": " ] + }, { + "r" : "287", + "s" : [ { + "r" : "288", + "s" : [ { + "value" : [ "5 ", "'Cel'" ] + } ] + }, { + "value" : [ " ", "<", " " ] + }, { + "r" : "289", + "s" : [ { + "value" : [ "4 ", "'m'" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Less", + "localId" : "287", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "290", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "291", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "Quantity", + "localId" : "288", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "value" : 5, + "unit" : "Cel", + "annotation" : [ ] + }, { + "type" : "Quantity", + "localId" : "289", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "value" : 4, + "unit" : "m", + "annotation" : [ ] + } ] + } + }, { + "localId" : "294", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "AEqB_Quantity_incompatible", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "294", + "s" : [ { + "value" : [ "", "define ", "AEqB_Quantity_incompatible", ": " ] + }, { + "r" : "295", + "s" : [ { + "r" : "296", + "s" : [ { + "value" : [ "5 ", "'Cel'" ] + } ] + }, { + "value" : [ " ", "<", " " ] + }, { + "r" : "297", + "s" : [ { + "value" : [ "5 ", "'m'" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Less", + "localId" : "295", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "298", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "299", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "Quantity", + "localId" : "296", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "value" : 5, + "unit" : "Cel", + "annotation" : [ ] + }, { + "type" : "Quantity", + "localId" : "297", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "value" : 5, + "unit" : "m", + "annotation" : [ ] + } ] + } + }, { + "localId" : "302", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "ALtB_Quantity_incompatible", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "302", + "s" : [ { + "value" : [ "", "define ", "ALtB_Quantity_incompatible", ": " ] + }, { + "r" : "303", + "s" : [ { + "r" : "304", + "s" : [ { + "value" : [ "5 ", "'Cel'" ] + } ] + }, { + "value" : [ " ", "<", " " ] + }, { + "r" : "305", + "s" : [ { + "value" : [ "40 ", "'m'" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Less", + "localId" : "303", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "306", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "307", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "Quantity", + "localId" : "304", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "value" : 5, + "unit" : "Cel", + "annotation" : [ ] + }, { + "type" : "Quantity", + "localId" : "305", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "value" : 40, + "unit" : "m", + "annotation" : [ ] + } ] + } + } ] + } + } +} + +/* LessOrEqual +library TestSnippet version '1' +using Simple version '1.0.0' +context Patient +define AGtB_Int: 5 <= 4 +define AEqB_Int: 5 <= 5 +define ALtB_Int: 5 <= 6 +define AGtB_Quantity: 5 'm' <= 4 'm' +define AEqB_Quantity: 5 'm' <= 5 'm' +define ALtB_Quantity: 5 'm' <= 6 'm' +define AGtB_Quantity_diff: 5 'm' <= 4 'm' +define AEqB_Quantity_diff: 5 'm' <= 500 'cm' +define ALtB_Quantity_diff: 5 'm' <= 5 'km' +define AGtB_Quantity_incompatible: 5 'Cel' <= 4 'm' +define AEqB_Quantity_incompatible: 5 'Cel' <= 5 'm' +define ALtB_Quantity_incompatible: 5 'Cel' <= 40 'm' +*/ + +module.exports['LessOrEqual'] = { + "library" : { + "localId" : "0", + "annotation" : [ { + "type" : "CqlToElmInfo", + "translatorVersion" : "4.2.0", + "translatorOptions" : "EnableDateRangeOptimization,EnableAnnotations,EnableResultTypes", + "signatureLevel" : "All" + }, { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "302", + "s" : [ { + "value" : [ "", "library TestSnippet version '1'" ] + } ] } - } + } ], + "identifier" : { + "id" : "TestSnippet", + "version" : "1" + }, + "schemaIdentifier" : { + "id" : "urn:hl7-org:elm", + "version" : "r1" + }, + "usings" : { + "def" : [ { + "localId" : "1", + "localIdentifier" : "System", + "uri" : "urn:hl7-org:elm-types:r1", + "annotation" : [ ] + }, { + "localId" : "206", + "localIdentifier" : "Simple", + "uri" : "https://github.com/cqframework/cql-execution/simple", + "version" : "1.0.0", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "206", + "s" : [ { + "value" : [ "", "using " ] + }, { + "s" : [ { + "value" : [ "Simple" ] + } ] + }, { + "value" : [ " version '1.0.0'" ] + } ] + } + } ] + } ] + }, + "contexts" : { + "def" : [ { + "localId" : "211", + "name" : "Patient", + "annotation" : [ ] + } ] + }, + "statements" : { + "def" : [ { + "localId" : "209", + "name" : "Patient", + "context" : "Patient", + "annotation" : [ ], + "expression" : { + "type" : "SingletonFrom", + "localId" : "210", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Retrieve", + "localId" : "208", + "dataType" : "{https://github.com/cqframework/cql-execution/simple}Patient", + "annotation" : [ ], + "include" : [ ], + "codeFilter" : [ ], + "dateFilter" : [ ], + "otherFilter" : [ ] + } + } + }, { + "localId" : "214", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "AGtB_Int", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "214", + "s" : [ { + "value" : [ "", "define ", "AGtB_Int", ": " ] + }, { + "r" : "215", + "s" : [ { + "r" : "216", + "value" : [ "5", " ", "<=", " ", "4" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "LessOrEqual", + "localId" : "215", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "218", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "219", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "Literal", + "localId" : "216", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "5", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "217", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "4", + "annotation" : [ ] + } ] + } + }, { + "localId" : "222", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "AEqB_Int", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "222", + "s" : [ { + "value" : [ "", "define ", "AEqB_Int", ": " ] + }, { + "r" : "223", + "s" : [ { + "r" : "224", + "value" : [ "5", " ", "<=", " ", "5" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "LessOrEqual", + "localId" : "223", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "226", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "227", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "Literal", + "localId" : "224", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "5", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "225", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "5", + "annotation" : [ ] + } ] + } + }, { + "localId" : "230", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "ALtB_Int", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "230", + "s" : [ { + "value" : [ "", "define ", "ALtB_Int", ": " ] + }, { + "r" : "231", + "s" : [ { + "r" : "232", + "value" : [ "5", " ", "<=", " ", "6" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "LessOrEqual", + "localId" : "231", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "234", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "235", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "Literal", + "localId" : "232", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "5", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "233", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "6", + "annotation" : [ ] + } ] + } + }, { + "localId" : "238", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "AGtB_Quantity", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "238", + "s" : [ { + "value" : [ "", "define ", "AGtB_Quantity", ": " ] + }, { + "r" : "239", + "s" : [ { + "r" : "240", + "s" : [ { + "value" : [ "5 ", "'m'" ] + } ] + }, { + "value" : [ " ", "<=", " " ] + }, { + "r" : "241", + "s" : [ { + "value" : [ "4 ", "'m'" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "LessOrEqual", + "localId" : "239", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "242", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "243", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "Quantity", + "localId" : "240", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "value" : 5, + "unit" : "m", + "annotation" : [ ] + }, { + "type" : "Quantity", + "localId" : "241", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "value" : 4, + "unit" : "m", + "annotation" : [ ] + } ] + } + }, { + "localId" : "246", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "AEqB_Quantity", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "246", + "s" : [ { + "value" : [ "", "define ", "AEqB_Quantity", ": " ] + }, { + "r" : "247", + "s" : [ { + "r" : "248", + "s" : [ { + "value" : [ "5 ", "'m'" ] + } ] + }, { + "value" : [ " ", "<=", " " ] + }, { + "r" : "249", + "s" : [ { + "value" : [ "5 ", "'m'" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "LessOrEqual", + "localId" : "247", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "250", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "251", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "Quantity", + "localId" : "248", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "value" : 5, + "unit" : "m", + "annotation" : [ ] + }, { + "type" : "Quantity", + "localId" : "249", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "value" : 5, + "unit" : "m", + "annotation" : [ ] + } ] + } + }, { + "localId" : "254", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "ALtB_Quantity", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "254", + "s" : [ { + "value" : [ "", "define ", "ALtB_Quantity", ": " ] + }, { + "r" : "255", + "s" : [ { + "r" : "256", + "s" : [ { + "value" : [ "5 ", "'m'" ] + } ] + }, { + "value" : [ " ", "<=", " " ] + }, { + "r" : "257", + "s" : [ { + "value" : [ "6 ", "'m'" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "LessOrEqual", + "localId" : "255", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "258", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "259", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "Quantity", + "localId" : "256", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "value" : 5, + "unit" : "m", + "annotation" : [ ] + }, { + "type" : "Quantity", + "localId" : "257", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "value" : 6, + "unit" : "m", + "annotation" : [ ] + } ] + } + }, { + "localId" : "262", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "AGtB_Quantity_diff", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "262", + "s" : [ { + "value" : [ "", "define ", "AGtB_Quantity_diff", ": " ] + }, { + "r" : "263", + "s" : [ { + "r" : "264", + "s" : [ { + "value" : [ "5 ", "'m'" ] + } ] + }, { + "value" : [ " ", "<=", " " ] + }, { + "r" : "265", + "s" : [ { + "value" : [ "4 ", "'m'" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "LessOrEqual", + "localId" : "263", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "266", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "267", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "Quantity", + "localId" : "264", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "value" : 5, + "unit" : "m", + "annotation" : [ ] + }, { + "type" : "Quantity", + "localId" : "265", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "value" : 4, + "unit" : "m", + "annotation" : [ ] + } ] + } + }, { + "localId" : "270", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "AEqB_Quantity_diff", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "270", + "s" : [ { + "value" : [ "", "define ", "AEqB_Quantity_diff", ": " ] + }, { + "r" : "271", + "s" : [ { + "r" : "272", + "s" : [ { + "value" : [ "5 ", "'m'" ] + } ] + }, { + "value" : [ " ", "<=", " " ] + }, { + "r" : "273", + "s" : [ { + "value" : [ "500 ", "'cm'" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "LessOrEqual", + "localId" : "271", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "274", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "275", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "Quantity", + "localId" : "272", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "value" : 5, + "unit" : "m", + "annotation" : [ ] + }, { + "type" : "Quantity", + "localId" : "273", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "value" : 500, + "unit" : "cm", + "annotation" : [ ] + } ] + } + }, { + "localId" : "278", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "ALtB_Quantity_diff", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "278", + "s" : [ { + "value" : [ "", "define ", "ALtB_Quantity_diff", ": " ] + }, { + "r" : "279", + "s" : [ { + "r" : "280", + "s" : [ { + "value" : [ "5 ", "'m'" ] + } ] + }, { + "value" : [ " ", "<=", " " ] + }, { + "r" : "281", + "s" : [ { + "value" : [ "5 ", "'km'" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "LessOrEqual", + "localId" : "279", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "282", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "283", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "Quantity", + "localId" : "280", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "value" : 5, + "unit" : "m", + "annotation" : [ ] + }, { + "type" : "Quantity", + "localId" : "281", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "value" : 5, + "unit" : "km", + "annotation" : [ ] + } ] + } + }, { + "localId" : "286", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "AGtB_Quantity_incompatible", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "286", + "s" : [ { + "value" : [ "", "define ", "AGtB_Quantity_incompatible", ": " ] + }, { + "r" : "287", + "s" : [ { + "r" : "288", + "s" : [ { + "value" : [ "5 ", "'Cel'" ] + } ] + }, { + "value" : [ " ", "<=", " " ] + }, { + "r" : "289", + "s" : [ { + "value" : [ "4 ", "'m'" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "LessOrEqual", + "localId" : "287", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "290", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "291", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "Quantity", + "localId" : "288", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "value" : 5, + "unit" : "Cel", + "annotation" : [ ] + }, { + "type" : "Quantity", + "localId" : "289", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "value" : 4, + "unit" : "m", + "annotation" : [ ] + } ] + } + }, { + "localId" : "294", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "AEqB_Quantity_incompatible", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "294", + "s" : [ { + "value" : [ "", "define ", "AEqB_Quantity_incompatible", ": " ] + }, { + "r" : "295", + "s" : [ { + "r" : "296", + "s" : [ { + "value" : [ "5 ", "'Cel'" ] + } ] + }, { + "value" : [ " ", "<=", " " ] + }, { + "r" : "297", + "s" : [ { + "value" : [ "5 ", "'m'" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "LessOrEqual", + "localId" : "295", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "298", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "299", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "Quantity", + "localId" : "296", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "value" : 5, + "unit" : "Cel", + "annotation" : [ ] + }, { + "type" : "Quantity", + "localId" : "297", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "value" : 5, + "unit" : "m", + "annotation" : [ ] + } ] + } + }, { + "localId" : "302", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "ALtB_Quantity_incompatible", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "302", + "s" : [ { + "value" : [ "", "define ", "ALtB_Quantity_incompatible", ": " ] + }, { + "r" : "303", + "s" : [ { + "r" : "304", + "s" : [ { + "value" : [ "5 ", "'Cel'" ] + } ] + }, { + "value" : [ " ", "<=", " " ] + }, { + "r" : "305", + "s" : [ { + "value" : [ "40 ", "'m'" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "LessOrEqual", + "localId" : "303", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "306", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "307", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "Quantity", + "localId" : "304", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "value" : 5, + "unit" : "Cel", + "annotation" : [ ] + }, { + "type" : "Quantity", + "localId" : "305", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "value" : 40, + "unit" : "m", + "annotation" : [ ] + } ] + } + } ] + } + } } /* Greater @@ -21293,742 +24237,821 @@ define ALtB_Quantity_incompatible: 5 'Cel' > 40 'm' */ module.exports['Greater'] = { - "library" : { - "localId" : "0", - "annotation" : [ { - "translatorVersion" : "3.27.0", - "translatorOptions" : "EnableDateRangeOptimization,EnableAnnotations,EnableResultTypes", - "signatureLevel" : "All", - "type" : "CqlToElmInfo" + "library" : { + "localId" : "0", + "annotation" : [ { + "type" : "CqlToElmInfo", + "translatorVersion" : "4.2.0", + "translatorOptions" : "EnableDateRangeOptimization,EnableAnnotations,EnableResultTypes", + "signatureLevel" : "All" + }, { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "302", + "s" : [ { + "value" : [ "", "library TestSnippet version '1'" ] + } ] + } + } ], + "identifier" : { + "id" : "TestSnippet", + "version" : "1" + }, + "schemaIdentifier" : { + "id" : "urn:hl7-org:elm", + "version" : "r1" + }, + "usings" : { + "def" : [ { + "localId" : "1", + "localIdentifier" : "System", + "uri" : "urn:hl7-org:elm-types:r1", + "annotation" : [ ] }, { - "type" : "Annotation", - "s" : { - "r" : "302", + "localId" : "206", + "localIdentifier" : "Simple", + "uri" : "https://github.com/cqframework/cql-execution/simple", + "version" : "1.0.0", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "206", "s" : [ { - "value" : [ "","library TestSnippet version '1'" ] - } ] - } - } ], - "identifier" : { - "id" : "TestSnippet", - "version" : "1" - }, - "schemaIdentifier" : { - "id" : "urn:hl7-org:elm", - "version" : "r1" - }, - "usings" : { - "def" : [ { - "localId" : "1", - "localIdentifier" : "System", - "uri" : "urn:hl7-org:elm-types:r1" - }, { - "localId" : "206", - "localIdentifier" : "Simple", - "uri" : "https://github.com/cqframework/cql-execution/simple", - "version" : "1.0.0", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "206", - "s" : [ { - "value" : [ "","using " ] - }, { - "s" : [ { - "value" : [ "Simple" ] - } ] - }, { - "value" : [ " version '1.0.0'" ] - } ] - } - } ] - } ] - }, - "contexts" : { - "def" : [ { - "localId" : "211", - "name" : "Patient" - } ] - }, - "statements" : { - "def" : [ { - "localId" : "209", - "name" : "Patient", - "context" : "Patient", - "expression" : { - "localId" : "210", - "type" : "SingletonFrom", - "signature" : [ ], - "operand" : { - "localId" : "208", - "dataType" : "{https://github.com/cqframework/cql-execution/simple}Patient", - "type" : "Retrieve", - "include" : [ ], - "codeFilter" : [ ], - "dateFilter" : [ ], - "otherFilter" : [ ] - } - } - }, { - "localId" : "214", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "AGtB_Int", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "214", - "s" : [ { - "value" : [ "","define ","AGtB_Int",": " ] - }, { - "r" : "215", - "s" : [ { - "r" : "216", - "value" : [ "5"," ",">"," ","4" ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "215", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "Greater", - "signature" : [ { - "localId" : "218", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "219", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "216", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal" - }, { - "localId" : "217", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "4", - "type" : "Literal" - } ] - } - }, { - "localId" : "222", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "AEqB_Int", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "222", - "s" : [ { - "value" : [ "","define ","AEqB_Int",": " ] - }, { - "r" : "223", - "s" : [ { - "r" : "224", - "value" : [ "5"," ",">"," ","5" ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "223", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "Greater", - "signature" : [ { - "localId" : "226", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "227", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "224", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal" - }, { - "localId" : "225", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal" - } ] - } - }, { - "localId" : "230", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "ALtB_Int", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "230", - "s" : [ { - "value" : [ "","define ","ALtB_Int",": " ] - }, { - "r" : "231", - "s" : [ { - "r" : "232", - "value" : [ "5"," ",">"," ","6" ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "231", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "Greater", - "signature" : [ { - "localId" : "234", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "235", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "232", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal" - }, { - "localId" : "233", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "6", - "type" : "Literal" - } ] - } - }, { - "localId" : "238", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "AGtB_Quantity", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "238", - "s" : [ { - "value" : [ "","define ","AGtB_Quantity",": " ] - }, { - "r" : "239", - "s" : [ { - "r" : "240", - "s" : [ { - "value" : [ "5 ","'m'" ] - } ] - }, { - "value" : [ " ",">"," " ] - }, { - "r" : "241", - "s" : [ { - "value" : [ "4 ","'m'" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "239", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "Greater", - "signature" : [ { - "localId" : "242", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "243", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "240", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "value" : 5, - "unit" : "m", - "type" : "Quantity" - }, { - "localId" : "241", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "value" : 4, - "unit" : "m", - "type" : "Quantity" - } ] - } - }, { - "localId" : "246", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "AEqB_Quantity", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "246", - "s" : [ { - "value" : [ "","define ","AEqB_Quantity",": " ] - }, { - "r" : "247", - "s" : [ { - "r" : "248", - "s" : [ { - "value" : [ "5 ","'m'" ] - } ] - }, { - "value" : [ " ",">"," " ] - }, { - "r" : "249", - "s" : [ { - "value" : [ "5 ","'m'" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "247", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "Greater", - "signature" : [ { - "localId" : "250", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "251", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "248", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "value" : 5, - "unit" : "m", - "type" : "Quantity" - }, { - "localId" : "249", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "value" : 5, - "unit" : "m", - "type" : "Quantity" - } ] - } - }, { - "localId" : "254", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "ALtB_Quantity", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "254", - "s" : [ { - "value" : [ "","define ","ALtB_Quantity",": " ] - }, { - "r" : "255", - "s" : [ { - "r" : "256", - "s" : [ { - "value" : [ "5 ","'m'" ] - } ] - }, { - "value" : [ " ",">"," " ] - }, { - "r" : "257", - "s" : [ { - "value" : [ "6 ","'m'" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "255", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "Greater", - "signature" : [ { - "localId" : "258", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "259", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "256", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "value" : 5, - "unit" : "m", - "type" : "Quantity" - }, { - "localId" : "257", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "value" : 6, - "unit" : "m", - "type" : "Quantity" - } ] - } - }, { - "localId" : "262", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "AGtB_Quantity_diff", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "262", - "s" : [ { - "value" : [ "","define ","AGtB_Quantity_diff",": " ] - }, { - "r" : "263", - "s" : [ { - "r" : "264", - "s" : [ { - "value" : [ "5 ","'m'" ] - } ] - }, { - "value" : [ " ",">"," " ] - }, { - "r" : "265", - "s" : [ { - "value" : [ "5 ","'cm'" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "263", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "Greater", - "signature" : [ { - "localId" : "266", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "267", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "264", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "value" : 5, - "unit" : "m", - "type" : "Quantity" - }, { - "localId" : "265", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "value" : 5, - "unit" : "cm", - "type" : "Quantity" - } ] - } - }, { - "localId" : "270", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "AEqB_Quantity_diff", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "270", - "s" : [ { - "value" : [ "","define ","AEqB_Quantity_diff",": " ] - }, { - "r" : "271", - "s" : [ { - "r" : "272", - "s" : [ { - "value" : [ "5 ","'m'" ] - } ] - }, { - "value" : [ " ",">"," " ] - }, { - "r" : "273", - "s" : [ { - "value" : [ "500 ","'cm'" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "271", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "Greater", - "signature" : [ { - "localId" : "274", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "275", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "272", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "value" : 5, - "unit" : "m", - "type" : "Quantity" - }, { - "localId" : "273", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "value" : 500, - "unit" : "cm", - "type" : "Quantity" - } ] - } - }, { - "localId" : "278", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "ALtB_Quantity_diff", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "278", - "s" : [ { - "value" : [ "","define ","ALtB_Quantity_diff",": " ] - }, { - "r" : "279", - "s" : [ { - "r" : "280", - "s" : [ { - "value" : [ "5 ","'m'" ] - } ] - }, { - "value" : [ " ",">"," " ] - }, { - "r" : "281", - "s" : [ { - "value" : [ "5 ","'km'" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "279", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "Greater", - "signature" : [ { - "localId" : "282", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "283", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "280", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "value" : 5, - "unit" : "m", - "type" : "Quantity" - }, { - "localId" : "281", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "value" : 5, - "unit" : "km", - "type" : "Quantity" - } ] - } - }, { - "localId" : "286", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "AGtB_Quantity_incompatible", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "286", - "s" : [ { - "value" : [ "","define ","AGtB_Quantity_incompatible",": " ] - }, { - "r" : "287", - "s" : [ { - "r" : "288", - "s" : [ { - "value" : [ "5 ","'Cel'" ] - } ] - }, { - "value" : [ " ",">"," " ] - }, { - "r" : "289", - "s" : [ { - "value" : [ "4 ","'m'" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "287", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "Greater", - "signature" : [ { - "localId" : "290", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "291", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "288", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "value" : 5, - "unit" : "Cel", - "type" : "Quantity" - }, { - "localId" : "289", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "value" : 4, - "unit" : "m", - "type" : "Quantity" - } ] - } - }, { - "localId" : "294", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "AEqB_Quantity_incompatible", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "294", - "s" : [ { - "value" : [ "","define ","AEqB_Quantity_incompatible",": " ] - }, { - "r" : "295", - "s" : [ { - "r" : "296", - "s" : [ { - "value" : [ "5 ","'Cel'" ] - } ] - }, { - "value" : [ " ",">"," " ] - }, { - "r" : "297", - "s" : [ { - "value" : [ "5 ","'m'" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "295", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "Greater", - "signature" : [ { - "localId" : "298", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "299", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "296", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "value" : 5, - "unit" : "Cel", - "type" : "Quantity" - }, { - "localId" : "297", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "value" : 5, - "unit" : "m", - "type" : "Quantity" - } ] - } - }, { - "localId" : "302", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "ALtB_Quantity_incompatible", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "302", - "s" : [ { - "value" : [ "","define ","ALtB_Quantity_incompatible",": " ] - }, { - "r" : "303", - "s" : [ { - "r" : "304", - "s" : [ { - "value" : [ "5 ","'Cel'" ] - } ] - }, { - "value" : [ " ",">"," " ] - }, { - "r" : "305", - "s" : [ { - "value" : [ "40 ","'m'" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "303", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "Greater", - "signature" : [ { - "localId" : "306", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "307", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "304", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "value" : 5, - "unit" : "Cel", - "type" : "Quantity" - }, { - "localId" : "305", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "value" : 40, - "unit" : "m", - "type" : "Quantity" - } ] - } - } ] - } - } + "value" : [ "", "using " ] + }, { + "s" : [ { + "value" : [ "Simple" ] + } ] + }, { + "value" : [ " version '1.0.0'" ] + } ] + } + } ] + } ] + }, + "contexts" : { + "def" : [ { + "localId" : "211", + "name" : "Patient", + "annotation" : [ ] + } ] + }, + "statements" : { + "def" : [ { + "localId" : "209", + "name" : "Patient", + "context" : "Patient", + "annotation" : [ ], + "expression" : { + "type" : "SingletonFrom", + "localId" : "210", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Retrieve", + "localId" : "208", + "dataType" : "{https://github.com/cqframework/cql-execution/simple}Patient", + "annotation" : [ ], + "include" : [ ], + "codeFilter" : [ ], + "dateFilter" : [ ], + "otherFilter" : [ ] + } + } + }, { + "localId" : "214", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "AGtB_Int", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "214", + "s" : [ { + "value" : [ "", "define ", "AGtB_Int", ": " ] + }, { + "r" : "215", + "s" : [ { + "r" : "216", + "value" : [ "5", " ", ">", " ", "4" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Greater", + "localId" : "215", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "218", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "219", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "Literal", + "localId" : "216", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "5", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "217", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "4", + "annotation" : [ ] + } ] + } + }, { + "localId" : "222", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "AEqB_Int", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "222", + "s" : [ { + "value" : [ "", "define ", "AEqB_Int", ": " ] + }, { + "r" : "223", + "s" : [ { + "r" : "224", + "value" : [ "5", " ", ">", " ", "5" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Greater", + "localId" : "223", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "226", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "227", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "Literal", + "localId" : "224", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "5", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "225", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "5", + "annotation" : [ ] + } ] + } + }, { + "localId" : "230", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "ALtB_Int", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "230", + "s" : [ { + "value" : [ "", "define ", "ALtB_Int", ": " ] + }, { + "r" : "231", + "s" : [ { + "r" : "232", + "value" : [ "5", " ", ">", " ", "6" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Greater", + "localId" : "231", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "234", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "235", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "Literal", + "localId" : "232", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "5", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "233", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "6", + "annotation" : [ ] + } ] + } + }, { + "localId" : "238", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "AGtB_Quantity", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "238", + "s" : [ { + "value" : [ "", "define ", "AGtB_Quantity", ": " ] + }, { + "r" : "239", + "s" : [ { + "r" : "240", + "s" : [ { + "value" : [ "5 ", "'m'" ] + } ] + }, { + "value" : [ " ", ">", " " ] + }, { + "r" : "241", + "s" : [ { + "value" : [ "4 ", "'m'" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Greater", + "localId" : "239", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "242", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "243", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "Quantity", + "localId" : "240", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "value" : 5, + "unit" : "m", + "annotation" : [ ] + }, { + "type" : "Quantity", + "localId" : "241", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "value" : 4, + "unit" : "m", + "annotation" : [ ] + } ] + } + }, { + "localId" : "246", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "AEqB_Quantity", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "246", + "s" : [ { + "value" : [ "", "define ", "AEqB_Quantity", ": " ] + }, { + "r" : "247", + "s" : [ { + "r" : "248", + "s" : [ { + "value" : [ "5 ", "'m'" ] + } ] + }, { + "value" : [ " ", ">", " " ] + }, { + "r" : "249", + "s" : [ { + "value" : [ "5 ", "'m'" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Greater", + "localId" : "247", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "250", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "251", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "Quantity", + "localId" : "248", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "value" : 5, + "unit" : "m", + "annotation" : [ ] + }, { + "type" : "Quantity", + "localId" : "249", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "value" : 5, + "unit" : "m", + "annotation" : [ ] + } ] + } + }, { + "localId" : "254", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "ALtB_Quantity", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "254", + "s" : [ { + "value" : [ "", "define ", "ALtB_Quantity", ": " ] + }, { + "r" : "255", + "s" : [ { + "r" : "256", + "s" : [ { + "value" : [ "5 ", "'m'" ] + } ] + }, { + "value" : [ " ", ">", " " ] + }, { + "r" : "257", + "s" : [ { + "value" : [ "6 ", "'m'" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Greater", + "localId" : "255", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "258", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "259", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "Quantity", + "localId" : "256", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "value" : 5, + "unit" : "m", + "annotation" : [ ] + }, { + "type" : "Quantity", + "localId" : "257", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "value" : 6, + "unit" : "m", + "annotation" : [ ] + } ] + } + }, { + "localId" : "262", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "AGtB_Quantity_diff", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "262", + "s" : [ { + "value" : [ "", "define ", "AGtB_Quantity_diff", ": " ] + }, { + "r" : "263", + "s" : [ { + "r" : "264", + "s" : [ { + "value" : [ "5 ", "'m'" ] + } ] + }, { + "value" : [ " ", ">", " " ] + }, { + "r" : "265", + "s" : [ { + "value" : [ "5 ", "'cm'" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Greater", + "localId" : "263", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "266", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "267", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "Quantity", + "localId" : "264", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "value" : 5, + "unit" : "m", + "annotation" : [ ] + }, { + "type" : "Quantity", + "localId" : "265", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "value" : 5, + "unit" : "cm", + "annotation" : [ ] + } ] + } + }, { + "localId" : "270", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "AEqB_Quantity_diff", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "270", + "s" : [ { + "value" : [ "", "define ", "AEqB_Quantity_diff", ": " ] + }, { + "r" : "271", + "s" : [ { + "r" : "272", + "s" : [ { + "value" : [ "5 ", "'m'" ] + } ] + }, { + "value" : [ " ", ">", " " ] + }, { + "r" : "273", + "s" : [ { + "value" : [ "500 ", "'cm'" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Greater", + "localId" : "271", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "274", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "275", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "Quantity", + "localId" : "272", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "value" : 5, + "unit" : "m", + "annotation" : [ ] + }, { + "type" : "Quantity", + "localId" : "273", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "value" : 500, + "unit" : "cm", + "annotation" : [ ] + } ] + } + }, { + "localId" : "278", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "ALtB_Quantity_diff", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "278", + "s" : [ { + "value" : [ "", "define ", "ALtB_Quantity_diff", ": " ] + }, { + "r" : "279", + "s" : [ { + "r" : "280", + "s" : [ { + "value" : [ "5 ", "'m'" ] + } ] + }, { + "value" : [ " ", ">", " " ] + }, { + "r" : "281", + "s" : [ { + "value" : [ "5 ", "'km'" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Greater", + "localId" : "279", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "282", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "283", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "Quantity", + "localId" : "280", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "value" : 5, + "unit" : "m", + "annotation" : [ ] + }, { + "type" : "Quantity", + "localId" : "281", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "value" : 5, + "unit" : "km", + "annotation" : [ ] + } ] + } + }, { + "localId" : "286", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "AGtB_Quantity_incompatible", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "286", + "s" : [ { + "value" : [ "", "define ", "AGtB_Quantity_incompatible", ": " ] + }, { + "r" : "287", + "s" : [ { + "r" : "288", + "s" : [ { + "value" : [ "5 ", "'Cel'" ] + } ] + }, { + "value" : [ " ", ">", " " ] + }, { + "r" : "289", + "s" : [ { + "value" : [ "4 ", "'m'" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Greater", + "localId" : "287", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "290", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "291", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "Quantity", + "localId" : "288", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "value" : 5, + "unit" : "Cel", + "annotation" : [ ] + }, { + "type" : "Quantity", + "localId" : "289", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "value" : 4, + "unit" : "m", + "annotation" : [ ] + } ] + } + }, { + "localId" : "294", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "AEqB_Quantity_incompatible", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "294", + "s" : [ { + "value" : [ "", "define ", "AEqB_Quantity_incompatible", ": " ] + }, { + "r" : "295", + "s" : [ { + "r" : "296", + "s" : [ { + "value" : [ "5 ", "'Cel'" ] + } ] + }, { + "value" : [ " ", ">", " " ] + }, { + "r" : "297", + "s" : [ { + "value" : [ "5 ", "'m'" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Greater", + "localId" : "295", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "298", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "299", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "Quantity", + "localId" : "296", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "value" : 5, + "unit" : "Cel", + "annotation" : [ ] + }, { + "type" : "Quantity", + "localId" : "297", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "value" : 5, + "unit" : "m", + "annotation" : [ ] + } ] + } + }, { + "localId" : "302", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "ALtB_Quantity_incompatible", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "302", + "s" : [ { + "value" : [ "", "define ", "ALtB_Quantity_incompatible", ": " ] + }, { + "r" : "303", + "s" : [ { + "r" : "304", + "s" : [ { + "value" : [ "5 ", "'Cel'" ] + } ] + }, { + "value" : [ " ", ">", " " ] + }, { + "r" : "305", + "s" : [ { + "value" : [ "40 ", "'m'" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Greater", + "localId" : "303", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "306", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "307", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "Quantity", + "localId" : "304", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "value" : 5, + "unit" : "Cel", + "annotation" : [ ] + }, { + "type" : "Quantity", + "localId" : "305", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "value" : 40, + "unit" : "m", + "annotation" : [ ] + } ] + } + } ] + } + } } /* GreaterOrEqual @@ -22052,929 +25075,1028 @@ define DivideUcum: (100 'mg' / 2 '[lb_av]') > 49 'mg/[lb_av]' */ module.exports['GreaterOrEqual'] = { - "library" : { - "localId" : "0", - "annotation" : [ { - "translatorVersion" : "3.27.0", - "translatorOptions" : "EnableDateRangeOptimization,EnableAnnotations,EnableResultTypes", - "signatureLevel" : "All", - "type" : "CqlToElmInfo" + "library" : { + "localId" : "0", + "annotation" : [ { + "type" : "CqlToElmInfo", + "translatorVersion" : "4.2.0", + "translatorOptions" : "EnableDateRangeOptimization,EnableAnnotations,EnableResultTypes", + "signatureLevel" : "All" + }, { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "322", + "s" : [ { + "value" : [ "", "library TestSnippet version '1'" ] + } ] + } + } ], + "identifier" : { + "id" : "TestSnippet", + "version" : "1" + }, + "schemaIdentifier" : { + "id" : "urn:hl7-org:elm", + "version" : "r1" + }, + "usings" : { + "def" : [ { + "localId" : "1", + "localIdentifier" : "System", + "uri" : "urn:hl7-org:elm-types:r1", + "annotation" : [ ] }, { - "type" : "Annotation", - "s" : { - "r" : "322", + "localId" : "206", + "localIdentifier" : "Simple", + "uri" : "https://github.com/cqframework/cql-execution/simple", + "version" : "1.0.0", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "206", "s" : [ { - "value" : [ "","library TestSnippet version '1'" ] - } ] - } - } ], - "identifier" : { - "id" : "TestSnippet", - "version" : "1" - }, - "schemaIdentifier" : { - "id" : "urn:hl7-org:elm", - "version" : "r1" - }, - "usings" : { - "def" : [ { - "localId" : "1", - "localIdentifier" : "System", - "uri" : "urn:hl7-org:elm-types:r1" - }, { - "localId" : "206", - "localIdentifier" : "Simple", - "uri" : "https://github.com/cqframework/cql-execution/simple", - "version" : "1.0.0", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "206", - "s" : [ { - "value" : [ "","using " ] - }, { - "s" : [ { - "value" : [ "Simple" ] - } ] - }, { - "value" : [ " version '1.0.0'" ] - } ] - } - } ] - } ] - }, - "contexts" : { - "def" : [ { - "localId" : "211", - "name" : "Patient" - } ] - }, - "statements" : { - "def" : [ { - "localId" : "209", - "name" : "Patient", - "context" : "Patient", - "expression" : { - "localId" : "210", - "type" : "SingletonFrom", - "signature" : [ ], - "operand" : { - "localId" : "208", - "dataType" : "{https://github.com/cqframework/cql-execution/simple}Patient", - "type" : "Retrieve", - "include" : [ ], - "codeFilter" : [ ], - "dateFilter" : [ ], - "otherFilter" : [ ] - } - } - }, { - "localId" : "214", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "AGtB_Int", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "214", - "s" : [ { - "value" : [ "","define ","AGtB_Int",": " ] - }, { - "r" : "215", - "s" : [ { - "r" : "216", - "value" : [ "5"," ",">="," ","4" ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "215", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "GreaterOrEqual", - "signature" : [ { - "localId" : "218", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "219", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "216", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal" - }, { - "localId" : "217", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "4", - "type" : "Literal" - } ] - } - }, { - "localId" : "222", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "AEqB_Int", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "222", - "s" : [ { - "value" : [ "","define ","AEqB_Int",": " ] - }, { - "r" : "223", - "s" : [ { - "r" : "224", - "value" : [ "5"," ",">="," ","5" ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "223", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "GreaterOrEqual", - "signature" : [ { - "localId" : "226", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "227", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "224", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal" - }, { - "localId" : "225", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal" - } ] - } - }, { - "localId" : "230", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "ALtB_Int", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "230", - "s" : [ { - "value" : [ "","define ","ALtB_Int",": " ] - }, { - "r" : "231", - "s" : [ { - "r" : "232", - "value" : [ "5"," ",">="," ","6" ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "231", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "GreaterOrEqual", - "signature" : [ { - "localId" : "234", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "235", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "232", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal" - }, { - "localId" : "233", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "6", - "type" : "Literal" - } ] - } - }, { - "localId" : "238", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "AGtB_Quantity", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "238", - "s" : [ { - "value" : [ "","define ","AGtB_Quantity",": " ] - }, { - "r" : "239", - "s" : [ { - "r" : "240", - "s" : [ { - "value" : [ "5 ","'m'" ] - } ] - }, { - "value" : [ " ",">="," " ] - }, { - "r" : "241", - "s" : [ { - "value" : [ "4 ","'m'" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "239", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "GreaterOrEqual", - "signature" : [ { - "localId" : "242", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "243", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "240", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "value" : 5, - "unit" : "m", - "type" : "Quantity" - }, { - "localId" : "241", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "value" : 4, - "unit" : "m", - "type" : "Quantity" - } ] - } - }, { - "localId" : "246", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "AEqB_Quantity", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "246", - "s" : [ { - "value" : [ "","define ","AEqB_Quantity",": " ] - }, { - "r" : "247", - "s" : [ { - "r" : "248", - "s" : [ { - "value" : [ "5 ","'m'" ] - } ] - }, { - "value" : [ " ",">="," " ] - }, { - "r" : "249", - "s" : [ { - "value" : [ "5 ","'m'" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "247", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "GreaterOrEqual", - "signature" : [ { - "localId" : "250", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "251", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "248", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "value" : 5, - "unit" : "m", - "type" : "Quantity" - }, { - "localId" : "249", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "value" : 5, - "unit" : "m", - "type" : "Quantity" - } ] - } - }, { - "localId" : "254", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "ALtB_Quantity", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "254", - "s" : [ { - "value" : [ "","define ","ALtB_Quantity",": " ] - }, { - "r" : "255", - "s" : [ { - "r" : "256", - "s" : [ { - "value" : [ "5 ","'m'" ] - } ] - }, { - "value" : [ " ",">="," " ] - }, { - "r" : "257", - "s" : [ { - "value" : [ "6 ","'m'" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "255", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "GreaterOrEqual", - "signature" : [ { - "localId" : "258", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "259", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "256", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "value" : 5, - "unit" : "m", - "type" : "Quantity" - }, { - "localId" : "257", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "value" : 6, - "unit" : "m", - "type" : "Quantity" - } ] - } - }, { - "localId" : "262", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "AGtB_Quantity_diff", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "262", - "s" : [ { - "value" : [ "","define ","AGtB_Quantity_diff",": " ] - }, { - "r" : "263", - "s" : [ { - "r" : "264", - "s" : [ { - "value" : [ "5 ","'m'" ] - } ] - }, { - "value" : [ " ",">="," " ] - }, { - "r" : "265", - "s" : [ { - "value" : [ "5 ","'cm'" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "263", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "GreaterOrEqual", - "signature" : [ { - "localId" : "266", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "267", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "264", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "value" : 5, - "unit" : "m", - "type" : "Quantity" - }, { - "localId" : "265", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "value" : 5, - "unit" : "cm", - "type" : "Quantity" - } ] - } - }, { - "localId" : "270", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "AEqB_Quantity_diff", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "270", - "s" : [ { - "value" : [ "","define ","AEqB_Quantity_diff",": " ] - }, { - "r" : "271", - "s" : [ { - "r" : "272", - "s" : [ { - "value" : [ "5 ","'m'" ] - } ] - }, { - "value" : [ " ",">="," " ] - }, { - "r" : "273", - "s" : [ { - "value" : [ "500 ","'cm'" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "271", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "GreaterOrEqual", - "signature" : [ { - "localId" : "274", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "275", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "272", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "value" : 5, - "unit" : "m", - "type" : "Quantity" - }, { - "localId" : "273", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "value" : 500, - "unit" : "cm", - "type" : "Quantity" - } ] - } - }, { - "localId" : "278", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "ALtB_Quantity_diff", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "278", - "s" : [ { - "value" : [ "","define ","ALtB_Quantity_diff",": " ] - }, { - "r" : "279", - "s" : [ { - "r" : "280", - "s" : [ { - "value" : [ "5 ","'m'" ] - } ] - }, { - "value" : [ " ",">="," " ] - }, { - "r" : "281", - "s" : [ { - "value" : [ "5 ","'km'" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "279", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "GreaterOrEqual", - "signature" : [ { - "localId" : "282", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "283", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "280", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "value" : 5, - "unit" : "m", - "type" : "Quantity" - }, { - "localId" : "281", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "value" : 5, - "unit" : "km", - "type" : "Quantity" - } ] - } - }, { - "localId" : "286", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "AGtB_Quantity_incompatible", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "286", - "s" : [ { - "value" : [ "","define ","AGtB_Quantity_incompatible",": " ] - }, { - "r" : "287", - "s" : [ { - "r" : "288", - "s" : [ { - "value" : [ "5 ","'Cel'" ] - } ] - }, { - "value" : [ " ",">="," " ] - }, { - "r" : "289", - "s" : [ { - "value" : [ "4 ","'m'" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "287", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "GreaterOrEqual", - "signature" : [ { - "localId" : "290", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "291", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "288", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "value" : 5, - "unit" : "Cel", - "type" : "Quantity" - }, { - "localId" : "289", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "value" : 4, - "unit" : "m", - "type" : "Quantity" - } ] - } - }, { - "localId" : "294", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "AEqB_Quantity_incompatible", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "294", - "s" : [ { - "value" : [ "","define ","AEqB_Quantity_incompatible",": " ] - }, { - "r" : "295", - "s" : [ { - "r" : "296", - "s" : [ { - "value" : [ "5 ","'Cel'" ] - } ] - }, { - "value" : [ " ",">="," " ] - }, { - "r" : "297", - "s" : [ { - "value" : [ "5 ","'m'" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "295", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "GreaterOrEqual", - "signature" : [ { - "localId" : "298", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "299", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "296", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "value" : 5, - "unit" : "Cel", - "type" : "Quantity" - }, { - "localId" : "297", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "value" : 5, - "unit" : "m", - "type" : "Quantity" - } ] - } - }, { - "localId" : "302", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "ALtB_Quantity_incompatible", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "302", - "s" : [ { - "value" : [ "","define ","ALtB_Quantity_incompatible",": " ] - }, { - "r" : "303", - "s" : [ { - "r" : "304", - "s" : [ { - "value" : [ "5 ","'Cel'" ] - } ] - }, { - "value" : [ " ",">="," " ] - }, { - "r" : "305", - "s" : [ { - "value" : [ "40 ","'m'" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "303", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "GreaterOrEqual", - "signature" : [ { - "localId" : "306", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "307", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "304", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "value" : 5, - "unit" : "Cel", - "type" : "Quantity" - }, { - "localId" : "305", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "value" : 40, - "unit" : "m", - "type" : "Quantity" - } ] - } - }, { - "localId" : "310", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "DivideUcum_incompatible", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "310", + "value" : [ "", "using " ] + }, { + "s" : [ { + "value" : [ "Simple" ] + } ] + }, { + "value" : [ " version '1.0.0'" ] + } ] + } + } ] + } ] + }, + "contexts" : { + "def" : [ { + "localId" : "211", + "name" : "Patient", + "annotation" : [ ] + } ] + }, + "statements" : { + "def" : [ { + "localId" : "209", + "name" : "Patient", + "context" : "Patient", + "annotation" : [ ], + "expression" : { + "type" : "SingletonFrom", + "localId" : "210", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Retrieve", + "localId" : "208", + "dataType" : "{https://github.com/cqframework/cql-execution/simple}Patient", + "annotation" : [ ], + "include" : [ ], + "codeFilter" : [ ], + "dateFilter" : [ ], + "otherFilter" : [ ] + } + } + }, { + "localId" : "214", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "AGtB_Int", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "214", + "s" : [ { + "value" : [ "", "define ", "AGtB_Int", ": " ] + }, { + "r" : "215", + "s" : [ { + "r" : "216", + "value" : [ "5", " ", ">=", " ", "4" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "GreaterOrEqual", + "localId" : "215", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "218", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "219", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "Literal", + "localId" : "216", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "5", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "217", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "4", + "annotation" : [ ] + } ] + } + }, { + "localId" : "222", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "AEqB_Int", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "222", + "s" : [ { + "value" : [ "", "define ", "AEqB_Int", ": " ] + }, { + "r" : "223", + "s" : [ { + "r" : "224", + "value" : [ "5", " ", ">=", " ", "5" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "GreaterOrEqual", + "localId" : "223", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "226", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "227", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "Literal", + "localId" : "224", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "5", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "225", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "5", + "annotation" : [ ] + } ] + } + }, { + "localId" : "230", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "ALtB_Int", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "230", + "s" : [ { + "value" : [ "", "define ", "ALtB_Int", ": " ] + }, { + "r" : "231", + "s" : [ { + "r" : "232", + "value" : [ "5", " ", ">=", " ", "6" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "GreaterOrEqual", + "localId" : "231", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "234", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "235", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "Literal", + "localId" : "232", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "5", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "233", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "6", + "annotation" : [ ] + } ] + } + }, { + "localId" : "238", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "AGtB_Quantity", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "238", + "s" : [ { + "value" : [ "", "define ", "AGtB_Quantity", ": " ] + }, { + "r" : "239", + "s" : [ { + "r" : "240", + "s" : [ { + "value" : [ "5 ", "'m'" ] + } ] + }, { + "value" : [ " ", ">=", " " ] + }, { + "r" : "241", + "s" : [ { + "value" : [ "4 ", "'m'" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "GreaterOrEqual", + "localId" : "239", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "242", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "243", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "Quantity", + "localId" : "240", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "value" : 5, + "unit" : "m", + "annotation" : [ ] + }, { + "type" : "Quantity", + "localId" : "241", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "value" : 4, + "unit" : "m", + "annotation" : [ ] + } ] + } + }, { + "localId" : "246", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "AEqB_Quantity", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "246", + "s" : [ { + "value" : [ "", "define ", "AEqB_Quantity", ": " ] + }, { + "r" : "247", + "s" : [ { + "r" : "248", + "s" : [ { + "value" : [ "5 ", "'m'" ] + } ] + }, { + "value" : [ " ", ">=", " " ] + }, { + "r" : "249", + "s" : [ { + "value" : [ "5 ", "'m'" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "GreaterOrEqual", + "localId" : "247", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "250", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "251", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "Quantity", + "localId" : "248", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "value" : 5, + "unit" : "m", + "annotation" : [ ] + }, { + "type" : "Quantity", + "localId" : "249", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "value" : 5, + "unit" : "m", + "annotation" : [ ] + } ] + } + }, { + "localId" : "254", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "ALtB_Quantity", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "254", + "s" : [ { + "value" : [ "", "define ", "ALtB_Quantity", ": " ] + }, { + "r" : "255", + "s" : [ { + "r" : "256", + "s" : [ { + "value" : [ "5 ", "'m'" ] + } ] + }, { + "value" : [ " ", ">=", " " ] + }, { + "r" : "257", + "s" : [ { + "value" : [ "6 ", "'m'" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "GreaterOrEqual", + "localId" : "255", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "258", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "259", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "Quantity", + "localId" : "256", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "value" : 5, + "unit" : "m", + "annotation" : [ ] + }, { + "type" : "Quantity", + "localId" : "257", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "value" : 6, + "unit" : "m", + "annotation" : [ ] + } ] + } + }, { + "localId" : "262", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "AGtB_Quantity_diff", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "262", + "s" : [ { + "value" : [ "", "define ", "AGtB_Quantity_diff", ": " ] + }, { + "r" : "263", + "s" : [ { + "r" : "264", + "s" : [ { + "value" : [ "5 ", "'m'" ] + } ] + }, { + "value" : [ " ", ">=", " " ] + }, { + "r" : "265", + "s" : [ { + "value" : [ "5 ", "'cm'" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "GreaterOrEqual", + "localId" : "263", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "266", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "267", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "Quantity", + "localId" : "264", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "value" : 5, + "unit" : "m", + "annotation" : [ ] + }, { + "type" : "Quantity", + "localId" : "265", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "value" : 5, + "unit" : "cm", + "annotation" : [ ] + } ] + } + }, { + "localId" : "270", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "AEqB_Quantity_diff", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "270", + "s" : [ { + "value" : [ "", "define ", "AEqB_Quantity_diff", ": " ] + }, { + "r" : "271", + "s" : [ { + "r" : "272", + "s" : [ { + "value" : [ "5 ", "'m'" ] + } ] + }, { + "value" : [ " ", ">=", " " ] + }, { + "r" : "273", + "s" : [ { + "value" : [ "500 ", "'cm'" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "GreaterOrEqual", + "localId" : "271", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "274", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "275", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "Quantity", + "localId" : "272", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "value" : 5, + "unit" : "m", + "annotation" : [ ] + }, { + "type" : "Quantity", + "localId" : "273", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "value" : 500, + "unit" : "cm", + "annotation" : [ ] + } ] + } + }, { + "localId" : "278", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "ALtB_Quantity_diff", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "278", + "s" : [ { + "value" : [ "", "define ", "ALtB_Quantity_diff", ": " ] + }, { + "r" : "279", + "s" : [ { + "r" : "280", + "s" : [ { + "value" : [ "5 ", "'m'" ] + } ] + }, { + "value" : [ " ", ">=", " " ] + }, { + "r" : "281", + "s" : [ { + "value" : [ "5 ", "'km'" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "GreaterOrEqual", + "localId" : "279", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "282", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "283", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "Quantity", + "localId" : "280", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "value" : 5, + "unit" : "m", + "annotation" : [ ] + }, { + "type" : "Quantity", + "localId" : "281", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "value" : 5, + "unit" : "km", + "annotation" : [ ] + } ] + } + }, { + "localId" : "286", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "AGtB_Quantity_incompatible", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "286", + "s" : [ { + "value" : [ "", "define ", "AGtB_Quantity_incompatible", ": " ] + }, { + "r" : "287", + "s" : [ { + "r" : "288", + "s" : [ { + "value" : [ "5 ", "'Cel'" ] + } ] + }, { + "value" : [ " ", ">=", " " ] + }, { + "r" : "289", + "s" : [ { + "value" : [ "4 ", "'m'" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "GreaterOrEqual", + "localId" : "287", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "290", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "291", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "Quantity", + "localId" : "288", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "value" : 5, + "unit" : "Cel", + "annotation" : [ ] + }, { + "type" : "Quantity", + "localId" : "289", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "value" : 4, + "unit" : "m", + "annotation" : [ ] + } ] + } + }, { + "localId" : "294", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "AEqB_Quantity_incompatible", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "294", + "s" : [ { + "value" : [ "", "define ", "AEqB_Quantity_incompatible", ": " ] + }, { + "r" : "295", + "s" : [ { + "r" : "296", + "s" : [ { + "value" : [ "5 ", "'Cel'" ] + } ] + }, { + "value" : [ " ", ">=", " " ] + }, { + "r" : "297", + "s" : [ { + "value" : [ "5 ", "'m'" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "GreaterOrEqual", + "localId" : "295", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "298", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "299", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "Quantity", + "localId" : "296", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "value" : 5, + "unit" : "Cel", + "annotation" : [ ] + }, { + "type" : "Quantity", + "localId" : "297", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "value" : 5, + "unit" : "m", + "annotation" : [ ] + } ] + } + }, { + "localId" : "302", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "ALtB_Quantity_incompatible", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "302", + "s" : [ { + "value" : [ "", "define ", "ALtB_Quantity_incompatible", ": " ] + }, { + "r" : "303", + "s" : [ { + "r" : "304", + "s" : [ { + "value" : [ "5 ", "'Cel'" ] + } ] + }, { + "value" : [ " ", ">=", " " ] + }, { + "r" : "305", + "s" : [ { + "value" : [ "40 ", "'m'" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "GreaterOrEqual", + "localId" : "303", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "306", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "307", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "Quantity", + "localId" : "304", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "value" : 5, + "unit" : "Cel", + "annotation" : [ ] + }, { + "type" : "Quantity", + "localId" : "305", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "value" : 40, + "unit" : "m", + "annotation" : [ ] + } ] + } + }, { + "localId" : "310", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "DivideUcum_incompatible", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "310", + "s" : [ { + "value" : [ "", "define ", "DivideUcum_incompatible", ": " ] + }, { + "r" : "311", + "s" : [ { + "r" : "312", + "s" : [ { + "value" : [ "(" ] + }, { + "r" : "312", "s" : [ { - "value" : [ "","define ","DivideUcum_incompatible",": " ] - }, { - "r" : "311", - "s" : [ { - "r" : "312", - "s" : [ { - "value" : [ "(" ] - }, { - "r" : "312", - "s" : [ { - "r" : "313", - "s" : [ { - "value" : [ "100 ","'[nmi_i]'" ] - } ] - }, { - "value" : [ " / " ] - }, { - "r" : "314", - "s" : [ { - "value" : [ "2 ","'h'" ] - } ] - } ] - }, { - "value" : [ ")" ] - } ] - }, { - "value" : [ " ",">"," " ] - }, { - "r" : "317", - "s" : [ { - "value" : [ "49 ","'mg/[lb_av]'" ] - } ] - } ] - } ] - } + "r" : "313", + "s" : [ { + "value" : [ "100 ", "'[nmi_i]'" ] + } ] + }, { + "value" : [ " / " ] + }, { + "r" : "314", + "s" : [ { + "value" : [ "2 ", "'h'" ] + } ] + } ] + }, { + "value" : [ ")" ] + } ] + }, { + "value" : [ " ", ">", " " ] + }, { + "r" : "317", + "s" : [ { + "value" : [ "49 ", "'mg/[lb_av]'" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Greater", + "localId" : "311", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "318", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "319", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "Divide", + "localId" : "312", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "315", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "316", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] } ], - "expression" : { - "localId" : "311", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "Greater", - "signature" : [ { - "localId" : "318", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "319", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "312", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "Divide", - "signature" : [ { - "localId" : "315", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "316", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "313", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "value" : 100, - "unit" : "[nmi_i]", - "type" : "Quantity" - }, { - "localId" : "314", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "value" : 2, - "unit" : "h", - "type" : "Quantity" - } ] - }, { - "localId" : "317", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "value" : 49, - "unit" : "mg/[lb_av]", - "type" : "Quantity" - } ] - } - }, { - "localId" : "322", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "DivideUcum", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "322", + "operand" : [ { + "type" : "Quantity", + "localId" : "313", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "value" : 100, + "unit" : "[nmi_i]", + "annotation" : [ ] + }, { + "type" : "Quantity", + "localId" : "314", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "value" : 2, + "unit" : "h", + "annotation" : [ ] + } ] + }, { + "type" : "Quantity", + "localId" : "317", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "value" : 49, + "unit" : "mg/[lb_av]", + "annotation" : [ ] + } ] + } + }, { + "localId" : "322", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "DivideUcum", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "322", + "s" : [ { + "value" : [ "", "define ", "DivideUcum", ": " ] + }, { + "r" : "323", + "s" : [ { + "r" : "324", + "s" : [ { + "value" : [ "(" ] + }, { + "r" : "324", "s" : [ { - "value" : [ "","define ","DivideUcum",": " ] - }, { - "r" : "323", - "s" : [ { - "r" : "324", - "s" : [ { - "value" : [ "(" ] - }, { - "r" : "324", - "s" : [ { - "r" : "325", - "s" : [ { - "value" : [ "100 ","'mg'" ] - } ] - }, { - "value" : [ " / " ] - }, { - "r" : "326", - "s" : [ { - "value" : [ "2 ","'[lb_av]'" ] - } ] - } ] - }, { - "value" : [ ")" ] - } ] - }, { - "value" : [ " ",">"," " ] - }, { - "r" : "329", - "s" : [ { - "value" : [ "49 ","'mg/[lb_av]'" ] - } ] - } ] - } ] - } + "r" : "325", + "s" : [ { + "value" : [ "100 ", "'mg'" ] + } ] + }, { + "value" : [ " / " ] + }, { + "r" : "326", + "s" : [ { + "value" : [ "2 ", "'[lb_av]'" ] + } ] + } ] + }, { + "value" : [ ")" ] + } ] + }, { + "value" : [ " ", ">", " " ] + }, { + "r" : "329", + "s" : [ { + "value" : [ "49 ", "'mg/[lb_av]'" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Greater", + "localId" : "323", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "330", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "331", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "Divide", + "localId" : "324", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "327", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "328", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] } ], - "expression" : { - "localId" : "323", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "Greater", - "signature" : [ { - "localId" : "330", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "331", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "324", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "Divide", - "signature" : [ { - "localId" : "327", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "328", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "325", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "value" : 100, - "unit" : "mg", - "type" : "Quantity" - }, { - "localId" : "326", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "value" : 2, - "unit" : "[lb_av]", - "type" : "Quantity" - } ] - }, { - "localId" : "329", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "value" : 49, - "unit" : "mg/[lb_av]", - "type" : "Quantity" - } ] - } - } ] - } - } + "operand" : [ { + "type" : "Quantity", + "localId" : "325", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "value" : 100, + "unit" : "mg", + "annotation" : [ ] + }, { + "type" : "Quantity", + "localId" : "326", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "value" : 2, + "unit" : "[lb_av]", + "annotation" : [ ] + } ] + }, { + "type" : "Quantity", + "localId" : "329", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "value" : 49, + "unit" : "mg/[lb_av]", + "annotation" : [ ] + } ] + } + } ] + } + } } diff --git a/test/elm/conditional/data.js b/test/elm/conditional/data.js index 60c315b5..02f3ef39 100644 --- a/test/elm/conditional/data.js +++ b/test/elm/conditional/data.js @@ -17,177 +17,191 @@ define exp: if var then 'true return' else 'false return' */ module.exports['If'] = { - "library" : { - "localId" : "0", - "annotation" : [ { - "translatorVersion" : "3.27.0", - "translatorOptions" : "EnableDateRangeOptimization,EnableAnnotations,EnableResultTypes", - "signatureLevel" : "All", - "type" : "CqlToElmInfo" + "library" : { + "localId" : "0", + "annotation" : [ { + "type" : "CqlToElmInfo", + "translatorVersion" : "4.2.0", + "translatorOptions" : "EnableDateRangeOptimization,EnableAnnotations,EnableResultTypes", + "signatureLevel" : "All" + }, { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "217", + "s" : [ { + "value" : [ "", "library TestSnippet version '1'" ] + } ] + } + } ], + "identifier" : { + "id" : "TestSnippet", + "version" : "1" + }, + "schemaIdentifier" : { + "id" : "urn:hl7-org:elm", + "version" : "r1" + }, + "usings" : { + "def" : [ { + "localId" : "1", + "localIdentifier" : "System", + "uri" : "urn:hl7-org:elm-types:r1", + "annotation" : [ ] }, { - "type" : "Annotation", - "s" : { - "r" : "217", + "localId" : "206", + "localIdentifier" : "Simple", + "uri" : "https://github.com/cqframework/cql-execution/simple", + "version" : "1.0.0", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "206", "s" : [ { - "value" : [ "","library TestSnippet version '1'" ] + "value" : [ "", "using " ] + }, { + "s" : [ { + "value" : [ "Simple" ] + } ] + }, { + "value" : [ " version '1.0.0'" ] } ] - } - } ], - "identifier" : { - "id" : "TestSnippet", - "version" : "1" - }, - "schemaIdentifier" : { - "id" : "urn:hl7-org:elm", - "version" : "r1" - }, - "usings" : { - "def" : [ { - "localId" : "1", - "localIdentifier" : "System", - "uri" : "urn:hl7-org:elm-types:r1" - }, { - "localId" : "206", - "localIdentifier" : "Simple", - "uri" : "https://github.com/cqframework/cql-execution/simple", - "version" : "1.0.0", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "206", - "s" : [ { - "value" : [ "","using " ] - }, { - "s" : [ { - "value" : [ "Simple" ] - } ] - }, { - "value" : [ " version '1.0.0'" ] - } ] - } + } + } ] + } ] + }, + "parameters" : { + "def" : [ { + "localId" : "208", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "var", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "208", + "s" : [ { + "value" : [ "", "parameter ", "var", " " ] + }, { + "r" : "209", + "s" : [ { + "value" : [ "Boolean" ] + } ] } ] - } ] - }, - "parameters" : { - "def" : [ { - "localId" : "208", + } + } ], + "parameterTypeSpecifier" : { + "type" : "NamedTypeSpecifier", + "localId" : "209", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ] + } + } ] + }, + "contexts" : { + "def" : [ { + "localId" : "214", + "name" : "Patient", + "annotation" : [ ] + } ] + }, + "statements" : { + "def" : [ { + "localId" : "212", + "name" : "Patient", + "context" : "Patient", + "annotation" : [ ], + "expression" : { + "type" : "SingletonFrom", + "localId" : "213", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Retrieve", + "localId" : "211", + "dataType" : "{https://github.com/cqframework/cql-execution/simple}Patient", + "annotation" : [ ], + "include" : [ ], + "codeFilter" : [ ], + "dateFilter" : [ ], + "otherFilter" : [ ] + } + } + }, { + "localId" : "217", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "name" : "exp", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "217", + "s" : [ { + "value" : [ "", "define ", "exp", ": " ] + }, { + "r" : "218", + "s" : [ { + "value" : [ "if " ] + }, { + "r" : "219", + "s" : [ { + "value" : [ "var" ] + } ] + }, { + "value" : [ " then " ] + }, { + "r" : "220", + "s" : [ { + "value" : [ "'true return'" ] + } ] + }, { + "value" : [ " else " ] + }, { + "r" : "222", + "s" : [ { + "value" : [ "'false return'" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "If", + "localId" : "218", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ], + "condition" : { + "type" : "ParameterRef", + "localId" : "219", "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", "name" : "var", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "208", - "s" : [ { - "value" : [ "","parameter ","var"," " ] - }, { - "r" : "209", - "s" : [ { - "value" : [ "Boolean" ] - } ] - } ] - } - } ], - "parameterTypeSpecifier" : { - "localId" : "209", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "NamedTypeSpecifier" - } - } ] - }, - "contexts" : { - "def" : [ { - "localId" : "214", - "name" : "Patient" - } ] - }, - "statements" : { - "def" : [ { - "localId" : "212", - "name" : "Patient", - "context" : "Patient", - "expression" : { - "localId" : "213", - "type" : "SingletonFrom", - "signature" : [ ], - "operand" : { - "localId" : "211", - "dataType" : "{https://github.com/cqframework/cql-execution/simple}Patient", - "type" : "Retrieve", - "include" : [ ], - "codeFilter" : [ ], - "dateFilter" : [ ], - "otherFilter" : [ ] - } - } - }, { - "localId" : "217", + "annotation" : [ ] + }, + "then" : { + "type" : "Literal", + "localId" : "220", "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "name" : "exp", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "217", - "s" : [ { - "value" : [ "","define ","exp",": " ] - }, { - "r" : "218", - "s" : [ { - "value" : [ "if " ] - }, { - "r" : "219", - "s" : [ { - "value" : [ "var" ] - } ] - }, { - "value" : [ " then " ] - }, { - "r" : "220", - "s" : [ { - "value" : [ "'true return'" ] - } ] - }, { - "value" : [ " else " ] - }, { - "r" : "222", - "s" : [ { - "value" : [ "'false return'" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "218", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "type" : "If", - "condition" : { - "localId" : "219", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "var", - "type" : "ParameterRef" - }, - "then" : { - "localId" : "220", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "true return", - "type" : "Literal" - }, - "else" : { - "localId" : "222", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "false return", - "type" : "Literal" - } - } - } ] - } - } + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "true return", + "annotation" : [ ] + }, + "else" : { + "type" : "Literal", + "localId" : "222", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "false return", + "annotation" : [ ] + } + } + } ] + } + } } /* Case @@ -215,439 +229,479 @@ define standard: */ module.exports['Case'] = { - "library" : { - "localId" : "0", - "annotation" : [ { - "translatorVersion" : "3.27.0", - "translatorOptions" : "EnableDateRangeOptimization,EnableAnnotations,EnableResultTypes", - "signatureLevel" : "All", - "type" : "CqlToElmInfo" + "library" : { + "localId" : "0", + "annotation" : [ { + "type" : "CqlToElmInfo", + "translatorVersion" : "4.2.0", + "translatorOptions" : "EnableDateRangeOptimization,EnableAnnotations,EnableResultTypes", + "signatureLevel" : "All" + }, { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "238", + "s" : [ { + "value" : [ "", "library TestSnippet version '1'" ] + } ] + } + } ], + "identifier" : { + "id" : "TestSnippet", + "version" : "1" + }, + "schemaIdentifier" : { + "id" : "urn:hl7-org:elm", + "version" : "r1" + }, + "usings" : { + "def" : [ { + "localId" : "1", + "localIdentifier" : "System", + "uri" : "urn:hl7-org:elm-types:r1", + "annotation" : [ ] }, { - "type" : "Annotation", - "s" : { - "r" : "238", + "localId" : "206", + "localIdentifier" : "Simple", + "uri" : "https://github.com/cqframework/cql-execution/simple", + "version" : "1.0.0", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "206", + "s" : [ { + "value" : [ "", "using " ] + }, { + "s" : [ { + "value" : [ "Simple" ] + } ] + }, { + "value" : [ " version '1.0.0'" ] + } ] + } + } ] + } ] + }, + "parameters" : { + "def" : [ { + "localId" : "208", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "name" : "var", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "208", + "s" : [ { + "value" : [ "", "parameter ", "var", " " ] + }, { + "r" : "209", + "s" : [ { + "value" : [ "Integer" ] + } ] + } ] + } + } ], + "parameterTypeSpecifier" : { + "type" : "NamedTypeSpecifier", + "localId" : "209", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, { + "localId" : "211", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "name" : "X", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "211", + "s" : [ { + "value" : [ "", "parameter ", "X", " " ] + }, { + "r" : "212", + "s" : [ { + "value" : [ "Integer" ] + } ] + } ] + } + } ], + "parameterTypeSpecifier" : { + "type" : "NamedTypeSpecifier", + "localId" : "212", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, { + "localId" : "214", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "name" : "Y", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "214", "s" : [ { - "value" : [ "","library TestSnippet version '1'" ] + "value" : [ "", "parameter ", "Y", " " ] + }, { + "r" : "215", + "s" : [ { + "value" : [ "Integer" ] + } ] } ] - } - } ], - "identifier" : { - "id" : "TestSnippet", - "version" : "1" - }, - "schemaIdentifier" : { - "id" : "urn:hl7-org:elm", - "version" : "r1" - }, - "usings" : { - "def" : [ { - "localId" : "1", - "localIdentifier" : "System", - "uri" : "urn:hl7-org:elm-types:r1" - }, { - "localId" : "206", - "localIdentifier" : "Simple", - "uri" : "https://github.com/cqframework/cql-execution/simple", - "version" : "1.0.0", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "206", + } + } ], + "parameterTypeSpecifier" : { + "type" : "NamedTypeSpecifier", + "localId" : "215", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } ] + }, + "contexts" : { + "def" : [ { + "localId" : "220", + "name" : "Patient", + "annotation" : [ ] + } ] + }, + "statements" : { + "def" : [ { + "localId" : "218", + "name" : "Patient", + "context" : "Patient", + "annotation" : [ ], + "expression" : { + "type" : "SingletonFrom", + "localId" : "219", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Retrieve", + "localId" : "217", + "dataType" : "{https://github.com/cqframework/cql-execution/simple}Patient", + "annotation" : [ ], + "include" : [ ], + "codeFilter" : [ ], + "dateFilter" : [ ], + "otherFilter" : [ ] + } + } + }, { + "localId" : "223", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "name" : "selected", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "223", + "s" : [ { + "value" : [ "", "define ", "selected", ":\n " ] + }, { + "r" : "224", + "s" : [ { + "value" : [ "case " ] + }, { + "r" : "225", + "s" : [ { + "value" : [ "var" ] + } ] + }, { + "value" : [ "\n " ] + }, { + "r" : "226", + "s" : [ { + "r" : "227", + "value" : [ "when ", "1", " then " ] + }, { + "r" : "228", "s" : [ { - "value" : [ "","using " ] - }, { - "s" : [ { - "value" : [ "Simple" ] - } ] - }, { - "value" : [ " version '1.0.0'" ] + "value" : [ "'one'" ] + } ] + } ] + }, { + "value" : [ "\n " ] + }, { + "r" : "230", + "s" : [ { + "r" : "231", + "value" : [ "when ", "2", " then " ] + }, { + "r" : "232", + "s" : [ { + "value" : [ "'two'" ] } ] - } + } ] + }, { + "value" : [ "\n else\n " ] + }, { + "r" : "234", + "s" : [ { + "value" : [ "'?'" ] + } ] + }, { + "value" : [ "\n end" ] + } ] } ] - } ] - }, - "parameters" : { - "def" : [ { - "localId" : "208", + } + } ], + "expression" : { + "type" : "Case", + "localId" : "224", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ], + "comparand" : { + "type" : "ParameterRef", + "localId" : "225", "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", "name" : "var", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "208", - "s" : [ { - "value" : [ "","parameter ","var"," " ] - }, { - "r" : "209", - "s" : [ { - "value" : [ "Integer" ] - } ] - } ] - } - } ], - "parameterTypeSpecifier" : { - "localId" : "209", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" + "annotation" : [ ] + }, + "caseItem" : [ { + "localId" : "226", + "annotation" : [ ], + "when" : { + "type" : "Literal", + "localId" : "227", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "then" : { + "type" : "Literal", + "localId" : "228", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "one", + "annotation" : [ ] } - }, { - "localId" : "211", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "name" : "X", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "211", + }, { + "localId" : "230", + "annotation" : [ ], + "when" : { + "type" : "Literal", + "localId" : "231", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "annotation" : [ ] + }, + "then" : { + "type" : "Literal", + "localId" : "232", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "two", + "annotation" : [ ] + } + } ], + "else" : { + "type" : "Literal", + "localId" : "234", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "?", + "annotation" : [ ] + } + } + }, { + "localId" : "238", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "name" : "standard", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "238", + "s" : [ { + "value" : [ "", "define ", "standard", ":\n " ] + }, { + "r" : "239", + "s" : [ { + "value" : [ "case\n " ] + }, { + "r" : "240", + "s" : [ { + "value" : [ "when " ] + }, { + "r" : "241", "s" : [ { - "value" : [ "","parameter ","X"," " ] + "r" : "242", + "s" : [ { + "value" : [ "X" ] + } ] + }, { + "value" : [ " ", ">", " " ] }, { - "r" : "212", - "s" : [ { - "value" : [ "Integer" ] - } ] + "r" : "243", + "s" : [ { + "value" : [ "Y" ] + } ] } ] - } - } ], - "parameterTypeSpecifier" : { - "localId" : "212", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "214", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "name" : "Y", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "214", + }, { + "value" : [ " then " ] + }, { + "r" : "246", "s" : [ { - "value" : [ "","parameter ","Y"," " ] - }, { - "r" : "215", - "s" : [ { - "value" : [ "Integer" ] - } ] + "value" : [ "'X > Y'" ] } ] - } - } ], - "parameterTypeSpecifier" : { - "localId" : "215", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } ] - }, - "contexts" : { - "def" : [ { - "localId" : "220", - "name" : "Patient" - } ] - }, - "statements" : { - "def" : [ { - "localId" : "218", - "name" : "Patient", - "context" : "Patient", - "expression" : { - "localId" : "219", - "type" : "SingletonFrom", - "signature" : [ ], - "operand" : { - "localId" : "217", - "dataType" : "{https://github.com/cqframework/cql-execution/simple}Patient", - "type" : "Retrieve", - "include" : [ ], - "codeFilter" : [ ], - "dateFilter" : [ ], - "otherFilter" : [ ] - } - } - }, { - "localId" : "223", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "name" : "selected", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "223", + } ] + }, { + "value" : [ "\n " ] + }, { + "r" : "248", + "s" : [ { + "value" : [ "when " ] + }, { + "r" : "249", "s" : [ { - "value" : [ "","define ","selected",":\n " ] + "r" : "250", + "s" : [ { + "value" : [ "X" ] + } ] }, { - "r" : "224", - "s" : [ { - "value" : [ "case " ] - }, { - "r" : "225", - "s" : [ { - "value" : [ "var" ] - } ] - }, { - "value" : [ "\n " ] - }, { - "r" : "226", - "s" : [ { - "r" : "227", - "value" : [ "when ","1"," then " ] - }, { - "r" : "228", - "s" : [ { - "value" : [ "'one'" ] - } ] - } ] - }, { - "value" : [ "\n " ] - }, { - "r" : "230", - "s" : [ { - "r" : "231", - "value" : [ "when ","2"," then " ] - }, { - "r" : "232", - "s" : [ { - "value" : [ "'two'" ] - } ] - } ] - }, { - "value" : [ "\n else\n " ] - }, { - "r" : "234", - "s" : [ { - "value" : [ "'?'" ] - } ] - }, { - "value" : [ "\n end" ] - } ] + "value" : [ " ", "<", " " ] + }, { + "r" : "251", + "s" : [ { + "value" : [ "Y" ] + } ] } ] - } - } ], - "expression" : { - "localId" : "224", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "type" : "Case", - "comparand" : { - "localId" : "225", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "name" : "var", - "type" : "ParameterRef" - }, - "caseItem" : [ { - "localId" : "226", - "when" : { - "localId" : "227", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "then" : { - "localId" : "228", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "one", - "type" : "Literal" - } - }, { - "localId" : "230", - "when" : { - "localId" : "231", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal" - }, - "then" : { - "localId" : "232", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "two", - "type" : "Literal" - } - } ], - "else" : { - "localId" : "234", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "?", - "type" : "Literal" - } - } - }, { - "localId" : "238", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "name" : "standard", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "238", + }, { + "value" : [ " then " ] + }, { + "r" : "254", "s" : [ { - "value" : [ "","define ","standard",":\n " ] - }, { - "r" : "239", - "s" : [ { - "value" : [ "case\n " ] - }, { - "r" : "240", - "s" : [ { - "value" : [ "when " ] - }, { - "r" : "241", - "s" : [ { - "r" : "242", - "s" : [ { - "value" : [ "X" ] - } ] - }, { - "value" : [ " ",">"," " ] - }, { - "r" : "243", - "s" : [ { - "value" : [ "Y" ] - } ] - } ] - }, { - "value" : [ " then " ] - }, { - "r" : "246", - "s" : [ { - "value" : [ "'X > Y'" ] - } ] - } ] - }, { - "value" : [ "\n " ] - }, { - "r" : "248", - "s" : [ { - "value" : [ "when " ] - }, { - "r" : "249", - "s" : [ { - "r" : "250", - "s" : [ { - "value" : [ "X" ] - } ] - }, { - "value" : [ " ","<"," " ] - }, { - "r" : "251", - "s" : [ { - "value" : [ "Y" ] - } ] - } ] - }, { - "value" : [ " then " ] - }, { - "r" : "254", - "s" : [ { - "value" : [ "'X < Y'" ] - } ] - } ] - }, { - "value" : [ "\n else " ] - }, { - "r" : "256", - "s" : [ { - "value" : [ "'X == Y'" ] - } ] - }, { - "value" : [ "\n end" ] - } ] + "value" : [ "'X < Y'" ] } ] - } - } ], - "expression" : { - "localId" : "239", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "type" : "Case", - "caseItem" : [ { - "localId" : "240", - "when" : { - "localId" : "241", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "Greater", - "signature" : [ { - "localId" : "244", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "245", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "242", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "name" : "X", - "type" : "ParameterRef" - }, { - "localId" : "243", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "name" : "Y", - "type" : "ParameterRef" - } ] - }, - "then" : { - "localId" : "246", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "X > Y", - "type" : "Literal" - } - }, { - "localId" : "248", - "when" : { - "localId" : "249", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "Less", - "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", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "name" : "X", - "type" : "ParameterRef" - }, { - "localId" : "251", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "name" : "Y", - "type" : "ParameterRef" - } ] - }, - "then" : { - "localId" : "254", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "X < Y", - "type" : "Literal" - } - } ], - "else" : { - "localId" : "256", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "X == Y", - "type" : "Literal" - } + } ] + }, { + "value" : [ "\n else " ] + }, { + "r" : "256", + "s" : [ { + "value" : [ "'X == Y'" ] + } ] + }, { + "value" : [ "\n end" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Case", + "localId" : "239", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ], + "caseItem" : [ { + "localId" : "240", + "annotation" : [ ], + "when" : { + "type" : "Greater", + "localId" : "241", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "244", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "245", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "ParameterRef", + "localId" : "242", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "name" : "X", + "annotation" : [ ] + }, { + "type" : "ParameterRef", + "localId" : "243", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "name" : "Y", + "annotation" : [ ] + } ] + }, + "then" : { + "type" : "Literal", + "localId" : "246", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "X > Y", + "annotation" : [ ] } - } ] - } - } + }, { + "localId" : "248", + "annotation" : [ ], + "when" : { + "type" : "Less", + "localId" : "249", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "252", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "253", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "ParameterRef", + "localId" : "250", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "name" : "X", + "annotation" : [ ] + }, { + "type" : "ParameterRef", + "localId" : "251", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "name" : "Y", + "annotation" : [ ] + } ] + }, + "then" : { + "type" : "Literal", + "localId" : "254", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "X < Y", + "annotation" : [ ] + } + } ], + "else" : { + "type" : "Literal", + "localId" : "256", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "X == Y", + "annotation" : [ ] + } + } + } ] + } + } } diff --git a/test/elm/convert/data.js b/test/elm/convert/data.js index 11fa6393..4bb8f835 100644 --- a/test/elm/convert/data.js +++ b/test/elm/convert/data.js @@ -34,995 +34,1075 @@ define TimezoneTime: convert '14:30:00.0-07:00' to Time // 2:30PM Mountain Stand */ module.exports['FromString'] = { - "library" : { - "localId" : "0", - "annotation" : [ { - "translatorVersion" : "3.27.0", - "translatorOptions" : "EnableDateRangeOptimization,EnableAnnotations,EnableResultTypes", - "signatureLevel" : "All", - "type" : "CqlToElmInfo" - }, { - "type" : "Annotation", - "s" : { - "r" : "370", + "library" : { + "localId" : "0", + "annotation" : [ { + "type" : "CqlToElmInfo", + "translatorVersion" : "4.2.0", + "translatorOptions" : "EnableDateRangeOptimization,EnableAnnotations,EnableResultTypes", + "signatureLevel" : "All" + }, { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "370", + "s" : [ { + "value" : [ "", "library TestSnippet version '1'" ] + } ] + } + } ], + "identifier" : { + "id" : "TestSnippet", + "version" : "1" + }, + "schemaIdentifier" : { + "id" : "urn:hl7-org:elm", + "version" : "r1" + }, + "usings" : { + "def" : [ { + "localId" : "1", + "localIdentifier" : "System", + "uri" : "urn:hl7-org:elm-types:r1", + "annotation" : [ ] + }, { + "localId" : "206", + "localIdentifier" : "Simple", + "uri" : "https://github.com/cqframework/cql-execution/simple", + "version" : "1.0.0", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "206", "s" : [ { - "value" : [ "","library TestSnippet version '1'" ] - } ] - } - } ], - "identifier" : { - "id" : "TestSnippet", - "version" : "1" - }, - "schemaIdentifier" : { - "id" : "urn:hl7-org:elm", - "version" : "r1" - }, - "usings" : { - "def" : [ { - "localId" : "1", - "localIdentifier" : "System", - "uri" : "urn:hl7-org:elm-types:r1" - }, { - "localId" : "206", - "localIdentifier" : "Simple", - "uri" : "https://github.com/cqframework/cql-execution/simple", - "version" : "1.0.0", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "206", - "s" : [ { - "value" : [ "","using " ] - }, { - "s" : [ { - "value" : [ "Simple" ] - } ] - }, { - "value" : [ " version '1.0.0'" ] - } ] - } - } ] - } ] - }, - "contexts" : { - "def" : [ { - "localId" : "211", - "name" : "Patient" - } ] - }, - "statements" : { - "def" : [ { - "localId" : "209", - "name" : "Patient", - "context" : "Patient", - "expression" : { - "localId" : "210", - "type" : "SingletonFrom", - "signature" : [ ], - "operand" : { - "localId" : "208", - "dataType" : "{https://github.com/cqframework/cql-execution/simple}Patient", - "type" : "Retrieve", - "include" : [ ], - "codeFilter" : [ ], - "dateFilter" : [ ], - "otherFilter" : [ ] - } - } - }, { - "localId" : "214", + "value" : [ "", "using " ] + }, { + "s" : [ { + "value" : [ "Simple" ] + } ] + }, { + "value" : [ " version '1.0.0'" ] + } ] + } + } ] + } ] + }, + "contexts" : { + "def" : [ { + "localId" : "211", + "name" : "Patient", + "annotation" : [ ] + } ] + }, + "statements" : { + "def" : [ { + "localId" : "209", + "name" : "Patient", + "context" : "Patient", + "annotation" : [ ], + "expression" : { + "type" : "SingletonFrom", + "localId" : "210", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Retrieve", + "localId" : "208", + "dataType" : "{https://github.com/cqframework/cql-execution/simple}Patient", + "annotation" : [ ], + "include" : [ ], + "codeFilter" : [ ], + "dateFilter" : [ ], + "otherFilter" : [ ] + } + } + }, { + "localId" : "214", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "name" : "stringStr", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "214", + "s" : [ { + "value" : [ "", "define ", "stringStr", ": " ] + }, { + "r" : "216", + "s" : [ { + "value" : [ "convert " ] + }, { + "r" : "216", + "s" : [ { + "value" : [ "'str'" ] + } ] + }, { + "value" : [ " to " ] + }, { + "r" : "215", + "s" : [ { + "value" : [ "String" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Literal", + "localId" : "216", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "str", + "annotation" : [ ] + } + }, { + "localId" : "220", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "name" : "stringNull", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "220", + "s" : [ { + "value" : [ "", "define ", "stringNull", ": " ] + }, { + "r" : "223", + "s" : [ { + "r" : "222", + "value" : [ "convert ", "null", " to " ] + }, { + "r" : "221", + "s" : [ { + "value" : [ "String" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "As", + "localId" : "223", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "asType" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Null", + "localId" : "222", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } + } + }, { + "localId" : "226", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "boolTrue", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "226", + "s" : [ { + "value" : [ "", "define ", "boolTrue", ": " ] + }, { + "r" : "231", + "s" : [ { + "value" : [ "convert " ] + }, { + "r" : "228", + "s" : [ { + "value" : [ "'true'" ] + } ] + }, { + "value" : [ " to " ] + }, { + "r" : "227", + "s" : [ { + "value" : [ "Boolean" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "ToBoolean", + "localId" : "231", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "232", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } ], + "operand" : { + "type" : "Literal", + "localId" : "228", "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "name" : "stringStr", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "214", - "s" : [ { - "value" : [ "","define ","stringStr",": " ] - }, { - "r" : "216", - "s" : [ { - "value" : [ "convert " ] - }, { - "r" : "216", - "s" : [ { - "value" : [ "'str'" ] - } ] - }, { - "value" : [ " to " ] - }, { - "r" : "215", - "s" : [ { - "value" : [ "String" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "216", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "str", - "type" : "Literal" - } - }, { - "localId" : "220", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "true", + "annotation" : [ ] + } + } + }, { + "localId" : "235", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "boolFalse", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "235", + "s" : [ { + "value" : [ "", "define ", "boolFalse", ": " ] + }, { + "r" : "240", + "s" : [ { + "value" : [ "convert " ] + }, { + "r" : "237", + "s" : [ { + "value" : [ "'false'" ] + } ] + }, { + "value" : [ " to " ] + }, { + "r" : "236", + "s" : [ { + "value" : [ "Boolean" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "ToBoolean", + "localId" : "240", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "241", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } ], + "operand" : { + "type" : "Literal", + "localId" : "237", "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "name" : "stringNull", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "220", - "s" : [ { - "value" : [ "","define ","stringNull",": " ] - }, { - "r" : "223", - "s" : [ { - "r" : "222", - "value" : [ "convert ","null"," to " ] - }, { - "r" : "221", - "s" : [ { - "value" : [ "String" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "223", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "asType" : "{urn:hl7-org:elm-types:r1}String", - "type" : "As", - "signature" : [ ], - "operand" : { - "localId" : "222", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - } - } - }, { - "localId" : "226", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "boolTrue", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "226", - "s" : [ { - "value" : [ "","define ","boolTrue",": " ] - }, { - "r" : "231", - "s" : [ { - "value" : [ "convert " ] - }, { - "r" : "228", - "s" : [ { - "value" : [ "'true'" ] - } ] - }, { - "value" : [ " to " ] - }, { - "r" : "227", - "s" : [ { - "value" : [ "Boolean" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "231", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "ToBoolean", - "signature" : [ { - "localId" : "232", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "228", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "true", - "type" : "Literal" - } - } - }, { - "localId" : "235", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "boolFalse", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "235", - "s" : [ { - "value" : [ "","define ","boolFalse",": " ] - }, { - "r" : "240", - "s" : [ { - "value" : [ "convert " ] - }, { - "r" : "237", - "s" : [ { - "value" : [ "'false'" ] - } ] - }, { - "value" : [ " to " ] - }, { - "r" : "236", - "s" : [ { - "value" : [ "Boolean" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "240", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "ToBoolean", - "signature" : [ { - "localId" : "241", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "237", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "false", - "type" : "Literal" - } - } - }, { - "localId" : "244", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "name" : "decimalValid", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "244", - "s" : [ { - "value" : [ "","define ","decimalValid",": " ] - }, { - "r" : "249", - "s" : [ { - "value" : [ "convert " ] - }, { - "r" : "246", - "s" : [ { - "value" : [ "'10.2'" ] - } ] - }, { - "value" : [ " to " ] - }, { - "r" : "245", - "s" : [ { - "value" : [ "Decimal" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "249", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "ToDecimal", - "signature" : [ { - "localId" : "250", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "246", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "10.2", - "type" : "Literal" - } - } - }, { - "localId" : "253", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "name" : "decimalInvalid", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "253", - "s" : [ { - "value" : [ "","define ","decimalInvalid",": " ] - }, { - "r" : "258", - "s" : [ { - "value" : [ "convert " ] - }, { - "r" : "255", - "s" : [ { - "value" : [ "'abc'" ] - } ] - }, { - "value" : [ " to " ] - }, { - "r" : "254", - "s" : [ { - "value" : [ "Decimal" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "258", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "ToDecimal", - "signature" : [ { - "localId" : "259", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "255", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "abc", - "type" : "Literal" - } - } - }, { - "localId" : "262", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "name" : "integerValid", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "262", - "s" : [ { - "value" : [ "","define ","integerValid",": " ] - }, { - "r" : "267", - "s" : [ { - "value" : [ "convert " ] - }, { - "r" : "264", - "s" : [ { - "value" : [ "'10'" ] - } ] - }, { - "value" : [ " to " ] - }, { - "r" : "263", - "s" : [ { - "value" : [ "Integer" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "267", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "ToInteger", - "signature" : [ { - "localId" : "268", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "264", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "10", - "type" : "Literal" - } - } - }, { - "localId" : "271", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "name" : "integerDropDecimal", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "271", - "s" : [ { - "value" : [ "","define ","integerDropDecimal",": " ] - }, { - "r" : "276", - "s" : [ { - "value" : [ "convert " ] - }, { - "r" : "273", - "s" : [ { - "value" : [ "'10.2'" ] - } ] - }, { - "value" : [ " to " ] - }, { - "r" : "272", - "s" : [ { - "value" : [ "Integer" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "276", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "ToInteger", - "signature" : [ { - "localId" : "277", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "273", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "10.2", - "type" : "Literal" - } - } - }, { - "localId" : "280", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "name" : "integerInvalid", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "280", - "s" : [ { - "value" : [ "","define ","integerInvalid",": " ] - }, { - "r" : "285", - "s" : [ { - "value" : [ "convert " ] - }, { - "r" : "282", - "s" : [ { - "value" : [ "'abc'" ] - } ] - }, { - "value" : [ " to " ] - }, { - "r" : "281", - "s" : [ { - "value" : [ "Integer" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "285", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "ToInteger", - "signature" : [ { - "localId" : "286", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "282", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "abc", - "type" : "Literal" - } - } - }, { - "localId" : "289", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "name" : "quantityStr", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "289", - "s" : [ { - "value" : [ "","define ","quantityStr",": " ] - }, { - "r" : "294", - "s" : [ { - "value" : [ "convert " ] - }, { - "r" : "291", - "s" : [ { - "value" : [ "'10 \\'A\\''" ] - } ] - }, { - "value" : [ " to " ] - }, { - "r" : "290", - "s" : [ { - "value" : [ "Quantity" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "294", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "ToQuantity", - "signature" : [ { - "localId" : "295", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "291", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "10 'A'", - "type" : "Literal" - } - } - }, { - "localId" : "298", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "name" : "posQuantityStr", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "298", - "s" : [ { - "value" : [ "","define ","posQuantityStr",": " ] - }, { - "r" : "303", - "s" : [ { - "value" : [ "convert " ] - }, { - "r" : "300", - "s" : [ { - "value" : [ "'+10 \\'A\\''" ] - } ] - }, { - "value" : [ " to " ] - }, { - "r" : "299", - "s" : [ { - "value" : [ "Quantity" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "303", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "ToQuantity", - "signature" : [ { - "localId" : "304", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "300", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "+10 'A'", - "type" : "Literal" - } - } - }, { - "localId" : "307", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "name" : "negQuantityStr", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "307", - "s" : [ { - "value" : [ "","define ","negQuantityStr",": " ] - }, { - "r" : "312", - "s" : [ { - "value" : [ "convert " ] - }, { - "r" : "309", - "s" : [ { - "value" : [ "'-10 \\'A\\''" ] - } ] - }, { - "value" : [ " to " ] - }, { - "r" : "308", - "s" : [ { - "value" : [ "Quantity" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "312", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "ToQuantity", - "signature" : [ { - "localId" : "313", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "309", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "-10 'A'", - "type" : "Literal" - } - } - }, { - "localId" : "316", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "name" : "quantityStrDecimal", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "316", - "s" : [ { - "value" : [ "","define ","quantityStrDecimal",": " ] - }, { - "r" : "321", - "s" : [ { - "value" : [ "convert " ] - }, { - "r" : "318", - "s" : [ { - "value" : [ "'10.0 \\'mA\\''" ] - } ] - }, { - "value" : [ " to " ] - }, { - "r" : "317", - "s" : [ { - "value" : [ "Quantity" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "321", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "ToQuantity", - "signature" : [ { - "localId" : "322", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "318", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "10.0 'mA'", - "type" : "Literal" - } - } - }, { - "localId" : "325", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "name" : "dateTimeStr", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "325", - "s" : [ { - "value" : [ "","define ","dateTimeStr",": " ] - }, { - "r" : "330", - "s" : [ { - "value" : [ "convert " ] - }, { - "r" : "327", - "s" : [ { - "value" : [ "'2015-01-02'" ] - } ] - }, { - "value" : [ " to " ] - }, { - "r" : "326", - "s" : [ { - "value" : [ "DateTime" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "330", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "ToDateTime", - "signature" : [ { - "localId" : "331", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "327", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "2015-01-02", - "type" : "Literal" - } - } - }, { - "localId" : "334", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", - "name" : "dateStr", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "334", - "s" : [ { - "value" : [ "","define ","dateStr",": " ] - }, { - "r" : "339", - "s" : [ { - "value" : [ "convert " ] - }, { - "r" : "336", - "s" : [ { - "value" : [ "'2015-01-02'" ] - } ] - }, { - "value" : [ " to " ] - }, { - "r" : "335", - "s" : [ { - "value" : [ "Date" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "339", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "ToDate", - "signature" : [ { - "localId" : "340", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "336", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "2015-01-02", - "type" : "Literal" - } - } - }, { - "localId" : "343", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "name" : "NullConvert", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "343", - "s" : [ { - "value" : [ "","define ","NullConvert",": " ] - }, { - "r" : "348", - "s" : [ { - "value" : [ "convert " ] - }, { - "r" : "345", - "s" : [ { - "value" : [ "'foo'" ] - } ] - }, { - "value" : [ " to " ] - }, { - "r" : "344", - "s" : [ { - "value" : [ "DateTime" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "348", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "ToDateTime", - "signature" : [ { - "localId" : "349", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "345", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "foo", - "type" : "Literal" - } - } - }, { - "localId" : "352", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "name" : "ZDateTime", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "352", - "s" : [ { - "value" : [ "","define ","ZDateTime",": " ] - }, { - "r" : "357", - "s" : [ { - "value" : [ "convert " ] - }, { - "r" : "354", - "s" : [ { - "value" : [ "'2014-01-01T14:30:00.0Z'" ] - } ] - }, { - "value" : [ " to " ] - }, { - "r" : "353", - "s" : [ { - "value" : [ "DateTime" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "357", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "ToDateTime", - "signature" : [ { - "localId" : "358", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "354", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "2014-01-01T14:30:00.0Z", - "type" : "Literal" - } - } - }, { - "localId" : "361", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "name" : "TimezoneDateTime", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "361", - "s" : [ { - "value" : [ "// January 1st, 2014, 2:30PM UTC\n","define ","TimezoneDateTime",": " ] - }, { - "r" : "366", - "s" : [ { - "value" : [ "convert " ] - }, { - "r" : "363", - "s" : [ { - "value" : [ "'2014-01-01T14:30:00.0-07:00'" ] - } ] - }, { - "value" : [ " to " ] - }, { - "r" : "362", - "s" : [ { - "value" : [ "DateTime" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "366", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "ToDateTime", - "signature" : [ { - "localId" : "367", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "363", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "2014-01-01T14:30:00.0-07:00", - "type" : "Literal" - } - } - }, { - "localId" : "370", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Time", - "name" : "TimezoneTime", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "370", - "s" : [ { - "value" : [ "// January 1st, 2014, 2:30PM Mountain Standard (GMT-7:00)\n","define ","TimezoneTime",": " ] - }, { - "r" : "375", - "s" : [ { - "value" : [ "convert " ] - }, { - "r" : "372", - "s" : [ { - "value" : [ "'14:30:00.0-07:00'" ] - } ] - }, { - "value" : [ " to " ] - }, { - "r" : "371", - "s" : [ { - "value" : [ "Time" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "375", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Time", - "type" : "ToTime", - "signature" : [ { - "localId" : "376", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "372", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "14:30:00.0-07:00", - "type" : "Literal" - } - } - } ] - } - } + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "false", + "annotation" : [ ] + } + } + }, { + "localId" : "244", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "name" : "decimalValid", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "244", + "s" : [ { + "value" : [ "", "define ", "decimalValid", ": " ] + }, { + "r" : "249", + "s" : [ { + "value" : [ "convert " ] + }, { + "r" : "246", + "s" : [ { + "value" : [ "'10.2'" ] + } ] + }, { + "value" : [ " to " ] + }, { + "r" : "245", + "s" : [ { + "value" : [ "Decimal" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "ToDecimal", + "localId" : "249", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "250", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } ], + "operand" : { + "type" : "Literal", + "localId" : "246", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "10.2", + "annotation" : [ ] + } + } + }, { + "localId" : "253", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "name" : "decimalInvalid", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "253", + "s" : [ { + "value" : [ "", "define ", "decimalInvalid", ": " ] + }, { + "r" : "258", + "s" : [ { + "value" : [ "convert " ] + }, { + "r" : "255", + "s" : [ { + "value" : [ "'abc'" ] + } ] + }, { + "value" : [ " to " ] + }, { + "r" : "254", + "s" : [ { + "value" : [ "Decimal" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "ToDecimal", + "localId" : "258", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "259", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } ], + "operand" : { + "type" : "Literal", + "localId" : "255", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "abc", + "annotation" : [ ] + } + } + }, { + "localId" : "262", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "name" : "integerValid", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "262", + "s" : [ { + "value" : [ "", "define ", "integerValid", ": " ] + }, { + "r" : "267", + "s" : [ { + "value" : [ "convert " ] + }, { + "r" : "264", + "s" : [ { + "value" : [ "'10'" ] + } ] + }, { + "value" : [ " to " ] + }, { + "r" : "263", + "s" : [ { + "value" : [ "Integer" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "ToInteger", + "localId" : "267", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "268", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } ], + "operand" : { + "type" : "Literal", + "localId" : "264", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "10", + "annotation" : [ ] + } + } + }, { + "localId" : "271", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "name" : "integerDropDecimal", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "271", + "s" : [ { + "value" : [ "", "define ", "integerDropDecimal", ": " ] + }, { + "r" : "276", + "s" : [ { + "value" : [ "convert " ] + }, { + "r" : "273", + "s" : [ { + "value" : [ "'10.2'" ] + } ] + }, { + "value" : [ " to " ] + }, { + "r" : "272", + "s" : [ { + "value" : [ "Integer" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "ToInteger", + "localId" : "276", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "277", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } ], + "operand" : { + "type" : "Literal", + "localId" : "273", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "10.2", + "annotation" : [ ] + } + } + }, { + "localId" : "280", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "name" : "integerInvalid", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "280", + "s" : [ { + "value" : [ "", "define ", "integerInvalid", ": " ] + }, { + "r" : "285", + "s" : [ { + "value" : [ "convert " ] + }, { + "r" : "282", + "s" : [ { + "value" : [ "'abc'" ] + } ] + }, { + "value" : [ " to " ] + }, { + "r" : "281", + "s" : [ { + "value" : [ "Integer" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "ToInteger", + "localId" : "285", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "286", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } ], + "operand" : { + "type" : "Literal", + "localId" : "282", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "abc", + "annotation" : [ ] + } + } + }, { + "localId" : "289", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "name" : "quantityStr", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "289", + "s" : [ { + "value" : [ "", "define ", "quantityStr", ": " ] + }, { + "r" : "294", + "s" : [ { + "value" : [ "convert " ] + }, { + "r" : "291", + "s" : [ { + "value" : [ "'10 \\'A\\''" ] + } ] + }, { + "value" : [ " to " ] + }, { + "r" : "290", + "s" : [ { + "value" : [ "Quantity" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "ToQuantity", + "localId" : "294", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "295", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } ], + "operand" : { + "type" : "Literal", + "localId" : "291", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "10 'A'", + "annotation" : [ ] + } + } + }, { + "localId" : "298", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "name" : "posQuantityStr", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "298", + "s" : [ { + "value" : [ "", "define ", "posQuantityStr", ": " ] + }, { + "r" : "303", + "s" : [ { + "value" : [ "convert " ] + }, { + "r" : "300", + "s" : [ { + "value" : [ "'+10 \\'A\\''" ] + } ] + }, { + "value" : [ " to " ] + }, { + "r" : "299", + "s" : [ { + "value" : [ "Quantity" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "ToQuantity", + "localId" : "303", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "304", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } ], + "operand" : { + "type" : "Literal", + "localId" : "300", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "+10 'A'", + "annotation" : [ ] + } + } + }, { + "localId" : "307", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "name" : "negQuantityStr", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "307", + "s" : [ { + "value" : [ "", "define ", "negQuantityStr", ": " ] + }, { + "r" : "312", + "s" : [ { + "value" : [ "convert " ] + }, { + "r" : "309", + "s" : [ { + "value" : [ "'-10 \\'A\\''" ] + } ] + }, { + "value" : [ " to " ] + }, { + "r" : "308", + "s" : [ { + "value" : [ "Quantity" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "ToQuantity", + "localId" : "312", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "313", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } ], + "operand" : { + "type" : "Literal", + "localId" : "309", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "-10 'A'", + "annotation" : [ ] + } + } + }, { + "localId" : "316", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "name" : "quantityStrDecimal", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "316", + "s" : [ { + "value" : [ "", "define ", "quantityStrDecimal", ": " ] + }, { + "r" : "321", + "s" : [ { + "value" : [ "convert " ] + }, { + "r" : "318", + "s" : [ { + "value" : [ "'10.0 \\'mA\\''" ] + } ] + }, { + "value" : [ " to " ] + }, { + "r" : "317", + "s" : [ { + "value" : [ "Quantity" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "ToQuantity", + "localId" : "321", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "322", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } ], + "operand" : { + "type" : "Literal", + "localId" : "318", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "10.0 'mA'", + "annotation" : [ ] + } + } + }, { + "localId" : "325", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "name" : "dateTimeStr", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "325", + "s" : [ { + "value" : [ "", "define ", "dateTimeStr", ": " ] + }, { + "r" : "330", + "s" : [ { + "value" : [ "convert " ] + }, { + "r" : "327", + "s" : [ { + "value" : [ "'2015-01-02'" ] + } ] + }, { + "value" : [ " to " ] + }, { + "r" : "326", + "s" : [ { + "value" : [ "DateTime" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "ToDateTime", + "localId" : "330", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "331", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } ], + "operand" : { + "type" : "Literal", + "localId" : "327", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "2015-01-02", + "annotation" : [ ] + } + } + }, { + "localId" : "334", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", + "name" : "dateStr", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "334", + "s" : [ { + "value" : [ "", "define ", "dateStr", ": " ] + }, { + "r" : "339", + "s" : [ { + "value" : [ "convert " ] + }, { + "r" : "336", + "s" : [ { + "value" : [ "'2015-01-02'" ] + } ] + }, { + "value" : [ " to " ] + }, { + "r" : "335", + "s" : [ { + "value" : [ "Date" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "ToDate", + "localId" : "339", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "340", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } ], + "operand" : { + "type" : "Literal", + "localId" : "336", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "2015-01-02", + "annotation" : [ ] + } + } + }, { + "localId" : "343", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "name" : "NullConvert", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "343", + "s" : [ { + "value" : [ "", "define ", "NullConvert", ": " ] + }, { + "r" : "348", + "s" : [ { + "value" : [ "convert " ] + }, { + "r" : "345", + "s" : [ { + "value" : [ "'foo'" ] + } ] + }, { + "value" : [ " to " ] + }, { + "r" : "344", + "s" : [ { + "value" : [ "DateTime" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "ToDateTime", + "localId" : "348", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "349", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } ], + "operand" : { + "type" : "Literal", + "localId" : "345", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "foo", + "annotation" : [ ] + } + } + }, { + "localId" : "352", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "name" : "ZDateTime", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "352", + "s" : [ { + "value" : [ "", "define ", "ZDateTime", ": " ] + }, { + "r" : "357", + "s" : [ { + "value" : [ "convert " ] + }, { + "r" : "354", + "s" : [ { + "value" : [ "'2014-01-01T14:30:00.0Z'" ] + } ] + }, { + "value" : [ " to " ] + }, { + "r" : "353", + "s" : [ { + "value" : [ "DateTime" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "ToDateTime", + "localId" : "357", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "358", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } ], + "operand" : { + "type" : "Literal", + "localId" : "354", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "2014-01-01T14:30:00.0Z", + "annotation" : [ ] + } + } + }, { + "localId" : "361", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "name" : "TimezoneDateTime", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "361", + "s" : [ { + "value" : [ "// January 1st, 2014, 2:30PM UTC\n", "define ", "TimezoneDateTime", ": " ] + }, { + "r" : "366", + "s" : [ { + "value" : [ "convert " ] + }, { + "r" : "363", + "s" : [ { + "value" : [ "'2014-01-01T14:30:00.0-07:00'" ] + } ] + }, { + "value" : [ " to " ] + }, { + "r" : "362", + "s" : [ { + "value" : [ "DateTime" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "ToDateTime", + "localId" : "366", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "367", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } ], + "operand" : { + "type" : "Literal", + "localId" : "363", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "2014-01-01T14:30:00.0-07:00", + "annotation" : [ ] + } + } + }, { + "localId" : "370", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Time", + "name" : "TimezoneTime", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "370", + "s" : [ { + "value" : [ "// January 1st, 2014, 2:30PM Mountain Standard (GMT-7:00)\n", "define ", "TimezoneTime", ": " ] + }, { + "r" : "375", + "s" : [ { + "value" : [ "convert " ] + }, { + "r" : "372", + "s" : [ { + "value" : [ "'14:30:00.0-07:00'" ] + } ] + }, { + "value" : [ " to " ] + }, { + "r" : "371", + "s" : [ { + "value" : [ "Time" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "ToTime", + "localId" : "375", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Time", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "376", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } ], + "operand" : { + "type" : "Literal", + "localId" : "372", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "14:30:00.0-07:00", + "annotation" : [ ] + } + } + } ] + } + } } /* FromInteger @@ -1036,242 +1116,262 @@ define intInt: convert 10 to Integer */ module.exports['FromInteger'] = { - "library" : { - "localId" : "0", - "annotation" : [ { - "translatorVersion" : "3.27.0", - "translatorOptions" : "EnableDateRangeOptimization,EnableAnnotations,EnableResultTypes", - "signatureLevel" : "All", - "type" : "CqlToElmInfo" - }, { - "type" : "Annotation", - "s" : { - "r" : "236", + "library" : { + "localId" : "0", + "annotation" : [ { + "type" : "CqlToElmInfo", + "translatorVersion" : "4.2.0", + "translatorOptions" : "EnableDateRangeOptimization,EnableAnnotations,EnableResultTypes", + "signatureLevel" : "All" + }, { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "236", + "s" : [ { + "value" : [ "", "library TestSnippet version '1'" ] + } ] + } + } ], + "identifier" : { + "id" : "TestSnippet", + "version" : "1" + }, + "schemaIdentifier" : { + "id" : "urn:hl7-org:elm", + "version" : "r1" + }, + "usings" : { + "def" : [ { + "localId" : "1", + "localIdentifier" : "System", + "uri" : "urn:hl7-org:elm-types:r1", + "annotation" : [ ] + }, { + "localId" : "206", + "localIdentifier" : "Simple", + "uri" : "https://github.com/cqframework/cql-execution/simple", + "version" : "1.0.0", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "206", "s" : [ { - "value" : [ "","library TestSnippet version '1'" ] - } ] - } - } ], - "identifier" : { - "id" : "TestSnippet", - "version" : "1" - }, - "schemaIdentifier" : { - "id" : "urn:hl7-org:elm", - "version" : "r1" - }, - "usings" : { - "def" : [ { - "localId" : "1", - "localIdentifier" : "System", - "uri" : "urn:hl7-org:elm-types:r1" - }, { - "localId" : "206", - "localIdentifier" : "Simple", - "uri" : "https://github.com/cqframework/cql-execution/simple", - "version" : "1.0.0", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "206", - "s" : [ { - "value" : [ "","using " ] - }, { - "s" : [ { - "value" : [ "Simple" ] - } ] - }, { - "value" : [ " version '1.0.0'" ] - } ] - } - } ] - } ] - }, - "contexts" : { - "def" : [ { - "localId" : "211", - "name" : "Patient" - } ] - }, - "statements" : { - "def" : [ { - "localId" : "209", - "name" : "Patient", - "context" : "Patient", - "expression" : { - "localId" : "210", - "type" : "SingletonFrom", - "signature" : [ ], - "operand" : { - "localId" : "208", - "dataType" : "{https://github.com/cqframework/cql-execution/simple}Patient", - "type" : "Retrieve", - "include" : [ ], - "codeFilter" : [ ], - "dateFilter" : [ ], - "otherFilter" : [ ] - } - } - }, { - "localId" : "214", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "name" : "string10", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "214", - "s" : [ { - "value" : [ "","define ","string10",": " ] - }, { - "r" : "218", - "s" : [ { - "r" : "216", - "value" : [ "convert ","10"," to " ] - }, { - "r" : "215", - "s" : [ { - "value" : [ "String" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "218", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "type" : "ToString", - "signature" : [ { - "localId" : "219", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "216", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal" - } - } - }, { - "localId" : "222", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "name" : "decimal10", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "222", - "s" : [ { - "value" : [ "","define ","decimal10",": " ] - }, { - "r" : "226", - "s" : [ { - "r" : "224", - "value" : [ "convert ","10"," to " ] - }, { - "r" : "223", - "s" : [ { - "value" : [ "Decimal" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "226", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "ToDecimal", - "signature" : [ { - "localId" : "227", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "224", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal" - } - } - }, { - "localId" : "230", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "name" : "intNull", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "230", - "s" : [ { - "value" : [ "","define ","intNull",": " ] - }, { - "r" : "233", - "s" : [ { - "r" : "232", - "value" : [ "convert ","null"," to " ] - }, { - "r" : "231", - "s" : [ { - "value" : [ "Decimal" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "233", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "asType" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "As", - "signature" : [ ], - "operand" : { - "localId" : "232", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - } - } - }, { - "localId" : "236", + "value" : [ "", "using " ] + }, { + "s" : [ { + "value" : [ "Simple" ] + } ] + }, { + "value" : [ " version '1.0.0'" ] + } ] + } + } ] + } ] + }, + "contexts" : { + "def" : [ { + "localId" : "211", + "name" : "Patient", + "annotation" : [ ] + } ] + }, + "statements" : { + "def" : [ { + "localId" : "209", + "name" : "Patient", + "context" : "Patient", + "annotation" : [ ], + "expression" : { + "type" : "SingletonFrom", + "localId" : "210", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Retrieve", + "localId" : "208", + "dataType" : "{https://github.com/cqframework/cql-execution/simple}Patient", + "annotation" : [ ], + "include" : [ ], + "codeFilter" : [ ], + "dateFilter" : [ ], + "otherFilter" : [ ] + } + } + }, { + "localId" : "214", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "name" : "string10", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "214", + "s" : [ { + "value" : [ "", "define ", "string10", ": " ] + }, { + "r" : "218", + "s" : [ { + "r" : "216", + "value" : [ "convert ", "10", " to " ] + }, { + "r" : "215", + "s" : [ { + "value" : [ "String" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "ToString", + "localId" : "218", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "219", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "operand" : { + "type" : "Literal", + "localId" : "216", "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "name" : "intInt", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "236", - "s" : [ { - "value" : [ "","define ","intInt",": " ] - }, { - "r" : "238", - "s" : [ { - "r" : "238", - "value" : [ "convert ","10"," to " ] - }, { - "r" : "237", - "s" : [ { - "value" : [ "Integer" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "238", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal" - } - } ] - } - } + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "10", + "annotation" : [ ] + } + } + }, { + "localId" : "222", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "name" : "decimal10", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "222", + "s" : [ { + "value" : [ "", "define ", "decimal10", ": " ] + }, { + "r" : "226", + "s" : [ { + "r" : "224", + "value" : [ "convert ", "10", " to " ] + }, { + "r" : "223", + "s" : [ { + "value" : [ "Decimal" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "ToDecimal", + "localId" : "226", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "227", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "operand" : { + "type" : "Literal", + "localId" : "224", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "10", + "annotation" : [ ] + } + } + }, { + "localId" : "230", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "name" : "intNull", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "230", + "s" : [ { + "value" : [ "", "define ", "intNull", ": " ] + }, { + "r" : "233", + "s" : [ { + "r" : "232", + "value" : [ "convert ", "null", " to " ] + }, { + "r" : "231", + "s" : [ { + "value" : [ "Decimal" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "As", + "localId" : "233", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "asType" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Null", + "localId" : "232", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } + } + }, { + "localId" : "236", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "name" : "intInt", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "236", + "s" : [ { + "value" : [ "", "define ", "intInt", ": " ] + }, { + "r" : "238", + "s" : [ { + "r" : "238", + "value" : [ "convert ", "10", " to " ] + }, { + "r" : "237", + "s" : [ { + "value" : [ "Integer" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Literal", + "localId" : "238", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "10", + "annotation" : [ ] + } + } ] + } + } } /* FromQuantity @@ -1285,291 +1385,314 @@ define quantityQuantity: convert 10 'A' to Quantity */ module.exports['FromQuantity'] = { - "library" : { - "localId" : "0", - "annotation" : [ { - "translatorVersion" : "3.27.0", - "translatorOptions" : "EnableDateRangeOptimization,EnableAnnotations,EnableResultTypes", - "signatureLevel" : "All", - "type" : "CqlToElmInfo" - }, { - "type" : "Annotation", - "s" : { - "r" : "240", - "s" : [ { - "value" : [ "","library TestSnippet version '1'" ] - } ] - } - } ], - "identifier" : { - "id" : "TestSnippet", - "version" : "1" - }, - "schemaIdentifier" : { - "id" : "urn:hl7-org:elm", - "version" : "r1" - }, - "usings" : { - "def" : [ { - "localId" : "1", - "localIdentifier" : "System", - "uri" : "urn:hl7-org:elm-types:r1" - }, { - "localId" : "206", - "localIdentifier" : "Simple", - "uri" : "https://github.com/cqframework/cql-execution/simple", - "version" : "1.0.0", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "206", - "s" : [ { - "value" : [ "","using " ] - }, { - "s" : [ { - "value" : [ "Simple" ] - } ] - }, { - "value" : [ " version '1.0.0'" ] - } ] - } - } ] - } ] - }, - "contexts" : { - "def" : [ { - "localId" : "211", - "name" : "Patient" - } ] - }, - "statements" : { - "def" : [ { - "localId" : "209", - "name" : "Patient", - "context" : "Patient", - "expression" : { - "localId" : "210", - "type" : "SingletonFrom", - "signature" : [ ], - "operand" : { - "localId" : "208", - "dataType" : "{https://github.com/cqframework/cql-execution/simple}Patient", - "type" : "Retrieve", - "include" : [ ], - "codeFilter" : [ ], - "dateFilter" : [ ], - "otherFilter" : [ ] - } - } - }, { - "localId" : "214", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "name" : "quantityStr", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "214", - "s" : [ { - "value" : [ "","define ","quantityStr",": " ] - }, { - "r" : "218", - "s" : [ { - "value" : [ "convert " ] - }, { - "r" : "216", - "s" : [ { - "value" : [ "10 ","'A'" ] - } ] - }, { - "value" : [ " to " ] - }, { - "r" : "215", - "s" : [ { - "value" : [ "String" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "218", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "type" : "ToString", - "signature" : [ { - "localId" : "219", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "216", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "value" : 10, - "unit" : "A", - "type" : "Quantity" - } - } - }, { - "localId" : "222", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "name" : "negQuantityStr", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "222", - "s" : [ { - "value" : [ "","define ","negQuantityStr",": " ] - }, { - "r" : "228", - "s" : [ { - "value" : [ "convert " ] - }, { - "r" : "224", - "s" : [ { - "value" : [ "-" ] - }, { - "r" : "225", - "s" : [ { - "value" : [ "10 ","'A'" ] - } ] - } ] - }, { - "value" : [ " to " ] - }, { - "r" : "223", - "s" : [ { - "value" : [ "String" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "228", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "type" : "ToString", - "signature" : [ { - "localId" : "229", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "224", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "Negate", - "signature" : [ { - "localId" : "226", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "225", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "value" : 10, - "unit" : "A", - "type" : "Quantity" - } - } - } - }, { - "localId" : "232", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "name" : "posQuantityStr", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "232", + "library" : { + "localId" : "0", + "annotation" : [ { + "type" : "CqlToElmInfo", + "translatorVersion" : "4.2.0", + "translatorOptions" : "EnableDateRangeOptimization,EnableAnnotations,EnableResultTypes", + "signatureLevel" : "All" + }, { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "240", + "s" : [ { + "value" : [ "", "library TestSnippet version '1'" ] + } ] + } + } ], + "identifier" : { + "id" : "TestSnippet", + "version" : "1" + }, + "schemaIdentifier" : { + "id" : "urn:hl7-org:elm", + "version" : "r1" + }, + "usings" : { + "def" : [ { + "localId" : "1", + "localIdentifier" : "System", + "uri" : "urn:hl7-org:elm-types:r1", + "annotation" : [ ] + }, { + "localId" : "206", + "localIdentifier" : "Simple", + "uri" : "https://github.com/cqframework/cql-execution/simple", + "version" : "1.0.0", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "206", + "s" : [ { + "value" : [ "", "using " ] + }, { + "s" : [ { + "value" : [ "Simple" ] + } ] + }, { + "value" : [ " version '1.0.0'" ] + } ] + } + } ] + } ] + }, + "contexts" : { + "def" : [ { + "localId" : "211", + "name" : "Patient", + "annotation" : [ ] + } ] + }, + "statements" : { + "def" : [ { + "localId" : "209", + "name" : "Patient", + "context" : "Patient", + "annotation" : [ ], + "expression" : { + "type" : "SingletonFrom", + "localId" : "210", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Retrieve", + "localId" : "208", + "dataType" : "{https://github.com/cqframework/cql-execution/simple}Patient", + "annotation" : [ ], + "include" : [ ], + "codeFilter" : [ ], + "dateFilter" : [ ], + "otherFilter" : [ ] + } + } + }, { + "localId" : "214", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "name" : "quantityStr", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "214", + "s" : [ { + "value" : [ "", "define ", "quantityStr", ": " ] + }, { + "r" : "218", + "s" : [ { + "value" : [ "convert " ] + }, { + "r" : "216", + "s" : [ { + "value" : [ "10 ", "'A'" ] + } ] + }, { + "value" : [ " to " ] + }, { + "r" : "215", + "s" : [ { + "value" : [ "String" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "ToString", + "localId" : "218", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "219", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } ], + "operand" : { + "type" : "Quantity", + "localId" : "216", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "value" : 10, + "unit" : "A", + "annotation" : [ ] + } + } + }, { + "localId" : "222", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "name" : "negQuantityStr", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "222", + "s" : [ { + "value" : [ "", "define ", "negQuantityStr", ": " ] + }, { + "r" : "228", + "s" : [ { + "value" : [ "convert " ] + }, { + "r" : "224", + "s" : [ { + "value" : [ "-" ] + }, { + "r" : "225", "s" : [ { - "value" : [ "","define ","posQuantityStr",": " ] - }, { - "r" : "236", - "s" : [ { - "value" : [ "convert " ] - }, { - "r" : "234", - "s" : [ { - "value" : [ "+" ] - }, { - "r" : "234", - "s" : [ { - "value" : [ "10 ","'A'" ] - } ] - } ] - }, { - "value" : [ " to " ] - }, { - "r" : "233", - "s" : [ { - "value" : [ "String" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "236", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "type" : "ToString", - "signature" : [ { - "localId" : "237", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "234", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "value" : 10, - "unit" : "A", - "type" : "Quantity" - } - } - }, { - "localId" : "240", + "value" : [ "10 ", "'A'" ] + } ] + } ] + }, { + "value" : [ " to " ] + }, { + "r" : "223", + "s" : [ { + "value" : [ "String" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "ToString", + "localId" : "228", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "229", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } ], + "operand" : { + "type" : "Negate", + "localId" : "224", "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "name" : "quantityQuantity", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "240", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "226", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } ], + "operand" : { + "type" : "Quantity", + "localId" : "225", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "value" : 10, + "unit" : "A", + "annotation" : [ ] + } + } + } + }, { + "localId" : "232", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "name" : "posQuantityStr", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "232", + "s" : [ { + "value" : [ "", "define ", "posQuantityStr", ": " ] + }, { + "r" : "236", + "s" : [ { + "value" : [ "convert " ] + }, { + "r" : "234", + "s" : [ { + "value" : [ "+" ] + }, { + "r" : "234", "s" : [ { - "value" : [ "","define ","quantityQuantity",": " ] - }, { - "r" : "242", - "s" : [ { - "value" : [ "convert " ] - }, { - "r" : "242", - "s" : [ { - "value" : [ "10 ","'A'" ] - } ] - }, { - "value" : [ " to " ] - }, { - "r" : "241", - "s" : [ { - "value" : [ "Quantity" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "242", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "value" : 10, - "unit" : "A", - "type" : "Quantity" - } - } ] - } - } + "value" : [ "10 ", "'A'" ] + } ] + } ] + }, { + "value" : [ " to " ] + }, { + "r" : "233", + "s" : [ { + "value" : [ "String" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "ToString", + "localId" : "236", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "237", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } ], + "operand" : { + "type" : "Quantity", + "localId" : "234", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "value" : 10, + "unit" : "A", + "annotation" : [ ] + } + } + }, { + "localId" : "240", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "name" : "quantityQuantity", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "240", + "s" : [ { + "value" : [ "", "define ", "quantityQuantity", ": " ] + }, { + "r" : "242", + "s" : [ { + "value" : [ "convert " ] + }, { + "r" : "242", + "s" : [ { + "value" : [ "10 ", "'A'" ] + } ] + }, { + "value" : [ " to " ] + }, { + "r" : "241", + "s" : [ { + "value" : [ "Quantity" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Quantity", + "localId" : "242", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "value" : 10, + "unit" : "A", + "annotation" : [ ] + } + } ] + } + } } /* FromBoolean @@ -1583,237 +1706,256 @@ define booleanFalseBool: convert false to Boolean */ module.exports['FromBoolean'] = { - "library" : { - "localId" : "0", - "annotation" : [ { - "translatorVersion" : "3.27.0", - "translatorOptions" : "EnableDateRangeOptimization,EnableAnnotations,EnableResultTypes", - "signatureLevel" : "All", - "type" : "CqlToElmInfo" - }, { - "type" : "Annotation", - "s" : { - "r" : "235", + "library" : { + "localId" : "0", + "annotation" : [ { + "type" : "CqlToElmInfo", + "translatorVersion" : "4.2.0", + "translatorOptions" : "EnableDateRangeOptimization,EnableAnnotations,EnableResultTypes", + "signatureLevel" : "All" + }, { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "235", + "s" : [ { + "value" : [ "", "library TestSnippet version '1'" ] + } ] + } + } ], + "identifier" : { + "id" : "TestSnippet", + "version" : "1" + }, + "schemaIdentifier" : { + "id" : "urn:hl7-org:elm", + "version" : "r1" + }, + "usings" : { + "def" : [ { + "localId" : "1", + "localIdentifier" : "System", + "uri" : "urn:hl7-org:elm-types:r1", + "annotation" : [ ] + }, { + "localId" : "206", + "localIdentifier" : "Simple", + "uri" : "https://github.com/cqframework/cql-execution/simple", + "version" : "1.0.0", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "206", "s" : [ { - "value" : [ "","library TestSnippet version '1'" ] - } ] - } - } ], - "identifier" : { - "id" : "TestSnippet", - "version" : "1" - }, - "schemaIdentifier" : { - "id" : "urn:hl7-org:elm", - "version" : "r1" - }, - "usings" : { - "def" : [ { - "localId" : "1", - "localIdentifier" : "System", - "uri" : "urn:hl7-org:elm-types:r1" - }, { - "localId" : "206", - "localIdentifier" : "Simple", - "uri" : "https://github.com/cqframework/cql-execution/simple", - "version" : "1.0.0", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "206", - "s" : [ { - "value" : [ "","using " ] - }, { - "s" : [ { - "value" : [ "Simple" ] - } ] - }, { - "value" : [ " version '1.0.0'" ] - } ] - } - } ] - } ] - }, - "contexts" : { - "def" : [ { - "localId" : "211", - "name" : "Patient" - } ] - }, - "statements" : { - "def" : [ { - "localId" : "209", - "name" : "Patient", - "context" : "Patient", - "expression" : { - "localId" : "210", - "type" : "SingletonFrom", - "signature" : [ ], - "operand" : { - "localId" : "208", - "dataType" : "{https://github.com/cqframework/cql-execution/simple}Patient", - "type" : "Retrieve", - "include" : [ ], - "codeFilter" : [ ], - "dateFilter" : [ ], - "otherFilter" : [ ] - } - } - }, { - "localId" : "214", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "name" : "booleanTrueStr", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "214", - "s" : [ { - "value" : [ "","define ","booleanTrueStr",": " ] - }, { - "r" : "218", - "s" : [ { - "r" : "216", - "value" : [ "convert ","true"," to " ] - }, { - "r" : "215", - "s" : [ { - "value" : [ "String" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "218", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "type" : "ToString", - "signature" : [ { - "localId" : "219", - "name" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "216", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "true", - "type" : "Literal" - } - } - }, { - "localId" : "222", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "name" : "booleanFalseStr", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "222", - "s" : [ { - "value" : [ "","define ","booleanFalseStr",": " ] - }, { - "r" : "226", - "s" : [ { - "r" : "224", - "value" : [ "convert ","false"," to " ] - }, { - "r" : "223", - "s" : [ { - "value" : [ "String" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "226", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "type" : "ToString", - "signature" : [ { - "localId" : "227", - "name" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "224", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "false", - "type" : "Literal" - } - } - }, { - "localId" : "230", + "value" : [ "", "using " ] + }, { + "s" : [ { + "value" : [ "Simple" ] + } ] + }, { + "value" : [ " version '1.0.0'" ] + } ] + } + } ] + } ] + }, + "contexts" : { + "def" : [ { + "localId" : "211", + "name" : "Patient", + "annotation" : [ ] + } ] + }, + "statements" : { + "def" : [ { + "localId" : "209", + "name" : "Patient", + "context" : "Patient", + "annotation" : [ ], + "expression" : { + "type" : "SingletonFrom", + "localId" : "210", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Retrieve", + "localId" : "208", + "dataType" : "{https://github.com/cqframework/cql-execution/simple}Patient", + "annotation" : [ ], + "include" : [ ], + "codeFilter" : [ ], + "dateFilter" : [ ], + "otherFilter" : [ ] + } + } + }, { + "localId" : "214", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "name" : "booleanTrueStr", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "214", + "s" : [ { + "value" : [ "", "define ", "booleanTrueStr", ": " ] + }, { + "r" : "218", + "s" : [ { + "r" : "216", + "value" : [ "convert ", "true", " to " ] + }, { + "r" : "215", + "s" : [ { + "value" : [ "String" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "ToString", + "localId" : "218", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "219", + "name" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ] + } ], + "operand" : { + "type" : "Literal", + "localId" : "216", "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "booleanTrueBool", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "230", - "s" : [ { - "value" : [ "","define ","booleanTrueBool",": " ] - }, { - "r" : "232", - "s" : [ { - "r" : "232", - "value" : [ "convert ","true"," to " ] - }, { - "r" : "231", - "s" : [ { - "value" : [ "Boolean" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "232", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "true", - "type" : "Literal" - } - }, { - "localId" : "235", + "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", + "value" : "true", + "annotation" : [ ] + } + } + }, { + "localId" : "222", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "name" : "booleanFalseStr", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "222", + "s" : [ { + "value" : [ "", "define ", "booleanFalseStr", ": " ] + }, { + "r" : "226", + "s" : [ { + "r" : "224", + "value" : [ "convert ", "false", " to " ] + }, { + "r" : "223", + "s" : [ { + "value" : [ "String" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "ToString", + "localId" : "226", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "227", + "name" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ] + } ], + "operand" : { + "type" : "Literal", + "localId" : "224", "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "booleanFalseBool", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "235", - "s" : [ { - "value" : [ "","define ","booleanFalseBool",": " ] - }, { - "r" : "237", - "s" : [ { - "r" : "237", - "value" : [ "convert ","false"," to " ] - }, { - "r" : "236", - "s" : [ { - "value" : [ "Boolean" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "237", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "false", - "type" : "Literal" - } - } ] - } - } + "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", + "value" : "false", + "annotation" : [ ] + } + } + }, { + "localId" : "230", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "booleanTrueBool", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "230", + "s" : [ { + "value" : [ "", "define ", "booleanTrueBool", ": " ] + }, { + "r" : "232", + "s" : [ { + "r" : "232", + "value" : [ "convert ", "true", " to " ] + }, { + "r" : "231", + "s" : [ { + "value" : [ "Boolean" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Literal", + "localId" : "232", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", + "value" : "true", + "annotation" : [ ] + } + }, { + "localId" : "235", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "booleanFalseBool", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "235", + "s" : [ { + "value" : [ "", "define ", "booleanFalseBool", ": " ] + }, { + "r" : "237", + "s" : [ { + "r" : "237", + "value" : [ "convert ", "false", " to " ] + }, { + "r" : "236", + "s" : [ { + "value" : [ "Boolean" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Literal", + "localId" : "237", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", + "value" : "false", + "annotation" : [ ] + } + } ] + } + } } /* FromDateTime @@ -1826,345 +1968,386 @@ define dateTimeToDateTime: convert @2015-01-02T12:01:02.321-06:00 to DateTime */ module.exports['FromDateTime'] = { - "library" : { - "localId" : "0", - "annotation" : [ { - "translatorVersion" : "3.27.0", - "translatorOptions" : "EnableDateRangeOptimization,EnableAnnotations,EnableResultTypes", - "signatureLevel" : "All", - "type" : "CqlToElmInfo" - }, { - "type" : "Annotation", - "s" : { - "r" : "246", + "library" : { + "localId" : "0", + "annotation" : [ { + "type" : "CqlToElmInfo", + "translatorVersion" : "4.2.0", + "translatorOptions" : "EnableDateRangeOptimization,EnableAnnotations,EnableResultTypes", + "signatureLevel" : "All" + }, { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "246", + "s" : [ { + "value" : [ "", "library TestSnippet version '1'" ] + } ] + } + } ], + "identifier" : { + "id" : "TestSnippet", + "version" : "1" + }, + "schemaIdentifier" : { + "id" : "urn:hl7-org:elm", + "version" : "r1" + }, + "usings" : { + "def" : [ { + "localId" : "1", + "localIdentifier" : "System", + "uri" : "urn:hl7-org:elm-types:r1", + "annotation" : [ ] + }, { + "localId" : "206", + "localIdentifier" : "Simple", + "uri" : "https://github.com/cqframework/cql-execution/simple", + "version" : "1.0.0", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "206", "s" : [ { - "value" : [ "","library TestSnippet version '1'" ] - } ] - } - } ], - "identifier" : { - "id" : "TestSnippet", - "version" : "1" - }, - "schemaIdentifier" : { - "id" : "urn:hl7-org:elm", - "version" : "r1" - }, - "usings" : { - "def" : [ { - "localId" : "1", - "localIdentifier" : "System", - "uri" : "urn:hl7-org:elm-types:r1" - }, { - "localId" : "206", - "localIdentifier" : "Simple", - "uri" : "https://github.com/cqframework/cql-execution/simple", - "version" : "1.0.0", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "206", - "s" : [ { - "value" : [ "","using " ] - }, { - "s" : [ { - "value" : [ "Simple" ] - } ] - }, { - "value" : [ " version '1.0.0'" ] - } ] - } - } ] - } ] - }, - "contexts" : { - "def" : [ { - "localId" : "211", - "name" : "Patient" - } ] - }, - "statements" : { - "def" : [ { - "localId" : "209", - "name" : "Patient", - "context" : "Patient", - "expression" : { - "localId" : "210", - "type" : "SingletonFrom", - "signature" : [ ], - "operand" : { - "localId" : "208", - "dataType" : "{https://github.com/cqframework/cql-execution/simple}Patient", - "type" : "Retrieve", - "include" : [ ], - "codeFilter" : [ ], - "dateFilter" : [ ], - "otherFilter" : [ ] - } - } - }, { - "localId" : "214", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "name" : "dateTimeToStr", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "214", - "s" : [ { - "value" : [ "","define ","dateTimeToStr",": " ] - }, { - "r" : "226", - "s" : [ { - "r" : "216", - "value" : [ "convert ","@2015-01-02T12:01:02.321-06:00"," to " ] - }, { - "r" : "215", - "s" : [ { - "value" : [ "String" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "226", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "type" : "ToString", - "signature" : [ { - "localId" : "227", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "216", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ ], - "year" : { - "localId" : "217", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2015", - "type" : "Literal" - }, - "month" : { - "localId" : "218", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "219", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal" - }, - "hour" : { - "localId" : "220", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "12", - "type" : "Literal" - }, - "minute" : { - "localId" : "221", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "second" : { - "localId" : "222", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "223", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "321", - "type" : "Literal" - }, - "timezoneOffset" : { - "localId" : "224", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "-6.0", - "type" : "Literal" - } - } - } - }, { - "localId" : "230", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", - "name" : "dateTimeToDate", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "230", - "s" : [ { - "value" : [ "","define ","dateTimeToDate",": " ] - }, { - "r" : "242", - "s" : [ { - "r" : "232", - "value" : [ "convert ","@2015-01-02T12:01:02.321-06:00"," to " ] - }, { - "r" : "231", - "s" : [ { - "value" : [ "Date" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "242", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "ToDate", - "signature" : [ { - "localId" : "243", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "232", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ ], - "year" : { - "localId" : "233", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2015", - "type" : "Literal" - }, - "month" : { - "localId" : "234", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "235", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal" - }, - "hour" : { - "localId" : "236", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "12", - "type" : "Literal" - }, - "minute" : { - "localId" : "237", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "second" : { - "localId" : "238", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "239", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "321", - "type" : "Literal" - }, - "timezoneOffset" : { - "localId" : "240", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "-6.0", - "type" : "Literal" - } - } - } - }, { - "localId" : "246", + "value" : [ "", "using " ] + }, { + "s" : [ { + "value" : [ "Simple" ] + } ] + }, { + "value" : [ " version '1.0.0'" ] + } ] + } + } ] + } ] + }, + "contexts" : { + "def" : [ { + "localId" : "211", + "name" : "Patient", + "annotation" : [ ] + } ] + }, + "statements" : { + "def" : [ { + "localId" : "209", + "name" : "Patient", + "context" : "Patient", + "annotation" : [ ], + "expression" : { + "type" : "SingletonFrom", + "localId" : "210", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Retrieve", + "localId" : "208", + "dataType" : "{https://github.com/cqframework/cql-execution/simple}Patient", + "annotation" : [ ], + "include" : [ ], + "codeFilter" : [ ], + "dateFilter" : [ ], + "otherFilter" : [ ] + } + } + }, { + "localId" : "214", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "name" : "dateTimeToStr", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "214", + "s" : [ { + "value" : [ "", "define ", "dateTimeToStr", ": " ] + }, { + "r" : "226", + "s" : [ { + "r" : "216", + "value" : [ "convert ", "@2015-01-02T12:01:02.321-06:00", " to " ] + }, { + "r" : "215", + "s" : [ { + "value" : [ "String" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "ToString", + "localId" : "226", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "227", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } ], + "operand" : { + "type" : "DateTime", + "localId" : "216", "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "name" : "dateTimeToDateTime", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "246", - "s" : [ { - "value" : [ "","define ","dateTimeToDateTime",": " ] - }, { - "r" : "248", - "s" : [ { - "r" : "248", - "value" : [ "convert ","@2015-01-02T12:01:02.321-06:00"," to " ] - }, { - "r" : "247", - "s" : [ { - "value" : [ "DateTime" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "248", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ ], - "year" : { - "localId" : "249", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2015", - "type" : "Literal" - }, - "month" : { - "localId" : "250", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "251", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal" - }, - "hour" : { - "localId" : "252", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "12", - "type" : "Literal" - }, - "minute" : { - "localId" : "253", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "second" : { - "localId" : "254", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "255", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "321", - "type" : "Literal" - }, - "timezoneOffset" : { - "localId" : "256", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "-6.0", - "type" : "Literal" - } - } - } ] - } - } + "annotation" : [ ], + "signature" : [ ], + "year" : { + "type" : "Literal", + "localId" : "217", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2015", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "218", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "219", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "220", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "12", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "221", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "222", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "223", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "321", + "annotation" : [ ] + }, + "timezoneOffset" : { + "type" : "Literal", + "localId" : "224", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "-6.0", + "annotation" : [ ] + } + } + } + }, { + "localId" : "230", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", + "name" : "dateTimeToDate", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "230", + "s" : [ { + "value" : [ "", "define ", "dateTimeToDate", ": " ] + }, { + "r" : "242", + "s" : [ { + "r" : "232", + "value" : [ "convert ", "@2015-01-02T12:01:02.321-06:00", " to " ] + }, { + "r" : "231", + "s" : [ { + "value" : [ "Date" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "ToDate", + "localId" : "242", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "243", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } ], + "operand" : { + "type" : "DateTime", + "localId" : "232", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ ], + "year" : { + "type" : "Literal", + "localId" : "233", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2015", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "234", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "235", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "236", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "12", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "237", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "238", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "239", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "321", + "annotation" : [ ] + }, + "timezoneOffset" : { + "type" : "Literal", + "localId" : "240", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "-6.0", + "annotation" : [ ] + } + } + } + }, { + "localId" : "246", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "name" : "dateTimeToDateTime", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "246", + "s" : [ { + "value" : [ "", "define ", "dateTimeToDateTime", ": " ] + }, { + "r" : "248", + "s" : [ { + "r" : "248", + "value" : [ "convert ", "@2015-01-02T12:01:02.321-06:00", " to " ] + }, { + "r" : "247", + "s" : [ { + "value" : [ "DateTime" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "DateTime", + "localId" : "248", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ ], + "year" : { + "type" : "Literal", + "localId" : "249", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2015", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "250", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "251", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "252", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "12", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "253", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "254", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "255", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "321", + "annotation" : [ ] + }, + "timezoneOffset" : { + "type" : "Literal", + "localId" : "256", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "-6.0", + "annotation" : [ ] + } + } + } ] + } + } } /* FromDate @@ -2179,357 +2362,394 @@ define dateToStr: convert @2015-01-01 to String */ module.exports['FromDate'] = { - "library" : { - "localId" : "0", - "annotation" : [ { - "translatorVersion" : "3.27.0", - "translatorOptions" : "EnableDateRangeOptimization,EnableAnnotations,EnableResultTypes", - "signatureLevel" : "All", - "type" : "CqlToElmInfo" - }, { - "type" : "Annotation", - "s" : { + "library" : { + "localId" : "0", + "annotation" : [ { + "type" : "CqlToElmInfo", + "translatorVersion" : "4.2.0", + "translatorOptions" : "EnableDateRangeOptimization,EnableAnnotations,EnableResultTypes", + "signatureLevel" : "All" + }, { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "256", + "s" : [ { + "value" : [ "", "library TestSnippet version '1'" ] + } ] + } + } ], + "identifier" : { + "id" : "TestSnippet", + "version" : "1" + }, + "schemaIdentifier" : { + "id" : "urn:hl7-org:elm", + "version" : "r1" + }, + "usings" : { + "def" : [ { + "localId" : "1", + "localIdentifier" : "System", + "uri" : "urn:hl7-org:elm-types:r1", + "annotation" : [ ] + }, { + "localId" : "206", + "localIdentifier" : "Simple", + "uri" : "https://github.com/cqframework/cql-execution/simple", + "version" : "1.0.0", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "206", + "s" : [ { + "value" : [ "", "using " ] + }, { + "s" : [ { + "value" : [ "Simple" ] + } ] + }, { + "value" : [ " version '1.0.0'" ] + } ] + } + } ] + } ] + }, + "contexts" : { + "def" : [ { + "localId" : "211", + "name" : "Patient", + "annotation" : [ ] + } ] + }, + "statements" : { + "def" : [ { + "localId" : "209", + "name" : "Patient", + "context" : "Patient", + "annotation" : [ ], + "expression" : { + "type" : "SingletonFrom", + "localId" : "210", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Retrieve", + "localId" : "208", + "dataType" : "{https://github.com/cqframework/cql-execution/simple}Patient", + "annotation" : [ ], + "include" : [ ], + "codeFilter" : [ ], + "dateFilter" : [ ], + "otherFilter" : [ ] + } + } + }, { + "localId" : "214", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "name" : "dateYMDToDateTime", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "214", + "s" : [ { + "value" : [ "", "define ", "dateYMDToDateTime", ": " ] + }, { + "r" : "222", + "s" : [ { + "r" : "220", + "value" : [ "convert ", "@2015-01-01", " to " ] + }, { + "r" : "215", + "s" : [ { + "value" : [ "DateTime" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "ToDateTime", + "localId" : "222", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "223", + "name" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ] + } ], + "operand" : { + "type" : "Date", + "localId" : "220", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ], + "signature" : [ ], + "year" : { + "type" : "Literal", + "localId" : "217", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2015", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "218", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "219", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + } + } + } + }, { + "localId" : "226", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "name" : "dateYMToDateTime", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "226", + "s" : [ { + "value" : [ "", "define ", "dateYMToDateTime", ": " ] + }, { + "r" : "233", + "s" : [ { + "r" : "231", + "value" : [ "convert ", "@2015-01", " to " ] + }, { + "r" : "227", + "s" : [ { + "value" : [ "DateTime" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "ToDateTime", + "localId" : "233", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "234", + "name" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ] + } ], + "operand" : { + "type" : "Date", + "localId" : "231", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ], + "signature" : [ ], + "year" : { + "type" : "Literal", + "localId" : "229", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2015", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "230", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + } + } + } + }, { + "localId" : "237", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "name" : "dateYToDateTime", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "237", + "s" : [ { + "value" : [ "", "define ", "dateYToDateTime", ": " ] + }, { + "r" : "243", + "s" : [ { + "r" : "241", + "value" : [ "convert ", "@2015", " to " ] + }, { + "r" : "238", + "s" : [ { + "value" : [ "DateTime" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "ToDateTime", + "localId" : "243", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "244", + "name" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ] + } ], + "operand" : { + "type" : "Date", + "localId" : "241", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ], + "signature" : [ ], + "year" : { + "type" : "Literal", + "localId" : "240", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2015", + "annotation" : [ ] + } + } + } + }, { + "localId" : "247", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", + "name" : "dateToDate", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "247", + "s" : [ { + "value" : [ "", "define ", "dateToDate", ": " ] + }, { + "r" : "253", + "s" : [ { + "r" : "253", + "value" : [ "convert ", "@2015-01-01", " to " ] + }, { + "r" : "248", + "s" : [ { + "value" : [ "Date" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Date", + "localId" : "253", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ], + "signature" : [ ], + "year" : { + "type" : "Literal", + "localId" : "250", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2015", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "251", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "252", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + } + } + }, { + "localId" : "256", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "name" : "dateToStr", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { "r" : "256", "s" : [ { - "value" : [ "","library TestSnippet version '1'" ] - } ] - } - } ], - "identifier" : { - "id" : "TestSnippet", - "version" : "1" - }, - "schemaIdentifier" : { - "id" : "urn:hl7-org:elm", - "version" : "r1" - }, - "usings" : { - "def" : [ { - "localId" : "1", - "localIdentifier" : "System", - "uri" : "urn:hl7-org:elm-types:r1" - }, { - "localId" : "206", - "localIdentifier" : "Simple", - "uri" : "https://github.com/cqframework/cql-execution/simple", - "version" : "1.0.0", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "206", - "s" : [ { - "value" : [ "","using " ] - }, { - "s" : [ { - "value" : [ "Simple" ] - } ] - }, { - "value" : [ " version '1.0.0'" ] - } ] - } - } ] - } ] - }, - "contexts" : { - "def" : [ { - "localId" : "211", - "name" : "Patient" - } ] - }, - "statements" : { - "def" : [ { - "localId" : "209", - "name" : "Patient", - "context" : "Patient", - "expression" : { - "localId" : "210", - "type" : "SingletonFrom", - "signature" : [ ], - "operand" : { - "localId" : "208", - "dataType" : "{https://github.com/cqframework/cql-execution/simple}Patient", - "type" : "Retrieve", - "include" : [ ], - "codeFilter" : [ ], - "dateFilter" : [ ], - "otherFilter" : [ ] - } - } - }, { - "localId" : "214", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "name" : "dateYMDToDateTime", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "214", - "s" : [ { - "value" : [ "","define ","dateYMDToDateTime",": " ] - }, { - "r" : "222", - "s" : [ { - "r" : "220", - "value" : [ "convert ","@2015-01-01"," to " ] - }, { - "r" : "215", - "s" : [ { - "value" : [ "DateTime" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "222", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "ToDateTime", - "signature" : [ { - "localId" : "223", - "name" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "220", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "Date", - "signature" : [ ], - "year" : { - "localId" : "217", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2015", - "type" : "Literal" - }, - "month" : { - "localId" : "218", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "219", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - } - } - } - }, { - "localId" : "226", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "name" : "dateYMToDateTime", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "226", - "s" : [ { - "value" : [ "","define ","dateYMToDateTime",": " ] - }, { - "r" : "233", - "s" : [ { - "r" : "231", - "value" : [ "convert ","@2015-01"," to " ] - }, { - "r" : "227", - "s" : [ { - "value" : [ "DateTime" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "233", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "ToDateTime", - "signature" : [ { - "localId" : "234", - "name" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "231", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "Date", - "signature" : [ ], - "year" : { - "localId" : "229", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2015", - "type" : "Literal" - }, - "month" : { - "localId" : "230", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - } - } - } - }, { - "localId" : "237", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "name" : "dateYToDateTime", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "237", - "s" : [ { - "value" : [ "","define ","dateYToDateTime",": " ] - }, { - "r" : "243", - "s" : [ { - "r" : "241", - "value" : [ "convert ","@2015"," to " ] - }, { - "r" : "238", - "s" : [ { - "value" : [ "DateTime" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "243", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "ToDateTime", - "signature" : [ { - "localId" : "244", - "name" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "241", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "Date", - "signature" : [ ], - "year" : { - "localId" : "240", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2015", - "type" : "Literal" - } - } - } - }, { - "localId" : "247", + "value" : [ "", "define ", "dateToStr", ": " ] + }, { + "r" : "264", + "s" : [ { + "r" : "262", + "value" : [ "convert ", "@2015-01-01", " to " ] + }, { + "r" : "257", + "s" : [ { + "value" : [ "String" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "ToString", + "localId" : "264", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "265", + "name" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ] + } ], + "operand" : { + "type" : "Date", + "localId" : "262", "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", - "name" : "dateToDate", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "247", - "s" : [ { - "value" : [ "","define ","dateToDate",": " ] - }, { - "r" : "253", - "s" : [ { - "r" : "253", - "value" : [ "convert ","@2015-01-01"," to " ] - }, { - "r" : "248", - "s" : [ { - "value" : [ "Date" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "253", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "Date", - "signature" : [ ], - "year" : { - "localId" : "250", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2015", - "type" : "Literal" - }, - "month" : { - "localId" : "251", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "252", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - } - } - }, { - "localId" : "256", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "name" : "dateToStr", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "256", - "s" : [ { - "value" : [ "","define ","dateToStr",": " ] - }, { - "r" : "264", - "s" : [ { - "r" : "262", - "value" : [ "convert ","@2015-01-01"," to " ] - }, { - "r" : "257", - "s" : [ { - "value" : [ "String" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "264", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "type" : "ToString", - "signature" : [ { - "localId" : "265", - "name" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "262", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "Date", - "signature" : [ ], - "year" : { - "localId" : "259", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2015", - "type" : "Literal" - }, - "month" : { - "localId" : "260", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "261", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - } - } - } - } ] - } - } + "annotation" : [ ], + "signature" : [ ], + "year" : { + "type" : "Literal", + "localId" : "259", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2015", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "260", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "261", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + } + } + } + } ] + } + } } /* FromTime @@ -2541,183 +2761,200 @@ define timeTime: convert @T11:57 to Time */ module.exports['FromTime'] = { - "library" : { - "localId" : "0", - "annotation" : [ { - "translatorVersion" : "3.27.0", - "translatorOptions" : "EnableDateRangeOptimization,EnableAnnotations,EnableResultTypes", - "signatureLevel" : "All", - "type" : "CqlToElmInfo" - }, { - "type" : "Annotation", - "s" : { - "r" : "224", + "library" : { + "localId" : "0", + "annotation" : [ { + "type" : "CqlToElmInfo", + "translatorVersion" : "4.2.0", + "translatorOptions" : "EnableDateRangeOptimization,EnableAnnotations,EnableResultTypes", + "signatureLevel" : "All" + }, { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "224", + "s" : [ { + "value" : [ "", "library TestSnippet version '1'" ] + } ] + } + } ], + "identifier" : { + "id" : "TestSnippet", + "version" : "1" + }, + "schemaIdentifier" : { + "id" : "urn:hl7-org:elm", + "version" : "r1" + }, + "usings" : { + "def" : [ { + "localId" : "1", + "localIdentifier" : "System", + "uri" : "urn:hl7-org:elm-types:r1", + "annotation" : [ ] + }, { + "localId" : "206", + "localIdentifier" : "Simple", + "uri" : "https://github.com/cqframework/cql-execution/simple", + "version" : "1.0.0", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "206", "s" : [ { - "value" : [ "","library TestSnippet version '1'" ] - } ] - } - } ], - "identifier" : { - "id" : "TestSnippet", - "version" : "1" - }, - "schemaIdentifier" : { - "id" : "urn:hl7-org:elm", - "version" : "r1" - }, - "usings" : { - "def" : [ { - "localId" : "1", - "localIdentifier" : "System", - "uri" : "urn:hl7-org:elm-types:r1" - }, { - "localId" : "206", - "localIdentifier" : "Simple", - "uri" : "https://github.com/cqframework/cql-execution/simple", - "version" : "1.0.0", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "206", - "s" : [ { - "value" : [ "","using " ] - }, { - "s" : [ { - "value" : [ "Simple" ] - } ] - }, { - "value" : [ " version '1.0.0'" ] - } ] - } - } ] - } ] - }, - "contexts" : { - "def" : [ { - "localId" : "211", - "name" : "Patient" - } ] - }, - "statements" : { - "def" : [ { - "localId" : "209", - "name" : "Patient", - "context" : "Patient", - "expression" : { - "localId" : "210", - "type" : "SingletonFrom", - "signature" : [ ], - "operand" : { - "localId" : "208", - "dataType" : "{https://github.com/cqframework/cql-execution/simple}Patient", - "type" : "Retrieve", - "include" : [ ], - "codeFilter" : [ ], - "dateFilter" : [ ], - "otherFilter" : [ ] - } - } - }, { - "localId" : "214", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "name" : "timeStr", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "214", - "s" : [ { - "value" : [ "","define ","timeStr",": " ] - }, { - "r" : "220", - "s" : [ { - "r" : "216", - "value" : [ "convert ","@T11:57"," to " ] - }, { - "r" : "215", - "s" : [ { - "value" : [ "String" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "220", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "type" : "ToString", - "signature" : [ { - "localId" : "221", - "name" : "{urn:hl7-org:elm-types:r1}Time", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "216", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Time", - "type" : "Time", - "signature" : [ ], - "hour" : { - "localId" : "217", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "11", - "type" : "Literal" - }, - "minute" : { - "localId" : "218", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "57", - "type" : "Literal" - } - } - } - }, { - "localId" : "224", + "value" : [ "", "using " ] + }, { + "s" : [ { + "value" : [ "Simple" ] + } ] + }, { + "value" : [ " version '1.0.0'" ] + } ] + } + } ] + } ] + }, + "contexts" : { + "def" : [ { + "localId" : "211", + "name" : "Patient", + "annotation" : [ ] + } ] + }, + "statements" : { + "def" : [ { + "localId" : "209", + "name" : "Patient", + "context" : "Patient", + "annotation" : [ ], + "expression" : { + "type" : "SingletonFrom", + "localId" : "210", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Retrieve", + "localId" : "208", + "dataType" : "{https://github.com/cqframework/cql-execution/simple}Patient", + "annotation" : [ ], + "include" : [ ], + "codeFilter" : [ ], + "dateFilter" : [ ], + "otherFilter" : [ ] + } + } + }, { + "localId" : "214", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "name" : "timeStr", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "214", + "s" : [ { + "value" : [ "", "define ", "timeStr", ": " ] + }, { + "r" : "220", + "s" : [ { + "r" : "216", + "value" : [ "convert ", "@T11:57", " to " ] + }, { + "r" : "215", + "s" : [ { + "value" : [ "String" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "ToString", + "localId" : "220", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "221", + "name" : "{urn:hl7-org:elm-types:r1}Time", + "annotation" : [ ] + } ], + "operand" : { + "type" : "Time", + "localId" : "216", "resultTypeName" : "{urn:hl7-org:elm-types:r1}Time", - "name" : "timeTime", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "224", - "s" : [ { - "value" : [ "","define ","timeTime",": " ] - }, { - "r" : "226", - "s" : [ { - "r" : "226", - "value" : [ "convert ","@T11:57"," to " ] - }, { - "r" : "225", - "s" : [ { - "value" : [ "Time" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "226", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Time", - "type" : "Time", - "signature" : [ ], - "hour" : { - "localId" : "227", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "11", - "type" : "Literal" - }, - "minute" : { - "localId" : "228", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "57", - "type" : "Literal" - } - } - } ] - } - } + "annotation" : [ ], + "signature" : [ ], + "hour" : { + "type" : "Literal", + "localId" : "217", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "11", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "218", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "57", + "annotation" : [ ] + } + } + } + }, { + "localId" : "224", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Time", + "name" : "timeTime", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "224", + "s" : [ { + "value" : [ "", "define ", "timeTime", ": " ] + }, { + "r" : "226", + "s" : [ { + "r" : "226", + "value" : [ "convert ", "@T11:57", " to " ] + }, { + "r" : "225", + "s" : [ { + "value" : [ "Time" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Time", + "localId" : "226", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Time", + "annotation" : [ ], + "signature" : [ ], + "hour" : { + "type" : "Literal", + "localId" : "227", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "11", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "228", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "57", + "annotation" : [ ] + } + } + } ] + } + } } /* FromCode @@ -2732,255 +2969,274 @@ define foo: 'bar' */ module.exports['FromCode'] = { - "library" : { - "localId" : "0", - "annotation" : [ { - "translatorVersion" : "3.27.0", - "translatorOptions" : "EnableDateRangeOptimization,EnableAnnotations,EnableResultTypes", - "signatureLevel" : "All", - "type" : "CqlToElmInfo" - }, { - "type" : "Annotation", - "s" : { - "r" : "234", + "library" : { + "localId" : "0", + "annotation" : [ { + "type" : "CqlToElmInfo", + "translatorVersion" : "4.2.0", + "translatorOptions" : "EnableDateRangeOptimization,EnableAnnotations,EnableResultTypes", + "signatureLevel" : "All" + }, { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "234", + "s" : [ { + "value" : [ "", "library TestSnippet version '1'" ] + } ] + } + } ], + "identifier" : { + "id" : "TestSnippet", + "version" : "1" + }, + "schemaIdentifier" : { + "id" : "urn:hl7-org:elm", + "version" : "r1" + }, + "usings" : { + "def" : [ { + "localId" : "1", + "localIdentifier" : "System", + "uri" : "urn:hl7-org:elm-types:r1", + "annotation" : [ ] + }, { + "localId" : "206", + "localIdentifier" : "Simple", + "uri" : "https://github.com/cqframework/cql-execution/simple", + "version" : "1.0.0", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "206", "s" : [ { - "value" : [ "","library TestSnippet version '1'" ] - } ] - } - } ], - "identifier" : { - "id" : "TestSnippet", - "version" : "1" - }, - "schemaIdentifier" : { - "id" : "urn:hl7-org:elm", - "version" : "r1" - }, - "usings" : { - "def" : [ { - "localId" : "1", - "localIdentifier" : "System", - "uri" : "urn:hl7-org:elm-types:r1" - }, { - "localId" : "206", - "localIdentifier" : "Simple", - "uri" : "https://github.com/cqframework/cql-execution/simple", - "version" : "1.0.0", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "206", - "s" : [ { - "value" : [ "","using " ] - }, { - "s" : [ { - "value" : [ "Simple" ] - } ] - }, { - "value" : [ " version '1.0.0'" ] - } ] - } + "value" : [ "", "using " ] + }, { + "s" : [ { + "value" : [ "Simple" ] + } ] + }, { + "value" : [ " version '1.0.0'" ] + } ] + } + } ] + } ] + }, + "codeSystems" : { + "def" : [ { + "localId" : "208", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}CodeSystem", + "name" : "SNOMED-CT", + "id" : "2.16.840.1.113883.6.96", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "208", + "s" : [ { + "value" : [ "", "codesystem ", "\"SNOMED-CT\"", ": ", "'2.16.840.1.113883.6.96'" ] + } ] + } + } ] + } ] + }, + "contexts" : { + "def" : [ { + "localId" : "213", + "name" : "Patient", + "annotation" : [ ] + } ] + }, + "statements" : { + "def" : [ { + "localId" : "211", + "name" : "Patient", + "context" : "Patient", + "annotation" : [ ], + "expression" : { + "type" : "SingletonFrom", + "localId" : "212", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Retrieve", + "localId" : "210", + "dataType" : "{https://github.com/cqframework/cql-execution/simple}Patient", + "annotation" : [ ], + "include" : [ ], + "codeFilter" : [ ], + "dateFilter" : [ ], + "otherFilter" : [ ] + } + } + }, { + "localId" : "216", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Code", + "name" : "hepB", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "216", + "s" : [ { + "value" : [ "", "define ", "hepB", ": " ] + }, { + "r" : "217", + "s" : [ { + "value" : [ "Code ", "'66071002'", " from " ] + }, { + "r" : "218", + "s" : [ { + "value" : [ "\"SNOMED-CT\"" ] + } ] + }, { + "value" : [ " display ", "'Type B viral hepatitis'" ] + } ] } ] - } ] - }, - "codeSystems" : { - "def" : [ { - "localId" : "208", + } + } ], + "expression" : { + "type" : "Code", + "localId" : "217", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Code", + "code" : "66071002", + "display" : "Type B viral hepatitis", + "annotation" : [ ], + "system" : { + "localId" : "218", "resultTypeName" : "{urn:hl7-org:elm-types:r1}CodeSystem", "name" : "SNOMED-CT", - "id" : "2.16.840.1.113883.6.96", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "208", - "s" : [ { - "value" : [ "","codesystem ","\"SNOMED-CT\"",": ","'2.16.840.1.113883.6.96'" ] - } ] - } - } ] - } ] - }, - "contexts" : { - "def" : [ { - "localId" : "213", - "name" : "Patient" - } ] - }, - "statements" : { - "def" : [ { - "localId" : "211", - "name" : "Patient", - "context" : "Patient", - "expression" : { - "localId" : "212", - "type" : "SingletonFrom", - "signature" : [ ], - "operand" : { - "localId" : "210", - "dataType" : "{https://github.com/cqframework/cql-execution/simple}Patient", - "type" : "Retrieve", - "include" : [ ], - "codeFilter" : [ ], - "dateFilter" : [ ], - "otherFilter" : [ ] - } - } - }, { - "localId" : "216", + "annotation" : [ ] + } + } + }, { + "localId" : "221", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Concept", + "name" : "codeConcept", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "221", + "s" : [ { + "value" : [ "", "define ", "codeConcept", ": " ] + }, { + "r" : "225", + "s" : [ { + "value" : [ "convert " ] + }, { + "r" : "223", + "s" : [ { + "value" : [ "hepB" ] + } ] + }, { + "value" : [ " to " ] + }, { + "r" : "222", + "s" : [ { + "value" : [ "Concept" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "ToConcept", + "localId" : "225", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Concept", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "226", + "name" : "{urn:hl7-org:elm-types:r1}Code", + "annotation" : [ ] + } ], + "operand" : { + "type" : "ExpressionRef", + "localId" : "223", "resultTypeName" : "{urn:hl7-org:elm-types:r1}Code", "name" : "hepB", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "216", - "s" : [ { - "value" : [ "","define ","hepB",": " ] - }, { - "r" : "217", - "s" : [ { - "value" : [ "Code ","'66071002'"," from " ] - }, { - "r" : "218", - "s" : [ { - "value" : [ "\"SNOMED-CT\"" ] - } ] - }, { - "value" : [ " display ","'Type B viral hepatitis'" ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "217", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Code", - "code" : "66071002", - "display" : "Type B viral hepatitis", - "type" : "Code", - "system" : { - "localId" : "218", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}CodeSystem", - "name" : "SNOMED-CT" - } - } - }, { - "localId" : "221", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Concept", - "name" : "codeConcept", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "221", - "s" : [ { - "value" : [ "","define ","codeConcept",": " ] - }, { - "r" : "225", - "s" : [ { - "value" : [ "convert " ] - }, { - "r" : "223", - "s" : [ { - "value" : [ "hepB" ] - } ] - }, { - "value" : [ " to " ] - }, { - "r" : "222", - "s" : [ { - "value" : [ "Concept" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "225", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Concept", - "type" : "ToConcept", - "signature" : [ { - "localId" : "226", - "name" : "{urn:hl7-org:elm-types:r1}Code", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "223", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Code", - "name" : "hepB", - "type" : "ExpressionRef" - } - } - }, { - "localId" : "229", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Code", - "name" : "codeCode", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "229", - "s" : [ { - "value" : [ "","define ","codeCode",": " ] - }, { - "r" : "231", - "s" : [ { - "value" : [ "convert " ] - }, { - "r" : "231", - "s" : [ { - "value" : [ "hepB" ] - } ] - }, { - "value" : [ " to " ] - }, { - "r" : "230", - "s" : [ { - "value" : [ "Code" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "231", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Code", - "name" : "hepB", - "type" : "ExpressionRef" - } - }, { - "localId" : "234", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "name" : "foo", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "234", - "s" : [ { - "value" : [ "","define ","foo",": " ] - }, { - "r" : "235", - "s" : [ { - "value" : [ "'bar'" ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "235", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "bar", - "type" : "Literal" - } - } ] - } - } + "annotation" : [ ] + } + } + }, { + "localId" : "229", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Code", + "name" : "codeCode", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "229", + "s" : [ { + "value" : [ "", "define ", "codeCode", ": " ] + }, { + "r" : "231", + "s" : [ { + "value" : [ "convert " ] + }, { + "r" : "231", + "s" : [ { + "value" : [ "hepB" ] + } ] + }, { + "value" : [ " to " ] + }, { + "r" : "230", + "s" : [ { + "value" : [ "Code" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "ExpressionRef", + "localId" : "231", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Code", + "name" : "hepB", + "annotation" : [ ] + } + }, { + "localId" : "234", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "name" : "foo", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "234", + "s" : [ { + "value" : [ "", "define ", "foo", ": " ] + }, { + "r" : "235", + "s" : [ { + "value" : [ "'bar'" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Literal", + "localId" : "235", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "bar", + "annotation" : [ ] + } + } ] + } + } } /* ToDecimal @@ -2998,461 +3254,502 @@ define WrongFormat: ToDecimal('+.1') */ module.exports['ToDecimal'] = { - "library" : { - "localId" : "0", - "annotation" : [ { - "translatorVersion" : "3.27.0", - "translatorOptions" : "EnableDateRangeOptimization,EnableAnnotations,EnableResultTypes", - "signatureLevel" : "All", - "type" : "CqlToElmInfo" - }, { - "type" : "Annotation", - "s" : { - "r" : "285", + "library" : { + "localId" : "0", + "annotation" : [ { + "type" : "CqlToElmInfo", + "translatorVersion" : "4.2.0", + "translatorOptions" : "EnableDateRangeOptimization,EnableAnnotations,EnableResultTypes", + "signatureLevel" : "All" + }, { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "285", + "s" : [ { + "value" : [ "", "library TestSnippet version '1'" ] + } ] + } + } ], + "identifier" : { + "id" : "TestSnippet", + "version" : "1" + }, + "schemaIdentifier" : { + "id" : "urn:hl7-org:elm", + "version" : "r1" + }, + "usings" : { + "def" : [ { + "localId" : "1", + "localIdentifier" : "System", + "uri" : "urn:hl7-org:elm-types:r1", + "annotation" : [ ] + }, { + "localId" : "206", + "localIdentifier" : "Simple", + "uri" : "https://github.com/cqframework/cql-execution/simple", + "version" : "1.0.0", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "206", "s" : [ { - "value" : [ "","library TestSnippet version '1'" ] - } ] - } - } ], - "identifier" : { - "id" : "TestSnippet", - "version" : "1" - }, - "schemaIdentifier" : { - "id" : "urn:hl7-org:elm", - "version" : "r1" - }, - "usings" : { - "def" : [ { - "localId" : "1", - "localIdentifier" : "System", - "uri" : "urn:hl7-org:elm-types:r1" - }, { - "localId" : "206", - "localIdentifier" : "Simple", - "uri" : "https://github.com/cqframework/cql-execution/simple", - "version" : "1.0.0", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "206", - "s" : [ { - "value" : [ "","using " ] - }, { - "s" : [ { - "value" : [ "Simple" ] - } ] - }, { - "value" : [ " version '1.0.0'" ] - } ] - } - } ] - } ] - }, - "contexts" : { - "def" : [ { - "localId" : "211", - "name" : "Patient" - } ] - }, - "statements" : { - "def" : [ { - "localId" : "209", - "name" : "Patient", - "context" : "Patient", - "expression" : { - "localId" : "210", - "type" : "SingletonFrom", - "signature" : [ ], - "operand" : { - "localId" : "208", - "dataType" : "{https://github.com/cqframework/cql-execution/simple}Patient", - "type" : "Retrieve", - "include" : [ ], - "codeFilter" : [ ], - "dateFilter" : [ ], - "otherFilter" : [ ] - } - } - }, { - "localId" : "214", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "name" : "NoSign", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "214", - "s" : [ { - "value" : [ "","define ","NoSign",": " ] - }, { - "r" : "220", - "s" : [ { - "value" : [ "ToDecimal","(" ] - }, { - "r" : "215", - "s" : [ { - "value" : [ "'0.0'" ] - } ] - }, { - "value" : [ ")" ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "220", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "ToDecimal", - "signature" : [ { - "localId" : "221", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "215", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "0.0", - "type" : "Literal" - } - } - }, { - "localId" : "224", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "name" : "PositiveSign", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "224", - "s" : [ { - "value" : [ "","define ","PositiveSign",": " ] - }, { - "r" : "230", - "s" : [ { - "value" : [ "ToDecimal","(" ] - }, { - "r" : "225", - "s" : [ { - "value" : [ "'+1.1'" ] - } ] - }, { - "value" : [ ")" ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "230", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "ToDecimal", - "signature" : [ { - "localId" : "231", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "225", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "+1.1", - "type" : "Literal" - } - } - }, { - "localId" : "234", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "name" : "NegativeSign", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "234", - "s" : [ { - "value" : [ "","define ","NegativeSign",": " ] - }, { - "r" : "240", - "s" : [ { - "value" : [ "ToDecimal","(" ] - }, { - "r" : "235", - "s" : [ { - "value" : [ "'-1.1'" ] - } ] - }, { - "value" : [ ")" ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "240", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "ToDecimal", - "signature" : [ { - "localId" : "241", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "235", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "-1.1", - "type" : "Literal" - } - } - }, { - "localId" : "244", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "name" : "TooPrecise", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "244", - "s" : [ { - "value" : [ "","define ","TooPrecise",": " ] - }, { - "r" : "250", - "s" : [ { - "value" : [ "ToDecimal","(" ] - }, { - "r" : "245", - "s" : [ { - "value" : [ "'.444444444'" ] - } ] - }, { - "value" : [ ")" ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "250", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "ToDecimal", - "signature" : [ { - "localId" : "251", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "245", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : ".444444444", - "type" : "Literal" - } - } - }, { - "localId" : "254", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "name" : "TooLargeDec", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "254", - "s" : [ { - "value" : [ "","define ","TooLargeDec",": " ] - }, { - "r" : "260", - "s" : [ { - "value" : [ "ToDecimal","(" ] - }, { - "r" : "255", - "s" : [ { - "value" : [ "'444444444444444444444444444444'" ] - } ] - }, { - "value" : [ ")" ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "260", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "ToDecimal", - "signature" : [ { - "localId" : "261", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "255", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "444444444444444444444444444444", - "type" : "Literal" - } - } - }, { - "localId" : "264", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "name" : "TooSmallDec", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "264", - "s" : [ { - "value" : [ "","define ","TooSmallDec",": " ] - }, { - "r" : "270", - "s" : [ { - "value" : [ "ToDecimal","(" ] - }, { - "r" : "265", - "s" : [ { - "value" : [ "'-444444444444444444444444444444'" ] - } ] - }, { - "value" : [ ")" ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "270", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "ToDecimal", - "signature" : [ { - "localId" : "271", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "265", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "-444444444444444444444444444444", - "type" : "Literal" - } - } - }, { - "localId" : "274", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "name" : "NullDecimal", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "274", - "s" : [ { - "value" : [ "","define ","NullDecimal",": " ] - }, { - "r" : "281", - "s" : [ { - "value" : [ "ToDecimal","(" ] - }, { - "r" : "275", - "s" : [ { - "value" : [ "(" ] - }, { - "r" : "275", - "s" : [ { - "r" : "276", - "value" : [ "null"," as " ] - }, { - "r" : "277", - "s" : [ { - "value" : [ "String" ] - } ] - } ] - }, { - "value" : [ ")" ] - } ] - }, { - "value" : [ ")" ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "281", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "ToDecimal", - "signature" : [ { - "localId" : "282", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "275", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "strict" : false, - "type" : "As", - "signature" : [ ], - "operand" : { - "localId" : "276", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - }, - "asTypeSpecifier" : { - "localId" : "277", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } - } - } - }, { - "localId" : "285", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "name" : "WrongFormat", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "285", + "value" : [ "", "using " ] + }, { + "s" : [ { + "value" : [ "Simple" ] + } ] + }, { + "value" : [ " version '1.0.0'" ] + } ] + } + } ] + } ] + }, + "contexts" : { + "def" : [ { + "localId" : "211", + "name" : "Patient", + "annotation" : [ ] + } ] + }, + "statements" : { + "def" : [ { + "localId" : "209", + "name" : "Patient", + "context" : "Patient", + "annotation" : [ ], + "expression" : { + "type" : "SingletonFrom", + "localId" : "210", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Retrieve", + "localId" : "208", + "dataType" : "{https://github.com/cqframework/cql-execution/simple}Patient", + "annotation" : [ ], + "include" : [ ], + "codeFilter" : [ ], + "dateFilter" : [ ], + "otherFilter" : [ ] + } + } + }, { + "localId" : "214", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "name" : "NoSign", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "214", + "s" : [ { + "value" : [ "", "define ", "NoSign", ": " ] + }, { + "r" : "220", + "s" : [ { + "value" : [ "ToDecimal", "(" ] + }, { + "r" : "215", + "s" : [ { + "value" : [ "'0.0'" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "ToDecimal", + "localId" : "220", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "221", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } ], + "operand" : { + "type" : "Literal", + "localId" : "215", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "0.0", + "annotation" : [ ] + } + } + }, { + "localId" : "224", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "name" : "PositiveSign", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "224", + "s" : [ { + "value" : [ "", "define ", "PositiveSign", ": " ] + }, { + "r" : "230", + "s" : [ { + "value" : [ "ToDecimal", "(" ] + }, { + "r" : "225", + "s" : [ { + "value" : [ "'+1.1'" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "ToDecimal", + "localId" : "230", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "231", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } ], + "operand" : { + "type" : "Literal", + "localId" : "225", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "+1.1", + "annotation" : [ ] + } + } + }, { + "localId" : "234", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "name" : "NegativeSign", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "234", + "s" : [ { + "value" : [ "", "define ", "NegativeSign", ": " ] + }, { + "r" : "240", + "s" : [ { + "value" : [ "ToDecimal", "(" ] + }, { + "r" : "235", + "s" : [ { + "value" : [ "'-1.1'" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "ToDecimal", + "localId" : "240", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "241", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } ], + "operand" : { + "type" : "Literal", + "localId" : "235", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "-1.1", + "annotation" : [ ] + } + } + }, { + "localId" : "244", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "name" : "TooPrecise", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "244", + "s" : [ { + "value" : [ "", "define ", "TooPrecise", ": " ] + }, { + "r" : "250", + "s" : [ { + "value" : [ "ToDecimal", "(" ] + }, { + "r" : "245", + "s" : [ { + "value" : [ "'.444444444'" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "ToDecimal", + "localId" : "250", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "251", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } ], + "operand" : { + "type" : "Literal", + "localId" : "245", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : ".444444444", + "annotation" : [ ] + } + } + }, { + "localId" : "254", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "name" : "TooLargeDec", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "254", + "s" : [ { + "value" : [ "", "define ", "TooLargeDec", ": " ] + }, { + "r" : "260", + "s" : [ { + "value" : [ "ToDecimal", "(" ] + }, { + "r" : "255", + "s" : [ { + "value" : [ "'444444444444444444444444444444'" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "ToDecimal", + "localId" : "260", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "261", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } ], + "operand" : { + "type" : "Literal", + "localId" : "255", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "444444444444444444444444444444", + "annotation" : [ ] + } + } + }, { + "localId" : "264", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "name" : "TooSmallDec", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "264", + "s" : [ { + "value" : [ "", "define ", "TooSmallDec", ": " ] + }, { + "r" : "270", + "s" : [ { + "value" : [ "ToDecimal", "(" ] + }, { + "r" : "265", + "s" : [ { + "value" : [ "'-444444444444444444444444444444'" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "ToDecimal", + "localId" : "270", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "271", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } ], + "operand" : { + "type" : "Literal", + "localId" : "265", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "-444444444444444444444444444444", + "annotation" : [ ] + } + } + }, { + "localId" : "274", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "name" : "NullDecimal", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "274", + "s" : [ { + "value" : [ "", "define ", "NullDecimal", ": " ] + }, { + "r" : "281", + "s" : [ { + "value" : [ "ToDecimal", "(" ] + }, { + "r" : "275", + "s" : [ { + "value" : [ "(" ] + }, { + "r" : "275", "s" : [ { - "value" : [ "","define ","WrongFormat",": " ] + "r" : "276", + "value" : [ "null", " as " ] }, { - "r" : "291", - "s" : [ { - "value" : [ "ToDecimal","(" ] - }, { - "r" : "286", - "s" : [ { - "value" : [ "'+.1'" ] - } ] - }, { - "value" : [ ")" ] - } ] + "r" : "277", + "s" : [ { + "value" : [ "String" ] + } ] } ] - } - } ], - "expression" : { - "localId" : "291", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "ToDecimal", - "signature" : [ { - "localId" : "292", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "286", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "+.1", - "type" : "Literal" - } - } - } ] - } - } + }, { + "value" : [ ")" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "ToDecimal", + "localId" : "281", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "282", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } ], + "operand" : { + "type" : "As", + "localId" : "275", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "strict" : false, + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Null", + "localId" : "276", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + }, + "asTypeSpecifier" : { + "type" : "NamedTypeSpecifier", + "localId" : "277", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } + } + } + }, { + "localId" : "285", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "name" : "WrongFormat", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "285", + "s" : [ { + "value" : [ "", "define ", "WrongFormat", ": " ] + }, { + "r" : "291", + "s" : [ { + "value" : [ "ToDecimal", "(" ] + }, { + "r" : "286", + "s" : [ { + "value" : [ "'+.1'" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "ToDecimal", + "localId" : "291", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "292", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } ], + "operand" : { + "type" : "Literal", + "localId" : "286", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "+.1", + "annotation" : [ ] + } + } + } ] + } + } } /* ToInteger @@ -3469,381 +3766,416 @@ define BooleanFalse: ToInteger(false) */ module.exports['ToInteger'] = { - "library" : { - "localId" : "0", - "annotation" : [ { - "translatorVersion" : "3.27.0", - "translatorOptions" : "EnableDateRangeOptimization,EnableAnnotations,EnableResultTypes", - "signatureLevel" : "All", - "type" : "CqlToElmInfo" - }, { - "type" : "Annotation", - "s" : { - "r" : "273", - "s" : [ { - "value" : [ "","library TestSnippet version '1'" ] - } ] - } - } ], - "identifier" : { - "id" : "TestSnippet", - "version" : "1" - }, - "schemaIdentifier" : { - "id" : "urn:hl7-org:elm", - "version" : "r1" - }, - "usings" : { - "def" : [ { - "localId" : "1", - "localIdentifier" : "System", - "uri" : "urn:hl7-org:elm-types:r1" - }, { - "localId" : "206", - "localIdentifier" : "Simple", - "uri" : "https://github.com/cqframework/cql-execution/simple", - "version" : "1.0.0", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "206", - "s" : [ { - "value" : [ "","using " ] - }, { - "s" : [ { - "value" : [ "Simple" ] - } ] - }, { - "value" : [ " version '1.0.0'" ] - } ] - } - } ] - } ] - }, - "contexts" : { - "def" : [ { - "localId" : "211", - "name" : "Patient" - } ] - }, - "statements" : { - "def" : [ { - "localId" : "209", - "name" : "Patient", - "context" : "Patient", - "expression" : { - "localId" : "210", - "type" : "SingletonFrom", - "signature" : [ ], - "operand" : { - "localId" : "208", - "dataType" : "{https://github.com/cqframework/cql-execution/simple}Patient", - "type" : "Retrieve", - "include" : [ ], - "codeFilter" : [ ], - "dateFilter" : [ ], - "otherFilter" : [ ] - } - } - }, { - "localId" : "214", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "name" : "NoSign", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "214", - "s" : [ { - "value" : [ "","define ","NoSign",": " ] - }, { - "r" : "220", - "s" : [ { - "value" : [ "ToInteger","(" ] - }, { - "r" : "215", - "s" : [ { - "value" : [ "'12345'" ] - } ] - }, { - "value" : [ ")" ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "220", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "ToInteger", - "signature" : [ { - "localId" : "221", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "215", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "12345", - "type" : "Literal" - } - } - }, { - "localId" : "224", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "name" : "PositiveSign", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "224", - "s" : [ { - "value" : [ "","define ","PositiveSign",": " ] - }, { - "r" : "230", - "s" : [ { - "value" : [ "ToInteger","(" ] - }, { - "r" : "225", - "s" : [ { - "value" : [ "'+12345'" ] - } ] - }, { - "value" : [ ")" ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "230", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "ToInteger", - "signature" : [ { - "localId" : "231", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "225", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "+12345", - "type" : "Literal" - } - } - }, { - "localId" : "234", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "name" : "NegativeSign", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "234", - "s" : [ { - "value" : [ "","define ","NegativeSign",": " ] - }, { - "r" : "240", - "s" : [ { - "value" : [ "ToInteger","(" ] - }, { - "r" : "235", - "s" : [ { - "value" : [ "'-12345'" ] - } ] - }, { - "value" : [ ")" ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "240", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "ToInteger", - "signature" : [ { - "localId" : "241", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "235", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "-12345", - "type" : "Literal" - } - } - }, { - "localId" : "244", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "name" : "TooLargeInt", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "244", - "s" : [ { - "value" : [ "","define ","TooLargeInt",": " ] - }, { - "r" : "250", - "s" : [ { - "value" : [ "ToInteger","(" ] - }, { - "r" : "245", - "s" : [ { - "value" : [ "'2147483648'" ] - } ] - }, { - "value" : [ ")" ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "250", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "ToInteger", - "signature" : [ { - "localId" : "251", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "245", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "2147483648", - "type" : "Literal" - } - } - }, { - "localId" : "254", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "name" : "TooSmallInt", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "254", - "s" : [ { - "value" : [ "","define ","TooSmallInt",": " ] - }, { - "r" : "260", - "s" : [ { - "value" : [ "ToInteger","(" ] - }, { - "r" : "255", - "s" : [ { - "value" : [ "'-2147483649'" ] - } ] - }, { - "value" : [ ")" ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "260", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "ToInteger", - "signature" : [ { - "localId" : "261", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "255", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "-2147483649", - "type" : "Literal" - } - } - }, { - "localId" : "264", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "name" : "BooleanTrue", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "264", - "s" : [ { - "value" : [ "","define ","BooleanTrue",": " ] - }, { - "r" : "269", - "s" : [ { - "r" : "265", - "value" : [ "ToInteger","(","true",")" ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "269", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "ToInteger", - "signature" : [ { - "localId" : "270", - "name" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "265", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "true", - "type" : "Literal" - } - } - }, { - "localId" : "273", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "name" : "BooleanFalse", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "273", - "s" : [ { - "value" : [ "","define ","BooleanFalse",": " ] - }, { - "r" : "278", - "s" : [ { - "r" : "274", - "value" : [ "ToInteger","(","false",")" ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "278", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "ToInteger", - "signature" : [ { - "localId" : "279", - "name" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "274", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "false", - "type" : "Literal" - } - } - } ] + "library" : { + "localId" : "0", + "annotation" : [ { + "type" : "CqlToElmInfo", + "translatorVersion" : "4.2.0", + "translatorOptions" : "EnableDateRangeOptimization,EnableAnnotations,EnableResultTypes", + "signatureLevel" : "All" + }, { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "273", + "s" : [ { + "value" : [ "", "library TestSnippet version '1'" ] + } ] } - } + } ], + "identifier" : { + "id" : "TestSnippet", + "version" : "1" + }, + "schemaIdentifier" : { + "id" : "urn:hl7-org:elm", + "version" : "r1" + }, + "usings" : { + "def" : [ { + "localId" : "1", + "localIdentifier" : "System", + "uri" : "urn:hl7-org:elm-types:r1", + "annotation" : [ ] + }, { + "localId" : "206", + "localIdentifier" : "Simple", + "uri" : "https://github.com/cqframework/cql-execution/simple", + "version" : "1.0.0", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "206", + "s" : [ { + "value" : [ "", "using " ] + }, { + "s" : [ { + "value" : [ "Simple" ] + } ] + }, { + "value" : [ " version '1.0.0'" ] + } ] + } + } ] + } ] + }, + "contexts" : { + "def" : [ { + "localId" : "211", + "name" : "Patient", + "annotation" : [ ] + } ] + }, + "statements" : { + "def" : [ { + "localId" : "209", + "name" : "Patient", + "context" : "Patient", + "annotation" : [ ], + "expression" : { + "type" : "SingletonFrom", + "localId" : "210", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Retrieve", + "localId" : "208", + "dataType" : "{https://github.com/cqframework/cql-execution/simple}Patient", + "annotation" : [ ], + "include" : [ ], + "codeFilter" : [ ], + "dateFilter" : [ ], + "otherFilter" : [ ] + } + } + }, { + "localId" : "214", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "name" : "NoSign", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "214", + "s" : [ { + "value" : [ "", "define ", "NoSign", ": " ] + }, { + "r" : "220", + "s" : [ { + "value" : [ "ToInteger", "(" ] + }, { + "r" : "215", + "s" : [ { + "value" : [ "'12345'" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "ToInteger", + "localId" : "220", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "221", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } ], + "operand" : { + "type" : "Literal", + "localId" : "215", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "12345", + "annotation" : [ ] + } + } + }, { + "localId" : "224", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "name" : "PositiveSign", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "224", + "s" : [ { + "value" : [ "", "define ", "PositiveSign", ": " ] + }, { + "r" : "230", + "s" : [ { + "value" : [ "ToInteger", "(" ] + }, { + "r" : "225", + "s" : [ { + "value" : [ "'+12345'" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "ToInteger", + "localId" : "230", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "231", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } ], + "operand" : { + "type" : "Literal", + "localId" : "225", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "+12345", + "annotation" : [ ] + } + } + }, { + "localId" : "234", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "name" : "NegativeSign", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "234", + "s" : [ { + "value" : [ "", "define ", "NegativeSign", ": " ] + }, { + "r" : "240", + "s" : [ { + "value" : [ "ToInteger", "(" ] + }, { + "r" : "235", + "s" : [ { + "value" : [ "'-12345'" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "ToInteger", + "localId" : "240", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "241", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } ], + "operand" : { + "type" : "Literal", + "localId" : "235", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "-12345", + "annotation" : [ ] + } + } + }, { + "localId" : "244", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "name" : "TooLargeInt", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "244", + "s" : [ { + "value" : [ "", "define ", "TooLargeInt", ": " ] + }, { + "r" : "250", + "s" : [ { + "value" : [ "ToInteger", "(" ] + }, { + "r" : "245", + "s" : [ { + "value" : [ "'2147483648'" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "ToInteger", + "localId" : "250", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "251", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } ], + "operand" : { + "type" : "Literal", + "localId" : "245", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "2147483648", + "annotation" : [ ] + } + } + }, { + "localId" : "254", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "name" : "TooSmallInt", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "254", + "s" : [ { + "value" : [ "", "define ", "TooSmallInt", ": " ] + }, { + "r" : "260", + "s" : [ { + "value" : [ "ToInteger", "(" ] + }, { + "r" : "255", + "s" : [ { + "value" : [ "'-2147483649'" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "ToInteger", + "localId" : "260", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "261", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } ], + "operand" : { + "type" : "Literal", + "localId" : "255", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "-2147483649", + "annotation" : [ ] + } + } + }, { + "localId" : "264", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "name" : "BooleanTrue", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "264", + "s" : [ { + "value" : [ "", "define ", "BooleanTrue", ": " ] + }, { + "r" : "269", + "s" : [ { + "r" : "265", + "value" : [ "ToInteger", "(", "true", ")" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "ToInteger", + "localId" : "269", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "270", + "name" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ] + } ], + "operand" : { + "type" : "Literal", + "localId" : "265", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", + "value" : "true", + "annotation" : [ ] + } + } + }, { + "localId" : "273", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "name" : "BooleanFalse", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "273", + "s" : [ { + "value" : [ "", "define ", "BooleanFalse", ": " ] + }, { + "r" : "278", + "s" : [ { + "r" : "274", + "value" : [ "ToInteger", "(", "false", ")" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "ToInteger", + "localId" : "278", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "279", + "name" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ] + } ], + "operand" : { + "type" : "Literal", + "localId" : "274", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", + "value" : "false", + "annotation" : [ ] + } + } + } ] + } + } } /* ToQuantity @@ -3863,605 +4195,664 @@ define NullArg: ToQuantity((null as String)) */ module.exports['ToQuantity'] = { - "library" : { - "localId" : "0", - "annotation" : [ { - "translatorVersion" : "3.27.0", - "translatorOptions" : "EnableDateRangeOptimization,EnableAnnotations,EnableResultTypes", - "signatureLevel" : "All", - "type" : "CqlToElmInfo" - }, { - "type" : "Annotation", - "s" : { - "r" : "313", + "library" : { + "localId" : "0", + "annotation" : [ { + "type" : "CqlToElmInfo", + "translatorVersion" : "4.2.0", + "translatorOptions" : "EnableDateRangeOptimization,EnableAnnotations,EnableResultTypes", + "signatureLevel" : "All" + }, { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "313", + "s" : [ { + "value" : [ "", "library TestSnippet version '1'" ] + } ] + } + } ], + "identifier" : { + "id" : "TestSnippet", + "version" : "1" + }, + "schemaIdentifier" : { + "id" : "urn:hl7-org:elm", + "version" : "r1" + }, + "usings" : { + "def" : [ { + "localId" : "1", + "localIdentifier" : "System", + "uri" : "urn:hl7-org:elm-types:r1", + "annotation" : [ ] + }, { + "localId" : "206", + "localIdentifier" : "Simple", + "uri" : "https://github.com/cqframework/cql-execution/simple", + "version" : "1.0.0", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "206", "s" : [ { - "value" : [ "","library TestSnippet version '1'" ] - } ] - } - } ], - "identifier" : { - "id" : "TestSnippet", - "version" : "1" - }, - "schemaIdentifier" : { - "id" : "urn:hl7-org:elm", - "version" : "r1" - }, - "usings" : { - "def" : [ { - "localId" : "1", - "localIdentifier" : "System", - "uri" : "urn:hl7-org:elm-types:r1" - }, { - "localId" : "206", - "localIdentifier" : "Simple", - "uri" : "https://github.com/cqframework/cql-execution/simple", - "version" : "1.0.0", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "206", - "s" : [ { - "value" : [ "","using " ] - }, { - "s" : [ { - "value" : [ "Simple" ] - } ] - }, { - "value" : [ " version '1.0.0'" ] - } ] - } - } ] - } ] - }, - "contexts" : { - "def" : [ { - "localId" : "211", - "name" : "Patient" - } ] - }, - "statements" : { - "def" : [ { - "localId" : "209", - "name" : "Patient", - "context" : "Patient", - "expression" : { - "localId" : "210", - "type" : "SingletonFrom", - "signature" : [ ], - "operand" : { - "localId" : "208", - "dataType" : "{https://github.com/cqframework/cql-execution/simple}Patient", - "type" : "Retrieve", - "include" : [ ], - "codeFilter" : [ ], - "dateFilter" : [ ], - "otherFilter" : [ ] - } - } - }, { - "localId" : "214", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "name" : "DecimalOverload", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "214", - "s" : [ { - "value" : [ "","define ","DecimalOverload",": " ] - }, { - "r" : "219", - "s" : [ { - "r" : "215", - "value" : [ "ToQuantity","(","0.1",")" ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "219", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "ToQuantity", - "signature" : [ { - "localId" : "220", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "215", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "0.1", - "type" : "Literal" - } - } - }, { - "localId" : "223", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "name" : "IntegerOverload", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "223", - "s" : [ { - "value" : [ "","define ","IntegerOverload",": " ] - }, { - "r" : "228", - "s" : [ { - "r" : "224", - "value" : [ "ToQuantity","(","13",")" ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "228", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "ToQuantity", - "signature" : [ { - "localId" : "229", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "224", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "13", - "type" : "Literal" - } - } - }, { - "localId" : "232", + "value" : [ "", "using " ] + }, { + "s" : [ { + "value" : [ "Simple" ] + } ] + }, { + "value" : [ " version '1.0.0'" ] + } ] + } + } ] + } ] + }, + "contexts" : { + "def" : [ { + "localId" : "211", + "name" : "Patient", + "annotation" : [ ] + } ] + }, + "statements" : { + "def" : [ { + "localId" : "209", + "name" : "Patient", + "context" : "Patient", + "annotation" : [ ], + "expression" : { + "type" : "SingletonFrom", + "localId" : "210", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Retrieve", + "localId" : "208", + "dataType" : "{https://github.com/cqframework/cql-execution/simple}Patient", + "annotation" : [ ], + "include" : [ ], + "codeFilter" : [ ], + "dateFilter" : [ ], + "otherFilter" : [ ] + } + } + }, { + "localId" : "214", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "name" : "DecimalOverload", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "214", + "s" : [ { + "value" : [ "", "define ", "DecimalOverload", ": " ] + }, { + "r" : "219", + "s" : [ { + "r" : "215", + "value" : [ "ToQuantity", "(", "0.1", ")" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "ToQuantity", + "localId" : "219", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "220", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } ], + "operand" : { + "type" : "Literal", + "localId" : "215", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "0.1", + "annotation" : [ ] + } + } + }, { + "localId" : "223", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "name" : "IntegerOverload", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "223", + "s" : [ { + "value" : [ "", "define ", "IntegerOverload", ": " ] + }, { + "r" : "228", + "s" : [ { + "r" : "224", + "value" : [ "ToQuantity", "(", "13", ")" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "ToQuantity", + "localId" : "228", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "229", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "operand" : { + "type" : "Literal", + "localId" : "224", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "13", + "annotation" : [ ] + } + } + }, { + "localId" : "232", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "name" : "UncertaintySixToEighteen", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "232", + "s" : [ { + "value" : [ "", "define ", "UncertaintySixToEighteen", ": " ] + }, { + "r" : "233", + "s" : [ { + "value" : [ "months between " ] + }, { + "r" : "238", + "s" : [ { + "r" : "234", + "value" : [ "DateTime", "(", "2005", ")" ] + } ] + }, { + "value" : [ " and " ] + }, { + "r" : "246", + "s" : [ { + "r" : "240", + "value" : [ "DateTime", "(", "2006", ", ", "7", ")" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "DurationBetween", + "localId" : "233", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "precision" : "Month", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "249", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "250", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "DateTime", + "localId" : "238", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "239", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "234", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2005", + "annotation" : [ ] + } + }, { + "type" : "DateTime", + "localId" : "246", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "247", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "248", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "240", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2006", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "241", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "7", + "annotation" : [ ] + } + } ] + } + }, { + "localId" : "253", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "name" : "UncertaintyOverload", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "253", + "s" : [ { + "value" : [ "", "define ", "UncertaintyOverload", ": " ] + }, { + "r" : "258", + "s" : [ { + "value" : [ "ToQuantity", "(" ] + }, { + "r" : "254", + "s" : [ { + "value" : [ "UncertaintySixToEighteen" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "ToQuantity", + "localId" : "258", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "259", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "operand" : { + "type" : "ExpressionRef", + "localId" : "254", "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", "name" : "UncertaintySixToEighteen", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "232", - "s" : [ { - "value" : [ "","define ","UncertaintySixToEighteen",": " ] - }, { - "r" : "233", - "s" : [ { - "value" : [ "months between " ] - }, { - "r" : "238", - "s" : [ { - "r" : "234", - "value" : [ "DateTime","(","2005",")" ] - } ] - }, { - "value" : [ " and " ] - }, { - "r" : "246", - "s" : [ { - "r" : "240", - "value" : [ "DateTime","(","2006",", ","7",")" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "233", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "precision" : "Month", - "type" : "DurationBetween", - "signature" : [ { - "localId" : "249", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "250", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "238", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "239", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "234", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2005", - "type" : "Literal" - } - }, { - "localId" : "246", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "247", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "248", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "240", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2006", - "type" : "Literal" - }, - "month" : { - "localId" : "241", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "7", - "type" : "Literal" - } - } ] - } - }, { - "localId" : "253", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "name" : "UncertaintyOverload", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "253", - "s" : [ { - "value" : [ "","define ","UncertaintyOverload",": " ] - }, { - "r" : "258", - "s" : [ { - "value" : [ "ToQuantity","(" ] - }, { - "r" : "254", - "s" : [ { - "value" : [ "UncertaintySixToEighteen" ] - } ] - }, { - "value" : [ ")" ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "258", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "ToQuantity", - "signature" : [ { - "localId" : "259", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "254", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "name" : "UncertaintySixToEighteen", - "type" : "ExpressionRef" - } - } - }, { - "localId" : "262", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "name" : "StringOverload", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "262", - "s" : [ { - "value" : [ "","define ","StringOverload",": " ] - }, { - "r" : "268", - "s" : [ { - "value" : [ "ToQuantity","(" ] - }, { - "r" : "263", - "s" : [ { - "value" : [ "'-0.1 \\'mg\\''" ] - } ] - }, { - "value" : [ ")" ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "268", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "ToQuantity", - "signature" : [ { - "localId" : "269", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "263", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "-0.1 'mg'", - "type" : "Literal" - } - } - }, { - "localId" : "272", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "name" : "RatioOverload", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "272", - "s" : [ { - "value" : [ "","define ","RatioOverload",": " ] - }, { - "r" : "279", - "s" : [ { - "value" : [ "ToQuantity","(" ] - }, { - "r" : "275", - "s" : [ { - "r" : "273", - "s" : [ { - "value" : [ "5 ","'mg'" ] - } ] - }, { - "value" : [ ":" ] - }, { - "r" : "274", - "s" : [ { - "value" : [ "10 ","'mL'" ] - } ] - } ] - }, { - "value" : [ ")" ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "279", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "ToQuantity", - "signature" : [ { - "localId" : "280", - "name" : "{urn:hl7-org:elm-types:r1}Ratio", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "275", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Ratio", - "type" : "Ratio", - "numerator" : { - "localId" : "273", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "value" : 5, - "unit" : "mg" - }, - "denominator" : { - "localId" : "274", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "value" : 10, - "unit" : "mL" - } - } - } - }, { - "localId" : "283", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "name" : "WrongFormatQuantity", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "283", - "s" : [ { - "value" : [ "","define ","WrongFormatQuantity",": " ] - }, { - "r" : "289", - "s" : [ { - "value" : [ "ToQuantity","(" ] - }, { - "r" : "284", - "s" : [ { - "value" : [ "'abc'" ] - } ] - }, { - "value" : [ ")" ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "289", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "ToQuantity", - "signature" : [ { - "localId" : "290", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "284", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "abc", - "type" : "Literal" - } - } - }, { - "localId" : "293", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "name" : "TooLargeQuantity", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "293", + "annotation" : [ ] + } + } + }, { + "localId" : "262", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "name" : "StringOverload", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "262", + "s" : [ { + "value" : [ "", "define ", "StringOverload", ": " ] + }, { + "r" : "268", + "s" : [ { + "value" : [ "ToQuantity", "(" ] + }, { + "r" : "263", + "s" : [ { + "value" : [ "'-0.1 \\'mg\\''" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "ToQuantity", + "localId" : "268", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "269", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } ], + "operand" : { + "type" : "Literal", + "localId" : "263", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "-0.1 'mg'", + "annotation" : [ ] + } + } + }, { + "localId" : "272", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "name" : "RatioOverload", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "272", + "s" : [ { + "value" : [ "", "define ", "RatioOverload", ": " ] + }, { + "r" : "279", + "s" : [ { + "value" : [ "ToQuantity", "(" ] + }, { + "r" : "275", + "s" : [ { + "r" : "273", "s" : [ { - "value" : [ "","define ","TooLargeQuantity",": " ] - }, { - "r" : "299", - "s" : [ { - "value" : [ "ToQuantity","(" ] - }, { - "r" : "294", - "s" : [ { - "value" : [ "'444444444444444444444444444444 \\'\\''" ] - } ] - }, { - "value" : [ ")" ] - } ] + "value" : [ "5 ", "'mg'" ] } ] - } - } ], - "expression" : { - "localId" : "299", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "ToQuantity", - "signature" : [ { - "localId" : "300", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "294", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "444444444444444444444444444444 ''", - "type" : "Literal" - } - } - }, { - "localId" : "303", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "name" : "TooSmallQuantity", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "303", + }, { + "value" : [ ":" ] + }, { + "r" : "274", "s" : [ { - "value" : [ "","define ","TooSmallQuantity",": " ] - }, { - "r" : "309", - "s" : [ { - "value" : [ "ToQuantity","(" ] - }, { - "r" : "304", - "s" : [ { - "value" : [ "'-444444444444444444444444444444 \\'\\''" ] - } ] - }, { - "value" : [ ")" ] - } ] + "value" : [ "10 ", "'mL'" ] } ] - } - } ], - "expression" : { - "localId" : "309", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "ToQuantity", - "signature" : [ { - "localId" : "310", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "304", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "-444444444444444444444444444444 ''", - "type" : "Literal" - } - } - }, { - "localId" : "313", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "name" : "NullArg", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "313", + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "ToQuantity", + "localId" : "279", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "280", + "name" : "{urn:hl7-org:elm-types:r1}Ratio", + "annotation" : [ ] + } ], + "operand" : { + "type" : "Ratio", + "localId" : "275", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Ratio", + "annotation" : [ ], + "numerator" : { + "localId" : "273", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "value" : 5, + "unit" : "mg", + "annotation" : [ ] + }, + "denominator" : { + "localId" : "274", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "value" : 10, + "unit" : "mL", + "annotation" : [ ] + } + } + } + }, { + "localId" : "283", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "name" : "WrongFormatQuantity", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "283", + "s" : [ { + "value" : [ "", "define ", "WrongFormatQuantity", ": " ] + }, { + "r" : "289", + "s" : [ { + "value" : [ "ToQuantity", "(" ] + }, { + "r" : "284", + "s" : [ { + "value" : [ "'abc'" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "ToQuantity", + "localId" : "289", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "290", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } ], + "operand" : { + "type" : "Literal", + "localId" : "284", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "abc", + "annotation" : [ ] + } + } + }, { + "localId" : "293", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "name" : "TooLargeQuantity", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "293", + "s" : [ { + "value" : [ "", "define ", "TooLargeQuantity", ": " ] + }, { + "r" : "299", + "s" : [ { + "value" : [ "ToQuantity", "(" ] + }, { + "r" : "294", + "s" : [ { + "value" : [ "'444444444444444444444444444444 \\'\\''" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "ToQuantity", + "localId" : "299", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "300", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } ], + "operand" : { + "type" : "Literal", + "localId" : "294", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "444444444444444444444444444444 ''", + "annotation" : [ ] + } + } + }, { + "localId" : "303", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "name" : "TooSmallQuantity", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "303", + "s" : [ { + "value" : [ "", "define ", "TooSmallQuantity", ": " ] + }, { + "r" : "309", + "s" : [ { + "value" : [ "ToQuantity", "(" ] + }, { + "r" : "304", + "s" : [ { + "value" : [ "'-444444444444444444444444444444 \\'\\''" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "ToQuantity", + "localId" : "309", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "310", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } ], + "operand" : { + "type" : "Literal", + "localId" : "304", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "-444444444444444444444444444444 ''", + "annotation" : [ ] + } + } + }, { + "localId" : "313", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "name" : "NullArg", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "313", + "s" : [ { + "value" : [ "", "define ", "NullArg", ": " ] + }, { + "r" : "320", + "s" : [ { + "value" : [ "ToQuantity", "(" ] + }, { + "r" : "314", + "s" : [ { + "value" : [ "(" ] + }, { + "r" : "314", "s" : [ { - "value" : [ "","define ","NullArg",": " ] + "r" : "315", + "value" : [ "null", " as " ] }, { - "r" : "320", - "s" : [ { - "value" : [ "ToQuantity","(" ] - }, { - "r" : "314", - "s" : [ { - "value" : [ "(" ] - }, { - "r" : "314", - "s" : [ { - "r" : "315", - "value" : [ "null"," as " ] - }, { - "r" : "316", - "s" : [ { - "value" : [ "String" ] - } ] - } ] - }, { - "value" : [ ")" ] - } ] - }, { - "value" : [ ")" ] - } ] + "r" : "316", + "s" : [ { + "value" : [ "String" ] + } ] } ] - } - } ], - "expression" : { - "localId" : "320", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "ToQuantity", - "signature" : [ { - "localId" : "321", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "314", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "strict" : false, - "type" : "As", - "signature" : [ ], - "operand" : { - "localId" : "315", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - }, - "asTypeSpecifier" : { - "localId" : "316", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } - } - } - } ] - } - } + }, { + "value" : [ ")" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "ToQuantity", + "localId" : "320", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "321", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } ], + "operand" : { + "type" : "As", + "localId" : "314", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "strict" : false, + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Null", + "localId" : "315", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + }, + "asTypeSpecifier" : { + "type" : "NamedTypeSpecifier", + "localId" : "316", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } + } + } + } ] + } + } } /* ToRatio @@ -4477,373 +4868,406 @@ define InvalidDenominator: ToRatio('1.0 \'mg\':2.0 \'cc\'') */ module.exports['ToRatio'] = { - "library" : { - "localId" : "0", - "annotation" : [ { - "translatorVersion" : "3.27.0", - "translatorOptions" : "EnableDateRangeOptimization,EnableAnnotations,EnableResultTypes", - "signatureLevel" : "All", - "type" : "CqlToElmInfo" - }, { - "type" : "Annotation", - "s" : { + "library" : { + "localId" : "0", + "annotation" : [ { + "type" : "CqlToElmInfo", + "translatorVersion" : "4.2.0", + "translatorOptions" : "EnableDateRangeOptimization,EnableAnnotations,EnableResultTypes", + "signatureLevel" : "All" + }, { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "265", + "s" : [ { + "value" : [ "", "library TestSnippet version '1'" ] + } ] + } + } ], + "identifier" : { + "id" : "TestSnippet", + "version" : "1" + }, + "schemaIdentifier" : { + "id" : "urn:hl7-org:elm", + "version" : "r1" + }, + "usings" : { + "def" : [ { + "localId" : "1", + "localIdentifier" : "System", + "uri" : "urn:hl7-org:elm-types:r1", + "annotation" : [ ] + }, { + "localId" : "206", + "localIdentifier" : "Simple", + "uri" : "https://github.com/cqframework/cql-execution/simple", + "version" : "1.0.0", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "206", + "s" : [ { + "value" : [ "", "using " ] + }, { + "s" : [ { + "value" : [ "Simple" ] + } ] + }, { + "value" : [ " version '1.0.0'" ] + } ] + } + } ] + } ] + }, + "contexts" : { + "def" : [ { + "localId" : "211", + "name" : "Patient", + "annotation" : [ ] + } ] + }, + "statements" : { + "def" : [ { + "localId" : "209", + "name" : "Patient", + "context" : "Patient", + "annotation" : [ ], + "expression" : { + "type" : "SingletonFrom", + "localId" : "210", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Retrieve", + "localId" : "208", + "dataType" : "{https://github.com/cqframework/cql-execution/simple}Patient", + "annotation" : [ ], + "include" : [ ], + "codeFilter" : [ ], + "dateFilter" : [ ], + "otherFilter" : [ ] + } + } + }, { + "localId" : "214", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Ratio", + "name" : "NullArg", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "214", + "s" : [ { + "value" : [ "", "define ", "NullArg", ": " ] + }, { + "r" : "221", + "s" : [ { + "value" : [ "ToRatio", "(" ] + }, { + "r" : "215", + "s" : [ { + "value" : [ "(" ] + }, { + "r" : "215", + "s" : [ { + "r" : "216", + "value" : [ "null", " as " ] + }, { + "r" : "217", + "s" : [ { + "value" : [ "String" ] + } ] + } ] + }, { + "value" : [ ")" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "ToRatio", + "localId" : "221", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Ratio", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "222", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } ], + "operand" : { + "type" : "As", + "localId" : "215", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "strict" : false, + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Null", + "localId" : "216", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + }, + "asTypeSpecifier" : { + "type" : "NamedTypeSpecifier", + "localId" : "217", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } + } + } + }, { + "localId" : "225", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Ratio", + "name" : "IsValid", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "225", + "s" : [ { + "value" : [ "", "define ", "IsValid", ": " ] + }, { + "r" : "231", + "s" : [ { + "value" : [ "ToRatio", "(" ] + }, { + "r" : "226", + "s" : [ { + "value" : [ "'1.0 \\'mg\\':2.0 \\'mg\\''" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "ToRatio", + "localId" : "231", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Ratio", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "232", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } ], + "operand" : { + "type" : "Literal", + "localId" : "226", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "1.0 'mg':2.0 'mg'", + "annotation" : [ ] + } + } + }, { + "localId" : "235", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Ratio", + "name" : "IsValidWithCustomUCUM", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "235", + "s" : [ { + "value" : [ "", "define ", "IsValidWithCustomUCUM", ": " ] + }, { + "r" : "241", + "s" : [ { + "value" : [ "ToRatio", "(" ] + }, { + "r" : "236", + "s" : [ { + "value" : [ "'1.0 \\'{foo:bar}\\':2.0 \\'mg\\''" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "ToRatio", + "localId" : "241", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Ratio", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "242", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } ], + "operand" : { + "type" : "Literal", + "localId" : "236", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "1.0 '{foo:bar}':2.0 'mg'", + "annotation" : [ ] + } + } + }, { + "localId" : "245", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Ratio", + "name" : "InvalidSeparator", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "245", + "s" : [ { + "value" : [ "", "define ", "InvalidSeparator", ": " ] + }, { + "r" : "251", + "s" : [ { + "value" : [ "ToRatio", "(" ] + }, { + "r" : "246", + "s" : [ { + "value" : [ "'1.0 \\'mg\\';2.0 \\'mg\\''" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "ToRatio", + "localId" : "251", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Ratio", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "252", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } ], + "operand" : { + "type" : "Literal", + "localId" : "246", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "1.0 'mg';2.0 'mg'", + "annotation" : [ ] + } + } + }, { + "localId" : "255", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Ratio", + "name" : "InvalidNumerator", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "255", + "s" : [ { + "value" : [ "", "define ", "InvalidNumerator", ": " ] + }, { + "r" : "261", + "s" : [ { + "value" : [ "ToRatio", "(" ] + }, { + "r" : "256", + "s" : [ { + "value" : [ "'1.0 \\'cc\\':2.0 \\'mg\\''" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "ToRatio", + "localId" : "261", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Ratio", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "262", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } ], + "operand" : { + "type" : "Literal", + "localId" : "256", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "1.0 'cc':2.0 'mg'", + "annotation" : [ ] + } + } + }, { + "localId" : "265", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Ratio", + "name" : "InvalidDenominator", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { "r" : "265", "s" : [ { - "value" : [ "","library TestSnippet version '1'" ] - } ] - } - } ], - "identifier" : { - "id" : "TestSnippet", - "version" : "1" - }, - "schemaIdentifier" : { - "id" : "urn:hl7-org:elm", - "version" : "r1" - }, - "usings" : { - "def" : [ { - "localId" : "1", - "localIdentifier" : "System", - "uri" : "urn:hl7-org:elm-types:r1" - }, { - "localId" : "206", - "localIdentifier" : "Simple", - "uri" : "https://github.com/cqframework/cql-execution/simple", - "version" : "1.0.0", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "206", - "s" : [ { - "value" : [ "","using " ] - }, { - "s" : [ { - "value" : [ "Simple" ] - } ] - }, { - "value" : [ " version '1.0.0'" ] - } ] - } - } ] - } ] - }, - "contexts" : { - "def" : [ { - "localId" : "211", - "name" : "Patient" - } ] - }, - "statements" : { - "def" : [ { - "localId" : "209", - "name" : "Patient", - "context" : "Patient", - "expression" : { - "localId" : "210", - "type" : "SingletonFrom", - "signature" : [ ], - "operand" : { - "localId" : "208", - "dataType" : "{https://github.com/cqframework/cql-execution/simple}Patient", - "type" : "Retrieve", - "include" : [ ], - "codeFilter" : [ ], - "dateFilter" : [ ], - "otherFilter" : [ ] - } - } - }, { - "localId" : "214", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Ratio", - "name" : "NullArg", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "214", - "s" : [ { - "value" : [ "","define ","NullArg",": " ] - }, { - "r" : "221", - "s" : [ { - "value" : [ "ToRatio","(" ] - }, { - "r" : "215", - "s" : [ { - "value" : [ "(" ] - }, { - "r" : "215", - "s" : [ { - "r" : "216", - "value" : [ "null"," as " ] - }, { - "r" : "217", - "s" : [ { - "value" : [ "String" ] - } ] - } ] - }, { - "value" : [ ")" ] - } ] - }, { - "value" : [ ")" ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "221", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Ratio", - "type" : "ToRatio", - "signature" : [ { - "localId" : "222", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "215", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "strict" : false, - "type" : "As", - "signature" : [ ], - "operand" : { - "localId" : "216", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - }, - "asTypeSpecifier" : { - "localId" : "217", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } - } - } - }, { - "localId" : "225", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Ratio", - "name" : "IsValid", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "225", - "s" : [ { - "value" : [ "","define ","IsValid",": " ] - }, { - "r" : "231", - "s" : [ { - "value" : [ "ToRatio","(" ] - }, { - "r" : "226", - "s" : [ { - "value" : [ "'1.0 \\'mg\\':2.0 \\'mg\\''" ] - } ] - }, { - "value" : [ ")" ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "231", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Ratio", - "type" : "ToRatio", - "signature" : [ { - "localId" : "232", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "226", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "1.0 'mg':2.0 'mg'", - "type" : "Literal" - } - } - }, { - "localId" : "235", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Ratio", - "name" : "IsValidWithCustomUCUM", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "235", - "s" : [ { - "value" : [ "","define ","IsValidWithCustomUCUM",": " ] - }, { - "r" : "241", - "s" : [ { - "value" : [ "ToRatio","(" ] - }, { - "r" : "236", - "s" : [ { - "value" : [ "'1.0 \\'{foo:bar}\\':2.0 \\'mg\\''" ] - } ] - }, { - "value" : [ ")" ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "241", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Ratio", - "type" : "ToRatio", - "signature" : [ { - "localId" : "242", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "236", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "1.0 '{foo:bar}':2.0 'mg'", - "type" : "Literal" - } - } - }, { - "localId" : "245", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Ratio", - "name" : "InvalidSeparator", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "245", - "s" : [ { - "value" : [ "","define ","InvalidSeparator",": " ] - }, { - "r" : "251", - "s" : [ { - "value" : [ "ToRatio","(" ] - }, { - "r" : "246", - "s" : [ { - "value" : [ "'1.0 \\'mg\\';2.0 \\'mg\\''" ] - } ] - }, { - "value" : [ ")" ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "251", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Ratio", - "type" : "ToRatio", - "signature" : [ { - "localId" : "252", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "246", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "1.0 'mg';2.0 'mg'", - "type" : "Literal" - } - } - }, { - "localId" : "255", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Ratio", - "name" : "InvalidNumerator", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "255", - "s" : [ { - "value" : [ "","define ","InvalidNumerator",": " ] - }, { - "r" : "261", - "s" : [ { - "value" : [ "ToRatio","(" ] - }, { - "r" : "256", - "s" : [ { - "value" : [ "'1.0 \\'cc\\':2.0 \\'mg\\''" ] - } ] - }, { - "value" : [ ")" ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "261", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Ratio", - "type" : "ToRatio", - "signature" : [ { - "localId" : "262", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "256", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "1.0 'cc':2.0 'mg'", - "type" : "Literal" - } - } - }, { - "localId" : "265", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Ratio", - "name" : "InvalidDenominator", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "265", - "s" : [ { - "value" : [ "","define ","InvalidDenominator",": " ] - }, { - "r" : "271", - "s" : [ { - "value" : [ "ToRatio","(" ] - }, { - "r" : "266", - "s" : [ { - "value" : [ "'1.0 \\'mg\\':2.0 \\'cc\\''" ] - } ] - }, { - "value" : [ ")" ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "271", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Ratio", - "type" : "ToRatio", - "signature" : [ { - "localId" : "272", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "266", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "1.0 'mg':2.0 'cc'", - "type" : "Literal" - } - } - } ] - } - } + "value" : [ "", "define ", "InvalidDenominator", ": " ] + }, { + "r" : "271", + "s" : [ { + "value" : [ "ToRatio", "(" ] + }, { + "r" : "266", + "s" : [ { + "value" : [ "'1.0 \\'mg\\':2.0 \\'cc\\''" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "ToRatio", + "localId" : "271", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Ratio", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "272", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } ], + "operand" : { + "type" : "Literal", + "localId" : "266", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "1.0 'mg':2.0 'cc'", + "annotation" : [ ] + } + } + } ] + } + } } /* ToTime @@ -4863,549 +5287,598 @@ define SecondTooHigh: ToTime('23:59:60') */ module.exports['ToTime'] = { - "library" : { - "localId" : "0", - "annotation" : [ { - "translatorVersion" : "3.27.0", - "translatorOptions" : "EnableDateRangeOptimization,EnableAnnotations,EnableResultTypes", - "signatureLevel" : "All", - "type" : "CqlToElmInfo" - }, { - "type" : "Annotation", - "s" : { + "library" : { + "localId" : "0", + "annotation" : [ { + "type" : "CqlToElmInfo", + "translatorVersion" : "4.2.0", + "translatorOptions" : "EnableDateRangeOptimization,EnableAnnotations,EnableResultTypes", + "signatureLevel" : "All" + }, { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "305", + "s" : [ { + "value" : [ "", "library TestSnippet version '1'" ] + } ] + } + } ], + "identifier" : { + "id" : "TestSnippet", + "version" : "1" + }, + "schemaIdentifier" : { + "id" : "urn:hl7-org:elm", + "version" : "r1" + }, + "usings" : { + "def" : [ { + "localId" : "1", + "localIdentifier" : "System", + "uri" : "urn:hl7-org:elm-types:r1", + "annotation" : [ ] + }, { + "localId" : "206", + "localIdentifier" : "Simple", + "uri" : "https://github.com/cqframework/cql-execution/simple", + "version" : "1.0.0", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "206", + "s" : [ { + "value" : [ "", "using " ] + }, { + "s" : [ { + "value" : [ "Simple" ] + } ] + }, { + "value" : [ " version '1.0.0'" ] + } ] + } + } ] + } ] + }, + "contexts" : { + "def" : [ { + "localId" : "211", + "name" : "Patient", + "annotation" : [ ] + } ] + }, + "statements" : { + "def" : [ { + "localId" : "209", + "name" : "Patient", + "context" : "Patient", + "annotation" : [ ], + "expression" : { + "type" : "SingletonFrom", + "localId" : "210", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Retrieve", + "localId" : "208", + "dataType" : "{https://github.com/cqframework/cql-execution/simple}Patient", + "annotation" : [ ], + "include" : [ ], + "codeFilter" : [ ], + "dateFilter" : [ ], + "otherFilter" : [ ] + } + } + }, { + "localId" : "214", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Time", + "name" : "NullArgTime", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "214", + "s" : [ { + "value" : [ "", "define ", "NullArgTime", ": " ] + }, { + "r" : "221", + "s" : [ { + "value" : [ "ToTime", "(" ] + }, { + "r" : "215", + "s" : [ { + "value" : [ "(" ] + }, { + "r" : "215", + "s" : [ { + "r" : "216", + "value" : [ "null", " as " ] + }, { + "r" : "217", + "s" : [ { + "value" : [ "String" ] + } ] + } ] + }, { + "value" : [ ")" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "ToTime", + "localId" : "221", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Time", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "222", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } ], + "operand" : { + "type" : "As", + "localId" : "215", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "strict" : false, + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Null", + "localId" : "216", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + }, + "asTypeSpecifier" : { + "type" : "NamedTypeSpecifier", + "localId" : "217", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } + } + } + }, { + "localId" : "225", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Time", + "name" : "IncorrectFormatTime", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "225", + "s" : [ { + "value" : [ "", "define ", "IncorrectFormatTime", ": " ] + }, { + "r" : "231", + "s" : [ { + "value" : [ "ToTime", "(" ] + }, { + "r" : "226", + "s" : [ { + "value" : [ "'10:00PM'" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "ToTime", + "localId" : "231", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Time", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "232", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } ], + "operand" : { + "type" : "Literal", + "localId" : "226", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "10:00PM", + "annotation" : [ ] + } + } + }, { + "localId" : "235", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Time", + "name" : "InvalidTime", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "235", + "s" : [ { + "value" : [ "", "define ", "InvalidTime", ": " ] + }, { + "r" : "241", + "s" : [ { + "value" : [ "ToTime", "(" ] + }, { + "r" : "236", + "s" : [ { + "value" : [ "'25:99.000'" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "ToTime", + "localId" : "241", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Time", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "242", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } ], + "operand" : { + "type" : "Literal", + "localId" : "236", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "25:99.000", + "annotation" : [ ] + } + } + }, { + "localId" : "245", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Time", + "name" : "TimeH", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "245", + "s" : [ { + "value" : [ "", "define ", "TimeH", ": " ] + }, { + "r" : "251", + "s" : [ { + "value" : [ "ToTime", "(" ] + }, { + "r" : "246", + "s" : [ { + "value" : [ "'02'" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "ToTime", + "localId" : "251", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Time", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "252", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } ], + "operand" : { + "type" : "Literal", + "localId" : "246", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "02", + "annotation" : [ ] + } + } + }, { + "localId" : "255", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Time", + "name" : "TimeHM", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "255", + "s" : [ { + "value" : [ "", "define ", "TimeHM", ": " ] + }, { + "r" : "261", + "s" : [ { + "value" : [ "ToTime", "(" ] + }, { + "r" : "256", + "s" : [ { + "value" : [ "'02:04'" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "ToTime", + "localId" : "261", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Time", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "262", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } ], + "operand" : { + "type" : "Literal", + "localId" : "256", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "02:04", + "annotation" : [ ] + } + } + }, { + "localId" : "265", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Time", + "name" : "TimeHMS", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "265", + "s" : [ { + "value" : [ "", "define ", "TimeHMS", ": " ] + }, { + "r" : "271", + "s" : [ { + "value" : [ "ToTime", "(" ] + }, { + "r" : "266", + "s" : [ { + "value" : [ "'02:04:59'" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "ToTime", + "localId" : "271", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Time", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "272", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } ], + "operand" : { + "type" : "Literal", + "localId" : "266", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "02:04:59", + "annotation" : [ ] + } + } + }, { + "localId" : "275", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Time", + "name" : "TimeHMSMs", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "275", + "s" : [ { + "value" : [ "", "define ", "TimeHMSMs", ": " ] + }, { + "r" : "281", + "s" : [ { + "value" : [ "ToTime", "(" ] + }, { + "r" : "276", + "s" : [ { + "value" : [ "'02:04:59.123'" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "ToTime", + "localId" : "281", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Time", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "282", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } ], + "operand" : { + "type" : "Literal", + "localId" : "276", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "02:04:59.123", + "annotation" : [ ] + } + } + }, { + "localId" : "285", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Time", + "name" : "HourTooHigh", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "285", + "s" : [ { + "value" : [ "", "define ", "HourTooHigh", ": " ] + }, { + "r" : "291", + "s" : [ { + "value" : [ "ToTime", "(" ] + }, { + "r" : "286", + "s" : [ { + "value" : [ "'24'" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "ToTime", + "localId" : "291", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Time", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "292", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } ], + "operand" : { + "type" : "Literal", + "localId" : "286", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "24", + "annotation" : [ ] + } + } + }, { + "localId" : "295", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Time", + "name" : "MinuteTooHigh", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "295", + "s" : [ { + "value" : [ "", "define ", "MinuteTooHigh", ": " ] + }, { + "r" : "301", + "s" : [ { + "value" : [ "ToTime", "(" ] + }, { + "r" : "296", + "s" : [ { + "value" : [ "'23:60'" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "ToTime", + "localId" : "301", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Time", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "302", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } ], + "operand" : { + "type" : "Literal", + "localId" : "296", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "23:60", + "annotation" : [ ] + } + } + }, { + "localId" : "305", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Time", + "name" : "SecondTooHigh", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { "r" : "305", "s" : [ { - "value" : [ "","library TestSnippet version '1'" ] - } ] - } - } ], - "identifier" : { - "id" : "TestSnippet", - "version" : "1" - }, - "schemaIdentifier" : { - "id" : "urn:hl7-org:elm", - "version" : "r1" - }, - "usings" : { - "def" : [ { - "localId" : "1", - "localIdentifier" : "System", - "uri" : "urn:hl7-org:elm-types:r1" - }, { - "localId" : "206", - "localIdentifier" : "Simple", - "uri" : "https://github.com/cqframework/cql-execution/simple", - "version" : "1.0.0", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "206", - "s" : [ { - "value" : [ "","using " ] - }, { - "s" : [ { - "value" : [ "Simple" ] - } ] - }, { - "value" : [ " version '1.0.0'" ] - } ] - } - } ] - } ] - }, - "contexts" : { - "def" : [ { - "localId" : "211", - "name" : "Patient" - } ] - }, - "statements" : { - "def" : [ { - "localId" : "209", - "name" : "Patient", - "context" : "Patient", - "expression" : { - "localId" : "210", - "type" : "SingletonFrom", - "signature" : [ ], - "operand" : { - "localId" : "208", - "dataType" : "{https://github.com/cqframework/cql-execution/simple}Patient", - "type" : "Retrieve", - "include" : [ ], - "codeFilter" : [ ], - "dateFilter" : [ ], - "otherFilter" : [ ] - } - } - }, { - "localId" : "214", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Time", - "name" : "NullArgTime", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "214", - "s" : [ { - "value" : [ "","define ","NullArgTime",": " ] - }, { - "r" : "221", - "s" : [ { - "value" : [ "ToTime","(" ] - }, { - "r" : "215", - "s" : [ { - "value" : [ "(" ] - }, { - "r" : "215", - "s" : [ { - "r" : "216", - "value" : [ "null"," as " ] - }, { - "r" : "217", - "s" : [ { - "value" : [ "String" ] - } ] - } ] - }, { - "value" : [ ")" ] - } ] - }, { - "value" : [ ")" ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "221", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Time", - "type" : "ToTime", - "signature" : [ { - "localId" : "222", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "215", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "strict" : false, - "type" : "As", - "signature" : [ ], - "operand" : { - "localId" : "216", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - }, - "asTypeSpecifier" : { - "localId" : "217", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } - } - } - }, { - "localId" : "225", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Time", - "name" : "IncorrectFormatTime", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "225", - "s" : [ { - "value" : [ "","define ","IncorrectFormatTime",": " ] - }, { - "r" : "231", - "s" : [ { - "value" : [ "ToTime","(" ] - }, { - "r" : "226", - "s" : [ { - "value" : [ "'10:00PM'" ] - } ] - }, { - "value" : [ ")" ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "231", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Time", - "type" : "ToTime", - "signature" : [ { - "localId" : "232", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "226", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "10:00PM", - "type" : "Literal" - } - } - }, { - "localId" : "235", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Time", - "name" : "InvalidTime", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "235", - "s" : [ { - "value" : [ "","define ","InvalidTime",": " ] - }, { - "r" : "241", - "s" : [ { - "value" : [ "ToTime","(" ] - }, { - "r" : "236", - "s" : [ { - "value" : [ "'25:99.000'" ] - } ] - }, { - "value" : [ ")" ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "241", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Time", - "type" : "ToTime", - "signature" : [ { - "localId" : "242", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "236", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "25:99.000", - "type" : "Literal" - } - } - }, { - "localId" : "245", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Time", - "name" : "TimeH", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "245", - "s" : [ { - "value" : [ "","define ","TimeH",": " ] - }, { - "r" : "251", - "s" : [ { - "value" : [ "ToTime","(" ] - }, { - "r" : "246", - "s" : [ { - "value" : [ "'02'" ] - } ] - }, { - "value" : [ ")" ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "251", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Time", - "type" : "ToTime", - "signature" : [ { - "localId" : "252", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "246", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "02", - "type" : "Literal" - } - } - }, { - "localId" : "255", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Time", - "name" : "TimeHM", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "255", - "s" : [ { - "value" : [ "","define ","TimeHM",": " ] - }, { - "r" : "261", - "s" : [ { - "value" : [ "ToTime","(" ] - }, { - "r" : "256", - "s" : [ { - "value" : [ "'02:04'" ] - } ] - }, { - "value" : [ ")" ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "261", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Time", - "type" : "ToTime", - "signature" : [ { - "localId" : "262", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "256", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "02:04", - "type" : "Literal" - } - } - }, { - "localId" : "265", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Time", - "name" : "TimeHMS", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "265", - "s" : [ { - "value" : [ "","define ","TimeHMS",": " ] - }, { - "r" : "271", - "s" : [ { - "value" : [ "ToTime","(" ] - }, { - "r" : "266", - "s" : [ { - "value" : [ "'02:04:59'" ] - } ] - }, { - "value" : [ ")" ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "271", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Time", - "type" : "ToTime", - "signature" : [ { - "localId" : "272", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "266", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "02:04:59", - "type" : "Literal" - } - } - }, { - "localId" : "275", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Time", - "name" : "TimeHMSMs", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "275", - "s" : [ { - "value" : [ "","define ","TimeHMSMs",": " ] - }, { - "r" : "281", - "s" : [ { - "value" : [ "ToTime","(" ] - }, { - "r" : "276", - "s" : [ { - "value" : [ "'02:04:59.123'" ] - } ] - }, { - "value" : [ ")" ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "281", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Time", - "type" : "ToTime", - "signature" : [ { - "localId" : "282", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "276", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "02:04:59.123", - "type" : "Literal" - } - } - }, { - "localId" : "285", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Time", - "name" : "HourTooHigh", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "285", - "s" : [ { - "value" : [ "","define ","HourTooHigh",": " ] - }, { - "r" : "291", - "s" : [ { - "value" : [ "ToTime","(" ] - }, { - "r" : "286", - "s" : [ { - "value" : [ "'24'" ] - } ] - }, { - "value" : [ ")" ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "291", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Time", - "type" : "ToTime", - "signature" : [ { - "localId" : "292", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "286", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "24", - "type" : "Literal" - } - } - }, { - "localId" : "295", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Time", - "name" : "MinuteTooHigh", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "295", - "s" : [ { - "value" : [ "","define ","MinuteTooHigh",": " ] - }, { - "r" : "301", - "s" : [ { - "value" : [ "ToTime","(" ] - }, { - "r" : "296", - "s" : [ { - "value" : [ "'23:60'" ] - } ] - }, { - "value" : [ ")" ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "301", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Time", - "type" : "ToTime", - "signature" : [ { - "localId" : "302", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "296", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "23:60", - "type" : "Literal" - } - } - }, { - "localId" : "305", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Time", - "name" : "SecondTooHigh", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "305", - "s" : [ { - "value" : [ "","define ","SecondTooHigh",": " ] - }, { - "r" : "311", - "s" : [ { - "value" : [ "ToTime","(" ] - }, { - "r" : "306", - "s" : [ { - "value" : [ "'23:59:60'" ] - } ] - }, { - "value" : [ ")" ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "311", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Time", - "type" : "ToTime", - "signature" : [ { - "localId" : "312", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "306", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "23:59:60", - "type" : "Literal" - } - } - } ] - } - } + "value" : [ "", "define ", "SecondTooHigh", ": " ] + }, { + "r" : "311", + "s" : [ { + "value" : [ "ToTime", "(" ] + }, { + "r" : "306", + "s" : [ { + "value" : [ "'23:59:60'" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "ToTime", + "localId" : "311", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Time", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "312", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } ], + "operand" : { + "type" : "Literal", + "localId" : "306", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "23:59:60", + "annotation" : [ ] + } + } + } ] + } + } } /* ToBoolean @@ -5426,569 +5899,620 @@ define IsNull: ToBoolean('falsetto') */ module.exports['ToBoolean'] = { - "library" : { - "localId" : "0", - "annotation" : [ { - "translatorVersion" : "3.27.0", - "translatorOptions" : "EnableDateRangeOptimization,EnableAnnotations,EnableResultTypes", - "signatureLevel" : "All", - "type" : "CqlToElmInfo" - }, { - "type" : "Annotation", - "s" : { + "library" : { + "localId" : "0", + "annotation" : [ { + "type" : "CqlToElmInfo", + "translatorVersion" : "4.2.0", + "translatorOptions" : "EnableDateRangeOptimization,EnableAnnotations,EnableResultTypes", + "signatureLevel" : "All" + }, { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "314", + "s" : [ { + "value" : [ "", "library TestSnippet version '1'" ] + } ] + } + } ], + "identifier" : { + "id" : "TestSnippet", + "version" : "1" + }, + "schemaIdentifier" : { + "id" : "urn:hl7-org:elm", + "version" : "r1" + }, + "usings" : { + "def" : [ { + "localId" : "1", + "localIdentifier" : "System", + "uri" : "urn:hl7-org:elm-types:r1", + "annotation" : [ ] + }, { + "localId" : "206", + "localIdentifier" : "Simple", + "uri" : "https://github.com/cqframework/cql-execution/simple", + "version" : "1.0.0", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "206", + "s" : [ { + "value" : [ "", "using " ] + }, { + "s" : [ { + "value" : [ "Simple" ] + } ] + }, { + "value" : [ " version '1.0.0'" ] + } ] + } + } ] + } ] + }, + "contexts" : { + "def" : [ { + "localId" : "211", + "name" : "Patient", + "annotation" : [ ] + } ] + }, + "statements" : { + "def" : [ { + "localId" : "209", + "name" : "Patient", + "context" : "Patient", + "annotation" : [ ], + "expression" : { + "type" : "SingletonFrom", + "localId" : "210", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Retrieve", + "localId" : "208", + "dataType" : "{https://github.com/cqframework/cql-execution/simple}Patient", + "annotation" : [ ], + "include" : [ ], + "codeFilter" : [ ], + "dateFilter" : [ ], + "otherFilter" : [ ] + } + } + }, { + "localId" : "214", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "UpperCaseTrue", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "214", + "s" : [ { + "value" : [ "", "define ", "UpperCaseTrue", ": " ] + }, { + "r" : "220", + "s" : [ { + "value" : [ "ToBoolean", "(" ] + }, { + "r" : "215", + "s" : [ { + "value" : [ "'TRUE'" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "ToBoolean", + "localId" : "220", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "221", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } ], + "operand" : { + "type" : "Literal", + "localId" : "215", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "TRUE", + "annotation" : [ ] + } + } + }, { + "localId" : "224", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "UpperCaseFalse", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "224", + "s" : [ { + "value" : [ "", "define ", "UpperCaseFalse", ": " ] + }, { + "r" : "230", + "s" : [ { + "value" : [ "ToBoolean", "(" ] + }, { + "r" : "225", + "s" : [ { + "value" : [ "'FALSE'" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "ToBoolean", + "localId" : "230", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "231", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } ], + "operand" : { + "type" : "Literal", + "localId" : "225", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "FALSE", + "annotation" : [ ] + } + } + }, { + "localId" : "234", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "LowerCaseTrue", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "234", + "s" : [ { + "value" : [ "", "define ", "LowerCaseTrue", ": " ] + }, { + "r" : "240", + "s" : [ { + "value" : [ "ToBoolean", "(" ] + }, { + "r" : "235", + "s" : [ { + "value" : [ "'true'" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "ToBoolean", + "localId" : "240", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "241", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } ], + "operand" : { + "type" : "Literal", + "localId" : "235", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "true", + "annotation" : [ ] + } + } + }, { + "localId" : "244", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "LowerCaseFalse", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "244", + "s" : [ { + "value" : [ "", "define ", "LowerCaseFalse", ": " ] + }, { + "r" : "250", + "s" : [ { + "value" : [ "ToBoolean", "(" ] + }, { + "r" : "245", + "s" : [ { + "value" : [ "'false'" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "ToBoolean", + "localId" : "250", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "251", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } ], + "operand" : { + "type" : "Literal", + "localId" : "245", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "false", + "annotation" : [ ] + } + } + }, { + "localId" : "254", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "UpperCaseT", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "254", + "s" : [ { + "value" : [ "", "define ", "UpperCaseT", ": " ] + }, { + "r" : "260", + "s" : [ { + "value" : [ "ToBoolean", "(" ] + }, { + "r" : "255", + "s" : [ { + "value" : [ "'T'" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "ToBoolean", + "localId" : "260", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "261", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } ], + "operand" : { + "type" : "Literal", + "localId" : "255", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "T", + "annotation" : [ ] + } + } + }, { + "localId" : "264", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "UpperCaseF", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "264", + "s" : [ { + "value" : [ "", "define ", "UpperCaseF", ": " ] + }, { + "r" : "270", + "s" : [ { + "value" : [ "ToBoolean", "(" ] + }, { + "r" : "265", + "s" : [ { + "value" : [ "'F'" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "ToBoolean", + "localId" : "270", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "271", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } ], + "operand" : { + "type" : "Literal", + "localId" : "265", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "F", + "annotation" : [ ] + } + } + }, { + "localId" : "274", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "LowerCaseT", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "274", + "s" : [ { + "value" : [ "", "define ", "LowerCaseT", ": " ] + }, { + "r" : "280", + "s" : [ { + "value" : [ "ToBoolean", "(" ] + }, { + "r" : "275", + "s" : [ { + "value" : [ "'t'" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "ToBoolean", + "localId" : "280", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "281", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } ], + "operand" : { + "type" : "Literal", + "localId" : "275", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "t", + "annotation" : [ ] + } + } + }, { + "localId" : "284", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "LowerCaseF", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "284", + "s" : [ { + "value" : [ "", "define ", "LowerCaseF", ": " ] + }, { + "r" : "290", + "s" : [ { + "value" : [ "ToBoolean", "(" ] + }, { + "r" : "285", + "s" : [ { + "value" : [ "'f'" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "ToBoolean", + "localId" : "290", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "291", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } ], + "operand" : { + "type" : "Literal", + "localId" : "285", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "f", + "annotation" : [ ] + } + } + }, { + "localId" : "294", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "IsTrue", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "294", + "s" : [ { + "value" : [ "", "define ", "IsTrue", ": " ] + }, { + "r" : "300", + "s" : [ { + "value" : [ "ToBoolean", "(" ] + }, { + "r" : "295", + "s" : [ { + "value" : [ "'y'" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "ToBoolean", + "localId" : "300", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "301", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } ], + "operand" : { + "type" : "Literal", + "localId" : "295", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "y", + "annotation" : [ ] + } + } + }, { + "localId" : "304", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "IsFalse", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "304", + "s" : [ { + "value" : [ "", "define ", "IsFalse", ": " ] + }, { + "r" : "310", + "s" : [ { + "value" : [ "ToBoolean", "(" ] + }, { + "r" : "305", + "s" : [ { + "value" : [ "'0'" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "ToBoolean", + "localId" : "310", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "311", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } ], + "operand" : { + "type" : "Literal", + "localId" : "305", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "0", + "annotation" : [ ] + } + } + }, { + "localId" : "314", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "IsNull", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { "r" : "314", "s" : [ { - "value" : [ "","library TestSnippet version '1'" ] - } ] - } - } ], - "identifier" : { - "id" : "TestSnippet", - "version" : "1" - }, - "schemaIdentifier" : { - "id" : "urn:hl7-org:elm", - "version" : "r1" - }, - "usings" : { - "def" : [ { - "localId" : "1", - "localIdentifier" : "System", - "uri" : "urn:hl7-org:elm-types:r1" - }, { - "localId" : "206", - "localIdentifier" : "Simple", - "uri" : "https://github.com/cqframework/cql-execution/simple", - "version" : "1.0.0", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "206", - "s" : [ { - "value" : [ "","using " ] - }, { - "s" : [ { - "value" : [ "Simple" ] - } ] - }, { - "value" : [ " version '1.0.0'" ] - } ] - } - } ] - } ] - }, - "contexts" : { - "def" : [ { - "localId" : "211", - "name" : "Patient" - } ] - }, - "statements" : { - "def" : [ { - "localId" : "209", - "name" : "Patient", - "context" : "Patient", - "expression" : { - "localId" : "210", - "type" : "SingletonFrom", - "signature" : [ ], - "operand" : { - "localId" : "208", - "dataType" : "{https://github.com/cqframework/cql-execution/simple}Patient", - "type" : "Retrieve", - "include" : [ ], - "codeFilter" : [ ], - "dateFilter" : [ ], - "otherFilter" : [ ] - } - } - }, { - "localId" : "214", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "UpperCaseTrue", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "214", - "s" : [ { - "value" : [ "","define ","UpperCaseTrue",": " ] - }, { - "r" : "220", - "s" : [ { - "value" : [ "ToBoolean","(" ] - }, { - "r" : "215", - "s" : [ { - "value" : [ "'TRUE'" ] - } ] - }, { - "value" : [ ")" ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "220", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "ToBoolean", - "signature" : [ { - "localId" : "221", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "215", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "TRUE", - "type" : "Literal" - } - } - }, { - "localId" : "224", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "UpperCaseFalse", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "224", - "s" : [ { - "value" : [ "","define ","UpperCaseFalse",": " ] - }, { - "r" : "230", - "s" : [ { - "value" : [ "ToBoolean","(" ] - }, { - "r" : "225", - "s" : [ { - "value" : [ "'FALSE'" ] - } ] - }, { - "value" : [ ")" ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "230", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "ToBoolean", - "signature" : [ { - "localId" : "231", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "225", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "FALSE", - "type" : "Literal" - } - } - }, { - "localId" : "234", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "LowerCaseTrue", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "234", - "s" : [ { - "value" : [ "","define ","LowerCaseTrue",": " ] - }, { - "r" : "240", - "s" : [ { - "value" : [ "ToBoolean","(" ] - }, { - "r" : "235", - "s" : [ { - "value" : [ "'true'" ] - } ] - }, { - "value" : [ ")" ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "240", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "ToBoolean", - "signature" : [ { - "localId" : "241", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "235", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "true", - "type" : "Literal" - } - } - }, { - "localId" : "244", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "LowerCaseFalse", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "244", - "s" : [ { - "value" : [ "","define ","LowerCaseFalse",": " ] - }, { - "r" : "250", - "s" : [ { - "value" : [ "ToBoolean","(" ] - }, { - "r" : "245", - "s" : [ { - "value" : [ "'false'" ] - } ] - }, { - "value" : [ ")" ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "250", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "ToBoolean", - "signature" : [ { - "localId" : "251", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "245", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "false", - "type" : "Literal" - } - } - }, { - "localId" : "254", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "UpperCaseT", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "254", - "s" : [ { - "value" : [ "","define ","UpperCaseT",": " ] - }, { - "r" : "260", - "s" : [ { - "value" : [ "ToBoolean","(" ] - }, { - "r" : "255", - "s" : [ { - "value" : [ "'T'" ] - } ] - }, { - "value" : [ ")" ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "260", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "ToBoolean", - "signature" : [ { - "localId" : "261", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "255", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "T", - "type" : "Literal" - } - } - }, { - "localId" : "264", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "UpperCaseF", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "264", - "s" : [ { - "value" : [ "","define ","UpperCaseF",": " ] - }, { - "r" : "270", - "s" : [ { - "value" : [ "ToBoolean","(" ] - }, { - "r" : "265", - "s" : [ { - "value" : [ "'F'" ] - } ] - }, { - "value" : [ ")" ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "270", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "ToBoolean", - "signature" : [ { - "localId" : "271", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "265", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "F", - "type" : "Literal" - } - } - }, { - "localId" : "274", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "LowerCaseT", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "274", - "s" : [ { - "value" : [ "","define ","LowerCaseT",": " ] - }, { - "r" : "280", - "s" : [ { - "value" : [ "ToBoolean","(" ] - }, { - "r" : "275", - "s" : [ { - "value" : [ "'t'" ] - } ] - }, { - "value" : [ ")" ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "280", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "ToBoolean", - "signature" : [ { - "localId" : "281", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "275", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "t", - "type" : "Literal" - } - } - }, { - "localId" : "284", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "LowerCaseF", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "284", - "s" : [ { - "value" : [ "","define ","LowerCaseF",": " ] - }, { - "r" : "290", - "s" : [ { - "value" : [ "ToBoolean","(" ] - }, { - "r" : "285", - "s" : [ { - "value" : [ "'f'" ] - } ] - }, { - "value" : [ ")" ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "290", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "ToBoolean", - "signature" : [ { - "localId" : "291", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "285", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "f", - "type" : "Literal" - } - } - }, { - "localId" : "294", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "IsTrue", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "294", - "s" : [ { - "value" : [ "","define ","IsTrue",": " ] - }, { - "r" : "300", - "s" : [ { - "value" : [ "ToBoolean","(" ] - }, { - "r" : "295", - "s" : [ { - "value" : [ "'y'" ] - } ] - }, { - "value" : [ ")" ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "300", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "ToBoolean", - "signature" : [ { - "localId" : "301", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "295", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "y", - "type" : "Literal" - } - } - }, { - "localId" : "304", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "IsFalse", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "304", - "s" : [ { - "value" : [ "","define ","IsFalse",": " ] - }, { - "r" : "310", - "s" : [ { - "value" : [ "ToBoolean","(" ] - }, { - "r" : "305", - "s" : [ { - "value" : [ "'0'" ] - } ] - }, { - "value" : [ ")" ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "310", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "ToBoolean", - "signature" : [ { - "localId" : "311", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "305", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "0", - "type" : "Literal" - } - } - }, { - "localId" : "314", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "IsNull", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "314", - "s" : [ { - "value" : [ "","define ","IsNull",": " ] - }, { - "r" : "320", - "s" : [ { - "value" : [ "ToBoolean","(" ] - }, { - "r" : "315", - "s" : [ { - "value" : [ "'falsetto'" ] - } ] - }, { - "value" : [ ")" ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "320", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "ToBoolean", - "signature" : [ { - "localId" : "321", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "315", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "falsetto", - "type" : "Literal" - } - } - } ] - } - } + "value" : [ "", "define ", "IsNull", ": " ] + }, { + "r" : "320", + "s" : [ { + "value" : [ "ToBoolean", "(" ] + }, { + "r" : "315", + "s" : [ { + "value" : [ "'falsetto'" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "ToBoolean", + "localId" : "320", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "321", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } ], + "operand" : { + "type" : "Literal", + "localId" : "315", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "falsetto", + "annotation" : [ ] + } + } + } ] + } + } } /* ToConcept @@ -6000,230 +6524,249 @@ define IsNull: ToConcept(null as Code) */ module.exports['ToConcept'] = { - "library" : { - "localId" : "0", - "annotation" : [ { - "translatorVersion" : "3.27.0", - "translatorOptions" : "EnableDateRangeOptimization,EnableAnnotations,EnableResultTypes", - "signatureLevel" : "All", - "type" : "CqlToElmInfo" - }, { - "type" : "Annotation", - "s" : { + "library" : { + "localId" : "0", + "annotation" : [ { + "type" : "CqlToElmInfo", + "translatorVersion" : "4.2.0", + "translatorOptions" : "EnableDateRangeOptimization,EnableAnnotations,EnableResultTypes", + "signatureLevel" : "All" + }, { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "228", + "s" : [ { + "value" : [ "", "library TestSnippet version '1'" ] + } ] + } + } ], + "identifier" : { + "id" : "TestSnippet", + "version" : "1" + }, + "schemaIdentifier" : { + "id" : "urn:hl7-org:elm", + "version" : "r1" + }, + "usings" : { + "def" : [ { + "localId" : "1", + "localIdentifier" : "System", + "uri" : "urn:hl7-org:elm-types:r1", + "annotation" : [ ] + }, { + "localId" : "206", + "localIdentifier" : "Simple", + "uri" : "https://github.com/cqframework/cql-execution/simple", + "version" : "1.0.0", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "206", + "s" : [ { + "value" : [ "", "using " ] + }, { + "s" : [ { + "value" : [ "Simple" ] + } ] + }, { + "value" : [ " version '1.0.0'" ] + } ] + } + } ] + } ] + }, + "contexts" : { + "def" : [ { + "localId" : "211", + "name" : "Patient", + "annotation" : [ ] + } ] + }, + "statements" : { + "def" : [ { + "localId" : "209", + "name" : "Patient", + "context" : "Patient", + "annotation" : [ ], + "expression" : { + "type" : "SingletonFrom", + "localId" : "210", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Retrieve", + "localId" : "208", + "dataType" : "{https://github.com/cqframework/cql-execution/simple}Patient", + "annotation" : [ ], + "include" : [ ], + "codeFilter" : [ ], + "dateFilter" : [ ], + "otherFilter" : [ ] + } + } + }, { + "localId" : "214", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Concept", + "name" : "IsValid", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "214", + "s" : [ { + "value" : [ "", "define ", "IsValid", ": " ] + }, { + "r" : "224", + "s" : [ { + "value" : [ "ToConcept", "(" ] + }, { + "r" : "215", + "s" : [ { + "value" : [ "Code", " { " ] + }, { + "s" : [ { + "value" : [ "system", ": " ] + }, { + "r" : "217", + "s" : [ { + "value" : [ "'http://loinc.org'" ] + } ] + } ] + }, { + "value" : [ ", " ] + }, { + "s" : [ { + "value" : [ "code", ": " ] + }, { + "r" : "219", + "s" : [ { + "value" : [ "'8480-6'" ] + } ] + } ] + }, { + "value" : [ " }" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "ToConcept", + "localId" : "224", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Concept", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "225", + "name" : "{urn:hl7-org:elm-types:r1}Code", + "annotation" : [ ] + } ], + "operand" : { + "type" : "Instance", + "localId" : "215", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Code", + "classType" : "{urn:hl7-org:elm-types:r1}Code", + "annotation" : [ ], + "element" : [ { + "name" : "system", + "value" : { + "type" : "Literal", + "localId" : "217", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "http://loinc.org", + "annotation" : [ ] + } + }, { + "name" : "code", + "value" : { + "type" : "Literal", + "localId" : "219", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "8480-6", + "annotation" : [ ] + } + } ] + } + } + }, { + "localId" : "228", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Concept", + "name" : "IsNull", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { "r" : "228", "s" : [ { - "value" : [ "","library TestSnippet version '1'" ] - } ] - } - } ], - "identifier" : { - "id" : "TestSnippet", - "version" : "1" - }, - "schemaIdentifier" : { - "id" : "urn:hl7-org:elm", - "version" : "r1" - }, - "usings" : { - "def" : [ { - "localId" : "1", - "localIdentifier" : "System", - "uri" : "urn:hl7-org:elm-types:r1" - }, { - "localId" : "206", - "localIdentifier" : "Simple", - "uri" : "https://github.com/cqframework/cql-execution/simple", - "version" : "1.0.0", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "206", - "s" : [ { - "value" : [ "","using " ] - }, { - "s" : [ { - "value" : [ "Simple" ] - } ] - }, { - "value" : [ " version '1.0.0'" ] - } ] - } - } ] - } ] - }, - "contexts" : { - "def" : [ { - "localId" : "211", - "name" : "Patient" - } ] - }, - "statements" : { - "def" : [ { - "localId" : "209", - "name" : "Patient", - "context" : "Patient", - "expression" : { - "localId" : "210", - "type" : "SingletonFrom", - "signature" : [ ], - "operand" : { - "localId" : "208", - "dataType" : "{https://github.com/cqframework/cql-execution/simple}Patient", - "type" : "Retrieve", - "include" : [ ], - "codeFilter" : [ ], - "dateFilter" : [ ], - "otherFilter" : [ ] - } - } - }, { - "localId" : "214", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Concept", - "name" : "IsValid", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "214", - "s" : [ { - "value" : [ "","define ","IsValid",": " ] - }, { - "r" : "224", - "s" : [ { - "value" : [ "ToConcept","(" ] - }, { - "r" : "215", - "s" : [ { - "value" : [ "Code"," { " ] - }, { - "s" : [ { - "value" : [ "system",": " ] - }, { - "r" : "217", - "s" : [ { - "value" : [ "'http://loinc.org'" ] - } ] - } ] - }, { - "value" : [ ", " ] - }, { - "s" : [ { - "value" : [ "code",": " ] - }, { - "r" : "219", - "s" : [ { - "value" : [ "'8480-6'" ] - } ] - } ] - }, { - "value" : [ " }" ] - } ] - }, { - "value" : [ ")" ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "224", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Concept", - "type" : "ToConcept", - "signature" : [ { - "localId" : "225", - "name" : "{urn:hl7-org:elm-types:r1}Code", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "215", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Code", - "classType" : "{urn:hl7-org:elm-types:r1}Code", - "type" : "Instance", - "element" : [ { - "name" : "system", - "value" : { - "localId" : "217", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "http://loinc.org", - "type" : "Literal" - } - }, { - "name" : "code", - "value" : { - "localId" : "219", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "8480-6", - "type" : "Literal" - } - } ] - } - } - }, { - "localId" : "228", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Concept", - "name" : "IsNull", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "228", + "value" : [ "// Concept { codes: { Code { system: 'http://loinc.org', code: '8480-6' } } }\n", "define ", "IsNull", ": " ] + }, { + "r" : "235", + "s" : [ { + "value" : [ "ToConcept", "(" ] + }, { + "r" : "229", + "s" : [ { + "r" : "230", + "value" : [ "null", " as " ] + }, { + "r" : "231", "s" : [ { - "value" : [ "// Concept { codes: { Code { system: 'http://loinc.org', code: '8480-6' } } }\n","define ","IsNull",": " ] - }, { - "r" : "235", - "s" : [ { - "value" : [ "ToConcept","(" ] - }, { - "r" : "229", - "s" : [ { - "r" : "230", - "value" : [ "null"," as " ] - }, { - "r" : "231", - "s" : [ { - "value" : [ "Code" ] - } ] - } ] - }, { - "value" : [ ")" ] - } ] + "value" : [ "Code" ] } ] - } - } ], - "expression" : { - "localId" : "235", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Concept", - "type" : "ToConcept", - "signature" : [ { - "localId" : "236", - "name" : "{urn:hl7-org:elm-types:r1}Code", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "229", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Code", - "strict" : false, - "type" : "As", - "signature" : [ ], - "operand" : { - "localId" : "230", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - }, - "asTypeSpecifier" : { - "localId" : "231", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Code", - "name" : "{urn:hl7-org:elm-types:r1}Code", - "type" : "NamedTypeSpecifier" - } - } - } - } ] - } - } + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "ToConcept", + "localId" : "235", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Concept", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "236", + "name" : "{urn:hl7-org:elm-types:r1}Code", + "annotation" : [ ] + } ], + "operand" : { + "type" : "As", + "localId" : "229", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Code", + "strict" : false, + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Null", + "localId" : "230", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + }, + "asTypeSpecifier" : { + "type" : "NamedTypeSpecifier", + "localId" : "231", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Code", + "name" : "{urn:hl7-org:elm-types:r1}Code", + "annotation" : [ ] + } + } + } + } ] + } + } } /* ToDate @@ -6237,384 +6780,429 @@ define ToDateDateTimeString: ToDate(@2014-01-01T12:30:00) */ module.exports['ToDate'] = { - "library" : { - "localId" : "0", - "annotation" : [ { - "translatorVersion" : "3.27.0", - "translatorOptions" : "EnableDateRangeOptimization,EnableAnnotations,EnableResultTypes", - "signatureLevel" : "All", - "type" : "CqlToElmInfo" - }, { - "type" : "Annotation", - "s" : { + "library" : { + "localId" : "0", + "annotation" : [ { + "type" : "CqlToElmInfo", + "translatorVersion" : "4.2.0", + "translatorOptions" : "EnableDateRangeOptimization,EnableAnnotations,EnableResultTypes", + "signatureLevel" : "All" + }, { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "267", + "s" : [ { + "value" : [ "", "library TestSnippet version '1'" ] + } ] + } + } ], + "identifier" : { + "id" : "TestSnippet", + "version" : "1" + }, + "schemaIdentifier" : { + "id" : "urn:hl7-org:elm", + "version" : "r1" + }, + "usings" : { + "def" : [ { + "localId" : "1", + "localIdentifier" : "System", + "uri" : "urn:hl7-org:elm-types:r1", + "annotation" : [ ] + }, { + "localId" : "206", + "localIdentifier" : "Simple", + "uri" : "https://github.com/cqframework/cql-execution/simple", + "version" : "1.0.0", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "206", + "s" : [ { + "value" : [ "", "using " ] + }, { + "s" : [ { + "value" : [ "Simple" ] + } ] + }, { + "value" : [ " version '1.0.0'" ] + } ] + } + } ] + } ] + }, + "contexts" : { + "def" : [ { + "localId" : "211", + "name" : "Patient", + "annotation" : [ ] + } ] + }, + "statements" : { + "def" : [ { + "localId" : "209", + "name" : "Patient", + "context" : "Patient", + "annotation" : [ ], + "expression" : { + "type" : "SingletonFrom", + "localId" : "210", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Retrieve", + "localId" : "208", + "dataType" : "{https://github.com/cqframework/cql-execution/simple}Patient", + "annotation" : [ ], + "include" : [ ], + "codeFilter" : [ ], + "dateFilter" : [ ], + "otherFilter" : [ ] + } + } + }, { + "localId" : "214", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", + "name" : "ToDateString", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "214", + "s" : [ { + "value" : [ "", "define ", "ToDateString", ": " ] + }, { + "r" : "220", + "s" : [ { + "value" : [ "ToDate", "(" ] + }, { + "r" : "215", + "s" : [ { + "value" : [ "'2015-01-02'" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "ToDate", + "localId" : "220", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "221", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } ], + "operand" : { + "type" : "Literal", + "localId" : "215", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "2015-01-02", + "annotation" : [ ] + } + } + }, { + "localId" : "224", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", + "name" : "ToDateDateTime", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "224", + "s" : [ { + "value" : [ "", "define ", "ToDateDateTime", ": " ] + }, { + "r" : "252", + "s" : [ { + "value" : [ "ToDate", "(" ] + }, { + "r" : "241", + "s" : [ { + "r" : "225", + "value" : [ "DateTime", "(", "2000", ", ", "3", ", ", "15", ", ", "13", ", ", "30", ", ", "25", ", ", "200", ")" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "ToDate", + "localId" : "252", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "253", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } ], + "operand" : { + "type" : "DateTime", + "localId" : "241", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "242", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "243", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "244", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "245", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "246", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "247", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "248", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "225", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "226", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "227", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "15", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "228", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "13", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "229", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "30", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "230", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "25", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "231", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "200", + "annotation" : [ ] + } + } + } + }, { + "localId" : "256", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", + "name" : "ToDateNull", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "256", + "s" : [ { + "value" : [ "", "define ", "ToDateNull", ": " ] + }, { + "r" : "263", + "s" : [ { + "value" : [ "ToDate", "(" ] + }, { + "r" : "257", + "s" : [ { + "r" : "258", + "value" : [ "null", " as " ] + }, { + "r" : "259", + "s" : [ { + "value" : [ "String" ] + } ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "ToDate", + "localId" : "263", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "264", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } ], + "operand" : { + "type" : "As", + "localId" : "257", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "strict" : false, + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Null", + "localId" : "258", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + }, + "asTypeSpecifier" : { + "type" : "NamedTypeSpecifier", + "localId" : "259", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } + } + } + }, { + "localId" : "267", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", + "name" : "ToDateDateTimeString", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { "r" : "267", "s" : [ { - "value" : [ "","library TestSnippet version '1'" ] - } ] - } - } ], - "identifier" : { - "id" : "TestSnippet", - "version" : "1" - }, - "schemaIdentifier" : { - "id" : "urn:hl7-org:elm", - "version" : "r1" - }, - "usings" : { - "def" : [ { - "localId" : "1", - "localIdentifier" : "System", - "uri" : "urn:hl7-org:elm-types:r1" - }, { - "localId" : "206", - "localIdentifier" : "Simple", - "uri" : "https://github.com/cqframework/cql-execution/simple", - "version" : "1.0.0", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "206", - "s" : [ { - "value" : [ "","using " ] - }, { - "s" : [ { - "value" : [ "Simple" ] - } ] - }, { - "value" : [ " version '1.0.0'" ] - } ] - } - } ] - } ] - }, - "contexts" : { - "def" : [ { - "localId" : "211", - "name" : "Patient" - } ] - }, - "statements" : { - "def" : [ { - "localId" : "209", - "name" : "Patient", - "context" : "Patient", - "expression" : { - "localId" : "210", - "type" : "SingletonFrom", - "signature" : [ ], - "operand" : { - "localId" : "208", - "dataType" : "{https://github.com/cqframework/cql-execution/simple}Patient", - "type" : "Retrieve", - "include" : [ ], - "codeFilter" : [ ], - "dateFilter" : [ ], - "otherFilter" : [ ] - } - } - }, { - "localId" : "214", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", - "name" : "ToDateString", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "214", - "s" : [ { - "value" : [ "","define ","ToDateString",": " ] - }, { - "r" : "220", - "s" : [ { - "value" : [ "ToDate","(" ] - }, { - "r" : "215", - "s" : [ { - "value" : [ "'2015-01-02'" ] - } ] - }, { - "value" : [ ")" ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "220", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "ToDate", - "signature" : [ { - "localId" : "221", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "215", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "2015-01-02", - "type" : "Literal" - } - } - }, { - "localId" : "224", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", - "name" : "ToDateDateTime", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "224", - "s" : [ { - "value" : [ "","define ","ToDateDateTime",": " ] - }, { - "r" : "252", - "s" : [ { - "value" : [ "ToDate","(" ] - }, { - "r" : "241", - "s" : [ { - "r" : "225", - "value" : [ "DateTime","(","2000",", ","3",", ","15",", ","13",", ","30",", ","25",", ","200",")" ] - } ] - }, { - "value" : [ ")" ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "252", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "ToDate", - "signature" : [ { - "localId" : "253", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "241", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "242", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "243", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "244", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "245", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "246", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "247", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "248", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "225", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "226", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "227", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal" - }, - "hour" : { - "localId" : "228", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "13", - "type" : "Literal" - }, - "minute" : { - "localId" : "229", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "30", - "type" : "Literal" - }, - "second" : { - "localId" : "230", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "25", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "231", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "200", - "type" : "Literal" - } - } - } - }, { - "localId" : "256", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", - "name" : "ToDateNull", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "256", - "s" : [ { - "value" : [ "","define ","ToDateNull",": " ] - }, { - "r" : "263", - "s" : [ { - "value" : [ "ToDate","(" ] - }, { - "r" : "257", - "s" : [ { - "r" : "258", - "value" : [ "null"," as " ] - }, { - "r" : "259", - "s" : [ { - "value" : [ "String" ] - } ] - } ] - }, { - "value" : [ ")" ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "263", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "ToDate", - "signature" : [ { - "localId" : "264", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "257", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "strict" : false, - "type" : "As", - "signature" : [ ], - "operand" : { - "localId" : "258", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - }, - "asTypeSpecifier" : { - "localId" : "259", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } - } - } - }, { - "localId" : "267", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", - "name" : "ToDateDateTimeString", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "267", - "s" : [ { - "value" : [ "","define ","ToDateDateTimeString",": " ] - }, { - "r" : "278", - "s" : [ { - "r" : "268", - "value" : [ "ToDate","(","@2014-01-01T12:30:00",")" ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "278", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "ToDate", - "signature" : [ { - "localId" : "279", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "268", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ ], - "year" : { - "localId" : "269", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2014", - "type" : "Literal" - }, - "month" : { - "localId" : "270", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "271", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "272", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "12", - "type" : "Literal" - }, - "minute" : { - "localId" : "273", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "30", - "type" : "Literal" - }, - "second" : { - "localId" : "274", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - } - } - } ] - } - } + "value" : [ "", "define ", "ToDateDateTimeString", ": " ] + }, { + "r" : "278", + "s" : [ { + "r" : "268", + "value" : [ "ToDate", "(", "@2014-01-01T12:30:00", ")" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "ToDate", + "localId" : "278", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "279", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } ], + "operand" : { + "type" : "DateTime", + "localId" : "268", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ ], + "year" : { + "type" : "Literal", + "localId" : "269", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2014", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "270", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "271", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "272", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "12", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "273", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "30", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "274", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + } + } + } ] + } + } } /* ConvertsToBoolean @@ -6628,278 +7216,303 @@ define IsNull: ConvertsToBoolean(null as String) */ module.exports['ConvertsToBoolean'] = { - "library" : { - "localId" : "0", - "annotation" : [ { - "translatorVersion" : "3.27.0", - "translatorOptions" : "EnableDateRangeOptimization,EnableAnnotations,EnableResultTypes", - "signatureLevel" : "All", - "type" : "CqlToElmInfo" - }, { - "type" : "Annotation", - "s" : { + "library" : { + "localId" : "0", + "annotation" : [ { + "type" : "CqlToElmInfo", + "translatorVersion" : "4.2.0", + "translatorOptions" : "EnableDateRangeOptimization,EnableAnnotations,EnableResultTypes", + "signatureLevel" : "All" + }, { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "244", + "s" : [ { + "value" : [ "", "library TestSnippet version '1'" ] + } ] + } + } ], + "identifier" : { + "id" : "TestSnippet", + "version" : "1" + }, + "schemaIdentifier" : { + "id" : "urn:hl7-org:elm", + "version" : "r1" + }, + "usings" : { + "def" : [ { + "localId" : "1", + "localIdentifier" : "System", + "uri" : "urn:hl7-org:elm-types:r1", + "annotation" : [ ] + }, { + "localId" : "206", + "localIdentifier" : "Simple", + "uri" : "https://github.com/cqframework/cql-execution/simple", + "version" : "1.0.0", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "206", + "s" : [ { + "value" : [ "", "using " ] + }, { + "s" : [ { + "value" : [ "Simple" ] + } ] + }, { + "value" : [ " version '1.0.0'" ] + } ] + } + } ] + } ] + }, + "contexts" : { + "def" : [ { + "localId" : "211", + "name" : "Patient", + "annotation" : [ ] + } ] + }, + "statements" : { + "def" : [ { + "localId" : "209", + "name" : "Patient", + "context" : "Patient", + "annotation" : [ ], + "expression" : { + "type" : "SingletonFrom", + "localId" : "210", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Retrieve", + "localId" : "208", + "dataType" : "{https://github.com/cqframework/cql-execution/simple}Patient", + "annotation" : [ ], + "include" : [ ], + "codeFilter" : [ ], + "dateFilter" : [ ], + "otherFilter" : [ ] + } + } + }, { + "localId" : "214", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "IsTrueWithTrueValue", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "214", + "s" : [ { + "value" : [ "", "define ", "IsTrueWithTrueValue", ": " ] + }, { + "r" : "220", + "s" : [ { + "value" : [ "ConvertsToBoolean", "(" ] + }, { + "r" : "215", + "s" : [ { + "value" : [ "'y'" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "ConvertsToBoolean", + "localId" : "220", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "221", + "name" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } ], + "operand" : { + "type" : "Literal", + "localId" : "215", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "y", + "annotation" : [ ] + } + } + }, { + "localId" : "224", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "IsTrueWithFalseValue", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "224", + "s" : [ { + "value" : [ "", "define ", "IsTrueWithFalseValue", ": " ] + }, { + "r" : "230", + "s" : [ { + "value" : [ "ConvertsToBoolean", "(" ] + }, { + "r" : "225", + "s" : [ { + "value" : [ "'0'" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "ConvertsToBoolean", + "localId" : "230", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "231", + "name" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } ], + "operand" : { + "type" : "Literal", + "localId" : "225", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "0", + "annotation" : [ ] + } + } + }, { + "localId" : "234", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "IsFalse", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "234", + "s" : [ { + "value" : [ "", "define ", "IsFalse", ": " ] + }, { + "r" : "240", + "s" : [ { + "value" : [ "ConvertsToBoolean", "(" ] + }, { + "r" : "235", + "s" : [ { + "value" : [ "'foo'" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "ConvertsToBoolean", + "localId" : "240", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "241", + "name" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } ], + "operand" : { + "type" : "Literal", + "localId" : "235", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "foo", + "annotation" : [ ] + } + } + }, { + "localId" : "244", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "IsNull", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { "r" : "244", "s" : [ { - "value" : [ "","library TestSnippet version '1'" ] - } ] - } - } ], - "identifier" : { - "id" : "TestSnippet", - "version" : "1" - }, - "schemaIdentifier" : { - "id" : "urn:hl7-org:elm", - "version" : "r1" - }, - "usings" : { - "def" : [ { - "localId" : "1", - "localIdentifier" : "System", - "uri" : "urn:hl7-org:elm-types:r1" - }, { - "localId" : "206", - "localIdentifier" : "Simple", - "uri" : "https://github.com/cqframework/cql-execution/simple", - "version" : "1.0.0", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "206", - "s" : [ { - "value" : [ "","using " ] - }, { - "s" : [ { - "value" : [ "Simple" ] - } ] - }, { - "value" : [ " version '1.0.0'" ] - } ] - } - } ] - } ] - }, - "contexts" : { - "def" : [ { - "localId" : "211", - "name" : "Patient" - } ] - }, - "statements" : { - "def" : [ { - "localId" : "209", - "name" : "Patient", - "context" : "Patient", - "expression" : { - "localId" : "210", - "type" : "SingletonFrom", - "signature" : [ ], - "operand" : { - "localId" : "208", - "dataType" : "{https://github.com/cqframework/cql-execution/simple}Patient", - "type" : "Retrieve", - "include" : [ ], - "codeFilter" : [ ], - "dateFilter" : [ ], - "otherFilter" : [ ] - } - } - }, { - "localId" : "214", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "IsTrueWithTrueValue", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "214", - "s" : [ { - "value" : [ "","define ","IsTrueWithTrueValue",": " ] - }, { - "r" : "220", - "s" : [ { - "value" : [ "ConvertsToBoolean","(" ] - }, { - "r" : "215", - "s" : [ { - "value" : [ "'y'" ] - } ] - }, { - "value" : [ ")" ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "220", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "ConvertsToBoolean", - "signature" : [ { - "localId" : "221", - "name" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "215", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "y", - "type" : "Literal" - } - } - }, { - "localId" : "224", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "IsTrueWithFalseValue", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "224", - "s" : [ { - "value" : [ "","define ","IsTrueWithFalseValue",": " ] - }, { - "r" : "230", - "s" : [ { - "value" : [ "ConvertsToBoolean","(" ] - }, { - "r" : "225", - "s" : [ { - "value" : [ "'0'" ] - } ] - }, { - "value" : [ ")" ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "230", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "ConvertsToBoolean", - "signature" : [ { - "localId" : "231", - "name" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "225", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "0", - "type" : "Literal" - } - } - }, { - "localId" : "234", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "IsFalse", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "234", - "s" : [ { - "value" : [ "","define ","IsFalse",": " ] - }, { - "r" : "240", - "s" : [ { - "value" : [ "ConvertsToBoolean","(" ] - }, { - "r" : "235", - "s" : [ { - "value" : [ "'foo'" ] - } ] - }, { - "value" : [ ")" ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "240", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "ConvertsToBoolean", - "signature" : [ { - "localId" : "241", - "name" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "235", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "foo", - "type" : "Literal" - } - } - }, { - "localId" : "244", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "IsNull", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "244", + "value" : [ "", "define ", "IsNull", ": " ] + }, { + "r" : "251", + "s" : [ { + "value" : [ "ConvertsToBoolean", "(" ] + }, { + "r" : "245", + "s" : [ { + "r" : "246", + "value" : [ "null", " as " ] + }, { + "r" : "247", "s" : [ { - "value" : [ "","define ","IsNull",": " ] - }, { - "r" : "251", - "s" : [ { - "value" : [ "ConvertsToBoolean","(" ] - }, { - "r" : "245", - "s" : [ { - "r" : "246", - "value" : [ "null"," as " ] - }, { - "r" : "247", - "s" : [ { - "value" : [ "String" ] - } ] - } ] - }, { - "value" : [ ")" ] - } ] + "value" : [ "String" ] } ] - } - } ], - "expression" : { - "localId" : "251", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "ConvertsToBoolean", - "signature" : [ { - "localId" : "252", - "name" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "245", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "strict" : false, - "type" : "As", - "signature" : [ ], - "operand" : { - "localId" : "246", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - }, - "asTypeSpecifier" : { - "localId" : "247", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } - } - } - } ] - } - } + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "ConvertsToBoolean", + "localId" : "251", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "252", + "name" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } ], + "operand" : { + "type" : "As", + "localId" : "245", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "strict" : false, + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Null", + "localId" : "246", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + }, + "asTypeSpecifier" : { + "type" : "NamedTypeSpecifier", + "localId" : "247", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } + } + } + } ] + } + } } /* ConvertsToDate @@ -6912,234 +7525,255 @@ define IsNull: ConvertsToDate(null as Date) */ module.exports['ConvertsToDate'] = { - "library" : { - "localId" : "0", - "annotation" : [ { - "translatorVersion" : "3.27.0", - "translatorOptions" : "EnableDateRangeOptimization,EnableAnnotations,EnableResultTypes", - "signatureLevel" : "All", - "type" : "CqlToElmInfo" - }, { - "type" : "Annotation", - "s" : { + "library" : { + "localId" : "0", + "annotation" : [ { + "type" : "CqlToElmInfo", + "translatorVersion" : "4.2.0", + "translatorOptions" : "EnableDateRangeOptimization,EnableAnnotations,EnableResultTypes", + "signatureLevel" : "All" + }, { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "234", + "s" : [ { + "value" : [ "", "library TestSnippet version '1'" ] + } ] + } + } ], + "identifier" : { + "id" : "TestSnippet", + "version" : "1" + }, + "schemaIdentifier" : { + "id" : "urn:hl7-org:elm", + "version" : "r1" + }, + "usings" : { + "def" : [ { + "localId" : "1", + "localIdentifier" : "System", + "uri" : "urn:hl7-org:elm-types:r1", + "annotation" : [ ] + }, { + "localId" : "206", + "localIdentifier" : "Simple", + "uri" : "https://github.com/cqframework/cql-execution/simple", + "version" : "1.0.0", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "206", + "s" : [ { + "value" : [ "", "using " ] + }, { + "s" : [ { + "value" : [ "Simple" ] + } ] + }, { + "value" : [ " version '1.0.0'" ] + } ] + } + } ] + } ] + }, + "contexts" : { + "def" : [ { + "localId" : "211", + "name" : "Patient", + "annotation" : [ ] + } ] + }, + "statements" : { + "def" : [ { + "localId" : "209", + "name" : "Patient", + "context" : "Patient", + "annotation" : [ ], + "expression" : { + "type" : "SingletonFrom", + "localId" : "210", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Retrieve", + "localId" : "208", + "dataType" : "{https://github.com/cqframework/cql-execution/simple}Patient", + "annotation" : [ ], + "include" : [ ], + "codeFilter" : [ ], + "dateFilter" : [ ], + "otherFilter" : [ ] + } + } + }, { + "localId" : "214", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "IsTrue", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "214", + "s" : [ { + "value" : [ "", "define ", "IsTrue", ": " ] + }, { + "r" : "220", + "s" : [ { + "value" : [ "ConvertsToDate", "(" ] + }, { + "r" : "215", + "s" : [ { + "value" : [ "'2015-01-01'" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "ConvertsToDate", + "localId" : "220", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "221", + "name" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } ], + "operand" : { + "type" : "Literal", + "localId" : "215", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "2015-01-01", + "annotation" : [ ] + } + } + }, { + "localId" : "224", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "IsFalse", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "224", + "s" : [ { + "value" : [ "", "define ", "IsFalse", ": " ] + }, { + "r" : "230", + "s" : [ { + "value" : [ "ConvertsToDate", "(" ] + }, { + "r" : "225", + "s" : [ { + "value" : [ "'foo'" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "ConvertsToDate", + "localId" : "230", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "231", + "name" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } ], + "operand" : { + "type" : "Literal", + "localId" : "225", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "foo", + "annotation" : [ ] + } + } + }, { + "localId" : "234", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "IsNull", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { "r" : "234", "s" : [ { - "value" : [ "","library TestSnippet version '1'" ] - } ] - } - } ], - "identifier" : { - "id" : "TestSnippet", - "version" : "1" - }, - "schemaIdentifier" : { - "id" : "urn:hl7-org:elm", - "version" : "r1" - }, - "usings" : { - "def" : [ { - "localId" : "1", - "localIdentifier" : "System", - "uri" : "urn:hl7-org:elm-types:r1" - }, { - "localId" : "206", - "localIdentifier" : "Simple", - "uri" : "https://github.com/cqframework/cql-execution/simple", - "version" : "1.0.0", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "206", - "s" : [ { - "value" : [ "","using " ] - }, { - "s" : [ { - "value" : [ "Simple" ] - } ] - }, { - "value" : [ " version '1.0.0'" ] - } ] - } - } ] - } ] - }, - "contexts" : { - "def" : [ { - "localId" : "211", - "name" : "Patient" - } ] - }, - "statements" : { - "def" : [ { - "localId" : "209", - "name" : "Patient", - "context" : "Patient", - "expression" : { - "localId" : "210", - "type" : "SingletonFrom", - "signature" : [ ], - "operand" : { - "localId" : "208", - "dataType" : "{https://github.com/cqframework/cql-execution/simple}Patient", - "type" : "Retrieve", - "include" : [ ], - "codeFilter" : [ ], - "dateFilter" : [ ], - "otherFilter" : [ ] - } - } - }, { - "localId" : "214", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "IsTrue", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "214", - "s" : [ { - "value" : [ "","define ","IsTrue",": " ] - }, { - "r" : "220", - "s" : [ { - "value" : [ "ConvertsToDate","(" ] - }, { - "r" : "215", - "s" : [ { - "value" : [ "'2015-01-01'" ] - } ] - }, { - "value" : [ ")" ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "220", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "ConvertsToDate", - "signature" : [ { - "localId" : "221", - "name" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "215", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "2015-01-01", - "type" : "Literal" - } - } - }, { - "localId" : "224", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "IsFalse", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "224", - "s" : [ { - "value" : [ "","define ","IsFalse",": " ] - }, { - "r" : "230", - "s" : [ { - "value" : [ "ConvertsToDate","(" ] - }, { - "r" : "225", - "s" : [ { - "value" : [ "'foo'" ] - } ] - }, { - "value" : [ ")" ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "230", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "ConvertsToDate", - "signature" : [ { - "localId" : "231", - "name" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "225", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "foo", - "type" : "Literal" - } - } - }, { - "localId" : "234", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "IsNull", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "234", + "value" : [ "", "define ", "IsNull", ": " ] + }, { + "r" : "241", + "s" : [ { + "value" : [ "ConvertsToDate", "(" ] + }, { + "r" : "235", + "s" : [ { + "r" : "236", + "value" : [ "null", " as " ] + }, { + "r" : "237", "s" : [ { - "value" : [ "","define ","IsNull",": " ] - }, { - "r" : "241", - "s" : [ { - "value" : [ "ConvertsToDate","(" ] - }, { - "r" : "235", - "s" : [ { - "r" : "236", - "value" : [ "null"," as " ] - }, { - "r" : "237", - "s" : [ { - "value" : [ "Date" ] - } ] - } ] - }, { - "value" : [ ")" ] - } ] + "value" : [ "Date" ] } ] - } - } ], - "expression" : { - "localId" : "241", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "ConvertsToDate", - "signature" : [ { - "localId" : "242", - "name" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "235", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", - "strict" : false, - "type" : "As", - "signature" : [ ], - "operand" : { - "localId" : "236", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - }, - "asTypeSpecifier" : { - "localId" : "237", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", - "name" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "NamedTypeSpecifier" - } - } - } - } ] - } - } + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "ConvertsToDate", + "localId" : "241", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "242", + "name" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } ], + "operand" : { + "type" : "As", + "localId" : "235", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", + "strict" : false, + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Null", + "localId" : "236", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + }, + "asTypeSpecifier" : { + "type" : "NamedTypeSpecifier", + "localId" : "237", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", + "name" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ] + } + } + } + } ] + } + } } /* ConvertsToDateTime @@ -7153,289 +7787,317 @@ define IsNull: ConvertsToDateTime(null as DateTime) */ module.exports['ConvertsToDateTime'] = { - "library" : { - "localId" : "0", - "annotation" : [ { - "translatorVersion" : "3.27.0", - "translatorOptions" : "EnableDateRangeOptimization,EnableAnnotations,EnableResultTypes", - "signatureLevel" : "All", - "type" : "CqlToElmInfo" - }, { - "type" : "Annotation", - "s" : { - "r" : "247", - "s" : [ { - "value" : [ "","library TestSnippet version '1'" ] - } ] - } - } ], - "identifier" : { - "id" : "TestSnippet", - "version" : "1" - }, - "schemaIdentifier" : { - "id" : "urn:hl7-org:elm", - "version" : "r1" - }, - "usings" : { - "def" : [ { - "localId" : "1", - "localIdentifier" : "System", - "uri" : "urn:hl7-org:elm-types:r1" - }, { - "localId" : "206", - "localIdentifier" : "Simple", - "uri" : "https://github.com/cqframework/cql-execution/simple", - "version" : "1.0.0", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "206", - "s" : [ { - "value" : [ "","using " ] - }, { - "s" : [ { - "value" : [ "Simple" ] - } ] - }, { - "value" : [ " version '1.0.0'" ] - } ] - } - } ] - } ] - }, - "contexts" : { - "def" : [ { - "localId" : "211", - "name" : "Patient" - } ] - }, - "statements" : { - "def" : [ { - "localId" : "209", - "name" : "Patient", - "context" : "Patient", - "expression" : { - "localId" : "210", - "type" : "SingletonFrom", - "signature" : [ ], - "operand" : { - "localId" : "208", - "dataType" : "{https://github.com/cqframework/cql-execution/simple}Patient", - "type" : "Retrieve", - "include" : [ ], - "codeFilter" : [ ], - "dateFilter" : [ ], - "otherFilter" : [ ] - } - } - }, { - "localId" : "214", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "IsTrue", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "214", - "s" : [ { - "value" : [ "","define ","IsTrue",": " ] - }, { - "r" : "220", - "s" : [ { - "value" : [ "ConvertsToDateTime","(" ] - }, { - "r" : "215", - "s" : [ { - "value" : [ "'2014-01-01T14:30:00.0Z'" ] - } ] - }, { - "value" : [ ")" ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "220", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "ConvertsToDateTime", - "signature" : [ { - "localId" : "221", - "name" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "215", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "2014-01-01T14:30:00.0Z", - "type" : "Literal" - } - } - }, { - "localId" : "224", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "IsTrueWithDateValue", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "224", - "s" : [ { - "value" : [ "","define ","IsTrueWithDateValue",": " ] - }, { - "r" : "233", - "s" : [ { - "r" : "229", - "value" : [ "ConvertsToDateTime","(","@2015-01-01",")" ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "233", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "ConvertsToDateTime", - "signature" : [ { - "localId" : "234", - "name" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "229", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "Date", - "signature" : [ ], - "year" : { - "localId" : "226", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2015", - "type" : "Literal" - }, - "month" : { - "localId" : "227", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "228", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - } - } - } - }, { - "localId" : "237", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "IsFalse", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "237", - "s" : [ { - "value" : [ "","define ","IsFalse",": " ] - }, { - "r" : "243", - "s" : [ { - "value" : [ "ConvertsToDateTime","(" ] - }, { - "r" : "238", - "s" : [ { - "value" : [ "'foo'" ] - } ] - }, { - "value" : [ ")" ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "243", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "ConvertsToDateTime", - "signature" : [ { - "localId" : "244", - "name" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "238", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "foo", - "type" : "Literal" - } - } - }, { - "localId" : "247", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "IsNull", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "247", - "s" : [ { - "value" : [ "","define ","IsNull",": " ] - }, { - "r" : "254", - "s" : [ { - "value" : [ "ConvertsToDateTime","(" ] - }, { - "r" : "248", - "s" : [ { - "r" : "249", - "value" : [ "null"," as " ] - }, { - "r" : "250", - "s" : [ { - "value" : [ "DateTime" ] - } ] - } ] - }, { - "value" : [ ")" ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "254", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "ConvertsToDateTime", - "signature" : [ { - "localId" : "255", - "name" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "248", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "strict" : false, - "type" : "As", - "signature" : [ ], - "operand" : { - "localId" : "249", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - }, - "asTypeSpecifier" : { - "localId" : "250", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - } - } ] + "library" : { + "localId" : "0", + "annotation" : [ { + "type" : "CqlToElmInfo", + "translatorVersion" : "4.2.0", + "translatorOptions" : "EnableDateRangeOptimization,EnableAnnotations,EnableResultTypes", + "signatureLevel" : "All" + }, { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "247", + "s" : [ { + "value" : [ "", "library TestSnippet version '1'" ] + } ] } - } + } ], + "identifier" : { + "id" : "TestSnippet", + "version" : "1" + }, + "schemaIdentifier" : { + "id" : "urn:hl7-org:elm", + "version" : "r1" + }, + "usings" : { + "def" : [ { + "localId" : "1", + "localIdentifier" : "System", + "uri" : "urn:hl7-org:elm-types:r1", + "annotation" : [ ] + }, { + "localId" : "206", + "localIdentifier" : "Simple", + "uri" : "https://github.com/cqframework/cql-execution/simple", + "version" : "1.0.0", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "206", + "s" : [ { + "value" : [ "", "using " ] + }, { + "s" : [ { + "value" : [ "Simple" ] + } ] + }, { + "value" : [ " version '1.0.0'" ] + } ] + } + } ] + } ] + }, + "contexts" : { + "def" : [ { + "localId" : "211", + "name" : "Patient", + "annotation" : [ ] + } ] + }, + "statements" : { + "def" : [ { + "localId" : "209", + "name" : "Patient", + "context" : "Patient", + "annotation" : [ ], + "expression" : { + "type" : "SingletonFrom", + "localId" : "210", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Retrieve", + "localId" : "208", + "dataType" : "{https://github.com/cqframework/cql-execution/simple}Patient", + "annotation" : [ ], + "include" : [ ], + "codeFilter" : [ ], + "dateFilter" : [ ], + "otherFilter" : [ ] + } + } + }, { + "localId" : "214", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "IsTrue", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "214", + "s" : [ { + "value" : [ "", "define ", "IsTrue", ": " ] + }, { + "r" : "220", + "s" : [ { + "value" : [ "ConvertsToDateTime", "(" ] + }, { + "r" : "215", + "s" : [ { + "value" : [ "'2014-01-01T14:30:00.0Z'" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "ConvertsToDateTime", + "localId" : "220", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "221", + "name" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } ], + "operand" : { + "type" : "Literal", + "localId" : "215", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "2014-01-01T14:30:00.0Z", + "annotation" : [ ] + } + } + }, { + "localId" : "224", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "IsTrueWithDateValue", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "224", + "s" : [ { + "value" : [ "", "define ", "IsTrueWithDateValue", ": " ] + }, { + "r" : "233", + "s" : [ { + "r" : "229", + "value" : [ "ConvertsToDateTime", "(", "@2015-01-01", ")" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "ConvertsToDateTime", + "localId" : "233", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "234", + "name" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } ], + "operand" : { + "type" : "Date", + "localId" : "229", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ], + "signature" : [ ], + "year" : { + "type" : "Literal", + "localId" : "226", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2015", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "227", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "228", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + } + } + } + }, { + "localId" : "237", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "IsFalse", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "237", + "s" : [ { + "value" : [ "", "define ", "IsFalse", ": " ] + }, { + "r" : "243", + "s" : [ { + "value" : [ "ConvertsToDateTime", "(" ] + }, { + "r" : "238", + "s" : [ { + "value" : [ "'foo'" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "ConvertsToDateTime", + "localId" : "243", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "244", + "name" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } ], + "operand" : { + "type" : "Literal", + "localId" : "238", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "foo", + "annotation" : [ ] + } + } + }, { + "localId" : "247", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "IsNull", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "247", + "s" : [ { + "value" : [ "", "define ", "IsNull", ": " ] + }, { + "r" : "254", + "s" : [ { + "value" : [ "ConvertsToDateTime", "(" ] + }, { + "r" : "248", + "s" : [ { + "r" : "249", + "value" : [ "null", " as " ] + }, { + "r" : "250", + "s" : [ { + "value" : [ "DateTime" ] + } ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "ConvertsToDateTime", + "localId" : "254", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "255", + "name" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } ], + "operand" : { + "type" : "As", + "localId" : "248", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "strict" : false, + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Null", + "localId" : "249", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + }, + "asTypeSpecifier" : { + "type" : "NamedTypeSpecifier", + "localId" : "250", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + } + } ] + } + } } /* ConvertsToDecimal @@ -7448,234 +8110,255 @@ define IsNull: ConvertsToDecimal(null as Decimal) */ module.exports['ConvertsToDecimal'] = { - "library" : { - "localId" : "0", - "annotation" : [ { - "translatorVersion" : "3.27.0", - "translatorOptions" : "EnableDateRangeOptimization,EnableAnnotations,EnableResultTypes", - "signatureLevel" : "All", - "type" : "CqlToElmInfo" - }, { - "type" : "Annotation", - "s" : { + "library" : { + "localId" : "0", + "annotation" : [ { + "type" : "CqlToElmInfo", + "translatorVersion" : "4.2.0", + "translatorOptions" : "EnableDateRangeOptimization,EnableAnnotations,EnableResultTypes", + "signatureLevel" : "All" + }, { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "234", + "s" : [ { + "value" : [ "", "library TestSnippet version '1'" ] + } ] + } + } ], + "identifier" : { + "id" : "TestSnippet", + "version" : "1" + }, + "schemaIdentifier" : { + "id" : "urn:hl7-org:elm", + "version" : "r1" + }, + "usings" : { + "def" : [ { + "localId" : "1", + "localIdentifier" : "System", + "uri" : "urn:hl7-org:elm-types:r1", + "annotation" : [ ] + }, { + "localId" : "206", + "localIdentifier" : "Simple", + "uri" : "https://github.com/cqframework/cql-execution/simple", + "version" : "1.0.0", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "206", + "s" : [ { + "value" : [ "", "using " ] + }, { + "s" : [ { + "value" : [ "Simple" ] + } ] + }, { + "value" : [ " version '1.0.0'" ] + } ] + } + } ] + } ] + }, + "contexts" : { + "def" : [ { + "localId" : "211", + "name" : "Patient", + "annotation" : [ ] + } ] + }, + "statements" : { + "def" : [ { + "localId" : "209", + "name" : "Patient", + "context" : "Patient", + "annotation" : [ ], + "expression" : { + "type" : "SingletonFrom", + "localId" : "210", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Retrieve", + "localId" : "208", + "dataType" : "{https://github.com/cqframework/cql-execution/simple}Patient", + "annotation" : [ ], + "include" : [ ], + "codeFilter" : [ ], + "dateFilter" : [ ], + "otherFilter" : [ ] + } + } + }, { + "localId" : "214", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "IsTrue", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "214", + "s" : [ { + "value" : [ "", "define ", "IsTrue", ": " ] + }, { + "r" : "220", + "s" : [ { + "value" : [ "ConvertsToDecimal", "(" ] + }, { + "r" : "215", + "s" : [ { + "value" : [ "'0.1'" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "ConvertsToDecimal", + "localId" : "220", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "221", + "name" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } ], + "operand" : { + "type" : "Literal", + "localId" : "215", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "0.1", + "annotation" : [ ] + } + } + }, { + "localId" : "224", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "IsFalse", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "224", + "s" : [ { + "value" : [ "", "define ", "IsFalse", ": " ] + }, { + "r" : "230", + "s" : [ { + "value" : [ "ConvertsToDecimal", "(" ] + }, { + "r" : "225", + "s" : [ { + "value" : [ "'foo'" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "ConvertsToDecimal", + "localId" : "230", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "231", + "name" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } ], + "operand" : { + "type" : "Literal", + "localId" : "225", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "foo", + "annotation" : [ ] + } + } + }, { + "localId" : "234", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "IsNull", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { "r" : "234", "s" : [ { - "value" : [ "","library TestSnippet version '1'" ] - } ] - } - } ], - "identifier" : { - "id" : "TestSnippet", - "version" : "1" - }, - "schemaIdentifier" : { - "id" : "urn:hl7-org:elm", - "version" : "r1" - }, - "usings" : { - "def" : [ { - "localId" : "1", - "localIdentifier" : "System", - "uri" : "urn:hl7-org:elm-types:r1" - }, { - "localId" : "206", - "localIdentifier" : "Simple", - "uri" : "https://github.com/cqframework/cql-execution/simple", - "version" : "1.0.0", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "206", - "s" : [ { - "value" : [ "","using " ] - }, { - "s" : [ { - "value" : [ "Simple" ] - } ] - }, { - "value" : [ " version '1.0.0'" ] - } ] - } - } ] - } ] - }, - "contexts" : { - "def" : [ { - "localId" : "211", - "name" : "Patient" - } ] - }, - "statements" : { - "def" : [ { - "localId" : "209", - "name" : "Patient", - "context" : "Patient", - "expression" : { - "localId" : "210", - "type" : "SingletonFrom", - "signature" : [ ], - "operand" : { - "localId" : "208", - "dataType" : "{https://github.com/cqframework/cql-execution/simple}Patient", - "type" : "Retrieve", - "include" : [ ], - "codeFilter" : [ ], - "dateFilter" : [ ], - "otherFilter" : [ ] - } - } - }, { - "localId" : "214", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "IsTrue", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "214", - "s" : [ { - "value" : [ "","define ","IsTrue",": " ] - }, { - "r" : "220", - "s" : [ { - "value" : [ "ConvertsToDecimal","(" ] - }, { - "r" : "215", - "s" : [ { - "value" : [ "'0.1'" ] - } ] - }, { - "value" : [ ")" ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "220", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "ConvertsToDecimal", - "signature" : [ { - "localId" : "221", - "name" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "215", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "0.1", - "type" : "Literal" - } - } - }, { - "localId" : "224", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "IsFalse", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "224", - "s" : [ { - "value" : [ "","define ","IsFalse",": " ] - }, { - "r" : "230", - "s" : [ { - "value" : [ "ConvertsToDecimal","(" ] - }, { - "r" : "225", - "s" : [ { - "value" : [ "'foo'" ] - } ] - }, { - "value" : [ ")" ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "230", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "ConvertsToDecimal", - "signature" : [ { - "localId" : "231", - "name" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "225", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "foo", - "type" : "Literal" - } - } - }, { - "localId" : "234", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "IsNull", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "234", + "value" : [ "", "define ", "IsNull", ": " ] + }, { + "r" : "241", + "s" : [ { + "value" : [ "ConvertsToDecimal", "(" ] + }, { + "r" : "235", + "s" : [ { + "r" : "236", + "value" : [ "null", " as " ] + }, { + "r" : "237", "s" : [ { - "value" : [ "","define ","IsNull",": " ] - }, { - "r" : "241", - "s" : [ { - "value" : [ "ConvertsToDecimal","(" ] - }, { - "r" : "235", - "s" : [ { - "r" : "236", - "value" : [ "null"," as " ] - }, { - "r" : "237", - "s" : [ { - "value" : [ "Decimal" ] - } ] - } ] - }, { - "value" : [ ")" ] - } ] + "value" : [ "Decimal" ] } ] - } - } ], - "expression" : { - "localId" : "241", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "ConvertsToDecimal", - "signature" : [ { - "localId" : "242", - "name" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "235", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "strict" : false, - "type" : "As", - "signature" : [ ], - "operand" : { - "localId" : "236", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - }, - "asTypeSpecifier" : { - "localId" : "237", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } - } - } - } ] - } - } + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "ConvertsToDecimal", + "localId" : "241", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "242", + "name" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } ], + "operand" : { + "type" : "As", + "localId" : "235", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "strict" : false, + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Null", + "localId" : "236", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + }, + "asTypeSpecifier" : { + "type" : "NamedTypeSpecifier", + "localId" : "237", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } + } + } + } ] + } + } } /* ConvertsToInteger @@ -7690,310 +8373,339 @@ define IsNull: ConvertsToInteger(null as Integer) */ module.exports['ConvertsToInteger'] = { - "library" : { - "localId" : "0", - "annotation" : [ { - "translatorVersion" : "3.27.0", - "translatorOptions" : "EnableDateRangeOptimization,EnableAnnotations,EnableResultTypes", - "signatureLevel" : "All", - "type" : "CqlToElmInfo" - }, { - "type" : "Annotation", - "s" : { - "r" : "252", + "library" : { + "localId" : "0", + "annotation" : [ { + "type" : "CqlToElmInfo", + "translatorVersion" : "4.2.0", + "translatorOptions" : "EnableDateRangeOptimization,EnableAnnotations,EnableResultTypes", + "signatureLevel" : "All" + }, { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "252", + "s" : [ { + "value" : [ "", "library TestSnippet version '1'" ] + } ] + } + } ], + "identifier" : { + "id" : "TestSnippet", + "version" : "1" + }, + "schemaIdentifier" : { + "id" : "urn:hl7-org:elm", + "version" : "r1" + }, + "usings" : { + "def" : [ { + "localId" : "1", + "localIdentifier" : "System", + "uri" : "urn:hl7-org:elm-types:r1", + "annotation" : [ ] + }, { + "localId" : "206", + "localIdentifier" : "Simple", + "uri" : "https://github.com/cqframework/cql-execution/simple", + "version" : "1.0.0", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "206", "s" : [ { - "value" : [ "","library TestSnippet version '1'" ] - } ] - } - } ], - "identifier" : { - "id" : "TestSnippet", - "version" : "1" - }, - "schemaIdentifier" : { - "id" : "urn:hl7-org:elm", - "version" : "r1" - }, - "usings" : { - "def" : [ { - "localId" : "1", - "localIdentifier" : "System", - "uri" : "urn:hl7-org:elm-types:r1" - }, { - "localId" : "206", - "localIdentifier" : "Simple", - "uri" : "https://github.com/cqframework/cql-execution/simple", - "version" : "1.0.0", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "206", - "s" : [ { - "value" : [ "","using " ] - }, { - "s" : [ { - "value" : [ "Simple" ] - } ] - }, { - "value" : [ " version '1.0.0'" ] - } ] - } - } ] - } ] - }, - "contexts" : { - "def" : [ { - "localId" : "211", - "name" : "Patient" - } ] - }, - "statements" : { - "def" : [ { - "localId" : "209", - "name" : "Patient", - "context" : "Patient", - "expression" : { - "localId" : "210", - "type" : "SingletonFrom", - "signature" : [ ], - "operand" : { - "localId" : "208", - "dataType" : "{https://github.com/cqframework/cql-execution/simple}Patient", - "type" : "Retrieve", - "include" : [ ], - "codeFilter" : [ ], - "dateFilter" : [ ], - "otherFilter" : [ ] - } - } - }, { - "localId" : "214", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "IsTrue", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "214", - "s" : [ { - "value" : [ "","define ","IsTrue",": " ] - }, { - "r" : "220", - "s" : [ { - "value" : [ "ConvertsToInteger","(" ] - }, { - "r" : "215", - "s" : [ { - "value" : [ "'101'" ] - } ] - }, { - "value" : [ ")" ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "220", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "ConvertsToInteger", - "signature" : [ { - "localId" : "221", - "name" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "215", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "101", - "type" : "Literal" - } - } - }, { - "localId" : "224", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "IsTrueWithBooleanTrue", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "224", - "s" : [ { - "value" : [ "","define ","IsTrueWithBooleanTrue",": " ] - }, { - "r" : "229", - "s" : [ { - "r" : "225", - "value" : [ "ConvertsToInteger","(","true",")" ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "229", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "ConvertsToInteger", - "signature" : [ { - "localId" : "230", - "name" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "225", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "true", - "type" : "Literal" - } - } - }, { - "localId" : "233", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "IsTrueWithBooleanFalse", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "233", - "s" : [ { - "value" : [ "","define ","IsTrueWithBooleanFalse",": " ] - }, { - "r" : "238", - "s" : [ { - "r" : "234", - "value" : [ "ConvertsToInteger","(","false",")" ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "238", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "ConvertsToInteger", - "signature" : [ { - "localId" : "239", - "name" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "234", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "false", - "type" : "Literal" - } - } - }, { - "localId" : "242", + "value" : [ "", "using " ] + }, { + "s" : [ { + "value" : [ "Simple" ] + } ] + }, { + "value" : [ " version '1.0.0'" ] + } ] + } + } ] + } ] + }, + "contexts" : { + "def" : [ { + "localId" : "211", + "name" : "Patient", + "annotation" : [ ] + } ] + }, + "statements" : { + "def" : [ { + "localId" : "209", + "name" : "Patient", + "context" : "Patient", + "annotation" : [ ], + "expression" : { + "type" : "SingletonFrom", + "localId" : "210", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Retrieve", + "localId" : "208", + "dataType" : "{https://github.com/cqframework/cql-execution/simple}Patient", + "annotation" : [ ], + "include" : [ ], + "codeFilter" : [ ], + "dateFilter" : [ ], + "otherFilter" : [ ] + } + } + }, { + "localId" : "214", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "IsTrue", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "214", + "s" : [ { + "value" : [ "", "define ", "IsTrue", ": " ] + }, { + "r" : "220", + "s" : [ { + "value" : [ "ConvertsToInteger", "(" ] + }, { + "r" : "215", + "s" : [ { + "value" : [ "'101'" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "ConvertsToInteger", + "localId" : "220", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "221", + "name" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } ], + "operand" : { + "type" : "Literal", + "localId" : "215", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "101", + "annotation" : [ ] + } + } + }, { + "localId" : "224", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "IsTrueWithBooleanTrue", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "224", + "s" : [ { + "value" : [ "", "define ", "IsTrueWithBooleanTrue", ": " ] + }, { + "r" : "229", + "s" : [ { + "r" : "225", + "value" : [ "ConvertsToInteger", "(", "true", ")" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "ConvertsToInteger", + "localId" : "229", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "230", + "name" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } ], + "operand" : { + "type" : "Literal", + "localId" : "225", "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "IsFalse", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "242", - "s" : [ { - "value" : [ "","define ","IsFalse",": " ] - }, { - "r" : "248", - "s" : [ { - "value" : [ "ConvertsToInteger","(" ] - }, { - "r" : "243", - "s" : [ { - "value" : [ "'foo'" ] - } ] - }, { - "value" : [ ")" ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "248", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "ConvertsToInteger", - "signature" : [ { - "localId" : "249", - "name" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "243", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "foo", - "type" : "Literal" - } - } - }, { - "localId" : "252", + "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", + "value" : "true", + "annotation" : [ ] + } + } + }, { + "localId" : "233", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "IsTrueWithBooleanFalse", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "233", + "s" : [ { + "value" : [ "", "define ", "IsTrueWithBooleanFalse", ": " ] + }, { + "r" : "238", + "s" : [ { + "r" : "234", + "value" : [ "ConvertsToInteger", "(", "false", ")" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "ConvertsToInteger", + "localId" : "238", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "239", + "name" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } ], + "operand" : { + "type" : "Literal", + "localId" : "234", "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "IsNull", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "252", + "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", + "value" : "false", + "annotation" : [ ] + } + } + }, { + "localId" : "242", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "IsFalse", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "242", + "s" : [ { + "value" : [ "", "define ", "IsFalse", ": " ] + }, { + "r" : "248", + "s" : [ { + "value" : [ "ConvertsToInteger", "(" ] + }, { + "r" : "243", + "s" : [ { + "value" : [ "'foo'" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "ConvertsToInteger", + "localId" : "248", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "249", + "name" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } ], + "operand" : { + "type" : "Literal", + "localId" : "243", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "foo", + "annotation" : [ ] + } + } + }, { + "localId" : "252", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "IsNull", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "252", + "s" : [ { + "value" : [ "", "define ", "IsNull", ": " ] + }, { + "r" : "259", + "s" : [ { + "value" : [ "ConvertsToInteger", "(" ] + }, { + "r" : "253", + "s" : [ { + "r" : "254", + "value" : [ "null", " as " ] + }, { + "r" : "255", "s" : [ { - "value" : [ "","define ","IsNull",": " ] - }, { - "r" : "259", - "s" : [ { - "value" : [ "ConvertsToInteger","(" ] - }, { - "r" : "253", - "s" : [ { - "r" : "254", - "value" : [ "null"," as " ] - }, { - "r" : "255", - "s" : [ { - "value" : [ "Integer" ] - } ] - } ] - }, { - "value" : [ ")" ] - } ] + "value" : [ "Integer" ] } ] - } - } ], - "expression" : { - "localId" : "259", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "ConvertsToInteger", - "signature" : [ { - "localId" : "260", - "name" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "253", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "strict" : false, - "type" : "As", - "signature" : [ ], - "operand" : { - "localId" : "254", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - }, - "asTypeSpecifier" : { - "localId" : "255", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } - } - } ] - } - } + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "ConvertsToInteger", + "localId" : "259", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "260", + "name" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } ], + "operand" : { + "type" : "As", + "localId" : "253", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "strict" : false, + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Null", + "localId" : "254", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + }, + "asTypeSpecifier" : { + "type" : "NamedTypeSpecifier", + "localId" : "255", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } + } + } ] + } + } } /* ConvertsToQuantity @@ -8009,354 +8721,387 @@ define IsNull: ConvertsToQuantity(null as String) */ module.exports['ConvertsToQuantity'] = { - "library" : { - "localId" : "0", - "annotation" : [ { - "translatorVersion" : "3.27.0", - "translatorOptions" : "EnableDateRangeOptimization,EnableAnnotations,EnableResultTypes", - "signatureLevel" : "All", - "type" : "CqlToElmInfo" - }, { - "type" : "Annotation", - "s" : { + "library" : { + "localId" : "0", + "annotation" : [ { + "type" : "CqlToElmInfo", + "translatorVersion" : "4.2.0", + "translatorOptions" : "EnableDateRangeOptimization,EnableAnnotations,EnableResultTypes", + "signatureLevel" : "All" + }, { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "262", + "s" : [ { + "value" : [ "", "library TestSnippet version '1'" ] + } ] + } + } ], + "identifier" : { + "id" : "TestSnippet", + "version" : "1" + }, + "schemaIdentifier" : { + "id" : "urn:hl7-org:elm", + "version" : "r1" + }, + "usings" : { + "def" : [ { + "localId" : "1", + "localIdentifier" : "System", + "uri" : "urn:hl7-org:elm-types:r1", + "annotation" : [ ] + }, { + "localId" : "206", + "localIdentifier" : "Simple", + "uri" : "https://github.com/cqframework/cql-execution/simple", + "version" : "1.0.0", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "206", + "s" : [ { + "value" : [ "", "using " ] + }, { + "s" : [ { + "value" : [ "Simple" ] + } ] + }, { + "value" : [ " version '1.0.0'" ] + } ] + } + } ] + } ] + }, + "contexts" : { + "def" : [ { + "localId" : "211", + "name" : "Patient", + "annotation" : [ ] + } ] + }, + "statements" : { + "def" : [ { + "localId" : "209", + "name" : "Patient", + "context" : "Patient", + "annotation" : [ ], + "expression" : { + "type" : "SingletonFrom", + "localId" : "210", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Retrieve", + "localId" : "208", + "dataType" : "{https://github.com/cqframework/cql-execution/simple}Patient", + "annotation" : [ ], + "include" : [ ], + "codeFilter" : [ ], + "dateFilter" : [ ], + "otherFilter" : [ ] + } + } + }, { + "localId" : "214", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "IsTrueWithDecimal", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "214", + "s" : [ { + "value" : [ "", "define ", "IsTrueWithDecimal", ": " ] + }, { + "r" : "219", + "s" : [ { + "r" : "215", + "value" : [ "ConvertsToQuantity", "(", "0.1", ")" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "ConvertsToQuantity", + "localId" : "219", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "220", + "name" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } ], + "operand" : { + "type" : "Literal", + "localId" : "215", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "0.1", + "annotation" : [ ] + } + } + }, { + "localId" : "223", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "IsTrueWithInteger", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "223", + "s" : [ { + "value" : [ "", "define ", "IsTrueWithInteger", ": " ] + }, { + "r" : "228", + "s" : [ { + "r" : "224", + "value" : [ "ConvertsToQuantity", "(", "101", ")" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "ConvertsToQuantity", + "localId" : "228", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "229", + "name" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } ], + "operand" : { + "type" : "Literal", + "localId" : "224", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "101", + "annotation" : [ ] + } + } + }, { + "localId" : "232", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "IsTrueWithString", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "232", + "s" : [ { + "value" : [ "", "define ", "IsTrueWithString", ": " ] + }, { + "r" : "238", + "s" : [ { + "value" : [ "ConvertsToQuantity", "(" ] + }, { + "r" : "233", + "s" : [ { + "value" : [ "'1.0 \\'mg\\''" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "ConvertsToQuantity", + "localId" : "238", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "239", + "name" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } ], + "operand" : { + "type" : "Literal", + "localId" : "233", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "1.0 'mg'", + "annotation" : [ ] + } + } + }, { + "localId" : "242", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "IsFalse", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "242", + "s" : [ { + "value" : [ "", "define ", "IsFalse", ": " ] + }, { + "r" : "248", + "s" : [ { + "value" : [ "ConvertsToQuantity", "(" ] + }, { + "r" : "243", + "s" : [ { + "value" : [ "'foo'" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "ConvertsToQuantity", + "localId" : "248", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "249", + "name" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } ], + "operand" : { + "type" : "Literal", + "localId" : "243", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "foo", + "annotation" : [ ] + } + } + }, { + "localId" : "252", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "IsFalseWithInvalidUcum", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "252", + "s" : [ { + "value" : [ "", "define ", "IsFalseWithInvalidUcum", ": " ] + }, { + "r" : "258", + "s" : [ { + "value" : [ "ConvertsToQuantity", "(" ] + }, { + "r" : "253", + "s" : [ { + "value" : [ "'1.0 \\'cc\\''" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "ConvertsToQuantity", + "localId" : "258", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "259", + "name" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } ], + "operand" : { + "type" : "Literal", + "localId" : "253", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "1.0 'cc'", + "annotation" : [ ] + } + } + }, { + "localId" : "262", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "IsNull", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { "r" : "262", "s" : [ { - "value" : [ "","library TestSnippet version '1'" ] - } ] - } - } ], - "identifier" : { - "id" : "TestSnippet", - "version" : "1" - }, - "schemaIdentifier" : { - "id" : "urn:hl7-org:elm", - "version" : "r1" - }, - "usings" : { - "def" : [ { - "localId" : "1", - "localIdentifier" : "System", - "uri" : "urn:hl7-org:elm-types:r1" - }, { - "localId" : "206", - "localIdentifier" : "Simple", - "uri" : "https://github.com/cqframework/cql-execution/simple", - "version" : "1.0.0", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "206", - "s" : [ { - "value" : [ "","using " ] - }, { - "s" : [ { - "value" : [ "Simple" ] - } ] - }, { - "value" : [ " version '1.0.0'" ] - } ] - } - } ] - } ] - }, - "contexts" : { - "def" : [ { - "localId" : "211", - "name" : "Patient" - } ] - }, - "statements" : { - "def" : [ { - "localId" : "209", - "name" : "Patient", - "context" : "Patient", - "expression" : { - "localId" : "210", - "type" : "SingletonFrom", - "signature" : [ ], - "operand" : { - "localId" : "208", - "dataType" : "{https://github.com/cqframework/cql-execution/simple}Patient", - "type" : "Retrieve", - "include" : [ ], - "codeFilter" : [ ], - "dateFilter" : [ ], - "otherFilter" : [ ] - } - } - }, { - "localId" : "214", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "IsTrueWithDecimal", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "214", - "s" : [ { - "value" : [ "","define ","IsTrueWithDecimal",": " ] - }, { - "r" : "219", - "s" : [ { - "r" : "215", - "value" : [ "ConvertsToQuantity","(","0.1",")" ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "219", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "ConvertsToQuantity", - "signature" : [ { - "localId" : "220", - "name" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "215", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "0.1", - "type" : "Literal" - } - } - }, { - "localId" : "223", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "IsTrueWithInteger", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "223", - "s" : [ { - "value" : [ "","define ","IsTrueWithInteger",": " ] - }, { - "r" : "228", - "s" : [ { - "r" : "224", - "value" : [ "ConvertsToQuantity","(","101",")" ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "228", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "ConvertsToQuantity", - "signature" : [ { - "localId" : "229", - "name" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "224", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "101", - "type" : "Literal" - } - } - }, { - "localId" : "232", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "IsTrueWithString", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "232", - "s" : [ { - "value" : [ "","define ","IsTrueWithString",": " ] - }, { - "r" : "238", - "s" : [ { - "value" : [ "ConvertsToQuantity","(" ] - }, { - "r" : "233", - "s" : [ { - "value" : [ "'1.0 \\'mg\\''" ] - } ] - }, { - "value" : [ ")" ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "238", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "ConvertsToQuantity", - "signature" : [ { - "localId" : "239", - "name" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "233", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "1.0 'mg'", - "type" : "Literal" - } - } - }, { - "localId" : "242", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "IsFalse", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "242", - "s" : [ { - "value" : [ "","define ","IsFalse",": " ] - }, { - "r" : "248", - "s" : [ { - "value" : [ "ConvertsToQuantity","(" ] - }, { - "r" : "243", - "s" : [ { - "value" : [ "'foo'" ] - } ] - }, { - "value" : [ ")" ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "248", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "ConvertsToQuantity", - "signature" : [ { - "localId" : "249", - "name" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "243", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "foo", - "type" : "Literal" - } - } - }, { - "localId" : "252", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "IsFalseWithInvalidUcum", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "252", - "s" : [ { - "value" : [ "","define ","IsFalseWithInvalidUcum",": " ] - }, { - "r" : "258", - "s" : [ { - "value" : [ "ConvertsToQuantity","(" ] - }, { - "r" : "253", - "s" : [ { - "value" : [ "'1.0 \\'cc\\''" ] - } ] - }, { - "value" : [ ")" ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "258", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "ConvertsToQuantity", - "signature" : [ { - "localId" : "259", - "name" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "253", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "1.0 'cc'", - "type" : "Literal" - } - } - }, { - "localId" : "262", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "IsNull", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "262", + "value" : [ "", "define ", "IsNull", ": " ] + }, { + "r" : "269", + "s" : [ { + "value" : [ "ConvertsToQuantity", "(" ] + }, { + "r" : "263", + "s" : [ { + "r" : "264", + "value" : [ "null", " as " ] + }, { + "r" : "265", "s" : [ { - "value" : [ "","define ","IsNull",": " ] - }, { - "r" : "269", - "s" : [ { - "value" : [ "ConvertsToQuantity","(" ] - }, { - "r" : "263", - "s" : [ { - "r" : "264", - "value" : [ "null"," as " ] - }, { - "r" : "265", - "s" : [ { - "value" : [ "String" ] - } ] - } ] - }, { - "value" : [ ")" ] - } ] + "value" : [ "String" ] } ] - } - } ], - "expression" : { - "localId" : "269", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "ConvertsToQuantity", - "signature" : [ { - "localId" : "270", - "name" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "263", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "strict" : false, - "type" : "As", - "signature" : [ ], - "operand" : { - "localId" : "264", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - }, - "asTypeSpecifier" : { - "localId" : "265", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } - } - } - } ] - } - } + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "ConvertsToQuantity", + "localId" : "269", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "270", + "name" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } ], + "operand" : { + "type" : "As", + "localId" : "263", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "strict" : false, + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Null", + "localId" : "264", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + }, + "asTypeSpecifier" : { + "type" : "NamedTypeSpecifier", + "localId" : "265", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } + } + } + } ] + } + } } /* ConvertsToRatio @@ -8370,278 +9115,303 @@ define IsNull: ConvertsToRatio(null as String) */ module.exports['ConvertsToRatio'] = { - "library" : { - "localId" : "0", - "annotation" : [ { - "translatorVersion" : "3.27.0", - "translatorOptions" : "EnableDateRangeOptimization,EnableAnnotations,EnableResultTypes", - "signatureLevel" : "All", - "type" : "CqlToElmInfo" - }, { - "type" : "Annotation", - "s" : { - "r" : "244", + "library" : { + "localId" : "0", + "annotation" : [ { + "type" : "CqlToElmInfo", + "translatorVersion" : "4.2.0", + "translatorOptions" : "EnableDateRangeOptimization,EnableAnnotations,EnableResultTypes", + "signatureLevel" : "All" + }, { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "244", + "s" : [ { + "value" : [ "", "library TestSnippet version '1'" ] + } ] + } + } ], + "identifier" : { + "id" : "TestSnippet", + "version" : "1" + }, + "schemaIdentifier" : { + "id" : "urn:hl7-org:elm", + "version" : "r1" + }, + "usings" : { + "def" : [ { + "localId" : "1", + "localIdentifier" : "System", + "uri" : "urn:hl7-org:elm-types:r1", + "annotation" : [ ] + }, { + "localId" : "206", + "localIdentifier" : "Simple", + "uri" : "https://github.com/cqframework/cql-execution/simple", + "version" : "1.0.0", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "206", "s" : [ { - "value" : [ "","library TestSnippet version '1'" ] - } ] - } - } ], - "identifier" : { - "id" : "TestSnippet", - "version" : "1" - }, - "schemaIdentifier" : { - "id" : "urn:hl7-org:elm", - "version" : "r1" - }, - "usings" : { - "def" : [ { - "localId" : "1", - "localIdentifier" : "System", - "uri" : "urn:hl7-org:elm-types:r1" - }, { - "localId" : "206", - "localIdentifier" : "Simple", - "uri" : "https://github.com/cqframework/cql-execution/simple", - "version" : "1.0.0", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "206", - "s" : [ { - "value" : [ "","using " ] - }, { - "s" : [ { - "value" : [ "Simple" ] - } ] - }, { - "value" : [ " version '1.0.0'" ] - } ] - } - } ] - } ] - }, - "contexts" : { - "def" : [ { - "localId" : "211", - "name" : "Patient" - } ] - }, - "statements" : { - "def" : [ { - "localId" : "209", - "name" : "Patient", - "context" : "Patient", - "expression" : { - "localId" : "210", - "type" : "SingletonFrom", - "signature" : [ ], - "operand" : { - "localId" : "208", - "dataType" : "{https://github.com/cqframework/cql-execution/simple}Patient", - "type" : "Retrieve", - "include" : [ ], - "codeFilter" : [ ], - "dateFilter" : [ ], - "otherFilter" : [ ] - } - } - }, { - "localId" : "214", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "IsTrue", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "214", - "s" : [ { - "value" : [ "","define ","IsTrue",": " ] - }, { - "r" : "220", - "s" : [ { - "value" : [ "ConvertsToRatio","(" ] - }, { - "r" : "215", - "s" : [ { - "value" : [ "'1.0 \\'mg\\':2.0 \\'mg\\''" ] - } ] - }, { - "value" : [ ")" ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "220", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "ConvertsToRatio", - "signature" : [ { - "localId" : "221", - "name" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "215", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "1.0 'mg':2.0 'mg'", - "type" : "Literal" - } - } - }, { - "localId" : "224", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "IsFalse", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "224", - "s" : [ { - "value" : [ "","define ","IsFalse",": " ] - }, { - "r" : "230", - "s" : [ { - "value" : [ "ConvertsToRatio","(" ] - }, { - "r" : "225", - "s" : [ { - "value" : [ "'1.0 \\'mg\\';2.0 \\'mg\\''" ] - } ] - }, { - "value" : [ ")" ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "230", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "ConvertsToRatio", - "signature" : [ { - "localId" : "231", - "name" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "225", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "1.0 'mg';2.0 'mg'", - "type" : "Literal" - } - } - }, { - "localId" : "234", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "IsFalseWithInvalidUcum", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "234", - "s" : [ { - "value" : [ "","define ","IsFalseWithInvalidUcum",": " ] - }, { - "r" : "240", - "s" : [ { - "value" : [ "ConvertsToRatio","(" ] - }, { - "r" : "235", - "s" : [ { - "value" : [ "'1.0 \\'mg\\';2.0 \\'cc\\''" ] - } ] - }, { - "value" : [ ")" ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "240", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "ConvertsToRatio", - "signature" : [ { - "localId" : "241", - "name" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "235", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "1.0 'mg';2.0 'cc'", - "type" : "Literal" - } - } - }, { - "localId" : "244", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "IsNull", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "244", + "value" : [ "", "using " ] + }, { + "s" : [ { + "value" : [ "Simple" ] + } ] + }, { + "value" : [ " version '1.0.0'" ] + } ] + } + } ] + } ] + }, + "contexts" : { + "def" : [ { + "localId" : "211", + "name" : "Patient", + "annotation" : [ ] + } ] + }, + "statements" : { + "def" : [ { + "localId" : "209", + "name" : "Patient", + "context" : "Patient", + "annotation" : [ ], + "expression" : { + "type" : "SingletonFrom", + "localId" : "210", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Retrieve", + "localId" : "208", + "dataType" : "{https://github.com/cqframework/cql-execution/simple}Patient", + "annotation" : [ ], + "include" : [ ], + "codeFilter" : [ ], + "dateFilter" : [ ], + "otherFilter" : [ ] + } + } + }, { + "localId" : "214", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "IsTrue", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "214", + "s" : [ { + "value" : [ "", "define ", "IsTrue", ": " ] + }, { + "r" : "220", + "s" : [ { + "value" : [ "ConvertsToRatio", "(" ] + }, { + "r" : "215", + "s" : [ { + "value" : [ "'1.0 \\'mg\\':2.0 \\'mg\\''" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "ConvertsToRatio", + "localId" : "220", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "221", + "name" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } ], + "operand" : { + "type" : "Literal", + "localId" : "215", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "1.0 'mg':2.0 'mg'", + "annotation" : [ ] + } + } + }, { + "localId" : "224", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "IsFalse", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "224", + "s" : [ { + "value" : [ "", "define ", "IsFalse", ": " ] + }, { + "r" : "230", + "s" : [ { + "value" : [ "ConvertsToRatio", "(" ] + }, { + "r" : "225", + "s" : [ { + "value" : [ "'1.0 \\'mg\\';2.0 \\'mg\\''" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "ConvertsToRatio", + "localId" : "230", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "231", + "name" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } ], + "operand" : { + "type" : "Literal", + "localId" : "225", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "1.0 'mg';2.0 'mg'", + "annotation" : [ ] + } + } + }, { + "localId" : "234", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "IsFalseWithInvalidUcum", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "234", + "s" : [ { + "value" : [ "", "define ", "IsFalseWithInvalidUcum", ": " ] + }, { + "r" : "240", + "s" : [ { + "value" : [ "ConvertsToRatio", "(" ] + }, { + "r" : "235", + "s" : [ { + "value" : [ "'1.0 \\'mg\\';2.0 \\'cc\\''" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "ConvertsToRatio", + "localId" : "240", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "241", + "name" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } ], + "operand" : { + "type" : "Literal", + "localId" : "235", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "1.0 'mg';2.0 'cc'", + "annotation" : [ ] + } + } + }, { + "localId" : "244", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "IsNull", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "244", + "s" : [ { + "value" : [ "", "define ", "IsNull", ": " ] + }, { + "r" : "251", + "s" : [ { + "value" : [ "ConvertsToRatio", "(" ] + }, { + "r" : "245", + "s" : [ { + "r" : "246", + "value" : [ "null", " as " ] + }, { + "r" : "247", "s" : [ { - "value" : [ "","define ","IsNull",": " ] - }, { - "r" : "251", - "s" : [ { - "value" : [ "ConvertsToRatio","(" ] - }, { - "r" : "245", - "s" : [ { - "r" : "246", - "value" : [ "null"," as " ] - }, { - "r" : "247", - "s" : [ { - "value" : [ "String" ] - } ] - } ] - }, { - "value" : [ ")" ] - } ] + "value" : [ "String" ] } ] - } - } ], - "expression" : { - "localId" : "251", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "ConvertsToRatio", - "signature" : [ { - "localId" : "252", - "name" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "245", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "strict" : false, - "type" : "As", - "signature" : [ ], - "operand" : { - "localId" : "246", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - }, - "asTypeSpecifier" : { - "localId" : "247", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } - } - } - } ] - } - } + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "ConvertsToRatio", + "localId" : "251", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "252", + "name" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } ], + "operand" : { + "type" : "As", + "localId" : "245", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "strict" : false, + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Null", + "localId" : "246", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + }, + "asTypeSpecifier" : { + "type" : "NamedTypeSpecifier", + "localId" : "247", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } + } + } + } ] + } + } } /* ConvertsToString @@ -8654,268 +9424,291 @@ define IsNull: ConvertsToString(null as String) */ module.exports['ConvertsToString'] = { - "library" : { - "localId" : "0", - "annotation" : [ { - "translatorVersion" : "3.27.0", - "translatorOptions" : "EnableDateRangeOptimization,EnableAnnotations,EnableResultTypes", - "signatureLevel" : "All", - "type" : "CqlToElmInfo" - }, { - "type" : "Annotation", - "s" : { - "r" : "237", + "library" : { + "localId" : "0", + "annotation" : [ { + "type" : "CqlToElmInfo", + "translatorVersion" : "4.2.0", + "translatorOptions" : "EnableDateRangeOptimization,EnableAnnotations,EnableResultTypes", + "signatureLevel" : "All" + }, { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "237", + "s" : [ { + "value" : [ "", "library TestSnippet version '1'" ] + } ] + } + } ], + "identifier" : { + "id" : "TestSnippet", + "version" : "1" + }, + "schemaIdentifier" : { + "id" : "urn:hl7-org:elm", + "version" : "r1" + }, + "usings" : { + "def" : [ { + "localId" : "1", + "localIdentifier" : "System", + "uri" : "urn:hl7-org:elm-types:r1", + "annotation" : [ ] + }, { + "localId" : "206", + "localIdentifier" : "Simple", + "uri" : "https://github.com/cqframework/cql-execution/simple", + "version" : "1.0.0", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "206", "s" : [ { - "value" : [ "","library TestSnippet version '1'" ] - } ] - } - } ], - "identifier" : { - "id" : "TestSnippet", - "version" : "1" - }, - "schemaIdentifier" : { - "id" : "urn:hl7-org:elm", - "version" : "r1" - }, - "usings" : { - "def" : [ { - "localId" : "1", - "localIdentifier" : "System", - "uri" : "urn:hl7-org:elm-types:r1" - }, { - "localId" : "206", - "localIdentifier" : "Simple", - "uri" : "https://github.com/cqframework/cql-execution/simple", - "version" : "1.0.0", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "206", - "s" : [ { - "value" : [ "","using " ] - }, { - "s" : [ { - "value" : [ "Simple" ] - } ] - }, { - "value" : [ " version '1.0.0'" ] - } ] - } - } ] - } ] - }, - "contexts" : { - "def" : [ { - "localId" : "211", - "name" : "Patient" - } ] - }, - "statements" : { - "def" : [ { - "localId" : "209", - "name" : "Patient", - "context" : "Patient", - "expression" : { - "localId" : "210", - "type" : "SingletonFrom", - "signature" : [ ], - "operand" : { - "localId" : "208", - "dataType" : "{https://github.com/cqframework/cql-execution/simple}Patient", - "type" : "Retrieve", - "include" : [ ], - "codeFilter" : [ ], - "dateFilter" : [ ], - "otherFilter" : [ ] - } - } - }, { - "localId" : "214", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "IsTrue", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "214", - "s" : [ { - "value" : [ "","define ","IsTrue",": " ] - }, { - "r" : "219", - "s" : [ { - "r" : "215", - "value" : [ "ConvertsToString","(","true",")" ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "219", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "ConvertsToString", - "signature" : [ { - "localId" : "220", - "name" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "215", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "true", - "type" : "Literal" - } - } - }, { - "localId" : "223", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "IsFalse", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "223", - "s" : [ { - "value" : [ "","define ","IsFalse",": " ] - }, { - "r" : "233", - "s" : [ { - "value" : [ "ConvertsToString","(" ] - }, { - "r" : "224", - "s" : [ { - "value" : [ "Code"," { " ] - }, { - "s" : [ { - "value" : [ "system",": " ] - }, { - "r" : "226", - "s" : [ { - "value" : [ "'http://loinc.org'" ] - } ] - } ] - }, { - "value" : [ ", " ] - }, { - "s" : [ { - "value" : [ "code",": " ] - }, { - "r" : "228", - "s" : [ { - "value" : [ "'8480-6'" ] - } ] - } ] - }, { - "value" : [ " }" ] - } ] - }, { - "value" : [ ")" ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "233", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "ConvertsToString", - "signature" : [ { - "localId" : "234", - "name" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "224", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Code", - "classType" : "{urn:hl7-org:elm-types:r1}Code", - "type" : "Instance", - "element" : [ { - "name" : "system", - "value" : { - "localId" : "226", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "http://loinc.org", - "type" : "Literal" - } - }, { - "name" : "code", - "value" : { - "localId" : "228", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "8480-6", - "type" : "Literal" - } - } ] - } - } - }, { - "localId" : "237", + "value" : [ "", "using " ] + }, { + "s" : [ { + "value" : [ "Simple" ] + } ] + }, { + "value" : [ " version '1.0.0'" ] + } ] + } + } ] + } ] + }, + "contexts" : { + "def" : [ { + "localId" : "211", + "name" : "Patient", + "annotation" : [ ] + } ] + }, + "statements" : { + "def" : [ { + "localId" : "209", + "name" : "Patient", + "context" : "Patient", + "annotation" : [ ], + "expression" : { + "type" : "SingletonFrom", + "localId" : "210", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Retrieve", + "localId" : "208", + "dataType" : "{https://github.com/cqframework/cql-execution/simple}Patient", + "annotation" : [ ], + "include" : [ ], + "codeFilter" : [ ], + "dateFilter" : [ ], + "otherFilter" : [ ] + } + } + }, { + "localId" : "214", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "IsTrue", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "214", + "s" : [ { + "value" : [ "", "define ", "IsTrue", ": " ] + }, { + "r" : "219", + "s" : [ { + "r" : "215", + "value" : [ "ConvertsToString", "(", "true", ")" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "ConvertsToString", + "localId" : "219", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "220", + "name" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } ], + "operand" : { + "type" : "Literal", + "localId" : "215", "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "IsNull", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "237", + "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", + "value" : "true", + "annotation" : [ ] + } + } + }, { + "localId" : "223", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "IsFalse", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "223", + "s" : [ { + "value" : [ "", "define ", "IsFalse", ": " ] + }, { + "r" : "233", + "s" : [ { + "value" : [ "ConvertsToString", "(" ] + }, { + "r" : "224", + "s" : [ { + "value" : [ "Code", " { " ] + }, { + "s" : [ { + "value" : [ "system", ": " ] + }, { + "r" : "226", + "s" : [ { + "value" : [ "'http://loinc.org'" ] + } ] + } ] + }, { + "value" : [ ", " ] + }, { + "s" : [ { + "value" : [ "code", ": " ] + }, { + "r" : "228", + "s" : [ { + "value" : [ "'8480-6'" ] + } ] + } ] + }, { + "value" : [ " }" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "ConvertsToString", + "localId" : "233", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "234", + "name" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } ], + "operand" : { + "type" : "Instance", + "localId" : "224", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Code", + "classType" : "{urn:hl7-org:elm-types:r1}Code", + "annotation" : [ ], + "element" : [ { + "name" : "system", + "value" : { + "type" : "Literal", + "localId" : "226", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "http://loinc.org", + "annotation" : [ ] + } + }, { + "name" : "code", + "value" : { + "type" : "Literal", + "localId" : "228", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "8480-6", + "annotation" : [ ] + } + } ] + } + } + }, { + "localId" : "237", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "IsNull", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "237", + "s" : [ { + "value" : [ "", "define ", "IsNull", ": " ] + }, { + "r" : "244", + "s" : [ { + "value" : [ "ConvertsToString", "(" ] + }, { + "r" : "238", + "s" : [ { + "r" : "239", + "value" : [ "null", " as " ] + }, { + "r" : "240", "s" : [ { - "value" : [ "","define ","IsNull",": " ] - }, { - "r" : "244", - "s" : [ { - "value" : [ "ConvertsToString","(" ] - }, { - "r" : "238", - "s" : [ { - "r" : "239", - "value" : [ "null"," as " ] - }, { - "r" : "240", - "s" : [ { - "value" : [ "String" ] - } ] - } ] - }, { - "value" : [ ")" ] - } ] + "value" : [ "String" ] } ] - } - } ], - "expression" : { - "localId" : "244", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "ConvertsToString", - "signature" : [ { - "localId" : "245", - "name" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "238", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "strict" : false, - "type" : "As", - "signature" : [ ], - "operand" : { - "localId" : "239", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - }, - "asTypeSpecifier" : { - "localId" : "240", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } - } - } - } ] - } - } + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "ConvertsToString", + "localId" : "244", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "245", + "name" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } ], + "operand" : { + "type" : "As", + "localId" : "238", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "strict" : false, + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Null", + "localId" : "239", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + }, + "asTypeSpecifier" : { + "type" : "NamedTypeSpecifier", + "localId" : "240", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } + } + } + } ] + } + } } /* ConvertsToTime @@ -8928,234 +9721,255 @@ define IsNull: ConvertsToTime(null as String) */ module.exports['ConvertsToTime'] = { - "library" : { - "localId" : "0", - "annotation" : [ { - "translatorVersion" : "3.27.0", - "translatorOptions" : "EnableDateRangeOptimization,EnableAnnotations,EnableResultTypes", - "signatureLevel" : "All", - "type" : "CqlToElmInfo" - }, { - "type" : "Annotation", - "s" : { + "library" : { + "localId" : "0", + "annotation" : [ { + "type" : "CqlToElmInfo", + "translatorVersion" : "4.2.0", + "translatorOptions" : "EnableDateRangeOptimization,EnableAnnotations,EnableResultTypes", + "signatureLevel" : "All" + }, { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "234", + "s" : [ { + "value" : [ "", "library TestSnippet version '1'" ] + } ] + } + } ], + "identifier" : { + "id" : "TestSnippet", + "version" : "1" + }, + "schemaIdentifier" : { + "id" : "urn:hl7-org:elm", + "version" : "r1" + }, + "usings" : { + "def" : [ { + "localId" : "1", + "localIdentifier" : "System", + "uri" : "urn:hl7-org:elm-types:r1", + "annotation" : [ ] + }, { + "localId" : "206", + "localIdentifier" : "Simple", + "uri" : "https://github.com/cqframework/cql-execution/simple", + "version" : "1.0.0", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "206", + "s" : [ { + "value" : [ "", "using " ] + }, { + "s" : [ { + "value" : [ "Simple" ] + } ] + }, { + "value" : [ " version '1.0.0'" ] + } ] + } + } ] + } ] + }, + "contexts" : { + "def" : [ { + "localId" : "211", + "name" : "Patient", + "annotation" : [ ] + } ] + }, + "statements" : { + "def" : [ { + "localId" : "209", + "name" : "Patient", + "context" : "Patient", + "annotation" : [ ], + "expression" : { + "type" : "SingletonFrom", + "localId" : "210", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Retrieve", + "localId" : "208", + "dataType" : "{https://github.com/cqframework/cql-execution/simple}Patient", + "annotation" : [ ], + "include" : [ ], + "codeFilter" : [ ], + "dateFilter" : [ ], + "otherFilter" : [ ] + } + } + }, { + "localId" : "214", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "IsTrue", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "214", + "s" : [ { + "value" : [ "", "define ", "IsTrue", ": " ] + }, { + "r" : "220", + "s" : [ { + "value" : [ "ConvertsToTime", "(" ] + }, { + "r" : "215", + "s" : [ { + "value" : [ "'02:04:59.123'" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "ConvertsToTime", + "localId" : "220", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "221", + "name" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } ], + "operand" : { + "type" : "Literal", + "localId" : "215", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "02:04:59.123", + "annotation" : [ ] + } + } + }, { + "localId" : "224", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "IsFalse", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "224", + "s" : [ { + "value" : [ "", "define ", "IsFalse", ": " ] + }, { + "r" : "230", + "s" : [ { + "value" : [ "ConvertsToTime", "(" ] + }, { + "r" : "225", + "s" : [ { + "value" : [ "'foo'" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "ConvertsToTime", + "localId" : "230", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "231", + "name" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } ], + "operand" : { + "type" : "Literal", + "localId" : "225", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "foo", + "annotation" : [ ] + } + } + }, { + "localId" : "234", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "IsNull", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { "r" : "234", "s" : [ { - "value" : [ "","library TestSnippet version '1'" ] - } ] - } - } ], - "identifier" : { - "id" : "TestSnippet", - "version" : "1" - }, - "schemaIdentifier" : { - "id" : "urn:hl7-org:elm", - "version" : "r1" - }, - "usings" : { - "def" : [ { - "localId" : "1", - "localIdentifier" : "System", - "uri" : "urn:hl7-org:elm-types:r1" - }, { - "localId" : "206", - "localIdentifier" : "Simple", - "uri" : "https://github.com/cqframework/cql-execution/simple", - "version" : "1.0.0", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "206", - "s" : [ { - "value" : [ "","using " ] - }, { - "s" : [ { - "value" : [ "Simple" ] - } ] - }, { - "value" : [ " version '1.0.0'" ] - } ] - } - } ] - } ] - }, - "contexts" : { - "def" : [ { - "localId" : "211", - "name" : "Patient" - } ] - }, - "statements" : { - "def" : [ { - "localId" : "209", - "name" : "Patient", - "context" : "Patient", - "expression" : { - "localId" : "210", - "type" : "SingletonFrom", - "signature" : [ ], - "operand" : { - "localId" : "208", - "dataType" : "{https://github.com/cqframework/cql-execution/simple}Patient", - "type" : "Retrieve", - "include" : [ ], - "codeFilter" : [ ], - "dateFilter" : [ ], - "otherFilter" : [ ] - } - } - }, { - "localId" : "214", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "IsTrue", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "214", - "s" : [ { - "value" : [ "","define ","IsTrue",": " ] - }, { - "r" : "220", - "s" : [ { - "value" : [ "ConvertsToTime","(" ] - }, { - "r" : "215", - "s" : [ { - "value" : [ "'02:04:59.123'" ] - } ] - }, { - "value" : [ ")" ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "220", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "ConvertsToTime", - "signature" : [ { - "localId" : "221", - "name" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "215", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "02:04:59.123", - "type" : "Literal" - } - } - }, { - "localId" : "224", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "IsFalse", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "224", - "s" : [ { - "value" : [ "","define ","IsFalse",": " ] - }, { - "r" : "230", - "s" : [ { - "value" : [ "ConvertsToTime","(" ] - }, { - "r" : "225", - "s" : [ { - "value" : [ "'foo'" ] - } ] - }, { - "value" : [ ")" ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "230", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "ConvertsToTime", - "signature" : [ { - "localId" : "231", - "name" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "225", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "foo", - "type" : "Literal" - } - } - }, { - "localId" : "234", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "IsNull", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "234", + "value" : [ "", "define ", "IsNull", ": " ] + }, { + "r" : "241", + "s" : [ { + "value" : [ "ConvertsToTime", "(" ] + }, { + "r" : "235", + "s" : [ { + "r" : "236", + "value" : [ "null", " as " ] + }, { + "r" : "237", "s" : [ { - "value" : [ "","define ","IsNull",": " ] - }, { - "r" : "241", - "s" : [ { - "value" : [ "ConvertsToTime","(" ] - }, { - "r" : "235", - "s" : [ { - "r" : "236", - "value" : [ "null"," as " ] - }, { - "r" : "237", - "s" : [ { - "value" : [ "String" ] - } ] - } ] - }, { - "value" : [ ")" ] - } ] + "value" : [ "String" ] } ] - } - } ], - "expression" : { - "localId" : "241", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "ConvertsToTime", - "signature" : [ { - "localId" : "242", - "name" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "235", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "strict" : false, - "type" : "As", - "signature" : [ ], - "operand" : { - "localId" : "236", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - }, - "asTypeSpecifier" : { - "localId" : "237", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } - } - } - } ] - } - } + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "ConvertsToTime", + "localId" : "241", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "242", + "name" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } ], + "operand" : { + "type" : "As", + "localId" : "235", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "strict" : false, + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Null", + "localId" : "236", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + }, + "asTypeSpecifier" : { + "type" : "NamedTypeSpecifier", + "localId" : "237", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } + } + } + } ] + } + } } /* ConvertQuantity @@ -9170,383 +9984,420 @@ define NullConvertQuantity: ConvertQuantity(5 'mg', 'fox') */ module.exports['ConvertQuantity'] = { - "library" : { - "localId" : "0", - "annotation" : [ { - "translatorVersion" : "3.27.0", - "translatorOptions" : "EnableDateRangeOptimization,EnableAnnotations,EnableResultTypes", - "signatureLevel" : "All", - "type" : "CqlToElmInfo" - }, { - "type" : "Annotation", - "s" : { - "r" : "261", + "library" : { + "localId" : "0", + "annotation" : [ { + "type" : "CqlToElmInfo", + "translatorVersion" : "4.2.0", + "translatorOptions" : "EnableDateRangeOptimization,EnableAnnotations,EnableResultTypes", + "signatureLevel" : "All" + }, { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "261", + "s" : [ { + "value" : [ "", "library TestSnippet version '1'" ] + } ] + } + } ], + "identifier" : { + "id" : "TestSnippet", + "version" : "1" + }, + "schemaIdentifier" : { + "id" : "urn:hl7-org:elm", + "version" : "r1" + }, + "usings" : { + "def" : [ { + "localId" : "1", + "localIdentifier" : "System", + "uri" : "urn:hl7-org:elm-types:r1", + "annotation" : [ ] + }, { + "localId" : "206", + "localIdentifier" : "Simple", + "uri" : "https://github.com/cqframework/cql-execution/simple", + "version" : "1.0.0", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "206", "s" : [ { - "value" : [ "","library TestSnippet version '1'" ] - } ] - } - } ], - "identifier" : { - "id" : "TestSnippet", - "version" : "1" - }, - "schemaIdentifier" : { - "id" : "urn:hl7-org:elm", - "version" : "r1" - }, - "usings" : { - "def" : [ { - "localId" : "1", - "localIdentifier" : "System", - "uri" : "urn:hl7-org:elm-types:r1" - }, { - "localId" : "206", - "localIdentifier" : "Simple", - "uri" : "https://github.com/cqframework/cql-execution/simple", - "version" : "1.0.0", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "206", - "s" : [ { - "value" : [ "","using " ] - }, { - "s" : [ { - "value" : [ "Simple" ] - } ] - }, { - "value" : [ " version '1.0.0'" ] - } ] - } - } ] - } ] - }, - "contexts" : { - "def" : [ { - "localId" : "211", - "name" : "Patient" - } ] - }, - "statements" : { - "def" : [ { - "localId" : "209", - "name" : "Patient", - "context" : "Patient", - "expression" : { - "localId" : "210", - "type" : "SingletonFrom", - "signature" : [ ], - "operand" : { - "localId" : "208", - "dataType" : "{https://github.com/cqframework/cql-execution/simple}Patient", - "type" : "Retrieve", - "include" : [ ], - "codeFilter" : [ ], - "dateFilter" : [ ], - "otherFilter" : [ ] - } - } - }, { - "localId" : "214", + "value" : [ "", "using " ] + }, { + "s" : [ { + "value" : [ "Simple" ] + } ] + }, { + "value" : [ " version '1.0.0'" ] + } ] + } + } ] + } ] + }, + "contexts" : { + "def" : [ { + "localId" : "211", + "name" : "Patient", + "annotation" : [ ] + } ] + }, + "statements" : { + "def" : [ { + "localId" : "209", + "name" : "Patient", + "context" : "Patient", + "annotation" : [ ], + "expression" : { + "type" : "SingletonFrom", + "localId" : "210", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Retrieve", + "localId" : "208", + "dataType" : "{https://github.com/cqframework/cql-execution/simple}Patient", + "annotation" : [ ], + "include" : [ ], + "codeFilter" : [ ], + "dateFilter" : [ ], + "otherFilter" : [ ] + } + } + }, { + "localId" : "214", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "name" : "ConvertQuantityGood", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "214", + "s" : [ { + "value" : [ "", "define ", "ConvertQuantityGood", ": " ] + }, { + "r" : "222", + "s" : [ { + "value" : [ "ConvertQuantity", "(" ] + }, { + "r" : "215", + "s" : [ { + "value" : [ "5 ", "'mg'" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "216", + "s" : [ { + "value" : [ "'g'" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "ConvertQuantity", + "localId" : "222", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "223", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "224", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "Quantity", + "localId" : "215", "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "name" : "ConvertQuantityGood", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "214", - "s" : [ { - "value" : [ "","define ","ConvertQuantityGood",": " ] - }, { - "r" : "222", - "s" : [ { - "value" : [ "ConvertQuantity","(" ] - }, { - "r" : "215", - "s" : [ { - "value" : [ "5 ","'mg'" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "216", - "s" : [ { - "value" : [ "'g'" ] - } ] - }, { - "value" : [ ")" ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "222", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "ConvertQuantity", - "signature" : [ { - "localId" : "223", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "224", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "215", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "value" : 5, - "unit" : "mg", - "type" : "Quantity" - }, { - "localId" : "216", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "g", - "type" : "Literal" - } ] - } - }, { - "localId" : "227", + "value" : 5, + "unit" : "mg", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "216", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "g", + "annotation" : [ ] + } ] + } + }, { + "localId" : "227", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "name" : "ConvertSyntax", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "227", + "s" : [ { + "value" : [ "", "define ", "ConvertSyntax", ": " ] + }, { + "r" : "230", + "s" : [ { + "value" : [ "convert " ] + }, { + "r" : "228", + "s" : [ { + "value" : [ "5 ", "'mg'" ] + } ] + }, { + "value" : [ " to ", "'g'" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "ConvertQuantity", + "localId" : "230", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "231", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "232", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "Quantity", + "localId" : "228", "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "name" : "ConvertSyntax", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "227", - "s" : [ { - "value" : [ "","define ","ConvertSyntax",": " ] - }, { - "r" : "230", - "s" : [ { - "value" : [ "convert " ] - }, { - "r" : "228", - "s" : [ { - "value" : [ "5 ","'mg'" ] - } ] - }, { - "value" : [ " to ","'g'" ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "230", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "ConvertQuantity", - "signature" : [ { - "localId" : "231", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "232", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "228", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "value" : 5, - "unit" : "mg", - "type" : "Quantity" - }, { - "localId" : "229", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "g", - "type" : "Literal" - } ] - } - }, { - "localId" : "235", + "value" : 5, + "unit" : "mg", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "229", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "g", + "annotation" : [ ] + } ] + } + }, { + "localId" : "235", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "name" : "ConvertQuantityToKg", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "235", + "s" : [ { + "value" : [ "", "define ", "ConvertQuantityToKg", ": " ] + }, { + "r" : "243", + "s" : [ { + "value" : [ "ConvertQuantity", "(" ] + }, { + "r" : "236", + "s" : [ { + "value" : [ "5000 ", "'g'" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "237", + "s" : [ { + "value" : [ "'kg'" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "ConvertQuantity", + "localId" : "243", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "244", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "245", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "Quantity", + "localId" : "236", "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "name" : "ConvertQuantityToKg", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "235", - "s" : [ { - "value" : [ "","define ","ConvertQuantityToKg",": " ] - }, { - "r" : "243", - "s" : [ { - "value" : [ "ConvertQuantity","(" ] - }, { - "r" : "236", - "s" : [ { - "value" : [ "5000 ","'g'" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "237", - "s" : [ { - "value" : [ "'kg'" ] - } ] - }, { - "value" : [ ")" ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "243", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "ConvertQuantity", - "signature" : [ { - "localId" : "244", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "245", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "236", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "value" : 5000, - "unit" : "g", - "type" : "Quantity" - }, { - "localId" : "237", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "kg", - "type" : "Literal" - } ] - } - }, { - "localId" : "248", + "value" : 5000, + "unit" : "g", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "237", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "kg", + "annotation" : [ ] + } ] + } + }, { + "localId" : "248", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "name" : "ConvertQuantityToWeeks", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "248", + "s" : [ { + "value" : [ "", "define ", "ConvertQuantityToWeeks", ": " ] + }, { + "r" : "256", + "s" : [ { + "value" : [ "ConvertQuantity", "(" ] + }, { + "r" : "249", + "s" : [ { + "value" : [ "28 ", "'days'" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "250", + "s" : [ { + "value" : [ "'weeks'" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "ConvertQuantity", + "localId" : "256", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "257", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "258", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "Quantity", + "localId" : "249", "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "name" : "ConvertQuantityToWeeks", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "248", - "s" : [ { - "value" : [ "","define ","ConvertQuantityToWeeks",": " ] - }, { - "r" : "256", - "s" : [ { - "value" : [ "ConvertQuantity","(" ] - }, { - "r" : "249", - "s" : [ { - "value" : [ "28 ","'days'" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "250", - "s" : [ { - "value" : [ "'weeks'" ] - } ] - }, { - "value" : [ ")" ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "256", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "ConvertQuantity", - "signature" : [ { - "localId" : "257", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "258", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "249", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "value" : 28, - "unit" : "days", - "type" : "Quantity" - }, { - "localId" : "250", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "weeks", - "type" : "Literal" - } ] - } - }, { - "localId" : "261", + "value" : 28, + "unit" : "days", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "250", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "weeks", + "annotation" : [ ] + } ] + } + }, { + "localId" : "261", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "name" : "NullConvertQuantity", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "261", + "s" : [ { + "value" : [ "", "define ", "NullConvertQuantity", ": " ] + }, { + "r" : "269", + "s" : [ { + "value" : [ "ConvertQuantity", "(" ] + }, { + "r" : "262", + "s" : [ { + "value" : [ "5 ", "'mg'" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "263", + "s" : [ { + "value" : [ "'fox'" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "ConvertQuantity", + "localId" : "269", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "270", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "271", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "Quantity", + "localId" : "262", "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "name" : "NullConvertQuantity", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "261", - "s" : [ { - "value" : [ "","define ","NullConvertQuantity",": " ] - }, { - "r" : "269", - "s" : [ { - "value" : [ "ConvertQuantity","(" ] - }, { - "r" : "262", - "s" : [ { - "value" : [ "5 ","'mg'" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "263", - "s" : [ { - "value" : [ "'fox'" ] - } ] - }, { - "value" : [ ")" ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "269", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "ConvertQuantity", - "signature" : [ { - "localId" : "270", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "271", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "262", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "value" : 5, - "unit" : "mg", - "type" : "Quantity" - }, { - "localId" : "263", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "fox", - "type" : "Literal" - } ] - } - } ] - } - } + "value" : 5, + "unit" : "mg", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "263", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "fox", + "annotation" : [ ] + } ] + } + } ] + } + } } /* CanConvertQuantity @@ -9560,324 +10411,357 @@ define CanConvertQuantityNullSecondNUll: CanConvertQuantity(5 'mg', null) */ module.exports['CanConvertQuantity'] = { - "library" : { - "localId" : "0", - "annotation" : [ { - "translatorVersion" : "3.27.0", - "translatorOptions" : "EnableDateRangeOptimization,EnableAnnotations,EnableResultTypes", - "signatureLevel" : "All", - "type" : "CqlToElmInfo" - }, { - "type" : "Annotation", - "s" : { + "library" : { + "localId" : "0", + "annotation" : [ { + "type" : "CqlToElmInfo", + "translatorVersion" : "4.2.0", + "translatorOptions" : "EnableDateRangeOptimization,EnableAnnotations,EnableResultTypes", + "signatureLevel" : "All" + }, { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "255", + "s" : [ { + "value" : [ "", "library TestSnippet version '1'" ] + } ] + } + } ], + "identifier" : { + "id" : "TestSnippet", + "version" : "1" + }, + "schemaIdentifier" : { + "id" : "urn:hl7-org:elm", + "version" : "r1" + }, + "usings" : { + "def" : [ { + "localId" : "1", + "localIdentifier" : "System", + "uri" : "urn:hl7-org:elm-types:r1", + "annotation" : [ ] + }, { + "localId" : "206", + "localIdentifier" : "Simple", + "uri" : "https://github.com/cqframework/cql-execution/simple", + "version" : "1.0.0", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "206", + "s" : [ { + "value" : [ "", "using " ] + }, { + "s" : [ { + "value" : [ "Simple" ] + } ] + }, { + "value" : [ " version '1.0.0'" ] + } ] + } + } ] + } ] + }, + "contexts" : { + "def" : [ { + "localId" : "211", + "name" : "Patient", + "annotation" : [ ] + } ] + }, + "statements" : { + "def" : [ { + "localId" : "209", + "name" : "Patient", + "context" : "Patient", + "annotation" : [ ], + "expression" : { + "type" : "SingletonFrom", + "localId" : "210", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Retrieve", + "localId" : "208", + "dataType" : "{https://github.com/cqframework/cql-execution/simple}Patient", + "annotation" : [ ], + "include" : [ ], + "codeFilter" : [ ], + "dateFilter" : [ ], + "otherFilter" : [ ] + } + } + }, { + "localId" : "214", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "CanConvertQuantityTrue", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "214", + "s" : [ { + "value" : [ "", "define ", "CanConvertQuantityTrue", ": " ] + }, { + "r" : "222", + "s" : [ { + "value" : [ "CanConvertQuantity", "(" ] + }, { + "r" : "215", + "s" : [ { + "value" : [ "5 ", "'mg'" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "216", + "s" : [ { + "value" : [ "'g'" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "CanConvertQuantity", + "localId" : "222", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "223", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "224", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "Quantity", + "localId" : "215", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "value" : 5, + "unit" : "mg", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "216", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "g", + "annotation" : [ ] + } ] + } + }, { + "localId" : "227", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "CanConvertQuantityFalse", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "227", + "s" : [ { + "value" : [ "", "define ", "CanConvertQuantityFalse", ": " ] + }, { + "r" : "235", + "s" : [ { + "value" : [ "CanConvertQuantity", "(" ] + }, { + "r" : "228", + "s" : [ { + "value" : [ "5 ", "'mg'" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "229", + "s" : [ { + "value" : [ "'fox'" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "CanConvertQuantity", + "localId" : "235", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "236", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "237", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "Quantity", + "localId" : "228", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "value" : 5, + "unit" : "mg", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "229", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "fox", + "annotation" : [ ] + } ] + } + }, { + "localId" : "240", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "CanConvertQuantityNullFirstNull", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "240", + "s" : [ { + "value" : [ "", "define ", "CanConvertQuantityNullFirstNull", ": " ] + }, { + "r" : "249", + "s" : [ { + "r" : "241", + "value" : [ "CanConvertQuantity", "(", "null", ", " ] + }, { + "r" : "242", + "s" : [ { + "value" : [ "'g'" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "CanConvertQuantity", + "localId" : "249", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "251", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "252", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "As", + "localId" : "250", + "asType" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Null", + "localId" : "241", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } + }, { + "type" : "Literal", + "localId" : "242", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "g", + "annotation" : [ ] + } ] + } + }, { + "localId" : "255", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "CanConvertQuantityNullSecondNUll", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { "r" : "255", "s" : [ { - "value" : [ "","library TestSnippet version '1'" ] - } ] - } - } ], - "identifier" : { - "id" : "TestSnippet", - "version" : "1" - }, - "schemaIdentifier" : { - "id" : "urn:hl7-org:elm", - "version" : "r1" - }, - "usings" : { - "def" : [ { - "localId" : "1", - "localIdentifier" : "System", - "uri" : "urn:hl7-org:elm-types:r1" - }, { - "localId" : "206", - "localIdentifier" : "Simple", - "uri" : "https://github.com/cqframework/cql-execution/simple", - "version" : "1.0.0", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "206", - "s" : [ { - "value" : [ "","using " ] - }, { - "s" : [ { - "value" : [ "Simple" ] - } ] - }, { - "value" : [ " version '1.0.0'" ] - } ] - } - } ] - } ] - }, - "contexts" : { - "def" : [ { - "localId" : "211", - "name" : "Patient" - } ] - }, - "statements" : { - "def" : [ { - "localId" : "209", - "name" : "Patient", - "context" : "Patient", - "expression" : { - "localId" : "210", - "type" : "SingletonFrom", - "signature" : [ ], - "operand" : { - "localId" : "208", - "dataType" : "{https://github.com/cqframework/cql-execution/simple}Patient", - "type" : "Retrieve", - "include" : [ ], - "codeFilter" : [ ], - "dateFilter" : [ ], - "otherFilter" : [ ] - } - } - }, { - "localId" : "214", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "CanConvertQuantityTrue", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "214", - "s" : [ { - "value" : [ "","define ","CanConvertQuantityTrue",": " ] - }, { - "r" : "222", - "s" : [ { - "value" : [ "CanConvertQuantity","(" ] - }, { - "r" : "215", - "s" : [ { - "value" : [ "5 ","'mg'" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "216", - "s" : [ { - "value" : [ "'g'" ] - } ] - }, { - "value" : [ ")" ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "222", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "CanConvertQuantity", - "signature" : [ { - "localId" : "223", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "224", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "215", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "value" : 5, - "unit" : "mg", - "type" : "Quantity" - }, { - "localId" : "216", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "g", - "type" : "Literal" - } ] - } - }, { - "localId" : "227", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "CanConvertQuantityFalse", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "227", - "s" : [ { - "value" : [ "","define ","CanConvertQuantityFalse",": " ] - }, { - "r" : "235", - "s" : [ { - "value" : [ "CanConvertQuantity","(" ] - }, { - "r" : "228", - "s" : [ { - "value" : [ "5 ","'mg'" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "229", - "s" : [ { - "value" : [ "'fox'" ] - } ] - }, { - "value" : [ ")" ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "235", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "CanConvertQuantity", - "signature" : [ { - "localId" : "236", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "237", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "228", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "value" : 5, - "unit" : "mg", - "type" : "Quantity" - }, { - "localId" : "229", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "fox", - "type" : "Literal" - } ] - } - }, { - "localId" : "240", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "CanConvertQuantityNullFirstNull", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "240", - "s" : [ { - "value" : [ "","define ","CanConvertQuantityNullFirstNull",": " ] - }, { - "r" : "249", - "s" : [ { - "r" : "241", - "value" : [ "CanConvertQuantity","(","null",", " ] - }, { - "r" : "242", - "s" : [ { - "value" : [ "'g'" ] - } ] - }, { - "value" : [ ")" ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "249", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "CanConvertQuantity", - "signature" : [ { - "localId" : "251", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "252", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "250", - "asType" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "As", - "signature" : [ ], - "operand" : { - "localId" : "241", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - } - }, { - "localId" : "242", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "g", - "type" : "Literal" - } ] - } - }, { - "localId" : "255", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "CanConvertQuantityNullSecondNUll", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "255", - "s" : [ { - "value" : [ "","define ","CanConvertQuantityNullSecondNUll",": " ] - }, { - "r" : "263", - "s" : [ { - "value" : [ "CanConvertQuantity","(" ] - }, { - "r" : "256", - "s" : [ { - "value" : [ "5 ","'mg'" ] - } ] - }, { - "r" : "257", - "value" : [ ", ","null",")" ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "263", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "CanConvertQuantity", - "signature" : [ { - "localId" : "265", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "266", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "256", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "value" : 5, - "unit" : "mg", - "type" : "Quantity" - }, { - "localId" : "264", - "asType" : "{urn:hl7-org:elm-types:r1}String", - "type" : "As", - "signature" : [ ], - "operand" : { - "localId" : "257", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - } - } ] - } - } ] - } - } + "value" : [ "", "define ", "CanConvertQuantityNullSecondNUll", ": " ] + }, { + "r" : "263", + "s" : [ { + "value" : [ "CanConvertQuantity", "(" ] + }, { + "r" : "256", + "s" : [ { + "value" : [ "5 ", "'mg'" ] + } ] + }, { + "r" : "257", + "value" : [ ", ", "null", ")" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "CanConvertQuantity", + "localId" : "263", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "265", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "266", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "Quantity", + "localId" : "256", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "value" : 5, + "unit" : "mg", + "annotation" : [ ] + }, { + "type" : "As", + "localId" : "264", + "asType" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Null", + "localId" : "257", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } + } ] + } + } ] + } + } } diff --git a/test/elm/date/data.js b/test/elm/date/data.js index 4295c4b5..6fcc0670 100644 --- a/test/elm/date/data.js +++ b/test/elm/date/data.js @@ -18,232 +18,257 @@ define Day: Date(2012, 2, 15) */ module.exports['Date'] = { - "library" : { - "localId" : "0", - "annotation" : [ { - "translatorVersion" : "3.27.0", - "translatorOptions" : "EnableDateRangeOptimization,EnableAnnotations,EnableResultTypes", - "signatureLevel" : "All", - "type" : "CqlToElmInfo" - }, { - "type" : "Annotation", - "s" : { + "library" : { + "localId" : "0", + "annotation" : [ { + "type" : "CqlToElmInfo", + "translatorVersion" : "4.2.0", + "translatorOptions" : "EnableDateRangeOptimization,EnableAnnotations,EnableResultTypes", + "signatureLevel" : "All" + }, { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "235", + "s" : [ { + "value" : [ "", "library TestSnippet version '1'" ] + } ] + } + } ], + "identifier" : { + "id" : "TestSnippet", + "version" : "1" + }, + "schemaIdentifier" : { + "id" : "urn:hl7-org:elm", + "version" : "r1" + }, + "usings" : { + "def" : [ { + "localId" : "1", + "localIdentifier" : "System", + "uri" : "urn:hl7-org:elm-types:r1", + "annotation" : [ ] + }, { + "localId" : "206", + "localIdentifier" : "Simple", + "uri" : "https://github.com/cqframework/cql-execution/simple", + "version" : "1.0.0", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "206", + "s" : [ { + "value" : [ "", "using " ] + }, { + "s" : [ { + "value" : [ "Simple" ] + } ] + }, { + "value" : [ " version '1.0.0'" ] + } ] + } + } ] + } ] + }, + "contexts" : { + "def" : [ { + "localId" : "211", + "name" : "Patient", + "annotation" : [ ] + } ] + }, + "statements" : { + "def" : [ { + "localId" : "209", + "name" : "Patient", + "context" : "Patient", + "annotation" : [ ], + "expression" : { + "type" : "SingletonFrom", + "localId" : "210", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Retrieve", + "localId" : "208", + "dataType" : "{https://github.com/cqframework/cql-execution/simple}Patient", + "annotation" : [ ], + "include" : [ ], + "codeFilter" : [ ], + "dateFilter" : [ ], + "otherFilter" : [ ] + } + } + }, { + "localId" : "214", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", + "name" : "Year", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "214", + "s" : [ { + "value" : [ "", "define ", "Year", ": " ] + }, { + "r" : "219", + "s" : [ { + "r" : "215", + "value" : [ "Date", "(", "2012", ")" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Date", + "localId" : "219", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "220", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "215", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + } + } + }, { + "localId" : "223", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", + "name" : "Month", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "223", + "s" : [ { + "value" : [ "", "define ", "Month", ": " ] + }, { + "r" : "230", + "s" : [ { + "r" : "224", + "value" : [ "Date", "(", "2012", ", ", "2", ")" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Date", + "localId" : "230", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "231", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "232", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "224", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "225", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "annotation" : [ ] + } + } + }, { + "localId" : "235", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", + "name" : "Day", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { "r" : "235", "s" : [ { - "value" : [ "","library TestSnippet version '1'" ] - } ] - } - } ], - "identifier" : { - "id" : "TestSnippet", - "version" : "1" - }, - "schemaIdentifier" : { - "id" : "urn:hl7-org:elm", - "version" : "r1" - }, - "usings" : { - "def" : [ { - "localId" : "1", - "localIdentifier" : "System", - "uri" : "urn:hl7-org:elm-types:r1" - }, { - "localId" : "206", - "localIdentifier" : "Simple", - "uri" : "https://github.com/cqframework/cql-execution/simple", - "version" : "1.0.0", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "206", - "s" : [ { - "value" : [ "","using " ] - }, { - "s" : [ { - "value" : [ "Simple" ] - } ] - }, { - "value" : [ " version '1.0.0'" ] - } ] - } - } ] - } ] - }, - "contexts" : { - "def" : [ { - "localId" : "211", - "name" : "Patient" - } ] - }, - "statements" : { - "def" : [ { - "localId" : "209", - "name" : "Patient", - "context" : "Patient", - "expression" : { - "localId" : "210", - "type" : "SingletonFrom", - "signature" : [ ], - "operand" : { - "localId" : "208", - "dataType" : "{https://github.com/cqframework/cql-execution/simple}Patient", - "type" : "Retrieve", - "include" : [ ], - "codeFilter" : [ ], - "dateFilter" : [ ], - "otherFilter" : [ ] - } - } - }, { - "localId" : "214", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", - "name" : "Year", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "214", - "s" : [ { - "value" : [ "","define ","Year",": " ] - }, { - "r" : "219", - "s" : [ { - "r" : "215", - "value" : [ "Date","(","2012",")" ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "219", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "Date", - "signature" : [ { - "localId" : "220", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "215", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - } - } - }, { - "localId" : "223", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", - "name" : "Month", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "223", - "s" : [ { - "value" : [ "","define ","Month",": " ] - }, { - "r" : "230", - "s" : [ { - "r" : "224", - "value" : [ "Date","(","2012",", ","2",")" ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "230", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "Date", - "signature" : [ { - "localId" : "231", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "232", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "224", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "225", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal" - } - } - }, { - "localId" : "235", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", - "name" : "Day", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "235", - "s" : [ { - "value" : [ "","define ","Day",": " ] - }, { - "r" : "244", - "s" : [ { - "r" : "236", - "value" : [ "Date","(","2012",", ","2",", ","15",")" ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "244", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "Date", - "signature" : [ { - "localId" : "245", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "246", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "247", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "236", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "237", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal" - }, - "day" : { - "localId" : "238", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal" - } - } - } ] - } - } + "value" : [ "", "define ", "Day", ": " ] + }, { + "r" : "244", + "s" : [ { + "r" : "236", + "value" : [ "Date", "(", "2012", ", ", "2", ", ", "15", ")" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Date", + "localId" : "244", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "245", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "246", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "247", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "236", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "237", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "238", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "15", + "annotation" : [ ] + } + } + } ] + } + } } /* DateComponentFrom @@ -264,574 +289,638 @@ define NullDate: year from (null as Date) */ module.exports['DateComponentFrom'] = { - "library" : { - "localId" : "0", - "annotation" : [ { - "translatorVersion" : "3.27.0", - "translatorOptions" : "EnableDateRangeOptimization,EnableAnnotations,EnableResultTypes", - "signatureLevel" : "All", - "type" : "CqlToElmInfo" - }, { - "type" : "Annotation", - "s" : { - "r" : "286", + "library" : { + "localId" : "0", + "annotation" : [ { + "type" : "CqlToElmInfo", + "translatorVersion" : "4.2.0", + "translatorOptions" : "EnableDateRangeOptimization,EnableAnnotations,EnableResultTypes", + "signatureLevel" : "All" + }, { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "286", + "s" : [ { + "value" : [ "", "library TestSnippet version '1'" ] + } ] + } + } ], + "identifier" : { + "id" : "TestSnippet", + "version" : "1" + }, + "schemaIdentifier" : { + "id" : "urn:hl7-org:elm", + "version" : "r1" + }, + "usings" : { + "def" : [ { + "localId" : "1", + "localIdentifier" : "System", + "uri" : "urn:hl7-org:elm-types:r1", + "annotation" : [ ] + }, { + "localId" : "206", + "localIdentifier" : "Simple", + "uri" : "https://github.com/cqframework/cql-execution/simple", + "version" : "1.0.0", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "206", "s" : [ { - "value" : [ "","library TestSnippet version '1'" ] - } ] - } - } ], - "identifier" : { - "id" : "TestSnippet", - "version" : "1" - }, - "schemaIdentifier" : { - "id" : "urn:hl7-org:elm", - "version" : "r1" - }, - "usings" : { - "def" : [ { - "localId" : "1", - "localIdentifier" : "System", - "uri" : "urn:hl7-org:elm-types:r1" - }, { - "localId" : "206", - "localIdentifier" : "Simple", - "uri" : "https://github.com/cqframework/cql-execution/simple", - "version" : "1.0.0", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "206", - "s" : [ { - "value" : [ "","using " ] - }, { - "s" : [ { - "value" : [ "Simple" ] - } ] - }, { - "value" : [ " version '1.0.0'" ] - } ] - } - } ] - } ] - }, - "contexts" : { - "def" : [ { - "localId" : "211", - "name" : "Patient" - } ] - }, - "statements" : { - "def" : [ { - "localId" : "209", - "name" : "Patient", - "context" : "Patient", - "expression" : { - "localId" : "210", - "type" : "SingletonFrom", - "signature" : [ ], - "operand" : { - "localId" : "208", - "dataType" : "{https://github.com/cqframework/cql-execution/simple}Patient", - "type" : "Retrieve", - "include" : [ ], - "codeFilter" : [ ], - "dateFilter" : [ ], - "otherFilter" : [ ] - } - } - }, { - "localId" : "214", + "value" : [ "", "using " ] + }, { + "s" : [ { + "value" : [ "Simple" ] + } ] + }, { + "value" : [ " version '1.0.0'" ] + } ] + } + } ] + } ] + }, + "contexts" : { + "def" : [ { + "localId" : "211", + "name" : "Patient", + "annotation" : [ ] + } ] + }, + "statements" : { + "def" : [ { + "localId" : "209", + "name" : "Patient", + "context" : "Patient", + "annotation" : [ ], + "expression" : { + "type" : "SingletonFrom", + "localId" : "210", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Retrieve", + "localId" : "208", + "dataType" : "{https://github.com/cqframework/cql-execution/simple}Patient", + "annotation" : [ ], + "include" : [ ], + "codeFilter" : [ ], + "dateFilter" : [ ], + "otherFilter" : [ ] + } + } + }, { + "localId" : "214", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", + "name" : "IdesOfMarch", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "214", + "s" : [ { + "value" : [ "", "define ", "IdesOfMarch", ": " ] + }, { + "r" : "223", + "s" : [ { + "r" : "215", + "value" : [ "Date", "(", "2000", ", ", "3", ", ", "15", ")" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Date", + "localId" : "223", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "224", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "225", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "226", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "215", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "216", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "217", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "15", + "annotation" : [ ] + } + } + }, { + "localId" : "229", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "name" : "Year", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "229", + "s" : [ { + "value" : [ "", "define ", "Year", ": " ] + }, { + "r" : "230", + "s" : [ { + "value" : [ "year from " ] + }, { + "r" : "231", + "s" : [ { + "value" : [ "IdesOfMarch" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "DateTimeComponentFrom", + "localId" : "230", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "precision" : "Year", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "232", + "name" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ] + } ], + "operand" : { + "type" : "ExpressionRef", + "localId" : "231", "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", "name" : "IdesOfMarch", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "214", - "s" : [ { - "value" : [ "","define ","IdesOfMarch",": " ] - }, { - "r" : "223", - "s" : [ { - "r" : "215", - "value" : [ "Date","(","2000",", ","3",", ","15",")" ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "223", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "Date", - "signature" : [ { - "localId" : "224", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "225", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "226", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "215", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "216", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "217", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal" - } - } - }, { - "localId" : "229", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "name" : "Year", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "229", - "s" : [ { - "value" : [ "","define ","Year",": " ] - }, { - "r" : "230", - "s" : [ { - "value" : [ "year from " ] - }, { - "r" : "231", - "s" : [ { - "value" : [ "IdesOfMarch" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "230", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "precision" : "Year", - "type" : "DateTimeComponentFrom", - "signature" : [ { - "localId" : "232", - "name" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "231", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", - "name" : "IdesOfMarch", - "type" : "ExpressionRef" - } - } - }, { - "localId" : "235", + "annotation" : [ ] + } + } + }, { + "localId" : "235", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "name" : "Month", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "235", + "s" : [ { + "value" : [ "", "define ", "Month", ": " ] + }, { + "r" : "236", + "s" : [ { + "value" : [ "month from " ] + }, { + "r" : "237", + "s" : [ { + "value" : [ "IdesOfMarch" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "DateTimeComponentFrom", + "localId" : "236", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "precision" : "Month", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "238", + "name" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ] + } ], + "operand" : { + "type" : "ExpressionRef", + "localId" : "237", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", + "name" : "IdesOfMarch", + "annotation" : [ ] + } + } + }, { + "localId" : "241", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "name" : "Day", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "241", + "s" : [ { + "value" : [ "", "define ", "Day", ": " ] + }, { + "r" : "242", + "s" : [ { + "value" : [ "day from " ] + }, { + "r" : "243", + "s" : [ { + "value" : [ "IdesOfMarch" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "DateTimeComponentFrom", + "localId" : "242", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "precision" : "Day", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "244", + "name" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ] + } ], + "operand" : { + "type" : "ExpressionRef", + "localId" : "243", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", + "name" : "IdesOfMarch", + "annotation" : [ ] + } + } + }, { + "localId" : "247", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", + "name" : "ImpreciseIdesOfMarch", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "247", + "s" : [ { + "value" : [ "", "define ", "ImpreciseIdesOfMarch", ": " ] + }, { + "r" : "254", + "s" : [ { + "r" : "248", + "value" : [ "Date", "(", "2000", ", ", "3", ")" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Date", + "localId" : "254", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "255", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "256", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "248", "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "name" : "Month", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "235", - "s" : [ { - "value" : [ "","define ","Month",": " ] - }, { - "r" : "236", - "s" : [ { - "value" : [ "month from " ] - }, { - "r" : "237", - "s" : [ { - "value" : [ "IdesOfMarch" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "236", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "precision" : "Month", - "type" : "DateTimeComponentFrom", - "signature" : [ { - "localId" : "238", - "name" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "237", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", - "name" : "IdesOfMarch", - "type" : "ExpressionRef" - } - } - }, { - "localId" : "241", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "249", "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "name" : "Day", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "241", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + } + } + }, { + "localId" : "259", + "name" : "ImpreciseComponentTuple", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "259", + "s" : [ { + "value" : [ "", "define ", "ImpreciseComponentTuple", ": " ] + }, { + "r" : "260", + "s" : [ { + "value" : [ "Tuple {\n " ] + }, { + "s" : [ { + "value" : [ "Year", ": " ] + }, { + "r" : "261", "s" : [ { - "value" : [ "","define ","Day",": " ] + "value" : [ "year from " ] }, { - "r" : "242", - "s" : [ { - "value" : [ "day from " ] - }, { - "r" : "243", - "s" : [ { - "value" : [ "IdesOfMarch" ] - } ] - } ] + "r" : "262", + "s" : [ { + "value" : [ "ImpreciseIdesOfMarch" ] + } ] } ] - } - } ], - "expression" : { - "localId" : "242", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "precision" : "Day", - "type" : "DateTimeComponentFrom", - "signature" : [ { - "localId" : "244", - "name" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "243", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", - "name" : "IdesOfMarch", - "type" : "ExpressionRef" - } - } - }, { - "localId" : "247", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", - "name" : "ImpreciseIdesOfMarch", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "247", + } ] + }, { + "value" : [ ",\n " ] + }, { + "s" : [ { + "value" : [ "Month", ": " ] + }, { + "r" : "264", "s" : [ { - "value" : [ "","define ","ImpreciseIdesOfMarch",": " ] + "value" : [ "month from " ] }, { - "r" : "254", - "s" : [ { - "r" : "248", - "value" : [ "Date","(","2000",", ","3",")" ] - } ] + "r" : "265", + "s" : [ { + "value" : [ "ImpreciseIdesOfMarch" ] + } ] } ] - } - } ], - "expression" : { - "localId" : "254", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "Date", - "signature" : [ { - "localId" : "255", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "256", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "248", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "249", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - } - } - }, { - "localId" : "259", - "name" : "ImpreciseComponentTuple", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "259", + } ] + }, { + "value" : [ ",\n " ] + }, { + "s" : [ { + "value" : [ "Day", ": " ] + }, { + "r" : "267", "s" : [ { - "value" : [ "","define ","ImpreciseComponentTuple",": " ] - }, { - "r" : "260", - "s" : [ { - "value" : [ "Tuple {\n " ] - }, { - "s" : [ { - "value" : [ "Year",": " ] - }, { - "r" : "261", - "s" : [ { - "value" : [ "year from " ] - }, { - "r" : "262", - "s" : [ { - "value" : [ "ImpreciseIdesOfMarch" ] - } ] - } ] - } ] - }, { - "value" : [ ",\n " ] - }, { - "s" : [ { - "value" : [ "Month",": " ] - }, { - "r" : "264", - "s" : [ { - "value" : [ "month from " ] - }, { - "r" : "265", - "s" : [ { - "value" : [ "ImpreciseIdesOfMarch" ] - } ] - } ] - } ] - }, { - "value" : [ ",\n " ] - }, { - "s" : [ { - "value" : [ "Day",": " ] - }, { - "r" : "267", - "s" : [ { - "value" : [ "day from " ] - }, { - "r" : "268", - "s" : [ { - "value" : [ "ImpreciseIdesOfMarch" ] - } ] - } ] - } ] - }, { - "value" : [ "\n}" ] - } ] - } ] - } - } ], - "resultTypeSpecifier" : { - "localId" : "277", - "type" : "TupleTypeSpecifier", - "element" : [ { - "localId" : "278", - "name" : "Year", - "elementType" : { - "localId" : "279", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "280", - "name" : "Month", - "elementType" : { - "localId" : "281", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "282", - "name" : "Day", - "elementType" : { - "localId" : "283", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } ] - }, - "expression" : { - "localId" : "260", - "type" : "Tuple", - "resultTypeSpecifier" : { - "localId" : "270", - "type" : "TupleTypeSpecifier", - "element" : [ { - "localId" : "271", - "name" : "Year", - "elementType" : { - "localId" : "272", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "273", - "name" : "Month", - "elementType" : { - "localId" : "274", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } + "value" : [ "day from " ] }, { - "localId" : "275", - "name" : "Day", - "elementType" : { - "localId" : "276", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } + "r" : "268", + "s" : [ { + "value" : [ "ImpreciseIdesOfMarch" ] + } ] } ] - }, - "element" : [ { - "name" : "Year", - "value" : { - "localId" : "261", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "precision" : "Year", - "type" : "DateTimeComponentFrom", - "signature" : [ { - "localId" : "263", - "name" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "262", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", - "name" : "ImpreciseIdesOfMarch", - "type" : "ExpressionRef" - } - } - }, { - "name" : "Month", - "value" : { - "localId" : "264", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "precision" : "Month", - "type" : "DateTimeComponentFrom", - "signature" : [ { - "localId" : "266", - "name" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "265", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", - "name" : "ImpreciseIdesOfMarch", - "type" : "ExpressionRef" - } - } - }, { - "name" : "Day", - "value" : { - "localId" : "267", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "precision" : "Day", - "type" : "DateTimeComponentFrom", - "signature" : [ { - "localId" : "269", - "name" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "268", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", - "name" : "ImpreciseIdesOfMarch", - "type" : "ExpressionRef" - } - } - } ] - } - }, { - "localId" : "286", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "name" : "NullDate", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "286", + } ] + }, { + "value" : [ "\n}" ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "TupleTypeSpecifier", + "localId" : "277", + "annotation" : [ ], + "element" : [ { + "localId" : "278", + "name" : "Year", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "279", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, { + "localId" : "280", + "name" : "Month", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "281", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, { + "localId" : "282", + "name" : "Day", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "283", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } ] + }, + "expression" : { + "type" : "Tuple", + "localId" : "260", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "TupleTypeSpecifier", + "localId" : "270", + "annotation" : [ ], + "element" : [ { + "localId" : "271", + "name" : "Year", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "272", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, { + "localId" : "273", + "name" : "Month", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "274", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, { + "localId" : "275", + "name" : "Day", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "276", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } ] + }, + "element" : [ { + "name" : "Year", + "value" : { + "type" : "DateTimeComponentFrom", + "localId" : "261", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "precision" : "Year", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "263", + "name" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ] + } ], + "operand" : { + "type" : "ExpressionRef", + "localId" : "262", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", + "name" : "ImpreciseIdesOfMarch", + "annotation" : [ ] + } + } + }, { + "name" : "Month", + "value" : { + "type" : "DateTimeComponentFrom", + "localId" : "264", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "precision" : "Month", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "266", + "name" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ] + } ], + "operand" : { + "type" : "ExpressionRef", + "localId" : "265", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", + "name" : "ImpreciseIdesOfMarch", + "annotation" : [ ] + } + } + }, { + "name" : "Day", + "value" : { + "type" : "DateTimeComponentFrom", + "localId" : "267", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "precision" : "Day", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "269", + "name" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ] + } ], + "operand" : { + "type" : "ExpressionRef", + "localId" : "268", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", + "name" : "ImpreciseIdesOfMarch", + "annotation" : [ ] + } + } + } ] + } + }, { + "localId" : "286", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "name" : "NullDate", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "286", + "s" : [ { + "value" : [ "", "define ", "NullDate", ": " ] + }, { + "r" : "287", + "s" : [ { + "value" : [ "year from " ] + }, { + "r" : "288", + "s" : [ { + "value" : [ "(" ] + }, { + "r" : "288", "s" : [ { - "value" : [ "","define ","NullDate",": " ] + "r" : "289", + "value" : [ "null", " as " ] }, { - "r" : "287", - "s" : [ { - "value" : [ "year from " ] - }, { - "r" : "288", - "s" : [ { - "value" : [ "(" ] - }, { - "r" : "288", - "s" : [ { - "r" : "289", - "value" : [ "null"," as " ] - }, { - "r" : "290", - "s" : [ { - "value" : [ "Date" ] - } ] - } ] - }, { - "value" : [ ")" ] - } ] - } ] + "r" : "290", + "s" : [ { + "value" : [ "Date" ] + } ] } ] - } - } ], - "expression" : { - "localId" : "287", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "precision" : "Year", - "type" : "DateTimeComponentFrom", - "signature" : [ { - "localId" : "291", - "name" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "288", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", - "strict" : false, - "type" : "As", - "signature" : [ ], - "operand" : { - "localId" : "289", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - }, - "asTypeSpecifier" : { - "localId" : "290", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", - "name" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "NamedTypeSpecifier" - } - } - } - } ] - } - } + }, { + "value" : [ ")" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "DateTimeComponentFrom", + "localId" : "287", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "precision" : "Year", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "291", + "name" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ] + } ], + "operand" : { + "type" : "As", + "localId" : "288", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", + "strict" : false, + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Null", + "localId" : "289", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + }, + "asTypeSpecifier" : { + "type" : "NamedTypeSpecifier", + "localId" : "290", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", + "name" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ] + } + } + } + } ] + } + } } /* SameAs @@ -854,8993 +943,10242 @@ define NullBoth: (null as Date) same as null */ module.exports['SameAs'] = { - "library" : { - "localId" : "0", - "annotation" : [ { - "translatorVersion" : "3.27.0", - "translatorOptions" : "EnableDateRangeOptimization,EnableAnnotations,EnableResultTypes", - "signatureLevel" : "All", - "type" : "CqlToElmInfo" - }, { - "type" : "Annotation", - "s" : { - "r" : "555", - "s" : [ { - "value" : [ "","library TestSnippet version '1'" ] - } ] - } - } ], - "identifier" : { - "id" : "TestSnippet", - "version" : "1" - }, - "schemaIdentifier" : { - "id" : "urn:hl7-org:elm", - "version" : "r1" - }, - "usings" : { - "def" : [ { - "localId" : "1", - "localIdentifier" : "System", - "uri" : "urn:hl7-org:elm-types:r1" - }, { - "localId" : "206", - "localIdentifier" : "Simple", - "uri" : "https://github.com/cqframework/cql-execution/simple", - "version" : "1.0.0", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "206", - "s" : [ { - "value" : [ "","using " ] - }, { - "s" : [ { - "value" : [ "Simple" ] - } ] - }, { - "value" : [ " version '1.0.0'" ] - } ] - } - } ] - } ] - }, - "contexts" : { - "def" : [ { - "localId" : "211", - "name" : "Patient" - } ] - }, - "statements" : { - "def" : [ { - "localId" : "209", - "name" : "Patient", - "context" : "Patient", - "expression" : { - "localId" : "210", - "type" : "SingletonFrom", - "signature" : [ ], - "operand" : { - "localId" : "208", - "dataType" : "{https://github.com/cqframework/cql-execution/simple}Patient", - "type" : "Retrieve", - "include" : [ ], - "codeFilter" : [ ], - "dateFilter" : [ ], - "otherFilter" : [ ] - } - } - }, { - "localId" : "214", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "SameYear", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "214", - "s" : [ { - "value" : [ "","define ","SameYear",": " ] - }, { - "r" : "239", - "s" : [ { - "r" : "223", - "s" : [ { - "r" : "215", - "value" : [ "Date","(","2000",", ","3",", ","15",")" ] - } ] - }, { - "r" : "239", - "value" : [ " ","same year as"," " ] - }, { - "r" : "235", - "s" : [ { - "r" : "227", - "value" : [ "Date","(","2000",", ","11",", ","23",")" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "239", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "precision" : "Year", - "type" : "SameAs", - "signature" : [ { - "localId" : "240", - "name" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "241", - "name" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "223", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "Date", - "signature" : [ { - "localId" : "224", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "225", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "226", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "215", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "216", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "217", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal" - } - }, { - "localId" : "235", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "Date", - "signature" : [ { - "localId" : "236", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "237", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "238", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "227", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "228", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "11", - "type" : "Literal" - }, - "day" : { - "localId" : "229", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "23", - "type" : "Literal" - } - } ] - } - }, { - "localId" : "244", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "NotSameYear", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "244", - "s" : [ { - "value" : [ "","define ","NotSameYear",": " ] - }, { - "r" : "269", - "s" : [ { - "r" : "253", - "s" : [ { - "r" : "245", - "value" : [ "Date","(","2000",", ","3",", ","15",")" ] - } ] - }, { - "r" : "269", - "value" : [ " ","same year as"," " ] - }, { - "r" : "265", - "s" : [ { - "r" : "257", - "value" : [ "Date","(","2001",", ","11",", ","23",")" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "269", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "precision" : "Year", - "type" : "SameAs", - "signature" : [ { - "localId" : "270", - "name" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "271", - "name" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "253", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "Date", - "signature" : [ { - "localId" : "254", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "255", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "256", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "245", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "246", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "247", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal" - } - }, { - "localId" : "265", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "Date", - "signature" : [ { - "localId" : "266", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "267", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "268", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "257", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2001", - "type" : "Literal" - }, - "month" : { - "localId" : "258", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "11", - "type" : "Literal" - }, - "day" : { - "localId" : "259", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "23", - "type" : "Literal" - } - } ] - } - }, { - "localId" : "274", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "SameMonth", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "274", - "s" : [ { - "value" : [ "","define ","SameMonth",": " ] - }, { - "r" : "299", - "s" : [ { - "r" : "283", - "s" : [ { - "r" : "275", - "value" : [ "Date","(","2000",", ","3",", ","15",")" ] - } ] - }, { - "r" : "299", - "value" : [ " ","same month as"," " ] - }, { - "r" : "295", - "s" : [ { - "r" : "287", - "value" : [ "Date","(","2000",", ","3",", ","23",")" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "299", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "precision" : "Month", - "type" : "SameAs", - "signature" : [ { - "localId" : "300", - "name" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "301", - "name" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "283", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "Date", - "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" - }, { - "localId" : "286", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "275", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "276", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "277", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal" - } - }, { - "localId" : "295", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "Date", - "signature" : [ { - "localId" : "296", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "297", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "298", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "287", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "288", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "289", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "23", - "type" : "Literal" - } - } ] - } - }, { - "localId" : "304", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "NotSameMonth", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "304", - "s" : [ { - "value" : [ "","define ","NotSameMonth",": " ] - }, { - "r" : "329", - "s" : [ { - "r" : "313", - "s" : [ { - "r" : "305", - "value" : [ "Date","(","2000",", ","3",", ","15",")" ] - } ] - }, { - "r" : "329", - "value" : [ " ","same month as"," " ] - }, { - "r" : "325", - "s" : [ { - "r" : "317", - "value" : [ "Date","(","2000",", ","4",", ","23",")" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "329", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "precision" : "Month", - "type" : "SameAs", - "signature" : [ { - "localId" : "330", - "name" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "331", - "name" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "313", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "Date", - "signature" : [ { - "localId" : "314", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "315", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "316", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "305", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "306", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "307", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal" - } - }, { - "localId" : "325", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "Date", - "signature" : [ { - "localId" : "326", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "327", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "328", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "317", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "318", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "4", - "type" : "Literal" - }, - "day" : { - "localId" : "319", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "23", - "type" : "Literal" - } - } ] - } - }, { - "localId" : "334", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "SameMonthWrongYear", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "334", - "s" : [ { - "value" : [ "","define ","SameMonthWrongYear",": " ] - }, { - "r" : "359", - "s" : [ { - "r" : "343", - "s" : [ { - "r" : "335", - "value" : [ "Date","(","2000",", ","3",", ","15",")" ] - } ] - }, { - "r" : "359", - "value" : [ " ","same month as"," " ] - }, { - "r" : "355", - "s" : [ { - "r" : "347", - "value" : [ "Date","(","2001",", ","3",", ","23",")" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "359", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "precision" : "Month", - "type" : "SameAs", - "signature" : [ { - "localId" : "360", - "name" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "361", - "name" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "343", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "Date", - "signature" : [ { - "localId" : "344", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "345", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "346", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "335", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "336", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "337", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal" - } - }, { - "localId" : "355", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "Date", - "signature" : [ { - "localId" : "356", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "357", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "358", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "347", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2001", - "type" : "Literal" - }, - "month" : { - "localId" : "348", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "349", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "23", - "type" : "Literal" - } - } ] - } - }, { - "localId" : "364", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "SameDay", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "364", - "s" : [ { - "value" : [ "","define ","SameDay",": " ] - }, { - "r" : "389", - "s" : [ { - "r" : "373", - "s" : [ { - "r" : "365", - "value" : [ "Date","(","2000",", ","3",", ","15",")" ] - } ] - }, { - "r" : "389", - "value" : [ " ","same day as"," " ] - }, { - "r" : "385", - "s" : [ { - "r" : "377", - "value" : [ "Date","(","2000",", ","3",", ","15",")" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "389", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "precision" : "Day", - "type" : "SameAs", - "signature" : [ { - "localId" : "390", - "name" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "391", - "name" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "373", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "Date", - "signature" : [ { - "localId" : "374", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "375", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "376", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "365", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "366", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "367", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal" - } - }, { - "localId" : "385", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "Date", - "signature" : [ { - "localId" : "386", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "387", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "388", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "377", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "378", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "379", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal" - } - } ] - } - }, { - "localId" : "394", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "NotSameDay", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "394", - "s" : [ { - "value" : [ "","define ","NotSameDay",": " ] - }, { - "r" : "419", - "s" : [ { - "r" : "403", - "s" : [ { - "r" : "395", - "value" : [ "Date","(","2000",", ","3",", ","15",")" ] - } ] - }, { - "r" : "419", - "value" : [ " ","same day as"," " ] - }, { - "r" : "415", - "s" : [ { - "r" : "407", - "value" : [ "Date","(","2000",", ","3",", ","23",")" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "419", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "precision" : "Day", - "type" : "SameAs", - "signature" : [ { - "localId" : "420", - "name" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "421", - "name" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "403", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "Date", - "signature" : [ { - "localId" : "404", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "405", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "406", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "395", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "396", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "397", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal" - } - }, { - "localId" : "415", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "Date", - "signature" : [ { - "localId" : "416", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "417", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "418", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "407", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "408", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "409", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "23", - "type" : "Literal" - } - } ] - } - }, { - "localId" : "424", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "SameDayWrongMonth", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "424", - "s" : [ { - "value" : [ "","define ","SameDayWrongMonth",": " ] - }, { - "r" : "449", - "s" : [ { - "r" : "433", - "s" : [ { - "r" : "425", - "value" : [ "Date","(","2000",", ","3",", ","15",")" ] - } ] - }, { - "r" : "449", - "value" : [ " ","same day as"," " ] - }, { - "r" : "445", - "s" : [ { - "r" : "437", - "value" : [ "Date","(","2000",", ","4",", ","15",")" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "449", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "precision" : "Day", - "type" : "SameAs", - "signature" : [ { - "localId" : "450", - "name" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "451", - "name" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "433", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "Date", - "signature" : [ { - "localId" : "434", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "435", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "436", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "425", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "426", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "427", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal" - } - }, { - "localId" : "445", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "Date", - "signature" : [ { - "localId" : "446", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "447", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "448", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "437", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "438", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "4", - "type" : "Literal" - }, - "day" : { - "localId" : "439", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal" - } - } ] - } - }, { - "localId" : "454", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "Same", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "454", - "s" : [ { - "value" : [ "","define ","Same",": " ] - }, { - "r" : "479", - "s" : [ { - "r" : "463", - "s" : [ { - "r" : "455", - "value" : [ "Date","(","2000",", ","3",", ","15",")" ] - } ] - }, { - "r" : "479", - "value" : [ " ","same as"," " ] - }, { - "r" : "475", - "s" : [ { - "r" : "467", - "value" : [ "Date","(","2000",", ","3",", ","15",")" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "479", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "SameAs", - "signature" : [ { - "localId" : "480", - "name" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "481", - "name" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "463", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "Date", - "signature" : [ { - "localId" : "464", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "465", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "466", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "455", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "456", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "457", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal" - } - }, { - "localId" : "475", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "Date", - "signature" : [ { - "localId" : "476", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "477", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "478", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "467", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "468", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "469", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal" - } - } ] - } - }, { - "localId" : "484", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "NotSame", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "484", - "s" : [ { - "value" : [ "","define ","NotSame",": " ] - }, { - "r" : "509", - "s" : [ { - "r" : "493", - "s" : [ { - "r" : "485", - "value" : [ "Date","(","2000",", ","3",", ","16",")" ] - } ] - }, { - "r" : "509", - "value" : [ " ","same as"," " ] - }, { - "r" : "505", - "s" : [ { - "r" : "497", - "value" : [ "Date","(","2000",", ","3",", ","15",")" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "509", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "SameAs", - "signature" : [ { - "localId" : "510", - "name" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "511", - "name" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "493", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "Date", - "signature" : [ { - "localId" : "494", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "495", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "496", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "485", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "486", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "487", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "16", - "type" : "Literal" - } - }, { - "localId" : "505", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "Date", - "signature" : [ { - "localId" : "506", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "507", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "508", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "497", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "498", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "499", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal" - } - } ] - } - }, { - "localId" : "514", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "NullLeft", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "514", - "s" : [ { - "value" : [ "","define ","NullLeft",": " ] - }, { - "r" : "528", - "s" : [ { - "r" : "515", - "value" : [ "null"," ","same as"," " ] - }, { - "r" : "524", - "s" : [ { - "r" : "516", - "value" : [ "Date","(","2000",", ","3",", ","15",")" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "528", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "SameAs", - "signature" : [ { - "localId" : "530", - "name" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "531", - "name" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "529", - "asType" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "As", - "signature" : [ ], - "operand" : { - "localId" : "515", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - } - }, { - "localId" : "524", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "Date", - "signature" : [ { - "localId" : "525", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "526", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "527", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "516", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "517", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "518", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal" - } - } ] - } - }, { - "localId" : "534", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "NullRight", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "534", - "s" : [ { - "value" : [ "","define ","NullRight",": " ] - }, { - "r" : "550", - "s" : [ { - "r" : "543", - "s" : [ { - "r" : "535", - "value" : [ "Date","(","2000",", ","3",", ","15",")" ] - } ] - }, { - "r" : "550", - "value" : [ " ","same as"," " ] - }, { - "r" : "547", - "s" : [ { - "value" : [ "(" ] - }, { - "r" : "547", - "s" : [ { - "r" : "548", - "value" : [ "null"," as " ] - }, { - "r" : "549", - "s" : [ { - "value" : [ "Date" ] - } ] - } ] - }, { - "value" : [ ")" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "550", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "SameAs", - "signature" : [ { - "localId" : "551", - "name" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "552", - "name" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "543", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "Date", - "signature" : [ { - "localId" : "544", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "545", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "546", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "535", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "536", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "537", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal" - } - }, { - "localId" : "547", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", - "strict" : false, - "type" : "As", - "signature" : [ ], - "operand" : { - "localId" : "548", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - }, - "asTypeSpecifier" : { - "localId" : "549", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", - "name" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "NamedTypeSpecifier" - } - } ] - } - }, { - "localId" : "555", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "NullBoth", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "555", - "s" : [ { - "value" : [ "","define ","NullBoth",": " ] - }, { - "r" : "560", - "s" : [ { - "r" : "556", - "s" : [ { - "value" : [ "(" ] - }, { - "r" : "556", - "s" : [ { - "r" : "557", - "value" : [ "null"," as " ] - }, { - "r" : "558", - "s" : [ { - "value" : [ "Date" ] - } ] - } ] - }, { - "value" : [ ")" ] - } ] - }, { - "r" : "560", - "value" : [ " ","same as"," ","null" ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "560", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "SameAs", - "signature" : [ { - "localId" : "562", - "name" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "563", - "name" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "556", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", - "strict" : false, - "type" : "As", - "signature" : [ ], - "operand" : { - "localId" : "557", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - }, - "asTypeSpecifier" : { - "localId" : "558", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", - "name" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "561", - "asType" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "As", - "signature" : [ ], - "operand" : { - "localId" : "559", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - } - } ] - } - } ] + "library" : { + "localId" : "0", + "annotation" : [ { + "type" : "CqlToElmInfo", + "translatorVersion" : "4.2.0", + "translatorOptions" : "EnableDateRangeOptimization,EnableAnnotations,EnableResultTypes", + "signatureLevel" : "All" + }, { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "555", + "s" : [ { + "value" : [ "", "library TestSnippet version '1'" ] + } ] } - } -} - -/* SameOrAfter -library TestSnippet version '1' -using Simple version '1.0.0' -context Patient -define SameYear: Date(2000, 3, 15) same year or after Date(2000, 11, 23) -define YearAfter: Date(2000, 3, 15) same year or after Date(1999, 11, 23) -define YearBefore: Date(2000, 3, 15) same year or after Date(2001, 11, 23) -define SameMonth: Date(2000, 3, 15) same month or after Date(2000, 3, 23) -define MonthAfter: Date(2000, 3, 15) same month or after Date(2000, 2, 23) -define MonthBefore: Date(2000, 3, 15) same month or after Date(2000, 4, 23) -define SameDay: Date(2000, 3, 15) same day or after Date(2000, 3, 15) -define DayAfter: Date(2000, 3, 15) same day or after Date(2000, 3, 14) -define DayBefore: Date(2000, 3, 15) same day or after Date(2000, 3, 16) -define Same: Date(2000, 3, 15) same or after Date(2000, 3, 15) -define After: Date(2000, 3, 15) same or after Date(2000, 3, 15) -define Before: Date(2000, 3, 14) same or after Date(2000, 3, 15) -define SameDayMonthBefore: Date(2000, 3, 15) same day or after Date(2000, 4, 15) -define DayAfterMonthBefore: Date(2000, 3, 15) same day or after Date(2000, 4, 14) -define DayBeforeMonthAfter: Date(2000, 3, 15) same day or after Date(2000, 2, 16) -define ImpreciseDay: Date(2000, 3, 15) same day or after Date(2000, 3) -define ImpreciseDayMonthAfter: Date(2000, 3, 15) same day or after Date(2000, 2) -define ImpreciseDayMonthBefore: Date(2000, 3, 15) same day or after Date(2000, 4) -define NullLeft: null same or after Date(2000, 3, 15) -define NullRight: Date(2000, 3, 15) same or after null -define NullBoth: (null as Date) same or after null -*/ - -module.exports['SameOrAfter'] = { - "library" : { - "localId" : "0", - "annotation" : [ { - "translatorVersion" : "3.27.0", - "translatorOptions" : "EnableDateRangeOptimization,EnableAnnotations,EnableResultTypes", - "signatureLevel" : "All", - "type" : "CqlToElmInfo" - }, { - "type" : "Annotation", - "s" : { - "r" : "785", + } ], + "identifier" : { + "id" : "TestSnippet", + "version" : "1" + }, + "schemaIdentifier" : { + "id" : "urn:hl7-org:elm", + "version" : "r1" + }, + "usings" : { + "def" : [ { + "localId" : "1", + "localIdentifier" : "System", + "uri" : "urn:hl7-org:elm-types:r1", + "annotation" : [ ] + }, { + "localId" : "206", + "localIdentifier" : "Simple", + "uri" : "https://github.com/cqframework/cql-execution/simple", + "version" : "1.0.0", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "206", "s" : [ { - "value" : [ "","library TestSnippet version '1'" ] - } ] - } - } ], - "identifier" : { - "id" : "TestSnippet", - "version" : "1" - }, - "schemaIdentifier" : { - "id" : "urn:hl7-org:elm", - "version" : "r1" - }, - "usings" : { - "def" : [ { - "localId" : "1", - "localIdentifier" : "System", - "uri" : "urn:hl7-org:elm-types:r1" - }, { - "localId" : "206", - "localIdentifier" : "Simple", - "uri" : "https://github.com/cqframework/cql-execution/simple", - "version" : "1.0.0", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "206", - "s" : [ { - "value" : [ "","using " ] - }, { - "s" : [ { - "value" : [ "Simple" ] - } ] - }, { - "value" : [ " version '1.0.0'" ] - } ] - } - } ] - } ] - }, - "contexts" : { - "def" : [ { - "localId" : "211", - "name" : "Patient" - } ] - }, - "statements" : { - "def" : [ { - "localId" : "209", - "name" : "Patient", - "context" : "Patient", - "expression" : { - "localId" : "210", - "type" : "SingletonFrom", - "signature" : [ ], - "operand" : { - "localId" : "208", - "dataType" : "{https://github.com/cqframework/cql-execution/simple}Patient", - "type" : "Retrieve", - "include" : [ ], - "codeFilter" : [ ], - "dateFilter" : [ ], - "otherFilter" : [ ] - } - } - }, { - "localId" : "214", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "SameYear", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "214", - "s" : [ { - "value" : [ "","define ","SameYear",": " ] - }, { - "r" : "239", - "s" : [ { - "r" : "223", - "s" : [ { - "r" : "215", - "value" : [ "Date","(","2000",", ","3",", ","15",")" ] - } ] - }, { - "r" : "239", - "value" : [ " ","same year or after"," " ] - }, { - "r" : "235", - "s" : [ { - "r" : "227", - "value" : [ "Date","(","2000",", ","11",", ","23",")" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "239", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "precision" : "Year", - "type" : "SameOrAfter", - "signature" : [ { - "localId" : "240", - "name" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "241", - "name" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "223", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "Date", - "signature" : [ { - "localId" : "224", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "225", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "226", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "215", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "216", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "217", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal" - } - }, { - "localId" : "235", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "Date", - "signature" : [ { - "localId" : "236", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "237", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "238", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "227", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "228", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "11", - "type" : "Literal" - }, - "day" : { - "localId" : "229", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "23", - "type" : "Literal" - } - } ] - } - }, { - "localId" : "244", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "YearAfter", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "244", - "s" : [ { - "value" : [ "","define ","YearAfter",": " ] - }, { - "r" : "269", - "s" : [ { - "r" : "253", - "s" : [ { - "r" : "245", - "value" : [ "Date","(","2000",", ","3",", ","15",")" ] - } ] - }, { - "r" : "269", - "value" : [ " ","same year or after"," " ] - }, { - "r" : "265", - "s" : [ { - "r" : "257", - "value" : [ "Date","(","1999",", ","11",", ","23",")" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "269", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "precision" : "Year", - "type" : "SameOrAfter", - "signature" : [ { - "localId" : "270", - "name" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "271", - "name" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "253", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "Date", - "signature" : [ { - "localId" : "254", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "255", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "256", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "245", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "246", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "247", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal" - } - }, { - "localId" : "265", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "Date", - "signature" : [ { - "localId" : "266", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "267", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "268", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "257", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1999", - "type" : "Literal" - }, - "month" : { - "localId" : "258", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "11", - "type" : "Literal" - }, - "day" : { - "localId" : "259", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "23", - "type" : "Literal" - } - } ] - } - }, { - "localId" : "274", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "YearBefore", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "274", - "s" : [ { - "value" : [ "","define ","YearBefore",": " ] - }, { - "r" : "299", - "s" : [ { - "r" : "283", - "s" : [ { - "r" : "275", - "value" : [ "Date","(","2000",", ","3",", ","15",")" ] - } ] - }, { - "r" : "299", - "value" : [ " ","same year or after"," " ] - }, { - "r" : "295", - "s" : [ { - "r" : "287", - "value" : [ "Date","(","2001",", ","11",", ","23",")" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "299", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "precision" : "Year", - "type" : "SameOrAfter", - "signature" : [ { - "localId" : "300", - "name" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "301", - "name" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "283", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "Date", - "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" - }, { - "localId" : "286", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "275", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "276", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "277", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal" - } - }, { - "localId" : "295", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "Date", - "signature" : [ { - "localId" : "296", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "297", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "298", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "287", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2001", - "type" : "Literal" - }, - "month" : { - "localId" : "288", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "11", - "type" : "Literal" - }, - "day" : { - "localId" : "289", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "23", - "type" : "Literal" - } - } ] - } - }, { - "localId" : "304", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "SameMonth", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "304", - "s" : [ { - "value" : [ "","define ","SameMonth",": " ] - }, { - "r" : "329", - "s" : [ { - "r" : "313", - "s" : [ { - "r" : "305", - "value" : [ "Date","(","2000",", ","3",", ","15",")" ] - } ] - }, { - "r" : "329", - "value" : [ " ","same month or after"," " ] - }, { - "r" : "325", - "s" : [ { - "r" : "317", - "value" : [ "Date","(","2000",", ","3",", ","23",")" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "329", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "precision" : "Month", - "type" : "SameOrAfter", - "signature" : [ { - "localId" : "330", - "name" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "331", - "name" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "313", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "Date", - "signature" : [ { - "localId" : "314", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "315", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "316", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "305", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "306", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "307", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal" - } - }, { - "localId" : "325", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "Date", - "signature" : [ { - "localId" : "326", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "327", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "328", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "317", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "318", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "319", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "23", - "type" : "Literal" - } - } ] - } - }, { - "localId" : "334", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "MonthAfter", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "334", - "s" : [ { - "value" : [ "","define ","MonthAfter",": " ] - }, { - "r" : "359", - "s" : [ { - "r" : "343", - "s" : [ { - "r" : "335", - "value" : [ "Date","(","2000",", ","3",", ","15",")" ] - } ] - }, { - "r" : "359", - "value" : [ " ","same month or after"," " ] - }, { - "r" : "355", - "s" : [ { - "r" : "347", - "value" : [ "Date","(","2000",", ","2",", ","23",")" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "359", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "precision" : "Month", - "type" : "SameOrAfter", - "signature" : [ { - "localId" : "360", - "name" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "361", - "name" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "343", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "Date", - "signature" : [ { - "localId" : "344", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "345", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "346", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "335", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "336", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "337", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal" - } - }, { - "localId" : "355", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "Date", - "signature" : [ { - "localId" : "356", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "357", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "358", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "347", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "348", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal" - }, - "day" : { - "localId" : "349", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "23", - "type" : "Literal" - } - } ] - } - }, { - "localId" : "364", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "MonthBefore", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "364", - "s" : [ { - "value" : [ "","define ","MonthBefore",": " ] - }, { - "r" : "389", - "s" : [ { - "r" : "373", - "s" : [ { - "r" : "365", - "value" : [ "Date","(","2000",", ","3",", ","15",")" ] - } ] - }, { - "r" : "389", - "value" : [ " ","same month or after"," " ] - }, { - "r" : "385", - "s" : [ { - "r" : "377", - "value" : [ "Date","(","2000",", ","4",", ","23",")" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "389", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "precision" : "Month", - "type" : "SameOrAfter", - "signature" : [ { - "localId" : "390", - "name" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "391", - "name" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "373", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "Date", - "signature" : [ { - "localId" : "374", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "375", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "376", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "365", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "366", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "367", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal" - } - }, { - "localId" : "385", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "Date", - "signature" : [ { - "localId" : "386", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "387", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "388", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "377", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "378", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "4", - "type" : "Literal" - }, - "day" : { - "localId" : "379", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "23", - "type" : "Literal" - } - } ] - } - }, { - "localId" : "394", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "SameDay", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "394", - "s" : [ { - "value" : [ "","define ","SameDay",": " ] - }, { - "r" : "419", - "s" : [ { - "r" : "403", - "s" : [ { - "r" : "395", - "value" : [ "Date","(","2000",", ","3",", ","15",")" ] - } ] - }, { - "r" : "419", - "value" : [ " ","same day or after"," " ] - }, { - "r" : "415", - "s" : [ { - "r" : "407", - "value" : [ "Date","(","2000",", ","3",", ","15",")" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "419", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "precision" : "Day", - "type" : "SameOrAfter", - "signature" : [ { - "localId" : "420", - "name" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "421", - "name" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "403", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "Date", - "signature" : [ { - "localId" : "404", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "405", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "406", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "395", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "396", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "397", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal" - } - }, { - "localId" : "415", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "Date", - "signature" : [ { - "localId" : "416", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "417", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "418", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "407", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "408", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "409", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal" - } - } ] - } - }, { - "localId" : "424", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "DayAfter", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "424", - "s" : [ { - "value" : [ "","define ","DayAfter",": " ] - }, { - "r" : "449", - "s" : [ { - "r" : "433", - "s" : [ { - "r" : "425", - "value" : [ "Date","(","2000",", ","3",", ","15",")" ] - } ] - }, { - "r" : "449", - "value" : [ " ","same day or after"," " ] - }, { - "r" : "445", - "s" : [ { - "r" : "437", - "value" : [ "Date","(","2000",", ","3",", ","14",")" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "449", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "precision" : "Day", - "type" : "SameOrAfter", - "signature" : [ { - "localId" : "450", - "name" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "451", - "name" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "433", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "Date", - "signature" : [ { - "localId" : "434", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "435", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "436", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "425", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "426", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "427", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal" - } - }, { - "localId" : "445", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "Date", - "signature" : [ { - "localId" : "446", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "447", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "448", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "437", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "438", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "439", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "14", - "type" : "Literal" - } - } ] - } - }, { - "localId" : "454", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "DayBefore", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "454", - "s" : [ { - "value" : [ "","define ","DayBefore",": " ] - }, { - "r" : "479", - "s" : [ { - "r" : "463", - "s" : [ { - "r" : "455", - "value" : [ "Date","(","2000",", ","3",", ","15",")" ] - } ] - }, { - "r" : "479", - "value" : [ " ","same day or after"," " ] - }, { - "r" : "475", - "s" : [ { - "r" : "467", - "value" : [ "Date","(","2000",", ","3",", ","16",")" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "479", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "precision" : "Day", - "type" : "SameOrAfter", - "signature" : [ { - "localId" : "480", - "name" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "481", - "name" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "463", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "Date", - "signature" : [ { - "localId" : "464", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "465", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "466", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "455", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "456", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "457", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal" - } - }, { - "localId" : "475", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "Date", - "signature" : [ { - "localId" : "476", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "477", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "478", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "467", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "468", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "469", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "16", - "type" : "Literal" - } - } ] - } - }, { - "localId" : "484", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "Same", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "484", + "value" : [ "", "using " ] + }, { + "s" : [ { + "value" : [ "Simple" ] + } ] + }, { + "value" : [ " version '1.0.0'" ] + } ] + } + } ] + } ] + }, + "contexts" : { + "def" : [ { + "localId" : "211", + "name" : "Patient", + "annotation" : [ ] + } ] + }, + "statements" : { + "def" : [ { + "localId" : "209", + "name" : "Patient", + "context" : "Patient", + "annotation" : [ ], + "expression" : { + "type" : "SingletonFrom", + "localId" : "210", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Retrieve", + "localId" : "208", + "dataType" : "{https://github.com/cqframework/cql-execution/simple}Patient", + "annotation" : [ ], + "include" : [ ], + "codeFilter" : [ ], + "dateFilter" : [ ], + "otherFilter" : [ ] + } + } + }, { + "localId" : "214", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "SameYear", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "214", + "s" : [ { + "value" : [ "", "define ", "SameYear", ": " ] + }, { + "r" : "239", + "s" : [ { + "r" : "223", + "s" : [ { + "r" : "215", + "value" : [ "Date", "(", "2000", ", ", "3", ", ", "15", ")" ] + } ] + }, { + "r" : "239", + "value" : [ " ", "same year as", " " ] + }, { + "r" : "235", + "s" : [ { + "r" : "227", + "value" : [ "Date", "(", "2000", ", ", "11", ", ", "23", ")" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "SameAs", + "localId" : "239", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "precision" : "Year", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "240", + "name" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "241", + "name" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "Date", + "localId" : "223", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "224", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "225", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "226", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "215", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "216", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "217", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "15", + "annotation" : [ ] + } + }, { + "type" : "Date", + "localId" : "235", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "236", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "237", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "238", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "227", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "228", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "11", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "229", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "23", + "annotation" : [ ] + } + } ] + } + }, { + "localId" : "244", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "NotSameYear", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "244", + "s" : [ { + "value" : [ "", "define ", "NotSameYear", ": " ] + }, { + "r" : "269", + "s" : [ { + "r" : "253", + "s" : [ { + "r" : "245", + "value" : [ "Date", "(", "2000", ", ", "3", ", ", "15", ")" ] + } ] + }, { + "r" : "269", + "value" : [ " ", "same year as", " " ] + }, { + "r" : "265", + "s" : [ { + "r" : "257", + "value" : [ "Date", "(", "2001", ", ", "11", ", ", "23", ")" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "SameAs", + "localId" : "269", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "precision" : "Year", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "270", + "name" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "271", + "name" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "Date", + "localId" : "253", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "254", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "255", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "256", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "245", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "246", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "247", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "15", + "annotation" : [ ] + } + }, { + "type" : "Date", + "localId" : "265", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "266", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "267", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "268", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "257", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2001", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "258", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "11", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "259", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "23", + "annotation" : [ ] + } + } ] + } + }, { + "localId" : "274", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "SameMonth", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "274", + "s" : [ { + "value" : [ "", "define ", "SameMonth", ": " ] + }, { + "r" : "299", + "s" : [ { + "r" : "283", + "s" : [ { + "r" : "275", + "value" : [ "Date", "(", "2000", ", ", "3", ", ", "15", ")" ] + } ] + }, { + "r" : "299", + "value" : [ " ", "same month as", " " ] + }, { + "r" : "295", + "s" : [ { + "r" : "287", + "value" : [ "Date", "(", "2000", ", ", "3", ", ", "23", ")" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "SameAs", + "localId" : "299", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "precision" : "Month", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "300", + "name" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "301", + "name" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "Date", + "localId" : "283", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "284", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "285", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "286", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "275", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "276", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "277", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "15", + "annotation" : [ ] + } + }, { + "type" : "Date", + "localId" : "295", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "296", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "297", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "298", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "287", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "288", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "289", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "23", + "annotation" : [ ] + } + } ] + } + }, { + "localId" : "304", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "NotSameMonth", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "304", + "s" : [ { + "value" : [ "", "define ", "NotSameMonth", ": " ] + }, { + "r" : "329", + "s" : [ { + "r" : "313", + "s" : [ { + "r" : "305", + "value" : [ "Date", "(", "2000", ", ", "3", ", ", "15", ")" ] + } ] + }, { + "r" : "329", + "value" : [ " ", "same month as", " " ] + }, { + "r" : "325", + "s" : [ { + "r" : "317", + "value" : [ "Date", "(", "2000", ", ", "4", ", ", "23", ")" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "SameAs", + "localId" : "329", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "precision" : "Month", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "330", + "name" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "331", + "name" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "Date", + "localId" : "313", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "314", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "315", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "316", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "305", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "306", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "307", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "15", + "annotation" : [ ] + } + }, { + "type" : "Date", + "localId" : "325", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "326", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "327", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "328", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "317", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "318", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "4", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "319", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "23", + "annotation" : [ ] + } + } ] + } + }, { + "localId" : "334", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "SameMonthWrongYear", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "334", + "s" : [ { + "value" : [ "", "define ", "SameMonthWrongYear", ": " ] + }, { + "r" : "359", + "s" : [ { + "r" : "343", + "s" : [ { + "r" : "335", + "value" : [ "Date", "(", "2000", ", ", "3", ", ", "15", ")" ] + } ] + }, { + "r" : "359", + "value" : [ " ", "same month as", " " ] + }, { + "r" : "355", + "s" : [ { + "r" : "347", + "value" : [ "Date", "(", "2001", ", ", "3", ", ", "23", ")" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "SameAs", + "localId" : "359", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "precision" : "Month", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "360", + "name" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "361", + "name" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "Date", + "localId" : "343", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "344", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "345", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "346", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "335", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "336", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "337", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "15", + "annotation" : [ ] + } + }, { + "type" : "Date", + "localId" : "355", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "356", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "357", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "358", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "347", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2001", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "348", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "349", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "23", + "annotation" : [ ] + } + } ] + } + }, { + "localId" : "364", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "SameDay", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "364", + "s" : [ { + "value" : [ "", "define ", "SameDay", ": " ] + }, { + "r" : "389", + "s" : [ { + "r" : "373", + "s" : [ { + "r" : "365", + "value" : [ "Date", "(", "2000", ", ", "3", ", ", "15", ")" ] + } ] + }, { + "r" : "389", + "value" : [ " ", "same day as", " " ] + }, { + "r" : "385", + "s" : [ { + "r" : "377", + "value" : [ "Date", "(", "2000", ", ", "3", ", ", "15", ")" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "SameAs", + "localId" : "389", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "precision" : "Day", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "390", + "name" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "391", + "name" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "Date", + "localId" : "373", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "374", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "375", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "376", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "365", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "366", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "367", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "15", + "annotation" : [ ] + } + }, { + "type" : "Date", + "localId" : "385", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "386", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "387", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "388", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "377", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "378", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "379", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "15", + "annotation" : [ ] + } + } ] + } + }, { + "localId" : "394", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "NotSameDay", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "394", + "s" : [ { + "value" : [ "", "define ", "NotSameDay", ": " ] + }, { + "r" : "419", + "s" : [ { + "r" : "403", + "s" : [ { + "r" : "395", + "value" : [ "Date", "(", "2000", ", ", "3", ", ", "15", ")" ] + } ] + }, { + "r" : "419", + "value" : [ " ", "same day as", " " ] + }, { + "r" : "415", + "s" : [ { + "r" : "407", + "value" : [ "Date", "(", "2000", ", ", "3", ", ", "23", ")" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "SameAs", + "localId" : "419", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "precision" : "Day", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "420", + "name" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "421", + "name" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "Date", + "localId" : "403", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "404", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "405", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "406", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "395", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "396", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "397", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "15", + "annotation" : [ ] + } + }, { + "type" : "Date", + "localId" : "415", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "416", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "417", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "418", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "407", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "408", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "409", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "23", + "annotation" : [ ] + } + } ] + } + }, { + "localId" : "424", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "SameDayWrongMonth", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "424", + "s" : [ { + "value" : [ "", "define ", "SameDayWrongMonth", ": " ] + }, { + "r" : "449", + "s" : [ { + "r" : "433", + "s" : [ { + "r" : "425", + "value" : [ "Date", "(", "2000", ", ", "3", ", ", "15", ")" ] + } ] + }, { + "r" : "449", + "value" : [ " ", "same day as", " " ] + }, { + "r" : "445", + "s" : [ { + "r" : "437", + "value" : [ "Date", "(", "2000", ", ", "4", ", ", "15", ")" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "SameAs", + "localId" : "449", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "precision" : "Day", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "450", + "name" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "451", + "name" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "Date", + "localId" : "433", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "434", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "435", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "436", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "425", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "426", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "427", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "15", + "annotation" : [ ] + } + }, { + "type" : "Date", + "localId" : "445", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "446", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "447", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "448", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "437", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "438", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "4", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "439", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "15", + "annotation" : [ ] + } + } ] + } + }, { + "localId" : "454", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "Same", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "454", + "s" : [ { + "value" : [ "", "define ", "Same", ": " ] + }, { + "r" : "479", + "s" : [ { + "r" : "463", + "s" : [ { + "r" : "455", + "value" : [ "Date", "(", "2000", ", ", "3", ", ", "15", ")" ] + } ] + }, { + "r" : "479", + "value" : [ " ", "same as", " " ] + }, { + "r" : "475", + "s" : [ { + "r" : "467", + "value" : [ "Date", "(", "2000", ", ", "3", ", ", "15", ")" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "SameAs", + "localId" : "479", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "480", + "name" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "481", + "name" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "Date", + "localId" : "463", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "464", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "465", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "466", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "455", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "456", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "457", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "15", + "annotation" : [ ] + } + }, { + "type" : "Date", + "localId" : "475", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "476", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "477", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "478", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "467", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "468", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "469", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "15", + "annotation" : [ ] + } + } ] + } + }, { + "localId" : "484", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "NotSame", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "484", + "s" : [ { + "value" : [ "", "define ", "NotSame", ": " ] + }, { + "r" : "509", + "s" : [ { + "r" : "493", + "s" : [ { + "r" : "485", + "value" : [ "Date", "(", "2000", ", ", "3", ", ", "16", ")" ] + } ] + }, { + "r" : "509", + "value" : [ " ", "same as", " " ] + }, { + "r" : "505", + "s" : [ { + "r" : "497", + "value" : [ "Date", "(", "2000", ", ", "3", ", ", "15", ")" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "SameAs", + "localId" : "509", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "510", + "name" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "511", + "name" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "Date", + "localId" : "493", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "494", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "495", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "496", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "485", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "486", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "487", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "16", + "annotation" : [ ] + } + }, { + "type" : "Date", + "localId" : "505", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "506", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "507", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "508", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "497", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "498", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "499", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "15", + "annotation" : [ ] + } + } ] + } + }, { + "localId" : "514", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "NullLeft", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "514", + "s" : [ { + "value" : [ "", "define ", "NullLeft", ": " ] + }, { + "r" : "528", + "s" : [ { + "r" : "515", + "value" : [ "null", " ", "same as", " " ] + }, { + "r" : "524", + "s" : [ { + "r" : "516", + "value" : [ "Date", "(", "2000", ", ", "3", ", ", "15", ")" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "SameAs", + "localId" : "528", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "530", + "name" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "531", + "name" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "As", + "localId" : "529", + "asType" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Null", + "localId" : "515", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } + }, { + "type" : "Date", + "localId" : "524", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "525", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "526", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "527", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "516", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "517", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "518", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "15", + "annotation" : [ ] + } + } ] + } + }, { + "localId" : "534", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "NullRight", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "534", + "s" : [ { + "value" : [ "", "define ", "NullRight", ": " ] + }, { + "r" : "550", + "s" : [ { + "r" : "543", + "s" : [ { + "r" : "535", + "value" : [ "Date", "(", "2000", ", ", "3", ", ", "15", ")" ] + } ] + }, { + "r" : "550", + "value" : [ " ", "same as", " " ] + }, { + "r" : "547", + "s" : [ { + "value" : [ "(" ] + }, { + "r" : "547", "s" : [ { - "value" : [ "","define ","Same",": " ] + "r" : "548", + "value" : [ "null", " as " ] }, { - "r" : "509", - "s" : [ { - "r" : "493", - "s" : [ { - "r" : "485", - "value" : [ "Date","(","2000",", ","3",", ","15",")" ] - } ] - }, { - "r" : "509", - "value" : [ " ","same or after"," " ] - }, { - "r" : "505", - "s" : [ { - "r" : "497", - "value" : [ "Date","(","2000",", ","3",", ","15",")" ] - } ] - } ] + "r" : "549", + "s" : [ { + "value" : [ "Date" ] + } ] } ] - } - } ], - "expression" : { - "localId" : "509", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "SameOrAfter", - "signature" : [ { - "localId" : "510", - "name" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "511", - "name" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "493", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "Date", - "signature" : [ { - "localId" : "494", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "495", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "496", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "485", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "486", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "487", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal" - } - }, { - "localId" : "505", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "Date", - "signature" : [ { - "localId" : "506", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "507", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "508", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "497", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "498", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "499", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal" - } - } ] - } - }, { - "localId" : "514", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "After", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "514", + }, { + "value" : [ ")" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "SameAs", + "localId" : "550", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "551", + "name" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "552", + "name" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "Date", + "localId" : "543", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "544", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "545", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "546", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "535", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "536", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "537", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "15", + "annotation" : [ ] + } + }, { + "type" : "As", + "localId" : "547", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", + "strict" : false, + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Null", + "localId" : "548", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + }, + "asTypeSpecifier" : { + "type" : "NamedTypeSpecifier", + "localId" : "549", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", + "name" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ] + } + } ] + } + }, { + "localId" : "555", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "NullBoth", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "555", + "s" : [ { + "value" : [ "", "define ", "NullBoth", ": " ] + }, { + "r" : "560", + "s" : [ { + "r" : "556", + "s" : [ { + "value" : [ "(" ] + }, { + "r" : "556", "s" : [ { - "value" : [ "","define ","After",": " ] + "r" : "557", + "value" : [ "null", " as " ] }, { - "r" : "539", - "s" : [ { - "r" : "523", - "s" : [ { - "r" : "515", - "value" : [ "Date","(","2000",", ","3",", ","15",")" ] - } ] - }, { - "r" : "539", - "value" : [ " ","same or after"," " ] - }, { - "r" : "535", - "s" : [ { - "r" : "527", - "value" : [ "Date","(","2000",", ","3",", ","15",")" ] - } ] - } ] + "r" : "558", + "s" : [ { + "value" : [ "Date" ] + } ] } ] - } - } ], - "expression" : { - "localId" : "539", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "SameOrAfter", - "signature" : [ { - "localId" : "540", - "name" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "541", - "name" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "523", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "Date", - "signature" : [ { - "localId" : "524", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "525", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "526", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "515", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "516", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "517", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal" - } - }, { - "localId" : "535", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "Date", - "signature" : [ { - "localId" : "536", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "537", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "538", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "527", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "528", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "529", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal" - } - } ] - } - }, { - "localId" : "544", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "Before", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "544", - "s" : [ { - "value" : [ "","define ","Before",": " ] - }, { - "r" : "569", - "s" : [ { - "r" : "553", - "s" : [ { - "r" : "545", - "value" : [ "Date","(","2000",", ","3",", ","14",")" ] - } ] - }, { - "r" : "569", - "value" : [ " ","same or after"," " ] - }, { - "r" : "565", - "s" : [ { - "r" : "557", - "value" : [ "Date","(","2000",", ","3",", ","15",")" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "569", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "SameOrAfter", - "signature" : [ { - "localId" : "570", - "name" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "571", - "name" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "553", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "Date", - "signature" : [ { - "localId" : "554", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "555", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "556", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "545", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "546", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "547", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "14", - "type" : "Literal" - } - }, { - "localId" : "565", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "Date", - "signature" : [ { - "localId" : "566", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "567", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "568", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "557", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "558", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "559", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal" - } - } ] - } - }, { - "localId" : "574", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "SameDayMonthBefore", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "574", - "s" : [ { - "value" : [ "","define ","SameDayMonthBefore",": " ] - }, { - "r" : "599", - "s" : [ { - "r" : "583", - "s" : [ { - "r" : "575", - "value" : [ "Date","(","2000",", ","3",", ","15",")" ] - } ] - }, { - "r" : "599", - "value" : [ " ","same day or after"," " ] - }, { - "r" : "595", - "s" : [ { - "r" : "587", - "value" : [ "Date","(","2000",", ","4",", ","15",")" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "599", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "precision" : "Day", - "type" : "SameOrAfter", - "signature" : [ { - "localId" : "600", - "name" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "601", - "name" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "583", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "Date", - "signature" : [ { - "localId" : "584", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "585", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "586", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "575", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "576", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "577", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal" - } - }, { - "localId" : "595", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "Date", - "signature" : [ { - "localId" : "596", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "597", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "598", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "587", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "588", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "4", - "type" : "Literal" - }, - "day" : { - "localId" : "589", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal" - } - } ] - } - }, { - "localId" : "604", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "DayAfterMonthBefore", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "604", - "s" : [ { - "value" : [ "","define ","DayAfterMonthBefore",": " ] - }, { - "r" : "629", - "s" : [ { - "r" : "613", - "s" : [ { - "r" : "605", - "value" : [ "Date","(","2000",", ","3",", ","15",")" ] - } ] - }, { - "r" : "629", - "value" : [ " ","same day or after"," " ] - }, { - "r" : "625", - "s" : [ { - "r" : "617", - "value" : [ "Date","(","2000",", ","4",", ","14",")" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "629", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "precision" : "Day", - "type" : "SameOrAfter", - "signature" : [ { - "localId" : "630", - "name" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "631", - "name" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "613", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "Date", - "signature" : [ { - "localId" : "614", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "615", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "616", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "605", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "606", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "607", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal" - } - }, { - "localId" : "625", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "Date", - "signature" : [ { - "localId" : "626", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "627", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "628", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "617", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "618", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "4", - "type" : "Literal" - }, - "day" : { - "localId" : "619", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "14", - "type" : "Literal" - } - } ] - } - }, { - "localId" : "634", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "DayBeforeMonthAfter", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "634", - "s" : [ { - "value" : [ "","define ","DayBeforeMonthAfter",": " ] - }, { - "r" : "659", - "s" : [ { - "r" : "643", - "s" : [ { - "r" : "635", - "value" : [ "Date","(","2000",", ","3",", ","15",")" ] - } ] - }, { - "r" : "659", - "value" : [ " ","same day or after"," " ] - }, { - "r" : "655", - "s" : [ { - "r" : "647", - "value" : [ "Date","(","2000",", ","2",", ","16",")" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "659", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "precision" : "Day", - "type" : "SameOrAfter", - "signature" : [ { - "localId" : "660", - "name" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "661", - "name" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "643", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "Date", - "signature" : [ { - "localId" : "644", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "645", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "646", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "635", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "636", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "637", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal" - } - }, { - "localId" : "655", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "Date", - "signature" : [ { - "localId" : "656", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "657", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "658", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "647", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "648", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal" - }, - "day" : { - "localId" : "649", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "16", - "type" : "Literal" - } - } ] - } - }, { - "localId" : "664", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "ImpreciseDay", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "664", - "s" : [ { - "value" : [ "","define ","ImpreciseDay",": " ] - }, { - "r" : "686", - "s" : [ { - "r" : "673", - "s" : [ { - "r" : "665", - "value" : [ "Date","(","2000",", ","3",", ","15",")" ] - } ] - }, { - "r" : "686", - "value" : [ " ","same day or after"," " ] - }, { - "r" : "683", - "s" : [ { - "r" : "677", - "value" : [ "Date","(","2000",", ","3",")" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "686", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "precision" : "Day", - "type" : "SameOrAfter", - "signature" : [ { - "localId" : "687", - "name" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "688", - "name" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "673", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "Date", - "signature" : [ { - "localId" : "674", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "675", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "676", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "665", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "666", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "667", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal" - } - }, { - "localId" : "683", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "Date", - "signature" : [ { - "localId" : "684", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "685", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "677", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "678", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - } - } ] - } - }, { - "localId" : "691", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "ImpreciseDayMonthAfter", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "691", - "s" : [ { - "value" : [ "","define ","ImpreciseDayMonthAfter",": " ] - }, { - "r" : "713", - "s" : [ { - "r" : "700", - "s" : [ { - "r" : "692", - "value" : [ "Date","(","2000",", ","3",", ","15",")" ] - } ] - }, { - "r" : "713", - "value" : [ " ","same day or after"," " ] - }, { - "r" : "710", - "s" : [ { - "r" : "704", - "value" : [ "Date","(","2000",", ","2",")" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "713", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "precision" : "Day", - "type" : "SameOrAfter", - "signature" : [ { - "localId" : "714", - "name" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "715", - "name" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "700", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "Date", - "signature" : [ { - "localId" : "701", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "702", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "703", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "692", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "693", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "694", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal" - } - }, { - "localId" : "710", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "Date", - "signature" : [ { - "localId" : "711", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "712", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "704", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "705", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal" - } - } ] - } - }, { - "localId" : "718", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "ImpreciseDayMonthBefore", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "718", - "s" : [ { - "value" : [ "","define ","ImpreciseDayMonthBefore",": " ] - }, { - "r" : "740", - "s" : [ { - "r" : "727", - "s" : [ { - "r" : "719", - "value" : [ "Date","(","2000",", ","3",", ","15",")" ] - } ] - }, { - "r" : "740", - "value" : [ " ","same day or after"," " ] - }, { - "r" : "737", - "s" : [ { - "r" : "731", - "value" : [ "Date","(","2000",", ","4",")" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "740", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "precision" : "Day", - "type" : "SameOrAfter", - "signature" : [ { - "localId" : "741", - "name" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "742", - "name" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "727", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "Date", - "signature" : [ { - "localId" : "728", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "729", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "730", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "719", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "720", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "721", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal" - } - }, { - "localId" : "737", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "Date", - "signature" : [ { - "localId" : "738", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "739", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "731", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "732", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "4", - "type" : "Literal" - } - } ] - } - }, { - "localId" : "745", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "NullLeft", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "745", - "s" : [ { - "value" : [ "","define ","NullLeft",": " ] - }, { - "r" : "759", - "s" : [ { - "r" : "746", - "value" : [ "null"," ","same or after"," " ] - }, { - "r" : "755", - "s" : [ { - "r" : "747", - "value" : [ "Date","(","2000",", ","3",", ","15",")" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "759", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "SameOrAfter", - "signature" : [ { - "localId" : "761", - "name" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "762", - "name" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "760", - "asType" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "As", - "signature" : [ ], - "operand" : { - "localId" : "746", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - } - }, { - "localId" : "755", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "Date", - "signature" : [ { - "localId" : "756", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "757", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "758", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "747", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "748", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "749", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal" - } - } ] - } - }, { - "localId" : "765", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "NullRight", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "765", - "s" : [ { - "value" : [ "","define ","NullRight",": " ] - }, { - "r" : "779", - "s" : [ { - "r" : "774", - "s" : [ { - "r" : "766", - "value" : [ "Date","(","2000",", ","3",", ","15",")" ] - } ] - }, { - "r" : "779", - "value" : [ " ","same or after"," ","null" ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "779", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "SameOrAfter", - "signature" : [ { - "localId" : "781", - "name" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "782", - "name" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "774", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "Date", - "signature" : [ { - "localId" : "775", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "776", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "777", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "766", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "767", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "768", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal" - } - }, { - "localId" : "780", - "asType" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "As", - "signature" : [ ], - "operand" : { - "localId" : "778", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - } - } ] - } - }, { - "localId" : "785", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "NullBoth", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "785", - "s" : [ { - "value" : [ "","define ","NullBoth",": " ] - }, { - "r" : "790", - "s" : [ { - "r" : "786", - "s" : [ { - "value" : [ "(" ] - }, { - "r" : "786", - "s" : [ { - "r" : "787", - "value" : [ "null"," as " ] - }, { - "r" : "788", - "s" : [ { - "value" : [ "Date" ] - } ] - } ] - }, { - "value" : [ ")" ] - } ] - }, { - "r" : "790", - "value" : [ " ","same or after"," ","null" ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "790", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "SameOrAfter", - "signature" : [ { - "localId" : "792", - "name" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "793", - "name" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "786", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", - "strict" : false, - "type" : "As", - "signature" : [ ], - "operand" : { - "localId" : "787", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - }, - "asTypeSpecifier" : { - "localId" : "788", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", - "name" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "791", - "asType" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "As", - "signature" : [ ], - "operand" : { - "localId" : "789", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - } - } ] - } - } ] - } - } + }, { + "value" : [ ")" ] + } ] + }, { + "r" : "560", + "value" : [ " ", "same as", " ", "null" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "SameAs", + "localId" : "560", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "562", + "name" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "563", + "name" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "As", + "localId" : "556", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", + "strict" : false, + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Null", + "localId" : "557", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + }, + "asTypeSpecifier" : { + "type" : "NamedTypeSpecifier", + "localId" : "558", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", + "name" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ] + } + }, { + "type" : "As", + "localId" : "561", + "asType" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Null", + "localId" : "559", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } + } ] + } + } ] + } + } } -/* SameOrBefore +/* SameOrAfter library TestSnippet version '1' using Simple version '1.0.0' context Patient -define SameYear: Date(2000, 3, 15) same year or before Date(2000, 11, 23) -define YearAfter: Date(2000, 3, 15) same year or before Date(1999, 11, 23) -define YearBefore: Date(2000, 3, 15) same year or before Date(2001, 11, 23) -define SameMonth: Date(2000, 3, 15) same month or before Date(2000, 3, 23) -define MonthAfter: Date(2000, 3, 15) same month or before Date(2000, 2, 23) -define MonthBefore: Date(2000, 3, 15) same month or before Date(2000, 4, 23) -define SameDay: Date(2000, 3, 15) same day or before Date(2000, 3, 15) -define DayAfter: Date(2000, 3, 15) same day or before Date(2000, 3, 14) -define DayBefore: Date(2000, 3, 15) same day or before Date(2000, 3, 16) -define Same: Date(2000, 3, 15) same or before Date(2000, 3, 15) -define After: Date(2000, 3, 16) same or before Date(2000, 3, 15) -define Before: Date(2000, 3, 15) same or before Date(2000, 3, 15) -define SameDayMonthBefore: Date(2000, 3, 15) same day or before Date(2000, 4, 15) -define DayAfterMonthBefore: Date(2000, 3, 15) same day or before Date(2000, 4, 14) -define DayBeforeMonthAfter: Date(2000, 3, 15) same day or before Date(2000, 2, 16) -define ImpreciseDay: Date(2000, 3, 15) same day or before Date(2000, 3) -define ImpreciseDayMonthAfter: Date(2000, 3, 15) same day or before Date(2000, 2) -define ImpreciseDayMonthBefore: Date(2000, 3, 15) same day or before Date(2000, 4) -define NullLeft: null same or before Date(2000, 3, 15) -define NullRight: Date(2000, 3, 15) same or before null -define NullBoth: (null as Date) same or before null +define SameYear: Date(2000, 3, 15) same year or after Date(2000, 11, 23) +define YearAfter: Date(2000, 3, 15) same year or after Date(1999, 11, 23) +define YearBefore: Date(2000, 3, 15) same year or after Date(2001, 11, 23) +define SameMonth: Date(2000, 3, 15) same month or after Date(2000, 3, 23) +define MonthAfter: Date(2000, 3, 15) same month or after Date(2000, 2, 23) +define MonthBefore: Date(2000, 3, 15) same month or after Date(2000, 4, 23) +define SameDay: Date(2000, 3, 15) same day or after Date(2000, 3, 15) +define DayAfter: Date(2000, 3, 15) same day or after Date(2000, 3, 14) +define DayBefore: Date(2000, 3, 15) same day or after Date(2000, 3, 16) +define Same: Date(2000, 3, 15) same or after Date(2000, 3, 15) +define After: Date(2000, 3, 15) same or after Date(2000, 3, 15) +define Before: Date(2000, 3, 14) same or after Date(2000, 3, 15) +define SameDayMonthBefore: Date(2000, 3, 15) same day or after Date(2000, 4, 15) +define DayAfterMonthBefore: Date(2000, 3, 15) same day or after Date(2000, 4, 14) +define DayBeforeMonthAfter: Date(2000, 3, 15) same day or after Date(2000, 2, 16) +define ImpreciseDay: Date(2000, 3, 15) same day or after Date(2000, 3) +define ImpreciseDayMonthAfter: Date(2000, 3, 15) same day or after Date(2000, 2) +define ImpreciseDayMonthBefore: Date(2000, 3, 15) same day or after Date(2000, 4) +define NullLeft: null same or after Date(2000, 3, 15) +define NullRight: Date(2000, 3, 15) same or after null +define NullBoth: (null as Date) same or after null */ -module.exports['SameOrBefore'] = { - "library" : { - "localId" : "0", - "annotation" : [ { - "translatorVersion" : "3.27.0", - "translatorOptions" : "EnableDateRangeOptimization,EnableAnnotations,EnableResultTypes", - "signatureLevel" : "All", - "type" : "CqlToElmInfo" - }, { - "type" : "Annotation", - "s" : { - "r" : "785", +module.exports['SameOrAfter'] = { + "library" : { + "localId" : "0", + "annotation" : [ { + "type" : "CqlToElmInfo", + "translatorVersion" : "4.2.0", + "translatorOptions" : "EnableDateRangeOptimization,EnableAnnotations,EnableResultTypes", + "signatureLevel" : "All" + }, { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "785", + "s" : [ { + "value" : [ "", "library TestSnippet version '1'" ] + } ] + } + } ], + "identifier" : { + "id" : "TestSnippet", + "version" : "1" + }, + "schemaIdentifier" : { + "id" : "urn:hl7-org:elm", + "version" : "r1" + }, + "usings" : { + "def" : [ { + "localId" : "1", + "localIdentifier" : "System", + "uri" : "urn:hl7-org:elm-types:r1", + "annotation" : [ ] + }, { + "localId" : "206", + "localIdentifier" : "Simple", + "uri" : "https://github.com/cqframework/cql-execution/simple", + "version" : "1.0.0", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "206", "s" : [ { - "value" : [ "","library TestSnippet version '1'" ] - } ] - } - } ], - "identifier" : { - "id" : "TestSnippet", - "version" : "1" - }, - "schemaIdentifier" : { - "id" : "urn:hl7-org:elm", - "version" : "r1" - }, - "usings" : { - "def" : [ { - "localId" : "1", - "localIdentifier" : "System", - "uri" : "urn:hl7-org:elm-types:r1" - }, { - "localId" : "206", - "localIdentifier" : "Simple", - "uri" : "https://github.com/cqframework/cql-execution/simple", - "version" : "1.0.0", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "206", - "s" : [ { - "value" : [ "","using " ] - }, { - "s" : [ { - "value" : [ "Simple" ] - } ] - }, { - "value" : [ " version '1.0.0'" ] - } ] - } - } ] - } ] - }, - "contexts" : { - "def" : [ { - "localId" : "211", - "name" : "Patient" - } ] - }, - "statements" : { - "def" : [ { - "localId" : "209", - "name" : "Patient", - "context" : "Patient", - "expression" : { - "localId" : "210", - "type" : "SingletonFrom", - "signature" : [ ], - "operand" : { - "localId" : "208", - "dataType" : "{https://github.com/cqframework/cql-execution/simple}Patient", - "type" : "Retrieve", - "include" : [ ], - "codeFilter" : [ ], - "dateFilter" : [ ], - "otherFilter" : [ ] - } - } - }, { - "localId" : "214", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "SameYear", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "214", - "s" : [ { - "value" : [ "","define ","SameYear",": " ] - }, { - "r" : "239", - "s" : [ { - "r" : "223", - "s" : [ { - "r" : "215", - "value" : [ "Date","(","2000",", ","3",", ","15",")" ] - } ] - }, { - "r" : "239", - "value" : [ " ","same year or before"," " ] - }, { - "r" : "235", - "s" : [ { - "r" : "227", - "value" : [ "Date","(","2000",", ","11",", ","23",")" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "239", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "precision" : "Year", - "type" : "SameOrBefore", - "signature" : [ { - "localId" : "240", - "name" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "241", - "name" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "223", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "Date", - "signature" : [ { - "localId" : "224", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "225", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "226", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "215", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "216", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "217", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal" - } - }, { - "localId" : "235", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "Date", - "signature" : [ { - "localId" : "236", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "237", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "238", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "227", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "228", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "11", - "type" : "Literal" - }, - "day" : { - "localId" : "229", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "23", - "type" : "Literal" - } - } ] - } - }, { - "localId" : "244", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "YearAfter", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "244", - "s" : [ { - "value" : [ "","define ","YearAfter",": " ] - }, { - "r" : "269", - "s" : [ { - "r" : "253", - "s" : [ { - "r" : "245", - "value" : [ "Date","(","2000",", ","3",", ","15",")" ] - } ] - }, { - "r" : "269", - "value" : [ " ","same year or before"," " ] - }, { - "r" : "265", - "s" : [ { - "r" : "257", - "value" : [ "Date","(","1999",", ","11",", ","23",")" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "269", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "precision" : "Year", - "type" : "SameOrBefore", - "signature" : [ { - "localId" : "270", - "name" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "271", - "name" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "253", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "Date", - "signature" : [ { - "localId" : "254", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "255", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "256", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "245", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "246", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "247", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal" - } - }, { - "localId" : "265", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "Date", - "signature" : [ { - "localId" : "266", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "267", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "268", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "257", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1999", - "type" : "Literal" - }, - "month" : { - "localId" : "258", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "11", - "type" : "Literal" - }, - "day" : { - "localId" : "259", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "23", - "type" : "Literal" - } - } ] - } - }, { - "localId" : "274", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "YearBefore", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "274", - "s" : [ { - "value" : [ "","define ","YearBefore",": " ] - }, { - "r" : "299", - "s" : [ { - "r" : "283", - "s" : [ { - "r" : "275", - "value" : [ "Date","(","2000",", ","3",", ","15",")" ] - } ] - }, { - "r" : "299", - "value" : [ " ","same year or before"," " ] - }, { - "r" : "295", - "s" : [ { - "r" : "287", - "value" : [ "Date","(","2001",", ","11",", ","23",")" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "299", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "precision" : "Year", - "type" : "SameOrBefore", - "signature" : [ { - "localId" : "300", - "name" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "301", - "name" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "283", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "Date", - "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" - }, { - "localId" : "286", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "275", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "276", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "277", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal" - } - }, { - "localId" : "295", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "Date", - "signature" : [ { - "localId" : "296", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "297", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "298", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "287", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2001", - "type" : "Literal" - }, - "month" : { - "localId" : "288", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "11", - "type" : "Literal" - }, - "day" : { - "localId" : "289", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "23", - "type" : "Literal" - } - } ] - } - }, { - "localId" : "304", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "SameMonth", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "304", - "s" : [ { - "value" : [ "","define ","SameMonth",": " ] - }, { - "r" : "329", - "s" : [ { - "r" : "313", - "s" : [ { - "r" : "305", - "value" : [ "Date","(","2000",", ","3",", ","15",")" ] - } ] - }, { - "r" : "329", - "value" : [ " ","same month or before"," " ] - }, { - "r" : "325", - "s" : [ { - "r" : "317", - "value" : [ "Date","(","2000",", ","3",", ","23",")" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "329", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "precision" : "Month", - "type" : "SameOrBefore", - "signature" : [ { - "localId" : "330", - "name" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "331", - "name" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "313", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "Date", - "signature" : [ { - "localId" : "314", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "315", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "316", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "305", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "306", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "307", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal" - } - }, { - "localId" : "325", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "Date", - "signature" : [ { - "localId" : "326", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "327", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "328", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "317", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "318", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "319", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "23", - "type" : "Literal" - } - } ] - } - }, { - "localId" : "334", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "MonthAfter", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "334", - "s" : [ { - "value" : [ "","define ","MonthAfter",": " ] - }, { - "r" : "359", - "s" : [ { - "r" : "343", - "s" : [ { - "r" : "335", - "value" : [ "Date","(","2000",", ","3",", ","15",")" ] - } ] - }, { - "r" : "359", - "value" : [ " ","same month or before"," " ] - }, { - "r" : "355", - "s" : [ { - "r" : "347", - "value" : [ "Date","(","2000",", ","2",", ","23",")" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "359", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "precision" : "Month", - "type" : "SameOrBefore", - "signature" : [ { - "localId" : "360", - "name" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "361", - "name" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "343", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "Date", - "signature" : [ { - "localId" : "344", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "345", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "346", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "335", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "336", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "337", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal" - } - }, { - "localId" : "355", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "Date", - "signature" : [ { - "localId" : "356", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "357", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "358", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "347", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "348", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal" - }, - "day" : { - "localId" : "349", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "23", - "type" : "Literal" - } - } ] - } - }, { - "localId" : "364", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "MonthBefore", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "364", - "s" : [ { - "value" : [ "","define ","MonthBefore",": " ] - }, { - "r" : "389", - "s" : [ { - "r" : "373", - "s" : [ { - "r" : "365", - "value" : [ "Date","(","2000",", ","3",", ","15",")" ] - } ] - }, { - "r" : "389", - "value" : [ " ","same month or before"," " ] - }, { - "r" : "385", - "s" : [ { - "r" : "377", - "value" : [ "Date","(","2000",", ","4",", ","23",")" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "389", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "precision" : "Month", - "type" : "SameOrBefore", - "signature" : [ { - "localId" : "390", - "name" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "391", - "name" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "373", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "Date", - "signature" : [ { - "localId" : "374", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "375", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "376", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "365", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "366", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "367", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal" - } - }, { - "localId" : "385", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "Date", - "signature" : [ { - "localId" : "386", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "387", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "388", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "377", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "378", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "4", - "type" : "Literal" - }, - "day" : { - "localId" : "379", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "23", - "type" : "Literal" - } - } ] - } - }, { - "localId" : "394", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "SameDay", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "394", - "s" : [ { - "value" : [ "","define ","SameDay",": " ] - }, { - "r" : "419", - "s" : [ { - "r" : "403", - "s" : [ { - "r" : "395", - "value" : [ "Date","(","2000",", ","3",", ","15",")" ] - } ] - }, { - "r" : "419", - "value" : [ " ","same day or before"," " ] - }, { - "r" : "415", - "s" : [ { - "r" : "407", - "value" : [ "Date","(","2000",", ","3",", ","15",")" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "419", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "precision" : "Day", - "type" : "SameOrBefore", - "signature" : [ { - "localId" : "420", - "name" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "421", - "name" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "403", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "Date", - "signature" : [ { - "localId" : "404", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "405", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "406", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "395", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "396", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "397", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal" - } - }, { - "localId" : "415", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "Date", - "signature" : [ { - "localId" : "416", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "417", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "418", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "407", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "408", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "409", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal" - } - } ] - } - }, { - "localId" : "424", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "DayAfter", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "424", - "s" : [ { - "value" : [ "","define ","DayAfter",": " ] - }, { - "r" : "449", - "s" : [ { - "r" : "433", - "s" : [ { - "r" : "425", - "value" : [ "Date","(","2000",", ","3",", ","15",")" ] - } ] - }, { - "r" : "449", - "value" : [ " ","same day or before"," " ] - }, { - "r" : "445", - "s" : [ { - "r" : "437", - "value" : [ "Date","(","2000",", ","3",", ","14",")" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "449", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "precision" : "Day", - "type" : "SameOrBefore", - "signature" : [ { - "localId" : "450", - "name" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "451", - "name" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "433", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "Date", - "signature" : [ { - "localId" : "434", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "435", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "436", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "425", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "426", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "427", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal" - } - }, { - "localId" : "445", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "Date", - "signature" : [ { - "localId" : "446", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "447", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "448", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "437", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "438", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "439", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "14", - "type" : "Literal" - } - } ] - } - }, { - "localId" : "454", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "DayBefore", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "454", - "s" : [ { - "value" : [ "","define ","DayBefore",": " ] - }, { - "r" : "479", - "s" : [ { - "r" : "463", - "s" : [ { - "r" : "455", - "value" : [ "Date","(","2000",", ","3",", ","15",")" ] - } ] - }, { - "r" : "479", - "value" : [ " ","same day or before"," " ] - }, { - "r" : "475", - "s" : [ { - "r" : "467", - "value" : [ "Date","(","2000",", ","3",", ","16",")" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "479", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "precision" : "Day", - "type" : "SameOrBefore", - "signature" : [ { - "localId" : "480", - "name" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "481", - "name" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "463", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "Date", - "signature" : [ { - "localId" : "464", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "465", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "466", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "455", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "456", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "457", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal" - } - }, { - "localId" : "475", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "Date", - "signature" : [ { - "localId" : "476", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "477", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "478", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "467", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "468", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "469", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "16", - "type" : "Literal" - } - } ] - } - }, { - "localId" : "484", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "Same", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "484", - "s" : [ { - "value" : [ "","define ","Same",": " ] - }, { - "r" : "509", - "s" : [ { - "r" : "493", - "s" : [ { - "r" : "485", - "value" : [ "Date","(","2000",", ","3",", ","15",")" ] - } ] - }, { - "r" : "509", - "value" : [ " ","same or before"," " ] - }, { - "r" : "505", - "s" : [ { - "r" : "497", - "value" : [ "Date","(","2000",", ","3",", ","15",")" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "509", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "SameOrBefore", - "signature" : [ { - "localId" : "510", - "name" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "511", - "name" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "493", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "Date", - "signature" : [ { - "localId" : "494", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "495", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "496", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "485", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "486", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "487", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal" - } - }, { - "localId" : "505", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "Date", - "signature" : [ { - "localId" : "506", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "507", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "508", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "497", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "498", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "499", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal" - } - } ] - } - }, { - "localId" : "514", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "After", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "514", - "s" : [ { - "value" : [ "","define ","After",": " ] - }, { - "r" : "539", - "s" : [ { - "r" : "523", - "s" : [ { - "r" : "515", - "value" : [ "Date","(","2000",", ","3",", ","16",")" ] - } ] - }, { - "r" : "539", - "value" : [ " ","same or before"," " ] - }, { - "r" : "535", - "s" : [ { - "r" : "527", - "value" : [ "Date","(","2000",", ","3",", ","15",")" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "539", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "SameOrBefore", - "signature" : [ { - "localId" : "540", - "name" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "541", - "name" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "523", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "Date", - "signature" : [ { - "localId" : "524", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "525", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "526", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "515", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "516", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "517", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "16", - "type" : "Literal" - } - }, { - "localId" : "535", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "Date", - "signature" : [ { - "localId" : "536", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "537", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "538", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "527", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "528", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "529", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal" - } - } ] - } - }, { - "localId" : "544", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "Before", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "544", - "s" : [ { - "value" : [ "","define ","Before",": " ] - }, { - "r" : "569", - "s" : [ { - "r" : "553", - "s" : [ { - "r" : "545", - "value" : [ "Date","(","2000",", ","3",", ","15",")" ] - } ] - }, { - "r" : "569", - "value" : [ " ","same or before"," " ] - }, { - "r" : "565", - "s" : [ { - "r" : "557", - "value" : [ "Date","(","2000",", ","3",", ","15",")" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "569", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "SameOrBefore", - "signature" : [ { - "localId" : "570", - "name" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "571", - "name" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "553", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "Date", - "signature" : [ { - "localId" : "554", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "555", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "556", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "545", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "546", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "547", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal" - } - }, { - "localId" : "565", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "Date", - "signature" : [ { - "localId" : "566", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "567", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "568", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "557", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "558", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "559", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal" - } - } ] - } - }, { - "localId" : "574", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "SameDayMonthBefore", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "574", - "s" : [ { - "value" : [ "","define ","SameDayMonthBefore",": " ] - }, { - "r" : "599", - "s" : [ { - "r" : "583", - "s" : [ { - "r" : "575", - "value" : [ "Date","(","2000",", ","3",", ","15",")" ] - } ] - }, { - "r" : "599", - "value" : [ " ","same day or before"," " ] - }, { - "r" : "595", - "s" : [ { - "r" : "587", - "value" : [ "Date","(","2000",", ","4",", ","15",")" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "599", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "precision" : "Day", - "type" : "SameOrBefore", - "signature" : [ { - "localId" : "600", - "name" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "601", - "name" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "583", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "Date", - "signature" : [ { - "localId" : "584", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "585", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "586", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "575", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "576", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "577", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal" - } - }, { - "localId" : "595", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "Date", - "signature" : [ { - "localId" : "596", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "597", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "598", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "587", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "588", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "4", - "type" : "Literal" - }, - "day" : { - "localId" : "589", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal" - } - } ] - } - }, { - "localId" : "604", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "DayAfterMonthBefore", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "604", - "s" : [ { - "value" : [ "","define ","DayAfterMonthBefore",": " ] - }, { - "r" : "629", - "s" : [ { - "r" : "613", - "s" : [ { - "r" : "605", - "value" : [ "Date","(","2000",", ","3",", ","15",")" ] - } ] - }, { - "r" : "629", - "value" : [ " ","same day or before"," " ] - }, { - "r" : "625", - "s" : [ { - "r" : "617", - "value" : [ "Date","(","2000",", ","4",", ","14",")" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "629", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "precision" : "Day", - "type" : "SameOrBefore", - "signature" : [ { - "localId" : "630", - "name" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "631", - "name" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "613", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "Date", - "signature" : [ { - "localId" : "614", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "615", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "616", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "605", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "606", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "607", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal" - } - }, { - "localId" : "625", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "Date", - "signature" : [ { - "localId" : "626", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "627", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "628", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "617", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "618", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "4", - "type" : "Literal" - }, - "day" : { - "localId" : "619", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "14", - "type" : "Literal" - } - } ] - } - }, { - "localId" : "634", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "DayBeforeMonthAfter", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "634", - "s" : [ { - "value" : [ "","define ","DayBeforeMonthAfter",": " ] - }, { - "r" : "659", - "s" : [ { - "r" : "643", - "s" : [ { - "r" : "635", - "value" : [ "Date","(","2000",", ","3",", ","15",")" ] - } ] - }, { - "r" : "659", - "value" : [ " ","same day or before"," " ] - }, { - "r" : "655", - "s" : [ { - "r" : "647", - "value" : [ "Date","(","2000",", ","2",", ","16",")" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "659", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "precision" : "Day", - "type" : "SameOrBefore", - "signature" : [ { - "localId" : "660", - "name" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "661", - "name" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "643", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "Date", - "signature" : [ { - "localId" : "644", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "645", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "646", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "635", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "636", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "637", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal" - } - }, { - "localId" : "655", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "Date", - "signature" : [ { - "localId" : "656", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "657", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "658", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "647", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "648", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal" - }, - "day" : { - "localId" : "649", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "16", - "type" : "Literal" - } - } ] - } - }, { - "localId" : "664", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "ImpreciseDay", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "664", - "s" : [ { - "value" : [ "","define ","ImpreciseDay",": " ] - }, { - "r" : "686", - "s" : [ { - "r" : "673", - "s" : [ { - "r" : "665", - "value" : [ "Date","(","2000",", ","3",", ","15",")" ] - } ] - }, { - "r" : "686", - "value" : [ " ","same day or before"," " ] - }, { - "r" : "683", - "s" : [ { - "r" : "677", - "value" : [ "Date","(","2000",", ","3",")" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "686", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "precision" : "Day", - "type" : "SameOrBefore", - "signature" : [ { - "localId" : "687", - "name" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "688", - "name" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "673", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "Date", - "signature" : [ { - "localId" : "674", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "675", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "676", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "665", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "666", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "667", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal" - } - }, { - "localId" : "683", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "Date", - "signature" : [ { - "localId" : "684", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "685", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "677", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "678", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - } - } ] - } - }, { - "localId" : "691", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "ImpreciseDayMonthAfter", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "691", - "s" : [ { - "value" : [ "","define ","ImpreciseDayMonthAfter",": " ] - }, { - "r" : "713", - "s" : [ { - "r" : "700", - "s" : [ { - "r" : "692", - "value" : [ "Date","(","2000",", ","3",", ","15",")" ] - } ] - }, { - "r" : "713", - "value" : [ " ","same day or before"," " ] - }, { - "r" : "710", - "s" : [ { - "r" : "704", - "value" : [ "Date","(","2000",", ","2",")" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "713", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "precision" : "Day", - "type" : "SameOrBefore", - "signature" : [ { - "localId" : "714", - "name" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "715", - "name" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "700", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "Date", - "signature" : [ { - "localId" : "701", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "702", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "703", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "692", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "693", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "694", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal" - } - }, { - "localId" : "710", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "Date", - "signature" : [ { - "localId" : "711", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "712", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "704", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "705", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal" - } - } ] - } - }, { - "localId" : "718", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "ImpreciseDayMonthBefore", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "718", - "s" : [ { - "value" : [ "","define ","ImpreciseDayMonthBefore",": " ] - }, { - "r" : "740", - "s" : [ { - "r" : "727", - "s" : [ { - "r" : "719", - "value" : [ "Date","(","2000",", ","3",", ","15",")" ] - } ] - }, { - "r" : "740", - "value" : [ " ","same day or before"," " ] - }, { - "r" : "737", - "s" : [ { - "r" : "731", - "value" : [ "Date","(","2000",", ","4",")" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "740", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "precision" : "Day", - "type" : "SameOrBefore", - "signature" : [ { - "localId" : "741", - "name" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "742", - "name" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "727", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "Date", - "signature" : [ { - "localId" : "728", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "729", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "730", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "719", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "720", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "721", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal" - } - }, { - "localId" : "737", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "Date", - "signature" : [ { - "localId" : "738", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "739", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "731", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "732", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "4", - "type" : "Literal" - } - } ] - } - }, { - "localId" : "745", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "NullLeft", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "745", - "s" : [ { - "value" : [ "","define ","NullLeft",": " ] - }, { - "r" : "759", - "s" : [ { - "r" : "746", - "value" : [ "null"," ","same or before"," " ] - }, { - "r" : "755", - "s" : [ { - "r" : "747", - "value" : [ "Date","(","2000",", ","3",", ","15",")" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "759", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "SameOrBefore", - "signature" : [ { - "localId" : "761", - "name" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "762", - "name" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "760", - "asType" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "As", - "signature" : [ ], - "operand" : { - "localId" : "746", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - } - }, { - "localId" : "755", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "Date", - "signature" : [ { - "localId" : "756", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "757", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "758", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "747", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "748", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "749", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal" - } - } ] - } - }, { - "localId" : "765", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "NullRight", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "765", - "s" : [ { - "value" : [ "","define ","NullRight",": " ] - }, { - "r" : "779", - "s" : [ { - "r" : "774", - "s" : [ { - "r" : "766", - "value" : [ "Date","(","2000",", ","3",", ","15",")" ] - } ] - }, { - "r" : "779", - "value" : [ " ","same or before"," ","null" ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "779", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "SameOrBefore", - "signature" : [ { - "localId" : "781", - "name" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "782", - "name" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "774", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "Date", - "signature" : [ { - "localId" : "775", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "776", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "777", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "766", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "767", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "768", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal" - } - }, { - "localId" : "780", - "asType" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "As", - "signature" : [ ], - "operand" : { - "localId" : "778", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - } - } ] - } - }, { - "localId" : "785", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "NullBoth", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "785", + "value" : [ "", "using " ] + }, { + "s" : [ { + "value" : [ "Simple" ] + } ] + }, { + "value" : [ " version '1.0.0'" ] + } ] + } + } ] + } ] + }, + "contexts" : { + "def" : [ { + "localId" : "211", + "name" : "Patient", + "annotation" : [ ] + } ] + }, + "statements" : { + "def" : [ { + "localId" : "209", + "name" : "Patient", + "context" : "Patient", + "annotation" : [ ], + "expression" : { + "type" : "SingletonFrom", + "localId" : "210", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Retrieve", + "localId" : "208", + "dataType" : "{https://github.com/cqframework/cql-execution/simple}Patient", + "annotation" : [ ], + "include" : [ ], + "codeFilter" : [ ], + "dateFilter" : [ ], + "otherFilter" : [ ] + } + } + }, { + "localId" : "214", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "SameYear", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "214", + "s" : [ { + "value" : [ "", "define ", "SameYear", ": " ] + }, { + "r" : "239", + "s" : [ { + "r" : "223", + "s" : [ { + "r" : "215", + "value" : [ "Date", "(", "2000", ", ", "3", ", ", "15", ")" ] + } ] + }, { + "r" : "239", + "value" : [ " ", "same year or after", " " ] + }, { + "r" : "235", + "s" : [ { + "r" : "227", + "value" : [ "Date", "(", "2000", ", ", "11", ", ", "23", ")" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "SameOrAfter", + "localId" : "239", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "precision" : "Year", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "240", + "name" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "241", + "name" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "Date", + "localId" : "223", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "224", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "225", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "226", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "215", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "216", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "217", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "15", + "annotation" : [ ] + } + }, { + "type" : "Date", + "localId" : "235", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "236", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "237", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "238", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "227", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "228", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "11", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "229", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "23", + "annotation" : [ ] + } + } ] + } + }, { + "localId" : "244", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "YearAfter", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "244", + "s" : [ { + "value" : [ "", "define ", "YearAfter", ": " ] + }, { + "r" : "269", + "s" : [ { + "r" : "253", + "s" : [ { + "r" : "245", + "value" : [ "Date", "(", "2000", ", ", "3", ", ", "15", ")" ] + } ] + }, { + "r" : "269", + "value" : [ " ", "same year or after", " " ] + }, { + "r" : "265", + "s" : [ { + "r" : "257", + "value" : [ "Date", "(", "1999", ", ", "11", ", ", "23", ")" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "SameOrAfter", + "localId" : "269", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "precision" : "Year", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "270", + "name" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "271", + "name" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "Date", + "localId" : "253", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "254", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "255", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "256", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "245", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "246", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "247", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "15", + "annotation" : [ ] + } + }, { + "type" : "Date", + "localId" : "265", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "266", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "267", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "268", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "257", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1999", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "258", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "11", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "259", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "23", + "annotation" : [ ] + } + } ] + } + }, { + "localId" : "274", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "YearBefore", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "274", + "s" : [ { + "value" : [ "", "define ", "YearBefore", ": " ] + }, { + "r" : "299", + "s" : [ { + "r" : "283", + "s" : [ { + "r" : "275", + "value" : [ "Date", "(", "2000", ", ", "3", ", ", "15", ")" ] + } ] + }, { + "r" : "299", + "value" : [ " ", "same year or after", " " ] + }, { + "r" : "295", + "s" : [ { + "r" : "287", + "value" : [ "Date", "(", "2001", ", ", "11", ", ", "23", ")" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "SameOrAfter", + "localId" : "299", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "precision" : "Year", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "300", + "name" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "301", + "name" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "Date", + "localId" : "283", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "284", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "285", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "286", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "275", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "276", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "277", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "15", + "annotation" : [ ] + } + }, { + "type" : "Date", + "localId" : "295", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "296", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "297", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "298", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "287", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2001", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "288", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "11", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "289", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "23", + "annotation" : [ ] + } + } ] + } + }, { + "localId" : "304", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "SameMonth", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "304", + "s" : [ { + "value" : [ "", "define ", "SameMonth", ": " ] + }, { + "r" : "329", + "s" : [ { + "r" : "313", + "s" : [ { + "r" : "305", + "value" : [ "Date", "(", "2000", ", ", "3", ", ", "15", ")" ] + } ] + }, { + "r" : "329", + "value" : [ " ", "same month or after", " " ] + }, { + "r" : "325", + "s" : [ { + "r" : "317", + "value" : [ "Date", "(", "2000", ", ", "3", ", ", "23", ")" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "SameOrAfter", + "localId" : "329", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "precision" : "Month", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "330", + "name" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "331", + "name" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "Date", + "localId" : "313", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "314", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "315", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "316", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "305", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "306", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "307", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "15", + "annotation" : [ ] + } + }, { + "type" : "Date", + "localId" : "325", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "326", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "327", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "328", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "317", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "318", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "319", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "23", + "annotation" : [ ] + } + } ] + } + }, { + "localId" : "334", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "MonthAfter", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "334", + "s" : [ { + "value" : [ "", "define ", "MonthAfter", ": " ] + }, { + "r" : "359", + "s" : [ { + "r" : "343", + "s" : [ { + "r" : "335", + "value" : [ "Date", "(", "2000", ", ", "3", ", ", "15", ")" ] + } ] + }, { + "r" : "359", + "value" : [ " ", "same month or after", " " ] + }, { + "r" : "355", + "s" : [ { + "r" : "347", + "value" : [ "Date", "(", "2000", ", ", "2", ", ", "23", ")" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "SameOrAfter", + "localId" : "359", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "precision" : "Month", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "360", + "name" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "361", + "name" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "Date", + "localId" : "343", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "344", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "345", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "346", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "335", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "336", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "337", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "15", + "annotation" : [ ] + } + }, { + "type" : "Date", + "localId" : "355", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "356", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "357", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "358", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "347", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "348", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "349", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "23", + "annotation" : [ ] + } + } ] + } + }, { + "localId" : "364", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "MonthBefore", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "364", + "s" : [ { + "value" : [ "", "define ", "MonthBefore", ": " ] + }, { + "r" : "389", + "s" : [ { + "r" : "373", + "s" : [ { + "r" : "365", + "value" : [ "Date", "(", "2000", ", ", "3", ", ", "15", ")" ] + } ] + }, { + "r" : "389", + "value" : [ " ", "same month or after", " " ] + }, { + "r" : "385", + "s" : [ { + "r" : "377", + "value" : [ "Date", "(", "2000", ", ", "4", ", ", "23", ")" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "SameOrAfter", + "localId" : "389", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "precision" : "Month", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "390", + "name" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "391", + "name" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "Date", + "localId" : "373", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "374", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "375", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "376", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "365", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "366", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "367", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "15", + "annotation" : [ ] + } + }, { + "type" : "Date", + "localId" : "385", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "386", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "387", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "388", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "377", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "378", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "4", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "379", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "23", + "annotation" : [ ] + } + } ] + } + }, { + "localId" : "394", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "SameDay", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "394", + "s" : [ { + "value" : [ "", "define ", "SameDay", ": " ] + }, { + "r" : "419", + "s" : [ { + "r" : "403", + "s" : [ { + "r" : "395", + "value" : [ "Date", "(", "2000", ", ", "3", ", ", "15", ")" ] + } ] + }, { + "r" : "419", + "value" : [ " ", "same day or after", " " ] + }, { + "r" : "415", + "s" : [ { + "r" : "407", + "value" : [ "Date", "(", "2000", ", ", "3", ", ", "15", ")" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "SameOrAfter", + "localId" : "419", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "precision" : "Day", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "420", + "name" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "421", + "name" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "Date", + "localId" : "403", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "404", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "405", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "406", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "395", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "396", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "397", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "15", + "annotation" : [ ] + } + }, { + "type" : "Date", + "localId" : "415", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "416", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "417", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "418", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "407", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "408", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "409", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "15", + "annotation" : [ ] + } + } ] + } + }, { + "localId" : "424", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "DayAfter", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "424", + "s" : [ { + "value" : [ "", "define ", "DayAfter", ": " ] + }, { + "r" : "449", + "s" : [ { + "r" : "433", + "s" : [ { + "r" : "425", + "value" : [ "Date", "(", "2000", ", ", "3", ", ", "15", ")" ] + } ] + }, { + "r" : "449", + "value" : [ " ", "same day or after", " " ] + }, { + "r" : "445", + "s" : [ { + "r" : "437", + "value" : [ "Date", "(", "2000", ", ", "3", ", ", "14", ")" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "SameOrAfter", + "localId" : "449", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "precision" : "Day", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "450", + "name" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "451", + "name" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "Date", + "localId" : "433", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "434", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "435", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "436", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "425", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "426", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "427", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "15", + "annotation" : [ ] + } + }, { + "type" : "Date", + "localId" : "445", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "446", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "447", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "448", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "437", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "438", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "439", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "14", + "annotation" : [ ] + } + } ] + } + }, { + "localId" : "454", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "DayBefore", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "454", + "s" : [ { + "value" : [ "", "define ", "DayBefore", ": " ] + }, { + "r" : "479", + "s" : [ { + "r" : "463", + "s" : [ { + "r" : "455", + "value" : [ "Date", "(", "2000", ", ", "3", ", ", "15", ")" ] + } ] + }, { + "r" : "479", + "value" : [ " ", "same day or after", " " ] + }, { + "r" : "475", + "s" : [ { + "r" : "467", + "value" : [ "Date", "(", "2000", ", ", "3", ", ", "16", ")" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "SameOrAfter", + "localId" : "479", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "precision" : "Day", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "480", + "name" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "481", + "name" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "Date", + "localId" : "463", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "464", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "465", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "466", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "455", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "456", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "457", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "15", + "annotation" : [ ] + } + }, { + "type" : "Date", + "localId" : "475", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "476", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "477", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "478", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "467", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "468", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "469", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "16", + "annotation" : [ ] + } + } ] + } + }, { + "localId" : "484", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "Same", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "484", + "s" : [ { + "value" : [ "", "define ", "Same", ": " ] + }, { + "r" : "509", + "s" : [ { + "r" : "493", + "s" : [ { + "r" : "485", + "value" : [ "Date", "(", "2000", ", ", "3", ", ", "15", ")" ] + } ] + }, { + "r" : "509", + "value" : [ " ", "same or after", " " ] + }, { + "r" : "505", + "s" : [ { + "r" : "497", + "value" : [ "Date", "(", "2000", ", ", "3", ", ", "15", ")" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "SameOrAfter", + "localId" : "509", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "510", + "name" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "511", + "name" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "Date", + "localId" : "493", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "494", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "495", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "496", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "485", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "486", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "487", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "15", + "annotation" : [ ] + } + }, { + "type" : "Date", + "localId" : "505", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "506", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "507", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "508", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "497", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "498", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "499", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "15", + "annotation" : [ ] + } + } ] + } + }, { + "localId" : "514", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "After", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "514", + "s" : [ { + "value" : [ "", "define ", "After", ": " ] + }, { + "r" : "539", + "s" : [ { + "r" : "523", + "s" : [ { + "r" : "515", + "value" : [ "Date", "(", "2000", ", ", "3", ", ", "15", ")" ] + } ] + }, { + "r" : "539", + "value" : [ " ", "same or after", " " ] + }, { + "r" : "535", + "s" : [ { + "r" : "527", + "value" : [ "Date", "(", "2000", ", ", "3", ", ", "15", ")" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "SameOrAfter", + "localId" : "539", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "540", + "name" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "541", + "name" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "Date", + "localId" : "523", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "524", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "525", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "526", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "515", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "516", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "517", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "15", + "annotation" : [ ] + } + }, { + "type" : "Date", + "localId" : "535", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "536", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "537", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "538", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "527", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "528", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "529", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "15", + "annotation" : [ ] + } + } ] + } + }, { + "localId" : "544", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "Before", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "544", + "s" : [ { + "value" : [ "", "define ", "Before", ": " ] + }, { + "r" : "569", + "s" : [ { + "r" : "553", + "s" : [ { + "r" : "545", + "value" : [ "Date", "(", "2000", ", ", "3", ", ", "14", ")" ] + } ] + }, { + "r" : "569", + "value" : [ " ", "same or after", " " ] + }, { + "r" : "565", + "s" : [ { + "r" : "557", + "value" : [ "Date", "(", "2000", ", ", "3", ", ", "15", ")" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "SameOrAfter", + "localId" : "569", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "570", + "name" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "571", + "name" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "Date", + "localId" : "553", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "554", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "555", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "556", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "545", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "546", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "547", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "14", + "annotation" : [ ] + } + }, { + "type" : "Date", + "localId" : "565", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "566", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "567", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "568", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "557", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "558", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "559", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "15", + "annotation" : [ ] + } + } ] + } + }, { + "localId" : "574", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "SameDayMonthBefore", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "574", + "s" : [ { + "value" : [ "", "define ", "SameDayMonthBefore", ": " ] + }, { + "r" : "599", + "s" : [ { + "r" : "583", + "s" : [ { + "r" : "575", + "value" : [ "Date", "(", "2000", ", ", "3", ", ", "15", ")" ] + } ] + }, { + "r" : "599", + "value" : [ " ", "same day or after", " " ] + }, { + "r" : "595", + "s" : [ { + "r" : "587", + "value" : [ "Date", "(", "2000", ", ", "4", ", ", "15", ")" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "SameOrAfter", + "localId" : "599", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "precision" : "Day", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "600", + "name" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "601", + "name" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "Date", + "localId" : "583", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "584", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "585", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "586", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "575", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "576", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "577", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "15", + "annotation" : [ ] + } + }, { + "type" : "Date", + "localId" : "595", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "596", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "597", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "598", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "587", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "588", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "4", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "589", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "15", + "annotation" : [ ] + } + } ] + } + }, { + "localId" : "604", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "DayAfterMonthBefore", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "604", + "s" : [ { + "value" : [ "", "define ", "DayAfterMonthBefore", ": " ] + }, { + "r" : "629", + "s" : [ { + "r" : "613", + "s" : [ { + "r" : "605", + "value" : [ "Date", "(", "2000", ", ", "3", ", ", "15", ")" ] + } ] + }, { + "r" : "629", + "value" : [ " ", "same day or after", " " ] + }, { + "r" : "625", + "s" : [ { + "r" : "617", + "value" : [ "Date", "(", "2000", ", ", "4", ", ", "14", ")" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "SameOrAfter", + "localId" : "629", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "precision" : "Day", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "630", + "name" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "631", + "name" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "Date", + "localId" : "613", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "614", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "615", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "616", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "605", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "606", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "607", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "15", + "annotation" : [ ] + } + }, { + "type" : "Date", + "localId" : "625", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "626", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "627", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "628", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "617", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "618", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "4", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "619", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "14", + "annotation" : [ ] + } + } ] + } + }, { + "localId" : "634", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "DayBeforeMonthAfter", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "634", + "s" : [ { + "value" : [ "", "define ", "DayBeforeMonthAfter", ": " ] + }, { + "r" : "659", + "s" : [ { + "r" : "643", + "s" : [ { + "r" : "635", + "value" : [ "Date", "(", "2000", ", ", "3", ", ", "15", ")" ] + } ] + }, { + "r" : "659", + "value" : [ " ", "same day or after", " " ] + }, { + "r" : "655", + "s" : [ { + "r" : "647", + "value" : [ "Date", "(", "2000", ", ", "2", ", ", "16", ")" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "SameOrAfter", + "localId" : "659", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "precision" : "Day", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "660", + "name" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "661", + "name" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "Date", + "localId" : "643", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "644", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "645", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "646", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "635", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "636", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "637", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "15", + "annotation" : [ ] + } + }, { + "type" : "Date", + "localId" : "655", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "656", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "657", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "658", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "647", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "648", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "649", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "16", + "annotation" : [ ] + } + } ] + } + }, { + "localId" : "664", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "ImpreciseDay", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "664", + "s" : [ { + "value" : [ "", "define ", "ImpreciseDay", ": " ] + }, { + "r" : "686", + "s" : [ { + "r" : "673", + "s" : [ { + "r" : "665", + "value" : [ "Date", "(", "2000", ", ", "3", ", ", "15", ")" ] + } ] + }, { + "r" : "686", + "value" : [ " ", "same day or after", " " ] + }, { + "r" : "683", + "s" : [ { + "r" : "677", + "value" : [ "Date", "(", "2000", ", ", "3", ")" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "SameOrAfter", + "localId" : "686", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "precision" : "Day", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "687", + "name" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "688", + "name" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "Date", + "localId" : "673", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "674", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "675", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "676", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "665", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "666", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "667", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "15", + "annotation" : [ ] + } + }, { + "type" : "Date", + "localId" : "683", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "684", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "685", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "677", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "678", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + } + } ] + } + }, { + "localId" : "691", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "ImpreciseDayMonthAfter", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "691", + "s" : [ { + "value" : [ "", "define ", "ImpreciseDayMonthAfter", ": " ] + }, { + "r" : "713", + "s" : [ { + "r" : "700", + "s" : [ { + "r" : "692", + "value" : [ "Date", "(", "2000", ", ", "3", ", ", "15", ")" ] + } ] + }, { + "r" : "713", + "value" : [ " ", "same day or after", " " ] + }, { + "r" : "710", + "s" : [ { + "r" : "704", + "value" : [ "Date", "(", "2000", ", ", "2", ")" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "SameOrAfter", + "localId" : "713", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "precision" : "Day", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "714", + "name" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "715", + "name" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "Date", + "localId" : "700", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "701", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "702", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "703", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "692", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "693", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "694", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "15", + "annotation" : [ ] + } + }, { + "type" : "Date", + "localId" : "710", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "711", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "712", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "704", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "705", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "annotation" : [ ] + } + } ] + } + }, { + "localId" : "718", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "ImpreciseDayMonthBefore", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "718", + "s" : [ { + "value" : [ "", "define ", "ImpreciseDayMonthBefore", ": " ] + }, { + "r" : "740", + "s" : [ { + "r" : "727", + "s" : [ { + "r" : "719", + "value" : [ "Date", "(", "2000", ", ", "3", ", ", "15", ")" ] + } ] + }, { + "r" : "740", + "value" : [ " ", "same day or after", " " ] + }, { + "r" : "737", + "s" : [ { + "r" : "731", + "value" : [ "Date", "(", "2000", ", ", "4", ")" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "SameOrAfter", + "localId" : "740", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "precision" : "Day", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "741", + "name" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "742", + "name" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "Date", + "localId" : "727", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "728", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "729", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "730", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "719", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "720", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "721", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "15", + "annotation" : [ ] + } + }, { + "type" : "Date", + "localId" : "737", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "738", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "739", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "731", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "732", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "4", + "annotation" : [ ] + } + } ] + } + }, { + "localId" : "745", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "NullLeft", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "745", + "s" : [ { + "value" : [ "", "define ", "NullLeft", ": " ] + }, { + "r" : "759", + "s" : [ { + "r" : "746", + "value" : [ "null", " ", "same or after", " " ] + }, { + "r" : "755", + "s" : [ { + "r" : "747", + "value" : [ "Date", "(", "2000", ", ", "3", ", ", "15", ")" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "SameOrAfter", + "localId" : "759", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "761", + "name" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "762", + "name" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "As", + "localId" : "760", + "asType" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Null", + "localId" : "746", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } + }, { + "type" : "Date", + "localId" : "755", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "756", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "757", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "758", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "747", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "748", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "749", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "15", + "annotation" : [ ] + } + } ] + } + }, { + "localId" : "765", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "NullRight", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "765", + "s" : [ { + "value" : [ "", "define ", "NullRight", ": " ] + }, { + "r" : "779", + "s" : [ { + "r" : "774", + "s" : [ { + "r" : "766", + "value" : [ "Date", "(", "2000", ", ", "3", ", ", "15", ")" ] + } ] + }, { + "r" : "779", + "value" : [ " ", "same or after", " ", "null" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "SameOrAfter", + "localId" : "779", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "781", + "name" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "782", + "name" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "Date", + "localId" : "774", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "775", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "776", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "777", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "766", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "767", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "768", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "15", + "annotation" : [ ] + } + }, { + "type" : "As", + "localId" : "780", + "asType" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Null", + "localId" : "778", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } + } ] + } + }, { + "localId" : "785", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "NullBoth", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "785", + "s" : [ { + "value" : [ "", "define ", "NullBoth", ": " ] + }, { + "r" : "790", + "s" : [ { + "r" : "786", + "s" : [ { + "value" : [ "(" ] + }, { + "r" : "786", "s" : [ { - "value" : [ "","define ","NullBoth",": " ] + "r" : "787", + "value" : [ "null", " as " ] }, { - "r" : "790", - "s" : [ { - "r" : "786", - "s" : [ { - "value" : [ "(" ] - }, { - "r" : "786", - "s" : [ { - "r" : "787", - "value" : [ "null"," as " ] - }, { - "r" : "788", - "s" : [ { - "value" : [ "Date" ] - } ] - } ] - }, { - "value" : [ ")" ] - } ] - }, { - "r" : "790", - "value" : [ " ","same or before"," ","null" ] - } ] + "r" : "788", + "s" : [ { + "value" : [ "Date" ] + } ] } ] - } - } ], - "expression" : { - "localId" : "790", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "SameOrBefore", - "signature" : [ { - "localId" : "792", - "name" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "793", - "name" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "786", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", - "strict" : false, - "type" : "As", - "signature" : [ ], - "operand" : { - "localId" : "787", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - }, - "asTypeSpecifier" : { - "localId" : "788", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", - "name" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "791", - "asType" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "As", - "signature" : [ ], - "operand" : { - "localId" : "789", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - } - } ] - } - } ] - } - } + }, { + "value" : [ ")" ] + } ] + }, { + "r" : "790", + "value" : [ " ", "same or after", " ", "null" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "SameOrAfter", + "localId" : "790", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "792", + "name" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "793", + "name" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "As", + "localId" : "786", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", + "strict" : false, + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Null", + "localId" : "787", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + }, + "asTypeSpecifier" : { + "type" : "NamedTypeSpecifier", + "localId" : "788", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", + "name" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ] + } + }, { + "type" : "As", + "localId" : "791", + "asType" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Null", + "localId" : "789", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } + } ] + } + } ] + } + } } -/* After +/* SameOrBefore library TestSnippet version '1' using Simple version '1.0.0' context Patient -define SameYear: Date(2000, 12, 15) after year of Date(2000, 11, 23) -define YearAfter: Date(2000, 12, 15) after year of Date(1999, 11, 23) -define YearBefore: Date(2000, 12, 15) after year of Date(2001, 11, 23) -define SameMonth: Date(2000, 3, 25) after month of Date(2000, 3, 23) -define MonthAfter: Date(2000, 3, 25) after month of Date(2000, 2, 23) -define MonthBefore: Date(2000, 3, 25) after month of Date(2000, 4, 23) -define SameDay: Date(2000, 3, 15) after day of Date(2000, 3, 15) -define DayAfter: Date(2000, 3, 15) after day of Date(2000, 3, 14) -define DayBefore: Date(2000, 3, 15) after day of Date(2000, 3, 16) -define Same: Date(2000, 3, 15) after Date(2000, 3, 15) -define After: Date(2000, 3, 16) after Date(2000, 3, 15) -define Before: Date(2000, 3, 15) after Date(2000, 3, 15) -define ImpreciseDay: Date(2000, 3, 15) after day of Date(2000, 3) -define ImpreciseDayMonthAfter: Date(2000, 3, 15) after day of Date(2000, 2) -define ImpreciseDayMonthBefore: Date(2000, 3, 15) after day of Date(2000, 4) -define NullLeft: null after Date(2000, 3, 15) -define NullRight: Date(2000, 3, 15) after null -define NullBoth: (null as Date) after null +define SameYear: Date(2000, 3, 15) same year or before Date(2000, 11, 23) +define YearAfter: Date(2000, 3, 15) same year or before Date(1999, 11, 23) +define YearBefore: Date(2000, 3, 15) same year or before Date(2001, 11, 23) +define SameMonth: Date(2000, 3, 15) same month or before Date(2000, 3, 23) +define MonthAfter: Date(2000, 3, 15) same month or before Date(2000, 2, 23) +define MonthBefore: Date(2000, 3, 15) same month or before Date(2000, 4, 23) +define SameDay: Date(2000, 3, 15) same day or before Date(2000, 3, 15) +define DayAfter: Date(2000, 3, 15) same day or before Date(2000, 3, 14) +define DayBefore: Date(2000, 3, 15) same day or before Date(2000, 3, 16) +define Same: Date(2000, 3, 15) same or before Date(2000, 3, 15) +define After: Date(2000, 3, 16) same or before Date(2000, 3, 15) +define Before: Date(2000, 3, 15) same or before Date(2000, 3, 15) +define SameDayMonthBefore: Date(2000, 3, 15) same day or before Date(2000, 4, 15) +define DayAfterMonthBefore: Date(2000, 3, 15) same day or before Date(2000, 4, 14) +define DayBeforeMonthAfter: Date(2000, 3, 15) same day or before Date(2000, 2, 16) +define ImpreciseDay: Date(2000, 3, 15) same day or before Date(2000, 3) +define ImpreciseDayMonthAfter: Date(2000, 3, 15) same day or before Date(2000, 2) +define ImpreciseDayMonthBefore: Date(2000, 3, 15) same day or before Date(2000, 4) +define NullLeft: null same or before Date(2000, 3, 15) +define NullRight: Date(2000, 3, 15) same or before null +define NullBoth: (null as Date) same or before null */ -module.exports['After'] = { - "library" : { - "localId" : "0", - "annotation" : [ { - "translatorVersion" : "3.27.0", - "translatorOptions" : "EnableDateRangeOptimization,EnableAnnotations,EnableResultTypes", - "signatureLevel" : "All", - "type" : "CqlToElmInfo" - }, { - "type" : "Annotation", - "s" : { - "r" : "695", +module.exports['SameOrBefore'] = { + "library" : { + "localId" : "0", + "annotation" : [ { + "type" : "CqlToElmInfo", + "translatorVersion" : "4.2.0", + "translatorOptions" : "EnableDateRangeOptimization,EnableAnnotations,EnableResultTypes", + "signatureLevel" : "All" + }, { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "785", + "s" : [ { + "value" : [ "", "library TestSnippet version '1'" ] + } ] + } + } ], + "identifier" : { + "id" : "TestSnippet", + "version" : "1" + }, + "schemaIdentifier" : { + "id" : "urn:hl7-org:elm", + "version" : "r1" + }, + "usings" : { + "def" : [ { + "localId" : "1", + "localIdentifier" : "System", + "uri" : "urn:hl7-org:elm-types:r1", + "annotation" : [ ] + }, { + "localId" : "206", + "localIdentifier" : "Simple", + "uri" : "https://github.com/cqframework/cql-execution/simple", + "version" : "1.0.0", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "206", + "s" : [ { + "value" : [ "", "using " ] + }, { + "s" : [ { + "value" : [ "Simple" ] + } ] + }, { + "value" : [ " version '1.0.0'" ] + } ] + } + } ] + } ] + }, + "contexts" : { + "def" : [ { + "localId" : "211", + "name" : "Patient", + "annotation" : [ ] + } ] + }, + "statements" : { + "def" : [ { + "localId" : "209", + "name" : "Patient", + "context" : "Patient", + "annotation" : [ ], + "expression" : { + "type" : "SingletonFrom", + "localId" : "210", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Retrieve", + "localId" : "208", + "dataType" : "{https://github.com/cqframework/cql-execution/simple}Patient", + "annotation" : [ ], + "include" : [ ], + "codeFilter" : [ ], + "dateFilter" : [ ], + "otherFilter" : [ ] + } + } + }, { + "localId" : "214", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "SameYear", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "214", + "s" : [ { + "value" : [ "", "define ", "SameYear", ": " ] + }, { + "r" : "239", + "s" : [ { + "r" : "223", + "s" : [ { + "r" : "215", + "value" : [ "Date", "(", "2000", ", ", "3", ", ", "15", ")" ] + } ] + }, { + "r" : "239", + "value" : [ " ", "same year or before", " " ] + }, { + "r" : "235", + "s" : [ { + "r" : "227", + "value" : [ "Date", "(", "2000", ", ", "11", ", ", "23", ")" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "SameOrBefore", + "localId" : "239", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "precision" : "Year", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "240", + "name" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "241", + "name" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "Date", + "localId" : "223", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "224", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "225", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "226", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "215", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "216", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "217", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "15", + "annotation" : [ ] + } + }, { + "type" : "Date", + "localId" : "235", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "236", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "237", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "238", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "227", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "228", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "11", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "229", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "23", + "annotation" : [ ] + } + } ] + } + }, { + "localId" : "244", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "YearAfter", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "244", + "s" : [ { + "value" : [ "", "define ", "YearAfter", ": " ] + }, { + "r" : "269", + "s" : [ { + "r" : "253", + "s" : [ { + "r" : "245", + "value" : [ "Date", "(", "2000", ", ", "3", ", ", "15", ")" ] + } ] + }, { + "r" : "269", + "value" : [ " ", "same year or before", " " ] + }, { + "r" : "265", + "s" : [ { + "r" : "257", + "value" : [ "Date", "(", "1999", ", ", "11", ", ", "23", ")" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "SameOrBefore", + "localId" : "269", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "precision" : "Year", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "270", + "name" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "271", + "name" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "Date", + "localId" : "253", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "254", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "255", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "256", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "245", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "246", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "247", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "15", + "annotation" : [ ] + } + }, { + "type" : "Date", + "localId" : "265", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "266", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "267", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "268", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "257", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1999", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "258", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "11", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "259", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "23", + "annotation" : [ ] + } + } ] + } + }, { + "localId" : "274", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "YearBefore", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "274", + "s" : [ { + "value" : [ "", "define ", "YearBefore", ": " ] + }, { + "r" : "299", + "s" : [ { + "r" : "283", + "s" : [ { + "r" : "275", + "value" : [ "Date", "(", "2000", ", ", "3", ", ", "15", ")" ] + } ] + }, { + "r" : "299", + "value" : [ " ", "same year or before", " " ] + }, { + "r" : "295", + "s" : [ { + "r" : "287", + "value" : [ "Date", "(", "2001", ", ", "11", ", ", "23", ")" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "SameOrBefore", + "localId" : "299", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "precision" : "Year", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "300", + "name" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "301", + "name" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "Date", + "localId" : "283", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "284", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "285", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "286", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "275", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "276", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "277", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "15", + "annotation" : [ ] + } + }, { + "type" : "Date", + "localId" : "295", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "296", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "297", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "298", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "287", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2001", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "288", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "11", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "289", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "23", + "annotation" : [ ] + } + } ] + } + }, { + "localId" : "304", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "SameMonth", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "304", + "s" : [ { + "value" : [ "", "define ", "SameMonth", ": " ] + }, { + "r" : "329", + "s" : [ { + "r" : "313", + "s" : [ { + "r" : "305", + "value" : [ "Date", "(", "2000", ", ", "3", ", ", "15", ")" ] + } ] + }, { + "r" : "329", + "value" : [ " ", "same month or before", " " ] + }, { + "r" : "325", + "s" : [ { + "r" : "317", + "value" : [ "Date", "(", "2000", ", ", "3", ", ", "23", ")" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "SameOrBefore", + "localId" : "329", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "precision" : "Month", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "330", + "name" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "331", + "name" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "Date", + "localId" : "313", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "314", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "315", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "316", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "305", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "306", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "307", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "15", + "annotation" : [ ] + } + }, { + "type" : "Date", + "localId" : "325", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "326", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "327", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "328", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "317", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "318", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "319", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "23", + "annotation" : [ ] + } + } ] + } + }, { + "localId" : "334", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "MonthAfter", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "334", + "s" : [ { + "value" : [ "", "define ", "MonthAfter", ": " ] + }, { + "r" : "359", + "s" : [ { + "r" : "343", + "s" : [ { + "r" : "335", + "value" : [ "Date", "(", "2000", ", ", "3", ", ", "15", ")" ] + } ] + }, { + "r" : "359", + "value" : [ " ", "same month or before", " " ] + }, { + "r" : "355", + "s" : [ { + "r" : "347", + "value" : [ "Date", "(", "2000", ", ", "2", ", ", "23", ")" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "SameOrBefore", + "localId" : "359", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "precision" : "Month", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "360", + "name" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "361", + "name" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "Date", + "localId" : "343", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "344", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "345", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "346", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "335", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "336", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "337", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "15", + "annotation" : [ ] + } + }, { + "type" : "Date", + "localId" : "355", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "356", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "357", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "358", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "347", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "348", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "349", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "23", + "annotation" : [ ] + } + } ] + } + }, { + "localId" : "364", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "MonthBefore", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "364", + "s" : [ { + "value" : [ "", "define ", "MonthBefore", ": " ] + }, { + "r" : "389", + "s" : [ { + "r" : "373", + "s" : [ { + "r" : "365", + "value" : [ "Date", "(", "2000", ", ", "3", ", ", "15", ")" ] + } ] + }, { + "r" : "389", + "value" : [ " ", "same month or before", " " ] + }, { + "r" : "385", + "s" : [ { + "r" : "377", + "value" : [ "Date", "(", "2000", ", ", "4", ", ", "23", ")" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "SameOrBefore", + "localId" : "389", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "precision" : "Month", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "390", + "name" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "391", + "name" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "Date", + "localId" : "373", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "374", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "375", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "376", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "365", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "366", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "367", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "15", + "annotation" : [ ] + } + }, { + "type" : "Date", + "localId" : "385", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "386", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "387", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "388", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "377", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "378", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "4", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "379", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "23", + "annotation" : [ ] + } + } ] + } + }, { + "localId" : "394", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "SameDay", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "394", + "s" : [ { + "value" : [ "", "define ", "SameDay", ": " ] + }, { + "r" : "419", + "s" : [ { + "r" : "403", + "s" : [ { + "r" : "395", + "value" : [ "Date", "(", "2000", ", ", "3", ", ", "15", ")" ] + } ] + }, { + "r" : "419", + "value" : [ " ", "same day or before", " " ] + }, { + "r" : "415", + "s" : [ { + "r" : "407", + "value" : [ "Date", "(", "2000", ", ", "3", ", ", "15", ")" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "SameOrBefore", + "localId" : "419", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "precision" : "Day", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "420", + "name" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "421", + "name" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "Date", + "localId" : "403", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "404", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "405", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "406", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "395", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "396", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "397", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "15", + "annotation" : [ ] + } + }, { + "type" : "Date", + "localId" : "415", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "416", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "417", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "418", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "407", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "408", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "409", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "15", + "annotation" : [ ] + } + } ] + } + }, { + "localId" : "424", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "DayAfter", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "424", + "s" : [ { + "value" : [ "", "define ", "DayAfter", ": " ] + }, { + "r" : "449", + "s" : [ { + "r" : "433", + "s" : [ { + "r" : "425", + "value" : [ "Date", "(", "2000", ", ", "3", ", ", "15", ")" ] + } ] + }, { + "r" : "449", + "value" : [ " ", "same day or before", " " ] + }, { + "r" : "445", + "s" : [ { + "r" : "437", + "value" : [ "Date", "(", "2000", ", ", "3", ", ", "14", ")" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "SameOrBefore", + "localId" : "449", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "precision" : "Day", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "450", + "name" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "451", + "name" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "Date", + "localId" : "433", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "434", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "435", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "436", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "425", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "426", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "427", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "15", + "annotation" : [ ] + } + }, { + "type" : "Date", + "localId" : "445", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "446", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "447", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "448", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "437", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "438", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "439", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "14", + "annotation" : [ ] + } + } ] + } + }, { + "localId" : "454", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "DayBefore", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "454", "s" : [ { - "value" : [ "","library TestSnippet version '1'" ] - } ] - } - } ], - "identifier" : { - "id" : "TestSnippet", - "version" : "1" - }, - "schemaIdentifier" : { - "id" : "urn:hl7-org:elm", - "version" : "r1" - }, - "usings" : { - "def" : [ { - "localId" : "1", - "localIdentifier" : "System", - "uri" : "urn:hl7-org:elm-types:r1" - }, { - "localId" : "206", - "localIdentifier" : "Simple", - "uri" : "https://github.com/cqframework/cql-execution/simple", - "version" : "1.0.0", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "206", - "s" : [ { - "value" : [ "","using " ] - }, { - "s" : [ { - "value" : [ "Simple" ] - } ] - }, { - "value" : [ " version '1.0.0'" ] - } ] - } - } ] - } ] - }, - "contexts" : { - "def" : [ { - "localId" : "211", - "name" : "Patient" - } ] - }, - "statements" : { - "def" : [ { - "localId" : "209", - "name" : "Patient", - "context" : "Patient", - "expression" : { - "localId" : "210", - "type" : "SingletonFrom", - "signature" : [ ], - "operand" : { - "localId" : "208", - "dataType" : "{https://github.com/cqframework/cql-execution/simple}Patient", - "type" : "Retrieve", - "include" : [ ], - "codeFilter" : [ ], - "dateFilter" : [ ], - "otherFilter" : [ ] - } - } - }, { - "localId" : "214", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "SameYear", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "214", - "s" : [ { - "value" : [ "","define ","SameYear",": " ] - }, { - "r" : "239", - "s" : [ { - "r" : "223", - "s" : [ { - "r" : "215", - "value" : [ "Date","(","2000",", ","12",", ","15",")" ] - } ] - }, { - "r" : "239", - "value" : [ " ","after year of"," " ] - }, { - "r" : "235", - "s" : [ { - "r" : "227", - "value" : [ "Date","(","2000",", ","11",", ","23",")" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "239", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "precision" : "Year", - "type" : "After", - "signature" : [ { - "localId" : "240", - "name" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "241", - "name" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "223", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "Date", - "signature" : [ { - "localId" : "224", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "225", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "226", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "215", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "216", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "12", - "type" : "Literal" - }, - "day" : { - "localId" : "217", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal" - } - }, { - "localId" : "235", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "Date", - "signature" : [ { - "localId" : "236", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "237", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "238", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "227", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "228", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "11", - "type" : "Literal" - }, - "day" : { - "localId" : "229", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "23", - "type" : "Literal" - } - } ] - } - }, { - "localId" : "244", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "YearAfter", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "244", - "s" : [ { - "value" : [ "","define ","YearAfter",": " ] - }, { - "r" : "269", - "s" : [ { - "r" : "253", - "s" : [ { - "r" : "245", - "value" : [ "Date","(","2000",", ","12",", ","15",")" ] - } ] - }, { - "r" : "269", - "value" : [ " ","after year of"," " ] - }, { - "r" : "265", - "s" : [ { - "r" : "257", - "value" : [ "Date","(","1999",", ","11",", ","23",")" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "269", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "precision" : "Year", - "type" : "After", - "signature" : [ { - "localId" : "270", - "name" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "271", - "name" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "253", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "Date", - "signature" : [ { - "localId" : "254", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "255", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "256", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "245", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "246", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "12", - "type" : "Literal" - }, - "day" : { - "localId" : "247", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal" - } - }, { - "localId" : "265", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "Date", - "signature" : [ { - "localId" : "266", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "267", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "268", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "257", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1999", - "type" : "Literal" - }, - "month" : { - "localId" : "258", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "11", - "type" : "Literal" - }, - "day" : { - "localId" : "259", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "23", - "type" : "Literal" - } - } ] - } - }, { - "localId" : "274", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "YearBefore", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "274", - "s" : [ { - "value" : [ "","define ","YearBefore",": " ] - }, { - "r" : "299", - "s" : [ { - "r" : "283", - "s" : [ { - "r" : "275", - "value" : [ "Date","(","2000",", ","12",", ","15",")" ] - } ] - }, { - "r" : "299", - "value" : [ " ","after year of"," " ] - }, { - "r" : "295", - "s" : [ { - "r" : "287", - "value" : [ "Date","(","2001",", ","11",", ","23",")" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "299", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "precision" : "Year", - "type" : "After", - "signature" : [ { - "localId" : "300", - "name" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "301", - "name" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "283", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "Date", - "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" - }, { - "localId" : "286", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "275", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "276", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "12", - "type" : "Literal" - }, - "day" : { - "localId" : "277", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal" - } - }, { - "localId" : "295", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "Date", - "signature" : [ { - "localId" : "296", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "297", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "298", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "287", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2001", - "type" : "Literal" - }, - "month" : { - "localId" : "288", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "11", - "type" : "Literal" - }, - "day" : { - "localId" : "289", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "23", - "type" : "Literal" - } - } ] - } - }, { - "localId" : "304", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "SameMonth", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "304", - "s" : [ { - "value" : [ "","define ","SameMonth",": " ] - }, { - "r" : "329", - "s" : [ { - "r" : "313", - "s" : [ { - "r" : "305", - "value" : [ "Date","(","2000",", ","3",", ","25",")" ] - } ] - }, { - "r" : "329", - "value" : [ " ","after month of"," " ] - }, { - "r" : "325", - "s" : [ { - "r" : "317", - "value" : [ "Date","(","2000",", ","3",", ","23",")" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "329", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "precision" : "Month", - "type" : "After", - "signature" : [ { - "localId" : "330", - "name" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "331", - "name" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "313", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "Date", - "signature" : [ { - "localId" : "314", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "315", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "316", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "305", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "306", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "307", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "25", - "type" : "Literal" - } - }, { - "localId" : "325", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "Date", - "signature" : [ { - "localId" : "326", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "327", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "328", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "317", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "318", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "319", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "23", - "type" : "Literal" - } - } ] - } - }, { - "localId" : "334", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "MonthAfter", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "334", - "s" : [ { - "value" : [ "","define ","MonthAfter",": " ] - }, { - "r" : "359", - "s" : [ { - "r" : "343", - "s" : [ { - "r" : "335", - "value" : [ "Date","(","2000",", ","3",", ","25",")" ] - } ] - }, { - "r" : "359", - "value" : [ " ","after month of"," " ] - }, { - "r" : "355", - "s" : [ { - "r" : "347", - "value" : [ "Date","(","2000",", ","2",", ","23",")" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "359", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "precision" : "Month", - "type" : "After", - "signature" : [ { - "localId" : "360", - "name" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "361", - "name" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "343", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "Date", - "signature" : [ { - "localId" : "344", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "345", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "346", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "335", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "336", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "337", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "25", - "type" : "Literal" - } - }, { - "localId" : "355", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "Date", - "signature" : [ { - "localId" : "356", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "357", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "358", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "347", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "348", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal" - }, - "day" : { - "localId" : "349", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "23", - "type" : "Literal" - } - } ] - } - }, { - "localId" : "364", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "MonthBefore", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "364", - "s" : [ { - "value" : [ "","define ","MonthBefore",": " ] - }, { - "r" : "389", - "s" : [ { - "r" : "373", - "s" : [ { - "r" : "365", - "value" : [ "Date","(","2000",", ","3",", ","25",")" ] - } ] - }, { - "r" : "389", - "value" : [ " ","after month of"," " ] - }, { - "r" : "385", - "s" : [ { - "r" : "377", - "value" : [ "Date","(","2000",", ","4",", ","23",")" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "389", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "precision" : "Month", - "type" : "After", - "signature" : [ { - "localId" : "390", - "name" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "391", - "name" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "373", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "Date", - "signature" : [ { - "localId" : "374", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "375", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "376", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "365", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "366", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "367", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "25", - "type" : "Literal" - } - }, { - "localId" : "385", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "Date", - "signature" : [ { - "localId" : "386", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "387", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "388", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "377", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "378", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "4", - "type" : "Literal" - }, - "day" : { - "localId" : "379", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "23", - "type" : "Literal" - } - } ] - } - }, { - "localId" : "394", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "SameDay", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "394", - "s" : [ { - "value" : [ "","define ","SameDay",": " ] - }, { - "r" : "419", - "s" : [ { - "r" : "403", - "s" : [ { - "r" : "395", - "value" : [ "Date","(","2000",", ","3",", ","15",")" ] - } ] - }, { - "r" : "419", - "value" : [ " ","after day of"," " ] - }, { - "r" : "415", - "s" : [ { - "r" : "407", - "value" : [ "Date","(","2000",", ","3",", ","15",")" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "419", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "precision" : "Day", - "type" : "After", - "signature" : [ { - "localId" : "420", - "name" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "421", - "name" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "403", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "Date", - "signature" : [ { - "localId" : "404", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "405", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "406", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "395", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "396", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "397", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal" - } - }, { - "localId" : "415", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "Date", - "signature" : [ { - "localId" : "416", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "417", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "418", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "407", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "408", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "409", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal" - } - } ] - } - }, { - "localId" : "424", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "DayAfter", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "424", - "s" : [ { - "value" : [ "","define ","DayAfter",": " ] - }, { - "r" : "449", - "s" : [ { - "r" : "433", - "s" : [ { - "r" : "425", - "value" : [ "Date","(","2000",", ","3",", ","15",")" ] - } ] - }, { - "r" : "449", - "value" : [ " ","after day of"," " ] - }, { - "r" : "445", - "s" : [ { - "r" : "437", - "value" : [ "Date","(","2000",", ","3",", ","14",")" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "449", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "precision" : "Day", - "type" : "After", - "signature" : [ { - "localId" : "450", - "name" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "451", - "name" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "433", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "Date", - "signature" : [ { - "localId" : "434", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "435", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "436", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "425", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "426", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "427", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal" - } - }, { - "localId" : "445", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "Date", - "signature" : [ { - "localId" : "446", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "447", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "448", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "437", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "438", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "439", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "14", - "type" : "Literal" - } - } ] - } - }, { - "localId" : "454", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "DayBefore", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "454", - "s" : [ { - "value" : [ "","define ","DayBefore",": " ] - }, { - "r" : "479", - "s" : [ { - "r" : "463", - "s" : [ { - "r" : "455", - "value" : [ "Date","(","2000",", ","3",", ","15",")" ] - } ] - }, { - "r" : "479", - "value" : [ " ","after day of"," " ] - }, { - "r" : "475", - "s" : [ { - "r" : "467", - "value" : [ "Date","(","2000",", ","3",", ","16",")" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "479", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "precision" : "Day", - "type" : "After", - "signature" : [ { - "localId" : "480", - "name" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "481", - "name" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "463", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "Date", - "signature" : [ { - "localId" : "464", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "465", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "466", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "455", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "456", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "457", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal" - } - }, { - "localId" : "475", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "Date", - "signature" : [ { - "localId" : "476", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "477", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "478", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "467", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "468", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "469", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "16", - "type" : "Literal" - } - } ] - } - }, { - "localId" : "484", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "Same", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "484", - "s" : [ { - "value" : [ "","define ","Same",": " ] - }, { - "r" : "509", - "s" : [ { - "r" : "493", - "s" : [ { - "r" : "485", - "value" : [ "Date","(","2000",", ","3",", ","15",")" ] - } ] - }, { - "r" : "509", - "value" : [ " ","after"," " ] - }, { - "r" : "505", - "s" : [ { - "r" : "497", - "value" : [ "Date","(","2000",", ","3",", ","15",")" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "509", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "After", - "signature" : [ { - "localId" : "510", - "name" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "511", - "name" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "493", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "Date", - "signature" : [ { - "localId" : "494", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "495", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "496", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "485", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "486", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "487", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal" - } - }, { - "localId" : "505", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "Date", - "signature" : [ { - "localId" : "506", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "507", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "508", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "497", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "498", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "499", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal" - } - } ] - } - }, { - "localId" : "514", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "After", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "514", - "s" : [ { - "value" : [ "","define ","After",": " ] - }, { - "r" : "539", - "s" : [ { - "r" : "523", - "s" : [ { - "r" : "515", - "value" : [ "Date","(","2000",", ","3",", ","16",")" ] - } ] - }, { - "r" : "539", - "value" : [ " ","after"," " ] - }, { - "r" : "535", - "s" : [ { - "r" : "527", - "value" : [ "Date","(","2000",", ","3",", ","15",")" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "539", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "After", - "signature" : [ { - "localId" : "540", - "name" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "541", - "name" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "523", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "Date", - "signature" : [ { - "localId" : "524", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "525", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "526", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "515", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "516", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "517", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "16", - "type" : "Literal" - } - }, { - "localId" : "535", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "Date", - "signature" : [ { - "localId" : "536", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "537", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "538", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "527", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "528", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "529", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal" - } - } ] - } - }, { - "localId" : "544", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "Before", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "544", - "s" : [ { - "value" : [ "","define ","Before",": " ] - }, { - "r" : "569", - "s" : [ { - "r" : "553", - "s" : [ { - "r" : "545", - "value" : [ "Date","(","2000",", ","3",", ","15",")" ] - } ] - }, { - "r" : "569", - "value" : [ " ","after"," " ] - }, { - "r" : "565", - "s" : [ { - "r" : "557", - "value" : [ "Date","(","2000",", ","3",", ","15",")" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "569", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "After", - "signature" : [ { - "localId" : "570", - "name" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "571", - "name" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "553", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "Date", - "signature" : [ { - "localId" : "554", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "555", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "556", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "545", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "546", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "547", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal" - } - }, { - "localId" : "565", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "Date", - "signature" : [ { - "localId" : "566", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "567", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "568", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "557", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "558", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "559", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal" - } - } ] - } - }, { - "localId" : "574", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "ImpreciseDay", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "574", - "s" : [ { - "value" : [ "","define ","ImpreciseDay",": " ] - }, { - "r" : "596", - "s" : [ { - "r" : "583", - "s" : [ { - "r" : "575", - "value" : [ "Date","(","2000",", ","3",", ","15",")" ] - } ] - }, { - "r" : "596", - "value" : [ " ","after day of"," " ] - }, { - "r" : "593", - "s" : [ { - "r" : "587", - "value" : [ "Date","(","2000",", ","3",")" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "596", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "precision" : "Day", - "type" : "After", - "signature" : [ { - "localId" : "597", - "name" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "598", - "name" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "583", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "Date", - "signature" : [ { - "localId" : "584", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "585", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "586", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "575", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "576", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "577", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal" - } - }, { - "localId" : "593", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "Date", - "signature" : [ { - "localId" : "594", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "595", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "587", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "588", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - } - } ] - } - }, { + "value" : [ "", "define ", "DayBefore", ": " ] + }, { + "r" : "479", + "s" : [ { + "r" : "463", + "s" : [ { + "r" : "455", + "value" : [ "Date", "(", "2000", ", ", "3", ", ", "15", ")" ] + } ] + }, { + "r" : "479", + "value" : [ " ", "same day or before", " " ] + }, { + "r" : "475", + "s" : [ { + "r" : "467", + "value" : [ "Date", "(", "2000", ", ", "3", ", ", "16", ")" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "SameOrBefore", + "localId" : "479", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "precision" : "Day", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "480", + "name" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "481", + "name" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "Date", + "localId" : "463", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "464", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "465", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "466", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "455", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "456", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "457", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "15", + "annotation" : [ ] + } + }, { + "type" : "Date", + "localId" : "475", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "476", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "477", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "478", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "467", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "468", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "469", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "16", + "annotation" : [ ] + } + } ] + } + }, { + "localId" : "484", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "Same", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "484", + "s" : [ { + "value" : [ "", "define ", "Same", ": " ] + }, { + "r" : "509", + "s" : [ { + "r" : "493", + "s" : [ { + "r" : "485", + "value" : [ "Date", "(", "2000", ", ", "3", ", ", "15", ")" ] + } ] + }, { + "r" : "509", + "value" : [ " ", "same or before", " " ] + }, { + "r" : "505", + "s" : [ { + "r" : "497", + "value" : [ "Date", "(", "2000", ", ", "3", ", ", "15", ")" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "SameOrBefore", + "localId" : "509", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "510", + "name" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "511", + "name" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "Date", + "localId" : "493", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "494", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "495", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "496", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "485", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "486", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "487", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "15", + "annotation" : [ ] + } + }, { + "type" : "Date", + "localId" : "505", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "506", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "507", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "508", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "497", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "498", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "499", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "15", + "annotation" : [ ] + } + } ] + } + }, { + "localId" : "514", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "After", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "514", + "s" : [ { + "value" : [ "", "define ", "After", ": " ] + }, { + "r" : "539", + "s" : [ { + "r" : "523", + "s" : [ { + "r" : "515", + "value" : [ "Date", "(", "2000", ", ", "3", ", ", "16", ")" ] + } ] + }, { + "r" : "539", + "value" : [ " ", "same or before", " " ] + }, { + "r" : "535", + "s" : [ { + "r" : "527", + "value" : [ "Date", "(", "2000", ", ", "3", ", ", "15", ")" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "SameOrBefore", + "localId" : "539", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "540", + "name" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "541", + "name" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "Date", + "localId" : "523", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "524", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "525", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "526", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "515", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "516", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "517", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "16", + "annotation" : [ ] + } + }, { + "type" : "Date", + "localId" : "535", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "536", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "537", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "538", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "527", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "528", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "529", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "15", + "annotation" : [ ] + } + } ] + } + }, { + "localId" : "544", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "Before", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "544", + "s" : [ { + "value" : [ "", "define ", "Before", ": " ] + }, { + "r" : "569", + "s" : [ { + "r" : "553", + "s" : [ { + "r" : "545", + "value" : [ "Date", "(", "2000", ", ", "3", ", ", "15", ")" ] + } ] + }, { + "r" : "569", + "value" : [ " ", "same or before", " " ] + }, { + "r" : "565", + "s" : [ { + "r" : "557", + "value" : [ "Date", "(", "2000", ", ", "3", ", ", "15", ")" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "SameOrBefore", + "localId" : "569", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "570", + "name" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "571", + "name" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "Date", + "localId" : "553", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "554", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "555", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "556", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "545", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "546", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "547", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "15", + "annotation" : [ ] + } + }, { + "type" : "Date", + "localId" : "565", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "566", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "567", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "568", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "557", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "558", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "559", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "15", + "annotation" : [ ] + } + } ] + } + }, { + "localId" : "574", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "SameDayMonthBefore", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "574", + "s" : [ { + "value" : [ "", "define ", "SameDayMonthBefore", ": " ] + }, { + "r" : "599", + "s" : [ { + "r" : "583", + "s" : [ { + "r" : "575", + "value" : [ "Date", "(", "2000", ", ", "3", ", ", "15", ")" ] + } ] + }, { + "r" : "599", + "value" : [ " ", "same day or before", " " ] + }, { + "r" : "595", + "s" : [ { + "r" : "587", + "value" : [ "Date", "(", "2000", ", ", "4", ", ", "15", ")" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "SameOrBefore", + "localId" : "599", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "precision" : "Day", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "600", + "name" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", "localId" : "601", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "ImpreciseDayMonthAfter", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "601", - "s" : [ { - "value" : [ "","define ","ImpreciseDayMonthAfter",": " ] - }, { - "r" : "623", - "s" : [ { - "r" : "610", - "s" : [ { - "r" : "602", - "value" : [ "Date","(","2000",", ","3",", ","15",")" ] - } ] - }, { - "r" : "623", - "value" : [ " ","after day of"," " ] - }, { - "r" : "620", - "s" : [ { - "r" : "614", - "value" : [ "Date","(","2000",", ","2",")" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "623", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "precision" : "Day", - "type" : "After", - "signature" : [ { - "localId" : "624", - "name" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "625", - "name" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "610", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "Date", - "signature" : [ { - "localId" : "611", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "612", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "613", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "602", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "603", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "604", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal" - } - }, { - "localId" : "620", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "Date", - "signature" : [ { - "localId" : "621", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "622", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "614", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "615", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal" - } - } ] - } - }, { - "localId" : "628", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "ImpreciseDayMonthBefore", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "628", - "s" : [ { - "value" : [ "","define ","ImpreciseDayMonthBefore",": " ] - }, { - "r" : "650", - "s" : [ { - "r" : "637", - "s" : [ { - "r" : "629", - "value" : [ "Date","(","2000",", ","3",", ","15",")" ] - } ] - }, { - "r" : "650", - "value" : [ " ","after day of"," " ] - }, { - "r" : "647", - "s" : [ { - "r" : "641", - "value" : [ "Date","(","2000",", ","4",")" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "650", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "precision" : "Day", - "type" : "After", - "signature" : [ { - "localId" : "651", - "name" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "652", - "name" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "637", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "Date", - "signature" : [ { - "localId" : "638", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "639", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "640", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "629", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "630", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "631", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal" - } - }, { - "localId" : "647", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "Date", - "signature" : [ { - "localId" : "648", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "649", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "641", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "642", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "4", - "type" : "Literal" - } - } ] - } - }, { + "name" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "Date", + "localId" : "583", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "584", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "585", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "586", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "575", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "576", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "577", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "15", + "annotation" : [ ] + } + }, { + "type" : "Date", + "localId" : "595", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "596", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "597", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "598", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "587", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "588", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "4", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "589", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "15", + "annotation" : [ ] + } + } ] + } + }, { + "localId" : "604", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "DayAfterMonthBefore", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "604", + "s" : [ { + "value" : [ "", "define ", "DayAfterMonthBefore", ": " ] + }, { + "r" : "629", + "s" : [ { + "r" : "613", + "s" : [ { + "r" : "605", + "value" : [ "Date", "(", "2000", ", ", "3", ", ", "15", ")" ] + } ] + }, { + "r" : "629", + "value" : [ " ", "same day or before", " " ] + }, { + "r" : "625", + "s" : [ { + "r" : "617", + "value" : [ "Date", "(", "2000", ", ", "4", ", ", "14", ")" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "SameOrBefore", + "localId" : "629", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "precision" : "Day", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "630", + "name" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "631", + "name" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "Date", + "localId" : "613", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "614", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "615", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "616", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "605", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "606", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "607", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "15", + "annotation" : [ ] + } + }, { + "type" : "Date", + "localId" : "625", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "626", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "627", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "628", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "617", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "618", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "4", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "619", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "14", + "annotation" : [ ] + } + } ] + } + }, { + "localId" : "634", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "DayBeforeMonthAfter", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "634", + "s" : [ { + "value" : [ "", "define ", "DayBeforeMonthAfter", ": " ] + }, { + "r" : "659", + "s" : [ { + "r" : "643", + "s" : [ { + "r" : "635", + "value" : [ "Date", "(", "2000", ", ", "3", ", ", "15", ")" ] + } ] + }, { + "r" : "659", + "value" : [ " ", "same day or before", " " ] + }, { + "r" : "655", + "s" : [ { + "r" : "647", + "value" : [ "Date", "(", "2000", ", ", "2", ", ", "16", ")" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "SameOrBefore", + "localId" : "659", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "precision" : "Day", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "660", + "name" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "661", + "name" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "Date", + "localId" : "643", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "644", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "645", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "646", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "635", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "636", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "637", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "15", + "annotation" : [ ] + } + }, { + "type" : "Date", "localId" : "655", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "NullLeft", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "655", - "s" : [ { - "value" : [ "","define ","NullLeft",": " ] - }, { - "r" : "669", - "s" : [ { - "r" : "656", - "value" : [ "null"," ","after"," " ] - }, { - "r" : "665", - "s" : [ { - "r" : "657", - "value" : [ "Date","(","2000",", ","3",", ","15",")" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "669", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "After", - "signature" : [ { - "localId" : "671", - "name" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "672", - "name" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "670", - "asType" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "As", - "signature" : [ ], - "operand" : { - "localId" : "656", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - } - }, { - "localId" : "665", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "Date", - "signature" : [ { - "localId" : "666", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "667", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "668", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "657", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "658", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "659", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal" - } - } ] - } - }, { - "localId" : "675", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "NullRight", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "675", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "656", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "657", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "658", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "647", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "648", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "649", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "16", + "annotation" : [ ] + } + } ] + } + }, { + "localId" : "664", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "ImpreciseDay", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "664", + "s" : [ { + "value" : [ "", "define ", "ImpreciseDay", ": " ] + }, { + "r" : "686", + "s" : [ { + "r" : "673", + "s" : [ { + "r" : "665", + "value" : [ "Date", "(", "2000", ", ", "3", ", ", "15", ")" ] + } ] + }, { + "r" : "686", + "value" : [ " ", "same day or before", " " ] + }, { + "r" : "683", + "s" : [ { + "r" : "677", + "value" : [ "Date", "(", "2000", ", ", "3", ")" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "SameOrBefore", + "localId" : "686", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "precision" : "Day", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "687", + "name" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "688", + "name" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "Date", + "localId" : "673", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "674", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "675", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "676", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "665", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "666", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "667", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "15", + "annotation" : [ ] + } + }, { + "type" : "Date", + "localId" : "683", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "684", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "685", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "677", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "678", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + } + } ] + } + }, { + "localId" : "691", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "ImpreciseDayMonthAfter", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "691", + "s" : [ { + "value" : [ "", "define ", "ImpreciseDayMonthAfter", ": " ] + }, { + "r" : "713", + "s" : [ { + "r" : "700", + "s" : [ { + "r" : "692", + "value" : [ "Date", "(", "2000", ", ", "3", ", ", "15", ")" ] + } ] + }, { + "r" : "713", + "value" : [ " ", "same day or before", " " ] + }, { + "r" : "710", + "s" : [ { + "r" : "704", + "value" : [ "Date", "(", "2000", ", ", "2", ")" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "SameOrBefore", + "localId" : "713", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "precision" : "Day", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "714", + "name" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "715", + "name" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "Date", + "localId" : "700", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "701", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "702", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "703", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "692", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "693", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "694", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "15", + "annotation" : [ ] + } + }, { + "type" : "Date", + "localId" : "710", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "711", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "712", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "704", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "705", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "annotation" : [ ] + } + } ] + } + }, { + "localId" : "718", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "ImpreciseDayMonthBefore", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "718", + "s" : [ { + "value" : [ "", "define ", "ImpreciseDayMonthBefore", ": " ] + }, { + "r" : "740", + "s" : [ { + "r" : "727", + "s" : [ { + "r" : "719", + "value" : [ "Date", "(", "2000", ", ", "3", ", ", "15", ")" ] + } ] + }, { + "r" : "740", + "value" : [ " ", "same day or before", " " ] + }, { + "r" : "737", + "s" : [ { + "r" : "731", + "value" : [ "Date", "(", "2000", ", ", "4", ")" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "SameOrBefore", + "localId" : "740", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "precision" : "Day", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "741", + "name" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "742", + "name" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "Date", + "localId" : "727", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "728", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "729", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "730", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "719", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "720", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "721", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "15", + "annotation" : [ ] + } + }, { + "type" : "Date", + "localId" : "737", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "738", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "739", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "731", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "732", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "4", + "annotation" : [ ] + } + } ] + } + }, { + "localId" : "745", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "NullLeft", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "745", + "s" : [ { + "value" : [ "", "define ", "NullLeft", ": " ] + }, { + "r" : "759", + "s" : [ { + "r" : "746", + "value" : [ "null", " ", "same or before", " " ] + }, { + "r" : "755", + "s" : [ { + "r" : "747", + "value" : [ "Date", "(", "2000", ", ", "3", ", ", "15", ")" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "SameOrBefore", + "localId" : "759", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "761", + "name" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "762", + "name" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "As", + "localId" : "760", + "asType" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Null", + "localId" : "746", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } + }, { + "type" : "Date", + "localId" : "755", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "756", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "757", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "758", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "747", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "748", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "749", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "15", + "annotation" : [ ] + } + } ] + } + }, { + "localId" : "765", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "NullRight", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "765", + "s" : [ { + "value" : [ "", "define ", "NullRight", ": " ] + }, { + "r" : "779", + "s" : [ { + "r" : "774", + "s" : [ { + "r" : "766", + "value" : [ "Date", "(", "2000", ", ", "3", ", ", "15", ")" ] + } ] + }, { + "r" : "779", + "value" : [ " ", "same or before", " ", "null" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "SameOrBefore", + "localId" : "779", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "781", + "name" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "782", + "name" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "Date", + "localId" : "774", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "775", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "776", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "777", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "766", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "767", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "768", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "15", + "annotation" : [ ] + } + }, { + "type" : "As", + "localId" : "780", + "asType" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Null", + "localId" : "778", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } + } ] + } + }, { + "localId" : "785", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "NullBoth", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "785", + "s" : [ { + "value" : [ "", "define ", "NullBoth", ": " ] + }, { + "r" : "790", + "s" : [ { + "r" : "786", + "s" : [ { + "value" : [ "(" ] + }, { + "r" : "786", "s" : [ { - "value" : [ "","define ","NullRight",": " ] + "r" : "787", + "value" : [ "null", " as " ] }, { - "r" : "689", - "s" : [ { - "r" : "684", - "s" : [ { - "r" : "676", - "value" : [ "Date","(","2000",", ","3",", ","15",")" ] - } ] - }, { - "r" : "689", - "value" : [ " ","after"," ","null" ] - } ] + "r" : "788", + "s" : [ { + "value" : [ "Date" ] + } ] } ] - } - } ], - "expression" : { - "localId" : "689", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "After", - "signature" : [ { - "localId" : "691", - "name" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "692", - "name" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "684", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "Date", - "signature" : [ { - "localId" : "685", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "686", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "687", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "676", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "677", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "678", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal" - } - }, { - "localId" : "690", - "asType" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "As", - "signature" : [ ], - "operand" : { - "localId" : "688", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - } - } ] - } - }, { - "localId" : "695", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "NullBoth", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "695", + }, { + "value" : [ ")" ] + } ] + }, { + "r" : "790", + "value" : [ " ", "same or before", " ", "null" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "SameOrBefore", + "localId" : "790", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "792", + "name" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "793", + "name" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "As", + "localId" : "786", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", + "strict" : false, + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Null", + "localId" : "787", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + }, + "asTypeSpecifier" : { + "type" : "NamedTypeSpecifier", + "localId" : "788", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", + "name" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ] + } + }, { + "type" : "As", + "localId" : "791", + "asType" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Null", + "localId" : "789", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } + } ] + } + } ] + } + } +} + +/* After +library TestSnippet version '1' +using Simple version '1.0.0' +context Patient +define SameYear: Date(2000, 12, 15) after year of Date(2000, 11, 23) +define YearAfter: Date(2000, 12, 15) after year of Date(1999, 11, 23) +define YearBefore: Date(2000, 12, 15) after year of Date(2001, 11, 23) +define SameMonth: Date(2000, 3, 25) after month of Date(2000, 3, 23) +define MonthAfter: Date(2000, 3, 25) after month of Date(2000, 2, 23) +define MonthBefore: Date(2000, 3, 25) after month of Date(2000, 4, 23) +define SameDay: Date(2000, 3, 15) after day of Date(2000, 3, 15) +define DayAfter: Date(2000, 3, 15) after day of Date(2000, 3, 14) +define DayBefore: Date(2000, 3, 15) after day of Date(2000, 3, 16) +define Same: Date(2000, 3, 15) after Date(2000, 3, 15) +define After: Date(2000, 3, 16) after Date(2000, 3, 15) +define Before: Date(2000, 3, 15) after Date(2000, 3, 15) +define ImpreciseDay: Date(2000, 3, 15) after day of Date(2000, 3) +define ImpreciseDayMonthAfter: Date(2000, 3, 15) after day of Date(2000, 2) +define ImpreciseDayMonthBefore: Date(2000, 3, 15) after day of Date(2000, 4) +define NullLeft: null after Date(2000, 3, 15) +define NullRight: Date(2000, 3, 15) after null +define NullBoth: (null as Date) after null +*/ + +module.exports['After'] = { + "library" : { + "localId" : "0", + "annotation" : [ { + "type" : "CqlToElmInfo", + "translatorVersion" : "4.2.0", + "translatorOptions" : "EnableDateRangeOptimization,EnableAnnotations,EnableResultTypes", + "signatureLevel" : "All" + }, { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "695", + "s" : [ { + "value" : [ "", "library TestSnippet version '1'" ] + } ] + } + } ], + "identifier" : { + "id" : "TestSnippet", + "version" : "1" + }, + "schemaIdentifier" : { + "id" : "urn:hl7-org:elm", + "version" : "r1" + }, + "usings" : { + "def" : [ { + "localId" : "1", + "localIdentifier" : "System", + "uri" : "urn:hl7-org:elm-types:r1", + "annotation" : [ ] + }, { + "localId" : "206", + "localIdentifier" : "Simple", + "uri" : "https://github.com/cqframework/cql-execution/simple", + "version" : "1.0.0", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "206", + "s" : [ { + "value" : [ "", "using " ] + }, { + "s" : [ { + "value" : [ "Simple" ] + } ] + }, { + "value" : [ " version '1.0.0'" ] + } ] + } + } ] + } ] + }, + "contexts" : { + "def" : [ { + "localId" : "211", + "name" : "Patient", + "annotation" : [ ] + } ] + }, + "statements" : { + "def" : [ { + "localId" : "209", + "name" : "Patient", + "context" : "Patient", + "annotation" : [ ], + "expression" : { + "type" : "SingletonFrom", + "localId" : "210", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Retrieve", + "localId" : "208", + "dataType" : "{https://github.com/cqframework/cql-execution/simple}Patient", + "annotation" : [ ], + "include" : [ ], + "codeFilter" : [ ], + "dateFilter" : [ ], + "otherFilter" : [ ] + } + } + }, { + "localId" : "214", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "SameYear", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "214", + "s" : [ { + "value" : [ "", "define ", "SameYear", ": " ] + }, { + "r" : "239", + "s" : [ { + "r" : "223", + "s" : [ { + "r" : "215", + "value" : [ "Date", "(", "2000", ", ", "12", ", ", "15", ")" ] + } ] + }, { + "r" : "239", + "value" : [ " ", "after year of", " " ] + }, { + "r" : "235", + "s" : [ { + "r" : "227", + "value" : [ "Date", "(", "2000", ", ", "11", ", ", "23", ")" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "After", + "localId" : "239", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "precision" : "Year", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "240", + "name" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "241", + "name" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "Date", + "localId" : "223", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "224", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "225", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "226", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "215", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "216", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "12", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "217", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "15", + "annotation" : [ ] + } + }, { + "type" : "Date", + "localId" : "235", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "236", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "237", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "238", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "227", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "228", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "11", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "229", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "23", + "annotation" : [ ] + } + } ] + } + }, { + "localId" : "244", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "YearAfter", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "244", + "s" : [ { + "value" : [ "", "define ", "YearAfter", ": " ] + }, { + "r" : "269", + "s" : [ { + "r" : "253", + "s" : [ { + "r" : "245", + "value" : [ "Date", "(", "2000", ", ", "12", ", ", "15", ")" ] + } ] + }, { + "r" : "269", + "value" : [ " ", "after year of", " " ] + }, { + "r" : "265", + "s" : [ { + "r" : "257", + "value" : [ "Date", "(", "1999", ", ", "11", ", ", "23", ")" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "After", + "localId" : "269", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "precision" : "Year", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "270", + "name" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "271", + "name" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "Date", + "localId" : "253", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "254", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "255", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "256", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "245", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "246", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "12", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "247", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "15", + "annotation" : [ ] + } + }, { + "type" : "Date", + "localId" : "265", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "266", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "267", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "268", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "257", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1999", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "258", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "11", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "259", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "23", + "annotation" : [ ] + } + } ] + } + }, { + "localId" : "274", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "YearBefore", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "274", + "s" : [ { + "value" : [ "", "define ", "YearBefore", ": " ] + }, { + "r" : "299", + "s" : [ { + "r" : "283", + "s" : [ { + "r" : "275", + "value" : [ "Date", "(", "2000", ", ", "12", ", ", "15", ")" ] + } ] + }, { + "r" : "299", + "value" : [ " ", "after year of", " " ] + }, { + "r" : "295", + "s" : [ { + "r" : "287", + "value" : [ "Date", "(", "2001", ", ", "11", ", ", "23", ")" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "After", + "localId" : "299", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "precision" : "Year", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "300", + "name" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "301", + "name" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "Date", + "localId" : "283", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "284", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "285", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "286", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "275", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "276", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "12", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "277", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "15", + "annotation" : [ ] + } + }, { + "type" : "Date", + "localId" : "295", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "296", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "297", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "298", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "287", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2001", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "288", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "11", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "289", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "23", + "annotation" : [ ] + } + } ] + } + }, { + "localId" : "304", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "SameMonth", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "304", + "s" : [ { + "value" : [ "", "define ", "SameMonth", ": " ] + }, { + "r" : "329", + "s" : [ { + "r" : "313", + "s" : [ { + "r" : "305", + "value" : [ "Date", "(", "2000", ", ", "3", ", ", "25", ")" ] + } ] + }, { + "r" : "329", + "value" : [ " ", "after month of", " " ] + }, { + "r" : "325", + "s" : [ { + "r" : "317", + "value" : [ "Date", "(", "2000", ", ", "3", ", ", "23", ")" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "After", + "localId" : "329", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "precision" : "Month", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "330", + "name" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "331", + "name" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "Date", + "localId" : "313", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "314", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "315", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "316", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "305", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "306", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "307", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "25", + "annotation" : [ ] + } + }, { + "type" : "Date", + "localId" : "325", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "326", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "327", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "328", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "317", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "318", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "319", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "23", + "annotation" : [ ] + } + } ] + } + }, { + "localId" : "334", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "MonthAfter", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "334", + "s" : [ { + "value" : [ "", "define ", "MonthAfter", ": " ] + }, { + "r" : "359", + "s" : [ { + "r" : "343", + "s" : [ { + "r" : "335", + "value" : [ "Date", "(", "2000", ", ", "3", ", ", "25", ")" ] + } ] + }, { + "r" : "359", + "value" : [ " ", "after month of", " " ] + }, { + "r" : "355", + "s" : [ { + "r" : "347", + "value" : [ "Date", "(", "2000", ", ", "2", ", ", "23", ")" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "After", + "localId" : "359", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "precision" : "Month", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "360", + "name" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "361", + "name" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "Date", + "localId" : "343", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "344", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "345", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "346", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "335", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "336", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "337", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "25", + "annotation" : [ ] + } + }, { + "type" : "Date", + "localId" : "355", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "356", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "357", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "358", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "347", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "348", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "349", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "23", + "annotation" : [ ] + } + } ] + } + }, { + "localId" : "364", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "MonthBefore", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "364", + "s" : [ { + "value" : [ "", "define ", "MonthBefore", ": " ] + }, { + "r" : "389", + "s" : [ { + "r" : "373", + "s" : [ { + "r" : "365", + "value" : [ "Date", "(", "2000", ", ", "3", ", ", "25", ")" ] + } ] + }, { + "r" : "389", + "value" : [ " ", "after month of", " " ] + }, { + "r" : "385", + "s" : [ { + "r" : "377", + "value" : [ "Date", "(", "2000", ", ", "4", ", ", "23", ")" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "After", + "localId" : "389", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "precision" : "Month", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "390", + "name" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "391", + "name" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "Date", + "localId" : "373", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "374", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "375", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "376", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "365", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "366", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "367", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "25", + "annotation" : [ ] + } + }, { + "type" : "Date", + "localId" : "385", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "386", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "387", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "388", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "377", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "378", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "4", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "379", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "23", + "annotation" : [ ] + } + } ] + } + }, { + "localId" : "394", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "SameDay", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "394", + "s" : [ { + "value" : [ "", "define ", "SameDay", ": " ] + }, { + "r" : "419", + "s" : [ { + "r" : "403", + "s" : [ { + "r" : "395", + "value" : [ "Date", "(", "2000", ", ", "3", ", ", "15", ")" ] + } ] + }, { + "r" : "419", + "value" : [ " ", "after day of", " " ] + }, { + "r" : "415", + "s" : [ { + "r" : "407", + "value" : [ "Date", "(", "2000", ", ", "3", ", ", "15", ")" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "After", + "localId" : "419", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "precision" : "Day", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "420", + "name" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "421", + "name" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "Date", + "localId" : "403", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "404", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "405", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "406", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "395", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "396", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "397", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "15", + "annotation" : [ ] + } + }, { + "type" : "Date", + "localId" : "415", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "416", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "417", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "418", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "407", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "408", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "409", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "15", + "annotation" : [ ] + } + } ] + } + }, { + "localId" : "424", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "DayAfter", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "424", + "s" : [ { + "value" : [ "", "define ", "DayAfter", ": " ] + }, { + "r" : "449", + "s" : [ { + "r" : "433", + "s" : [ { + "r" : "425", + "value" : [ "Date", "(", "2000", ", ", "3", ", ", "15", ")" ] + } ] + }, { + "r" : "449", + "value" : [ " ", "after day of", " " ] + }, { + "r" : "445", + "s" : [ { + "r" : "437", + "value" : [ "Date", "(", "2000", ", ", "3", ", ", "14", ")" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "After", + "localId" : "449", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "precision" : "Day", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "450", + "name" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "451", + "name" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "Date", + "localId" : "433", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "434", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "435", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "436", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "425", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "426", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "427", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "15", + "annotation" : [ ] + } + }, { + "type" : "Date", + "localId" : "445", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "446", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "447", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "448", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "437", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "438", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "439", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "14", + "annotation" : [ ] + } + } ] + } + }, { + "localId" : "454", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "DayBefore", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "454", + "s" : [ { + "value" : [ "", "define ", "DayBefore", ": " ] + }, { + "r" : "479", + "s" : [ { + "r" : "463", + "s" : [ { + "r" : "455", + "value" : [ "Date", "(", "2000", ", ", "3", ", ", "15", ")" ] + } ] + }, { + "r" : "479", + "value" : [ " ", "after day of", " " ] + }, { + "r" : "475", + "s" : [ { + "r" : "467", + "value" : [ "Date", "(", "2000", ", ", "3", ", ", "16", ")" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "After", + "localId" : "479", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "precision" : "Day", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "480", + "name" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "481", + "name" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "Date", + "localId" : "463", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "464", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "465", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "466", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "455", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "456", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "457", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "15", + "annotation" : [ ] + } + }, { + "type" : "Date", + "localId" : "475", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "476", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "477", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "478", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "467", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "468", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "469", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "16", + "annotation" : [ ] + } + } ] + } + }, { + "localId" : "484", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "Same", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "484", + "s" : [ { + "value" : [ "", "define ", "Same", ": " ] + }, { + "r" : "509", + "s" : [ { + "r" : "493", + "s" : [ { + "r" : "485", + "value" : [ "Date", "(", "2000", ", ", "3", ", ", "15", ")" ] + } ] + }, { + "r" : "509", + "value" : [ " ", "after", " " ] + }, { + "r" : "505", + "s" : [ { + "r" : "497", + "value" : [ "Date", "(", "2000", ", ", "3", ", ", "15", ")" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "After", + "localId" : "509", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "510", + "name" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "511", + "name" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "Date", + "localId" : "493", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "494", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "495", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "496", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "485", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "486", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "487", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "15", + "annotation" : [ ] + } + }, { + "type" : "Date", + "localId" : "505", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "506", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "507", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "508", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "497", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "498", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "499", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "15", + "annotation" : [ ] + } + } ] + } + }, { + "localId" : "514", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "After", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "514", + "s" : [ { + "value" : [ "", "define ", "After", ": " ] + }, { + "r" : "539", + "s" : [ { + "r" : "523", + "s" : [ { + "r" : "515", + "value" : [ "Date", "(", "2000", ", ", "3", ", ", "16", ")" ] + } ] + }, { + "r" : "539", + "value" : [ " ", "after", " " ] + }, { + "r" : "535", + "s" : [ { + "r" : "527", + "value" : [ "Date", "(", "2000", ", ", "3", ", ", "15", ")" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "After", + "localId" : "539", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "540", + "name" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "541", + "name" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "Date", + "localId" : "523", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "524", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "525", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "526", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "515", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "516", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "517", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "16", + "annotation" : [ ] + } + }, { + "type" : "Date", + "localId" : "535", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "536", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "537", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "538", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "527", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "528", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "529", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "15", + "annotation" : [ ] + } + } ] + } + }, { + "localId" : "544", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "Before", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "544", + "s" : [ { + "value" : [ "", "define ", "Before", ": " ] + }, { + "r" : "569", + "s" : [ { + "r" : "553", + "s" : [ { + "r" : "545", + "value" : [ "Date", "(", "2000", ", ", "3", ", ", "15", ")" ] + } ] + }, { + "r" : "569", + "value" : [ " ", "after", " " ] + }, { + "r" : "565", + "s" : [ { + "r" : "557", + "value" : [ "Date", "(", "2000", ", ", "3", ", ", "15", ")" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "After", + "localId" : "569", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "570", + "name" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "571", + "name" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "Date", + "localId" : "553", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "554", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "555", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "556", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "545", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "546", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "547", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "15", + "annotation" : [ ] + } + }, { + "type" : "Date", + "localId" : "565", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "566", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "567", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "568", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "557", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "558", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "559", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "15", + "annotation" : [ ] + } + } ] + } + }, { + "localId" : "574", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "ImpreciseDay", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "574", + "s" : [ { + "value" : [ "", "define ", "ImpreciseDay", ": " ] + }, { + "r" : "596", + "s" : [ { + "r" : "583", + "s" : [ { + "r" : "575", + "value" : [ "Date", "(", "2000", ", ", "3", ", ", "15", ")" ] + } ] + }, { + "r" : "596", + "value" : [ " ", "after day of", " " ] + }, { + "r" : "593", + "s" : [ { + "r" : "587", + "value" : [ "Date", "(", "2000", ", ", "3", ")" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "After", + "localId" : "596", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "precision" : "Day", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "597", + "name" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "598", + "name" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "Date", + "localId" : "583", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "584", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "585", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "586", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "575", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "576", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "577", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "15", + "annotation" : [ ] + } + }, { + "type" : "Date", + "localId" : "593", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "594", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "595", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "587", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "588", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + } + } ] + } + }, { + "localId" : "601", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "ImpreciseDayMonthAfter", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "601", + "s" : [ { + "value" : [ "", "define ", "ImpreciseDayMonthAfter", ": " ] + }, { + "r" : "623", + "s" : [ { + "r" : "610", + "s" : [ { + "r" : "602", + "value" : [ "Date", "(", "2000", ", ", "3", ", ", "15", ")" ] + } ] + }, { + "r" : "623", + "value" : [ " ", "after day of", " " ] + }, { + "r" : "620", + "s" : [ { + "r" : "614", + "value" : [ "Date", "(", "2000", ", ", "2", ")" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "After", + "localId" : "623", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "precision" : "Day", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "624", + "name" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "625", + "name" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "Date", + "localId" : "610", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "611", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "612", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "613", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "602", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "603", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "604", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "15", + "annotation" : [ ] + } + }, { + "type" : "Date", + "localId" : "620", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "621", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "622", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "614", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "615", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "annotation" : [ ] + } + } ] + } + }, { + "localId" : "628", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "ImpreciseDayMonthBefore", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "628", + "s" : [ { + "value" : [ "", "define ", "ImpreciseDayMonthBefore", ": " ] + }, { + "r" : "650", + "s" : [ { + "r" : "637", + "s" : [ { + "r" : "629", + "value" : [ "Date", "(", "2000", ", ", "3", ", ", "15", ")" ] + } ] + }, { + "r" : "650", + "value" : [ " ", "after day of", " " ] + }, { + "r" : "647", + "s" : [ { + "r" : "641", + "value" : [ "Date", "(", "2000", ", ", "4", ")" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "After", + "localId" : "650", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "precision" : "Day", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "651", + "name" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "652", + "name" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "Date", + "localId" : "637", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "638", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "639", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "640", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "629", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "630", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "631", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "15", + "annotation" : [ ] + } + }, { + "type" : "Date", + "localId" : "647", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "648", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "649", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "641", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "642", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "4", + "annotation" : [ ] + } + } ] + } + }, { + "localId" : "655", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "NullLeft", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "655", + "s" : [ { + "value" : [ "", "define ", "NullLeft", ": " ] + }, { + "r" : "669", + "s" : [ { + "r" : "656", + "value" : [ "null", " ", "after", " " ] + }, { + "r" : "665", + "s" : [ { + "r" : "657", + "value" : [ "Date", "(", "2000", ", ", "3", ", ", "15", ")" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "After", + "localId" : "669", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "671", + "name" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "672", + "name" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "As", + "localId" : "670", + "asType" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Null", + "localId" : "656", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } + }, { + "type" : "Date", + "localId" : "665", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "666", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "667", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "668", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "657", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "658", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "659", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "15", + "annotation" : [ ] + } + } ] + } + }, { + "localId" : "675", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "NullRight", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "675", + "s" : [ { + "value" : [ "", "define ", "NullRight", ": " ] + }, { + "r" : "689", + "s" : [ { + "r" : "684", + "s" : [ { + "r" : "676", + "value" : [ "Date", "(", "2000", ", ", "3", ", ", "15", ")" ] + } ] + }, { + "r" : "689", + "value" : [ " ", "after", " ", "null" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "After", + "localId" : "689", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "691", + "name" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "692", + "name" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "Date", + "localId" : "684", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "685", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "686", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "687", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "676", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "677", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "678", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "15", + "annotation" : [ ] + } + }, { + "type" : "As", + "localId" : "690", + "asType" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Null", + "localId" : "688", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } + } ] + } + }, { + "localId" : "695", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "NullBoth", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "695", + "s" : [ { + "value" : [ "", "define ", "NullBoth", ": " ] + }, { + "r" : "700", + "s" : [ { + "r" : "696", + "s" : [ { + "value" : [ "(" ] + }, { + "r" : "696", "s" : [ { - "value" : [ "","define ","NullBoth",": " ] + "r" : "697", + "value" : [ "null", " as " ] }, { - "r" : "700", - "s" : [ { - "r" : "696", - "s" : [ { - "value" : [ "(" ] - }, { - "r" : "696", - "s" : [ { - "r" : "697", - "value" : [ "null"," as " ] - }, { - "r" : "698", - "s" : [ { - "value" : [ "Date" ] - } ] - } ] - }, { - "value" : [ ")" ] - } ] - }, { - "r" : "700", - "value" : [ " ","after"," ","null" ] - } ] + "r" : "698", + "s" : [ { + "value" : [ "Date" ] + } ] } ] - } - } ], - "expression" : { - "localId" : "700", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "After", - "signature" : [ { - "localId" : "702", - "name" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "703", - "name" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "696", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", - "strict" : false, - "type" : "As", - "signature" : [ ], - "operand" : { - "localId" : "697", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - }, - "asTypeSpecifier" : { - "localId" : "698", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", - "name" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "701", - "asType" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "As", - "signature" : [ ], - "operand" : { - "localId" : "699", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - } - } ] - } - } ] - } - } + }, { + "value" : [ ")" ] + } ] + }, { + "r" : "700", + "value" : [ " ", "after", " ", "null" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "After", + "localId" : "700", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "702", + "name" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "703", + "name" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "As", + "localId" : "696", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", + "strict" : false, + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Null", + "localId" : "697", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + }, + "asTypeSpecifier" : { + "type" : "NamedTypeSpecifier", + "localId" : "698", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", + "name" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ] + } + }, { + "type" : "As", + "localId" : "701", + "asType" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Null", + "localId" : "699", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } + } ] + } + } ] + } + } } /* Before @@ -9868,2185 +11206,2491 @@ define NullBoth: (null as Date) before null */ module.exports['Before'] = { - "library" : { - "localId" : "0", - "annotation" : [ { - "translatorVersion" : "3.27.0", - "translatorOptions" : "EnableDateRangeOptimization,EnableAnnotations,EnableResultTypes", - "signatureLevel" : "All", - "type" : "CqlToElmInfo" - }, { - "type" : "Annotation", - "s" : { + "library" : { + "localId" : "0", + "annotation" : [ { + "type" : "CqlToElmInfo", + "translatorVersion" : "4.2.0", + "translatorOptions" : "EnableDateRangeOptimization,EnableAnnotations,EnableResultTypes", + "signatureLevel" : "All" + }, { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "695", + "s" : [ { + "value" : [ "", "library TestSnippet version '1'" ] + } ] + } + } ], + "identifier" : { + "id" : "TestSnippet", + "version" : "1" + }, + "schemaIdentifier" : { + "id" : "urn:hl7-org:elm", + "version" : "r1" + }, + "usings" : { + "def" : [ { + "localId" : "1", + "localIdentifier" : "System", + "uri" : "urn:hl7-org:elm-types:r1", + "annotation" : [ ] + }, { + "localId" : "206", + "localIdentifier" : "Simple", + "uri" : "https://github.com/cqframework/cql-execution/simple", + "version" : "1.0.0", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "206", + "s" : [ { + "value" : [ "", "using " ] + }, { + "s" : [ { + "value" : [ "Simple" ] + } ] + }, { + "value" : [ " version '1.0.0'" ] + } ] + } + } ] + } ] + }, + "contexts" : { + "def" : [ { + "localId" : "211", + "name" : "Patient", + "annotation" : [ ] + } ] + }, + "statements" : { + "def" : [ { + "localId" : "209", + "name" : "Patient", + "context" : "Patient", + "annotation" : [ ], + "expression" : { + "type" : "SingletonFrom", + "localId" : "210", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Retrieve", + "localId" : "208", + "dataType" : "{https://github.com/cqframework/cql-execution/simple}Patient", + "annotation" : [ ], + "include" : [ ], + "codeFilter" : [ ], + "dateFilter" : [ ], + "otherFilter" : [ ] + } + } + }, { + "localId" : "214", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "SameYear", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "214", + "s" : [ { + "value" : [ "", "define ", "SameYear", ": " ] + }, { + "r" : "239", + "s" : [ { + "r" : "223", + "s" : [ { + "r" : "215", + "value" : [ "Date", "(", "2000", ", ", "10", ", ", "15", ")" ] + } ] + }, { + "r" : "239", + "value" : [ " ", "before year of", " " ] + }, { + "r" : "235", + "s" : [ { + "r" : "227", + "value" : [ "Date", "(", "2000", ", ", "11", ", ", "23", ")" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Before", + "localId" : "239", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "precision" : "Year", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "240", + "name" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "241", + "name" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "Date", + "localId" : "223", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "224", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "225", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "226", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "215", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "216", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "10", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "217", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "15", + "annotation" : [ ] + } + }, { + "type" : "Date", + "localId" : "235", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "236", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "237", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "238", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "227", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "228", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "11", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "229", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "23", + "annotation" : [ ] + } + } ] + } + }, { + "localId" : "244", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "YearAfter", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "244", + "s" : [ { + "value" : [ "", "define ", "YearAfter", ": " ] + }, { + "r" : "269", + "s" : [ { + "r" : "253", + "s" : [ { + "r" : "245", + "value" : [ "Date", "(", "2000", ", ", "10", ", ", "15", ")" ] + } ] + }, { + "r" : "269", + "value" : [ " ", "before year of", " " ] + }, { + "r" : "265", + "s" : [ { + "r" : "257", + "value" : [ "Date", "(", "1999", ", ", "11", ", ", "23", ")" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Before", + "localId" : "269", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "precision" : "Year", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "270", + "name" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "271", + "name" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "Date", + "localId" : "253", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "254", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "255", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "256", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "245", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "246", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "10", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "247", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "15", + "annotation" : [ ] + } + }, { + "type" : "Date", + "localId" : "265", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "266", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "267", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "268", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "257", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1999", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "258", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "11", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "259", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "23", + "annotation" : [ ] + } + } ] + } + }, { + "localId" : "274", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "YearBefore", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "274", + "s" : [ { + "value" : [ "", "define ", "YearBefore", ": " ] + }, { + "r" : "299", + "s" : [ { + "r" : "283", + "s" : [ { + "r" : "275", + "value" : [ "Date", "(", "2000", ", ", "10", ", ", "15", ")" ] + } ] + }, { + "r" : "299", + "value" : [ " ", "before year of", " " ] + }, { + "r" : "295", + "s" : [ { + "r" : "287", + "value" : [ "Date", "(", "2001", ", ", "11", ", ", "23", ")" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Before", + "localId" : "299", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "precision" : "Year", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "300", + "name" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "301", + "name" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "Date", + "localId" : "283", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "284", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "285", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "286", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "275", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "276", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "10", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "277", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "15", + "annotation" : [ ] + } + }, { + "type" : "Date", + "localId" : "295", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "296", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "297", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "298", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "287", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2001", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "288", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "11", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "289", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "23", + "annotation" : [ ] + } + } ] + } + }, { + "localId" : "304", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "SameMonth", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "304", + "s" : [ { + "value" : [ "", "define ", "SameMonth", ": " ] + }, { + "r" : "329", + "s" : [ { + "r" : "313", + "s" : [ { + "r" : "305", + "value" : [ "Date", "(", "2000", ", ", "3", ", ", "22", ")" ] + } ] + }, { + "r" : "329", + "value" : [ " ", "before month of", " " ] + }, { + "r" : "325", + "s" : [ { + "r" : "317", + "value" : [ "Date", "(", "2000", ", ", "3", ", ", "23", ")" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Before", + "localId" : "329", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "precision" : "Month", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "330", + "name" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "331", + "name" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "Date", + "localId" : "313", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "314", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "315", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "316", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "305", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "306", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "307", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "22", + "annotation" : [ ] + } + }, { + "type" : "Date", + "localId" : "325", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "326", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "327", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "328", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "317", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "318", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "319", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "23", + "annotation" : [ ] + } + } ] + } + }, { + "localId" : "334", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "MonthAfter", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "334", + "s" : [ { + "value" : [ "", "define ", "MonthAfter", ": " ] + }, { + "r" : "359", + "s" : [ { + "r" : "343", + "s" : [ { + "r" : "335", + "value" : [ "Date", "(", "2000", ", ", "3", ", ", "22", ")" ] + } ] + }, { + "r" : "359", + "value" : [ " ", "before month of", " " ] + }, { + "r" : "355", + "s" : [ { + "r" : "347", + "value" : [ "Date", "(", "2000", ", ", "2", ", ", "23", ")" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Before", + "localId" : "359", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "precision" : "Month", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "360", + "name" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "361", + "name" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "Date", + "localId" : "343", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "344", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "345", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "346", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "335", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "336", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "337", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "22", + "annotation" : [ ] + } + }, { + "type" : "Date", + "localId" : "355", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "356", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "357", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "358", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "347", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "348", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "349", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "23", + "annotation" : [ ] + } + } ] + } + }, { + "localId" : "364", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "MonthBefore", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "364", + "s" : [ { + "value" : [ "", "define ", "MonthBefore", ": " ] + }, { + "r" : "389", + "s" : [ { + "r" : "373", + "s" : [ { + "r" : "365", + "value" : [ "Date", "(", "2000", ", ", "3", ", ", "22", ")" ] + } ] + }, { + "r" : "389", + "value" : [ " ", "before month of", " " ] + }, { + "r" : "385", + "s" : [ { + "r" : "377", + "value" : [ "Date", "(", "2000", ", ", "4", ", ", "23", ")" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Before", + "localId" : "389", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "precision" : "Month", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "390", + "name" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "391", + "name" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "Date", + "localId" : "373", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "374", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "375", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "376", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "365", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "366", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "367", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "22", + "annotation" : [ ] + } + }, { + "type" : "Date", + "localId" : "385", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "386", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "387", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "388", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "377", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "378", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "4", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "379", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "23", + "annotation" : [ ] + } + } ] + } + }, { + "localId" : "394", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "SameDay", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "394", + "s" : [ { + "value" : [ "", "define ", "SameDay", ": " ] + }, { + "r" : "419", + "s" : [ { + "r" : "403", + "s" : [ { + "r" : "395", + "value" : [ "Date", "(", "2000", ", ", "3", ", ", "15", ")" ] + } ] + }, { + "r" : "419", + "value" : [ " ", "before day of", " " ] + }, { + "r" : "415", + "s" : [ { + "r" : "407", + "value" : [ "Date", "(", "2000", ", ", "3", ", ", "15", ")" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Before", + "localId" : "419", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "precision" : "Day", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "420", + "name" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "421", + "name" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "Date", + "localId" : "403", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "404", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "405", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "406", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "395", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "396", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "397", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "15", + "annotation" : [ ] + } + }, { + "type" : "Date", + "localId" : "415", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "416", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "417", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "418", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "407", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "408", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "409", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "15", + "annotation" : [ ] + } + } ] + } + }, { + "localId" : "424", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "DayAfter", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "424", + "s" : [ { + "value" : [ "", "define ", "DayAfter", ": " ] + }, { + "r" : "449", + "s" : [ { + "r" : "433", + "s" : [ { + "r" : "425", + "value" : [ "Date", "(", "2000", ", ", "3", ", ", "15", ")" ] + } ] + }, { + "r" : "449", + "value" : [ " ", "before day of", " " ] + }, { + "r" : "445", + "s" : [ { + "r" : "437", + "value" : [ "Date", "(", "2000", ", ", "3", ", ", "14", ")" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Before", + "localId" : "449", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "precision" : "Day", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "450", + "name" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "451", + "name" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "Date", + "localId" : "433", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "434", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "435", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "436", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "425", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "426", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "427", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "15", + "annotation" : [ ] + } + }, { + "type" : "Date", + "localId" : "445", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "446", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "447", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "448", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "437", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "438", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "439", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "14", + "annotation" : [ ] + } + } ] + } + }, { + "localId" : "454", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "DayBefore", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "454", + "s" : [ { + "value" : [ "", "define ", "DayBefore", ": " ] + }, { + "r" : "479", + "s" : [ { + "r" : "463", + "s" : [ { + "r" : "455", + "value" : [ "Date", "(", "2000", ", ", "3", ", ", "15", ")" ] + } ] + }, { + "r" : "479", + "value" : [ " ", "before day of", " " ] + }, { + "r" : "475", + "s" : [ { + "r" : "467", + "value" : [ "Date", "(", "2000", ", ", "3", ", ", "16", ")" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Before", + "localId" : "479", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "precision" : "Day", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "480", + "name" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "481", + "name" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "Date", + "localId" : "463", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "464", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "465", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "466", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "455", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "456", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "457", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "15", + "annotation" : [ ] + } + }, { + "type" : "Date", + "localId" : "475", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "476", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "477", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "478", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "467", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "468", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "469", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "16", + "annotation" : [ ] + } + } ] + } + }, { + "localId" : "484", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "Same", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "484", + "s" : [ { + "value" : [ "", "define ", "Same", ": " ] + }, { + "r" : "509", + "s" : [ { + "r" : "493", + "s" : [ { + "r" : "485", + "value" : [ "Date", "(", "2000", ", ", "3", ", ", "15", ")" ] + } ] + }, { + "r" : "509", + "value" : [ " ", "before", " " ] + }, { + "r" : "505", + "s" : [ { + "r" : "497", + "value" : [ "Date", "(", "2000", ", ", "3", ", ", "15", ")" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Before", + "localId" : "509", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "510", + "name" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "511", + "name" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "Date", + "localId" : "493", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "494", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "495", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "496", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "485", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "486", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "487", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "15", + "annotation" : [ ] + } + }, { + "type" : "Date", + "localId" : "505", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "506", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "507", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "508", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "497", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "498", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "499", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "15", + "annotation" : [ ] + } + } ] + } + }, { + "localId" : "514", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "After", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "514", + "s" : [ { + "value" : [ "", "define ", "After", ": " ] + }, { + "r" : "539", + "s" : [ { + "r" : "523", + "s" : [ { + "r" : "515", + "value" : [ "Date", "(", "2000", ", ", "3", ", ", "15", ")" ] + } ] + }, { + "r" : "539", + "value" : [ " ", "before", " " ] + }, { + "r" : "535", + "s" : [ { + "r" : "527", + "value" : [ "Date", "(", "2000", ", ", "3", ", ", "15", ")" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Before", + "localId" : "539", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "540", + "name" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "541", + "name" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "Date", + "localId" : "523", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "524", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "525", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "526", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "515", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "516", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "517", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "15", + "annotation" : [ ] + } + }, { + "type" : "Date", + "localId" : "535", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "536", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "537", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "538", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "527", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "528", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "529", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "15", + "annotation" : [ ] + } + } ] + } + }, { + "localId" : "544", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "Before", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "544", + "s" : [ { + "value" : [ "", "define ", "Before", ": " ] + }, { + "r" : "569", + "s" : [ { + "r" : "553", + "s" : [ { + "r" : "545", + "value" : [ "Date", "(", "2000", ", ", "3", ", ", "14", ")" ] + } ] + }, { + "r" : "569", + "value" : [ " ", "before", " " ] + }, { + "r" : "565", + "s" : [ { + "r" : "557", + "value" : [ "Date", "(", "2000", ", ", "3", ", ", "15", ")" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Before", + "localId" : "569", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "570", + "name" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "571", + "name" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "Date", + "localId" : "553", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "554", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "555", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "556", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "545", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "546", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "547", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "14", + "annotation" : [ ] + } + }, { + "type" : "Date", + "localId" : "565", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "566", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "567", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "568", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "557", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "558", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "559", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "15", + "annotation" : [ ] + } + } ] + } + }, { + "localId" : "574", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "ImpreciseDay", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "574", + "s" : [ { + "value" : [ "", "define ", "ImpreciseDay", ": " ] + }, { + "r" : "596", + "s" : [ { + "r" : "583", + "s" : [ { + "r" : "575", + "value" : [ "Date", "(", "2000", ", ", "3", ", ", "15", ")" ] + } ] + }, { + "r" : "596", + "value" : [ " ", "before day of", " " ] + }, { + "r" : "593", + "s" : [ { + "r" : "587", + "value" : [ "Date", "(", "2000", ", ", "3", ")" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Before", + "localId" : "596", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "precision" : "Day", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "597", + "name" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "598", + "name" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "Date", + "localId" : "583", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "584", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "585", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "586", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "575", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "576", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "577", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "15", + "annotation" : [ ] + } + }, { + "type" : "Date", + "localId" : "593", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "594", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "595", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "587", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "588", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + } + } ] + } + }, { + "localId" : "601", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "ImpreciseDayMonthAfter", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "601", + "s" : [ { + "value" : [ "", "define ", "ImpreciseDayMonthAfter", ": " ] + }, { + "r" : "623", + "s" : [ { + "r" : "610", + "s" : [ { + "r" : "602", + "value" : [ "Date", "(", "2000", ", ", "3", ", ", "15", ")" ] + } ] + }, { + "r" : "623", + "value" : [ " ", "before day of", " " ] + }, { + "r" : "620", + "s" : [ { + "r" : "614", + "value" : [ "Date", "(", "2000", ", ", "2", ")" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Before", + "localId" : "623", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "precision" : "Day", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "624", + "name" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "625", + "name" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "Date", + "localId" : "610", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "611", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "612", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "613", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "602", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "603", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "604", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "15", + "annotation" : [ ] + } + }, { + "type" : "Date", + "localId" : "620", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "621", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "622", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "614", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "615", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "annotation" : [ ] + } + } ] + } + }, { + "localId" : "628", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "ImpreciseDayMonthBefore", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "628", + "s" : [ { + "value" : [ "", "define ", "ImpreciseDayMonthBefore", ": " ] + }, { + "r" : "650", + "s" : [ { + "r" : "637", + "s" : [ { + "r" : "629", + "value" : [ "Date", "(", "2000", ", ", "3", ", ", "15", ")" ] + } ] + }, { + "r" : "650", + "value" : [ " ", "before day of", " " ] + }, { + "r" : "647", + "s" : [ { + "r" : "641", + "value" : [ "Date", "(", "2000", ", ", "4", ")" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Before", + "localId" : "650", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "precision" : "Day", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "651", + "name" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "652", + "name" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "Date", + "localId" : "637", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "638", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "639", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "640", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "629", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "630", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "631", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "15", + "annotation" : [ ] + } + }, { + "type" : "Date", + "localId" : "647", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "648", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "649", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "641", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "642", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "4", + "annotation" : [ ] + } + } ] + } + }, { + "localId" : "655", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "NullLeft", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "655", + "s" : [ { + "value" : [ "", "define ", "NullLeft", ": " ] + }, { + "r" : "669", + "s" : [ { + "r" : "656", + "value" : [ "null", " ", "before", " " ] + }, { + "r" : "665", + "s" : [ { + "r" : "657", + "value" : [ "Date", "(", "2000", ", ", "3", ", ", "15", ")" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Before", + "localId" : "669", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "671", + "name" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "672", + "name" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "As", + "localId" : "670", + "asType" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Null", + "localId" : "656", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } + }, { + "type" : "Date", + "localId" : "665", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "666", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "667", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "668", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "657", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "658", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "659", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "15", + "annotation" : [ ] + } + } ] + } + }, { + "localId" : "675", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "NullRight", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "675", + "s" : [ { + "value" : [ "", "define ", "NullRight", ": " ] + }, { + "r" : "689", + "s" : [ { + "r" : "684", + "s" : [ { + "r" : "676", + "value" : [ "Date", "(", "2000", ", ", "3", ", ", "15", ")" ] + } ] + }, { + "r" : "689", + "value" : [ " ", "before", " ", "null" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Before", + "localId" : "689", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "691", + "name" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "692", + "name" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "Date", + "localId" : "684", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "685", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "686", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "687", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "676", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "677", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "678", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "15", + "annotation" : [ ] + } + }, { + "type" : "As", + "localId" : "690", + "asType" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Null", + "localId" : "688", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } + } ] + } + }, { + "localId" : "695", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "NullBoth", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { "r" : "695", "s" : [ { - "value" : [ "","library TestSnippet version '1'" ] - } ] - } - } ], - "identifier" : { - "id" : "TestSnippet", - "version" : "1" - }, - "schemaIdentifier" : { - "id" : "urn:hl7-org:elm", - "version" : "r1" - }, - "usings" : { - "def" : [ { - "localId" : "1", - "localIdentifier" : "System", - "uri" : "urn:hl7-org:elm-types:r1" - }, { - "localId" : "206", - "localIdentifier" : "Simple", - "uri" : "https://github.com/cqframework/cql-execution/simple", - "version" : "1.0.0", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "206", - "s" : [ { - "value" : [ "","using " ] - }, { - "s" : [ { - "value" : [ "Simple" ] - } ] - }, { - "value" : [ " version '1.0.0'" ] - } ] - } - } ] - } ] - }, - "contexts" : { - "def" : [ { - "localId" : "211", - "name" : "Patient" - } ] - }, - "statements" : { - "def" : [ { - "localId" : "209", - "name" : "Patient", - "context" : "Patient", - "expression" : { - "localId" : "210", - "type" : "SingletonFrom", - "signature" : [ ], - "operand" : { - "localId" : "208", - "dataType" : "{https://github.com/cqframework/cql-execution/simple}Patient", - "type" : "Retrieve", - "include" : [ ], - "codeFilter" : [ ], - "dateFilter" : [ ], - "otherFilter" : [ ] - } - } - }, { - "localId" : "214", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "SameYear", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "214", - "s" : [ { - "value" : [ "","define ","SameYear",": " ] - }, { - "r" : "239", - "s" : [ { - "r" : "223", - "s" : [ { - "r" : "215", - "value" : [ "Date","(","2000",", ","10",", ","15",")" ] - } ] - }, { - "r" : "239", - "value" : [ " ","before year of"," " ] - }, { - "r" : "235", - "s" : [ { - "r" : "227", - "value" : [ "Date","(","2000",", ","11",", ","23",")" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "239", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "precision" : "Year", - "type" : "Before", - "signature" : [ { - "localId" : "240", - "name" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "241", - "name" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "223", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "Date", - "signature" : [ { - "localId" : "224", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "225", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "226", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "215", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "216", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal" - }, - "day" : { - "localId" : "217", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal" - } - }, { - "localId" : "235", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "Date", - "signature" : [ { - "localId" : "236", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "237", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "238", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "227", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "228", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "11", - "type" : "Literal" - }, - "day" : { - "localId" : "229", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "23", - "type" : "Literal" - } - } ] - } - }, { - "localId" : "244", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "YearAfter", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "244", - "s" : [ { - "value" : [ "","define ","YearAfter",": " ] - }, { - "r" : "269", - "s" : [ { - "r" : "253", - "s" : [ { - "r" : "245", - "value" : [ "Date","(","2000",", ","10",", ","15",")" ] - } ] - }, { - "r" : "269", - "value" : [ " ","before year of"," " ] - }, { - "r" : "265", - "s" : [ { - "r" : "257", - "value" : [ "Date","(","1999",", ","11",", ","23",")" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "269", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "precision" : "Year", - "type" : "Before", - "signature" : [ { - "localId" : "270", - "name" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "271", - "name" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "253", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "Date", - "signature" : [ { - "localId" : "254", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "255", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "256", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "245", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "246", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal" - }, - "day" : { - "localId" : "247", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal" - } - }, { - "localId" : "265", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "Date", - "signature" : [ { - "localId" : "266", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "267", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "268", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "257", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1999", - "type" : "Literal" - }, - "month" : { - "localId" : "258", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "11", - "type" : "Literal" - }, - "day" : { - "localId" : "259", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "23", - "type" : "Literal" - } - } ] - } - }, { - "localId" : "274", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "YearBefore", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "274", - "s" : [ { - "value" : [ "","define ","YearBefore",": " ] - }, { - "r" : "299", - "s" : [ { - "r" : "283", - "s" : [ { - "r" : "275", - "value" : [ "Date","(","2000",", ","10",", ","15",")" ] - } ] - }, { - "r" : "299", - "value" : [ " ","before year of"," " ] - }, { - "r" : "295", - "s" : [ { - "r" : "287", - "value" : [ "Date","(","2001",", ","11",", ","23",")" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "299", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "precision" : "Year", - "type" : "Before", - "signature" : [ { - "localId" : "300", - "name" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "301", - "name" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "283", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "Date", - "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" - }, { - "localId" : "286", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "275", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "276", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal" - }, - "day" : { - "localId" : "277", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal" - } - }, { - "localId" : "295", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "Date", - "signature" : [ { - "localId" : "296", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "297", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "298", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "287", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2001", - "type" : "Literal" - }, - "month" : { - "localId" : "288", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "11", - "type" : "Literal" - }, - "day" : { - "localId" : "289", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "23", - "type" : "Literal" - } - } ] - } - }, { - "localId" : "304", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "SameMonth", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "304", - "s" : [ { - "value" : [ "","define ","SameMonth",": " ] - }, { - "r" : "329", - "s" : [ { - "r" : "313", - "s" : [ { - "r" : "305", - "value" : [ "Date","(","2000",", ","3",", ","22",")" ] - } ] - }, { - "r" : "329", - "value" : [ " ","before month of"," " ] - }, { - "r" : "325", - "s" : [ { - "r" : "317", - "value" : [ "Date","(","2000",", ","3",", ","23",")" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "329", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "precision" : "Month", - "type" : "Before", - "signature" : [ { - "localId" : "330", - "name" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "331", - "name" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "313", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "Date", - "signature" : [ { - "localId" : "314", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "315", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "316", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "305", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "306", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "307", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "22", - "type" : "Literal" - } - }, { - "localId" : "325", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "Date", - "signature" : [ { - "localId" : "326", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "327", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "328", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "317", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "318", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "319", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "23", - "type" : "Literal" - } - } ] - } - }, { - "localId" : "334", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "MonthAfter", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "334", - "s" : [ { - "value" : [ "","define ","MonthAfter",": " ] - }, { - "r" : "359", - "s" : [ { - "r" : "343", - "s" : [ { - "r" : "335", - "value" : [ "Date","(","2000",", ","3",", ","22",")" ] - } ] - }, { - "r" : "359", - "value" : [ " ","before month of"," " ] - }, { - "r" : "355", - "s" : [ { - "r" : "347", - "value" : [ "Date","(","2000",", ","2",", ","23",")" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "359", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "precision" : "Month", - "type" : "Before", - "signature" : [ { - "localId" : "360", - "name" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "361", - "name" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "343", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "Date", - "signature" : [ { - "localId" : "344", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "345", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "346", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "335", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "336", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "337", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "22", - "type" : "Literal" - } - }, { - "localId" : "355", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "Date", - "signature" : [ { - "localId" : "356", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "357", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "358", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "347", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "348", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal" - }, - "day" : { - "localId" : "349", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "23", - "type" : "Literal" - } - } ] - } - }, { - "localId" : "364", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "MonthBefore", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "364", - "s" : [ { - "value" : [ "","define ","MonthBefore",": " ] - }, { - "r" : "389", - "s" : [ { - "r" : "373", - "s" : [ { - "r" : "365", - "value" : [ "Date","(","2000",", ","3",", ","22",")" ] - } ] - }, { - "r" : "389", - "value" : [ " ","before month of"," " ] - }, { - "r" : "385", - "s" : [ { - "r" : "377", - "value" : [ "Date","(","2000",", ","4",", ","23",")" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "389", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "precision" : "Month", - "type" : "Before", - "signature" : [ { - "localId" : "390", - "name" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "391", - "name" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "373", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "Date", - "signature" : [ { - "localId" : "374", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "375", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "376", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "365", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "366", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "367", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "22", - "type" : "Literal" - } - }, { - "localId" : "385", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "Date", - "signature" : [ { - "localId" : "386", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "387", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "388", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "377", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "378", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "4", - "type" : "Literal" - }, - "day" : { - "localId" : "379", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "23", - "type" : "Literal" - } - } ] - } - }, { - "localId" : "394", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "SameDay", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "394", - "s" : [ { - "value" : [ "","define ","SameDay",": " ] - }, { - "r" : "419", - "s" : [ { - "r" : "403", - "s" : [ { - "r" : "395", - "value" : [ "Date","(","2000",", ","3",", ","15",")" ] - } ] - }, { - "r" : "419", - "value" : [ " ","before day of"," " ] - }, { - "r" : "415", - "s" : [ { - "r" : "407", - "value" : [ "Date","(","2000",", ","3",", ","15",")" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "419", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "precision" : "Day", - "type" : "Before", - "signature" : [ { - "localId" : "420", - "name" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "421", - "name" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "403", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "Date", - "signature" : [ { - "localId" : "404", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "405", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "406", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "395", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "396", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "397", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal" - } - }, { - "localId" : "415", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "Date", - "signature" : [ { - "localId" : "416", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "417", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "418", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "407", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "408", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "409", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal" - } - } ] - } - }, { - "localId" : "424", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "DayAfter", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "424", - "s" : [ { - "value" : [ "","define ","DayAfter",": " ] - }, { - "r" : "449", - "s" : [ { - "r" : "433", - "s" : [ { - "r" : "425", - "value" : [ "Date","(","2000",", ","3",", ","15",")" ] - } ] - }, { - "r" : "449", - "value" : [ " ","before day of"," " ] - }, { - "r" : "445", - "s" : [ { - "r" : "437", - "value" : [ "Date","(","2000",", ","3",", ","14",")" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "449", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "precision" : "Day", - "type" : "Before", - "signature" : [ { - "localId" : "450", - "name" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "451", - "name" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "433", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "Date", - "signature" : [ { - "localId" : "434", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "435", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "436", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "425", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "426", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "427", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal" - } - }, { - "localId" : "445", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "Date", - "signature" : [ { - "localId" : "446", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "447", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "448", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "437", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "438", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "439", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "14", - "type" : "Literal" - } - } ] - } - }, { - "localId" : "454", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "DayBefore", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "454", - "s" : [ { - "value" : [ "","define ","DayBefore",": " ] - }, { - "r" : "479", - "s" : [ { - "r" : "463", - "s" : [ { - "r" : "455", - "value" : [ "Date","(","2000",", ","3",", ","15",")" ] - } ] - }, { - "r" : "479", - "value" : [ " ","before day of"," " ] - }, { - "r" : "475", - "s" : [ { - "r" : "467", - "value" : [ "Date","(","2000",", ","3",", ","16",")" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "479", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "precision" : "Day", - "type" : "Before", - "signature" : [ { - "localId" : "480", - "name" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "481", - "name" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "463", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "Date", - "signature" : [ { - "localId" : "464", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "465", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "466", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "455", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "456", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "457", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal" - } - }, { - "localId" : "475", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "Date", - "signature" : [ { - "localId" : "476", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "477", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "478", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "467", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "468", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "469", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "16", - "type" : "Literal" - } - } ] - } - }, { - "localId" : "484", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "Same", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "484", - "s" : [ { - "value" : [ "","define ","Same",": " ] - }, { - "r" : "509", - "s" : [ { - "r" : "493", - "s" : [ { - "r" : "485", - "value" : [ "Date","(","2000",", ","3",", ","15",")" ] - } ] - }, { - "r" : "509", - "value" : [ " ","before"," " ] - }, { - "r" : "505", - "s" : [ { - "r" : "497", - "value" : [ "Date","(","2000",", ","3",", ","15",")" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "509", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "Before", - "signature" : [ { - "localId" : "510", - "name" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "511", - "name" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "493", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "Date", - "signature" : [ { - "localId" : "494", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "495", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "496", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "485", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "486", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "487", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal" - } - }, { - "localId" : "505", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "Date", - "signature" : [ { - "localId" : "506", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "507", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "508", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "497", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "498", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "499", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal" - } - } ] - } - }, { - "localId" : "514", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "After", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "514", - "s" : [ { - "value" : [ "","define ","After",": " ] - }, { - "r" : "539", - "s" : [ { - "r" : "523", - "s" : [ { - "r" : "515", - "value" : [ "Date","(","2000",", ","3",", ","15",")" ] - } ] - }, { - "r" : "539", - "value" : [ " ","before"," " ] - }, { - "r" : "535", - "s" : [ { - "r" : "527", - "value" : [ "Date","(","2000",", ","3",", ","15",")" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "539", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "Before", - "signature" : [ { - "localId" : "540", - "name" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "541", - "name" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "523", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "Date", - "signature" : [ { - "localId" : "524", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "525", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "526", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "515", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "516", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "517", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal" - } - }, { - "localId" : "535", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "Date", - "signature" : [ { - "localId" : "536", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "537", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "538", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "527", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "528", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "529", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal" - } - } ] - } - }, { - "localId" : "544", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "Before", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "544", - "s" : [ { - "value" : [ "","define ","Before",": " ] - }, { - "r" : "569", - "s" : [ { - "r" : "553", - "s" : [ { - "r" : "545", - "value" : [ "Date","(","2000",", ","3",", ","14",")" ] - } ] - }, { - "r" : "569", - "value" : [ " ","before"," " ] - }, { - "r" : "565", - "s" : [ { - "r" : "557", - "value" : [ "Date","(","2000",", ","3",", ","15",")" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "569", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "Before", - "signature" : [ { - "localId" : "570", - "name" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "571", - "name" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "553", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "Date", - "signature" : [ { - "localId" : "554", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "555", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "556", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "545", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "546", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "547", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "14", - "type" : "Literal" - } - }, { - "localId" : "565", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "Date", - "signature" : [ { - "localId" : "566", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "567", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "568", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "557", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "558", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "559", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal" - } - } ] - } - }, { - "localId" : "574", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "ImpreciseDay", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "574", - "s" : [ { - "value" : [ "","define ","ImpreciseDay",": " ] - }, { - "r" : "596", - "s" : [ { - "r" : "583", - "s" : [ { - "r" : "575", - "value" : [ "Date","(","2000",", ","3",", ","15",")" ] - } ] - }, { - "r" : "596", - "value" : [ " ","before day of"," " ] - }, { - "r" : "593", - "s" : [ { - "r" : "587", - "value" : [ "Date","(","2000",", ","3",")" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "596", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "precision" : "Day", - "type" : "Before", - "signature" : [ { - "localId" : "597", - "name" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "598", - "name" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "583", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "Date", - "signature" : [ { - "localId" : "584", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "585", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "586", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "575", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "576", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "577", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal" - } - }, { - "localId" : "593", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "Date", - "signature" : [ { - "localId" : "594", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "595", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "587", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "588", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - } - } ] - } - }, { - "localId" : "601", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "ImpreciseDayMonthAfter", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "601", - "s" : [ { - "value" : [ "","define ","ImpreciseDayMonthAfter",": " ] - }, { - "r" : "623", - "s" : [ { - "r" : "610", - "s" : [ { - "r" : "602", - "value" : [ "Date","(","2000",", ","3",", ","15",")" ] - } ] - }, { - "r" : "623", - "value" : [ " ","before day of"," " ] - }, { - "r" : "620", - "s" : [ { - "r" : "614", - "value" : [ "Date","(","2000",", ","2",")" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "623", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "precision" : "Day", - "type" : "Before", - "signature" : [ { - "localId" : "624", - "name" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "625", - "name" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "610", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "Date", - "signature" : [ { - "localId" : "611", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "612", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "613", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "602", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "603", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "604", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal" - } - }, { - "localId" : "620", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "Date", - "signature" : [ { - "localId" : "621", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "622", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "614", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "615", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal" - } - } ] - } - }, { - "localId" : "628", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "ImpreciseDayMonthBefore", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "628", - "s" : [ { - "value" : [ "","define ","ImpreciseDayMonthBefore",": " ] - }, { - "r" : "650", - "s" : [ { - "r" : "637", - "s" : [ { - "r" : "629", - "value" : [ "Date","(","2000",", ","3",", ","15",")" ] - } ] - }, { - "r" : "650", - "value" : [ " ","before day of"," " ] - }, { - "r" : "647", - "s" : [ { - "r" : "641", - "value" : [ "Date","(","2000",", ","4",")" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "650", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "precision" : "Day", - "type" : "Before", - "signature" : [ { - "localId" : "651", - "name" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "652", - "name" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "637", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "Date", - "signature" : [ { - "localId" : "638", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "639", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "640", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "629", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "630", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "631", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal" - } - }, { - "localId" : "647", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "Date", - "signature" : [ { - "localId" : "648", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "649", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "641", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "642", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "4", - "type" : "Literal" - } - } ] - } - }, { - "localId" : "655", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "NullLeft", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "655", + "value" : [ "", "define ", "NullBoth", ": " ] + }, { + "r" : "700", + "s" : [ { + "r" : "696", + "s" : [ { + "value" : [ "(" ] + }, { + "r" : "696", "s" : [ { - "value" : [ "","define ","NullLeft",": " ] + "r" : "697", + "value" : [ "null", " as " ] }, { - "r" : "669", - "s" : [ { - "r" : "656", - "value" : [ "null"," ","before"," " ] - }, { - "r" : "665", - "s" : [ { - "r" : "657", - "value" : [ "Date","(","2000",", ","3",", ","15",")" ] - } ] - } ] + "r" : "698", + "s" : [ { + "value" : [ "Date" ] + } ] } ] - } - } ], - "expression" : { - "localId" : "669", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "Before", - "signature" : [ { - "localId" : "671", - "name" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "672", - "name" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "670", - "asType" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "As", - "signature" : [ ], - "operand" : { - "localId" : "656", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - } - }, { - "localId" : "665", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "Date", - "signature" : [ { - "localId" : "666", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "667", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "668", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "657", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "658", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "659", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal" - } - } ] - } - }, { - "localId" : "675", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "NullRight", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "675", - "s" : [ { - "value" : [ "","define ","NullRight",": " ] - }, { - "r" : "689", - "s" : [ { - "r" : "684", - "s" : [ { - "r" : "676", - "value" : [ "Date","(","2000",", ","3",", ","15",")" ] - } ] - }, { - "r" : "689", - "value" : [ " ","before"," ","null" ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "689", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "Before", - "signature" : [ { - "localId" : "691", - "name" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "692", - "name" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "684", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "Date", - "signature" : [ { - "localId" : "685", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "686", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "687", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "676", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "677", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "678", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal" - } - }, { - "localId" : "690", - "asType" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "As", - "signature" : [ ], - "operand" : { - "localId" : "688", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - } - } ] - } - }, { - "localId" : "695", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "NullBoth", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "695", - "s" : [ { - "value" : [ "","define ","NullBoth",": " ] - }, { - "r" : "700", - "s" : [ { - "r" : "696", - "s" : [ { - "value" : [ "(" ] - }, { - "r" : "696", - "s" : [ { - "r" : "697", - "value" : [ "null"," as " ] - }, { - "r" : "698", - "s" : [ { - "value" : [ "Date" ] - } ] - } ] - }, { - "value" : [ ")" ] - } ] - }, { - "r" : "700", - "value" : [ " ","before"," ","null" ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "700", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "Before", - "signature" : [ { - "localId" : "702", - "name" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "703", - "name" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "696", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", - "strict" : false, - "type" : "As", - "signature" : [ ], - "operand" : { - "localId" : "697", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - }, - "asTypeSpecifier" : { - "localId" : "698", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", - "name" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "701", - "asType" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "As", - "signature" : [ ], - "operand" : { - "localId" : "699", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - } - } ] - } - } ] - } - } + }, { + "value" : [ ")" ] + } ] + }, { + "r" : "700", + "value" : [ " ", "before", " ", "null" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Before", + "localId" : "700", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "702", + "name" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "703", + "name" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "As", + "localId" : "696", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", + "strict" : false, + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Null", + "localId" : "697", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + }, + "asTypeSpecifier" : { + "type" : "NamedTypeSpecifier", + "localId" : "698", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", + "name" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ] + } + }, { + "type" : "As", + "localId" : "701", + "asType" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Null", + "localId" : "699", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } + } ] + } + } ] + } + } } /* DifferenceBetween @@ -12067,718 +13711,795 @@ define DaysBetweenUncertainty: difference in days between NewYear2014 and Januar */ module.exports['DifferenceBetween'] = { - "library" : { - "localId" : "0", - "annotation" : [ { - "translatorVersion" : "3.27.0", - "translatorOptions" : "EnableDateRangeOptimization,EnableAnnotations,EnableResultTypes", - "signatureLevel" : "All", - "type" : "CqlToElmInfo" - }, { - "type" : "Annotation", - "s" : { - "r" : "312", + "library" : { + "localId" : "0", + "annotation" : [ { + "type" : "CqlToElmInfo", + "translatorVersion" : "4.2.0", + "translatorOptions" : "EnableDateRangeOptimization,EnableAnnotations,EnableResultTypes", + "signatureLevel" : "All" + }, { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "312", + "s" : [ { + "value" : [ "", "library TestSnippet version '1'" ] + } ] + } + } ], + "identifier" : { + "id" : "TestSnippet", + "version" : "1" + }, + "schemaIdentifier" : { + "id" : "urn:hl7-org:elm", + "version" : "r1" + }, + "usings" : { + "def" : [ { + "localId" : "1", + "localIdentifier" : "System", + "uri" : "urn:hl7-org:elm-types:r1", + "annotation" : [ ] + }, { + "localId" : "206", + "localIdentifier" : "Simple", + "uri" : "https://github.com/cqframework/cql-execution/simple", + "version" : "1.0.0", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "206", "s" : [ { - "value" : [ "","library TestSnippet version '1'" ] - } ] - } - } ], - "identifier" : { - "id" : "TestSnippet", - "version" : "1" - }, - "schemaIdentifier" : { - "id" : "urn:hl7-org:elm", - "version" : "r1" - }, - "usings" : { - "def" : [ { - "localId" : "1", - "localIdentifier" : "System", - "uri" : "urn:hl7-org:elm-types:r1" - }, { - "localId" : "206", - "localIdentifier" : "Simple", - "uri" : "https://github.com/cqframework/cql-execution/simple", - "version" : "1.0.0", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "206", - "s" : [ { - "value" : [ "","using " ] - }, { - "s" : [ { - "value" : [ "Simple" ] - } ] - }, { - "value" : [ " version '1.0.0'" ] - } ] - } - } ] - } ] - }, - "contexts" : { - "def" : [ { - "localId" : "211", - "name" : "Patient" - } ] - }, - "statements" : { - "def" : [ { - "localId" : "209", - "name" : "Patient", - "context" : "Patient", - "expression" : { - "localId" : "210", - "type" : "SingletonFrom", - "signature" : [ ], - "operand" : { - "localId" : "208", - "dataType" : "{https://github.com/cqframework/cql-execution/simple}Patient", - "type" : "Retrieve", - "include" : [ ], - "codeFilter" : [ ], - "dateFilter" : [ ], - "otherFilter" : [ ] - } - } - }, { - "localId" : "214", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", - "name" : "NewYear2013", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "214", - "s" : [ { - "value" : [ "","define ","NewYear2013",": " ] - }, { - "r" : "223", - "s" : [ { - "r" : "215", - "value" : [ "Date","(","2013",", ","1",", ","1",")" ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "223", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "Date", - "signature" : [ { - "localId" : "224", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "225", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "226", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "215", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2013", - "type" : "Literal" - }, - "month" : { - "localId" : "216", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "217", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - } - } - }, { - "localId" : "229", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", - "name" : "NewYear2014", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "229", - "s" : [ { - "value" : [ "","define ","NewYear2014",": " ] - }, { - "r" : "238", - "s" : [ { - "r" : "230", - "value" : [ "Date","(","2014",", ","1",", ","1",")" ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "238", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "Date", - "signature" : [ { - "localId" : "239", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "240", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "241", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "230", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2014", - "type" : "Literal" - }, - "month" : { - "localId" : "231", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "232", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - } - } - }, { - "localId" : "244", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", - "name" : "January2014", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "244", - "s" : [ { - "value" : [ "","define ","January2014",": " ] - }, { - "r" : "251", - "s" : [ { - "r" : "245", - "value" : [ "Date","(","2014",", ","1",")" ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "251", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "Date", - "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" - } ], - "year" : { - "localId" : "245", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2014", - "type" : "Literal" - }, - "month" : { - "localId" : "246", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - } - } - }, { - "localId" : "256", + "value" : [ "", "using " ] + }, { + "s" : [ { + "value" : [ "Simple" ] + } ] + }, { + "value" : [ " version '1.0.0'" ] + } ] + } + } ] + } ] + }, + "contexts" : { + "def" : [ { + "localId" : "211", + "name" : "Patient", + "annotation" : [ ] + } ] + }, + "statements" : { + "def" : [ { + "localId" : "209", + "name" : "Patient", + "context" : "Patient", + "annotation" : [ ], + "expression" : { + "type" : "SingletonFrom", + "localId" : "210", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Retrieve", + "localId" : "208", + "dataType" : "{https://github.com/cqframework/cql-execution/simple}Patient", + "annotation" : [ ], + "include" : [ ], + "codeFilter" : [ ], + "dateFilter" : [ ], + "otherFilter" : [ ] + } + } + }, { + "localId" : "214", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", + "name" : "NewYear2013", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "214", + "s" : [ { + "value" : [ "", "define ", "NewYear2013", ": " ] + }, { + "r" : "223", + "s" : [ { + "r" : "215", + "value" : [ "Date", "(", "2013", ", ", "1", ", ", "1", ")" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Date", + "localId" : "223", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "224", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "225", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "226", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "215", "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "name" : "YearsBetween", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "256", - "s" : [ { - "value" : [ "","define ","YearsBetween",": " ] - }, { - "r" : "257", - "s" : [ { - "value" : [ "difference in years between " ] - }, { - "r" : "258", - "s" : [ { - "value" : [ "NewYear2013" ] - } ] - }, { - "value" : [ " and " ] - }, { - "r" : "259", - "s" : [ { - "value" : [ "NewYear2014" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "257", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "precision" : "Year", - "type" : "DifferenceBetween", - "signature" : [ { - "localId" : "260", - "name" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "261", - "name" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "258", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", - "name" : "NewYear2013", - "type" : "ExpressionRef" - }, { - "localId" : "259", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", - "name" : "NewYear2014", - "type" : "ExpressionRef" - } ] - } - }, { - "localId" : "264", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2013", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "216", "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "name" : "MonthsBetween", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "264", - "s" : [ { - "value" : [ "","define ","MonthsBetween",": " ] - }, { - "r" : "265", - "s" : [ { - "value" : [ "difference in months between " ] - }, { - "r" : "266", - "s" : [ { - "value" : [ "NewYear2013" ] - } ] - }, { - "value" : [ " and " ] - }, { - "r" : "267", - "s" : [ { - "value" : [ "NewYear2014" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "265", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "precision" : "Month", - "type" : "DifferenceBetween", - "signature" : [ { - "localId" : "268", - "name" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "269", - "name" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "266", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", - "name" : "NewYear2013", - "type" : "ExpressionRef" - }, { - "localId" : "267", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", - "name" : "NewYear2014", - "type" : "ExpressionRef" - } ] - } - }, { - "localId" : "272", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "217", "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "name" : "WeeksBetween", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "272", - "s" : [ { - "value" : [ "","define ","WeeksBetween",": " ] - }, { - "r" : "273", - "s" : [ { - "value" : [ "difference in weeks between " ] - }, { - "r" : "274", - "s" : [ { - "value" : [ "NewYear2013" ] - } ] - }, { - "value" : [ " and " ] - }, { - "r" : "275", - "s" : [ { - "value" : [ "NewYear2014" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "273", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "precision" : "Week", - "type" : "DifferenceBetween", - "signature" : [ { - "localId" : "276", - "name" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "277", - "name" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "274", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", - "name" : "NewYear2013", - "type" : "ExpressionRef" - }, { - "localId" : "275", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", - "name" : "NewYear2014", - "type" : "ExpressionRef" - } ] - } - }, { - "localId" : "280", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + } + } + }, { + "localId" : "229", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", + "name" : "NewYear2014", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "229", + "s" : [ { + "value" : [ "", "define ", "NewYear2014", ": " ] + }, { + "r" : "238", + "s" : [ { + "r" : "230", + "value" : [ "Date", "(", "2014", ", ", "1", ", ", "1", ")" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Date", + "localId" : "238", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "239", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "240", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "241", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "230", "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "name" : "DaysBetween", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "280", - "s" : [ { - "value" : [ "","define ","DaysBetween",": " ] - }, { - "r" : "281", - "s" : [ { - "value" : [ "difference in days between " ] - }, { - "r" : "282", - "s" : [ { - "value" : [ "NewYear2013" ] - } ] - }, { - "value" : [ " and " ] - }, { - "r" : "283", - "s" : [ { - "value" : [ "NewYear2014" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "281", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "precision" : "Day", - "type" : "DifferenceBetween", - "signature" : [ { - "localId" : "284", - "name" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "285", - "name" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "282", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", - "name" : "NewYear2013", - "type" : "ExpressionRef" - }, { - "localId" : "283", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", - "name" : "NewYear2014", - "type" : "ExpressionRef" - } ] - } - }, { - "localId" : "288", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2014", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "231", "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "name" : "YearsBetweenUncertainty", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "288", - "s" : [ { - "value" : [ "","define ","YearsBetweenUncertainty",": " ] - }, { - "r" : "289", - "s" : [ { - "value" : [ "difference in years between " ] - }, { - "r" : "290", - "s" : [ { - "value" : [ "NewYear2014" ] - } ] - }, { - "value" : [ " and " ] - }, { - "r" : "291", - "s" : [ { - "value" : [ "January2014" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "289", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "precision" : "Year", - "type" : "DifferenceBetween", - "signature" : [ { - "localId" : "292", - "name" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "293", - "name" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "290", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", - "name" : "NewYear2014", - "type" : "ExpressionRef" - }, { - "localId" : "291", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", - "name" : "January2014", - "type" : "ExpressionRef" - } ] - } - }, { - "localId" : "296", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "232", "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "name" : "MonthsBetweenUncertainty", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "296", - "s" : [ { - "value" : [ "","define ","MonthsBetweenUncertainty",": " ] - }, { - "r" : "297", - "s" : [ { - "value" : [ "difference in months between " ] - }, { - "r" : "298", - "s" : [ { - "value" : [ "NewYear2014" ] - } ] - }, { - "value" : [ " and " ] - }, { - "r" : "299", - "s" : [ { - "value" : [ "January2014" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "297", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "precision" : "Month", - "type" : "DifferenceBetween", - "signature" : [ { - "localId" : "300", - "name" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "301", - "name" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "298", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", - "name" : "NewYear2014", - "type" : "ExpressionRef" - }, { - "localId" : "299", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", - "name" : "January2014", - "type" : "ExpressionRef" - } ] - } - }, { - "localId" : "304", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + } + } + }, { + "localId" : "244", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", + "name" : "January2014", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "244", + "s" : [ { + "value" : [ "", "define ", "January2014", ": " ] + }, { + "r" : "251", + "s" : [ { + "r" : "245", + "value" : [ "Date", "(", "2014", ", ", "1", ")" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Date", + "localId" : "251", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "252", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "253", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "245", "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "name" : "WeeksBetweenUncertainty", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "304", - "s" : [ { - "value" : [ "","define ","WeeksBetweenUncertainty",": " ] - }, { - "r" : "305", - "s" : [ { - "value" : [ "difference in weeks between " ] - }, { - "r" : "306", - "s" : [ { - "value" : [ "NewYear2014" ] - } ] - }, { - "value" : [ " and " ] - }, { - "r" : "307", - "s" : [ { - "value" : [ "January2014" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "305", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "precision" : "Week", - "type" : "DifferenceBetween", - "signature" : [ { - "localId" : "308", - "name" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "309", - "name" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "306", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", - "name" : "NewYear2014", - "type" : "ExpressionRef" - }, { - "localId" : "307", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", - "name" : "January2014", - "type" : "ExpressionRef" - } ] - } - }, { - "localId" : "312", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2014", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "246", "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "name" : "DaysBetweenUncertainty", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "312", - "s" : [ { - "value" : [ "","define ","DaysBetweenUncertainty",": " ] - }, { - "r" : "313", - "s" : [ { - "value" : [ "difference in days between " ] - }, { - "r" : "314", - "s" : [ { - "value" : [ "NewYear2014" ] - } ] - }, { - "value" : [ " and " ] - }, { - "r" : "315", - "s" : [ { - "value" : [ "January2014" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "313", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "precision" : "Day", - "type" : "DifferenceBetween", - "signature" : [ { - "localId" : "316", - "name" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "317", - "name" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "314", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", - "name" : "NewYear2014", - "type" : "ExpressionRef" - }, { - "localId" : "315", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", - "name" : "January2014", - "type" : "ExpressionRef" - } ] - } - } ] - } - } + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + } + } + }, { + "localId" : "256", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "name" : "YearsBetween", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "256", + "s" : [ { + "value" : [ "", "define ", "YearsBetween", ": " ] + }, { + "r" : "257", + "s" : [ { + "value" : [ "difference in years between " ] + }, { + "r" : "258", + "s" : [ { + "value" : [ "NewYear2013" ] + } ] + }, { + "value" : [ " and " ] + }, { + "r" : "259", + "s" : [ { + "value" : [ "NewYear2014" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "DifferenceBetween", + "localId" : "257", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "precision" : "Year", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "260", + "name" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "261", + "name" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "ExpressionRef", + "localId" : "258", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", + "name" : "NewYear2013", + "annotation" : [ ] + }, { + "type" : "ExpressionRef", + "localId" : "259", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", + "name" : "NewYear2014", + "annotation" : [ ] + } ] + } + }, { + "localId" : "264", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "name" : "MonthsBetween", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "264", + "s" : [ { + "value" : [ "", "define ", "MonthsBetween", ": " ] + }, { + "r" : "265", + "s" : [ { + "value" : [ "difference in months between " ] + }, { + "r" : "266", + "s" : [ { + "value" : [ "NewYear2013" ] + } ] + }, { + "value" : [ " and " ] + }, { + "r" : "267", + "s" : [ { + "value" : [ "NewYear2014" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "DifferenceBetween", + "localId" : "265", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "precision" : "Month", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "268", + "name" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "269", + "name" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "ExpressionRef", + "localId" : "266", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", + "name" : "NewYear2013", + "annotation" : [ ] + }, { + "type" : "ExpressionRef", + "localId" : "267", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", + "name" : "NewYear2014", + "annotation" : [ ] + } ] + } + }, { + "localId" : "272", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "name" : "WeeksBetween", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "272", + "s" : [ { + "value" : [ "", "define ", "WeeksBetween", ": " ] + }, { + "r" : "273", + "s" : [ { + "value" : [ "difference in weeks between " ] + }, { + "r" : "274", + "s" : [ { + "value" : [ "NewYear2013" ] + } ] + }, { + "value" : [ " and " ] + }, { + "r" : "275", + "s" : [ { + "value" : [ "NewYear2014" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "DifferenceBetween", + "localId" : "273", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "precision" : "Week", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "276", + "name" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "277", + "name" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "ExpressionRef", + "localId" : "274", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", + "name" : "NewYear2013", + "annotation" : [ ] + }, { + "type" : "ExpressionRef", + "localId" : "275", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", + "name" : "NewYear2014", + "annotation" : [ ] + } ] + } + }, { + "localId" : "280", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "name" : "DaysBetween", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "280", + "s" : [ { + "value" : [ "", "define ", "DaysBetween", ": " ] + }, { + "r" : "281", + "s" : [ { + "value" : [ "difference in days between " ] + }, { + "r" : "282", + "s" : [ { + "value" : [ "NewYear2013" ] + } ] + }, { + "value" : [ " and " ] + }, { + "r" : "283", + "s" : [ { + "value" : [ "NewYear2014" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "DifferenceBetween", + "localId" : "281", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "precision" : "Day", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "284", + "name" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "285", + "name" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "ExpressionRef", + "localId" : "282", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", + "name" : "NewYear2013", + "annotation" : [ ] + }, { + "type" : "ExpressionRef", + "localId" : "283", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", + "name" : "NewYear2014", + "annotation" : [ ] + } ] + } + }, { + "localId" : "288", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "name" : "YearsBetweenUncertainty", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "288", + "s" : [ { + "value" : [ "", "define ", "YearsBetweenUncertainty", ": " ] + }, { + "r" : "289", + "s" : [ { + "value" : [ "difference in years between " ] + }, { + "r" : "290", + "s" : [ { + "value" : [ "NewYear2014" ] + } ] + }, { + "value" : [ " and " ] + }, { + "r" : "291", + "s" : [ { + "value" : [ "January2014" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "DifferenceBetween", + "localId" : "289", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "precision" : "Year", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "292", + "name" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "293", + "name" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "ExpressionRef", + "localId" : "290", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", + "name" : "NewYear2014", + "annotation" : [ ] + }, { + "type" : "ExpressionRef", + "localId" : "291", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", + "name" : "January2014", + "annotation" : [ ] + } ] + } + }, { + "localId" : "296", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "name" : "MonthsBetweenUncertainty", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "296", + "s" : [ { + "value" : [ "", "define ", "MonthsBetweenUncertainty", ": " ] + }, { + "r" : "297", + "s" : [ { + "value" : [ "difference in months between " ] + }, { + "r" : "298", + "s" : [ { + "value" : [ "NewYear2014" ] + } ] + }, { + "value" : [ " and " ] + }, { + "r" : "299", + "s" : [ { + "value" : [ "January2014" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "DifferenceBetween", + "localId" : "297", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "precision" : "Month", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "300", + "name" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "301", + "name" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "ExpressionRef", + "localId" : "298", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", + "name" : "NewYear2014", + "annotation" : [ ] + }, { + "type" : "ExpressionRef", + "localId" : "299", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", + "name" : "January2014", + "annotation" : [ ] + } ] + } + }, { + "localId" : "304", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "name" : "WeeksBetweenUncertainty", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "304", + "s" : [ { + "value" : [ "", "define ", "WeeksBetweenUncertainty", ": " ] + }, { + "r" : "305", + "s" : [ { + "value" : [ "difference in weeks between " ] + }, { + "r" : "306", + "s" : [ { + "value" : [ "NewYear2014" ] + } ] + }, { + "value" : [ " and " ] + }, { + "r" : "307", + "s" : [ { + "value" : [ "January2014" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "DifferenceBetween", + "localId" : "305", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "precision" : "Week", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "308", + "name" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "309", + "name" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "ExpressionRef", + "localId" : "306", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", + "name" : "NewYear2014", + "annotation" : [ ] + }, { + "type" : "ExpressionRef", + "localId" : "307", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", + "name" : "January2014", + "annotation" : [ ] + } ] + } + }, { + "localId" : "312", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "name" : "DaysBetweenUncertainty", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "312", + "s" : [ { + "value" : [ "", "define ", "DaysBetweenUncertainty", ": " ] + }, { + "r" : "313", + "s" : [ { + "value" : [ "difference in days between " ] + }, { + "r" : "314", + "s" : [ { + "value" : [ "NewYear2014" ] + } ] + }, { + "value" : [ " and " ] + }, { + "r" : "315", + "s" : [ { + "value" : [ "January2014" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "DifferenceBetween", + "localId" : "313", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "precision" : "Day", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "316", + "name" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "317", + "name" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "ExpressionRef", + "localId" : "314", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", + "name" : "NewYear2014", + "annotation" : [ ] + }, { + "type" : "ExpressionRef", + "localId" : "315", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", + "name" : "January2014", + "annotation" : [ ] + } ] + } + } ] + } + } } /* DifferenceBetween Comparisons @@ -12808,1706 +14529,1907 @@ define TwentyFiveDaysGreaterThanDaysBetween: 25 > difference in days between New */ module.exports['DifferenceBetween Comparisons'] = { - "library" : { - "localId" : "0", - "annotation" : [ { - "translatorVersion" : "3.27.0", - "translatorOptions" : "EnableDateRangeOptimization,EnableAnnotations,EnableResultTypes", - "signatureLevel" : "All", - "type" : "CqlToElmInfo" - }, { - "type" : "Annotation", - "s" : { - "r" : "445", + "library" : { + "localId" : "0", + "annotation" : [ { + "type" : "CqlToElmInfo", + "translatorVersion" : "4.2.0", + "translatorOptions" : "EnableDateRangeOptimization,EnableAnnotations,EnableResultTypes", + "signatureLevel" : "All" + }, { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "445", + "s" : [ { + "value" : [ "", "library TestSnippet version '1'" ] + } ] + } + } ], + "identifier" : { + "id" : "TestSnippet", + "version" : "1" + }, + "schemaIdentifier" : { + "id" : "urn:hl7-org:elm", + "version" : "r1" + }, + "usings" : { + "def" : [ { + "localId" : "1", + "localIdentifier" : "System", + "uri" : "urn:hl7-org:elm-types:r1", + "annotation" : [ ] + }, { + "localId" : "206", + "localIdentifier" : "Simple", + "uri" : "https://github.com/cqframework/cql-execution/simple", + "version" : "1.0.0", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "206", + "s" : [ { + "value" : [ "", "using " ] + }, { + "s" : [ { + "value" : [ "Simple" ] + } ] + }, { + "value" : [ " version '1.0.0'" ] + } ] + } + } ] + } ] + }, + "contexts" : { + "def" : [ { + "localId" : "211", + "name" : "Patient", + "annotation" : [ ] + } ] + }, + "statements" : { + "def" : [ { + "localId" : "209", + "name" : "Patient", + "context" : "Patient", + "annotation" : [ ], + "expression" : { + "type" : "SingletonFrom", + "localId" : "210", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Retrieve", + "localId" : "208", + "dataType" : "{https://github.com/cqframework/cql-execution/simple}Patient", + "annotation" : [ ], + "include" : [ ], + "codeFilter" : [ ], + "dateFilter" : [ ], + "otherFilter" : [ ] + } + } + }, { + "localId" : "214", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", + "name" : "NewYear2014", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "214", + "s" : [ { + "value" : [ "", "define ", "NewYear2014", ": " ] + }, { + "r" : "223", + "s" : [ { + "r" : "215", + "value" : [ "Date", "(", "2014", ", ", "1", ", ", "1", ")" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Date", + "localId" : "223", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "224", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "225", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "226", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "215", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2014", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "216", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "217", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + } + } + }, { + "localId" : "229", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", + "name" : "February2014", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "229", + "s" : [ { + "value" : [ "", "define ", "February2014", ": " ] + }, { + "r" : "236", + "s" : [ { + "r" : "230", + "value" : [ "Date", "(", "2014", ", ", "2", ")" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Date", + "localId" : "236", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "237", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "238", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "230", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2014", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "231", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "annotation" : [ ] + } + } + }, { + "localId" : "241", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "GreaterThan25DaysAfter", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "241", "s" : [ { - "value" : [ "","library TestSnippet version '1'" ] - } ] - } - } ], - "identifier" : { - "id" : "TestSnippet", - "version" : "1" - }, - "schemaIdentifier" : { - "id" : "urn:hl7-org:elm", - "version" : "r1" - }, - "usings" : { - "def" : [ { - "localId" : "1", - "localIdentifier" : "System", - "uri" : "urn:hl7-org:elm-types:r1" - }, { - "localId" : "206", - "localIdentifier" : "Simple", - "uri" : "https://github.com/cqframework/cql-execution/simple", - "version" : "1.0.0", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "206", + "value" : [ "", "define ", "GreaterThan25DaysAfter", ": " ] + }, { + "r" : "242", + "s" : [ { + "r" : "243", + "s" : [ { + "value" : [ "difference in days between " ] + }, { + "r" : "244", "s" : [ { - "value" : [ "","using " ] - }, { - "s" : [ { - "value" : [ "Simple" ] - } ] - }, { - "value" : [ " version '1.0.0'" ] + "value" : [ "NewYear2014" ] } ] - } - } ] - } ] - }, - "contexts" : { - "def" : [ { - "localId" : "211", - "name" : "Patient" - } ] - }, - "statements" : { - "def" : [ { - "localId" : "209", - "name" : "Patient", - "context" : "Patient", - "expression" : { - "localId" : "210", - "type" : "SingletonFrom", - "signature" : [ ], - "operand" : { - "localId" : "208", - "dataType" : "{https://github.com/cqframework/cql-execution/simple}Patient", - "type" : "Retrieve", - "include" : [ ], - "codeFilter" : [ ], - "dateFilter" : [ ], - "otherFilter" : [ ] - } - } - }, { - "localId" : "214", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", - "name" : "NewYear2014", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "214", + }, { + "value" : [ " and " ] + }, { + "r" : "245", "s" : [ { - "value" : [ "","define ","NewYear2014",": " ] - }, { - "r" : "223", - "s" : [ { - "r" : "215", - "value" : [ "Date","(","2014",", ","1",", ","1",")" ] - } ] + "value" : [ "February2014" ] } ] - } - } ], - "expression" : { - "localId" : "223", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "Date", - "signature" : [ { - "localId" : "224", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "225", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "226", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "215", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2014", - "type" : "Literal" - }, - "month" : { - "localId" : "216", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "217", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - } - } - }, { - "localId" : "229", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", - "name" : "February2014", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "229", + } ] + }, { + "r" : "248", + "value" : [ " ", ">", " ", "25" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Greater", + "localId" : "242", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "249", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "250", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "DifferenceBetween", + "localId" : "243", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "precision" : "Day", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "246", + "name" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "247", + "name" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "ExpressionRef", + "localId" : "244", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", + "name" : "NewYear2014", + "annotation" : [ ] + }, { + "type" : "ExpressionRef", + "localId" : "245", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", + "name" : "February2014", + "annotation" : [ ] + } ] + }, { + "type" : "Literal", + "localId" : "248", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "25", + "annotation" : [ ] + } ] + } + }, { + "localId" : "253", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "GreaterThan40DaysAfter", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "253", + "s" : [ { + "value" : [ "", "define ", "GreaterThan40DaysAfter", ": " ] + }, { + "r" : "254", + "s" : [ { + "r" : "255", + "s" : [ { + "value" : [ "difference in days between " ] + }, { + "r" : "256", "s" : [ { - "value" : [ "","define ","February2014",": " ] - }, { - "r" : "236", - "s" : [ { - "r" : "230", - "value" : [ "Date","(","2014",", ","2",")" ] - } ] + "value" : [ "NewYear2014" ] } ] - } - } ], - "expression" : { - "localId" : "236", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "Date", - "signature" : [ { - "localId" : "237", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "238", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "230", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2014", - "type" : "Literal" - }, - "month" : { - "localId" : "231", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal" - } - } - }, { - "localId" : "241", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "GreaterThan25DaysAfter", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "241", + }, { + "value" : [ " and " ] + }, { + "r" : "257", "s" : [ { - "value" : [ "","define ","GreaterThan25DaysAfter",": " ] - }, { - "r" : "242", - "s" : [ { - "r" : "243", - "s" : [ { - "value" : [ "difference in days between " ] - }, { - "r" : "244", - "s" : [ { - "value" : [ "NewYear2014" ] - } ] - }, { - "value" : [ " and " ] - }, { - "r" : "245", - "s" : [ { - "value" : [ "February2014" ] - } ] - } ] - }, { - "r" : "248", - "value" : [ " ",">"," ","25" ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "242", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "Greater", - "signature" : [ { - "localId" : "249", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "250", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "243", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "precision" : "Day", - "type" : "DifferenceBetween", - "signature" : [ { - "localId" : "246", - "name" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "247", - "name" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "244", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", - "name" : "NewYear2014", - "type" : "ExpressionRef" - }, { - "localId" : "245", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", - "name" : "February2014", - "type" : "ExpressionRef" + "value" : [ "February2014" ] } ] - }, { - "localId" : "248", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "25", - "type" : "Literal" - } ] - } - }, { - "localId" : "253", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "GreaterThan40DaysAfter", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "253", + } ] + }, { + "r" : "260", + "value" : [ " ", ">", " ", "40" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Greater", + "localId" : "254", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "261", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "262", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "DifferenceBetween", + "localId" : "255", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "precision" : "Day", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "258", + "name" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "259", + "name" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "ExpressionRef", + "localId" : "256", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", + "name" : "NewYear2014", + "annotation" : [ ] + }, { + "type" : "ExpressionRef", + "localId" : "257", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", + "name" : "February2014", + "annotation" : [ ] + } ] + }, { + "type" : "Literal", + "localId" : "260", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "40", + "annotation" : [ ] + } ] + } + }, { + "localId" : "265", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "GreaterThan80DaysAfter", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "265", + "s" : [ { + "value" : [ "", "define ", "GreaterThan80DaysAfter", ": " ] + }, { + "r" : "266", + "s" : [ { + "r" : "267", + "s" : [ { + "value" : [ "difference in days between " ] + }, { + "r" : "268", "s" : [ { - "value" : [ "","define ","GreaterThan40DaysAfter",": " ] - }, { - "r" : "254", - "s" : [ { - "r" : "255", - "s" : [ { - "value" : [ "difference in days between " ] - }, { - "r" : "256", - "s" : [ { - "value" : [ "NewYear2014" ] - } ] - }, { - "value" : [ " and " ] - }, { - "r" : "257", - "s" : [ { - "value" : [ "February2014" ] - } ] - } ] - }, { - "r" : "260", - "value" : [ " ",">"," ","40" ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "254", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "Greater", - "signature" : [ { - "localId" : "261", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "262", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "255", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "precision" : "Day", - "type" : "DifferenceBetween", - "signature" : [ { - "localId" : "258", - "name" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "259", - "name" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "256", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", - "name" : "NewYear2014", - "type" : "ExpressionRef" - }, { - "localId" : "257", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", - "name" : "February2014", - "type" : "ExpressionRef" + "value" : [ "NewYear2014" ] } ] - }, { - "localId" : "260", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "40", - "type" : "Literal" - } ] - } - }, { - "localId" : "265", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "GreaterThan80DaysAfter", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "265", + }, { + "value" : [ " and " ] + }, { + "r" : "269", "s" : [ { - "value" : [ "","define ","GreaterThan80DaysAfter",": " ] - }, { - "r" : "266", - "s" : [ { - "r" : "267", - "s" : [ { - "value" : [ "difference in days between " ] - }, { - "r" : "268", - "s" : [ { - "value" : [ "NewYear2014" ] - } ] - }, { - "value" : [ " and " ] - }, { - "r" : "269", - "s" : [ { - "value" : [ "February2014" ] - } ] - } ] - }, { - "r" : "272", - "value" : [ " ",">"," ","80" ] - } ] + "value" : [ "February2014" ] } ] - } - } ], - "expression" : { - "localId" : "266", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "Greater", - "signature" : [ { - "localId" : "273", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "274", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "267", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "precision" : "Day", - "type" : "DifferenceBetween", - "signature" : [ { - "localId" : "270", - "name" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "271", - "name" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "268", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", - "name" : "NewYear2014", - "type" : "ExpressionRef" - }, { - "localId" : "269", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", - "name" : "February2014", - "type" : "ExpressionRef" - } ] - }, { - "localId" : "272", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "80", - "type" : "Literal" - } ] - } - }, { - "localId" : "277", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "GreaterOrEqualTo25DaysAfter", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "277", + } ] + }, { + "r" : "272", + "value" : [ " ", ">", " ", "80" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Greater", + "localId" : "266", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "273", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "274", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "DifferenceBetween", + "localId" : "267", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "precision" : "Day", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "270", + "name" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "271", + "name" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "ExpressionRef", + "localId" : "268", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", + "name" : "NewYear2014", + "annotation" : [ ] + }, { + "type" : "ExpressionRef", + "localId" : "269", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", + "name" : "February2014", + "annotation" : [ ] + } ] + }, { + "type" : "Literal", + "localId" : "272", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "80", + "annotation" : [ ] + } ] + } + }, { + "localId" : "277", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "GreaterOrEqualTo25DaysAfter", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "277", + "s" : [ { + "value" : [ "", "define ", "GreaterOrEqualTo25DaysAfter", ": " ] + }, { + "r" : "278", + "s" : [ { + "r" : "279", + "s" : [ { + "value" : [ "difference in days between " ] + }, { + "r" : "280", "s" : [ { - "value" : [ "","define ","GreaterOrEqualTo25DaysAfter",": " ] - }, { - "r" : "278", - "s" : [ { - "r" : "279", - "s" : [ { - "value" : [ "difference in days between " ] - }, { - "r" : "280", - "s" : [ { - "value" : [ "NewYear2014" ] - } ] - }, { - "value" : [ " and " ] - }, { - "r" : "281", - "s" : [ { - "value" : [ "February2014" ] - } ] - } ] - }, { - "r" : "284", - "value" : [ " ",">="," ","25" ] - } ] + "value" : [ "NewYear2014" ] } ] - } - } ], - "expression" : { - "localId" : "278", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "GreaterOrEqual", - "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" : "279", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "precision" : "Day", - "type" : "DifferenceBetween", - "signature" : [ { - "localId" : "282", - "name" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "283", - "name" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "280", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", - "name" : "NewYear2014", - "type" : "ExpressionRef" - }, { - "localId" : "281", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", - "name" : "February2014", - "type" : "ExpressionRef" + }, { + "value" : [ " and " ] + }, { + "r" : "281", + "s" : [ { + "value" : [ "February2014" ] } ] - }, { - "localId" : "284", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "25", - "type" : "Literal" - } ] - } - }, { - "localId" : "289", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "GreaterOrEqualTo40DaysAfter", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "289", + } ] + }, { + "r" : "284", + "value" : [ " ", ">=", " ", "25" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "GreaterOrEqual", + "localId" : "278", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "285", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "286", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "DifferenceBetween", + "localId" : "279", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "precision" : "Day", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "282", + "name" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "283", + "name" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "ExpressionRef", + "localId" : "280", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", + "name" : "NewYear2014", + "annotation" : [ ] + }, { + "type" : "ExpressionRef", + "localId" : "281", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", + "name" : "February2014", + "annotation" : [ ] + } ] + }, { + "type" : "Literal", + "localId" : "284", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "25", + "annotation" : [ ] + } ] + } + }, { + "localId" : "289", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "GreaterOrEqualTo40DaysAfter", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "289", + "s" : [ { + "value" : [ "", "define ", "GreaterOrEqualTo40DaysAfter", ": " ] + }, { + "r" : "290", + "s" : [ { + "r" : "291", + "s" : [ { + "value" : [ "difference in days between " ] + }, { + "r" : "292", "s" : [ { - "value" : [ "","define ","GreaterOrEqualTo40DaysAfter",": " ] - }, { - "r" : "290", - "s" : [ { - "r" : "291", - "s" : [ { - "value" : [ "difference in days between " ] - }, { - "r" : "292", - "s" : [ { - "value" : [ "NewYear2014" ] - } ] - }, { - "value" : [ " and " ] - }, { - "r" : "293", - "s" : [ { - "value" : [ "February2014" ] - } ] - } ] - }, { - "r" : "296", - "value" : [ " ",">="," ","40" ] - } ] + "value" : [ "NewYear2014" ] } ] - } - } ], - "expression" : { - "localId" : "290", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "GreaterOrEqual", - "signature" : [ { - "localId" : "297", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "298", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "291", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "precision" : "Day", - "type" : "DifferenceBetween", - "signature" : [ { - "localId" : "294", - "name" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "295", - "name" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "292", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", - "name" : "NewYear2014", - "type" : "ExpressionRef" - }, { - "localId" : "293", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", - "name" : "February2014", - "type" : "ExpressionRef" + }, { + "value" : [ " and " ] + }, { + "r" : "293", + "s" : [ { + "value" : [ "February2014" ] } ] - }, { - "localId" : "296", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "40", - "type" : "Literal" - } ] - } - }, { - "localId" : "301", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "GreaterOrEqualTo80DaysAfter", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "301", + } ] + }, { + "r" : "296", + "value" : [ " ", ">=", " ", "40" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "GreaterOrEqual", + "localId" : "290", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "297", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "298", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "DifferenceBetween", + "localId" : "291", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "precision" : "Day", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "294", + "name" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "295", + "name" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "ExpressionRef", + "localId" : "292", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", + "name" : "NewYear2014", + "annotation" : [ ] + }, { + "type" : "ExpressionRef", + "localId" : "293", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", + "name" : "February2014", + "annotation" : [ ] + } ] + }, { + "type" : "Literal", + "localId" : "296", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "40", + "annotation" : [ ] + } ] + } + }, { + "localId" : "301", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "GreaterOrEqualTo80DaysAfter", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "301", + "s" : [ { + "value" : [ "", "define ", "GreaterOrEqualTo80DaysAfter", ": " ] + }, { + "r" : "302", + "s" : [ { + "r" : "303", + "s" : [ { + "value" : [ "difference in days between " ] + }, { + "r" : "304", "s" : [ { - "value" : [ "","define ","GreaterOrEqualTo80DaysAfter",": " ] - }, { - "r" : "302", - "s" : [ { - "r" : "303", - "s" : [ { - "value" : [ "difference in days between " ] - }, { - "r" : "304", - "s" : [ { - "value" : [ "NewYear2014" ] - } ] - }, { - "value" : [ " and " ] - }, { - "r" : "305", - "s" : [ { - "value" : [ "February2014" ] - } ] - } ] - }, { - "r" : "308", - "value" : [ " ",">="," ","80" ] - } ] + "value" : [ "NewYear2014" ] } ] - } - } ], - "expression" : { - "localId" : "302", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "GreaterOrEqual", - "signature" : [ { - "localId" : "309", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "310", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "303", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "precision" : "Day", - "type" : "DifferenceBetween", - "signature" : [ { - "localId" : "306", - "name" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "307", - "name" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "304", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", - "name" : "NewYear2014", - "type" : "ExpressionRef" - }, { - "localId" : "305", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", - "name" : "February2014", - "type" : "ExpressionRef" + }, { + "value" : [ " and " ] + }, { + "r" : "305", + "s" : [ { + "value" : [ "February2014" ] } ] - }, { - "localId" : "308", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "80", - "type" : "Literal" - } ] - } - }, { - "localId" : "313", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "EqualTo25DaysAfter", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "313", + } ] + }, { + "r" : "308", + "value" : [ " ", ">=", " ", "80" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "GreaterOrEqual", + "localId" : "302", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "309", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "310", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "DifferenceBetween", + "localId" : "303", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "precision" : "Day", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "306", + "name" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "307", + "name" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "ExpressionRef", + "localId" : "304", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", + "name" : "NewYear2014", + "annotation" : [ ] + }, { + "type" : "ExpressionRef", + "localId" : "305", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", + "name" : "February2014", + "annotation" : [ ] + } ] + }, { + "type" : "Literal", + "localId" : "308", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "80", + "annotation" : [ ] + } ] + } + }, { + "localId" : "313", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "EqualTo25DaysAfter", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "313", + "s" : [ { + "value" : [ "", "define ", "EqualTo25DaysAfter", ": " ] + }, { + "r" : "314", + "s" : [ { + "r" : "315", + "s" : [ { + "value" : [ "difference in days between " ] + }, { + "r" : "316", "s" : [ { - "value" : [ "","define ","EqualTo25DaysAfter",": " ] - }, { - "r" : "314", - "s" : [ { - "r" : "315", - "s" : [ { - "value" : [ "difference in days between " ] - }, { - "r" : "316", - "s" : [ { - "value" : [ "NewYear2014" ] - } ] - }, { - "value" : [ " and " ] - }, { - "r" : "317", - "s" : [ { - "value" : [ "February2014" ] - } ] - } ] - }, { - "r" : "320", - "value" : [ " ","="," ","25" ] - } ] + "value" : [ "NewYear2014" ] } ] - } - } ], - "expression" : { - "localId" : "314", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "Equal", - "signature" : [ { - "localId" : "321", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "322", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "315", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "precision" : "Day", - "type" : "DifferenceBetween", - "signature" : [ { - "localId" : "318", - "name" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "319", - "name" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "316", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", - "name" : "NewYear2014", - "type" : "ExpressionRef" - }, { - "localId" : "317", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", - "name" : "February2014", - "type" : "ExpressionRef" + }, { + "value" : [ " and " ] + }, { + "r" : "317", + "s" : [ { + "value" : [ "February2014" ] } ] - }, { - "localId" : "320", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "25", - "type" : "Literal" - } ] - } - }, { - "localId" : "325", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "EqualTo40DaysAfter", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "325", + } ] + }, { + "r" : "320", + "value" : [ " ", "=", " ", "25" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Equal", + "localId" : "314", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "321", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "322", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "DifferenceBetween", + "localId" : "315", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "precision" : "Day", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "318", + "name" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "319", + "name" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "ExpressionRef", + "localId" : "316", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", + "name" : "NewYear2014", + "annotation" : [ ] + }, { + "type" : "ExpressionRef", + "localId" : "317", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", + "name" : "February2014", + "annotation" : [ ] + } ] + }, { + "type" : "Literal", + "localId" : "320", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "25", + "annotation" : [ ] + } ] + } + }, { + "localId" : "325", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "EqualTo40DaysAfter", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "325", + "s" : [ { + "value" : [ "", "define ", "EqualTo40DaysAfter", ": " ] + }, { + "r" : "326", + "s" : [ { + "r" : "327", + "s" : [ { + "value" : [ "difference in days between " ] + }, { + "r" : "328", "s" : [ { - "value" : [ "","define ","EqualTo40DaysAfter",": " ] - }, { - "r" : "326", - "s" : [ { - "r" : "327", - "s" : [ { - "value" : [ "difference in days between " ] - }, { - "r" : "328", - "s" : [ { - "value" : [ "NewYear2014" ] - } ] - }, { - "value" : [ " and " ] - }, { - "r" : "329", - "s" : [ { - "value" : [ "February2014" ] - } ] - } ] - }, { - "r" : "332", - "value" : [ " ","="," ","40" ] - } ] + "value" : [ "NewYear2014" ] } ] - } - } ], - "expression" : { - "localId" : "326", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "Equal", - "signature" : [ { - "localId" : "333", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "334", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "327", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "precision" : "Day", - "type" : "DifferenceBetween", - "signature" : [ { - "localId" : "330", - "name" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "331", - "name" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "328", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", - "name" : "NewYear2014", - "type" : "ExpressionRef" - }, { - "localId" : "329", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", - "name" : "February2014", - "type" : "ExpressionRef" + }, { + "value" : [ " and " ] + }, { + "r" : "329", + "s" : [ { + "value" : [ "February2014" ] } ] - }, { - "localId" : "332", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "40", - "type" : "Literal" - } ] - } - }, { - "localId" : "337", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "EqualTo80DaysAfter", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "337", + } ] + }, { + "r" : "332", + "value" : [ " ", "=", " ", "40" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Equal", + "localId" : "326", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "333", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "334", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "DifferenceBetween", + "localId" : "327", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "precision" : "Day", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "330", + "name" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "331", + "name" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "ExpressionRef", + "localId" : "328", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", + "name" : "NewYear2014", + "annotation" : [ ] + }, { + "type" : "ExpressionRef", + "localId" : "329", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", + "name" : "February2014", + "annotation" : [ ] + } ] + }, { + "type" : "Literal", + "localId" : "332", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "40", + "annotation" : [ ] + } ] + } + }, { + "localId" : "337", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "EqualTo80DaysAfter", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "337", + "s" : [ { + "value" : [ "", "define ", "EqualTo80DaysAfter", ": " ] + }, { + "r" : "338", + "s" : [ { + "r" : "339", + "s" : [ { + "value" : [ "difference in days between " ] + }, { + "r" : "340", "s" : [ { - "value" : [ "","define ","EqualTo80DaysAfter",": " ] - }, { - "r" : "338", - "s" : [ { - "r" : "339", - "s" : [ { - "value" : [ "difference in days between " ] - }, { - "r" : "340", - "s" : [ { - "value" : [ "NewYear2014" ] - } ] - }, { - "value" : [ " and " ] - }, { - "r" : "341", - "s" : [ { - "value" : [ "February2014" ] - } ] - } ] - }, { - "r" : "344", - "value" : [ " ","="," ","80" ] - } ] + "value" : [ "NewYear2014" ] } ] - } - } ], - "expression" : { - "localId" : "338", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "Equal", - "signature" : [ { - "localId" : "345", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "346", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "339", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "precision" : "Day", - "type" : "DifferenceBetween", - "signature" : [ { - "localId" : "342", - "name" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "343", - "name" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "340", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", - "name" : "NewYear2014", - "type" : "ExpressionRef" - }, { - "localId" : "341", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", - "name" : "February2014", - "type" : "ExpressionRef" + }, { + "value" : [ " and " ] + }, { + "r" : "341", + "s" : [ { + "value" : [ "February2014" ] } ] - }, { - "localId" : "344", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "80", - "type" : "Literal" - } ] - } - }, { - "localId" : "349", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "LessOrEqualTo25DaysAfter", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "349", + } ] + }, { + "r" : "344", + "value" : [ " ", "=", " ", "80" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Equal", + "localId" : "338", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "345", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "346", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "DifferenceBetween", + "localId" : "339", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "precision" : "Day", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "342", + "name" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "343", + "name" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "ExpressionRef", + "localId" : "340", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", + "name" : "NewYear2014", + "annotation" : [ ] + }, { + "type" : "ExpressionRef", + "localId" : "341", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", + "name" : "February2014", + "annotation" : [ ] + } ] + }, { + "type" : "Literal", + "localId" : "344", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "80", + "annotation" : [ ] + } ] + } + }, { + "localId" : "349", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "LessOrEqualTo25DaysAfter", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "349", + "s" : [ { + "value" : [ "", "define ", "LessOrEqualTo25DaysAfter", ": " ] + }, { + "r" : "350", + "s" : [ { + "r" : "351", + "s" : [ { + "value" : [ "difference in days between " ] + }, { + "r" : "352", "s" : [ { - "value" : [ "","define ","LessOrEqualTo25DaysAfter",": " ] - }, { - "r" : "350", - "s" : [ { - "r" : "351", - "s" : [ { - "value" : [ "difference in days between " ] - }, { - "r" : "352", - "s" : [ { - "value" : [ "NewYear2014" ] - } ] - }, { - "value" : [ " and " ] - }, { - "r" : "353", - "s" : [ { - "value" : [ "February2014" ] - } ] - } ] - }, { - "r" : "356", - "value" : [ " ","<="," ","25" ] - } ] + "value" : [ "NewYear2014" ] } ] - } - } ], - "expression" : { - "localId" : "350", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "LessOrEqual", - "signature" : [ { - "localId" : "357", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "358", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "351", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "precision" : "Day", - "type" : "DifferenceBetween", - "signature" : [ { - "localId" : "354", - "name" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "355", - "name" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "352", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", - "name" : "NewYear2014", - "type" : "ExpressionRef" - }, { - "localId" : "353", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", - "name" : "February2014", - "type" : "ExpressionRef" + }, { + "value" : [ " and " ] + }, { + "r" : "353", + "s" : [ { + "value" : [ "February2014" ] } ] - }, { - "localId" : "356", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "25", - "type" : "Literal" - } ] - } - }, { - "localId" : "361", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "LessOrEqualTo40DaysAfter", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "361", + } ] + }, { + "r" : "356", + "value" : [ " ", "<=", " ", "25" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "LessOrEqual", + "localId" : "350", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "357", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "358", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "DifferenceBetween", + "localId" : "351", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "precision" : "Day", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "354", + "name" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "355", + "name" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "ExpressionRef", + "localId" : "352", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", + "name" : "NewYear2014", + "annotation" : [ ] + }, { + "type" : "ExpressionRef", + "localId" : "353", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", + "name" : "February2014", + "annotation" : [ ] + } ] + }, { + "type" : "Literal", + "localId" : "356", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "25", + "annotation" : [ ] + } ] + } + }, { + "localId" : "361", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "LessOrEqualTo40DaysAfter", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "361", + "s" : [ { + "value" : [ "", "define ", "LessOrEqualTo40DaysAfter", ": " ] + }, { + "r" : "362", + "s" : [ { + "r" : "363", + "s" : [ { + "value" : [ "difference in days between " ] + }, { + "r" : "364", "s" : [ { - "value" : [ "","define ","LessOrEqualTo40DaysAfter",": " ] - }, { - "r" : "362", - "s" : [ { - "r" : "363", - "s" : [ { - "value" : [ "difference in days between " ] - }, { - "r" : "364", - "s" : [ { - "value" : [ "NewYear2014" ] - } ] - }, { - "value" : [ " and " ] - }, { - "r" : "365", - "s" : [ { - "value" : [ "February2014" ] - } ] - } ] - }, { - "r" : "368", - "value" : [ " ","<="," ","40" ] - } ] + "value" : [ "NewYear2014" ] } ] - } - } ], - "expression" : { - "localId" : "362", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "LessOrEqual", - "signature" : [ { - "localId" : "369", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "370", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "363", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "precision" : "Day", - "type" : "DifferenceBetween", - "signature" : [ { - "localId" : "366", - "name" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "367", - "name" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "364", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", - "name" : "NewYear2014", - "type" : "ExpressionRef" - }, { - "localId" : "365", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", - "name" : "February2014", - "type" : "ExpressionRef" + }, { + "value" : [ " and " ] + }, { + "r" : "365", + "s" : [ { + "value" : [ "February2014" ] } ] - }, { - "localId" : "368", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "40", - "type" : "Literal" - } ] - } - }, { - "localId" : "373", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "LessOrEqualTo80DaysAfter", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "373", + } ] + }, { + "r" : "368", + "value" : [ " ", "<=", " ", "40" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "LessOrEqual", + "localId" : "362", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "369", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "370", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "DifferenceBetween", + "localId" : "363", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "precision" : "Day", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "366", + "name" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "367", + "name" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "ExpressionRef", + "localId" : "364", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", + "name" : "NewYear2014", + "annotation" : [ ] + }, { + "type" : "ExpressionRef", + "localId" : "365", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", + "name" : "February2014", + "annotation" : [ ] + } ] + }, { + "type" : "Literal", + "localId" : "368", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "40", + "annotation" : [ ] + } ] + } + }, { + "localId" : "373", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "LessOrEqualTo80DaysAfter", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "373", + "s" : [ { + "value" : [ "", "define ", "LessOrEqualTo80DaysAfter", ": " ] + }, { + "r" : "374", + "s" : [ { + "r" : "375", + "s" : [ { + "value" : [ "difference in days between " ] + }, { + "r" : "376", "s" : [ { - "value" : [ "","define ","LessOrEqualTo80DaysAfter",": " ] - }, { - "r" : "374", - "s" : [ { - "r" : "375", - "s" : [ { - "value" : [ "difference in days between " ] - }, { - "r" : "376", - "s" : [ { - "value" : [ "NewYear2014" ] - } ] - }, { - "value" : [ " and " ] - }, { - "r" : "377", - "s" : [ { - "value" : [ "February2014" ] - } ] - } ] - }, { - "r" : "380", - "value" : [ " ","<="," ","80" ] - } ] + "value" : [ "NewYear2014" ] } ] - } - } ], - "expression" : { - "localId" : "374", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "LessOrEqual", - "signature" : [ { - "localId" : "381", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "382", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "375", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "precision" : "Day", - "type" : "DifferenceBetween", - "signature" : [ { - "localId" : "378", - "name" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "379", - "name" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "376", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", - "name" : "NewYear2014", - "type" : "ExpressionRef" - }, { - "localId" : "377", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", - "name" : "February2014", - "type" : "ExpressionRef" + }, { + "value" : [ " and " ] + }, { + "r" : "377", + "s" : [ { + "value" : [ "February2014" ] } ] - }, { - "localId" : "380", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "80", - "type" : "Literal" - } ] - } - }, { - "localId" : "385", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "LessThan25DaysAfter", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "385", + } ] + }, { + "r" : "380", + "value" : [ " ", "<=", " ", "80" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "LessOrEqual", + "localId" : "374", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "381", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "382", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "DifferenceBetween", + "localId" : "375", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "precision" : "Day", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "378", + "name" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "379", + "name" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "ExpressionRef", + "localId" : "376", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", + "name" : "NewYear2014", + "annotation" : [ ] + }, { + "type" : "ExpressionRef", + "localId" : "377", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", + "name" : "February2014", + "annotation" : [ ] + } ] + }, { + "type" : "Literal", + "localId" : "380", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "80", + "annotation" : [ ] + } ] + } + }, { + "localId" : "385", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "LessThan25DaysAfter", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "385", + "s" : [ { + "value" : [ "", "define ", "LessThan25DaysAfter", ": " ] + }, { + "r" : "386", + "s" : [ { + "r" : "387", + "s" : [ { + "value" : [ "difference in days between " ] + }, { + "r" : "388", "s" : [ { - "value" : [ "","define ","LessThan25DaysAfter",": " ] - }, { - "r" : "386", - "s" : [ { - "r" : "387", - "s" : [ { - "value" : [ "difference in days between " ] - }, { - "r" : "388", - "s" : [ { - "value" : [ "NewYear2014" ] - } ] - }, { - "value" : [ " and " ] - }, { - "r" : "389", - "s" : [ { - "value" : [ "February2014" ] - } ] - } ] - }, { - "r" : "392", - "value" : [ " ","<"," ","25" ] - } ] + "value" : [ "NewYear2014" ] } ] - } - } ], - "expression" : { - "localId" : "386", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "Less", - "signature" : [ { - "localId" : "393", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "394", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "387", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "precision" : "Day", - "type" : "DifferenceBetween", - "signature" : [ { - "localId" : "390", - "name" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "391", - "name" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "388", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", - "name" : "NewYear2014", - "type" : "ExpressionRef" - }, { - "localId" : "389", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", - "name" : "February2014", - "type" : "ExpressionRef" + }, { + "value" : [ " and " ] + }, { + "r" : "389", + "s" : [ { + "value" : [ "February2014" ] } ] - }, { - "localId" : "392", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "25", - "type" : "Literal" - } ] - } - }, { - "localId" : "397", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "LessThan40DaysAfter", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "397", + } ] + }, { + "r" : "392", + "value" : [ " ", "<", " ", "25" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Less", + "localId" : "386", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "393", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "394", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "DifferenceBetween", + "localId" : "387", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "precision" : "Day", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "390", + "name" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "391", + "name" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "ExpressionRef", + "localId" : "388", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", + "name" : "NewYear2014", + "annotation" : [ ] + }, { + "type" : "ExpressionRef", + "localId" : "389", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", + "name" : "February2014", + "annotation" : [ ] + } ] + }, { + "type" : "Literal", + "localId" : "392", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "25", + "annotation" : [ ] + } ] + } + }, { + "localId" : "397", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "LessThan40DaysAfter", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "397", + "s" : [ { + "value" : [ "", "define ", "LessThan40DaysAfter", ": " ] + }, { + "r" : "398", + "s" : [ { + "r" : "399", + "s" : [ { + "value" : [ "difference in days between " ] + }, { + "r" : "400", "s" : [ { - "value" : [ "","define ","LessThan40DaysAfter",": " ] - }, { - "r" : "398", - "s" : [ { - "r" : "399", - "s" : [ { - "value" : [ "difference in days between " ] - }, { - "r" : "400", - "s" : [ { - "value" : [ "NewYear2014" ] - } ] - }, { - "value" : [ " and " ] - }, { - "r" : "401", - "s" : [ { - "value" : [ "February2014" ] - } ] - } ] - }, { - "r" : "404", - "value" : [ " ","<"," ","40" ] - } ] + "value" : [ "NewYear2014" ] } ] - } - } ], - "expression" : { - "localId" : "398", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "Less", - "signature" : [ { - "localId" : "405", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "406", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "399", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "precision" : "Day", - "type" : "DifferenceBetween", - "signature" : [ { - "localId" : "402", - "name" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "403", - "name" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "400", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", - "name" : "NewYear2014", - "type" : "ExpressionRef" - }, { - "localId" : "401", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", - "name" : "February2014", - "type" : "ExpressionRef" + }, { + "value" : [ " and " ] + }, { + "r" : "401", + "s" : [ { + "value" : [ "February2014" ] } ] - }, { - "localId" : "404", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "40", - "type" : "Literal" - } ] - } - }, { - "localId" : "409", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "LessThan80DaysAfter", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "409", + } ] + }, { + "r" : "404", + "value" : [ " ", "<", " ", "40" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Less", + "localId" : "398", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "405", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "406", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "DifferenceBetween", + "localId" : "399", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "precision" : "Day", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "402", + "name" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "403", + "name" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "ExpressionRef", + "localId" : "400", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", + "name" : "NewYear2014", + "annotation" : [ ] + }, { + "type" : "ExpressionRef", + "localId" : "401", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", + "name" : "February2014", + "annotation" : [ ] + } ] + }, { + "type" : "Literal", + "localId" : "404", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "40", + "annotation" : [ ] + } ] + } + }, { + "localId" : "409", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "LessThan80DaysAfter", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "409", + "s" : [ { + "value" : [ "", "define ", "LessThan80DaysAfter", ": " ] + }, { + "r" : "410", + "s" : [ { + "r" : "411", + "s" : [ { + "value" : [ "difference in days between " ] + }, { + "r" : "412", "s" : [ { - "value" : [ "","define ","LessThan80DaysAfter",": " ] - }, { - "r" : "410", - "s" : [ { - "r" : "411", - "s" : [ { - "value" : [ "difference in days between " ] - }, { - "r" : "412", - "s" : [ { - "value" : [ "NewYear2014" ] - } ] - }, { - "value" : [ " and " ] - }, { - "r" : "413", - "s" : [ { - "value" : [ "February2014" ] - } ] - } ] - }, { - "r" : "416", - "value" : [ " ","<"," ","80" ] - } ] + "value" : [ "NewYear2014" ] } ] - } - } ], - "expression" : { - "localId" : "410", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "Less", - "signature" : [ { - "localId" : "417", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "418", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "411", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "precision" : "Day", - "type" : "DifferenceBetween", - "signature" : [ { - "localId" : "414", - "name" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "415", - "name" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "412", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", - "name" : "NewYear2014", - "type" : "ExpressionRef" - }, { - "localId" : "413", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", - "name" : "February2014", - "type" : "ExpressionRef" + }, { + "value" : [ " and " ] + }, { + "r" : "413", + "s" : [ { + "value" : [ "February2014" ] } ] - }, { - "localId" : "416", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "80", - "type" : "Literal" - } ] - } - }, { - "localId" : "421", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "TwentyFiveDaysLessThanDaysBetween", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "421", + } ] + }, { + "r" : "416", + "value" : [ " ", "<", " ", "80" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Less", + "localId" : "410", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "417", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "418", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "DifferenceBetween", + "localId" : "411", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "precision" : "Day", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "414", + "name" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "415", + "name" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "ExpressionRef", + "localId" : "412", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", + "name" : "NewYear2014", + "annotation" : [ ] + }, { + "type" : "ExpressionRef", + "localId" : "413", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", + "name" : "February2014", + "annotation" : [ ] + } ] + }, { + "type" : "Literal", + "localId" : "416", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "80", + "annotation" : [ ] + } ] + } + }, { + "localId" : "421", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "TwentyFiveDaysLessThanDaysBetween", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "421", + "s" : [ { + "value" : [ "", "define ", "TwentyFiveDaysLessThanDaysBetween", ": " ] + }, { + "r" : "422", + "s" : [ { + "r" : "423", + "value" : [ "25", " ", "<", " " ] + }, { + "r" : "424", + "s" : [ { + "value" : [ "difference in days between " ] + }, { + "r" : "425", "s" : [ { - "value" : [ "","define ","TwentyFiveDaysLessThanDaysBetween",": " ] - }, { - "r" : "422", - "s" : [ { - "r" : "423", - "value" : [ "25"," ","<"," " ] - }, { - "r" : "424", - "s" : [ { - "value" : [ "difference in days between " ] - }, { - "r" : "425", - "s" : [ { - "value" : [ "NewYear2014" ] - } ] - }, { - "value" : [ " and " ] - }, { - "r" : "426", - "s" : [ { - "value" : [ "February2014" ] - } ] - } ] - } ] + "value" : [ "NewYear2014" ] } ] - } - } ], - "expression" : { - "localId" : "422", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "Less", - "signature" : [ { - "localId" : "429", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "430", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "423", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "25", - "type" : "Literal" - }, { - "localId" : "424", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "precision" : "Day", - "type" : "DifferenceBetween", - "signature" : [ { - "localId" : "427", - "name" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "428", - "name" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "425", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", - "name" : "NewYear2014", - "type" : "ExpressionRef" - }, { - "localId" : "426", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", - "name" : "February2014", - "type" : "ExpressionRef" + }, { + "value" : [ " and " ] + }, { + "r" : "426", + "s" : [ { + "value" : [ "February2014" ] } ] - } ] - } - }, { - "localId" : "433", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "FortyDaysEqualToDaysBetween", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "433", + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Less", + "localId" : "422", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "429", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "430", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "Literal", + "localId" : "423", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "25", + "annotation" : [ ] + }, { + "type" : "DifferenceBetween", + "localId" : "424", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "precision" : "Day", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "427", + "name" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "428", + "name" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "ExpressionRef", + "localId" : "425", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", + "name" : "NewYear2014", + "annotation" : [ ] + }, { + "type" : "ExpressionRef", + "localId" : "426", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", + "name" : "February2014", + "annotation" : [ ] + } ] + } ] + } + }, { + "localId" : "433", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "FortyDaysEqualToDaysBetween", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "433", + "s" : [ { + "value" : [ "", "define ", "FortyDaysEqualToDaysBetween", ": " ] + }, { + "r" : "434", + "s" : [ { + "r" : "435", + "value" : [ "40", " ", "=", " " ] + }, { + "r" : "436", + "s" : [ { + "value" : [ "difference in days between " ] + }, { + "r" : "437", "s" : [ { - "value" : [ "","define ","FortyDaysEqualToDaysBetween",": " ] - }, { - "r" : "434", - "s" : [ { - "r" : "435", - "value" : [ "40"," ","="," " ] - }, { - "r" : "436", - "s" : [ { - "value" : [ "difference in days between " ] - }, { - "r" : "437", - "s" : [ { - "value" : [ "NewYear2014" ] - } ] - }, { - "value" : [ " and " ] - }, { - "r" : "438", - "s" : [ { - "value" : [ "February2014" ] - } ] - } ] - } ] + "value" : [ "NewYear2014" ] } ] - } - } ], - "expression" : { - "localId" : "434", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "Equal", - "signature" : [ { - "localId" : "441", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "442", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "435", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "40", - "type" : "Literal" - }, { - "localId" : "436", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "precision" : "Day", - "type" : "DifferenceBetween", - "signature" : [ { - "localId" : "439", - "name" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "440", - "name" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "437", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", - "name" : "NewYear2014", - "type" : "ExpressionRef" - }, { - "localId" : "438", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", - "name" : "February2014", - "type" : "ExpressionRef" + }, { + "value" : [ " and " ] + }, { + "r" : "438", + "s" : [ { + "value" : [ "February2014" ] } ] - } ] - } - }, { - "localId" : "445", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "TwentyFiveDaysGreaterThanDaysBetween", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "445", + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Equal", + "localId" : "434", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "441", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "442", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "Literal", + "localId" : "435", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "40", + "annotation" : [ ] + }, { + "type" : "DifferenceBetween", + "localId" : "436", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "precision" : "Day", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "439", + "name" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "440", + "name" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "ExpressionRef", + "localId" : "437", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", + "name" : "NewYear2014", + "annotation" : [ ] + }, { + "type" : "ExpressionRef", + "localId" : "438", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", + "name" : "February2014", + "annotation" : [ ] + } ] + } ] + } + }, { + "localId" : "445", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "TwentyFiveDaysGreaterThanDaysBetween", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "445", + "s" : [ { + "value" : [ "", "define ", "TwentyFiveDaysGreaterThanDaysBetween", ": " ] + }, { + "r" : "446", + "s" : [ { + "r" : "447", + "value" : [ "25", " ", ">", " " ] + }, { + "r" : "448", + "s" : [ { + "value" : [ "difference in days between " ] + }, { + "r" : "449", "s" : [ { - "value" : [ "","define ","TwentyFiveDaysGreaterThanDaysBetween",": " ] - }, { - "r" : "446", - "s" : [ { - "r" : "447", - "value" : [ "25"," ",">"," " ] - }, { - "r" : "448", - "s" : [ { - "value" : [ "difference in days between " ] - }, { - "r" : "449", - "s" : [ { - "value" : [ "NewYear2014" ] - } ] - }, { - "value" : [ " and " ] - }, { - "r" : "450", - "s" : [ { - "value" : [ "February2014" ] - } ] - } ] - } ] + "value" : [ "NewYear2014" ] } ] - } - } ], - "expression" : { - "localId" : "446", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "Greater", - "signature" : [ { - "localId" : "453", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "454", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "447", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "25", - "type" : "Literal" - }, { - "localId" : "448", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "precision" : "Day", - "type" : "DifferenceBetween", - "signature" : [ { - "localId" : "451", - "name" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "452", - "name" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "449", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", - "name" : "NewYear2014", - "type" : "ExpressionRef" - }, { - "localId" : "450", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", - "name" : "February2014", - "type" : "ExpressionRef" + }, { + "value" : [ " and " ] + }, { + "r" : "450", + "s" : [ { + "value" : [ "February2014" ] } ] - } ] - } - } ] - } - } + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Greater", + "localId" : "446", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "453", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "454", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "Literal", + "localId" : "447", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "25", + "annotation" : [ ] + }, { + "type" : "DifferenceBetween", + "localId" : "448", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "precision" : "Day", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "451", + "name" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "452", + "name" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "ExpressionRef", + "localId" : "449", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", + "name" : "NewYear2014", + "annotation" : [ ] + }, { + "type" : "ExpressionRef", + "localId" : "450", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", + "name" : "February2014", + "annotation" : [ ] + } ] + } ] + } + } ] + } + } } /* DurationBetween @@ -14528,718 +16450,795 @@ define DaysBetweenUncertainty: days between JanOne2015 and January2015 */ module.exports['DurationBetween'] = { - "library" : { - "localId" : "0", - "annotation" : [ { - "translatorVersion" : "3.27.0", - "translatorOptions" : "EnableDateRangeOptimization,EnableAnnotations,EnableResultTypes", - "signatureLevel" : "All", - "type" : "CqlToElmInfo" - }, { - "type" : "Annotation", - "s" : { - "r" : "312", + "library" : { + "localId" : "0", + "annotation" : [ { + "type" : "CqlToElmInfo", + "translatorVersion" : "4.2.0", + "translatorOptions" : "EnableDateRangeOptimization,EnableAnnotations,EnableResultTypes", + "signatureLevel" : "All" + }, { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "312", + "s" : [ { + "value" : [ "", "library TestSnippet version '1'" ] + } ] + } + } ], + "identifier" : { + "id" : "TestSnippet", + "version" : "1" + }, + "schemaIdentifier" : { + "id" : "urn:hl7-org:elm", + "version" : "r1" + }, + "usings" : { + "def" : [ { + "localId" : "1", + "localIdentifier" : "System", + "uri" : "urn:hl7-org:elm-types:r1", + "annotation" : [ ] + }, { + "localId" : "206", + "localIdentifier" : "Simple", + "uri" : "https://github.com/cqframework/cql-execution/simple", + "version" : "1.0.0", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "206", "s" : [ { - "value" : [ "","library TestSnippet version '1'" ] - } ] - } - } ], - "identifier" : { - "id" : "TestSnippet", - "version" : "1" - }, - "schemaIdentifier" : { - "id" : "urn:hl7-org:elm", - "version" : "r1" - }, - "usings" : { - "def" : [ { - "localId" : "1", - "localIdentifier" : "System", - "uri" : "urn:hl7-org:elm-types:r1" - }, { - "localId" : "206", - "localIdentifier" : "Simple", - "uri" : "https://github.com/cqframework/cql-execution/simple", - "version" : "1.0.0", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "206", - "s" : [ { - "value" : [ "","using " ] - }, { - "s" : [ { - "value" : [ "Simple" ] - } ] - }, { - "value" : [ " version '1.0.0'" ] - } ] - } - } ] - } ] - }, - "contexts" : { - "def" : [ { - "localId" : "211", - "name" : "Patient" - } ] - }, - "statements" : { - "def" : [ { - "localId" : "209", - "name" : "Patient", - "context" : "Patient", - "expression" : { - "localId" : "210", - "type" : "SingletonFrom", - "signature" : [ ], - "operand" : { - "localId" : "208", - "dataType" : "{https://github.com/cqframework/cql-execution/simple}Patient", - "type" : "Retrieve", - "include" : [ ], - "codeFilter" : [ ], - "dateFilter" : [ ], - "otherFilter" : [ ] - } - } - }, { - "localId" : "214", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", - "name" : "DecTen2013", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "214", - "s" : [ { - "value" : [ "","define ","DecTen2013",": " ] - }, { - "r" : "223", - "s" : [ { - "r" : "215", - "value" : [ "Date","(","2013",", ","12",", ","10",")" ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "223", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "Date", - "signature" : [ { - "localId" : "224", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "225", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "226", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "215", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2013", - "type" : "Literal" - }, - "month" : { - "localId" : "216", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "12", - "type" : "Literal" - }, - "day" : { - "localId" : "217", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal" - } - } - }, { - "localId" : "229", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", - "name" : "JanOne2015", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "229", - "s" : [ { - "value" : [ "","define ","JanOne2015",": " ] - }, { - "r" : "238", - "s" : [ { - "r" : "230", - "value" : [ "Date","(","2015",", ","1",", ","1",")" ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "238", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "Date", - "signature" : [ { - "localId" : "239", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "240", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "241", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "230", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2015", - "type" : "Literal" - }, - "month" : { - "localId" : "231", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "232", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - } - } - }, { - "localId" : "244", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", - "name" : "January2015", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "244", - "s" : [ { - "value" : [ "","define ","January2015",": " ] - }, { - "r" : "251", - "s" : [ { - "r" : "245", - "value" : [ "Date","(","2015",", ","1",")" ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "251", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "Date", - "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" - } ], - "year" : { - "localId" : "245", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2015", - "type" : "Literal" - }, - "month" : { - "localId" : "246", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - } - } - }, { - "localId" : "256", + "value" : [ "", "using " ] + }, { + "s" : [ { + "value" : [ "Simple" ] + } ] + }, { + "value" : [ " version '1.0.0'" ] + } ] + } + } ] + } ] + }, + "contexts" : { + "def" : [ { + "localId" : "211", + "name" : "Patient", + "annotation" : [ ] + } ] + }, + "statements" : { + "def" : [ { + "localId" : "209", + "name" : "Patient", + "context" : "Patient", + "annotation" : [ ], + "expression" : { + "type" : "SingletonFrom", + "localId" : "210", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Retrieve", + "localId" : "208", + "dataType" : "{https://github.com/cqframework/cql-execution/simple}Patient", + "annotation" : [ ], + "include" : [ ], + "codeFilter" : [ ], + "dateFilter" : [ ], + "otherFilter" : [ ] + } + } + }, { + "localId" : "214", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", + "name" : "DecTen2013", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "214", + "s" : [ { + "value" : [ "", "define ", "DecTen2013", ": " ] + }, { + "r" : "223", + "s" : [ { + "r" : "215", + "value" : [ "Date", "(", "2013", ", ", "12", ", ", "10", ")" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Date", + "localId" : "223", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "224", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "225", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "226", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "215", "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "name" : "YearsBetween", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "256", - "s" : [ { - "value" : [ "","define ","YearsBetween",": " ] - }, { - "r" : "257", - "s" : [ { - "value" : [ "years between " ] - }, { - "r" : "258", - "s" : [ { - "value" : [ "DecTen2013" ] - } ] - }, { - "value" : [ " and " ] - }, { - "r" : "259", - "s" : [ { - "value" : [ "JanOne2015" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "257", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "precision" : "Year", - "type" : "DurationBetween", - "signature" : [ { - "localId" : "260", - "name" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "261", - "name" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "258", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", - "name" : "DecTen2013", - "type" : "ExpressionRef" - }, { - "localId" : "259", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", - "name" : "JanOne2015", - "type" : "ExpressionRef" - } ] - } - }, { - "localId" : "264", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2013", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "216", "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "name" : "MonthsBetween", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "264", - "s" : [ { - "value" : [ "","define ","MonthsBetween",": " ] - }, { - "r" : "265", - "s" : [ { - "value" : [ "months between " ] - }, { - "r" : "266", - "s" : [ { - "value" : [ "DecTen2013" ] - } ] - }, { - "value" : [ " and " ] - }, { - "r" : "267", - "s" : [ { - "value" : [ "JanOne2015" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "265", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "precision" : "Month", - "type" : "DurationBetween", - "signature" : [ { - "localId" : "268", - "name" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "269", - "name" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "266", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", - "name" : "DecTen2013", - "type" : "ExpressionRef" - }, { - "localId" : "267", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", - "name" : "JanOne2015", - "type" : "ExpressionRef" - } ] - } - }, { - "localId" : "272", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "12", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "217", "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "name" : "WeeksBetween", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "272", - "s" : [ { - "value" : [ "","define ","WeeksBetween",": " ] - }, { - "r" : "273", - "s" : [ { - "value" : [ "weeks between " ] - }, { - "r" : "274", - "s" : [ { - "value" : [ "DecTen2013" ] - } ] - }, { - "value" : [ " and " ] - }, { - "r" : "275", - "s" : [ { - "value" : [ "JanOne2015" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "273", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "precision" : "Week", - "type" : "DurationBetween", - "signature" : [ { - "localId" : "276", - "name" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "277", - "name" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "274", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", - "name" : "DecTen2013", - "type" : "ExpressionRef" - }, { - "localId" : "275", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", - "name" : "JanOne2015", - "type" : "ExpressionRef" - } ] - } - }, { - "localId" : "280", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "10", + "annotation" : [ ] + } + } + }, { + "localId" : "229", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", + "name" : "JanOne2015", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "229", + "s" : [ { + "value" : [ "", "define ", "JanOne2015", ": " ] + }, { + "r" : "238", + "s" : [ { + "r" : "230", + "value" : [ "Date", "(", "2015", ", ", "1", ", ", "1", ")" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Date", + "localId" : "238", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "239", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "240", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "241", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "230", "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "name" : "DaysBetween", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "280", - "s" : [ { - "value" : [ "","define ","DaysBetween",": " ] - }, { - "r" : "281", - "s" : [ { - "value" : [ "days between " ] - }, { - "r" : "282", - "s" : [ { - "value" : [ "DecTen2013" ] - } ] - }, { - "value" : [ " and " ] - }, { - "r" : "283", - "s" : [ { - "value" : [ "JanOne2015" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "281", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "precision" : "Day", - "type" : "DurationBetween", - "signature" : [ { - "localId" : "284", - "name" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "285", - "name" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "282", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", - "name" : "DecTen2013", - "type" : "ExpressionRef" - }, { - "localId" : "283", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", - "name" : "JanOne2015", - "type" : "ExpressionRef" - } ] - } - }, { - "localId" : "288", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2015", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "231", "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "name" : "YearsBetweenUncertainty", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "288", - "s" : [ { - "value" : [ "","define ","YearsBetweenUncertainty",": " ] - }, { - "r" : "289", - "s" : [ { - "value" : [ "years between " ] - }, { - "r" : "290", - "s" : [ { - "value" : [ "JanOne2015" ] - } ] - }, { - "value" : [ " and " ] - }, { - "r" : "291", - "s" : [ { - "value" : [ "January2015" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "289", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "precision" : "Year", - "type" : "DurationBetween", - "signature" : [ { - "localId" : "292", - "name" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "293", - "name" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "290", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", - "name" : "JanOne2015", - "type" : "ExpressionRef" - }, { - "localId" : "291", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", - "name" : "January2015", - "type" : "ExpressionRef" - } ] - } - }, { - "localId" : "296", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "232", "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "name" : "MonthsBetweenUncertainty", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "296", - "s" : [ { - "value" : [ "","define ","MonthsBetweenUncertainty",": " ] - }, { - "r" : "297", - "s" : [ { - "value" : [ "months between " ] - }, { - "r" : "298", - "s" : [ { - "value" : [ "JanOne2015" ] - } ] - }, { - "value" : [ " and " ] - }, { - "r" : "299", - "s" : [ { - "value" : [ "January2015" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "297", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "precision" : "Month", - "type" : "DurationBetween", - "signature" : [ { - "localId" : "300", - "name" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "301", - "name" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "298", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", - "name" : "JanOne2015", - "type" : "ExpressionRef" - }, { - "localId" : "299", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", - "name" : "January2015", - "type" : "ExpressionRef" - } ] - } - }, { - "localId" : "304", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + } + } + }, { + "localId" : "244", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", + "name" : "January2015", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "244", + "s" : [ { + "value" : [ "", "define ", "January2015", ": " ] + }, { + "r" : "251", + "s" : [ { + "r" : "245", + "value" : [ "Date", "(", "2015", ", ", "1", ")" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Date", + "localId" : "251", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "252", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "253", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "245", "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "name" : "WeeksBetweenUncertainty", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "304", - "s" : [ { - "value" : [ "","define ","WeeksBetweenUncertainty",": " ] - }, { - "r" : "305", - "s" : [ { - "value" : [ "weeks between " ] - }, { - "r" : "306", - "s" : [ { - "value" : [ "JanOne2015" ] - } ] - }, { - "value" : [ " and " ] - }, { - "r" : "307", - "s" : [ { - "value" : [ "January2015" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "305", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "precision" : "Week", - "type" : "DurationBetween", - "signature" : [ { - "localId" : "308", - "name" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "309", - "name" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "306", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", - "name" : "JanOne2015", - "type" : "ExpressionRef" - }, { - "localId" : "307", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", - "name" : "January2015", - "type" : "ExpressionRef" - } ] - } - }, { - "localId" : "312", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2015", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "246", "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "name" : "DaysBetweenUncertainty", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "312", - "s" : [ { - "value" : [ "","define ","DaysBetweenUncertainty",": " ] - }, { - "r" : "313", - "s" : [ { - "value" : [ "days between " ] - }, { - "r" : "314", - "s" : [ { - "value" : [ "JanOne2015" ] - } ] - }, { - "value" : [ " and " ] - }, { - "r" : "315", - "s" : [ { - "value" : [ "January2015" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "313", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "precision" : "Day", - "type" : "DurationBetween", - "signature" : [ { - "localId" : "316", - "name" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "317", - "name" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "314", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", - "name" : "JanOne2015", - "type" : "ExpressionRef" - }, { - "localId" : "315", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", - "name" : "January2015", - "type" : "ExpressionRef" - } ] - } - } ] - } - } + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + } + } + }, { + "localId" : "256", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "name" : "YearsBetween", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "256", + "s" : [ { + "value" : [ "", "define ", "YearsBetween", ": " ] + }, { + "r" : "257", + "s" : [ { + "value" : [ "years between " ] + }, { + "r" : "258", + "s" : [ { + "value" : [ "DecTen2013" ] + } ] + }, { + "value" : [ " and " ] + }, { + "r" : "259", + "s" : [ { + "value" : [ "JanOne2015" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "DurationBetween", + "localId" : "257", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "precision" : "Year", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "260", + "name" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "261", + "name" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "ExpressionRef", + "localId" : "258", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", + "name" : "DecTen2013", + "annotation" : [ ] + }, { + "type" : "ExpressionRef", + "localId" : "259", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", + "name" : "JanOne2015", + "annotation" : [ ] + } ] + } + }, { + "localId" : "264", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "name" : "MonthsBetween", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "264", + "s" : [ { + "value" : [ "", "define ", "MonthsBetween", ": " ] + }, { + "r" : "265", + "s" : [ { + "value" : [ "months between " ] + }, { + "r" : "266", + "s" : [ { + "value" : [ "DecTen2013" ] + } ] + }, { + "value" : [ " and " ] + }, { + "r" : "267", + "s" : [ { + "value" : [ "JanOne2015" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "DurationBetween", + "localId" : "265", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "precision" : "Month", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "268", + "name" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "269", + "name" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "ExpressionRef", + "localId" : "266", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", + "name" : "DecTen2013", + "annotation" : [ ] + }, { + "type" : "ExpressionRef", + "localId" : "267", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", + "name" : "JanOne2015", + "annotation" : [ ] + } ] + } + }, { + "localId" : "272", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "name" : "WeeksBetween", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "272", + "s" : [ { + "value" : [ "", "define ", "WeeksBetween", ": " ] + }, { + "r" : "273", + "s" : [ { + "value" : [ "weeks between " ] + }, { + "r" : "274", + "s" : [ { + "value" : [ "DecTen2013" ] + } ] + }, { + "value" : [ " and " ] + }, { + "r" : "275", + "s" : [ { + "value" : [ "JanOne2015" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "DurationBetween", + "localId" : "273", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "precision" : "Week", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "276", + "name" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "277", + "name" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "ExpressionRef", + "localId" : "274", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", + "name" : "DecTen2013", + "annotation" : [ ] + }, { + "type" : "ExpressionRef", + "localId" : "275", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", + "name" : "JanOne2015", + "annotation" : [ ] + } ] + } + }, { + "localId" : "280", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "name" : "DaysBetween", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "280", + "s" : [ { + "value" : [ "", "define ", "DaysBetween", ": " ] + }, { + "r" : "281", + "s" : [ { + "value" : [ "days between " ] + }, { + "r" : "282", + "s" : [ { + "value" : [ "DecTen2013" ] + } ] + }, { + "value" : [ " and " ] + }, { + "r" : "283", + "s" : [ { + "value" : [ "JanOne2015" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "DurationBetween", + "localId" : "281", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "precision" : "Day", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "284", + "name" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "285", + "name" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "ExpressionRef", + "localId" : "282", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", + "name" : "DecTen2013", + "annotation" : [ ] + }, { + "type" : "ExpressionRef", + "localId" : "283", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", + "name" : "JanOne2015", + "annotation" : [ ] + } ] + } + }, { + "localId" : "288", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "name" : "YearsBetweenUncertainty", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "288", + "s" : [ { + "value" : [ "", "define ", "YearsBetweenUncertainty", ": " ] + }, { + "r" : "289", + "s" : [ { + "value" : [ "years between " ] + }, { + "r" : "290", + "s" : [ { + "value" : [ "JanOne2015" ] + } ] + }, { + "value" : [ " and " ] + }, { + "r" : "291", + "s" : [ { + "value" : [ "January2015" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "DurationBetween", + "localId" : "289", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "precision" : "Year", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "292", + "name" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "293", + "name" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "ExpressionRef", + "localId" : "290", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", + "name" : "JanOne2015", + "annotation" : [ ] + }, { + "type" : "ExpressionRef", + "localId" : "291", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", + "name" : "January2015", + "annotation" : [ ] + } ] + } + }, { + "localId" : "296", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "name" : "MonthsBetweenUncertainty", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "296", + "s" : [ { + "value" : [ "", "define ", "MonthsBetweenUncertainty", ": " ] + }, { + "r" : "297", + "s" : [ { + "value" : [ "months between " ] + }, { + "r" : "298", + "s" : [ { + "value" : [ "JanOne2015" ] + } ] + }, { + "value" : [ " and " ] + }, { + "r" : "299", + "s" : [ { + "value" : [ "January2015" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "DurationBetween", + "localId" : "297", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "precision" : "Month", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "300", + "name" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "301", + "name" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "ExpressionRef", + "localId" : "298", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", + "name" : "JanOne2015", + "annotation" : [ ] + }, { + "type" : "ExpressionRef", + "localId" : "299", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", + "name" : "January2015", + "annotation" : [ ] + } ] + } + }, { + "localId" : "304", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "name" : "WeeksBetweenUncertainty", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "304", + "s" : [ { + "value" : [ "", "define ", "WeeksBetweenUncertainty", ": " ] + }, { + "r" : "305", + "s" : [ { + "value" : [ "weeks between " ] + }, { + "r" : "306", + "s" : [ { + "value" : [ "JanOne2015" ] + } ] + }, { + "value" : [ " and " ] + }, { + "r" : "307", + "s" : [ { + "value" : [ "January2015" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "DurationBetween", + "localId" : "305", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "precision" : "Week", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "308", + "name" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "309", + "name" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "ExpressionRef", + "localId" : "306", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", + "name" : "JanOne2015", + "annotation" : [ ] + }, { + "type" : "ExpressionRef", + "localId" : "307", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", + "name" : "January2015", + "annotation" : [ ] + } ] + } + }, { + "localId" : "312", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "name" : "DaysBetweenUncertainty", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "312", + "s" : [ { + "value" : [ "", "define ", "DaysBetweenUncertainty", ": " ] + }, { + "r" : "313", + "s" : [ { + "value" : [ "days between " ] + }, { + "r" : "314", + "s" : [ { + "value" : [ "JanOne2015" ] + } ] + }, { + "value" : [ " and " ] + }, { + "r" : "315", + "s" : [ { + "value" : [ "January2015" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "DurationBetween", + "localId" : "313", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "precision" : "Day", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "316", + "name" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "317", + "name" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "ExpressionRef", + "localId" : "314", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", + "name" : "JanOne2015", + "annotation" : [ ] + }, { + "type" : "ExpressionRef", + "localId" : "315", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", + "name" : "January2015", + "annotation" : [ ] + } ] + } + } ] + } + } } /* DateMath @@ -15258,592 +17257,655 @@ define MinusTwentyDays: June15th2013 - 20 days */ module.exports['DateMath'] = { - "library" : { - "localId" : "0", - "annotation" : [ { - "translatorVersion" : "3.27.0", - "translatorOptions" : "EnableDateRangeOptimization,EnableAnnotations,EnableResultTypes", - "signatureLevel" : "All", - "type" : "CqlToElmInfo" - }, { - "type" : "Annotation", - "s" : { - "r" : "285", + "library" : { + "localId" : "0", + "annotation" : [ { + "type" : "CqlToElmInfo", + "translatorVersion" : "4.2.0", + "translatorOptions" : "EnableDateRangeOptimization,EnableAnnotations,EnableResultTypes", + "signatureLevel" : "All" + }, { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "285", + "s" : [ { + "value" : [ "", "library TestSnippet version '1'" ] + } ] + } + } ], + "identifier" : { + "id" : "TestSnippet", + "version" : "1" + }, + "schemaIdentifier" : { + "id" : "urn:hl7-org:elm", + "version" : "r1" + }, + "usings" : { + "def" : [ { + "localId" : "1", + "localIdentifier" : "System", + "uri" : "urn:hl7-org:elm-types:r1", + "annotation" : [ ] + }, { + "localId" : "206", + "localIdentifier" : "Simple", + "uri" : "https://github.com/cqframework/cql-execution/simple", + "version" : "1.0.0", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "206", "s" : [ { - "value" : [ "","library TestSnippet version '1'" ] - } ] - } - } ], - "identifier" : { - "id" : "TestSnippet", - "version" : "1" - }, - "schemaIdentifier" : { - "id" : "urn:hl7-org:elm", - "version" : "r1" - }, - "usings" : { - "def" : [ { - "localId" : "1", - "localIdentifier" : "System", - "uri" : "urn:hl7-org:elm-types:r1" - }, { - "localId" : "206", - "localIdentifier" : "Simple", - "uri" : "https://github.com/cqframework/cql-execution/simple", - "version" : "1.0.0", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "206", - "s" : [ { - "value" : [ "","using " ] - }, { - "s" : [ { - "value" : [ "Simple" ] - } ] - }, { - "value" : [ " version '1.0.0'" ] - } ] - } - } ] - } ] - }, - "contexts" : { - "def" : [ { - "localId" : "211", - "name" : "Patient" - } ] - }, - "statements" : { - "def" : [ { - "localId" : "209", - "name" : "Patient", - "context" : "Patient", - "expression" : { - "localId" : "210", - "type" : "SingletonFrom", - "signature" : [ ], - "operand" : { - "localId" : "208", - "dataType" : "{https://github.com/cqframework/cql-execution/simple}Patient", - "type" : "Retrieve", - "include" : [ ], - "codeFilter" : [ ], - "dateFilter" : [ ], - "otherFilter" : [ ] - } - } - }, { - "localId" : "214", + "value" : [ "", "using " ] + }, { + "s" : [ { + "value" : [ "Simple" ] + } ] + }, { + "value" : [ " version '1.0.0'" ] + } ] + } + } ] + } ] + }, + "contexts" : { + "def" : [ { + "localId" : "211", + "name" : "Patient", + "annotation" : [ ] + } ] + }, + "statements" : { + "def" : [ { + "localId" : "209", + "name" : "Patient", + "context" : "Patient", + "annotation" : [ ], + "expression" : { + "type" : "SingletonFrom", + "localId" : "210", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Retrieve", + "localId" : "208", + "dataType" : "{https://github.com/cqframework/cql-execution/simple}Patient", + "annotation" : [ ], + "include" : [ ], + "codeFilter" : [ ], + "dateFilter" : [ ], + "otherFilter" : [ ] + } + } + }, { + "localId" : "214", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", + "name" : "June15th2013", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "214", + "s" : [ { + "value" : [ "", "define ", "June15th2013", ": " ] + }, { + "r" : "223", + "s" : [ { + "r" : "215", + "value" : [ "Date", "(", "2013", ", ", "6", ", ", "15", ")" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Date", + "localId" : "223", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "224", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "225", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "226", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "215", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2013", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "216", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "6", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "217", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "15", + "annotation" : [ ] + } + } + }, { + "localId" : "229", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", + "name" : "PlusThreeYears", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "229", + "s" : [ { + "value" : [ "", "define ", "PlusThreeYears", ": " ] + }, { + "r" : "230", + "s" : [ { + "r" : "231", + "s" : [ { + "value" : [ "June15th2013" ] + } ] + }, { + "value" : [ " + " ] + }, { + "r" : "232", + "s" : [ { + "value" : [ "3 ", "years" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Add", + "localId" : "230", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "233", + "name" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "234", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "ExpressionRef", + "localId" : "231", "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", "name" : "June15th2013", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "214", - "s" : [ { - "value" : [ "","define ","June15th2013",": " ] - }, { - "r" : "223", - "s" : [ { - "r" : "215", - "value" : [ "Date","(","2013",", ","6",", ","15",")" ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "223", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "Date", - "signature" : [ { - "localId" : "224", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "225", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "226", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "215", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2013", - "type" : "Literal" - }, - "month" : { - "localId" : "216", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "6", - "type" : "Literal" - }, - "day" : { - "localId" : "217", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal" - } - } - }, { - "localId" : "229", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", - "name" : "PlusThreeYears", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "229", - "s" : [ { - "value" : [ "","define ","PlusThreeYears",": " ] - }, { - "r" : "230", - "s" : [ { - "r" : "231", - "s" : [ { - "value" : [ "June15th2013" ] - } ] - }, { - "value" : [ " + " ] - }, { - "r" : "232", - "s" : [ { - "value" : [ "3 ","years" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "230", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "Add", - "signature" : [ { - "localId" : "233", - "name" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "234", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "231", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", - "name" : "June15th2013", - "type" : "ExpressionRef" - }, { - "localId" : "232", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "value" : 3, - "unit" : "years", - "type" : "Quantity" - } ] - } - }, { - "localId" : "237", + "annotation" : [ ] + }, { + "type" : "Quantity", + "localId" : "232", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "value" : 3, + "unit" : "years", + "annotation" : [ ] + } ] + } + }, { + "localId" : "237", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", + "name" : "MinusThreeYears", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "237", + "s" : [ { + "value" : [ "", "define ", "MinusThreeYears", ": " ] + }, { + "r" : "238", + "s" : [ { + "r" : "239", + "s" : [ { + "value" : [ "June15th2013" ] + } ] + }, { + "value" : [ " - " ] + }, { + "r" : "240", + "s" : [ { + "value" : [ "3 ", "years" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Subtract", + "localId" : "238", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "241", + "name" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "242", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "ExpressionRef", + "localId" : "239", "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", - "name" : "MinusThreeYears", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "237", - "s" : [ { - "value" : [ "","define ","MinusThreeYears",": " ] - }, { - "r" : "238", - "s" : [ { - "r" : "239", - "s" : [ { - "value" : [ "June15th2013" ] - } ] - }, { - "value" : [ " - " ] - }, { - "r" : "240", - "s" : [ { - "value" : [ "3 ","years" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "238", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "Subtract", - "signature" : [ { - "localId" : "241", - "name" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "242", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "239", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", - "name" : "June15th2013", - "type" : "ExpressionRef" - }, { - "localId" : "240", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "value" : 3, - "unit" : "years", - "type" : "Quantity" - } ] - } - }, { - "localId" : "245", + "name" : "June15th2013", + "annotation" : [ ] + }, { + "type" : "Quantity", + "localId" : "240", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "value" : 3, + "unit" : "years", + "annotation" : [ ] + } ] + } + }, { + "localId" : "245", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", + "name" : "PlusEightMonths", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "245", + "s" : [ { + "value" : [ "", "define ", "PlusEightMonths", ": " ] + }, { + "r" : "246", + "s" : [ { + "r" : "247", + "s" : [ { + "value" : [ "June15th2013" ] + } ] + }, { + "value" : [ " + " ] + }, { + "r" : "248", + "s" : [ { + "value" : [ "8 ", "months" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Add", + "localId" : "246", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "249", + "name" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "250", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "ExpressionRef", + "localId" : "247", "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", - "name" : "PlusEightMonths", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "245", - "s" : [ { - "value" : [ "","define ","PlusEightMonths",": " ] - }, { - "r" : "246", - "s" : [ { - "r" : "247", - "s" : [ { - "value" : [ "June15th2013" ] - } ] - }, { - "value" : [ " + " ] - }, { - "r" : "248", - "s" : [ { - "value" : [ "8 ","months" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "246", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "Add", - "signature" : [ { - "localId" : "249", - "name" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "250", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "247", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", - "name" : "June15th2013", - "type" : "ExpressionRef" - }, { - "localId" : "248", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "value" : 8, - "unit" : "months", - "type" : "Quantity" - } ] - } - }, { - "localId" : "253", + "name" : "June15th2013", + "annotation" : [ ] + }, { + "type" : "Quantity", + "localId" : "248", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "value" : 8, + "unit" : "months", + "annotation" : [ ] + } ] + } + }, { + "localId" : "253", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", + "name" : "MinusEightMonths", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "253", + "s" : [ { + "value" : [ "", "define ", "MinusEightMonths", ": " ] + }, { + "r" : "254", + "s" : [ { + "r" : "255", + "s" : [ { + "value" : [ "June15th2013" ] + } ] + }, { + "value" : [ " - " ] + }, { + "r" : "256", + "s" : [ { + "value" : [ "8 ", "months" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Subtract", + "localId" : "254", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "257", + "name" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "258", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "ExpressionRef", + "localId" : "255", "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", - "name" : "MinusEightMonths", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "253", - "s" : [ { - "value" : [ "","define ","MinusEightMonths",": " ] - }, { - "r" : "254", - "s" : [ { - "r" : "255", - "s" : [ { - "value" : [ "June15th2013" ] - } ] - }, { - "value" : [ " - " ] - }, { - "r" : "256", - "s" : [ { - "value" : [ "8 ","months" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "254", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "Subtract", - "signature" : [ { - "localId" : "257", - "name" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "258", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "255", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", - "name" : "June15th2013", - "type" : "ExpressionRef" - }, { - "localId" : "256", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "value" : 8, - "unit" : "months", - "type" : "Quantity" - } ] - } - }, { - "localId" : "261", + "name" : "June15th2013", + "annotation" : [ ] + }, { + "type" : "Quantity", + "localId" : "256", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "value" : 8, + "unit" : "months", + "annotation" : [ ] + } ] + } + }, { + "localId" : "261", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", + "name" : "PlusThreeWeeks", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "261", + "s" : [ { + "value" : [ "", "define ", "PlusThreeWeeks", ": " ] + }, { + "r" : "262", + "s" : [ { + "r" : "263", + "s" : [ { + "value" : [ "June15th2013" ] + } ] + }, { + "value" : [ " + " ] + }, { + "r" : "264", + "s" : [ { + "value" : [ "3 ", "weeks" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Add", + "localId" : "262", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "265", + "name" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "266", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "ExpressionRef", + "localId" : "263", "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", - "name" : "PlusThreeWeeks", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "261", - "s" : [ { - "value" : [ "","define ","PlusThreeWeeks",": " ] - }, { - "r" : "262", - "s" : [ { - "r" : "263", - "s" : [ { - "value" : [ "June15th2013" ] - } ] - }, { - "value" : [ " + " ] - }, { - "r" : "264", - "s" : [ { - "value" : [ "3 ","weeks" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "262", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "Add", - "signature" : [ { - "localId" : "265", - "name" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "266", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "263", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", - "name" : "June15th2013", - "type" : "ExpressionRef" - }, { - "localId" : "264", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "value" : 3, - "unit" : "weeks", - "type" : "Quantity" - } ] - } - }, { - "localId" : "269", + "name" : "June15th2013", + "annotation" : [ ] + }, { + "type" : "Quantity", + "localId" : "264", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "value" : 3, + "unit" : "weeks", + "annotation" : [ ] + } ] + } + }, { + "localId" : "269", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", + "name" : "MinusThreeWeeks", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "269", + "s" : [ { + "value" : [ "", "define ", "MinusThreeWeeks", ": " ] + }, { + "r" : "270", + "s" : [ { + "r" : "271", + "s" : [ { + "value" : [ "June15th2013" ] + } ] + }, { + "value" : [ " - " ] + }, { + "r" : "272", + "s" : [ { + "value" : [ "3 ", "weeks" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Subtract", + "localId" : "270", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "273", + "name" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "274", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "ExpressionRef", + "localId" : "271", "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", - "name" : "MinusThreeWeeks", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "269", - "s" : [ { - "value" : [ "","define ","MinusThreeWeeks",": " ] - }, { - "r" : "270", - "s" : [ { - "r" : "271", - "s" : [ { - "value" : [ "June15th2013" ] - } ] - }, { - "value" : [ " - " ] - }, { - "r" : "272", - "s" : [ { - "value" : [ "3 ","weeks" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "270", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "Subtract", - "signature" : [ { - "localId" : "273", - "name" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "274", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "271", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", - "name" : "June15th2013", - "type" : "ExpressionRef" - }, { - "localId" : "272", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "value" : 3, - "unit" : "weeks", - "type" : "Quantity" - } ] - } - }, { - "localId" : "277", + "name" : "June15th2013", + "annotation" : [ ] + }, { + "type" : "Quantity", + "localId" : "272", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "value" : 3, + "unit" : "weeks", + "annotation" : [ ] + } ] + } + }, { + "localId" : "277", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", + "name" : "PlusTwentyDays", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "277", + "s" : [ { + "value" : [ "", "define ", "PlusTwentyDays", ": " ] + }, { + "r" : "278", + "s" : [ { + "r" : "279", + "s" : [ { + "value" : [ "June15th2013" ] + } ] + }, { + "value" : [ " + " ] + }, { + "r" : "280", + "s" : [ { + "value" : [ "20 ", "days" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Add", + "localId" : "278", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "281", + "name" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "282", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "ExpressionRef", + "localId" : "279", "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", - "name" : "PlusTwentyDays", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "277", - "s" : [ { - "value" : [ "","define ","PlusTwentyDays",": " ] - }, { - "r" : "278", - "s" : [ { - "r" : "279", - "s" : [ { - "value" : [ "June15th2013" ] - } ] - }, { - "value" : [ " + " ] - }, { - "r" : "280", - "s" : [ { - "value" : [ "20 ","days" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "278", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "Add", - "signature" : [ { - "localId" : "281", - "name" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "282", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "279", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", - "name" : "June15th2013", - "type" : "ExpressionRef" - }, { - "localId" : "280", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "value" : 20, - "unit" : "days", - "type" : "Quantity" - } ] - } - }, { - "localId" : "285", + "name" : "June15th2013", + "annotation" : [ ] + }, { + "type" : "Quantity", + "localId" : "280", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "value" : 20, + "unit" : "days", + "annotation" : [ ] + } ] + } + }, { + "localId" : "285", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", + "name" : "MinusTwentyDays", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "285", + "s" : [ { + "value" : [ "", "define ", "MinusTwentyDays", ": " ] + }, { + "r" : "286", + "s" : [ { + "r" : "287", + "s" : [ { + "value" : [ "June15th2013" ] + } ] + }, { + "value" : [ " - " ] + }, { + "r" : "288", + "s" : [ { + "value" : [ "20 ", "days" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Subtract", + "localId" : "286", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "289", + "name" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "290", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "ExpressionRef", + "localId" : "287", "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", - "name" : "MinusTwentyDays", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "285", - "s" : [ { - "value" : [ "","define ","MinusTwentyDays",": " ] - }, { - "r" : "286", - "s" : [ { - "r" : "287", - "s" : [ { - "value" : [ "June15th2013" ] - } ] - }, { - "value" : [ " - " ] - }, { - "r" : "288", - "s" : [ { - "value" : [ "20 ","days" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "286", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "Subtract", - "signature" : [ { - "localId" : "289", - "name" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "290", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "287", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", - "name" : "June15th2013", - "type" : "ExpressionRef" - }, { - "localId" : "288", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "value" : 20, - "unit" : "days", - "type" : "Quantity" - } ] - } - } ] - } - } + "name" : "June15th2013", + "annotation" : [ ] + }, { + "type" : "Quantity", + "localId" : "288", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "value" : 20, + "unit" : "days", + "annotation" : [ ] + } ] + } + } ] + } + } } diff --git a/test/elm/datetime/data.js b/test/elm/datetime/data.js index 09f60e32..8b415e68 100644 --- a/test/elm/datetime/data.js +++ b/test/elm/datetime/data.js @@ -23,715 +23,812 @@ define TimezoneOffset: DateTime(2012, 2, 15, 12, 10, 59, 456, -8.0) */ module.exports['DateTime'] = { - "library" : { - "localId" : "0", - "annotation" : [ { - "translatorVersion" : "3.27.0", - "translatorOptions" : "EnableDateRangeOptimization,EnableAnnotations,EnableResultTypes", - "signatureLevel" : "All", - "type" : "CqlToElmInfo" - }, { - "type" : "Annotation", - "s" : { + "library" : { + "localId" : "0", + "annotation" : [ { + "type" : "CqlToElmInfo", + "translatorVersion" : "4.2.0", + "translatorOptions" : "EnableDateRangeOptimization,EnableAnnotations,EnableResultTypes", + "signatureLevel" : "All" + }, { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "340", + "s" : [ { + "value" : [ "", "library TestSnippet version '1'" ] + } ] + } + } ], + "identifier" : { + "id" : "TestSnippet", + "version" : "1" + }, + "schemaIdentifier" : { + "id" : "urn:hl7-org:elm", + "version" : "r1" + }, + "usings" : { + "def" : [ { + "localId" : "1", + "localIdentifier" : "System", + "uri" : "urn:hl7-org:elm-types:r1", + "annotation" : [ ] + }, { + "localId" : "206", + "localIdentifier" : "Simple", + "uri" : "https://github.com/cqframework/cql-execution/simple", + "version" : "1.0.0", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "206", + "s" : [ { + "value" : [ "", "using " ] + }, { + "s" : [ { + "value" : [ "Simple" ] + } ] + }, { + "value" : [ " version '1.0.0'" ] + } ] + } + } ] + } ] + }, + "contexts" : { + "def" : [ { + "localId" : "211", + "name" : "Patient", + "annotation" : [ ] + } ] + }, + "statements" : { + "def" : [ { + "localId" : "209", + "name" : "Patient", + "context" : "Patient", + "annotation" : [ ], + "expression" : { + "type" : "SingletonFrom", + "localId" : "210", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Retrieve", + "localId" : "208", + "dataType" : "{https://github.com/cqframework/cql-execution/simple}Patient", + "annotation" : [ ], + "include" : [ ], + "codeFilter" : [ ], + "dateFilter" : [ ], + "otherFilter" : [ ] + } + } + }, { + "localId" : "214", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "name" : "Year", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "214", + "s" : [ { + "value" : [ "", "define ", "Year", ": " ] + }, { + "r" : "219", + "s" : [ { + "r" : "215", + "value" : [ "DateTime", "(", "2012", ")" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "DateTime", + "localId" : "219", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "220", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "215", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + } + } + }, { + "localId" : "223", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "name" : "Month", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "223", + "s" : [ { + "value" : [ "", "define ", "Month", ": " ] + }, { + "r" : "230", + "s" : [ { + "r" : "224", + "value" : [ "DateTime", "(", "2012", ", ", "2", ")" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "DateTime", + "localId" : "230", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "231", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "232", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "224", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "225", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "annotation" : [ ] + } + } + }, { + "localId" : "235", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "name" : "Day", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "235", + "s" : [ { + "value" : [ "", "define ", "Day", ": " ] + }, { + "r" : "244", + "s" : [ { + "r" : "236", + "value" : [ "DateTime", "(", "2012", ", ", "2", ", ", "15", ")" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "DateTime", + "localId" : "244", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "245", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "246", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "247", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "236", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "237", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "238", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "15", + "annotation" : [ ] + } + } + }, { + "localId" : "250", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "name" : "Hour", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "250", + "s" : [ { + "value" : [ "", "define ", "Hour", ": " ] + }, { + "r" : "261", + "s" : [ { + "r" : "251", + "value" : [ "DateTime", "(", "2012", ", ", "2", ", ", "15", ", ", "12", ")" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "DateTime", + "localId" : "261", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "262", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "263", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "264", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "265", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "251", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "252", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "253", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "15", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "254", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "12", + "annotation" : [ ] + } + } + }, { + "localId" : "268", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "name" : "Minute", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "268", + "s" : [ { + "value" : [ "", "define ", "Minute", ": " ] + }, { + "r" : "281", + "s" : [ { + "r" : "269", + "value" : [ "DateTime", "(", "2012", ", ", "2", ", ", "15", ", ", "12", ", ", "10", ")" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "DateTime", + "localId" : "281", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "282", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "283", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "284", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "285", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "286", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "269", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "270", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "271", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "15", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "272", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "12", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "273", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "10", + "annotation" : [ ] + } + } + }, { + "localId" : "289", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "name" : "Second", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "289", + "s" : [ { + "value" : [ "", "define ", "Second", ": " ] + }, { + "r" : "304", + "s" : [ { + "r" : "290", + "value" : [ "DateTime", "(", "2012", ", ", "2", ", ", "15", ", ", "12", ", ", "10", ", ", "59", ")" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "DateTime", + "localId" : "304", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "305", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "306", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "307", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "308", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "309", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "310", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "290", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "291", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "292", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "15", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "293", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "12", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "294", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "10", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "295", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "59", + "annotation" : [ ] + } + } + }, { + "localId" : "313", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "name" : "Millisecond", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "313", + "s" : [ { + "value" : [ "", "define ", "Millisecond", ": " ] + }, { + "r" : "330", + "s" : [ { + "r" : "314", + "value" : [ "DateTime", "(", "2012", ", ", "2", ", ", "15", ", ", "12", ", ", "10", ", ", "59", ", ", "456", ")" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "DateTime", + "localId" : "330", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "331", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "332", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "333", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "334", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "335", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "336", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "337", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "314", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "315", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "316", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "15", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "317", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "12", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "318", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "10", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "319", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "59", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "320", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "456", + "annotation" : [ ] + } + } + }, { + "localId" : "340", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "name" : "TimezoneOffset", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { "r" : "340", "s" : [ { - "value" : [ "","library TestSnippet version '1'" ] - } ] - } - } ], - "identifier" : { - "id" : "TestSnippet", - "version" : "1" - }, - "schemaIdentifier" : { - "id" : "urn:hl7-org:elm", - "version" : "r1" - }, - "usings" : { - "def" : [ { - "localId" : "1", - "localIdentifier" : "System", - "uri" : "urn:hl7-org:elm-types:r1" - }, { - "localId" : "206", - "localIdentifier" : "Simple", - "uri" : "https://github.com/cqframework/cql-execution/simple", - "version" : "1.0.0", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "206", - "s" : [ { - "value" : [ "","using " ] - }, { - "s" : [ { - "value" : [ "Simple" ] - } ] - }, { - "value" : [ " version '1.0.0'" ] - } ] - } - } ] - } ] - }, - "contexts" : { - "def" : [ { - "localId" : "211", - "name" : "Patient" - } ] - }, - "statements" : { - "def" : [ { - "localId" : "209", - "name" : "Patient", - "context" : "Patient", - "expression" : { - "localId" : "210", - "type" : "SingletonFrom", - "signature" : [ ], - "operand" : { - "localId" : "208", - "dataType" : "{https://github.com/cqframework/cql-execution/simple}Patient", - "type" : "Retrieve", - "include" : [ ], - "codeFilter" : [ ], - "dateFilter" : [ ], - "otherFilter" : [ ] - } - } - }, { - "localId" : "214", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "name" : "Year", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "214", - "s" : [ { - "value" : [ "","define ","Year",": " ] - }, { - "r" : "219", - "s" : [ { - "r" : "215", - "value" : [ "DateTime","(","2012",")" ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "219", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "220", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "215", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - } - } - }, { - "localId" : "223", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "name" : "Month", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "223", - "s" : [ { - "value" : [ "","define ","Month",": " ] - }, { - "r" : "230", - "s" : [ { - "r" : "224", - "value" : [ "DateTime","(","2012",", ","2",")" ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "230", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "231", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "232", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "224", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "225", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal" - } - } - }, { - "localId" : "235", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "name" : "Day", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "235", - "s" : [ { - "value" : [ "","define ","Day",": " ] - }, { - "r" : "244", - "s" : [ { - "r" : "236", - "value" : [ "DateTime","(","2012",", ","2",", ","15",")" ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "244", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "245", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "246", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "247", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "236", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "237", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal" - }, - "day" : { - "localId" : "238", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal" - } - } - }, { - "localId" : "250", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "name" : "Hour", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "250", - "s" : [ { - "value" : [ "","define ","Hour",": " ] - }, { - "r" : "261", - "s" : [ { - "r" : "251", - "value" : [ "DateTime","(","2012",", ","2",", ","15",", ","12",")" ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "261", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "262", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "263", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "264", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "265", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "251", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "252", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal" - }, - "day" : { - "localId" : "253", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal" - }, - "hour" : { - "localId" : "254", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "12", - "type" : "Literal" - } - } - }, { - "localId" : "268", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "name" : "Minute", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "268", - "s" : [ { - "value" : [ "","define ","Minute",": " ] - }, { - "r" : "281", - "s" : [ { - "r" : "269", - "value" : [ "DateTime","(","2012",", ","2",", ","15",", ","12",", ","10",")" ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "281", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "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" - }, { - "localId" : "284", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "285", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "286", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "269", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "270", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal" - }, - "day" : { - "localId" : "271", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal" - }, - "hour" : { - "localId" : "272", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "12", - "type" : "Literal" - }, - "minute" : { - "localId" : "273", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal" - } - } - }, { - "localId" : "289", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "name" : "Second", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "289", - "s" : [ { - "value" : [ "","define ","Second",": " ] - }, { - "r" : "304", - "s" : [ { - "r" : "290", - "value" : [ "DateTime","(","2012",", ","2",", ","15",", ","12",", ","10",", ","59",")" ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "304", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "305", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "306", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "307", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "308", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "309", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "310", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "290", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "291", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal" - }, - "day" : { - "localId" : "292", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal" - }, - "hour" : { - "localId" : "293", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "12", - "type" : "Literal" - }, - "minute" : { - "localId" : "294", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal" - }, - "second" : { - "localId" : "295", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal" - } - } - }, { - "localId" : "313", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "name" : "Millisecond", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "313", - "s" : [ { - "value" : [ "","define ","Millisecond",": " ] - }, { - "r" : "330", - "s" : [ { - "r" : "314", - "value" : [ "DateTime","(","2012",", ","2",", ","15",", ","12",", ","10",", ","59",", ","456",")" ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "330", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "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" - }, { - "localId" : "333", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "334", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "335", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "336", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "337", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "314", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "315", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal" - }, - "day" : { - "localId" : "316", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal" - }, - "hour" : { - "localId" : "317", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "12", - "type" : "Literal" - }, - "minute" : { - "localId" : "318", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal" - }, - "second" : { - "localId" : "319", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "320", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "456", - "type" : "Literal" - } + "value" : [ "", "define ", "TimezoneOffset", ": " ] + }, { + "r" : "361", + "s" : [ { + "r" : "341", + "value" : [ "DateTime", "(", "2012", ", ", "2", ", ", "15", ", ", "12", ", ", "10", ", ", "59", ", ", "456", ", " ] + }, { + "r" : "348", + "s" : [ { + "r" : "349", + "value" : [ "-", "8.0" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "DateTime", + "localId" : "361", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "362", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "363", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "364", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "365", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "366", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "367", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "368", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "369", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "341", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "342", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "343", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "15", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "344", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "12", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "345", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "10", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "346", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "59", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "347", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "456", + "annotation" : [ ] + }, + "timezoneOffset" : { + "type" : "Negate", + "localId" : "348", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "350", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } ], + "operand" : { + "type" : "Literal", + "localId" : "349", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "8.0", + "annotation" : [ ] } - }, { - "localId" : "340", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "name" : "TimezoneOffset", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "340", - "s" : [ { - "value" : [ "","define ","TimezoneOffset",": " ] - }, { - "r" : "361", - "s" : [ { - "r" : "341", - "value" : [ "DateTime","(","2012",", ","2",", ","15",", ","12",", ","10",", ","59",", ","456",", " ] - }, { - "r" : "348", - "s" : [ { - "r" : "349", - "value" : [ "-","8.0" ] - } ] - }, { - "value" : [ ")" ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "361", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "362", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "363", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "364", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "365", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "366", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "367", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "368", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "369", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "341", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "342", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal" - }, - "day" : { - "localId" : "343", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal" - }, - "hour" : { - "localId" : "344", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "12", - "type" : "Literal" - }, - "minute" : { - "localId" : "345", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal" - }, - "second" : { - "localId" : "346", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "347", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "456", - "type" : "Literal" - }, - "timezoneOffset" : { - "localId" : "348", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "Negate", - "signature" : [ { - "localId" : "350", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "349", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "8.0", - "type" : "Literal" - } - } - } - } ] - } - } + } + } + } ] + } + } } /* Time @@ -745,303 +842,338 @@ define Millisecond: Time(12, 10, 59, 456) */ module.exports['Time'] = { - "library" : { - "localId" : "0", - "annotation" : [ { - "translatorVersion" : "3.27.0", - "translatorOptions" : "EnableDateRangeOptimization,EnableAnnotations,EnableResultTypes", - "signatureLevel" : "All", - "type" : "CqlToElmInfo" - }, { - "type" : "Annotation", - "s" : { - "r" : "250", + "library" : { + "localId" : "0", + "annotation" : [ { + "type" : "CqlToElmInfo", + "translatorVersion" : "4.2.0", + "translatorOptions" : "EnableDateRangeOptimization,EnableAnnotations,EnableResultTypes", + "signatureLevel" : "All" + }, { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "250", + "s" : [ { + "value" : [ "", "library TestSnippet version '1'" ] + } ] + } + } ], + "identifier" : { + "id" : "TestSnippet", + "version" : "1" + }, + "schemaIdentifier" : { + "id" : "urn:hl7-org:elm", + "version" : "r1" + }, + "usings" : { + "def" : [ { + "localId" : "1", + "localIdentifier" : "System", + "uri" : "urn:hl7-org:elm-types:r1", + "annotation" : [ ] + }, { + "localId" : "206", + "localIdentifier" : "Simple", + "uri" : "https://github.com/cqframework/cql-execution/simple", + "version" : "1.0.0", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "206", "s" : [ { - "value" : [ "","library TestSnippet version '1'" ] - } ] - } - } ], - "identifier" : { - "id" : "TestSnippet", - "version" : "1" - }, - "schemaIdentifier" : { - "id" : "urn:hl7-org:elm", - "version" : "r1" - }, - "usings" : { - "def" : [ { - "localId" : "1", - "localIdentifier" : "System", - "uri" : "urn:hl7-org:elm-types:r1" - }, { - "localId" : "206", - "localIdentifier" : "Simple", - "uri" : "https://github.com/cqframework/cql-execution/simple", - "version" : "1.0.0", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "206", - "s" : [ { - "value" : [ "","using " ] - }, { - "s" : [ { - "value" : [ "Simple" ] - } ] - }, { - "value" : [ " version '1.0.0'" ] - } ] - } - } ] - } ] - }, - "contexts" : { - "def" : [ { - "localId" : "211", - "name" : "Patient" - } ] - }, - "statements" : { - "def" : [ { - "localId" : "209", - "name" : "Patient", - "context" : "Patient", - "expression" : { - "localId" : "210", - "type" : "SingletonFrom", - "signature" : [ ], - "operand" : { - "localId" : "208", - "dataType" : "{https://github.com/cqframework/cql-execution/simple}Patient", - "type" : "Retrieve", - "include" : [ ], - "codeFilter" : [ ], - "dateFilter" : [ ], - "otherFilter" : [ ] - } - } - }, { - "localId" : "214", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Time", - "name" : "Hour", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "214", - "s" : [ { - "value" : [ "","define ","Hour",": " ] - }, { - "r" : "219", - "s" : [ { - "r" : "215", - "value" : [ "Time","(","12",")" ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "219", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Time", - "type" : "Time", - "signature" : [ { - "localId" : "220", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "hour" : { - "localId" : "215", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "12", - "type" : "Literal" - } - } - }, { - "localId" : "223", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Time", - "name" : "Minute", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "223", - "s" : [ { - "value" : [ "","define ","Minute",": " ] - }, { - "r" : "230", - "s" : [ { - "r" : "224", - "value" : [ "Time","(","12",", ","10",")" ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "230", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Time", - "type" : "Time", - "signature" : [ { - "localId" : "231", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "232", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "hour" : { - "localId" : "224", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "12", - "type" : "Literal" - }, - "minute" : { - "localId" : "225", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal" - } - } - }, { - "localId" : "235", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Time", - "name" : "Second", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "235", - "s" : [ { - "value" : [ "","define ","Second",": " ] - }, { - "r" : "244", - "s" : [ { - "r" : "236", - "value" : [ "Time","(","12",", ","10",", ","59",")" ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "244", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Time", - "type" : "Time", - "signature" : [ { - "localId" : "245", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "246", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "247", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "hour" : { - "localId" : "236", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "12", - "type" : "Literal" - }, - "minute" : { - "localId" : "237", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal" - }, - "second" : { - "localId" : "238", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal" - } - } - }, { - "localId" : "250", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Time", - "name" : "Millisecond", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "250", - "s" : [ { - "value" : [ "","define ","Millisecond",": " ] - }, { - "r" : "261", - "s" : [ { - "r" : "251", - "value" : [ "Time","(","12",", ","10",", ","59",", ","456",")" ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "261", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Time", - "type" : "Time", - "signature" : [ { - "localId" : "262", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "263", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "264", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "265", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "hour" : { - "localId" : "251", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "12", - "type" : "Literal" - }, - "minute" : { - "localId" : "252", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal" - }, - "second" : { - "localId" : "253", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "254", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "456", - "type" : "Literal" - } - } - } ] - } - } + "value" : [ "", "using " ] + }, { + "s" : [ { + "value" : [ "Simple" ] + } ] + }, { + "value" : [ " version '1.0.0'" ] + } ] + } + } ] + } ] + }, + "contexts" : { + "def" : [ { + "localId" : "211", + "name" : "Patient", + "annotation" : [ ] + } ] + }, + "statements" : { + "def" : [ { + "localId" : "209", + "name" : "Patient", + "context" : "Patient", + "annotation" : [ ], + "expression" : { + "type" : "SingletonFrom", + "localId" : "210", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Retrieve", + "localId" : "208", + "dataType" : "{https://github.com/cqframework/cql-execution/simple}Patient", + "annotation" : [ ], + "include" : [ ], + "codeFilter" : [ ], + "dateFilter" : [ ], + "otherFilter" : [ ] + } + } + }, { + "localId" : "214", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Time", + "name" : "Hour", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "214", + "s" : [ { + "value" : [ "", "define ", "Hour", ": " ] + }, { + "r" : "219", + "s" : [ { + "r" : "215", + "value" : [ "Time", "(", "12", ")" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Time", + "localId" : "219", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Time", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "220", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "hour" : { + "type" : "Literal", + "localId" : "215", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "12", + "annotation" : [ ] + } + } + }, { + "localId" : "223", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Time", + "name" : "Minute", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "223", + "s" : [ { + "value" : [ "", "define ", "Minute", ": " ] + }, { + "r" : "230", + "s" : [ { + "r" : "224", + "value" : [ "Time", "(", "12", ", ", "10", ")" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Time", + "localId" : "230", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Time", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "231", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "232", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "hour" : { + "type" : "Literal", + "localId" : "224", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "12", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "225", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "10", + "annotation" : [ ] + } + } + }, { + "localId" : "235", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Time", + "name" : "Second", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "235", + "s" : [ { + "value" : [ "", "define ", "Second", ": " ] + }, { + "r" : "244", + "s" : [ { + "r" : "236", + "value" : [ "Time", "(", "12", ", ", "10", ", ", "59", ")" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Time", + "localId" : "244", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Time", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "245", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "246", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "247", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "hour" : { + "type" : "Literal", + "localId" : "236", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "12", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "237", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "10", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "238", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "59", + "annotation" : [ ] + } + } + }, { + "localId" : "250", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Time", + "name" : "Millisecond", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "250", + "s" : [ { + "value" : [ "", "define ", "Millisecond", ": " ] + }, { + "r" : "261", + "s" : [ { + "r" : "251", + "value" : [ "Time", "(", "12", ", ", "10", ", ", "59", ", ", "456", ")" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Time", + "localId" : "261", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Time", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "262", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "263", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "264", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "265", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "hour" : { + "type" : "Literal", + "localId" : "251", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "12", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "252", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "10", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "253", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "59", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "254", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "456", + "annotation" : [ ] + } + } + } ] + } + } } /* Today @@ -1052,111 +1184,120 @@ define TodayVar: Today() */ module.exports['Today'] = { - "library" : { - "localId" : "0", - "annotation" : [ { - "translatorVersion" : "3.27.0", - "translatorOptions" : "EnableDateRangeOptimization,EnableAnnotations,EnableResultTypes", - "signatureLevel" : "All", - "type" : "CqlToElmInfo" - }, { - "type" : "Annotation", - "s" : { + "library" : { + "localId" : "0", + "annotation" : [ { + "type" : "CqlToElmInfo", + "translatorVersion" : "4.2.0", + "translatorOptions" : "EnableDateRangeOptimization,EnableAnnotations,EnableResultTypes", + "signatureLevel" : "All" + }, { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "214", + "s" : [ { + "value" : [ "", "library TestSnippet version '1'" ] + } ] + } + } ], + "identifier" : { + "id" : "TestSnippet", + "version" : "1" + }, + "schemaIdentifier" : { + "id" : "urn:hl7-org:elm", + "version" : "r1" + }, + "usings" : { + "def" : [ { + "localId" : "1", + "localIdentifier" : "System", + "uri" : "urn:hl7-org:elm-types:r1", + "annotation" : [ ] + }, { + "localId" : "206", + "localIdentifier" : "Simple", + "uri" : "https://github.com/cqframework/cql-execution/simple", + "version" : "1.0.0", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "206", + "s" : [ { + "value" : [ "", "using " ] + }, { + "s" : [ { + "value" : [ "Simple" ] + } ] + }, { + "value" : [ " version '1.0.0'" ] + } ] + } + } ] + } ] + }, + "contexts" : { + "def" : [ { + "localId" : "211", + "name" : "Patient", + "annotation" : [ ] + } ] + }, + "statements" : { + "def" : [ { + "localId" : "209", + "name" : "Patient", + "context" : "Patient", + "annotation" : [ ], + "expression" : { + "type" : "SingletonFrom", + "localId" : "210", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Retrieve", + "localId" : "208", + "dataType" : "{https://github.com/cqframework/cql-execution/simple}Patient", + "annotation" : [ ], + "include" : [ ], + "codeFilter" : [ ], + "dateFilter" : [ ], + "otherFilter" : [ ] + } + } + }, { + "localId" : "214", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", + "name" : "TodayVar", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { "r" : "214", "s" : [ { - "value" : [ "","library TestSnippet version '1'" ] - } ] - } - } ], - "identifier" : { - "id" : "TestSnippet", - "version" : "1" - }, - "schemaIdentifier" : { - "id" : "urn:hl7-org:elm", - "version" : "r1" - }, - "usings" : { - "def" : [ { - "localId" : "1", - "localIdentifier" : "System", - "uri" : "urn:hl7-org:elm-types:r1" - }, { - "localId" : "206", - "localIdentifier" : "Simple", - "uri" : "https://github.com/cqframework/cql-execution/simple", - "version" : "1.0.0", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "206", - "s" : [ { - "value" : [ "","using " ] - }, { - "s" : [ { - "value" : [ "Simple" ] - } ] - }, { - "value" : [ " version '1.0.0'" ] - } ] - } - } ] - } ] - }, - "contexts" : { - "def" : [ { - "localId" : "211", - "name" : "Patient" - } ] - }, - "statements" : { - "def" : [ { - "localId" : "209", - "name" : "Patient", - "context" : "Patient", - "expression" : { - "localId" : "210", - "type" : "SingletonFrom", - "signature" : [ ], - "operand" : { - "localId" : "208", - "dataType" : "{https://github.com/cqframework/cql-execution/simple}Patient", - "type" : "Retrieve", - "include" : [ ], - "codeFilter" : [ ], - "dateFilter" : [ ], - "otherFilter" : [ ] - } - } - }, { - "localId" : "214", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", - "name" : "TodayVar", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "214", - "s" : [ { - "value" : [ "","define ","TodayVar",": " ] - }, { - "r" : "217", - "s" : [ { - "value" : [ "Today","()" ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "217", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "Today", - "signature" : [ ] - } - } ] - } - } + "value" : [ "", "define ", "TodayVar", ": " ] + }, { + "r" : "217", + "s" : [ { + "value" : [ "Today", "()" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Today", + "localId" : "217", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ], + "signature" : [ ] + } + } ] + } + } } /* Now @@ -1167,111 +1308,120 @@ define NowVar: Now() */ module.exports['Now'] = { - "library" : { - "localId" : "0", - "annotation" : [ { - "translatorVersion" : "3.27.0", - "translatorOptions" : "EnableDateRangeOptimization,EnableAnnotations,EnableResultTypes", - "signatureLevel" : "All", - "type" : "CqlToElmInfo" - }, { - "type" : "Annotation", - "s" : { + "library" : { + "localId" : "0", + "annotation" : [ { + "type" : "CqlToElmInfo", + "translatorVersion" : "4.2.0", + "translatorOptions" : "EnableDateRangeOptimization,EnableAnnotations,EnableResultTypes", + "signatureLevel" : "All" + }, { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "214", + "s" : [ { + "value" : [ "", "library TestSnippet version '1'" ] + } ] + } + } ], + "identifier" : { + "id" : "TestSnippet", + "version" : "1" + }, + "schemaIdentifier" : { + "id" : "urn:hl7-org:elm", + "version" : "r1" + }, + "usings" : { + "def" : [ { + "localId" : "1", + "localIdentifier" : "System", + "uri" : "urn:hl7-org:elm-types:r1", + "annotation" : [ ] + }, { + "localId" : "206", + "localIdentifier" : "Simple", + "uri" : "https://github.com/cqframework/cql-execution/simple", + "version" : "1.0.0", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "206", + "s" : [ { + "value" : [ "", "using " ] + }, { + "s" : [ { + "value" : [ "Simple" ] + } ] + }, { + "value" : [ " version '1.0.0'" ] + } ] + } + } ] + } ] + }, + "contexts" : { + "def" : [ { + "localId" : "211", + "name" : "Patient", + "annotation" : [ ] + } ] + }, + "statements" : { + "def" : [ { + "localId" : "209", + "name" : "Patient", + "context" : "Patient", + "annotation" : [ ], + "expression" : { + "type" : "SingletonFrom", + "localId" : "210", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Retrieve", + "localId" : "208", + "dataType" : "{https://github.com/cqframework/cql-execution/simple}Patient", + "annotation" : [ ], + "include" : [ ], + "codeFilter" : [ ], + "dateFilter" : [ ], + "otherFilter" : [ ] + } + } + }, { + "localId" : "214", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "name" : "NowVar", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { "r" : "214", "s" : [ { - "value" : [ "","library TestSnippet version '1'" ] - } ] - } - } ], - "identifier" : { - "id" : "TestSnippet", - "version" : "1" - }, - "schemaIdentifier" : { - "id" : "urn:hl7-org:elm", - "version" : "r1" - }, - "usings" : { - "def" : [ { - "localId" : "1", - "localIdentifier" : "System", - "uri" : "urn:hl7-org:elm-types:r1" - }, { - "localId" : "206", - "localIdentifier" : "Simple", - "uri" : "https://github.com/cqframework/cql-execution/simple", - "version" : "1.0.0", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "206", - "s" : [ { - "value" : [ "","using " ] - }, { - "s" : [ { - "value" : [ "Simple" ] - } ] - }, { - "value" : [ " version '1.0.0'" ] - } ] - } - } ] - } ] - }, - "contexts" : { - "def" : [ { - "localId" : "211", - "name" : "Patient" - } ] - }, - "statements" : { - "def" : [ { - "localId" : "209", - "name" : "Patient", - "context" : "Patient", - "expression" : { - "localId" : "210", - "type" : "SingletonFrom", - "signature" : [ ], - "operand" : { - "localId" : "208", - "dataType" : "{https://github.com/cqframework/cql-execution/simple}Patient", - "type" : "Retrieve", - "include" : [ ], - "codeFilter" : [ ], - "dateFilter" : [ ], - "otherFilter" : [ ] - } - } - }, { - "localId" : "214", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "name" : "NowVar", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "214", - "s" : [ { - "value" : [ "","define ","NowVar",": " ] - }, { - "r" : "217", - "s" : [ { - "value" : [ "Now","()" ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "217", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "Now", - "signature" : [ ] - } - } ] - } - } + "value" : [ "", "define ", "NowVar", ": " ] + }, { + "r" : "217", + "s" : [ { + "value" : [ "Now", "()" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Now", + "localId" : "217", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ ] + } + } ] + } + } } /* TimeOfDay @@ -1282,111 +1432,120 @@ define TimeOfDayVar: TimeOfDay() */ module.exports['TimeOfDay'] = { - "library" : { - "localId" : "0", - "annotation" : [ { - "translatorVersion" : "3.27.0", - "translatorOptions" : "EnableDateRangeOptimization,EnableAnnotations,EnableResultTypes", - "signatureLevel" : "All", - "type" : "CqlToElmInfo" - }, { - "type" : "Annotation", - "s" : { + "library" : { + "localId" : "0", + "annotation" : [ { + "type" : "CqlToElmInfo", + "translatorVersion" : "4.2.0", + "translatorOptions" : "EnableDateRangeOptimization,EnableAnnotations,EnableResultTypes", + "signatureLevel" : "All" + }, { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "214", + "s" : [ { + "value" : [ "", "library TestSnippet version '1'" ] + } ] + } + } ], + "identifier" : { + "id" : "TestSnippet", + "version" : "1" + }, + "schemaIdentifier" : { + "id" : "urn:hl7-org:elm", + "version" : "r1" + }, + "usings" : { + "def" : [ { + "localId" : "1", + "localIdentifier" : "System", + "uri" : "urn:hl7-org:elm-types:r1", + "annotation" : [ ] + }, { + "localId" : "206", + "localIdentifier" : "Simple", + "uri" : "https://github.com/cqframework/cql-execution/simple", + "version" : "1.0.0", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "206", + "s" : [ { + "value" : [ "", "using " ] + }, { + "s" : [ { + "value" : [ "Simple" ] + } ] + }, { + "value" : [ " version '1.0.0'" ] + } ] + } + } ] + } ] + }, + "contexts" : { + "def" : [ { + "localId" : "211", + "name" : "Patient", + "annotation" : [ ] + } ] + }, + "statements" : { + "def" : [ { + "localId" : "209", + "name" : "Patient", + "context" : "Patient", + "annotation" : [ ], + "expression" : { + "type" : "SingletonFrom", + "localId" : "210", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Retrieve", + "localId" : "208", + "dataType" : "{https://github.com/cqframework/cql-execution/simple}Patient", + "annotation" : [ ], + "include" : [ ], + "codeFilter" : [ ], + "dateFilter" : [ ], + "otherFilter" : [ ] + } + } + }, { + "localId" : "214", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Time", + "name" : "TimeOfDayVar", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { "r" : "214", "s" : [ { - "value" : [ "","library TestSnippet version '1'" ] - } ] - } - } ], - "identifier" : { - "id" : "TestSnippet", - "version" : "1" - }, - "schemaIdentifier" : { - "id" : "urn:hl7-org:elm", - "version" : "r1" - }, - "usings" : { - "def" : [ { - "localId" : "1", - "localIdentifier" : "System", - "uri" : "urn:hl7-org:elm-types:r1" - }, { - "localId" : "206", - "localIdentifier" : "Simple", - "uri" : "https://github.com/cqframework/cql-execution/simple", - "version" : "1.0.0", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "206", - "s" : [ { - "value" : [ "","using " ] - }, { - "s" : [ { - "value" : [ "Simple" ] - } ] - }, { - "value" : [ " version '1.0.0'" ] - } ] - } - } ] - } ] - }, - "contexts" : { - "def" : [ { - "localId" : "211", - "name" : "Patient" - } ] - }, - "statements" : { - "def" : [ { - "localId" : "209", - "name" : "Patient", - "context" : "Patient", - "expression" : { - "localId" : "210", - "type" : "SingletonFrom", - "signature" : [ ], - "operand" : { - "localId" : "208", - "dataType" : "{https://github.com/cqframework/cql-execution/simple}Patient", - "type" : "Retrieve", - "include" : [ ], - "codeFilter" : [ ], - "dateFilter" : [ ], - "otherFilter" : [ ] - } - } - }, { - "localId" : "214", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Time", - "name" : "TimeOfDayVar", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "214", - "s" : [ { - "value" : [ "","define ","TimeOfDayVar",": " ] - }, { - "r" : "217", - "s" : [ { - "value" : [ "TimeOfDay","()" ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "217", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Time", - "type" : "TimeOfDay", - "signature" : [ ] - } - } ] - } - } + "value" : [ "", "define ", "TimeOfDayVar", ": " ] + }, { + "r" : "217", + "s" : [ { + "value" : [ "TimeOfDay", "()" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "TimeOfDay", + "localId" : "217", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Time", + "annotation" : [ ], + "signature" : [ ] + } + } ] + } + } } /* DateTimeComponentFrom @@ -1415,1020 +1574,1140 @@ define NullDate: year from (null as DateTime) */ module.exports['DateTimeComponentFrom'] = { - "library" : { - "localId" : "0", - "annotation" : [ { - "translatorVersion" : "3.27.0", - "translatorOptions" : "EnableDateRangeOptimization,EnableAnnotations,EnableResultTypes", - "signatureLevel" : "All", - "type" : "CqlToElmInfo" - }, { - "type" : "Annotation", - "s" : { - "r" : "356", + "library" : { + "localId" : "0", + "annotation" : [ { + "type" : "CqlToElmInfo", + "translatorVersion" : "4.2.0", + "translatorOptions" : "EnableDateRangeOptimization,EnableAnnotations,EnableResultTypes", + "signatureLevel" : "All" + }, { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "356", + "s" : [ { + "value" : [ "", "library TestSnippet version '1'" ] + } ] + } + } ], + "identifier" : { + "id" : "TestSnippet", + "version" : "1" + }, + "schemaIdentifier" : { + "id" : "urn:hl7-org:elm", + "version" : "r1" + }, + "usings" : { + "def" : [ { + "localId" : "1", + "localIdentifier" : "System", + "uri" : "urn:hl7-org:elm-types:r1", + "annotation" : [ ] + }, { + "localId" : "206", + "localIdentifier" : "Simple", + "uri" : "https://github.com/cqframework/cql-execution/simple", + "version" : "1.0.0", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "206", "s" : [ { - "value" : [ "","library TestSnippet version '1'" ] - } ] - } - } ], - "identifier" : { - "id" : "TestSnippet", - "version" : "1" - }, - "schemaIdentifier" : { - "id" : "urn:hl7-org:elm", - "version" : "r1" - }, - "usings" : { - "def" : [ { - "localId" : "1", - "localIdentifier" : "System", - "uri" : "urn:hl7-org:elm-types:r1" - }, { - "localId" : "206", - "localIdentifier" : "Simple", - "uri" : "https://github.com/cqframework/cql-execution/simple", - "version" : "1.0.0", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "206", - "s" : [ { - "value" : [ "","using " ] - }, { - "s" : [ { - "value" : [ "Simple" ] - } ] - }, { - "value" : [ " version '1.0.0'" ] - } ] - } - } ] - } ] - }, - "contexts" : { - "def" : [ { - "localId" : "211", - "name" : "Patient" - } ] - }, - "statements" : { - "def" : [ { - "localId" : "209", - "name" : "Patient", - "context" : "Patient", - "expression" : { - "localId" : "210", - "type" : "SingletonFrom", - "signature" : [ ], - "operand" : { - "localId" : "208", - "dataType" : "{https://github.com/cqframework/cql-execution/simple}Patient", - "type" : "Retrieve", - "include" : [ ], - "codeFilter" : [ ], - "dateFilter" : [ ], - "otherFilter" : [ ] - } - } - }, { - "localId" : "214", + "value" : [ "", "using " ] + }, { + "s" : [ { + "value" : [ "Simple" ] + } ] + }, { + "value" : [ " version '1.0.0'" ] + } ] + } + } ] + } ] + }, + "contexts" : { + "def" : [ { + "localId" : "211", + "name" : "Patient", + "annotation" : [ ] + } ] + }, + "statements" : { + "def" : [ { + "localId" : "209", + "name" : "Patient", + "context" : "Patient", + "annotation" : [ ], + "expression" : { + "type" : "SingletonFrom", + "localId" : "210", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Retrieve", + "localId" : "208", + "dataType" : "{https://github.com/cqframework/cql-execution/simple}Patient", + "annotation" : [ ], + "include" : [ ], + "codeFilter" : [ ], + "dateFilter" : [ ], + "otherFilter" : [ ] + } + } + }, { + "localId" : "214", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "name" : "IdesOfMarch", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "214", + "s" : [ { + "value" : [ "", "define ", "IdesOfMarch", ": " ] + }, { + "r" : "233", + "s" : [ { + "r" : "215", + "value" : [ "DateTime", "(", "2000", ", ", "3", ", ", "15", ", ", "13", ", ", "30", ", ", "25", ", ", "200", ", " ] + }, { + "r" : "222", + "s" : [ { + "r" : "222", + "value" : [ "+", "1.0" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "DateTime", + "localId" : "233", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "234", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "235", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "236", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "237", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "238", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "239", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "240", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "241", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "215", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "216", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "217", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "15", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "218", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "13", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "219", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "30", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "220", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "25", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "221", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "200", + "annotation" : [ ] + }, + "timezoneOffset" : { + "type" : "Literal", + "localId" : "222", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "1.0", + "annotation" : [ ] + } + } + }, { + "localId" : "244", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "name" : "Year", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "244", + "s" : [ { + "value" : [ "", "define ", "Year", ": " ] + }, { + "r" : "245", + "s" : [ { + "value" : [ "year from " ] + }, { + "r" : "246", + "s" : [ { + "value" : [ "IdesOfMarch" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "DateTimeComponentFrom", + "localId" : "245", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "precision" : "Year", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "247", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } ], + "operand" : { + "type" : "ExpressionRef", + "localId" : "246", "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", "name" : "IdesOfMarch", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "214", - "s" : [ { - "value" : [ "","define ","IdesOfMarch",": " ] - }, { - "r" : "233", - "s" : [ { - "r" : "215", - "value" : [ "DateTime","(","2000",", ","3",", ","15",", ","13",", ","30",", ","25",", ","200",", " ] - }, { - "r" : "222", - "s" : [ { - "r" : "222", - "value" : [ "+","1.0" ] - } ] - }, { - "value" : [ ")" ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "233", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "234", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "235", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "236", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "237", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "238", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "239", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "240", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "241", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "215", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "216", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "217", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal" - }, - "hour" : { - "localId" : "218", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "13", - "type" : "Literal" - }, - "minute" : { - "localId" : "219", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "30", - "type" : "Literal" - }, - "second" : { - "localId" : "220", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "25", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "221", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "200", - "type" : "Literal" - }, - "timezoneOffset" : { - "localId" : "222", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "1.0", - "type" : "Literal" - } - } - }, { - "localId" : "244", + "annotation" : [ ] + } + } + }, { + "localId" : "250", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "name" : "Month", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "250", + "s" : [ { + "value" : [ "", "define ", "Month", ": " ] + }, { + "r" : "251", + "s" : [ { + "value" : [ "month from " ] + }, { + "r" : "252", + "s" : [ { + "value" : [ "IdesOfMarch" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "DateTimeComponentFrom", + "localId" : "251", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "precision" : "Month", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "253", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } ], + "operand" : { + "type" : "ExpressionRef", + "localId" : "252", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "name" : "IdesOfMarch", + "annotation" : [ ] + } + } + }, { + "localId" : "256", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "name" : "Day", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "256", + "s" : [ { + "value" : [ "", "define ", "Day", ": " ] + }, { + "r" : "257", + "s" : [ { + "value" : [ "day from " ] + }, { + "r" : "258", + "s" : [ { + "value" : [ "IdesOfMarch" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "DateTimeComponentFrom", + "localId" : "257", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "precision" : "Day", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "259", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } ], + "operand" : { + "type" : "ExpressionRef", + "localId" : "258", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "name" : "IdesOfMarch", + "annotation" : [ ] + } + } + }, { + "localId" : "262", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "name" : "Hour", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "262", + "s" : [ { + "value" : [ "", "define ", "Hour", ": " ] + }, { + "r" : "263", + "s" : [ { + "value" : [ "hour from " ] + }, { + "r" : "264", + "s" : [ { + "value" : [ "IdesOfMarch" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "DateTimeComponentFrom", + "localId" : "263", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "precision" : "Hour", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "265", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } ], + "operand" : { + "type" : "ExpressionRef", + "localId" : "264", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "name" : "IdesOfMarch", + "annotation" : [ ] + } + } + }, { + "localId" : "268", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "name" : "Minute", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "268", + "s" : [ { + "value" : [ "", "define ", "Minute", ": " ] + }, { + "r" : "269", + "s" : [ { + "value" : [ "minute from " ] + }, { + "r" : "270", + "s" : [ { + "value" : [ "IdesOfMarch" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "DateTimeComponentFrom", + "localId" : "269", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "precision" : "Minute", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "271", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } ], + "operand" : { + "type" : "ExpressionRef", + "localId" : "270", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "name" : "IdesOfMarch", + "annotation" : [ ] + } + } + }, { + "localId" : "274", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "name" : "Second", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "274", + "s" : [ { + "value" : [ "", "define ", "Second", ": " ] + }, { + "r" : "275", + "s" : [ { + "value" : [ "second from " ] + }, { + "r" : "276", + "s" : [ { + "value" : [ "IdesOfMarch" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "DateTimeComponentFrom", + "localId" : "275", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "precision" : "Second", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "277", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } ], + "operand" : { + "type" : "ExpressionRef", + "localId" : "276", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "name" : "IdesOfMarch", + "annotation" : [ ] + } + } + }, { + "localId" : "280", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "name" : "Millisecond", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "280", + "s" : [ { + "value" : [ "", "define ", "Millisecond", ": " ] + }, { + "r" : "281", + "s" : [ { + "value" : [ "millisecond from " ] + }, { + "r" : "282", + "s" : [ { + "value" : [ "IdesOfMarch" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "DateTimeComponentFrom", + "localId" : "281", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "precision" : "Millisecond", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "283", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } ], + "operand" : { + "type" : "ExpressionRef", + "localId" : "282", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "name" : "IdesOfMarch", + "annotation" : [ ] + } + } + }, { + "localId" : "286", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "name" : "ImpreciseIdesOfMarch", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "286", + "s" : [ { + "value" : [ "", "define ", "ImpreciseIdesOfMarch", ": " ] + }, { + "r" : "295", + "s" : [ { + "r" : "287", + "value" : [ "DateTime", "(", "2000", ", ", "3", ", ", "15", ")" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "DateTime", + "localId" : "295", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "296", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "297", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "298", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "287", "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "name" : "Year", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "244", - "s" : [ { - "value" : [ "","define ","Year",": " ] - }, { - "r" : "245", - "s" : [ { - "value" : [ "year from " ] - }, { - "r" : "246", - "s" : [ { - "value" : [ "IdesOfMarch" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "245", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "precision" : "Year", - "type" : "DateTimeComponentFrom", - "signature" : [ { - "localId" : "247", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "246", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "name" : "IdesOfMarch", - "type" : "ExpressionRef" - } - } - }, { - "localId" : "250", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "288", "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "name" : "Month", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "250", - "s" : [ { - "value" : [ "","define ","Month",": " ] - }, { - "r" : "251", - "s" : [ { - "value" : [ "month from " ] - }, { - "r" : "252", - "s" : [ { - "value" : [ "IdesOfMarch" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "251", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "precision" : "Month", - "type" : "DateTimeComponentFrom", - "signature" : [ { - "localId" : "253", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "252", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "name" : "IdesOfMarch", - "type" : "ExpressionRef" - } - } - }, { - "localId" : "256", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "289", "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "name" : "Day", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "256", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "15", + "annotation" : [ ] + } + } + }, { + "localId" : "301", + "name" : "ImpreciseComponentTuple", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "301", + "s" : [ { + "value" : [ "", "define ", "ImpreciseComponentTuple", ": " ] + }, { + "r" : "302", + "s" : [ { + "value" : [ "Tuple {\n " ] + }, { + "s" : [ { + "value" : [ "Year", ": " ] + }, { + "r" : "303", "s" : [ { - "value" : [ "","define ","Day",": " ] + "value" : [ "year from " ] }, { - "r" : "257", - "s" : [ { - "value" : [ "day from " ] - }, { - "r" : "258", - "s" : [ { - "value" : [ "IdesOfMarch" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "257", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "precision" : "Day", - "type" : "DateTimeComponentFrom", - "signature" : [ { - "localId" : "259", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "258", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "name" : "IdesOfMarch", - "type" : "ExpressionRef" - } - } - }, { - "localId" : "262", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "name" : "Hour", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "262", - "s" : [ { - "value" : [ "","define ","Hour",": " ] + "r" : "304", + "s" : [ { + "value" : [ "ImpreciseIdesOfMarch" ] + } ] + } ] + } ] + }, { + "value" : [ ",\n " ] + }, { + "s" : [ { + "value" : [ "Month", ": " ] + }, { + "r" : "306", + "s" : [ { + "value" : [ "month from " ] }, { - "r" : "263", - "s" : [ { - "value" : [ "hour from " ] - }, { - "r" : "264", - "s" : [ { - "value" : [ "IdesOfMarch" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "263", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "precision" : "Hour", - "type" : "DateTimeComponentFrom", - "signature" : [ { - "localId" : "265", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "264", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "name" : "IdesOfMarch", - "type" : "ExpressionRef" - } - } - }, { - "localId" : "268", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "name" : "Minute", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "268", + "r" : "307", + "s" : [ { + "value" : [ "ImpreciseIdesOfMarch" ] + } ] + } ] + } ] + }, { + "value" : [ ",\n " ] + }, { + "s" : [ { + "value" : [ "Day", ": " ] + }, { + "r" : "309", "s" : [ { - "value" : [ "","define ","Minute",": " ] + "value" : [ "day from " ] }, { - "r" : "269", - "s" : [ { - "value" : [ "minute from " ] - }, { - "r" : "270", - "s" : [ { - "value" : [ "IdesOfMarch" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "269", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "precision" : "Minute", - "type" : "DateTimeComponentFrom", - "signature" : [ { - "localId" : "271", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "270", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "name" : "IdesOfMarch", - "type" : "ExpressionRef" - } - } - }, { - "localId" : "274", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "name" : "Second", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "274", - "s" : [ { - "value" : [ "","define ","Second",": " ] + "r" : "310", + "s" : [ { + "value" : [ "ImpreciseIdesOfMarch" ] + } ] + } ] + } ] + }, { + "value" : [ ",\n " ] + }, { + "s" : [ { + "value" : [ "Hour", ": " ] + }, { + "r" : "312", + "s" : [ { + "value" : [ "hour from " ] }, { - "r" : "275", - "s" : [ { - "value" : [ "second from " ] - }, { - "r" : "276", - "s" : [ { - "value" : [ "IdesOfMarch" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "275", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "precision" : "Second", - "type" : "DateTimeComponentFrom", - "signature" : [ { - "localId" : "277", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "276", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "name" : "IdesOfMarch", - "type" : "ExpressionRef" - } - } - }, { - "localId" : "280", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "name" : "Millisecond", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "280", + "r" : "313", + "s" : [ { + "value" : [ "ImpreciseIdesOfMarch" ] + } ] + } ] + } ] + }, { + "value" : [ ",\n " ] + }, { + "s" : [ { + "value" : [ "Minute", ": " ] + }, { + "r" : "315", "s" : [ { - "value" : [ "","define ","Millisecond",": " ] + "value" : [ "minute from " ] }, { - "r" : "281", - "s" : [ { - "value" : [ "millisecond from " ] - }, { - "r" : "282", - "s" : [ { - "value" : [ "IdesOfMarch" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "281", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "precision" : "Millisecond", - "type" : "DateTimeComponentFrom", - "signature" : [ { - "localId" : "283", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "282", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "name" : "IdesOfMarch", - "type" : "ExpressionRef" - } - } - }, { - "localId" : "286", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "name" : "ImpreciseIdesOfMarch", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "286", + "r" : "316", + "s" : [ { + "value" : [ "ImpreciseIdesOfMarch" ] + } ] + } ] + } ] + }, { + "value" : [ ",\n " ] + }, { + "s" : [ { + "value" : [ "Second", ": " ] + }, { + "r" : "318", "s" : [ { - "value" : [ "","define ","ImpreciseIdesOfMarch",": " ] + "value" : [ "second from " ] }, { - "r" : "295", - "s" : [ { - "r" : "287", - "value" : [ "DateTime","(","2000",", ","3",", ","15",")" ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "295", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "296", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "297", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "298", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "287", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "288", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "289", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal" - } - } - }, { - "localId" : "301", - "name" : "ImpreciseComponentTuple", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "301", - "s" : [ { - "value" : [ "","define ","ImpreciseComponentTuple",": " ] - }, { - "r" : "302", - "s" : [ { - "value" : [ "Tuple {\n " ] - }, { - "s" : [ { - "value" : [ "Year",": " ] - }, { - "r" : "303", - "s" : [ { - "value" : [ "year from " ] - }, { - "r" : "304", - "s" : [ { - "value" : [ "ImpreciseIdesOfMarch" ] - } ] - } ] - } ] - }, { - "value" : [ ",\n " ] - }, { - "s" : [ { - "value" : [ "Month",": " ] - }, { - "r" : "306", - "s" : [ { - "value" : [ "month from " ] - }, { - "r" : "307", - "s" : [ { - "value" : [ "ImpreciseIdesOfMarch" ] - } ] - } ] - } ] - }, { - "value" : [ ",\n " ] - }, { - "s" : [ { - "value" : [ "Day",": " ] - }, { - "r" : "309", - "s" : [ { - "value" : [ "day from " ] - }, { - "r" : "310", - "s" : [ { - "value" : [ "ImpreciseIdesOfMarch" ] - } ] - } ] - } ] - }, { - "value" : [ ",\n " ] - }, { - "s" : [ { - "value" : [ "Hour",": " ] - }, { - "r" : "312", - "s" : [ { - "value" : [ "hour from " ] - }, { - "r" : "313", - "s" : [ { - "value" : [ "ImpreciseIdesOfMarch" ] - } ] - } ] - } ] - }, { - "value" : [ ",\n " ] - }, { - "s" : [ { - "value" : [ "Minute",": " ] - }, { - "r" : "315", - "s" : [ { - "value" : [ "minute from " ] - }, { - "r" : "316", - "s" : [ { - "value" : [ "ImpreciseIdesOfMarch" ] - } ] - } ] - } ] - }, { - "value" : [ ",\n " ] - }, { - "s" : [ { - "value" : [ "Second",": " ] - }, { - "r" : "318", - "s" : [ { - "value" : [ "second from " ] - }, { - "r" : "319", - "s" : [ { - "value" : [ "ImpreciseIdesOfMarch" ] - } ] - } ] - } ] - }, { - "value" : [ ",\n " ] - }, { - "s" : [ { - "value" : [ "Millisecond",": " ] - }, { - "r" : "321", - "s" : [ { - "value" : [ "millisecond from " ] - }, { - "r" : "322", - "s" : [ { - "value" : [ "ImpreciseIdesOfMarch" ] - } ] - } ] - } ] - }, { - "value" : [ "\n}" ] - } ] - } ] - } - } ], - "resultTypeSpecifier" : { - "localId" : "339", - "type" : "TupleTypeSpecifier", - "element" : [ { - "localId" : "340", - "name" : "Year", - "elementType" : { - "localId" : "341", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "342", - "name" : "Month", - "elementType" : { - "localId" : "343", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "344", - "name" : "Day", - "elementType" : { - "localId" : "345", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "346", - "name" : "Hour", - "elementType" : { - "localId" : "347", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "348", - "name" : "Minute", - "elementType" : { - "localId" : "349", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "350", - "name" : "Second", - "elementType" : { - "localId" : "351", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "352", - "name" : "Millisecond", - "elementType" : { - "localId" : "353", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } ] - }, - "expression" : { - "localId" : "302", - "type" : "Tuple", - "resultTypeSpecifier" : { - "localId" : "324", - "type" : "TupleTypeSpecifier", - "element" : [ { - "localId" : "325", - "name" : "Year", - "elementType" : { - "localId" : "326", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "327", - "name" : "Month", - "elementType" : { - "localId" : "328", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "329", - "name" : "Day", - "elementType" : { - "localId" : "330", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "331", - "name" : "Hour", - "elementType" : { - "localId" : "332", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "333", - "name" : "Minute", - "elementType" : { - "localId" : "334", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "335", - "name" : "Second", - "elementType" : { - "localId" : "336", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } + "r" : "319", + "s" : [ { + "value" : [ "ImpreciseIdesOfMarch" ] + } ] + } ] + } ] + }, { + "value" : [ ",\n " ] + }, { + "s" : [ { + "value" : [ "Millisecond", ": " ] + }, { + "r" : "321", + "s" : [ { + "value" : [ "millisecond from " ] }, { - "localId" : "337", - "name" : "Millisecond", - "elementType" : { - "localId" : "338", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } ] - }, - "element" : [ { - "name" : "Year", - "value" : { - "localId" : "303", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "precision" : "Year", - "type" : "DateTimeComponentFrom", - "signature" : [ { - "localId" : "305", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "304", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "name" : "ImpreciseIdesOfMarch", - "type" : "ExpressionRef" - } - } - }, { - "name" : "Month", - "value" : { - "localId" : "306", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "precision" : "Month", - "type" : "DateTimeComponentFrom", - "signature" : [ { - "localId" : "308", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "307", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "name" : "ImpreciseIdesOfMarch", - "type" : "ExpressionRef" - } - } - }, { - "name" : "Day", - "value" : { - "localId" : "309", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "precision" : "Day", - "type" : "DateTimeComponentFrom", - "signature" : [ { - "localId" : "311", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "310", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "name" : "ImpreciseIdesOfMarch", - "type" : "ExpressionRef" - } - } - }, { - "name" : "Hour", - "value" : { - "localId" : "312", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "precision" : "Hour", - "type" : "DateTimeComponentFrom", - "signature" : [ { - "localId" : "314", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "313", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "name" : "ImpreciseIdesOfMarch", - "type" : "ExpressionRef" - } - } - }, { - "name" : "Minute", - "value" : { - "localId" : "315", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "precision" : "Minute", - "type" : "DateTimeComponentFrom", - "signature" : [ { - "localId" : "317", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "316", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "name" : "ImpreciseIdesOfMarch", - "type" : "ExpressionRef" - } - } - }, { - "name" : "Second", - "value" : { - "localId" : "318", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "precision" : "Second", - "type" : "DateTimeComponentFrom", - "signature" : [ { - "localId" : "320", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "319", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "name" : "ImpreciseIdesOfMarch", - "type" : "ExpressionRef" - } - } - }, { - "name" : "Millisecond", - "value" : { - "localId" : "321", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "precision" : "Millisecond", - "type" : "DateTimeComponentFrom", - "signature" : [ { - "localId" : "323", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "322", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "name" : "ImpreciseIdesOfMarch", - "type" : "ExpressionRef" - } - } - } ] - } - }, { - "localId" : "356", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "name" : "NullDate", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "356", - "s" : [ { - "value" : [ "","define ","NullDate",": " ] + "r" : "322", + "s" : [ { + "value" : [ "ImpreciseIdesOfMarch" ] + } ] + } ] + } ] + }, { + "value" : [ "\n}" ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "TupleTypeSpecifier", + "localId" : "339", + "annotation" : [ ], + "element" : [ { + "localId" : "340", + "name" : "Year", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "341", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, { + "localId" : "342", + "name" : "Month", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "343", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, { + "localId" : "344", + "name" : "Day", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "345", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, { + "localId" : "346", + "name" : "Hour", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "347", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, { + "localId" : "348", + "name" : "Minute", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "349", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, { + "localId" : "350", + "name" : "Second", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "351", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, { + "localId" : "352", + "name" : "Millisecond", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "353", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } ] + }, + "expression" : { + "type" : "Tuple", + "localId" : "302", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "TupleTypeSpecifier", + "localId" : "324", + "annotation" : [ ], + "element" : [ { + "localId" : "325", + "name" : "Year", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "326", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, { + "localId" : "327", + "name" : "Month", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "328", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, { + "localId" : "329", + "name" : "Day", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "330", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, { + "localId" : "331", + "name" : "Hour", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "332", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, { + "localId" : "333", + "name" : "Minute", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "334", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, { + "localId" : "335", + "name" : "Second", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "336", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, { + "localId" : "337", + "name" : "Millisecond", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "338", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } ] + }, + "element" : [ { + "name" : "Year", + "value" : { + "type" : "DateTimeComponentFrom", + "localId" : "303", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "precision" : "Year", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "305", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } ], + "operand" : { + "type" : "ExpressionRef", + "localId" : "304", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "name" : "ImpreciseIdesOfMarch", + "annotation" : [ ] + } + } + }, { + "name" : "Month", + "value" : { + "type" : "DateTimeComponentFrom", + "localId" : "306", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "precision" : "Month", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "308", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } ], + "operand" : { + "type" : "ExpressionRef", + "localId" : "307", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "name" : "ImpreciseIdesOfMarch", + "annotation" : [ ] + } + } + }, { + "name" : "Day", + "value" : { + "type" : "DateTimeComponentFrom", + "localId" : "309", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "precision" : "Day", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "311", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } ], + "operand" : { + "type" : "ExpressionRef", + "localId" : "310", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "name" : "ImpreciseIdesOfMarch", + "annotation" : [ ] + } + } + }, { + "name" : "Hour", + "value" : { + "type" : "DateTimeComponentFrom", + "localId" : "312", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "precision" : "Hour", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "314", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } ], + "operand" : { + "type" : "ExpressionRef", + "localId" : "313", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "name" : "ImpreciseIdesOfMarch", + "annotation" : [ ] + } + } + }, { + "name" : "Minute", + "value" : { + "type" : "DateTimeComponentFrom", + "localId" : "315", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "precision" : "Minute", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "317", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } ], + "operand" : { + "type" : "ExpressionRef", + "localId" : "316", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "name" : "ImpreciseIdesOfMarch", + "annotation" : [ ] + } + } + }, { + "name" : "Second", + "value" : { + "type" : "DateTimeComponentFrom", + "localId" : "318", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "precision" : "Second", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "320", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } ], + "operand" : { + "type" : "ExpressionRef", + "localId" : "319", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "name" : "ImpreciseIdesOfMarch", + "annotation" : [ ] + } + } + }, { + "name" : "Millisecond", + "value" : { + "type" : "DateTimeComponentFrom", + "localId" : "321", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "precision" : "Millisecond", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "323", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } ], + "operand" : { + "type" : "ExpressionRef", + "localId" : "322", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "name" : "ImpreciseIdesOfMarch", + "annotation" : [ ] + } + } + } ] + } + }, { + "localId" : "356", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "name" : "NullDate", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "356", + "s" : [ { + "value" : [ "", "define ", "NullDate", ": " ] + }, { + "r" : "357", + "s" : [ { + "value" : [ "year from " ] + }, { + "r" : "358", + "s" : [ { + "value" : [ "(" ] + }, { + "r" : "358", + "s" : [ { + "r" : "359", + "value" : [ "null", " as " ] }, { - "r" : "357", - "s" : [ { - "value" : [ "year from " ] - }, { - "r" : "358", - "s" : [ { - "value" : [ "(" ] - }, { - "r" : "358", - "s" : [ { - "r" : "359", - "value" : [ "null"," as " ] - }, { - "r" : "360", - "s" : [ { - "value" : [ "DateTime" ] - } ] - } ] - }, { - "value" : [ ")" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "357", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "precision" : "Year", - "type" : "DateTimeComponentFrom", - "signature" : [ { - "localId" : "361", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "358", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "strict" : false, - "type" : "As", - "signature" : [ ], - "operand" : { - "localId" : "359", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - }, - "asTypeSpecifier" : { - "localId" : "360", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - } - } ] - } - } + "r" : "360", + "s" : [ { + "value" : [ "DateTime" ] + } ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "DateTimeComponentFrom", + "localId" : "357", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "precision" : "Year", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "361", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } ], + "operand" : { + "type" : "As", + "localId" : "358", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "strict" : false, + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Null", + "localId" : "359", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + }, + "asTypeSpecifier" : { + "type" : "NamedTypeSpecifier", + "localId" : "360", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + } + } ] + } + } } /* DateFrom @@ -2441,342 +2720,381 @@ define NullDate: date from (null as DateTime) */ module.exports['DateFrom'] = { - "library" : { - "localId" : "0", - "annotation" : [ { - "translatorVersion" : "3.27.0", - "translatorOptions" : "EnableDateRangeOptimization,EnableAnnotations,EnableResultTypes", - "signatureLevel" : "All", - "type" : "CqlToElmInfo" - }, { - "type" : "Annotation", - "s" : { + "library" : { + "localId" : "0", + "annotation" : [ { + "type" : "CqlToElmInfo", + "translatorVersion" : "4.2.0", + "translatorOptions" : "EnableDateRangeOptimization,EnableAnnotations,EnableResultTypes", + "signatureLevel" : "All" + }, { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "257", + "s" : [ { + "value" : [ "", "library TestSnippet version '1'" ] + } ] + } + } ], + "identifier" : { + "id" : "TestSnippet", + "version" : "1" + }, + "schemaIdentifier" : { + "id" : "urn:hl7-org:elm", + "version" : "r1" + }, + "usings" : { + "def" : [ { + "localId" : "1", + "localIdentifier" : "System", + "uri" : "urn:hl7-org:elm-types:r1", + "annotation" : [ ] + }, { + "localId" : "206", + "localIdentifier" : "Simple", + "uri" : "https://github.com/cqframework/cql-execution/simple", + "version" : "1.0.0", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "206", + "s" : [ { + "value" : [ "", "using " ] + }, { + "s" : [ { + "value" : [ "Simple" ] + } ] + }, { + "value" : [ " version '1.0.0'" ] + } ] + } + } ] + } ] + }, + "contexts" : { + "def" : [ { + "localId" : "211", + "name" : "Patient", + "annotation" : [ ] + } ] + }, + "statements" : { + "def" : [ { + "localId" : "209", + "name" : "Patient", + "context" : "Patient", + "annotation" : [ ], + "expression" : { + "type" : "SingletonFrom", + "localId" : "210", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Retrieve", + "localId" : "208", + "dataType" : "{https://github.com/cqframework/cql-execution/simple}Patient", + "annotation" : [ ], + "include" : [ ], + "codeFilter" : [ ], + "dateFilter" : [ ], + "otherFilter" : [ ] + } + } + }, { + "localId" : "214", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", + "name" : "Date", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "214", + "s" : [ { + "value" : [ "", "define ", "Date", ": " ] + }, { + "r" : "215", + "s" : [ { + "value" : [ "date from " ] + }, { + "r" : "234", + "s" : [ { + "r" : "216", + "value" : [ "DateTime", "(", "2000", ", ", "3", ", ", "15", ", ", "13", ", ", "30", ", ", "25", ", ", "200", ", " ] + }, { + "r" : "223", + "s" : [ { + "r" : "223", + "value" : [ "+", "1.0" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "DateFrom", + "localId" : "215", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "243", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } ], + "operand" : { + "type" : "DateTime", + "localId" : "234", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "235", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "236", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "237", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "238", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "239", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "240", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "241", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "242", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "216", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "217", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "218", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "15", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "219", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "13", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "220", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "30", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "221", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "25", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "222", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "200", + "annotation" : [ ] + }, + "timezoneOffset" : { + "type" : "Literal", + "localId" : "223", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "1.0", + "annotation" : [ ] + } + } + } + }, { + "localId" : "246", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", + "name" : "ImpreciseDate", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "246", + "s" : [ { + "value" : [ "", "define ", "ImpreciseDate", ": " ] + }, { + "r" : "247", + "s" : [ { + "value" : [ "date from " ] + }, { + "r" : "252", + "s" : [ { + "r" : "248", + "value" : [ "DateTime", "(", "2000", ")" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "DateFrom", + "localId" : "247", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "254", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } ], + "operand" : { + "type" : "DateTime", + "localId" : "252", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "253", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "248", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + } + } + } + }, { + "localId" : "257", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", + "name" : "NullDate", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { "r" : "257", "s" : [ { - "value" : [ "","library TestSnippet version '1'" ] - } ] - } - } ], - "identifier" : { - "id" : "TestSnippet", - "version" : "1" - }, - "schemaIdentifier" : { - "id" : "urn:hl7-org:elm", - "version" : "r1" - }, - "usings" : { - "def" : [ { - "localId" : "1", - "localIdentifier" : "System", - "uri" : "urn:hl7-org:elm-types:r1" - }, { - "localId" : "206", - "localIdentifier" : "Simple", - "uri" : "https://github.com/cqframework/cql-execution/simple", - "version" : "1.0.0", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "206", - "s" : [ { - "value" : [ "","using " ] - }, { - "s" : [ { - "value" : [ "Simple" ] - } ] - }, { - "value" : [ " version '1.0.0'" ] - } ] - } - } ] - } ] - }, - "contexts" : { - "def" : [ { - "localId" : "211", - "name" : "Patient" - } ] - }, - "statements" : { - "def" : [ { - "localId" : "209", - "name" : "Patient", - "context" : "Patient", - "expression" : { - "localId" : "210", - "type" : "SingletonFrom", - "signature" : [ ], - "operand" : { - "localId" : "208", - "dataType" : "{https://github.com/cqframework/cql-execution/simple}Patient", - "type" : "Retrieve", - "include" : [ ], - "codeFilter" : [ ], - "dateFilter" : [ ], - "otherFilter" : [ ] - } - } - }, { - "localId" : "214", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", - "name" : "Date", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "214", - "s" : [ { - "value" : [ "","define ","Date",": " ] - }, { - "r" : "215", - "s" : [ { - "value" : [ "date from " ] - }, { - "r" : "234", - "s" : [ { - "r" : "216", - "value" : [ "DateTime","(","2000",", ","3",", ","15",", ","13",", ","30",", ","25",", ","200",", " ] - }, { - "r" : "223", - "s" : [ { - "r" : "223", - "value" : [ "+","1.0" ] - } ] - }, { - "value" : [ ")" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "215", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "DateFrom", - "signature" : [ { - "localId" : "243", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "234", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "235", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "236", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "237", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "238", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "239", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "240", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "241", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "242", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "216", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "217", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "218", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal" - }, - "hour" : { - "localId" : "219", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "13", - "type" : "Literal" - }, - "minute" : { - "localId" : "220", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "30", - "type" : "Literal" - }, - "second" : { - "localId" : "221", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "25", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "222", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "200", - "type" : "Literal" - }, - "timezoneOffset" : { - "localId" : "223", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "1.0", - "type" : "Literal" - } - } - } - }, { - "localId" : "246", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", - "name" : "ImpreciseDate", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "246", - "s" : [ { - "value" : [ "","define ","ImpreciseDate",": " ] - }, { - "r" : "247", - "s" : [ { - "value" : [ "date from " ] - }, { - "r" : "252", - "s" : [ { - "r" : "248", - "value" : [ "DateTime","(","2000",")" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "247", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "DateFrom", - "signature" : [ { - "localId" : "254", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "252", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "253", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "248", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - } - } - } - }, { - "localId" : "257", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", - "name" : "NullDate", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "257", + "value" : [ "", "define ", "NullDate", ": " ] + }, { + "r" : "258", + "s" : [ { + "value" : [ "date from " ] + }, { + "r" : "259", + "s" : [ { + "value" : [ "(" ] + }, { + "r" : "259", "s" : [ { - "value" : [ "","define ","NullDate",": " ] + "r" : "260", + "value" : [ "null", " as " ] }, { - "r" : "258", - "s" : [ { - "value" : [ "date from " ] - }, { - "r" : "259", - "s" : [ { - "value" : [ "(" ] - }, { - "r" : "259", - "s" : [ { - "r" : "260", - "value" : [ "null"," as " ] - }, { - "r" : "261", - "s" : [ { - "value" : [ "DateTime" ] - } ] - } ] - }, { - "value" : [ ")" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "258", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "DateFrom", - "signature" : [ { - "localId" : "262", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "259", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "strict" : false, - "type" : "As", - "signature" : [ ], - "operand" : { - "localId" : "260", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - }, - "asTypeSpecifier" : { - "localId" : "261", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - } - } ] - } - } + "r" : "261", + "s" : [ { + "value" : [ "DateTime" ] + } ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "DateFrom", + "localId" : "258", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "262", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } ], + "operand" : { + "type" : "As", + "localId" : "259", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "strict" : false, + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Null", + "localId" : "260", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + }, + "asTypeSpecifier" : { + "type" : "NamedTypeSpecifier", + "localId" : "261", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + } + } ] + } + } } /* TimeFrom @@ -2789,340 +3107,382 @@ define NullDate: time from null */ module.exports['TimeFrom'] = { - "library" : { - "localId" : "0", - "annotation" : [ { - "translatorVersion" : "3.27.0", - "translatorOptions" : "EnableDateRangeOptimization,EnableAnnotations,EnableResultTypes", - "signatureLevel" : "All", - "type" : "CqlToElmInfo" - }, { - "type" : "Annotation", - "s" : { + "library" : { + "localId" : "0", + "annotation" : [ { + "type" : "CqlToElmInfo", + "translatorVersion" : "4.2.0", + "translatorOptions" : "EnableDateRangeOptimization,EnableAnnotations,EnableResultTypes", + "signatureLevel" : "All" + }, { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "263", + "s" : [ { + "value" : [ "", "library TestSnippet version '1'" ] + } ] + } + } ], + "identifier" : { + "id" : "TestSnippet", + "version" : "1" + }, + "schemaIdentifier" : { + "id" : "urn:hl7-org:elm", + "version" : "r1" + }, + "usings" : { + "def" : [ { + "localId" : "1", + "localIdentifier" : "System", + "uri" : "urn:hl7-org:elm-types:r1", + "annotation" : [ ] + }, { + "localId" : "206", + "localIdentifier" : "Simple", + "uri" : "https://github.com/cqframework/cql-execution/simple", + "version" : "1.0.0", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "206", + "s" : [ { + "value" : [ "", "using " ] + }, { + "s" : [ { + "value" : [ "Simple" ] + } ] + }, { + "value" : [ " version '1.0.0'" ] + } ] + } + } ] + } ] + }, + "contexts" : { + "def" : [ { + "localId" : "211", + "name" : "Patient", + "annotation" : [ ] + } ] + }, + "statements" : { + "def" : [ { + "localId" : "209", + "name" : "Patient", + "context" : "Patient", + "annotation" : [ ], + "expression" : { + "type" : "SingletonFrom", + "localId" : "210", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Retrieve", + "localId" : "208", + "dataType" : "{https://github.com/cqframework/cql-execution/simple}Patient", + "annotation" : [ ], + "include" : [ ], + "codeFilter" : [ ], + "dateFilter" : [ ], + "otherFilter" : [ ] + } + } + }, { + "localId" : "214", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Time", + "name" : "Time", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "214", + "s" : [ { + "value" : [ "", "define ", "Time", ": " ] + }, { + "r" : "215", + "s" : [ { + "value" : [ "time from " ] + }, { + "r" : "234", + "s" : [ { + "r" : "216", + "value" : [ "DateTime", "(", "2000", ", ", "3", ", ", "15", ", ", "13", ", ", "30", ", ", "25", ", ", "200", ", " ] + }, { + "r" : "223", + "s" : [ { + "r" : "223", + "value" : [ "+", "1.0" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "TimeFrom", + "localId" : "215", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Time", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "243", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } ], + "operand" : { + "type" : "DateTime", + "localId" : "234", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "235", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "236", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "237", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "238", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "239", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "240", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "241", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "242", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "216", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "217", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "218", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "15", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "219", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "13", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "220", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "30", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "221", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "25", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "222", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "200", + "annotation" : [ ] + }, + "timezoneOffset" : { + "type" : "Literal", + "localId" : "223", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "1.0", + "annotation" : [ ] + } + } + } + }, { + "localId" : "246", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Time", + "name" : "NoTime", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "246", + "s" : [ { + "value" : [ "", "define ", "NoTime", ": " ] + }, { + "r" : "247", + "s" : [ { + "value" : [ "time from " ] + }, { + "r" : "256", + "s" : [ { + "r" : "248", + "value" : [ "DateTime", "(", "2000", ", ", "3", ", ", "15", ")" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "TimeFrom", + "localId" : "247", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Time", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "260", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } ], + "operand" : { + "type" : "DateTime", + "localId" : "256", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "257", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "258", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "259", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "248", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "249", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "250", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "15", + "annotation" : [ ] + } + } + } + }, { + "localId" : "263", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Time", + "name" : "NullDate", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { "r" : "263", "s" : [ { - "value" : [ "","library TestSnippet version '1'" ] - } ] - } - } ], - "identifier" : { - "id" : "TestSnippet", - "version" : "1" - }, - "schemaIdentifier" : { - "id" : "urn:hl7-org:elm", - "version" : "r1" - }, - "usings" : { - "def" : [ { - "localId" : "1", - "localIdentifier" : "System", - "uri" : "urn:hl7-org:elm-types:r1" - }, { - "localId" : "206", - "localIdentifier" : "Simple", - "uri" : "https://github.com/cqframework/cql-execution/simple", - "version" : "1.0.0", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "206", - "s" : [ { - "value" : [ "","using " ] - }, { - "s" : [ { - "value" : [ "Simple" ] - } ] - }, { - "value" : [ " version '1.0.0'" ] - } ] - } - } ] - } ] - }, - "contexts" : { - "def" : [ { - "localId" : "211", - "name" : "Patient" - } ] - }, - "statements" : { - "def" : [ { - "localId" : "209", - "name" : "Patient", - "context" : "Patient", - "expression" : { - "localId" : "210", - "type" : "SingletonFrom", - "signature" : [ ], - "operand" : { - "localId" : "208", - "dataType" : "{https://github.com/cqframework/cql-execution/simple}Patient", - "type" : "Retrieve", - "include" : [ ], - "codeFilter" : [ ], - "dateFilter" : [ ], - "otherFilter" : [ ] - } - } - }, { - "localId" : "214", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Time", - "name" : "Time", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "214", - "s" : [ { - "value" : [ "","define ","Time",": " ] - }, { - "r" : "215", - "s" : [ { - "value" : [ "time from " ] - }, { - "r" : "234", - "s" : [ { - "r" : "216", - "value" : [ "DateTime","(","2000",", ","3",", ","15",", ","13",", ","30",", ","25",", ","200",", " ] - }, { - "r" : "223", - "s" : [ { - "r" : "223", - "value" : [ "+","1.0" ] - } ] - }, { - "value" : [ ")" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "215", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Time", - "type" : "TimeFrom", - "signature" : [ { - "localId" : "243", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "234", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "235", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "236", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "237", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "238", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "239", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "240", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "241", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "242", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "216", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "217", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "218", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal" - }, - "hour" : { - "localId" : "219", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "13", - "type" : "Literal" - }, - "minute" : { - "localId" : "220", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "30", - "type" : "Literal" - }, - "second" : { - "localId" : "221", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "25", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "222", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "200", - "type" : "Literal" - }, - "timezoneOffset" : { - "localId" : "223", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "1.0", - "type" : "Literal" - } - } - } - }, { - "localId" : "246", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Time", - "name" : "NoTime", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "246", - "s" : [ { - "value" : [ "","define ","NoTime",": " ] - }, { - "r" : "247", - "s" : [ { - "value" : [ "time from " ] - }, { - "r" : "256", - "s" : [ { - "r" : "248", - "value" : [ "DateTime","(","2000",", ","3",", ","15",")" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "247", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Time", - "type" : "TimeFrom", - "signature" : [ { - "localId" : "260", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "256", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "257", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "258", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "259", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "248", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "249", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "250", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal" - } - } - } - }, { - "localId" : "263", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Time", - "name" : "NullDate", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "263", - "s" : [ { - "value" : [ "","define ","NullDate",": " ] - }, { - "r" : "264", - "s" : [ { - "r" : "265", - "value" : [ "time from ","null" ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "264", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Time", - "type" : "TimeFrom", - "signature" : [ { - "localId" : "267", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "266", - "asType" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "As", - "signature" : [ ], - "operand" : { - "localId" : "265", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - } - } - } - } ] - } - } + "value" : [ "", "define ", "NullDate", ": " ] + }, { + "r" : "264", + "s" : [ { + "r" : "265", + "value" : [ "time from ", "null" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "TimeFrom", + "localId" : "264", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Time", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "267", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } ], + "operand" : { + "type" : "As", + "localId" : "266", + "asType" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Null", + "localId" : "265", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } + } + } + } ] + } + } } /* TimezoneOffsetFrom @@ -3136,560 +3496,633 @@ define NullDate: timezoneoffset from (null as DateTime) */ module.exports['TimezoneOffsetFrom'] = { - "library" : { - "localId" : "0", - "annotation" : [ { - "translatorVersion" : "3.27.0", - "translatorOptions" : "EnableDateRangeOptimization,EnableAnnotations,EnableResultTypes", - "signatureLevel" : "All", - "type" : "CqlToElmInfo" - }, { - "type" : "Annotation", - "s" : { - "r" : "309", + "library" : { + "localId" : "0", + "annotation" : [ { + "type" : "CqlToElmInfo", + "translatorVersion" : "4.2.0", + "translatorOptions" : "EnableDateRangeOptimization,EnableAnnotations,EnableResultTypes", + "signatureLevel" : "All" + }, { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "309", + "s" : [ { + "value" : [ "", "library TestSnippet version '1'" ] + } ] + } + } ], + "identifier" : { + "id" : "TestSnippet", + "version" : "1" + }, + "schemaIdentifier" : { + "id" : "urn:hl7-org:elm", + "version" : "r1" + }, + "usings" : { + "def" : [ { + "localId" : "1", + "localIdentifier" : "System", + "uri" : "urn:hl7-org:elm-types:r1", + "annotation" : [ ] + }, { + "localId" : "206", + "localIdentifier" : "Simple", + "uri" : "https://github.com/cqframework/cql-execution/simple", + "version" : "1.0.0", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "206", "s" : [ { - "value" : [ "","library TestSnippet version '1'" ] - } ] - } - } ], - "identifier" : { - "id" : "TestSnippet", - "version" : "1" - }, - "schemaIdentifier" : { - "id" : "urn:hl7-org:elm", - "version" : "r1" - }, - "usings" : { - "def" : [ { - "localId" : "1", - "localIdentifier" : "System", - "uri" : "urn:hl7-org:elm-types:r1" - }, { - "localId" : "206", - "localIdentifier" : "Simple", - "uri" : "https://github.com/cqframework/cql-execution/simple", - "version" : "1.0.0", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "206", - "s" : [ { - "value" : [ "","using " ] - }, { - "s" : [ { - "value" : [ "Simple" ] - } ] - }, { - "value" : [ " version '1.0.0'" ] - } ] - } - } ] - } ] - }, - "contexts" : { - "def" : [ { - "localId" : "211", - "name" : "Patient" - } ] - }, - "statements" : { - "def" : [ { - "localId" : "209", - "name" : "Patient", - "context" : "Patient", - "expression" : { - "localId" : "210", - "type" : "SingletonFrom", - "signature" : [ ], - "operand" : { - "localId" : "208", - "dataType" : "{https://github.com/cqframework/cql-execution/simple}Patient", - "type" : "Retrieve", - "include" : [ ], - "codeFilter" : [ ], - "dateFilter" : [ ], - "otherFilter" : [ ] - } - } - }, { - "localId" : "214", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "name" : "CentralEuropean", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "214", - "s" : [ { - "value" : [ "","define ","CentralEuropean",": " ] - }, { - "r" : "215", - "s" : [ { - "value" : [ "timezoneoffset from " ] - }, { - "r" : "234", - "s" : [ { - "r" : "216", - "value" : [ "DateTime","(","2000",", ","3",", ","15",", ","13",", ","30",", ","25",", ","200",", " ] - }, { - "r" : "223", - "s" : [ { - "r" : "223", - "value" : [ "+","1.0" ] - } ] - }, { - "value" : [ ")" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "215", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "TimezoneOffsetFrom", - "signature" : [ { - "localId" : "243", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "234", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "235", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "236", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "237", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "238", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "239", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "240", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "241", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "242", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "216", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "217", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "218", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal" - }, - "hour" : { - "localId" : "219", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "13", - "type" : "Literal" - }, - "minute" : { - "localId" : "220", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "30", - "type" : "Literal" - }, - "second" : { - "localId" : "221", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "25", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "222", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "200", - "type" : "Literal" - }, - "timezoneOffset" : { - "localId" : "223", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "1.0", - "type" : "Literal" - } - } - } - }, { - "localId" : "246", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "name" : "EasternStandard", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "246", - "s" : [ { - "value" : [ "","define ","EasternStandard",": " ] - }, { - "r" : "247", - "s" : [ { - "value" : [ "timezoneoffset from " ] - }, { - "r" : "268", - "s" : [ { - "r" : "248", - "value" : [ "DateTime","(","2000",", ","3",", ","15",", ","13",", ","30",", ","25",", ","200",", " ] - }, { - "r" : "255", - "s" : [ { - "r" : "256", - "value" : [ "-","5.0" ] - } ] - }, { - "value" : [ ")" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "247", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "TimezoneOffsetFrom", - "signature" : [ { - "localId" : "277", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "268", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "269", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "270", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "271", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "272", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "273", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "274", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "275", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "276", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "248", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "249", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "250", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal" - }, - "hour" : { - "localId" : "251", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "13", - "type" : "Literal" - }, - "minute" : { - "localId" : "252", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "30", - "type" : "Literal" - }, - "second" : { - "localId" : "253", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "25", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "254", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "200", - "type" : "Literal" - }, - "timezoneOffset" : { - "localId" : "255", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "Negate", - "signature" : [ { - "localId" : "257", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "256", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "5.0", - "type" : "Literal" - } - } - } - } - }, { - "localId" : "280", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "name" : "DefaultTimezone", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "280", + "value" : [ "", "using " ] + }, { + "s" : [ { + "value" : [ "Simple" ] + } ] + }, { + "value" : [ " version '1.0.0'" ] + } ] + } + } ] + } ] + }, + "contexts" : { + "def" : [ { + "localId" : "211", + "name" : "Patient", + "annotation" : [ ] + } ] + }, + "statements" : { + "def" : [ { + "localId" : "209", + "name" : "Patient", + "context" : "Patient", + "annotation" : [ ], + "expression" : { + "type" : "SingletonFrom", + "localId" : "210", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Retrieve", + "localId" : "208", + "dataType" : "{https://github.com/cqframework/cql-execution/simple}Patient", + "annotation" : [ ], + "include" : [ ], + "codeFilter" : [ ], + "dateFilter" : [ ], + "otherFilter" : [ ] + } + } + }, { + "localId" : "214", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "name" : "CentralEuropean", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "214", + "s" : [ { + "value" : [ "", "define ", "CentralEuropean", ": " ] + }, { + "r" : "215", + "s" : [ { + "value" : [ "timezoneoffset from " ] + }, { + "r" : "234", + "s" : [ { + "r" : "216", + "value" : [ "DateTime", "(", "2000", ", ", "3", ", ", "15", ", ", "13", ", ", "30", ", ", "25", ", ", "200", ", " ] + }, { + "r" : "223", "s" : [ { - "value" : [ "","define ","DefaultTimezone",": " ] - }, { - "r" : "281", - "s" : [ { - "value" : [ "timezoneoffset from " ] - }, { - "r" : "298", - "s" : [ { - "r" : "282", - "value" : [ "DateTime","(","2000",", ","3",", ","15",", ","13",", ","30",", ","25",", ","200",")" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "281", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "TimezoneOffsetFrom", - "signature" : [ { - "localId" : "306", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "298", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "299", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "300", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "301", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "302", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "303", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "304", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "305", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "282", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "283", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "284", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal" - }, - "hour" : { - "localId" : "285", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "13", - "type" : "Literal" - }, - "minute" : { - "localId" : "286", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "30", - "type" : "Literal" - }, - "second" : { - "localId" : "287", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "25", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "288", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "200", - "type" : "Literal" - } - } - } - }, { - "localId" : "309", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "name" : "NullDate", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "309", + "r" : "223", + "value" : [ "+", "1.0" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "TimezoneOffsetFrom", + "localId" : "215", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "243", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } ], + "operand" : { + "type" : "DateTime", + "localId" : "234", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "235", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "236", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "237", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "238", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "239", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "240", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "241", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "242", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "216", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "217", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "218", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "15", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "219", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "13", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "220", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "30", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "221", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "25", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "222", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "200", + "annotation" : [ ] + }, + "timezoneOffset" : { + "type" : "Literal", + "localId" : "223", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "1.0", + "annotation" : [ ] + } + } + } + }, { + "localId" : "246", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "name" : "EasternStandard", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "246", + "s" : [ { + "value" : [ "", "define ", "EasternStandard", ": " ] + }, { + "r" : "247", + "s" : [ { + "value" : [ "timezoneoffset from " ] + }, { + "r" : "268", + "s" : [ { + "r" : "248", + "value" : [ "DateTime", "(", "2000", ", ", "3", ", ", "15", ", ", "13", ", ", "30", ", ", "25", ", ", "200", ", " ] + }, { + "r" : "255", + "s" : [ { + "r" : "256", + "value" : [ "-", "5.0" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "TimezoneOffsetFrom", + "localId" : "247", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "277", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } ], + "operand" : { + "type" : "DateTime", + "localId" : "268", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "269", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "270", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "271", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "272", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "273", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "274", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "275", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "276", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "248", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "249", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "250", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "15", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "251", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "13", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "252", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "30", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "253", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "25", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "254", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "200", + "annotation" : [ ] + }, + "timezoneOffset" : { + "type" : "Negate", + "localId" : "255", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "257", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } ], + "operand" : { + "type" : "Literal", + "localId" : "256", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "5.0", + "annotation" : [ ] + } + } + } + } + }, { + "localId" : "280", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "name" : "DefaultTimezone", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "280", + "s" : [ { + "value" : [ "", "define ", "DefaultTimezone", ": " ] + }, { + "r" : "281", + "s" : [ { + "value" : [ "timezoneoffset from " ] + }, { + "r" : "298", + "s" : [ { + "r" : "282", + "value" : [ "DateTime", "(", "2000", ", ", "3", ", ", "15", ", ", "13", ", ", "30", ", ", "25", ", ", "200", ")" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "TimezoneOffsetFrom", + "localId" : "281", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "306", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } ], + "operand" : { + "type" : "DateTime", + "localId" : "298", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "299", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "300", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "301", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "302", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "303", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "304", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "305", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "282", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "283", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "284", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "15", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "285", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "13", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "286", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "30", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "287", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "25", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "288", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "200", + "annotation" : [ ] + } + } + } + }, { + "localId" : "309", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "name" : "NullDate", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "309", + "s" : [ { + "value" : [ "", "define ", "NullDate", ": " ] + }, { + "r" : "310", + "s" : [ { + "value" : [ "timezoneoffset from " ] + }, { + "r" : "311", + "s" : [ { + "value" : [ "(" ] + }, { + "r" : "311", "s" : [ { - "value" : [ "","define ","NullDate",": " ] + "r" : "312", + "value" : [ "null", " as " ] }, { - "r" : "310", - "s" : [ { - "value" : [ "timezoneoffset from " ] - }, { - "r" : "311", - "s" : [ { - "value" : [ "(" ] - }, { - "r" : "311", - "s" : [ { - "r" : "312", - "value" : [ "null"," as " ] - }, { - "r" : "313", - "s" : [ { - "value" : [ "DateTime" ] - } ] - } ] - }, { - "value" : [ ")" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "310", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "TimezoneOffsetFrom", - "signature" : [ { - "localId" : "314", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "311", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "strict" : false, - "type" : "As", - "signature" : [ ], - "operand" : { - "localId" : "312", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - }, - "asTypeSpecifier" : { - "localId" : "313", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - } - } ] - } - } -} - -/* SameAs -library TestSnippet version '1' + "r" : "313", + "s" : [ { + "value" : [ "DateTime" ] + } ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "TimezoneOffsetFrom", + "localId" : "310", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "314", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } ], + "operand" : { + "type" : "As", + "localId" : "311", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "strict" : false, + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Null", + "localId" : "312", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + }, + "asTypeSpecifier" : { + "type" : "NamedTypeSpecifier", + "localId" : "313", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + } + } ] + } + } +} + +/* SameAs +library TestSnippet version '1' using Simple version '1.0.0' context Patient define SameYear: DateTime(2000, 3, 15, 13, 30, 25, 200, +1.0) same year as DateTime(2000, 11, 23, 8, 14, 47, 500, +1.0) @@ -3724,52487 +4157,60221 @@ define NullBoth: (null as DateTime) same as null */ module.exports['SameAs'] = { - "library" : { - "localId" : "0", - "annotation" : [ { - "translatorVersion" : "3.27.0", - "translatorOptions" : "EnableDateRangeOptimization,EnableAnnotations,EnableResultTypes", - "signatureLevel" : "All", - "type" : "CqlToElmInfo" - }, { - "type" : "Annotation", - "s" : { - "r" : "1813", + "library" : { + "localId" : "0", + "annotation" : [ { + "type" : "CqlToElmInfo", + "translatorVersion" : "4.2.0", + "translatorOptions" : "EnableDateRangeOptimization,EnableAnnotations,EnableResultTypes", + "signatureLevel" : "All" + }, { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "1813", + "s" : [ { + "value" : [ "", "library TestSnippet version '1'" ] + } ] + } + } ], + "identifier" : { + "id" : "TestSnippet", + "version" : "1" + }, + "schemaIdentifier" : { + "id" : "urn:hl7-org:elm", + "version" : "r1" + }, + "usings" : { + "def" : [ { + "localId" : "1", + "localIdentifier" : "System", + "uri" : "urn:hl7-org:elm-types:r1", + "annotation" : [ ] + }, { + "localId" : "206", + "localIdentifier" : "Simple", + "uri" : "https://github.com/cqframework/cql-execution/simple", + "version" : "1.0.0", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "206", "s" : [ { - "value" : [ "","library TestSnippet version '1'" ] - } ] - } - } ], - "identifier" : { - "id" : "TestSnippet", - "version" : "1" - }, - "schemaIdentifier" : { - "id" : "urn:hl7-org:elm", - "version" : "r1" - }, - "usings" : { - "def" : [ { - "localId" : "1", - "localIdentifier" : "System", - "uri" : "urn:hl7-org:elm-types:r1" - }, { - "localId" : "206", - "localIdentifier" : "Simple", - "uri" : "https://github.com/cqframework/cql-execution/simple", - "version" : "1.0.0", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "206", - "s" : [ { - "value" : [ "","using " ] - }, { - "s" : [ { - "value" : [ "Simple" ] - } ] - }, { - "value" : [ " version '1.0.0'" ] - } ] - } - } ] - } ] - }, - "contexts" : { - "def" : [ { - "localId" : "211", - "name" : "Patient" - } ] - }, - "statements" : { - "def" : [ { - "localId" : "209", - "name" : "Patient", - "context" : "Patient", - "expression" : { - "localId" : "210", - "type" : "SingletonFrom", - "signature" : [ ], - "operand" : { - "localId" : "208", - "dataType" : "{https://github.com/cqframework/cql-execution/simple}Patient", - "type" : "Retrieve", - "include" : [ ], - "codeFilter" : [ ], - "dateFilter" : [ ], - "otherFilter" : [ ] - } - } - }, { - "localId" : "214", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "SameYear", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "214", - "s" : [ { - "value" : [ "","define ","SameYear",": " ] - }, { - "r" : "269", - "s" : [ { - "r" : "233", - "s" : [ { - "r" : "215", - "value" : [ "DateTime","(","2000",", ","3",", ","15",", ","13",", ","30",", ","25",", ","200",", " ] - }, { - "r" : "222", - "s" : [ { - "r" : "222", - "value" : [ "+","1.0" ] - } ] - }, { - "value" : [ ")" ] - } ] - }, { - "r" : "269", - "value" : [ " ","same year as"," " ] - }, { - "r" : "260", - "s" : [ { - "r" : "242", - "value" : [ "DateTime","(","2000",", ","11",", ","23",", ","8",", ","14",", ","47",", ","500",", " ] - }, { - "r" : "249", - "s" : [ { - "r" : "249", - "value" : [ "+","1.0" ] - } ] - }, { - "value" : [ ")" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "269", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "precision" : "Year", - "type" : "SameAs", - "signature" : [ { - "localId" : "270", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "271", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "233", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "234", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "235", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "236", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "237", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "238", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "239", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "240", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "241", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "215", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "216", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "217", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal" - }, - "hour" : { - "localId" : "218", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "13", - "type" : "Literal" - }, - "minute" : { - "localId" : "219", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "30", - "type" : "Literal" - }, - "second" : { - "localId" : "220", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "25", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "221", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "200", - "type" : "Literal" - }, - "timezoneOffset" : { - "localId" : "222", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "1.0", - "type" : "Literal" - } - }, { - "localId" : "260", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "261", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "262", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "263", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "264", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "265", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "266", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "267", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "268", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "242", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "243", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "11", - "type" : "Literal" - }, - "day" : { - "localId" : "244", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "23", - "type" : "Literal" - }, - "hour" : { - "localId" : "245", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "8", - "type" : "Literal" - }, - "minute" : { - "localId" : "246", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "14", - "type" : "Literal" - }, - "second" : { - "localId" : "247", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "47", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "248", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "500", - "type" : "Literal" - }, - "timezoneOffset" : { - "localId" : "249", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "1.0", - "type" : "Literal" - } - } ] - } - }, { - "localId" : "274", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "NotSameYear", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "274", - "s" : [ { - "value" : [ "","define ","NotSameYear",": " ] - }, { - "r" : "329", - "s" : [ { - "r" : "293", - "s" : [ { - "r" : "275", - "value" : [ "DateTime","(","2000",", ","3",", ","15",", ","13",", ","30",", ","25",", ","200",", " ] - }, { - "r" : "282", - "s" : [ { - "r" : "282", - "value" : [ "+","1.0" ] - } ] - }, { - "value" : [ ")" ] - } ] - }, { - "r" : "329", - "value" : [ " ","same year as"," " ] - }, { - "r" : "320", - "s" : [ { - "r" : "302", - "value" : [ "DateTime","(","2001",", ","11",", ","23",", ","8",", ","14",", ","47",", ","500",", " ] - }, { - "r" : "309", - "s" : [ { - "r" : "309", - "value" : [ "+","1.0" ] - } ] - }, { - "value" : [ ")" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "329", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "precision" : "Year", - "type" : "SameAs", - "signature" : [ { - "localId" : "330", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "331", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "293", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "294", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "295", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "296", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "297", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "298", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "299", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "300", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "301", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "275", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "276", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "277", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal" - }, - "hour" : { - "localId" : "278", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "13", - "type" : "Literal" - }, - "minute" : { - "localId" : "279", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "30", - "type" : "Literal" - }, - "second" : { - "localId" : "280", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "25", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "281", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "200", - "type" : "Literal" - }, - "timezoneOffset" : { - "localId" : "282", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "1.0", - "type" : "Literal" - } - }, { - "localId" : "320", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "321", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "322", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "323", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "324", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "325", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "326", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "327", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "328", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "302", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2001", - "type" : "Literal" - }, - "month" : { - "localId" : "303", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "11", - "type" : "Literal" - }, - "day" : { - "localId" : "304", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "23", - "type" : "Literal" - }, - "hour" : { - "localId" : "305", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "8", - "type" : "Literal" - }, - "minute" : { - "localId" : "306", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "14", - "type" : "Literal" - }, - "second" : { - "localId" : "307", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "47", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "308", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "500", - "type" : "Literal" - }, - "timezoneOffset" : { - "localId" : "309", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "1.0", - "type" : "Literal" - } - } ] - } - }, { - "localId" : "334", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "SameMonth", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "334", - "s" : [ { - "value" : [ "","define ","SameMonth",": " ] - }, { - "r" : "389", - "s" : [ { - "r" : "353", - "s" : [ { - "r" : "335", - "value" : [ "DateTime","(","2000",", ","3",", ","15",", ","13",", ","30",", ","25",", ","200",", " ] - }, { - "r" : "342", - "s" : [ { - "r" : "342", - "value" : [ "+","1.0" ] - } ] - }, { - "value" : [ ")" ] - } ] - }, { - "r" : "389", - "value" : [ " ","same month as"," " ] - }, { - "r" : "380", - "s" : [ { - "r" : "362", - "value" : [ "DateTime","(","2000",", ","3",", ","23",", ","8",", ","14",", ","47",", ","500",", " ] - }, { - "r" : "369", - "s" : [ { - "r" : "369", - "value" : [ "+","1.0" ] - } ] - }, { - "value" : [ ")" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "389", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "precision" : "Month", - "type" : "SameAs", - "signature" : [ { - "localId" : "390", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "391", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "353", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "354", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "355", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "356", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "357", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "358", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "359", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "360", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "361", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "335", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "336", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "337", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal" - }, - "hour" : { - "localId" : "338", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "13", - "type" : "Literal" - }, - "minute" : { - "localId" : "339", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "30", - "type" : "Literal" - }, - "second" : { - "localId" : "340", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "25", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "341", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "200", - "type" : "Literal" - }, - "timezoneOffset" : { - "localId" : "342", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "1.0", - "type" : "Literal" - } - }, { - "localId" : "380", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "381", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "382", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "383", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "384", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "385", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "386", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "387", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "388", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "362", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "363", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "364", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "23", - "type" : "Literal" - }, - "hour" : { - "localId" : "365", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "8", - "type" : "Literal" - }, - "minute" : { - "localId" : "366", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "14", - "type" : "Literal" - }, - "second" : { - "localId" : "367", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "47", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "368", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "500", - "type" : "Literal" - }, - "timezoneOffset" : { - "localId" : "369", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "1.0", - "type" : "Literal" - } - } ] - } - }, { - "localId" : "394", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "NotSameMonth", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "394", - "s" : [ { - "value" : [ "","define ","NotSameMonth",": " ] - }, { - "r" : "449", - "s" : [ { - "r" : "413", - "s" : [ { - "r" : "395", - "value" : [ "DateTime","(","2000",", ","3",", ","15",", ","13",", ","30",", ","25",", ","200",", " ] - }, { - "r" : "402", - "s" : [ { - "r" : "402", - "value" : [ "+","1.0" ] - } ] - }, { - "value" : [ ")" ] - } ] - }, { - "r" : "449", - "value" : [ " ","same month as"," " ] - }, { - "r" : "440", - "s" : [ { - "r" : "422", - "value" : [ "DateTime","(","2000",", ","4",", ","23",", ","8",", ","14",", ","47",", ","500",", " ] - }, { - "r" : "429", - "s" : [ { - "r" : "429", - "value" : [ "+","1.0" ] - } ] - }, { - "value" : [ ")" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "449", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "precision" : "Month", - "type" : "SameAs", - "signature" : [ { - "localId" : "450", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "451", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "413", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "414", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "415", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "416", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "417", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "418", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "419", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "420", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "421", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "395", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "396", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "397", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal" - }, - "hour" : { - "localId" : "398", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "13", - "type" : "Literal" - }, - "minute" : { - "localId" : "399", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "30", - "type" : "Literal" - }, - "second" : { - "localId" : "400", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "25", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "401", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "200", - "type" : "Literal" - }, - "timezoneOffset" : { - "localId" : "402", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "1.0", - "type" : "Literal" - } - }, { - "localId" : "440", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "441", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "442", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "443", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "444", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "445", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "446", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "447", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "448", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "422", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "423", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "4", - "type" : "Literal" - }, - "day" : { - "localId" : "424", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "23", - "type" : "Literal" - }, - "hour" : { - "localId" : "425", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "8", - "type" : "Literal" - }, - "minute" : { - "localId" : "426", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "14", - "type" : "Literal" - }, - "second" : { - "localId" : "427", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "47", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "428", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "500", - "type" : "Literal" - }, - "timezoneOffset" : { - "localId" : "429", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "1.0", - "type" : "Literal" - } - } ] - } - }, { - "localId" : "454", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "SameMonthWrongYear", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "454", - "s" : [ { - "value" : [ "","define ","SameMonthWrongYear",": " ] - }, { - "r" : "509", - "s" : [ { - "r" : "473", - "s" : [ { - "r" : "455", - "value" : [ "DateTime","(","2000",", ","3",", ","15",", ","13",", ","30",", ","25",", ","200",", " ] - }, { - "r" : "462", - "s" : [ { - "r" : "462", - "value" : [ "+","1.0" ] - } ] - }, { - "value" : [ ")" ] - } ] - }, { - "r" : "509", - "value" : [ " ","same month as"," " ] - }, { - "r" : "500", - "s" : [ { - "r" : "482", - "value" : [ "DateTime","(","2001",", ","3",", ","23",", ","8",", ","14",", ","47",", ","500",", " ] - }, { - "r" : "489", - "s" : [ { - "r" : "489", - "value" : [ "+","1.0" ] - } ] - }, { - "value" : [ ")" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "509", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "precision" : "Month", - "type" : "SameAs", - "signature" : [ { - "localId" : "510", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "511", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "473", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "474", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "475", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "476", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "477", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "478", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "479", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "480", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "481", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "455", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "456", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "457", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal" - }, - "hour" : { - "localId" : "458", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "13", - "type" : "Literal" - }, - "minute" : { - "localId" : "459", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "30", - "type" : "Literal" - }, - "second" : { - "localId" : "460", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "25", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "461", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "200", - "type" : "Literal" - }, - "timezoneOffset" : { - "localId" : "462", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "1.0", - "type" : "Literal" - } - }, { - "localId" : "500", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "501", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "502", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "503", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "504", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "505", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "506", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "507", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "508", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "482", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2001", - "type" : "Literal" - }, - "month" : { - "localId" : "483", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "484", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "23", - "type" : "Literal" - }, - "hour" : { - "localId" : "485", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "8", - "type" : "Literal" - }, - "minute" : { - "localId" : "486", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "14", - "type" : "Literal" - }, - "second" : { - "localId" : "487", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "47", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "488", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "500", - "type" : "Literal" - }, - "timezoneOffset" : { - "localId" : "489", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "1.0", - "type" : "Literal" - } - } ] - } - }, { - "localId" : "514", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "SameDay", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "514", - "s" : [ { - "value" : [ "","define ","SameDay",": " ] - }, { - "r" : "569", - "s" : [ { - "r" : "533", - "s" : [ { - "r" : "515", - "value" : [ "DateTime","(","2000",", ","3",", ","15",", ","13",", ","30",", ","25",", ","200",", " ] - }, { - "r" : "522", - "s" : [ { - "r" : "522", - "value" : [ "+","1.0" ] - } ] - }, { - "value" : [ ")" ] - } ] - }, { - "r" : "569", - "value" : [ " ","same day as"," " ] - }, { - "r" : "560", - "s" : [ { - "r" : "542", - "value" : [ "DateTime","(","2000",", ","3",", ","15",", ","8",", ","14",", ","47",", ","500",", " ] - }, { - "r" : "549", - "s" : [ { - "r" : "549", - "value" : [ "+","1.0" ] - } ] - }, { - "value" : [ ")" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "569", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "precision" : "Day", - "type" : "SameAs", - "signature" : [ { - "localId" : "570", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "571", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "533", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "534", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "535", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "536", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "537", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "538", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "539", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "540", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "541", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "515", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "516", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "517", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal" - }, - "hour" : { - "localId" : "518", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "13", - "type" : "Literal" - }, - "minute" : { - "localId" : "519", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "30", - "type" : "Literal" - }, - "second" : { - "localId" : "520", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "25", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "521", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "200", - "type" : "Literal" - }, - "timezoneOffset" : { - "localId" : "522", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "1.0", - "type" : "Literal" - } - }, { - "localId" : "560", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "561", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "562", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "563", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "564", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "565", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "566", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "567", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "568", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "542", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "543", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "544", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal" - }, - "hour" : { - "localId" : "545", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "8", - "type" : "Literal" - }, - "minute" : { - "localId" : "546", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "14", - "type" : "Literal" - }, - "second" : { - "localId" : "547", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "47", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "548", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "500", - "type" : "Literal" - }, - "timezoneOffset" : { - "localId" : "549", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "1.0", - "type" : "Literal" - } - } ] - } - }, { - "localId" : "574", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "NotSameDay", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "574", - "s" : [ { - "value" : [ "","define ","NotSameDay",": " ] - }, { - "r" : "629", - "s" : [ { - "r" : "593", - "s" : [ { - "r" : "575", - "value" : [ "DateTime","(","2000",", ","3",", ","15",", ","13",", ","30",", ","25",", ","200",", " ] - }, { - "r" : "582", - "s" : [ { - "r" : "582", - "value" : [ "+","1.0" ] - } ] - }, { - "value" : [ ")" ] - } ] - }, { - "r" : "629", - "value" : [ " ","same day as"," " ] - }, { - "r" : "620", - "s" : [ { - "r" : "602", - "value" : [ "DateTime","(","2000",", ","3",", ","23",", ","8",", ","14",", ","47",", ","500",", " ] - }, { - "r" : "609", - "s" : [ { - "r" : "609", - "value" : [ "+","1.0" ] - } ] - }, { - "value" : [ ")" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "629", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "precision" : "Day", - "type" : "SameAs", - "signature" : [ { - "localId" : "630", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "631", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "593", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "594", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "595", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "596", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "597", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "598", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "599", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "600", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "601", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "575", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "576", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "577", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal" - }, - "hour" : { - "localId" : "578", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "13", - "type" : "Literal" - }, - "minute" : { - "localId" : "579", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "30", - "type" : "Literal" - }, - "second" : { - "localId" : "580", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "25", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "581", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "200", - "type" : "Literal" - }, - "timezoneOffset" : { - "localId" : "582", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "1.0", - "type" : "Literal" - } - }, { - "localId" : "620", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "621", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "622", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "623", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "624", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "625", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "626", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "627", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "628", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "602", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "603", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "604", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "23", - "type" : "Literal" - }, - "hour" : { - "localId" : "605", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "8", - "type" : "Literal" - }, - "minute" : { - "localId" : "606", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "14", - "type" : "Literal" - }, - "second" : { - "localId" : "607", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "47", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "608", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "500", - "type" : "Literal" - }, - "timezoneOffset" : { - "localId" : "609", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "1.0", - "type" : "Literal" - } - } ] - } - }, { - "localId" : "634", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "SameDayWrongMonth", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "634", - "s" : [ { - "value" : [ "","define ","SameDayWrongMonth",": " ] - }, { - "r" : "689", - "s" : [ { - "r" : "653", - "s" : [ { - "r" : "635", - "value" : [ "DateTime","(","2000",", ","3",", ","15",", ","13",", ","30",", ","25",", ","200",", " ] - }, { - "r" : "642", - "s" : [ { - "r" : "642", - "value" : [ "+","1.0" ] - } ] - }, { - "value" : [ ")" ] - } ] - }, { - "r" : "689", - "value" : [ " ","same day as"," " ] - }, { - "r" : "680", - "s" : [ { - "r" : "662", - "value" : [ "DateTime","(","2000",", ","4",", ","15",", ","8",", ","14",", ","47",", ","500",", " ] - }, { - "r" : "669", - "s" : [ { - "r" : "669", - "value" : [ "+","1.0" ] - } ] - }, { - "value" : [ ")" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "689", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "precision" : "Day", - "type" : "SameAs", - "signature" : [ { - "localId" : "690", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "691", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "653", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "654", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "655", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "656", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "657", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "658", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "659", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "660", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "661", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "635", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "636", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "637", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal" - }, - "hour" : { - "localId" : "638", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "13", - "type" : "Literal" - }, - "minute" : { - "localId" : "639", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "30", - "type" : "Literal" - }, - "second" : { - "localId" : "640", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "25", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "641", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "200", - "type" : "Literal" - }, - "timezoneOffset" : { - "localId" : "642", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "1.0", - "type" : "Literal" - } - }, { - "localId" : "680", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "681", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "682", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "683", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "684", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "685", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "686", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "687", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "688", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "662", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "663", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "4", - "type" : "Literal" - }, - "day" : { - "localId" : "664", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal" - }, - "hour" : { - "localId" : "665", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "8", - "type" : "Literal" - }, - "minute" : { - "localId" : "666", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "14", - "type" : "Literal" - }, - "second" : { - "localId" : "667", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "47", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "668", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "500", - "type" : "Literal" - }, - "timezoneOffset" : { - "localId" : "669", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "1.0", - "type" : "Literal" - } - } ] - } - }, { - "localId" : "694", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "SameHour", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "694", - "s" : [ { - "value" : [ "","define ","SameHour",": " ] - }, { - "r" : "749", - "s" : [ { - "r" : "713", - "s" : [ { - "r" : "695", - "value" : [ "DateTime","(","2000",", ","3",", ","15",", ","13",", ","30",", ","25",", ","200",", " ] - }, { - "r" : "702", - "s" : [ { - "r" : "702", - "value" : [ "+","1.0" ] - } ] - }, { - "value" : [ ")" ] - } ] - }, { - "r" : "749", - "value" : [ " ","same hour as"," " ] - }, { - "r" : "740", - "s" : [ { - "r" : "722", - "value" : [ "DateTime","(","2000",", ","3",", ","15",", ","13",", ","14",", ","47",", ","500",", " ] - }, { - "r" : "729", - "s" : [ { - "r" : "729", - "value" : [ "+","1.0" ] - } ] - }, { - "value" : [ ")" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "749", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "precision" : "Hour", - "type" : "SameAs", - "signature" : [ { - "localId" : "750", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "751", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "713", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "714", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "715", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "716", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "717", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "718", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "719", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "720", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "721", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "695", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "696", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "697", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal" - }, - "hour" : { - "localId" : "698", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "13", - "type" : "Literal" - }, - "minute" : { - "localId" : "699", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "30", - "type" : "Literal" - }, - "second" : { - "localId" : "700", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "25", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "701", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "200", - "type" : "Literal" - }, - "timezoneOffset" : { - "localId" : "702", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "1.0", - "type" : "Literal" - } - }, { - "localId" : "740", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "741", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "742", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "743", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "744", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "745", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "746", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "747", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "748", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "722", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "723", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "724", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal" - }, - "hour" : { - "localId" : "725", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "13", - "type" : "Literal" - }, - "minute" : { - "localId" : "726", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "14", - "type" : "Literal" - }, - "second" : { - "localId" : "727", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "47", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "728", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "500", - "type" : "Literal" - }, - "timezoneOffset" : { - "localId" : "729", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "1.0", - "type" : "Literal" - } - } ] - } - }, { - "localId" : "754", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "NotSameHour", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "754", - "s" : [ { - "value" : [ "","define ","NotSameHour",": " ] - }, { - "r" : "809", - "s" : [ { - "r" : "773", - "s" : [ { - "r" : "755", - "value" : [ "DateTime","(","2000",", ","3",", ","15",", ","13",", ","30",", ","25",", ","200",", " ] - }, { - "r" : "762", - "s" : [ { - "r" : "762", - "value" : [ "+","1.0" ] - } ] - }, { - "value" : [ ")" ] - } ] - }, { - "r" : "809", - "value" : [ " ","same hour as"," " ] - }, { - "r" : "800", - "s" : [ { - "r" : "782", - "value" : [ "DateTime","(","2000",", ","3",", ","15",", ","8",", ","14",", ","47",", ","500",", " ] - }, { - "r" : "789", - "s" : [ { - "r" : "789", - "value" : [ "+","1.0" ] - } ] - }, { - "value" : [ ")" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "809", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "precision" : "Hour", - "type" : "SameAs", - "signature" : [ { - "localId" : "810", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "811", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "773", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "774", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "775", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "776", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "777", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "778", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "779", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "780", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "781", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "755", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "756", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "757", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal" - }, - "hour" : { - "localId" : "758", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "13", - "type" : "Literal" - }, - "minute" : { - "localId" : "759", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "30", - "type" : "Literal" - }, - "second" : { - "localId" : "760", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "25", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "761", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "200", - "type" : "Literal" - }, - "timezoneOffset" : { - "localId" : "762", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "1.0", - "type" : "Literal" - } - }, { - "localId" : "800", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "801", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "802", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "803", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "804", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "805", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "806", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "807", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "808", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "782", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "783", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "784", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal" - }, - "hour" : { - "localId" : "785", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "8", - "type" : "Literal" - }, - "minute" : { - "localId" : "786", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "14", - "type" : "Literal" - }, - "second" : { - "localId" : "787", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "47", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "788", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "500", - "type" : "Literal" - }, - "timezoneOffset" : { - "localId" : "789", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "1.0", - "type" : "Literal" - } - } ] - } - }, { - "localId" : "814", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "SameHourWrongDay", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "814", - "s" : [ { - "value" : [ "","define ","SameHourWrongDay",": " ] - }, { - "r" : "869", - "s" : [ { - "r" : "833", - "s" : [ { - "r" : "815", - "value" : [ "DateTime","(","2000",", ","3",", ","15",", ","13",", ","30",", ","25",", ","200",", " ] - }, { - "r" : "822", - "s" : [ { - "r" : "822", - "value" : [ "+","1.0" ] - } ] - }, { - "value" : [ ")" ] - } ] - }, { - "r" : "869", - "value" : [ " ","same hour as"," " ] - }, { - "r" : "860", - "s" : [ { - "r" : "842", - "value" : [ "DateTime","(","2000",", ","3",", ","16",", ","13",", ","14",", ","47",", ","500",", " ] - }, { - "r" : "849", - "s" : [ { - "r" : "849", - "value" : [ "+","1.0" ] - } ] - }, { - "value" : [ ")" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "869", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "precision" : "Hour", - "type" : "SameAs", - "signature" : [ { - "localId" : "870", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "871", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "833", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "834", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "835", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "836", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "837", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "838", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "839", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "840", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "841", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "815", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "816", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "817", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal" - }, - "hour" : { - "localId" : "818", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "13", - "type" : "Literal" - }, - "minute" : { - "localId" : "819", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "30", - "type" : "Literal" - }, - "second" : { - "localId" : "820", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "25", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "821", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "200", - "type" : "Literal" - }, - "timezoneOffset" : { - "localId" : "822", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "1.0", - "type" : "Literal" - } - }, { - "localId" : "860", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "861", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "862", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "863", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "864", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "865", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "866", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "867", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "868", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "842", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "843", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "844", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "16", - "type" : "Literal" - }, - "hour" : { - "localId" : "845", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "13", - "type" : "Literal" - }, - "minute" : { - "localId" : "846", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "14", - "type" : "Literal" - }, - "second" : { - "localId" : "847", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "47", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "848", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "500", - "type" : "Literal" - }, - "timezoneOffset" : { - "localId" : "849", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "1.0", - "type" : "Literal" - } - } ] - } - }, { - "localId" : "874", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "SameMinute", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "874", - "s" : [ { - "value" : [ "","define ","SameMinute",": " ] - }, { - "r" : "929", - "s" : [ { - "r" : "893", - "s" : [ { - "r" : "875", - "value" : [ "DateTime","(","2000",", ","3",", ","15",", ","13",", ","30",", ","25",", ","200",", " ] - }, { - "r" : "882", - "s" : [ { - "r" : "882", - "value" : [ "+","1.0" ] - } ] - }, { - "value" : [ ")" ] - } ] - }, { - "r" : "929", - "value" : [ " ","same minute as"," " ] - }, { - "r" : "920", - "s" : [ { - "r" : "902", - "value" : [ "DateTime","(","2000",", ","3",", ","15",", ","13",", ","30",", ","47",", ","500",", " ] - }, { - "r" : "909", - "s" : [ { - "r" : "909", - "value" : [ "+","1.0" ] - } ] - }, { - "value" : [ ")" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "929", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "precision" : "Minute", - "type" : "SameAs", - "signature" : [ { - "localId" : "930", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "931", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "893", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "894", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "895", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "896", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "897", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "898", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "899", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "900", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "901", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "875", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "876", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "877", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal" - }, - "hour" : { - "localId" : "878", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "13", - "type" : "Literal" - }, - "minute" : { - "localId" : "879", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "30", - "type" : "Literal" - }, - "second" : { - "localId" : "880", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "25", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "881", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "200", - "type" : "Literal" - }, - "timezoneOffset" : { - "localId" : "882", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "1.0", - "type" : "Literal" - } - }, { - "localId" : "920", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "921", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "922", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "923", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "924", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "925", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "926", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "927", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "928", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "902", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "903", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "904", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal" - }, - "hour" : { - "localId" : "905", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "13", - "type" : "Literal" - }, - "minute" : { - "localId" : "906", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "30", - "type" : "Literal" - }, - "second" : { - "localId" : "907", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "47", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "908", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "500", - "type" : "Literal" - }, - "timezoneOffset" : { - "localId" : "909", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "1.0", - "type" : "Literal" - } - } ] - } - }, { - "localId" : "934", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "NotSameMinute", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "934", - "s" : [ { - "value" : [ "","define ","NotSameMinute",": " ] - }, { - "r" : "989", - "s" : [ { - "r" : "953", - "s" : [ { - "r" : "935", - "value" : [ "DateTime","(","2000",", ","3",", ","15",", ","13",", ","30",", ","25",", ","200",", " ] - }, { - "r" : "942", - "s" : [ { - "r" : "942", - "value" : [ "+","1.0" ] - } ] - }, { - "value" : [ ")" ] - } ] - }, { - "r" : "989", - "value" : [ " ","same minute as"," " ] - }, { - "r" : "980", - "s" : [ { - "r" : "962", - "value" : [ "DateTime","(","2000",", ","3",", ","15",", ","13",", ","14",", ","47",", ","500",", " ] - }, { - "r" : "969", - "s" : [ { - "r" : "969", - "value" : [ "+","1.0" ] - } ] - }, { - "value" : [ ")" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "989", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "precision" : "Minute", - "type" : "SameAs", - "signature" : [ { - "localId" : "990", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "991", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "953", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "954", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "955", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "956", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "957", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "958", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "959", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "960", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "961", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "935", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "936", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "937", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal" - }, - "hour" : { - "localId" : "938", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "13", - "type" : "Literal" - }, - "minute" : { - "localId" : "939", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "30", - "type" : "Literal" - }, - "second" : { - "localId" : "940", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "25", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "941", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "200", - "type" : "Literal" - }, - "timezoneOffset" : { - "localId" : "942", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "1.0", - "type" : "Literal" - } - }, { - "localId" : "980", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "981", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "982", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "983", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "984", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "985", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "986", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "987", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "988", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "962", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "963", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "964", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal" - }, - "hour" : { - "localId" : "965", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "13", - "type" : "Literal" - }, - "minute" : { - "localId" : "966", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "14", - "type" : "Literal" - }, - "second" : { - "localId" : "967", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "47", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "968", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "500", - "type" : "Literal" - }, - "timezoneOffset" : { - "localId" : "969", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "1.0", - "type" : "Literal" - } - } ] - } - }, { - "localId" : "994", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "SameMinuteWrongHour", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "994", - "s" : [ { - "value" : [ "","define ","SameMinuteWrongHour",": " ] - }, { - "r" : "1049", - "s" : [ { - "r" : "1013", - "s" : [ { - "r" : "995", - "value" : [ "DateTime","(","2000",", ","3",", ","15",", ","13",", ","30",", ","25",", ","200",", " ] - }, { - "r" : "1002", - "s" : [ { - "r" : "1002", - "value" : [ "+","1.0" ] - } ] - }, { - "value" : [ ")" ] - } ] - }, { - "r" : "1049", - "value" : [ " ","same minute as"," " ] - }, { - "r" : "1040", - "s" : [ { - "r" : "1022", - "value" : [ "DateTime","(","2000",", ","3",", ","15",", ","14",", ","30",", ","47",", ","500",", " ] - }, { - "r" : "1029", - "s" : [ { - "r" : "1029", - "value" : [ "+","1.0" ] - } ] - }, { - "value" : [ ")" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "1049", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "precision" : "Minute", - "type" : "SameAs", - "signature" : [ { - "localId" : "1050", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1051", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "1013", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "1014", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1015", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1016", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1017", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1018", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1019", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1020", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1021", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "995", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "996", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "997", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal" - }, - "hour" : { - "localId" : "998", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "13", - "type" : "Literal" - }, - "minute" : { - "localId" : "999", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "30", - "type" : "Literal" - }, - "second" : { - "localId" : "1000", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "25", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "1001", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "200", - "type" : "Literal" - }, - "timezoneOffset" : { - "localId" : "1002", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "1.0", - "type" : "Literal" - } - }, { - "localId" : "1040", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "1041", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1042", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1043", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1044", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1045", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1046", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1047", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1048", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1022", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "1023", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "1024", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal" - }, - "hour" : { - "localId" : "1025", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "14", - "type" : "Literal" - }, - "minute" : { - "localId" : "1026", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "30", - "type" : "Literal" - }, - "second" : { - "localId" : "1027", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "47", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "1028", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "500", - "type" : "Literal" - }, - "timezoneOffset" : { - "localId" : "1029", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "1.0", - "type" : "Literal" - } - } ] - } - }, { - "localId" : "1054", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "SameSecond", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "1054", - "s" : [ { - "value" : [ "","define ","SameSecond",": " ] - }, { - "r" : "1109", - "s" : [ { - "r" : "1073", - "s" : [ { - "r" : "1055", - "value" : [ "DateTime","(","2000",", ","3",", ","15",", ","13",", ","30",", ","25",", ","200",", " ] - }, { - "r" : "1062", - "s" : [ { - "r" : "1062", - "value" : [ "+","1.0" ] - } ] - }, { - "value" : [ ")" ] - } ] - }, { - "r" : "1109", - "value" : [ " ","same second as"," " ] - }, { - "r" : "1100", - "s" : [ { - "r" : "1082", - "value" : [ "DateTime","(","2000",", ","3",", ","15",", ","13",", ","30",", ","25",", ","500",", " ] - }, { - "r" : "1089", - "s" : [ { - "r" : "1089", - "value" : [ "+","1.0" ] - } ] - }, { - "value" : [ ")" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "1109", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "precision" : "Second", - "type" : "SameAs", - "signature" : [ { - "localId" : "1110", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1111", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "1073", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "1074", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1075", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1076", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1077", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1078", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1079", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1080", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1081", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1055", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "1056", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "1057", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal" - }, - "hour" : { - "localId" : "1058", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "13", - "type" : "Literal" - }, - "minute" : { - "localId" : "1059", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "30", - "type" : "Literal" - }, - "second" : { - "localId" : "1060", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "25", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "1061", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "200", - "type" : "Literal" - }, - "timezoneOffset" : { - "localId" : "1062", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "1.0", - "type" : "Literal" - } - }, { - "localId" : "1100", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "1101", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1102", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1103", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1104", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1105", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1106", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1107", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1108", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1082", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "1083", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "1084", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal" - }, - "hour" : { - "localId" : "1085", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "13", - "type" : "Literal" - }, - "minute" : { - "localId" : "1086", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "30", - "type" : "Literal" - }, - "second" : { - "localId" : "1087", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "25", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "1088", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "500", - "type" : "Literal" - }, - "timezoneOffset" : { - "localId" : "1089", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "1.0", - "type" : "Literal" - } - } ] - } - }, { - "localId" : "1114", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "NotSameSecond", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "1114", - "s" : [ { - "value" : [ "","define ","NotSameSecond",": " ] - }, { - "r" : "1169", - "s" : [ { - "r" : "1133", - "s" : [ { - "r" : "1115", - "value" : [ "DateTime","(","2000",", ","3",", ","15",", ","13",", ","30",", ","25",", ","200",", " ] - }, { - "r" : "1122", - "s" : [ { - "r" : "1122", - "value" : [ "+","1.0" ] - } ] - }, { - "value" : [ ")" ] - } ] - }, { - "r" : "1169", - "value" : [ " ","same second as"," " ] - }, { - "r" : "1160", - "s" : [ { - "r" : "1142", - "value" : [ "DateTime","(","2000",", ","3",", ","15",", ","13",", ","30",", ","47",", ","500",", " ] - }, { - "r" : "1149", - "s" : [ { - "r" : "1149", - "value" : [ "+","1.0" ] - } ] - }, { - "value" : [ ")" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "1169", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "precision" : "Second", - "type" : "SameAs", - "signature" : [ { - "localId" : "1170", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1171", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "1133", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "1134", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1135", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1136", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1137", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1138", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1139", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1140", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1141", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1115", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "1116", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "1117", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal" - }, - "hour" : { - "localId" : "1118", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "13", - "type" : "Literal" - }, - "minute" : { - "localId" : "1119", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "30", - "type" : "Literal" - }, - "second" : { - "localId" : "1120", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "25", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "1121", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "200", - "type" : "Literal" - }, - "timezoneOffset" : { - "localId" : "1122", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "1.0", - "type" : "Literal" - } - }, { - "localId" : "1160", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "1161", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1162", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1163", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1164", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1165", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1166", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1167", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1168", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1142", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "1143", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "1144", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal" - }, - "hour" : { - "localId" : "1145", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "13", - "type" : "Literal" - }, - "minute" : { - "localId" : "1146", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "30", - "type" : "Literal" - }, - "second" : { - "localId" : "1147", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "47", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "1148", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "500", - "type" : "Literal" - }, - "timezoneOffset" : { - "localId" : "1149", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "1.0", - "type" : "Literal" - } - } ] - } - }, { - "localId" : "1174", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "SameSecondWrongMinute", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "1174", - "s" : [ { - "value" : [ "","define ","SameSecondWrongMinute",": " ] - }, { - "r" : "1229", - "s" : [ { - "r" : "1193", - "s" : [ { - "r" : "1175", - "value" : [ "DateTime","(","2000",", ","3",", ","15",", ","13",", ","30",", ","25",", ","200",", " ] - }, { - "r" : "1182", - "s" : [ { - "r" : "1182", - "value" : [ "+","1.0" ] - } ] - }, { - "value" : [ ")" ] - } ] - }, { - "r" : "1229", - "value" : [ " ","same second as"," " ] - }, { - "r" : "1220", - "s" : [ { - "r" : "1202", - "value" : [ "DateTime","(","2000",", ","3",", ","15",", ","13",", ","31",", ","25",", ","500",", " ] - }, { - "r" : "1209", - "s" : [ { - "r" : "1209", - "value" : [ "+","1.0" ] - } ] - }, { - "value" : [ ")" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "1229", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "precision" : "Second", - "type" : "SameAs", - "signature" : [ { - "localId" : "1230", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1231", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "1193", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "1194", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1195", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1196", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1197", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1198", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1199", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1200", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1201", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1175", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "1176", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "1177", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal" - }, - "hour" : { - "localId" : "1178", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "13", - "type" : "Literal" - }, - "minute" : { - "localId" : "1179", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "30", - "type" : "Literal" - }, - "second" : { - "localId" : "1180", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "25", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "1181", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "200", - "type" : "Literal" - }, - "timezoneOffset" : { - "localId" : "1182", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "1.0", - "type" : "Literal" - } - }, { - "localId" : "1220", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "1221", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1222", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1223", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1224", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1225", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1226", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1227", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1228", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1202", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "1203", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "1204", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal" - }, - "hour" : { - "localId" : "1205", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "13", - "type" : "Literal" - }, - "minute" : { - "localId" : "1206", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "31", - "type" : "Literal" - }, - "second" : { - "localId" : "1207", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "25", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "1208", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "500", - "type" : "Literal" - }, - "timezoneOffset" : { - "localId" : "1209", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "1.0", - "type" : "Literal" - } - } ] - } - }, { - "localId" : "1234", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "SameMillisecond", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "1234", - "s" : [ { - "value" : [ "","define ","SameMillisecond",": " ] - }, { - "r" : "1289", - "s" : [ { - "r" : "1253", - "s" : [ { - "r" : "1235", - "value" : [ "DateTime","(","2000",", ","3",", ","15",", ","13",", ","30",", ","25",", ","200",", " ] - }, { - "r" : "1242", - "s" : [ { - "r" : "1242", - "value" : [ "+","1.0" ] - } ] - }, { - "value" : [ ")" ] - } ] - }, { - "r" : "1289", - "value" : [ " ","same millisecond as"," " ] - }, { - "r" : "1280", - "s" : [ { - "r" : "1262", - "value" : [ "DateTime","(","2000",", ","3",", ","15",", ","13",", ","30",", ","25",", ","200",", " ] - }, { - "r" : "1269", - "s" : [ { - "r" : "1269", - "value" : [ "+","1.0" ] - } ] - }, { - "value" : [ ")" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "1289", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "precision" : "Millisecond", - "type" : "SameAs", - "signature" : [ { - "localId" : "1290", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1291", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "1253", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "1254", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1255", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1256", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1257", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1258", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1259", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1260", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1261", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1235", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "1236", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "1237", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal" - }, - "hour" : { - "localId" : "1238", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "13", - "type" : "Literal" - }, - "minute" : { - "localId" : "1239", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "30", - "type" : "Literal" - }, - "second" : { - "localId" : "1240", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "25", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "1241", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "200", - "type" : "Literal" - }, - "timezoneOffset" : { - "localId" : "1242", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "1.0", - "type" : "Literal" - } - }, { - "localId" : "1280", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "1281", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1282", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1283", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1284", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1285", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1286", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1287", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1288", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1262", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "1263", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "1264", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal" - }, - "hour" : { - "localId" : "1265", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "13", - "type" : "Literal" - }, - "minute" : { - "localId" : "1266", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "30", - "type" : "Literal" - }, - "second" : { - "localId" : "1267", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "25", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "1268", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "200", - "type" : "Literal" - }, - "timezoneOffset" : { - "localId" : "1269", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "1.0", - "type" : "Literal" - } - } ] - } - }, { - "localId" : "1294", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "NotSameMillisecond", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "1294", - "s" : [ { - "value" : [ "","define ","NotSameMillisecond",": " ] - }, { - "r" : "1349", - "s" : [ { - "r" : "1313", - "s" : [ { - "r" : "1295", - "value" : [ "DateTime","(","2000",", ","3",", ","15",", ","13",", ","30",", ","25",", ","200",", " ] - }, { - "r" : "1302", - "s" : [ { - "r" : "1302", - "value" : [ "+","1.0" ] - } ] - }, { - "value" : [ ")" ] - } ] - }, { - "r" : "1349", - "value" : [ " ","same millisecond as"," " ] - }, { - "r" : "1340", - "s" : [ { - "r" : "1322", - "value" : [ "DateTime","(","2000",", ","3",", ","15",", ","13",", ","30",", ","25",", ","500",", " ] - }, { - "r" : "1329", - "s" : [ { - "r" : "1329", - "value" : [ "+","1.0" ] - } ] - }, { - "value" : [ ")" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "1349", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "precision" : "Millisecond", - "type" : "SameAs", - "signature" : [ { - "localId" : "1350", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1351", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "1313", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "1314", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1315", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1316", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1317", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1318", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1319", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1320", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1321", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1295", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "1296", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "1297", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal" - }, - "hour" : { - "localId" : "1298", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "13", - "type" : "Literal" - }, - "minute" : { - "localId" : "1299", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "30", - "type" : "Literal" - }, - "second" : { - "localId" : "1300", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "25", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "1301", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "200", - "type" : "Literal" - }, - "timezoneOffset" : { - "localId" : "1302", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "1.0", - "type" : "Literal" - } - }, { - "localId" : "1340", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "1341", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1342", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1343", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1344", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1345", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1346", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1347", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1348", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1322", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "1323", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "1324", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal" - }, - "hour" : { - "localId" : "1325", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "13", - "type" : "Literal" - }, - "minute" : { - "localId" : "1326", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "30", - "type" : "Literal" - }, - "second" : { - "localId" : "1327", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "25", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "1328", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "500", - "type" : "Literal" - }, - "timezoneOffset" : { - "localId" : "1329", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "1.0", - "type" : "Literal" - } - } ] - } - }, { - "localId" : "1354", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "SameMillisecondWrongSecond", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "1354", - "s" : [ { - "value" : [ "","define ","SameMillisecondWrongSecond",": " ] - }, { - "r" : "1409", - "s" : [ { - "r" : "1373", - "s" : [ { - "r" : "1355", - "value" : [ "DateTime","(","2000",", ","3",", ","15",", ","13",", ","30",", ","25",", ","200",", " ] - }, { - "r" : "1362", - "s" : [ { - "r" : "1362", - "value" : [ "+","1.0" ] - } ] - }, { - "value" : [ ")" ] - } ] - }, { - "r" : "1409", - "value" : [ " ","same millisecond as"," " ] - }, { - "r" : "1400", - "s" : [ { - "r" : "1382", - "value" : [ "DateTime","(","2000",", ","3",", ","15",", ","13",", ","30",", ","26",", ","200",", " ] - }, { - "r" : "1389", - "s" : [ { - "r" : "1389", - "value" : [ "+","1.0" ] - } ] - }, { - "value" : [ ")" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "1409", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "precision" : "Millisecond", - "type" : "SameAs", - "signature" : [ { - "localId" : "1410", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1411", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "1373", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "1374", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1375", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1376", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1377", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1378", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1379", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1380", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1381", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1355", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "1356", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "1357", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal" - }, - "hour" : { - "localId" : "1358", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "13", - "type" : "Literal" - }, - "minute" : { - "localId" : "1359", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "30", - "type" : "Literal" - }, - "second" : { - "localId" : "1360", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "25", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "1361", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "200", - "type" : "Literal" - }, - "timezoneOffset" : { - "localId" : "1362", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "1.0", - "type" : "Literal" - } - }, { - "localId" : "1400", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "1401", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1402", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1403", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1404", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1405", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1406", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1407", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1408", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1382", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "1383", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "1384", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal" - }, - "hour" : { - "localId" : "1385", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "13", - "type" : "Literal" - }, - "minute" : { - "localId" : "1386", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "30", - "type" : "Literal" - }, - "second" : { - "localId" : "1387", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "26", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "1388", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "200", - "type" : "Literal" - }, - "timezoneOffset" : { - "localId" : "1389", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "1.0", - "type" : "Literal" - } - } ] - } - }, { - "localId" : "1414", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "Same", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "1414", - "s" : [ { - "value" : [ "","define ","Same",": " ] - }, { - "r" : "1469", - "s" : [ { - "r" : "1433", - "s" : [ { - "r" : "1415", - "value" : [ "DateTime","(","2000",", ","3",", ","15",", ","13",", ","30",", ","25",", ","200",", " ] - }, { - "r" : "1422", - "s" : [ { - "r" : "1422", - "value" : [ "+","1.0" ] - } ] - }, { - "value" : [ ")" ] - } ] - }, { - "r" : "1469", - "value" : [ " ","same as"," " ] - }, { - "r" : "1460", - "s" : [ { - "r" : "1442", - "value" : [ "DateTime","(","2000",", ","3",", ","15",", ","13",", ","30",", ","25",", ","200",", " ] - }, { - "r" : "1449", - "s" : [ { - "r" : "1449", - "value" : [ "+","1.0" ] - } ] - }, { - "value" : [ ")" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "1469", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "SameAs", - "signature" : [ { - "localId" : "1470", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1471", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "1433", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "1434", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1435", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1436", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1437", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1438", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1439", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1440", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1441", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1415", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "1416", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "1417", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal" - }, - "hour" : { - "localId" : "1418", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "13", - "type" : "Literal" - }, - "minute" : { - "localId" : "1419", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "30", - "type" : "Literal" - }, - "second" : { - "localId" : "1420", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "25", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "1421", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "200", - "type" : "Literal" - }, - "timezoneOffset" : { - "localId" : "1422", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "1.0", - "type" : "Literal" - } - }, { - "localId" : "1460", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "1461", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1462", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1463", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1464", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1465", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1466", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1467", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1468", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1442", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "1443", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "1444", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal" - }, - "hour" : { - "localId" : "1445", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "13", - "type" : "Literal" - }, - "minute" : { - "localId" : "1446", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "30", - "type" : "Literal" - }, - "second" : { - "localId" : "1447", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "25", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "1448", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "200", - "type" : "Literal" - }, - "timezoneOffset" : { - "localId" : "1449", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "1.0", - "type" : "Literal" - } - } ] - } - }, { - "localId" : "1474", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "NotSame", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "1474", - "s" : [ { - "value" : [ "","define ","NotSame",": " ] - }, { - "r" : "1529", - "s" : [ { - "r" : "1493", - "s" : [ { - "r" : "1475", - "value" : [ "DateTime","(","2000",", ","3",", ","15",", ","13",", ","30",", ","25",", ","200",", " ] - }, { - "r" : "1482", - "s" : [ { - "r" : "1482", - "value" : [ "+","1.0" ] - } ] - }, { - "value" : [ ")" ] - } ] - }, { - "r" : "1529", - "value" : [ " ","same as"," " ] - }, { - "r" : "1520", - "s" : [ { - "r" : "1502", - "value" : [ "DateTime","(","2000",", ","3",", ","15",", ","13",", ","30",", ","25",", ","500",", " ] - }, { - "r" : "1509", - "s" : [ { - "r" : "1509", - "value" : [ "+","1.0" ] - } ] - }, { - "value" : [ ")" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "1529", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "SameAs", - "signature" : [ { - "localId" : "1530", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1531", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "1493", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "1494", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1495", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1496", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1497", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1498", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1499", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1500", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1501", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1475", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "1476", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "1477", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal" - }, - "hour" : { - "localId" : "1478", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "13", - "type" : "Literal" - }, - "minute" : { - "localId" : "1479", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "30", - "type" : "Literal" - }, - "second" : { - "localId" : "1480", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "25", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "1481", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "200", - "type" : "Literal" - }, - "timezoneOffset" : { - "localId" : "1482", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "1.0", - "type" : "Literal" - } - }, { - "localId" : "1520", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "1521", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1522", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1523", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1524", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1525", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1526", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1527", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1528", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1502", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "1503", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "1504", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal" - }, - "hour" : { - "localId" : "1505", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "13", - "type" : "Literal" - }, - "minute" : { - "localId" : "1506", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "30", - "type" : "Literal" - }, - "second" : { - "localId" : "1507", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "25", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "1508", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "500", - "type" : "Literal" - }, - "timezoneOffset" : { - "localId" : "1509", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "1.0", - "type" : "Literal" - } - } ] - } - }, { - "localId" : "1534", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "SameNormalized", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "1534", - "s" : [ { - "value" : [ "","define ","SameNormalized",": " ] - }, { - "r" : "1591", - "s" : [ { - "r" : "1553", - "s" : [ { - "r" : "1535", - "value" : [ "DateTime","(","2000",", ","3",", ","15",", ","13",", ","30",", ","25",", ","200",", " ] - }, { - "r" : "1542", - "s" : [ { - "r" : "1542", - "value" : [ "+","1.0" ] - } ] - }, { - "value" : [ ")" ] - } ] - }, { - "r" : "1591", - "value" : [ " ","same as"," " ] - }, { - "r" : "1582", - "s" : [ { - "r" : "1562", - "value" : [ "DateTime","(","2000",", ","3",", ","15",", ","7",", ","30",", ","25",", ","200",", " ] - }, { - "r" : "1569", - "s" : [ { - "r" : "1570", - "value" : [ "-","5.0" ] - } ] - }, { - "value" : [ ")" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "1591", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "SameAs", - "signature" : [ { - "localId" : "1592", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1593", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "1553", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "1554", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1555", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1556", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1557", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1558", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1559", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1560", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1561", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1535", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "1536", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "1537", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal" - }, - "hour" : { - "localId" : "1538", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "13", - "type" : "Literal" - }, - "minute" : { - "localId" : "1539", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "30", - "type" : "Literal" - }, - "second" : { - "localId" : "1540", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "25", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "1541", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "200", - "type" : "Literal" - }, - "timezoneOffset" : { - "localId" : "1542", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "1.0", - "type" : "Literal" - } - }, { - "localId" : "1582", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "1583", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1584", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1585", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1586", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1587", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1588", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1589", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1590", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1562", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "1563", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "1564", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal" - }, - "hour" : { - "localId" : "1565", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "7", - "type" : "Literal" - }, - "minute" : { - "localId" : "1566", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "30", - "type" : "Literal" - }, - "second" : { - "localId" : "1567", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "25", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "1568", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "200", - "type" : "Literal" - }, - "timezoneOffset" : { - "localId" : "1569", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "Negate", - "signature" : [ { - "localId" : "1571", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "1570", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "5.0", - "type" : "Literal" - } - } - } ] - } - }, { - "localId" : "1596", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "SameHourWrongTimezone", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "1596", - "s" : [ { - "value" : [ "","define ","SameHourWrongTimezone",": " ] - }, { - "r" : "1653", - "s" : [ { - "r" : "1615", - "s" : [ { - "r" : "1597", - "value" : [ "DateTime","(","2000",", ","3",", ","15",", ","13",", ","30",", ","25",", ","200",", " ] - }, { - "r" : "1604", - "s" : [ { - "r" : "1604", - "value" : [ "+","1.0" ] - } ] - }, { - "value" : [ ")" ] - } ] - }, { - "r" : "1653", - "value" : [ " ","same hour as"," " ] - }, { - "r" : "1644", - "s" : [ { - "r" : "1624", - "value" : [ "DateTime","(","2000",", ","3",", ","15",", ","13",", ","30",", ","25",", ","200",", " ] - }, { - "r" : "1631", - "s" : [ { - "r" : "1632", - "value" : [ "-","5.0" ] - } ] - }, { - "value" : [ ")" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "1653", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "precision" : "Hour", - "type" : "SameAs", - "signature" : [ { - "localId" : "1654", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1655", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "1615", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "1616", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1617", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1618", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1619", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1620", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1621", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1622", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1623", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1597", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "1598", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "1599", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal" - }, - "hour" : { - "localId" : "1600", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "13", - "type" : "Literal" - }, - "minute" : { - "localId" : "1601", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "30", - "type" : "Literal" - }, - "second" : { - "localId" : "1602", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "25", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "1603", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "200", - "type" : "Literal" - }, - "timezoneOffset" : { - "localId" : "1604", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "1.0", - "type" : "Literal" - } - }, { - "localId" : "1644", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "1645", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1646", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1647", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1648", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1649", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1650", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1651", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1652", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1624", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "1625", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "1626", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal" - }, - "hour" : { - "localId" : "1627", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "13", - "type" : "Literal" - }, - "minute" : { - "localId" : "1628", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "30", - "type" : "Literal" - }, - "second" : { - "localId" : "1629", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "25", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "1630", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "200", - "type" : "Literal" - }, - "timezoneOffset" : { - "localId" : "1631", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "Negate", - "signature" : [ { - "localId" : "1633", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "1632", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "5.0", - "type" : "Literal" - } - } - } ] - } - }, { - "localId" : "1658", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "ImpreciseHour", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "1658", - "s" : [ { - "value" : [ "","define ","ImpreciseHour",": " ] - }, { - "r" : "1695", - "s" : [ { - "r" : "1675", - "s" : [ { - "r" : "1659", - "value" : [ "DateTime","(","2000",", ","3",", ","15",", ","13",", ","30",", ","25",", ","200",")" ] - } ] - }, { - "r" : "1695", - "value" : [ " ","same hour as"," " ] - }, { - "r" : "1691", - "s" : [ { - "r" : "1683", - "value" : [ "DateTime","(","2000",", ","3",", ","15",")" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "1695", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "precision" : "Hour", - "type" : "SameAs", - "signature" : [ { - "localId" : "1696", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1697", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "1675", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "1676", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1677", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1678", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1679", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1680", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1681", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1682", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1659", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "1660", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "1661", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal" - }, - "hour" : { - "localId" : "1662", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "13", - "type" : "Literal" - }, - "minute" : { - "localId" : "1663", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "30", - "type" : "Literal" - }, - "second" : { - "localId" : "1664", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "25", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "1665", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "200", - "type" : "Literal" - } - }, { - "localId" : "1691", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "1692", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1693", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1694", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1683", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "1684", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "1685", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal" - } - } ] - } - }, { - "localId" : "1700", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "ImpreciseHourWrongDay", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "1700", - "s" : [ { - "value" : [ "","define ","ImpreciseHourWrongDay",": " ] - }, { - "r" : "1737", - "s" : [ { - "r" : "1717", - "s" : [ { - "r" : "1701", - "value" : [ "DateTime","(","2000",", ","3",", ","15",", ","13",", ","30",", ","25",", ","200",")" ] - } ] - }, { - "r" : "1737", - "value" : [ " ","same hour as"," " ] - }, { - "r" : "1733", - "s" : [ { - "r" : "1725", - "value" : [ "DateTime","(","2000",", ","3",", ","16",")" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "1737", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "precision" : "Hour", - "type" : "SameAs", - "signature" : [ { - "localId" : "1738", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1739", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "1717", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "1718", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1719", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1720", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1721", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1722", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1723", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1724", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1701", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "1702", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "1703", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal" - }, - "hour" : { - "localId" : "1704", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "13", - "type" : "Literal" - }, - "minute" : { - "localId" : "1705", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "30", - "type" : "Literal" - }, - "second" : { - "localId" : "1706", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "25", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "1707", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "200", - "type" : "Literal" - } - }, { - "localId" : "1733", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "1734", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1735", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1736", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1725", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "1726", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "1727", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "16", - "type" : "Literal" - } - } ] - } - }, { - "localId" : "1742", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "NullLeft", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "1742", + "value" : [ "", "using " ] + }, { + "s" : [ { + "value" : [ "Simple" ] + } ] + }, { + "value" : [ " version '1.0.0'" ] + } ] + } + } ] + } ] + }, + "contexts" : { + "def" : [ { + "localId" : "211", + "name" : "Patient", + "annotation" : [ ] + } ] + }, + "statements" : { + "def" : [ { + "localId" : "209", + "name" : "Patient", + "context" : "Patient", + "annotation" : [ ], + "expression" : { + "type" : "SingletonFrom", + "localId" : "210", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Retrieve", + "localId" : "208", + "dataType" : "{https://github.com/cqframework/cql-execution/simple}Patient", + "annotation" : [ ], + "include" : [ ], + "codeFilter" : [ ], + "dateFilter" : [ ], + "otherFilter" : [ ] + } + } + }, { + "localId" : "214", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "SameYear", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "214", + "s" : [ { + "value" : [ "", "define ", "SameYear", ": " ] + }, { + "r" : "269", + "s" : [ { + "r" : "233", + "s" : [ { + "r" : "215", + "value" : [ "DateTime", "(", "2000", ", ", "3", ", ", "15", ", ", "13", ", ", "30", ", ", "25", ", ", "200", ", " ] + }, { + "r" : "222", "s" : [ { - "value" : [ "","define ","NullLeft",": " ] - }, { - "r" : "1771", - "s" : [ { - "r" : "1743", - "value" : [ "null"," ","same as"," " ] - }, { - "r" : "1762", - "s" : [ { - "r" : "1744", - "value" : [ "DateTime","(","2000",", ","3",", ","15",", ","13",", ","30",", ","25",", ","200",", " ] - }, { - "r" : "1751", - "s" : [ { - "r" : "1751", - "value" : [ "+","1.0" ] - } ] - }, { - "value" : [ ")" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "1771", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "SameAs", - "signature" : [ { - "localId" : "1773", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1774", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "1772", - "asType" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "As", - "signature" : [ ], - "operand" : { - "localId" : "1743", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - } - }, { - "localId" : "1762", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "1763", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1764", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1765", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1766", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1767", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1768", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1769", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1770", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1744", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "1745", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "1746", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal" - }, - "hour" : { - "localId" : "1747", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "13", - "type" : "Literal" - }, - "minute" : { - "localId" : "1748", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "30", - "type" : "Literal" - }, - "second" : { - "localId" : "1749", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "25", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "1750", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "200", - "type" : "Literal" - }, - "timezoneOffset" : { - "localId" : "1751", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "1.0", - "type" : "Literal" - } - } ] - } - }, { - "localId" : "1777", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "NullRight", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "1777", - "s" : [ { - "value" : [ "","define ","NullRight",": " ] - }, { - "r" : "1808", - "s" : [ { - "r" : "1796", - "s" : [ { - "r" : "1778", - "value" : [ "DateTime","(","2000",", ","3",", ","15",", ","13",", ","30",", ","25",", ","200",", " ] - }, { - "r" : "1785", - "s" : [ { - "r" : "1785", - "value" : [ "+","1.0" ] - } ] - }, { - "value" : [ ")" ] - } ] - }, { - "r" : "1808", - "value" : [ " ","same as"," " ] - }, { - "r" : "1805", - "s" : [ { - "value" : [ "(" ] - }, { - "r" : "1805", - "s" : [ { - "r" : "1806", - "value" : [ "null"," as " ] - }, { - "r" : "1807", - "s" : [ { - "value" : [ "DateTime" ] - } ] - } ] - }, { - "value" : [ ")" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "1808", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "SameAs", - "signature" : [ { - "localId" : "1809", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1810", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "1796", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "1797", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1798", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1799", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1800", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1801", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1802", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1803", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1804", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1778", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "1779", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "1780", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal" - }, - "hour" : { - "localId" : "1781", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "13", - "type" : "Literal" - }, - "minute" : { - "localId" : "1782", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "30", - "type" : "Literal" - }, - "second" : { - "localId" : "1783", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "25", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "1784", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "200", - "type" : "Literal" - }, - "timezoneOffset" : { - "localId" : "1785", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "1.0", - "type" : "Literal" - } - }, { - "localId" : "1805", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "strict" : false, - "type" : "As", - "signature" : [ ], - "operand" : { - "localId" : "1806", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - }, - "asTypeSpecifier" : { - "localId" : "1807", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } ] - } - }, { - "localId" : "1813", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "NullBoth", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "1813", - "s" : [ { - "value" : [ "","define ","NullBoth",": " ] - }, { - "r" : "1818", - "s" : [ { - "r" : "1814", - "s" : [ { - "value" : [ "(" ] - }, { - "r" : "1814", - "s" : [ { - "r" : "1815", - "value" : [ "null"," as " ] - }, { - "r" : "1816", - "s" : [ { - "value" : [ "DateTime" ] - } ] - } ] - }, { - "value" : [ ")" ] - } ] - }, { - "r" : "1818", - "value" : [ " ","same as"," ","null" ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "1818", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "SameAs", - "signature" : [ { - "localId" : "1820", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1821", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "1814", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "strict" : false, - "type" : "As", - "signature" : [ ], - "operand" : { - "localId" : "1815", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - }, - "asTypeSpecifier" : { - "localId" : "1816", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "1819", - "asType" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "As", - "signature" : [ ], - "operand" : { - "localId" : "1817", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - } - } ] - } - } ] - } - } -} - -/* SameOrAfter -library TestSnippet version '1' -using Simple version '1.0.0' -context Patient -define SameYear: DateTime(2000, 3, 15, 13, 30, 25, 200, +1.0) same year or after DateTime(2000, 11, 23, 8, 14, 47, 500, +1.0) -define YearAfter: DateTime(2000, 3, 15, 13, 30, 25, 200, +1.0) same year or after DateTime(1999, 11, 23, 8, 14, 47, 500, +1.0) -define YearBefore: DateTime(2000, 3, 15, 13, 30, 25, 200, +1.0) same year or after DateTime(2001, 11, 23, 8, 14, 47, 500, +1.0) -define SameMonth: DateTime(2000, 3, 15, 13, 30, 25, 200, +1.0) same month or after DateTime(2000, 3, 23, 8, 14, 47, 500, +1.0) -define MonthAfter: DateTime(2000, 3, 15, 13, 30, 25, 200, +1.0) same month or after DateTime(2000, 2, 23, 8, 14, 47, 500, +1.0) -define MonthBefore: DateTime(2000, 3, 15, 13, 30, 25, 200, +1.0) same month or after DateTime(2000, 4, 23, 8, 14, 47, 500, +1.0) -define SameDay: DateTime(2000, 3, 15, 13, 30, 25, 200, +1.0) same day or after DateTime(2000, 3, 15, 8, 14, 47, 500, +1.0) -define DayAfter: DateTime(2000, 3, 15, 13, 30, 25, 200, +1.0) same day or after DateTime(2000, 3, 14, 8, 14, 47, 500, +1.0) -define DayBefore: DateTime(2000, 3, 15, 13, 30, 25, 200, +1.0) same day or after DateTime(2000, 3, 16, 8, 14, 47, 500, +1.0) -define SameHour: DateTime(2000, 3, 15, 13, 30, 25, 200, +1.0) same hour or after DateTime(2000, 3, 15, 13, 14, 47, 500, +1.0) -define HourAfter: DateTime(2000, 3, 15, 13, 30, 25, 200, +1.0) same hour or after DateTime(2000, 3, 15, 12, 14, 47, 500, +1.0) -define HourBefore: DateTime(2000, 3, 15, 13, 30, 25, 200, +1.0) same hour or after DateTime(2000, 3, 15, 14, 14, 47, 500, +1.0) -define SameMinute: DateTime(2000, 3, 15, 13, 30, 25, 200, +1.0) same minute or after DateTime(2000, 3, 15, 13, 30, 47, 500, +1.0) -define MinuteAfter: DateTime(2000, 3, 15, 13, 30, 25, 200, +1.0) same minute or after DateTime(2000, 3, 15, 13, 29, 47, 500, +1.0) -define MinuteBefore: DateTime(2000, 3, 15, 13, 30, 25, 200, +1.0) same minute or after DateTime(2000, 3, 15, 13, 31, 47, 500, +1.0) -define SameSecond: DateTime(2000, 3, 15, 13, 30, 25, 200, +1.0) same second or after DateTime(2000, 3, 15, 13, 30, 25, 500, +1.0) -define SecondAfter: DateTime(2000, 3, 15, 13, 30, 25, 200, +1.0) same second or after DateTime(2000, 3, 15, 13, 30, 24, 500, +1.0) -define SecondBefore: DateTime(2000, 3, 15, 13, 30, 25, 200, +1.0) same second or after DateTime(2000, 3, 15, 13, 30, 26, 500, +1.0) -define SameMillisecond: DateTime(2000, 3, 15, 13, 30, 25, 200, +1.0) same millisecond or after DateTime(2000, 3, 15, 13, 30, 25, 200, +1.0) -define MillisecondAfter: DateTime(2000, 3, 15, 13, 30, 25, 200, +1.0) same millisecond or after DateTime(2000, 3, 15, 13, 30, 25, 199, +1.0) -define MillisecondBefore: DateTime(2000, 3, 15, 13, 30, 25, 200, +1.0) same millisecond or after DateTime(2000, 3, 15, 13, 30, 25, 201, +1.0) -define Same: DateTime(2000, 3, 15, 13, 30, 25, 200, +1.0) same or after DateTime(2000, 3, 15, 13, 30, 25, 200, +1.0) -define After: DateTime(2000, 3, 15, 13, 30, 25, 200, +1.0) same or after DateTime(2000, 3, 15, 13, 30, 25, 199, +1.0) -define Before: DateTime(2000, 3, 15, 13, 30, 25, 200, +1.0) same or after DateTime(2000, 3, 15, 13, 30, 25, 201, +1.0) -define SameDayMonthBefore: DateTime(2000, 3, 15, 13, 30, 25, 200, +1.0) same day or after DateTime(2000, 4, 15, 8, 14, 47, 500, +1.0) -define DayAfterMonthBefore: DateTime(2000, 3, 15, 13, 30, 25, 200, +1.0) same day or after DateTime(2000, 4, 14, 8, 14, 47, 500, +1.0) -define DayBeforeMonthAfter: DateTime(2000, 3, 15, 13, 30, 25, 200, +1.0) same day or after DateTime(2000, 2, 16, 8, 14, 47, 500, +1.0) -define ImpreciseDay: DateTime(2000, 3, 15, 13, 30, 25, 200) same day or after DateTime(2000, 3) -define ImpreciseDayMonthAfter: DateTime(2000, 3, 15, 13, 30, 25, 200) same day or after DateTime(2000, 2) -define ImpreciseDayMonthBefore: DateTime(2000, 3, 15, 13, 30, 25, 200) same day or after DateTime(2000, 4) -define SameHourNormalizeZones: DateTime(2000, 3, 15, 13, 30, 25, 200, +1.0) same hour or after DateTime(2000, 3, 15, 7, 30, 25, 200, -5.0) -define HourAfterNormalizeZones: DateTime(2000, 3, 15, 13, 30, 25, 200, +1.0) same hour or after DateTime(2000, 3, 15, 6, 30, 25, 200, -5.0) -define HourBeforeNormalizeZones: DateTime(2000, 3, 15, 13, 30, 25, 200, +1.0) same hour or after DateTime(2000, 3, 15, 8, 30, 25, 200, -5.0) -define NullLeft: null same or after DateTime(2000, 3, 15, 13, 30, 25, 200, +1.0) -define NullRight: DateTime(2000, 3, 15, 13, 30, 25, 200, +1.0) same or after null -define NullBoth: (null as DateTime) same or after null -// On Or After: -define SameOOA: DateTime(2000, 3, 15, 13, 30, 25, 200, +1.0) on or after DateTime(2000, 3, 15, 13, 30, 25, 200, +1.0) -define AfterOOA: DateTime(2000, 3, 15, 13, 30, 25, 200, +1.0) on or after DateTime(2000, 3, 15, 13, 30, 25, 199, +1.0) -define BeforeOOA: DateTime(2000, 3, 15, 13, 30, 25, 200, +1.0) on or after DateTime(2000, 3, 15, 13, 30, 25, 201, +1.0) -define NullLeftOOA: null on or after DateTime(2000, 3, 15, 13, 30, 25, 200, +1.0) -define NullRightOOA: DateTime(2000, 3, 15, 13, 30, 25, 200, +1.0) on or after null -define NullBothOOA: (null as DateTime) on or after null -// After Or On: -define SameAOO: DateTime(2000, 3, 15, 13, 30, 25, 200, +1.0) after or on DateTime(2000, 3, 15, 13, 30, 25, 200, +1.0) -define AfterAOO: DateTime(2000, 3, 15, 13, 30, 25, 200, +1.0) after or on DateTime(2000, 3, 15, 13, 30, 25, 199, +1.0) -define BeforeAOO: DateTime(2000, 3, 15, 13, 30, 25, 200, +1.0) after or on DateTime(2000, 3, 15, 13, 30, 25, 201, +1.0) -define NullLeftAOO: null after or on DateTime(2000, 3, 15, 13, 30, 25, 200, +1.0) -define NullRightAOO: DateTime(2000, 3, 15, 13, 30, 25, 200, +1.0) after or on null -define NullBothAOO: (null as DateTime) after or on null -*/ - -module.exports['SameOrAfter'] = { - "library" : { - "localId" : "0", - "annotation" : [ { - "translatorVersion" : "3.27.0", - "translatorOptions" : "EnableDateRangeOptimization,EnableAnnotations,EnableResultTypes", - "signatureLevel" : "All", - "type" : "CqlToElmInfo" - }, { - "type" : "Annotation", - "s" : { - "r" : "2729", + "r" : "222", + "value" : [ "+", "1.0" ] + } ] + }, { + "value" : [ ")" ] + } ] + }, { + "r" : "269", + "value" : [ " ", "same year as", " " ] + }, { + "r" : "260", + "s" : [ { + "r" : "242", + "value" : [ "DateTime", "(", "2000", ", ", "11", ", ", "23", ", ", "8", ", ", "14", ", ", "47", ", ", "500", ", " ] + }, { + "r" : "249", + "s" : [ { + "r" : "249", + "value" : [ "+", "1.0" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "SameAs", + "localId" : "269", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "precision" : "Year", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "270", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "271", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "DateTime", + "localId" : "233", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "234", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "235", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "236", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "237", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "238", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "239", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "240", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "241", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "215", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "216", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "217", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "15", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "218", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "13", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "219", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "30", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "220", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "25", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "221", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "200", + "annotation" : [ ] + }, + "timezoneOffset" : { + "type" : "Literal", + "localId" : "222", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "1.0", + "annotation" : [ ] + } + }, { + "type" : "DateTime", + "localId" : "260", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "261", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "262", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "263", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "264", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "265", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "266", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "267", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "268", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "242", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "243", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "11", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "244", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "23", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "245", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "8", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "246", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "14", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "247", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "47", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "248", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "500", + "annotation" : [ ] + }, + "timezoneOffset" : { + "type" : "Literal", + "localId" : "249", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "1.0", + "annotation" : [ ] + } + } ] + } + }, { + "localId" : "274", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "NotSameYear", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "274", "s" : [ { - "value" : [ "","library TestSnippet version '1'" ] - } ] - } - } ], - "identifier" : { - "id" : "TestSnippet", - "version" : "1" - }, - "schemaIdentifier" : { - "id" : "urn:hl7-org:elm", - "version" : "r1" - }, - "usings" : { - "def" : [ { - "localId" : "1", - "localIdentifier" : "System", - "uri" : "urn:hl7-org:elm-types:r1" - }, { - "localId" : "206", - "localIdentifier" : "Simple", - "uri" : "https://github.com/cqframework/cql-execution/simple", - "version" : "1.0.0", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "206", - "s" : [ { - "value" : [ "","using " ] - }, { - "s" : [ { - "value" : [ "Simple" ] - } ] - }, { - "value" : [ " version '1.0.0'" ] - } ] - } - } ] - } ] - }, - "contexts" : { - "def" : [ { - "localId" : "211", - "name" : "Patient" - } ] - }, - "statements" : { - "def" : [ { - "localId" : "209", - "name" : "Patient", - "context" : "Patient", - "expression" : { - "localId" : "210", - "type" : "SingletonFrom", - "signature" : [ ], - "operand" : { - "localId" : "208", - "dataType" : "{https://github.com/cqframework/cql-execution/simple}Patient", - "type" : "Retrieve", - "include" : [ ], - "codeFilter" : [ ], - "dateFilter" : [ ], - "otherFilter" : [ ] - } - } - }, { - "localId" : "214", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "SameYear", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "214", - "s" : [ { - "value" : [ "","define ","SameYear",": " ] - }, { - "r" : "269", - "s" : [ { - "r" : "233", - "s" : [ { - "r" : "215", - "value" : [ "DateTime","(","2000",", ","3",", ","15",", ","13",", ","30",", ","25",", ","200",", " ] - }, { - "r" : "222", - "s" : [ { - "r" : "222", - "value" : [ "+","1.0" ] - } ] - }, { - "value" : [ ")" ] - } ] - }, { - "r" : "269", - "value" : [ " ","same year or after"," " ] - }, { - "r" : "260", - "s" : [ { - "r" : "242", - "value" : [ "DateTime","(","2000",", ","11",", ","23",", ","8",", ","14",", ","47",", ","500",", " ] - }, { - "r" : "249", - "s" : [ { - "r" : "249", - "value" : [ "+","1.0" ] - } ] - }, { - "value" : [ ")" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "269", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "precision" : "Year", - "type" : "SameOrAfter", - "signature" : [ { - "localId" : "270", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "271", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "233", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "234", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "235", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "236", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "237", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "238", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "239", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "240", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "241", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "215", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "216", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "217", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal" - }, - "hour" : { - "localId" : "218", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "13", - "type" : "Literal" - }, - "minute" : { - "localId" : "219", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "30", - "type" : "Literal" - }, - "second" : { - "localId" : "220", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "25", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "221", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "200", - "type" : "Literal" - }, - "timezoneOffset" : { - "localId" : "222", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "1.0", - "type" : "Literal" - } - }, { - "localId" : "260", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "261", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "262", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "263", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "264", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "265", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "266", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "267", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "268", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "242", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "243", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "11", - "type" : "Literal" - }, - "day" : { - "localId" : "244", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "23", - "type" : "Literal" - }, - "hour" : { - "localId" : "245", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "8", - "type" : "Literal" - }, - "minute" : { - "localId" : "246", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "14", - "type" : "Literal" - }, - "second" : { - "localId" : "247", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "47", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "248", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "500", - "type" : "Literal" - }, - "timezoneOffset" : { - "localId" : "249", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "1.0", - "type" : "Literal" - } - } ] - } - }, { - "localId" : "274", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "YearAfter", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "274", - "s" : [ { - "value" : [ "","define ","YearAfter",": " ] - }, { - "r" : "329", - "s" : [ { - "r" : "293", - "s" : [ { - "r" : "275", - "value" : [ "DateTime","(","2000",", ","3",", ","15",", ","13",", ","30",", ","25",", ","200",", " ] - }, { - "r" : "282", - "s" : [ { - "r" : "282", - "value" : [ "+","1.0" ] - } ] - }, { - "value" : [ ")" ] - } ] - }, { - "r" : "329", - "value" : [ " ","same year or after"," " ] - }, { - "r" : "320", - "s" : [ { - "r" : "302", - "value" : [ "DateTime","(","1999",", ","11",", ","23",", ","8",", ","14",", ","47",", ","500",", " ] - }, { - "r" : "309", - "s" : [ { - "r" : "309", - "value" : [ "+","1.0" ] - } ] - }, { - "value" : [ ")" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "329", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "precision" : "Year", - "type" : "SameOrAfter", - "signature" : [ { - "localId" : "330", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "331", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "293", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "294", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "295", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "296", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "297", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "298", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "299", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "300", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "301", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "275", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "276", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "277", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal" - }, - "hour" : { - "localId" : "278", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "13", - "type" : "Literal" - }, - "minute" : { - "localId" : "279", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "30", - "type" : "Literal" - }, - "second" : { - "localId" : "280", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "25", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "281", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "200", - "type" : "Literal" - }, - "timezoneOffset" : { - "localId" : "282", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "1.0", - "type" : "Literal" - } - }, { - "localId" : "320", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "321", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "322", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "323", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "324", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "325", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "326", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "327", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "328", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "302", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1999", - "type" : "Literal" - }, - "month" : { - "localId" : "303", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "11", - "type" : "Literal" - }, - "day" : { - "localId" : "304", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "23", - "type" : "Literal" - }, - "hour" : { - "localId" : "305", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "8", - "type" : "Literal" - }, - "minute" : { - "localId" : "306", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "14", - "type" : "Literal" - }, - "second" : { - "localId" : "307", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "47", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "308", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "500", - "type" : "Literal" - }, - "timezoneOffset" : { - "localId" : "309", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "1.0", - "type" : "Literal" - } - } ] - } - }, { - "localId" : "334", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "YearBefore", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "334", - "s" : [ { - "value" : [ "","define ","YearBefore",": " ] - }, { - "r" : "389", - "s" : [ { - "r" : "353", - "s" : [ { - "r" : "335", - "value" : [ "DateTime","(","2000",", ","3",", ","15",", ","13",", ","30",", ","25",", ","200",", " ] - }, { - "r" : "342", - "s" : [ { - "r" : "342", - "value" : [ "+","1.0" ] - } ] - }, { - "value" : [ ")" ] - } ] - }, { - "r" : "389", - "value" : [ " ","same year or after"," " ] - }, { - "r" : "380", - "s" : [ { - "r" : "362", - "value" : [ "DateTime","(","2001",", ","11",", ","23",", ","8",", ","14",", ","47",", ","500",", " ] - }, { - "r" : "369", - "s" : [ { - "r" : "369", - "value" : [ "+","1.0" ] - } ] - }, { - "value" : [ ")" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "389", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "precision" : "Year", - "type" : "SameOrAfter", - "signature" : [ { - "localId" : "390", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "391", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "353", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "354", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "355", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "356", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "357", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "358", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "359", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "360", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "361", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "335", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "336", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "337", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal" - }, - "hour" : { - "localId" : "338", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "13", - "type" : "Literal" - }, - "minute" : { - "localId" : "339", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "30", - "type" : "Literal" - }, - "second" : { - "localId" : "340", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "25", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "341", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "200", - "type" : "Literal" - }, - "timezoneOffset" : { - "localId" : "342", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "1.0", - "type" : "Literal" - } - }, { - "localId" : "380", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "381", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "382", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "383", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "384", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "385", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "386", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "387", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "388", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "362", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2001", - "type" : "Literal" - }, - "month" : { - "localId" : "363", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "11", - "type" : "Literal" - }, - "day" : { - "localId" : "364", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "23", - "type" : "Literal" - }, - "hour" : { - "localId" : "365", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "8", - "type" : "Literal" - }, - "minute" : { - "localId" : "366", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "14", - "type" : "Literal" - }, - "second" : { - "localId" : "367", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "47", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "368", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "500", - "type" : "Literal" - }, - "timezoneOffset" : { - "localId" : "369", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "1.0", - "type" : "Literal" - } - } ] - } - }, { - "localId" : "394", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "SameMonth", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "394", - "s" : [ { - "value" : [ "","define ","SameMonth",": " ] - }, { - "r" : "449", - "s" : [ { - "r" : "413", - "s" : [ { - "r" : "395", - "value" : [ "DateTime","(","2000",", ","3",", ","15",", ","13",", ","30",", ","25",", ","200",", " ] - }, { - "r" : "402", - "s" : [ { - "r" : "402", - "value" : [ "+","1.0" ] - } ] - }, { - "value" : [ ")" ] - } ] - }, { - "r" : "449", - "value" : [ " ","same month or after"," " ] - }, { - "r" : "440", - "s" : [ { - "r" : "422", - "value" : [ "DateTime","(","2000",", ","3",", ","23",", ","8",", ","14",", ","47",", ","500",", " ] - }, { - "r" : "429", - "s" : [ { - "r" : "429", - "value" : [ "+","1.0" ] - } ] - }, { - "value" : [ ")" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "449", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "precision" : "Month", - "type" : "SameOrAfter", - "signature" : [ { - "localId" : "450", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "451", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "413", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "414", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "415", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "416", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "417", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "418", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "419", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "420", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "421", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "395", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "396", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "397", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal" - }, - "hour" : { - "localId" : "398", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "13", - "type" : "Literal" - }, - "minute" : { - "localId" : "399", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "30", - "type" : "Literal" - }, - "second" : { - "localId" : "400", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "25", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "401", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "200", - "type" : "Literal" - }, - "timezoneOffset" : { - "localId" : "402", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "1.0", - "type" : "Literal" - } - }, { - "localId" : "440", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "441", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "442", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "443", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "444", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "445", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "446", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "447", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "448", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "422", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "423", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "424", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "23", - "type" : "Literal" - }, - "hour" : { - "localId" : "425", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "8", - "type" : "Literal" - }, - "minute" : { - "localId" : "426", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "14", - "type" : "Literal" - }, - "second" : { - "localId" : "427", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "47", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "428", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "500", - "type" : "Literal" - }, - "timezoneOffset" : { - "localId" : "429", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "1.0", - "type" : "Literal" - } - } ] - } - }, { - "localId" : "454", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "MonthAfter", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "454", - "s" : [ { - "value" : [ "","define ","MonthAfter",": " ] - }, { - "r" : "509", - "s" : [ { - "r" : "473", - "s" : [ { - "r" : "455", - "value" : [ "DateTime","(","2000",", ","3",", ","15",", ","13",", ","30",", ","25",", ","200",", " ] - }, { - "r" : "462", - "s" : [ { - "r" : "462", - "value" : [ "+","1.0" ] - } ] - }, { - "value" : [ ")" ] - } ] - }, { - "r" : "509", - "value" : [ " ","same month or after"," " ] - }, { - "r" : "500", - "s" : [ { - "r" : "482", - "value" : [ "DateTime","(","2000",", ","2",", ","23",", ","8",", ","14",", ","47",", ","500",", " ] - }, { - "r" : "489", - "s" : [ { - "r" : "489", - "value" : [ "+","1.0" ] - } ] - }, { - "value" : [ ")" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "509", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "precision" : "Month", - "type" : "SameOrAfter", - "signature" : [ { - "localId" : "510", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "511", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "473", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "474", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "475", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "476", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "477", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "478", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "479", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "480", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "481", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "455", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "456", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "457", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal" - }, - "hour" : { - "localId" : "458", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "13", - "type" : "Literal" - }, - "minute" : { - "localId" : "459", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "30", - "type" : "Literal" - }, - "second" : { - "localId" : "460", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "25", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "461", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "200", - "type" : "Literal" - }, - "timezoneOffset" : { - "localId" : "462", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "1.0", - "type" : "Literal" - } - }, { - "localId" : "500", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "501", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "502", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "503", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "504", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "505", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "506", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "507", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "508", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "482", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "483", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal" - }, - "day" : { - "localId" : "484", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "23", - "type" : "Literal" - }, - "hour" : { - "localId" : "485", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "8", - "type" : "Literal" - }, - "minute" : { - "localId" : "486", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "14", - "type" : "Literal" - }, - "second" : { - "localId" : "487", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "47", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "488", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "500", - "type" : "Literal" - }, - "timezoneOffset" : { - "localId" : "489", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "1.0", - "type" : "Literal" - } - } ] - } - }, { - "localId" : "514", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "MonthBefore", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "514", - "s" : [ { - "value" : [ "","define ","MonthBefore",": " ] - }, { - "r" : "569", - "s" : [ { - "r" : "533", - "s" : [ { - "r" : "515", - "value" : [ "DateTime","(","2000",", ","3",", ","15",", ","13",", ","30",", ","25",", ","200",", " ] - }, { - "r" : "522", - "s" : [ { - "r" : "522", - "value" : [ "+","1.0" ] - } ] - }, { - "value" : [ ")" ] - } ] - }, { - "r" : "569", - "value" : [ " ","same month or after"," " ] - }, { - "r" : "560", - "s" : [ { - "r" : "542", - "value" : [ "DateTime","(","2000",", ","4",", ","23",", ","8",", ","14",", ","47",", ","500",", " ] - }, { - "r" : "549", - "s" : [ { - "r" : "549", - "value" : [ "+","1.0" ] - } ] - }, { - "value" : [ ")" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "569", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "precision" : "Month", - "type" : "SameOrAfter", - "signature" : [ { - "localId" : "570", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "571", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "533", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "534", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "535", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "536", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "537", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "538", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "539", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "540", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "541", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "515", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "516", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "517", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal" - }, - "hour" : { - "localId" : "518", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "13", - "type" : "Literal" - }, - "minute" : { - "localId" : "519", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "30", - "type" : "Literal" - }, - "second" : { - "localId" : "520", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "25", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "521", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "200", - "type" : "Literal" - }, - "timezoneOffset" : { - "localId" : "522", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "1.0", - "type" : "Literal" - } - }, { - "localId" : "560", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "561", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "562", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "563", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "564", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "565", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "566", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "567", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "568", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "542", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "543", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "4", - "type" : "Literal" - }, - "day" : { - "localId" : "544", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "23", - "type" : "Literal" - }, - "hour" : { - "localId" : "545", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "8", - "type" : "Literal" - }, - "minute" : { - "localId" : "546", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "14", - "type" : "Literal" - }, - "second" : { - "localId" : "547", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "47", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "548", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "500", - "type" : "Literal" - }, - "timezoneOffset" : { - "localId" : "549", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "1.0", - "type" : "Literal" - } - } ] - } - }, { - "localId" : "574", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "SameDay", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "574", - "s" : [ { - "value" : [ "","define ","SameDay",": " ] - }, { - "r" : "629", - "s" : [ { - "r" : "593", - "s" : [ { - "r" : "575", - "value" : [ "DateTime","(","2000",", ","3",", ","15",", ","13",", ","30",", ","25",", ","200",", " ] - }, { - "r" : "582", - "s" : [ { - "r" : "582", - "value" : [ "+","1.0" ] - } ] - }, { - "value" : [ ")" ] - } ] - }, { - "r" : "629", - "value" : [ " ","same day or after"," " ] - }, { - "r" : "620", - "s" : [ { - "r" : "602", - "value" : [ "DateTime","(","2000",", ","3",", ","15",", ","8",", ","14",", ","47",", ","500",", " ] - }, { - "r" : "609", - "s" : [ { - "r" : "609", - "value" : [ "+","1.0" ] - } ] - }, { - "value" : [ ")" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "629", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "precision" : "Day", - "type" : "SameOrAfter", - "signature" : [ { - "localId" : "630", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "631", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "593", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "594", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "595", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "596", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "597", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "598", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "599", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "600", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "601", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "575", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "576", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "577", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal" - }, - "hour" : { - "localId" : "578", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "13", - "type" : "Literal" - }, - "minute" : { - "localId" : "579", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "30", - "type" : "Literal" - }, - "second" : { - "localId" : "580", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "25", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "581", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "200", - "type" : "Literal" - }, - "timezoneOffset" : { - "localId" : "582", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "1.0", - "type" : "Literal" - } - }, { - "localId" : "620", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "621", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "622", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "623", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "624", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "625", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "626", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "627", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "628", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "602", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "603", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "604", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal" - }, - "hour" : { - "localId" : "605", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "8", - "type" : "Literal" - }, - "minute" : { - "localId" : "606", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "14", - "type" : "Literal" - }, - "second" : { - "localId" : "607", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "47", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "608", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "500", - "type" : "Literal" - }, - "timezoneOffset" : { - "localId" : "609", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "1.0", - "type" : "Literal" - } - } ] - } - }, { - "localId" : "634", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "DayAfter", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "634", - "s" : [ { - "value" : [ "","define ","DayAfter",": " ] - }, { - "r" : "689", - "s" : [ { - "r" : "653", - "s" : [ { - "r" : "635", - "value" : [ "DateTime","(","2000",", ","3",", ","15",", ","13",", ","30",", ","25",", ","200",", " ] - }, { - "r" : "642", - "s" : [ { - "r" : "642", - "value" : [ "+","1.0" ] - } ] - }, { - "value" : [ ")" ] - } ] - }, { - "r" : "689", - "value" : [ " ","same day or after"," " ] - }, { - "r" : "680", - "s" : [ { - "r" : "662", - "value" : [ "DateTime","(","2000",", ","3",", ","14",", ","8",", ","14",", ","47",", ","500",", " ] - }, { - "r" : "669", - "s" : [ { - "r" : "669", - "value" : [ "+","1.0" ] - } ] - }, { - "value" : [ ")" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "689", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "precision" : "Day", - "type" : "SameOrAfter", - "signature" : [ { - "localId" : "690", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "691", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "653", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "654", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "655", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "656", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "657", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "658", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "659", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "660", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "661", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "635", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "636", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "637", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal" - }, - "hour" : { - "localId" : "638", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "13", - "type" : "Literal" - }, - "minute" : { - "localId" : "639", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "30", - "type" : "Literal" - }, - "second" : { - "localId" : "640", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "25", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "641", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "200", - "type" : "Literal" - }, - "timezoneOffset" : { - "localId" : "642", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "1.0", - "type" : "Literal" - } - }, { - "localId" : "680", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "681", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "682", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "683", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "684", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "685", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "686", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "687", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "688", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "662", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "663", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "664", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "14", - "type" : "Literal" - }, - "hour" : { - "localId" : "665", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "8", - "type" : "Literal" - }, - "minute" : { - "localId" : "666", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "14", - "type" : "Literal" - }, - "second" : { - "localId" : "667", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "47", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "668", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "500", - "type" : "Literal" - }, - "timezoneOffset" : { - "localId" : "669", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "1.0", - "type" : "Literal" - } - } ] - } - }, { - "localId" : "694", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "DayBefore", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "694", - "s" : [ { - "value" : [ "","define ","DayBefore",": " ] - }, { - "r" : "749", - "s" : [ { - "r" : "713", - "s" : [ { - "r" : "695", - "value" : [ "DateTime","(","2000",", ","3",", ","15",", ","13",", ","30",", ","25",", ","200",", " ] - }, { - "r" : "702", - "s" : [ { - "r" : "702", - "value" : [ "+","1.0" ] - } ] - }, { - "value" : [ ")" ] - } ] - }, { - "r" : "749", - "value" : [ " ","same day or after"," " ] - }, { - "r" : "740", - "s" : [ { - "r" : "722", - "value" : [ "DateTime","(","2000",", ","3",", ","16",", ","8",", ","14",", ","47",", ","500",", " ] - }, { - "r" : "729", - "s" : [ { - "r" : "729", - "value" : [ "+","1.0" ] - } ] - }, { - "value" : [ ")" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "749", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "precision" : "Day", - "type" : "SameOrAfter", - "signature" : [ { - "localId" : "750", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "751", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "713", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "714", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "715", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "716", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "717", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "718", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "719", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "720", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "721", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "695", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "696", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "697", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal" - }, - "hour" : { - "localId" : "698", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "13", - "type" : "Literal" - }, - "minute" : { - "localId" : "699", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "30", - "type" : "Literal" - }, - "second" : { - "localId" : "700", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "25", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "701", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "200", - "type" : "Literal" - }, - "timezoneOffset" : { - "localId" : "702", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "1.0", - "type" : "Literal" - } - }, { - "localId" : "740", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "741", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "742", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "743", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "744", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "745", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "746", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "747", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "748", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "722", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "723", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "724", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "16", - "type" : "Literal" - }, - "hour" : { - "localId" : "725", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "8", - "type" : "Literal" - }, - "minute" : { - "localId" : "726", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "14", - "type" : "Literal" - }, - "second" : { - "localId" : "727", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "47", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "728", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "500", - "type" : "Literal" - }, - "timezoneOffset" : { - "localId" : "729", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "1.0", - "type" : "Literal" - } - } ] - } - }, { - "localId" : "754", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "SameHour", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "754", - "s" : [ { - "value" : [ "","define ","SameHour",": " ] - }, { - "r" : "809", - "s" : [ { - "r" : "773", - "s" : [ { - "r" : "755", - "value" : [ "DateTime","(","2000",", ","3",", ","15",", ","13",", ","30",", ","25",", ","200",", " ] - }, { - "r" : "762", - "s" : [ { - "r" : "762", - "value" : [ "+","1.0" ] - } ] - }, { - "value" : [ ")" ] - } ] - }, { - "r" : "809", - "value" : [ " ","same hour or after"," " ] - }, { - "r" : "800", - "s" : [ { - "r" : "782", - "value" : [ "DateTime","(","2000",", ","3",", ","15",", ","13",", ","14",", ","47",", ","500",", " ] - }, { - "r" : "789", - "s" : [ { - "r" : "789", - "value" : [ "+","1.0" ] - } ] - }, { - "value" : [ ")" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "809", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "precision" : "Hour", - "type" : "SameOrAfter", - "signature" : [ { - "localId" : "810", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "811", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "773", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "774", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "775", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "776", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "777", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "778", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "779", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "780", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "781", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "755", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "756", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "757", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal" - }, - "hour" : { - "localId" : "758", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "13", - "type" : "Literal" - }, - "minute" : { - "localId" : "759", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "30", - "type" : "Literal" - }, - "second" : { - "localId" : "760", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "25", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "761", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "200", - "type" : "Literal" - }, - "timezoneOffset" : { - "localId" : "762", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "1.0", - "type" : "Literal" - } - }, { - "localId" : "800", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "801", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "802", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "803", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "804", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "805", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "806", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "807", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "808", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "782", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "783", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "784", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal" - }, - "hour" : { - "localId" : "785", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "13", - "type" : "Literal" - }, - "minute" : { - "localId" : "786", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "14", - "type" : "Literal" - }, - "second" : { - "localId" : "787", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "47", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "788", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "500", - "type" : "Literal" - }, - "timezoneOffset" : { - "localId" : "789", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "1.0", - "type" : "Literal" - } - } ] - } - }, { - "localId" : "814", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "HourAfter", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "814", - "s" : [ { - "value" : [ "","define ","HourAfter",": " ] - }, { - "r" : "869", - "s" : [ { - "r" : "833", - "s" : [ { - "r" : "815", - "value" : [ "DateTime","(","2000",", ","3",", ","15",", ","13",", ","30",", ","25",", ","200",", " ] - }, { - "r" : "822", - "s" : [ { - "r" : "822", - "value" : [ "+","1.0" ] - } ] - }, { - "value" : [ ")" ] - } ] - }, { - "r" : "869", - "value" : [ " ","same hour or after"," " ] - }, { - "r" : "860", - "s" : [ { - "r" : "842", - "value" : [ "DateTime","(","2000",", ","3",", ","15",", ","12",", ","14",", ","47",", ","500",", " ] - }, { - "r" : "849", - "s" : [ { - "r" : "849", - "value" : [ "+","1.0" ] - } ] - }, { - "value" : [ ")" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "869", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "precision" : "Hour", - "type" : "SameOrAfter", - "signature" : [ { - "localId" : "870", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "871", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "833", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "834", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "835", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "836", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "837", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "838", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "839", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "840", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "841", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "815", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "816", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "817", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal" - }, - "hour" : { - "localId" : "818", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "13", - "type" : "Literal" - }, - "minute" : { - "localId" : "819", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "30", - "type" : "Literal" - }, - "second" : { - "localId" : "820", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "25", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "821", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "200", - "type" : "Literal" - }, - "timezoneOffset" : { - "localId" : "822", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "1.0", - "type" : "Literal" - } - }, { - "localId" : "860", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "861", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "862", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "863", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "864", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "865", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "866", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "867", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "868", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "842", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "843", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "844", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal" - }, - "hour" : { - "localId" : "845", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "12", - "type" : "Literal" - }, - "minute" : { - "localId" : "846", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "14", - "type" : "Literal" - }, - "second" : { - "localId" : "847", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "47", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "848", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "500", - "type" : "Literal" - }, - "timezoneOffset" : { - "localId" : "849", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "1.0", - "type" : "Literal" - } - } ] - } - }, { - "localId" : "874", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "HourBefore", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "874", - "s" : [ { - "value" : [ "","define ","HourBefore",": " ] - }, { - "r" : "929", - "s" : [ { - "r" : "893", - "s" : [ { - "r" : "875", - "value" : [ "DateTime","(","2000",", ","3",", ","15",", ","13",", ","30",", ","25",", ","200",", " ] - }, { - "r" : "882", - "s" : [ { - "r" : "882", - "value" : [ "+","1.0" ] - } ] - }, { - "value" : [ ")" ] - } ] - }, { - "r" : "929", - "value" : [ " ","same hour or after"," " ] - }, { - "r" : "920", - "s" : [ { - "r" : "902", - "value" : [ "DateTime","(","2000",", ","3",", ","15",", ","14",", ","14",", ","47",", ","500",", " ] - }, { - "r" : "909", - "s" : [ { - "r" : "909", - "value" : [ "+","1.0" ] - } ] - }, { - "value" : [ ")" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "929", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "precision" : "Hour", - "type" : "SameOrAfter", - "signature" : [ { - "localId" : "930", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "931", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "893", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "894", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "895", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "896", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "897", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "898", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "899", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "900", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "901", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "875", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "876", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "877", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal" - }, - "hour" : { - "localId" : "878", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "13", - "type" : "Literal" - }, - "minute" : { - "localId" : "879", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "30", - "type" : "Literal" - }, - "second" : { - "localId" : "880", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "25", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "881", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "200", - "type" : "Literal" - }, - "timezoneOffset" : { - "localId" : "882", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "1.0", - "type" : "Literal" - } - }, { - "localId" : "920", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "921", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "922", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "923", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "924", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "925", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "926", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "927", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "928", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "902", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "903", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "904", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal" - }, - "hour" : { - "localId" : "905", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "14", - "type" : "Literal" - }, - "minute" : { - "localId" : "906", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "14", - "type" : "Literal" - }, - "second" : { - "localId" : "907", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "47", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "908", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "500", - "type" : "Literal" - }, - "timezoneOffset" : { - "localId" : "909", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "1.0", - "type" : "Literal" - } - } ] - } - }, { - "localId" : "934", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "SameMinute", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "934", - "s" : [ { - "value" : [ "","define ","SameMinute",": " ] - }, { - "r" : "989", - "s" : [ { - "r" : "953", - "s" : [ { - "r" : "935", - "value" : [ "DateTime","(","2000",", ","3",", ","15",", ","13",", ","30",", ","25",", ","200",", " ] - }, { - "r" : "942", - "s" : [ { - "r" : "942", - "value" : [ "+","1.0" ] - } ] - }, { - "value" : [ ")" ] - } ] - }, { - "r" : "989", - "value" : [ " ","same minute or after"," " ] - }, { - "r" : "980", - "s" : [ { - "r" : "962", - "value" : [ "DateTime","(","2000",", ","3",", ","15",", ","13",", ","30",", ","47",", ","500",", " ] - }, { - "r" : "969", - "s" : [ { - "r" : "969", - "value" : [ "+","1.0" ] - } ] - }, { - "value" : [ ")" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "989", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "precision" : "Minute", - "type" : "SameOrAfter", - "signature" : [ { - "localId" : "990", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "991", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "953", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "954", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "955", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "956", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "957", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "958", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "959", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "960", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "961", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "935", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "936", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "937", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal" - }, - "hour" : { - "localId" : "938", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "13", - "type" : "Literal" - }, - "minute" : { - "localId" : "939", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "30", - "type" : "Literal" - }, - "second" : { - "localId" : "940", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "25", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "941", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "200", - "type" : "Literal" - }, - "timezoneOffset" : { - "localId" : "942", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "1.0", - "type" : "Literal" - } - }, { - "localId" : "980", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "981", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "982", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "983", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "984", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "985", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "986", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "987", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "988", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "962", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "963", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "964", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal" - }, - "hour" : { - "localId" : "965", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "13", - "type" : "Literal" - }, - "minute" : { - "localId" : "966", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "30", - "type" : "Literal" - }, - "second" : { - "localId" : "967", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "47", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "968", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "500", - "type" : "Literal" - }, - "timezoneOffset" : { - "localId" : "969", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "1.0", - "type" : "Literal" - } - } ] - } - }, { - "localId" : "994", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "MinuteAfter", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "994", - "s" : [ { - "value" : [ "","define ","MinuteAfter",": " ] - }, { - "r" : "1049", - "s" : [ { - "r" : "1013", - "s" : [ { - "r" : "995", - "value" : [ "DateTime","(","2000",", ","3",", ","15",", ","13",", ","30",", ","25",", ","200",", " ] - }, { - "r" : "1002", - "s" : [ { - "r" : "1002", - "value" : [ "+","1.0" ] - } ] - }, { - "value" : [ ")" ] - } ] - }, { - "r" : "1049", - "value" : [ " ","same minute or after"," " ] - }, { - "r" : "1040", - "s" : [ { - "r" : "1022", - "value" : [ "DateTime","(","2000",", ","3",", ","15",", ","13",", ","29",", ","47",", ","500",", " ] - }, { - "r" : "1029", - "s" : [ { - "r" : "1029", - "value" : [ "+","1.0" ] - } ] - }, { - "value" : [ ")" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "1049", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "precision" : "Minute", - "type" : "SameOrAfter", - "signature" : [ { - "localId" : "1050", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1051", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "1013", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "1014", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1015", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1016", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1017", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1018", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1019", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1020", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1021", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "995", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "996", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "997", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal" - }, - "hour" : { - "localId" : "998", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "13", - "type" : "Literal" - }, - "minute" : { - "localId" : "999", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "30", - "type" : "Literal" - }, - "second" : { - "localId" : "1000", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "25", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "1001", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "200", - "type" : "Literal" - }, - "timezoneOffset" : { - "localId" : "1002", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "1.0", - "type" : "Literal" - } - }, { - "localId" : "1040", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "1041", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1042", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1043", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1044", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1045", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1046", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1047", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1048", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1022", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "1023", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "1024", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal" - }, - "hour" : { - "localId" : "1025", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "13", - "type" : "Literal" - }, - "minute" : { - "localId" : "1026", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "29", - "type" : "Literal" - }, - "second" : { - "localId" : "1027", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "47", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "1028", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "500", - "type" : "Literal" - }, - "timezoneOffset" : { - "localId" : "1029", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "1.0", - "type" : "Literal" - } - } ] - } - }, { - "localId" : "1054", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "MinuteBefore", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "1054", - "s" : [ { - "value" : [ "","define ","MinuteBefore",": " ] - }, { - "r" : "1109", - "s" : [ { - "r" : "1073", - "s" : [ { - "r" : "1055", - "value" : [ "DateTime","(","2000",", ","3",", ","15",", ","13",", ","30",", ","25",", ","200",", " ] - }, { - "r" : "1062", - "s" : [ { - "r" : "1062", - "value" : [ "+","1.0" ] - } ] - }, { - "value" : [ ")" ] - } ] - }, { - "r" : "1109", - "value" : [ " ","same minute or after"," " ] - }, { - "r" : "1100", - "s" : [ { - "r" : "1082", - "value" : [ "DateTime","(","2000",", ","3",", ","15",", ","13",", ","31",", ","47",", ","500",", " ] - }, { - "r" : "1089", - "s" : [ { - "r" : "1089", - "value" : [ "+","1.0" ] - } ] - }, { - "value" : [ ")" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "1109", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "precision" : "Minute", - "type" : "SameOrAfter", - "signature" : [ { - "localId" : "1110", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1111", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "1073", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "1074", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1075", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1076", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1077", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1078", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1079", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1080", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1081", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1055", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "1056", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "1057", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal" - }, - "hour" : { - "localId" : "1058", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "13", - "type" : "Literal" - }, - "minute" : { - "localId" : "1059", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "30", - "type" : "Literal" - }, - "second" : { - "localId" : "1060", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "25", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "1061", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "200", - "type" : "Literal" - }, - "timezoneOffset" : { - "localId" : "1062", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "1.0", - "type" : "Literal" - } - }, { - "localId" : "1100", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "1101", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1102", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1103", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1104", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1105", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1106", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1107", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1108", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1082", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "1083", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "1084", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal" - }, - "hour" : { - "localId" : "1085", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "13", - "type" : "Literal" - }, - "minute" : { - "localId" : "1086", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "31", - "type" : "Literal" - }, - "second" : { - "localId" : "1087", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "47", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "1088", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "500", - "type" : "Literal" - }, - "timezoneOffset" : { - "localId" : "1089", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "1.0", - "type" : "Literal" - } - } ] - } - }, { - "localId" : "1114", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "SameSecond", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "1114", - "s" : [ { - "value" : [ "","define ","SameSecond",": " ] - }, { - "r" : "1169", - "s" : [ { - "r" : "1133", - "s" : [ { - "r" : "1115", - "value" : [ "DateTime","(","2000",", ","3",", ","15",", ","13",", ","30",", ","25",", ","200",", " ] - }, { - "r" : "1122", - "s" : [ { - "r" : "1122", - "value" : [ "+","1.0" ] - } ] - }, { - "value" : [ ")" ] - } ] - }, { - "r" : "1169", - "value" : [ " ","same second or after"," " ] - }, { - "r" : "1160", - "s" : [ { - "r" : "1142", - "value" : [ "DateTime","(","2000",", ","3",", ","15",", ","13",", ","30",", ","25",", ","500",", " ] - }, { - "r" : "1149", - "s" : [ { - "r" : "1149", - "value" : [ "+","1.0" ] - } ] - }, { - "value" : [ ")" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "1169", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "precision" : "Second", - "type" : "SameOrAfter", - "signature" : [ { - "localId" : "1170", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1171", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "1133", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "1134", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1135", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1136", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1137", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1138", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1139", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1140", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1141", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1115", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "1116", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "1117", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal" - }, - "hour" : { - "localId" : "1118", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "13", - "type" : "Literal" - }, - "minute" : { - "localId" : "1119", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "30", - "type" : "Literal" - }, - "second" : { - "localId" : "1120", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "25", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "1121", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "200", - "type" : "Literal" - }, - "timezoneOffset" : { - "localId" : "1122", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "1.0", - "type" : "Literal" - } - }, { - "localId" : "1160", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "1161", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1162", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1163", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1164", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1165", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1166", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1167", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1168", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1142", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "1143", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "1144", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal" - }, - "hour" : { - "localId" : "1145", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "13", - "type" : "Literal" - }, - "minute" : { - "localId" : "1146", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "30", - "type" : "Literal" - }, - "second" : { - "localId" : "1147", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "25", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "1148", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "500", - "type" : "Literal" - }, - "timezoneOffset" : { - "localId" : "1149", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "1.0", - "type" : "Literal" - } - } ] - } - }, { - "localId" : "1174", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "SecondAfter", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "1174", - "s" : [ { - "value" : [ "","define ","SecondAfter",": " ] - }, { - "r" : "1229", - "s" : [ { - "r" : "1193", - "s" : [ { - "r" : "1175", - "value" : [ "DateTime","(","2000",", ","3",", ","15",", ","13",", ","30",", ","25",", ","200",", " ] - }, { - "r" : "1182", - "s" : [ { - "r" : "1182", - "value" : [ "+","1.0" ] - } ] - }, { - "value" : [ ")" ] - } ] - }, { - "r" : "1229", - "value" : [ " ","same second or after"," " ] - }, { - "r" : "1220", - "s" : [ { - "r" : "1202", - "value" : [ "DateTime","(","2000",", ","3",", ","15",", ","13",", ","30",", ","24",", ","500",", " ] - }, { - "r" : "1209", - "s" : [ { - "r" : "1209", - "value" : [ "+","1.0" ] - } ] - }, { - "value" : [ ")" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "1229", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "precision" : "Second", - "type" : "SameOrAfter", - "signature" : [ { - "localId" : "1230", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1231", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "1193", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "1194", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1195", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1196", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1197", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1198", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1199", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1200", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1201", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1175", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "1176", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "1177", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal" - }, - "hour" : { - "localId" : "1178", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "13", - "type" : "Literal" - }, - "minute" : { - "localId" : "1179", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "30", - "type" : "Literal" - }, - "second" : { - "localId" : "1180", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "25", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "1181", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "200", - "type" : "Literal" - }, - "timezoneOffset" : { - "localId" : "1182", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "1.0", - "type" : "Literal" - } - }, { - "localId" : "1220", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "1221", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1222", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1223", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1224", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1225", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1226", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1227", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1228", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1202", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "1203", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "1204", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal" - }, - "hour" : { - "localId" : "1205", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "13", - "type" : "Literal" - }, - "minute" : { - "localId" : "1206", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "30", - "type" : "Literal" - }, - "second" : { - "localId" : "1207", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "24", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "1208", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "500", - "type" : "Literal" - }, - "timezoneOffset" : { - "localId" : "1209", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "1.0", - "type" : "Literal" - } - } ] - } - }, { - "localId" : "1234", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "SecondBefore", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "1234", - "s" : [ { - "value" : [ "","define ","SecondBefore",": " ] - }, { - "r" : "1289", - "s" : [ { - "r" : "1253", - "s" : [ { - "r" : "1235", - "value" : [ "DateTime","(","2000",", ","3",", ","15",", ","13",", ","30",", ","25",", ","200",", " ] - }, { - "r" : "1242", - "s" : [ { - "r" : "1242", - "value" : [ "+","1.0" ] - } ] - }, { - "value" : [ ")" ] - } ] - }, { - "r" : "1289", - "value" : [ " ","same second or after"," " ] - }, { - "r" : "1280", - "s" : [ { - "r" : "1262", - "value" : [ "DateTime","(","2000",", ","3",", ","15",", ","13",", ","30",", ","26",", ","500",", " ] - }, { - "r" : "1269", - "s" : [ { - "r" : "1269", - "value" : [ "+","1.0" ] - } ] - }, { - "value" : [ ")" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "1289", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "precision" : "Second", - "type" : "SameOrAfter", - "signature" : [ { - "localId" : "1290", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1291", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "1253", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "1254", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1255", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1256", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1257", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1258", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1259", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1260", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1261", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1235", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "1236", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "1237", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal" - }, - "hour" : { - "localId" : "1238", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "13", - "type" : "Literal" - }, - "minute" : { - "localId" : "1239", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "30", - "type" : "Literal" - }, - "second" : { - "localId" : "1240", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "25", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "1241", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "200", - "type" : "Literal" - }, - "timezoneOffset" : { - "localId" : "1242", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "1.0", - "type" : "Literal" - } - }, { - "localId" : "1280", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "1281", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1282", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1283", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1284", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1285", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1286", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1287", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1288", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1262", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "1263", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "1264", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal" - }, - "hour" : { - "localId" : "1265", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "13", - "type" : "Literal" - }, - "minute" : { - "localId" : "1266", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "30", - "type" : "Literal" - }, - "second" : { - "localId" : "1267", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "26", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "1268", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "500", - "type" : "Literal" - }, - "timezoneOffset" : { - "localId" : "1269", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "1.0", - "type" : "Literal" - } - } ] - } - }, { - "localId" : "1294", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "SameMillisecond", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "1294", - "s" : [ { - "value" : [ "","define ","SameMillisecond",": " ] - }, { - "r" : "1349", - "s" : [ { - "r" : "1313", - "s" : [ { - "r" : "1295", - "value" : [ "DateTime","(","2000",", ","3",", ","15",", ","13",", ","30",", ","25",", ","200",", " ] - }, { - "r" : "1302", - "s" : [ { - "r" : "1302", - "value" : [ "+","1.0" ] - } ] - }, { - "value" : [ ")" ] - } ] - }, { - "r" : "1349", - "value" : [ " ","same millisecond or after"," " ] - }, { - "r" : "1340", - "s" : [ { - "r" : "1322", - "value" : [ "DateTime","(","2000",", ","3",", ","15",", ","13",", ","30",", ","25",", ","200",", " ] - }, { - "r" : "1329", - "s" : [ { - "r" : "1329", - "value" : [ "+","1.0" ] - } ] - }, { - "value" : [ ")" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "1349", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "precision" : "Millisecond", - "type" : "SameOrAfter", - "signature" : [ { - "localId" : "1350", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1351", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "1313", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "1314", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1315", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1316", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1317", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1318", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1319", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1320", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1321", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1295", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "1296", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "1297", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal" - }, - "hour" : { - "localId" : "1298", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "13", - "type" : "Literal" - }, - "minute" : { - "localId" : "1299", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "30", - "type" : "Literal" - }, - "second" : { - "localId" : "1300", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "25", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "1301", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "200", - "type" : "Literal" - }, - "timezoneOffset" : { - "localId" : "1302", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "1.0", - "type" : "Literal" - } - }, { - "localId" : "1340", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "1341", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1342", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1343", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1344", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1345", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1346", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1347", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1348", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1322", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "1323", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "1324", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal" - }, - "hour" : { - "localId" : "1325", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "13", - "type" : "Literal" - }, - "minute" : { - "localId" : "1326", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "30", - "type" : "Literal" - }, - "second" : { - "localId" : "1327", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "25", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "1328", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "200", - "type" : "Literal" - }, - "timezoneOffset" : { - "localId" : "1329", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "1.0", - "type" : "Literal" - } - } ] - } - }, { - "localId" : "1354", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "MillisecondAfter", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "1354", - "s" : [ { - "value" : [ "","define ","MillisecondAfter",": " ] - }, { - "r" : "1409", - "s" : [ { - "r" : "1373", - "s" : [ { - "r" : "1355", - "value" : [ "DateTime","(","2000",", ","3",", ","15",", ","13",", ","30",", ","25",", ","200",", " ] - }, { - "r" : "1362", - "s" : [ { - "r" : "1362", - "value" : [ "+","1.0" ] - } ] - }, { - "value" : [ ")" ] - } ] - }, { - "r" : "1409", - "value" : [ " ","same millisecond or after"," " ] - }, { - "r" : "1400", - "s" : [ { - "r" : "1382", - "value" : [ "DateTime","(","2000",", ","3",", ","15",", ","13",", ","30",", ","25",", ","199",", " ] - }, { - "r" : "1389", - "s" : [ { - "r" : "1389", - "value" : [ "+","1.0" ] - } ] - }, { - "value" : [ ")" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "1409", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "precision" : "Millisecond", - "type" : "SameOrAfter", - "signature" : [ { - "localId" : "1410", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1411", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "1373", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "1374", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1375", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1376", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1377", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1378", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1379", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1380", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1381", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1355", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "1356", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "1357", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal" - }, - "hour" : { - "localId" : "1358", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "13", - "type" : "Literal" - }, - "minute" : { - "localId" : "1359", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "30", - "type" : "Literal" - }, - "second" : { - "localId" : "1360", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "25", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "1361", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "200", - "type" : "Literal" - }, - "timezoneOffset" : { - "localId" : "1362", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "1.0", - "type" : "Literal" - } - }, { - "localId" : "1400", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "1401", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1402", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1403", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1404", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1405", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1406", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1407", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1408", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1382", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "1383", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "1384", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal" - }, - "hour" : { - "localId" : "1385", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "13", - "type" : "Literal" - }, - "minute" : { - "localId" : "1386", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "30", - "type" : "Literal" - }, - "second" : { - "localId" : "1387", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "25", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "1388", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "199", - "type" : "Literal" - }, - "timezoneOffset" : { - "localId" : "1389", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "1.0", - "type" : "Literal" - } - } ] - } - }, { - "localId" : "1414", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "MillisecondBefore", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "1414", - "s" : [ { - "value" : [ "","define ","MillisecondBefore",": " ] - }, { - "r" : "1469", - "s" : [ { - "r" : "1433", - "s" : [ { - "r" : "1415", - "value" : [ "DateTime","(","2000",", ","3",", ","15",", ","13",", ","30",", ","25",", ","200",", " ] - }, { - "r" : "1422", - "s" : [ { - "r" : "1422", - "value" : [ "+","1.0" ] - } ] - }, { - "value" : [ ")" ] - } ] - }, { - "r" : "1469", - "value" : [ " ","same millisecond or after"," " ] - }, { - "r" : "1460", - "s" : [ { - "r" : "1442", - "value" : [ "DateTime","(","2000",", ","3",", ","15",", ","13",", ","30",", ","25",", ","201",", " ] - }, { - "r" : "1449", - "s" : [ { - "r" : "1449", - "value" : [ "+","1.0" ] - } ] - }, { - "value" : [ ")" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "1469", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "precision" : "Millisecond", - "type" : "SameOrAfter", - "signature" : [ { - "localId" : "1470", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1471", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "1433", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "1434", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1435", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1436", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1437", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1438", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1439", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1440", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1441", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1415", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "1416", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "1417", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal" - }, - "hour" : { - "localId" : "1418", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "13", - "type" : "Literal" - }, - "minute" : { - "localId" : "1419", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "30", - "type" : "Literal" - }, - "second" : { - "localId" : "1420", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "25", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "1421", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "200", - "type" : "Literal" - }, - "timezoneOffset" : { - "localId" : "1422", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "1.0", - "type" : "Literal" - } - }, { - "localId" : "1460", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "1461", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1462", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1463", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1464", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1465", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1466", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1467", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1468", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1442", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "1443", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "1444", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal" - }, - "hour" : { - "localId" : "1445", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "13", - "type" : "Literal" - }, - "minute" : { - "localId" : "1446", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "30", - "type" : "Literal" - }, - "second" : { - "localId" : "1447", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "25", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "1448", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "201", - "type" : "Literal" - }, - "timezoneOffset" : { - "localId" : "1449", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "1.0", - "type" : "Literal" - } - } ] - } - }, { - "localId" : "1474", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "Same", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "1474", - "s" : [ { - "value" : [ "","define ","Same",": " ] - }, { - "r" : "1529", - "s" : [ { - "r" : "1493", - "s" : [ { - "r" : "1475", - "value" : [ "DateTime","(","2000",", ","3",", ","15",", ","13",", ","30",", ","25",", ","200",", " ] - }, { - "r" : "1482", - "s" : [ { - "r" : "1482", - "value" : [ "+","1.0" ] - } ] - }, { - "value" : [ ")" ] - } ] - }, { - "r" : "1529", - "value" : [ " ","same or after"," " ] - }, { - "r" : "1520", - "s" : [ { - "r" : "1502", - "value" : [ "DateTime","(","2000",", ","3",", ","15",", ","13",", ","30",", ","25",", ","200",", " ] - }, { - "r" : "1509", - "s" : [ { - "r" : "1509", - "value" : [ "+","1.0" ] - } ] - }, { - "value" : [ ")" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "1529", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "SameOrAfter", - "signature" : [ { - "localId" : "1530", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1531", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "1493", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "1494", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1495", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1496", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1497", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1498", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1499", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1500", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1501", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1475", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "1476", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "1477", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal" - }, - "hour" : { - "localId" : "1478", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "13", - "type" : "Literal" - }, - "minute" : { - "localId" : "1479", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "30", - "type" : "Literal" - }, - "second" : { - "localId" : "1480", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "25", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "1481", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "200", - "type" : "Literal" - }, - "timezoneOffset" : { - "localId" : "1482", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "1.0", - "type" : "Literal" - } - }, { - "localId" : "1520", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "1521", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1522", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1523", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1524", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1525", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1526", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1527", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1528", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1502", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "1503", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "1504", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal" - }, - "hour" : { - "localId" : "1505", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "13", - "type" : "Literal" - }, - "minute" : { - "localId" : "1506", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "30", - "type" : "Literal" - }, - "second" : { - "localId" : "1507", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "25", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "1508", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "200", - "type" : "Literal" - }, - "timezoneOffset" : { - "localId" : "1509", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "1.0", - "type" : "Literal" - } - } ] - } - }, { - "localId" : "1534", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "After", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "1534", - "s" : [ { - "value" : [ "","define ","After",": " ] - }, { - "r" : "1589", - "s" : [ { - "r" : "1553", - "s" : [ { - "r" : "1535", - "value" : [ "DateTime","(","2000",", ","3",", ","15",", ","13",", ","30",", ","25",", ","200",", " ] - }, { - "r" : "1542", - "s" : [ { - "r" : "1542", - "value" : [ "+","1.0" ] - } ] - }, { - "value" : [ ")" ] - } ] - }, { - "r" : "1589", - "value" : [ " ","same or after"," " ] - }, { - "r" : "1580", - "s" : [ { - "r" : "1562", - "value" : [ "DateTime","(","2000",", ","3",", ","15",", ","13",", ","30",", ","25",", ","199",", " ] - }, { - "r" : "1569", - "s" : [ { - "r" : "1569", - "value" : [ "+","1.0" ] - } ] - }, { - "value" : [ ")" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "1589", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "SameOrAfter", - "signature" : [ { - "localId" : "1590", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1591", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "1553", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "1554", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1555", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1556", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1557", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1558", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1559", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1560", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1561", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1535", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "1536", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "1537", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal" - }, - "hour" : { - "localId" : "1538", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "13", - "type" : "Literal" - }, - "minute" : { - "localId" : "1539", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "30", - "type" : "Literal" - }, - "second" : { - "localId" : "1540", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "25", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "1541", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "200", - "type" : "Literal" - }, - "timezoneOffset" : { - "localId" : "1542", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "1.0", - "type" : "Literal" - } - }, { - "localId" : "1580", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "1581", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1582", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1583", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1584", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1585", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1586", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1587", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1588", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1562", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "1563", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "1564", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal" - }, - "hour" : { - "localId" : "1565", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "13", - "type" : "Literal" - }, - "minute" : { - "localId" : "1566", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "30", - "type" : "Literal" - }, - "second" : { - "localId" : "1567", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "25", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "1568", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "199", - "type" : "Literal" - }, - "timezoneOffset" : { - "localId" : "1569", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "1.0", - "type" : "Literal" - } - } ] - } - }, { - "localId" : "1594", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "Before", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "1594", - "s" : [ { - "value" : [ "","define ","Before",": " ] - }, { - "r" : "1649", - "s" : [ { - "r" : "1613", - "s" : [ { - "r" : "1595", - "value" : [ "DateTime","(","2000",", ","3",", ","15",", ","13",", ","30",", ","25",", ","200",", " ] - }, { - "r" : "1602", - "s" : [ { - "r" : "1602", - "value" : [ "+","1.0" ] - } ] - }, { - "value" : [ ")" ] - } ] - }, { - "r" : "1649", - "value" : [ " ","same or after"," " ] - }, { - "r" : "1640", - "s" : [ { - "r" : "1622", - "value" : [ "DateTime","(","2000",", ","3",", ","15",", ","13",", ","30",", ","25",", ","201",", " ] - }, { - "r" : "1629", - "s" : [ { - "r" : "1629", - "value" : [ "+","1.0" ] - } ] - }, { - "value" : [ ")" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "1649", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "SameOrAfter", - "signature" : [ { - "localId" : "1650", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1651", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "1613", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "1614", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1615", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1616", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1617", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1618", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1619", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1620", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1621", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1595", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "1596", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "1597", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal" - }, - "hour" : { - "localId" : "1598", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "13", - "type" : "Literal" - }, - "minute" : { - "localId" : "1599", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "30", - "type" : "Literal" - }, - "second" : { - "localId" : "1600", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "25", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "1601", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "200", - "type" : "Literal" - }, - "timezoneOffset" : { - "localId" : "1602", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "1.0", - "type" : "Literal" - } - }, { - "localId" : "1640", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "1641", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1642", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1643", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1644", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1645", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1646", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1647", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1648", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1622", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "1623", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "1624", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal" - }, - "hour" : { - "localId" : "1625", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "13", - "type" : "Literal" - }, - "minute" : { - "localId" : "1626", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "30", - "type" : "Literal" - }, - "second" : { - "localId" : "1627", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "25", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "1628", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "201", - "type" : "Literal" - }, - "timezoneOffset" : { - "localId" : "1629", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "1.0", - "type" : "Literal" - } - } ] - } - }, { - "localId" : "1654", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "SameDayMonthBefore", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "1654", - "s" : [ { - "value" : [ "","define ","SameDayMonthBefore",": " ] - }, { - "r" : "1709", - "s" : [ { - "r" : "1673", - "s" : [ { - "r" : "1655", - "value" : [ "DateTime","(","2000",", ","3",", ","15",", ","13",", ","30",", ","25",", ","200",", " ] - }, { - "r" : "1662", - "s" : [ { - "r" : "1662", - "value" : [ "+","1.0" ] - } ] - }, { - "value" : [ ")" ] - } ] - }, { - "r" : "1709", - "value" : [ " ","same day or after"," " ] - }, { - "r" : "1700", - "s" : [ { - "r" : "1682", - "value" : [ "DateTime","(","2000",", ","4",", ","15",", ","8",", ","14",", ","47",", ","500",", " ] - }, { - "r" : "1689", - "s" : [ { - "r" : "1689", - "value" : [ "+","1.0" ] - } ] - }, { - "value" : [ ")" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "1709", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "precision" : "Day", - "type" : "SameOrAfter", - "signature" : [ { - "localId" : "1710", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1711", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "1673", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "1674", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1675", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1676", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1677", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1678", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1679", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1680", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1681", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1655", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "1656", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "1657", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal" - }, - "hour" : { - "localId" : "1658", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "13", - "type" : "Literal" - }, - "minute" : { - "localId" : "1659", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "30", - "type" : "Literal" - }, - "second" : { - "localId" : "1660", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "25", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "1661", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "200", - "type" : "Literal" - }, - "timezoneOffset" : { - "localId" : "1662", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "1.0", - "type" : "Literal" - } - }, { - "localId" : "1700", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "1701", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1702", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1703", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1704", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1705", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1706", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1707", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1708", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1682", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "1683", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "4", - "type" : "Literal" - }, - "day" : { - "localId" : "1684", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal" - }, - "hour" : { - "localId" : "1685", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "8", - "type" : "Literal" - }, - "minute" : { - "localId" : "1686", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "14", - "type" : "Literal" - }, - "second" : { - "localId" : "1687", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "47", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "1688", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "500", - "type" : "Literal" - }, - "timezoneOffset" : { - "localId" : "1689", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "1.0", - "type" : "Literal" - } - } ] - } - }, { - "localId" : "1714", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "DayAfterMonthBefore", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "1714", - "s" : [ { - "value" : [ "","define ","DayAfterMonthBefore",": " ] - }, { - "r" : "1769", - "s" : [ { - "r" : "1733", - "s" : [ { - "r" : "1715", - "value" : [ "DateTime","(","2000",", ","3",", ","15",", ","13",", ","30",", ","25",", ","200",", " ] - }, { - "r" : "1722", - "s" : [ { - "r" : "1722", - "value" : [ "+","1.0" ] - } ] - }, { - "value" : [ ")" ] - } ] - }, { - "r" : "1769", - "value" : [ " ","same day or after"," " ] - }, { - "r" : "1760", - "s" : [ { - "r" : "1742", - "value" : [ "DateTime","(","2000",", ","4",", ","14",", ","8",", ","14",", ","47",", ","500",", " ] - }, { - "r" : "1749", - "s" : [ { - "r" : "1749", - "value" : [ "+","1.0" ] - } ] - }, { - "value" : [ ")" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "1769", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "precision" : "Day", - "type" : "SameOrAfter", - "signature" : [ { - "localId" : "1770", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1771", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "1733", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "1734", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1735", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1736", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1737", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1738", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1739", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1740", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1741", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1715", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "1716", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "1717", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal" - }, - "hour" : { - "localId" : "1718", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "13", - "type" : "Literal" - }, - "minute" : { - "localId" : "1719", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "30", - "type" : "Literal" - }, - "second" : { - "localId" : "1720", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "25", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "1721", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "200", - "type" : "Literal" - }, - "timezoneOffset" : { - "localId" : "1722", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "1.0", - "type" : "Literal" - } - }, { - "localId" : "1760", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "1761", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1762", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1763", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1764", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1765", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1766", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1767", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1768", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1742", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "1743", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "4", - "type" : "Literal" - }, - "day" : { - "localId" : "1744", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "14", - "type" : "Literal" - }, - "hour" : { - "localId" : "1745", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "8", - "type" : "Literal" - }, - "minute" : { - "localId" : "1746", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "14", - "type" : "Literal" - }, - "second" : { - "localId" : "1747", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "47", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "1748", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "500", - "type" : "Literal" - }, - "timezoneOffset" : { - "localId" : "1749", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "1.0", - "type" : "Literal" - } - } ] - } - }, { - "localId" : "1774", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "DayBeforeMonthAfter", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "1774", - "s" : [ { - "value" : [ "","define ","DayBeforeMonthAfter",": " ] - }, { - "r" : "1829", - "s" : [ { - "r" : "1793", - "s" : [ { - "r" : "1775", - "value" : [ "DateTime","(","2000",", ","3",", ","15",", ","13",", ","30",", ","25",", ","200",", " ] - }, { - "r" : "1782", - "s" : [ { - "r" : "1782", - "value" : [ "+","1.0" ] - } ] - }, { - "value" : [ ")" ] - } ] - }, { - "r" : "1829", - "value" : [ " ","same day or after"," " ] - }, { - "r" : "1820", - "s" : [ { - "r" : "1802", - "value" : [ "DateTime","(","2000",", ","2",", ","16",", ","8",", ","14",", ","47",", ","500",", " ] - }, { - "r" : "1809", - "s" : [ { - "r" : "1809", - "value" : [ "+","1.0" ] - } ] - }, { - "value" : [ ")" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "1829", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "precision" : "Day", - "type" : "SameOrAfter", - "signature" : [ { - "localId" : "1830", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1831", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "1793", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "1794", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1795", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1796", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1797", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1798", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1799", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1800", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1801", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1775", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "1776", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "1777", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal" - }, - "hour" : { - "localId" : "1778", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "13", - "type" : "Literal" - }, - "minute" : { - "localId" : "1779", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "30", - "type" : "Literal" - }, - "second" : { - "localId" : "1780", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "25", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "1781", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "200", - "type" : "Literal" - }, - "timezoneOffset" : { - "localId" : "1782", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "1.0", - "type" : "Literal" - } - }, { - "localId" : "1820", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "1821", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1822", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1823", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1824", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1825", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1826", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1827", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1828", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1802", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "1803", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal" - }, - "day" : { - "localId" : "1804", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "16", - "type" : "Literal" - }, - "hour" : { - "localId" : "1805", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "8", - "type" : "Literal" - }, - "minute" : { - "localId" : "1806", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "14", - "type" : "Literal" - }, - "second" : { - "localId" : "1807", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "47", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "1808", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "500", - "type" : "Literal" - }, - "timezoneOffset" : { - "localId" : "1809", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "1.0", - "type" : "Literal" - } - } ] - } - }, { - "localId" : "1834", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "ImpreciseDay", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "1834", - "s" : [ { - "value" : [ "","define ","ImpreciseDay",": " ] - }, { - "r" : "1868", - "s" : [ { - "r" : "1851", - "s" : [ { - "r" : "1835", - "value" : [ "DateTime","(","2000",", ","3",", ","15",", ","13",", ","30",", ","25",", ","200",")" ] - } ] - }, { - "r" : "1868", - "value" : [ " ","same day or after"," " ] - }, { - "r" : "1865", - "s" : [ { - "r" : "1859", - "value" : [ "DateTime","(","2000",", ","3",")" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "1868", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "precision" : "Day", - "type" : "SameOrAfter", - "signature" : [ { - "localId" : "1869", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1870", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "1851", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "1852", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1853", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1854", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1855", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1856", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1857", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1858", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1835", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "1836", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "1837", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal" - }, - "hour" : { - "localId" : "1838", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "13", - "type" : "Literal" - }, - "minute" : { - "localId" : "1839", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "30", - "type" : "Literal" - }, - "second" : { - "localId" : "1840", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "25", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "1841", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "200", - "type" : "Literal" - } - }, { - "localId" : "1865", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "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" - } ], - "year" : { - "localId" : "1859", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "1860", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - } - } ] - } - }, { - "localId" : "1873", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "ImpreciseDayMonthAfter", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "1873", - "s" : [ { - "value" : [ "","define ","ImpreciseDayMonthAfter",": " ] - }, { - "r" : "1907", - "s" : [ { - "r" : "1890", - "s" : [ { - "r" : "1874", - "value" : [ "DateTime","(","2000",", ","3",", ","15",", ","13",", ","30",", ","25",", ","200",")" ] - } ] - }, { - "r" : "1907", - "value" : [ " ","same day or after"," " ] - }, { - "r" : "1904", - "s" : [ { - "r" : "1898", - "value" : [ "DateTime","(","2000",", ","2",")" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "1907", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "precision" : "Day", - "type" : "SameOrAfter", - "signature" : [ { - "localId" : "1908", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1909", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "1890", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "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" - }, { - "localId" : "1893", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1894", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1895", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1896", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1897", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1874", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "1875", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "1876", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal" - }, - "hour" : { - "localId" : "1877", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "13", - "type" : "Literal" - }, - "minute" : { - "localId" : "1878", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "30", - "type" : "Literal" - }, - "second" : { - "localId" : "1879", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "25", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "1880", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "200", - "type" : "Literal" - } - }, { - "localId" : "1904", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "1905", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1906", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1898", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "1899", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal" - } - } ] - } - }, { - "localId" : "1912", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "ImpreciseDayMonthBefore", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "1912", - "s" : [ { - "value" : [ "","define ","ImpreciseDayMonthBefore",": " ] - }, { - "r" : "1946", - "s" : [ { - "r" : "1929", - "s" : [ { - "r" : "1913", - "value" : [ "DateTime","(","2000",", ","3",", ","15",", ","13",", ","30",", ","25",", ","200",")" ] - } ] - }, { - "r" : "1946", - "value" : [ " ","same day or after"," " ] - }, { - "r" : "1943", - "s" : [ { - "r" : "1937", - "value" : [ "DateTime","(","2000",", ","4",")" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "1946", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "precision" : "Day", - "type" : "SameOrAfter", - "signature" : [ { - "localId" : "1947", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1948", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "1929", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "1930", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1931", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1932", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1933", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1934", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1935", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1936", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1913", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "1914", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "1915", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal" - }, - "hour" : { - "localId" : "1916", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "13", - "type" : "Literal" - }, - "minute" : { - "localId" : "1917", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "30", - "type" : "Literal" - }, - "second" : { - "localId" : "1918", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "25", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "1919", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "200", - "type" : "Literal" - } - }, { - "localId" : "1943", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "1944", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1945", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1937", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "1938", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "4", - "type" : "Literal" - } - } ] - } - }, { - "localId" : "1951", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "SameHourNormalizeZones", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "1951", - "s" : [ { - "value" : [ "","define ","SameHourNormalizeZones",": " ] - }, { - "r" : "2008", - "s" : [ { - "r" : "1970", - "s" : [ { - "r" : "1952", - "value" : [ "DateTime","(","2000",", ","3",", ","15",", ","13",", ","30",", ","25",", ","200",", " ] - }, { - "r" : "1959", - "s" : [ { - "r" : "1959", - "value" : [ "+","1.0" ] - } ] - }, { - "value" : [ ")" ] - } ] - }, { - "r" : "2008", - "value" : [ " ","same hour or after"," " ] - }, { - "r" : "1999", - "s" : [ { - "r" : "1979", - "value" : [ "DateTime","(","2000",", ","3",", ","15",", ","7",", ","30",", ","25",", ","200",", " ] - }, { - "r" : "1986", - "s" : [ { - "r" : "1987", - "value" : [ "-","5.0" ] - } ] - }, { - "value" : [ ")" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "2008", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "precision" : "Hour", - "type" : "SameOrAfter", - "signature" : [ { - "localId" : "2009", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2010", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "1970", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "1971", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1972", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1973", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1974", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1975", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1976", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1977", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1978", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1952", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "1953", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "1954", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal" - }, - "hour" : { - "localId" : "1955", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "13", - "type" : "Literal" - }, - "minute" : { - "localId" : "1956", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "30", - "type" : "Literal" - }, - "second" : { - "localId" : "1957", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "25", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "1958", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "200", - "type" : "Literal" - }, - "timezoneOffset" : { - "localId" : "1959", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "1.0", - "type" : "Literal" - } - }, { - "localId" : "1999", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "2000", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2001", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2002", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2003", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2004", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2005", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2006", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2007", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1979", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "1980", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "1981", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal" - }, - "hour" : { - "localId" : "1982", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "7", - "type" : "Literal" - }, - "minute" : { - "localId" : "1983", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "30", - "type" : "Literal" - }, - "second" : { - "localId" : "1984", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "25", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "1985", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "200", - "type" : "Literal" - }, - "timezoneOffset" : { - "localId" : "1986", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "Negate", - "signature" : [ { - "localId" : "1988", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "1987", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "5.0", - "type" : "Literal" - } - } - } ] - } - }, { - "localId" : "2013", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "HourAfterNormalizeZones", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "2013", - "s" : [ { - "value" : [ "","define ","HourAfterNormalizeZones",": " ] - }, { - "r" : "2070", - "s" : [ { - "r" : "2032", - "s" : [ { - "r" : "2014", - "value" : [ "DateTime","(","2000",", ","3",", ","15",", ","13",", ","30",", ","25",", ","200",", " ] - }, { - "r" : "2021", - "s" : [ { - "r" : "2021", - "value" : [ "+","1.0" ] - } ] - }, { - "value" : [ ")" ] - } ] - }, { - "r" : "2070", - "value" : [ " ","same hour or after"," " ] - }, { - "r" : "2061", - "s" : [ { - "r" : "2041", - "value" : [ "DateTime","(","2000",", ","3",", ","15",", ","6",", ","30",", ","25",", ","200",", " ] - }, { - "r" : "2048", - "s" : [ { - "r" : "2049", - "value" : [ "-","5.0" ] - } ] - }, { - "value" : [ ")" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "2070", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "precision" : "Hour", - "type" : "SameOrAfter", - "signature" : [ { - "localId" : "2071", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2072", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "2032", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "2033", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2034", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2035", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2036", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2037", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2038", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2039", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2040", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "2014", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "2015", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "2016", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal" - }, - "hour" : { - "localId" : "2017", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "13", - "type" : "Literal" - }, - "minute" : { - "localId" : "2018", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "30", - "type" : "Literal" - }, - "second" : { - "localId" : "2019", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "25", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "2020", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "200", - "type" : "Literal" - }, - "timezoneOffset" : { - "localId" : "2021", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "1.0", - "type" : "Literal" - } - }, { - "localId" : "2061", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "2062", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2063", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2064", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2065", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2066", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2067", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2068", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2069", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "2041", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "2042", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "2043", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal" - }, - "hour" : { - "localId" : "2044", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "6", - "type" : "Literal" - }, - "minute" : { - "localId" : "2045", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "30", - "type" : "Literal" - }, - "second" : { - "localId" : "2046", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "25", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "2047", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "200", - "type" : "Literal" - }, - "timezoneOffset" : { - "localId" : "2048", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "Negate", - "signature" : [ { - "localId" : "2050", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "2049", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "5.0", - "type" : "Literal" - } - } - } ] - } - }, { - "localId" : "2075", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "HourBeforeNormalizeZones", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "2075", - "s" : [ { - "value" : [ "","define ","HourBeforeNormalizeZones",": " ] - }, { - "r" : "2132", - "s" : [ { - "r" : "2094", - "s" : [ { - "r" : "2076", - "value" : [ "DateTime","(","2000",", ","3",", ","15",", ","13",", ","30",", ","25",", ","200",", " ] - }, { - "r" : "2083", - "s" : [ { - "r" : "2083", - "value" : [ "+","1.0" ] - } ] - }, { - "value" : [ ")" ] - } ] - }, { - "r" : "2132", - "value" : [ " ","same hour or after"," " ] - }, { - "r" : "2123", - "s" : [ { - "r" : "2103", - "value" : [ "DateTime","(","2000",", ","3",", ","15",", ","8",", ","30",", ","25",", ","200",", " ] - }, { - "r" : "2110", - "s" : [ { - "r" : "2111", - "value" : [ "-","5.0" ] - } ] - }, { - "value" : [ ")" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "2132", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "precision" : "Hour", - "type" : "SameOrAfter", - "signature" : [ { - "localId" : "2133", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2134", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "2094", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "2095", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2096", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2097", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2098", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2099", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2100", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2101", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2102", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "2076", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "2077", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "2078", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal" - }, - "hour" : { - "localId" : "2079", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "13", - "type" : "Literal" - }, - "minute" : { - "localId" : "2080", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "30", - "type" : "Literal" - }, - "second" : { - "localId" : "2081", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "25", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "2082", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "200", - "type" : "Literal" - }, - "timezoneOffset" : { - "localId" : "2083", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "1.0", - "type" : "Literal" - } - }, { - "localId" : "2123", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "2124", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2125", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2126", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2127", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2128", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2129", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2130", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2131", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "2103", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "2104", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "2105", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal" - }, - "hour" : { - "localId" : "2106", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "8", - "type" : "Literal" - }, - "minute" : { - "localId" : "2107", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "30", - "type" : "Literal" - }, - "second" : { - "localId" : "2108", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "25", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "2109", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "200", - "type" : "Literal" - }, - "timezoneOffset" : { - "localId" : "2110", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "Negate", - "signature" : [ { - "localId" : "2112", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "2111", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "5.0", - "type" : "Literal" - } - } - } ] - } - }, { - "localId" : "2137", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "NullLeft", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "2137", - "s" : [ { - "value" : [ "","define ","NullLeft",": " ] - }, { - "r" : "2166", - "s" : [ { - "r" : "2138", - "value" : [ "null"," ","same or after"," " ] - }, { - "r" : "2157", - "s" : [ { - "r" : "2139", - "value" : [ "DateTime","(","2000",", ","3",", ","15",", ","13",", ","30",", ","25",", ","200",", " ] - }, { - "r" : "2146", - "s" : [ { - "r" : "2146", - "value" : [ "+","1.0" ] - } ] - }, { - "value" : [ ")" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "2166", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "SameOrAfter", - "signature" : [ { - "localId" : "2168", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2169", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "2167", - "asType" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "As", - "signature" : [ ], - "operand" : { - "localId" : "2138", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - } - }, { - "localId" : "2157", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "2158", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2159", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2160", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2161", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2162", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2163", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2164", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2165", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "2139", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "2140", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "2141", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal" - }, - "hour" : { - "localId" : "2142", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "13", - "type" : "Literal" - }, - "minute" : { - "localId" : "2143", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "30", - "type" : "Literal" - }, - "second" : { - "localId" : "2144", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "25", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "2145", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "200", - "type" : "Literal" - }, - "timezoneOffset" : { - "localId" : "2146", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "1.0", - "type" : "Literal" - } - } ] - } - }, { - "localId" : "2172", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "NullRight", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "2172", - "s" : [ { - "value" : [ "","define ","NullRight",": " ] - }, { - "r" : "2201", - "s" : [ { - "r" : "2191", - "s" : [ { - "r" : "2173", - "value" : [ "DateTime","(","2000",", ","3",", ","15",", ","13",", ","30",", ","25",", ","200",", " ] - }, { - "r" : "2180", - "s" : [ { - "r" : "2180", - "value" : [ "+","1.0" ] - } ] - }, { - "value" : [ ")" ] - } ] - }, { - "r" : "2201", - "value" : [ " ","same or after"," ","null" ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "2201", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "SameOrAfter", - "signature" : [ { - "localId" : "2203", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2204", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "2191", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "2192", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2193", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2194", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2195", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2196", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2197", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2198", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2199", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "2173", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "2174", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "2175", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal" - }, - "hour" : { - "localId" : "2176", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "13", - "type" : "Literal" - }, - "minute" : { - "localId" : "2177", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "30", - "type" : "Literal" - }, - "second" : { - "localId" : "2178", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "25", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "2179", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "200", - "type" : "Literal" - }, - "timezoneOffset" : { - "localId" : "2180", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "1.0", - "type" : "Literal" - } - }, { - "localId" : "2202", - "asType" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "As", - "signature" : [ ], - "operand" : { - "localId" : "2200", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - } - } ] - } - }, { - "localId" : "2207", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "NullBoth", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "2207", - "s" : [ { - "value" : [ "","define ","NullBoth",": " ] - }, { - "r" : "2212", - "s" : [ { - "r" : "2208", - "s" : [ { - "value" : [ "(" ] - }, { - "r" : "2208", - "s" : [ { - "r" : "2209", - "value" : [ "null"," as " ] - }, { - "r" : "2210", - "s" : [ { - "value" : [ "DateTime" ] - } ] - } ] - }, { - "value" : [ ")" ] - } ] - }, { - "r" : "2212", - "value" : [ " ","same or after"," ","null" ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "2212", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "SameOrAfter", - "signature" : [ { - "localId" : "2214", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2215", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "2208", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "strict" : false, - "type" : "As", - "signature" : [ ], - "operand" : { - "localId" : "2209", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - }, - "asTypeSpecifier" : { - "localId" : "2210", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "2213", - "asType" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "As", - "signature" : [ ], - "operand" : { - "localId" : "2211", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - } - } ] - } - }, { - "localId" : "2218", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "SameOOA", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "2218", - "s" : [ { - "value" : [ "// On Or After:\n","define ","SameOOA",": " ] - }, { - "r" : "2273", - "s" : [ { - "r" : "2237", - "s" : [ { - "r" : "2219", - "value" : [ "DateTime","(","2000",", ","3",", ","15",", ","13",", ","30",", ","25",", ","200",", " ] - }, { - "r" : "2226", - "s" : [ { - "r" : "2226", - "value" : [ "+","1.0" ] - } ] - }, { - "value" : [ ")" ] - } ] - }, { - "r" : "2273", - "value" : [ " ","on or after"," " ] - }, { - "r" : "2264", - "s" : [ { - "r" : "2246", - "value" : [ "DateTime","(","2000",", ","3",", ","15",", ","13",", ","30",", ","25",", ","200",", " ] - }, { - "r" : "2253", - "s" : [ { - "r" : "2253", - "value" : [ "+","1.0" ] - } ] - }, { - "value" : [ ")" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "2273", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "SameOrAfter", - "signature" : [ { - "localId" : "2274", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2275", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "2237", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "2238", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2239", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2240", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2241", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2242", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2243", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2244", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2245", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "2219", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "2220", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "2221", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal" - }, - "hour" : { - "localId" : "2222", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "13", - "type" : "Literal" - }, - "minute" : { - "localId" : "2223", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "30", - "type" : "Literal" - }, - "second" : { - "localId" : "2224", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "25", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "2225", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "200", - "type" : "Literal" - }, - "timezoneOffset" : { - "localId" : "2226", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "1.0", - "type" : "Literal" - } - }, { - "localId" : "2264", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "2265", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2266", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2267", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2268", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2269", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2270", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2271", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2272", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "2246", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "2247", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "2248", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal" - }, - "hour" : { - "localId" : "2249", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "13", - "type" : "Literal" - }, - "minute" : { - "localId" : "2250", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "30", - "type" : "Literal" - }, - "second" : { - "localId" : "2251", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "25", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "2252", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "200", - "type" : "Literal" - }, - "timezoneOffset" : { - "localId" : "2253", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "1.0", - "type" : "Literal" - } - } ] - } - }, { - "localId" : "2278", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "AfterOOA", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "2278", - "s" : [ { - "value" : [ "","define ","AfterOOA",": " ] - }, { - "r" : "2333", - "s" : [ { - "r" : "2297", - "s" : [ { - "r" : "2279", - "value" : [ "DateTime","(","2000",", ","3",", ","15",", ","13",", ","30",", ","25",", ","200",", " ] - }, { - "r" : "2286", - "s" : [ { - "r" : "2286", - "value" : [ "+","1.0" ] - } ] - }, { - "value" : [ ")" ] - } ] - }, { - "r" : "2333", - "value" : [ " ","on or after"," " ] - }, { - "r" : "2324", - "s" : [ { - "r" : "2306", - "value" : [ "DateTime","(","2000",", ","3",", ","15",", ","13",", ","30",", ","25",", ","199",", " ] - }, { - "r" : "2313", - "s" : [ { - "r" : "2313", - "value" : [ "+","1.0" ] - } ] - }, { - "value" : [ ")" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "2333", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "SameOrAfter", - "signature" : [ { - "localId" : "2334", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2335", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "2297", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "2298", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2299", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2300", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2301", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2302", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2303", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2304", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2305", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "2279", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "2280", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "2281", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal" - }, - "hour" : { - "localId" : "2282", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "13", - "type" : "Literal" - }, - "minute" : { - "localId" : "2283", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "30", - "type" : "Literal" - }, - "second" : { - "localId" : "2284", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "25", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "2285", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "200", - "type" : "Literal" - }, - "timezoneOffset" : { - "localId" : "2286", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "1.0", - "type" : "Literal" - } - }, { - "localId" : "2324", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "2325", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2326", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2327", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2328", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2329", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2330", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2331", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2332", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "2306", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "2307", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "2308", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal" - }, - "hour" : { - "localId" : "2309", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "13", - "type" : "Literal" - }, - "minute" : { - "localId" : "2310", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "30", - "type" : "Literal" - }, - "second" : { - "localId" : "2311", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "25", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "2312", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "199", - "type" : "Literal" - }, - "timezoneOffset" : { - "localId" : "2313", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "1.0", - "type" : "Literal" - } - } ] - } - }, { - "localId" : "2338", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "BeforeOOA", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "2338", - "s" : [ { - "value" : [ "","define ","BeforeOOA",": " ] - }, { - "r" : "2393", - "s" : [ { - "r" : "2357", - "s" : [ { - "r" : "2339", - "value" : [ "DateTime","(","2000",", ","3",", ","15",", ","13",", ","30",", ","25",", ","200",", " ] - }, { - "r" : "2346", - "s" : [ { - "r" : "2346", - "value" : [ "+","1.0" ] - } ] - }, { - "value" : [ ")" ] - } ] - }, { - "r" : "2393", - "value" : [ " ","on or after"," " ] - }, { - "r" : "2384", - "s" : [ { - "r" : "2366", - "value" : [ "DateTime","(","2000",", ","3",", ","15",", ","13",", ","30",", ","25",", ","201",", " ] - }, { - "r" : "2373", - "s" : [ { - "r" : "2373", - "value" : [ "+","1.0" ] - } ] - }, { - "value" : [ ")" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "2393", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "SameOrAfter", - "signature" : [ { - "localId" : "2394", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2395", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "2357", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "2358", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2359", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2360", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2361", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2362", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2363", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2364", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2365", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "2339", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "2340", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "2341", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal" - }, - "hour" : { - "localId" : "2342", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "13", - "type" : "Literal" - }, - "minute" : { - "localId" : "2343", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "30", - "type" : "Literal" - }, - "second" : { - "localId" : "2344", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "25", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "2345", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "200", - "type" : "Literal" - }, - "timezoneOffset" : { - "localId" : "2346", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "1.0", - "type" : "Literal" - } - }, { - "localId" : "2384", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "2385", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2386", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2387", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2388", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2389", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2390", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2391", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2392", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "2366", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "2367", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "2368", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal" - }, - "hour" : { - "localId" : "2369", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "13", - "type" : "Literal" - }, - "minute" : { - "localId" : "2370", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "30", - "type" : "Literal" - }, - "second" : { - "localId" : "2371", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "25", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "2372", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "201", - "type" : "Literal" - }, - "timezoneOffset" : { - "localId" : "2373", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "1.0", - "type" : "Literal" - } - } ] - } - }, { - "localId" : "2398", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "NullLeftOOA", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "2398", - "s" : [ { - "value" : [ "","define ","NullLeftOOA",": " ] - }, { - "r" : "2427", - "s" : [ { - "r" : "2399", - "value" : [ "null"," ","on or after"," " ] - }, { - "r" : "2418", - "s" : [ { - "r" : "2400", - "value" : [ "DateTime","(","2000",", ","3",", ","15",", ","13",", ","30",", ","25",", ","200",", " ] - }, { - "r" : "2407", - "s" : [ { - "r" : "2407", - "value" : [ "+","1.0" ] - } ] - }, { - "value" : [ ")" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "2427", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "SameOrAfter", - "signature" : [ { - "localId" : "2429", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2430", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "2428", - "asType" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "As", - "signature" : [ ], - "operand" : { - "localId" : "2399", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - } - }, { - "localId" : "2418", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "2419", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2420", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2421", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2422", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2423", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2424", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2425", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2426", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "2400", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "2401", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "2402", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal" - }, - "hour" : { - "localId" : "2403", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "13", - "type" : "Literal" - }, - "minute" : { - "localId" : "2404", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "30", - "type" : "Literal" - }, - "second" : { - "localId" : "2405", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "25", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "2406", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "200", - "type" : "Literal" - }, - "timezoneOffset" : { - "localId" : "2407", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "1.0", - "type" : "Literal" - } - } ] - } - }, { - "localId" : "2433", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "NullRightOOA", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "2433", - "s" : [ { - "value" : [ "","define ","NullRightOOA",": " ] - }, { - "r" : "2462", - "s" : [ { - "r" : "2452", - "s" : [ { - "r" : "2434", - "value" : [ "DateTime","(","2000",", ","3",", ","15",", ","13",", ","30",", ","25",", ","200",", " ] - }, { - "r" : "2441", - "s" : [ { - "r" : "2441", - "value" : [ "+","1.0" ] - } ] - }, { - "value" : [ ")" ] - } ] - }, { - "r" : "2462", - "value" : [ " ","on or after"," ","null" ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "2462", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "SameOrAfter", - "signature" : [ { - "localId" : "2464", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2465", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "2452", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "2453", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2454", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2455", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2456", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2457", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2458", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2459", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2460", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "2434", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "2435", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "2436", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal" - }, - "hour" : { - "localId" : "2437", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "13", - "type" : "Literal" - }, - "minute" : { - "localId" : "2438", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "30", - "type" : "Literal" - }, - "second" : { - "localId" : "2439", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "25", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "2440", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "200", - "type" : "Literal" - }, - "timezoneOffset" : { - "localId" : "2441", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "1.0", - "type" : "Literal" - } - }, { - "localId" : "2463", - "asType" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "As", - "signature" : [ ], - "operand" : { - "localId" : "2461", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - } - } ] - } - }, { - "localId" : "2468", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "NullBothOOA", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "2468", - "s" : [ { - "value" : [ "","define ","NullBothOOA",": " ] - }, { - "r" : "2473", - "s" : [ { - "r" : "2469", - "s" : [ { - "value" : [ "(" ] - }, { - "r" : "2469", - "s" : [ { - "r" : "2470", - "value" : [ "null"," as " ] - }, { - "r" : "2471", - "s" : [ { - "value" : [ "DateTime" ] - } ] - } ] - }, { - "value" : [ ")" ] - } ] - }, { - "r" : "2473", - "value" : [ " ","on or after"," ","null" ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "2473", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "SameOrAfter", - "signature" : [ { - "localId" : "2475", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2476", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "2469", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "strict" : false, - "type" : "As", - "signature" : [ ], - "operand" : { - "localId" : "2470", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - }, - "asTypeSpecifier" : { - "localId" : "2471", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "2474", - "asType" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "As", - "signature" : [ ], - "operand" : { - "localId" : "2472", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - } - } ] - } - }, { - "localId" : "2479", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "SameAOO", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "2479", - "s" : [ { - "value" : [ "// After Or On:\n","define ","SameAOO",": " ] - }, { - "r" : "2534", - "s" : [ { - "r" : "2498", - "s" : [ { - "r" : "2480", - "value" : [ "DateTime","(","2000",", ","3",", ","15",", ","13",", ","30",", ","25",", ","200",", " ] - }, { - "r" : "2487", - "s" : [ { - "r" : "2487", - "value" : [ "+","1.0" ] - } ] - }, { - "value" : [ ")" ] - } ] - }, { - "r" : "2534", - "value" : [ " ","after or on"," " ] - }, { - "r" : "2525", - "s" : [ { - "r" : "2507", - "value" : [ "DateTime","(","2000",", ","3",", ","15",", ","13",", ","30",", ","25",", ","200",", " ] - }, { - "r" : "2514", - "s" : [ { - "r" : "2514", - "value" : [ "+","1.0" ] - } ] - }, { - "value" : [ ")" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "2534", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "SameOrAfter", - "signature" : [ { - "localId" : "2535", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2536", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "2498", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "2499", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2500", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2501", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2502", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2503", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2504", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2505", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2506", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "2480", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "2481", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "2482", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal" - }, - "hour" : { - "localId" : "2483", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "13", - "type" : "Literal" - }, - "minute" : { - "localId" : "2484", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "30", - "type" : "Literal" - }, - "second" : { - "localId" : "2485", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "25", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "2486", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "200", - "type" : "Literal" - }, - "timezoneOffset" : { - "localId" : "2487", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "1.0", - "type" : "Literal" - } - }, { - "localId" : "2525", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "2526", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2527", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2528", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2529", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2530", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2531", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2532", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2533", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "2507", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "2508", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "2509", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal" - }, - "hour" : { - "localId" : "2510", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "13", - "type" : "Literal" - }, - "minute" : { - "localId" : "2511", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "30", - "type" : "Literal" - }, - "second" : { - "localId" : "2512", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "25", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "2513", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "200", - "type" : "Literal" - }, - "timezoneOffset" : { - "localId" : "2514", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "1.0", - "type" : "Literal" - } - } ] - } - }, { - "localId" : "2539", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "AfterAOO", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "2539", - "s" : [ { - "value" : [ "","define ","AfterAOO",": " ] - }, { - "r" : "2594", - "s" : [ { - "r" : "2558", - "s" : [ { - "r" : "2540", - "value" : [ "DateTime","(","2000",", ","3",", ","15",", ","13",", ","30",", ","25",", ","200",", " ] - }, { - "r" : "2547", - "s" : [ { - "r" : "2547", - "value" : [ "+","1.0" ] - } ] - }, { - "value" : [ ")" ] - } ] - }, { - "r" : "2594", - "value" : [ " ","after or on"," " ] - }, { - "r" : "2585", - "s" : [ { - "r" : "2567", - "value" : [ "DateTime","(","2000",", ","3",", ","15",", ","13",", ","30",", ","25",", ","199",", " ] - }, { - "r" : "2574", - "s" : [ { - "r" : "2574", - "value" : [ "+","1.0" ] - } ] - }, { - "value" : [ ")" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "2594", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "SameOrAfter", - "signature" : [ { - "localId" : "2595", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2596", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "2558", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "2559", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2560", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2561", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2562", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2563", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2564", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2565", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2566", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "2540", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "2541", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "2542", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal" - }, - "hour" : { - "localId" : "2543", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "13", - "type" : "Literal" - }, - "minute" : { - "localId" : "2544", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "30", - "type" : "Literal" - }, - "second" : { - "localId" : "2545", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "25", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "2546", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "200", - "type" : "Literal" - }, - "timezoneOffset" : { - "localId" : "2547", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "1.0", - "type" : "Literal" - } - }, { - "localId" : "2585", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "2586", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2587", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2588", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2589", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2590", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2591", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2592", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2593", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "2567", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "2568", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "2569", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal" - }, - "hour" : { - "localId" : "2570", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "13", - "type" : "Literal" - }, - "minute" : { - "localId" : "2571", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "30", - "type" : "Literal" - }, - "second" : { - "localId" : "2572", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "25", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "2573", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "199", - "type" : "Literal" - }, - "timezoneOffset" : { - "localId" : "2574", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "1.0", - "type" : "Literal" - } - } ] - } - }, { - "localId" : "2599", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "BeforeAOO", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "2599", - "s" : [ { - "value" : [ "","define ","BeforeAOO",": " ] - }, { - "r" : "2654", - "s" : [ { - "r" : "2618", - "s" : [ { - "r" : "2600", - "value" : [ "DateTime","(","2000",", ","3",", ","15",", ","13",", ","30",", ","25",", ","200",", " ] - }, { - "r" : "2607", - "s" : [ { - "r" : "2607", - "value" : [ "+","1.0" ] - } ] - }, { - "value" : [ ")" ] - } ] - }, { - "r" : "2654", - "value" : [ " ","after or on"," " ] - }, { - "r" : "2645", - "s" : [ { - "r" : "2627", - "value" : [ "DateTime","(","2000",", ","3",", ","15",", ","13",", ","30",", ","25",", ","201",", " ] - }, { - "r" : "2634", - "s" : [ { - "r" : "2634", - "value" : [ "+","1.0" ] - } ] - }, { - "value" : [ ")" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "2654", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "SameOrAfter", - "signature" : [ { - "localId" : "2655", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2656", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "2618", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "2619", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2620", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2621", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2622", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2623", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2624", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2625", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2626", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "2600", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "2601", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "2602", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal" - }, - "hour" : { - "localId" : "2603", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "13", - "type" : "Literal" - }, - "minute" : { - "localId" : "2604", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "30", - "type" : "Literal" - }, - "second" : { - "localId" : "2605", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "25", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "2606", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "200", - "type" : "Literal" - }, - "timezoneOffset" : { - "localId" : "2607", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "1.0", - "type" : "Literal" - } - }, { - "localId" : "2645", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "2646", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2647", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2648", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2649", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2650", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2651", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2652", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2653", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "2627", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "2628", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "2629", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal" - }, - "hour" : { - "localId" : "2630", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "13", - "type" : "Literal" - }, - "minute" : { - "localId" : "2631", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "30", - "type" : "Literal" - }, - "second" : { - "localId" : "2632", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "25", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "2633", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "201", - "type" : "Literal" - }, - "timezoneOffset" : { - "localId" : "2634", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "1.0", - "type" : "Literal" - } - } ] - } - }, { - "localId" : "2659", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "NullLeftAOO", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "2659", - "s" : [ { - "value" : [ "","define ","NullLeftAOO",": " ] - }, { - "r" : "2688", - "s" : [ { - "r" : "2660", - "value" : [ "null"," ","after or on"," " ] - }, { - "r" : "2679", - "s" : [ { - "r" : "2661", - "value" : [ "DateTime","(","2000",", ","3",", ","15",", ","13",", ","30",", ","25",", ","200",", " ] - }, { - "r" : "2668", - "s" : [ { - "r" : "2668", - "value" : [ "+","1.0" ] - } ] - }, { - "value" : [ ")" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "2688", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "SameOrAfter", - "signature" : [ { - "localId" : "2690", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2691", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "2689", - "asType" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "As", - "signature" : [ ], - "operand" : { - "localId" : "2660", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - } - }, { - "localId" : "2679", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "2680", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2681", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2682", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2683", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2684", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2685", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2686", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2687", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "2661", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "2662", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "2663", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal" - }, - "hour" : { - "localId" : "2664", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "13", - "type" : "Literal" - }, - "minute" : { - "localId" : "2665", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "30", - "type" : "Literal" - }, - "second" : { - "localId" : "2666", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "25", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "2667", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "200", - "type" : "Literal" - }, - "timezoneOffset" : { - "localId" : "2668", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "1.0", - "type" : "Literal" - } - } ] - } - }, { - "localId" : "2694", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "NullRightAOO", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "2694", - "s" : [ { - "value" : [ "","define ","NullRightAOO",": " ] - }, { - "r" : "2723", - "s" : [ { - "r" : "2713", - "s" : [ { - "r" : "2695", - "value" : [ "DateTime","(","2000",", ","3",", ","15",", ","13",", ","30",", ","25",", ","200",", " ] - }, { - "r" : "2702", - "s" : [ { - "r" : "2702", - "value" : [ "+","1.0" ] - } ] - }, { - "value" : [ ")" ] - } ] - }, { - "r" : "2723", - "value" : [ " ","after or on"," ","null" ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "2723", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "SameOrAfter", - "signature" : [ { - "localId" : "2725", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2726", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "2713", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "2714", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2715", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2716", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2717", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2718", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2719", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2720", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2721", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "2695", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "2696", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "2697", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal" - }, - "hour" : { - "localId" : "2698", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "13", - "type" : "Literal" - }, - "minute" : { - "localId" : "2699", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "30", - "type" : "Literal" - }, - "second" : { - "localId" : "2700", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "25", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "2701", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "200", - "type" : "Literal" - }, - "timezoneOffset" : { - "localId" : "2702", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "1.0", - "type" : "Literal" - } - }, { - "localId" : "2724", - "asType" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "As", - "signature" : [ ], - "operand" : { - "localId" : "2722", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - } - } ] - } - }, { - "localId" : "2729", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "NullBothAOO", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "2729", - "s" : [ { - "value" : [ "","define ","NullBothAOO",": " ] - }, { - "r" : "2734", - "s" : [ { - "r" : "2730", - "s" : [ { - "value" : [ "(" ] - }, { - "r" : "2730", - "s" : [ { - "r" : "2731", - "value" : [ "null"," as " ] - }, { - "r" : "2732", - "s" : [ { - "value" : [ "DateTime" ] - } ] - } ] - }, { - "value" : [ ")" ] - } ] - }, { - "r" : "2734", - "value" : [ " ","after or on"," ","null" ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "2734", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "SameOrAfter", - "signature" : [ { - "localId" : "2736", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2737", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "2730", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "strict" : false, - "type" : "As", - "signature" : [ ], - "operand" : { - "localId" : "2731", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - }, - "asTypeSpecifier" : { - "localId" : "2732", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "2735", - "asType" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "As", - "signature" : [ ], - "operand" : { - "localId" : "2733", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - } - } ] - } - } ] - } - } -} - -/* SameOrBefore -library TestSnippet version '1' -using Simple version '1.0.0' -context Patient -define SameYear: DateTime(2000, 3, 15, 13, 30, 25, 200, +1.0) same year or before DateTime(2000, 11, 23, 8, 14, 47, 500, +1.0) -define YearAfter: DateTime(2000, 3, 15, 13, 30, 25, 200, +1.0) same year or before DateTime(1999, 11, 23, 8, 14, 47, 500, +1.0) -define YearBefore: DateTime(2000, 3, 15, 13, 30, 25, 200, +1.0) same year or before DateTime(2001, 11, 23, 8, 14, 47, 500, +1.0) -define SameMonth: DateTime(2000, 3, 15, 13, 30, 25, 200, +1.0) same month or before DateTime(2000, 3, 23, 8, 14, 47, 500, +1.0) -define MonthAfter: DateTime(2000, 3, 15, 13, 30, 25, 200, +1.0) same month or before DateTime(2000, 2, 23, 8, 14, 47, 500, +1.0) -define MonthBefore: DateTime(2000, 3, 15, 13, 30, 25, 200, +1.0) same month or before DateTime(2000, 4, 23, 8, 14, 47, 500, +1.0) -define SameDay: DateTime(2000, 3, 15, 13, 30, 25, 200, +1.0) same day or before DateTime(2000, 3, 15, 8, 14, 47, 500, +1.0) -define DayAfter: DateTime(2000, 3, 15, 13, 30, 25, 200, +1.0) same day or before DateTime(2000, 3, 14, 8, 14, 47, 500, +1.0) -define DayBefore: DateTime(2000, 3, 15, 13, 30, 25, 200, +1.0) same day or before DateTime(2000, 3, 16, 8, 14, 47, 500, +1.0) -define SameHour: DateTime(2000, 3, 15, 13, 30, 25, 200, +1.0) same hour or before DateTime(2000, 3, 15, 13, 14, 47, 500, +1.0) -define HourAfter: DateTime(2000, 3, 15, 13, 30, 25, 200, +1.0) same hour or before DateTime(2000, 3, 15, 12, 14, 47, 500, +1.0) -define HourBefore: DateTime(2000, 3, 15, 13, 30, 25, 200, +1.0) same hour or before DateTime(2000, 3, 15, 14, 14, 47, 500, +1.0) -define SameMinute: DateTime(2000, 3, 15, 13, 30, 25, 200, +1.0) same minute or before DateTime(2000, 3, 15, 13, 30, 47, 500, +1.0) -define MinuteAfter: DateTime(2000, 3, 15, 13, 30, 25, 200, +1.0) same minute or before DateTime(2000, 3, 15, 13, 29, 47, 500, +1.0) -define MinuteBefore: DateTime(2000, 3, 15, 13, 30, 25, 200, +1.0) same minute or before DateTime(2000, 3, 15, 13, 31, 47, 500, +1.0) -define SameSecond: DateTime(2000, 3, 15, 13, 30, 25, 200, +1.0) same second or before DateTime(2000, 3, 15, 13, 30, 25, 500, +1.0) -define SecondAfter: DateTime(2000, 3, 15, 13, 30, 25, 200, +1.0) same second or before DateTime(2000, 3, 15, 13, 30, 24, 500, +1.0) -define SecondBefore: DateTime(2000, 3, 15, 13, 30, 25, 200, +1.0) same second or before DateTime(2000, 3, 15, 13, 30, 26, 500, +1.0) -define SameMillisecond: DateTime(2000, 3, 15, 13, 30, 25, 200, +1.0) same millisecond or before DateTime(2000, 3, 15, 13, 30, 25, 200, +1.0) -define MillisecondAfter: DateTime(2000, 3, 15, 13, 30, 25, 200, +1.0) same millisecond or before DateTime(2000, 3, 15, 13, 30, 25, 199, +1.0) -define MillisecondBefore: DateTime(2000, 3, 15, 13, 30, 25, 200, +1.0) same millisecond or before DateTime(2000, 3, 15, 13, 30, 25, 201, +1.0) -define Same: DateTime(2000, 3, 15, 13, 30, 25, 200, +1.0) same or before DateTime(2000, 3, 15, 13, 30, 25, 200, +1.0) -define After: DateTime(2000, 3, 15, 13, 30, 25, 200, +1.0) same or before DateTime(2000, 3, 15, 13, 30, 25, 199, +1.0) -define Before: DateTime(2000, 3, 15, 13, 30, 25, 200, +1.0) same or before DateTime(2000, 3, 15, 13, 30, 25, 201, +1.0) -define SameDayMonthBefore: DateTime(2000, 3, 15, 13, 30, 25, 200, +1.0) same day or before DateTime(2000, 4, 15, 8, 14, 47, 500, +1.0) -define DayAfterMonthBefore: DateTime(2000, 3, 15, 13, 30, 25, 200, +1.0) same day or before DateTime(2000, 4, 14, 8, 14, 47, 500, +1.0) -define DayBeforeMonthAfter: DateTime(2000, 3, 15, 13, 30, 25, 200, +1.0) same day or before DateTime(2000, 2, 16, 8, 14, 47, 500, +1.0) -define ImpreciseDay: DateTime(2000, 3, 15, 13, 30, 25, 200) same day or before DateTime(2000, 3) -define ImpreciseDayMonthAfter: DateTime(2000, 3, 15, 13, 30, 25, 200) same day or before DateTime(2000, 2) -define ImpreciseDayMonthBefore: DateTime(2000, 3, 15, 13, 30, 25, 200) same day or before DateTime(2000, 4) -define SameHourNormalizeZones: DateTime(2000, 3, 15, 13, 30, 25, 200, +1.0) same hour or before DateTime(2000, 3, 15, 7, 30, 25, 200, -5.0) -define HourAfterNormalizeZones: DateTime(2000, 3, 15, 13, 30, 25, 200, +1.0) same hour or before DateTime(2000, 3, 15, 6, 30, 25, 200, -5.0) -define HourBeforeNormalizeZones: DateTime(2000, 3, 15, 13, 30, 25, 200, +1.0) same hour or before DateTime(2000, 3, 15, 8, 30, 25, 200, -5.0) -define NullLeft: null same or before DateTime(2000, 3, 15, 13, 30, 25, 200, +1.0) -define NullRight: DateTime(2000, 3, 15, 13, 30, 25, 200, +1.0) same or before null -define NullBoth: (null as DateTime) same or before null -// On Or Before: -define SameOOB: DateTime(2000, 3, 15, 13, 30, 25, 200, +1.0) on or before DateTime(2000, 3, 15, 13, 30, 25, 200, +1.0) -define AfterOOB: DateTime(2000, 3, 15, 13, 30, 25, 200, +1.0) on or before DateTime(2000, 3, 15, 13, 30, 25, 199, +1.0) -define BeforeOOB: DateTime(2000, 3, 15, 13, 30, 25, 200, +1.0) on or before DateTime(2000, 3, 15, 13, 30, 25, 201, +1.0) -define NullLeftOOB: null on or before DateTime(2000, 3, 15, 13, 30, 25, 200, +1.0) -define NullRightOOB: DateTime(2000, 3, 15, 13, 30, 25, 200, +1.0) on or before null -define NullBothOOB: (null as DateTime) on or before null -// Before Or On: -define SameBOO: DateTime(2000, 3, 15, 13, 30, 25, 200, +1.0) before or on DateTime(2000, 3, 15, 13, 30, 25, 200, +1.0) -define AfterBOO: DateTime(2000, 3, 15, 13, 30, 25, 200, +1.0) before or on DateTime(2000, 3, 15, 13, 30, 25, 199, +1.0) -define BeforeBOO: DateTime(2000, 3, 15, 13, 30, 25, 200, +1.0) before or on DateTime(2000, 3, 15, 13, 30, 25, 201, +1.0) -define NullLeftBOO: null before or on DateTime(2000, 3, 15, 13, 30, 25, 200, +1.0) -define NullRightBOO: DateTime(2000, 3, 15, 13, 30, 25, 200, +1.0) before or on null -define NullBothBOO: (null as DateTime) before or on null -*/ - -module.exports['SameOrBefore'] = { - "library" : { - "localId" : "0", - "annotation" : [ { - "translatorVersion" : "3.27.0", - "translatorOptions" : "EnableDateRangeOptimization,EnableAnnotations,EnableResultTypes", - "signatureLevel" : "All", - "type" : "CqlToElmInfo" - }, { - "type" : "Annotation", - "s" : { - "r" : "2729", - "s" : [ { - "value" : [ "","library TestSnippet version '1'" ] - } ] - } - } ], - "identifier" : { - "id" : "TestSnippet", - "version" : "1" - }, - "schemaIdentifier" : { - "id" : "urn:hl7-org:elm", - "version" : "r1" - }, - "usings" : { - "def" : [ { - "localId" : "1", - "localIdentifier" : "System", - "uri" : "urn:hl7-org:elm-types:r1" - }, { - "localId" : "206", - "localIdentifier" : "Simple", - "uri" : "https://github.com/cqframework/cql-execution/simple", - "version" : "1.0.0", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "206", - "s" : [ { - "value" : [ "","using " ] - }, { - "s" : [ { - "value" : [ "Simple" ] - } ] - }, { - "value" : [ " version '1.0.0'" ] - } ] - } - } ] - } ] - }, - "contexts" : { - "def" : [ { - "localId" : "211", - "name" : "Patient" - } ] - }, - "statements" : { - "def" : [ { - "localId" : "209", - "name" : "Patient", - "context" : "Patient", - "expression" : { - "localId" : "210", - "type" : "SingletonFrom", - "signature" : [ ], - "operand" : { - "localId" : "208", - "dataType" : "{https://github.com/cqframework/cql-execution/simple}Patient", - "type" : "Retrieve", - "include" : [ ], - "codeFilter" : [ ], - "dateFilter" : [ ], - "otherFilter" : [ ] - } - } - }, { - "localId" : "214", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "SameYear", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "214", - "s" : [ { - "value" : [ "","define ","SameYear",": " ] - }, { - "r" : "269", - "s" : [ { - "r" : "233", - "s" : [ { - "r" : "215", - "value" : [ "DateTime","(","2000",", ","3",", ","15",", ","13",", ","30",", ","25",", ","200",", " ] - }, { - "r" : "222", - "s" : [ { - "r" : "222", - "value" : [ "+","1.0" ] - } ] - }, { - "value" : [ ")" ] - } ] - }, { - "r" : "269", - "value" : [ " ","same year or before"," " ] - }, { - "r" : "260", - "s" : [ { - "r" : "242", - "value" : [ "DateTime","(","2000",", ","11",", ","23",", ","8",", ","14",", ","47",", ","500",", " ] - }, { - "r" : "249", - "s" : [ { - "r" : "249", - "value" : [ "+","1.0" ] - } ] - }, { - "value" : [ ")" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "269", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "precision" : "Year", - "type" : "SameOrBefore", - "signature" : [ { - "localId" : "270", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "271", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "233", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "234", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "235", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "236", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "237", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "238", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "239", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "240", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "241", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "215", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "216", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "217", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal" - }, - "hour" : { - "localId" : "218", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "13", - "type" : "Literal" - }, - "minute" : { - "localId" : "219", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "30", - "type" : "Literal" - }, - "second" : { - "localId" : "220", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "25", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "221", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "200", - "type" : "Literal" - }, - "timezoneOffset" : { - "localId" : "222", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "1.0", - "type" : "Literal" - } - }, { - "localId" : "260", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "261", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "262", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "263", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "264", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "265", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "266", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "267", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "268", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "242", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "243", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "11", - "type" : "Literal" - }, - "day" : { - "localId" : "244", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "23", - "type" : "Literal" - }, - "hour" : { - "localId" : "245", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "8", - "type" : "Literal" - }, - "minute" : { - "localId" : "246", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "14", - "type" : "Literal" - }, - "second" : { - "localId" : "247", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "47", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "248", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "500", - "type" : "Literal" - }, - "timezoneOffset" : { - "localId" : "249", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "1.0", - "type" : "Literal" - } - } ] - } - }, { - "localId" : "274", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "YearAfter", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "274", - "s" : [ { - "value" : [ "","define ","YearAfter",": " ] - }, { - "r" : "329", - "s" : [ { - "r" : "293", - "s" : [ { - "r" : "275", - "value" : [ "DateTime","(","2000",", ","3",", ","15",", ","13",", ","30",", ","25",", ","200",", " ] - }, { - "r" : "282", - "s" : [ { - "r" : "282", - "value" : [ "+","1.0" ] - } ] - }, { - "value" : [ ")" ] - } ] - }, { - "r" : "329", - "value" : [ " ","same year or before"," " ] - }, { - "r" : "320", - "s" : [ { - "r" : "302", - "value" : [ "DateTime","(","1999",", ","11",", ","23",", ","8",", ","14",", ","47",", ","500",", " ] - }, { - "r" : "309", - "s" : [ { - "r" : "309", - "value" : [ "+","1.0" ] - } ] - }, { - "value" : [ ")" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "329", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "precision" : "Year", - "type" : "SameOrBefore", - "signature" : [ { - "localId" : "330", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "331", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "293", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "294", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "295", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "296", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "297", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "298", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "299", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "300", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "301", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "275", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "276", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "277", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal" - }, - "hour" : { - "localId" : "278", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "13", - "type" : "Literal" - }, - "minute" : { - "localId" : "279", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "30", - "type" : "Literal" - }, - "second" : { - "localId" : "280", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "25", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "281", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "200", - "type" : "Literal" - }, - "timezoneOffset" : { - "localId" : "282", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "1.0", - "type" : "Literal" - } - }, { - "localId" : "320", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "321", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "322", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "323", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "324", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "325", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "326", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "327", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "328", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "302", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1999", - "type" : "Literal" - }, - "month" : { - "localId" : "303", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "11", - "type" : "Literal" - }, - "day" : { - "localId" : "304", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "23", - "type" : "Literal" - }, - "hour" : { - "localId" : "305", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "8", - "type" : "Literal" - }, - "minute" : { - "localId" : "306", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "14", - "type" : "Literal" - }, - "second" : { - "localId" : "307", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "47", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "308", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "500", - "type" : "Literal" - }, - "timezoneOffset" : { - "localId" : "309", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "1.0", - "type" : "Literal" - } - } ] - } - }, { - "localId" : "334", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "YearBefore", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "334", - "s" : [ { - "value" : [ "","define ","YearBefore",": " ] - }, { - "r" : "389", - "s" : [ { - "r" : "353", - "s" : [ { - "r" : "335", - "value" : [ "DateTime","(","2000",", ","3",", ","15",", ","13",", ","30",", ","25",", ","200",", " ] - }, { - "r" : "342", - "s" : [ { - "r" : "342", - "value" : [ "+","1.0" ] - } ] - }, { - "value" : [ ")" ] - } ] - }, { - "r" : "389", - "value" : [ " ","same year or before"," " ] - }, { - "r" : "380", - "s" : [ { - "r" : "362", - "value" : [ "DateTime","(","2001",", ","11",", ","23",", ","8",", ","14",", ","47",", ","500",", " ] - }, { - "r" : "369", - "s" : [ { - "r" : "369", - "value" : [ "+","1.0" ] - } ] - }, { - "value" : [ ")" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "389", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "precision" : "Year", - "type" : "SameOrBefore", - "signature" : [ { - "localId" : "390", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "391", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "353", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "354", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "355", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "356", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "357", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "358", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "359", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "360", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "361", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "335", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "336", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "337", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal" - }, - "hour" : { - "localId" : "338", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "13", - "type" : "Literal" - }, - "minute" : { - "localId" : "339", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "30", - "type" : "Literal" - }, - "second" : { - "localId" : "340", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "25", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "341", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "200", - "type" : "Literal" - }, - "timezoneOffset" : { - "localId" : "342", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "1.0", - "type" : "Literal" - } - }, { - "localId" : "380", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "381", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "382", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "383", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "384", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "385", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "386", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "387", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "388", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "362", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2001", - "type" : "Literal" - }, - "month" : { - "localId" : "363", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "11", - "type" : "Literal" - }, - "day" : { - "localId" : "364", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "23", - "type" : "Literal" - }, - "hour" : { - "localId" : "365", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "8", - "type" : "Literal" - }, - "minute" : { - "localId" : "366", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "14", - "type" : "Literal" - }, - "second" : { - "localId" : "367", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "47", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "368", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "500", - "type" : "Literal" - }, - "timezoneOffset" : { - "localId" : "369", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "1.0", - "type" : "Literal" - } - } ] - } - }, { - "localId" : "394", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "SameMonth", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "394", - "s" : [ { - "value" : [ "","define ","SameMonth",": " ] - }, { - "r" : "449", - "s" : [ { - "r" : "413", - "s" : [ { - "r" : "395", - "value" : [ "DateTime","(","2000",", ","3",", ","15",", ","13",", ","30",", ","25",", ","200",", " ] - }, { - "r" : "402", - "s" : [ { - "r" : "402", - "value" : [ "+","1.0" ] - } ] - }, { - "value" : [ ")" ] - } ] - }, { - "r" : "449", - "value" : [ " ","same month or before"," " ] - }, { - "r" : "440", - "s" : [ { - "r" : "422", - "value" : [ "DateTime","(","2000",", ","3",", ","23",", ","8",", ","14",", ","47",", ","500",", " ] - }, { - "r" : "429", - "s" : [ { - "r" : "429", - "value" : [ "+","1.0" ] - } ] - }, { - "value" : [ ")" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "449", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "precision" : "Month", - "type" : "SameOrBefore", - "signature" : [ { - "localId" : "450", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "451", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "413", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "414", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "415", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "416", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "417", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "418", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "419", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "420", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "421", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "395", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "396", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "397", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal" - }, - "hour" : { - "localId" : "398", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "13", - "type" : "Literal" - }, - "minute" : { - "localId" : "399", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "30", - "type" : "Literal" - }, - "second" : { - "localId" : "400", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "25", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "401", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "200", - "type" : "Literal" - }, - "timezoneOffset" : { - "localId" : "402", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "1.0", - "type" : "Literal" - } - }, { - "localId" : "440", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "441", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "442", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "443", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "444", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "445", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "446", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "447", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "448", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "422", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "423", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "424", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "23", - "type" : "Literal" - }, - "hour" : { - "localId" : "425", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "8", - "type" : "Literal" - }, - "minute" : { - "localId" : "426", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "14", - "type" : "Literal" - }, - "second" : { - "localId" : "427", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "47", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "428", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "500", - "type" : "Literal" - }, - "timezoneOffset" : { - "localId" : "429", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "1.0", - "type" : "Literal" - } - } ] - } - }, { - "localId" : "454", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "MonthAfter", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "454", - "s" : [ { - "value" : [ "","define ","MonthAfter",": " ] - }, { - "r" : "509", - "s" : [ { - "r" : "473", - "s" : [ { - "r" : "455", - "value" : [ "DateTime","(","2000",", ","3",", ","15",", ","13",", ","30",", ","25",", ","200",", " ] - }, { - "r" : "462", - "s" : [ { - "r" : "462", - "value" : [ "+","1.0" ] - } ] - }, { - "value" : [ ")" ] - } ] - }, { - "r" : "509", - "value" : [ " ","same month or before"," " ] - }, { - "r" : "500", - "s" : [ { - "r" : "482", - "value" : [ "DateTime","(","2000",", ","2",", ","23",", ","8",", ","14",", ","47",", ","500",", " ] - }, { - "r" : "489", - "s" : [ { - "r" : "489", - "value" : [ "+","1.0" ] - } ] - }, { - "value" : [ ")" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "509", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "precision" : "Month", - "type" : "SameOrBefore", - "signature" : [ { - "localId" : "510", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "511", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "473", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "474", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "475", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "476", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "477", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "478", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "479", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "480", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "481", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "455", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "456", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "457", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal" - }, - "hour" : { - "localId" : "458", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "13", - "type" : "Literal" - }, - "minute" : { - "localId" : "459", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "30", - "type" : "Literal" - }, - "second" : { - "localId" : "460", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "25", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "461", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "200", - "type" : "Literal" - }, - "timezoneOffset" : { - "localId" : "462", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "1.0", - "type" : "Literal" - } - }, { - "localId" : "500", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "501", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "502", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "503", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "504", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "505", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "506", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "507", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "508", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "482", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "483", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal" - }, - "day" : { - "localId" : "484", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "23", - "type" : "Literal" - }, - "hour" : { - "localId" : "485", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "8", - "type" : "Literal" - }, - "minute" : { - "localId" : "486", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "14", - "type" : "Literal" - }, - "second" : { - "localId" : "487", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "47", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "488", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "500", - "type" : "Literal" - }, - "timezoneOffset" : { - "localId" : "489", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "1.0", - "type" : "Literal" - } - } ] - } - }, { - "localId" : "514", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "MonthBefore", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "514", - "s" : [ { - "value" : [ "","define ","MonthBefore",": " ] - }, { - "r" : "569", - "s" : [ { - "r" : "533", - "s" : [ { - "r" : "515", - "value" : [ "DateTime","(","2000",", ","3",", ","15",", ","13",", ","30",", ","25",", ","200",", " ] - }, { - "r" : "522", - "s" : [ { - "r" : "522", - "value" : [ "+","1.0" ] - } ] - }, { - "value" : [ ")" ] - } ] - }, { - "r" : "569", - "value" : [ " ","same month or before"," " ] - }, { - "r" : "560", - "s" : [ { - "r" : "542", - "value" : [ "DateTime","(","2000",", ","4",", ","23",", ","8",", ","14",", ","47",", ","500",", " ] - }, { - "r" : "549", - "s" : [ { - "r" : "549", - "value" : [ "+","1.0" ] - } ] - }, { - "value" : [ ")" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "569", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "precision" : "Month", - "type" : "SameOrBefore", - "signature" : [ { - "localId" : "570", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "571", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "533", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "534", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "535", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "536", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "537", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "538", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "539", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "540", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "541", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "515", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "516", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "517", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal" - }, - "hour" : { - "localId" : "518", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "13", - "type" : "Literal" - }, - "minute" : { - "localId" : "519", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "30", - "type" : "Literal" - }, - "second" : { - "localId" : "520", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "25", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "521", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "200", - "type" : "Literal" - }, - "timezoneOffset" : { - "localId" : "522", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "1.0", - "type" : "Literal" - } - }, { - "localId" : "560", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "561", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "562", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "563", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "564", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "565", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "566", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "567", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "568", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "542", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "543", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "4", - "type" : "Literal" - }, - "day" : { - "localId" : "544", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "23", - "type" : "Literal" - }, - "hour" : { - "localId" : "545", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "8", - "type" : "Literal" - }, - "minute" : { - "localId" : "546", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "14", - "type" : "Literal" - }, - "second" : { - "localId" : "547", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "47", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "548", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "500", - "type" : "Literal" - }, - "timezoneOffset" : { - "localId" : "549", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "1.0", - "type" : "Literal" - } - } ] - } - }, { - "localId" : "574", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "SameDay", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "574", - "s" : [ { - "value" : [ "","define ","SameDay",": " ] - }, { - "r" : "629", - "s" : [ { - "r" : "593", - "s" : [ { - "r" : "575", - "value" : [ "DateTime","(","2000",", ","3",", ","15",", ","13",", ","30",", ","25",", ","200",", " ] - }, { - "r" : "582", - "s" : [ { - "r" : "582", - "value" : [ "+","1.0" ] - } ] - }, { - "value" : [ ")" ] - } ] - }, { - "r" : "629", - "value" : [ " ","same day or before"," " ] - }, { - "r" : "620", - "s" : [ { - "r" : "602", - "value" : [ "DateTime","(","2000",", ","3",", ","15",", ","8",", ","14",", ","47",", ","500",", " ] - }, { - "r" : "609", - "s" : [ { - "r" : "609", - "value" : [ "+","1.0" ] - } ] - }, { - "value" : [ ")" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "629", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "precision" : "Day", - "type" : "SameOrBefore", - "signature" : [ { - "localId" : "630", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "631", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "593", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "594", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "595", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "596", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "597", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "598", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "599", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "600", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "601", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "575", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "576", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "577", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal" - }, - "hour" : { - "localId" : "578", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "13", - "type" : "Literal" - }, - "minute" : { - "localId" : "579", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "30", - "type" : "Literal" - }, - "second" : { - "localId" : "580", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "25", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "581", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "200", - "type" : "Literal" - }, - "timezoneOffset" : { - "localId" : "582", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "1.0", - "type" : "Literal" - } - }, { - "localId" : "620", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "621", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "622", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "623", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "624", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "625", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "626", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "627", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "628", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "602", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "603", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "604", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal" - }, - "hour" : { - "localId" : "605", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "8", - "type" : "Literal" - }, - "minute" : { - "localId" : "606", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "14", - "type" : "Literal" - }, - "second" : { - "localId" : "607", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "47", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "608", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "500", - "type" : "Literal" - }, - "timezoneOffset" : { - "localId" : "609", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "1.0", - "type" : "Literal" - } - } ] - } - }, { - "localId" : "634", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "DayAfter", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "634", - "s" : [ { - "value" : [ "","define ","DayAfter",": " ] - }, { - "r" : "689", - "s" : [ { - "r" : "653", - "s" : [ { - "r" : "635", - "value" : [ "DateTime","(","2000",", ","3",", ","15",", ","13",", ","30",", ","25",", ","200",", " ] - }, { - "r" : "642", - "s" : [ { - "r" : "642", - "value" : [ "+","1.0" ] - } ] - }, { - "value" : [ ")" ] - } ] - }, { - "r" : "689", - "value" : [ " ","same day or before"," " ] - }, { - "r" : "680", - "s" : [ { - "r" : "662", - "value" : [ "DateTime","(","2000",", ","3",", ","14",", ","8",", ","14",", ","47",", ","500",", " ] - }, { - "r" : "669", - "s" : [ { - "r" : "669", - "value" : [ "+","1.0" ] - } ] - }, { - "value" : [ ")" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "689", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "precision" : "Day", - "type" : "SameOrBefore", - "signature" : [ { - "localId" : "690", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "691", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "653", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "654", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "655", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "656", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "657", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "658", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "659", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "660", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "661", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "635", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "636", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "637", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal" - }, - "hour" : { - "localId" : "638", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "13", - "type" : "Literal" - }, - "minute" : { - "localId" : "639", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "30", - "type" : "Literal" - }, - "second" : { - "localId" : "640", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "25", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "641", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "200", - "type" : "Literal" - }, - "timezoneOffset" : { - "localId" : "642", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "1.0", - "type" : "Literal" - } - }, { - "localId" : "680", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "681", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "682", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "683", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "684", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "685", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "686", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "687", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "688", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "662", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "663", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "664", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "14", - "type" : "Literal" - }, - "hour" : { - "localId" : "665", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "8", - "type" : "Literal" - }, - "minute" : { - "localId" : "666", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "14", - "type" : "Literal" - }, - "second" : { - "localId" : "667", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "47", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "668", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "500", - "type" : "Literal" - }, - "timezoneOffset" : { - "localId" : "669", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "1.0", - "type" : "Literal" - } - } ] - } - }, { - "localId" : "694", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "DayBefore", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "694", - "s" : [ { - "value" : [ "","define ","DayBefore",": " ] - }, { - "r" : "749", - "s" : [ { - "r" : "713", - "s" : [ { - "r" : "695", - "value" : [ "DateTime","(","2000",", ","3",", ","15",", ","13",", ","30",", ","25",", ","200",", " ] - }, { - "r" : "702", - "s" : [ { - "r" : "702", - "value" : [ "+","1.0" ] - } ] - }, { - "value" : [ ")" ] - } ] - }, { - "r" : "749", - "value" : [ " ","same day or before"," " ] - }, { - "r" : "740", - "s" : [ { - "r" : "722", - "value" : [ "DateTime","(","2000",", ","3",", ","16",", ","8",", ","14",", ","47",", ","500",", " ] - }, { - "r" : "729", - "s" : [ { - "r" : "729", - "value" : [ "+","1.0" ] - } ] - }, { - "value" : [ ")" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "749", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "precision" : "Day", - "type" : "SameOrBefore", - "signature" : [ { - "localId" : "750", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "751", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "713", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "714", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "715", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "716", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "717", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "718", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "719", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "720", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "721", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "695", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "696", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "697", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal" - }, - "hour" : { - "localId" : "698", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "13", - "type" : "Literal" - }, - "minute" : { - "localId" : "699", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "30", - "type" : "Literal" - }, - "second" : { - "localId" : "700", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "25", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "701", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "200", - "type" : "Literal" - }, - "timezoneOffset" : { - "localId" : "702", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "1.0", - "type" : "Literal" - } - }, { - "localId" : "740", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "741", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "742", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "743", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "744", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "745", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "746", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "747", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "748", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "722", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "723", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "724", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "16", - "type" : "Literal" - }, - "hour" : { - "localId" : "725", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "8", - "type" : "Literal" - }, - "minute" : { - "localId" : "726", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "14", - "type" : "Literal" - }, - "second" : { - "localId" : "727", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "47", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "728", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "500", - "type" : "Literal" - }, - "timezoneOffset" : { - "localId" : "729", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "1.0", - "type" : "Literal" - } - } ] - } - }, { - "localId" : "754", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "SameHour", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "754", - "s" : [ { - "value" : [ "","define ","SameHour",": " ] - }, { - "r" : "809", - "s" : [ { - "r" : "773", - "s" : [ { - "r" : "755", - "value" : [ "DateTime","(","2000",", ","3",", ","15",", ","13",", ","30",", ","25",", ","200",", " ] - }, { - "r" : "762", - "s" : [ { - "r" : "762", - "value" : [ "+","1.0" ] - } ] - }, { - "value" : [ ")" ] - } ] - }, { - "r" : "809", - "value" : [ " ","same hour or before"," " ] - }, { - "r" : "800", - "s" : [ { - "r" : "782", - "value" : [ "DateTime","(","2000",", ","3",", ","15",", ","13",", ","14",", ","47",", ","500",", " ] - }, { - "r" : "789", - "s" : [ { - "r" : "789", - "value" : [ "+","1.0" ] - } ] - }, { - "value" : [ ")" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "809", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "precision" : "Hour", - "type" : "SameOrBefore", - "signature" : [ { - "localId" : "810", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "811", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "773", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "774", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "775", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "776", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "777", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "778", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "779", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "780", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "781", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "755", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "756", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "757", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal" - }, - "hour" : { - "localId" : "758", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "13", - "type" : "Literal" - }, - "minute" : { - "localId" : "759", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "30", - "type" : "Literal" - }, - "second" : { - "localId" : "760", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "25", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "761", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "200", - "type" : "Literal" - }, - "timezoneOffset" : { - "localId" : "762", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "1.0", - "type" : "Literal" - } - }, { - "localId" : "800", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "801", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "802", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "803", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "804", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "805", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "806", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "807", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "808", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "782", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "783", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "784", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal" - }, - "hour" : { - "localId" : "785", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "13", - "type" : "Literal" - }, - "minute" : { - "localId" : "786", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "14", - "type" : "Literal" - }, - "second" : { - "localId" : "787", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "47", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "788", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "500", - "type" : "Literal" - }, - "timezoneOffset" : { - "localId" : "789", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "1.0", - "type" : "Literal" - } - } ] - } - }, { - "localId" : "814", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "HourAfter", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "814", - "s" : [ { - "value" : [ "","define ","HourAfter",": " ] - }, { - "r" : "869", - "s" : [ { - "r" : "833", - "s" : [ { - "r" : "815", - "value" : [ "DateTime","(","2000",", ","3",", ","15",", ","13",", ","30",", ","25",", ","200",", " ] - }, { - "r" : "822", - "s" : [ { - "r" : "822", - "value" : [ "+","1.0" ] - } ] - }, { - "value" : [ ")" ] - } ] - }, { - "r" : "869", - "value" : [ " ","same hour or before"," " ] - }, { - "r" : "860", - "s" : [ { - "r" : "842", - "value" : [ "DateTime","(","2000",", ","3",", ","15",", ","12",", ","14",", ","47",", ","500",", " ] - }, { - "r" : "849", - "s" : [ { - "r" : "849", - "value" : [ "+","1.0" ] - } ] - }, { - "value" : [ ")" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "869", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "precision" : "Hour", - "type" : "SameOrBefore", - "signature" : [ { - "localId" : "870", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "871", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "833", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "834", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "835", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "836", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "837", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "838", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "839", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "840", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "841", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "815", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "816", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "817", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal" - }, - "hour" : { - "localId" : "818", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "13", - "type" : "Literal" - }, - "minute" : { - "localId" : "819", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "30", - "type" : "Literal" - }, - "second" : { - "localId" : "820", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "25", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "821", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "200", - "type" : "Literal" - }, - "timezoneOffset" : { - "localId" : "822", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "1.0", - "type" : "Literal" - } - }, { - "localId" : "860", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "861", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "862", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "863", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "864", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "865", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "866", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "867", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "868", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "842", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "843", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "844", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal" - }, - "hour" : { - "localId" : "845", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "12", - "type" : "Literal" - }, - "minute" : { - "localId" : "846", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "14", - "type" : "Literal" - }, - "second" : { - "localId" : "847", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "47", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "848", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "500", - "type" : "Literal" - }, - "timezoneOffset" : { - "localId" : "849", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "1.0", - "type" : "Literal" - } - } ] - } - }, { - "localId" : "874", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "HourBefore", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "874", - "s" : [ { - "value" : [ "","define ","HourBefore",": " ] - }, { - "r" : "929", - "s" : [ { - "r" : "893", - "s" : [ { - "r" : "875", - "value" : [ "DateTime","(","2000",", ","3",", ","15",", ","13",", ","30",", ","25",", ","200",", " ] - }, { - "r" : "882", - "s" : [ { - "r" : "882", - "value" : [ "+","1.0" ] - } ] - }, { - "value" : [ ")" ] - } ] - }, { - "r" : "929", - "value" : [ " ","same hour or before"," " ] - }, { - "r" : "920", - "s" : [ { - "r" : "902", - "value" : [ "DateTime","(","2000",", ","3",", ","15",", ","14",", ","14",", ","47",", ","500",", " ] - }, { - "r" : "909", - "s" : [ { - "r" : "909", - "value" : [ "+","1.0" ] - } ] - }, { - "value" : [ ")" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "929", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "precision" : "Hour", - "type" : "SameOrBefore", - "signature" : [ { - "localId" : "930", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "931", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "893", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "894", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "895", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "896", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "897", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "898", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "899", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "900", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "901", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "875", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "876", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "877", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal" - }, - "hour" : { - "localId" : "878", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "13", - "type" : "Literal" - }, - "minute" : { - "localId" : "879", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "30", - "type" : "Literal" - }, - "second" : { - "localId" : "880", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "25", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "881", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "200", - "type" : "Literal" - }, - "timezoneOffset" : { - "localId" : "882", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "1.0", - "type" : "Literal" - } - }, { - "localId" : "920", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "921", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "922", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "923", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "924", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "925", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "926", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "927", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "928", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "902", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "903", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "904", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal" - }, - "hour" : { - "localId" : "905", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "14", - "type" : "Literal" - }, - "minute" : { - "localId" : "906", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "14", - "type" : "Literal" - }, - "second" : { - "localId" : "907", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "47", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "908", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "500", - "type" : "Literal" - }, - "timezoneOffset" : { - "localId" : "909", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "1.0", - "type" : "Literal" - } - } ] - } - }, { - "localId" : "934", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "SameMinute", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "934", - "s" : [ { - "value" : [ "","define ","SameMinute",": " ] - }, { - "r" : "989", - "s" : [ { - "r" : "953", - "s" : [ { - "r" : "935", - "value" : [ "DateTime","(","2000",", ","3",", ","15",", ","13",", ","30",", ","25",", ","200",", " ] - }, { - "r" : "942", - "s" : [ { - "r" : "942", - "value" : [ "+","1.0" ] - } ] - }, { - "value" : [ ")" ] - } ] - }, { - "r" : "989", - "value" : [ " ","same minute or before"," " ] - }, { - "r" : "980", - "s" : [ { - "r" : "962", - "value" : [ "DateTime","(","2000",", ","3",", ","15",", ","13",", ","30",", ","47",", ","500",", " ] - }, { - "r" : "969", - "s" : [ { - "r" : "969", - "value" : [ "+","1.0" ] - } ] - }, { - "value" : [ ")" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "989", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "precision" : "Minute", - "type" : "SameOrBefore", - "signature" : [ { - "localId" : "990", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "991", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "953", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "954", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "955", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "956", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "957", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "958", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "959", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "960", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "961", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "935", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "936", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "937", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal" - }, - "hour" : { - "localId" : "938", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "13", - "type" : "Literal" - }, - "minute" : { - "localId" : "939", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "30", - "type" : "Literal" - }, - "second" : { - "localId" : "940", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "25", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "941", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "200", - "type" : "Literal" - }, - "timezoneOffset" : { - "localId" : "942", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "1.0", - "type" : "Literal" - } - }, { - "localId" : "980", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "981", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "982", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "983", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "984", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "985", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "986", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "987", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "988", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "962", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "963", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "964", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal" - }, - "hour" : { - "localId" : "965", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "13", - "type" : "Literal" - }, - "minute" : { - "localId" : "966", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "30", - "type" : "Literal" - }, - "second" : { - "localId" : "967", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "47", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "968", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "500", - "type" : "Literal" - }, - "timezoneOffset" : { - "localId" : "969", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "1.0", - "type" : "Literal" - } - } ] - } - }, { - "localId" : "994", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "MinuteAfter", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "994", - "s" : [ { - "value" : [ "","define ","MinuteAfter",": " ] - }, { - "r" : "1049", - "s" : [ { - "r" : "1013", - "s" : [ { - "r" : "995", - "value" : [ "DateTime","(","2000",", ","3",", ","15",", ","13",", ","30",", ","25",", ","200",", " ] - }, { - "r" : "1002", - "s" : [ { - "r" : "1002", - "value" : [ "+","1.0" ] - } ] - }, { - "value" : [ ")" ] - } ] - }, { - "r" : "1049", - "value" : [ " ","same minute or before"," " ] - }, { - "r" : "1040", - "s" : [ { - "r" : "1022", - "value" : [ "DateTime","(","2000",", ","3",", ","15",", ","13",", ","29",", ","47",", ","500",", " ] - }, { - "r" : "1029", - "s" : [ { - "r" : "1029", - "value" : [ "+","1.0" ] - } ] - }, { - "value" : [ ")" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "1049", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "precision" : "Minute", - "type" : "SameOrBefore", - "signature" : [ { - "localId" : "1050", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1051", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "1013", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "1014", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1015", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1016", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1017", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1018", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1019", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1020", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1021", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "995", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "996", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "997", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal" - }, - "hour" : { - "localId" : "998", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "13", - "type" : "Literal" - }, - "minute" : { - "localId" : "999", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "30", - "type" : "Literal" - }, - "second" : { - "localId" : "1000", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "25", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "1001", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "200", - "type" : "Literal" - }, - "timezoneOffset" : { - "localId" : "1002", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "1.0", - "type" : "Literal" - } - }, { - "localId" : "1040", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "1041", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1042", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1043", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1044", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1045", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1046", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1047", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1048", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1022", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "1023", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "1024", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal" - }, - "hour" : { - "localId" : "1025", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "13", - "type" : "Literal" - }, - "minute" : { - "localId" : "1026", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "29", - "type" : "Literal" - }, - "second" : { - "localId" : "1027", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "47", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "1028", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "500", - "type" : "Literal" - }, - "timezoneOffset" : { - "localId" : "1029", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "1.0", - "type" : "Literal" - } - } ] - } - }, { - "localId" : "1054", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "MinuteBefore", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "1054", - "s" : [ { - "value" : [ "","define ","MinuteBefore",": " ] - }, { - "r" : "1109", - "s" : [ { - "r" : "1073", - "s" : [ { - "r" : "1055", - "value" : [ "DateTime","(","2000",", ","3",", ","15",", ","13",", ","30",", ","25",", ","200",", " ] - }, { - "r" : "1062", - "s" : [ { - "r" : "1062", - "value" : [ "+","1.0" ] - } ] - }, { - "value" : [ ")" ] - } ] - }, { - "r" : "1109", - "value" : [ " ","same minute or before"," " ] - }, { - "r" : "1100", - "s" : [ { - "r" : "1082", - "value" : [ "DateTime","(","2000",", ","3",", ","15",", ","13",", ","31",", ","47",", ","500",", " ] - }, { - "r" : "1089", - "s" : [ { - "r" : "1089", - "value" : [ "+","1.0" ] - } ] - }, { - "value" : [ ")" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "1109", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "precision" : "Minute", - "type" : "SameOrBefore", - "signature" : [ { - "localId" : "1110", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1111", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "1073", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "1074", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1075", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1076", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1077", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1078", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1079", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1080", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1081", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1055", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "1056", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "1057", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal" - }, - "hour" : { - "localId" : "1058", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "13", - "type" : "Literal" - }, - "minute" : { - "localId" : "1059", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "30", - "type" : "Literal" - }, - "second" : { - "localId" : "1060", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "25", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "1061", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "200", - "type" : "Literal" - }, - "timezoneOffset" : { - "localId" : "1062", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "1.0", - "type" : "Literal" - } - }, { - "localId" : "1100", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "1101", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1102", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1103", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1104", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1105", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1106", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1107", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1108", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1082", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "1083", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "1084", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal" - }, - "hour" : { - "localId" : "1085", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "13", - "type" : "Literal" - }, - "minute" : { - "localId" : "1086", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "31", - "type" : "Literal" - }, - "second" : { - "localId" : "1087", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "47", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "1088", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "500", - "type" : "Literal" - }, - "timezoneOffset" : { - "localId" : "1089", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "1.0", - "type" : "Literal" - } - } ] - } - }, { - "localId" : "1114", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "SameSecond", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "1114", - "s" : [ { - "value" : [ "","define ","SameSecond",": " ] - }, { - "r" : "1169", - "s" : [ { - "r" : "1133", - "s" : [ { - "r" : "1115", - "value" : [ "DateTime","(","2000",", ","3",", ","15",", ","13",", ","30",", ","25",", ","200",", " ] - }, { - "r" : "1122", - "s" : [ { - "r" : "1122", - "value" : [ "+","1.0" ] - } ] - }, { - "value" : [ ")" ] - } ] - }, { - "r" : "1169", - "value" : [ " ","same second or before"," " ] - }, { - "r" : "1160", - "s" : [ { - "r" : "1142", - "value" : [ "DateTime","(","2000",", ","3",", ","15",", ","13",", ","30",", ","25",", ","500",", " ] - }, { - "r" : "1149", - "s" : [ { - "r" : "1149", - "value" : [ "+","1.0" ] - } ] - }, { - "value" : [ ")" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "1169", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "precision" : "Second", - "type" : "SameOrBefore", - "signature" : [ { - "localId" : "1170", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1171", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "1133", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "1134", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1135", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1136", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1137", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1138", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1139", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1140", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1141", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1115", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "1116", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "1117", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal" - }, - "hour" : { - "localId" : "1118", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "13", - "type" : "Literal" - }, - "minute" : { - "localId" : "1119", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "30", - "type" : "Literal" - }, - "second" : { - "localId" : "1120", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "25", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "1121", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "200", - "type" : "Literal" - }, - "timezoneOffset" : { - "localId" : "1122", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "1.0", - "type" : "Literal" - } - }, { - "localId" : "1160", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "1161", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1162", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1163", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1164", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1165", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1166", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1167", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1168", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1142", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "1143", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "1144", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal" - }, - "hour" : { - "localId" : "1145", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "13", - "type" : "Literal" - }, - "minute" : { - "localId" : "1146", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "30", - "type" : "Literal" - }, - "second" : { - "localId" : "1147", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "25", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "1148", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "500", - "type" : "Literal" - }, - "timezoneOffset" : { - "localId" : "1149", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "1.0", - "type" : "Literal" - } - } ] - } - }, { - "localId" : "1174", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "SecondAfter", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "1174", - "s" : [ { - "value" : [ "","define ","SecondAfter",": " ] - }, { - "r" : "1229", - "s" : [ { - "r" : "1193", - "s" : [ { - "r" : "1175", - "value" : [ "DateTime","(","2000",", ","3",", ","15",", ","13",", ","30",", ","25",", ","200",", " ] - }, { - "r" : "1182", - "s" : [ { - "r" : "1182", - "value" : [ "+","1.0" ] - } ] - }, { - "value" : [ ")" ] - } ] - }, { - "r" : "1229", - "value" : [ " ","same second or before"," " ] - }, { - "r" : "1220", - "s" : [ { - "r" : "1202", - "value" : [ "DateTime","(","2000",", ","3",", ","15",", ","13",", ","30",", ","24",", ","500",", " ] - }, { - "r" : "1209", - "s" : [ { - "r" : "1209", - "value" : [ "+","1.0" ] - } ] - }, { - "value" : [ ")" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "1229", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "precision" : "Second", - "type" : "SameOrBefore", - "signature" : [ { - "localId" : "1230", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1231", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "1193", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "1194", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1195", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1196", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1197", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1198", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1199", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1200", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1201", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1175", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "1176", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "1177", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal" - }, - "hour" : { - "localId" : "1178", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "13", - "type" : "Literal" - }, - "minute" : { - "localId" : "1179", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "30", - "type" : "Literal" - }, - "second" : { - "localId" : "1180", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "25", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "1181", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "200", - "type" : "Literal" - }, - "timezoneOffset" : { - "localId" : "1182", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "1.0", - "type" : "Literal" - } - }, { - "localId" : "1220", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "1221", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1222", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1223", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1224", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1225", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1226", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1227", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1228", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1202", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "1203", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "1204", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal" - }, - "hour" : { - "localId" : "1205", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "13", - "type" : "Literal" - }, - "minute" : { - "localId" : "1206", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "30", - "type" : "Literal" - }, - "second" : { - "localId" : "1207", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "24", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "1208", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "500", - "type" : "Literal" - }, - "timezoneOffset" : { - "localId" : "1209", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "1.0", - "type" : "Literal" - } - } ] - } - }, { - "localId" : "1234", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "SecondBefore", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "1234", - "s" : [ { - "value" : [ "","define ","SecondBefore",": " ] - }, { - "r" : "1289", - "s" : [ { - "r" : "1253", - "s" : [ { - "r" : "1235", - "value" : [ "DateTime","(","2000",", ","3",", ","15",", ","13",", ","30",", ","25",", ","200",", " ] - }, { - "r" : "1242", - "s" : [ { - "r" : "1242", - "value" : [ "+","1.0" ] - } ] - }, { - "value" : [ ")" ] - } ] - }, { - "r" : "1289", - "value" : [ " ","same second or before"," " ] - }, { - "r" : "1280", - "s" : [ { - "r" : "1262", - "value" : [ "DateTime","(","2000",", ","3",", ","15",", ","13",", ","30",", ","26",", ","500",", " ] - }, { - "r" : "1269", - "s" : [ { - "r" : "1269", - "value" : [ "+","1.0" ] - } ] - }, { - "value" : [ ")" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "1289", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "precision" : "Second", - "type" : "SameOrBefore", - "signature" : [ { - "localId" : "1290", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1291", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "1253", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "1254", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1255", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1256", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1257", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1258", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1259", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1260", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1261", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1235", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "1236", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "1237", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal" - }, - "hour" : { - "localId" : "1238", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "13", - "type" : "Literal" - }, - "minute" : { - "localId" : "1239", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "30", - "type" : "Literal" - }, - "second" : { - "localId" : "1240", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "25", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "1241", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "200", - "type" : "Literal" - }, - "timezoneOffset" : { - "localId" : "1242", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "1.0", - "type" : "Literal" - } - }, { - "localId" : "1280", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "1281", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1282", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1283", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1284", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1285", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1286", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1287", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1288", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1262", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "1263", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "1264", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal" - }, - "hour" : { - "localId" : "1265", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "13", - "type" : "Literal" - }, - "minute" : { - "localId" : "1266", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "30", - "type" : "Literal" - }, - "second" : { - "localId" : "1267", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "26", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "1268", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "500", - "type" : "Literal" - }, - "timezoneOffset" : { - "localId" : "1269", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "1.0", - "type" : "Literal" - } - } ] - } - }, { - "localId" : "1294", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "SameMillisecond", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "1294", - "s" : [ { - "value" : [ "","define ","SameMillisecond",": " ] - }, { - "r" : "1349", - "s" : [ { - "r" : "1313", - "s" : [ { - "r" : "1295", - "value" : [ "DateTime","(","2000",", ","3",", ","15",", ","13",", ","30",", ","25",", ","200",", " ] - }, { - "r" : "1302", - "s" : [ { - "r" : "1302", - "value" : [ "+","1.0" ] - } ] - }, { - "value" : [ ")" ] - } ] - }, { - "r" : "1349", - "value" : [ " ","same millisecond or before"," " ] - }, { - "r" : "1340", - "s" : [ { - "r" : "1322", - "value" : [ "DateTime","(","2000",", ","3",", ","15",", ","13",", ","30",", ","25",", ","200",", " ] - }, { - "r" : "1329", - "s" : [ { - "r" : "1329", - "value" : [ "+","1.0" ] - } ] - }, { - "value" : [ ")" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "1349", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "precision" : "Millisecond", - "type" : "SameOrBefore", - "signature" : [ { - "localId" : "1350", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1351", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "1313", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "1314", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1315", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1316", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1317", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1318", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1319", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1320", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1321", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1295", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "1296", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "1297", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal" - }, - "hour" : { - "localId" : "1298", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "13", - "type" : "Literal" - }, - "minute" : { - "localId" : "1299", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "30", - "type" : "Literal" - }, - "second" : { - "localId" : "1300", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "25", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "1301", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "200", - "type" : "Literal" - }, - "timezoneOffset" : { - "localId" : "1302", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "1.0", - "type" : "Literal" - } - }, { - "localId" : "1340", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "1341", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1342", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1343", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1344", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1345", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1346", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1347", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1348", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1322", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "1323", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "1324", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal" - }, - "hour" : { - "localId" : "1325", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "13", - "type" : "Literal" - }, - "minute" : { - "localId" : "1326", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "30", - "type" : "Literal" - }, - "second" : { - "localId" : "1327", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "25", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "1328", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "200", - "type" : "Literal" - }, - "timezoneOffset" : { - "localId" : "1329", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "1.0", - "type" : "Literal" - } - } ] - } - }, { - "localId" : "1354", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "MillisecondAfter", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "1354", - "s" : [ { - "value" : [ "","define ","MillisecondAfter",": " ] - }, { - "r" : "1409", - "s" : [ { - "r" : "1373", - "s" : [ { - "r" : "1355", - "value" : [ "DateTime","(","2000",", ","3",", ","15",", ","13",", ","30",", ","25",", ","200",", " ] - }, { - "r" : "1362", - "s" : [ { - "r" : "1362", - "value" : [ "+","1.0" ] - } ] - }, { - "value" : [ ")" ] - } ] - }, { - "r" : "1409", - "value" : [ " ","same millisecond or before"," " ] - }, { - "r" : "1400", - "s" : [ { - "r" : "1382", - "value" : [ "DateTime","(","2000",", ","3",", ","15",", ","13",", ","30",", ","25",", ","199",", " ] - }, { - "r" : "1389", - "s" : [ { - "r" : "1389", - "value" : [ "+","1.0" ] - } ] - }, { - "value" : [ ")" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "1409", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "precision" : "Millisecond", - "type" : "SameOrBefore", - "signature" : [ { - "localId" : "1410", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1411", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "1373", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "1374", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1375", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1376", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1377", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1378", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1379", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1380", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1381", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1355", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "1356", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "1357", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal" - }, - "hour" : { - "localId" : "1358", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "13", - "type" : "Literal" - }, - "minute" : { - "localId" : "1359", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "30", - "type" : "Literal" - }, - "second" : { - "localId" : "1360", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "25", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "1361", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "200", - "type" : "Literal" - }, - "timezoneOffset" : { - "localId" : "1362", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "1.0", - "type" : "Literal" - } - }, { - "localId" : "1400", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "1401", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1402", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1403", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1404", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1405", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1406", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1407", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1408", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1382", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "1383", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "1384", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal" - }, - "hour" : { - "localId" : "1385", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "13", - "type" : "Literal" - }, - "minute" : { - "localId" : "1386", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "30", - "type" : "Literal" - }, - "second" : { - "localId" : "1387", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "25", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "1388", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "199", - "type" : "Literal" - }, - "timezoneOffset" : { - "localId" : "1389", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "1.0", - "type" : "Literal" - } - } ] - } - }, { - "localId" : "1414", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "MillisecondBefore", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "1414", - "s" : [ { - "value" : [ "","define ","MillisecondBefore",": " ] - }, { - "r" : "1469", - "s" : [ { - "r" : "1433", - "s" : [ { - "r" : "1415", - "value" : [ "DateTime","(","2000",", ","3",", ","15",", ","13",", ","30",", ","25",", ","200",", " ] - }, { - "r" : "1422", - "s" : [ { - "r" : "1422", - "value" : [ "+","1.0" ] - } ] - }, { - "value" : [ ")" ] - } ] - }, { - "r" : "1469", - "value" : [ " ","same millisecond or before"," " ] - }, { - "r" : "1460", - "s" : [ { - "r" : "1442", - "value" : [ "DateTime","(","2000",", ","3",", ","15",", ","13",", ","30",", ","25",", ","201",", " ] - }, { - "r" : "1449", - "s" : [ { - "r" : "1449", - "value" : [ "+","1.0" ] - } ] - }, { - "value" : [ ")" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "1469", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "precision" : "Millisecond", - "type" : "SameOrBefore", - "signature" : [ { - "localId" : "1470", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1471", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "1433", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "1434", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1435", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1436", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1437", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1438", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1439", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1440", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1441", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1415", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "1416", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "1417", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal" - }, - "hour" : { - "localId" : "1418", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "13", - "type" : "Literal" - }, - "minute" : { - "localId" : "1419", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "30", - "type" : "Literal" - }, - "second" : { - "localId" : "1420", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "25", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "1421", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "200", - "type" : "Literal" - }, - "timezoneOffset" : { - "localId" : "1422", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "1.0", - "type" : "Literal" - } - }, { - "localId" : "1460", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "1461", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1462", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1463", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1464", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1465", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1466", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1467", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1468", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1442", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "1443", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "1444", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal" - }, - "hour" : { - "localId" : "1445", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "13", - "type" : "Literal" - }, - "minute" : { - "localId" : "1446", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "30", - "type" : "Literal" - }, - "second" : { - "localId" : "1447", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "25", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "1448", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "201", - "type" : "Literal" - }, - "timezoneOffset" : { - "localId" : "1449", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "1.0", - "type" : "Literal" - } - } ] - } - }, { - "localId" : "1474", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "Same", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "1474", - "s" : [ { - "value" : [ "","define ","Same",": " ] - }, { - "r" : "1529", - "s" : [ { - "r" : "1493", - "s" : [ { - "r" : "1475", - "value" : [ "DateTime","(","2000",", ","3",", ","15",", ","13",", ","30",", ","25",", ","200",", " ] - }, { - "r" : "1482", - "s" : [ { - "r" : "1482", - "value" : [ "+","1.0" ] - } ] - }, { - "value" : [ ")" ] - } ] - }, { - "r" : "1529", - "value" : [ " ","same or before"," " ] - }, { - "r" : "1520", - "s" : [ { - "r" : "1502", - "value" : [ "DateTime","(","2000",", ","3",", ","15",", ","13",", ","30",", ","25",", ","200",", " ] - }, { - "r" : "1509", - "s" : [ { - "r" : "1509", - "value" : [ "+","1.0" ] - } ] - }, { - "value" : [ ")" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "1529", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "SameOrBefore", - "signature" : [ { - "localId" : "1530", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1531", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "1493", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "1494", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1495", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1496", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1497", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1498", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1499", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1500", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1501", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1475", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "1476", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "1477", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal" - }, - "hour" : { - "localId" : "1478", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "13", - "type" : "Literal" - }, - "minute" : { - "localId" : "1479", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "30", - "type" : "Literal" - }, - "second" : { - "localId" : "1480", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "25", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "1481", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "200", - "type" : "Literal" - }, - "timezoneOffset" : { - "localId" : "1482", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "1.0", - "type" : "Literal" - } - }, { - "localId" : "1520", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "1521", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1522", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1523", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1524", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1525", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1526", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1527", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1528", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1502", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "1503", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "1504", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal" - }, - "hour" : { - "localId" : "1505", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "13", - "type" : "Literal" - }, - "minute" : { - "localId" : "1506", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "30", - "type" : "Literal" - }, - "second" : { - "localId" : "1507", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "25", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "1508", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "200", - "type" : "Literal" - }, - "timezoneOffset" : { - "localId" : "1509", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "1.0", - "type" : "Literal" - } - } ] - } - }, { - "localId" : "1534", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "After", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "1534", - "s" : [ { - "value" : [ "","define ","After",": " ] - }, { - "r" : "1589", - "s" : [ { - "r" : "1553", - "s" : [ { - "r" : "1535", - "value" : [ "DateTime","(","2000",", ","3",", ","15",", ","13",", ","30",", ","25",", ","200",", " ] - }, { - "r" : "1542", - "s" : [ { - "r" : "1542", - "value" : [ "+","1.0" ] - } ] - }, { - "value" : [ ")" ] - } ] - }, { - "r" : "1589", - "value" : [ " ","same or before"," " ] - }, { - "r" : "1580", - "s" : [ { - "r" : "1562", - "value" : [ "DateTime","(","2000",", ","3",", ","15",", ","13",", ","30",", ","25",", ","199",", " ] - }, { - "r" : "1569", - "s" : [ { - "r" : "1569", - "value" : [ "+","1.0" ] - } ] - }, { - "value" : [ ")" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "1589", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "SameOrBefore", - "signature" : [ { - "localId" : "1590", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1591", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "1553", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "1554", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1555", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1556", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1557", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1558", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1559", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1560", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1561", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1535", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "1536", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "1537", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal" - }, - "hour" : { - "localId" : "1538", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "13", - "type" : "Literal" - }, - "minute" : { - "localId" : "1539", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "30", - "type" : "Literal" - }, - "second" : { - "localId" : "1540", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "25", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "1541", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "200", - "type" : "Literal" - }, - "timezoneOffset" : { - "localId" : "1542", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "1.0", - "type" : "Literal" - } - }, { - "localId" : "1580", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "1581", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1582", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1583", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1584", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1585", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1586", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1587", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1588", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1562", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "1563", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "1564", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal" - }, - "hour" : { - "localId" : "1565", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "13", - "type" : "Literal" - }, - "minute" : { - "localId" : "1566", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "30", - "type" : "Literal" - }, - "second" : { - "localId" : "1567", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "25", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "1568", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "199", - "type" : "Literal" - }, - "timezoneOffset" : { - "localId" : "1569", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "1.0", - "type" : "Literal" - } - } ] - } - }, { - "localId" : "1594", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "Before", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "1594", - "s" : [ { - "value" : [ "","define ","Before",": " ] - }, { - "r" : "1649", - "s" : [ { - "r" : "1613", - "s" : [ { - "r" : "1595", - "value" : [ "DateTime","(","2000",", ","3",", ","15",", ","13",", ","30",", ","25",", ","200",", " ] - }, { - "r" : "1602", - "s" : [ { - "r" : "1602", - "value" : [ "+","1.0" ] - } ] - }, { - "value" : [ ")" ] - } ] - }, { - "r" : "1649", - "value" : [ " ","same or before"," " ] - }, { - "r" : "1640", - "s" : [ { - "r" : "1622", - "value" : [ "DateTime","(","2000",", ","3",", ","15",", ","13",", ","30",", ","25",", ","201",", " ] - }, { - "r" : "1629", - "s" : [ { - "r" : "1629", - "value" : [ "+","1.0" ] - } ] - }, { - "value" : [ ")" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "1649", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "SameOrBefore", - "signature" : [ { - "localId" : "1650", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1651", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "1613", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "1614", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1615", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1616", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1617", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1618", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1619", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1620", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1621", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1595", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "1596", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "1597", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal" - }, - "hour" : { - "localId" : "1598", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "13", - "type" : "Literal" - }, - "minute" : { - "localId" : "1599", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "30", - "type" : "Literal" - }, - "second" : { - "localId" : "1600", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "25", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "1601", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "200", - "type" : "Literal" - }, - "timezoneOffset" : { - "localId" : "1602", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "1.0", - "type" : "Literal" - } - }, { - "localId" : "1640", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "1641", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1642", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1643", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1644", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1645", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1646", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1647", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1648", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1622", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "1623", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "1624", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal" - }, - "hour" : { - "localId" : "1625", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "13", - "type" : "Literal" - }, - "minute" : { - "localId" : "1626", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "30", - "type" : "Literal" - }, - "second" : { - "localId" : "1627", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "25", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "1628", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "201", - "type" : "Literal" - }, - "timezoneOffset" : { - "localId" : "1629", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "1.0", - "type" : "Literal" - } - } ] - } - }, { - "localId" : "1654", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "SameDayMonthBefore", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "1654", - "s" : [ { - "value" : [ "","define ","SameDayMonthBefore",": " ] - }, { - "r" : "1709", - "s" : [ { - "r" : "1673", - "s" : [ { - "r" : "1655", - "value" : [ "DateTime","(","2000",", ","3",", ","15",", ","13",", ","30",", ","25",", ","200",", " ] - }, { - "r" : "1662", - "s" : [ { - "r" : "1662", - "value" : [ "+","1.0" ] - } ] - }, { - "value" : [ ")" ] - } ] - }, { - "r" : "1709", - "value" : [ " ","same day or before"," " ] - }, { - "r" : "1700", - "s" : [ { - "r" : "1682", - "value" : [ "DateTime","(","2000",", ","4",", ","15",", ","8",", ","14",", ","47",", ","500",", " ] - }, { - "r" : "1689", - "s" : [ { - "r" : "1689", - "value" : [ "+","1.0" ] - } ] - }, { - "value" : [ ")" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "1709", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "precision" : "Day", - "type" : "SameOrBefore", - "signature" : [ { - "localId" : "1710", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1711", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "1673", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "1674", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1675", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1676", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1677", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1678", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1679", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1680", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1681", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1655", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "1656", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "1657", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal" - }, - "hour" : { - "localId" : "1658", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "13", - "type" : "Literal" - }, - "minute" : { - "localId" : "1659", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "30", - "type" : "Literal" - }, - "second" : { - "localId" : "1660", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "25", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "1661", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "200", - "type" : "Literal" - }, - "timezoneOffset" : { - "localId" : "1662", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "1.0", - "type" : "Literal" - } - }, { - "localId" : "1700", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "1701", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1702", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1703", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1704", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1705", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1706", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1707", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1708", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1682", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "1683", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "4", - "type" : "Literal" - }, - "day" : { - "localId" : "1684", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal" - }, - "hour" : { - "localId" : "1685", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "8", - "type" : "Literal" - }, - "minute" : { - "localId" : "1686", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "14", - "type" : "Literal" - }, - "second" : { - "localId" : "1687", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "47", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "1688", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "500", - "type" : "Literal" - }, - "timezoneOffset" : { - "localId" : "1689", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "1.0", - "type" : "Literal" - } - } ] - } - }, { - "localId" : "1714", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "DayAfterMonthBefore", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "1714", - "s" : [ { - "value" : [ "","define ","DayAfterMonthBefore",": " ] - }, { - "r" : "1769", - "s" : [ { - "r" : "1733", - "s" : [ { - "r" : "1715", - "value" : [ "DateTime","(","2000",", ","3",", ","15",", ","13",", ","30",", ","25",", ","200",", " ] - }, { - "r" : "1722", - "s" : [ { - "r" : "1722", - "value" : [ "+","1.0" ] - } ] - }, { - "value" : [ ")" ] - } ] - }, { - "r" : "1769", - "value" : [ " ","same day or before"," " ] - }, { - "r" : "1760", - "s" : [ { - "r" : "1742", - "value" : [ "DateTime","(","2000",", ","4",", ","14",", ","8",", ","14",", ","47",", ","500",", " ] - }, { - "r" : "1749", - "s" : [ { - "r" : "1749", - "value" : [ "+","1.0" ] - } ] - }, { - "value" : [ ")" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "1769", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "precision" : "Day", - "type" : "SameOrBefore", - "signature" : [ { - "localId" : "1770", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1771", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "1733", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "1734", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1735", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1736", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1737", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1738", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1739", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1740", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1741", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1715", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "1716", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "1717", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal" - }, - "hour" : { - "localId" : "1718", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "13", - "type" : "Literal" - }, - "minute" : { - "localId" : "1719", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "30", - "type" : "Literal" - }, - "second" : { - "localId" : "1720", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "25", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "1721", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "200", - "type" : "Literal" - }, - "timezoneOffset" : { - "localId" : "1722", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "1.0", - "type" : "Literal" - } - }, { - "localId" : "1760", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "1761", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1762", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1763", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1764", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1765", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1766", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1767", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1768", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1742", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "1743", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "4", - "type" : "Literal" - }, - "day" : { - "localId" : "1744", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "14", - "type" : "Literal" - }, - "hour" : { - "localId" : "1745", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "8", - "type" : "Literal" - }, - "minute" : { - "localId" : "1746", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "14", - "type" : "Literal" - }, - "second" : { - "localId" : "1747", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "47", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "1748", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "500", - "type" : "Literal" - }, - "timezoneOffset" : { - "localId" : "1749", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "1.0", - "type" : "Literal" - } - } ] - } - }, { - "localId" : "1774", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "DayBeforeMonthAfter", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "1774", - "s" : [ { - "value" : [ "","define ","DayBeforeMonthAfter",": " ] - }, { - "r" : "1829", - "s" : [ { - "r" : "1793", - "s" : [ { - "r" : "1775", - "value" : [ "DateTime","(","2000",", ","3",", ","15",", ","13",", ","30",", ","25",", ","200",", " ] - }, { - "r" : "1782", - "s" : [ { - "r" : "1782", - "value" : [ "+","1.0" ] - } ] - }, { - "value" : [ ")" ] - } ] - }, { - "r" : "1829", - "value" : [ " ","same day or before"," " ] - }, { - "r" : "1820", - "s" : [ { - "r" : "1802", - "value" : [ "DateTime","(","2000",", ","2",", ","16",", ","8",", ","14",", ","47",", ","500",", " ] - }, { - "r" : "1809", - "s" : [ { - "r" : "1809", - "value" : [ "+","1.0" ] - } ] - }, { - "value" : [ ")" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "1829", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "precision" : "Day", - "type" : "SameOrBefore", - "signature" : [ { - "localId" : "1830", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1831", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "1793", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "1794", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1795", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1796", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1797", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1798", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1799", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1800", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1801", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1775", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "1776", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "1777", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal" - }, - "hour" : { - "localId" : "1778", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "13", - "type" : "Literal" - }, - "minute" : { - "localId" : "1779", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "30", - "type" : "Literal" - }, - "second" : { - "localId" : "1780", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "25", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "1781", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "200", - "type" : "Literal" - }, - "timezoneOffset" : { - "localId" : "1782", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "1.0", - "type" : "Literal" - } - }, { - "localId" : "1820", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "1821", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1822", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1823", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1824", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1825", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1826", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1827", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1828", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1802", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "1803", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal" - }, - "day" : { - "localId" : "1804", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "16", - "type" : "Literal" - }, - "hour" : { - "localId" : "1805", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "8", - "type" : "Literal" - }, - "minute" : { - "localId" : "1806", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "14", - "type" : "Literal" - }, - "second" : { - "localId" : "1807", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "47", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "1808", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "500", - "type" : "Literal" - }, - "timezoneOffset" : { - "localId" : "1809", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "1.0", - "type" : "Literal" - } - } ] - } - }, { - "localId" : "1834", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "ImpreciseDay", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "1834", - "s" : [ { - "value" : [ "","define ","ImpreciseDay",": " ] - }, { - "r" : "1868", - "s" : [ { - "r" : "1851", - "s" : [ { - "r" : "1835", - "value" : [ "DateTime","(","2000",", ","3",", ","15",", ","13",", ","30",", ","25",", ","200",")" ] - } ] - }, { - "r" : "1868", - "value" : [ " ","same day or before"," " ] - }, { - "r" : "1865", - "s" : [ { - "r" : "1859", - "value" : [ "DateTime","(","2000",", ","3",")" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "1868", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "precision" : "Day", - "type" : "SameOrBefore", - "signature" : [ { - "localId" : "1869", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1870", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "1851", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "1852", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1853", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1854", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1855", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1856", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1857", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1858", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1835", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "1836", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "1837", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal" - }, - "hour" : { - "localId" : "1838", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "13", - "type" : "Literal" - }, - "minute" : { - "localId" : "1839", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "30", - "type" : "Literal" - }, - "second" : { - "localId" : "1840", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "25", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "1841", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "200", - "type" : "Literal" - } - }, { - "localId" : "1865", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "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" - } ], - "year" : { - "localId" : "1859", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "1860", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - } - } ] - } - }, { - "localId" : "1873", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "ImpreciseDayMonthAfter", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "1873", - "s" : [ { - "value" : [ "","define ","ImpreciseDayMonthAfter",": " ] - }, { - "r" : "1907", - "s" : [ { - "r" : "1890", - "s" : [ { - "r" : "1874", - "value" : [ "DateTime","(","2000",", ","3",", ","15",", ","13",", ","30",", ","25",", ","200",")" ] - } ] - }, { - "r" : "1907", - "value" : [ " ","same day or before"," " ] - }, { - "r" : "1904", - "s" : [ { - "r" : "1898", - "value" : [ "DateTime","(","2000",", ","2",")" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "1907", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "precision" : "Day", - "type" : "SameOrBefore", - "signature" : [ { - "localId" : "1908", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1909", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "1890", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "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" - }, { - "localId" : "1893", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1894", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1895", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1896", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1897", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1874", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "1875", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "1876", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal" - }, - "hour" : { - "localId" : "1877", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "13", - "type" : "Literal" - }, - "minute" : { - "localId" : "1878", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "30", - "type" : "Literal" - }, - "second" : { - "localId" : "1879", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "25", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "1880", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "200", - "type" : "Literal" - } - }, { - "localId" : "1904", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "1905", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1906", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1898", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "1899", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal" - } - } ] - } - }, { - "localId" : "1912", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "ImpreciseDayMonthBefore", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "1912", - "s" : [ { - "value" : [ "","define ","ImpreciseDayMonthBefore",": " ] - }, { - "r" : "1946", - "s" : [ { - "r" : "1929", - "s" : [ { - "r" : "1913", - "value" : [ "DateTime","(","2000",", ","3",", ","15",", ","13",", ","30",", ","25",", ","200",")" ] - } ] - }, { - "r" : "1946", - "value" : [ " ","same day or before"," " ] - }, { - "r" : "1943", - "s" : [ { - "r" : "1937", - "value" : [ "DateTime","(","2000",", ","4",")" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "1946", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "precision" : "Day", - "type" : "SameOrBefore", - "signature" : [ { - "localId" : "1947", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1948", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "1929", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "1930", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1931", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1932", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1933", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1934", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1935", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1936", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1913", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "1914", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "1915", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal" - }, - "hour" : { - "localId" : "1916", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "13", - "type" : "Literal" - }, - "minute" : { - "localId" : "1917", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "30", - "type" : "Literal" - }, - "second" : { - "localId" : "1918", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "25", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "1919", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "200", - "type" : "Literal" - } - }, { - "localId" : "1943", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "1944", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1945", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1937", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "1938", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "4", - "type" : "Literal" - } - } ] - } - }, { - "localId" : "1951", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "SameHourNormalizeZones", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "1951", - "s" : [ { - "value" : [ "","define ","SameHourNormalizeZones",": " ] - }, { - "r" : "2008", - "s" : [ { - "r" : "1970", - "s" : [ { - "r" : "1952", - "value" : [ "DateTime","(","2000",", ","3",", ","15",", ","13",", ","30",", ","25",", ","200",", " ] - }, { - "r" : "1959", - "s" : [ { - "r" : "1959", - "value" : [ "+","1.0" ] - } ] - }, { - "value" : [ ")" ] - } ] - }, { - "r" : "2008", - "value" : [ " ","same hour or before"," " ] - }, { - "r" : "1999", - "s" : [ { - "r" : "1979", - "value" : [ "DateTime","(","2000",", ","3",", ","15",", ","7",", ","30",", ","25",", ","200",", " ] - }, { - "r" : "1986", - "s" : [ { - "r" : "1987", - "value" : [ "-","5.0" ] - } ] - }, { - "value" : [ ")" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "2008", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "precision" : "Hour", - "type" : "SameOrBefore", - "signature" : [ { - "localId" : "2009", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2010", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "1970", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "1971", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1972", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1973", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1974", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1975", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1976", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1977", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1978", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1952", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "1953", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "1954", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal" - }, - "hour" : { - "localId" : "1955", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "13", - "type" : "Literal" - }, - "minute" : { - "localId" : "1956", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "30", - "type" : "Literal" - }, - "second" : { - "localId" : "1957", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "25", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "1958", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "200", - "type" : "Literal" - }, - "timezoneOffset" : { - "localId" : "1959", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "1.0", - "type" : "Literal" - } - }, { - "localId" : "1999", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "2000", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2001", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2002", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2003", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2004", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2005", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2006", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2007", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1979", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "1980", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "1981", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal" - }, - "hour" : { - "localId" : "1982", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "7", - "type" : "Literal" - }, - "minute" : { - "localId" : "1983", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "30", - "type" : "Literal" - }, - "second" : { - "localId" : "1984", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "25", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "1985", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "200", - "type" : "Literal" - }, - "timezoneOffset" : { - "localId" : "1986", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "Negate", - "signature" : [ { - "localId" : "1988", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "1987", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "5.0", - "type" : "Literal" - } - } - } ] - } - }, { - "localId" : "2013", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "HourAfterNormalizeZones", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "2013", - "s" : [ { - "value" : [ "","define ","HourAfterNormalizeZones",": " ] - }, { - "r" : "2070", - "s" : [ { - "r" : "2032", - "s" : [ { - "r" : "2014", - "value" : [ "DateTime","(","2000",", ","3",", ","15",", ","13",", ","30",", ","25",", ","200",", " ] - }, { - "r" : "2021", - "s" : [ { - "r" : "2021", - "value" : [ "+","1.0" ] - } ] - }, { - "value" : [ ")" ] - } ] - }, { - "r" : "2070", - "value" : [ " ","same hour or before"," " ] - }, { - "r" : "2061", - "s" : [ { - "r" : "2041", - "value" : [ "DateTime","(","2000",", ","3",", ","15",", ","6",", ","30",", ","25",", ","200",", " ] - }, { - "r" : "2048", - "s" : [ { - "r" : "2049", - "value" : [ "-","5.0" ] - } ] - }, { - "value" : [ ")" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "2070", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "precision" : "Hour", - "type" : "SameOrBefore", - "signature" : [ { - "localId" : "2071", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2072", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "2032", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "2033", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2034", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2035", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2036", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2037", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2038", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2039", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2040", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "2014", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "2015", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "2016", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal" - }, - "hour" : { - "localId" : "2017", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "13", - "type" : "Literal" - }, - "minute" : { - "localId" : "2018", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "30", - "type" : "Literal" - }, - "second" : { - "localId" : "2019", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "25", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "2020", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "200", - "type" : "Literal" - }, - "timezoneOffset" : { - "localId" : "2021", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "1.0", - "type" : "Literal" - } - }, { - "localId" : "2061", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "2062", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2063", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2064", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2065", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2066", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2067", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2068", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2069", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "2041", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "2042", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "2043", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal" - }, - "hour" : { - "localId" : "2044", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "6", - "type" : "Literal" - }, - "minute" : { - "localId" : "2045", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "30", - "type" : "Literal" - }, - "second" : { - "localId" : "2046", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "25", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "2047", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "200", - "type" : "Literal" - }, - "timezoneOffset" : { - "localId" : "2048", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "Negate", - "signature" : [ { - "localId" : "2050", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "2049", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "5.0", - "type" : "Literal" - } - } - } ] - } - }, { - "localId" : "2075", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "HourBeforeNormalizeZones", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "2075", - "s" : [ { - "value" : [ "","define ","HourBeforeNormalizeZones",": " ] - }, { - "r" : "2132", - "s" : [ { - "r" : "2094", - "s" : [ { - "r" : "2076", - "value" : [ "DateTime","(","2000",", ","3",", ","15",", ","13",", ","30",", ","25",", ","200",", " ] - }, { - "r" : "2083", - "s" : [ { - "r" : "2083", - "value" : [ "+","1.0" ] - } ] - }, { - "value" : [ ")" ] - } ] - }, { - "r" : "2132", - "value" : [ " ","same hour or before"," " ] - }, { - "r" : "2123", - "s" : [ { - "r" : "2103", - "value" : [ "DateTime","(","2000",", ","3",", ","15",", ","8",", ","30",", ","25",", ","200",", " ] - }, { - "r" : "2110", - "s" : [ { - "r" : "2111", - "value" : [ "-","5.0" ] - } ] - }, { - "value" : [ ")" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "2132", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "precision" : "Hour", - "type" : "SameOrBefore", - "signature" : [ { - "localId" : "2133", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2134", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "2094", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "2095", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2096", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2097", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2098", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2099", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2100", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2101", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2102", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "2076", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "2077", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "2078", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal" - }, - "hour" : { - "localId" : "2079", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "13", - "type" : "Literal" - }, - "minute" : { - "localId" : "2080", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "30", - "type" : "Literal" - }, - "second" : { - "localId" : "2081", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "25", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "2082", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "200", - "type" : "Literal" - }, - "timezoneOffset" : { - "localId" : "2083", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "1.0", - "type" : "Literal" - } - }, { - "localId" : "2123", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "2124", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2125", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2126", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2127", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2128", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2129", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2130", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2131", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "2103", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "2104", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "2105", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal" - }, - "hour" : { - "localId" : "2106", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "8", - "type" : "Literal" - }, - "minute" : { - "localId" : "2107", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "30", - "type" : "Literal" - }, - "second" : { - "localId" : "2108", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "25", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "2109", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "200", - "type" : "Literal" - }, - "timezoneOffset" : { - "localId" : "2110", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "Negate", - "signature" : [ { - "localId" : "2112", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "2111", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "5.0", - "type" : "Literal" - } - } - } ] - } - }, { - "localId" : "2137", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "NullLeft", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "2137", - "s" : [ { - "value" : [ "","define ","NullLeft",": " ] - }, { - "r" : "2166", - "s" : [ { - "r" : "2138", - "value" : [ "null"," ","same or before"," " ] - }, { - "r" : "2157", - "s" : [ { - "r" : "2139", - "value" : [ "DateTime","(","2000",", ","3",", ","15",", ","13",", ","30",", ","25",", ","200",", " ] - }, { - "r" : "2146", - "s" : [ { - "r" : "2146", - "value" : [ "+","1.0" ] - } ] - }, { - "value" : [ ")" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "2166", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "SameOrBefore", - "signature" : [ { - "localId" : "2168", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2169", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "2167", - "asType" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "As", - "signature" : [ ], - "operand" : { - "localId" : "2138", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - } - }, { - "localId" : "2157", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "2158", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2159", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2160", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2161", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2162", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2163", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2164", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2165", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "2139", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "2140", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "2141", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal" - }, - "hour" : { - "localId" : "2142", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "13", - "type" : "Literal" - }, - "minute" : { - "localId" : "2143", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "30", - "type" : "Literal" - }, - "second" : { - "localId" : "2144", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "25", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "2145", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "200", - "type" : "Literal" - }, - "timezoneOffset" : { - "localId" : "2146", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "1.0", - "type" : "Literal" - } - } ] - } - }, { - "localId" : "2172", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "NullRight", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "2172", - "s" : [ { - "value" : [ "","define ","NullRight",": " ] - }, { - "r" : "2201", - "s" : [ { - "r" : "2191", - "s" : [ { - "r" : "2173", - "value" : [ "DateTime","(","2000",", ","3",", ","15",", ","13",", ","30",", ","25",", ","200",", " ] - }, { - "r" : "2180", - "s" : [ { - "r" : "2180", - "value" : [ "+","1.0" ] - } ] - }, { - "value" : [ ")" ] - } ] - }, { - "r" : "2201", - "value" : [ " ","same or before"," ","null" ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "2201", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "SameOrBefore", - "signature" : [ { - "localId" : "2203", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2204", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "2191", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "2192", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2193", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2194", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2195", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2196", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2197", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2198", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2199", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "2173", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "2174", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "2175", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal" - }, - "hour" : { - "localId" : "2176", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "13", - "type" : "Literal" - }, - "minute" : { - "localId" : "2177", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "30", - "type" : "Literal" - }, - "second" : { - "localId" : "2178", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "25", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "2179", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "200", - "type" : "Literal" - }, - "timezoneOffset" : { - "localId" : "2180", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "1.0", - "type" : "Literal" - } - }, { - "localId" : "2202", - "asType" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "As", - "signature" : [ ], - "operand" : { - "localId" : "2200", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - } - } ] - } - }, { - "localId" : "2207", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "NullBoth", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "2207", - "s" : [ { - "value" : [ "","define ","NullBoth",": " ] - }, { - "r" : "2212", - "s" : [ { - "r" : "2208", - "s" : [ { - "value" : [ "(" ] - }, { - "r" : "2208", - "s" : [ { - "r" : "2209", - "value" : [ "null"," as " ] - }, { - "r" : "2210", - "s" : [ { - "value" : [ "DateTime" ] - } ] - } ] - }, { - "value" : [ ")" ] - } ] - }, { - "r" : "2212", - "value" : [ " ","same or before"," ","null" ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "2212", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "SameOrBefore", - "signature" : [ { - "localId" : "2214", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2215", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "2208", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "strict" : false, - "type" : "As", - "signature" : [ ], - "operand" : { - "localId" : "2209", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - }, - "asTypeSpecifier" : { - "localId" : "2210", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "2213", - "asType" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "As", - "signature" : [ ], - "operand" : { - "localId" : "2211", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - } - } ] - } - }, { - "localId" : "2218", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "SameOOB", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "2218", - "s" : [ { - "value" : [ "// On Or Before:\n","define ","SameOOB",": " ] - }, { - "r" : "2273", - "s" : [ { - "r" : "2237", - "s" : [ { - "r" : "2219", - "value" : [ "DateTime","(","2000",", ","3",", ","15",", ","13",", ","30",", ","25",", ","200",", " ] - }, { - "r" : "2226", - "s" : [ { - "r" : "2226", - "value" : [ "+","1.0" ] - } ] - }, { - "value" : [ ")" ] - } ] - }, { - "r" : "2273", - "value" : [ " ","on or before"," " ] - }, { - "r" : "2264", - "s" : [ { - "r" : "2246", - "value" : [ "DateTime","(","2000",", ","3",", ","15",", ","13",", ","30",", ","25",", ","200",", " ] - }, { - "r" : "2253", - "s" : [ { - "r" : "2253", - "value" : [ "+","1.0" ] - } ] - }, { - "value" : [ ")" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "2273", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "SameOrBefore", - "signature" : [ { - "localId" : "2274", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2275", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "2237", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "2238", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2239", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2240", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2241", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2242", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2243", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2244", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2245", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "2219", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "2220", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "2221", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal" - }, - "hour" : { - "localId" : "2222", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "13", - "type" : "Literal" - }, - "minute" : { - "localId" : "2223", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "30", - "type" : "Literal" - }, - "second" : { - "localId" : "2224", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "25", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "2225", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "200", - "type" : "Literal" - }, - "timezoneOffset" : { - "localId" : "2226", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "1.0", - "type" : "Literal" - } - }, { - "localId" : "2264", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "2265", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2266", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2267", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2268", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2269", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2270", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2271", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2272", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "2246", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "2247", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "2248", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal" - }, - "hour" : { - "localId" : "2249", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "13", - "type" : "Literal" - }, - "minute" : { - "localId" : "2250", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "30", - "type" : "Literal" - }, - "second" : { - "localId" : "2251", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "25", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "2252", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "200", - "type" : "Literal" - }, - "timezoneOffset" : { - "localId" : "2253", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "1.0", - "type" : "Literal" - } - } ] - } - }, { - "localId" : "2278", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "AfterOOB", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "2278", - "s" : [ { - "value" : [ "","define ","AfterOOB",": " ] - }, { - "r" : "2333", - "s" : [ { - "r" : "2297", - "s" : [ { - "r" : "2279", - "value" : [ "DateTime","(","2000",", ","3",", ","15",", ","13",", ","30",", ","25",", ","200",", " ] - }, { - "r" : "2286", - "s" : [ { - "r" : "2286", - "value" : [ "+","1.0" ] - } ] - }, { - "value" : [ ")" ] - } ] - }, { - "r" : "2333", - "value" : [ " ","on or before"," " ] - }, { - "r" : "2324", - "s" : [ { - "r" : "2306", - "value" : [ "DateTime","(","2000",", ","3",", ","15",", ","13",", ","30",", ","25",", ","199",", " ] - }, { - "r" : "2313", - "s" : [ { - "r" : "2313", - "value" : [ "+","1.0" ] - } ] - }, { - "value" : [ ")" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "2333", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "SameOrBefore", - "signature" : [ { - "localId" : "2334", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2335", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "2297", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "2298", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2299", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2300", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2301", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2302", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2303", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2304", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2305", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "2279", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "2280", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "2281", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal" - }, - "hour" : { - "localId" : "2282", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "13", - "type" : "Literal" - }, - "minute" : { - "localId" : "2283", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "30", - "type" : "Literal" - }, - "second" : { - "localId" : "2284", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "25", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "2285", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "200", - "type" : "Literal" - }, - "timezoneOffset" : { - "localId" : "2286", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "1.0", - "type" : "Literal" - } - }, { - "localId" : "2324", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "2325", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2326", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2327", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2328", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2329", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2330", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2331", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2332", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "2306", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "2307", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "2308", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal" - }, - "hour" : { - "localId" : "2309", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "13", - "type" : "Literal" - }, - "minute" : { - "localId" : "2310", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "30", - "type" : "Literal" - }, - "second" : { - "localId" : "2311", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "25", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "2312", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "199", - "type" : "Literal" - }, - "timezoneOffset" : { - "localId" : "2313", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "1.0", - "type" : "Literal" - } - } ] - } - }, { - "localId" : "2338", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "BeforeOOB", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "2338", - "s" : [ { - "value" : [ "","define ","BeforeOOB",": " ] - }, { - "r" : "2393", - "s" : [ { - "r" : "2357", - "s" : [ { - "r" : "2339", - "value" : [ "DateTime","(","2000",", ","3",", ","15",", ","13",", ","30",", ","25",", ","200",", " ] - }, { - "r" : "2346", - "s" : [ { - "r" : "2346", - "value" : [ "+","1.0" ] - } ] - }, { - "value" : [ ")" ] - } ] - }, { - "r" : "2393", - "value" : [ " ","on or before"," " ] - }, { - "r" : "2384", - "s" : [ { - "r" : "2366", - "value" : [ "DateTime","(","2000",", ","3",", ","15",", ","13",", ","30",", ","25",", ","201",", " ] - }, { - "r" : "2373", - "s" : [ { - "r" : "2373", - "value" : [ "+","1.0" ] - } ] - }, { - "value" : [ ")" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "2393", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "SameOrBefore", - "signature" : [ { - "localId" : "2394", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2395", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "2357", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "2358", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2359", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2360", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2361", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2362", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2363", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2364", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2365", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "2339", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "2340", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "2341", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal" - }, - "hour" : { - "localId" : "2342", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "13", - "type" : "Literal" - }, - "minute" : { - "localId" : "2343", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "30", - "type" : "Literal" - }, - "second" : { - "localId" : "2344", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "25", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "2345", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "200", - "type" : "Literal" - }, - "timezoneOffset" : { - "localId" : "2346", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "1.0", - "type" : "Literal" - } - }, { - "localId" : "2384", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "2385", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2386", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2387", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2388", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2389", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2390", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2391", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2392", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "2366", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "2367", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "2368", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal" - }, - "hour" : { - "localId" : "2369", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "13", - "type" : "Literal" - }, - "minute" : { - "localId" : "2370", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "30", - "type" : "Literal" - }, - "second" : { - "localId" : "2371", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "25", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "2372", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "201", - "type" : "Literal" - }, - "timezoneOffset" : { - "localId" : "2373", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "1.0", - "type" : "Literal" - } - } ] - } - }, { - "localId" : "2398", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "NullLeftOOB", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "2398", - "s" : [ { - "value" : [ "","define ","NullLeftOOB",": " ] - }, { - "r" : "2427", - "s" : [ { - "r" : "2399", - "value" : [ "null"," ","on or before"," " ] - }, { - "r" : "2418", - "s" : [ { - "r" : "2400", - "value" : [ "DateTime","(","2000",", ","3",", ","15",", ","13",", ","30",", ","25",", ","200",", " ] - }, { - "r" : "2407", - "s" : [ { - "r" : "2407", - "value" : [ "+","1.0" ] - } ] - }, { - "value" : [ ")" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "2427", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "SameOrBefore", - "signature" : [ { - "localId" : "2429", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2430", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "2428", - "asType" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "As", - "signature" : [ ], - "operand" : { - "localId" : "2399", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - } - }, { - "localId" : "2418", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "2419", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2420", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2421", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2422", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2423", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2424", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2425", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2426", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "2400", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "2401", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "2402", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal" - }, - "hour" : { - "localId" : "2403", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "13", - "type" : "Literal" - }, - "minute" : { - "localId" : "2404", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "30", - "type" : "Literal" - }, - "second" : { - "localId" : "2405", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "25", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "2406", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "200", - "type" : "Literal" - }, - "timezoneOffset" : { - "localId" : "2407", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "1.0", - "type" : "Literal" - } - } ] - } - }, { - "localId" : "2433", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "NullRightOOB", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "2433", - "s" : [ { - "value" : [ "","define ","NullRightOOB",": " ] - }, { - "r" : "2462", - "s" : [ { - "r" : "2452", - "s" : [ { - "r" : "2434", - "value" : [ "DateTime","(","2000",", ","3",", ","15",", ","13",", ","30",", ","25",", ","200",", " ] - }, { - "r" : "2441", - "s" : [ { - "r" : "2441", - "value" : [ "+","1.0" ] - } ] - }, { - "value" : [ ")" ] - } ] - }, { - "r" : "2462", - "value" : [ " ","on or before"," ","null" ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "2462", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "SameOrBefore", - "signature" : [ { - "localId" : "2464", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2465", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "2452", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "2453", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2454", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2455", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2456", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2457", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2458", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2459", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2460", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "2434", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "2435", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "2436", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal" - }, - "hour" : { - "localId" : "2437", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "13", - "type" : "Literal" - }, - "minute" : { - "localId" : "2438", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "30", - "type" : "Literal" - }, - "second" : { - "localId" : "2439", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "25", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "2440", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "200", - "type" : "Literal" - }, - "timezoneOffset" : { - "localId" : "2441", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "1.0", - "type" : "Literal" - } - }, { - "localId" : "2463", - "asType" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "As", - "signature" : [ ], - "operand" : { - "localId" : "2461", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - } - } ] - } - }, { - "localId" : "2468", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "NullBothOOB", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "2468", - "s" : [ { - "value" : [ "","define ","NullBothOOB",": " ] - }, { - "r" : "2473", - "s" : [ { - "r" : "2469", - "s" : [ { - "value" : [ "(" ] - }, { - "r" : "2469", - "s" : [ { - "r" : "2470", - "value" : [ "null"," as " ] - }, { - "r" : "2471", - "s" : [ { - "value" : [ "DateTime" ] - } ] - } ] - }, { - "value" : [ ")" ] - } ] - }, { - "r" : "2473", - "value" : [ " ","on or before"," ","null" ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "2473", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "SameOrBefore", - "signature" : [ { - "localId" : "2475", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2476", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "2469", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "strict" : false, - "type" : "As", - "signature" : [ ], - "operand" : { - "localId" : "2470", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - }, - "asTypeSpecifier" : { - "localId" : "2471", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "2474", - "asType" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "As", - "signature" : [ ], - "operand" : { - "localId" : "2472", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - } - } ] - } - }, { - "localId" : "2479", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "SameBOO", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "2479", - "s" : [ { - "value" : [ "// Before Or On:\n","define ","SameBOO",": " ] - }, { - "r" : "2534", - "s" : [ { - "r" : "2498", - "s" : [ { - "r" : "2480", - "value" : [ "DateTime","(","2000",", ","3",", ","15",", ","13",", ","30",", ","25",", ","200",", " ] - }, { - "r" : "2487", - "s" : [ { - "r" : "2487", - "value" : [ "+","1.0" ] - } ] - }, { - "value" : [ ")" ] - } ] - }, { - "r" : "2534", - "value" : [ " ","before or on"," " ] - }, { - "r" : "2525", - "s" : [ { - "r" : "2507", - "value" : [ "DateTime","(","2000",", ","3",", ","15",", ","13",", ","30",", ","25",", ","200",", " ] - }, { - "r" : "2514", - "s" : [ { - "r" : "2514", - "value" : [ "+","1.0" ] - } ] - }, { - "value" : [ ")" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "2534", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "SameOrBefore", - "signature" : [ { - "localId" : "2535", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2536", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "2498", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "2499", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2500", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2501", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2502", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2503", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2504", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2505", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2506", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "2480", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "2481", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "2482", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal" - }, - "hour" : { - "localId" : "2483", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "13", - "type" : "Literal" - }, - "minute" : { - "localId" : "2484", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "30", - "type" : "Literal" - }, - "second" : { - "localId" : "2485", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "25", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "2486", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "200", - "type" : "Literal" - }, - "timezoneOffset" : { - "localId" : "2487", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "1.0", - "type" : "Literal" - } - }, { - "localId" : "2525", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "2526", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2527", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2528", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2529", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2530", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2531", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2532", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2533", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "2507", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "2508", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "2509", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal" - }, - "hour" : { - "localId" : "2510", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "13", - "type" : "Literal" - }, - "minute" : { - "localId" : "2511", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "30", - "type" : "Literal" - }, - "second" : { - "localId" : "2512", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "25", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "2513", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "200", - "type" : "Literal" - }, - "timezoneOffset" : { - "localId" : "2514", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "1.0", - "type" : "Literal" - } - } ] - } - }, { - "localId" : "2539", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "AfterBOO", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "2539", - "s" : [ { - "value" : [ "","define ","AfterBOO",": " ] - }, { - "r" : "2594", - "s" : [ { - "r" : "2558", - "s" : [ { - "r" : "2540", - "value" : [ "DateTime","(","2000",", ","3",", ","15",", ","13",", ","30",", ","25",", ","200",", " ] - }, { - "r" : "2547", - "s" : [ { - "r" : "2547", - "value" : [ "+","1.0" ] - } ] - }, { - "value" : [ ")" ] - } ] - }, { - "r" : "2594", - "value" : [ " ","before or on"," " ] - }, { - "r" : "2585", - "s" : [ { - "r" : "2567", - "value" : [ "DateTime","(","2000",", ","3",", ","15",", ","13",", ","30",", ","25",", ","199",", " ] - }, { - "r" : "2574", - "s" : [ { - "r" : "2574", - "value" : [ "+","1.0" ] - } ] - }, { - "value" : [ ")" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "2594", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "SameOrBefore", - "signature" : [ { - "localId" : "2595", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2596", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "2558", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "2559", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2560", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2561", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2562", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2563", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2564", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2565", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2566", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "2540", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "2541", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "2542", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal" - }, - "hour" : { - "localId" : "2543", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "13", - "type" : "Literal" - }, - "minute" : { - "localId" : "2544", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "30", - "type" : "Literal" - }, - "second" : { - "localId" : "2545", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "25", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "2546", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "200", - "type" : "Literal" - }, - "timezoneOffset" : { - "localId" : "2547", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "1.0", - "type" : "Literal" - } - }, { - "localId" : "2585", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "2586", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2587", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2588", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2589", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2590", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2591", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2592", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2593", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "2567", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "2568", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "2569", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal" - }, - "hour" : { - "localId" : "2570", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "13", - "type" : "Literal" - }, - "minute" : { - "localId" : "2571", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "30", - "type" : "Literal" - }, - "second" : { - "localId" : "2572", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "25", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "2573", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "199", - "type" : "Literal" - }, - "timezoneOffset" : { - "localId" : "2574", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "1.0", - "type" : "Literal" - } - } ] - } - }, { - "localId" : "2599", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "BeforeBOO", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "2599", - "s" : [ { - "value" : [ "","define ","BeforeBOO",": " ] - }, { - "r" : "2654", - "s" : [ { - "r" : "2618", - "s" : [ { - "r" : "2600", - "value" : [ "DateTime","(","2000",", ","3",", ","15",", ","13",", ","30",", ","25",", ","200",", " ] - }, { - "r" : "2607", - "s" : [ { - "r" : "2607", - "value" : [ "+","1.0" ] - } ] - }, { - "value" : [ ")" ] - } ] - }, { - "r" : "2654", - "value" : [ " ","before or on"," " ] - }, { - "r" : "2645", - "s" : [ { - "r" : "2627", - "value" : [ "DateTime","(","2000",", ","3",", ","15",", ","13",", ","30",", ","25",", ","201",", " ] - }, { - "r" : "2634", - "s" : [ { - "r" : "2634", - "value" : [ "+","1.0" ] - } ] - }, { - "value" : [ ")" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "2654", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "SameOrBefore", - "signature" : [ { - "localId" : "2655", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2656", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "2618", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "2619", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2620", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2621", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2622", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2623", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2624", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2625", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2626", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "2600", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "2601", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "2602", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal" - }, - "hour" : { - "localId" : "2603", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "13", - "type" : "Literal" - }, - "minute" : { - "localId" : "2604", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "30", - "type" : "Literal" - }, - "second" : { - "localId" : "2605", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "25", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "2606", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "200", - "type" : "Literal" - }, - "timezoneOffset" : { - "localId" : "2607", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "1.0", - "type" : "Literal" - } - }, { - "localId" : "2645", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "2646", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2647", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2648", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2649", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2650", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2651", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2652", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2653", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "2627", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "2628", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "2629", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal" - }, - "hour" : { - "localId" : "2630", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "13", - "type" : "Literal" - }, - "minute" : { - "localId" : "2631", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "30", - "type" : "Literal" - }, - "second" : { - "localId" : "2632", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "25", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "2633", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "201", - "type" : "Literal" - }, - "timezoneOffset" : { - "localId" : "2634", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "1.0", - "type" : "Literal" - } - } ] - } - }, { - "localId" : "2659", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "NullLeftBOO", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "2659", - "s" : [ { - "value" : [ "","define ","NullLeftBOO",": " ] - }, { - "r" : "2688", - "s" : [ { - "r" : "2660", - "value" : [ "null"," ","before or on"," " ] - }, { - "r" : "2679", - "s" : [ { - "r" : "2661", - "value" : [ "DateTime","(","2000",", ","3",", ","15",", ","13",", ","30",", ","25",", ","200",", " ] - }, { - "r" : "2668", - "s" : [ { - "r" : "2668", - "value" : [ "+","1.0" ] - } ] - }, { - "value" : [ ")" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "2688", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "SameOrBefore", - "signature" : [ { - "localId" : "2690", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2691", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "2689", - "asType" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "As", - "signature" : [ ], - "operand" : { - "localId" : "2660", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - } - }, { - "localId" : "2679", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "2680", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2681", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2682", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2683", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2684", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2685", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2686", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2687", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "2661", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "2662", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "2663", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal" - }, - "hour" : { - "localId" : "2664", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "13", - "type" : "Literal" - }, - "minute" : { - "localId" : "2665", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "30", - "type" : "Literal" - }, - "second" : { - "localId" : "2666", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "25", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "2667", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "200", - "type" : "Literal" - }, - "timezoneOffset" : { - "localId" : "2668", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "1.0", - "type" : "Literal" - } - } ] - } - }, { - "localId" : "2694", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "NullRightBOO", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "2694", - "s" : [ { - "value" : [ "","define ","NullRightBOO",": " ] - }, { - "r" : "2723", - "s" : [ { - "r" : "2713", - "s" : [ { - "r" : "2695", - "value" : [ "DateTime","(","2000",", ","3",", ","15",", ","13",", ","30",", ","25",", ","200",", " ] - }, { - "r" : "2702", - "s" : [ { - "r" : "2702", - "value" : [ "+","1.0" ] - } ] - }, { - "value" : [ ")" ] - } ] - }, { - "r" : "2723", - "value" : [ " ","before or on"," ","null" ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "2723", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "SameOrBefore", - "signature" : [ { - "localId" : "2725", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2726", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "2713", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "2714", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2715", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2716", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2717", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2718", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2719", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2720", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2721", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "2695", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "2696", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "2697", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal" - }, - "hour" : { - "localId" : "2698", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "13", - "type" : "Literal" - }, - "minute" : { - "localId" : "2699", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "30", - "type" : "Literal" - }, - "second" : { - "localId" : "2700", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "25", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "2701", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "200", - "type" : "Literal" - }, - "timezoneOffset" : { - "localId" : "2702", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "1.0", - "type" : "Literal" - } - }, { - "localId" : "2724", - "asType" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "As", - "signature" : [ ], - "operand" : { - "localId" : "2722", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - } - } ] - } - }, { - "localId" : "2729", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "NullBothBOO", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "2729", - "s" : [ { - "value" : [ "","define ","NullBothBOO",": " ] - }, { - "r" : "2734", - "s" : [ { - "r" : "2730", - "s" : [ { - "value" : [ "(" ] - }, { - "r" : "2730", - "s" : [ { - "r" : "2731", - "value" : [ "null"," as " ] - }, { - "r" : "2732", - "s" : [ { - "value" : [ "DateTime" ] - } ] - } ] - }, { - "value" : [ ")" ] - } ] - }, { - "r" : "2734", - "value" : [ " ","before or on"," ","null" ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "2734", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "SameOrBefore", - "signature" : [ { - "localId" : "2736", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2737", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "2730", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "strict" : false, - "type" : "As", - "signature" : [ ], - "operand" : { - "localId" : "2731", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - }, - "asTypeSpecifier" : { - "localId" : "2732", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "2735", - "asType" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "As", - "signature" : [ ], - "operand" : { - "localId" : "2733", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - } - } ] - } - } ] - } - } -} - -/* After -library TestSnippet version '1' -using Simple version '1.0.0' -context Patient -define SameYear: DateTime(2000, 12, 15, 13, 30, 25, 200, +1.0) after year of DateTime(2000, 11, 23, 8, 14, 47, 500, +1.0) -define YearAfter: DateTime(2000, 12, 15, 13, 30, 25, 200, +1.0) after year of DateTime(1999, 11, 23, 8, 14, 47, 500, +1.0) -define YearBefore: DateTime(2000, 12, 15, 13, 30, 25, 200, +1.0) after year of DateTime(2001, 11, 23, 8, 14, 47, 500, +1.0) -define SameMonth: DateTime(2000, 3, 25, 13, 30, 25, 200, +1.0) after month of DateTime(2000, 3, 23, 8, 14, 47, 500, +1.0) -define MonthAfter: DateTime(2000, 3, 25, 13, 30, 25, 200, +1.0) after month of DateTime(2000, 2, 23, 8, 14, 47, 500, +1.0) -define MonthBefore: DateTime(2000, 3, 25, 13, 30, 25, 200, +1.0) after month of DateTime(2000, 4, 23, 8, 14, 47, 500, +1.0) -define SameDay: DateTime(2000, 3, 15, 13, 30, 25, 200, +1.0) after day of DateTime(2000, 3, 15, 8, 14, 47, 500, +1.0) -define DayAfter: DateTime(2000, 3, 15, 13, 30, 25, 200, +1.0) after day of DateTime(2000, 3, 14, 8, 14, 47, 500, +1.0) -define DayBefore: DateTime(2000, 3, 15, 13, 30, 25, 200, +1.0) after day of DateTime(2000, 3, 16, 8, 14, 47, 500, +1.0) -define SameHour: DateTime(2000, 3, 15, 13, 30, 25, 200, +1.0) after hour of DateTime(2000, 3, 15, 13, 14, 47, 500, +1.0) -define HourAfter: DateTime(2000, 3, 15, 13, 30, 25, 200, +1.0) after hour of DateTime(2000, 3, 15, 12, 14, 47, 500, +1.0) -define HourBefore: DateTime(2000, 3, 15, 13, 30, 25, 200, +1.0) after hour of DateTime(2000, 3, 15, 14, 14, 47, 500, +1.0) -define SameMinute: DateTime(2000, 3, 15, 13, 30, 55, 200, +1.0) after minute of DateTime(2000, 3, 15, 13, 30, 47, 500, +1.0) -define MinuteAfter: DateTime(2000, 3, 15, 13, 30, 55, 200, +1.0) after minute of DateTime(2000, 3, 15, 13, 29, 47, 500, +1.0) -define MinuteBefore: DateTime(2000, 3, 15, 13, 30, 55, 200, +1.0) after minute of DateTime(2000, 3, 15, 13, 31, 47, 500, +1.0) -define SameSecond: DateTime(2000, 3, 15, 13, 30, 25, 700, +1.0) after second of DateTime(2000, 3, 15, 13, 30, 25, 500, +1.0) -define SecondAfter: DateTime(2000, 3, 15, 13, 30, 25, 700, +1.0) after second of DateTime(2000, 3, 15, 13, 30, 24, 500, +1.0) -define SecondBefore: DateTime(2000, 3, 15, 13, 30, 25, 700, +1.0) after second of DateTime(2000, 3, 15, 13, 30, 26, 500, +1.0) -define SameMillisecond: DateTime(2000, 3, 15, 13, 30, 25, 200, +1.0) after millisecond of DateTime(2000, 3, 15, 13, 30, 25, 200, +1.0) -define MillisecondAfter: DateTime(2000, 3, 15, 13, 30, 25, 200, +1.0) after millisecond of DateTime(2000, 3, 15, 13, 30, 25, 199, +1.0) -define MillisecondBefore: DateTime(2000, 3, 15, 13, 30, 25, 200, +1.0) after millisecond of DateTime(2000, 3, 15, 13, 30, 25, 201, +1.0) -define Same: DateTime(2000, 3, 15, 13, 30, 25, 200, +1.0) after DateTime(2000, 3, 15, 13, 30, 25, 200, +1.0) -define After: DateTime(2000, 3, 15, 13, 30, 25, 200, +1.0) after DateTime(2000, 3, 15, 13, 30, 25, 199, +1.0) -define Before: DateTime(2000, 3, 15, 13, 30, 25, 200, +1.0) after DateTime(2000, 3, 15, 13, 30, 25, 201, +1.0) -define ImpreciseDay: DateTime(2000, 3, 15, 13, 30, 25, 200) after day of DateTime(2000, 3) -define ImpreciseDayMonthAfter: DateTime(2000, 3, 15, 13, 30, 25, 200) after day of DateTime(2000, 2) -define ImpreciseDayMonthBefore: DateTime(2000, 3, 15, 13, 30, 25, 200) after day of DateTime(2000, 4) -define SameHourNormalizeZones: DateTime(2000, 3, 15, 13, 30, 25, 200, +1.0) after hour of DateTime(2000, 3, 15, 7, 30, 25, 200, -5.0) -define HourAfterNormalizeZones: DateTime(2000, 3, 15, 13, 30, 25, 200, +1.0) after hour of DateTime(2000, 3, 15, 6, 30, 25, 200, -5.0) -define HourBeforeNormalizeZones: DateTime(2000, 3, 15, 13, 30, 25, 200, +1.0) after hour of DateTime(2000, 3, 15, 8, 30, 25, 200, -5.0) -define NullLeft: null after DateTime(2000, 3, 15, 13, 30, 25, 200, +1.0) -define NullRight: DateTime(2000, 3, 15, 13, 30, 25, 200, +1.0) after null -define NullBoth: (null as DateTime) after null -*/ - -module.exports['After'] = { - "library" : { - "localId" : "0", - "annotation" : [ { - "translatorVersion" : "3.27.0", - "translatorOptions" : "EnableDateRangeOptimization,EnableAnnotations,EnableResultTypes", - "signatureLevel" : "All", - "type" : "CqlToElmInfo" - }, { - "type" : "Annotation", - "s" : { - "r" : "2027", - "s" : [ { - "value" : [ "","library TestSnippet version '1'" ] - } ] - } - } ], - "identifier" : { - "id" : "TestSnippet", - "version" : "1" - }, - "schemaIdentifier" : { - "id" : "urn:hl7-org:elm", - "version" : "r1" - }, - "usings" : { - "def" : [ { - "localId" : "1", - "localIdentifier" : "System", - "uri" : "urn:hl7-org:elm-types:r1" - }, { - "localId" : "206", - "localIdentifier" : "Simple", - "uri" : "https://github.com/cqframework/cql-execution/simple", - "version" : "1.0.0", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "206", - "s" : [ { - "value" : [ "","using " ] - }, { - "s" : [ { - "value" : [ "Simple" ] - } ] - }, { - "value" : [ " version '1.0.0'" ] - } ] - } - } ] - } ] - }, - "contexts" : { - "def" : [ { - "localId" : "211", - "name" : "Patient" - } ] - }, - "statements" : { - "def" : [ { - "localId" : "209", - "name" : "Patient", - "context" : "Patient", - "expression" : { - "localId" : "210", - "type" : "SingletonFrom", - "signature" : [ ], - "operand" : { - "localId" : "208", - "dataType" : "{https://github.com/cqframework/cql-execution/simple}Patient", - "type" : "Retrieve", - "include" : [ ], - "codeFilter" : [ ], - "dateFilter" : [ ], - "otherFilter" : [ ] - } - } - }, { - "localId" : "214", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "SameYear", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "214", - "s" : [ { - "value" : [ "","define ","SameYear",": " ] - }, { - "r" : "269", - "s" : [ { - "r" : "233", - "s" : [ { - "r" : "215", - "value" : [ "DateTime","(","2000",", ","12",", ","15",", ","13",", ","30",", ","25",", ","200",", " ] - }, { - "r" : "222", - "s" : [ { - "r" : "222", - "value" : [ "+","1.0" ] - } ] - }, { - "value" : [ ")" ] - } ] - }, { - "r" : "269", - "value" : [ " ","after year of"," " ] - }, { - "r" : "260", - "s" : [ { - "r" : "242", - "value" : [ "DateTime","(","2000",", ","11",", ","23",", ","8",", ","14",", ","47",", ","500",", " ] - }, { - "r" : "249", - "s" : [ { - "r" : "249", - "value" : [ "+","1.0" ] - } ] - }, { - "value" : [ ")" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "269", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "precision" : "Year", - "type" : "After", - "signature" : [ { - "localId" : "270", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "271", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "233", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "234", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "235", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "236", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "237", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "238", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "239", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "240", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "241", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "215", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "216", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "12", - "type" : "Literal" - }, - "day" : { - "localId" : "217", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal" - }, - "hour" : { - "localId" : "218", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "13", - "type" : "Literal" - }, - "minute" : { - "localId" : "219", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "30", - "type" : "Literal" - }, - "second" : { - "localId" : "220", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "25", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "221", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "200", - "type" : "Literal" - }, - "timezoneOffset" : { - "localId" : "222", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "1.0", - "type" : "Literal" - } - }, { - "localId" : "260", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "261", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "262", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "263", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "264", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "265", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "266", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "267", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "268", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "242", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "243", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "11", - "type" : "Literal" - }, - "day" : { - "localId" : "244", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "23", - "type" : "Literal" - }, - "hour" : { - "localId" : "245", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "8", - "type" : "Literal" - }, - "minute" : { - "localId" : "246", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "14", - "type" : "Literal" - }, - "second" : { - "localId" : "247", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "47", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "248", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "500", - "type" : "Literal" - }, - "timezoneOffset" : { - "localId" : "249", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "1.0", - "type" : "Literal" - } - } ] - } - }, { - "localId" : "274", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "YearAfter", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "274", - "s" : [ { - "value" : [ "","define ","YearAfter",": " ] - }, { - "r" : "329", - "s" : [ { - "r" : "293", - "s" : [ { - "r" : "275", - "value" : [ "DateTime","(","2000",", ","12",", ","15",", ","13",", ","30",", ","25",", ","200",", " ] - }, { - "r" : "282", - "s" : [ { - "r" : "282", - "value" : [ "+","1.0" ] - } ] - }, { - "value" : [ ")" ] - } ] - }, { - "r" : "329", - "value" : [ " ","after year of"," " ] - }, { - "r" : "320", - "s" : [ { - "r" : "302", - "value" : [ "DateTime","(","1999",", ","11",", ","23",", ","8",", ","14",", ","47",", ","500",", " ] - }, { - "r" : "309", - "s" : [ { - "r" : "309", - "value" : [ "+","1.0" ] - } ] - }, { - "value" : [ ")" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "329", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "precision" : "Year", - "type" : "After", - "signature" : [ { - "localId" : "330", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "331", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "293", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "294", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "295", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "296", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "297", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "298", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "299", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "300", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "301", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "275", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "276", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "12", - "type" : "Literal" - }, - "day" : { - "localId" : "277", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal" - }, - "hour" : { - "localId" : "278", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "13", - "type" : "Literal" - }, - "minute" : { - "localId" : "279", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "30", - "type" : "Literal" - }, - "second" : { - "localId" : "280", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "25", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "281", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "200", - "type" : "Literal" - }, - "timezoneOffset" : { - "localId" : "282", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "1.0", - "type" : "Literal" - } - }, { - "localId" : "320", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "321", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "322", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "323", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "324", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "325", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "326", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "327", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "328", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "302", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1999", - "type" : "Literal" - }, - "month" : { - "localId" : "303", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "11", - "type" : "Literal" - }, - "day" : { - "localId" : "304", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "23", - "type" : "Literal" - }, - "hour" : { - "localId" : "305", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "8", - "type" : "Literal" - }, - "minute" : { - "localId" : "306", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "14", - "type" : "Literal" - }, - "second" : { - "localId" : "307", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "47", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "308", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "500", - "type" : "Literal" - }, - "timezoneOffset" : { - "localId" : "309", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "1.0", - "type" : "Literal" - } - } ] - } - }, { - "localId" : "334", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "YearBefore", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "334", - "s" : [ { - "value" : [ "","define ","YearBefore",": " ] - }, { - "r" : "389", - "s" : [ { - "r" : "353", - "s" : [ { - "r" : "335", - "value" : [ "DateTime","(","2000",", ","12",", ","15",", ","13",", ","30",", ","25",", ","200",", " ] - }, { - "r" : "342", - "s" : [ { - "r" : "342", - "value" : [ "+","1.0" ] - } ] - }, { - "value" : [ ")" ] - } ] - }, { - "r" : "389", - "value" : [ " ","after year of"," " ] - }, { - "r" : "380", - "s" : [ { - "r" : "362", - "value" : [ "DateTime","(","2001",", ","11",", ","23",", ","8",", ","14",", ","47",", ","500",", " ] - }, { - "r" : "369", - "s" : [ { - "r" : "369", - "value" : [ "+","1.0" ] - } ] - }, { - "value" : [ ")" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "389", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "precision" : "Year", - "type" : "After", - "signature" : [ { - "localId" : "390", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "391", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "353", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "354", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "355", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "356", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "357", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "358", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "359", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "360", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "361", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "335", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "336", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "12", - "type" : "Literal" - }, - "day" : { - "localId" : "337", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal" - }, - "hour" : { - "localId" : "338", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "13", - "type" : "Literal" - }, - "minute" : { - "localId" : "339", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "30", - "type" : "Literal" - }, - "second" : { - "localId" : "340", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "25", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "341", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "200", - "type" : "Literal" - }, - "timezoneOffset" : { - "localId" : "342", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "1.0", - "type" : "Literal" - } - }, { - "localId" : "380", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "381", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "382", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "383", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "384", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "385", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "386", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "387", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "388", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "362", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2001", - "type" : "Literal" - }, - "month" : { - "localId" : "363", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "11", - "type" : "Literal" - }, - "day" : { - "localId" : "364", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "23", - "type" : "Literal" - }, - "hour" : { - "localId" : "365", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "8", - "type" : "Literal" - }, - "minute" : { - "localId" : "366", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "14", - "type" : "Literal" - }, - "second" : { - "localId" : "367", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "47", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "368", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "500", - "type" : "Literal" - }, - "timezoneOffset" : { - "localId" : "369", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "1.0", - "type" : "Literal" - } - } ] - } - }, { - "localId" : "394", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "SameMonth", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "394", - "s" : [ { - "value" : [ "","define ","SameMonth",": " ] - }, { - "r" : "449", - "s" : [ { - "r" : "413", - "s" : [ { - "r" : "395", - "value" : [ "DateTime","(","2000",", ","3",", ","25",", ","13",", ","30",", ","25",", ","200",", " ] - }, { - "r" : "402", - "s" : [ { - "r" : "402", - "value" : [ "+","1.0" ] - } ] - }, { - "value" : [ ")" ] - } ] - }, { - "r" : "449", - "value" : [ " ","after month of"," " ] - }, { - "r" : "440", - "s" : [ { - "r" : "422", - "value" : [ "DateTime","(","2000",", ","3",", ","23",", ","8",", ","14",", ","47",", ","500",", " ] - }, { - "r" : "429", - "s" : [ { - "r" : "429", - "value" : [ "+","1.0" ] - } ] - }, { - "value" : [ ")" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "449", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "precision" : "Month", - "type" : "After", - "signature" : [ { - "localId" : "450", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "451", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "413", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "414", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "415", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "416", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "417", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "418", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "419", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "420", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "421", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "395", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "396", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "397", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "25", - "type" : "Literal" - }, - "hour" : { - "localId" : "398", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "13", - "type" : "Literal" - }, - "minute" : { - "localId" : "399", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "30", - "type" : "Literal" - }, - "second" : { - "localId" : "400", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "25", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "401", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "200", - "type" : "Literal" - }, - "timezoneOffset" : { - "localId" : "402", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "1.0", - "type" : "Literal" - } - }, { - "localId" : "440", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "441", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "442", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "443", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "444", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "445", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "446", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "447", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "448", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "422", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "423", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "424", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "23", - "type" : "Literal" - }, - "hour" : { - "localId" : "425", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "8", - "type" : "Literal" - }, - "minute" : { - "localId" : "426", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "14", - "type" : "Literal" - }, - "second" : { - "localId" : "427", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "47", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "428", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "500", - "type" : "Literal" - }, - "timezoneOffset" : { - "localId" : "429", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "1.0", - "type" : "Literal" - } - } ] - } - }, { - "localId" : "454", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "MonthAfter", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "454", - "s" : [ { - "value" : [ "","define ","MonthAfter",": " ] - }, { - "r" : "509", - "s" : [ { - "r" : "473", - "s" : [ { - "r" : "455", - "value" : [ "DateTime","(","2000",", ","3",", ","25",", ","13",", ","30",", ","25",", ","200",", " ] - }, { - "r" : "462", - "s" : [ { - "r" : "462", - "value" : [ "+","1.0" ] - } ] - }, { - "value" : [ ")" ] - } ] - }, { - "r" : "509", - "value" : [ " ","after month of"," " ] - }, { - "r" : "500", - "s" : [ { - "r" : "482", - "value" : [ "DateTime","(","2000",", ","2",", ","23",", ","8",", ","14",", ","47",", ","500",", " ] - }, { - "r" : "489", - "s" : [ { - "r" : "489", - "value" : [ "+","1.0" ] - } ] - }, { - "value" : [ ")" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "509", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "precision" : "Month", - "type" : "After", - "signature" : [ { - "localId" : "510", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "511", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "473", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "474", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "475", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "476", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "477", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "478", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "479", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "480", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "481", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "455", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "456", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "457", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "25", - "type" : "Literal" - }, - "hour" : { - "localId" : "458", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "13", - "type" : "Literal" - }, - "minute" : { - "localId" : "459", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "30", - "type" : "Literal" - }, - "second" : { - "localId" : "460", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "25", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "461", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "200", - "type" : "Literal" - }, - "timezoneOffset" : { - "localId" : "462", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "1.0", - "type" : "Literal" - } - }, { - "localId" : "500", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "501", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "502", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "503", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "504", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "505", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "506", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "507", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "508", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "482", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "483", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal" - }, - "day" : { - "localId" : "484", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "23", - "type" : "Literal" - }, - "hour" : { - "localId" : "485", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "8", - "type" : "Literal" - }, - "minute" : { - "localId" : "486", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "14", - "type" : "Literal" - }, - "second" : { - "localId" : "487", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "47", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "488", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "500", - "type" : "Literal" - }, - "timezoneOffset" : { - "localId" : "489", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "1.0", - "type" : "Literal" - } - } ] - } - }, { - "localId" : "514", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "MonthBefore", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "514", - "s" : [ { - "value" : [ "","define ","MonthBefore",": " ] - }, { - "r" : "569", - "s" : [ { - "r" : "533", - "s" : [ { - "r" : "515", - "value" : [ "DateTime","(","2000",", ","3",", ","25",", ","13",", ","30",", ","25",", ","200",", " ] - }, { - "r" : "522", - "s" : [ { - "r" : "522", - "value" : [ "+","1.0" ] - } ] - }, { - "value" : [ ")" ] - } ] - }, { - "r" : "569", - "value" : [ " ","after month of"," " ] - }, { - "r" : "560", - "s" : [ { - "r" : "542", - "value" : [ "DateTime","(","2000",", ","4",", ","23",", ","8",", ","14",", ","47",", ","500",", " ] - }, { - "r" : "549", - "s" : [ { - "r" : "549", - "value" : [ "+","1.0" ] - } ] - }, { - "value" : [ ")" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "569", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "precision" : "Month", - "type" : "After", - "signature" : [ { - "localId" : "570", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "571", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "533", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "534", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "535", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "536", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "537", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "538", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "539", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "540", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "541", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "515", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "516", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "517", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "25", - "type" : "Literal" - }, - "hour" : { - "localId" : "518", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "13", - "type" : "Literal" - }, - "minute" : { - "localId" : "519", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "30", - "type" : "Literal" - }, - "second" : { - "localId" : "520", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "25", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "521", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "200", - "type" : "Literal" - }, - "timezoneOffset" : { - "localId" : "522", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "1.0", - "type" : "Literal" - } - }, { - "localId" : "560", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "561", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "562", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "563", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "564", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "565", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "566", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "567", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "568", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "542", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "543", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "4", - "type" : "Literal" - }, - "day" : { - "localId" : "544", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "23", - "type" : "Literal" - }, - "hour" : { - "localId" : "545", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "8", - "type" : "Literal" - }, - "minute" : { - "localId" : "546", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "14", - "type" : "Literal" - }, - "second" : { - "localId" : "547", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "47", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "548", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "500", - "type" : "Literal" - }, - "timezoneOffset" : { - "localId" : "549", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "1.0", - "type" : "Literal" - } - } ] - } - }, { - "localId" : "574", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "SameDay", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "574", - "s" : [ { - "value" : [ "","define ","SameDay",": " ] - }, { - "r" : "629", - "s" : [ { - "r" : "593", - "s" : [ { - "r" : "575", - "value" : [ "DateTime","(","2000",", ","3",", ","15",", ","13",", ","30",", ","25",", ","200",", " ] - }, { - "r" : "582", - "s" : [ { - "r" : "582", - "value" : [ "+","1.0" ] - } ] - }, { - "value" : [ ")" ] - } ] - }, { - "r" : "629", - "value" : [ " ","after day of"," " ] - }, { - "r" : "620", - "s" : [ { - "r" : "602", - "value" : [ "DateTime","(","2000",", ","3",", ","15",", ","8",", ","14",", ","47",", ","500",", " ] - }, { - "r" : "609", - "s" : [ { - "r" : "609", - "value" : [ "+","1.0" ] - } ] - }, { - "value" : [ ")" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "629", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "precision" : "Day", - "type" : "After", - "signature" : [ { - "localId" : "630", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "631", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "593", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "594", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "595", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "596", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "597", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "598", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "599", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "600", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "601", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "575", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "576", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "577", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal" - }, - "hour" : { - "localId" : "578", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "13", - "type" : "Literal" - }, - "minute" : { - "localId" : "579", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "30", - "type" : "Literal" - }, - "second" : { - "localId" : "580", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "25", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "581", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "200", - "type" : "Literal" - }, - "timezoneOffset" : { - "localId" : "582", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "1.0", - "type" : "Literal" - } - }, { - "localId" : "620", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "621", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "622", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "623", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "624", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "625", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "626", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "627", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "628", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "602", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "603", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "604", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal" - }, - "hour" : { - "localId" : "605", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "8", - "type" : "Literal" - }, - "minute" : { - "localId" : "606", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "14", - "type" : "Literal" - }, - "second" : { - "localId" : "607", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "47", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "608", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "500", - "type" : "Literal" - }, - "timezoneOffset" : { - "localId" : "609", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "1.0", - "type" : "Literal" - } - } ] - } - }, { - "localId" : "634", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "DayAfter", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "634", - "s" : [ { - "value" : [ "","define ","DayAfter",": " ] - }, { - "r" : "689", - "s" : [ { - "r" : "653", - "s" : [ { - "r" : "635", - "value" : [ "DateTime","(","2000",", ","3",", ","15",", ","13",", ","30",", ","25",", ","200",", " ] - }, { - "r" : "642", - "s" : [ { - "r" : "642", - "value" : [ "+","1.0" ] - } ] - }, { - "value" : [ ")" ] - } ] - }, { - "r" : "689", - "value" : [ " ","after day of"," " ] - }, { - "r" : "680", - "s" : [ { - "r" : "662", - "value" : [ "DateTime","(","2000",", ","3",", ","14",", ","8",", ","14",", ","47",", ","500",", " ] - }, { - "r" : "669", - "s" : [ { - "r" : "669", - "value" : [ "+","1.0" ] - } ] - }, { - "value" : [ ")" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "689", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "precision" : "Day", - "type" : "After", - "signature" : [ { - "localId" : "690", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "691", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "653", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "654", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "655", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "656", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "657", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "658", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "659", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "660", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "661", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "635", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "636", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "637", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal" - }, - "hour" : { - "localId" : "638", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "13", - "type" : "Literal" - }, - "minute" : { - "localId" : "639", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "30", - "type" : "Literal" - }, - "second" : { - "localId" : "640", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "25", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "641", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "200", - "type" : "Literal" - }, - "timezoneOffset" : { - "localId" : "642", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "1.0", - "type" : "Literal" - } - }, { - "localId" : "680", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "681", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "682", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "683", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "684", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "685", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "686", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "687", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "688", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "662", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "663", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "664", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "14", - "type" : "Literal" - }, - "hour" : { - "localId" : "665", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "8", - "type" : "Literal" - }, - "minute" : { - "localId" : "666", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "14", - "type" : "Literal" - }, - "second" : { - "localId" : "667", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "47", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "668", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "500", - "type" : "Literal" - }, - "timezoneOffset" : { - "localId" : "669", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "1.0", - "type" : "Literal" - } - } ] - } - }, { - "localId" : "694", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "DayBefore", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "694", - "s" : [ { - "value" : [ "","define ","DayBefore",": " ] - }, { - "r" : "749", - "s" : [ { - "r" : "713", - "s" : [ { - "r" : "695", - "value" : [ "DateTime","(","2000",", ","3",", ","15",", ","13",", ","30",", ","25",", ","200",", " ] - }, { - "r" : "702", - "s" : [ { - "r" : "702", - "value" : [ "+","1.0" ] - } ] - }, { - "value" : [ ")" ] - } ] - }, { - "r" : "749", - "value" : [ " ","after day of"," " ] - }, { - "r" : "740", - "s" : [ { - "r" : "722", - "value" : [ "DateTime","(","2000",", ","3",", ","16",", ","8",", ","14",", ","47",", ","500",", " ] - }, { - "r" : "729", - "s" : [ { - "r" : "729", - "value" : [ "+","1.0" ] - } ] - }, { - "value" : [ ")" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "749", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "precision" : "Day", - "type" : "After", - "signature" : [ { - "localId" : "750", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "751", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "713", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "714", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "715", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "716", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "717", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "718", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "719", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "720", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "721", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "695", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "696", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "697", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal" - }, - "hour" : { - "localId" : "698", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "13", - "type" : "Literal" - }, - "minute" : { - "localId" : "699", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "30", - "type" : "Literal" - }, - "second" : { - "localId" : "700", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "25", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "701", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "200", - "type" : "Literal" - }, - "timezoneOffset" : { - "localId" : "702", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "1.0", - "type" : "Literal" - } - }, { - "localId" : "740", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "741", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "742", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "743", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "744", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "745", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "746", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "747", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "748", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "722", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "723", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "724", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "16", - "type" : "Literal" - }, - "hour" : { - "localId" : "725", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "8", - "type" : "Literal" - }, - "minute" : { - "localId" : "726", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "14", - "type" : "Literal" - }, - "second" : { - "localId" : "727", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "47", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "728", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "500", - "type" : "Literal" - }, - "timezoneOffset" : { - "localId" : "729", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "1.0", - "type" : "Literal" - } - } ] - } - }, { - "localId" : "754", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "SameHour", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "754", - "s" : [ { - "value" : [ "","define ","SameHour",": " ] - }, { - "r" : "809", - "s" : [ { - "r" : "773", - "s" : [ { - "r" : "755", - "value" : [ "DateTime","(","2000",", ","3",", ","15",", ","13",", ","30",", ","25",", ","200",", " ] - }, { - "r" : "762", - "s" : [ { - "r" : "762", - "value" : [ "+","1.0" ] - } ] - }, { - "value" : [ ")" ] - } ] - }, { - "r" : "809", - "value" : [ " ","after hour of"," " ] - }, { - "r" : "800", - "s" : [ { - "r" : "782", - "value" : [ "DateTime","(","2000",", ","3",", ","15",", ","13",", ","14",", ","47",", ","500",", " ] - }, { - "r" : "789", - "s" : [ { - "r" : "789", - "value" : [ "+","1.0" ] - } ] - }, { - "value" : [ ")" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "809", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "precision" : "Hour", - "type" : "After", - "signature" : [ { - "localId" : "810", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "811", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "773", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "774", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "775", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "776", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "777", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "778", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "779", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "780", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "781", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "755", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "756", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "757", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal" - }, - "hour" : { - "localId" : "758", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "13", - "type" : "Literal" - }, - "minute" : { - "localId" : "759", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "30", - "type" : "Literal" - }, - "second" : { - "localId" : "760", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "25", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "761", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "200", - "type" : "Literal" - }, - "timezoneOffset" : { - "localId" : "762", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "1.0", - "type" : "Literal" - } - }, { - "localId" : "800", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "801", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "802", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "803", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "804", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "805", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "806", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "807", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "808", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "782", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "783", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "784", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal" - }, - "hour" : { - "localId" : "785", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "13", - "type" : "Literal" - }, - "minute" : { - "localId" : "786", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "14", - "type" : "Literal" - }, - "second" : { - "localId" : "787", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "47", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "788", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "500", - "type" : "Literal" - }, - "timezoneOffset" : { - "localId" : "789", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "1.0", - "type" : "Literal" - } - } ] - } - }, { - "localId" : "814", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "HourAfter", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "814", - "s" : [ { - "value" : [ "","define ","HourAfter",": " ] - }, { - "r" : "869", - "s" : [ { - "r" : "833", - "s" : [ { - "r" : "815", - "value" : [ "DateTime","(","2000",", ","3",", ","15",", ","13",", ","30",", ","25",", ","200",", " ] - }, { - "r" : "822", - "s" : [ { - "r" : "822", - "value" : [ "+","1.0" ] - } ] - }, { - "value" : [ ")" ] - } ] - }, { - "r" : "869", - "value" : [ " ","after hour of"," " ] - }, { - "r" : "860", - "s" : [ { - "r" : "842", - "value" : [ "DateTime","(","2000",", ","3",", ","15",", ","12",", ","14",", ","47",", ","500",", " ] - }, { - "r" : "849", - "s" : [ { - "r" : "849", - "value" : [ "+","1.0" ] - } ] - }, { - "value" : [ ")" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "869", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "precision" : "Hour", - "type" : "After", - "signature" : [ { - "localId" : "870", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "871", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "833", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "834", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "835", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "836", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "837", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "838", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "839", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "840", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "841", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "815", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "816", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "817", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal" - }, - "hour" : { - "localId" : "818", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "13", - "type" : "Literal" - }, - "minute" : { - "localId" : "819", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "30", - "type" : "Literal" - }, - "second" : { - "localId" : "820", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "25", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "821", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "200", - "type" : "Literal" - }, - "timezoneOffset" : { - "localId" : "822", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "1.0", - "type" : "Literal" - } - }, { - "localId" : "860", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "861", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "862", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "863", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "864", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "865", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "866", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "867", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "868", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "842", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "843", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "844", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal" - }, - "hour" : { - "localId" : "845", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "12", - "type" : "Literal" - }, - "minute" : { - "localId" : "846", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "14", - "type" : "Literal" - }, - "second" : { - "localId" : "847", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "47", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "848", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "500", - "type" : "Literal" - }, - "timezoneOffset" : { - "localId" : "849", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "1.0", - "type" : "Literal" - } - } ] - } - }, { - "localId" : "874", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "HourBefore", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "874", - "s" : [ { - "value" : [ "","define ","HourBefore",": " ] - }, { - "r" : "929", - "s" : [ { - "r" : "893", - "s" : [ { - "r" : "875", - "value" : [ "DateTime","(","2000",", ","3",", ","15",", ","13",", ","30",", ","25",", ","200",", " ] - }, { - "r" : "882", - "s" : [ { - "r" : "882", - "value" : [ "+","1.0" ] - } ] - }, { - "value" : [ ")" ] - } ] - }, { - "r" : "929", - "value" : [ " ","after hour of"," " ] - }, { - "r" : "920", - "s" : [ { - "r" : "902", - "value" : [ "DateTime","(","2000",", ","3",", ","15",", ","14",", ","14",", ","47",", ","500",", " ] - }, { - "r" : "909", - "s" : [ { - "r" : "909", - "value" : [ "+","1.0" ] - } ] - }, { - "value" : [ ")" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "929", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "precision" : "Hour", - "type" : "After", - "signature" : [ { - "localId" : "930", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "931", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "893", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "894", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "895", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "896", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "897", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "898", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "899", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "900", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "901", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "875", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "876", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "877", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal" - }, - "hour" : { - "localId" : "878", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "13", - "type" : "Literal" - }, - "minute" : { - "localId" : "879", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "30", - "type" : "Literal" - }, - "second" : { - "localId" : "880", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "25", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "881", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "200", - "type" : "Literal" - }, - "timezoneOffset" : { - "localId" : "882", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "1.0", - "type" : "Literal" - } - }, { - "localId" : "920", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "921", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "922", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "923", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "924", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "925", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "926", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "927", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "928", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "902", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "903", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "904", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal" - }, - "hour" : { - "localId" : "905", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "14", - "type" : "Literal" - }, - "minute" : { - "localId" : "906", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "14", - "type" : "Literal" - }, - "second" : { - "localId" : "907", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "47", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "908", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "500", - "type" : "Literal" - }, - "timezoneOffset" : { - "localId" : "909", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "1.0", - "type" : "Literal" - } - } ] - } - }, { - "localId" : "934", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "SameMinute", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "934", - "s" : [ { - "value" : [ "","define ","SameMinute",": " ] - }, { - "r" : "989", - "s" : [ { - "r" : "953", - "s" : [ { - "r" : "935", - "value" : [ "DateTime","(","2000",", ","3",", ","15",", ","13",", ","30",", ","55",", ","200",", " ] - }, { - "r" : "942", - "s" : [ { - "r" : "942", - "value" : [ "+","1.0" ] - } ] - }, { - "value" : [ ")" ] - } ] - }, { - "r" : "989", - "value" : [ " ","after minute of"," " ] - }, { - "r" : "980", - "s" : [ { - "r" : "962", - "value" : [ "DateTime","(","2000",", ","3",", ","15",", ","13",", ","30",", ","47",", ","500",", " ] - }, { - "r" : "969", - "s" : [ { - "r" : "969", - "value" : [ "+","1.0" ] - } ] - }, { - "value" : [ ")" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "989", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "precision" : "Minute", - "type" : "After", - "signature" : [ { - "localId" : "990", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "991", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "953", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "954", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "955", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "956", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "957", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "958", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "959", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "960", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "961", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "935", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "936", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "937", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal" - }, - "hour" : { - "localId" : "938", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "13", - "type" : "Literal" - }, - "minute" : { - "localId" : "939", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "30", - "type" : "Literal" - }, - "second" : { - "localId" : "940", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "55", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "941", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "200", - "type" : "Literal" - }, - "timezoneOffset" : { - "localId" : "942", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "1.0", - "type" : "Literal" - } - }, { - "localId" : "980", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "981", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "982", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "983", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "984", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "985", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "986", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "987", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "988", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "962", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "963", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "964", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal" - }, - "hour" : { - "localId" : "965", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "13", - "type" : "Literal" - }, - "minute" : { - "localId" : "966", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "30", - "type" : "Literal" - }, - "second" : { - "localId" : "967", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "47", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "968", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "500", - "type" : "Literal" - }, - "timezoneOffset" : { - "localId" : "969", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "1.0", - "type" : "Literal" - } - } ] - } - }, { - "localId" : "994", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "MinuteAfter", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "994", - "s" : [ { - "value" : [ "","define ","MinuteAfter",": " ] - }, { - "r" : "1049", - "s" : [ { - "r" : "1013", - "s" : [ { - "r" : "995", - "value" : [ "DateTime","(","2000",", ","3",", ","15",", ","13",", ","30",", ","55",", ","200",", " ] - }, { - "r" : "1002", - "s" : [ { - "r" : "1002", - "value" : [ "+","1.0" ] - } ] - }, { - "value" : [ ")" ] - } ] - }, { - "r" : "1049", - "value" : [ " ","after minute of"," " ] - }, { - "r" : "1040", - "s" : [ { - "r" : "1022", - "value" : [ "DateTime","(","2000",", ","3",", ","15",", ","13",", ","29",", ","47",", ","500",", " ] - }, { - "r" : "1029", - "s" : [ { - "r" : "1029", - "value" : [ "+","1.0" ] - } ] - }, { - "value" : [ ")" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "1049", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "precision" : "Minute", - "type" : "After", - "signature" : [ { - "localId" : "1050", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1051", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "1013", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "1014", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1015", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1016", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1017", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1018", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1019", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1020", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1021", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "995", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "996", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "997", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal" - }, - "hour" : { - "localId" : "998", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "13", - "type" : "Literal" - }, - "minute" : { - "localId" : "999", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "30", - "type" : "Literal" - }, - "second" : { - "localId" : "1000", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "55", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "1001", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "200", - "type" : "Literal" - }, - "timezoneOffset" : { - "localId" : "1002", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "1.0", - "type" : "Literal" - } - }, { - "localId" : "1040", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "1041", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1042", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1043", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1044", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1045", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1046", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1047", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1048", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1022", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "1023", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "1024", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal" - }, - "hour" : { - "localId" : "1025", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "13", - "type" : "Literal" - }, - "minute" : { - "localId" : "1026", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "29", - "type" : "Literal" - }, - "second" : { - "localId" : "1027", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "47", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "1028", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "500", - "type" : "Literal" - }, - "timezoneOffset" : { - "localId" : "1029", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "1.0", - "type" : "Literal" - } - } ] - } - }, { - "localId" : "1054", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "MinuteBefore", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "1054", - "s" : [ { - "value" : [ "","define ","MinuteBefore",": " ] - }, { - "r" : "1109", - "s" : [ { - "r" : "1073", - "s" : [ { - "r" : "1055", - "value" : [ "DateTime","(","2000",", ","3",", ","15",", ","13",", ","30",", ","55",", ","200",", " ] - }, { - "r" : "1062", - "s" : [ { - "r" : "1062", - "value" : [ "+","1.0" ] - } ] - }, { - "value" : [ ")" ] - } ] - }, { - "r" : "1109", - "value" : [ " ","after minute of"," " ] - }, { - "r" : "1100", - "s" : [ { - "r" : "1082", - "value" : [ "DateTime","(","2000",", ","3",", ","15",", ","13",", ","31",", ","47",", ","500",", " ] - }, { - "r" : "1089", - "s" : [ { - "r" : "1089", - "value" : [ "+","1.0" ] - } ] - }, { - "value" : [ ")" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "1109", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "precision" : "Minute", - "type" : "After", - "signature" : [ { - "localId" : "1110", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1111", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "1073", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "1074", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1075", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1076", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1077", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1078", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1079", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1080", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1081", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1055", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "1056", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "1057", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal" - }, - "hour" : { - "localId" : "1058", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "13", - "type" : "Literal" - }, - "minute" : { - "localId" : "1059", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "30", - "type" : "Literal" - }, - "second" : { - "localId" : "1060", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "55", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "1061", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "200", - "type" : "Literal" - }, - "timezoneOffset" : { - "localId" : "1062", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "1.0", - "type" : "Literal" - } - }, { - "localId" : "1100", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "1101", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1102", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1103", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1104", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1105", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1106", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1107", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1108", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1082", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "1083", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "1084", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal" - }, - "hour" : { - "localId" : "1085", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "13", - "type" : "Literal" - }, - "minute" : { - "localId" : "1086", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "31", - "type" : "Literal" - }, - "second" : { - "localId" : "1087", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "47", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "1088", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "500", - "type" : "Literal" - }, - "timezoneOffset" : { - "localId" : "1089", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "1.0", - "type" : "Literal" - } - } ] - } - }, { - "localId" : "1114", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "SameSecond", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "1114", - "s" : [ { - "value" : [ "","define ","SameSecond",": " ] - }, { - "r" : "1169", - "s" : [ { - "r" : "1133", - "s" : [ { - "r" : "1115", - "value" : [ "DateTime","(","2000",", ","3",", ","15",", ","13",", ","30",", ","25",", ","700",", " ] - }, { - "r" : "1122", - "s" : [ { - "r" : "1122", - "value" : [ "+","1.0" ] - } ] - }, { - "value" : [ ")" ] - } ] - }, { - "r" : "1169", - "value" : [ " ","after second of"," " ] - }, { - "r" : "1160", - "s" : [ { - "r" : "1142", - "value" : [ "DateTime","(","2000",", ","3",", ","15",", ","13",", ","30",", ","25",", ","500",", " ] - }, { - "r" : "1149", - "s" : [ { - "r" : "1149", - "value" : [ "+","1.0" ] - } ] - }, { - "value" : [ ")" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "1169", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "precision" : "Second", - "type" : "After", - "signature" : [ { - "localId" : "1170", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1171", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "1133", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "1134", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1135", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1136", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1137", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1138", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1139", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1140", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1141", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1115", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "1116", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "1117", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal" - }, - "hour" : { - "localId" : "1118", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "13", - "type" : "Literal" - }, - "minute" : { - "localId" : "1119", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "30", - "type" : "Literal" - }, - "second" : { - "localId" : "1120", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "25", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "1121", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "700", - "type" : "Literal" - }, - "timezoneOffset" : { - "localId" : "1122", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "1.0", - "type" : "Literal" - } - }, { - "localId" : "1160", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "1161", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1162", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1163", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1164", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1165", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1166", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1167", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1168", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1142", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "1143", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "1144", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal" - }, - "hour" : { - "localId" : "1145", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "13", - "type" : "Literal" - }, - "minute" : { - "localId" : "1146", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "30", - "type" : "Literal" - }, - "second" : { - "localId" : "1147", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "25", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "1148", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "500", - "type" : "Literal" - }, - "timezoneOffset" : { - "localId" : "1149", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "1.0", - "type" : "Literal" - } - } ] - } - }, { - "localId" : "1174", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "SecondAfter", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "1174", - "s" : [ { - "value" : [ "","define ","SecondAfter",": " ] - }, { - "r" : "1229", - "s" : [ { - "r" : "1193", - "s" : [ { - "r" : "1175", - "value" : [ "DateTime","(","2000",", ","3",", ","15",", ","13",", ","30",", ","25",", ","700",", " ] - }, { - "r" : "1182", - "s" : [ { - "r" : "1182", - "value" : [ "+","1.0" ] - } ] - }, { - "value" : [ ")" ] - } ] - }, { - "r" : "1229", - "value" : [ " ","after second of"," " ] - }, { - "r" : "1220", - "s" : [ { - "r" : "1202", - "value" : [ "DateTime","(","2000",", ","3",", ","15",", ","13",", ","30",", ","24",", ","500",", " ] - }, { - "r" : "1209", - "s" : [ { - "r" : "1209", - "value" : [ "+","1.0" ] - } ] - }, { - "value" : [ ")" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "1229", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "precision" : "Second", - "type" : "After", - "signature" : [ { - "localId" : "1230", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1231", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "1193", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "1194", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1195", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1196", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1197", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1198", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1199", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1200", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1201", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1175", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "1176", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "1177", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal" - }, - "hour" : { - "localId" : "1178", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "13", - "type" : "Literal" - }, - "minute" : { - "localId" : "1179", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "30", - "type" : "Literal" - }, - "second" : { - "localId" : "1180", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "25", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "1181", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "700", - "type" : "Literal" - }, - "timezoneOffset" : { - "localId" : "1182", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "1.0", - "type" : "Literal" - } - }, { - "localId" : "1220", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "1221", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1222", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1223", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1224", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1225", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1226", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1227", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1228", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1202", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "1203", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "1204", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal" - }, - "hour" : { - "localId" : "1205", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "13", - "type" : "Literal" - }, - "minute" : { - "localId" : "1206", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "30", - "type" : "Literal" - }, - "second" : { - "localId" : "1207", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "24", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "1208", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "500", - "type" : "Literal" - }, - "timezoneOffset" : { - "localId" : "1209", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "1.0", - "type" : "Literal" - } - } ] - } - }, { - "localId" : "1234", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "SecondBefore", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "1234", - "s" : [ { - "value" : [ "","define ","SecondBefore",": " ] - }, { - "r" : "1289", - "s" : [ { - "r" : "1253", - "s" : [ { - "r" : "1235", - "value" : [ "DateTime","(","2000",", ","3",", ","15",", ","13",", ","30",", ","25",", ","700",", " ] - }, { - "r" : "1242", - "s" : [ { - "r" : "1242", - "value" : [ "+","1.0" ] - } ] - }, { - "value" : [ ")" ] - } ] - }, { - "r" : "1289", - "value" : [ " ","after second of"," " ] - }, { - "r" : "1280", - "s" : [ { - "r" : "1262", - "value" : [ "DateTime","(","2000",", ","3",", ","15",", ","13",", ","30",", ","26",", ","500",", " ] - }, { - "r" : "1269", - "s" : [ { - "r" : "1269", - "value" : [ "+","1.0" ] - } ] - }, { - "value" : [ ")" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "1289", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "precision" : "Second", - "type" : "After", - "signature" : [ { - "localId" : "1290", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1291", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "1253", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "1254", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1255", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1256", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1257", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1258", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1259", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1260", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1261", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1235", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "1236", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "1237", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal" - }, - "hour" : { - "localId" : "1238", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "13", - "type" : "Literal" - }, - "minute" : { - "localId" : "1239", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "30", - "type" : "Literal" - }, - "second" : { - "localId" : "1240", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "25", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "1241", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "700", - "type" : "Literal" - }, - "timezoneOffset" : { - "localId" : "1242", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "1.0", - "type" : "Literal" - } - }, { - "localId" : "1280", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "1281", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1282", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1283", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1284", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1285", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1286", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1287", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1288", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1262", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "1263", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "1264", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal" - }, - "hour" : { - "localId" : "1265", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "13", - "type" : "Literal" - }, - "minute" : { - "localId" : "1266", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "30", - "type" : "Literal" - }, - "second" : { - "localId" : "1267", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "26", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "1268", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "500", - "type" : "Literal" - }, - "timezoneOffset" : { - "localId" : "1269", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "1.0", - "type" : "Literal" - } - } ] - } - }, { - "localId" : "1294", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "SameMillisecond", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "1294", - "s" : [ { - "value" : [ "","define ","SameMillisecond",": " ] - }, { - "r" : "1349", - "s" : [ { - "r" : "1313", - "s" : [ { - "r" : "1295", - "value" : [ "DateTime","(","2000",", ","3",", ","15",", ","13",", ","30",", ","25",", ","200",", " ] - }, { - "r" : "1302", - "s" : [ { - "r" : "1302", - "value" : [ "+","1.0" ] - } ] - }, { - "value" : [ ")" ] - } ] - }, { - "r" : "1349", - "value" : [ " ","after millisecond of"," " ] - }, { - "r" : "1340", - "s" : [ { - "r" : "1322", - "value" : [ "DateTime","(","2000",", ","3",", ","15",", ","13",", ","30",", ","25",", ","200",", " ] - }, { - "r" : "1329", - "s" : [ { - "r" : "1329", - "value" : [ "+","1.0" ] - } ] - }, { - "value" : [ ")" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "1349", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "precision" : "Millisecond", - "type" : "After", - "signature" : [ { - "localId" : "1350", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1351", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "1313", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "1314", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1315", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1316", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1317", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1318", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1319", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1320", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1321", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1295", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "1296", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "1297", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal" - }, - "hour" : { - "localId" : "1298", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "13", - "type" : "Literal" - }, - "minute" : { - "localId" : "1299", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "30", - "type" : "Literal" - }, - "second" : { - "localId" : "1300", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "25", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "1301", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "200", - "type" : "Literal" - }, - "timezoneOffset" : { - "localId" : "1302", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "1.0", - "type" : "Literal" - } - }, { - "localId" : "1340", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "1341", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1342", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1343", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1344", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1345", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1346", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1347", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1348", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1322", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "1323", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "1324", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal" - }, - "hour" : { - "localId" : "1325", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "13", - "type" : "Literal" - }, - "minute" : { - "localId" : "1326", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "30", - "type" : "Literal" - }, - "second" : { - "localId" : "1327", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "25", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "1328", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "200", - "type" : "Literal" - }, - "timezoneOffset" : { - "localId" : "1329", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "1.0", - "type" : "Literal" - } - } ] - } - }, { - "localId" : "1354", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "MillisecondAfter", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "1354", - "s" : [ { - "value" : [ "","define ","MillisecondAfter",": " ] - }, { - "r" : "1409", - "s" : [ { - "r" : "1373", - "s" : [ { - "r" : "1355", - "value" : [ "DateTime","(","2000",", ","3",", ","15",", ","13",", ","30",", ","25",", ","200",", " ] - }, { - "r" : "1362", - "s" : [ { - "r" : "1362", - "value" : [ "+","1.0" ] - } ] - }, { - "value" : [ ")" ] - } ] - }, { - "r" : "1409", - "value" : [ " ","after millisecond of"," " ] - }, { - "r" : "1400", - "s" : [ { - "r" : "1382", - "value" : [ "DateTime","(","2000",", ","3",", ","15",", ","13",", ","30",", ","25",", ","199",", " ] - }, { - "r" : "1389", - "s" : [ { - "r" : "1389", - "value" : [ "+","1.0" ] - } ] - }, { - "value" : [ ")" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "1409", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "precision" : "Millisecond", - "type" : "After", - "signature" : [ { - "localId" : "1410", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1411", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "1373", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "1374", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1375", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1376", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1377", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1378", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1379", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1380", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1381", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1355", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "1356", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "1357", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal" - }, - "hour" : { - "localId" : "1358", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "13", - "type" : "Literal" - }, - "minute" : { - "localId" : "1359", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "30", - "type" : "Literal" - }, - "second" : { - "localId" : "1360", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "25", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "1361", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "200", - "type" : "Literal" - }, - "timezoneOffset" : { - "localId" : "1362", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "1.0", - "type" : "Literal" - } - }, { - "localId" : "1400", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "1401", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1402", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1403", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1404", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1405", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1406", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1407", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1408", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1382", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "1383", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "1384", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal" - }, - "hour" : { - "localId" : "1385", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "13", - "type" : "Literal" - }, - "minute" : { - "localId" : "1386", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "30", - "type" : "Literal" - }, - "second" : { - "localId" : "1387", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "25", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "1388", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "199", - "type" : "Literal" - }, - "timezoneOffset" : { - "localId" : "1389", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "1.0", - "type" : "Literal" - } - } ] - } - }, { - "localId" : "1414", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "MillisecondBefore", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "1414", - "s" : [ { - "value" : [ "","define ","MillisecondBefore",": " ] - }, { - "r" : "1469", - "s" : [ { - "r" : "1433", - "s" : [ { - "r" : "1415", - "value" : [ "DateTime","(","2000",", ","3",", ","15",", ","13",", ","30",", ","25",", ","200",", " ] - }, { - "r" : "1422", - "s" : [ { - "r" : "1422", - "value" : [ "+","1.0" ] - } ] - }, { - "value" : [ ")" ] - } ] - }, { - "r" : "1469", - "value" : [ " ","after millisecond of"," " ] - }, { - "r" : "1460", - "s" : [ { - "r" : "1442", - "value" : [ "DateTime","(","2000",", ","3",", ","15",", ","13",", ","30",", ","25",", ","201",", " ] - }, { - "r" : "1449", - "s" : [ { - "r" : "1449", - "value" : [ "+","1.0" ] - } ] - }, { - "value" : [ ")" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "1469", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "precision" : "Millisecond", - "type" : "After", - "signature" : [ { - "localId" : "1470", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1471", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "1433", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "1434", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1435", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1436", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1437", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1438", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1439", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1440", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1441", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1415", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "1416", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "1417", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal" - }, - "hour" : { - "localId" : "1418", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "13", - "type" : "Literal" - }, - "minute" : { - "localId" : "1419", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "30", - "type" : "Literal" - }, - "second" : { - "localId" : "1420", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "25", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "1421", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "200", - "type" : "Literal" - }, - "timezoneOffset" : { - "localId" : "1422", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "1.0", - "type" : "Literal" - } - }, { - "localId" : "1460", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "1461", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1462", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1463", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1464", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1465", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1466", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1467", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1468", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1442", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "1443", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "1444", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal" - }, - "hour" : { - "localId" : "1445", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "13", - "type" : "Literal" - }, - "minute" : { - "localId" : "1446", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "30", - "type" : "Literal" - }, - "second" : { - "localId" : "1447", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "25", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "1448", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "201", - "type" : "Literal" - }, - "timezoneOffset" : { - "localId" : "1449", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "1.0", - "type" : "Literal" - } - } ] - } - }, { - "localId" : "1474", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "Same", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "1474", - "s" : [ { - "value" : [ "","define ","Same",": " ] - }, { - "r" : "1529", - "s" : [ { - "r" : "1493", - "s" : [ { - "r" : "1475", - "value" : [ "DateTime","(","2000",", ","3",", ","15",", ","13",", ","30",", ","25",", ","200",", " ] - }, { - "r" : "1482", - "s" : [ { - "r" : "1482", - "value" : [ "+","1.0" ] - } ] - }, { - "value" : [ ")" ] - } ] - }, { - "r" : "1529", - "value" : [ " ","after"," " ] - }, { - "r" : "1520", - "s" : [ { - "r" : "1502", - "value" : [ "DateTime","(","2000",", ","3",", ","15",", ","13",", ","30",", ","25",", ","200",", " ] - }, { - "r" : "1509", - "s" : [ { - "r" : "1509", - "value" : [ "+","1.0" ] - } ] - }, { - "value" : [ ")" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "1529", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "After", - "signature" : [ { - "localId" : "1530", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1531", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "1493", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "1494", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1495", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1496", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1497", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1498", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1499", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1500", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1501", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1475", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "1476", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "1477", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal" - }, - "hour" : { - "localId" : "1478", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "13", - "type" : "Literal" - }, - "minute" : { - "localId" : "1479", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "30", - "type" : "Literal" - }, - "second" : { - "localId" : "1480", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "25", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "1481", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "200", - "type" : "Literal" - }, - "timezoneOffset" : { - "localId" : "1482", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "1.0", - "type" : "Literal" - } - }, { - "localId" : "1520", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "1521", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1522", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1523", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1524", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1525", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1526", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1527", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1528", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1502", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "1503", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "1504", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal" - }, - "hour" : { - "localId" : "1505", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "13", - "type" : "Literal" - }, - "minute" : { - "localId" : "1506", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "30", - "type" : "Literal" - }, - "second" : { - "localId" : "1507", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "25", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "1508", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "200", - "type" : "Literal" - }, - "timezoneOffset" : { - "localId" : "1509", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "1.0", - "type" : "Literal" - } - } ] - } - }, { - "localId" : "1534", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "After", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "1534", - "s" : [ { - "value" : [ "","define ","After",": " ] - }, { - "r" : "1589", - "s" : [ { - "r" : "1553", - "s" : [ { - "r" : "1535", - "value" : [ "DateTime","(","2000",", ","3",", ","15",", ","13",", ","30",", ","25",", ","200",", " ] - }, { - "r" : "1542", - "s" : [ { - "r" : "1542", - "value" : [ "+","1.0" ] - } ] - }, { - "value" : [ ")" ] - } ] - }, { - "r" : "1589", - "value" : [ " ","after"," " ] - }, { - "r" : "1580", - "s" : [ { - "r" : "1562", - "value" : [ "DateTime","(","2000",", ","3",", ","15",", ","13",", ","30",", ","25",", ","199",", " ] - }, { - "r" : "1569", - "s" : [ { - "r" : "1569", - "value" : [ "+","1.0" ] - } ] - }, { - "value" : [ ")" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "1589", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "After", - "signature" : [ { - "localId" : "1590", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1591", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "1553", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "1554", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1555", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1556", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1557", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1558", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1559", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1560", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1561", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1535", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "1536", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "1537", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal" - }, - "hour" : { - "localId" : "1538", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "13", - "type" : "Literal" - }, - "minute" : { - "localId" : "1539", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "30", - "type" : "Literal" - }, - "second" : { - "localId" : "1540", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "25", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "1541", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "200", - "type" : "Literal" - }, - "timezoneOffset" : { - "localId" : "1542", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "1.0", - "type" : "Literal" - } - }, { - "localId" : "1580", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "1581", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1582", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1583", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1584", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1585", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1586", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1587", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1588", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1562", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "1563", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "1564", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal" - }, - "hour" : { - "localId" : "1565", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "13", - "type" : "Literal" - }, - "minute" : { - "localId" : "1566", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "30", - "type" : "Literal" - }, - "second" : { - "localId" : "1567", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "25", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "1568", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "199", - "type" : "Literal" - }, - "timezoneOffset" : { - "localId" : "1569", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "1.0", - "type" : "Literal" - } - } ] - } - }, { - "localId" : "1594", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "Before", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "1594", - "s" : [ { - "value" : [ "","define ","Before",": " ] - }, { - "r" : "1649", - "s" : [ { - "r" : "1613", - "s" : [ { - "r" : "1595", - "value" : [ "DateTime","(","2000",", ","3",", ","15",", ","13",", ","30",", ","25",", ","200",", " ] - }, { - "r" : "1602", - "s" : [ { - "r" : "1602", - "value" : [ "+","1.0" ] - } ] - }, { - "value" : [ ")" ] - } ] - }, { - "r" : "1649", - "value" : [ " ","after"," " ] - }, { - "r" : "1640", - "s" : [ { - "r" : "1622", - "value" : [ "DateTime","(","2000",", ","3",", ","15",", ","13",", ","30",", ","25",", ","201",", " ] - }, { - "r" : "1629", - "s" : [ { - "r" : "1629", - "value" : [ "+","1.0" ] - } ] - }, { - "value" : [ ")" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "1649", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "After", - "signature" : [ { - "localId" : "1650", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1651", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "1613", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "1614", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1615", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1616", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1617", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1618", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1619", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1620", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1621", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1595", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "1596", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "1597", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal" - }, - "hour" : { - "localId" : "1598", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "13", - "type" : "Literal" - }, - "minute" : { - "localId" : "1599", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "30", - "type" : "Literal" - }, - "second" : { - "localId" : "1600", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "25", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "1601", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "200", - "type" : "Literal" - }, - "timezoneOffset" : { - "localId" : "1602", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "1.0", - "type" : "Literal" - } - }, { - "localId" : "1640", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "1641", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1642", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1643", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1644", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1645", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1646", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1647", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1648", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1622", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "1623", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "1624", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal" - }, - "hour" : { - "localId" : "1625", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "13", - "type" : "Literal" - }, - "minute" : { - "localId" : "1626", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "30", - "type" : "Literal" - }, - "second" : { - "localId" : "1627", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "25", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "1628", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "201", - "type" : "Literal" - }, - "timezoneOffset" : { - "localId" : "1629", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "1.0", - "type" : "Literal" - } - } ] - } - }, { - "localId" : "1654", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "ImpreciseDay", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "1654", - "s" : [ { - "value" : [ "","define ","ImpreciseDay",": " ] - }, { - "r" : "1688", - "s" : [ { - "r" : "1671", - "s" : [ { - "r" : "1655", - "value" : [ "DateTime","(","2000",", ","3",", ","15",", ","13",", ","30",", ","25",", ","200",")" ] - } ] - }, { - "r" : "1688", - "value" : [ " ","after day of"," " ] - }, { - "r" : "1685", - "s" : [ { - "r" : "1679", - "value" : [ "DateTime","(","2000",", ","3",")" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "1688", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "precision" : "Day", - "type" : "After", - "signature" : [ { - "localId" : "1689", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1690", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "1671", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "1672", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1673", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1674", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1675", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1676", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1677", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1678", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1655", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "1656", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "1657", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal" - }, - "hour" : { - "localId" : "1658", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "13", - "type" : "Literal" - }, - "minute" : { - "localId" : "1659", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "30", - "type" : "Literal" - }, - "second" : { - "localId" : "1660", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "25", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "1661", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "200", - "type" : "Literal" - } - }, { - "localId" : "1685", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "1686", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1687", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1679", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "1680", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - } - } ] - } - }, { - "localId" : "1693", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "ImpreciseDayMonthAfter", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "1693", - "s" : [ { - "value" : [ "","define ","ImpreciseDayMonthAfter",": " ] - }, { - "r" : "1727", - "s" : [ { - "r" : "1710", - "s" : [ { - "r" : "1694", - "value" : [ "DateTime","(","2000",", ","3",", ","15",", ","13",", ","30",", ","25",", ","200",")" ] - } ] - }, { - "r" : "1727", - "value" : [ " ","after day of"," " ] - }, { - "r" : "1724", - "s" : [ { - "r" : "1718", - "value" : [ "DateTime","(","2000",", ","2",")" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "1727", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "precision" : "Day", - "type" : "After", - "signature" : [ { - "localId" : "1728", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1729", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "1710", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "1711", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1712", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1713", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1714", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1715", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1716", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1717", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1694", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "1695", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "1696", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal" - }, - "hour" : { - "localId" : "1697", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "13", - "type" : "Literal" - }, - "minute" : { - "localId" : "1698", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "30", - "type" : "Literal" - }, - "second" : { - "localId" : "1699", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "25", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "1700", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "200", - "type" : "Literal" - } - }, { - "localId" : "1724", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "1725", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1726", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1718", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "1719", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal" - } - } ] - } - }, { - "localId" : "1732", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "ImpreciseDayMonthBefore", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "1732", - "s" : [ { - "value" : [ "","define ","ImpreciseDayMonthBefore",": " ] - }, { - "r" : "1766", - "s" : [ { - "r" : "1749", - "s" : [ { - "r" : "1733", - "value" : [ "DateTime","(","2000",", ","3",", ","15",", ","13",", ","30",", ","25",", ","200",")" ] - } ] - }, { - "r" : "1766", - "value" : [ " ","after day of"," " ] - }, { - "r" : "1763", - "s" : [ { - "r" : "1757", - "value" : [ "DateTime","(","2000",", ","4",")" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "1766", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "precision" : "Day", - "type" : "After", - "signature" : [ { - "localId" : "1767", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1768", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "1749", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "1750", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1751", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1752", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1753", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1754", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1755", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1756", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1733", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "1734", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "1735", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal" - }, - "hour" : { - "localId" : "1736", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "13", - "type" : "Literal" - }, - "minute" : { - "localId" : "1737", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "30", - "type" : "Literal" - }, - "second" : { - "localId" : "1738", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "25", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "1739", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "200", - "type" : "Literal" - } - }, { - "localId" : "1763", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "1764", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1765", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1757", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "1758", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "4", - "type" : "Literal" - } - } ] - } - }, { - "localId" : "1771", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "SameHourNormalizeZones", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "1771", - "s" : [ { - "value" : [ "","define ","SameHourNormalizeZones",": " ] - }, { - "r" : "1828", - "s" : [ { - "r" : "1790", - "s" : [ { - "r" : "1772", - "value" : [ "DateTime","(","2000",", ","3",", ","15",", ","13",", ","30",", ","25",", ","200",", " ] - }, { - "r" : "1779", - "s" : [ { - "r" : "1779", - "value" : [ "+","1.0" ] - } ] - }, { - "value" : [ ")" ] - } ] - }, { - "r" : "1828", - "value" : [ " ","after hour of"," " ] - }, { - "r" : "1819", - "s" : [ { - "r" : "1799", - "value" : [ "DateTime","(","2000",", ","3",", ","15",", ","7",", ","30",", ","25",", ","200",", " ] - }, { - "r" : "1806", - "s" : [ { - "r" : "1807", - "value" : [ "-","5.0" ] - } ] - }, { - "value" : [ ")" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "1828", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "precision" : "Hour", - "type" : "After", - "signature" : [ { - "localId" : "1829", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1830", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "1790", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "1791", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1792", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1793", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1794", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1795", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1796", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1797", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1798", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1772", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "1773", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "1774", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal" - }, - "hour" : { - "localId" : "1775", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "13", - "type" : "Literal" - }, - "minute" : { - "localId" : "1776", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "30", - "type" : "Literal" - }, - "second" : { - "localId" : "1777", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "25", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "1778", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "200", - "type" : "Literal" - }, - "timezoneOffset" : { - "localId" : "1779", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "1.0", - "type" : "Literal" - } - }, { - "localId" : "1819", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "1820", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1821", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1822", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1823", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1824", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1825", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1826", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1827", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1799", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "1800", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "1801", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal" - }, - "hour" : { - "localId" : "1802", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "7", - "type" : "Literal" - }, - "minute" : { - "localId" : "1803", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "30", - "type" : "Literal" - }, - "second" : { - "localId" : "1804", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "25", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "1805", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "200", - "type" : "Literal" - }, - "timezoneOffset" : { - "localId" : "1806", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "Negate", - "signature" : [ { - "localId" : "1808", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "1807", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "5.0", - "type" : "Literal" - } - } - } ] - } - }, { - "localId" : "1833", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "HourAfterNormalizeZones", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "1833", - "s" : [ { - "value" : [ "","define ","HourAfterNormalizeZones",": " ] - }, { - "r" : "1890", - "s" : [ { - "r" : "1852", - "s" : [ { - "r" : "1834", - "value" : [ "DateTime","(","2000",", ","3",", ","15",", ","13",", ","30",", ","25",", ","200",", " ] - }, { - "r" : "1841", - "s" : [ { - "r" : "1841", - "value" : [ "+","1.0" ] - } ] - }, { - "value" : [ ")" ] - } ] - }, { - "r" : "1890", - "value" : [ " ","after hour of"," " ] - }, { - "r" : "1881", - "s" : [ { - "r" : "1861", - "value" : [ "DateTime","(","2000",", ","3",", ","15",", ","6",", ","30",", ","25",", ","200",", " ] - }, { - "r" : "1868", - "s" : [ { - "r" : "1869", - "value" : [ "-","5.0" ] - } ] - }, { - "value" : [ ")" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "1890", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "precision" : "Hour", - "type" : "After", - "signature" : [ { - "localId" : "1891", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1892", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "1852", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "1853", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1854", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1855", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1856", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1857", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1858", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1859", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1860", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1834", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "1835", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "1836", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal" - }, - "hour" : { - "localId" : "1837", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "13", - "type" : "Literal" - }, - "minute" : { - "localId" : "1838", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "30", - "type" : "Literal" - }, - "second" : { - "localId" : "1839", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "25", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "1840", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "200", - "type" : "Literal" - }, - "timezoneOffset" : { - "localId" : "1841", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "1.0", - "type" : "Literal" - } - }, { - "localId" : "1881", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "1882", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1883", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1884", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1885", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1886", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1887", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1888", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1889", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1861", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "1862", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "1863", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal" - }, - "hour" : { - "localId" : "1864", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "6", - "type" : "Literal" - }, - "minute" : { - "localId" : "1865", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "30", - "type" : "Literal" - }, - "second" : { - "localId" : "1866", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "25", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "1867", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "200", - "type" : "Literal" - }, - "timezoneOffset" : { - "localId" : "1868", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "Negate", - "signature" : [ { - "localId" : "1870", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "1869", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "5.0", - "type" : "Literal" - } - } - } ] - } - }, { - "localId" : "1895", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "HourBeforeNormalizeZones", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "1895", - "s" : [ { - "value" : [ "","define ","HourBeforeNormalizeZones",": " ] - }, { - "r" : "1952", - "s" : [ { - "r" : "1914", - "s" : [ { - "r" : "1896", - "value" : [ "DateTime","(","2000",", ","3",", ","15",", ","13",", ","30",", ","25",", ","200",", " ] - }, { - "r" : "1903", - "s" : [ { - "r" : "1903", - "value" : [ "+","1.0" ] - } ] - }, { - "value" : [ ")" ] - } ] - }, { - "r" : "1952", - "value" : [ " ","after hour of"," " ] - }, { - "r" : "1943", - "s" : [ { - "r" : "1923", - "value" : [ "DateTime","(","2000",", ","3",", ","15",", ","8",", ","30",", ","25",", ","200",", " ] - }, { - "r" : "1930", - "s" : [ { - "r" : "1931", - "value" : [ "-","5.0" ] - } ] - }, { - "value" : [ ")" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "1952", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "precision" : "Hour", - "type" : "After", - "signature" : [ { - "localId" : "1953", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1954", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "1914", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "1915", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1916", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1917", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1918", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1919", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1920", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1921", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1922", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1896", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "1897", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "1898", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal" - }, - "hour" : { - "localId" : "1899", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "13", - "type" : "Literal" - }, - "minute" : { - "localId" : "1900", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "30", - "type" : "Literal" - }, - "second" : { - "localId" : "1901", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "25", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "1902", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "200", - "type" : "Literal" - }, - "timezoneOffset" : { - "localId" : "1903", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "1.0", - "type" : "Literal" - } - }, { - "localId" : "1943", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "1944", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1945", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1946", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1947", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1948", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1949", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1950", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1951", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1923", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "1924", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "1925", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal" - }, - "hour" : { - "localId" : "1926", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "8", - "type" : "Literal" - }, - "minute" : { - "localId" : "1927", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "30", - "type" : "Literal" - }, - "second" : { - "localId" : "1928", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "25", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "1929", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "200", - "type" : "Literal" - }, - "timezoneOffset" : { - "localId" : "1930", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "Negate", - "signature" : [ { - "localId" : "1932", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "1931", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "5.0", - "type" : "Literal" - } - } - } ] - } - }, { - "localId" : "1957", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "NullLeft", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "1957", - "s" : [ { - "value" : [ "","define ","NullLeft",": " ] - }, { - "r" : "1986", - "s" : [ { - "r" : "1958", - "value" : [ "null"," ","after"," " ] - }, { - "r" : "1977", - "s" : [ { - "r" : "1959", - "value" : [ "DateTime","(","2000",", ","3",", ","15",", ","13",", ","30",", ","25",", ","200",", " ] - }, { - "r" : "1966", - "s" : [ { - "r" : "1966", - "value" : [ "+","1.0" ] - } ] - }, { - "value" : [ ")" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "1986", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "After", - "signature" : [ { - "localId" : "1988", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1989", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "1987", - "asType" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "As", - "signature" : [ ], - "operand" : { - "localId" : "1958", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - } - }, { - "localId" : "1977", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "1978", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1979", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1980", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1981", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1982", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1983", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1984", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1985", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1959", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "1960", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "1961", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal" - }, - "hour" : { - "localId" : "1962", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "13", - "type" : "Literal" - }, - "minute" : { - "localId" : "1963", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "30", - "type" : "Literal" - }, - "second" : { - "localId" : "1964", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "25", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "1965", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "200", - "type" : "Literal" - }, - "timezoneOffset" : { - "localId" : "1966", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "1.0", - "type" : "Literal" - } - } ] - } - }, { - "localId" : "1992", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "NullRight", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "1992", - "s" : [ { - "value" : [ "","define ","NullRight",": " ] - }, { - "r" : "2021", - "s" : [ { - "r" : "2011", - "s" : [ { - "r" : "1993", - "value" : [ "DateTime","(","2000",", ","3",", ","15",", ","13",", ","30",", ","25",", ","200",", " ] - }, { - "r" : "2000", - "s" : [ { - "r" : "2000", - "value" : [ "+","1.0" ] - } ] - }, { - "value" : [ ")" ] - } ] - }, { - "r" : "2021", - "value" : [ " ","after"," ","null" ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "2021", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "After", - "signature" : [ { - "localId" : "2023", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2024", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "2011", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "2012", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2013", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2014", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2015", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2016", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2017", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2018", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2019", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1993", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "1994", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "1995", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal" - }, - "hour" : { - "localId" : "1996", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "13", - "type" : "Literal" - }, - "minute" : { - "localId" : "1997", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "30", - "type" : "Literal" - }, - "second" : { - "localId" : "1998", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "25", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "1999", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "200", - "type" : "Literal" - }, - "timezoneOffset" : { - "localId" : "2000", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "1.0", - "type" : "Literal" - } - }, { - "localId" : "2022", - "asType" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "As", - "signature" : [ ], - "operand" : { - "localId" : "2020", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - } - } ] - } - }, { - "localId" : "2027", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "NullBoth", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "2027", - "s" : [ { - "value" : [ "","define ","NullBoth",": " ] - }, { - "r" : "2032", - "s" : [ { - "r" : "2028", - "s" : [ { - "value" : [ "(" ] - }, { - "r" : "2028", - "s" : [ { - "r" : "2029", - "value" : [ "null"," as " ] - }, { - "r" : "2030", - "s" : [ { - "value" : [ "DateTime" ] - } ] - } ] - }, { - "value" : [ ")" ] - } ] - }, { - "r" : "2032", - "value" : [ " ","after"," ","null" ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "2032", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "After", - "signature" : [ { - "localId" : "2034", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2035", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "2028", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "strict" : false, - "type" : "As", - "signature" : [ ], - "operand" : { - "localId" : "2029", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - }, - "asTypeSpecifier" : { - "localId" : "2030", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "2033", - "asType" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "As", - "signature" : [ ], - "operand" : { - "localId" : "2031", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - } - } ] - } - } ] - } - } -} - -/* Before -library TestSnippet version '1' -using Simple version '1.0.0' -context Patient -define SameYear: DateTime(2000, 10, 15, 13, 30, 25, 200, +1.0) before year of DateTime(2000, 11, 23, 8, 14, 47, 500, +1.0) -define YearAfter: DateTime(2000, 10, 15, 13, 30, 25, 200, +1.0) before year of DateTime(1999, 11, 23, 8, 14, 47, 500, +1.0) -define YearBefore: DateTime(2000, 10, 15, 13, 30, 25, 200, +1.0) before year of DateTime(2001, 11, 23, 8, 14, 47, 500, +1.0) -define SameMonth: DateTime(2000, 3, 22, 13, 30, 25, 200, +1.0) before month of DateTime(2000, 3, 23, 8, 14, 47, 500, +1.0) -define MonthAfter: DateTime(2000, 3, 22, 13, 30, 25, 200, +1.0) before month of DateTime(2000, 2, 23, 8, 14, 47, 500, +1.0) -define MonthBefore: DateTime(2000, 3, 22, 13, 30, 25, 200, +1.0) before month of DateTime(2000, 4, 23, 8, 14, 47, 500, +1.0) -define SameDay: DateTime(2000, 3, 15, 6, 30, 25, 200, +1.0) before day of DateTime(2000, 3, 15, 8, 14, 47, 500, +1.0) -define DayAfter: DateTime(2000, 3, 15, 6, 30, 25, 200, +1.0) before day of DateTime(2000, 3, 14, 8, 14, 47, 500, +1.0) -define DayBefore: DateTime(2000, 3, 15, 6, 30, 25, 200, +1.0) before day of DateTime(2000, 3, 16, 8, 14, 47, 500, +1.0) -define SameHour: DateTime(2000, 3, 15, 13, 10, 25, 200, +1.0) before hour of DateTime(2000, 3, 15, 13, 14, 47, 500, +1.0) -define HourAfter: DateTime(2000, 3, 15, 13, 10, 25, 200, +1.0) before hour of DateTime(2000, 3, 15, 12, 14, 47, 500, +1.0) -define HourBefore: DateTime(2000, 3, 15, 13, 10, 25, 200, +1.0) before hour of DateTime(2000, 3, 15, 14, 14, 47, 500, +1.0) -define SameMinute: DateTime(2000, 3, 15, 13, 30, 44, 200, +1.0) before minute of DateTime(2000, 3, 15, 13, 30, 47, 500, +1.0) -define MinuteAfter: DateTime(2000, 3, 15, 13, 30, 44, 200, +1.0) before minute of DateTime(2000, 3, 15, 13, 29, 47, 500, +1.0) -define MinuteBefore: DateTime(2000, 3, 15, 13, 30, 44, 200, +1.0) before minute of DateTime(2000, 3, 15, 13, 31, 47, 500, +1.0) -define SameSecond: DateTime(2000, 3, 15, 13, 30, 25, 200, +1.0) before second of DateTime(2000, 3, 15, 13, 30, 25, 500, +1.0) -define SecondAfter: DateTime(2000, 3, 15, 13, 30, 25, 200, +1.0) before second of DateTime(2000, 3, 15, 13, 30, 24, 500, +1.0) -define SecondBefore: DateTime(2000, 3, 15, 13, 30, 25, 200, +1.0) before second of DateTime(2000, 3, 15, 13, 30, 26, 500, +1.0) -define SameMillisecond: DateTime(2000, 3, 15, 13, 30, 25, 200, +1.0) before millisecond of DateTime(2000, 3, 15, 13, 30, 25, 200, +1.0) -define MillisecondAfter: DateTime(2000, 3, 15, 13, 30, 25, 200, +1.0) before millisecond of DateTime(2000, 3, 15, 13, 30, 25, 199, +1.0) -define MillisecondBefore: DateTime(2000, 3, 15, 13, 30, 25, 200, +1.0) before millisecond of DateTime(2000, 3, 15, 13, 30, 25, 201, +1.0) -define Same: DateTime(2000, 3, 15, 13, 30, 25, 200, +1.0) before DateTime(2000, 3, 15, 13, 30, 25, 200, +1.0) -define After: DateTime(2000, 3, 15, 13, 30, 25, 200, +1.0) before DateTime(2000, 3, 15, 13, 30, 25, 199, +1.0) -define Before: DateTime(2000, 3, 15, 13, 30, 25, 200, +1.0) before DateTime(2000, 3, 15, 13, 30, 25, 201, +1.0) -define ImpreciseDay: DateTime(2000, 3, 15, 13, 30, 25, 200) before day of DateTime(2000, 3) -define ImpreciseDayMonthAfter: DateTime(2000, 3, 15, 13, 30, 25, 200) before day of DateTime(2000, 2) -define ImpreciseDayMonthBefore: DateTime(2000, 3, 15, 13, 30, 25, 200) before day of DateTime(2000, 4) -define SameHourNormalizeZones: DateTime(2000, 3, 15, 13, 30, 25, 200, +1.0) before hour of DateTime(2000, 3, 15, 7, 30, 25, 200, -5.0) -define HourAfterNormalizeZones: DateTime(2000, 3, 15, 13, 30, 25, 200, +1.0) before hour of DateTime(2000, 3, 15, 6, 30, 25, 200, -5.0) -define HourBeforeNormalizeZones: DateTime(2000, 3, 15, 13, 30, 25, 200, +1.0) before hour of DateTime(2000, 3, 15, 8, 30, 25, 200, -5.0) -define NullLeft: null before DateTime(2000, 3, 15, 13, 30, 25, 200, +1.0) -define NullRight: DateTime(2000, 3, 15, 13, 30, 25, 200, +1.0) before null -define NullBoth: (null as DateTime) before null -*/ - -module.exports['Before'] = { - "library" : { - "localId" : "0", - "annotation" : [ { - "translatorVersion" : "3.27.0", - "translatorOptions" : "EnableDateRangeOptimization,EnableAnnotations,EnableResultTypes", - "signatureLevel" : "All", - "type" : "CqlToElmInfo" - }, { - "type" : "Annotation", - "s" : { - "r" : "2027", - "s" : [ { - "value" : [ "","library TestSnippet version '1'" ] - } ] - } - } ], - "identifier" : { - "id" : "TestSnippet", - "version" : "1" - }, - "schemaIdentifier" : { - "id" : "urn:hl7-org:elm", - "version" : "r1" - }, - "usings" : { - "def" : [ { - "localId" : "1", - "localIdentifier" : "System", - "uri" : "urn:hl7-org:elm-types:r1" - }, { - "localId" : "206", - "localIdentifier" : "Simple", - "uri" : "https://github.com/cqframework/cql-execution/simple", - "version" : "1.0.0", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "206", - "s" : [ { - "value" : [ "","using " ] - }, { - "s" : [ { - "value" : [ "Simple" ] - } ] - }, { - "value" : [ " version '1.0.0'" ] - } ] - } - } ] - } ] - }, - "contexts" : { - "def" : [ { - "localId" : "211", - "name" : "Patient" - } ] - }, - "statements" : { - "def" : [ { - "localId" : "209", - "name" : "Patient", - "context" : "Patient", - "expression" : { - "localId" : "210", - "type" : "SingletonFrom", - "signature" : [ ], - "operand" : { - "localId" : "208", - "dataType" : "{https://github.com/cqframework/cql-execution/simple}Patient", - "type" : "Retrieve", - "include" : [ ], - "codeFilter" : [ ], - "dateFilter" : [ ], - "otherFilter" : [ ] - } - } - }, { - "localId" : "214", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "SameYear", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "214", - "s" : [ { - "value" : [ "","define ","SameYear",": " ] - }, { - "r" : "269", - "s" : [ { - "r" : "233", - "s" : [ { - "r" : "215", - "value" : [ "DateTime","(","2000",", ","10",", ","15",", ","13",", ","30",", ","25",", ","200",", " ] - }, { - "r" : "222", - "s" : [ { - "r" : "222", - "value" : [ "+","1.0" ] - } ] - }, { - "value" : [ ")" ] - } ] - }, { - "r" : "269", - "value" : [ " ","before year of"," " ] - }, { - "r" : "260", - "s" : [ { - "r" : "242", - "value" : [ "DateTime","(","2000",", ","11",", ","23",", ","8",", ","14",", ","47",", ","500",", " ] - }, { - "r" : "249", - "s" : [ { - "r" : "249", - "value" : [ "+","1.0" ] - } ] - }, { - "value" : [ ")" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "269", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "precision" : "Year", - "type" : "Before", - "signature" : [ { - "localId" : "270", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "271", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "233", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "234", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "235", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "236", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "237", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "238", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "239", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "240", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "241", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "215", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "216", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal" - }, - "day" : { - "localId" : "217", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal" - }, - "hour" : { - "localId" : "218", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "13", - "type" : "Literal" - }, - "minute" : { - "localId" : "219", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "30", - "type" : "Literal" - }, - "second" : { - "localId" : "220", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "25", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "221", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "200", - "type" : "Literal" - }, - "timezoneOffset" : { - "localId" : "222", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "1.0", - "type" : "Literal" - } - }, { - "localId" : "260", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "261", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "262", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "263", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "264", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "265", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "266", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "267", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "268", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "242", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "243", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "11", - "type" : "Literal" - }, - "day" : { - "localId" : "244", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "23", - "type" : "Literal" - }, - "hour" : { - "localId" : "245", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "8", - "type" : "Literal" - }, - "minute" : { - "localId" : "246", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "14", - "type" : "Literal" - }, - "second" : { - "localId" : "247", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "47", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "248", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "500", - "type" : "Literal" - }, - "timezoneOffset" : { - "localId" : "249", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "1.0", - "type" : "Literal" - } - } ] - } - }, { - "localId" : "274", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "YearAfter", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "274", - "s" : [ { - "value" : [ "","define ","YearAfter",": " ] - }, { - "r" : "329", - "s" : [ { - "r" : "293", - "s" : [ { - "r" : "275", - "value" : [ "DateTime","(","2000",", ","10",", ","15",", ","13",", ","30",", ","25",", ","200",", " ] - }, { - "r" : "282", - "s" : [ { - "r" : "282", - "value" : [ "+","1.0" ] - } ] - }, { - "value" : [ ")" ] - } ] - }, { - "r" : "329", - "value" : [ " ","before year of"," " ] - }, { - "r" : "320", - "s" : [ { - "r" : "302", - "value" : [ "DateTime","(","1999",", ","11",", ","23",", ","8",", ","14",", ","47",", ","500",", " ] - }, { - "r" : "309", - "s" : [ { - "r" : "309", - "value" : [ "+","1.0" ] - } ] - }, { - "value" : [ ")" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "329", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "precision" : "Year", - "type" : "Before", - "signature" : [ { - "localId" : "330", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "331", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "293", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "294", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "295", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "296", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "297", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "298", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "299", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "300", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "301", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "275", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "276", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal" - }, - "day" : { - "localId" : "277", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal" - }, - "hour" : { - "localId" : "278", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "13", - "type" : "Literal" - }, - "minute" : { - "localId" : "279", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "30", - "type" : "Literal" - }, - "second" : { - "localId" : "280", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "25", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "281", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "200", - "type" : "Literal" - }, - "timezoneOffset" : { - "localId" : "282", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "1.0", - "type" : "Literal" - } - }, { - "localId" : "320", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "321", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "322", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "323", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "324", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "325", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "326", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "327", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "328", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "302", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1999", - "type" : "Literal" - }, - "month" : { - "localId" : "303", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "11", - "type" : "Literal" - }, - "day" : { - "localId" : "304", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "23", - "type" : "Literal" - }, - "hour" : { - "localId" : "305", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "8", - "type" : "Literal" - }, - "minute" : { - "localId" : "306", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "14", - "type" : "Literal" - }, - "second" : { - "localId" : "307", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "47", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "308", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "500", - "type" : "Literal" - }, - "timezoneOffset" : { - "localId" : "309", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "1.0", - "type" : "Literal" - } - } ] - } - }, { - "localId" : "334", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "YearBefore", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "334", - "s" : [ { - "value" : [ "","define ","YearBefore",": " ] - }, { - "r" : "389", - "s" : [ { - "r" : "353", - "s" : [ { - "r" : "335", - "value" : [ "DateTime","(","2000",", ","10",", ","15",", ","13",", ","30",", ","25",", ","200",", " ] - }, { - "r" : "342", - "s" : [ { - "r" : "342", - "value" : [ "+","1.0" ] - } ] - }, { - "value" : [ ")" ] - } ] - }, { - "r" : "389", - "value" : [ " ","before year of"," " ] - }, { - "r" : "380", - "s" : [ { - "r" : "362", - "value" : [ "DateTime","(","2001",", ","11",", ","23",", ","8",", ","14",", ","47",", ","500",", " ] - }, { - "r" : "369", - "s" : [ { - "r" : "369", - "value" : [ "+","1.0" ] - } ] - }, { - "value" : [ ")" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "389", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "precision" : "Year", - "type" : "Before", - "signature" : [ { - "localId" : "390", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "391", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "353", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "354", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "355", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "356", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "357", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "358", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "359", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "360", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "361", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "335", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "336", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal" - }, - "day" : { - "localId" : "337", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal" - }, - "hour" : { - "localId" : "338", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "13", - "type" : "Literal" - }, - "minute" : { - "localId" : "339", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "30", - "type" : "Literal" - }, - "second" : { - "localId" : "340", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "25", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "341", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "200", - "type" : "Literal" - }, - "timezoneOffset" : { - "localId" : "342", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "1.0", - "type" : "Literal" - } - }, { - "localId" : "380", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "381", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "382", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "383", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "384", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "385", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "386", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "387", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "388", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "362", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2001", - "type" : "Literal" - }, - "month" : { - "localId" : "363", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "11", - "type" : "Literal" - }, - "day" : { - "localId" : "364", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "23", - "type" : "Literal" - }, - "hour" : { - "localId" : "365", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "8", - "type" : "Literal" - }, - "minute" : { - "localId" : "366", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "14", - "type" : "Literal" - }, - "second" : { - "localId" : "367", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "47", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "368", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "500", - "type" : "Literal" - }, - "timezoneOffset" : { - "localId" : "369", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "1.0", - "type" : "Literal" - } - } ] - } - }, { - "localId" : "394", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "SameMonth", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "394", - "s" : [ { - "value" : [ "","define ","SameMonth",": " ] - }, { - "r" : "449", - "s" : [ { - "r" : "413", - "s" : [ { - "r" : "395", - "value" : [ "DateTime","(","2000",", ","3",", ","22",", ","13",", ","30",", ","25",", ","200",", " ] - }, { - "r" : "402", - "s" : [ { - "r" : "402", - "value" : [ "+","1.0" ] - } ] - }, { - "value" : [ ")" ] - } ] - }, { - "r" : "449", - "value" : [ " ","before month of"," " ] - }, { - "r" : "440", - "s" : [ { - "r" : "422", - "value" : [ "DateTime","(","2000",", ","3",", ","23",", ","8",", ","14",", ","47",", ","500",", " ] - }, { - "r" : "429", - "s" : [ { - "r" : "429", - "value" : [ "+","1.0" ] - } ] - }, { - "value" : [ ")" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "449", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "precision" : "Month", - "type" : "Before", - "signature" : [ { - "localId" : "450", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "451", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "413", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "414", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "415", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "416", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "417", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "418", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "419", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "420", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "421", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "395", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "396", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "397", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "22", - "type" : "Literal" - }, - "hour" : { - "localId" : "398", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "13", - "type" : "Literal" - }, - "minute" : { - "localId" : "399", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "30", - "type" : "Literal" - }, - "second" : { - "localId" : "400", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "25", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "401", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "200", - "type" : "Literal" - }, - "timezoneOffset" : { - "localId" : "402", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "1.0", - "type" : "Literal" - } - }, { - "localId" : "440", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "441", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "442", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "443", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "444", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "445", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "446", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "447", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "448", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "422", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "423", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "424", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "23", - "type" : "Literal" - }, - "hour" : { - "localId" : "425", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "8", - "type" : "Literal" - }, - "minute" : { - "localId" : "426", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "14", - "type" : "Literal" - }, - "second" : { - "localId" : "427", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "47", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "428", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "500", - "type" : "Literal" - }, - "timezoneOffset" : { - "localId" : "429", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "1.0", - "type" : "Literal" - } - } ] - } - }, { - "localId" : "454", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "MonthAfter", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "454", - "s" : [ { - "value" : [ "","define ","MonthAfter",": " ] - }, { - "r" : "509", - "s" : [ { - "r" : "473", - "s" : [ { - "r" : "455", - "value" : [ "DateTime","(","2000",", ","3",", ","22",", ","13",", ","30",", ","25",", ","200",", " ] - }, { - "r" : "462", - "s" : [ { - "r" : "462", - "value" : [ "+","1.0" ] - } ] - }, { - "value" : [ ")" ] - } ] - }, { - "r" : "509", - "value" : [ " ","before month of"," " ] - }, { - "r" : "500", - "s" : [ { - "r" : "482", - "value" : [ "DateTime","(","2000",", ","2",", ","23",", ","8",", ","14",", ","47",", ","500",", " ] - }, { - "r" : "489", - "s" : [ { - "r" : "489", - "value" : [ "+","1.0" ] - } ] - }, { - "value" : [ ")" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "509", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "precision" : "Month", - "type" : "Before", - "signature" : [ { - "localId" : "510", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "511", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "473", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "474", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "475", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "476", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "477", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "478", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "479", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "480", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "481", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "455", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "456", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "457", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "22", - "type" : "Literal" - }, - "hour" : { - "localId" : "458", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "13", - "type" : "Literal" - }, - "minute" : { - "localId" : "459", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "30", - "type" : "Literal" - }, - "second" : { - "localId" : "460", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "25", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "461", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "200", - "type" : "Literal" - }, - "timezoneOffset" : { - "localId" : "462", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "1.0", - "type" : "Literal" - } - }, { - "localId" : "500", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "501", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "502", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "503", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "504", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "505", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "506", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "507", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "508", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "482", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "483", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal" - }, - "day" : { - "localId" : "484", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "23", - "type" : "Literal" - }, - "hour" : { - "localId" : "485", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "8", - "type" : "Literal" - }, - "minute" : { - "localId" : "486", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "14", - "type" : "Literal" - }, - "second" : { - "localId" : "487", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "47", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "488", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "500", - "type" : "Literal" - }, - "timezoneOffset" : { - "localId" : "489", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "1.0", - "type" : "Literal" - } - } ] - } - }, { - "localId" : "514", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "MonthBefore", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "514", - "s" : [ { - "value" : [ "","define ","MonthBefore",": " ] - }, { - "r" : "569", - "s" : [ { - "r" : "533", - "s" : [ { - "r" : "515", - "value" : [ "DateTime","(","2000",", ","3",", ","22",", ","13",", ","30",", ","25",", ","200",", " ] - }, { - "r" : "522", - "s" : [ { - "r" : "522", - "value" : [ "+","1.0" ] - } ] - }, { - "value" : [ ")" ] - } ] - }, { - "r" : "569", - "value" : [ " ","before month of"," " ] - }, { - "r" : "560", - "s" : [ { - "r" : "542", - "value" : [ "DateTime","(","2000",", ","4",", ","23",", ","8",", ","14",", ","47",", ","500",", " ] - }, { - "r" : "549", - "s" : [ { - "r" : "549", - "value" : [ "+","1.0" ] - } ] - }, { - "value" : [ ")" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "569", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "precision" : "Month", - "type" : "Before", - "signature" : [ { - "localId" : "570", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "571", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "533", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "534", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "535", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "536", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "537", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "538", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "539", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "540", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "541", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "515", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "516", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "517", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "22", - "type" : "Literal" - }, - "hour" : { - "localId" : "518", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "13", - "type" : "Literal" - }, - "minute" : { - "localId" : "519", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "30", - "type" : "Literal" - }, - "second" : { - "localId" : "520", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "25", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "521", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "200", - "type" : "Literal" - }, - "timezoneOffset" : { - "localId" : "522", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "1.0", - "type" : "Literal" - } - }, { - "localId" : "560", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "561", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "562", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "563", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "564", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "565", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "566", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "567", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "568", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "542", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "543", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "4", - "type" : "Literal" - }, - "day" : { - "localId" : "544", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "23", - "type" : "Literal" - }, - "hour" : { - "localId" : "545", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "8", - "type" : "Literal" - }, - "minute" : { - "localId" : "546", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "14", - "type" : "Literal" - }, - "second" : { - "localId" : "547", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "47", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "548", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "500", - "type" : "Literal" - }, - "timezoneOffset" : { - "localId" : "549", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "1.0", - "type" : "Literal" - } - } ] - } - }, { - "localId" : "574", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "SameDay", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "574", - "s" : [ { - "value" : [ "","define ","SameDay",": " ] - }, { - "r" : "629", - "s" : [ { - "r" : "593", - "s" : [ { - "r" : "575", - "value" : [ "DateTime","(","2000",", ","3",", ","15",", ","6",", ","30",", ","25",", ","200",", " ] - }, { - "r" : "582", - "s" : [ { - "r" : "582", - "value" : [ "+","1.0" ] - } ] - }, { - "value" : [ ")" ] - } ] - }, { - "r" : "629", - "value" : [ " ","before day of"," " ] - }, { - "r" : "620", - "s" : [ { - "r" : "602", - "value" : [ "DateTime","(","2000",", ","3",", ","15",", ","8",", ","14",", ","47",", ","500",", " ] - }, { - "r" : "609", - "s" : [ { - "r" : "609", - "value" : [ "+","1.0" ] - } ] - }, { - "value" : [ ")" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "629", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "precision" : "Day", - "type" : "Before", - "signature" : [ { - "localId" : "630", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "631", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "593", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "594", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "595", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "596", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "597", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "598", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "599", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "600", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "601", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "575", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "576", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "577", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal" - }, - "hour" : { - "localId" : "578", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "6", - "type" : "Literal" - }, - "minute" : { - "localId" : "579", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "30", - "type" : "Literal" - }, - "second" : { - "localId" : "580", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "25", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "581", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "200", - "type" : "Literal" - }, - "timezoneOffset" : { - "localId" : "582", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "1.0", - "type" : "Literal" - } - }, { - "localId" : "620", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "621", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "622", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "623", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "624", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "625", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "626", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "627", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "628", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "602", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "603", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "604", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal" - }, - "hour" : { - "localId" : "605", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "8", - "type" : "Literal" - }, - "minute" : { - "localId" : "606", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "14", - "type" : "Literal" - }, - "second" : { - "localId" : "607", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "47", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "608", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "500", - "type" : "Literal" - }, - "timezoneOffset" : { - "localId" : "609", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "1.0", - "type" : "Literal" - } - } ] - } - }, { - "localId" : "634", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "DayAfter", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "634", - "s" : [ { - "value" : [ "","define ","DayAfter",": " ] - }, { - "r" : "689", - "s" : [ { - "r" : "653", - "s" : [ { - "r" : "635", - "value" : [ "DateTime","(","2000",", ","3",", ","15",", ","6",", ","30",", ","25",", ","200",", " ] - }, { - "r" : "642", - "s" : [ { - "r" : "642", - "value" : [ "+","1.0" ] - } ] - }, { - "value" : [ ")" ] - } ] - }, { - "r" : "689", - "value" : [ " ","before day of"," " ] - }, { - "r" : "680", - "s" : [ { - "r" : "662", - "value" : [ "DateTime","(","2000",", ","3",", ","14",", ","8",", ","14",", ","47",", ","500",", " ] - }, { - "r" : "669", - "s" : [ { - "r" : "669", - "value" : [ "+","1.0" ] - } ] - }, { - "value" : [ ")" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "689", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "precision" : "Day", - "type" : "Before", - "signature" : [ { - "localId" : "690", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "691", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "653", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "654", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "655", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "656", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "657", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "658", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "659", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "660", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "661", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "635", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "636", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "637", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal" - }, - "hour" : { - "localId" : "638", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "6", - "type" : "Literal" - }, - "minute" : { - "localId" : "639", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "30", - "type" : "Literal" - }, - "second" : { - "localId" : "640", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "25", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "641", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "200", - "type" : "Literal" - }, - "timezoneOffset" : { - "localId" : "642", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "1.0", - "type" : "Literal" - } - }, { - "localId" : "680", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "681", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "682", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "683", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "684", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "685", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "686", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "687", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "688", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "662", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "663", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "664", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "14", - "type" : "Literal" - }, - "hour" : { - "localId" : "665", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "8", - "type" : "Literal" - }, - "minute" : { - "localId" : "666", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "14", - "type" : "Literal" - }, - "second" : { - "localId" : "667", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "47", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "668", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "500", - "type" : "Literal" - }, - "timezoneOffset" : { - "localId" : "669", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "1.0", - "type" : "Literal" - } - } ] - } - }, { - "localId" : "694", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "DayBefore", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "694", - "s" : [ { - "value" : [ "","define ","DayBefore",": " ] - }, { - "r" : "749", - "s" : [ { - "r" : "713", - "s" : [ { - "r" : "695", - "value" : [ "DateTime","(","2000",", ","3",", ","15",", ","6",", ","30",", ","25",", ","200",", " ] - }, { - "r" : "702", - "s" : [ { - "r" : "702", - "value" : [ "+","1.0" ] - } ] - }, { - "value" : [ ")" ] - } ] - }, { - "r" : "749", - "value" : [ " ","before day of"," " ] - }, { - "r" : "740", - "s" : [ { - "r" : "722", - "value" : [ "DateTime","(","2000",", ","3",", ","16",", ","8",", ","14",", ","47",", ","500",", " ] - }, { - "r" : "729", - "s" : [ { - "r" : "729", - "value" : [ "+","1.0" ] - } ] - }, { - "value" : [ ")" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "749", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "precision" : "Day", - "type" : "Before", - "signature" : [ { - "localId" : "750", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "751", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "713", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "714", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "715", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "716", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "717", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "718", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "719", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "720", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "721", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "695", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "696", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "697", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal" - }, - "hour" : { - "localId" : "698", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "6", - "type" : "Literal" - }, - "minute" : { - "localId" : "699", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "30", - "type" : "Literal" - }, - "second" : { - "localId" : "700", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "25", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "701", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "200", - "type" : "Literal" - }, - "timezoneOffset" : { - "localId" : "702", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "1.0", - "type" : "Literal" - } - }, { - "localId" : "740", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "741", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "742", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "743", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "744", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "745", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "746", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "747", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "748", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "722", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "723", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "724", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "16", - "type" : "Literal" - }, - "hour" : { - "localId" : "725", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "8", - "type" : "Literal" - }, - "minute" : { - "localId" : "726", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "14", - "type" : "Literal" - }, - "second" : { - "localId" : "727", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "47", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "728", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "500", - "type" : "Literal" - }, - "timezoneOffset" : { - "localId" : "729", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "1.0", - "type" : "Literal" - } - } ] - } - }, { - "localId" : "754", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "SameHour", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "754", - "s" : [ { - "value" : [ "","define ","SameHour",": " ] - }, { - "r" : "809", - "s" : [ { - "r" : "773", - "s" : [ { - "r" : "755", - "value" : [ "DateTime","(","2000",", ","3",", ","15",", ","13",", ","10",", ","25",", ","200",", " ] - }, { - "r" : "762", - "s" : [ { - "r" : "762", - "value" : [ "+","1.0" ] - } ] - }, { - "value" : [ ")" ] - } ] - }, { - "r" : "809", - "value" : [ " ","before hour of"," " ] - }, { - "r" : "800", - "s" : [ { - "r" : "782", - "value" : [ "DateTime","(","2000",", ","3",", ","15",", ","13",", ","14",", ","47",", ","500",", " ] - }, { - "r" : "789", - "s" : [ { - "r" : "789", - "value" : [ "+","1.0" ] - } ] - }, { - "value" : [ ")" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "809", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "precision" : "Hour", - "type" : "Before", - "signature" : [ { - "localId" : "810", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "811", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "773", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "774", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "775", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "776", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "777", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "778", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "779", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "780", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "781", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "755", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "756", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "757", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal" - }, - "hour" : { - "localId" : "758", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "13", - "type" : "Literal" - }, - "minute" : { - "localId" : "759", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal" - }, - "second" : { - "localId" : "760", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "25", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "761", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "200", - "type" : "Literal" - }, - "timezoneOffset" : { - "localId" : "762", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "1.0", - "type" : "Literal" - } - }, { - "localId" : "800", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "801", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "802", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "803", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "804", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "805", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "806", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "807", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "808", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "782", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "783", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "784", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal" - }, - "hour" : { - "localId" : "785", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "13", - "type" : "Literal" - }, - "minute" : { - "localId" : "786", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "14", - "type" : "Literal" - }, - "second" : { - "localId" : "787", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "47", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "788", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "500", - "type" : "Literal" - }, - "timezoneOffset" : { - "localId" : "789", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "1.0", - "type" : "Literal" - } - } ] - } - }, { - "localId" : "814", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "HourAfter", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "814", - "s" : [ { - "value" : [ "","define ","HourAfter",": " ] - }, { - "r" : "869", - "s" : [ { - "r" : "833", - "s" : [ { - "r" : "815", - "value" : [ "DateTime","(","2000",", ","3",", ","15",", ","13",", ","10",", ","25",", ","200",", " ] - }, { - "r" : "822", - "s" : [ { - "r" : "822", - "value" : [ "+","1.0" ] - } ] - }, { - "value" : [ ")" ] - } ] - }, { - "r" : "869", - "value" : [ " ","before hour of"," " ] - }, { - "r" : "860", - "s" : [ { - "r" : "842", - "value" : [ "DateTime","(","2000",", ","3",", ","15",", ","12",", ","14",", ","47",", ","500",", " ] - }, { - "r" : "849", - "s" : [ { - "r" : "849", - "value" : [ "+","1.0" ] - } ] - }, { - "value" : [ ")" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "869", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "precision" : "Hour", - "type" : "Before", - "signature" : [ { - "localId" : "870", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "871", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "833", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "834", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "835", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "836", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "837", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "838", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "839", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "840", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "841", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "815", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "816", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "817", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal" - }, - "hour" : { - "localId" : "818", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "13", - "type" : "Literal" - }, - "minute" : { - "localId" : "819", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal" - }, - "second" : { - "localId" : "820", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "25", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "821", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "200", - "type" : "Literal" - }, - "timezoneOffset" : { - "localId" : "822", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "1.0", - "type" : "Literal" - } - }, { - "localId" : "860", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "861", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "862", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "863", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "864", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "865", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "866", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "867", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "868", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "842", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "843", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "844", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal" - }, - "hour" : { - "localId" : "845", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "12", - "type" : "Literal" - }, - "minute" : { - "localId" : "846", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "14", - "type" : "Literal" - }, - "second" : { - "localId" : "847", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "47", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "848", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "500", - "type" : "Literal" - }, - "timezoneOffset" : { - "localId" : "849", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "1.0", - "type" : "Literal" - } - } ] - } - }, { - "localId" : "874", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "HourBefore", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "874", - "s" : [ { - "value" : [ "","define ","HourBefore",": " ] - }, { - "r" : "929", - "s" : [ { - "r" : "893", - "s" : [ { - "r" : "875", - "value" : [ "DateTime","(","2000",", ","3",", ","15",", ","13",", ","10",", ","25",", ","200",", " ] - }, { - "r" : "882", - "s" : [ { - "r" : "882", - "value" : [ "+","1.0" ] - } ] - }, { - "value" : [ ")" ] - } ] - }, { - "r" : "929", - "value" : [ " ","before hour of"," " ] - }, { - "r" : "920", - "s" : [ { - "r" : "902", - "value" : [ "DateTime","(","2000",", ","3",", ","15",", ","14",", ","14",", ","47",", ","500",", " ] - }, { - "r" : "909", - "s" : [ { - "r" : "909", - "value" : [ "+","1.0" ] - } ] - }, { - "value" : [ ")" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "929", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "precision" : "Hour", - "type" : "Before", - "signature" : [ { - "localId" : "930", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "931", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "893", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "894", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "895", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "896", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "897", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "898", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "899", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "900", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "901", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "875", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "876", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "877", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal" - }, - "hour" : { - "localId" : "878", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "13", - "type" : "Literal" - }, - "minute" : { - "localId" : "879", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal" - }, - "second" : { - "localId" : "880", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "25", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "881", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "200", - "type" : "Literal" - }, - "timezoneOffset" : { - "localId" : "882", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "1.0", - "type" : "Literal" - } - }, { - "localId" : "920", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "921", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "922", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "923", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "924", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "925", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "926", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "927", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "928", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "902", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "903", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "904", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal" - }, - "hour" : { - "localId" : "905", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "14", - "type" : "Literal" - }, - "minute" : { - "localId" : "906", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "14", - "type" : "Literal" - }, - "second" : { - "localId" : "907", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "47", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "908", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "500", - "type" : "Literal" - }, - "timezoneOffset" : { - "localId" : "909", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "1.0", - "type" : "Literal" - } - } ] - } - }, { - "localId" : "934", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "SameMinute", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "934", - "s" : [ { - "value" : [ "","define ","SameMinute",": " ] - }, { - "r" : "989", - "s" : [ { - "r" : "953", - "s" : [ { - "r" : "935", - "value" : [ "DateTime","(","2000",", ","3",", ","15",", ","13",", ","30",", ","44",", ","200",", " ] - }, { - "r" : "942", - "s" : [ { - "r" : "942", - "value" : [ "+","1.0" ] - } ] - }, { - "value" : [ ")" ] - } ] - }, { - "r" : "989", - "value" : [ " ","before minute of"," " ] - }, { - "r" : "980", - "s" : [ { - "r" : "962", - "value" : [ "DateTime","(","2000",", ","3",", ","15",", ","13",", ","30",", ","47",", ","500",", " ] - }, { - "r" : "969", - "s" : [ { - "r" : "969", - "value" : [ "+","1.0" ] - } ] - }, { - "value" : [ ")" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "989", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "precision" : "Minute", - "type" : "Before", - "signature" : [ { - "localId" : "990", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "991", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "953", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "954", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "955", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "956", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "957", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "958", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "959", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "960", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "961", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "935", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "936", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "937", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal" - }, - "hour" : { - "localId" : "938", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "13", - "type" : "Literal" - }, - "minute" : { - "localId" : "939", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "30", - "type" : "Literal" - }, - "second" : { - "localId" : "940", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "44", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "941", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "200", - "type" : "Literal" - }, - "timezoneOffset" : { - "localId" : "942", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "1.0", - "type" : "Literal" - } - }, { - "localId" : "980", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "981", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "982", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "983", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "984", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "985", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "986", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "987", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "988", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "962", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "963", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "964", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal" - }, - "hour" : { - "localId" : "965", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "13", - "type" : "Literal" - }, - "minute" : { - "localId" : "966", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "30", - "type" : "Literal" - }, - "second" : { - "localId" : "967", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "47", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "968", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "500", - "type" : "Literal" - }, - "timezoneOffset" : { - "localId" : "969", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "1.0", - "type" : "Literal" - } - } ] - } - }, { - "localId" : "994", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "MinuteAfter", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "994", - "s" : [ { - "value" : [ "","define ","MinuteAfter",": " ] - }, { - "r" : "1049", - "s" : [ { - "r" : "1013", - "s" : [ { - "r" : "995", - "value" : [ "DateTime","(","2000",", ","3",", ","15",", ","13",", ","30",", ","44",", ","200",", " ] - }, { - "r" : "1002", - "s" : [ { - "r" : "1002", - "value" : [ "+","1.0" ] - } ] - }, { - "value" : [ ")" ] - } ] - }, { - "r" : "1049", - "value" : [ " ","before minute of"," " ] - }, { - "r" : "1040", - "s" : [ { - "r" : "1022", - "value" : [ "DateTime","(","2000",", ","3",", ","15",", ","13",", ","29",", ","47",", ","500",", " ] - }, { - "r" : "1029", - "s" : [ { - "r" : "1029", - "value" : [ "+","1.0" ] - } ] - }, { - "value" : [ ")" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "1049", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "precision" : "Minute", - "type" : "Before", - "signature" : [ { - "localId" : "1050", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1051", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "1013", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "1014", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1015", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1016", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1017", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1018", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1019", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1020", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1021", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "995", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "996", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "997", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal" - }, - "hour" : { - "localId" : "998", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "13", - "type" : "Literal" - }, - "minute" : { - "localId" : "999", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "30", - "type" : "Literal" - }, - "second" : { - "localId" : "1000", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "44", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "1001", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "200", - "type" : "Literal" - }, - "timezoneOffset" : { - "localId" : "1002", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "1.0", - "type" : "Literal" - } - }, { - "localId" : "1040", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "1041", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1042", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1043", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1044", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1045", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1046", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1047", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1048", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1022", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "1023", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "1024", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal" - }, - "hour" : { - "localId" : "1025", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "13", - "type" : "Literal" - }, - "minute" : { - "localId" : "1026", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "29", - "type" : "Literal" - }, - "second" : { - "localId" : "1027", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "47", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "1028", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "500", - "type" : "Literal" - }, - "timezoneOffset" : { - "localId" : "1029", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "1.0", - "type" : "Literal" - } - } ] - } - }, { - "localId" : "1054", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "MinuteBefore", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "1054", - "s" : [ { - "value" : [ "","define ","MinuteBefore",": " ] - }, { - "r" : "1109", - "s" : [ { - "r" : "1073", - "s" : [ { - "r" : "1055", - "value" : [ "DateTime","(","2000",", ","3",", ","15",", ","13",", ","30",", ","44",", ","200",", " ] - }, { - "r" : "1062", - "s" : [ { - "r" : "1062", - "value" : [ "+","1.0" ] - } ] - }, { - "value" : [ ")" ] - } ] - }, { - "r" : "1109", - "value" : [ " ","before minute of"," " ] - }, { - "r" : "1100", - "s" : [ { - "r" : "1082", - "value" : [ "DateTime","(","2000",", ","3",", ","15",", ","13",", ","31",", ","47",", ","500",", " ] - }, { - "r" : "1089", - "s" : [ { - "r" : "1089", - "value" : [ "+","1.0" ] - } ] - }, { - "value" : [ ")" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "1109", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "precision" : "Minute", - "type" : "Before", - "signature" : [ { - "localId" : "1110", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1111", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "1073", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "1074", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1075", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1076", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1077", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1078", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1079", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1080", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1081", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1055", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "1056", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "1057", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal" - }, - "hour" : { - "localId" : "1058", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "13", - "type" : "Literal" - }, - "minute" : { - "localId" : "1059", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "30", - "type" : "Literal" - }, - "second" : { - "localId" : "1060", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "44", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "1061", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "200", - "type" : "Literal" - }, - "timezoneOffset" : { - "localId" : "1062", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "1.0", - "type" : "Literal" - } - }, { - "localId" : "1100", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "1101", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1102", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1103", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1104", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1105", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1106", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1107", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1108", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1082", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "1083", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "1084", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal" - }, - "hour" : { - "localId" : "1085", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "13", - "type" : "Literal" - }, - "minute" : { - "localId" : "1086", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "31", - "type" : "Literal" - }, - "second" : { - "localId" : "1087", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "47", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "1088", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "500", - "type" : "Literal" - }, - "timezoneOffset" : { - "localId" : "1089", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "1.0", - "type" : "Literal" - } - } ] - } - }, { - "localId" : "1114", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "SameSecond", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "1114", - "s" : [ { - "value" : [ "","define ","SameSecond",": " ] - }, { - "r" : "1169", - "s" : [ { - "r" : "1133", - "s" : [ { - "r" : "1115", - "value" : [ "DateTime","(","2000",", ","3",", ","15",", ","13",", ","30",", ","25",", ","200",", " ] - }, { - "r" : "1122", - "s" : [ { - "r" : "1122", - "value" : [ "+","1.0" ] - } ] - }, { - "value" : [ ")" ] - } ] - }, { - "r" : "1169", - "value" : [ " ","before second of"," " ] - }, { - "r" : "1160", - "s" : [ { - "r" : "1142", - "value" : [ "DateTime","(","2000",", ","3",", ","15",", ","13",", ","30",", ","25",", ","500",", " ] - }, { - "r" : "1149", - "s" : [ { - "r" : "1149", - "value" : [ "+","1.0" ] - } ] - }, { - "value" : [ ")" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "1169", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "precision" : "Second", - "type" : "Before", - "signature" : [ { - "localId" : "1170", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1171", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "1133", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "1134", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1135", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1136", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1137", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1138", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1139", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1140", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1141", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1115", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "1116", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "1117", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal" - }, - "hour" : { - "localId" : "1118", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "13", - "type" : "Literal" - }, - "minute" : { - "localId" : "1119", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "30", - "type" : "Literal" - }, - "second" : { - "localId" : "1120", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "25", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "1121", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "200", - "type" : "Literal" - }, - "timezoneOffset" : { - "localId" : "1122", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "1.0", - "type" : "Literal" - } - }, { - "localId" : "1160", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "1161", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1162", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1163", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1164", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1165", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1166", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1167", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1168", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1142", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "1143", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "1144", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal" - }, - "hour" : { - "localId" : "1145", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "13", - "type" : "Literal" - }, - "minute" : { - "localId" : "1146", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "30", - "type" : "Literal" - }, - "second" : { - "localId" : "1147", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "25", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "1148", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "500", - "type" : "Literal" - }, - "timezoneOffset" : { - "localId" : "1149", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "1.0", - "type" : "Literal" - } - } ] - } - }, { - "localId" : "1174", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "SecondAfter", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "1174", - "s" : [ { - "value" : [ "","define ","SecondAfter",": " ] - }, { - "r" : "1229", - "s" : [ { - "r" : "1193", - "s" : [ { - "r" : "1175", - "value" : [ "DateTime","(","2000",", ","3",", ","15",", ","13",", ","30",", ","25",", ","200",", " ] - }, { - "r" : "1182", - "s" : [ { - "r" : "1182", - "value" : [ "+","1.0" ] - } ] - }, { - "value" : [ ")" ] - } ] - }, { - "r" : "1229", - "value" : [ " ","before second of"," " ] - }, { - "r" : "1220", - "s" : [ { - "r" : "1202", - "value" : [ "DateTime","(","2000",", ","3",", ","15",", ","13",", ","30",", ","24",", ","500",", " ] - }, { - "r" : "1209", - "s" : [ { - "r" : "1209", - "value" : [ "+","1.0" ] - } ] - }, { - "value" : [ ")" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "1229", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "precision" : "Second", - "type" : "Before", - "signature" : [ { - "localId" : "1230", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1231", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "1193", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "1194", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1195", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1196", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1197", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1198", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1199", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1200", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1201", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1175", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "1176", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "1177", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal" - }, - "hour" : { - "localId" : "1178", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "13", - "type" : "Literal" - }, - "minute" : { - "localId" : "1179", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "30", - "type" : "Literal" - }, - "second" : { - "localId" : "1180", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "25", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "1181", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "200", - "type" : "Literal" - }, - "timezoneOffset" : { - "localId" : "1182", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "1.0", - "type" : "Literal" - } - }, { - "localId" : "1220", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "1221", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1222", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1223", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1224", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1225", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1226", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1227", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1228", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1202", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "1203", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "1204", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal" - }, - "hour" : { - "localId" : "1205", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "13", - "type" : "Literal" - }, - "minute" : { - "localId" : "1206", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "30", - "type" : "Literal" - }, - "second" : { - "localId" : "1207", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "24", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "1208", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "500", - "type" : "Literal" - }, - "timezoneOffset" : { - "localId" : "1209", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "1.0", - "type" : "Literal" - } - } ] - } - }, { - "localId" : "1234", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "SecondBefore", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "1234", - "s" : [ { - "value" : [ "","define ","SecondBefore",": " ] - }, { - "r" : "1289", - "s" : [ { - "r" : "1253", - "s" : [ { - "r" : "1235", - "value" : [ "DateTime","(","2000",", ","3",", ","15",", ","13",", ","30",", ","25",", ","200",", " ] - }, { - "r" : "1242", - "s" : [ { - "r" : "1242", - "value" : [ "+","1.0" ] - } ] - }, { - "value" : [ ")" ] - } ] - }, { - "r" : "1289", - "value" : [ " ","before second of"," " ] - }, { - "r" : "1280", - "s" : [ { - "r" : "1262", - "value" : [ "DateTime","(","2000",", ","3",", ","15",", ","13",", ","30",", ","26",", ","500",", " ] - }, { - "r" : "1269", - "s" : [ { - "r" : "1269", - "value" : [ "+","1.0" ] - } ] - }, { - "value" : [ ")" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "1289", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "precision" : "Second", - "type" : "Before", - "signature" : [ { - "localId" : "1290", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1291", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "1253", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "1254", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1255", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1256", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1257", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1258", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1259", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1260", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1261", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1235", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "1236", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "1237", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal" - }, - "hour" : { - "localId" : "1238", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "13", - "type" : "Literal" - }, - "minute" : { - "localId" : "1239", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "30", - "type" : "Literal" - }, - "second" : { - "localId" : "1240", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "25", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "1241", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "200", - "type" : "Literal" - }, - "timezoneOffset" : { - "localId" : "1242", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "1.0", - "type" : "Literal" - } - }, { - "localId" : "1280", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "1281", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1282", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1283", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1284", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1285", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1286", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1287", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1288", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1262", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "1263", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "1264", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal" - }, - "hour" : { - "localId" : "1265", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "13", - "type" : "Literal" - }, - "minute" : { - "localId" : "1266", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "30", - "type" : "Literal" - }, - "second" : { - "localId" : "1267", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "26", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "1268", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "500", - "type" : "Literal" - }, - "timezoneOffset" : { - "localId" : "1269", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "1.0", - "type" : "Literal" - } - } ] - } - }, { - "localId" : "1294", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "SameMillisecond", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "1294", - "s" : [ { - "value" : [ "","define ","SameMillisecond",": " ] - }, { - "r" : "1349", - "s" : [ { - "r" : "1313", - "s" : [ { - "r" : "1295", - "value" : [ "DateTime","(","2000",", ","3",", ","15",", ","13",", ","30",", ","25",", ","200",", " ] - }, { - "r" : "1302", - "s" : [ { - "r" : "1302", - "value" : [ "+","1.0" ] - } ] - }, { - "value" : [ ")" ] - } ] - }, { - "r" : "1349", - "value" : [ " ","before millisecond of"," " ] - }, { - "r" : "1340", - "s" : [ { - "r" : "1322", - "value" : [ "DateTime","(","2000",", ","3",", ","15",", ","13",", ","30",", ","25",", ","200",", " ] - }, { - "r" : "1329", - "s" : [ { - "r" : "1329", - "value" : [ "+","1.0" ] - } ] - }, { - "value" : [ ")" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "1349", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "precision" : "Millisecond", - "type" : "Before", - "signature" : [ { - "localId" : "1350", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1351", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "1313", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "1314", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1315", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1316", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1317", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1318", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1319", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1320", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1321", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1295", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "1296", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "1297", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal" - }, - "hour" : { - "localId" : "1298", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "13", - "type" : "Literal" - }, - "minute" : { - "localId" : "1299", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "30", - "type" : "Literal" - }, - "second" : { - "localId" : "1300", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "25", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "1301", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "200", - "type" : "Literal" - }, - "timezoneOffset" : { - "localId" : "1302", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "1.0", - "type" : "Literal" - } - }, { - "localId" : "1340", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "1341", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1342", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1343", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1344", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1345", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1346", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1347", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1348", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1322", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "1323", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "1324", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal" - }, - "hour" : { - "localId" : "1325", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "13", - "type" : "Literal" - }, - "minute" : { - "localId" : "1326", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "30", - "type" : "Literal" - }, - "second" : { - "localId" : "1327", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "25", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "1328", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "200", - "type" : "Literal" - }, - "timezoneOffset" : { - "localId" : "1329", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "1.0", - "type" : "Literal" - } - } ] - } - }, { - "localId" : "1354", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "MillisecondAfter", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "1354", - "s" : [ { - "value" : [ "","define ","MillisecondAfter",": " ] - }, { - "r" : "1409", - "s" : [ { - "r" : "1373", - "s" : [ { - "r" : "1355", - "value" : [ "DateTime","(","2000",", ","3",", ","15",", ","13",", ","30",", ","25",", ","200",", " ] - }, { - "r" : "1362", - "s" : [ { - "r" : "1362", - "value" : [ "+","1.0" ] - } ] - }, { - "value" : [ ")" ] - } ] - }, { - "r" : "1409", - "value" : [ " ","before millisecond of"," " ] - }, { - "r" : "1400", - "s" : [ { - "r" : "1382", - "value" : [ "DateTime","(","2000",", ","3",", ","15",", ","13",", ","30",", ","25",", ","199",", " ] - }, { - "r" : "1389", - "s" : [ { - "r" : "1389", - "value" : [ "+","1.0" ] - } ] - }, { - "value" : [ ")" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "1409", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "precision" : "Millisecond", - "type" : "Before", - "signature" : [ { - "localId" : "1410", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1411", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "1373", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "1374", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1375", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1376", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1377", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1378", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1379", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1380", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1381", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1355", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "1356", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "1357", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal" - }, - "hour" : { - "localId" : "1358", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "13", - "type" : "Literal" - }, - "minute" : { - "localId" : "1359", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "30", - "type" : "Literal" - }, - "second" : { - "localId" : "1360", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "25", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "1361", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "200", - "type" : "Literal" - }, - "timezoneOffset" : { - "localId" : "1362", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "1.0", - "type" : "Literal" - } - }, { - "localId" : "1400", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "1401", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1402", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1403", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1404", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1405", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1406", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1407", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1408", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1382", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "1383", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "1384", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal" - }, - "hour" : { - "localId" : "1385", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "13", - "type" : "Literal" - }, - "minute" : { - "localId" : "1386", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "30", - "type" : "Literal" - }, - "second" : { - "localId" : "1387", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "25", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "1388", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "199", - "type" : "Literal" - }, - "timezoneOffset" : { - "localId" : "1389", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "1.0", - "type" : "Literal" - } - } ] - } - }, { - "localId" : "1414", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "MillisecondBefore", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "1414", - "s" : [ { - "value" : [ "","define ","MillisecondBefore",": " ] - }, { - "r" : "1469", - "s" : [ { - "r" : "1433", - "s" : [ { - "r" : "1415", - "value" : [ "DateTime","(","2000",", ","3",", ","15",", ","13",", ","30",", ","25",", ","200",", " ] - }, { - "r" : "1422", - "s" : [ { - "r" : "1422", - "value" : [ "+","1.0" ] - } ] - }, { - "value" : [ ")" ] - } ] - }, { - "r" : "1469", - "value" : [ " ","before millisecond of"," " ] - }, { - "r" : "1460", - "s" : [ { - "r" : "1442", - "value" : [ "DateTime","(","2000",", ","3",", ","15",", ","13",", ","30",", ","25",", ","201",", " ] - }, { - "r" : "1449", - "s" : [ { - "r" : "1449", - "value" : [ "+","1.0" ] - } ] - }, { - "value" : [ ")" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "1469", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "precision" : "Millisecond", - "type" : "Before", - "signature" : [ { - "localId" : "1470", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1471", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "1433", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "1434", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1435", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1436", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1437", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1438", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1439", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1440", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1441", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1415", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "1416", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "1417", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal" - }, - "hour" : { - "localId" : "1418", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "13", - "type" : "Literal" - }, - "minute" : { - "localId" : "1419", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "30", - "type" : "Literal" - }, - "second" : { - "localId" : "1420", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "25", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "1421", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "200", - "type" : "Literal" - }, - "timezoneOffset" : { - "localId" : "1422", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "1.0", - "type" : "Literal" - } - }, { - "localId" : "1460", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "1461", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1462", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1463", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1464", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1465", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1466", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1467", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1468", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1442", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "1443", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "1444", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal" - }, - "hour" : { - "localId" : "1445", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "13", - "type" : "Literal" - }, - "minute" : { - "localId" : "1446", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "30", - "type" : "Literal" - }, - "second" : { - "localId" : "1447", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "25", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "1448", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "201", - "type" : "Literal" - }, - "timezoneOffset" : { - "localId" : "1449", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "1.0", - "type" : "Literal" - } - } ] - } - }, { - "localId" : "1474", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "Same", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "1474", - "s" : [ { - "value" : [ "","define ","Same",": " ] - }, { - "r" : "1529", - "s" : [ { - "r" : "1493", - "s" : [ { - "r" : "1475", - "value" : [ "DateTime","(","2000",", ","3",", ","15",", ","13",", ","30",", ","25",", ","200",", " ] - }, { - "r" : "1482", - "s" : [ { - "r" : "1482", - "value" : [ "+","1.0" ] - } ] - }, { - "value" : [ ")" ] - } ] - }, { - "r" : "1529", - "value" : [ " ","before"," " ] - }, { - "r" : "1520", - "s" : [ { - "r" : "1502", - "value" : [ "DateTime","(","2000",", ","3",", ","15",", ","13",", ","30",", ","25",", ","200",", " ] - }, { - "r" : "1509", - "s" : [ { - "r" : "1509", - "value" : [ "+","1.0" ] - } ] - }, { - "value" : [ ")" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "1529", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "Before", - "signature" : [ { - "localId" : "1530", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1531", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "1493", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "1494", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1495", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1496", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1497", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1498", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1499", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1500", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1501", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1475", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "1476", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "1477", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal" - }, - "hour" : { - "localId" : "1478", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "13", - "type" : "Literal" - }, - "minute" : { - "localId" : "1479", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "30", - "type" : "Literal" - }, - "second" : { - "localId" : "1480", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "25", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "1481", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "200", - "type" : "Literal" - }, - "timezoneOffset" : { - "localId" : "1482", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "1.0", - "type" : "Literal" - } - }, { - "localId" : "1520", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "1521", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1522", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1523", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1524", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1525", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1526", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1527", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1528", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1502", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "1503", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "1504", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal" - }, - "hour" : { - "localId" : "1505", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "13", - "type" : "Literal" - }, - "minute" : { - "localId" : "1506", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "30", - "type" : "Literal" - }, - "second" : { - "localId" : "1507", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "25", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "1508", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "200", - "type" : "Literal" - }, - "timezoneOffset" : { - "localId" : "1509", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "1.0", - "type" : "Literal" - } - } ] - } - }, { - "localId" : "1534", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "After", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "1534", - "s" : [ { - "value" : [ "","define ","After",": " ] - }, { - "r" : "1589", - "s" : [ { - "r" : "1553", - "s" : [ { - "r" : "1535", - "value" : [ "DateTime","(","2000",", ","3",", ","15",", ","13",", ","30",", ","25",", ","200",", " ] - }, { - "r" : "1542", - "s" : [ { - "r" : "1542", - "value" : [ "+","1.0" ] - } ] - }, { - "value" : [ ")" ] - } ] - }, { - "r" : "1589", - "value" : [ " ","before"," " ] - }, { - "r" : "1580", - "s" : [ { - "r" : "1562", - "value" : [ "DateTime","(","2000",", ","3",", ","15",", ","13",", ","30",", ","25",", ","199",", " ] - }, { - "r" : "1569", - "s" : [ { - "r" : "1569", - "value" : [ "+","1.0" ] - } ] - }, { - "value" : [ ")" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "1589", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "Before", - "signature" : [ { - "localId" : "1590", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1591", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "1553", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "1554", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1555", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1556", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1557", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1558", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1559", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1560", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1561", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1535", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "1536", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "1537", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal" - }, - "hour" : { - "localId" : "1538", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "13", - "type" : "Literal" - }, - "minute" : { - "localId" : "1539", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "30", - "type" : "Literal" - }, - "second" : { - "localId" : "1540", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "25", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "1541", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "200", - "type" : "Literal" - }, - "timezoneOffset" : { - "localId" : "1542", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "1.0", - "type" : "Literal" - } - }, { - "localId" : "1580", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "1581", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1582", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1583", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1584", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1585", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1586", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1587", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1588", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1562", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "1563", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "1564", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal" - }, - "hour" : { - "localId" : "1565", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "13", - "type" : "Literal" - }, - "minute" : { - "localId" : "1566", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "30", - "type" : "Literal" - }, - "second" : { - "localId" : "1567", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "25", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "1568", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "199", - "type" : "Literal" - }, - "timezoneOffset" : { - "localId" : "1569", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "1.0", - "type" : "Literal" - } - } ] - } - }, { - "localId" : "1594", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "Before", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "1594", - "s" : [ { - "value" : [ "","define ","Before",": " ] - }, { - "r" : "1649", - "s" : [ { - "r" : "1613", - "s" : [ { - "r" : "1595", - "value" : [ "DateTime","(","2000",", ","3",", ","15",", ","13",", ","30",", ","25",", ","200",", " ] - }, { - "r" : "1602", - "s" : [ { - "r" : "1602", - "value" : [ "+","1.0" ] - } ] - }, { - "value" : [ ")" ] - } ] - }, { - "r" : "1649", - "value" : [ " ","before"," " ] - }, { - "r" : "1640", - "s" : [ { - "r" : "1622", - "value" : [ "DateTime","(","2000",", ","3",", ","15",", ","13",", ","30",", ","25",", ","201",", " ] - }, { - "r" : "1629", - "s" : [ { - "r" : "1629", - "value" : [ "+","1.0" ] - } ] - }, { - "value" : [ ")" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "1649", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "Before", - "signature" : [ { - "localId" : "1650", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1651", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "1613", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "1614", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1615", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1616", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1617", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1618", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1619", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1620", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1621", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1595", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "1596", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "1597", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal" - }, - "hour" : { - "localId" : "1598", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "13", - "type" : "Literal" - }, - "minute" : { - "localId" : "1599", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "30", - "type" : "Literal" - }, - "second" : { - "localId" : "1600", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "25", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "1601", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "200", - "type" : "Literal" - }, - "timezoneOffset" : { - "localId" : "1602", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "1.0", - "type" : "Literal" - } - }, { - "localId" : "1640", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "1641", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1642", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1643", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1644", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1645", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1646", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1647", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1648", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1622", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "1623", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "1624", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal" - }, - "hour" : { - "localId" : "1625", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "13", - "type" : "Literal" - }, - "minute" : { - "localId" : "1626", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "30", - "type" : "Literal" - }, - "second" : { - "localId" : "1627", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "25", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "1628", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "201", - "type" : "Literal" - }, - "timezoneOffset" : { - "localId" : "1629", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "1.0", - "type" : "Literal" - } - } ] - } - }, { + "value" : [ "", "define ", "NotSameYear", ": " ] + }, { + "r" : "329", + "s" : [ { + "r" : "293", + "s" : [ { + "r" : "275", + "value" : [ "DateTime", "(", "2000", ", ", "3", ", ", "15", ", ", "13", ", ", "30", ", ", "25", ", ", "200", ", " ] + }, { + "r" : "282", + "s" : [ { + "r" : "282", + "value" : [ "+", "1.0" ] + } ] + }, { + "value" : [ ")" ] + } ] + }, { + "r" : "329", + "value" : [ " ", "same year as", " " ] + }, { + "r" : "320", + "s" : [ { + "r" : "302", + "value" : [ "DateTime", "(", "2001", ", ", "11", ", ", "23", ", ", "8", ", ", "14", ", ", "47", ", ", "500", ", " ] + }, { + "r" : "309", + "s" : [ { + "r" : "309", + "value" : [ "+", "1.0" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "SameAs", + "localId" : "329", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "precision" : "Year", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "330", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "331", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "DateTime", + "localId" : "293", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "294", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "295", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "296", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "297", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "298", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "299", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "300", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "301", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "275", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "276", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "277", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "15", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "278", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "13", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "279", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "30", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "280", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "25", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "281", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "200", + "annotation" : [ ] + }, + "timezoneOffset" : { + "type" : "Literal", + "localId" : "282", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "1.0", + "annotation" : [ ] + } + }, { + "type" : "DateTime", + "localId" : "320", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "321", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "322", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "323", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "324", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "325", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "326", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "327", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "328", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "302", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2001", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "303", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "11", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "304", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "23", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "305", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "8", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "306", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "14", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "307", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "47", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "308", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "500", + "annotation" : [ ] + }, + "timezoneOffset" : { + "type" : "Literal", + "localId" : "309", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "1.0", + "annotation" : [ ] + } + } ] + } + }, { + "localId" : "334", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "SameMonth", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "334", + "s" : [ { + "value" : [ "", "define ", "SameMonth", ": " ] + }, { + "r" : "389", + "s" : [ { + "r" : "353", + "s" : [ { + "r" : "335", + "value" : [ "DateTime", "(", "2000", ", ", "3", ", ", "15", ", ", "13", ", ", "30", ", ", "25", ", ", "200", ", " ] + }, { + "r" : "342", + "s" : [ { + "r" : "342", + "value" : [ "+", "1.0" ] + } ] + }, { + "value" : [ ")" ] + } ] + }, { + "r" : "389", + "value" : [ " ", "same month as", " " ] + }, { + "r" : "380", + "s" : [ { + "r" : "362", + "value" : [ "DateTime", "(", "2000", ", ", "3", ", ", "23", ", ", "8", ", ", "14", ", ", "47", ", ", "500", ", " ] + }, { + "r" : "369", + "s" : [ { + "r" : "369", + "value" : [ "+", "1.0" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "SameAs", + "localId" : "389", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "precision" : "Month", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "390", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "391", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "DateTime", + "localId" : "353", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "354", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "355", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "356", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "357", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "358", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "359", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "360", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "361", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "335", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "336", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "337", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "15", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "338", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "13", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "339", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "30", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "340", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "25", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "341", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "200", + "annotation" : [ ] + }, + "timezoneOffset" : { + "type" : "Literal", + "localId" : "342", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "1.0", + "annotation" : [ ] + } + }, { + "type" : "DateTime", + "localId" : "380", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "381", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "382", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "383", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "384", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "385", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "386", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "387", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "388", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "362", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "363", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "364", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "23", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "365", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "8", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "366", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "14", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "367", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "47", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "368", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "500", + "annotation" : [ ] + }, + "timezoneOffset" : { + "type" : "Literal", + "localId" : "369", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "1.0", + "annotation" : [ ] + } + } ] + } + }, { + "localId" : "394", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "NotSameMonth", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "394", + "s" : [ { + "value" : [ "", "define ", "NotSameMonth", ": " ] + }, { + "r" : "449", + "s" : [ { + "r" : "413", + "s" : [ { + "r" : "395", + "value" : [ "DateTime", "(", "2000", ", ", "3", ", ", "15", ", ", "13", ", ", "30", ", ", "25", ", ", "200", ", " ] + }, { + "r" : "402", + "s" : [ { + "r" : "402", + "value" : [ "+", "1.0" ] + } ] + }, { + "value" : [ ")" ] + } ] + }, { + "r" : "449", + "value" : [ " ", "same month as", " " ] + }, { + "r" : "440", + "s" : [ { + "r" : "422", + "value" : [ "DateTime", "(", "2000", ", ", "4", ", ", "23", ", ", "8", ", ", "14", ", ", "47", ", ", "500", ", " ] + }, { + "r" : "429", + "s" : [ { + "r" : "429", + "value" : [ "+", "1.0" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "SameAs", + "localId" : "449", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "precision" : "Month", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "450", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "451", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "DateTime", + "localId" : "413", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "414", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "415", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "416", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "417", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "418", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "419", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "420", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "421", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "395", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "396", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "397", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "15", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "398", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "13", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "399", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "30", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "400", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "25", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "401", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "200", + "annotation" : [ ] + }, + "timezoneOffset" : { + "type" : "Literal", + "localId" : "402", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "1.0", + "annotation" : [ ] + } + }, { + "type" : "DateTime", + "localId" : "440", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "441", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "442", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "443", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "444", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "445", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "446", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "447", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "448", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "422", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "423", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "4", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "424", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "23", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "425", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "8", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "426", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "14", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "427", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "47", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "428", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "500", + "annotation" : [ ] + }, + "timezoneOffset" : { + "type" : "Literal", + "localId" : "429", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "1.0", + "annotation" : [ ] + } + } ] + } + }, { + "localId" : "454", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "SameMonthWrongYear", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "454", + "s" : [ { + "value" : [ "", "define ", "SameMonthWrongYear", ": " ] + }, { + "r" : "509", + "s" : [ { + "r" : "473", + "s" : [ { + "r" : "455", + "value" : [ "DateTime", "(", "2000", ", ", "3", ", ", "15", ", ", "13", ", ", "30", ", ", "25", ", ", "200", ", " ] + }, { + "r" : "462", + "s" : [ { + "r" : "462", + "value" : [ "+", "1.0" ] + } ] + }, { + "value" : [ ")" ] + } ] + }, { + "r" : "509", + "value" : [ " ", "same month as", " " ] + }, { + "r" : "500", + "s" : [ { + "r" : "482", + "value" : [ "DateTime", "(", "2001", ", ", "3", ", ", "23", ", ", "8", ", ", "14", ", ", "47", ", ", "500", ", " ] + }, { + "r" : "489", + "s" : [ { + "r" : "489", + "value" : [ "+", "1.0" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "SameAs", + "localId" : "509", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "precision" : "Month", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "510", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "511", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "DateTime", + "localId" : "473", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "474", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "475", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "476", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "477", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "478", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "479", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "480", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "481", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "455", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "456", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "457", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "15", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "458", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "13", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "459", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "30", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "460", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "25", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "461", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "200", + "annotation" : [ ] + }, + "timezoneOffset" : { + "type" : "Literal", + "localId" : "462", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "1.0", + "annotation" : [ ] + } + }, { + "type" : "DateTime", + "localId" : "500", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "501", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "502", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "503", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "504", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "505", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "506", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "507", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "508", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "482", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2001", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "483", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "484", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "23", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "485", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "8", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "486", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "14", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "487", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "47", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "488", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "500", + "annotation" : [ ] + }, + "timezoneOffset" : { + "type" : "Literal", + "localId" : "489", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "1.0", + "annotation" : [ ] + } + } ] + } + }, { + "localId" : "514", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "SameDay", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "514", + "s" : [ { + "value" : [ "", "define ", "SameDay", ": " ] + }, { + "r" : "569", + "s" : [ { + "r" : "533", + "s" : [ { + "r" : "515", + "value" : [ "DateTime", "(", "2000", ", ", "3", ", ", "15", ", ", "13", ", ", "30", ", ", "25", ", ", "200", ", " ] + }, { + "r" : "522", + "s" : [ { + "r" : "522", + "value" : [ "+", "1.0" ] + } ] + }, { + "value" : [ ")" ] + } ] + }, { + "r" : "569", + "value" : [ " ", "same day as", " " ] + }, { + "r" : "560", + "s" : [ { + "r" : "542", + "value" : [ "DateTime", "(", "2000", ", ", "3", ", ", "15", ", ", "8", ", ", "14", ", ", "47", ", ", "500", ", " ] + }, { + "r" : "549", + "s" : [ { + "r" : "549", + "value" : [ "+", "1.0" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "SameAs", + "localId" : "569", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "precision" : "Day", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "570", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "571", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "DateTime", + "localId" : "533", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "534", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "535", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "536", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "537", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "538", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "539", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "540", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "541", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "515", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "516", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "517", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "15", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "518", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "13", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "519", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "30", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "520", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "25", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "521", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "200", + "annotation" : [ ] + }, + "timezoneOffset" : { + "type" : "Literal", + "localId" : "522", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "1.0", + "annotation" : [ ] + } + }, { + "type" : "DateTime", + "localId" : "560", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "561", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "562", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "563", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "564", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "565", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "566", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "567", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "568", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "542", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "543", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "544", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "15", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "545", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "8", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "546", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "14", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "547", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "47", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "548", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "500", + "annotation" : [ ] + }, + "timezoneOffset" : { + "type" : "Literal", + "localId" : "549", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "1.0", + "annotation" : [ ] + } + } ] + } + }, { + "localId" : "574", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "NotSameDay", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "574", + "s" : [ { + "value" : [ "", "define ", "NotSameDay", ": " ] + }, { + "r" : "629", + "s" : [ { + "r" : "593", + "s" : [ { + "r" : "575", + "value" : [ "DateTime", "(", "2000", ", ", "3", ", ", "15", ", ", "13", ", ", "30", ", ", "25", ", ", "200", ", " ] + }, { + "r" : "582", + "s" : [ { + "r" : "582", + "value" : [ "+", "1.0" ] + } ] + }, { + "value" : [ ")" ] + } ] + }, { + "r" : "629", + "value" : [ " ", "same day as", " " ] + }, { + "r" : "620", + "s" : [ { + "r" : "602", + "value" : [ "DateTime", "(", "2000", ", ", "3", ", ", "23", ", ", "8", ", ", "14", ", ", "47", ", ", "500", ", " ] + }, { + "r" : "609", + "s" : [ { + "r" : "609", + "value" : [ "+", "1.0" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "SameAs", + "localId" : "629", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "precision" : "Day", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "630", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "631", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "DateTime", + "localId" : "593", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "594", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "595", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "596", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "597", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "598", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "599", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "600", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "601", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "575", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "576", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "577", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "15", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "578", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "13", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "579", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "30", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "580", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "25", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "581", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "200", + "annotation" : [ ] + }, + "timezoneOffset" : { + "type" : "Literal", + "localId" : "582", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "1.0", + "annotation" : [ ] + } + }, { + "type" : "DateTime", + "localId" : "620", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "621", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "622", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "623", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "624", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "625", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "626", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "627", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "628", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "602", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "603", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "604", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "23", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "605", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "8", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "606", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "14", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "607", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "47", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "608", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "500", + "annotation" : [ ] + }, + "timezoneOffset" : { + "type" : "Literal", + "localId" : "609", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "1.0", + "annotation" : [ ] + } + } ] + } + }, { + "localId" : "634", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "SameDayWrongMonth", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "634", + "s" : [ { + "value" : [ "", "define ", "SameDayWrongMonth", ": " ] + }, { + "r" : "689", + "s" : [ { + "r" : "653", + "s" : [ { + "r" : "635", + "value" : [ "DateTime", "(", "2000", ", ", "3", ", ", "15", ", ", "13", ", ", "30", ", ", "25", ", ", "200", ", " ] + }, { + "r" : "642", + "s" : [ { + "r" : "642", + "value" : [ "+", "1.0" ] + } ] + }, { + "value" : [ ")" ] + } ] + }, { + "r" : "689", + "value" : [ " ", "same day as", " " ] + }, { + "r" : "680", + "s" : [ { + "r" : "662", + "value" : [ "DateTime", "(", "2000", ", ", "4", ", ", "15", ", ", "8", ", ", "14", ", ", "47", ", ", "500", ", " ] + }, { + "r" : "669", + "s" : [ { + "r" : "669", + "value" : [ "+", "1.0" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "SameAs", + "localId" : "689", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "precision" : "Day", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "690", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "691", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "DateTime", + "localId" : "653", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "654", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "655", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "656", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "657", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "658", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "659", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "660", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "661", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "635", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "636", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "637", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "15", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "638", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "13", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "639", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "30", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "640", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "25", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "641", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "200", + "annotation" : [ ] + }, + "timezoneOffset" : { + "type" : "Literal", + "localId" : "642", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "1.0", + "annotation" : [ ] + } + }, { + "type" : "DateTime", + "localId" : "680", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "681", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "682", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "683", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "684", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "685", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "686", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "687", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "688", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "662", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "663", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "4", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "664", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "15", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "665", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "8", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "666", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "14", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "667", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "47", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "668", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "500", + "annotation" : [ ] + }, + "timezoneOffset" : { + "type" : "Literal", + "localId" : "669", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "1.0", + "annotation" : [ ] + } + } ] + } + }, { + "localId" : "694", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "SameHour", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "694", + "s" : [ { + "value" : [ "", "define ", "SameHour", ": " ] + }, { + "r" : "749", + "s" : [ { + "r" : "713", + "s" : [ { + "r" : "695", + "value" : [ "DateTime", "(", "2000", ", ", "3", ", ", "15", ", ", "13", ", ", "30", ", ", "25", ", ", "200", ", " ] + }, { + "r" : "702", + "s" : [ { + "r" : "702", + "value" : [ "+", "1.0" ] + } ] + }, { + "value" : [ ")" ] + } ] + }, { + "r" : "749", + "value" : [ " ", "same hour as", " " ] + }, { + "r" : "740", + "s" : [ { + "r" : "722", + "value" : [ "DateTime", "(", "2000", ", ", "3", ", ", "15", ", ", "13", ", ", "14", ", ", "47", ", ", "500", ", " ] + }, { + "r" : "729", + "s" : [ { + "r" : "729", + "value" : [ "+", "1.0" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "SameAs", + "localId" : "749", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "precision" : "Hour", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "750", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "751", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "DateTime", + "localId" : "713", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "714", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "715", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "716", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "717", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "718", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "719", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "720", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "721", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "695", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "696", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "697", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "15", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "698", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "13", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "699", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "30", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "700", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "25", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "701", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "200", + "annotation" : [ ] + }, + "timezoneOffset" : { + "type" : "Literal", + "localId" : "702", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "1.0", + "annotation" : [ ] + } + }, { + "type" : "DateTime", + "localId" : "740", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "741", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "742", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "743", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "744", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "745", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "746", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "747", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "748", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "722", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "723", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "724", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "15", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "725", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "13", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "726", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "14", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "727", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "47", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "728", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "500", + "annotation" : [ ] + }, + "timezoneOffset" : { + "type" : "Literal", + "localId" : "729", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "1.0", + "annotation" : [ ] + } + } ] + } + }, { + "localId" : "754", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "NotSameHour", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "754", + "s" : [ { + "value" : [ "", "define ", "NotSameHour", ": " ] + }, { + "r" : "809", + "s" : [ { + "r" : "773", + "s" : [ { + "r" : "755", + "value" : [ "DateTime", "(", "2000", ", ", "3", ", ", "15", ", ", "13", ", ", "30", ", ", "25", ", ", "200", ", " ] + }, { + "r" : "762", + "s" : [ { + "r" : "762", + "value" : [ "+", "1.0" ] + } ] + }, { + "value" : [ ")" ] + } ] + }, { + "r" : "809", + "value" : [ " ", "same hour as", " " ] + }, { + "r" : "800", + "s" : [ { + "r" : "782", + "value" : [ "DateTime", "(", "2000", ", ", "3", ", ", "15", ", ", "8", ", ", "14", ", ", "47", ", ", "500", ", " ] + }, { + "r" : "789", + "s" : [ { + "r" : "789", + "value" : [ "+", "1.0" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "SameAs", + "localId" : "809", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "precision" : "Hour", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "810", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "811", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "DateTime", + "localId" : "773", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "774", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "775", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "776", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "777", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "778", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "779", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "780", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "781", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "755", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "756", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "757", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "15", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "758", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "13", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "759", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "30", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "760", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "25", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "761", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "200", + "annotation" : [ ] + }, + "timezoneOffset" : { + "type" : "Literal", + "localId" : "762", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "1.0", + "annotation" : [ ] + } + }, { + "type" : "DateTime", + "localId" : "800", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "801", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "802", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "803", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "804", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "805", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "806", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "807", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "808", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "782", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "783", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "784", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "15", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "785", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "8", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "786", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "14", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "787", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "47", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "788", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "500", + "annotation" : [ ] + }, + "timezoneOffset" : { + "type" : "Literal", + "localId" : "789", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "1.0", + "annotation" : [ ] + } + } ] + } + }, { + "localId" : "814", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "SameHourWrongDay", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "814", + "s" : [ { + "value" : [ "", "define ", "SameHourWrongDay", ": " ] + }, { + "r" : "869", + "s" : [ { + "r" : "833", + "s" : [ { + "r" : "815", + "value" : [ "DateTime", "(", "2000", ", ", "3", ", ", "15", ", ", "13", ", ", "30", ", ", "25", ", ", "200", ", " ] + }, { + "r" : "822", + "s" : [ { + "r" : "822", + "value" : [ "+", "1.0" ] + } ] + }, { + "value" : [ ")" ] + } ] + }, { + "r" : "869", + "value" : [ " ", "same hour as", " " ] + }, { + "r" : "860", + "s" : [ { + "r" : "842", + "value" : [ "DateTime", "(", "2000", ", ", "3", ", ", "16", ", ", "13", ", ", "14", ", ", "47", ", ", "500", ", " ] + }, { + "r" : "849", + "s" : [ { + "r" : "849", + "value" : [ "+", "1.0" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "SameAs", + "localId" : "869", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "precision" : "Hour", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "870", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "871", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "DateTime", + "localId" : "833", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "834", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "835", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "836", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "837", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "838", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "839", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "840", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "841", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "815", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "816", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "817", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "15", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "818", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "13", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "819", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "30", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "820", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "25", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "821", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "200", + "annotation" : [ ] + }, + "timezoneOffset" : { + "type" : "Literal", + "localId" : "822", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "1.0", + "annotation" : [ ] + } + }, { + "type" : "DateTime", + "localId" : "860", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "861", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "862", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "863", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "864", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "865", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "866", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "867", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "868", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "842", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "843", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "844", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "16", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "845", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "13", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "846", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "14", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "847", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "47", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "848", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "500", + "annotation" : [ ] + }, + "timezoneOffset" : { + "type" : "Literal", + "localId" : "849", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "1.0", + "annotation" : [ ] + } + } ] + } + }, { + "localId" : "874", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "SameMinute", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "874", + "s" : [ { + "value" : [ "", "define ", "SameMinute", ": " ] + }, { + "r" : "929", + "s" : [ { + "r" : "893", + "s" : [ { + "r" : "875", + "value" : [ "DateTime", "(", "2000", ", ", "3", ", ", "15", ", ", "13", ", ", "30", ", ", "25", ", ", "200", ", " ] + }, { + "r" : "882", + "s" : [ { + "r" : "882", + "value" : [ "+", "1.0" ] + } ] + }, { + "value" : [ ")" ] + } ] + }, { + "r" : "929", + "value" : [ " ", "same minute as", " " ] + }, { + "r" : "920", + "s" : [ { + "r" : "902", + "value" : [ "DateTime", "(", "2000", ", ", "3", ", ", "15", ", ", "13", ", ", "30", ", ", "47", ", ", "500", ", " ] + }, { + "r" : "909", + "s" : [ { + "r" : "909", + "value" : [ "+", "1.0" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "SameAs", + "localId" : "929", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "precision" : "Minute", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "930", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "931", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "DateTime", + "localId" : "893", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "894", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "895", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "896", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "897", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "898", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "899", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "900", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "901", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "875", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "876", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "877", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "15", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "878", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "13", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "879", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "30", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "880", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "25", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "881", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "200", + "annotation" : [ ] + }, + "timezoneOffset" : { + "type" : "Literal", + "localId" : "882", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "1.0", + "annotation" : [ ] + } + }, { + "type" : "DateTime", + "localId" : "920", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "921", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "922", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "923", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "924", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "925", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "926", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "927", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "928", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "902", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "903", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "904", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "15", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "905", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "13", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "906", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "30", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "907", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "47", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "908", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "500", + "annotation" : [ ] + }, + "timezoneOffset" : { + "type" : "Literal", + "localId" : "909", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "1.0", + "annotation" : [ ] + } + } ] + } + }, { + "localId" : "934", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "NotSameMinute", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "934", + "s" : [ { + "value" : [ "", "define ", "NotSameMinute", ": " ] + }, { + "r" : "989", + "s" : [ { + "r" : "953", + "s" : [ { + "r" : "935", + "value" : [ "DateTime", "(", "2000", ", ", "3", ", ", "15", ", ", "13", ", ", "30", ", ", "25", ", ", "200", ", " ] + }, { + "r" : "942", + "s" : [ { + "r" : "942", + "value" : [ "+", "1.0" ] + } ] + }, { + "value" : [ ")" ] + } ] + }, { + "r" : "989", + "value" : [ " ", "same minute as", " " ] + }, { + "r" : "980", + "s" : [ { + "r" : "962", + "value" : [ "DateTime", "(", "2000", ", ", "3", ", ", "15", ", ", "13", ", ", "14", ", ", "47", ", ", "500", ", " ] + }, { + "r" : "969", + "s" : [ { + "r" : "969", + "value" : [ "+", "1.0" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "SameAs", + "localId" : "989", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "precision" : "Minute", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "990", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "991", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "DateTime", + "localId" : "953", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "954", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "955", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "956", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "957", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "958", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "959", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "960", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "961", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "935", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "936", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "937", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "15", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "938", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "13", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "939", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "30", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "940", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "25", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "941", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "200", + "annotation" : [ ] + }, + "timezoneOffset" : { + "type" : "Literal", + "localId" : "942", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "1.0", + "annotation" : [ ] + } + }, { + "type" : "DateTime", + "localId" : "980", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "981", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "982", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "983", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "984", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "985", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "986", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "987", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "988", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "962", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "963", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "964", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "15", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "965", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "13", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "966", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "14", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "967", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "47", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "968", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "500", + "annotation" : [ ] + }, + "timezoneOffset" : { + "type" : "Literal", + "localId" : "969", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "1.0", + "annotation" : [ ] + } + } ] + } + }, { + "localId" : "994", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "SameMinuteWrongHour", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "994", + "s" : [ { + "value" : [ "", "define ", "SameMinuteWrongHour", ": " ] + }, { + "r" : "1049", + "s" : [ { + "r" : "1013", + "s" : [ { + "r" : "995", + "value" : [ "DateTime", "(", "2000", ", ", "3", ", ", "15", ", ", "13", ", ", "30", ", ", "25", ", ", "200", ", " ] + }, { + "r" : "1002", + "s" : [ { + "r" : "1002", + "value" : [ "+", "1.0" ] + } ] + }, { + "value" : [ ")" ] + } ] + }, { + "r" : "1049", + "value" : [ " ", "same minute as", " " ] + }, { + "r" : "1040", + "s" : [ { + "r" : "1022", + "value" : [ "DateTime", "(", "2000", ", ", "3", ", ", "15", ", ", "14", ", ", "30", ", ", "47", ", ", "500", ", " ] + }, { + "r" : "1029", + "s" : [ { + "r" : "1029", + "value" : [ "+", "1.0" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "SameAs", + "localId" : "1049", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "precision" : "Minute", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1050", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1051", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "DateTime", + "localId" : "1013", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1014", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1015", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1016", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1017", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1018", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1019", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1020", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1021", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "995", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "996", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "997", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "15", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "998", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "13", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "999", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "30", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "1000", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "25", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "1001", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "200", + "annotation" : [ ] + }, + "timezoneOffset" : { + "type" : "Literal", + "localId" : "1002", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "1.0", + "annotation" : [ ] + } + }, { + "type" : "DateTime", + "localId" : "1040", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1041", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1042", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1043", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1044", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1045", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1046", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1047", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1048", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1022", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1023", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "1024", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "15", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "1025", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "14", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "1026", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "30", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "1027", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "47", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "1028", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "500", + "annotation" : [ ] + }, + "timezoneOffset" : { + "type" : "Literal", + "localId" : "1029", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "1.0", + "annotation" : [ ] + } + } ] + } + }, { + "localId" : "1054", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "SameSecond", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "1054", + "s" : [ { + "value" : [ "", "define ", "SameSecond", ": " ] + }, { + "r" : "1109", + "s" : [ { + "r" : "1073", + "s" : [ { + "r" : "1055", + "value" : [ "DateTime", "(", "2000", ", ", "3", ", ", "15", ", ", "13", ", ", "30", ", ", "25", ", ", "200", ", " ] + }, { + "r" : "1062", + "s" : [ { + "r" : "1062", + "value" : [ "+", "1.0" ] + } ] + }, { + "value" : [ ")" ] + } ] + }, { + "r" : "1109", + "value" : [ " ", "same second as", " " ] + }, { + "r" : "1100", + "s" : [ { + "r" : "1082", + "value" : [ "DateTime", "(", "2000", ", ", "3", ", ", "15", ", ", "13", ", ", "30", ", ", "25", ", ", "500", ", " ] + }, { + "r" : "1089", + "s" : [ { + "r" : "1089", + "value" : [ "+", "1.0" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "SameAs", + "localId" : "1109", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "precision" : "Second", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1110", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1111", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "DateTime", + "localId" : "1073", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1074", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1075", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1076", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1077", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1078", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1079", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1080", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1081", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1055", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1056", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "1057", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "15", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "1058", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "13", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "1059", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "30", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "1060", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "25", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "1061", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "200", + "annotation" : [ ] + }, + "timezoneOffset" : { + "type" : "Literal", + "localId" : "1062", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "1.0", + "annotation" : [ ] + } + }, { + "type" : "DateTime", + "localId" : "1100", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1101", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1102", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1103", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1104", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1105", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1106", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1107", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1108", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1082", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1083", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "1084", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "15", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "1085", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "13", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "1086", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "30", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "1087", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "25", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "1088", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "500", + "annotation" : [ ] + }, + "timezoneOffset" : { + "type" : "Literal", + "localId" : "1089", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "1.0", + "annotation" : [ ] + } + } ] + } + }, { + "localId" : "1114", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "NotSameSecond", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "1114", + "s" : [ { + "value" : [ "", "define ", "NotSameSecond", ": " ] + }, { + "r" : "1169", + "s" : [ { + "r" : "1133", + "s" : [ { + "r" : "1115", + "value" : [ "DateTime", "(", "2000", ", ", "3", ", ", "15", ", ", "13", ", ", "30", ", ", "25", ", ", "200", ", " ] + }, { + "r" : "1122", + "s" : [ { + "r" : "1122", + "value" : [ "+", "1.0" ] + } ] + }, { + "value" : [ ")" ] + } ] + }, { + "r" : "1169", + "value" : [ " ", "same second as", " " ] + }, { + "r" : "1160", + "s" : [ { + "r" : "1142", + "value" : [ "DateTime", "(", "2000", ", ", "3", ", ", "15", ", ", "13", ", ", "30", ", ", "47", ", ", "500", ", " ] + }, { + "r" : "1149", + "s" : [ { + "r" : "1149", + "value" : [ "+", "1.0" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "SameAs", + "localId" : "1169", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "precision" : "Second", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1170", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1171", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "DateTime", + "localId" : "1133", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1134", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1135", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1136", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1137", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1138", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1139", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1140", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1141", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1115", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1116", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "1117", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "15", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "1118", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "13", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "1119", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "30", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "1120", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "25", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "1121", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "200", + "annotation" : [ ] + }, + "timezoneOffset" : { + "type" : "Literal", + "localId" : "1122", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "1.0", + "annotation" : [ ] + } + }, { + "type" : "DateTime", + "localId" : "1160", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1161", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1162", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1163", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1164", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1165", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1166", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1167", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1168", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1142", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1143", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "1144", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "15", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "1145", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "13", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "1146", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "30", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "1147", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "47", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "1148", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "500", + "annotation" : [ ] + }, + "timezoneOffset" : { + "type" : "Literal", + "localId" : "1149", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "1.0", + "annotation" : [ ] + } + } ] + } + }, { + "localId" : "1174", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "SameSecondWrongMinute", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "1174", + "s" : [ { + "value" : [ "", "define ", "SameSecondWrongMinute", ": " ] + }, { + "r" : "1229", + "s" : [ { + "r" : "1193", + "s" : [ { + "r" : "1175", + "value" : [ "DateTime", "(", "2000", ", ", "3", ", ", "15", ", ", "13", ", ", "30", ", ", "25", ", ", "200", ", " ] + }, { + "r" : "1182", + "s" : [ { + "r" : "1182", + "value" : [ "+", "1.0" ] + } ] + }, { + "value" : [ ")" ] + } ] + }, { + "r" : "1229", + "value" : [ " ", "same second as", " " ] + }, { + "r" : "1220", + "s" : [ { + "r" : "1202", + "value" : [ "DateTime", "(", "2000", ", ", "3", ", ", "15", ", ", "13", ", ", "31", ", ", "25", ", ", "500", ", " ] + }, { + "r" : "1209", + "s" : [ { + "r" : "1209", + "value" : [ "+", "1.0" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "SameAs", + "localId" : "1229", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "precision" : "Second", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1230", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1231", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "DateTime", + "localId" : "1193", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1194", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1195", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1196", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1197", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1198", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1199", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1200", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1201", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1175", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1176", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "1177", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "15", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "1178", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "13", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "1179", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "30", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "1180", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "25", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "1181", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "200", + "annotation" : [ ] + }, + "timezoneOffset" : { + "type" : "Literal", + "localId" : "1182", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "1.0", + "annotation" : [ ] + } + }, { + "type" : "DateTime", + "localId" : "1220", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1221", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1222", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1223", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1224", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1225", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1226", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1227", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1228", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1202", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1203", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "1204", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "15", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "1205", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "13", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "1206", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "31", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "1207", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "25", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "1208", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "500", + "annotation" : [ ] + }, + "timezoneOffset" : { + "type" : "Literal", + "localId" : "1209", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "1.0", + "annotation" : [ ] + } + } ] + } + }, { + "localId" : "1234", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "SameMillisecond", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "1234", + "s" : [ { + "value" : [ "", "define ", "SameMillisecond", ": " ] + }, { + "r" : "1289", + "s" : [ { + "r" : "1253", + "s" : [ { + "r" : "1235", + "value" : [ "DateTime", "(", "2000", ", ", "3", ", ", "15", ", ", "13", ", ", "30", ", ", "25", ", ", "200", ", " ] + }, { + "r" : "1242", + "s" : [ { + "r" : "1242", + "value" : [ "+", "1.0" ] + } ] + }, { + "value" : [ ")" ] + } ] + }, { + "r" : "1289", + "value" : [ " ", "same millisecond as", " " ] + }, { + "r" : "1280", + "s" : [ { + "r" : "1262", + "value" : [ "DateTime", "(", "2000", ", ", "3", ", ", "15", ", ", "13", ", ", "30", ", ", "25", ", ", "200", ", " ] + }, { + "r" : "1269", + "s" : [ { + "r" : "1269", + "value" : [ "+", "1.0" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "SameAs", + "localId" : "1289", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "precision" : "Millisecond", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1290", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1291", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "DateTime", + "localId" : "1253", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1254", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1255", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1256", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1257", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1258", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1259", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1260", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1261", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1235", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1236", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "1237", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "15", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "1238", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "13", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "1239", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "30", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "1240", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "25", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "1241", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "200", + "annotation" : [ ] + }, + "timezoneOffset" : { + "type" : "Literal", + "localId" : "1242", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "1.0", + "annotation" : [ ] + } + }, { + "type" : "DateTime", + "localId" : "1280", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1281", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1282", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1283", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1284", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1285", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1286", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1287", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1288", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1262", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1263", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "1264", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "15", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "1265", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "13", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "1266", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "30", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "1267", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "25", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "1268", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "200", + "annotation" : [ ] + }, + "timezoneOffset" : { + "type" : "Literal", + "localId" : "1269", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "1.0", + "annotation" : [ ] + } + } ] + } + }, { + "localId" : "1294", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "NotSameMillisecond", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "1294", + "s" : [ { + "value" : [ "", "define ", "NotSameMillisecond", ": " ] + }, { + "r" : "1349", + "s" : [ { + "r" : "1313", + "s" : [ { + "r" : "1295", + "value" : [ "DateTime", "(", "2000", ", ", "3", ", ", "15", ", ", "13", ", ", "30", ", ", "25", ", ", "200", ", " ] + }, { + "r" : "1302", + "s" : [ { + "r" : "1302", + "value" : [ "+", "1.0" ] + } ] + }, { + "value" : [ ")" ] + } ] + }, { + "r" : "1349", + "value" : [ " ", "same millisecond as", " " ] + }, { + "r" : "1340", + "s" : [ { + "r" : "1322", + "value" : [ "DateTime", "(", "2000", ", ", "3", ", ", "15", ", ", "13", ", ", "30", ", ", "25", ", ", "500", ", " ] + }, { + "r" : "1329", + "s" : [ { + "r" : "1329", + "value" : [ "+", "1.0" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "SameAs", + "localId" : "1349", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "precision" : "Millisecond", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1350", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1351", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "DateTime", + "localId" : "1313", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1314", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1315", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1316", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1317", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1318", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1319", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1320", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1321", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1295", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1296", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "1297", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "15", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "1298", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "13", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "1299", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "30", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "1300", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "25", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "1301", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "200", + "annotation" : [ ] + }, + "timezoneOffset" : { + "type" : "Literal", + "localId" : "1302", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "1.0", + "annotation" : [ ] + } + }, { + "type" : "DateTime", + "localId" : "1340", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1341", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1342", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1343", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1344", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1345", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1346", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1347", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1348", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1322", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1323", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "1324", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "15", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "1325", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "13", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "1326", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "30", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "1327", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "25", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "1328", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "500", + "annotation" : [ ] + }, + "timezoneOffset" : { + "type" : "Literal", + "localId" : "1329", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "1.0", + "annotation" : [ ] + } + } ] + } + }, { + "localId" : "1354", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "SameMillisecondWrongSecond", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "1354", + "s" : [ { + "value" : [ "", "define ", "SameMillisecondWrongSecond", ": " ] + }, { + "r" : "1409", + "s" : [ { + "r" : "1373", + "s" : [ { + "r" : "1355", + "value" : [ "DateTime", "(", "2000", ", ", "3", ", ", "15", ", ", "13", ", ", "30", ", ", "25", ", ", "200", ", " ] + }, { + "r" : "1362", + "s" : [ { + "r" : "1362", + "value" : [ "+", "1.0" ] + } ] + }, { + "value" : [ ")" ] + } ] + }, { + "r" : "1409", + "value" : [ " ", "same millisecond as", " " ] + }, { + "r" : "1400", + "s" : [ { + "r" : "1382", + "value" : [ "DateTime", "(", "2000", ", ", "3", ", ", "15", ", ", "13", ", ", "30", ", ", "26", ", ", "200", ", " ] + }, { + "r" : "1389", + "s" : [ { + "r" : "1389", + "value" : [ "+", "1.0" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "SameAs", + "localId" : "1409", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "precision" : "Millisecond", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1410", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1411", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "DateTime", + "localId" : "1373", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1374", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1375", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1376", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1377", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1378", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1379", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1380", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1381", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1355", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1356", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "1357", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "15", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "1358", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "13", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "1359", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "30", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "1360", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "25", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "1361", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "200", + "annotation" : [ ] + }, + "timezoneOffset" : { + "type" : "Literal", + "localId" : "1362", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "1.0", + "annotation" : [ ] + } + }, { + "type" : "DateTime", + "localId" : "1400", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1401", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1402", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1403", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1404", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1405", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1406", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1407", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1408", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1382", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1383", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "1384", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "15", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "1385", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "13", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "1386", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "30", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "1387", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "26", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "1388", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "200", + "annotation" : [ ] + }, + "timezoneOffset" : { + "type" : "Literal", + "localId" : "1389", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "1.0", + "annotation" : [ ] + } + } ] + } + }, { + "localId" : "1414", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "Same", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "1414", + "s" : [ { + "value" : [ "", "define ", "Same", ": " ] + }, { + "r" : "1469", + "s" : [ { + "r" : "1433", + "s" : [ { + "r" : "1415", + "value" : [ "DateTime", "(", "2000", ", ", "3", ", ", "15", ", ", "13", ", ", "30", ", ", "25", ", ", "200", ", " ] + }, { + "r" : "1422", + "s" : [ { + "r" : "1422", + "value" : [ "+", "1.0" ] + } ] + }, { + "value" : [ ")" ] + } ] + }, { + "r" : "1469", + "value" : [ " ", "same as", " " ] + }, { + "r" : "1460", + "s" : [ { + "r" : "1442", + "value" : [ "DateTime", "(", "2000", ", ", "3", ", ", "15", ", ", "13", ", ", "30", ", ", "25", ", ", "200", ", " ] + }, { + "r" : "1449", + "s" : [ { + "r" : "1449", + "value" : [ "+", "1.0" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "SameAs", + "localId" : "1469", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1470", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1471", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "DateTime", + "localId" : "1433", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1434", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1435", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1436", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1437", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1438", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1439", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1440", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1441", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1415", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1416", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "1417", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "15", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "1418", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "13", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "1419", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "30", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "1420", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "25", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "1421", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "200", + "annotation" : [ ] + }, + "timezoneOffset" : { + "type" : "Literal", + "localId" : "1422", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "1.0", + "annotation" : [ ] + } + }, { + "type" : "DateTime", + "localId" : "1460", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1461", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1462", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1463", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1464", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1465", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1466", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1467", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1468", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1442", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1443", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "1444", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "15", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "1445", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "13", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "1446", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "30", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "1447", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "25", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "1448", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "200", + "annotation" : [ ] + }, + "timezoneOffset" : { + "type" : "Literal", + "localId" : "1449", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "1.0", + "annotation" : [ ] + } + } ] + } + }, { + "localId" : "1474", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "NotSame", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "1474", + "s" : [ { + "value" : [ "", "define ", "NotSame", ": " ] + }, { + "r" : "1529", + "s" : [ { + "r" : "1493", + "s" : [ { + "r" : "1475", + "value" : [ "DateTime", "(", "2000", ", ", "3", ", ", "15", ", ", "13", ", ", "30", ", ", "25", ", ", "200", ", " ] + }, { + "r" : "1482", + "s" : [ { + "r" : "1482", + "value" : [ "+", "1.0" ] + } ] + }, { + "value" : [ ")" ] + } ] + }, { + "r" : "1529", + "value" : [ " ", "same as", " " ] + }, { + "r" : "1520", + "s" : [ { + "r" : "1502", + "value" : [ "DateTime", "(", "2000", ", ", "3", ", ", "15", ", ", "13", ", ", "30", ", ", "25", ", ", "500", ", " ] + }, { + "r" : "1509", + "s" : [ { + "r" : "1509", + "value" : [ "+", "1.0" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "SameAs", + "localId" : "1529", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1530", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1531", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "DateTime", + "localId" : "1493", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1494", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1495", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1496", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1497", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1498", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1499", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1500", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1501", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1475", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1476", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "1477", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "15", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "1478", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "13", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "1479", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "30", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "1480", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "25", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "1481", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "200", + "annotation" : [ ] + }, + "timezoneOffset" : { + "type" : "Literal", + "localId" : "1482", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "1.0", + "annotation" : [ ] + } + }, { + "type" : "DateTime", + "localId" : "1520", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1521", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1522", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1523", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1524", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1525", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1526", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1527", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1528", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1502", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1503", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "1504", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "15", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "1505", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "13", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "1506", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "30", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "1507", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "25", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "1508", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "500", + "annotation" : [ ] + }, + "timezoneOffset" : { + "type" : "Literal", + "localId" : "1509", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "1.0", + "annotation" : [ ] + } + } ] + } + }, { + "localId" : "1534", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "SameNormalized", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "1534", + "s" : [ { + "value" : [ "", "define ", "SameNormalized", ": " ] + }, { + "r" : "1591", + "s" : [ { + "r" : "1553", + "s" : [ { + "r" : "1535", + "value" : [ "DateTime", "(", "2000", ", ", "3", ", ", "15", ", ", "13", ", ", "30", ", ", "25", ", ", "200", ", " ] + }, { + "r" : "1542", + "s" : [ { + "r" : "1542", + "value" : [ "+", "1.0" ] + } ] + }, { + "value" : [ ")" ] + } ] + }, { + "r" : "1591", + "value" : [ " ", "same as", " " ] + }, { + "r" : "1582", + "s" : [ { + "r" : "1562", + "value" : [ "DateTime", "(", "2000", ", ", "3", ", ", "15", ", ", "7", ", ", "30", ", ", "25", ", ", "200", ", " ] + }, { + "r" : "1569", + "s" : [ { + "r" : "1570", + "value" : [ "-", "5.0" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "SameAs", + "localId" : "1591", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1592", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1593", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "DateTime", + "localId" : "1553", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1554", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1555", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1556", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1557", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1558", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1559", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1560", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1561", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1535", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1536", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "1537", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "15", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "1538", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "13", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "1539", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "30", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "1540", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "25", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "1541", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "200", + "annotation" : [ ] + }, + "timezoneOffset" : { + "type" : "Literal", + "localId" : "1542", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "1.0", + "annotation" : [ ] + } + }, { + "type" : "DateTime", + "localId" : "1582", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1583", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1584", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1585", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1586", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1587", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1588", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1589", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1590", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1562", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1563", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "1564", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "15", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "1565", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "7", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "1566", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "30", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "1567", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "25", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "1568", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "200", + "annotation" : [ ] + }, + "timezoneOffset" : { + "type" : "Negate", + "localId" : "1569", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1571", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } ], + "operand" : { + "type" : "Literal", + "localId" : "1570", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "5.0", + "annotation" : [ ] + } + } + } ] + } + }, { + "localId" : "1596", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "SameHourWrongTimezone", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "1596", + "s" : [ { + "value" : [ "", "define ", "SameHourWrongTimezone", ": " ] + }, { + "r" : "1653", + "s" : [ { + "r" : "1615", + "s" : [ { + "r" : "1597", + "value" : [ "DateTime", "(", "2000", ", ", "3", ", ", "15", ", ", "13", ", ", "30", ", ", "25", ", ", "200", ", " ] + }, { + "r" : "1604", + "s" : [ { + "r" : "1604", + "value" : [ "+", "1.0" ] + } ] + }, { + "value" : [ ")" ] + } ] + }, { + "r" : "1653", + "value" : [ " ", "same hour as", " " ] + }, { + "r" : "1644", + "s" : [ { + "r" : "1624", + "value" : [ "DateTime", "(", "2000", ", ", "3", ", ", "15", ", ", "13", ", ", "30", ", ", "25", ", ", "200", ", " ] + }, { + "r" : "1631", + "s" : [ { + "r" : "1632", + "value" : [ "-", "5.0" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "SameAs", + "localId" : "1653", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "precision" : "Hour", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", "localId" : "1654", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "ImpreciseDay", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "1654", - "s" : [ { - "value" : [ "","define ","ImpreciseDay",": " ] - }, { - "r" : "1688", - "s" : [ { - "r" : "1671", - "s" : [ { - "r" : "1655", - "value" : [ "DateTime","(","2000",", ","3",", ","15",", ","13",", ","30",", ","25",", ","200",")" ] - } ] - }, { - "r" : "1688", - "value" : [ " ","before day of"," " ] - }, { - "r" : "1685", - "s" : [ { - "r" : "1679", - "value" : [ "DateTime","(","2000",", ","3",")" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "1688", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "precision" : "Day", - "type" : "Before", - "signature" : [ { - "localId" : "1689", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1690", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "1671", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "1672", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1673", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1674", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1675", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1676", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1677", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1678", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1655", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "1656", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "1657", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal" - }, - "hour" : { - "localId" : "1658", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "13", - "type" : "Literal" - }, - "minute" : { - "localId" : "1659", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "30", - "type" : "Literal" - }, - "second" : { - "localId" : "1660", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "25", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "1661", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "200", - "type" : "Literal" - } - }, { - "localId" : "1685", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "1686", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1687", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1679", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "1680", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - } - } ] - } - }, { - "localId" : "1693", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "ImpreciseDayMonthAfter", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "1693", - "s" : [ { - "value" : [ "","define ","ImpreciseDayMonthAfter",": " ] - }, { - "r" : "1727", - "s" : [ { - "r" : "1710", - "s" : [ { - "r" : "1694", - "value" : [ "DateTime","(","2000",", ","3",", ","15",", ","13",", ","30",", ","25",", ","200",")" ] - } ] - }, { - "r" : "1727", - "value" : [ " ","before day of"," " ] - }, { - "r" : "1724", - "s" : [ { - "r" : "1718", - "value" : [ "DateTime","(","2000",", ","2",")" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "1727", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "precision" : "Day", - "type" : "Before", - "signature" : [ { - "localId" : "1728", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1729", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "1710", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "1711", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1712", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1713", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1714", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1715", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1716", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1717", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1694", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "1695", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "1696", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal" - }, - "hour" : { - "localId" : "1697", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "13", - "type" : "Literal" - }, - "minute" : { - "localId" : "1698", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "30", - "type" : "Literal" - }, - "second" : { - "localId" : "1699", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "25", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "1700", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "200", - "type" : "Literal" - } - }, { - "localId" : "1724", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "1725", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1726", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1718", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "1719", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal" - } - } ] - } - }, { - "localId" : "1732", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "ImpreciseDayMonthBefore", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "1732", - "s" : [ { - "value" : [ "","define ","ImpreciseDayMonthBefore",": " ] - }, { - "r" : "1766", - "s" : [ { - "r" : "1749", - "s" : [ { - "r" : "1733", - "value" : [ "DateTime","(","2000",", ","3",", ","15",", ","13",", ","30",", ","25",", ","200",")" ] - } ] - }, { - "r" : "1766", - "value" : [ " ","before day of"," " ] - }, { - "r" : "1763", - "s" : [ { - "r" : "1757", - "value" : [ "DateTime","(","2000",", ","4",")" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "1766", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "precision" : "Day", - "type" : "Before", - "signature" : [ { - "localId" : "1767", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1768", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "1749", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "1750", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1751", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1752", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1655", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "DateTime", + "localId" : "1615", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1616", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1617", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1618", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1619", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1620", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1621", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1622", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1623", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1597", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1598", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "1599", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "15", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "1600", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "13", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "1601", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "30", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "1602", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "25", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "1603", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "200", + "annotation" : [ ] + }, + "timezoneOffset" : { + "type" : "Literal", + "localId" : "1604", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "1.0", + "annotation" : [ ] + } + }, { + "type" : "DateTime", + "localId" : "1644", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1645", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1646", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1647", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1648", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1649", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1650", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1651", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1652", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1624", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1625", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "1626", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "15", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "1627", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "13", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "1628", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "30", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "1629", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "25", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "1630", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "200", + "annotation" : [ ] + }, + "timezoneOffset" : { + "type" : "Negate", + "localId" : "1631", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1633", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } ], + "operand" : { + "type" : "Literal", + "localId" : "1632", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "5.0", + "annotation" : [ ] + } + } + } ] + } + }, { + "localId" : "1658", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "ImpreciseHour", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "1658", + "s" : [ { + "value" : [ "", "define ", "ImpreciseHour", ": " ] + }, { + "r" : "1695", + "s" : [ { + "r" : "1675", + "s" : [ { + "r" : "1659", + "value" : [ "DateTime", "(", "2000", ", ", "3", ", ", "15", ", ", "13", ", ", "30", ", ", "25", ", ", "200", ")" ] + } ] + }, { + "r" : "1695", + "value" : [ " ", "same hour as", " " ] + }, { + "r" : "1691", + "s" : [ { + "r" : "1683", + "value" : [ "DateTime", "(", "2000", ", ", "3", ", ", "15", ")" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "SameAs", + "localId" : "1695", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "precision" : "Hour", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1696", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1697", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "DateTime", + "localId" : "1675", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1676", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1677", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1678", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1679", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1680", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1681", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1682", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1659", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1660", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "1661", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "15", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "1662", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "13", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "1663", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "30", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "1664", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "25", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "1665", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "200", + "annotation" : [ ] + } + }, { + "type" : "DateTime", + "localId" : "1691", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1692", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1693", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1694", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1683", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1684", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "1685", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "15", + "annotation" : [ ] + } + } ] + } + }, { + "localId" : "1700", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "ImpreciseHourWrongDay", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "1700", + "s" : [ { + "value" : [ "", "define ", "ImpreciseHourWrongDay", ": " ] + }, { + "r" : "1737", + "s" : [ { + "r" : "1717", + "s" : [ { + "r" : "1701", + "value" : [ "DateTime", "(", "2000", ", ", "3", ", ", "15", ", ", "13", ", ", "30", ", ", "25", ", ", "200", ")" ] + } ] + }, { + "r" : "1737", + "value" : [ " ", "same hour as", " " ] + }, { + "r" : "1733", + "s" : [ { + "r" : "1725", + "value" : [ "DateTime", "(", "2000", ", ", "3", ", ", "16", ")" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "SameAs", + "localId" : "1737", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "precision" : "Hour", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1738", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1739", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "DateTime", + "localId" : "1717", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1718", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1719", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1720", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1721", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1722", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1723", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1724", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1701", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1702", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "1703", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "15", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "1704", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "13", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "1705", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "30", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "1706", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "25", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "1707", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "200", + "annotation" : [ ] + } + }, { + "type" : "DateTime", + "localId" : "1733", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1734", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1735", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1736", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1725", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1726", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "1727", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "16", + "annotation" : [ ] + } + } ] + } + }, { + "localId" : "1742", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "NullLeft", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "1742", + "s" : [ { + "value" : [ "", "define ", "NullLeft", ": " ] + }, { + "r" : "1771", + "s" : [ { + "r" : "1743", + "value" : [ "null", " ", "same as", " " ] + }, { + "r" : "1762", + "s" : [ { + "r" : "1744", + "value" : [ "DateTime", "(", "2000", ", ", "3", ", ", "15", ", ", "13", ", ", "30", ", ", "25", ", ", "200", ", " ] + }, { + "r" : "1751", + "s" : [ { + "r" : "1751", + "value" : [ "+", "1.0" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "SameAs", + "localId" : "1771", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1773", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1774", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "As", + "localId" : "1772", + "asType" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Null", + "localId" : "1743", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } + }, { + "type" : "DateTime", + "localId" : "1762", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1763", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1764", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1765", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1766", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1767", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1768", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1769", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1770", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1744", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1745", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "1746", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "15", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "1747", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "13", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "1748", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "30", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "1749", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "25", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "1750", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "200", + "annotation" : [ ] + }, + "timezoneOffset" : { + "type" : "Literal", + "localId" : "1751", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "1.0", + "annotation" : [ ] + } + } ] + } + }, { + "localId" : "1777", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "NullRight", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "1777", + "s" : [ { + "value" : [ "", "define ", "NullRight", ": " ] + }, { + "r" : "1808", + "s" : [ { + "r" : "1796", + "s" : [ { + "r" : "1778", + "value" : [ "DateTime", "(", "2000", ", ", "3", ", ", "15", ", ", "13", ", ", "30", ", ", "25", ", ", "200", ", " ] + }, { + "r" : "1785", + "s" : [ { + "r" : "1785", + "value" : [ "+", "1.0" ] + } ] + }, { + "value" : [ ")" ] + } ] + }, { + "r" : "1808", + "value" : [ " ", "same as", " " ] + }, { + "r" : "1805", + "s" : [ { + "value" : [ "(" ] + }, { + "r" : "1805", + "s" : [ { + "r" : "1806", + "value" : [ "null", " as " ] }, { - "localId" : "1753", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" + "r" : "1807", + "s" : [ { + "value" : [ "DateTime" ] + } ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "SameAs", + "localId" : "1808", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1809", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1810", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "DateTime", + "localId" : "1796", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1797", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1798", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1799", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1800", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1801", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1802", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1803", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1804", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1778", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1779", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "1780", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "15", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "1781", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "13", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "1782", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "30", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "1783", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "25", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "1784", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "200", + "annotation" : [ ] + }, + "timezoneOffset" : { + "type" : "Literal", + "localId" : "1785", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "1.0", + "annotation" : [ ] + } + }, { + "type" : "As", + "localId" : "1805", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "strict" : false, + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Null", + "localId" : "1806", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + }, + "asTypeSpecifier" : { + "type" : "NamedTypeSpecifier", + "localId" : "1807", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } ] + } + }, { + "localId" : "1813", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "NullBoth", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "1813", + "s" : [ { + "value" : [ "", "define ", "NullBoth", ": " ] + }, { + "r" : "1818", + "s" : [ { + "r" : "1814", + "s" : [ { + "value" : [ "(" ] + }, { + "r" : "1814", + "s" : [ { + "r" : "1815", + "value" : [ "null", " as " ] }, { - "localId" : "1754", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" + "r" : "1816", + "s" : [ { + "value" : [ "DateTime" ] + } ] + } ] + }, { + "value" : [ ")" ] + } ] + }, { + "r" : "1818", + "value" : [ " ", "same as", " ", "null" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "SameAs", + "localId" : "1818", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1820", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1821", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "As", + "localId" : "1814", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "strict" : false, + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Null", + "localId" : "1815", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + }, + "asTypeSpecifier" : { + "type" : "NamedTypeSpecifier", + "localId" : "1816", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, { + "type" : "As", + "localId" : "1819", + "asType" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Null", + "localId" : "1817", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } + } ] + } + } ] + } + } +} + +/* SameOrAfter +library TestSnippet version '1' +using Simple version '1.0.0' +context Patient +define SameYear: DateTime(2000, 3, 15, 13, 30, 25, 200, +1.0) same year or after DateTime(2000, 11, 23, 8, 14, 47, 500, +1.0) +define YearAfter: DateTime(2000, 3, 15, 13, 30, 25, 200, +1.0) same year or after DateTime(1999, 11, 23, 8, 14, 47, 500, +1.0) +define YearBefore: DateTime(2000, 3, 15, 13, 30, 25, 200, +1.0) same year or after DateTime(2001, 11, 23, 8, 14, 47, 500, +1.0) +define SameMonth: DateTime(2000, 3, 15, 13, 30, 25, 200, +1.0) same month or after DateTime(2000, 3, 23, 8, 14, 47, 500, +1.0) +define MonthAfter: DateTime(2000, 3, 15, 13, 30, 25, 200, +1.0) same month or after DateTime(2000, 2, 23, 8, 14, 47, 500, +1.0) +define MonthBefore: DateTime(2000, 3, 15, 13, 30, 25, 200, +1.0) same month or after DateTime(2000, 4, 23, 8, 14, 47, 500, +1.0) +define SameDay: DateTime(2000, 3, 15, 13, 30, 25, 200, +1.0) same day or after DateTime(2000, 3, 15, 8, 14, 47, 500, +1.0) +define DayAfter: DateTime(2000, 3, 15, 13, 30, 25, 200, +1.0) same day or after DateTime(2000, 3, 14, 8, 14, 47, 500, +1.0) +define DayBefore: DateTime(2000, 3, 15, 13, 30, 25, 200, +1.0) same day or after DateTime(2000, 3, 16, 8, 14, 47, 500, +1.0) +define SameHour: DateTime(2000, 3, 15, 13, 30, 25, 200, +1.0) same hour or after DateTime(2000, 3, 15, 13, 14, 47, 500, +1.0) +define HourAfter: DateTime(2000, 3, 15, 13, 30, 25, 200, +1.0) same hour or after DateTime(2000, 3, 15, 12, 14, 47, 500, +1.0) +define HourBefore: DateTime(2000, 3, 15, 13, 30, 25, 200, +1.0) same hour or after DateTime(2000, 3, 15, 14, 14, 47, 500, +1.0) +define SameMinute: DateTime(2000, 3, 15, 13, 30, 25, 200, +1.0) same minute or after DateTime(2000, 3, 15, 13, 30, 47, 500, +1.0) +define MinuteAfter: DateTime(2000, 3, 15, 13, 30, 25, 200, +1.0) same minute or after DateTime(2000, 3, 15, 13, 29, 47, 500, +1.0) +define MinuteBefore: DateTime(2000, 3, 15, 13, 30, 25, 200, +1.0) same minute or after DateTime(2000, 3, 15, 13, 31, 47, 500, +1.0) +define SameSecond: DateTime(2000, 3, 15, 13, 30, 25, 200, +1.0) same second or after DateTime(2000, 3, 15, 13, 30, 25, 500, +1.0) +define SecondAfter: DateTime(2000, 3, 15, 13, 30, 25, 200, +1.0) same second or after DateTime(2000, 3, 15, 13, 30, 24, 500, +1.0) +define SecondBefore: DateTime(2000, 3, 15, 13, 30, 25, 200, +1.0) same second or after DateTime(2000, 3, 15, 13, 30, 26, 500, +1.0) +define SameMillisecond: DateTime(2000, 3, 15, 13, 30, 25, 200, +1.0) same millisecond or after DateTime(2000, 3, 15, 13, 30, 25, 200, +1.0) +define MillisecondAfter: DateTime(2000, 3, 15, 13, 30, 25, 200, +1.0) same millisecond or after DateTime(2000, 3, 15, 13, 30, 25, 199, +1.0) +define MillisecondBefore: DateTime(2000, 3, 15, 13, 30, 25, 200, +1.0) same millisecond or after DateTime(2000, 3, 15, 13, 30, 25, 201, +1.0) +define Same: DateTime(2000, 3, 15, 13, 30, 25, 200, +1.0) same or after DateTime(2000, 3, 15, 13, 30, 25, 200, +1.0) +define After: DateTime(2000, 3, 15, 13, 30, 25, 200, +1.0) same or after DateTime(2000, 3, 15, 13, 30, 25, 199, +1.0) +define Before: DateTime(2000, 3, 15, 13, 30, 25, 200, +1.0) same or after DateTime(2000, 3, 15, 13, 30, 25, 201, +1.0) +define SameDayMonthBefore: DateTime(2000, 3, 15, 13, 30, 25, 200, +1.0) same day or after DateTime(2000, 4, 15, 8, 14, 47, 500, +1.0) +define DayAfterMonthBefore: DateTime(2000, 3, 15, 13, 30, 25, 200, +1.0) same day or after DateTime(2000, 4, 14, 8, 14, 47, 500, +1.0) +define DayBeforeMonthAfter: DateTime(2000, 3, 15, 13, 30, 25, 200, +1.0) same day or after DateTime(2000, 2, 16, 8, 14, 47, 500, +1.0) +define ImpreciseDay: DateTime(2000, 3, 15, 13, 30, 25, 200) same day or after DateTime(2000, 3) +define ImpreciseDayMonthAfter: DateTime(2000, 3, 15, 13, 30, 25, 200) same day or after DateTime(2000, 2) +define ImpreciseDayMonthBefore: DateTime(2000, 3, 15, 13, 30, 25, 200) same day or after DateTime(2000, 4) +define SameHourNormalizeZones: DateTime(2000, 3, 15, 13, 30, 25, 200, +1.0) same hour or after DateTime(2000, 3, 15, 7, 30, 25, 200, -5.0) +define HourAfterNormalizeZones: DateTime(2000, 3, 15, 13, 30, 25, 200, +1.0) same hour or after DateTime(2000, 3, 15, 6, 30, 25, 200, -5.0) +define HourBeforeNormalizeZones: DateTime(2000, 3, 15, 13, 30, 25, 200, +1.0) same hour or after DateTime(2000, 3, 15, 8, 30, 25, 200, -5.0) +define NullLeft: null same or after DateTime(2000, 3, 15, 13, 30, 25, 200, +1.0) +define NullRight: DateTime(2000, 3, 15, 13, 30, 25, 200, +1.0) same or after null +define NullBoth: (null as DateTime) same or after null +// On Or After: +define SameOOA: DateTime(2000, 3, 15, 13, 30, 25, 200, +1.0) on or after DateTime(2000, 3, 15, 13, 30, 25, 200, +1.0) +define AfterOOA: DateTime(2000, 3, 15, 13, 30, 25, 200, +1.0) on or after DateTime(2000, 3, 15, 13, 30, 25, 199, +1.0) +define BeforeOOA: DateTime(2000, 3, 15, 13, 30, 25, 200, +1.0) on or after DateTime(2000, 3, 15, 13, 30, 25, 201, +1.0) +define NullLeftOOA: null on or after DateTime(2000, 3, 15, 13, 30, 25, 200, +1.0) +define NullRightOOA: DateTime(2000, 3, 15, 13, 30, 25, 200, +1.0) on or after null +define NullBothOOA: (null as DateTime) on or after null +// After Or On: +define SameAOO: DateTime(2000, 3, 15, 13, 30, 25, 200, +1.0) after or on DateTime(2000, 3, 15, 13, 30, 25, 200, +1.0) +define AfterAOO: DateTime(2000, 3, 15, 13, 30, 25, 200, +1.0) after or on DateTime(2000, 3, 15, 13, 30, 25, 199, +1.0) +define BeforeAOO: DateTime(2000, 3, 15, 13, 30, 25, 200, +1.0) after or on DateTime(2000, 3, 15, 13, 30, 25, 201, +1.0) +define NullLeftAOO: null after or on DateTime(2000, 3, 15, 13, 30, 25, 200, +1.0) +define NullRightAOO: DateTime(2000, 3, 15, 13, 30, 25, 200, +1.0) after or on null +define NullBothAOO: (null as DateTime) after or on null +*/ + +module.exports['SameOrAfter'] = { + "library" : { + "localId" : "0", + "annotation" : [ { + "type" : "CqlToElmInfo", + "translatorVersion" : "4.2.0", + "translatorOptions" : "EnableDateRangeOptimization,EnableAnnotations,EnableResultTypes", + "signatureLevel" : "All" + }, { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "2729", + "s" : [ { + "value" : [ "", "library TestSnippet version '1'" ] + } ] + } + } ], + "identifier" : { + "id" : "TestSnippet", + "version" : "1" + }, + "schemaIdentifier" : { + "id" : "urn:hl7-org:elm", + "version" : "r1" + }, + "usings" : { + "def" : [ { + "localId" : "1", + "localIdentifier" : "System", + "uri" : "urn:hl7-org:elm-types:r1", + "annotation" : [ ] + }, { + "localId" : "206", + "localIdentifier" : "Simple", + "uri" : "https://github.com/cqframework/cql-execution/simple", + "version" : "1.0.0", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "206", + "s" : [ { + "value" : [ "", "using " ] + }, { + "s" : [ { + "value" : [ "Simple" ] + } ] + }, { + "value" : [ " version '1.0.0'" ] + } ] + } + } ] + } ] + }, + "contexts" : { + "def" : [ { + "localId" : "211", + "name" : "Patient", + "annotation" : [ ] + } ] + }, + "statements" : { + "def" : [ { + "localId" : "209", + "name" : "Patient", + "context" : "Patient", + "annotation" : [ ], + "expression" : { + "type" : "SingletonFrom", + "localId" : "210", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Retrieve", + "localId" : "208", + "dataType" : "{https://github.com/cqframework/cql-execution/simple}Patient", + "annotation" : [ ], + "include" : [ ], + "codeFilter" : [ ], + "dateFilter" : [ ], + "otherFilter" : [ ] + } + } + }, { + "localId" : "214", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "SameYear", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "214", + "s" : [ { + "value" : [ "", "define ", "SameYear", ": " ] + }, { + "r" : "269", + "s" : [ { + "r" : "233", + "s" : [ { + "r" : "215", + "value" : [ "DateTime", "(", "2000", ", ", "3", ", ", "15", ", ", "13", ", ", "30", ", ", "25", ", ", "200", ", " ] + }, { + "r" : "222", + "s" : [ { + "r" : "222", + "value" : [ "+", "1.0" ] + } ] + }, { + "value" : [ ")" ] + } ] + }, { + "r" : "269", + "value" : [ " ", "same year or after", " " ] + }, { + "r" : "260", + "s" : [ { + "r" : "242", + "value" : [ "DateTime", "(", "2000", ", ", "11", ", ", "23", ", ", "8", ", ", "14", ", ", "47", ", ", "500", ", " ] + }, { + "r" : "249", + "s" : [ { + "r" : "249", + "value" : [ "+", "1.0" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "SameOrAfter", + "localId" : "269", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "precision" : "Year", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "270", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "271", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "DateTime", + "localId" : "233", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "234", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "235", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "236", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "237", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "238", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "239", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "240", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "241", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "215", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "216", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "217", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "15", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "218", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "13", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "219", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "30", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "220", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "25", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "221", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "200", + "annotation" : [ ] + }, + "timezoneOffset" : { + "type" : "Literal", + "localId" : "222", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "1.0", + "annotation" : [ ] + } + }, { + "type" : "DateTime", + "localId" : "260", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "261", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "262", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "263", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "264", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "265", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "266", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "267", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "268", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "242", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "243", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "11", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "244", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "23", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "245", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "8", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "246", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "14", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "247", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "47", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "248", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "500", + "annotation" : [ ] + }, + "timezoneOffset" : { + "type" : "Literal", + "localId" : "249", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "1.0", + "annotation" : [ ] + } + } ] + } + }, { + "localId" : "274", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "YearAfter", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "274", + "s" : [ { + "value" : [ "", "define ", "YearAfter", ": " ] + }, { + "r" : "329", + "s" : [ { + "r" : "293", + "s" : [ { + "r" : "275", + "value" : [ "DateTime", "(", "2000", ", ", "3", ", ", "15", ", ", "13", ", ", "30", ", ", "25", ", ", "200", ", " ] + }, { + "r" : "282", + "s" : [ { + "r" : "282", + "value" : [ "+", "1.0" ] + } ] + }, { + "value" : [ ")" ] + } ] + }, { + "r" : "329", + "value" : [ " ", "same year or after", " " ] + }, { + "r" : "320", + "s" : [ { + "r" : "302", + "value" : [ "DateTime", "(", "1999", ", ", "11", ", ", "23", ", ", "8", ", ", "14", ", ", "47", ", ", "500", ", " ] + }, { + "r" : "309", + "s" : [ { + "r" : "309", + "value" : [ "+", "1.0" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "SameOrAfter", + "localId" : "329", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "precision" : "Year", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "330", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "331", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "DateTime", + "localId" : "293", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "294", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "295", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "296", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "297", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "298", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "299", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "300", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "301", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "275", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "276", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "277", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "15", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "278", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "13", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "279", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "30", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "280", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "25", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "281", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "200", + "annotation" : [ ] + }, + "timezoneOffset" : { + "type" : "Literal", + "localId" : "282", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "1.0", + "annotation" : [ ] + } + }, { + "type" : "DateTime", + "localId" : "320", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "321", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "322", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "323", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "324", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "325", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "326", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "327", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "328", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "302", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1999", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "303", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "11", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "304", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "23", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "305", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "8", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "306", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "14", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "307", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "47", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "308", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "500", + "annotation" : [ ] + }, + "timezoneOffset" : { + "type" : "Literal", + "localId" : "309", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "1.0", + "annotation" : [ ] + } + } ] + } + }, { + "localId" : "334", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "YearBefore", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "334", + "s" : [ { + "value" : [ "", "define ", "YearBefore", ": " ] + }, { + "r" : "389", + "s" : [ { + "r" : "353", + "s" : [ { + "r" : "335", + "value" : [ "DateTime", "(", "2000", ", ", "3", ", ", "15", ", ", "13", ", ", "30", ", ", "25", ", ", "200", ", " ] + }, { + "r" : "342", + "s" : [ { + "r" : "342", + "value" : [ "+", "1.0" ] + } ] + }, { + "value" : [ ")" ] + } ] + }, { + "r" : "389", + "value" : [ " ", "same year or after", " " ] + }, { + "r" : "380", + "s" : [ { + "r" : "362", + "value" : [ "DateTime", "(", "2001", ", ", "11", ", ", "23", ", ", "8", ", ", "14", ", ", "47", ", ", "500", ", " ] + }, { + "r" : "369", + "s" : [ { + "r" : "369", + "value" : [ "+", "1.0" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "SameOrAfter", + "localId" : "389", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "precision" : "Year", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "390", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "391", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "DateTime", + "localId" : "353", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "354", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "355", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "356", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "357", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "358", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "359", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "360", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "361", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "335", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "336", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "337", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "15", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "338", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "13", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "339", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "30", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "340", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "25", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "341", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "200", + "annotation" : [ ] + }, + "timezoneOffset" : { + "type" : "Literal", + "localId" : "342", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "1.0", + "annotation" : [ ] + } + }, { + "type" : "DateTime", + "localId" : "380", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "381", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "382", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "383", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "384", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "385", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "386", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "387", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "388", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "362", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2001", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "363", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "11", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "364", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "23", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "365", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "8", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "366", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "14", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "367", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "47", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "368", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "500", + "annotation" : [ ] + }, + "timezoneOffset" : { + "type" : "Literal", + "localId" : "369", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "1.0", + "annotation" : [ ] + } + } ] + } + }, { + "localId" : "394", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "SameMonth", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "394", + "s" : [ { + "value" : [ "", "define ", "SameMonth", ": " ] + }, { + "r" : "449", + "s" : [ { + "r" : "413", + "s" : [ { + "r" : "395", + "value" : [ "DateTime", "(", "2000", ", ", "3", ", ", "15", ", ", "13", ", ", "30", ", ", "25", ", ", "200", ", " ] + }, { + "r" : "402", + "s" : [ { + "r" : "402", + "value" : [ "+", "1.0" ] + } ] + }, { + "value" : [ ")" ] + } ] + }, { + "r" : "449", + "value" : [ " ", "same month or after", " " ] + }, { + "r" : "440", + "s" : [ { + "r" : "422", + "value" : [ "DateTime", "(", "2000", ", ", "3", ", ", "23", ", ", "8", ", ", "14", ", ", "47", ", ", "500", ", " ] + }, { + "r" : "429", + "s" : [ { + "r" : "429", + "value" : [ "+", "1.0" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "SameOrAfter", + "localId" : "449", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "precision" : "Month", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "450", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "451", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "DateTime", + "localId" : "413", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "414", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "415", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "416", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "417", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "418", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "419", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "420", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "421", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "395", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "396", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "397", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "15", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "398", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "13", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "399", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "30", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "400", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "25", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "401", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "200", + "annotation" : [ ] + }, + "timezoneOffset" : { + "type" : "Literal", + "localId" : "402", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "1.0", + "annotation" : [ ] + } + }, { + "type" : "DateTime", + "localId" : "440", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "441", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "442", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "443", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "444", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "445", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "446", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "447", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "448", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "422", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "423", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "424", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "23", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "425", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "8", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "426", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "14", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "427", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "47", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "428", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "500", + "annotation" : [ ] + }, + "timezoneOffset" : { + "type" : "Literal", + "localId" : "429", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "1.0", + "annotation" : [ ] + } + } ] + } + }, { + "localId" : "454", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "MonthAfter", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "454", + "s" : [ { + "value" : [ "", "define ", "MonthAfter", ": " ] + }, { + "r" : "509", + "s" : [ { + "r" : "473", + "s" : [ { + "r" : "455", + "value" : [ "DateTime", "(", "2000", ", ", "3", ", ", "15", ", ", "13", ", ", "30", ", ", "25", ", ", "200", ", " ] + }, { + "r" : "462", + "s" : [ { + "r" : "462", + "value" : [ "+", "1.0" ] + } ] + }, { + "value" : [ ")" ] + } ] + }, { + "r" : "509", + "value" : [ " ", "same month or after", " " ] + }, { + "r" : "500", + "s" : [ { + "r" : "482", + "value" : [ "DateTime", "(", "2000", ", ", "2", ", ", "23", ", ", "8", ", ", "14", ", ", "47", ", ", "500", ", " ] + }, { + "r" : "489", + "s" : [ { + "r" : "489", + "value" : [ "+", "1.0" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "SameOrAfter", + "localId" : "509", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "precision" : "Month", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "510", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "511", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "DateTime", + "localId" : "473", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "474", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "475", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "476", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "477", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "478", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "479", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "480", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "481", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "455", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "456", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "457", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "15", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "458", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "13", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "459", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "30", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "460", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "25", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "461", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "200", + "annotation" : [ ] + }, + "timezoneOffset" : { + "type" : "Literal", + "localId" : "462", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "1.0", + "annotation" : [ ] + } + }, { + "type" : "DateTime", + "localId" : "500", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "501", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "502", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "503", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "504", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "505", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "506", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "507", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "508", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "482", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "483", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "484", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "23", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "485", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "8", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "486", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "14", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "487", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "47", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "488", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "500", + "annotation" : [ ] + }, + "timezoneOffset" : { + "type" : "Literal", + "localId" : "489", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "1.0", + "annotation" : [ ] + } + } ] + } + }, { + "localId" : "514", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "MonthBefore", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "514", + "s" : [ { + "value" : [ "", "define ", "MonthBefore", ": " ] + }, { + "r" : "569", + "s" : [ { + "r" : "533", + "s" : [ { + "r" : "515", + "value" : [ "DateTime", "(", "2000", ", ", "3", ", ", "15", ", ", "13", ", ", "30", ", ", "25", ", ", "200", ", " ] + }, { + "r" : "522", + "s" : [ { + "r" : "522", + "value" : [ "+", "1.0" ] + } ] + }, { + "value" : [ ")" ] + } ] + }, { + "r" : "569", + "value" : [ " ", "same month or after", " " ] + }, { + "r" : "560", + "s" : [ { + "r" : "542", + "value" : [ "DateTime", "(", "2000", ", ", "4", ", ", "23", ", ", "8", ", ", "14", ", ", "47", ", ", "500", ", " ] + }, { + "r" : "549", + "s" : [ { + "r" : "549", + "value" : [ "+", "1.0" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "SameOrAfter", + "localId" : "569", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "precision" : "Month", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "570", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "571", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "DateTime", + "localId" : "533", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "534", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "535", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "536", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "537", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "538", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "539", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "540", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "541", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "515", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "516", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "517", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "15", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "518", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "13", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "519", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "30", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "520", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "25", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "521", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "200", + "annotation" : [ ] + }, + "timezoneOffset" : { + "type" : "Literal", + "localId" : "522", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "1.0", + "annotation" : [ ] + } + }, { + "type" : "DateTime", + "localId" : "560", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "561", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "562", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "563", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "564", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "565", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "566", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "567", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "568", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "542", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "543", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "4", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "544", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "23", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "545", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "8", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "546", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "14", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "547", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "47", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "548", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "500", + "annotation" : [ ] + }, + "timezoneOffset" : { + "type" : "Literal", + "localId" : "549", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "1.0", + "annotation" : [ ] + } + } ] + } + }, { + "localId" : "574", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "SameDay", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "574", + "s" : [ { + "value" : [ "", "define ", "SameDay", ": " ] + }, { + "r" : "629", + "s" : [ { + "r" : "593", + "s" : [ { + "r" : "575", + "value" : [ "DateTime", "(", "2000", ", ", "3", ", ", "15", ", ", "13", ", ", "30", ", ", "25", ", ", "200", ", " ] + }, { + "r" : "582", + "s" : [ { + "r" : "582", + "value" : [ "+", "1.0" ] + } ] + }, { + "value" : [ ")" ] + } ] + }, { + "r" : "629", + "value" : [ " ", "same day or after", " " ] + }, { + "r" : "620", + "s" : [ { + "r" : "602", + "value" : [ "DateTime", "(", "2000", ", ", "3", ", ", "15", ", ", "8", ", ", "14", ", ", "47", ", ", "500", ", " ] + }, { + "r" : "609", + "s" : [ { + "r" : "609", + "value" : [ "+", "1.0" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "SameOrAfter", + "localId" : "629", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "precision" : "Day", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "630", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "631", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "DateTime", + "localId" : "593", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "594", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "595", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "596", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "597", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "598", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "599", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "600", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "601", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "575", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "576", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "577", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "15", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "578", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "13", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "579", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "30", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "580", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "25", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "581", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "200", + "annotation" : [ ] + }, + "timezoneOffset" : { + "type" : "Literal", + "localId" : "582", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "1.0", + "annotation" : [ ] + } + }, { + "type" : "DateTime", + "localId" : "620", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "621", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "622", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "623", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "624", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "625", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "626", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "627", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "628", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "602", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "603", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "604", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "15", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "605", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "8", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "606", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "14", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "607", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "47", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "608", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "500", + "annotation" : [ ] + }, + "timezoneOffset" : { + "type" : "Literal", + "localId" : "609", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "1.0", + "annotation" : [ ] + } + } ] + } + }, { + "localId" : "634", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "DayAfter", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "634", + "s" : [ { + "value" : [ "", "define ", "DayAfter", ": " ] + }, { + "r" : "689", + "s" : [ { + "r" : "653", + "s" : [ { + "r" : "635", + "value" : [ "DateTime", "(", "2000", ", ", "3", ", ", "15", ", ", "13", ", ", "30", ", ", "25", ", ", "200", ", " ] + }, { + "r" : "642", + "s" : [ { + "r" : "642", + "value" : [ "+", "1.0" ] + } ] + }, { + "value" : [ ")" ] + } ] + }, { + "r" : "689", + "value" : [ " ", "same day or after", " " ] + }, { + "r" : "680", + "s" : [ { + "r" : "662", + "value" : [ "DateTime", "(", "2000", ", ", "3", ", ", "14", ", ", "8", ", ", "14", ", ", "47", ", ", "500", ", " ] + }, { + "r" : "669", + "s" : [ { + "r" : "669", + "value" : [ "+", "1.0" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "SameOrAfter", + "localId" : "689", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "precision" : "Day", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "690", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "691", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "DateTime", + "localId" : "653", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "654", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "655", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "656", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "657", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "658", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "659", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "660", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "661", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "635", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "636", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "637", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "15", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "638", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "13", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "639", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "30", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "640", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "25", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "641", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "200", + "annotation" : [ ] + }, + "timezoneOffset" : { + "type" : "Literal", + "localId" : "642", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "1.0", + "annotation" : [ ] + } + }, { + "type" : "DateTime", + "localId" : "680", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "681", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "682", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "683", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "684", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "685", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "686", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "687", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "688", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "662", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "663", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "664", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "14", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "665", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "8", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "666", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "14", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "667", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "47", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "668", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "500", + "annotation" : [ ] + }, + "timezoneOffset" : { + "type" : "Literal", + "localId" : "669", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "1.0", + "annotation" : [ ] + } + } ] + } + }, { + "localId" : "694", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "DayBefore", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "694", + "s" : [ { + "value" : [ "", "define ", "DayBefore", ": " ] + }, { + "r" : "749", + "s" : [ { + "r" : "713", + "s" : [ { + "r" : "695", + "value" : [ "DateTime", "(", "2000", ", ", "3", ", ", "15", ", ", "13", ", ", "30", ", ", "25", ", ", "200", ", " ] + }, { + "r" : "702", + "s" : [ { + "r" : "702", + "value" : [ "+", "1.0" ] + } ] + }, { + "value" : [ ")" ] + } ] + }, { + "r" : "749", + "value" : [ " ", "same day or after", " " ] + }, { + "r" : "740", + "s" : [ { + "r" : "722", + "value" : [ "DateTime", "(", "2000", ", ", "3", ", ", "16", ", ", "8", ", ", "14", ", ", "47", ", ", "500", ", " ] + }, { + "r" : "729", + "s" : [ { + "r" : "729", + "value" : [ "+", "1.0" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "SameOrAfter", + "localId" : "749", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "precision" : "Day", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "750", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "751", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "DateTime", + "localId" : "713", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "714", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "715", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "716", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "717", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "718", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "719", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "720", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "721", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "695", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "696", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "697", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "15", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "698", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "13", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "699", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "30", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "700", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "25", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "701", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "200", + "annotation" : [ ] + }, + "timezoneOffset" : { + "type" : "Literal", + "localId" : "702", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "1.0", + "annotation" : [ ] + } + }, { + "type" : "DateTime", + "localId" : "740", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "741", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "742", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "743", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "744", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "745", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "746", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "747", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "748", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "722", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "723", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "724", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "16", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "725", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "8", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "726", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "14", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "727", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "47", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "728", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "500", + "annotation" : [ ] + }, + "timezoneOffset" : { + "type" : "Literal", + "localId" : "729", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "1.0", + "annotation" : [ ] + } + } ] + } + }, { + "localId" : "754", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "SameHour", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "754", + "s" : [ { + "value" : [ "", "define ", "SameHour", ": " ] + }, { + "r" : "809", + "s" : [ { + "r" : "773", + "s" : [ { + "r" : "755", + "value" : [ "DateTime", "(", "2000", ", ", "3", ", ", "15", ", ", "13", ", ", "30", ", ", "25", ", ", "200", ", " ] + }, { + "r" : "762", + "s" : [ { + "r" : "762", + "value" : [ "+", "1.0" ] + } ] + }, { + "value" : [ ")" ] + } ] + }, { + "r" : "809", + "value" : [ " ", "same hour or after", " " ] + }, { + "r" : "800", + "s" : [ { + "r" : "782", + "value" : [ "DateTime", "(", "2000", ", ", "3", ", ", "15", ", ", "13", ", ", "14", ", ", "47", ", ", "500", ", " ] + }, { + "r" : "789", + "s" : [ { + "r" : "789", + "value" : [ "+", "1.0" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "SameOrAfter", + "localId" : "809", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "precision" : "Hour", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "810", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "811", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "DateTime", + "localId" : "773", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "774", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "775", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "776", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "777", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "778", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "779", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "780", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "781", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "755", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "756", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "757", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "15", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "758", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "13", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "759", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "30", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "760", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "25", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "761", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "200", + "annotation" : [ ] + }, + "timezoneOffset" : { + "type" : "Literal", + "localId" : "762", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "1.0", + "annotation" : [ ] + } + }, { + "type" : "DateTime", + "localId" : "800", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "801", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "802", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "803", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "804", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "805", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "806", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "807", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "808", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "782", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "783", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "784", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "15", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "785", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "13", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "786", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "14", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "787", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "47", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "788", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "500", + "annotation" : [ ] + }, + "timezoneOffset" : { + "type" : "Literal", + "localId" : "789", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "1.0", + "annotation" : [ ] + } + } ] + } + }, { + "localId" : "814", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "HourAfter", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "814", + "s" : [ { + "value" : [ "", "define ", "HourAfter", ": " ] + }, { + "r" : "869", + "s" : [ { + "r" : "833", + "s" : [ { + "r" : "815", + "value" : [ "DateTime", "(", "2000", ", ", "3", ", ", "15", ", ", "13", ", ", "30", ", ", "25", ", ", "200", ", " ] + }, { + "r" : "822", + "s" : [ { + "r" : "822", + "value" : [ "+", "1.0" ] + } ] + }, { + "value" : [ ")" ] + } ] + }, { + "r" : "869", + "value" : [ " ", "same hour or after", " " ] + }, { + "r" : "860", + "s" : [ { + "r" : "842", + "value" : [ "DateTime", "(", "2000", ", ", "3", ", ", "15", ", ", "12", ", ", "14", ", ", "47", ", ", "500", ", " ] + }, { + "r" : "849", + "s" : [ { + "r" : "849", + "value" : [ "+", "1.0" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "SameOrAfter", + "localId" : "869", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "precision" : "Hour", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "870", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "871", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "DateTime", + "localId" : "833", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "834", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "835", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "836", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "837", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "838", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "839", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "840", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "841", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "815", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "816", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "817", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "15", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "818", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "13", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "819", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "30", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "820", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "25", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "821", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "200", + "annotation" : [ ] + }, + "timezoneOffset" : { + "type" : "Literal", + "localId" : "822", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "1.0", + "annotation" : [ ] + } + }, { + "type" : "DateTime", + "localId" : "860", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "861", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "862", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "863", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "864", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "865", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "866", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "867", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "868", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "842", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "843", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "844", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "15", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "845", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "12", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "846", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "14", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "847", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "47", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "848", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "500", + "annotation" : [ ] + }, + "timezoneOffset" : { + "type" : "Literal", + "localId" : "849", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "1.0", + "annotation" : [ ] + } + } ] + } + }, { + "localId" : "874", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "HourBefore", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "874", + "s" : [ { + "value" : [ "", "define ", "HourBefore", ": " ] + }, { + "r" : "929", + "s" : [ { + "r" : "893", + "s" : [ { + "r" : "875", + "value" : [ "DateTime", "(", "2000", ", ", "3", ", ", "15", ", ", "13", ", ", "30", ", ", "25", ", ", "200", ", " ] + }, { + "r" : "882", + "s" : [ { + "r" : "882", + "value" : [ "+", "1.0" ] + } ] + }, { + "value" : [ ")" ] + } ] + }, { + "r" : "929", + "value" : [ " ", "same hour or after", " " ] + }, { + "r" : "920", + "s" : [ { + "r" : "902", + "value" : [ "DateTime", "(", "2000", ", ", "3", ", ", "15", ", ", "14", ", ", "14", ", ", "47", ", ", "500", ", " ] + }, { + "r" : "909", + "s" : [ { + "r" : "909", + "value" : [ "+", "1.0" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "SameOrAfter", + "localId" : "929", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "precision" : "Hour", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "930", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "931", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "DateTime", + "localId" : "893", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "894", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "895", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "896", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "897", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "898", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "899", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "900", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "901", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "875", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "876", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "877", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "15", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "878", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "13", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "879", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "30", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "880", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "25", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "881", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "200", + "annotation" : [ ] + }, + "timezoneOffset" : { + "type" : "Literal", + "localId" : "882", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "1.0", + "annotation" : [ ] + } + }, { + "type" : "DateTime", + "localId" : "920", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "921", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "922", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "923", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "924", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "925", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "926", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "927", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "928", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "902", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "903", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "904", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "15", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "905", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "14", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "906", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "14", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "907", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "47", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "908", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "500", + "annotation" : [ ] + }, + "timezoneOffset" : { + "type" : "Literal", + "localId" : "909", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "1.0", + "annotation" : [ ] + } + } ] + } + }, { + "localId" : "934", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "SameMinute", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "934", + "s" : [ { + "value" : [ "", "define ", "SameMinute", ": " ] + }, { + "r" : "989", + "s" : [ { + "r" : "953", + "s" : [ { + "r" : "935", + "value" : [ "DateTime", "(", "2000", ", ", "3", ", ", "15", ", ", "13", ", ", "30", ", ", "25", ", ", "200", ", " ] + }, { + "r" : "942", + "s" : [ { + "r" : "942", + "value" : [ "+", "1.0" ] + } ] + }, { + "value" : [ ")" ] + } ] + }, { + "r" : "989", + "value" : [ " ", "same minute or after", " " ] + }, { + "r" : "980", + "s" : [ { + "r" : "962", + "value" : [ "DateTime", "(", "2000", ", ", "3", ", ", "15", ", ", "13", ", ", "30", ", ", "47", ", ", "500", ", " ] + }, { + "r" : "969", + "s" : [ { + "r" : "969", + "value" : [ "+", "1.0" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "SameOrAfter", + "localId" : "989", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "precision" : "Minute", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "990", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "991", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "DateTime", + "localId" : "953", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "954", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "955", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "956", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "957", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "958", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "959", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "960", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "961", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "935", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "936", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "937", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "15", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "938", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "13", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "939", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "30", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "940", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "25", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "941", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "200", + "annotation" : [ ] + }, + "timezoneOffset" : { + "type" : "Literal", + "localId" : "942", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "1.0", + "annotation" : [ ] + } + }, { + "type" : "DateTime", + "localId" : "980", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "981", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "982", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "983", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "984", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "985", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "986", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "987", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "988", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "962", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "963", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "964", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "15", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "965", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "13", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "966", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "30", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "967", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "47", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "968", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "500", + "annotation" : [ ] + }, + "timezoneOffset" : { + "type" : "Literal", + "localId" : "969", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "1.0", + "annotation" : [ ] + } + } ] + } + }, { + "localId" : "994", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "MinuteAfter", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "994", + "s" : [ { + "value" : [ "", "define ", "MinuteAfter", ": " ] + }, { + "r" : "1049", + "s" : [ { + "r" : "1013", + "s" : [ { + "r" : "995", + "value" : [ "DateTime", "(", "2000", ", ", "3", ", ", "15", ", ", "13", ", ", "30", ", ", "25", ", ", "200", ", " ] + }, { + "r" : "1002", + "s" : [ { + "r" : "1002", + "value" : [ "+", "1.0" ] + } ] + }, { + "value" : [ ")" ] + } ] + }, { + "r" : "1049", + "value" : [ " ", "same minute or after", " " ] + }, { + "r" : "1040", + "s" : [ { + "r" : "1022", + "value" : [ "DateTime", "(", "2000", ", ", "3", ", ", "15", ", ", "13", ", ", "29", ", ", "47", ", ", "500", ", " ] + }, { + "r" : "1029", + "s" : [ { + "r" : "1029", + "value" : [ "+", "1.0" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "SameOrAfter", + "localId" : "1049", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "precision" : "Minute", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1050", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1051", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "DateTime", + "localId" : "1013", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1014", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1015", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1016", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1017", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1018", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1019", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1020", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1021", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "995", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "996", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "997", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "15", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "998", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "13", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "999", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "30", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "1000", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "25", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "1001", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "200", + "annotation" : [ ] + }, + "timezoneOffset" : { + "type" : "Literal", + "localId" : "1002", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "1.0", + "annotation" : [ ] + } + }, { + "type" : "DateTime", + "localId" : "1040", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1041", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1042", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1043", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1044", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1045", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1046", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1047", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1048", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1022", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1023", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "1024", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "15", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "1025", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "13", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "1026", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "29", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "1027", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "47", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "1028", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "500", + "annotation" : [ ] + }, + "timezoneOffset" : { + "type" : "Literal", + "localId" : "1029", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "1.0", + "annotation" : [ ] + } + } ] + } + }, { + "localId" : "1054", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "MinuteBefore", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "1054", + "s" : [ { + "value" : [ "", "define ", "MinuteBefore", ": " ] + }, { + "r" : "1109", + "s" : [ { + "r" : "1073", + "s" : [ { + "r" : "1055", + "value" : [ "DateTime", "(", "2000", ", ", "3", ", ", "15", ", ", "13", ", ", "30", ", ", "25", ", ", "200", ", " ] + }, { + "r" : "1062", + "s" : [ { + "r" : "1062", + "value" : [ "+", "1.0" ] + } ] + }, { + "value" : [ ")" ] + } ] + }, { + "r" : "1109", + "value" : [ " ", "same minute or after", " " ] + }, { + "r" : "1100", + "s" : [ { + "r" : "1082", + "value" : [ "DateTime", "(", "2000", ", ", "3", ", ", "15", ", ", "13", ", ", "31", ", ", "47", ", ", "500", ", " ] + }, { + "r" : "1089", + "s" : [ { + "r" : "1089", + "value" : [ "+", "1.0" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "SameOrAfter", + "localId" : "1109", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "precision" : "Minute", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1110", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1111", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "DateTime", + "localId" : "1073", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1074", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1075", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1076", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1077", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1078", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1079", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1080", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1081", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1055", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1056", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "1057", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "15", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "1058", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "13", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "1059", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "30", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "1060", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "25", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "1061", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "200", + "annotation" : [ ] + }, + "timezoneOffset" : { + "type" : "Literal", + "localId" : "1062", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "1.0", + "annotation" : [ ] + } + }, { + "type" : "DateTime", + "localId" : "1100", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1101", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1102", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1103", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1104", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1105", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1106", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1107", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1108", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1082", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1083", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "1084", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "15", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "1085", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "13", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "1086", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "31", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "1087", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "47", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "1088", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "500", + "annotation" : [ ] + }, + "timezoneOffset" : { + "type" : "Literal", + "localId" : "1089", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "1.0", + "annotation" : [ ] + } + } ] + } + }, { + "localId" : "1114", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "SameSecond", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "1114", + "s" : [ { + "value" : [ "", "define ", "SameSecond", ": " ] + }, { + "r" : "1169", + "s" : [ { + "r" : "1133", + "s" : [ { + "r" : "1115", + "value" : [ "DateTime", "(", "2000", ", ", "3", ", ", "15", ", ", "13", ", ", "30", ", ", "25", ", ", "200", ", " ] + }, { + "r" : "1122", + "s" : [ { + "r" : "1122", + "value" : [ "+", "1.0" ] + } ] + }, { + "value" : [ ")" ] + } ] + }, { + "r" : "1169", + "value" : [ " ", "same second or after", " " ] + }, { + "r" : "1160", + "s" : [ { + "r" : "1142", + "value" : [ "DateTime", "(", "2000", ", ", "3", ", ", "15", ", ", "13", ", ", "30", ", ", "25", ", ", "500", ", " ] + }, { + "r" : "1149", + "s" : [ { + "r" : "1149", + "value" : [ "+", "1.0" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "SameOrAfter", + "localId" : "1169", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "precision" : "Second", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1170", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1171", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "DateTime", + "localId" : "1133", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1134", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1135", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1136", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1137", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1138", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1139", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1140", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1141", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1115", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1116", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "1117", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "15", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "1118", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "13", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "1119", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "30", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "1120", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "25", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "1121", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "200", + "annotation" : [ ] + }, + "timezoneOffset" : { + "type" : "Literal", + "localId" : "1122", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "1.0", + "annotation" : [ ] + } + }, { + "type" : "DateTime", + "localId" : "1160", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1161", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1162", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1163", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1164", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1165", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1166", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1167", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1168", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1142", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1143", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "1144", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "15", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "1145", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "13", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "1146", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "30", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "1147", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "25", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "1148", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "500", + "annotation" : [ ] + }, + "timezoneOffset" : { + "type" : "Literal", + "localId" : "1149", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "1.0", + "annotation" : [ ] + } + } ] + } + }, { + "localId" : "1174", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "SecondAfter", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "1174", + "s" : [ { + "value" : [ "", "define ", "SecondAfter", ": " ] + }, { + "r" : "1229", + "s" : [ { + "r" : "1193", + "s" : [ { + "r" : "1175", + "value" : [ "DateTime", "(", "2000", ", ", "3", ", ", "15", ", ", "13", ", ", "30", ", ", "25", ", ", "200", ", " ] + }, { + "r" : "1182", + "s" : [ { + "r" : "1182", + "value" : [ "+", "1.0" ] + } ] + }, { + "value" : [ ")" ] + } ] + }, { + "r" : "1229", + "value" : [ " ", "same second or after", " " ] + }, { + "r" : "1220", + "s" : [ { + "r" : "1202", + "value" : [ "DateTime", "(", "2000", ", ", "3", ", ", "15", ", ", "13", ", ", "30", ", ", "24", ", ", "500", ", " ] + }, { + "r" : "1209", + "s" : [ { + "r" : "1209", + "value" : [ "+", "1.0" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "SameOrAfter", + "localId" : "1229", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "precision" : "Second", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1230", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1231", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "DateTime", + "localId" : "1193", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1194", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1195", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1196", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1197", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1198", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1199", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1200", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1201", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1175", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1176", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "1177", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "15", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "1178", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "13", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "1179", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "30", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "1180", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "25", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "1181", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "200", + "annotation" : [ ] + }, + "timezoneOffset" : { + "type" : "Literal", + "localId" : "1182", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "1.0", + "annotation" : [ ] + } + }, { + "type" : "DateTime", + "localId" : "1220", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1221", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1222", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1223", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1224", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1225", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1226", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1227", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1228", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1202", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1203", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "1204", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "15", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "1205", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "13", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "1206", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "30", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "1207", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "24", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "1208", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "500", + "annotation" : [ ] + }, + "timezoneOffset" : { + "type" : "Literal", + "localId" : "1209", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "1.0", + "annotation" : [ ] + } + } ] + } + }, { + "localId" : "1234", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "SecondBefore", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "1234", + "s" : [ { + "value" : [ "", "define ", "SecondBefore", ": " ] + }, { + "r" : "1289", + "s" : [ { + "r" : "1253", + "s" : [ { + "r" : "1235", + "value" : [ "DateTime", "(", "2000", ", ", "3", ", ", "15", ", ", "13", ", ", "30", ", ", "25", ", ", "200", ", " ] + }, { + "r" : "1242", + "s" : [ { + "r" : "1242", + "value" : [ "+", "1.0" ] + } ] + }, { + "value" : [ ")" ] + } ] + }, { + "r" : "1289", + "value" : [ " ", "same second or after", " " ] + }, { + "r" : "1280", + "s" : [ { + "r" : "1262", + "value" : [ "DateTime", "(", "2000", ", ", "3", ", ", "15", ", ", "13", ", ", "30", ", ", "26", ", ", "500", ", " ] + }, { + "r" : "1269", + "s" : [ { + "r" : "1269", + "value" : [ "+", "1.0" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "SameOrAfter", + "localId" : "1289", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "precision" : "Second", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1290", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1291", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "DateTime", + "localId" : "1253", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1254", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1255", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1256", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1257", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1258", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1259", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1260", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1261", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1235", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1236", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "1237", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "15", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "1238", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "13", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "1239", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "30", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "1240", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "25", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "1241", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "200", + "annotation" : [ ] + }, + "timezoneOffset" : { + "type" : "Literal", + "localId" : "1242", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "1.0", + "annotation" : [ ] + } + }, { + "type" : "DateTime", + "localId" : "1280", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1281", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1282", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1283", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1284", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1285", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1286", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1287", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1288", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1262", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1263", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "1264", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "15", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "1265", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "13", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "1266", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "30", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "1267", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "26", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "1268", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "500", + "annotation" : [ ] + }, + "timezoneOffset" : { + "type" : "Literal", + "localId" : "1269", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "1.0", + "annotation" : [ ] + } + } ] + } + }, { + "localId" : "1294", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "SameMillisecond", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "1294", + "s" : [ { + "value" : [ "", "define ", "SameMillisecond", ": " ] + }, { + "r" : "1349", + "s" : [ { + "r" : "1313", + "s" : [ { + "r" : "1295", + "value" : [ "DateTime", "(", "2000", ", ", "3", ", ", "15", ", ", "13", ", ", "30", ", ", "25", ", ", "200", ", " ] + }, { + "r" : "1302", + "s" : [ { + "r" : "1302", + "value" : [ "+", "1.0" ] + } ] + }, { + "value" : [ ")" ] + } ] + }, { + "r" : "1349", + "value" : [ " ", "same millisecond or after", " " ] + }, { + "r" : "1340", + "s" : [ { + "r" : "1322", + "value" : [ "DateTime", "(", "2000", ", ", "3", ", ", "15", ", ", "13", ", ", "30", ", ", "25", ", ", "200", ", " ] + }, { + "r" : "1329", + "s" : [ { + "r" : "1329", + "value" : [ "+", "1.0" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "SameOrAfter", + "localId" : "1349", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "precision" : "Millisecond", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1350", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1351", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "DateTime", + "localId" : "1313", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1314", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1315", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1316", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1317", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1318", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1319", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1320", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1321", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1295", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1296", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "1297", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "15", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "1298", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "13", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "1299", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "30", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "1300", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "25", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "1301", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "200", + "annotation" : [ ] + }, + "timezoneOffset" : { + "type" : "Literal", + "localId" : "1302", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "1.0", + "annotation" : [ ] + } + }, { + "type" : "DateTime", + "localId" : "1340", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1341", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1342", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1343", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1344", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1345", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1346", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1347", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1348", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1322", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1323", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "1324", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "15", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "1325", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "13", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "1326", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "30", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "1327", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "25", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "1328", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "200", + "annotation" : [ ] + }, + "timezoneOffset" : { + "type" : "Literal", + "localId" : "1329", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "1.0", + "annotation" : [ ] + } + } ] + } + }, { + "localId" : "1354", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "MillisecondAfter", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "1354", + "s" : [ { + "value" : [ "", "define ", "MillisecondAfter", ": " ] + }, { + "r" : "1409", + "s" : [ { + "r" : "1373", + "s" : [ { + "r" : "1355", + "value" : [ "DateTime", "(", "2000", ", ", "3", ", ", "15", ", ", "13", ", ", "30", ", ", "25", ", ", "200", ", " ] + }, { + "r" : "1362", + "s" : [ { + "r" : "1362", + "value" : [ "+", "1.0" ] + } ] + }, { + "value" : [ ")" ] + } ] + }, { + "r" : "1409", + "value" : [ " ", "same millisecond or after", " " ] + }, { + "r" : "1400", + "s" : [ { + "r" : "1382", + "value" : [ "DateTime", "(", "2000", ", ", "3", ", ", "15", ", ", "13", ", ", "30", ", ", "25", ", ", "199", ", " ] + }, { + "r" : "1389", + "s" : [ { + "r" : "1389", + "value" : [ "+", "1.0" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "SameOrAfter", + "localId" : "1409", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "precision" : "Millisecond", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1410", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1411", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "DateTime", + "localId" : "1373", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1374", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1375", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1376", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1377", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1378", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1379", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1380", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1381", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1355", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1356", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "1357", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "15", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "1358", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "13", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "1359", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "30", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "1360", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "25", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "1361", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "200", + "annotation" : [ ] + }, + "timezoneOffset" : { + "type" : "Literal", + "localId" : "1362", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "1.0", + "annotation" : [ ] + } + }, { + "type" : "DateTime", + "localId" : "1400", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1401", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1402", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1403", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1404", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1405", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1406", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1407", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1408", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1382", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1383", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "1384", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "15", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "1385", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "13", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "1386", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "30", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "1387", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "25", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "1388", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "199", + "annotation" : [ ] + }, + "timezoneOffset" : { + "type" : "Literal", + "localId" : "1389", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "1.0", + "annotation" : [ ] + } + } ] + } + }, { + "localId" : "1414", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "MillisecondBefore", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "1414", + "s" : [ { + "value" : [ "", "define ", "MillisecondBefore", ": " ] + }, { + "r" : "1469", + "s" : [ { + "r" : "1433", + "s" : [ { + "r" : "1415", + "value" : [ "DateTime", "(", "2000", ", ", "3", ", ", "15", ", ", "13", ", ", "30", ", ", "25", ", ", "200", ", " ] + }, { + "r" : "1422", + "s" : [ { + "r" : "1422", + "value" : [ "+", "1.0" ] + } ] + }, { + "value" : [ ")" ] + } ] + }, { + "r" : "1469", + "value" : [ " ", "same millisecond or after", " " ] + }, { + "r" : "1460", + "s" : [ { + "r" : "1442", + "value" : [ "DateTime", "(", "2000", ", ", "3", ", ", "15", ", ", "13", ", ", "30", ", ", "25", ", ", "201", ", " ] + }, { + "r" : "1449", + "s" : [ { + "r" : "1449", + "value" : [ "+", "1.0" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "SameOrAfter", + "localId" : "1469", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "precision" : "Millisecond", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1470", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1471", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "DateTime", + "localId" : "1433", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1434", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1435", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1436", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1437", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1438", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1439", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1440", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1441", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1415", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1416", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "1417", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "15", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "1418", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "13", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "1419", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "30", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "1420", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "25", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "1421", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "200", + "annotation" : [ ] + }, + "timezoneOffset" : { + "type" : "Literal", + "localId" : "1422", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "1.0", + "annotation" : [ ] + } + }, { + "type" : "DateTime", + "localId" : "1460", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1461", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1462", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1463", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1464", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1465", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1466", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1467", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1468", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1442", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1443", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "1444", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "15", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "1445", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "13", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "1446", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "30", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "1447", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "25", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "1448", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "201", + "annotation" : [ ] + }, + "timezoneOffset" : { + "type" : "Literal", + "localId" : "1449", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "1.0", + "annotation" : [ ] + } + } ] + } + }, { + "localId" : "1474", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "Same", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "1474", + "s" : [ { + "value" : [ "", "define ", "Same", ": " ] + }, { + "r" : "1529", + "s" : [ { + "r" : "1493", + "s" : [ { + "r" : "1475", + "value" : [ "DateTime", "(", "2000", ", ", "3", ", ", "15", ", ", "13", ", ", "30", ", ", "25", ", ", "200", ", " ] + }, { + "r" : "1482", + "s" : [ { + "r" : "1482", + "value" : [ "+", "1.0" ] + } ] + }, { + "value" : [ ")" ] + } ] + }, { + "r" : "1529", + "value" : [ " ", "same or after", " " ] + }, { + "r" : "1520", + "s" : [ { + "r" : "1502", + "value" : [ "DateTime", "(", "2000", ", ", "3", ", ", "15", ", ", "13", ", ", "30", ", ", "25", ", ", "200", ", " ] + }, { + "r" : "1509", + "s" : [ { + "r" : "1509", + "value" : [ "+", "1.0" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "SameOrAfter", + "localId" : "1529", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1530", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1531", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "DateTime", + "localId" : "1493", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1494", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1495", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1496", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1497", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1498", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1499", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1500", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1501", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1475", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1476", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "1477", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "15", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "1478", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "13", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "1479", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "30", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "1480", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "25", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "1481", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "200", + "annotation" : [ ] + }, + "timezoneOffset" : { + "type" : "Literal", + "localId" : "1482", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "1.0", + "annotation" : [ ] + } + }, { + "type" : "DateTime", + "localId" : "1520", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1521", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1522", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1523", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1524", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1525", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1526", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1527", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1528", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1502", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1503", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "1504", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "15", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "1505", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "13", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "1506", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "30", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "1507", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "25", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "1508", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "200", + "annotation" : [ ] + }, + "timezoneOffset" : { + "type" : "Literal", + "localId" : "1509", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "1.0", + "annotation" : [ ] + } + } ] + } + }, { + "localId" : "1534", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "After", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "1534", + "s" : [ { + "value" : [ "", "define ", "After", ": " ] + }, { + "r" : "1589", + "s" : [ { + "r" : "1553", + "s" : [ { + "r" : "1535", + "value" : [ "DateTime", "(", "2000", ", ", "3", ", ", "15", ", ", "13", ", ", "30", ", ", "25", ", ", "200", ", " ] + }, { + "r" : "1542", + "s" : [ { + "r" : "1542", + "value" : [ "+", "1.0" ] + } ] + }, { + "value" : [ ")" ] + } ] + }, { + "r" : "1589", + "value" : [ " ", "same or after", " " ] + }, { + "r" : "1580", + "s" : [ { + "r" : "1562", + "value" : [ "DateTime", "(", "2000", ", ", "3", ", ", "15", ", ", "13", ", ", "30", ", ", "25", ", ", "199", ", " ] + }, { + "r" : "1569", + "s" : [ { + "r" : "1569", + "value" : [ "+", "1.0" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "SameOrAfter", + "localId" : "1589", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1590", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1591", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "DateTime", + "localId" : "1553", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1554", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1555", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1556", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1557", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1558", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1559", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1560", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1561", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1535", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1536", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "1537", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "15", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "1538", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "13", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "1539", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "30", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "1540", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "25", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "1541", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "200", + "annotation" : [ ] + }, + "timezoneOffset" : { + "type" : "Literal", + "localId" : "1542", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "1.0", + "annotation" : [ ] + } + }, { + "type" : "DateTime", + "localId" : "1580", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1581", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1582", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1583", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1584", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1585", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1586", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1587", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1588", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1562", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1563", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "1564", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "15", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "1565", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "13", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "1566", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "30", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "1567", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "25", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "1568", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "199", + "annotation" : [ ] + }, + "timezoneOffset" : { + "type" : "Literal", + "localId" : "1569", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "1.0", + "annotation" : [ ] + } + } ] + } + }, { + "localId" : "1594", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "Before", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "1594", + "s" : [ { + "value" : [ "", "define ", "Before", ": " ] + }, { + "r" : "1649", + "s" : [ { + "r" : "1613", + "s" : [ { + "r" : "1595", + "value" : [ "DateTime", "(", "2000", ", ", "3", ", ", "15", ", ", "13", ", ", "30", ", ", "25", ", ", "200", ", " ] + }, { + "r" : "1602", + "s" : [ { + "r" : "1602", + "value" : [ "+", "1.0" ] + } ] + }, { + "value" : [ ")" ] + } ] + }, { + "r" : "1649", + "value" : [ " ", "same or after", " " ] + }, { + "r" : "1640", + "s" : [ { + "r" : "1622", + "value" : [ "DateTime", "(", "2000", ", ", "3", ", ", "15", ", ", "13", ", ", "30", ", ", "25", ", ", "201", ", " ] + }, { + "r" : "1629", + "s" : [ { + "r" : "1629", + "value" : [ "+", "1.0" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "SameOrAfter", + "localId" : "1649", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1650", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1651", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "DateTime", + "localId" : "1613", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1614", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1615", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1616", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1617", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1618", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1619", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1620", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1621", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1595", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1596", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "1597", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "15", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "1598", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "13", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "1599", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "30", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "1600", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "25", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "1601", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "200", + "annotation" : [ ] + }, + "timezoneOffset" : { + "type" : "Literal", + "localId" : "1602", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "1.0", + "annotation" : [ ] + } + }, { + "type" : "DateTime", + "localId" : "1640", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1641", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1642", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1643", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1644", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1645", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1646", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1647", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1648", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1622", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1623", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "1624", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "15", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "1625", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "13", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "1626", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "30", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "1627", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "25", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "1628", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "201", + "annotation" : [ ] + }, + "timezoneOffset" : { + "type" : "Literal", + "localId" : "1629", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "1.0", + "annotation" : [ ] + } + } ] + } + }, { + "localId" : "1654", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "SameDayMonthBefore", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "1654", + "s" : [ { + "value" : [ "", "define ", "SameDayMonthBefore", ": " ] + }, { + "r" : "1709", + "s" : [ { + "r" : "1673", + "s" : [ { + "r" : "1655", + "value" : [ "DateTime", "(", "2000", ", ", "3", ", ", "15", ", ", "13", ", ", "30", ", ", "25", ", ", "200", ", " ] + }, { + "r" : "1662", + "s" : [ { + "r" : "1662", + "value" : [ "+", "1.0" ] + } ] + }, { + "value" : [ ")" ] + } ] + }, { + "r" : "1709", + "value" : [ " ", "same day or after", " " ] + }, { + "r" : "1700", + "s" : [ { + "r" : "1682", + "value" : [ "DateTime", "(", "2000", ", ", "4", ", ", "15", ", ", "8", ", ", "14", ", ", "47", ", ", "500", ", " ] + }, { + "r" : "1689", + "s" : [ { + "r" : "1689", + "value" : [ "+", "1.0" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "SameOrAfter", + "localId" : "1709", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "precision" : "Day", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1710", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1711", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "DateTime", + "localId" : "1673", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1674", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1675", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1676", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1677", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1678", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1679", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1680", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1681", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1655", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1656", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "1657", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "15", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "1658", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "13", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "1659", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "30", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "1660", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "25", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "1661", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "200", + "annotation" : [ ] + }, + "timezoneOffset" : { + "type" : "Literal", + "localId" : "1662", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "1.0", + "annotation" : [ ] + } + }, { + "type" : "DateTime", + "localId" : "1700", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1701", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1702", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1703", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1704", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1705", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1706", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1707", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1708", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1682", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1683", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "4", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "1684", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "15", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "1685", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "8", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "1686", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "14", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "1687", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "47", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "1688", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "500", + "annotation" : [ ] + }, + "timezoneOffset" : { + "type" : "Literal", + "localId" : "1689", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "1.0", + "annotation" : [ ] + } + } ] + } + }, { + "localId" : "1714", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "DayAfterMonthBefore", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "1714", + "s" : [ { + "value" : [ "", "define ", "DayAfterMonthBefore", ": " ] + }, { + "r" : "1769", + "s" : [ { + "r" : "1733", + "s" : [ { + "r" : "1715", + "value" : [ "DateTime", "(", "2000", ", ", "3", ", ", "15", ", ", "13", ", ", "30", ", ", "25", ", ", "200", ", " ] + }, { + "r" : "1722", + "s" : [ { + "r" : "1722", + "value" : [ "+", "1.0" ] + } ] + }, { + "value" : [ ")" ] + } ] + }, { + "r" : "1769", + "value" : [ " ", "same day or after", " " ] + }, { + "r" : "1760", + "s" : [ { + "r" : "1742", + "value" : [ "DateTime", "(", "2000", ", ", "4", ", ", "14", ", ", "8", ", ", "14", ", ", "47", ", ", "500", ", " ] + }, { + "r" : "1749", + "s" : [ { + "r" : "1749", + "value" : [ "+", "1.0" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "SameOrAfter", + "localId" : "1769", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "precision" : "Day", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1770", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1771", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "DateTime", + "localId" : "1733", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1734", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1735", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1736", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1737", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1738", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1739", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1740", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1741", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1715", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1716", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "1717", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "15", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "1718", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "13", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "1719", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "30", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "1720", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "25", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "1721", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "200", + "annotation" : [ ] + }, + "timezoneOffset" : { + "type" : "Literal", + "localId" : "1722", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "1.0", + "annotation" : [ ] + } + }, { + "type" : "DateTime", + "localId" : "1760", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1761", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1762", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1763", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1764", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1765", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1766", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1767", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1768", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1742", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1743", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "4", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "1744", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "14", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "1745", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "8", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "1746", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "14", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "1747", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "47", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "1748", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "500", + "annotation" : [ ] + }, + "timezoneOffset" : { + "type" : "Literal", + "localId" : "1749", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "1.0", + "annotation" : [ ] + } + } ] + } + }, { + "localId" : "1774", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "DayBeforeMonthAfter", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "1774", + "s" : [ { + "value" : [ "", "define ", "DayBeforeMonthAfter", ": " ] + }, { + "r" : "1829", + "s" : [ { + "r" : "1793", + "s" : [ { + "r" : "1775", + "value" : [ "DateTime", "(", "2000", ", ", "3", ", ", "15", ", ", "13", ", ", "30", ", ", "25", ", ", "200", ", " ] + }, { + "r" : "1782", + "s" : [ { + "r" : "1782", + "value" : [ "+", "1.0" ] + } ] + }, { + "value" : [ ")" ] + } ] + }, { + "r" : "1829", + "value" : [ " ", "same day or after", " " ] + }, { + "r" : "1820", + "s" : [ { + "r" : "1802", + "value" : [ "DateTime", "(", "2000", ", ", "2", ", ", "16", ", ", "8", ", ", "14", ", ", "47", ", ", "500", ", " ] + }, { + "r" : "1809", + "s" : [ { + "r" : "1809", + "value" : [ "+", "1.0" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "SameOrAfter", + "localId" : "1829", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "precision" : "Day", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1830", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1831", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "DateTime", + "localId" : "1793", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1794", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1795", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1796", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1797", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1798", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1799", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1800", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1801", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1775", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1776", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "1777", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "15", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "1778", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "13", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "1779", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "30", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "1780", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "25", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "1781", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "200", + "annotation" : [ ] + }, + "timezoneOffset" : { + "type" : "Literal", + "localId" : "1782", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "1.0", + "annotation" : [ ] + } + }, { + "type" : "DateTime", + "localId" : "1820", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1821", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1822", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1823", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1824", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1825", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1826", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1827", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1828", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1802", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1803", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "1804", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "16", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "1805", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "8", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "1806", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "14", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "1807", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "47", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "1808", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "500", + "annotation" : [ ] + }, + "timezoneOffset" : { + "type" : "Literal", + "localId" : "1809", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "1.0", + "annotation" : [ ] + } + } ] + } + }, { + "localId" : "1834", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "ImpreciseDay", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "1834", + "s" : [ { + "value" : [ "", "define ", "ImpreciseDay", ": " ] + }, { + "r" : "1868", + "s" : [ { + "r" : "1851", + "s" : [ { + "r" : "1835", + "value" : [ "DateTime", "(", "2000", ", ", "3", ", ", "15", ", ", "13", ", ", "30", ", ", "25", ", ", "200", ")" ] + } ] + }, { + "r" : "1868", + "value" : [ " ", "same day or after", " " ] + }, { + "r" : "1865", + "s" : [ { + "r" : "1859", + "value" : [ "DateTime", "(", "2000", ", ", "3", ")" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "SameOrAfter", + "localId" : "1868", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "precision" : "Day", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1869", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1870", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "DateTime", + "localId" : "1851", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1852", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1853", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1854", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1855", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1856", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1857", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1858", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1835", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1836", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "1837", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "15", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "1838", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "13", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "1839", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "30", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "1840", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "25", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "1841", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "200", + "annotation" : [ ] + } + }, { + "type" : "DateTime", + "localId" : "1865", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1866", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1867", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1859", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1860", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + } + } ] + } + }, { + "localId" : "1873", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "ImpreciseDayMonthAfter", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "1873", + "s" : [ { + "value" : [ "", "define ", "ImpreciseDayMonthAfter", ": " ] + }, { + "r" : "1907", + "s" : [ { + "r" : "1890", + "s" : [ { + "r" : "1874", + "value" : [ "DateTime", "(", "2000", ", ", "3", ", ", "15", ", ", "13", ", ", "30", ", ", "25", ", ", "200", ")" ] + } ] + }, { + "r" : "1907", + "value" : [ " ", "same day or after", " " ] + }, { + "r" : "1904", + "s" : [ { + "r" : "1898", + "value" : [ "DateTime", "(", "2000", ", ", "2", ")" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "SameOrAfter", + "localId" : "1907", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "precision" : "Day", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1908", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1909", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "DateTime", + "localId" : "1890", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1891", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1892", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1893", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1894", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1895", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1896", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1897", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1874", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1875", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "1876", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "15", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "1877", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "13", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "1878", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "30", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "1879", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "25", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "1880", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "200", + "annotation" : [ ] + } + }, { + "type" : "DateTime", + "localId" : "1904", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1905", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1906", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1898", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1899", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "annotation" : [ ] + } + } ] + } + }, { + "localId" : "1912", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "ImpreciseDayMonthBefore", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "1912", + "s" : [ { + "value" : [ "", "define ", "ImpreciseDayMonthBefore", ": " ] + }, { + "r" : "1946", + "s" : [ { + "r" : "1929", + "s" : [ { + "r" : "1913", + "value" : [ "DateTime", "(", "2000", ", ", "3", ", ", "15", ", ", "13", ", ", "30", ", ", "25", ", ", "200", ")" ] + } ] + }, { + "r" : "1946", + "value" : [ " ", "same day or after", " " ] + }, { + "r" : "1943", + "s" : [ { + "r" : "1937", + "value" : [ "DateTime", "(", "2000", ", ", "4", ")" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "SameOrAfter", + "localId" : "1946", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "precision" : "Day", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1947", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1948", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "DateTime", + "localId" : "1929", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1930", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1931", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1932", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1933", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1934", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1935", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1936", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1913", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1914", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "1915", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "15", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "1916", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "13", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "1917", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "30", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "1918", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "25", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "1919", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "200", + "annotation" : [ ] + } + }, { + "type" : "DateTime", + "localId" : "1943", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1944", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1945", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1937", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1938", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "4", + "annotation" : [ ] + } + } ] + } + }, { + "localId" : "1951", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "SameHourNormalizeZones", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "1951", + "s" : [ { + "value" : [ "", "define ", "SameHourNormalizeZones", ": " ] + }, { + "r" : "2008", + "s" : [ { + "r" : "1970", + "s" : [ { + "r" : "1952", + "value" : [ "DateTime", "(", "2000", ", ", "3", ", ", "15", ", ", "13", ", ", "30", ", ", "25", ", ", "200", ", " ] + }, { + "r" : "1959", + "s" : [ { + "r" : "1959", + "value" : [ "+", "1.0" ] + } ] + }, { + "value" : [ ")" ] + } ] + }, { + "r" : "2008", + "value" : [ " ", "same hour or after", " " ] + }, { + "r" : "1999", + "s" : [ { + "r" : "1979", + "value" : [ "DateTime", "(", "2000", ", ", "3", ", ", "15", ", ", "7", ", ", "30", ", ", "25", ", ", "200", ", " ] + }, { + "r" : "1986", + "s" : [ { + "r" : "1987", + "value" : [ "-", "5.0" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "SameOrAfter", + "localId" : "2008", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "precision" : "Hour", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "2009", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2010", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "DateTime", + "localId" : "1970", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1971", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1972", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1973", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1974", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1975", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1976", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1977", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1978", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1952", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1953", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "1954", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "15", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "1955", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "13", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "1956", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "30", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "1957", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "25", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "1958", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "200", + "annotation" : [ ] + }, + "timezoneOffset" : { + "type" : "Literal", + "localId" : "1959", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "1.0", + "annotation" : [ ] + } + }, { + "type" : "DateTime", + "localId" : "1999", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "2000", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2001", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2002", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2003", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2004", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2005", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2006", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2007", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1979", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1980", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "1981", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "15", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "1982", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "7", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "1983", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "30", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "1984", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "25", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "1985", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "200", + "annotation" : [ ] + }, + "timezoneOffset" : { + "type" : "Negate", + "localId" : "1986", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1988", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } ], + "operand" : { + "type" : "Literal", + "localId" : "1987", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "5.0", + "annotation" : [ ] + } + } + } ] + } + }, { + "localId" : "2013", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "HourAfterNormalizeZones", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "2013", + "s" : [ { + "value" : [ "", "define ", "HourAfterNormalizeZones", ": " ] + }, { + "r" : "2070", + "s" : [ { + "r" : "2032", + "s" : [ { + "r" : "2014", + "value" : [ "DateTime", "(", "2000", ", ", "3", ", ", "15", ", ", "13", ", ", "30", ", ", "25", ", ", "200", ", " ] + }, { + "r" : "2021", + "s" : [ { + "r" : "2021", + "value" : [ "+", "1.0" ] + } ] + }, { + "value" : [ ")" ] + } ] + }, { + "r" : "2070", + "value" : [ " ", "same hour or after", " " ] + }, { + "r" : "2061", + "s" : [ { + "r" : "2041", + "value" : [ "DateTime", "(", "2000", ", ", "3", ", ", "15", ", ", "6", ", ", "30", ", ", "25", ", ", "200", ", " ] + }, { + "r" : "2048", + "s" : [ { + "r" : "2049", + "value" : [ "-", "5.0" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "SameOrAfter", + "localId" : "2070", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "precision" : "Hour", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "2071", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2072", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "DateTime", + "localId" : "2032", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "2033", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2034", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2035", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2036", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2037", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2038", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2039", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2040", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "2014", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "2015", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "2016", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "15", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "2017", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "13", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "2018", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "30", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "2019", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "25", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "2020", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "200", + "annotation" : [ ] + }, + "timezoneOffset" : { + "type" : "Literal", + "localId" : "2021", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "1.0", + "annotation" : [ ] + } + }, { + "type" : "DateTime", + "localId" : "2061", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "2062", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2063", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2064", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2065", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2066", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2067", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2068", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2069", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "2041", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "2042", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "2043", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "15", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "2044", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "6", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "2045", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "30", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "2046", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "25", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "2047", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "200", + "annotation" : [ ] + }, + "timezoneOffset" : { + "type" : "Negate", + "localId" : "2048", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "2050", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } ], + "operand" : { + "type" : "Literal", + "localId" : "2049", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "5.0", + "annotation" : [ ] + } + } + } ] + } + }, { + "localId" : "2075", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "HourBeforeNormalizeZones", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "2075", + "s" : [ { + "value" : [ "", "define ", "HourBeforeNormalizeZones", ": " ] + }, { + "r" : "2132", + "s" : [ { + "r" : "2094", + "s" : [ { + "r" : "2076", + "value" : [ "DateTime", "(", "2000", ", ", "3", ", ", "15", ", ", "13", ", ", "30", ", ", "25", ", ", "200", ", " ] + }, { + "r" : "2083", + "s" : [ { + "r" : "2083", + "value" : [ "+", "1.0" ] + } ] + }, { + "value" : [ ")" ] + } ] + }, { + "r" : "2132", + "value" : [ " ", "same hour or after", " " ] + }, { + "r" : "2123", + "s" : [ { + "r" : "2103", + "value" : [ "DateTime", "(", "2000", ", ", "3", ", ", "15", ", ", "8", ", ", "30", ", ", "25", ", ", "200", ", " ] + }, { + "r" : "2110", + "s" : [ { + "r" : "2111", + "value" : [ "-", "5.0" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "SameOrAfter", + "localId" : "2132", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "precision" : "Hour", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "2133", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2134", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "DateTime", + "localId" : "2094", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "2095", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2096", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2097", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2098", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2099", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2100", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2101", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2102", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "2076", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "2077", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "2078", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "15", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "2079", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "13", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "2080", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "30", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "2081", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "25", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "2082", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "200", + "annotation" : [ ] + }, + "timezoneOffset" : { + "type" : "Literal", + "localId" : "2083", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "1.0", + "annotation" : [ ] + } + }, { + "type" : "DateTime", + "localId" : "2123", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "2124", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2125", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2126", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2127", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2128", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2129", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2130", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2131", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "2103", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "2104", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "2105", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "15", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "2106", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "8", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "2107", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "30", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "2108", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "25", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "2109", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "200", + "annotation" : [ ] + }, + "timezoneOffset" : { + "type" : "Negate", + "localId" : "2110", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "2112", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } ], + "operand" : { + "type" : "Literal", + "localId" : "2111", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "5.0", + "annotation" : [ ] + } + } + } ] + } + }, { + "localId" : "2137", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "NullLeft", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "2137", + "s" : [ { + "value" : [ "", "define ", "NullLeft", ": " ] + }, { + "r" : "2166", + "s" : [ { + "r" : "2138", + "value" : [ "null", " ", "same or after", " " ] + }, { + "r" : "2157", + "s" : [ { + "r" : "2139", + "value" : [ "DateTime", "(", "2000", ", ", "3", ", ", "15", ", ", "13", ", ", "30", ", ", "25", ", ", "200", ", " ] + }, { + "r" : "2146", + "s" : [ { + "r" : "2146", + "value" : [ "+", "1.0" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "SameOrAfter", + "localId" : "2166", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "2168", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2169", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "As", + "localId" : "2167", + "asType" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Null", + "localId" : "2138", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } + }, { + "type" : "DateTime", + "localId" : "2157", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "2158", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2159", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2160", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2161", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2162", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2163", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2164", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2165", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "2139", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "2140", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "2141", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "15", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "2142", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "13", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "2143", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "30", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "2144", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "25", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "2145", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "200", + "annotation" : [ ] + }, + "timezoneOffset" : { + "type" : "Literal", + "localId" : "2146", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "1.0", + "annotation" : [ ] + } + } ] + } + }, { + "localId" : "2172", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "NullRight", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "2172", + "s" : [ { + "value" : [ "", "define ", "NullRight", ": " ] + }, { + "r" : "2201", + "s" : [ { + "r" : "2191", + "s" : [ { + "r" : "2173", + "value" : [ "DateTime", "(", "2000", ", ", "3", ", ", "15", ", ", "13", ", ", "30", ", ", "25", ", ", "200", ", " ] + }, { + "r" : "2180", + "s" : [ { + "r" : "2180", + "value" : [ "+", "1.0" ] + } ] + }, { + "value" : [ ")" ] + } ] + }, { + "r" : "2201", + "value" : [ " ", "same or after", " ", "null" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "SameOrAfter", + "localId" : "2201", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "2203", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2204", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "DateTime", + "localId" : "2191", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "2192", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2193", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2194", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2195", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2196", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2197", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2198", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2199", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "2173", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "2174", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "2175", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "15", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "2176", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "13", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "2177", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "30", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "2178", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "25", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "2179", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "200", + "annotation" : [ ] + }, + "timezoneOffset" : { + "type" : "Literal", + "localId" : "2180", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "1.0", + "annotation" : [ ] + } + }, { + "type" : "As", + "localId" : "2202", + "asType" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Null", + "localId" : "2200", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } + } ] + } + }, { + "localId" : "2207", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "NullBoth", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "2207", + "s" : [ { + "value" : [ "", "define ", "NullBoth", ": " ] + }, { + "r" : "2212", + "s" : [ { + "r" : "2208", + "s" : [ { + "value" : [ "(" ] + }, { + "r" : "2208", + "s" : [ { + "r" : "2209", + "value" : [ "null", " as " ] }, { - "localId" : "1755", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" + "r" : "2210", + "s" : [ { + "value" : [ "DateTime" ] + } ] + } ] + }, { + "value" : [ ")" ] + } ] + }, { + "r" : "2212", + "value" : [ " ", "same or after", " ", "null" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "SameOrAfter", + "localId" : "2212", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "2214", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2215", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "As", + "localId" : "2208", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "strict" : false, + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Null", + "localId" : "2209", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + }, + "asTypeSpecifier" : { + "type" : "NamedTypeSpecifier", + "localId" : "2210", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, { + "type" : "As", + "localId" : "2213", + "asType" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Null", + "localId" : "2211", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } + } ] + } + }, { + "localId" : "2218", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "SameOOA", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "2218", + "s" : [ { + "value" : [ "// On Or After:\n", "define ", "SameOOA", ": " ] + }, { + "r" : "2273", + "s" : [ { + "r" : "2237", + "s" : [ { + "r" : "2219", + "value" : [ "DateTime", "(", "2000", ", ", "3", ", ", "15", ", ", "13", ", ", "30", ", ", "25", ", ", "200", ", " ] + }, { + "r" : "2226", + "s" : [ { + "r" : "2226", + "value" : [ "+", "1.0" ] + } ] + }, { + "value" : [ ")" ] + } ] + }, { + "r" : "2273", + "value" : [ " ", "on or after", " " ] + }, { + "r" : "2264", + "s" : [ { + "r" : "2246", + "value" : [ "DateTime", "(", "2000", ", ", "3", ", ", "15", ", ", "13", ", ", "30", ", ", "25", ", ", "200", ", " ] + }, { + "r" : "2253", + "s" : [ { + "r" : "2253", + "value" : [ "+", "1.0" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "SameOrAfter", + "localId" : "2273", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "2274", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2275", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "DateTime", + "localId" : "2237", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "2238", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2239", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2240", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2241", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2242", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2243", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2244", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2245", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "2219", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "2220", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "2221", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "15", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "2222", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "13", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "2223", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "30", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "2224", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "25", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "2225", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "200", + "annotation" : [ ] + }, + "timezoneOffset" : { + "type" : "Literal", + "localId" : "2226", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "1.0", + "annotation" : [ ] + } + }, { + "type" : "DateTime", + "localId" : "2264", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "2265", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2266", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2267", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2268", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2269", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2270", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2271", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2272", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "2246", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "2247", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "2248", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "15", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "2249", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "13", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "2250", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "30", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "2251", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "25", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "2252", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "200", + "annotation" : [ ] + }, + "timezoneOffset" : { + "type" : "Literal", + "localId" : "2253", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "1.0", + "annotation" : [ ] + } + } ] + } + }, { + "localId" : "2278", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "AfterOOA", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "2278", + "s" : [ { + "value" : [ "", "define ", "AfterOOA", ": " ] + }, { + "r" : "2333", + "s" : [ { + "r" : "2297", + "s" : [ { + "r" : "2279", + "value" : [ "DateTime", "(", "2000", ", ", "3", ", ", "15", ", ", "13", ", ", "30", ", ", "25", ", ", "200", ", " ] + }, { + "r" : "2286", + "s" : [ { + "r" : "2286", + "value" : [ "+", "1.0" ] + } ] + }, { + "value" : [ ")" ] + } ] + }, { + "r" : "2333", + "value" : [ " ", "on or after", " " ] + }, { + "r" : "2324", + "s" : [ { + "r" : "2306", + "value" : [ "DateTime", "(", "2000", ", ", "3", ", ", "15", ", ", "13", ", ", "30", ", ", "25", ", ", "199", ", " ] + }, { + "r" : "2313", + "s" : [ { + "r" : "2313", + "value" : [ "+", "1.0" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "SameOrAfter", + "localId" : "2333", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "2334", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2335", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "DateTime", + "localId" : "2297", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "2298", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2299", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2300", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2301", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2302", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2303", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2304", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2305", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "2279", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "2280", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "2281", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "15", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "2282", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "13", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "2283", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "30", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "2284", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "25", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "2285", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "200", + "annotation" : [ ] + }, + "timezoneOffset" : { + "type" : "Literal", + "localId" : "2286", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "1.0", + "annotation" : [ ] + } + }, { + "type" : "DateTime", + "localId" : "2324", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "2325", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2326", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2327", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2328", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2329", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2330", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2331", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2332", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "2306", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "2307", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "2308", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "15", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "2309", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "13", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "2310", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "30", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "2311", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "25", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "2312", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "199", + "annotation" : [ ] + }, + "timezoneOffset" : { + "type" : "Literal", + "localId" : "2313", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "1.0", + "annotation" : [ ] + } + } ] + } + }, { + "localId" : "2338", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "BeforeOOA", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "2338", + "s" : [ { + "value" : [ "", "define ", "BeforeOOA", ": " ] + }, { + "r" : "2393", + "s" : [ { + "r" : "2357", + "s" : [ { + "r" : "2339", + "value" : [ "DateTime", "(", "2000", ", ", "3", ", ", "15", ", ", "13", ", ", "30", ", ", "25", ", ", "200", ", " ] + }, { + "r" : "2346", + "s" : [ { + "r" : "2346", + "value" : [ "+", "1.0" ] + } ] + }, { + "value" : [ ")" ] + } ] + }, { + "r" : "2393", + "value" : [ " ", "on or after", " " ] + }, { + "r" : "2384", + "s" : [ { + "r" : "2366", + "value" : [ "DateTime", "(", "2000", ", ", "3", ", ", "15", ", ", "13", ", ", "30", ", ", "25", ", ", "201", ", " ] + }, { + "r" : "2373", + "s" : [ { + "r" : "2373", + "value" : [ "+", "1.0" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "SameOrAfter", + "localId" : "2393", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "2394", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2395", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "DateTime", + "localId" : "2357", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "2358", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2359", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2360", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2361", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2362", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2363", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2364", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2365", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "2339", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "2340", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "2341", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "15", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "2342", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "13", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "2343", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "30", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "2344", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "25", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "2345", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "200", + "annotation" : [ ] + }, + "timezoneOffset" : { + "type" : "Literal", + "localId" : "2346", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "1.0", + "annotation" : [ ] + } + }, { + "type" : "DateTime", + "localId" : "2384", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "2385", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2386", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2387", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2388", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2389", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2390", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2391", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2392", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "2366", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "2367", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "2368", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "15", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "2369", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "13", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "2370", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "30", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "2371", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "25", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "2372", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "201", + "annotation" : [ ] + }, + "timezoneOffset" : { + "type" : "Literal", + "localId" : "2373", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "1.0", + "annotation" : [ ] + } + } ] + } + }, { + "localId" : "2398", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "NullLeftOOA", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "2398", + "s" : [ { + "value" : [ "", "define ", "NullLeftOOA", ": " ] + }, { + "r" : "2427", + "s" : [ { + "r" : "2399", + "value" : [ "null", " ", "on or after", " " ] + }, { + "r" : "2418", + "s" : [ { + "r" : "2400", + "value" : [ "DateTime", "(", "2000", ", ", "3", ", ", "15", ", ", "13", ", ", "30", ", ", "25", ", ", "200", ", " ] + }, { + "r" : "2407", + "s" : [ { + "r" : "2407", + "value" : [ "+", "1.0" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "SameOrAfter", + "localId" : "2427", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "2429", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2430", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "As", + "localId" : "2428", + "asType" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Null", + "localId" : "2399", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } + }, { + "type" : "DateTime", + "localId" : "2418", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "2419", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2420", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2421", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2422", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2423", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2424", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2425", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2426", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "2400", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "2401", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "2402", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "15", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "2403", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "13", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "2404", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "30", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "2405", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "25", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "2406", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "200", + "annotation" : [ ] + }, + "timezoneOffset" : { + "type" : "Literal", + "localId" : "2407", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "1.0", + "annotation" : [ ] + } + } ] + } + }, { + "localId" : "2433", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "NullRightOOA", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "2433", + "s" : [ { + "value" : [ "", "define ", "NullRightOOA", ": " ] + }, { + "r" : "2462", + "s" : [ { + "r" : "2452", + "s" : [ { + "r" : "2434", + "value" : [ "DateTime", "(", "2000", ", ", "3", ", ", "15", ", ", "13", ", ", "30", ", ", "25", ", ", "200", ", " ] + }, { + "r" : "2441", + "s" : [ { + "r" : "2441", + "value" : [ "+", "1.0" ] + } ] + }, { + "value" : [ ")" ] + } ] + }, { + "r" : "2462", + "value" : [ " ", "on or after", " ", "null" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "SameOrAfter", + "localId" : "2462", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "2464", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2465", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "DateTime", + "localId" : "2452", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "2453", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2454", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2455", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2456", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2457", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2458", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2459", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2460", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "2434", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "2435", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "2436", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "15", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "2437", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "13", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "2438", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "30", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "2439", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "25", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "2440", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "200", + "annotation" : [ ] + }, + "timezoneOffset" : { + "type" : "Literal", + "localId" : "2441", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "1.0", + "annotation" : [ ] + } + }, { + "type" : "As", + "localId" : "2463", + "asType" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Null", + "localId" : "2461", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } + } ] + } + }, { + "localId" : "2468", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "NullBothOOA", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "2468", + "s" : [ { + "value" : [ "", "define ", "NullBothOOA", ": " ] + }, { + "r" : "2473", + "s" : [ { + "r" : "2469", + "s" : [ { + "value" : [ "(" ] + }, { + "r" : "2469", + "s" : [ { + "r" : "2470", + "value" : [ "null", " as " ] }, { - "localId" : "1756", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1733", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "1734", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "1735", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal" - }, - "hour" : { - "localId" : "1736", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "13", - "type" : "Literal" - }, - "minute" : { - "localId" : "1737", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "30", - "type" : "Literal" - }, - "second" : { - "localId" : "1738", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "25", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "1739", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "200", - "type" : "Literal" - } - }, { - "localId" : "1763", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "1764", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" + "r" : "2471", + "s" : [ { + "value" : [ "DateTime" ] + } ] + } ] + }, { + "value" : [ ")" ] + } ] + }, { + "r" : "2473", + "value" : [ " ", "on or after", " ", "null" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "SameOrAfter", + "localId" : "2473", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "2475", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2476", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "As", + "localId" : "2469", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "strict" : false, + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Null", + "localId" : "2470", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + }, + "asTypeSpecifier" : { + "type" : "NamedTypeSpecifier", + "localId" : "2471", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, { + "type" : "As", + "localId" : "2474", + "asType" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Null", + "localId" : "2472", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } + } ] + } + }, { + "localId" : "2479", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "SameAOO", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "2479", + "s" : [ { + "value" : [ "// After Or On:\n", "define ", "SameAOO", ": " ] + }, { + "r" : "2534", + "s" : [ { + "r" : "2498", + "s" : [ { + "r" : "2480", + "value" : [ "DateTime", "(", "2000", ", ", "3", ", ", "15", ", ", "13", ", ", "30", ", ", "25", ", ", "200", ", " ] + }, { + "r" : "2487", + "s" : [ { + "r" : "2487", + "value" : [ "+", "1.0" ] + } ] + }, { + "value" : [ ")" ] + } ] + }, { + "r" : "2534", + "value" : [ " ", "after or on", " " ] + }, { + "r" : "2525", + "s" : [ { + "r" : "2507", + "value" : [ "DateTime", "(", "2000", ", ", "3", ", ", "15", ", ", "13", ", ", "30", ", ", "25", ", ", "200", ", " ] + }, { + "r" : "2514", + "s" : [ { + "r" : "2514", + "value" : [ "+", "1.0" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "SameOrAfter", + "localId" : "2534", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "2535", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2536", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "DateTime", + "localId" : "2498", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "2499", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2500", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2501", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2502", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2503", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2504", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2505", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2506", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "2480", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "2481", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "2482", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "15", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "2483", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "13", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "2484", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "30", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "2485", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "25", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "2486", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "200", + "annotation" : [ ] + }, + "timezoneOffset" : { + "type" : "Literal", + "localId" : "2487", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "1.0", + "annotation" : [ ] + } + }, { + "type" : "DateTime", + "localId" : "2525", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "2526", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2527", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2528", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2529", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2530", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2531", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2532", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2533", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "2507", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "2508", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "2509", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "15", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "2510", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "13", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "2511", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "30", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "2512", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "25", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "2513", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "200", + "annotation" : [ ] + }, + "timezoneOffset" : { + "type" : "Literal", + "localId" : "2514", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "1.0", + "annotation" : [ ] + } + } ] + } + }, { + "localId" : "2539", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "AfterAOO", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "2539", + "s" : [ { + "value" : [ "", "define ", "AfterAOO", ": " ] + }, { + "r" : "2594", + "s" : [ { + "r" : "2558", + "s" : [ { + "r" : "2540", + "value" : [ "DateTime", "(", "2000", ", ", "3", ", ", "15", ", ", "13", ", ", "30", ", ", "25", ", ", "200", ", " ] + }, { + "r" : "2547", + "s" : [ { + "r" : "2547", + "value" : [ "+", "1.0" ] + } ] + }, { + "value" : [ ")" ] + } ] + }, { + "r" : "2594", + "value" : [ " ", "after or on", " " ] + }, { + "r" : "2585", + "s" : [ { + "r" : "2567", + "value" : [ "DateTime", "(", "2000", ", ", "3", ", ", "15", ", ", "13", ", ", "30", ", ", "25", ", ", "199", ", " ] + }, { + "r" : "2574", + "s" : [ { + "r" : "2574", + "value" : [ "+", "1.0" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "SameOrAfter", + "localId" : "2594", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "2595", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2596", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "DateTime", + "localId" : "2558", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "2559", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2560", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2561", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2562", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2563", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2564", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2565", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2566", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "2540", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "2541", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "2542", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "15", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "2543", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "13", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "2544", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "30", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "2545", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "25", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "2546", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "200", + "annotation" : [ ] + }, + "timezoneOffset" : { + "type" : "Literal", + "localId" : "2547", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "1.0", + "annotation" : [ ] + } + }, { + "type" : "DateTime", + "localId" : "2585", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "2586", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2587", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2588", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2589", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2590", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2591", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2592", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2593", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "2567", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "2568", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "2569", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "15", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "2570", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "13", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "2571", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "30", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "2572", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "25", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "2573", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "199", + "annotation" : [ ] + }, + "timezoneOffset" : { + "type" : "Literal", + "localId" : "2574", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "1.0", + "annotation" : [ ] + } + } ] + } + }, { + "localId" : "2599", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "BeforeAOO", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "2599", + "s" : [ { + "value" : [ "", "define ", "BeforeAOO", ": " ] + }, { + "r" : "2654", + "s" : [ { + "r" : "2618", + "s" : [ { + "r" : "2600", + "value" : [ "DateTime", "(", "2000", ", ", "3", ", ", "15", ", ", "13", ", ", "30", ", ", "25", ", ", "200", ", " ] + }, { + "r" : "2607", + "s" : [ { + "r" : "2607", + "value" : [ "+", "1.0" ] + } ] + }, { + "value" : [ ")" ] + } ] + }, { + "r" : "2654", + "value" : [ " ", "after or on", " " ] + }, { + "r" : "2645", + "s" : [ { + "r" : "2627", + "value" : [ "DateTime", "(", "2000", ", ", "3", ", ", "15", ", ", "13", ", ", "30", ", ", "25", ", ", "201", ", " ] + }, { + "r" : "2634", + "s" : [ { + "r" : "2634", + "value" : [ "+", "1.0" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "SameOrAfter", + "localId" : "2654", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "2655", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2656", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "DateTime", + "localId" : "2618", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "2619", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2620", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2621", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2622", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2623", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2624", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2625", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2626", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "2600", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "2601", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "2602", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "15", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "2603", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "13", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "2604", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "30", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "2605", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "25", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "2606", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "200", + "annotation" : [ ] + }, + "timezoneOffset" : { + "type" : "Literal", + "localId" : "2607", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "1.0", + "annotation" : [ ] + } + }, { + "type" : "DateTime", + "localId" : "2645", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "2646", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2647", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2648", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2649", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2650", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2651", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2652", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2653", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "2627", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "2628", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "2629", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "15", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "2630", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "13", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "2631", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "30", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "2632", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "25", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "2633", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "201", + "annotation" : [ ] + }, + "timezoneOffset" : { + "type" : "Literal", + "localId" : "2634", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "1.0", + "annotation" : [ ] + } + } ] + } + }, { + "localId" : "2659", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "NullLeftAOO", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "2659", + "s" : [ { + "value" : [ "", "define ", "NullLeftAOO", ": " ] + }, { + "r" : "2688", + "s" : [ { + "r" : "2660", + "value" : [ "null", " ", "after or on", " " ] + }, { + "r" : "2679", + "s" : [ { + "r" : "2661", + "value" : [ "DateTime", "(", "2000", ", ", "3", ", ", "15", ", ", "13", ", ", "30", ", ", "25", ", ", "200", ", " ] + }, { + "r" : "2668", + "s" : [ { + "r" : "2668", + "value" : [ "+", "1.0" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "SameOrAfter", + "localId" : "2688", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "2690", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2691", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "As", + "localId" : "2689", + "asType" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Null", + "localId" : "2660", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } + }, { + "type" : "DateTime", + "localId" : "2679", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "2680", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2681", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2682", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2683", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2684", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2685", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2686", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2687", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "2661", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "2662", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "2663", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "15", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "2664", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "13", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "2665", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "30", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "2666", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "25", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "2667", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "200", + "annotation" : [ ] + }, + "timezoneOffset" : { + "type" : "Literal", + "localId" : "2668", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "1.0", + "annotation" : [ ] + } + } ] + } + }, { + "localId" : "2694", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "NullRightAOO", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "2694", + "s" : [ { + "value" : [ "", "define ", "NullRightAOO", ": " ] + }, { + "r" : "2723", + "s" : [ { + "r" : "2713", + "s" : [ { + "r" : "2695", + "value" : [ "DateTime", "(", "2000", ", ", "3", ", ", "15", ", ", "13", ", ", "30", ", ", "25", ", ", "200", ", " ] + }, { + "r" : "2702", + "s" : [ { + "r" : "2702", + "value" : [ "+", "1.0" ] + } ] + }, { + "value" : [ ")" ] + } ] + }, { + "r" : "2723", + "value" : [ " ", "after or on", " ", "null" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "SameOrAfter", + "localId" : "2723", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "2725", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2726", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "DateTime", + "localId" : "2713", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "2714", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2715", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2716", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2717", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2718", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2719", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2720", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2721", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "2695", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "2696", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "2697", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "15", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "2698", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "13", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "2699", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "30", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "2700", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "25", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "2701", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "200", + "annotation" : [ ] + }, + "timezoneOffset" : { + "type" : "Literal", + "localId" : "2702", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "1.0", + "annotation" : [ ] + } + }, { + "type" : "As", + "localId" : "2724", + "asType" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Null", + "localId" : "2722", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } + } ] + } + }, { + "localId" : "2729", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "NullBothAOO", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "2729", + "s" : [ { + "value" : [ "", "define ", "NullBothAOO", ": " ] + }, { + "r" : "2734", + "s" : [ { + "r" : "2730", + "s" : [ { + "value" : [ "(" ] + }, { + "r" : "2730", + "s" : [ { + "r" : "2731", + "value" : [ "null", " as " ] }, { - "localId" : "1765", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1757", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "1758", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "4", - "type" : "Literal" - } - } ] - } - }, { + "r" : "2732", + "s" : [ { + "value" : [ "DateTime" ] + } ] + } ] + }, { + "value" : [ ")" ] + } ] + }, { + "r" : "2734", + "value" : [ " ", "after or on", " ", "null" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "SameOrAfter", + "localId" : "2734", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "2736", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2737", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "As", + "localId" : "2730", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "strict" : false, + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Null", + "localId" : "2731", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + }, + "asTypeSpecifier" : { + "type" : "NamedTypeSpecifier", + "localId" : "2732", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, { + "type" : "As", + "localId" : "2735", + "asType" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Null", + "localId" : "2733", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } + } ] + } + } ] + } + } +} + +/* SameOrBefore +library TestSnippet version '1' +using Simple version '1.0.0' +context Patient +define SameYear: DateTime(2000, 3, 15, 13, 30, 25, 200, +1.0) same year or before DateTime(2000, 11, 23, 8, 14, 47, 500, +1.0) +define YearAfter: DateTime(2000, 3, 15, 13, 30, 25, 200, +1.0) same year or before DateTime(1999, 11, 23, 8, 14, 47, 500, +1.0) +define YearBefore: DateTime(2000, 3, 15, 13, 30, 25, 200, +1.0) same year or before DateTime(2001, 11, 23, 8, 14, 47, 500, +1.0) +define SameMonth: DateTime(2000, 3, 15, 13, 30, 25, 200, +1.0) same month or before DateTime(2000, 3, 23, 8, 14, 47, 500, +1.0) +define MonthAfter: DateTime(2000, 3, 15, 13, 30, 25, 200, +1.0) same month or before DateTime(2000, 2, 23, 8, 14, 47, 500, +1.0) +define MonthBefore: DateTime(2000, 3, 15, 13, 30, 25, 200, +1.0) same month or before DateTime(2000, 4, 23, 8, 14, 47, 500, +1.0) +define SameDay: DateTime(2000, 3, 15, 13, 30, 25, 200, +1.0) same day or before DateTime(2000, 3, 15, 8, 14, 47, 500, +1.0) +define DayAfter: DateTime(2000, 3, 15, 13, 30, 25, 200, +1.0) same day or before DateTime(2000, 3, 14, 8, 14, 47, 500, +1.0) +define DayBefore: DateTime(2000, 3, 15, 13, 30, 25, 200, +1.0) same day or before DateTime(2000, 3, 16, 8, 14, 47, 500, +1.0) +define SameHour: DateTime(2000, 3, 15, 13, 30, 25, 200, +1.0) same hour or before DateTime(2000, 3, 15, 13, 14, 47, 500, +1.0) +define HourAfter: DateTime(2000, 3, 15, 13, 30, 25, 200, +1.0) same hour or before DateTime(2000, 3, 15, 12, 14, 47, 500, +1.0) +define HourBefore: DateTime(2000, 3, 15, 13, 30, 25, 200, +1.0) same hour or before DateTime(2000, 3, 15, 14, 14, 47, 500, +1.0) +define SameMinute: DateTime(2000, 3, 15, 13, 30, 25, 200, +1.0) same minute or before DateTime(2000, 3, 15, 13, 30, 47, 500, +1.0) +define MinuteAfter: DateTime(2000, 3, 15, 13, 30, 25, 200, +1.0) same minute or before DateTime(2000, 3, 15, 13, 29, 47, 500, +1.0) +define MinuteBefore: DateTime(2000, 3, 15, 13, 30, 25, 200, +1.0) same minute or before DateTime(2000, 3, 15, 13, 31, 47, 500, +1.0) +define SameSecond: DateTime(2000, 3, 15, 13, 30, 25, 200, +1.0) same second or before DateTime(2000, 3, 15, 13, 30, 25, 500, +1.0) +define SecondAfter: DateTime(2000, 3, 15, 13, 30, 25, 200, +1.0) same second or before DateTime(2000, 3, 15, 13, 30, 24, 500, +1.0) +define SecondBefore: DateTime(2000, 3, 15, 13, 30, 25, 200, +1.0) same second or before DateTime(2000, 3, 15, 13, 30, 26, 500, +1.0) +define SameMillisecond: DateTime(2000, 3, 15, 13, 30, 25, 200, +1.0) same millisecond or before DateTime(2000, 3, 15, 13, 30, 25, 200, +1.0) +define MillisecondAfter: DateTime(2000, 3, 15, 13, 30, 25, 200, +1.0) same millisecond or before DateTime(2000, 3, 15, 13, 30, 25, 199, +1.0) +define MillisecondBefore: DateTime(2000, 3, 15, 13, 30, 25, 200, +1.0) same millisecond or before DateTime(2000, 3, 15, 13, 30, 25, 201, +1.0) +define Same: DateTime(2000, 3, 15, 13, 30, 25, 200, +1.0) same or before DateTime(2000, 3, 15, 13, 30, 25, 200, +1.0) +define After: DateTime(2000, 3, 15, 13, 30, 25, 200, +1.0) same or before DateTime(2000, 3, 15, 13, 30, 25, 199, +1.0) +define Before: DateTime(2000, 3, 15, 13, 30, 25, 200, +1.0) same or before DateTime(2000, 3, 15, 13, 30, 25, 201, +1.0) +define SameDayMonthBefore: DateTime(2000, 3, 15, 13, 30, 25, 200, +1.0) same day or before DateTime(2000, 4, 15, 8, 14, 47, 500, +1.0) +define DayAfterMonthBefore: DateTime(2000, 3, 15, 13, 30, 25, 200, +1.0) same day or before DateTime(2000, 4, 14, 8, 14, 47, 500, +1.0) +define DayBeforeMonthAfter: DateTime(2000, 3, 15, 13, 30, 25, 200, +1.0) same day or before DateTime(2000, 2, 16, 8, 14, 47, 500, +1.0) +define ImpreciseDay: DateTime(2000, 3, 15, 13, 30, 25, 200) same day or before DateTime(2000, 3) +define ImpreciseDayMonthAfter: DateTime(2000, 3, 15, 13, 30, 25, 200) same day or before DateTime(2000, 2) +define ImpreciseDayMonthBefore: DateTime(2000, 3, 15, 13, 30, 25, 200) same day or before DateTime(2000, 4) +define SameHourNormalizeZones: DateTime(2000, 3, 15, 13, 30, 25, 200, +1.0) same hour or before DateTime(2000, 3, 15, 7, 30, 25, 200, -5.0) +define HourAfterNormalizeZones: DateTime(2000, 3, 15, 13, 30, 25, 200, +1.0) same hour or before DateTime(2000, 3, 15, 6, 30, 25, 200, -5.0) +define HourBeforeNormalizeZones: DateTime(2000, 3, 15, 13, 30, 25, 200, +1.0) same hour or before DateTime(2000, 3, 15, 8, 30, 25, 200, -5.0) +define NullLeft: null same or before DateTime(2000, 3, 15, 13, 30, 25, 200, +1.0) +define NullRight: DateTime(2000, 3, 15, 13, 30, 25, 200, +1.0) same or before null +define NullBoth: (null as DateTime) same or before null +// On Or Before: +define SameOOB: DateTime(2000, 3, 15, 13, 30, 25, 200, +1.0) on or before DateTime(2000, 3, 15, 13, 30, 25, 200, +1.0) +define AfterOOB: DateTime(2000, 3, 15, 13, 30, 25, 200, +1.0) on or before DateTime(2000, 3, 15, 13, 30, 25, 199, +1.0) +define BeforeOOB: DateTime(2000, 3, 15, 13, 30, 25, 200, +1.0) on or before DateTime(2000, 3, 15, 13, 30, 25, 201, +1.0) +define NullLeftOOB: null on or before DateTime(2000, 3, 15, 13, 30, 25, 200, +1.0) +define NullRightOOB: DateTime(2000, 3, 15, 13, 30, 25, 200, +1.0) on or before null +define NullBothOOB: (null as DateTime) on or before null +// Before Or On: +define SameBOO: DateTime(2000, 3, 15, 13, 30, 25, 200, +1.0) before or on DateTime(2000, 3, 15, 13, 30, 25, 200, +1.0) +define AfterBOO: DateTime(2000, 3, 15, 13, 30, 25, 200, +1.0) before or on DateTime(2000, 3, 15, 13, 30, 25, 199, +1.0) +define BeforeBOO: DateTime(2000, 3, 15, 13, 30, 25, 200, +1.0) before or on DateTime(2000, 3, 15, 13, 30, 25, 201, +1.0) +define NullLeftBOO: null before or on DateTime(2000, 3, 15, 13, 30, 25, 200, +1.0) +define NullRightBOO: DateTime(2000, 3, 15, 13, 30, 25, 200, +1.0) before or on null +define NullBothBOO: (null as DateTime) before or on null +*/ + +module.exports['SameOrBefore'] = { + "library" : { + "localId" : "0", + "annotation" : [ { + "type" : "CqlToElmInfo", + "translatorVersion" : "4.2.0", + "translatorOptions" : "EnableDateRangeOptimization,EnableAnnotations,EnableResultTypes", + "signatureLevel" : "All" + }, { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "2729", + "s" : [ { + "value" : [ "", "library TestSnippet version '1'" ] + } ] + } + } ], + "identifier" : { + "id" : "TestSnippet", + "version" : "1" + }, + "schemaIdentifier" : { + "id" : "urn:hl7-org:elm", + "version" : "r1" + }, + "usings" : { + "def" : [ { + "localId" : "1", + "localIdentifier" : "System", + "uri" : "urn:hl7-org:elm-types:r1", + "annotation" : [ ] + }, { + "localId" : "206", + "localIdentifier" : "Simple", + "uri" : "https://github.com/cqframework/cql-execution/simple", + "version" : "1.0.0", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "206", + "s" : [ { + "value" : [ "", "using " ] + }, { + "s" : [ { + "value" : [ "Simple" ] + } ] + }, { + "value" : [ " version '1.0.0'" ] + } ] + } + } ] + } ] + }, + "contexts" : { + "def" : [ { + "localId" : "211", + "name" : "Patient", + "annotation" : [ ] + } ] + }, + "statements" : { + "def" : [ { + "localId" : "209", + "name" : "Patient", + "context" : "Patient", + "annotation" : [ ], + "expression" : { + "type" : "SingletonFrom", + "localId" : "210", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Retrieve", + "localId" : "208", + "dataType" : "{https://github.com/cqframework/cql-execution/simple}Patient", + "annotation" : [ ], + "include" : [ ], + "codeFilter" : [ ], + "dateFilter" : [ ], + "otherFilter" : [ ] + } + } + }, { + "localId" : "214", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "SameYear", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "214", + "s" : [ { + "value" : [ "", "define ", "SameYear", ": " ] + }, { + "r" : "269", + "s" : [ { + "r" : "233", + "s" : [ { + "r" : "215", + "value" : [ "DateTime", "(", "2000", ", ", "3", ", ", "15", ", ", "13", ", ", "30", ", ", "25", ", ", "200", ", " ] + }, { + "r" : "222", + "s" : [ { + "r" : "222", + "value" : [ "+", "1.0" ] + } ] + }, { + "value" : [ ")" ] + } ] + }, { + "r" : "269", + "value" : [ " ", "same year or before", " " ] + }, { + "r" : "260", + "s" : [ { + "r" : "242", + "value" : [ "DateTime", "(", "2000", ", ", "11", ", ", "23", ", ", "8", ", ", "14", ", ", "47", ", ", "500", ", " ] + }, { + "r" : "249", + "s" : [ { + "r" : "249", + "value" : [ "+", "1.0" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "SameOrBefore", + "localId" : "269", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "precision" : "Year", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "270", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "271", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "DateTime", + "localId" : "233", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "234", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "235", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "236", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "237", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "238", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "239", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "240", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "241", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "215", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "216", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "217", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "15", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "218", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "13", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "219", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "30", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "220", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "25", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "221", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "200", + "annotation" : [ ] + }, + "timezoneOffset" : { + "type" : "Literal", + "localId" : "222", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "1.0", + "annotation" : [ ] + } + }, { + "type" : "DateTime", + "localId" : "260", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "261", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "262", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "263", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "264", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "265", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "266", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "267", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "268", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "242", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "243", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "11", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "244", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "23", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "245", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "8", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "246", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "14", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "247", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "47", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "248", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "500", + "annotation" : [ ] + }, + "timezoneOffset" : { + "type" : "Literal", + "localId" : "249", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "1.0", + "annotation" : [ ] + } + } ] + } + }, { + "localId" : "274", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "YearAfter", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "274", + "s" : [ { + "value" : [ "", "define ", "YearAfter", ": " ] + }, { + "r" : "329", + "s" : [ { + "r" : "293", + "s" : [ { + "r" : "275", + "value" : [ "DateTime", "(", "2000", ", ", "3", ", ", "15", ", ", "13", ", ", "30", ", ", "25", ", ", "200", ", " ] + }, { + "r" : "282", + "s" : [ { + "r" : "282", + "value" : [ "+", "1.0" ] + } ] + }, { + "value" : [ ")" ] + } ] + }, { + "r" : "329", + "value" : [ " ", "same year or before", " " ] + }, { + "r" : "320", + "s" : [ { + "r" : "302", + "value" : [ "DateTime", "(", "1999", ", ", "11", ", ", "23", ", ", "8", ", ", "14", ", ", "47", ", ", "500", ", " ] + }, { + "r" : "309", + "s" : [ { + "r" : "309", + "value" : [ "+", "1.0" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "SameOrBefore", + "localId" : "329", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "precision" : "Year", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "330", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "331", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "DateTime", + "localId" : "293", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "294", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "295", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "296", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "297", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "298", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "299", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "300", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "301", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "275", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "276", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "277", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "15", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "278", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "13", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "279", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "30", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "280", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "25", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "281", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "200", + "annotation" : [ ] + }, + "timezoneOffset" : { + "type" : "Literal", + "localId" : "282", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "1.0", + "annotation" : [ ] + } + }, { + "type" : "DateTime", + "localId" : "320", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "321", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "322", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "323", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "324", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "325", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "326", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "327", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "328", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "302", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1999", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "303", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "11", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "304", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "23", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "305", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "8", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "306", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "14", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "307", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "47", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "308", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "500", + "annotation" : [ ] + }, + "timezoneOffset" : { + "type" : "Literal", + "localId" : "309", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "1.0", + "annotation" : [ ] + } + } ] + } + }, { + "localId" : "334", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "YearBefore", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "334", + "s" : [ { + "value" : [ "", "define ", "YearBefore", ": " ] + }, { + "r" : "389", + "s" : [ { + "r" : "353", + "s" : [ { + "r" : "335", + "value" : [ "DateTime", "(", "2000", ", ", "3", ", ", "15", ", ", "13", ", ", "30", ", ", "25", ", ", "200", ", " ] + }, { + "r" : "342", + "s" : [ { + "r" : "342", + "value" : [ "+", "1.0" ] + } ] + }, { + "value" : [ ")" ] + } ] + }, { + "r" : "389", + "value" : [ " ", "same year or before", " " ] + }, { + "r" : "380", + "s" : [ { + "r" : "362", + "value" : [ "DateTime", "(", "2001", ", ", "11", ", ", "23", ", ", "8", ", ", "14", ", ", "47", ", ", "500", ", " ] + }, { + "r" : "369", + "s" : [ { + "r" : "369", + "value" : [ "+", "1.0" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "SameOrBefore", + "localId" : "389", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "precision" : "Year", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "390", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "391", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "DateTime", + "localId" : "353", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "354", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "355", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "356", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "357", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "358", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "359", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "360", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "361", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "335", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "336", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "337", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "15", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "338", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "13", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "339", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "30", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "340", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "25", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "341", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "200", + "annotation" : [ ] + }, + "timezoneOffset" : { + "type" : "Literal", + "localId" : "342", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "1.0", + "annotation" : [ ] + } + }, { + "type" : "DateTime", + "localId" : "380", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "381", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "382", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "383", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "384", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "385", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "386", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "387", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "388", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "362", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2001", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "363", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "11", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "364", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "23", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "365", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "8", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "366", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "14", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "367", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "47", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "368", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "500", + "annotation" : [ ] + }, + "timezoneOffset" : { + "type" : "Literal", + "localId" : "369", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "1.0", + "annotation" : [ ] + } + } ] + } + }, { + "localId" : "394", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "SameMonth", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "394", + "s" : [ { + "value" : [ "", "define ", "SameMonth", ": " ] + }, { + "r" : "449", + "s" : [ { + "r" : "413", + "s" : [ { + "r" : "395", + "value" : [ "DateTime", "(", "2000", ", ", "3", ", ", "15", ", ", "13", ", ", "30", ", ", "25", ", ", "200", ", " ] + }, { + "r" : "402", + "s" : [ { + "r" : "402", + "value" : [ "+", "1.0" ] + } ] + }, { + "value" : [ ")" ] + } ] + }, { + "r" : "449", + "value" : [ " ", "same month or before", " " ] + }, { + "r" : "440", + "s" : [ { + "r" : "422", + "value" : [ "DateTime", "(", "2000", ", ", "3", ", ", "23", ", ", "8", ", ", "14", ", ", "47", ", ", "500", ", " ] + }, { + "r" : "429", + "s" : [ { + "r" : "429", + "value" : [ "+", "1.0" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "SameOrBefore", + "localId" : "449", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "precision" : "Month", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "450", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "451", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "DateTime", + "localId" : "413", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "414", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "415", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "416", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "417", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "418", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "419", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "420", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "421", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "395", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "396", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "397", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "15", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "398", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "13", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "399", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "30", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "400", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "25", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "401", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "200", + "annotation" : [ ] + }, + "timezoneOffset" : { + "type" : "Literal", + "localId" : "402", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "1.0", + "annotation" : [ ] + } + }, { + "type" : "DateTime", + "localId" : "440", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "441", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "442", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "443", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "444", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "445", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "446", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "447", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "448", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "422", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "423", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "424", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "23", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "425", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "8", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "426", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "14", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "427", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "47", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "428", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "500", + "annotation" : [ ] + }, + "timezoneOffset" : { + "type" : "Literal", + "localId" : "429", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "1.0", + "annotation" : [ ] + } + } ] + } + }, { + "localId" : "454", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "MonthAfter", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "454", + "s" : [ { + "value" : [ "", "define ", "MonthAfter", ": " ] + }, { + "r" : "509", + "s" : [ { + "r" : "473", + "s" : [ { + "r" : "455", + "value" : [ "DateTime", "(", "2000", ", ", "3", ", ", "15", ", ", "13", ", ", "30", ", ", "25", ", ", "200", ", " ] + }, { + "r" : "462", + "s" : [ { + "r" : "462", + "value" : [ "+", "1.0" ] + } ] + }, { + "value" : [ ")" ] + } ] + }, { + "r" : "509", + "value" : [ " ", "same month or before", " " ] + }, { + "r" : "500", + "s" : [ { + "r" : "482", + "value" : [ "DateTime", "(", "2000", ", ", "2", ", ", "23", ", ", "8", ", ", "14", ", ", "47", ", ", "500", ", " ] + }, { + "r" : "489", + "s" : [ { + "r" : "489", + "value" : [ "+", "1.0" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "SameOrBefore", + "localId" : "509", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "precision" : "Month", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "510", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "511", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "DateTime", + "localId" : "473", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "474", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "475", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "476", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "477", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "478", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "479", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "480", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "481", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "455", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "456", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "457", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "15", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "458", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "13", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "459", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "30", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "460", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "25", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "461", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "200", + "annotation" : [ ] + }, + "timezoneOffset" : { + "type" : "Literal", + "localId" : "462", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "1.0", + "annotation" : [ ] + } + }, { + "type" : "DateTime", + "localId" : "500", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "501", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "502", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "503", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "504", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "505", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "506", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "507", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "508", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "482", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "483", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "484", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "23", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "485", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "8", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "486", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "14", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "487", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "47", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "488", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "500", + "annotation" : [ ] + }, + "timezoneOffset" : { + "type" : "Literal", + "localId" : "489", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "1.0", + "annotation" : [ ] + } + } ] + } + }, { + "localId" : "514", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "MonthBefore", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "514", + "s" : [ { + "value" : [ "", "define ", "MonthBefore", ": " ] + }, { + "r" : "569", + "s" : [ { + "r" : "533", + "s" : [ { + "r" : "515", + "value" : [ "DateTime", "(", "2000", ", ", "3", ", ", "15", ", ", "13", ", ", "30", ", ", "25", ", ", "200", ", " ] + }, { + "r" : "522", + "s" : [ { + "r" : "522", + "value" : [ "+", "1.0" ] + } ] + }, { + "value" : [ ")" ] + } ] + }, { + "r" : "569", + "value" : [ " ", "same month or before", " " ] + }, { + "r" : "560", + "s" : [ { + "r" : "542", + "value" : [ "DateTime", "(", "2000", ", ", "4", ", ", "23", ", ", "8", ", ", "14", ", ", "47", ", ", "500", ", " ] + }, { + "r" : "549", + "s" : [ { + "r" : "549", + "value" : [ "+", "1.0" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "SameOrBefore", + "localId" : "569", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "precision" : "Month", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "570", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "571", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "DateTime", + "localId" : "533", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "534", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "535", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "536", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "537", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "538", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "539", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "540", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "541", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "515", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "516", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "517", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "15", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "518", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "13", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "519", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "30", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "520", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "25", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "521", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "200", + "annotation" : [ ] + }, + "timezoneOffset" : { + "type" : "Literal", + "localId" : "522", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "1.0", + "annotation" : [ ] + } + }, { + "type" : "DateTime", + "localId" : "560", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "561", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "562", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "563", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "564", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "565", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "566", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "567", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "568", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "542", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "543", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "4", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "544", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "23", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "545", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "8", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "546", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "14", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "547", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "47", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "548", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "500", + "annotation" : [ ] + }, + "timezoneOffset" : { + "type" : "Literal", + "localId" : "549", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "1.0", + "annotation" : [ ] + } + } ] + } + }, { + "localId" : "574", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "SameDay", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "574", + "s" : [ { + "value" : [ "", "define ", "SameDay", ": " ] + }, { + "r" : "629", + "s" : [ { + "r" : "593", + "s" : [ { + "r" : "575", + "value" : [ "DateTime", "(", "2000", ", ", "3", ", ", "15", ", ", "13", ", ", "30", ", ", "25", ", ", "200", ", " ] + }, { + "r" : "582", + "s" : [ { + "r" : "582", + "value" : [ "+", "1.0" ] + } ] + }, { + "value" : [ ")" ] + } ] + }, { + "r" : "629", + "value" : [ " ", "same day or before", " " ] + }, { + "r" : "620", + "s" : [ { + "r" : "602", + "value" : [ "DateTime", "(", "2000", ", ", "3", ", ", "15", ", ", "8", ", ", "14", ", ", "47", ", ", "500", ", " ] + }, { + "r" : "609", + "s" : [ { + "r" : "609", + "value" : [ "+", "1.0" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "SameOrBefore", + "localId" : "629", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "precision" : "Day", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "630", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "631", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "DateTime", + "localId" : "593", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "594", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "595", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "596", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "597", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "598", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "599", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "600", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "601", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "575", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "576", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "577", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "15", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "578", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "13", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "579", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "30", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "580", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "25", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "581", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "200", + "annotation" : [ ] + }, + "timezoneOffset" : { + "type" : "Literal", + "localId" : "582", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "1.0", + "annotation" : [ ] + } + }, { + "type" : "DateTime", + "localId" : "620", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "621", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "622", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "623", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "624", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "625", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "626", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "627", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "628", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "602", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "603", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "604", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "15", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "605", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "8", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "606", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "14", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "607", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "47", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "608", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "500", + "annotation" : [ ] + }, + "timezoneOffset" : { + "type" : "Literal", + "localId" : "609", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "1.0", + "annotation" : [ ] + } + } ] + } + }, { + "localId" : "634", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "DayAfter", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "634", + "s" : [ { + "value" : [ "", "define ", "DayAfter", ": " ] + }, { + "r" : "689", + "s" : [ { + "r" : "653", + "s" : [ { + "r" : "635", + "value" : [ "DateTime", "(", "2000", ", ", "3", ", ", "15", ", ", "13", ", ", "30", ", ", "25", ", ", "200", ", " ] + }, { + "r" : "642", + "s" : [ { + "r" : "642", + "value" : [ "+", "1.0" ] + } ] + }, { + "value" : [ ")" ] + } ] + }, { + "r" : "689", + "value" : [ " ", "same day or before", " " ] + }, { + "r" : "680", + "s" : [ { + "r" : "662", + "value" : [ "DateTime", "(", "2000", ", ", "3", ", ", "14", ", ", "8", ", ", "14", ", ", "47", ", ", "500", ", " ] + }, { + "r" : "669", + "s" : [ { + "r" : "669", + "value" : [ "+", "1.0" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "SameOrBefore", + "localId" : "689", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "precision" : "Day", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "690", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "691", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "DateTime", + "localId" : "653", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "654", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "655", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "656", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "657", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "658", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "659", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "660", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "661", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "635", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "636", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "637", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "15", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "638", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "13", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "639", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "30", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "640", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "25", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "641", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "200", + "annotation" : [ ] + }, + "timezoneOffset" : { + "type" : "Literal", + "localId" : "642", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "1.0", + "annotation" : [ ] + } + }, { + "type" : "DateTime", + "localId" : "680", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "681", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "682", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "683", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "684", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "685", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "686", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "687", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "688", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "662", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "663", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "664", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "14", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "665", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "8", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "666", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "14", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "667", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "47", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "668", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "500", + "annotation" : [ ] + }, + "timezoneOffset" : { + "type" : "Literal", + "localId" : "669", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "1.0", + "annotation" : [ ] + } + } ] + } + }, { + "localId" : "694", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "DayBefore", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "694", + "s" : [ { + "value" : [ "", "define ", "DayBefore", ": " ] + }, { + "r" : "749", + "s" : [ { + "r" : "713", + "s" : [ { + "r" : "695", + "value" : [ "DateTime", "(", "2000", ", ", "3", ", ", "15", ", ", "13", ", ", "30", ", ", "25", ", ", "200", ", " ] + }, { + "r" : "702", + "s" : [ { + "r" : "702", + "value" : [ "+", "1.0" ] + } ] + }, { + "value" : [ ")" ] + } ] + }, { + "r" : "749", + "value" : [ " ", "same day or before", " " ] + }, { + "r" : "740", + "s" : [ { + "r" : "722", + "value" : [ "DateTime", "(", "2000", ", ", "3", ", ", "16", ", ", "8", ", ", "14", ", ", "47", ", ", "500", ", " ] + }, { + "r" : "729", + "s" : [ { + "r" : "729", + "value" : [ "+", "1.0" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "SameOrBefore", + "localId" : "749", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "precision" : "Day", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "750", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "751", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "DateTime", + "localId" : "713", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "714", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "715", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "716", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "717", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "718", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "719", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "720", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "721", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "695", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "696", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "697", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "15", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "698", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "13", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "699", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "30", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "700", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "25", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "701", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "200", + "annotation" : [ ] + }, + "timezoneOffset" : { + "type" : "Literal", + "localId" : "702", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "1.0", + "annotation" : [ ] + } + }, { + "type" : "DateTime", + "localId" : "740", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "741", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "742", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "743", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "744", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "745", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "746", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "747", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "748", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "722", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "723", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "724", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "16", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "725", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "8", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "726", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "14", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "727", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "47", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "728", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "500", + "annotation" : [ ] + }, + "timezoneOffset" : { + "type" : "Literal", + "localId" : "729", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "1.0", + "annotation" : [ ] + } + } ] + } + }, { + "localId" : "754", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "SameHour", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "754", + "s" : [ { + "value" : [ "", "define ", "SameHour", ": " ] + }, { + "r" : "809", + "s" : [ { + "r" : "773", + "s" : [ { + "r" : "755", + "value" : [ "DateTime", "(", "2000", ", ", "3", ", ", "15", ", ", "13", ", ", "30", ", ", "25", ", ", "200", ", " ] + }, { + "r" : "762", + "s" : [ { + "r" : "762", + "value" : [ "+", "1.0" ] + } ] + }, { + "value" : [ ")" ] + } ] + }, { + "r" : "809", + "value" : [ " ", "same hour or before", " " ] + }, { + "r" : "800", + "s" : [ { + "r" : "782", + "value" : [ "DateTime", "(", "2000", ", ", "3", ", ", "15", ", ", "13", ", ", "14", ", ", "47", ", ", "500", ", " ] + }, { + "r" : "789", + "s" : [ { + "r" : "789", + "value" : [ "+", "1.0" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "SameOrBefore", + "localId" : "809", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "precision" : "Hour", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "810", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "811", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "DateTime", + "localId" : "773", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "774", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "775", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "776", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "777", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "778", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "779", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "780", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "781", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "755", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "756", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "757", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "15", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "758", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "13", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "759", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "30", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "760", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "25", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "761", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "200", + "annotation" : [ ] + }, + "timezoneOffset" : { + "type" : "Literal", + "localId" : "762", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "1.0", + "annotation" : [ ] + } + }, { + "type" : "DateTime", + "localId" : "800", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "801", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "802", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "803", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "804", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "805", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "806", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "807", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "808", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "782", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "783", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "784", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "15", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "785", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "13", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "786", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "14", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "787", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "47", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "788", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "500", + "annotation" : [ ] + }, + "timezoneOffset" : { + "type" : "Literal", + "localId" : "789", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "1.0", + "annotation" : [ ] + } + } ] + } + }, { + "localId" : "814", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "HourAfter", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "814", + "s" : [ { + "value" : [ "", "define ", "HourAfter", ": " ] + }, { + "r" : "869", + "s" : [ { + "r" : "833", + "s" : [ { + "r" : "815", + "value" : [ "DateTime", "(", "2000", ", ", "3", ", ", "15", ", ", "13", ", ", "30", ", ", "25", ", ", "200", ", " ] + }, { + "r" : "822", + "s" : [ { + "r" : "822", + "value" : [ "+", "1.0" ] + } ] + }, { + "value" : [ ")" ] + } ] + }, { + "r" : "869", + "value" : [ " ", "same hour or before", " " ] + }, { + "r" : "860", + "s" : [ { + "r" : "842", + "value" : [ "DateTime", "(", "2000", ", ", "3", ", ", "15", ", ", "12", ", ", "14", ", ", "47", ", ", "500", ", " ] + }, { + "r" : "849", + "s" : [ { + "r" : "849", + "value" : [ "+", "1.0" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "SameOrBefore", + "localId" : "869", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "precision" : "Hour", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "870", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "871", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "DateTime", + "localId" : "833", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "834", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "835", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "836", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "837", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "838", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "839", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "840", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "841", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "815", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "816", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "817", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "15", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "818", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "13", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "819", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "30", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "820", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "25", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "821", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "200", + "annotation" : [ ] + }, + "timezoneOffset" : { + "type" : "Literal", + "localId" : "822", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "1.0", + "annotation" : [ ] + } + }, { + "type" : "DateTime", + "localId" : "860", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "861", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "862", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "863", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "864", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "865", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "866", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "867", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "868", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "842", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "843", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "844", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "15", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "845", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "12", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "846", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "14", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "847", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "47", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "848", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "500", + "annotation" : [ ] + }, + "timezoneOffset" : { + "type" : "Literal", + "localId" : "849", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "1.0", + "annotation" : [ ] + } + } ] + } + }, { + "localId" : "874", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "HourBefore", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "874", + "s" : [ { + "value" : [ "", "define ", "HourBefore", ": " ] + }, { + "r" : "929", + "s" : [ { + "r" : "893", + "s" : [ { + "r" : "875", + "value" : [ "DateTime", "(", "2000", ", ", "3", ", ", "15", ", ", "13", ", ", "30", ", ", "25", ", ", "200", ", " ] + }, { + "r" : "882", + "s" : [ { + "r" : "882", + "value" : [ "+", "1.0" ] + } ] + }, { + "value" : [ ")" ] + } ] + }, { + "r" : "929", + "value" : [ " ", "same hour or before", " " ] + }, { + "r" : "920", + "s" : [ { + "r" : "902", + "value" : [ "DateTime", "(", "2000", ", ", "3", ", ", "15", ", ", "14", ", ", "14", ", ", "47", ", ", "500", ", " ] + }, { + "r" : "909", + "s" : [ { + "r" : "909", + "value" : [ "+", "1.0" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "SameOrBefore", + "localId" : "929", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "precision" : "Hour", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "930", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "931", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "DateTime", + "localId" : "893", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "894", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "895", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "896", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "897", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "898", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "899", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "900", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "901", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "875", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "876", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "877", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "15", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "878", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "13", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "879", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "30", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "880", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "25", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "881", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "200", + "annotation" : [ ] + }, + "timezoneOffset" : { + "type" : "Literal", + "localId" : "882", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "1.0", + "annotation" : [ ] + } + }, { + "type" : "DateTime", + "localId" : "920", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "921", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "922", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "923", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "924", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "925", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "926", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "927", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "928", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "902", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "903", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "904", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "15", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "905", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "14", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "906", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "14", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "907", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "47", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "908", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "500", + "annotation" : [ ] + }, + "timezoneOffset" : { + "type" : "Literal", + "localId" : "909", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "1.0", + "annotation" : [ ] + } + } ] + } + }, { + "localId" : "934", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "SameMinute", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "934", + "s" : [ { + "value" : [ "", "define ", "SameMinute", ": " ] + }, { + "r" : "989", + "s" : [ { + "r" : "953", + "s" : [ { + "r" : "935", + "value" : [ "DateTime", "(", "2000", ", ", "3", ", ", "15", ", ", "13", ", ", "30", ", ", "25", ", ", "200", ", " ] + }, { + "r" : "942", + "s" : [ { + "r" : "942", + "value" : [ "+", "1.0" ] + } ] + }, { + "value" : [ ")" ] + } ] + }, { + "r" : "989", + "value" : [ " ", "same minute or before", " " ] + }, { + "r" : "980", + "s" : [ { + "r" : "962", + "value" : [ "DateTime", "(", "2000", ", ", "3", ", ", "15", ", ", "13", ", ", "30", ", ", "47", ", ", "500", ", " ] + }, { + "r" : "969", + "s" : [ { + "r" : "969", + "value" : [ "+", "1.0" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "SameOrBefore", + "localId" : "989", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "precision" : "Minute", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "990", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "991", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "DateTime", + "localId" : "953", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "954", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "955", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "956", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "957", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "958", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "959", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "960", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "961", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "935", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "936", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "937", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "15", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "938", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "13", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "939", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "30", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "940", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "25", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "941", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "200", + "annotation" : [ ] + }, + "timezoneOffset" : { + "type" : "Literal", + "localId" : "942", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "1.0", + "annotation" : [ ] + } + }, { + "type" : "DateTime", + "localId" : "980", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "981", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "982", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "983", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "984", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "985", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "986", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "987", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "988", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "962", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "963", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "964", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "15", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "965", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "13", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "966", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "30", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "967", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "47", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "968", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "500", + "annotation" : [ ] + }, + "timezoneOffset" : { + "type" : "Literal", + "localId" : "969", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "1.0", + "annotation" : [ ] + } + } ] + } + }, { + "localId" : "994", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "MinuteAfter", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "994", + "s" : [ { + "value" : [ "", "define ", "MinuteAfter", ": " ] + }, { + "r" : "1049", + "s" : [ { + "r" : "1013", + "s" : [ { + "r" : "995", + "value" : [ "DateTime", "(", "2000", ", ", "3", ", ", "15", ", ", "13", ", ", "30", ", ", "25", ", ", "200", ", " ] + }, { + "r" : "1002", + "s" : [ { + "r" : "1002", + "value" : [ "+", "1.0" ] + } ] + }, { + "value" : [ ")" ] + } ] + }, { + "r" : "1049", + "value" : [ " ", "same minute or before", " " ] + }, { + "r" : "1040", + "s" : [ { + "r" : "1022", + "value" : [ "DateTime", "(", "2000", ", ", "3", ", ", "15", ", ", "13", ", ", "29", ", ", "47", ", ", "500", ", " ] + }, { + "r" : "1029", + "s" : [ { + "r" : "1029", + "value" : [ "+", "1.0" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "SameOrBefore", + "localId" : "1049", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "precision" : "Minute", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1050", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1051", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "DateTime", + "localId" : "1013", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1014", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1015", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1016", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1017", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1018", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1019", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1020", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1021", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "995", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "996", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "997", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "15", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "998", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "13", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "999", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "30", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "1000", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "25", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "1001", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "200", + "annotation" : [ ] + }, + "timezoneOffset" : { + "type" : "Literal", + "localId" : "1002", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "1.0", + "annotation" : [ ] + } + }, { + "type" : "DateTime", + "localId" : "1040", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1041", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1042", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1043", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1044", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1045", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1046", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1047", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1048", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1022", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1023", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "1024", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "15", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "1025", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "13", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "1026", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "29", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "1027", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "47", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "1028", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "500", + "annotation" : [ ] + }, + "timezoneOffset" : { + "type" : "Literal", + "localId" : "1029", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "1.0", + "annotation" : [ ] + } + } ] + } + }, { + "localId" : "1054", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "MinuteBefore", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "1054", + "s" : [ { + "value" : [ "", "define ", "MinuteBefore", ": " ] + }, { + "r" : "1109", + "s" : [ { + "r" : "1073", + "s" : [ { + "r" : "1055", + "value" : [ "DateTime", "(", "2000", ", ", "3", ", ", "15", ", ", "13", ", ", "30", ", ", "25", ", ", "200", ", " ] + }, { + "r" : "1062", + "s" : [ { + "r" : "1062", + "value" : [ "+", "1.0" ] + } ] + }, { + "value" : [ ")" ] + } ] + }, { + "r" : "1109", + "value" : [ " ", "same minute or before", " " ] + }, { + "r" : "1100", + "s" : [ { + "r" : "1082", + "value" : [ "DateTime", "(", "2000", ", ", "3", ", ", "15", ", ", "13", ", ", "31", ", ", "47", ", ", "500", ", " ] + }, { + "r" : "1089", + "s" : [ { + "r" : "1089", + "value" : [ "+", "1.0" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "SameOrBefore", + "localId" : "1109", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "precision" : "Minute", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1110", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1111", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "DateTime", + "localId" : "1073", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1074", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1075", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1076", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1077", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1078", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1079", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1080", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1081", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1055", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1056", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "1057", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "15", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "1058", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "13", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "1059", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "30", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "1060", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "25", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "1061", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "200", + "annotation" : [ ] + }, + "timezoneOffset" : { + "type" : "Literal", + "localId" : "1062", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "1.0", + "annotation" : [ ] + } + }, { + "type" : "DateTime", + "localId" : "1100", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1101", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1102", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1103", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1104", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1105", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1106", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1107", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1108", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1082", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1083", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "1084", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "15", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "1085", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "13", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "1086", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "31", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "1087", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "47", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "1088", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "500", + "annotation" : [ ] + }, + "timezoneOffset" : { + "type" : "Literal", + "localId" : "1089", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "1.0", + "annotation" : [ ] + } + } ] + } + }, { + "localId" : "1114", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "SameSecond", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "1114", + "s" : [ { + "value" : [ "", "define ", "SameSecond", ": " ] + }, { + "r" : "1169", + "s" : [ { + "r" : "1133", + "s" : [ { + "r" : "1115", + "value" : [ "DateTime", "(", "2000", ", ", "3", ", ", "15", ", ", "13", ", ", "30", ", ", "25", ", ", "200", ", " ] + }, { + "r" : "1122", + "s" : [ { + "r" : "1122", + "value" : [ "+", "1.0" ] + } ] + }, { + "value" : [ ")" ] + } ] + }, { + "r" : "1169", + "value" : [ " ", "same second or before", " " ] + }, { + "r" : "1160", + "s" : [ { + "r" : "1142", + "value" : [ "DateTime", "(", "2000", ", ", "3", ", ", "15", ", ", "13", ", ", "30", ", ", "25", ", ", "500", ", " ] + }, { + "r" : "1149", + "s" : [ { + "r" : "1149", + "value" : [ "+", "1.0" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "SameOrBefore", + "localId" : "1169", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "precision" : "Second", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1170", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1171", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "DateTime", + "localId" : "1133", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1134", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1135", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1136", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1137", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1138", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1139", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1140", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1141", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1115", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1116", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "1117", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "15", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "1118", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "13", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "1119", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "30", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "1120", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "25", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "1121", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "200", + "annotation" : [ ] + }, + "timezoneOffset" : { + "type" : "Literal", + "localId" : "1122", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "1.0", + "annotation" : [ ] + } + }, { + "type" : "DateTime", + "localId" : "1160", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1161", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1162", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1163", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1164", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1165", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1166", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1167", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1168", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1142", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1143", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "1144", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "15", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "1145", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "13", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "1146", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "30", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "1147", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "25", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "1148", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "500", + "annotation" : [ ] + }, + "timezoneOffset" : { + "type" : "Literal", + "localId" : "1149", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "1.0", + "annotation" : [ ] + } + } ] + } + }, { + "localId" : "1174", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "SecondAfter", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "1174", + "s" : [ { + "value" : [ "", "define ", "SecondAfter", ": " ] + }, { + "r" : "1229", + "s" : [ { + "r" : "1193", + "s" : [ { + "r" : "1175", + "value" : [ "DateTime", "(", "2000", ", ", "3", ", ", "15", ", ", "13", ", ", "30", ", ", "25", ", ", "200", ", " ] + }, { + "r" : "1182", + "s" : [ { + "r" : "1182", + "value" : [ "+", "1.0" ] + } ] + }, { + "value" : [ ")" ] + } ] + }, { + "r" : "1229", + "value" : [ " ", "same second or before", " " ] + }, { + "r" : "1220", + "s" : [ { + "r" : "1202", + "value" : [ "DateTime", "(", "2000", ", ", "3", ", ", "15", ", ", "13", ", ", "30", ", ", "24", ", ", "500", ", " ] + }, { + "r" : "1209", + "s" : [ { + "r" : "1209", + "value" : [ "+", "1.0" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "SameOrBefore", + "localId" : "1229", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "precision" : "Second", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1230", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1231", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "DateTime", + "localId" : "1193", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1194", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1195", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1196", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1197", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1198", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1199", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1200", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1201", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1175", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1176", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "1177", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "15", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "1178", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "13", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "1179", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "30", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "1180", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "25", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "1181", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "200", + "annotation" : [ ] + }, + "timezoneOffset" : { + "type" : "Literal", + "localId" : "1182", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "1.0", + "annotation" : [ ] + } + }, { + "type" : "DateTime", + "localId" : "1220", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1221", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1222", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1223", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1224", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1225", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1226", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1227", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1228", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1202", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1203", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "1204", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "15", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "1205", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "13", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "1206", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "30", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "1207", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "24", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "1208", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "500", + "annotation" : [ ] + }, + "timezoneOffset" : { + "type" : "Literal", + "localId" : "1209", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "1.0", + "annotation" : [ ] + } + } ] + } + }, { + "localId" : "1234", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "SecondBefore", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "1234", + "s" : [ { + "value" : [ "", "define ", "SecondBefore", ": " ] + }, { + "r" : "1289", + "s" : [ { + "r" : "1253", + "s" : [ { + "r" : "1235", + "value" : [ "DateTime", "(", "2000", ", ", "3", ", ", "15", ", ", "13", ", ", "30", ", ", "25", ", ", "200", ", " ] + }, { + "r" : "1242", + "s" : [ { + "r" : "1242", + "value" : [ "+", "1.0" ] + } ] + }, { + "value" : [ ")" ] + } ] + }, { + "r" : "1289", + "value" : [ " ", "same second or before", " " ] + }, { + "r" : "1280", + "s" : [ { + "r" : "1262", + "value" : [ "DateTime", "(", "2000", ", ", "3", ", ", "15", ", ", "13", ", ", "30", ", ", "26", ", ", "500", ", " ] + }, { + "r" : "1269", + "s" : [ { + "r" : "1269", + "value" : [ "+", "1.0" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "SameOrBefore", + "localId" : "1289", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "precision" : "Second", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1290", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1291", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "DateTime", + "localId" : "1253", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1254", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1255", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1256", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1257", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1258", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1259", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1260", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1261", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1235", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1236", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "1237", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "15", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "1238", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "13", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "1239", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "30", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "1240", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "25", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "1241", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "200", + "annotation" : [ ] + }, + "timezoneOffset" : { + "type" : "Literal", + "localId" : "1242", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "1.0", + "annotation" : [ ] + } + }, { + "type" : "DateTime", + "localId" : "1280", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1281", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1282", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1283", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1284", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1285", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1286", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1287", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1288", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1262", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1263", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "1264", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "15", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "1265", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "13", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "1266", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "30", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "1267", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "26", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "1268", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "500", + "annotation" : [ ] + }, + "timezoneOffset" : { + "type" : "Literal", + "localId" : "1269", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "1.0", + "annotation" : [ ] + } + } ] + } + }, { + "localId" : "1294", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "SameMillisecond", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "1294", + "s" : [ { + "value" : [ "", "define ", "SameMillisecond", ": " ] + }, { + "r" : "1349", + "s" : [ { + "r" : "1313", + "s" : [ { + "r" : "1295", + "value" : [ "DateTime", "(", "2000", ", ", "3", ", ", "15", ", ", "13", ", ", "30", ", ", "25", ", ", "200", ", " ] + }, { + "r" : "1302", + "s" : [ { + "r" : "1302", + "value" : [ "+", "1.0" ] + } ] + }, { + "value" : [ ")" ] + } ] + }, { + "r" : "1349", + "value" : [ " ", "same millisecond or before", " " ] + }, { + "r" : "1340", + "s" : [ { + "r" : "1322", + "value" : [ "DateTime", "(", "2000", ", ", "3", ", ", "15", ", ", "13", ", ", "30", ", ", "25", ", ", "200", ", " ] + }, { + "r" : "1329", + "s" : [ { + "r" : "1329", + "value" : [ "+", "1.0" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "SameOrBefore", + "localId" : "1349", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "precision" : "Millisecond", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1350", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1351", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "DateTime", + "localId" : "1313", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1314", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1315", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1316", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1317", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1318", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1319", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1320", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1321", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1295", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1296", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "1297", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "15", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "1298", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "13", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "1299", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "30", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "1300", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "25", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "1301", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "200", + "annotation" : [ ] + }, + "timezoneOffset" : { + "type" : "Literal", + "localId" : "1302", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "1.0", + "annotation" : [ ] + } + }, { + "type" : "DateTime", + "localId" : "1340", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1341", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1342", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1343", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1344", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1345", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1346", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1347", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1348", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1322", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1323", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "1324", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "15", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "1325", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "13", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "1326", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "30", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "1327", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "25", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "1328", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "200", + "annotation" : [ ] + }, + "timezoneOffset" : { + "type" : "Literal", + "localId" : "1329", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "1.0", + "annotation" : [ ] + } + } ] + } + }, { + "localId" : "1354", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "MillisecondAfter", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "1354", + "s" : [ { + "value" : [ "", "define ", "MillisecondAfter", ": " ] + }, { + "r" : "1409", + "s" : [ { + "r" : "1373", + "s" : [ { + "r" : "1355", + "value" : [ "DateTime", "(", "2000", ", ", "3", ", ", "15", ", ", "13", ", ", "30", ", ", "25", ", ", "200", ", " ] + }, { + "r" : "1362", + "s" : [ { + "r" : "1362", + "value" : [ "+", "1.0" ] + } ] + }, { + "value" : [ ")" ] + } ] + }, { + "r" : "1409", + "value" : [ " ", "same millisecond or before", " " ] + }, { + "r" : "1400", + "s" : [ { + "r" : "1382", + "value" : [ "DateTime", "(", "2000", ", ", "3", ", ", "15", ", ", "13", ", ", "30", ", ", "25", ", ", "199", ", " ] + }, { + "r" : "1389", + "s" : [ { + "r" : "1389", + "value" : [ "+", "1.0" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "SameOrBefore", + "localId" : "1409", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "precision" : "Millisecond", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1410", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1411", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "DateTime", + "localId" : "1373", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1374", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1375", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1376", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1377", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1378", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1379", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1380", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1381", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1355", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1356", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "1357", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "15", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "1358", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "13", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "1359", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "30", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "1360", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "25", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "1361", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "200", + "annotation" : [ ] + }, + "timezoneOffset" : { + "type" : "Literal", + "localId" : "1362", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "1.0", + "annotation" : [ ] + } + }, { + "type" : "DateTime", + "localId" : "1400", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1401", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1402", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1403", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1404", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1405", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1406", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1407", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1408", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1382", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1383", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "1384", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "15", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "1385", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "13", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "1386", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "30", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "1387", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "25", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "1388", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "199", + "annotation" : [ ] + }, + "timezoneOffset" : { + "type" : "Literal", + "localId" : "1389", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "1.0", + "annotation" : [ ] + } + } ] + } + }, { + "localId" : "1414", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "MillisecondBefore", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "1414", + "s" : [ { + "value" : [ "", "define ", "MillisecondBefore", ": " ] + }, { + "r" : "1469", + "s" : [ { + "r" : "1433", + "s" : [ { + "r" : "1415", + "value" : [ "DateTime", "(", "2000", ", ", "3", ", ", "15", ", ", "13", ", ", "30", ", ", "25", ", ", "200", ", " ] + }, { + "r" : "1422", + "s" : [ { + "r" : "1422", + "value" : [ "+", "1.0" ] + } ] + }, { + "value" : [ ")" ] + } ] + }, { + "r" : "1469", + "value" : [ " ", "same millisecond or before", " " ] + }, { + "r" : "1460", + "s" : [ { + "r" : "1442", + "value" : [ "DateTime", "(", "2000", ", ", "3", ", ", "15", ", ", "13", ", ", "30", ", ", "25", ", ", "201", ", " ] + }, { + "r" : "1449", + "s" : [ { + "r" : "1449", + "value" : [ "+", "1.0" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "SameOrBefore", + "localId" : "1469", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "precision" : "Millisecond", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1470", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1471", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "DateTime", + "localId" : "1433", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1434", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1435", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1436", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1437", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1438", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1439", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1440", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1441", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1415", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1416", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "1417", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "15", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "1418", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "13", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "1419", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "30", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "1420", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "25", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "1421", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "200", + "annotation" : [ ] + }, + "timezoneOffset" : { + "type" : "Literal", + "localId" : "1422", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "1.0", + "annotation" : [ ] + } + }, { + "type" : "DateTime", + "localId" : "1460", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1461", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1462", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1463", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1464", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1465", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1466", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1467", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1468", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1442", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1443", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "1444", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "15", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "1445", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "13", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "1446", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "30", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "1447", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "25", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "1448", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "201", + "annotation" : [ ] + }, + "timezoneOffset" : { + "type" : "Literal", + "localId" : "1449", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "1.0", + "annotation" : [ ] + } + } ] + } + }, { + "localId" : "1474", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "Same", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "1474", + "s" : [ { + "value" : [ "", "define ", "Same", ": " ] + }, { + "r" : "1529", + "s" : [ { + "r" : "1493", + "s" : [ { + "r" : "1475", + "value" : [ "DateTime", "(", "2000", ", ", "3", ", ", "15", ", ", "13", ", ", "30", ", ", "25", ", ", "200", ", " ] + }, { + "r" : "1482", + "s" : [ { + "r" : "1482", + "value" : [ "+", "1.0" ] + } ] + }, { + "value" : [ ")" ] + } ] + }, { + "r" : "1529", + "value" : [ " ", "same or before", " " ] + }, { + "r" : "1520", + "s" : [ { + "r" : "1502", + "value" : [ "DateTime", "(", "2000", ", ", "3", ", ", "15", ", ", "13", ", ", "30", ", ", "25", ", ", "200", ", " ] + }, { + "r" : "1509", + "s" : [ { + "r" : "1509", + "value" : [ "+", "1.0" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "SameOrBefore", + "localId" : "1529", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1530", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1531", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "DateTime", + "localId" : "1493", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1494", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1495", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1496", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1497", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1498", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1499", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1500", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1501", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1475", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1476", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "1477", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "15", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "1478", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "13", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "1479", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "30", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "1480", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "25", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "1481", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "200", + "annotation" : [ ] + }, + "timezoneOffset" : { + "type" : "Literal", + "localId" : "1482", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "1.0", + "annotation" : [ ] + } + }, { + "type" : "DateTime", + "localId" : "1520", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1521", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1522", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1523", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1524", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1525", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1526", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1527", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1528", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1502", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1503", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "1504", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "15", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "1505", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "13", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "1506", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "30", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "1507", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "25", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "1508", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "200", + "annotation" : [ ] + }, + "timezoneOffset" : { + "type" : "Literal", + "localId" : "1509", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "1.0", + "annotation" : [ ] + } + } ] + } + }, { + "localId" : "1534", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "After", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "1534", + "s" : [ { + "value" : [ "", "define ", "After", ": " ] + }, { + "r" : "1589", + "s" : [ { + "r" : "1553", + "s" : [ { + "r" : "1535", + "value" : [ "DateTime", "(", "2000", ", ", "3", ", ", "15", ", ", "13", ", ", "30", ", ", "25", ", ", "200", ", " ] + }, { + "r" : "1542", + "s" : [ { + "r" : "1542", + "value" : [ "+", "1.0" ] + } ] + }, { + "value" : [ ")" ] + } ] + }, { + "r" : "1589", + "value" : [ " ", "same or before", " " ] + }, { + "r" : "1580", + "s" : [ { + "r" : "1562", + "value" : [ "DateTime", "(", "2000", ", ", "3", ", ", "15", ", ", "13", ", ", "30", ", ", "25", ", ", "199", ", " ] + }, { + "r" : "1569", + "s" : [ { + "r" : "1569", + "value" : [ "+", "1.0" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "SameOrBefore", + "localId" : "1589", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1590", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1591", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "DateTime", + "localId" : "1553", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1554", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1555", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1556", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1557", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1558", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1559", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1560", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1561", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1535", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1536", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "1537", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "15", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "1538", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "13", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "1539", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "30", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "1540", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "25", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "1541", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "200", + "annotation" : [ ] + }, + "timezoneOffset" : { + "type" : "Literal", + "localId" : "1542", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "1.0", + "annotation" : [ ] + } + }, { + "type" : "DateTime", + "localId" : "1580", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1581", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1582", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1583", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1584", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1585", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1586", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1587", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1588", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1562", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1563", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "1564", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "15", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "1565", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "13", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "1566", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "30", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "1567", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "25", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "1568", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "199", + "annotation" : [ ] + }, + "timezoneOffset" : { + "type" : "Literal", + "localId" : "1569", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "1.0", + "annotation" : [ ] + } + } ] + } + }, { + "localId" : "1594", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "Before", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "1594", + "s" : [ { + "value" : [ "", "define ", "Before", ": " ] + }, { + "r" : "1649", + "s" : [ { + "r" : "1613", + "s" : [ { + "r" : "1595", + "value" : [ "DateTime", "(", "2000", ", ", "3", ", ", "15", ", ", "13", ", ", "30", ", ", "25", ", ", "200", ", " ] + }, { + "r" : "1602", + "s" : [ { + "r" : "1602", + "value" : [ "+", "1.0" ] + } ] + }, { + "value" : [ ")" ] + } ] + }, { + "r" : "1649", + "value" : [ " ", "same or before", " " ] + }, { + "r" : "1640", + "s" : [ { + "r" : "1622", + "value" : [ "DateTime", "(", "2000", ", ", "3", ", ", "15", ", ", "13", ", ", "30", ", ", "25", ", ", "201", ", " ] + }, { + "r" : "1629", + "s" : [ { + "r" : "1629", + "value" : [ "+", "1.0" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "SameOrBefore", + "localId" : "1649", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1650", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1651", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "DateTime", + "localId" : "1613", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1614", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1615", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1616", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1617", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1618", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1619", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1620", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1621", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1595", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1596", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "1597", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "15", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "1598", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "13", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "1599", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "30", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "1600", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "25", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "1601", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "200", + "annotation" : [ ] + }, + "timezoneOffset" : { + "type" : "Literal", + "localId" : "1602", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "1.0", + "annotation" : [ ] + } + }, { + "type" : "DateTime", + "localId" : "1640", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1641", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1642", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1643", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1644", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1645", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1646", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1647", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1648", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1622", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1623", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "1624", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "15", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "1625", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "13", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "1626", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "30", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "1627", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "25", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "1628", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "201", + "annotation" : [ ] + }, + "timezoneOffset" : { + "type" : "Literal", + "localId" : "1629", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "1.0", + "annotation" : [ ] + } + } ] + } + }, { + "localId" : "1654", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "SameDayMonthBefore", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "1654", + "s" : [ { + "value" : [ "", "define ", "SameDayMonthBefore", ": " ] + }, { + "r" : "1709", + "s" : [ { + "r" : "1673", + "s" : [ { + "r" : "1655", + "value" : [ "DateTime", "(", "2000", ", ", "3", ", ", "15", ", ", "13", ", ", "30", ", ", "25", ", ", "200", ", " ] + }, { + "r" : "1662", + "s" : [ { + "r" : "1662", + "value" : [ "+", "1.0" ] + } ] + }, { + "value" : [ ")" ] + } ] + }, { + "r" : "1709", + "value" : [ " ", "same day or before", " " ] + }, { + "r" : "1700", + "s" : [ { + "r" : "1682", + "value" : [ "DateTime", "(", "2000", ", ", "4", ", ", "15", ", ", "8", ", ", "14", ", ", "47", ", ", "500", ", " ] + }, { + "r" : "1689", + "s" : [ { + "r" : "1689", + "value" : [ "+", "1.0" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "SameOrBefore", + "localId" : "1709", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "precision" : "Day", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1710", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1711", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "DateTime", + "localId" : "1673", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1674", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1675", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1676", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1677", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1678", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1679", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1680", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1681", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1655", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1656", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "1657", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "15", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "1658", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "13", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "1659", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "30", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "1660", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "25", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "1661", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "200", + "annotation" : [ ] + }, + "timezoneOffset" : { + "type" : "Literal", + "localId" : "1662", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "1.0", + "annotation" : [ ] + } + }, { + "type" : "DateTime", + "localId" : "1700", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1701", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1702", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1703", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1704", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1705", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1706", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1707", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1708", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1682", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1683", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "4", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "1684", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "15", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "1685", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "8", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "1686", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "14", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "1687", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "47", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "1688", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "500", + "annotation" : [ ] + }, + "timezoneOffset" : { + "type" : "Literal", + "localId" : "1689", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "1.0", + "annotation" : [ ] + } + } ] + } + }, { + "localId" : "1714", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "DayAfterMonthBefore", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "1714", + "s" : [ { + "value" : [ "", "define ", "DayAfterMonthBefore", ": " ] + }, { + "r" : "1769", + "s" : [ { + "r" : "1733", + "s" : [ { + "r" : "1715", + "value" : [ "DateTime", "(", "2000", ", ", "3", ", ", "15", ", ", "13", ", ", "30", ", ", "25", ", ", "200", ", " ] + }, { + "r" : "1722", + "s" : [ { + "r" : "1722", + "value" : [ "+", "1.0" ] + } ] + }, { + "value" : [ ")" ] + } ] + }, { + "r" : "1769", + "value" : [ " ", "same day or before", " " ] + }, { + "r" : "1760", + "s" : [ { + "r" : "1742", + "value" : [ "DateTime", "(", "2000", ", ", "4", ", ", "14", ", ", "8", ", ", "14", ", ", "47", ", ", "500", ", " ] + }, { + "r" : "1749", + "s" : [ { + "r" : "1749", + "value" : [ "+", "1.0" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "SameOrBefore", + "localId" : "1769", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "precision" : "Day", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1770", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", "localId" : "1771", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "SameHourNormalizeZones", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "1771", - "s" : [ { - "value" : [ "","define ","SameHourNormalizeZones",": " ] - }, { - "r" : "1828", - "s" : [ { - "r" : "1790", - "s" : [ { - "r" : "1772", - "value" : [ "DateTime","(","2000",", ","3",", ","15",", ","13",", ","30",", ","25",", ","200",", " ] - }, { - "r" : "1779", - "s" : [ { - "r" : "1779", - "value" : [ "+","1.0" ] - } ] - }, { - "value" : [ ")" ] - } ] - }, { - "r" : "1828", - "value" : [ " ","before hour of"," " ] - }, { - "r" : "1819", - "s" : [ { - "r" : "1799", - "value" : [ "DateTime","(","2000",", ","3",", ","15",", ","7",", ","30",", ","25",", ","200",", " ] - }, { - "r" : "1806", - "s" : [ { - "r" : "1807", - "value" : [ "-","5.0" ] - } ] - }, { - "value" : [ ")" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "1828", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "precision" : "Hour", - "type" : "Before", - "signature" : [ { - "localId" : "1829", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1830", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "1790", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "1791", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1792", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1793", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1794", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1795", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1796", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1797", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1798", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1772", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "1773", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "1774", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal" - }, - "hour" : { - "localId" : "1775", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "13", - "type" : "Literal" - }, - "minute" : { - "localId" : "1776", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "30", - "type" : "Literal" - }, - "second" : { - "localId" : "1777", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "25", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "1778", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "200", - "type" : "Literal" - }, - "timezoneOffset" : { - "localId" : "1779", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "1.0", - "type" : "Literal" - } - }, { - "localId" : "1819", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "1820", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1821", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1822", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1823", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1824", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1825", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1826", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1827", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1799", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "1800", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "1801", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal" - }, - "hour" : { - "localId" : "1802", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "7", - "type" : "Literal" - }, - "minute" : { - "localId" : "1803", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "30", - "type" : "Literal" - }, - "second" : { - "localId" : "1804", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "25", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "1805", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "200", - "type" : "Literal" - }, - "timezoneOffset" : { - "localId" : "1806", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "Negate", - "signature" : [ { - "localId" : "1808", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "1807", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "5.0", - "type" : "Literal" - } - } - } ] - } - }, { - "localId" : "1833", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "HourAfterNormalizeZones", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "1833", - "s" : [ { - "value" : [ "","define ","HourAfterNormalizeZones",": " ] - }, { - "r" : "1890", - "s" : [ { - "r" : "1852", - "s" : [ { - "r" : "1834", - "value" : [ "DateTime","(","2000",", ","3",", ","15",", ","13",", ","30",", ","25",", ","200",", " ] - }, { - "r" : "1841", - "s" : [ { - "r" : "1841", - "value" : [ "+","1.0" ] - } ] - }, { - "value" : [ ")" ] - } ] - }, { - "r" : "1890", - "value" : [ " ","before hour of"," " ] - }, { - "r" : "1881", - "s" : [ { - "r" : "1861", - "value" : [ "DateTime","(","2000",", ","3",", ","15",", ","6",", ","30",", ","25",", ","200",", " ] - }, { - "r" : "1868", - "s" : [ { - "r" : "1869", - "value" : [ "-","5.0" ] - } ] - }, { - "value" : [ ")" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "1890", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "precision" : "Hour", - "type" : "Before", - "signature" : [ { - "localId" : "1891", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1892", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "1852", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "1853", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1854", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1855", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1856", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1857", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1858", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1859", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1860", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1834", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "1835", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "1836", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal" - }, - "hour" : { - "localId" : "1837", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "13", - "type" : "Literal" - }, - "minute" : { - "localId" : "1838", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "30", - "type" : "Literal" - }, - "second" : { - "localId" : "1839", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "25", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "1840", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "200", - "type" : "Literal" - }, - "timezoneOffset" : { - "localId" : "1841", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "1.0", - "type" : "Literal" - } - }, { - "localId" : "1881", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "1882", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1883", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1884", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1885", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1886", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1887", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1888", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1889", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1861", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "1862", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "1863", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal" - }, - "hour" : { - "localId" : "1864", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "6", - "type" : "Literal" - }, - "minute" : { - "localId" : "1865", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "30", - "type" : "Literal" - }, - "second" : { - "localId" : "1866", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "25", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "1867", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "200", - "type" : "Literal" - }, - "timezoneOffset" : { - "localId" : "1868", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "Negate", - "signature" : [ { - "localId" : "1870", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "1869", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "5.0", - "type" : "Literal" - } - } - } ] - } - }, { - "localId" : "1895", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "HourBeforeNormalizeZones", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "1895", - "s" : [ { - "value" : [ "","define ","HourBeforeNormalizeZones",": " ] - }, { - "r" : "1952", - "s" : [ { - "r" : "1914", - "s" : [ { - "r" : "1896", - "value" : [ "DateTime","(","2000",", ","3",", ","15",", ","13",", ","30",", ","25",", ","200",", " ] - }, { - "r" : "1903", - "s" : [ { - "r" : "1903", - "value" : [ "+","1.0" ] - } ] - }, { - "value" : [ ")" ] - } ] - }, { - "r" : "1952", - "value" : [ " ","before hour of"," " ] - }, { - "r" : "1943", - "s" : [ { - "r" : "1923", - "value" : [ "DateTime","(","2000",", ","3",", ","15",", ","8",", ","30",", ","25",", ","200",", " ] - }, { - "r" : "1930", - "s" : [ { - "r" : "1931", - "value" : [ "-","5.0" ] - } ] - }, { - "value" : [ ")" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "1952", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "precision" : "Hour", - "type" : "Before", - "signature" : [ { - "localId" : "1953", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1954", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "1914", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "1915", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1916", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1917", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1918", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1919", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1920", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1921", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1922", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1896", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "1897", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "1898", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal" - }, - "hour" : { - "localId" : "1899", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "13", - "type" : "Literal" - }, - "minute" : { - "localId" : "1900", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "30", - "type" : "Literal" - }, - "second" : { - "localId" : "1901", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "25", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "1902", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "200", - "type" : "Literal" - }, - "timezoneOffset" : { - "localId" : "1903", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "1.0", - "type" : "Literal" - } - }, { - "localId" : "1943", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "1944", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1945", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1946", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1947", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1948", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1949", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1950", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1951", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1923", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "1924", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "1925", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal" - }, - "hour" : { - "localId" : "1926", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "8", - "type" : "Literal" - }, - "minute" : { - "localId" : "1927", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "30", - "type" : "Literal" - }, - "second" : { - "localId" : "1928", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "25", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "1929", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "200", - "type" : "Literal" - }, - "timezoneOffset" : { - "localId" : "1930", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "Negate", - "signature" : [ { - "localId" : "1932", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "1931", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "5.0", - "type" : "Literal" - } - } - } ] - } - }, { - "localId" : "1957", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "NullLeft", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "1957", - "s" : [ { - "value" : [ "","define ","NullLeft",": " ] - }, { - "r" : "1986", - "s" : [ { - "r" : "1958", - "value" : [ "null"," ","before"," " ] - }, { - "r" : "1977", - "s" : [ { - "r" : "1959", - "value" : [ "DateTime","(","2000",", ","3",", ","15",", ","13",", ","30",", ","25",", ","200",", " ] - }, { - "r" : "1966", - "s" : [ { - "r" : "1966", - "value" : [ "+","1.0" ] - } ] - }, { - "value" : [ ")" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "1986", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "Before", - "signature" : [ { - "localId" : "1988", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1989", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "1987", - "asType" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "As", - "signature" : [ ], - "operand" : { - "localId" : "1958", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - } - }, { - "localId" : "1977", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "1978", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1979", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1980", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1981", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1982", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1983", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1984", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1985", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1959", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "1960", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "1961", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal" - }, - "hour" : { - "localId" : "1962", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "13", - "type" : "Literal" - }, - "minute" : { - "localId" : "1963", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "30", - "type" : "Literal" - }, - "second" : { - "localId" : "1964", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "25", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "1965", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "200", - "type" : "Literal" - }, - "timezoneOffset" : { - "localId" : "1966", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "1.0", - "type" : "Literal" - } - } ] - } - }, { - "localId" : "1992", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "NullRight", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "1992", - "s" : [ { - "value" : [ "","define ","NullRight",": " ] + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "DateTime", + "localId" : "1733", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1734", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1735", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1736", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1737", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1738", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1739", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1740", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1741", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1715", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1716", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "1717", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "15", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "1718", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "13", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "1719", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "30", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "1720", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "25", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "1721", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "200", + "annotation" : [ ] + }, + "timezoneOffset" : { + "type" : "Literal", + "localId" : "1722", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "1.0", + "annotation" : [ ] + } + }, { + "type" : "DateTime", + "localId" : "1760", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1761", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1762", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1763", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1764", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1765", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1766", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1767", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1768", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1742", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1743", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "4", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "1744", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "14", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "1745", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "8", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "1746", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "14", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "1747", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "47", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "1748", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "500", + "annotation" : [ ] + }, + "timezoneOffset" : { + "type" : "Literal", + "localId" : "1749", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "1.0", + "annotation" : [ ] + } + } ] + } + }, { + "localId" : "1774", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "DayBeforeMonthAfter", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "1774", + "s" : [ { + "value" : [ "", "define ", "DayBeforeMonthAfter", ": " ] + }, { + "r" : "1829", + "s" : [ { + "r" : "1793", + "s" : [ { + "r" : "1775", + "value" : [ "DateTime", "(", "2000", ", ", "3", ", ", "15", ", ", "13", ", ", "30", ", ", "25", ", ", "200", ", " ] + }, { + "r" : "1782", + "s" : [ { + "r" : "1782", + "value" : [ "+", "1.0" ] + } ] + }, { + "value" : [ ")" ] + } ] + }, { + "r" : "1829", + "value" : [ " ", "same day or before", " " ] + }, { + "r" : "1820", + "s" : [ { + "r" : "1802", + "value" : [ "DateTime", "(", "2000", ", ", "2", ", ", "16", ", ", "8", ", ", "14", ", ", "47", ", ", "500", ", " ] + }, { + "r" : "1809", + "s" : [ { + "r" : "1809", + "value" : [ "+", "1.0" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "SameOrBefore", + "localId" : "1829", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "precision" : "Day", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1830", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1831", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "DateTime", + "localId" : "1793", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1794", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1795", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1796", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1797", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1798", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1799", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1800", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1801", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1775", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1776", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "1777", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "15", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "1778", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "13", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "1779", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "30", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "1780", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "25", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "1781", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "200", + "annotation" : [ ] + }, + "timezoneOffset" : { + "type" : "Literal", + "localId" : "1782", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "1.0", + "annotation" : [ ] + } + }, { + "type" : "DateTime", + "localId" : "1820", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1821", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1822", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1823", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1824", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1825", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1826", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1827", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1828", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1802", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1803", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "1804", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "16", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "1805", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "8", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "1806", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "14", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "1807", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "47", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "1808", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "500", + "annotation" : [ ] + }, + "timezoneOffset" : { + "type" : "Literal", + "localId" : "1809", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "1.0", + "annotation" : [ ] + } + } ] + } + }, { + "localId" : "1834", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "ImpreciseDay", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "1834", + "s" : [ { + "value" : [ "", "define ", "ImpreciseDay", ": " ] + }, { + "r" : "1868", + "s" : [ { + "r" : "1851", + "s" : [ { + "r" : "1835", + "value" : [ "DateTime", "(", "2000", ", ", "3", ", ", "15", ", ", "13", ", ", "30", ", ", "25", ", ", "200", ")" ] + } ] + }, { + "r" : "1868", + "value" : [ " ", "same day or before", " " ] + }, { + "r" : "1865", + "s" : [ { + "r" : "1859", + "value" : [ "DateTime", "(", "2000", ", ", "3", ")" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "SameOrBefore", + "localId" : "1868", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "precision" : "Day", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1869", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1870", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "DateTime", + "localId" : "1851", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1852", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1853", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1854", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1855", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1856", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1857", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1858", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1835", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1836", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "1837", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "15", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "1838", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "13", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "1839", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "30", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "1840", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "25", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "1841", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "200", + "annotation" : [ ] + } + }, { + "type" : "DateTime", + "localId" : "1865", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1866", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1867", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1859", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1860", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + } + } ] + } + }, { + "localId" : "1873", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "ImpreciseDayMonthAfter", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "1873", + "s" : [ { + "value" : [ "", "define ", "ImpreciseDayMonthAfter", ": " ] + }, { + "r" : "1907", + "s" : [ { + "r" : "1890", + "s" : [ { + "r" : "1874", + "value" : [ "DateTime", "(", "2000", ", ", "3", ", ", "15", ", ", "13", ", ", "30", ", ", "25", ", ", "200", ")" ] + } ] + }, { + "r" : "1907", + "value" : [ " ", "same day or before", " " ] + }, { + "r" : "1904", + "s" : [ { + "r" : "1898", + "value" : [ "DateTime", "(", "2000", ", ", "2", ")" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "SameOrBefore", + "localId" : "1907", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "precision" : "Day", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1908", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1909", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "DateTime", + "localId" : "1890", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1891", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1892", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1893", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1894", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1895", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1896", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1897", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1874", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1875", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "1876", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "15", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "1877", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "13", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "1878", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "30", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "1879", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "25", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "1880", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "200", + "annotation" : [ ] + } + }, { + "type" : "DateTime", + "localId" : "1904", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1905", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1906", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1898", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1899", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "annotation" : [ ] + } + } ] + } + }, { + "localId" : "1912", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "ImpreciseDayMonthBefore", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "1912", + "s" : [ { + "value" : [ "", "define ", "ImpreciseDayMonthBefore", ": " ] + }, { + "r" : "1946", + "s" : [ { + "r" : "1929", + "s" : [ { + "r" : "1913", + "value" : [ "DateTime", "(", "2000", ", ", "3", ", ", "15", ", ", "13", ", ", "30", ", ", "25", ", ", "200", ")" ] + } ] + }, { + "r" : "1946", + "value" : [ " ", "same day or before", " " ] + }, { + "r" : "1943", + "s" : [ { + "r" : "1937", + "value" : [ "DateTime", "(", "2000", ", ", "4", ")" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "SameOrBefore", + "localId" : "1946", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "precision" : "Day", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1947", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1948", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "DateTime", + "localId" : "1929", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1930", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1931", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1932", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1933", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1934", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1935", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1936", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1913", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1914", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "1915", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "15", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "1916", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "13", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "1917", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "30", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "1918", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "25", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "1919", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "200", + "annotation" : [ ] + } + }, { + "type" : "DateTime", + "localId" : "1943", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1944", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1945", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1937", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1938", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "4", + "annotation" : [ ] + } + } ] + } + }, { + "localId" : "1951", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "SameHourNormalizeZones", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "1951", + "s" : [ { + "value" : [ "", "define ", "SameHourNormalizeZones", ": " ] + }, { + "r" : "2008", + "s" : [ { + "r" : "1970", + "s" : [ { + "r" : "1952", + "value" : [ "DateTime", "(", "2000", ", ", "3", ", ", "15", ", ", "13", ", ", "30", ", ", "25", ", ", "200", ", " ] + }, { + "r" : "1959", + "s" : [ { + "r" : "1959", + "value" : [ "+", "1.0" ] + } ] + }, { + "value" : [ ")" ] + } ] + }, { + "r" : "2008", + "value" : [ " ", "same hour or before", " " ] + }, { + "r" : "1999", + "s" : [ { + "r" : "1979", + "value" : [ "DateTime", "(", "2000", ", ", "3", ", ", "15", ", ", "7", ", ", "30", ", ", "25", ", ", "200", ", " ] + }, { + "r" : "1986", + "s" : [ { + "r" : "1987", + "value" : [ "-", "5.0" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "SameOrBefore", + "localId" : "2008", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "precision" : "Hour", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "2009", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2010", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "DateTime", + "localId" : "1970", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1971", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1972", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1973", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1974", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1975", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1976", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1977", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1978", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1952", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1953", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "1954", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "15", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "1955", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "13", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "1956", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "30", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "1957", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "25", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "1958", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "200", + "annotation" : [ ] + }, + "timezoneOffset" : { + "type" : "Literal", + "localId" : "1959", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "1.0", + "annotation" : [ ] + } + }, { + "type" : "DateTime", + "localId" : "1999", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "2000", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2001", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2002", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2003", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2004", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2005", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2006", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2007", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1979", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1980", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "1981", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "15", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "1982", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "7", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "1983", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "30", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "1984", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "25", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "1985", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "200", + "annotation" : [ ] + }, + "timezoneOffset" : { + "type" : "Negate", + "localId" : "1986", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1988", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } ], + "operand" : { + "type" : "Literal", + "localId" : "1987", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "5.0", + "annotation" : [ ] + } + } + } ] + } + }, { + "localId" : "2013", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "HourAfterNormalizeZones", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "2013", + "s" : [ { + "value" : [ "", "define ", "HourAfterNormalizeZones", ": " ] + }, { + "r" : "2070", + "s" : [ { + "r" : "2032", + "s" : [ { + "r" : "2014", + "value" : [ "DateTime", "(", "2000", ", ", "3", ", ", "15", ", ", "13", ", ", "30", ", ", "25", ", ", "200", ", " ] + }, { + "r" : "2021", + "s" : [ { + "r" : "2021", + "value" : [ "+", "1.0" ] + } ] + }, { + "value" : [ ")" ] + } ] + }, { + "r" : "2070", + "value" : [ " ", "same hour or before", " " ] + }, { + "r" : "2061", + "s" : [ { + "r" : "2041", + "value" : [ "DateTime", "(", "2000", ", ", "3", ", ", "15", ", ", "6", ", ", "30", ", ", "25", ", ", "200", ", " ] + }, { + "r" : "2048", + "s" : [ { + "r" : "2049", + "value" : [ "-", "5.0" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "SameOrBefore", + "localId" : "2070", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "precision" : "Hour", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "2071", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2072", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "DateTime", + "localId" : "2032", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "2033", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2034", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2035", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2036", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2037", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2038", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2039", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2040", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "2014", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "2015", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "2016", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "15", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "2017", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "13", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "2018", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "30", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "2019", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "25", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "2020", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "200", + "annotation" : [ ] + }, + "timezoneOffset" : { + "type" : "Literal", + "localId" : "2021", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "1.0", + "annotation" : [ ] + } + }, { + "type" : "DateTime", + "localId" : "2061", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "2062", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2063", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2064", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2065", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2066", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2067", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2068", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2069", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "2041", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "2042", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "2043", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "15", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "2044", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "6", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "2045", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "30", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "2046", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "25", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "2047", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "200", + "annotation" : [ ] + }, + "timezoneOffset" : { + "type" : "Negate", + "localId" : "2048", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "2050", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } ], + "operand" : { + "type" : "Literal", + "localId" : "2049", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "5.0", + "annotation" : [ ] + } + } + } ] + } + }, { + "localId" : "2075", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "HourBeforeNormalizeZones", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "2075", + "s" : [ { + "value" : [ "", "define ", "HourBeforeNormalizeZones", ": " ] + }, { + "r" : "2132", + "s" : [ { + "r" : "2094", + "s" : [ { + "r" : "2076", + "value" : [ "DateTime", "(", "2000", ", ", "3", ", ", "15", ", ", "13", ", ", "30", ", ", "25", ", ", "200", ", " ] + }, { + "r" : "2083", + "s" : [ { + "r" : "2083", + "value" : [ "+", "1.0" ] + } ] + }, { + "value" : [ ")" ] + } ] + }, { + "r" : "2132", + "value" : [ " ", "same hour or before", " " ] + }, { + "r" : "2123", + "s" : [ { + "r" : "2103", + "value" : [ "DateTime", "(", "2000", ", ", "3", ", ", "15", ", ", "8", ", ", "30", ", ", "25", ", ", "200", ", " ] + }, { + "r" : "2110", + "s" : [ { + "r" : "2111", + "value" : [ "-", "5.0" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "SameOrBefore", + "localId" : "2132", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "precision" : "Hour", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "2133", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2134", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "DateTime", + "localId" : "2094", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "2095", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2096", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2097", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2098", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2099", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2100", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2101", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2102", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "2076", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "2077", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "2078", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "15", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "2079", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "13", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "2080", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "30", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "2081", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "25", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "2082", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "200", + "annotation" : [ ] + }, + "timezoneOffset" : { + "type" : "Literal", + "localId" : "2083", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "1.0", + "annotation" : [ ] + } + }, { + "type" : "DateTime", + "localId" : "2123", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "2124", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2125", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2126", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2127", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2128", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2129", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2130", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2131", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "2103", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "2104", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "2105", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "15", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "2106", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "8", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "2107", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "30", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "2108", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "25", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "2109", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "200", + "annotation" : [ ] + }, + "timezoneOffset" : { + "type" : "Negate", + "localId" : "2110", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "2112", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } ], + "operand" : { + "type" : "Literal", + "localId" : "2111", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "5.0", + "annotation" : [ ] + } + } + } ] + } + }, { + "localId" : "2137", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "NullLeft", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "2137", + "s" : [ { + "value" : [ "", "define ", "NullLeft", ": " ] + }, { + "r" : "2166", + "s" : [ { + "r" : "2138", + "value" : [ "null", " ", "same or before", " " ] + }, { + "r" : "2157", + "s" : [ { + "r" : "2139", + "value" : [ "DateTime", "(", "2000", ", ", "3", ", ", "15", ", ", "13", ", ", "30", ", ", "25", ", ", "200", ", " ] + }, { + "r" : "2146", + "s" : [ { + "r" : "2146", + "value" : [ "+", "1.0" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "SameOrBefore", + "localId" : "2166", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "2168", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2169", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "As", + "localId" : "2167", + "asType" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Null", + "localId" : "2138", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } + }, { + "type" : "DateTime", + "localId" : "2157", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "2158", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2159", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2160", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2161", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2162", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2163", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2164", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2165", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "2139", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "2140", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "2141", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "15", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "2142", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "13", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "2143", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "30", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "2144", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "25", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "2145", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "200", + "annotation" : [ ] + }, + "timezoneOffset" : { + "type" : "Literal", + "localId" : "2146", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "1.0", + "annotation" : [ ] + } + } ] + } + }, { + "localId" : "2172", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "NullRight", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "2172", + "s" : [ { + "value" : [ "", "define ", "NullRight", ": " ] + }, { + "r" : "2201", + "s" : [ { + "r" : "2191", + "s" : [ { + "r" : "2173", + "value" : [ "DateTime", "(", "2000", ", ", "3", ", ", "15", ", ", "13", ", ", "30", ", ", "25", ", ", "200", ", " ] + }, { + "r" : "2180", + "s" : [ { + "r" : "2180", + "value" : [ "+", "1.0" ] + } ] + }, { + "value" : [ ")" ] + } ] + }, { + "r" : "2201", + "value" : [ " ", "same or before", " ", "null" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "SameOrBefore", + "localId" : "2201", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "2203", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2204", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "DateTime", + "localId" : "2191", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "2192", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2193", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2194", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2195", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2196", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2197", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2198", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2199", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "2173", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "2174", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "2175", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "15", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "2176", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "13", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "2177", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "30", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "2178", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "25", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "2179", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "200", + "annotation" : [ ] + }, + "timezoneOffset" : { + "type" : "Literal", + "localId" : "2180", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "1.0", + "annotation" : [ ] + } + }, { + "type" : "As", + "localId" : "2202", + "asType" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Null", + "localId" : "2200", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } + } ] + } + }, { + "localId" : "2207", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "NullBoth", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "2207", + "s" : [ { + "value" : [ "", "define ", "NullBoth", ": " ] + }, { + "r" : "2212", + "s" : [ { + "r" : "2208", + "s" : [ { + "value" : [ "(" ] + }, { + "r" : "2208", + "s" : [ { + "r" : "2209", + "value" : [ "null", " as " ] }, { - "r" : "2021", - "s" : [ { - "r" : "2011", - "s" : [ { - "r" : "1993", - "value" : [ "DateTime","(","2000",", ","3",", ","15",", ","13",", ","30",", ","25",", ","200",", " ] - }, { - "r" : "2000", - "s" : [ { - "r" : "2000", - "value" : [ "+","1.0" ] - } ] - }, { - "value" : [ ")" ] - } ] - }, { - "r" : "2021", - "value" : [ " ","before"," ","null" ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "2021", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "Before", - "signature" : [ { - "localId" : "2023", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2024", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "2011", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "2012", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" + "r" : "2210", + "s" : [ { + "value" : [ "DateTime" ] + } ] + } ] + }, { + "value" : [ ")" ] + } ] + }, { + "r" : "2212", + "value" : [ " ", "same or before", " ", "null" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "SameOrBefore", + "localId" : "2212", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "2214", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2215", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "As", + "localId" : "2208", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "strict" : false, + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Null", + "localId" : "2209", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + }, + "asTypeSpecifier" : { + "type" : "NamedTypeSpecifier", + "localId" : "2210", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, { + "type" : "As", + "localId" : "2213", + "asType" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Null", + "localId" : "2211", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } + } ] + } + }, { + "localId" : "2218", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "SameOOB", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "2218", + "s" : [ { + "value" : [ "// On Or Before:\n", "define ", "SameOOB", ": " ] + }, { + "r" : "2273", + "s" : [ { + "r" : "2237", + "s" : [ { + "r" : "2219", + "value" : [ "DateTime", "(", "2000", ", ", "3", ", ", "15", ", ", "13", ", ", "30", ", ", "25", ", ", "200", ", " ] + }, { + "r" : "2226", + "s" : [ { + "r" : "2226", + "value" : [ "+", "1.0" ] + } ] + }, { + "value" : [ ")" ] + } ] + }, { + "r" : "2273", + "value" : [ " ", "on or before", " " ] + }, { + "r" : "2264", + "s" : [ { + "r" : "2246", + "value" : [ "DateTime", "(", "2000", ", ", "3", ", ", "15", ", ", "13", ", ", "30", ", ", "25", ", ", "200", ", " ] + }, { + "r" : "2253", + "s" : [ { + "r" : "2253", + "value" : [ "+", "1.0" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "SameOrBefore", + "localId" : "2273", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "2274", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2275", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "DateTime", + "localId" : "2237", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "2238", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2239", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2240", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2241", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2242", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2243", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2244", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2245", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "2219", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "2220", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "2221", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "15", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "2222", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "13", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "2223", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "30", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "2224", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "25", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "2225", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "200", + "annotation" : [ ] + }, + "timezoneOffset" : { + "type" : "Literal", + "localId" : "2226", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "1.0", + "annotation" : [ ] + } + }, { + "type" : "DateTime", + "localId" : "2264", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "2265", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2266", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2267", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2268", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2269", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2270", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2271", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2272", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "2246", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "2247", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "2248", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "15", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "2249", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "13", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "2250", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "30", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "2251", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "25", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "2252", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "200", + "annotation" : [ ] + }, + "timezoneOffset" : { + "type" : "Literal", + "localId" : "2253", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "1.0", + "annotation" : [ ] + } + } ] + } + }, { + "localId" : "2278", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "AfterOOB", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "2278", + "s" : [ { + "value" : [ "", "define ", "AfterOOB", ": " ] + }, { + "r" : "2333", + "s" : [ { + "r" : "2297", + "s" : [ { + "r" : "2279", + "value" : [ "DateTime", "(", "2000", ", ", "3", ", ", "15", ", ", "13", ", ", "30", ", ", "25", ", ", "200", ", " ] + }, { + "r" : "2286", + "s" : [ { + "r" : "2286", + "value" : [ "+", "1.0" ] + } ] + }, { + "value" : [ ")" ] + } ] + }, { + "r" : "2333", + "value" : [ " ", "on or before", " " ] + }, { + "r" : "2324", + "s" : [ { + "r" : "2306", + "value" : [ "DateTime", "(", "2000", ", ", "3", ", ", "15", ", ", "13", ", ", "30", ", ", "25", ", ", "199", ", " ] + }, { + "r" : "2313", + "s" : [ { + "r" : "2313", + "value" : [ "+", "1.0" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "SameOrBefore", + "localId" : "2333", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "2334", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2335", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "DateTime", + "localId" : "2297", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "2298", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2299", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2300", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2301", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2302", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2303", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2304", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2305", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "2279", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "2280", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "2281", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "15", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "2282", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "13", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "2283", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "30", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "2284", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "25", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "2285", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "200", + "annotation" : [ ] + }, + "timezoneOffset" : { + "type" : "Literal", + "localId" : "2286", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "1.0", + "annotation" : [ ] + } + }, { + "type" : "DateTime", + "localId" : "2324", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "2325", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2326", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2327", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2328", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2329", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2330", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2331", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2332", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "2306", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "2307", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "2308", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "15", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "2309", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "13", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "2310", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "30", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "2311", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "25", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "2312", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "199", + "annotation" : [ ] + }, + "timezoneOffset" : { + "type" : "Literal", + "localId" : "2313", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "1.0", + "annotation" : [ ] + } + } ] + } + }, { + "localId" : "2338", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "BeforeOOB", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "2338", + "s" : [ { + "value" : [ "", "define ", "BeforeOOB", ": " ] + }, { + "r" : "2393", + "s" : [ { + "r" : "2357", + "s" : [ { + "r" : "2339", + "value" : [ "DateTime", "(", "2000", ", ", "3", ", ", "15", ", ", "13", ", ", "30", ", ", "25", ", ", "200", ", " ] + }, { + "r" : "2346", + "s" : [ { + "r" : "2346", + "value" : [ "+", "1.0" ] + } ] + }, { + "value" : [ ")" ] + } ] + }, { + "r" : "2393", + "value" : [ " ", "on or before", " " ] + }, { + "r" : "2384", + "s" : [ { + "r" : "2366", + "value" : [ "DateTime", "(", "2000", ", ", "3", ", ", "15", ", ", "13", ", ", "30", ", ", "25", ", ", "201", ", " ] + }, { + "r" : "2373", + "s" : [ { + "r" : "2373", + "value" : [ "+", "1.0" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "SameOrBefore", + "localId" : "2393", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "2394", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2395", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "DateTime", + "localId" : "2357", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "2358", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2359", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2360", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2361", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2362", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2363", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2364", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2365", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "2339", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "2340", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "2341", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "15", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "2342", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "13", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "2343", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "30", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "2344", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "25", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "2345", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "200", + "annotation" : [ ] + }, + "timezoneOffset" : { + "type" : "Literal", + "localId" : "2346", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "1.0", + "annotation" : [ ] + } + }, { + "type" : "DateTime", + "localId" : "2384", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "2385", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2386", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2387", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2388", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2389", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2390", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2391", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2392", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "2366", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "2367", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "2368", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "15", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "2369", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "13", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "2370", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "30", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "2371", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "25", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "2372", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "201", + "annotation" : [ ] + }, + "timezoneOffset" : { + "type" : "Literal", + "localId" : "2373", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "1.0", + "annotation" : [ ] + } + } ] + } + }, { + "localId" : "2398", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "NullLeftOOB", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "2398", + "s" : [ { + "value" : [ "", "define ", "NullLeftOOB", ": " ] + }, { + "r" : "2427", + "s" : [ { + "r" : "2399", + "value" : [ "null", " ", "on or before", " " ] + }, { + "r" : "2418", + "s" : [ { + "r" : "2400", + "value" : [ "DateTime", "(", "2000", ", ", "3", ", ", "15", ", ", "13", ", ", "30", ", ", "25", ", ", "200", ", " ] + }, { + "r" : "2407", + "s" : [ { + "r" : "2407", + "value" : [ "+", "1.0" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "SameOrBefore", + "localId" : "2427", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "2429", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2430", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "As", + "localId" : "2428", + "asType" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Null", + "localId" : "2399", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } + }, { + "type" : "DateTime", + "localId" : "2418", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "2419", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2420", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2421", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2422", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2423", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2424", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2425", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2426", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "2400", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "2401", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "2402", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "15", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "2403", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "13", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "2404", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "30", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "2405", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "25", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "2406", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "200", + "annotation" : [ ] + }, + "timezoneOffset" : { + "type" : "Literal", + "localId" : "2407", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "1.0", + "annotation" : [ ] + } + } ] + } + }, { + "localId" : "2433", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "NullRightOOB", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "2433", + "s" : [ { + "value" : [ "", "define ", "NullRightOOB", ": " ] + }, { + "r" : "2462", + "s" : [ { + "r" : "2452", + "s" : [ { + "r" : "2434", + "value" : [ "DateTime", "(", "2000", ", ", "3", ", ", "15", ", ", "13", ", ", "30", ", ", "25", ", ", "200", ", " ] + }, { + "r" : "2441", + "s" : [ { + "r" : "2441", + "value" : [ "+", "1.0" ] + } ] + }, { + "value" : [ ")" ] + } ] + }, { + "r" : "2462", + "value" : [ " ", "on or before", " ", "null" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "SameOrBefore", + "localId" : "2462", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "2464", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2465", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "DateTime", + "localId" : "2452", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "2453", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2454", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2455", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2456", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2457", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2458", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2459", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2460", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "2434", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "2435", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "2436", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "15", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "2437", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "13", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "2438", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "30", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "2439", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "25", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "2440", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "200", + "annotation" : [ ] + }, + "timezoneOffset" : { + "type" : "Literal", + "localId" : "2441", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "1.0", + "annotation" : [ ] + } + }, { + "type" : "As", + "localId" : "2463", + "asType" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Null", + "localId" : "2461", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } + } ] + } + }, { + "localId" : "2468", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "NullBothOOB", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "2468", + "s" : [ { + "value" : [ "", "define ", "NullBothOOB", ": " ] + }, { + "r" : "2473", + "s" : [ { + "r" : "2469", + "s" : [ { + "value" : [ "(" ] + }, { + "r" : "2469", + "s" : [ { + "r" : "2470", + "value" : [ "null", " as " ] }, { - "localId" : "2013", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" + "r" : "2471", + "s" : [ { + "value" : [ "DateTime" ] + } ] + } ] + }, { + "value" : [ ")" ] + } ] + }, { + "r" : "2473", + "value" : [ " ", "on or before", " ", "null" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "SameOrBefore", + "localId" : "2473", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "2475", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2476", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "As", + "localId" : "2469", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "strict" : false, + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Null", + "localId" : "2470", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + }, + "asTypeSpecifier" : { + "type" : "NamedTypeSpecifier", + "localId" : "2471", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, { + "type" : "As", + "localId" : "2474", + "asType" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Null", + "localId" : "2472", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } + } ] + } + }, { + "localId" : "2479", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "SameBOO", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "2479", + "s" : [ { + "value" : [ "// Before Or On:\n", "define ", "SameBOO", ": " ] + }, { + "r" : "2534", + "s" : [ { + "r" : "2498", + "s" : [ { + "r" : "2480", + "value" : [ "DateTime", "(", "2000", ", ", "3", ", ", "15", ", ", "13", ", ", "30", ", ", "25", ", ", "200", ", " ] + }, { + "r" : "2487", + "s" : [ { + "r" : "2487", + "value" : [ "+", "1.0" ] + } ] + }, { + "value" : [ ")" ] + } ] + }, { + "r" : "2534", + "value" : [ " ", "before or on", " " ] + }, { + "r" : "2525", + "s" : [ { + "r" : "2507", + "value" : [ "DateTime", "(", "2000", ", ", "3", ", ", "15", ", ", "13", ", ", "30", ", ", "25", ", ", "200", ", " ] + }, { + "r" : "2514", + "s" : [ { + "r" : "2514", + "value" : [ "+", "1.0" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "SameOrBefore", + "localId" : "2534", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "2535", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2536", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "DateTime", + "localId" : "2498", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "2499", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2500", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2501", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2502", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2503", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2504", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2505", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2506", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "2480", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "2481", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "2482", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "15", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "2483", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "13", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "2484", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "30", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "2485", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "25", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "2486", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "200", + "annotation" : [ ] + }, + "timezoneOffset" : { + "type" : "Literal", + "localId" : "2487", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "1.0", + "annotation" : [ ] + } + }, { + "type" : "DateTime", + "localId" : "2525", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "2526", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2527", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2528", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2529", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2530", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2531", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2532", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2533", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "2507", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "2508", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "2509", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "15", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "2510", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "13", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "2511", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "30", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "2512", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "25", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "2513", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "200", + "annotation" : [ ] + }, + "timezoneOffset" : { + "type" : "Literal", + "localId" : "2514", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "1.0", + "annotation" : [ ] + } + } ] + } + }, { + "localId" : "2539", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "AfterBOO", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "2539", + "s" : [ { + "value" : [ "", "define ", "AfterBOO", ": " ] + }, { + "r" : "2594", + "s" : [ { + "r" : "2558", + "s" : [ { + "r" : "2540", + "value" : [ "DateTime", "(", "2000", ", ", "3", ", ", "15", ", ", "13", ", ", "30", ", ", "25", ", ", "200", ", " ] + }, { + "r" : "2547", + "s" : [ { + "r" : "2547", + "value" : [ "+", "1.0" ] + } ] + }, { + "value" : [ ")" ] + } ] + }, { + "r" : "2594", + "value" : [ " ", "before or on", " " ] + }, { + "r" : "2585", + "s" : [ { + "r" : "2567", + "value" : [ "DateTime", "(", "2000", ", ", "3", ", ", "15", ", ", "13", ", ", "30", ", ", "25", ", ", "199", ", " ] + }, { + "r" : "2574", + "s" : [ { + "r" : "2574", + "value" : [ "+", "1.0" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "SameOrBefore", + "localId" : "2594", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "2595", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2596", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "DateTime", + "localId" : "2558", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "2559", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2560", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2561", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2562", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2563", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2564", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2565", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2566", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "2540", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "2541", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "2542", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "15", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "2543", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "13", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "2544", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "30", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "2545", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "25", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "2546", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "200", + "annotation" : [ ] + }, + "timezoneOffset" : { + "type" : "Literal", + "localId" : "2547", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "1.0", + "annotation" : [ ] + } + }, { + "type" : "DateTime", + "localId" : "2585", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "2586", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2587", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2588", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2589", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2590", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2591", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2592", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2593", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "2567", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "2568", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "2569", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "15", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "2570", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "13", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "2571", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "30", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "2572", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "25", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "2573", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "199", + "annotation" : [ ] + }, + "timezoneOffset" : { + "type" : "Literal", + "localId" : "2574", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "1.0", + "annotation" : [ ] + } + } ] + } + }, { + "localId" : "2599", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "BeforeBOO", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "2599", + "s" : [ { + "value" : [ "", "define ", "BeforeBOO", ": " ] + }, { + "r" : "2654", + "s" : [ { + "r" : "2618", + "s" : [ { + "r" : "2600", + "value" : [ "DateTime", "(", "2000", ", ", "3", ", ", "15", ", ", "13", ", ", "30", ", ", "25", ", ", "200", ", " ] + }, { + "r" : "2607", + "s" : [ { + "r" : "2607", + "value" : [ "+", "1.0" ] + } ] + }, { + "value" : [ ")" ] + } ] + }, { + "r" : "2654", + "value" : [ " ", "before or on", " " ] + }, { + "r" : "2645", + "s" : [ { + "r" : "2627", + "value" : [ "DateTime", "(", "2000", ", ", "3", ", ", "15", ", ", "13", ", ", "30", ", ", "25", ", ", "201", ", " ] + }, { + "r" : "2634", + "s" : [ { + "r" : "2634", + "value" : [ "+", "1.0" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "SameOrBefore", + "localId" : "2654", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "2655", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2656", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "DateTime", + "localId" : "2618", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "2619", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2620", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2621", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2622", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2623", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2624", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2625", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2626", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "2600", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "2601", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "2602", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "15", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "2603", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "13", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "2604", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "30", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "2605", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "25", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "2606", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "200", + "annotation" : [ ] + }, + "timezoneOffset" : { + "type" : "Literal", + "localId" : "2607", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "1.0", + "annotation" : [ ] + } + }, { + "type" : "DateTime", + "localId" : "2645", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "2646", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2647", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2648", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2649", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2650", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2651", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2652", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2653", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "2627", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "2628", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "2629", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "15", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "2630", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "13", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "2631", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "30", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "2632", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "25", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "2633", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "201", + "annotation" : [ ] + }, + "timezoneOffset" : { + "type" : "Literal", + "localId" : "2634", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "1.0", + "annotation" : [ ] + } + } ] + } + }, { + "localId" : "2659", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "NullLeftBOO", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "2659", + "s" : [ { + "value" : [ "", "define ", "NullLeftBOO", ": " ] + }, { + "r" : "2688", + "s" : [ { + "r" : "2660", + "value" : [ "null", " ", "before or on", " " ] + }, { + "r" : "2679", + "s" : [ { + "r" : "2661", + "value" : [ "DateTime", "(", "2000", ", ", "3", ", ", "15", ", ", "13", ", ", "30", ", ", "25", ", ", "200", ", " ] + }, { + "r" : "2668", + "s" : [ { + "r" : "2668", + "value" : [ "+", "1.0" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "SameOrBefore", + "localId" : "2688", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "2690", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2691", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "As", + "localId" : "2689", + "asType" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Null", + "localId" : "2660", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } + }, { + "type" : "DateTime", + "localId" : "2679", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "2680", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2681", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2682", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2683", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2684", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2685", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2686", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2687", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "2661", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "2662", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "2663", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "15", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "2664", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "13", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "2665", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "30", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "2666", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "25", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "2667", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "200", + "annotation" : [ ] + }, + "timezoneOffset" : { + "type" : "Literal", + "localId" : "2668", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "1.0", + "annotation" : [ ] + } + } ] + } + }, { + "localId" : "2694", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "NullRightBOO", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "2694", + "s" : [ { + "value" : [ "", "define ", "NullRightBOO", ": " ] + }, { + "r" : "2723", + "s" : [ { + "r" : "2713", + "s" : [ { + "r" : "2695", + "value" : [ "DateTime", "(", "2000", ", ", "3", ", ", "15", ", ", "13", ", ", "30", ", ", "25", ", ", "200", ", " ] + }, { + "r" : "2702", + "s" : [ { + "r" : "2702", + "value" : [ "+", "1.0" ] + } ] + }, { + "value" : [ ")" ] + } ] + }, { + "r" : "2723", + "value" : [ " ", "before or on", " ", "null" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "SameOrBefore", + "localId" : "2723", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "2725", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2726", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "DateTime", + "localId" : "2713", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "2714", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2715", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2716", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2717", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2718", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2719", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2720", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2721", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "2695", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "2696", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "2697", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "15", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "2698", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "13", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "2699", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "30", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "2700", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "25", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "2701", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "200", + "annotation" : [ ] + }, + "timezoneOffset" : { + "type" : "Literal", + "localId" : "2702", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "1.0", + "annotation" : [ ] + } + }, { + "type" : "As", + "localId" : "2724", + "asType" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Null", + "localId" : "2722", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } + } ] + } + }, { + "localId" : "2729", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "NullBothBOO", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "2729", + "s" : [ { + "value" : [ "", "define ", "NullBothBOO", ": " ] + }, { + "r" : "2734", + "s" : [ { + "r" : "2730", + "s" : [ { + "value" : [ "(" ] + }, { + "r" : "2730", + "s" : [ { + "r" : "2731", + "value" : [ "null", " as " ] }, { - "localId" : "2014", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" + "r" : "2732", + "s" : [ { + "value" : [ "DateTime" ] + } ] + } ] + }, { + "value" : [ ")" ] + } ] + }, { + "r" : "2734", + "value" : [ " ", "before or on", " ", "null" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "SameOrBefore", + "localId" : "2734", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "2736", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2737", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "As", + "localId" : "2730", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "strict" : false, + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Null", + "localId" : "2731", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + }, + "asTypeSpecifier" : { + "type" : "NamedTypeSpecifier", + "localId" : "2732", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, { + "type" : "As", + "localId" : "2735", + "asType" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Null", + "localId" : "2733", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } + } ] + } + } ] + } + } +} + +/* After +library TestSnippet version '1' +using Simple version '1.0.0' +context Patient +define SameYear: DateTime(2000, 12, 15, 13, 30, 25, 200, +1.0) after year of DateTime(2000, 11, 23, 8, 14, 47, 500, +1.0) +define YearAfter: DateTime(2000, 12, 15, 13, 30, 25, 200, +1.0) after year of DateTime(1999, 11, 23, 8, 14, 47, 500, +1.0) +define YearBefore: DateTime(2000, 12, 15, 13, 30, 25, 200, +1.0) after year of DateTime(2001, 11, 23, 8, 14, 47, 500, +1.0) +define SameMonth: DateTime(2000, 3, 25, 13, 30, 25, 200, +1.0) after month of DateTime(2000, 3, 23, 8, 14, 47, 500, +1.0) +define MonthAfter: DateTime(2000, 3, 25, 13, 30, 25, 200, +1.0) after month of DateTime(2000, 2, 23, 8, 14, 47, 500, +1.0) +define MonthBefore: DateTime(2000, 3, 25, 13, 30, 25, 200, +1.0) after month of DateTime(2000, 4, 23, 8, 14, 47, 500, +1.0) +define SameDay: DateTime(2000, 3, 15, 13, 30, 25, 200, +1.0) after day of DateTime(2000, 3, 15, 8, 14, 47, 500, +1.0) +define DayAfter: DateTime(2000, 3, 15, 13, 30, 25, 200, +1.0) after day of DateTime(2000, 3, 14, 8, 14, 47, 500, +1.0) +define DayBefore: DateTime(2000, 3, 15, 13, 30, 25, 200, +1.0) after day of DateTime(2000, 3, 16, 8, 14, 47, 500, +1.0) +define SameHour: DateTime(2000, 3, 15, 13, 30, 25, 200, +1.0) after hour of DateTime(2000, 3, 15, 13, 14, 47, 500, +1.0) +define HourAfter: DateTime(2000, 3, 15, 13, 30, 25, 200, +1.0) after hour of DateTime(2000, 3, 15, 12, 14, 47, 500, +1.0) +define HourBefore: DateTime(2000, 3, 15, 13, 30, 25, 200, +1.0) after hour of DateTime(2000, 3, 15, 14, 14, 47, 500, +1.0) +define SameMinute: DateTime(2000, 3, 15, 13, 30, 55, 200, +1.0) after minute of DateTime(2000, 3, 15, 13, 30, 47, 500, +1.0) +define MinuteAfter: DateTime(2000, 3, 15, 13, 30, 55, 200, +1.0) after minute of DateTime(2000, 3, 15, 13, 29, 47, 500, +1.0) +define MinuteBefore: DateTime(2000, 3, 15, 13, 30, 55, 200, +1.0) after minute of DateTime(2000, 3, 15, 13, 31, 47, 500, +1.0) +define SameSecond: DateTime(2000, 3, 15, 13, 30, 25, 700, +1.0) after second of DateTime(2000, 3, 15, 13, 30, 25, 500, +1.0) +define SecondAfter: DateTime(2000, 3, 15, 13, 30, 25, 700, +1.0) after second of DateTime(2000, 3, 15, 13, 30, 24, 500, +1.0) +define SecondBefore: DateTime(2000, 3, 15, 13, 30, 25, 700, +1.0) after second of DateTime(2000, 3, 15, 13, 30, 26, 500, +1.0) +define SameMillisecond: DateTime(2000, 3, 15, 13, 30, 25, 200, +1.0) after millisecond of DateTime(2000, 3, 15, 13, 30, 25, 200, +1.0) +define MillisecondAfter: DateTime(2000, 3, 15, 13, 30, 25, 200, +1.0) after millisecond of DateTime(2000, 3, 15, 13, 30, 25, 199, +1.0) +define MillisecondBefore: DateTime(2000, 3, 15, 13, 30, 25, 200, +1.0) after millisecond of DateTime(2000, 3, 15, 13, 30, 25, 201, +1.0) +define Same: DateTime(2000, 3, 15, 13, 30, 25, 200, +1.0) after DateTime(2000, 3, 15, 13, 30, 25, 200, +1.0) +define After: DateTime(2000, 3, 15, 13, 30, 25, 200, +1.0) after DateTime(2000, 3, 15, 13, 30, 25, 199, +1.0) +define Before: DateTime(2000, 3, 15, 13, 30, 25, 200, +1.0) after DateTime(2000, 3, 15, 13, 30, 25, 201, +1.0) +define ImpreciseDay: DateTime(2000, 3, 15, 13, 30, 25, 200) after day of DateTime(2000, 3) +define ImpreciseDayMonthAfter: DateTime(2000, 3, 15, 13, 30, 25, 200) after day of DateTime(2000, 2) +define ImpreciseDayMonthBefore: DateTime(2000, 3, 15, 13, 30, 25, 200) after day of DateTime(2000, 4) +define SameHourNormalizeZones: DateTime(2000, 3, 15, 13, 30, 25, 200, +1.0) after hour of DateTime(2000, 3, 15, 7, 30, 25, 200, -5.0) +define HourAfterNormalizeZones: DateTime(2000, 3, 15, 13, 30, 25, 200, +1.0) after hour of DateTime(2000, 3, 15, 6, 30, 25, 200, -5.0) +define HourBeforeNormalizeZones: DateTime(2000, 3, 15, 13, 30, 25, 200, +1.0) after hour of DateTime(2000, 3, 15, 8, 30, 25, 200, -5.0) +define NullLeft: null after DateTime(2000, 3, 15, 13, 30, 25, 200, +1.0) +define NullRight: DateTime(2000, 3, 15, 13, 30, 25, 200, +1.0) after null +define NullBoth: (null as DateTime) after null +*/ + +module.exports['After'] = { + "library" : { + "localId" : "0", + "annotation" : [ { + "type" : "CqlToElmInfo", + "translatorVersion" : "4.2.0", + "translatorOptions" : "EnableDateRangeOptimization,EnableAnnotations,EnableResultTypes", + "signatureLevel" : "All" + }, { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "2027", + "s" : [ { + "value" : [ "", "library TestSnippet version '1'" ] + } ] + } + } ], + "identifier" : { + "id" : "TestSnippet", + "version" : "1" + }, + "schemaIdentifier" : { + "id" : "urn:hl7-org:elm", + "version" : "r1" + }, + "usings" : { + "def" : [ { + "localId" : "1", + "localIdentifier" : "System", + "uri" : "urn:hl7-org:elm-types:r1", + "annotation" : [ ] + }, { + "localId" : "206", + "localIdentifier" : "Simple", + "uri" : "https://github.com/cqframework/cql-execution/simple", + "version" : "1.0.0", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "206", + "s" : [ { + "value" : [ "", "using " ] + }, { + "s" : [ { + "value" : [ "Simple" ] + } ] + }, { + "value" : [ " version '1.0.0'" ] + } ] + } + } ] + } ] + }, + "contexts" : { + "def" : [ { + "localId" : "211", + "name" : "Patient", + "annotation" : [ ] + } ] + }, + "statements" : { + "def" : [ { + "localId" : "209", + "name" : "Patient", + "context" : "Patient", + "annotation" : [ ], + "expression" : { + "type" : "SingletonFrom", + "localId" : "210", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Retrieve", + "localId" : "208", + "dataType" : "{https://github.com/cqframework/cql-execution/simple}Patient", + "annotation" : [ ], + "include" : [ ], + "codeFilter" : [ ], + "dateFilter" : [ ], + "otherFilter" : [ ] + } + } + }, { + "localId" : "214", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "SameYear", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "214", + "s" : [ { + "value" : [ "", "define ", "SameYear", ": " ] + }, { + "r" : "269", + "s" : [ { + "r" : "233", + "s" : [ { + "r" : "215", + "value" : [ "DateTime", "(", "2000", ", ", "12", ", ", "15", ", ", "13", ", ", "30", ", ", "25", ", ", "200", ", " ] + }, { + "r" : "222", + "s" : [ { + "r" : "222", + "value" : [ "+", "1.0" ] + } ] + }, { + "value" : [ ")" ] + } ] + }, { + "r" : "269", + "value" : [ " ", "after year of", " " ] + }, { + "r" : "260", + "s" : [ { + "r" : "242", + "value" : [ "DateTime", "(", "2000", ", ", "11", ", ", "23", ", ", "8", ", ", "14", ", ", "47", ", ", "500", ", " ] + }, { + "r" : "249", + "s" : [ { + "r" : "249", + "value" : [ "+", "1.0" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "After", + "localId" : "269", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "precision" : "Year", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "270", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "271", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "DateTime", + "localId" : "233", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "234", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "235", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "236", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "237", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "238", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "239", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "240", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "241", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "215", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "216", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "12", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "217", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "15", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "218", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "13", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "219", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "30", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "220", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "25", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "221", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "200", + "annotation" : [ ] + }, + "timezoneOffset" : { + "type" : "Literal", + "localId" : "222", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "1.0", + "annotation" : [ ] + } + }, { + "type" : "DateTime", + "localId" : "260", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "261", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "262", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "263", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "264", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "265", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "266", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "267", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "268", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "242", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "243", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "11", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "244", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "23", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "245", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "8", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "246", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "14", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "247", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "47", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "248", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "500", + "annotation" : [ ] + }, + "timezoneOffset" : { + "type" : "Literal", + "localId" : "249", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "1.0", + "annotation" : [ ] + } + } ] + } + }, { + "localId" : "274", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "YearAfter", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "274", + "s" : [ { + "value" : [ "", "define ", "YearAfter", ": " ] + }, { + "r" : "329", + "s" : [ { + "r" : "293", + "s" : [ { + "r" : "275", + "value" : [ "DateTime", "(", "2000", ", ", "12", ", ", "15", ", ", "13", ", ", "30", ", ", "25", ", ", "200", ", " ] + }, { + "r" : "282", + "s" : [ { + "r" : "282", + "value" : [ "+", "1.0" ] + } ] + }, { + "value" : [ ")" ] + } ] + }, { + "r" : "329", + "value" : [ " ", "after year of", " " ] + }, { + "r" : "320", + "s" : [ { + "r" : "302", + "value" : [ "DateTime", "(", "1999", ", ", "11", ", ", "23", ", ", "8", ", ", "14", ", ", "47", ", ", "500", ", " ] + }, { + "r" : "309", + "s" : [ { + "r" : "309", + "value" : [ "+", "1.0" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "After", + "localId" : "329", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "precision" : "Year", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "330", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "331", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "DateTime", + "localId" : "293", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "294", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "295", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "296", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "297", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "298", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "299", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "300", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "301", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "275", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "276", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "12", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "277", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "15", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "278", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "13", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "279", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "30", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "280", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "25", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "281", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "200", + "annotation" : [ ] + }, + "timezoneOffset" : { + "type" : "Literal", + "localId" : "282", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "1.0", + "annotation" : [ ] + } + }, { + "type" : "DateTime", + "localId" : "320", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "321", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "322", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "323", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "324", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "325", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "326", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "327", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "328", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "302", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1999", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "303", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "11", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "304", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "23", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "305", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "8", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "306", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "14", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "307", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "47", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "308", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "500", + "annotation" : [ ] + }, + "timezoneOffset" : { + "type" : "Literal", + "localId" : "309", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "1.0", + "annotation" : [ ] + } + } ] + } + }, { + "localId" : "334", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "YearBefore", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "334", + "s" : [ { + "value" : [ "", "define ", "YearBefore", ": " ] + }, { + "r" : "389", + "s" : [ { + "r" : "353", + "s" : [ { + "r" : "335", + "value" : [ "DateTime", "(", "2000", ", ", "12", ", ", "15", ", ", "13", ", ", "30", ", ", "25", ", ", "200", ", " ] + }, { + "r" : "342", + "s" : [ { + "r" : "342", + "value" : [ "+", "1.0" ] + } ] + }, { + "value" : [ ")" ] + } ] + }, { + "r" : "389", + "value" : [ " ", "after year of", " " ] + }, { + "r" : "380", + "s" : [ { + "r" : "362", + "value" : [ "DateTime", "(", "2001", ", ", "11", ", ", "23", ", ", "8", ", ", "14", ", ", "47", ", ", "500", ", " ] + }, { + "r" : "369", + "s" : [ { + "r" : "369", + "value" : [ "+", "1.0" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "After", + "localId" : "389", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "precision" : "Year", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "390", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "391", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "DateTime", + "localId" : "353", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "354", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "355", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "356", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "357", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "358", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "359", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "360", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "361", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "335", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "336", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "12", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "337", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "15", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "338", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "13", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "339", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "30", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "340", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "25", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "341", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "200", + "annotation" : [ ] + }, + "timezoneOffset" : { + "type" : "Literal", + "localId" : "342", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "1.0", + "annotation" : [ ] + } + }, { + "type" : "DateTime", + "localId" : "380", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "381", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "382", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "383", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "384", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "385", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "386", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "387", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "388", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "362", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2001", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "363", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "11", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "364", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "23", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "365", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "8", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "366", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "14", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "367", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "47", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "368", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "500", + "annotation" : [ ] + }, + "timezoneOffset" : { + "type" : "Literal", + "localId" : "369", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "1.0", + "annotation" : [ ] + } + } ] + } + }, { + "localId" : "394", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "SameMonth", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "394", + "s" : [ { + "value" : [ "", "define ", "SameMonth", ": " ] + }, { + "r" : "449", + "s" : [ { + "r" : "413", + "s" : [ { + "r" : "395", + "value" : [ "DateTime", "(", "2000", ", ", "3", ", ", "25", ", ", "13", ", ", "30", ", ", "25", ", ", "200", ", " ] + }, { + "r" : "402", + "s" : [ { + "r" : "402", + "value" : [ "+", "1.0" ] + } ] + }, { + "value" : [ ")" ] + } ] + }, { + "r" : "449", + "value" : [ " ", "after month of", " " ] + }, { + "r" : "440", + "s" : [ { + "r" : "422", + "value" : [ "DateTime", "(", "2000", ", ", "3", ", ", "23", ", ", "8", ", ", "14", ", ", "47", ", ", "500", ", " ] + }, { + "r" : "429", + "s" : [ { + "r" : "429", + "value" : [ "+", "1.0" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "After", + "localId" : "449", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "precision" : "Month", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "450", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "451", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "DateTime", + "localId" : "413", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "414", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "415", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "416", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "417", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "418", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "419", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "420", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "421", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "395", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "396", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "397", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "25", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "398", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "13", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "399", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "30", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "400", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "25", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "401", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "200", + "annotation" : [ ] + }, + "timezoneOffset" : { + "type" : "Literal", + "localId" : "402", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "1.0", + "annotation" : [ ] + } + }, { + "type" : "DateTime", + "localId" : "440", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "441", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "442", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "443", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "444", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "445", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "446", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "447", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "448", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "422", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "423", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "424", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "23", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "425", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "8", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "426", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "14", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "427", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "47", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "428", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "500", + "annotation" : [ ] + }, + "timezoneOffset" : { + "type" : "Literal", + "localId" : "429", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "1.0", + "annotation" : [ ] + } + } ] + } + }, { + "localId" : "454", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "MonthAfter", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "454", + "s" : [ { + "value" : [ "", "define ", "MonthAfter", ": " ] + }, { + "r" : "509", + "s" : [ { + "r" : "473", + "s" : [ { + "r" : "455", + "value" : [ "DateTime", "(", "2000", ", ", "3", ", ", "25", ", ", "13", ", ", "30", ", ", "25", ", ", "200", ", " ] + }, { + "r" : "462", + "s" : [ { + "r" : "462", + "value" : [ "+", "1.0" ] + } ] + }, { + "value" : [ ")" ] + } ] + }, { + "r" : "509", + "value" : [ " ", "after month of", " " ] + }, { + "r" : "500", + "s" : [ { + "r" : "482", + "value" : [ "DateTime", "(", "2000", ", ", "2", ", ", "23", ", ", "8", ", ", "14", ", ", "47", ", ", "500", ", " ] + }, { + "r" : "489", + "s" : [ { + "r" : "489", + "value" : [ "+", "1.0" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "After", + "localId" : "509", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "precision" : "Month", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "510", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "511", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "DateTime", + "localId" : "473", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "474", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "475", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "476", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "477", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "478", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "479", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "480", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "481", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "455", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "456", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "457", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "25", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "458", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "13", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "459", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "30", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "460", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "25", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "461", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "200", + "annotation" : [ ] + }, + "timezoneOffset" : { + "type" : "Literal", + "localId" : "462", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "1.0", + "annotation" : [ ] + } + }, { + "type" : "DateTime", + "localId" : "500", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "501", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "502", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "503", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "504", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "505", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "506", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "507", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "508", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "482", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "483", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "484", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "23", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "485", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "8", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "486", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "14", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "487", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "47", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "488", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "500", + "annotation" : [ ] + }, + "timezoneOffset" : { + "type" : "Literal", + "localId" : "489", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "1.0", + "annotation" : [ ] + } + } ] + } + }, { + "localId" : "514", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "MonthBefore", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "514", + "s" : [ { + "value" : [ "", "define ", "MonthBefore", ": " ] + }, { + "r" : "569", + "s" : [ { + "r" : "533", + "s" : [ { + "r" : "515", + "value" : [ "DateTime", "(", "2000", ", ", "3", ", ", "25", ", ", "13", ", ", "30", ", ", "25", ", ", "200", ", " ] + }, { + "r" : "522", + "s" : [ { + "r" : "522", + "value" : [ "+", "1.0" ] + } ] + }, { + "value" : [ ")" ] + } ] + }, { + "r" : "569", + "value" : [ " ", "after month of", " " ] + }, { + "r" : "560", + "s" : [ { + "r" : "542", + "value" : [ "DateTime", "(", "2000", ", ", "4", ", ", "23", ", ", "8", ", ", "14", ", ", "47", ", ", "500", ", " ] + }, { + "r" : "549", + "s" : [ { + "r" : "549", + "value" : [ "+", "1.0" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "After", + "localId" : "569", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "precision" : "Month", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "570", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "571", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "DateTime", + "localId" : "533", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "534", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "535", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "536", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "537", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "538", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "539", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "540", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "541", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "515", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "516", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "517", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "25", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "518", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "13", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "519", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "30", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "520", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "25", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "521", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "200", + "annotation" : [ ] + }, + "timezoneOffset" : { + "type" : "Literal", + "localId" : "522", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "1.0", + "annotation" : [ ] + } + }, { + "type" : "DateTime", + "localId" : "560", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "561", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "562", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "563", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "564", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "565", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "566", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "567", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "568", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "542", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "543", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "4", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "544", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "23", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "545", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "8", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "546", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "14", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "547", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "47", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "548", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "500", + "annotation" : [ ] + }, + "timezoneOffset" : { + "type" : "Literal", + "localId" : "549", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "1.0", + "annotation" : [ ] + } + } ] + } + }, { + "localId" : "574", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "SameDay", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "574", + "s" : [ { + "value" : [ "", "define ", "SameDay", ": " ] + }, { + "r" : "629", + "s" : [ { + "r" : "593", + "s" : [ { + "r" : "575", + "value" : [ "DateTime", "(", "2000", ", ", "3", ", ", "15", ", ", "13", ", ", "30", ", ", "25", ", ", "200", ", " ] + }, { + "r" : "582", + "s" : [ { + "r" : "582", + "value" : [ "+", "1.0" ] + } ] + }, { + "value" : [ ")" ] + } ] + }, { + "r" : "629", + "value" : [ " ", "after day of", " " ] + }, { + "r" : "620", + "s" : [ { + "r" : "602", + "value" : [ "DateTime", "(", "2000", ", ", "3", ", ", "15", ", ", "8", ", ", "14", ", ", "47", ", ", "500", ", " ] + }, { + "r" : "609", + "s" : [ { + "r" : "609", + "value" : [ "+", "1.0" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "After", + "localId" : "629", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "precision" : "Day", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "630", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "631", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "DateTime", + "localId" : "593", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "594", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "595", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "596", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "597", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "598", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "599", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "600", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "601", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "575", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "576", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "577", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "15", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "578", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "13", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "579", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "30", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "580", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "25", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "581", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "200", + "annotation" : [ ] + }, + "timezoneOffset" : { + "type" : "Literal", + "localId" : "582", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "1.0", + "annotation" : [ ] + } + }, { + "type" : "DateTime", + "localId" : "620", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "621", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "622", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "623", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "624", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "625", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "626", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "627", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "628", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "602", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "603", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "604", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "15", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "605", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "8", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "606", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "14", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "607", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "47", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "608", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "500", + "annotation" : [ ] + }, + "timezoneOffset" : { + "type" : "Literal", + "localId" : "609", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "1.0", + "annotation" : [ ] + } + } ] + } + }, { + "localId" : "634", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "DayAfter", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "634", + "s" : [ { + "value" : [ "", "define ", "DayAfter", ": " ] + }, { + "r" : "689", + "s" : [ { + "r" : "653", + "s" : [ { + "r" : "635", + "value" : [ "DateTime", "(", "2000", ", ", "3", ", ", "15", ", ", "13", ", ", "30", ", ", "25", ", ", "200", ", " ] + }, { + "r" : "642", + "s" : [ { + "r" : "642", + "value" : [ "+", "1.0" ] + } ] + }, { + "value" : [ ")" ] + } ] + }, { + "r" : "689", + "value" : [ " ", "after day of", " " ] + }, { + "r" : "680", + "s" : [ { + "r" : "662", + "value" : [ "DateTime", "(", "2000", ", ", "3", ", ", "14", ", ", "8", ", ", "14", ", ", "47", ", ", "500", ", " ] + }, { + "r" : "669", + "s" : [ { + "r" : "669", + "value" : [ "+", "1.0" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "After", + "localId" : "689", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "precision" : "Day", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "690", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "691", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "DateTime", + "localId" : "653", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "654", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "655", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "656", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "657", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "658", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "659", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "660", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "661", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "635", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "636", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "637", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "15", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "638", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "13", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "639", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "30", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "640", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "25", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "641", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "200", + "annotation" : [ ] + }, + "timezoneOffset" : { + "type" : "Literal", + "localId" : "642", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "1.0", + "annotation" : [ ] + } + }, { + "type" : "DateTime", + "localId" : "680", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "681", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "682", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "683", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "684", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "685", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "686", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "687", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "688", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "662", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "663", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "664", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "14", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "665", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "8", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "666", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "14", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "667", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "47", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "668", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "500", + "annotation" : [ ] + }, + "timezoneOffset" : { + "type" : "Literal", + "localId" : "669", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "1.0", + "annotation" : [ ] + } + } ] + } + }, { + "localId" : "694", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "DayBefore", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "694", + "s" : [ { + "value" : [ "", "define ", "DayBefore", ": " ] + }, { + "r" : "749", + "s" : [ { + "r" : "713", + "s" : [ { + "r" : "695", + "value" : [ "DateTime", "(", "2000", ", ", "3", ", ", "15", ", ", "13", ", ", "30", ", ", "25", ", ", "200", ", " ] + }, { + "r" : "702", + "s" : [ { + "r" : "702", + "value" : [ "+", "1.0" ] + } ] + }, { + "value" : [ ")" ] + } ] + }, { + "r" : "749", + "value" : [ " ", "after day of", " " ] + }, { + "r" : "740", + "s" : [ { + "r" : "722", + "value" : [ "DateTime", "(", "2000", ", ", "3", ", ", "16", ", ", "8", ", ", "14", ", ", "47", ", ", "500", ", " ] + }, { + "r" : "729", + "s" : [ { + "r" : "729", + "value" : [ "+", "1.0" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "After", + "localId" : "749", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "precision" : "Day", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "750", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "751", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "DateTime", + "localId" : "713", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "714", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "715", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "716", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "717", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "718", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "719", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "720", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "721", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "695", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "696", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "697", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "15", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "698", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "13", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "699", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "30", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "700", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "25", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "701", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "200", + "annotation" : [ ] + }, + "timezoneOffset" : { + "type" : "Literal", + "localId" : "702", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "1.0", + "annotation" : [ ] + } + }, { + "type" : "DateTime", + "localId" : "740", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "741", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "742", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "743", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "744", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "745", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "746", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "747", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "748", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "722", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "723", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "724", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "16", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "725", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "8", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "726", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "14", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "727", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "47", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "728", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "500", + "annotation" : [ ] + }, + "timezoneOffset" : { + "type" : "Literal", + "localId" : "729", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "1.0", + "annotation" : [ ] + } + } ] + } + }, { + "localId" : "754", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "SameHour", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "754", + "s" : [ { + "value" : [ "", "define ", "SameHour", ": " ] + }, { + "r" : "809", + "s" : [ { + "r" : "773", + "s" : [ { + "r" : "755", + "value" : [ "DateTime", "(", "2000", ", ", "3", ", ", "15", ", ", "13", ", ", "30", ", ", "25", ", ", "200", ", " ] + }, { + "r" : "762", + "s" : [ { + "r" : "762", + "value" : [ "+", "1.0" ] + } ] + }, { + "value" : [ ")" ] + } ] + }, { + "r" : "809", + "value" : [ " ", "after hour of", " " ] + }, { + "r" : "800", + "s" : [ { + "r" : "782", + "value" : [ "DateTime", "(", "2000", ", ", "3", ", ", "15", ", ", "13", ", ", "14", ", ", "47", ", ", "500", ", " ] + }, { + "r" : "789", + "s" : [ { + "r" : "789", + "value" : [ "+", "1.0" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "After", + "localId" : "809", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "precision" : "Hour", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "810", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "811", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "DateTime", + "localId" : "773", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "774", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "775", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "776", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "777", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "778", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "779", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "780", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "781", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "755", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "756", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "757", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "15", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "758", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "13", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "759", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "30", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "760", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "25", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "761", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "200", + "annotation" : [ ] + }, + "timezoneOffset" : { + "type" : "Literal", + "localId" : "762", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "1.0", + "annotation" : [ ] + } + }, { + "type" : "DateTime", + "localId" : "800", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "801", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "802", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "803", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "804", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "805", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "806", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "807", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "808", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "782", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "783", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "784", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "15", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "785", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "13", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "786", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "14", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "787", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "47", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "788", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "500", + "annotation" : [ ] + }, + "timezoneOffset" : { + "type" : "Literal", + "localId" : "789", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "1.0", + "annotation" : [ ] + } + } ] + } + }, { + "localId" : "814", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "HourAfter", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "814", + "s" : [ { + "value" : [ "", "define ", "HourAfter", ": " ] + }, { + "r" : "869", + "s" : [ { + "r" : "833", + "s" : [ { + "r" : "815", + "value" : [ "DateTime", "(", "2000", ", ", "3", ", ", "15", ", ", "13", ", ", "30", ", ", "25", ", ", "200", ", " ] + }, { + "r" : "822", + "s" : [ { + "r" : "822", + "value" : [ "+", "1.0" ] + } ] + }, { + "value" : [ ")" ] + } ] + }, { + "r" : "869", + "value" : [ " ", "after hour of", " " ] + }, { + "r" : "860", + "s" : [ { + "r" : "842", + "value" : [ "DateTime", "(", "2000", ", ", "3", ", ", "15", ", ", "12", ", ", "14", ", ", "47", ", ", "500", ", " ] + }, { + "r" : "849", + "s" : [ { + "r" : "849", + "value" : [ "+", "1.0" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "After", + "localId" : "869", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "precision" : "Hour", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "870", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "871", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "DateTime", + "localId" : "833", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "834", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "835", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "836", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "837", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "838", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "839", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "840", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "841", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "815", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "816", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "817", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "15", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "818", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "13", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "819", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "30", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "820", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "25", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "821", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "200", + "annotation" : [ ] + }, + "timezoneOffset" : { + "type" : "Literal", + "localId" : "822", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "1.0", + "annotation" : [ ] + } + }, { + "type" : "DateTime", + "localId" : "860", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "861", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "862", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "863", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "864", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "865", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "866", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "867", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "868", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "842", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "843", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "844", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "15", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "845", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "12", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "846", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "14", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "847", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "47", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "848", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "500", + "annotation" : [ ] + }, + "timezoneOffset" : { + "type" : "Literal", + "localId" : "849", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "1.0", + "annotation" : [ ] + } + } ] + } + }, { + "localId" : "874", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "HourBefore", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "874", + "s" : [ { + "value" : [ "", "define ", "HourBefore", ": " ] + }, { + "r" : "929", + "s" : [ { + "r" : "893", + "s" : [ { + "r" : "875", + "value" : [ "DateTime", "(", "2000", ", ", "3", ", ", "15", ", ", "13", ", ", "30", ", ", "25", ", ", "200", ", " ] + }, { + "r" : "882", + "s" : [ { + "r" : "882", + "value" : [ "+", "1.0" ] + } ] + }, { + "value" : [ ")" ] + } ] + }, { + "r" : "929", + "value" : [ " ", "after hour of", " " ] + }, { + "r" : "920", + "s" : [ { + "r" : "902", + "value" : [ "DateTime", "(", "2000", ", ", "3", ", ", "15", ", ", "14", ", ", "14", ", ", "47", ", ", "500", ", " ] + }, { + "r" : "909", + "s" : [ { + "r" : "909", + "value" : [ "+", "1.0" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "After", + "localId" : "929", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "precision" : "Hour", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "930", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "931", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "DateTime", + "localId" : "893", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "894", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "895", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "896", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "897", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "898", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "899", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "900", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "901", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "875", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "876", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "877", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "15", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "878", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "13", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "879", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "30", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "880", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "25", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "881", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "200", + "annotation" : [ ] + }, + "timezoneOffset" : { + "type" : "Literal", + "localId" : "882", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "1.0", + "annotation" : [ ] + } + }, { + "type" : "DateTime", + "localId" : "920", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "921", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "922", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "923", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "924", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "925", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "926", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "927", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "928", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "902", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "903", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "904", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "15", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "905", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "14", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "906", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "14", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "907", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "47", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "908", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "500", + "annotation" : [ ] + }, + "timezoneOffset" : { + "type" : "Literal", + "localId" : "909", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "1.0", + "annotation" : [ ] + } + } ] + } + }, { + "localId" : "934", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "SameMinute", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "934", + "s" : [ { + "value" : [ "", "define ", "SameMinute", ": " ] + }, { + "r" : "989", + "s" : [ { + "r" : "953", + "s" : [ { + "r" : "935", + "value" : [ "DateTime", "(", "2000", ", ", "3", ", ", "15", ", ", "13", ", ", "30", ", ", "55", ", ", "200", ", " ] + }, { + "r" : "942", + "s" : [ { + "r" : "942", + "value" : [ "+", "1.0" ] + } ] + }, { + "value" : [ ")" ] + } ] + }, { + "r" : "989", + "value" : [ " ", "after minute of", " " ] + }, { + "r" : "980", + "s" : [ { + "r" : "962", + "value" : [ "DateTime", "(", "2000", ", ", "3", ", ", "15", ", ", "13", ", ", "30", ", ", "47", ", ", "500", ", " ] + }, { + "r" : "969", + "s" : [ { + "r" : "969", + "value" : [ "+", "1.0" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "After", + "localId" : "989", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "precision" : "Minute", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "990", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "991", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "DateTime", + "localId" : "953", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "954", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "955", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "956", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "957", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "958", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "959", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "960", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "961", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "935", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "936", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "937", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "15", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "938", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "13", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "939", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "30", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "940", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "55", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "941", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "200", + "annotation" : [ ] + }, + "timezoneOffset" : { + "type" : "Literal", + "localId" : "942", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "1.0", + "annotation" : [ ] + } + }, { + "type" : "DateTime", + "localId" : "980", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "981", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "982", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "983", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "984", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "985", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "986", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "987", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "988", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "962", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "963", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "964", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "15", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "965", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "13", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "966", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "30", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "967", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "47", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "968", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "500", + "annotation" : [ ] + }, + "timezoneOffset" : { + "type" : "Literal", + "localId" : "969", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "1.0", + "annotation" : [ ] + } + } ] + } + }, { + "localId" : "994", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "MinuteAfter", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "994", + "s" : [ { + "value" : [ "", "define ", "MinuteAfter", ": " ] + }, { + "r" : "1049", + "s" : [ { + "r" : "1013", + "s" : [ { + "r" : "995", + "value" : [ "DateTime", "(", "2000", ", ", "3", ", ", "15", ", ", "13", ", ", "30", ", ", "55", ", ", "200", ", " ] + }, { + "r" : "1002", + "s" : [ { + "r" : "1002", + "value" : [ "+", "1.0" ] + } ] + }, { + "value" : [ ")" ] + } ] + }, { + "r" : "1049", + "value" : [ " ", "after minute of", " " ] + }, { + "r" : "1040", + "s" : [ { + "r" : "1022", + "value" : [ "DateTime", "(", "2000", ", ", "3", ", ", "15", ", ", "13", ", ", "29", ", ", "47", ", ", "500", ", " ] + }, { + "r" : "1029", + "s" : [ { + "r" : "1029", + "value" : [ "+", "1.0" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "After", + "localId" : "1049", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "precision" : "Minute", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1050", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1051", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "DateTime", + "localId" : "1013", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1014", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1015", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1016", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1017", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1018", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1019", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1020", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1021", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "995", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "996", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "997", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "15", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "998", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "13", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "999", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "30", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "1000", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "55", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "1001", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "200", + "annotation" : [ ] + }, + "timezoneOffset" : { + "type" : "Literal", + "localId" : "1002", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "1.0", + "annotation" : [ ] + } + }, { + "type" : "DateTime", + "localId" : "1040", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1041", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1042", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1043", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1044", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1045", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1046", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1047", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1048", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1022", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1023", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "1024", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "15", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "1025", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "13", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "1026", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "29", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "1027", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "47", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "1028", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "500", + "annotation" : [ ] + }, + "timezoneOffset" : { + "type" : "Literal", + "localId" : "1029", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "1.0", + "annotation" : [ ] + } + } ] + } + }, { + "localId" : "1054", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "MinuteBefore", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "1054", + "s" : [ { + "value" : [ "", "define ", "MinuteBefore", ": " ] + }, { + "r" : "1109", + "s" : [ { + "r" : "1073", + "s" : [ { + "r" : "1055", + "value" : [ "DateTime", "(", "2000", ", ", "3", ", ", "15", ", ", "13", ", ", "30", ", ", "55", ", ", "200", ", " ] + }, { + "r" : "1062", + "s" : [ { + "r" : "1062", + "value" : [ "+", "1.0" ] + } ] + }, { + "value" : [ ")" ] + } ] + }, { + "r" : "1109", + "value" : [ " ", "after minute of", " " ] + }, { + "r" : "1100", + "s" : [ { + "r" : "1082", + "value" : [ "DateTime", "(", "2000", ", ", "3", ", ", "15", ", ", "13", ", ", "31", ", ", "47", ", ", "500", ", " ] + }, { + "r" : "1089", + "s" : [ { + "r" : "1089", + "value" : [ "+", "1.0" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "After", + "localId" : "1109", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "precision" : "Minute", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1110", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1111", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "DateTime", + "localId" : "1073", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1074", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1075", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1076", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1077", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1078", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1079", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1080", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1081", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1055", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1056", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "1057", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "15", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "1058", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "13", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "1059", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "30", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "1060", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "55", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "1061", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "200", + "annotation" : [ ] + }, + "timezoneOffset" : { + "type" : "Literal", + "localId" : "1062", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "1.0", + "annotation" : [ ] + } + }, { + "type" : "DateTime", + "localId" : "1100", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1101", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1102", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1103", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1104", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1105", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1106", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1107", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1108", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1082", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1083", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "1084", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "15", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "1085", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "13", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "1086", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "31", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "1087", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "47", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "1088", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "500", + "annotation" : [ ] + }, + "timezoneOffset" : { + "type" : "Literal", + "localId" : "1089", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "1.0", + "annotation" : [ ] + } + } ] + } + }, { + "localId" : "1114", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "SameSecond", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "1114", + "s" : [ { + "value" : [ "", "define ", "SameSecond", ": " ] + }, { + "r" : "1169", + "s" : [ { + "r" : "1133", + "s" : [ { + "r" : "1115", + "value" : [ "DateTime", "(", "2000", ", ", "3", ", ", "15", ", ", "13", ", ", "30", ", ", "25", ", ", "700", ", " ] + }, { + "r" : "1122", + "s" : [ { + "r" : "1122", + "value" : [ "+", "1.0" ] + } ] + }, { + "value" : [ ")" ] + } ] + }, { + "r" : "1169", + "value" : [ " ", "after second of", " " ] + }, { + "r" : "1160", + "s" : [ { + "r" : "1142", + "value" : [ "DateTime", "(", "2000", ", ", "3", ", ", "15", ", ", "13", ", ", "30", ", ", "25", ", ", "500", ", " ] + }, { + "r" : "1149", + "s" : [ { + "r" : "1149", + "value" : [ "+", "1.0" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "After", + "localId" : "1169", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "precision" : "Second", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1170", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1171", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "DateTime", + "localId" : "1133", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1134", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1135", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1136", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1137", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1138", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1139", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1140", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1141", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1115", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1116", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "1117", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "15", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "1118", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "13", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "1119", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "30", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "1120", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "25", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "1121", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "700", + "annotation" : [ ] + }, + "timezoneOffset" : { + "type" : "Literal", + "localId" : "1122", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "1.0", + "annotation" : [ ] + } + }, { + "type" : "DateTime", + "localId" : "1160", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1161", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1162", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1163", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1164", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1165", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1166", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1167", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1168", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1142", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1143", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "1144", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "15", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "1145", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "13", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "1146", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "30", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "1147", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "25", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "1148", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "500", + "annotation" : [ ] + }, + "timezoneOffset" : { + "type" : "Literal", + "localId" : "1149", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "1.0", + "annotation" : [ ] + } + } ] + } + }, { + "localId" : "1174", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "SecondAfter", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "1174", + "s" : [ { + "value" : [ "", "define ", "SecondAfter", ": " ] + }, { + "r" : "1229", + "s" : [ { + "r" : "1193", + "s" : [ { + "r" : "1175", + "value" : [ "DateTime", "(", "2000", ", ", "3", ", ", "15", ", ", "13", ", ", "30", ", ", "25", ", ", "700", ", " ] + }, { + "r" : "1182", + "s" : [ { + "r" : "1182", + "value" : [ "+", "1.0" ] + } ] + }, { + "value" : [ ")" ] + } ] + }, { + "r" : "1229", + "value" : [ " ", "after second of", " " ] + }, { + "r" : "1220", + "s" : [ { + "r" : "1202", + "value" : [ "DateTime", "(", "2000", ", ", "3", ", ", "15", ", ", "13", ", ", "30", ", ", "24", ", ", "500", ", " ] + }, { + "r" : "1209", + "s" : [ { + "r" : "1209", + "value" : [ "+", "1.0" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "After", + "localId" : "1229", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "precision" : "Second", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1230", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1231", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "DateTime", + "localId" : "1193", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1194", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1195", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1196", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1197", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1198", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1199", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1200", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1201", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1175", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1176", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "1177", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "15", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "1178", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "13", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "1179", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "30", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "1180", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "25", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "1181", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "700", + "annotation" : [ ] + }, + "timezoneOffset" : { + "type" : "Literal", + "localId" : "1182", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "1.0", + "annotation" : [ ] + } + }, { + "type" : "DateTime", + "localId" : "1220", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1221", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1222", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1223", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1224", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1225", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1226", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1227", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1228", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1202", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1203", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "1204", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "15", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "1205", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "13", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "1206", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "30", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "1207", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "24", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "1208", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "500", + "annotation" : [ ] + }, + "timezoneOffset" : { + "type" : "Literal", + "localId" : "1209", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "1.0", + "annotation" : [ ] + } + } ] + } + }, { + "localId" : "1234", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "SecondBefore", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "1234", + "s" : [ { + "value" : [ "", "define ", "SecondBefore", ": " ] + }, { + "r" : "1289", + "s" : [ { + "r" : "1253", + "s" : [ { + "r" : "1235", + "value" : [ "DateTime", "(", "2000", ", ", "3", ", ", "15", ", ", "13", ", ", "30", ", ", "25", ", ", "700", ", " ] + }, { + "r" : "1242", + "s" : [ { + "r" : "1242", + "value" : [ "+", "1.0" ] + } ] + }, { + "value" : [ ")" ] + } ] + }, { + "r" : "1289", + "value" : [ " ", "after second of", " " ] + }, { + "r" : "1280", + "s" : [ { + "r" : "1262", + "value" : [ "DateTime", "(", "2000", ", ", "3", ", ", "15", ", ", "13", ", ", "30", ", ", "26", ", ", "500", ", " ] + }, { + "r" : "1269", + "s" : [ { + "r" : "1269", + "value" : [ "+", "1.0" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "After", + "localId" : "1289", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "precision" : "Second", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1290", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1291", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "DateTime", + "localId" : "1253", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1254", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1255", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1256", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1257", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1258", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1259", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1260", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1261", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1235", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1236", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "1237", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "15", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "1238", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "13", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "1239", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "30", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "1240", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "25", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "1241", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "700", + "annotation" : [ ] + }, + "timezoneOffset" : { + "type" : "Literal", + "localId" : "1242", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "1.0", + "annotation" : [ ] + } + }, { + "type" : "DateTime", + "localId" : "1280", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1281", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1282", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1283", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1284", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1285", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1286", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1287", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1288", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1262", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1263", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "1264", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "15", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "1265", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "13", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "1266", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "30", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "1267", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "26", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "1268", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "500", + "annotation" : [ ] + }, + "timezoneOffset" : { + "type" : "Literal", + "localId" : "1269", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "1.0", + "annotation" : [ ] + } + } ] + } + }, { + "localId" : "1294", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "SameMillisecond", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "1294", + "s" : [ { + "value" : [ "", "define ", "SameMillisecond", ": " ] + }, { + "r" : "1349", + "s" : [ { + "r" : "1313", + "s" : [ { + "r" : "1295", + "value" : [ "DateTime", "(", "2000", ", ", "3", ", ", "15", ", ", "13", ", ", "30", ", ", "25", ", ", "200", ", " ] + }, { + "r" : "1302", + "s" : [ { + "r" : "1302", + "value" : [ "+", "1.0" ] + } ] + }, { + "value" : [ ")" ] + } ] + }, { + "r" : "1349", + "value" : [ " ", "after millisecond of", " " ] + }, { + "r" : "1340", + "s" : [ { + "r" : "1322", + "value" : [ "DateTime", "(", "2000", ", ", "3", ", ", "15", ", ", "13", ", ", "30", ", ", "25", ", ", "200", ", " ] + }, { + "r" : "1329", + "s" : [ { + "r" : "1329", + "value" : [ "+", "1.0" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "After", + "localId" : "1349", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "precision" : "Millisecond", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1350", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1351", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "DateTime", + "localId" : "1313", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1314", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1315", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1316", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1317", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1318", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1319", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1320", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1321", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1295", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1296", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "1297", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "15", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "1298", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "13", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "1299", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "30", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "1300", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "25", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "1301", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "200", + "annotation" : [ ] + }, + "timezoneOffset" : { + "type" : "Literal", + "localId" : "1302", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "1.0", + "annotation" : [ ] + } + }, { + "type" : "DateTime", + "localId" : "1340", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1341", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1342", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1343", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1344", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1345", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1346", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1347", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1348", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1322", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1323", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "1324", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "15", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "1325", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "13", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "1326", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "30", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "1327", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "25", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "1328", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "200", + "annotation" : [ ] + }, + "timezoneOffset" : { + "type" : "Literal", + "localId" : "1329", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "1.0", + "annotation" : [ ] + } + } ] + } + }, { + "localId" : "1354", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "MillisecondAfter", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "1354", + "s" : [ { + "value" : [ "", "define ", "MillisecondAfter", ": " ] + }, { + "r" : "1409", + "s" : [ { + "r" : "1373", + "s" : [ { + "r" : "1355", + "value" : [ "DateTime", "(", "2000", ", ", "3", ", ", "15", ", ", "13", ", ", "30", ", ", "25", ", ", "200", ", " ] + }, { + "r" : "1362", + "s" : [ { + "r" : "1362", + "value" : [ "+", "1.0" ] + } ] + }, { + "value" : [ ")" ] + } ] + }, { + "r" : "1409", + "value" : [ " ", "after millisecond of", " " ] + }, { + "r" : "1400", + "s" : [ { + "r" : "1382", + "value" : [ "DateTime", "(", "2000", ", ", "3", ", ", "15", ", ", "13", ", ", "30", ", ", "25", ", ", "199", ", " ] + }, { + "r" : "1389", + "s" : [ { + "r" : "1389", + "value" : [ "+", "1.0" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "After", + "localId" : "1409", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "precision" : "Millisecond", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1410", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1411", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "DateTime", + "localId" : "1373", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1374", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1375", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1376", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1377", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1378", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1379", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1380", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1381", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1355", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1356", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "1357", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "15", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "1358", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "13", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "1359", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "30", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "1360", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "25", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "1361", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "200", + "annotation" : [ ] + }, + "timezoneOffset" : { + "type" : "Literal", + "localId" : "1362", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "1.0", + "annotation" : [ ] + } + }, { + "type" : "DateTime", + "localId" : "1400", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1401", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1402", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1403", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1404", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1405", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1406", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1407", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1408", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1382", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1383", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "1384", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "15", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "1385", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "13", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "1386", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "30", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "1387", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "25", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "1388", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "199", + "annotation" : [ ] + }, + "timezoneOffset" : { + "type" : "Literal", + "localId" : "1389", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "1.0", + "annotation" : [ ] + } + } ] + } + }, { + "localId" : "1414", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "MillisecondBefore", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "1414", + "s" : [ { + "value" : [ "", "define ", "MillisecondBefore", ": " ] + }, { + "r" : "1469", + "s" : [ { + "r" : "1433", + "s" : [ { + "r" : "1415", + "value" : [ "DateTime", "(", "2000", ", ", "3", ", ", "15", ", ", "13", ", ", "30", ", ", "25", ", ", "200", ", " ] + }, { + "r" : "1422", + "s" : [ { + "r" : "1422", + "value" : [ "+", "1.0" ] + } ] + }, { + "value" : [ ")" ] + } ] + }, { + "r" : "1469", + "value" : [ " ", "after millisecond of", " " ] + }, { + "r" : "1460", + "s" : [ { + "r" : "1442", + "value" : [ "DateTime", "(", "2000", ", ", "3", ", ", "15", ", ", "13", ", ", "30", ", ", "25", ", ", "201", ", " ] + }, { + "r" : "1449", + "s" : [ { + "r" : "1449", + "value" : [ "+", "1.0" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "After", + "localId" : "1469", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "precision" : "Millisecond", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1470", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1471", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "DateTime", + "localId" : "1433", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1434", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1435", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1436", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1437", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1438", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1439", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1440", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1441", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1415", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1416", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "1417", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "15", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "1418", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "13", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "1419", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "30", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "1420", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "25", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "1421", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "200", + "annotation" : [ ] + }, + "timezoneOffset" : { + "type" : "Literal", + "localId" : "1422", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "1.0", + "annotation" : [ ] + } + }, { + "type" : "DateTime", + "localId" : "1460", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1461", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1462", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1463", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1464", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1465", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1466", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1467", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1468", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1442", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1443", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "1444", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "15", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "1445", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "13", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "1446", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "30", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "1447", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "25", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "1448", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "201", + "annotation" : [ ] + }, + "timezoneOffset" : { + "type" : "Literal", + "localId" : "1449", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "1.0", + "annotation" : [ ] + } + } ] + } + }, { + "localId" : "1474", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "Same", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "1474", + "s" : [ { + "value" : [ "", "define ", "Same", ": " ] + }, { + "r" : "1529", + "s" : [ { + "r" : "1493", + "s" : [ { + "r" : "1475", + "value" : [ "DateTime", "(", "2000", ", ", "3", ", ", "15", ", ", "13", ", ", "30", ", ", "25", ", ", "200", ", " ] + }, { + "r" : "1482", + "s" : [ { + "r" : "1482", + "value" : [ "+", "1.0" ] + } ] + }, { + "value" : [ ")" ] + } ] + }, { + "r" : "1529", + "value" : [ " ", "after", " " ] + }, { + "r" : "1520", + "s" : [ { + "r" : "1502", + "value" : [ "DateTime", "(", "2000", ", ", "3", ", ", "15", ", ", "13", ", ", "30", ", ", "25", ", ", "200", ", " ] + }, { + "r" : "1509", + "s" : [ { + "r" : "1509", + "value" : [ "+", "1.0" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "After", + "localId" : "1529", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1530", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1531", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "DateTime", + "localId" : "1493", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1494", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1495", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1496", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1497", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1498", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1499", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1500", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1501", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1475", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1476", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "1477", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "15", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "1478", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "13", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "1479", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "30", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "1480", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "25", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "1481", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "200", + "annotation" : [ ] + }, + "timezoneOffset" : { + "type" : "Literal", + "localId" : "1482", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "1.0", + "annotation" : [ ] + } + }, { + "type" : "DateTime", + "localId" : "1520", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1521", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1522", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1523", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1524", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1525", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1526", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1527", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1528", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1502", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1503", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "1504", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "15", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "1505", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "13", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "1506", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "30", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "1507", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "25", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "1508", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "200", + "annotation" : [ ] + }, + "timezoneOffset" : { + "type" : "Literal", + "localId" : "1509", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "1.0", + "annotation" : [ ] + } + } ] + } + }, { + "localId" : "1534", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "After", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "1534", + "s" : [ { + "value" : [ "", "define ", "After", ": " ] + }, { + "r" : "1589", + "s" : [ { + "r" : "1553", + "s" : [ { + "r" : "1535", + "value" : [ "DateTime", "(", "2000", ", ", "3", ", ", "15", ", ", "13", ", ", "30", ", ", "25", ", ", "200", ", " ] + }, { + "r" : "1542", + "s" : [ { + "r" : "1542", + "value" : [ "+", "1.0" ] + } ] + }, { + "value" : [ ")" ] + } ] + }, { + "r" : "1589", + "value" : [ " ", "after", " " ] + }, { + "r" : "1580", + "s" : [ { + "r" : "1562", + "value" : [ "DateTime", "(", "2000", ", ", "3", ", ", "15", ", ", "13", ", ", "30", ", ", "25", ", ", "199", ", " ] + }, { + "r" : "1569", + "s" : [ { + "r" : "1569", + "value" : [ "+", "1.0" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "After", + "localId" : "1589", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1590", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1591", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "DateTime", + "localId" : "1553", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1554", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1555", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1556", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1557", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1558", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1559", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1560", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1561", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1535", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1536", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "1537", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "15", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "1538", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "13", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "1539", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "30", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "1540", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "25", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "1541", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "200", + "annotation" : [ ] + }, + "timezoneOffset" : { + "type" : "Literal", + "localId" : "1542", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "1.0", + "annotation" : [ ] + } + }, { + "type" : "DateTime", + "localId" : "1580", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1581", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1582", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1583", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1584", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1585", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1586", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1587", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1588", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1562", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1563", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "1564", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "15", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "1565", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "13", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "1566", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "30", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "1567", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "25", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "1568", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "199", + "annotation" : [ ] + }, + "timezoneOffset" : { + "type" : "Literal", + "localId" : "1569", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "1.0", + "annotation" : [ ] + } + } ] + } + }, { + "localId" : "1594", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "Before", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "1594", + "s" : [ { + "value" : [ "", "define ", "Before", ": " ] + }, { + "r" : "1649", + "s" : [ { + "r" : "1613", + "s" : [ { + "r" : "1595", + "value" : [ "DateTime", "(", "2000", ", ", "3", ", ", "15", ", ", "13", ", ", "30", ", ", "25", ", ", "200", ", " ] + }, { + "r" : "1602", + "s" : [ { + "r" : "1602", + "value" : [ "+", "1.0" ] + } ] + }, { + "value" : [ ")" ] + } ] + }, { + "r" : "1649", + "value" : [ " ", "after", " " ] + }, { + "r" : "1640", + "s" : [ { + "r" : "1622", + "value" : [ "DateTime", "(", "2000", ", ", "3", ", ", "15", ", ", "13", ", ", "30", ", ", "25", ", ", "201", ", " ] + }, { + "r" : "1629", + "s" : [ { + "r" : "1629", + "value" : [ "+", "1.0" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "After", + "localId" : "1649", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1650", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1651", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "DateTime", + "localId" : "1613", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1614", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1615", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1616", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1617", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1618", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1619", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1620", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1621", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1595", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1596", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "1597", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "15", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "1598", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "13", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "1599", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "30", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "1600", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "25", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "1601", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "200", + "annotation" : [ ] + }, + "timezoneOffset" : { + "type" : "Literal", + "localId" : "1602", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "1.0", + "annotation" : [ ] + } + }, { + "type" : "DateTime", + "localId" : "1640", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1641", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1642", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1643", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1644", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1645", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1646", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1647", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1648", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1622", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1623", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "1624", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "15", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "1625", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "13", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "1626", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "30", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "1627", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "25", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "1628", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "201", + "annotation" : [ ] + }, + "timezoneOffset" : { + "type" : "Literal", + "localId" : "1629", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "1.0", + "annotation" : [ ] + } + } ] + } + }, { + "localId" : "1654", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "ImpreciseDay", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "1654", + "s" : [ { + "value" : [ "", "define ", "ImpreciseDay", ": " ] + }, { + "r" : "1688", + "s" : [ { + "r" : "1671", + "s" : [ { + "r" : "1655", + "value" : [ "DateTime", "(", "2000", ", ", "3", ", ", "15", ", ", "13", ", ", "30", ", ", "25", ", ", "200", ")" ] + } ] + }, { + "r" : "1688", + "value" : [ " ", "after day of", " " ] + }, { + "r" : "1685", + "s" : [ { + "r" : "1679", + "value" : [ "DateTime", "(", "2000", ", ", "3", ")" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "After", + "localId" : "1688", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "precision" : "Day", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1689", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1690", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "DateTime", + "localId" : "1671", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1672", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1673", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1674", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1675", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1676", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1677", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1678", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1655", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1656", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "1657", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "15", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "1658", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "13", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "1659", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "30", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "1660", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "25", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "1661", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "200", + "annotation" : [ ] + } + }, { + "type" : "DateTime", + "localId" : "1685", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1686", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1687", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1679", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1680", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + } + } ] + } + }, { + "localId" : "1693", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "ImpreciseDayMonthAfter", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "1693", + "s" : [ { + "value" : [ "", "define ", "ImpreciseDayMonthAfter", ": " ] + }, { + "r" : "1727", + "s" : [ { + "r" : "1710", + "s" : [ { + "r" : "1694", + "value" : [ "DateTime", "(", "2000", ", ", "3", ", ", "15", ", ", "13", ", ", "30", ", ", "25", ", ", "200", ")" ] + } ] + }, { + "r" : "1727", + "value" : [ " ", "after day of", " " ] + }, { + "r" : "1724", + "s" : [ { + "r" : "1718", + "value" : [ "DateTime", "(", "2000", ", ", "2", ")" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "After", + "localId" : "1727", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "precision" : "Day", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1728", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1729", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "DateTime", + "localId" : "1710", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1711", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1712", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1713", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1714", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1715", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1716", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1717", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1694", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1695", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "1696", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "15", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "1697", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "13", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "1698", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "30", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "1699", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "25", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "1700", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "200", + "annotation" : [ ] + } + }, { + "type" : "DateTime", + "localId" : "1724", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1725", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1726", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1718", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1719", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "annotation" : [ ] + } + } ] + } + }, { + "localId" : "1732", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "ImpreciseDayMonthBefore", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "1732", + "s" : [ { + "value" : [ "", "define ", "ImpreciseDayMonthBefore", ": " ] + }, { + "r" : "1766", + "s" : [ { + "r" : "1749", + "s" : [ { + "r" : "1733", + "value" : [ "DateTime", "(", "2000", ", ", "3", ", ", "15", ", ", "13", ", ", "30", ", ", "25", ", ", "200", ")" ] + } ] + }, { + "r" : "1766", + "value" : [ " ", "after day of", " " ] + }, { + "r" : "1763", + "s" : [ { + "r" : "1757", + "value" : [ "DateTime", "(", "2000", ", ", "4", ")" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "After", + "localId" : "1766", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "precision" : "Day", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1767", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1768", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "DateTime", + "localId" : "1749", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1750", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1751", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1752", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1753", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1754", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1755", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1756", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1733", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1734", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "1735", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "15", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "1736", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "13", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "1737", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "30", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "1738", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "25", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "1739", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "200", + "annotation" : [ ] + } + }, { + "type" : "DateTime", + "localId" : "1763", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1764", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1765", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1757", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1758", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "4", + "annotation" : [ ] + } + } ] + } + }, { + "localId" : "1771", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "SameHourNormalizeZones", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "1771", + "s" : [ { + "value" : [ "", "define ", "SameHourNormalizeZones", ": " ] + }, { + "r" : "1828", + "s" : [ { + "r" : "1790", + "s" : [ { + "r" : "1772", + "value" : [ "DateTime", "(", "2000", ", ", "3", ", ", "15", ", ", "13", ", ", "30", ", ", "25", ", ", "200", ", " ] + }, { + "r" : "1779", + "s" : [ { + "r" : "1779", + "value" : [ "+", "1.0" ] + } ] + }, { + "value" : [ ")" ] + } ] + }, { + "r" : "1828", + "value" : [ " ", "after hour of", " " ] + }, { + "r" : "1819", + "s" : [ { + "r" : "1799", + "value" : [ "DateTime", "(", "2000", ", ", "3", ", ", "15", ", ", "7", ", ", "30", ", ", "25", ", ", "200", ", " ] + }, { + "r" : "1806", + "s" : [ { + "r" : "1807", + "value" : [ "-", "5.0" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "After", + "localId" : "1828", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "precision" : "Hour", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1829", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1830", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "DateTime", + "localId" : "1790", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1791", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1792", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1793", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1794", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1795", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1796", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1797", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1798", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1772", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1773", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "1774", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "15", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "1775", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "13", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "1776", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "30", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "1777", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "25", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "1778", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "200", + "annotation" : [ ] + }, + "timezoneOffset" : { + "type" : "Literal", + "localId" : "1779", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "1.0", + "annotation" : [ ] + } + }, { + "type" : "DateTime", + "localId" : "1819", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1820", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1821", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1822", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1823", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1824", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1825", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1826", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1827", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1799", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1800", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "1801", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "15", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "1802", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "7", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "1803", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "30", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "1804", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "25", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "1805", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "200", + "annotation" : [ ] + }, + "timezoneOffset" : { + "type" : "Negate", + "localId" : "1806", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1808", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } ], + "operand" : { + "type" : "Literal", + "localId" : "1807", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "5.0", + "annotation" : [ ] + } + } + } ] + } + }, { + "localId" : "1833", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "HourAfterNormalizeZones", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "1833", + "s" : [ { + "value" : [ "", "define ", "HourAfterNormalizeZones", ": " ] + }, { + "r" : "1890", + "s" : [ { + "r" : "1852", + "s" : [ { + "r" : "1834", + "value" : [ "DateTime", "(", "2000", ", ", "3", ", ", "15", ", ", "13", ", ", "30", ", ", "25", ", ", "200", ", " ] + }, { + "r" : "1841", + "s" : [ { + "r" : "1841", + "value" : [ "+", "1.0" ] + } ] + }, { + "value" : [ ")" ] + } ] + }, { + "r" : "1890", + "value" : [ " ", "after hour of", " " ] + }, { + "r" : "1881", + "s" : [ { + "r" : "1861", + "value" : [ "DateTime", "(", "2000", ", ", "3", ", ", "15", ", ", "6", ", ", "30", ", ", "25", ", ", "200", ", " ] + }, { + "r" : "1868", + "s" : [ { + "r" : "1869", + "value" : [ "-", "5.0" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "After", + "localId" : "1890", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "precision" : "Hour", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1891", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1892", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "DateTime", + "localId" : "1852", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1853", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1854", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1855", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1856", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1857", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1858", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1859", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1860", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1834", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1835", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "1836", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "15", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "1837", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "13", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "1838", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "30", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "1839", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "25", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "1840", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "200", + "annotation" : [ ] + }, + "timezoneOffset" : { + "type" : "Literal", + "localId" : "1841", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "1.0", + "annotation" : [ ] + } + }, { + "type" : "DateTime", + "localId" : "1881", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1882", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1883", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1884", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1885", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1886", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1887", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1888", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1889", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1861", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1862", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "1863", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "15", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "1864", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "6", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "1865", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "30", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "1866", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "25", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "1867", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "200", + "annotation" : [ ] + }, + "timezoneOffset" : { + "type" : "Negate", + "localId" : "1868", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1870", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } ], + "operand" : { + "type" : "Literal", + "localId" : "1869", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "5.0", + "annotation" : [ ] + } + } + } ] + } + }, { + "localId" : "1895", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "HourBeforeNormalizeZones", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "1895", + "s" : [ { + "value" : [ "", "define ", "HourBeforeNormalizeZones", ": " ] + }, { + "r" : "1952", + "s" : [ { + "r" : "1914", + "s" : [ { + "r" : "1896", + "value" : [ "DateTime", "(", "2000", ", ", "3", ", ", "15", ", ", "13", ", ", "30", ", ", "25", ", ", "200", ", " ] + }, { + "r" : "1903", + "s" : [ { + "r" : "1903", + "value" : [ "+", "1.0" ] + } ] + }, { + "value" : [ ")" ] + } ] + }, { + "r" : "1952", + "value" : [ " ", "after hour of", " " ] + }, { + "r" : "1943", + "s" : [ { + "r" : "1923", + "value" : [ "DateTime", "(", "2000", ", ", "3", ", ", "15", ", ", "8", ", ", "30", ", ", "25", ", ", "200", ", " ] + }, { + "r" : "1930", + "s" : [ { + "r" : "1931", + "value" : [ "-", "5.0" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "After", + "localId" : "1952", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "precision" : "Hour", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1953", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1954", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "DateTime", + "localId" : "1914", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1915", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1916", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1917", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1918", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1919", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1920", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1921", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1922", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1896", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1897", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "1898", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "15", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "1899", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "13", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "1900", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "30", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "1901", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "25", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "1902", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "200", + "annotation" : [ ] + }, + "timezoneOffset" : { + "type" : "Literal", + "localId" : "1903", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "1.0", + "annotation" : [ ] + } + }, { + "type" : "DateTime", + "localId" : "1943", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1944", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1945", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1946", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1947", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1948", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1949", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1950", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1951", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1923", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1924", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "1925", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "15", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "1926", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "8", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "1927", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "30", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "1928", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "25", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "1929", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "200", + "annotation" : [ ] + }, + "timezoneOffset" : { + "type" : "Negate", + "localId" : "1930", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1932", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } ], + "operand" : { + "type" : "Literal", + "localId" : "1931", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "5.0", + "annotation" : [ ] + } + } + } ] + } + }, { + "localId" : "1957", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "NullLeft", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "1957", + "s" : [ { + "value" : [ "", "define ", "NullLeft", ": " ] + }, { + "r" : "1986", + "s" : [ { + "r" : "1958", + "value" : [ "null", " ", "after", " " ] + }, { + "r" : "1977", + "s" : [ { + "r" : "1959", + "value" : [ "DateTime", "(", "2000", ", ", "3", ", ", "15", ", ", "13", ", ", "30", ", ", "25", ", ", "200", ", " ] + }, { + "r" : "1966", + "s" : [ { + "r" : "1966", + "value" : [ "+", "1.0" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "After", + "localId" : "1986", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1988", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1989", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "As", + "localId" : "1987", + "asType" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Null", + "localId" : "1958", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } + }, { + "type" : "DateTime", + "localId" : "1977", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1978", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1979", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1980", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1981", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1982", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1983", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1984", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1985", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1959", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1960", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "1961", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "15", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "1962", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "13", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "1963", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "30", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "1964", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "25", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "1965", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "200", + "annotation" : [ ] + }, + "timezoneOffset" : { + "type" : "Literal", + "localId" : "1966", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "1.0", + "annotation" : [ ] + } + } ] + } + }, { + "localId" : "1992", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "NullRight", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "1992", + "s" : [ { + "value" : [ "", "define ", "NullRight", ": " ] + }, { + "r" : "2021", + "s" : [ { + "r" : "2011", + "s" : [ { + "r" : "1993", + "value" : [ "DateTime", "(", "2000", ", ", "3", ", ", "15", ", ", "13", ", ", "30", ", ", "25", ", ", "200", ", " ] + }, { + "r" : "2000", + "s" : [ { + "r" : "2000", + "value" : [ "+", "1.0" ] + } ] + }, { + "value" : [ ")" ] + } ] + }, { + "r" : "2021", + "value" : [ " ", "after", " ", "null" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "After", + "localId" : "2021", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "2023", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2024", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "DateTime", + "localId" : "2011", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "2012", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2013", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2014", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2015", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2016", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2017", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2018", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2019", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1993", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1994", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "1995", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "15", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "1996", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "13", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "1997", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "30", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "1998", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "25", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "1999", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "200", + "annotation" : [ ] + }, + "timezoneOffset" : { + "type" : "Literal", + "localId" : "2000", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "1.0", + "annotation" : [ ] + } + }, { + "type" : "As", + "localId" : "2022", + "asType" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Null", + "localId" : "2020", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } + } ] + } + }, { + "localId" : "2027", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "NullBoth", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "2027", + "s" : [ { + "value" : [ "", "define ", "NullBoth", ": " ] + }, { + "r" : "2032", + "s" : [ { + "r" : "2028", + "s" : [ { + "value" : [ "(" ] + }, { + "r" : "2028", + "s" : [ { + "r" : "2029", + "value" : [ "null", " as " ] }, { - "localId" : "2015", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" + "r" : "2030", + "s" : [ { + "value" : [ "DateTime" ] + } ] + } ] + }, { + "value" : [ ")" ] + } ] + }, { + "r" : "2032", + "value" : [ " ", "after", " ", "null" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "After", + "localId" : "2032", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "2034", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2035", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "As", + "localId" : "2028", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "strict" : false, + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Null", + "localId" : "2029", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + }, + "asTypeSpecifier" : { + "type" : "NamedTypeSpecifier", + "localId" : "2030", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, { + "type" : "As", + "localId" : "2033", + "asType" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Null", + "localId" : "2031", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } + } ] + } + } ] + } + } +} + +/* Before +library TestSnippet version '1' +using Simple version '1.0.0' +context Patient +define SameYear: DateTime(2000, 10, 15, 13, 30, 25, 200, +1.0) before year of DateTime(2000, 11, 23, 8, 14, 47, 500, +1.0) +define YearAfter: DateTime(2000, 10, 15, 13, 30, 25, 200, +1.0) before year of DateTime(1999, 11, 23, 8, 14, 47, 500, +1.0) +define YearBefore: DateTime(2000, 10, 15, 13, 30, 25, 200, +1.0) before year of DateTime(2001, 11, 23, 8, 14, 47, 500, +1.0) +define SameMonth: DateTime(2000, 3, 22, 13, 30, 25, 200, +1.0) before month of DateTime(2000, 3, 23, 8, 14, 47, 500, +1.0) +define MonthAfter: DateTime(2000, 3, 22, 13, 30, 25, 200, +1.0) before month of DateTime(2000, 2, 23, 8, 14, 47, 500, +1.0) +define MonthBefore: DateTime(2000, 3, 22, 13, 30, 25, 200, +1.0) before month of DateTime(2000, 4, 23, 8, 14, 47, 500, +1.0) +define SameDay: DateTime(2000, 3, 15, 6, 30, 25, 200, +1.0) before day of DateTime(2000, 3, 15, 8, 14, 47, 500, +1.0) +define DayAfter: DateTime(2000, 3, 15, 6, 30, 25, 200, +1.0) before day of DateTime(2000, 3, 14, 8, 14, 47, 500, +1.0) +define DayBefore: DateTime(2000, 3, 15, 6, 30, 25, 200, +1.0) before day of DateTime(2000, 3, 16, 8, 14, 47, 500, +1.0) +define SameHour: DateTime(2000, 3, 15, 13, 10, 25, 200, +1.0) before hour of DateTime(2000, 3, 15, 13, 14, 47, 500, +1.0) +define HourAfter: DateTime(2000, 3, 15, 13, 10, 25, 200, +1.0) before hour of DateTime(2000, 3, 15, 12, 14, 47, 500, +1.0) +define HourBefore: DateTime(2000, 3, 15, 13, 10, 25, 200, +1.0) before hour of DateTime(2000, 3, 15, 14, 14, 47, 500, +1.0) +define SameMinute: DateTime(2000, 3, 15, 13, 30, 44, 200, +1.0) before minute of DateTime(2000, 3, 15, 13, 30, 47, 500, +1.0) +define MinuteAfter: DateTime(2000, 3, 15, 13, 30, 44, 200, +1.0) before minute of DateTime(2000, 3, 15, 13, 29, 47, 500, +1.0) +define MinuteBefore: DateTime(2000, 3, 15, 13, 30, 44, 200, +1.0) before minute of DateTime(2000, 3, 15, 13, 31, 47, 500, +1.0) +define SameSecond: DateTime(2000, 3, 15, 13, 30, 25, 200, +1.0) before second of DateTime(2000, 3, 15, 13, 30, 25, 500, +1.0) +define SecondAfter: DateTime(2000, 3, 15, 13, 30, 25, 200, +1.0) before second of DateTime(2000, 3, 15, 13, 30, 24, 500, +1.0) +define SecondBefore: DateTime(2000, 3, 15, 13, 30, 25, 200, +1.0) before second of DateTime(2000, 3, 15, 13, 30, 26, 500, +1.0) +define SameMillisecond: DateTime(2000, 3, 15, 13, 30, 25, 200, +1.0) before millisecond of DateTime(2000, 3, 15, 13, 30, 25, 200, +1.0) +define MillisecondAfter: DateTime(2000, 3, 15, 13, 30, 25, 200, +1.0) before millisecond of DateTime(2000, 3, 15, 13, 30, 25, 199, +1.0) +define MillisecondBefore: DateTime(2000, 3, 15, 13, 30, 25, 200, +1.0) before millisecond of DateTime(2000, 3, 15, 13, 30, 25, 201, +1.0) +define Same: DateTime(2000, 3, 15, 13, 30, 25, 200, +1.0) before DateTime(2000, 3, 15, 13, 30, 25, 200, +1.0) +define After: DateTime(2000, 3, 15, 13, 30, 25, 200, +1.0) before DateTime(2000, 3, 15, 13, 30, 25, 199, +1.0) +define Before: DateTime(2000, 3, 15, 13, 30, 25, 200, +1.0) before DateTime(2000, 3, 15, 13, 30, 25, 201, +1.0) +define ImpreciseDay: DateTime(2000, 3, 15, 13, 30, 25, 200) before day of DateTime(2000, 3) +define ImpreciseDayMonthAfter: DateTime(2000, 3, 15, 13, 30, 25, 200) before day of DateTime(2000, 2) +define ImpreciseDayMonthBefore: DateTime(2000, 3, 15, 13, 30, 25, 200) before day of DateTime(2000, 4) +define SameHourNormalizeZones: DateTime(2000, 3, 15, 13, 30, 25, 200, +1.0) before hour of DateTime(2000, 3, 15, 7, 30, 25, 200, -5.0) +define HourAfterNormalizeZones: DateTime(2000, 3, 15, 13, 30, 25, 200, +1.0) before hour of DateTime(2000, 3, 15, 6, 30, 25, 200, -5.0) +define HourBeforeNormalizeZones: DateTime(2000, 3, 15, 13, 30, 25, 200, +1.0) before hour of DateTime(2000, 3, 15, 8, 30, 25, 200, -5.0) +define NullLeft: null before DateTime(2000, 3, 15, 13, 30, 25, 200, +1.0) +define NullRight: DateTime(2000, 3, 15, 13, 30, 25, 200, +1.0) before null +define NullBoth: (null as DateTime) before null +*/ + +module.exports['Before'] = { + "library" : { + "localId" : "0", + "annotation" : [ { + "type" : "CqlToElmInfo", + "translatorVersion" : "4.2.0", + "translatorOptions" : "EnableDateRangeOptimization,EnableAnnotations,EnableResultTypes", + "signatureLevel" : "All" + }, { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "2027", + "s" : [ { + "value" : [ "", "library TestSnippet version '1'" ] + } ] + } + } ], + "identifier" : { + "id" : "TestSnippet", + "version" : "1" + }, + "schemaIdentifier" : { + "id" : "urn:hl7-org:elm", + "version" : "r1" + }, + "usings" : { + "def" : [ { + "localId" : "1", + "localIdentifier" : "System", + "uri" : "urn:hl7-org:elm-types:r1", + "annotation" : [ ] + }, { + "localId" : "206", + "localIdentifier" : "Simple", + "uri" : "https://github.com/cqframework/cql-execution/simple", + "version" : "1.0.0", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "206", + "s" : [ { + "value" : [ "", "using " ] + }, { + "s" : [ { + "value" : [ "Simple" ] + } ] + }, { + "value" : [ " version '1.0.0'" ] + } ] + } + } ] + } ] + }, + "contexts" : { + "def" : [ { + "localId" : "211", + "name" : "Patient", + "annotation" : [ ] + } ] + }, + "statements" : { + "def" : [ { + "localId" : "209", + "name" : "Patient", + "context" : "Patient", + "annotation" : [ ], + "expression" : { + "type" : "SingletonFrom", + "localId" : "210", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Retrieve", + "localId" : "208", + "dataType" : "{https://github.com/cqframework/cql-execution/simple}Patient", + "annotation" : [ ], + "include" : [ ], + "codeFilter" : [ ], + "dateFilter" : [ ], + "otherFilter" : [ ] + } + } + }, { + "localId" : "214", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "SameYear", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "214", + "s" : [ { + "value" : [ "", "define ", "SameYear", ": " ] + }, { + "r" : "269", + "s" : [ { + "r" : "233", + "s" : [ { + "r" : "215", + "value" : [ "DateTime", "(", "2000", ", ", "10", ", ", "15", ", ", "13", ", ", "30", ", ", "25", ", ", "200", ", " ] + }, { + "r" : "222", + "s" : [ { + "r" : "222", + "value" : [ "+", "1.0" ] + } ] + }, { + "value" : [ ")" ] + } ] + }, { + "r" : "269", + "value" : [ " ", "before year of", " " ] + }, { + "r" : "260", + "s" : [ { + "r" : "242", + "value" : [ "DateTime", "(", "2000", ", ", "11", ", ", "23", ", ", "8", ", ", "14", ", ", "47", ", ", "500", ", " ] + }, { + "r" : "249", + "s" : [ { + "r" : "249", + "value" : [ "+", "1.0" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Before", + "localId" : "269", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "precision" : "Year", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "270", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "271", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "DateTime", + "localId" : "233", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "234", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "235", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "236", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "237", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "238", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "239", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "240", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "241", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "215", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "216", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "10", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "217", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "15", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "218", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "13", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "219", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "30", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "220", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "25", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "221", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "200", + "annotation" : [ ] + }, + "timezoneOffset" : { + "type" : "Literal", + "localId" : "222", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "1.0", + "annotation" : [ ] + } + }, { + "type" : "DateTime", + "localId" : "260", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "261", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "262", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "263", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "264", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "265", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "266", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "267", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "268", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "242", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "243", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "11", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "244", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "23", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "245", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "8", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "246", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "14", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "247", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "47", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "248", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "500", + "annotation" : [ ] + }, + "timezoneOffset" : { + "type" : "Literal", + "localId" : "249", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "1.0", + "annotation" : [ ] + } + } ] + } + }, { + "localId" : "274", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "YearAfter", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "274", + "s" : [ { + "value" : [ "", "define ", "YearAfter", ": " ] + }, { + "r" : "329", + "s" : [ { + "r" : "293", + "s" : [ { + "r" : "275", + "value" : [ "DateTime", "(", "2000", ", ", "10", ", ", "15", ", ", "13", ", ", "30", ", ", "25", ", ", "200", ", " ] + }, { + "r" : "282", + "s" : [ { + "r" : "282", + "value" : [ "+", "1.0" ] + } ] + }, { + "value" : [ ")" ] + } ] + }, { + "r" : "329", + "value" : [ " ", "before year of", " " ] + }, { + "r" : "320", + "s" : [ { + "r" : "302", + "value" : [ "DateTime", "(", "1999", ", ", "11", ", ", "23", ", ", "8", ", ", "14", ", ", "47", ", ", "500", ", " ] + }, { + "r" : "309", + "s" : [ { + "r" : "309", + "value" : [ "+", "1.0" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Before", + "localId" : "329", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "precision" : "Year", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "330", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "331", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "DateTime", + "localId" : "293", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "294", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "295", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "296", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "297", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "298", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "299", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "300", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "301", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "275", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "276", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "10", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "277", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "15", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "278", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "13", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "279", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "30", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "280", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "25", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "281", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "200", + "annotation" : [ ] + }, + "timezoneOffset" : { + "type" : "Literal", + "localId" : "282", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "1.0", + "annotation" : [ ] + } + }, { + "type" : "DateTime", + "localId" : "320", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "321", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "322", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "323", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "324", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "325", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "326", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "327", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "328", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "302", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1999", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "303", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "11", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "304", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "23", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "305", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "8", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "306", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "14", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "307", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "47", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "308", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "500", + "annotation" : [ ] + }, + "timezoneOffset" : { + "type" : "Literal", + "localId" : "309", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "1.0", + "annotation" : [ ] + } + } ] + } + }, { + "localId" : "334", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "YearBefore", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "334", + "s" : [ { + "value" : [ "", "define ", "YearBefore", ": " ] + }, { + "r" : "389", + "s" : [ { + "r" : "353", + "s" : [ { + "r" : "335", + "value" : [ "DateTime", "(", "2000", ", ", "10", ", ", "15", ", ", "13", ", ", "30", ", ", "25", ", ", "200", ", " ] + }, { + "r" : "342", + "s" : [ { + "r" : "342", + "value" : [ "+", "1.0" ] + } ] + }, { + "value" : [ ")" ] + } ] + }, { + "r" : "389", + "value" : [ " ", "before year of", " " ] + }, { + "r" : "380", + "s" : [ { + "r" : "362", + "value" : [ "DateTime", "(", "2001", ", ", "11", ", ", "23", ", ", "8", ", ", "14", ", ", "47", ", ", "500", ", " ] + }, { + "r" : "369", + "s" : [ { + "r" : "369", + "value" : [ "+", "1.0" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Before", + "localId" : "389", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "precision" : "Year", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "390", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "391", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "DateTime", + "localId" : "353", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "354", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "355", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "356", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "357", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "358", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "359", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "360", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "361", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "335", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "336", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "10", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "337", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "15", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "338", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "13", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "339", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "30", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "340", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "25", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "341", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "200", + "annotation" : [ ] + }, + "timezoneOffset" : { + "type" : "Literal", + "localId" : "342", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "1.0", + "annotation" : [ ] + } + }, { + "type" : "DateTime", + "localId" : "380", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "381", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "382", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "383", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "384", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "385", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "386", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "387", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "388", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "362", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2001", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "363", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "11", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "364", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "23", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "365", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "8", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "366", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "14", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "367", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "47", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "368", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "500", + "annotation" : [ ] + }, + "timezoneOffset" : { + "type" : "Literal", + "localId" : "369", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "1.0", + "annotation" : [ ] + } + } ] + } + }, { + "localId" : "394", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "SameMonth", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "394", + "s" : [ { + "value" : [ "", "define ", "SameMonth", ": " ] + }, { + "r" : "449", + "s" : [ { + "r" : "413", + "s" : [ { + "r" : "395", + "value" : [ "DateTime", "(", "2000", ", ", "3", ", ", "22", ", ", "13", ", ", "30", ", ", "25", ", ", "200", ", " ] + }, { + "r" : "402", + "s" : [ { + "r" : "402", + "value" : [ "+", "1.0" ] + } ] + }, { + "value" : [ ")" ] + } ] + }, { + "r" : "449", + "value" : [ " ", "before month of", " " ] + }, { + "r" : "440", + "s" : [ { + "r" : "422", + "value" : [ "DateTime", "(", "2000", ", ", "3", ", ", "23", ", ", "8", ", ", "14", ", ", "47", ", ", "500", ", " ] + }, { + "r" : "429", + "s" : [ { + "r" : "429", + "value" : [ "+", "1.0" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Before", + "localId" : "449", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "precision" : "Month", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "450", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "451", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "DateTime", + "localId" : "413", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "414", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "415", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "416", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "417", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "418", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "419", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "420", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "421", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "395", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "396", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "397", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "22", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "398", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "13", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "399", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "30", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "400", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "25", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "401", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "200", + "annotation" : [ ] + }, + "timezoneOffset" : { + "type" : "Literal", + "localId" : "402", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "1.0", + "annotation" : [ ] + } + }, { + "type" : "DateTime", + "localId" : "440", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "441", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "442", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "443", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "444", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "445", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "446", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "447", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "448", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "422", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "423", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "424", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "23", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "425", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "8", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "426", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "14", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "427", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "47", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "428", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "500", + "annotation" : [ ] + }, + "timezoneOffset" : { + "type" : "Literal", + "localId" : "429", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "1.0", + "annotation" : [ ] + } + } ] + } + }, { + "localId" : "454", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "MonthAfter", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "454", + "s" : [ { + "value" : [ "", "define ", "MonthAfter", ": " ] + }, { + "r" : "509", + "s" : [ { + "r" : "473", + "s" : [ { + "r" : "455", + "value" : [ "DateTime", "(", "2000", ", ", "3", ", ", "22", ", ", "13", ", ", "30", ", ", "25", ", ", "200", ", " ] + }, { + "r" : "462", + "s" : [ { + "r" : "462", + "value" : [ "+", "1.0" ] + } ] + }, { + "value" : [ ")" ] + } ] + }, { + "r" : "509", + "value" : [ " ", "before month of", " " ] + }, { + "r" : "500", + "s" : [ { + "r" : "482", + "value" : [ "DateTime", "(", "2000", ", ", "2", ", ", "23", ", ", "8", ", ", "14", ", ", "47", ", ", "500", ", " ] + }, { + "r" : "489", + "s" : [ { + "r" : "489", + "value" : [ "+", "1.0" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Before", + "localId" : "509", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "precision" : "Month", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "510", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "511", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "DateTime", + "localId" : "473", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "474", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "475", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "476", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "477", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "478", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "479", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "480", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "481", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "455", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "456", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "457", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "22", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "458", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "13", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "459", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "30", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "460", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "25", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "461", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "200", + "annotation" : [ ] + }, + "timezoneOffset" : { + "type" : "Literal", + "localId" : "462", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "1.0", + "annotation" : [ ] + } + }, { + "type" : "DateTime", + "localId" : "500", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "501", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "502", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "503", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "504", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "505", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "506", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "507", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "508", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "482", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "483", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "484", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "23", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "485", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "8", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "486", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "14", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "487", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "47", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "488", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "500", + "annotation" : [ ] + }, + "timezoneOffset" : { + "type" : "Literal", + "localId" : "489", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "1.0", + "annotation" : [ ] + } + } ] + } + }, { + "localId" : "514", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "MonthBefore", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "514", + "s" : [ { + "value" : [ "", "define ", "MonthBefore", ": " ] + }, { + "r" : "569", + "s" : [ { + "r" : "533", + "s" : [ { + "r" : "515", + "value" : [ "DateTime", "(", "2000", ", ", "3", ", ", "22", ", ", "13", ", ", "30", ", ", "25", ", ", "200", ", " ] + }, { + "r" : "522", + "s" : [ { + "r" : "522", + "value" : [ "+", "1.0" ] + } ] + }, { + "value" : [ ")" ] + } ] + }, { + "r" : "569", + "value" : [ " ", "before month of", " " ] + }, { + "r" : "560", + "s" : [ { + "r" : "542", + "value" : [ "DateTime", "(", "2000", ", ", "4", ", ", "23", ", ", "8", ", ", "14", ", ", "47", ", ", "500", ", " ] + }, { + "r" : "549", + "s" : [ { + "r" : "549", + "value" : [ "+", "1.0" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Before", + "localId" : "569", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "precision" : "Month", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "570", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "571", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "DateTime", + "localId" : "533", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "534", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "535", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "536", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "537", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "538", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "539", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "540", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "541", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "515", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "516", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "517", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "22", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "518", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "13", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "519", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "30", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "520", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "25", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "521", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "200", + "annotation" : [ ] + }, + "timezoneOffset" : { + "type" : "Literal", + "localId" : "522", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "1.0", + "annotation" : [ ] + } + }, { + "type" : "DateTime", + "localId" : "560", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "561", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "562", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "563", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "564", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "565", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "566", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "567", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "568", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "542", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "543", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "4", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "544", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "23", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "545", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "8", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "546", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "14", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "547", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "47", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "548", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "500", + "annotation" : [ ] + }, + "timezoneOffset" : { + "type" : "Literal", + "localId" : "549", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "1.0", + "annotation" : [ ] + } + } ] + } + }, { + "localId" : "574", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "SameDay", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "574", + "s" : [ { + "value" : [ "", "define ", "SameDay", ": " ] + }, { + "r" : "629", + "s" : [ { + "r" : "593", + "s" : [ { + "r" : "575", + "value" : [ "DateTime", "(", "2000", ", ", "3", ", ", "15", ", ", "6", ", ", "30", ", ", "25", ", ", "200", ", " ] + }, { + "r" : "582", + "s" : [ { + "r" : "582", + "value" : [ "+", "1.0" ] + } ] + }, { + "value" : [ ")" ] + } ] + }, { + "r" : "629", + "value" : [ " ", "before day of", " " ] + }, { + "r" : "620", + "s" : [ { + "r" : "602", + "value" : [ "DateTime", "(", "2000", ", ", "3", ", ", "15", ", ", "8", ", ", "14", ", ", "47", ", ", "500", ", " ] + }, { + "r" : "609", + "s" : [ { + "r" : "609", + "value" : [ "+", "1.0" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Before", + "localId" : "629", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "precision" : "Day", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "630", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "631", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "DateTime", + "localId" : "593", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "594", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "595", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "596", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "597", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "598", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "599", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "600", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "601", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "575", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "576", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "577", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "15", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "578", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "6", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "579", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "30", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "580", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "25", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "581", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "200", + "annotation" : [ ] + }, + "timezoneOffset" : { + "type" : "Literal", + "localId" : "582", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "1.0", + "annotation" : [ ] + } + }, { + "type" : "DateTime", + "localId" : "620", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "621", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "622", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "623", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "624", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "625", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "626", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "627", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "628", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "602", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "603", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "604", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "15", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "605", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "8", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "606", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "14", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "607", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "47", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "608", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "500", + "annotation" : [ ] + }, + "timezoneOffset" : { + "type" : "Literal", + "localId" : "609", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "1.0", + "annotation" : [ ] + } + } ] + } + }, { + "localId" : "634", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "DayAfter", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "634", + "s" : [ { + "value" : [ "", "define ", "DayAfter", ": " ] + }, { + "r" : "689", + "s" : [ { + "r" : "653", + "s" : [ { + "r" : "635", + "value" : [ "DateTime", "(", "2000", ", ", "3", ", ", "15", ", ", "6", ", ", "30", ", ", "25", ", ", "200", ", " ] + }, { + "r" : "642", + "s" : [ { + "r" : "642", + "value" : [ "+", "1.0" ] + } ] + }, { + "value" : [ ")" ] + } ] + }, { + "r" : "689", + "value" : [ " ", "before day of", " " ] + }, { + "r" : "680", + "s" : [ { + "r" : "662", + "value" : [ "DateTime", "(", "2000", ", ", "3", ", ", "14", ", ", "8", ", ", "14", ", ", "47", ", ", "500", ", " ] + }, { + "r" : "669", + "s" : [ { + "r" : "669", + "value" : [ "+", "1.0" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Before", + "localId" : "689", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "precision" : "Day", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "690", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "691", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "DateTime", + "localId" : "653", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "654", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "655", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "656", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "657", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "658", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "659", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "660", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "661", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "635", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "636", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "637", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "15", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "638", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "6", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "639", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "30", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "640", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "25", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "641", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "200", + "annotation" : [ ] + }, + "timezoneOffset" : { + "type" : "Literal", + "localId" : "642", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "1.0", + "annotation" : [ ] + } + }, { + "type" : "DateTime", + "localId" : "680", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "681", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "682", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "683", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "684", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "685", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "686", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "687", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "688", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "662", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "663", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "664", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "14", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "665", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "8", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "666", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "14", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "667", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "47", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "668", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "500", + "annotation" : [ ] + }, + "timezoneOffset" : { + "type" : "Literal", + "localId" : "669", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "1.0", + "annotation" : [ ] + } + } ] + } + }, { + "localId" : "694", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "DayBefore", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "694", + "s" : [ { + "value" : [ "", "define ", "DayBefore", ": " ] + }, { + "r" : "749", + "s" : [ { + "r" : "713", + "s" : [ { + "r" : "695", + "value" : [ "DateTime", "(", "2000", ", ", "3", ", ", "15", ", ", "6", ", ", "30", ", ", "25", ", ", "200", ", " ] + }, { + "r" : "702", + "s" : [ { + "r" : "702", + "value" : [ "+", "1.0" ] + } ] + }, { + "value" : [ ")" ] + } ] + }, { + "r" : "749", + "value" : [ " ", "before day of", " " ] + }, { + "r" : "740", + "s" : [ { + "r" : "722", + "value" : [ "DateTime", "(", "2000", ", ", "3", ", ", "16", ", ", "8", ", ", "14", ", ", "47", ", ", "500", ", " ] + }, { + "r" : "729", + "s" : [ { + "r" : "729", + "value" : [ "+", "1.0" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Before", + "localId" : "749", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "precision" : "Day", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "750", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "751", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "DateTime", + "localId" : "713", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "714", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "715", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "716", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "717", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "718", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "719", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "720", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "721", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "695", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "696", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "697", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "15", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "698", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "6", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "699", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "30", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "700", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "25", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "701", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "200", + "annotation" : [ ] + }, + "timezoneOffset" : { + "type" : "Literal", + "localId" : "702", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "1.0", + "annotation" : [ ] + } + }, { + "type" : "DateTime", + "localId" : "740", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "741", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "742", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "743", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "744", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "745", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "746", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "747", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "748", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "722", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "723", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "724", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "16", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "725", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "8", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "726", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "14", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "727", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "47", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "728", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "500", + "annotation" : [ ] + }, + "timezoneOffset" : { + "type" : "Literal", + "localId" : "729", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "1.0", + "annotation" : [ ] + } + } ] + } + }, { + "localId" : "754", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "SameHour", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "754", + "s" : [ { + "value" : [ "", "define ", "SameHour", ": " ] + }, { + "r" : "809", + "s" : [ { + "r" : "773", + "s" : [ { + "r" : "755", + "value" : [ "DateTime", "(", "2000", ", ", "3", ", ", "15", ", ", "13", ", ", "10", ", ", "25", ", ", "200", ", " ] + }, { + "r" : "762", + "s" : [ { + "r" : "762", + "value" : [ "+", "1.0" ] + } ] + }, { + "value" : [ ")" ] + } ] + }, { + "r" : "809", + "value" : [ " ", "before hour of", " " ] + }, { + "r" : "800", + "s" : [ { + "r" : "782", + "value" : [ "DateTime", "(", "2000", ", ", "3", ", ", "15", ", ", "13", ", ", "14", ", ", "47", ", ", "500", ", " ] + }, { + "r" : "789", + "s" : [ { + "r" : "789", + "value" : [ "+", "1.0" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Before", + "localId" : "809", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "precision" : "Hour", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "810", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "811", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "DateTime", + "localId" : "773", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "774", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "775", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "776", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "777", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "778", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "779", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "780", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "781", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "755", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "756", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "757", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "15", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "758", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "13", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "759", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "10", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "760", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "25", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "761", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "200", + "annotation" : [ ] + }, + "timezoneOffset" : { + "type" : "Literal", + "localId" : "762", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "1.0", + "annotation" : [ ] + } + }, { + "type" : "DateTime", + "localId" : "800", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "801", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "802", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "803", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "804", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "805", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "806", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "807", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "808", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "782", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "783", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "784", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "15", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "785", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "13", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "786", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "14", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "787", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "47", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "788", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "500", + "annotation" : [ ] + }, + "timezoneOffset" : { + "type" : "Literal", + "localId" : "789", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "1.0", + "annotation" : [ ] + } + } ] + } + }, { + "localId" : "814", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "HourAfter", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "814", + "s" : [ { + "value" : [ "", "define ", "HourAfter", ": " ] + }, { + "r" : "869", + "s" : [ { + "r" : "833", + "s" : [ { + "r" : "815", + "value" : [ "DateTime", "(", "2000", ", ", "3", ", ", "15", ", ", "13", ", ", "10", ", ", "25", ", ", "200", ", " ] + }, { + "r" : "822", + "s" : [ { + "r" : "822", + "value" : [ "+", "1.0" ] + } ] + }, { + "value" : [ ")" ] + } ] + }, { + "r" : "869", + "value" : [ " ", "before hour of", " " ] + }, { + "r" : "860", + "s" : [ { + "r" : "842", + "value" : [ "DateTime", "(", "2000", ", ", "3", ", ", "15", ", ", "12", ", ", "14", ", ", "47", ", ", "500", ", " ] + }, { + "r" : "849", + "s" : [ { + "r" : "849", + "value" : [ "+", "1.0" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Before", + "localId" : "869", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "precision" : "Hour", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "870", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "871", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "DateTime", + "localId" : "833", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "834", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "835", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "836", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "837", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "838", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "839", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "840", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "841", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "815", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "816", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "817", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "15", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "818", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "13", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "819", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "10", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "820", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "25", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "821", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "200", + "annotation" : [ ] + }, + "timezoneOffset" : { + "type" : "Literal", + "localId" : "822", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "1.0", + "annotation" : [ ] + } + }, { + "type" : "DateTime", + "localId" : "860", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "861", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "862", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "863", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "864", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "865", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "866", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "867", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "868", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "842", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "843", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "844", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "15", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "845", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "12", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "846", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "14", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "847", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "47", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "848", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "500", + "annotation" : [ ] + }, + "timezoneOffset" : { + "type" : "Literal", + "localId" : "849", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "1.0", + "annotation" : [ ] + } + } ] + } + }, { + "localId" : "874", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "HourBefore", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "874", + "s" : [ { + "value" : [ "", "define ", "HourBefore", ": " ] + }, { + "r" : "929", + "s" : [ { + "r" : "893", + "s" : [ { + "r" : "875", + "value" : [ "DateTime", "(", "2000", ", ", "3", ", ", "15", ", ", "13", ", ", "10", ", ", "25", ", ", "200", ", " ] + }, { + "r" : "882", + "s" : [ { + "r" : "882", + "value" : [ "+", "1.0" ] + } ] + }, { + "value" : [ ")" ] + } ] + }, { + "r" : "929", + "value" : [ " ", "before hour of", " " ] + }, { + "r" : "920", + "s" : [ { + "r" : "902", + "value" : [ "DateTime", "(", "2000", ", ", "3", ", ", "15", ", ", "14", ", ", "14", ", ", "47", ", ", "500", ", " ] + }, { + "r" : "909", + "s" : [ { + "r" : "909", + "value" : [ "+", "1.0" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Before", + "localId" : "929", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "precision" : "Hour", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "930", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "931", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "DateTime", + "localId" : "893", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "894", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "895", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "896", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "897", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "898", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "899", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "900", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "901", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "875", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "876", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "877", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "15", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "878", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "13", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "879", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "10", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "880", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "25", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "881", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "200", + "annotation" : [ ] + }, + "timezoneOffset" : { + "type" : "Literal", + "localId" : "882", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "1.0", + "annotation" : [ ] + } + }, { + "type" : "DateTime", + "localId" : "920", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "921", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "922", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "923", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "924", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "925", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "926", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "927", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "928", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "902", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "903", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "904", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "15", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "905", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "14", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "906", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "14", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "907", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "47", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "908", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "500", + "annotation" : [ ] + }, + "timezoneOffset" : { + "type" : "Literal", + "localId" : "909", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "1.0", + "annotation" : [ ] + } + } ] + } + }, { + "localId" : "934", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "SameMinute", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "934", + "s" : [ { + "value" : [ "", "define ", "SameMinute", ": " ] + }, { + "r" : "989", + "s" : [ { + "r" : "953", + "s" : [ { + "r" : "935", + "value" : [ "DateTime", "(", "2000", ", ", "3", ", ", "15", ", ", "13", ", ", "30", ", ", "44", ", ", "200", ", " ] + }, { + "r" : "942", + "s" : [ { + "r" : "942", + "value" : [ "+", "1.0" ] + } ] + }, { + "value" : [ ")" ] + } ] + }, { + "r" : "989", + "value" : [ " ", "before minute of", " " ] + }, { + "r" : "980", + "s" : [ { + "r" : "962", + "value" : [ "DateTime", "(", "2000", ", ", "3", ", ", "15", ", ", "13", ", ", "30", ", ", "47", ", ", "500", ", " ] + }, { + "r" : "969", + "s" : [ { + "r" : "969", + "value" : [ "+", "1.0" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Before", + "localId" : "989", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "precision" : "Minute", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "990", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "991", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "DateTime", + "localId" : "953", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "954", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "955", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "956", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "957", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "958", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "959", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "960", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "961", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "935", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "936", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "937", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "15", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "938", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "13", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "939", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "30", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "940", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "44", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "941", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "200", + "annotation" : [ ] + }, + "timezoneOffset" : { + "type" : "Literal", + "localId" : "942", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "1.0", + "annotation" : [ ] + } + }, { + "type" : "DateTime", + "localId" : "980", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "981", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "982", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "983", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "984", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "985", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "986", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "987", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "988", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "962", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "963", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "964", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "15", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "965", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "13", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "966", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "30", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "967", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "47", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "968", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "500", + "annotation" : [ ] + }, + "timezoneOffset" : { + "type" : "Literal", + "localId" : "969", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "1.0", + "annotation" : [ ] + } + } ] + } + }, { + "localId" : "994", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "MinuteAfter", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "994", + "s" : [ { + "value" : [ "", "define ", "MinuteAfter", ": " ] + }, { + "r" : "1049", + "s" : [ { + "r" : "1013", + "s" : [ { + "r" : "995", + "value" : [ "DateTime", "(", "2000", ", ", "3", ", ", "15", ", ", "13", ", ", "30", ", ", "44", ", ", "200", ", " ] + }, { + "r" : "1002", + "s" : [ { + "r" : "1002", + "value" : [ "+", "1.0" ] + } ] + }, { + "value" : [ ")" ] + } ] + }, { + "r" : "1049", + "value" : [ " ", "before minute of", " " ] + }, { + "r" : "1040", + "s" : [ { + "r" : "1022", + "value" : [ "DateTime", "(", "2000", ", ", "3", ", ", "15", ", ", "13", ", ", "29", ", ", "47", ", ", "500", ", " ] + }, { + "r" : "1029", + "s" : [ { + "r" : "1029", + "value" : [ "+", "1.0" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Before", + "localId" : "1049", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "precision" : "Minute", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1050", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1051", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "DateTime", + "localId" : "1013", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1014", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1015", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1016", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1017", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1018", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1019", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1020", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1021", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "995", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "996", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "997", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "15", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "998", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "13", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "999", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "30", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "1000", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "44", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "1001", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "200", + "annotation" : [ ] + }, + "timezoneOffset" : { + "type" : "Literal", + "localId" : "1002", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "1.0", + "annotation" : [ ] + } + }, { + "type" : "DateTime", + "localId" : "1040", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1041", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1042", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1043", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1044", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1045", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1046", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1047", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1048", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1022", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1023", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "1024", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "15", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "1025", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "13", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "1026", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "29", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "1027", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "47", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "1028", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "500", + "annotation" : [ ] + }, + "timezoneOffset" : { + "type" : "Literal", + "localId" : "1029", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "1.0", + "annotation" : [ ] + } + } ] + } + }, { + "localId" : "1054", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "MinuteBefore", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "1054", + "s" : [ { + "value" : [ "", "define ", "MinuteBefore", ": " ] + }, { + "r" : "1109", + "s" : [ { + "r" : "1073", + "s" : [ { + "r" : "1055", + "value" : [ "DateTime", "(", "2000", ", ", "3", ", ", "15", ", ", "13", ", ", "30", ", ", "44", ", ", "200", ", " ] + }, { + "r" : "1062", + "s" : [ { + "r" : "1062", + "value" : [ "+", "1.0" ] + } ] + }, { + "value" : [ ")" ] + } ] + }, { + "r" : "1109", + "value" : [ " ", "before minute of", " " ] + }, { + "r" : "1100", + "s" : [ { + "r" : "1082", + "value" : [ "DateTime", "(", "2000", ", ", "3", ", ", "15", ", ", "13", ", ", "31", ", ", "47", ", ", "500", ", " ] + }, { + "r" : "1089", + "s" : [ { + "r" : "1089", + "value" : [ "+", "1.0" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Before", + "localId" : "1109", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "precision" : "Minute", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1110", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1111", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "DateTime", + "localId" : "1073", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1074", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1075", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1076", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1077", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1078", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1079", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1080", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1081", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1055", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1056", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "1057", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "15", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "1058", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "13", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "1059", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "30", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "1060", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "44", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "1061", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "200", + "annotation" : [ ] + }, + "timezoneOffset" : { + "type" : "Literal", + "localId" : "1062", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "1.0", + "annotation" : [ ] + } + }, { + "type" : "DateTime", + "localId" : "1100", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1101", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1102", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1103", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1104", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1105", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1106", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1107", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1108", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1082", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1083", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "1084", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "15", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "1085", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "13", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "1086", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "31", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "1087", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "47", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "1088", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "500", + "annotation" : [ ] + }, + "timezoneOffset" : { + "type" : "Literal", + "localId" : "1089", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "1.0", + "annotation" : [ ] + } + } ] + } + }, { + "localId" : "1114", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "SameSecond", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "1114", + "s" : [ { + "value" : [ "", "define ", "SameSecond", ": " ] + }, { + "r" : "1169", + "s" : [ { + "r" : "1133", + "s" : [ { + "r" : "1115", + "value" : [ "DateTime", "(", "2000", ", ", "3", ", ", "15", ", ", "13", ", ", "30", ", ", "25", ", ", "200", ", " ] + }, { + "r" : "1122", + "s" : [ { + "r" : "1122", + "value" : [ "+", "1.0" ] + } ] + }, { + "value" : [ ")" ] + } ] + }, { + "r" : "1169", + "value" : [ " ", "before second of", " " ] + }, { + "r" : "1160", + "s" : [ { + "r" : "1142", + "value" : [ "DateTime", "(", "2000", ", ", "3", ", ", "15", ", ", "13", ", ", "30", ", ", "25", ", ", "500", ", " ] + }, { + "r" : "1149", + "s" : [ { + "r" : "1149", + "value" : [ "+", "1.0" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Before", + "localId" : "1169", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "precision" : "Second", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1170", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1171", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "DateTime", + "localId" : "1133", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1134", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1135", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1136", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1137", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1138", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1139", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1140", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1141", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1115", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1116", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "1117", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "15", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "1118", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "13", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "1119", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "30", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "1120", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "25", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "1121", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "200", + "annotation" : [ ] + }, + "timezoneOffset" : { + "type" : "Literal", + "localId" : "1122", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "1.0", + "annotation" : [ ] + } + }, { + "type" : "DateTime", + "localId" : "1160", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1161", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1162", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1163", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1164", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1165", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1166", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1167", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1168", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1142", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1143", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "1144", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "15", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "1145", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "13", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "1146", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "30", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "1147", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "25", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "1148", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "500", + "annotation" : [ ] + }, + "timezoneOffset" : { + "type" : "Literal", + "localId" : "1149", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "1.0", + "annotation" : [ ] + } + } ] + } + }, { + "localId" : "1174", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "SecondAfter", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "1174", + "s" : [ { + "value" : [ "", "define ", "SecondAfter", ": " ] + }, { + "r" : "1229", + "s" : [ { + "r" : "1193", + "s" : [ { + "r" : "1175", + "value" : [ "DateTime", "(", "2000", ", ", "3", ", ", "15", ", ", "13", ", ", "30", ", ", "25", ", ", "200", ", " ] + }, { + "r" : "1182", + "s" : [ { + "r" : "1182", + "value" : [ "+", "1.0" ] + } ] + }, { + "value" : [ ")" ] + } ] + }, { + "r" : "1229", + "value" : [ " ", "before second of", " " ] + }, { + "r" : "1220", + "s" : [ { + "r" : "1202", + "value" : [ "DateTime", "(", "2000", ", ", "3", ", ", "15", ", ", "13", ", ", "30", ", ", "24", ", ", "500", ", " ] + }, { + "r" : "1209", + "s" : [ { + "r" : "1209", + "value" : [ "+", "1.0" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Before", + "localId" : "1229", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "precision" : "Second", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1230", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1231", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "DateTime", + "localId" : "1193", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1194", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1195", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1196", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1197", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1198", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1199", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1200", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1201", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1175", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1176", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "1177", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "15", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "1178", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "13", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "1179", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "30", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "1180", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "25", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "1181", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "200", + "annotation" : [ ] + }, + "timezoneOffset" : { + "type" : "Literal", + "localId" : "1182", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "1.0", + "annotation" : [ ] + } + }, { + "type" : "DateTime", + "localId" : "1220", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1221", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1222", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1223", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1224", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1225", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1226", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1227", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1228", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1202", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1203", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "1204", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "15", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "1205", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "13", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "1206", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "30", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "1207", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "24", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "1208", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "500", + "annotation" : [ ] + }, + "timezoneOffset" : { + "type" : "Literal", + "localId" : "1209", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "1.0", + "annotation" : [ ] + } + } ] + } + }, { + "localId" : "1234", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "SecondBefore", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "1234", + "s" : [ { + "value" : [ "", "define ", "SecondBefore", ": " ] + }, { + "r" : "1289", + "s" : [ { + "r" : "1253", + "s" : [ { + "r" : "1235", + "value" : [ "DateTime", "(", "2000", ", ", "3", ", ", "15", ", ", "13", ", ", "30", ", ", "25", ", ", "200", ", " ] + }, { + "r" : "1242", + "s" : [ { + "r" : "1242", + "value" : [ "+", "1.0" ] + } ] + }, { + "value" : [ ")" ] + } ] + }, { + "r" : "1289", + "value" : [ " ", "before second of", " " ] + }, { + "r" : "1280", + "s" : [ { + "r" : "1262", + "value" : [ "DateTime", "(", "2000", ", ", "3", ", ", "15", ", ", "13", ", ", "30", ", ", "26", ", ", "500", ", " ] + }, { + "r" : "1269", + "s" : [ { + "r" : "1269", + "value" : [ "+", "1.0" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Before", + "localId" : "1289", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "precision" : "Second", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1290", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1291", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "DateTime", + "localId" : "1253", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1254", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1255", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1256", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1257", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1258", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1259", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1260", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1261", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1235", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1236", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "1237", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "15", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "1238", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "13", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "1239", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "30", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "1240", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "25", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "1241", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "200", + "annotation" : [ ] + }, + "timezoneOffset" : { + "type" : "Literal", + "localId" : "1242", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "1.0", + "annotation" : [ ] + } + }, { + "type" : "DateTime", + "localId" : "1280", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1281", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1282", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1283", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1284", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1285", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1286", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1287", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1288", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1262", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1263", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "1264", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "15", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "1265", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "13", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "1266", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "30", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "1267", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "26", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "1268", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "500", + "annotation" : [ ] + }, + "timezoneOffset" : { + "type" : "Literal", + "localId" : "1269", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "1.0", + "annotation" : [ ] + } + } ] + } + }, { + "localId" : "1294", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "SameMillisecond", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "1294", + "s" : [ { + "value" : [ "", "define ", "SameMillisecond", ": " ] + }, { + "r" : "1349", + "s" : [ { + "r" : "1313", + "s" : [ { + "r" : "1295", + "value" : [ "DateTime", "(", "2000", ", ", "3", ", ", "15", ", ", "13", ", ", "30", ", ", "25", ", ", "200", ", " ] + }, { + "r" : "1302", + "s" : [ { + "r" : "1302", + "value" : [ "+", "1.0" ] + } ] + }, { + "value" : [ ")" ] + } ] + }, { + "r" : "1349", + "value" : [ " ", "before millisecond of", " " ] + }, { + "r" : "1340", + "s" : [ { + "r" : "1322", + "value" : [ "DateTime", "(", "2000", ", ", "3", ", ", "15", ", ", "13", ", ", "30", ", ", "25", ", ", "200", ", " ] + }, { + "r" : "1329", + "s" : [ { + "r" : "1329", + "value" : [ "+", "1.0" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Before", + "localId" : "1349", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "precision" : "Millisecond", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1350", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1351", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "DateTime", + "localId" : "1313", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1314", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1315", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1316", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1317", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1318", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1319", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1320", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1321", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1295", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1296", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "1297", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "15", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "1298", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "13", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "1299", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "30", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "1300", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "25", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "1301", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "200", + "annotation" : [ ] + }, + "timezoneOffset" : { + "type" : "Literal", + "localId" : "1302", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "1.0", + "annotation" : [ ] + } + }, { + "type" : "DateTime", + "localId" : "1340", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1341", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1342", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1343", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1344", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1345", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1346", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1347", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1348", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1322", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1323", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "1324", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "15", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "1325", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "13", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "1326", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "30", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "1327", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "25", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "1328", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "200", + "annotation" : [ ] + }, + "timezoneOffset" : { + "type" : "Literal", + "localId" : "1329", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "1.0", + "annotation" : [ ] + } + } ] + } + }, { + "localId" : "1354", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "MillisecondAfter", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "1354", + "s" : [ { + "value" : [ "", "define ", "MillisecondAfter", ": " ] + }, { + "r" : "1409", + "s" : [ { + "r" : "1373", + "s" : [ { + "r" : "1355", + "value" : [ "DateTime", "(", "2000", ", ", "3", ", ", "15", ", ", "13", ", ", "30", ", ", "25", ", ", "200", ", " ] + }, { + "r" : "1362", + "s" : [ { + "r" : "1362", + "value" : [ "+", "1.0" ] + } ] + }, { + "value" : [ ")" ] + } ] + }, { + "r" : "1409", + "value" : [ " ", "before millisecond of", " " ] + }, { + "r" : "1400", + "s" : [ { + "r" : "1382", + "value" : [ "DateTime", "(", "2000", ", ", "3", ", ", "15", ", ", "13", ", ", "30", ", ", "25", ", ", "199", ", " ] + }, { + "r" : "1389", + "s" : [ { + "r" : "1389", + "value" : [ "+", "1.0" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Before", + "localId" : "1409", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "precision" : "Millisecond", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1410", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1411", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "DateTime", + "localId" : "1373", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1374", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1375", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1376", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1377", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1378", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1379", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1380", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1381", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1355", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1356", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "1357", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "15", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "1358", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "13", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "1359", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "30", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "1360", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "25", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "1361", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "200", + "annotation" : [ ] + }, + "timezoneOffset" : { + "type" : "Literal", + "localId" : "1362", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "1.0", + "annotation" : [ ] + } + }, { + "type" : "DateTime", + "localId" : "1400", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1401", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1402", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1403", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1404", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1405", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1406", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1407", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1408", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1382", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1383", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "1384", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "15", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "1385", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "13", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "1386", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "30", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "1387", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "25", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "1388", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "199", + "annotation" : [ ] + }, + "timezoneOffset" : { + "type" : "Literal", + "localId" : "1389", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "1.0", + "annotation" : [ ] + } + } ] + } + }, { + "localId" : "1414", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "MillisecondBefore", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "1414", + "s" : [ { + "value" : [ "", "define ", "MillisecondBefore", ": " ] + }, { + "r" : "1469", + "s" : [ { + "r" : "1433", + "s" : [ { + "r" : "1415", + "value" : [ "DateTime", "(", "2000", ", ", "3", ", ", "15", ", ", "13", ", ", "30", ", ", "25", ", ", "200", ", " ] + }, { + "r" : "1422", + "s" : [ { + "r" : "1422", + "value" : [ "+", "1.0" ] + } ] + }, { + "value" : [ ")" ] + } ] + }, { + "r" : "1469", + "value" : [ " ", "before millisecond of", " " ] + }, { + "r" : "1460", + "s" : [ { + "r" : "1442", + "value" : [ "DateTime", "(", "2000", ", ", "3", ", ", "15", ", ", "13", ", ", "30", ", ", "25", ", ", "201", ", " ] + }, { + "r" : "1449", + "s" : [ { + "r" : "1449", + "value" : [ "+", "1.0" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Before", + "localId" : "1469", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "precision" : "Millisecond", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1470", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1471", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "DateTime", + "localId" : "1433", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1434", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1435", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1436", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1437", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1438", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1439", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1440", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1441", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1415", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1416", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "1417", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "15", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "1418", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "13", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "1419", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "30", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "1420", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "25", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "1421", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "200", + "annotation" : [ ] + }, + "timezoneOffset" : { + "type" : "Literal", + "localId" : "1422", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "1.0", + "annotation" : [ ] + } + }, { + "type" : "DateTime", + "localId" : "1460", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1461", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1462", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1463", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1464", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1465", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1466", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1467", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1468", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1442", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1443", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "1444", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "15", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "1445", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "13", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "1446", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "30", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "1447", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "25", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "1448", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "201", + "annotation" : [ ] + }, + "timezoneOffset" : { + "type" : "Literal", + "localId" : "1449", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "1.0", + "annotation" : [ ] + } + } ] + } + }, { + "localId" : "1474", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "Same", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "1474", + "s" : [ { + "value" : [ "", "define ", "Same", ": " ] + }, { + "r" : "1529", + "s" : [ { + "r" : "1493", + "s" : [ { + "r" : "1475", + "value" : [ "DateTime", "(", "2000", ", ", "3", ", ", "15", ", ", "13", ", ", "30", ", ", "25", ", ", "200", ", " ] + }, { + "r" : "1482", + "s" : [ { + "r" : "1482", + "value" : [ "+", "1.0" ] + } ] + }, { + "value" : [ ")" ] + } ] + }, { + "r" : "1529", + "value" : [ " ", "before", " " ] + }, { + "r" : "1520", + "s" : [ { + "r" : "1502", + "value" : [ "DateTime", "(", "2000", ", ", "3", ", ", "15", ", ", "13", ", ", "30", ", ", "25", ", ", "200", ", " ] + }, { + "r" : "1509", + "s" : [ { + "r" : "1509", + "value" : [ "+", "1.0" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Before", + "localId" : "1529", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1530", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1531", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "DateTime", + "localId" : "1493", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1494", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1495", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1496", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1497", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1498", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1499", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1500", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1501", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1475", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1476", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "1477", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "15", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "1478", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "13", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "1479", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "30", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "1480", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "25", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "1481", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "200", + "annotation" : [ ] + }, + "timezoneOffset" : { + "type" : "Literal", + "localId" : "1482", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "1.0", + "annotation" : [ ] + } + }, { + "type" : "DateTime", + "localId" : "1520", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1521", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1522", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1523", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1524", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1525", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1526", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1527", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1528", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1502", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1503", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "1504", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "15", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "1505", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "13", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "1506", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "30", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "1507", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "25", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "1508", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "200", + "annotation" : [ ] + }, + "timezoneOffset" : { + "type" : "Literal", + "localId" : "1509", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "1.0", + "annotation" : [ ] + } + } ] + } + }, { + "localId" : "1534", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "After", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "1534", + "s" : [ { + "value" : [ "", "define ", "After", ": " ] + }, { + "r" : "1589", + "s" : [ { + "r" : "1553", + "s" : [ { + "r" : "1535", + "value" : [ "DateTime", "(", "2000", ", ", "3", ", ", "15", ", ", "13", ", ", "30", ", ", "25", ", ", "200", ", " ] + }, { + "r" : "1542", + "s" : [ { + "r" : "1542", + "value" : [ "+", "1.0" ] + } ] + }, { + "value" : [ ")" ] + } ] + }, { + "r" : "1589", + "value" : [ " ", "before", " " ] + }, { + "r" : "1580", + "s" : [ { + "r" : "1562", + "value" : [ "DateTime", "(", "2000", ", ", "3", ", ", "15", ", ", "13", ", ", "30", ", ", "25", ", ", "199", ", " ] + }, { + "r" : "1569", + "s" : [ { + "r" : "1569", + "value" : [ "+", "1.0" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Before", + "localId" : "1589", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1590", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1591", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "DateTime", + "localId" : "1553", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1554", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1555", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1556", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1557", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1558", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1559", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1560", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1561", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1535", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1536", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "1537", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "15", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "1538", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "13", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "1539", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "30", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "1540", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "25", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "1541", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "200", + "annotation" : [ ] + }, + "timezoneOffset" : { + "type" : "Literal", + "localId" : "1542", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "1.0", + "annotation" : [ ] + } + }, { + "type" : "DateTime", + "localId" : "1580", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1581", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1582", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1583", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1584", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1585", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1586", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1587", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1588", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1562", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1563", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "1564", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "15", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "1565", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "13", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "1566", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "30", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "1567", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "25", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "1568", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "199", + "annotation" : [ ] + }, + "timezoneOffset" : { + "type" : "Literal", + "localId" : "1569", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "1.0", + "annotation" : [ ] + } + } ] + } + }, { + "localId" : "1594", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "Before", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "1594", + "s" : [ { + "value" : [ "", "define ", "Before", ": " ] + }, { + "r" : "1649", + "s" : [ { + "r" : "1613", + "s" : [ { + "r" : "1595", + "value" : [ "DateTime", "(", "2000", ", ", "3", ", ", "15", ", ", "13", ", ", "30", ", ", "25", ", ", "200", ", " ] + }, { + "r" : "1602", + "s" : [ { + "r" : "1602", + "value" : [ "+", "1.0" ] + } ] + }, { + "value" : [ ")" ] + } ] + }, { + "r" : "1649", + "value" : [ " ", "before", " " ] + }, { + "r" : "1640", + "s" : [ { + "r" : "1622", + "value" : [ "DateTime", "(", "2000", ", ", "3", ", ", "15", ", ", "13", ", ", "30", ", ", "25", ", ", "201", ", " ] + }, { + "r" : "1629", + "s" : [ { + "r" : "1629", + "value" : [ "+", "1.0" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Before", + "localId" : "1649", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1650", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1651", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "DateTime", + "localId" : "1613", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1614", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1615", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1616", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1617", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1618", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1619", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1620", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1621", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1595", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1596", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "1597", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "15", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "1598", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "13", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "1599", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "30", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "1600", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "25", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "1601", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "200", + "annotation" : [ ] + }, + "timezoneOffset" : { + "type" : "Literal", + "localId" : "1602", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "1.0", + "annotation" : [ ] + } + }, { + "type" : "DateTime", + "localId" : "1640", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1641", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1642", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1643", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1644", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1645", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1646", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1647", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1648", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1622", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1623", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "1624", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "15", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "1625", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "13", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "1626", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "30", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "1627", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "25", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "1628", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "201", + "annotation" : [ ] + }, + "timezoneOffset" : { + "type" : "Literal", + "localId" : "1629", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "1.0", + "annotation" : [ ] + } + } ] + } + }, { + "localId" : "1654", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "ImpreciseDay", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "1654", + "s" : [ { + "value" : [ "", "define ", "ImpreciseDay", ": " ] + }, { + "r" : "1688", + "s" : [ { + "r" : "1671", + "s" : [ { + "r" : "1655", + "value" : [ "DateTime", "(", "2000", ", ", "3", ", ", "15", ", ", "13", ", ", "30", ", ", "25", ", ", "200", ")" ] + } ] + }, { + "r" : "1688", + "value" : [ " ", "before day of", " " ] + }, { + "r" : "1685", + "s" : [ { + "r" : "1679", + "value" : [ "DateTime", "(", "2000", ", ", "3", ")" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Before", + "localId" : "1688", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "precision" : "Day", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1689", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1690", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "DateTime", + "localId" : "1671", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1672", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1673", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1674", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1675", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1676", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1677", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1678", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1655", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1656", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "1657", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "15", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "1658", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "13", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "1659", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "30", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "1660", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "25", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "1661", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "200", + "annotation" : [ ] + } + }, { + "type" : "DateTime", + "localId" : "1685", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1686", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1687", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1679", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1680", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + } + } ] + } + }, { + "localId" : "1693", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "ImpreciseDayMonthAfter", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "1693", + "s" : [ { + "value" : [ "", "define ", "ImpreciseDayMonthAfter", ": " ] + }, { + "r" : "1727", + "s" : [ { + "r" : "1710", + "s" : [ { + "r" : "1694", + "value" : [ "DateTime", "(", "2000", ", ", "3", ", ", "15", ", ", "13", ", ", "30", ", ", "25", ", ", "200", ")" ] + } ] + }, { + "r" : "1727", + "value" : [ " ", "before day of", " " ] + }, { + "r" : "1724", + "s" : [ { + "r" : "1718", + "value" : [ "DateTime", "(", "2000", ", ", "2", ")" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Before", + "localId" : "1727", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "precision" : "Day", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1728", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1729", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "DateTime", + "localId" : "1710", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1711", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1712", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1713", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1714", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1715", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1716", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1717", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1694", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1695", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "1696", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "15", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "1697", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "13", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "1698", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "30", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "1699", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "25", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "1700", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "200", + "annotation" : [ ] + } + }, { + "type" : "DateTime", + "localId" : "1724", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1725", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1726", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1718", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1719", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "annotation" : [ ] + } + } ] + } + }, { + "localId" : "1732", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "ImpreciseDayMonthBefore", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "1732", + "s" : [ { + "value" : [ "", "define ", "ImpreciseDayMonthBefore", ": " ] + }, { + "r" : "1766", + "s" : [ { + "r" : "1749", + "s" : [ { + "r" : "1733", + "value" : [ "DateTime", "(", "2000", ", ", "3", ", ", "15", ", ", "13", ", ", "30", ", ", "25", ", ", "200", ")" ] + } ] + }, { + "r" : "1766", + "value" : [ " ", "before day of", " " ] + }, { + "r" : "1763", + "s" : [ { + "r" : "1757", + "value" : [ "DateTime", "(", "2000", ", ", "4", ")" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Before", + "localId" : "1766", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "precision" : "Day", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1767", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1768", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "DateTime", + "localId" : "1749", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1750", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1751", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1752", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1753", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1754", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1755", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1756", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1733", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1734", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "1735", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "15", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "1736", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "13", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "1737", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "30", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "1738", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "25", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "1739", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "200", + "annotation" : [ ] + } + }, { + "type" : "DateTime", + "localId" : "1763", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1764", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1765", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1757", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1758", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "4", + "annotation" : [ ] + } + } ] + } + }, { + "localId" : "1771", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "SameHourNormalizeZones", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "1771", + "s" : [ { + "value" : [ "", "define ", "SameHourNormalizeZones", ": " ] + }, { + "r" : "1828", + "s" : [ { + "r" : "1790", + "s" : [ { + "r" : "1772", + "value" : [ "DateTime", "(", "2000", ", ", "3", ", ", "15", ", ", "13", ", ", "30", ", ", "25", ", ", "200", ", " ] + }, { + "r" : "1779", + "s" : [ { + "r" : "1779", + "value" : [ "+", "1.0" ] + } ] + }, { + "value" : [ ")" ] + } ] + }, { + "r" : "1828", + "value" : [ " ", "before hour of", " " ] + }, { + "r" : "1819", + "s" : [ { + "r" : "1799", + "value" : [ "DateTime", "(", "2000", ", ", "3", ", ", "15", ", ", "7", ", ", "30", ", ", "25", ", ", "200", ", " ] + }, { + "r" : "1806", + "s" : [ { + "r" : "1807", + "value" : [ "-", "5.0" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Before", + "localId" : "1828", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "precision" : "Hour", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1829", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1830", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "DateTime", + "localId" : "1790", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1791", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1792", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1793", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1794", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1795", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1796", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1797", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1798", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1772", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1773", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "1774", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "15", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "1775", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "13", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "1776", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "30", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "1777", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "25", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "1778", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "200", + "annotation" : [ ] + }, + "timezoneOffset" : { + "type" : "Literal", + "localId" : "1779", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "1.0", + "annotation" : [ ] + } + }, { + "type" : "DateTime", + "localId" : "1819", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1820", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1821", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1822", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1823", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1824", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1825", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1826", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1827", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1799", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1800", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "1801", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "15", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "1802", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "7", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "1803", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "30", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "1804", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "25", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "1805", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "200", + "annotation" : [ ] + }, + "timezoneOffset" : { + "type" : "Negate", + "localId" : "1806", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1808", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } ], + "operand" : { + "type" : "Literal", + "localId" : "1807", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "5.0", + "annotation" : [ ] + } + } + } ] + } + }, { + "localId" : "1833", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "HourAfterNormalizeZones", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "1833", + "s" : [ { + "value" : [ "", "define ", "HourAfterNormalizeZones", ": " ] + }, { + "r" : "1890", + "s" : [ { + "r" : "1852", + "s" : [ { + "r" : "1834", + "value" : [ "DateTime", "(", "2000", ", ", "3", ", ", "15", ", ", "13", ", ", "30", ", ", "25", ", ", "200", ", " ] + }, { + "r" : "1841", + "s" : [ { + "r" : "1841", + "value" : [ "+", "1.0" ] + } ] + }, { + "value" : [ ")" ] + } ] + }, { + "r" : "1890", + "value" : [ " ", "before hour of", " " ] + }, { + "r" : "1881", + "s" : [ { + "r" : "1861", + "value" : [ "DateTime", "(", "2000", ", ", "3", ", ", "15", ", ", "6", ", ", "30", ", ", "25", ", ", "200", ", " ] + }, { + "r" : "1868", + "s" : [ { + "r" : "1869", + "value" : [ "-", "5.0" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Before", + "localId" : "1890", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "precision" : "Hour", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1891", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1892", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "DateTime", + "localId" : "1852", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1853", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1854", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1855", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1856", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1857", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1858", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1859", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1860", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1834", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1835", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "1836", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "15", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "1837", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "13", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "1838", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "30", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "1839", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "25", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "1840", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "200", + "annotation" : [ ] + }, + "timezoneOffset" : { + "type" : "Literal", + "localId" : "1841", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "1.0", + "annotation" : [ ] + } + }, { + "type" : "DateTime", + "localId" : "1881", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1882", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1883", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1884", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1885", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1886", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1887", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1888", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1889", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1861", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1862", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "1863", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "15", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "1864", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "6", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "1865", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "30", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "1866", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "25", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "1867", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "200", + "annotation" : [ ] + }, + "timezoneOffset" : { + "type" : "Negate", + "localId" : "1868", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1870", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } ], + "operand" : { + "type" : "Literal", + "localId" : "1869", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "5.0", + "annotation" : [ ] + } + } + } ] + } + }, { + "localId" : "1895", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "HourBeforeNormalizeZones", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "1895", + "s" : [ { + "value" : [ "", "define ", "HourBeforeNormalizeZones", ": " ] + }, { + "r" : "1952", + "s" : [ { + "r" : "1914", + "s" : [ { + "r" : "1896", + "value" : [ "DateTime", "(", "2000", ", ", "3", ", ", "15", ", ", "13", ", ", "30", ", ", "25", ", ", "200", ", " ] + }, { + "r" : "1903", + "s" : [ { + "r" : "1903", + "value" : [ "+", "1.0" ] + } ] + }, { + "value" : [ ")" ] + } ] + }, { + "r" : "1952", + "value" : [ " ", "before hour of", " " ] + }, { + "r" : "1943", + "s" : [ { + "r" : "1923", + "value" : [ "DateTime", "(", "2000", ", ", "3", ", ", "15", ", ", "8", ", ", "30", ", ", "25", ", ", "200", ", " ] + }, { + "r" : "1930", + "s" : [ { + "r" : "1931", + "value" : [ "-", "5.0" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Before", + "localId" : "1952", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "precision" : "Hour", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1953", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1954", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "DateTime", + "localId" : "1914", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1915", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1916", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1917", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1918", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1919", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1920", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1921", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1922", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1896", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1897", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "1898", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "15", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "1899", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "13", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "1900", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "30", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "1901", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "25", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "1902", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "200", + "annotation" : [ ] + }, + "timezoneOffset" : { + "type" : "Literal", + "localId" : "1903", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "1.0", + "annotation" : [ ] + } + }, { + "type" : "DateTime", + "localId" : "1943", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1944", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1945", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1946", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1947", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1948", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1949", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1950", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1951", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1923", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1924", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "1925", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "15", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "1926", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "8", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "1927", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "30", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "1928", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "25", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "1929", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "200", + "annotation" : [ ] + }, + "timezoneOffset" : { + "type" : "Negate", + "localId" : "1930", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1932", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } ], + "operand" : { + "type" : "Literal", + "localId" : "1931", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "5.0", + "annotation" : [ ] + } + } + } ] + } + }, { + "localId" : "1957", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "NullLeft", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "1957", + "s" : [ { + "value" : [ "", "define ", "NullLeft", ": " ] + }, { + "r" : "1986", + "s" : [ { + "r" : "1958", + "value" : [ "null", " ", "before", " " ] + }, { + "r" : "1977", + "s" : [ { + "r" : "1959", + "value" : [ "DateTime", "(", "2000", ", ", "3", ", ", "15", ", ", "13", ", ", "30", ", ", "25", ", ", "200", ", " ] + }, { + "r" : "1966", + "s" : [ { + "r" : "1966", + "value" : [ "+", "1.0" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Before", + "localId" : "1986", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1988", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1989", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "As", + "localId" : "1987", + "asType" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Null", + "localId" : "1958", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } + }, { + "type" : "DateTime", + "localId" : "1977", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1978", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1979", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1980", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1981", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1982", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1983", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1984", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1985", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1959", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1960", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "1961", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "15", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "1962", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "13", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "1963", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "30", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "1964", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "25", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "1965", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "200", + "annotation" : [ ] + }, + "timezoneOffset" : { + "type" : "Literal", + "localId" : "1966", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "1.0", + "annotation" : [ ] + } + } ] + } + }, { + "localId" : "1992", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "NullRight", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "1992", + "s" : [ { + "value" : [ "", "define ", "NullRight", ": " ] + }, { + "r" : "2021", + "s" : [ { + "r" : "2011", + "s" : [ { + "r" : "1993", + "value" : [ "DateTime", "(", "2000", ", ", "3", ", ", "15", ", ", "13", ", ", "30", ", ", "25", ", ", "200", ", " ] + }, { + "r" : "2000", + "s" : [ { + "r" : "2000", + "value" : [ "+", "1.0" ] + } ] + }, { + "value" : [ ")" ] + } ] + }, { + "r" : "2021", + "value" : [ " ", "before", " ", "null" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Before", + "localId" : "2021", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "2023", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2024", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "DateTime", + "localId" : "2011", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "2012", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2013", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2014", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2015", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2016", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2017", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2018", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2019", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1993", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1994", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "1995", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "15", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "1996", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "13", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "1997", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "30", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "1998", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "25", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "1999", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "200", + "annotation" : [ ] + }, + "timezoneOffset" : { + "type" : "Literal", + "localId" : "2000", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "1.0", + "annotation" : [ ] + } + }, { + "type" : "As", + "localId" : "2022", + "asType" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Null", + "localId" : "2020", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } + } ] + } + }, { + "localId" : "2027", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "NullBoth", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "2027", + "s" : [ { + "value" : [ "", "define ", "NullBoth", ": " ] + }, { + "r" : "2032", + "s" : [ { + "r" : "2028", + "s" : [ { + "value" : [ "(" ] + }, { + "r" : "2028", + "s" : [ { + "r" : "2029", + "value" : [ "null", " as " ] }, { - "localId" : "2016", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" + "r" : "2030", + "s" : [ { + "value" : [ "DateTime" ] + } ] + } ] + }, { + "value" : [ ")" ] + } ] + }, { + "r" : "2032", + "value" : [ " ", "before", " ", "null" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Before", + "localId" : "2032", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "2034", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2035", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "As", + "localId" : "2028", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "strict" : false, + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Null", + "localId" : "2029", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + }, + "asTypeSpecifier" : { + "type" : "NamedTypeSpecifier", + "localId" : "2030", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, { + "type" : "As", + "localId" : "2033", + "asType" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Null", + "localId" : "2031", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } + } ] + } + } ] + } + } +} + +/* DifferenceBetween +library TestSnippet version '1' +using Simple version '1.0.0' +context Patient +define NewYear2013: DateTime(2013, 1, 1, 0, 0, 0, 0) +define NewYear2014: DateTime(2014, 1, 1, 0, 0, 0, 0) +define January2014: DateTime(2014, 1) +define YearsBetween: difference in years between NewYear2013 and NewYear2014 +define MonthsBetween: difference in months between NewYear2013 and NewYear2014 +define WeeksBetween: difference in weeks between NewYear2013 and NewYear2014 +define DaysBetween: difference in days between NewYear2013 and NewYear2014 +define HoursBetween: difference in hours between NewYear2013 and NewYear2014 +define MinutesBetween: difference in minutes between NewYear2013 and NewYear2014 +define SecondsBetween: difference in seconds between NewYear2013 and NewYear2014 +define MillisecondsBetween: difference in milliseconds between NewYear2013 and NewYear2014 +define MillisecondsBetweenReversed: difference in milliseconds between NewYear2014 and NewYear2013 +define YearsBetweenUncertainty: difference in years between NewYear2014 and January2014 +define MonthsBetweenUncertainty: difference in months between NewYear2014 and January2014 +define WeeksBetweenUncertainty: difference in weeks between NewYear2014 and January2014 +define DaysBetweenUncertainty: difference in days between NewYear2014 and January2014 +define HoursBetweenUncertainty: difference in hours between NewYear2014 and January2014 +define MinutesBetweenUncertainty: difference in minutes between NewYear2014 and January2014 +define SecondsBetweenUncertainty: difference in seconds between NewYear2014 and January2014 +define MillisecondsBetweenUncertainty: difference in milliseconds between NewYear2014 and January2014 +define MillisecondsBetweenReversedUncertainty: difference in milliseconds between January2014 and NewYear2014 +define HoursBetween1and3CrossingSpringDST: difference in hours between DateTime(2017, 3, 12, 1, 0, 0, 0, -5.0) and DateTime(2017, 3, 12, 3, 0, 0, 0, -4.0) +define HoursBetween1and3CrossingFallDST: difference in hours between DateTime(2017, 11, 5, 1, 0, 0, 0, -4.0) and DateTime(2017, 11, 5, 3, 0, 0, 0, -5.0) +*/ + +module.exports['DifferenceBetween'] = { + "library" : { + "localId" : "0", + "annotation" : [ { + "type" : "CqlToElmInfo", + "translatorVersion" : "4.2.0", + "translatorOptions" : "EnableDateRangeOptimization,EnableAnnotations,EnableResultTypes", + "signatureLevel" : "All" + }, { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "488", + "s" : [ { + "value" : [ "", "library TestSnippet version '1'" ] + } ] + } + } ], + "identifier" : { + "id" : "TestSnippet", + "version" : "1" + }, + "schemaIdentifier" : { + "id" : "urn:hl7-org:elm", + "version" : "r1" + }, + "usings" : { + "def" : [ { + "localId" : "1", + "localIdentifier" : "System", + "uri" : "urn:hl7-org:elm-types:r1", + "annotation" : [ ] + }, { + "localId" : "206", + "localIdentifier" : "Simple", + "uri" : "https://github.com/cqframework/cql-execution/simple", + "version" : "1.0.0", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "206", + "s" : [ { + "value" : [ "", "using " ] + }, { + "s" : [ { + "value" : [ "Simple" ] + } ] + }, { + "value" : [ " version '1.0.0'" ] + } ] + } + } ] + } ] + }, + "contexts" : { + "def" : [ { + "localId" : "211", + "name" : "Patient", + "annotation" : [ ] + } ] + }, + "statements" : { + "def" : [ { + "localId" : "209", + "name" : "Patient", + "context" : "Patient", + "annotation" : [ ], + "expression" : { + "type" : "SingletonFrom", + "localId" : "210", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Retrieve", + "localId" : "208", + "dataType" : "{https://github.com/cqframework/cql-execution/simple}Patient", + "annotation" : [ ], + "include" : [ ], + "codeFilter" : [ ], + "dateFilter" : [ ], + "otherFilter" : [ ] + } + } + }, { + "localId" : "214", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "name" : "NewYear2013", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "214", + "s" : [ { + "value" : [ "", "define ", "NewYear2013", ": " ] + }, { + "r" : "231", + "s" : [ { + "r" : "215", + "value" : [ "DateTime", "(", "2013", ", ", "1", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "DateTime", + "localId" : "231", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "232", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "233", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "234", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "235", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "236", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "237", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "238", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "215", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2013", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "216", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "217", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "218", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "219", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "220", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "221", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + } + }, { + "localId" : "241", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "name" : "NewYear2014", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "241", + "s" : [ { + "value" : [ "", "define ", "NewYear2014", ": " ] + }, { + "r" : "258", + "s" : [ { + "r" : "242", + "value" : [ "DateTime", "(", "2014", ", ", "1", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "DateTime", + "localId" : "258", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "259", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "260", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "261", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "262", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "263", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "264", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "265", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "242", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2014", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "243", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "244", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "245", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "246", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "247", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "248", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + } + }, { + "localId" : "268", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "name" : "January2014", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "268", + "s" : [ { + "value" : [ "", "define ", "January2014", ": " ] + }, { + "r" : "275", + "s" : [ { + "r" : "269", + "value" : [ "DateTime", "(", "2014", ", ", "1", ")" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "DateTime", + "localId" : "275", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "276", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "277", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "269", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2014", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "270", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + } + } + }, { + "localId" : "280", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "name" : "YearsBetween", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "280", + "s" : [ { + "value" : [ "", "define ", "YearsBetween", ": " ] + }, { + "r" : "281", + "s" : [ { + "value" : [ "difference in years between " ] + }, { + "r" : "282", + "s" : [ { + "value" : [ "NewYear2013" ] + } ] + }, { + "value" : [ " and " ] + }, { + "r" : "283", + "s" : [ { + "value" : [ "NewYear2014" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "DifferenceBetween", + "localId" : "281", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "precision" : "Year", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "284", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "285", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "ExpressionRef", + "localId" : "282", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "name" : "NewYear2013", + "annotation" : [ ] + }, { + "type" : "ExpressionRef", + "localId" : "283", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "name" : "NewYear2014", + "annotation" : [ ] + } ] + } + }, { + "localId" : "288", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "name" : "MonthsBetween", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "288", + "s" : [ { + "value" : [ "", "define ", "MonthsBetween", ": " ] + }, { + "r" : "289", + "s" : [ { + "value" : [ "difference in months between " ] + }, { + "r" : "290", + "s" : [ { + "value" : [ "NewYear2013" ] + } ] + }, { + "value" : [ " and " ] + }, { + "r" : "291", + "s" : [ { + "value" : [ "NewYear2014" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "DifferenceBetween", + "localId" : "289", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "precision" : "Month", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "292", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "293", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "ExpressionRef", + "localId" : "290", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "name" : "NewYear2013", + "annotation" : [ ] + }, { + "type" : "ExpressionRef", + "localId" : "291", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "name" : "NewYear2014", + "annotation" : [ ] + } ] + } + }, { + "localId" : "296", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "name" : "WeeksBetween", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "296", + "s" : [ { + "value" : [ "", "define ", "WeeksBetween", ": " ] + }, { + "r" : "297", + "s" : [ { + "value" : [ "difference in weeks between " ] + }, { + "r" : "298", + "s" : [ { + "value" : [ "NewYear2013" ] + } ] + }, { + "value" : [ " and " ] + }, { + "r" : "299", + "s" : [ { + "value" : [ "NewYear2014" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "DifferenceBetween", + "localId" : "297", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "precision" : "Week", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "300", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "301", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "ExpressionRef", + "localId" : "298", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "name" : "NewYear2013", + "annotation" : [ ] + }, { + "type" : "ExpressionRef", + "localId" : "299", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "name" : "NewYear2014", + "annotation" : [ ] + } ] + } + }, { + "localId" : "304", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "name" : "DaysBetween", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "304", + "s" : [ { + "value" : [ "", "define ", "DaysBetween", ": " ] + }, { + "r" : "305", + "s" : [ { + "value" : [ "difference in days between " ] + }, { + "r" : "306", + "s" : [ { + "value" : [ "NewYear2013" ] + } ] + }, { + "value" : [ " and " ] + }, { + "r" : "307", + "s" : [ { + "value" : [ "NewYear2014" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "DifferenceBetween", + "localId" : "305", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "precision" : "Day", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "308", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "309", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "ExpressionRef", + "localId" : "306", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "name" : "NewYear2013", + "annotation" : [ ] + }, { + "type" : "ExpressionRef", + "localId" : "307", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "name" : "NewYear2014", + "annotation" : [ ] + } ] + } + }, { + "localId" : "312", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "name" : "HoursBetween", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "312", + "s" : [ { + "value" : [ "", "define ", "HoursBetween", ": " ] + }, { + "r" : "313", + "s" : [ { + "value" : [ "difference in hours between " ] + }, { + "r" : "314", + "s" : [ { + "value" : [ "NewYear2013" ] + } ] + }, { + "value" : [ " and " ] + }, { + "r" : "315", + "s" : [ { + "value" : [ "NewYear2014" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "DifferenceBetween", + "localId" : "313", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "precision" : "Hour", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "316", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "317", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "ExpressionRef", + "localId" : "314", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "name" : "NewYear2013", + "annotation" : [ ] + }, { + "type" : "ExpressionRef", + "localId" : "315", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "name" : "NewYear2014", + "annotation" : [ ] + } ] + } + }, { + "localId" : "320", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "name" : "MinutesBetween", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "320", + "s" : [ { + "value" : [ "", "define ", "MinutesBetween", ": " ] + }, { + "r" : "321", + "s" : [ { + "value" : [ "difference in minutes between " ] + }, { + "r" : "322", + "s" : [ { + "value" : [ "NewYear2013" ] + } ] + }, { + "value" : [ " and " ] + }, { + "r" : "323", + "s" : [ { + "value" : [ "NewYear2014" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "DifferenceBetween", + "localId" : "321", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "precision" : "Minute", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "324", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "325", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "ExpressionRef", + "localId" : "322", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "name" : "NewYear2013", + "annotation" : [ ] + }, { + "type" : "ExpressionRef", + "localId" : "323", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "name" : "NewYear2014", + "annotation" : [ ] + } ] + } + }, { + "localId" : "328", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "name" : "SecondsBetween", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "328", + "s" : [ { + "value" : [ "", "define ", "SecondsBetween", ": " ] + }, { + "r" : "329", + "s" : [ { + "value" : [ "difference in seconds between " ] + }, { + "r" : "330", + "s" : [ { + "value" : [ "NewYear2013" ] + } ] + }, { + "value" : [ " and " ] + }, { + "r" : "331", + "s" : [ { + "value" : [ "NewYear2014" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "DifferenceBetween", + "localId" : "329", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "precision" : "Second", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "332", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "333", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "ExpressionRef", + "localId" : "330", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "name" : "NewYear2013", + "annotation" : [ ] + }, { + "type" : "ExpressionRef", + "localId" : "331", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "name" : "NewYear2014", + "annotation" : [ ] + } ] + } + }, { + "localId" : "336", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "name" : "MillisecondsBetween", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "336", + "s" : [ { + "value" : [ "", "define ", "MillisecondsBetween", ": " ] + }, { + "r" : "337", + "s" : [ { + "value" : [ "difference in milliseconds between " ] + }, { + "r" : "338", + "s" : [ { + "value" : [ "NewYear2013" ] + } ] + }, { + "value" : [ " and " ] + }, { + "r" : "339", + "s" : [ { + "value" : [ "NewYear2014" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "DifferenceBetween", + "localId" : "337", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "precision" : "Millisecond", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "340", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "341", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "ExpressionRef", + "localId" : "338", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "name" : "NewYear2013", + "annotation" : [ ] + }, { + "type" : "ExpressionRef", + "localId" : "339", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "name" : "NewYear2014", + "annotation" : [ ] + } ] + } + }, { + "localId" : "344", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "name" : "MillisecondsBetweenReversed", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "344", + "s" : [ { + "value" : [ "", "define ", "MillisecondsBetweenReversed", ": " ] + }, { + "r" : "345", + "s" : [ { + "value" : [ "difference in milliseconds between " ] + }, { + "r" : "346", + "s" : [ { + "value" : [ "NewYear2014" ] + } ] + }, { + "value" : [ " and " ] + }, { + "r" : "347", + "s" : [ { + "value" : [ "NewYear2013" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "DifferenceBetween", + "localId" : "345", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "precision" : "Millisecond", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "348", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "349", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "ExpressionRef", + "localId" : "346", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "name" : "NewYear2014", + "annotation" : [ ] + }, { + "type" : "ExpressionRef", + "localId" : "347", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "name" : "NewYear2013", + "annotation" : [ ] + } ] + } + }, { + "localId" : "352", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "name" : "YearsBetweenUncertainty", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "352", + "s" : [ { + "value" : [ "", "define ", "YearsBetweenUncertainty", ": " ] + }, { + "r" : "353", + "s" : [ { + "value" : [ "difference in years between " ] + }, { + "r" : "354", + "s" : [ { + "value" : [ "NewYear2014" ] + } ] + }, { + "value" : [ " and " ] + }, { + "r" : "355", + "s" : [ { + "value" : [ "January2014" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "DifferenceBetween", + "localId" : "353", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "precision" : "Year", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "356", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "357", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "ExpressionRef", + "localId" : "354", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "name" : "NewYear2014", + "annotation" : [ ] + }, { + "type" : "ExpressionRef", + "localId" : "355", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "name" : "January2014", + "annotation" : [ ] + } ] + } + }, { + "localId" : "360", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "name" : "MonthsBetweenUncertainty", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "360", + "s" : [ { + "value" : [ "", "define ", "MonthsBetweenUncertainty", ": " ] + }, { + "r" : "361", + "s" : [ { + "value" : [ "difference in months between " ] + }, { + "r" : "362", + "s" : [ { + "value" : [ "NewYear2014" ] + } ] + }, { + "value" : [ " and " ] + }, { + "r" : "363", + "s" : [ { + "value" : [ "January2014" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "DifferenceBetween", + "localId" : "361", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "precision" : "Month", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "364", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "365", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "ExpressionRef", + "localId" : "362", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "name" : "NewYear2014", + "annotation" : [ ] + }, { + "type" : "ExpressionRef", + "localId" : "363", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "name" : "January2014", + "annotation" : [ ] + } ] + } + }, { + "localId" : "368", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "name" : "WeeksBetweenUncertainty", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "368", + "s" : [ { + "value" : [ "", "define ", "WeeksBetweenUncertainty", ": " ] + }, { + "r" : "369", + "s" : [ { + "value" : [ "difference in weeks between " ] + }, { + "r" : "370", + "s" : [ { + "value" : [ "NewYear2014" ] + } ] + }, { + "value" : [ " and " ] + }, { + "r" : "371", + "s" : [ { + "value" : [ "January2014" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "DifferenceBetween", + "localId" : "369", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "precision" : "Week", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "372", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "373", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "ExpressionRef", + "localId" : "370", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "name" : "NewYear2014", + "annotation" : [ ] + }, { + "type" : "ExpressionRef", + "localId" : "371", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "name" : "January2014", + "annotation" : [ ] + } ] + } + }, { + "localId" : "376", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "name" : "DaysBetweenUncertainty", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "376", + "s" : [ { + "value" : [ "", "define ", "DaysBetweenUncertainty", ": " ] + }, { + "r" : "377", + "s" : [ { + "value" : [ "difference in days between " ] + }, { + "r" : "378", + "s" : [ { + "value" : [ "NewYear2014" ] + } ] + }, { + "value" : [ " and " ] + }, { + "r" : "379", + "s" : [ { + "value" : [ "January2014" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "DifferenceBetween", + "localId" : "377", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "precision" : "Day", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "380", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "381", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "ExpressionRef", + "localId" : "378", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "name" : "NewYear2014", + "annotation" : [ ] + }, { + "type" : "ExpressionRef", + "localId" : "379", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "name" : "January2014", + "annotation" : [ ] + } ] + } + }, { + "localId" : "384", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "name" : "HoursBetweenUncertainty", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "384", + "s" : [ { + "value" : [ "", "define ", "HoursBetweenUncertainty", ": " ] + }, { + "r" : "385", + "s" : [ { + "value" : [ "difference in hours between " ] + }, { + "r" : "386", + "s" : [ { + "value" : [ "NewYear2014" ] + } ] + }, { + "value" : [ " and " ] + }, { + "r" : "387", + "s" : [ { + "value" : [ "January2014" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "DifferenceBetween", + "localId" : "385", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "precision" : "Hour", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "388", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "389", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "ExpressionRef", + "localId" : "386", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "name" : "NewYear2014", + "annotation" : [ ] + }, { + "type" : "ExpressionRef", + "localId" : "387", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "name" : "January2014", + "annotation" : [ ] + } ] + } + }, { + "localId" : "392", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "name" : "MinutesBetweenUncertainty", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "392", + "s" : [ { + "value" : [ "", "define ", "MinutesBetweenUncertainty", ": " ] + }, { + "r" : "393", + "s" : [ { + "value" : [ "difference in minutes between " ] + }, { + "r" : "394", + "s" : [ { + "value" : [ "NewYear2014" ] + } ] + }, { + "value" : [ " and " ] + }, { + "r" : "395", + "s" : [ { + "value" : [ "January2014" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "DifferenceBetween", + "localId" : "393", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "precision" : "Minute", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "396", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "397", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "ExpressionRef", + "localId" : "394", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "name" : "NewYear2014", + "annotation" : [ ] + }, { + "type" : "ExpressionRef", + "localId" : "395", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "name" : "January2014", + "annotation" : [ ] + } ] + } + }, { + "localId" : "400", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "name" : "SecondsBetweenUncertainty", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "400", + "s" : [ { + "value" : [ "", "define ", "SecondsBetweenUncertainty", ": " ] + }, { + "r" : "401", + "s" : [ { + "value" : [ "difference in seconds between " ] + }, { + "r" : "402", + "s" : [ { + "value" : [ "NewYear2014" ] + } ] + }, { + "value" : [ " and " ] + }, { + "r" : "403", + "s" : [ { + "value" : [ "January2014" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "DifferenceBetween", + "localId" : "401", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "precision" : "Second", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "404", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "405", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "ExpressionRef", + "localId" : "402", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "name" : "NewYear2014", + "annotation" : [ ] + }, { + "type" : "ExpressionRef", + "localId" : "403", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "name" : "January2014", + "annotation" : [ ] + } ] + } + }, { + "localId" : "408", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "name" : "MillisecondsBetweenUncertainty", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "408", + "s" : [ { + "value" : [ "", "define ", "MillisecondsBetweenUncertainty", ": " ] + }, { + "r" : "409", + "s" : [ { + "value" : [ "difference in milliseconds between " ] + }, { + "r" : "410", + "s" : [ { + "value" : [ "NewYear2014" ] + } ] + }, { + "value" : [ " and " ] + }, { + "r" : "411", + "s" : [ { + "value" : [ "January2014" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "DifferenceBetween", + "localId" : "409", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "precision" : "Millisecond", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "412", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "413", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "ExpressionRef", + "localId" : "410", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "name" : "NewYear2014", + "annotation" : [ ] + }, { + "type" : "ExpressionRef", + "localId" : "411", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "name" : "January2014", + "annotation" : [ ] + } ] + } + }, { + "localId" : "416", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "name" : "MillisecondsBetweenReversedUncertainty", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "416", + "s" : [ { + "value" : [ "", "define ", "MillisecondsBetweenReversedUncertainty", ": " ] + }, { + "r" : "417", + "s" : [ { + "value" : [ "difference in milliseconds between " ] + }, { + "r" : "418", + "s" : [ { + "value" : [ "January2014" ] + } ] + }, { + "value" : [ " and " ] + }, { + "r" : "419", + "s" : [ { + "value" : [ "NewYear2014" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "DifferenceBetween", + "localId" : "417", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "precision" : "Millisecond", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "420", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "421", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "ExpressionRef", + "localId" : "418", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "name" : "January2014", + "annotation" : [ ] + }, { + "type" : "ExpressionRef", + "localId" : "419", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "name" : "NewYear2014", + "annotation" : [ ] + } ] + } + }, { + "localId" : "424", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "name" : "HoursBetween1and3CrossingSpringDST", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "424", + "s" : [ { + "value" : [ "", "define ", "HoursBetween1and3CrossingSpringDST", ": " ] + }, { + "r" : "425", + "s" : [ { + "value" : [ "difference in hours between " ] + }, { + "r" : "446", + "s" : [ { + "r" : "426", + "value" : [ "DateTime", "(", "2017", ", ", "3", ", ", "12", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", " ] + }, { + "r" : "433", + "s" : [ { + "r" : "434", + "value" : [ "-", "5.0" ] + } ] + }, { + "value" : [ ")" ] + } ] + }, { + "value" : [ " and " ] + }, { + "r" : "475", + "s" : [ { + "r" : "455", + "value" : [ "DateTime", "(", "2017", ", ", "3", ", ", "12", ", ", "3", ", ", "0", ", ", "0", ", ", "0", ", " ] + }, { + "r" : "462", + "s" : [ { + "r" : "463", + "value" : [ "-", "4.0" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "DifferenceBetween", + "localId" : "425", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "precision" : "Hour", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "484", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "485", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "DateTime", + "localId" : "446", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "447", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "448", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "449", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "450", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "451", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "452", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "453", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "454", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "426", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2017", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "427", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "428", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "12", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "429", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "430", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "431", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "432", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "timezoneOffset" : { + "type" : "Negate", + "localId" : "433", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "435", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } ], + "operand" : { + "type" : "Literal", + "localId" : "434", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "5.0", + "annotation" : [ ] + } + } + }, { + "type" : "DateTime", + "localId" : "475", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "476", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "477", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "478", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "479", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "480", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "481", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "482", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "483", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "455", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2017", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "456", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "457", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "12", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "458", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "459", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "460", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "461", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "timezoneOffset" : { + "type" : "Negate", + "localId" : "462", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "464", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } ], + "operand" : { + "type" : "Literal", + "localId" : "463", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "4.0", + "annotation" : [ ] + } + } + } ] + } + }, { + "localId" : "488", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "name" : "HoursBetween1and3CrossingFallDST", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "488", + "s" : [ { + "value" : [ "", "define ", "HoursBetween1and3CrossingFallDST", ": " ] + }, { + "r" : "489", + "s" : [ { + "value" : [ "difference in hours between " ] + }, { + "r" : "510", + "s" : [ { + "r" : "490", + "value" : [ "DateTime", "(", "2017", ", ", "11", ", ", "5", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", " ] + }, { + "r" : "497", + "s" : [ { + "r" : "498", + "value" : [ "-", "4.0" ] + } ] + }, { + "value" : [ ")" ] + } ] + }, { + "value" : [ " and " ] + }, { + "r" : "539", + "s" : [ { + "r" : "519", + "value" : [ "DateTime", "(", "2017", ", ", "11", ", ", "5", ", ", "3", ", ", "0", ", ", "0", ", ", "0", ", " ] + }, { + "r" : "526", + "s" : [ { + "r" : "527", + "value" : [ "-", "5.0" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "DifferenceBetween", + "localId" : "489", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "precision" : "Hour", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "548", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "549", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "DateTime", + "localId" : "510", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "511", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "512", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "513", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "514", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "515", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "516", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "517", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "518", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "490", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2017", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "491", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "11", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "492", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "5", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "493", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "494", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "495", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "496", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "timezoneOffset" : { + "type" : "Negate", + "localId" : "497", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "499", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } ], + "operand" : { + "type" : "Literal", + "localId" : "498", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "4.0", + "annotation" : [ ] + } + } + }, { + "type" : "DateTime", + "localId" : "539", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "540", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "541", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "542", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "543", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "544", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "545", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "546", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "547", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "519", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2017", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "520", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "11", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "521", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "5", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "522", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "523", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "524", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "525", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "timezoneOffset" : { + "type" : "Negate", + "localId" : "526", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "528", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } ], + "operand" : { + "type" : "Literal", + "localId" : "527", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "5.0", + "annotation" : [ ] + } + } + } ] + } + } ] + } + } +} + +/* DifferenceBetween Comparisons +library TestSnippet version '1' +using Simple version '1.0.0' +context Patient +define NewYear2014: DateTime(2014, 1, 1, 0, 0, 0, 0) +define February2014: DateTime(2014, 2) +define GreaterThan25DaysAfter: difference in days between NewYear2014 and February2014 > 25 +define GreaterThan40DaysAfter: difference in days between NewYear2014 and February2014 > 40 +define GreaterThan80DaysAfter: difference in days between NewYear2014 and February2014 > 80 +define GreaterOrEqualTo25DaysAfter: difference in days between NewYear2014 and February2014 >= 25 +define GreaterOrEqualTo40DaysAfter: difference in days between NewYear2014 and February2014 >= 40 +define GreaterOrEqualTo80DaysAfter: difference in days between NewYear2014 and February2014 >= 80 +define EqualTo25DaysAfter: difference in days between NewYear2014 and February2014 = 25 +define EqualTo40DaysAfter: difference in days between NewYear2014 and February2014 = 40 +define EqualTo80DaysAfter: difference in days between NewYear2014 and February2014 = 80 +define LessOrEqualTo25DaysAfter: difference in days between NewYear2014 and February2014 <= 25 +define LessOrEqualTo40DaysAfter: difference in days between NewYear2014 and February2014 <= 40 +define LessOrEqualTo80DaysAfter: difference in days between NewYear2014 and February2014 <= 80 +define LessThan25DaysAfter: difference in days between NewYear2014 and February2014 < 25 +define LessThan40DaysAfter: difference in days between NewYear2014 and February2014 < 40 +define LessThan80DaysAfter: difference in days between NewYear2014 and February2014 < 80 +define TwentyFiveDaysLessThanDaysBetween: 25 < difference in days between NewYear2014 and February2014 +define FortyDaysEqualToDaysBetween: 40 = difference in days between NewYear2014 and February2014 +define TwentyFiveDaysGreaterThanDaysBetween: 25 > difference in days between NewYear2014 and February2014 +define BonnieTestCase: difference in months between DateTime(2012, 9, 13, 14, 50, 0, 0, -4.0) and DateTime(2012, 12, 31, 23, 59, 59, 999, -5.0) <= 2 +define BonnieTestCaseZulu: difference in months between DateTime(2012, 9, 13, 14, 50, 0, 0, 0.0) and DateTime(2012, 12, 31, 23, 59, 59, 999, 0.0) <= 2 +*/ + +module.exports['DifferenceBetween Comparisons'] = { + "library" : { + "localId" : "0", + "annotation" : [ { + "type" : "CqlToElmInfo", + "translatorVersion" : "4.2.0", + "translatorOptions" : "EnableDateRangeOptimization,EnableAnnotations,EnableResultTypes", + "signatureLevel" : "All" + }, { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "537", + "s" : [ { + "value" : [ "", "library TestSnippet version '1'" ] + } ] + } + } ], + "identifier" : { + "id" : "TestSnippet", + "version" : "1" + }, + "schemaIdentifier" : { + "id" : "urn:hl7-org:elm", + "version" : "r1" + }, + "usings" : { + "def" : [ { + "localId" : "1", + "localIdentifier" : "System", + "uri" : "urn:hl7-org:elm-types:r1", + "annotation" : [ ] + }, { + "localId" : "206", + "localIdentifier" : "Simple", + "uri" : "https://github.com/cqframework/cql-execution/simple", + "version" : "1.0.0", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "206", + "s" : [ { + "value" : [ "", "using " ] + }, { + "s" : [ { + "value" : [ "Simple" ] + } ] + }, { + "value" : [ " version '1.0.0'" ] + } ] + } + } ] + } ] + }, + "contexts" : { + "def" : [ { + "localId" : "211", + "name" : "Patient", + "annotation" : [ ] + } ] + }, + "statements" : { + "def" : [ { + "localId" : "209", + "name" : "Patient", + "context" : "Patient", + "annotation" : [ ], + "expression" : { + "type" : "SingletonFrom", + "localId" : "210", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Retrieve", + "localId" : "208", + "dataType" : "{https://github.com/cqframework/cql-execution/simple}Patient", + "annotation" : [ ], + "include" : [ ], + "codeFilter" : [ ], + "dateFilter" : [ ], + "otherFilter" : [ ] + } + } + }, { + "localId" : "214", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "name" : "NewYear2014", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "214", + "s" : [ { + "value" : [ "", "define ", "NewYear2014", ": " ] + }, { + "r" : "231", + "s" : [ { + "r" : "215", + "value" : [ "DateTime", "(", "2014", ", ", "1", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "DateTime", + "localId" : "231", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "232", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "233", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "234", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "235", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "236", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "237", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "238", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "215", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2014", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "216", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "217", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "218", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "219", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "220", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "221", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + } + }, { + "localId" : "241", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "name" : "February2014", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "241", + "s" : [ { + "value" : [ "", "define ", "February2014", ": " ] + }, { + "r" : "248", + "s" : [ { + "r" : "242", + "value" : [ "DateTime", "(", "2014", ", ", "2", ")" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "DateTime", + "localId" : "248", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "249", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "250", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "242", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2014", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "243", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "annotation" : [ ] + } + } + }, { + "localId" : "253", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "GreaterThan25DaysAfter", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "253", + "s" : [ { + "value" : [ "", "define ", "GreaterThan25DaysAfter", ": " ] + }, { + "r" : "254", + "s" : [ { + "r" : "255", + "s" : [ { + "value" : [ "difference in days between " ] + }, { + "r" : "256", + "s" : [ { + "value" : [ "NewYear2014" ] + } ] + }, { + "value" : [ " and " ] + }, { + "r" : "257", + "s" : [ { + "value" : [ "February2014" ] + } ] + } ] + }, { + "r" : "260", + "value" : [ " ", ">", " ", "25" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Greater", + "localId" : "254", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "261", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "262", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "DifferenceBetween", + "localId" : "255", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "precision" : "Day", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "258", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "259", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "ExpressionRef", + "localId" : "256", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "name" : "NewYear2014", + "annotation" : [ ] + }, { + "type" : "ExpressionRef", + "localId" : "257", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "name" : "February2014", + "annotation" : [ ] + } ] + }, { + "type" : "Literal", + "localId" : "260", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "25", + "annotation" : [ ] + } ] + } + }, { + "localId" : "265", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "GreaterThan40DaysAfter", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "265", + "s" : [ { + "value" : [ "", "define ", "GreaterThan40DaysAfter", ": " ] + }, { + "r" : "266", + "s" : [ { + "r" : "267", + "s" : [ { + "value" : [ "difference in days between " ] + }, { + "r" : "268", + "s" : [ { + "value" : [ "NewYear2014" ] + } ] + }, { + "value" : [ " and " ] + }, { + "r" : "269", + "s" : [ { + "value" : [ "February2014" ] + } ] + } ] + }, { + "r" : "272", + "value" : [ " ", ">", " ", "40" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Greater", + "localId" : "266", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "273", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "274", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "DifferenceBetween", + "localId" : "267", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "precision" : "Day", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "270", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "271", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "ExpressionRef", + "localId" : "268", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "name" : "NewYear2014", + "annotation" : [ ] + }, { + "type" : "ExpressionRef", + "localId" : "269", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "name" : "February2014", + "annotation" : [ ] + } ] + }, { + "type" : "Literal", + "localId" : "272", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "40", + "annotation" : [ ] + } ] + } + }, { + "localId" : "277", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "GreaterThan80DaysAfter", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "277", + "s" : [ { + "value" : [ "", "define ", "GreaterThan80DaysAfter", ": " ] + }, { + "r" : "278", + "s" : [ { + "r" : "279", + "s" : [ { + "value" : [ "difference in days between " ] + }, { + "r" : "280", + "s" : [ { + "value" : [ "NewYear2014" ] + } ] + }, { + "value" : [ " and " ] + }, { + "r" : "281", + "s" : [ { + "value" : [ "February2014" ] + } ] + } ] + }, { + "r" : "284", + "value" : [ " ", ">", " ", "80" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Greater", + "localId" : "278", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "285", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "286", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "DifferenceBetween", + "localId" : "279", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "precision" : "Day", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "282", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "283", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "ExpressionRef", + "localId" : "280", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "name" : "NewYear2014", + "annotation" : [ ] + }, { + "type" : "ExpressionRef", + "localId" : "281", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "name" : "February2014", + "annotation" : [ ] + } ] + }, { + "type" : "Literal", + "localId" : "284", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "80", + "annotation" : [ ] + } ] + } + }, { + "localId" : "289", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "GreaterOrEqualTo25DaysAfter", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "289", + "s" : [ { + "value" : [ "", "define ", "GreaterOrEqualTo25DaysAfter", ": " ] + }, { + "r" : "290", + "s" : [ { + "r" : "291", + "s" : [ { + "value" : [ "difference in days between " ] + }, { + "r" : "292", + "s" : [ { + "value" : [ "NewYear2014" ] + } ] + }, { + "value" : [ " and " ] + }, { + "r" : "293", + "s" : [ { + "value" : [ "February2014" ] + } ] + } ] + }, { + "r" : "296", + "value" : [ " ", ">=", " ", "25" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "GreaterOrEqual", + "localId" : "290", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "297", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "298", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "DifferenceBetween", + "localId" : "291", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "precision" : "Day", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "294", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "295", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "ExpressionRef", + "localId" : "292", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "name" : "NewYear2014", + "annotation" : [ ] + }, { + "type" : "ExpressionRef", + "localId" : "293", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "name" : "February2014", + "annotation" : [ ] + } ] + }, { + "type" : "Literal", + "localId" : "296", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "25", + "annotation" : [ ] + } ] + } + }, { + "localId" : "301", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "GreaterOrEqualTo40DaysAfter", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "301", + "s" : [ { + "value" : [ "", "define ", "GreaterOrEqualTo40DaysAfter", ": " ] + }, { + "r" : "302", + "s" : [ { + "r" : "303", + "s" : [ { + "value" : [ "difference in days between " ] + }, { + "r" : "304", + "s" : [ { + "value" : [ "NewYear2014" ] + } ] + }, { + "value" : [ " and " ] + }, { + "r" : "305", + "s" : [ { + "value" : [ "February2014" ] + } ] + } ] + }, { + "r" : "308", + "value" : [ " ", ">=", " ", "40" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "GreaterOrEqual", + "localId" : "302", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "309", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "310", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "DifferenceBetween", + "localId" : "303", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "precision" : "Day", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "306", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "307", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "ExpressionRef", + "localId" : "304", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "name" : "NewYear2014", + "annotation" : [ ] + }, { + "type" : "ExpressionRef", + "localId" : "305", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "name" : "February2014", + "annotation" : [ ] + } ] + }, { + "type" : "Literal", + "localId" : "308", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "40", + "annotation" : [ ] + } ] + } + }, { + "localId" : "313", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "GreaterOrEqualTo80DaysAfter", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "313", + "s" : [ { + "value" : [ "", "define ", "GreaterOrEqualTo80DaysAfter", ": " ] + }, { + "r" : "314", + "s" : [ { + "r" : "315", + "s" : [ { + "value" : [ "difference in days between " ] + }, { + "r" : "316", + "s" : [ { + "value" : [ "NewYear2014" ] + } ] + }, { + "value" : [ " and " ] + }, { + "r" : "317", + "s" : [ { + "value" : [ "February2014" ] + } ] + } ] + }, { + "r" : "320", + "value" : [ " ", ">=", " ", "80" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "GreaterOrEqual", + "localId" : "314", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "321", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "322", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "DifferenceBetween", + "localId" : "315", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "precision" : "Day", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "318", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "319", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "ExpressionRef", + "localId" : "316", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "name" : "NewYear2014", + "annotation" : [ ] + }, { + "type" : "ExpressionRef", + "localId" : "317", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "name" : "February2014", + "annotation" : [ ] + } ] + }, { + "type" : "Literal", + "localId" : "320", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "80", + "annotation" : [ ] + } ] + } + }, { + "localId" : "325", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "EqualTo25DaysAfter", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "325", + "s" : [ { + "value" : [ "", "define ", "EqualTo25DaysAfter", ": " ] + }, { + "r" : "326", + "s" : [ { + "r" : "327", + "s" : [ { + "value" : [ "difference in days between " ] + }, { + "r" : "328", + "s" : [ { + "value" : [ "NewYear2014" ] + } ] + }, { + "value" : [ " and " ] + }, { + "r" : "329", + "s" : [ { + "value" : [ "February2014" ] + } ] + } ] + }, { + "r" : "332", + "value" : [ " ", "=", " ", "25" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Equal", + "localId" : "326", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "333", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "334", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "DifferenceBetween", + "localId" : "327", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "precision" : "Day", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "330", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "331", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "ExpressionRef", + "localId" : "328", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "name" : "NewYear2014", + "annotation" : [ ] + }, { + "type" : "ExpressionRef", + "localId" : "329", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "name" : "February2014", + "annotation" : [ ] + } ] + }, { + "type" : "Literal", + "localId" : "332", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "25", + "annotation" : [ ] + } ] + } + }, { + "localId" : "337", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "EqualTo40DaysAfter", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "337", + "s" : [ { + "value" : [ "", "define ", "EqualTo40DaysAfter", ": " ] + }, { + "r" : "338", + "s" : [ { + "r" : "339", + "s" : [ { + "value" : [ "difference in days between " ] + }, { + "r" : "340", + "s" : [ { + "value" : [ "NewYear2014" ] + } ] + }, { + "value" : [ " and " ] + }, { + "r" : "341", + "s" : [ { + "value" : [ "February2014" ] + } ] + } ] + }, { + "r" : "344", + "value" : [ " ", "=", " ", "40" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Equal", + "localId" : "338", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "345", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "346", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "DifferenceBetween", + "localId" : "339", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "precision" : "Day", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "342", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "343", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "ExpressionRef", + "localId" : "340", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "name" : "NewYear2014", + "annotation" : [ ] + }, { + "type" : "ExpressionRef", + "localId" : "341", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "name" : "February2014", + "annotation" : [ ] + } ] + }, { + "type" : "Literal", + "localId" : "344", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "40", + "annotation" : [ ] + } ] + } + }, { + "localId" : "349", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "EqualTo80DaysAfter", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "349", + "s" : [ { + "value" : [ "", "define ", "EqualTo80DaysAfter", ": " ] + }, { + "r" : "350", + "s" : [ { + "r" : "351", + "s" : [ { + "value" : [ "difference in days between " ] + }, { + "r" : "352", + "s" : [ { + "value" : [ "NewYear2014" ] + } ] + }, { + "value" : [ " and " ] + }, { + "r" : "353", + "s" : [ { + "value" : [ "February2014" ] + } ] + } ] + }, { + "r" : "356", + "value" : [ " ", "=", " ", "80" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Equal", + "localId" : "350", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "357", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "358", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "DifferenceBetween", + "localId" : "351", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "precision" : "Day", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "354", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "355", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "ExpressionRef", + "localId" : "352", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "name" : "NewYear2014", + "annotation" : [ ] + }, { + "type" : "ExpressionRef", + "localId" : "353", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "name" : "February2014", + "annotation" : [ ] + } ] + }, { + "type" : "Literal", + "localId" : "356", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "80", + "annotation" : [ ] + } ] + } + }, { + "localId" : "361", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "LessOrEqualTo25DaysAfter", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "361", + "s" : [ { + "value" : [ "", "define ", "LessOrEqualTo25DaysAfter", ": " ] + }, { + "r" : "362", + "s" : [ { + "r" : "363", + "s" : [ { + "value" : [ "difference in days between " ] + }, { + "r" : "364", + "s" : [ { + "value" : [ "NewYear2014" ] + } ] + }, { + "value" : [ " and " ] + }, { + "r" : "365", + "s" : [ { + "value" : [ "February2014" ] + } ] + } ] + }, { + "r" : "368", + "value" : [ " ", "<=", " ", "25" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "LessOrEqual", + "localId" : "362", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "369", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "370", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "DifferenceBetween", + "localId" : "363", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "precision" : "Day", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "366", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "367", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "ExpressionRef", + "localId" : "364", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "name" : "NewYear2014", + "annotation" : [ ] + }, { + "type" : "ExpressionRef", + "localId" : "365", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "name" : "February2014", + "annotation" : [ ] + } ] + }, { + "type" : "Literal", + "localId" : "368", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "25", + "annotation" : [ ] + } ] + } + }, { + "localId" : "373", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "LessOrEqualTo40DaysAfter", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "373", + "s" : [ { + "value" : [ "", "define ", "LessOrEqualTo40DaysAfter", ": " ] + }, { + "r" : "374", + "s" : [ { + "r" : "375", + "s" : [ { + "value" : [ "difference in days between " ] + }, { + "r" : "376", + "s" : [ { + "value" : [ "NewYear2014" ] + } ] + }, { + "value" : [ " and " ] + }, { + "r" : "377", + "s" : [ { + "value" : [ "February2014" ] + } ] + } ] + }, { + "r" : "380", + "value" : [ " ", "<=", " ", "40" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "LessOrEqual", + "localId" : "374", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "381", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "382", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "DifferenceBetween", + "localId" : "375", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "precision" : "Day", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "378", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "379", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "ExpressionRef", + "localId" : "376", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "name" : "NewYear2014", + "annotation" : [ ] + }, { + "type" : "ExpressionRef", + "localId" : "377", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "name" : "February2014", + "annotation" : [ ] + } ] + }, { + "type" : "Literal", + "localId" : "380", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "40", + "annotation" : [ ] + } ] + } + }, { + "localId" : "385", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "LessOrEqualTo80DaysAfter", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "385", + "s" : [ { + "value" : [ "", "define ", "LessOrEqualTo80DaysAfter", ": " ] + }, { + "r" : "386", + "s" : [ { + "r" : "387", + "s" : [ { + "value" : [ "difference in days between " ] + }, { + "r" : "388", + "s" : [ { + "value" : [ "NewYear2014" ] + } ] + }, { + "value" : [ " and " ] + }, { + "r" : "389", + "s" : [ { + "value" : [ "February2014" ] + } ] + } ] + }, { + "r" : "392", + "value" : [ " ", "<=", " ", "80" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "LessOrEqual", + "localId" : "386", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "393", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "394", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "DifferenceBetween", + "localId" : "387", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "precision" : "Day", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "390", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "391", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "ExpressionRef", + "localId" : "388", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "name" : "NewYear2014", + "annotation" : [ ] + }, { + "type" : "ExpressionRef", + "localId" : "389", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "name" : "February2014", + "annotation" : [ ] + } ] + }, { + "type" : "Literal", + "localId" : "392", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "80", + "annotation" : [ ] + } ] + } + }, { + "localId" : "397", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "LessThan25DaysAfter", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "397", + "s" : [ { + "value" : [ "", "define ", "LessThan25DaysAfter", ": " ] + }, { + "r" : "398", + "s" : [ { + "r" : "399", + "s" : [ { + "value" : [ "difference in days between " ] + }, { + "r" : "400", + "s" : [ { + "value" : [ "NewYear2014" ] + } ] + }, { + "value" : [ " and " ] + }, { + "r" : "401", + "s" : [ { + "value" : [ "February2014" ] + } ] + } ] + }, { + "r" : "404", + "value" : [ " ", "<", " ", "25" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Less", + "localId" : "398", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "405", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "406", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "DifferenceBetween", + "localId" : "399", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "precision" : "Day", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "402", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "403", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "ExpressionRef", + "localId" : "400", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "name" : "NewYear2014", + "annotation" : [ ] + }, { + "type" : "ExpressionRef", + "localId" : "401", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "name" : "February2014", + "annotation" : [ ] + } ] + }, { + "type" : "Literal", + "localId" : "404", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "25", + "annotation" : [ ] + } ] + } + }, { + "localId" : "409", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "LessThan40DaysAfter", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "409", + "s" : [ { + "value" : [ "", "define ", "LessThan40DaysAfter", ": " ] + }, { + "r" : "410", + "s" : [ { + "r" : "411", + "s" : [ { + "value" : [ "difference in days between " ] + }, { + "r" : "412", + "s" : [ { + "value" : [ "NewYear2014" ] + } ] + }, { + "value" : [ " and " ] + }, { + "r" : "413", + "s" : [ { + "value" : [ "February2014" ] + } ] + } ] + }, { + "r" : "416", + "value" : [ " ", "<", " ", "40" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Less", + "localId" : "410", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "417", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "418", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "DifferenceBetween", + "localId" : "411", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "precision" : "Day", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "414", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "415", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "ExpressionRef", + "localId" : "412", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "name" : "NewYear2014", + "annotation" : [ ] + }, { + "type" : "ExpressionRef", + "localId" : "413", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "name" : "February2014", + "annotation" : [ ] + } ] + }, { + "type" : "Literal", + "localId" : "416", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "40", + "annotation" : [ ] + } ] + } + }, { + "localId" : "421", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "LessThan80DaysAfter", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "421", + "s" : [ { + "value" : [ "", "define ", "LessThan80DaysAfter", ": " ] + }, { + "r" : "422", + "s" : [ { + "r" : "423", + "s" : [ { + "value" : [ "difference in days between " ] + }, { + "r" : "424", + "s" : [ { + "value" : [ "NewYear2014" ] + } ] + }, { + "value" : [ " and " ] + }, { + "r" : "425", + "s" : [ { + "value" : [ "February2014" ] + } ] + } ] + }, { + "r" : "428", + "value" : [ " ", "<", " ", "80" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Less", + "localId" : "422", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "429", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "430", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "DifferenceBetween", + "localId" : "423", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "precision" : "Day", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "426", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "427", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "ExpressionRef", + "localId" : "424", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "name" : "NewYear2014", + "annotation" : [ ] + }, { + "type" : "ExpressionRef", + "localId" : "425", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "name" : "February2014", + "annotation" : [ ] + } ] + }, { + "type" : "Literal", + "localId" : "428", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "80", + "annotation" : [ ] + } ] + } + }, { + "localId" : "433", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "TwentyFiveDaysLessThanDaysBetween", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "433", + "s" : [ { + "value" : [ "", "define ", "TwentyFiveDaysLessThanDaysBetween", ": " ] + }, { + "r" : "434", + "s" : [ { + "r" : "435", + "value" : [ "25", " ", "<", " " ] + }, { + "r" : "436", + "s" : [ { + "value" : [ "difference in days between " ] + }, { + "r" : "437", + "s" : [ { + "value" : [ "NewYear2014" ] + } ] + }, { + "value" : [ " and " ] + }, { + "r" : "438", + "s" : [ { + "value" : [ "February2014" ] + } ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Less", + "localId" : "434", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "441", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "442", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "Literal", + "localId" : "435", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "25", + "annotation" : [ ] + }, { + "type" : "DifferenceBetween", + "localId" : "436", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "precision" : "Day", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "439", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "440", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "ExpressionRef", + "localId" : "437", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "name" : "NewYear2014", + "annotation" : [ ] + }, { + "type" : "ExpressionRef", + "localId" : "438", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "name" : "February2014", + "annotation" : [ ] + } ] + } ] + } + }, { + "localId" : "445", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "FortyDaysEqualToDaysBetween", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "445", + "s" : [ { + "value" : [ "", "define ", "FortyDaysEqualToDaysBetween", ": " ] + }, { + "r" : "446", + "s" : [ { + "r" : "447", + "value" : [ "40", " ", "=", " " ] + }, { + "r" : "448", + "s" : [ { + "value" : [ "difference in days between " ] + }, { + "r" : "449", + "s" : [ { + "value" : [ "NewYear2014" ] + } ] + }, { + "value" : [ " and " ] + }, { + "r" : "450", + "s" : [ { + "value" : [ "February2014" ] + } ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Equal", + "localId" : "446", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "453", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "454", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "Literal", + "localId" : "447", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "40", + "annotation" : [ ] + }, { + "type" : "DifferenceBetween", + "localId" : "448", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "precision" : "Day", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "451", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "452", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "ExpressionRef", + "localId" : "449", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "name" : "NewYear2014", + "annotation" : [ ] + }, { + "type" : "ExpressionRef", + "localId" : "450", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "name" : "February2014", + "annotation" : [ ] + } ] + } ] + } + }, { + "localId" : "457", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "TwentyFiveDaysGreaterThanDaysBetween", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "457", + "s" : [ { + "value" : [ "", "define ", "TwentyFiveDaysGreaterThanDaysBetween", ": " ] + }, { + "r" : "458", + "s" : [ { + "r" : "459", + "value" : [ "25", " ", ">", " " ] + }, { + "r" : "460", + "s" : [ { + "value" : [ "difference in days between " ] + }, { + "r" : "461", + "s" : [ { + "value" : [ "NewYear2014" ] + } ] + }, { + "value" : [ " and " ] + }, { + "r" : "462", + "s" : [ { + "value" : [ "February2014" ] + } ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Greater", + "localId" : "458", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "465", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "466", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "Literal", + "localId" : "459", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "25", + "annotation" : [ ] + }, { + "type" : "DifferenceBetween", + "localId" : "460", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "precision" : "Day", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "463", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "464", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "ExpressionRef", + "localId" : "461", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "name" : "NewYear2014", + "annotation" : [ ] + }, { + "type" : "ExpressionRef", + "localId" : "462", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "name" : "February2014", + "annotation" : [ ] + } ] + } ] + } + }, { + "localId" : "469", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "BonnieTestCase", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "469", + "s" : [ { + "value" : [ "", "define ", "BonnieTestCase", ": " ] + }, { + "r" : "470", + "s" : [ { + "r" : "471", + "s" : [ { + "value" : [ "difference in months between " ] + }, { + "r" : "492", + "s" : [ { + "r" : "472", + "value" : [ "DateTime", "(", "2012", ", ", "9", ", ", "13", ", ", "14", ", ", "50", ", ", "0", ", ", "0", ", " ] }, { - "localId" : "2017", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" + "r" : "479", + "s" : [ { + "r" : "480", + "value" : [ "-", "4.0" ] + } ] }, { - "localId" : "2018", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" + "value" : [ ")" ] + } ] + }, { + "value" : [ " and " ] + }, { + "r" : "521", + "s" : [ { + "r" : "501", + "value" : [ "DateTime", "(", "2012", ", ", "12", ", ", "31", ", ", "23", ", ", "59", ", ", "59", ", ", "999", ", " ] }, { - "localId" : "2019", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1993", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "1994", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "1995", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal" - }, - "hour" : { - "localId" : "1996", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "13", - "type" : "Literal" - }, - "minute" : { - "localId" : "1997", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "30", - "type" : "Literal" - }, - "second" : { - "localId" : "1998", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "25", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "1999", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "200", - "type" : "Literal" - }, - "timezoneOffset" : { - "localId" : "2000", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "1.0", - "type" : "Literal" - } - }, { - "localId" : "2022", - "asType" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "As", - "signature" : [ ], - "operand" : { - "localId" : "2020", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - } - } ] - } - }, { - "localId" : "2027", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "NullBoth", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "2027", - "s" : [ { - "value" : [ "","define ","NullBoth",": " ] + "r" : "508", + "s" : [ { + "r" : "509", + "value" : [ "-", "5.0" ] + } ] }, { - "r" : "2032", - "s" : [ { - "r" : "2028", - "s" : [ { - "value" : [ "(" ] - }, { - "r" : "2028", - "s" : [ { - "r" : "2029", - "value" : [ "null"," as " ] - }, { - "r" : "2030", - "s" : [ { - "value" : [ "DateTime" ] - } ] - } ] - }, { - "value" : [ ")" ] - } ] - }, { - "r" : "2032", - "value" : [ " ","before"," ","null" ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "2032", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "Before", - "signature" : [ { - "localId" : "2034", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2035", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "2028", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "strict" : false, - "type" : "As", - "signature" : [ ], - "operand" : { - "localId" : "2029", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - }, - "asTypeSpecifier" : { - "localId" : "2030", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "2033", - "asType" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "As", - "signature" : [ ], - "operand" : { - "localId" : "2031", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - } - } ] - } - } ] - } - } + "value" : [ ")" ] + } ] + } ] + }, { + "r" : "532", + "value" : [ " ", "<=", " ", "2" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "LessOrEqual", + "localId" : "470", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "533", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "534", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "DifferenceBetween", + "localId" : "471", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "precision" : "Month", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "530", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "531", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "DateTime", + "localId" : "492", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "493", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "494", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "495", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "496", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "497", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "498", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "499", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "500", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "472", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "473", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "9", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "474", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "13", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "475", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "14", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "476", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "50", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "477", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "478", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "timezoneOffset" : { + "type" : "Negate", + "localId" : "479", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "481", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } ], + "operand" : { + "type" : "Literal", + "localId" : "480", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "4.0", + "annotation" : [ ] + } + } + }, { + "type" : "DateTime", + "localId" : "521", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "522", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "523", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "524", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "525", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "526", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "527", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "528", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "529", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "501", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "502", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "12", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "503", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "31", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "504", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "23", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "505", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "59", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "506", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "59", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "507", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "999", + "annotation" : [ ] + }, + "timezoneOffset" : { + "type" : "Negate", + "localId" : "508", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "510", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } ], + "operand" : { + "type" : "Literal", + "localId" : "509", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "5.0", + "annotation" : [ ] + } + } + } ] + }, { + "type" : "Literal", + "localId" : "532", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "annotation" : [ ] + } ] + } + }, { + "localId" : "537", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "BonnieTestCaseZulu", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "537", + "s" : [ { + "value" : [ "", "define ", "BonnieTestCaseZulu", ": " ] + }, { + "r" : "538", + "s" : [ { + "r" : "539", + "s" : [ { + "value" : [ "difference in months between " ] + }, { + "r" : "558", + "s" : [ { + "r" : "540", + "value" : [ "DateTime", "(", "2012", ", ", "9", ", ", "13", ", ", "14", ", ", "50", ", ", "0", ", ", "0", ", ", "0.0", ")" ] + } ] + }, { + "value" : [ " and " ] + }, { + "r" : "585", + "s" : [ { + "r" : "567", + "value" : [ "DateTime", "(", "2012", ", ", "12", ", ", "31", ", ", "23", ", ", "59", ", ", "59", ", ", "999", ", ", "0.0", ")" ] + } ] + } ] + }, { + "r" : "596", + "value" : [ " ", "<=", " ", "2" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "LessOrEqual", + "localId" : "538", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "597", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "598", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "DifferenceBetween", + "localId" : "539", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "precision" : "Month", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "594", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "595", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "DateTime", + "localId" : "558", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "559", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "560", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "561", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "562", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "563", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "564", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "565", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "566", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "540", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "541", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "9", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "542", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "13", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "543", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "14", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "544", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "50", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "545", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "546", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "timezoneOffset" : { + "type" : "Literal", + "localId" : "547", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "0.0", + "annotation" : [ ] + } + }, { + "type" : "DateTime", + "localId" : "585", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "586", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "587", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "588", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "589", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "590", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "591", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "592", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "593", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "567", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "568", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "12", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "569", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "31", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "570", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "23", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "571", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "59", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "572", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "59", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "573", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "999", + "annotation" : [ ] + }, + "timezoneOffset" : { + "type" : "Literal", + "localId" : "574", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "0.0", + "annotation" : [ ] + } + } ] + }, { + "type" : "Literal", + "localId" : "596", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "annotation" : [ ] + } ] + } + } ] + } + } } -/* DifferenceBetween +/* DurationBetween library TestSnippet version '1' using Simple version '1.0.0' context Patient -define NewYear2013: DateTime(2013, 1, 1, 0, 0, 0, 0) -define NewYear2014: DateTime(2014, 1, 1, 0, 0, 0, 0) -define January2014: DateTime(2014, 1) -define YearsBetween: difference in years between NewYear2013 and NewYear2014 -define MonthsBetween: difference in months between NewYear2013 and NewYear2014 -define WeeksBetween: difference in weeks between NewYear2013 and NewYear2014 -define DaysBetween: difference in days between NewYear2013 and NewYear2014 -define HoursBetween: difference in hours between NewYear2013 and NewYear2014 -define MinutesBetween: difference in minutes between NewYear2013 and NewYear2014 -define SecondsBetween: difference in seconds between NewYear2013 and NewYear2014 -define MillisecondsBetween: difference in milliseconds between NewYear2013 and NewYear2014 -define MillisecondsBetweenReversed: difference in milliseconds between NewYear2014 and NewYear2013 -define YearsBetweenUncertainty: difference in years between NewYear2014 and January2014 -define MonthsBetweenUncertainty: difference in months between NewYear2014 and January2014 -define WeeksBetweenUncertainty: difference in weeks between NewYear2014 and January2014 -define DaysBetweenUncertainty: difference in days between NewYear2014 and January2014 -define HoursBetweenUncertainty: difference in hours between NewYear2014 and January2014 -define MinutesBetweenUncertainty: difference in minutes between NewYear2014 and January2014 -define SecondsBetweenUncertainty: difference in seconds between NewYear2014 and January2014 -define MillisecondsBetweenUncertainty: difference in milliseconds between NewYear2014 and January2014 -define MillisecondsBetweenReversedUncertainty: difference in milliseconds between January2014 and NewYear2014 -define HoursBetween1and3CrossingSpringDST: difference in hours between DateTime(2017, 3, 12, 1, 0, 0, 0, -5.0) and DateTime(2017, 3, 12, 3, 0, 0, 0, -4.0) -define HoursBetween1and3CrossingFallDST: difference in hours between DateTime(2017, 11, 5, 1, 0, 0, 0, -4.0) and DateTime(2017, 11, 5, 3, 0, 0, 0, -5.0) +define DecTen2013: DateTime(2013, 12, 10, 12, 30, 30, 500) +define JanOne2015: DateTime(2015, 1, 1, 0, 0, 0, 0) +define January2015: DateTime(2015, 1) +define YearsBetween: years between DecTen2013 and JanOne2015 +define MonthsBetween: months between DecTen2013 and JanOne2015 +define WeeksBetween: weeks between DecTen2013 and JanOne2015 +define DaysBetween: days between DecTen2013 and JanOne2015 +define HoursBetween: hours between DecTen2013 and JanOne2015 +define MinutesBetween: minutes between DecTen2013 and JanOne2015 +define SecondsBetween: seconds between DecTen2013 and JanOne2015 +define MillisecondsBetween: milliseconds between DecTen2013 and JanOne2015 +define MillisecondsBetweenReversed: milliseconds between JanOne2015 and DecTen2013 +define YearsBetweenUncertainty: years between JanOne2015 and January2015 +define MonthsBetweenUncertainty: months between JanOne2015 and January2015 +define WeeksBetweenUncertainty: weeks between JanOne2015 and January2015 +define DaysBetweenUncertainty: days between JanOne2015 and January2015 +define HoursBetweenUncertainty: hours between JanOne2015 and January2015 +define MinutesBetweenUncertainty: minutes between JanOne2015 and January2015 +define SecondsBetweenUncertainty: seconds between JanOne2015 and January2015 +define MillisecondsBetweenUncertainty: milliseconds between JanOne2015 and January2015 +define MillisecondsBetweenReversedUncertainty: milliseconds between January2015 and JanOne2015 +define HoursBetween1and3CrossingSpringDST: hours between DateTime(2017, 3, 12, 1, 0, 0, 0, -5.0) and DateTime(2017, 3, 12, 3, 0, 0, 0, -4.0) +define HoursBetween1and3CrossingFallDST: hours between DateTime(2017, 11, 5, 1, 0, 0, 0, -4.0) and DateTime(2017, 11, 5, 3, 0, 0, 0, -5.0) +define DurationInDaysWith0MS: duration in days of Interval[DateTime(2026, 11, 12, 13, 41, 38, 0), DateTime(2026, 11, 13, 13, 41, 38, 0)] +define DurationInDaysNoMS: duration in days of Interval[DateTime(2026, 11, 12, 13, 41, 38), DateTime(2026, 11, 13, 13, 41, 38)] +define DurationInDaysSameMS: duration in days of Interval[DateTime(2026, 11, 12, 13, 41, 38, 59), DateTime(2026, 11, 13, 13, 41, 38, 59)] +define DurationInDaysDiffMS: duration in days of Interval[DateTime(2026, 11, 12, 13, 41, 38, 59), DateTime(2026, 11, 13, 13, 41, 38, 58)] +define DurationInMSNoMS: duration in milliseconds of Interval[DateTime(2026, 11, 12, 13, 41, 38), DateTime(2026, 11, 12, 13, 41, 38)] */ -module.exports['DifferenceBetween'] = { - "library" : { - "localId" : "0", - "annotation" : [ { - "translatorVersion" : "3.27.0", - "translatorOptions" : "EnableDateRangeOptimization,EnableAnnotations,EnableResultTypes", - "signatureLevel" : "All", - "type" : "CqlToElmInfo" - }, { - "type" : "Annotation", - "s" : { +module.exports['DurationBetween'] = { + "library" : { + "localId" : "0", + "annotation" : [ { + "type" : "CqlToElmInfo", + "translatorVersion" : "4.2.0", + "translatorOptions" : "EnableDateRangeOptimization,EnableAnnotations,EnableResultTypes", + "signatureLevel" : "All" + }, { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "798", + "s" : [ { + "value" : [ "", "library TestSnippet version '1'" ] + } ] + } + } ], + "identifier" : { + "id" : "TestSnippet", + "version" : "1" + }, + "schemaIdentifier" : { + "id" : "urn:hl7-org:elm", + "version" : "r1" + }, + "usings" : { + "def" : [ { + "localId" : "1", + "localIdentifier" : "System", + "uri" : "urn:hl7-org:elm-types:r1", + "annotation" : [ ] + }, { + "localId" : "206", + "localIdentifier" : "Simple", + "uri" : "https://github.com/cqframework/cql-execution/simple", + "version" : "1.0.0", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "206", + "s" : [ { + "value" : [ "", "using " ] + }, { + "s" : [ { + "value" : [ "Simple" ] + } ] + }, { + "value" : [ " version '1.0.0'" ] + } ] + } + } ] + } ] + }, + "contexts" : { + "def" : [ { + "localId" : "211", + "name" : "Patient", + "annotation" : [ ] + } ] + }, + "statements" : { + "def" : [ { + "localId" : "209", + "name" : "Patient", + "context" : "Patient", + "annotation" : [ ], + "expression" : { + "type" : "SingletonFrom", + "localId" : "210", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Retrieve", + "localId" : "208", + "dataType" : "{https://github.com/cqframework/cql-execution/simple}Patient", + "annotation" : [ ], + "include" : [ ], + "codeFilter" : [ ], + "dateFilter" : [ ], + "otherFilter" : [ ] + } + } + }, { + "localId" : "214", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "name" : "DecTen2013", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "214", + "s" : [ { + "value" : [ "", "define ", "DecTen2013", ": " ] + }, { + "r" : "231", + "s" : [ { + "r" : "215", + "value" : [ "DateTime", "(", "2013", ", ", "12", ", ", "10", ", ", "12", ", ", "30", ", ", "30", ", ", "500", ")" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "DateTime", + "localId" : "231", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "232", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "233", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "234", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "235", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "236", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "237", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "238", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "215", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2013", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "216", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "12", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "217", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "10", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "218", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "12", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "219", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "30", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "220", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "30", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "221", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "500", + "annotation" : [ ] + } + } + }, { + "localId" : "241", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "name" : "JanOne2015", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "241", + "s" : [ { + "value" : [ "", "define ", "JanOne2015", ": " ] + }, { + "r" : "258", + "s" : [ { + "r" : "242", + "value" : [ "DateTime", "(", "2015", ", ", "1", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "DateTime", + "localId" : "258", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "259", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "260", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "261", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "262", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "263", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "264", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "265", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "242", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2015", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "243", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "244", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "245", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "246", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "247", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "248", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + } + }, { + "localId" : "268", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "name" : "January2015", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "268", + "s" : [ { + "value" : [ "", "define ", "January2015", ": " ] + }, { + "r" : "275", + "s" : [ { + "r" : "269", + "value" : [ "DateTime", "(", "2015", ", ", "1", ")" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "DateTime", + "localId" : "275", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "276", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "277", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "269", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2015", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "270", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + } + } + }, { + "localId" : "280", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "name" : "YearsBetween", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "280", + "s" : [ { + "value" : [ "", "define ", "YearsBetween", ": " ] + }, { + "r" : "281", + "s" : [ { + "value" : [ "years between " ] + }, { + "r" : "282", + "s" : [ { + "value" : [ "DecTen2013" ] + } ] + }, { + "value" : [ " and " ] + }, { + "r" : "283", + "s" : [ { + "value" : [ "JanOne2015" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "DurationBetween", + "localId" : "281", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "precision" : "Year", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "284", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "285", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "ExpressionRef", + "localId" : "282", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "name" : "DecTen2013", + "annotation" : [ ] + }, { + "type" : "ExpressionRef", + "localId" : "283", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "name" : "JanOne2015", + "annotation" : [ ] + } ] + } + }, { + "localId" : "288", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "name" : "MonthsBetween", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "288", + "s" : [ { + "value" : [ "", "define ", "MonthsBetween", ": " ] + }, { + "r" : "289", + "s" : [ { + "value" : [ "months between " ] + }, { + "r" : "290", + "s" : [ { + "value" : [ "DecTen2013" ] + } ] + }, { + "value" : [ " and " ] + }, { + "r" : "291", + "s" : [ { + "value" : [ "JanOne2015" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "DurationBetween", + "localId" : "289", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "precision" : "Month", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "292", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "293", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "ExpressionRef", + "localId" : "290", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "name" : "DecTen2013", + "annotation" : [ ] + }, { + "type" : "ExpressionRef", + "localId" : "291", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "name" : "JanOne2015", + "annotation" : [ ] + } ] + } + }, { + "localId" : "296", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "name" : "WeeksBetween", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "296", + "s" : [ { + "value" : [ "", "define ", "WeeksBetween", ": " ] + }, { + "r" : "297", + "s" : [ { + "value" : [ "weeks between " ] + }, { + "r" : "298", + "s" : [ { + "value" : [ "DecTen2013" ] + } ] + }, { + "value" : [ " and " ] + }, { + "r" : "299", + "s" : [ { + "value" : [ "JanOne2015" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "DurationBetween", + "localId" : "297", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "precision" : "Week", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "300", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "301", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "ExpressionRef", + "localId" : "298", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "name" : "DecTen2013", + "annotation" : [ ] + }, { + "type" : "ExpressionRef", + "localId" : "299", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "name" : "JanOne2015", + "annotation" : [ ] + } ] + } + }, { + "localId" : "304", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "name" : "DaysBetween", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "304", + "s" : [ { + "value" : [ "", "define ", "DaysBetween", ": " ] + }, { + "r" : "305", + "s" : [ { + "value" : [ "days between " ] + }, { + "r" : "306", + "s" : [ { + "value" : [ "DecTen2013" ] + } ] + }, { + "value" : [ " and " ] + }, { + "r" : "307", + "s" : [ { + "value" : [ "JanOne2015" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "DurationBetween", + "localId" : "305", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "precision" : "Day", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "308", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "309", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "ExpressionRef", + "localId" : "306", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "name" : "DecTen2013", + "annotation" : [ ] + }, { + "type" : "ExpressionRef", + "localId" : "307", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "name" : "JanOne2015", + "annotation" : [ ] + } ] + } + }, { + "localId" : "312", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "name" : "HoursBetween", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "312", + "s" : [ { + "value" : [ "", "define ", "HoursBetween", ": " ] + }, { + "r" : "313", + "s" : [ { + "value" : [ "hours between " ] + }, { + "r" : "314", + "s" : [ { + "value" : [ "DecTen2013" ] + } ] + }, { + "value" : [ " and " ] + }, { + "r" : "315", + "s" : [ { + "value" : [ "JanOne2015" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "DurationBetween", + "localId" : "313", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "precision" : "Hour", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "316", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "317", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "ExpressionRef", + "localId" : "314", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "name" : "DecTen2013", + "annotation" : [ ] + }, { + "type" : "ExpressionRef", + "localId" : "315", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "name" : "JanOne2015", + "annotation" : [ ] + } ] + } + }, { + "localId" : "320", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "name" : "MinutesBetween", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "320", + "s" : [ { + "value" : [ "", "define ", "MinutesBetween", ": " ] + }, { + "r" : "321", + "s" : [ { + "value" : [ "minutes between " ] + }, { + "r" : "322", + "s" : [ { + "value" : [ "DecTen2013" ] + } ] + }, { + "value" : [ " and " ] + }, { + "r" : "323", + "s" : [ { + "value" : [ "JanOne2015" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "DurationBetween", + "localId" : "321", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "precision" : "Minute", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "324", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "325", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "ExpressionRef", + "localId" : "322", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "name" : "DecTen2013", + "annotation" : [ ] + }, { + "type" : "ExpressionRef", + "localId" : "323", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "name" : "JanOne2015", + "annotation" : [ ] + } ] + } + }, { + "localId" : "328", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "name" : "SecondsBetween", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "328", + "s" : [ { + "value" : [ "", "define ", "SecondsBetween", ": " ] + }, { + "r" : "329", + "s" : [ { + "value" : [ "seconds between " ] + }, { + "r" : "330", + "s" : [ { + "value" : [ "DecTen2013" ] + } ] + }, { + "value" : [ " and " ] + }, { + "r" : "331", + "s" : [ { + "value" : [ "JanOne2015" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "DurationBetween", + "localId" : "329", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "precision" : "Second", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "332", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "333", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "ExpressionRef", + "localId" : "330", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "name" : "DecTen2013", + "annotation" : [ ] + }, { + "type" : "ExpressionRef", + "localId" : "331", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "name" : "JanOne2015", + "annotation" : [ ] + } ] + } + }, { + "localId" : "336", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "name" : "MillisecondsBetween", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "336", + "s" : [ { + "value" : [ "", "define ", "MillisecondsBetween", ": " ] + }, { + "r" : "337", + "s" : [ { + "value" : [ "milliseconds between " ] + }, { + "r" : "338", + "s" : [ { + "value" : [ "DecTen2013" ] + } ] + }, { + "value" : [ " and " ] + }, { + "r" : "339", + "s" : [ { + "value" : [ "JanOne2015" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "DurationBetween", + "localId" : "337", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "precision" : "Millisecond", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "340", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "341", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "ExpressionRef", + "localId" : "338", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "name" : "DecTen2013", + "annotation" : [ ] + }, { + "type" : "ExpressionRef", + "localId" : "339", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "name" : "JanOne2015", + "annotation" : [ ] + } ] + } + }, { + "localId" : "344", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "name" : "MillisecondsBetweenReversed", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "344", + "s" : [ { + "value" : [ "", "define ", "MillisecondsBetweenReversed", ": " ] + }, { + "r" : "345", + "s" : [ { + "value" : [ "milliseconds between " ] + }, { + "r" : "346", + "s" : [ { + "value" : [ "JanOne2015" ] + } ] + }, { + "value" : [ " and " ] + }, { + "r" : "347", + "s" : [ { + "value" : [ "DecTen2013" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "DurationBetween", + "localId" : "345", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "precision" : "Millisecond", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "348", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "349", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "ExpressionRef", + "localId" : "346", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "name" : "JanOne2015", + "annotation" : [ ] + }, { + "type" : "ExpressionRef", + "localId" : "347", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "name" : "DecTen2013", + "annotation" : [ ] + } ] + } + }, { + "localId" : "352", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "name" : "YearsBetweenUncertainty", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "352", + "s" : [ { + "value" : [ "", "define ", "YearsBetweenUncertainty", ": " ] + }, { + "r" : "353", + "s" : [ { + "value" : [ "years between " ] + }, { + "r" : "354", + "s" : [ { + "value" : [ "JanOne2015" ] + } ] + }, { + "value" : [ " and " ] + }, { + "r" : "355", + "s" : [ { + "value" : [ "January2015" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "DurationBetween", + "localId" : "353", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "precision" : "Year", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "356", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "357", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "ExpressionRef", + "localId" : "354", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "name" : "JanOne2015", + "annotation" : [ ] + }, { + "type" : "ExpressionRef", + "localId" : "355", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "name" : "January2015", + "annotation" : [ ] + } ] + } + }, { + "localId" : "360", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "name" : "MonthsBetweenUncertainty", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "360", + "s" : [ { + "value" : [ "", "define ", "MonthsBetweenUncertainty", ": " ] + }, { + "r" : "361", + "s" : [ { + "value" : [ "months between " ] + }, { + "r" : "362", + "s" : [ { + "value" : [ "JanOne2015" ] + } ] + }, { + "value" : [ " and " ] + }, { + "r" : "363", + "s" : [ { + "value" : [ "January2015" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "DurationBetween", + "localId" : "361", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "precision" : "Month", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "364", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "365", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "ExpressionRef", + "localId" : "362", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "name" : "JanOne2015", + "annotation" : [ ] + }, { + "type" : "ExpressionRef", + "localId" : "363", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "name" : "January2015", + "annotation" : [ ] + } ] + } + }, { + "localId" : "368", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "name" : "WeeksBetweenUncertainty", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "368", + "s" : [ { + "value" : [ "", "define ", "WeeksBetweenUncertainty", ": " ] + }, { + "r" : "369", + "s" : [ { + "value" : [ "weeks between " ] + }, { + "r" : "370", + "s" : [ { + "value" : [ "JanOne2015" ] + } ] + }, { + "value" : [ " and " ] + }, { + "r" : "371", + "s" : [ { + "value" : [ "January2015" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "DurationBetween", + "localId" : "369", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "precision" : "Week", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "372", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "373", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "ExpressionRef", + "localId" : "370", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "name" : "JanOne2015", + "annotation" : [ ] + }, { + "type" : "ExpressionRef", + "localId" : "371", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "name" : "January2015", + "annotation" : [ ] + } ] + } + }, { + "localId" : "376", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "name" : "DaysBetweenUncertainty", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "376", + "s" : [ { + "value" : [ "", "define ", "DaysBetweenUncertainty", ": " ] + }, { + "r" : "377", + "s" : [ { + "value" : [ "days between " ] + }, { + "r" : "378", + "s" : [ { + "value" : [ "JanOne2015" ] + } ] + }, { + "value" : [ " and " ] + }, { + "r" : "379", + "s" : [ { + "value" : [ "January2015" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "DurationBetween", + "localId" : "377", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "precision" : "Day", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "380", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "381", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "ExpressionRef", + "localId" : "378", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "name" : "JanOne2015", + "annotation" : [ ] + }, { + "type" : "ExpressionRef", + "localId" : "379", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "name" : "January2015", + "annotation" : [ ] + } ] + } + }, { + "localId" : "384", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "name" : "HoursBetweenUncertainty", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "384", + "s" : [ { + "value" : [ "", "define ", "HoursBetweenUncertainty", ": " ] + }, { + "r" : "385", + "s" : [ { + "value" : [ "hours between " ] + }, { + "r" : "386", + "s" : [ { + "value" : [ "JanOne2015" ] + } ] + }, { + "value" : [ " and " ] + }, { + "r" : "387", + "s" : [ { + "value" : [ "January2015" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "DurationBetween", + "localId" : "385", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "precision" : "Hour", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "388", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "389", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "ExpressionRef", + "localId" : "386", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "name" : "JanOne2015", + "annotation" : [ ] + }, { + "type" : "ExpressionRef", + "localId" : "387", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "name" : "January2015", + "annotation" : [ ] + } ] + } + }, { + "localId" : "392", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "name" : "MinutesBetweenUncertainty", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "392", + "s" : [ { + "value" : [ "", "define ", "MinutesBetweenUncertainty", ": " ] + }, { + "r" : "393", + "s" : [ { + "value" : [ "minutes between " ] + }, { + "r" : "394", + "s" : [ { + "value" : [ "JanOne2015" ] + } ] + }, { + "value" : [ " and " ] + }, { + "r" : "395", + "s" : [ { + "value" : [ "January2015" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "DurationBetween", + "localId" : "393", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "precision" : "Minute", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "396", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "397", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "ExpressionRef", + "localId" : "394", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "name" : "JanOne2015", + "annotation" : [ ] + }, { + "type" : "ExpressionRef", + "localId" : "395", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "name" : "January2015", + "annotation" : [ ] + } ] + } + }, { + "localId" : "400", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "name" : "SecondsBetweenUncertainty", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "400", + "s" : [ { + "value" : [ "", "define ", "SecondsBetweenUncertainty", ": " ] + }, { + "r" : "401", + "s" : [ { + "value" : [ "seconds between " ] + }, { + "r" : "402", + "s" : [ { + "value" : [ "JanOne2015" ] + } ] + }, { + "value" : [ " and " ] + }, { + "r" : "403", + "s" : [ { + "value" : [ "January2015" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "DurationBetween", + "localId" : "401", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "precision" : "Second", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "404", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "405", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "ExpressionRef", + "localId" : "402", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "name" : "JanOne2015", + "annotation" : [ ] + }, { + "type" : "ExpressionRef", + "localId" : "403", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "name" : "January2015", + "annotation" : [ ] + } ] + } + }, { + "localId" : "408", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "name" : "MillisecondsBetweenUncertainty", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "408", + "s" : [ { + "value" : [ "", "define ", "MillisecondsBetweenUncertainty", ": " ] + }, { + "r" : "409", + "s" : [ { + "value" : [ "milliseconds between " ] + }, { + "r" : "410", + "s" : [ { + "value" : [ "JanOne2015" ] + } ] + }, { + "value" : [ " and " ] + }, { + "r" : "411", + "s" : [ { + "value" : [ "January2015" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "DurationBetween", + "localId" : "409", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "precision" : "Millisecond", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "412", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "413", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "ExpressionRef", + "localId" : "410", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "name" : "JanOne2015", + "annotation" : [ ] + }, { + "type" : "ExpressionRef", + "localId" : "411", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "name" : "January2015", + "annotation" : [ ] + } ] + } + }, { + "localId" : "416", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "name" : "MillisecondsBetweenReversedUncertainty", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "416", + "s" : [ { + "value" : [ "", "define ", "MillisecondsBetweenReversedUncertainty", ": " ] + }, { + "r" : "417", + "s" : [ { + "value" : [ "milliseconds between " ] + }, { + "r" : "418", + "s" : [ { + "value" : [ "January2015" ] + } ] + }, { + "value" : [ " and " ] + }, { + "r" : "419", + "s" : [ { + "value" : [ "JanOne2015" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "DurationBetween", + "localId" : "417", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "precision" : "Millisecond", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "420", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "421", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "ExpressionRef", + "localId" : "418", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "name" : "January2015", + "annotation" : [ ] + }, { + "type" : "ExpressionRef", + "localId" : "419", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "name" : "JanOne2015", + "annotation" : [ ] + } ] + } + }, { + "localId" : "424", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "name" : "HoursBetween1and3CrossingSpringDST", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "424", + "s" : [ { + "value" : [ "", "define ", "HoursBetween1and3CrossingSpringDST", ": " ] + }, { + "r" : "425", + "s" : [ { + "value" : [ "hours between " ] + }, { + "r" : "446", + "s" : [ { + "r" : "426", + "value" : [ "DateTime", "(", "2017", ", ", "3", ", ", "12", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", " ] + }, { + "r" : "433", + "s" : [ { + "r" : "434", + "value" : [ "-", "5.0" ] + } ] + }, { + "value" : [ ")" ] + } ] + }, { + "value" : [ " and " ] + }, { + "r" : "475", + "s" : [ { + "r" : "455", + "value" : [ "DateTime", "(", "2017", ", ", "3", ", ", "12", ", ", "3", ", ", "0", ", ", "0", ", ", "0", ", " ] + }, { + "r" : "462", + "s" : [ { + "r" : "463", + "value" : [ "-", "4.0" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "DurationBetween", + "localId" : "425", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "precision" : "Hour", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "484", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "485", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "DateTime", + "localId" : "446", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "447", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "448", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "449", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "450", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "451", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "452", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "453", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "454", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "426", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2017", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "427", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "428", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "12", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "429", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "430", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "431", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "432", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "timezoneOffset" : { + "type" : "Negate", + "localId" : "433", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "435", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } ], + "operand" : { + "type" : "Literal", + "localId" : "434", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "5.0", + "annotation" : [ ] + } + } + }, { + "type" : "DateTime", + "localId" : "475", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "476", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "477", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "478", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "479", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "480", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "481", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "482", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "483", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "455", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2017", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "456", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "457", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "12", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "458", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "459", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "460", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "461", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "timezoneOffset" : { + "type" : "Negate", + "localId" : "462", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "464", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } ], + "operand" : { + "type" : "Literal", + "localId" : "463", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "4.0", + "annotation" : [ ] + } + } + } ] + } + }, { + "localId" : "488", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "name" : "HoursBetween1and3CrossingFallDST", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { "r" : "488", "s" : [ { - "value" : [ "","library TestSnippet version '1'" ] - } ] - } - } ], - "identifier" : { - "id" : "TestSnippet", - "version" : "1" - }, - "schemaIdentifier" : { - "id" : "urn:hl7-org:elm", - "version" : "r1" - }, - "usings" : { - "def" : [ { - "localId" : "1", - "localIdentifier" : "System", - "uri" : "urn:hl7-org:elm-types:r1" - }, { - "localId" : "206", - "localIdentifier" : "Simple", - "uri" : "https://github.com/cqframework/cql-execution/simple", - "version" : "1.0.0", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "206", - "s" : [ { - "value" : [ "","using " ] - }, { - "s" : [ { - "value" : [ "Simple" ] - } ] - }, { - "value" : [ " version '1.0.0'" ] - } ] - } - } ] - } ] - }, - "contexts" : { - "def" : [ { - "localId" : "211", - "name" : "Patient" - } ] - }, - "statements" : { - "def" : [ { - "localId" : "209", - "name" : "Patient", - "context" : "Patient", - "expression" : { - "localId" : "210", - "type" : "SingletonFrom", - "signature" : [ ], - "operand" : { - "localId" : "208", - "dataType" : "{https://github.com/cqframework/cql-execution/simple}Patient", - "type" : "Retrieve", - "include" : [ ], - "codeFilter" : [ ], - "dateFilter" : [ ], - "otherFilter" : [ ] - } - } - }, { - "localId" : "214", + "value" : [ "", "define ", "HoursBetween1and3CrossingFallDST", ": " ] + }, { + "r" : "489", + "s" : [ { + "value" : [ "hours between " ] + }, { + "r" : "510", + "s" : [ { + "r" : "490", + "value" : [ "DateTime", "(", "2017", ", ", "11", ", ", "5", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", " ] + }, { + "r" : "497", + "s" : [ { + "r" : "498", + "value" : [ "-", "4.0" ] + } ] + }, { + "value" : [ ")" ] + } ] + }, { + "value" : [ " and " ] + }, { + "r" : "539", + "s" : [ { + "r" : "519", + "value" : [ "DateTime", "(", "2017", ", ", "11", ", ", "5", ", ", "3", ", ", "0", ", ", "0", ", ", "0", ", " ] + }, { + "r" : "526", + "s" : [ { + "r" : "527", + "value" : [ "-", "5.0" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "DurationBetween", + "localId" : "489", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "precision" : "Hour", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "548", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "549", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "DateTime", + "localId" : "510", "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "name" : "NewYear2013", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "214", - "s" : [ { - "value" : [ "","define ","NewYear2013",": " ] - }, { - "r" : "231", - "s" : [ { - "r" : "215", - "value" : [ "DateTime","(","2013",", ","1",", ","1",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "231", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "232", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "511", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "512", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "513", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "514", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "515", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "516", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "517", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "518", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "490", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2017", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "491", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "11", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "492", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "5", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "493", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "494", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "495", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "496", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "timezoneOffset" : { + "type" : "Negate", + "localId" : "497", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "499", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } ], + "operand" : { + "type" : "Literal", + "localId" : "498", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "4.0", + "annotation" : [ ] + } + } + }, { + "type" : "DateTime", + "localId" : "539", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "540", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "541", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "542", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "543", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "544", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "545", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "546", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "547", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "519", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2017", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "520", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "11", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "521", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "5", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "522", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "523", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "524", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "525", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "timezoneOffset" : { + "type" : "Negate", + "localId" : "526", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "528", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } ], + "operand" : { + "type" : "Literal", + "localId" : "527", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "5.0", + "annotation" : [ ] + } + } + } ] + } + }, { + "localId" : "552", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "name" : "DurationInDaysWith0MS", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "552", + "s" : [ { + "value" : [ "", "define ", "DurationInDaysWith0MS", ": " ] + }, { + "r" : "610", + "s" : [ { + "value" : [ "duration in days of " ] + }, { + "r" : "601", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "569", + "s" : [ { + "r" : "553", + "value" : [ "DateTime", "(", "2026", ", ", "11", ", ", "12", ", ", "13", ", ", "41", ", ", "38", ", ", "0", ")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "593", + "s" : [ { + "r" : "577", + "value" : [ "DateTime", "(", "2026", ", ", "11", ", ", "13", ", ", "13", ", ", "41", ", ", "38", ", ", "0", ")" ] + } ] + }, { + "value" : [ "]" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "DurationBetween", + "localId" : "610", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "precision" : "Day", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "611", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "612", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "Start", + "localId" : "604", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "605", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "606", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } ], + "operand" : { + "type" : "Interval", + "localId" : "601", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "602", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "603", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "DateTime", + "localId" : "569", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "570", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "571", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "572", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "573", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "574", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "575", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "576", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "553", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2026", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "554", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "11", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "555", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "12", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "556", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "13", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "557", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "41", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "558", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "38", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "559", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "593", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "594", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "595", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "596", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "597", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "598", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "599", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "600", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "577", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2026", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "578", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "11", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "579", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "13", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "580", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "13", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "581", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "41", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "582", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "38", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "583", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + } + } + }, { + "type" : "End", + "localId" : "607", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "608", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "609", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } ], + "operand" : { + "type" : "Interval", + "localId" : "601", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "602", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "603", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "DateTime", + "localId" : "569", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "570", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "571", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "572", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "573", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "574", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "575", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "576", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "553", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2026", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "554", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "11", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "555", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "12", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "556", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "13", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "557", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "41", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "558", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "38", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "559", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "593", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "594", "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "233", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "595", "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "234", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "596", "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "235", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "597", "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "236", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "598", "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "237", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "599", "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "238", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "600", "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "215", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "577", "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2013", - "type" : "Literal" - }, - "month" : { - "localId" : "216", + "value" : "2026", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "578", "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "217", + "value" : "11", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "579", "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "218", + "value" : "13", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "580", "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "219", + "value" : "13", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "581", "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "220", + "value" : "41", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "582", "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "221", + "value" : "38", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "583", "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", "valueType" : "{urn:hl7-org:elm-types:r1}Integer", "value" : "0", - "type" : "Literal" - } + "annotation" : [ ] + } + } } - }, { - "localId" : "241", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "name" : "NewYear2014", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "241", - "s" : [ { - "value" : [ "","define ","NewYear2014",": " ] - }, { - "r" : "258", - "s" : [ { - "r" : "242", - "value" : [ "DateTime","(","2014",", ","1",", ","1",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "258", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "259", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "260", + } ] + } + }, { + "localId" : "615", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "name" : "DurationInDaysNoMS", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "615", + "s" : [ { + "value" : [ "", "define ", "DurationInDaysNoMS", ": " ] + }, { + "r" : "667", + "s" : [ { + "value" : [ "duration in days of " ] + }, { + "r" : "658", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "630", + "s" : [ { + "r" : "616", + "value" : [ "DateTime", "(", "2026", ", ", "11", ", ", "12", ", ", "13", ", ", "41", ", ", "38", ")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "651", + "s" : [ { + "r" : "637", + "value" : [ "DateTime", "(", "2026", ", ", "11", ", ", "13", ", ", "13", ", ", "41", ", ", "38", ")" ] + } ] + }, { + "value" : [ "]" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "DurationBetween", + "localId" : "667", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "precision" : "Day", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "668", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "669", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "Start", + "localId" : "661", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "662", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "663", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } ], + "operand" : { + "type" : "Interval", + "localId" : "658", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "659", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "660", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "DateTime", + "localId" : "630", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "631", "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "261", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "632", "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "262", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "633", "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "263", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "634", "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "264", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "635", "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "265", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "636", "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "242", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2014", - "type" : "Literal" - }, - "month" : { - "localId" : "243", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "616", "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "244", + "value" : "2026", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "617", "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "245", + "value" : "11", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "618", "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "246", + "value" : "12", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "619", "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "247", + "value" : "13", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "620", "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "248", + "value" : "41", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "621", "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - } - }, { - "localId" : "268", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "name" : "January2014", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "268", - "s" : [ { - "value" : [ "","define ","January2014",": " ] - }, { - "r" : "275", - "s" : [ { - "r" : "269", - "value" : [ "DateTime","(","2014",", ","1",")" ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "275", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "276", + "value" : "38", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "651", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "652", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "653", "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "277", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "654", "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "269", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "655", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "656", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "657", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "637", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2026", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "638", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "11", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "639", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "13", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "640", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "13", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "641", "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2014", - "type" : "Literal" - }, - "month" : { - "localId" : "270", + "value" : "41", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "642", "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - } + "value" : "38", + "annotation" : [ ] + } + } } - }, { - "localId" : "280", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "name" : "YearsBetween", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "280", - "s" : [ { - "value" : [ "","define ","YearsBetween",": " ] - }, { - "r" : "281", - "s" : [ { - "value" : [ "difference in years between " ] - }, { - "r" : "282", - "s" : [ { - "value" : [ "NewYear2013" ] - } ] - }, { - "value" : [ " and " ] - }, { - "r" : "283", - "s" : [ { - "value" : [ "NewYear2014" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "281", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "precision" : "Year", - "type" : "DifferenceBetween", - "signature" : [ { - "localId" : "284", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "285", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "282", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "name" : "NewYear2013", - "type" : "ExpressionRef" - }, { - "localId" : "283", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "name" : "NewYear2014", - "type" : "ExpressionRef" - } ] - } - }, { - "localId" : "288", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "name" : "MonthsBetween", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "288", - "s" : [ { - "value" : [ "","define ","MonthsBetween",": " ] - }, { - "r" : "289", - "s" : [ { - "value" : [ "difference in months between " ] - }, { - "r" : "290", - "s" : [ { - "value" : [ "NewYear2013" ] - } ] - }, { - "value" : [ " and " ] - }, { - "r" : "291", - "s" : [ { - "value" : [ "NewYear2014" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "289", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "precision" : "Month", - "type" : "DifferenceBetween", - "signature" : [ { - "localId" : "292", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "293", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "290", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "name" : "NewYear2013", - "type" : "ExpressionRef" - }, { - "localId" : "291", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "name" : "NewYear2014", - "type" : "ExpressionRef" - } ] - } - }, { - "localId" : "296", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "name" : "WeeksBetween", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "296", - "s" : [ { - "value" : [ "","define ","WeeksBetween",": " ] - }, { - "r" : "297", - "s" : [ { - "value" : [ "difference in weeks between " ] - }, { - "r" : "298", - "s" : [ { - "value" : [ "NewYear2013" ] - } ] - }, { - "value" : [ " and " ] - }, { - "r" : "299", - "s" : [ { - "value" : [ "NewYear2014" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "297", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "precision" : "Week", - "type" : "DifferenceBetween", - "signature" : [ { - "localId" : "300", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "301", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "298", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "name" : "NewYear2013", - "type" : "ExpressionRef" - }, { - "localId" : "299", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "name" : "NewYear2014", - "type" : "ExpressionRef" - } ] - } - }, { - "localId" : "304", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "name" : "DaysBetween", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "304", - "s" : [ { - "value" : [ "","define ","DaysBetween",": " ] - }, { - "r" : "305", - "s" : [ { - "value" : [ "difference in days between " ] - }, { - "r" : "306", - "s" : [ { - "value" : [ "NewYear2013" ] - } ] - }, { - "value" : [ " and " ] - }, { - "r" : "307", - "s" : [ { - "value" : [ "NewYear2014" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "305", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "precision" : "Day", - "type" : "DifferenceBetween", - "signature" : [ { - "localId" : "308", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "309", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "306", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "name" : "NewYear2013", - "type" : "ExpressionRef" - }, { - "localId" : "307", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "name" : "NewYear2014", - "type" : "ExpressionRef" - } ] - } - }, { - "localId" : "312", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "name" : "HoursBetween", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "312", - "s" : [ { - "value" : [ "","define ","HoursBetween",": " ] - }, { - "r" : "313", - "s" : [ { - "value" : [ "difference in hours between " ] - }, { - "r" : "314", - "s" : [ { - "value" : [ "NewYear2013" ] - } ] - }, { - "value" : [ " and " ] - }, { - "r" : "315", - "s" : [ { - "value" : [ "NewYear2014" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "313", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "precision" : "Hour", - "type" : "DifferenceBetween", - "signature" : [ { - "localId" : "316", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "317", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "314", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "name" : "NewYear2013", - "type" : "ExpressionRef" - }, { - "localId" : "315", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "name" : "NewYear2014", - "type" : "ExpressionRef" - } ] - } - }, { - "localId" : "320", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "name" : "MinutesBetween", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "320", - "s" : [ { - "value" : [ "","define ","MinutesBetween",": " ] - }, { - "r" : "321", - "s" : [ { - "value" : [ "difference in minutes between " ] - }, { - "r" : "322", - "s" : [ { - "value" : [ "NewYear2013" ] - } ] - }, { - "value" : [ " and " ] - }, { - "r" : "323", - "s" : [ { - "value" : [ "NewYear2014" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "321", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "precision" : "Minute", - "type" : "DifferenceBetween", - "signature" : [ { - "localId" : "324", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "325", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "322", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "name" : "NewYear2013", - "type" : "ExpressionRef" - }, { - "localId" : "323", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "name" : "NewYear2014", - "type" : "ExpressionRef" - } ] - } - }, { - "localId" : "328", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "name" : "SecondsBetween", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "328", - "s" : [ { - "value" : [ "","define ","SecondsBetween",": " ] - }, { - "r" : "329", - "s" : [ { - "value" : [ "difference in seconds between " ] - }, { - "r" : "330", - "s" : [ { - "value" : [ "NewYear2013" ] - } ] - }, { - "value" : [ " and " ] - }, { - "r" : "331", - "s" : [ { - "value" : [ "NewYear2014" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "329", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "precision" : "Second", - "type" : "DifferenceBetween", - "signature" : [ { - "localId" : "332", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "333", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "330", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "name" : "NewYear2013", - "type" : "ExpressionRef" - }, { - "localId" : "331", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "name" : "NewYear2014", - "type" : "ExpressionRef" - } ] - } - }, { - "localId" : "336", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "name" : "MillisecondsBetween", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "336", - "s" : [ { - "value" : [ "","define ","MillisecondsBetween",": " ] - }, { - "r" : "337", - "s" : [ { - "value" : [ "difference in milliseconds between " ] - }, { - "r" : "338", - "s" : [ { - "value" : [ "NewYear2013" ] - } ] - }, { - "value" : [ " and " ] - }, { - "r" : "339", - "s" : [ { - "value" : [ "NewYear2014" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "337", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "precision" : "Millisecond", - "type" : "DifferenceBetween", - "signature" : [ { - "localId" : "340", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "341", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "338", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "name" : "NewYear2013", - "type" : "ExpressionRef" - }, { - "localId" : "339", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "name" : "NewYear2014", - "type" : "ExpressionRef" - } ] - } - }, { - "localId" : "344", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "name" : "MillisecondsBetweenReversed", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "344", - "s" : [ { - "value" : [ "","define ","MillisecondsBetweenReversed",": " ] - }, { - "r" : "345", - "s" : [ { - "value" : [ "difference in milliseconds between " ] - }, { - "r" : "346", - "s" : [ { - "value" : [ "NewYear2014" ] - } ] - }, { - "value" : [ " and " ] - }, { - "r" : "347", - "s" : [ { - "value" : [ "NewYear2013" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "345", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "precision" : "Millisecond", - "type" : "DifferenceBetween", - "signature" : [ { - "localId" : "348", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "349", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "346", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "name" : "NewYear2014", - "type" : "ExpressionRef" - }, { - "localId" : "347", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "name" : "NewYear2013", - "type" : "ExpressionRef" - } ] - } - }, { - "localId" : "352", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "name" : "YearsBetweenUncertainty", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "352", - "s" : [ { - "value" : [ "","define ","YearsBetweenUncertainty",": " ] - }, { - "r" : "353", - "s" : [ { - "value" : [ "difference in years between " ] - }, { - "r" : "354", - "s" : [ { - "value" : [ "NewYear2014" ] - } ] - }, { - "value" : [ " and " ] - }, { - "r" : "355", - "s" : [ { - "value" : [ "January2014" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "353", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "precision" : "Year", - "type" : "DifferenceBetween", - "signature" : [ { - "localId" : "356", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "357", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "354", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "name" : "NewYear2014", - "type" : "ExpressionRef" - }, { - "localId" : "355", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "name" : "January2014", - "type" : "ExpressionRef" - } ] - } - }, { - "localId" : "360", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "name" : "MonthsBetweenUncertainty", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "360", - "s" : [ { - "value" : [ "","define ","MonthsBetweenUncertainty",": " ] - }, { - "r" : "361", - "s" : [ { - "value" : [ "difference in months between " ] - }, { - "r" : "362", - "s" : [ { - "value" : [ "NewYear2014" ] - } ] - }, { - "value" : [ " and " ] - }, { - "r" : "363", - "s" : [ { - "value" : [ "January2014" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "361", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "precision" : "Month", - "type" : "DifferenceBetween", - "signature" : [ { - "localId" : "364", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "365", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "362", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "name" : "NewYear2014", - "type" : "ExpressionRef" - }, { - "localId" : "363", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "name" : "January2014", - "type" : "ExpressionRef" - } ] - } - }, { - "localId" : "368", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "name" : "WeeksBetweenUncertainty", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "368", - "s" : [ { - "value" : [ "","define ","WeeksBetweenUncertainty",": " ] - }, { - "r" : "369", - "s" : [ { - "value" : [ "difference in weeks between " ] - }, { - "r" : "370", - "s" : [ { - "value" : [ "NewYear2014" ] - } ] - }, { - "value" : [ " and " ] - }, { - "r" : "371", - "s" : [ { - "value" : [ "January2014" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "369", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "precision" : "Week", - "type" : "DifferenceBetween", - "signature" : [ { - "localId" : "372", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "373", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "370", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "name" : "NewYear2014", - "type" : "ExpressionRef" - }, { - "localId" : "371", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "name" : "January2014", - "type" : "ExpressionRef" - } ] - } - }, { - "localId" : "376", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "name" : "DaysBetweenUncertainty", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "376", - "s" : [ { - "value" : [ "","define ","DaysBetweenUncertainty",": " ] - }, { - "r" : "377", - "s" : [ { - "value" : [ "difference in days between " ] - }, { - "r" : "378", - "s" : [ { - "value" : [ "NewYear2014" ] - } ] - }, { - "value" : [ " and " ] - }, { - "r" : "379", - "s" : [ { - "value" : [ "January2014" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "377", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "precision" : "Day", - "type" : "DifferenceBetween", - "signature" : [ { - "localId" : "380", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "381", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "378", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "name" : "NewYear2014", - "type" : "ExpressionRef" - }, { - "localId" : "379", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "name" : "January2014", - "type" : "ExpressionRef" - } ] - } - }, { - "localId" : "384", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "name" : "HoursBetweenUncertainty", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "384", - "s" : [ { - "value" : [ "","define ","HoursBetweenUncertainty",": " ] - }, { - "r" : "385", - "s" : [ { - "value" : [ "difference in hours between " ] - }, { - "r" : "386", - "s" : [ { - "value" : [ "NewYear2014" ] - } ] - }, { - "value" : [ " and " ] - }, { - "r" : "387", - "s" : [ { - "value" : [ "January2014" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "385", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "precision" : "Hour", - "type" : "DifferenceBetween", - "signature" : [ { - "localId" : "388", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "389", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "386", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "name" : "NewYear2014", - "type" : "ExpressionRef" - }, { - "localId" : "387", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "name" : "January2014", - "type" : "ExpressionRef" - } ] - } - }, { - "localId" : "392", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "name" : "MinutesBetweenUncertainty", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "392", - "s" : [ { - "value" : [ "","define ","MinutesBetweenUncertainty",": " ] - }, { - "r" : "393", - "s" : [ { - "value" : [ "difference in minutes between " ] - }, { - "r" : "394", - "s" : [ { - "value" : [ "NewYear2014" ] - } ] - }, { - "value" : [ " and " ] - }, { - "r" : "395", - "s" : [ { - "value" : [ "January2014" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "393", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "precision" : "Minute", - "type" : "DifferenceBetween", - "signature" : [ { - "localId" : "396", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "397", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "394", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "name" : "NewYear2014", - "type" : "ExpressionRef" - }, { - "localId" : "395", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "name" : "January2014", - "type" : "ExpressionRef" - } ] - } - }, { - "localId" : "400", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "name" : "SecondsBetweenUncertainty", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "400", - "s" : [ { - "value" : [ "","define ","SecondsBetweenUncertainty",": " ] - }, { - "r" : "401", - "s" : [ { - "value" : [ "difference in seconds between " ] - }, { - "r" : "402", - "s" : [ { - "value" : [ "NewYear2014" ] - } ] - }, { - "value" : [ " and " ] - }, { - "r" : "403", - "s" : [ { - "value" : [ "January2014" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "401", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "precision" : "Second", - "type" : "DifferenceBetween", - "signature" : [ { - "localId" : "404", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "405", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "402", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "name" : "NewYear2014", - "type" : "ExpressionRef" - }, { - "localId" : "403", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "name" : "January2014", - "type" : "ExpressionRef" - } ] - } - }, { - "localId" : "408", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "name" : "MillisecondsBetweenUncertainty", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "408", - "s" : [ { - "value" : [ "","define ","MillisecondsBetweenUncertainty",": " ] - }, { - "r" : "409", - "s" : [ { - "value" : [ "difference in milliseconds between " ] - }, { - "r" : "410", - "s" : [ { - "value" : [ "NewYear2014" ] - } ] - }, { - "value" : [ " and " ] - }, { - "r" : "411", - "s" : [ { - "value" : [ "January2014" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "409", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "precision" : "Millisecond", - "type" : "DifferenceBetween", - "signature" : [ { - "localId" : "412", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "413", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "410", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "name" : "NewYear2014", - "type" : "ExpressionRef" - }, { - "localId" : "411", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "name" : "January2014", - "type" : "ExpressionRef" - } ] - } - }, { - "localId" : "416", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "name" : "MillisecondsBetweenReversedUncertainty", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "416", - "s" : [ { - "value" : [ "","define ","MillisecondsBetweenReversedUncertainty",": " ] - }, { - "r" : "417", - "s" : [ { - "value" : [ "difference in milliseconds between " ] - }, { - "r" : "418", - "s" : [ { - "value" : [ "January2014" ] - } ] - }, { - "value" : [ " and " ] - }, { - "r" : "419", - "s" : [ { - "value" : [ "NewYear2014" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "417", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "precision" : "Millisecond", - "type" : "DifferenceBetween", - "signature" : [ { - "localId" : "420", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "421", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "418", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "name" : "January2014", - "type" : "ExpressionRef" - }, { - "localId" : "419", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "name" : "NewYear2014", - "type" : "ExpressionRef" - } ] - } - }, { - "localId" : "424", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "name" : "HoursBetween1and3CrossingSpringDST", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "424", - "s" : [ { - "value" : [ "","define ","HoursBetween1and3CrossingSpringDST",": " ] - }, { - "r" : "425", - "s" : [ { - "value" : [ "difference in hours between " ] - }, { - "r" : "446", - "s" : [ { - "r" : "426", - "value" : [ "DateTime","(","2017",", ","3",", ","12",", ","1",", ","0",", ","0",", ","0",", " ] - }, { - "r" : "433", - "s" : [ { - "r" : "434", - "value" : [ "-","5.0" ] - } ] - }, { - "value" : [ ")" ] - } ] - }, { - "value" : [ " and " ] - }, { - "r" : "475", - "s" : [ { - "r" : "455", - "value" : [ "DateTime","(","2017",", ","3",", ","12",", ","3",", ","0",", ","0",", ","0",", " ] - }, { - "r" : "462", - "s" : [ { - "r" : "463", - "value" : [ "-","4.0" ] - } ] - }, { - "value" : [ ")" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "425", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "precision" : "Hour", - "type" : "DifferenceBetween", - "signature" : [ { - "localId" : "484", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "485", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "446", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "447", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "448", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "449", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "450", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "451", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "452", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "453", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "454", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "426", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2017", - "type" : "Literal" - }, - "month" : { - "localId" : "427", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "428", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "12", - "type" : "Literal" - }, - "hour" : { - "localId" : "429", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "minute" : { - "localId" : "430", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "431", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "432", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "timezoneOffset" : { - "localId" : "433", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "Negate", - "signature" : [ { - "localId" : "435", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "434", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "5.0", - "type" : "Literal" - } - } - }, { - "localId" : "475", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "476", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "477", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "478", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "479", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "480", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "481", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "482", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "483", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "455", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2017", - "type" : "Literal" - }, - "month" : { - "localId" : "456", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "457", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "12", - "type" : "Literal" - }, - "hour" : { - "localId" : "458", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "minute" : { - "localId" : "459", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "460", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "461", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "timezoneOffset" : { - "localId" : "462", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "Negate", - "signature" : [ { - "localId" : "464", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "463", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "4.0", - "type" : "Literal" - } - } - } ] - } - }, { - "localId" : "488", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "name" : "HoursBetween1and3CrossingFallDST", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "488", - "s" : [ { - "value" : [ "","define ","HoursBetween1and3CrossingFallDST",": " ] - }, { - "r" : "489", - "s" : [ { - "value" : [ "difference in hours between " ] - }, { - "r" : "510", - "s" : [ { - "r" : "490", - "value" : [ "DateTime","(","2017",", ","11",", ","5",", ","1",", ","0",", ","0",", ","0",", " ] - }, { - "r" : "497", - "s" : [ { - "r" : "498", - "value" : [ "-","4.0" ] - } ] - }, { - "value" : [ ")" ] - } ] - }, { - "value" : [ " and " ] - }, { - "r" : "539", - "s" : [ { - "r" : "519", - "value" : [ "DateTime","(","2017",", ","11",", ","5",", ","3",", ","0",", ","0",", ","0",", " ] - }, { - "r" : "526", - "s" : [ { - "r" : "527", - "value" : [ "-","5.0" ] - } ] - }, { - "value" : [ ")" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "489", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "precision" : "Hour", - "type" : "DifferenceBetween", - "signature" : [ { - "localId" : "548", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "549", + }, { + "type" : "End", + "localId" : "664", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "665", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "666", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } ], + "operand" : { + "type" : "Interval", + "localId" : "658", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "659", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "660", "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "510", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "511", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "512", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "513", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "514", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "515", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "516", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "517", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "518", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "490", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2017", - "type" : "Literal" - }, - "month" : { - "localId" : "491", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "11", - "type" : "Literal" - }, - "day" : { - "localId" : "492", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal" - }, - "hour" : { - "localId" : "493", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "minute" : { - "localId" : "494", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "495", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "496", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "timezoneOffset" : { - "localId" : "497", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "Negate", - "signature" : [ { - "localId" : "499", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "498", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "4.0", - "type" : "Literal" - } - } - }, { - "localId" : "539", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "540", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "541", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "542", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "543", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "544", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "545", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "546", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "547", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "519", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2017", - "type" : "Literal" - }, - "month" : { - "localId" : "520", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "11", - "type" : "Literal" - }, - "day" : { - "localId" : "521", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal" - }, - "hour" : { - "localId" : "522", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "minute" : { - "localId" : "523", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "524", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "525", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "timezoneOffset" : { - "localId" : "526", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "Negate", - "signature" : [ { - "localId" : "528", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "527", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "5.0", - "type" : "Literal" - } - } - } ] - } - } ] - } - } -} - -/* DifferenceBetween Comparisons -library TestSnippet version '1' -using Simple version '1.0.0' -context Patient -define NewYear2014: DateTime(2014, 1, 1, 0, 0, 0, 0) -define February2014: DateTime(2014, 2) -define GreaterThan25DaysAfter: difference in days between NewYear2014 and February2014 > 25 -define GreaterThan40DaysAfter: difference in days between NewYear2014 and February2014 > 40 -define GreaterThan80DaysAfter: difference in days between NewYear2014 and February2014 > 80 -define GreaterOrEqualTo25DaysAfter: difference in days between NewYear2014 and February2014 >= 25 -define GreaterOrEqualTo40DaysAfter: difference in days between NewYear2014 and February2014 >= 40 -define GreaterOrEqualTo80DaysAfter: difference in days between NewYear2014 and February2014 >= 80 -define EqualTo25DaysAfter: difference in days between NewYear2014 and February2014 = 25 -define EqualTo40DaysAfter: difference in days between NewYear2014 and February2014 = 40 -define EqualTo80DaysAfter: difference in days between NewYear2014 and February2014 = 80 -define LessOrEqualTo25DaysAfter: difference in days between NewYear2014 and February2014 <= 25 -define LessOrEqualTo40DaysAfter: difference in days between NewYear2014 and February2014 <= 40 -define LessOrEqualTo80DaysAfter: difference in days between NewYear2014 and February2014 <= 80 -define LessThan25DaysAfter: difference in days between NewYear2014 and February2014 < 25 -define LessThan40DaysAfter: difference in days between NewYear2014 and February2014 < 40 -define LessThan80DaysAfter: difference in days between NewYear2014 and February2014 < 80 -define TwentyFiveDaysLessThanDaysBetween: 25 < difference in days between NewYear2014 and February2014 -define FortyDaysEqualToDaysBetween: 40 = difference in days between NewYear2014 and February2014 -define TwentyFiveDaysGreaterThanDaysBetween: 25 > difference in days between NewYear2014 and February2014 -define BonnieTestCase: difference in months between DateTime(2012, 9, 13, 14, 50, 0, 0, -4.0) and DateTime(2012, 12, 31, 23, 59, 59, 999, -5.0) <= 2 -define BonnieTestCaseZulu: difference in months between DateTime(2012, 9, 13, 14, 50, 0, 0, 0.0) and DateTime(2012, 12, 31, 23, 59, 59, 999, 0.0) <= 2 -*/ - -module.exports['DifferenceBetween Comparisons'] = { - "library" : { - "localId" : "0", - "annotation" : [ { - "translatorVersion" : "3.27.0", - "translatorOptions" : "EnableDateRangeOptimization,EnableAnnotations,EnableResultTypes", - "signatureLevel" : "All", - "type" : "CqlToElmInfo" - }, { - "type" : "Annotation", - "s" : { - "r" : "537", - "s" : [ { - "value" : [ "","library TestSnippet version '1'" ] - } ] - } - } ], - "identifier" : { - "id" : "TestSnippet", - "version" : "1" - }, - "schemaIdentifier" : { - "id" : "urn:hl7-org:elm", - "version" : "r1" - }, - "usings" : { - "def" : [ { - "localId" : "1", - "localIdentifier" : "System", - "uri" : "urn:hl7-org:elm-types:r1" - }, { - "localId" : "206", - "localIdentifier" : "Simple", - "uri" : "https://github.com/cqframework/cql-execution/simple", - "version" : "1.0.0", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "206", - "s" : [ { - "value" : [ "","using " ] - }, { - "s" : [ { - "value" : [ "Simple" ] - } ] - }, { - "value" : [ " version '1.0.0'" ] - } ] - } - } ] - } ] - }, - "contexts" : { - "def" : [ { - "localId" : "211", - "name" : "Patient" - } ] - }, - "statements" : { - "def" : [ { - "localId" : "209", - "name" : "Patient", - "context" : "Patient", - "expression" : { - "localId" : "210", - "type" : "SingletonFrom", - "signature" : [ ], - "operand" : { - "localId" : "208", - "dataType" : "{https://github.com/cqframework/cql-execution/simple}Patient", - "type" : "Retrieve", - "include" : [ ], - "codeFilter" : [ ], - "dateFilter" : [ ], - "otherFilter" : [ ] - } - } - }, { - "localId" : "214", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "name" : "NewYear2014", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "214", - "s" : [ { - "value" : [ "","define ","NewYear2014",": " ] - }, { - "r" : "231", - "s" : [ { - "r" : "215", - "value" : [ "DateTime","(","2014",", ","1",", ","1",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "231", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "232", + "annotation" : [ ] + } + }, + "low" : { + "type" : "DateTime", + "localId" : "630", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "631", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "632", "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "233", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "633", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "634", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "635", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "636", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "616", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2026", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "617", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "11", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "618", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "12", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "619", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "13", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "620", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "41", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "621", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "38", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "651", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "652", "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "234", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "653", "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "235", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "654", "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "236", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "655", "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "237", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "656", "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "238", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "657", "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "215", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "637", "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2014", - "type" : "Literal" - }, - "month" : { - "localId" : "216", + "value" : "2026", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "638", "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "217", + "value" : "11", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "639", "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "218", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "219", + "value" : "13", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "640", "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "220", + "value" : "13", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "641", "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "221", + "value" : "41", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "642", "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } + "value" : "38", + "annotation" : [ ] + } + } } - }, { - "localId" : "241", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "name" : "February2014", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "241", + } ] + } + }, { + "localId" : "672", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "name" : "DurationInDaysSameMS", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "672", + "s" : [ { + "value" : [ "", "define ", "DurationInDaysSameMS", ": " ] + }, { + "r" : "730", + "s" : [ { + "value" : [ "duration in days of " ] + }, { + "r" : "721", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "689", "s" : [ { - "value" : [ "","define ","February2014",": " ] - }, { - "r" : "248", - "s" : [ { - "r" : "242", - "value" : [ "DateTime","(","2014",", ","2",")" ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "248", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "249", + "r" : "673", + "value" : [ "DateTime", "(", "2026", ", ", "11", ", ", "12", ", ", "13", ", ", "41", ", ", "38", ", ", "59", ")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "713", + "s" : [ { + "r" : "697", + "value" : [ "DateTime", "(", "2026", ", ", "11", ", ", "13", ", ", "13", ", ", "41", ", ", "38", ", ", "59", ")" ] + } ] + }, { + "value" : [ "]" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "DurationBetween", + "localId" : "730", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "precision" : "Day", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "731", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "732", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "Start", + "localId" : "724", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "725", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "726", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } ], + "operand" : { + "type" : "Interval", + "localId" : "721", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "722", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "723", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "DateTime", + "localId" : "689", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "690", "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "250", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "691", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "692", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "693", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "694", "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "242", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "695", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "696", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "673", "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2014", - "type" : "Literal" - }, - "month" : { - "localId" : "243", + "value" : "2026", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "674", "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal" - } - } - }, { - "localId" : "253", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "GreaterThan25DaysAfter", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "253", - "s" : [ { - "value" : [ "","define ","GreaterThan25DaysAfter",": " ] - }, { - "r" : "254", - "s" : [ { - "r" : "255", - "s" : [ { - "value" : [ "difference in days between " ] - }, { - "r" : "256", - "s" : [ { - "value" : [ "NewYear2014" ] - } ] - }, { - "value" : [ " and " ] - }, { - "r" : "257", - "s" : [ { - "value" : [ "February2014" ] - } ] - } ] - }, { - "r" : "260", - "value" : [ " ",">"," ","25" ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "254", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "Greater", - "signature" : [ { - "localId" : "261", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "262", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "255", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "precision" : "Day", - "type" : "DifferenceBetween", - "signature" : [ { - "localId" : "258", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "259", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "256", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "name" : "NewYear2014", - "type" : "ExpressionRef" - }, { - "localId" : "257", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "name" : "February2014", - "type" : "ExpressionRef" - } ] - }, { - "localId" : "260", + "value" : "11", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "675", "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "25", - "type" : "Literal" - } ] - } - }, { - "localId" : "265", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "GreaterThan40DaysAfter", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "265", - "s" : [ { - "value" : [ "","define ","GreaterThan40DaysAfter",": " ] - }, { - "r" : "266", - "s" : [ { - "r" : "267", - "s" : [ { - "value" : [ "difference in days between " ] - }, { - "r" : "268", - "s" : [ { - "value" : [ "NewYear2014" ] - } ] - }, { - "value" : [ " and " ] - }, { - "r" : "269", - "s" : [ { - "value" : [ "February2014" ] - } ] - } ] - }, { - "r" : "272", - "value" : [ " ",">"," ","40" ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "266", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "Greater", - "signature" : [ { - "localId" : "273", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "274", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "267", + "value" : "12", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "676", "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "precision" : "Day", - "type" : "DifferenceBetween", - "signature" : [ { - "localId" : "270", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "271", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "268", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "name" : "NewYear2014", - "type" : "ExpressionRef" - }, { - "localId" : "269", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "name" : "February2014", - "type" : "ExpressionRef" - } ] - }, { - "localId" : "272", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "13", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "677", "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "40", - "type" : "Literal" - } ] - } - }, { - "localId" : "277", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "GreaterThan80DaysAfter", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "277", - "s" : [ { - "value" : [ "","define ","GreaterThan80DaysAfter",": " ] - }, { - "r" : "278", - "s" : [ { - "r" : "279", - "s" : [ { - "value" : [ "difference in days between " ] - }, { - "r" : "280", - "s" : [ { - "value" : [ "NewYear2014" ] - } ] - }, { - "value" : [ " and " ] - }, { - "r" : "281", - "s" : [ { - "value" : [ "February2014" ] - } ] - } ] - }, { - "r" : "284", - "value" : [ " ",">"," ","80" ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "278", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "Greater", - "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" : "279", + "value" : "41", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "678", "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "precision" : "Day", - "type" : "DifferenceBetween", - "signature" : [ { - "localId" : "282", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "283", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "280", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "name" : "NewYear2014", - "type" : "ExpressionRef" - }, { - "localId" : "281", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "name" : "February2014", - "type" : "ExpressionRef" - } ] - }, { - "localId" : "284", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "38", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "679", "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "80", - "type" : "Literal" - } ] - } - }, { - "localId" : "289", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "GreaterOrEqualTo25DaysAfter", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "289", - "s" : [ { - "value" : [ "","define ","GreaterOrEqualTo25DaysAfter",": " ] - }, { - "r" : "290", - "s" : [ { - "r" : "291", - "s" : [ { - "value" : [ "difference in days between " ] - }, { - "r" : "292", - "s" : [ { - "value" : [ "NewYear2014" ] - } ] - }, { - "value" : [ " and " ] - }, { - "r" : "293", - "s" : [ { - "value" : [ "February2014" ] - } ] - } ] - }, { - "r" : "296", - "value" : [ " ",">="," ","25" ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "290", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "GreaterOrEqual", - "signature" : [ { - "localId" : "297", + "value" : "59", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "713", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "714", "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "298", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "715", "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "291", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "precision" : "Day", - "type" : "DifferenceBetween", - "signature" : [ { - "localId" : "294", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "295", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "292", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "name" : "NewYear2014", - "type" : "ExpressionRef" - }, { - "localId" : "293", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "name" : "February2014", - "type" : "ExpressionRef" - } ] - }, { - "localId" : "296", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "25", - "type" : "Literal" - } ] - } - }, { - "localId" : "301", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "GreaterOrEqualTo40DaysAfter", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "301", - "s" : [ { - "value" : [ "","define ","GreaterOrEqualTo40DaysAfter",": " ] - }, { - "r" : "302", - "s" : [ { - "r" : "303", - "s" : [ { - "value" : [ "difference in days between " ] - }, { - "r" : "304", - "s" : [ { - "value" : [ "NewYear2014" ] - } ] - }, { - "value" : [ " and " ] - }, { - "r" : "305", - "s" : [ { - "value" : [ "February2014" ] - } ] - } ] - }, { - "r" : "308", - "value" : [ " ",">="," ","40" ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "302", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "GreaterOrEqual", - "signature" : [ { - "localId" : "309", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "716", "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "310", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "717", "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "303", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "precision" : "Day", - "type" : "DifferenceBetween", - "signature" : [ { - "localId" : "306", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "307", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "304", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "name" : "NewYear2014", - "type" : "ExpressionRef" - }, { - "localId" : "305", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "name" : "February2014", - "type" : "ExpressionRef" - } ] - }, { - "localId" : "308", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "40", - "type" : "Literal" - } ] - } - }, { - "localId" : "313", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "GreaterOrEqualTo80DaysAfter", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "313", - "s" : [ { - "value" : [ "","define ","GreaterOrEqualTo80DaysAfter",": " ] - }, { - "r" : "314", - "s" : [ { - "r" : "315", - "s" : [ { - "value" : [ "difference in days between " ] - }, { - "r" : "316", - "s" : [ { - "value" : [ "NewYear2014" ] - } ] - }, { - "value" : [ " and " ] - }, { - "r" : "317", - "s" : [ { - "value" : [ "February2014" ] - } ] - } ] - }, { - "r" : "320", - "value" : [ " ",">="," ","80" ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "314", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "GreaterOrEqual", - "signature" : [ { - "localId" : "321", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "718", "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "322", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "719", "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "315", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "precision" : "Day", - "type" : "DifferenceBetween", - "signature" : [ { - "localId" : "318", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "319", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "316", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "name" : "NewYear2014", - "type" : "ExpressionRef" - }, { - "localId" : "317", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "name" : "February2014", - "type" : "ExpressionRef" - } ] - }, { - "localId" : "320", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "720", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "697", "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "80", - "type" : "Literal" - } ] - } - }, { - "localId" : "325", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "EqualTo25DaysAfter", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "325", - "s" : [ { - "value" : [ "","define ","EqualTo25DaysAfter",": " ] - }, { - "r" : "326", - "s" : [ { - "r" : "327", - "s" : [ { - "value" : [ "difference in days between " ] - }, { - "r" : "328", - "s" : [ { - "value" : [ "NewYear2014" ] - } ] - }, { - "value" : [ " and " ] - }, { - "r" : "329", - "s" : [ { - "value" : [ "February2014" ] - } ] - } ] - }, { - "r" : "332", - "value" : [ " ","="," ","25" ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "326", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "Equal", - "signature" : [ { - "localId" : "333", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "334", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "327", + "value" : "2026", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "698", "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "precision" : "Day", - "type" : "DifferenceBetween", - "signature" : [ { - "localId" : "330", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "331", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "328", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "name" : "NewYear2014", - "type" : "ExpressionRef" - }, { - "localId" : "329", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "name" : "February2014", - "type" : "ExpressionRef" - } ] - }, { - "localId" : "332", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "11", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "699", "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "25", - "type" : "Literal" - } ] - } - }, { - "localId" : "337", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "EqualTo40DaysAfter", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "337", - "s" : [ { - "value" : [ "","define ","EqualTo40DaysAfter",": " ] - }, { - "r" : "338", - "s" : [ { - "r" : "339", - "s" : [ { - "value" : [ "difference in days between " ] - }, { - "r" : "340", - "s" : [ { - "value" : [ "NewYear2014" ] - } ] - }, { - "value" : [ " and " ] - }, { - "r" : "341", - "s" : [ { - "value" : [ "February2014" ] - } ] - } ] - }, { - "r" : "344", - "value" : [ " ","="," ","40" ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "338", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "Equal", - "signature" : [ { - "localId" : "345", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "346", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "339", + "value" : "13", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "700", "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "precision" : "Day", - "type" : "DifferenceBetween", - "signature" : [ { - "localId" : "342", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "343", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "340", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "name" : "NewYear2014", - "type" : "ExpressionRef" - }, { - "localId" : "341", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "name" : "February2014", - "type" : "ExpressionRef" - } ] - }, { - "localId" : "344", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "13", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "701", "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "40", - "type" : "Literal" - } ] - } - }, { - "localId" : "349", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "EqualTo80DaysAfter", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "349", - "s" : [ { - "value" : [ "","define ","EqualTo80DaysAfter",": " ] - }, { - "r" : "350", - "s" : [ { - "r" : "351", - "s" : [ { - "value" : [ "difference in days between " ] - }, { - "r" : "352", - "s" : [ { - "value" : [ "NewYear2014" ] - } ] - }, { - "value" : [ " and " ] - }, { - "r" : "353", - "s" : [ { - "value" : [ "February2014" ] - } ] - } ] - }, { - "r" : "356", - "value" : [ " ","="," ","80" ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "350", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "Equal", - "signature" : [ { - "localId" : "357", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "358", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "351", + "value" : "41", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "702", "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "precision" : "Day", - "type" : "DifferenceBetween", - "signature" : [ { - "localId" : "354", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "355", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "352", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "name" : "NewYear2014", - "type" : "ExpressionRef" - }, { - "localId" : "353", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "name" : "February2014", - "type" : "ExpressionRef" - } ] - }, { - "localId" : "356", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "38", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "703", "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "80", - "type" : "Literal" - } ] + "value" : "59", + "annotation" : [ ] + } + } } - }, { - "localId" : "361", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "LessOrEqualTo25DaysAfter", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "361", - "s" : [ { - "value" : [ "","define ","LessOrEqualTo25DaysAfter",": " ] - }, { - "r" : "362", - "s" : [ { - "r" : "363", - "s" : [ { - "value" : [ "difference in days between " ] - }, { - "r" : "364", - "s" : [ { - "value" : [ "NewYear2014" ] - } ] - }, { - "value" : [ " and " ] - }, { - "r" : "365", - "s" : [ { - "value" : [ "February2014" ] - } ] - } ] - }, { - "r" : "368", - "value" : [ " ","<="," ","25" ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "362", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "LessOrEqual", - "signature" : [ { - "localId" : "369", + }, { + "type" : "End", + "localId" : "727", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "728", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "729", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } ], + "operand" : { + "type" : "Interval", + "localId" : "721", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "722", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "723", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "DateTime", + "localId" : "689", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "690", "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "370", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "691", "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "363", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "precision" : "Day", - "type" : "DifferenceBetween", - "signature" : [ { - "localId" : "366", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "367", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "364", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "name" : "NewYear2014", - "type" : "ExpressionRef" - }, { - "localId" : "365", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "name" : "February2014", - "type" : "ExpressionRef" - } ] - }, { - "localId" : "368", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "25", - "type" : "Literal" - } ] - } - }, { - "localId" : "373", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "LessOrEqualTo40DaysAfter", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "373", - "s" : [ { - "value" : [ "","define ","LessOrEqualTo40DaysAfter",": " ] - }, { - "r" : "374", - "s" : [ { - "r" : "375", - "s" : [ { - "value" : [ "difference in days between " ] - }, { - "r" : "376", - "s" : [ { - "value" : [ "NewYear2014" ] - } ] - }, { - "value" : [ " and " ] - }, { - "r" : "377", - "s" : [ { - "value" : [ "February2014" ] - } ] - } ] - }, { - "r" : "380", - "value" : [ " ","<="," ","40" ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "374", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "LessOrEqual", - "signature" : [ { - "localId" : "381", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "692", "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "382", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "693", "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "375", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "precision" : "Day", - "type" : "DifferenceBetween", - "signature" : [ { - "localId" : "378", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "379", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "376", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "name" : "NewYear2014", - "type" : "ExpressionRef" - }, { - "localId" : "377", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "name" : "February2014", - "type" : "ExpressionRef" - } ] - }, { - "localId" : "380", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "40", - "type" : "Literal" - } ] - } - }, { - "localId" : "385", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "LessOrEqualTo80DaysAfter", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "385", - "s" : [ { - "value" : [ "","define ","LessOrEqualTo80DaysAfter",": " ] - }, { - "r" : "386", - "s" : [ { - "r" : "387", - "s" : [ { - "value" : [ "difference in days between " ] - }, { - "r" : "388", - "s" : [ { - "value" : [ "NewYear2014" ] - } ] - }, { - "value" : [ " and " ] - }, { - "r" : "389", - "s" : [ { - "value" : [ "February2014" ] - } ] - } ] - }, { - "r" : "392", - "value" : [ " ","<="," ","80" ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "386", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "LessOrEqual", - "signature" : [ { - "localId" : "393", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "694", "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "394", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "695", "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "387", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "precision" : "Day", - "type" : "DifferenceBetween", - "signature" : [ { - "localId" : "390", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "391", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "388", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "name" : "NewYear2014", - "type" : "ExpressionRef" - }, { - "localId" : "389", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "name" : "February2014", - "type" : "ExpressionRef" - } ] - }, { - "localId" : "392", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "696", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "673", "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "80", - "type" : "Literal" - } ] - } - }, { - "localId" : "397", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "LessThan25DaysAfter", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "397", - "s" : [ { - "value" : [ "","define ","LessThan25DaysAfter",": " ] - }, { - "r" : "398", - "s" : [ { - "r" : "399", - "s" : [ { - "value" : [ "difference in days between " ] - }, { - "r" : "400", - "s" : [ { - "value" : [ "NewYear2014" ] - } ] - }, { - "value" : [ " and " ] - }, { - "r" : "401", - "s" : [ { - "value" : [ "February2014" ] - } ] - } ] - }, { - "r" : "404", - "value" : [ " ","<"," ","25" ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "398", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "Less", - "signature" : [ { - "localId" : "405", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "406", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "399", + "value" : "2026", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "674", "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "precision" : "Day", - "type" : "DifferenceBetween", - "signature" : [ { - "localId" : "402", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "403", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "400", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "name" : "NewYear2014", - "type" : "ExpressionRef" - }, { - "localId" : "401", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "name" : "February2014", - "type" : "ExpressionRef" - } ] - }, { - "localId" : "404", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "11", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "675", "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "25", - "type" : "Literal" - } ] - } - }, { - "localId" : "409", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "LessThan40DaysAfter", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "409", - "s" : [ { - "value" : [ "","define ","LessThan40DaysAfter",": " ] - }, { - "r" : "410", - "s" : [ { - "r" : "411", - "s" : [ { - "value" : [ "difference in days between " ] - }, { - "r" : "412", - "s" : [ { - "value" : [ "NewYear2014" ] - } ] - }, { - "value" : [ " and " ] - }, { - "r" : "413", - "s" : [ { - "value" : [ "February2014" ] - } ] - } ] - }, { - "r" : "416", - "value" : [ " ","<"," ","40" ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "410", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "Less", - "signature" : [ { - "localId" : "417", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "418", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "411", + "value" : "12", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "676", "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "precision" : "Day", - "type" : "DifferenceBetween", - "signature" : [ { - "localId" : "414", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "415", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "412", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "name" : "NewYear2014", - "type" : "ExpressionRef" - }, { - "localId" : "413", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "name" : "February2014", - "type" : "ExpressionRef" - } ] - }, { - "localId" : "416", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "13", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "677", "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "40", - "type" : "Literal" - } ] - } - }, { - "localId" : "421", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "LessThan80DaysAfter", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "421", - "s" : [ { - "value" : [ "","define ","LessThan80DaysAfter",": " ] - }, { - "r" : "422", - "s" : [ { - "r" : "423", - "s" : [ { - "value" : [ "difference in days between " ] - }, { - "r" : "424", - "s" : [ { - "value" : [ "NewYear2014" ] - } ] - }, { - "value" : [ " and " ] - }, { - "r" : "425", - "s" : [ { - "value" : [ "February2014" ] - } ] - } ] - }, { - "r" : "428", - "value" : [ " ","<"," ","80" ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "422", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "Less", - "signature" : [ { - "localId" : "429", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "430", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "423", + "value" : "41", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "678", "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "precision" : "Day", - "type" : "DifferenceBetween", - "signature" : [ { - "localId" : "426", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "427", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "424", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "name" : "NewYear2014", - "type" : "ExpressionRef" - }, { - "localId" : "425", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "name" : "February2014", - "type" : "ExpressionRef" - } ] - }, { - "localId" : "428", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "38", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "679", "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "80", - "type" : "Literal" - } ] - } - }, { - "localId" : "433", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "TwentyFiveDaysLessThanDaysBetween", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "433", - "s" : [ { - "value" : [ "","define ","TwentyFiveDaysLessThanDaysBetween",": " ] - }, { - "r" : "434", - "s" : [ { - "r" : "435", - "value" : [ "25"," ","<"," " ] - }, { - "r" : "436", - "s" : [ { - "value" : [ "difference in days between " ] - }, { - "r" : "437", - "s" : [ { - "value" : [ "NewYear2014" ] - } ] - }, { - "value" : [ " and " ] - }, { - "r" : "438", - "s" : [ { - "value" : [ "February2014" ] - } ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "434", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "Less", - "signature" : [ { - "localId" : "441", + "value" : "59", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "713", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "714", "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "442", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "715", "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "435", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "25", - "type" : "Literal" - }, { - "localId" : "436", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "precision" : "Day", - "type" : "DifferenceBetween", - "signature" : [ { - "localId" : "439", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "440", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "437", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "name" : "NewYear2014", - "type" : "ExpressionRef" - }, { - "localId" : "438", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "name" : "February2014", - "type" : "ExpressionRef" - } ] - } ] - } - }, { - "localId" : "445", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "FortyDaysEqualToDaysBetween", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "445", - "s" : [ { - "value" : [ "","define ","FortyDaysEqualToDaysBetween",": " ] - }, { - "r" : "446", - "s" : [ { - "r" : "447", - "value" : [ "40"," ","="," " ] - }, { - "r" : "448", - "s" : [ { - "value" : [ "difference in days between " ] - }, { - "r" : "449", - "s" : [ { - "value" : [ "NewYear2014" ] - } ] - }, { - "value" : [ " and " ] - }, { - "r" : "450", - "s" : [ { - "value" : [ "February2014" ] - } ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "446", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "Equal", - "signature" : [ { - "localId" : "453", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "716", "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "454", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "717", "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "447", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "40", - "type" : "Literal" - }, { - "localId" : "448", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "precision" : "Day", - "type" : "DifferenceBetween", - "signature" : [ { - "localId" : "451", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "452", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "449", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "name" : "NewYear2014", - "type" : "ExpressionRef" - }, { - "localId" : "450", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "name" : "February2014", - "type" : "ExpressionRef" - } ] - } ] - } - }, { - "localId" : "457", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "TwentyFiveDaysGreaterThanDaysBetween", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "457", - "s" : [ { - "value" : [ "","define ","TwentyFiveDaysGreaterThanDaysBetween",": " ] - }, { - "r" : "458", - "s" : [ { - "r" : "459", - "value" : [ "25"," ",">"," " ] - }, { - "r" : "460", - "s" : [ { - "value" : [ "difference in days between " ] - }, { - "r" : "461", - "s" : [ { - "value" : [ "NewYear2014" ] - } ] - }, { - "value" : [ " and " ] - }, { - "r" : "462", - "s" : [ { - "value" : [ "February2014" ] - } ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "458", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "Greater", - "signature" : [ { - "localId" : "465", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "718", "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "466", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "719", "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "459", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "720", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "697", "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "25", - "type" : "Literal" - }, { - "localId" : "460", + "value" : "2026", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "698", "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "precision" : "Day", - "type" : "DifferenceBetween", - "signature" : [ { - "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" : "461", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "name" : "NewYear2014", - "type" : "ExpressionRef" - }, { - "localId" : "462", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "name" : "February2014", - "type" : "ExpressionRef" - } ] - } ] - } - }, { - "localId" : "469", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "BonnieTestCase", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "469", - "s" : [ { - "value" : [ "","define ","BonnieTestCase",": " ] - }, { - "r" : "470", - "s" : [ { - "r" : "471", - "s" : [ { - "value" : [ "difference in months between " ] - }, { - "r" : "492", - "s" : [ { - "r" : "472", - "value" : [ "DateTime","(","2012",", ","9",", ","13",", ","14",", ","50",", ","0",", ","0",", " ] - }, { - "r" : "479", - "s" : [ { - "r" : "480", - "value" : [ "-","4.0" ] - } ] - }, { - "value" : [ ")" ] - } ] - }, { - "value" : [ " and " ] - }, { - "r" : "521", - "s" : [ { - "r" : "501", - "value" : [ "DateTime","(","2012",", ","12",", ","31",", ","23",", ","59",", ","59",", ","999",", " ] - }, { - "r" : "508", - "s" : [ { - "r" : "509", - "value" : [ "-","5.0" ] - } ] - }, { - "value" : [ ")" ] - } ] - } ] - }, { - "r" : "532", - "value" : [ " ","<="," ","2" ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "470", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "LessOrEqual", - "signature" : [ { - "localId" : "533", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "534", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "471", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "11", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "699", "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "precision" : "Month", - "type" : "DifferenceBetween", - "signature" : [ { - "localId" : "530", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "531", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "492", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "493", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "494", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "495", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "496", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "497", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "498", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "499", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "500", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "472", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "473", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "9", - "type" : "Literal" - }, - "day" : { - "localId" : "474", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "13", - "type" : "Literal" - }, - "hour" : { - "localId" : "475", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "14", - "type" : "Literal" - }, - "minute" : { - "localId" : "476", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "50", - "type" : "Literal" - }, - "second" : { - "localId" : "477", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "478", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "timezoneOffset" : { - "localId" : "479", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "Negate", - "signature" : [ { - "localId" : "481", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "480", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "4.0", - "type" : "Literal" - } - } - }, { - "localId" : "521", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "522", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "523", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "524", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "525", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "526", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "527", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "528", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "529", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "501", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "502", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "12", - "type" : "Literal" - }, - "day" : { - "localId" : "503", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "31", - "type" : "Literal" - }, - "hour" : { - "localId" : "504", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "23", - "type" : "Literal" - }, - "minute" : { - "localId" : "505", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal" - }, - "second" : { - "localId" : "506", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "507", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "999", - "type" : "Literal" - }, - "timezoneOffset" : { - "localId" : "508", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "Negate", - "signature" : [ { - "localId" : "510", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "509", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "5.0", - "type" : "Literal" - } - } - } ] - }, { - "localId" : "532", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "13", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "700", "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal" - } ] - } - }, { - "localId" : "537", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "BonnieTestCaseZulu", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "537", - "s" : [ { - "value" : [ "","define ","BonnieTestCaseZulu",": " ] - }, { - "r" : "538", - "s" : [ { - "r" : "539", - "s" : [ { - "value" : [ "difference in months between " ] - }, { - "r" : "558", - "s" : [ { - "r" : "540", - "value" : [ "DateTime","(","2012",", ","9",", ","13",", ","14",", ","50",", ","0",", ","0",", ","0.0",")" ] - } ] - }, { - "value" : [ " and " ] - }, { - "r" : "585", - "s" : [ { - "r" : "567", - "value" : [ "DateTime","(","2012",", ","12",", ","31",", ","23",", ","59",", ","59",", ","999",", ","0.0",")" ] - } ] - } ] - }, { - "r" : "596", - "value" : [ " ","<="," ","2" ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "538", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "LessOrEqual", - "signature" : [ { - "localId" : "597", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "598", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "539", + "value" : "13", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "701", "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "precision" : "Month", - "type" : "DifferenceBetween", - "signature" : [ { - "localId" : "594", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "595", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "558", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "559", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "560", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "561", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "562", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "563", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "564", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "565", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "566", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "540", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "541", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "9", - "type" : "Literal" - }, - "day" : { - "localId" : "542", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "13", - "type" : "Literal" - }, - "hour" : { - "localId" : "543", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "14", - "type" : "Literal" - }, - "minute" : { - "localId" : "544", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "50", - "type" : "Literal" - }, - "second" : { - "localId" : "545", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "546", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "timezoneOffset" : { - "localId" : "547", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "0.0", - "type" : "Literal" - } - }, { - "localId" : "585", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "586", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "587", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "588", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "589", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "590", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "591", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "592", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "593", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "567", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "568", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "12", - "type" : "Literal" - }, - "day" : { - "localId" : "569", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "31", - "type" : "Literal" - }, - "hour" : { - "localId" : "570", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "23", - "type" : "Literal" - }, - "minute" : { - "localId" : "571", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal" - }, - "second" : { - "localId" : "572", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "573", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "999", - "type" : "Literal" - }, - "timezoneOffset" : { - "localId" : "574", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "0.0", - "type" : "Literal" - } - } ] - }, { - "localId" : "596", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "41", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "702", "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal" - } ] - } - } ] - } - } -} - -/* DurationBetween -library TestSnippet version '1' -using Simple version '1.0.0' -context Patient -define DecTen2013: DateTime(2013, 12, 10, 12, 30, 30, 500) -define JanOne2015: DateTime(2015, 1, 1, 0, 0, 0, 0) -define January2015: DateTime(2015, 1) -define YearsBetween: years between DecTen2013 and JanOne2015 -define MonthsBetween: months between DecTen2013 and JanOne2015 -define WeeksBetween: weeks between DecTen2013 and JanOne2015 -define DaysBetween: days between DecTen2013 and JanOne2015 -define HoursBetween: hours between DecTen2013 and JanOne2015 -define MinutesBetween: minutes between DecTen2013 and JanOne2015 -define SecondsBetween: seconds between DecTen2013 and JanOne2015 -define MillisecondsBetween: milliseconds between DecTen2013 and JanOne2015 -define MillisecondsBetweenReversed: milliseconds between JanOne2015 and DecTen2013 -define YearsBetweenUncertainty: years between JanOne2015 and January2015 -define MonthsBetweenUncertainty: months between JanOne2015 and January2015 -define WeeksBetweenUncertainty: weeks between JanOne2015 and January2015 -define DaysBetweenUncertainty: days between JanOne2015 and January2015 -define HoursBetweenUncertainty: hours between JanOne2015 and January2015 -define MinutesBetweenUncertainty: minutes between JanOne2015 and January2015 -define SecondsBetweenUncertainty: seconds between JanOne2015 and January2015 -define MillisecondsBetweenUncertainty: milliseconds between JanOne2015 and January2015 -define MillisecondsBetweenReversedUncertainty: milliseconds between January2015 and JanOne2015 -define HoursBetween1and3CrossingSpringDST: hours between DateTime(2017, 3, 12, 1, 0, 0, 0, -5.0) and DateTime(2017, 3, 12, 3, 0, 0, 0, -4.0) -define HoursBetween1and3CrossingFallDST: hours between DateTime(2017, 11, 5, 1, 0, 0, 0, -4.0) and DateTime(2017, 11, 5, 3, 0, 0, 0, -5.0) -define DurationInDaysWith0MS: duration in days of Interval[DateTime(2026, 11, 12, 13, 41, 38, 0), DateTime(2026, 11, 13, 13, 41, 38, 0)] -define DurationInDaysNoMS: duration in days of Interval[DateTime(2026, 11, 12, 13, 41, 38), DateTime(2026, 11, 13, 13, 41, 38)] -define DurationInDaysSameMS: duration in days of Interval[DateTime(2026, 11, 12, 13, 41, 38, 59), DateTime(2026, 11, 13, 13, 41, 38, 59)] -define DurationInDaysDiffMS: duration in days of Interval[DateTime(2026, 11, 12, 13, 41, 38, 59), DateTime(2026, 11, 13, 13, 41, 38, 58)] -define DurationInMSNoMS: duration in milliseconds of Interval[DateTime(2026, 11, 12, 13, 41, 38), DateTime(2026, 11, 12, 13, 41, 38)] -*/ - -module.exports['DurationBetween'] = { - "library" : { - "localId" : "0", - "annotation" : [ { - "translatorVersion" : "3.27.0", - "translatorOptions" : "EnableDateRangeOptimization,EnableAnnotations,EnableResultTypes", - "signatureLevel" : "All", - "type" : "CqlToElmInfo" - }, { - "type" : "Annotation", - "s" : { - "r" : "798", - "s" : [ { - "value" : [ "","library TestSnippet version '1'" ] - } ] - } - } ], - "identifier" : { - "id" : "TestSnippet", - "version" : "1" - }, - "schemaIdentifier" : { - "id" : "urn:hl7-org:elm", - "version" : "r1" - }, - "usings" : { - "def" : [ { - "localId" : "1", - "localIdentifier" : "System", - "uri" : "urn:hl7-org:elm-types:r1" - }, { - "localId" : "206", - "localIdentifier" : "Simple", - "uri" : "https://github.com/cqframework/cql-execution/simple", - "version" : "1.0.0", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "206", - "s" : [ { - "value" : [ "","using " ] - }, { - "s" : [ { - "value" : [ "Simple" ] - } ] - }, { - "value" : [ " version '1.0.0'" ] - } ] - } - } ] - } ] - }, - "contexts" : { - "def" : [ { - "localId" : "211", - "name" : "Patient" - } ] - }, - "statements" : { - "def" : [ { - "localId" : "209", - "name" : "Patient", - "context" : "Patient", - "expression" : { - "localId" : "210", - "type" : "SingletonFrom", - "signature" : [ ], - "operand" : { - "localId" : "208", - "dataType" : "{https://github.com/cqframework/cql-execution/simple}Patient", - "type" : "Retrieve", - "include" : [ ], - "codeFilter" : [ ], - "dateFilter" : [ ], - "otherFilter" : [ ] - } - } - }, { - "localId" : "214", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "name" : "DecTen2013", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "214", - "s" : [ { - "value" : [ "","define ","DecTen2013",": " ] - }, { - "r" : "231", - "s" : [ { - "r" : "215", - "value" : [ "DateTime","(","2013",", ","12",", ","10",", ","12",", ","30",", ","30",", ","500",")" ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "231", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "232", + "value" : "38", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "703", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "59", + "annotation" : [ ] + } + } + } + } ] + } + }, { + "localId" : "735", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "name" : "DurationInDaysDiffMS", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "735", + "s" : [ { + "value" : [ "", "define ", "DurationInDaysDiffMS", ": " ] + }, { + "r" : "793", + "s" : [ { + "value" : [ "duration in days of " ] + }, { + "r" : "784", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "752", + "s" : [ { + "r" : "736", + "value" : [ "DateTime", "(", "2026", ", ", "11", ", ", "12", ", ", "13", ", ", "41", ", ", "38", ", ", "59", ")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "776", + "s" : [ { + "r" : "760", + "value" : [ "DateTime", "(", "2026", ", ", "11", ", ", "13", ", ", "13", ", ", "41", ", ", "38", ", ", "58", ")" ] + } ] + }, { + "value" : [ "]" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "DurationBetween", + "localId" : "793", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "precision" : "Day", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "794", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "795", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "Start", + "localId" : "787", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "788", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "789", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } ], + "operand" : { + "type" : "Interval", + "localId" : "784", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "785", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "786", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "DateTime", + "localId" : "752", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "753", "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "233", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "754", "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "234", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "755", "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "235", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "756", "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "236", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "757", "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "237", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "758", "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "238", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "759", "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "215", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "736", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2026", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "737", "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2013", - "type" : "Literal" - }, - "month" : { - "localId" : "216", + "value" : "11", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "738", "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", "valueType" : "{urn:hl7-org:elm-types:r1}Integer", "value" : "12", - "type" : "Literal" - }, - "day" : { - "localId" : "217", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "739", "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal" - }, - "hour" : { - "localId" : "218", + "value" : "13", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "740", "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "12", - "type" : "Literal" - }, - "minute" : { - "localId" : "219", + "value" : "41", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "741", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "38", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "742", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "59", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "776", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "777", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "778", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "779", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "780", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "781", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "782", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "783", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "760", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2026", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "761", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "11", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "762", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "13", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "763", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "13", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "764", "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "30", - "type" : "Literal" - }, - "second" : { - "localId" : "220", + "value" : "41", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "765", "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "30", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "221", + "value" : "38", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "766", "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "500", - "type" : "Literal" - } + "value" : "58", + "annotation" : [ ] + } + } } - }, { - "localId" : "241", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "name" : "JanOne2015", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "241", - "s" : [ { - "value" : [ "","define ","JanOne2015",": " ] - }, { - "r" : "258", - "s" : [ { - "r" : "242", - "value" : [ "DateTime","(","2015",", ","1",", ","1",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "258", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "259", + }, { + "type" : "End", + "localId" : "790", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "791", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "792", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } ], + "operand" : { + "type" : "Interval", + "localId" : "784", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "785", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "786", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "DateTime", + "localId" : "752", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "753", "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "260", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "754", "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "261", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "755", "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "262", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "756", "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "263", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "757", "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "264", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "758", "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "265", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "759", "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "242", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "736", "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2015", - "type" : "Literal" - }, - "month" : { - "localId" : "243", + "value" : "2026", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "737", "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "244", + "value" : "11", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "738", "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "245", + "value" : "12", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "739", "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "246", + "value" : "13", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "740", "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "247", + "value" : "41", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "741", "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "248", + "value" : "38", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "742", "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - } - }, { - "localId" : "268", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "name" : "January2015", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "268", - "s" : [ { - "value" : [ "","define ","January2015",": " ] - }, { - "r" : "275", - "s" : [ { - "r" : "269", - "value" : [ "DateTime","(","2015",", ","1",")" ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "275", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "276", + "value" : "59", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "776", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "777", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "778", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "779", "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "277", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "780", "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "269", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "781", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "782", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "783", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "760", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2026", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "761", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "11", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "762", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "13", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "763", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "13", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "764", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "41", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "765", "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2015", - "type" : "Literal" - }, - "month" : { - "localId" : "270", + "value" : "38", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "766", "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - } + "value" : "58", + "annotation" : [ ] + } + } } - }, { - "localId" : "280", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "name" : "YearsBetween", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "280", - "s" : [ { - "value" : [ "","define ","YearsBetween",": " ] - }, { - "r" : "281", - "s" : [ { - "value" : [ "years between " ] - }, { - "r" : "282", - "s" : [ { - "value" : [ "DecTen2013" ] - } ] - }, { - "value" : [ " and " ] - }, { - "r" : "283", - "s" : [ { - "value" : [ "JanOne2015" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "281", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "precision" : "Year", - "type" : "DurationBetween", - "signature" : [ { - "localId" : "284", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "285", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "282", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "name" : "DecTen2013", - "type" : "ExpressionRef" - }, { - "localId" : "283", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "name" : "JanOne2015", - "type" : "ExpressionRef" - } ] - } - }, { - "localId" : "288", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "name" : "MonthsBetween", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "288", - "s" : [ { - "value" : [ "","define ","MonthsBetween",": " ] - }, { - "r" : "289", - "s" : [ { - "value" : [ "months between " ] - }, { - "r" : "290", - "s" : [ { - "value" : [ "DecTen2013" ] - } ] - }, { - "value" : [ " and " ] - }, { - "r" : "291", - "s" : [ { - "value" : [ "JanOne2015" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "289", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "precision" : "Month", - "type" : "DurationBetween", - "signature" : [ { - "localId" : "292", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "293", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "290", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "name" : "DecTen2013", - "type" : "ExpressionRef" - }, { - "localId" : "291", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "name" : "JanOne2015", - "type" : "ExpressionRef" - } ] - } - }, { - "localId" : "296", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "name" : "WeeksBetween", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "296", - "s" : [ { - "value" : [ "","define ","WeeksBetween",": " ] - }, { - "r" : "297", - "s" : [ { - "value" : [ "weeks between " ] - }, { - "r" : "298", - "s" : [ { - "value" : [ "DecTen2013" ] - } ] - }, { - "value" : [ " and " ] - }, { - "r" : "299", - "s" : [ { - "value" : [ "JanOne2015" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "297", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "precision" : "Week", - "type" : "DurationBetween", - "signature" : [ { - "localId" : "300", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "301", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "298", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "name" : "DecTen2013", - "type" : "ExpressionRef" - }, { - "localId" : "299", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "name" : "JanOne2015", - "type" : "ExpressionRef" - } ] - } - }, { - "localId" : "304", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "name" : "DaysBetween", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "304", - "s" : [ { - "value" : [ "","define ","DaysBetween",": " ] - }, { - "r" : "305", - "s" : [ { - "value" : [ "days between " ] - }, { - "r" : "306", - "s" : [ { - "value" : [ "DecTen2013" ] - } ] - }, { - "value" : [ " and " ] - }, { - "r" : "307", - "s" : [ { - "value" : [ "JanOne2015" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "305", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "precision" : "Day", - "type" : "DurationBetween", - "signature" : [ { - "localId" : "308", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "309", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "306", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "name" : "DecTen2013", - "type" : "ExpressionRef" - }, { - "localId" : "307", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "name" : "JanOne2015", - "type" : "ExpressionRef" - } ] - } - }, { - "localId" : "312", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "name" : "HoursBetween", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "312", - "s" : [ { - "value" : [ "","define ","HoursBetween",": " ] - }, { - "r" : "313", - "s" : [ { - "value" : [ "hours between " ] - }, { - "r" : "314", - "s" : [ { - "value" : [ "DecTen2013" ] - } ] - }, { - "value" : [ " and " ] - }, { - "r" : "315", - "s" : [ { - "value" : [ "JanOne2015" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "313", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "precision" : "Hour", - "type" : "DurationBetween", - "signature" : [ { - "localId" : "316", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "317", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "314", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "name" : "DecTen2013", - "type" : "ExpressionRef" - }, { - "localId" : "315", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "name" : "JanOne2015", - "type" : "ExpressionRef" - } ] - } - }, { - "localId" : "320", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "name" : "MinutesBetween", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "320", - "s" : [ { - "value" : [ "","define ","MinutesBetween",": " ] - }, { - "r" : "321", - "s" : [ { - "value" : [ "minutes between " ] - }, { - "r" : "322", - "s" : [ { - "value" : [ "DecTen2013" ] - } ] - }, { - "value" : [ " and " ] - }, { - "r" : "323", - "s" : [ { - "value" : [ "JanOne2015" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "321", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "precision" : "Minute", - "type" : "DurationBetween", - "signature" : [ { - "localId" : "324", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "325", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "322", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "name" : "DecTen2013", - "type" : "ExpressionRef" - }, { - "localId" : "323", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "name" : "JanOne2015", - "type" : "ExpressionRef" - } ] - } - }, { - "localId" : "328", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "name" : "SecondsBetween", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "328", - "s" : [ { - "value" : [ "","define ","SecondsBetween",": " ] - }, { - "r" : "329", - "s" : [ { - "value" : [ "seconds between " ] - }, { - "r" : "330", - "s" : [ { - "value" : [ "DecTen2013" ] - } ] - }, { - "value" : [ " and " ] - }, { - "r" : "331", - "s" : [ { - "value" : [ "JanOne2015" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "329", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "precision" : "Second", - "type" : "DurationBetween", - "signature" : [ { - "localId" : "332", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "333", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "330", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "name" : "DecTen2013", - "type" : "ExpressionRef" - }, { - "localId" : "331", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "name" : "JanOne2015", - "type" : "ExpressionRef" - } ] - } - }, { - "localId" : "336", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "name" : "MillisecondsBetween", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "336", - "s" : [ { - "value" : [ "","define ","MillisecondsBetween",": " ] - }, { - "r" : "337", - "s" : [ { - "value" : [ "milliseconds between " ] - }, { - "r" : "338", - "s" : [ { - "value" : [ "DecTen2013" ] - } ] - }, { - "value" : [ " and " ] - }, { - "r" : "339", - "s" : [ { - "value" : [ "JanOne2015" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "337", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "precision" : "Millisecond", - "type" : "DurationBetween", - "signature" : [ { - "localId" : "340", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "341", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "338", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "name" : "DecTen2013", - "type" : "ExpressionRef" - }, { - "localId" : "339", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "name" : "JanOne2015", - "type" : "ExpressionRef" - } ] - } - }, { - "localId" : "344", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "name" : "MillisecondsBetweenReversed", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "344", - "s" : [ { - "value" : [ "","define ","MillisecondsBetweenReversed",": " ] - }, { - "r" : "345", - "s" : [ { - "value" : [ "milliseconds between " ] - }, { - "r" : "346", - "s" : [ { - "value" : [ "JanOne2015" ] - } ] - }, { - "value" : [ " and " ] - }, { - "r" : "347", - "s" : [ { - "value" : [ "DecTen2013" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "345", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "precision" : "Millisecond", - "type" : "DurationBetween", - "signature" : [ { - "localId" : "348", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "349", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "346", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "name" : "JanOne2015", - "type" : "ExpressionRef" - }, { - "localId" : "347", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "name" : "DecTen2013", - "type" : "ExpressionRef" - } ] - } - }, { - "localId" : "352", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "name" : "YearsBetweenUncertainty", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "352", - "s" : [ { - "value" : [ "","define ","YearsBetweenUncertainty",": " ] - }, { - "r" : "353", - "s" : [ { - "value" : [ "years between " ] - }, { - "r" : "354", - "s" : [ { - "value" : [ "JanOne2015" ] - } ] - }, { - "value" : [ " and " ] - }, { - "r" : "355", - "s" : [ { - "value" : [ "January2015" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "353", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "precision" : "Year", - "type" : "DurationBetween", - "signature" : [ { - "localId" : "356", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "357", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "354", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "name" : "JanOne2015", - "type" : "ExpressionRef" - }, { - "localId" : "355", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "name" : "January2015", - "type" : "ExpressionRef" - } ] - } - }, { - "localId" : "360", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "name" : "MonthsBetweenUncertainty", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "360", - "s" : [ { - "value" : [ "","define ","MonthsBetweenUncertainty",": " ] - }, { - "r" : "361", - "s" : [ { - "value" : [ "months between " ] - }, { - "r" : "362", - "s" : [ { - "value" : [ "JanOne2015" ] - } ] - }, { - "value" : [ " and " ] - }, { - "r" : "363", - "s" : [ { - "value" : [ "January2015" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "361", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "precision" : "Month", - "type" : "DurationBetween", - "signature" : [ { - "localId" : "364", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "365", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "362", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "name" : "JanOne2015", - "type" : "ExpressionRef" - }, { - "localId" : "363", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "name" : "January2015", - "type" : "ExpressionRef" - } ] - } - }, { - "localId" : "368", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "name" : "WeeksBetweenUncertainty", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "368", - "s" : [ { - "value" : [ "","define ","WeeksBetweenUncertainty",": " ] - }, { - "r" : "369", - "s" : [ { - "value" : [ "weeks between " ] - }, { - "r" : "370", - "s" : [ { - "value" : [ "JanOne2015" ] - } ] - }, { - "value" : [ " and " ] - }, { - "r" : "371", - "s" : [ { - "value" : [ "January2015" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "369", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "precision" : "Week", - "type" : "DurationBetween", - "signature" : [ { - "localId" : "372", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "373", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "370", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "name" : "JanOne2015", - "type" : "ExpressionRef" - }, { - "localId" : "371", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "name" : "January2015", - "type" : "ExpressionRef" - } ] - } - }, { - "localId" : "376", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "name" : "DaysBetweenUncertainty", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "376", - "s" : [ { - "value" : [ "","define ","DaysBetweenUncertainty",": " ] - }, { - "r" : "377", - "s" : [ { - "value" : [ "days between " ] - }, { - "r" : "378", - "s" : [ { - "value" : [ "JanOne2015" ] - } ] - }, { - "value" : [ " and " ] - }, { - "r" : "379", - "s" : [ { - "value" : [ "January2015" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "377", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "precision" : "Day", - "type" : "DurationBetween", - "signature" : [ { - "localId" : "380", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "381", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "378", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "name" : "JanOne2015", - "type" : "ExpressionRef" - }, { - "localId" : "379", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "name" : "January2015", - "type" : "ExpressionRef" - } ] - } - }, { - "localId" : "384", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "name" : "HoursBetweenUncertainty", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "384", - "s" : [ { - "value" : [ "","define ","HoursBetweenUncertainty",": " ] - }, { - "r" : "385", - "s" : [ { - "value" : [ "hours between " ] - }, { - "r" : "386", - "s" : [ { - "value" : [ "JanOne2015" ] - } ] - }, { - "value" : [ " and " ] - }, { - "r" : "387", - "s" : [ { - "value" : [ "January2015" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "385", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "precision" : "Hour", - "type" : "DurationBetween", - "signature" : [ { - "localId" : "388", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "389", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "386", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "name" : "JanOne2015", - "type" : "ExpressionRef" - }, { - "localId" : "387", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "name" : "January2015", - "type" : "ExpressionRef" - } ] - } - }, { - "localId" : "392", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "name" : "MinutesBetweenUncertainty", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "392", - "s" : [ { - "value" : [ "","define ","MinutesBetweenUncertainty",": " ] - }, { - "r" : "393", - "s" : [ { - "value" : [ "minutes between " ] - }, { - "r" : "394", - "s" : [ { - "value" : [ "JanOne2015" ] - } ] - }, { - "value" : [ " and " ] - }, { - "r" : "395", - "s" : [ { - "value" : [ "January2015" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "393", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "precision" : "Minute", - "type" : "DurationBetween", - "signature" : [ { - "localId" : "396", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "397", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "394", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "name" : "JanOne2015", - "type" : "ExpressionRef" - }, { - "localId" : "395", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "name" : "January2015", - "type" : "ExpressionRef" - } ] - } - }, { - "localId" : "400", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "name" : "SecondsBetweenUncertainty", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "400", + } ] + } + }, { + "localId" : "798", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "name" : "DurationInMSNoMS", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "798", + "s" : [ { + "value" : [ "", "define ", "DurationInMSNoMS", ": " ] + }, { + "r" : "850", + "s" : [ { + "value" : [ "duration in milliseconds of " ] + }, { + "r" : "841", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "813", "s" : [ { - "value" : [ "","define ","SecondsBetweenUncertainty",": " ] - }, { - "r" : "401", - "s" : [ { - "value" : [ "seconds between " ] - }, { - "r" : "402", - "s" : [ { - "value" : [ "JanOne2015" ] - } ] - }, { - "value" : [ " and " ] - }, { - "r" : "403", - "s" : [ { - "value" : [ "January2015" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "401", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "precision" : "Second", - "type" : "DurationBetween", - "signature" : [ { - "localId" : "404", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "405", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "402", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "name" : "JanOne2015", - "type" : "ExpressionRef" - }, { - "localId" : "403", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "name" : "January2015", - "type" : "ExpressionRef" - } ] - } - }, { - "localId" : "408", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "name" : "MillisecondsBetweenUncertainty", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "408", - "s" : [ { - "value" : [ "","define ","MillisecondsBetweenUncertainty",": " ] - }, { - "r" : "409", - "s" : [ { - "value" : [ "milliseconds between " ] - }, { - "r" : "410", - "s" : [ { - "value" : [ "JanOne2015" ] - } ] - }, { - "value" : [ " and " ] - }, { - "r" : "411", - "s" : [ { - "value" : [ "January2015" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "409", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "precision" : "Millisecond", - "type" : "DurationBetween", - "signature" : [ { - "localId" : "412", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "413", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "410", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "name" : "JanOne2015", - "type" : "ExpressionRef" - }, { - "localId" : "411", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "name" : "January2015", - "type" : "ExpressionRef" - } ] - } - }, { - "localId" : "416", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "name" : "MillisecondsBetweenReversedUncertainty", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "416", - "s" : [ { - "value" : [ "","define ","MillisecondsBetweenReversedUncertainty",": " ] - }, { - "r" : "417", - "s" : [ { - "value" : [ "milliseconds between " ] - }, { - "r" : "418", - "s" : [ { - "value" : [ "January2015" ] - } ] - }, { - "value" : [ " and " ] - }, { - "r" : "419", - "s" : [ { - "value" : [ "JanOne2015" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "417", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "precision" : "Millisecond", - "type" : "DurationBetween", - "signature" : [ { - "localId" : "420", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "421", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "418", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "name" : "January2015", - "type" : "ExpressionRef" - }, { - "localId" : "419", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "name" : "JanOne2015", - "type" : "ExpressionRef" - } ] - } - }, { - "localId" : "424", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "name" : "HoursBetween1and3CrossingSpringDST", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "424", + "r" : "799", + "value" : [ "DateTime", "(", "2026", ", ", "11", ", ", "12", ", ", "13", ", ", "41", ", ", "38", ")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "834", "s" : [ { - "value" : [ "","define ","HoursBetween1and3CrossingSpringDST",": " ] - }, { - "r" : "425", - "s" : [ { - "value" : [ "hours between " ] - }, { - "r" : "446", - "s" : [ { - "r" : "426", - "value" : [ "DateTime","(","2017",", ","3",", ","12",", ","1",", ","0",", ","0",", ","0",", " ] - }, { - "r" : "433", - "s" : [ { - "r" : "434", - "value" : [ "-","5.0" ] - } ] - }, { - "value" : [ ")" ] - } ] - }, { - "value" : [ " and " ] - }, { - "r" : "475", - "s" : [ { - "r" : "455", - "value" : [ "DateTime","(","2017",", ","3",", ","12",", ","3",", ","0",", ","0",", ","0",", " ] - }, { - "r" : "462", - "s" : [ { - "r" : "463", - "value" : [ "-","4.0" ] - } ] - }, { - "value" : [ ")" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "425", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "precision" : "Hour", - "type" : "DurationBetween", - "signature" : [ { - "localId" : "484", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "485", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "446", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "447", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "448", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "449", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "450", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "451", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "452", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "453", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "454", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "426", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2017", - "type" : "Literal" - }, - "month" : { - "localId" : "427", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "428", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "12", - "type" : "Literal" - }, - "hour" : { - "localId" : "429", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "minute" : { - "localId" : "430", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "431", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "432", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "timezoneOffset" : { - "localId" : "433", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "Negate", - "signature" : [ { - "localId" : "435", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "434", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "5.0", - "type" : "Literal" - } - } - }, { - "localId" : "475", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "476", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "477", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "478", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "479", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "480", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "481", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "482", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "483", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "455", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2017", - "type" : "Literal" - }, - "month" : { - "localId" : "456", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "457", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "12", - "type" : "Literal" - }, - "hour" : { - "localId" : "458", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "minute" : { - "localId" : "459", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "460", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "461", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "timezoneOffset" : { - "localId" : "462", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "Negate", - "signature" : [ { - "localId" : "464", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "463", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "4.0", - "type" : "Literal" - } - } - } ] - } - }, { - "localId" : "488", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "name" : "HoursBetween1and3CrossingFallDST", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "488", - "s" : [ { - "value" : [ "","define ","HoursBetween1and3CrossingFallDST",": " ] - }, { - "r" : "489", - "s" : [ { - "value" : [ "hours between " ] - }, { - "r" : "510", - "s" : [ { - "r" : "490", - "value" : [ "DateTime","(","2017",", ","11",", ","5",", ","1",", ","0",", ","0",", ","0",", " ] - }, { - "r" : "497", - "s" : [ { - "r" : "498", - "value" : [ "-","4.0" ] - } ] - }, { - "value" : [ ")" ] - } ] - }, { - "value" : [ " and " ] - }, { - "r" : "539", - "s" : [ { - "r" : "519", - "value" : [ "DateTime","(","2017",", ","11",", ","5",", ","3",", ","0",", ","0",", ","0",", " ] - }, { - "r" : "526", - "s" : [ { - "r" : "527", - "value" : [ "-","5.0" ] - } ] - }, { - "value" : [ ")" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "489", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "precision" : "Hour", - "type" : "DurationBetween", - "signature" : [ { - "localId" : "548", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "549", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "510", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "511", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "512", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "513", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "514", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "515", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "516", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "517", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "518", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "490", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2017", - "type" : "Literal" - }, - "month" : { - "localId" : "491", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "11", - "type" : "Literal" - }, - "day" : { - "localId" : "492", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal" - }, - "hour" : { - "localId" : "493", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "minute" : { - "localId" : "494", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "495", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "496", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "timezoneOffset" : { - "localId" : "497", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "Negate", - "signature" : [ { - "localId" : "499", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "498", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "4.0", - "type" : "Literal" - } - } - }, { - "localId" : "539", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "540", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "541", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "542", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "543", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "544", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "545", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "546", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "547", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "519", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2017", - "type" : "Literal" - }, - "month" : { - "localId" : "520", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "11", - "type" : "Literal" - }, - "day" : { - "localId" : "521", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal" - }, - "hour" : { - "localId" : "522", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "minute" : { - "localId" : "523", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "524", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "525", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "timezoneOffset" : { - "localId" : "526", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "Negate", - "signature" : [ { - "localId" : "528", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "527", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "5.0", - "type" : "Literal" - } - } - } ] - } - }, { - "localId" : "552", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "name" : "DurationInDaysWith0MS", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "552", - "s" : [ { - "value" : [ "","define ","DurationInDaysWith0MS",": " ] - }, { - "r" : "610", - "s" : [ { - "value" : [ "duration in days of " ] - }, { - "r" : "601", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "569", - "s" : [ { - "r" : "553", - "value" : [ "DateTime","(","2026",", ","11",", ","12",", ","13",", ","41",", ","38",", ","0",")" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "593", - "s" : [ { - "r" : "577", - "value" : [ "DateTime","(","2026",", ","11",", ","13",", ","13",", ","41",", ","38",", ","0",")" ] - } ] - }, { - "value" : [ "]" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "610", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "precision" : "Day", - "type" : "DurationBetween", - "signature" : [ { - "localId" : "611", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "612", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "604", - "type" : "Start", - "signature" : [ { - "localId" : "605", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "606", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : { - "localId" : "601", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "602", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "603", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "569", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "570", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "571", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "572", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "573", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "574", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "575", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "576", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "553", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2026", - "type" : "Literal" - }, - "month" : { - "localId" : "554", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "11", - "type" : "Literal" - }, - "day" : { - "localId" : "555", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "12", - "type" : "Literal" - }, - "hour" : { - "localId" : "556", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "13", - "type" : "Literal" - }, - "minute" : { - "localId" : "557", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "41", - "type" : "Literal" - }, - "second" : { - "localId" : "558", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "38", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "559", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - }, - "high" : { - "localId" : "593", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "594", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "595", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "596", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "597", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "598", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "599", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "600", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "577", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2026", - "type" : "Literal" - }, - "month" : { - "localId" : "578", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "11", - "type" : "Literal" - }, - "day" : { - "localId" : "579", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "13", - "type" : "Literal" - }, - "hour" : { - "localId" : "580", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "13", - "type" : "Literal" - }, - "minute" : { - "localId" : "581", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "41", - "type" : "Literal" - }, - "second" : { - "localId" : "582", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "38", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "583", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - } - } - }, { - "localId" : "607", - "type" : "End", - "signature" : [ { - "localId" : "608", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "609", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : { - "localId" : "601", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "602", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "603", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "569", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "570", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "571", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "572", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "573", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "574", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "575", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "576", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "553", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2026", - "type" : "Literal" - }, - "month" : { - "localId" : "554", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "11", - "type" : "Literal" - }, - "day" : { - "localId" : "555", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "12", - "type" : "Literal" - }, - "hour" : { - "localId" : "556", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "13", - "type" : "Literal" - }, - "minute" : { - "localId" : "557", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "41", - "type" : "Literal" - }, - "second" : { - "localId" : "558", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "38", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "559", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - }, - "high" : { - "localId" : "593", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "594", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "595", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "596", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "597", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "598", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "599", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "600", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "577", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2026", - "type" : "Literal" - }, - "month" : { - "localId" : "578", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "11", - "type" : "Literal" - }, - "day" : { - "localId" : "579", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "13", - "type" : "Literal" - }, - "hour" : { - "localId" : "580", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "13", - "type" : "Literal" - }, - "minute" : { - "localId" : "581", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "41", - "type" : "Literal" - }, - "second" : { - "localId" : "582", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "38", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "583", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - } - } - } ] - } - }, { - "localId" : "615", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "name" : "DurationInDaysNoMS", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "615", - "s" : [ { - "value" : [ "","define ","DurationInDaysNoMS",": " ] - }, { - "r" : "667", - "s" : [ { - "value" : [ "duration in days of " ] - }, { - "r" : "658", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "630", - "s" : [ { - "r" : "616", - "value" : [ "DateTime","(","2026",", ","11",", ","12",", ","13",", ","41",", ","38",")" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "651", - "s" : [ { - "r" : "637", - "value" : [ "DateTime","(","2026",", ","11",", ","13",", ","13",", ","41",", ","38",")" ] - } ] - }, { - "value" : [ "]" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "667", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "precision" : "Day", - "type" : "DurationBetween", - "signature" : [ { - "localId" : "668", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "669", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "661", - "type" : "Start", - "signature" : [ { - "localId" : "662", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "663", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : { - "localId" : "658", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "659", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "660", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "630", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "631", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "632", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "633", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "634", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "635", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "636", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "616", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2026", - "type" : "Literal" - }, - "month" : { - "localId" : "617", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "11", - "type" : "Literal" - }, - "day" : { - "localId" : "618", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "12", - "type" : "Literal" - }, - "hour" : { - "localId" : "619", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "13", - "type" : "Literal" - }, - "minute" : { - "localId" : "620", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "41", - "type" : "Literal" - }, - "second" : { - "localId" : "621", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "38", - "type" : "Literal" - } - }, - "high" : { - "localId" : "651", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "652", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "653", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "654", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "655", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "656", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "657", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "637", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2026", - "type" : "Literal" - }, - "month" : { - "localId" : "638", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "11", - "type" : "Literal" - }, - "day" : { - "localId" : "639", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "13", - "type" : "Literal" - }, - "hour" : { - "localId" : "640", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "13", - "type" : "Literal" - }, - "minute" : { - "localId" : "641", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "41", - "type" : "Literal" - }, - "second" : { - "localId" : "642", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "38", - "type" : "Literal" - } - } - } - }, { - "localId" : "664", - "type" : "End", - "signature" : [ { - "localId" : "665", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "666", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : { - "localId" : "658", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "659", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "660", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "630", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "631", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "632", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "633", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "634", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "635", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "636", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "616", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2026", - "type" : "Literal" - }, - "month" : { - "localId" : "617", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "11", - "type" : "Literal" - }, - "day" : { - "localId" : "618", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "12", - "type" : "Literal" - }, - "hour" : { - "localId" : "619", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "13", - "type" : "Literal" - }, - "minute" : { - "localId" : "620", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "41", - "type" : "Literal" - }, - "second" : { - "localId" : "621", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "38", - "type" : "Literal" - } - }, - "high" : { - "localId" : "651", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "652", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "653", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "654", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "655", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "656", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "657", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "637", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2026", - "type" : "Literal" - }, - "month" : { - "localId" : "638", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "11", - "type" : "Literal" - }, - "day" : { - "localId" : "639", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "13", - "type" : "Literal" - }, - "hour" : { - "localId" : "640", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "13", - "type" : "Literal" - }, - "minute" : { - "localId" : "641", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "41", - "type" : "Literal" - }, - "second" : { - "localId" : "642", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "38", - "type" : "Literal" - } - } - } - } ] - } - }, { - "localId" : "672", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "name" : "DurationInDaysSameMS", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "672", - "s" : [ { - "value" : [ "","define ","DurationInDaysSameMS",": " ] - }, { - "r" : "730", - "s" : [ { - "value" : [ "duration in days of " ] - }, { - "r" : "721", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "689", - "s" : [ { - "r" : "673", - "value" : [ "DateTime","(","2026",", ","11",", ","12",", ","13",", ","41",", ","38",", ","59",")" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "713", - "s" : [ { - "r" : "697", - "value" : [ "DateTime","(","2026",", ","11",", ","13",", ","13",", ","41",", ","38",", ","59",")" ] - } ] - }, { - "value" : [ "]" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "730", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "precision" : "Day", - "type" : "DurationBetween", - "signature" : [ { - "localId" : "731", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "732", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "724", - "type" : "Start", - "signature" : [ { - "localId" : "725", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "726", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : { - "localId" : "721", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "722", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "723", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "689", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "690", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "691", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "692", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "693", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "694", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "695", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "696", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "673", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2026", - "type" : "Literal" - }, - "month" : { - "localId" : "674", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "11", - "type" : "Literal" - }, - "day" : { - "localId" : "675", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "12", - "type" : "Literal" - }, - "hour" : { - "localId" : "676", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "13", - "type" : "Literal" - }, - "minute" : { - "localId" : "677", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "41", - "type" : "Literal" - }, - "second" : { - "localId" : "678", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "38", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "679", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal" - } - }, - "high" : { - "localId" : "713", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "714", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "715", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "716", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "717", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "718", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "719", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "720", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "697", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2026", - "type" : "Literal" - }, - "month" : { - "localId" : "698", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "11", - "type" : "Literal" - }, - "day" : { - "localId" : "699", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "13", - "type" : "Literal" - }, - "hour" : { - "localId" : "700", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "13", - "type" : "Literal" - }, - "minute" : { - "localId" : "701", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "41", - "type" : "Literal" - }, - "second" : { - "localId" : "702", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "38", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "703", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal" - } - } - } - }, { - "localId" : "727", - "type" : "End", - "signature" : [ { - "localId" : "728", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "729", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : { - "localId" : "721", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "722", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "723", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "689", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "690", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "691", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "692", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "693", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "694", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "695", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "696", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "673", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2026", - "type" : "Literal" - }, - "month" : { - "localId" : "674", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "11", - "type" : "Literal" - }, - "day" : { - "localId" : "675", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "12", - "type" : "Literal" - }, - "hour" : { - "localId" : "676", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "13", - "type" : "Literal" - }, - "minute" : { - "localId" : "677", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "41", - "type" : "Literal" - }, - "second" : { - "localId" : "678", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "38", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "679", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal" - } - }, - "high" : { - "localId" : "713", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "714", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "715", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "716", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "717", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "718", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "719", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "720", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "697", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2026", - "type" : "Literal" - }, - "month" : { - "localId" : "698", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "11", - "type" : "Literal" - }, - "day" : { - "localId" : "699", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "13", - "type" : "Literal" - }, - "hour" : { - "localId" : "700", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "13", - "type" : "Literal" - }, - "minute" : { - "localId" : "701", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "41", - "type" : "Literal" - }, - "second" : { - "localId" : "702", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "38", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "703", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal" - } - } - } - } ] - } - }, { - "localId" : "735", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "name" : "DurationInDaysDiffMS", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "735", - "s" : [ { - "value" : [ "","define ","DurationInDaysDiffMS",": " ] - }, { - "r" : "793", - "s" : [ { - "value" : [ "duration in days of " ] - }, { - "r" : "784", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "752", - "s" : [ { - "r" : "736", - "value" : [ "DateTime","(","2026",", ","11",", ","12",", ","13",", ","41",", ","38",", ","59",")" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "776", - "s" : [ { - "r" : "760", - "value" : [ "DateTime","(","2026",", ","11",", ","13",", ","13",", ","41",", ","38",", ","58",")" ] - } ] - }, { - "value" : [ "]" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "793", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "precision" : "Day", - "type" : "DurationBetween", - "signature" : [ { - "localId" : "794", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "795", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "787", - "type" : "Start", - "signature" : [ { - "localId" : "788", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "789", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : { - "localId" : "784", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "785", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "786", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "752", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "753", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "754", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "755", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "756", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "757", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "758", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "759", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "736", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2026", - "type" : "Literal" - }, - "month" : { - "localId" : "737", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "11", - "type" : "Literal" - }, - "day" : { - "localId" : "738", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "12", - "type" : "Literal" - }, - "hour" : { - "localId" : "739", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "13", - "type" : "Literal" - }, - "minute" : { - "localId" : "740", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "41", - "type" : "Literal" - }, - "second" : { - "localId" : "741", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "38", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "742", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal" - } - }, - "high" : { - "localId" : "776", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "777", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "778", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "779", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "780", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "781", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "782", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "783", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "760", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2026", - "type" : "Literal" - }, - "month" : { - "localId" : "761", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "11", - "type" : "Literal" - }, - "day" : { - "localId" : "762", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "13", - "type" : "Literal" - }, - "hour" : { - "localId" : "763", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "13", - "type" : "Literal" - }, - "minute" : { - "localId" : "764", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "41", - "type" : "Literal" - }, - "second" : { - "localId" : "765", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "38", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "766", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "58", - "type" : "Literal" - } - } - } - }, { - "localId" : "790", - "type" : "End", - "signature" : [ { - "localId" : "791", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "792", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : { - "localId" : "784", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "785", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "786", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "752", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "753", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "754", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "755", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "756", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "757", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "758", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "759", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "736", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2026", - "type" : "Literal" - }, - "month" : { - "localId" : "737", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "11", - "type" : "Literal" - }, - "day" : { - "localId" : "738", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "12", - "type" : "Literal" - }, - "hour" : { - "localId" : "739", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "13", - "type" : "Literal" - }, - "minute" : { - "localId" : "740", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "41", - "type" : "Literal" - }, - "second" : { - "localId" : "741", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "38", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "742", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal" - } - }, - "high" : { - "localId" : "776", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "777", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "778", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "779", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "780", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "781", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "782", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "783", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "760", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2026", - "type" : "Literal" - }, - "month" : { - "localId" : "761", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "11", - "type" : "Literal" - }, - "day" : { - "localId" : "762", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "13", - "type" : "Literal" - }, - "hour" : { - "localId" : "763", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "13", - "type" : "Literal" - }, - "minute" : { - "localId" : "764", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "41", - "type" : "Literal" - }, - "second" : { - "localId" : "765", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "38", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "766", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "58", - "type" : "Literal" - } - } - } - } ] - } - }, { - "localId" : "798", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "name" : "DurationInMSNoMS", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "798", - "s" : [ { - "value" : [ "","define ","DurationInMSNoMS",": " ] - }, { - "r" : "850", - "s" : [ { - "value" : [ "duration in milliseconds of " ] - }, { - "r" : "841", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "813", - "s" : [ { - "r" : "799", - "value" : [ "DateTime","(","2026",", ","11",", ","12",", ","13",", ","41",", ","38",")" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "834", - "s" : [ { - "r" : "820", - "value" : [ "DateTime","(","2026",", ","11",", ","12",", ","13",", ","41",", ","38",")" ] - } ] - }, { - "value" : [ "]" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "850", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "precision" : "Millisecond", - "type" : "DurationBetween", - "signature" : [ { - "localId" : "851", + "r" : "820", + "value" : [ "DateTime", "(", "2026", ", ", "11", ", ", "12", ", ", "13", ", ", "41", ", ", "38", ")" ] + } ] + }, { + "value" : [ "]" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "DurationBetween", + "localId" : "850", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "precision" : "Millisecond", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "851", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "852", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "Start", + "localId" : "844", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "845", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "846", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } ], + "operand" : { + "type" : "Interval", + "localId" : "841", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "842", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "843", "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "852", + "annotation" : [ ] + } + }, + "low" : { + "type" : "DateTime", + "localId" : "813", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "814", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "815", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "816", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "817", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "818", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "819", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "799", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2026", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "800", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "11", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "801", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "12", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "802", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "13", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "803", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "41", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "804", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "38", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "834", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "835", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "836", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "837", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "838", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "839", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "840", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "820", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2026", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "821", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "11", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "822", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "12", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "823", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "13", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "824", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "41", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "825", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "38", + "annotation" : [ ] + } + } + } + }, { + "type" : "End", + "localId" : "847", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "848", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "849", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } ], + "operand" : { + "type" : "Interval", + "localId" : "841", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "842", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "843", "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "844", - "type" : "Start", - "signature" : [ { - "localId" : "845", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "846", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : { - "localId" : "841", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "842", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "843", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "813", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "814", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "815", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "816", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "817", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "818", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "819", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "799", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2026", - "type" : "Literal" - }, - "month" : { - "localId" : "800", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "11", - "type" : "Literal" - }, - "day" : { - "localId" : "801", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "12", - "type" : "Literal" - }, - "hour" : { - "localId" : "802", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "13", - "type" : "Literal" - }, - "minute" : { - "localId" : "803", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "41", - "type" : "Literal" - }, - "second" : { - "localId" : "804", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "38", - "type" : "Literal" - } - }, - "high" : { - "localId" : "834", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "835", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "836", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "837", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "838", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "839", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "840", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "820", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2026", - "type" : "Literal" - }, - "month" : { - "localId" : "821", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "11", - "type" : "Literal" - }, - "day" : { - "localId" : "822", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "12", - "type" : "Literal" - }, - "hour" : { - "localId" : "823", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "13", - "type" : "Literal" - }, - "minute" : { - "localId" : "824", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "41", - "type" : "Literal" - }, - "second" : { - "localId" : "825", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "38", - "type" : "Literal" - } - } - } - }, { - "localId" : "847", - "type" : "End", - "signature" : [ { - "localId" : "848", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "849", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : { - "localId" : "841", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "842", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "843", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "813", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "814", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "815", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "816", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "817", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "818", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "819", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "799", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2026", - "type" : "Literal" - }, - "month" : { - "localId" : "800", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "11", - "type" : "Literal" - }, - "day" : { - "localId" : "801", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "12", - "type" : "Literal" - }, - "hour" : { - "localId" : "802", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "13", - "type" : "Literal" - }, - "minute" : { - "localId" : "803", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "41", - "type" : "Literal" - }, - "second" : { - "localId" : "804", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "38", - "type" : "Literal" - } - }, - "high" : { - "localId" : "834", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "835", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "836", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "837", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "838", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "839", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "840", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "820", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2026", - "type" : "Literal" - }, - "month" : { - "localId" : "821", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "11", - "type" : "Literal" - }, - "day" : { - "localId" : "822", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "12", - "type" : "Literal" - }, - "hour" : { - "localId" : "823", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "13", - "type" : "Literal" - }, - "minute" : { - "localId" : "824", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "41", - "type" : "Literal" - }, - "second" : { - "localId" : "825", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "38", - "type" : "Literal" - } - } - } - } ] - } - } ] - } - } + "annotation" : [ ] + } + }, + "low" : { + "type" : "DateTime", + "localId" : "813", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "814", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "815", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "816", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "817", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "818", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "819", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "799", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2026", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "800", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "11", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "801", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "12", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "802", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "13", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "803", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "41", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "804", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "38", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "834", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "835", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "836", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "837", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "838", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "839", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "840", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "820", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2026", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "821", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "11", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "822", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "12", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "823", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "13", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "824", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "41", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "825", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "38", + "annotation" : [ ] + } + } + } + } ] + } + } ] + } + } } /* DateMath @@ -56231,1084 +64398,1203 @@ define MinusThreeMilliseconds: June15th2013 - 3 milliseconds */ module.exports['DateMath'] = { - "library" : { - "localId" : "0", - "annotation" : [ { - "translatorVersion" : "3.27.0", - "translatorOptions" : "EnableDateRangeOptimization,EnableAnnotations,EnableResultTypes", - "signatureLevel" : "All", - "type" : "CqlToElmInfo" - }, { - "type" : "Annotation", - "s" : { - "r" : "361", + "library" : { + "localId" : "0", + "annotation" : [ { + "type" : "CqlToElmInfo", + "translatorVersion" : "4.2.0", + "translatorOptions" : "EnableDateRangeOptimization,EnableAnnotations,EnableResultTypes", + "signatureLevel" : "All" + }, { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "361", + "s" : [ { + "value" : [ "", "library TestSnippet version '1'" ] + } ] + } + } ], + "identifier" : { + "id" : "TestSnippet", + "version" : "1" + }, + "schemaIdentifier" : { + "id" : "urn:hl7-org:elm", + "version" : "r1" + }, + "usings" : { + "def" : [ { + "localId" : "1", + "localIdentifier" : "System", + "uri" : "urn:hl7-org:elm-types:r1", + "annotation" : [ ] + }, { + "localId" : "206", + "localIdentifier" : "Simple", + "uri" : "https://github.com/cqframework/cql-execution/simple", + "version" : "1.0.0", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "206", "s" : [ { - "value" : [ "","library TestSnippet version '1'" ] - } ] - } - } ], - "identifier" : { - "id" : "TestSnippet", - "version" : "1" - }, - "schemaIdentifier" : { - "id" : "urn:hl7-org:elm", - "version" : "r1" - }, - "usings" : { - "def" : [ { - "localId" : "1", - "localIdentifier" : "System", - "uri" : "urn:hl7-org:elm-types:r1" - }, { - "localId" : "206", - "localIdentifier" : "Simple", - "uri" : "https://github.com/cqframework/cql-execution/simple", - "version" : "1.0.0", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "206", - "s" : [ { - "value" : [ "","using " ] - }, { - "s" : [ { - "value" : [ "Simple" ] - } ] - }, { - "value" : [ " version '1.0.0'" ] - } ] - } - } ] - } ] - }, - "contexts" : { - "def" : [ { - "localId" : "211", - "name" : "Patient" - } ] - }, - "statements" : { - "def" : [ { - "localId" : "209", - "name" : "Patient", - "context" : "Patient", - "expression" : { - "localId" : "210", - "type" : "SingletonFrom", - "signature" : [ ], - "operand" : { - "localId" : "208", - "dataType" : "{https://github.com/cqframework/cql-execution/simple}Patient", - "type" : "Retrieve", - "include" : [ ], - "codeFilter" : [ ], - "dateFilter" : [ ], - "otherFilter" : [ ] - } - } - }, { - "localId" : "214", + "value" : [ "", "using " ] + }, { + "s" : [ { + "value" : [ "Simple" ] + } ] + }, { + "value" : [ " version '1.0.0'" ] + } ] + } + } ] + } ] + }, + "contexts" : { + "def" : [ { + "localId" : "211", + "name" : "Patient", + "annotation" : [ ] + } ] + }, + "statements" : { + "def" : [ { + "localId" : "209", + "name" : "Patient", + "context" : "Patient", + "annotation" : [ ], + "expression" : { + "type" : "SingletonFrom", + "localId" : "210", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Retrieve", + "localId" : "208", + "dataType" : "{https://github.com/cqframework/cql-execution/simple}Patient", + "annotation" : [ ], + "include" : [ ], + "codeFilter" : [ ], + "dateFilter" : [ ], + "otherFilter" : [ ] + } + } + }, { + "localId" : "214", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "name" : "June15th2013", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "214", + "s" : [ { + "value" : [ "", "define ", "June15th2013", ": " ] + }, { + "r" : "231", + "s" : [ { + "r" : "215", + "value" : [ "DateTime", "(", "2013", ", ", "6", ", ", "15", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "DateTime", + "localId" : "231", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "232", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "233", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "234", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "235", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "236", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "237", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "238", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "215", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2013", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "216", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "6", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "217", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "15", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "218", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "219", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "220", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "221", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + } + }, { + "localId" : "241", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "name" : "PlusThreeYears", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "241", + "s" : [ { + "value" : [ "", "define ", "PlusThreeYears", ": " ] + }, { + "r" : "242", + "s" : [ { + "r" : "243", + "s" : [ { + "value" : [ "June15th2013" ] + } ] + }, { + "value" : [ " + " ] + }, { + "r" : "244", + "s" : [ { + "value" : [ "3 ", "years" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Add", + "localId" : "242", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "245", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "246", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "ExpressionRef", + "localId" : "243", "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", "name" : "June15th2013", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "214", - "s" : [ { - "value" : [ "","define ","June15th2013",": " ] - }, { - "r" : "231", - "s" : [ { - "r" : "215", - "value" : [ "DateTime","(","2013",", ","6",", ","15",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "231", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "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" - }, { - "localId" : "234", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "235", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "236", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "237", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "238", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "215", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2013", - "type" : "Literal" - }, - "month" : { - "localId" : "216", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "6", - "type" : "Literal" - }, - "day" : { - "localId" : "217", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal" - }, - "hour" : { - "localId" : "218", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "219", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "220", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "221", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - } - }, { - "localId" : "241", + "annotation" : [ ] + }, { + "type" : "Quantity", + "localId" : "244", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "value" : 3, + "unit" : "years", + "annotation" : [ ] + } ] + } + }, { + "localId" : "249", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "name" : "MinusThreeYears", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "249", + "s" : [ { + "value" : [ "", "define ", "MinusThreeYears", ": " ] + }, { + "r" : "250", + "s" : [ { + "r" : "251", + "s" : [ { + "value" : [ "June15th2013" ] + } ] + }, { + "value" : [ " - " ] + }, { + "r" : "252", + "s" : [ { + "value" : [ "3 ", "years" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Subtract", + "localId" : "250", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "253", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "254", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "ExpressionRef", + "localId" : "251", "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "name" : "PlusThreeYears", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "241", - "s" : [ { - "value" : [ "","define ","PlusThreeYears",": " ] - }, { - "r" : "242", - "s" : [ { - "r" : "243", - "s" : [ { - "value" : [ "June15th2013" ] - } ] - }, { - "value" : [ " + " ] - }, { - "r" : "244", - "s" : [ { - "value" : [ "3 ","years" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "242", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "Add", - "signature" : [ { - "localId" : "245", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "246", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "243", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "name" : "June15th2013", - "type" : "ExpressionRef" - }, { - "localId" : "244", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "value" : 3, - "unit" : "years", - "type" : "Quantity" - } ] - } - }, { - "localId" : "249", + "name" : "June15th2013", + "annotation" : [ ] + }, { + "type" : "Quantity", + "localId" : "252", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "value" : 3, + "unit" : "years", + "annotation" : [ ] + } ] + } + }, { + "localId" : "257", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "name" : "PlusEightMonths", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "257", + "s" : [ { + "value" : [ "", "define ", "PlusEightMonths", ": " ] + }, { + "r" : "258", + "s" : [ { + "r" : "259", + "s" : [ { + "value" : [ "June15th2013" ] + } ] + }, { + "value" : [ " + " ] + }, { + "r" : "260", + "s" : [ { + "value" : [ "8 ", "months" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Add", + "localId" : "258", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "261", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "262", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "ExpressionRef", + "localId" : "259", "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "name" : "MinusThreeYears", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "249", - "s" : [ { - "value" : [ "","define ","MinusThreeYears",": " ] - }, { - "r" : "250", - "s" : [ { - "r" : "251", - "s" : [ { - "value" : [ "June15th2013" ] - } ] - }, { - "value" : [ " - " ] - }, { - "r" : "252", - "s" : [ { - "value" : [ "3 ","years" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "250", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "Subtract", - "signature" : [ { - "localId" : "253", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "254", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "251", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "name" : "June15th2013", - "type" : "ExpressionRef" - }, { - "localId" : "252", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "value" : 3, - "unit" : "years", - "type" : "Quantity" - } ] - } - }, { - "localId" : "257", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "name" : "PlusEightMonths", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "257", - "s" : [ { - "value" : [ "","define ","PlusEightMonths",": " ] - }, { - "r" : "258", - "s" : [ { - "r" : "259", - "s" : [ { - "value" : [ "June15th2013" ] - } ] - }, { - "value" : [ " + " ] - }, { - "r" : "260", - "s" : [ { - "value" : [ "8 ","months" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "258", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "Add", - "signature" : [ { - "localId" : "261", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "262", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "259", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "name" : "June15th2013", - "type" : "ExpressionRef" - }, { - "localId" : "260", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "value" : 8, - "unit" : "months", - "type" : "Quantity" - } ] - } - }, { - "localId" : "265", + "name" : "June15th2013", + "annotation" : [ ] + }, { + "type" : "Quantity", + "localId" : "260", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "value" : 8, + "unit" : "months", + "annotation" : [ ] + } ] + } + }, { + "localId" : "265", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "name" : "MinusEightMonths", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "265", + "s" : [ { + "value" : [ "", "define ", "MinusEightMonths", ": " ] + }, { + "r" : "266", + "s" : [ { + "r" : "267", + "s" : [ { + "value" : [ "June15th2013" ] + } ] + }, { + "value" : [ " - " ] + }, { + "r" : "268", + "s" : [ { + "value" : [ "8 ", "months" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Subtract", + "localId" : "266", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "269", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "270", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "ExpressionRef", + "localId" : "267", "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "name" : "MinusEightMonths", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "265", - "s" : [ { - "value" : [ "","define ","MinusEightMonths",": " ] - }, { - "r" : "266", - "s" : [ { - "r" : "267", - "s" : [ { - "value" : [ "June15th2013" ] - } ] - }, { - "value" : [ " - " ] - }, { - "r" : "268", - "s" : [ { - "value" : [ "8 ","months" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "266", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "Subtract", - "signature" : [ { - "localId" : "269", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "270", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "267", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "name" : "June15th2013", - "type" : "ExpressionRef" - }, { - "localId" : "268", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "value" : 8, - "unit" : "months", - "type" : "Quantity" - } ] - } - }, { - "localId" : "273", + "name" : "June15th2013", + "annotation" : [ ] + }, { + "type" : "Quantity", + "localId" : "268", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "value" : 8, + "unit" : "months", + "annotation" : [ ] + } ] + } + }, { + "localId" : "273", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "name" : "PlusThreeWeeks", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "273", + "s" : [ { + "value" : [ "", "define ", "PlusThreeWeeks", ": " ] + }, { + "r" : "274", + "s" : [ { + "r" : "275", + "s" : [ { + "value" : [ "June15th2013" ] + } ] + }, { + "value" : [ " + " ] + }, { + "r" : "276", + "s" : [ { + "value" : [ "3 ", "weeks" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Add", + "localId" : "274", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "277", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "278", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "ExpressionRef", + "localId" : "275", "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "name" : "PlusThreeWeeks", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "273", - "s" : [ { - "value" : [ "","define ","PlusThreeWeeks",": " ] - }, { - "r" : "274", - "s" : [ { - "r" : "275", - "s" : [ { - "value" : [ "June15th2013" ] - } ] - }, { - "value" : [ " + " ] - }, { - "r" : "276", - "s" : [ { - "value" : [ "3 ","weeks" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "274", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "Add", - "signature" : [ { - "localId" : "277", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "278", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "275", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "name" : "June15th2013", - "type" : "ExpressionRef" - }, { - "localId" : "276", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "value" : 3, - "unit" : "weeks", - "type" : "Quantity" - } ] - } - }, { - "localId" : "281", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "name" : "MinusThreeWeeks", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "281", - "s" : [ { - "value" : [ "","define ","MinusThreeWeeks",": " ] - }, { - "r" : "282", - "s" : [ { - "r" : "283", - "s" : [ { - "value" : [ "June15th2013" ] - } ] - }, { - "value" : [ " - " ] - }, { - "r" : "284", - "s" : [ { - "value" : [ "3 ","weeks" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "282", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "Subtract", - "signature" : [ { - "localId" : "285", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "286", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "283", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "name" : "June15th2013", - "type" : "ExpressionRef" - }, { - "localId" : "284", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "value" : 3, - "unit" : "weeks", - "type" : "Quantity" - } ] - } - }, { - "localId" : "289", + "name" : "June15th2013", + "annotation" : [ ] + }, { + "type" : "Quantity", + "localId" : "276", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "value" : 3, + "unit" : "weeks", + "annotation" : [ ] + } ] + } + }, { + "localId" : "281", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "name" : "MinusThreeWeeks", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "281", + "s" : [ { + "value" : [ "", "define ", "MinusThreeWeeks", ": " ] + }, { + "r" : "282", + "s" : [ { + "r" : "283", + "s" : [ { + "value" : [ "June15th2013" ] + } ] + }, { + "value" : [ " - " ] + }, { + "r" : "284", + "s" : [ { + "value" : [ "3 ", "weeks" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Subtract", + "localId" : "282", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "285", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "286", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "ExpressionRef", + "localId" : "283", "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "name" : "PlusTwentyDays", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "289", - "s" : [ { - "value" : [ "","define ","PlusTwentyDays",": " ] - }, { - "r" : "290", - "s" : [ { - "r" : "291", - "s" : [ { - "value" : [ "June15th2013" ] - } ] - }, { - "value" : [ " + " ] - }, { - "r" : "292", - "s" : [ { - "value" : [ "20 ","days" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "290", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "Add", - "signature" : [ { - "localId" : "293", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "294", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "291", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "name" : "June15th2013", - "type" : "ExpressionRef" - }, { - "localId" : "292", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "value" : 20, - "unit" : "days", - "type" : "Quantity" - } ] - } - }, { - "localId" : "297", + "name" : "June15th2013", + "annotation" : [ ] + }, { + "type" : "Quantity", + "localId" : "284", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "value" : 3, + "unit" : "weeks", + "annotation" : [ ] + } ] + } + }, { + "localId" : "289", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "name" : "PlusTwentyDays", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "289", + "s" : [ { + "value" : [ "", "define ", "PlusTwentyDays", ": " ] + }, { + "r" : "290", + "s" : [ { + "r" : "291", + "s" : [ { + "value" : [ "June15th2013" ] + } ] + }, { + "value" : [ " + " ] + }, { + "r" : "292", + "s" : [ { + "value" : [ "20 ", "days" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Add", + "localId" : "290", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "293", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "294", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "ExpressionRef", + "localId" : "291", "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "name" : "MinusTwentyDays", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "297", - "s" : [ { - "value" : [ "","define ","MinusTwentyDays",": " ] - }, { - "r" : "298", - "s" : [ { - "r" : "299", - "s" : [ { - "value" : [ "June15th2013" ] - } ] - }, { - "value" : [ " - " ] - }, { - "r" : "300", - "s" : [ { - "value" : [ "20 ","days" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "298", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "Subtract", - "signature" : [ { - "localId" : "301", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "302", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "299", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "name" : "June15th2013", - "type" : "ExpressionRef" - }, { - "localId" : "300", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "value" : 20, - "unit" : "days", - "type" : "Quantity" - } ] - } - }, { - "localId" : "305", + "name" : "June15th2013", + "annotation" : [ ] + }, { + "type" : "Quantity", + "localId" : "292", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "value" : 20, + "unit" : "days", + "annotation" : [ ] + } ] + } + }, { + "localId" : "297", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "name" : "MinusTwentyDays", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "297", + "s" : [ { + "value" : [ "", "define ", "MinusTwentyDays", ": " ] + }, { + "r" : "298", + "s" : [ { + "r" : "299", + "s" : [ { + "value" : [ "June15th2013" ] + } ] + }, { + "value" : [ " - " ] + }, { + "r" : "300", + "s" : [ { + "value" : [ "20 ", "days" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Subtract", + "localId" : "298", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "301", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "302", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "ExpressionRef", + "localId" : "299", "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "name" : "PlusThreeHours", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "305", - "s" : [ { - "value" : [ "","define ","PlusThreeHours",": " ] - }, { - "r" : "306", - "s" : [ { - "r" : "307", - "s" : [ { - "value" : [ "June15th2013" ] - } ] - }, { - "value" : [ " + " ] - }, { - "r" : "308", - "s" : [ { - "value" : [ "3 ","hours" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "306", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "Add", - "signature" : [ { - "localId" : "309", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "310", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "307", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "name" : "June15th2013", - "type" : "ExpressionRef" - }, { - "localId" : "308", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "value" : 3, - "unit" : "hours", - "type" : "Quantity" - } ] - } - }, { - "localId" : "313", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "name" : "MinusThreeHours", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "313", - "s" : [ { - "value" : [ "","define ","MinusThreeHours",": " ] - }, { - "r" : "314", - "s" : [ { - "r" : "315", - "s" : [ { - "value" : [ "June15th2013" ] - } ] - }, { - "value" : [ " - " ] - }, { - "r" : "316", - "s" : [ { - "value" : [ "3 ","hours" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "314", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "Subtract", - "signature" : [ { - "localId" : "317", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "318", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "315", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "name" : "June15th2013", - "type" : "ExpressionRef" - }, { - "localId" : "316", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "value" : 3, - "unit" : "hours", - "type" : "Quantity" - } ] - } - }, { - "localId" : "321", + "name" : "June15th2013", + "annotation" : [ ] + }, { + "type" : "Quantity", + "localId" : "300", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "value" : 20, + "unit" : "days", + "annotation" : [ ] + } ] + } + }, { + "localId" : "305", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "name" : "PlusThreeHours", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "305", + "s" : [ { + "value" : [ "", "define ", "PlusThreeHours", ": " ] + }, { + "r" : "306", + "s" : [ { + "r" : "307", + "s" : [ { + "value" : [ "June15th2013" ] + } ] + }, { + "value" : [ " + " ] + }, { + "r" : "308", + "s" : [ { + "value" : [ "3 ", "hours" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Add", + "localId" : "306", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "309", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "310", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "ExpressionRef", + "localId" : "307", "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "name" : "PlusThreeMinutes", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "321", - "s" : [ { - "value" : [ "","define ","PlusThreeMinutes",": " ] - }, { - "r" : "322", - "s" : [ { - "r" : "323", - "s" : [ { - "value" : [ "June15th2013" ] - } ] - }, { - "value" : [ " + " ] - }, { - "r" : "324", - "s" : [ { - "value" : [ "3 ","minutes" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "322", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "Add", - "signature" : [ { - "localId" : "325", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "326", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "323", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "name" : "June15th2013", - "type" : "ExpressionRef" - }, { - "localId" : "324", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "value" : 3, - "unit" : "minutes", - "type" : "Quantity" - } ] - } - }, { - "localId" : "329", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "name" : "MinusThreeMinutes", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "329", - "s" : [ { - "value" : [ "","define ","MinusThreeMinutes",": " ] - }, { - "r" : "330", - "s" : [ { - "r" : "331", - "s" : [ { - "value" : [ "June15th2013" ] - } ] - }, { - "value" : [ " - " ] - }, { - "r" : "332", - "s" : [ { - "value" : [ "3 ","minutes" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "330", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "Subtract", - "signature" : [ { - "localId" : "333", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "334", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "331", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "name" : "June15th2013", - "type" : "ExpressionRef" - }, { - "localId" : "332", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "value" : 3, - "unit" : "minutes", - "type" : "Quantity" - } ] - } - }, { - "localId" : "337", + "name" : "June15th2013", + "annotation" : [ ] + }, { + "type" : "Quantity", + "localId" : "308", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "value" : 3, + "unit" : "hours", + "annotation" : [ ] + } ] + } + }, { + "localId" : "313", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "name" : "MinusThreeHours", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "313", + "s" : [ { + "value" : [ "", "define ", "MinusThreeHours", ": " ] + }, { + "r" : "314", + "s" : [ { + "r" : "315", + "s" : [ { + "value" : [ "June15th2013" ] + } ] + }, { + "value" : [ " - " ] + }, { + "r" : "316", + "s" : [ { + "value" : [ "3 ", "hours" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Subtract", + "localId" : "314", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "317", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "318", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "ExpressionRef", + "localId" : "315", "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "name" : "PlusThreeSeconds", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "337", - "s" : [ { - "value" : [ "","define ","PlusThreeSeconds",": " ] - }, { - "r" : "338", - "s" : [ { - "r" : "339", - "s" : [ { - "value" : [ "June15th2013" ] - } ] - }, { - "value" : [ " + " ] - }, { - "r" : "340", - "s" : [ { - "value" : [ "3 ","seconds" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "338", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "Add", - "signature" : [ { - "localId" : "341", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "342", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "339", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "name" : "June15th2013", - "type" : "ExpressionRef" - }, { - "localId" : "340", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "value" : 3, - "unit" : "seconds", - "type" : "Quantity" - } ] - } - }, { - "localId" : "345", + "name" : "June15th2013", + "annotation" : [ ] + }, { + "type" : "Quantity", + "localId" : "316", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "value" : 3, + "unit" : "hours", + "annotation" : [ ] + } ] + } + }, { + "localId" : "321", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "name" : "PlusThreeMinutes", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "321", + "s" : [ { + "value" : [ "", "define ", "PlusThreeMinutes", ": " ] + }, { + "r" : "322", + "s" : [ { + "r" : "323", + "s" : [ { + "value" : [ "June15th2013" ] + } ] + }, { + "value" : [ " + " ] + }, { + "r" : "324", + "s" : [ { + "value" : [ "3 ", "minutes" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Add", + "localId" : "322", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "325", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "326", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "ExpressionRef", + "localId" : "323", "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "name" : "MinusThreeSeconds", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "345", - "s" : [ { - "value" : [ "","define ","MinusThreeSeconds",": " ] - }, { - "r" : "346", - "s" : [ { - "r" : "347", - "s" : [ { - "value" : [ "June15th2013" ] - } ] - }, { - "value" : [ " - " ] - }, { - "r" : "348", - "s" : [ { - "value" : [ "3 ","seconds" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "346", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "Subtract", - "signature" : [ { - "localId" : "349", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "350", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "347", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "name" : "June15th2013", - "type" : "ExpressionRef" - }, { - "localId" : "348", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "value" : 3, - "unit" : "seconds", - "type" : "Quantity" - } ] - } - }, { - "localId" : "353", + "name" : "June15th2013", + "annotation" : [ ] + }, { + "type" : "Quantity", + "localId" : "324", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "value" : 3, + "unit" : "minutes", + "annotation" : [ ] + } ] + } + }, { + "localId" : "329", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "name" : "MinusThreeMinutes", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "329", + "s" : [ { + "value" : [ "", "define ", "MinusThreeMinutes", ": " ] + }, { + "r" : "330", + "s" : [ { + "r" : "331", + "s" : [ { + "value" : [ "June15th2013" ] + } ] + }, { + "value" : [ " - " ] + }, { + "r" : "332", + "s" : [ { + "value" : [ "3 ", "minutes" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Subtract", + "localId" : "330", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "333", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "334", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "ExpressionRef", + "localId" : "331", "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "name" : "PlusThreeMilliseconds", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "353", - "s" : [ { - "value" : [ "","define ","PlusThreeMilliseconds",": " ] - }, { - "r" : "354", - "s" : [ { - "r" : "355", - "s" : [ { - "value" : [ "June15th2013" ] - } ] - }, { - "value" : [ " + " ] - }, { - "r" : "356", - "s" : [ { - "value" : [ "3 ","milliseconds" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "354", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "Add", - "signature" : [ { - "localId" : "357", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "358", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "355", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "name" : "June15th2013", - "type" : "ExpressionRef" - }, { - "localId" : "356", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "value" : 3, - "unit" : "milliseconds", - "type" : "Quantity" - } ] - } - }, { - "localId" : "361", + "name" : "June15th2013", + "annotation" : [ ] + }, { + "type" : "Quantity", + "localId" : "332", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "value" : 3, + "unit" : "minutes", + "annotation" : [ ] + } ] + } + }, { + "localId" : "337", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "name" : "PlusThreeSeconds", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "337", + "s" : [ { + "value" : [ "", "define ", "PlusThreeSeconds", ": " ] + }, { + "r" : "338", + "s" : [ { + "r" : "339", + "s" : [ { + "value" : [ "June15th2013" ] + } ] + }, { + "value" : [ " + " ] + }, { + "r" : "340", + "s" : [ { + "value" : [ "3 ", "seconds" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Add", + "localId" : "338", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "341", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "342", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "ExpressionRef", + "localId" : "339", "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "name" : "MinusThreeMilliseconds", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "361", - "s" : [ { - "value" : [ "","define ","MinusThreeMilliseconds",": " ] - }, { - "r" : "362", - "s" : [ { - "r" : "363", - "s" : [ { - "value" : [ "June15th2013" ] - } ] - }, { - "value" : [ " - " ] - }, { - "r" : "364", - "s" : [ { - "value" : [ "3 ","milliseconds" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "362", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "Subtract", - "signature" : [ { - "localId" : "365", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "366", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "363", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "name" : "June15th2013", - "type" : "ExpressionRef" - }, { - "localId" : "364", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "value" : 3, - "unit" : "milliseconds", - "type" : "Quantity" - } ] - } - } ] - } - } + "name" : "June15th2013", + "annotation" : [ ] + }, { + "type" : "Quantity", + "localId" : "340", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "value" : 3, + "unit" : "seconds", + "annotation" : [ ] + } ] + } + }, { + "localId" : "345", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "name" : "MinusThreeSeconds", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "345", + "s" : [ { + "value" : [ "", "define ", "MinusThreeSeconds", ": " ] + }, { + "r" : "346", + "s" : [ { + "r" : "347", + "s" : [ { + "value" : [ "June15th2013" ] + } ] + }, { + "value" : [ " - " ] + }, { + "r" : "348", + "s" : [ { + "value" : [ "3 ", "seconds" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Subtract", + "localId" : "346", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "349", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "350", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "ExpressionRef", + "localId" : "347", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "name" : "June15th2013", + "annotation" : [ ] + }, { + "type" : "Quantity", + "localId" : "348", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "value" : 3, + "unit" : "seconds", + "annotation" : [ ] + } ] + } + }, { + "localId" : "353", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "name" : "PlusThreeMilliseconds", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "353", + "s" : [ { + "value" : [ "", "define ", "PlusThreeMilliseconds", ": " ] + }, { + "r" : "354", + "s" : [ { + "r" : "355", + "s" : [ { + "value" : [ "June15th2013" ] + } ] + }, { + "value" : [ " + " ] + }, { + "r" : "356", + "s" : [ { + "value" : [ "3 ", "milliseconds" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Add", + "localId" : "354", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "357", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "358", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "ExpressionRef", + "localId" : "355", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "name" : "June15th2013", + "annotation" : [ ] + }, { + "type" : "Quantity", + "localId" : "356", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "value" : 3, + "unit" : "milliseconds", + "annotation" : [ ] + } ] + } + }, { + "localId" : "361", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "name" : "MinusThreeMilliseconds", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "361", + "s" : [ { + "value" : [ "", "define ", "MinusThreeMilliseconds", ": " ] + }, { + "r" : "362", + "s" : [ { + "r" : "363", + "s" : [ { + "value" : [ "June15th2013" ] + } ] + }, { + "value" : [ " - " ] + }, { + "r" : "364", + "s" : [ { + "value" : [ "3 ", "milliseconds" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Subtract", + "localId" : "362", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "365", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "366", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "ExpressionRef", + "localId" : "363", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "name" : "June15th2013", + "annotation" : [ ] + }, { + "type" : "Quantity", + "localId" : "364", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "value" : 3, + "unit" : "milliseconds", + "annotation" : [ ] + } ] + } + } ] + } + } } diff --git a/test/elm/executor/data.js b/test/elm/executor/data.js index 1fa22589..59725598 100644 --- a/test/elm/executor/data.js +++ b/test/elm/executor/data.js @@ -32,742 +32,841 @@ define AgeSumRef : AgeSum */ module.exports['Age'] = { - "library" : { - "localId" : "0", - "annotation" : [ { - "translatorVersion" : "3.27.0", - "translatorOptions" : "EnableDateRangeOptimization,EnableAnnotations,EnableResultTypes", - "signatureLevel" : "All", - "type" : "CqlToElmInfo" + "library" : { + "localId" : "0", + "annotation" : [ { + "type" : "CqlToElmInfo", + "translatorVersion" : "4.2.0", + "translatorOptions" : "EnableDateRangeOptimization,EnableAnnotations,EnableResultTypes", + "signatureLevel" : "All" + }, { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "338", + "s" : [ { + "value" : [ "", "library TestSnippet version '1'" ] + } ] + } + } ], + "identifier" : { + "id" : "TestSnippet", + "version" : "1" + }, + "schemaIdentifier" : { + "id" : "urn:hl7-org:elm", + "version" : "r1" + }, + "usings" : { + "def" : [ { + "localId" : "1", + "localIdentifier" : "System", + "uri" : "urn:hl7-org:elm-types:r1", + "annotation" : [ ] }, { - "type" : "Annotation", - "s" : { - "r" : "338", + "localId" : "206", + "localIdentifier" : "Simple", + "uri" : "https://github.com/cqframework/cql-execution/simple", + "version" : "1.0.0", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "206", "s" : [ { - "value" : [ "","library TestSnippet version '1'" ] + "value" : [ "", "using " ] + }, { + "s" : [ { + "value" : [ "Simple" ] + } ] + }, { + "value" : [ " version '1.0.0'" ] } ] - } - } ], - "identifier" : { - "id" : "TestSnippet", - "version" : "1" - }, - "schemaIdentifier" : { - "id" : "urn:hl7-org:elm", - "version" : "r1" - }, - "usings" : { - "def" : [ { - "localId" : "1", - "localIdentifier" : "System", - "uri" : "urn:hl7-org:elm-types:r1" - }, { - "localId" : "206", - "localIdentifier" : "Simple", - "uri" : "https://github.com/cqframework/cql-execution/simple", - "version" : "1.0.0", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "206", - "s" : [ { - "value" : [ "","using " ] - }, { - "s" : [ { - "value" : [ "Simple" ] - } ] - }, { - "value" : [ " version '1.0.0'" ] - } ] - } + } + } ] + } ] + }, + "parameters" : { + "def" : [ { + "localId" : "208", + "name" : "MeasurementPeriod", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "208", + "s" : [ { + "value" : [ "", "parameter ", "MeasurementPeriod", " default " ] + }, { + "r" : "233", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "217", + "s" : [ { + "r" : "209", + "value" : [ "DateTime", "(", "2013", ", ", "1", ", ", "1", ")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "229", + "s" : [ { + "r" : "221", + "value" : [ "DateTime", "(", "2014", ", ", "1", ", ", "1", ")" ] + } ] + }, { + "value" : [ ")" ] + } ] } ] - } ] - }, - "parameters" : { - "def" : [ { - "localId" : "208", - "name" : "MeasurementPeriod", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "208", - "s" : [ { - "value" : [ "","parameter ","MeasurementPeriod"," default " ] - }, { - "r" : "233", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "217", - "s" : [ { - "r" : "209", - "value" : [ "DateTime","(","2013",", ","1",", ","1",")" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "229", - "s" : [ { - "r" : "221", - "value" : [ "DateTime","(","2014",", ","1",", ","1",")" ] - } ] - }, { - "value" : [ ")" ] - } ] - } ] - } + } + } ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "237", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "238", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "default" : { + "type" : "Interval", + "localId" : "233", + "lowClosed" : true, + "highClosed" : false, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "234", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "235", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "DateTime", + "localId" : "217", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "218", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "219", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "220", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] } ], - "resultTypeSpecifier" : { - "localId" : "237", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "238", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } + "year" : { + "type" : "Literal", + "localId" : "209", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2013", + "annotation" : [ ] }, - "default" : { - "localId" : "233", - "lowClosed" : true, - "highClosed" : false, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "234", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "235", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "217", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "218", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "219", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "220", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "209", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2013", - "type" : "Literal" - }, - "month" : { - "localId" : "210", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "211", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - } - }, - "high" : { - "localId" : "229", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "230", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "231", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "232", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "221", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2014", - "type" : "Literal" - }, - "month" : { - "localId" : "222", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "223", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - } - } + "month" : { + "type" : "Literal", + "localId" : "210", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "211", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] } - } ] - }, - "contexts" : { - "def" : [ { - "localId" : "242", - "name" : "Patient" - }, { - "localId" : "299", - "name" : "Unfiltered" - } ] - }, - "statements" : { - "def" : [ { - "localId" : "240", - "name" : "Patient", - "context" : "Patient", - "expression" : { - "localId" : "241", - "type" : "SingletonFrom", - "signature" : [ ], - "operand" : { - "localId" : "239", - "dataType" : "{https://github.com/cqframework/cql-execution/simple}Patient", - "type" : "Retrieve", - "include" : [ ], - "codeFilter" : [ ], - "dateFilter" : [ ], - "otherFilter" : [ ] - } + }, + "high" : { + "type" : "DateTime", + "localId" : "229", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "230", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "231", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "232", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "221", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2014", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "222", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "223", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] } - }, { - "localId" : "245", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "name" : "Age", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "245", + } + } + } ] + }, + "contexts" : { + "def" : [ { + "localId" : "242", + "name" : "Patient", + "annotation" : [ ] + }, { + "localId" : "299", + "name" : "Unfiltered", + "annotation" : [ ] + } ] + }, + "statements" : { + "def" : [ { + "localId" : "240", + "name" : "Patient", + "context" : "Patient", + "annotation" : [ ], + "expression" : { + "type" : "SingletonFrom", + "localId" : "241", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Retrieve", + "localId" : "239", + "dataType" : "{https://github.com/cqframework/cql-execution/simple}Patient", + "annotation" : [ ], + "include" : [ ], + "codeFilter" : [ ], + "dateFilter" : [ ], + "otherFilter" : [ ] + } + } + }, { + "localId" : "245", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "name" : "Age", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "245", + "s" : [ { + "value" : [ "", "define ", "Age", ":\n " ] + }, { + "r" : "256", + "s" : [ { + "value" : [ "AgeInYearsAt", "(" ] + }, { + "r" : "246", + "s" : [ { + "value" : [ "start of " ] + }, { + "r" : "247", "s" : [ { - "value" : [ "","define ","Age",":\n " ] - }, { - "r" : "256", - "s" : [ { - "value" : [ "AgeInYearsAt","(" ] - }, { - "r" : "246", - "s" : [ { - "value" : [ "start of " ] - }, { - "r" : "247", - "s" : [ { - "value" : [ "MeasurementPeriod" ] - } ] - } ] - }, { - "value" : [ ")" ] - } ] + "value" : [ "MeasurementPeriod" ] } ] - } + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "CalculateAgeAt", + "localId" : "256", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "precision" : "Year", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "257", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "258", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "Property", + "localId" : "255", + "path" : "birthDate", + "annotation" : [ ], + "source" : { + "type" : "ExpressionRef", + "localId" : "254", + "name" : "Patient", + "annotation" : [ ] + } + }, { + "type" : "Start", + "localId" : "246", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "250", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "251", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } } ], - "expression" : { - "localId" : "256", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "precision" : "Year", - "type" : "CalculateAgeAt", - "signature" : [ { - "localId" : "257", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "258", + "operand" : { + "type" : "ParameterRef", + "localId" : "247", + "name" : "MeasurementPeriod", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "248", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "249", "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "255", - "path" : "birthDate", - "type" : "Property", - "source" : { - "localId" : "254", - "name" : "Patient", - "type" : "ExpressionRef" - } - }, { - "localId" : "246", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "Start", - "signature" : [ { - "localId" : "250", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "251", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : { - "localId" : "247", - "name" : "MeasurementPeriod", - "type" : "ParameterRef", - "resultTypeSpecifier" : { - "localId" : "248", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "249", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - } - } ] + "annotation" : [ ] + } + } } - }, { - "localId" : "261", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "InDemographic", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "261", + } ] + } + }, { + "localId" : "261", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "InDemographic", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "261", + "s" : [ { + "value" : [ "", "define ", "InDemographic", ":\n " ] + }, { + "r" : "262", + "s" : [ { + "r" : "263", + "s" : [ { + "r" : "274", "s" : [ { - "value" : [ "","define ","InDemographic",":\n " ] - }, { - "r" : "262", - "s" : [ { - "r" : "263", - "s" : [ { - "r" : "274", - "s" : [ { - "value" : [ "AgeInYearsAt","(" ] - }, { - "r" : "264", - "s" : [ { - "value" : [ "start of " ] - }, { - "r" : "265", - "s" : [ { - "value" : [ "MeasurementPeriod" ] - } ] - } ] - }, { - "value" : [ ")" ] - } ] - }, { - "r" : "277", - "value" : [ " ",">="," ","2" ] - } ] - }, { - "value" : [ " and " ] - }, { - "r" : "280", - "s" : [ { - "r" : "291", - "s" : [ { - "value" : [ "AgeInYearsAt","(" ] - }, { - "r" : "281", - "s" : [ { - "value" : [ "start of " ] - }, { - "r" : "282", - "s" : [ { - "value" : [ "MeasurementPeriod" ] - } ] - } ] - }, { - "value" : [ ")" ] - } ] - }, { - "r" : "294", - "value" : [ " ","<"," ","18" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "262", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "And", - "signature" : [ { - "localId" : "297", - "name" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "298", - "name" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "263", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "GreaterOrEqual", - "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" : "274", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "precision" : "Year", - "type" : "CalculateAgeAt", - "signature" : [ { - "localId" : "275", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "276", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "273", - "path" : "birthDate", - "type" : "Property", - "source" : { - "localId" : "272", - "name" : "Patient", - "type" : "ExpressionRef" - } - }, { - "localId" : "264", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "Start", - "signature" : [ { - "localId" : "268", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "269", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : { - "localId" : "265", - "name" : "MeasurementPeriod", - "type" : "ParameterRef", - "resultTypeSpecifier" : { - "localId" : "266", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "267", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - } - } ] - }, { - "localId" : "277", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal" - } ] - }, { - "localId" : "280", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "Less", - "signature" : [ { - "localId" : "295", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" + "value" : [ "AgeInYearsAt", "(" ] }, { - "localId" : "296", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "291", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "precision" : "Year", - "type" : "CalculateAgeAt", - "signature" : [ { - "localId" : "292", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "293", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "290", - "path" : "birthDate", - "type" : "Property", - "source" : { - "localId" : "289", - "name" : "Patient", - "type" : "ExpressionRef" - } - }, { - "localId" : "281", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "Start", - "signature" : [ { - "localId" : "285", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "286", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : { - "localId" : "282", - "name" : "MeasurementPeriod", - "type" : "ParameterRef", - "resultTypeSpecifier" : { - "localId" : "283", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "284", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - } - } ] + "r" : "264", + "s" : [ { + "value" : [ "start of " ] + }, { + "r" : "265", + "s" : [ { + "value" : [ "MeasurementPeriod" ] + } ] + } ] }, { - "localId" : "294", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "18", - "type" : "Literal" + "value" : [ ")" ] } ] - } ] - } - }, { - "localId" : "302", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "name" : "AgeSum", - "context" : "Unfiltered", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "302", + }, { + "r" : "277", + "value" : [ " ", ">=", " ", "2" ] + } ] + }, { + "value" : [ " and " ] + }, { + "r" : "280", + "s" : [ { + "r" : "291", "s" : [ { - "value" : [ "","define ","AgeSum",": " ] + "value" : [ "AgeInYearsAt", "(" ] }, { - "r" : "310", - "s" : [ { - "value" : [ "Sum","(" ] - }, { - "r" : "303", - "s" : [ { - "value" : [ "Age" ] - } ] - }, { - "value" : [ ")" ] - } ] + "r" : "281", + "s" : [ { + "value" : [ "start of " ] + }, { + "r" : "282", + "s" : [ { + "value" : [ "MeasurementPeriod" ] + } ] + } ] + }, { + "value" : [ ")" ] } ] - } + }, { + "r" : "294", + "value" : [ " ", "<", " ", "18" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "And", + "localId" : "262", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "297", + "name" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "298", + "name" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "GreaterOrEqual", + "localId" : "263", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "278", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "279", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] } ], - "expression" : { - "localId" : "310", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "Sum", - "signature" : [ { - "localId" : "311", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "312", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" + "operand" : [ { + "type" : "CalculateAgeAt", + "localId" : "274", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "precision" : "Year", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "275", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "276", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "Property", + "localId" : "273", + "path" : "birthDate", + "annotation" : [ ], + "source" : { + "type" : "ExpressionRef", + "localId" : "272", + "name" : "Patient", + "annotation" : [ ] + } + }, { + "type" : "Start", + "localId" : "264", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "268", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "269", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } ], + "operand" : { + "type" : "ParameterRef", + "localId" : "265", + "name" : "MeasurementPeriod", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "266", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "267", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } } - } ], - "source" : { - "localId" : "303", - "name" : "Age", + } + } ] + }, { + "type" : "Literal", + "localId" : "277", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "annotation" : [ ] + } ] + }, { + "type" : "Less", + "localId" : "280", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "295", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "296", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "CalculateAgeAt", + "localId" : "291", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "precision" : "Year", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "292", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "293", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "Property", + "localId" : "290", + "path" : "birthDate", + "annotation" : [ ], + "source" : { "type" : "ExpressionRef", + "localId" : "289", + "name" : "Patient", + "annotation" : [ ] + } + }, { + "type" : "Start", + "localId" : "281", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "285", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "286", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } ], + "operand" : { + "type" : "ParameterRef", + "localId" : "282", + "name" : "MeasurementPeriod", + "annotation" : [ ], "resultTypeSpecifier" : { - "localId" : "304", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "305", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } + "type" : "IntervalTypeSpecifier", + "localId" : "283", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "284", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } } - } + } + } ] + }, { + "type" : "Literal", + "localId" : "294", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "18", + "annotation" : [ ] + } ] + } ] + } + }, { + "localId" : "302", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "name" : "AgeSum", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "302", + "s" : [ { + "value" : [ "", "define ", "AgeSum", ": " ] + }, { + "r" : "310", + "s" : [ { + "value" : [ "Sum", "(" ] + }, { + "r" : "303", + "s" : [ { + "value" : [ "Age" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Sum", + "localId" : "310", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ], + "signature" : [ { + "type" : "ListTypeSpecifier", + "localId" : "311", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "312", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] } - }, { - "localId" : "315", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "name" : "DEMO", - "context" : "Unfiltered", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "315", + } ], + "source" : { + "type" : "ExpressionRef", + "localId" : "303", + "name" : "Age", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "304", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "305", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } + } + } + }, { + "localId" : "315", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "name" : "DEMO", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "315", + "s" : [ { + "value" : [ "", "define ", "DEMO", ": " ] + }, { + "r" : "333", + "s" : [ { + "value" : [ "Count", "(" ] + }, { + "r" : "326", + "s" : [ { "s" : [ { - "value" : [ "","define ","DEMO",": " ] - }, { - "r" : "333", - "s" : [ { - "value" : [ "Count","(" ] - }, { - "r" : "326", + "r" : "316", + "s" : [ { + "r" : "317", + "s" : [ { "s" : [ { - "s" : [ { - "r" : "316", - "s" : [ { - "r" : "317", - "s" : [ { - "s" : [ { - "value" : [ "InDemographic" ] - } ] - } ] - }, { - "value" : [ " ","w" ] - } ] - } ] - }, { - "value" : [ " " ] - }, { - "r" : "324", - "s" : [ { - "value" : [ "where " ] - }, { - "r" : "324", - "s" : [ { - "r" : "323", - "s" : [ { - "value" : [ "w" ] - } ] - }, { - "value" : [ " is true" ] - } ] - } ] + "value" : [ "InDemographic" ] } ] - }, { - "value" : [ " )" ] - } ] + } ] + }, { + "value" : [ " ", "w" ] + } ] } ] - } - } ], - "expression" : { - "localId" : "333", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "Count", - "signature" : [ { - "localId" : "334", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "335", - "name" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "NamedTypeSpecifier" - } - } ], - "source" : { - "localId" : "326", - "type" : "Query", - "resultTypeSpecifier" : { - "localId" : "327", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "328", - "name" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "NamedTypeSpecifier" - } - }, - "source" : [ { - "localId" : "316", - "alias" : "w", - "resultTypeSpecifier" : { - "localId" : "320", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "321", - "name" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "NamedTypeSpecifier" - } - }, - "expression" : { - "localId" : "317", - "name" : "InDemographic", - "type" : "ExpressionRef", - "resultTypeSpecifier" : { - "localId" : "318", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "319", - "name" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "NamedTypeSpecifier" - } - } - } - } ], - "let" : [ ], - "relationship" : [ ], - "where" : { - "localId" : "324", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "IsTrue", - "signature" : [ { - "localId" : "325", - "name" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "323", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "w", - "type" : "AliasRef" - } - } - } - } - }, { - "localId" : "338", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "name" : "AgeSumRef", - "context" : "Unfiltered", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "338", + }, { + "value" : [ " " ] + }, { + "r" : "324", "s" : [ { - "value" : [ "","define ","AgeSumRef"," : " ] + "value" : [ "where " ] }, { - "r" : "339", - "s" : [ { - "value" : [ "AgeSum" ] - } ] + "r" : "324", + "s" : [ { + "r" : "323", + "s" : [ { + "value" : [ "w" ] + } ] + }, { + "value" : [ " is true" ] + } ] } ] - } + } ] + }, { + "value" : [ " )" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Count", + "localId" : "333", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ], + "signature" : [ { + "type" : "ListTypeSpecifier", + "localId" : "334", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "335", + "name" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ] + } + } ], + "source" : { + "type" : "Query", + "localId" : "326", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "327", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "328", + "name" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ] + } + }, + "source" : [ { + "localId" : "316", + "alias" : "w", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "320", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "321", + "name" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ] + } + }, + "expression" : { + "type" : "ExpressionRef", + "localId" : "317", + "name" : "InDemographic", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "318", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "319", + "name" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ] + } + } + } } ], - "expression" : { - "localId" : "339", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "name" : "AgeSum", - "type" : "ExpressionRef" + "let" : [ ], + "relationship" : [ ], + "where" : { + "type" : "IsTrue", + "localId" : "324", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "325", + "name" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ] + } ], + "operand" : { + "type" : "AliasRef", + "localId" : "323", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "w", + "annotation" : [ ] + } } - } ] - } - } + } + } + }, { + "localId" : "338", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "name" : "AgeSumRef", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "338", + "s" : [ { + "value" : [ "", "define ", "AgeSumRef", " : " ] + }, { + "r" : "339", + "s" : [ { + "value" : [ "AgeSum" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "ExpressionRef", + "localId" : "339", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "name" : "AgeSum", + "annotation" : [ ] + } + } ] + } + } } diff --git a/test/elm/expression/data.js b/test/elm/expression/data.js index d3c2d287..ea627713 100644 --- a/test/elm/expression/data.js +++ b/test/elm/expression/data.js @@ -16,111 +16,120 @@ define Foo: 'Bar' */ module.exports['Expression'] = { - "library" : { - "localId" : "0", - "annotation" : [ { - "translatorVersion" : "3.27.0", - "translatorOptions" : "EnableDateRangeOptimization,EnableAnnotations,EnableResultTypes", - "signatureLevel" : "All", - "type" : "CqlToElmInfo" + "library" : { + "localId" : "0", + "annotation" : [ { + "type" : "CqlToElmInfo", + "translatorVersion" : "4.2.0", + "translatorOptions" : "EnableDateRangeOptimization,EnableAnnotations,EnableResultTypes", + "signatureLevel" : "All" + }, { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "214", + "s" : [ { + "value" : [ "", "library TestSnippet version '1'" ] + } ] + } + } ], + "identifier" : { + "id" : "TestSnippet", + "version" : "1" + }, + "schemaIdentifier" : { + "id" : "urn:hl7-org:elm", + "version" : "r1" + }, + "usings" : { + "def" : [ { + "localId" : "1", + "localIdentifier" : "System", + "uri" : "urn:hl7-org:elm-types:r1", + "annotation" : [ ] }, { - "type" : "Annotation", - "s" : { - "r" : "214", + "localId" : "206", + "localIdentifier" : "Simple", + "uri" : "https://github.com/cqframework/cql-execution/simple", + "version" : "1.0.0", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "206", "s" : [ { - "value" : [ "","library TestSnippet version '1'" ] + "value" : [ "", "using " ] + }, { + "s" : [ { + "value" : [ "Simple" ] + } ] + }, { + "value" : [ " version '1.0.0'" ] } ] - } - } ], - "identifier" : { - "id" : "TestSnippet", - "version" : "1" - }, - "schemaIdentifier" : { - "id" : "urn:hl7-org:elm", - "version" : "r1" - }, - "usings" : { - "def" : [ { - "localId" : "1", - "localIdentifier" : "System", - "uri" : "urn:hl7-org:elm-types:r1" - }, { - "localId" : "206", - "localIdentifier" : "Simple", - "uri" : "https://github.com/cqframework/cql-execution/simple", - "version" : "1.0.0", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "206", - "s" : [ { - "value" : [ "","using " ] - }, { - "s" : [ { - "value" : [ "Simple" ] - } ] - }, { - "value" : [ " version '1.0.0'" ] - } ] - } + } + } ] + } ] + }, + "contexts" : { + "def" : [ { + "localId" : "211", + "name" : "Patient", + "annotation" : [ ] + } ] + }, + "statements" : { + "def" : [ { + "localId" : "209", + "name" : "Patient", + "context" : "Patient", + "annotation" : [ ], + "expression" : { + "type" : "SingletonFrom", + "localId" : "210", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Retrieve", + "localId" : "208", + "dataType" : "{https://github.com/cqframework/cql-execution/simple}Patient", + "annotation" : [ ], + "include" : [ ], + "codeFilter" : [ ], + "dateFilter" : [ ], + "otherFilter" : [ ] + } + } + }, { + "localId" : "214", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "name" : "Foo", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "214", + "s" : [ { + "value" : [ "", "define ", "Foo", ": " ] + }, { + "r" : "215", + "s" : [ { + "value" : [ "'Bar'" ] + } ] } ] - } ] - }, - "contexts" : { - "def" : [ { - "localId" : "211", - "name" : "Patient" - } ] - }, - "statements" : { - "def" : [ { - "localId" : "209", - "name" : "Patient", - "context" : "Patient", - "expression" : { - "localId" : "210", - "type" : "SingletonFrom", - "signature" : [ ], - "operand" : { - "localId" : "208", - "dataType" : "{https://github.com/cqframework/cql-execution/simple}Patient", - "type" : "Retrieve", - "include" : [ ], - "codeFilter" : [ ], - "dateFilter" : [ ], - "otherFilter" : [ ] - } - } - }, { - "localId" : "214", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "name" : "Foo", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "214", - "s" : [ { - "value" : [ "","define ","Foo",": " ] - }, { - "r" : "215", - "s" : [ { - "value" : [ "'Bar'" ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "215", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "Bar", - "type" : "Literal" - } - } ] - } - } + } + } ], + "expression" : { + "type" : "Literal", + "localId" : "215", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "Bar", + "annotation" : [ ] + } + } ] + } + } } diff --git a/test/elm/external/data.js b/test/elm/external/data.js index cf0d1957..31238cf8 100644 --- a/test/elm/external/data.js +++ b/test/elm/external/data.js @@ -32,995 +32,1104 @@ define ConditionsByDate: [Condition] C where C.period during Interval[@2013-03-0 */ module.exports['Retrieve'] = { - "library" : { - "localId" : "0", - "annotation" : [ { - "translatorVersion" : "3.27.0", - "translatorOptions" : "EnableDateRangeOptimization,EnableAnnotations,EnableResultTypes", - "signatureLevel" : "All", - "type" : "CqlToElmInfo" + "library" : { + "localId" : "0", + "annotation" : [ { + "type" : "CqlToElmInfo", + "translatorVersion" : "4.2.0", + "translatorOptions" : "EnableDateRangeOptimization,EnableAnnotations,EnableResultTypes", + "signatureLevel" : "All" + }, { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "336", + "s" : [ { + "value" : [ "", "library TestSnippet version '1'" ] + } ] + } + } ], + "identifier" : { + "id" : "TestSnippet", + "version" : "1" + }, + "schemaIdentifier" : { + "id" : "urn:hl7-org:elm", + "version" : "r1" + }, + "usings" : { + "def" : [ { + "localId" : "1", + "localIdentifier" : "System", + "uri" : "urn:hl7-org:elm-types:r1", + "annotation" : [ ] }, { - "type" : "Annotation", - "s" : { - "r" : "336", + "localId" : "206", + "localIdentifier" : "Simple", + "uri" : "https://github.com/cqframework/cql-execution/simple", + "version" : "1.0.0", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "206", "s" : [ { - "value" : [ "","library TestSnippet version '1'" ] + "value" : [ "", "using " ] + }, { + "s" : [ { + "value" : [ "Simple" ] + } ] + }, { + "value" : [ " version '1.0.0'" ] } ] - } - } ], - "identifier" : { - "id" : "TestSnippet", - "version" : "1" - }, - "schemaIdentifier" : { - "id" : "urn:hl7-org:elm", - "version" : "r1" - }, - "usings" : { - "def" : [ { - "localId" : "1", - "localIdentifier" : "System", - "uri" : "urn:hl7-org:elm-types:r1" - }, { - "localId" : "206", - "localIdentifier" : "Simple", - "uri" : "https://github.com/cqframework/cql-execution/simple", - "version" : "1.0.0", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "206", - "s" : [ { - "value" : [ "","using " ] - }, { - "s" : [ { - "value" : [ "Simple" ] - } ] - }, { - "value" : [ " version '1.0.0'" ] - } ] - } + } + } ] + } ] + }, + "includes" : { + "def" : [ { + "localId" : "208", + "localIdentifier" : "included", + "path" : "Included", + "version" : "1", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "208", + "s" : [ { + "value" : [ "", "include " ] + }, { + "s" : [ { + "value" : [ "Included" ] + } ] + }, { + "value" : [ " version ", "'1'", " called ", "included" ] } ] - } ] - }, - "includes" : { - "def" : [ { - "localId" : "208", - "localIdentifier" : "included", - "path" : "Included", - "version" : "1", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "208", - "s" : [ { - "value" : [ "","include " ] - }, { - "s" : [ { - "value" : [ "Included" ] - } ] - }, { - "value" : [ " version ","'1'"," called ","included" ] - } ] - } + } + } ] + } ] + }, + "codeSystems" : { + "def" : [ { + "localId" : "210", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}CodeSystem", + "name" : "SNOMED", + "id" : "2.16.840.1.113883.6.96", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "210", + "s" : [ { + "value" : [ "", "codesystem ", "\"SNOMED\"", ": ", "'2.16.840.1.113883.6.96'" ] } ] - } ] - }, - "codeSystems" : { - "def" : [ { - "localId" : "210", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}CodeSystem", - "name" : "SNOMED", - "id" : "2.16.840.1.113883.6.96", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "210", - "s" : [ { - "value" : [ "","codesystem ","\"SNOMED\"",": ","'2.16.840.1.113883.6.96'" ] - } ] - } + } + } ] + } ] + }, + "valueSets" : { + "def" : [ { + "localId" : "212", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}ValueSet", + "name" : "Ambulatory/ED Visit", + "id" : "2.16.840.1.113883.3.464.1003.101.12.1061", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "212", + "s" : [ { + "value" : [ "", "valueset ", "\"Ambulatory/ED Visit\"", ": ", "'2.16.840.1.113883.3.464.1003.101.12.1061'" ] + } ] + } + } ], + "codeSystem" : [ ] + }, { + "localId" : "214", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}ValueSet", + "name" : "Annual Wellness Visit", + "id" : "2.16.840.1.113883.3.526.3.1240", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "214", + "s" : [ { + "value" : [ "", "valueset ", "\"Annual Wellness Visit\"", ": ", "'2.16.840.1.113883.3.526.3.1240'" ] + } ] + } + } ], + "codeSystem" : [ ] + } ] + }, + "codes" : { + "def" : [ { + "localId" : "216", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Code", + "name" : "Viral pharyngitis code", + "id" : "1532007", + "display" : "Viral pharyngitis (disorder)", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "216", + "s" : [ { + "value" : [ "", "code ", "\"Viral pharyngitis code\"", ": ", "'1532007'", " from " ] + }, { + "r" : "217", + "s" : [ { + "value" : [ "\"SNOMED\"" ] + } ] + }, { + "value" : [ " display ", "'Viral pharyngitis (disorder)'" ] + } ] + } + } ], + "codeSystem" : { + "localId" : "217", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}CodeSystem", + "name" : "SNOMED", + "annotation" : [ ] + } + } ] + }, + "concepts" : { + "def" : [ { + "localId" : "219", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Concept", + "name" : "Viral pharyngitis", + "display" : "Viral pharyngitis (disorder)", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "219", + "s" : [ { + "value" : [ "", "concept ", "\"Viral pharyngitis\"", ": { " ] + }, { + "r" : "220", + "s" : [ { + "value" : [ "\"Viral pharyngitis code\"" ] + } ] + }, { + "value" : [ " } display ", "'Viral pharyngitis (disorder)'" ] } ] - } ] - }, - "valueSets" : { - "def" : [ { - "localId" : "212", + } + } ], + "code" : [ { + "localId" : "220", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Code", + "name" : "Viral pharyngitis code", + "annotation" : [ ] + } ] + } ] + }, + "contexts" : { + "def" : [ { + "localId" : "224", + "name" : "Patient", + "annotation" : [ ] + } ] + }, + "statements" : { + "def" : [ { + "localId" : "222", + "name" : "Patient", + "context" : "Patient", + "annotation" : [ ], + "expression" : { + "type" : "SingletonFrom", + "localId" : "223", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Retrieve", + "localId" : "221", + "dataType" : "{https://github.com/cqframework/cql-execution/simple}Patient", + "annotation" : [ ], + "include" : [ ], + "codeFilter" : [ ], + "dateFilter" : [ ], + "otherFilter" : [ ] + } + } + }, { + "localId" : "227", + "name" : "Conditions", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "227", + "s" : [ { + "value" : [ "", "define ", "Conditions", ": " ] + }, { + "r" : "228", + "s" : [ { + "value" : [ "[", "Condition", "]" ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "231", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "232", + "name" : "{https://github.com/cqframework/cql-execution/simple}Condition", + "annotation" : [ ] + } + }, + "expression" : { + "type" : "Retrieve", + "localId" : "228", + "dataType" : "{https://github.com/cqframework/cql-execution/simple}Condition", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "229", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "230", + "name" : "{https://github.com/cqframework/cql-execution/simple}Condition", + "annotation" : [ ] + } + }, + "include" : [ ], + "codeFilter" : [ ], + "dateFilter" : [ ], + "otherFilter" : [ ] + } + }, { + "localId" : "235", + "name" : "Encounters", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "235", + "s" : [ { + "value" : [ "", "define ", "Encounters", ": " ] + }, { + "r" : "236", + "s" : [ { + "value" : [ "[", "Encounter", "]" ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "239", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "240", + "name" : "{https://github.com/cqframework/cql-execution/simple}Encounter", + "annotation" : [ ] + } + }, + "expression" : { + "type" : "Retrieve", + "localId" : "236", + "dataType" : "{https://github.com/cqframework/cql-execution/simple}Encounter", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "237", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "238", + "name" : "{https://github.com/cqframework/cql-execution/simple}Encounter", + "annotation" : [ ] + } + }, + "include" : [ ], + "codeFilter" : [ ], + "dateFilter" : [ ], + "otherFilter" : [ ] + } + }, { + "localId" : "243", + "name" : "PharyngitisConditions", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "243", + "s" : [ { + "value" : [ "", "define ", "PharyngitisConditions", ": " ] + }, { + "r" : "247", + "s" : [ { + "value" : [ "[", "Condition", ": " ] + }, { + "s" : [ { + "value" : [ "included", ".", "\"Acute Pharyngitis\"" ] + } ] + }, { + "value" : [ "]" ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "252", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "253", + "name" : "{https://github.com/cqframework/cql-execution/simple}Condition", + "annotation" : [ ] + } + }, + "expression" : { + "type" : "Retrieve", + "localId" : "247", + "dataType" : "{https://github.com/cqframework/cql-execution/simple}Condition", + "codeProperty" : "code", + "codeComparator" : "in", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "250", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "251", + "name" : "{https://github.com/cqframework/cql-execution/simple}Condition", + "annotation" : [ ] + } + }, + "codes" : { + "type" : "ValueSetRef", + "localId" : "246", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}ValueSet", + "name" : "Acute Pharyngitis", + "libraryName" : "included", + "preserve" : true, + "annotation" : [ ] + }, + "include" : [ ], + "codeFilter" : [ ], + "dateFilter" : [ ], + "otherFilter" : [ ] + } + }, { + "localId" : "256", + "name" : "AmbulatoryEncounters", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "256", + "s" : [ { + "value" : [ "", "define ", "AmbulatoryEncounters", ": " ] + }, { + "r" : "259", + "s" : [ { + "value" : [ "[", "Encounter", ": " ] + }, { + "s" : [ { + "value" : [ "\"Ambulatory/ED Visit\"" ] + } ] + }, { + "value" : [ "]" ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "264", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "265", + "name" : "{https://github.com/cqframework/cql-execution/simple}Encounter", + "annotation" : [ ] + } + }, + "expression" : { + "type" : "Retrieve", + "localId" : "259", + "dataType" : "{https://github.com/cqframework/cql-execution/simple}Encounter", + "codeProperty" : "code", + "codeComparator" : "in", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "262", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "263", + "name" : "{https://github.com/cqframework/cql-execution/simple}Encounter", + "annotation" : [ ] + } + }, + "codes" : { + "type" : "ValueSetRef", + "localId" : "258", "resultTypeName" : "{urn:hl7-org:elm-types:r1}ValueSet", "name" : "Ambulatory/ED Visit", - "id" : "2.16.840.1.113883.3.464.1003.101.12.1061", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "212", - "s" : [ { - "value" : [ "","valueset ","\"Ambulatory/ED Visit\"",": ","'2.16.840.1.113883.3.464.1003.101.12.1061'" ] - } ] - } - } ], - "codeSystem" : [ ] - }, { - "localId" : "214", + "preserve" : true, + "annotation" : [ ] + }, + "include" : [ ], + "codeFilter" : [ ], + "dateFilter" : [ ], + "otherFilter" : [ ] + } + }, { + "localId" : "268", + "name" : "EncountersByCode", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "268", + "s" : [ { + "value" : [ "", "define ", "EncountersByCode", ": " ] + }, { + "r" : "271", + "s" : [ { + "value" : [ "[", "Encounter", ": " ] + }, { + "s" : [ { + "value" : [ "code" ] + } ] + }, { + "value" : [ " ", "in", " " ] + }, { + "s" : [ { + "value" : [ "\"Ambulatory/ED Visit\"" ] + } ] + }, { + "value" : [ "]" ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "276", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "277", + "name" : "{https://github.com/cqframework/cql-execution/simple}Encounter", + "annotation" : [ ] + } + }, + "expression" : { + "type" : "Retrieve", + "localId" : "271", + "dataType" : "{https://github.com/cqframework/cql-execution/simple}Encounter", + "codeProperty" : "code", + "codeComparator" : "in", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "274", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "275", + "name" : "{https://github.com/cqframework/cql-execution/simple}Encounter", + "annotation" : [ ] + } + }, + "codes" : { + "type" : "ValueSetRef", + "localId" : "270", "resultTypeName" : "{urn:hl7-org:elm-types:r1}ValueSet", - "name" : "Annual Wellness Visit", - "id" : "2.16.840.1.113883.3.526.3.1240", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "214", - "s" : [ { - "value" : [ "","valueset ","\"Annual Wellness Visit\"",": ","'2.16.840.1.113883.3.526.3.1240'" ] - } ] - } - } ], - "codeSystem" : [ ] - } ] - }, - "codes" : { - "def" : [ { - "localId" : "216", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Code", - "name" : "Viral pharyngitis code", - "id" : "1532007", - "display" : "Viral pharyngitis (disorder)", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "216", - "s" : [ { - "value" : [ "","code ","\"Viral pharyngitis code\"",": ","'1532007'"," from " ] - }, { - "r" : "217", - "s" : [ { - "value" : [ "\"SNOMED\"" ] - } ] - }, { - "value" : [ " display ","'Viral pharyngitis (disorder)'" ] - } ] - } - } ], - "codeSystem" : { - "localId" : "217", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}CodeSystem", - "name" : "SNOMED" + "name" : "Ambulatory/ED Visit", + "preserve" : true, + "annotation" : [ ] + }, + "include" : [ ], + "codeFilter" : [ ], + "dateFilter" : [ ], + "otherFilter" : [ ] + } + }, { + "localId" : "280", + "name" : "WrongValueSet", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "280", + "s" : [ { + "value" : [ "", "define ", "WrongValueSet", ": " ] + }, { + "r" : "283", + "s" : [ { + "value" : [ "[", "Condition", ": " ] + }, { + "s" : [ { + "value" : [ "\"Ambulatory/ED Visit\"" ] + } ] + }, { + "value" : [ "]" ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "288", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "289", + "name" : "{https://github.com/cqframework/cql-execution/simple}Condition", + "annotation" : [ ] + } + }, + "expression" : { + "type" : "Retrieve", + "localId" : "283", + "dataType" : "{https://github.com/cqframework/cql-execution/simple}Condition", + "codeProperty" : "code", + "codeComparator" : "in", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "286", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "287", + "name" : "{https://github.com/cqframework/cql-execution/simple}Condition", + "annotation" : [ ] } - } ] - }, - "concepts" : { - "def" : [ { - "localId" : "219", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Concept", - "name" : "Viral pharyngitis", - "display" : "Viral pharyngitis (disorder)", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "219", - "s" : [ { - "value" : [ "","concept ","\"Viral pharyngitis\"",": { " ] - }, { - "r" : "220", - "s" : [ { - "value" : [ "\"Viral pharyngitis code\"" ] - } ] - }, { - "value" : [ " } display ","'Viral pharyngitis (disorder)'" ] - } ] - } - } ], - "code" : [ { - "localId" : "220", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Code", - "name" : "Viral pharyngitis code" + }, + "codes" : { + "type" : "ValueSetRef", + "localId" : "282", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}ValueSet", + "name" : "Ambulatory/ED Visit", + "preserve" : true, + "annotation" : [ ] + }, + "include" : [ ], + "codeFilter" : [ ], + "dateFilter" : [ ], + "otherFilter" : [ ] + } + }, { + "localId" : "292", + "name" : "WrongCodeProperty", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "292", + "s" : [ { + "value" : [ "", "define ", "WrongCodeProperty", ": " ] + }, { + "r" : "295", + "s" : [ { + "value" : [ "[", "Encounter", ": " ] + }, { + "s" : [ { + "value" : [ "status" ] + } ] + }, { + "value" : [ " ", "in", " " ] + }, { + "s" : [ { + "value" : [ "\"Ambulatory/ED Visit\"" ] + } ] + }, { + "value" : [ "]" ] + } ] } ] - } ] - }, - "contexts" : { - "def" : [ { - "localId" : "224", - "name" : "Patient" - } ] - }, - "statements" : { - "def" : [ { - "localId" : "222", - "name" : "Patient", - "context" : "Patient", - "expression" : { - "localId" : "223", - "type" : "SingletonFrom", - "signature" : [ ], - "operand" : { - "localId" : "221", - "dataType" : "{https://github.com/cqframework/cql-execution/simple}Patient", - "type" : "Retrieve", - "include" : [ ], - "codeFilter" : [ ], - "dateFilter" : [ ], - "otherFilter" : [ ] - } + } + } ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "300", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "301", + "name" : "{https://github.com/cqframework/cql-execution/simple}Encounter", + "annotation" : [ ] + } + }, + "expression" : { + "type" : "Retrieve", + "localId" : "295", + "dataType" : "{https://github.com/cqframework/cql-execution/simple}Encounter", + "codeProperty" : "status", + "codeComparator" : "in", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "298", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "299", + "name" : "{https://github.com/cqframework/cql-execution/simple}Encounter", + "annotation" : [ ] } - }, { - "localId" : "227", - "name" : "Conditions", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "227", - "s" : [ { - "value" : [ "","define ","Conditions",": " ] - }, { - "r" : "228", - "s" : [ { - "value" : [ "[","Condition","]" ] - } ] - } ] - } - } ], - "resultTypeSpecifier" : { - "localId" : "231", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "232", - "name" : "{https://github.com/cqframework/cql-execution/simple}Condition", - "type" : "NamedTypeSpecifier" - } - }, - "expression" : { - "localId" : "228", - "dataType" : "{https://github.com/cqframework/cql-execution/simple}Condition", - "type" : "Retrieve", - "resultTypeSpecifier" : { - "localId" : "229", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "230", - "name" : "{https://github.com/cqframework/cql-execution/simple}Condition", - "type" : "NamedTypeSpecifier" - } - }, - "include" : [ ], - "codeFilter" : [ ], - "dateFilter" : [ ], - "otherFilter" : [ ] + }, + "codes" : { + "type" : "ValueSetRef", + "localId" : "294", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}ValueSet", + "name" : "Ambulatory/ED Visit", + "preserve" : true, + "annotation" : [ ] + }, + "include" : [ ], + "codeFilter" : [ ], + "dateFilter" : [ ], + "otherFilter" : [ ] + } + }, { + "localId" : "304", + "name" : "ConditionsByCode", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "304", + "s" : [ { + "value" : [ "", "define ", "ConditionsByCode", ": " ] + }, { + "r" : "307", + "s" : [ { + "value" : [ "[", "Condition", ": " ] + }, { + "s" : [ { + "value" : [ "\"Viral pharyngitis code\"" ] + } ] + }, { + "value" : [ "]" ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "314", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "315", + "name" : "{https://github.com/cqframework/cql-execution/simple}Condition", + "annotation" : [ ] + } + }, + "expression" : { + "type" : "Retrieve", + "localId" : "307", + "dataType" : "{https://github.com/cqframework/cql-execution/simple}Condition", + "codeProperty" : "code", + "codeComparator" : "~", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "312", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "313", + "name" : "{https://github.com/cqframework/cql-execution/simple}Condition", + "annotation" : [ ] } - }, { - "localId" : "235", - "name" : "Encounters", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "235", - "s" : [ { - "value" : [ "","define ","Encounters",": " ] - }, { - "r" : "236", - "s" : [ { - "value" : [ "[","Encounter","]" ] - } ] - } ] - } - } ], - "resultTypeSpecifier" : { - "localId" : "239", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "240", - "name" : "{https://github.com/cqframework/cql-execution/simple}Encounter", - "type" : "NamedTypeSpecifier" - } - }, - "expression" : { - "localId" : "236", - "dataType" : "{https://github.com/cqframework/cql-execution/simple}Encounter", - "type" : "Retrieve", - "resultTypeSpecifier" : { - "localId" : "237", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "238", - "name" : "{https://github.com/cqframework/cql-execution/simple}Encounter", - "type" : "NamedTypeSpecifier" - } - }, - "include" : [ ], - "codeFilter" : [ ], - "dateFilter" : [ ], - "otherFilter" : [ ] + }, + "codes" : { + "type" : "ToList", + "localId" : "311", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "CodeRef", + "localId" : "306", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Code", + "name" : "Viral pharyngitis code", + "annotation" : [ ] } - }, { - "localId" : "243", - "name" : "PharyngitisConditions", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "243", - "s" : [ { - "value" : [ "","define ","PharyngitisConditions",": " ] - }, { - "r" : "247", - "s" : [ { - "value" : [ "[","Condition",": " ] - }, { - "s" : [ { - "value" : [ "included",".","\"Acute Pharyngitis\"" ] - } ] - }, { - "value" : [ "]" ] - } ] - } ] - } - } ], - "resultTypeSpecifier" : { - "localId" : "252", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "253", - "name" : "{https://github.com/cqframework/cql-execution/simple}Condition", - "type" : "NamedTypeSpecifier" - } - }, - "expression" : { - "localId" : "247", - "dataType" : "{https://github.com/cqframework/cql-execution/simple}Condition", - "codeProperty" : "code", - "codeComparator" : "in", - "type" : "Retrieve", - "resultTypeSpecifier" : { - "localId" : "250", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "251", - "name" : "{https://github.com/cqframework/cql-execution/simple}Condition", - "type" : "NamedTypeSpecifier" - } - }, - "codes" : { - "localId" : "246", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}ValueSet", - "name" : "Acute Pharyngitis", - "libraryName" : "included", - "preserve" : true, - "type" : "ValueSetRef" - }, - "include" : [ ], - "codeFilter" : [ ], - "dateFilter" : [ ], - "otherFilter" : [ ] + }, + "include" : [ ], + "codeFilter" : [ ], + "dateFilter" : [ ], + "otherFilter" : [ ] + } + }, { + "localId" : "318", + "name" : "ConditionsByConcept", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "318", + "s" : [ { + "value" : [ "", "define ", "ConditionsByConcept", ": " ] + }, { + "r" : "321", + "s" : [ { + "value" : [ "[", "Condition", ": " ] + }, { + "s" : [ { + "value" : [ "\"Viral pharyngitis\"" ] + } ] + }, { + "value" : [ "]" ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "332", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "333", + "name" : "{https://github.com/cqframework/cql-execution/simple}Condition", + "annotation" : [ ] + } + }, + "expression" : { + "type" : "Retrieve", + "localId" : "321", + "dataType" : "{https://github.com/cqframework/cql-execution/simple}Condition", + "codeProperty" : "code", + "codeComparator" : "~", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "330", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "331", + "name" : "{https://github.com/cqframework/cql-execution/simple}Condition", + "annotation" : [ ] } - }, { - "localId" : "256", - "name" : "AmbulatoryEncounters", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "256", - "s" : [ { - "value" : [ "","define ","AmbulatoryEncounters",": " ] - }, { - "r" : "259", - "s" : [ { - "value" : [ "[","Encounter",": " ] - }, { - "s" : [ { - "value" : [ "\"Ambulatory/ED Visit\"" ] - } ] - }, { - "value" : [ "]" ] - } ] - } ] - } - } ], - "resultTypeSpecifier" : { - "localId" : "264", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "265", - "name" : "{https://github.com/cqframework/cql-execution/simple}Encounter", - "type" : "NamedTypeSpecifier" - } - }, - "expression" : { - "localId" : "259", - "dataType" : "{https://github.com/cqframework/cql-execution/simple}Encounter", - "codeProperty" : "code", - "codeComparator" : "in", - "type" : "Retrieve", - "resultTypeSpecifier" : { - "localId" : "262", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "263", - "name" : "{https://github.com/cqframework/cql-execution/simple}Encounter", - "type" : "NamedTypeSpecifier" - } - }, - "codes" : { - "localId" : "258", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}ValueSet", - "name" : "Ambulatory/ED Visit", - "preserve" : true, - "type" : "ValueSetRef" - }, - "include" : [ ], - "codeFilter" : [ ], - "dateFilter" : [ ], - "otherFilter" : [ ] + }, + "codes" : { + "type" : "Property", + "localId" : "329", + "path" : "codes", + "annotation" : [ ], + "source" : { + "type" : "ConceptRef", + "localId" : "320", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Concept", + "name" : "Viral pharyngitis", + "annotation" : [ ] } - }, { - "localId" : "268", - "name" : "EncountersByCode", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "268", + }, + "include" : [ ], + "codeFilter" : [ ], + "dateFilter" : [ ], + "otherFilter" : [ ] + } + }, { + "localId" : "336", + "name" : "ConditionsByDate", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "336", + "s" : [ { + "value" : [ "", "define ", "ConditionsByDate", ": " ] + }, { + "r" : "383", + "s" : [ { + "s" : [ { + "r" : "337", "s" : [ { - "value" : [ "","define ","EncountersByCode",": " ] + "r" : "338", + "s" : [ { + "r" : "338", + "s" : [ { + "value" : [ "[", "Condition", "]" ] + } ] + } ] }, { - "r" : "271", - "s" : [ { - "value" : [ "[","Encounter",": " ] - }, { - "s" : [ { - "value" : [ "code" ] - } ] - }, { - "value" : [ " ","in"," " ] - }, { - "s" : [ { - "value" : [ "\"Ambulatory/ED Visit\"" ] - } ] - }, { - "value" : [ "]" ] - } ] + "value" : [ " ", "C" ] } ] - } - } ], - "resultTypeSpecifier" : { - "localId" : "276", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "277", - "name" : "{https://github.com/cqframework/cql-execution/simple}Encounter", - "type" : "NamedTypeSpecifier" - } - }, - "expression" : { - "localId" : "271", - "dataType" : "{https://github.com/cqframework/cql-execution/simple}Encounter", - "codeProperty" : "code", - "codeComparator" : "in", - "type" : "Retrieve", - "resultTypeSpecifier" : { - "localId" : "274", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "275", - "name" : "{https://github.com/cqframework/cql-execution/simple}Encounter", - "type" : "NamedTypeSpecifier" - } - }, - "codes" : { - "localId" : "270", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}ValueSet", - "name" : "Ambulatory/ED Visit", - "preserve" : true, - "type" : "ValueSetRef" - }, - "include" : [ ], - "codeFilter" : [ ], - "dateFilter" : [ ], - "otherFilter" : [ ] - } - }, { - "localId" : "280", - "name" : "WrongValueSet", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "280", + } ] + }, { + "value" : [ " " ] + }, { + "r" : "371", + "s" : [ { + "value" : [ "where " ] + }, { + "r" : "371", "s" : [ { - "value" : [ "","define ","WrongValueSet",": " ] + "r" : "347", + "s" : [ { + "r" : "346", + "s" : [ { + "value" : [ "C" ] + } ] + }, { + "value" : [ "." ] + }, { + "r" : "347", + "s" : [ { + "value" : [ "period" ] + } ] + } ] }, { - "r" : "283", - "s" : [ { - "value" : [ "[","Condition",": " ] - }, { - "s" : [ { - "value" : [ "\"Ambulatory/ED Visit\"" ] - } ] - }, { - "value" : [ "]" ] - } ] - } ] - } - } ], - "resultTypeSpecifier" : { - "localId" : "288", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "289", - "name" : "{https://github.com/cqframework/cql-execution/simple}Condition", - "type" : "NamedTypeSpecifier" - } - }, - "expression" : { - "localId" : "283", - "dataType" : "{https://github.com/cqframework/cql-execution/simple}Condition", - "codeProperty" : "code", - "codeComparator" : "in", - "type" : "Retrieve", - "resultTypeSpecifier" : { - "localId" : "286", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "287", - "name" : "{https://github.com/cqframework/cql-execution/simple}Condition", - "type" : "NamedTypeSpecifier" - } - }, - "codes" : { - "localId" : "282", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}ValueSet", - "name" : "Ambulatory/ED Visit", - "preserve" : true, - "type" : "ValueSetRef" - }, - "include" : [ ], - "codeFilter" : [ ], - "dateFilter" : [ ], - "otherFilter" : [ ] - } - }, { - "localId" : "292", - "name" : "WrongCodeProperty", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "292", - "s" : [ { - "value" : [ "","define ","WrongCodeProperty",": " ] + "r" : "371", + "value" : [ " ", "during", " " ] }, { - "r" : "295", - "s" : [ { - "value" : [ "[","Encounter",": " ] - }, { - "s" : [ { - "value" : [ "status" ] - } ] - }, { - "value" : [ " ","in"," " ] - }, { - "s" : [ { - "value" : [ "\"Ambulatory/ED Visit\"" ] - } ] - }, { - "value" : [ "]" ] - } ] + "r" : "368", + "s" : [ { + "r" : "352", + "value" : [ "Interval[", "@2013-03-01T00:00:00.0", ", ", "@2013-03-31T00:00:00.0", ")" ] + } ] } ] - } - } ], - "resultTypeSpecifier" : { - "localId" : "300", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "301", - "name" : "{https://github.com/cqframework/cql-execution/simple}Encounter", - "type" : "NamedTypeSpecifier" - } - }, - "expression" : { - "localId" : "295", - "dataType" : "{https://github.com/cqframework/cql-execution/simple}Encounter", - "codeProperty" : "status", - "codeComparator" : "in", - "type" : "Retrieve", - "resultTypeSpecifier" : { - "localId" : "298", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "299", - "name" : "{https://github.com/cqframework/cql-execution/simple}Encounter", - "type" : "NamedTypeSpecifier" - } - }, - "codes" : { - "localId" : "294", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}ValueSet", - "name" : "Ambulatory/ED Visit", - "preserve" : true, - "type" : "ValueSetRef" - }, - "include" : [ ], - "codeFilter" : [ ], - "dateFilter" : [ ], - "otherFilter" : [ ] + } ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "386", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "387", + "name" : "{https://github.com/cqframework/cql-execution/simple}Condition", + "annotation" : [ ] + } + }, + "expression" : { + "type" : "Query", + "localId" : "383", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "384", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "385", + "name" : "{https://github.com/cqframework/cql-execution/simple}Condition", + "annotation" : [ ] } - }, { - "localId" : "304", - "name" : "ConditionsByCode", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "304", - "s" : [ { - "value" : [ "","define ","ConditionsByCode",": " ] - }, { - "r" : "307", - "s" : [ { - "value" : [ "[","Condition",": " ] - }, { - "s" : [ { - "value" : [ "\"Viral pharyngitis code\"" ] - } ] - }, { - "value" : [ "]" ] - } ] - } ] - } - } ], + }, + "source" : [ { + "localId" : "337", + "alias" : "C", + "annotation" : [ ], "resultTypeSpecifier" : { - "localId" : "314", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "315", - "name" : "{https://github.com/cqframework/cql-execution/simple}Condition", - "type" : "NamedTypeSpecifier" - } + "type" : "ListTypeSpecifier", + "localId" : "343", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "344", + "name" : "{https://github.com/cqframework/cql-execution/simple}Condition", + "annotation" : [ ] + } }, "expression" : { - "localId" : "307", - "dataType" : "{https://github.com/cqframework/cql-execution/simple}Condition", - "codeProperty" : "code", - "codeComparator" : "~", - "type" : "Retrieve", - "resultTypeSpecifier" : { - "localId" : "312", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "313", - "name" : "{https://github.com/cqframework/cql-execution/simple}Condition", - "type" : "NamedTypeSpecifier" - } - }, - "codes" : { - "localId" : "311", - "type" : "ToList", - "signature" : [ ], - "operand" : { - "localId" : "306", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Code", - "name" : "Viral pharyngitis code", - "type" : "CodeRef" - } - }, - "include" : [ ], - "codeFilter" : [ ], - "dateFilter" : [ ], - "otherFilter" : [ ] - } - }, { - "localId" : "318", - "name" : "ConditionsByConcept", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "318", - "s" : [ { - "value" : [ "","define ","ConditionsByConcept",": " ] - }, { - "r" : "321", - "s" : [ { - "value" : [ "[","Condition",": " ] - }, { - "s" : [ { - "value" : [ "\"Viral pharyngitis\"" ] - } ] - }, { - "value" : [ "]" ] - } ] - } ] - } - } ], - "resultTypeSpecifier" : { - "localId" : "332", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "333", + "type" : "Retrieve", + "localId" : "338", + "dataType" : "{https://github.com/cqframework/cql-execution/simple}Condition", + "dateProperty" : "period", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "341", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "342", "name" : "{https://github.com/cqframework/cql-execution/simple}Condition", - "type" : "NamedTypeSpecifier" - } - }, - "expression" : { - "localId" : "321", - "dataType" : "{https://github.com/cqframework/cql-execution/simple}Condition", - "codeProperty" : "code", - "codeComparator" : "~", - "type" : "Retrieve", - "resultTypeSpecifier" : { - "localId" : "330", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "331", - "name" : "{https://github.com/cqframework/cql-execution/simple}Condition", - "type" : "NamedTypeSpecifier" - } - }, - "codes" : { - "localId" : "329", - "path" : "codes", - "type" : "Property", - "source" : { - "localId" : "320", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Concept", - "name" : "Viral pharyngitis", - "type" : "ConceptRef" + "annotation" : [ ] + } + }, + "dateRange" : { + "type" : "Interval", + "localId" : "368", + "lowClosed" : true, + "highClosed" : false, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "369", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "370", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] } - }, - "include" : [ ], - "codeFilter" : [ ], - "dateFilter" : [ ], - "otherFilter" : [ ] - } - }, { - "localId" : "336", - "name" : "ConditionsByDate", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "336", - "s" : [ { - "value" : [ "","define ","ConditionsByDate",": " ] - }, { - "r" : "383", - "s" : [ { - "s" : [ { - "r" : "337", - "s" : [ { - "r" : "338", - "s" : [ { - "r" : "338", - "s" : [ { - "value" : [ "[","Condition","]" ] - } ] - } ] - }, { - "value" : [ " ","C" ] - } ] - } ] - }, { - "value" : [ " " ] - }, { - "r" : "371", - "s" : [ { - "value" : [ "where " ] - }, { - "r" : "371", - "s" : [ { - "r" : "347", - "s" : [ { - "r" : "346", - "s" : [ { - "value" : [ "C" ] - } ] - }, { - "value" : [ "." ] - }, { - "r" : "347", - "s" : [ { - "value" : [ "period" ] - } ] - } ] - }, { - "r" : "371", - "value" : [ " ","during"," " ] - }, { - "r" : "368", - "s" : [ { - "r" : "352", - "value" : [ "Interval[","@2013-03-01T00:00:00.0",", ","@2013-03-31T00:00:00.0",")" ] - } ] - } ] - } ] - } ] - } ] - } - } ], - "resultTypeSpecifier" : { - "localId" : "386", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "387", - "name" : "{https://github.com/cqframework/cql-execution/simple}Condition", - "type" : "NamedTypeSpecifier" - } - }, - "expression" : { - "localId" : "383", - "type" : "Query", - "resultTypeSpecifier" : { - "localId" : "384", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "385", - "name" : "{https://github.com/cqframework/cql-execution/simple}Condition", - "type" : "NamedTypeSpecifier" + }, + "low" : { + "type" : "DateTime", + "localId" : "352", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ ], + "year" : { + "type" : "Literal", + "localId" : "353", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2013", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "354", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "355", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "356", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "357", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "358", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "359", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] } - }, - "source" : [ { - "localId" : "337", - "alias" : "C", - "resultTypeSpecifier" : { - "localId" : "343", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "344", - "name" : "{https://github.com/cqframework/cql-execution/simple}Condition", - "type" : "NamedTypeSpecifier" - } + }, + "high" : { + "type" : "DateTime", + "localId" : "360", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ ], + "year" : { + "type" : "Literal", + "localId" : "361", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2013", + "annotation" : [ ] }, - "expression" : { - "localId" : "338", - "dataType" : "{https://github.com/cqframework/cql-execution/simple}Condition", - "dateProperty" : "period", - "type" : "Retrieve", - "resultTypeSpecifier" : { - "localId" : "341", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "342", - "name" : "{https://github.com/cqframework/cql-execution/simple}Condition", - "type" : "NamedTypeSpecifier" - } - }, - "dateRange" : { - "localId" : "368", - "lowClosed" : true, - "highClosed" : false, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "369", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "370", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "352", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ ], - "year" : { - "localId" : "353", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2013", - "type" : "Literal" - }, - "month" : { - "localId" : "354", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "355", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "356", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "357", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "358", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "359", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - }, - "high" : { - "localId" : "360", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ ], - "year" : { - "localId" : "361", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2013", - "type" : "Literal" - }, - "month" : { - "localId" : "362", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "363", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "31", - "type" : "Literal" - }, - "hour" : { - "localId" : "364", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "365", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "366", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "367", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - } - }, - "include" : [ ], - "codeFilter" : [ ], - "dateFilter" : [ ], - "otherFilter" : [ ] + "month" : { + "type" : "Literal", + "localId" : "362", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "363", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "31", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "364", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "365", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "366", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "367", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] } - } ], - "let" : [ ], - "relationship" : [ ] + } + }, + "include" : [ ], + "codeFilter" : [ ], + "dateFilter" : [ ], + "otherFilter" : [ ] } - } ] - } - } + } ], + "let" : [ ], + "relationship" : [ ] + } + } ] + } + } } /* Included @@ -1032,94 +1141,99 @@ valueset "Acute Pharyngitis": '2.16.840.1.113883.3.464.1003.102.12.1011' */ module.exports['Included'] = { - "library" : { - "localId" : "0", - "annotation" : [ { - "translatorVersion" : "3.27.0", - "translatorOptions" : "EnableDateRangeOptimization,EnableAnnotations,EnableResultTypes", - "signatureLevel" : "All", - "type" : "CqlToElmInfo" + "library" : { + "localId" : "0", + "annotation" : [ { + "type" : "CqlToElmInfo", + "translatorVersion" : "4.2.0", + "translatorOptions" : "EnableDateRangeOptimization,EnableAnnotations,EnableResultTypes", + "signatureLevel" : "All" + }, { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "210", + "s" : [ { + "value" : [ "", "library Included version '1'" ] + } ] + } + } ], + "identifier" : { + "id" : "Included", + "version" : "1" + }, + "schemaIdentifier" : { + "id" : "urn:hl7-org:elm", + "version" : "r1" + }, + "usings" : { + "def" : [ { + "localId" : "1", + "localIdentifier" : "System", + "uri" : "urn:hl7-org:elm-types:r1", + "annotation" : [ ] }, { - "type" : "Annotation", - "s" : { - "r" : "210", + "localId" : "206", + "localIdentifier" : "Simple", + "uri" : "https://github.com/cqframework/cql-execution/simple", + "version" : "1.0.0", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "206", "s" : [ { - "value" : [ "","library Included version '1'" ] + "value" : [ "", "using " ] + }, { + "s" : [ { + "value" : [ "Simple" ] + } ] + }, { + "value" : [ " version '1.0.0'" ] } ] - } - } ], - "identifier" : { - "id" : "Included", - "version" : "1" - }, - "schemaIdentifier" : { - "id" : "urn:hl7-org:elm", - "version" : "r1" - }, - "usings" : { - "def" : [ { - "localId" : "1", - "localIdentifier" : "System", - "uri" : "urn:hl7-org:elm-types:r1" - }, { - "localId" : "206", - "localIdentifier" : "Simple", - "uri" : "https://github.com/cqframework/cql-execution/simple", - "version" : "1.0.0", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "206", - "s" : [ { - "value" : [ "","using " ] - }, { - "s" : [ { - "value" : [ "Simple" ] - } ] - }, { - "value" : [ " version '1.0.0'" ] - } ] - } + } + } ] + } ] + }, + "codeSystems" : { + "def" : [ { + "localId" : "208", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}CodeSystem", + "name" : "SNOMED", + "id" : "2.16.840.1.113883.6.96", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "208", + "s" : [ { + "value" : [ "", "codesystem ", "\"SNOMED\"", ": ", "'2.16.840.1.113883.6.96'" ] } ] - } ] - }, - "codeSystems" : { - "def" : [ { - "localId" : "208", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}CodeSystem", - "name" : "SNOMED", - "id" : "2.16.840.1.113883.6.96", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "208", - "s" : [ { - "value" : [ "","codesystem ","\"SNOMED\"",": ","'2.16.840.1.113883.6.96'" ] - } ] - } + } + } ] + } ] + }, + "valueSets" : { + "def" : [ { + "localId" : "210", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}ValueSet", + "name" : "Acute Pharyngitis", + "id" : "2.16.840.1.113883.3.464.1003.102.12.1011", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "210", + "s" : [ { + "value" : [ "", "valueset ", "\"Acute Pharyngitis\"", ": ", "'2.16.840.1.113883.3.464.1003.102.12.1011'" ] } ] - } ] - }, - "valueSets" : { - "def" : [ { - "localId" : "210", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}ValueSet", - "name" : "Acute Pharyngitis", - "id" : "2.16.840.1.113883.3.464.1003.102.12.1011", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "210", - "s" : [ { - "value" : [ "","valueset ","\"Acute Pharyngitis\"",": ","'2.16.840.1.113883.3.464.1003.102.12.1011'" ] - } ] - } - } ], - "codeSystem" : [ ] - } ] - } - } + } + } ], + "codeSystem" : [ ] + } ] + } + } } diff --git a/test/elm/instance/data.js b/test/elm/instance/data.js index bf390ec6..530e49a0 100644 --- a/test/elm/instance/data.js +++ b/test/elm/instance/data.js @@ -43,548 +43,587 @@ define val: QuantityA.value */ module.exports['Instance'] = { - "library" : { - "localId" : "0", - "annotation" : [ { - "translatorVersion" : "3.27.0", - "translatorOptions" : "EnableDateRangeOptimization,EnableAnnotations,EnableResultTypes", - "signatureLevel" : "All", - "type" : "CqlToElmInfo" + "library" : { + "localId" : "0", + "annotation" : [ { + "type" : "CqlToElmInfo", + "translatorVersion" : "4.2.0", + "translatorOptions" : "EnableDateRangeOptimization,EnableAnnotations,EnableResultTypes", + "signatureLevel" : "All" + }, { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "266", + "s" : [ { + "value" : [ "", "library TestSnippet version '1'" ] + } ] + } + } ], + "identifier" : { + "id" : "TestSnippet", + "version" : "1" + }, + "schemaIdentifier" : { + "id" : "urn:hl7-org:elm", + "version" : "r1" + }, + "usings" : { + "def" : [ { + "localId" : "1", + "localIdentifier" : "System", + "uri" : "urn:hl7-org:elm-types:r1", + "annotation" : [ ] }, { - "type" : "Annotation", - "s" : { - "r" : "266", + "localId" : "206", + "localIdentifier" : "Simple", + "uri" : "https://github.com/cqframework/cql-execution/simple", + "version" : "1.0.0", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "206", + "s" : [ { + "value" : [ "", "using " ] + }, { + "s" : [ { + "value" : [ "Simple" ] + } ] + }, { + "value" : [ " version '1.0.0'" ] + } ] + } + } ] + } ] + }, + "codeSystems" : { + "def" : [ { + "localId" : "208", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}CodeSystem", + "name" : "SNOMED", + "id" : "2.16.840.1.113883.6.96", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "208", + "s" : [ { + "value" : [ "", "codesystem ", "\"SNOMED\"", ": ", "'2.16.840.1.113883.6.96'" ] + } ] + } + } ] + }, { + "localId" : "210", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}CodeSystem", + "name" : "SIMPLE", + "id" : "1.2.3.4.5", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "210", "s" : [ { - "value" : [ "","library TestSnippet version '1'" ] + "value" : [ "", "codesystem ", "\"SIMPLE\"", ": ", "'1.2.3.4.5'" ] } ] - } - } ], - "identifier" : { - "id" : "TestSnippet", - "version" : "1" - }, - "schemaIdentifier" : { - "id" : "urn:hl7-org:elm", - "version" : "r1" - }, - "usings" : { - "def" : [ { - "localId" : "1", - "localIdentifier" : "System", - "uri" : "urn:hl7-org:elm-types:r1" - }, { - "localId" : "206", - "localIdentifier" : "Simple", - "uri" : "https://github.com/cqframework/cql-execution/simple", - "version" : "1.0.0", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "206", + } + } ] + } ] + }, + "codes" : { + "def" : [ { + "localId" : "212", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Code", + "name" : "Viral pharyngitis code", + "id" : "1532007", + "display" : "Viral pharyngitis (disorder)", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "212", + "s" : [ { + "value" : [ "", "code ", "\"Viral pharyngitis code\"", ": ", "'1532007'", " from " ] + }, { + "r" : "213", + "s" : [ { + "value" : [ "\"SNOMED\"" ] + } ] + }, { + "value" : [ " display ", "'Viral pharyngitis (disorder)'" ] + } ] + } + } ], + "codeSystem" : { + "localId" : "213", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}CodeSystem", + "name" : "SNOMED", + "annotation" : [ ] + } + }, { + "localId" : "215", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Code", + "name" : "Active code", + "id" : "active", + "display" : "Active", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "215", + "s" : [ { + "value" : [ "", "code ", "\"Active code\"", ": ", "'active'", " from " ] + }, { + "r" : "216", + "s" : [ { + "value" : [ "\"SNOMED\"" ] + } ] + }, { + "value" : [ " display ", "'Active'" ] + } ] + } + } ], + "codeSystem" : { + "localId" : "216", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}CodeSystem", + "name" : "SNOMED", + "annotation" : [ ] + } + } ] + }, + "contexts" : { + "def" : [ { + "localId" : "221", + "name" : "Patient", + "annotation" : [ ] + } ] + }, + "statements" : { + "def" : [ { + "localId" : "219", + "name" : "Patient", + "context" : "Patient", + "annotation" : [ ], + "expression" : { + "type" : "SingletonFrom", + "localId" : "220", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Retrieve", + "localId" : "218", + "dataType" : "{https://github.com/cqframework/cql-execution/simple}Patient", + "annotation" : [ ], + "include" : [ ], + "codeFilter" : [ ], + "dateFilter" : [ ], + "otherFilter" : [ ] + } + } + }, { + "localId" : "224", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "name" : "QuantityA", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "224", + "s" : [ { + "value" : [ "", "define ", "QuantityA", ": " ] + }, { + "r" : "225", + "s" : [ { + "value" : [ "Quantity", " {\n " ] + }, { + "s" : [ { + "value" : [ "unit", ": " ] + }, { + "r" : "227", "s" : [ { - "value" : [ "","using " ] - }, { - "s" : [ { - "value" : [ "Simple" ] - } ] - }, { - "value" : [ " version '1.0.0'" ] + "value" : [ "'a'" ] } ] - } + } ] + }, { + "value" : [ ",\n " ] + }, { + "s" : [ { + "r" : "229", + "value" : [ "value", ": ", "12" ] + } ] + }, { + "value" : [ "\n}" ] + } ] } ] - } ] - }, - "codeSystems" : { - "def" : [ { - "localId" : "208", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}CodeSystem", - "name" : "SNOMED", - "id" : "2.16.840.1.113883.6.96", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "208", + } + } ], + "expression" : { + "type" : "Instance", + "localId" : "225", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "classType" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ], + "element" : [ { + "name" : "unit", + "value" : { + "type" : "Literal", + "localId" : "227", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "a", + "annotation" : [ ] + } + }, { + "name" : "value", + "value" : { + "type" : "ToDecimal", + "localId" : "231", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "232", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "operand" : { + "type" : "Literal", + "localId" : "229", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "12", + "annotation" : [ ] + } + } + } ] + } + }, { + "localId" : "235", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Code", + "name" : "CodeA", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "235", + "s" : [ { + "value" : [ "", "define ", "CodeA", ": " ] + }, { + "r" : "236", + "s" : [ { + "value" : [ "Code", " {\n " ] + }, { + "s" : [ { + "value" : [ "system", ": " ] + }, { + "r" : "238", "s" : [ { - "value" : [ "","codesystem ","\"SNOMED\"",": ","'2.16.840.1.113883.6.96'" ] + "value" : [ "'http://loinc.org'" ] } ] - } - } ] - }, { - "localId" : "210", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}CodeSystem", - "name" : "SIMPLE", - "id" : "1.2.3.4.5", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "210", + } ] + }, { + "value" : [ ",\n " ] + }, { + "s" : [ { + "value" : [ "code", ": " ] + }, { + "r" : "240", "s" : [ { - "value" : [ "","codesystem ","\"SIMPLE\"",": ","'1.2.3.4.5'" ] + "value" : [ "'12345'" ] } ] - } - } ] - } ] - }, - "codes" : { - "def" : [ { - "localId" : "212", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Code", - "name" : "Viral pharyngitis code", - "id" : "1532007", - "display" : "Viral pharyngitis (disorder)", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "212", + } ] + }, { + "value" : [ ",\n " ] + }, { + "s" : [ { + "value" : [ "version", ": " ] + }, { + "r" : "242", "s" : [ { - "value" : [ "","code ","\"Viral pharyngitis code\"",": ","'1532007'"," from " ] - }, { - "r" : "213", - "s" : [ { - "value" : [ "\"SNOMED\"" ] - } ] - }, { - "value" : [ " display ","'Viral pharyngitis (disorder)'" ] + "value" : [ "'1'" ] } ] - } - } ], - "codeSystem" : { - "localId" : "213", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}CodeSystem", - "name" : "SNOMED" - } - }, { - "localId" : "215", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Code", - "name" : "Active code", - "id" : "active", - "display" : "Active", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "215", + } ] + }, { + "value" : [ ",\n " ] + }, { + "s" : [ { + "value" : [ "display", ": " ] + }, { + "r" : "244", "s" : [ { - "value" : [ "","code ","\"Active code\"",": ","'active'"," from " ] - }, { - "r" : "216", - "s" : [ { - "value" : [ "\"SNOMED\"" ] - } ] - }, { - "value" : [ " display ","'Active'" ] + "value" : [ "'Test Code'" ] } ] - } - } ], - "codeSystem" : { - "localId" : "216", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}CodeSystem", - "name" : "SNOMED" + } ] + }, { + "value" : [ "\n}" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Instance", + "localId" : "236", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Code", + "classType" : "{urn:hl7-org:elm-types:r1}Code", + "annotation" : [ ], + "element" : [ { + "name" : "system", + "value" : { + "type" : "Literal", + "localId" : "238", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "http://loinc.org", + "annotation" : [ ] } - } ] - }, - "contexts" : { - "def" : [ { - "localId" : "221", - "name" : "Patient" - } ] - }, - "statements" : { - "def" : [ { - "localId" : "219", - "name" : "Patient", - "context" : "Patient", - "expression" : { - "localId" : "220", - "type" : "SingletonFrom", - "signature" : [ ], - "operand" : { - "localId" : "218", - "dataType" : "{https://github.com/cqframework/cql-execution/simple}Patient", - "type" : "Retrieve", - "include" : [ ], - "codeFilter" : [ ], - "dateFilter" : [ ], - "otherFilter" : [ ] - } + }, { + "name" : "code", + "value" : { + "type" : "Literal", + "localId" : "240", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "12345", + "annotation" : [ ] } - }, { - "localId" : "224", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "name" : "QuantityA", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "224", - "s" : [ { - "value" : [ "","define ","QuantityA",": " ] - }, { - "r" : "225", - "s" : [ { - "value" : [ "Quantity"," {\n " ] - }, { - "s" : [ { - "value" : [ "unit",": " ] - }, { - "r" : "227", - "s" : [ { - "value" : [ "'a'" ] - } ] - } ] - }, { - "value" : [ ",\n " ] - }, { - "s" : [ { - "r" : "229", - "value" : [ "value",": ","12" ] - } ] - }, { - "value" : [ "\n}" ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "225", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "classType" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "Instance", - "element" : [ { - "name" : "unit", - "value" : { - "localId" : "227", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "a", - "type" : "Literal" - } - }, { - "name" : "value", - "value" : { - "localId" : "231", - "type" : "ToDecimal", - "signature" : [ { - "localId" : "232", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "229", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "12", - "type" : "Literal" - } - } - } ] + }, { + "name" : "version", + "value" : { + "type" : "Literal", + "localId" : "242", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "1", + "annotation" : [ ] + } + }, { + "name" : "display", + "value" : { + "type" : "Literal", + "localId" : "244", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "Test Code", + "annotation" : [ ] } - }, { - "localId" : "235", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Code", - "name" : "CodeA", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "235", + } ] + } + }, { + "localId" : "248", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Concept", + "name" : "ConceptA", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "248", + "s" : [ { + "value" : [ "", "define ", "ConceptA", ": " ] + }, { + "r" : "249", + "s" : [ { + "value" : [ "Concept", " {\n " ] + }, { + "s" : [ { + "value" : [ "codes", ": " ] + }, { + "r" : "251", "s" : [ { - "value" : [ "","define ","CodeA",": " ] + "value" : [ "{ " ] + }, { + "r" : "252", + "s" : [ { + "value" : [ "CodeA" ] + } ] }, { - "r" : "236", - "s" : [ { - "value" : [ "Code"," {\n " ] - }, { - "s" : [ { - "value" : [ "system",": " ] - }, { - "r" : "238", - "s" : [ { - "value" : [ "'http://loinc.org'" ] - } ] - } ] - }, { - "value" : [ ",\n " ] - }, { - "s" : [ { - "value" : [ "code",": " ] - }, { - "r" : "240", - "s" : [ { - "value" : [ "'12345'" ] - } ] - } ] - }, { - "value" : [ ",\n " ] - }, { - "s" : [ { - "value" : [ "version",": " ] - }, { - "r" : "242", - "s" : [ { - "value" : [ "'1'" ] - } ] - } ] - }, { - "value" : [ ",\n " ] - }, { - "s" : [ { - "value" : [ "display",": " ] - }, { - "r" : "244", - "s" : [ { - "value" : [ "'Test Code'" ] - } ] - } ] - }, { - "value" : [ "\n}" ] - } ] + "value" : [ " }" ] } ] - } - } ], - "expression" : { - "localId" : "236", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Code", - "classType" : "{urn:hl7-org:elm-types:r1}Code", - "type" : "Instance", - "element" : [ { - "name" : "system", - "value" : { - "localId" : "238", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "http://loinc.org", - "type" : "Literal" - } - }, { - "name" : "code", - "value" : { - "localId" : "240", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "12345", - "type" : "Literal" - } - }, { - "name" : "version", - "value" : { - "localId" : "242", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "1", - "type" : "Literal" - } - }, { - "name" : "display", - "value" : { - "localId" : "244", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "Test Code", - "type" : "Literal" - } - } ] - } - }, { - "localId" : "248", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Concept", - "name" : "ConceptA", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "248", + } ] + }, { + "value" : [ ",\n " ] + }, { + "s" : [ { + "value" : [ "display", ": " ] + }, { + "r" : "255", "s" : [ { - "value" : [ "","define ","ConceptA",": " ] - }, { - "r" : "249", - "s" : [ { - "value" : [ "Concept"," {\n " ] - }, { - "s" : [ { - "value" : [ "codes",": " ] - }, { - "r" : "251", - "s" : [ { - "value" : [ "{ " ] - }, { - "r" : "252", - "s" : [ { - "value" : [ "CodeA" ] - } ] - }, { - "value" : [ " }" ] - } ] - } ] - }, { - "value" : [ ",\n " ] - }, { - "s" : [ { - "value" : [ "display",": " ] - }, { - "r" : "255", - "s" : [ { - "value" : [ "'Test Concept'" ] - } ] - } ] - }, { - "value" : [ "\n}" ] - } ] + "value" : [ "'Test Concept'" ] } ] - } - } ], - "expression" : { - "localId" : "249", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Concept", - "classType" : "{urn:hl7-org:elm-types:r1}Concept", - "type" : "Instance", - "element" : [ { - "name" : "codes", - "value" : { - "localId" : "251", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "253", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "254", - "name" : "{urn:hl7-org:elm-types:r1}Code", - "type" : "NamedTypeSpecifier" - } - }, - "element" : [ { - "localId" : "252", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Code", - "name" : "CodeA", - "type" : "ExpressionRef" - } ] - } - }, { - "name" : "display", - "value" : { - "localId" : "255", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "Test Concept", - "type" : "Literal" - } - } ] + } ] + }, { + "value" : [ "\n}" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Instance", + "localId" : "249", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Concept", + "classType" : "{urn:hl7-org:elm-types:r1}Concept", + "annotation" : [ ], + "element" : [ { + "name" : "codes", + "value" : { + "type" : "List", + "localId" : "251", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "253", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "254", + "name" : "{urn:hl7-org:elm-types:r1}Code", + "annotation" : [ ] + } + }, + "element" : [ { + "type" : "ExpressionRef", + "localId" : "252", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Code", + "name" : "CodeA", + "annotation" : [ ] + } ] + } + }, { + "name" : "display", + "value" : { + "type" : "Literal", + "localId" : "255", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "Test Concept", + "annotation" : [ ] } - }, { - "localId" : "259", - "resultTypeName" : "{https://github.com/cqframework/cql-execution/simple}Condition", - "name" : "Pharyngitis", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "259", + } ] + } + }, { + "localId" : "259", + "resultTypeName" : "{https://github.com/cqframework/cql-execution/simple}Condition", + "name" : "Pharyngitis", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "259", + "s" : [ { + "value" : [ "", "define ", "Pharyngitis", " : " ] + }, { + "r" : "260", + "s" : [ { + "value" : [ "Condition", " {\n " ] + }, { + "s" : [ { + "value" : [ "code", ": " ] + }, { + "r" : "262", "s" : [ { - "value" : [ "","define ","Pharyngitis"," : " ] - }, { - "r" : "260", - "s" : [ { - "value" : [ "Condition"," {\n " ] - }, { - "s" : [ { - "value" : [ "code",": " ] - }, { - "r" : "262", - "s" : [ { - "value" : [ "\"Viral pharyngitis code\"" ] - } ] - } ] - }, { - "value" : [ ",\n " ] - }, { - "s" : [ { - "value" : [ "status",": " ] - }, { - "r" : "263", - "s" : [ { - "value" : [ "\"Active code\"" ] - } ] - } ] - }, { - "value" : [ "\n}" ] - } ] + "value" : [ "\"Viral pharyngitis code\"" ] } ] - } - } ], - "expression" : { - "localId" : "260", - "resultTypeName" : "{https://github.com/cqframework/cql-execution/simple}Condition", - "classType" : "{https://github.com/cqframework/cql-execution/simple}Condition", - "type" : "Instance", - "element" : [ { - "name" : "code", - "value" : { - "localId" : "262", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Code", - "name" : "Viral pharyngitis code", - "type" : "CodeRef" - } - }, { - "name" : "status", - "value" : { - "localId" : "263", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Code", - "name" : "Active code", - "type" : "CodeRef" - } - } ] - } - }, { - "localId" : "266", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "name" : "val", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "266", + } ] + }, { + "value" : [ ",\n " ] + }, { + "s" : [ { + "value" : [ "status", ": " ] + }, { + "r" : "263", "s" : [ { - "value" : [ "","define ","val",": " ] - }, { - "r" : "268", - "s" : [ { - "r" : "267", - "s" : [ { - "value" : [ "QuantityA" ] - } ] - }, { - "value" : [ "." ] - }, { - "r" : "268", - "s" : [ { - "value" : [ "value" ] - } ] - } ] + "value" : [ "\"Active code\"" ] } ] - } - } ], - "expression" : { - "localId" : "268", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "path" : "value", - "type" : "Property", - "source" : { - "localId" : "267", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "name" : "QuantityA", - "type" : "ExpressionRef" - } + } ] + }, { + "value" : [ "\n}" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Instance", + "localId" : "260", + "resultTypeName" : "{https://github.com/cqframework/cql-execution/simple}Condition", + "classType" : "{https://github.com/cqframework/cql-execution/simple}Condition", + "annotation" : [ ], + "element" : [ { + "name" : "code", + "value" : { + "type" : "CodeRef", + "localId" : "262", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Code", + "name" : "Viral pharyngitis code", + "annotation" : [ ] } - } ] - } - } + }, { + "name" : "status", + "value" : { + "type" : "CodeRef", + "localId" : "263", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Code", + "name" : "Active code", + "annotation" : [ ] + } + } ] + } + }, { + "localId" : "266", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "name" : "val", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "266", + "s" : [ { + "value" : [ "", "define ", "val", ": " ] + }, { + "r" : "268", + "s" : [ { + "r" : "267", + "s" : [ { + "value" : [ "QuantityA" ] + } ] + }, { + "value" : [ "." ] + }, { + "r" : "268", + "s" : [ { + "value" : [ "value" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Property", + "localId" : "268", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "path" : "value", + "annotation" : [ ], + "source" : { + "type" : "ExpressionRef", + "localId" : "267", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "name" : "QuantityA", + "annotation" : [ ] + } + } + } ] + } + } } diff --git a/test/elm/interval/data.js b/test/elm/interval/data.js index 7db9b2c0..67228ef6 100644 --- a/test/elm/interval/data.js +++ b/test/elm/interval/data.js @@ -19,633 +19,720 @@ define Closed: Interval[DateTime(2012, 1, 1), DateTime(2013, 1, 1)] */ module.exports['Interval'] = { - "library" : { - "localId" : "0", - "annotation" : [ { - "translatorVersion" : "3.27.0", - "translatorOptions" : "EnableDateRangeOptimization,EnableAnnotations,EnableResultTypes", - "signatureLevel" : "All", - "type" : "CqlToElmInfo" - }, { - "type" : "Annotation", - "s" : { + "library" : { + "localId" : "0", + "annotation" : [ { + "type" : "CqlToElmInfo", + "translatorVersion" : "4.2.0", + "translatorOptions" : "EnableDateRangeOptimization,EnableAnnotations,EnableResultTypes", + "signatureLevel" : "All" + }, { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "310", + "s" : [ { + "value" : [ "", "library TestSnippet version '1'" ] + } ] + } + } ], + "identifier" : { + "id" : "TestSnippet", + "version" : "1" + }, + "schemaIdentifier" : { + "id" : "urn:hl7-org:elm", + "version" : "r1" + }, + "usings" : { + "def" : [ { + "localId" : "1", + "localIdentifier" : "System", + "uri" : "urn:hl7-org:elm-types:r1", + "annotation" : [ ] + }, { + "localId" : "206", + "localIdentifier" : "Simple", + "uri" : "https://github.com/cqframework/cql-execution/simple", + "version" : "1.0.0", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "206", + "s" : [ { + "value" : [ "", "using " ] + }, { + "s" : [ { + "value" : [ "Simple" ] + } ] + }, { + "value" : [ " version '1.0.0'" ] + } ] + } + } ] + } ] + }, + "contexts" : { + "def" : [ { + "localId" : "211", + "name" : "Patient", + "annotation" : [ ] + } ] + }, + "statements" : { + "def" : [ { + "localId" : "209", + "name" : "Patient", + "context" : "Patient", + "annotation" : [ ], + "expression" : { + "type" : "SingletonFrom", + "localId" : "210", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Retrieve", + "localId" : "208", + "dataType" : "{https://github.com/cqframework/cql-execution/simple}Patient", + "annotation" : [ ], + "include" : [ ], + "codeFilter" : [ ], + "dateFilter" : [ ], + "otherFilter" : [ ] + } + } + }, { + "localId" : "214", + "name" : "Open", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "214", + "s" : [ { + "value" : [ "", "define ", "Open", ": " ] + }, { + "r" : "239", + "s" : [ { + "value" : [ "Interval(" ] + }, { + "r" : "223", + "s" : [ { + "r" : "215", + "value" : [ "DateTime", "(", "2012", ", ", "1", ", ", "1", ")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "235", + "s" : [ { + "r" : "227", + "value" : [ "DateTime", "(", "2013", ", ", "1", ", ", "1", ")" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "242", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "243", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "expression" : { + "type" : "Interval", + "localId" : "239", + "lowClosed" : false, + "highClosed" : false, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "240", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "241", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "DateTime", + "localId" : "223", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "224", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "225", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "226", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "215", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "216", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "217", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "235", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "236", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "237", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "238", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "227", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2013", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "228", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "229", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + } + } + } + }, { + "localId" : "246", + "name" : "LeftOpen", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "246", + "s" : [ { + "value" : [ "", "define ", "LeftOpen", ": " ] + }, { + "r" : "271", + "s" : [ { + "value" : [ "Interval(" ] + }, { + "r" : "255", + "s" : [ { + "r" : "247", + "value" : [ "DateTime", "(", "2012", ", ", "1", ", ", "1", ")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "267", + "s" : [ { + "r" : "259", + "value" : [ "DateTime", "(", "2013", ", ", "1", ", ", "1", ")" ] + } ] + }, { + "value" : [ "]" ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "274", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "275", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "expression" : { + "type" : "Interval", + "localId" : "271", + "lowClosed" : false, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "272", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "273", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "DateTime", + "localId" : "255", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "256", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "257", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "258", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "247", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "248", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "249", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "267", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "268", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "269", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "270", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "259", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2013", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "260", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "261", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + } + } + } + }, { + "localId" : "278", + "name" : "RightOpen", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "278", + "s" : [ { + "value" : [ "", "define ", "RightOpen", ": " ] + }, { + "r" : "303", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "287", + "s" : [ { + "r" : "279", + "value" : [ "DateTime", "(", "2012", ", ", "1", ", ", "1", ")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "299", + "s" : [ { + "r" : "291", + "value" : [ "DateTime", "(", "2013", ", ", "1", ", ", "1", ")" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "306", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "307", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "expression" : { + "type" : "Interval", + "localId" : "303", + "lowClosed" : true, + "highClosed" : false, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "304", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "305", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "DateTime", + "localId" : "287", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "288", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "289", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "290", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "279", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "280", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "281", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "299", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "300", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "301", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "302", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "291", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2013", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "292", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "293", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + } + } + } + }, { + "localId" : "310", + "name" : "Closed", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { "r" : "310", "s" : [ { - "value" : [ "","library TestSnippet version '1'" ] - } ] - } - } ], - "identifier" : { - "id" : "TestSnippet", - "version" : "1" - }, - "schemaIdentifier" : { - "id" : "urn:hl7-org:elm", - "version" : "r1" - }, - "usings" : { - "def" : [ { - "localId" : "1", - "localIdentifier" : "System", - "uri" : "urn:hl7-org:elm-types:r1" - }, { - "localId" : "206", - "localIdentifier" : "Simple", - "uri" : "https://github.com/cqframework/cql-execution/simple", - "version" : "1.0.0", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "206", - "s" : [ { - "value" : [ "","using " ] - }, { - "s" : [ { - "value" : [ "Simple" ] - } ] - }, { - "value" : [ " version '1.0.0'" ] - } ] - } - } ] - } ] - }, - "contexts" : { - "def" : [ { - "localId" : "211", - "name" : "Patient" - } ] - }, - "statements" : { - "def" : [ { - "localId" : "209", - "name" : "Patient", - "context" : "Patient", - "expression" : { - "localId" : "210", - "type" : "SingletonFrom", - "signature" : [ ], - "operand" : { - "localId" : "208", - "dataType" : "{https://github.com/cqframework/cql-execution/simple}Patient", - "type" : "Retrieve", - "include" : [ ], - "codeFilter" : [ ], - "dateFilter" : [ ], - "otherFilter" : [ ] - } - } - }, { - "localId" : "214", - "name" : "Open", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "214", - "s" : [ { - "value" : [ "","define ","Open",": " ] - }, { - "r" : "239", - "s" : [ { - "value" : [ "Interval(" ] - }, { - "r" : "223", - "s" : [ { - "r" : "215", - "value" : [ "DateTime","(","2012",", ","1",", ","1",")" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "235", - "s" : [ { - "r" : "227", - "value" : [ "DateTime","(","2013",", ","1",", ","1",")" ] - } ] - }, { - "value" : [ ")" ] - } ] - } ] - } - } ], - "resultTypeSpecifier" : { - "localId" : "242", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "243", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "expression" : { - "localId" : "239", - "lowClosed" : false, - "highClosed" : false, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "240", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "241", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "223", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "224", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "225", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "226", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "215", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "216", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "217", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - } - }, - "high" : { - "localId" : "235", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "236", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "237", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "238", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "227", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2013", - "type" : "Literal" - }, - "month" : { - "localId" : "228", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "229", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - } - } - } - }, { - "localId" : "246", - "name" : "LeftOpen", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "246", - "s" : [ { - "value" : [ "","define ","LeftOpen",": " ] - }, { - "r" : "271", - "s" : [ { - "value" : [ "Interval(" ] - }, { - "r" : "255", - "s" : [ { - "r" : "247", - "value" : [ "DateTime","(","2012",", ","1",", ","1",")" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "267", - "s" : [ { - "r" : "259", - "value" : [ "DateTime","(","2013",", ","1",", ","1",")" ] - } ] - }, { - "value" : [ "]" ] - } ] - } ] - } - } ], - "resultTypeSpecifier" : { - "localId" : "274", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "275", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "expression" : { - "localId" : "271", - "lowClosed" : false, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "272", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "273", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "255", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "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" - }, { - "localId" : "258", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "247", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "248", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "249", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - } - }, - "high" : { - "localId" : "267", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "268", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "269", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "270", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "259", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2013", - "type" : "Literal" - }, - "month" : { - "localId" : "260", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "261", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - } - } - } - }, { - "localId" : "278", - "name" : "RightOpen", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "278", - "s" : [ { - "value" : [ "","define ","RightOpen",": " ] - }, { - "r" : "303", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "287", - "s" : [ { - "r" : "279", - "value" : [ "DateTime","(","2012",", ","1",", ","1",")" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "299", - "s" : [ { - "r" : "291", - "value" : [ "DateTime","(","2013",", ","1",", ","1",")" ] - } ] - }, { - "value" : [ ")" ] - } ] - } ] - } - } ], - "resultTypeSpecifier" : { - "localId" : "306", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "307", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "expression" : { - "localId" : "303", - "lowClosed" : true, - "highClosed" : false, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "304", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "305", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "287", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "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" - }, { - "localId" : "290", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "279", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "280", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "281", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - } - }, - "high" : { - "localId" : "299", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "300", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "301", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "302", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "291", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2013", - "type" : "Literal" - }, - "month" : { - "localId" : "292", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "293", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - } - } - } - }, { - "localId" : "310", - "name" : "Closed", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "310", - "s" : [ { - "value" : [ "","define ","Closed",": " ] - }, { - "r" : "335", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "319", - "s" : [ { - "r" : "311", - "value" : [ "DateTime","(","2012",", ","1",", ","1",")" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "331", - "s" : [ { - "r" : "323", - "value" : [ "DateTime","(","2013",", ","1",", ","1",")" ] - } ] - }, { - "value" : [ "]" ] - } ] - } ] - } - } ], - "resultTypeSpecifier" : { - "localId" : "338", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "339", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "expression" : { - "localId" : "335", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "336", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "337", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "319", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "320", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "321", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "322", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "311", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "312", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "313", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - } - }, - "high" : { - "localId" : "331", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "332", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "333", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "334", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "323", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2013", - "type" : "Literal" - }, - "month" : { - "localId" : "324", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "325", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - } - } - } - } ] - } - } + "value" : [ "", "define ", "Closed", ": " ] + }, { + "r" : "335", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "319", + "s" : [ { + "r" : "311", + "value" : [ "DateTime", "(", "2012", ", ", "1", ", ", "1", ")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "331", + "s" : [ { + "r" : "323", + "value" : [ "DateTime", "(", "2013", ", ", "1", ", ", "1", ")" ] + } ] + }, { + "value" : [ "]" ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "338", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "339", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "expression" : { + "type" : "Interval", + "localId" : "335", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "336", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "337", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "DateTime", + "localId" : "319", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "320", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "321", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "322", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "311", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "312", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "313", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "331", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "332", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "333", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "334", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "323", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2013", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "324", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "325", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + } + } + } + } ] + } + } } /* Equal @@ -672,3380 +759,3863 @@ define DifferingPrecision: Interval[DateTime(2012, 1, 1, 12, 30, 21), DateTime(2 */ module.exports['Equal'] = { - "library" : { - "localId" : "0", - "annotation" : [ { - "translatorVersion" : "3.27.0", - "translatorOptions" : "EnableDateRangeOptimization,EnableAnnotations,EnableResultTypes", - "signatureLevel" : "All", - "type" : "CqlToElmInfo" - }, { - "type" : "Annotation", - "s" : { - "r" : "774", + "library" : { + "localId" : "0", + "annotation" : [ { + "type" : "CqlToElmInfo", + "translatorVersion" : "4.2.0", + "translatorOptions" : "EnableDateRangeOptimization,EnableAnnotations,EnableResultTypes", + "signatureLevel" : "All" + }, { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "774", + "s" : [ { + "value" : [ "", "library TestSnippet version '1'" ] + } ] + } + } ], + "identifier" : { + "id" : "TestSnippet", + "version" : "1" + }, + "schemaIdentifier" : { + "id" : "urn:hl7-org:elm", + "version" : "r1" + }, + "usings" : { + "def" : [ { + "localId" : "1", + "localIdentifier" : "System", + "uri" : "urn:hl7-org:elm-types:r1", + "annotation" : [ ] + }, { + "localId" : "206", + "localIdentifier" : "Simple", + "uri" : "https://github.com/cqframework/cql-execution/simple", + "version" : "1.0.0", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "206", "s" : [ { - "value" : [ "","library TestSnippet version '1'" ] - } ] - } - } ], - "identifier" : { - "id" : "TestSnippet", - "version" : "1" - }, - "schemaIdentifier" : { - "id" : "urn:hl7-org:elm", - "version" : "r1" - }, - "usings" : { - "def" : [ { - "localId" : "1", - "localIdentifier" : "System", - "uri" : "urn:hl7-org:elm-types:r1" - }, { - "localId" : "206", - "localIdentifier" : "Simple", - "uri" : "https://github.com/cqframework/cql-execution/simple", - "version" : "1.0.0", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "206", - "s" : [ { - "value" : [ "","using " ] - }, { - "s" : [ { - "value" : [ "Simple" ] - } ] - }, { - "value" : [ " version '1.0.0'" ] - } ] - } - } ] - } ] - }, - "contexts" : { - "def" : [ { - "localId" : "211", - "name" : "Patient" - } ] - }, - "statements" : { - "def" : [ { - "localId" : "209", - "name" : "Patient", - "context" : "Patient", - "expression" : { - "localId" : "210", - "type" : "SingletonFrom", - "signature" : [ ], - "operand" : { - "localId" : "208", - "dataType" : "{https://github.com/cqframework/cql-execution/simple}Patient", - "type" : "Retrieve", - "include" : [ ], - "codeFilter" : [ ], - "dateFilter" : [ ], - "otherFilter" : [ ] - } - } - }, { - "localId" : "214", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "EqualClosed", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "214", - "s" : [ { - "value" : [ "","define ","EqualClosed",": " ] - }, { - "r" : "215", - "s" : [ { - "r" : "218", - "s" : [ { - "r" : "216", - "value" : [ "Interval[","1",", ","5","]" ] - } ] - }, { - "value" : [ " ","="," " ] - }, { - "r" : "223", - "s" : [ { - "r" : "221", - "value" : [ "Interval[","1",", ","5","]" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "215", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "Equal", - "signature" : [ { - "localId" : "226", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "227", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "228", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "229", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "218", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "219", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "220", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "216", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "high" : { - "localId" : "217", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal" - } - }, { - "localId" : "223", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "224", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "225", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "221", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "high" : { - "localId" : "222", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal" - } - } ] - } - }, { - "localId" : "232", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "EqualOpen", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "232", - "s" : [ { - "value" : [ "","define ","EqualOpen",": " ] - }, { - "r" : "233", - "s" : [ { - "r" : "236", - "s" : [ { - "r" : "234", - "value" : [ "Interval(","1",", ","5",")" ] - } ] - }, { - "value" : [ " ","="," " ] - }, { - "r" : "241", - "s" : [ { - "r" : "239", - "value" : [ "Interval(","1",", ","5",")" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "233", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "Equal", - "signature" : [ { - "localId" : "244", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "245", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "246", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "247", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "236", - "lowClosed" : false, - "highClosed" : false, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "237", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "238", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "234", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "high" : { - "localId" : "235", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal" - } - }, { - "localId" : "241", - "lowClosed" : false, - "highClosed" : false, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "242", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "243", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "239", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "high" : { - "localId" : "240", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal" - } - } ] - } - }, { - "localId" : "250", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "EqualOpenClosed", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "250", - "s" : [ { - "value" : [ "","define ","EqualOpenClosed",": " ] - }, { - "r" : "251", - "s" : [ { - "r" : "254", - "s" : [ { - "r" : "252", - "value" : [ "Interval(","1",", ","5",")" ] - } ] - }, { - "value" : [ " ","="," " ] - }, { - "r" : "259", - "s" : [ { - "r" : "257", - "value" : [ "Interval[","2",", ","4","]" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "251", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "Equal", - "signature" : [ { - "localId" : "262", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "263", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "264", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "265", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "254", - "lowClosed" : false, - "highClosed" : false, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "255", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "256", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "252", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "high" : { - "localId" : "253", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal" - } - }, { - "localId" : "259", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "260", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "261", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "257", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal" - }, - "high" : { - "localId" : "258", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "4", - "type" : "Literal" - } - } ] - } - }, { - "localId" : "268", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "UnequalClosed", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "268", + "value" : [ "", "using " ] + }, { + "s" : [ { + "value" : [ "Simple" ] + } ] + }, { + "value" : [ " version '1.0.0'" ] + } ] + } + } ] + } ] + }, + "contexts" : { + "def" : [ { + "localId" : "211", + "name" : "Patient", + "annotation" : [ ] + } ] + }, + "statements" : { + "def" : [ { + "localId" : "209", + "name" : "Patient", + "context" : "Patient", + "annotation" : [ ], + "expression" : { + "type" : "SingletonFrom", + "localId" : "210", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Retrieve", + "localId" : "208", + "dataType" : "{https://github.com/cqframework/cql-execution/simple}Patient", + "annotation" : [ ], + "include" : [ ], + "codeFilter" : [ ], + "dateFilter" : [ ], + "otherFilter" : [ ] + } + } + }, { + "localId" : "214", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "EqualClosed", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "214", + "s" : [ { + "value" : [ "", "define ", "EqualClosed", ": " ] + }, { + "r" : "215", + "s" : [ { + "r" : "218", + "s" : [ { + "r" : "216", + "value" : [ "Interval[", "1", ", ", "5", "]" ] + } ] + }, { + "value" : [ " ", "=", " " ] + }, { + "r" : "223", + "s" : [ { + "r" : "221", + "value" : [ "Interval[", "1", ", ", "5", "]" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Equal", + "localId" : "215", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "226", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "227", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "228", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "229", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "Interval", + "localId" : "218", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "219", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "220", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "low" : { + "type" : "Literal", + "localId" : "216", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "high" : { + "type" : "Literal", + "localId" : "217", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "5", + "annotation" : [ ] + } + }, { + "type" : "Interval", + "localId" : "223", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "224", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "225", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "low" : { + "type" : "Literal", + "localId" : "221", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "high" : { + "type" : "Literal", + "localId" : "222", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "5", + "annotation" : [ ] + } + } ] + } + }, { + "localId" : "232", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "EqualOpen", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "232", + "s" : [ { + "value" : [ "", "define ", "EqualOpen", ": " ] + }, { + "r" : "233", + "s" : [ { + "r" : "236", + "s" : [ { + "r" : "234", + "value" : [ "Interval(", "1", ", ", "5", ")" ] + } ] + }, { + "value" : [ " ", "=", " " ] + }, { + "r" : "241", + "s" : [ { + "r" : "239", + "value" : [ "Interval(", "1", ", ", "5", ")" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Equal", + "localId" : "233", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "244", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "245", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "246", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "247", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "Interval", + "localId" : "236", + "lowClosed" : false, + "highClosed" : false, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "237", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "238", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "low" : { + "type" : "Literal", + "localId" : "234", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "high" : { + "type" : "Literal", + "localId" : "235", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "5", + "annotation" : [ ] + } + }, { + "type" : "Interval", + "localId" : "241", + "lowClosed" : false, + "highClosed" : false, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "242", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "243", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "low" : { + "type" : "Literal", + "localId" : "239", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "high" : { + "type" : "Literal", + "localId" : "240", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "5", + "annotation" : [ ] + } + } ] + } + }, { + "localId" : "250", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "EqualOpenClosed", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "250", + "s" : [ { + "value" : [ "", "define ", "EqualOpenClosed", ": " ] + }, { + "r" : "251", + "s" : [ { + "r" : "254", + "s" : [ { + "r" : "252", + "value" : [ "Interval(", "1", ", ", "5", ")" ] + } ] + }, { + "value" : [ " ", "=", " " ] + }, { + "r" : "259", + "s" : [ { + "r" : "257", + "value" : [ "Interval[", "2", ", ", "4", "]" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Equal", + "localId" : "251", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "262", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "263", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "264", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "265", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "Interval", + "localId" : "254", + "lowClosed" : false, + "highClosed" : false, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "255", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "256", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "low" : { + "type" : "Literal", + "localId" : "252", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "high" : { + "type" : "Literal", + "localId" : "253", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "5", + "annotation" : [ ] + } + }, { + "type" : "Interval", + "localId" : "259", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "260", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "261", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "low" : { + "type" : "Literal", + "localId" : "257", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "annotation" : [ ] + }, + "high" : { + "type" : "Literal", + "localId" : "258", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "4", + "annotation" : [ ] + } + } ] + } + }, { + "localId" : "268", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "UnequalClosed", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "268", + "s" : [ { + "value" : [ "", "define ", "UnequalClosed", ": " ] + }, { + "r" : "269", + "s" : [ { + "r" : "272", + "s" : [ { + "r" : "270", + "value" : [ "Interval[", "1", ", ", "5", "]" ] + } ] + }, { + "value" : [ " ", "=", " " ] + }, { + "r" : "277", + "s" : [ { + "r" : "275", + "value" : [ "Interval[", "2", ", ", "4", "]" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Equal", + "localId" : "269", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "280", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "281", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "282", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "283", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "Interval", + "localId" : "272", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "273", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "274", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "low" : { + "type" : "Literal", + "localId" : "270", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "high" : { + "type" : "Literal", + "localId" : "271", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "5", + "annotation" : [ ] + } + }, { + "type" : "Interval", + "localId" : "277", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "278", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "279", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "low" : { + "type" : "Literal", + "localId" : "275", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "annotation" : [ ] + }, + "high" : { + "type" : "Literal", + "localId" : "276", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "4", + "annotation" : [ ] + } + } ] + } + }, { + "localId" : "286", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "UnequalOpen", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "286", + "s" : [ { + "value" : [ "", "define ", "UnequalOpen", ": " ] + }, { + "r" : "287", + "s" : [ { + "r" : "290", + "s" : [ { + "r" : "288", + "value" : [ "Interval(", "1", ", ", "5", ")" ] + } ] + }, { + "value" : [ " ", "=", " " ] + }, { + "r" : "295", + "s" : [ { + "r" : "293", + "value" : [ "Interval(", "2", ", ", "4", ")" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Equal", + "localId" : "287", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "298", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "299", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "300", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "301", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "Interval", + "localId" : "290", + "lowClosed" : false, + "highClosed" : false, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "291", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "292", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "low" : { + "type" : "Literal", + "localId" : "288", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "high" : { + "type" : "Literal", + "localId" : "289", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "5", + "annotation" : [ ] + } + }, { + "type" : "Interval", + "localId" : "295", + "lowClosed" : false, + "highClosed" : false, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "296", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "297", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "low" : { + "type" : "Literal", + "localId" : "293", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "annotation" : [ ] + }, + "high" : { + "type" : "Literal", + "localId" : "294", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "4", + "annotation" : [ ] + } + } ] + } + }, { + "localId" : "304", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "UnequalClosedOpen", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "304", + "s" : [ { + "value" : [ "", "define ", "UnequalClosedOpen", ": " ] + }, { + "r" : "305", + "s" : [ { + "r" : "308", + "s" : [ { + "r" : "306", + "value" : [ "Interval[", "1", ", ", "5", "]" ] + } ] + }, { + "value" : [ " ", "=", " " ] + }, { + "r" : "313", + "s" : [ { + "r" : "311", + "value" : [ "Interval(", "2", ", ", "4", ")" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Equal", + "localId" : "305", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "316", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "317", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "318", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "319", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "Interval", + "localId" : "308", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "309", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "310", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "low" : { + "type" : "Literal", + "localId" : "306", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "high" : { + "type" : "Literal", + "localId" : "307", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "5", + "annotation" : [ ] + } + }, { + "type" : "Interval", + "localId" : "313", + "lowClosed" : false, + "highClosed" : false, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "314", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "315", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "low" : { + "type" : "Literal", + "localId" : "311", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "annotation" : [ ] + }, + "high" : { + "type" : "Literal", + "localId" : "312", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "4", + "annotation" : [ ] + } + } ] + } + }, { + "localId" : "322", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "EqualQuantityClosed", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "322", + "s" : [ { + "value" : [ "", "define ", "EqualQuantityClosed", ": " ] + }, { + "r" : "323", + "s" : [ { + "r" : "326", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "324", "s" : [ { - "value" : [ "","define ","UnequalClosed",": " ] - }, { - "r" : "269", - "s" : [ { - "r" : "272", - "s" : [ { - "r" : "270", - "value" : [ "Interval[","1",", ","5","]" ] - } ] - }, { - "value" : [ " ","="," " ] - }, { - "r" : "277", - "s" : [ { - "r" : "275", - "value" : [ "Interval[","2",", ","4","]" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "269", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "Equal", - "signature" : [ { - "localId" : "280", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "281", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "282", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "283", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "272", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "273", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "274", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "270", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "high" : { - "localId" : "271", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal" - } - }, { - "localId" : "277", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "278", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "279", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "275", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal" - }, - "high" : { - "localId" : "276", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "4", - "type" : "Literal" - } - } ] - } - }, { - "localId" : "286", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "UnequalOpen", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "286", + "value" : [ "1 ", "'mg'" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "325", + "s" : [ { + "value" : [ "5 ", "'mg'" ] + } ] + }, { + "value" : [ "]" ] + } ] + }, { + "value" : [ " ", "=", " " ] + }, { + "r" : "331", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "329", "s" : [ { - "value" : [ "","define ","UnequalOpen",": " ] - }, { - "r" : "287", - "s" : [ { - "r" : "290", - "s" : [ { - "r" : "288", - "value" : [ "Interval(","1",", ","5",")" ] - } ] - }, { - "value" : [ " ","="," " ] - }, { - "r" : "295", - "s" : [ { - "r" : "293", - "value" : [ "Interval(","2",", ","4",")" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "287", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "Equal", - "signature" : [ { - "localId" : "298", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "299", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "300", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "301", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "290", - "lowClosed" : false, - "highClosed" : false, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "291", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "292", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "288", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "high" : { - "localId" : "289", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal" - } - }, { - "localId" : "295", - "lowClosed" : false, - "highClosed" : false, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "296", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "297", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "293", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal" - }, - "high" : { - "localId" : "294", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "4", - "type" : "Literal" - } - } ] - } - }, { - "localId" : "304", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "UnequalClosedOpen", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "304", - "s" : [ { - "value" : [ "","define ","UnequalClosedOpen",": " ] - }, { - "r" : "305", - "s" : [ { - "r" : "308", - "s" : [ { - "r" : "306", - "value" : [ "Interval[","1",", ","5","]" ] - } ] - }, { - "value" : [ " ","="," " ] - }, { - "r" : "313", - "s" : [ { - "r" : "311", - "value" : [ "Interval(","2",", ","4",")" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "305", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "Equal", - "signature" : [ { - "localId" : "316", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "317", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "318", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "319", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "308", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "309", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "310", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "306", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "high" : { - "localId" : "307", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal" - } - }, { - "localId" : "313", - "lowClosed" : false, - "highClosed" : false, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "314", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "315", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "311", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal" - }, - "high" : { - "localId" : "312", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "4", - "type" : "Literal" - } - } ] - } - }, { - "localId" : "322", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "EqualQuantityClosed", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "322", + "value" : [ "1 ", "'mg'" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "330", "s" : [ { - "value" : [ "","define ","EqualQuantityClosed",": " ] - }, { - "r" : "323", - "s" : [ { - "r" : "326", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "324", - "s" : [ { - "value" : [ "1 ","'mg'" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "325", - "s" : [ { - "value" : [ "5 ","'mg'" ] - } ] - }, { - "value" : [ "]" ] - } ] - }, { - "value" : [ " ","="," " ] - }, { - "r" : "331", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "329", - "s" : [ { - "value" : [ "1 ","'mg'" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "330", - "s" : [ { - "value" : [ "5 ","'mg'" ] - } ] - }, { - "value" : [ "]" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "323", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "Equal", - "signature" : [ { - "localId" : "334", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "335", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "336", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "337", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "326", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "327", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "328", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "324", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "value" : 1, - "unit" : "mg", - "type" : "Quantity" - }, - "high" : { - "localId" : "325", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "value" : 5, - "unit" : "mg", - "type" : "Quantity" - } - }, { - "localId" : "331", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "332", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "333", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "329", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "value" : 1, - "unit" : "mg", - "type" : "Quantity" - }, - "high" : { - "localId" : "330", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "value" : 5, - "unit" : "mg", - "type" : "Quantity" - } - } ] - } - }, { - "localId" : "340", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "EqualQuantityOpen", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "340", + "value" : [ "5 ", "'mg'" ] + } ] + }, { + "value" : [ "]" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Equal", + "localId" : "323", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "334", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "335", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "336", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "337", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "Interval", + "localId" : "326", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "327", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "328", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } + }, + "low" : { + "type" : "Quantity", + "localId" : "324", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "value" : 1, + "unit" : "mg", + "annotation" : [ ] + }, + "high" : { + "type" : "Quantity", + "localId" : "325", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "value" : 5, + "unit" : "mg", + "annotation" : [ ] + } + }, { + "type" : "Interval", + "localId" : "331", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "332", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "333", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } + }, + "low" : { + "type" : "Quantity", + "localId" : "329", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "value" : 1, + "unit" : "mg", + "annotation" : [ ] + }, + "high" : { + "type" : "Quantity", + "localId" : "330", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "value" : 5, + "unit" : "mg", + "annotation" : [ ] + } + } ] + } + }, { + "localId" : "340", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "EqualQuantityOpen", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "340", + "s" : [ { + "value" : [ "", "define ", "EqualQuantityOpen", ": " ] + }, { + "r" : "341", + "s" : [ { + "r" : "344", + "s" : [ { + "value" : [ "Interval(" ] + }, { + "r" : "342", "s" : [ { - "value" : [ "","define ","EqualQuantityOpen",": " ] - }, { - "r" : "341", - "s" : [ { - "r" : "344", - "s" : [ { - "value" : [ "Interval(" ] - }, { - "r" : "342", - "s" : [ { - "value" : [ "1 ","'mg'" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "343", - "s" : [ { - "value" : [ "5 ","'mg'" ] - } ] - }, { - "value" : [ ")" ] - } ] - }, { - "value" : [ " ","="," " ] - }, { - "r" : "349", - "s" : [ { - "value" : [ "Interval(" ] - }, { - "r" : "347", - "s" : [ { - "value" : [ "1 ","'mg'" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "348", - "s" : [ { - "value" : [ "5 ","'mg'" ] - } ] - }, { - "value" : [ ")" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "341", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "Equal", - "signature" : [ { - "localId" : "352", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "353", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "354", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "355", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "344", - "lowClosed" : false, - "highClosed" : false, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "345", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "346", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "342", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "value" : 1, - "unit" : "mg", - "type" : "Quantity" - }, - "high" : { - "localId" : "343", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "value" : 5, - "unit" : "mg", - "type" : "Quantity" - } - }, { - "localId" : "349", - "lowClosed" : false, - "highClosed" : false, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "350", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "351", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "347", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "value" : 1, - "unit" : "mg", - "type" : "Quantity" - }, - "high" : { - "localId" : "348", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "value" : 5, - "unit" : "mg", - "type" : "Quantity" - } - } ] - } - }, { - "localId" : "358", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "EqualQuantityOpenClosed", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "358", + "value" : [ "1 ", "'mg'" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "343", "s" : [ { - "value" : [ "","define ","EqualQuantityOpenClosed",": " ] - }, { - "r" : "359", - "s" : [ { - "r" : "362", - "s" : [ { - "value" : [ "Interval(" ] - }, { - "r" : "360", - "s" : [ { - "value" : [ "1 ","'mg'" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "361", - "s" : [ { - "value" : [ "5 ","'mg'" ] - } ] - }, { - "value" : [ ")" ] - } ] - }, { - "value" : [ " ","="," " ] - }, { - "r" : "367", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "365", - "s" : [ { - "value" : [ "2 ","'mg'" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "366", - "s" : [ { - "value" : [ "4 ","'mg'" ] - } ] - }, { - "value" : [ "]" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "359", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "Equal", - "signature" : [ { - "localId" : "370", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "371", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "372", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "373", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "362", - "lowClosed" : false, - "highClosed" : false, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "363", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "364", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "360", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "value" : 1, - "unit" : "mg", - "type" : "Quantity" - }, - "high" : { - "localId" : "361", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "value" : 5, - "unit" : "mg", - "type" : "Quantity" - } - }, { - "localId" : "367", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "368", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "369", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "365", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "value" : 2, - "unit" : "mg", - "type" : "Quantity" - }, - "high" : { - "localId" : "366", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "value" : 4, - "unit" : "mg", - "type" : "Quantity" - } - } ] - } - }, { - "localId" : "376", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "UnequalQuantityClosed", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "376", + "value" : [ "5 ", "'mg'" ] + } ] + }, { + "value" : [ ")" ] + } ] + }, { + "value" : [ " ", "=", " " ] + }, { + "r" : "349", + "s" : [ { + "value" : [ "Interval(" ] + }, { + "r" : "347", "s" : [ { - "value" : [ "","define ","UnequalQuantityClosed",": " ] - }, { - "r" : "377", - "s" : [ { - "r" : "380", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "378", - "s" : [ { - "value" : [ "1 ","'mg'" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "379", - "s" : [ { - "value" : [ "5 ","'mg'" ] - } ] - }, { - "value" : [ "]" ] - } ] - }, { - "value" : [ " ","="," " ] - }, { - "r" : "385", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "383", - "s" : [ { - "value" : [ "2 ","'mg'" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "384", - "s" : [ { - "value" : [ "4 ","'mg'" ] - } ] - }, { - "value" : [ "]" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "377", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "Equal", - "signature" : [ { - "localId" : "388", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "389", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "390", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "391", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "380", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "381", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "382", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "378", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "value" : 1, - "unit" : "mg", - "type" : "Quantity" - }, - "high" : { - "localId" : "379", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "value" : 5, - "unit" : "mg", - "type" : "Quantity" - } - }, { - "localId" : "385", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "386", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "387", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "383", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "value" : 2, - "unit" : "mg", - "type" : "Quantity" - }, - "high" : { - "localId" : "384", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "value" : 4, - "unit" : "mg", - "type" : "Quantity" - } - } ] - } - }, { - "localId" : "394", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "UnequalQuantityOpen", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "394", + "value" : [ "1 ", "'mg'" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "348", "s" : [ { - "value" : [ "","define ","UnequalQuantityOpen",": " ] - }, { - "r" : "395", - "s" : [ { - "r" : "398", - "s" : [ { - "value" : [ "Interval(" ] - }, { - "r" : "396", - "s" : [ { - "value" : [ "1 ","'mg'" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "397", - "s" : [ { - "value" : [ "5 ","'mg'" ] - } ] - }, { - "value" : [ ")" ] - } ] - }, { - "value" : [ " ","="," " ] - }, { - "r" : "403", - "s" : [ { - "value" : [ "Interval(" ] - }, { - "r" : "401", - "s" : [ { - "value" : [ "2 ","'mg'" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "402", - "s" : [ { - "value" : [ "4 ","'mg'" ] - } ] - }, { - "value" : [ ")" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "395", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "Equal", - "signature" : [ { - "localId" : "406", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "407", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "408", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "409", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "398", - "lowClosed" : false, - "highClosed" : false, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "399", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "400", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "396", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "value" : 1, - "unit" : "mg", - "type" : "Quantity" - }, - "high" : { - "localId" : "397", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "value" : 5, - "unit" : "mg", - "type" : "Quantity" - } - }, { - "localId" : "403", - "lowClosed" : false, - "highClosed" : false, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "404", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "405", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "401", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "value" : 2, - "unit" : "mg", - "type" : "Quantity" - }, - "high" : { - "localId" : "402", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "value" : 4, - "unit" : "mg", - "type" : "Quantity" - } - } ] - } - }, { - "localId" : "412", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "UnequalQuantityClosedOpen", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "412", + "value" : [ "5 ", "'mg'" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Equal", + "localId" : "341", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "352", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "353", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "354", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "355", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "Interval", + "localId" : "344", + "lowClosed" : false, + "highClosed" : false, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "345", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "346", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } + }, + "low" : { + "type" : "Quantity", + "localId" : "342", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "value" : 1, + "unit" : "mg", + "annotation" : [ ] + }, + "high" : { + "type" : "Quantity", + "localId" : "343", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "value" : 5, + "unit" : "mg", + "annotation" : [ ] + } + }, { + "type" : "Interval", + "localId" : "349", + "lowClosed" : false, + "highClosed" : false, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "350", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "351", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } + }, + "low" : { + "type" : "Quantity", + "localId" : "347", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "value" : 1, + "unit" : "mg", + "annotation" : [ ] + }, + "high" : { + "type" : "Quantity", + "localId" : "348", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "value" : 5, + "unit" : "mg", + "annotation" : [ ] + } + } ] + } + }, { + "localId" : "358", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "EqualQuantityOpenClosed", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "358", + "s" : [ { + "value" : [ "", "define ", "EqualQuantityOpenClosed", ": " ] + }, { + "r" : "359", + "s" : [ { + "r" : "362", + "s" : [ { + "value" : [ "Interval(" ] + }, { + "r" : "360", "s" : [ { - "value" : [ "","define ","UnequalQuantityClosedOpen",": " ] - }, { - "r" : "413", - "s" : [ { - "r" : "416", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "414", - "s" : [ { - "value" : [ "1 ","'mg'" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "415", - "s" : [ { - "value" : [ "5 ","'mg'" ] - } ] - }, { - "value" : [ "]" ] - } ] - }, { - "value" : [ " ","="," " ] - }, { - "r" : "421", - "s" : [ { - "value" : [ "Interval(" ] - }, { - "r" : "419", - "s" : [ { - "value" : [ "2 ","'mg'" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "420", - "s" : [ { - "value" : [ "4 ","'mg'" ] - } ] - }, { - "value" : [ ")" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "413", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "Equal", - "signature" : [ { - "localId" : "424", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "425", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "426", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "427", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "416", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "417", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "418", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "414", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "value" : 1, - "unit" : "mg", - "type" : "Quantity" - }, - "high" : { - "localId" : "415", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "value" : 5, - "unit" : "mg", - "type" : "Quantity" - } - }, { - "localId" : "421", - "lowClosed" : false, - "highClosed" : false, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "422", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "423", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "419", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "value" : 2, - "unit" : "mg", - "type" : "Quantity" - }, - "high" : { - "localId" : "420", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "value" : 4, - "unit" : "mg", - "type" : "Quantity" - } - } ] - } - }, { - "localId" : "430", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "EqualDates", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "430", - "s" : [ { - "value" : [ "","define ","EqualDates",": " ] - }, { - "r" : "431", - "s" : [ { - "r" : "480", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "448", - "s" : [ { - "r" : "432", - "value" : [ "DateTime","(","2012",", ","1",", ","1",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "472", - "s" : [ { - "r" : "456", - "value" : [ "DateTime","(","2013",", ","1",", ","1",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ ")" ] - } ] - }, { - "value" : [ " ","="," " ] - }, { - "r" : "531", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "499", - "s" : [ { - "r" : "483", - "value" : [ "DateTime","(","2012",", ","1",", ","1",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "523", - "s" : [ { - "r" : "507", - "value" : [ "DateTime","(","2013",", ","1",", ","1",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ ")" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "431", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "Equal", - "signature" : [ { - "localId" : "534", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "535", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "536", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "537", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "480", - "lowClosed" : true, - "highClosed" : false, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "481", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "482", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "448", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "449", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "450", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "451", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "452", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "453", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "454", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "455", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "432", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "433", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "434", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "435", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "436", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "437", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "438", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - }, - "high" : { - "localId" : "472", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "473", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "474", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "475", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "476", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "477", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "478", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "479", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "456", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2013", - "type" : "Literal" - }, - "month" : { - "localId" : "457", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "458", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "459", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "460", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "461", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "462", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - } - }, { - "localId" : "531", - "lowClosed" : true, - "highClosed" : false, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "532", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "533", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "499", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "500", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "501", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "502", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "503", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "504", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "505", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "506", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "483", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "484", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "485", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "486", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "487", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "488", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "489", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - }, - "high" : { - "localId" : "523", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "524", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "525", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "526", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "527", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "528", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "529", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "530", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "507", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2013", - "type" : "Literal" - }, - "month" : { - "localId" : "508", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "509", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "510", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "511", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "512", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "513", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - } - } ] - } - }, { - "localId" : "540", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "EqualDatesOpenClosed", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "540", + "value" : [ "1 ", "'mg'" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "361", + "s" : [ { + "value" : [ "5 ", "'mg'" ] + } ] + }, { + "value" : [ ")" ] + } ] + }, { + "value" : [ " ", "=", " " ] + }, { + "r" : "367", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "365", "s" : [ { - "value" : [ "","define ","EqualDatesOpenClosed",": " ] - }, { - "r" : "541", - "s" : [ { - "r" : "590", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "558", - "s" : [ { - "r" : "542", - "value" : [ "DateTime","(","2012",", ","1",", ","1",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "582", - "s" : [ { - "r" : "566", - "value" : [ "DateTime","(","2013",", ","1",", ","1",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ ")" ] - } ] - }, { - "value" : [ " ","="," " ] - }, { - "r" : "641", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "609", - "s" : [ { - "r" : "593", - "value" : [ "DateTime","(","2012",", ","1",", ","1",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "633", - "s" : [ { - "r" : "617", - "value" : [ "DateTime","(","2012",", ","12",", ","31",", ","23",", ","59",", ","59",", ","999",")" ] - } ] - }, { - "value" : [ "]" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "541", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "Equal", - "signature" : [ { - "localId" : "644", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "645", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "646", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "647", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "590", - "lowClosed" : true, - "highClosed" : false, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "591", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "592", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "558", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "559", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "560", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "561", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "562", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "563", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "564", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "565", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "542", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "543", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "544", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "545", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "546", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "547", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "548", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - }, - "high" : { - "localId" : "582", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "583", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "584", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "585", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "586", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "587", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "588", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "589", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "566", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2013", - "type" : "Literal" - }, - "month" : { - "localId" : "567", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "568", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "569", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "570", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "571", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "572", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - } - }, { - "localId" : "641", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "642", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "643", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "609", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "610", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "611", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "612", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "613", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "614", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "615", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "616", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "593", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "594", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "595", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "596", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "597", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "598", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "599", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - }, - "high" : { - "localId" : "633", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "634", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "635", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "636", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "637", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "638", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "639", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "640", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "617", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "618", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "12", - "type" : "Literal" - }, - "day" : { - "localId" : "619", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "31", - "type" : "Literal" - }, - "hour" : { - "localId" : "620", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "23", - "type" : "Literal" - }, - "minute" : { - "localId" : "621", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal" - }, - "second" : { - "localId" : "622", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "623", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "999", - "type" : "Literal" - } - } - } ] - } - }, { - "localId" : "650", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "SameDays", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "650", - "s" : [ { - "value" : [ "","define ","SameDays",": " ] - }, { - "r" : "651", - "s" : [ { - "r" : "676", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "660", - "s" : [ { - "r" : "652", - "value" : [ "DateTime","(","2012",", ","1",", ","1",")" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "672", - "s" : [ { - "r" : "664", - "value" : [ "DateTime","(","2013",", ","1",", ","1",")" ] - } ] - }, { - "value" : [ ")" ] - } ] - }, { - "value" : [ " ","="," " ] - }, { - "r" : "703", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "687", - "s" : [ { - "r" : "679", - "value" : [ "DateTime","(","2012",", ","1",", ","1",")" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "699", - "s" : [ { - "r" : "691", - "value" : [ "DateTime","(","2013",", ","1",", ","1",")" ] - } ] - }, { - "value" : [ ")" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "651", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "Equal", - "signature" : [ { - "localId" : "706", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "707", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "708", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "709", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "676", - "lowClosed" : true, - "highClosed" : false, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "677", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "678", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "660", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "661", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "662", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "663", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "652", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "653", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "654", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - } - }, - "high" : { - "localId" : "672", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "673", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "674", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "675", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "664", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2013", - "type" : "Literal" - }, - "month" : { - "localId" : "665", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "666", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - } - } - }, { - "localId" : "703", - "lowClosed" : true, - "highClosed" : false, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "704", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "705", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "687", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "688", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "689", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "690", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "679", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "680", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "681", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - } - }, - "high" : { - "localId" : "699", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "700", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "701", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "702", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "691", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2013", - "type" : "Literal" - }, - "month" : { - "localId" : "692", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "693", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - } - } - } ] - } - }, { - "localId" : "712", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "DifferentDays", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "712", - "s" : [ { - "value" : [ "","define ","DifferentDays",": " ] - }, { - "r" : "713", - "s" : [ { - "r" : "738", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "722", - "s" : [ { - "r" : "714", - "value" : [ "DateTime","(","2012",", ","1",", ","1",")" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "734", - "s" : [ { - "r" : "726", - "value" : [ "DateTime","(","2013",", ","1",", ","1",")" ] - } ] - }, { - "value" : [ ")" ] - } ] - }, { - "value" : [ " ","="," " ] - }, { - "r" : "765", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "749", - "s" : [ { - "r" : "741", - "value" : [ "DateTime","(","2012",", ","1",", ","1",")" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "761", - "s" : [ { - "r" : "753", - "value" : [ "DateTime","(","2012",", ","7",", ","1",")" ] - } ] - }, { - "value" : [ ")" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "713", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "Equal", - "signature" : [ { - "localId" : "768", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "769", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "770", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "771", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "738", - "lowClosed" : true, - "highClosed" : false, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "739", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "740", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "722", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "723", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "724", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "725", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "714", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "715", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "716", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - } - }, - "high" : { - "localId" : "734", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "735", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "736", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "737", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "726", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2013", - "type" : "Literal" - }, - "month" : { - "localId" : "727", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "728", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - } - } - }, { - "localId" : "765", - "lowClosed" : true, - "highClosed" : false, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "766", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "767", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "749", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "750", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "751", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "752", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "741", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "742", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "743", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - } - }, - "high" : { - "localId" : "761", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "762", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "763", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "764", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "753", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "754", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "7", - "type" : "Literal" - }, - "day" : { - "localId" : "755", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - } - } - } ] - } - }, { - "localId" : "774", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "DifferingPrecision", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "774", - "s" : [ { - "value" : [ "","define ","DifferingPrecision",": " ] - }, { - "r" : "775", - "s" : [ { - "r" : "818", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "790", - "s" : [ { - "r" : "776", - "value" : [ "DateTime","(","2012",", ","1",", ","1",", ","12",", ","30",", ","21",")" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "811", - "s" : [ { - "r" : "797", - "value" : [ "DateTime","(","2013",", ","1",", ","1",", ","12",", ","30",", ","21",")" ] - } ] - }, { - "value" : [ "]" ] - } ] - }, { - "value" : [ " ","="," " ] - }, { - "r" : "857", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "833", - "s" : [ { - "r" : "821", - "value" : [ "DateTime","(","2012",", ","1",", ","1",", ","12",", ","30",")" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "851", - "s" : [ { - "r" : "839", - "value" : [ "DateTime","(","2013",", ","1",", ","1",", ","12",", ","30",")" ] - } ] - }, { - "value" : [ "]" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "775", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "Equal", - "signature" : [ { - "localId" : "860", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "861", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "862", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "863", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "818", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "819", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "820", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "790", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "791", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "792", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "793", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "794", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "795", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "796", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "776", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "777", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "778", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "779", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "12", - "type" : "Literal" - }, - "minute" : { - "localId" : "780", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "30", - "type" : "Literal" - }, - "second" : { - "localId" : "781", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "21", - "type" : "Literal" - } - }, - "high" : { - "localId" : "811", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "812", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "813", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "814", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "815", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "816", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "817", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "797", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2013", - "type" : "Literal" - }, - "month" : { - "localId" : "798", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "799", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "800", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "12", - "type" : "Literal" - }, - "minute" : { - "localId" : "801", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "30", - "type" : "Literal" - }, - "second" : { - "localId" : "802", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "21", - "type" : "Literal" - } - } - }, { - "localId" : "857", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "858", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "859", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "833", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "834", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "835", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "836", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "837", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "838", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "821", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "822", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "823", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "824", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "12", - "type" : "Literal" - }, - "minute" : { - "localId" : "825", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "30", - "type" : "Literal" - } - }, - "high" : { - "localId" : "851", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "852", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "853", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "854", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "855", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "856", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "839", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2013", - "type" : "Literal" - }, - "month" : { - "localId" : "840", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "841", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "842", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "12", - "type" : "Literal" - }, - "minute" : { - "localId" : "843", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "30", - "type" : "Literal" - } - } - } ] - } - } ] - } - } + "value" : [ "2 ", "'mg'" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "366", + "s" : [ { + "value" : [ "4 ", "'mg'" ] + } ] + }, { + "value" : [ "]" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Equal", + "localId" : "359", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "370", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "371", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "372", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "373", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "Interval", + "localId" : "362", + "lowClosed" : false, + "highClosed" : false, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "363", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "364", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } + }, + "low" : { + "type" : "Quantity", + "localId" : "360", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "value" : 1, + "unit" : "mg", + "annotation" : [ ] + }, + "high" : { + "type" : "Quantity", + "localId" : "361", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "value" : 5, + "unit" : "mg", + "annotation" : [ ] + } + }, { + "type" : "Interval", + "localId" : "367", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "368", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "369", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } + }, + "low" : { + "type" : "Quantity", + "localId" : "365", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "value" : 2, + "unit" : "mg", + "annotation" : [ ] + }, + "high" : { + "type" : "Quantity", + "localId" : "366", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "value" : 4, + "unit" : "mg", + "annotation" : [ ] + } + } ] + } + }, { + "localId" : "376", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "UnequalQuantityClosed", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "376", + "s" : [ { + "value" : [ "", "define ", "UnequalQuantityClosed", ": " ] + }, { + "r" : "377", + "s" : [ { + "r" : "380", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "378", + "s" : [ { + "value" : [ "1 ", "'mg'" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "379", + "s" : [ { + "value" : [ "5 ", "'mg'" ] + } ] + }, { + "value" : [ "]" ] + } ] + }, { + "value" : [ " ", "=", " " ] + }, { + "r" : "385", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "383", + "s" : [ { + "value" : [ "2 ", "'mg'" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "384", + "s" : [ { + "value" : [ "4 ", "'mg'" ] + } ] + }, { + "value" : [ "]" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Equal", + "localId" : "377", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "388", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "389", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "390", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "391", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "Interval", + "localId" : "380", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "381", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "382", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } + }, + "low" : { + "type" : "Quantity", + "localId" : "378", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "value" : 1, + "unit" : "mg", + "annotation" : [ ] + }, + "high" : { + "type" : "Quantity", + "localId" : "379", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "value" : 5, + "unit" : "mg", + "annotation" : [ ] + } + }, { + "type" : "Interval", + "localId" : "385", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "386", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "387", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } + }, + "low" : { + "type" : "Quantity", + "localId" : "383", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "value" : 2, + "unit" : "mg", + "annotation" : [ ] + }, + "high" : { + "type" : "Quantity", + "localId" : "384", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "value" : 4, + "unit" : "mg", + "annotation" : [ ] + } + } ] + } + }, { + "localId" : "394", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "UnequalQuantityOpen", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "394", + "s" : [ { + "value" : [ "", "define ", "UnequalQuantityOpen", ": " ] + }, { + "r" : "395", + "s" : [ { + "r" : "398", + "s" : [ { + "value" : [ "Interval(" ] + }, { + "r" : "396", + "s" : [ { + "value" : [ "1 ", "'mg'" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "397", + "s" : [ { + "value" : [ "5 ", "'mg'" ] + } ] + }, { + "value" : [ ")" ] + } ] + }, { + "value" : [ " ", "=", " " ] + }, { + "r" : "403", + "s" : [ { + "value" : [ "Interval(" ] + }, { + "r" : "401", + "s" : [ { + "value" : [ "2 ", "'mg'" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "402", + "s" : [ { + "value" : [ "4 ", "'mg'" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Equal", + "localId" : "395", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "406", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "407", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "408", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "409", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "Interval", + "localId" : "398", + "lowClosed" : false, + "highClosed" : false, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "399", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "400", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } + }, + "low" : { + "type" : "Quantity", + "localId" : "396", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "value" : 1, + "unit" : "mg", + "annotation" : [ ] + }, + "high" : { + "type" : "Quantity", + "localId" : "397", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "value" : 5, + "unit" : "mg", + "annotation" : [ ] + } + }, { + "type" : "Interval", + "localId" : "403", + "lowClosed" : false, + "highClosed" : false, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "404", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "405", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } + }, + "low" : { + "type" : "Quantity", + "localId" : "401", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "value" : 2, + "unit" : "mg", + "annotation" : [ ] + }, + "high" : { + "type" : "Quantity", + "localId" : "402", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "value" : 4, + "unit" : "mg", + "annotation" : [ ] + } + } ] + } + }, { + "localId" : "412", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "UnequalQuantityClosedOpen", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "412", + "s" : [ { + "value" : [ "", "define ", "UnequalQuantityClosedOpen", ": " ] + }, { + "r" : "413", + "s" : [ { + "r" : "416", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "414", + "s" : [ { + "value" : [ "1 ", "'mg'" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "415", + "s" : [ { + "value" : [ "5 ", "'mg'" ] + } ] + }, { + "value" : [ "]" ] + } ] + }, { + "value" : [ " ", "=", " " ] + }, { + "r" : "421", + "s" : [ { + "value" : [ "Interval(" ] + }, { + "r" : "419", + "s" : [ { + "value" : [ "2 ", "'mg'" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "420", + "s" : [ { + "value" : [ "4 ", "'mg'" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Equal", + "localId" : "413", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "424", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "425", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "426", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "427", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "Interval", + "localId" : "416", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "417", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "418", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } + }, + "low" : { + "type" : "Quantity", + "localId" : "414", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "value" : 1, + "unit" : "mg", + "annotation" : [ ] + }, + "high" : { + "type" : "Quantity", + "localId" : "415", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "value" : 5, + "unit" : "mg", + "annotation" : [ ] + } + }, { + "type" : "Interval", + "localId" : "421", + "lowClosed" : false, + "highClosed" : false, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "422", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "423", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } + }, + "low" : { + "type" : "Quantity", + "localId" : "419", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "value" : 2, + "unit" : "mg", + "annotation" : [ ] + }, + "high" : { + "type" : "Quantity", + "localId" : "420", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "value" : 4, + "unit" : "mg", + "annotation" : [ ] + } + } ] + } + }, { + "localId" : "430", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "EqualDates", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "430", + "s" : [ { + "value" : [ "", "define ", "EqualDates", ": " ] + }, { + "r" : "431", + "s" : [ { + "r" : "480", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "448", + "s" : [ { + "r" : "432", + "value" : [ "DateTime", "(", "2012", ", ", "1", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "472", + "s" : [ { + "r" : "456", + "value" : [ "DateTime", "(", "2013", ", ", "1", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ ")" ] + } ] + }, { + "value" : [ " ", "=", " " ] + }, { + "r" : "531", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "499", + "s" : [ { + "r" : "483", + "value" : [ "DateTime", "(", "2012", ", ", "1", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "523", + "s" : [ { + "r" : "507", + "value" : [ "DateTime", "(", "2013", ", ", "1", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Equal", + "localId" : "431", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "534", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "535", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "536", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "537", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "Interval", + "localId" : "480", + "lowClosed" : true, + "highClosed" : false, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "481", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "482", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "DateTime", + "localId" : "448", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "449", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "450", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "451", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "452", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "453", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "454", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "455", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "432", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "433", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "434", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "435", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "436", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "437", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "438", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "472", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "473", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "474", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "475", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "476", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "477", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "478", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "479", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "456", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2013", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "457", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "458", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "459", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "460", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "461", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "462", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + } + }, { + "type" : "Interval", + "localId" : "531", + "lowClosed" : true, + "highClosed" : false, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "532", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "533", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "DateTime", + "localId" : "499", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "500", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "501", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "502", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "503", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "504", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "505", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "506", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "483", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "484", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "485", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "486", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "487", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "488", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "489", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "523", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "524", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "525", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "526", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "527", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "528", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "529", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "530", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "507", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2013", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "508", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "509", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "510", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "511", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "512", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "513", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + } + } ] + } + }, { + "localId" : "540", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "EqualDatesOpenClosed", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "540", + "s" : [ { + "value" : [ "", "define ", "EqualDatesOpenClosed", ": " ] + }, { + "r" : "541", + "s" : [ { + "r" : "590", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "558", + "s" : [ { + "r" : "542", + "value" : [ "DateTime", "(", "2012", ", ", "1", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "582", + "s" : [ { + "r" : "566", + "value" : [ "DateTime", "(", "2013", ", ", "1", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ ")" ] + } ] + }, { + "value" : [ " ", "=", " " ] + }, { + "r" : "641", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "609", + "s" : [ { + "r" : "593", + "value" : [ "DateTime", "(", "2012", ", ", "1", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "633", + "s" : [ { + "r" : "617", + "value" : [ "DateTime", "(", "2012", ", ", "12", ", ", "31", ", ", "23", ", ", "59", ", ", "59", ", ", "999", ")" ] + } ] + }, { + "value" : [ "]" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Equal", + "localId" : "541", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "644", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "645", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "646", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "647", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "Interval", + "localId" : "590", + "lowClosed" : true, + "highClosed" : false, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "591", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "592", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "DateTime", + "localId" : "558", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "559", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "560", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "561", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "562", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "563", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "564", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "565", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "542", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "543", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "544", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "545", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "546", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "547", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "548", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "582", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "583", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "584", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "585", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "586", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "587", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "588", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "589", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "566", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2013", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "567", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "568", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "569", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "570", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "571", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "572", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + } + }, { + "type" : "Interval", + "localId" : "641", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "642", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "643", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "DateTime", + "localId" : "609", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "610", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "611", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "612", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "613", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "614", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "615", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "616", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "593", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "594", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "595", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "596", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "597", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "598", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "599", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "633", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "634", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "635", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "636", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "637", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "638", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "639", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "640", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "617", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "618", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "12", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "619", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "31", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "620", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "23", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "621", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "59", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "622", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "59", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "623", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "999", + "annotation" : [ ] + } + } + } ] + } + }, { + "localId" : "650", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "SameDays", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "650", + "s" : [ { + "value" : [ "", "define ", "SameDays", ": " ] + }, { + "r" : "651", + "s" : [ { + "r" : "676", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "660", + "s" : [ { + "r" : "652", + "value" : [ "DateTime", "(", "2012", ", ", "1", ", ", "1", ")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "672", + "s" : [ { + "r" : "664", + "value" : [ "DateTime", "(", "2013", ", ", "1", ", ", "1", ")" ] + } ] + }, { + "value" : [ ")" ] + } ] + }, { + "value" : [ " ", "=", " " ] + }, { + "r" : "703", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "687", + "s" : [ { + "r" : "679", + "value" : [ "DateTime", "(", "2012", ", ", "1", ", ", "1", ")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "699", + "s" : [ { + "r" : "691", + "value" : [ "DateTime", "(", "2013", ", ", "1", ", ", "1", ")" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Equal", + "localId" : "651", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "706", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "707", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "708", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "709", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "Interval", + "localId" : "676", + "lowClosed" : true, + "highClosed" : false, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "677", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "678", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "DateTime", + "localId" : "660", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "661", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "662", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "663", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "652", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "653", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "654", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "672", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "673", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "674", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "675", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "664", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2013", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "665", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "666", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + } + } + }, { + "type" : "Interval", + "localId" : "703", + "lowClosed" : true, + "highClosed" : false, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "704", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "705", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "DateTime", + "localId" : "687", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "688", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "689", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "690", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "679", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "680", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "681", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "699", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "700", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "701", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "702", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "691", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2013", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "692", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "693", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + } + } + } ] + } + }, { + "localId" : "712", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "DifferentDays", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "712", + "s" : [ { + "value" : [ "", "define ", "DifferentDays", ": " ] + }, { + "r" : "713", + "s" : [ { + "r" : "738", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "722", + "s" : [ { + "r" : "714", + "value" : [ "DateTime", "(", "2012", ", ", "1", ", ", "1", ")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "734", + "s" : [ { + "r" : "726", + "value" : [ "DateTime", "(", "2013", ", ", "1", ", ", "1", ")" ] + } ] + }, { + "value" : [ ")" ] + } ] + }, { + "value" : [ " ", "=", " " ] + }, { + "r" : "765", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "749", + "s" : [ { + "r" : "741", + "value" : [ "DateTime", "(", "2012", ", ", "1", ", ", "1", ")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "761", + "s" : [ { + "r" : "753", + "value" : [ "DateTime", "(", "2012", ", ", "7", ", ", "1", ")" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Equal", + "localId" : "713", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "768", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "769", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "770", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "771", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "Interval", + "localId" : "738", + "lowClosed" : true, + "highClosed" : false, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "739", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "740", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "DateTime", + "localId" : "722", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "723", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "724", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "725", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "714", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "715", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "716", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "734", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "735", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "736", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "737", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "726", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2013", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "727", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "728", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + } + } + }, { + "type" : "Interval", + "localId" : "765", + "lowClosed" : true, + "highClosed" : false, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "766", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "767", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "DateTime", + "localId" : "749", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "750", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "751", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "752", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "741", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "742", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "743", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "761", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "762", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "763", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "764", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "753", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "754", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "7", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "755", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + } + } + } ] + } + }, { + "localId" : "774", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "DifferingPrecision", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "774", + "s" : [ { + "value" : [ "", "define ", "DifferingPrecision", ": " ] + }, { + "r" : "775", + "s" : [ { + "r" : "818", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "790", + "s" : [ { + "r" : "776", + "value" : [ "DateTime", "(", "2012", ", ", "1", ", ", "1", ", ", "12", ", ", "30", ", ", "21", ")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "811", + "s" : [ { + "r" : "797", + "value" : [ "DateTime", "(", "2013", ", ", "1", ", ", "1", ", ", "12", ", ", "30", ", ", "21", ")" ] + } ] + }, { + "value" : [ "]" ] + } ] + }, { + "value" : [ " ", "=", " " ] + }, { + "r" : "857", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "833", + "s" : [ { + "r" : "821", + "value" : [ "DateTime", "(", "2012", ", ", "1", ", ", "1", ", ", "12", ", ", "30", ")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "851", + "s" : [ { + "r" : "839", + "value" : [ "DateTime", "(", "2013", ", ", "1", ", ", "1", ", ", "12", ", ", "30", ")" ] + } ] + }, { + "value" : [ "]" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Equal", + "localId" : "775", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "860", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "861", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "862", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "863", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "Interval", + "localId" : "818", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "819", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "820", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "DateTime", + "localId" : "790", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "791", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "792", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "793", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "794", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "795", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "796", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "776", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "777", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "778", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "779", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "12", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "780", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "30", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "781", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "21", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "811", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "812", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "813", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "814", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "815", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "816", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "817", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "797", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2013", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "798", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "799", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "800", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "12", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "801", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "30", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "802", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "21", + "annotation" : [ ] + } + } + }, { + "type" : "Interval", + "localId" : "857", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "858", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "859", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "DateTime", + "localId" : "833", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "834", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "835", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "836", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "837", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "838", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "821", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "822", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "823", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "824", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "12", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "825", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "30", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "851", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "852", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "853", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "854", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "855", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "856", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "839", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2013", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "840", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "841", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "842", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "12", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "843", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "30", + "annotation" : [ ] + } + } + } ] + } + } ] + } + } } /* NotEqual @@ -4072,222275 +4642,256475 @@ define DifferingPrecision: Interval[DateTime(2012, 1, 1, 12, 30, 21), DateTime(2 */ module.exports['NotEqual'] = { - "library" : { - "localId" : "0", - "annotation" : [ { - "translatorVersion" : "3.27.0", - "translatorOptions" : "EnableDateRangeOptimization,EnableAnnotations,EnableResultTypes", - "signatureLevel" : "All", - "type" : "CqlToElmInfo" - }, { - "type" : "Annotation", - "s" : { - "r" : "806", + "library" : { + "localId" : "0", + "annotation" : [ { + "type" : "CqlToElmInfo", + "translatorVersion" : "4.2.0", + "translatorOptions" : "EnableDateRangeOptimization,EnableAnnotations,EnableResultTypes", + "signatureLevel" : "All" + }, { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "806", + "s" : [ { + "value" : [ "", "library TestSnippet version '1'" ] + } ] + } + } ], + "identifier" : { + "id" : "TestSnippet", + "version" : "1" + }, + "schemaIdentifier" : { + "id" : "urn:hl7-org:elm", + "version" : "r1" + }, + "usings" : { + "def" : [ { + "localId" : "1", + "localIdentifier" : "System", + "uri" : "urn:hl7-org:elm-types:r1", + "annotation" : [ ] + }, { + "localId" : "206", + "localIdentifier" : "Simple", + "uri" : "https://github.com/cqframework/cql-execution/simple", + "version" : "1.0.0", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "206", "s" : [ { - "value" : [ "","library TestSnippet version '1'" ] - } ] - } - } ], - "identifier" : { - "id" : "TestSnippet", - "version" : "1" - }, - "schemaIdentifier" : { - "id" : "urn:hl7-org:elm", - "version" : "r1" - }, - "usings" : { - "def" : [ { - "localId" : "1", - "localIdentifier" : "System", - "uri" : "urn:hl7-org:elm-types:r1" - }, { - "localId" : "206", - "localIdentifier" : "Simple", - "uri" : "https://github.com/cqframework/cql-execution/simple", - "version" : "1.0.0", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "206", - "s" : [ { - "value" : [ "","using " ] - }, { - "s" : [ { - "value" : [ "Simple" ] - } ] - }, { - "value" : [ " version '1.0.0'" ] - } ] - } - } ] - } ] - }, - "contexts" : { - "def" : [ { - "localId" : "211", - "name" : "Patient" - } ] - }, - "statements" : { - "def" : [ { - "localId" : "209", - "name" : "Patient", - "context" : "Patient", - "expression" : { - "localId" : "210", - "type" : "SingletonFrom", - "signature" : [ ], - "operand" : { - "localId" : "208", - "dataType" : "{https://github.com/cqframework/cql-execution/simple}Patient", - "type" : "Retrieve", - "include" : [ ], - "codeFilter" : [ ], - "dateFilter" : [ ], - "otherFilter" : [ ] - } - } - }, { - "localId" : "214", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "EqualClosed", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "214", - "s" : [ { - "value" : [ "","define ","EqualClosed",": " ] - }, { - "r" : "230", - "s" : [ { - "r" : "218", - "s" : [ { - "r" : "216", - "value" : [ "Interval[","1",", ","5","]" ] - } ] - }, { - "value" : [ " ","!="," " ] - }, { - "r" : "223", - "s" : [ { - "r" : "221", - "value" : [ "Interval[","1",", ","5","]" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "230", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "Not", - "signature" : [ { - "localId" : "231", - "name" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "215", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "Equal", - "signature" : [ { - "localId" : "226", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "227", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "228", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "229", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "218", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "219", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "220", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "216", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "high" : { - "localId" : "217", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal" - } - }, { - "localId" : "223", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "224", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "225", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "221", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "high" : { - "localId" : "222", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal" - } - } ] - } - } - }, { - "localId" : "234", + "value" : [ "", "using " ] + }, { + "s" : [ { + "value" : [ "Simple" ] + } ] + }, { + "value" : [ " version '1.0.0'" ] + } ] + } + } ] + } ] + }, + "contexts" : { + "def" : [ { + "localId" : "211", + "name" : "Patient", + "annotation" : [ ] + } ] + }, + "statements" : { + "def" : [ { + "localId" : "209", + "name" : "Patient", + "context" : "Patient", + "annotation" : [ ], + "expression" : { + "type" : "SingletonFrom", + "localId" : "210", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Retrieve", + "localId" : "208", + "dataType" : "{https://github.com/cqframework/cql-execution/simple}Patient", + "annotation" : [ ], + "include" : [ ], + "codeFilter" : [ ], + "dateFilter" : [ ], + "otherFilter" : [ ] + } + } + }, { + "localId" : "214", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "EqualClosed", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "214", + "s" : [ { + "value" : [ "", "define ", "EqualClosed", ": " ] + }, { + "r" : "230", + "s" : [ { + "r" : "218", + "s" : [ { + "r" : "216", + "value" : [ "Interval[", "1", ", ", "5", "]" ] + } ] + }, { + "value" : [ " ", "!=", " " ] + }, { + "r" : "223", + "s" : [ { + "r" : "221", + "value" : [ "Interval[", "1", ", ", "5", "]" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Not", + "localId" : "230", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "231", + "name" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ] + } ], + "operand" : { + "type" : "Equal", + "localId" : "215", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "226", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "227", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "228", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "229", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "Interval", + "localId" : "218", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "219", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "220", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "low" : { + "type" : "Literal", + "localId" : "216", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "high" : { + "type" : "Literal", + "localId" : "217", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "5", + "annotation" : [ ] + } + }, { + "type" : "Interval", + "localId" : "223", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "224", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "225", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "low" : { + "type" : "Literal", + "localId" : "221", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "high" : { + "type" : "Literal", + "localId" : "222", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "5", + "annotation" : [ ] + } + } ] + } + } + }, { + "localId" : "234", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "EqualOpen", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "234", + "s" : [ { + "value" : [ "", "define ", "EqualOpen", ": " ] + }, { + "r" : "250", + "s" : [ { + "r" : "238", + "s" : [ { + "r" : "236", + "value" : [ "Interval(", "1", ", ", "5", ")" ] + } ] + }, { + "value" : [ " ", "!=", " " ] + }, { + "r" : "243", + "s" : [ { + "r" : "241", + "value" : [ "Interval(", "1", ", ", "5", ")" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Not", + "localId" : "250", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "251", + "name" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ] + } ], + "operand" : { + "type" : "Equal", + "localId" : "235", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "246", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "247", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "248", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "249", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "Interval", + "localId" : "238", + "lowClosed" : false, + "highClosed" : false, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "239", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "240", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "low" : { + "type" : "Literal", + "localId" : "236", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "high" : { + "type" : "Literal", + "localId" : "237", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "5", + "annotation" : [ ] + } + }, { + "type" : "Interval", + "localId" : "243", + "lowClosed" : false, + "highClosed" : false, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "244", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "245", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "low" : { + "type" : "Literal", + "localId" : "241", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "high" : { + "type" : "Literal", + "localId" : "242", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "5", + "annotation" : [ ] + } + } ] + } + } + }, { + "localId" : "254", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "EqualOpenClosed", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "254", + "s" : [ { + "value" : [ "", "define ", "EqualOpenClosed", ": " ] + }, { + "r" : "270", + "s" : [ { + "r" : "258", + "s" : [ { + "r" : "256", + "value" : [ "Interval(", "1", ", ", "5", ")" ] + } ] + }, { + "value" : [ " ", "!=", " " ] + }, { + "r" : "263", + "s" : [ { + "r" : "261", + "value" : [ "Interval[", "2", ", ", "4", "]" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Not", + "localId" : "270", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "271", + "name" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ] + } ], + "operand" : { + "type" : "Equal", + "localId" : "255", "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "EqualOpen", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "234", - "s" : [ { - "value" : [ "","define ","EqualOpen",": " ] - }, { - "r" : "250", - "s" : [ { - "r" : "238", - "s" : [ { - "r" : "236", - "value" : [ "Interval(","1",", ","5",")" ] - } ] - }, { - "value" : [ " ","!="," " ] - }, { - "r" : "243", - "s" : [ { - "r" : "241", - "value" : [ "Interval(","1",", ","5",")" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "250", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "Not", - "signature" : [ { - "localId" : "251", - "name" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "235", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "Equal", - "signature" : [ { - "localId" : "246", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "247", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "248", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "249", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "238", - "lowClosed" : false, - "highClosed" : false, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "239", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "240", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "236", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "high" : { - "localId" : "237", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal" - } - }, { - "localId" : "243", - "lowClosed" : false, - "highClosed" : false, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "244", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "245", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "241", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "high" : { - "localId" : "242", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal" - } - } ] - } - } - }, { - "localId" : "254", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "266", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "267", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "268", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "269", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "Interval", + "localId" : "258", + "lowClosed" : false, + "highClosed" : false, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "259", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "260", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "low" : { + "type" : "Literal", + "localId" : "256", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "high" : { + "type" : "Literal", + "localId" : "257", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "5", + "annotation" : [ ] + } + }, { + "type" : "Interval", + "localId" : "263", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "264", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "265", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "low" : { + "type" : "Literal", + "localId" : "261", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "annotation" : [ ] + }, + "high" : { + "type" : "Literal", + "localId" : "262", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "4", + "annotation" : [ ] + } + } ] + } + } + }, { + "localId" : "274", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "UnequalClosed", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "274", + "s" : [ { + "value" : [ "", "define ", "UnequalClosed", ": " ] + }, { + "r" : "290", + "s" : [ { + "r" : "278", + "s" : [ { + "r" : "276", + "value" : [ "Interval[", "1", ", ", "5", "]" ] + } ] + }, { + "value" : [ " ", "!=", " " ] + }, { + "r" : "283", + "s" : [ { + "r" : "281", + "value" : [ "Interval[", "2", ", ", "4", "]" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Not", + "localId" : "290", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "291", + "name" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ] + } ], + "operand" : { + "type" : "Equal", + "localId" : "275", "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "EqualOpenClosed", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "254", - "s" : [ { - "value" : [ "","define ","EqualOpenClosed",": " ] - }, { - "r" : "270", - "s" : [ { - "r" : "258", - "s" : [ { - "r" : "256", - "value" : [ "Interval(","1",", ","5",")" ] - } ] - }, { - "value" : [ " ","!="," " ] - }, { - "r" : "263", - "s" : [ { - "r" : "261", - "value" : [ "Interval[","2",", ","4","]" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "270", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "Not", - "signature" : [ { - "localId" : "271", - "name" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "255", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "Equal", - "signature" : [ { - "localId" : "266", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "267", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "268", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "269", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "258", - "lowClosed" : false, - "highClosed" : false, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "259", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "260", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "256", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "high" : { - "localId" : "257", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal" - } - }, { - "localId" : "263", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "264", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "265", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "261", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal" - }, - "high" : { - "localId" : "262", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "4", - "type" : "Literal" - } - } ] - } - } - }, { - "localId" : "274", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "286", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "287", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "288", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "289", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "Interval", + "localId" : "278", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "279", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "280", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "low" : { + "type" : "Literal", + "localId" : "276", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "high" : { + "type" : "Literal", + "localId" : "277", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "5", + "annotation" : [ ] + } + }, { + "type" : "Interval", + "localId" : "283", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "284", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "285", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "low" : { + "type" : "Literal", + "localId" : "281", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "annotation" : [ ] + }, + "high" : { + "type" : "Literal", + "localId" : "282", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "4", + "annotation" : [ ] + } + } ] + } + } + }, { + "localId" : "294", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "UnequalOpen", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "294", + "s" : [ { + "value" : [ "", "define ", "UnequalOpen", ": " ] + }, { + "r" : "310", + "s" : [ { + "r" : "298", + "s" : [ { + "r" : "296", + "value" : [ "Interval(", "1", ", ", "5", ")" ] + } ] + }, { + "value" : [ " ", "!=", " " ] + }, { + "r" : "303", + "s" : [ { + "r" : "301", + "value" : [ "Interval(", "2", ", ", "4", ")" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Not", + "localId" : "310", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "311", + "name" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ] + } ], + "operand" : { + "type" : "Equal", + "localId" : "295", "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "UnequalClosed", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "274", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "306", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "307", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "308", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "309", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "Interval", + "localId" : "298", + "lowClosed" : false, + "highClosed" : false, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "299", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "300", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "low" : { + "type" : "Literal", + "localId" : "296", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "high" : { + "type" : "Literal", + "localId" : "297", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "5", + "annotation" : [ ] + } + }, { + "type" : "Interval", + "localId" : "303", + "lowClosed" : false, + "highClosed" : false, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "304", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "305", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "low" : { + "type" : "Literal", + "localId" : "301", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "annotation" : [ ] + }, + "high" : { + "type" : "Literal", + "localId" : "302", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "4", + "annotation" : [ ] + } + } ] + } + } + }, { + "localId" : "314", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "UnequalClosedOpen", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "314", + "s" : [ { + "value" : [ "", "define ", "UnequalClosedOpen", ": " ] + }, { + "r" : "330", + "s" : [ { + "r" : "318", + "s" : [ { + "r" : "316", + "value" : [ "Interval[", "1", ", ", "5", "]" ] + } ] + }, { + "value" : [ " ", "!=", " " ] + }, { + "r" : "323", + "s" : [ { + "r" : "321", + "value" : [ "Interval(", "2", ", ", "4", ")" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Not", + "localId" : "330", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "331", + "name" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ] + } ], + "operand" : { + "type" : "Equal", + "localId" : "315", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "326", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "327", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "328", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "329", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "Interval", + "localId" : "318", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "319", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "320", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "low" : { + "type" : "Literal", + "localId" : "316", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "high" : { + "type" : "Literal", + "localId" : "317", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "5", + "annotation" : [ ] + } + }, { + "type" : "Interval", + "localId" : "323", + "lowClosed" : false, + "highClosed" : false, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "324", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "325", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "low" : { + "type" : "Literal", + "localId" : "321", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "annotation" : [ ] + }, + "high" : { + "type" : "Literal", + "localId" : "322", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "4", + "annotation" : [ ] + } + } ] + } + } + }, { + "localId" : "334", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "EqualQuantityClosed", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "334", + "s" : [ { + "value" : [ "", "define ", "EqualQuantityClosed", ": " ] + }, { + "r" : "350", + "s" : [ { + "r" : "338", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "336", + "s" : [ { + "value" : [ "1 ", "'mg'" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "337", "s" : [ { - "value" : [ "","define ","UnequalClosed",": " ] - }, { - "r" : "290", - "s" : [ { - "r" : "278", - "s" : [ { - "r" : "276", - "value" : [ "Interval[","1",", ","5","]" ] - } ] - }, { - "value" : [ " ","!="," " ] - }, { - "r" : "283", - "s" : [ { - "r" : "281", - "value" : [ "Interval[","2",", ","4","]" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "290", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "Not", - "signature" : [ { - "localId" : "291", - "name" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "275", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "Equal", - "signature" : [ { - "localId" : "286", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "287", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "288", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "289", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "278", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "279", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "280", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "276", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "high" : { - "localId" : "277", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal" - } - }, { - "localId" : "283", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "284", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "285", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "281", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal" - }, - "high" : { - "localId" : "282", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "4", - "type" : "Literal" - } - } ] - } - } - }, { - "localId" : "294", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "UnequalOpen", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "294", + "value" : [ "5 ", "'mg'" ] + } ] + }, { + "value" : [ "]" ] + } ] + }, { + "value" : [ " ", "!=", " " ] + }, { + "r" : "343", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "341", "s" : [ { - "value" : [ "","define ","UnequalOpen",": " ] - }, { - "r" : "310", - "s" : [ { - "r" : "298", - "s" : [ { - "r" : "296", - "value" : [ "Interval(","1",", ","5",")" ] - } ] - }, { - "value" : [ " ","!="," " ] - }, { - "r" : "303", - "s" : [ { - "r" : "301", - "value" : [ "Interval(","2",", ","4",")" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "310", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "Not", - "signature" : [ { - "localId" : "311", - "name" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "295", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "Equal", - "signature" : [ { - "localId" : "306", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "307", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "308", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "309", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "298", - "lowClosed" : false, - "highClosed" : false, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "299", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "300", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "296", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "high" : { - "localId" : "297", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal" - } - }, { - "localId" : "303", - "lowClosed" : false, - "highClosed" : false, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "304", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "305", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "301", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal" - }, - "high" : { - "localId" : "302", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "4", - "type" : "Literal" - } - } ] - } - } - }, { - "localId" : "314", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "UnequalClosedOpen", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "314", - "s" : [ { - "value" : [ "","define ","UnequalClosedOpen",": " ] - }, { - "r" : "330", - "s" : [ { - "r" : "318", - "s" : [ { - "r" : "316", - "value" : [ "Interval[","1",", ","5","]" ] - } ] - }, { - "value" : [ " ","!="," " ] - }, { - "r" : "323", - "s" : [ { - "r" : "321", - "value" : [ "Interval(","2",", ","4",")" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "330", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "Not", - "signature" : [ { - "localId" : "331", - "name" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "315", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "Equal", - "signature" : [ { - "localId" : "326", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "327", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "328", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "329", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "318", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "319", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "320", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "316", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "high" : { - "localId" : "317", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal" - } - }, { - "localId" : "323", - "lowClosed" : false, - "highClosed" : false, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "324", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "325", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "321", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal" - }, - "high" : { - "localId" : "322", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "4", - "type" : "Literal" - } - } ] - } - } - }, { - "localId" : "334", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "EqualQuantityClosed", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "334", - "s" : [ { - "value" : [ "","define ","EqualQuantityClosed",": " ] - }, { - "r" : "350", - "s" : [ { - "r" : "338", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "336", - "s" : [ { - "value" : [ "1 ","'mg'" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "337", - "s" : [ { - "value" : [ "5 ","'mg'" ] - } ] - }, { - "value" : [ "]" ] - } ] - }, { - "value" : [ " ","!="," " ] - }, { - "r" : "343", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "341", - "s" : [ { - "value" : [ "1 ","'mg'" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "342", - "s" : [ { - "value" : [ "5 ","'mg'" ] - } ] - }, { - "value" : [ "]" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "350", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "Not", - "signature" : [ { - "localId" : "351", - "name" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "335", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "Equal", - "signature" : [ { - "localId" : "346", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "347", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "348", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "349", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "338", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "339", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "340", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "336", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "value" : 1, - "unit" : "mg", - "type" : "Quantity" - }, - "high" : { - "localId" : "337", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "value" : 5, - "unit" : "mg", - "type" : "Quantity" - } - }, { - "localId" : "343", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "344", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "345", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "341", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "value" : 1, - "unit" : "mg", - "type" : "Quantity" - }, - "high" : { - "localId" : "342", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "value" : 5, - "unit" : "mg", - "type" : "Quantity" - } - } ] - } - } - }, { - "localId" : "354", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "EqualQuantityOpen", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "354", + "value" : [ "1 ", "'mg'" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "342", "s" : [ { - "value" : [ "","define ","EqualQuantityOpen",": " ] - }, { - "r" : "370", - "s" : [ { - "r" : "358", - "s" : [ { - "value" : [ "Interval(" ] - }, { - "r" : "356", - "s" : [ { - "value" : [ "1 ","'mg'" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "357", - "s" : [ { - "value" : [ "5 ","'mg'" ] - } ] - }, { - "value" : [ ")" ] - } ] - }, { - "value" : [ " ","!="," " ] - }, { - "r" : "363", - "s" : [ { - "value" : [ "Interval(" ] - }, { - "r" : "361", - "s" : [ { - "value" : [ "1 ","'mg'" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "362", - "s" : [ { - "value" : [ "5 ","'mg'" ] - } ] - }, { - "value" : [ ")" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "370", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "Not", - "signature" : [ { - "localId" : "371", - "name" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "355", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "Equal", - "signature" : [ { - "localId" : "366", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "367", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "368", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "369", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "358", - "lowClosed" : false, - "highClosed" : false, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "359", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "360", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "356", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "value" : 1, - "unit" : "mg", - "type" : "Quantity" - }, - "high" : { - "localId" : "357", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "value" : 5, - "unit" : "mg", - "type" : "Quantity" - } - }, { - "localId" : "363", - "lowClosed" : false, - "highClosed" : false, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "364", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "365", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "361", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "value" : 1, - "unit" : "mg", - "type" : "Quantity" - }, - "high" : { - "localId" : "362", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "value" : 5, - "unit" : "mg", - "type" : "Quantity" - } - } ] - } - } - }, { - "localId" : "374", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "EqualQuantityOpenClosed", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "374", - "s" : [ { - "value" : [ "","define ","EqualQuantityOpenClosed",": " ] - }, { - "r" : "390", - "s" : [ { - "r" : "378", - "s" : [ { - "value" : [ "Interval(" ] - }, { - "r" : "376", - "s" : [ { - "value" : [ "1 ","'mg'" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "377", - "s" : [ { - "value" : [ "5 ","'mg'" ] - } ] - }, { - "value" : [ ")" ] - } ] - }, { - "value" : [ " ","!="," " ] - }, { - "r" : "383", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "381", - "s" : [ { - "value" : [ "2 ","'mg'" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "382", - "s" : [ { - "value" : [ "4 ","'mg'" ] - } ] - }, { - "value" : [ "]" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "390", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "Not", - "signature" : [ { - "localId" : "391", - "name" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "375", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "Equal", - "signature" : [ { - "localId" : "386", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "387", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "388", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "389", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "378", - "lowClosed" : false, - "highClosed" : false, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "379", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "380", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "376", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "value" : 1, - "unit" : "mg", - "type" : "Quantity" - }, - "high" : { - "localId" : "377", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "value" : 5, - "unit" : "mg", - "type" : "Quantity" - } - }, { - "localId" : "383", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "384", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "385", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "381", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "value" : 2, - "unit" : "mg", - "type" : "Quantity" - }, - "high" : { - "localId" : "382", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "value" : 4, - "unit" : "mg", - "type" : "Quantity" - } - } ] - } - } - }, { - "localId" : "394", + "value" : [ "5 ", "'mg'" ] + } ] + }, { + "value" : [ "]" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Not", + "localId" : "350", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "351", + "name" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ] + } ], + "operand" : { + "type" : "Equal", + "localId" : "335", "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "UnequalQuantityClosed", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "394", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "346", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "347", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "348", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "349", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "Interval", + "localId" : "338", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "339", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "340", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } + }, + "low" : { + "type" : "Quantity", + "localId" : "336", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "value" : 1, + "unit" : "mg", + "annotation" : [ ] + }, + "high" : { + "type" : "Quantity", + "localId" : "337", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "value" : 5, + "unit" : "mg", + "annotation" : [ ] + } + }, { + "type" : "Interval", + "localId" : "343", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "344", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "345", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } + }, + "low" : { + "type" : "Quantity", + "localId" : "341", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "value" : 1, + "unit" : "mg", + "annotation" : [ ] + }, + "high" : { + "type" : "Quantity", + "localId" : "342", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "value" : 5, + "unit" : "mg", + "annotation" : [ ] + } + } ] + } + } + }, { + "localId" : "354", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "EqualQuantityOpen", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "354", + "s" : [ { + "value" : [ "", "define ", "EqualQuantityOpen", ": " ] + }, { + "r" : "370", + "s" : [ { + "r" : "358", + "s" : [ { + "value" : [ "Interval(" ] + }, { + "r" : "356", "s" : [ { - "value" : [ "","define ","UnequalQuantityClosed",": " ] - }, { - "r" : "410", - "s" : [ { - "r" : "398", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "396", - "s" : [ { - "value" : [ "1 ","'mg'" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "397", - "s" : [ { - "value" : [ "5 ","'mg'" ] - } ] - }, { - "value" : [ "]" ] - } ] - }, { - "value" : [ " ","!="," " ] - }, { - "r" : "403", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "401", - "s" : [ { - "value" : [ "2 ","'mg'" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "402", - "s" : [ { - "value" : [ "4 ","'mg'" ] - } ] - }, { - "value" : [ "]" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "410", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "Not", - "signature" : [ { - "localId" : "411", - "name" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "395", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "Equal", - "signature" : [ { - "localId" : "406", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "407", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "408", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "409", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "398", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "399", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "400", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "396", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "value" : 1, - "unit" : "mg", - "type" : "Quantity" - }, - "high" : { - "localId" : "397", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "value" : 5, - "unit" : "mg", - "type" : "Quantity" - } - }, { - "localId" : "403", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "404", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "405", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "401", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "value" : 2, - "unit" : "mg", - "type" : "Quantity" - }, - "high" : { - "localId" : "402", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "value" : 4, - "unit" : "mg", - "type" : "Quantity" - } - } ] - } - } - }, { - "localId" : "414", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "UnequalQuantityOpen", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "414", + "value" : [ "1 ", "'mg'" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "357", "s" : [ { - "value" : [ "","define ","UnequalQuantityOpen",": " ] - }, { - "r" : "430", - "s" : [ { - "r" : "418", - "s" : [ { - "value" : [ "Interval(" ] - }, { - "r" : "416", - "s" : [ { - "value" : [ "1 ","'mg'" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "417", - "s" : [ { - "value" : [ "5 ","'mg'" ] - } ] - }, { - "value" : [ ")" ] - } ] - }, { - "value" : [ " ","!="," " ] - }, { - "r" : "423", - "s" : [ { - "value" : [ "Interval(" ] - }, { - "r" : "421", - "s" : [ { - "value" : [ "2 ","'mg'" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "422", - "s" : [ { - "value" : [ "4 ","'mg'" ] - } ] - }, { - "value" : [ ")" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "430", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "Not", - "signature" : [ { - "localId" : "431", - "name" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "415", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "Equal", - "signature" : [ { - "localId" : "426", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "427", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "428", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "429", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "418", - "lowClosed" : false, - "highClosed" : false, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "419", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "420", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "416", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "value" : 1, - "unit" : "mg", - "type" : "Quantity" - }, - "high" : { - "localId" : "417", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "value" : 5, - "unit" : "mg", - "type" : "Quantity" - } - }, { - "localId" : "423", - "lowClosed" : false, - "highClosed" : false, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "424", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "425", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "421", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "value" : 2, - "unit" : "mg", - "type" : "Quantity" - }, - "high" : { - "localId" : "422", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "value" : 4, - "unit" : "mg", - "type" : "Quantity" - } - } ] - } - } - }, { - "localId" : "434", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "UnequalQuantityClosedOpen", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "434", + "value" : [ "5 ", "'mg'" ] + } ] + }, { + "value" : [ ")" ] + } ] + }, { + "value" : [ " ", "!=", " " ] + }, { + "r" : "363", + "s" : [ { + "value" : [ "Interval(" ] + }, { + "r" : "361", "s" : [ { - "value" : [ "","define ","UnequalQuantityClosedOpen",": " ] - }, { - "r" : "450", - "s" : [ { - "r" : "438", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "436", - "s" : [ { - "value" : [ "1 ","'mg'" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "437", - "s" : [ { - "value" : [ "5 ","'mg'" ] - } ] - }, { - "value" : [ "]" ] - } ] - }, { - "value" : [ " ","!="," " ] - }, { - "r" : "443", - "s" : [ { - "value" : [ "Interval(" ] - }, { - "r" : "441", - "s" : [ { - "value" : [ "2 ","'mg'" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "442", - "s" : [ { - "value" : [ "4 ","'mg'" ] - } ] - }, { - "value" : [ ")" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "450", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "Not", - "signature" : [ { - "localId" : "451", - "name" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "435", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "Equal", - "signature" : [ { - "localId" : "446", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "447", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "448", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "449", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "438", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "439", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "440", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "436", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "value" : 1, - "unit" : "mg", - "type" : "Quantity" - }, - "high" : { - "localId" : "437", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "value" : 5, - "unit" : "mg", - "type" : "Quantity" - } - }, { - "localId" : "443", - "lowClosed" : false, - "highClosed" : false, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "444", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "445", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "441", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "value" : 2, - "unit" : "mg", - "type" : "Quantity" - }, - "high" : { - "localId" : "442", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "value" : 4, - "unit" : "mg", - "type" : "Quantity" - } - } ] - } - } - }, { - "localId" : "454", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "EqualDates", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "454", + "value" : [ "1 ", "'mg'" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "362", "s" : [ { - "value" : [ "","define ","EqualDates",": " ] - }, { - "r" : "562", - "s" : [ { - "r" : "504", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "472", - "s" : [ { - "r" : "456", - "value" : [ "DateTime","(","2012",", ","1",", ","1",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "496", - "s" : [ { - "r" : "480", - "value" : [ "DateTime","(","2013",", ","1",", ","1",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ ")" ] - } ] - }, { - "value" : [ " ","!="," " ] - }, { - "r" : "555", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "523", - "s" : [ { - "r" : "507", - "value" : [ "DateTime","(","2012",", ","1",", ","1",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "547", - "s" : [ { - "r" : "531", - "value" : [ "DateTime","(","2013",", ","1",", ","1",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ ")" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "562", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "Not", - "signature" : [ { - "localId" : "563", - "name" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "455", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "Equal", - "signature" : [ { - "localId" : "558", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "559", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "560", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "561", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "504", - "lowClosed" : true, - "highClosed" : false, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "505", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "506", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "472", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "473", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "474", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "475", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "476", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "477", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "478", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "479", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "456", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "457", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "458", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "459", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "460", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "461", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "462", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - }, - "high" : { - "localId" : "496", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "497", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "498", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "499", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "500", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "501", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "502", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "503", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "480", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2013", - "type" : "Literal" - }, - "month" : { - "localId" : "481", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "482", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "483", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "484", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "485", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "486", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - } - }, { - "localId" : "555", - "lowClosed" : true, - "highClosed" : false, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "556", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "557", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "523", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "524", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "525", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "526", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "527", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "528", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "529", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "530", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "507", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "508", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "509", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "510", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "511", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "512", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "513", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - }, - "high" : { - "localId" : "547", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "548", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "549", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "550", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "551", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "552", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "553", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "554", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "531", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2013", - "type" : "Literal" - }, - "month" : { - "localId" : "532", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "533", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "534", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "535", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "536", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "537", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - } - } ] - } - } - }, { - "localId" : "566", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "EqualDatesOpenClosed", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "566", + "value" : [ "5 ", "'mg'" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Not", + "localId" : "370", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "371", + "name" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ] + } ], + "operand" : { + "type" : "Equal", + "localId" : "355", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "366", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "367", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "368", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "369", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "Interval", + "localId" : "358", + "lowClosed" : false, + "highClosed" : false, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "359", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "360", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } + }, + "low" : { + "type" : "Quantity", + "localId" : "356", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "value" : 1, + "unit" : "mg", + "annotation" : [ ] + }, + "high" : { + "type" : "Quantity", + "localId" : "357", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "value" : 5, + "unit" : "mg", + "annotation" : [ ] + } + }, { + "type" : "Interval", + "localId" : "363", + "lowClosed" : false, + "highClosed" : false, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "364", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "365", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } + }, + "low" : { + "type" : "Quantity", + "localId" : "361", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "value" : 1, + "unit" : "mg", + "annotation" : [ ] + }, + "high" : { + "type" : "Quantity", + "localId" : "362", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "value" : 5, + "unit" : "mg", + "annotation" : [ ] + } + } ] + } + } + }, { + "localId" : "374", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "EqualQuantityOpenClosed", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "374", + "s" : [ { + "value" : [ "", "define ", "EqualQuantityOpenClosed", ": " ] + }, { + "r" : "390", + "s" : [ { + "r" : "378", + "s" : [ { + "value" : [ "Interval(" ] + }, { + "r" : "376", "s" : [ { - "value" : [ "","define ","EqualDatesOpenClosed",": " ] - }, { - "r" : "674", - "s" : [ { - "r" : "616", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "584", - "s" : [ { - "r" : "568", - "value" : [ "DateTime","(","2012",", ","1",", ","1",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "608", - "s" : [ { - "r" : "592", - "value" : [ "DateTime","(","2013",", ","1",", ","1",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ ")" ] - } ] - }, { - "value" : [ " ","!="," " ] - }, { - "r" : "667", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "635", - "s" : [ { - "r" : "619", - "value" : [ "DateTime","(","2012",", ","1",", ","1",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "659", - "s" : [ { - "r" : "643", - "value" : [ "DateTime","(","2012",", ","12",", ","31",", ","23",", ","59",", ","59",", ","999",")" ] - } ] - }, { - "value" : [ "]" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "674", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "Not", - "signature" : [ { - "localId" : "675", - "name" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "567", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "Equal", - "signature" : [ { - "localId" : "670", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "671", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "672", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "673", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "616", - "lowClosed" : true, - "highClosed" : false, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "617", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "618", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "584", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "585", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "586", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "587", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "588", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "589", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "590", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "591", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "568", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "569", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "570", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "571", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "572", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "573", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "574", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - }, - "high" : { - "localId" : "608", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "609", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "610", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "611", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "612", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "613", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "614", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "615", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "592", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2013", - "type" : "Literal" - }, - "month" : { - "localId" : "593", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "594", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "595", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "596", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "597", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "598", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - } - }, { - "localId" : "667", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "668", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "669", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "635", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "636", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "637", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "638", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "639", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "640", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "641", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "642", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "619", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "620", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "621", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "622", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "623", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "624", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "625", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - }, - "high" : { - "localId" : "659", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "660", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "661", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "662", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "663", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "664", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "665", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "666", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "643", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "644", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "12", - "type" : "Literal" - }, - "day" : { - "localId" : "645", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "31", - "type" : "Literal" - }, - "hour" : { - "localId" : "646", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "23", - "type" : "Literal" - }, - "minute" : { - "localId" : "647", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal" - }, - "second" : { - "localId" : "648", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "649", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "999", - "type" : "Literal" - } - } - } ] - } - } - }, { - "localId" : "678", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "SameDays", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "678", + "value" : [ "1 ", "'mg'" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "377", "s" : [ { - "value" : [ "","define ","SameDays",": " ] - }, { - "r" : "738", - "s" : [ { - "r" : "704", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "688", - "s" : [ { - "r" : "680", - "value" : [ "DateTime","(","2012",", ","1",", ","1",")" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "700", - "s" : [ { - "r" : "692", - "value" : [ "DateTime","(","2013",", ","1",", ","1",")" ] - } ] - }, { - "value" : [ ")" ] - } ] - }, { - "value" : [ " ","!="," " ] - }, { - "r" : "731", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "715", - "s" : [ { - "r" : "707", - "value" : [ "DateTime","(","2012",", ","1",", ","1",")" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "727", - "s" : [ { - "r" : "719", - "value" : [ "DateTime","(","2013",", ","1",", ","1",")" ] - } ] - }, { - "value" : [ ")" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "738", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "Not", - "signature" : [ { - "localId" : "739", - "name" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "679", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "Equal", - "signature" : [ { - "localId" : "734", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "735", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "736", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "737", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "704", - "lowClosed" : true, - "highClosed" : false, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "705", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "706", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "688", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "689", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "690", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "691", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "680", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "681", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "682", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - } - }, - "high" : { - "localId" : "700", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "701", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "702", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "703", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "692", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2013", - "type" : "Literal" - }, - "month" : { - "localId" : "693", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "694", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - } - } - }, { - "localId" : "731", - "lowClosed" : true, - "highClosed" : false, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "732", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "733", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "715", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "716", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "717", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "718", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "707", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "708", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "709", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - } - }, - "high" : { - "localId" : "727", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "728", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "729", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "730", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "719", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2013", - "type" : "Literal" - }, - "month" : { - "localId" : "720", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "721", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - } - } - } ] - } - } - }, { - "localId" : "742", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "DifferentDays", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "742", - "s" : [ { - "value" : [ "","define ","DifferentDays",": " ] - }, { - "r" : "802", - "s" : [ { - "r" : "768", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "752", - "s" : [ { - "r" : "744", - "value" : [ "DateTime","(","2012",", ","1",", ","1",")" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "764", - "s" : [ { - "r" : "756", - "value" : [ "DateTime","(","2013",", ","1",", ","1",")" ] - } ] - }, { - "value" : [ ")" ] - } ] - }, { - "value" : [ " ","!="," " ] - }, { - "r" : "795", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "779", - "s" : [ { - "r" : "771", - "value" : [ "DateTime","(","2012",", ","1",", ","1",")" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "791", - "s" : [ { - "r" : "783", - "value" : [ "DateTime","(","2012",", ","7",", ","1",")" ] - } ] - }, { - "value" : [ ")" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "802", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "Not", - "signature" : [ { - "localId" : "803", - "name" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "743", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "Equal", - "signature" : [ { - "localId" : "798", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "799", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "800", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "801", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "768", - "lowClosed" : true, - "highClosed" : false, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "769", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "770", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "752", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "753", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "754", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "755", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "744", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "745", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "746", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - } - }, - "high" : { - "localId" : "764", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "765", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "766", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "767", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "756", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2013", - "type" : "Literal" - }, - "month" : { - "localId" : "757", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "758", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - } - } - }, { - "localId" : "795", - "lowClosed" : true, - "highClosed" : false, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "796", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "797", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "779", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "780", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "781", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "782", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "771", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "772", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "773", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - } - }, - "high" : { - "localId" : "791", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "792", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "793", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "794", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "783", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "784", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "7", - "type" : "Literal" - }, - "day" : { - "localId" : "785", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - } - } - } ] - } - } - }, { - "localId" : "806", + "value" : [ "5 ", "'mg'" ] + } ] + }, { + "value" : [ ")" ] + } ] + }, { + "value" : [ " ", "!=", " " ] + }, { + "r" : "383", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "381", + "s" : [ { + "value" : [ "2 ", "'mg'" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "382", + "s" : [ { + "value" : [ "4 ", "'mg'" ] + } ] + }, { + "value" : [ "]" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Not", + "localId" : "390", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "391", + "name" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ] + } ], + "operand" : { + "type" : "Equal", + "localId" : "375", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "386", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "387", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "388", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "389", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "Interval", + "localId" : "378", + "lowClosed" : false, + "highClosed" : false, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "379", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "380", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } + }, + "low" : { + "type" : "Quantity", + "localId" : "376", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "value" : 1, + "unit" : "mg", + "annotation" : [ ] + }, + "high" : { + "type" : "Quantity", + "localId" : "377", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "value" : 5, + "unit" : "mg", + "annotation" : [ ] + } + }, { + "type" : "Interval", + "localId" : "383", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "384", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "385", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } + }, + "low" : { + "type" : "Quantity", + "localId" : "381", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "value" : 2, + "unit" : "mg", + "annotation" : [ ] + }, + "high" : { + "type" : "Quantity", + "localId" : "382", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "value" : 4, + "unit" : "mg", + "annotation" : [ ] + } + } ] + } + } + }, { + "localId" : "394", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "UnequalQuantityClosed", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "394", + "s" : [ { + "value" : [ "", "define ", "UnequalQuantityClosed", ": " ] + }, { + "r" : "410", + "s" : [ { + "r" : "398", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "396", + "s" : [ { + "value" : [ "1 ", "'mg'" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "397", + "s" : [ { + "value" : [ "5 ", "'mg'" ] + } ] + }, { + "value" : [ "]" ] + } ] + }, { + "value" : [ " ", "!=", " " ] + }, { + "r" : "403", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "401", + "s" : [ { + "value" : [ "2 ", "'mg'" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "402", + "s" : [ { + "value" : [ "4 ", "'mg'" ] + } ] + }, { + "value" : [ "]" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Not", + "localId" : "410", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "411", + "name" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ] + } ], + "operand" : { + "type" : "Equal", + "localId" : "395", "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "DifferingPrecision", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "806", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "406", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "407", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "408", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "409", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "Interval", + "localId" : "398", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "399", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "400", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } + }, + "low" : { + "type" : "Quantity", + "localId" : "396", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "value" : 1, + "unit" : "mg", + "annotation" : [ ] + }, + "high" : { + "type" : "Quantity", + "localId" : "397", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "value" : 5, + "unit" : "mg", + "annotation" : [ ] + } + }, { + "type" : "Interval", + "localId" : "403", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "404", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "405", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } + }, + "low" : { + "type" : "Quantity", + "localId" : "401", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "value" : 2, + "unit" : "mg", + "annotation" : [ ] + }, + "high" : { + "type" : "Quantity", + "localId" : "402", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "value" : 4, + "unit" : "mg", + "annotation" : [ ] + } + } ] + } + } + }, { + "localId" : "414", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "UnequalQuantityOpen", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "414", + "s" : [ { + "value" : [ "", "define ", "UnequalQuantityOpen", ": " ] + }, { + "r" : "430", + "s" : [ { + "r" : "418", + "s" : [ { + "value" : [ "Interval(" ] + }, { + "r" : "416", + "s" : [ { + "value" : [ "1 ", "'mg'" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "417", + "s" : [ { + "value" : [ "5 ", "'mg'" ] + } ] + }, { + "value" : [ ")" ] + } ] + }, { + "value" : [ " ", "!=", " " ] + }, { + "r" : "423", + "s" : [ { + "value" : [ "Interval(" ] + }, { + "r" : "421", "s" : [ { - "value" : [ "","define ","DifferingPrecision",": " ] - }, { - "r" : "896", - "s" : [ { - "r" : "850", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "822", - "s" : [ { - "r" : "808", - "value" : [ "DateTime","(","2012",", ","1",", ","1",", ","12",", ","30",", ","21",")" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "843", - "s" : [ { - "r" : "829", - "value" : [ "DateTime","(","2013",", ","1",", ","1",", ","12",", ","30",", ","21",")" ] - } ] - }, { - "value" : [ "]" ] - } ] - }, { - "value" : [ " ","!="," " ] - }, { - "r" : "889", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "865", - "s" : [ { - "r" : "853", - "value" : [ "DateTime","(","2012",", ","1",", ","1",", ","12",", ","30",")" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "883", - "s" : [ { - "r" : "871", - "value" : [ "DateTime","(","2013",", ","1",", ","1",", ","12",", ","30",")" ] - } ] - }, { - "value" : [ "]" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "896", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "Not", - "signature" : [ { - "localId" : "897", - "name" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "807", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "Equal", - "signature" : [ { - "localId" : "892", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "893", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "894", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "895", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "850", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "851", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "852", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "822", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "823", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "824", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "825", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "826", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "827", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "828", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "808", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "809", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "810", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "811", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "12", - "type" : "Literal" - }, - "minute" : { - "localId" : "812", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "30", - "type" : "Literal" - }, - "second" : { - "localId" : "813", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "21", - "type" : "Literal" - } - }, - "high" : { - "localId" : "843", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "844", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "845", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "846", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "847", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "848", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "849", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "829", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2013", - "type" : "Literal" - }, - "month" : { - "localId" : "830", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "831", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "832", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "12", - "type" : "Literal" - }, - "minute" : { - "localId" : "833", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "30", - "type" : "Literal" - }, - "second" : { - "localId" : "834", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "21", - "type" : "Literal" - } - } - }, { - "localId" : "889", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "890", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "891", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "865", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "866", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "867", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "868", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "869", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "870", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "853", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "854", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "855", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "856", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "12", - "type" : "Literal" - }, - "minute" : { - "localId" : "857", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "30", - "type" : "Literal" - } - }, - "high" : { - "localId" : "883", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "884", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "885", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "886", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "887", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "888", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "871", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2013", - "type" : "Literal" - }, - "month" : { - "localId" : "872", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "873", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "874", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "12", - "type" : "Literal" - }, - "minute" : { - "localId" : "875", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "30", - "type" : "Literal" - } - } - } ] - } - } - } ] - } - } -} - -/* Contains -library TestSnippet version '1' -using Simple version '1.0.0' -context Patient -define ContainsInt: Interval[1, 5] contains 3 -define NotContainsInt: Interval(1, 5] contains 1 -define ContainsReal: Interval[1.234, 3.456] contains 2.345 -define NotContainsReal: Interval[1.234, 3.456] contains 4.567 -define ContainsQuantity: Interval[1 'mg', 5 'mg'] contains 3 'mg' -define ContainsQuantityInclusiveEdge: Interval[1 'mg', 5 'mg'] contains 5 'mg' -define NotContainsQuantity: Interval[2 'mg', 5 'mg'] contains 1 'mg' -define NotContainsQuantityExclusiveEdge: Interval(1 'mg', 5 'mg'] contains 1 'mg' -define DateIvlHighOpen: Interval[DateTime(2012, 3, 1, 0, 0, 0, 0), DateTime(2012, 9, 1, 0, 0, 0, 0)) -define DateIvlHighClosed: Interval[DateTime(2012, 3, 1, 0, 0, 0, 0), DateTime(2012, 9, 1, 0, 0, 0, 0)] -define ContainsDate: DateIvlHighOpen contains DateTime(2012, 6, 1, 0, 0, 0, 0) -define NotContainsDate: DateIvlHighOpen contains DateTime(2012, 9, 1, 0, 0, 0, 0) -define ContainsImpreciseDate: DateIvlHighOpen contains DateTime(2012, 4) -define NotContainsImpreciseDate: DateIvlHighClosed contains DateTime(2012, 10) -define MayContainImpreciseDate: DateIvlHighOpen contains DateTime(2012) -define PrecisionDateIvlHighOpen: Interval[DateTime(2012, 3, 2, 12, 34, 56, 789), DateTime(2012, 9, 2, 1, 23, 45, 678)) -define PrecisionDateIvlHighClosed: Interval[DateTime(2012, 3, 2, 12, 34, 56, 789), DateTime(2012, 9, 2, 1, 23, 45, 678)] -define ContainsDayOfDateLowEdge: PrecisionDateIvlHighOpen contains day of DateTime(2012, 3, 2, 0, 0, 0, 0) -define NotContainsDayOfDateHighEdgeOpen: PrecisionDateIvlHighOpen contains day of DateTime(2012, 9, 2, 23, 59, 59, 999) -define ContainsDayOfDateHighEdgeClosed: PrecisionDateIvlHighClosed contains day of DateTime(2012, 9, 2, 23, 59, 59, 999) -define NotContainsDayOfDateLowEdge: PrecisionDateIvlHighOpen contains day of DateTime(2012, 3, 1, 23, 59, 59, 999) -define NotContainsDayOfDateBeyondHighEdge: PrecisionDateIvlHighOpen contains day of DateTime(2012, 9, 3, 0, 0, 0, 0) -define ContainsDayOfDateImpreciseLowEdge: PrecisionDateIvlHighOpen contains day of DateTime(2012, 3, 2) -define NotContainsDayOfDateImpreciseHighEdgeOpen: PrecisionDateIvlHighOpen contains day of DateTime(2012, 9, 2) -define ContainsDayOfDateImpreciseHighEdgeClosed: PrecisionDateIvlHighClosed contains day of DateTime(2012, 9, 2) -define ContainsDayOfDateVeryImpreciseMiddle: PrecisionDateIvlHighOpen contains day of DateTime(2012, 6) -define NotContainsDayOfDateVeryImpreciseLow: PrecisionDateIvlHighOpen contains day of DateTime(2012, 2) -define NotContainsDayOfDateVeryImpreciseHighEdgeOpen: PrecisionDateIvlHighOpen contains day of DateTime(2012, 10) -define MayContainDayOfDateVeryImpreciseLow: PrecisionDateIvlHighOpen contains day of DateTime(2012, 3) -define MayContainDayOfDateVeryImpreciseHigh: PrecisionDateIvlHighOpen contains day of DateTime(2012, 9) -define MayContainDayOfDateVeryImpreciseSurrounding: PrecisionDateIvlHighOpen contains day of DateTime(2012) -define ImpDateIvl: Interval[DateTime(2012, 3), DateTime(2012, 8)] -define ImpreciseContainsDate: ImpDateIvl contains DateTime(2012, 6, 1, 0, 0, 0, 0) -define ImpreciseNotContainsDate: ImpDateIvl contains DateTime(2012, 9, 1, 0, 0, 0, 0) -define ImpreciseMayContainDate: ImpDateIvl contains DateTime(2012, 3, 15, 0, 0, 0, 0) -define NegInfBegContainsInt: Interval[null, 5] contains -7 -define NegInfBegNotContainsInt: Interval[null, 5] contains 7 -define UnknownOpenBegContainsInt: Interval(null, 5] contains 5 -define UnknownClosedBegContainsInt: Interval[null, 5] contains 5 -define UnknownBegMayContainInt: Interval(null, 5] contains -7 -define UnknownBegNotContainsInt: Interval(null, 5] contains 7 -define PosInfEndContainsInt: Interval[0, null] contains 123456789 -define PosInfEndNotContainsInt: Interval[0, null] contains -1 -define UnknownOpenEndContainsInt: Interval[0, null) contains 0 -define UnknownClosedEndContainsInt: Interval[0, null] contains 0 -define UnknownEndMayContainInt: Interval[0, null) contains 123456789 -define UnknownEndNotContainsInt: Interval[0, null) contains -1 -define NegInfBegContainsDate: Interval[null, DateTime(2013, 1, 1, 0, 0, 0, 0)) contains DateTime(1, 1, 1, 0, 0, 0, 0) -define NegInfBegNotContainsDate: Interval[null, DateTime(2013, 1, 1, 0, 0, 0, 0)) contains DateTime(2013, 1, 2, 0, 0, 0, 0) -define UnknownOpenBegMayContainDate: Interval(null, DateTime(2013, 1, 1, 0, 0, 0, 0)) contains DateTime(2012, 12, 31, 23, 59, 59, 999) -define UnknownClosedBegContainsDate: Interval[null, DateTime(2013, 1, 1, 0, 0, 0, 0)) contains DateTime(2012, 12, 31, 23, 59, 59, 999) -define UnknownBegMayContainDate: Interval(null, DateTime(2013, 1, 1, 0, 0, 0, 0)) contains DateTime(1, 1, 1, 0, 0, 0, 0) -define UnknownBegNotContainsDate: Interval(null, DateTime(2013, 1, 1, 0, 0, 0, 0)) contains DateTime(2013, 1, 2, 0, 0, 0, 0) -define PosInfEndContainsDate: Interval[DateTime(2013, 1, 1, 0, 0, 0, 0), null] contains DateTime(2014, 1, 1, 0, 0, 0, 0) -define PosInfEndNotContainsDate: Interval[DateTime(2013, 1, 1, 0, 0, 0, 0), null] contains DateTime(2012, 1, 1, 0, 0, 0, 0) -define UnknownOpenEndContainsDate: Interval[DateTime(2013, 1, 1, 0, 0, 0, 0), null) contains DateTime(2013, 1, 1, 0, 0, 0, 0) -define UnknownClosedEndContainsDate: Interval[DateTime(2013, 1, 1, 0, 0, 0, 0), null] contains DateTime(2013, 1, 1, 0, 0, 0, 0) -define UnknownEndMayContainDate: Interval[DateTime(2013, 1, 1, 0, 0, 0, 0), null) contains DateTime(2014, 1, 1, 0, 0, 0, 0) -define UnknownEndNotContainsDate: Interval[DateTime(2013, 1, 1, 0, 0, 0, 0), null) contains DateTime(2012, 1, 1, 0, 0, 0, 0) -*/ - -module.exports['Contains'] = { - "library" : { - "localId" : "0", - "annotation" : [ { - "translatorVersion" : "3.27.0", - "translatorOptions" : "EnableDateRangeOptimization,EnableAnnotations,EnableResultTypes", - "signatureLevel" : "All", - "type" : "CqlToElmInfo" - }, { - "type" : "Annotation", - "s" : { - "r" : "1975", + "value" : [ "2 ", "'mg'" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "422", + "s" : [ { + "value" : [ "4 ", "'mg'" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Not", + "localId" : "430", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "431", + "name" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ] + } ], + "operand" : { + "type" : "Equal", + "localId" : "415", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "426", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "427", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "428", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "429", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "Interval", + "localId" : "418", + "lowClosed" : false, + "highClosed" : false, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "419", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "420", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } + }, + "low" : { + "type" : "Quantity", + "localId" : "416", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "value" : 1, + "unit" : "mg", + "annotation" : [ ] + }, + "high" : { + "type" : "Quantity", + "localId" : "417", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "value" : 5, + "unit" : "mg", + "annotation" : [ ] + } + }, { + "type" : "Interval", + "localId" : "423", + "lowClosed" : false, + "highClosed" : false, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "424", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "425", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } + }, + "low" : { + "type" : "Quantity", + "localId" : "421", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "value" : 2, + "unit" : "mg", + "annotation" : [ ] + }, + "high" : { + "type" : "Quantity", + "localId" : "422", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "value" : 4, + "unit" : "mg", + "annotation" : [ ] + } + } ] + } + } + }, { + "localId" : "434", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "UnequalQuantityClosedOpen", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "434", "s" : [ { - "value" : [ "","library TestSnippet version '1'" ] - } ] - } - } ], - "identifier" : { - "id" : "TestSnippet", - "version" : "1" - }, - "schemaIdentifier" : { - "id" : "urn:hl7-org:elm", - "version" : "r1" - }, - "usings" : { - "def" : [ { - "localId" : "1", - "localIdentifier" : "System", - "uri" : "urn:hl7-org:elm-types:r1" - }, { - "localId" : "206", - "localIdentifier" : "Simple", - "uri" : "https://github.com/cqframework/cql-execution/simple", - "version" : "1.0.0", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "206", - "s" : [ { - "value" : [ "","using " ] - }, { - "s" : [ { - "value" : [ "Simple" ] - } ] - }, { - "value" : [ " version '1.0.0'" ] - } ] - } - } ] - } ] - }, - "contexts" : { - "def" : [ { - "localId" : "211", - "name" : "Patient" - } ] - }, - "statements" : { - "def" : [ { - "localId" : "209", - "name" : "Patient", - "context" : "Patient", - "expression" : { - "localId" : "210", - "type" : "SingletonFrom", - "signature" : [ ], - "operand" : { - "localId" : "208", - "dataType" : "{https://github.com/cqframework/cql-execution/simple}Patient", - "type" : "Retrieve", - "include" : [ ], - "codeFilter" : [ ], - "dateFilter" : [ ], - "otherFilter" : [ ] - } - } - }, { - "localId" : "214", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "ContainsInt", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "214", - "s" : [ { - "value" : [ "","define ","ContainsInt",": " ] - }, { - "r" : "221", - "s" : [ { - "r" : "217", - "s" : [ { - "r" : "215", - "value" : [ "Interval[","1",", ","5","]" ] - } ] - }, { - "r" : "220", - "value" : [ " contains ","3" ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "221", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "Contains", - "signature" : [ { - "localId" : "222", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "223", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "224", + "value" : [ "", "define ", "UnequalQuantityClosedOpen", ": " ] + }, { + "r" : "450", + "s" : [ { + "r" : "438", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "436", + "s" : [ { + "value" : [ "1 ", "'mg'" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "437", + "s" : [ { + "value" : [ "5 ", "'mg'" ] + } ] + }, { + "value" : [ "]" ] + } ] + }, { + "value" : [ " ", "!=", " " ] + }, { + "r" : "443", + "s" : [ { + "value" : [ "Interval(" ] + }, { + "r" : "441", + "s" : [ { + "value" : [ "2 ", "'mg'" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "442", + "s" : [ { + "value" : [ "4 ", "'mg'" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Not", + "localId" : "450", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "451", + "name" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ] + } ], + "operand" : { + "type" : "Equal", + "localId" : "435", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "446", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "447", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "448", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "449", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "Interval", + "localId" : "438", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "439", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "440", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } + }, + "low" : { + "type" : "Quantity", + "localId" : "436", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "value" : 1, + "unit" : "mg", + "annotation" : [ ] + }, + "high" : { + "type" : "Quantity", + "localId" : "437", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "value" : 5, + "unit" : "mg", + "annotation" : [ ] + } + }, { + "type" : "Interval", + "localId" : "443", + "lowClosed" : false, + "highClosed" : false, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "444", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "445", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } + }, + "low" : { + "type" : "Quantity", + "localId" : "441", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "value" : 2, + "unit" : "mg", + "annotation" : [ ] + }, + "high" : { + "type" : "Quantity", + "localId" : "442", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "value" : 4, + "unit" : "mg", + "annotation" : [ ] + } + } ] + } + } + }, { + "localId" : "454", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "EqualDates", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "454", + "s" : [ { + "value" : [ "", "define ", "EqualDates", ": " ] + }, { + "r" : "562", + "s" : [ { + "r" : "504", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "472", + "s" : [ { + "r" : "456", + "value" : [ "DateTime", "(", "2012", ", ", "1", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "496", + "s" : [ { + "r" : "480", + "value" : [ "DateTime", "(", "2013", ", ", "1", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ ")" ] + } ] + }, { + "value" : [ " ", "!=", " " ] + }, { + "r" : "555", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "523", + "s" : [ { + "r" : "507", + "value" : [ "DateTime", "(", "2012", ", ", "1", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "547", + "s" : [ { + "r" : "531", + "value" : [ "DateTime", "(", "2013", ", ", "1", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Not", + "localId" : "562", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "563", + "name" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ] + } ], + "operand" : { + "type" : "Equal", + "localId" : "455", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "558", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "559", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "560", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "561", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "Interval", + "localId" : "504", + "lowClosed" : true, + "highClosed" : false, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "505", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "506", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "DateTime", + "localId" : "472", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "473", "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "217", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "218", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "219", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "215", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "high" : { - "localId" : "216", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal" - } - }, { - "localId" : "220", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "474", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "475", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "476", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "477", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "478", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "479", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "456", "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - } ] - } - }, { - "localId" : "227", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "NotContainsInt", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "227", - "s" : [ { - "value" : [ "","define ","NotContainsInt",": " ] - }, { - "r" : "234", - "s" : [ { - "r" : "230", - "s" : [ { - "r" : "228", - "value" : [ "Interval(","1",", ","5","]" ] - } ] - }, { - "r" : "233", - "value" : [ " contains ","1" ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "234", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "Contains", - "signature" : [ { - "localId" : "235", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "236", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "237", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "457", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "458", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "459", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "460", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "461", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "462", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "496", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "497", "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "230", - "lowClosed" : false, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "231", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "232", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "228", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "high" : { - "localId" : "229", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal" - } - }, { - "localId" : "233", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "498", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "499", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "500", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "501", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "502", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "503", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "480", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2013", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "481", "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", "valueType" : "{urn:hl7-org:elm-types:r1}Integer", "value" : "1", - "type" : "Literal" - } ] - } - }, { - "localId" : "240", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "ContainsReal", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "240", - "s" : [ { - "value" : [ "","define ","ContainsReal",": " ] - }, { - "r" : "247", - "s" : [ { - "r" : "243", - "s" : [ { - "r" : "241", - "value" : [ "Interval[","1.234",", ","3.456","]" ] - } ] - }, { - "r" : "246", - "value" : [ " contains ","2.345" ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "247", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "Contains", - "signature" : [ { - "localId" : "248", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "249", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "250", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "243", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "244", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "245", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "241", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "1.234", - "type" : "Literal" - }, - "high" : { - "localId" : "242", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "3.456", - "type" : "Literal" - } - }, { - "localId" : "246", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "2.345", - "type" : "Literal" - } ] - } - }, { - "localId" : "253", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "NotContainsReal", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "253", - "s" : [ { - "value" : [ "","define ","NotContainsReal",": " ] - }, { - "r" : "260", - "s" : [ { - "r" : "256", - "s" : [ { - "r" : "254", - "value" : [ "Interval[","1.234",", ","3.456","]" ] - } ] - }, { - "r" : "259", - "value" : [ " contains ","4.567" ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "260", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "Contains", - "signature" : [ { - "localId" : "261", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "262", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "263", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "256", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "257", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "258", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "254", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "1.234", - "type" : "Literal" - }, - "high" : { - "localId" : "255", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "3.456", - "type" : "Literal" - } - }, { - "localId" : "259", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "4.567", - "type" : "Literal" - } ] - } - }, { - "localId" : "266", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "ContainsQuantity", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "266", - "s" : [ { - "value" : [ "","define ","ContainsQuantity",": " ] - }, { - "r" : "273", - "s" : [ { - "r" : "269", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "267", - "s" : [ { - "value" : [ "1 ","'mg'" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "268", - "s" : [ { - "value" : [ "5 ","'mg'" ] - } ] - }, { - "value" : [ "]" ] - } ] - }, { - "value" : [ " contains " ] - }, { - "r" : "272", - "s" : [ { - "value" : [ "3 ","'mg'" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "273", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "Contains", - "signature" : [ { - "localId" : "274", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "275", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "276", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "269", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "270", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "271", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "267", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "value" : 1, - "unit" : "mg", - "type" : "Quantity" - }, - "high" : { - "localId" : "268", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "value" : 5, - "unit" : "mg", - "type" : "Quantity" - } - }, { - "localId" : "272", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "value" : 3, - "unit" : "mg", - "type" : "Quantity" - } ] - } - }, { - "localId" : "279", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "ContainsQuantityInclusiveEdge", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "279", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "482", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "483", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "484", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "485", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "486", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + } + }, { + "type" : "Interval", + "localId" : "555", + "lowClosed" : true, + "highClosed" : false, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "556", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "557", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "DateTime", + "localId" : "523", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "524", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "525", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "526", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "527", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "528", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "529", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "530", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "507", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "508", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "509", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "510", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "511", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "512", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "513", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "547", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "548", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "549", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "550", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "551", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "552", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "553", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "554", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "531", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2013", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "532", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "533", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "534", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "535", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "536", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "537", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + } + } ] + } + } + }, { + "localId" : "566", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "EqualDatesOpenClosed", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "566", + "s" : [ { + "value" : [ "", "define ", "EqualDatesOpenClosed", ": " ] + }, { + "r" : "674", + "s" : [ { + "r" : "616", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "584", "s" : [ { - "value" : [ "","define ","ContainsQuantityInclusiveEdge",": " ] - }, { - "r" : "286", - "s" : [ { - "r" : "282", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "280", - "s" : [ { - "value" : [ "1 ","'mg'" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "281", - "s" : [ { - "value" : [ "5 ","'mg'" ] - } ] - }, { - "value" : [ "]" ] - } ] - }, { - "value" : [ " contains " ] - }, { - "r" : "285", - "s" : [ { - "value" : [ "5 ","'mg'" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "286", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "Contains", - "signature" : [ { - "localId" : "287", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "288", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "289", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "282", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "283", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "284", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "280", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "value" : 1, - "unit" : "mg", - "type" : "Quantity" - }, - "high" : { - "localId" : "281", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "value" : 5, - "unit" : "mg", - "type" : "Quantity" - } - }, { - "localId" : "285", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "value" : 5, - "unit" : "mg", - "type" : "Quantity" - } ] - } - }, { - "localId" : "292", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "NotContainsQuantity", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "292", + "r" : "568", + "value" : [ "DateTime", "(", "2012", ", ", "1", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "608", "s" : [ { - "value" : [ "","define ","NotContainsQuantity",": " ] - }, { - "r" : "299", - "s" : [ { - "r" : "295", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "293", - "s" : [ { - "value" : [ "2 ","'mg'" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "294", - "s" : [ { - "value" : [ "5 ","'mg'" ] - } ] - }, { - "value" : [ "]" ] - } ] - }, { - "value" : [ " contains " ] - }, { - "r" : "298", - "s" : [ { - "value" : [ "1 ","'mg'" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "299", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "Contains", - "signature" : [ { - "localId" : "300", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "301", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "302", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "295", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "296", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "297", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "293", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "value" : 2, - "unit" : "mg", - "type" : "Quantity" - }, - "high" : { - "localId" : "294", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "value" : 5, - "unit" : "mg", - "type" : "Quantity" - } - }, { - "localId" : "298", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "value" : 1, - "unit" : "mg", - "type" : "Quantity" - } ] - } - }, { - "localId" : "305", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "NotContainsQuantityExclusiveEdge", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "305", + "r" : "592", + "value" : [ "DateTime", "(", "2013", ", ", "1", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ ")" ] + } ] + }, { + "value" : [ " ", "!=", " " ] + }, { + "r" : "667", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "635", "s" : [ { - "value" : [ "","define ","NotContainsQuantityExclusiveEdge",": " ] - }, { - "r" : "312", - "s" : [ { - "r" : "308", - "s" : [ { - "value" : [ "Interval(" ] - }, { - "r" : "306", - "s" : [ { - "value" : [ "1 ","'mg'" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "307", - "s" : [ { - "value" : [ "5 ","'mg'" ] - } ] - }, { - "value" : [ "]" ] - } ] - }, { - "value" : [ " contains " ] - }, { - "r" : "311", - "s" : [ { - "value" : [ "1 ","'mg'" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "312", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "Contains", - "signature" : [ { - "localId" : "313", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "314", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "315", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "308", - "lowClosed" : false, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "309", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "310", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "306", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "value" : 1, - "unit" : "mg", - "type" : "Quantity" - }, - "high" : { - "localId" : "307", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "value" : 5, - "unit" : "mg", - "type" : "Quantity" - } - }, { - "localId" : "311", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "value" : 1, - "unit" : "mg", - "type" : "Quantity" - } ] - } - }, { - "localId" : "318", - "name" : "DateIvlHighOpen", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "318", + "r" : "619", + "value" : [ "DateTime", "(", "2012", ", ", "1", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "659", "s" : [ { - "value" : [ "","define ","DateIvlHighOpen",": " ] - }, { - "r" : "367", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "335", - "s" : [ { - "r" : "319", - "value" : [ "DateTime","(","2012",", ","3",", ","1",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "359", - "s" : [ { - "r" : "343", - "value" : [ "DateTime","(","2012",", ","9",", ","1",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ ")" ] - } ] - } ] - } - } ], - "resultTypeSpecifier" : { - "localId" : "370", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "371", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "expression" : { - "localId" : "367", - "lowClosed" : true, - "highClosed" : false, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "368", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "369", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "335", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "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" - }, { - "localId" : "338", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "339", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "340", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "341", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "342", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "319", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "320", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "321", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "322", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "323", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "324", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "325", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - }, - "high" : { - "localId" : "359", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "360", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "361", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "362", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "363", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "364", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "365", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "366", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "343", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "344", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "9", - "type" : "Literal" - }, - "day" : { - "localId" : "345", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "346", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "347", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "348", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "349", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - } - } - }, { - "localId" : "374", - "name" : "DateIvlHighClosed", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "374", - "s" : [ { - "value" : [ "","define ","DateIvlHighClosed",": " ] - }, { - "r" : "423", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "391", - "s" : [ { - "r" : "375", - "value" : [ "DateTime","(","2012",", ","3",", ","1",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "415", - "s" : [ { - "r" : "399", - "value" : [ "DateTime","(","2012",", ","9",", ","1",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ "]" ] - } ] - } ] - } - } ], - "resultTypeSpecifier" : { - "localId" : "426", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "427", + "r" : "643", + "value" : [ "DateTime", "(", "2012", ", ", "12", ", ", "31", ", ", "23", ", ", "59", ", ", "59", ", ", "999", ")" ] + } ] + }, { + "value" : [ "]" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Not", + "localId" : "674", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "675", + "name" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ] + } ], + "operand" : { + "type" : "Equal", + "localId" : "567", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "670", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "671", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "672", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "673", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "Interval", + "localId" : "616", + "lowClosed" : true, + "highClosed" : false, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "617", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "618", "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "expression" : { - "localId" : "423", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "424", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "425", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "391", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "392", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "393", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "394", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "395", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "396", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "397", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "398", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "375", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "376", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "377", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "378", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "379", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "380", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "381", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - }, - "high" : { - "localId" : "415", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "416", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "417", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "418", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "419", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "420", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "421", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "422", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "399", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "400", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "9", - "type" : "Literal" - }, - "day" : { - "localId" : "401", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "402", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "403", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "404", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "405", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - } - } - }, { - "localId" : "430", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "ContainsDate", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "430", - "s" : [ { - "value" : [ "","define ","ContainsDate",": " ] - }, { - "r" : "458", - "s" : [ { - "r" : "431", - "s" : [ { - "value" : [ "DateIvlHighOpen" ] - } ] - }, { - "value" : [ " contains " ] - }, { - "r" : "450", - "s" : [ { - "r" : "434", - "value" : [ "DateTime","(","2012",", ","6",", ","1",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "458", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "Contains", - "signature" : [ { - "localId" : "459", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "460", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "461", + "annotation" : [ ] + } + }, + "low" : { + "type" : "DateTime", + "localId" : "584", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "585", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "586", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "587", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "588", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "589", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "590", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "591", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "568", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "569", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "570", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "571", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "572", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "573", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "574", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "608", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "609", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "610", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "611", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "612", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "613", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "614", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "615", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "592", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2013", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "593", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "594", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "595", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "596", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "597", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "598", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + } + }, { + "type" : "Interval", + "localId" : "667", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "668", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "669", "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "431", - "name" : "DateIvlHighOpen", - "type" : "ExpressionRef", - "resultTypeSpecifier" : { - "localId" : "432", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "433", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - }, { - "localId" : "450", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "451", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "452", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "453", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "454", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "455", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "456", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "457", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "434", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "435", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "6", - "type" : "Literal" - }, - "day" : { - "localId" : "436", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "437", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "438", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "439", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "440", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - } ] - } - }, { - "localId" : "464", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "NotContainsDate", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "464", - "s" : [ { - "value" : [ "","define ","NotContainsDate",": " ] - }, { - "r" : "492", - "s" : [ { - "r" : "465", - "s" : [ { - "value" : [ "DateIvlHighOpen" ] - } ] - }, { - "value" : [ " contains " ] - }, { - "r" : "484", - "s" : [ { - "r" : "468", - "value" : [ "DateTime","(","2012",", ","9",", ","1",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "492", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "Contains", - "signature" : [ { - "localId" : "493", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "494", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "495", + "annotation" : [ ] + } + }, + "low" : { + "type" : "DateTime", + "localId" : "635", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "636", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "637", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "638", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "639", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "640", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "641", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "642", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "619", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "620", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "621", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "622", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "623", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "624", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "625", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "659", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "660", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "661", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "662", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "663", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "664", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "665", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "666", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "643", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "644", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "12", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "645", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "31", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "646", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "23", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "647", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "59", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "648", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "59", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "649", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "999", + "annotation" : [ ] + } + } + } ] + } + } + }, { + "localId" : "678", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "SameDays", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "678", + "s" : [ { + "value" : [ "", "define ", "SameDays", ": " ] + }, { + "r" : "738", + "s" : [ { + "r" : "704", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "688", + "s" : [ { + "r" : "680", + "value" : [ "DateTime", "(", "2012", ", ", "1", ", ", "1", ")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "700", + "s" : [ { + "r" : "692", + "value" : [ "DateTime", "(", "2013", ", ", "1", ", ", "1", ")" ] + } ] + }, { + "value" : [ ")" ] + } ] + }, { + "value" : [ " ", "!=", " " ] + }, { + "r" : "731", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "715", + "s" : [ { + "r" : "707", + "value" : [ "DateTime", "(", "2012", ", ", "1", ", ", "1", ")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "727", + "s" : [ { + "r" : "719", + "value" : [ "DateTime", "(", "2013", ", ", "1", ", ", "1", ")" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Not", + "localId" : "738", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "739", + "name" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ] + } ], + "operand" : { + "type" : "Equal", + "localId" : "679", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "734", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "735", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "736", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "737", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "Interval", + "localId" : "704", + "lowClosed" : true, + "highClosed" : false, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "705", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "706", "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "465", - "name" : "DateIvlHighOpen", - "type" : "ExpressionRef", - "resultTypeSpecifier" : { - "localId" : "466", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "467", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - }, { - "localId" : "484", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "485", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "486", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "487", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "488", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "489", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "490", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "491", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "468", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "469", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "9", - "type" : "Literal" - }, - "day" : { - "localId" : "470", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "471", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "472", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "473", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "474", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - } ] - } - }, { - "localId" : "498", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "ContainsImpreciseDate", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "498", - "s" : [ { - "value" : [ "","define ","ContainsImpreciseDate",": " ] - }, { - "r" : "511", - "s" : [ { - "r" : "499", - "s" : [ { - "value" : [ "DateIvlHighOpen" ] - } ] - }, { - "value" : [ " contains " ] - }, { - "r" : "508", - "s" : [ { - "r" : "502", - "value" : [ "DateTime","(","2012",", ","4",")" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "511", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "Contains", - "signature" : [ { - "localId" : "512", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "513", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "514", + "annotation" : [ ] + } + }, + "low" : { + "type" : "DateTime", + "localId" : "688", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "689", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "690", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "691", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "680", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "681", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "682", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "700", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "701", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "702", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "703", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "692", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2013", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "693", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "694", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + } + } + }, { + "type" : "Interval", + "localId" : "731", + "lowClosed" : true, + "highClosed" : false, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "732", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "733", "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "499", - "name" : "DateIvlHighOpen", - "type" : "ExpressionRef", - "resultTypeSpecifier" : { - "localId" : "500", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "501", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - }, { - "localId" : "508", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "509", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "510", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "502", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "503", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "4", - "type" : "Literal" - } - } ] - } - }, { - "localId" : "517", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "NotContainsImpreciseDate", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "517", - "s" : [ { - "value" : [ "","define ","NotContainsImpreciseDate",": " ] - }, { - "r" : "530", - "s" : [ { - "r" : "518", - "s" : [ { - "value" : [ "DateIvlHighClosed" ] - } ] - }, { - "value" : [ " contains " ] - }, { - "r" : "527", - "s" : [ { - "r" : "521", - "value" : [ "DateTime","(","2012",", ","10",")" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "530", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "Contains", - "signature" : [ { - "localId" : "531", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "532", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "533", + "annotation" : [ ] + } + }, + "low" : { + "type" : "DateTime", + "localId" : "715", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "716", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "717", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "718", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "707", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "708", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "709", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "727", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "728", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "729", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "730", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "719", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2013", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "720", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "721", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + } + } + } ] + } + } + }, { + "localId" : "742", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "DifferentDays", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "742", + "s" : [ { + "value" : [ "", "define ", "DifferentDays", ": " ] + }, { + "r" : "802", + "s" : [ { + "r" : "768", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "752", + "s" : [ { + "r" : "744", + "value" : [ "DateTime", "(", "2012", ", ", "1", ", ", "1", ")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "764", + "s" : [ { + "r" : "756", + "value" : [ "DateTime", "(", "2013", ", ", "1", ", ", "1", ")" ] + } ] + }, { + "value" : [ ")" ] + } ] + }, { + "value" : [ " ", "!=", " " ] + }, { + "r" : "795", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "779", + "s" : [ { + "r" : "771", + "value" : [ "DateTime", "(", "2012", ", ", "1", ", ", "1", ")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "791", + "s" : [ { + "r" : "783", + "value" : [ "DateTime", "(", "2012", ", ", "7", ", ", "1", ")" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Not", + "localId" : "802", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "803", + "name" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ] + } ], + "operand" : { + "type" : "Equal", + "localId" : "743", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "798", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "799", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "800", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "801", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "Interval", + "localId" : "768", + "lowClosed" : true, + "highClosed" : false, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "769", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "770", "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "518", - "name" : "DateIvlHighClosed", - "type" : "ExpressionRef", - "resultTypeSpecifier" : { - "localId" : "519", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "520", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - }, { - "localId" : "527", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "528", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "529", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "521", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "522", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal" - } - } ] - } - }, { - "localId" : "536", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "MayContainImpreciseDate", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "536", - "s" : [ { - "value" : [ "","define ","MayContainImpreciseDate",": " ] - }, { - "r" : "546", - "s" : [ { - "r" : "537", - "s" : [ { - "value" : [ "DateIvlHighOpen" ] - } ] - }, { - "value" : [ " contains " ] - }, { - "r" : "544", - "s" : [ { - "r" : "540", - "value" : [ "DateTime","(","2012",")" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "546", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "Contains", - "signature" : [ { - "localId" : "547", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "548", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "549", + "annotation" : [ ] + } + }, + "low" : { + "type" : "DateTime", + "localId" : "752", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "753", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "754", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "755", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "744", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "745", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "746", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "764", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "765", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "766", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "767", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "756", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2013", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "757", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "758", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + } + } + }, { + "type" : "Interval", + "localId" : "795", + "lowClosed" : true, + "highClosed" : false, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "796", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "797", "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "537", - "name" : "DateIvlHighOpen", - "type" : "ExpressionRef", - "resultTypeSpecifier" : { - "localId" : "538", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "539", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - }, { - "localId" : "544", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "545", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "540", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - } - } ] - } - }, { - "localId" : "552", - "name" : "PrecisionDateIvlHighOpen", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "552", + "annotation" : [ ] + } + }, + "low" : { + "type" : "DateTime", + "localId" : "779", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "780", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "781", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "782", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "771", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "772", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "773", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "791", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "792", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "793", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "794", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "783", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "784", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "7", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "785", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + } + } + } ] + } + } + }, { + "localId" : "806", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "DifferingPrecision", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "806", + "s" : [ { + "value" : [ "", "define ", "DifferingPrecision", ": " ] + }, { + "r" : "896", + "s" : [ { + "r" : "850", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "822", + "s" : [ { + "r" : "808", + "value" : [ "DateTime", "(", "2012", ", ", "1", ", ", "1", ", ", "12", ", ", "30", ", ", "21", ")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "843", + "s" : [ { + "r" : "829", + "value" : [ "DateTime", "(", "2013", ", ", "1", ", ", "1", ", ", "12", ", ", "30", ", ", "21", ")" ] + } ] + }, { + "value" : [ "]" ] + } ] + }, { + "value" : [ " ", "!=", " " ] + }, { + "r" : "889", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "865", + "s" : [ { + "r" : "853", + "value" : [ "DateTime", "(", "2012", ", ", "1", ", ", "1", ", ", "12", ", ", "30", ")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "883", "s" : [ { - "value" : [ "","define ","PrecisionDateIvlHighOpen",": " ] - }, { - "r" : "601", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "569", - "s" : [ { - "r" : "553", - "value" : [ "DateTime","(","2012",", ","3",", ","2",", ","12",", ","34",", ","56",", ","789",")" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "593", - "s" : [ { - "r" : "577", - "value" : [ "DateTime","(","2012",", ","9",", ","2",", ","1",", ","23",", ","45",", ","678",")" ] - } ] - }, { - "value" : [ ")" ] - } ] - } ] - } - } ], - "resultTypeSpecifier" : { - "localId" : "604", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "605", + "r" : "871", + "value" : [ "DateTime", "(", "2013", ", ", "1", ", ", "1", ", ", "12", ", ", "30", ")" ] + } ] + }, { + "value" : [ "]" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Not", + "localId" : "896", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "897", + "name" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ] + } ], + "operand" : { + "type" : "Equal", + "localId" : "807", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "892", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "893", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "894", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "895", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "Interval", + "localId" : "850", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "851", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "852", "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "expression" : { - "localId" : "601", - "lowClosed" : true, - "highClosed" : false, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "602", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "603", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "569", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "570", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "571", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "572", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "573", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "574", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "575", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "576", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "553", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "554", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "555", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal" - }, - "hour" : { - "localId" : "556", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "12", - "type" : "Literal" - }, - "minute" : { - "localId" : "557", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "34", - "type" : "Literal" - }, - "second" : { - "localId" : "558", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "56", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "559", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "789", - "type" : "Literal" - } - }, - "high" : { - "localId" : "593", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "594", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "595", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "596", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "597", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "598", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "599", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "600", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "577", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "578", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "9", - "type" : "Literal" - }, - "day" : { - "localId" : "579", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal" - }, - "hour" : { - "localId" : "580", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "minute" : { - "localId" : "581", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "23", - "type" : "Literal" - }, - "second" : { - "localId" : "582", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "45", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "583", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "678", - "type" : "Literal" - } - } - } - }, { - "localId" : "608", - "name" : "PrecisionDateIvlHighClosed", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "608", - "s" : [ { - "value" : [ "","define ","PrecisionDateIvlHighClosed",": " ] - }, { - "r" : "657", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "625", - "s" : [ { - "r" : "609", - "value" : [ "DateTime","(","2012",", ","3",", ","2",", ","12",", ","34",", ","56",", ","789",")" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "649", - "s" : [ { - "r" : "633", - "value" : [ "DateTime","(","2012",", ","9",", ","2",", ","1",", ","23",", ","45",", ","678",")" ] - } ] - }, { - "value" : [ "]" ] - } ] - } ] - } - } ], - "resultTypeSpecifier" : { - "localId" : "660", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "661", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "expression" : { - "localId" : "657", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "658", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "659", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "625", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "626", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "627", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "628", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "629", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "630", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "631", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "632", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "609", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "610", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "611", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal" - }, - "hour" : { - "localId" : "612", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "12", - "type" : "Literal" - }, - "minute" : { - "localId" : "613", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "34", - "type" : "Literal" - }, - "second" : { - "localId" : "614", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "56", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "615", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "789", - "type" : "Literal" - } - }, - "high" : { - "localId" : "649", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "650", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "651", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "652", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "653", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "654", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "655", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "656", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "633", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "634", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "9", - "type" : "Literal" - }, - "day" : { - "localId" : "635", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal" - }, - "hour" : { - "localId" : "636", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "minute" : { - "localId" : "637", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "23", - "type" : "Literal" - }, - "second" : { - "localId" : "638", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "45", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "639", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "678", - "type" : "Literal" - } - } - } - }, { - "localId" : "664", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "ContainsDayOfDateLowEdge", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "664", - "s" : [ { - "value" : [ "","define ","ContainsDayOfDateLowEdge",": " ] - }, { - "r" : "665", - "s" : [ { - "r" : "666", - "s" : [ { - "value" : [ "PrecisionDateIvlHighOpen" ] - } ] - }, { - "value" : [ " contains day of " ] - }, { - "r" : "685", - "s" : [ { - "r" : "669", - "value" : [ "DateTime","(","2012",", ","3",", ","2",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "665", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "precision" : "Day", - "type" : "Contains", - "signature" : [ { - "localId" : "693", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "694", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "695", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "666", - "name" : "PrecisionDateIvlHighOpen", - "type" : "ExpressionRef", - "resultTypeSpecifier" : { - "localId" : "667", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "668", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - }, { - "localId" : "685", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "686", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "687", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "688", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "689", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "690", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "691", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "692", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "669", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "670", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "671", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal" - }, - "hour" : { - "localId" : "672", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "673", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "674", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "675", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - } ] - } - }, { - "localId" : "698", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "NotContainsDayOfDateHighEdgeOpen", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "698", - "s" : [ { - "value" : [ "","define ","NotContainsDayOfDateHighEdgeOpen",": " ] - }, { - "r" : "699", - "s" : [ { - "r" : "700", - "s" : [ { - "value" : [ "PrecisionDateIvlHighOpen" ] - } ] - }, { - "value" : [ " contains day of " ] - }, { - "r" : "719", - "s" : [ { - "r" : "703", - "value" : [ "DateTime","(","2012",", ","9",", ","2",", ","23",", ","59",", ","59",", ","999",")" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "699", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "precision" : "Day", - "type" : "Contains", - "signature" : [ { - "localId" : "727", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "728", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "729", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "700", - "name" : "PrecisionDateIvlHighOpen", - "type" : "ExpressionRef", - "resultTypeSpecifier" : { - "localId" : "701", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "702", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - }, { - "localId" : "719", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "720", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "721", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "722", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "723", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "724", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "725", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "726", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "703", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "704", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "9", - "type" : "Literal" - }, - "day" : { - "localId" : "705", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal" - }, - "hour" : { - "localId" : "706", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "23", - "type" : "Literal" - }, - "minute" : { - "localId" : "707", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal" - }, - "second" : { - "localId" : "708", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "709", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "999", - "type" : "Literal" - } - } ] - } - }, { - "localId" : "732", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "ContainsDayOfDateHighEdgeClosed", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "732", - "s" : [ { - "value" : [ "","define ","ContainsDayOfDateHighEdgeClosed",": " ] - }, { - "r" : "733", - "s" : [ { - "r" : "734", - "s" : [ { - "value" : [ "PrecisionDateIvlHighClosed" ] - } ] - }, { - "value" : [ " contains day of " ] - }, { - "r" : "753", - "s" : [ { - "r" : "737", - "value" : [ "DateTime","(","2012",", ","9",", ","2",", ","23",", ","59",", ","59",", ","999",")" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "733", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "precision" : "Day", - "type" : "Contains", - "signature" : [ { - "localId" : "761", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "762", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "763", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "734", - "name" : "PrecisionDateIvlHighClosed", - "type" : "ExpressionRef", - "resultTypeSpecifier" : { - "localId" : "735", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "736", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - }, { - "localId" : "753", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "754", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "755", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "756", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "757", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "758", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "759", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "760", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "737", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "738", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "9", - "type" : "Literal" - }, - "day" : { - "localId" : "739", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal" - }, - "hour" : { - "localId" : "740", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "23", - "type" : "Literal" - }, - "minute" : { - "localId" : "741", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal" - }, - "second" : { - "localId" : "742", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "743", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "999", - "type" : "Literal" - } - } ] - } - }, { - "localId" : "766", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "NotContainsDayOfDateLowEdge", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "766", - "s" : [ { - "value" : [ "","define ","NotContainsDayOfDateLowEdge",": " ] - }, { - "r" : "767", - "s" : [ { - "r" : "768", - "s" : [ { - "value" : [ "PrecisionDateIvlHighOpen" ] - } ] - }, { - "value" : [ " contains day of " ] - }, { - "r" : "787", - "s" : [ { - "r" : "771", - "value" : [ "DateTime","(","2012",", ","3",", ","1",", ","23",", ","59",", ","59",", ","999",")" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "767", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "precision" : "Day", - "type" : "Contains", - "signature" : [ { - "localId" : "795", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "796", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "797", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "768", - "name" : "PrecisionDateIvlHighOpen", - "type" : "ExpressionRef", - "resultTypeSpecifier" : { - "localId" : "769", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "770", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - }, { - "localId" : "787", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "788", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "789", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "790", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "791", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "792", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "793", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "794", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "771", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "772", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "773", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "774", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "23", - "type" : "Literal" - }, - "minute" : { - "localId" : "775", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal" - }, - "second" : { - "localId" : "776", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "777", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "999", - "type" : "Literal" - } - } ] - } - }, { - "localId" : "800", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "NotContainsDayOfDateBeyondHighEdge", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "800", - "s" : [ { - "value" : [ "","define ","NotContainsDayOfDateBeyondHighEdge",": " ] - }, { - "r" : "801", - "s" : [ { - "r" : "802", - "s" : [ { - "value" : [ "PrecisionDateIvlHighOpen" ] - } ] - }, { - "value" : [ " contains day of " ] - }, { - "r" : "821", - "s" : [ { - "r" : "805", - "value" : [ "DateTime","(","2012",", ","9",", ","3",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "801", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "precision" : "Day", - "type" : "Contains", - "signature" : [ { + "annotation" : [ ] + } + }, + "low" : { + "type" : "DateTime", + "localId" : "822", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "823", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "824", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "825", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "826", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "827", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "828", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "808", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "809", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "810", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "811", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "12", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "812", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "30", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "813", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "21", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "843", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "844", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "845", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "846", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "847", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "848", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "849", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", "localId" : "829", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "830", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, { + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2013", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "830", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", "localId" : "831", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "832", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "12", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "833", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "30", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "834", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "21", + "annotation" : [ ] + } + } + }, { + "type" : "Interval", + "localId" : "889", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "890", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "891", "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "802", - "name" : "PrecisionDateIvlHighOpen", - "type" : "ExpressionRef", - "resultTypeSpecifier" : { - "localId" : "803", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "804", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - }, { - "localId" : "821", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "822", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "823", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "824", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "825", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "826", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "827", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "828", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "805", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "806", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "9", - "type" : "Literal" - }, - "day" : { - "localId" : "807", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "hour" : { - "localId" : "808", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "809", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "810", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "811", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - } ] - } - }, { - "localId" : "834", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "ContainsDayOfDateImpreciseLowEdge", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "834", - "s" : [ { - "value" : [ "","define ","ContainsDayOfDateImpreciseLowEdge",": " ] - }, { - "r" : "835", - "s" : [ { - "r" : "836", - "s" : [ { - "value" : [ "PrecisionDateIvlHighOpen" ] - } ] - }, { - "value" : [ " contains day of " ] - }, { - "r" : "847", - "s" : [ { - "r" : "839", - "value" : [ "DateTime","(","2012",", ","3",", ","2",")" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "835", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "precision" : "Day", - "type" : "Contains", - "signature" : [ { - "localId" : "851", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "852", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "853", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "836", - "name" : "PrecisionDateIvlHighOpen", - "type" : "ExpressionRef", - "resultTypeSpecifier" : { - "localId" : "837", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "838", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - }, { - "localId" : "847", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "848", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "849", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "850", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "839", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "840", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "841", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal" - } - } ] - } - }, { - "localId" : "856", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "NotContainsDayOfDateImpreciseHighEdgeOpen", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "856", - "s" : [ { - "value" : [ "","define ","NotContainsDayOfDateImpreciseHighEdgeOpen",": " ] - }, { - "r" : "857", - "s" : [ { - "r" : "858", - "s" : [ { - "value" : [ "PrecisionDateIvlHighOpen" ] - } ] - }, { - "value" : [ " contains day of " ] - }, { - "r" : "869", - "s" : [ { - "r" : "861", - "value" : [ "DateTime","(","2012",", ","9",", ","2",")" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "857", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "precision" : "Day", - "type" : "Contains", - "signature" : [ { + "annotation" : [ ] + } + }, + "low" : { + "type" : "DateTime", + "localId" : "865", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "866", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "867", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "868", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "869", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "870", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "853", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "854", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "855", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "856", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "12", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "857", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "30", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "883", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "884", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "885", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "886", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "887", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "888", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "871", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2013", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "872", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", "localId" : "873", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "874", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, { + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "874", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "12", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", "localId" : "875", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "858", - "name" : "PrecisionDateIvlHighOpen", - "type" : "ExpressionRef", - "resultTypeSpecifier" : { - "localId" : "859", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "860", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - }, { - "localId" : "869", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "870", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "871", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "872", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "861", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "862", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "9", - "type" : "Literal" - }, - "day" : { - "localId" : "863", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal" - } - } ] - } - }, { - "localId" : "878", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "ContainsDayOfDateImpreciseHighEdgeClosed", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "878", - "s" : [ { - "value" : [ "","define ","ContainsDayOfDateImpreciseHighEdgeClosed",": " ] - }, { - "r" : "879", - "s" : [ { - "r" : "880", - "s" : [ { - "value" : [ "PrecisionDateIvlHighClosed" ] - } ] - }, { - "value" : [ " contains day of " ] - }, { - "r" : "891", - "s" : [ { - "r" : "883", - "value" : [ "DateTime","(","2012",", ","9",", ","2",")" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "879", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "precision" : "Day", - "type" : "Contains", - "signature" : [ { - "localId" : "895", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "896", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "897", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "880", - "name" : "PrecisionDateIvlHighClosed", - "type" : "ExpressionRef", - "resultTypeSpecifier" : { - "localId" : "881", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "882", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - }, { - "localId" : "891", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "892", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "893", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "894", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "883", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "884", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "9", - "type" : "Literal" - }, - "day" : { - "localId" : "885", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal" - } - } ] - } - }, { - "localId" : "900", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "ContainsDayOfDateVeryImpreciseMiddle", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "900", - "s" : [ { - "value" : [ "","define ","ContainsDayOfDateVeryImpreciseMiddle",": " ] - }, { - "r" : "901", - "s" : [ { - "r" : "902", - "s" : [ { - "value" : [ "PrecisionDateIvlHighOpen" ] - } ] - }, { - "value" : [ " contains day of " ] - }, { - "r" : "911", - "s" : [ { - "r" : "905", - "value" : [ "DateTime","(","2012",", ","6",")" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "901", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "precision" : "Day", - "type" : "Contains", - "signature" : [ { - "localId" : "914", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "915", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "916", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "902", - "name" : "PrecisionDateIvlHighOpen", - "type" : "ExpressionRef", - "resultTypeSpecifier" : { - "localId" : "903", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "904", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - }, { - "localId" : "911", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "912", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "913", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "905", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "906", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "6", - "type" : "Literal" - } - } ] - } - }, { - "localId" : "919", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "NotContainsDayOfDateVeryImpreciseLow", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "919", - "s" : [ { - "value" : [ "","define ","NotContainsDayOfDateVeryImpreciseLow",": " ] - }, { - "r" : "920", - "s" : [ { - "r" : "921", - "s" : [ { - "value" : [ "PrecisionDateIvlHighOpen" ] - } ] - }, { - "value" : [ " contains day of " ] - }, { - "r" : "930", - "s" : [ { - "r" : "924", - "value" : [ "DateTime","(","2012",", ","2",")" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "920", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "precision" : "Day", - "type" : "Contains", - "signature" : [ { - "localId" : "933", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "934", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "935", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "921", - "name" : "PrecisionDateIvlHighOpen", - "type" : "ExpressionRef", - "resultTypeSpecifier" : { - "localId" : "922", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "923", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - }, { - "localId" : "930", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "931", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "932", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "924", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "925", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal" - } - } ] - } - }, { - "localId" : "938", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "NotContainsDayOfDateVeryImpreciseHighEdgeOpen", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "938", - "s" : [ { - "value" : [ "","define ","NotContainsDayOfDateVeryImpreciseHighEdgeOpen",": " ] - }, { - "r" : "939", - "s" : [ { - "r" : "940", - "s" : [ { - "value" : [ "PrecisionDateIvlHighOpen" ] - } ] - }, { - "value" : [ " contains day of " ] - }, { - "r" : "949", - "s" : [ { - "r" : "943", - "value" : [ "DateTime","(","2012",", ","10",")" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "939", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "precision" : "Day", - "type" : "Contains", - "signature" : [ { - "localId" : "952", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "953", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "954", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "940", - "name" : "PrecisionDateIvlHighOpen", - "type" : "ExpressionRef", - "resultTypeSpecifier" : { - "localId" : "941", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "942", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - }, { - "localId" : "949", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "950", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "951", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "943", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "944", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal" - } - } ] - } - }, { - "localId" : "957", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "MayContainDayOfDateVeryImpreciseLow", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "957", - "s" : [ { - "value" : [ "","define ","MayContainDayOfDateVeryImpreciseLow",": " ] - }, { - "r" : "958", - "s" : [ { - "r" : "959", - "s" : [ { - "value" : [ "PrecisionDateIvlHighOpen" ] - } ] - }, { - "value" : [ " contains day of " ] - }, { - "r" : "968", - "s" : [ { - "r" : "962", - "value" : [ "DateTime","(","2012",", ","3",")" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "958", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "precision" : "Day", - "type" : "Contains", - "signature" : [ { - "localId" : "971", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "972", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "973", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "959", - "name" : "PrecisionDateIvlHighOpen", - "type" : "ExpressionRef", - "resultTypeSpecifier" : { - "localId" : "960", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "961", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - }, { - "localId" : "968", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "969", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "970", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "962", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "963", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - } - } ] - } - }, { - "localId" : "976", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "MayContainDayOfDateVeryImpreciseHigh", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "976", - "s" : [ { - "value" : [ "","define ","MayContainDayOfDateVeryImpreciseHigh",": " ] - }, { - "r" : "977", - "s" : [ { - "r" : "978", - "s" : [ { - "value" : [ "PrecisionDateIvlHighOpen" ] - } ] - }, { - "value" : [ " contains day of " ] - }, { - "r" : "987", - "s" : [ { - "r" : "981", - "value" : [ "DateTime","(","2012",", ","9",")" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "977", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "precision" : "Day", - "type" : "Contains", - "signature" : [ { - "localId" : "990", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "991", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "992", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "978", - "name" : "PrecisionDateIvlHighOpen", - "type" : "ExpressionRef", - "resultTypeSpecifier" : { - "localId" : "979", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "980", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - }, { - "localId" : "987", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "988", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "989", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "981", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "982", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "9", - "type" : "Literal" - } - } ] - } - }, { - "localId" : "995", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "MayContainDayOfDateVeryImpreciseSurrounding", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "995", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "30", + "annotation" : [ ] + } + } + } ] + } + } + } ] + } + } +} + +/* Contains +library TestSnippet version '1' +using Simple version '1.0.0' +context Patient +define ContainsInt: Interval[1, 5] contains 3 +define NotContainsInt: Interval(1, 5] contains 1 +define ContainsReal: Interval[1.234, 3.456] contains 2.345 +define NotContainsReal: Interval[1.234, 3.456] contains 4.567 +define ContainsQuantity: Interval[1 'mg', 5 'mg'] contains 3 'mg' +define ContainsQuantityInclusiveEdge: Interval[1 'mg', 5 'mg'] contains 5 'mg' +define NotContainsQuantity: Interval[2 'mg', 5 'mg'] contains 1 'mg' +define NotContainsQuantityExclusiveEdge: Interval(1 'mg', 5 'mg'] contains 1 'mg' +define DateIvlHighOpen: Interval[DateTime(2012, 3, 1, 0, 0, 0, 0), DateTime(2012, 9, 1, 0, 0, 0, 0)) +define DateIvlHighClosed: Interval[DateTime(2012, 3, 1, 0, 0, 0, 0), DateTime(2012, 9, 1, 0, 0, 0, 0)] +define ContainsDate: DateIvlHighOpen contains DateTime(2012, 6, 1, 0, 0, 0, 0) +define NotContainsDate: DateIvlHighOpen contains DateTime(2012, 9, 1, 0, 0, 0, 0) +define ContainsImpreciseDate: DateIvlHighOpen contains DateTime(2012, 4) +define NotContainsImpreciseDate: DateIvlHighClosed contains DateTime(2012, 10) +define MayContainImpreciseDate: DateIvlHighOpen contains DateTime(2012) +define PrecisionDateIvlHighOpen: Interval[DateTime(2012, 3, 2, 12, 34, 56, 789), DateTime(2012, 9, 2, 1, 23, 45, 678)) +define PrecisionDateIvlHighClosed: Interval[DateTime(2012, 3, 2, 12, 34, 56, 789), DateTime(2012, 9, 2, 1, 23, 45, 678)] +define ContainsDayOfDateLowEdge: PrecisionDateIvlHighOpen contains day of DateTime(2012, 3, 2, 0, 0, 0, 0) +define NotContainsDayOfDateHighEdgeOpen: PrecisionDateIvlHighOpen contains day of DateTime(2012, 9, 2, 23, 59, 59, 999) +define ContainsDayOfDateHighEdgeClosed: PrecisionDateIvlHighClosed contains day of DateTime(2012, 9, 2, 23, 59, 59, 999) +define NotContainsDayOfDateLowEdge: PrecisionDateIvlHighOpen contains day of DateTime(2012, 3, 1, 23, 59, 59, 999) +define NotContainsDayOfDateBeyondHighEdge: PrecisionDateIvlHighOpen contains day of DateTime(2012, 9, 3, 0, 0, 0, 0) +define ContainsDayOfDateImpreciseLowEdge: PrecisionDateIvlHighOpen contains day of DateTime(2012, 3, 2) +define NotContainsDayOfDateImpreciseHighEdgeOpen: PrecisionDateIvlHighOpen contains day of DateTime(2012, 9, 2) +define ContainsDayOfDateImpreciseHighEdgeClosed: PrecisionDateIvlHighClosed contains day of DateTime(2012, 9, 2) +define ContainsDayOfDateVeryImpreciseMiddle: PrecisionDateIvlHighOpen contains day of DateTime(2012, 6) +define NotContainsDayOfDateVeryImpreciseLow: PrecisionDateIvlHighOpen contains day of DateTime(2012, 2) +define NotContainsDayOfDateVeryImpreciseHighEdgeOpen: PrecisionDateIvlHighOpen contains day of DateTime(2012, 10) +define MayContainDayOfDateVeryImpreciseLow: PrecisionDateIvlHighOpen contains day of DateTime(2012, 3) +define MayContainDayOfDateVeryImpreciseHigh: PrecisionDateIvlHighOpen contains day of DateTime(2012, 9) +define MayContainDayOfDateVeryImpreciseSurrounding: PrecisionDateIvlHighOpen contains day of DateTime(2012) +define ImpDateIvl: Interval[DateTime(2012, 3), DateTime(2012, 8)] +define ImpreciseContainsDate: ImpDateIvl contains DateTime(2012, 6, 1, 0, 0, 0, 0) +define ImpreciseNotContainsDate: ImpDateIvl contains DateTime(2012, 9, 1, 0, 0, 0, 0) +define ImpreciseMayContainDate: ImpDateIvl contains DateTime(2012, 3, 15, 0, 0, 0, 0) +define NegInfBegContainsInt: Interval[null, 5] contains -7 +define NegInfBegNotContainsInt: Interval[null, 5] contains 7 +define UnknownOpenBegContainsInt: Interval(null, 5] contains 5 +define UnknownClosedBegContainsInt: Interval[null, 5] contains 5 +define UnknownBegMayContainInt: Interval(null, 5] contains -7 +define UnknownBegNotContainsInt: Interval(null, 5] contains 7 +define PosInfEndContainsInt: Interval[0, null] contains 123456789 +define PosInfEndNotContainsInt: Interval[0, null] contains -1 +define UnknownOpenEndContainsInt: Interval[0, null) contains 0 +define UnknownClosedEndContainsInt: Interval[0, null] contains 0 +define UnknownEndMayContainInt: Interval[0, null) contains 123456789 +define UnknownEndNotContainsInt: Interval[0, null) contains -1 +define NegInfBegContainsDate: Interval[null, DateTime(2013, 1, 1, 0, 0, 0, 0)) contains DateTime(1, 1, 1, 0, 0, 0, 0) +define NegInfBegNotContainsDate: Interval[null, DateTime(2013, 1, 1, 0, 0, 0, 0)) contains DateTime(2013, 1, 2, 0, 0, 0, 0) +define UnknownOpenBegMayContainDate: Interval(null, DateTime(2013, 1, 1, 0, 0, 0, 0)) contains DateTime(2012, 12, 31, 23, 59, 59, 999) +define UnknownClosedBegContainsDate: Interval[null, DateTime(2013, 1, 1, 0, 0, 0, 0)) contains DateTime(2012, 12, 31, 23, 59, 59, 999) +define UnknownBegMayContainDate: Interval(null, DateTime(2013, 1, 1, 0, 0, 0, 0)) contains DateTime(1, 1, 1, 0, 0, 0, 0) +define UnknownBegNotContainsDate: Interval(null, DateTime(2013, 1, 1, 0, 0, 0, 0)) contains DateTime(2013, 1, 2, 0, 0, 0, 0) +define PosInfEndContainsDate: Interval[DateTime(2013, 1, 1, 0, 0, 0, 0), null] contains DateTime(2014, 1, 1, 0, 0, 0, 0) +define PosInfEndNotContainsDate: Interval[DateTime(2013, 1, 1, 0, 0, 0, 0), null] contains DateTime(2012, 1, 1, 0, 0, 0, 0) +define UnknownOpenEndContainsDate: Interval[DateTime(2013, 1, 1, 0, 0, 0, 0), null) contains DateTime(2013, 1, 1, 0, 0, 0, 0) +define UnknownClosedEndContainsDate: Interval[DateTime(2013, 1, 1, 0, 0, 0, 0), null] contains DateTime(2013, 1, 1, 0, 0, 0, 0) +define UnknownEndMayContainDate: Interval[DateTime(2013, 1, 1, 0, 0, 0, 0), null) contains DateTime(2014, 1, 1, 0, 0, 0, 0) +define UnknownEndNotContainsDate: Interval[DateTime(2013, 1, 1, 0, 0, 0, 0), null) contains DateTime(2012, 1, 1, 0, 0, 0, 0) +*/ + +module.exports['Contains'] = { + "library" : { + "localId" : "0", + "annotation" : [ { + "type" : "CqlToElmInfo", + "translatorVersion" : "4.2.0", + "translatorOptions" : "EnableDateRangeOptimization,EnableAnnotations,EnableResultTypes", + "signatureLevel" : "All" + }, { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "1975", + "s" : [ { + "value" : [ "", "library TestSnippet version '1'" ] + } ] + } + } ], + "identifier" : { + "id" : "TestSnippet", + "version" : "1" + }, + "schemaIdentifier" : { + "id" : "urn:hl7-org:elm", + "version" : "r1" + }, + "usings" : { + "def" : [ { + "localId" : "1", + "localIdentifier" : "System", + "uri" : "urn:hl7-org:elm-types:r1", + "annotation" : [ ] + }, { + "localId" : "206", + "localIdentifier" : "Simple", + "uri" : "https://github.com/cqframework/cql-execution/simple", + "version" : "1.0.0", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "206", + "s" : [ { + "value" : [ "", "using " ] + }, { + "s" : [ { + "value" : [ "Simple" ] + } ] + }, { + "value" : [ " version '1.0.0'" ] + } ] + } + } ] + } ] + }, + "contexts" : { + "def" : [ { + "localId" : "211", + "name" : "Patient", + "annotation" : [ ] + } ] + }, + "statements" : { + "def" : [ { + "localId" : "209", + "name" : "Patient", + "context" : "Patient", + "annotation" : [ ], + "expression" : { + "type" : "SingletonFrom", + "localId" : "210", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Retrieve", + "localId" : "208", + "dataType" : "{https://github.com/cqframework/cql-execution/simple}Patient", + "annotation" : [ ], + "include" : [ ], + "codeFilter" : [ ], + "dateFilter" : [ ], + "otherFilter" : [ ] + } + } + }, { + "localId" : "214", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "ContainsInt", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "214", + "s" : [ { + "value" : [ "", "define ", "ContainsInt", ": " ] + }, { + "r" : "221", + "s" : [ { + "r" : "217", + "s" : [ { + "r" : "215", + "value" : [ "Interval[", "1", ", ", "5", "]" ] + } ] + }, { + "r" : "220", + "value" : [ " contains ", "3" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Contains", + "localId" : "221", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "222", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "223", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, { + "type" : "NamedTypeSpecifier", + "localId" : "224", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "Interval", + "localId" : "217", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "218", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "219", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "low" : { + "type" : "Literal", + "localId" : "215", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "high" : { + "type" : "Literal", + "localId" : "216", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "5", + "annotation" : [ ] + } + }, { + "type" : "Literal", + "localId" : "220", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + } ] + } + }, { + "localId" : "227", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "NotContainsInt", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "227", + "s" : [ { + "value" : [ "", "define ", "NotContainsInt", ": " ] + }, { + "r" : "234", + "s" : [ { + "r" : "230", + "s" : [ { + "r" : "228", + "value" : [ "Interval(", "1", ", ", "5", "]" ] + } ] + }, { + "r" : "233", + "value" : [ " contains ", "1" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Contains", + "localId" : "234", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "235", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "236", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, { + "type" : "NamedTypeSpecifier", + "localId" : "237", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "Interval", + "localId" : "230", + "lowClosed" : false, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "231", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "232", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "low" : { + "type" : "Literal", + "localId" : "228", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "high" : { + "type" : "Literal", + "localId" : "229", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "5", + "annotation" : [ ] + } + }, { + "type" : "Literal", + "localId" : "233", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + } ] + } + }, { + "localId" : "240", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "ContainsReal", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "240", + "s" : [ { + "value" : [ "", "define ", "ContainsReal", ": " ] + }, { + "r" : "247", + "s" : [ { + "r" : "243", + "s" : [ { + "r" : "241", + "value" : [ "Interval[", "1.234", ", ", "3.456", "]" ] + } ] + }, { + "r" : "246", + "value" : [ " contains ", "2.345" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Contains", + "localId" : "247", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "248", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "249", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } + }, { + "type" : "NamedTypeSpecifier", + "localId" : "250", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "Interval", + "localId" : "243", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "244", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "245", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } + }, + "low" : { + "type" : "Literal", + "localId" : "241", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "1.234", + "annotation" : [ ] + }, + "high" : { + "type" : "Literal", + "localId" : "242", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "3.456", + "annotation" : [ ] + } + }, { + "type" : "Literal", + "localId" : "246", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "2.345", + "annotation" : [ ] + } ] + } + }, { + "localId" : "253", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "NotContainsReal", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "253", + "s" : [ { + "value" : [ "", "define ", "NotContainsReal", ": " ] + }, { + "r" : "260", + "s" : [ { + "r" : "256", + "s" : [ { + "r" : "254", + "value" : [ "Interval[", "1.234", ", ", "3.456", "]" ] + } ] + }, { + "r" : "259", + "value" : [ " contains ", "4.567" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Contains", + "localId" : "260", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "261", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "262", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } + }, { + "type" : "NamedTypeSpecifier", + "localId" : "263", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "Interval", + "localId" : "256", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "257", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "258", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } + }, + "low" : { + "type" : "Literal", + "localId" : "254", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "1.234", + "annotation" : [ ] + }, + "high" : { + "type" : "Literal", + "localId" : "255", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "3.456", + "annotation" : [ ] + } + }, { + "type" : "Literal", + "localId" : "259", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "4.567", + "annotation" : [ ] + } ] + } + }, { + "localId" : "266", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "ContainsQuantity", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "266", + "s" : [ { + "value" : [ "", "define ", "ContainsQuantity", ": " ] + }, { + "r" : "273", + "s" : [ { + "r" : "269", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "267", "s" : [ { - "value" : [ "","define ","MayContainDayOfDateVeryImpreciseSurrounding",": " ] - }, { - "r" : "996", - "s" : [ { - "r" : "997", - "s" : [ { - "value" : [ "PrecisionDateIvlHighOpen" ] - } ] - }, { - "value" : [ " contains day of " ] - }, { - "r" : "1004", - "s" : [ { - "r" : "1000", - "value" : [ "DateTime","(","2012",")" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "996", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "precision" : "Day", - "type" : "Contains", - "signature" : [ { - "localId" : "1006", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1007", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "1008", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "997", - "name" : "PrecisionDateIvlHighOpen", - "type" : "ExpressionRef", - "resultTypeSpecifier" : { - "localId" : "998", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "999", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - }, { - "localId" : "1004", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "1005", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1000", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - } - } ] - } - }, { - "localId" : "1011", - "name" : "ImpDateIvl", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "1011", - "s" : [ { - "value" : [ "","define ","ImpDateIvl",": " ] - }, { - "r" : "1030", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "1018", - "s" : [ { - "r" : "1012", - "value" : [ "DateTime","(","2012",", ","3",")" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "1027", - "s" : [ { - "r" : "1021", - "value" : [ "DateTime","(","2012",", ","8",")" ] - } ] - }, { - "value" : [ "]" ] - } ] - } ] - } - } ], + "value" : [ "1 ", "'mg'" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "268", + "s" : [ { + "value" : [ "5 ", "'mg'" ] + } ] + }, { + "value" : [ "]" ] + } ] + }, { + "value" : [ " contains " ] + }, { + "r" : "272", + "s" : [ { + "value" : [ "3 ", "'mg'" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Contains", + "localId" : "273", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "274", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "275", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } + }, { + "type" : "NamedTypeSpecifier", + "localId" : "276", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "Interval", + "localId" : "269", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], "resultTypeSpecifier" : { - "localId" : "1033", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1034", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "expression" : { - "localId" : "1030", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "1031", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1032", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "1018", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "1019", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1020", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1012", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "1013", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - } - }, - "high" : { - "localId" : "1027", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "1028", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1029", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1021", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "1022", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "8", - "type" : "Literal" - } - } - } - }, { - "localId" : "1037", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "ImpreciseContainsDate", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "1037", - "s" : [ { - "value" : [ "","define ","ImpreciseContainsDate",": " ] - }, { - "r" : "1065", - "s" : [ { - "r" : "1038", - "s" : [ { - "value" : [ "ImpDateIvl" ] - } ] - }, { - "value" : [ " contains " ] - }, { - "r" : "1057", - "s" : [ { - "r" : "1041", - "value" : [ "DateTime","(","2012",", ","6",", ","1",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "1065", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "Contains", - "signature" : [ { - "localId" : "1066", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1067", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "1068", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "1038", - "name" : "ImpDateIvl", - "type" : "ExpressionRef", - "resultTypeSpecifier" : { - "localId" : "1039", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1040", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - }, { - "localId" : "1057", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "1058", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1059", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1060", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1061", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1062", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1063", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1064", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1041", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "1042", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "6", - "type" : "Literal" - }, - "day" : { - "localId" : "1043", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "1044", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "1045", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "1046", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "1047", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - } ] - } - }, { - "localId" : "1071", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "ImpreciseNotContainsDate", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "1071", + "type" : "IntervalTypeSpecifier", + "localId" : "270", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "271", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } + }, + "low" : { + "type" : "Quantity", + "localId" : "267", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "value" : 1, + "unit" : "mg", + "annotation" : [ ] + }, + "high" : { + "type" : "Quantity", + "localId" : "268", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "value" : 5, + "unit" : "mg", + "annotation" : [ ] + } + }, { + "type" : "Quantity", + "localId" : "272", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "value" : 3, + "unit" : "mg", + "annotation" : [ ] + } ] + } + }, { + "localId" : "279", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "ContainsQuantityInclusiveEdge", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "279", + "s" : [ { + "value" : [ "", "define ", "ContainsQuantityInclusiveEdge", ": " ] + }, { + "r" : "286", + "s" : [ { + "r" : "282", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "280", "s" : [ { - "value" : [ "","define ","ImpreciseNotContainsDate",": " ] - }, { - "r" : "1099", - "s" : [ { - "r" : "1072", - "s" : [ { - "value" : [ "ImpDateIvl" ] - } ] - }, { - "value" : [ " contains " ] - }, { - "r" : "1091", - "s" : [ { - "r" : "1075", - "value" : [ "DateTime","(","2012",", ","9",", ","1",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "1099", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "Contains", - "signature" : [ { - "localId" : "1100", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1101", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "1102", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "1072", - "name" : "ImpDateIvl", - "type" : "ExpressionRef", - "resultTypeSpecifier" : { - "localId" : "1073", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1074", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - }, { - "localId" : "1091", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "1092", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1093", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1094", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1095", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1096", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1097", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1098", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1075", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "1076", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "9", - "type" : "Literal" - }, - "day" : { - "localId" : "1077", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "1078", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "1079", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "1080", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "1081", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - } ] - } - }, { - "localId" : "1105", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "ImpreciseMayContainDate", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "1105", - "s" : [ { - "value" : [ "","define ","ImpreciseMayContainDate",": " ] - }, { - "r" : "1133", - "s" : [ { - "r" : "1106", - "s" : [ { - "value" : [ "ImpDateIvl" ] - } ] - }, { - "value" : [ " contains " ] - }, { - "r" : "1125", - "s" : [ { - "r" : "1109", - "value" : [ "DateTime","(","2012",", ","3",", ","15",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "1133", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "Contains", - "signature" : [ { - "localId" : "1134", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1135", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "1136", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "1106", - "name" : "ImpDateIvl", - "type" : "ExpressionRef", - "resultTypeSpecifier" : { - "localId" : "1107", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1108", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - }, { - "localId" : "1125", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "1126", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1127", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1128", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1129", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1130", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1131", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1132", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1109", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "1110", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "1111", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal" - }, - "hour" : { - "localId" : "1112", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "1113", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "1114", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "1115", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - } ] - } - }, { - "localId" : "1139", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "NegInfBegContainsInt", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "1139", - "s" : [ { - "value" : [ "","define ","NegInfBegContainsInt",": " ] - }, { - "r" : "1149", - "s" : [ { - "r" : "1142", - "s" : [ { - "r" : "1140", - "value" : [ "Interval[","null",", ","5","]" ] - } ] - }, { - "value" : [ " contains " ] - }, { - "r" : "1146", - "s" : [ { - "r" : "1147", - "value" : [ "-","7" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "1149", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "Contains", - "signature" : [ { - "localId" : "1150", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1151", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "1152", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "1142", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "1144", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1145", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "1143", - "asType" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "As", - "signature" : [ ], - "operand" : { - "localId" : "1140", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - } - }, - "high" : { - "localId" : "1141", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal" - } - }, { - "localId" : "1146", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "Negate", - "signature" : [ { - "localId" : "1148", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "1147", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "7", - "type" : "Literal" - } - } ] - } - }, { - "localId" : "1155", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "NegInfBegNotContainsInt", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "1155", - "s" : [ { - "value" : [ "","define ","NegInfBegNotContainsInt",": " ] - }, { - "r" : "1163", - "s" : [ { - "r" : "1158", - "s" : [ { - "r" : "1156", - "value" : [ "Interval[","null",", ","5","]" ] - } ] - }, { - "r" : "1162", - "value" : [ " contains ","7" ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "1163", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "Contains", - "signature" : [ { - "localId" : "1164", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1165", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "1166", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "1158", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "1160", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1161", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "1159", - "asType" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "As", - "signature" : [ ], - "operand" : { - "localId" : "1156", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - } - }, - "high" : { - "localId" : "1157", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal" - } - }, { - "localId" : "1162", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "7", - "type" : "Literal" - } ] - } - }, { - "localId" : "1169", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "UnknownOpenBegContainsInt", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "1169", - "s" : [ { - "value" : [ "","define ","UnknownOpenBegContainsInt",": " ] - }, { - "r" : "1177", - "s" : [ { - "r" : "1172", - "s" : [ { - "r" : "1170", - "value" : [ "Interval(","null",", ","5","]" ] - } ] - }, { - "r" : "1176", - "value" : [ " contains ","5" ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "1177", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "Contains", - "signature" : [ { - "localId" : "1178", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1179", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "1180", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "1172", - "lowClosed" : false, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "1174", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1175", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "1173", - "asType" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "As", - "signature" : [ ], - "operand" : { - "localId" : "1170", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - } - }, - "high" : { - "localId" : "1171", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal" - } - }, { - "localId" : "1176", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal" - } ] - } - }, { - "localId" : "1183", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "UnknownClosedBegContainsInt", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "1183", - "s" : [ { - "value" : [ "","define ","UnknownClosedBegContainsInt",": " ] - }, { - "r" : "1191", - "s" : [ { - "r" : "1186", - "s" : [ { - "r" : "1184", - "value" : [ "Interval[","null",", ","5","]" ] - } ] - }, { - "r" : "1190", - "value" : [ " contains ","5" ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "1191", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "Contains", - "signature" : [ { - "localId" : "1192", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1193", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "1194", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "1186", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "1188", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1189", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "1187", - "asType" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "As", - "signature" : [ ], - "operand" : { - "localId" : "1184", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - } - }, - "high" : { - "localId" : "1185", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal" - } - }, { - "localId" : "1190", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal" - } ] - } - }, { - "localId" : "1197", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "UnknownBegMayContainInt", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "1197", - "s" : [ { - "value" : [ "","define ","UnknownBegMayContainInt",": " ] - }, { - "r" : "1207", - "s" : [ { - "r" : "1200", - "s" : [ { - "r" : "1198", - "value" : [ "Interval(","null",", ","5","]" ] - } ] - }, { - "value" : [ " contains " ] - }, { - "r" : "1204", - "s" : [ { - "r" : "1205", - "value" : [ "-","7" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "1207", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "Contains", - "signature" : [ { - "localId" : "1208", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1209", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "1210", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "1200", - "lowClosed" : false, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "1202", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1203", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "1201", - "asType" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "As", - "signature" : [ ], - "operand" : { - "localId" : "1198", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - } - }, - "high" : { - "localId" : "1199", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal" - } - }, { - "localId" : "1204", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "Negate", - "signature" : [ { - "localId" : "1206", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "1205", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "7", - "type" : "Literal" - } - } ] - } - }, { - "localId" : "1213", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "UnknownBegNotContainsInt", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "1213", - "s" : [ { - "value" : [ "","define ","UnknownBegNotContainsInt",": " ] - }, { - "r" : "1221", - "s" : [ { - "r" : "1216", - "s" : [ { - "r" : "1214", - "value" : [ "Interval(","null",", ","5","]" ] - } ] - }, { - "r" : "1220", - "value" : [ " contains ","7" ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "1221", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "Contains", - "signature" : [ { - "localId" : "1222", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1223", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "1224", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "1216", - "lowClosed" : false, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "1218", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1219", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "1217", - "asType" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "As", - "signature" : [ ], - "operand" : { - "localId" : "1214", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - } - }, - "high" : { - "localId" : "1215", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal" - } - }, { - "localId" : "1220", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "7", - "type" : "Literal" - } ] - } - }, { - "localId" : "1227", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "PosInfEndContainsInt", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "1227", - "s" : [ { - "value" : [ "","define ","PosInfEndContainsInt",": " ] - }, { - "r" : "1235", - "s" : [ { - "r" : "1230", - "s" : [ { - "r" : "1228", - "value" : [ "Interval[","0",", ","null","]" ] - } ] - }, { - "r" : "1234", - "value" : [ " contains ","123456789" ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "1235", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "Contains", - "signature" : [ { - "localId" : "1236", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1237", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "1238", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "1230", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "1232", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1233", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "1228", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "high" : { - "localId" : "1231", - "asType" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "As", - "signature" : [ ], - "operand" : { - "localId" : "1229", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - } - } - }, { - "localId" : "1234", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "123456789", - "type" : "Literal" - } ] - } - }, { - "localId" : "1241", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "PosInfEndNotContainsInt", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "1241", - "s" : [ { - "value" : [ "","define ","PosInfEndNotContainsInt",": " ] - }, { - "r" : "1251", - "s" : [ { - "r" : "1244", - "s" : [ { - "r" : "1242", - "value" : [ "Interval[","0",", ","null","]" ] - } ] - }, { - "value" : [ " contains " ] - }, { - "r" : "1248", - "s" : [ { - "r" : "1249", - "value" : [ "-","1" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "1251", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "Contains", - "signature" : [ { - "localId" : "1252", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1253", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "1254", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "1244", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "1246", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1247", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "1242", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "high" : { - "localId" : "1245", - "asType" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "As", - "signature" : [ ], - "operand" : { - "localId" : "1243", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - } - } - }, { - "localId" : "1248", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "Negate", - "signature" : [ { - "localId" : "1250", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "1249", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - } - } ] - } - }, { - "localId" : "1257", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "UnknownOpenEndContainsInt", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "1257", + "value" : [ "1 ", "'mg'" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "281", + "s" : [ { + "value" : [ "5 ", "'mg'" ] + } ] + }, { + "value" : [ "]" ] + } ] + }, { + "value" : [ " contains " ] + }, { + "r" : "285", + "s" : [ { + "value" : [ "5 ", "'mg'" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Contains", + "localId" : "286", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "287", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "288", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } + }, { + "type" : "NamedTypeSpecifier", + "localId" : "289", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "Interval", + "localId" : "282", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "283", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "284", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } + }, + "low" : { + "type" : "Quantity", + "localId" : "280", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "value" : 1, + "unit" : "mg", + "annotation" : [ ] + }, + "high" : { + "type" : "Quantity", + "localId" : "281", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "value" : 5, + "unit" : "mg", + "annotation" : [ ] + } + }, { + "type" : "Quantity", + "localId" : "285", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "value" : 5, + "unit" : "mg", + "annotation" : [ ] + } ] + } + }, { + "localId" : "292", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "NotContainsQuantity", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "292", + "s" : [ { + "value" : [ "", "define ", "NotContainsQuantity", ": " ] + }, { + "r" : "299", + "s" : [ { + "r" : "295", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "293", "s" : [ { - "value" : [ "","define ","UnknownOpenEndContainsInt",": " ] - }, { - "r" : "1265", - "s" : [ { - "r" : "1260", - "s" : [ { - "r" : "1258", - "value" : [ "Interval[","0",", ","null",")" ] - } ] - }, { - "r" : "1264", - "value" : [ " contains ","0" ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "1265", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "Contains", - "signature" : [ { - "localId" : "1266", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1267", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "1268", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "1260", - "lowClosed" : true, - "highClosed" : false, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "1262", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1263", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "1258", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "high" : { - "localId" : "1261", - "asType" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "As", - "signature" : [ ], - "operand" : { - "localId" : "1259", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - } - } - }, { - "localId" : "1264", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } ] - } - }, { - "localId" : "1271", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "UnknownClosedEndContainsInt", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "1271", + "value" : [ "2 ", "'mg'" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "294", "s" : [ { - "value" : [ "","define ","UnknownClosedEndContainsInt",": " ] - }, { - "r" : "1279", - "s" : [ { - "r" : "1274", - "s" : [ { - "r" : "1272", - "value" : [ "Interval[","0",", ","null","]" ] - } ] - }, { - "r" : "1278", - "value" : [ " contains ","0" ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "1279", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "Contains", - "signature" : [ { - "localId" : "1280", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1281", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "1282", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "1274", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "1276", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1277", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "1272", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "high" : { - "localId" : "1275", - "asType" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "As", - "signature" : [ ], - "operand" : { - "localId" : "1273", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - } - } - }, { - "localId" : "1278", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } ] - } - }, { - "localId" : "1285", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "UnknownEndMayContainInt", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "1285", - "s" : [ { - "value" : [ "","define ","UnknownEndMayContainInt",": " ] - }, { - "r" : "1293", - "s" : [ { - "r" : "1288", - "s" : [ { - "r" : "1286", - "value" : [ "Interval[","0",", ","null",")" ] - } ] - }, { - "r" : "1292", - "value" : [ " contains ","123456789" ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "1293", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "Contains", - "signature" : [ { - "localId" : "1294", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1295", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "1296", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "1288", - "lowClosed" : true, - "highClosed" : false, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "1290", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1291", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "1286", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "high" : { - "localId" : "1289", - "asType" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "As", - "signature" : [ ], - "operand" : { - "localId" : "1287", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - } - } - }, { - "localId" : "1292", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "123456789", - "type" : "Literal" - } ] - } - }, { - "localId" : "1299", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "UnknownEndNotContainsInt", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "1299", - "s" : [ { - "value" : [ "","define ","UnknownEndNotContainsInt",": " ] - }, { - "r" : "1309", - "s" : [ { - "r" : "1302", - "s" : [ { - "r" : "1300", - "value" : [ "Interval[","0",", ","null",")" ] - } ] - }, { - "value" : [ " contains " ] - }, { - "r" : "1306", - "s" : [ { - "r" : "1307", - "value" : [ "-","1" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "1309", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "Contains", - "signature" : [ { - "localId" : "1310", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1311", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "1312", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "1302", - "lowClosed" : true, - "highClosed" : false, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "1304", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1305", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "1300", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "high" : { - "localId" : "1303", - "asType" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "As", - "signature" : [ ], - "operand" : { - "localId" : "1301", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - } - } - }, { - "localId" : "1306", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "Negate", - "signature" : [ { - "localId" : "1308", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "1307", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - } - } ] - } - }, { - "localId" : "1315", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "NegInfBegContainsDate", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "1315", - "s" : [ { - "value" : [ "","define ","NegInfBegContainsDate",": " ] - }, { - "r" : "1369", - "s" : [ { - "r" : "1341", - "s" : [ { - "r" : "1316", - "value" : [ "Interval[","null",", " ] - }, { - "r" : "1333", - "s" : [ { - "r" : "1317", - "value" : [ "DateTime","(","2013",", ","1",", ","1",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ ")" ] - } ] - }, { - "value" : [ " contains " ] - }, { - "r" : "1361", - "s" : [ { - "r" : "1345", - "value" : [ "DateTime","(","1",", ","1",", ","1",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "1369", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "Contains", - "signature" : [ { - "localId" : "1370", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1371", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "1372", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "1341", - "lowClosed" : true, - "highClosed" : false, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "1343", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1344", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "1342", - "asType" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "As", - "signature" : [ ], - "operand" : { - "localId" : "1316", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - } - }, - "high" : { - "localId" : "1333", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "1334", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1335", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1336", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1337", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1338", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1339", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1340", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1317", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2013", - "type" : "Literal" - }, - "month" : { - "localId" : "1318", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "1319", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "1320", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "1321", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "1322", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "1323", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - } - }, { - "localId" : "1361", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "1362", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1363", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1364", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1365", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1366", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1367", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1368", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1345", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "month" : { - "localId" : "1346", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "1347", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "1348", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "1349", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "1350", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "1351", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - } ] - } - }, { - "localId" : "1375", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "NegInfBegNotContainsDate", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "1375", - "s" : [ { - "value" : [ "","define ","NegInfBegNotContainsDate",": " ] - }, { - "r" : "1429", - "s" : [ { - "r" : "1401", - "s" : [ { - "r" : "1376", - "value" : [ "Interval[","null",", " ] - }, { - "r" : "1393", - "s" : [ { - "r" : "1377", - "value" : [ "DateTime","(","2013",", ","1",", ","1",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ ")" ] - } ] - }, { - "value" : [ " contains " ] - }, { - "r" : "1421", - "s" : [ { - "r" : "1405", - "value" : [ "DateTime","(","2013",", ","1",", ","2",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "1429", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "Contains", - "signature" : [ { - "localId" : "1430", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "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" : "1401", - "lowClosed" : true, - "highClosed" : false, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "1403", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1404", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "1402", - "asType" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "As", - "signature" : [ ], - "operand" : { - "localId" : "1376", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - } - }, - "high" : { - "localId" : "1393", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "1394", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1395", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1396", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1397", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1398", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1399", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1400", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1377", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2013", - "type" : "Literal" - }, - "month" : { - "localId" : "1378", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "1379", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "1380", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "1381", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "1382", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "1383", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - } - }, { - "localId" : "1421", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "1422", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1423", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1424", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1425", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1426", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1427", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1428", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1405", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2013", - "type" : "Literal" - }, - "month" : { - "localId" : "1406", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "1407", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal" - }, - "hour" : { - "localId" : "1408", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "1409", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "1410", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "1411", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - } ] - } - }, { - "localId" : "1435", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "UnknownOpenBegMayContainDate", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "1435", - "s" : [ { - "value" : [ "","define ","UnknownOpenBegMayContainDate",": " ] - }, { - "r" : "1489", - "s" : [ { - "r" : "1461", - "s" : [ { - "r" : "1436", - "value" : [ "Interval(","null",", " ] - }, { - "r" : "1453", - "s" : [ { - "r" : "1437", - "value" : [ "DateTime","(","2013",", ","1",", ","1",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ ")" ] - } ] - }, { - "value" : [ " contains " ] - }, { - "r" : "1481", - "s" : [ { - "r" : "1465", - "value" : [ "DateTime","(","2012",", ","12",", ","31",", ","23",", ","59",", ","59",", ","999",")" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "1489", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "Contains", - "signature" : [ { - "localId" : "1490", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1491", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "1492", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "1461", - "lowClosed" : false, - "highClosed" : false, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "1463", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1464", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "1462", - "asType" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "As", - "signature" : [ ], - "operand" : { - "localId" : "1436", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - } - }, - "high" : { - "localId" : "1453", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "1454", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1455", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1456", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1457", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1458", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1459", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1460", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1437", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2013", - "type" : "Literal" - }, - "month" : { - "localId" : "1438", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "1439", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "1440", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "1441", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "1442", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "1443", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - } - }, { - "localId" : "1481", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "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" - }, { - "localId" : "1484", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1485", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1486", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1487", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1488", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1465", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "1466", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "12", - "type" : "Literal" - }, - "day" : { - "localId" : "1467", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "31", - "type" : "Literal" - }, - "hour" : { - "localId" : "1468", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "23", - "type" : "Literal" - }, - "minute" : { - "localId" : "1469", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal" - }, - "second" : { - "localId" : "1470", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "1471", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "999", - "type" : "Literal" - } - } ] - } - }, { - "localId" : "1495", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "UnknownClosedBegContainsDate", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "1495", - "s" : [ { - "value" : [ "","define ","UnknownClosedBegContainsDate",": " ] - }, { - "r" : "1549", - "s" : [ { - "r" : "1521", - "s" : [ { - "r" : "1496", - "value" : [ "Interval[","null",", " ] - }, { - "r" : "1513", - "s" : [ { - "r" : "1497", - "value" : [ "DateTime","(","2013",", ","1",", ","1",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ ")" ] - } ] - }, { - "value" : [ " contains " ] - }, { - "r" : "1541", - "s" : [ { - "r" : "1525", - "value" : [ "DateTime","(","2012",", ","12",", ","31",", ","23",", ","59",", ","59",", ","999",")" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "1549", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "Contains", - "signature" : [ { - "localId" : "1550", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1551", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "1552", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "1521", - "lowClosed" : true, - "highClosed" : false, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "1523", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1524", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "1522", - "asType" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "As", - "signature" : [ ], - "operand" : { - "localId" : "1496", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - } - }, - "high" : { - "localId" : "1513", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "1514", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1515", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1516", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1517", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1518", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1519", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1520", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1497", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2013", - "type" : "Literal" - }, - "month" : { - "localId" : "1498", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "1499", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "1500", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "1501", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "1502", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "1503", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - } - }, { - "localId" : "1541", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "1542", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1543", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1544", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1545", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1546", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1547", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1548", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1525", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "1526", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "12", - "type" : "Literal" - }, - "day" : { - "localId" : "1527", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "31", - "type" : "Literal" - }, - "hour" : { - "localId" : "1528", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "23", - "type" : "Literal" - }, - "minute" : { - "localId" : "1529", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal" - }, - "second" : { - "localId" : "1530", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "1531", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "999", - "type" : "Literal" - } - } ] - } - }, { - "localId" : "1555", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "UnknownBegMayContainDate", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "1555", - "s" : [ { - "value" : [ "","define ","UnknownBegMayContainDate",": " ] - }, { - "r" : "1609", - "s" : [ { - "r" : "1581", - "s" : [ { - "r" : "1556", - "value" : [ "Interval(","null",", " ] - }, { - "r" : "1573", - "s" : [ { - "r" : "1557", - "value" : [ "DateTime","(","2013",", ","1",", ","1",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ ")" ] - } ] - }, { - "value" : [ " contains " ] - }, { - "r" : "1601", - "s" : [ { - "r" : "1585", - "value" : [ "DateTime","(","1",", ","1",", ","1",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "1609", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "Contains", - "signature" : [ { - "localId" : "1610", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1611", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "1612", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "1581", - "lowClosed" : false, - "highClosed" : false, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "1583", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1584", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "1582", - "asType" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "As", - "signature" : [ ], - "operand" : { - "localId" : "1556", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - } - }, - "high" : { - "localId" : "1573", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "1574", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1575", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1576", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1577", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1578", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1579", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1580", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1557", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2013", - "type" : "Literal" - }, - "month" : { - "localId" : "1558", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "1559", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "1560", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "1561", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "1562", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "1563", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - } - }, { - "localId" : "1601", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "1602", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1603", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1604", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1605", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1606", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1607", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1608", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1585", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "month" : { - "localId" : "1586", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "1587", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "1588", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "1589", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "1590", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "1591", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - } ] - } - }, { - "localId" : "1615", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "UnknownBegNotContainsDate", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "1615", - "s" : [ { - "value" : [ "","define ","UnknownBegNotContainsDate",": " ] - }, { - "r" : "1669", - "s" : [ { - "r" : "1641", - "s" : [ { - "r" : "1616", - "value" : [ "Interval(","null",", " ] - }, { - "r" : "1633", - "s" : [ { - "r" : "1617", - "value" : [ "DateTime","(","2013",", ","1",", ","1",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ ")" ] - } ] - }, { - "value" : [ " contains " ] - }, { - "r" : "1661", - "s" : [ { - "r" : "1645", - "value" : [ "DateTime","(","2013",", ","1",", ","2",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "1669", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "Contains", - "signature" : [ { - "localId" : "1670", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1671", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "1672", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "1641", - "lowClosed" : false, - "highClosed" : false, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "1643", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1644", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "1642", - "asType" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "As", - "signature" : [ ], - "operand" : { - "localId" : "1616", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - } - }, - "high" : { - "localId" : "1633", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "1634", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1635", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1636", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1637", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1638", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1639", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1640", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1617", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2013", - "type" : "Literal" - }, - "month" : { - "localId" : "1618", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "1619", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "1620", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "1621", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "1622", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "1623", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - } - }, { - "localId" : "1661", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "1662", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1663", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1664", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1665", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1666", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1667", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1668", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1645", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2013", - "type" : "Literal" - }, - "month" : { - "localId" : "1646", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "1647", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal" - }, - "hour" : { - "localId" : "1648", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "1649", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "1650", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "1651", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - } ] - } - }, { - "localId" : "1675", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "PosInfEndContainsDate", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "1675", - "s" : [ { - "value" : [ "","define ","PosInfEndContainsDate",": " ] - }, { - "r" : "1729", - "s" : [ { - "r" : "1701", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "1692", - "s" : [ { - "r" : "1676", - "value" : [ "DateTime","(","2013",", ","1",", ","1",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "r" : "1700", - "value" : [ ", ","null","]" ] - } ] - }, { - "value" : [ " contains " ] - }, { - "r" : "1721", - "s" : [ { - "r" : "1705", - "value" : [ "DateTime","(","2014",", ","1",", ","1",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "1729", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "Contains", - "signature" : [ { - "localId" : "1730", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1731", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "1732", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "1701", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "1703", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1704", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "1692", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "1693", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1694", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1695", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1696", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1697", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1698", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1699", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1676", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2013", - "type" : "Literal" - }, - "month" : { - "localId" : "1677", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "1678", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "1679", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "1680", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "1681", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "1682", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - }, - "high" : { - "localId" : "1702", - "asType" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "As", - "signature" : [ ], - "operand" : { - "localId" : "1700", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - } - } - }, { - "localId" : "1721", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "1722", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1723", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1724", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1725", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1726", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1727", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1728", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1705", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2014", - "type" : "Literal" - }, - "month" : { - "localId" : "1706", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "1707", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "1708", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "1709", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "1710", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "1711", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - } ] - } - }, { - "localId" : "1735", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "PosInfEndNotContainsDate", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "1735", - "s" : [ { - "value" : [ "","define ","PosInfEndNotContainsDate",": " ] - }, { - "r" : "1789", - "s" : [ { - "r" : "1761", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "1752", - "s" : [ { - "r" : "1736", - "value" : [ "DateTime","(","2013",", ","1",", ","1",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "r" : "1760", - "value" : [ ", ","null","]" ] - } ] - }, { - "value" : [ " contains " ] - }, { - "r" : "1781", - "s" : [ { - "r" : "1765", - "value" : [ "DateTime","(","2012",", ","1",", ","1",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "1789", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "Contains", - "signature" : [ { - "localId" : "1790", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1791", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "1792", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "1761", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "1763", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1764", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "1752", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "1753", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1754", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1755", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1756", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1757", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1758", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1759", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1736", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2013", - "type" : "Literal" - }, - "month" : { - "localId" : "1737", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "1738", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "1739", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "1740", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "1741", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "1742", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - }, - "high" : { - "localId" : "1762", - "asType" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "As", - "signature" : [ ], - "operand" : { - "localId" : "1760", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - } - } - }, { - "localId" : "1781", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "1782", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1783", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1784", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1785", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1786", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1787", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1788", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1765", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "1766", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "1767", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "1768", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "1769", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "1770", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "1771", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - } ] - } - }, { - "localId" : "1795", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "UnknownOpenEndContainsDate", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "1795", - "s" : [ { - "value" : [ "","define ","UnknownOpenEndContainsDate",": " ] - }, { - "r" : "1849", - "s" : [ { - "r" : "1821", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "1812", - "s" : [ { - "r" : "1796", - "value" : [ "DateTime","(","2013",", ","1",", ","1",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "r" : "1820", - "value" : [ ", ","null",")" ] - } ] - }, { - "value" : [ " contains " ] - }, { - "r" : "1841", - "s" : [ { - "r" : "1825", - "value" : [ "DateTime","(","2013",", ","1",", ","1",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "1849", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "Contains", - "signature" : [ { - "localId" : "1850", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1851", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "1852", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "1821", - "lowClosed" : true, - "highClosed" : false, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "1823", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1824", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "1812", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "1813", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1814", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1815", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1816", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1817", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1818", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1819", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1796", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2013", - "type" : "Literal" - }, - "month" : { - "localId" : "1797", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "1798", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "1799", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "1800", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "1801", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "1802", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - }, - "high" : { - "localId" : "1822", - "asType" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "As", - "signature" : [ ], - "operand" : { - "localId" : "1820", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - } - } - }, { - "localId" : "1841", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "1842", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1843", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1844", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1845", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1846", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1847", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1848", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1825", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2013", - "type" : "Literal" - }, - "month" : { - "localId" : "1826", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "1827", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "1828", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "1829", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "1830", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "1831", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - } ] - } - }, { - "localId" : "1855", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "UnknownClosedEndContainsDate", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "1855", - "s" : [ { - "value" : [ "","define ","UnknownClosedEndContainsDate",": " ] - }, { - "r" : "1909", - "s" : [ { - "r" : "1881", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "1872", - "s" : [ { - "r" : "1856", - "value" : [ "DateTime","(","2013",", ","1",", ","1",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "r" : "1880", - "value" : [ ", ","null","]" ] - } ] - }, { - "value" : [ " contains " ] - }, { - "r" : "1901", - "s" : [ { - "r" : "1885", - "value" : [ "DateTime","(","2013",", ","1",", ","1",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "1909", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "Contains", - "signature" : [ { - "localId" : "1910", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1911", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "1912", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "1881", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "1883", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1884", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "1872", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "1873", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1874", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1875", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1876", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1877", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1878", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1879", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1856", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2013", - "type" : "Literal" - }, - "month" : { - "localId" : "1857", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "1858", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "1859", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "1860", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "1861", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "1862", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - }, - "high" : { - "localId" : "1882", - "asType" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "As", - "signature" : [ ], - "operand" : { - "localId" : "1880", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - } - } - }, { - "localId" : "1901", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "1902", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1903", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1904", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1905", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1906", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1907", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1908", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1885", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2013", - "type" : "Literal" - }, - "month" : { - "localId" : "1886", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "1887", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "1888", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "1889", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "1890", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "1891", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - } ] - } - }, { - "localId" : "1915", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "UnknownEndMayContainDate", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "1915", - "s" : [ { - "value" : [ "","define ","UnknownEndMayContainDate",": " ] - }, { - "r" : "1969", - "s" : [ { - "r" : "1941", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "1932", - "s" : [ { - "r" : "1916", - "value" : [ "DateTime","(","2013",", ","1",", ","1",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "r" : "1940", - "value" : [ ", ","null",")" ] - } ] - }, { - "value" : [ " contains " ] - }, { - "r" : "1961", - "s" : [ { - "r" : "1945", - "value" : [ "DateTime","(","2014",", ","1",", ","1",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "1969", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "Contains", - "signature" : [ { - "localId" : "1970", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1971", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "1972", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "1941", - "lowClosed" : true, - "highClosed" : false, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "1943", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1944", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "1932", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "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" - }, { - "localId" : "1935", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1936", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1937", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1938", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1939", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1916", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2013", - "type" : "Literal" - }, - "month" : { - "localId" : "1917", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "1918", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "1919", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "1920", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "1921", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "1922", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - }, - "high" : { - "localId" : "1942", - "asType" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "As", - "signature" : [ ], - "operand" : { - "localId" : "1940", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - } - } - }, { - "localId" : "1961", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "1962", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1963", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1964", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1965", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1966", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1967", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1968", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1945", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2014", - "type" : "Literal" - }, - "month" : { - "localId" : "1946", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "1947", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "1948", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "1949", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "1950", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "1951", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - } ] - } - }, { - "localId" : "1975", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "UnknownEndNotContainsDate", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "1975", - "s" : [ { - "value" : [ "","define ","UnknownEndNotContainsDate",": " ] - }, { - "r" : "2029", - "s" : [ { - "r" : "2001", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "1992", - "s" : [ { - "r" : "1976", - "value" : [ "DateTime","(","2013",", ","1",", ","1",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "r" : "2000", - "value" : [ ", ","null",")" ] - } ] - }, { - "value" : [ " contains " ] - }, { - "r" : "2021", - "s" : [ { - "r" : "2005", - "value" : [ "DateTime","(","2012",", ","1",", ","1",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "2029", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "Contains", - "signature" : [ { - "localId" : "2030", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "2031", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "2032", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "2001", - "lowClosed" : true, - "highClosed" : false, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "2003", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "2004", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "1992", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "1993", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1994", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1995", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1996", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1997", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1998", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1999", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1976", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2013", - "type" : "Literal" - }, - "month" : { - "localId" : "1977", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "1978", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "1979", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "1980", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "1981", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "1982", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - }, - "high" : { - "localId" : "2002", - "asType" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "As", - "signature" : [ ], - "operand" : { - "localId" : "2000", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - } - } - }, { - "localId" : "2021", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "2022", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2023", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2024", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2025", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2026", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2027", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2028", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "2005", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "2006", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "2007", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "2008", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "2009", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "2010", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "2011", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - } ] - } - } ] - } - } -} - -/* In -library TestSnippet version '1' -using Simple version '1.0.0' -context Patient -define ContainsInt: 3 in Interval[1, 5] -define NotContainsInt: 1 in Interval(1, 5] -define ContainsReal: 2.345 in Interval[1.234, 3.456] -define NotContainsReal: 4.567 in Interval[1.234, 3.456] -define ContainsQuantity: 5 'mg' in Interval[4 'mg', 6 'mg'] -define ContainsQuantityInclusiveEdge: 6 'mg' in Interval[4 'mg', 6 'mg'] -define NotContainsQuantity: 3 'mg' in Interval[4 'mg', 6 'mg'] -define NotContainsQuantityExclusiveEdge: 6 'mg' in Interval[4 'mg', 6 'mg') -define DateIvlHighOpen: Interval[DateTime(2012, 3, 1, 0, 0, 0, 0), DateTime(2012, 9, 1, 0, 0, 0, 0)) -define DateIvlHighClosed: Interval[DateTime(2012, 3, 1, 0, 0, 0, 0), DateTime(2012, 9, 1, 0, 0, 0, 0)] -define ContainsDate: DateTime(2012, 6, 1, 0, 0, 0, 0) in DateIvlHighClosed -define NotContainsDate: DateTime(2012, 9, 1, 0, 0, 0, 0) in DateIvlHighOpen -define ContainsImpreciseDate: DateTime(2012, 4) in DateIvlHighClosed -define NotContainsImpreciseDate: DateTime(2012, 10) in DateIvlHighClosed -define MayContainImpreciseDate: DateTime(2012) in DateIvlHighClosed -define PrecisionDateIvlHighOpen: Interval[DateTime(2012, 3, 2, 12, 34, 56, 789), DateTime(2012, 9, 2, 1, 23, 45, 678)) -define PrecisionDateIvlHighClosed: Interval[DateTime(2012, 3, 2, 12, 34, 56, 789), DateTime(2012, 9, 2, 1, 23, 45, 678)] -define ContainsDayOfDateLowEdge: DateTime(2012, 3, 2, 0, 0, 0, 0) in day of PrecisionDateIvlHighOpen -define NotContainsDayOfDateHighEdgeOpen: DateTime(2012, 9, 2, 23, 59, 59, 999) in day of PrecisionDateIvlHighOpen -define ContainsDayOfDateHighEdgeClosed: DateTime(2012, 9, 2, 23, 59, 59, 999) in day of PrecisionDateIvlHighClosed -define NotContainsDayOfDateLowEdge: DateTime(2012, 3, 1, 23, 59, 59, 999) in day of PrecisionDateIvlHighOpen -define NotContainsDayOfDateBeyondHighEdge: DateTime(2012, 9, 3, 0, 0, 0, 0) in day of PrecisionDateIvlHighOpen -define ContainsDayOfDateImpreciseLowEdge: DateTime(2012, 3, 2) in day of PrecisionDateIvlHighOpen -define NotContainsDayOfDateImpreciseHighEdgeOpen: DateTime(2012, 9, 2) in day of PrecisionDateIvlHighOpen -define ContainsDayOfDateImpreciseHighEdgeClosed: DateTime(2012, 9, 2) in day of PrecisionDateIvlHighClosed -define ContainsDayOfDateVeryImpreciseMiddle: DateTime(2012, 6) in day of PrecisionDateIvlHighOpen -define NotContainsDayOfDateVeryImpreciseLow: DateTime(2012, 2) in day of PrecisionDateIvlHighOpen -define NotContainsDayOfDateVeryImpreciseHighEdgeOpen: DateTime(2012, 10) in day of PrecisionDateIvlHighOpen -define MayContainDayOfDateVeryImpreciseLow: DateTime(2012, 3) in day of PrecisionDateIvlHighOpen -define MayContainDayOfDateVeryImpreciseHigh: DateTime(2012, 9) in day of PrecisionDateIvlHighOpen -define MayContainDayOfDateVeryImpreciseSurrounding: DateTime(2012) in day of PrecisionDateIvlHighOpen -define ImpDateIvl: Interval[DateTime(2012, 3), DateTime(2012, 8)] -define ImpreciseContainsDate: DateTime(2012, 6, 1, 0, 0, 0, 0) in ImpDateIvl -define ImpreciseNotContainsDate: DateTime(2012, 9, 1, 0, 0, 0, 0) in ImpDateIvl -define ImpreciseMayContainDate: DateTime(2012, 3, 15, 0, 0, 0, 0) in ImpDateIvl -define NegInfBegContainsInt: -7 in Interval[null, 5] -define NegInfBegNotContainsInt: 7 in Interval[null, 5] -define UnknownOpenBegContainsInt: 5 in Interval(null, 5] -define UnknownClosedBegContainsInt: 5 in Interval[null, 5] -define UnknownBegMayContainInt: -7 in Interval(null, 5] -define UnknownBegNotContainsInt: 7 in Interval(null, 5] -define PosInfEndContainsInt: 123456789 in Interval[0, null] -define PosInfEndNotContainsInt: -1 in Interval[0, null] -define UnknownOpenEndContainsInt: 0 in Interval[0, null) -define UnknownClosedEndContainsInt: 0 in Interval[0, null] -define UnknownEndMayContainInt: 123456789 in Interval[0, null) -define UnknownEndNotContainsInt: -1 in Interval[0, null) -define NegInfBegContainsDate: DateTime(1, 1, 1, 0, 0, 0, 0) in Interval[null, DateTime(2013, 1, 1, 0, 0, 0, 0)) -define NegInfBegNotContainsDate: DateTime(2013, 1, 2, 0, 0, 0, 0) in Interval[null, DateTime(2013, 1, 1, 0, 0, 0, 0)) -define UnknownOpenBegMayContainDate: DateTime(2012, 12, 31, 23, 59, 59, 999) in Interval(null, DateTime(2013, 1, 1, 0, 0, 0, 0)) -define UnknownClosedBegContainsDate: DateTime(2012, 12, 31, 23, 59, 59, 999) in Interval[null, DateTime(2013, 1, 1, 0, 0, 0, 0)) -define UnknownBegMayContainDate: DateTime(1, 1, 1, 0, 0, 0, 0) in Interval(null, DateTime(2013, 1, 1, 0, 0, 0, 0)) -define UnknownBegNotContainsDate: DateTime(2013, 1, 2, 0, 0, 0, 0) in Interval(null, DateTime(2013, 1, 1, 0, 0, 0, 0)) -define PosInfEndContainsDate: DateTime(2014, 1, 1, 0, 0, 0, 0) in Interval[DateTime(2013, 1, 1, 0, 0, 0, 0), null] -define PosInfEndNotContainsDate: DateTime(2012, 1, 1, 0, 0, 0, 0) in Interval[DateTime(2013, 1, 1, 0, 0, 0, 0), null] -define UnknownOpenEndContainsDate: DateTime(2013, 1, 1, 0, 0, 0, 0) in Interval[DateTime(2013, 1, 1, 0, 0, 0, 0), null) -define UnknownClosedEndContainsDate: DateTime(2013, 1, 1, 0, 0, 0, 0) in Interval[DateTime(2013, 1, 1, 0, 0, 0, 0), null] -define UnknownEndMayContainDate: DateTime(2014, 1, 1, 0, 0, 0, 0) in Interval[DateTime(2013, 1, 1, 0, 0, 0, 0), null) -define UnknownEndNotContainsDate: DateTime(2012, 1, 1, 0, 0, 0, 0) in Interval[DateTime(2013, 1, 1, 0, 0, 0, 0), null) -*/ - -module.exports['In'] = { - "library" : { - "localId" : "0", - "annotation" : [ { - "translatorVersion" : "3.27.0", - "translatorOptions" : "EnableDateRangeOptimization,EnableAnnotations,EnableResultTypes", - "signatureLevel" : "All", - "type" : "CqlToElmInfo" - }, { - "type" : "Annotation", - "s" : { - "r" : "1975", - "s" : [ { - "value" : [ "","library TestSnippet version '1'" ] - } ] - } - } ], - "identifier" : { - "id" : "TestSnippet", - "version" : "1" - }, - "schemaIdentifier" : { - "id" : "urn:hl7-org:elm", - "version" : "r1" - }, - "usings" : { - "def" : [ { - "localId" : "1", - "localIdentifier" : "System", - "uri" : "urn:hl7-org:elm-types:r1" - }, { - "localId" : "206", - "localIdentifier" : "Simple", - "uri" : "https://github.com/cqframework/cql-execution/simple", - "version" : "1.0.0", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "206", - "s" : [ { - "value" : [ "","using " ] - }, { - "s" : [ { - "value" : [ "Simple" ] - } ] - }, { - "value" : [ " version '1.0.0'" ] - } ] - } - } ] - } ] - }, - "contexts" : { - "def" : [ { - "localId" : "211", - "name" : "Patient" - } ] - }, - "statements" : { - "def" : [ { - "localId" : "209", - "name" : "Patient", - "context" : "Patient", - "expression" : { - "localId" : "210", - "type" : "SingletonFrom", - "signature" : [ ], - "operand" : { - "localId" : "208", - "dataType" : "{https://github.com/cqframework/cql-execution/simple}Patient", - "type" : "Retrieve", - "include" : [ ], - "codeFilter" : [ ], - "dateFilter" : [ ], - "otherFilter" : [ ] - } - } - }, { - "localId" : "214", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "ContainsInt", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "214", - "s" : [ { - "value" : [ "","define ","ContainsInt",": " ] - }, { - "r" : "221", - "s" : [ { - "r" : "215", - "value" : [ "3"," in " ] - }, { - "r" : "218", - "s" : [ { - "r" : "216", - "value" : [ "Interval[","1",", ","5","]" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "221", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "In", - "signature" : [ { - "localId" : "222", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "223", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "224", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "215", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, { - "localId" : "218", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "219", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "220", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "216", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "high" : { - "localId" : "217", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal" - } - } ] - } - }, { - "localId" : "227", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "NotContainsInt", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "227", - "s" : [ { - "value" : [ "","define ","NotContainsInt",": " ] - }, { - "r" : "234", - "s" : [ { - "r" : "228", - "value" : [ "1"," in " ] - }, { - "r" : "231", - "s" : [ { - "r" : "229", - "value" : [ "Interval(","1",", ","5","]" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "234", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "In", - "signature" : [ { - "localId" : "235", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "236", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "237", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "228", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, { - "localId" : "231", - "lowClosed" : false, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "232", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "233", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "229", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "high" : { - "localId" : "230", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal" - } - } ] - } - }, { - "localId" : "240", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "ContainsReal", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "240", - "s" : [ { - "value" : [ "","define ","ContainsReal",": " ] - }, { - "r" : "247", - "s" : [ { - "r" : "241", - "value" : [ "2.345"," in " ] - }, { - "r" : "244", - "s" : [ { - "r" : "242", - "value" : [ "Interval[","1.234",", ","3.456","]" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "247", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "In", - "signature" : [ { - "localId" : "248", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "249", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "250", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "241", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "2.345", - "type" : "Literal" - }, { - "localId" : "244", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "245", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "246", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "242", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "1.234", - "type" : "Literal" - }, - "high" : { - "localId" : "243", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "3.456", - "type" : "Literal" - } - } ] - } - }, { - "localId" : "253", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "NotContainsReal", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "253", - "s" : [ { - "value" : [ "","define ","NotContainsReal",": " ] - }, { - "r" : "260", - "s" : [ { - "r" : "254", - "value" : [ "4.567"," in " ] - }, { - "r" : "257", - "s" : [ { - "r" : "255", - "value" : [ "Interval[","1.234",", ","3.456","]" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "260", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "In", - "signature" : [ { - "localId" : "261", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "262", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "263", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "254", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "4.567", - "type" : "Literal" - }, { - "localId" : "257", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "258", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "259", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "255", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "1.234", - "type" : "Literal" - }, - "high" : { - "localId" : "256", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "3.456", - "type" : "Literal" - } - } ] - } - }, { - "localId" : "266", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "ContainsQuantity", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "266", - "s" : [ { - "value" : [ "","define ","ContainsQuantity",": " ] - }, { - "r" : "273", - "s" : [ { - "r" : "267", - "s" : [ { - "value" : [ "5 ","'mg'" ] - } ] - }, { - "value" : [ " in " ] - }, { - "r" : "270", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "268", - "s" : [ { - "value" : [ "4 ","'mg'" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "269", - "s" : [ { - "value" : [ "6 ","'mg'" ] - } ] - }, { - "value" : [ "]" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "273", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "In", - "signature" : [ { - "localId" : "274", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "275", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "276", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "267", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "value" : 5, - "unit" : "mg", - "type" : "Quantity" - }, { - "localId" : "270", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "271", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "272", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "268", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "value" : 4, - "unit" : "mg", - "type" : "Quantity" - }, - "high" : { - "localId" : "269", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "value" : 6, - "unit" : "mg", - "type" : "Quantity" - } - } ] - } - }, { - "localId" : "279", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "ContainsQuantityInclusiveEdge", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "279", - "s" : [ { - "value" : [ "","define ","ContainsQuantityInclusiveEdge",": " ] - }, { - "r" : "286", - "s" : [ { - "r" : "280", - "s" : [ { - "value" : [ "6 ","'mg'" ] - } ] - }, { - "value" : [ " in " ] - }, { - "r" : "283", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "281", - "s" : [ { - "value" : [ "4 ","'mg'" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "282", - "s" : [ { - "value" : [ "6 ","'mg'" ] - } ] - }, { - "value" : [ "]" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "286", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "In", - "signature" : [ { - "localId" : "287", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "288", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "289", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "280", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "value" : 6, - "unit" : "mg", - "type" : "Quantity" - }, { - "localId" : "283", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "284", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "285", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "281", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "value" : 4, - "unit" : "mg", - "type" : "Quantity" - }, - "high" : { - "localId" : "282", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "value" : 6, - "unit" : "mg", - "type" : "Quantity" - } - } ] - } - }, { - "localId" : "292", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "NotContainsQuantity", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "292", - "s" : [ { - "value" : [ "","define ","NotContainsQuantity",": " ] - }, { - "r" : "299", - "s" : [ { - "r" : "293", - "s" : [ { - "value" : [ "3 ","'mg'" ] - } ] - }, { - "value" : [ " in " ] - }, { - "r" : "296", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "294", - "s" : [ { - "value" : [ "4 ","'mg'" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "295", - "s" : [ { - "value" : [ "6 ","'mg'" ] - } ] - }, { - "value" : [ "]" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "299", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "In", - "signature" : [ { - "localId" : "300", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "301", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "302", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "293", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "value" : 3, - "unit" : "mg", - "type" : "Quantity" - }, { - "localId" : "296", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "297", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "298", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "294", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "value" : 4, - "unit" : "mg", - "type" : "Quantity" - }, - "high" : { - "localId" : "295", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "value" : 6, - "unit" : "mg", - "type" : "Quantity" - } - } ] - } - }, { - "localId" : "305", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "NotContainsQuantityExclusiveEdge", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "305", - "s" : [ { - "value" : [ "","define ","NotContainsQuantityExclusiveEdge",": " ] - }, { - "r" : "312", - "s" : [ { - "r" : "306", - "s" : [ { - "value" : [ "6 ","'mg'" ] - } ] - }, { - "value" : [ " in " ] - }, { - "r" : "309", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "307", - "s" : [ { - "value" : [ "4 ","'mg'" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "308", - "s" : [ { - "value" : [ "6 ","'mg'" ] - } ] - }, { - "value" : [ ")" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "312", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "In", - "signature" : [ { - "localId" : "313", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "314", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "315", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "306", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "value" : 6, - "unit" : "mg", - "type" : "Quantity" - }, { - "localId" : "309", - "lowClosed" : true, - "highClosed" : false, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "310", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "311", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "307", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "value" : 4, - "unit" : "mg", - "type" : "Quantity" - }, - "high" : { - "localId" : "308", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "value" : 6, - "unit" : "mg", - "type" : "Quantity" - } - } ] - } - }, { - "localId" : "318", - "name" : "DateIvlHighOpen", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "318", - "s" : [ { - "value" : [ "","define ","DateIvlHighOpen",": " ] - }, { - "r" : "367", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "335", - "s" : [ { - "r" : "319", - "value" : [ "DateTime","(","2012",", ","3",", ","1",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "359", - "s" : [ { - "r" : "343", - "value" : [ "DateTime","(","2012",", ","9",", ","1",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ ")" ] - } ] - } ] - } - } ], - "resultTypeSpecifier" : { - "localId" : "370", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "371", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "expression" : { - "localId" : "367", - "lowClosed" : true, - "highClosed" : false, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "368", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "369", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "335", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "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" - }, { - "localId" : "338", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "339", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "340", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "341", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "342", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "319", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "320", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "321", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "322", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "323", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "324", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "325", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - }, - "high" : { - "localId" : "359", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "360", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "361", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "362", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "363", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "364", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "365", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "366", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "343", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "344", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "9", - "type" : "Literal" - }, - "day" : { - "localId" : "345", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "346", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "347", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "348", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "349", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - } - } - }, { - "localId" : "374", - "name" : "DateIvlHighClosed", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "374", - "s" : [ { - "value" : [ "","define ","DateIvlHighClosed",": " ] - }, { - "r" : "423", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "391", - "s" : [ { - "r" : "375", - "value" : [ "DateTime","(","2012",", ","3",", ","1",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "415", - "s" : [ { - "r" : "399", - "value" : [ "DateTime","(","2012",", ","9",", ","1",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ "]" ] - } ] - } ] - } - } ], - "resultTypeSpecifier" : { - "localId" : "426", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "427", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "expression" : { - "localId" : "423", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "424", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "425", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "391", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "392", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "393", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "394", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "395", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "396", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "397", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "398", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "375", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "376", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "377", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "378", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "379", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "380", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "381", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - }, - "high" : { - "localId" : "415", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "416", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "417", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "418", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "419", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "420", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "421", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "422", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "399", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "400", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "9", - "type" : "Literal" - }, - "day" : { - "localId" : "401", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "402", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "403", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "404", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "405", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - } - } - }, { - "localId" : "430", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "ContainsDate", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "430", - "s" : [ { - "value" : [ "","define ","ContainsDate",": " ] - }, { - "r" : "458", - "s" : [ { - "r" : "447", - "s" : [ { - "r" : "431", - "value" : [ "DateTime","(","2012",", ","6",", ","1",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ " in " ] - }, { - "r" : "455", - "s" : [ { - "value" : [ "DateIvlHighClosed" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "458", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "In", - "signature" : [ { - "localId" : "459", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "460", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "461", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "447", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "448", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "449", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "450", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "451", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "452", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "453", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "454", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "431", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "432", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "6", - "type" : "Literal" - }, - "day" : { - "localId" : "433", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "434", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "435", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "436", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "437", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - }, { - "localId" : "455", - "name" : "DateIvlHighClosed", - "type" : "ExpressionRef", - "resultTypeSpecifier" : { - "localId" : "456", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "457", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - } ] - } - }, { - "localId" : "464", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "NotContainsDate", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "464", - "s" : [ { - "value" : [ "","define ","NotContainsDate",": " ] - }, { - "r" : "492", - "s" : [ { - "r" : "481", - "s" : [ { - "r" : "465", - "value" : [ "DateTime","(","2012",", ","9",", ","1",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ " in " ] - }, { - "r" : "489", - "s" : [ { - "value" : [ "DateIvlHighOpen" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "492", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "In", - "signature" : [ { - "localId" : "493", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "494", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "495", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "481", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "482", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "483", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "484", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "485", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "486", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "487", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "488", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "465", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "466", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "9", - "type" : "Literal" - }, - "day" : { - "localId" : "467", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "468", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "469", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "470", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "471", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - }, { - "localId" : "489", - "name" : "DateIvlHighOpen", - "type" : "ExpressionRef", - "resultTypeSpecifier" : { - "localId" : "490", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "491", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - } ] - } - }, { - "localId" : "498", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "ContainsImpreciseDate", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "498", - "s" : [ { - "value" : [ "","define ","ContainsImpreciseDate",": " ] - }, { - "r" : "511", - "s" : [ { - "r" : "505", - "s" : [ { - "r" : "499", - "value" : [ "DateTime","(","2012",", ","4",")" ] - } ] - }, { - "value" : [ " in " ] - }, { - "r" : "508", - "s" : [ { - "value" : [ "DateIvlHighClosed" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "511", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "In", - "signature" : [ { - "localId" : "512", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "513", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "514", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "505", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "506", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "507", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "499", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "500", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "4", - "type" : "Literal" - } - }, { - "localId" : "508", - "name" : "DateIvlHighClosed", - "type" : "ExpressionRef", - "resultTypeSpecifier" : { - "localId" : "509", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "510", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - } ] - } - }, { - "localId" : "517", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "NotContainsImpreciseDate", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "517", - "s" : [ { - "value" : [ "","define ","NotContainsImpreciseDate",": " ] - }, { - "r" : "530", - "s" : [ { - "r" : "524", - "s" : [ { - "r" : "518", - "value" : [ "DateTime","(","2012",", ","10",")" ] - } ] - }, { - "value" : [ " in " ] - }, { - "r" : "527", - "s" : [ { - "value" : [ "DateIvlHighClosed" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "530", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "In", - "signature" : [ { - "localId" : "531", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "532", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "533", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "524", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "525", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "526", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "518", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "519", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal" - } - }, { - "localId" : "527", - "name" : "DateIvlHighClosed", - "type" : "ExpressionRef", - "resultTypeSpecifier" : { - "localId" : "528", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "529", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - } ] - } - }, { - "localId" : "536", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "MayContainImpreciseDate", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "536", - "s" : [ { - "value" : [ "","define ","MayContainImpreciseDate",": " ] - }, { - "r" : "546", - "s" : [ { - "r" : "541", - "s" : [ { - "r" : "537", - "value" : [ "DateTime","(","2012",")" ] - } ] - }, { - "value" : [ " in " ] - }, { - "r" : "543", - "s" : [ { - "value" : [ "DateIvlHighClosed" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "546", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "In", - "signature" : [ { - "localId" : "547", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "548", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "549", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "541", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "542", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "537", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - } - }, { - "localId" : "543", - "name" : "DateIvlHighClosed", - "type" : "ExpressionRef", - "resultTypeSpecifier" : { - "localId" : "544", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "545", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - } ] - } - }, { - "localId" : "552", - "name" : "PrecisionDateIvlHighOpen", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "552", - "s" : [ { - "value" : [ "","define ","PrecisionDateIvlHighOpen",": " ] - }, { - "r" : "601", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "569", - "s" : [ { - "r" : "553", - "value" : [ "DateTime","(","2012",", ","3",", ","2",", ","12",", ","34",", ","56",", ","789",")" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "593", - "s" : [ { - "r" : "577", - "value" : [ "DateTime","(","2012",", ","9",", ","2",", ","1",", ","23",", ","45",", ","678",")" ] - } ] - }, { - "value" : [ ")" ] - } ] - } ] - } - } ], - "resultTypeSpecifier" : { - "localId" : "604", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "605", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "expression" : { - "localId" : "601", - "lowClosed" : true, - "highClosed" : false, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "602", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "603", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "569", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "570", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "571", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "572", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "573", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "574", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "575", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "576", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "553", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "554", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "555", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal" - }, - "hour" : { - "localId" : "556", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "12", - "type" : "Literal" - }, - "minute" : { - "localId" : "557", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "34", - "type" : "Literal" - }, - "second" : { - "localId" : "558", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "56", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "559", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "789", - "type" : "Literal" - } - }, - "high" : { - "localId" : "593", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "594", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "595", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "596", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "597", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "598", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "599", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "600", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "577", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "578", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "9", - "type" : "Literal" - }, - "day" : { - "localId" : "579", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal" - }, - "hour" : { - "localId" : "580", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "minute" : { - "localId" : "581", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "23", - "type" : "Literal" - }, - "second" : { - "localId" : "582", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "45", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "583", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "678", - "type" : "Literal" - } - } - } - }, { - "localId" : "608", - "name" : "PrecisionDateIvlHighClosed", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "608", - "s" : [ { - "value" : [ "","define ","PrecisionDateIvlHighClosed",": " ] - }, { - "r" : "657", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "625", - "s" : [ { - "r" : "609", - "value" : [ "DateTime","(","2012",", ","3",", ","2",", ","12",", ","34",", ","56",", ","789",")" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "649", - "s" : [ { - "r" : "633", - "value" : [ "DateTime","(","2012",", ","9",", ","2",", ","1",", ","23",", ","45",", ","678",")" ] - } ] - }, { - "value" : [ "]" ] - } ] - } ] - } - } ], - "resultTypeSpecifier" : { - "localId" : "660", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "661", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "expression" : { - "localId" : "657", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "658", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "659", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "625", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "626", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "627", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "628", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "629", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "630", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "631", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "632", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "609", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "610", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "611", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal" - }, - "hour" : { - "localId" : "612", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "12", - "type" : "Literal" - }, - "minute" : { - "localId" : "613", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "34", - "type" : "Literal" - }, - "second" : { - "localId" : "614", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "56", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "615", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "789", - "type" : "Literal" - } - }, - "high" : { - "localId" : "649", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "650", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "651", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "652", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "653", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "654", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "655", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "656", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "633", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "634", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "9", - "type" : "Literal" - }, - "day" : { - "localId" : "635", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal" - }, - "hour" : { - "localId" : "636", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "minute" : { - "localId" : "637", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "23", - "type" : "Literal" - }, - "second" : { - "localId" : "638", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "45", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "639", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "678", - "type" : "Literal" - } - } - } - }, { - "localId" : "664", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "ContainsDayOfDateLowEdge", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "664", - "s" : [ { - "value" : [ "","define ","ContainsDayOfDateLowEdge",": " ] - }, { - "r" : "665", - "s" : [ { - "r" : "682", - "s" : [ { - "r" : "666", - "value" : [ "DateTime","(","2012",", ","3",", ","2",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ " in day of " ] - }, { - "r" : "690", - "s" : [ { - "value" : [ "PrecisionDateIvlHighOpen" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "665", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "precision" : "Day", - "type" : "In", - "signature" : [ { - "localId" : "693", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "694", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "695", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "682", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "683", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "684", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "685", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "686", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "687", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "688", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "689", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "666", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "667", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "668", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal" - }, - "hour" : { - "localId" : "669", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "670", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "671", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "672", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - }, { - "localId" : "690", - "name" : "PrecisionDateIvlHighOpen", - "type" : "ExpressionRef", - "resultTypeSpecifier" : { - "localId" : "691", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "692", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - } ] - } - }, { - "localId" : "698", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "NotContainsDayOfDateHighEdgeOpen", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "698", - "s" : [ { - "value" : [ "","define ","NotContainsDayOfDateHighEdgeOpen",": " ] - }, { - "r" : "699", - "s" : [ { - "r" : "716", - "s" : [ { - "r" : "700", - "value" : [ "DateTime","(","2012",", ","9",", ","2",", ","23",", ","59",", ","59",", ","999",")" ] - } ] - }, { - "value" : [ " in day of " ] - }, { - "r" : "724", - "s" : [ { - "value" : [ "PrecisionDateIvlHighOpen" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "699", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "precision" : "Day", - "type" : "In", - "signature" : [ { - "localId" : "727", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "728", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "729", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "716", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "717", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "718", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "719", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "720", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "721", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "722", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "723", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "700", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "701", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "9", - "type" : "Literal" - }, - "day" : { - "localId" : "702", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal" - }, - "hour" : { - "localId" : "703", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "23", - "type" : "Literal" - }, - "minute" : { - "localId" : "704", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal" - }, - "second" : { - "localId" : "705", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "706", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "999", - "type" : "Literal" - } - }, { - "localId" : "724", - "name" : "PrecisionDateIvlHighOpen", - "type" : "ExpressionRef", - "resultTypeSpecifier" : { - "localId" : "725", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "726", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - } ] - } - }, { - "localId" : "732", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "ContainsDayOfDateHighEdgeClosed", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "732", - "s" : [ { - "value" : [ "","define ","ContainsDayOfDateHighEdgeClosed",": " ] - }, { - "r" : "733", - "s" : [ { - "r" : "750", - "s" : [ { - "r" : "734", - "value" : [ "DateTime","(","2012",", ","9",", ","2",", ","23",", ","59",", ","59",", ","999",")" ] - } ] - }, { - "value" : [ " in day of " ] - }, { - "r" : "758", - "s" : [ { - "value" : [ "PrecisionDateIvlHighClosed" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "733", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "precision" : "Day", - "type" : "In", - "signature" : [ { - "localId" : "761", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "762", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "763", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "750", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "751", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "752", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "753", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "754", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "755", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "756", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "757", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "734", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "735", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "9", - "type" : "Literal" - }, - "day" : { - "localId" : "736", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal" - }, - "hour" : { - "localId" : "737", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "23", - "type" : "Literal" - }, - "minute" : { - "localId" : "738", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal" - }, - "second" : { - "localId" : "739", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "740", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "999", - "type" : "Literal" - } - }, { - "localId" : "758", - "name" : "PrecisionDateIvlHighClosed", - "type" : "ExpressionRef", - "resultTypeSpecifier" : { - "localId" : "759", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "760", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - } ] - } - }, { - "localId" : "766", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "NotContainsDayOfDateLowEdge", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "766", - "s" : [ { - "value" : [ "","define ","NotContainsDayOfDateLowEdge",": " ] - }, { - "r" : "767", - "s" : [ { - "r" : "784", - "s" : [ { - "r" : "768", - "value" : [ "DateTime","(","2012",", ","3",", ","1",", ","23",", ","59",", ","59",", ","999",")" ] - } ] - }, { - "value" : [ " in day of " ] - }, { - "r" : "792", - "s" : [ { - "value" : [ "PrecisionDateIvlHighOpen" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "767", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "precision" : "Day", - "type" : "In", - "signature" : [ { - "localId" : "795", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "796", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "797", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "784", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "785", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "786", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "787", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "788", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "789", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "790", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "791", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "768", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "769", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "770", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "771", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "23", - "type" : "Literal" - }, - "minute" : { - "localId" : "772", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal" - }, - "second" : { - "localId" : "773", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "774", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "999", - "type" : "Literal" - } - }, { - "localId" : "792", - "name" : "PrecisionDateIvlHighOpen", - "type" : "ExpressionRef", - "resultTypeSpecifier" : { - "localId" : "793", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "794", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - } ] - } - }, { - "localId" : "800", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "NotContainsDayOfDateBeyondHighEdge", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "800", - "s" : [ { - "value" : [ "","define ","NotContainsDayOfDateBeyondHighEdge",": " ] - }, { - "r" : "801", - "s" : [ { - "r" : "818", - "s" : [ { - "r" : "802", - "value" : [ "DateTime","(","2012",", ","9",", ","3",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ " in day of " ] - }, { - "r" : "826", - "s" : [ { - "value" : [ "PrecisionDateIvlHighOpen" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "801", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "precision" : "Day", - "type" : "In", - "signature" : [ { - "localId" : "829", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "830", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "831", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "818", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "819", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "820", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "821", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "822", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "823", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "824", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "825", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "802", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "803", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "9", - "type" : "Literal" - }, - "day" : { - "localId" : "804", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "hour" : { - "localId" : "805", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "806", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "807", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "808", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - }, { - "localId" : "826", - "name" : "PrecisionDateIvlHighOpen", - "type" : "ExpressionRef", - "resultTypeSpecifier" : { - "localId" : "827", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "828", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - } ] - } - }, { - "localId" : "834", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "ContainsDayOfDateImpreciseLowEdge", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "834", - "s" : [ { - "value" : [ "","define ","ContainsDayOfDateImpreciseLowEdge",": " ] - }, { - "r" : "835", - "s" : [ { - "r" : "844", - "s" : [ { - "r" : "836", - "value" : [ "DateTime","(","2012",", ","3",", ","2",")" ] - } ] - }, { - "value" : [ " in day of " ] - }, { - "r" : "848", - "s" : [ { - "value" : [ "PrecisionDateIvlHighOpen" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "835", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "precision" : "Day", - "type" : "In", - "signature" : [ { - "localId" : "851", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "852", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "853", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "844", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "845", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "846", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "847", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "836", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "837", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "838", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal" - } - }, { - "localId" : "848", - "name" : "PrecisionDateIvlHighOpen", - "type" : "ExpressionRef", - "resultTypeSpecifier" : { - "localId" : "849", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "850", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - } ] - } - }, { - "localId" : "856", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "NotContainsDayOfDateImpreciseHighEdgeOpen", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "856", - "s" : [ { - "value" : [ "","define ","NotContainsDayOfDateImpreciseHighEdgeOpen",": " ] - }, { - "r" : "857", - "s" : [ { - "r" : "866", - "s" : [ { - "r" : "858", - "value" : [ "DateTime","(","2012",", ","9",", ","2",")" ] - } ] - }, { - "value" : [ " in day of " ] - }, { - "r" : "870", - "s" : [ { - "value" : [ "PrecisionDateIvlHighOpen" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "857", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "precision" : "Day", - "type" : "In", - "signature" : [ { - "localId" : "873", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "874", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "875", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "866", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "867", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "868", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "869", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "858", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "859", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "9", - "type" : "Literal" - }, - "day" : { - "localId" : "860", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal" - } - }, { - "localId" : "870", - "name" : "PrecisionDateIvlHighOpen", - "type" : "ExpressionRef", - "resultTypeSpecifier" : { - "localId" : "871", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "872", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - } ] - } - }, { - "localId" : "878", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "ContainsDayOfDateImpreciseHighEdgeClosed", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "878", - "s" : [ { - "value" : [ "","define ","ContainsDayOfDateImpreciseHighEdgeClosed",": " ] - }, { - "r" : "879", - "s" : [ { - "r" : "888", - "s" : [ { - "r" : "880", - "value" : [ "DateTime","(","2012",", ","9",", ","2",")" ] - } ] - }, { - "value" : [ " in day of " ] - }, { - "r" : "892", - "s" : [ { - "value" : [ "PrecisionDateIvlHighClosed" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "879", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "precision" : "Day", - "type" : "In", - "signature" : [ { - "localId" : "895", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "896", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "897", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "888", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "889", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "890", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "891", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "880", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "881", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "9", - "type" : "Literal" - }, - "day" : { - "localId" : "882", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal" - } - }, { - "localId" : "892", - "name" : "PrecisionDateIvlHighClosed", - "type" : "ExpressionRef", - "resultTypeSpecifier" : { - "localId" : "893", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "894", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - } ] - } - }, { - "localId" : "900", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "ContainsDayOfDateVeryImpreciseMiddle", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "900", - "s" : [ { - "value" : [ "","define ","ContainsDayOfDateVeryImpreciseMiddle",": " ] - }, { - "r" : "901", - "s" : [ { - "r" : "908", - "s" : [ { - "r" : "902", - "value" : [ "DateTime","(","2012",", ","6",")" ] - } ] - }, { - "value" : [ " in day of " ] - }, { - "r" : "911", - "s" : [ { - "value" : [ "PrecisionDateIvlHighOpen" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "901", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "precision" : "Day", - "type" : "In", - "signature" : [ { - "localId" : "914", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "915", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "916", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "908", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "909", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "910", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "902", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "903", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "6", - "type" : "Literal" - } - }, { - "localId" : "911", - "name" : "PrecisionDateIvlHighOpen", - "type" : "ExpressionRef", - "resultTypeSpecifier" : { - "localId" : "912", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "913", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - } ] - } - }, { - "localId" : "919", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "NotContainsDayOfDateVeryImpreciseLow", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "919", - "s" : [ { - "value" : [ "","define ","NotContainsDayOfDateVeryImpreciseLow",": " ] - }, { - "r" : "920", - "s" : [ { - "r" : "927", - "s" : [ { - "r" : "921", - "value" : [ "DateTime","(","2012",", ","2",")" ] - } ] - }, { - "value" : [ " in day of " ] - }, { - "r" : "930", - "s" : [ { - "value" : [ "PrecisionDateIvlHighOpen" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "920", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "precision" : "Day", - "type" : "In", - "signature" : [ { - "localId" : "933", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "934", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "935", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "927", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "928", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "929", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "921", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "922", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal" - } - }, { - "localId" : "930", - "name" : "PrecisionDateIvlHighOpen", - "type" : "ExpressionRef", - "resultTypeSpecifier" : { - "localId" : "931", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "932", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - } ] - } - }, { - "localId" : "938", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "NotContainsDayOfDateVeryImpreciseHighEdgeOpen", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "938", - "s" : [ { - "value" : [ "","define ","NotContainsDayOfDateVeryImpreciseHighEdgeOpen",": " ] - }, { - "r" : "939", - "s" : [ { - "r" : "946", - "s" : [ { - "r" : "940", - "value" : [ "DateTime","(","2012",", ","10",")" ] - } ] - }, { - "value" : [ " in day of " ] - }, { - "r" : "949", - "s" : [ { - "value" : [ "PrecisionDateIvlHighOpen" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "939", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "precision" : "Day", - "type" : "In", - "signature" : [ { - "localId" : "952", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "953", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "954", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "946", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "947", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "948", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "940", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "941", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal" - } - }, { - "localId" : "949", - "name" : "PrecisionDateIvlHighOpen", - "type" : "ExpressionRef", - "resultTypeSpecifier" : { - "localId" : "950", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "951", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - } ] - } - }, { - "localId" : "957", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "MayContainDayOfDateVeryImpreciseLow", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "957", - "s" : [ { - "value" : [ "","define ","MayContainDayOfDateVeryImpreciseLow",": " ] - }, { - "r" : "958", - "s" : [ { - "r" : "965", - "s" : [ { - "r" : "959", - "value" : [ "DateTime","(","2012",", ","3",")" ] - } ] - }, { - "value" : [ " in day of " ] - }, { - "r" : "968", - "s" : [ { - "value" : [ "PrecisionDateIvlHighOpen" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "958", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "precision" : "Day", - "type" : "In", - "signature" : [ { - "localId" : "971", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "972", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "973", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "965", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "966", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "967", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "959", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "960", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - } - }, { - "localId" : "968", - "name" : "PrecisionDateIvlHighOpen", - "type" : "ExpressionRef", - "resultTypeSpecifier" : { - "localId" : "969", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "970", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - } ] - } - }, { - "localId" : "976", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "MayContainDayOfDateVeryImpreciseHigh", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "976", - "s" : [ { - "value" : [ "","define ","MayContainDayOfDateVeryImpreciseHigh",": " ] - }, { - "r" : "977", - "s" : [ { - "r" : "984", - "s" : [ { - "r" : "978", - "value" : [ "DateTime","(","2012",", ","9",")" ] - } ] - }, { - "value" : [ " in day of " ] - }, { - "r" : "987", - "s" : [ { - "value" : [ "PrecisionDateIvlHighOpen" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "977", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "precision" : "Day", - "type" : "In", - "signature" : [ { - "localId" : "990", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "991", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "992", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "984", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "985", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "986", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "978", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "979", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "9", - "type" : "Literal" - } - }, { - "localId" : "987", - "name" : "PrecisionDateIvlHighOpen", - "type" : "ExpressionRef", - "resultTypeSpecifier" : { - "localId" : "988", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "989", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - } ] - } - }, { - "localId" : "995", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "MayContainDayOfDateVeryImpreciseSurrounding", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "995", - "s" : [ { - "value" : [ "","define ","MayContainDayOfDateVeryImpreciseSurrounding",": " ] - }, { - "r" : "996", - "s" : [ { - "r" : "1001", - "s" : [ { - "r" : "997", - "value" : [ "DateTime","(","2012",")" ] - } ] - }, { - "value" : [ " in day of " ] - }, { - "r" : "1003", - "s" : [ { - "value" : [ "PrecisionDateIvlHighOpen" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "996", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "precision" : "Day", - "type" : "In", - "signature" : [ { - "localId" : "1006", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1007", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1008", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "1001", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "1002", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "997", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - } - }, { - "localId" : "1003", - "name" : "PrecisionDateIvlHighOpen", - "type" : "ExpressionRef", - "resultTypeSpecifier" : { - "localId" : "1004", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1005", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - } ] - } - }, { - "localId" : "1011", - "name" : "ImpDateIvl", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "1011", - "s" : [ { - "value" : [ "","define ","ImpDateIvl",": " ] - }, { - "r" : "1030", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "1018", - "s" : [ { - "r" : "1012", - "value" : [ "DateTime","(","2012",", ","3",")" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "1027", - "s" : [ { - "r" : "1021", - "value" : [ "DateTime","(","2012",", ","8",")" ] - } ] - }, { - "value" : [ "]" ] - } ] - } ] - } - } ], - "resultTypeSpecifier" : { - "localId" : "1033", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1034", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "expression" : { - "localId" : "1030", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "1031", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1032", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "1018", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "1019", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1020", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1012", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "1013", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - } - }, - "high" : { - "localId" : "1027", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "1028", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1029", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1021", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "1022", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "8", - "type" : "Literal" - } - } - } - }, { - "localId" : "1037", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "ImpreciseContainsDate", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "1037", - "s" : [ { - "value" : [ "","define ","ImpreciseContainsDate",": " ] - }, { - "r" : "1065", - "s" : [ { - "r" : "1054", - "s" : [ { - "r" : "1038", - "value" : [ "DateTime","(","2012",", ","6",", ","1",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ " in " ] - }, { - "r" : "1062", - "s" : [ { - "value" : [ "ImpDateIvl" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "1065", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "In", - "signature" : [ { - "localId" : "1066", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1067", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1068", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "1054", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "1055", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1056", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1057", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1058", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1059", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1060", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1061", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1038", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "1039", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "6", - "type" : "Literal" - }, - "day" : { - "localId" : "1040", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "1041", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "1042", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "1043", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "1044", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - }, { - "localId" : "1062", - "name" : "ImpDateIvl", - "type" : "ExpressionRef", - "resultTypeSpecifier" : { - "localId" : "1063", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1064", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - } ] - } - }, { - "localId" : "1071", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "ImpreciseNotContainsDate", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "1071", - "s" : [ { - "value" : [ "","define ","ImpreciseNotContainsDate",": " ] - }, { - "r" : "1099", - "s" : [ { - "r" : "1088", - "s" : [ { - "r" : "1072", - "value" : [ "DateTime","(","2012",", ","9",", ","1",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ " in " ] - }, { - "r" : "1096", - "s" : [ { - "value" : [ "ImpDateIvl" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "1099", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "In", - "signature" : [ { - "localId" : "1100", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1101", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1102", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "1088", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "1089", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1090", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1091", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1092", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1093", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1094", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1095", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1072", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "1073", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "9", - "type" : "Literal" - }, - "day" : { - "localId" : "1074", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "1075", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "1076", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "1077", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "1078", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - }, { - "localId" : "1096", - "name" : "ImpDateIvl", - "type" : "ExpressionRef", - "resultTypeSpecifier" : { - "localId" : "1097", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1098", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - } ] - } - }, { - "localId" : "1105", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "ImpreciseMayContainDate", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "1105", - "s" : [ { - "value" : [ "","define ","ImpreciseMayContainDate",": " ] - }, { - "r" : "1133", - "s" : [ { - "r" : "1122", - "s" : [ { - "r" : "1106", - "value" : [ "DateTime","(","2012",", ","3",", ","15",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ " in " ] - }, { - "r" : "1130", - "s" : [ { - "value" : [ "ImpDateIvl" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "1133", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "In", - "signature" : [ { - "localId" : "1134", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1135", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1136", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "1122", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "1123", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1124", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1125", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1126", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1127", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1128", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1129", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1106", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "1107", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "1108", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal" - }, - "hour" : { - "localId" : "1109", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "1110", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "1111", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "1112", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - }, { - "localId" : "1130", - "name" : "ImpDateIvl", - "type" : "ExpressionRef", - "resultTypeSpecifier" : { - "localId" : "1131", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1132", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - } ] - } - }, { - "localId" : "1139", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "NegInfBegContainsInt", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "1139", - "s" : [ { - "value" : [ "","define ","NegInfBegContainsInt",": " ] - }, { - "r" : "1149", - "s" : [ { - "r" : "1140", - "s" : [ { - "r" : "1141", - "value" : [ "-","7" ] - } ] - }, { - "value" : [ " in " ] - }, { - "r" : "1145", - "s" : [ { - "r" : "1143", - "value" : [ "Interval[","null",", ","5","]" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "1149", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "In", - "signature" : [ { - "localId" : "1150", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1151", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1152", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "1140", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "Negate", - "signature" : [ { - "localId" : "1142", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "1141", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "7", - "type" : "Literal" - } - }, { - "localId" : "1145", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "1147", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1148", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "1146", - "asType" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "As", - "signature" : [ ], - "operand" : { - "localId" : "1143", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - } - }, - "high" : { - "localId" : "1144", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal" - } - } ] - } - }, { - "localId" : "1155", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "NegInfBegNotContainsInt", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "1155", - "s" : [ { - "value" : [ "","define ","NegInfBegNotContainsInt",": " ] - }, { - "r" : "1163", - "s" : [ { - "r" : "1156", - "value" : [ "7"," in " ] - }, { - "r" : "1159", - "s" : [ { - "r" : "1157", - "value" : [ "Interval[","null",", ","5","]" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "1163", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "In", - "signature" : [ { - "localId" : "1164", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1165", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1166", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "1156", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "7", - "type" : "Literal" - }, { - "localId" : "1159", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "1161", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1162", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "1160", - "asType" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "As", - "signature" : [ ], - "operand" : { - "localId" : "1157", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - } - }, - "high" : { - "localId" : "1158", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal" - } - } ] - } - }, { - "localId" : "1169", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "UnknownOpenBegContainsInt", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "1169", - "s" : [ { - "value" : [ "","define ","UnknownOpenBegContainsInt",": " ] - }, { - "r" : "1177", - "s" : [ { - "r" : "1170", - "value" : [ "5"," in " ] - }, { - "r" : "1173", - "s" : [ { - "r" : "1171", - "value" : [ "Interval(","null",", ","5","]" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "1177", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "In", - "signature" : [ { - "localId" : "1178", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1179", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1180", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "1170", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal" - }, { - "localId" : "1173", - "lowClosed" : false, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "1175", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1176", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "1174", - "asType" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "As", - "signature" : [ ], - "operand" : { - "localId" : "1171", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - } - }, - "high" : { - "localId" : "1172", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal" - } - } ] - } - }, { - "localId" : "1183", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "UnknownClosedBegContainsInt", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "1183", - "s" : [ { - "value" : [ "","define ","UnknownClosedBegContainsInt",": " ] - }, { - "r" : "1191", - "s" : [ { - "r" : "1184", - "value" : [ "5"," in " ] - }, { - "r" : "1187", - "s" : [ { - "r" : "1185", - "value" : [ "Interval[","null",", ","5","]" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "1191", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "In", - "signature" : [ { - "localId" : "1192", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1193", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1194", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "1184", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal" - }, { - "localId" : "1187", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "1189", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1190", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "1188", - "asType" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "As", - "signature" : [ ], - "operand" : { - "localId" : "1185", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - } - }, - "high" : { - "localId" : "1186", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal" - } - } ] - } - }, { - "localId" : "1197", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "UnknownBegMayContainInt", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "1197", - "s" : [ { - "value" : [ "","define ","UnknownBegMayContainInt",": " ] - }, { - "r" : "1207", - "s" : [ { - "r" : "1198", - "s" : [ { - "r" : "1199", - "value" : [ "-","7" ] - } ] - }, { - "value" : [ " in " ] - }, { - "r" : "1203", - "s" : [ { - "r" : "1201", - "value" : [ "Interval(","null",", ","5","]" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "1207", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "In", - "signature" : [ { - "localId" : "1208", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1209", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1210", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "1198", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "Negate", - "signature" : [ { - "localId" : "1200", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "1199", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "7", - "type" : "Literal" - } - }, { - "localId" : "1203", - "lowClosed" : false, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "1205", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1206", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "1204", - "asType" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "As", - "signature" : [ ], - "operand" : { - "localId" : "1201", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - } - }, - "high" : { - "localId" : "1202", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal" - } - } ] - } - }, { - "localId" : "1213", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "UnknownBegNotContainsInt", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "1213", - "s" : [ { - "value" : [ "","define ","UnknownBegNotContainsInt",": " ] - }, { - "r" : "1221", - "s" : [ { - "r" : "1214", - "value" : [ "7"," in " ] - }, { - "r" : "1217", - "s" : [ { - "r" : "1215", - "value" : [ "Interval(","null",", ","5","]" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "1221", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "In", - "signature" : [ { - "localId" : "1222", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1223", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1224", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "1214", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "7", - "type" : "Literal" - }, { - "localId" : "1217", - "lowClosed" : false, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "1219", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1220", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "1218", - "asType" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "As", - "signature" : [ ], - "operand" : { - "localId" : "1215", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - } - }, - "high" : { - "localId" : "1216", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal" - } - } ] - } - }, { - "localId" : "1227", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "PosInfEndContainsInt", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "1227", - "s" : [ { - "value" : [ "","define ","PosInfEndContainsInt",": " ] - }, { - "r" : "1235", - "s" : [ { - "r" : "1228", - "value" : [ "123456789"," in " ] - }, { - "r" : "1231", - "s" : [ { - "r" : "1229", - "value" : [ "Interval[","0",", ","null","]" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "1235", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "In", - "signature" : [ { - "localId" : "1236", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1237", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1238", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "1228", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "123456789", - "type" : "Literal" - }, { - "localId" : "1231", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "1233", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1234", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "1229", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "high" : { - "localId" : "1232", - "asType" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "As", - "signature" : [ ], - "operand" : { - "localId" : "1230", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - } - } - } ] - } - }, { - "localId" : "1241", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "PosInfEndNotContainsInt", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "1241", - "s" : [ { - "value" : [ "","define ","PosInfEndNotContainsInt",": " ] - }, { - "r" : "1251", - "s" : [ { - "r" : "1242", - "s" : [ { - "r" : "1243", - "value" : [ "-","1" ] - } ] - }, { - "value" : [ " in " ] - }, { - "r" : "1247", - "s" : [ { - "r" : "1245", - "value" : [ "Interval[","0",", ","null","]" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "1251", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "In", - "signature" : [ { - "localId" : "1252", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1253", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1254", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "1242", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "Negate", - "signature" : [ { - "localId" : "1244", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "1243", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - } - }, { - "localId" : "1247", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "1249", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1250", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "1245", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "high" : { - "localId" : "1248", - "asType" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "As", - "signature" : [ ], - "operand" : { - "localId" : "1246", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - } - } - } ] - } - }, { - "localId" : "1257", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "UnknownOpenEndContainsInt", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "1257", - "s" : [ { - "value" : [ "","define ","UnknownOpenEndContainsInt",": " ] - }, { - "r" : "1265", - "s" : [ { - "r" : "1258", - "value" : [ "0"," in " ] - }, { - "r" : "1261", - "s" : [ { - "r" : "1259", - "value" : [ "Interval[","0",", ","null",")" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "1265", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "In", - "signature" : [ { - "localId" : "1266", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1267", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1268", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "1258", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, { - "localId" : "1261", - "lowClosed" : true, - "highClosed" : false, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "1263", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1264", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "1259", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "high" : { - "localId" : "1262", - "asType" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "As", - "signature" : [ ], - "operand" : { - "localId" : "1260", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - } - } - } ] - } - }, { - "localId" : "1271", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "UnknownClosedEndContainsInt", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "1271", - "s" : [ { - "value" : [ "","define ","UnknownClosedEndContainsInt",": " ] - }, { - "r" : "1279", - "s" : [ { - "r" : "1272", - "value" : [ "0"," in " ] - }, { - "r" : "1275", - "s" : [ { - "r" : "1273", - "value" : [ "Interval[","0",", ","null","]" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "1279", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "In", - "signature" : [ { - "localId" : "1280", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1281", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1282", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "1272", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, { - "localId" : "1275", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "1277", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1278", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "1273", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "high" : { - "localId" : "1276", - "asType" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "As", - "signature" : [ ], - "operand" : { - "localId" : "1274", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - } - } - } ] - } - }, { - "localId" : "1285", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "UnknownEndMayContainInt", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "1285", - "s" : [ { - "value" : [ "","define ","UnknownEndMayContainInt",": " ] - }, { - "r" : "1293", - "s" : [ { - "r" : "1286", - "value" : [ "123456789"," in " ] - }, { - "r" : "1289", - "s" : [ { - "r" : "1287", - "value" : [ "Interval[","0",", ","null",")" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "1293", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "In", - "signature" : [ { - "localId" : "1294", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1295", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1296", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "1286", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "123456789", - "type" : "Literal" - }, { - "localId" : "1289", - "lowClosed" : true, - "highClosed" : false, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "1291", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1292", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "1287", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "high" : { - "localId" : "1290", - "asType" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "As", - "signature" : [ ], - "operand" : { - "localId" : "1288", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - } - } - } ] - } - }, { - "localId" : "1299", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "UnknownEndNotContainsInt", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "1299", - "s" : [ { - "value" : [ "","define ","UnknownEndNotContainsInt",": " ] - }, { - "r" : "1309", - "s" : [ { - "r" : "1300", - "s" : [ { - "r" : "1301", - "value" : [ "-","1" ] - } ] - }, { - "value" : [ " in " ] - }, { - "r" : "1305", - "s" : [ { - "r" : "1303", - "value" : [ "Interval[","0",", ","null",")" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "1309", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "In", - "signature" : [ { - "localId" : "1310", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1311", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1312", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "1300", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "Negate", - "signature" : [ { - "localId" : "1302", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "1301", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - } - }, { - "localId" : "1305", - "lowClosed" : true, - "highClosed" : false, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "1307", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1308", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "1303", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "high" : { - "localId" : "1306", - "asType" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "As", - "signature" : [ ], - "operand" : { - "localId" : "1304", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - } - } - } ] - } - }, { - "localId" : "1315", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "NegInfBegContainsDate", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "1315", - "s" : [ { - "value" : [ "","define ","NegInfBegContainsDate",": " ] - }, { - "r" : "1369", - "s" : [ { - "r" : "1332", - "s" : [ { - "r" : "1316", - "value" : [ "DateTime","(","1",", ","1",", ","1",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ " in " ] - }, { - "r" : "1365", - "s" : [ { - "r" : "1340", - "value" : [ "Interval[","null",", " ] - }, { - "r" : "1357", - "s" : [ { - "r" : "1341", - "value" : [ "DateTime","(","2013",", ","1",", ","1",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ ")" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "1369", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "In", - "signature" : [ { - "localId" : "1370", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1371", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1372", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "1332", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "1333", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1334", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1335", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1336", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1337", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1338", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1339", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1316", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "month" : { - "localId" : "1317", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "1318", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "1319", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "1320", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "1321", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "1322", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - }, { - "localId" : "1365", - "lowClosed" : true, - "highClosed" : false, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "1367", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1368", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "1366", - "asType" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "As", - "signature" : [ ], - "operand" : { - "localId" : "1340", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - } - }, - "high" : { - "localId" : "1357", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "1358", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1359", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1360", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1361", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1362", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1363", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1364", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1341", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2013", - "type" : "Literal" - }, - "month" : { - "localId" : "1342", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "1343", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "1344", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "1345", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "1346", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "1347", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - } - } ] - } - }, { - "localId" : "1375", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "NegInfBegNotContainsDate", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "1375", - "s" : [ { - "value" : [ "","define ","NegInfBegNotContainsDate",": " ] - }, { - "r" : "1429", - "s" : [ { - "r" : "1392", - "s" : [ { - "r" : "1376", - "value" : [ "DateTime","(","2013",", ","1",", ","2",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ " in " ] - }, { - "r" : "1425", - "s" : [ { - "r" : "1400", - "value" : [ "Interval[","null",", " ] - }, { - "r" : "1417", - "s" : [ { - "r" : "1401", - "value" : [ "DateTime","(","2013",", ","1",", ","1",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ ")" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "1429", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "In", - "signature" : [ { - "localId" : "1430", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1431", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1432", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "1392", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "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" - }, { - "localId" : "1395", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1396", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1397", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1398", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1399", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1376", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2013", - "type" : "Literal" - }, - "month" : { - "localId" : "1377", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "1378", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal" - }, - "hour" : { - "localId" : "1379", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "1380", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "1381", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "1382", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - }, { - "localId" : "1425", - "lowClosed" : true, - "highClosed" : false, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "1427", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1428", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "1426", - "asType" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "As", - "signature" : [ ], - "operand" : { - "localId" : "1400", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - } - }, - "high" : { - "localId" : "1417", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "1418", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1419", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1420", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1421", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1422", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1423", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1424", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1401", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2013", - "type" : "Literal" - }, - "month" : { - "localId" : "1402", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "1403", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "1404", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "1405", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "1406", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "1407", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - } - } ] - } - }, { - "localId" : "1435", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "UnknownOpenBegMayContainDate", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "1435", - "s" : [ { - "value" : [ "","define ","UnknownOpenBegMayContainDate",": " ] - }, { - "r" : "1489", - "s" : [ { - "r" : "1452", - "s" : [ { - "r" : "1436", - "value" : [ "DateTime","(","2012",", ","12",", ","31",", ","23",", ","59",", ","59",", ","999",")" ] - } ] - }, { - "value" : [ " in " ] - }, { - "r" : "1485", - "s" : [ { - "r" : "1460", - "value" : [ "Interval(","null",", " ] - }, { - "r" : "1477", - "s" : [ { - "r" : "1461", - "value" : [ "DateTime","(","2013",", ","1",", ","1",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ ")" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "1489", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "In", - "signature" : [ { - "localId" : "1490", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1491", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1492", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "1452", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "1453", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1454", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1455", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1456", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1457", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1458", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1459", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1436", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "1437", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "12", - "type" : "Literal" - }, - "day" : { - "localId" : "1438", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "31", - "type" : "Literal" - }, - "hour" : { - "localId" : "1439", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "23", - "type" : "Literal" - }, - "minute" : { - "localId" : "1440", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal" - }, - "second" : { - "localId" : "1441", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "1442", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "999", - "type" : "Literal" - } - }, { - "localId" : "1485", - "lowClosed" : false, - "highClosed" : false, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "1487", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1488", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "1486", - "asType" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "As", - "signature" : [ ], - "operand" : { - "localId" : "1460", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - } - }, - "high" : { - "localId" : "1477", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "1478", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1479", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1480", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1481", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1482", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1483", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1484", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1461", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2013", - "type" : "Literal" - }, - "month" : { - "localId" : "1462", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "1463", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "1464", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "1465", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "1466", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "1467", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - } - } ] - } - }, { - "localId" : "1495", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "UnknownClosedBegContainsDate", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "1495", - "s" : [ { - "value" : [ "","define ","UnknownClosedBegContainsDate",": " ] - }, { - "r" : "1549", - "s" : [ { - "r" : "1512", - "s" : [ { - "r" : "1496", - "value" : [ "DateTime","(","2012",", ","12",", ","31",", ","23",", ","59",", ","59",", ","999",")" ] - } ] - }, { - "value" : [ " in " ] - }, { - "r" : "1545", - "s" : [ { - "r" : "1520", - "value" : [ "Interval[","null",", " ] - }, { - "r" : "1537", - "s" : [ { - "r" : "1521", - "value" : [ "DateTime","(","2013",", ","1",", ","1",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ ")" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "1549", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "In", - "signature" : [ { - "localId" : "1550", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1551", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1552", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "1512", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "1513", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1514", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1515", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1516", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1517", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1518", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1519", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1496", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "1497", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "12", - "type" : "Literal" - }, - "day" : { - "localId" : "1498", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "31", - "type" : "Literal" - }, - "hour" : { - "localId" : "1499", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "23", - "type" : "Literal" - }, - "minute" : { - "localId" : "1500", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal" - }, - "second" : { - "localId" : "1501", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "1502", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "999", - "type" : "Literal" - } - }, { - "localId" : "1545", - "lowClosed" : true, - "highClosed" : false, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "1547", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1548", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "1546", - "asType" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "As", - "signature" : [ ], - "operand" : { - "localId" : "1520", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - } - }, - "high" : { - "localId" : "1537", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "1538", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1539", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1540", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1541", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1542", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1543", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1544", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1521", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2013", - "type" : "Literal" - }, - "month" : { - "localId" : "1522", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "1523", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "1524", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "1525", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "1526", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "1527", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - } - } ] - } - }, { - "localId" : "1555", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "UnknownBegMayContainDate", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "1555", - "s" : [ { - "value" : [ "","define ","UnknownBegMayContainDate",": " ] - }, { - "r" : "1609", - "s" : [ { - "r" : "1572", - "s" : [ { - "r" : "1556", - "value" : [ "DateTime","(","1",", ","1",", ","1",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ " in " ] - }, { - "r" : "1605", - "s" : [ { - "r" : "1580", - "value" : [ "Interval(","null",", " ] - }, { - "r" : "1597", - "s" : [ { - "r" : "1581", - "value" : [ "DateTime","(","2013",", ","1",", ","1",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ ")" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "1609", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "In", - "signature" : [ { - "localId" : "1610", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1611", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1612", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "1572", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "1573", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1574", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1575", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1576", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1577", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1578", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1579", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1556", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "month" : { - "localId" : "1557", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "1558", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "1559", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "1560", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "1561", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "1562", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - }, { - "localId" : "1605", - "lowClosed" : false, - "highClosed" : false, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "1607", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1608", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "1606", - "asType" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "As", - "signature" : [ ], - "operand" : { - "localId" : "1580", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - } - }, - "high" : { - "localId" : "1597", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "1598", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1599", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1600", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1601", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1602", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1603", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1604", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1581", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2013", - "type" : "Literal" - }, - "month" : { - "localId" : "1582", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "1583", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "1584", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "1585", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "1586", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "1587", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - } - } ] - } - }, { - "localId" : "1615", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "UnknownBegNotContainsDate", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "1615", - "s" : [ { - "value" : [ "","define ","UnknownBegNotContainsDate",": " ] - }, { - "r" : "1669", - "s" : [ { - "r" : "1632", - "s" : [ { - "r" : "1616", - "value" : [ "DateTime","(","2013",", ","1",", ","2",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ " in " ] - }, { - "r" : "1665", - "s" : [ { - "r" : "1640", - "value" : [ "Interval(","null",", " ] - }, { - "r" : "1657", - "s" : [ { - "r" : "1641", - "value" : [ "DateTime","(","2013",", ","1",", ","1",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ ")" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "1669", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "In", - "signature" : [ { - "localId" : "1670", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1671", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1672", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "1632", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "1633", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1634", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1635", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1636", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1637", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1638", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1639", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1616", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2013", - "type" : "Literal" - }, - "month" : { - "localId" : "1617", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "1618", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal" - }, - "hour" : { - "localId" : "1619", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "1620", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "1621", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "1622", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - }, { - "localId" : "1665", - "lowClosed" : false, - "highClosed" : false, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "1667", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1668", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "1666", - "asType" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "As", - "signature" : [ ], - "operand" : { - "localId" : "1640", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - } - }, - "high" : { - "localId" : "1657", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "1658", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1659", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1660", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1661", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1662", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1663", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1664", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1641", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2013", - "type" : "Literal" - }, - "month" : { - "localId" : "1642", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "1643", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "1644", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "1645", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "1646", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "1647", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - } - } ] - } - }, { - "localId" : "1675", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "PosInfEndContainsDate", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "1675", - "s" : [ { - "value" : [ "","define ","PosInfEndContainsDate",": " ] - }, { - "r" : "1729", - "s" : [ { - "r" : "1692", - "s" : [ { - "r" : "1676", - "value" : [ "DateTime","(","2014",", ","1",", ","1",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ " in " ] - }, { - "r" : "1725", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "1716", - "s" : [ { - "r" : "1700", - "value" : [ "DateTime","(","2013",", ","1",", ","1",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "r" : "1724", - "value" : [ ", ","null","]" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "1729", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "In", - "signature" : [ { - "localId" : "1730", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1731", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1732", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "1692", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "1693", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1694", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1695", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1696", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1697", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1698", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1699", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1676", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2014", - "type" : "Literal" - }, - "month" : { - "localId" : "1677", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "1678", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "1679", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "1680", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "1681", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "1682", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - }, { - "localId" : "1725", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "1727", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1728", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "1716", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "1717", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1718", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1719", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1720", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1721", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1722", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1723", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1700", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2013", - "type" : "Literal" - }, - "month" : { - "localId" : "1701", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "1702", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "1703", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "1704", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "1705", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "1706", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - }, - "high" : { - "localId" : "1726", - "asType" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "As", - "signature" : [ ], - "operand" : { - "localId" : "1724", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - } - } - } ] - } - }, { - "localId" : "1735", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "PosInfEndNotContainsDate", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "1735", - "s" : [ { - "value" : [ "","define ","PosInfEndNotContainsDate",": " ] - }, { - "r" : "1789", - "s" : [ { - "r" : "1752", - "s" : [ { - "r" : "1736", - "value" : [ "DateTime","(","2012",", ","1",", ","1",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ " in " ] - }, { - "r" : "1785", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "1776", - "s" : [ { - "r" : "1760", - "value" : [ "DateTime","(","2013",", ","1",", ","1",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "r" : "1784", - "value" : [ ", ","null","]" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "1789", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "In", - "signature" : [ { - "localId" : "1790", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1791", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1792", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "1752", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "1753", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1754", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1755", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1756", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1757", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1758", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1759", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1736", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "1737", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "1738", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "1739", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "1740", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "1741", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "1742", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - }, { - "localId" : "1785", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "1787", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1788", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "1776", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "1777", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1778", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1779", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1780", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1781", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1782", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1783", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1760", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2013", - "type" : "Literal" - }, - "month" : { - "localId" : "1761", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "1762", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "1763", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "1764", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "1765", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "1766", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - }, - "high" : { - "localId" : "1786", - "asType" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "As", - "signature" : [ ], - "operand" : { - "localId" : "1784", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - } - } - } ] - } - }, { - "localId" : "1795", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "UnknownOpenEndContainsDate", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "1795", - "s" : [ { - "value" : [ "","define ","UnknownOpenEndContainsDate",": " ] - }, { - "r" : "1849", - "s" : [ { - "r" : "1812", - "s" : [ { - "r" : "1796", - "value" : [ "DateTime","(","2013",", ","1",", ","1",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ " in " ] - }, { - "r" : "1845", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "1836", - "s" : [ { - "r" : "1820", - "value" : [ "DateTime","(","2013",", ","1",", ","1",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "r" : "1844", - "value" : [ ", ","null",")" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "1849", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "In", - "signature" : [ { - "localId" : "1850", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1851", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1852", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "1812", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "1813", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1814", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1815", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1816", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1817", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1818", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1819", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1796", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2013", - "type" : "Literal" - }, - "month" : { - "localId" : "1797", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "1798", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "1799", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "1800", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "1801", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "1802", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - }, { - "localId" : "1845", - "lowClosed" : true, - "highClosed" : false, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "1847", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1848", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "1836", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "1837", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1838", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1839", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1840", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1841", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1842", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1843", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1820", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2013", - "type" : "Literal" - }, - "month" : { - "localId" : "1821", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "1822", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "1823", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "1824", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "1825", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "1826", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - }, - "high" : { - "localId" : "1846", - "asType" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "As", - "signature" : [ ], - "operand" : { - "localId" : "1844", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - } - } - } ] - } - }, { - "localId" : "1855", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "UnknownClosedEndContainsDate", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "1855", - "s" : [ { - "value" : [ "","define ","UnknownClosedEndContainsDate",": " ] - }, { - "r" : "1909", - "s" : [ { - "r" : "1872", - "s" : [ { - "r" : "1856", - "value" : [ "DateTime","(","2013",", ","1",", ","1",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ " in " ] - }, { - "r" : "1905", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "1896", - "s" : [ { - "r" : "1880", - "value" : [ "DateTime","(","2013",", ","1",", ","1",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "r" : "1904", - "value" : [ ", ","null","]" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "1909", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "In", - "signature" : [ { - "localId" : "1910", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1911", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1912", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "1872", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "1873", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1874", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1875", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1876", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1877", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1878", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1879", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1856", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2013", - "type" : "Literal" - }, - "month" : { - "localId" : "1857", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "1858", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "1859", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "1860", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "1861", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "1862", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - }, { - "localId" : "1905", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "1907", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1908", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "1896", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "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" - }, { - "localId" : "1899", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1900", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1901", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1902", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1903", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1880", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2013", - "type" : "Literal" - }, - "month" : { - "localId" : "1881", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "1882", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "1883", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "1884", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "1885", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "1886", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - }, - "high" : { - "localId" : "1906", - "asType" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "As", - "signature" : [ ], - "operand" : { - "localId" : "1904", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - } - } - } ] - } - }, { - "localId" : "1915", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "UnknownEndMayContainDate", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "1915", - "s" : [ { - "value" : [ "","define ","UnknownEndMayContainDate",": " ] - }, { - "r" : "1969", - "s" : [ { - "r" : "1932", - "s" : [ { - "r" : "1916", - "value" : [ "DateTime","(","2014",", ","1",", ","1",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ " in " ] - }, { - "r" : "1965", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "1956", - "s" : [ { - "r" : "1940", - "value" : [ "DateTime","(","2013",", ","1",", ","1",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "r" : "1964", - "value" : [ ", ","null",")" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "1969", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "In", - "signature" : [ { - "localId" : "1970", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1971", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1972", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "1932", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "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" - }, { - "localId" : "1935", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1936", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1937", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1938", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1939", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1916", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2014", - "type" : "Literal" - }, - "month" : { - "localId" : "1917", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "1918", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "1919", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "1920", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "1921", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "1922", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - }, { - "localId" : "1965", - "lowClosed" : true, - "highClosed" : false, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "1967", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1968", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "1956", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "1957", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1958", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1959", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1960", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1961", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1962", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1963", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1940", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2013", - "type" : "Literal" - }, - "month" : { - "localId" : "1941", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "1942", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "1943", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "1944", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "1945", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "1946", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - }, - "high" : { - "localId" : "1966", - "asType" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "As", - "signature" : [ ], - "operand" : { - "localId" : "1964", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - } - } - } ] - } - }, { - "localId" : "1975", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "UnknownEndNotContainsDate", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "1975", - "s" : [ { - "value" : [ "","define ","UnknownEndNotContainsDate",": " ] - }, { - "r" : "2029", - "s" : [ { - "r" : "1992", - "s" : [ { - "r" : "1976", - "value" : [ "DateTime","(","2012",", ","1",", ","1",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ " in " ] - }, { - "r" : "2025", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "2016", - "s" : [ { - "r" : "2000", - "value" : [ "DateTime","(","2013",", ","1",", ","1",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "r" : "2024", - "value" : [ ", ","null",")" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "2029", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "In", - "signature" : [ { - "localId" : "2030", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2031", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "2032", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "1992", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "1993", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1994", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1995", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1996", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1997", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1998", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1999", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1976", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "1977", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "1978", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "1979", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "1980", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "1981", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "1982", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - }, { - "localId" : "2025", - "lowClosed" : true, - "highClosed" : false, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "2027", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "2028", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "2016", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "2017", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2018", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2019", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2020", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2021", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2022", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2023", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "2000", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2013", - "type" : "Literal" - }, - "month" : { - "localId" : "2001", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "2002", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "2003", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "2004", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "2005", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "2006", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - }, - "high" : { - "localId" : "2026", - "asType" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "As", - "signature" : [ ], - "operand" : { - "localId" : "2024", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - } - } - } ] - } - } ] - } - } -} - -/* Includes -library TestSnippet version '1' -using Simple version '1.0.0' -context Patient -define IncludesIntIvl: Interval[1, 5] includes Interval[1, 4] -define NotIncludesIntIvl: Interval(1, 5] includes Interval[1, 4] -define IncludesRealIvl: Interval[1.234, 3.456] includes Interval[2.34, 2.56] -define NotIncludesRealIvl: Interval[1.234, 3.456] includes Interval[1.23, 2.56] -define DateIvl: Interval[DateTime(2012, 3, 1, 0, 0, 0, 0), DateTime(2012, 9, 1, 0, 0, 0, 0)) -define IncludesDateIvl: DateIvl includes Interval[DateTime(2012, 4, 1, 0, 0, 0, 0), DateTime(2012, 6, 1, 0, 0, 0, 0)) -define NotIncludesDateIvl: DateIvl includes Interval[DateTime(2012, 6, 1, 0, 0, 0, 0), DateTime(2012, 9, 1, 0, 0, 0, 0)] -define IncludesImpreciseDateIvl: DateIvl includes Interval[DateTime(2012, 4), DateTime(2012, 6)] -define NotIncludesImpreciseDateIvl: DateIvl includes Interval[DateTime(2012, 4), DateTime(2012, 9)] -define MayIncludeImpreciseDateIvl: DateIvl includes Interval[DateTime(2012), DateTime(2012)] -define PrecisionDateIvl: Interval[DateTime(2012, 3, 2, 12, 34, 56, 789), DateTime(2012, 9, 2, 1, 23, 45, 678)) -define IncludesDayOfIvlLowEdge: PrecisionDateIvl includes day of Interval[DateTime(2012, 3, 2, 0, 0, 0, 0), DateTime(2012, 6, 1, 0, 0, 0, 0)) -define IncludesDayOfIvlHighEdge: PrecisionDateIvl includes day of Interval[DateTime(2012, 6, 1, 0, 0, 0, 0), DateTime(2012, 9, 2, 23, 59, 59, 999)) -define NotIncludesDayOfIvlLowEdge: PrecisionDateIvl includes day of Interval[DateTime(2012, 3, 1, 0, 0, 0, 0), DateTime(2012, 6, 1, 0, 0, 0, 0)] -define NotIncludesDayOfIvlHighEdge: PrecisionDateIvl includes day of Interval[DateTime(2012, 6, 1, 0, 0, 0, 0), DateTime(2012, 9, 3, 0, 0, 0, 0)] -define IncludesDayOfIvlImpreciseLowEdge: PrecisionDateIvl includes day of Interval[DateTime(2012, 3, 2), DateTime(2012, 6, 1)] -define IncludesDayOfIvlImpreciseHighEdge: PrecisionDateIvl includes day of Interval[DateTime(2012, 6, 1), DateTime(2012, 9, 2)] -define IncludesDayOfIvlVeryImpreciseMiddle: PrecisionDateIvl includes day of Interval[DateTime(2012, 5), DateTime(2012, 6)] -define NotIncludesDayOfIvlVeryImpreciseLow: PrecisionDateIvl includes day of Interval[DateTime(2012, 2), DateTime(2012, 6)] -define NotIncludesDayOfIvlVeryImpreciseHigh: PrecisionDateIvl includes day of Interval[DateTime(2012, 6), DateTime(2012, 10)] -define MayIncludeDayOfIvlVeryImpreciseLow: PrecisionDateIvl includes day of Interval[DateTime(2012, 3), DateTime(2012, 6)] -define MayIncludeDayOfIvlVeryImpreciseHigh: PrecisionDateIvl includes day of Interval[DateTime(2012, 6), DateTime(2012, 9)] -define MayIncludeDayOfIvlVeryImpreciseSurrounding: PrecisionDateIvl includes day of Interval[DateTime(2012), DateTime(2012)] -define ImpDateIvl: Interval[DateTime(2012, 3), DateTime(2012, 8)] -define ImpreciseIncludesDateIvl: ImpDateIvl includes Interval[DateTime(2012, 4, 1, 0, 0, 0, 0), DateTime(2012, 6, 1, 0, 0, 0, 0)) -define ImpreciseIncludesDate: ImpDateIvl includes DateTime(2012, 4, 1, 0, 0, 0, 0) -define ImpreciseDoesntIncludeDate: ImpDateIvl includes DateTime(2016, 4, 1, 0, 0, 0, 0) -define IntervalIncludesQuantity: Interval[4 'mg', 6 'mg'] includes 5 'mg' -define IntervalDoesntIncludeQuantity: Interval[4 'mg', 6 'mg'] includes 50 'mg' -define ImpreciseNotIncludesDateIvl: ImpDateIvl includes Interval[DateTime(2012, 2, 1, 0, 0, 0, 0), DateTime(2012, 6, 1, 0, 0, 0, 0)) -define ImpreciseMayIncludeDateIvl: ImpDateIvl includes Interval[DateTime(2012, 3, 15, 0, 0, 0, 0), DateTime(2012, 6, 1, 0, 0, 0, 0)) -define NegInfBegIncludesIntIvl: Interval[null, 5] includes Interval[-7, 2] -define NegInfBegNotIncludesIntIvl: Interval[null, 5] includes Interval[4, 7] -define UnknownBegIncludesIntIvl: Interval(null, 5] includes Interval[5, 5] -define UnknownBegMayIncludeIntIvl: Interval(null, 5] includes Interval[-7, 2] -define UnknownBegNotIncludesIntIvl: Interval(null, 5] includes Interval[4, 7] -define PosInfEndIncludesIntIvl: Interval[0, null] includes Interval[1234, 5678] -define PosInfEndNotIncludesIntIvl: Interval[0, null] includes Interval[-1234, 5678] -define UnknownEndIncludesIntIvl: Interval[0, null) includes Interval[0, 0] -define UnknownEndMayIncludeIntIvl: Interval[0, null) includes Interval[1234, 5678] -define UnknownEndNotIncludesIntIvl: Interval[0, null) includes Interval[-1234, 5678] -define NegInfBegIncludesDateIvl: Interval[null, DateTime(2013, 1, 1, 0, 0, 0, 0)) includes Interval[DateTime(1, 1, 1, 0, 0, 0, 0), DateTime(2000, 1, 1, 0, 0, 0, 0)] -define NegInfBegNotIncludesDateIvl: Interval[null, DateTime(2013, 1, 1, 0, 0, 0, 0)) includes Interval[DateTime(1, 1, 1, 0, 0, 0, 0), DateTime(2013, 1, 1, 0, 0, 0, 0)] -define UnknownBegIncludesDateIvl: Interval(null, DateTime(2013, 1, 1, 0, 0, 0, 0)) includes Interval[DateTime(2012, 12, 31, 23, 59, 59, 999), DateTime(2012, 12, 31, 23, 59, 59, 999)] -define UnknownBegMayIncludeDateIvl: Interval(null, DateTime(2013, 1, 1, 0, 0, 0, 0)) includes Interval[DateTime(1, 1, 1, 0, 0, 0, 0), DateTime(2000, 1, 1, 0, 0, 0, 0)] -define UnknownBegNotIncludesDateIvl: Interval(null, DateTime(2013, 1, 1, 0, 0, 0, 0)) includes Interval[DateTime(1, 1, 1, 0, 0, 0, 0), DateTime(2013, 1, 1, 0, 0, 0, 0)] -define PosInfEndIncludesDateIvl: Interval[DateTime(2013, 1, 1, 0, 0, 0, 0), null] includes Interval[DateTime(2014, 1, 1, 0, 0, 0, 0), DateTime(2015, 1, 1, 0, 0, 0, 0)] -define PosInfEndNotIncludesDateIvl: Interval[DateTime(2013, 1, 1, 0, 0, 0, 0), null] includes Interval[DateTime(2000, 1, 1, 0, 0, 0, 0), DateTime(2014, 1, 1, 0, 0, 0, 0)] -define UnknownEndIncludesDateIvl: Interval[DateTime(2013, 1, 1, 0, 0, 0, 0), null) includes Interval[DateTime(2013, 1, 1, 0, 0, 0, 0), DateTime(2013, 1, 1, 0, 0, 0, 0)] -define UnknownEndMayIncludeDateIvl: Interval[DateTime(2013, 1, 1, 0, 0, 0, 0), null) includes Interval[DateTime(2014, 1, 1, 0, 0, 0, 0), DateTime(2015, 1, 1, 0, 0, 0, 0)] -define UnknownEndNotIncludesDateIvl: Interval[DateTime(2013, 1, 1, 0, 0, 0, 0), null) includes Interval[DateTime(2000, 1, 1, 0, 0, 0, 0), DateTime(2014, 1, 1, 0, 0, 0, 0)] -*/ - -module.exports['Includes'] = { - "library" : { - "localId" : "0", - "annotation" : [ { - "translatorVersion" : "3.27.0", - "translatorOptions" : "EnableDateRangeOptimization,EnableAnnotations,EnableResultTypes", - "signatureLevel" : "All", - "type" : "CqlToElmInfo" - }, { - "type" : "Annotation", - "s" : { - "r" : "2723", - "s" : [ { - "value" : [ "","library TestSnippet version '1'" ] - } ] - } - } ], - "identifier" : { - "id" : "TestSnippet", - "version" : "1" - }, - "schemaIdentifier" : { - "id" : "urn:hl7-org:elm", - "version" : "r1" - }, - "usings" : { - "def" : [ { - "localId" : "1", - "localIdentifier" : "System", - "uri" : "urn:hl7-org:elm-types:r1" - }, { - "localId" : "206", - "localIdentifier" : "Simple", - "uri" : "https://github.com/cqframework/cql-execution/simple", - "version" : "1.0.0", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "206", - "s" : [ { - "value" : [ "","using " ] - }, { - "s" : [ { - "value" : [ "Simple" ] - } ] - }, { - "value" : [ " version '1.0.0'" ] - } ] - } - } ] - } ] - }, - "contexts" : { - "def" : [ { - "localId" : "211", - "name" : "Patient" - } ] - }, - "statements" : { - "def" : [ { - "localId" : "209", - "name" : "Patient", - "context" : "Patient", - "expression" : { - "localId" : "210", - "type" : "SingletonFrom", - "signature" : [ ], - "operand" : { - "localId" : "208", - "dataType" : "{https://github.com/cqframework/cql-execution/simple}Patient", - "type" : "Retrieve", - "include" : [ ], - "codeFilter" : [ ], - "dateFilter" : [ ], - "otherFilter" : [ ] - } - } - }, { - "localId" : "214", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "IncludesIntIvl", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "214", - "s" : [ { - "value" : [ "","define ","IncludesIntIvl",": " ] - }, { - "r" : "225", - "s" : [ { - "r" : "217", - "s" : [ { - "r" : "215", - "value" : [ "Interval[","1",", ","5","]" ] - } ] - }, { - "r" : "225", - "value" : [ " ","includes"," " ] - }, { - "r" : "222", - "s" : [ { - "r" : "220", - "value" : [ "Interval[","1",", ","4","]" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "225", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "Includes", - "signature" : [ { - "localId" : "226", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "227", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "228", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "229", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "217", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "218", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "219", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "215", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "high" : { - "localId" : "216", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal" - } - }, { - "localId" : "222", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "223", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "224", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "220", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "high" : { - "localId" : "221", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "4", - "type" : "Literal" - } - } ] - } - }, { - "localId" : "239", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "NotIncludesIntIvl", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "239", - "s" : [ { - "value" : [ "","define ","NotIncludesIntIvl",": " ] - }, { - "r" : "250", - "s" : [ { - "r" : "242", - "s" : [ { - "r" : "240", - "value" : [ "Interval(","1",", ","5","]" ] - } ] - }, { - "r" : "250", - "value" : [ " ","includes"," " ] - }, { - "r" : "247", - "s" : [ { - "r" : "245", - "value" : [ "Interval[","1",", ","4","]" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "250", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "Includes", - "signature" : [ { - "localId" : "251", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "252", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "253", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "254", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "242", - "lowClosed" : false, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "243", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "244", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "240", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "high" : { - "localId" : "241", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal" - } - }, { - "localId" : "247", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "248", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "249", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "245", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "high" : { - "localId" : "246", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "4", - "type" : "Literal" - } - } ] - } - }, { - "localId" : "264", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "IncludesRealIvl", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "264", - "s" : [ { - "value" : [ "","define ","IncludesRealIvl",": " ] - }, { - "r" : "275", - "s" : [ { - "r" : "267", - "s" : [ { - "r" : "265", - "value" : [ "Interval[","1.234",", ","3.456","]" ] - } ] - }, { - "r" : "275", - "value" : [ " ","includes"," " ] - }, { - "r" : "272", - "s" : [ { - "r" : "270", - "value" : [ "Interval[","2.34",", ","2.56","]" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "275", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "Includes", - "signature" : [ { - "localId" : "276", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "277", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "278", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "279", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "267", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "268", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "269", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "265", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "1.234", - "type" : "Literal" - }, - "high" : { - "localId" : "266", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "3.456", - "type" : "Literal" - } - }, { - "localId" : "272", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "273", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "274", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "270", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "2.34", - "type" : "Literal" - }, - "high" : { - "localId" : "271", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "2.56", - "type" : "Literal" - } - } ] - } - }, { - "localId" : "289", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "NotIncludesRealIvl", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "289", - "s" : [ { - "value" : [ "","define ","NotIncludesRealIvl",": " ] - }, { - "r" : "300", - "s" : [ { - "r" : "292", - "s" : [ { - "r" : "290", - "value" : [ "Interval[","1.234",", ","3.456","]" ] - } ] - }, { - "r" : "300", - "value" : [ " ","includes"," " ] - }, { - "r" : "297", - "s" : [ { - "r" : "295", - "value" : [ "Interval[","1.23",", ","2.56","]" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "300", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "Includes", - "signature" : [ { - "localId" : "301", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "302", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "303", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "304", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "292", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "293", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "294", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "290", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "1.234", - "type" : "Literal" - }, - "high" : { - "localId" : "291", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "3.456", - "type" : "Literal" - } - }, { - "localId" : "297", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "298", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "299", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "295", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "1.23", - "type" : "Literal" - }, - "high" : { - "localId" : "296", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "2.56", - "type" : "Literal" - } - } ] - } - }, { - "localId" : "314", - "name" : "DateIvl", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "314", - "s" : [ { - "value" : [ "","define ","DateIvl",": " ] - }, { - "r" : "363", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "331", - "s" : [ { - "r" : "315", - "value" : [ "DateTime","(","2012",", ","3",", ","1",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "355", - "s" : [ { - "r" : "339", - "value" : [ "DateTime","(","2012",", ","9",", ","1",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ ")" ] - } ] - } ] - } - } ], - "resultTypeSpecifier" : { - "localId" : "366", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "367", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "expression" : { - "localId" : "363", - "lowClosed" : true, - "highClosed" : false, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "364", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "365", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "331", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "332", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "333", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "334", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "335", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "336", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "337", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "338", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "315", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "316", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "317", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "318", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "319", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "320", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "321", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - }, - "high" : { - "localId" : "355", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "356", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "357", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "358", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "359", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "360", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "361", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "362", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "339", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "340", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "9", - "type" : "Literal" - }, - "day" : { - "localId" : "341", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "342", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "343", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "344", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "345", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - } - } - }, { - "localId" : "370", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "IncludesDateIvl", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "370", - "s" : [ { - "value" : [ "","define ","IncludesDateIvl",": " ] - }, { - "r" : "425", - "s" : [ { - "r" : "371", - "s" : [ { - "value" : [ "DateIvl" ] - } ] - }, { - "r" : "425", - "value" : [ " ","includes"," " ] - }, { - "r" : "422", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "390", - "s" : [ { - "r" : "374", - "value" : [ "DateTime","(","2012",", ","4",", ","1",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "414", - "s" : [ { - "r" : "398", - "value" : [ "DateTime","(","2012",", ","6",", ","1",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ ")" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "425", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "Includes", - "signature" : [ { - "localId" : "426", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "427", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "428", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "429", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "371", - "name" : "DateIvl", - "type" : "ExpressionRef", - "resultTypeSpecifier" : { - "localId" : "372", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "373", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - }, { - "localId" : "422", - "lowClosed" : true, - "highClosed" : false, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "423", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "424", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "390", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "391", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "392", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "393", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "394", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "395", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "396", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "397", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "374", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "375", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "4", - "type" : "Literal" - }, - "day" : { - "localId" : "376", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "377", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "378", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "379", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "380", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - }, - "high" : { - "localId" : "414", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "415", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "416", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "417", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "418", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "419", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "420", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "421", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "398", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "399", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "6", - "type" : "Literal" - }, - "day" : { - "localId" : "400", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "401", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "402", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "403", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "404", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - } - } ] - } - }, { - "localId" : "439", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "NotIncludesDateIvl", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "439", - "s" : [ { - "value" : [ "","define ","NotIncludesDateIvl",": " ] - }, { - "r" : "494", - "s" : [ { - "r" : "440", - "s" : [ { - "value" : [ "DateIvl" ] - } ] - }, { - "r" : "494", - "value" : [ " ","includes"," " ] - }, { - "r" : "491", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "459", - "s" : [ { - "r" : "443", - "value" : [ "DateTime","(","2012",", ","6",", ","1",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "483", - "s" : [ { - "r" : "467", - "value" : [ "DateTime","(","2012",", ","9",", ","1",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ "]" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "494", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "Includes", - "signature" : [ { - "localId" : "495", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "496", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "497", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "498", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "440", - "name" : "DateIvl", - "type" : "ExpressionRef", - "resultTypeSpecifier" : { - "localId" : "441", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "442", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - }, { - "localId" : "491", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "492", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "493", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "459", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "460", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "461", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "462", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "463", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "464", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "465", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "466", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "443", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "444", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "6", - "type" : "Literal" - }, - "day" : { - "localId" : "445", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "446", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "447", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "448", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "449", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - }, - "high" : { - "localId" : "483", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "484", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "485", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "486", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "487", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "488", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "489", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "490", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "467", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "468", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "9", - "type" : "Literal" - }, - "day" : { - "localId" : "469", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "470", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "471", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "472", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "473", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - } - } ] - } - }, { - "localId" : "508", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "IncludesImpreciseDateIvl", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "508", - "s" : [ { - "value" : [ "","define ","IncludesImpreciseDateIvl",": " ] - }, { - "r" : "533", - "s" : [ { - "r" : "509", - "s" : [ { - "value" : [ "DateIvl" ] - } ] - }, { - "r" : "533", - "value" : [ " ","includes"," " ] - }, { - "r" : "530", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "518", - "s" : [ { - "r" : "512", - "value" : [ "DateTime","(","2012",", ","4",")" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "527", - "s" : [ { - "r" : "521", - "value" : [ "DateTime","(","2012",", ","6",")" ] - } ] - }, { - "value" : [ "]" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "533", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "Includes", - "signature" : [ { - "localId" : "534", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "535", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "536", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "537", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "509", - "name" : "DateIvl", - "type" : "ExpressionRef", - "resultTypeSpecifier" : { - "localId" : "510", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "511", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - }, { - "localId" : "530", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "531", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "532", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "518", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "519", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "520", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "512", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "513", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "4", - "type" : "Literal" - } - }, - "high" : { - "localId" : "527", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "528", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "529", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "521", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "522", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "6", - "type" : "Literal" - } - } - } ] - } - }, { - "localId" : "547", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "NotIncludesImpreciseDateIvl", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "547", - "s" : [ { - "value" : [ "","define ","NotIncludesImpreciseDateIvl",": " ] - }, { - "r" : "572", - "s" : [ { - "r" : "548", - "s" : [ { - "value" : [ "DateIvl" ] - } ] - }, { - "r" : "572", - "value" : [ " ","includes"," " ] - }, { - "r" : "569", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "557", - "s" : [ { - "r" : "551", - "value" : [ "DateTime","(","2012",", ","4",")" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "566", - "s" : [ { - "r" : "560", - "value" : [ "DateTime","(","2012",", ","9",")" ] - } ] - }, { - "value" : [ "]" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "572", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "Includes", - "signature" : [ { - "localId" : "573", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "574", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "575", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "576", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "548", - "name" : "DateIvl", - "type" : "ExpressionRef", - "resultTypeSpecifier" : { - "localId" : "549", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "550", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - }, { - "localId" : "569", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "570", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "571", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "557", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "558", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "559", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "551", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "552", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "4", - "type" : "Literal" - } - }, - "high" : { - "localId" : "566", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "567", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "568", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "560", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "561", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "9", - "type" : "Literal" - } - } - } ] - } - }, { - "localId" : "586", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "MayIncludeImpreciseDateIvl", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "586", - "s" : [ { - "value" : [ "","define ","MayIncludeImpreciseDateIvl",": " ] - }, { - "r" : "605", - "s" : [ { - "r" : "587", - "s" : [ { - "value" : [ "DateIvl" ] - } ] - }, { - "r" : "605", - "value" : [ " ","includes"," " ] - }, { - "r" : "602", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "594", - "s" : [ { - "r" : "590", - "value" : [ "DateTime","(","2012",")" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "600", - "s" : [ { - "r" : "596", - "value" : [ "DateTime","(","2012",")" ] - } ] - }, { - "value" : [ "]" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "605", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "Includes", - "signature" : [ { - "localId" : "606", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "607", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "608", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "609", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "587", - "name" : "DateIvl", - "type" : "ExpressionRef", - "resultTypeSpecifier" : { - "localId" : "588", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "589", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - }, { - "localId" : "602", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "603", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "604", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "594", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "595", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "590", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - } - }, - "high" : { - "localId" : "600", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "601", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "596", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - } - } - } ] - } - }, { - "localId" : "619", - "name" : "PrecisionDateIvl", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "619", - "s" : [ { - "value" : [ "","define ","PrecisionDateIvl",": " ] - }, { - "r" : "668", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "636", - "s" : [ { - "r" : "620", - "value" : [ "DateTime","(","2012",", ","3",", ","2",", ","12",", ","34",", ","56",", ","789",")" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "660", - "s" : [ { - "r" : "644", - "value" : [ "DateTime","(","2012",", ","9",", ","2",", ","1",", ","23",", ","45",", ","678",")" ] - } ] - }, { - "value" : [ ")" ] - } ] - } ] - } - } ], - "resultTypeSpecifier" : { - "localId" : "671", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "672", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "expression" : { - "localId" : "668", - "lowClosed" : true, - "highClosed" : false, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "669", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "670", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "636", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "637", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "638", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "639", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "640", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "641", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "642", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "643", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "620", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "621", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "622", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal" - }, - "hour" : { - "localId" : "623", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "12", - "type" : "Literal" - }, - "minute" : { - "localId" : "624", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "34", - "type" : "Literal" - }, - "second" : { - "localId" : "625", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "56", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "626", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "789", - "type" : "Literal" - } - }, - "high" : { - "localId" : "660", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "661", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "662", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "663", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "664", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "665", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "666", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "667", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "644", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "645", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "9", - "type" : "Literal" - }, - "day" : { - "localId" : "646", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal" - }, - "hour" : { - "localId" : "647", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "minute" : { - "localId" : "648", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "23", - "type" : "Literal" - }, - "second" : { - "localId" : "649", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "45", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "650", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "678", - "type" : "Literal" - } - } - } - }, { - "localId" : "675", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "IncludesDayOfIvlLowEdge", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "675", - "s" : [ { - "value" : [ "","define ","IncludesDayOfIvlLowEdge",": " ] - }, { - "r" : "730", - "s" : [ { - "r" : "676", - "s" : [ { - "value" : [ "PrecisionDateIvl" ] - } ] - }, { - "r" : "730", - "value" : [ " ","includes day of"," " ] - }, { - "r" : "727", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "695", - "s" : [ { - "r" : "679", - "value" : [ "DateTime","(","2012",", ","3",", ","2",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "719", - "s" : [ { - "r" : "703", - "value" : [ "DateTime","(","2012",", ","6",", ","1",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ ")" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "730", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "precision" : "Day", - "type" : "Includes", - "signature" : [ { - "localId" : "731", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "732", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "733", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "734", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "676", - "name" : "PrecisionDateIvl", - "type" : "ExpressionRef", - "resultTypeSpecifier" : { - "localId" : "677", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "678", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - }, { - "localId" : "727", - "lowClosed" : true, - "highClosed" : false, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "728", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "729", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "695", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "696", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "697", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "698", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "699", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "700", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "701", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "702", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "679", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "680", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "681", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal" - }, - "hour" : { - "localId" : "682", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "683", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "684", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "685", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - }, - "high" : { - "localId" : "719", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "720", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "721", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "722", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "723", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "724", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "725", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "726", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "703", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "704", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "6", - "type" : "Literal" - }, - "day" : { - "localId" : "705", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "706", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "707", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "708", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "709", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - } - } ] - } - }, { - "localId" : "744", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "IncludesDayOfIvlHighEdge", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "744", - "s" : [ { - "value" : [ "","define ","IncludesDayOfIvlHighEdge",": " ] - }, { - "r" : "799", - "s" : [ { - "r" : "745", - "s" : [ { - "value" : [ "PrecisionDateIvl" ] - } ] - }, { - "r" : "799", - "value" : [ " ","includes day of"," " ] - }, { - "r" : "796", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "764", - "s" : [ { - "r" : "748", - "value" : [ "DateTime","(","2012",", ","6",", ","1",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "788", - "s" : [ { - "r" : "772", - "value" : [ "DateTime","(","2012",", ","9",", ","2",", ","23",", ","59",", ","59",", ","999",")" ] - } ] - }, { - "value" : [ ")" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "799", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "precision" : "Day", - "type" : "Includes", - "signature" : [ { - "localId" : "800", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "801", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "802", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "803", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "745", - "name" : "PrecisionDateIvl", - "type" : "ExpressionRef", - "resultTypeSpecifier" : { - "localId" : "746", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "747", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - }, { - "localId" : "796", - "lowClosed" : true, - "highClosed" : false, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "797", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "798", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "764", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "765", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "766", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "767", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "768", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "769", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "770", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "771", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "748", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "749", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "6", - "type" : "Literal" - }, - "day" : { - "localId" : "750", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "751", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "752", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "753", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "754", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - }, - "high" : { - "localId" : "788", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "789", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "790", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "791", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "792", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "793", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "794", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "795", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "772", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "773", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "9", - "type" : "Literal" - }, - "day" : { - "localId" : "774", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal" - }, - "hour" : { - "localId" : "775", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "23", - "type" : "Literal" - }, - "minute" : { - "localId" : "776", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal" - }, - "second" : { - "localId" : "777", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "778", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "999", - "type" : "Literal" - } - } - } ] - } - }, { - "localId" : "813", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "NotIncludesDayOfIvlLowEdge", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "813", - "s" : [ { - "value" : [ "","define ","NotIncludesDayOfIvlLowEdge",": " ] - }, { - "r" : "868", - "s" : [ { - "r" : "814", - "s" : [ { - "value" : [ "PrecisionDateIvl" ] - } ] - }, { - "r" : "868", - "value" : [ " ","includes day of"," " ] - }, { - "r" : "865", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "833", - "s" : [ { - "r" : "817", - "value" : [ "DateTime","(","2012",", ","3",", ","1",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "857", - "s" : [ { - "r" : "841", - "value" : [ "DateTime","(","2012",", ","6",", ","1",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ "]" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "868", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "precision" : "Day", - "type" : "Includes", - "signature" : [ { - "localId" : "869", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "870", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "871", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "872", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "814", - "name" : "PrecisionDateIvl", - "type" : "ExpressionRef", - "resultTypeSpecifier" : { - "localId" : "815", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "816", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - }, { - "localId" : "865", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "866", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "867", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "833", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "834", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "835", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "836", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "837", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "838", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "839", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "840", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "817", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "818", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "819", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "820", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "821", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "822", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "823", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - }, - "high" : { - "localId" : "857", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "858", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "859", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "860", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "861", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "862", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "863", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "864", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "841", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "842", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "6", - "type" : "Literal" - }, - "day" : { - "localId" : "843", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "844", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "845", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "846", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "847", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - } - } ] - } - }, { - "localId" : "882", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "NotIncludesDayOfIvlHighEdge", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "882", - "s" : [ { - "value" : [ "","define ","NotIncludesDayOfIvlHighEdge",": " ] - }, { - "r" : "937", - "s" : [ { - "r" : "883", - "s" : [ { - "value" : [ "PrecisionDateIvl" ] - } ] - }, { - "r" : "937", - "value" : [ " ","includes day of"," " ] - }, { - "r" : "934", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "902", - "s" : [ { - "r" : "886", - "value" : [ "DateTime","(","2012",", ","6",", ","1",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "926", - "s" : [ { - "r" : "910", - "value" : [ "DateTime","(","2012",", ","9",", ","3",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ "]" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "937", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "precision" : "Day", - "type" : "Includes", - "signature" : [ { - "localId" : "938", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "939", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "940", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "941", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "883", - "name" : "PrecisionDateIvl", - "type" : "ExpressionRef", - "resultTypeSpecifier" : { - "localId" : "884", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "885", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - }, { - "localId" : "934", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "935", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "936", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "902", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "903", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "904", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "905", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "906", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "907", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "908", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "909", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "886", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "887", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "6", - "type" : "Literal" - }, - "day" : { - "localId" : "888", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "889", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "890", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "891", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "892", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - }, - "high" : { - "localId" : "926", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "927", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "928", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "929", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "930", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "931", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "932", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "933", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "910", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "911", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "9", - "type" : "Literal" - }, - "day" : { - "localId" : "912", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "hour" : { - "localId" : "913", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "914", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "915", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "916", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - } - } ] - } - }, { - "localId" : "951", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "IncludesDayOfIvlImpreciseLowEdge", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "951", - "s" : [ { - "value" : [ "","define ","IncludesDayOfIvlImpreciseLowEdge",": " ] - }, { - "r" : "982", - "s" : [ { - "r" : "952", - "s" : [ { - "value" : [ "PrecisionDateIvl" ] - } ] - }, { - "r" : "982", - "value" : [ " ","includes day of"," " ] - }, { - "r" : "979", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "963", - "s" : [ { - "r" : "955", - "value" : [ "DateTime","(","2012",", ","3",", ","2",")" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "975", - "s" : [ { - "r" : "967", - "value" : [ "DateTime","(","2012",", ","6",", ","1",")" ] - } ] - }, { - "value" : [ "]" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "982", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "precision" : "Day", - "type" : "Includes", - "signature" : [ { - "localId" : "983", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "984", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "985", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "986", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "952", - "name" : "PrecisionDateIvl", - "type" : "ExpressionRef", - "resultTypeSpecifier" : { - "localId" : "953", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "954", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - }, { - "localId" : "979", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "980", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "981", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "963", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "964", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "965", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "966", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "955", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "956", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "957", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal" - } - }, - "high" : { - "localId" : "975", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "976", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "977", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "978", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "967", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "968", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "6", - "type" : "Literal" - }, - "day" : { - "localId" : "969", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - } - } - } ] - } - }, { - "localId" : "996", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "IncludesDayOfIvlImpreciseHighEdge", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "996", - "s" : [ { - "value" : [ "","define ","IncludesDayOfIvlImpreciseHighEdge",": " ] - }, { - "r" : "1027", - "s" : [ { - "r" : "997", - "s" : [ { - "value" : [ "PrecisionDateIvl" ] - } ] - }, { - "r" : "1027", - "value" : [ " ","includes day of"," " ] - }, { - "r" : "1024", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "1008", - "s" : [ { - "r" : "1000", - "value" : [ "DateTime","(","2012",", ","6",", ","1",")" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "1020", - "s" : [ { - "r" : "1012", - "value" : [ "DateTime","(","2012",", ","9",", ","2",")" ] - } ] - }, { - "value" : [ "]" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "1027", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "precision" : "Day", - "type" : "Includes", - "signature" : [ { - "localId" : "1028", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1029", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "1030", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1031", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "997", - "name" : "PrecisionDateIvl", - "type" : "ExpressionRef", - "resultTypeSpecifier" : { - "localId" : "998", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "999", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - }, { - "localId" : "1024", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "1025", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1026", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "1008", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "1009", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1010", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1011", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1000", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "1001", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "6", - "type" : "Literal" - }, - "day" : { - "localId" : "1002", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - } - }, - "high" : { - "localId" : "1020", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "1021", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1022", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1023", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1012", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "1013", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "9", - "type" : "Literal" - }, - "day" : { - "localId" : "1014", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal" - } - } - } ] - } - }, { - "localId" : "1041", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "IncludesDayOfIvlVeryImpreciseMiddle", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "1041", - "s" : [ { - "value" : [ "","define ","IncludesDayOfIvlVeryImpreciseMiddle",": " ] - }, { - "r" : "1066", - "s" : [ { - "r" : "1042", - "s" : [ { - "value" : [ "PrecisionDateIvl" ] - } ] - }, { - "r" : "1066", - "value" : [ " ","includes day of"," " ] - }, { - "r" : "1063", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "1051", - "s" : [ { - "r" : "1045", - "value" : [ "DateTime","(","2012",", ","5",")" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "1060", - "s" : [ { - "r" : "1054", - "value" : [ "DateTime","(","2012",", ","6",")" ] - } ] - }, { - "value" : [ "]" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "1066", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "precision" : "Day", - "type" : "Includes", - "signature" : [ { - "localId" : "1067", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1068", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "1069", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1070", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "1042", - "name" : "PrecisionDateIvl", - "type" : "ExpressionRef", - "resultTypeSpecifier" : { - "localId" : "1043", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1044", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - }, { - "localId" : "1063", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "1064", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1065", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "1051", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "1052", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1053", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1045", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "1046", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal" - } - }, - "high" : { - "localId" : "1060", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "1061", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1062", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1054", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "1055", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "6", - "type" : "Literal" - } - } - } ] - } - }, { - "localId" : "1080", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "NotIncludesDayOfIvlVeryImpreciseLow", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "1080", - "s" : [ { - "value" : [ "","define ","NotIncludesDayOfIvlVeryImpreciseLow",": " ] - }, { - "r" : "1105", - "s" : [ { - "r" : "1081", - "s" : [ { - "value" : [ "PrecisionDateIvl" ] - } ] - }, { - "r" : "1105", - "value" : [ " ","includes day of"," " ] - }, { - "r" : "1102", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "1090", - "s" : [ { - "r" : "1084", - "value" : [ "DateTime","(","2012",", ","2",")" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "1099", - "s" : [ { - "r" : "1093", - "value" : [ "DateTime","(","2012",", ","6",")" ] - } ] - }, { - "value" : [ "]" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "1105", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "precision" : "Day", - "type" : "Includes", - "signature" : [ { - "localId" : "1106", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1107", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "1108", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1109", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "1081", - "name" : "PrecisionDateIvl", - "type" : "ExpressionRef", - "resultTypeSpecifier" : { - "localId" : "1082", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1083", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - }, { - "localId" : "1102", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "1103", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1104", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "1090", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "1091", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1092", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1084", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "1085", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal" - } - }, - "high" : { - "localId" : "1099", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "1100", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1101", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1093", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "1094", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "6", - "type" : "Literal" - } - } - } ] - } - }, { - "localId" : "1119", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "NotIncludesDayOfIvlVeryImpreciseHigh", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "1119", - "s" : [ { - "value" : [ "","define ","NotIncludesDayOfIvlVeryImpreciseHigh",": " ] - }, { - "r" : "1144", - "s" : [ { - "r" : "1120", - "s" : [ { - "value" : [ "PrecisionDateIvl" ] - } ] - }, { - "r" : "1144", - "value" : [ " ","includes day of"," " ] - }, { - "r" : "1141", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "1129", - "s" : [ { - "r" : "1123", - "value" : [ "DateTime","(","2012",", ","6",")" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "1138", - "s" : [ { - "r" : "1132", - "value" : [ "DateTime","(","2012",", ","10",")" ] - } ] - }, { - "value" : [ "]" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "1144", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "precision" : "Day", - "type" : "Includes", - "signature" : [ { - "localId" : "1145", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1146", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "1147", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1148", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "1120", - "name" : "PrecisionDateIvl", - "type" : "ExpressionRef", - "resultTypeSpecifier" : { - "localId" : "1121", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1122", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - }, { - "localId" : "1141", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "1142", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1143", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "1129", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "1130", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1131", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1123", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "1124", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "6", - "type" : "Literal" - } - }, - "high" : { - "localId" : "1138", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "1139", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1140", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1132", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "1133", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal" - } - } - } ] - } - }, { - "localId" : "1158", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "MayIncludeDayOfIvlVeryImpreciseLow", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "1158", - "s" : [ { - "value" : [ "","define ","MayIncludeDayOfIvlVeryImpreciseLow",": " ] - }, { - "r" : "1183", - "s" : [ { - "r" : "1159", - "s" : [ { - "value" : [ "PrecisionDateIvl" ] - } ] - }, { - "r" : "1183", - "value" : [ " ","includes day of"," " ] - }, { - "r" : "1180", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "1168", - "s" : [ { - "r" : "1162", - "value" : [ "DateTime","(","2012",", ","3",")" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "1177", - "s" : [ { - "r" : "1171", - "value" : [ "DateTime","(","2012",", ","6",")" ] - } ] - }, { - "value" : [ "]" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "1183", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "precision" : "Day", - "type" : "Includes", - "signature" : [ { - "localId" : "1184", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1185", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "1186", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1187", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "1159", - "name" : "PrecisionDateIvl", - "type" : "ExpressionRef", - "resultTypeSpecifier" : { - "localId" : "1160", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1161", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - }, { - "localId" : "1180", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "1181", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1182", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "1168", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "1169", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1170", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1162", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "1163", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - } - }, - "high" : { - "localId" : "1177", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "1178", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1179", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1171", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "1172", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "6", - "type" : "Literal" - } - } - } ] - } - }, { - "localId" : "1197", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "MayIncludeDayOfIvlVeryImpreciseHigh", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "1197", - "s" : [ { - "value" : [ "","define ","MayIncludeDayOfIvlVeryImpreciseHigh",": " ] - }, { - "r" : "1222", - "s" : [ { - "r" : "1198", - "s" : [ { - "value" : [ "PrecisionDateIvl" ] - } ] - }, { - "r" : "1222", - "value" : [ " ","includes day of"," " ] - }, { - "r" : "1219", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "1207", - "s" : [ { - "r" : "1201", - "value" : [ "DateTime","(","2012",", ","6",")" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "1216", - "s" : [ { - "r" : "1210", - "value" : [ "DateTime","(","2012",", ","9",")" ] - } ] - }, { - "value" : [ "]" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "1222", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "precision" : "Day", - "type" : "Includes", - "signature" : [ { - "localId" : "1223", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1224", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "1225", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1226", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "1198", - "name" : "PrecisionDateIvl", - "type" : "ExpressionRef", - "resultTypeSpecifier" : { - "localId" : "1199", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1200", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - }, { - "localId" : "1219", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "1220", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1221", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "1207", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "1208", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1209", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1201", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "1202", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "6", - "type" : "Literal" - } - }, - "high" : { - "localId" : "1216", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "1217", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1218", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1210", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "1211", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "9", - "type" : "Literal" - } - } - } ] - } - }, { - "localId" : "1236", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "MayIncludeDayOfIvlVeryImpreciseSurrounding", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "1236", - "s" : [ { - "value" : [ "","define ","MayIncludeDayOfIvlVeryImpreciseSurrounding",": " ] - }, { - "r" : "1255", - "s" : [ { - "r" : "1237", - "s" : [ { - "value" : [ "PrecisionDateIvl" ] - } ] - }, { - "r" : "1255", - "value" : [ " ","includes day of"," " ] - }, { - "r" : "1252", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "1244", - "s" : [ { - "r" : "1240", - "value" : [ "DateTime","(","2012",")" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "1250", - "s" : [ { - "r" : "1246", - "value" : [ "DateTime","(","2012",")" ] - } ] - }, { - "value" : [ "]" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "1255", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "precision" : "Day", - "type" : "Includes", - "signature" : [ { - "localId" : "1256", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1257", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "1258", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1259", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "1237", - "name" : "PrecisionDateIvl", - "type" : "ExpressionRef", - "resultTypeSpecifier" : { - "localId" : "1238", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1239", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - }, { - "localId" : "1252", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "1253", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1254", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "1244", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "1245", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1240", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - } - }, - "high" : { - "localId" : "1250", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "1251", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1246", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - } - } - } ] - } - }, { - "localId" : "1269", - "name" : "ImpDateIvl", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "1269", - "s" : [ { - "value" : [ "","define ","ImpDateIvl",": " ] - }, { - "r" : "1288", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "1276", - "s" : [ { - "r" : "1270", - "value" : [ "DateTime","(","2012",", ","3",")" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "1285", - "s" : [ { - "r" : "1279", - "value" : [ "DateTime","(","2012",", ","8",")" ] - } ] - }, { - "value" : [ "]" ] - } ] - } ] - } - } ], - "resultTypeSpecifier" : { - "localId" : "1291", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1292", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "expression" : { - "localId" : "1288", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "1289", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1290", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "1276", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "1277", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1278", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1270", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "1271", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - } - }, - "high" : { - "localId" : "1285", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "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" - } ], - "year" : { - "localId" : "1279", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "1280", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "8", - "type" : "Literal" - } - } - } - }, { - "localId" : "1295", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "ImpreciseIncludesDateIvl", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "1295", - "s" : [ { - "value" : [ "","define ","ImpreciseIncludesDateIvl",": " ] - }, { - "r" : "1350", - "s" : [ { - "r" : "1296", - "s" : [ { - "value" : [ "ImpDateIvl" ] - } ] - }, { - "r" : "1350", - "value" : [ " ","includes"," " ] - }, { - "r" : "1347", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "1315", - "s" : [ { - "r" : "1299", - "value" : [ "DateTime","(","2012",", ","4",", ","1",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "1339", - "s" : [ { - "r" : "1323", - "value" : [ "DateTime","(","2012",", ","6",", ","1",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ ")" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "1350", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "Includes", - "signature" : [ { - "localId" : "1351", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1352", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "1353", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1354", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "1296", - "name" : "ImpDateIvl", - "type" : "ExpressionRef", - "resultTypeSpecifier" : { - "localId" : "1297", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1298", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - }, { - "localId" : "1347", - "lowClosed" : true, - "highClosed" : false, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "1348", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1349", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "1315", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "1316", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1317", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1318", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1319", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1320", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1321", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1322", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1299", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "1300", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "4", - "type" : "Literal" - }, - "day" : { - "localId" : "1301", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "1302", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "1303", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "1304", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "1305", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - }, - "high" : { - "localId" : "1339", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "1340", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1341", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1342", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1343", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1344", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1345", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1346", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1323", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "1324", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "6", - "type" : "Literal" - }, - "day" : { - "localId" : "1325", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "1326", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "1327", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "1328", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "1329", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - } - } ] - } - }, { - "localId" : "1364", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "ImpreciseIncludesDate", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "1364", - "s" : [ { - "value" : [ "","define ","ImpreciseIncludesDate",": " ] - }, { - "r" : "1393", - "s" : [ { - "r" : "1365", - "s" : [ { - "value" : [ "ImpDateIvl" ] - } ] - }, { - "r" : "1393", - "value" : [ " ","includes"," " ] - }, { - "r" : "1384", - "s" : [ { - "r" : "1368", - "value" : [ "DateTime","(","2012",", ","4",", ","1",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "1393", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "Contains", - "signature" : [ { - "localId" : "1394", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1395", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "1396", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "1365", - "name" : "ImpDateIvl", - "type" : "ExpressionRef", - "resultTypeSpecifier" : { - "localId" : "1366", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1367", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - }, { - "localId" : "1384", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "1385", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1386", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1387", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1388", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1389", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1390", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1391", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1368", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "1369", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "4", - "type" : "Literal" - }, - "day" : { - "localId" : "1370", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "1371", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "1372", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "1373", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "1374", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - } ] - } - }, { - "localId" : "1399", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "ImpreciseDoesntIncludeDate", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "1399", - "s" : [ { - "value" : [ "","define ","ImpreciseDoesntIncludeDate",": " ] - }, { - "r" : "1428", - "s" : [ { - "r" : "1400", - "s" : [ { - "value" : [ "ImpDateIvl" ] - } ] - }, { - "r" : "1428", - "value" : [ " ","includes"," " ] - }, { - "r" : "1419", - "s" : [ { - "r" : "1403", - "value" : [ "DateTime","(","2016",", ","4",", ","1",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "1428", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "Contains", - "signature" : [ { - "localId" : "1429", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1430", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "1431", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "1400", - "name" : "ImpDateIvl", - "type" : "ExpressionRef", - "resultTypeSpecifier" : { - "localId" : "1401", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1402", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - }, { - "localId" : "1419", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "1420", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1421", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1422", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1423", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1424", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1425", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1426", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1403", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2016", - "type" : "Literal" - }, - "month" : { - "localId" : "1404", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "4", - "type" : "Literal" - }, - "day" : { - "localId" : "1405", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "1406", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "1407", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "1408", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "1409", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - } ] - } - }, { - "localId" : "1434", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "IntervalIncludesQuantity", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "1434", - "s" : [ { - "value" : [ "","define ","IntervalIncludesQuantity",": " ] - }, { - "r" : "1442", - "s" : [ { - "r" : "1437", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "1435", - "s" : [ { - "value" : [ "4 ","'mg'" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "1436", - "s" : [ { - "value" : [ "6 ","'mg'" ] - } ] - }, { - "value" : [ "]" ] - } ] - }, { - "r" : "1442", - "value" : [ " ","includes"," " ] - }, { - "r" : "1440", - "s" : [ { - "value" : [ "5 ","'mg'" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "1442", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "Contains", - "signature" : [ { - "localId" : "1443", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1444", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "1445", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "1437", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "1438", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1439", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "1435", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "value" : 4, - "unit" : "mg", - "type" : "Quantity" - }, - "high" : { - "localId" : "1436", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "value" : 6, - "unit" : "mg", - "type" : "Quantity" - } - }, { - "localId" : "1440", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "value" : 5, - "unit" : "mg", - "type" : "Quantity" - } ] - } - }, { - "localId" : "1448", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "IntervalDoesntIncludeQuantity", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "1448", - "s" : [ { - "value" : [ "","define ","IntervalDoesntIncludeQuantity",": " ] - }, { - "r" : "1456", - "s" : [ { - "r" : "1451", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "1449", - "s" : [ { - "value" : [ "4 ","'mg'" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "1450", - "s" : [ { - "value" : [ "6 ","'mg'" ] - } ] - }, { - "value" : [ "]" ] - } ] - }, { - "r" : "1456", - "value" : [ " ","includes"," " ] - }, { - "r" : "1454", - "s" : [ { - "value" : [ "50 ","'mg'" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "1456", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "Contains", - "signature" : [ { - "localId" : "1457", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1458", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "1459", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "1451", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "1452", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1453", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "1449", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "value" : 4, - "unit" : "mg", - "type" : "Quantity" - }, - "high" : { - "localId" : "1450", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "value" : 6, - "unit" : "mg", - "type" : "Quantity" - } - }, { - "localId" : "1454", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "value" : 50, - "unit" : "mg", - "type" : "Quantity" - } ] - } - }, { - "localId" : "1462", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "ImpreciseNotIncludesDateIvl", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "1462", - "s" : [ { - "value" : [ "","define ","ImpreciseNotIncludesDateIvl",": " ] - }, { - "r" : "1517", - "s" : [ { - "r" : "1463", - "s" : [ { - "value" : [ "ImpDateIvl" ] - } ] - }, { - "r" : "1517", - "value" : [ " ","includes"," " ] - }, { - "r" : "1514", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "1482", - "s" : [ { - "r" : "1466", - "value" : [ "DateTime","(","2012",", ","2",", ","1",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "1506", - "s" : [ { - "r" : "1490", - "value" : [ "DateTime","(","2012",", ","6",", ","1",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ ")" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "1517", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "Includes", - "signature" : [ { - "localId" : "1518", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1519", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "1520", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1521", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "1463", - "name" : "ImpDateIvl", - "type" : "ExpressionRef", - "resultTypeSpecifier" : { - "localId" : "1464", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1465", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - }, { - "localId" : "1514", - "lowClosed" : true, - "highClosed" : false, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "1515", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1516", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "1482", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "1483", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1484", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1485", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1486", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1487", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1488", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1489", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1466", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "1467", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal" - }, - "day" : { - "localId" : "1468", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "1469", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "1470", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "1471", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "1472", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - }, - "high" : { - "localId" : "1506", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "1507", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1508", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1509", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1510", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1511", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1512", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1513", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1490", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "1491", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "6", - "type" : "Literal" - }, - "day" : { - "localId" : "1492", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "1493", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "1494", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "1495", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "1496", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - } - } ] - } - }, { - "localId" : "1531", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "ImpreciseMayIncludeDateIvl", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "1531", - "s" : [ { - "value" : [ "","define ","ImpreciseMayIncludeDateIvl",": " ] - }, { - "r" : "1586", - "s" : [ { - "r" : "1532", - "s" : [ { - "value" : [ "ImpDateIvl" ] - } ] - }, { - "r" : "1586", - "value" : [ " ","includes"," " ] - }, { - "r" : "1583", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "1551", - "s" : [ { - "r" : "1535", - "value" : [ "DateTime","(","2012",", ","3",", ","15",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "1575", - "s" : [ { - "r" : "1559", - "value" : [ "DateTime","(","2012",", ","6",", ","1",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ ")" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "1586", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "Includes", - "signature" : [ { - "localId" : "1587", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1588", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "1589", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1590", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "1532", - "name" : "ImpDateIvl", - "type" : "ExpressionRef", - "resultTypeSpecifier" : { - "localId" : "1533", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1534", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - }, { - "localId" : "1583", - "lowClosed" : true, - "highClosed" : false, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "1584", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1585", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "1551", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "1552", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1553", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1554", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1555", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1556", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1557", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1558", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1535", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "1536", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "1537", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal" - }, - "hour" : { - "localId" : "1538", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "1539", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "1540", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "1541", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - }, - "high" : { - "localId" : "1575", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "1576", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1577", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1578", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1579", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1580", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1581", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1582", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1559", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "1560", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "6", - "type" : "Literal" - }, - "day" : { - "localId" : "1561", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "1562", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "1563", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "1564", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "1565", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - } - } ] - } - }, { - "localId" : "1600", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "NegInfBegIncludesIntIvl", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "1600", - "s" : [ { - "value" : [ "","define ","NegInfBegIncludesIntIvl",": " ] - }, { - "r" : "1614", - "s" : [ { - "r" : "1603", - "s" : [ { - "r" : "1601", - "value" : [ "Interval[","null",", ","5","]" ] - } ] - }, { - "r" : "1614", - "value" : [ " ","includes"," " ] - }, { - "r" : "1611", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "1607", - "s" : [ { - "r" : "1608", - "value" : [ "-","7" ] - } ] - }, { - "r" : "1610", - "value" : [ ", ","2","]" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "1614", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "Includes", - "signature" : [ { - "localId" : "1615", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1616", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "1617", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1618", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "1603", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "1605", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1606", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "1604", - "asType" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "As", - "signature" : [ ], - "operand" : { - "localId" : "1601", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - } - }, - "high" : { - "localId" : "1602", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal" - } - }, { - "localId" : "1611", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "1612", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1613", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "1607", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "Negate", - "signature" : [ { - "localId" : "1609", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "1608", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "7", - "type" : "Literal" - } - }, - "high" : { - "localId" : "1610", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal" - } - } ] - } - }, { - "localId" : "1628", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "NegInfBegNotIncludesIntIvl", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "1628", - "s" : [ { - "value" : [ "","define ","NegInfBegNotIncludesIntIvl",": " ] - }, { - "r" : "1640", - "s" : [ { - "r" : "1631", - "s" : [ { - "r" : "1629", - "value" : [ "Interval[","null",", ","5","]" ] - } ] - }, { - "r" : "1640", - "value" : [ " ","includes"," " ] - }, { - "r" : "1637", - "s" : [ { - "r" : "1635", - "value" : [ "Interval[","4",", ","7","]" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "1640", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "Includes", - "signature" : [ { - "localId" : "1641", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1642", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "1643", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1644", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "1631", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "1633", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1634", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "1632", - "asType" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "As", - "signature" : [ ], - "operand" : { - "localId" : "1629", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - } - }, - "high" : { - "localId" : "1630", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal" - } - }, { - "localId" : "1637", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "1638", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1639", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "1635", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "4", - "type" : "Literal" - }, - "high" : { - "localId" : "1636", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "7", - "type" : "Literal" - } - } ] - } - }, { - "localId" : "1654", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "UnknownBegIncludesIntIvl", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "1654", - "s" : [ { - "value" : [ "","define ","UnknownBegIncludesIntIvl",": " ] - }, { - "r" : "1666", - "s" : [ { - "r" : "1657", - "s" : [ { - "r" : "1655", - "value" : [ "Interval(","null",", ","5","]" ] - } ] - }, { - "r" : "1666", - "value" : [ " ","includes"," " ] - }, { - "r" : "1663", - "s" : [ { - "r" : "1661", - "value" : [ "Interval[","5",", ","5","]" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "1666", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "Includes", - "signature" : [ { - "localId" : "1667", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1668", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "1669", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1670", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "1657", - "lowClosed" : false, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "1659", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1660", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "1658", - "asType" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "As", - "signature" : [ ], - "operand" : { - "localId" : "1655", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - } - }, - "high" : { - "localId" : "1656", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal" - } - }, { - "localId" : "1663", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "1664", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1665", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "1661", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal" - }, - "high" : { - "localId" : "1662", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal" - } - } ] - } - }, { - "localId" : "1680", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "UnknownBegMayIncludeIntIvl", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "1680", - "s" : [ { - "value" : [ "","define ","UnknownBegMayIncludeIntIvl",": " ] - }, { - "r" : "1694", - "s" : [ { - "r" : "1683", - "s" : [ { - "r" : "1681", - "value" : [ "Interval(","null",", ","5","]" ] - } ] - }, { - "r" : "1694", - "value" : [ " ","includes"," " ] - }, { - "r" : "1691", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "1687", - "s" : [ { - "r" : "1688", - "value" : [ "-","7" ] - } ] - }, { - "r" : "1690", - "value" : [ ", ","2","]" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "1694", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "Includes", - "signature" : [ { - "localId" : "1695", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1696", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "1697", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1698", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "1683", - "lowClosed" : false, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "1685", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1686", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "1684", - "asType" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "As", - "signature" : [ ], - "operand" : { - "localId" : "1681", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - } - }, - "high" : { - "localId" : "1682", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal" - } - }, { - "localId" : "1691", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "1692", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1693", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "1687", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "Negate", - "signature" : [ { - "localId" : "1689", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "1688", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "7", - "type" : "Literal" - } - }, - "high" : { - "localId" : "1690", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal" - } - } ] - } - }, { - "localId" : "1708", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "UnknownBegNotIncludesIntIvl", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "1708", - "s" : [ { - "value" : [ "","define ","UnknownBegNotIncludesIntIvl",": " ] - }, { - "r" : "1720", - "s" : [ { - "r" : "1711", - "s" : [ { - "r" : "1709", - "value" : [ "Interval(","null",", ","5","]" ] - } ] - }, { - "r" : "1720", - "value" : [ " ","includes"," " ] - }, { - "r" : "1717", - "s" : [ { - "r" : "1715", - "value" : [ "Interval[","4",", ","7","]" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "1720", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "Includes", - "signature" : [ { - "localId" : "1721", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1722", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "1723", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1724", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "1711", - "lowClosed" : false, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "1713", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1714", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "1712", - "asType" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "As", - "signature" : [ ], - "operand" : { - "localId" : "1709", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - } - }, - "high" : { - "localId" : "1710", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal" - } - }, { - "localId" : "1717", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "1718", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1719", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "1715", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "4", - "type" : "Literal" - }, - "high" : { - "localId" : "1716", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "7", - "type" : "Literal" - } - } ] - } - }, { - "localId" : "1734", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "PosInfEndIncludesIntIvl", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "1734", - "s" : [ { - "value" : [ "","define ","PosInfEndIncludesIntIvl",": " ] - }, { - "r" : "1746", - "s" : [ { - "r" : "1737", - "s" : [ { - "r" : "1735", - "value" : [ "Interval[","0",", ","null","]" ] - } ] - }, { - "r" : "1746", - "value" : [ " ","includes"," " ] - }, { - "r" : "1743", - "s" : [ { - "r" : "1741", - "value" : [ "Interval[","1234",", ","5678","]" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "1746", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "Includes", - "signature" : [ { - "localId" : "1747", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1748", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "1749", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1750", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "1737", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "1739", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1740", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "1735", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "high" : { - "localId" : "1738", - "asType" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "As", - "signature" : [ ], - "operand" : { - "localId" : "1736", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - } - } - }, { - "localId" : "1743", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "1744", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1745", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "1741", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1234", - "type" : "Literal" - }, - "high" : { - "localId" : "1742", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5678", - "type" : "Literal" - } - } ] - } - }, { - "localId" : "1760", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "PosInfEndNotIncludesIntIvl", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "1760", - "s" : [ { - "value" : [ "","define ","PosInfEndNotIncludesIntIvl",": " ] - }, { - "r" : "1774", - "s" : [ { - "r" : "1763", - "s" : [ { - "r" : "1761", - "value" : [ "Interval[","0",", ","null","]" ] - } ] - }, { - "r" : "1774", - "value" : [ " ","includes"," " ] - }, { - "r" : "1771", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "1767", - "s" : [ { - "r" : "1768", - "value" : [ "-","1234" ] - } ] - }, { - "r" : "1770", - "value" : [ ", ","5678","]" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "1774", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "Includes", - "signature" : [ { - "localId" : "1775", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1776", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "1777", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1778", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "1763", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "1765", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1766", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "1761", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "high" : { - "localId" : "1764", - "asType" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "As", - "signature" : [ ], - "operand" : { - "localId" : "1762", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - } - } - }, { - "localId" : "1771", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "1772", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1773", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "1767", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "Negate", - "signature" : [ { - "localId" : "1769", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "1768", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1234", - "type" : "Literal" - } - }, - "high" : { - "localId" : "1770", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5678", - "type" : "Literal" - } - } ] - } - }, { - "localId" : "1788", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "UnknownEndIncludesIntIvl", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "1788", - "s" : [ { - "value" : [ "","define ","UnknownEndIncludesIntIvl",": " ] - }, { - "r" : "1800", - "s" : [ { - "r" : "1791", - "s" : [ { - "r" : "1789", - "value" : [ "Interval[","0",", ","null",")" ] - } ] - }, { - "r" : "1800", - "value" : [ " ","includes"," " ] - }, { - "r" : "1797", - "s" : [ { - "r" : "1795", - "value" : [ "Interval[","0",", ","0","]" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "1800", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "Includes", - "signature" : [ { - "localId" : "1801", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1802", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "1803", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1804", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "1791", - "lowClosed" : true, - "highClosed" : false, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "1793", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1794", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "1789", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "high" : { - "localId" : "1792", - "asType" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "As", - "signature" : [ ], - "operand" : { - "localId" : "1790", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - } - } - }, { - "localId" : "1797", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "1798", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1799", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "1795", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "high" : { - "localId" : "1796", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - } ] - } - }, { - "localId" : "1814", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "UnknownEndMayIncludeIntIvl", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "1814", - "s" : [ { - "value" : [ "","define ","UnknownEndMayIncludeIntIvl",": " ] - }, { - "r" : "1826", - "s" : [ { - "r" : "1817", - "s" : [ { - "r" : "1815", - "value" : [ "Interval[","0",", ","null",")" ] - } ] - }, { - "r" : "1826", - "value" : [ " ","includes"," " ] - }, { - "r" : "1823", - "s" : [ { - "r" : "1821", - "value" : [ "Interval[","1234",", ","5678","]" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "1826", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "Includes", - "signature" : [ { - "localId" : "1827", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1828", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "1829", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1830", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "1817", - "lowClosed" : true, - "highClosed" : false, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "1819", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1820", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "1815", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "high" : { - "localId" : "1818", - "asType" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "As", - "signature" : [ ], - "operand" : { - "localId" : "1816", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - } - } - }, { - "localId" : "1823", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "1824", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1825", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "1821", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1234", - "type" : "Literal" - }, - "high" : { - "localId" : "1822", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5678", - "type" : "Literal" - } - } ] - } - }, { - "localId" : "1840", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "UnknownEndNotIncludesIntIvl", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "1840", - "s" : [ { - "value" : [ "","define ","UnknownEndNotIncludesIntIvl",": " ] - }, { - "r" : "1854", - "s" : [ { - "r" : "1843", - "s" : [ { - "r" : "1841", - "value" : [ "Interval[","0",", ","null",")" ] - } ] - }, { - "r" : "1854", - "value" : [ " ","includes"," " ] - }, { - "r" : "1851", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "1847", - "s" : [ { - "r" : "1848", - "value" : [ "-","1234" ] - } ] - }, { - "r" : "1850", - "value" : [ ", ","5678","]" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "1854", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "Includes", - "signature" : [ { - "localId" : "1855", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1856", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "1857", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1858", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "1843", - "lowClosed" : true, - "highClosed" : false, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "1845", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1846", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "1841", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "high" : { - "localId" : "1844", - "asType" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "As", - "signature" : [ ], - "operand" : { - "localId" : "1842", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - } - } - }, { - "localId" : "1851", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "1852", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1853", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "1847", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "Negate", - "signature" : [ { - "localId" : "1849", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "1848", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1234", - "type" : "Literal" - } - }, - "high" : { - "localId" : "1850", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5678", - "type" : "Literal" - } - } ] - } - }, { - "localId" : "1868", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "NegInfBegIncludesDateIvl", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "1868", - "s" : [ { - "value" : [ "","define ","NegInfBegIncludesDateIvl",": " ] - }, { - "r" : "1949", - "s" : [ { - "r" : "1894", - "s" : [ { - "r" : "1869", - "value" : [ "Interval[","null",", " ] - }, { - "r" : "1886", - "s" : [ { - "r" : "1870", - "value" : [ "DateTime","(","2013",", ","1",", ","1",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ ")" ] - } ] - }, { - "r" : "1949", - "value" : [ " ","includes"," " ] - }, { - "r" : "1946", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "1914", - "s" : [ { - "r" : "1898", - "value" : [ "DateTime","(","1",", ","1",", ","1",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "1938", - "s" : [ { - "r" : "1922", - "value" : [ "DateTime","(","2000",", ","1",", ","1",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ "]" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "1949", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "Includes", - "signature" : [ { - "localId" : "1950", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1951", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "1952", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1953", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "1894", - "lowClosed" : true, - "highClosed" : false, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "1896", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1897", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "1895", - "asType" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "As", - "signature" : [ ], - "operand" : { - "localId" : "1869", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - } - }, - "high" : { - "localId" : "1886", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "1887", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1888", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1889", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1890", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1891", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1892", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1893", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1870", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2013", - "type" : "Literal" - }, - "month" : { - "localId" : "1871", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "1872", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "1873", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "1874", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "1875", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "1876", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - } - }, { - "localId" : "1946", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "1947", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1948", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "1914", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "1915", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1916", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1917", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1918", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1919", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1920", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1921", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1898", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "month" : { - "localId" : "1899", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "1900", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "1901", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "1902", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "1903", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "1904", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - }, - "high" : { - "localId" : "1938", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "1939", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1940", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1941", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1942", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1943", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1944", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1945", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1922", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "1923", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "1924", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "1925", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "1926", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "1927", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "1928", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - } - } ] - } - }, { - "localId" : "1963", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "NegInfBegNotIncludesDateIvl", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "1963", - "s" : [ { - "value" : [ "","define ","NegInfBegNotIncludesDateIvl",": " ] - }, { - "r" : "2044", - "s" : [ { - "r" : "1989", - "s" : [ { - "r" : "1964", - "value" : [ "Interval[","null",", " ] - }, { - "r" : "1981", - "s" : [ { - "r" : "1965", - "value" : [ "DateTime","(","2013",", ","1",", ","1",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ ")" ] - } ] - }, { - "r" : "2044", - "value" : [ " ","includes"," " ] - }, { - "r" : "2041", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "2009", - "s" : [ { - "r" : "1993", - "value" : [ "DateTime","(","1",", ","1",", ","1",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "2033", - "s" : [ { - "r" : "2017", - "value" : [ "DateTime","(","2013",", ","1",", ","1",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ "]" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "2044", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "Includes", - "signature" : [ { - "localId" : "2045", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "2046", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "2047", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "2048", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "1989", - "lowClosed" : true, - "highClosed" : false, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "1991", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1992", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "1990", - "asType" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "As", - "signature" : [ ], - "operand" : { - "localId" : "1964", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - } - }, - "high" : { - "localId" : "1981", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "1982", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1983", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1984", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1985", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1986", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1987", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1988", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1965", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2013", - "type" : "Literal" - }, - "month" : { - "localId" : "1966", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "1967", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "1968", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "1969", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "1970", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "1971", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - } - }, { - "localId" : "2041", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "2042", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "2043", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "2009", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "2010", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2011", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2012", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2013", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2014", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2015", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2016", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1993", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "month" : { - "localId" : "1994", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "1995", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "1996", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "1997", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "1998", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "1999", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - }, - "high" : { - "localId" : "2033", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "2034", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2035", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2036", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2037", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2038", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2039", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2040", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "2017", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2013", - "type" : "Literal" - }, - "month" : { - "localId" : "2018", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "2019", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "2020", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "2021", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "2022", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "2023", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - } - } ] - } - }, { - "localId" : "2058", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "UnknownBegIncludesDateIvl", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "2058", - "s" : [ { - "value" : [ "","define ","UnknownBegIncludesDateIvl",": " ] - }, { - "r" : "2139", - "s" : [ { - "r" : "2084", - "s" : [ { - "r" : "2059", - "value" : [ "Interval(","null",", " ] - }, { - "r" : "2076", - "s" : [ { - "r" : "2060", - "value" : [ "DateTime","(","2013",", ","1",", ","1",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ ")" ] - } ] - }, { - "r" : "2139", - "value" : [ " ","includes"," " ] - }, { - "r" : "2136", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "2104", - "s" : [ { - "r" : "2088", - "value" : [ "DateTime","(","2012",", ","12",", ","31",", ","23",", ","59",", ","59",", ","999",")" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "2128", - "s" : [ { - "r" : "2112", - "value" : [ "DateTime","(","2012",", ","12",", ","31",", ","23",", ","59",", ","59",", ","999",")" ] - } ] - }, { - "value" : [ "]" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "2139", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "Includes", - "signature" : [ { - "localId" : "2140", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "2141", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "2142", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "2143", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "2084", - "lowClosed" : false, - "highClosed" : false, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "2086", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "2087", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "2085", - "asType" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "As", - "signature" : [ ], - "operand" : { - "localId" : "2059", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - } - }, - "high" : { - "localId" : "2076", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "2077", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2078", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2079", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2080", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2081", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2082", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2083", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "2060", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2013", - "type" : "Literal" - }, - "month" : { - "localId" : "2061", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "2062", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "2063", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "2064", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "2065", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "2066", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - } - }, { - "localId" : "2136", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "2137", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "2138", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "2104", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "2105", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2106", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2107", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2108", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2109", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2110", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2111", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "2088", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "2089", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "12", - "type" : "Literal" - }, - "day" : { - "localId" : "2090", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "31", - "type" : "Literal" - }, - "hour" : { - "localId" : "2091", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "23", - "type" : "Literal" - }, - "minute" : { - "localId" : "2092", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal" - }, - "second" : { - "localId" : "2093", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "2094", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "999", - "type" : "Literal" - } - }, - "high" : { - "localId" : "2128", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "2129", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2130", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2131", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2132", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2133", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2134", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2135", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "2112", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "2113", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "12", - "type" : "Literal" - }, - "day" : { - "localId" : "2114", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "31", - "type" : "Literal" - }, - "hour" : { - "localId" : "2115", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "23", - "type" : "Literal" - }, - "minute" : { - "localId" : "2116", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal" - }, - "second" : { - "localId" : "2117", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "2118", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "999", - "type" : "Literal" - } - } - } ] - } - }, { - "localId" : "2153", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "UnknownBegMayIncludeDateIvl", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "2153", - "s" : [ { - "value" : [ "","define ","UnknownBegMayIncludeDateIvl",": " ] - }, { - "r" : "2234", - "s" : [ { - "r" : "2179", - "s" : [ { - "r" : "2154", - "value" : [ "Interval(","null",", " ] - }, { - "r" : "2171", - "s" : [ { - "r" : "2155", - "value" : [ "DateTime","(","2013",", ","1",", ","1",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ ")" ] - } ] - }, { - "r" : "2234", - "value" : [ " ","includes"," " ] - }, { - "r" : "2231", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "2199", - "s" : [ { - "r" : "2183", - "value" : [ "DateTime","(","1",", ","1",", ","1",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "2223", - "s" : [ { - "r" : "2207", - "value" : [ "DateTime","(","2000",", ","1",", ","1",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ "]" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "2234", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "Includes", - "signature" : [ { - "localId" : "2235", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "2236", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "2237", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "2238", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "2179", - "lowClosed" : false, - "highClosed" : false, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "2181", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "2182", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "2180", - "asType" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "As", - "signature" : [ ], - "operand" : { - "localId" : "2154", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - } - }, - "high" : { - "localId" : "2171", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "2172", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2173", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2174", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2175", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2176", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2177", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2178", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "2155", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2013", - "type" : "Literal" - }, - "month" : { - "localId" : "2156", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "2157", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "2158", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "2159", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "2160", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "2161", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - } - }, { - "localId" : "2231", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "2232", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "2233", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "2199", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "2200", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2201", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2202", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2203", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2204", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2205", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2206", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "2183", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "month" : { - "localId" : "2184", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "2185", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "2186", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "2187", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "2188", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "2189", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - }, - "high" : { - "localId" : "2223", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "2224", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2225", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2226", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2227", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2228", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2229", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2230", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "2207", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "2208", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "2209", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "2210", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "2211", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "2212", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "2213", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - } - } ] - } - }, { - "localId" : "2248", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "UnknownBegNotIncludesDateIvl", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "2248", - "s" : [ { - "value" : [ "","define ","UnknownBegNotIncludesDateIvl",": " ] - }, { - "r" : "2329", - "s" : [ { - "r" : "2274", - "s" : [ { - "r" : "2249", - "value" : [ "Interval(","null",", " ] - }, { - "r" : "2266", - "s" : [ { - "r" : "2250", - "value" : [ "DateTime","(","2013",", ","1",", ","1",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ ")" ] - } ] - }, { - "r" : "2329", - "value" : [ " ","includes"," " ] - }, { - "r" : "2326", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "2294", - "s" : [ { - "r" : "2278", - "value" : [ "DateTime","(","1",", ","1",", ","1",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "2318", - "s" : [ { - "r" : "2302", - "value" : [ "DateTime","(","2013",", ","1",", ","1",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ "]" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "2329", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "Includes", - "signature" : [ { - "localId" : "2330", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "2331", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "2332", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "2333", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "2274", - "lowClosed" : false, - "highClosed" : false, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "2276", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "2277", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "2275", - "asType" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "As", - "signature" : [ ], - "operand" : { - "localId" : "2249", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - } - }, - "high" : { - "localId" : "2266", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "2267", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2268", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2269", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2270", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2271", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2272", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2273", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "2250", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2013", - "type" : "Literal" - }, - "month" : { - "localId" : "2251", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "2252", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "2253", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "2254", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "2255", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "2256", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - } - }, { - "localId" : "2326", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "2327", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "2328", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "2294", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "2295", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2296", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2297", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2298", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2299", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2300", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2301", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "2278", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "month" : { - "localId" : "2279", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "2280", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "2281", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "2282", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "2283", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "2284", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - }, - "high" : { - "localId" : "2318", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "2319", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2320", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2321", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2322", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2323", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2324", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2325", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "2302", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2013", - "type" : "Literal" - }, - "month" : { - "localId" : "2303", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "2304", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "2305", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "2306", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "2307", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "2308", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - } - } ] - } - }, { - "localId" : "2343", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "PosInfEndIncludesDateIvl", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "2343", - "s" : [ { - "value" : [ "","define ","PosInfEndIncludesDateIvl",": " ] - }, { - "r" : "2424", - "s" : [ { - "r" : "2369", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "2360", - "s" : [ { - "r" : "2344", - "value" : [ "DateTime","(","2013",", ","1",", ","1",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "r" : "2368", - "value" : [ ", ","null","]" ] - } ] - }, { - "r" : "2424", - "value" : [ " ","includes"," " ] - }, { - "r" : "2421", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "2389", - "s" : [ { - "r" : "2373", - "value" : [ "DateTime","(","2014",", ","1",", ","1",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "2413", - "s" : [ { - "r" : "2397", - "value" : [ "DateTime","(","2015",", ","1",", ","1",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ "]" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "2424", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "Includes", - "signature" : [ { - "localId" : "2425", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "2426", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "2427", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "2428", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "2369", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "2371", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "2372", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "2360", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "2361", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2362", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2363", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2364", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2365", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2366", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2367", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "2344", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2013", - "type" : "Literal" - }, - "month" : { - "localId" : "2345", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "2346", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "2347", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "2348", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "2349", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "2350", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - }, - "high" : { - "localId" : "2370", - "asType" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "As", - "signature" : [ ], - "operand" : { - "localId" : "2368", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - } - } - }, { - "localId" : "2421", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "2422", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "2423", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "2389", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "2390", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2391", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2392", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2393", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2394", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2395", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2396", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "2373", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2014", - "type" : "Literal" - }, - "month" : { - "localId" : "2374", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "2375", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "2376", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "2377", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "2378", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "2379", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - }, - "high" : { - "localId" : "2413", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "2414", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2415", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2416", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2417", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2418", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2419", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2420", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "2397", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2015", - "type" : "Literal" - }, - "month" : { - "localId" : "2398", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "2399", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "2400", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "2401", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "2402", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "2403", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - } - } ] - } - }, { - "localId" : "2438", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "PosInfEndNotIncludesDateIvl", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "2438", - "s" : [ { - "value" : [ "","define ","PosInfEndNotIncludesDateIvl",": " ] - }, { - "r" : "2519", - "s" : [ { - "r" : "2464", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "2455", - "s" : [ { - "r" : "2439", - "value" : [ "DateTime","(","2013",", ","1",", ","1",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "r" : "2463", - "value" : [ ", ","null","]" ] - } ] - }, { - "r" : "2519", - "value" : [ " ","includes"," " ] - }, { - "r" : "2516", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "2484", - "s" : [ { - "r" : "2468", - "value" : [ "DateTime","(","2000",", ","1",", ","1",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "2508", - "s" : [ { - "r" : "2492", - "value" : [ "DateTime","(","2014",", ","1",", ","1",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ "]" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "2519", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "Includes", - "signature" : [ { - "localId" : "2520", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "2521", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "2522", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "2523", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "2464", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "2466", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "2467", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "2455", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "2456", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2457", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2458", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2459", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2460", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2461", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2462", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "2439", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2013", - "type" : "Literal" - }, - "month" : { - "localId" : "2440", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "2441", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "2442", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "2443", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "2444", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "2445", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - }, - "high" : { - "localId" : "2465", - "asType" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "As", - "signature" : [ ], - "operand" : { - "localId" : "2463", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - } - } - }, { - "localId" : "2516", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "2517", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "2518", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "2484", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "2485", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2486", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2487", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2488", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2489", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2490", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2491", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "2468", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "2469", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "2470", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "2471", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "2472", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "2473", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "2474", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - }, - "high" : { - "localId" : "2508", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "2509", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2510", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2511", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2512", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2513", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2514", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2515", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "2492", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2014", - "type" : "Literal" - }, - "month" : { - "localId" : "2493", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "2494", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "2495", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "2496", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "2497", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "2498", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - } - } ] - } - }, { - "localId" : "2533", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "UnknownEndIncludesDateIvl", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "2533", - "s" : [ { - "value" : [ "","define ","UnknownEndIncludesDateIvl",": " ] - }, { - "r" : "2614", - "s" : [ { - "r" : "2559", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "2550", - "s" : [ { - "r" : "2534", - "value" : [ "DateTime","(","2013",", ","1",", ","1",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "r" : "2558", - "value" : [ ", ","null",")" ] - } ] - }, { - "r" : "2614", - "value" : [ " ","includes"," " ] - }, { - "r" : "2611", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "2579", - "s" : [ { - "r" : "2563", - "value" : [ "DateTime","(","2013",", ","1",", ","1",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "2603", - "s" : [ { - "r" : "2587", - "value" : [ "DateTime","(","2013",", ","1",", ","1",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ "]" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "2614", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "Includes", - "signature" : [ { - "localId" : "2615", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "2616", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "2617", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "2618", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "2559", - "lowClosed" : true, - "highClosed" : false, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "2561", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "2562", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "2550", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "2551", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2552", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2553", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2554", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2555", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2556", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2557", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "2534", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2013", - "type" : "Literal" - }, - "month" : { - "localId" : "2535", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "2536", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "2537", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "2538", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "2539", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "2540", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - }, - "high" : { - "localId" : "2560", - "asType" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "As", - "signature" : [ ], - "operand" : { - "localId" : "2558", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - } - } - }, { - "localId" : "2611", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "2612", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "2613", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "2579", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "2580", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2581", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2582", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2583", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2584", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2585", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2586", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "2563", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2013", - "type" : "Literal" - }, - "month" : { - "localId" : "2564", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "2565", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "2566", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "2567", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "2568", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "2569", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - }, - "high" : { - "localId" : "2603", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "2604", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2605", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2606", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2607", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2608", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2609", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2610", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "2587", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2013", - "type" : "Literal" - }, - "month" : { - "localId" : "2588", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "2589", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "2590", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "2591", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "2592", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "2593", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - } - } ] - } - }, { - "localId" : "2628", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "UnknownEndMayIncludeDateIvl", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "2628", - "s" : [ { - "value" : [ "","define ","UnknownEndMayIncludeDateIvl",": " ] - }, { - "r" : "2709", - "s" : [ { - "r" : "2654", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "2645", - "s" : [ { - "r" : "2629", - "value" : [ "DateTime","(","2013",", ","1",", ","1",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "r" : "2653", - "value" : [ ", ","null",")" ] - } ] - }, { - "r" : "2709", - "value" : [ " ","includes"," " ] - }, { - "r" : "2706", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "2674", - "s" : [ { - "r" : "2658", - "value" : [ "DateTime","(","2014",", ","1",", ","1",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "2698", - "s" : [ { - "r" : "2682", - "value" : [ "DateTime","(","2015",", ","1",", ","1",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ "]" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "2709", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "Includes", - "signature" : [ { - "localId" : "2710", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "2711", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "2712", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "2713", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "2654", - "lowClosed" : true, - "highClosed" : false, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "2656", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "2657", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "2645", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "2646", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2647", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2648", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2649", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2650", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2651", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2652", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "2629", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2013", - "type" : "Literal" - }, - "month" : { - "localId" : "2630", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "2631", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "2632", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "2633", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "2634", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "2635", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - }, - "high" : { - "localId" : "2655", - "asType" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "As", - "signature" : [ ], - "operand" : { - "localId" : "2653", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - } - } - }, { - "localId" : "2706", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "2707", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "2708", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "2674", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "2675", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2676", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2677", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2678", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2679", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2680", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2681", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "2658", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2014", - "type" : "Literal" - }, - "month" : { - "localId" : "2659", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "2660", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "2661", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "2662", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "2663", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "2664", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - }, - "high" : { - "localId" : "2698", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "2699", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2700", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2701", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2702", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2703", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2704", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2705", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "2682", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2015", - "type" : "Literal" - }, - "month" : { - "localId" : "2683", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "2684", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "2685", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "2686", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "2687", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "2688", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - } - } ] - } - }, { - "localId" : "2723", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "UnknownEndNotIncludesDateIvl", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "2723", - "s" : [ { - "value" : [ "","define ","UnknownEndNotIncludesDateIvl",": " ] - }, { - "r" : "2804", - "s" : [ { - "r" : "2749", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "2740", - "s" : [ { - "r" : "2724", - "value" : [ "DateTime","(","2013",", ","1",", ","1",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "r" : "2748", - "value" : [ ", ","null",")" ] - } ] - }, { - "r" : "2804", - "value" : [ " ","includes"," " ] - }, { - "r" : "2801", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "2769", - "s" : [ { - "r" : "2753", - "value" : [ "DateTime","(","2000",", ","1",", ","1",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "2793", - "s" : [ { - "r" : "2777", - "value" : [ "DateTime","(","2014",", ","1",", ","1",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ "]" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "2804", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "Includes", - "signature" : [ { - "localId" : "2805", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "2806", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "2807", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "2808", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "2749", - "lowClosed" : true, - "highClosed" : false, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "2751", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "2752", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "2740", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "2741", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2742", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2743", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2744", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2745", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2746", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2747", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "2724", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2013", - "type" : "Literal" - }, - "month" : { - "localId" : "2725", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "2726", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "2727", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "2728", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "2729", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "2730", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - }, - "high" : { - "localId" : "2750", - "asType" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "As", - "signature" : [ ], - "operand" : { - "localId" : "2748", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - } - } - }, { - "localId" : "2801", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "2802", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "2803", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "2769", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "2770", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2771", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2772", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2773", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2774", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2775", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2776", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "2753", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "2754", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "2755", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "2756", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "2757", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "2758", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "2759", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - }, - "high" : { - "localId" : "2793", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "2794", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2795", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2796", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2797", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2798", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2799", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2800", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "2777", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2014", - "type" : "Literal" - }, - "month" : { - "localId" : "2778", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "2779", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "2780", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "2781", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "2782", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "2783", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - } - } ] - } - } ] - } - } -} - -/* ProperlyIncludes -library TestSnippet version '1' -using Simple version '1.0.0' -context Patient -define ProperlyIncludesIntIvl: Interval[1, 5] properly includes Interval[2, 4] -define ProperlyIncludesIntBeginsIvl: Interval[1, 5] properly includes Interval[1, 4] -define ProperlyIncludesIntEndsIvl: Interval[1, 5] properly includes Interval[2, 5] -define NotProperlyIncludesIntIvl: Interval[1, 5] properly includes Interval[1, 5] -define ProperlyIncludesRealIvl: Interval[1.234, 3.456] properly includes Interval[2.34, 2.56] -define NotProperlyIncludesRealIvl: Interval[1.234, 3.456] properly includes Interval[1.234, 3.456] -define DateIvl: Interval[DateTime(2012, 3, 1, 0, 0, 0, 0), DateTime(2012, 9, 1, 0, 0, 0, 0)) -define ProperlyIncludesDateIvl: DateIvl properly includes Interval[DateTime(2012, 4, 1, 0, 0, 0, 0), DateTime(2012, 6, 1, 0, 0, 0, 0)) -define NotProperlyIncludesDateIvl: DateIvl properly includes Interval[DateTime(2012, 3, 1, 0, 0, 0, 0), DateTime(2012, 9, 1, 0, 0, 0, 0)) -define PosInfEndProperlyIncludesIntIvl: Interval[0, null] properly includes Interval[1234, 5678] -define PosInfEndNotProperlyIncludesIntIvl: Interval[0, null] properly includes Interval[0, null] -define UnknownEndMayProperlyIncludeIntIvl: Interval[0, null) properly includes Interval[0, 0] -define PrecisionDateIvl: Interval[DateTime(2012, 3, 2, 12, 34, 56, 789), DateTime(2012, 9, 2, 1, 23, 45, 678)) -define ProperlyIncludesDayOfIvlLowEdge: PrecisionDateIvl properly includes day of Interval[DateTime(2012, 3, 2, 0, 0, 0, 0), DateTime(2012, 6, 1, 0, 0, 0, 0)) -define ProperlyIncludesDayOfIvlHighEdge: PrecisionDateIvl properly includes day of Interval[DateTime(2012, 6, 1, 0, 0, 0, 0), DateTime(2012, 9, 2, 23, 59, 59, 999)) -define ProperlyIncludesDayOfIvlNearEdges: PrecisionDateIvl properly includes day of Interval[DateTime(2012, 3, 3, 0, 0, 0, 0), DateTime(2012, 9, 1, 23, 59, 59, 999)) -define NotProperlyIncludesDayOfIvlSameEdges: PrecisionDateIvl properly includes day of Interval[DateTime(2012, 3, 2, 0, 0, 0, 0), DateTime(2012, 9, 2, 0, 0, 0, 0)] -define MayProperlyIncludeDayOfIvlVeryImpreciseLow: PrecisionDateIvl properly includes day of Interval[DateTime(2012, 3), DateTime(2012, 6)] -define MayProperlyIncludeDayOfIvlVeryImpreciseHigh: PrecisionDateIvl properly includes day of Interval[DateTime(2012, 6), DateTime(2012, 9)] -define MayProperlyIncludeDayOfIvlVeryImpreciseLowAndHigh: PrecisionDateIvl properly includes day of Interval[DateTime(2012, 3), DateTime(2012, 9)] -define MayProperlyIncludeDayOfIvlVeryImpreciseSurrounding: PrecisionDateIvl properly includes day of Interval[DateTime(2012), DateTime(2012)] -*/ - -module.exports['ProperlyIncludes'] = { - "library" : { - "localId" : "0", - "annotation" : [ { - "translatorVersion" : "3.27.0", - "translatorOptions" : "EnableDateRangeOptimization,EnableAnnotations,EnableResultTypes", - "signatureLevel" : "All", - "type" : "CqlToElmInfo" - }, { - "type" : "Annotation", - "s" : { - "r" : "1086", - "s" : [ { - "value" : [ "","library TestSnippet version '1'" ] - } ] - } - } ], - "identifier" : { - "id" : "TestSnippet", - "version" : "1" - }, - "schemaIdentifier" : { - "id" : "urn:hl7-org:elm", - "version" : "r1" - }, - "usings" : { - "def" : [ { - "localId" : "1", - "localIdentifier" : "System", - "uri" : "urn:hl7-org:elm-types:r1" - }, { - "localId" : "206", - "localIdentifier" : "Simple", - "uri" : "https://github.com/cqframework/cql-execution/simple", - "version" : "1.0.0", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "206", - "s" : [ { - "value" : [ "","using " ] - }, { - "s" : [ { - "value" : [ "Simple" ] - } ] - }, { - "value" : [ " version '1.0.0'" ] - } ] - } - } ] - } ] - }, - "contexts" : { - "def" : [ { - "localId" : "211", - "name" : "Patient" - } ] - }, - "statements" : { - "def" : [ { - "localId" : "209", - "name" : "Patient", - "context" : "Patient", - "expression" : { - "localId" : "210", - "type" : "SingletonFrom", - "signature" : [ ], - "operand" : { - "localId" : "208", - "dataType" : "{https://github.com/cqframework/cql-execution/simple}Patient", - "type" : "Retrieve", - "include" : [ ], - "codeFilter" : [ ], - "dateFilter" : [ ], - "otherFilter" : [ ] - } - } - }, { - "localId" : "214", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "ProperlyIncludesIntIvl", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "214", - "s" : [ { - "value" : [ "","define ","ProperlyIncludesIntIvl",": " ] - }, { - "r" : "225", - "s" : [ { - "r" : "217", - "s" : [ { - "r" : "215", - "value" : [ "Interval[","1",", ","5","]" ] - } ] - }, { - "r" : "225", - "value" : [ " ","properly includes"," " ] - }, { - "r" : "222", - "s" : [ { - "r" : "220", - "value" : [ "Interval[","2",", ","4","]" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "225", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "ProperIncludes", - "signature" : [ { - "localId" : "226", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "227", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "228", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "229", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "217", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "218", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "219", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "215", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "high" : { - "localId" : "216", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal" - } - }, { - "localId" : "222", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "223", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "224", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "220", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal" - }, - "high" : { - "localId" : "221", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "4", - "type" : "Literal" - } - } ] - } - }, { - "localId" : "239", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "ProperlyIncludesIntBeginsIvl", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "239", - "s" : [ { - "value" : [ "","define ","ProperlyIncludesIntBeginsIvl",": " ] - }, { - "r" : "250", - "s" : [ { - "r" : "242", - "s" : [ { - "r" : "240", - "value" : [ "Interval[","1",", ","5","]" ] - } ] - }, { - "r" : "250", - "value" : [ " ","properly includes"," " ] - }, { - "r" : "247", - "s" : [ { - "r" : "245", - "value" : [ "Interval[","1",", ","4","]" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "250", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "ProperIncludes", - "signature" : [ { - "localId" : "251", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "252", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "253", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "254", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "242", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "243", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "244", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "240", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "high" : { - "localId" : "241", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal" - } - }, { - "localId" : "247", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "248", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "249", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "245", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "high" : { - "localId" : "246", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "4", - "type" : "Literal" - } - } ] - } - }, { - "localId" : "264", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "ProperlyIncludesIntEndsIvl", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "264", - "s" : [ { - "value" : [ "","define ","ProperlyIncludesIntEndsIvl",": " ] - }, { - "r" : "275", - "s" : [ { - "r" : "267", - "s" : [ { - "r" : "265", - "value" : [ "Interval[","1",", ","5","]" ] - } ] - }, { - "r" : "275", - "value" : [ " ","properly includes"," " ] - }, { - "r" : "272", - "s" : [ { - "r" : "270", - "value" : [ "Interval[","2",", ","5","]" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "275", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "ProperIncludes", - "signature" : [ { - "localId" : "276", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "277", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "278", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "279", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "267", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "268", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "269", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "265", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "high" : { - "localId" : "266", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal" - } - }, { - "localId" : "272", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "273", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "274", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "270", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal" - }, - "high" : { - "localId" : "271", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal" - } - } ] - } - }, { - "localId" : "289", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "NotProperlyIncludesIntIvl", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "289", - "s" : [ { - "value" : [ "","define ","NotProperlyIncludesIntIvl",": " ] - }, { - "r" : "300", - "s" : [ { - "r" : "292", - "s" : [ { - "r" : "290", - "value" : [ "Interval[","1",", ","5","]" ] - } ] - }, { - "r" : "300", - "value" : [ " ","properly includes"," " ] - }, { - "r" : "297", - "s" : [ { - "r" : "295", - "value" : [ "Interval[","1",", ","5","]" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "300", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "ProperIncludes", - "signature" : [ { - "localId" : "301", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "302", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "303", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "304", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "292", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "293", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "294", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "290", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "high" : { - "localId" : "291", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal" - } - }, { - "localId" : "297", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "298", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "299", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "295", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "high" : { - "localId" : "296", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal" - } - } ] - } - }, { - "localId" : "314", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "ProperlyIncludesRealIvl", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "314", - "s" : [ { - "value" : [ "","define ","ProperlyIncludesRealIvl",": " ] - }, { - "r" : "325", - "s" : [ { - "r" : "317", - "s" : [ { - "r" : "315", - "value" : [ "Interval[","1.234",", ","3.456","]" ] - } ] - }, { - "r" : "325", - "value" : [ " ","properly includes"," " ] - }, { - "r" : "322", - "s" : [ { - "r" : "320", - "value" : [ "Interval[","2.34",", ","2.56","]" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "325", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "ProperIncludes", - "signature" : [ { - "localId" : "326", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "327", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "328", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "329", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "317", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "318", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "319", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "315", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "1.234", - "type" : "Literal" - }, - "high" : { - "localId" : "316", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "3.456", - "type" : "Literal" - } - }, { - "localId" : "322", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "323", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "324", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "320", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "2.34", - "type" : "Literal" - }, - "high" : { - "localId" : "321", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "2.56", - "type" : "Literal" - } - } ] - } - }, { - "localId" : "339", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "NotProperlyIncludesRealIvl", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "339", - "s" : [ { - "value" : [ "","define ","NotProperlyIncludesRealIvl",": " ] - }, { - "r" : "350", - "s" : [ { - "r" : "342", - "s" : [ { - "r" : "340", - "value" : [ "Interval[","1.234",", ","3.456","]" ] - } ] - }, { - "r" : "350", - "value" : [ " ","properly includes"," " ] - }, { - "r" : "347", - "s" : [ { - "r" : "345", - "value" : [ "Interval[","1.234",", ","3.456","]" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "350", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "ProperIncludes", - "signature" : [ { - "localId" : "351", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "352", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "353", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "354", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "342", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "343", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "344", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "340", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "1.234", - "type" : "Literal" - }, - "high" : { - "localId" : "341", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "3.456", - "type" : "Literal" - } - }, { - "localId" : "347", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "348", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "349", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "345", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "1.234", - "type" : "Literal" - }, - "high" : { - "localId" : "346", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "3.456", - "type" : "Literal" - } - } ] - } - }, { - "localId" : "364", - "name" : "DateIvl", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "364", - "s" : [ { - "value" : [ "","define ","DateIvl",": " ] - }, { - "r" : "413", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "381", - "s" : [ { - "r" : "365", - "value" : [ "DateTime","(","2012",", ","3",", ","1",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "405", - "s" : [ { - "r" : "389", - "value" : [ "DateTime","(","2012",", ","9",", ","1",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ ")" ] - } ] - } ] - } - } ], - "resultTypeSpecifier" : { - "localId" : "416", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "417", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "expression" : { - "localId" : "413", - "lowClosed" : true, - "highClosed" : false, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "414", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "415", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "381", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "382", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "383", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "384", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "385", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "386", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "387", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "388", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "365", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "366", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "367", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "368", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "369", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "370", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "371", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - }, - "high" : { - "localId" : "405", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "406", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "407", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "408", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "409", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "410", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "411", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "412", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "389", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "390", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "9", - "type" : "Literal" - }, - "day" : { - "localId" : "391", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "392", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "393", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "394", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "395", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - } - } - }, { - "localId" : "420", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "ProperlyIncludesDateIvl", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "420", - "s" : [ { - "value" : [ "","define ","ProperlyIncludesDateIvl",": " ] - }, { - "r" : "475", - "s" : [ { - "r" : "421", - "s" : [ { - "value" : [ "DateIvl" ] - } ] - }, { - "r" : "475", - "value" : [ " ","properly includes"," " ] - }, { - "r" : "472", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "440", - "s" : [ { - "r" : "424", - "value" : [ "DateTime","(","2012",", ","4",", ","1",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "464", - "s" : [ { - "r" : "448", - "value" : [ "DateTime","(","2012",", ","6",", ","1",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ ")" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "475", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "ProperIncludes", - "signature" : [ { - "localId" : "476", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "477", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "478", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "479", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "421", - "name" : "DateIvl", - "type" : "ExpressionRef", - "resultTypeSpecifier" : { - "localId" : "422", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "423", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - }, { - "localId" : "472", - "lowClosed" : true, - "highClosed" : false, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "473", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "474", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "440", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "441", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "442", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "443", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "444", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "445", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "446", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "447", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "424", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "425", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "4", - "type" : "Literal" - }, - "day" : { - "localId" : "426", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "427", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "428", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "429", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "430", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - }, - "high" : { - "localId" : "464", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "465", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "466", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "467", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "468", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "469", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "470", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "471", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "448", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "449", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "6", - "type" : "Literal" - }, - "day" : { - "localId" : "450", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "451", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "452", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "453", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "454", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - } - } ] - } - }, { - "localId" : "489", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "NotProperlyIncludesDateIvl", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "489", - "s" : [ { - "value" : [ "","define ","NotProperlyIncludesDateIvl",": " ] - }, { - "r" : "544", - "s" : [ { - "r" : "490", - "s" : [ { - "value" : [ "DateIvl" ] - } ] - }, { - "r" : "544", - "value" : [ " ","properly includes"," " ] - }, { - "r" : "541", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "509", - "s" : [ { - "r" : "493", - "value" : [ "DateTime","(","2012",", ","3",", ","1",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "533", - "s" : [ { - "r" : "517", - "value" : [ "DateTime","(","2012",", ","9",", ","1",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ ")" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "544", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "ProperIncludes", - "signature" : [ { - "localId" : "545", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "546", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "547", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "548", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "490", - "name" : "DateIvl", - "type" : "ExpressionRef", - "resultTypeSpecifier" : { - "localId" : "491", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "492", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - }, { - "localId" : "541", - "lowClosed" : true, - "highClosed" : false, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "542", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "543", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "509", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "510", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "511", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "512", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "513", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "514", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "515", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "516", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "493", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "494", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "495", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "496", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "497", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "498", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "499", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - }, - "high" : { - "localId" : "533", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "534", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "535", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "536", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "537", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "538", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "539", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "540", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "517", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "518", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "9", - "type" : "Literal" - }, - "day" : { - "localId" : "519", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "520", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "521", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "522", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "523", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - } - } ] - } - }, { - "localId" : "558", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "PosInfEndProperlyIncludesIntIvl", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "558", - "s" : [ { - "value" : [ "","define ","PosInfEndProperlyIncludesIntIvl",": " ] - }, { - "r" : "570", - "s" : [ { - "r" : "561", - "s" : [ { - "r" : "559", - "value" : [ "Interval[","0",", ","null","]" ] - } ] - }, { - "r" : "570", - "value" : [ " ","properly includes"," " ] - }, { - "r" : "567", - "s" : [ { - "r" : "565", - "value" : [ "Interval[","1234",", ","5678","]" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "570", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "ProperIncludes", - "signature" : [ { - "localId" : "571", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "572", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "573", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "574", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "561", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "563", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "564", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "559", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "high" : { - "localId" : "562", - "asType" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "As", - "signature" : [ ], - "operand" : { - "localId" : "560", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - } - } - }, { - "localId" : "567", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "568", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "569", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "565", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1234", - "type" : "Literal" - }, - "high" : { - "localId" : "566", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5678", - "type" : "Literal" - } - } ] - } - }, { - "localId" : "584", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "PosInfEndNotProperlyIncludesIntIvl", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "584", - "s" : [ { - "value" : [ "","define ","PosInfEndNotProperlyIncludesIntIvl",": " ] - }, { - "r" : "597", - "s" : [ { - "r" : "587", - "s" : [ { - "r" : "585", - "value" : [ "Interval[","0",", ","null","]" ] - } ] - }, { - "r" : "597", - "value" : [ " ","properly includes"," " ] - }, { - "r" : "593", - "s" : [ { - "r" : "591", - "value" : [ "Interval[","0",", ","null","]" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "597", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "ProperIncludes", - "signature" : [ { - "localId" : "598", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "599", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "600", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "601", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "587", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "589", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "590", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "585", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "high" : { - "localId" : "588", - "asType" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "As", - "signature" : [ ], - "operand" : { - "localId" : "586", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - } - } - }, { - "localId" : "593", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "595", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "596", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "591", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "high" : { - "localId" : "594", - "asType" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "As", - "signature" : [ ], - "operand" : { - "localId" : "592", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - } - } - } ] - } - }, { - "localId" : "611", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "UnknownEndMayProperlyIncludeIntIvl", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "611", - "s" : [ { - "value" : [ "","define ","UnknownEndMayProperlyIncludeIntIvl",": " ] - }, { - "r" : "623", - "s" : [ { - "r" : "614", - "s" : [ { - "r" : "612", - "value" : [ "Interval[","0",", ","null",")" ] - } ] - }, { - "r" : "623", - "value" : [ " ","properly includes"," " ] - }, { - "r" : "620", - "s" : [ { - "r" : "618", - "value" : [ "Interval[","0",", ","0","]" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "623", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "ProperIncludes", - "signature" : [ { - "localId" : "624", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "625", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "626", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "627", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "614", - "lowClosed" : true, - "highClosed" : false, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "616", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "617", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "612", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "high" : { - "localId" : "615", - "asType" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "As", - "signature" : [ ], - "operand" : { - "localId" : "613", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - } - } - }, { - "localId" : "620", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "621", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "622", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "618", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "high" : { - "localId" : "619", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - } ] - } - }, { - "localId" : "637", - "name" : "PrecisionDateIvl", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "637", - "s" : [ { - "value" : [ "","define ","PrecisionDateIvl",": " ] - }, { - "r" : "686", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "654", - "s" : [ { - "r" : "638", - "value" : [ "DateTime","(","2012",", ","3",", ","2",", ","12",", ","34",", ","56",", ","789",")" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "678", - "s" : [ { - "r" : "662", - "value" : [ "DateTime","(","2012",", ","9",", ","2",", ","1",", ","23",", ","45",", ","678",")" ] - } ] - }, { - "value" : [ ")" ] - } ] - } ] - } - } ], - "resultTypeSpecifier" : { - "localId" : "689", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "690", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "expression" : { - "localId" : "686", - "lowClosed" : true, - "highClosed" : false, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "687", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "688", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "654", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "655", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "656", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "657", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "658", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "659", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "660", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "661", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "638", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "639", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "640", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal" - }, - "hour" : { - "localId" : "641", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "12", - "type" : "Literal" - }, - "minute" : { - "localId" : "642", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "34", - "type" : "Literal" - }, - "second" : { - "localId" : "643", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "56", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "644", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "789", - "type" : "Literal" - } - }, - "high" : { - "localId" : "678", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "679", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "680", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "681", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "682", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "683", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "684", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "685", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "662", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "663", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "9", - "type" : "Literal" - }, - "day" : { - "localId" : "664", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal" - }, - "hour" : { - "localId" : "665", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "minute" : { - "localId" : "666", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "23", - "type" : "Literal" - }, - "second" : { - "localId" : "667", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "45", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "668", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "678", - "type" : "Literal" - } - } - } - }, { - "localId" : "693", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "ProperlyIncludesDayOfIvlLowEdge", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "693", - "s" : [ { - "value" : [ "","define ","ProperlyIncludesDayOfIvlLowEdge",": " ] - }, { - "r" : "748", - "s" : [ { - "r" : "694", - "s" : [ { - "value" : [ "PrecisionDateIvl" ] - } ] - }, { - "r" : "748", - "value" : [ " ","properly includes day of"," " ] - }, { - "r" : "745", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "713", - "s" : [ { - "r" : "697", - "value" : [ "DateTime","(","2012",", ","3",", ","2",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "737", - "s" : [ { - "r" : "721", - "value" : [ "DateTime","(","2012",", ","6",", ","1",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ ")" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "748", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "precision" : "Day", - "type" : "ProperIncludes", - "signature" : [ { - "localId" : "749", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "750", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "751", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "752", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "694", - "name" : "PrecisionDateIvl", - "type" : "ExpressionRef", - "resultTypeSpecifier" : { - "localId" : "695", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "696", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - }, { - "localId" : "745", - "lowClosed" : true, - "highClosed" : false, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "746", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "747", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "713", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "714", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "715", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "716", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "717", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "718", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "719", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "720", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "697", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "698", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "699", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal" - }, - "hour" : { - "localId" : "700", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "701", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "702", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "703", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - }, - "high" : { - "localId" : "737", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "738", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "739", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "740", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "741", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "742", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "743", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "744", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "721", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "722", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "6", - "type" : "Literal" - }, - "day" : { - "localId" : "723", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "724", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "725", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "726", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "727", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - } - } ] - } - }, { - "localId" : "762", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "ProperlyIncludesDayOfIvlHighEdge", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "762", - "s" : [ { - "value" : [ "","define ","ProperlyIncludesDayOfIvlHighEdge",": " ] - }, { - "r" : "817", - "s" : [ { - "r" : "763", - "s" : [ { - "value" : [ "PrecisionDateIvl" ] - } ] - }, { - "r" : "817", - "value" : [ " ","properly includes day of"," " ] - }, { - "r" : "814", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "782", - "s" : [ { - "r" : "766", - "value" : [ "DateTime","(","2012",", ","6",", ","1",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "806", - "s" : [ { - "r" : "790", - "value" : [ "DateTime","(","2012",", ","9",", ","2",", ","23",", ","59",", ","59",", ","999",")" ] - } ] - }, { - "value" : [ ")" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "817", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "precision" : "Day", - "type" : "ProperIncludes", - "signature" : [ { - "localId" : "818", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "819", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "820", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "821", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "763", - "name" : "PrecisionDateIvl", - "type" : "ExpressionRef", - "resultTypeSpecifier" : { - "localId" : "764", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "765", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - }, { - "localId" : "814", - "lowClosed" : true, - "highClosed" : false, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "815", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "816", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "782", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "783", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "784", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "785", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "786", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "787", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "788", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "789", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "766", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "767", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "6", - "type" : "Literal" - }, - "day" : { - "localId" : "768", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "769", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "770", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "771", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "772", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - }, - "high" : { - "localId" : "806", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "807", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "808", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "809", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "810", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "811", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "812", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "813", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "790", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "791", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "9", - "type" : "Literal" - }, - "day" : { - "localId" : "792", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal" - }, - "hour" : { - "localId" : "793", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "23", - "type" : "Literal" - }, - "minute" : { - "localId" : "794", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal" - }, - "second" : { - "localId" : "795", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "796", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "999", - "type" : "Literal" - } - } - } ] - } - }, { - "localId" : "831", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "ProperlyIncludesDayOfIvlNearEdges", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "831", - "s" : [ { - "value" : [ "","define ","ProperlyIncludesDayOfIvlNearEdges",": " ] - }, { - "r" : "886", - "s" : [ { - "r" : "832", - "s" : [ { - "value" : [ "PrecisionDateIvl" ] - } ] - }, { - "r" : "886", - "value" : [ " ","properly includes day of"," " ] - }, { - "r" : "883", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "851", - "s" : [ { - "r" : "835", - "value" : [ "DateTime","(","2012",", ","3",", ","3",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "875", - "s" : [ { - "r" : "859", - "value" : [ "DateTime","(","2012",", ","9",", ","1",", ","23",", ","59",", ","59",", ","999",")" ] - } ] - }, { - "value" : [ ")" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "886", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "precision" : "Day", - "type" : "ProperIncludes", - "signature" : [ { - "localId" : "887", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "888", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "889", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "890", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "832", - "name" : "PrecisionDateIvl", - "type" : "ExpressionRef", - "resultTypeSpecifier" : { - "localId" : "833", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "834", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - }, { - "localId" : "883", - "lowClosed" : true, - "highClosed" : false, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "884", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "885", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "851", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "852", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "853", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "854", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "855", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "856", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "857", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "858", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "835", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "836", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "837", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "hour" : { - "localId" : "838", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "839", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "840", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "841", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - }, - "high" : { - "localId" : "875", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "876", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "877", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "878", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "879", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "880", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "881", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "882", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "859", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "860", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "9", - "type" : "Literal" - }, - "day" : { - "localId" : "861", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "862", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "23", - "type" : "Literal" - }, - "minute" : { - "localId" : "863", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal" - }, - "second" : { - "localId" : "864", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "865", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "999", - "type" : "Literal" - } - } - } ] - } - }, { - "localId" : "900", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "NotProperlyIncludesDayOfIvlSameEdges", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "900", - "s" : [ { - "value" : [ "","define ","NotProperlyIncludesDayOfIvlSameEdges",": " ] - }, { - "r" : "955", - "s" : [ { - "r" : "901", - "s" : [ { - "value" : [ "PrecisionDateIvl" ] - } ] - }, { - "r" : "955", - "value" : [ " ","properly includes day of"," " ] - }, { - "r" : "952", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "920", - "s" : [ { - "r" : "904", - "value" : [ "DateTime","(","2012",", ","3",", ","2",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "944", - "s" : [ { - "r" : "928", - "value" : [ "DateTime","(","2012",", ","9",", ","2",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ "]" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "955", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "precision" : "Day", - "type" : "ProperIncludes", - "signature" : [ { - "localId" : "956", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "957", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "958", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "959", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "901", - "name" : "PrecisionDateIvl", - "type" : "ExpressionRef", - "resultTypeSpecifier" : { - "localId" : "902", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "903", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - }, { - "localId" : "952", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "953", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "954", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "920", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "921", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "922", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "923", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "924", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "925", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "926", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "927", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "904", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "905", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "906", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal" - }, - "hour" : { - "localId" : "907", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "908", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "909", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "910", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - }, - "high" : { - "localId" : "944", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "945", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "946", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "947", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "948", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "949", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "950", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "951", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "928", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "929", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "9", - "type" : "Literal" - }, - "day" : { - "localId" : "930", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal" - }, - "hour" : { - "localId" : "931", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "932", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "933", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "934", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - } - } ] - } - }, { - "localId" : "969", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "MayProperlyIncludeDayOfIvlVeryImpreciseLow", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "969", - "s" : [ { - "value" : [ "","define ","MayProperlyIncludeDayOfIvlVeryImpreciseLow",": " ] - }, { - "r" : "994", - "s" : [ { - "r" : "970", - "s" : [ { - "value" : [ "PrecisionDateIvl" ] - } ] - }, { - "r" : "994", - "value" : [ " ","properly includes day of"," " ] - }, { - "r" : "991", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "979", - "s" : [ { - "r" : "973", - "value" : [ "DateTime","(","2012",", ","3",")" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "988", - "s" : [ { - "r" : "982", - "value" : [ "DateTime","(","2012",", ","6",")" ] - } ] - }, { - "value" : [ "]" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "994", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "precision" : "Day", - "type" : "ProperIncludes", - "signature" : [ { - "localId" : "995", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "996", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "997", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "998", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "970", - "name" : "PrecisionDateIvl", - "type" : "ExpressionRef", - "resultTypeSpecifier" : { - "localId" : "971", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "972", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - }, { - "localId" : "991", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "992", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "993", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "979", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "980", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "981", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "973", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "974", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - } - }, - "high" : { - "localId" : "988", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "989", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "990", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "982", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "983", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "6", - "type" : "Literal" - } - } - } ] - } - }, { - "localId" : "1008", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "MayProperlyIncludeDayOfIvlVeryImpreciseHigh", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "1008", - "s" : [ { - "value" : [ "","define ","MayProperlyIncludeDayOfIvlVeryImpreciseHigh",": " ] - }, { - "r" : "1033", - "s" : [ { - "r" : "1009", - "s" : [ { - "value" : [ "PrecisionDateIvl" ] - } ] - }, { - "r" : "1033", - "value" : [ " ","properly includes day of"," " ] - }, { - "r" : "1030", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "1018", - "s" : [ { - "r" : "1012", - "value" : [ "DateTime","(","2012",", ","6",")" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "1027", - "s" : [ { - "r" : "1021", - "value" : [ "DateTime","(","2012",", ","9",")" ] - } ] - }, { - "value" : [ "]" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "1033", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "precision" : "Day", - "type" : "ProperIncludes", - "signature" : [ { - "localId" : "1034", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1035", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "1036", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1037", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "1009", - "name" : "PrecisionDateIvl", - "type" : "ExpressionRef", - "resultTypeSpecifier" : { - "localId" : "1010", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1011", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - }, { - "localId" : "1030", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "1031", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1032", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "1018", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "1019", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1020", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1012", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "1013", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "6", - "type" : "Literal" - } - }, - "high" : { - "localId" : "1027", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "1028", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1029", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1021", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "1022", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "9", - "type" : "Literal" - } - } - } ] - } - }, { - "localId" : "1047", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "MayProperlyIncludeDayOfIvlVeryImpreciseLowAndHigh", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "1047", - "s" : [ { - "value" : [ "","define ","MayProperlyIncludeDayOfIvlVeryImpreciseLowAndHigh",": " ] - }, { - "r" : "1072", - "s" : [ { - "r" : "1048", - "s" : [ { - "value" : [ "PrecisionDateIvl" ] - } ] - }, { - "r" : "1072", - "value" : [ " ","properly includes day of"," " ] - }, { - "r" : "1069", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "1057", - "s" : [ { - "r" : "1051", - "value" : [ "DateTime","(","2012",", ","3",")" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "1066", - "s" : [ { - "r" : "1060", - "value" : [ "DateTime","(","2012",", ","9",")" ] - } ] - }, { - "value" : [ "]" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "1072", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "precision" : "Day", - "type" : "ProperIncludes", - "signature" : [ { - "localId" : "1073", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1074", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "1075", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1076", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "1048", - "name" : "PrecisionDateIvl", - "type" : "ExpressionRef", - "resultTypeSpecifier" : { - "localId" : "1049", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1050", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - }, { - "localId" : "1069", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "1070", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1071", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "1057", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "1058", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1059", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1051", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "1052", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - } - }, - "high" : { - "localId" : "1066", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "1067", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1068", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1060", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "1061", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "9", - "type" : "Literal" - } - } - } ] - } - }, { - "localId" : "1086", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "MayProperlyIncludeDayOfIvlVeryImpreciseSurrounding", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "1086", - "s" : [ { - "value" : [ "","define ","MayProperlyIncludeDayOfIvlVeryImpreciseSurrounding",": " ] - }, { - "r" : "1105", - "s" : [ { - "r" : "1087", - "s" : [ { - "value" : [ "PrecisionDateIvl" ] - } ] - }, { - "r" : "1105", - "value" : [ " ","properly includes day of"," " ] - }, { - "r" : "1102", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "1094", - "s" : [ { - "r" : "1090", - "value" : [ "DateTime","(","2012",")" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "1100", - "s" : [ { - "r" : "1096", - "value" : [ "DateTime","(","2012",")" ] - } ] - }, { - "value" : [ "]" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "1105", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "precision" : "Day", - "type" : "ProperIncludes", - "signature" : [ { - "localId" : "1106", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1107", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "1108", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1109", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "1087", - "name" : "PrecisionDateIvl", - "type" : "ExpressionRef", - "resultTypeSpecifier" : { - "localId" : "1088", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1089", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - }, { - "localId" : "1102", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "1103", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1104", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "1094", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "1095", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1090", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - } - }, - "high" : { - "localId" : "1100", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "1101", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1096", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - } - } - } ] - } - } ] - } - } -} - -/* IncludedIn -library TestSnippet version '1' -using Simple version '1.0.0' -context Patient -define IncludesIntIvl: Interval[1, 4] included in Interval[1, 5] -define NotIncludesIntIvl: Interval[1, 4] included in Interval(1, 5] -define IncludesRealIvl: Interval[2.34, 2.56] included in Interval[1.234, 3.456] -define NotIncludesRealIvl: Interval[1.23, 2.56] included in Interval[1.234, 3.456] -define DateIvl: Interval[DateTime(2012, 3, 1, 0, 0, 0, 0), DateTime(2012, 9, 1, 0, 0, 0, 0)) -define IncludesDateIvl: Interval[DateTime(2012, 4, 1, 0, 0, 0, 0), DateTime(2012, 6, 1, 0, 0, 0, 0)) included in DateIvl -define NotIncludesDateIvl: Interval[DateTime(2012, 6, 1, 0, 0, 0, 0), DateTime(2012, 9, 1, 0, 0, 0, 0)] included in DateIvl -define IncludesImpreciseDateIvl: Interval[DateTime(2012, 4), DateTime(2012, 6)] included in DateIvl -define NotIncludesImpreciseDateIvl: Interval[DateTime(2012, 4), DateTime(2012, 9)] included in DateIvl -define MayIncludeImpreciseDateIvl: Interval[DateTime(2012), DateTime(2012)] included in DateIvl -define PrecisionDateIvl: Interval[DateTime(2012, 3, 2, 12, 34, 56, 789), DateTime(2012, 9, 2, 1, 23, 45, 678)) -define IncludesDayOfIvlLowEdge: Interval[DateTime(2012, 3, 2, 0, 0, 0, 0), DateTime(2012, 6, 1, 0, 0, 0, 0)) included in day of PrecisionDateIvl -define IncludesDayOfIvlHighEdge: Interval[DateTime(2012, 6, 1, 0, 0, 0, 0), DateTime(2012, 9, 2, 23, 59, 59, 999)) included in day of PrecisionDateIvl -define NotIncludesDayOfIvlLowEdge: Interval[DateTime(2012, 3, 1, 0, 0, 0, 0), DateTime(2012, 6, 1, 0, 0, 0, 0)] included in day of PrecisionDateIvl -define NotIncludesDayOfIvlHighEdge: Interval[DateTime(2012, 6, 1, 0, 0, 0, 0), DateTime(2012, 9, 3, 0, 0, 0, 0)] included in day of PrecisionDateIvl -define IncludesDayOfIvlImpreciseLowEdge: Interval[DateTime(2012, 3, 2), DateTime(2012, 6, 1)] included in day of PrecisionDateIvl -define IncludesDayInInterval: DateTime(2012, 3, 3) included in day of PrecisionDateIvl -define DoesNotIncludeDayInInterval: DateTime(2014, 3, 3) included in day of PrecisionDateIvl -define QuantityIncludedInterval: 5 'mg' included in Interval[4 'mg', 6 'mg'] -define QuantityNotIncludedInterval: 50 'mg' included in Interval[4 'mg', 6 'mg'] -define IncludesDayOfIvlImpreciseHighEdge: Interval[DateTime(2012, 6, 1), DateTime(2012, 9, 2)] included in day of PrecisionDateIvl -define IncludesDayOfIvlVeryImpreciseMiddle: Interval[DateTime(2012, 5), DateTime(2012, 6)] included in day of PrecisionDateIvl -define NotIncludesDayOfIvlVeryImpreciseLow: Interval[DateTime(2012, 2), DateTime(2012, 6)] included in day of PrecisionDateIvl -define NotIncludesDayOfIvlVeryImpreciseHigh: Interval[DateTime(2012, 6), DateTime(2012, 10)] included in day of PrecisionDateIvl -define MayIncludeDayOfIvlVeryImpreciseLow: Interval[DateTime(2012, 3), DateTime(2012, 6)] included in day of PrecisionDateIvl -define MayIncludeDayOfIvlVeryImpreciseHigh: Interval[DateTime(2012, 6), DateTime(2012, 9)] included in day of PrecisionDateIvl -define MayIncludeDayOfIvlVeryImpreciseSurrounding: Interval[DateTime(2012), DateTime(2012)] included in day of PrecisionDateIvl -define ImpDateIvl: Interval[DateTime(2012, 3), DateTime(2012, 8)] -define ImpreciseIncludesDateIvl: Interval[DateTime(2012, 4, 1, 0, 0, 0, 0), DateTime(2012, 6, 1, 0, 0, 0, 0)) included in ImpDateIvl -define ImpreciseNotIncludesDateIvl: Interval[DateTime(2012, 2, 1, 0, 0, 0, 0), DateTime(2012, 6, 1, 0, 0, 0, 0)) included in ImpDateIvl -define ImpreciseMayIncludeDateIvl: Interval[DateTime(2012, 3, 15, 0, 0, 0, 0), DateTime(2012, 6, 1, 0, 0, 0, 0)) included in ImpDateIvl -define NegInfBegIncludedInIntIvl: Interval[null, 5] included in Interval[null, 100] -define NegInfBegNotIncludedInIntIvl: Interval[null, 5] included in Interval[-100, 100] -define UnknownBegIncludedInIntIvl: Interval(null, 5] included in Interval[null, 100] -define UnknownBegMayBeIncludedInIntIvl: Interval(null, 5] included in Interval[-100, 100] -define UnknownBegNotIncludedInIntIvl: Interval(null, 5] included in Interval[-100, 0] -define PosInfEndIncludedInIntIvl: Interval[0, null] included in Interval[-100, null] -define PosInfEndNotIncludedInIntIvl: Interval[0, null] included in Interval[-100, 100] -define UnknownEndIncludedInIntIvl: Interval[0, null) included in Interval[-100, null] -define UnknownEndMayBeIncludedInIntIvl: Interval[0, null) included in Interval[-100, 100] -define UnknownEndNotIncludedInIntIvl: Interval[0, null) included in Interval[100, 200] -define NegInfBegIncludedInDateIvl: Interval[null, DateTime(2013, 1, 1, 0, 0, 0, 0)) included in Interval[null, DateTime(2020, 1, 1, 0, 0, 0, 0)] -define NegInfBegNotIncludedInDateIvl: Interval[null, DateTime(2013, 1, 1, 0, 0, 0, 0)) included in Interval[DateTime(2000, 1, 1, 0, 0, 0, 0), DateTime(2020, 1, 1, 0, 0, 0, 0)] -define UnknownBegIncludedInDateIvl: Interval(null, DateTime(2013, 1, 1, 0, 0, 0, 0)) included in Interval[null, DateTime(2020, 1, 1, 0, 0, 0, 0)] -define UnknownBegMayBeIncludedInDateIvl: Interval(null, DateTime(2013, 1, 1, 0, 0, 0, 0)) included in Interval[DateTime(2000, 1, 1, 0, 0, 0, 0), DateTime(2020, 1, 1, 0, 0, 0, 0)] -define UnknownBegNotIncludedInDateIvl: Interval(null, DateTime(2013, 1, 1, 0, 0, 0, 0)) included in Interval[DateTime(1, 1, 1, 0, 0, 0, 0), DateTime(2000, 1, 1, 0, 0, 0, 0)] -define PosInfEndIncludedInDateIvl: Interval[DateTime(2013, 1, 1, 0, 0, 0, 0), null] included in Interval[DateTime(2000, 1, 1, 0, 0, 0, 0), null] -define PosInfEndNotIncludedInDateIvl: Interval[DateTime(2013, 1, 1, 0, 0, 0, 0), null] included in Interval[DateTime(2000, 1, 1, 0, 0, 0, 0), DateTime(2020, 1, 1, 0, 0, 0, 0)] -define UnknownEndIncludedInDateIvl: Interval[DateTime(2013, 1, 1, 0, 0, 0, 0), null) included in Interval[DateTime(2000, 1, 1, 0, 0, 0, 0), null] -define UnknownEndMayBeIncludedInDateIvl: Interval[DateTime(2013, 1, 1, 0, 0, 0, 0), null) included in Interval[DateTime(2000, 1, 1, 0, 0, 0, 0), DateTime(2020, 1, 1, 0, 0, 0, 0)] -define UnknownEndNotIncludedInDateIvl: Interval[DateTime(2013, 1, 1, 0, 0, 0, 0), null) included in Interval[DateTime(2020, 1, 1, 0, 0, 0, 0), DateTime(2040, 1, 1, 0, 0, 0, 0)] -*/ - -module.exports['IncludedIn'] = { - "library" : { - "localId" : "0", - "annotation" : [ { - "translatorVersion" : "3.27.0", - "translatorOptions" : "EnableDateRangeOptimization,EnableAnnotations,EnableResultTypes", - "signatureLevel" : "All", - "type" : "CqlToElmInfo" - }, { - "type" : "Annotation", - "s" : { - "r" : "2621", - "s" : [ { - "value" : [ "","library TestSnippet version '1'" ] - } ] - } - } ], - "identifier" : { - "id" : "TestSnippet", - "version" : "1" - }, - "schemaIdentifier" : { - "id" : "urn:hl7-org:elm", - "version" : "r1" - }, - "usings" : { - "def" : [ { - "localId" : "1", - "localIdentifier" : "System", - "uri" : "urn:hl7-org:elm-types:r1" - }, { - "localId" : "206", - "localIdentifier" : "Simple", - "uri" : "https://github.com/cqframework/cql-execution/simple", - "version" : "1.0.0", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "206", - "s" : [ { - "value" : [ "","using " ] - }, { - "s" : [ { - "value" : [ "Simple" ] - } ] - }, { - "value" : [ " version '1.0.0'" ] - } ] - } - } ] - } ] - }, - "contexts" : { - "def" : [ { - "localId" : "211", - "name" : "Patient" - } ] - }, - "statements" : { - "def" : [ { - "localId" : "209", - "name" : "Patient", - "context" : "Patient", - "expression" : { - "localId" : "210", - "type" : "SingletonFrom", - "signature" : [ ], - "operand" : { - "localId" : "208", - "dataType" : "{https://github.com/cqframework/cql-execution/simple}Patient", - "type" : "Retrieve", - "include" : [ ], - "codeFilter" : [ ], - "dateFilter" : [ ], - "otherFilter" : [ ] - } - } - }, { - "localId" : "214", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "IncludesIntIvl", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "214", - "s" : [ { - "value" : [ "","define ","IncludesIntIvl",": " ] - }, { - "r" : "225", - "s" : [ { - "r" : "217", - "s" : [ { - "r" : "215", - "value" : [ "Interval[","1",", ","4","]" ] - } ] - }, { - "r" : "225", - "value" : [ " ","included in"," " ] - }, { - "r" : "222", - "s" : [ { - "r" : "220", - "value" : [ "Interval[","1",", ","5","]" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "225", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "IncludedIn", - "signature" : [ { - "localId" : "226", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "227", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "228", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "229", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "217", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "218", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "219", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "215", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "high" : { - "localId" : "216", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "4", - "type" : "Literal" - } - }, { - "localId" : "222", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "223", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "224", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "220", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "high" : { - "localId" : "221", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal" - } - } ] - } - }, { - "localId" : "239", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "NotIncludesIntIvl", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "239", - "s" : [ { - "value" : [ "","define ","NotIncludesIntIvl",": " ] - }, { - "r" : "250", - "s" : [ { - "r" : "242", - "s" : [ { - "r" : "240", - "value" : [ "Interval[","1",", ","4","]" ] - } ] - }, { - "r" : "250", - "value" : [ " ","included in"," " ] - }, { - "r" : "247", - "s" : [ { - "r" : "245", - "value" : [ "Interval(","1",", ","5","]" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "250", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "IncludedIn", - "signature" : [ { - "localId" : "251", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "252", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "253", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "254", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "242", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "243", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "244", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "240", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "high" : { - "localId" : "241", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "4", - "type" : "Literal" - } - }, { - "localId" : "247", - "lowClosed" : false, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "248", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "249", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "245", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "high" : { - "localId" : "246", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal" - } - } ] - } - }, { - "localId" : "264", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "IncludesRealIvl", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "264", - "s" : [ { - "value" : [ "","define ","IncludesRealIvl",": " ] - }, { - "r" : "275", - "s" : [ { - "r" : "267", - "s" : [ { - "r" : "265", - "value" : [ "Interval[","2.34",", ","2.56","]" ] - } ] - }, { - "r" : "275", - "value" : [ " ","included in"," " ] - }, { - "r" : "272", - "s" : [ { - "r" : "270", - "value" : [ "Interval[","1.234",", ","3.456","]" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "275", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "IncludedIn", - "signature" : [ { - "localId" : "276", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "277", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "278", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "279", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "267", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "268", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "269", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "265", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "2.34", - "type" : "Literal" - }, - "high" : { - "localId" : "266", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "2.56", - "type" : "Literal" - } - }, { - "localId" : "272", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "273", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "274", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "270", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "1.234", - "type" : "Literal" - }, - "high" : { - "localId" : "271", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "3.456", - "type" : "Literal" - } - } ] - } - }, { - "localId" : "289", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "NotIncludesRealIvl", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "289", - "s" : [ { - "value" : [ "","define ","NotIncludesRealIvl",": " ] - }, { - "r" : "300", - "s" : [ { - "r" : "292", - "s" : [ { - "r" : "290", - "value" : [ "Interval[","1.23",", ","2.56","]" ] - } ] - }, { - "r" : "300", - "value" : [ " ","included in"," " ] - }, { - "r" : "297", - "s" : [ { - "r" : "295", - "value" : [ "Interval[","1.234",", ","3.456","]" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "300", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "IncludedIn", - "signature" : [ { - "localId" : "301", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "302", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "303", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "304", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "292", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "293", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "294", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "290", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "1.23", - "type" : "Literal" - }, - "high" : { - "localId" : "291", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "2.56", - "type" : "Literal" - } - }, { - "localId" : "297", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "298", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "299", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "295", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "1.234", - "type" : "Literal" - }, - "high" : { - "localId" : "296", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "3.456", - "type" : "Literal" - } - } ] - } - }, { - "localId" : "314", - "name" : "DateIvl", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "314", - "s" : [ { - "value" : [ "","define ","DateIvl",": " ] - }, { - "r" : "363", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "331", - "s" : [ { - "r" : "315", - "value" : [ "DateTime","(","2012",", ","3",", ","1",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "355", - "s" : [ { - "r" : "339", - "value" : [ "DateTime","(","2012",", ","9",", ","1",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ ")" ] - } ] - } ] - } - } ], - "resultTypeSpecifier" : { - "localId" : "366", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "367", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "expression" : { - "localId" : "363", - "lowClosed" : true, - "highClosed" : false, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "364", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "365", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "331", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "332", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "333", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "334", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "335", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "336", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "337", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "338", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "315", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "316", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "317", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "318", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "319", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "320", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "321", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - }, - "high" : { - "localId" : "355", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "356", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "357", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "358", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "359", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "360", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "361", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "362", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "339", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "340", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "9", - "type" : "Literal" - }, - "day" : { - "localId" : "341", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "342", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "343", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "344", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "345", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - } - } - }, { - "localId" : "370", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "IncludesDateIvl", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "370", - "s" : [ { - "value" : [ "","define ","IncludesDateIvl",": " ] - }, { - "r" : "425", - "s" : [ { - "r" : "419", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "387", - "s" : [ { - "r" : "371", - "value" : [ "DateTime","(","2012",", ","4",", ","1",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "411", - "s" : [ { - "r" : "395", - "value" : [ "DateTime","(","2012",", ","6",", ","1",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ ")" ] - } ] - }, { - "r" : "425", - "value" : [ " ","included in"," " ] - }, { - "r" : "422", - "s" : [ { - "value" : [ "DateIvl" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "425", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "IncludedIn", - "signature" : [ { - "localId" : "426", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "427", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "428", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "429", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "419", - "lowClosed" : true, - "highClosed" : false, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "420", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "421", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "387", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "388", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "389", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "390", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "391", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "392", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "393", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "394", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "371", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "372", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "4", - "type" : "Literal" - }, - "day" : { - "localId" : "373", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "374", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "375", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "376", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "377", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - }, - "high" : { - "localId" : "411", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "412", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "413", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "414", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "415", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "416", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "417", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "418", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "395", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "396", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "6", - "type" : "Literal" - }, - "day" : { - "localId" : "397", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "398", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "399", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "400", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "401", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - } - }, { - "localId" : "422", - "name" : "DateIvl", - "type" : "ExpressionRef", - "resultTypeSpecifier" : { - "localId" : "423", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "424", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - } ] - } - }, { - "localId" : "439", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "NotIncludesDateIvl", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "439", - "s" : [ { - "value" : [ "","define ","NotIncludesDateIvl",": " ] - }, { - "r" : "494", - "s" : [ { - "r" : "488", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "456", - "s" : [ { - "r" : "440", - "value" : [ "DateTime","(","2012",", ","6",", ","1",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "480", - "s" : [ { - "r" : "464", - "value" : [ "DateTime","(","2012",", ","9",", ","1",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ "]" ] - } ] - }, { - "r" : "494", - "value" : [ " ","included in"," " ] - }, { - "r" : "491", - "s" : [ { - "value" : [ "DateIvl" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "494", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "IncludedIn", - "signature" : [ { - "localId" : "495", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "496", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "497", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "498", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "488", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "489", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "490", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "456", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "457", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "458", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "459", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "460", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "461", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "462", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "463", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "440", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "441", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "6", - "type" : "Literal" - }, - "day" : { - "localId" : "442", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "443", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "444", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "445", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "446", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - }, - "high" : { - "localId" : "480", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "481", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "482", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "483", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "484", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "485", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "486", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "487", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "464", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "465", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "9", - "type" : "Literal" - }, - "day" : { - "localId" : "466", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "467", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "468", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "469", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "470", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - } - }, { - "localId" : "491", - "name" : "DateIvl", - "type" : "ExpressionRef", - "resultTypeSpecifier" : { - "localId" : "492", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "493", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - } ] - } - }, { - "localId" : "508", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "IncludesImpreciseDateIvl", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "508", - "s" : [ { - "value" : [ "","define ","IncludesImpreciseDateIvl",": " ] - }, { - "r" : "533", - "s" : [ { - "r" : "527", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "515", - "s" : [ { - "r" : "509", - "value" : [ "DateTime","(","2012",", ","4",")" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "524", - "s" : [ { - "r" : "518", - "value" : [ "DateTime","(","2012",", ","6",")" ] - } ] - }, { - "value" : [ "]" ] - } ] - }, { - "r" : "533", - "value" : [ " ","included in"," " ] - }, { - "r" : "530", - "s" : [ { - "value" : [ "DateIvl" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "533", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "IncludedIn", - "signature" : [ { - "localId" : "534", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "535", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "536", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "537", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "527", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "528", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "529", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "515", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "516", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "517", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "509", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "510", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "4", - "type" : "Literal" - } - }, - "high" : { - "localId" : "524", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "525", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "526", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "518", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "519", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "6", - "type" : "Literal" - } - } - }, { - "localId" : "530", - "name" : "DateIvl", - "type" : "ExpressionRef", - "resultTypeSpecifier" : { - "localId" : "531", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "532", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - } ] - } - }, { - "localId" : "547", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "NotIncludesImpreciseDateIvl", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "547", - "s" : [ { - "value" : [ "","define ","NotIncludesImpreciseDateIvl",": " ] - }, { - "r" : "572", - "s" : [ { - "r" : "566", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "554", - "s" : [ { - "r" : "548", - "value" : [ "DateTime","(","2012",", ","4",")" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "563", - "s" : [ { - "r" : "557", - "value" : [ "DateTime","(","2012",", ","9",")" ] - } ] - }, { - "value" : [ "]" ] - } ] - }, { - "r" : "572", - "value" : [ " ","included in"," " ] - }, { - "r" : "569", - "s" : [ { - "value" : [ "DateIvl" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "572", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "IncludedIn", - "signature" : [ { - "localId" : "573", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "574", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "575", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "576", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "566", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "567", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "568", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "554", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "555", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "556", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "548", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "549", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "4", - "type" : "Literal" - } - }, - "high" : { - "localId" : "563", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "564", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "565", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "557", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "558", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "9", - "type" : "Literal" - } - } - }, { - "localId" : "569", - "name" : "DateIvl", - "type" : "ExpressionRef", - "resultTypeSpecifier" : { - "localId" : "570", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "571", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - } ] - } - }, { - "localId" : "586", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "MayIncludeImpreciseDateIvl", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "586", - "s" : [ { - "value" : [ "","define ","MayIncludeImpreciseDateIvl",": " ] - }, { - "r" : "605", - "s" : [ { - "r" : "599", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "591", - "s" : [ { - "r" : "587", - "value" : [ "DateTime","(","2012",")" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "597", - "s" : [ { - "r" : "593", - "value" : [ "DateTime","(","2012",")" ] - } ] - }, { - "value" : [ "]" ] - } ] - }, { - "r" : "605", - "value" : [ " ","included in"," " ] - }, { - "r" : "602", - "s" : [ { - "value" : [ "DateIvl" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "605", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "IncludedIn", - "signature" : [ { - "localId" : "606", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "607", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "608", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "609", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "599", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "600", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "601", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "591", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "592", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "587", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - } - }, - "high" : { - "localId" : "597", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "598", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "593", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - } - } - }, { - "localId" : "602", - "name" : "DateIvl", - "type" : "ExpressionRef", - "resultTypeSpecifier" : { - "localId" : "603", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "604", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - } ] - } - }, { - "localId" : "619", - "name" : "PrecisionDateIvl", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "619", - "s" : [ { - "value" : [ "","define ","PrecisionDateIvl",": " ] - }, { - "r" : "668", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "636", - "s" : [ { - "r" : "620", - "value" : [ "DateTime","(","2012",", ","3",", ","2",", ","12",", ","34",", ","56",", ","789",")" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "660", - "s" : [ { - "r" : "644", - "value" : [ "DateTime","(","2012",", ","9",", ","2",", ","1",", ","23",", ","45",", ","678",")" ] - } ] - }, { - "value" : [ ")" ] - } ] - } ] - } - } ], - "resultTypeSpecifier" : { - "localId" : "671", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "672", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "expression" : { - "localId" : "668", - "lowClosed" : true, - "highClosed" : false, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "669", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "670", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "636", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "637", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "638", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "639", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "640", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "641", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "642", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "643", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "620", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "621", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "622", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal" - }, - "hour" : { - "localId" : "623", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "12", - "type" : "Literal" - }, - "minute" : { - "localId" : "624", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "34", - "type" : "Literal" - }, - "second" : { - "localId" : "625", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "56", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "626", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "789", - "type" : "Literal" - } - }, - "high" : { - "localId" : "660", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "661", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "662", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "663", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "664", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "665", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "666", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "667", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "644", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "645", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "9", - "type" : "Literal" - }, - "day" : { - "localId" : "646", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal" - }, - "hour" : { - "localId" : "647", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "minute" : { - "localId" : "648", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "23", - "type" : "Literal" - }, - "second" : { - "localId" : "649", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "45", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "650", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "678", - "type" : "Literal" - } - } - } - }, { - "localId" : "675", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "IncludesDayOfIvlLowEdge", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "675", - "s" : [ { - "value" : [ "","define ","IncludesDayOfIvlLowEdge",": " ] - }, { - "r" : "730", - "s" : [ { - "r" : "724", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "692", - "s" : [ { - "r" : "676", - "value" : [ "DateTime","(","2012",", ","3",", ","2",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "716", - "s" : [ { - "r" : "700", - "value" : [ "DateTime","(","2012",", ","6",", ","1",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ ")" ] - } ] - }, { - "r" : "730", - "value" : [ " ","included in day of"," " ] - }, { - "r" : "727", - "s" : [ { - "value" : [ "PrecisionDateIvl" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "730", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "precision" : "Day", - "type" : "IncludedIn", - "signature" : [ { - "localId" : "731", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "732", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "733", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "734", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "724", - "lowClosed" : true, - "highClosed" : false, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "725", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "726", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "692", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "693", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "694", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "695", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "696", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "697", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "698", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "699", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "676", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "677", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "678", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal" - }, - "hour" : { - "localId" : "679", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "680", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "681", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "682", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - }, - "high" : { - "localId" : "716", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "717", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "718", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "719", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "720", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "721", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "722", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "723", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "700", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "701", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "6", - "type" : "Literal" - }, - "day" : { - "localId" : "702", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "703", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "704", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "705", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "706", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - } - }, { - "localId" : "727", - "name" : "PrecisionDateIvl", - "type" : "ExpressionRef", - "resultTypeSpecifier" : { - "localId" : "728", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "729", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - } ] - } - }, { - "localId" : "744", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "IncludesDayOfIvlHighEdge", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "744", - "s" : [ { - "value" : [ "","define ","IncludesDayOfIvlHighEdge",": " ] - }, { - "r" : "799", - "s" : [ { - "r" : "793", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "761", - "s" : [ { - "r" : "745", - "value" : [ "DateTime","(","2012",", ","6",", ","1",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "785", - "s" : [ { - "r" : "769", - "value" : [ "DateTime","(","2012",", ","9",", ","2",", ","23",", ","59",", ","59",", ","999",")" ] - } ] - }, { - "value" : [ ")" ] - } ] - }, { - "r" : "799", - "value" : [ " ","included in day of"," " ] - }, { - "r" : "796", - "s" : [ { - "value" : [ "PrecisionDateIvl" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "799", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "precision" : "Day", - "type" : "IncludedIn", - "signature" : [ { - "localId" : "800", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "801", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "802", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "803", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "793", - "lowClosed" : true, - "highClosed" : false, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "794", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "795", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "761", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "762", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "763", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "764", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "765", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "766", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "767", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "768", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "745", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "746", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "6", - "type" : "Literal" - }, - "day" : { - "localId" : "747", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "748", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "749", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "750", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "751", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - }, - "high" : { - "localId" : "785", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "786", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "787", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "788", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "789", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "790", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "791", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "792", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "769", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "770", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "9", - "type" : "Literal" - }, - "day" : { - "localId" : "771", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal" - }, - "hour" : { - "localId" : "772", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "23", - "type" : "Literal" - }, - "minute" : { - "localId" : "773", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal" - }, - "second" : { - "localId" : "774", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "775", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "999", - "type" : "Literal" - } - } - }, { - "localId" : "796", - "name" : "PrecisionDateIvl", - "type" : "ExpressionRef", - "resultTypeSpecifier" : { - "localId" : "797", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "798", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - } ] - } - }, { - "localId" : "813", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "NotIncludesDayOfIvlLowEdge", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "813", - "s" : [ { - "value" : [ "","define ","NotIncludesDayOfIvlLowEdge",": " ] - }, { - "r" : "868", - "s" : [ { - "r" : "862", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "830", - "s" : [ { - "r" : "814", - "value" : [ "DateTime","(","2012",", ","3",", ","1",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "854", - "s" : [ { - "r" : "838", - "value" : [ "DateTime","(","2012",", ","6",", ","1",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ "]" ] - } ] - }, { - "r" : "868", - "value" : [ " ","included in day of"," " ] - }, { - "r" : "865", - "s" : [ { - "value" : [ "PrecisionDateIvl" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "868", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "precision" : "Day", - "type" : "IncludedIn", - "signature" : [ { - "localId" : "869", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "870", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "871", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "872", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "862", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "863", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "864", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "830", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "831", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "832", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "833", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "834", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "835", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "836", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "837", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "814", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "815", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "816", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "817", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "818", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "819", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "820", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - }, - "high" : { - "localId" : "854", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "855", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "856", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "857", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "858", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "859", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "860", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "861", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "838", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "839", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "6", - "type" : "Literal" - }, - "day" : { - "localId" : "840", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "841", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "842", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "843", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "844", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - } - }, { - "localId" : "865", - "name" : "PrecisionDateIvl", - "type" : "ExpressionRef", - "resultTypeSpecifier" : { - "localId" : "866", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "867", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - } ] - } - }, { - "localId" : "882", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "NotIncludesDayOfIvlHighEdge", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "882", - "s" : [ { - "value" : [ "","define ","NotIncludesDayOfIvlHighEdge",": " ] - }, { - "r" : "937", - "s" : [ { - "r" : "931", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "899", - "s" : [ { - "r" : "883", - "value" : [ "DateTime","(","2012",", ","6",", ","1",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "923", - "s" : [ { - "r" : "907", - "value" : [ "DateTime","(","2012",", ","9",", ","3",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ "]" ] - } ] - }, { - "r" : "937", - "value" : [ " ","included in day of"," " ] - }, { - "r" : "934", - "s" : [ { - "value" : [ "PrecisionDateIvl" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "937", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "precision" : "Day", - "type" : "IncludedIn", - "signature" : [ { - "localId" : "938", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "939", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "940", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "941", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "931", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "932", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "933", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "899", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "900", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "901", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "902", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "903", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "904", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "905", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "906", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "883", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "884", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "6", - "type" : "Literal" - }, - "day" : { - "localId" : "885", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "886", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "887", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "888", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "889", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - }, - "high" : { - "localId" : "923", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "924", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "925", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "926", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "927", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "928", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "929", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "930", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "907", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "908", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "9", - "type" : "Literal" - }, - "day" : { - "localId" : "909", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "hour" : { - "localId" : "910", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "911", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "912", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "913", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - } - }, { - "localId" : "934", - "name" : "PrecisionDateIvl", - "type" : "ExpressionRef", - "resultTypeSpecifier" : { - "localId" : "935", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "936", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - } ] - } - }, { - "localId" : "951", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "IncludesDayOfIvlImpreciseLowEdge", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "951", - "s" : [ { - "value" : [ "","define ","IncludesDayOfIvlImpreciseLowEdge",": " ] - }, { - "r" : "982", - "s" : [ { - "r" : "976", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "960", - "s" : [ { - "r" : "952", - "value" : [ "DateTime","(","2012",", ","3",", ","2",")" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "972", - "s" : [ { - "r" : "964", - "value" : [ "DateTime","(","2012",", ","6",", ","1",")" ] - } ] - }, { - "value" : [ "]" ] - } ] - }, { - "r" : "982", - "value" : [ " ","included in day of"," " ] - }, { - "r" : "979", - "s" : [ { - "value" : [ "PrecisionDateIvl" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "982", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "precision" : "Day", - "type" : "IncludedIn", - "signature" : [ { - "localId" : "983", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "984", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "985", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "986", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "976", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "977", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "978", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "960", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "961", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "962", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "963", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "952", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "953", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "954", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal" - } - }, - "high" : { - "localId" : "972", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "973", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "974", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "975", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "964", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "965", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "6", - "type" : "Literal" - }, - "day" : { - "localId" : "966", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - } - } - }, { - "localId" : "979", - "name" : "PrecisionDateIvl", - "type" : "ExpressionRef", - "resultTypeSpecifier" : { - "localId" : "980", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "981", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - } ] - } - }, { - "localId" : "996", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "IncludesDayInInterval", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "996", - "s" : [ { - "value" : [ "","define ","IncludesDayInInterval",": " ] - }, { - "r" : "1013", - "s" : [ { - "r" : "1005", - "s" : [ { - "r" : "997", - "value" : [ "DateTime","(","2012",", ","3",", ","3",")" ] - } ] - }, { - "r" : "1013", - "value" : [ " ","included in day of"," " ] - }, { - "r" : "1009", - "s" : [ { - "value" : [ "PrecisionDateIvl" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "1013", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "precision" : "Day", - "type" : "In", - "signature" : [ { - "localId" : "1014", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1015", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1016", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "1005", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "1006", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1007", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1008", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "997", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "998", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "999", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - } - }, { - "localId" : "1009", - "name" : "PrecisionDateIvl", - "type" : "ExpressionRef", - "resultTypeSpecifier" : { - "localId" : "1010", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1011", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - } ] - } - }, { - "localId" : "1019", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "DoesNotIncludeDayInInterval", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "1019", - "s" : [ { - "value" : [ "","define ","DoesNotIncludeDayInInterval",": " ] - }, { - "r" : "1036", - "s" : [ { - "r" : "1028", - "s" : [ { - "r" : "1020", - "value" : [ "DateTime","(","2014",", ","3",", ","3",")" ] - } ] - }, { - "r" : "1036", - "value" : [ " ","included in day of"," " ] - }, { - "r" : "1032", - "s" : [ { - "value" : [ "PrecisionDateIvl" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "1036", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "precision" : "Day", - "type" : "In", - "signature" : [ { - "localId" : "1037", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1038", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1039", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "1028", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "1029", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1030", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1031", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1020", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2014", - "type" : "Literal" - }, - "month" : { - "localId" : "1021", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "1022", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - } - }, { - "localId" : "1032", - "name" : "PrecisionDateIvl", - "type" : "ExpressionRef", - "resultTypeSpecifier" : { - "localId" : "1033", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1034", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - } ] - } - }, { - "localId" : "1042", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "QuantityIncludedInterval", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "1042", - "s" : [ { - "value" : [ "","define ","QuantityIncludedInterval",": " ] - }, { - "r" : "1050", - "s" : [ { - "r" : "1043", - "s" : [ { - "value" : [ "5 ","'mg'" ] - } ] - }, { - "r" : "1050", - "value" : [ " ","included in"," " ] - }, { - "r" : "1046", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "1044", - "s" : [ { - "value" : [ "4 ","'mg'" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "1045", - "s" : [ { - "value" : [ "6 ","'mg'" ] - } ] - }, { - "value" : [ "]" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "1050", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "In", - "signature" : [ { - "localId" : "1051", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1052", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1053", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "1043", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "value" : 5, - "unit" : "mg", - "type" : "Quantity" - }, { - "localId" : "1046", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "1047", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1048", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "1044", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "value" : 4, - "unit" : "mg", - "type" : "Quantity" - }, - "high" : { - "localId" : "1045", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "value" : 6, - "unit" : "mg", - "type" : "Quantity" - } - } ] - } - }, { - "localId" : "1056", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "QuantityNotIncludedInterval", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "1056", - "s" : [ { - "value" : [ "","define ","QuantityNotIncludedInterval",": " ] - }, { - "r" : "1064", - "s" : [ { - "r" : "1057", - "s" : [ { - "value" : [ "50 ","'mg'" ] - } ] - }, { - "r" : "1064", - "value" : [ " ","included in"," " ] - }, { - "r" : "1060", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "1058", - "s" : [ { - "value" : [ "4 ","'mg'" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "1059", - "s" : [ { - "value" : [ "6 ","'mg'" ] - } ] - }, { - "value" : [ "]" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "1064", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "In", - "signature" : [ { - "localId" : "1065", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1066", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1067", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "1057", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "value" : 50, - "unit" : "mg", - "type" : "Quantity" - }, { - "localId" : "1060", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "1061", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1062", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "1058", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "value" : 4, - "unit" : "mg", - "type" : "Quantity" - }, - "high" : { - "localId" : "1059", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "value" : 6, - "unit" : "mg", - "type" : "Quantity" - } - } ] - } - }, { - "localId" : "1070", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "IncludesDayOfIvlImpreciseHighEdge", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "1070", - "s" : [ { - "value" : [ "","define ","IncludesDayOfIvlImpreciseHighEdge",": " ] - }, { - "r" : "1101", - "s" : [ { - "r" : "1095", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "1079", - "s" : [ { - "r" : "1071", - "value" : [ "DateTime","(","2012",", ","6",", ","1",")" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "1091", - "s" : [ { - "r" : "1083", - "value" : [ "DateTime","(","2012",", ","9",", ","2",")" ] - } ] - }, { - "value" : [ "]" ] - } ] - }, { - "r" : "1101", - "value" : [ " ","included in day of"," " ] - }, { - "r" : "1098", - "s" : [ { - "value" : [ "PrecisionDateIvl" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "1101", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "precision" : "Day", - "type" : "IncludedIn", - "signature" : [ { - "localId" : "1102", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1103", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "1104", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1105", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "1095", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "1096", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1097", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "1079", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "1080", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1081", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1082", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1071", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "1072", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "6", - "type" : "Literal" - }, - "day" : { - "localId" : "1073", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - } - }, - "high" : { - "localId" : "1091", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "1092", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1093", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1094", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1083", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "1084", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "9", - "type" : "Literal" - }, - "day" : { - "localId" : "1085", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal" - } - } - }, { - "localId" : "1098", - "name" : "PrecisionDateIvl", - "type" : "ExpressionRef", - "resultTypeSpecifier" : { - "localId" : "1099", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1100", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - } ] - } - }, { - "localId" : "1115", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "IncludesDayOfIvlVeryImpreciseMiddle", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "1115", - "s" : [ { - "value" : [ "","define ","IncludesDayOfIvlVeryImpreciseMiddle",": " ] - }, { - "r" : "1140", - "s" : [ { - "r" : "1134", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "1122", - "s" : [ { - "r" : "1116", - "value" : [ "DateTime","(","2012",", ","5",")" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "1131", - "s" : [ { - "r" : "1125", - "value" : [ "DateTime","(","2012",", ","6",")" ] - } ] - }, { - "value" : [ "]" ] - } ] - }, { - "r" : "1140", - "value" : [ " ","included in day of"," " ] - }, { - "r" : "1137", - "s" : [ { - "value" : [ "PrecisionDateIvl" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "1140", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "precision" : "Day", - "type" : "IncludedIn", - "signature" : [ { - "localId" : "1141", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1142", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "1143", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1144", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "1134", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "1135", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1136", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "1122", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "1123", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1124", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1116", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "1117", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal" - } - }, - "high" : { - "localId" : "1131", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "1132", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1133", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1125", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "1126", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "6", - "type" : "Literal" - } - } - }, { - "localId" : "1137", - "name" : "PrecisionDateIvl", - "type" : "ExpressionRef", - "resultTypeSpecifier" : { - "localId" : "1138", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1139", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - } ] - } - }, { - "localId" : "1154", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "NotIncludesDayOfIvlVeryImpreciseLow", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "1154", - "s" : [ { - "value" : [ "","define ","NotIncludesDayOfIvlVeryImpreciseLow",": " ] - }, { - "r" : "1179", - "s" : [ { - "r" : "1173", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "1161", - "s" : [ { - "r" : "1155", - "value" : [ "DateTime","(","2012",", ","2",")" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "1170", - "s" : [ { - "r" : "1164", - "value" : [ "DateTime","(","2012",", ","6",")" ] - } ] - }, { - "value" : [ "]" ] - } ] - }, { - "r" : "1179", - "value" : [ " ","included in day of"," " ] - }, { - "r" : "1176", - "s" : [ { - "value" : [ "PrecisionDateIvl" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "1179", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "precision" : "Day", - "type" : "IncludedIn", - "signature" : [ { - "localId" : "1180", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1181", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "1182", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1183", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "1173", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "1174", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1175", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "1161", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "1162", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1163", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1155", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "1156", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal" - } - }, - "high" : { - "localId" : "1170", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "1171", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1172", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1164", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "1165", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "6", - "type" : "Literal" - } - } - }, { - "localId" : "1176", - "name" : "PrecisionDateIvl", - "type" : "ExpressionRef", - "resultTypeSpecifier" : { - "localId" : "1177", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1178", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - } ] - } - }, { - "localId" : "1193", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "NotIncludesDayOfIvlVeryImpreciseHigh", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "1193", - "s" : [ { - "value" : [ "","define ","NotIncludesDayOfIvlVeryImpreciseHigh",": " ] - }, { - "r" : "1218", - "s" : [ { - "r" : "1212", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "1200", - "s" : [ { - "r" : "1194", - "value" : [ "DateTime","(","2012",", ","6",")" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "1209", - "s" : [ { - "r" : "1203", - "value" : [ "DateTime","(","2012",", ","10",")" ] - } ] - }, { - "value" : [ "]" ] - } ] - }, { - "r" : "1218", - "value" : [ " ","included in day of"," " ] - }, { - "r" : "1215", - "s" : [ { - "value" : [ "PrecisionDateIvl" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "1218", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "precision" : "Day", - "type" : "IncludedIn", - "signature" : [ { - "localId" : "1219", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1220", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "1221", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1222", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "1212", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "1213", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1214", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "1200", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "1201", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1202", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1194", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "1195", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "6", - "type" : "Literal" - } - }, - "high" : { - "localId" : "1209", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "1210", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1211", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1203", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "1204", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal" - } - } - }, { - "localId" : "1215", - "name" : "PrecisionDateIvl", - "type" : "ExpressionRef", - "resultTypeSpecifier" : { - "localId" : "1216", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1217", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - } ] - } - }, { - "localId" : "1232", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "MayIncludeDayOfIvlVeryImpreciseLow", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "1232", - "s" : [ { - "value" : [ "","define ","MayIncludeDayOfIvlVeryImpreciseLow",": " ] - }, { - "r" : "1257", - "s" : [ { - "r" : "1251", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "1239", - "s" : [ { - "r" : "1233", - "value" : [ "DateTime","(","2012",", ","3",")" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "1248", - "s" : [ { - "r" : "1242", - "value" : [ "DateTime","(","2012",", ","6",")" ] - } ] - }, { - "value" : [ "]" ] - } ] - }, { - "r" : "1257", - "value" : [ " ","included in day of"," " ] - }, { - "r" : "1254", - "s" : [ { - "value" : [ "PrecisionDateIvl" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "1257", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "precision" : "Day", - "type" : "IncludedIn", - "signature" : [ { - "localId" : "1258", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1259", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "1260", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1261", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "1251", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "1252", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1253", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "1239", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "1240", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1241", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1233", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "1234", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - } - }, - "high" : { - "localId" : "1248", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "1249", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1250", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1242", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "1243", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "6", - "type" : "Literal" - } - } - }, { - "localId" : "1254", - "name" : "PrecisionDateIvl", - "type" : "ExpressionRef", - "resultTypeSpecifier" : { - "localId" : "1255", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1256", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - } ] - } - }, { - "localId" : "1271", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "MayIncludeDayOfIvlVeryImpreciseHigh", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "1271", - "s" : [ { - "value" : [ "","define ","MayIncludeDayOfIvlVeryImpreciseHigh",": " ] - }, { - "r" : "1296", - "s" : [ { - "r" : "1290", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "1278", - "s" : [ { - "r" : "1272", - "value" : [ "DateTime","(","2012",", ","6",")" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "1287", - "s" : [ { - "r" : "1281", - "value" : [ "DateTime","(","2012",", ","9",")" ] - } ] - }, { - "value" : [ "]" ] - } ] - }, { - "r" : "1296", - "value" : [ " ","included in day of"," " ] - }, { - "r" : "1293", - "s" : [ { - "value" : [ "PrecisionDateIvl" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "1296", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "precision" : "Day", - "type" : "IncludedIn", - "signature" : [ { - "localId" : "1297", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1298", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "1299", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1300", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "1290", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "1291", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1292", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "1278", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "1279", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1280", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1272", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "1273", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "6", - "type" : "Literal" - } - }, - "high" : { - "localId" : "1287", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "1288", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1289", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1281", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "1282", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "9", - "type" : "Literal" - } - } - }, { - "localId" : "1293", - "name" : "PrecisionDateIvl", - "type" : "ExpressionRef", - "resultTypeSpecifier" : { - "localId" : "1294", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1295", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - } ] - } - }, { - "localId" : "1310", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "MayIncludeDayOfIvlVeryImpreciseSurrounding", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "1310", - "s" : [ { - "value" : [ "","define ","MayIncludeDayOfIvlVeryImpreciseSurrounding",": " ] - }, { - "r" : "1329", - "s" : [ { - "r" : "1323", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "1315", - "s" : [ { - "r" : "1311", - "value" : [ "DateTime","(","2012",")" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "1321", - "s" : [ { - "r" : "1317", - "value" : [ "DateTime","(","2012",")" ] - } ] - }, { - "value" : [ "]" ] - } ] - }, { - "r" : "1329", - "value" : [ " ","included in day of"," " ] - }, { - "r" : "1326", - "s" : [ { - "value" : [ "PrecisionDateIvl" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "1329", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "precision" : "Day", - "type" : "IncludedIn", - "signature" : [ { - "localId" : "1330", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1331", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "1332", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1333", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "1323", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "1324", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1325", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "1315", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "1316", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1311", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - } - }, - "high" : { - "localId" : "1321", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "1322", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1317", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - } - } - }, { - "localId" : "1326", - "name" : "PrecisionDateIvl", - "type" : "ExpressionRef", - "resultTypeSpecifier" : { - "localId" : "1327", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1328", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - } ] - } - }, { - "localId" : "1343", - "name" : "ImpDateIvl", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "1343", - "s" : [ { - "value" : [ "","define ","ImpDateIvl",": " ] - }, { - "r" : "1362", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "1350", - "s" : [ { - "r" : "1344", - "value" : [ "DateTime","(","2012",", ","3",")" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "1359", - "s" : [ { - "r" : "1353", - "value" : [ "DateTime","(","2012",", ","8",")" ] - } ] - }, { - "value" : [ "]" ] - } ] - } ] - } - } ], - "resultTypeSpecifier" : { - "localId" : "1365", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1366", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "expression" : { - "localId" : "1362", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "1363", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1364", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "1350", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "1351", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1352", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1344", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "1345", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - } - }, - "high" : { - "localId" : "1359", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "1360", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1361", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1353", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "1354", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "8", - "type" : "Literal" - } - } - } - }, { - "localId" : "1369", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "ImpreciseIncludesDateIvl", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "1369", - "s" : [ { - "value" : [ "","define ","ImpreciseIncludesDateIvl",": " ] - }, { - "r" : "1424", - "s" : [ { - "r" : "1418", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "1386", - "s" : [ { - "r" : "1370", - "value" : [ "DateTime","(","2012",", ","4",", ","1",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "1410", - "s" : [ { - "r" : "1394", - "value" : [ "DateTime","(","2012",", ","6",", ","1",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ ")" ] - } ] - }, { - "r" : "1424", - "value" : [ " ","included in"," " ] - }, { - "r" : "1421", - "s" : [ { - "value" : [ "ImpDateIvl" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "1424", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "IncludedIn", - "signature" : [ { - "localId" : "1425", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1426", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "1427", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1428", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "1418", - "lowClosed" : true, - "highClosed" : false, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "1419", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1420", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "1386", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "1387", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1388", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1389", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1390", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1391", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1392", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1393", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1370", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "1371", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "4", - "type" : "Literal" - }, - "day" : { - "localId" : "1372", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "1373", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "1374", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "1375", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "1376", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - }, - "high" : { - "localId" : "1410", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "1411", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1412", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1413", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1414", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1415", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1416", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1417", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1394", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "1395", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "6", - "type" : "Literal" - }, - "day" : { - "localId" : "1396", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "1397", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "1398", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "1399", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "1400", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - } - }, { - "localId" : "1421", - "name" : "ImpDateIvl", - "type" : "ExpressionRef", - "resultTypeSpecifier" : { - "localId" : "1422", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1423", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - } ] - } - }, { - "localId" : "1438", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "ImpreciseNotIncludesDateIvl", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "1438", - "s" : [ { - "value" : [ "","define ","ImpreciseNotIncludesDateIvl",": " ] - }, { - "r" : "1493", - "s" : [ { - "r" : "1487", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "1455", - "s" : [ { - "r" : "1439", - "value" : [ "DateTime","(","2012",", ","2",", ","1",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "1479", - "s" : [ { - "r" : "1463", - "value" : [ "DateTime","(","2012",", ","6",", ","1",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ ")" ] - } ] - }, { - "r" : "1493", - "value" : [ " ","included in"," " ] - }, { - "r" : "1490", - "s" : [ { - "value" : [ "ImpDateIvl" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "1493", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "IncludedIn", - "signature" : [ { - "localId" : "1494", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1495", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "1496", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1497", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "1487", - "lowClosed" : true, - "highClosed" : false, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "1488", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1489", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "1455", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "1456", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1457", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1458", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1459", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1460", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1461", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1462", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1439", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "1440", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal" - }, - "day" : { - "localId" : "1441", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "1442", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "1443", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "1444", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "1445", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - }, - "high" : { - "localId" : "1479", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "1480", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1481", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1482", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1483", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1484", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1485", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1486", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1463", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "1464", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "6", - "type" : "Literal" - }, - "day" : { - "localId" : "1465", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "1466", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "1467", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "1468", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "1469", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - } - }, { - "localId" : "1490", - "name" : "ImpDateIvl", - "type" : "ExpressionRef", - "resultTypeSpecifier" : { - "localId" : "1491", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1492", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - } ] - } - }, { - "localId" : "1507", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "ImpreciseMayIncludeDateIvl", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "1507", - "s" : [ { - "value" : [ "","define ","ImpreciseMayIncludeDateIvl",": " ] - }, { - "r" : "1562", - "s" : [ { - "r" : "1556", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "1524", - "s" : [ { - "r" : "1508", - "value" : [ "DateTime","(","2012",", ","3",", ","15",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "1548", - "s" : [ { - "r" : "1532", - "value" : [ "DateTime","(","2012",", ","6",", ","1",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ ")" ] - } ] - }, { - "r" : "1562", - "value" : [ " ","included in"," " ] - }, { - "r" : "1559", - "s" : [ { - "value" : [ "ImpDateIvl" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "1562", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "IncludedIn", - "signature" : [ { - "localId" : "1563", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1564", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "1565", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1566", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "1556", - "lowClosed" : true, - "highClosed" : false, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "1557", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1558", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "1524", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "1525", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1526", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1527", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1528", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1529", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1530", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1531", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1508", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "1509", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "1510", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal" - }, - "hour" : { - "localId" : "1511", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "1512", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "1513", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "1514", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - }, - "high" : { - "localId" : "1548", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "1549", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1550", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1551", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1552", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1553", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1554", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1555", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1532", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "1533", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "6", - "type" : "Literal" - }, - "day" : { - "localId" : "1534", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "1535", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "1536", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "1537", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "1538", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - } - }, { - "localId" : "1559", - "name" : "ImpDateIvl", - "type" : "ExpressionRef", - "resultTypeSpecifier" : { - "localId" : "1560", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1561", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - } ] - } - }, { - "localId" : "1576", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "NegInfBegIncludedInIntIvl", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "1576", - "s" : [ { - "value" : [ "","define ","NegInfBegIncludedInIntIvl",": " ] - }, { - "r" : "1589", - "s" : [ { - "r" : "1579", - "s" : [ { - "r" : "1577", - "value" : [ "Interval[","null",", ","5","]" ] - } ] - }, { - "r" : "1589", - "value" : [ " ","included in"," " ] - }, { - "r" : "1585", - "s" : [ { - "r" : "1583", - "value" : [ "Interval[","null",", ","100","]" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "1589", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "IncludedIn", - "signature" : [ { - "localId" : "1590", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1591", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "1592", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1593", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "1579", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "1581", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1582", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "1580", - "asType" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "As", - "signature" : [ ], - "operand" : { - "localId" : "1577", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - } - }, - "high" : { - "localId" : "1578", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal" - } - }, { - "localId" : "1585", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "1587", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1588", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "1586", - "asType" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "As", - "signature" : [ ], - "operand" : { - "localId" : "1583", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - } - }, - "high" : { - "localId" : "1584", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "100", - "type" : "Literal" - } - } ] - } - }, { - "localId" : "1603", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "NegInfBegNotIncludedInIntIvl", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "1603", - "s" : [ { - "value" : [ "","define ","NegInfBegNotIncludedInIntIvl",": " ] - }, { - "r" : "1617", - "s" : [ { - "r" : "1606", - "s" : [ { - "r" : "1604", - "value" : [ "Interval[","null",", ","5","]" ] - } ] - }, { - "r" : "1617", - "value" : [ " ","included in"," " ] - }, { - "r" : "1614", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "1610", - "s" : [ { - "r" : "1611", - "value" : [ "-","100" ] - } ] - }, { - "r" : "1613", - "value" : [ ", ","100","]" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "1617", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "IncludedIn", - "signature" : [ { - "localId" : "1618", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1619", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "1620", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1621", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "1606", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "1608", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1609", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "1607", - "asType" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "As", - "signature" : [ ], - "operand" : { - "localId" : "1604", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - } - }, - "high" : { - "localId" : "1605", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal" - } - }, { - "localId" : "1614", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "1615", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1616", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "1610", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "Negate", - "signature" : [ { - "localId" : "1612", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "1611", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "100", - "type" : "Literal" - } - }, - "high" : { - "localId" : "1613", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "100", - "type" : "Literal" - } - } ] - } - }, { - "localId" : "1631", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "UnknownBegIncludedInIntIvl", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "1631", - "s" : [ { - "value" : [ "","define ","UnknownBegIncludedInIntIvl",": " ] - }, { - "r" : "1644", - "s" : [ { - "r" : "1634", - "s" : [ { - "r" : "1632", - "value" : [ "Interval(","null",", ","5","]" ] - } ] - }, { - "r" : "1644", - "value" : [ " ","included in"," " ] - }, { - "r" : "1640", - "s" : [ { - "r" : "1638", - "value" : [ "Interval[","null",", ","100","]" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "1644", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "IncludedIn", - "signature" : [ { - "localId" : "1645", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1646", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "1647", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1648", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "1634", - "lowClosed" : false, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "1636", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1637", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "1635", - "asType" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "As", - "signature" : [ ], - "operand" : { - "localId" : "1632", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - } - }, - "high" : { - "localId" : "1633", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal" - } - }, { - "localId" : "1640", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "1642", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1643", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "1641", - "asType" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "As", - "signature" : [ ], - "operand" : { - "localId" : "1638", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - } - }, - "high" : { - "localId" : "1639", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "100", - "type" : "Literal" - } - } ] - } - }, { - "localId" : "1658", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "UnknownBegMayBeIncludedInIntIvl", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "1658", - "s" : [ { - "value" : [ "","define ","UnknownBegMayBeIncludedInIntIvl",": " ] - }, { - "r" : "1672", - "s" : [ { - "r" : "1661", - "s" : [ { - "r" : "1659", - "value" : [ "Interval(","null",", ","5","]" ] - } ] - }, { - "r" : "1672", - "value" : [ " ","included in"," " ] - }, { - "r" : "1669", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "1665", - "s" : [ { - "r" : "1666", - "value" : [ "-","100" ] - } ] - }, { - "r" : "1668", - "value" : [ ", ","100","]" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "1672", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "IncludedIn", - "signature" : [ { - "localId" : "1673", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1674", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "1675", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1676", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "1661", - "lowClosed" : false, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "1663", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1664", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "1662", - "asType" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "As", - "signature" : [ ], - "operand" : { - "localId" : "1659", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - } - }, - "high" : { - "localId" : "1660", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal" - } - }, { - "localId" : "1669", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "1670", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1671", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "1665", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "Negate", - "signature" : [ { - "localId" : "1667", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "1666", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "100", - "type" : "Literal" - } - }, - "high" : { - "localId" : "1668", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "100", - "type" : "Literal" - } - } ] - } - }, { - "localId" : "1686", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "UnknownBegNotIncludedInIntIvl", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "1686", - "s" : [ { - "value" : [ "","define ","UnknownBegNotIncludedInIntIvl",": " ] - }, { - "r" : "1700", - "s" : [ { - "r" : "1689", - "s" : [ { - "r" : "1687", - "value" : [ "Interval(","null",", ","5","]" ] - } ] - }, { - "r" : "1700", - "value" : [ " ","included in"," " ] - }, { - "r" : "1697", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "1693", - "s" : [ { - "r" : "1694", - "value" : [ "-","100" ] - } ] - }, { - "r" : "1696", - "value" : [ ", ","0","]" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "1700", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "IncludedIn", - "signature" : [ { - "localId" : "1701", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1702", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "1703", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1704", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "1689", - "lowClosed" : false, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "1691", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1692", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "1690", - "asType" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "As", - "signature" : [ ], - "operand" : { - "localId" : "1687", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - } - }, - "high" : { - "localId" : "1688", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal" - } - }, { - "localId" : "1697", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "1698", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1699", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "1693", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "Negate", - "signature" : [ { - "localId" : "1695", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "1694", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "100", - "type" : "Literal" - } - }, - "high" : { - "localId" : "1696", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - } ] - } - }, { - "localId" : "1714", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "PosInfEndIncludedInIntIvl", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "1714", - "s" : [ { - "value" : [ "","define ","PosInfEndIncludedInIntIvl",": " ] - }, { - "r" : "1729", - "s" : [ { - "r" : "1717", - "s" : [ { - "r" : "1715", - "value" : [ "Interval[","0",", ","null","]" ] - } ] - }, { - "r" : "1729", - "value" : [ " ","included in"," " ] - }, { - "r" : "1725", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "1721", - "s" : [ { - "r" : "1722", - "value" : [ "-","100" ] - } ] - }, { - "r" : "1724", - "value" : [ ", ","null","]" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "1729", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "IncludedIn", - "signature" : [ { - "localId" : "1730", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1731", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "1732", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1733", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "1717", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "1719", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1720", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "1715", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "high" : { - "localId" : "1718", - "asType" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "As", - "signature" : [ ], - "operand" : { - "localId" : "1716", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - } - } - }, { - "localId" : "1725", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "1727", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1728", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "1721", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "Negate", - "signature" : [ { - "localId" : "1723", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "1722", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "100", - "type" : "Literal" - } - }, - "high" : { - "localId" : "1726", - "asType" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "As", - "signature" : [ ], - "operand" : { - "localId" : "1724", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - } - } - } ] - } - }, { - "localId" : "1743", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "PosInfEndNotIncludedInIntIvl", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "1743", - "s" : [ { - "value" : [ "","define ","PosInfEndNotIncludedInIntIvl",": " ] - }, { - "r" : "1757", - "s" : [ { - "r" : "1746", - "s" : [ { - "r" : "1744", - "value" : [ "Interval[","0",", ","null","]" ] - } ] - }, { - "r" : "1757", - "value" : [ " ","included in"," " ] - }, { - "r" : "1754", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "1750", - "s" : [ { - "r" : "1751", - "value" : [ "-","100" ] - } ] - }, { - "r" : "1753", - "value" : [ ", ","100","]" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "1757", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "IncludedIn", - "signature" : [ { - "localId" : "1758", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1759", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "1760", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1761", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "1746", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "1748", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1749", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "1744", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "high" : { - "localId" : "1747", - "asType" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "As", - "signature" : [ ], - "operand" : { - "localId" : "1745", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - } - } - }, { - "localId" : "1754", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "1755", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1756", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "1750", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "Negate", - "signature" : [ { - "localId" : "1752", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "1751", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "100", - "type" : "Literal" - } - }, - "high" : { - "localId" : "1753", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "100", - "type" : "Literal" - } - } ] - } - }, { - "localId" : "1771", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "UnknownEndIncludedInIntIvl", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "1771", - "s" : [ { - "value" : [ "","define ","UnknownEndIncludedInIntIvl",": " ] - }, { - "r" : "1786", - "s" : [ { - "r" : "1774", - "s" : [ { - "r" : "1772", - "value" : [ "Interval[","0",", ","null",")" ] - } ] - }, { - "r" : "1786", - "value" : [ " ","included in"," " ] - }, { - "r" : "1782", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "1778", - "s" : [ { - "r" : "1779", - "value" : [ "-","100" ] - } ] - }, { - "r" : "1781", - "value" : [ ", ","null","]" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "1786", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "IncludedIn", - "signature" : [ { - "localId" : "1787", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1788", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "1789", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1790", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "1774", - "lowClosed" : true, - "highClosed" : false, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "1776", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1777", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "1772", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "high" : { - "localId" : "1775", - "asType" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "As", - "signature" : [ ], - "operand" : { - "localId" : "1773", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - } - } - }, { - "localId" : "1782", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "1784", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1785", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "1778", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "Negate", - "signature" : [ { - "localId" : "1780", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "1779", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "100", - "type" : "Literal" - } - }, - "high" : { - "localId" : "1783", - "asType" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "As", - "signature" : [ ], - "operand" : { - "localId" : "1781", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - } - } - } ] - } - }, { - "localId" : "1800", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "UnknownEndMayBeIncludedInIntIvl", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "1800", - "s" : [ { - "value" : [ "","define ","UnknownEndMayBeIncludedInIntIvl",": " ] - }, { - "r" : "1814", - "s" : [ { - "r" : "1803", - "s" : [ { - "r" : "1801", - "value" : [ "Interval[","0",", ","null",")" ] - } ] - }, { - "r" : "1814", - "value" : [ " ","included in"," " ] - }, { - "r" : "1811", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "1807", - "s" : [ { - "r" : "1808", - "value" : [ "-","100" ] - } ] - }, { - "r" : "1810", - "value" : [ ", ","100","]" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "1814", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "IncludedIn", - "signature" : [ { - "localId" : "1815", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1816", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "1817", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1818", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "1803", - "lowClosed" : true, - "highClosed" : false, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "1805", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1806", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "1801", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "high" : { - "localId" : "1804", - "asType" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "As", - "signature" : [ ], - "operand" : { - "localId" : "1802", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - } - } - }, { - "localId" : "1811", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "1812", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1813", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "1807", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "Negate", - "signature" : [ { - "localId" : "1809", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "1808", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "100", - "type" : "Literal" - } - }, - "high" : { - "localId" : "1810", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "100", - "type" : "Literal" - } - } ] - } - }, { - "localId" : "1828", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "UnknownEndNotIncludedInIntIvl", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "1828", - "s" : [ { - "value" : [ "","define ","UnknownEndNotIncludedInIntIvl",": " ] - }, { - "r" : "1840", - "s" : [ { - "r" : "1831", - "s" : [ { - "r" : "1829", - "value" : [ "Interval[","0",", ","null",")" ] - } ] - }, { - "r" : "1840", - "value" : [ " ","included in"," " ] - }, { - "r" : "1837", - "s" : [ { - "r" : "1835", - "value" : [ "Interval[","100",", ","200","]" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "1840", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "IncludedIn", - "signature" : [ { - "localId" : "1841", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1842", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "1843", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1844", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "1831", - "lowClosed" : true, - "highClosed" : false, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "1833", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1834", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "1829", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "high" : { - "localId" : "1832", - "asType" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "As", - "signature" : [ ], - "operand" : { - "localId" : "1830", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - } - } - }, { - "localId" : "1837", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "1838", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1839", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "1835", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "100", - "type" : "Literal" - }, - "high" : { - "localId" : "1836", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "200", - "type" : "Literal" - } - } ] - } - }, { - "localId" : "1854", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "NegInfBegIncludedInDateIvl", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "1854", - "s" : [ { - "value" : [ "","define ","NegInfBegIncludedInDateIvl",": " ] - }, { - "r" : "1913", - "s" : [ { - "r" : "1880", - "s" : [ { - "r" : "1855", - "value" : [ "Interval[","null",", " ] - }, { - "r" : "1872", - "s" : [ { - "r" : "1856", - "value" : [ "DateTime","(","2013",", ","1",", ","1",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ ")" ] - } ] - }, { - "r" : "1913", - "value" : [ " ","included in"," " ] - }, { - "r" : "1909", - "s" : [ { - "r" : "1884", - "value" : [ "Interval[","null",", " ] - }, { - "r" : "1901", - "s" : [ { - "r" : "1885", - "value" : [ "DateTime","(","2020",", ","1",", ","1",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ "]" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "1913", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "IncludedIn", - "signature" : [ { - "localId" : "1914", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1915", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "1916", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1917", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "1880", - "lowClosed" : true, - "highClosed" : false, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "1882", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1883", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "1881", - "asType" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "As", - "signature" : [ ], - "operand" : { - "localId" : "1855", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - } - }, - "high" : { - "localId" : "1872", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "1873", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1874", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1875", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1876", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1877", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1878", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1879", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1856", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2013", - "type" : "Literal" - }, - "month" : { - "localId" : "1857", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "1858", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "1859", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "1860", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "1861", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "1862", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - } - }, { - "localId" : "1909", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "1911", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1912", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "1910", - "asType" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "As", - "signature" : [ ], - "operand" : { - "localId" : "1884", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - } - }, - "high" : { - "localId" : "1901", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "1902", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1903", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1904", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1905", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1906", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1907", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1908", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1885", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2020", - "type" : "Literal" - }, - "month" : { - "localId" : "1886", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "1887", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "1888", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "1889", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "1890", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "1891", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - } - } ] - } - }, { - "localId" : "1927", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "NegInfBegNotIncludedInDateIvl", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "1927", - "s" : [ { - "value" : [ "","define ","NegInfBegNotIncludedInDateIvl",": " ] - }, { - "r" : "2008", - "s" : [ { - "r" : "1953", - "s" : [ { - "r" : "1928", - "value" : [ "Interval[","null",", " ] - }, { - "r" : "1945", - "s" : [ { - "r" : "1929", - "value" : [ "DateTime","(","2013",", ","1",", ","1",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ ")" ] - } ] - }, { - "r" : "2008", - "value" : [ " ","included in"," " ] - }, { - "r" : "2005", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "1973", - "s" : [ { - "r" : "1957", - "value" : [ "DateTime","(","2000",", ","1",", ","1",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "1997", - "s" : [ { - "r" : "1981", - "value" : [ "DateTime","(","2020",", ","1",", ","1",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ "]" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "2008", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "IncludedIn", - "signature" : [ { - "localId" : "2009", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "2010", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "2011", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "2012", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "1953", - "lowClosed" : true, - "highClosed" : false, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "1955", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1956", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "1954", - "asType" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "As", - "signature" : [ ], - "operand" : { - "localId" : "1928", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - } - }, - "high" : { - "localId" : "1945", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "1946", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1947", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1948", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1949", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1950", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1951", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1952", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1929", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2013", - "type" : "Literal" - }, - "month" : { - "localId" : "1930", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "1931", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "1932", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "1933", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "1934", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "1935", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - } - }, { - "localId" : "2005", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "2006", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "2007", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "1973", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "1974", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1975", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1976", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1977", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1978", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1979", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1980", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1957", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "1958", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "1959", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "1960", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "1961", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "1962", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "1963", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - }, - "high" : { - "localId" : "1997", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "1998", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1999", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2000", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2001", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2002", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2003", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2004", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1981", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2020", - "type" : "Literal" - }, - "month" : { - "localId" : "1982", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "1983", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "1984", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "1985", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "1986", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "1987", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - } - } ] - } - }, { - "localId" : "2022", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "UnknownBegIncludedInDateIvl", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "2022", - "s" : [ { - "value" : [ "","define ","UnknownBegIncludedInDateIvl",": " ] - }, { - "r" : "2081", - "s" : [ { - "r" : "2048", - "s" : [ { - "r" : "2023", - "value" : [ "Interval(","null",", " ] - }, { - "r" : "2040", - "s" : [ { - "r" : "2024", - "value" : [ "DateTime","(","2013",", ","1",", ","1",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ ")" ] - } ] - }, { - "r" : "2081", - "value" : [ " ","included in"," " ] - }, { - "r" : "2077", - "s" : [ { - "r" : "2052", - "value" : [ "Interval[","null",", " ] - }, { - "r" : "2069", - "s" : [ { - "r" : "2053", - "value" : [ "DateTime","(","2020",", ","1",", ","1",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ "]" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "2081", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "IncludedIn", - "signature" : [ { - "localId" : "2082", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "2083", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "2084", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "2085", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "2048", - "lowClosed" : false, - "highClosed" : false, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "2050", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "2051", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "2049", - "asType" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "As", - "signature" : [ ], - "operand" : { - "localId" : "2023", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - } - }, - "high" : { - "localId" : "2040", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "2041", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2042", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2043", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2044", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2045", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2046", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2047", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "2024", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2013", - "type" : "Literal" - }, - "month" : { - "localId" : "2025", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "2026", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "2027", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "2028", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "2029", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "2030", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - } - }, { - "localId" : "2077", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "2079", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "2080", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "2078", - "asType" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "As", - "signature" : [ ], - "operand" : { - "localId" : "2052", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - } - }, - "high" : { - "localId" : "2069", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "2070", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2071", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2072", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2073", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2074", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2075", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2076", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "2053", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2020", - "type" : "Literal" - }, - "month" : { - "localId" : "2054", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "2055", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "2056", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "2057", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "2058", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "2059", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - } - } ] - } - }, { - "localId" : "2095", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "UnknownBegMayBeIncludedInDateIvl", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "2095", - "s" : [ { - "value" : [ "","define ","UnknownBegMayBeIncludedInDateIvl",": " ] - }, { - "r" : "2176", - "s" : [ { - "r" : "2121", - "s" : [ { - "r" : "2096", - "value" : [ "Interval(","null",", " ] - }, { - "r" : "2113", - "s" : [ { - "r" : "2097", - "value" : [ "DateTime","(","2013",", ","1",", ","1",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ ")" ] - } ] - }, { - "r" : "2176", - "value" : [ " ","included in"," " ] - }, { - "r" : "2173", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "2141", - "s" : [ { - "r" : "2125", - "value" : [ "DateTime","(","2000",", ","1",", ","1",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "2165", - "s" : [ { - "r" : "2149", - "value" : [ "DateTime","(","2020",", ","1",", ","1",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ "]" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "2176", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "IncludedIn", - "signature" : [ { - "localId" : "2177", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "2178", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "2179", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "2180", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "2121", - "lowClosed" : false, - "highClosed" : false, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "2123", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "2124", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "2122", - "asType" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "As", - "signature" : [ ], - "operand" : { - "localId" : "2096", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - } - }, - "high" : { - "localId" : "2113", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "2114", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2115", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2116", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2117", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2118", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2119", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2120", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "2097", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2013", - "type" : "Literal" - }, - "month" : { - "localId" : "2098", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "2099", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "2100", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "2101", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "2102", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "2103", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - } - }, { - "localId" : "2173", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "2174", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "2175", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "2141", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "2142", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2143", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2144", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2145", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2146", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2147", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2148", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "2125", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "2126", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "2127", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "2128", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "2129", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "2130", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "2131", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - }, - "high" : { - "localId" : "2165", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "2166", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2167", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2168", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2169", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2170", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2171", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2172", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "2149", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2020", - "type" : "Literal" - }, - "month" : { - "localId" : "2150", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "2151", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "2152", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "2153", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "2154", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "2155", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - } - } ] - } - }, { - "localId" : "2190", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "UnknownBegNotIncludedInDateIvl", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "2190", - "s" : [ { - "value" : [ "","define ","UnknownBegNotIncludedInDateIvl",": " ] - }, { - "r" : "2271", - "s" : [ { - "r" : "2216", - "s" : [ { - "r" : "2191", - "value" : [ "Interval(","null",", " ] - }, { - "r" : "2208", - "s" : [ { - "r" : "2192", - "value" : [ "DateTime","(","2013",", ","1",", ","1",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ ")" ] - } ] - }, { - "r" : "2271", - "value" : [ " ","included in"," " ] - }, { - "r" : "2268", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "2236", - "s" : [ { - "r" : "2220", - "value" : [ "DateTime","(","1",", ","1",", ","1",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "2260", - "s" : [ { - "r" : "2244", - "value" : [ "DateTime","(","2000",", ","1",", ","1",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ "]" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "2271", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "IncludedIn", - "signature" : [ { - "localId" : "2272", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "2273", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "2274", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "2275", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "2216", - "lowClosed" : false, - "highClosed" : false, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "2218", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "2219", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "2217", - "asType" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "As", - "signature" : [ ], - "operand" : { - "localId" : "2191", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - } - }, - "high" : { - "localId" : "2208", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "2209", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2210", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2211", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2212", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2213", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2214", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2215", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "2192", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2013", - "type" : "Literal" - }, - "month" : { - "localId" : "2193", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "2194", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "2195", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "2196", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "2197", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "2198", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - } - }, { - "localId" : "2268", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "2269", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "2270", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "2236", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "2237", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2238", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2239", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2240", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2241", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2242", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2243", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "2220", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "month" : { - "localId" : "2221", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "2222", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "2223", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "2224", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "2225", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "2226", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - }, - "high" : { - "localId" : "2260", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "2261", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2262", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2263", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2264", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2265", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2266", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2267", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "2244", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "2245", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "2246", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "2247", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "2248", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "2249", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "2250", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - } - } ] - } - }, { - "localId" : "2285", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "PosInfEndIncludedInDateIvl", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "2285", - "s" : [ { - "value" : [ "","define ","PosInfEndIncludedInDateIvl",": " ] - }, { - "r" : "2344", - "s" : [ { - "r" : "2311", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "2302", - "s" : [ { - "r" : "2286", - "value" : [ "DateTime","(","2013",", ","1",", ","1",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "r" : "2310", - "value" : [ ", ","null","]" ] - } ] - }, { - "r" : "2344", - "value" : [ " ","included in"," " ] - }, { - "r" : "2340", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "2331", - "s" : [ { - "r" : "2315", - "value" : [ "DateTime","(","2000",", ","1",", ","1",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "r" : "2339", - "value" : [ ", ","null","]" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "2344", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "IncludedIn", - "signature" : [ { - "localId" : "2345", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "2346", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "2347", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "2348", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "2311", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "2313", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "2314", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "2302", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "2303", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2304", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2305", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2306", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2307", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2308", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2309", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "2286", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2013", - "type" : "Literal" - }, - "month" : { - "localId" : "2287", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "2288", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "2289", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "2290", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "2291", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "2292", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - }, - "high" : { - "localId" : "2312", - "asType" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "As", - "signature" : [ ], - "operand" : { - "localId" : "2310", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - } - } - }, { - "localId" : "2340", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "2342", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "2343", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "2331", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "2332", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2333", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2334", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2335", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2336", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2337", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2338", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "2315", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "2316", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "2317", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "2318", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "2319", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "2320", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "2321", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - }, - "high" : { - "localId" : "2341", - "asType" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "As", - "signature" : [ ], - "operand" : { - "localId" : "2339", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - } - } - } ] - } - }, { - "localId" : "2358", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "PosInfEndNotIncludedInDateIvl", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "2358", - "s" : [ { - "value" : [ "","define ","PosInfEndNotIncludedInDateIvl",": " ] - }, { - "r" : "2439", - "s" : [ { - "r" : "2384", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "2375", - "s" : [ { - "r" : "2359", - "value" : [ "DateTime","(","2013",", ","1",", ","1",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "r" : "2383", - "value" : [ ", ","null","]" ] - } ] - }, { - "r" : "2439", - "value" : [ " ","included in"," " ] - }, { - "r" : "2436", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "2404", - "s" : [ { - "r" : "2388", - "value" : [ "DateTime","(","2000",", ","1",", ","1",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "2428", - "s" : [ { - "r" : "2412", - "value" : [ "DateTime","(","2020",", ","1",", ","1",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ "]" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "2439", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "IncludedIn", - "signature" : [ { - "localId" : "2440", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "2441", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "2442", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "2443", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "2384", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "2386", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "2387", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "2375", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "2376", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2377", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2378", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2379", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2380", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2381", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2382", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "2359", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2013", - "type" : "Literal" - }, - "month" : { - "localId" : "2360", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "2361", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "2362", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "2363", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "2364", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "2365", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - }, - "high" : { - "localId" : "2385", - "asType" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "As", - "signature" : [ ], - "operand" : { - "localId" : "2383", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - } - } - }, { - "localId" : "2436", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "2437", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "2438", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "2404", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "2405", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2406", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2407", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2408", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2409", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2410", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2411", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "2388", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "2389", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "2390", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "2391", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "2392", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "2393", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "2394", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - }, - "high" : { - "localId" : "2428", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "2429", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2430", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2431", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2432", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2433", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2434", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2435", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "2412", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2020", - "type" : "Literal" - }, - "month" : { - "localId" : "2413", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "2414", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "2415", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "2416", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "2417", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "2418", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - } - } ] - } - }, { - "localId" : "2453", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "UnknownEndIncludedInDateIvl", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "2453", - "s" : [ { - "value" : [ "","define ","UnknownEndIncludedInDateIvl",": " ] - }, { - "r" : "2512", - "s" : [ { - "r" : "2479", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "2470", - "s" : [ { - "r" : "2454", - "value" : [ "DateTime","(","2013",", ","1",", ","1",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "r" : "2478", - "value" : [ ", ","null",")" ] - } ] - }, { - "r" : "2512", - "value" : [ " ","included in"," " ] - }, { - "r" : "2508", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "2499", - "s" : [ { - "r" : "2483", - "value" : [ "DateTime","(","2000",", ","1",", ","1",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "r" : "2507", - "value" : [ ", ","null","]" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "2512", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "IncludedIn", - "signature" : [ { - "localId" : "2513", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "2514", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "2515", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "2516", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "2479", - "lowClosed" : true, - "highClosed" : false, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "2481", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "2482", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "2470", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "2471", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2472", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2473", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2474", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2475", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2476", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2477", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "2454", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2013", - "type" : "Literal" - }, - "month" : { - "localId" : "2455", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "2456", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "2457", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "2458", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "2459", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "2460", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - }, - "high" : { - "localId" : "2480", - "asType" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "As", - "signature" : [ ], - "operand" : { - "localId" : "2478", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - } - } - }, { - "localId" : "2508", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "2510", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "2511", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "2499", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "2500", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2501", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2502", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2503", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2504", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2505", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2506", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "2483", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "2484", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "2485", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "2486", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "2487", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "2488", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "2489", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - }, - "high" : { - "localId" : "2509", - "asType" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "As", - "signature" : [ ], - "operand" : { - "localId" : "2507", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - } - } - } ] - } - }, { - "localId" : "2526", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "UnknownEndMayBeIncludedInDateIvl", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "2526", - "s" : [ { - "value" : [ "","define ","UnknownEndMayBeIncludedInDateIvl",": " ] - }, { - "r" : "2607", - "s" : [ { - "r" : "2552", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "2543", - "s" : [ { - "r" : "2527", - "value" : [ "DateTime","(","2013",", ","1",", ","1",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "r" : "2551", - "value" : [ ", ","null",")" ] - } ] - }, { - "r" : "2607", - "value" : [ " ","included in"," " ] - }, { - "r" : "2604", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "2572", - "s" : [ { - "r" : "2556", - "value" : [ "DateTime","(","2000",", ","1",", ","1",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "2596", - "s" : [ { - "r" : "2580", - "value" : [ "DateTime","(","2020",", ","1",", ","1",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ "]" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "2607", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "IncludedIn", - "signature" : [ { - "localId" : "2608", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "2609", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "2610", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "2611", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "2552", - "lowClosed" : true, - "highClosed" : false, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "2554", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "2555", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "2543", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "2544", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2545", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2546", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2547", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2548", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2549", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2550", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "2527", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2013", - "type" : "Literal" - }, - "month" : { - "localId" : "2528", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "2529", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "2530", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "2531", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "2532", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "2533", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - }, - "high" : { - "localId" : "2553", - "asType" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "As", - "signature" : [ ], - "operand" : { - "localId" : "2551", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - } - } - }, { - "localId" : "2604", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "2605", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "2606", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "2572", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "2573", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2574", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2575", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2576", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2577", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2578", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2579", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "2556", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "2557", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "2558", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "2559", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "2560", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "2561", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "2562", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - }, - "high" : { - "localId" : "2596", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "2597", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2598", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2599", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2600", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2601", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2602", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2603", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "2580", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2020", - "type" : "Literal" - }, - "month" : { - "localId" : "2581", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "2582", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "2583", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "2584", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "2585", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "2586", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - } - } ] - } - }, { - "localId" : "2621", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "UnknownEndNotIncludedInDateIvl", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "2621", - "s" : [ { - "value" : [ "","define ","UnknownEndNotIncludedInDateIvl",": " ] - }, { - "r" : "2702", - "s" : [ { - "r" : "2647", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "2638", - "s" : [ { - "r" : "2622", - "value" : [ "DateTime","(","2013",", ","1",", ","1",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "r" : "2646", - "value" : [ ", ","null",")" ] - } ] - }, { - "r" : "2702", - "value" : [ " ","included in"," " ] - }, { - "r" : "2699", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "2667", - "s" : [ { - "r" : "2651", - "value" : [ "DateTime","(","2020",", ","1",", ","1",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "2691", - "s" : [ { - "r" : "2675", - "value" : [ "DateTime","(","2040",", ","1",", ","1",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ "]" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "2702", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "IncludedIn", - "signature" : [ { - "localId" : "2703", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "2704", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "2705", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "2706", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "2647", - "lowClosed" : true, - "highClosed" : false, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "2649", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "2650", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "2638", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "2639", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2640", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2641", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2642", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2643", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2644", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2645", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "2622", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2013", - "type" : "Literal" - }, - "month" : { - "localId" : "2623", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "2624", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "2625", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "2626", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "2627", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "2628", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - }, - "high" : { - "localId" : "2648", - "asType" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "As", - "signature" : [ ], - "operand" : { - "localId" : "2646", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - } - } - }, { - "localId" : "2699", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "2700", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "2701", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "2667", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "2668", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2669", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2670", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2671", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2672", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2673", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2674", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "2651", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2020", - "type" : "Literal" - }, - "month" : { - "localId" : "2652", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "2653", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "2654", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "2655", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "2656", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "2657", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - }, - "high" : { - "localId" : "2691", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "2692", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2693", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2694", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2695", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2696", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2697", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2698", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "2675", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2040", - "type" : "Literal" - }, - "month" : { - "localId" : "2676", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "2677", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "2678", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "2679", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "2680", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "2681", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - } - } ] - } - } ] - } - } -} - -/* ProperlyIncludedIn -library TestSnippet version '1' -using Simple version '1.0.0' -context Patient -define ProperlyIncludesIntIvl: Interval[2, 4] properly included in Interval[1, 5] -define ProperlyIncludesIntBeginsIvl: Interval[1, 4] properly included in Interval[1, 5] -define ProperlyIncludesIntEndsIvl: Interval[2, 5] properly included in Interval[1, 5] -define NotProperlyIncludesIntIvl: Interval[1, 5] properly included in Interval[1, 5] -define ProperlyIncludesRealIvl: Interval[2.34, 2.56] properly included in Interval[1.234, 3.456] -define NotProperlyIncludesRealIvl: Interval[1.23, 2.56] properly included in Interval[1.23, 2.56] -define DateIvl: Interval[DateTime(2012, 3, 1, 0, 0, 0, 0), DateTime(2012, 9, 1, 0, 0, 0, 0)) -define ProperlyIncludesDateIvl: Interval[DateTime(2012, 4, 1, 0, 0, 0, 0), DateTime(2012, 6, 1, 0, 0, 0, 0)) properly included in DateIvl -define NotProperlyIncludesDateIvl: Interval[DateTime(2012, 3, 1, 0, 0, 0, 0), DateTime(2012, 9, 1, 0, 0, 0, 0)) properly included in DateIvl -define PosInfEndProperlyIncludedInDateIvl: Interval[DateTime(2013, 1, 1, 0, 0, 0, 0), null] properly included in Interval[DateTime(2000, 1, 1, 0, 0, 0, 0), null] -define PosInfEndNotProperlyIncludedInDateIvl: Interval[DateTime(2013, 1, 1, 0, 0, 0, 0), null] properly included in Interval[DateTime(2000, 1, 1, 0, 0, 0, 0), DateTime(2020, 1, 1, 0, 0, 0, 0)] -define UnknownEndMayBeProperlyIncludedInDateIvl: Interval[DateTime(2013, 1, 1, 0, 0, 0, 0), null) properly included in Interval[DateTime(2000, 1, 1, 0, 0, 0, 0), DateTime(2020, 1, 1, 0, 0, 0, 0)] -define PrecisionDateIvl: Interval[DateTime(2012, 3, 2, 12, 34, 56, 789), DateTime(2012, 9, 2, 1, 23, 45, 678)) -define ProperlyIncludesDayOfIvlLowEdge: Interval[DateTime(2012, 3, 2, 0, 0, 0, 0), DateTime(2012, 6, 1, 0, 0, 0, 0)) properly included in day of PrecisionDateIvl -define ProperlyIncludesDayOfIvlHighEdge: Interval[DateTime(2012, 6, 1, 0, 0, 0, 0), DateTime(2012, 9, 2, 23, 59, 59, 999)) properly included in day of PrecisionDateIvl -define ProperlyIncludesDayOfIvlNearEdges: Interval[DateTime(2012, 3, 3, 0, 0, 0, 0), DateTime(2012, 9, 1, 23, 59, 59, 999)) properly included in day of PrecisionDateIvl -define NotProperlyIncludesDayOfIvlSameEdges: Interval[DateTime(2012, 3, 2, 0, 0, 0, 0), DateTime(2012, 9, 2, 0, 0, 0, 0)] properly included in day of PrecisionDateIvl -define MayProperlyIncludeDayOfIvlVeryImpreciseLow: Interval[DateTime(2012, 3), DateTime(2012, 6)] properly included in day of PrecisionDateIvl -define MayProperlyIncludeDayOfIvlVeryImpreciseHigh: Interval[DateTime(2012, 6), DateTime(2012, 9)] properly included in day of PrecisionDateIvl -define MayProperlyIncludeDayOfIvlVeryImpreciseLowAndHigh: Interval[DateTime(2012, 3), DateTime(2012, 9)] properly included in day of PrecisionDateIvl -define MayProperlyIncludeDayOfIvlVeryImpreciseSurrounding: Interval[DateTime(2012), DateTime(2012)] properly included in day of PrecisionDateIvl -*/ - -module.exports['ProperlyIncludedIn'] = { - "library" : { - "localId" : "0", - "annotation" : [ { - "translatorVersion" : "3.27.0", - "translatorOptions" : "EnableDateRangeOptimization,EnableAnnotations,EnableResultTypes", - "signatureLevel" : "All", - "type" : "CqlToElmInfo" - }, { - "type" : "Annotation", - "s" : { - "r" : "1270", - "s" : [ { - "value" : [ "","library TestSnippet version '1'" ] - } ] - } - } ], - "identifier" : { - "id" : "TestSnippet", - "version" : "1" - }, - "schemaIdentifier" : { - "id" : "urn:hl7-org:elm", - "version" : "r1" - }, - "usings" : { - "def" : [ { - "localId" : "1", - "localIdentifier" : "System", - "uri" : "urn:hl7-org:elm-types:r1" - }, { - "localId" : "206", - "localIdentifier" : "Simple", - "uri" : "https://github.com/cqframework/cql-execution/simple", - "version" : "1.0.0", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "206", - "s" : [ { - "value" : [ "","using " ] - }, { - "s" : [ { - "value" : [ "Simple" ] - } ] - }, { - "value" : [ " version '1.0.0'" ] - } ] - } - } ] - } ] - }, - "contexts" : { - "def" : [ { - "localId" : "211", - "name" : "Patient" - } ] - }, - "statements" : { - "def" : [ { - "localId" : "209", - "name" : "Patient", - "context" : "Patient", - "expression" : { - "localId" : "210", - "type" : "SingletonFrom", - "signature" : [ ], - "operand" : { - "localId" : "208", - "dataType" : "{https://github.com/cqframework/cql-execution/simple}Patient", - "type" : "Retrieve", - "include" : [ ], - "codeFilter" : [ ], - "dateFilter" : [ ], - "otherFilter" : [ ] - } - } - }, { - "localId" : "214", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "ProperlyIncludesIntIvl", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "214", - "s" : [ { - "value" : [ "","define ","ProperlyIncludesIntIvl",": " ] - }, { - "r" : "225", - "s" : [ { - "r" : "217", - "s" : [ { - "r" : "215", - "value" : [ "Interval[","2",", ","4","]" ] - } ] - }, { - "r" : "225", - "value" : [ " ","properly included in"," " ] - }, { - "r" : "222", - "s" : [ { - "r" : "220", - "value" : [ "Interval[","1",", ","5","]" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "225", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "ProperIncludedIn", - "signature" : [ { - "localId" : "226", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "227", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "228", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "229", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "217", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "218", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "219", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "215", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal" - }, - "high" : { - "localId" : "216", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "4", - "type" : "Literal" - } - }, { - "localId" : "222", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "223", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "224", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "220", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "high" : { - "localId" : "221", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal" - } - } ] - } - }, { - "localId" : "239", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "ProperlyIncludesIntBeginsIvl", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "239", - "s" : [ { - "value" : [ "","define ","ProperlyIncludesIntBeginsIvl",": " ] - }, { - "r" : "250", - "s" : [ { - "r" : "242", - "s" : [ { - "r" : "240", - "value" : [ "Interval[","1",", ","4","]" ] - } ] - }, { - "r" : "250", - "value" : [ " ","properly included in"," " ] - }, { - "r" : "247", - "s" : [ { - "r" : "245", - "value" : [ "Interval[","1",", ","5","]" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "250", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "ProperIncludedIn", - "signature" : [ { - "localId" : "251", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "252", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "253", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "254", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "242", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "243", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "244", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "240", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "high" : { - "localId" : "241", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "4", - "type" : "Literal" - } - }, { - "localId" : "247", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "248", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "249", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "245", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "high" : { - "localId" : "246", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal" - } - } ] - } - }, { - "localId" : "264", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "ProperlyIncludesIntEndsIvl", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "264", - "s" : [ { - "value" : [ "","define ","ProperlyIncludesIntEndsIvl",": " ] - }, { - "r" : "275", - "s" : [ { - "r" : "267", - "s" : [ { - "r" : "265", - "value" : [ "Interval[","2",", ","5","]" ] - } ] - }, { - "r" : "275", - "value" : [ " ","properly included in"," " ] - }, { - "r" : "272", - "s" : [ { - "r" : "270", - "value" : [ "Interval[","1",", ","5","]" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "275", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "ProperIncludedIn", - "signature" : [ { - "localId" : "276", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "277", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "278", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "279", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "267", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "268", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "269", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "265", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal" - }, - "high" : { - "localId" : "266", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal" - } - }, { - "localId" : "272", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "273", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "274", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "270", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "high" : { - "localId" : "271", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal" - } - } ] - } - }, { - "localId" : "289", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "NotProperlyIncludesIntIvl", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "289", - "s" : [ { - "value" : [ "","define ","NotProperlyIncludesIntIvl",": " ] - }, { - "r" : "300", - "s" : [ { - "r" : "292", - "s" : [ { - "r" : "290", - "value" : [ "Interval[","1",", ","5","]" ] - } ] - }, { - "r" : "300", - "value" : [ " ","properly included in"," " ] - }, { - "r" : "297", - "s" : [ { - "r" : "295", - "value" : [ "Interval[","1",", ","5","]" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "300", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "ProperIncludedIn", - "signature" : [ { - "localId" : "301", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "302", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "303", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "304", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "292", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "293", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "294", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "290", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "high" : { - "localId" : "291", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal" - } - }, { - "localId" : "297", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "298", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "299", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "295", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "high" : { - "localId" : "296", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal" - } - } ] - } - }, { - "localId" : "314", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "ProperlyIncludesRealIvl", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "314", - "s" : [ { - "value" : [ "","define ","ProperlyIncludesRealIvl",": " ] - }, { - "r" : "325", - "s" : [ { - "r" : "317", - "s" : [ { - "r" : "315", - "value" : [ "Interval[","2.34",", ","2.56","]" ] - } ] - }, { - "r" : "325", - "value" : [ " ","properly included in"," " ] - }, { - "r" : "322", - "s" : [ { - "r" : "320", - "value" : [ "Interval[","1.234",", ","3.456","]" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "325", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "ProperIncludedIn", - "signature" : [ { - "localId" : "326", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "327", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "328", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "329", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "317", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "318", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "319", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "315", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "2.34", - "type" : "Literal" - }, - "high" : { - "localId" : "316", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "2.56", - "type" : "Literal" - } - }, { - "localId" : "322", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "323", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "324", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "320", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "1.234", - "type" : "Literal" - }, - "high" : { - "localId" : "321", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "3.456", - "type" : "Literal" - } - } ] - } - }, { - "localId" : "339", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "NotProperlyIncludesRealIvl", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "339", - "s" : [ { - "value" : [ "","define ","NotProperlyIncludesRealIvl",": " ] - }, { - "r" : "350", - "s" : [ { - "r" : "342", - "s" : [ { - "r" : "340", - "value" : [ "Interval[","1.23",", ","2.56","]" ] - } ] - }, { - "r" : "350", - "value" : [ " ","properly included in"," " ] - }, { - "r" : "347", - "s" : [ { - "r" : "345", - "value" : [ "Interval[","1.23",", ","2.56","]" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "350", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "ProperIncludedIn", - "signature" : [ { - "localId" : "351", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "352", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "353", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "354", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "342", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "343", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "344", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "340", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "1.23", - "type" : "Literal" - }, - "high" : { - "localId" : "341", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "2.56", - "type" : "Literal" - } - }, { - "localId" : "347", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "348", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "349", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "345", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "1.23", - "type" : "Literal" - }, - "high" : { - "localId" : "346", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "2.56", - "type" : "Literal" - } - } ] - } - }, { - "localId" : "364", - "name" : "DateIvl", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "364", - "s" : [ { - "value" : [ "","define ","DateIvl",": " ] - }, { - "r" : "413", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "381", - "s" : [ { - "r" : "365", - "value" : [ "DateTime","(","2012",", ","3",", ","1",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "405", - "s" : [ { - "r" : "389", - "value" : [ "DateTime","(","2012",", ","9",", ","1",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ ")" ] - } ] - } ] - } - } ], - "resultTypeSpecifier" : { - "localId" : "416", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "417", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "expression" : { - "localId" : "413", - "lowClosed" : true, - "highClosed" : false, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "414", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "415", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "381", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "382", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "383", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "384", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "385", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "386", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "387", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "388", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "365", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "366", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "367", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "368", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "369", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "370", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "371", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - }, - "high" : { - "localId" : "405", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "406", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "407", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "408", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "409", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "410", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "411", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "412", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "389", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "390", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "9", - "type" : "Literal" - }, - "day" : { - "localId" : "391", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "392", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "393", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "394", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "395", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - } - } - }, { - "localId" : "420", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "ProperlyIncludesDateIvl", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "420", - "s" : [ { - "value" : [ "","define ","ProperlyIncludesDateIvl",": " ] - }, { - "r" : "475", - "s" : [ { - "r" : "469", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "437", - "s" : [ { - "r" : "421", - "value" : [ "DateTime","(","2012",", ","4",", ","1",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "461", - "s" : [ { - "r" : "445", - "value" : [ "DateTime","(","2012",", ","6",", ","1",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ ")" ] - } ] - }, { - "r" : "475", - "value" : [ " ","properly included in"," " ] - }, { - "r" : "472", - "s" : [ { - "value" : [ "DateIvl" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "475", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "ProperIncludedIn", - "signature" : [ { - "localId" : "476", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "477", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "478", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "479", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "469", - "lowClosed" : true, - "highClosed" : false, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "470", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "471", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "437", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "438", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "439", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "440", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "441", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "442", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "443", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "444", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "421", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "422", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "4", - "type" : "Literal" - }, - "day" : { - "localId" : "423", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "424", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "425", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "426", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "427", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - }, - "high" : { - "localId" : "461", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "462", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "463", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "464", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "465", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "466", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "467", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "468", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "445", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "446", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "6", - "type" : "Literal" - }, - "day" : { - "localId" : "447", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "448", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "449", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "450", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "451", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - } - }, { - "localId" : "472", - "name" : "DateIvl", - "type" : "ExpressionRef", - "resultTypeSpecifier" : { - "localId" : "473", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "474", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - } ] - } - }, { - "localId" : "489", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "NotProperlyIncludesDateIvl", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "489", - "s" : [ { - "value" : [ "","define ","NotProperlyIncludesDateIvl",": " ] - }, { - "r" : "544", - "s" : [ { - "r" : "538", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "506", - "s" : [ { - "r" : "490", - "value" : [ "DateTime","(","2012",", ","3",", ","1",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "530", - "s" : [ { - "r" : "514", - "value" : [ "DateTime","(","2012",", ","9",", ","1",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ ")" ] - } ] - }, { - "r" : "544", - "value" : [ " ","properly included in"," " ] - }, { - "r" : "541", - "s" : [ { - "value" : [ "DateIvl" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "544", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "ProperIncludedIn", - "signature" : [ { - "localId" : "545", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "546", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "547", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "548", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "538", - "lowClosed" : true, - "highClosed" : false, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "539", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "540", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "506", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "507", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "508", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "509", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "510", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "511", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "512", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "513", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "490", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "491", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "492", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "493", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "494", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "495", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "496", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - }, - "high" : { - "localId" : "530", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "531", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "532", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "533", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "534", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "535", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "536", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "537", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "514", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "515", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "9", - "type" : "Literal" - }, - "day" : { - "localId" : "516", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "517", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "518", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "519", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "520", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - } - }, { - "localId" : "541", - "name" : "DateIvl", - "type" : "ExpressionRef", - "resultTypeSpecifier" : { - "localId" : "542", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "543", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - } ] - } - }, { - "localId" : "558", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "PosInfEndProperlyIncludedInDateIvl", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "558", - "s" : [ { - "value" : [ "","define ","PosInfEndProperlyIncludedInDateIvl",": " ] - }, { - "r" : "617", - "s" : [ { - "r" : "584", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "575", - "s" : [ { - "r" : "559", - "value" : [ "DateTime","(","2013",", ","1",", ","1",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "r" : "583", - "value" : [ ", ","null","]" ] - } ] - }, { - "r" : "617", - "value" : [ " ","properly included in"," " ] - }, { - "r" : "613", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "604", - "s" : [ { - "r" : "588", - "value" : [ "DateTime","(","2000",", ","1",", ","1",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "r" : "612", - "value" : [ ", ","null","]" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "617", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "ProperIncludedIn", - "signature" : [ { - "localId" : "618", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "619", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "620", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "621", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "584", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "586", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "587", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "575", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "576", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "577", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "578", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "579", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "580", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "581", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "582", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "559", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2013", - "type" : "Literal" - }, - "month" : { - "localId" : "560", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "561", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "562", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "563", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "564", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "565", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - }, - "high" : { - "localId" : "585", - "asType" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "As", - "signature" : [ ], - "operand" : { - "localId" : "583", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - } - } - }, { - "localId" : "613", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "615", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "616", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "604", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "605", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "606", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "607", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "608", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "609", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "610", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "611", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "588", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "589", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "590", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "591", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "592", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "593", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "594", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - }, - "high" : { - "localId" : "614", - "asType" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "As", - "signature" : [ ], - "operand" : { - "localId" : "612", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - } - } - } ] - } - }, { - "localId" : "631", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "PosInfEndNotProperlyIncludedInDateIvl", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "631", - "s" : [ { - "value" : [ "","define ","PosInfEndNotProperlyIncludedInDateIvl",": " ] - }, { - "r" : "712", - "s" : [ { - "r" : "657", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "648", - "s" : [ { - "r" : "632", - "value" : [ "DateTime","(","2013",", ","1",", ","1",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "r" : "656", - "value" : [ ", ","null","]" ] - } ] - }, { - "r" : "712", - "value" : [ " ","properly included in"," " ] - }, { - "r" : "709", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "677", - "s" : [ { - "r" : "661", - "value" : [ "DateTime","(","2000",", ","1",", ","1",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "701", - "s" : [ { - "r" : "685", - "value" : [ "DateTime","(","2020",", ","1",", ","1",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ "]" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "712", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "ProperIncludedIn", - "signature" : [ { - "localId" : "713", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "714", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "715", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "716", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "657", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "659", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "660", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "648", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "649", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "650", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "651", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "652", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "653", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "654", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "655", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "632", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2013", - "type" : "Literal" - }, - "month" : { - "localId" : "633", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "634", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "635", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "636", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "637", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "638", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - }, - "high" : { - "localId" : "658", - "asType" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "As", - "signature" : [ ], - "operand" : { - "localId" : "656", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - } - } - }, { - "localId" : "709", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "710", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "711", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "677", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "678", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "679", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "680", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "681", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "682", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "683", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "684", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "661", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "662", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "663", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "664", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "665", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "666", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "667", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - }, - "high" : { - "localId" : "701", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "702", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "703", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "704", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "705", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "706", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "707", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "708", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "685", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2020", - "type" : "Literal" - }, - "month" : { - "localId" : "686", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "687", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "688", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "689", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "690", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "691", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - } - } ] - } - }, { - "localId" : "726", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "UnknownEndMayBeProperlyIncludedInDateIvl", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "726", - "s" : [ { - "value" : [ "","define ","UnknownEndMayBeProperlyIncludedInDateIvl",": " ] - }, { - "r" : "807", - "s" : [ { - "r" : "752", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "743", - "s" : [ { - "r" : "727", - "value" : [ "DateTime","(","2013",", ","1",", ","1",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "r" : "751", - "value" : [ ", ","null",")" ] - } ] - }, { - "r" : "807", - "value" : [ " ","properly included in"," " ] - }, { - "r" : "804", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "772", - "s" : [ { - "r" : "756", - "value" : [ "DateTime","(","2000",", ","1",", ","1",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "796", - "s" : [ { - "r" : "780", - "value" : [ "DateTime","(","2020",", ","1",", ","1",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ "]" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "807", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "ProperIncludedIn", - "signature" : [ { - "localId" : "808", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "809", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "810", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "811", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "752", - "lowClosed" : true, - "highClosed" : false, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "754", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "755", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "743", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "744", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "745", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "746", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "747", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "748", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "749", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "750", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "727", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2013", - "type" : "Literal" - }, - "month" : { - "localId" : "728", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "729", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "730", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "731", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "732", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "733", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - }, - "high" : { - "localId" : "753", - "asType" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "As", - "signature" : [ ], - "operand" : { - "localId" : "751", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - } - } - }, { - "localId" : "804", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "805", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "806", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "772", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "773", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "774", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "775", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "776", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "777", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "778", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "779", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "756", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "757", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "758", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "759", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "760", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "761", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "762", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - }, - "high" : { - "localId" : "796", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "797", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "798", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "799", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "800", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "801", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "802", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "803", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "780", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2020", - "type" : "Literal" - }, - "month" : { - "localId" : "781", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "782", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "783", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "784", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "785", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "786", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - } - } ] - } - }, { - "localId" : "821", - "name" : "PrecisionDateIvl", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "821", - "s" : [ { - "value" : [ "","define ","PrecisionDateIvl",": " ] - }, { - "r" : "870", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "838", - "s" : [ { - "r" : "822", - "value" : [ "DateTime","(","2012",", ","3",", ","2",", ","12",", ","34",", ","56",", ","789",")" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "862", - "s" : [ { - "r" : "846", - "value" : [ "DateTime","(","2012",", ","9",", ","2",", ","1",", ","23",", ","45",", ","678",")" ] - } ] - }, { - "value" : [ ")" ] - } ] - } ] - } - } ], - "resultTypeSpecifier" : { - "localId" : "873", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "874", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "expression" : { - "localId" : "870", - "lowClosed" : true, - "highClosed" : false, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "871", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "872", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "838", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "839", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "840", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "841", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "842", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "843", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "844", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "845", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "822", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "823", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "824", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal" - }, - "hour" : { - "localId" : "825", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "12", - "type" : "Literal" - }, - "minute" : { - "localId" : "826", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "34", - "type" : "Literal" - }, - "second" : { - "localId" : "827", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "56", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "828", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "789", - "type" : "Literal" - } - }, - "high" : { - "localId" : "862", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "863", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "864", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "865", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "866", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "867", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "868", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "869", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "846", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "847", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "9", - "type" : "Literal" - }, - "day" : { - "localId" : "848", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal" - }, - "hour" : { - "localId" : "849", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "minute" : { - "localId" : "850", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "23", - "type" : "Literal" - }, - "second" : { - "localId" : "851", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "45", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "852", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "678", - "type" : "Literal" - } - } - } - }, { - "localId" : "877", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "ProperlyIncludesDayOfIvlLowEdge", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "877", - "s" : [ { - "value" : [ "","define ","ProperlyIncludesDayOfIvlLowEdge",": " ] - }, { - "r" : "932", - "s" : [ { - "r" : "926", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "894", - "s" : [ { - "r" : "878", - "value" : [ "DateTime","(","2012",", ","3",", ","2",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "918", - "s" : [ { - "r" : "902", - "value" : [ "DateTime","(","2012",", ","6",", ","1",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ ")" ] - } ] - }, { - "r" : "932", - "value" : [ " ","properly included in day of"," " ] - }, { - "r" : "929", - "s" : [ { - "value" : [ "PrecisionDateIvl" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "932", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "precision" : "Day", - "type" : "ProperIncludedIn", - "signature" : [ { - "localId" : "933", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "934", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "935", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "936", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "926", - "lowClosed" : true, - "highClosed" : false, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "927", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "928", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "894", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "895", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "896", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "897", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "898", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "899", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "900", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "901", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "878", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "879", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "880", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal" - }, - "hour" : { - "localId" : "881", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "882", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "883", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "884", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - }, - "high" : { - "localId" : "918", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "919", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "920", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "921", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "922", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "923", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "924", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "925", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "902", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "903", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "6", - "type" : "Literal" - }, - "day" : { - "localId" : "904", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "905", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "906", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "907", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "908", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - } - }, { - "localId" : "929", - "name" : "PrecisionDateIvl", - "type" : "ExpressionRef", - "resultTypeSpecifier" : { - "localId" : "930", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "931", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - } ] - } - }, { - "localId" : "946", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "ProperlyIncludesDayOfIvlHighEdge", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "946", - "s" : [ { - "value" : [ "","define ","ProperlyIncludesDayOfIvlHighEdge",": " ] - }, { - "r" : "1001", - "s" : [ { - "r" : "995", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "963", - "s" : [ { - "r" : "947", - "value" : [ "DateTime","(","2012",", ","6",", ","1",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "987", - "s" : [ { - "r" : "971", - "value" : [ "DateTime","(","2012",", ","9",", ","2",", ","23",", ","59",", ","59",", ","999",")" ] - } ] - }, { - "value" : [ ")" ] - } ] - }, { - "r" : "1001", - "value" : [ " ","properly included in day of"," " ] - }, { - "r" : "998", - "s" : [ { - "value" : [ "PrecisionDateIvl" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "1001", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "precision" : "Day", - "type" : "ProperIncludedIn", - "signature" : [ { - "localId" : "1002", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1003", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "1004", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1005", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "995", - "lowClosed" : true, - "highClosed" : false, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "996", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "997", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "963", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "964", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "965", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "966", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "967", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "968", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "969", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "970", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "947", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "948", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "6", - "type" : "Literal" - }, - "day" : { - "localId" : "949", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "950", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "951", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "952", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "953", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - }, - "high" : { - "localId" : "987", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "988", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "989", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "990", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "991", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "992", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "993", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "994", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "971", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "972", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "9", - "type" : "Literal" - }, - "day" : { - "localId" : "973", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal" - }, - "hour" : { - "localId" : "974", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "23", - "type" : "Literal" - }, - "minute" : { - "localId" : "975", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal" - }, - "second" : { - "localId" : "976", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "977", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "999", - "type" : "Literal" - } - } - }, { - "localId" : "998", - "name" : "PrecisionDateIvl", - "type" : "ExpressionRef", - "resultTypeSpecifier" : { - "localId" : "999", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1000", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - } ] - } - }, { - "localId" : "1015", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "ProperlyIncludesDayOfIvlNearEdges", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "1015", - "s" : [ { - "value" : [ "","define ","ProperlyIncludesDayOfIvlNearEdges",": " ] - }, { - "r" : "1070", - "s" : [ { - "r" : "1064", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "1032", - "s" : [ { - "r" : "1016", - "value" : [ "DateTime","(","2012",", ","3",", ","3",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "1056", - "s" : [ { - "r" : "1040", - "value" : [ "DateTime","(","2012",", ","9",", ","1",", ","23",", ","59",", ","59",", ","999",")" ] - } ] - }, { - "value" : [ ")" ] - } ] - }, { - "r" : "1070", - "value" : [ " ","properly included in day of"," " ] - }, { - "r" : "1067", - "s" : [ { - "value" : [ "PrecisionDateIvl" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "1070", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "precision" : "Day", - "type" : "ProperIncludedIn", - "signature" : [ { - "localId" : "1071", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1072", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "1073", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1074", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "1064", - "lowClosed" : true, - "highClosed" : false, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "1065", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1066", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "1032", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "1033", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1034", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1035", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1036", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1037", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1038", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1039", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1016", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "1017", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "1018", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "hour" : { - "localId" : "1019", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "1020", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "1021", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "1022", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - }, - "high" : { - "localId" : "1056", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "1057", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1058", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1059", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1060", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1061", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1062", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1063", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1040", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "1041", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "9", - "type" : "Literal" - }, - "day" : { - "localId" : "1042", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "1043", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "23", - "type" : "Literal" - }, - "minute" : { - "localId" : "1044", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal" - }, - "second" : { - "localId" : "1045", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "1046", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "999", - "type" : "Literal" - } - } - }, { - "localId" : "1067", - "name" : "PrecisionDateIvl", - "type" : "ExpressionRef", - "resultTypeSpecifier" : { - "localId" : "1068", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1069", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - } ] - } - }, { - "localId" : "1084", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "NotProperlyIncludesDayOfIvlSameEdges", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "1084", - "s" : [ { - "value" : [ "","define ","NotProperlyIncludesDayOfIvlSameEdges",": " ] - }, { - "r" : "1139", - "s" : [ { - "r" : "1133", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "1101", - "s" : [ { - "r" : "1085", - "value" : [ "DateTime","(","2012",", ","3",", ","2",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "1125", - "s" : [ { - "r" : "1109", - "value" : [ "DateTime","(","2012",", ","9",", ","2",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ "]" ] - } ] - }, { - "r" : "1139", - "value" : [ " ","properly included in day of"," " ] - }, { - "r" : "1136", - "s" : [ { - "value" : [ "PrecisionDateIvl" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "1139", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "precision" : "Day", - "type" : "ProperIncludedIn", - "signature" : [ { - "localId" : "1140", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1141", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "1142", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1143", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "1133", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "1134", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1135", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "1101", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "1102", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1103", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1104", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1105", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1106", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1107", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1108", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1085", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "1086", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "1087", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal" - }, - "hour" : { - "localId" : "1088", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "1089", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "1090", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "1091", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - }, - "high" : { - "localId" : "1125", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "1126", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1127", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1128", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1129", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1130", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1131", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1132", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1109", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "1110", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "9", - "type" : "Literal" - }, - "day" : { - "localId" : "1111", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal" - }, - "hour" : { - "localId" : "1112", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "1113", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "1114", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "1115", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - } - }, { - "localId" : "1136", - "name" : "PrecisionDateIvl", - "type" : "ExpressionRef", - "resultTypeSpecifier" : { - "localId" : "1137", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1138", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - } ] - } - }, { - "localId" : "1153", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "MayProperlyIncludeDayOfIvlVeryImpreciseLow", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "1153", - "s" : [ { - "value" : [ "","define ","MayProperlyIncludeDayOfIvlVeryImpreciseLow",": " ] - }, { - "r" : "1178", - "s" : [ { - "r" : "1172", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "1160", - "s" : [ { - "r" : "1154", - "value" : [ "DateTime","(","2012",", ","3",")" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "1169", - "s" : [ { - "r" : "1163", - "value" : [ "DateTime","(","2012",", ","6",")" ] - } ] - }, { - "value" : [ "]" ] - } ] - }, { - "r" : "1178", - "value" : [ " ","properly included in day of"," " ] - }, { - "r" : "1175", - "s" : [ { - "value" : [ "PrecisionDateIvl" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "1178", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "precision" : "Day", - "type" : "ProperIncludedIn", - "signature" : [ { - "localId" : "1179", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1180", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "1181", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1182", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "1172", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "1173", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1174", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "1160", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "1161", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1162", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1154", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "1155", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - } - }, - "high" : { - "localId" : "1169", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "1170", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1171", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1163", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "1164", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "6", - "type" : "Literal" - } - } - }, { - "localId" : "1175", - "name" : "PrecisionDateIvl", - "type" : "ExpressionRef", - "resultTypeSpecifier" : { - "localId" : "1176", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1177", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - } ] - } - }, { - "localId" : "1192", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "MayProperlyIncludeDayOfIvlVeryImpreciseHigh", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "1192", - "s" : [ { - "value" : [ "","define ","MayProperlyIncludeDayOfIvlVeryImpreciseHigh",": " ] - }, { - "r" : "1217", - "s" : [ { - "r" : "1211", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "1199", - "s" : [ { - "r" : "1193", - "value" : [ "DateTime","(","2012",", ","6",")" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "1208", - "s" : [ { - "r" : "1202", - "value" : [ "DateTime","(","2012",", ","9",")" ] - } ] - }, { - "value" : [ "]" ] - } ] - }, { - "r" : "1217", - "value" : [ " ","properly included in day of"," " ] - }, { - "r" : "1214", - "s" : [ { - "value" : [ "PrecisionDateIvl" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "1217", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "precision" : "Day", - "type" : "ProperIncludedIn", - "signature" : [ { - "localId" : "1218", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1219", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "1220", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1221", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "1211", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "1212", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1213", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "1199", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "1200", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1201", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1193", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "1194", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "6", - "type" : "Literal" - } - }, - "high" : { - "localId" : "1208", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "1209", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1210", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1202", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "1203", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "9", - "type" : "Literal" - } - } - }, { - "localId" : "1214", - "name" : "PrecisionDateIvl", - "type" : "ExpressionRef", - "resultTypeSpecifier" : { - "localId" : "1215", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1216", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - } ] - } - }, { - "localId" : "1231", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "MayProperlyIncludeDayOfIvlVeryImpreciseLowAndHigh", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "1231", - "s" : [ { - "value" : [ "","define ","MayProperlyIncludeDayOfIvlVeryImpreciseLowAndHigh",": " ] - }, { - "r" : "1256", - "s" : [ { - "r" : "1250", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "1238", - "s" : [ { - "r" : "1232", - "value" : [ "DateTime","(","2012",", ","3",")" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "1247", - "s" : [ { - "r" : "1241", - "value" : [ "DateTime","(","2012",", ","9",")" ] - } ] - }, { - "value" : [ "]" ] - } ] - }, { - "r" : "1256", - "value" : [ " ","properly included in day of"," " ] - }, { - "r" : "1253", - "s" : [ { - "value" : [ "PrecisionDateIvl" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "1256", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "precision" : "Day", - "type" : "ProperIncludedIn", - "signature" : [ { - "localId" : "1257", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1258", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "1259", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1260", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "1250", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "1251", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1252", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "1238", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "1239", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1240", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1232", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "1233", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - } - }, - "high" : { - "localId" : "1247", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "1248", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1249", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1241", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "1242", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "9", - "type" : "Literal" - } - } - }, { - "localId" : "1253", - "name" : "PrecisionDateIvl", - "type" : "ExpressionRef", - "resultTypeSpecifier" : { - "localId" : "1254", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1255", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - } ] - } - }, { - "localId" : "1270", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "MayProperlyIncludeDayOfIvlVeryImpreciseSurrounding", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "1270", - "s" : [ { - "value" : [ "","define ","MayProperlyIncludeDayOfIvlVeryImpreciseSurrounding",": " ] - }, { - "r" : "1289", - "s" : [ { - "r" : "1283", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "1275", - "s" : [ { - "r" : "1271", - "value" : [ "DateTime","(","2012",")" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "1281", - "s" : [ { - "r" : "1277", - "value" : [ "DateTime","(","2012",")" ] - } ] - }, { - "value" : [ "]" ] - } ] - }, { - "r" : "1289", - "value" : [ " ","properly included in day of"," " ] - }, { - "r" : "1286", - "s" : [ { - "value" : [ "PrecisionDateIvl" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "1289", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "precision" : "Day", - "type" : "ProperIncludedIn", - "signature" : [ { - "localId" : "1290", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1291", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "1292", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1293", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "1283", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "1284", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1285", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "1275", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "1276", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1271", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - } - }, - "high" : { - "localId" : "1281", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "1282", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1277", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - } - } - }, { - "localId" : "1286", - "name" : "PrecisionDateIvl", - "type" : "ExpressionRef", - "resultTypeSpecifier" : { - "localId" : "1287", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1288", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - } ] - } - } ] - } - } -} - -/* After -library TestSnippet version '1' -using Simple version '1.0.0' -context Patient -define AfterIntIvl: Interval[5, 10] after Interval[2, 4] -define NotAfterIntIvl: Interval[5, 10] after Interval[2, 5] -define AfterRealIvl: Interval[1.234, 2.345] after Interval[0.0, 1.23] -define NotAfterRealIvl: Interval[1.234, 2.345] after Interval[0.0, 1.234] -define DateIvl: Interval[DateTime(2012, 3, 1, 0, 0, 0, 0), DateTime(2012, 9, 1, 0, 0, 0, 0)) -define AfterDateIvl: DateIvl after Interval[DateTime(2012, 1, 1, 0, 0, 0, 0), DateTime(2012, 3, 1, 0, 0, 0, 0)) -define NotAfterDateIvl: DateIvl after Interval[DateTime(2012, 1, 1, 0, 0, 0, 0), DateTime(2012, 3, 1, 0, 0, 0, 0)] -define AfterImpreciseDateIvl: DateIvl after Interval[DateTime(2012, 1), DateTime(2012, 2)] -define NotAfterImpreciseDateIvl: DateIvl after Interval[DateTime(2012, 1), DateTime(2012, 3)] -define MayBeAfterImpreciseDateIvl: DateIvl after Interval[DateTime(2012), DateTime(2012)] -define PrecisionDateIvl: Interval[DateTime(2012, 3, 2, 12, 34, 56, 789), DateTime(2012, 9, 2, 1, 23, 45, 678)) -define AfterDayOfIvl: PrecisionDateIvl after day of Interval[DateTime(2012, 1, 2, 0, 0, 0, 0), DateTime(2012, 3, 1, 0, 0, 0, 0)] -define BeforeDayOfIvl: PrecisionDateIvl after day of Interval[DateTime(2012, 9, 3, 0, 0, 0, 0), DateTime(2012, 12, 1, 0, 0, 0, 0)] -define StartsSameDayOfIvlEnd: PrecisionDateIvl after day of Interval[DateTime(2012, 9, 2, 23, 59, 59, 999), DateTime(2012, 10, 2, 0, 0, 0, 0)] -define EndsSameDayOfIvlStart: PrecisionDateIvl after day of Interval[DateTime(2012, 1, 2, 0, 0, 0, 0), DateTime(2012, 3, 2, 0, 0, 0, 0)] -define MayBeAfterDayOfImpreciseIvl: PrecisionDateIvl after day of Interval[DateTime(2012, 1), DateTime(2012, 3)] -define MayBeBeforeDayOfImpreciseIvl: PrecisionDateIvl after day of Interval[DateTime(2012, 9), DateTime(2012, 12)] -define ImpDateIvl: Interval[DateTime(2012, 3), DateTime(2012, 8)] -define ImpreciseAfterDateIvl: ImpDateIvl after Interval[DateTime(2012, 1, 1, 0, 0, 0, 0), DateTime(2012, 3, 1, 0, 0, 0, 0)) -define ImpreciseNotAfterDateIvl: ImpDateIvl after Interval[DateTime(2012, 1, 1, 0, 0, 0, 0), DateTime(2012, 4, 1, 0, 0, 0, 0)) -define ImpreciseMayBeAfterDateIvl: ImpDateIvl after Interval[DateTime(2012, 1, 1, 0, 0, 0, 0), DateTime(2012, 3, 15, 0, 0, 0, 0)) -define NegInfBegNotAfterIntIvl: Interval[null, 100] after Interval[-100, 0] -define UnknownBegMayBeAfterIntIvl: Interval(null, 100] after Interval[-100, 0] -define UnknownBegNotAfterIntIvl: Interval(null, 5] after Interval[0, 100] -define PosInfEndAfterIntIvl: Interval[0, null] after Interval[-100, -20] -define PosInfEndNotAfterIntIvl: Interval[0, null] after Interval[-100, 0] -define UnknownEndAfterIntIvl: Interval[0, null) after Interval[-100, -20] -define UnknownEndNotAfterIntIvl: Interval[0, null) after Interval[-100, 0] -define NegInfBegNotAfterDateIvl: Interval[null, DateTime(2013, 1, 1, 0, 0, 0, 0)) after Interval[DateTime(2000, 1, 1, 0, 0, 0, 0), DateTime(2010, 1, 1, 0, 0, 0, 0)] -define UnknownBegMayBeAfterDateIvl: Interval(null, DateTime(2013, 1, 1, 0, 0, 0, 0)) after Interval[DateTime(2000, 1, 1, 0, 0, 0, 0), DateTime(2010, 1, 1, 0, 0, 0, 0)] -define UnknownBegNotAfterDateIvl: Interval(null, DateTime(2013, 1, 1, 0, 0, 0, 0)) after Interval[DateTime(2000, 1, 1, 0, 0, 0, 0), DateTime(2020, 1, 1, 0, 0, 0, 0)] -define PosInfEndAfterDateIvl: Interval[DateTime(2013, 1, 1, 0, 0, 0, 0), null] after Interval[DateTime(2000, 1, 1, 0, 0, 0, 0), DateTime(2010, 1, 1, 0, 0, 0, 0)] -define PosInfEndNotAfterDateIvl: Interval[DateTime(2013, 1, 1, 0, 0, 0, 0), null] after Interval[DateTime(2000, 1, 1, 0, 0, 0, 0), DateTime(2020, 1, 1, 0, 0, 0, 0)] -define UnknownEndAfterDateIvl: Interval[DateTime(2013, 1, 1, 0, 0, 0, 0), null) after Interval[DateTime(2000, 1, 1, 0, 0, 0, 0), DateTime(2010, 1, 1, 0, 0, 0, 0)] -define UnknownEndNotAfterDateIvl: Interval[DateTime(2013, 1, 1, 0, 0, 0, 0), null) after Interval[DateTime(2020, 1, 1, 0, 0, 0, 0), DateTime(2040, 1, 1, 0, 0, 0, 0)] -*/ - -module.exports['After'] = { - "library" : { - "localId" : "0", - "annotation" : [ { - "translatorVersion" : "3.27.0", - "translatorOptions" : "EnableDateRangeOptimization,EnableAnnotations,EnableResultTypes", - "signatureLevel" : "All", - "type" : "CqlToElmInfo" - }, { - "type" : "Annotation", - "s" : { - "r" : "1813", - "s" : [ { - "value" : [ "","library TestSnippet version '1'" ] - } ] - } - } ], - "identifier" : { - "id" : "TestSnippet", - "version" : "1" - }, - "schemaIdentifier" : { - "id" : "urn:hl7-org:elm", - "version" : "r1" - }, - "usings" : { - "def" : [ { - "localId" : "1", - "localIdentifier" : "System", - "uri" : "urn:hl7-org:elm-types:r1" - }, { - "localId" : "206", - "localIdentifier" : "Simple", - "uri" : "https://github.com/cqframework/cql-execution/simple", - "version" : "1.0.0", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "206", - "s" : [ { - "value" : [ "","using " ] - }, { - "s" : [ { - "value" : [ "Simple" ] - } ] - }, { - "value" : [ " version '1.0.0'" ] - } ] - } - } ] - } ] - }, - "contexts" : { - "def" : [ { - "localId" : "211", - "name" : "Patient" - } ] - }, - "statements" : { - "def" : [ { - "localId" : "209", - "name" : "Patient", - "context" : "Patient", - "expression" : { - "localId" : "210", - "type" : "SingletonFrom", - "signature" : [ ], - "operand" : { - "localId" : "208", - "dataType" : "{https://github.com/cqframework/cql-execution/simple}Patient", - "type" : "Retrieve", - "include" : [ ], - "codeFilter" : [ ], - "dateFilter" : [ ], - "otherFilter" : [ ] - } - } - }, { - "localId" : "214", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "AfterIntIvl", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "214", - "s" : [ { - "value" : [ "","define ","AfterIntIvl",": " ] - }, { - "r" : "225", - "s" : [ { - "r" : "217", - "s" : [ { - "r" : "215", - "value" : [ "Interval[","5",", ","10","]" ] - } ] - }, { - "r" : "225", - "value" : [ " ","after"," " ] - }, { - "r" : "222", - "s" : [ { - "r" : "220", - "value" : [ "Interval[","2",", ","4","]" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "225", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "After", - "signature" : [ { - "localId" : "226", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "227", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "228", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "229", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "217", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "218", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "219", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "215", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal" - }, - "high" : { - "localId" : "216", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal" - } - }, { - "localId" : "222", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "223", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "224", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "220", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal" - }, - "high" : { - "localId" : "221", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "4", - "type" : "Literal" - } - } ] - } - }, { - "localId" : "232", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "NotAfterIntIvl", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "232", - "s" : [ { - "value" : [ "","define ","NotAfterIntIvl",": " ] - }, { - "r" : "243", - "s" : [ { - "r" : "235", - "s" : [ { - "r" : "233", - "value" : [ "Interval[","5",", ","10","]" ] - } ] - }, { - "r" : "243", - "value" : [ " ","after"," " ] - }, { - "r" : "240", - "s" : [ { - "r" : "238", - "value" : [ "Interval[","2",", ","5","]" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "243", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "After", - "signature" : [ { - "localId" : "244", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "245", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "246", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "247", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "235", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "236", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "237", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "233", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal" - }, - "high" : { - "localId" : "234", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal" - } - }, { - "localId" : "240", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "241", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "242", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "238", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal" - }, - "high" : { - "localId" : "239", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal" - } - } ] - } - }, { - "localId" : "250", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "AfterRealIvl", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "250", - "s" : [ { - "value" : [ "","define ","AfterRealIvl",": " ] - }, { - "r" : "261", - "s" : [ { - "r" : "253", - "s" : [ { - "r" : "251", - "value" : [ "Interval[","1.234",", ","2.345","]" ] - } ] - }, { - "r" : "261", - "value" : [ " ","after"," " ] - }, { - "r" : "258", - "s" : [ { - "r" : "256", - "value" : [ "Interval[","0.0",", ","1.23","]" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "261", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "After", - "signature" : [ { - "localId" : "262", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "263", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "264", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "265", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "253", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "254", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "255", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "251", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "1.234", - "type" : "Literal" - }, - "high" : { - "localId" : "252", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "2.345", - "type" : "Literal" - } - }, { - "localId" : "258", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "259", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "260", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "256", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "0.0", - "type" : "Literal" - }, - "high" : { - "localId" : "257", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "1.23", - "type" : "Literal" - } - } ] - } - }, { - "localId" : "268", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "NotAfterRealIvl", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "268", - "s" : [ { - "value" : [ "","define ","NotAfterRealIvl",": " ] - }, { - "r" : "279", - "s" : [ { - "r" : "271", - "s" : [ { - "r" : "269", - "value" : [ "Interval[","1.234",", ","2.345","]" ] - } ] - }, { - "r" : "279", - "value" : [ " ","after"," " ] - }, { - "r" : "276", - "s" : [ { - "r" : "274", - "value" : [ "Interval[","0.0",", ","1.234","]" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "279", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "After", - "signature" : [ { - "localId" : "280", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "281", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "282", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "283", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "271", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "272", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "273", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "269", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "1.234", - "type" : "Literal" - }, - "high" : { - "localId" : "270", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "2.345", - "type" : "Literal" - } - }, { - "localId" : "276", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "277", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "278", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "274", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "0.0", - "type" : "Literal" - }, - "high" : { - "localId" : "275", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "1.234", - "type" : "Literal" - } - } ] - } - }, { - "localId" : "286", - "name" : "DateIvl", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "286", - "s" : [ { - "value" : [ "","define ","DateIvl",": " ] - }, { - "r" : "335", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "303", - "s" : [ { - "r" : "287", - "value" : [ "DateTime","(","2012",", ","3",", ","1",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "327", - "s" : [ { - "r" : "311", - "value" : [ "DateTime","(","2012",", ","9",", ","1",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ ")" ] - } ] - } ] - } - } ], - "resultTypeSpecifier" : { - "localId" : "338", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "339", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "expression" : { - "localId" : "335", - "lowClosed" : true, - "highClosed" : false, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "336", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "337", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "303", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "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" - }, { - "localId" : "306", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "307", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "308", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "309", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "310", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "287", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "288", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "289", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "290", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "291", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "292", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "293", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - }, - "high" : { - "localId" : "327", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "328", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "329", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "330", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "331", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "332", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "333", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "334", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "311", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "312", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "9", - "type" : "Literal" - }, - "day" : { - "localId" : "313", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "314", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "315", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "316", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "317", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - } - } - }, { - "localId" : "342", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "AfterDateIvl", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "342", - "s" : [ { - "value" : [ "","define ","AfterDateIvl",": " ] - }, { - "r" : "397", - "s" : [ { - "r" : "343", - "s" : [ { - "value" : [ "DateIvl" ] - } ] - }, { - "r" : "397", - "value" : [ " ","after"," " ] - }, { - "r" : "394", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "362", - "s" : [ { - "r" : "346", - "value" : [ "DateTime","(","2012",", ","1",", ","1",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "386", - "s" : [ { - "r" : "370", - "value" : [ "DateTime","(","2012",", ","3",", ","1",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ ")" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "397", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "After", - "signature" : [ { - "localId" : "398", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "399", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "400", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "401", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "343", - "name" : "DateIvl", - "type" : "ExpressionRef", - "resultTypeSpecifier" : { - "localId" : "344", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "345", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - }, { - "localId" : "394", - "lowClosed" : true, - "highClosed" : false, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "395", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "396", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "362", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "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" - }, { - "localId" : "365", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "366", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "367", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "368", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "369", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "346", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "347", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "348", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "349", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "350", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "351", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "352", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - }, - "high" : { - "localId" : "386", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "387", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "388", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "389", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "390", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "391", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "392", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "393", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "370", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "371", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "372", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "373", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "374", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "375", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "376", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - } - } ] - } - }, { - "localId" : "404", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "NotAfterDateIvl", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "404", - "s" : [ { - "value" : [ "","define ","NotAfterDateIvl",": " ] - }, { - "r" : "459", - "s" : [ { - "r" : "405", - "s" : [ { - "value" : [ "DateIvl" ] - } ] - }, { - "r" : "459", - "value" : [ " ","after"," " ] - }, { - "r" : "456", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "424", - "s" : [ { - "r" : "408", - "value" : [ "DateTime","(","2012",", ","1",", ","1",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "448", - "s" : [ { - "r" : "432", - "value" : [ "DateTime","(","2012",", ","3",", ","1",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ "]" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "459", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "After", - "signature" : [ { - "localId" : "460", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "461", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "462", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "463", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "405", - "name" : "DateIvl", - "type" : "ExpressionRef", - "resultTypeSpecifier" : { - "localId" : "406", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "407", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - }, { - "localId" : "456", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "457", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "458", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "424", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "425", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "426", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "427", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "428", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "429", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "430", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "431", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "408", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "409", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "410", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "411", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "412", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "413", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "414", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - }, - "high" : { - "localId" : "448", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "449", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "450", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "451", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "452", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "453", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "454", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "455", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "432", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "433", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "434", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "435", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "436", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "437", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "438", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - } - } ] - } - }, { - "localId" : "466", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "AfterImpreciseDateIvl", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "466", - "s" : [ { - "value" : [ "","define ","AfterImpreciseDateIvl",": " ] - }, { - "r" : "491", - "s" : [ { - "r" : "467", - "s" : [ { - "value" : [ "DateIvl" ] - } ] - }, { - "r" : "491", - "value" : [ " ","after"," " ] - }, { - "r" : "488", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "476", - "s" : [ { - "r" : "470", - "value" : [ "DateTime","(","2012",", ","1",")" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "485", - "s" : [ { - "r" : "479", - "value" : [ "DateTime","(","2012",", ","2",")" ] - } ] - }, { - "value" : [ "]" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "491", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "After", - "signature" : [ { - "localId" : "492", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "493", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "494", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "495", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "467", - "name" : "DateIvl", - "type" : "ExpressionRef", - "resultTypeSpecifier" : { - "localId" : "468", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "469", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - }, { - "localId" : "488", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "489", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "490", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "476", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "477", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "478", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "470", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "471", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - } - }, - "high" : { - "localId" : "485", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "486", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "487", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "479", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "480", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal" - } - } - } ] - } - }, { - "localId" : "498", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "NotAfterImpreciseDateIvl", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "498", - "s" : [ { - "value" : [ "","define ","NotAfterImpreciseDateIvl",": " ] - }, { - "r" : "523", - "s" : [ { - "r" : "499", - "s" : [ { - "value" : [ "DateIvl" ] - } ] - }, { - "r" : "523", - "value" : [ " ","after"," " ] - }, { - "r" : "520", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "508", - "s" : [ { - "r" : "502", - "value" : [ "DateTime","(","2012",", ","1",")" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "517", - "s" : [ { - "r" : "511", - "value" : [ "DateTime","(","2012",", ","3",")" ] - } ] - }, { - "value" : [ "]" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "523", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "After", - "signature" : [ { - "localId" : "524", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "525", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "526", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "527", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "499", - "name" : "DateIvl", - "type" : "ExpressionRef", - "resultTypeSpecifier" : { - "localId" : "500", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "501", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - }, { - "localId" : "520", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "521", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "522", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "508", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "509", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "510", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "502", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "503", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - } - }, - "high" : { - "localId" : "517", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "518", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "519", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "511", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "512", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - } - } - } ] - } - }, { - "localId" : "530", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "MayBeAfterImpreciseDateIvl", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "530", - "s" : [ { - "value" : [ "","define ","MayBeAfterImpreciseDateIvl",": " ] - }, { - "r" : "549", - "s" : [ { - "r" : "531", - "s" : [ { - "value" : [ "DateIvl" ] - } ] - }, { - "r" : "549", - "value" : [ " ","after"," " ] - }, { - "r" : "546", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "538", - "s" : [ { - "r" : "534", - "value" : [ "DateTime","(","2012",")" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "544", - "s" : [ { - "r" : "540", - "value" : [ "DateTime","(","2012",")" ] - } ] - }, { - "value" : [ "]" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "549", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "After", - "signature" : [ { - "localId" : "550", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "551", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "552", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "553", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "531", - "name" : "DateIvl", - "type" : "ExpressionRef", - "resultTypeSpecifier" : { - "localId" : "532", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "533", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - }, { - "localId" : "546", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "547", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "548", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "538", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "539", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "534", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - } - }, - "high" : { - "localId" : "544", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "545", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "540", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - } - } - } ] - } - }, { - "localId" : "556", - "name" : "PrecisionDateIvl", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "556", - "s" : [ { - "value" : [ "","define ","PrecisionDateIvl",": " ] - }, { - "r" : "605", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "573", - "s" : [ { - "r" : "557", - "value" : [ "DateTime","(","2012",", ","3",", ","2",", ","12",", ","34",", ","56",", ","789",")" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "597", - "s" : [ { - "r" : "581", - "value" : [ "DateTime","(","2012",", ","9",", ","2",", ","1",", ","23",", ","45",", ","678",")" ] - } ] - }, { - "value" : [ ")" ] - } ] - } ] - } - } ], - "resultTypeSpecifier" : { - "localId" : "608", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "609", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "expression" : { - "localId" : "605", - "lowClosed" : true, - "highClosed" : false, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "606", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "607", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "573", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "574", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "575", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "576", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "577", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "578", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "579", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "580", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "557", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "558", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "559", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal" - }, - "hour" : { - "localId" : "560", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "12", - "type" : "Literal" - }, - "minute" : { - "localId" : "561", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "34", - "type" : "Literal" - }, - "second" : { - "localId" : "562", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "56", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "563", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "789", - "type" : "Literal" - } - }, - "high" : { - "localId" : "597", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "598", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "599", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "600", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "601", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "602", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "603", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "604", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "581", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "582", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "9", - "type" : "Literal" - }, - "day" : { - "localId" : "583", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal" - }, - "hour" : { - "localId" : "584", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "minute" : { - "localId" : "585", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "23", - "type" : "Literal" - }, - "second" : { - "localId" : "586", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "45", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "587", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "678", - "type" : "Literal" - } - } - } - }, { - "localId" : "612", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "AfterDayOfIvl", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "612", - "s" : [ { - "value" : [ "","define ","AfterDayOfIvl",": " ] - }, { - "r" : "667", - "s" : [ { - "r" : "613", - "s" : [ { - "value" : [ "PrecisionDateIvl" ] - } ] - }, { - "r" : "667", - "value" : [ " ","after day of"," " ] - }, { - "r" : "664", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "632", - "s" : [ { - "r" : "616", - "value" : [ "DateTime","(","2012",", ","1",", ","2",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "656", - "s" : [ { - "r" : "640", - "value" : [ "DateTime","(","2012",", ","3",", ","1",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ "]" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "667", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "precision" : "Day", - "type" : "After", - "signature" : [ { - "localId" : "668", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "669", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "670", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "671", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "613", - "name" : "PrecisionDateIvl", - "type" : "ExpressionRef", - "resultTypeSpecifier" : { - "localId" : "614", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "615", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - }, { - "localId" : "664", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "665", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "666", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "632", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "633", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "634", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "635", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "636", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "637", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "638", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "639", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "616", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "617", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "618", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal" - }, - "hour" : { - "localId" : "619", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "620", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "621", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "622", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - }, - "high" : { - "localId" : "656", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "657", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "658", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "659", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "660", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "661", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "662", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "663", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "640", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "641", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "642", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "643", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "644", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "645", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "646", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - } - } ] - } - }, { - "localId" : "674", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "BeforeDayOfIvl", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "674", - "s" : [ { - "value" : [ "","define ","BeforeDayOfIvl",": " ] - }, { - "r" : "729", - "s" : [ { - "r" : "675", - "s" : [ { - "value" : [ "PrecisionDateIvl" ] - } ] - }, { - "r" : "729", - "value" : [ " ","after day of"," " ] - }, { - "r" : "726", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "694", - "s" : [ { - "r" : "678", - "value" : [ "DateTime","(","2012",", ","9",", ","3",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "718", - "s" : [ { - "r" : "702", - "value" : [ "DateTime","(","2012",", ","12",", ","1",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ "]" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "729", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "precision" : "Day", - "type" : "After", - "signature" : [ { - "localId" : "730", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "731", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "732", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "733", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "675", - "name" : "PrecisionDateIvl", - "type" : "ExpressionRef", - "resultTypeSpecifier" : { - "localId" : "676", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "677", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - }, { - "localId" : "726", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "727", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "728", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "694", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "695", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "696", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "697", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "698", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "699", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "700", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "701", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "678", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "679", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "9", - "type" : "Literal" - }, - "day" : { - "localId" : "680", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "hour" : { - "localId" : "681", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "682", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "683", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "684", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - }, - "high" : { - "localId" : "718", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "719", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "720", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "721", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "722", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "723", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "724", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "725", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "702", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "703", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "12", - "type" : "Literal" - }, - "day" : { - "localId" : "704", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "705", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "706", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "707", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "708", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - } - } ] - } - }, { - "localId" : "736", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "StartsSameDayOfIvlEnd", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "736", - "s" : [ { - "value" : [ "","define ","StartsSameDayOfIvlEnd",": " ] - }, { - "r" : "791", - "s" : [ { - "r" : "737", - "s" : [ { - "value" : [ "PrecisionDateIvl" ] - } ] - }, { - "r" : "791", - "value" : [ " ","after day of"," " ] - }, { - "r" : "788", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "756", - "s" : [ { - "r" : "740", - "value" : [ "DateTime","(","2012",", ","9",", ","2",", ","23",", ","59",", ","59",", ","999",")" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "780", - "s" : [ { - "r" : "764", - "value" : [ "DateTime","(","2012",", ","10",", ","2",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ "]" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "791", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "precision" : "Day", - "type" : "After", - "signature" : [ { - "localId" : "792", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "793", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "794", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "795", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "737", - "name" : "PrecisionDateIvl", - "type" : "ExpressionRef", - "resultTypeSpecifier" : { - "localId" : "738", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "739", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - }, { - "localId" : "788", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "789", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "790", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "756", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "757", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "758", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "759", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "760", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "761", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "762", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "763", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "740", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "741", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "9", - "type" : "Literal" - }, - "day" : { - "localId" : "742", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal" - }, - "hour" : { - "localId" : "743", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "23", - "type" : "Literal" - }, - "minute" : { - "localId" : "744", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal" - }, - "second" : { - "localId" : "745", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "746", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "999", - "type" : "Literal" - } - }, - "high" : { - "localId" : "780", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "781", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "782", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "783", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "784", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "785", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "786", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "787", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "764", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "765", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal" - }, - "day" : { - "localId" : "766", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal" - }, - "hour" : { - "localId" : "767", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "768", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "769", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "770", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - } - } ] - } - }, { - "localId" : "798", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "EndsSameDayOfIvlStart", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "798", - "s" : [ { - "value" : [ "","define ","EndsSameDayOfIvlStart",": " ] - }, { - "r" : "853", - "s" : [ { - "r" : "799", - "s" : [ { - "value" : [ "PrecisionDateIvl" ] - } ] - }, { - "r" : "853", - "value" : [ " ","after day of"," " ] - }, { - "r" : "850", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "818", - "s" : [ { - "r" : "802", - "value" : [ "DateTime","(","2012",", ","1",", ","2",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "842", - "s" : [ { - "r" : "826", - "value" : [ "DateTime","(","2012",", ","3",", ","2",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ "]" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "853", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "precision" : "Day", - "type" : "After", - "signature" : [ { - "localId" : "854", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "855", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "856", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "857", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "799", - "name" : "PrecisionDateIvl", - "type" : "ExpressionRef", - "resultTypeSpecifier" : { - "localId" : "800", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "801", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - }, { - "localId" : "850", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "851", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "852", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "818", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "819", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "820", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "821", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "822", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "823", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "824", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "825", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "802", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "803", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "804", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal" - }, - "hour" : { - "localId" : "805", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "806", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "807", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "808", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - }, - "high" : { - "localId" : "842", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "843", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "844", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "845", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "846", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "847", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "848", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "849", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "826", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "827", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "828", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal" - }, - "hour" : { - "localId" : "829", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "830", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "831", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "832", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - } - } ] - } - }, { - "localId" : "860", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "MayBeAfterDayOfImpreciseIvl", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "860", - "s" : [ { - "value" : [ "","define ","MayBeAfterDayOfImpreciseIvl",": " ] - }, { - "r" : "885", - "s" : [ { - "r" : "861", - "s" : [ { - "value" : [ "PrecisionDateIvl" ] - } ] - }, { - "r" : "885", - "value" : [ " ","after day of"," " ] - }, { - "r" : "882", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "870", - "s" : [ { - "r" : "864", - "value" : [ "DateTime","(","2012",", ","1",")" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "879", - "s" : [ { - "r" : "873", - "value" : [ "DateTime","(","2012",", ","3",")" ] - } ] - }, { - "value" : [ "]" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "885", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "precision" : "Day", - "type" : "After", - "signature" : [ { - "localId" : "886", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "887", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "888", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "889", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "861", - "name" : "PrecisionDateIvl", - "type" : "ExpressionRef", - "resultTypeSpecifier" : { - "localId" : "862", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "863", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - }, { - "localId" : "882", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "883", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "884", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "870", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "871", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "872", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "864", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "865", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - } - }, - "high" : { - "localId" : "879", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "880", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "881", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "873", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "874", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - } - } - } ] - } - }, { - "localId" : "892", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "MayBeBeforeDayOfImpreciseIvl", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "892", - "s" : [ { - "value" : [ "","define ","MayBeBeforeDayOfImpreciseIvl",": " ] - }, { - "r" : "917", - "s" : [ { - "r" : "893", - "s" : [ { - "value" : [ "PrecisionDateIvl" ] - } ] - }, { - "r" : "917", - "value" : [ " ","after day of"," " ] - }, { - "r" : "914", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "902", - "s" : [ { - "r" : "896", - "value" : [ "DateTime","(","2012",", ","9",")" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "911", - "s" : [ { - "r" : "905", - "value" : [ "DateTime","(","2012",", ","12",")" ] - } ] - }, { - "value" : [ "]" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "917", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "precision" : "Day", - "type" : "After", - "signature" : [ { - "localId" : "918", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "919", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "920", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "921", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "893", - "name" : "PrecisionDateIvl", - "type" : "ExpressionRef", - "resultTypeSpecifier" : { - "localId" : "894", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "895", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - }, { - "localId" : "914", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "915", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "916", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "902", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "903", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "904", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "896", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "897", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "9", - "type" : "Literal" - } - }, - "high" : { - "localId" : "911", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "912", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "913", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "905", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "906", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "12", - "type" : "Literal" - } - } - } ] - } - }, { - "localId" : "924", - "name" : "ImpDateIvl", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "924", - "s" : [ { - "value" : [ "","define ","ImpDateIvl",": " ] - }, { - "r" : "943", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "931", - "s" : [ { - "r" : "925", - "value" : [ "DateTime","(","2012",", ","3",")" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "940", - "s" : [ { - "r" : "934", - "value" : [ "DateTime","(","2012",", ","8",")" ] - } ] - }, { - "value" : [ "]" ] - } ] - } ] - } - } ], - "resultTypeSpecifier" : { - "localId" : "946", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "947", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "expression" : { - "localId" : "943", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "944", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "945", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "931", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "932", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "933", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "925", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "926", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - } - }, - "high" : { - "localId" : "940", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "941", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "942", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "934", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "935", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "8", - "type" : "Literal" - } - } - } - }, { - "localId" : "950", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "ImpreciseAfterDateIvl", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "950", - "s" : [ { - "value" : [ "","define ","ImpreciseAfterDateIvl",": " ] - }, { - "r" : "1005", - "s" : [ { - "r" : "951", - "s" : [ { - "value" : [ "ImpDateIvl" ] - } ] - }, { - "r" : "1005", - "value" : [ " ","after"," " ] - }, { - "r" : "1002", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "970", - "s" : [ { - "r" : "954", - "value" : [ "DateTime","(","2012",", ","1",", ","1",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "994", - "s" : [ { - "r" : "978", - "value" : [ "DateTime","(","2012",", ","3",", ","1",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ ")" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "1005", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "After", - "signature" : [ { - "localId" : "1006", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1007", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "1008", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1009", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "951", - "name" : "ImpDateIvl", - "type" : "ExpressionRef", - "resultTypeSpecifier" : { - "localId" : "952", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "953", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - }, { - "localId" : "1002", - "lowClosed" : true, - "highClosed" : false, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "1003", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1004", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "970", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "971", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "972", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "973", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "974", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "975", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "976", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "977", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "954", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "955", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "956", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "957", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "958", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "959", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "960", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - }, - "high" : { - "localId" : "994", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "995", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "996", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "997", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "998", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "999", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1000", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1001", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "978", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "979", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "980", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "981", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "982", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "983", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "984", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - } - } ] - } - }, { - "localId" : "1012", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "ImpreciseNotAfterDateIvl", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "1012", - "s" : [ { - "value" : [ "","define ","ImpreciseNotAfterDateIvl",": " ] - }, { - "r" : "1067", - "s" : [ { - "r" : "1013", - "s" : [ { - "value" : [ "ImpDateIvl" ] - } ] - }, { - "r" : "1067", - "value" : [ " ","after"," " ] - }, { - "r" : "1064", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "1032", - "s" : [ { - "r" : "1016", - "value" : [ "DateTime","(","2012",", ","1",", ","1",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "1056", - "s" : [ { - "r" : "1040", - "value" : [ "DateTime","(","2012",", ","4",", ","1",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ ")" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "1067", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "After", - "signature" : [ { - "localId" : "1068", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1069", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "1070", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1071", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "1013", - "name" : "ImpDateIvl", - "type" : "ExpressionRef", - "resultTypeSpecifier" : { - "localId" : "1014", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1015", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - }, { - "localId" : "1064", - "lowClosed" : true, - "highClosed" : false, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "1065", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1066", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "1032", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "1033", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1034", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1035", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1036", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1037", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1038", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1039", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1016", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "1017", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "1018", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "1019", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "1020", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "1021", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "1022", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - }, - "high" : { - "localId" : "1056", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "1057", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1058", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1059", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1060", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1061", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1062", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1063", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1040", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "1041", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "4", - "type" : "Literal" - }, - "day" : { - "localId" : "1042", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "1043", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "1044", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "1045", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "1046", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - } - } ] - } - }, { - "localId" : "1074", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "ImpreciseMayBeAfterDateIvl", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "1074", - "s" : [ { - "value" : [ "","define ","ImpreciseMayBeAfterDateIvl",": " ] - }, { - "r" : "1129", - "s" : [ { - "r" : "1075", - "s" : [ { - "value" : [ "ImpDateIvl" ] - } ] - }, { - "r" : "1129", - "value" : [ " ","after"," " ] - }, { - "r" : "1126", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "1094", - "s" : [ { - "r" : "1078", - "value" : [ "DateTime","(","2012",", ","1",", ","1",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "1118", - "s" : [ { - "r" : "1102", - "value" : [ "DateTime","(","2012",", ","3",", ","15",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ ")" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "1129", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "After", - "signature" : [ { - "localId" : "1130", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1131", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "1132", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1133", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "1075", - "name" : "ImpDateIvl", - "type" : "ExpressionRef", - "resultTypeSpecifier" : { - "localId" : "1076", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1077", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - }, { - "localId" : "1126", - "lowClosed" : true, - "highClosed" : false, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "1127", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1128", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "1094", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "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" - }, { - "localId" : "1097", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1098", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1099", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1100", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1101", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1078", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "1079", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "1080", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "1081", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "1082", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "1083", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "1084", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - }, - "high" : { - "localId" : "1118", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "1119", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1120", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1121", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1122", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1123", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1124", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1125", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1102", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "1103", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "1104", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal" - }, - "hour" : { - "localId" : "1105", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "1106", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "1107", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "1108", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - } - } ] - } - }, { - "localId" : "1136", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "NegInfBegNotAfterIntIvl", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "1136", - "s" : [ { - "value" : [ "","define ","NegInfBegNotAfterIntIvl",": " ] - }, { - "r" : "1150", - "s" : [ { - "r" : "1139", - "s" : [ { - "r" : "1137", - "value" : [ "Interval[","null",", ","100","]" ] - } ] - }, { - "r" : "1150", - "value" : [ " ","after"," " ] - }, { - "r" : "1147", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "1143", - "s" : [ { - "r" : "1144", - "value" : [ "-","100" ] - } ] - }, { - "r" : "1146", - "value" : [ ", ","0","]" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "1150", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "After", - "signature" : [ { - "localId" : "1151", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1152", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "1153", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1154", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "1139", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "1141", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1142", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "1140", - "asType" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "As", - "signature" : [ ], - "operand" : { - "localId" : "1137", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - } - }, - "high" : { - "localId" : "1138", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "100", - "type" : "Literal" - } - }, { - "localId" : "1147", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "1148", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1149", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "1143", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "Negate", - "signature" : [ { - "localId" : "1145", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "1144", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "100", - "type" : "Literal" - } - }, - "high" : { - "localId" : "1146", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - } ] - } - }, { - "localId" : "1157", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "UnknownBegMayBeAfterIntIvl", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "1157", - "s" : [ { - "value" : [ "","define ","UnknownBegMayBeAfterIntIvl",": " ] - }, { - "r" : "1171", - "s" : [ { - "r" : "1160", - "s" : [ { - "r" : "1158", - "value" : [ "Interval(","null",", ","100","]" ] - } ] - }, { - "r" : "1171", - "value" : [ " ","after"," " ] - }, { - "r" : "1168", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "1164", - "s" : [ { - "r" : "1165", - "value" : [ "-","100" ] - } ] - }, { - "r" : "1167", - "value" : [ ", ","0","]" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "1171", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "After", - "signature" : [ { - "localId" : "1172", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1173", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "1174", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1175", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "1160", - "lowClosed" : false, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "1162", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1163", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "1161", - "asType" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "As", - "signature" : [ ], - "operand" : { - "localId" : "1158", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - } - }, - "high" : { - "localId" : "1159", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "100", - "type" : "Literal" - } - }, { - "localId" : "1168", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "1169", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1170", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "1164", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "Negate", - "signature" : [ { - "localId" : "1166", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "1165", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "100", - "type" : "Literal" - } - }, - "high" : { - "localId" : "1167", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - } ] - } - }, { - "localId" : "1178", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "UnknownBegNotAfterIntIvl", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "1178", - "s" : [ { - "value" : [ "","define ","UnknownBegNotAfterIntIvl",": " ] - }, { - "r" : "1190", - "s" : [ { - "r" : "1181", - "s" : [ { - "r" : "1179", - "value" : [ "Interval(","null",", ","5","]" ] - } ] - }, { - "r" : "1190", - "value" : [ " ","after"," " ] - }, { - "r" : "1187", - "s" : [ { - "r" : "1185", - "value" : [ "Interval[","0",", ","100","]" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "1190", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "After", - "signature" : [ { - "localId" : "1191", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1192", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "1193", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1194", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "1181", - "lowClosed" : false, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "1183", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1184", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "1182", - "asType" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "As", - "signature" : [ ], - "operand" : { - "localId" : "1179", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - } - }, - "high" : { - "localId" : "1180", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal" - } - }, { - "localId" : "1187", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "1188", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1189", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "1185", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "high" : { - "localId" : "1186", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "100", - "type" : "Literal" - } - } ] - } - }, { - "localId" : "1197", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "PosInfEndAfterIntIvl", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "1197", - "s" : [ { - "value" : [ "","define ","PosInfEndAfterIntIvl",": " ] - }, { - "r" : "1213", - "s" : [ { - "r" : "1200", - "s" : [ { - "r" : "1198", - "value" : [ "Interval[","0",", ","null","]" ] - } ] - }, { - "r" : "1213", - "value" : [ " ","after"," " ] - }, { - "r" : "1210", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "1204", - "s" : [ { - "r" : "1205", - "value" : [ "-","100" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "1207", - "s" : [ { - "r" : "1208", - "value" : [ "-","20" ] - } ] - }, { - "value" : [ "]" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "1213", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "After", - "signature" : [ { - "localId" : "1214", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1215", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "1216", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1217", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "1200", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "1202", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1203", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "1198", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "high" : { - "localId" : "1201", - "asType" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "As", - "signature" : [ ], - "operand" : { - "localId" : "1199", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - } - } - }, { - "localId" : "1210", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "1211", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1212", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "1204", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "Negate", - "signature" : [ { - "localId" : "1206", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "1205", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "100", - "type" : "Literal" - } - }, - "high" : { - "localId" : "1207", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "Negate", - "signature" : [ { - "localId" : "1209", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "1208", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "20", - "type" : "Literal" - } - } - } ] - } - }, { - "localId" : "1220", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "PosInfEndNotAfterIntIvl", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "1220", - "s" : [ { - "value" : [ "","define ","PosInfEndNotAfterIntIvl",": " ] - }, { - "r" : "1234", - "s" : [ { - "r" : "1223", - "s" : [ { - "r" : "1221", - "value" : [ "Interval[","0",", ","null","]" ] - } ] - }, { - "r" : "1234", - "value" : [ " ","after"," " ] - }, { - "r" : "1231", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "1227", - "s" : [ { - "r" : "1228", - "value" : [ "-","100" ] - } ] - }, { - "r" : "1230", - "value" : [ ", ","0","]" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "1234", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "After", - "signature" : [ { - "localId" : "1235", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1236", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "1237", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1238", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "1223", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "1225", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1226", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "1221", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "high" : { - "localId" : "1224", - "asType" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "As", - "signature" : [ ], - "operand" : { - "localId" : "1222", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - } - } - }, { - "localId" : "1231", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "1232", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1233", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "1227", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "Negate", - "signature" : [ { - "localId" : "1229", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "1228", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "100", - "type" : "Literal" - } - }, - "high" : { - "localId" : "1230", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - } ] - } - }, { - "localId" : "1241", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "UnknownEndAfterIntIvl", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "1241", - "s" : [ { - "value" : [ "","define ","UnknownEndAfterIntIvl",": " ] - }, { - "r" : "1257", - "s" : [ { - "r" : "1244", - "s" : [ { - "r" : "1242", - "value" : [ "Interval[","0",", ","null",")" ] - } ] - }, { - "r" : "1257", - "value" : [ " ","after"," " ] - }, { - "r" : "1254", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "1248", - "s" : [ { - "r" : "1249", - "value" : [ "-","100" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "1251", - "s" : [ { - "r" : "1252", - "value" : [ "-","20" ] - } ] - }, { - "value" : [ "]" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "1257", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "After", - "signature" : [ { - "localId" : "1258", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1259", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "1260", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1261", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "1244", - "lowClosed" : true, - "highClosed" : false, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "1246", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1247", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "1242", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "high" : { - "localId" : "1245", - "asType" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "As", - "signature" : [ ], - "operand" : { - "localId" : "1243", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - } - } - }, { - "localId" : "1254", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "1255", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1256", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "1248", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "Negate", - "signature" : [ { - "localId" : "1250", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "1249", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "100", - "type" : "Literal" - } - }, - "high" : { - "localId" : "1251", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "Negate", - "signature" : [ { - "localId" : "1253", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "1252", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "20", - "type" : "Literal" - } - } - } ] - } - }, { - "localId" : "1264", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "UnknownEndNotAfterIntIvl", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "1264", - "s" : [ { - "value" : [ "","define ","UnknownEndNotAfterIntIvl",": " ] - }, { - "r" : "1278", - "s" : [ { - "r" : "1267", - "s" : [ { - "r" : "1265", - "value" : [ "Interval[","0",", ","null",")" ] - } ] - }, { - "r" : "1278", - "value" : [ " ","after"," " ] - }, { - "r" : "1275", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "1271", - "s" : [ { - "r" : "1272", - "value" : [ "-","100" ] - } ] - }, { - "r" : "1274", - "value" : [ ", ","0","]" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "1278", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "After", - "signature" : [ { - "localId" : "1279", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1280", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "1281", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1282", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "1267", - "lowClosed" : true, - "highClosed" : false, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "1269", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1270", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "1265", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "high" : { - "localId" : "1268", - "asType" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "As", - "signature" : [ ], - "operand" : { - "localId" : "1266", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - } - } - }, { - "localId" : "1275", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "1276", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1277", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "1271", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "Negate", - "signature" : [ { - "localId" : "1273", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "1272", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "100", - "type" : "Literal" - } - }, - "high" : { - "localId" : "1274", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - } ] - } - }, { - "localId" : "1285", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "NegInfBegNotAfterDateIvl", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "1285", - "s" : [ { - "value" : [ "","define ","NegInfBegNotAfterDateIvl",": " ] - }, { - "r" : "1366", - "s" : [ { - "r" : "1311", - "s" : [ { - "r" : "1286", - "value" : [ "Interval[","null",", " ] - }, { - "r" : "1303", - "s" : [ { - "r" : "1287", - "value" : [ "DateTime","(","2013",", ","1",", ","1",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ ")" ] - } ] - }, { - "r" : "1366", - "value" : [ " ","after"," " ] - }, { - "r" : "1363", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "1331", - "s" : [ { - "r" : "1315", - "value" : [ "DateTime","(","2000",", ","1",", ","1",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "1355", - "s" : [ { - "r" : "1339", - "value" : [ "DateTime","(","2010",", ","1",", ","1",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ "]" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "1366", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "After", - "signature" : [ { - "localId" : "1367", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1368", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "1369", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1370", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "1311", - "lowClosed" : true, - "highClosed" : false, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "1313", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1314", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "1312", - "asType" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "As", - "signature" : [ ], - "operand" : { - "localId" : "1286", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - } - }, - "high" : { - "localId" : "1303", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "1304", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1305", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1306", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1307", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1308", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1309", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1310", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1287", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2013", - "type" : "Literal" - }, - "month" : { - "localId" : "1288", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "1289", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "1290", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "1291", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "1292", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "1293", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - } - }, { - "localId" : "1363", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "1364", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1365", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "1331", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "1332", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1333", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1334", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1335", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1336", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1337", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1338", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1315", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "1316", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "1317", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "1318", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "1319", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "1320", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "1321", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - }, - "high" : { - "localId" : "1355", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "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" - }, { - "localId" : "1358", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1359", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1360", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1361", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1362", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1339", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2010", - "type" : "Literal" - }, - "month" : { - "localId" : "1340", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "1341", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "1342", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "1343", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "1344", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "1345", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - } - } ] - } - }, { - "localId" : "1373", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "UnknownBegMayBeAfterDateIvl", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "1373", - "s" : [ { - "value" : [ "","define ","UnknownBegMayBeAfterDateIvl",": " ] - }, { - "r" : "1454", - "s" : [ { - "r" : "1399", - "s" : [ { - "r" : "1374", - "value" : [ "Interval(","null",", " ] - }, { - "r" : "1391", - "s" : [ { - "r" : "1375", - "value" : [ "DateTime","(","2013",", ","1",", ","1",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ ")" ] - } ] - }, { - "r" : "1454", - "value" : [ " ","after"," " ] - }, { - "r" : "1451", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "1419", - "s" : [ { - "r" : "1403", - "value" : [ "DateTime","(","2000",", ","1",", ","1",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "1443", - "s" : [ { - "r" : "1427", - "value" : [ "DateTime","(","2010",", ","1",", ","1",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ "]" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "1454", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "After", - "signature" : [ { - "localId" : "1455", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1456", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "1457", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1458", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "1399", - "lowClosed" : false, - "highClosed" : false, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "1401", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1402", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "1400", - "asType" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "As", - "signature" : [ ], - "operand" : { - "localId" : "1374", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - } - }, - "high" : { - "localId" : "1391", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "1392", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1393", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1394", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1395", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1396", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1397", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1398", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1375", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2013", - "type" : "Literal" - }, - "month" : { - "localId" : "1376", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "1377", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "1378", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "1379", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "1380", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "1381", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - } - }, { - "localId" : "1451", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "1452", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1453", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "1419", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "1420", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1421", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1422", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1423", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1424", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1425", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1426", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1403", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "1404", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "1405", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "1406", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "1407", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "1408", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "1409", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - }, - "high" : { - "localId" : "1443", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "1444", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1445", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1446", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1447", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1448", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1449", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1450", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1427", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2010", - "type" : "Literal" - }, - "month" : { - "localId" : "1428", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "1429", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "1430", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "1431", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "1432", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "1433", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - } - } ] - } - }, { - "localId" : "1461", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "UnknownBegNotAfterDateIvl", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "1461", - "s" : [ { - "value" : [ "","define ","UnknownBegNotAfterDateIvl",": " ] - }, { - "r" : "1542", - "s" : [ { - "r" : "1487", - "s" : [ { - "r" : "1462", - "value" : [ "Interval(","null",", " ] - }, { - "r" : "1479", - "s" : [ { - "r" : "1463", - "value" : [ "DateTime","(","2013",", ","1",", ","1",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ ")" ] - } ] - }, { - "r" : "1542", - "value" : [ " ","after"," " ] - }, { - "r" : "1539", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "1507", - "s" : [ { - "r" : "1491", - "value" : [ "DateTime","(","2000",", ","1",", ","1",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "1531", - "s" : [ { - "r" : "1515", - "value" : [ "DateTime","(","2020",", ","1",", ","1",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ "]" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "1542", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "After", - "signature" : [ { - "localId" : "1543", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1544", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "1545", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1546", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "1487", - "lowClosed" : false, - "highClosed" : false, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "1489", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1490", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "1488", - "asType" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "As", - "signature" : [ ], - "operand" : { - "localId" : "1462", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - } - }, - "high" : { - "localId" : "1479", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "1480", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1481", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1482", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1483", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1484", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1485", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1486", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1463", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2013", - "type" : "Literal" - }, - "month" : { - "localId" : "1464", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "1465", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "1466", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "1467", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "1468", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "1469", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - } - }, { - "localId" : "1539", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "1540", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1541", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "1507", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "1508", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1509", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1510", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1511", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1512", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1513", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1514", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1491", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "1492", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "1493", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "1494", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "1495", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "1496", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "1497", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - }, - "high" : { - "localId" : "1531", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "1532", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1533", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1534", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1535", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1536", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1537", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1538", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1515", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2020", - "type" : "Literal" - }, - "month" : { - "localId" : "1516", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "1517", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "1518", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "1519", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "1520", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "1521", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - } - } ] - } - }, { - "localId" : "1549", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "PosInfEndAfterDateIvl", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "1549", - "s" : [ { - "value" : [ "","define ","PosInfEndAfterDateIvl",": " ] - }, { - "r" : "1630", - "s" : [ { - "r" : "1575", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "1566", - "s" : [ { - "r" : "1550", - "value" : [ "DateTime","(","2013",", ","1",", ","1",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "r" : "1574", - "value" : [ ", ","null","]" ] - } ] - }, { - "r" : "1630", - "value" : [ " ","after"," " ] - }, { - "r" : "1627", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "1595", - "s" : [ { - "r" : "1579", - "value" : [ "DateTime","(","2000",", ","1",", ","1",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "1619", - "s" : [ { - "r" : "1603", - "value" : [ "DateTime","(","2010",", ","1",", ","1",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ "]" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "1630", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "After", - "signature" : [ { - "localId" : "1631", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1632", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "1633", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1634", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "1575", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "1577", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1578", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "1566", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "1567", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1568", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1569", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1570", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1571", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1572", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1573", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1550", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2013", - "type" : "Literal" - }, - "month" : { - "localId" : "1551", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "1552", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "1553", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "1554", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "1555", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "1556", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - }, - "high" : { - "localId" : "1576", - "asType" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "As", - "signature" : [ ], - "operand" : { - "localId" : "1574", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - } - } - }, { - "localId" : "1627", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "1628", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1629", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "1595", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "1596", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1597", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1598", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1599", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1600", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1601", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1602", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1579", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "1580", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "1581", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "1582", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "1583", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "1584", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "1585", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - }, - "high" : { - "localId" : "1619", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "1620", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1621", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1622", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1623", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1624", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1625", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1626", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1603", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2010", - "type" : "Literal" - }, - "month" : { - "localId" : "1604", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "1605", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "1606", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "1607", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "1608", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "1609", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - } - } ] - } - }, { - "localId" : "1637", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "PosInfEndNotAfterDateIvl", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "1637", - "s" : [ { - "value" : [ "","define ","PosInfEndNotAfterDateIvl",": " ] - }, { - "r" : "1718", - "s" : [ { - "r" : "1663", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "1654", - "s" : [ { - "r" : "1638", - "value" : [ "DateTime","(","2013",", ","1",", ","1",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "r" : "1662", - "value" : [ ", ","null","]" ] - } ] - }, { - "r" : "1718", - "value" : [ " ","after"," " ] - }, { - "r" : "1715", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "1683", - "s" : [ { - "r" : "1667", - "value" : [ "DateTime","(","2000",", ","1",", ","1",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "1707", - "s" : [ { - "r" : "1691", - "value" : [ "DateTime","(","2020",", ","1",", ","1",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ "]" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "1718", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "After", - "signature" : [ { - "localId" : "1719", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1720", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "1721", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1722", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "1663", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "1665", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1666", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "1654", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "1655", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1656", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1657", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1658", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1659", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1660", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1661", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1638", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2013", - "type" : "Literal" - }, - "month" : { - "localId" : "1639", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "1640", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "1641", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "1642", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "1643", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "1644", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - }, - "high" : { - "localId" : "1664", - "asType" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "As", - "signature" : [ ], - "operand" : { - "localId" : "1662", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - } - } - }, { - "localId" : "1715", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "1716", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1717", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "1683", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "1684", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1685", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1686", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1687", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1688", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1689", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1690", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1667", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "1668", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "1669", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "1670", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "1671", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "1672", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "1673", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - }, - "high" : { - "localId" : "1707", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "1708", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1709", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1710", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1711", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1712", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1713", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1714", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1691", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2020", - "type" : "Literal" - }, - "month" : { - "localId" : "1692", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "1693", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "1694", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "1695", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "1696", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "1697", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - } - } ] - } - }, { - "localId" : "1725", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "UnknownEndAfterDateIvl", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "1725", - "s" : [ { - "value" : [ "","define ","UnknownEndAfterDateIvl",": " ] - }, { - "r" : "1806", - "s" : [ { - "r" : "1751", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "1742", - "s" : [ { - "r" : "1726", - "value" : [ "DateTime","(","2013",", ","1",", ","1",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "r" : "1750", - "value" : [ ", ","null",")" ] - } ] - }, { - "r" : "1806", - "value" : [ " ","after"," " ] - }, { - "r" : "1803", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "1771", - "s" : [ { - "r" : "1755", - "value" : [ "DateTime","(","2000",", ","1",", ","1",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "1795", - "s" : [ { - "r" : "1779", - "value" : [ "DateTime","(","2010",", ","1",", ","1",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ "]" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "1806", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "After", - "signature" : [ { - "localId" : "1807", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1808", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "1809", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1810", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "1751", - "lowClosed" : true, - "highClosed" : false, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "1753", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1754", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "1742", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "1743", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1744", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1745", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1746", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1747", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1748", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1749", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1726", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2013", - "type" : "Literal" - }, - "month" : { - "localId" : "1727", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "1728", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "1729", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "1730", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "1731", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "1732", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - }, - "high" : { - "localId" : "1752", - "asType" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "As", - "signature" : [ ], - "operand" : { - "localId" : "1750", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - } - } - }, { - "localId" : "1803", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "1804", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1805", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "1771", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "1772", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1773", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1774", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1775", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1776", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1777", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1778", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1755", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "1756", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "1757", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "1758", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "1759", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "1760", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "1761", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - }, - "high" : { - "localId" : "1795", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "1796", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1797", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1798", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1799", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1800", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1801", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1802", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1779", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2010", - "type" : "Literal" - }, - "month" : { - "localId" : "1780", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "1781", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "1782", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "1783", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "1784", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "1785", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - } - } ] - } - }, { - "localId" : "1813", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "UnknownEndNotAfterDateIvl", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "1813", - "s" : [ { - "value" : [ "","define ","UnknownEndNotAfterDateIvl",": " ] - }, { - "r" : "1894", - "s" : [ { - "r" : "1839", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "1830", - "s" : [ { - "r" : "1814", - "value" : [ "DateTime","(","2013",", ","1",", ","1",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "r" : "1838", - "value" : [ ", ","null",")" ] - } ] - }, { - "r" : "1894", - "value" : [ " ","after"," " ] - }, { - "r" : "1891", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "1859", - "s" : [ { - "r" : "1843", - "value" : [ "DateTime","(","2020",", ","1",", ","1",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "1883", - "s" : [ { - "r" : "1867", - "value" : [ "DateTime","(","2040",", ","1",", ","1",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ "]" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "1894", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "After", - "signature" : [ { - "localId" : "1895", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1896", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "1897", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1898", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "1839", - "lowClosed" : true, - "highClosed" : false, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "1841", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1842", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "1830", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "1831", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1832", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1833", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1834", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1835", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1836", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1837", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1814", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2013", - "type" : "Literal" - }, - "month" : { - "localId" : "1815", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "1816", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "1817", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "1818", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "1819", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "1820", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - }, - "high" : { - "localId" : "1840", - "asType" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "As", - "signature" : [ ], - "operand" : { - "localId" : "1838", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - } - } - }, { - "localId" : "1891", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "1892", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1893", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "1859", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "1860", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1861", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1862", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1863", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1864", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1865", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1866", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1843", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2020", - "type" : "Literal" - }, - "month" : { - "localId" : "1844", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "1845", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "1846", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "1847", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "1848", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "1849", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - }, - "high" : { - "localId" : "1883", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "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" - }, { - "localId" : "1886", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1887", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1888", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1889", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1890", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1867", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2040", - "type" : "Literal" - }, - "month" : { - "localId" : "1868", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "1869", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "1870", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "1871", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "1872", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "1873", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - } - } ] - } - } ] - } - } -} - -/* Before -library TestSnippet version '1' -using Simple version '1.0.0' -context Patient -define BeforeIntIvl: Interval[2, 4] before Interval[5, 10] -define NotBeforeIntIvl: Interval[2, 5] before Interval[5, 10] -define BeforeRealIvl: Interval[0.0, 1.23] before Interval[1.234, 2.345] -define NotBeforeRealIvl: Interval[1.234, 2.345] before Interval[0.0, 1.234] -define DateIvl: Interval[DateTime(2012, 3, 1, 0, 0, 0, 0), DateTime(2012, 9, 1, 0, 0, 0, 0)) -define BeforeDateIvl: Interval[DateTime(2012, 1, 1, 0, 0, 0, 0), DateTime(2012, 3, 1, 0, 0, 0, 0)) before DateIvl -define NotBeforeDateIvl: Interval[DateTime(2012, 1, 1, 0, 0, 0, 0), DateTime(2012, 3, 1, 0, 0, 0, 0)] before DateIvl -define BeforeImpreciseDateIvl: DateIvl before Interval[DateTime(2012, 9), DateTime(2012, 12)] -define NotBeforeImpreciseDateIvl: DateIvl before Interval[DateTime(2012, 8), DateTime(2012, 12)] -define MayBeBeforeImpreciseDateIvl: DateIvl before Interval[DateTime(2012), DateTime(2012)] -define PrecisionDateIvl: Interval[DateTime(2012, 3, 2, 12, 34, 56, 789), DateTime(2012, 9, 2, 1, 23, 45, 678)) -define AfterDayOfIvl: PrecisionDateIvl before day of Interval[DateTime(2012, 1, 2, 0, 0, 0, 0), DateTime(2012, 3, 1, 0, 0, 0, 0)] -define BeforeDayOfIvl: PrecisionDateIvl before day of Interval[DateTime(2012, 9, 3, 0, 0, 0, 0), DateTime(2012, 12, 1, 0, 0, 0, 0)] -define StartsSameDayOfIvlEnd: PrecisionDateIvl before day of Interval[DateTime(2012, 9, 2, 23, 59, 59, 999), DateTime(2012, 10, 2, 0, 0, 0, 0)] -define EndsSameDayOfIvlStart: PrecisionDateIvl before day of Interval[DateTime(2012, 1, 2, 0, 0, 0, 0), DateTime(2012, 3, 2, 0, 0, 0, 0)] -define MayBeAfterDayOfImpreciseIvl: PrecisionDateIvl before day of Interval[DateTime(2012, 1), DateTime(2012, 3)] -define MayBeBeforeDayOfImpreciseIvl: PrecisionDateIvl before day of Interval[DateTime(2012, 9), DateTime(2012, 12)] -define ImpDateIvl: Interval[DateTime(2012, 3), DateTime(2012, 8)] -define ImpreciseBeforeDateIvl: ImpDateIvl before Interval[DateTime(2012, 9, 1, 0, 0, 0, 0), DateTime(2012, 12, 1, 0, 0, 0, 0)) -define ImpreciseNotBeforeDateIvl: ImpDateIvl before Interval[DateTime(2012, 8, 1, 0, 0, 0, 0), DateTime(2012, 12, 1, 0, 0, 0, 0)) -define ImpreciseMayBeBeforeDateIvl: ImpDateIvl before Interval[DateTime(2012, 8, 15, 0, 0, 0, 0), DateTime(2012, 12, 15, 0, 0, 0, 0)) -define NegInfBegBeforeIntIvl: Interval[null, 100] before Interval[101, 200] -define NegInfBegNotBeforeIntIvl: Interval[null, 100] before Interval[100, 200] -define UnknownBegBeforeIntIvl: Interval(null, 100] before Interval[101, 200] -define UnknownBegNotBeforeIntIvl: Interval(null, 5] before Interval[0, 100] -define PosInfEndNotBeforeIntIvl: Interval[0, null] before Interval[1000, 2000] -define UnknownEndMayBeBeforeIntIvl: Interval[0, null) before Interval[1000, 2000] -define UnknownEndNotBeforeIntIvl: Interval[0, null) before Interval[-100, 0] -define NegInfBegBeforeDateIvl: Interval[null, DateTime(2013, 1, 1, 0, 0, 0, 0)) before Interval[DateTime(2020, 1, 1, 0, 0, 0, 0), DateTime(2030, 1, 1, 0, 0, 0, 0)] -define NegInfBegNotBeforeDateIvl: Interval[null, DateTime(2013, 1, 1, 0, 0, 0, 0)) before Interval[DateTime(2000, 1, 1, 0, 0, 0, 0), DateTime(2010, 1, 1, 0, 0, 0, 0)] -define UnknownBegBeforeDateIvl: Interval(null, DateTime(2013, 1, 1, 0, 0, 0, 0)) before Interval[DateTime(2020, 1, 1, 0, 0, 0, 0), DateTime(2030, 1, 1, 0, 0, 0, 0)] -define UnknownBegNotBeforeDateIvl: Interval(null, DateTime(2013, 1, 1, 0, 0, 0, 0)) before Interval[DateTime(2000, 1, 1, 0, 0, 0, 0), DateTime(2020, 1, 1, 0, 0, 0, 0)] -define PosInfEndNotBeforeDateIvl: Interval[DateTime(2013, 1, 1, 0, 0, 0, 0), null] before Interval[DateTime(2000, 1, 1, 0, 0, 0, 0), DateTime(2020, 1, 1, 0, 0, 0, 0)] -define UnknownEndMayBeBeforeDateIvl: Interval[DateTime(2013, 1, 1, 0, 0, 0, 0), null) before Interval[DateTime(2020, 1, 1, 0, 0, 0, 0), DateTime(2040, 1, 1, 0, 0, 0, 0)] -define UnknownEndNotBeforeDateIvl: Interval[DateTime(2013, 1, 1, 0, 0, 0, 0), null) before Interval[DateTime(2000, 1, 1, 0, 0, 0, 0), DateTime(2013, 1, 1, 0, 0, 0, 0)] -*/ - -module.exports['Before'] = { - "library" : { - "localId" : "0", - "annotation" : [ { - "translatorVersion" : "3.27.0", - "translatorOptions" : "EnableDateRangeOptimization,EnableAnnotations,EnableResultTypes", - "signatureLevel" : "All", - "type" : "CqlToElmInfo" - }, { - "type" : "Annotation", - "s" : { - "r" : "1799", - "s" : [ { - "value" : [ "","library TestSnippet version '1'" ] - } ] - } - } ], - "identifier" : { - "id" : "TestSnippet", - "version" : "1" - }, - "schemaIdentifier" : { - "id" : "urn:hl7-org:elm", - "version" : "r1" - }, - "usings" : { - "def" : [ { - "localId" : "1", - "localIdentifier" : "System", - "uri" : "urn:hl7-org:elm-types:r1" - }, { - "localId" : "206", - "localIdentifier" : "Simple", - "uri" : "https://github.com/cqframework/cql-execution/simple", - "version" : "1.0.0", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "206", - "s" : [ { - "value" : [ "","using " ] - }, { - "s" : [ { - "value" : [ "Simple" ] - } ] - }, { - "value" : [ " version '1.0.0'" ] - } ] - } - } ] - } ] - }, - "contexts" : { - "def" : [ { - "localId" : "211", - "name" : "Patient" - } ] - }, - "statements" : { - "def" : [ { - "localId" : "209", - "name" : "Patient", - "context" : "Patient", - "expression" : { - "localId" : "210", - "type" : "SingletonFrom", - "signature" : [ ], - "operand" : { - "localId" : "208", - "dataType" : "{https://github.com/cqframework/cql-execution/simple}Patient", - "type" : "Retrieve", - "include" : [ ], - "codeFilter" : [ ], - "dateFilter" : [ ], - "otherFilter" : [ ] - } - } - }, { - "localId" : "214", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "BeforeIntIvl", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "214", - "s" : [ { - "value" : [ "","define ","BeforeIntIvl",": " ] - }, { - "r" : "225", - "s" : [ { - "r" : "217", - "s" : [ { - "r" : "215", - "value" : [ "Interval[","2",", ","4","]" ] - } ] - }, { - "r" : "225", - "value" : [ " ","before"," " ] - }, { - "r" : "222", - "s" : [ { - "r" : "220", - "value" : [ "Interval[","5",", ","10","]" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "225", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "Before", - "signature" : [ { - "localId" : "226", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "227", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "228", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "229", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "217", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "218", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "219", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "215", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal" - }, - "high" : { - "localId" : "216", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "4", - "type" : "Literal" - } - }, { - "localId" : "222", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "223", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "224", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "220", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal" - }, - "high" : { - "localId" : "221", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal" - } - } ] - } - }, { - "localId" : "232", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "NotBeforeIntIvl", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "232", - "s" : [ { - "value" : [ "","define ","NotBeforeIntIvl",": " ] - }, { - "r" : "243", - "s" : [ { - "r" : "235", - "s" : [ { - "r" : "233", - "value" : [ "Interval[","2",", ","5","]" ] - } ] - }, { - "r" : "243", - "value" : [ " ","before"," " ] - }, { - "r" : "240", - "s" : [ { - "r" : "238", - "value" : [ "Interval[","5",", ","10","]" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "243", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "Before", - "signature" : [ { - "localId" : "244", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "245", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "246", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "247", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "235", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "236", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "237", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "233", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal" - }, - "high" : { - "localId" : "234", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal" - } - }, { - "localId" : "240", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "241", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "242", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "238", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal" - }, - "high" : { - "localId" : "239", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal" - } - } ] - } - }, { - "localId" : "250", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "BeforeRealIvl", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "250", - "s" : [ { - "value" : [ "","define ","BeforeRealIvl",": " ] - }, { - "r" : "261", - "s" : [ { - "r" : "253", - "s" : [ { - "r" : "251", - "value" : [ "Interval[","0.0",", ","1.23","]" ] - } ] - }, { - "r" : "261", - "value" : [ " ","before"," " ] - }, { - "r" : "258", - "s" : [ { - "r" : "256", - "value" : [ "Interval[","1.234",", ","2.345","]" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "261", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "Before", - "signature" : [ { - "localId" : "262", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "263", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "264", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "265", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "253", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "254", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "255", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "251", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "0.0", - "type" : "Literal" - }, - "high" : { - "localId" : "252", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "1.23", - "type" : "Literal" - } - }, { - "localId" : "258", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "259", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "260", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "256", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "1.234", - "type" : "Literal" - }, - "high" : { - "localId" : "257", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "2.345", - "type" : "Literal" - } - } ] - } - }, { - "localId" : "268", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "NotBeforeRealIvl", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "268", - "s" : [ { - "value" : [ "","define ","NotBeforeRealIvl",": " ] - }, { - "r" : "279", - "s" : [ { - "r" : "271", - "s" : [ { - "r" : "269", - "value" : [ "Interval[","1.234",", ","2.345","]" ] - } ] - }, { - "r" : "279", - "value" : [ " ","before"," " ] - }, { - "r" : "276", - "s" : [ { - "r" : "274", - "value" : [ "Interval[","0.0",", ","1.234","]" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "279", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "Before", - "signature" : [ { - "localId" : "280", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "281", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "282", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "283", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "271", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "272", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "273", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "269", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "1.234", - "type" : "Literal" - }, - "high" : { - "localId" : "270", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "2.345", - "type" : "Literal" - } - }, { - "localId" : "276", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "277", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "278", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "274", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "0.0", - "type" : "Literal" - }, - "high" : { - "localId" : "275", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "1.234", - "type" : "Literal" - } - } ] - } - }, { - "localId" : "286", - "name" : "DateIvl", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "286", - "s" : [ { - "value" : [ "","define ","DateIvl",": " ] - }, { - "r" : "335", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "303", - "s" : [ { - "r" : "287", - "value" : [ "DateTime","(","2012",", ","3",", ","1",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "327", - "s" : [ { - "r" : "311", - "value" : [ "DateTime","(","2012",", ","9",", ","1",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ ")" ] - } ] - } ] - } - } ], - "resultTypeSpecifier" : { - "localId" : "338", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "339", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "expression" : { - "localId" : "335", - "lowClosed" : true, - "highClosed" : false, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "336", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "337", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "303", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "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" - }, { - "localId" : "306", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "307", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "308", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "309", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "310", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "287", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "288", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "289", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "290", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "291", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "292", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "293", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - }, - "high" : { - "localId" : "327", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "328", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "329", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "330", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "331", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "332", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "333", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "334", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "311", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "312", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "9", - "type" : "Literal" - }, - "day" : { - "localId" : "313", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "314", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "315", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "316", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "317", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - } - } - }, { - "localId" : "342", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "BeforeDateIvl", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "342", - "s" : [ { - "value" : [ "","define ","BeforeDateIvl",": " ] - }, { - "r" : "397", - "s" : [ { - "r" : "391", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "359", - "s" : [ { - "r" : "343", - "value" : [ "DateTime","(","2012",", ","1",", ","1",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "383", - "s" : [ { - "r" : "367", - "value" : [ "DateTime","(","2012",", ","3",", ","1",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ ")" ] - } ] - }, { - "r" : "397", - "value" : [ " ","before"," " ] - }, { - "r" : "394", - "s" : [ { - "value" : [ "DateIvl" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "397", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "Before", - "signature" : [ { - "localId" : "398", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "399", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "400", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "401", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "391", - "lowClosed" : true, - "highClosed" : false, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "392", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "393", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "359", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "360", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "361", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "362", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "363", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "364", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "365", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "366", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "343", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "344", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "345", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "346", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "347", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "348", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "349", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - }, - "high" : { - "localId" : "383", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "384", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "385", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "386", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "387", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "388", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "389", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "390", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "367", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "368", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "369", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "370", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "371", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "372", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "373", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - } - }, { - "localId" : "394", - "name" : "DateIvl", - "type" : "ExpressionRef", - "resultTypeSpecifier" : { - "localId" : "395", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "396", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - } ] - } - }, { - "localId" : "404", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "NotBeforeDateIvl", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "404", - "s" : [ { - "value" : [ "","define ","NotBeforeDateIvl",": " ] - }, { - "r" : "459", - "s" : [ { - "r" : "453", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "421", - "s" : [ { - "r" : "405", - "value" : [ "DateTime","(","2012",", ","1",", ","1",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "445", - "s" : [ { - "r" : "429", - "value" : [ "DateTime","(","2012",", ","3",", ","1",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ "]" ] - } ] - }, { - "r" : "459", - "value" : [ " ","before"," " ] - }, { - "r" : "456", - "s" : [ { - "value" : [ "DateIvl" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "459", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "Before", - "signature" : [ { - "localId" : "460", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "461", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "462", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "463", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "453", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "454", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "455", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "421", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "422", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "423", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "424", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "425", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "426", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "427", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "428", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "405", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "406", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "407", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "408", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "409", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "410", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "411", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - }, - "high" : { - "localId" : "445", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "446", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "447", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "448", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "449", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "450", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "451", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "452", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "429", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "430", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "431", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "432", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "433", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "434", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "435", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - } - }, { - "localId" : "456", - "name" : "DateIvl", - "type" : "ExpressionRef", - "resultTypeSpecifier" : { - "localId" : "457", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "458", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - } ] - } - }, { - "localId" : "466", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "BeforeImpreciseDateIvl", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "466", - "s" : [ { - "value" : [ "","define ","BeforeImpreciseDateIvl",": " ] - }, { - "r" : "491", - "s" : [ { - "r" : "467", - "s" : [ { - "value" : [ "DateIvl" ] - } ] - }, { - "r" : "491", - "value" : [ " ","before"," " ] - }, { - "r" : "488", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "476", - "s" : [ { - "r" : "470", - "value" : [ "DateTime","(","2012",", ","9",")" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "485", - "s" : [ { - "r" : "479", - "value" : [ "DateTime","(","2012",", ","12",")" ] - } ] - }, { - "value" : [ "]" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "491", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "Before", - "signature" : [ { - "localId" : "492", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "493", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "494", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "495", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "467", - "name" : "DateIvl", - "type" : "ExpressionRef", - "resultTypeSpecifier" : { - "localId" : "468", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "469", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - }, { - "localId" : "488", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "489", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "490", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "476", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "477", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "478", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "470", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "471", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "9", - "type" : "Literal" - } - }, - "high" : { - "localId" : "485", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "486", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "487", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "479", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "480", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "12", - "type" : "Literal" - } - } - } ] - } - }, { - "localId" : "498", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "NotBeforeImpreciseDateIvl", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "498", - "s" : [ { - "value" : [ "","define ","NotBeforeImpreciseDateIvl",": " ] - }, { - "r" : "523", - "s" : [ { - "r" : "499", - "s" : [ { - "value" : [ "DateIvl" ] - } ] - }, { - "r" : "523", - "value" : [ " ","before"," " ] - }, { - "r" : "520", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "508", - "s" : [ { - "r" : "502", - "value" : [ "DateTime","(","2012",", ","8",")" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "517", - "s" : [ { - "r" : "511", - "value" : [ "DateTime","(","2012",", ","12",")" ] - } ] - }, { - "value" : [ "]" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "523", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "Before", - "signature" : [ { - "localId" : "524", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "525", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "526", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "527", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "499", - "name" : "DateIvl", - "type" : "ExpressionRef", - "resultTypeSpecifier" : { - "localId" : "500", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "501", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - }, { - "localId" : "520", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "521", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "522", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "508", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "509", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "510", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "502", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "503", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "8", - "type" : "Literal" - } - }, - "high" : { - "localId" : "517", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "518", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "519", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "511", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "512", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "12", - "type" : "Literal" - } - } - } ] - } - }, { - "localId" : "530", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "MayBeBeforeImpreciseDateIvl", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "530", - "s" : [ { - "value" : [ "","define ","MayBeBeforeImpreciseDateIvl",": " ] - }, { - "r" : "549", - "s" : [ { - "r" : "531", - "s" : [ { - "value" : [ "DateIvl" ] - } ] - }, { - "r" : "549", - "value" : [ " ","before"," " ] - }, { - "r" : "546", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "538", - "s" : [ { - "r" : "534", - "value" : [ "DateTime","(","2012",")" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "544", - "s" : [ { - "r" : "540", - "value" : [ "DateTime","(","2012",")" ] - } ] - }, { - "value" : [ "]" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "549", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "Before", - "signature" : [ { - "localId" : "550", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "551", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "552", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "553", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "531", - "name" : "DateIvl", - "type" : "ExpressionRef", - "resultTypeSpecifier" : { - "localId" : "532", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "533", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - }, { - "localId" : "546", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "547", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "548", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "538", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "539", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "534", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - } - }, - "high" : { - "localId" : "544", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "545", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "540", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - } - } - } ] - } - }, { - "localId" : "556", - "name" : "PrecisionDateIvl", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "556", - "s" : [ { - "value" : [ "","define ","PrecisionDateIvl",": " ] - }, { - "r" : "605", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "573", - "s" : [ { - "r" : "557", - "value" : [ "DateTime","(","2012",", ","3",", ","2",", ","12",", ","34",", ","56",", ","789",")" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "597", - "s" : [ { - "r" : "581", - "value" : [ "DateTime","(","2012",", ","9",", ","2",", ","1",", ","23",", ","45",", ","678",")" ] - } ] - }, { - "value" : [ ")" ] - } ] - } ] - } - } ], - "resultTypeSpecifier" : { - "localId" : "608", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "609", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "expression" : { - "localId" : "605", - "lowClosed" : true, - "highClosed" : false, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "606", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "607", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "573", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "574", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "575", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "576", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "577", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "578", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "579", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "580", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "557", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "558", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "559", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal" - }, - "hour" : { - "localId" : "560", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "12", - "type" : "Literal" - }, - "minute" : { - "localId" : "561", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "34", - "type" : "Literal" - }, - "second" : { - "localId" : "562", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "56", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "563", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "789", - "type" : "Literal" - } - }, - "high" : { - "localId" : "597", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "598", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "599", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "600", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "601", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "602", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "603", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "604", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "581", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "582", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "9", - "type" : "Literal" - }, - "day" : { - "localId" : "583", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal" - }, - "hour" : { - "localId" : "584", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "minute" : { - "localId" : "585", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "23", - "type" : "Literal" - }, - "second" : { - "localId" : "586", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "45", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "587", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "678", - "type" : "Literal" - } - } - } - }, { - "localId" : "612", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "AfterDayOfIvl", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "612", - "s" : [ { - "value" : [ "","define ","AfterDayOfIvl",": " ] - }, { - "r" : "667", - "s" : [ { - "r" : "613", - "s" : [ { - "value" : [ "PrecisionDateIvl" ] - } ] - }, { - "r" : "667", - "value" : [ " ","before day of"," " ] - }, { - "r" : "664", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "632", - "s" : [ { - "r" : "616", - "value" : [ "DateTime","(","2012",", ","1",", ","2",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "656", - "s" : [ { - "r" : "640", - "value" : [ "DateTime","(","2012",", ","3",", ","1",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ "]" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "667", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "precision" : "Day", - "type" : "Before", - "signature" : [ { - "localId" : "668", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "669", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "670", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "671", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "613", - "name" : "PrecisionDateIvl", - "type" : "ExpressionRef", - "resultTypeSpecifier" : { - "localId" : "614", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "615", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - }, { - "localId" : "664", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "665", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "666", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "632", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "633", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "634", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "635", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "636", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "637", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "638", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "639", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "616", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "617", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "618", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal" - }, - "hour" : { - "localId" : "619", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "620", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "621", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "622", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - }, - "high" : { - "localId" : "656", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "657", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "658", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "659", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "660", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "661", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "662", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "663", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "640", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "641", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "642", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "643", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "644", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "645", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "646", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - } - } ] - } - }, { - "localId" : "674", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "BeforeDayOfIvl", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "674", - "s" : [ { - "value" : [ "","define ","BeforeDayOfIvl",": " ] - }, { - "r" : "729", - "s" : [ { - "r" : "675", - "s" : [ { - "value" : [ "PrecisionDateIvl" ] - } ] - }, { - "r" : "729", - "value" : [ " ","before day of"," " ] - }, { - "r" : "726", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "694", - "s" : [ { - "r" : "678", - "value" : [ "DateTime","(","2012",", ","9",", ","3",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "718", - "s" : [ { - "r" : "702", - "value" : [ "DateTime","(","2012",", ","12",", ","1",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ "]" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "729", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "precision" : "Day", - "type" : "Before", - "signature" : [ { - "localId" : "730", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "731", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "732", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "733", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "675", - "name" : "PrecisionDateIvl", - "type" : "ExpressionRef", - "resultTypeSpecifier" : { - "localId" : "676", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "677", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - }, { - "localId" : "726", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "727", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "728", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "694", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "695", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "696", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "697", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "698", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "699", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "700", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "701", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "678", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "679", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "9", - "type" : "Literal" - }, - "day" : { - "localId" : "680", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "hour" : { - "localId" : "681", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "682", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "683", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "684", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - }, - "high" : { - "localId" : "718", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "719", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "720", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "721", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "722", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "723", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "724", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "725", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "702", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "703", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "12", - "type" : "Literal" - }, - "day" : { - "localId" : "704", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "705", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "706", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "707", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "708", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - } - } ] - } - }, { - "localId" : "736", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "StartsSameDayOfIvlEnd", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "736", - "s" : [ { - "value" : [ "","define ","StartsSameDayOfIvlEnd",": " ] - }, { - "r" : "791", - "s" : [ { - "r" : "737", - "s" : [ { - "value" : [ "PrecisionDateIvl" ] - } ] - }, { - "r" : "791", - "value" : [ " ","before day of"," " ] - }, { - "r" : "788", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "756", - "s" : [ { - "r" : "740", - "value" : [ "DateTime","(","2012",", ","9",", ","2",", ","23",", ","59",", ","59",", ","999",")" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "780", - "s" : [ { - "r" : "764", - "value" : [ "DateTime","(","2012",", ","10",", ","2",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ "]" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "791", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "precision" : "Day", - "type" : "Before", - "signature" : [ { - "localId" : "792", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "793", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "794", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "795", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "737", - "name" : "PrecisionDateIvl", - "type" : "ExpressionRef", - "resultTypeSpecifier" : { - "localId" : "738", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "739", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - }, { - "localId" : "788", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "789", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "790", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "756", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "757", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "758", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "759", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "760", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "761", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "762", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "763", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "740", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "741", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "9", - "type" : "Literal" - }, - "day" : { - "localId" : "742", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal" - }, - "hour" : { - "localId" : "743", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "23", - "type" : "Literal" - }, - "minute" : { - "localId" : "744", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal" - }, - "second" : { - "localId" : "745", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "746", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "999", - "type" : "Literal" - } - }, - "high" : { - "localId" : "780", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "781", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "782", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "783", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "784", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "785", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "786", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "787", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "764", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "765", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal" - }, - "day" : { - "localId" : "766", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal" - }, - "hour" : { - "localId" : "767", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "768", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "769", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "770", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - } - } ] - } - }, { - "localId" : "798", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "EndsSameDayOfIvlStart", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "798", - "s" : [ { - "value" : [ "","define ","EndsSameDayOfIvlStart",": " ] - }, { - "r" : "853", - "s" : [ { - "r" : "799", - "s" : [ { - "value" : [ "PrecisionDateIvl" ] - } ] - }, { - "r" : "853", - "value" : [ " ","before day of"," " ] - }, { - "r" : "850", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "818", - "s" : [ { - "r" : "802", - "value" : [ "DateTime","(","2012",", ","1",", ","2",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "842", - "s" : [ { - "r" : "826", - "value" : [ "DateTime","(","2012",", ","3",", ","2",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ "]" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "853", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "precision" : "Day", - "type" : "Before", - "signature" : [ { - "localId" : "854", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "855", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "856", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "857", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "799", - "name" : "PrecisionDateIvl", - "type" : "ExpressionRef", - "resultTypeSpecifier" : { - "localId" : "800", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "801", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - }, { - "localId" : "850", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "851", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "852", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "818", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "819", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "820", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "821", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "822", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "823", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "824", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "825", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "802", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "803", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "804", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal" - }, - "hour" : { - "localId" : "805", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "806", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "807", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "808", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - }, - "high" : { - "localId" : "842", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "843", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "844", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "845", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "846", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "847", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "848", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "849", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "826", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "827", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "828", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal" - }, - "hour" : { - "localId" : "829", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "830", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "831", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "832", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - } - } ] - } - }, { - "localId" : "860", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "MayBeAfterDayOfImpreciseIvl", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "860", - "s" : [ { - "value" : [ "","define ","MayBeAfterDayOfImpreciseIvl",": " ] - }, { - "r" : "885", - "s" : [ { - "r" : "861", - "s" : [ { - "value" : [ "PrecisionDateIvl" ] - } ] - }, { - "r" : "885", - "value" : [ " ","before day of"," " ] - }, { - "r" : "882", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "870", - "s" : [ { - "r" : "864", - "value" : [ "DateTime","(","2012",", ","1",")" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "879", - "s" : [ { - "r" : "873", - "value" : [ "DateTime","(","2012",", ","3",")" ] - } ] - }, { - "value" : [ "]" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "885", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "precision" : "Day", - "type" : "Before", - "signature" : [ { - "localId" : "886", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "887", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "888", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "889", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "861", - "name" : "PrecisionDateIvl", - "type" : "ExpressionRef", - "resultTypeSpecifier" : { - "localId" : "862", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "863", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - }, { - "localId" : "882", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "883", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "884", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "870", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "871", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "872", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "864", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "865", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - } - }, - "high" : { - "localId" : "879", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "880", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "881", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "873", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "874", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - } - } - } ] - } - }, { - "localId" : "892", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "MayBeBeforeDayOfImpreciseIvl", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "892", - "s" : [ { - "value" : [ "","define ","MayBeBeforeDayOfImpreciseIvl",": " ] - }, { - "r" : "917", - "s" : [ { - "r" : "893", - "s" : [ { - "value" : [ "PrecisionDateIvl" ] - } ] - }, { - "r" : "917", - "value" : [ " ","before day of"," " ] - }, { - "r" : "914", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "902", - "s" : [ { - "r" : "896", - "value" : [ "DateTime","(","2012",", ","9",")" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "911", - "s" : [ { - "r" : "905", - "value" : [ "DateTime","(","2012",", ","12",")" ] - } ] - }, { - "value" : [ "]" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "917", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "precision" : "Day", - "type" : "Before", - "signature" : [ { - "localId" : "918", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "919", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "920", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "921", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "893", - "name" : "PrecisionDateIvl", - "type" : "ExpressionRef", - "resultTypeSpecifier" : { - "localId" : "894", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "895", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - }, { - "localId" : "914", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "915", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "916", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "902", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "903", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "904", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "896", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "897", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "9", - "type" : "Literal" - } - }, - "high" : { - "localId" : "911", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "912", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "913", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "905", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "906", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "12", - "type" : "Literal" - } - } - } ] - } - }, { - "localId" : "924", - "name" : "ImpDateIvl", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "924", - "s" : [ { - "value" : [ "","define ","ImpDateIvl",": " ] - }, { - "r" : "943", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "931", - "s" : [ { - "r" : "925", - "value" : [ "DateTime","(","2012",", ","3",")" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "940", - "s" : [ { - "r" : "934", - "value" : [ "DateTime","(","2012",", ","8",")" ] - } ] - }, { - "value" : [ "]" ] - } ] - } ] - } - } ], - "resultTypeSpecifier" : { - "localId" : "946", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "947", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "expression" : { - "localId" : "943", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "944", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "945", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "931", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "932", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "933", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "925", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "926", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - } - }, - "high" : { - "localId" : "940", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "941", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "942", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "934", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "935", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "8", - "type" : "Literal" - } - } - } - }, { - "localId" : "950", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "ImpreciseBeforeDateIvl", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "950", - "s" : [ { - "value" : [ "","define ","ImpreciseBeforeDateIvl",": " ] - }, { - "r" : "1005", - "s" : [ { - "r" : "951", - "s" : [ { - "value" : [ "ImpDateIvl" ] - } ] - }, { - "r" : "1005", - "value" : [ " ","before"," " ] - }, { - "r" : "1002", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "970", - "s" : [ { - "r" : "954", - "value" : [ "DateTime","(","2012",", ","9",", ","1",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "994", - "s" : [ { - "r" : "978", - "value" : [ "DateTime","(","2012",", ","12",", ","1",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ ")" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "1005", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "Before", - "signature" : [ { - "localId" : "1006", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1007", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "1008", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1009", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "951", - "name" : "ImpDateIvl", - "type" : "ExpressionRef", - "resultTypeSpecifier" : { - "localId" : "952", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "953", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - }, { - "localId" : "1002", - "lowClosed" : true, - "highClosed" : false, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "1003", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1004", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "970", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "971", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "972", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "973", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "974", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "975", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "976", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "977", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "954", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "955", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "9", - "type" : "Literal" - }, - "day" : { - "localId" : "956", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "957", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "958", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "959", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "960", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - }, - "high" : { - "localId" : "994", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "995", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "996", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "997", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "998", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "999", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1000", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1001", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "978", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "979", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "12", - "type" : "Literal" - }, - "day" : { - "localId" : "980", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "981", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "982", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "983", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "984", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - } - } ] - } - }, { - "localId" : "1012", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "ImpreciseNotBeforeDateIvl", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "1012", - "s" : [ { - "value" : [ "","define ","ImpreciseNotBeforeDateIvl",": " ] - }, { - "r" : "1067", - "s" : [ { - "r" : "1013", - "s" : [ { - "value" : [ "ImpDateIvl" ] - } ] - }, { - "r" : "1067", - "value" : [ " ","before"," " ] - }, { - "r" : "1064", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "1032", - "s" : [ { - "r" : "1016", - "value" : [ "DateTime","(","2012",", ","8",", ","1",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "1056", - "s" : [ { - "r" : "1040", - "value" : [ "DateTime","(","2012",", ","12",", ","1",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ ")" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "1067", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "Before", - "signature" : [ { - "localId" : "1068", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1069", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "1070", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1071", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "1013", - "name" : "ImpDateIvl", - "type" : "ExpressionRef", - "resultTypeSpecifier" : { - "localId" : "1014", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1015", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - }, { - "localId" : "1064", - "lowClosed" : true, - "highClosed" : false, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "1065", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1066", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "1032", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "1033", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1034", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1035", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1036", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1037", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1038", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1039", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1016", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "1017", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "8", - "type" : "Literal" - }, - "day" : { - "localId" : "1018", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "1019", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "1020", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "1021", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "1022", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - }, - "high" : { - "localId" : "1056", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "1057", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1058", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1059", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1060", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1061", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1062", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1063", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1040", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "1041", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "12", - "type" : "Literal" - }, - "day" : { - "localId" : "1042", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "1043", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "1044", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "1045", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "1046", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - } - } ] - } - }, { - "localId" : "1074", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "ImpreciseMayBeBeforeDateIvl", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "1074", - "s" : [ { - "value" : [ "","define ","ImpreciseMayBeBeforeDateIvl",": " ] - }, { - "r" : "1129", - "s" : [ { - "r" : "1075", - "s" : [ { - "value" : [ "ImpDateIvl" ] - } ] - }, { - "r" : "1129", - "value" : [ " ","before"," " ] - }, { - "r" : "1126", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "1094", - "s" : [ { - "r" : "1078", - "value" : [ "DateTime","(","2012",", ","8",", ","15",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "1118", - "s" : [ { - "r" : "1102", - "value" : [ "DateTime","(","2012",", ","12",", ","15",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ ")" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "1129", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "Before", - "signature" : [ { - "localId" : "1130", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1131", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "1132", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1133", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "1075", - "name" : "ImpDateIvl", - "type" : "ExpressionRef", - "resultTypeSpecifier" : { - "localId" : "1076", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1077", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - }, { - "localId" : "1126", - "lowClosed" : true, - "highClosed" : false, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "1127", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1128", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "1094", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "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" - }, { - "localId" : "1097", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1098", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1099", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1100", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1101", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1078", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "1079", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "8", - "type" : "Literal" - }, - "day" : { - "localId" : "1080", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal" - }, - "hour" : { - "localId" : "1081", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "1082", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "1083", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "1084", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - }, - "high" : { - "localId" : "1118", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "1119", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1120", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1121", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1122", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1123", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1124", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1125", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1102", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "1103", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "12", - "type" : "Literal" - }, - "day" : { - "localId" : "1104", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal" - }, - "hour" : { - "localId" : "1105", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "1106", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "1107", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "1108", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - } - } ] - } - }, { - "localId" : "1136", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "NegInfBegBeforeIntIvl", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "1136", - "s" : [ { - "value" : [ "","define ","NegInfBegBeforeIntIvl",": " ] - }, { - "r" : "1148", - "s" : [ { - "r" : "1139", - "s" : [ { - "r" : "1137", - "value" : [ "Interval[","null",", ","100","]" ] - } ] - }, { - "r" : "1148", - "value" : [ " ","before"," " ] - }, { - "r" : "1145", - "s" : [ { - "r" : "1143", - "value" : [ "Interval[","101",", ","200","]" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "1148", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "Before", - "signature" : [ { - "localId" : "1149", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1150", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "1151", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1152", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "1139", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "1141", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1142", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "1140", - "asType" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "As", - "signature" : [ ], - "operand" : { - "localId" : "1137", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - } - }, - "high" : { - "localId" : "1138", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "100", - "type" : "Literal" - } - }, { - "localId" : "1145", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "1146", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1147", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "1143", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "101", - "type" : "Literal" - }, - "high" : { - "localId" : "1144", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "200", - "type" : "Literal" - } - } ] - } - }, { - "localId" : "1155", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "NegInfBegNotBeforeIntIvl", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "1155", - "s" : [ { - "value" : [ "","define ","NegInfBegNotBeforeIntIvl",": " ] - }, { - "r" : "1167", - "s" : [ { - "r" : "1158", - "s" : [ { - "r" : "1156", - "value" : [ "Interval[","null",", ","100","]" ] - } ] - }, { - "r" : "1167", - "value" : [ " ","before"," " ] - }, { - "r" : "1164", - "s" : [ { - "r" : "1162", - "value" : [ "Interval[","100",", ","200","]" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "1167", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "Before", - "signature" : [ { - "localId" : "1168", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1169", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "1170", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1171", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "1158", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "1160", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1161", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "1159", - "asType" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "As", - "signature" : [ ], - "operand" : { - "localId" : "1156", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - } - }, - "high" : { - "localId" : "1157", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "100", - "type" : "Literal" - } - }, { - "localId" : "1164", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "1165", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1166", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "1162", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "100", - "type" : "Literal" - }, - "high" : { - "localId" : "1163", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "200", - "type" : "Literal" - } - } ] - } - }, { - "localId" : "1174", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "UnknownBegBeforeIntIvl", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "1174", - "s" : [ { - "value" : [ "","define ","UnknownBegBeforeIntIvl",": " ] - }, { - "r" : "1186", - "s" : [ { - "r" : "1177", - "s" : [ { - "r" : "1175", - "value" : [ "Interval(","null",", ","100","]" ] - } ] - }, { - "r" : "1186", - "value" : [ " ","before"," " ] - }, { - "r" : "1183", - "s" : [ { - "r" : "1181", - "value" : [ "Interval[","101",", ","200","]" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "1186", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "Before", - "signature" : [ { - "localId" : "1187", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1188", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "1189", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1190", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "1177", - "lowClosed" : false, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "1179", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1180", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "1178", - "asType" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "As", - "signature" : [ ], - "operand" : { - "localId" : "1175", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - } - }, - "high" : { - "localId" : "1176", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "100", - "type" : "Literal" - } - }, { - "localId" : "1183", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "1184", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1185", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "1181", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "101", - "type" : "Literal" - }, - "high" : { - "localId" : "1182", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "200", - "type" : "Literal" - } - } ] - } - }, { - "localId" : "1193", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "UnknownBegNotBeforeIntIvl", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "1193", - "s" : [ { - "value" : [ "","define ","UnknownBegNotBeforeIntIvl",": " ] - }, { - "r" : "1205", - "s" : [ { - "r" : "1196", - "s" : [ { - "r" : "1194", - "value" : [ "Interval(","null",", ","5","]" ] - } ] - }, { - "r" : "1205", - "value" : [ " ","before"," " ] - }, { - "r" : "1202", - "s" : [ { - "r" : "1200", - "value" : [ "Interval[","0",", ","100","]" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "1205", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "Before", - "signature" : [ { - "localId" : "1206", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1207", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "1208", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1209", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "1196", - "lowClosed" : false, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "1198", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1199", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "1197", - "asType" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "As", - "signature" : [ ], - "operand" : { - "localId" : "1194", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - } - }, - "high" : { - "localId" : "1195", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal" - } - }, { - "localId" : "1202", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "1203", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1204", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "1200", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "high" : { - "localId" : "1201", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "100", - "type" : "Literal" - } - } ] - } - }, { - "localId" : "1212", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "PosInfEndNotBeforeIntIvl", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "1212", - "s" : [ { - "value" : [ "","define ","PosInfEndNotBeforeIntIvl",": " ] - }, { - "r" : "1224", - "s" : [ { - "r" : "1215", - "s" : [ { - "r" : "1213", - "value" : [ "Interval[","0",", ","null","]" ] - } ] - }, { - "r" : "1224", - "value" : [ " ","before"," " ] - }, { - "r" : "1221", - "s" : [ { - "r" : "1219", - "value" : [ "Interval[","1000",", ","2000","]" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "1224", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "Before", - "signature" : [ { - "localId" : "1225", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1226", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "1227", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1228", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "1215", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "1217", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1218", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "1213", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "high" : { - "localId" : "1216", - "asType" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "As", - "signature" : [ ], - "operand" : { - "localId" : "1214", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - } - } - }, { - "localId" : "1221", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "1222", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1223", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "1219", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1000", - "type" : "Literal" - }, - "high" : { - "localId" : "1220", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - } - } ] - } - }, { - "localId" : "1231", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "UnknownEndMayBeBeforeIntIvl", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "1231", - "s" : [ { - "value" : [ "","define ","UnknownEndMayBeBeforeIntIvl",": " ] - }, { - "r" : "1243", - "s" : [ { - "r" : "1234", - "s" : [ { - "r" : "1232", - "value" : [ "Interval[","0",", ","null",")" ] - } ] - }, { - "r" : "1243", - "value" : [ " ","before"," " ] - }, { - "r" : "1240", - "s" : [ { - "r" : "1238", - "value" : [ "Interval[","1000",", ","2000","]" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "1243", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "Before", - "signature" : [ { - "localId" : "1244", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1245", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "1246", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1247", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "1234", - "lowClosed" : true, - "highClosed" : false, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "1236", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1237", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "1232", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "high" : { - "localId" : "1235", - "asType" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "As", - "signature" : [ ], - "operand" : { - "localId" : "1233", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - } - } - }, { - "localId" : "1240", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "1241", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1242", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "1238", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1000", - "type" : "Literal" - }, - "high" : { - "localId" : "1239", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - } - } ] - } - }, { - "localId" : "1250", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "UnknownEndNotBeforeIntIvl", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "1250", - "s" : [ { - "value" : [ "","define ","UnknownEndNotBeforeIntIvl",": " ] - }, { - "r" : "1264", - "s" : [ { - "r" : "1253", - "s" : [ { - "r" : "1251", - "value" : [ "Interval[","0",", ","null",")" ] - } ] - }, { - "r" : "1264", - "value" : [ " ","before"," " ] - }, { - "r" : "1261", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "1257", - "s" : [ { - "r" : "1258", - "value" : [ "-","100" ] - } ] - }, { - "r" : "1260", - "value" : [ ", ","0","]" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "1264", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "Before", - "signature" : [ { - "localId" : "1265", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1266", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "1267", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1268", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "1253", - "lowClosed" : true, - "highClosed" : false, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "1255", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1256", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "1251", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "high" : { - "localId" : "1254", - "asType" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "As", - "signature" : [ ], - "operand" : { - "localId" : "1252", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - } - } - }, { - "localId" : "1261", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "1262", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1263", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "1257", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "Negate", - "signature" : [ { - "localId" : "1259", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "1258", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "100", - "type" : "Literal" - } - }, - "high" : { - "localId" : "1260", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - } ] - } - }, { - "localId" : "1271", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "NegInfBegBeforeDateIvl", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "1271", - "s" : [ { - "value" : [ "","define ","NegInfBegBeforeDateIvl",": " ] - }, { - "r" : "1352", - "s" : [ { - "r" : "1297", - "s" : [ { - "r" : "1272", - "value" : [ "Interval[","null",", " ] - }, { - "r" : "1289", - "s" : [ { - "r" : "1273", - "value" : [ "DateTime","(","2013",", ","1",", ","1",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ ")" ] - } ] - }, { - "r" : "1352", - "value" : [ " ","before"," " ] - }, { - "r" : "1349", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "1317", - "s" : [ { - "r" : "1301", - "value" : [ "DateTime","(","2020",", ","1",", ","1",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "1341", - "s" : [ { - "r" : "1325", - "value" : [ "DateTime","(","2030",", ","1",", ","1",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ "]" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "1352", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "Before", - "signature" : [ { - "localId" : "1353", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1354", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "1355", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1356", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "1297", - "lowClosed" : true, - "highClosed" : false, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "1299", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1300", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "1298", - "asType" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "As", - "signature" : [ ], - "operand" : { - "localId" : "1272", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - } - }, - "high" : { - "localId" : "1289", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "1290", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1291", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1292", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1293", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1294", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1295", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1296", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1273", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2013", - "type" : "Literal" - }, - "month" : { - "localId" : "1274", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "1275", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "1276", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "1277", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "1278", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "1279", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - } - }, { - "localId" : "1349", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "1350", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1351", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "1317", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "1318", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1319", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1320", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1321", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1322", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1323", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1324", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1301", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2020", - "type" : "Literal" - }, - "month" : { - "localId" : "1302", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "1303", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "1304", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "1305", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "1306", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "1307", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - }, - "high" : { - "localId" : "1341", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "1342", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1343", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1344", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1345", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1346", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1347", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1348", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1325", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2030", - "type" : "Literal" - }, - "month" : { - "localId" : "1326", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "1327", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "1328", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "1329", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "1330", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "1331", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - } - } ] - } - }, { - "localId" : "1359", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "NegInfBegNotBeforeDateIvl", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "1359", - "s" : [ { - "value" : [ "","define ","NegInfBegNotBeforeDateIvl",": " ] - }, { - "r" : "1440", - "s" : [ { - "r" : "1385", - "s" : [ { - "r" : "1360", - "value" : [ "Interval[","null",", " ] - }, { - "r" : "1377", - "s" : [ { - "r" : "1361", - "value" : [ "DateTime","(","2013",", ","1",", ","1",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ ")" ] - } ] - }, { - "r" : "1440", - "value" : [ " ","before"," " ] - }, { - "r" : "1437", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "1405", - "s" : [ { - "r" : "1389", - "value" : [ "DateTime","(","2000",", ","1",", ","1",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "1429", - "s" : [ { - "r" : "1413", - "value" : [ "DateTime","(","2010",", ","1",", ","1",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ "]" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "1440", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "Before", - "signature" : [ { - "localId" : "1441", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1442", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "1443", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1444", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "1385", - "lowClosed" : true, - "highClosed" : false, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "1387", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1388", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "1386", - "asType" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "As", - "signature" : [ ], - "operand" : { - "localId" : "1360", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - } - }, - "high" : { - "localId" : "1377", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "1378", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1379", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1380", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1381", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1382", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1383", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1384", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1361", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2013", - "type" : "Literal" - }, - "month" : { - "localId" : "1362", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "1363", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "1364", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "1365", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "1366", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "1367", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - } - }, { - "localId" : "1437", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "1438", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1439", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "1405", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "1406", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1407", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1408", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1409", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1410", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1411", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1412", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1389", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "1390", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "1391", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "1392", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "1393", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "1394", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "1395", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - }, - "high" : { - "localId" : "1429", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "1430", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1431", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1432", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1433", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1434", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1435", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1436", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1413", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2010", - "type" : "Literal" - }, - "month" : { - "localId" : "1414", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "1415", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "1416", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "1417", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "1418", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "1419", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - } - } ] - } - }, { - "localId" : "1447", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "UnknownBegBeforeDateIvl", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "1447", - "s" : [ { - "value" : [ "","define ","UnknownBegBeforeDateIvl",": " ] - }, { - "r" : "1528", - "s" : [ { - "r" : "1473", - "s" : [ { - "r" : "1448", - "value" : [ "Interval(","null",", " ] - }, { - "r" : "1465", - "s" : [ { - "r" : "1449", - "value" : [ "DateTime","(","2013",", ","1",", ","1",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ ")" ] - } ] - }, { - "r" : "1528", - "value" : [ " ","before"," " ] - }, { - "r" : "1525", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "1493", - "s" : [ { - "r" : "1477", - "value" : [ "DateTime","(","2020",", ","1",", ","1",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "1517", - "s" : [ { - "r" : "1501", - "value" : [ "DateTime","(","2030",", ","1",", ","1",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ "]" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "1528", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "Before", - "signature" : [ { - "localId" : "1529", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1530", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "1531", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1532", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "1473", - "lowClosed" : false, - "highClosed" : false, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "1475", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1476", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "1474", - "asType" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "As", - "signature" : [ ], - "operand" : { - "localId" : "1448", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - } - }, - "high" : { - "localId" : "1465", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "1466", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1467", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1468", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1469", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1470", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1471", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1472", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1449", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2013", - "type" : "Literal" - }, - "month" : { - "localId" : "1450", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "1451", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "1452", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "1453", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "1454", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "1455", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - } - }, { - "localId" : "1525", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "1526", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1527", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "1493", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "1494", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1495", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1496", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1497", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1498", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1499", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1500", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1477", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2020", - "type" : "Literal" - }, - "month" : { - "localId" : "1478", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "1479", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "1480", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "1481", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "1482", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "1483", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - }, - "high" : { - "localId" : "1517", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "1518", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1519", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1520", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1521", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1522", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1523", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1524", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1501", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2030", - "type" : "Literal" - }, - "month" : { - "localId" : "1502", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "1503", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "1504", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "1505", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "1506", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "1507", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - } - } ] - } - }, { - "localId" : "1535", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "UnknownBegNotBeforeDateIvl", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "1535", - "s" : [ { - "value" : [ "","define ","UnknownBegNotBeforeDateIvl",": " ] - }, { - "r" : "1616", - "s" : [ { - "r" : "1561", - "s" : [ { - "r" : "1536", - "value" : [ "Interval(","null",", " ] - }, { - "r" : "1553", - "s" : [ { - "r" : "1537", - "value" : [ "DateTime","(","2013",", ","1",", ","1",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ ")" ] - } ] - }, { - "r" : "1616", - "value" : [ " ","before"," " ] - }, { - "r" : "1613", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "1581", - "s" : [ { - "r" : "1565", - "value" : [ "DateTime","(","2000",", ","1",", ","1",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "1605", - "s" : [ { - "r" : "1589", - "value" : [ "DateTime","(","2020",", ","1",", ","1",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ "]" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "1616", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "Before", - "signature" : [ { - "localId" : "1617", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1618", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "1619", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1620", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "1561", - "lowClosed" : false, - "highClosed" : false, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "1563", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1564", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "1562", - "asType" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "As", - "signature" : [ ], - "operand" : { - "localId" : "1536", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - } - }, - "high" : { - "localId" : "1553", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "1554", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1555", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1556", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1557", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1558", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1559", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1560", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1537", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2013", - "type" : "Literal" - }, - "month" : { - "localId" : "1538", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "1539", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "1540", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "1541", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "1542", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "1543", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - } - }, { - "localId" : "1613", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "1614", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1615", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "1581", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "1582", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1583", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1584", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1585", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1586", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1587", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1588", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1565", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "1566", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "1567", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "1568", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "1569", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "1570", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "1571", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - }, - "high" : { - "localId" : "1605", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "1606", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1607", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1608", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1609", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1610", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1611", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1612", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1589", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2020", - "type" : "Literal" - }, - "month" : { - "localId" : "1590", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "1591", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "1592", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "1593", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "1594", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "1595", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - } - } ] - } - }, { - "localId" : "1623", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "PosInfEndNotBeforeDateIvl", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "1623", - "s" : [ { - "value" : [ "","define ","PosInfEndNotBeforeDateIvl",": " ] - }, { - "r" : "1704", - "s" : [ { - "r" : "1649", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "1640", - "s" : [ { - "r" : "1624", - "value" : [ "DateTime","(","2013",", ","1",", ","1",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "r" : "1648", - "value" : [ ", ","null","]" ] - } ] - }, { - "r" : "1704", - "value" : [ " ","before"," " ] - }, { - "r" : "1701", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "1669", - "s" : [ { - "r" : "1653", - "value" : [ "DateTime","(","2000",", ","1",", ","1",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "1693", - "s" : [ { - "r" : "1677", - "value" : [ "DateTime","(","2020",", ","1",", ","1",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ "]" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "1704", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "Before", - "signature" : [ { - "localId" : "1705", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1706", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "1707", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1708", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "1649", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "1651", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1652", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "1640", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "1641", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1642", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1643", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1644", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1645", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1646", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1647", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1624", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2013", - "type" : "Literal" - }, - "month" : { - "localId" : "1625", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "1626", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "1627", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "1628", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "1629", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "1630", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - }, - "high" : { - "localId" : "1650", - "asType" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "As", - "signature" : [ ], - "operand" : { - "localId" : "1648", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - } - } - }, { - "localId" : "1701", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "1702", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1703", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "1669", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "1670", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1671", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1672", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1673", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1674", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1675", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1676", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1653", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "1654", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "1655", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "1656", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "1657", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "1658", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "1659", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - }, - "high" : { - "localId" : "1693", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "1694", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1695", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1696", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1697", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1698", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1699", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1700", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1677", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2020", - "type" : "Literal" - }, - "month" : { - "localId" : "1678", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "1679", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "1680", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "1681", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "1682", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "1683", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - } - } ] - } - }, { - "localId" : "1711", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "UnknownEndMayBeBeforeDateIvl", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "1711", - "s" : [ { - "value" : [ "","define ","UnknownEndMayBeBeforeDateIvl",": " ] - }, { - "r" : "1792", - "s" : [ { - "r" : "1737", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "1728", - "s" : [ { - "r" : "1712", - "value" : [ "DateTime","(","2013",", ","1",", ","1",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "r" : "1736", - "value" : [ ", ","null",")" ] - } ] - }, { - "r" : "1792", - "value" : [ " ","before"," " ] - }, { - "r" : "1789", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "1757", - "s" : [ { - "r" : "1741", - "value" : [ "DateTime","(","2020",", ","1",", ","1",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "1781", - "s" : [ { - "r" : "1765", - "value" : [ "DateTime","(","2040",", ","1",", ","1",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ "]" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "1792", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "Before", - "signature" : [ { - "localId" : "1793", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1794", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "1795", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1796", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "1737", - "lowClosed" : true, - "highClosed" : false, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "1739", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1740", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "1728", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "1729", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1730", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1731", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1732", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1733", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1734", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1735", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1712", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2013", - "type" : "Literal" - }, - "month" : { - "localId" : "1713", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "1714", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "1715", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "1716", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "1717", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "1718", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - }, - "high" : { - "localId" : "1738", - "asType" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "As", - "signature" : [ ], - "operand" : { - "localId" : "1736", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - } - } - }, { - "localId" : "1789", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "1790", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1791", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "1757", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "1758", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1759", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1760", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1761", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1762", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1763", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1764", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1741", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2020", - "type" : "Literal" - }, - "month" : { - "localId" : "1742", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "1743", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "1744", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "1745", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "1746", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "1747", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - }, - "high" : { - "localId" : "1781", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "1782", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1783", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1784", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1785", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1786", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1787", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1788", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1765", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2040", - "type" : "Literal" - }, - "month" : { - "localId" : "1766", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "1767", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "1768", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "1769", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "1770", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "1771", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - } - } ] - } - }, { - "localId" : "1799", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "UnknownEndNotBeforeDateIvl", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "1799", - "s" : [ { - "value" : [ "","define ","UnknownEndNotBeforeDateIvl",": " ] - }, { - "r" : "1880", - "s" : [ { - "r" : "1825", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "1816", - "s" : [ { - "r" : "1800", - "value" : [ "DateTime","(","2013",", ","1",", ","1",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "r" : "1824", - "value" : [ ", ","null",")" ] - } ] - }, { - "r" : "1880", - "value" : [ " ","before"," " ] - }, { - "r" : "1877", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "1845", - "s" : [ { - "r" : "1829", - "value" : [ "DateTime","(","2000",", ","1",", ","1",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "1869", - "s" : [ { - "r" : "1853", - "value" : [ "DateTime","(","2013",", ","1",", ","1",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ "]" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "1880", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "Before", - "signature" : [ { - "localId" : "1881", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1882", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "1883", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1884", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "1825", - "lowClosed" : true, - "highClosed" : false, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "1827", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1828", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "1816", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "1817", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1818", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1819", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1820", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1821", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1822", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1823", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1800", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2013", - "type" : "Literal" - }, - "month" : { - "localId" : "1801", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "1802", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "1803", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "1804", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "1805", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "1806", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - }, - "high" : { - "localId" : "1826", - "asType" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "As", - "signature" : [ ], - "operand" : { - "localId" : "1824", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - } - } - }, { - "localId" : "1877", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "1878", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1879", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "1845", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "1846", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1847", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1848", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1849", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1850", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1851", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1852", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1829", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "1830", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "1831", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "1832", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "1833", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "1834", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "1835", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - }, - "high" : { - "localId" : "1869", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "1870", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1871", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1872", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1873", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1874", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1875", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1876", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1853", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2013", - "type" : "Literal" - }, - "month" : { - "localId" : "1854", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "1855", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "1856", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "1857", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "1858", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "1859", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - } - } ] - } - } ] - } - } -} - -/* BeforeOrOn -library TestSnippet version '1' -using Simple version '1.0.0' -context Patient -define DateIvl: Interval[DateTime(2012, 3, 1, 0, 0, 0, 0), DateTime(2012, 9, 1, 0, 0, 0, 0)] -define MeetsAfterDateIvl: Interval[DateTime(2012, 9, 1, 0, 0, 0, 0), DateTime(2012, 12, 1, 0, 0, 0, 0)) before or on DateIvl -define MeetsBeforeDateIvl: Interval[DateTime(2012, 1, 1, 0, 0, 0, 0), DateTime(2012, 3, 1, 0, 0, 0, 0)) before or on DateIvl -define AfterDateIvl: Interval[DateTime(2012, 10, 11, 0, 0, 0, 0), DateTime(2012, 10, 29, 0, 0, 0, 0)) before or on DateIvl -define BeforeDateIvl: Interval[DateTime(2012, 1, 1, 0, 0, 0, 0), DateTime(2012, 2, 29, 0, 0, 0, 0)) before or on DateIvl -define MayMeetAfterImpreciseDateIvl: DateIvl before or on Interval[DateTime(2012, 1), DateTime(2012, 2)] -define MayMeetBeforeImpreciseDateIvl: DateIvl before or on Interval[DateTime(2012, 9), DateTime(2012, 12)] -define NotMeetsImpreciseDateIvl: DateIvl before or on Interval[DateTime(2012, 1), DateTime(2012, 12)] -define PrecisionDateIvl: Interval[DateTime(2012, 3, 2, 12, 34, 56, 789), DateTime(2012, 9, 2, 1, 23, 45, 678)) -define MeetsAfterDayOfIvl: PrecisionDateIvl before or on day of Interval[DateTime(2012, 1, 2, 0, 0, 0, 0), DateTime(2012, 3, 1, 0, 0, 0, 0)] -define MeetsBeforeDayOfIvl: PrecisionDateIvl before or on day of Interval[DateTime(2012, 9, 3, 0, 0, 0, 0), DateTime(2012, 12, 1, 0, 0, 0, 0)] -define NotMeetsDayOfIvl: PrecisionDateIvl before or on day of Interval[DateTime(2012, 1, 2, 0, 0, 0, 0), DateTime(2012, 3, 2, 0, 0, 0, 0)] -define NotMeetsDayOfImpreciseIVL: PrecisionDateIvl before or on day of Interval[DateTime(2012, 1), DateTime(2012, 2)] -define MayMeetAfterDayOfImpreciseIvl: PrecisionDateIvl before or on day of Interval[DateTime(2012, 1), DateTime(2012, 3)] -define MayMeetBeforeDayOfImpreciseIvl: PrecisionDateIvl before or on day of Interval[DateTime(2012, 9), DateTime(2012, 12)] -define ImpDateIvl: Interval[DateTime(2012, 3), DateTime(2012, 8)] -define ImpreciseMayMeetAfterDateIvl: ImpDateIvl before or on Interval[DateTime(2012, 1, 1, 0, 0, 0, 0), DateTime(2012, 2, 29, 23, 59, 59, 999)] -define ImpreciseMayMeetBeforeDateIvl: ImpDateIvl before or on Interval[DateTime(2012, 9, 1, 0, 0, 0, 0), DateTime(2012, 12, 31, 23, 59, 59, 999)] -define ImpreciseNotMeetsDateIvl: ImpDateIvl before or on Interval[DateTime(2012, 1, 1, 0, 0, 0, 0), DateTime(2012, 12, 31, 23, 59, 59, 999)) -define NullEndIvl: Interval[DateTime(2012, 3, 1, 0, 0, 0, 0), null) -define BeforeNullEndIvl: Interval[DateTime(2012, 1, 1, 0, 0, 0, 0), DateTime(2012, 2, 20, 0, 0, 0, 0)] before or on NullEndIvl -define AfterStartNullEndIvl: Interval[DateTime(2012, 3, 10, 0, 0, 0, 0), DateTime(2012, 3, 20, 0, 0, 0, 0)] before or on NullEndIvl -define NullEndStartBeforeIvl: NullEndIvl before or on Interval[DateTime(2012, 4, 1, 0, 0, 0, 0), DateTime(2012, 4, 20, 0, 0, 0, 0)] -define NullEndStartAfterIvl: NullEndIvl before or on Interval[DateTime(2012, 1, 1, 0, 0, 0, 0), DateTime(2012, 1, 20, 0, 0, 0, 0)] -define NullStartIvl: Interval(null, DateTime(2012, 3, 1, 0, 0, 0, 0)] -define EndsBeforeNullStartIvlEnds: Interval[DateTime(2012, 1, 1, 0, 0, 0, 0), DateTime(2012, 2, 20, 0, 0, 0, 0)] before or on NullStartIvl -define AfterEndOfNullStartIvl: Interval[DateTime(2012, 3, 10, 0, 0, 0, 0), DateTime(2012, 3, 20, 0, 0, 0, 0)] before or on NullStartIvl -define NullStartStartBeforeIvl: NullStartIvl before or on Interval[DateTime(2012, 4, 1, 0, 0, 0, 0), DateTime(2012, 4, 20, 0, 0, 0, 0)] -define NullStartStartAfterIvl: NullStartIvl before or on Interval[DateTime(2012, 1, 1, 0, 0, 0, 0), DateTime(2012, 1, 20, 0, 0, 0, 0)] -define DateIvlBeforeNull: DateIvl before or on null -define NullBeforeDateIvl: null before or on DateIvl -define DateTimeBeforeDateIvl: DateTime(2012, 2, 20, 0, 0, 0, 0) before or on DateIvl -define DateBeforeDateIvl: Date(2012, 2, 20) before or on DateIvl -define DateIvlBeforeDateTime: DateIvl before or on DateTime(2012, 9, 20, 0, 0, 0, 0) -define DateIvlBeforeDate: DateIvl before or on DateTime(2012, 9, 20) -define DateOnlyIvl: Interval[Date(2012, 1, 1), Date(2012, 2, 20)] -define DateOnlyIvlBeforeDateIvl: DateOnlyIvl before or on DateIvl -define DateIvlAfterDateOnlyIvl: DateIvl before or on DateOnlyIvl -define DateOnlyMeetsBeforeDateIvl: Interval[Date(2012, 1, 1), Date(2012, 3, 1)] before or on DateIvl -*/ - -module.exports['BeforeOrOn'] = { - "library" : { - "localId" : "0", - "annotation" : [ { - "translatorVersion" : "3.27.0", - "translatorOptions" : "EnableDateRangeOptimization,EnableAnnotations,EnableResultTypes", - "signatureLevel" : "All", - "type" : "CqlToElmInfo" - }, { - "type" : "Annotation", - "s" : { - "r" : "1983", - "s" : [ { - "value" : [ "","library TestSnippet version '1'" ] - } ] - } - } ], - "identifier" : { - "id" : "TestSnippet", - "version" : "1" - }, - "schemaIdentifier" : { - "id" : "urn:hl7-org:elm", - "version" : "r1" - }, - "usings" : { - "def" : [ { - "localId" : "1", - "localIdentifier" : "System", - "uri" : "urn:hl7-org:elm-types:r1" - }, { - "localId" : "206", - "localIdentifier" : "Simple", - "uri" : "https://github.com/cqframework/cql-execution/simple", - "version" : "1.0.0", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "206", - "s" : [ { - "value" : [ "","using " ] - }, { - "s" : [ { - "value" : [ "Simple" ] - } ] - }, { - "value" : [ " version '1.0.0'" ] - } ] - } - } ] - } ] - }, - "contexts" : { - "def" : [ { - "localId" : "211", - "name" : "Patient" - } ] - }, - "statements" : { - "def" : [ { - "localId" : "209", - "name" : "Patient", - "context" : "Patient", - "expression" : { - "localId" : "210", - "type" : "SingletonFrom", - "signature" : [ ], - "operand" : { - "localId" : "208", - "dataType" : "{https://github.com/cqframework/cql-execution/simple}Patient", - "type" : "Retrieve", - "include" : [ ], - "codeFilter" : [ ], - "dateFilter" : [ ], - "otherFilter" : [ ] - } - } - }, { - "localId" : "214", - "name" : "DateIvl", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "214", - "s" : [ { - "value" : [ "","define ","DateIvl",": " ] - }, { - "r" : "263", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "231", - "s" : [ { - "r" : "215", - "value" : [ "DateTime","(","2012",", ","3",", ","1",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "255", - "s" : [ { - "r" : "239", - "value" : [ "DateTime","(","2012",", ","9",", ","1",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ "]" ] - } ] - } ] - } - } ], - "resultTypeSpecifier" : { - "localId" : "266", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "267", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "expression" : { - "localId" : "263", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "264", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "265", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "231", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "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" - }, { - "localId" : "234", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "235", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "236", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "237", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "238", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "215", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "216", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "217", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "218", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "219", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "220", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "221", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - }, - "high" : { - "localId" : "255", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "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" - }, { - "localId" : "258", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "259", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "260", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "261", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "262", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "239", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "240", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "9", - "type" : "Literal" - }, - "day" : { - "localId" : "241", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "242", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "243", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "244", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "245", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - } - } - }, { - "localId" : "270", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "MeetsAfterDateIvl", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "270", - "s" : [ { - "value" : [ "","define ","MeetsAfterDateIvl",": " ] - }, { - "r" : "325", - "s" : [ { - "r" : "319", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "287", - "s" : [ { - "r" : "271", - "value" : [ "DateTime","(","2012",", ","9",", ","1",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "311", - "s" : [ { - "r" : "295", - "value" : [ "DateTime","(","2012",", ","12",", ","1",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ ")" ] - } ] - }, { - "r" : "325", - "value" : [ " ","before or on"," " ] - }, { - "r" : "322", - "s" : [ { - "value" : [ "DateIvl" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "325", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "SameOrBefore", - "signature" : [ { - "localId" : "326", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "327", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "328", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "329", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "319", - "lowClosed" : true, - "highClosed" : false, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "320", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "321", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "287", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "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" - }, { - "localId" : "290", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "291", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "292", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "293", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "294", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "271", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "272", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "9", - "type" : "Literal" - }, - "day" : { - "localId" : "273", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "274", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "275", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "276", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "277", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - }, - "high" : { - "localId" : "311", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "312", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "313", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "314", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "315", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "316", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "317", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "318", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "295", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "296", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "12", - "type" : "Literal" - }, - "day" : { - "localId" : "297", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "298", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "299", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "300", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "301", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - } - }, { - "localId" : "322", - "name" : "DateIvl", - "type" : "ExpressionRef", - "resultTypeSpecifier" : { - "localId" : "323", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "324", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - } ] - } - }, { - "localId" : "332", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "MeetsBeforeDateIvl", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "332", - "s" : [ { - "value" : [ "","define ","MeetsBeforeDateIvl",": " ] - }, { - "r" : "387", - "s" : [ { - "r" : "381", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "349", - "s" : [ { - "r" : "333", - "value" : [ "DateTime","(","2012",", ","1",", ","1",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "373", - "s" : [ { - "r" : "357", - "value" : [ "DateTime","(","2012",", ","3",", ","1",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ ")" ] - } ] - }, { - "r" : "387", - "value" : [ " ","before or on"," " ] - }, { - "r" : "384", - "s" : [ { - "value" : [ "DateIvl" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "387", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "SameOrBefore", - "signature" : [ { - "localId" : "388", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "389", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "390", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "391", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "381", - "lowClosed" : true, - "highClosed" : false, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "382", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "383", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "349", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "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" - }, { - "localId" : "352", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "353", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "354", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "355", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "356", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "333", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "334", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "335", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "336", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "337", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "338", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "339", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - }, - "high" : { - "localId" : "373", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "374", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "375", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "376", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "377", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "378", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "379", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "380", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "357", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "358", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "359", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "360", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "361", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "362", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "363", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - } - }, { - "localId" : "384", - "name" : "DateIvl", - "type" : "ExpressionRef", - "resultTypeSpecifier" : { - "localId" : "385", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "386", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - } ] - } - }, { - "localId" : "394", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "AfterDateIvl", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "394", - "s" : [ { - "value" : [ "","define ","AfterDateIvl",": " ] - }, { - "r" : "449", - "s" : [ { - "r" : "443", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "411", - "s" : [ { - "r" : "395", - "value" : [ "DateTime","(","2012",", ","10",", ","11",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "435", - "s" : [ { - "r" : "419", - "value" : [ "DateTime","(","2012",", ","10",", ","29",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ ")" ] - } ] - }, { - "r" : "449", - "value" : [ " ","before or on"," " ] - }, { - "r" : "446", - "s" : [ { - "value" : [ "DateIvl" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "449", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "SameOrBefore", - "signature" : [ { - "localId" : "450", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "451", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "452", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "453", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "443", - "lowClosed" : true, - "highClosed" : false, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "444", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "445", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "411", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "412", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "413", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "414", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "415", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "416", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "417", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "418", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "395", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "396", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal" - }, - "day" : { - "localId" : "397", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "11", - "type" : "Literal" - }, - "hour" : { - "localId" : "398", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "399", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "400", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "401", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - }, - "high" : { - "localId" : "435", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "436", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "437", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "438", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "439", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "440", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "441", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "442", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "419", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "420", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal" - }, - "day" : { - "localId" : "421", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "29", - "type" : "Literal" - }, - "hour" : { - "localId" : "422", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "423", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "424", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "425", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - } - }, { - "localId" : "446", - "name" : "DateIvl", - "type" : "ExpressionRef", - "resultTypeSpecifier" : { - "localId" : "447", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "448", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - } ] - } - }, { - "localId" : "456", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "BeforeDateIvl", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "456", - "s" : [ { - "value" : [ "","define ","BeforeDateIvl",": " ] - }, { - "r" : "511", - "s" : [ { - "r" : "505", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "473", - "s" : [ { - "r" : "457", - "value" : [ "DateTime","(","2012",", ","1",", ","1",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "497", - "s" : [ { - "r" : "481", - "value" : [ "DateTime","(","2012",", ","2",", ","29",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ ")" ] - } ] - }, { - "r" : "511", - "value" : [ " ","before or on"," " ] - }, { - "r" : "508", - "s" : [ { - "value" : [ "DateIvl" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "511", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "SameOrBefore", - "signature" : [ { - "localId" : "512", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "513", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "514", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "515", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "505", - "lowClosed" : true, - "highClosed" : false, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "506", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "507", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "473", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "474", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "475", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "476", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "477", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "478", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "479", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "480", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "457", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "458", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "459", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "460", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "461", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "462", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "463", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - }, - "high" : { - "localId" : "497", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "498", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "499", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "500", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "501", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "502", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "503", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "504", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "481", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "482", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal" - }, - "day" : { - "localId" : "483", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "29", - "type" : "Literal" - }, - "hour" : { - "localId" : "484", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "485", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "486", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "487", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - } - }, { - "localId" : "508", - "name" : "DateIvl", - "type" : "ExpressionRef", - "resultTypeSpecifier" : { - "localId" : "509", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "510", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - } ] - } - }, { - "localId" : "518", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "MayMeetAfterImpreciseDateIvl", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "518", - "s" : [ { - "value" : [ "","define ","MayMeetAfterImpreciseDateIvl",": " ] - }, { - "r" : "543", - "s" : [ { - "r" : "519", - "s" : [ { - "value" : [ "DateIvl" ] - } ] - }, { - "r" : "543", - "value" : [ " ","before or on"," " ] - }, { - "r" : "540", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "528", - "s" : [ { - "r" : "522", - "value" : [ "DateTime","(","2012",", ","1",")" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "537", - "s" : [ { - "r" : "531", - "value" : [ "DateTime","(","2012",", ","2",")" ] - } ] - }, { - "value" : [ "]" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "543", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "SameOrBefore", - "signature" : [ { - "localId" : "544", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "545", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "546", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "547", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "519", - "name" : "DateIvl", - "type" : "ExpressionRef", - "resultTypeSpecifier" : { - "localId" : "520", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "521", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - }, { - "localId" : "540", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "541", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "542", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "528", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "529", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "530", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "522", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "523", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - } - }, - "high" : { - "localId" : "537", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "538", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "539", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "531", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "532", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal" - } - } - } ] - } - }, { - "localId" : "550", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "MayMeetBeforeImpreciseDateIvl", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "550", - "s" : [ { - "value" : [ "","define ","MayMeetBeforeImpreciseDateIvl",": " ] - }, { - "r" : "575", - "s" : [ { - "r" : "551", - "s" : [ { - "value" : [ "DateIvl" ] - } ] - }, { - "r" : "575", - "value" : [ " ","before or on"," " ] - }, { - "r" : "572", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "560", - "s" : [ { - "r" : "554", - "value" : [ "DateTime","(","2012",", ","9",")" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "569", - "s" : [ { - "r" : "563", - "value" : [ "DateTime","(","2012",", ","12",")" ] - } ] - }, { - "value" : [ "]" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "575", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "SameOrBefore", - "signature" : [ { - "localId" : "576", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "577", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "578", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "579", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "551", - "name" : "DateIvl", - "type" : "ExpressionRef", - "resultTypeSpecifier" : { - "localId" : "552", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "553", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - }, { - "localId" : "572", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "573", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "574", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "560", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "561", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "562", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "554", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "555", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "9", - "type" : "Literal" - } - }, - "high" : { - "localId" : "569", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "570", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "571", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "563", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "564", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "12", - "type" : "Literal" - } - } - } ] - } - }, { - "localId" : "582", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "NotMeetsImpreciseDateIvl", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "582", - "s" : [ { - "value" : [ "","define ","NotMeetsImpreciseDateIvl",": " ] - }, { - "r" : "607", - "s" : [ { - "r" : "583", - "s" : [ { - "value" : [ "DateIvl" ] - } ] - }, { - "r" : "607", - "value" : [ " ","before or on"," " ] - }, { - "r" : "604", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "592", - "s" : [ { - "r" : "586", - "value" : [ "DateTime","(","2012",", ","1",")" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "601", - "s" : [ { - "r" : "595", - "value" : [ "DateTime","(","2012",", ","12",")" ] - } ] - }, { - "value" : [ "]" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "607", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "SameOrBefore", - "signature" : [ { - "localId" : "608", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "609", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "610", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "611", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "583", - "name" : "DateIvl", - "type" : "ExpressionRef", - "resultTypeSpecifier" : { - "localId" : "584", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "585", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - }, { - "localId" : "604", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "605", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "606", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "592", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "593", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "594", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "586", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "587", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - } - }, - "high" : { - "localId" : "601", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "602", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "603", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "595", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "596", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "12", - "type" : "Literal" - } - } - } ] - } - }, { - "localId" : "614", - "name" : "PrecisionDateIvl", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "614", - "s" : [ { - "value" : [ "","define ","PrecisionDateIvl",": " ] - }, { - "r" : "663", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "631", - "s" : [ { - "r" : "615", - "value" : [ "DateTime","(","2012",", ","3",", ","2",", ","12",", ","34",", ","56",", ","789",")" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "655", - "s" : [ { - "r" : "639", - "value" : [ "DateTime","(","2012",", ","9",", ","2",", ","1",", ","23",", ","45",", ","678",")" ] - } ] - }, { - "value" : [ ")" ] - } ] - } ] - } - } ], - "resultTypeSpecifier" : { - "localId" : "666", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "667", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "expression" : { - "localId" : "663", - "lowClosed" : true, - "highClosed" : false, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "664", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "665", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "631", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "632", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "633", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "634", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "635", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "636", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "637", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "638", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "615", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "616", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "617", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal" - }, - "hour" : { - "localId" : "618", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "12", - "type" : "Literal" - }, - "minute" : { - "localId" : "619", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "34", - "type" : "Literal" - }, - "second" : { - "localId" : "620", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "56", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "621", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "789", - "type" : "Literal" - } - }, - "high" : { - "localId" : "655", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "656", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "657", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "658", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "659", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "660", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "661", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "662", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "639", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "640", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "9", - "type" : "Literal" - }, - "day" : { - "localId" : "641", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal" - }, - "hour" : { - "localId" : "642", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "minute" : { - "localId" : "643", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "23", - "type" : "Literal" - }, - "second" : { - "localId" : "644", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "45", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "645", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "678", - "type" : "Literal" - } - } - } - }, { - "localId" : "670", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "MeetsAfterDayOfIvl", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "670", - "s" : [ { - "value" : [ "","define ","MeetsAfterDayOfIvl",": " ] - }, { - "r" : "725", - "s" : [ { - "r" : "671", - "s" : [ { - "value" : [ "PrecisionDateIvl" ] - } ] - }, { - "r" : "725", - "value" : [ " ","before or on day of"," " ] - }, { - "r" : "722", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "690", - "s" : [ { - "r" : "674", - "value" : [ "DateTime","(","2012",", ","1",", ","2",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "714", - "s" : [ { - "r" : "698", - "value" : [ "DateTime","(","2012",", ","3",", ","1",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ "]" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "725", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "precision" : "Day", - "type" : "SameOrBefore", - "signature" : [ { - "localId" : "726", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "727", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "728", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "729", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "671", - "name" : "PrecisionDateIvl", - "type" : "ExpressionRef", - "resultTypeSpecifier" : { - "localId" : "672", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "673", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - }, { - "localId" : "722", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "723", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "724", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "690", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "691", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "692", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "693", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "694", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "695", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "696", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "697", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "674", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "675", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "676", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal" - }, - "hour" : { - "localId" : "677", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "678", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "679", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "680", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - }, - "high" : { - "localId" : "714", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "715", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "716", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "717", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "718", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "719", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "720", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "721", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "698", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "699", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "700", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "701", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "702", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "703", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "704", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - } - } ] - } - }, { - "localId" : "732", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "MeetsBeforeDayOfIvl", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "732", - "s" : [ { - "value" : [ "","define ","MeetsBeforeDayOfIvl",": " ] - }, { - "r" : "787", - "s" : [ { - "r" : "733", - "s" : [ { - "value" : [ "PrecisionDateIvl" ] - } ] - }, { - "r" : "787", - "value" : [ " ","before or on day of"," " ] - }, { - "r" : "784", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "752", - "s" : [ { - "r" : "736", - "value" : [ "DateTime","(","2012",", ","9",", ","3",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "776", - "s" : [ { - "r" : "760", - "value" : [ "DateTime","(","2012",", ","12",", ","1",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ "]" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "787", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "precision" : "Day", - "type" : "SameOrBefore", - "signature" : [ { - "localId" : "788", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "789", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "790", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "791", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "733", - "name" : "PrecisionDateIvl", - "type" : "ExpressionRef", - "resultTypeSpecifier" : { - "localId" : "734", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "735", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - }, { - "localId" : "784", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "785", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "786", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "752", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "753", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "754", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "755", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "756", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "757", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "758", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "759", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "736", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "737", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "9", - "type" : "Literal" - }, - "day" : { - "localId" : "738", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "hour" : { - "localId" : "739", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "740", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "741", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "742", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - }, - "high" : { - "localId" : "776", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "777", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "778", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "779", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "780", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "781", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "782", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "783", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "760", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "761", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "12", - "type" : "Literal" - }, - "day" : { - "localId" : "762", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "763", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "764", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "765", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "766", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - } - } ] - } - }, { - "localId" : "794", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "NotMeetsDayOfIvl", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "794", - "s" : [ { - "value" : [ "","define ","NotMeetsDayOfIvl",": " ] - }, { - "r" : "849", - "s" : [ { - "r" : "795", - "s" : [ { - "value" : [ "PrecisionDateIvl" ] - } ] - }, { - "r" : "849", - "value" : [ " ","before or on day of"," " ] - }, { - "r" : "846", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "814", - "s" : [ { - "r" : "798", - "value" : [ "DateTime","(","2012",", ","1",", ","2",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "838", - "s" : [ { - "r" : "822", - "value" : [ "DateTime","(","2012",", ","3",", ","2",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ "]" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "849", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "precision" : "Day", - "type" : "SameOrBefore", - "signature" : [ { - "localId" : "850", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "851", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "852", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "853", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "795", - "name" : "PrecisionDateIvl", - "type" : "ExpressionRef", - "resultTypeSpecifier" : { - "localId" : "796", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "797", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - }, { - "localId" : "846", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "847", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "848", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "814", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "815", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "816", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "817", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "818", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "819", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "820", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "821", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "798", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "799", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "800", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal" - }, - "hour" : { - "localId" : "801", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "802", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "803", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "804", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - }, - "high" : { - "localId" : "838", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "839", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "840", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "841", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "842", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "843", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "844", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "845", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "822", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "823", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "824", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal" - }, - "hour" : { - "localId" : "825", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "826", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "827", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "828", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - } - } ] - } - }, { - "localId" : "856", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "NotMeetsDayOfImpreciseIVL", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "856", - "s" : [ { - "value" : [ "","define ","NotMeetsDayOfImpreciseIVL",": " ] - }, { - "r" : "881", - "s" : [ { - "r" : "857", - "s" : [ { - "value" : [ "PrecisionDateIvl" ] - } ] - }, { - "r" : "881", - "value" : [ " ","before or on day of"," " ] - }, { - "r" : "878", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "866", - "s" : [ { - "r" : "860", - "value" : [ "DateTime","(","2012",", ","1",")" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "875", - "s" : [ { - "r" : "869", - "value" : [ "DateTime","(","2012",", ","2",")" ] - } ] - }, { - "value" : [ "]" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "881", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "precision" : "Day", - "type" : "SameOrBefore", - "signature" : [ { - "localId" : "882", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "883", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "884", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "885", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "857", - "name" : "PrecisionDateIvl", - "type" : "ExpressionRef", - "resultTypeSpecifier" : { - "localId" : "858", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "859", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - }, { - "localId" : "878", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "879", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "880", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "866", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "867", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "868", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "860", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "861", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - } - }, - "high" : { - "localId" : "875", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "876", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "877", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "869", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "870", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal" - } - } - } ] - } - }, { - "localId" : "888", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "MayMeetAfterDayOfImpreciseIvl", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "888", - "s" : [ { - "value" : [ "","define ","MayMeetAfterDayOfImpreciseIvl",": " ] - }, { - "r" : "913", - "s" : [ { - "r" : "889", - "s" : [ { - "value" : [ "PrecisionDateIvl" ] - } ] - }, { - "r" : "913", - "value" : [ " ","before or on day of"," " ] - }, { - "r" : "910", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "898", - "s" : [ { - "r" : "892", - "value" : [ "DateTime","(","2012",", ","1",")" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "907", - "s" : [ { - "r" : "901", - "value" : [ "DateTime","(","2012",", ","3",")" ] - } ] - }, { - "value" : [ "]" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "913", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "precision" : "Day", - "type" : "SameOrBefore", - "signature" : [ { - "localId" : "914", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "915", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "916", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "917", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "889", - "name" : "PrecisionDateIvl", - "type" : "ExpressionRef", - "resultTypeSpecifier" : { - "localId" : "890", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "891", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - }, { - "localId" : "910", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "911", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "912", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "898", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "899", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "900", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "892", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "893", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - } - }, - "high" : { - "localId" : "907", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "908", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "909", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "901", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "902", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - } - } - } ] - } - }, { - "localId" : "920", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "MayMeetBeforeDayOfImpreciseIvl", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "920", - "s" : [ { - "value" : [ "","define ","MayMeetBeforeDayOfImpreciseIvl",": " ] - }, { - "r" : "945", - "s" : [ { - "r" : "921", - "s" : [ { - "value" : [ "PrecisionDateIvl" ] - } ] - }, { - "r" : "945", - "value" : [ " ","before or on day of"," " ] - }, { - "r" : "942", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "930", - "s" : [ { - "r" : "924", - "value" : [ "DateTime","(","2012",", ","9",")" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "939", - "s" : [ { - "r" : "933", - "value" : [ "DateTime","(","2012",", ","12",")" ] - } ] - }, { - "value" : [ "]" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "945", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "precision" : "Day", - "type" : "SameOrBefore", - "signature" : [ { - "localId" : "946", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "947", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "948", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "949", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "921", - "name" : "PrecisionDateIvl", - "type" : "ExpressionRef", - "resultTypeSpecifier" : { - "localId" : "922", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "923", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - }, { - "localId" : "942", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "943", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "944", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "930", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "931", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "932", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "924", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "925", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "9", - "type" : "Literal" - } - }, - "high" : { - "localId" : "939", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "940", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "941", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "933", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "934", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "12", - "type" : "Literal" - } - } - } ] - } - }, { - "localId" : "952", - "name" : "ImpDateIvl", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "952", - "s" : [ { - "value" : [ "","define ","ImpDateIvl",": " ] - }, { - "r" : "971", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "959", - "s" : [ { - "r" : "953", - "value" : [ "DateTime","(","2012",", ","3",")" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "968", - "s" : [ { - "r" : "962", - "value" : [ "DateTime","(","2012",", ","8",")" ] - } ] - }, { - "value" : [ "]" ] - } ] - } ] - } - } ], - "resultTypeSpecifier" : { - "localId" : "974", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "975", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "expression" : { - "localId" : "971", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "972", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "973", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "959", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "960", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "961", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "953", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "954", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - } - }, - "high" : { - "localId" : "968", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "969", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "970", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "962", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "963", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "8", - "type" : "Literal" - } - } - } - }, { - "localId" : "978", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "ImpreciseMayMeetAfterDateIvl", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "978", - "s" : [ { - "value" : [ "","define ","ImpreciseMayMeetAfterDateIvl",": " ] - }, { - "r" : "1033", - "s" : [ { - "r" : "979", - "s" : [ { - "value" : [ "ImpDateIvl" ] - } ] - }, { - "r" : "1033", - "value" : [ " ","before or on"," " ] - }, { - "r" : "1030", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "998", - "s" : [ { - "r" : "982", - "value" : [ "DateTime","(","2012",", ","1",", ","1",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "1022", - "s" : [ { - "r" : "1006", - "value" : [ "DateTime","(","2012",", ","2",", ","29",", ","23",", ","59",", ","59",", ","999",")" ] - } ] - }, { - "value" : [ "]" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "1033", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "SameOrBefore", - "signature" : [ { - "localId" : "1034", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1035", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "1036", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1037", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "979", - "name" : "ImpDateIvl", - "type" : "ExpressionRef", - "resultTypeSpecifier" : { - "localId" : "980", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "981", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - }, { - "localId" : "1030", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "1031", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1032", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "998", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "999", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1000", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1001", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1002", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1003", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1004", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1005", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "982", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "983", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "984", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "985", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "986", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "987", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "988", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - }, - "high" : { - "localId" : "1022", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "1023", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1024", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1025", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1026", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1027", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1028", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1029", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1006", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "1007", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal" - }, - "day" : { - "localId" : "1008", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "29", - "type" : "Literal" - }, - "hour" : { - "localId" : "1009", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "23", - "type" : "Literal" - }, - "minute" : { - "localId" : "1010", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal" - }, - "second" : { - "localId" : "1011", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "1012", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "999", - "type" : "Literal" - } - } - } ] - } - }, { - "localId" : "1040", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "ImpreciseMayMeetBeforeDateIvl", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "1040", - "s" : [ { - "value" : [ "","define ","ImpreciseMayMeetBeforeDateIvl",": " ] - }, { - "r" : "1095", - "s" : [ { - "r" : "1041", - "s" : [ { - "value" : [ "ImpDateIvl" ] - } ] - }, { - "r" : "1095", - "value" : [ " ","before or on"," " ] - }, { - "r" : "1092", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "1060", - "s" : [ { - "r" : "1044", - "value" : [ "DateTime","(","2012",", ","9",", ","1",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "1084", - "s" : [ { - "r" : "1068", - "value" : [ "DateTime","(","2012",", ","12",", ","31",", ","23",", ","59",", ","59",", ","999",")" ] - } ] - }, { - "value" : [ "]" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "1095", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "SameOrBefore", - "signature" : [ { - "localId" : "1096", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1097", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "1098", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1099", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "1041", - "name" : "ImpDateIvl", - "type" : "ExpressionRef", - "resultTypeSpecifier" : { - "localId" : "1042", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1043", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - }, { - "localId" : "1092", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "1093", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1094", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "1060", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "1061", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1062", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1063", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1064", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1065", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1066", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1067", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1044", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "1045", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "9", - "type" : "Literal" - }, - "day" : { - "localId" : "1046", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "1047", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "1048", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "1049", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "1050", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - }, - "high" : { - "localId" : "1084", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "1085", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1086", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1087", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1088", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1089", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1090", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1091", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1068", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "1069", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "12", - "type" : "Literal" - }, - "day" : { - "localId" : "1070", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "31", - "type" : "Literal" - }, - "hour" : { - "localId" : "1071", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "23", - "type" : "Literal" - }, - "minute" : { - "localId" : "1072", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal" - }, - "second" : { - "localId" : "1073", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "1074", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "999", - "type" : "Literal" - } - } - } ] - } - }, { - "localId" : "1102", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "ImpreciseNotMeetsDateIvl", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "1102", - "s" : [ { - "value" : [ "","define ","ImpreciseNotMeetsDateIvl",": " ] - }, { - "r" : "1157", - "s" : [ { - "r" : "1103", - "s" : [ { - "value" : [ "ImpDateIvl" ] - } ] - }, { - "r" : "1157", - "value" : [ " ","before or on"," " ] - }, { - "r" : "1154", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "1122", - "s" : [ { - "r" : "1106", - "value" : [ "DateTime","(","2012",", ","1",", ","1",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "1146", - "s" : [ { - "r" : "1130", - "value" : [ "DateTime","(","2012",", ","12",", ","31",", ","23",", ","59",", ","59",", ","999",")" ] - } ] - }, { - "value" : [ ")" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "1157", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "SameOrBefore", - "signature" : [ { - "localId" : "1158", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1159", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "1160", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1161", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "1103", - "name" : "ImpDateIvl", - "type" : "ExpressionRef", - "resultTypeSpecifier" : { - "localId" : "1104", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1105", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - }, { - "localId" : "1154", - "lowClosed" : true, - "highClosed" : false, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "1155", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1156", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "1122", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "1123", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1124", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1125", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1126", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1127", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1128", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1129", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1106", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "1107", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "1108", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "1109", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "1110", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "1111", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "1112", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - }, - "high" : { - "localId" : "1146", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "1147", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1148", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1149", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1150", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1151", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1152", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1153", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1130", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "1131", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "12", - "type" : "Literal" - }, - "day" : { - "localId" : "1132", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "31", - "type" : "Literal" - }, - "hour" : { - "localId" : "1133", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "23", - "type" : "Literal" - }, - "minute" : { - "localId" : "1134", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal" - }, - "second" : { - "localId" : "1135", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "1136", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "999", - "type" : "Literal" - } - } - } ] - } - }, { - "localId" : "1164", - "name" : "NullEndIvl", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "1164", - "s" : [ { - "value" : [ "","define ","NullEndIvl",": " ] - }, { - "r" : "1190", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "1181", - "s" : [ { - "r" : "1165", - "value" : [ "DateTime","(","2012",", ","3",", ","1",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "r" : "1189", - "value" : [ ", ","null",")" ] - } ] - } ] - } - } ], - "resultTypeSpecifier" : { - "localId" : "1194", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1195", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "expression" : { - "localId" : "1190", - "lowClosed" : true, - "highClosed" : false, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "1192", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1193", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "1181", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "1182", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1183", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1184", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1185", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1186", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1187", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1188", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1165", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "1166", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "1167", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "1168", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "1169", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "1170", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "1171", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - }, - "high" : { - "localId" : "1191", - "asType" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "As", - "signature" : [ ], - "operand" : { - "localId" : "1189", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - } - } - } - }, { - "localId" : "1198", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "BeforeNullEndIvl", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "1198", - "s" : [ { - "value" : [ "","define ","BeforeNullEndIvl",": " ] - }, { - "r" : "1253", - "s" : [ { - "r" : "1247", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "1215", - "s" : [ { - "r" : "1199", - "value" : [ "DateTime","(","2012",", ","1",", ","1",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "1239", - "s" : [ { - "r" : "1223", - "value" : [ "DateTime","(","2012",", ","2",", ","20",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ "]" ] - } ] - }, { - "r" : "1253", - "value" : [ " ","before or on"," " ] - }, { - "r" : "1250", - "s" : [ { - "value" : [ "NullEndIvl" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "1253", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "SameOrBefore", - "signature" : [ { - "localId" : "1254", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1255", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "1256", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1257", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "1247", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "1248", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1249", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "1215", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "1216", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1217", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1218", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1219", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1220", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1221", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1222", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1199", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "1200", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "1201", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "1202", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "1203", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "1204", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "1205", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - }, - "high" : { - "localId" : "1239", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "1240", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1241", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1242", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1243", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1244", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1245", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1246", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1223", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "1224", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal" - }, - "day" : { - "localId" : "1225", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "20", - "type" : "Literal" - }, - "hour" : { - "localId" : "1226", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "1227", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "1228", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "1229", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - } - }, { - "localId" : "1250", - "name" : "NullEndIvl", - "type" : "ExpressionRef", - "resultTypeSpecifier" : { - "localId" : "1251", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1252", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - } ] - } - }, { - "localId" : "1260", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "AfterStartNullEndIvl", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "1260", - "s" : [ { - "value" : [ "","define ","AfterStartNullEndIvl",": " ] - }, { - "r" : "1315", - "s" : [ { - "r" : "1309", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "1277", - "s" : [ { - "r" : "1261", - "value" : [ "DateTime","(","2012",", ","3",", ","10",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "1301", - "s" : [ { - "r" : "1285", - "value" : [ "DateTime","(","2012",", ","3",", ","20",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ "]" ] - } ] - }, { - "r" : "1315", - "value" : [ " ","before or on"," " ] - }, { - "r" : "1312", - "s" : [ { - "value" : [ "NullEndIvl" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "1315", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "SameOrBefore", - "signature" : [ { - "localId" : "1316", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1317", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "1318", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1319", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "1309", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "1310", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1311", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "1277", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "1278", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1279", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1280", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1281", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1282", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1283", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1284", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1261", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "1262", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "1263", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal" - }, - "hour" : { - "localId" : "1264", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "1265", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "1266", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "1267", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - }, - "high" : { - "localId" : "1301", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "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" - }, { - "localId" : "1304", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1305", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1306", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1307", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1308", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1285", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "1286", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "1287", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "20", - "type" : "Literal" - }, - "hour" : { - "localId" : "1288", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "1289", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "1290", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "1291", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - } - }, { - "localId" : "1312", - "name" : "NullEndIvl", - "type" : "ExpressionRef", - "resultTypeSpecifier" : { - "localId" : "1313", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1314", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - } ] - } - }, { - "localId" : "1322", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "NullEndStartBeforeIvl", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "1322", - "s" : [ { - "value" : [ "","define ","NullEndStartBeforeIvl",": " ] - }, { - "r" : "1377", - "s" : [ { - "r" : "1323", - "s" : [ { - "value" : [ "NullEndIvl" ] - } ] - }, { - "r" : "1377", - "value" : [ " ","before or on"," " ] - }, { - "r" : "1374", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "1342", - "s" : [ { - "r" : "1326", - "value" : [ "DateTime","(","2012",", ","4",", ","1",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "1366", - "s" : [ { - "r" : "1350", - "value" : [ "DateTime","(","2012",", ","4",", ","20",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ "]" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "1377", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "SameOrBefore", - "signature" : [ { - "localId" : "1378", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1379", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "1380", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1381", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "1323", - "name" : "NullEndIvl", - "type" : "ExpressionRef", - "resultTypeSpecifier" : { - "localId" : "1324", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1325", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - }, { - "localId" : "1374", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "1375", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1376", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "1342", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "1343", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1344", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1345", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1346", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1347", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1348", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1349", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1326", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "1327", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "4", - "type" : "Literal" - }, - "day" : { - "localId" : "1328", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "1329", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "1330", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "1331", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "1332", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - }, - "high" : { - "localId" : "1366", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "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" - }, { - "localId" : "1369", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1370", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1371", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1372", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1373", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1350", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "1351", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "4", - "type" : "Literal" - }, - "day" : { - "localId" : "1352", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "20", - "type" : "Literal" - }, - "hour" : { - "localId" : "1353", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "1354", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "1355", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "1356", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - } - } ] - } - }, { - "localId" : "1384", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "NullEndStartAfterIvl", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "1384", - "s" : [ { - "value" : [ "","define ","NullEndStartAfterIvl",": " ] - }, { - "r" : "1439", - "s" : [ { - "r" : "1385", - "s" : [ { - "value" : [ "NullEndIvl" ] - } ] - }, { - "r" : "1439", - "value" : [ " ","before or on"," " ] - }, { - "r" : "1436", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "1404", - "s" : [ { - "r" : "1388", - "value" : [ "DateTime","(","2012",", ","1",", ","1",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "1428", - "s" : [ { - "r" : "1412", - "value" : [ "DateTime","(","2012",", ","1",", ","20",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ "]" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "1439", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "SameOrBefore", - "signature" : [ { - "localId" : "1440", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1441", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "1442", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1443", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "1385", - "name" : "NullEndIvl", - "type" : "ExpressionRef", - "resultTypeSpecifier" : { - "localId" : "1386", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1387", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - }, { - "localId" : "1436", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "1437", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1438", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "1404", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "1405", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1406", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1407", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1408", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1409", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1410", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1411", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1388", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "1389", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "1390", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "1391", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "1392", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "1393", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "1394", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - }, - "high" : { - "localId" : "1428", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "1429", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1430", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1431", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1432", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1433", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1434", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1435", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1412", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "1413", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "1414", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "20", - "type" : "Literal" - }, - "hour" : { - "localId" : "1415", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "1416", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "1417", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "1418", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - } - } ] - } - }, { - "localId" : "1446", - "name" : "NullStartIvl", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "1446", - "s" : [ { - "value" : [ "","define ","NullStartIvl",": " ] - }, { - "r" : "1472", - "s" : [ { - "r" : "1447", - "value" : [ "Interval(","null",", " ] - }, { - "r" : "1464", - "s" : [ { - "r" : "1448", - "value" : [ "DateTime","(","2012",", ","3",", ","1",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ "]" ] - } ] - } ] - } - } ], - "resultTypeSpecifier" : { - "localId" : "1476", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1477", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "expression" : { - "localId" : "1472", - "lowClosed" : false, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "1474", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1475", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "1473", - "asType" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "As", - "signature" : [ ], - "operand" : { - "localId" : "1447", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - } - }, - "high" : { - "localId" : "1464", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "1465", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1466", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1467", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1468", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1469", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1470", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1471", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1448", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "1449", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "1450", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "1451", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "1452", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "1453", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "1454", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - } - } - }, { - "localId" : "1480", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "EndsBeforeNullStartIvlEnds", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "1480", - "s" : [ { - "value" : [ "","define ","EndsBeforeNullStartIvlEnds",": " ] - }, { - "r" : "1535", - "s" : [ { - "r" : "1529", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "1497", - "s" : [ { - "r" : "1481", - "value" : [ "DateTime","(","2012",", ","1",", ","1",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "1521", - "s" : [ { - "r" : "1505", - "value" : [ "DateTime","(","2012",", ","2",", ","20",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ "]" ] - } ] - }, { - "r" : "1535", - "value" : [ " ","before or on"," " ] - }, { - "r" : "1532", - "s" : [ { - "value" : [ "NullStartIvl" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "1535", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "SameOrBefore", - "signature" : [ { - "localId" : "1536", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1537", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "1538", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1539", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "1529", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "1530", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1531", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "1497", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "1498", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1499", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1500", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1501", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1502", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1503", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1504", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1481", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "1482", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "1483", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "1484", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "1485", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "1486", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "1487", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - }, - "high" : { - "localId" : "1521", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "1522", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1523", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1524", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1525", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1526", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1527", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1528", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1505", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "1506", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal" - }, - "day" : { - "localId" : "1507", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "20", - "type" : "Literal" - }, - "hour" : { - "localId" : "1508", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "1509", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "1510", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "1511", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - } - }, { - "localId" : "1532", - "name" : "NullStartIvl", - "type" : "ExpressionRef", - "resultTypeSpecifier" : { - "localId" : "1533", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1534", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - } ] - } - }, { - "localId" : "1542", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "AfterEndOfNullStartIvl", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "1542", - "s" : [ { - "value" : [ "","define ","AfterEndOfNullStartIvl",": " ] - }, { - "r" : "1597", - "s" : [ { - "r" : "1591", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "1559", - "s" : [ { - "r" : "1543", - "value" : [ "DateTime","(","2012",", ","3",", ","10",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "1583", - "s" : [ { - "r" : "1567", - "value" : [ "DateTime","(","2012",", ","3",", ","20",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ "]" ] - } ] - }, { - "r" : "1597", - "value" : [ " ","before or on"," " ] - }, { - "r" : "1594", - "s" : [ { - "value" : [ "NullStartIvl" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "1597", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "SameOrBefore", - "signature" : [ { - "localId" : "1598", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1599", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "1600", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1601", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "1591", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "1592", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1593", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "1559", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "1560", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1561", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1562", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1563", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1564", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1565", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1566", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1543", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "1544", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "1545", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal" - }, - "hour" : { - "localId" : "1546", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "1547", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "1548", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "1549", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - }, - "high" : { - "localId" : "1583", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "1584", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1585", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1586", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1587", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1588", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1589", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1590", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1567", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "1568", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "1569", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "20", - "type" : "Literal" - }, - "hour" : { - "localId" : "1570", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "1571", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "1572", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "1573", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - } - }, { - "localId" : "1594", - "name" : "NullStartIvl", - "type" : "ExpressionRef", - "resultTypeSpecifier" : { - "localId" : "1595", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1596", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - } ] - } - }, { - "localId" : "1604", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "NullStartStartBeforeIvl", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "1604", - "s" : [ { - "value" : [ "","define ","NullStartStartBeforeIvl",": " ] - }, { - "r" : "1659", - "s" : [ { - "r" : "1605", - "s" : [ { - "value" : [ "NullStartIvl" ] - } ] - }, { - "r" : "1659", - "value" : [ " ","before or on"," " ] - }, { - "r" : "1656", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "1624", - "s" : [ { - "r" : "1608", - "value" : [ "DateTime","(","2012",", ","4",", ","1",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "1648", - "s" : [ { - "r" : "1632", - "value" : [ "DateTime","(","2012",", ","4",", ","20",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ "]" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "1659", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "SameOrBefore", - "signature" : [ { - "localId" : "1660", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1661", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "1662", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1663", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "1605", - "name" : "NullStartIvl", - "type" : "ExpressionRef", - "resultTypeSpecifier" : { - "localId" : "1606", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1607", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - }, { - "localId" : "1656", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "1657", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1658", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "1624", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "1625", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1626", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1627", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1628", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1629", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1630", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1631", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1608", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "1609", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "4", - "type" : "Literal" - }, - "day" : { - "localId" : "1610", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "1611", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "1612", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "1613", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "1614", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - }, - "high" : { - "localId" : "1648", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "1649", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1650", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1651", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1652", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1653", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1654", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1655", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1632", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "1633", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "4", - "type" : "Literal" - }, - "day" : { - "localId" : "1634", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "20", - "type" : "Literal" - }, - "hour" : { - "localId" : "1635", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "1636", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "1637", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "1638", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - } - } ] - } - }, { - "localId" : "1666", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "NullStartStartAfterIvl", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "1666", - "s" : [ { - "value" : [ "","define ","NullStartStartAfterIvl",": " ] - }, { - "r" : "1721", - "s" : [ { - "r" : "1667", - "s" : [ { - "value" : [ "NullStartIvl" ] - } ] - }, { - "r" : "1721", - "value" : [ " ","before or on"," " ] - }, { - "r" : "1718", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "1686", - "s" : [ { - "r" : "1670", - "value" : [ "DateTime","(","2012",", ","1",", ","1",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "1710", - "s" : [ { - "r" : "1694", - "value" : [ "DateTime","(","2012",", ","1",", ","20",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ "]" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "1721", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "SameOrBefore", - "signature" : [ { - "localId" : "1722", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1723", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "1724", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1725", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "1667", - "name" : "NullStartIvl", - "type" : "ExpressionRef", - "resultTypeSpecifier" : { - "localId" : "1668", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1669", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - }, { - "localId" : "1718", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "1719", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1720", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "1686", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "1687", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1688", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1689", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1690", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1691", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1692", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1693", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1670", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "1671", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "1672", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "1673", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "1674", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "1675", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "1676", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - }, - "high" : { - "localId" : "1710", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "1711", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1712", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1713", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1714", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1715", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1716", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1717", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1694", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "1695", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "1696", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "20", - "type" : "Literal" - }, - "hour" : { - "localId" : "1697", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "1698", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "1699", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "1700", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - } - } ] - } - }, { - "localId" : "1728", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "DateIvlBeforeNull", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "1728", - "s" : [ { - "value" : [ "","define ","DateIvlBeforeNull",": " ] - }, { - "r" : "1733", - "s" : [ { - "r" : "1729", - "s" : [ { - "value" : [ "DateIvl" ] - } ] - }, { - "r" : "1733", - "value" : [ " ","before or on"," ","null" ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "1733", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "SameOrBefore", - "signature" : [ { - "localId" : "1737", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1738", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "1739", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1740", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "1729", - "name" : "DateIvl", - "type" : "ExpressionRef", - "resultTypeSpecifier" : { - "localId" : "1730", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1731", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - }, { - "localId" : "1734", - "type" : "As", - "signature" : [ ], - "operand" : { - "localId" : "1732", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - }, - "asTypeSpecifier" : { - "localId" : "1735", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1736", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - } ] - } - }, { - "localId" : "1743", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "NullBeforeDateIvl", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "1743", - "s" : [ { - "value" : [ "","define ","NullBeforeDateIvl",": " ] - }, { - "r" : "1748", - "s" : [ { - "r" : "1744", - "value" : [ "null"," ","before or on"," " ] - }, { - "r" : "1745", - "s" : [ { - "value" : [ "DateIvl" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "1748", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "SameOrBefore", - "signature" : [ { - "localId" : "1752", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1753", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "1754", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1755", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "1749", - "type" : "As", - "signature" : [ ], - "operand" : { - "localId" : "1744", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - }, - "asTypeSpecifier" : { - "localId" : "1750", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1751", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - }, { - "localId" : "1745", - "name" : "DateIvl", - "type" : "ExpressionRef", - "resultTypeSpecifier" : { - "localId" : "1746", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1747", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - } ] - } - }, { - "localId" : "1758", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "DateTimeBeforeDateIvl", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "1758", - "s" : [ { - "value" : [ "","define ","DateTimeBeforeDateIvl",": " ] - }, { - "r" : "1786", - "s" : [ { - "r" : "1775", - "s" : [ { - "r" : "1759", - "value" : [ "DateTime","(","2012",", ","2",", ","20",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "r" : "1786", - "value" : [ " ","before or on"," " ] - }, { - "r" : "1783", - "s" : [ { - "value" : [ "DateIvl" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "1786", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "SameOrBefore", - "signature" : [ { - "localId" : "1793", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1794", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "1795", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1796", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "1787", - "type" : "If", - "condition" : { - "localId" : "1788", - "type" : "IsNull", - "signature" : [ ], - "operand" : { - "localId" : "1775", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "1776", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1777", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1778", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1779", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1780", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1781", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1782", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1759", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "1760", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal" - }, - "day" : { - "localId" : "1761", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "20", - "type" : "Literal" - }, - "hour" : { - "localId" : "1762", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "1763", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "1764", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "1765", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - } - }, - "then" : { - "localId" : "1789", - "type" : "Null", - "resultTypeSpecifier" : { - "localId" : "1790", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1791", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - }, - "else" : { - "localId" : "1792", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "low" : { - "localId" : "1775", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "1776", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1777", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1778", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1779", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1780", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1781", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1782", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1759", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "1760", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal" - }, - "day" : { - "localId" : "1761", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "20", - "type" : "Literal" - }, - "hour" : { - "localId" : "1762", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "1763", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "1764", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "1765", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - }, - "high" : { - "localId" : "1775", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "1776", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1777", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1778", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1779", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1780", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1781", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1782", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1759", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "1760", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal" - }, - "day" : { - "localId" : "1761", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "20", - "type" : "Literal" - }, - "hour" : { - "localId" : "1762", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "1763", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "1764", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "1765", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - } - } - }, { - "localId" : "1783", - "name" : "DateIvl", - "type" : "ExpressionRef", - "resultTypeSpecifier" : { - "localId" : "1784", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1785", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - } ] - } - }, { - "localId" : "1799", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "DateBeforeDateIvl", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "1799", - "s" : [ { - "value" : [ "","define ","DateBeforeDateIvl",": " ] - }, { - "r" : "1815", - "s" : [ { - "r" : "1808", - "s" : [ { - "r" : "1800", - "value" : [ "Date","(","2012",", ","2",", ","20",")" ] - } ] - }, { - "r" : "1815", - "value" : [ " ","before or on"," " ] - }, { - "r" : "1812", - "s" : [ { - "value" : [ "DateIvl" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "1815", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "SameOrBefore", - "signature" : [ { - "localId" : "1825", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1826", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "1827", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1828", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "1819", - "type" : "If", - "condition" : { - "localId" : "1820", - "type" : "IsNull", - "signature" : [ ], - "operand" : { - "localId" : "1817", - "type" : "ToDateTime", - "signature" : [ { - "localId" : "1818", - "name" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "1808", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "Date", - "signature" : [ { - "localId" : "1809", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1810", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1811", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1800", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "1801", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal" - }, - "day" : { - "localId" : "1802", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "20", - "type" : "Literal" - } - } - } - }, - "then" : { - "localId" : "1821", - "type" : "Null", - "resultTypeSpecifier" : { - "localId" : "1822", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1823", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - }, - "else" : { - "localId" : "1824", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "low" : { - "localId" : "1817", - "type" : "ToDateTime", - "signature" : [ { - "localId" : "1818", - "name" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "1808", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "Date", - "signature" : [ { - "localId" : "1809", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1810", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1811", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1800", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "1801", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal" - }, - "day" : { - "localId" : "1802", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "20", - "type" : "Literal" - } - } - }, - "high" : { - "localId" : "1817", - "type" : "ToDateTime", - "signature" : [ { - "localId" : "1818", - "name" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "1808", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "Date", - "signature" : [ { - "localId" : "1809", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1810", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1811", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1800", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "1801", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal" - }, - "day" : { - "localId" : "1802", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "20", - "type" : "Literal" - } - } - } - } - }, { - "localId" : "1812", - "name" : "DateIvl", - "type" : "ExpressionRef", - "resultTypeSpecifier" : { - "localId" : "1813", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1814", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - } ] - } - }, { - "localId" : "1831", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "DateIvlBeforeDateTime", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "1831", - "s" : [ { - "value" : [ "","define ","DateIvlBeforeDateTime",": " ] - }, { - "r" : "1859", - "s" : [ { - "r" : "1832", - "s" : [ { - "value" : [ "DateIvl" ] - } ] - }, { - "r" : "1859", - "value" : [ " ","before or on"," " ] - }, { - "r" : "1851", - "s" : [ { - "r" : "1835", - "value" : [ "DateTime","(","2012",", ","9",", ","20",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "1859", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "SameOrBefore", - "signature" : [ { - "localId" : "1866", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1867", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "1868", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1869", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "1832", - "name" : "DateIvl", - "type" : "ExpressionRef", - "resultTypeSpecifier" : { - "localId" : "1833", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1834", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - }, { - "localId" : "1860", - "type" : "If", - "condition" : { - "localId" : "1861", - "type" : "IsNull", - "signature" : [ ], - "operand" : { - "localId" : "1851", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "1852", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1853", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1854", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1855", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1856", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1857", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1858", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1835", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "1836", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "9", - "type" : "Literal" - }, - "day" : { - "localId" : "1837", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "20", - "type" : "Literal" - }, - "hour" : { - "localId" : "1838", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "1839", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "1840", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "1841", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - } - }, - "then" : { - "localId" : "1862", - "type" : "Null", - "resultTypeSpecifier" : { - "localId" : "1863", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1864", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - }, - "else" : { - "localId" : "1865", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "low" : { - "localId" : "1851", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "1852", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1853", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1854", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1855", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1856", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1857", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1858", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1835", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "1836", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "9", - "type" : "Literal" - }, - "day" : { - "localId" : "1837", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "20", - "type" : "Literal" - }, - "hour" : { - "localId" : "1838", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "1839", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "1840", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "1841", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - }, - "high" : { - "localId" : "1851", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "1852", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1853", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1854", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1855", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1856", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1857", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1858", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1835", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "1836", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "9", - "type" : "Literal" - }, - "day" : { - "localId" : "1837", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "20", - "type" : "Literal" - }, - "hour" : { - "localId" : "1838", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "1839", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "1840", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "1841", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - } - } - } ] - } - }, { - "localId" : "1872", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "DateIvlBeforeDate", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "1872", - "s" : [ { - "value" : [ "","define ","DateIvlBeforeDate",": " ] - }, { - "r" : "1888", - "s" : [ { - "r" : "1873", - "s" : [ { - "value" : [ "DateIvl" ] - } ] - }, { - "r" : "1888", - "value" : [ " ","before or on"," " ] - }, { - "r" : "1884", - "s" : [ { - "r" : "1876", - "value" : [ "DateTime","(","2012",", ","9",", ","20",")" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "1888", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "SameOrBefore", - "signature" : [ { - "localId" : "1895", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1896", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "1897", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1898", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "1873", - "name" : "DateIvl", - "type" : "ExpressionRef", - "resultTypeSpecifier" : { - "localId" : "1874", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1875", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - }, { - "localId" : "1889", - "type" : "If", - "condition" : { - "localId" : "1890", - "type" : "IsNull", - "signature" : [ ], - "operand" : { - "localId" : "1884", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "1885", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1886", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1887", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1876", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "1877", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "9", - "type" : "Literal" - }, - "day" : { - "localId" : "1878", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "20", - "type" : "Literal" - } - } - }, - "then" : { - "localId" : "1891", - "type" : "Null", - "resultTypeSpecifier" : { - "localId" : "1892", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1893", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - }, - "else" : { - "localId" : "1894", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "low" : { - "localId" : "1884", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "1885", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1886", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1887", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1876", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "1877", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "9", - "type" : "Literal" - }, - "day" : { - "localId" : "1878", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "20", - "type" : "Literal" - } - }, - "high" : { - "localId" : "1884", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "1885", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1886", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1887", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1876", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "1877", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "9", - "type" : "Literal" - }, - "day" : { - "localId" : "1878", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "20", - "type" : "Literal" - } - } - } - } ] - } - }, { - "localId" : "1901", - "name" : "DateOnlyIvl", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "1901", - "s" : [ { - "value" : [ "","define ","DateOnlyIvl",": " ] - }, { - "r" : "1926", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "1910", - "s" : [ { - "r" : "1902", - "value" : [ "Date","(","2012",", ","1",", ","1",")" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "1922", - "s" : [ { - "r" : "1914", - "value" : [ "Date","(","2012",", ","2",", ","20",")" ] - } ] - }, { - "value" : [ "]" ] - } ] - } ] - } - } ], - "resultTypeSpecifier" : { - "localId" : "1929", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1930", - "name" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "NamedTypeSpecifier" - } - }, - "expression" : { - "localId" : "1926", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "1927", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1928", - "name" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "1910", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "Date", - "signature" : [ { - "localId" : "1911", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1912", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1913", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1902", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "1903", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "1904", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - } - }, - "high" : { - "localId" : "1922", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "Date", - "signature" : [ { - "localId" : "1923", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1924", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1925", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1914", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "1915", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal" - }, - "day" : { - "localId" : "1916", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "20", - "type" : "Literal" - } - } - } - }, { - "localId" : "1933", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "DateOnlyIvlBeforeDateIvl", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "1933", - "s" : [ { - "value" : [ "","define ","DateOnlyIvlBeforeDateIvl",": " ] - }, { - "r" : "1940", - "s" : [ { - "r" : "1934", - "s" : [ { - "value" : [ "DateOnlyIvl" ] - } ] - }, { - "r" : "1940", - "value" : [ " ","before or on"," " ] - }, { - "r" : "1937", - "s" : [ { - "value" : [ "DateIvl" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "1940", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "SameOrBefore", - "signature" : [ { - "localId" : "1952", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1953", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "1954", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1955", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "1941", - "type" : "Interval", - "low" : { - "localId" : "1944", - "type" : "ToDateTime", - "signature" : [ { - "localId" : "1945", - "name" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "1942", - "path" : "low", - "type" : "Property", - "source" : { - "localId" : "1934", - "name" : "DateOnlyIvl", - "type" : "ExpressionRef", - "resultTypeSpecifier" : { - "localId" : "1935", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1936", - "name" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "NamedTypeSpecifier" - } - } - } - } - }, - "lowClosedExpression" : { - "localId" : "1946", - "path" : "lowClosed", - "type" : "Property", - "source" : { - "localId" : "1934", - "name" : "DateOnlyIvl", - "type" : "ExpressionRef", - "resultTypeSpecifier" : { - "localId" : "1935", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1936", - "name" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "NamedTypeSpecifier" - } - } - } - }, - "high" : { - "localId" : "1949", - "type" : "ToDateTime", - "signature" : [ { - "localId" : "1950", - "name" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "1947", - "path" : "high", - "type" : "Property", - "source" : { - "localId" : "1934", - "name" : "DateOnlyIvl", - "type" : "ExpressionRef", - "resultTypeSpecifier" : { - "localId" : "1935", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1936", - "name" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "NamedTypeSpecifier" - } - } - } - } - }, - "highClosedExpression" : { - "localId" : "1951", - "path" : "highClosed", - "type" : "Property", - "source" : { - "localId" : "1934", - "name" : "DateOnlyIvl", - "type" : "ExpressionRef", - "resultTypeSpecifier" : { - "localId" : "1935", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1936", - "name" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "NamedTypeSpecifier" - } - } - } - } - }, { - "localId" : "1937", - "name" : "DateIvl", - "type" : "ExpressionRef", - "resultTypeSpecifier" : { - "localId" : "1938", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1939", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - } ] - } - }, { - "localId" : "1958", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "DateIvlAfterDateOnlyIvl", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "1958", - "s" : [ { - "value" : [ "","define ","DateIvlAfterDateOnlyIvl",": " ] - }, { - "r" : "1965", - "s" : [ { - "r" : "1959", - "s" : [ { - "value" : [ "DateIvl" ] - } ] - }, { - "r" : "1965", - "value" : [ " ","before or on"," " ] - }, { - "r" : "1962", - "s" : [ { - "value" : [ "DateOnlyIvl" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "1965", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "SameOrBefore", - "signature" : [ { - "localId" : "1977", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1978", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "1979", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1980", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "1959", - "name" : "DateIvl", - "type" : "ExpressionRef", - "resultTypeSpecifier" : { - "localId" : "1960", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1961", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - }, { - "localId" : "1966", - "type" : "Interval", - "low" : { - "localId" : "1969", - "type" : "ToDateTime", - "signature" : [ { - "localId" : "1970", - "name" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "1967", - "path" : "low", - "type" : "Property", - "source" : { - "localId" : "1962", - "name" : "DateOnlyIvl", - "type" : "ExpressionRef", - "resultTypeSpecifier" : { - "localId" : "1963", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1964", - "name" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "NamedTypeSpecifier" - } - } - } - } - }, - "lowClosedExpression" : { - "localId" : "1971", - "path" : "lowClosed", - "type" : "Property", - "source" : { - "localId" : "1962", - "name" : "DateOnlyIvl", - "type" : "ExpressionRef", - "resultTypeSpecifier" : { - "localId" : "1963", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1964", - "name" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "NamedTypeSpecifier" - } - } - } - }, - "high" : { - "localId" : "1974", - "type" : "ToDateTime", - "signature" : [ { - "localId" : "1975", - "name" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "1972", - "path" : "high", - "type" : "Property", - "source" : { - "localId" : "1962", - "name" : "DateOnlyIvl", - "type" : "ExpressionRef", - "resultTypeSpecifier" : { - "localId" : "1963", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1964", - "name" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "NamedTypeSpecifier" - } - } - } - } - }, - "highClosedExpression" : { - "localId" : "1976", - "path" : "highClosed", - "type" : "Property", - "source" : { - "localId" : "1962", - "name" : "DateOnlyIvl", - "type" : "ExpressionRef", - "resultTypeSpecifier" : { - "localId" : "1963", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1964", - "name" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "NamedTypeSpecifier" - } - } - } - } - } ] - } - }, { - "localId" : "1983", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "DateOnlyMeetsBeforeDateIvl", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "1983", - "s" : [ { - "value" : [ "","define ","DateOnlyMeetsBeforeDateIvl",": " ] - }, { - "r" : "2014", - "s" : [ { - "r" : "2008", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "1992", - "s" : [ { - "r" : "1984", - "value" : [ "Date","(","2012",", ","1",", ","1",")" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "2004", - "s" : [ { - "r" : "1996", - "value" : [ "Date","(","2012",", ","3",", ","1",")" ] - } ] - }, { - "value" : [ "]" ] - } ] - }, { - "r" : "2014", - "value" : [ " ","before or on"," " ] - }, { - "r" : "2011", - "s" : [ { - "value" : [ "DateIvl" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "2014", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "SameOrBefore", - "signature" : [ { - "localId" : "2026", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "2027", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "2028", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "2029", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "2015", - "type" : "Interval", - "low" : { - "localId" : "2018", - "type" : "ToDateTime", - "signature" : [ { - "localId" : "2019", - "name" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "2016", - "path" : "low", - "type" : "Property", - "source" : { - "localId" : "2008", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "2009", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "2010", - "name" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "1992", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "Date", - "signature" : [ { - "localId" : "1993", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1994", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1995", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1984", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "1985", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "1986", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - } - }, - "high" : { - "localId" : "2004", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "Date", - "signature" : [ { - "localId" : "2005", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2006", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2007", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1996", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "1997", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "1998", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - } - } - } - } - }, - "lowClosedExpression" : { - "localId" : "2020", - "path" : "lowClosed", - "type" : "Property", - "source" : { - "localId" : "2008", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "2009", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "2010", - "name" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "1992", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "Date", - "signature" : [ { - "localId" : "1993", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1994", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1995", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1984", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "1985", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "1986", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - } - }, - "high" : { - "localId" : "2004", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "Date", - "signature" : [ { - "localId" : "2005", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2006", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2007", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1996", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "1997", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "1998", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - } - } - } - }, - "high" : { - "localId" : "2023", - "type" : "ToDateTime", - "signature" : [ { - "localId" : "2024", - "name" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "2021", - "path" : "high", - "type" : "Property", - "source" : { - "localId" : "2008", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "2009", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "2010", - "name" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "1992", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "Date", - "signature" : [ { - "localId" : "1993", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1994", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1995", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1984", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "1985", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "1986", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - } - }, - "high" : { - "localId" : "2004", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "Date", - "signature" : [ { - "localId" : "2005", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2006", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2007", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1996", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "1997", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "1998", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - } - } - } - } - }, - "highClosedExpression" : { - "localId" : "2025", - "path" : "highClosed", - "type" : "Property", - "source" : { - "localId" : "2008", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "2009", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "2010", - "name" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "1992", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "Date", - "signature" : [ { - "localId" : "1993", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1994", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1995", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1984", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "1985", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "1986", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - } - }, - "high" : { - "localId" : "2004", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "Date", - "signature" : [ { - "localId" : "2005", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2006", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2007", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1996", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "1997", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "1998", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - } - } - } - } - }, { - "localId" : "2011", - "name" : "DateIvl", - "type" : "ExpressionRef", - "resultTypeSpecifier" : { - "localId" : "2012", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "2013", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - } ] - } - } ] - } - } -} - -/* AfterOrOn -library TestSnippet version '1' -using Simple version '1.0.0' -context Patient -define DateIvl: Interval[DateTime(2012, 3, 1, 0, 0, 0, 0), DateTime(2012, 9, 1, 0, 0, 0, 0)] -define MeetsAfterDateIvl: Interval[DateTime(2012, 9, 1, 0, 0, 0, 0), DateTime(2012, 12, 1, 0, 0, 0, 0)) after or on DateIvl -define MeetsBeforeDateIvl: Interval[DateTime(2012, 1, 1, 0, 0, 0, 0), DateTime(2012, 3, 1, 0, 0, 0, 0)) after or on DateIvl -define AfterDateIvl: Interval[DateTime(2012, 10, 11, 0, 0, 0, 0), DateTime(2012, 10, 29, 0, 0, 0, 0)) after or on DateIvl -define BeforeDateIvl: Interval[DateTime(2012, 1, 1, 0, 0, 0, 0), DateTime(2012, 2, 29, 0, 0, 0, 0)) after or on DateIvl -define MayMeetAfterImpreciseDateIvl: DateIvl after or on Interval[DateTime(2012, 1), DateTime(2012, 3)] -define MayMeetBeforeImpreciseDateIvl: DateIvl after or on Interval[DateTime(2012, 9), DateTime(2012, 12)] -define NotMeetsImpreciseDateIvl: DateIvl after or on Interval[DateTime(2012, 1), DateTime(2012, 12)] -define PrecisionDateIvl: Interval[DateTime(2012, 3, 2, 12, 34, 56, 789), DateTime(2012, 9, 2, 1, 23, 45, 678)) -define MeetsAfterDayOfIvl: PrecisionDateIvl after or on day of Interval[DateTime(2012, 1, 2, 0, 0, 0, 0), DateTime(2012, 3, 2, 0, 0, 0, 0)] -define MeetsBeforeDayOfIvl: PrecisionDateIvl after or on day of Interval[DateTime(2012, 9, 3, 0, 0, 0, 0), DateTime(2012, 12, 1, 0, 0, 0, 0)] -define NotMeetsDayOfIvl: PrecisionDateIvl after or on day of Interval[DateTime(2012, 1, 2, 0, 0, 0, 0), DateTime(2012, 3, 2, 0, 0, 0, 0)] -define NotMeetsDayOfImpreciseIVL: PrecisionDateIvl after or on day of Interval[DateTime(2012, 1), DateTime(2012, 2)] -define MayMeetAfterDayOfImpreciseIvl: PrecisionDateIvl after or on day of Interval[DateTime(2012, 1), DateTime(2012, 3)] -define MayMeetBeforeDayOfImpreciseIvl: PrecisionDateIvl after or on day of Interval[DateTime(2012, 9), DateTime(2012, 12)] -define ImpDateIvl: Interval[DateTime(2012, 3), DateTime(2012, 8)] -define ImpreciseMayMeetAfterDateIvl: ImpDateIvl after or on Interval[DateTime(2012, 1, 1, 0, 0, 0, 0), DateTime(2012, 2, 29, 23, 59, 59, 999)] -define ImpreciseMayMeetBeforeDateIvl: ImpDateIvl after or on Interval[DateTime(2012, 9, 1, 0, 0, 0, 0), DateTime(2012, 12, 31, 23, 59, 59, 999)] -define ImpreciseNotMeetsDateIvl: ImpDateIvl after or on Interval[DateTime(2012, 1, 1, 0, 0, 0, 0), DateTime(2012, 12, 31, 23, 59, 59, 999)) -define NullEndIvl: Interval[DateTime(2012, 3, 1, 0, 0, 0, 0), null) -define BeforeNullEndIvl: Interval[DateTime(2012, 1, 1, 0, 0, 0, 0), DateTime(2012, 2, 20, 0, 0, 0, 0)] after or on NullEndIvl -define AfterStartNullEndIvl: Interval[DateTime(2012, 3, 10, 0, 0, 0, 0), DateTime(2012, 3, 20, 0, 0, 0, 0)] after or on NullEndIvl -define NullEndStartBeforeIvl: NullEndIvl after or on Interval[DateTime(2012, 4, 1, 0, 0, 0, 0), DateTime(2012, 4, 20, 0, 0, 0, 0)] -define NullEndStartAfterIvl: NullEndIvl after or on Interval[DateTime(2012, 1, 1, 0, 0, 0, 0), DateTime(2012, 1, 20, 0, 0, 0, 0)] -define NullStartIvl: Interval(null, DateTime(2012, 3, 1, 0, 0, 0, 0)] -define EndsBeforeNullStartIvlEnds: Interval[DateTime(2012, 1, 1, 0, 0, 0, 0), DateTime(2012, 2, 20, 0, 0, 0, 0)] after or on NullStartIvl -define AfterEndOfNullStartIvl: Interval[DateTime(2012, 3, 10, 0, 0, 0, 0), DateTime(2012, 3, 20, 0, 0, 0, 0)] after or on NullStartIvl -define NullStartStartBeforeIvl: NullStartIvl after or on Interval[DateTime(2012, 4, 1, 0, 0, 0, 0), DateTime(2012, 4, 20, 0, 0, 0, 0)] -define NullStartStartAfterIvl: NullStartIvl after or on Interval[DateTime(2012, 1, 1, 0, 0, 0, 0), DateTime(2012, 1, 20, 0, 0, 0, 0)] -define DateIvlBeforeNull: DateIvl after or on null -define NullBeforeDateIvl: null after or on DateIvl -define DateTimeBeforeDateIvl: DateTime(2012, 2, 20, 0, 0, 0, 0) after or on DateIvl -define DateBeforeDateIvl: Date(2012, 2, 20) after or on DateIvl -define DateIvlBeforeDateTime: DateIvl after or on DateTime(2012, 9, 20, 0, 0, 0, 0) -define DateIvlBeforeDate: DateIvl after or on DateTime(2012, 9, 20) -define DateOnlyIvl: Interval[Date(2012, 1, 1), Date(2012, 2, 20)] -define DateOnlyIvlBeforeDateIvl: DateOnlyIvl after or on DateIvl -define DateIvlAfterDateOnlyIvl: DateIvl after or on DateOnlyIvl -define DateOnlyMeetsAfterDateIvl: Interval[Date(2012, 9, 1), Date(2012, 10, 1)] after or on DateIvl -*/ - -module.exports['AfterOrOn'] = { - "library" : { - "localId" : "0", - "annotation" : [ { - "translatorVersion" : "3.27.0", - "translatorOptions" : "EnableDateRangeOptimization,EnableAnnotations,EnableResultTypes", - "signatureLevel" : "All", - "type" : "CqlToElmInfo" - }, { - "type" : "Annotation", - "s" : { - "r" : "1983", - "s" : [ { - "value" : [ "","library TestSnippet version '1'" ] - } ] - } - } ], - "identifier" : { - "id" : "TestSnippet", - "version" : "1" - }, - "schemaIdentifier" : { - "id" : "urn:hl7-org:elm", - "version" : "r1" - }, - "usings" : { - "def" : [ { - "localId" : "1", - "localIdentifier" : "System", - "uri" : "urn:hl7-org:elm-types:r1" - }, { - "localId" : "206", - "localIdentifier" : "Simple", - "uri" : "https://github.com/cqframework/cql-execution/simple", - "version" : "1.0.0", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "206", - "s" : [ { - "value" : [ "","using " ] - }, { - "s" : [ { - "value" : [ "Simple" ] - } ] - }, { - "value" : [ " version '1.0.0'" ] - } ] - } - } ] - } ] - }, - "contexts" : { - "def" : [ { - "localId" : "211", - "name" : "Patient" - } ] - }, - "statements" : { - "def" : [ { - "localId" : "209", - "name" : "Patient", - "context" : "Patient", - "expression" : { - "localId" : "210", - "type" : "SingletonFrom", - "signature" : [ ], - "operand" : { - "localId" : "208", - "dataType" : "{https://github.com/cqframework/cql-execution/simple}Patient", - "type" : "Retrieve", - "include" : [ ], - "codeFilter" : [ ], - "dateFilter" : [ ], - "otherFilter" : [ ] - } - } - }, { - "localId" : "214", - "name" : "DateIvl", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "214", - "s" : [ { - "value" : [ "","define ","DateIvl",": " ] - }, { - "r" : "263", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "231", - "s" : [ { - "r" : "215", - "value" : [ "DateTime","(","2012",", ","3",", ","1",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "255", - "s" : [ { - "r" : "239", - "value" : [ "DateTime","(","2012",", ","9",", ","1",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ "]" ] - } ] - } ] - } - } ], - "resultTypeSpecifier" : { - "localId" : "266", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "267", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "expression" : { - "localId" : "263", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "264", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "265", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "231", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "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" - }, { - "localId" : "234", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "235", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "236", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "237", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "238", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "215", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "216", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "217", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "218", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "219", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "220", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "221", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - }, - "high" : { - "localId" : "255", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "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" - }, { - "localId" : "258", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "259", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "260", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "261", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "262", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "239", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "240", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "9", - "type" : "Literal" - }, - "day" : { - "localId" : "241", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "242", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "243", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "244", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "245", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - } - } - }, { - "localId" : "270", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "MeetsAfterDateIvl", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "270", - "s" : [ { - "value" : [ "","define ","MeetsAfterDateIvl",": " ] - }, { - "r" : "325", - "s" : [ { - "r" : "319", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "287", - "s" : [ { - "r" : "271", - "value" : [ "DateTime","(","2012",", ","9",", ","1",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "311", - "s" : [ { - "r" : "295", - "value" : [ "DateTime","(","2012",", ","12",", ","1",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ ")" ] - } ] - }, { - "r" : "325", - "value" : [ " ","after or on"," " ] - }, { - "r" : "322", - "s" : [ { - "value" : [ "DateIvl" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "325", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "SameOrAfter", - "signature" : [ { - "localId" : "326", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "327", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "328", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "329", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "319", - "lowClosed" : true, - "highClosed" : false, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "320", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "321", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "287", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "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" - }, { - "localId" : "290", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "291", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "292", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "293", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "294", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "271", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "272", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "9", - "type" : "Literal" - }, - "day" : { - "localId" : "273", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "274", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "275", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "276", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "277", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - }, - "high" : { - "localId" : "311", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "312", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "313", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "314", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "315", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "316", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "317", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "318", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "295", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "296", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "12", - "type" : "Literal" - }, - "day" : { - "localId" : "297", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "298", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "299", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "300", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "301", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - } - }, { - "localId" : "322", - "name" : "DateIvl", - "type" : "ExpressionRef", - "resultTypeSpecifier" : { - "localId" : "323", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "324", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - } ] - } - }, { - "localId" : "332", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "MeetsBeforeDateIvl", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "332", - "s" : [ { - "value" : [ "","define ","MeetsBeforeDateIvl",": " ] - }, { - "r" : "387", - "s" : [ { - "r" : "381", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "349", - "s" : [ { - "r" : "333", - "value" : [ "DateTime","(","2012",", ","1",", ","1",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "373", - "s" : [ { - "r" : "357", - "value" : [ "DateTime","(","2012",", ","3",", ","1",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ ")" ] - } ] - }, { - "r" : "387", - "value" : [ " ","after or on"," " ] - }, { - "r" : "384", - "s" : [ { - "value" : [ "DateIvl" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "387", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "SameOrAfter", - "signature" : [ { - "localId" : "388", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "389", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "390", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "391", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "381", - "lowClosed" : true, - "highClosed" : false, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "382", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "383", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "349", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "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" - }, { - "localId" : "352", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "353", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "354", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "355", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "356", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "333", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "334", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "335", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "336", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "337", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "338", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "339", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - }, - "high" : { - "localId" : "373", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "374", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "375", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "376", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "377", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "378", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "379", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "380", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "357", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "358", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "359", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "360", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "361", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "362", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "363", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - } - }, { - "localId" : "384", - "name" : "DateIvl", - "type" : "ExpressionRef", - "resultTypeSpecifier" : { - "localId" : "385", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "386", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - } ] - } - }, { - "localId" : "394", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "AfterDateIvl", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "394", - "s" : [ { - "value" : [ "","define ","AfterDateIvl",": " ] - }, { - "r" : "449", - "s" : [ { - "r" : "443", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "411", - "s" : [ { - "r" : "395", - "value" : [ "DateTime","(","2012",", ","10",", ","11",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "435", - "s" : [ { - "r" : "419", - "value" : [ "DateTime","(","2012",", ","10",", ","29",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ ")" ] - } ] - }, { - "r" : "449", - "value" : [ " ","after or on"," " ] - }, { - "r" : "446", - "s" : [ { - "value" : [ "DateIvl" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "449", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "SameOrAfter", - "signature" : [ { - "localId" : "450", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "451", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "452", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "453", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "443", - "lowClosed" : true, - "highClosed" : false, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "444", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "445", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "411", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "412", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "413", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "414", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "415", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "416", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "417", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "418", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "395", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "396", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal" - }, - "day" : { - "localId" : "397", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "11", - "type" : "Literal" - }, - "hour" : { - "localId" : "398", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "399", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "400", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "401", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - }, - "high" : { - "localId" : "435", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "436", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "437", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "438", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "439", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "440", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "441", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "442", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "419", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "420", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal" - }, - "day" : { - "localId" : "421", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "29", - "type" : "Literal" - }, - "hour" : { - "localId" : "422", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "423", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "424", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "425", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - } - }, { - "localId" : "446", - "name" : "DateIvl", - "type" : "ExpressionRef", - "resultTypeSpecifier" : { - "localId" : "447", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "448", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - } ] - } - }, { - "localId" : "456", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "BeforeDateIvl", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "456", - "s" : [ { - "value" : [ "","define ","BeforeDateIvl",": " ] - }, { - "r" : "511", - "s" : [ { - "r" : "505", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "473", - "s" : [ { - "r" : "457", - "value" : [ "DateTime","(","2012",", ","1",", ","1",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "497", - "s" : [ { - "r" : "481", - "value" : [ "DateTime","(","2012",", ","2",", ","29",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ ")" ] - } ] - }, { - "r" : "511", - "value" : [ " ","after or on"," " ] - }, { - "r" : "508", - "s" : [ { - "value" : [ "DateIvl" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "511", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "SameOrAfter", - "signature" : [ { - "localId" : "512", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "513", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "514", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "515", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "505", - "lowClosed" : true, - "highClosed" : false, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "506", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "507", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "473", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "474", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "475", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "476", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "477", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "478", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "479", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "480", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "457", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "458", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "459", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "460", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "461", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "462", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "463", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - }, - "high" : { - "localId" : "497", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "498", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "499", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "500", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "501", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "502", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "503", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "504", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "481", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "482", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal" - }, - "day" : { - "localId" : "483", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "29", - "type" : "Literal" - }, - "hour" : { - "localId" : "484", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "485", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "486", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "487", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - } - }, { - "localId" : "508", - "name" : "DateIvl", - "type" : "ExpressionRef", - "resultTypeSpecifier" : { - "localId" : "509", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "510", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - } ] - } - }, { - "localId" : "518", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "MayMeetAfterImpreciseDateIvl", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "518", - "s" : [ { - "value" : [ "","define ","MayMeetAfterImpreciseDateIvl",": " ] - }, { - "r" : "543", - "s" : [ { - "r" : "519", - "s" : [ { - "value" : [ "DateIvl" ] - } ] - }, { - "r" : "543", - "value" : [ " ","after or on"," " ] - }, { - "r" : "540", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "528", - "s" : [ { - "r" : "522", - "value" : [ "DateTime","(","2012",", ","1",")" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "537", - "s" : [ { - "r" : "531", - "value" : [ "DateTime","(","2012",", ","3",")" ] - } ] - }, { - "value" : [ "]" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "543", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "SameOrAfter", - "signature" : [ { - "localId" : "544", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "545", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "546", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "547", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "519", - "name" : "DateIvl", - "type" : "ExpressionRef", - "resultTypeSpecifier" : { - "localId" : "520", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "521", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - }, { - "localId" : "540", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "541", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "542", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "528", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "529", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "530", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "522", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "523", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - } - }, - "high" : { - "localId" : "537", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "538", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "539", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "531", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "532", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - } - } - } ] - } - }, { - "localId" : "550", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "MayMeetBeforeImpreciseDateIvl", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "550", - "s" : [ { - "value" : [ "","define ","MayMeetBeforeImpreciseDateIvl",": " ] - }, { - "r" : "575", - "s" : [ { - "r" : "551", - "s" : [ { - "value" : [ "DateIvl" ] - } ] - }, { - "r" : "575", - "value" : [ " ","after or on"," " ] - }, { - "r" : "572", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "560", - "s" : [ { - "r" : "554", - "value" : [ "DateTime","(","2012",", ","9",")" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "569", - "s" : [ { - "r" : "563", - "value" : [ "DateTime","(","2012",", ","12",")" ] - } ] - }, { - "value" : [ "]" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "575", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "SameOrAfter", - "signature" : [ { - "localId" : "576", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "577", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "578", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "579", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "551", - "name" : "DateIvl", - "type" : "ExpressionRef", - "resultTypeSpecifier" : { - "localId" : "552", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "553", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - }, { - "localId" : "572", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "573", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "574", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "560", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "561", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "562", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "554", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "555", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "9", - "type" : "Literal" - } - }, - "high" : { - "localId" : "569", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "570", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "571", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "563", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "564", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "12", - "type" : "Literal" - } - } - } ] - } - }, { - "localId" : "582", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "NotMeetsImpreciseDateIvl", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "582", - "s" : [ { - "value" : [ "","define ","NotMeetsImpreciseDateIvl",": " ] - }, { - "r" : "607", - "s" : [ { - "r" : "583", - "s" : [ { - "value" : [ "DateIvl" ] - } ] - }, { - "r" : "607", - "value" : [ " ","after or on"," " ] - }, { - "r" : "604", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "592", - "s" : [ { - "r" : "586", - "value" : [ "DateTime","(","2012",", ","1",")" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "601", - "s" : [ { - "r" : "595", - "value" : [ "DateTime","(","2012",", ","12",")" ] - } ] - }, { - "value" : [ "]" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "607", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "SameOrAfter", - "signature" : [ { - "localId" : "608", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "609", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "610", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "611", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "583", - "name" : "DateIvl", - "type" : "ExpressionRef", - "resultTypeSpecifier" : { - "localId" : "584", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "585", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - }, { - "localId" : "604", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "605", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "606", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "592", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "593", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "594", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "586", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "587", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - } - }, - "high" : { - "localId" : "601", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "602", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "603", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "595", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "596", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "12", - "type" : "Literal" - } - } - } ] - } - }, { - "localId" : "614", - "name" : "PrecisionDateIvl", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "614", - "s" : [ { - "value" : [ "","define ","PrecisionDateIvl",": " ] - }, { - "r" : "663", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "631", - "s" : [ { - "r" : "615", - "value" : [ "DateTime","(","2012",", ","3",", ","2",", ","12",", ","34",", ","56",", ","789",")" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "655", - "s" : [ { - "r" : "639", - "value" : [ "DateTime","(","2012",", ","9",", ","2",", ","1",", ","23",", ","45",", ","678",")" ] - } ] - }, { - "value" : [ ")" ] - } ] - } ] - } - } ], - "resultTypeSpecifier" : { - "localId" : "666", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "667", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "expression" : { - "localId" : "663", - "lowClosed" : true, - "highClosed" : false, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "664", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "665", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "631", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "632", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "633", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "634", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "635", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "636", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "637", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "638", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "615", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "616", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "617", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal" - }, - "hour" : { - "localId" : "618", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "12", - "type" : "Literal" - }, - "minute" : { - "localId" : "619", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "34", - "type" : "Literal" - }, - "second" : { - "localId" : "620", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "56", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "621", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "789", - "type" : "Literal" - } - }, - "high" : { - "localId" : "655", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "656", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "657", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "658", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "659", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "660", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "661", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "662", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "639", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "640", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "9", - "type" : "Literal" - }, - "day" : { - "localId" : "641", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal" - }, - "hour" : { - "localId" : "642", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "minute" : { - "localId" : "643", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "23", - "type" : "Literal" - }, - "second" : { - "localId" : "644", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "45", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "645", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "678", - "type" : "Literal" - } - } - } - }, { - "localId" : "670", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "MeetsAfterDayOfIvl", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "670", - "s" : [ { - "value" : [ "","define ","MeetsAfterDayOfIvl",": " ] - }, { - "r" : "725", - "s" : [ { - "r" : "671", - "s" : [ { - "value" : [ "PrecisionDateIvl" ] - } ] - }, { - "r" : "725", - "value" : [ " ","after or on day of"," " ] - }, { - "r" : "722", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "690", - "s" : [ { - "r" : "674", - "value" : [ "DateTime","(","2012",", ","1",", ","2",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "714", - "s" : [ { - "r" : "698", - "value" : [ "DateTime","(","2012",", ","3",", ","2",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ "]" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "725", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "precision" : "Day", - "type" : "SameOrAfter", - "signature" : [ { - "localId" : "726", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "727", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "728", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "729", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "671", - "name" : "PrecisionDateIvl", - "type" : "ExpressionRef", - "resultTypeSpecifier" : { - "localId" : "672", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "673", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - }, { - "localId" : "722", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "723", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "724", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "690", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "691", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "692", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "693", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "694", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "695", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "696", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "697", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "674", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "675", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "676", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal" - }, - "hour" : { - "localId" : "677", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "678", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "679", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "680", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - }, - "high" : { - "localId" : "714", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "715", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "716", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "717", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "718", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "719", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "720", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "721", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "698", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "699", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "700", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal" - }, - "hour" : { - "localId" : "701", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "702", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "703", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "704", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - } - } ] - } - }, { - "localId" : "732", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "MeetsBeforeDayOfIvl", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "732", - "s" : [ { - "value" : [ "","define ","MeetsBeforeDayOfIvl",": " ] - }, { - "r" : "787", - "s" : [ { - "r" : "733", - "s" : [ { - "value" : [ "PrecisionDateIvl" ] - } ] - }, { - "r" : "787", - "value" : [ " ","after or on day of"," " ] - }, { - "r" : "784", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "752", - "s" : [ { - "r" : "736", - "value" : [ "DateTime","(","2012",", ","9",", ","3",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "776", - "s" : [ { - "r" : "760", - "value" : [ "DateTime","(","2012",", ","12",", ","1",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ "]" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "787", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "precision" : "Day", - "type" : "SameOrAfter", - "signature" : [ { - "localId" : "788", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "789", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "790", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "791", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "733", - "name" : "PrecisionDateIvl", - "type" : "ExpressionRef", - "resultTypeSpecifier" : { - "localId" : "734", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "735", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - }, { - "localId" : "784", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "785", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "786", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "752", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "753", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "754", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "755", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "756", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "757", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "758", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "759", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "736", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "737", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "9", - "type" : "Literal" - }, - "day" : { - "localId" : "738", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "hour" : { - "localId" : "739", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "740", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "741", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "742", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - }, - "high" : { - "localId" : "776", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "777", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "778", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "779", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "780", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "781", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "782", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "783", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "760", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "761", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "12", - "type" : "Literal" - }, - "day" : { - "localId" : "762", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "763", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "764", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "765", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "766", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - } - } ] - } - }, { - "localId" : "794", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "NotMeetsDayOfIvl", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "794", - "s" : [ { - "value" : [ "","define ","NotMeetsDayOfIvl",": " ] - }, { - "r" : "849", - "s" : [ { - "r" : "795", - "s" : [ { - "value" : [ "PrecisionDateIvl" ] - } ] - }, { - "r" : "849", - "value" : [ " ","after or on day of"," " ] - }, { - "r" : "846", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "814", - "s" : [ { - "r" : "798", - "value" : [ "DateTime","(","2012",", ","1",", ","2",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "838", - "s" : [ { - "r" : "822", - "value" : [ "DateTime","(","2012",", ","3",", ","2",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ "]" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "849", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "precision" : "Day", - "type" : "SameOrAfter", - "signature" : [ { - "localId" : "850", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "851", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "852", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "853", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "795", - "name" : "PrecisionDateIvl", - "type" : "ExpressionRef", - "resultTypeSpecifier" : { - "localId" : "796", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "797", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - }, { - "localId" : "846", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "847", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "848", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "814", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "815", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "816", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "817", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "818", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "819", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "820", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "821", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "798", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "799", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "800", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal" - }, - "hour" : { - "localId" : "801", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "802", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "803", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "804", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - }, - "high" : { - "localId" : "838", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "839", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "840", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "841", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "842", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "843", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "844", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "845", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "822", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "823", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "824", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal" - }, - "hour" : { - "localId" : "825", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "826", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "827", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "828", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - } - } ] - } - }, { - "localId" : "856", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "NotMeetsDayOfImpreciseIVL", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "856", - "s" : [ { - "value" : [ "","define ","NotMeetsDayOfImpreciseIVL",": " ] - }, { - "r" : "881", - "s" : [ { - "r" : "857", - "s" : [ { - "value" : [ "PrecisionDateIvl" ] - } ] - }, { - "r" : "881", - "value" : [ " ","after or on day of"," " ] - }, { - "r" : "878", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "866", - "s" : [ { - "r" : "860", - "value" : [ "DateTime","(","2012",", ","1",")" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "875", - "s" : [ { - "r" : "869", - "value" : [ "DateTime","(","2012",", ","2",")" ] - } ] - }, { - "value" : [ "]" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "881", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "precision" : "Day", - "type" : "SameOrAfter", - "signature" : [ { - "localId" : "882", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "883", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "884", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "885", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "857", - "name" : "PrecisionDateIvl", - "type" : "ExpressionRef", - "resultTypeSpecifier" : { - "localId" : "858", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "859", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - }, { - "localId" : "878", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "879", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "880", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "866", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "867", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "868", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "860", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "861", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - } - }, - "high" : { - "localId" : "875", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "876", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "877", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "869", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "870", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal" - } - } - } ] - } - }, { - "localId" : "888", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "MayMeetAfterDayOfImpreciseIvl", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "888", - "s" : [ { - "value" : [ "","define ","MayMeetAfterDayOfImpreciseIvl",": " ] - }, { - "r" : "913", - "s" : [ { - "r" : "889", - "s" : [ { - "value" : [ "PrecisionDateIvl" ] - } ] - }, { - "r" : "913", - "value" : [ " ","after or on day of"," " ] - }, { - "r" : "910", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "898", - "s" : [ { - "r" : "892", - "value" : [ "DateTime","(","2012",", ","1",")" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "907", - "s" : [ { - "r" : "901", - "value" : [ "DateTime","(","2012",", ","3",")" ] - } ] - }, { - "value" : [ "]" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "913", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "precision" : "Day", - "type" : "SameOrAfter", - "signature" : [ { - "localId" : "914", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "915", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "916", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "917", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "889", - "name" : "PrecisionDateIvl", - "type" : "ExpressionRef", - "resultTypeSpecifier" : { - "localId" : "890", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "891", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - }, { - "localId" : "910", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "911", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "912", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "898", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "899", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "900", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "892", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "893", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - } - }, - "high" : { - "localId" : "907", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "908", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "909", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "901", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "902", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - } - } - } ] - } - }, { - "localId" : "920", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "MayMeetBeforeDayOfImpreciseIvl", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "920", - "s" : [ { - "value" : [ "","define ","MayMeetBeforeDayOfImpreciseIvl",": " ] - }, { - "r" : "945", - "s" : [ { - "r" : "921", - "s" : [ { - "value" : [ "PrecisionDateIvl" ] - } ] - }, { - "r" : "945", - "value" : [ " ","after or on day of"," " ] - }, { - "r" : "942", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "930", - "s" : [ { - "r" : "924", - "value" : [ "DateTime","(","2012",", ","9",")" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "939", - "s" : [ { - "r" : "933", - "value" : [ "DateTime","(","2012",", ","12",")" ] - } ] - }, { - "value" : [ "]" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "945", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "precision" : "Day", - "type" : "SameOrAfter", - "signature" : [ { - "localId" : "946", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "947", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "948", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "949", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "921", - "name" : "PrecisionDateIvl", - "type" : "ExpressionRef", - "resultTypeSpecifier" : { - "localId" : "922", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "923", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - }, { - "localId" : "942", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "943", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "944", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "930", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "931", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "932", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "924", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "925", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "9", - "type" : "Literal" - } - }, - "high" : { - "localId" : "939", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "940", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "941", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "933", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "934", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "12", - "type" : "Literal" - } - } - } ] - } - }, { - "localId" : "952", - "name" : "ImpDateIvl", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "952", - "s" : [ { - "value" : [ "","define ","ImpDateIvl",": " ] - }, { - "r" : "971", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "959", - "s" : [ { - "r" : "953", - "value" : [ "DateTime","(","2012",", ","3",")" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "968", - "s" : [ { - "r" : "962", - "value" : [ "DateTime","(","2012",", ","8",")" ] - } ] - }, { - "value" : [ "]" ] - } ] - } ] - } - } ], - "resultTypeSpecifier" : { - "localId" : "974", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "975", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "expression" : { - "localId" : "971", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "972", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "973", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "959", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "960", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "961", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "953", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "954", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - } - }, - "high" : { - "localId" : "968", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "969", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "970", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "962", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "963", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "8", - "type" : "Literal" - } - } - } - }, { - "localId" : "978", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "ImpreciseMayMeetAfterDateIvl", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "978", - "s" : [ { - "value" : [ "","define ","ImpreciseMayMeetAfterDateIvl",": " ] - }, { - "r" : "1033", - "s" : [ { - "r" : "979", - "s" : [ { - "value" : [ "ImpDateIvl" ] - } ] - }, { - "r" : "1033", - "value" : [ " ","after or on"," " ] - }, { - "r" : "1030", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "998", - "s" : [ { - "r" : "982", - "value" : [ "DateTime","(","2012",", ","1",", ","1",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "1022", - "s" : [ { - "r" : "1006", - "value" : [ "DateTime","(","2012",", ","2",", ","29",", ","23",", ","59",", ","59",", ","999",")" ] - } ] - }, { - "value" : [ "]" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "1033", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "SameOrAfter", - "signature" : [ { - "localId" : "1034", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1035", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "1036", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1037", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "979", - "name" : "ImpDateIvl", - "type" : "ExpressionRef", - "resultTypeSpecifier" : { - "localId" : "980", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "981", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - }, { - "localId" : "1030", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "1031", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1032", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "998", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "999", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1000", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1001", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1002", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1003", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1004", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1005", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "982", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "983", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "984", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "985", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "986", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "987", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "988", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - }, - "high" : { - "localId" : "1022", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "1023", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1024", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1025", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1026", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1027", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1028", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1029", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1006", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "1007", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal" - }, - "day" : { - "localId" : "1008", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "29", - "type" : "Literal" - }, - "hour" : { - "localId" : "1009", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "23", - "type" : "Literal" - }, - "minute" : { - "localId" : "1010", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal" - }, - "second" : { - "localId" : "1011", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "1012", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "999", - "type" : "Literal" - } - } - } ] - } - }, { - "localId" : "1040", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "ImpreciseMayMeetBeforeDateIvl", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "1040", - "s" : [ { - "value" : [ "","define ","ImpreciseMayMeetBeforeDateIvl",": " ] - }, { - "r" : "1095", - "s" : [ { - "r" : "1041", - "s" : [ { - "value" : [ "ImpDateIvl" ] - } ] - }, { - "r" : "1095", - "value" : [ " ","after or on"," " ] - }, { - "r" : "1092", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "1060", - "s" : [ { - "r" : "1044", - "value" : [ "DateTime","(","2012",", ","9",", ","1",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "1084", - "s" : [ { - "r" : "1068", - "value" : [ "DateTime","(","2012",", ","12",", ","31",", ","23",", ","59",", ","59",", ","999",")" ] - } ] - }, { - "value" : [ "]" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "1095", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "SameOrAfter", - "signature" : [ { - "localId" : "1096", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1097", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "1098", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1099", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "1041", - "name" : "ImpDateIvl", - "type" : "ExpressionRef", - "resultTypeSpecifier" : { - "localId" : "1042", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1043", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - }, { - "localId" : "1092", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "1093", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1094", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "1060", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "1061", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1062", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1063", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1064", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1065", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1066", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1067", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1044", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "1045", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "9", - "type" : "Literal" - }, - "day" : { - "localId" : "1046", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "1047", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "1048", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "1049", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "1050", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - }, - "high" : { - "localId" : "1084", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "1085", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1086", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1087", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1088", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1089", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1090", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1091", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1068", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "1069", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "12", - "type" : "Literal" - }, - "day" : { - "localId" : "1070", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "31", - "type" : "Literal" - }, - "hour" : { - "localId" : "1071", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "23", - "type" : "Literal" - }, - "minute" : { - "localId" : "1072", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal" - }, - "second" : { - "localId" : "1073", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "1074", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "999", - "type" : "Literal" - } - } - } ] - } - }, { - "localId" : "1102", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "ImpreciseNotMeetsDateIvl", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "1102", - "s" : [ { - "value" : [ "","define ","ImpreciseNotMeetsDateIvl",": " ] - }, { - "r" : "1157", - "s" : [ { - "r" : "1103", - "s" : [ { - "value" : [ "ImpDateIvl" ] - } ] - }, { - "r" : "1157", - "value" : [ " ","after or on"," " ] - }, { - "r" : "1154", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "1122", - "s" : [ { - "r" : "1106", - "value" : [ "DateTime","(","2012",", ","1",", ","1",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "1146", - "s" : [ { - "r" : "1130", - "value" : [ "DateTime","(","2012",", ","12",", ","31",", ","23",", ","59",", ","59",", ","999",")" ] - } ] - }, { - "value" : [ ")" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "1157", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "SameOrAfter", - "signature" : [ { - "localId" : "1158", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1159", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "1160", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1161", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "1103", - "name" : "ImpDateIvl", - "type" : "ExpressionRef", - "resultTypeSpecifier" : { - "localId" : "1104", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1105", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - }, { - "localId" : "1154", - "lowClosed" : true, - "highClosed" : false, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "1155", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1156", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "1122", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "1123", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1124", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1125", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1126", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1127", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1128", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1129", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1106", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "1107", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "1108", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "1109", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "1110", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "1111", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "1112", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - }, - "high" : { - "localId" : "1146", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "1147", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1148", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1149", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1150", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1151", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1152", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1153", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1130", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "1131", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "12", - "type" : "Literal" - }, - "day" : { - "localId" : "1132", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "31", - "type" : "Literal" - }, - "hour" : { - "localId" : "1133", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "23", - "type" : "Literal" - }, - "minute" : { - "localId" : "1134", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal" - }, - "second" : { - "localId" : "1135", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "1136", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "999", - "type" : "Literal" - } - } - } ] - } - }, { - "localId" : "1164", - "name" : "NullEndIvl", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "1164", - "s" : [ { - "value" : [ "","define ","NullEndIvl",": " ] - }, { - "r" : "1190", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "1181", - "s" : [ { - "r" : "1165", - "value" : [ "DateTime","(","2012",", ","3",", ","1",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "r" : "1189", - "value" : [ ", ","null",")" ] - } ] - } ] - } - } ], - "resultTypeSpecifier" : { - "localId" : "1194", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1195", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "expression" : { - "localId" : "1190", - "lowClosed" : true, - "highClosed" : false, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "1192", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1193", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "1181", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "1182", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1183", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1184", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1185", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1186", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1187", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1188", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1165", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "1166", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "1167", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "1168", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "1169", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "1170", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "1171", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - }, - "high" : { - "localId" : "1191", - "asType" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "As", - "signature" : [ ], - "operand" : { - "localId" : "1189", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - } - } - } - }, { - "localId" : "1198", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "BeforeNullEndIvl", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "1198", - "s" : [ { - "value" : [ "","define ","BeforeNullEndIvl",": " ] - }, { - "r" : "1253", - "s" : [ { - "r" : "1247", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "1215", - "s" : [ { - "r" : "1199", - "value" : [ "DateTime","(","2012",", ","1",", ","1",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "1239", - "s" : [ { - "r" : "1223", - "value" : [ "DateTime","(","2012",", ","2",", ","20",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ "]" ] - } ] - }, { - "r" : "1253", - "value" : [ " ","after or on"," " ] - }, { - "r" : "1250", - "s" : [ { - "value" : [ "NullEndIvl" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "1253", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "SameOrAfter", - "signature" : [ { - "localId" : "1254", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1255", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "1256", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1257", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "1247", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "1248", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1249", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "1215", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "1216", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1217", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1218", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1219", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1220", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1221", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1222", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1199", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "1200", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "1201", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "1202", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "1203", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "1204", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "1205", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - }, - "high" : { - "localId" : "1239", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "1240", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1241", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1242", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1243", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1244", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1245", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1246", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1223", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "1224", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal" - }, - "day" : { - "localId" : "1225", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "20", - "type" : "Literal" - }, - "hour" : { - "localId" : "1226", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "1227", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "1228", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "1229", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - } - }, { - "localId" : "1250", - "name" : "NullEndIvl", - "type" : "ExpressionRef", - "resultTypeSpecifier" : { - "localId" : "1251", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1252", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - } ] - } - }, { - "localId" : "1260", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "AfterStartNullEndIvl", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "1260", - "s" : [ { - "value" : [ "","define ","AfterStartNullEndIvl",": " ] - }, { - "r" : "1315", - "s" : [ { - "r" : "1309", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "1277", - "s" : [ { - "r" : "1261", - "value" : [ "DateTime","(","2012",", ","3",", ","10",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "1301", - "s" : [ { - "r" : "1285", - "value" : [ "DateTime","(","2012",", ","3",", ","20",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ "]" ] - } ] - }, { - "r" : "1315", - "value" : [ " ","after or on"," " ] - }, { - "r" : "1312", - "s" : [ { - "value" : [ "NullEndIvl" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "1315", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "SameOrAfter", - "signature" : [ { - "localId" : "1316", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1317", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "1318", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1319", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "1309", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "1310", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1311", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "1277", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "1278", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1279", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1280", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1281", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1282", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1283", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1284", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1261", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "1262", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "1263", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal" - }, - "hour" : { - "localId" : "1264", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "1265", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "1266", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "1267", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - }, - "high" : { - "localId" : "1301", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "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" - }, { - "localId" : "1304", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1305", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1306", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1307", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1308", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1285", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "1286", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "1287", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "20", - "type" : "Literal" - }, - "hour" : { - "localId" : "1288", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "1289", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "1290", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "1291", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - } - }, { - "localId" : "1312", - "name" : "NullEndIvl", - "type" : "ExpressionRef", - "resultTypeSpecifier" : { - "localId" : "1313", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1314", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - } ] - } - }, { - "localId" : "1322", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "NullEndStartBeforeIvl", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "1322", - "s" : [ { - "value" : [ "","define ","NullEndStartBeforeIvl",": " ] - }, { - "r" : "1377", - "s" : [ { - "r" : "1323", - "s" : [ { - "value" : [ "NullEndIvl" ] - } ] - }, { - "r" : "1377", - "value" : [ " ","after or on"," " ] - }, { - "r" : "1374", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "1342", - "s" : [ { - "r" : "1326", - "value" : [ "DateTime","(","2012",", ","4",", ","1",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "1366", - "s" : [ { - "r" : "1350", - "value" : [ "DateTime","(","2012",", ","4",", ","20",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ "]" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "1377", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "SameOrAfter", - "signature" : [ { - "localId" : "1378", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1379", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "1380", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1381", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "1323", - "name" : "NullEndIvl", - "type" : "ExpressionRef", - "resultTypeSpecifier" : { - "localId" : "1324", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1325", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - }, { - "localId" : "1374", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "1375", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1376", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "1342", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "1343", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1344", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1345", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1346", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1347", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1348", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1349", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1326", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "1327", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "4", - "type" : "Literal" - }, - "day" : { - "localId" : "1328", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "1329", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "1330", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "1331", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "1332", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - }, - "high" : { - "localId" : "1366", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "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" - }, { - "localId" : "1369", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1370", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1371", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1372", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1373", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1350", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "1351", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "4", - "type" : "Literal" - }, - "day" : { - "localId" : "1352", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "20", - "type" : "Literal" - }, - "hour" : { - "localId" : "1353", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "1354", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "1355", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "1356", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - } - } ] - } - }, { - "localId" : "1384", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "NullEndStartAfterIvl", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "1384", - "s" : [ { - "value" : [ "","define ","NullEndStartAfterIvl",": " ] - }, { - "r" : "1439", - "s" : [ { - "r" : "1385", - "s" : [ { - "value" : [ "NullEndIvl" ] - } ] - }, { - "r" : "1439", - "value" : [ " ","after or on"," " ] - }, { - "r" : "1436", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "1404", - "s" : [ { - "r" : "1388", - "value" : [ "DateTime","(","2012",", ","1",", ","1",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "1428", - "s" : [ { - "r" : "1412", - "value" : [ "DateTime","(","2012",", ","1",", ","20",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ "]" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "1439", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "SameOrAfter", - "signature" : [ { - "localId" : "1440", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1441", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "1442", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1443", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "1385", - "name" : "NullEndIvl", - "type" : "ExpressionRef", - "resultTypeSpecifier" : { - "localId" : "1386", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1387", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - }, { - "localId" : "1436", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "1437", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1438", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "1404", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "1405", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1406", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1407", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1408", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1409", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1410", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1411", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1388", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "1389", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "1390", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "1391", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "1392", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "1393", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "1394", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - }, - "high" : { - "localId" : "1428", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "1429", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1430", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1431", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1432", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1433", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1434", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1435", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1412", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "1413", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "1414", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "20", - "type" : "Literal" - }, - "hour" : { - "localId" : "1415", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "1416", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "1417", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "1418", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - } - } ] - } - }, { - "localId" : "1446", - "name" : "NullStartIvl", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "1446", - "s" : [ { - "value" : [ "","define ","NullStartIvl",": " ] - }, { - "r" : "1472", - "s" : [ { - "r" : "1447", - "value" : [ "Interval(","null",", " ] - }, { - "r" : "1464", - "s" : [ { - "r" : "1448", - "value" : [ "DateTime","(","2012",", ","3",", ","1",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ "]" ] - } ] - } ] - } - } ], - "resultTypeSpecifier" : { - "localId" : "1476", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1477", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "expression" : { - "localId" : "1472", - "lowClosed" : false, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "1474", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1475", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "1473", - "asType" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "As", - "signature" : [ ], - "operand" : { - "localId" : "1447", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - } - }, - "high" : { - "localId" : "1464", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "1465", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1466", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1467", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1468", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1469", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1470", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1471", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1448", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "1449", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "1450", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "1451", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "1452", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "1453", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "1454", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - } - } - }, { - "localId" : "1480", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "EndsBeforeNullStartIvlEnds", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "1480", - "s" : [ { - "value" : [ "","define ","EndsBeforeNullStartIvlEnds",": " ] - }, { - "r" : "1535", - "s" : [ { - "r" : "1529", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "1497", - "s" : [ { - "r" : "1481", - "value" : [ "DateTime","(","2012",", ","1",", ","1",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "1521", - "s" : [ { - "r" : "1505", - "value" : [ "DateTime","(","2012",", ","2",", ","20",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ "]" ] - } ] - }, { - "r" : "1535", - "value" : [ " ","after or on"," " ] - }, { - "r" : "1532", - "s" : [ { - "value" : [ "NullStartIvl" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "1535", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "SameOrAfter", - "signature" : [ { - "localId" : "1536", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1537", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "1538", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1539", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "1529", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "1530", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1531", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "1497", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "1498", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1499", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1500", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1501", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1502", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1503", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1504", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1481", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "1482", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "1483", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "1484", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "1485", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "1486", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "1487", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - }, - "high" : { - "localId" : "1521", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "1522", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1523", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1524", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1525", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1526", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1527", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1528", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1505", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "1506", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal" - }, - "day" : { - "localId" : "1507", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "20", - "type" : "Literal" - }, - "hour" : { - "localId" : "1508", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "1509", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "1510", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "1511", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - } - }, { - "localId" : "1532", - "name" : "NullStartIvl", - "type" : "ExpressionRef", - "resultTypeSpecifier" : { - "localId" : "1533", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1534", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - } ] - } - }, { - "localId" : "1542", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "AfterEndOfNullStartIvl", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "1542", - "s" : [ { - "value" : [ "","define ","AfterEndOfNullStartIvl",": " ] - }, { - "r" : "1597", - "s" : [ { - "r" : "1591", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "1559", - "s" : [ { - "r" : "1543", - "value" : [ "DateTime","(","2012",", ","3",", ","10",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "1583", - "s" : [ { - "r" : "1567", - "value" : [ "DateTime","(","2012",", ","3",", ","20",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ "]" ] - } ] - }, { - "r" : "1597", - "value" : [ " ","after or on"," " ] - }, { - "r" : "1594", - "s" : [ { - "value" : [ "NullStartIvl" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "1597", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "SameOrAfter", - "signature" : [ { - "localId" : "1598", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1599", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "1600", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1601", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "1591", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "1592", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1593", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "1559", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "1560", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1561", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1562", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1563", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1564", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1565", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1566", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1543", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "1544", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "1545", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal" - }, - "hour" : { - "localId" : "1546", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "1547", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "1548", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "1549", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - }, - "high" : { - "localId" : "1583", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "1584", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1585", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1586", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1587", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1588", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1589", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1590", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1567", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "1568", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "1569", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "20", - "type" : "Literal" - }, - "hour" : { - "localId" : "1570", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "1571", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "1572", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "1573", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - } - }, { - "localId" : "1594", - "name" : "NullStartIvl", - "type" : "ExpressionRef", - "resultTypeSpecifier" : { - "localId" : "1595", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1596", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - } ] - } - }, { - "localId" : "1604", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "NullStartStartBeforeIvl", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "1604", - "s" : [ { - "value" : [ "","define ","NullStartStartBeforeIvl",": " ] - }, { - "r" : "1659", - "s" : [ { - "r" : "1605", - "s" : [ { - "value" : [ "NullStartIvl" ] - } ] - }, { - "r" : "1659", - "value" : [ " ","after or on"," " ] - }, { - "r" : "1656", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "1624", - "s" : [ { - "r" : "1608", - "value" : [ "DateTime","(","2012",", ","4",", ","1",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "1648", - "s" : [ { - "r" : "1632", - "value" : [ "DateTime","(","2012",", ","4",", ","20",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ "]" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "1659", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "SameOrAfter", - "signature" : [ { - "localId" : "1660", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1661", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "1662", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1663", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "1605", - "name" : "NullStartIvl", - "type" : "ExpressionRef", - "resultTypeSpecifier" : { - "localId" : "1606", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1607", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - }, { - "localId" : "1656", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "1657", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1658", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "1624", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "1625", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1626", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1627", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1628", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1629", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1630", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1631", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1608", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "1609", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "4", - "type" : "Literal" - }, - "day" : { - "localId" : "1610", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "1611", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "1612", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "1613", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "1614", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - }, - "high" : { - "localId" : "1648", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "1649", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1650", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1651", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1652", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1653", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1654", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1655", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1632", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "1633", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "4", - "type" : "Literal" - }, - "day" : { - "localId" : "1634", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "20", - "type" : "Literal" - }, - "hour" : { - "localId" : "1635", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "1636", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "1637", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "1638", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - } - } ] - } - }, { - "localId" : "1666", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "NullStartStartAfterIvl", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "1666", - "s" : [ { - "value" : [ "","define ","NullStartStartAfterIvl",": " ] - }, { - "r" : "1721", - "s" : [ { - "r" : "1667", - "s" : [ { - "value" : [ "NullStartIvl" ] - } ] - }, { - "r" : "1721", - "value" : [ " ","after or on"," " ] - }, { - "r" : "1718", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "1686", - "s" : [ { - "r" : "1670", - "value" : [ "DateTime","(","2012",", ","1",", ","1",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "1710", - "s" : [ { - "r" : "1694", - "value" : [ "DateTime","(","2012",", ","1",", ","20",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ "]" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "1721", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "SameOrAfter", - "signature" : [ { - "localId" : "1722", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1723", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "1724", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1725", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "1667", - "name" : "NullStartIvl", - "type" : "ExpressionRef", - "resultTypeSpecifier" : { - "localId" : "1668", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1669", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - }, { - "localId" : "1718", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "1719", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1720", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "1686", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "1687", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1688", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1689", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1690", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1691", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1692", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1693", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1670", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "1671", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "1672", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "1673", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "1674", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "1675", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "1676", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - }, - "high" : { - "localId" : "1710", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "1711", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1712", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1713", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1714", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1715", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1716", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1717", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1694", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "1695", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "1696", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "20", - "type" : "Literal" - }, - "hour" : { - "localId" : "1697", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "1698", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "1699", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "1700", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - } - } ] - } - }, { - "localId" : "1728", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "DateIvlBeforeNull", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "1728", - "s" : [ { - "value" : [ "","define ","DateIvlBeforeNull",": " ] - }, { - "r" : "1733", - "s" : [ { - "r" : "1729", - "s" : [ { - "value" : [ "DateIvl" ] - } ] - }, { - "r" : "1733", - "value" : [ " ","after or on"," ","null" ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "1733", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "SameOrAfter", - "signature" : [ { - "localId" : "1737", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1738", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "1739", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1740", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "1729", - "name" : "DateIvl", - "type" : "ExpressionRef", - "resultTypeSpecifier" : { - "localId" : "1730", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1731", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - }, { - "localId" : "1734", - "type" : "As", - "signature" : [ ], - "operand" : { - "localId" : "1732", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - }, - "asTypeSpecifier" : { - "localId" : "1735", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1736", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - } ] - } - }, { - "localId" : "1743", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "NullBeforeDateIvl", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "1743", - "s" : [ { - "value" : [ "","define ","NullBeforeDateIvl",": " ] - }, { - "r" : "1748", - "s" : [ { - "r" : "1744", - "value" : [ "null"," ","after or on"," " ] - }, { - "r" : "1745", - "s" : [ { - "value" : [ "DateIvl" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "1748", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "SameOrAfter", - "signature" : [ { - "localId" : "1752", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1753", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "1754", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1755", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "1749", - "type" : "As", - "signature" : [ ], - "operand" : { - "localId" : "1744", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - }, - "asTypeSpecifier" : { - "localId" : "1750", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1751", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - }, { - "localId" : "1745", - "name" : "DateIvl", - "type" : "ExpressionRef", - "resultTypeSpecifier" : { - "localId" : "1746", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1747", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - } ] - } - }, { - "localId" : "1758", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "DateTimeBeforeDateIvl", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "1758", - "s" : [ { - "value" : [ "","define ","DateTimeBeforeDateIvl",": " ] - }, { - "r" : "1786", - "s" : [ { - "r" : "1775", - "s" : [ { - "r" : "1759", - "value" : [ "DateTime","(","2012",", ","2",", ","20",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "r" : "1786", - "value" : [ " ","after or on"," " ] - }, { - "r" : "1783", - "s" : [ { - "value" : [ "DateIvl" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "1786", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "SameOrAfter", - "signature" : [ { - "localId" : "1793", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1794", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "1795", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1796", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "1787", - "type" : "If", - "condition" : { - "localId" : "1788", - "type" : "IsNull", - "signature" : [ ], - "operand" : { - "localId" : "1775", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "1776", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1777", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1778", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1779", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1780", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1781", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1782", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1759", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "1760", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal" - }, - "day" : { - "localId" : "1761", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "20", - "type" : "Literal" - }, - "hour" : { - "localId" : "1762", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "1763", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "1764", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "1765", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - } - }, - "then" : { - "localId" : "1789", - "type" : "Null", - "resultTypeSpecifier" : { - "localId" : "1790", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1791", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - }, - "else" : { - "localId" : "1792", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "low" : { - "localId" : "1775", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "1776", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1777", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1778", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1779", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1780", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1781", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1782", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1759", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "1760", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal" - }, - "day" : { - "localId" : "1761", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "20", - "type" : "Literal" - }, - "hour" : { - "localId" : "1762", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "1763", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "1764", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "1765", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - }, - "high" : { - "localId" : "1775", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "1776", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1777", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1778", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1779", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1780", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1781", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1782", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1759", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "1760", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal" - }, - "day" : { - "localId" : "1761", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "20", - "type" : "Literal" - }, - "hour" : { - "localId" : "1762", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "1763", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "1764", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "1765", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - } - } - }, { - "localId" : "1783", - "name" : "DateIvl", - "type" : "ExpressionRef", - "resultTypeSpecifier" : { - "localId" : "1784", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1785", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - } ] - } - }, { - "localId" : "1799", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "DateBeforeDateIvl", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "1799", - "s" : [ { - "value" : [ "","define ","DateBeforeDateIvl",": " ] - }, { - "r" : "1815", - "s" : [ { - "r" : "1808", - "s" : [ { - "r" : "1800", - "value" : [ "Date","(","2012",", ","2",", ","20",")" ] - } ] - }, { - "r" : "1815", - "value" : [ " ","after or on"," " ] - }, { - "r" : "1812", - "s" : [ { - "value" : [ "DateIvl" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "1815", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "SameOrAfter", - "signature" : [ { - "localId" : "1825", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1826", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "1827", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1828", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "1819", - "type" : "If", - "condition" : { - "localId" : "1820", - "type" : "IsNull", - "signature" : [ ], - "operand" : { - "localId" : "1817", - "type" : "ToDateTime", - "signature" : [ { - "localId" : "1818", - "name" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "1808", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "Date", - "signature" : [ { - "localId" : "1809", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1810", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1811", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1800", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "1801", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal" - }, - "day" : { - "localId" : "1802", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "20", - "type" : "Literal" - } - } - } - }, - "then" : { - "localId" : "1821", - "type" : "Null", - "resultTypeSpecifier" : { - "localId" : "1822", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1823", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - }, - "else" : { - "localId" : "1824", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "low" : { - "localId" : "1817", - "type" : "ToDateTime", - "signature" : [ { - "localId" : "1818", - "name" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "1808", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "Date", - "signature" : [ { - "localId" : "1809", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1810", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1811", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1800", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "1801", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal" - }, - "day" : { - "localId" : "1802", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "20", - "type" : "Literal" - } - } - }, - "high" : { - "localId" : "1817", - "type" : "ToDateTime", - "signature" : [ { - "localId" : "1818", - "name" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "1808", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "Date", - "signature" : [ { - "localId" : "1809", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1810", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1811", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1800", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "1801", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal" - }, - "day" : { - "localId" : "1802", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "20", - "type" : "Literal" - } - } - } - } - }, { - "localId" : "1812", - "name" : "DateIvl", - "type" : "ExpressionRef", - "resultTypeSpecifier" : { - "localId" : "1813", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1814", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - } ] - } - }, { - "localId" : "1831", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "DateIvlBeforeDateTime", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "1831", - "s" : [ { - "value" : [ "","define ","DateIvlBeforeDateTime",": " ] - }, { - "r" : "1859", - "s" : [ { - "r" : "1832", - "s" : [ { - "value" : [ "DateIvl" ] - } ] - }, { - "r" : "1859", - "value" : [ " ","after or on"," " ] - }, { - "r" : "1851", - "s" : [ { - "r" : "1835", - "value" : [ "DateTime","(","2012",", ","9",", ","20",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "1859", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "SameOrAfter", - "signature" : [ { - "localId" : "1866", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1867", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "1868", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1869", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "1832", - "name" : "DateIvl", - "type" : "ExpressionRef", - "resultTypeSpecifier" : { - "localId" : "1833", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1834", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - }, { - "localId" : "1860", - "type" : "If", - "condition" : { - "localId" : "1861", - "type" : "IsNull", - "signature" : [ ], - "operand" : { - "localId" : "1851", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "1852", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1853", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1854", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1855", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1856", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1857", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1858", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1835", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "1836", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "9", - "type" : "Literal" - }, - "day" : { - "localId" : "1837", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "20", - "type" : "Literal" - }, - "hour" : { - "localId" : "1838", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "1839", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "1840", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "1841", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - } - }, - "then" : { - "localId" : "1862", - "type" : "Null", - "resultTypeSpecifier" : { - "localId" : "1863", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1864", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - }, - "else" : { - "localId" : "1865", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "low" : { - "localId" : "1851", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "1852", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1853", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1854", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1855", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1856", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1857", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1858", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1835", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "1836", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "9", - "type" : "Literal" - }, - "day" : { - "localId" : "1837", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "20", - "type" : "Literal" - }, - "hour" : { - "localId" : "1838", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "1839", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "1840", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "1841", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - }, - "high" : { - "localId" : "1851", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "1852", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1853", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1854", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1855", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1856", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1857", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1858", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1835", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "1836", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "9", - "type" : "Literal" - }, - "day" : { - "localId" : "1837", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "20", - "type" : "Literal" - }, - "hour" : { - "localId" : "1838", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "1839", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "1840", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "1841", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - } - } - } ] - } - }, { - "localId" : "1872", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "DateIvlBeforeDate", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "1872", - "s" : [ { - "value" : [ "","define ","DateIvlBeforeDate",": " ] - }, { - "r" : "1888", - "s" : [ { - "r" : "1873", - "s" : [ { - "value" : [ "DateIvl" ] - } ] - }, { - "r" : "1888", - "value" : [ " ","after or on"," " ] - }, { - "r" : "1884", - "s" : [ { - "r" : "1876", - "value" : [ "DateTime","(","2012",", ","9",", ","20",")" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "1888", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "SameOrAfter", - "signature" : [ { - "localId" : "1895", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1896", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "1897", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1898", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "1873", - "name" : "DateIvl", - "type" : "ExpressionRef", - "resultTypeSpecifier" : { - "localId" : "1874", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1875", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - }, { - "localId" : "1889", - "type" : "If", - "condition" : { - "localId" : "1890", - "type" : "IsNull", - "signature" : [ ], - "operand" : { - "localId" : "1884", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "1885", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1886", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1887", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1876", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "1877", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "9", - "type" : "Literal" - }, - "day" : { - "localId" : "1878", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "20", - "type" : "Literal" - } - } - }, - "then" : { - "localId" : "1891", - "type" : "Null", - "resultTypeSpecifier" : { - "localId" : "1892", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1893", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - }, - "else" : { - "localId" : "1894", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "low" : { - "localId" : "1884", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "1885", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1886", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1887", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1876", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "1877", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "9", - "type" : "Literal" - }, - "day" : { - "localId" : "1878", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "20", - "type" : "Literal" - } - }, - "high" : { - "localId" : "1884", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "1885", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1886", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1887", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1876", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "1877", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "9", - "type" : "Literal" - }, - "day" : { - "localId" : "1878", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "20", - "type" : "Literal" - } - } - } - } ] - } - }, { - "localId" : "1901", - "name" : "DateOnlyIvl", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "1901", - "s" : [ { - "value" : [ "","define ","DateOnlyIvl",": " ] - }, { - "r" : "1926", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "1910", - "s" : [ { - "r" : "1902", - "value" : [ "Date","(","2012",", ","1",", ","1",")" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "1922", - "s" : [ { - "r" : "1914", - "value" : [ "Date","(","2012",", ","2",", ","20",")" ] - } ] - }, { - "value" : [ "]" ] - } ] - } ] - } - } ], - "resultTypeSpecifier" : { - "localId" : "1929", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1930", - "name" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "NamedTypeSpecifier" - } - }, - "expression" : { - "localId" : "1926", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "1927", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1928", - "name" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "1910", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "Date", - "signature" : [ { - "localId" : "1911", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1912", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1913", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1902", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "1903", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "1904", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - } - }, - "high" : { - "localId" : "1922", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "Date", - "signature" : [ { - "localId" : "1923", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1924", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1925", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1914", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "1915", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal" - }, - "day" : { - "localId" : "1916", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "20", - "type" : "Literal" - } - } - } - }, { - "localId" : "1933", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "DateOnlyIvlBeforeDateIvl", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "1933", - "s" : [ { - "value" : [ "","define ","DateOnlyIvlBeforeDateIvl",": " ] - }, { - "r" : "1940", - "s" : [ { - "r" : "1934", - "s" : [ { - "value" : [ "DateOnlyIvl" ] - } ] - }, { - "r" : "1940", - "value" : [ " ","after or on"," " ] - }, { - "r" : "1937", - "s" : [ { - "value" : [ "DateIvl" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "1940", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "SameOrAfter", - "signature" : [ { - "localId" : "1952", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1953", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "1954", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1955", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "1941", - "type" : "Interval", - "low" : { - "localId" : "1944", - "type" : "ToDateTime", - "signature" : [ { - "localId" : "1945", - "name" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "1942", - "path" : "low", - "type" : "Property", - "source" : { - "localId" : "1934", - "name" : "DateOnlyIvl", - "type" : "ExpressionRef", - "resultTypeSpecifier" : { - "localId" : "1935", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1936", - "name" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "NamedTypeSpecifier" - } - } - } - } - }, - "lowClosedExpression" : { - "localId" : "1946", - "path" : "lowClosed", - "type" : "Property", - "source" : { - "localId" : "1934", - "name" : "DateOnlyIvl", - "type" : "ExpressionRef", - "resultTypeSpecifier" : { - "localId" : "1935", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1936", - "name" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "NamedTypeSpecifier" - } - } - } - }, - "high" : { - "localId" : "1949", - "type" : "ToDateTime", - "signature" : [ { - "localId" : "1950", - "name" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "1947", - "path" : "high", - "type" : "Property", - "source" : { - "localId" : "1934", - "name" : "DateOnlyIvl", - "type" : "ExpressionRef", - "resultTypeSpecifier" : { - "localId" : "1935", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1936", - "name" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "NamedTypeSpecifier" - } - } - } - } - }, - "highClosedExpression" : { - "localId" : "1951", - "path" : "highClosed", - "type" : "Property", - "source" : { - "localId" : "1934", - "name" : "DateOnlyIvl", - "type" : "ExpressionRef", - "resultTypeSpecifier" : { - "localId" : "1935", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1936", - "name" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "NamedTypeSpecifier" - } - } - } - } - }, { - "localId" : "1937", - "name" : "DateIvl", - "type" : "ExpressionRef", - "resultTypeSpecifier" : { - "localId" : "1938", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1939", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - } ] - } - }, { - "localId" : "1958", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "DateIvlAfterDateOnlyIvl", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "1958", - "s" : [ { - "value" : [ "","define ","DateIvlAfterDateOnlyIvl",": " ] - }, { - "r" : "1965", - "s" : [ { - "r" : "1959", - "s" : [ { - "value" : [ "DateIvl" ] - } ] - }, { - "r" : "1965", - "value" : [ " ","after or on"," " ] - }, { - "r" : "1962", - "s" : [ { - "value" : [ "DateOnlyIvl" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "1965", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "SameOrAfter", - "signature" : [ { - "localId" : "1977", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1978", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "1979", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1980", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "1959", - "name" : "DateIvl", - "type" : "ExpressionRef", - "resultTypeSpecifier" : { - "localId" : "1960", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1961", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - }, { - "localId" : "1966", - "type" : "Interval", - "low" : { - "localId" : "1969", - "type" : "ToDateTime", - "signature" : [ { - "localId" : "1970", - "name" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "1967", - "path" : "low", - "type" : "Property", - "source" : { - "localId" : "1962", - "name" : "DateOnlyIvl", - "type" : "ExpressionRef", - "resultTypeSpecifier" : { - "localId" : "1963", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1964", - "name" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "NamedTypeSpecifier" - } - } - } - } - }, - "lowClosedExpression" : { - "localId" : "1971", - "path" : "lowClosed", - "type" : "Property", - "source" : { - "localId" : "1962", - "name" : "DateOnlyIvl", - "type" : "ExpressionRef", - "resultTypeSpecifier" : { - "localId" : "1963", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1964", - "name" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "NamedTypeSpecifier" - } - } - } - }, - "high" : { - "localId" : "1974", - "type" : "ToDateTime", - "signature" : [ { - "localId" : "1975", - "name" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "1972", - "path" : "high", - "type" : "Property", - "source" : { - "localId" : "1962", - "name" : "DateOnlyIvl", - "type" : "ExpressionRef", - "resultTypeSpecifier" : { - "localId" : "1963", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1964", - "name" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "NamedTypeSpecifier" - } - } - } - } - }, - "highClosedExpression" : { - "localId" : "1976", - "path" : "highClosed", - "type" : "Property", - "source" : { - "localId" : "1962", - "name" : "DateOnlyIvl", - "type" : "ExpressionRef", - "resultTypeSpecifier" : { - "localId" : "1963", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1964", - "name" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "NamedTypeSpecifier" - } - } - } - } - } ] - } - }, { - "localId" : "1983", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "DateOnlyMeetsAfterDateIvl", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "1983", - "s" : [ { - "value" : [ "","define ","DateOnlyMeetsAfterDateIvl",": " ] - }, { - "r" : "2014", - "s" : [ { - "r" : "2008", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "1992", - "s" : [ { - "r" : "1984", - "value" : [ "Date","(","2012",", ","9",", ","1",")" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "2004", - "s" : [ { - "r" : "1996", - "value" : [ "Date","(","2012",", ","10",", ","1",")" ] - } ] - }, { - "value" : [ "]" ] - } ] - }, { - "r" : "2014", - "value" : [ " ","after or on"," " ] - }, { - "r" : "2011", - "s" : [ { - "value" : [ "DateIvl" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "2014", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "SameOrAfter", - "signature" : [ { - "localId" : "2026", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "2027", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "2028", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "2029", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "2015", - "type" : "Interval", - "low" : { - "localId" : "2018", - "type" : "ToDateTime", - "signature" : [ { - "localId" : "2019", - "name" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "2016", - "path" : "low", - "type" : "Property", - "source" : { - "localId" : "2008", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "2009", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "2010", - "name" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "1992", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "Date", - "signature" : [ { - "localId" : "1993", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1994", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1995", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1984", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "1985", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "9", - "type" : "Literal" - }, - "day" : { - "localId" : "1986", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - } - }, - "high" : { - "localId" : "2004", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "Date", - "signature" : [ { - "localId" : "2005", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2006", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2007", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1996", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "1997", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal" - }, - "day" : { - "localId" : "1998", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - } - } - } - } - }, - "lowClosedExpression" : { - "localId" : "2020", - "path" : "lowClosed", - "type" : "Property", - "source" : { - "localId" : "2008", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "2009", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "2010", - "name" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "1992", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "Date", - "signature" : [ { - "localId" : "1993", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1994", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1995", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1984", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "1985", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "9", - "type" : "Literal" - }, - "day" : { - "localId" : "1986", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - } - }, - "high" : { - "localId" : "2004", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "Date", - "signature" : [ { - "localId" : "2005", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2006", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2007", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1996", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "1997", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal" - }, - "day" : { - "localId" : "1998", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - } - } - } - }, - "high" : { - "localId" : "2023", - "type" : "ToDateTime", - "signature" : [ { - "localId" : "2024", - "name" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "2021", - "path" : "high", - "type" : "Property", - "source" : { - "localId" : "2008", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "2009", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "2010", - "name" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "1992", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "Date", - "signature" : [ { - "localId" : "1993", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1994", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1995", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1984", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "1985", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "9", - "type" : "Literal" - }, - "day" : { - "localId" : "1986", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - } - }, - "high" : { - "localId" : "2004", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "Date", - "signature" : [ { - "localId" : "2005", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2006", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2007", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1996", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "1997", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal" - }, - "day" : { - "localId" : "1998", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - } - } - } - } - }, - "highClosedExpression" : { - "localId" : "2025", - "path" : "highClosed", - "type" : "Property", - "source" : { - "localId" : "2008", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "2009", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "2010", - "name" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "1992", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "Date", - "signature" : [ { - "localId" : "1993", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1994", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1995", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1984", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "1985", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "9", - "type" : "Literal" - }, - "day" : { - "localId" : "1986", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - } - }, - "high" : { - "localId" : "2004", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "Date", - "signature" : [ { - "localId" : "2005", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2006", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2007", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1996", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "1997", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal" - }, - "day" : { - "localId" : "1998", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - } - } - } - } - }, { - "localId" : "2011", - "name" : "DateIvl", - "type" : "ExpressionRef", - "resultTypeSpecifier" : { - "localId" : "2012", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "2013", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - } ] - } - } ] - } - } -} - -/* Meets -library TestSnippet version '1' -using Simple version '1.0.0' -context Patient -define MeetsAfterIntIvl: Interval[11, 15] meets Interval[5, 10] -define MeetsBeforeIntIvl: Interval[1, 4] meets Interval[5, 10] -define NotMeetsIntIvl: Interval[1, 2] meets Interval[5, 10] -define MeetsAfterRealIvl: Interval[1.50000001, 2.5] meets Interval[0.5, 1.5] -define MeetsBeforeRealIvl: Interval[0.5, 1.5] meets Interval[1.50000001, 2.5] -define NotMeetsRealIvl: Interval[0.0, 1.0] meets Interval[1.1, 2.0] -define DateIvl: Interval[DateTime(2012, 3, 1, 0, 0, 0, 0), DateTime(2012, 9, 1, 0, 0, 0, 0)) -define MeetsAfterDateIvl: Interval[DateTime(2012, 9, 1, 0, 0, 0, 0), DateTime(2012, 12, 1, 0, 0, 0, 0)) meets DateIvl -define MeetsBeforeDateIvl: Interval[DateTime(2012, 1, 1, 0, 0, 0, 0), DateTime(2012, 3, 1, 0, 0, 0, 0)) meets DateIvl -define NotMeetsDateIvl: Interval[DateTime(2012, 1, 1, 0, 0, 0, 0), DateTime(2012, 2, 29, 0, 0, 0, 0)) meets DateIvl -define MayMeetAfterImpreciseDateIvl: DateIvl meets Interval[DateTime(2012, 1), DateTime(2012, 2)] -define MayMeetBeforeImpreciseDateIvl: DateIvl meets Interval[DateTime(2012, 9), DateTime(2012, 12)] -define NotMeetsImpreciseDateIvl: DateIvl meets Interval[DateTime(2012, 1), DateTime(2012, 12)] -define PrecisionDateIvl: Interval[DateTime(2012, 3, 2, 12, 34, 56, 789), DateTime(2012, 9, 2, 1, 23, 45, 678)) -define MeetsAfterDayOfIvl: PrecisionDateIvl meets day of Interval[DateTime(2012, 1, 2, 0, 0, 0, 0), DateTime(2012, 3, 1, 0, 0, 0, 0)] -define MeetsBeforeDayOfIvl: PrecisionDateIvl meets day of Interval[DateTime(2012, 9, 3, 0, 0, 0, 0), DateTime(2012, 12, 1, 0, 0, 0, 0)] -define NotMeetsDayOfIvl: PrecisionDateIvl meets day of Interval[DateTime(2012, 1, 2, 0, 0, 0, 0), DateTime(2012, 3, 2, 0, 0, 0, 0)] -define NotMeetsDayOfImpreciseIVL: PrecisionDateIvl meets day of Interval[DateTime(2012, 1), DateTime(2012, 2)] -define MayMeetAfterDayOfImpreciseIvl: PrecisionDateIvl meets day of Interval[DateTime(2012, 1), DateTime(2012, 3)] -define MayMeetBeforeDayOfImpreciseIvl: PrecisionDateIvl meets day of Interval[DateTime(2012, 9), DateTime(2012, 12)] -define ImpDateIvl: Interval[DateTime(2012, 3), DateTime(2012, 8)] -define ImpreciseMayMeetAfterDateIvl: ImpDateIvl meets Interval[DateTime(2012, 1, 1, 0, 0, 0, 0), DateTime(2012, 2, 29, 23, 59, 59, 999)] -define ImpreciseMayMeetBeforeDateIvl: ImpDateIvl meets Interval[DateTime(2012, 9, 1, 0, 0, 0, 0), DateTime(2012, 12, 31, 23, 59, 59, 999)] -define ImpreciseNotMeetsDateIvl: ImpDateIvl meets Interval[DateTime(2012, 1, 1, 0, 0, 0, 0), DateTime(2012, 12, 31, 23, 59, 59, 999)) -define NegInfBegMeetsBeforeIntIvl: Interval[null, 100] meets Interval[101, 200] -define NegInfBegNotMeetsIntIvl: Interval[null, 100] meets Interval[100, 200] -define IntIvlNotMeetsNegInfBeg: Interval[100, 200] meets Interval[null, 400] -define UnknownBegMeetsBeforeIntIvl: Interval(null, 100] meets Interval[101, 200] -define UnknownBegMayMeetAfterIntIvl: Interval(null, 100] meets Interval[0, 50] -define UnknownBegNotMeetsIntIvl: Interval(null, 5] meets Interval[0, 100] -define IntIvlMayMeetBeforeUnknownBeg: Interval[0, 100] meets Interval(null, 400) -define PosInfEndMeetsAfterIntIvl: Interval[100, null] meets Interval[0, 99] -define PosInfEndNotMeetsIntIvl: Interval[0, null] meets Interval[1000, 2000] -define IntIvlNotMeetsPosInfEnd: Interval[100, 200] meets Interval[0, null] -define UnknownEndMeetsAfterIntIvl: Interval[100, null) meets Interval[0, 99] -define UnknownEndMayMeetBeforeIntIvl: Interval[0, null) meets Interval[50, 100] -define UnknownEndNotMeetsIntIvl: Interval[0, null) meets Interval[0, 100] -define IntIvlMayMeetAfterUnknownEnd: Interval[0, 100] meets Interval[-100, null) -define NegInfBegMeetsBeforeDateIvl: Interval[null, DateTime(2013, 1, 1, 0, 0, 0, 0)) meets Interval[DateTime(2013, 1, 1, 0, 0, 0, 0), DateTime(2030, 1, 1, 0, 0, 0, 0)] -define NegInfBegNotMeetsDateIvl: Interval[null, DateTime(2013, 1, 1, 0, 0, 0, 0)) meets Interval[DateTime(2000, 1, 1, 0, 0, 0, 0), DateTime(2010, 1, 1, 0, 0, 0, 0)] -define DateIvlNotMeetsNegInfBeg: Interval[DateTime(2000, 1, 1, 0, 0, 0, 0), DateTime(2010, 1, 1, 0, 0, 0, 0)] meets Interval[null, DateTime(2013, 1, 1, 0, 0, 0, 0)) -define UnknownBegMeetsBeforeDateIvl: Interval(null, DateTime(2013, 1, 1, 0, 0, 0, 0)) meets Interval[DateTime(2013, 1, 1, 0, 0, 0, 0), DateTime(2030, 1, 1, 0, 0, 0, 0)] -define UnknownBegMayMeetAfterDateIvl: Interval(null, DateTime(2013, 1, 1, 0, 0, 0, 0)) meets Interval[DateTime(2000, 1, 1, 0, 0, 0, 0), DateTime(2010, 1, 1, 0, 0, 0, 0)] -define UnknownBegNotMeetsDateIvl: Interval(null, DateTime(2013, 1, 1, 0, 0, 0, 0)) meets Interval[DateTime(2000, 1, 1, 0, 0, 0, 0), DateTime(2020, 1, 1, 0, 0, 0, 0)] -define DateIvlMayMeetBeforeUnknownBeg: Interval[DateTime(2000, 1, 1, 0, 0, 0, 0), DateTime(2010, 1, 1, 0, 0, 0, 0)] meets Interval(null, DateTime(2013, 1, 1, 0, 0, 0, 0)) -define PosInfEndMeetsAfterDateIvl: Interval[DateTime(2013, 1, 1, 0, 0, 0, 0), null] meets Interval[DateTime(2000, 1, 1, 0, 0, 0, 0), DateTime(2013, 1, 1, 0, 0, 0, 0)) -define PosInfEndNotMeetsDateIvl: Interval[DateTime(2013, 1, 1, 0, 0, 0, 0), null] meets Interval[DateTime(2000, 1, 1, 0, 0, 0, 0), DateTime(2020, 1, 1, 0, 0, 0, 0)] -define DateIvlNotMeetsPosInfEnd: Interval[DateTime(2000, 1, 1, 0, 0, 0, 0), DateTime(2020, 1, 1, 0, 0, 0, 0)] meets Interval[DateTime(2013, 1, 1, 0, 0, 0, 0), null] -define UnknownEndMeetsAfterDateIvl: Interval[DateTime(2013, 1, 1, 0, 0, 0, 0), null) meets Interval[DateTime(2010, 1, 1, 0, 0, 0, 0), DateTime(2013, 1, 1, 0, 0, 0, 0)) -define UnknownEndMayMeetBeforeDateIvl: Interval[DateTime(2013, 1, 1, 0, 0, 0, 0), null) meets Interval[DateTime(2020, 1, 1, 0, 0, 0, 0), DateTime(2040, 1, 1, 0, 0, 0, 0)] -define UnknownEndNotMeetsDateIvl: Interval[DateTime(2013, 1, 1, 0, 0, 0, 0), null) meets Interval[DateTime(2000, 1, 1, 0, 0, 0, 0), DateTime(2013, 1, 1, 0, 0, 0, 0)] -define DateIvlMayMeetAfterUnknownEnd: Interval[DateTime(2020, 1, 1, 0, 0, 0, 0), DateTime(2040, 1, 1, 0, 0, 0, 0)] meets Interval[DateTime(2013, 1, 1, 0, 0, 0, 0), null) -*/ - -module.exports['Meets'] = { - "library" : { - "localId" : "0", - "annotation" : [ { - "translatorVersion" : "3.27.0", - "translatorOptions" : "EnableDateRangeOptimization,EnableAnnotations,EnableResultTypes", - "signatureLevel" : "All", - "type" : "CqlToElmInfo" - }, { - "type" : "Annotation", - "s" : { - "r" : "2622", - "s" : [ { - "value" : [ "","library TestSnippet version '1'" ] - } ] - } - } ], - "identifier" : { - "id" : "TestSnippet", - "version" : "1" - }, - "schemaIdentifier" : { - "id" : "urn:hl7-org:elm", - "version" : "r1" - }, - "usings" : { - "def" : [ { - "localId" : "1", - "localIdentifier" : "System", - "uri" : "urn:hl7-org:elm-types:r1" - }, { - "localId" : "206", - "localIdentifier" : "Simple", - "uri" : "https://github.com/cqframework/cql-execution/simple", - "version" : "1.0.0", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "206", - "s" : [ { - "value" : [ "","using " ] - }, { - "s" : [ { - "value" : [ "Simple" ] - } ] - }, { - "value" : [ " version '1.0.0'" ] - } ] - } - } ] - } ] - }, - "contexts" : { - "def" : [ { - "localId" : "211", - "name" : "Patient" - } ] - }, - "statements" : { - "def" : [ { - "localId" : "209", - "name" : "Patient", - "context" : "Patient", - "expression" : { - "localId" : "210", - "type" : "SingletonFrom", - "signature" : [ ], - "operand" : { - "localId" : "208", - "dataType" : "{https://github.com/cqframework/cql-execution/simple}Patient", - "type" : "Retrieve", - "include" : [ ], - "codeFilter" : [ ], - "dateFilter" : [ ], - "otherFilter" : [ ] - } - } - }, { - "localId" : "214", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "MeetsAfterIntIvl", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "214", - "s" : [ { - "value" : [ "","define ","MeetsAfterIntIvl",": " ] - }, { - "r" : "225", - "s" : [ { - "r" : "217", - "s" : [ { - "r" : "215", - "value" : [ "Interval[","11",", ","15","]" ] - } ] - }, { - "r" : "225", - "value" : [ " ","meets"," " ] - }, { - "r" : "222", - "s" : [ { - "r" : "220", - "value" : [ "Interval[","5",", ","10","]" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "225", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "Meets", - "signature" : [ { - "localId" : "226", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "227", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "228", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "229", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "217", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "218", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "219", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "215", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "11", - "type" : "Literal" - }, - "high" : { - "localId" : "216", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal" - } - }, { - "localId" : "222", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "223", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "224", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "220", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal" - }, - "high" : { - "localId" : "221", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal" - } - } ] - } - }, { - "localId" : "232", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "MeetsBeforeIntIvl", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "232", - "s" : [ { - "value" : [ "","define ","MeetsBeforeIntIvl",": " ] - }, { - "r" : "243", - "s" : [ { - "r" : "235", - "s" : [ { - "r" : "233", - "value" : [ "Interval[","1",", ","4","]" ] - } ] - }, { - "r" : "243", - "value" : [ " ","meets"," " ] - }, { - "r" : "240", - "s" : [ { - "r" : "238", - "value" : [ "Interval[","5",", ","10","]" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "243", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "Meets", - "signature" : [ { - "localId" : "244", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "245", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "246", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "247", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "235", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "236", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "237", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "233", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "high" : { - "localId" : "234", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "4", - "type" : "Literal" - } - }, { - "localId" : "240", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "241", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "242", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "238", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal" - }, - "high" : { - "localId" : "239", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal" - } - } ] - } - }, { - "localId" : "250", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "NotMeetsIntIvl", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "250", - "s" : [ { - "value" : [ "","define ","NotMeetsIntIvl",": " ] - }, { - "r" : "261", - "s" : [ { - "r" : "253", - "s" : [ { - "r" : "251", - "value" : [ "Interval[","1",", ","2","]" ] - } ] - }, { - "r" : "261", - "value" : [ " ","meets"," " ] - }, { - "r" : "258", - "s" : [ { - "r" : "256", - "value" : [ "Interval[","5",", ","10","]" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "261", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "Meets", - "signature" : [ { - "localId" : "262", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "263", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "264", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "265", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "253", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "254", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "255", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "251", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "high" : { - "localId" : "252", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal" - } - }, { - "localId" : "258", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "259", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "260", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "256", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal" - }, - "high" : { - "localId" : "257", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal" - } - } ] - } - }, { - "localId" : "268", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "MeetsAfterRealIvl", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "268", - "s" : [ { - "value" : [ "","define ","MeetsAfterRealIvl",": " ] - }, { - "r" : "279", - "s" : [ { - "r" : "271", - "s" : [ { - "r" : "269", - "value" : [ "Interval[","1.50000001",", ","2.5","]" ] - } ] - }, { - "r" : "279", - "value" : [ " ","meets"," " ] - }, { - "r" : "276", - "s" : [ { - "r" : "274", - "value" : [ "Interval[","0.5",", ","1.5","]" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "279", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "Meets", - "signature" : [ { - "localId" : "280", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "281", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "282", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "283", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "271", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "272", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "273", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "269", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "1.50000001", - "type" : "Literal" - }, - "high" : { - "localId" : "270", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "2.5", - "type" : "Literal" - } - }, { - "localId" : "276", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "277", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "278", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "274", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "0.5", - "type" : "Literal" - }, - "high" : { - "localId" : "275", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "1.5", - "type" : "Literal" - } - } ] - } - }, { - "localId" : "286", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "MeetsBeforeRealIvl", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "286", - "s" : [ { - "value" : [ "","define ","MeetsBeforeRealIvl",": " ] - }, { - "r" : "297", - "s" : [ { - "r" : "289", - "s" : [ { - "r" : "287", - "value" : [ "Interval[","0.5",", ","1.5","]" ] - } ] - }, { - "r" : "297", - "value" : [ " ","meets"," " ] - }, { - "r" : "294", - "s" : [ { - "r" : "292", - "value" : [ "Interval[","1.50000001",", ","2.5","]" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "297", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "Meets", - "signature" : [ { - "localId" : "298", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "299", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "300", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "301", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "289", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "290", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "291", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "287", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "0.5", - "type" : "Literal" - }, - "high" : { - "localId" : "288", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "1.5", - "type" : "Literal" - } - }, { - "localId" : "294", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "295", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "296", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "292", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "1.50000001", - "type" : "Literal" - }, - "high" : { - "localId" : "293", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "2.5", - "type" : "Literal" - } - } ] - } - }, { - "localId" : "304", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "NotMeetsRealIvl", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "304", - "s" : [ { - "value" : [ "","define ","NotMeetsRealIvl",": " ] - }, { - "r" : "315", - "s" : [ { - "r" : "307", - "s" : [ { - "r" : "305", - "value" : [ "Interval[","0.0",", ","1.0","]" ] - } ] - }, { - "r" : "315", - "value" : [ " ","meets"," " ] - }, { - "r" : "312", - "s" : [ { - "r" : "310", - "value" : [ "Interval[","1.1",", ","2.0","]" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "315", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "Meets", - "signature" : [ { - "localId" : "316", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "317", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "318", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "319", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "307", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "308", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "309", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "305", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "0.0", - "type" : "Literal" - }, - "high" : { - "localId" : "306", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "1.0", - "type" : "Literal" - } - }, { - "localId" : "312", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "313", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "314", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "310", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "1.1", - "type" : "Literal" - }, - "high" : { - "localId" : "311", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "2.0", - "type" : "Literal" - } - } ] - } - }, { - "localId" : "322", - "name" : "DateIvl", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "322", - "s" : [ { - "value" : [ "","define ","DateIvl",": " ] - }, { - "r" : "371", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "339", - "s" : [ { - "r" : "323", - "value" : [ "DateTime","(","2012",", ","3",", ","1",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "363", - "s" : [ { - "r" : "347", - "value" : [ "DateTime","(","2012",", ","9",", ","1",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ ")" ] - } ] - } ] - } - } ], - "resultTypeSpecifier" : { - "localId" : "374", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "375", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "expression" : { - "localId" : "371", - "lowClosed" : true, - "highClosed" : false, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "372", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "373", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "339", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "340", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "341", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "342", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "343", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "344", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "345", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "346", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "323", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "324", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "325", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "326", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "327", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "328", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "329", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - }, - "high" : { - "localId" : "363", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "364", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "365", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "366", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "367", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "368", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "369", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "370", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "347", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "348", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "9", - "type" : "Literal" - }, - "day" : { - "localId" : "349", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "350", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "351", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "352", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "353", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - } - } - }, { - "localId" : "378", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "MeetsAfterDateIvl", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "378", - "s" : [ { - "value" : [ "","define ","MeetsAfterDateIvl",": " ] - }, { - "r" : "433", - "s" : [ { - "r" : "427", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "395", - "s" : [ { - "r" : "379", - "value" : [ "DateTime","(","2012",", ","9",", ","1",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "419", - "s" : [ { - "r" : "403", - "value" : [ "DateTime","(","2012",", ","12",", ","1",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ ")" ] - } ] - }, { - "r" : "433", - "value" : [ " ","meets"," " ] - }, { - "r" : "430", - "s" : [ { - "value" : [ "DateIvl" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "433", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "Meets", - "signature" : [ { - "localId" : "434", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "435", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "436", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "437", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "427", - "lowClosed" : true, - "highClosed" : false, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "428", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "429", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "395", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "396", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "397", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "398", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "399", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "400", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "401", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "402", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "379", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "380", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "9", - "type" : "Literal" - }, - "day" : { - "localId" : "381", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "382", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "383", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "384", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "385", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - }, - "high" : { - "localId" : "419", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "420", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "421", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "422", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "423", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "424", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "425", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "426", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "403", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "404", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "12", - "type" : "Literal" - }, - "day" : { - "localId" : "405", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "406", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "407", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "408", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "409", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - } - }, { - "localId" : "430", - "name" : "DateIvl", - "type" : "ExpressionRef", - "resultTypeSpecifier" : { - "localId" : "431", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "432", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - } ] - } - }, { - "localId" : "440", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "MeetsBeforeDateIvl", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "440", - "s" : [ { - "value" : [ "","define ","MeetsBeforeDateIvl",": " ] - }, { - "r" : "495", - "s" : [ { - "r" : "489", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "457", - "s" : [ { - "r" : "441", - "value" : [ "DateTime","(","2012",", ","1",", ","1",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "481", - "s" : [ { - "r" : "465", - "value" : [ "DateTime","(","2012",", ","3",", ","1",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ ")" ] - } ] - }, { - "r" : "495", - "value" : [ " ","meets"," " ] - }, { - "r" : "492", - "s" : [ { - "value" : [ "DateIvl" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "495", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "Meets", - "signature" : [ { - "localId" : "496", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "497", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "498", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "499", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "489", - "lowClosed" : true, - "highClosed" : false, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "490", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "491", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "457", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "458", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "459", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "460", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "461", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "462", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "463", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "464", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "441", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "442", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "443", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "444", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "445", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "446", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "447", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - }, - "high" : { - "localId" : "481", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "482", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "483", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "484", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "485", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "486", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "487", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "488", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "465", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "466", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "467", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "468", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "469", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "470", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "471", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - } - }, { - "localId" : "492", - "name" : "DateIvl", - "type" : "ExpressionRef", - "resultTypeSpecifier" : { - "localId" : "493", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "494", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - } ] - } - }, { - "localId" : "502", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "NotMeetsDateIvl", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "502", - "s" : [ { - "value" : [ "","define ","NotMeetsDateIvl",": " ] - }, { - "r" : "557", - "s" : [ { - "r" : "551", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "519", - "s" : [ { - "r" : "503", - "value" : [ "DateTime","(","2012",", ","1",", ","1",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "543", - "s" : [ { - "r" : "527", - "value" : [ "DateTime","(","2012",", ","2",", ","29",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ ")" ] - } ] - }, { - "r" : "557", - "value" : [ " ","meets"," " ] - }, { - "r" : "554", - "s" : [ { - "value" : [ "DateIvl" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "557", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "Meets", - "signature" : [ { - "localId" : "558", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "559", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "560", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "561", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "551", - "lowClosed" : true, - "highClosed" : false, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "552", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "553", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "519", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "520", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "521", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "522", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "523", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "524", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "525", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "526", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "503", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "504", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "505", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "506", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "507", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "508", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "509", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - }, - "high" : { - "localId" : "543", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "544", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "545", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "546", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "547", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "548", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "549", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "550", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "527", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "528", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal" - }, - "day" : { - "localId" : "529", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "29", - "type" : "Literal" - }, - "hour" : { - "localId" : "530", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "531", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "532", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "533", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - } - }, { - "localId" : "554", - "name" : "DateIvl", - "type" : "ExpressionRef", - "resultTypeSpecifier" : { - "localId" : "555", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "556", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - } ] - } - }, { - "localId" : "564", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "MayMeetAfterImpreciseDateIvl", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "564", - "s" : [ { - "value" : [ "","define ","MayMeetAfterImpreciseDateIvl",": " ] - }, { - "r" : "589", - "s" : [ { - "r" : "565", - "s" : [ { - "value" : [ "DateIvl" ] - } ] - }, { - "r" : "589", - "value" : [ " ","meets"," " ] - }, { - "r" : "586", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "574", - "s" : [ { - "r" : "568", - "value" : [ "DateTime","(","2012",", ","1",")" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "583", - "s" : [ { - "r" : "577", - "value" : [ "DateTime","(","2012",", ","2",")" ] - } ] - }, { - "value" : [ "]" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "589", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "Meets", - "signature" : [ { - "localId" : "590", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "591", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "592", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "593", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "565", - "name" : "DateIvl", - "type" : "ExpressionRef", - "resultTypeSpecifier" : { - "localId" : "566", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "567", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - }, { - "localId" : "586", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "587", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "588", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "574", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "575", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "576", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "568", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "569", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - } - }, - "high" : { - "localId" : "583", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "584", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "585", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "577", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "578", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal" - } - } - } ] - } - }, { - "localId" : "596", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "MayMeetBeforeImpreciseDateIvl", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "596", - "s" : [ { - "value" : [ "","define ","MayMeetBeforeImpreciseDateIvl",": " ] - }, { - "r" : "621", - "s" : [ { - "r" : "597", - "s" : [ { - "value" : [ "DateIvl" ] - } ] - }, { - "r" : "621", - "value" : [ " ","meets"," " ] - }, { - "r" : "618", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "606", - "s" : [ { - "r" : "600", - "value" : [ "DateTime","(","2012",", ","9",")" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "615", - "s" : [ { - "r" : "609", - "value" : [ "DateTime","(","2012",", ","12",")" ] - } ] - }, { - "value" : [ "]" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "621", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "Meets", - "signature" : [ { - "localId" : "622", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "623", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "624", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "625", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "597", - "name" : "DateIvl", - "type" : "ExpressionRef", - "resultTypeSpecifier" : { - "localId" : "598", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "599", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - }, { - "localId" : "618", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "619", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "620", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "606", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "607", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "608", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "600", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "601", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "9", - "type" : "Literal" - } - }, - "high" : { - "localId" : "615", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "616", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "617", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "609", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "610", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "12", - "type" : "Literal" - } - } - } ] - } - }, { - "localId" : "628", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "NotMeetsImpreciseDateIvl", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "628", - "s" : [ { - "value" : [ "","define ","NotMeetsImpreciseDateIvl",": " ] - }, { - "r" : "653", - "s" : [ { - "r" : "629", - "s" : [ { - "value" : [ "DateIvl" ] - } ] - }, { - "r" : "653", - "value" : [ " ","meets"," " ] - }, { - "r" : "650", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "638", - "s" : [ { - "r" : "632", - "value" : [ "DateTime","(","2012",", ","1",")" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "647", - "s" : [ { - "r" : "641", - "value" : [ "DateTime","(","2012",", ","12",")" ] - } ] - }, { - "value" : [ "]" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "653", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "Meets", - "signature" : [ { - "localId" : "654", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "655", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "656", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "657", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "629", - "name" : "DateIvl", - "type" : "ExpressionRef", - "resultTypeSpecifier" : { - "localId" : "630", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "631", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - }, { - "localId" : "650", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "651", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "652", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "638", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "639", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "640", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "632", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "633", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - } - }, - "high" : { - "localId" : "647", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "648", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "649", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "641", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "642", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "12", - "type" : "Literal" - } - } - } ] - } - }, { - "localId" : "660", - "name" : "PrecisionDateIvl", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "660", - "s" : [ { - "value" : [ "","define ","PrecisionDateIvl",": " ] - }, { - "r" : "709", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "677", - "s" : [ { - "r" : "661", - "value" : [ "DateTime","(","2012",", ","3",", ","2",", ","12",", ","34",", ","56",", ","789",")" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "701", - "s" : [ { - "r" : "685", - "value" : [ "DateTime","(","2012",", ","9",", ","2",", ","1",", ","23",", ","45",", ","678",")" ] - } ] - }, { - "value" : [ ")" ] - } ] - } ] - } - } ], - "resultTypeSpecifier" : { - "localId" : "712", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "713", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "expression" : { - "localId" : "709", - "lowClosed" : true, - "highClosed" : false, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "710", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "711", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "677", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "678", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "679", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "680", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "681", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "682", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "683", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "684", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "661", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "662", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "663", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal" - }, - "hour" : { - "localId" : "664", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "12", - "type" : "Literal" - }, - "minute" : { - "localId" : "665", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "34", - "type" : "Literal" - }, - "second" : { - "localId" : "666", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "56", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "667", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "789", - "type" : "Literal" - } - }, - "high" : { - "localId" : "701", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "702", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "703", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "704", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "705", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "706", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "707", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "708", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "685", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "686", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "9", - "type" : "Literal" - }, - "day" : { - "localId" : "687", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal" - }, - "hour" : { - "localId" : "688", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "minute" : { - "localId" : "689", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "23", - "type" : "Literal" - }, - "second" : { - "localId" : "690", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "45", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "691", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "678", - "type" : "Literal" - } - } - } - }, { - "localId" : "716", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "MeetsAfterDayOfIvl", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "716", - "s" : [ { - "value" : [ "","define ","MeetsAfterDayOfIvl",": " ] - }, { - "r" : "771", - "s" : [ { - "r" : "717", - "s" : [ { - "value" : [ "PrecisionDateIvl" ] - } ] - }, { - "r" : "771", - "value" : [ " ","meets day of"," " ] - }, { - "r" : "768", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "736", - "s" : [ { - "r" : "720", - "value" : [ "DateTime","(","2012",", ","1",", ","2",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "760", - "s" : [ { - "r" : "744", - "value" : [ "DateTime","(","2012",", ","3",", ","1",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ "]" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "771", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "precision" : "Day", - "type" : "Meets", - "signature" : [ { - "localId" : "772", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "773", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "774", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "775", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "717", - "name" : "PrecisionDateIvl", - "type" : "ExpressionRef", - "resultTypeSpecifier" : { - "localId" : "718", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "719", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - }, { - "localId" : "768", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "769", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "770", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "736", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "737", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "738", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "739", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "740", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "741", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "742", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "743", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "720", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "721", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "722", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal" - }, - "hour" : { - "localId" : "723", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "724", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "725", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "726", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - }, - "high" : { - "localId" : "760", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "761", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "762", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "763", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "764", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "765", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "766", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "767", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "744", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "745", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "746", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "747", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "748", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "749", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "750", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - } - } ] - } - }, { - "localId" : "778", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "MeetsBeforeDayOfIvl", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "778", - "s" : [ { - "value" : [ "","define ","MeetsBeforeDayOfIvl",": " ] - }, { - "r" : "833", - "s" : [ { - "r" : "779", - "s" : [ { - "value" : [ "PrecisionDateIvl" ] - } ] - }, { - "r" : "833", - "value" : [ " ","meets day of"," " ] - }, { - "r" : "830", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "798", - "s" : [ { - "r" : "782", - "value" : [ "DateTime","(","2012",", ","9",", ","3",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "822", - "s" : [ { - "r" : "806", - "value" : [ "DateTime","(","2012",", ","12",", ","1",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ "]" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "833", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "precision" : "Day", - "type" : "Meets", - "signature" : [ { - "localId" : "834", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "835", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "836", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "837", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "779", - "name" : "PrecisionDateIvl", - "type" : "ExpressionRef", - "resultTypeSpecifier" : { - "localId" : "780", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "781", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - }, { - "localId" : "830", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "831", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "832", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "798", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "799", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "800", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "801", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "802", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "803", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "804", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "805", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "782", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "783", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "9", - "type" : "Literal" - }, - "day" : { - "localId" : "784", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "hour" : { - "localId" : "785", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "786", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "787", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "788", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - }, - "high" : { - "localId" : "822", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "823", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "824", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "825", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "826", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "827", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "828", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "829", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "806", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "807", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "12", - "type" : "Literal" - }, - "day" : { - "localId" : "808", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "809", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "810", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "811", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "812", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - } - } ] - } - }, { - "localId" : "840", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "NotMeetsDayOfIvl", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "840", - "s" : [ { - "value" : [ "","define ","NotMeetsDayOfIvl",": " ] - }, { - "r" : "895", - "s" : [ { - "r" : "841", - "s" : [ { - "value" : [ "PrecisionDateIvl" ] - } ] - }, { - "r" : "895", - "value" : [ " ","meets day of"," " ] - }, { - "r" : "892", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "860", - "s" : [ { - "r" : "844", - "value" : [ "DateTime","(","2012",", ","1",", ","2",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "884", - "s" : [ { - "r" : "868", - "value" : [ "DateTime","(","2012",", ","3",", ","2",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ "]" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "895", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "precision" : "Day", - "type" : "Meets", - "signature" : [ { - "localId" : "896", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "897", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "898", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "899", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "841", - "name" : "PrecisionDateIvl", - "type" : "ExpressionRef", - "resultTypeSpecifier" : { - "localId" : "842", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "843", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - }, { - "localId" : "892", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "893", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "894", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "860", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "861", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "862", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "863", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "864", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "865", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "866", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "867", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "844", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "845", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "846", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal" - }, - "hour" : { - "localId" : "847", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "848", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "849", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "850", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - }, - "high" : { - "localId" : "884", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "885", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "886", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "887", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "888", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "889", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "890", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "891", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "868", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "869", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "870", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal" - }, - "hour" : { - "localId" : "871", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "872", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "873", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "874", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - } - } ] - } - }, { - "localId" : "902", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "NotMeetsDayOfImpreciseIVL", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "902", - "s" : [ { - "value" : [ "","define ","NotMeetsDayOfImpreciseIVL",": " ] - }, { - "r" : "927", - "s" : [ { - "r" : "903", - "s" : [ { - "value" : [ "PrecisionDateIvl" ] - } ] - }, { - "r" : "927", - "value" : [ " ","meets day of"," " ] - }, { - "r" : "924", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "912", - "s" : [ { - "r" : "906", - "value" : [ "DateTime","(","2012",", ","1",")" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "921", - "s" : [ { - "r" : "915", - "value" : [ "DateTime","(","2012",", ","2",")" ] - } ] - }, { - "value" : [ "]" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "927", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "precision" : "Day", - "type" : "Meets", - "signature" : [ { - "localId" : "928", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "929", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "930", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "931", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "903", - "name" : "PrecisionDateIvl", - "type" : "ExpressionRef", - "resultTypeSpecifier" : { - "localId" : "904", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "905", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - }, { - "localId" : "924", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "925", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "926", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "912", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "913", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "914", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "906", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "907", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - } - }, - "high" : { - "localId" : "921", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "922", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "923", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "915", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "916", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal" - } - } - } ] - } - }, { - "localId" : "934", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "MayMeetAfterDayOfImpreciseIvl", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "934", - "s" : [ { - "value" : [ "","define ","MayMeetAfterDayOfImpreciseIvl",": " ] - }, { - "r" : "959", - "s" : [ { - "r" : "935", - "s" : [ { - "value" : [ "PrecisionDateIvl" ] - } ] - }, { - "r" : "959", - "value" : [ " ","meets day of"," " ] - }, { - "r" : "956", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "944", - "s" : [ { - "r" : "938", - "value" : [ "DateTime","(","2012",", ","1",")" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "953", - "s" : [ { - "r" : "947", - "value" : [ "DateTime","(","2012",", ","3",")" ] - } ] - }, { - "value" : [ "]" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "959", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "precision" : "Day", - "type" : "Meets", - "signature" : [ { - "localId" : "960", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "961", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "962", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "963", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "935", - "name" : "PrecisionDateIvl", - "type" : "ExpressionRef", - "resultTypeSpecifier" : { - "localId" : "936", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "937", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - }, { - "localId" : "956", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "957", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "958", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "944", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "945", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "946", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "938", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "939", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - } - }, - "high" : { - "localId" : "953", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "954", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "955", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "947", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "948", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - } - } - } ] - } - }, { - "localId" : "966", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "MayMeetBeforeDayOfImpreciseIvl", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "966", - "s" : [ { - "value" : [ "","define ","MayMeetBeforeDayOfImpreciseIvl",": " ] - }, { - "r" : "991", - "s" : [ { - "r" : "967", - "s" : [ { - "value" : [ "PrecisionDateIvl" ] - } ] - }, { - "r" : "991", - "value" : [ " ","meets day of"," " ] - }, { - "r" : "988", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "976", - "s" : [ { - "r" : "970", - "value" : [ "DateTime","(","2012",", ","9",")" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "985", - "s" : [ { - "r" : "979", - "value" : [ "DateTime","(","2012",", ","12",")" ] - } ] - }, { - "value" : [ "]" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "991", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "precision" : "Day", - "type" : "Meets", - "signature" : [ { - "localId" : "992", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "993", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "994", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "995", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "967", - "name" : "PrecisionDateIvl", - "type" : "ExpressionRef", - "resultTypeSpecifier" : { - "localId" : "968", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "969", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - }, { - "localId" : "988", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "989", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "990", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "976", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "977", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "978", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "970", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "971", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "9", - "type" : "Literal" - } - }, - "high" : { - "localId" : "985", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "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" - } ], - "year" : { - "localId" : "979", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "980", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "12", - "type" : "Literal" - } - } - } ] - } - }, { - "localId" : "998", - "name" : "ImpDateIvl", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "998", - "s" : [ { - "value" : [ "","define ","ImpDateIvl",": " ] - }, { - "r" : "1017", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "1005", - "s" : [ { - "r" : "999", - "value" : [ "DateTime","(","2012",", ","3",")" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "1014", - "s" : [ { - "r" : "1008", - "value" : [ "DateTime","(","2012",", ","8",")" ] - } ] - }, { - "value" : [ "]" ] - } ] - } ] - } - } ], - "resultTypeSpecifier" : { - "localId" : "1020", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1021", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "expression" : { - "localId" : "1017", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "1018", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1019", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "1005", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "1006", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1007", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "999", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "1000", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - } - }, - "high" : { - "localId" : "1014", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "1015", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1016", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1008", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "1009", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "8", - "type" : "Literal" - } - } - } - }, { - "localId" : "1024", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "ImpreciseMayMeetAfterDateIvl", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "1024", - "s" : [ { - "value" : [ "","define ","ImpreciseMayMeetAfterDateIvl",": " ] - }, { - "r" : "1079", - "s" : [ { - "r" : "1025", - "s" : [ { - "value" : [ "ImpDateIvl" ] - } ] - }, { - "r" : "1079", - "value" : [ " ","meets"," " ] - }, { - "r" : "1076", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "1044", - "s" : [ { - "r" : "1028", - "value" : [ "DateTime","(","2012",", ","1",", ","1",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "1068", - "s" : [ { - "r" : "1052", - "value" : [ "DateTime","(","2012",", ","2",", ","29",", ","23",", ","59",", ","59",", ","999",")" ] - } ] - }, { - "value" : [ "]" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "1079", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "Meets", - "signature" : [ { - "localId" : "1080", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1081", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "1082", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1083", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "1025", - "name" : "ImpDateIvl", - "type" : "ExpressionRef", - "resultTypeSpecifier" : { - "localId" : "1026", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1027", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - }, { - "localId" : "1076", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "1077", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1078", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "1044", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "1045", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1046", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1047", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1048", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1049", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1050", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1051", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1028", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "1029", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "1030", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "1031", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "1032", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "1033", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "1034", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - }, - "high" : { - "localId" : "1068", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "1069", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1070", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1071", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1072", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1073", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1074", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1075", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1052", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "1053", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal" - }, - "day" : { - "localId" : "1054", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "29", - "type" : "Literal" - }, - "hour" : { - "localId" : "1055", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "23", - "type" : "Literal" - }, - "minute" : { - "localId" : "1056", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal" - }, - "second" : { - "localId" : "1057", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "1058", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "999", - "type" : "Literal" - } - } - } ] - } - }, { - "localId" : "1086", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "ImpreciseMayMeetBeforeDateIvl", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "1086", - "s" : [ { - "value" : [ "","define ","ImpreciseMayMeetBeforeDateIvl",": " ] - }, { - "r" : "1141", - "s" : [ { - "r" : "1087", - "s" : [ { - "value" : [ "ImpDateIvl" ] - } ] - }, { - "r" : "1141", - "value" : [ " ","meets"," " ] - }, { - "r" : "1138", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "1106", - "s" : [ { - "r" : "1090", - "value" : [ "DateTime","(","2012",", ","9",", ","1",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "1130", - "s" : [ { - "r" : "1114", - "value" : [ "DateTime","(","2012",", ","12",", ","31",", ","23",", ","59",", ","59",", ","999",")" ] - } ] - }, { - "value" : [ "]" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "1141", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "Meets", - "signature" : [ { - "localId" : "1142", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1143", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "1144", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1145", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "1087", - "name" : "ImpDateIvl", - "type" : "ExpressionRef", - "resultTypeSpecifier" : { - "localId" : "1088", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1089", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - }, { - "localId" : "1138", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "1139", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1140", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "1106", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "1107", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1108", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1109", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1110", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1111", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1112", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1113", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1090", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "1091", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "9", - "type" : "Literal" - }, - "day" : { - "localId" : "1092", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "1093", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "1094", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "1095", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "1096", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - }, - "high" : { - "localId" : "1130", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "1131", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1132", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1133", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1134", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1135", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1136", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1137", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1114", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "1115", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "12", - "type" : "Literal" - }, - "day" : { - "localId" : "1116", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "31", - "type" : "Literal" - }, - "hour" : { - "localId" : "1117", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "23", - "type" : "Literal" - }, - "minute" : { - "localId" : "1118", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal" - }, - "second" : { - "localId" : "1119", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "1120", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "999", - "type" : "Literal" - } - } - } ] - } - }, { - "localId" : "1148", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "ImpreciseNotMeetsDateIvl", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "1148", - "s" : [ { - "value" : [ "","define ","ImpreciseNotMeetsDateIvl",": " ] - }, { - "r" : "1203", - "s" : [ { - "r" : "1149", - "s" : [ { - "value" : [ "ImpDateIvl" ] - } ] - }, { - "r" : "1203", - "value" : [ " ","meets"," " ] - }, { - "r" : "1200", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "1168", - "s" : [ { - "r" : "1152", - "value" : [ "DateTime","(","2012",", ","1",", ","1",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "1192", - "s" : [ { - "r" : "1176", - "value" : [ "DateTime","(","2012",", ","12",", ","31",", ","23",", ","59",", ","59",", ","999",")" ] - } ] - }, { - "value" : [ ")" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "1203", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "Meets", - "signature" : [ { - "localId" : "1204", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1205", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "1206", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1207", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "1149", - "name" : "ImpDateIvl", - "type" : "ExpressionRef", - "resultTypeSpecifier" : { - "localId" : "1150", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1151", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - }, { - "localId" : "1200", - "lowClosed" : true, - "highClosed" : false, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "1201", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1202", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "1168", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "1169", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1170", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1171", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1172", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1173", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1174", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1175", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1152", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "1153", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "1154", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "1155", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "1156", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "1157", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "1158", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - }, - "high" : { - "localId" : "1192", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "1193", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1194", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1195", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1196", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1197", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1198", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1199", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1176", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "1177", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "12", - "type" : "Literal" - }, - "day" : { - "localId" : "1178", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "31", - "type" : "Literal" - }, - "hour" : { - "localId" : "1179", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "23", - "type" : "Literal" - }, - "minute" : { - "localId" : "1180", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal" - }, - "second" : { - "localId" : "1181", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "1182", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "999", - "type" : "Literal" - } - } - } ] - } - }, { - "localId" : "1210", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "NegInfBegMeetsBeforeIntIvl", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "1210", - "s" : [ { - "value" : [ "","define ","NegInfBegMeetsBeforeIntIvl",": " ] - }, { - "r" : "1222", - "s" : [ { - "r" : "1213", - "s" : [ { - "r" : "1211", - "value" : [ "Interval[","null",", ","100","]" ] - } ] - }, { - "r" : "1222", - "value" : [ " ","meets"," " ] - }, { - "r" : "1219", - "s" : [ { - "r" : "1217", - "value" : [ "Interval[","101",", ","200","]" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "1222", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "Meets", - "signature" : [ { - "localId" : "1223", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1224", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "1225", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1226", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "1213", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "1215", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1216", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "1214", - "asType" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "As", - "signature" : [ ], - "operand" : { - "localId" : "1211", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - } - }, - "high" : { - "localId" : "1212", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "100", - "type" : "Literal" - } - }, { - "localId" : "1219", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "1220", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1221", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "1217", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "101", - "type" : "Literal" - }, - "high" : { - "localId" : "1218", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "200", - "type" : "Literal" - } - } ] - } - }, { - "localId" : "1229", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "NegInfBegNotMeetsIntIvl", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "1229", - "s" : [ { - "value" : [ "","define ","NegInfBegNotMeetsIntIvl",": " ] - }, { - "r" : "1241", - "s" : [ { - "r" : "1232", - "s" : [ { - "r" : "1230", - "value" : [ "Interval[","null",", ","100","]" ] - } ] - }, { - "r" : "1241", - "value" : [ " ","meets"," " ] - }, { - "r" : "1238", - "s" : [ { - "r" : "1236", - "value" : [ "Interval[","100",", ","200","]" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "1241", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "Meets", - "signature" : [ { - "localId" : "1242", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1243", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "1244", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1245", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "1232", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "1234", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1235", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "1233", - "asType" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "As", - "signature" : [ ], - "operand" : { - "localId" : "1230", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - } - }, - "high" : { - "localId" : "1231", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "100", - "type" : "Literal" - } - }, { - "localId" : "1238", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "1239", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1240", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "1236", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "100", - "type" : "Literal" - }, - "high" : { - "localId" : "1237", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "200", - "type" : "Literal" - } - } ] - } - }, { - "localId" : "1248", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "IntIvlNotMeetsNegInfBeg", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "1248", - "s" : [ { - "value" : [ "","define ","IntIvlNotMeetsNegInfBeg",": " ] - }, { - "r" : "1260", - "s" : [ { - "r" : "1251", - "s" : [ { - "r" : "1249", - "value" : [ "Interval[","100",", ","200","]" ] - } ] - }, { - "r" : "1260", - "value" : [ " ","meets"," " ] - }, { - "r" : "1256", - "s" : [ { - "r" : "1254", - "value" : [ "Interval[","null",", ","400","]" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "1260", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "Meets", - "signature" : [ { - "localId" : "1261", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1262", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "1263", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1264", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "1251", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "1252", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1253", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "1249", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "100", - "type" : "Literal" - }, - "high" : { - "localId" : "1250", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "200", - "type" : "Literal" - } - }, { - "localId" : "1256", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "1258", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1259", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "1257", - "asType" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "As", - "signature" : [ ], - "operand" : { - "localId" : "1254", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - } - }, - "high" : { - "localId" : "1255", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "400", - "type" : "Literal" - } - } ] - } - }, { - "localId" : "1267", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "UnknownBegMeetsBeforeIntIvl", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "1267", - "s" : [ { - "value" : [ "","define ","UnknownBegMeetsBeforeIntIvl",": " ] - }, { - "r" : "1279", - "s" : [ { - "r" : "1270", - "s" : [ { - "r" : "1268", - "value" : [ "Interval(","null",", ","100","]" ] - } ] - }, { - "r" : "1279", - "value" : [ " ","meets"," " ] - }, { - "r" : "1276", - "s" : [ { - "r" : "1274", - "value" : [ "Interval[","101",", ","200","]" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "1279", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "Meets", - "signature" : [ { - "localId" : "1280", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1281", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "1282", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1283", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "1270", - "lowClosed" : false, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "1272", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1273", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "1271", - "asType" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "As", - "signature" : [ ], - "operand" : { - "localId" : "1268", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - } - }, - "high" : { - "localId" : "1269", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "100", - "type" : "Literal" - } - }, { - "localId" : "1276", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "1277", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1278", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "1274", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "101", - "type" : "Literal" - }, - "high" : { - "localId" : "1275", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "200", - "type" : "Literal" - } - } ] - } - }, { - "localId" : "1286", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "UnknownBegMayMeetAfterIntIvl", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "1286", - "s" : [ { - "value" : [ "","define ","UnknownBegMayMeetAfterIntIvl",": " ] - }, { - "r" : "1298", - "s" : [ { - "r" : "1289", - "s" : [ { - "r" : "1287", - "value" : [ "Interval(","null",", ","100","]" ] - } ] - }, { - "r" : "1298", - "value" : [ " ","meets"," " ] - }, { - "r" : "1295", - "s" : [ { - "r" : "1293", - "value" : [ "Interval[","0",", ","50","]" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "1298", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "Meets", - "signature" : [ { - "localId" : "1299", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1300", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "1301", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1302", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "1289", - "lowClosed" : false, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "1291", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1292", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "1290", - "asType" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "As", - "signature" : [ ], - "operand" : { - "localId" : "1287", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - } - }, - "high" : { - "localId" : "1288", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "100", - "type" : "Literal" - } - }, { - "localId" : "1295", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "1296", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1297", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "1293", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "high" : { - "localId" : "1294", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "50", - "type" : "Literal" - } - } ] - } - }, { - "localId" : "1305", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "UnknownBegNotMeetsIntIvl", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "1305", - "s" : [ { - "value" : [ "","define ","UnknownBegNotMeetsIntIvl",": " ] - }, { - "r" : "1317", - "s" : [ { - "r" : "1308", - "s" : [ { - "r" : "1306", - "value" : [ "Interval(","null",", ","5","]" ] - } ] - }, { - "r" : "1317", - "value" : [ " ","meets"," " ] - }, { - "r" : "1314", - "s" : [ { - "r" : "1312", - "value" : [ "Interval[","0",", ","100","]" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "1317", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "Meets", - "signature" : [ { - "localId" : "1318", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1319", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "1320", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1321", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "1308", - "lowClosed" : false, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "1310", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1311", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "1309", - "asType" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "As", - "signature" : [ ], - "operand" : { - "localId" : "1306", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - } - }, - "high" : { - "localId" : "1307", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal" - } - }, { - "localId" : "1314", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "1315", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1316", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "1312", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "high" : { - "localId" : "1313", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "100", - "type" : "Literal" - } - } ] - } - }, { - "localId" : "1324", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "IntIvlMayMeetBeforeUnknownBeg", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "1324", - "s" : [ { - "value" : [ "","define ","IntIvlMayMeetBeforeUnknownBeg",": " ] - }, { - "r" : "1336", - "s" : [ { - "r" : "1327", - "s" : [ { - "r" : "1325", - "value" : [ "Interval[","0",", ","100","]" ] - } ] - }, { - "r" : "1336", - "value" : [ " ","meets"," " ] - }, { - "r" : "1332", - "s" : [ { - "r" : "1330", - "value" : [ "Interval(","null",", ","400",")" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "1336", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "Meets", - "signature" : [ { - "localId" : "1337", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1338", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "1339", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1340", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "1327", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "1328", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1329", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "1325", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "high" : { - "localId" : "1326", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "100", - "type" : "Literal" - } - }, { - "localId" : "1332", - "lowClosed" : false, - "highClosed" : false, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "1334", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1335", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "1333", - "asType" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "As", - "signature" : [ ], - "operand" : { - "localId" : "1330", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - } - }, - "high" : { - "localId" : "1331", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "400", - "type" : "Literal" - } - } ] - } - }, { - "localId" : "1343", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "PosInfEndMeetsAfterIntIvl", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "1343", - "s" : [ { - "value" : [ "","define ","PosInfEndMeetsAfterIntIvl",": " ] - }, { - "r" : "1355", - "s" : [ { - "r" : "1346", - "s" : [ { - "r" : "1344", - "value" : [ "Interval[","100",", ","null","]" ] - } ] - }, { - "r" : "1355", - "value" : [ " ","meets"," " ] - }, { - "r" : "1352", - "s" : [ { - "r" : "1350", - "value" : [ "Interval[","0",", ","99","]" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "1355", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "Meets", - "signature" : [ { - "localId" : "1356", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1357", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "1358", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1359", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "1346", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "1348", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1349", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "1344", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "100", - "type" : "Literal" - }, - "high" : { - "localId" : "1347", - "asType" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "As", - "signature" : [ ], - "operand" : { - "localId" : "1345", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - } - } - }, { - "localId" : "1352", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "1353", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1354", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "1350", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "high" : { - "localId" : "1351", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "99", - "type" : "Literal" - } - } ] - } - }, { - "localId" : "1362", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "PosInfEndNotMeetsIntIvl", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "1362", - "s" : [ { - "value" : [ "","define ","PosInfEndNotMeetsIntIvl",": " ] - }, { - "r" : "1374", - "s" : [ { - "r" : "1365", - "s" : [ { - "r" : "1363", - "value" : [ "Interval[","0",", ","null","]" ] - } ] - }, { - "r" : "1374", - "value" : [ " ","meets"," " ] - }, { - "r" : "1371", - "s" : [ { - "r" : "1369", - "value" : [ "Interval[","1000",", ","2000","]" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "1374", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "Meets", - "signature" : [ { - "localId" : "1375", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1376", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "1377", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1378", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "1365", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "1367", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1368", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "1363", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "high" : { - "localId" : "1366", - "asType" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "As", - "signature" : [ ], - "operand" : { - "localId" : "1364", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - } - } - }, { - "localId" : "1371", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "1372", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1373", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "1369", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1000", - "type" : "Literal" - }, - "high" : { - "localId" : "1370", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - } - } ] - } - }, { - "localId" : "1381", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "IntIvlNotMeetsPosInfEnd", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "1381", - "s" : [ { - "value" : [ "","define ","IntIvlNotMeetsPosInfEnd",": " ] - }, { - "r" : "1393", - "s" : [ { - "r" : "1384", - "s" : [ { - "r" : "1382", - "value" : [ "Interval[","100",", ","200","]" ] - } ] - }, { - "r" : "1393", - "value" : [ " ","meets"," " ] - }, { - "r" : "1389", - "s" : [ { - "r" : "1387", - "value" : [ "Interval[","0",", ","null","]" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "1393", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "Meets", - "signature" : [ { - "localId" : "1394", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1395", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "1396", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1397", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "1384", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "1385", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1386", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "1382", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "100", - "type" : "Literal" - }, - "high" : { - "localId" : "1383", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "200", - "type" : "Literal" - } - }, { - "localId" : "1389", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "1391", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1392", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "1387", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "high" : { - "localId" : "1390", - "asType" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "As", - "signature" : [ ], - "operand" : { - "localId" : "1388", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - } - } - } ] - } - }, { - "localId" : "1400", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "UnknownEndMeetsAfterIntIvl", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "1400", - "s" : [ { - "value" : [ "","define ","UnknownEndMeetsAfterIntIvl",": " ] - }, { - "r" : "1412", - "s" : [ { - "r" : "1403", - "s" : [ { - "r" : "1401", - "value" : [ "Interval[","100",", ","null",")" ] - } ] - }, { - "r" : "1412", - "value" : [ " ","meets"," " ] - }, { - "r" : "1409", - "s" : [ { - "r" : "1407", - "value" : [ "Interval[","0",", ","99","]" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "1412", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "Meets", - "signature" : [ { - "localId" : "1413", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1414", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "1415", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1416", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "1403", - "lowClosed" : true, - "highClosed" : false, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "1405", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1406", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "1401", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "100", - "type" : "Literal" - }, - "high" : { - "localId" : "1404", - "asType" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "As", - "signature" : [ ], - "operand" : { - "localId" : "1402", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - } - } - }, { - "localId" : "1409", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "1410", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1411", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "1407", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "high" : { - "localId" : "1408", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "99", - "type" : "Literal" - } - } ] - } - }, { - "localId" : "1419", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "UnknownEndMayMeetBeforeIntIvl", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "1419", - "s" : [ { - "value" : [ "","define ","UnknownEndMayMeetBeforeIntIvl",": " ] - }, { - "r" : "1431", - "s" : [ { - "r" : "1422", - "s" : [ { - "r" : "1420", - "value" : [ "Interval[","0",", ","null",")" ] - } ] - }, { - "r" : "1431", - "value" : [ " ","meets"," " ] - }, { - "r" : "1428", - "s" : [ { - "r" : "1426", - "value" : [ "Interval[","50",", ","100","]" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "1431", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "Meets", - "signature" : [ { - "localId" : "1432", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1433", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "1434", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1435", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "1422", - "lowClosed" : true, - "highClosed" : false, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "1424", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1425", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "1420", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "high" : { - "localId" : "1423", - "asType" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "As", - "signature" : [ ], - "operand" : { - "localId" : "1421", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - } - } - }, { - "localId" : "1428", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "1429", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1430", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "1426", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "50", - "type" : "Literal" - }, - "high" : { - "localId" : "1427", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "100", - "type" : "Literal" - } - } ] - } - }, { - "localId" : "1438", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "UnknownEndNotMeetsIntIvl", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "1438", - "s" : [ { - "value" : [ "","define ","UnknownEndNotMeetsIntIvl",": " ] - }, { - "r" : "1450", - "s" : [ { - "r" : "1441", - "s" : [ { - "r" : "1439", - "value" : [ "Interval[","0",", ","null",")" ] - } ] - }, { - "r" : "1450", - "value" : [ " ","meets"," " ] - }, { - "r" : "1447", - "s" : [ { - "r" : "1445", - "value" : [ "Interval[","0",", ","100","]" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "1450", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "Meets", - "signature" : [ { - "localId" : "1451", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1452", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "1453", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1454", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "1441", - "lowClosed" : true, - "highClosed" : false, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "1443", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1444", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "1439", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "high" : { - "localId" : "1442", - "asType" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "As", - "signature" : [ ], - "operand" : { - "localId" : "1440", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - } - } - }, { - "localId" : "1447", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "1448", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1449", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "1445", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "high" : { - "localId" : "1446", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "100", - "type" : "Literal" - } - } ] - } - }, { - "localId" : "1457", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "IntIvlMayMeetAfterUnknownEnd", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "1457", - "s" : [ { - "value" : [ "","define ","IntIvlMayMeetAfterUnknownEnd",": " ] - }, { - "r" : "1471", - "s" : [ { - "r" : "1460", - "s" : [ { - "r" : "1458", - "value" : [ "Interval[","0",", ","100","]" ] - } ] - }, { - "r" : "1471", - "value" : [ " ","meets"," " ] - }, { - "r" : "1467", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "1463", - "s" : [ { - "r" : "1464", - "value" : [ "-","100" ] - } ] - }, { - "r" : "1466", - "value" : [ ", ","null",")" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "1471", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "Meets", - "signature" : [ { - "localId" : "1472", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1473", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "1474", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1475", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "1460", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "1461", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1462", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "1458", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "high" : { - "localId" : "1459", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "100", - "type" : "Literal" - } - }, { - "localId" : "1467", - "lowClosed" : true, - "highClosed" : false, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "1469", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1470", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "1463", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "Negate", - "signature" : [ { - "localId" : "1465", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "1464", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "100", - "type" : "Literal" - } - }, - "high" : { - "localId" : "1468", - "asType" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "As", - "signature" : [ ], - "operand" : { - "localId" : "1466", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - } - } - } ] - } - }, { - "localId" : "1478", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "NegInfBegMeetsBeforeDateIvl", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "1478", - "s" : [ { - "value" : [ "","define ","NegInfBegMeetsBeforeDateIvl",": " ] - }, { - "r" : "1559", - "s" : [ { - "r" : "1504", - "s" : [ { - "r" : "1479", - "value" : [ "Interval[","null",", " ] - }, { - "r" : "1496", - "s" : [ { - "r" : "1480", - "value" : [ "DateTime","(","2013",", ","1",", ","1",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ ")" ] - } ] - }, { - "r" : "1559", - "value" : [ " ","meets"," " ] - }, { - "r" : "1556", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "1524", - "s" : [ { - "r" : "1508", - "value" : [ "DateTime","(","2013",", ","1",", ","1",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "1548", - "s" : [ { - "r" : "1532", - "value" : [ "DateTime","(","2030",", ","1",", ","1",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ "]" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "1559", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "Meets", - "signature" : [ { - "localId" : "1560", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1561", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "1562", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1563", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "1504", - "lowClosed" : true, - "highClosed" : false, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "1506", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1507", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "1505", - "asType" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "As", - "signature" : [ ], - "operand" : { - "localId" : "1479", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - } - }, - "high" : { - "localId" : "1496", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "1497", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1498", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1499", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1500", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1501", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1502", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1503", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1480", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2013", - "type" : "Literal" - }, - "month" : { - "localId" : "1481", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "1482", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "1483", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "1484", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "1485", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "1486", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - } - }, { - "localId" : "1556", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "1557", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1558", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "1524", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "1525", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1526", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1527", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1528", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1529", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1530", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1531", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1508", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2013", - "type" : "Literal" - }, - "month" : { - "localId" : "1509", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "1510", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "1511", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "1512", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "1513", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "1514", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - }, - "high" : { - "localId" : "1548", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "1549", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1550", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1551", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1552", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1553", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1554", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1555", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1532", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2030", - "type" : "Literal" - }, - "month" : { - "localId" : "1533", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "1534", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "1535", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "1536", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "1537", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "1538", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - } - } ] - } - }, { - "localId" : "1566", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "NegInfBegNotMeetsDateIvl", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "1566", - "s" : [ { - "value" : [ "","define ","NegInfBegNotMeetsDateIvl",": " ] - }, { - "r" : "1647", - "s" : [ { - "r" : "1592", - "s" : [ { - "r" : "1567", - "value" : [ "Interval[","null",", " ] - }, { - "r" : "1584", - "s" : [ { - "r" : "1568", - "value" : [ "DateTime","(","2013",", ","1",", ","1",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ ")" ] - } ] - }, { - "r" : "1647", - "value" : [ " ","meets"," " ] - }, { - "r" : "1644", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "1612", - "s" : [ { - "r" : "1596", - "value" : [ "DateTime","(","2000",", ","1",", ","1",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "1636", - "s" : [ { - "r" : "1620", - "value" : [ "DateTime","(","2010",", ","1",", ","1",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ "]" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "1647", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "Meets", - "signature" : [ { - "localId" : "1648", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1649", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "1650", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1651", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "1592", - "lowClosed" : true, - "highClosed" : false, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "1594", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1595", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "1593", - "asType" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "As", - "signature" : [ ], - "operand" : { - "localId" : "1567", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - } - }, - "high" : { - "localId" : "1584", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "1585", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1586", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1587", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1588", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1589", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1590", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1591", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1568", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2013", - "type" : "Literal" - }, - "month" : { - "localId" : "1569", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "1570", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "1571", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "1572", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "1573", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "1574", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - } - }, { - "localId" : "1644", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "1645", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1646", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "1612", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "1613", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1614", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1615", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1616", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1617", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1618", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1619", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1596", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "1597", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "1598", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "1599", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "1600", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "1601", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "1602", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - }, - "high" : { - "localId" : "1636", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "1637", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1638", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1639", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1640", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1641", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1642", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1643", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1620", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2010", - "type" : "Literal" - }, - "month" : { - "localId" : "1621", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "1622", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "1623", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "1624", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "1625", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "1626", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - } - } ] - } - }, { - "localId" : "1654", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "DateIvlNotMeetsNegInfBeg", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "1654", - "s" : [ { - "value" : [ "","define ","DateIvlNotMeetsNegInfBeg",": " ] - }, { - "r" : "1735", - "s" : [ { - "r" : "1703", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "1671", - "s" : [ { - "r" : "1655", - "value" : [ "DateTime","(","2000",", ","1",", ","1",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "1695", - "s" : [ { - "r" : "1679", - "value" : [ "DateTime","(","2010",", ","1",", ","1",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ "]" ] - } ] - }, { - "r" : "1735", - "value" : [ " ","meets"," " ] - }, { - "r" : "1731", - "s" : [ { - "r" : "1706", - "value" : [ "Interval[","null",", " ] - }, { - "r" : "1723", - "s" : [ { - "r" : "1707", - "value" : [ "DateTime","(","2013",", ","1",", ","1",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ ")" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "1735", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "Meets", - "signature" : [ { - "localId" : "1736", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1737", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "1738", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1739", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "1703", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "1704", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1705", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "1671", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "1672", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1673", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1674", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1675", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1676", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1677", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1678", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1655", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "1656", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "1657", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "1658", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "1659", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "1660", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "1661", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - }, - "high" : { - "localId" : "1695", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "1696", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1697", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1698", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1699", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1700", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1701", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1702", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1679", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2010", - "type" : "Literal" - }, - "month" : { - "localId" : "1680", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "1681", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "1682", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "1683", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "1684", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "1685", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - } - }, { - "localId" : "1731", - "lowClosed" : true, - "highClosed" : false, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "1733", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1734", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "1732", - "asType" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "As", - "signature" : [ ], - "operand" : { - "localId" : "1706", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - } - }, - "high" : { - "localId" : "1723", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "1724", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1725", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1726", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1727", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1728", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1729", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1730", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1707", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2013", - "type" : "Literal" - }, - "month" : { - "localId" : "1708", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "1709", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "1710", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "1711", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "1712", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "1713", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - } - } ] - } - }, { - "localId" : "1742", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "UnknownBegMeetsBeforeDateIvl", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "1742", - "s" : [ { - "value" : [ "","define ","UnknownBegMeetsBeforeDateIvl",": " ] - }, { - "r" : "1823", - "s" : [ { - "r" : "1768", - "s" : [ { - "r" : "1743", - "value" : [ "Interval(","null",", " ] - }, { - "r" : "1760", - "s" : [ { - "r" : "1744", - "value" : [ "DateTime","(","2013",", ","1",", ","1",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ ")" ] - } ] - }, { - "r" : "1823", - "value" : [ " ","meets"," " ] - }, { - "r" : "1820", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "1788", - "s" : [ { - "r" : "1772", - "value" : [ "DateTime","(","2013",", ","1",", ","1",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "1812", - "s" : [ { - "r" : "1796", - "value" : [ "DateTime","(","2030",", ","1",", ","1",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ "]" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "1823", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "Meets", - "signature" : [ { - "localId" : "1824", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1825", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "1826", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1827", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "1768", - "lowClosed" : false, - "highClosed" : false, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "1770", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1771", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "1769", - "asType" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "As", - "signature" : [ ], - "operand" : { - "localId" : "1743", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - } - }, - "high" : { - "localId" : "1760", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "1761", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1762", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1763", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1764", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1765", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1766", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1767", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1744", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2013", - "type" : "Literal" - }, - "month" : { - "localId" : "1745", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "1746", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "1747", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "1748", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "1749", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "1750", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - } - }, { - "localId" : "1820", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "1821", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1822", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "1788", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "1789", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1790", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1791", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1792", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1793", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1794", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1795", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1772", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2013", - "type" : "Literal" - }, - "month" : { - "localId" : "1773", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "1774", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "1775", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "1776", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "1777", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "1778", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - }, - "high" : { - "localId" : "1812", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "1813", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1814", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1815", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1816", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1817", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1818", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1819", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1796", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2030", - "type" : "Literal" - }, - "month" : { - "localId" : "1797", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "1798", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "1799", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "1800", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "1801", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "1802", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - } - } ] - } - }, { - "localId" : "1830", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "UnknownBegMayMeetAfterDateIvl", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "1830", - "s" : [ { - "value" : [ "","define ","UnknownBegMayMeetAfterDateIvl",": " ] - }, { - "r" : "1911", - "s" : [ { - "r" : "1856", - "s" : [ { - "r" : "1831", - "value" : [ "Interval(","null",", " ] - }, { - "r" : "1848", - "s" : [ { - "r" : "1832", - "value" : [ "DateTime","(","2013",", ","1",", ","1",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ ")" ] - } ] - }, { - "r" : "1911", - "value" : [ " ","meets"," " ] - }, { - "r" : "1908", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "1876", - "s" : [ { - "r" : "1860", - "value" : [ "DateTime","(","2000",", ","1",", ","1",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "1900", - "s" : [ { - "r" : "1884", - "value" : [ "DateTime","(","2010",", ","1",", ","1",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ "]" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "1911", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "Meets", - "signature" : [ { - "localId" : "1912", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1913", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "1914", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1915", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "1856", - "lowClosed" : false, - "highClosed" : false, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "1858", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1859", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "1857", - "asType" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "As", - "signature" : [ ], - "operand" : { - "localId" : "1831", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - } - }, - "high" : { - "localId" : "1848", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "1849", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1850", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1851", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1852", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1853", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1854", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1855", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1832", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2013", - "type" : "Literal" - }, - "month" : { - "localId" : "1833", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "1834", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "1835", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "1836", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "1837", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "1838", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - } - }, { - "localId" : "1908", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "1909", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1910", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "1876", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "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" - }, { - "localId" : "1879", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1880", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1881", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1882", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1883", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1860", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "1861", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "1862", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "1863", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "1864", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "1865", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "1866", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - }, - "high" : { - "localId" : "1900", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "1901", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1902", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1903", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1904", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1905", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1906", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1907", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1884", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2010", - "type" : "Literal" - }, - "month" : { - "localId" : "1885", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "1886", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "1887", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "1888", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "1889", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "1890", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - } - } ] - } - }, { - "localId" : "1918", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "UnknownBegNotMeetsDateIvl", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "1918", - "s" : [ { - "value" : [ "","define ","UnknownBegNotMeetsDateIvl",": " ] - }, { - "r" : "1999", - "s" : [ { - "r" : "1944", - "s" : [ { - "r" : "1919", - "value" : [ "Interval(","null",", " ] - }, { - "r" : "1936", - "s" : [ { - "r" : "1920", - "value" : [ "DateTime","(","2013",", ","1",", ","1",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ ")" ] - } ] - }, { - "r" : "1999", - "value" : [ " ","meets"," " ] - }, { - "r" : "1996", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "1964", - "s" : [ { - "r" : "1948", - "value" : [ "DateTime","(","2000",", ","1",", ","1",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "1988", - "s" : [ { - "r" : "1972", - "value" : [ "DateTime","(","2020",", ","1",", ","1",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ "]" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "1999", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "Meets", - "signature" : [ { - "localId" : "2000", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "2001", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "2002", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "2003", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "1944", - "lowClosed" : false, - "highClosed" : false, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "1946", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1947", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "1945", - "asType" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "As", - "signature" : [ ], - "operand" : { - "localId" : "1919", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - } - }, - "high" : { - "localId" : "1936", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "1937", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1938", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1939", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1940", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1941", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1942", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1943", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1920", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2013", - "type" : "Literal" - }, - "month" : { - "localId" : "1921", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "1922", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "1923", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "1924", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "1925", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "1926", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - } - }, { - "localId" : "1996", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "1997", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1998", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "1964", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "1965", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1966", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1967", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1968", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1969", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1970", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1971", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1948", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "1949", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "1950", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "1951", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "1952", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "1953", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "1954", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - }, - "high" : { - "localId" : "1988", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "1989", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1990", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1991", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1992", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1993", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1994", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1995", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1972", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2020", - "type" : "Literal" - }, - "month" : { - "localId" : "1973", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "1974", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "1975", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "1976", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "1977", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "1978", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - } - } ] - } - }, { - "localId" : "2006", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "DateIvlMayMeetBeforeUnknownBeg", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "2006", - "s" : [ { - "value" : [ "","define ","DateIvlMayMeetBeforeUnknownBeg",": " ] - }, { - "r" : "2087", - "s" : [ { - "r" : "2055", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "2023", - "s" : [ { - "r" : "2007", - "value" : [ "DateTime","(","2000",", ","1",", ","1",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "2047", - "s" : [ { - "r" : "2031", - "value" : [ "DateTime","(","2010",", ","1",", ","1",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ "]" ] - } ] - }, { - "r" : "2087", - "value" : [ " ","meets"," " ] - }, { - "r" : "2083", - "s" : [ { - "r" : "2058", - "value" : [ "Interval(","null",", " ] - }, { - "r" : "2075", - "s" : [ { - "r" : "2059", - "value" : [ "DateTime","(","2013",", ","1",", ","1",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ ")" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "2087", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "Meets", - "signature" : [ { - "localId" : "2088", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "2089", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "2090", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "2091", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "2055", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "2056", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "2057", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "2023", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "2024", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2025", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2026", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2027", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2028", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2029", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2030", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "2007", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "2008", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "2009", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "2010", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "2011", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "2012", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "2013", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - }, - "high" : { - "localId" : "2047", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "2048", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2049", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2050", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2051", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2052", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2053", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2054", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "2031", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2010", - "type" : "Literal" - }, - "month" : { - "localId" : "2032", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "2033", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "2034", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "2035", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "2036", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "2037", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - } - }, { - "localId" : "2083", - "lowClosed" : false, - "highClosed" : false, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "2085", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "2086", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "2084", - "asType" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "As", - "signature" : [ ], - "operand" : { - "localId" : "2058", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - } - }, - "high" : { - "localId" : "2075", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "2076", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2077", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2078", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2079", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2080", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2081", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2082", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "2059", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2013", - "type" : "Literal" - }, - "month" : { - "localId" : "2060", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "2061", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "2062", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "2063", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "2064", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "2065", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - } - } ] - } - }, { - "localId" : "2094", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "PosInfEndMeetsAfterDateIvl", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "2094", - "s" : [ { - "value" : [ "","define ","PosInfEndMeetsAfterDateIvl",": " ] - }, { - "r" : "2175", - "s" : [ { - "r" : "2120", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "2111", - "s" : [ { - "r" : "2095", - "value" : [ "DateTime","(","2013",", ","1",", ","1",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "r" : "2119", - "value" : [ ", ","null","]" ] - } ] - }, { - "r" : "2175", - "value" : [ " ","meets"," " ] - }, { - "r" : "2172", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "2140", - "s" : [ { - "r" : "2124", - "value" : [ "DateTime","(","2000",", ","1",", ","1",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "2164", - "s" : [ { - "r" : "2148", - "value" : [ "DateTime","(","2013",", ","1",", ","1",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ ")" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "2175", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "Meets", - "signature" : [ { - "localId" : "2176", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "2177", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "2178", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "2179", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "2120", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "2122", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "2123", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "2111", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "2112", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2113", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2114", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2115", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2116", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2117", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2118", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "2095", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2013", - "type" : "Literal" - }, - "month" : { - "localId" : "2096", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "2097", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "2098", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "2099", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "2100", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "2101", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - }, - "high" : { - "localId" : "2121", - "asType" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "As", - "signature" : [ ], - "operand" : { - "localId" : "2119", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - } - } - }, { - "localId" : "2172", - "lowClosed" : true, - "highClosed" : false, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "2173", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "2174", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "2140", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "2141", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2142", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2143", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2144", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2145", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2146", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2147", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "2124", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "2125", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "2126", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "2127", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "2128", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "2129", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "2130", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - }, - "high" : { - "localId" : "2164", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "2165", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2166", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2167", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2168", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2169", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2170", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2171", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "2148", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2013", - "type" : "Literal" - }, - "month" : { - "localId" : "2149", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "2150", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "2151", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "2152", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "2153", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "2154", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - } - } ] - } - }, { - "localId" : "2182", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "PosInfEndNotMeetsDateIvl", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "2182", - "s" : [ { - "value" : [ "","define ","PosInfEndNotMeetsDateIvl",": " ] - }, { - "r" : "2263", - "s" : [ { - "r" : "2208", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "2199", - "s" : [ { - "r" : "2183", - "value" : [ "DateTime","(","2013",", ","1",", ","1",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "r" : "2207", - "value" : [ ", ","null","]" ] - } ] - }, { - "r" : "2263", - "value" : [ " ","meets"," " ] - }, { - "r" : "2260", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "2228", - "s" : [ { - "r" : "2212", - "value" : [ "DateTime","(","2000",", ","1",", ","1",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "2252", - "s" : [ { - "r" : "2236", - "value" : [ "DateTime","(","2020",", ","1",", ","1",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ "]" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "2263", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "Meets", - "signature" : [ { - "localId" : "2264", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "2265", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "2266", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "2267", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "2208", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "2210", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "2211", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "2199", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "2200", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2201", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2202", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2203", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2204", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2205", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2206", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "2183", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2013", - "type" : "Literal" - }, - "month" : { - "localId" : "2184", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "2185", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "2186", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "2187", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "2188", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "2189", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - }, - "high" : { - "localId" : "2209", - "asType" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "As", - "signature" : [ ], - "operand" : { - "localId" : "2207", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - } - } - }, { - "localId" : "2260", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "2261", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "2262", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "2228", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "2229", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2230", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2231", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2232", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2233", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2234", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2235", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "2212", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "2213", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "2214", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "2215", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "2216", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "2217", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "2218", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - }, - "high" : { - "localId" : "2252", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "2253", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2254", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2255", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2256", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2257", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2258", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2259", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "2236", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2020", - "type" : "Literal" - }, - "month" : { - "localId" : "2237", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "2238", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "2239", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "2240", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "2241", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "2242", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - } - } ] - } - }, { - "localId" : "2270", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "DateIvlNotMeetsPosInfEnd", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "2270", - "s" : [ { - "value" : [ "","define ","DateIvlNotMeetsPosInfEnd",": " ] - }, { - "r" : "2351", - "s" : [ { - "r" : "2319", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "2287", - "s" : [ { - "r" : "2271", - "value" : [ "DateTime","(","2000",", ","1",", ","1",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "2311", - "s" : [ { - "r" : "2295", - "value" : [ "DateTime","(","2020",", ","1",", ","1",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ "]" ] - } ] - }, { - "r" : "2351", - "value" : [ " ","meets"," " ] - }, { - "r" : "2347", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "2338", - "s" : [ { - "r" : "2322", - "value" : [ "DateTime","(","2013",", ","1",", ","1",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "r" : "2346", - "value" : [ ", ","null","]" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "2351", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "Meets", - "signature" : [ { - "localId" : "2352", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "2353", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "2354", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "2355", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "2319", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "2320", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "2321", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "2287", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "2288", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2289", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2290", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2291", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2292", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2293", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2294", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "2271", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "2272", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "2273", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "2274", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "2275", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "2276", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "2277", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - }, - "high" : { - "localId" : "2311", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "2312", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2313", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2314", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2315", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2316", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2317", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2318", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "2295", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2020", - "type" : "Literal" - }, - "month" : { - "localId" : "2296", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "2297", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "2298", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "2299", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "2300", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "2301", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - } - }, { - "localId" : "2347", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "2349", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "2350", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "2338", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "2339", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2340", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2341", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2342", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2343", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2344", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2345", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "2322", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2013", - "type" : "Literal" - }, - "month" : { - "localId" : "2323", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "2324", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "2325", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "2326", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "2327", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "2328", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - }, - "high" : { - "localId" : "2348", - "asType" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "As", - "signature" : [ ], - "operand" : { - "localId" : "2346", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - } - } - } ] - } - }, { - "localId" : "2358", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "UnknownEndMeetsAfterDateIvl", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "2358", - "s" : [ { - "value" : [ "","define ","UnknownEndMeetsAfterDateIvl",": " ] - }, { - "r" : "2439", - "s" : [ { - "r" : "2384", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "2375", - "s" : [ { - "r" : "2359", - "value" : [ "DateTime","(","2013",", ","1",", ","1",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "r" : "2383", - "value" : [ ", ","null",")" ] - } ] - }, { - "r" : "2439", - "value" : [ " ","meets"," " ] - }, { - "r" : "2436", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "2404", - "s" : [ { - "r" : "2388", - "value" : [ "DateTime","(","2010",", ","1",", ","1",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "2428", - "s" : [ { - "r" : "2412", - "value" : [ "DateTime","(","2013",", ","1",", ","1",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ ")" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "2439", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "Meets", - "signature" : [ { - "localId" : "2440", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "2441", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "2442", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "2443", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "2384", - "lowClosed" : true, - "highClosed" : false, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "2386", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "2387", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "2375", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "2376", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2377", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2378", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2379", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2380", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2381", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2382", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "2359", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2013", - "type" : "Literal" - }, - "month" : { - "localId" : "2360", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "2361", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "2362", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "2363", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "2364", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "2365", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - }, - "high" : { - "localId" : "2385", - "asType" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "As", - "signature" : [ ], - "operand" : { - "localId" : "2383", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - } - } - }, { - "localId" : "2436", - "lowClosed" : true, - "highClosed" : false, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "2437", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "2438", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "2404", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "2405", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2406", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2407", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2408", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2409", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2410", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2411", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "2388", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2010", - "type" : "Literal" - }, - "month" : { - "localId" : "2389", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "2390", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "2391", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "2392", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "2393", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "2394", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - }, - "high" : { - "localId" : "2428", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "2429", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2430", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2431", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2432", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2433", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2434", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2435", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "2412", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2013", - "type" : "Literal" - }, - "month" : { - "localId" : "2413", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "2414", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "2415", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "2416", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "2417", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "2418", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - } - } ] - } - }, { - "localId" : "2446", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "UnknownEndMayMeetBeforeDateIvl", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "2446", - "s" : [ { - "value" : [ "","define ","UnknownEndMayMeetBeforeDateIvl",": " ] - }, { - "r" : "2527", - "s" : [ { - "r" : "2472", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "2463", - "s" : [ { - "r" : "2447", - "value" : [ "DateTime","(","2013",", ","1",", ","1",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "r" : "2471", - "value" : [ ", ","null",")" ] - } ] - }, { - "r" : "2527", - "value" : [ " ","meets"," " ] - }, { - "r" : "2524", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "2492", - "s" : [ { - "r" : "2476", - "value" : [ "DateTime","(","2020",", ","1",", ","1",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "2516", - "s" : [ { - "r" : "2500", - "value" : [ "DateTime","(","2040",", ","1",", ","1",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ "]" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "2527", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "Meets", - "signature" : [ { - "localId" : "2528", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "2529", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "2530", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "2531", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "2472", - "lowClosed" : true, - "highClosed" : false, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "2474", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "2475", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "2463", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "2464", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2465", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2466", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2467", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2468", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2469", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2470", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "2447", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2013", - "type" : "Literal" - }, - "month" : { - "localId" : "2448", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "2449", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "2450", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "2451", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "2452", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "2453", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - }, - "high" : { - "localId" : "2473", - "asType" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "As", - "signature" : [ ], - "operand" : { - "localId" : "2471", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - } - } - }, { - "localId" : "2524", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "2525", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "2526", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "2492", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "2493", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2494", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2495", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2496", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2497", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2498", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2499", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "2476", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2020", - "type" : "Literal" - }, - "month" : { - "localId" : "2477", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "2478", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "2479", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "2480", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "2481", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "2482", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - }, - "high" : { - "localId" : "2516", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "2517", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2518", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2519", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2520", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2521", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2522", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2523", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "2500", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2040", - "type" : "Literal" - }, - "month" : { - "localId" : "2501", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "2502", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "2503", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "2504", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "2505", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "2506", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - } - } ] - } - }, { - "localId" : "2534", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "UnknownEndNotMeetsDateIvl", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "2534", - "s" : [ { - "value" : [ "","define ","UnknownEndNotMeetsDateIvl",": " ] - }, { - "r" : "2615", - "s" : [ { - "r" : "2560", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "2551", - "s" : [ { - "r" : "2535", - "value" : [ "DateTime","(","2013",", ","1",", ","1",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "r" : "2559", - "value" : [ ", ","null",")" ] - } ] - }, { - "r" : "2615", - "value" : [ " ","meets"," " ] - }, { - "r" : "2612", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "2580", - "s" : [ { - "r" : "2564", - "value" : [ "DateTime","(","2000",", ","1",", ","1",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "2604", - "s" : [ { - "r" : "2588", - "value" : [ "DateTime","(","2013",", ","1",", ","1",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ "]" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "2615", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "Meets", - "signature" : [ { - "localId" : "2616", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "2617", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "2618", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "2619", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "2560", - "lowClosed" : true, - "highClosed" : false, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "2562", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "2563", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "2551", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "2552", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2553", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2554", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2555", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2556", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2557", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2558", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "2535", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2013", - "type" : "Literal" - }, - "month" : { - "localId" : "2536", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "2537", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "2538", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "2539", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "2540", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "2541", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - }, - "high" : { - "localId" : "2561", - "asType" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "As", - "signature" : [ ], - "operand" : { - "localId" : "2559", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - } - } - }, { - "localId" : "2612", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "2613", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "2614", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "2580", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "2581", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2582", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2583", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2584", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2585", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2586", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2587", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "2564", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "2565", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "2566", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "2567", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "2568", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "2569", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "2570", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - }, - "high" : { - "localId" : "2604", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "2605", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2606", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2607", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2608", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2609", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2610", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2611", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "2588", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2013", - "type" : "Literal" - }, - "month" : { - "localId" : "2589", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "2590", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "2591", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "2592", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "2593", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "2594", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - } - } ] - } - }, { - "localId" : "2622", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "DateIvlMayMeetAfterUnknownEnd", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "2622", - "s" : [ { - "value" : [ "","define ","DateIvlMayMeetAfterUnknownEnd",": " ] - }, { - "r" : "2703", - "s" : [ { - "r" : "2671", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "2639", - "s" : [ { - "r" : "2623", - "value" : [ "DateTime","(","2020",", ","1",", ","1",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "2663", - "s" : [ { - "r" : "2647", - "value" : [ "DateTime","(","2040",", ","1",", ","1",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ "]" ] - } ] - }, { - "r" : "2703", - "value" : [ " ","meets"," " ] - }, { - "r" : "2699", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "2690", - "s" : [ { - "r" : "2674", - "value" : [ "DateTime","(","2013",", ","1",", ","1",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "r" : "2698", - "value" : [ ", ","null",")" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "2703", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "Meets", - "signature" : [ { - "localId" : "2704", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "2705", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "2706", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "2707", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "2671", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "2672", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "2673", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "2639", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "2640", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2641", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2642", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2643", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2644", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2645", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2646", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "2623", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2020", - "type" : "Literal" - }, - "month" : { - "localId" : "2624", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "2625", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "2626", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "2627", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "2628", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "2629", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - }, - "high" : { - "localId" : "2663", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "2664", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2665", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2666", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2667", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2668", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2669", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2670", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "2647", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2040", - "type" : "Literal" - }, - "month" : { - "localId" : "2648", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "2649", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "2650", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "2651", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "2652", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "2653", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - } - }, { - "localId" : "2699", - "lowClosed" : true, - "highClosed" : false, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "2701", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "2702", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "2690", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "2691", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2692", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2693", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2694", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2695", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2696", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2697", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "2674", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2013", - "type" : "Literal" - }, - "month" : { - "localId" : "2675", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "2676", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "2677", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "2678", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "2679", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "2680", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - }, - "high" : { - "localId" : "2700", - "asType" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "As", - "signature" : [ ], - "operand" : { - "localId" : "2698", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - } - } - } ] - } - } ] - } - } -} - -/* MeetsAfter -library TestSnippet version '1' -using Simple version '1.0.0' -context Patient -define MeetsAfterIntIvl: Interval[11, 15] meets after Interval[5, 10] -define MeetsBeforeIntIvl: Interval[1, 4] meets after Interval[5, 10] -define NotMeetsIntIvl: Interval[1, 2] meets after Interval[5, 10] -define MeetsAfterRealIvl: Interval[1.50000001, 2.5] meets after Interval[0.5, 1.5] -define MeetsBeforeRealIvl: Interval[0.5, 1.5] meets after Interval[1.50000001, 2.5] -define NotMeetsRealIvl: Interval[0.0, 1.0] meets after Interval[1.1, 2.0] -define DateIvl: Interval[DateTime(2012, 3, 1, 0, 0, 0, 0), DateTime(2012, 9, 1, 0, 0, 0, 0)) -define MeetsAfterDateIvl: Interval[DateTime(2012, 9, 1, 0, 0, 0, 0), DateTime(2012, 12, 1, 0, 0, 0, 0)) meets after DateIvl -define MeetsBeforeDateIvl: Interval[DateTime(2012, 1, 1, 0, 0, 0, 0), DateTime(2012, 3, 1, 0, 0, 0, 0)) meets after DateIvl -define NotMeetsDateIvl: Interval[DateTime(2012, 1, 1, 0, 0, 0, 0), DateTime(2012, 2, 29, 0, 0, 0, 0)) meets after DateIvl -define MayMeetAfterImpreciseDateIvl: DateIvl meets after Interval[DateTime(2012, 1), DateTime(2012, 2)] -define MayMeetBeforeImpreciseDateIvl: DateIvl meets after Interval[DateTime(2012, 9), DateTime(2012, 12)] -define NotMeetsImpreciseDateIvl: DateIvl meets after Interval[DateTime(2012, 1), DateTime(2012, 12)] -define PrecisionDateIvl: Interval[DateTime(2012, 3, 2, 12, 34, 56, 789), DateTime(2012, 9, 2, 1, 23, 45, 678)) -define MeetsAfterDayOfIvl: PrecisionDateIvl meets after day of Interval[DateTime(2012, 1, 2, 0, 0, 0, 0), DateTime(2012, 3, 1, 0, 0, 0, 0)] -define MeetsBeforeDayOfIvl: PrecisionDateIvl meets after day of Interval[DateTime(2012, 9, 3, 0, 0, 0, 0), DateTime(2012, 12, 1, 0, 0, 0, 0)] -define NotMeetsDayOfIvl: PrecisionDateIvl meets after day of Interval[DateTime(2012, 1, 2, 0, 0, 0, 0), DateTime(2012, 3, 2, 0, 0, 0, 0)] -define NotMeetsDayOfImpreciseIVL: PrecisionDateIvl meets after day of Interval[DateTime(2012, 1), DateTime(2012, 2)] -define MayMeetAfterDayOfImpreciseIvl: PrecisionDateIvl meets after day of Interval[DateTime(2012, 1), DateTime(2012, 3)] -define MayMeetBeforeDayOfImpreciseIvl: PrecisionDateIvl meets after day of Interval[DateTime(2012, 9), DateTime(2012, 12)] -define ImpDateIvl: Interval[DateTime(2012, 3), DateTime(2012, 8)] -define ImpreciseMayMeetAfterDateIvl: ImpDateIvl meets after Interval[DateTime(2012, 1, 1, 0, 0, 0, 0), DateTime(2012, 2, 29, 23, 59, 59, 999)] -define ImpreciseMayMeetBeforeDateIvl: ImpDateIvl meets after Interval[DateTime(2012, 9, 1, 0, 0, 0, 0), DateTime(2012, 12, 31, 23, 59, 59, 999)] -define ImpreciseNotMeetsDateIvl: ImpDateIvl meets after Interval[DateTime(2012, 1, 1, 0, 0, 0, 0), DateTime(2012, 12, 31, 23, 59, 59, 999)) -define NegInfBegMeetsBeforeIntIvl: Interval[null, 100] meets after Interval[101, 200] -define NegInfBegNotMeetsIntIvl: Interval[null, 100] meets after Interval[100, 200] -define IntIvlNotMeetsNegInfBeg: Interval[100, 200] meets after Interval[null, 400] -define UnknownBegMeetsBeforeIntIvl: Interval(null, 100] meets after Interval[101, 200] -define UnknownBegMayMeetAfterIntIvl: Interval(null, 100] meets after Interval[0, 50] -define UnknownBegNotMeetsIntIvl: Interval(null, 5] meets after Interval[0, 100] -define IntIvlMayMeetBeforeUnknownBeg: Interval[0, 100] meets after Interval(null, 400) -define PosInfEndMeetsAfterIntIvl: Interval[100, null] meets after Interval[0, 99] -define PosInfEndNotMeetsIntIvl: Interval[0, null] meets after Interval[1000, 2000] -define IntIvlNotMeetsPosInfEnd: Interval[100, 200] meets after Interval[0, null] -define UnknownEndMeetsAfterIntIvl: Interval[100, null) meets after Interval[0, 99] -define UnknownEndMayMeetBeforeIntIvl: Interval[0, null) meets after Interval[50, 100] -define UnknownEndNotMeetsIntIvl: Interval[0, null) meets after Interval[0, 100] -define IntIvlMayMeetAfterUnknownEnd: Interval[0, 100] meets after Interval[-100, null) -define NegInfBegMeetsBeforeDateIvl: Interval[null, DateTime(2013, 1, 1, 0, 0, 0, 0)) meets after Interval[DateTime(2013, 1, 1, 0, 0, 0, 0), DateTime(2030, 1, 1, 0, 0, 0, 0)] -define NegInfBegNotMeetsDateIvl: Interval[null, DateTime(2013, 1, 1, 0, 0, 0, 0)) meets after Interval[DateTime(2000, 1, 1, 0, 0, 0, 0), DateTime(2010, 1, 1, 0, 0, 0, 0)] -define DateIvlNotMeetsNegInfBeg: Interval[DateTime(2000, 1, 1, 0, 0, 0, 0), DateTime(2010, 1, 1, 0, 0, 0, 0)] meets after Interval[null, DateTime(2013, 1, 1, 0, 0, 0, 0)) -define UnknownBegMeetsBeforeDateIvl: Interval(null, DateTime(2013, 1, 1, 0, 0, 0, 0)) meets after Interval[DateTime(2013, 1, 1, 0, 0, 0, 0), DateTime(2030, 1, 1, 0, 0, 0, 0)] -define UnknownBegMayMeetAfterDateIvl: Interval(null, DateTime(2013, 1, 1, 0, 0, 0, 0)) meets after Interval[DateTime(2000, 1, 1, 0, 0, 0, 0), DateTime(2010, 1, 1, 0, 0, 0, 0)] -define UnknownBegNotMeetsDateIvl: Interval(null, DateTime(2013, 1, 1, 0, 0, 0, 0)) meets after Interval[DateTime(2000, 1, 1, 0, 0, 0, 0), DateTime(2020, 1, 1, 0, 0, 0, 0)] -define DateIvlMayMeetBeforeUnknownBeg: Interval[DateTime(2000, 1, 1, 0, 0, 0, 0), DateTime(2010, 1, 1, 0, 0, 0, 0)] meets after Interval(null, DateTime(2013, 1, 1, 0, 0, 0, 0)) -define PosInfEndMeetsAfterDateIvl: Interval[DateTime(2013, 1, 1, 0, 0, 0, 0), null] meets after Interval[DateTime(2000, 1, 1, 0, 0, 0, 0), DateTime(2013, 1, 1, 0, 0, 0, 0)) -define PosInfEndNotMeetsDateIvl: Interval[DateTime(2013, 1, 1, 0, 0, 0, 0), null] meets after Interval[DateTime(2000, 1, 1, 0, 0, 0, 0), DateTime(2020, 1, 1, 0, 0, 0, 0)] -define DateIvlNotMeetsPosInfEnd: Interval[DateTime(2000, 1, 1, 0, 0, 0, 0), DateTime(2020, 1, 1, 0, 0, 0, 0)] meets after Interval[DateTime(2013, 1, 1, 0, 0, 0, 0), null] -define UnknownEndMeetsAfterDateIvl: Interval[DateTime(2013, 1, 1, 0, 0, 0, 0), null) meets after Interval[DateTime(2010, 1, 1, 0, 0, 0, 0), DateTime(2013, 1, 1, 0, 0, 0, 0)) -define UnknownEndMayMeetBeforeDateIvl: Interval[DateTime(2013, 1, 1, 0, 0, 0, 0), null) meets after Interval[DateTime(2020, 1, 1, 0, 0, 0, 0), DateTime(2040, 1, 1, 0, 0, 0, 0)] -define UnknownEndNotMeetsDateIvl: Interval[DateTime(2013, 1, 1, 0, 0, 0, 0), null) meets after Interval[DateTime(2000, 1, 1, 0, 0, 0, 0), DateTime(2013, 1, 1, 0, 0, 0, 0)] -define DateIvlMayMeetAfterUnknownEnd: Interval[DateTime(2020, 1, 1, 0, 0, 0, 0), DateTime(2040, 1, 1, 0, 0, 0, 0)] meets after Interval[DateTime(2013, 1, 1, 0, 0, 0, 0), null) -*/ - -module.exports['MeetsAfter'] = { - "library" : { - "localId" : "0", - "annotation" : [ { - "translatorVersion" : "3.27.0", - "translatorOptions" : "EnableDateRangeOptimization,EnableAnnotations,EnableResultTypes", - "signatureLevel" : "All", - "type" : "CqlToElmInfo" - }, { - "type" : "Annotation", - "s" : { - "r" : "2622", - "s" : [ { - "value" : [ "","library TestSnippet version '1'" ] - } ] - } - } ], - "identifier" : { - "id" : "TestSnippet", - "version" : "1" - }, - "schemaIdentifier" : { - "id" : "urn:hl7-org:elm", - "version" : "r1" - }, - "usings" : { - "def" : [ { - "localId" : "1", - "localIdentifier" : "System", - "uri" : "urn:hl7-org:elm-types:r1" - }, { - "localId" : "206", - "localIdentifier" : "Simple", - "uri" : "https://github.com/cqframework/cql-execution/simple", - "version" : "1.0.0", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "206", - "s" : [ { - "value" : [ "","using " ] - }, { - "s" : [ { - "value" : [ "Simple" ] - } ] - }, { - "value" : [ " version '1.0.0'" ] - } ] - } - } ] - } ] - }, - "contexts" : { - "def" : [ { - "localId" : "211", - "name" : "Patient" - } ] - }, - "statements" : { - "def" : [ { - "localId" : "209", - "name" : "Patient", - "context" : "Patient", - "expression" : { - "localId" : "210", - "type" : "SingletonFrom", - "signature" : [ ], - "operand" : { - "localId" : "208", - "dataType" : "{https://github.com/cqframework/cql-execution/simple}Patient", - "type" : "Retrieve", - "include" : [ ], - "codeFilter" : [ ], - "dateFilter" : [ ], - "otherFilter" : [ ] - } - } - }, { - "localId" : "214", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "MeetsAfterIntIvl", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "214", - "s" : [ { - "value" : [ "","define ","MeetsAfterIntIvl",": " ] - }, { - "r" : "225", - "s" : [ { - "r" : "217", - "s" : [ { - "r" : "215", - "value" : [ "Interval[","11",", ","15","]" ] - } ] - }, { - "r" : "225", - "value" : [ " ","meets after"," " ] - }, { - "r" : "222", - "s" : [ { - "r" : "220", - "value" : [ "Interval[","5",", ","10","]" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "225", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "MeetsAfter", - "signature" : [ { - "localId" : "226", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "227", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "228", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "229", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "217", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "218", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "219", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "215", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "11", - "type" : "Literal" - }, - "high" : { - "localId" : "216", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal" - } - }, { - "localId" : "222", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "223", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "224", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "220", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal" - }, - "high" : { - "localId" : "221", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal" - } - } ] - } - }, { - "localId" : "232", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "MeetsBeforeIntIvl", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "232", - "s" : [ { - "value" : [ "","define ","MeetsBeforeIntIvl",": " ] - }, { - "r" : "243", - "s" : [ { - "r" : "235", - "s" : [ { - "r" : "233", - "value" : [ "Interval[","1",", ","4","]" ] - } ] - }, { - "r" : "243", - "value" : [ " ","meets after"," " ] - }, { - "r" : "240", - "s" : [ { - "r" : "238", - "value" : [ "Interval[","5",", ","10","]" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "243", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "MeetsAfter", - "signature" : [ { - "localId" : "244", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "245", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "246", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "247", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "235", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "236", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "237", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "233", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "high" : { - "localId" : "234", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "4", - "type" : "Literal" - } - }, { - "localId" : "240", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "241", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "242", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "238", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal" - }, - "high" : { - "localId" : "239", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal" - } - } ] - } - }, { - "localId" : "250", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "NotMeetsIntIvl", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "250", - "s" : [ { - "value" : [ "","define ","NotMeetsIntIvl",": " ] - }, { - "r" : "261", - "s" : [ { - "r" : "253", - "s" : [ { - "r" : "251", - "value" : [ "Interval[","1",", ","2","]" ] - } ] - }, { - "r" : "261", - "value" : [ " ","meets after"," " ] - }, { - "r" : "258", - "s" : [ { - "r" : "256", - "value" : [ "Interval[","5",", ","10","]" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "261", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "MeetsAfter", - "signature" : [ { - "localId" : "262", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "263", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "264", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "265", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "253", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "254", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "255", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "251", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "high" : { - "localId" : "252", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal" - } - }, { - "localId" : "258", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "259", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "260", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "256", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal" - }, - "high" : { - "localId" : "257", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal" - } - } ] - } - }, { - "localId" : "268", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "MeetsAfterRealIvl", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "268", - "s" : [ { - "value" : [ "","define ","MeetsAfterRealIvl",": " ] - }, { - "r" : "279", - "s" : [ { - "r" : "271", - "s" : [ { - "r" : "269", - "value" : [ "Interval[","1.50000001",", ","2.5","]" ] - } ] - }, { - "r" : "279", - "value" : [ " ","meets after"," " ] - }, { - "r" : "276", - "s" : [ { - "r" : "274", - "value" : [ "Interval[","0.5",", ","1.5","]" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "279", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "MeetsAfter", - "signature" : [ { - "localId" : "280", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "281", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "282", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "283", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "271", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "272", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "273", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "269", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "1.50000001", - "type" : "Literal" - }, - "high" : { - "localId" : "270", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "2.5", - "type" : "Literal" - } - }, { - "localId" : "276", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "277", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "278", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "274", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "0.5", - "type" : "Literal" - }, - "high" : { - "localId" : "275", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "1.5", - "type" : "Literal" - } - } ] - } - }, { - "localId" : "286", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "MeetsBeforeRealIvl", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "286", - "s" : [ { - "value" : [ "","define ","MeetsBeforeRealIvl",": " ] - }, { - "r" : "297", - "s" : [ { - "r" : "289", - "s" : [ { - "r" : "287", - "value" : [ "Interval[","0.5",", ","1.5","]" ] - } ] - }, { - "r" : "297", - "value" : [ " ","meets after"," " ] - }, { - "r" : "294", - "s" : [ { - "r" : "292", - "value" : [ "Interval[","1.50000001",", ","2.5","]" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "297", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "MeetsAfter", - "signature" : [ { - "localId" : "298", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "299", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "300", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "301", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "289", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "290", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "291", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "287", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "0.5", - "type" : "Literal" - }, - "high" : { - "localId" : "288", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "1.5", - "type" : "Literal" - } - }, { - "localId" : "294", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "295", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "296", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "292", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "1.50000001", - "type" : "Literal" - }, - "high" : { - "localId" : "293", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "2.5", - "type" : "Literal" - } - } ] - } - }, { - "localId" : "304", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "NotMeetsRealIvl", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "304", - "s" : [ { - "value" : [ "","define ","NotMeetsRealIvl",": " ] - }, { - "r" : "315", - "s" : [ { - "r" : "307", - "s" : [ { - "r" : "305", - "value" : [ "Interval[","0.0",", ","1.0","]" ] - } ] - }, { - "r" : "315", - "value" : [ " ","meets after"," " ] - }, { - "r" : "312", - "s" : [ { - "r" : "310", - "value" : [ "Interval[","1.1",", ","2.0","]" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "315", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "MeetsAfter", - "signature" : [ { - "localId" : "316", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "317", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "318", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "319", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "307", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "308", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "309", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "305", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "0.0", - "type" : "Literal" - }, - "high" : { - "localId" : "306", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "1.0", - "type" : "Literal" - } - }, { - "localId" : "312", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "313", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "314", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "310", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "1.1", - "type" : "Literal" - }, - "high" : { - "localId" : "311", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "2.0", - "type" : "Literal" - } - } ] - } - }, { - "localId" : "322", - "name" : "DateIvl", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "322", - "s" : [ { - "value" : [ "","define ","DateIvl",": " ] - }, { - "r" : "371", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "339", - "s" : [ { - "r" : "323", - "value" : [ "DateTime","(","2012",", ","3",", ","1",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "363", - "s" : [ { - "r" : "347", - "value" : [ "DateTime","(","2012",", ","9",", ","1",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ ")" ] - } ] - } ] - } - } ], - "resultTypeSpecifier" : { - "localId" : "374", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "375", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "expression" : { - "localId" : "371", - "lowClosed" : true, - "highClosed" : false, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "372", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "373", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "339", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "340", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "341", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "342", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "343", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "344", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "345", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "346", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "323", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "324", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "325", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "326", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "327", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "328", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "329", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - }, - "high" : { - "localId" : "363", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "364", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "365", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "366", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "367", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "368", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "369", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "370", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "347", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "348", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "9", - "type" : "Literal" - }, - "day" : { - "localId" : "349", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "350", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "351", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "352", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "353", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - } - } - }, { - "localId" : "378", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "MeetsAfterDateIvl", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "378", - "s" : [ { - "value" : [ "","define ","MeetsAfterDateIvl",": " ] - }, { - "r" : "433", - "s" : [ { - "r" : "427", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "395", - "s" : [ { - "r" : "379", - "value" : [ "DateTime","(","2012",", ","9",", ","1",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "419", - "s" : [ { - "r" : "403", - "value" : [ "DateTime","(","2012",", ","12",", ","1",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ ")" ] - } ] - }, { - "r" : "433", - "value" : [ " ","meets after"," " ] - }, { - "r" : "430", - "s" : [ { - "value" : [ "DateIvl" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "433", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "MeetsAfter", - "signature" : [ { - "localId" : "434", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "435", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "436", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "437", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "427", - "lowClosed" : true, - "highClosed" : false, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "428", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "429", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "395", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "396", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "397", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "398", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "399", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "400", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "401", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "402", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "379", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "380", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "9", - "type" : "Literal" - }, - "day" : { - "localId" : "381", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "382", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "383", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "384", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "385", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - }, - "high" : { - "localId" : "419", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "420", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "421", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "422", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "423", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "424", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "425", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "426", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "403", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "404", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "12", - "type" : "Literal" - }, - "day" : { - "localId" : "405", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "406", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "407", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "408", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "409", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - } - }, { - "localId" : "430", - "name" : "DateIvl", - "type" : "ExpressionRef", - "resultTypeSpecifier" : { - "localId" : "431", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "432", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - } ] - } - }, { - "localId" : "440", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "MeetsBeforeDateIvl", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "440", - "s" : [ { - "value" : [ "","define ","MeetsBeforeDateIvl",": " ] - }, { - "r" : "495", - "s" : [ { - "r" : "489", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "457", - "s" : [ { - "r" : "441", - "value" : [ "DateTime","(","2012",", ","1",", ","1",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "481", - "s" : [ { - "r" : "465", - "value" : [ "DateTime","(","2012",", ","3",", ","1",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ ")" ] - } ] - }, { - "r" : "495", - "value" : [ " ","meets after"," " ] - }, { - "r" : "492", - "s" : [ { - "value" : [ "DateIvl" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "495", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "MeetsAfter", - "signature" : [ { - "localId" : "496", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "497", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "498", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "499", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "489", - "lowClosed" : true, - "highClosed" : false, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "490", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "491", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "457", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "458", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "459", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "460", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "461", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "462", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "463", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "464", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "441", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "442", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "443", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "444", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "445", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "446", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "447", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - }, - "high" : { - "localId" : "481", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "482", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "483", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "484", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "485", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "486", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "487", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "488", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "465", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "466", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "467", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "468", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "469", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "470", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "471", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - } - }, { - "localId" : "492", - "name" : "DateIvl", - "type" : "ExpressionRef", - "resultTypeSpecifier" : { - "localId" : "493", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "494", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - } ] - } - }, { - "localId" : "502", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "NotMeetsDateIvl", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "502", - "s" : [ { - "value" : [ "","define ","NotMeetsDateIvl",": " ] - }, { - "r" : "557", - "s" : [ { - "r" : "551", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "519", - "s" : [ { - "r" : "503", - "value" : [ "DateTime","(","2012",", ","1",", ","1",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "543", - "s" : [ { - "r" : "527", - "value" : [ "DateTime","(","2012",", ","2",", ","29",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ ")" ] - } ] - }, { - "r" : "557", - "value" : [ " ","meets after"," " ] - }, { - "r" : "554", - "s" : [ { - "value" : [ "DateIvl" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "557", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "MeetsAfter", - "signature" : [ { - "localId" : "558", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "559", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "560", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "561", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "551", - "lowClosed" : true, - "highClosed" : false, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "552", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "553", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "519", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "520", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "521", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "522", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "523", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "524", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "525", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "526", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "503", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "504", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "505", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "506", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "507", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "508", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "509", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - }, - "high" : { - "localId" : "543", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "544", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "545", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "546", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "547", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "548", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "549", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "550", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "527", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "528", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal" - }, - "day" : { - "localId" : "529", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "29", - "type" : "Literal" - }, - "hour" : { - "localId" : "530", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "531", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "532", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "533", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - } - }, { - "localId" : "554", - "name" : "DateIvl", - "type" : "ExpressionRef", - "resultTypeSpecifier" : { - "localId" : "555", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "556", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - } ] - } - }, { - "localId" : "564", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "MayMeetAfterImpreciseDateIvl", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "564", - "s" : [ { - "value" : [ "","define ","MayMeetAfterImpreciseDateIvl",": " ] - }, { - "r" : "589", - "s" : [ { - "r" : "565", - "s" : [ { - "value" : [ "DateIvl" ] - } ] - }, { - "r" : "589", - "value" : [ " ","meets after"," " ] - }, { - "r" : "586", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "574", - "s" : [ { - "r" : "568", - "value" : [ "DateTime","(","2012",", ","1",")" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "583", - "s" : [ { - "r" : "577", - "value" : [ "DateTime","(","2012",", ","2",")" ] - } ] - }, { - "value" : [ "]" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "589", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "MeetsAfter", - "signature" : [ { - "localId" : "590", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "591", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "592", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "593", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "565", - "name" : "DateIvl", - "type" : "ExpressionRef", - "resultTypeSpecifier" : { - "localId" : "566", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "567", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - }, { - "localId" : "586", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "587", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "588", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "574", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "575", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "576", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "568", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "569", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - } - }, - "high" : { - "localId" : "583", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "584", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "585", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "577", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "578", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal" - } - } - } ] - } - }, { - "localId" : "596", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "MayMeetBeforeImpreciseDateIvl", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "596", - "s" : [ { - "value" : [ "","define ","MayMeetBeforeImpreciseDateIvl",": " ] - }, { - "r" : "621", - "s" : [ { - "r" : "597", - "s" : [ { - "value" : [ "DateIvl" ] - } ] - }, { - "r" : "621", - "value" : [ " ","meets after"," " ] - }, { - "r" : "618", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "606", - "s" : [ { - "r" : "600", - "value" : [ "DateTime","(","2012",", ","9",")" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "615", - "s" : [ { - "r" : "609", - "value" : [ "DateTime","(","2012",", ","12",")" ] - } ] - }, { - "value" : [ "]" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "621", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "MeetsAfter", - "signature" : [ { - "localId" : "622", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "623", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "624", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "625", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "597", - "name" : "DateIvl", - "type" : "ExpressionRef", - "resultTypeSpecifier" : { - "localId" : "598", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "599", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - }, { - "localId" : "618", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "619", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "620", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "606", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "607", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "608", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "600", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "601", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "9", - "type" : "Literal" - } - }, - "high" : { - "localId" : "615", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "616", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "617", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "609", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "610", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "12", - "type" : "Literal" - } - } - } ] - } - }, { - "localId" : "628", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "NotMeetsImpreciseDateIvl", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "628", - "s" : [ { - "value" : [ "","define ","NotMeetsImpreciseDateIvl",": " ] - }, { - "r" : "653", - "s" : [ { - "r" : "629", - "s" : [ { - "value" : [ "DateIvl" ] - } ] - }, { - "r" : "653", - "value" : [ " ","meets after"," " ] - }, { - "r" : "650", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "638", - "s" : [ { - "r" : "632", - "value" : [ "DateTime","(","2012",", ","1",")" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "647", - "s" : [ { - "r" : "641", - "value" : [ "DateTime","(","2012",", ","12",")" ] - } ] - }, { - "value" : [ "]" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "653", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "MeetsAfter", - "signature" : [ { - "localId" : "654", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "655", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "656", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "657", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "629", - "name" : "DateIvl", - "type" : "ExpressionRef", - "resultTypeSpecifier" : { - "localId" : "630", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "631", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - }, { - "localId" : "650", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "651", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "652", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "638", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "639", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "640", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "632", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "633", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - } - }, - "high" : { - "localId" : "647", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "648", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "649", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "641", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "642", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "12", - "type" : "Literal" - } - } - } ] - } - }, { - "localId" : "660", - "name" : "PrecisionDateIvl", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "660", - "s" : [ { - "value" : [ "","define ","PrecisionDateIvl",": " ] - }, { - "r" : "709", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "677", - "s" : [ { - "r" : "661", - "value" : [ "DateTime","(","2012",", ","3",", ","2",", ","12",", ","34",", ","56",", ","789",")" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "701", - "s" : [ { - "r" : "685", - "value" : [ "DateTime","(","2012",", ","9",", ","2",", ","1",", ","23",", ","45",", ","678",")" ] - } ] - }, { - "value" : [ ")" ] - } ] - } ] - } - } ], - "resultTypeSpecifier" : { - "localId" : "712", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "713", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "expression" : { - "localId" : "709", - "lowClosed" : true, - "highClosed" : false, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "710", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "711", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "677", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "678", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "679", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "680", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "681", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "682", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "683", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "684", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "661", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "662", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "663", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal" - }, - "hour" : { - "localId" : "664", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "12", - "type" : "Literal" - }, - "minute" : { - "localId" : "665", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "34", - "type" : "Literal" - }, - "second" : { - "localId" : "666", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "56", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "667", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "789", - "type" : "Literal" - } - }, - "high" : { - "localId" : "701", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "702", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "703", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "704", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "705", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "706", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "707", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "708", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "685", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "686", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "9", - "type" : "Literal" - }, - "day" : { - "localId" : "687", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal" - }, - "hour" : { - "localId" : "688", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "minute" : { - "localId" : "689", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "23", - "type" : "Literal" - }, - "second" : { - "localId" : "690", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "45", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "691", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "678", - "type" : "Literal" - } - } - } - }, { - "localId" : "716", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "MeetsAfterDayOfIvl", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "716", - "s" : [ { - "value" : [ "","define ","MeetsAfterDayOfIvl",": " ] - }, { - "r" : "771", - "s" : [ { - "r" : "717", - "s" : [ { - "value" : [ "PrecisionDateIvl" ] - } ] - }, { - "r" : "771", - "value" : [ " ","meets after day of"," " ] - }, { - "r" : "768", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "736", - "s" : [ { - "r" : "720", - "value" : [ "DateTime","(","2012",", ","1",", ","2",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "760", - "s" : [ { - "r" : "744", - "value" : [ "DateTime","(","2012",", ","3",", ","1",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ "]" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "771", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "precision" : "Day", - "type" : "MeetsAfter", - "signature" : [ { - "localId" : "772", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "773", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "774", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "775", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "717", - "name" : "PrecisionDateIvl", - "type" : "ExpressionRef", - "resultTypeSpecifier" : { - "localId" : "718", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "719", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - }, { - "localId" : "768", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "769", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "770", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "736", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "737", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "738", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "739", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "740", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "741", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "742", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "743", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "720", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "721", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "722", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal" - }, - "hour" : { - "localId" : "723", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "724", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "725", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "726", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - }, - "high" : { - "localId" : "760", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "761", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "762", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "763", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "764", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "765", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "766", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "767", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "744", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "745", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "746", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "747", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "748", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "749", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "750", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - } - } ] - } - }, { - "localId" : "778", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "MeetsBeforeDayOfIvl", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "778", - "s" : [ { - "value" : [ "","define ","MeetsBeforeDayOfIvl",": " ] - }, { - "r" : "833", - "s" : [ { - "r" : "779", - "s" : [ { - "value" : [ "PrecisionDateIvl" ] - } ] - }, { - "r" : "833", - "value" : [ " ","meets after day of"," " ] - }, { - "r" : "830", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "798", - "s" : [ { - "r" : "782", - "value" : [ "DateTime","(","2012",", ","9",", ","3",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "822", - "s" : [ { - "r" : "806", - "value" : [ "DateTime","(","2012",", ","12",", ","1",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ "]" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "833", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "precision" : "Day", - "type" : "MeetsAfter", - "signature" : [ { - "localId" : "834", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "835", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "836", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "837", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "779", - "name" : "PrecisionDateIvl", - "type" : "ExpressionRef", - "resultTypeSpecifier" : { - "localId" : "780", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "781", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - }, { - "localId" : "830", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "831", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "832", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "798", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "799", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "800", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "801", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "802", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "803", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "804", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "805", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "782", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "783", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "9", - "type" : "Literal" - }, - "day" : { - "localId" : "784", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "hour" : { - "localId" : "785", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "786", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "787", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "788", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - }, - "high" : { - "localId" : "822", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "823", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "824", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "825", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "826", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "827", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "828", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "829", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "806", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "807", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "12", - "type" : "Literal" - }, - "day" : { - "localId" : "808", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "809", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "810", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "811", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "812", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - } - } ] - } - }, { - "localId" : "840", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "NotMeetsDayOfIvl", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "840", - "s" : [ { - "value" : [ "","define ","NotMeetsDayOfIvl",": " ] - }, { - "r" : "895", - "s" : [ { - "r" : "841", - "s" : [ { - "value" : [ "PrecisionDateIvl" ] - } ] - }, { - "r" : "895", - "value" : [ " ","meets after day of"," " ] - }, { - "r" : "892", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "860", - "s" : [ { - "r" : "844", - "value" : [ "DateTime","(","2012",", ","1",", ","2",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "884", - "s" : [ { - "r" : "868", - "value" : [ "DateTime","(","2012",", ","3",", ","2",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ "]" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "895", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "precision" : "Day", - "type" : "MeetsAfter", - "signature" : [ { - "localId" : "896", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "897", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "898", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "899", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "841", - "name" : "PrecisionDateIvl", - "type" : "ExpressionRef", - "resultTypeSpecifier" : { - "localId" : "842", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "843", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - }, { - "localId" : "892", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "893", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "894", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "860", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "861", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "862", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "863", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "864", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "865", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "866", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "867", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "844", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "845", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "846", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal" - }, - "hour" : { - "localId" : "847", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "848", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "849", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "850", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - }, - "high" : { - "localId" : "884", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "885", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "886", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "887", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "888", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "889", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "890", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "891", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "868", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "869", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "870", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal" - }, - "hour" : { - "localId" : "871", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "872", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "873", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "874", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - } - } ] - } - }, { - "localId" : "902", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "NotMeetsDayOfImpreciseIVL", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "902", - "s" : [ { - "value" : [ "","define ","NotMeetsDayOfImpreciseIVL",": " ] - }, { - "r" : "927", - "s" : [ { - "r" : "903", - "s" : [ { - "value" : [ "PrecisionDateIvl" ] - } ] - }, { - "r" : "927", - "value" : [ " ","meets after day of"," " ] - }, { - "r" : "924", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "912", - "s" : [ { - "r" : "906", - "value" : [ "DateTime","(","2012",", ","1",")" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "921", - "s" : [ { - "r" : "915", - "value" : [ "DateTime","(","2012",", ","2",")" ] - } ] - }, { - "value" : [ "]" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "927", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "precision" : "Day", - "type" : "MeetsAfter", - "signature" : [ { - "localId" : "928", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "929", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "930", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "931", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "903", - "name" : "PrecisionDateIvl", - "type" : "ExpressionRef", - "resultTypeSpecifier" : { - "localId" : "904", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "905", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - }, { - "localId" : "924", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "925", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "926", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "912", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "913", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "914", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "906", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "907", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - } - }, - "high" : { - "localId" : "921", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "922", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "923", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "915", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "916", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal" - } - } - } ] - } - }, { - "localId" : "934", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "MayMeetAfterDayOfImpreciseIvl", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "934", - "s" : [ { - "value" : [ "","define ","MayMeetAfterDayOfImpreciseIvl",": " ] - }, { - "r" : "959", - "s" : [ { - "r" : "935", - "s" : [ { - "value" : [ "PrecisionDateIvl" ] - } ] - }, { - "r" : "959", - "value" : [ " ","meets after day of"," " ] - }, { - "r" : "956", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "944", - "s" : [ { - "r" : "938", - "value" : [ "DateTime","(","2012",", ","1",")" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "953", - "s" : [ { - "r" : "947", - "value" : [ "DateTime","(","2012",", ","3",")" ] - } ] - }, { - "value" : [ "]" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "959", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "precision" : "Day", - "type" : "MeetsAfter", - "signature" : [ { - "localId" : "960", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "961", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "962", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "963", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "935", - "name" : "PrecisionDateIvl", - "type" : "ExpressionRef", - "resultTypeSpecifier" : { - "localId" : "936", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "937", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - }, { - "localId" : "956", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "957", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "958", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "944", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "945", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "946", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "938", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "939", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - } - }, - "high" : { - "localId" : "953", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "954", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "955", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "947", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "948", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - } - } - } ] - } - }, { - "localId" : "966", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "MayMeetBeforeDayOfImpreciseIvl", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "966", - "s" : [ { - "value" : [ "","define ","MayMeetBeforeDayOfImpreciseIvl",": " ] - }, { - "r" : "991", - "s" : [ { - "r" : "967", - "s" : [ { - "value" : [ "PrecisionDateIvl" ] - } ] - }, { - "r" : "991", - "value" : [ " ","meets after day of"," " ] - }, { - "r" : "988", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "976", - "s" : [ { - "r" : "970", - "value" : [ "DateTime","(","2012",", ","9",")" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "985", - "s" : [ { - "r" : "979", - "value" : [ "DateTime","(","2012",", ","12",")" ] - } ] - }, { - "value" : [ "]" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "991", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "precision" : "Day", - "type" : "MeetsAfter", - "signature" : [ { - "localId" : "992", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "993", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "994", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "995", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "967", - "name" : "PrecisionDateIvl", - "type" : "ExpressionRef", - "resultTypeSpecifier" : { - "localId" : "968", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "969", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - }, { - "localId" : "988", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "989", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "990", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "976", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "977", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "978", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "970", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "971", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "9", - "type" : "Literal" - } - }, - "high" : { - "localId" : "985", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "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" - } ], - "year" : { - "localId" : "979", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "980", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "12", - "type" : "Literal" - } - } - } ] - } - }, { - "localId" : "998", - "name" : "ImpDateIvl", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "998", - "s" : [ { - "value" : [ "","define ","ImpDateIvl",": " ] - }, { - "r" : "1017", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "1005", - "s" : [ { - "r" : "999", - "value" : [ "DateTime","(","2012",", ","3",")" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "1014", - "s" : [ { - "r" : "1008", - "value" : [ "DateTime","(","2012",", ","8",")" ] - } ] - }, { - "value" : [ "]" ] - } ] - } ] - } - } ], - "resultTypeSpecifier" : { - "localId" : "1020", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1021", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "expression" : { - "localId" : "1017", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "1018", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1019", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "1005", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "1006", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1007", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "999", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "1000", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - } - }, - "high" : { - "localId" : "1014", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "1015", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1016", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1008", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "1009", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "8", - "type" : "Literal" - } - } - } - }, { - "localId" : "1024", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "ImpreciseMayMeetAfterDateIvl", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "1024", - "s" : [ { - "value" : [ "","define ","ImpreciseMayMeetAfterDateIvl",": " ] - }, { - "r" : "1079", - "s" : [ { - "r" : "1025", - "s" : [ { - "value" : [ "ImpDateIvl" ] - } ] - }, { - "r" : "1079", - "value" : [ " ","meets after"," " ] - }, { - "r" : "1076", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "1044", - "s" : [ { - "r" : "1028", - "value" : [ "DateTime","(","2012",", ","1",", ","1",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "1068", - "s" : [ { - "r" : "1052", - "value" : [ "DateTime","(","2012",", ","2",", ","29",", ","23",", ","59",", ","59",", ","999",")" ] - } ] - }, { - "value" : [ "]" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "1079", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "MeetsAfter", - "signature" : [ { - "localId" : "1080", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1081", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "1082", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1083", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "1025", - "name" : "ImpDateIvl", - "type" : "ExpressionRef", - "resultTypeSpecifier" : { - "localId" : "1026", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1027", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - }, { - "localId" : "1076", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "1077", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1078", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "1044", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "1045", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1046", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1047", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1048", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1049", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1050", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1051", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1028", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "1029", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "1030", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "1031", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "1032", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "1033", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "1034", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - }, - "high" : { - "localId" : "1068", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "1069", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1070", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1071", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1072", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1073", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1074", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1075", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1052", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "1053", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal" - }, - "day" : { - "localId" : "1054", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "29", - "type" : "Literal" - }, - "hour" : { - "localId" : "1055", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "23", - "type" : "Literal" - }, - "minute" : { - "localId" : "1056", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal" - }, - "second" : { - "localId" : "1057", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "1058", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "999", - "type" : "Literal" - } - } - } ] - } - }, { - "localId" : "1086", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "ImpreciseMayMeetBeforeDateIvl", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "1086", - "s" : [ { - "value" : [ "","define ","ImpreciseMayMeetBeforeDateIvl",": " ] - }, { - "r" : "1141", - "s" : [ { - "r" : "1087", - "s" : [ { - "value" : [ "ImpDateIvl" ] - } ] - }, { - "r" : "1141", - "value" : [ " ","meets after"," " ] - }, { - "r" : "1138", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "1106", - "s" : [ { - "r" : "1090", - "value" : [ "DateTime","(","2012",", ","9",", ","1",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "1130", - "s" : [ { - "r" : "1114", - "value" : [ "DateTime","(","2012",", ","12",", ","31",", ","23",", ","59",", ","59",", ","999",")" ] - } ] - }, { - "value" : [ "]" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "1141", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "MeetsAfter", - "signature" : [ { - "localId" : "1142", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1143", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "1144", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1145", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "1087", - "name" : "ImpDateIvl", - "type" : "ExpressionRef", - "resultTypeSpecifier" : { - "localId" : "1088", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1089", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - }, { - "localId" : "1138", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "1139", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1140", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "1106", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "1107", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1108", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1109", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1110", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1111", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1112", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1113", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1090", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "1091", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "9", - "type" : "Literal" - }, - "day" : { - "localId" : "1092", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "1093", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "1094", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "1095", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "1096", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - }, - "high" : { - "localId" : "1130", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "1131", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1132", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1133", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1134", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1135", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1136", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1137", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1114", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "1115", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "12", - "type" : "Literal" - }, - "day" : { - "localId" : "1116", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "31", - "type" : "Literal" - }, - "hour" : { - "localId" : "1117", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "23", - "type" : "Literal" - }, - "minute" : { - "localId" : "1118", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal" - }, - "second" : { - "localId" : "1119", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "1120", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "999", - "type" : "Literal" - } - } - } ] - } - }, { - "localId" : "1148", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "ImpreciseNotMeetsDateIvl", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "1148", - "s" : [ { - "value" : [ "","define ","ImpreciseNotMeetsDateIvl",": " ] - }, { - "r" : "1203", - "s" : [ { - "r" : "1149", - "s" : [ { - "value" : [ "ImpDateIvl" ] - } ] - }, { - "r" : "1203", - "value" : [ " ","meets after"," " ] - }, { - "r" : "1200", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "1168", - "s" : [ { - "r" : "1152", - "value" : [ "DateTime","(","2012",", ","1",", ","1",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "1192", - "s" : [ { - "r" : "1176", - "value" : [ "DateTime","(","2012",", ","12",", ","31",", ","23",", ","59",", ","59",", ","999",")" ] - } ] - }, { - "value" : [ ")" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "1203", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "MeetsAfter", - "signature" : [ { - "localId" : "1204", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1205", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "1206", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1207", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "1149", - "name" : "ImpDateIvl", - "type" : "ExpressionRef", - "resultTypeSpecifier" : { - "localId" : "1150", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1151", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - }, { - "localId" : "1200", - "lowClosed" : true, - "highClosed" : false, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "1201", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1202", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "1168", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "1169", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1170", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1171", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1172", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1173", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1174", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1175", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1152", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "1153", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "1154", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "1155", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "1156", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "1157", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "1158", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - }, - "high" : { - "localId" : "1192", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "1193", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1194", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1195", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1196", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1197", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1198", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1199", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1176", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "1177", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "12", - "type" : "Literal" - }, - "day" : { - "localId" : "1178", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "31", - "type" : "Literal" - }, - "hour" : { - "localId" : "1179", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "23", - "type" : "Literal" - }, - "minute" : { - "localId" : "1180", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal" - }, - "second" : { - "localId" : "1181", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "1182", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "999", - "type" : "Literal" - } - } - } ] - } - }, { - "localId" : "1210", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "NegInfBegMeetsBeforeIntIvl", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "1210", - "s" : [ { - "value" : [ "","define ","NegInfBegMeetsBeforeIntIvl",": " ] - }, { - "r" : "1222", - "s" : [ { - "r" : "1213", - "s" : [ { - "r" : "1211", - "value" : [ "Interval[","null",", ","100","]" ] - } ] - }, { - "r" : "1222", - "value" : [ " ","meets after"," " ] - }, { - "r" : "1219", - "s" : [ { - "r" : "1217", - "value" : [ "Interval[","101",", ","200","]" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "1222", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "MeetsAfter", - "signature" : [ { - "localId" : "1223", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1224", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "1225", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1226", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "1213", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "1215", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1216", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "1214", - "asType" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "As", - "signature" : [ ], - "operand" : { - "localId" : "1211", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - } - }, - "high" : { - "localId" : "1212", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "100", - "type" : "Literal" - } - }, { - "localId" : "1219", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "1220", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1221", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "1217", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "101", - "type" : "Literal" - }, - "high" : { - "localId" : "1218", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "200", - "type" : "Literal" - } - } ] - } - }, { - "localId" : "1229", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "NegInfBegNotMeetsIntIvl", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "1229", - "s" : [ { - "value" : [ "","define ","NegInfBegNotMeetsIntIvl",": " ] - }, { - "r" : "1241", - "s" : [ { - "r" : "1232", - "s" : [ { - "r" : "1230", - "value" : [ "Interval[","null",", ","100","]" ] - } ] - }, { - "r" : "1241", - "value" : [ " ","meets after"," " ] - }, { - "r" : "1238", - "s" : [ { - "r" : "1236", - "value" : [ "Interval[","100",", ","200","]" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "1241", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "MeetsAfter", - "signature" : [ { - "localId" : "1242", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1243", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "1244", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1245", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "1232", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "1234", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1235", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "1233", - "asType" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "As", - "signature" : [ ], - "operand" : { - "localId" : "1230", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - } - }, - "high" : { - "localId" : "1231", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "100", - "type" : "Literal" - } - }, { - "localId" : "1238", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "1239", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1240", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "1236", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "100", - "type" : "Literal" - }, - "high" : { - "localId" : "1237", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "200", - "type" : "Literal" - } - } ] - } - }, { - "localId" : "1248", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "IntIvlNotMeetsNegInfBeg", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "1248", - "s" : [ { - "value" : [ "","define ","IntIvlNotMeetsNegInfBeg",": " ] - }, { - "r" : "1260", - "s" : [ { - "r" : "1251", - "s" : [ { - "r" : "1249", - "value" : [ "Interval[","100",", ","200","]" ] - } ] - }, { - "r" : "1260", - "value" : [ " ","meets after"," " ] - }, { - "r" : "1256", - "s" : [ { - "r" : "1254", - "value" : [ "Interval[","null",", ","400","]" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "1260", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "MeetsAfter", - "signature" : [ { - "localId" : "1261", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1262", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "1263", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1264", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "1251", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "1252", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1253", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "1249", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "100", - "type" : "Literal" - }, - "high" : { - "localId" : "1250", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "200", - "type" : "Literal" - } - }, { - "localId" : "1256", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "1258", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1259", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "1257", - "asType" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "As", - "signature" : [ ], - "operand" : { - "localId" : "1254", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - } - }, - "high" : { - "localId" : "1255", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "400", - "type" : "Literal" - } - } ] - } - }, { - "localId" : "1267", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "UnknownBegMeetsBeforeIntIvl", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "1267", - "s" : [ { - "value" : [ "","define ","UnknownBegMeetsBeforeIntIvl",": " ] - }, { - "r" : "1279", - "s" : [ { - "r" : "1270", - "s" : [ { - "r" : "1268", - "value" : [ "Interval(","null",", ","100","]" ] - } ] - }, { - "r" : "1279", - "value" : [ " ","meets after"," " ] - }, { - "r" : "1276", - "s" : [ { - "r" : "1274", - "value" : [ "Interval[","101",", ","200","]" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "1279", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "MeetsAfter", - "signature" : [ { - "localId" : "1280", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1281", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "1282", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1283", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "1270", - "lowClosed" : false, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "1272", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1273", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "1271", - "asType" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "As", - "signature" : [ ], - "operand" : { - "localId" : "1268", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - } - }, - "high" : { - "localId" : "1269", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "100", - "type" : "Literal" - } - }, { - "localId" : "1276", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "1277", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1278", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "1274", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "101", - "type" : "Literal" - }, - "high" : { - "localId" : "1275", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "200", - "type" : "Literal" - } - } ] - } - }, { - "localId" : "1286", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "UnknownBegMayMeetAfterIntIvl", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "1286", - "s" : [ { - "value" : [ "","define ","UnknownBegMayMeetAfterIntIvl",": " ] - }, { - "r" : "1298", - "s" : [ { - "r" : "1289", - "s" : [ { - "r" : "1287", - "value" : [ "Interval(","null",", ","100","]" ] - } ] - }, { - "r" : "1298", - "value" : [ " ","meets after"," " ] - }, { - "r" : "1295", - "s" : [ { - "r" : "1293", - "value" : [ "Interval[","0",", ","50","]" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "1298", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "MeetsAfter", - "signature" : [ { - "localId" : "1299", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1300", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "1301", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1302", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "1289", - "lowClosed" : false, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "1291", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1292", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "1290", - "asType" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "As", - "signature" : [ ], - "operand" : { - "localId" : "1287", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - } - }, - "high" : { - "localId" : "1288", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "100", - "type" : "Literal" - } - }, { - "localId" : "1295", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "1296", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1297", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "1293", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "high" : { - "localId" : "1294", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "50", - "type" : "Literal" - } - } ] - } - }, { - "localId" : "1305", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "UnknownBegNotMeetsIntIvl", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "1305", - "s" : [ { - "value" : [ "","define ","UnknownBegNotMeetsIntIvl",": " ] - }, { - "r" : "1317", - "s" : [ { - "r" : "1308", - "s" : [ { - "r" : "1306", - "value" : [ "Interval(","null",", ","5","]" ] - } ] - }, { - "r" : "1317", - "value" : [ " ","meets after"," " ] - }, { - "r" : "1314", - "s" : [ { - "r" : "1312", - "value" : [ "Interval[","0",", ","100","]" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "1317", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "MeetsAfter", - "signature" : [ { - "localId" : "1318", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1319", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "1320", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1321", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "1308", - "lowClosed" : false, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "1310", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1311", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "1309", - "asType" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "As", - "signature" : [ ], - "operand" : { - "localId" : "1306", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - } - }, - "high" : { - "localId" : "1307", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal" - } - }, { - "localId" : "1314", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "1315", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1316", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "1312", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "high" : { - "localId" : "1313", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "100", - "type" : "Literal" - } - } ] - } - }, { - "localId" : "1324", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "IntIvlMayMeetBeforeUnknownBeg", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "1324", - "s" : [ { - "value" : [ "","define ","IntIvlMayMeetBeforeUnknownBeg",": " ] - }, { - "r" : "1336", - "s" : [ { - "r" : "1327", - "s" : [ { - "r" : "1325", - "value" : [ "Interval[","0",", ","100","]" ] - } ] - }, { - "r" : "1336", - "value" : [ " ","meets after"," " ] - }, { - "r" : "1332", - "s" : [ { - "r" : "1330", - "value" : [ "Interval(","null",", ","400",")" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "1336", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "MeetsAfter", - "signature" : [ { - "localId" : "1337", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1338", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "1339", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1340", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "1327", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "1328", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1329", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "1325", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "high" : { - "localId" : "1326", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "100", - "type" : "Literal" - } - }, { - "localId" : "1332", - "lowClosed" : false, - "highClosed" : false, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "1334", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1335", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "1333", - "asType" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "As", - "signature" : [ ], - "operand" : { - "localId" : "1330", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - } - }, - "high" : { - "localId" : "1331", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "400", - "type" : "Literal" - } - } ] - } - }, { - "localId" : "1343", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "PosInfEndMeetsAfterIntIvl", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "1343", - "s" : [ { - "value" : [ "","define ","PosInfEndMeetsAfterIntIvl",": " ] - }, { - "r" : "1355", - "s" : [ { - "r" : "1346", - "s" : [ { - "r" : "1344", - "value" : [ "Interval[","100",", ","null","]" ] - } ] - }, { - "r" : "1355", - "value" : [ " ","meets after"," " ] - }, { - "r" : "1352", - "s" : [ { - "r" : "1350", - "value" : [ "Interval[","0",", ","99","]" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "1355", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "MeetsAfter", - "signature" : [ { - "localId" : "1356", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1357", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "1358", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1359", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "1346", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "1348", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1349", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "1344", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "100", - "type" : "Literal" - }, - "high" : { - "localId" : "1347", - "asType" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "As", - "signature" : [ ], - "operand" : { - "localId" : "1345", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - } - } - }, { - "localId" : "1352", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "1353", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1354", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "1350", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "high" : { - "localId" : "1351", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "99", - "type" : "Literal" - } - } ] - } - }, { - "localId" : "1362", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "PosInfEndNotMeetsIntIvl", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "1362", - "s" : [ { - "value" : [ "","define ","PosInfEndNotMeetsIntIvl",": " ] - }, { - "r" : "1374", - "s" : [ { - "r" : "1365", - "s" : [ { - "r" : "1363", - "value" : [ "Interval[","0",", ","null","]" ] - } ] - }, { - "r" : "1374", - "value" : [ " ","meets after"," " ] - }, { - "r" : "1371", - "s" : [ { - "r" : "1369", - "value" : [ "Interval[","1000",", ","2000","]" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "1374", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "MeetsAfter", - "signature" : [ { - "localId" : "1375", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1376", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "1377", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1378", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "1365", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "1367", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1368", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "1363", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "high" : { - "localId" : "1366", - "asType" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "As", - "signature" : [ ], - "operand" : { - "localId" : "1364", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - } - } - }, { - "localId" : "1371", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "1372", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1373", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "1369", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1000", - "type" : "Literal" - }, - "high" : { - "localId" : "1370", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - } - } ] - } - }, { - "localId" : "1381", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "IntIvlNotMeetsPosInfEnd", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "1381", - "s" : [ { - "value" : [ "","define ","IntIvlNotMeetsPosInfEnd",": " ] - }, { - "r" : "1393", - "s" : [ { - "r" : "1384", - "s" : [ { - "r" : "1382", - "value" : [ "Interval[","100",", ","200","]" ] - } ] - }, { - "r" : "1393", - "value" : [ " ","meets after"," " ] - }, { - "r" : "1389", - "s" : [ { - "r" : "1387", - "value" : [ "Interval[","0",", ","null","]" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "1393", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "MeetsAfter", - "signature" : [ { - "localId" : "1394", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1395", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "1396", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1397", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "1384", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "1385", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1386", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "1382", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "100", - "type" : "Literal" - }, - "high" : { - "localId" : "1383", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "200", - "type" : "Literal" - } - }, { - "localId" : "1389", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "1391", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1392", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "1387", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "high" : { - "localId" : "1390", - "asType" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "As", - "signature" : [ ], - "operand" : { - "localId" : "1388", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - } - } - } ] - } - }, { - "localId" : "1400", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "UnknownEndMeetsAfterIntIvl", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "1400", - "s" : [ { - "value" : [ "","define ","UnknownEndMeetsAfterIntIvl",": " ] - }, { - "r" : "1412", - "s" : [ { - "r" : "1403", - "s" : [ { - "r" : "1401", - "value" : [ "Interval[","100",", ","null",")" ] - } ] - }, { - "r" : "1412", - "value" : [ " ","meets after"," " ] - }, { - "r" : "1409", - "s" : [ { - "r" : "1407", - "value" : [ "Interval[","0",", ","99","]" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "1412", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "MeetsAfter", - "signature" : [ { - "localId" : "1413", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1414", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "1415", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1416", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "1403", - "lowClosed" : true, - "highClosed" : false, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "1405", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1406", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "1401", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "100", - "type" : "Literal" - }, - "high" : { - "localId" : "1404", - "asType" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "As", - "signature" : [ ], - "operand" : { - "localId" : "1402", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - } - } - }, { - "localId" : "1409", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "1410", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1411", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "1407", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "high" : { - "localId" : "1408", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "99", - "type" : "Literal" - } - } ] - } - }, { - "localId" : "1419", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "UnknownEndMayMeetBeforeIntIvl", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "1419", - "s" : [ { - "value" : [ "","define ","UnknownEndMayMeetBeforeIntIvl",": " ] - }, { - "r" : "1431", - "s" : [ { - "r" : "1422", - "s" : [ { - "r" : "1420", - "value" : [ "Interval[","0",", ","null",")" ] - } ] - }, { - "r" : "1431", - "value" : [ " ","meets after"," " ] - }, { - "r" : "1428", - "s" : [ { - "r" : "1426", - "value" : [ "Interval[","50",", ","100","]" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "1431", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "MeetsAfter", - "signature" : [ { - "localId" : "1432", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1433", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "1434", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1435", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "1422", - "lowClosed" : true, - "highClosed" : false, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "1424", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1425", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "1420", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "high" : { - "localId" : "1423", - "asType" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "As", - "signature" : [ ], - "operand" : { - "localId" : "1421", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - } - } - }, { - "localId" : "1428", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "1429", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1430", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "1426", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "50", - "type" : "Literal" - }, - "high" : { - "localId" : "1427", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "100", - "type" : "Literal" - } - } ] - } - }, { - "localId" : "1438", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "UnknownEndNotMeetsIntIvl", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "1438", - "s" : [ { - "value" : [ "","define ","UnknownEndNotMeetsIntIvl",": " ] - }, { - "r" : "1450", - "s" : [ { - "r" : "1441", - "s" : [ { - "r" : "1439", - "value" : [ "Interval[","0",", ","null",")" ] - } ] - }, { - "r" : "1450", - "value" : [ " ","meets after"," " ] - }, { - "r" : "1447", - "s" : [ { - "r" : "1445", - "value" : [ "Interval[","0",", ","100","]" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "1450", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "MeetsAfter", - "signature" : [ { - "localId" : "1451", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1452", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "1453", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1454", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "1441", - "lowClosed" : true, - "highClosed" : false, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "1443", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1444", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "1439", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "high" : { - "localId" : "1442", - "asType" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "As", - "signature" : [ ], - "operand" : { - "localId" : "1440", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - } - } - }, { - "localId" : "1447", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "1448", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1449", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "1445", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "high" : { - "localId" : "1446", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "100", - "type" : "Literal" - } - } ] - } - }, { - "localId" : "1457", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "IntIvlMayMeetAfterUnknownEnd", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "1457", - "s" : [ { - "value" : [ "","define ","IntIvlMayMeetAfterUnknownEnd",": " ] - }, { - "r" : "1471", - "s" : [ { - "r" : "1460", - "s" : [ { - "r" : "1458", - "value" : [ "Interval[","0",", ","100","]" ] - } ] - }, { - "r" : "1471", - "value" : [ " ","meets after"," " ] - }, { - "r" : "1467", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "1463", - "s" : [ { - "r" : "1464", - "value" : [ "-","100" ] - } ] - }, { - "r" : "1466", - "value" : [ ", ","null",")" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "1471", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "MeetsAfter", - "signature" : [ { - "localId" : "1472", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1473", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "1474", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1475", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "1460", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "1461", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1462", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "1458", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "high" : { - "localId" : "1459", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "100", - "type" : "Literal" - } - }, { - "localId" : "1467", - "lowClosed" : true, - "highClosed" : false, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "1469", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1470", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "1463", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "Negate", - "signature" : [ { - "localId" : "1465", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "1464", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "100", - "type" : "Literal" - } - }, - "high" : { - "localId" : "1468", - "asType" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "As", - "signature" : [ ], - "operand" : { - "localId" : "1466", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - } - } - } ] - } - }, { - "localId" : "1478", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "NegInfBegMeetsBeforeDateIvl", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "1478", - "s" : [ { - "value" : [ "","define ","NegInfBegMeetsBeforeDateIvl",": " ] - }, { - "r" : "1559", - "s" : [ { - "r" : "1504", - "s" : [ { - "r" : "1479", - "value" : [ "Interval[","null",", " ] - }, { - "r" : "1496", - "s" : [ { - "r" : "1480", - "value" : [ "DateTime","(","2013",", ","1",", ","1",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ ")" ] - } ] - }, { - "r" : "1559", - "value" : [ " ","meets after"," " ] - }, { - "r" : "1556", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "1524", - "s" : [ { - "r" : "1508", - "value" : [ "DateTime","(","2013",", ","1",", ","1",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "1548", - "s" : [ { - "r" : "1532", - "value" : [ "DateTime","(","2030",", ","1",", ","1",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ "]" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "1559", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "MeetsAfter", - "signature" : [ { - "localId" : "1560", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1561", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "1562", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1563", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "1504", - "lowClosed" : true, - "highClosed" : false, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "1506", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1507", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "1505", - "asType" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "As", - "signature" : [ ], - "operand" : { - "localId" : "1479", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - } - }, - "high" : { - "localId" : "1496", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "1497", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1498", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1499", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1500", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1501", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1502", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1503", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1480", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2013", - "type" : "Literal" - }, - "month" : { - "localId" : "1481", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "1482", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "1483", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "1484", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "1485", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "1486", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - } - }, { - "localId" : "1556", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "1557", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1558", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "1524", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "1525", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1526", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1527", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1528", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1529", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1530", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1531", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1508", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2013", - "type" : "Literal" - }, - "month" : { - "localId" : "1509", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "1510", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "1511", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "1512", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "1513", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "1514", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - }, - "high" : { - "localId" : "1548", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "1549", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1550", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1551", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1552", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1553", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1554", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1555", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1532", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2030", - "type" : "Literal" - }, - "month" : { - "localId" : "1533", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "1534", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "1535", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "1536", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "1537", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "1538", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - } - } ] - } - }, { - "localId" : "1566", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "NegInfBegNotMeetsDateIvl", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "1566", - "s" : [ { - "value" : [ "","define ","NegInfBegNotMeetsDateIvl",": " ] - }, { - "r" : "1647", - "s" : [ { - "r" : "1592", - "s" : [ { - "r" : "1567", - "value" : [ "Interval[","null",", " ] - }, { - "r" : "1584", - "s" : [ { - "r" : "1568", - "value" : [ "DateTime","(","2013",", ","1",", ","1",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ ")" ] - } ] - }, { - "r" : "1647", - "value" : [ " ","meets after"," " ] - }, { - "r" : "1644", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "1612", - "s" : [ { - "r" : "1596", - "value" : [ "DateTime","(","2000",", ","1",", ","1",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "1636", - "s" : [ { - "r" : "1620", - "value" : [ "DateTime","(","2010",", ","1",", ","1",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ "]" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "1647", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "MeetsAfter", - "signature" : [ { - "localId" : "1648", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1649", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "1650", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1651", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "1592", - "lowClosed" : true, - "highClosed" : false, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "1594", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1595", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "1593", - "asType" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "As", - "signature" : [ ], - "operand" : { - "localId" : "1567", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - } - }, - "high" : { - "localId" : "1584", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "1585", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1586", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1587", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1588", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1589", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1590", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1591", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1568", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2013", - "type" : "Literal" - }, - "month" : { - "localId" : "1569", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "1570", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "1571", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "1572", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "1573", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "1574", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - } - }, { - "localId" : "1644", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "1645", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1646", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "1612", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "1613", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1614", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1615", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1616", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1617", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1618", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1619", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1596", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "1597", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "1598", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "1599", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "1600", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "1601", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "1602", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - }, - "high" : { - "localId" : "1636", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "1637", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1638", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1639", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1640", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1641", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1642", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1643", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1620", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2010", - "type" : "Literal" - }, - "month" : { - "localId" : "1621", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "1622", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "1623", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "1624", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "1625", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "1626", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - } - } ] - } - }, { - "localId" : "1654", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "DateIvlNotMeetsNegInfBeg", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "1654", - "s" : [ { - "value" : [ "","define ","DateIvlNotMeetsNegInfBeg",": " ] - }, { - "r" : "1735", - "s" : [ { - "r" : "1703", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "1671", - "s" : [ { - "r" : "1655", - "value" : [ "DateTime","(","2000",", ","1",", ","1",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "1695", - "s" : [ { - "r" : "1679", - "value" : [ "DateTime","(","2010",", ","1",", ","1",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ "]" ] - } ] - }, { - "r" : "1735", - "value" : [ " ","meets after"," " ] - }, { - "r" : "1731", - "s" : [ { - "r" : "1706", - "value" : [ "Interval[","null",", " ] - }, { - "r" : "1723", - "s" : [ { - "r" : "1707", - "value" : [ "DateTime","(","2013",", ","1",", ","1",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ ")" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "1735", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "MeetsAfter", - "signature" : [ { - "localId" : "1736", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1737", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "1738", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1739", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "1703", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "1704", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1705", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "1671", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "1672", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1673", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1674", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1675", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1676", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1677", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1678", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1655", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "1656", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "1657", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "1658", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "1659", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "1660", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "1661", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - }, - "high" : { - "localId" : "1695", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "1696", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1697", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1698", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1699", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1700", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1701", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1702", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1679", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2010", - "type" : "Literal" - }, - "month" : { - "localId" : "1680", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "1681", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "1682", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "1683", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "1684", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "1685", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - } - }, { - "localId" : "1731", - "lowClosed" : true, - "highClosed" : false, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "1733", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1734", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "1732", - "asType" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "As", - "signature" : [ ], - "operand" : { - "localId" : "1706", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - } - }, - "high" : { - "localId" : "1723", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "1724", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1725", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1726", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1727", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1728", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1729", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1730", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1707", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2013", - "type" : "Literal" - }, - "month" : { - "localId" : "1708", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "1709", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "1710", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "1711", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "1712", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "1713", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - } - } ] - } - }, { - "localId" : "1742", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "UnknownBegMeetsBeforeDateIvl", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "1742", + "value" : [ "5 ", "'mg'" ] + } ] + }, { + "value" : [ "]" ] + } ] + }, { + "value" : [ " contains " ] + }, { + "r" : "298", + "s" : [ { + "value" : [ "1 ", "'mg'" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Contains", + "localId" : "299", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "300", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "301", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } + }, { + "type" : "NamedTypeSpecifier", + "localId" : "302", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "Interval", + "localId" : "295", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "296", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "297", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } + }, + "low" : { + "type" : "Quantity", + "localId" : "293", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "value" : 2, + "unit" : "mg", + "annotation" : [ ] + }, + "high" : { + "type" : "Quantity", + "localId" : "294", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "value" : 5, + "unit" : "mg", + "annotation" : [ ] + } + }, { + "type" : "Quantity", + "localId" : "298", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "value" : 1, + "unit" : "mg", + "annotation" : [ ] + } ] + } + }, { + "localId" : "305", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "NotContainsQuantityExclusiveEdge", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "305", + "s" : [ { + "value" : [ "", "define ", "NotContainsQuantityExclusiveEdge", ": " ] + }, { + "r" : "312", + "s" : [ { + "r" : "308", + "s" : [ { + "value" : [ "Interval(" ] + }, { + "r" : "306", + "s" : [ { + "value" : [ "1 ", "'mg'" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "307", + "s" : [ { + "value" : [ "5 ", "'mg'" ] + } ] + }, { + "value" : [ "]" ] + } ] + }, { + "value" : [ " contains " ] + }, { + "r" : "311", + "s" : [ { + "value" : [ "1 ", "'mg'" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Contains", + "localId" : "312", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "313", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "314", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } + }, { + "type" : "NamedTypeSpecifier", + "localId" : "315", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "Interval", + "localId" : "308", + "lowClosed" : false, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "309", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "310", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } + }, + "low" : { + "type" : "Quantity", + "localId" : "306", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "value" : 1, + "unit" : "mg", + "annotation" : [ ] + }, + "high" : { + "type" : "Quantity", + "localId" : "307", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "value" : 5, + "unit" : "mg", + "annotation" : [ ] + } + }, { + "type" : "Quantity", + "localId" : "311", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "value" : 1, + "unit" : "mg", + "annotation" : [ ] + } ] + } + }, { + "localId" : "318", + "name" : "DateIvlHighOpen", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "318", + "s" : [ { + "value" : [ "", "define ", "DateIvlHighOpen", ": " ] + }, { + "r" : "367", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "335", + "s" : [ { + "r" : "319", + "value" : [ "DateTime", "(", "2012", ", ", "3", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "359", + "s" : [ { + "r" : "343", + "value" : [ "DateTime", "(", "2012", ", ", "9", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "370", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "371", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "expression" : { + "type" : "Interval", + "localId" : "367", + "lowClosed" : true, + "highClosed" : false, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "368", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "369", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "DateTime", + "localId" : "335", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "336", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "337", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "338", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "339", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "340", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "341", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "342", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "319", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "320", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "321", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "322", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "323", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "324", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "325", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "359", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "360", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "361", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "362", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "363", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "364", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "365", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "366", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "343", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "344", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "9", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "345", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "346", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "347", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "348", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "349", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + } + } + }, { + "localId" : "374", + "name" : "DateIvlHighClosed", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "374", + "s" : [ { + "value" : [ "", "define ", "DateIvlHighClosed", ": " ] + }, { + "r" : "423", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "391", + "s" : [ { + "r" : "375", + "value" : [ "DateTime", "(", "2012", ", ", "3", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "415", + "s" : [ { + "r" : "399", + "value" : [ "DateTime", "(", "2012", ", ", "9", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ "]" ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "426", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "427", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "expression" : { + "type" : "Interval", + "localId" : "423", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "424", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "425", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "DateTime", + "localId" : "391", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "392", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "393", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "394", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "395", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "396", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "397", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "398", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "375", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "376", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "377", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "378", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "379", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "380", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "381", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "415", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "416", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "417", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "418", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "419", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "420", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "421", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "422", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "399", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "400", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "9", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "401", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "402", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "403", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "404", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "405", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + } + } + }, { + "localId" : "430", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "ContainsDate", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "430", + "s" : [ { + "value" : [ "", "define ", "ContainsDate", ": " ] + }, { + "r" : "458", + "s" : [ { + "r" : "431", + "s" : [ { + "value" : [ "DateIvlHighOpen" ] + } ] + }, { + "value" : [ " contains " ] + }, { + "r" : "450", + "s" : [ { + "r" : "434", + "value" : [ "DateTime", "(", "2012", ", ", "6", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Contains", + "localId" : "458", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "459", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "460", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, { + "type" : "NamedTypeSpecifier", + "localId" : "461", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "ExpressionRef", + "localId" : "431", + "name" : "DateIvlHighOpen", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "432", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "433", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + }, { + "type" : "DateTime", + "localId" : "450", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "451", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "452", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "453", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "454", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "455", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "456", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "457", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "434", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "435", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "6", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "436", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "437", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "438", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "439", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "440", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + } ] + } + }, { + "localId" : "464", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "NotContainsDate", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "464", + "s" : [ { + "value" : [ "", "define ", "NotContainsDate", ": " ] + }, { + "r" : "492", + "s" : [ { + "r" : "465", + "s" : [ { + "value" : [ "DateIvlHighOpen" ] + } ] + }, { + "value" : [ " contains " ] + }, { + "r" : "484", + "s" : [ { + "r" : "468", + "value" : [ "DateTime", "(", "2012", ", ", "9", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Contains", + "localId" : "492", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "493", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "494", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, { + "type" : "NamedTypeSpecifier", + "localId" : "495", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "ExpressionRef", + "localId" : "465", + "name" : "DateIvlHighOpen", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "466", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "467", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + }, { + "type" : "DateTime", + "localId" : "484", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "485", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "486", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "487", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "488", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "489", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "490", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "491", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "468", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "469", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "9", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "470", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "471", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "472", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "473", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "474", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + } ] + } + }, { + "localId" : "498", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "ContainsImpreciseDate", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "498", + "s" : [ { + "value" : [ "", "define ", "ContainsImpreciseDate", ": " ] + }, { + "r" : "511", + "s" : [ { + "r" : "499", + "s" : [ { + "value" : [ "DateIvlHighOpen" ] + } ] + }, { + "value" : [ " contains " ] + }, { + "r" : "508", + "s" : [ { + "r" : "502", + "value" : [ "DateTime", "(", "2012", ", ", "4", ")" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Contains", + "localId" : "511", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "512", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "513", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, { + "type" : "NamedTypeSpecifier", + "localId" : "514", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "ExpressionRef", + "localId" : "499", + "name" : "DateIvlHighOpen", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "500", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "501", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + }, { + "type" : "DateTime", + "localId" : "508", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "509", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "510", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "502", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "503", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "4", + "annotation" : [ ] + } + } ] + } + }, { + "localId" : "517", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "NotContainsImpreciseDate", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "517", + "s" : [ { + "value" : [ "", "define ", "NotContainsImpreciseDate", ": " ] + }, { + "r" : "530", + "s" : [ { + "r" : "518", + "s" : [ { + "value" : [ "DateIvlHighClosed" ] + } ] + }, { + "value" : [ " contains " ] + }, { + "r" : "527", + "s" : [ { + "r" : "521", + "value" : [ "DateTime", "(", "2012", ", ", "10", ")" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Contains", + "localId" : "530", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "531", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "532", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, { + "type" : "NamedTypeSpecifier", + "localId" : "533", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "ExpressionRef", + "localId" : "518", + "name" : "DateIvlHighClosed", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "519", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "520", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + }, { + "type" : "DateTime", + "localId" : "527", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "528", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "529", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "521", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "522", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "10", + "annotation" : [ ] + } + } ] + } + }, { + "localId" : "536", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "MayContainImpreciseDate", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "536", + "s" : [ { + "value" : [ "", "define ", "MayContainImpreciseDate", ": " ] + }, { + "r" : "546", + "s" : [ { + "r" : "537", + "s" : [ { + "value" : [ "DateIvlHighOpen" ] + } ] + }, { + "value" : [ " contains " ] + }, { + "r" : "544", + "s" : [ { + "r" : "540", + "value" : [ "DateTime", "(", "2012", ")" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Contains", + "localId" : "546", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "547", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "548", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, { + "type" : "NamedTypeSpecifier", + "localId" : "549", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "ExpressionRef", + "localId" : "537", + "name" : "DateIvlHighOpen", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "538", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "539", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + }, { + "type" : "DateTime", + "localId" : "544", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "545", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "540", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + } + } ] + } + }, { + "localId" : "552", + "name" : "PrecisionDateIvlHighOpen", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "552", + "s" : [ { + "value" : [ "", "define ", "PrecisionDateIvlHighOpen", ": " ] + }, { + "r" : "601", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "569", + "s" : [ { + "r" : "553", + "value" : [ "DateTime", "(", "2012", ", ", "3", ", ", "2", ", ", "12", ", ", "34", ", ", "56", ", ", "789", ")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "593", + "s" : [ { + "r" : "577", + "value" : [ "DateTime", "(", "2012", ", ", "9", ", ", "2", ", ", "1", ", ", "23", ", ", "45", ", ", "678", ")" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "604", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "605", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "expression" : { + "type" : "Interval", + "localId" : "601", + "lowClosed" : true, + "highClosed" : false, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "602", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "603", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "DateTime", + "localId" : "569", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "570", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "571", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "572", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "573", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "574", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "575", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "576", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "553", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "554", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "555", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "556", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "12", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "557", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "34", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "558", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "56", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "559", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "789", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "593", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "594", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "595", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "596", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "597", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "598", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "599", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "600", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "577", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "578", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "9", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "579", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "580", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "581", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "23", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "582", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "45", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "583", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "678", + "annotation" : [ ] + } + } + } + }, { + "localId" : "608", + "name" : "PrecisionDateIvlHighClosed", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "608", + "s" : [ { + "value" : [ "", "define ", "PrecisionDateIvlHighClosed", ": " ] + }, { + "r" : "657", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "625", + "s" : [ { + "r" : "609", + "value" : [ "DateTime", "(", "2012", ", ", "3", ", ", "2", ", ", "12", ", ", "34", ", ", "56", ", ", "789", ")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "649", + "s" : [ { + "r" : "633", + "value" : [ "DateTime", "(", "2012", ", ", "9", ", ", "2", ", ", "1", ", ", "23", ", ", "45", ", ", "678", ")" ] + } ] + }, { + "value" : [ "]" ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "660", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "661", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "expression" : { + "type" : "Interval", + "localId" : "657", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "658", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "659", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "DateTime", + "localId" : "625", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "626", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "627", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "628", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "629", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "630", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "631", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "632", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "609", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "610", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "611", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "612", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "12", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "613", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "34", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "614", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "56", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "615", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "789", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "649", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "650", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "651", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "652", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "653", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "654", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "655", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "656", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "633", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "634", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "9", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "635", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "636", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "637", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "23", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "638", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "45", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "639", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "678", + "annotation" : [ ] + } + } + } + }, { + "localId" : "664", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "ContainsDayOfDateLowEdge", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "664", + "s" : [ { + "value" : [ "", "define ", "ContainsDayOfDateLowEdge", ": " ] + }, { + "r" : "665", + "s" : [ { + "r" : "666", + "s" : [ { + "value" : [ "PrecisionDateIvlHighOpen" ] + } ] + }, { + "value" : [ " contains day of " ] + }, { + "r" : "685", + "s" : [ { + "r" : "669", + "value" : [ "DateTime", "(", "2012", ", ", "3", ", ", "2", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Contains", + "localId" : "665", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "precision" : "Day", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "693", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "694", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, { + "type" : "NamedTypeSpecifier", + "localId" : "695", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "ExpressionRef", + "localId" : "666", + "name" : "PrecisionDateIvlHighOpen", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "667", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "668", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + }, { + "type" : "DateTime", + "localId" : "685", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "686", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "687", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "688", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "689", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "690", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "691", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "692", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "669", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "670", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "671", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "672", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "673", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "674", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "675", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + } ] + } + }, { + "localId" : "698", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "NotContainsDayOfDateHighEdgeOpen", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "698", + "s" : [ { + "value" : [ "", "define ", "NotContainsDayOfDateHighEdgeOpen", ": " ] + }, { + "r" : "699", + "s" : [ { + "r" : "700", + "s" : [ { + "value" : [ "PrecisionDateIvlHighOpen" ] + } ] + }, { + "value" : [ " contains day of " ] + }, { + "r" : "719", + "s" : [ { + "r" : "703", + "value" : [ "DateTime", "(", "2012", ", ", "9", ", ", "2", ", ", "23", ", ", "59", ", ", "59", ", ", "999", ")" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Contains", + "localId" : "699", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "precision" : "Day", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "727", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "728", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, { + "type" : "NamedTypeSpecifier", + "localId" : "729", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "ExpressionRef", + "localId" : "700", + "name" : "PrecisionDateIvlHighOpen", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "701", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "702", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + }, { + "type" : "DateTime", + "localId" : "719", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "720", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "721", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "722", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "723", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "724", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "725", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "726", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "703", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "704", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "9", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "705", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "706", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "23", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "707", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "59", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "708", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "59", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "709", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "999", + "annotation" : [ ] + } + } ] + } + }, { + "localId" : "732", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "ContainsDayOfDateHighEdgeClosed", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "732", + "s" : [ { + "value" : [ "", "define ", "ContainsDayOfDateHighEdgeClosed", ": " ] + }, { + "r" : "733", + "s" : [ { + "r" : "734", + "s" : [ { + "value" : [ "PrecisionDateIvlHighClosed" ] + } ] + }, { + "value" : [ " contains day of " ] + }, { + "r" : "753", + "s" : [ { + "r" : "737", + "value" : [ "DateTime", "(", "2012", ", ", "9", ", ", "2", ", ", "23", ", ", "59", ", ", "59", ", ", "999", ")" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Contains", + "localId" : "733", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "precision" : "Day", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "761", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "762", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, { + "type" : "NamedTypeSpecifier", + "localId" : "763", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "ExpressionRef", + "localId" : "734", + "name" : "PrecisionDateIvlHighClosed", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "735", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "736", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + }, { + "type" : "DateTime", + "localId" : "753", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "754", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "755", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "756", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "757", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "758", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "759", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "760", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "737", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "738", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "9", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "739", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "740", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "23", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "741", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "59", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "742", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "59", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "743", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "999", + "annotation" : [ ] + } + } ] + } + }, { + "localId" : "766", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "NotContainsDayOfDateLowEdge", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "766", + "s" : [ { + "value" : [ "", "define ", "NotContainsDayOfDateLowEdge", ": " ] + }, { + "r" : "767", + "s" : [ { + "r" : "768", + "s" : [ { + "value" : [ "PrecisionDateIvlHighOpen" ] + } ] + }, { + "value" : [ " contains day of " ] + }, { + "r" : "787", + "s" : [ { + "r" : "771", + "value" : [ "DateTime", "(", "2012", ", ", "3", ", ", "1", ", ", "23", ", ", "59", ", ", "59", ", ", "999", ")" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Contains", + "localId" : "767", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "precision" : "Day", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "795", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "796", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, { + "type" : "NamedTypeSpecifier", + "localId" : "797", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "ExpressionRef", + "localId" : "768", + "name" : "PrecisionDateIvlHighOpen", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "769", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "770", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + }, { + "type" : "DateTime", + "localId" : "787", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "788", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "789", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "790", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "791", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "792", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "793", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "794", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "771", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "772", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "773", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "774", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "23", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "775", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "59", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "776", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "59", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "777", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "999", + "annotation" : [ ] + } + } ] + } + }, { + "localId" : "800", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "NotContainsDayOfDateBeyondHighEdge", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "800", + "s" : [ { + "value" : [ "", "define ", "NotContainsDayOfDateBeyondHighEdge", ": " ] + }, { + "r" : "801", + "s" : [ { + "r" : "802", + "s" : [ { + "value" : [ "PrecisionDateIvlHighOpen" ] + } ] + }, { + "value" : [ " contains day of " ] + }, { + "r" : "821", + "s" : [ { + "r" : "805", + "value" : [ "DateTime", "(", "2012", ", ", "9", ", ", "3", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Contains", + "localId" : "801", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "precision" : "Day", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "829", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "830", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, { + "type" : "NamedTypeSpecifier", + "localId" : "831", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "ExpressionRef", + "localId" : "802", + "name" : "PrecisionDateIvlHighOpen", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "803", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "804", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + }, { + "type" : "DateTime", + "localId" : "821", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "822", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "823", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "824", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "825", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "826", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "827", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "828", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "805", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "806", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "9", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "807", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "808", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "809", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "810", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "811", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + } ] + } + }, { + "localId" : "834", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "ContainsDayOfDateImpreciseLowEdge", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "834", + "s" : [ { + "value" : [ "", "define ", "ContainsDayOfDateImpreciseLowEdge", ": " ] + }, { + "r" : "835", + "s" : [ { + "r" : "836", + "s" : [ { + "value" : [ "PrecisionDateIvlHighOpen" ] + } ] + }, { + "value" : [ " contains day of " ] + }, { + "r" : "847", + "s" : [ { + "r" : "839", + "value" : [ "DateTime", "(", "2012", ", ", "3", ", ", "2", ")" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Contains", + "localId" : "835", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "precision" : "Day", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "851", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "852", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, { + "type" : "NamedTypeSpecifier", + "localId" : "853", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "ExpressionRef", + "localId" : "836", + "name" : "PrecisionDateIvlHighOpen", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "837", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "838", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + }, { + "type" : "DateTime", + "localId" : "847", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "848", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "849", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "850", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "839", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "840", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "841", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "annotation" : [ ] + } + } ] + } + }, { + "localId" : "856", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "NotContainsDayOfDateImpreciseHighEdgeOpen", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "856", + "s" : [ { + "value" : [ "", "define ", "NotContainsDayOfDateImpreciseHighEdgeOpen", ": " ] + }, { + "r" : "857", + "s" : [ { + "r" : "858", + "s" : [ { + "value" : [ "PrecisionDateIvlHighOpen" ] + } ] + }, { + "value" : [ " contains day of " ] + }, { + "r" : "869", + "s" : [ { + "r" : "861", + "value" : [ "DateTime", "(", "2012", ", ", "9", ", ", "2", ")" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Contains", + "localId" : "857", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "precision" : "Day", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "873", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "874", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, { + "type" : "NamedTypeSpecifier", + "localId" : "875", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "ExpressionRef", + "localId" : "858", + "name" : "PrecisionDateIvlHighOpen", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "859", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "860", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + }, { + "type" : "DateTime", + "localId" : "869", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "870", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "871", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "872", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "861", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "862", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "9", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "863", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "annotation" : [ ] + } + } ] + } + }, { + "localId" : "878", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "ContainsDayOfDateImpreciseHighEdgeClosed", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "878", + "s" : [ { + "value" : [ "", "define ", "ContainsDayOfDateImpreciseHighEdgeClosed", ": " ] + }, { + "r" : "879", + "s" : [ { + "r" : "880", + "s" : [ { + "value" : [ "PrecisionDateIvlHighClosed" ] + } ] + }, { + "value" : [ " contains day of " ] + }, { + "r" : "891", + "s" : [ { + "r" : "883", + "value" : [ "DateTime", "(", "2012", ", ", "9", ", ", "2", ")" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Contains", + "localId" : "879", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "precision" : "Day", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "895", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "896", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, { + "type" : "NamedTypeSpecifier", + "localId" : "897", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "ExpressionRef", + "localId" : "880", + "name" : "PrecisionDateIvlHighClosed", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "881", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "882", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + }, { + "type" : "DateTime", + "localId" : "891", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "892", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "893", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "894", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "883", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "884", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "9", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "885", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "annotation" : [ ] + } + } ] + } + }, { + "localId" : "900", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "ContainsDayOfDateVeryImpreciseMiddle", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "900", + "s" : [ { + "value" : [ "", "define ", "ContainsDayOfDateVeryImpreciseMiddle", ": " ] + }, { + "r" : "901", + "s" : [ { + "r" : "902", + "s" : [ { + "value" : [ "PrecisionDateIvlHighOpen" ] + } ] + }, { + "value" : [ " contains day of " ] + }, { + "r" : "911", + "s" : [ { + "r" : "905", + "value" : [ "DateTime", "(", "2012", ", ", "6", ")" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Contains", + "localId" : "901", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "precision" : "Day", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "914", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "915", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, { + "type" : "NamedTypeSpecifier", + "localId" : "916", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "ExpressionRef", + "localId" : "902", + "name" : "PrecisionDateIvlHighOpen", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "903", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "904", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + }, { + "type" : "DateTime", + "localId" : "911", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "912", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "913", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "905", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "906", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "6", + "annotation" : [ ] + } + } ] + } + }, { + "localId" : "919", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "NotContainsDayOfDateVeryImpreciseLow", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "919", + "s" : [ { + "value" : [ "", "define ", "NotContainsDayOfDateVeryImpreciseLow", ": " ] + }, { + "r" : "920", + "s" : [ { + "r" : "921", + "s" : [ { + "value" : [ "PrecisionDateIvlHighOpen" ] + } ] + }, { + "value" : [ " contains day of " ] + }, { + "r" : "930", + "s" : [ { + "r" : "924", + "value" : [ "DateTime", "(", "2012", ", ", "2", ")" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Contains", + "localId" : "920", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "precision" : "Day", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "933", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "934", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, { + "type" : "NamedTypeSpecifier", + "localId" : "935", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "ExpressionRef", + "localId" : "921", + "name" : "PrecisionDateIvlHighOpen", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "922", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "923", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + }, { + "type" : "DateTime", + "localId" : "930", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "931", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "932", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "924", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "925", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "annotation" : [ ] + } + } ] + } + }, { + "localId" : "938", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "NotContainsDayOfDateVeryImpreciseHighEdgeOpen", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "938", + "s" : [ { + "value" : [ "", "define ", "NotContainsDayOfDateVeryImpreciseHighEdgeOpen", ": " ] + }, { + "r" : "939", + "s" : [ { + "r" : "940", + "s" : [ { + "value" : [ "PrecisionDateIvlHighOpen" ] + } ] + }, { + "value" : [ " contains day of " ] + }, { + "r" : "949", + "s" : [ { + "r" : "943", + "value" : [ "DateTime", "(", "2012", ", ", "10", ")" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Contains", + "localId" : "939", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "precision" : "Day", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "952", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "953", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, { + "type" : "NamedTypeSpecifier", + "localId" : "954", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "ExpressionRef", + "localId" : "940", + "name" : "PrecisionDateIvlHighOpen", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "941", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "942", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + }, { + "type" : "DateTime", + "localId" : "949", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "950", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "951", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "943", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "944", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "10", + "annotation" : [ ] + } + } ] + } + }, { + "localId" : "957", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "MayContainDayOfDateVeryImpreciseLow", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "957", + "s" : [ { + "value" : [ "", "define ", "MayContainDayOfDateVeryImpreciseLow", ": " ] + }, { + "r" : "958", + "s" : [ { + "r" : "959", + "s" : [ { + "value" : [ "PrecisionDateIvlHighOpen" ] + } ] + }, { + "value" : [ " contains day of " ] + }, { + "r" : "968", + "s" : [ { + "r" : "962", + "value" : [ "DateTime", "(", "2012", ", ", "3", ")" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Contains", + "localId" : "958", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "precision" : "Day", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "971", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "972", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, { + "type" : "NamedTypeSpecifier", + "localId" : "973", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "ExpressionRef", + "localId" : "959", + "name" : "PrecisionDateIvlHighOpen", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "960", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "961", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + }, { + "type" : "DateTime", + "localId" : "968", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "969", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "970", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "962", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "963", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + } + } ] + } + }, { + "localId" : "976", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "MayContainDayOfDateVeryImpreciseHigh", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "976", + "s" : [ { + "value" : [ "", "define ", "MayContainDayOfDateVeryImpreciseHigh", ": " ] + }, { + "r" : "977", + "s" : [ { + "r" : "978", + "s" : [ { + "value" : [ "PrecisionDateIvlHighOpen" ] + } ] + }, { + "value" : [ " contains day of " ] + }, { + "r" : "987", + "s" : [ { + "r" : "981", + "value" : [ "DateTime", "(", "2012", ", ", "9", ")" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Contains", + "localId" : "977", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "precision" : "Day", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "990", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "991", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, { + "type" : "NamedTypeSpecifier", + "localId" : "992", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "ExpressionRef", + "localId" : "978", + "name" : "PrecisionDateIvlHighOpen", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "979", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "980", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + }, { + "type" : "DateTime", + "localId" : "987", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "988", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "989", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "981", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "982", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "9", + "annotation" : [ ] + } + } ] + } + }, { + "localId" : "995", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "MayContainDayOfDateVeryImpreciseSurrounding", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "995", + "s" : [ { + "value" : [ "", "define ", "MayContainDayOfDateVeryImpreciseSurrounding", ": " ] + }, { + "r" : "996", + "s" : [ { + "r" : "997", + "s" : [ { + "value" : [ "PrecisionDateIvlHighOpen" ] + } ] + }, { + "value" : [ " contains day of " ] + }, { + "r" : "1004", + "s" : [ { + "r" : "1000", + "value" : [ "DateTime", "(", "2012", ")" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Contains", + "localId" : "996", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "precision" : "Day", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "1006", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1007", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1008", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "ExpressionRef", + "localId" : "997", + "name" : "PrecisionDateIvlHighOpen", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "998", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "999", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + }, { + "type" : "DateTime", + "localId" : "1004", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1005", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1000", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + } + } ] + } + }, { + "localId" : "1011", + "name" : "ImpDateIvl", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "1011", + "s" : [ { + "value" : [ "", "define ", "ImpDateIvl", ": " ] + }, { + "r" : "1030", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "1018", + "s" : [ { + "r" : "1012", + "value" : [ "DateTime", "(", "2012", ", ", "3", ")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "1027", + "s" : [ { + "r" : "1021", + "value" : [ "DateTime", "(", "2012", ", ", "8", ")" ] + } ] + }, { + "value" : [ "]" ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1033", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1034", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "expression" : { + "type" : "Interval", + "localId" : "1030", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1031", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1032", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "DateTime", + "localId" : "1018", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1019", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1020", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1012", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1013", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "1027", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1028", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1029", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1021", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1022", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "8", + "annotation" : [ ] + } + } + } + }, { + "localId" : "1037", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "ImpreciseContainsDate", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "1037", + "s" : [ { + "value" : [ "", "define ", "ImpreciseContainsDate", ": " ] + }, { + "r" : "1065", + "s" : [ { + "r" : "1038", + "s" : [ { + "value" : [ "ImpDateIvl" ] + } ] + }, { + "value" : [ " contains " ] + }, { + "r" : "1057", + "s" : [ { + "r" : "1041", + "value" : [ "DateTime", "(", "2012", ", ", "6", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Contains", + "localId" : "1065", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "1066", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1067", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1068", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "ExpressionRef", + "localId" : "1038", + "name" : "ImpDateIvl", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1039", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1040", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + }, { + "type" : "DateTime", + "localId" : "1057", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1058", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1059", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1060", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1061", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1062", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1063", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1064", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1041", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1042", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "6", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "1043", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "1044", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "1045", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "1046", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "1047", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + } ] + } + }, { + "localId" : "1071", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "ImpreciseNotContainsDate", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "1071", + "s" : [ { + "value" : [ "", "define ", "ImpreciseNotContainsDate", ": " ] + }, { + "r" : "1099", + "s" : [ { + "r" : "1072", + "s" : [ { + "value" : [ "ImpDateIvl" ] + } ] + }, { + "value" : [ " contains " ] + }, { + "r" : "1091", + "s" : [ { + "r" : "1075", + "value" : [ "DateTime", "(", "2012", ", ", "9", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Contains", + "localId" : "1099", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "1100", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1101", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1102", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "ExpressionRef", + "localId" : "1072", + "name" : "ImpDateIvl", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1073", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1074", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + }, { + "type" : "DateTime", + "localId" : "1091", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1092", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1093", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1094", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1095", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1096", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1097", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1098", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1075", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1076", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "9", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "1077", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "1078", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "1079", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "1080", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "1081", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + } ] + } + }, { + "localId" : "1105", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "ImpreciseMayContainDate", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "1105", + "s" : [ { + "value" : [ "", "define ", "ImpreciseMayContainDate", ": " ] + }, { + "r" : "1133", + "s" : [ { + "r" : "1106", + "s" : [ { + "value" : [ "ImpDateIvl" ] + } ] + }, { + "value" : [ " contains " ] + }, { + "r" : "1125", + "s" : [ { + "r" : "1109", + "value" : [ "DateTime", "(", "2012", ", ", "3", ", ", "15", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Contains", + "localId" : "1133", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "1134", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1135", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1136", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "ExpressionRef", + "localId" : "1106", + "name" : "ImpDateIvl", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1107", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1108", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + }, { + "type" : "DateTime", + "localId" : "1125", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1126", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1127", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1128", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1129", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1130", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1131", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1132", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1109", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1110", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "1111", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "15", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "1112", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "1113", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "1114", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "1115", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + } ] + } + }, { + "localId" : "1139", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "NegInfBegContainsInt", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "1139", + "s" : [ { + "value" : [ "", "define ", "NegInfBegContainsInt", ": " ] + }, { + "r" : "1149", + "s" : [ { + "r" : "1142", + "s" : [ { + "r" : "1140", + "value" : [ "Interval[", "null", ", ", "5", "]" ] + } ] + }, { + "value" : [ " contains " ] + }, { + "r" : "1146", + "s" : [ { + "r" : "1147", + "value" : [ "-", "7" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Contains", + "localId" : "1149", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "1150", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1151", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1152", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "Interval", + "localId" : "1142", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1144", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1145", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "low" : { + "type" : "As", + "localId" : "1143", + "asType" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Null", + "localId" : "1140", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } + }, + "high" : { + "type" : "Literal", + "localId" : "1141", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "5", + "annotation" : [ ] + } + }, { + "type" : "Negate", + "localId" : "1146", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1148", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "operand" : { + "type" : "Literal", + "localId" : "1147", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "7", + "annotation" : [ ] + } + } ] + } + }, { + "localId" : "1155", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "NegInfBegNotContainsInt", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "1155", + "s" : [ { + "value" : [ "", "define ", "NegInfBegNotContainsInt", ": " ] + }, { + "r" : "1163", + "s" : [ { + "r" : "1158", + "s" : [ { + "r" : "1156", + "value" : [ "Interval[", "null", ", ", "5", "]" ] + } ] + }, { + "r" : "1162", + "value" : [ " contains ", "7" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Contains", + "localId" : "1163", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "1164", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1165", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1166", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "Interval", + "localId" : "1158", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1160", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1161", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "low" : { + "type" : "As", + "localId" : "1159", + "asType" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Null", + "localId" : "1156", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } + }, + "high" : { + "type" : "Literal", + "localId" : "1157", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "5", + "annotation" : [ ] + } + }, { + "type" : "Literal", + "localId" : "1162", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "7", + "annotation" : [ ] + } ] + } + }, { + "localId" : "1169", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "UnknownOpenBegContainsInt", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "1169", + "s" : [ { + "value" : [ "", "define ", "UnknownOpenBegContainsInt", ": " ] + }, { + "r" : "1177", + "s" : [ { + "r" : "1172", + "s" : [ { + "r" : "1170", + "value" : [ "Interval(", "null", ", ", "5", "]" ] + } ] + }, { + "r" : "1176", + "value" : [ " contains ", "5" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Contains", + "localId" : "1177", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "1178", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1179", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1180", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "Interval", + "localId" : "1172", + "lowClosed" : false, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1174", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1175", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "low" : { + "type" : "As", + "localId" : "1173", + "asType" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Null", + "localId" : "1170", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } + }, + "high" : { + "type" : "Literal", + "localId" : "1171", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "5", + "annotation" : [ ] + } + }, { + "type" : "Literal", + "localId" : "1176", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "5", + "annotation" : [ ] + } ] + } + }, { + "localId" : "1183", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "UnknownClosedBegContainsInt", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "1183", + "s" : [ { + "value" : [ "", "define ", "UnknownClosedBegContainsInt", ": " ] + }, { + "r" : "1191", + "s" : [ { + "r" : "1186", + "s" : [ { + "r" : "1184", + "value" : [ "Interval[", "null", ", ", "5", "]" ] + } ] + }, { + "r" : "1190", + "value" : [ " contains ", "5" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Contains", + "localId" : "1191", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "1192", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1193", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1194", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "Interval", + "localId" : "1186", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1188", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1189", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "low" : { + "type" : "As", + "localId" : "1187", + "asType" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Null", + "localId" : "1184", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } + }, + "high" : { + "type" : "Literal", + "localId" : "1185", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "5", + "annotation" : [ ] + } + }, { + "type" : "Literal", + "localId" : "1190", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "5", + "annotation" : [ ] + } ] + } + }, { + "localId" : "1197", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "UnknownBegMayContainInt", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "1197", + "s" : [ { + "value" : [ "", "define ", "UnknownBegMayContainInt", ": " ] + }, { + "r" : "1207", + "s" : [ { + "r" : "1200", + "s" : [ { + "r" : "1198", + "value" : [ "Interval(", "null", ", ", "5", "]" ] + } ] + }, { + "value" : [ " contains " ] + }, { + "r" : "1204", + "s" : [ { + "r" : "1205", + "value" : [ "-", "7" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Contains", + "localId" : "1207", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "1208", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1209", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1210", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "Interval", + "localId" : "1200", + "lowClosed" : false, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1202", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1203", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "low" : { + "type" : "As", + "localId" : "1201", + "asType" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Null", + "localId" : "1198", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } + }, + "high" : { + "type" : "Literal", + "localId" : "1199", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "5", + "annotation" : [ ] + } + }, { + "type" : "Negate", + "localId" : "1204", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1206", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "operand" : { + "type" : "Literal", + "localId" : "1205", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "7", + "annotation" : [ ] + } + } ] + } + }, { + "localId" : "1213", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "UnknownBegNotContainsInt", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "1213", + "s" : [ { + "value" : [ "", "define ", "UnknownBegNotContainsInt", ": " ] + }, { + "r" : "1221", + "s" : [ { + "r" : "1216", + "s" : [ { + "r" : "1214", + "value" : [ "Interval(", "null", ", ", "5", "]" ] + } ] + }, { + "r" : "1220", + "value" : [ " contains ", "7" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Contains", + "localId" : "1221", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "1222", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1223", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1224", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "Interval", + "localId" : "1216", + "lowClosed" : false, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1218", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1219", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "low" : { + "type" : "As", + "localId" : "1217", + "asType" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Null", + "localId" : "1214", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } + }, + "high" : { + "type" : "Literal", + "localId" : "1215", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "5", + "annotation" : [ ] + } + }, { + "type" : "Literal", + "localId" : "1220", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "7", + "annotation" : [ ] + } ] + } + }, { + "localId" : "1227", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "PosInfEndContainsInt", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "1227", + "s" : [ { + "value" : [ "", "define ", "PosInfEndContainsInt", ": " ] + }, { + "r" : "1235", + "s" : [ { + "r" : "1230", + "s" : [ { + "r" : "1228", + "value" : [ "Interval[", "0", ", ", "null", "]" ] + } ] + }, { + "r" : "1234", + "value" : [ " contains ", "123456789" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Contains", + "localId" : "1235", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "1236", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1237", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1238", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "Interval", + "localId" : "1230", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1232", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1233", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "low" : { + "type" : "Literal", + "localId" : "1228", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "high" : { + "type" : "As", + "localId" : "1231", + "asType" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Null", + "localId" : "1229", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } + } + }, { + "type" : "Literal", + "localId" : "1234", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "123456789", + "annotation" : [ ] + } ] + } + }, { + "localId" : "1241", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "PosInfEndNotContainsInt", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "1241", + "s" : [ { + "value" : [ "", "define ", "PosInfEndNotContainsInt", ": " ] + }, { + "r" : "1251", + "s" : [ { + "r" : "1244", + "s" : [ { + "r" : "1242", + "value" : [ "Interval[", "0", ", ", "null", "]" ] + } ] + }, { + "value" : [ " contains " ] + }, { + "r" : "1248", + "s" : [ { + "r" : "1249", + "value" : [ "-", "1" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Contains", + "localId" : "1251", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "1252", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1253", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1254", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "Interval", + "localId" : "1244", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1246", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1247", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "low" : { + "type" : "Literal", + "localId" : "1242", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "high" : { + "type" : "As", + "localId" : "1245", + "asType" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Null", + "localId" : "1243", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } + } + }, { + "type" : "Negate", + "localId" : "1248", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1250", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "operand" : { + "type" : "Literal", + "localId" : "1249", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + } + } ] + } + }, { + "localId" : "1257", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "UnknownOpenEndContainsInt", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "1257", + "s" : [ { + "value" : [ "", "define ", "UnknownOpenEndContainsInt", ": " ] + }, { + "r" : "1265", + "s" : [ { + "r" : "1260", + "s" : [ { + "r" : "1258", + "value" : [ "Interval[", "0", ", ", "null", ")" ] + } ] + }, { + "r" : "1264", + "value" : [ " contains ", "0" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Contains", + "localId" : "1265", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "1266", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1267", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1268", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "Interval", + "localId" : "1260", + "lowClosed" : true, + "highClosed" : false, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1262", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1263", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "low" : { + "type" : "Literal", + "localId" : "1258", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "high" : { + "type" : "As", + "localId" : "1261", + "asType" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Null", + "localId" : "1259", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } + } + }, { + "type" : "Literal", + "localId" : "1264", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } ] + } + }, { + "localId" : "1271", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "UnknownClosedEndContainsInt", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "1271", + "s" : [ { + "value" : [ "", "define ", "UnknownClosedEndContainsInt", ": " ] + }, { + "r" : "1279", + "s" : [ { + "r" : "1274", + "s" : [ { + "r" : "1272", + "value" : [ "Interval[", "0", ", ", "null", "]" ] + } ] + }, { + "r" : "1278", + "value" : [ " contains ", "0" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Contains", + "localId" : "1279", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "1280", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1281", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1282", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "Interval", + "localId" : "1274", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1276", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1277", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "low" : { + "type" : "Literal", + "localId" : "1272", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "high" : { + "type" : "As", + "localId" : "1275", + "asType" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Null", + "localId" : "1273", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } + } + }, { + "type" : "Literal", + "localId" : "1278", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } ] + } + }, { + "localId" : "1285", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "UnknownEndMayContainInt", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "1285", + "s" : [ { + "value" : [ "", "define ", "UnknownEndMayContainInt", ": " ] + }, { + "r" : "1293", + "s" : [ { + "r" : "1288", + "s" : [ { + "r" : "1286", + "value" : [ "Interval[", "0", ", ", "null", ")" ] + } ] + }, { + "r" : "1292", + "value" : [ " contains ", "123456789" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Contains", + "localId" : "1293", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "1294", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1295", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1296", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "Interval", + "localId" : "1288", + "lowClosed" : true, + "highClosed" : false, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1290", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1291", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "low" : { + "type" : "Literal", + "localId" : "1286", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "high" : { + "type" : "As", + "localId" : "1289", + "asType" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Null", + "localId" : "1287", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } + } + }, { + "type" : "Literal", + "localId" : "1292", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "123456789", + "annotation" : [ ] + } ] + } + }, { + "localId" : "1299", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "UnknownEndNotContainsInt", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "1299", + "s" : [ { + "value" : [ "", "define ", "UnknownEndNotContainsInt", ": " ] + }, { + "r" : "1309", + "s" : [ { + "r" : "1302", + "s" : [ { + "r" : "1300", + "value" : [ "Interval[", "0", ", ", "null", ")" ] + } ] + }, { + "value" : [ " contains " ] + }, { + "r" : "1306", + "s" : [ { + "r" : "1307", + "value" : [ "-", "1" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Contains", + "localId" : "1309", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "1310", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1311", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1312", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "Interval", + "localId" : "1302", + "lowClosed" : true, + "highClosed" : false, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1304", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1305", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "low" : { + "type" : "Literal", + "localId" : "1300", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "high" : { + "type" : "As", + "localId" : "1303", + "asType" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Null", + "localId" : "1301", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } + } + }, { + "type" : "Negate", + "localId" : "1306", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1308", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "operand" : { + "type" : "Literal", + "localId" : "1307", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + } + } ] + } + }, { + "localId" : "1315", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "NegInfBegContainsDate", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "1315", + "s" : [ { + "value" : [ "", "define ", "NegInfBegContainsDate", ": " ] + }, { + "r" : "1369", + "s" : [ { + "r" : "1341", + "s" : [ { + "r" : "1316", + "value" : [ "Interval[", "null", ", " ] + }, { + "r" : "1333", + "s" : [ { + "r" : "1317", + "value" : [ "DateTime", "(", "2013", ", ", "1", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ ")" ] + } ] + }, { + "value" : [ " contains " ] + }, { + "r" : "1361", + "s" : [ { + "r" : "1345", + "value" : [ "DateTime", "(", "1", ", ", "1", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Contains", + "localId" : "1369", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "1370", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1371", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1372", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "Interval", + "localId" : "1341", + "lowClosed" : true, + "highClosed" : false, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1343", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1344", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "As", + "localId" : "1342", + "asType" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Null", + "localId" : "1316", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "1333", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1334", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1335", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1336", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1337", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1338", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1339", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1340", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1317", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2013", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1318", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "1319", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "1320", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "1321", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "1322", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "1323", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + } + }, { + "type" : "DateTime", + "localId" : "1361", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1362", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1363", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1364", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1365", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1366", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1367", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1368", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1345", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1346", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "1347", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "1348", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "1349", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "1350", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "1351", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + } ] + } + }, { + "localId" : "1375", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "NegInfBegNotContainsDate", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "1375", + "s" : [ { + "value" : [ "", "define ", "NegInfBegNotContainsDate", ": " ] + }, { + "r" : "1429", + "s" : [ { + "r" : "1401", + "s" : [ { + "r" : "1376", + "value" : [ "Interval[", "null", ", " ] + }, { + "r" : "1393", + "s" : [ { + "r" : "1377", + "value" : [ "DateTime", "(", "2013", ", ", "1", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ ")" ] + } ] + }, { + "value" : [ " contains " ] + }, { + "r" : "1421", + "s" : [ { + "r" : "1405", + "value" : [ "DateTime", "(", "2013", ", ", "1", ", ", "2", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Contains", + "localId" : "1429", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "1430", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1431", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1432", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "Interval", + "localId" : "1401", + "lowClosed" : true, + "highClosed" : false, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1403", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1404", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "As", + "localId" : "1402", + "asType" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Null", + "localId" : "1376", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "1393", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1394", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1395", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1396", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1397", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1398", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1399", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1400", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1377", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2013", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1378", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "1379", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "1380", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "1381", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "1382", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "1383", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + } + }, { + "type" : "DateTime", + "localId" : "1421", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1422", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1423", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1424", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1425", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1426", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1427", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1428", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1405", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2013", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1406", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "1407", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "1408", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "1409", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "1410", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "1411", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + } ] + } + }, { + "localId" : "1435", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "UnknownOpenBegMayContainDate", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "1435", + "s" : [ { + "value" : [ "", "define ", "UnknownOpenBegMayContainDate", ": " ] + }, { + "r" : "1489", + "s" : [ { + "r" : "1461", + "s" : [ { + "r" : "1436", + "value" : [ "Interval(", "null", ", " ] + }, { + "r" : "1453", + "s" : [ { + "r" : "1437", + "value" : [ "DateTime", "(", "2013", ", ", "1", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ ")" ] + } ] + }, { + "value" : [ " contains " ] + }, { + "r" : "1481", + "s" : [ { + "r" : "1465", + "value" : [ "DateTime", "(", "2012", ", ", "12", ", ", "31", ", ", "23", ", ", "59", ", ", "59", ", ", "999", ")" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Contains", + "localId" : "1489", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "1490", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1491", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1492", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "Interval", + "localId" : "1461", + "lowClosed" : false, + "highClosed" : false, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1463", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1464", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "As", + "localId" : "1462", + "asType" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Null", + "localId" : "1436", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "1453", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1454", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1455", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1456", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1457", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1458", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1459", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1460", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1437", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2013", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1438", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "1439", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "1440", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "1441", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "1442", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "1443", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + } + }, { + "type" : "DateTime", + "localId" : "1481", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1482", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1483", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1484", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1485", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1486", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1487", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1488", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1465", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1466", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "12", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "1467", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "31", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "1468", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "23", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "1469", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "59", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "1470", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "59", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "1471", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "999", + "annotation" : [ ] + } + } ] + } + }, { + "localId" : "1495", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "UnknownClosedBegContainsDate", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "1495", + "s" : [ { + "value" : [ "", "define ", "UnknownClosedBegContainsDate", ": " ] + }, { + "r" : "1549", + "s" : [ { + "r" : "1521", + "s" : [ { + "r" : "1496", + "value" : [ "Interval[", "null", ", " ] + }, { + "r" : "1513", + "s" : [ { + "r" : "1497", + "value" : [ "DateTime", "(", "2013", ", ", "1", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ ")" ] + } ] + }, { + "value" : [ " contains " ] + }, { + "r" : "1541", + "s" : [ { + "r" : "1525", + "value" : [ "DateTime", "(", "2012", ", ", "12", ", ", "31", ", ", "23", ", ", "59", ", ", "59", ", ", "999", ")" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Contains", + "localId" : "1549", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "1550", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1551", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1552", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "Interval", + "localId" : "1521", + "lowClosed" : true, + "highClosed" : false, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1523", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1524", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "As", + "localId" : "1522", + "asType" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Null", + "localId" : "1496", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "1513", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1514", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1515", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1516", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1517", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1518", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1519", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1520", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1497", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2013", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1498", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "1499", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "1500", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "1501", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "1502", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "1503", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + } + }, { + "type" : "DateTime", + "localId" : "1541", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1542", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1543", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1544", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1545", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1546", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1547", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1548", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1525", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1526", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "12", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "1527", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "31", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "1528", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "23", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "1529", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "59", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "1530", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "59", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "1531", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "999", + "annotation" : [ ] + } + } ] + } + }, { + "localId" : "1555", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "UnknownBegMayContainDate", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "1555", + "s" : [ { + "value" : [ "", "define ", "UnknownBegMayContainDate", ": " ] + }, { + "r" : "1609", + "s" : [ { + "r" : "1581", + "s" : [ { + "r" : "1556", + "value" : [ "Interval(", "null", ", " ] + }, { + "r" : "1573", + "s" : [ { + "r" : "1557", + "value" : [ "DateTime", "(", "2013", ", ", "1", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ ")" ] + } ] + }, { + "value" : [ " contains " ] + }, { + "r" : "1601", + "s" : [ { + "r" : "1585", + "value" : [ "DateTime", "(", "1", ", ", "1", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Contains", + "localId" : "1609", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "1610", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1611", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1612", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "Interval", + "localId" : "1581", + "lowClosed" : false, + "highClosed" : false, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1583", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1584", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "As", + "localId" : "1582", + "asType" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Null", + "localId" : "1556", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "1573", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1574", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1575", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1576", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1577", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1578", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1579", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1580", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1557", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2013", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1558", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "1559", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "1560", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "1561", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "1562", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "1563", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + } + }, { + "type" : "DateTime", + "localId" : "1601", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1602", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1603", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1604", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1605", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1606", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1607", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1608", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1585", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1586", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "1587", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "1588", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "1589", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "1590", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "1591", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + } ] + } + }, { + "localId" : "1615", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "UnknownBegNotContainsDate", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "1615", + "s" : [ { + "value" : [ "", "define ", "UnknownBegNotContainsDate", ": " ] + }, { + "r" : "1669", + "s" : [ { + "r" : "1641", + "s" : [ { + "r" : "1616", + "value" : [ "Interval(", "null", ", " ] + }, { + "r" : "1633", + "s" : [ { + "r" : "1617", + "value" : [ "DateTime", "(", "2013", ", ", "1", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ ")" ] + } ] + }, { + "value" : [ " contains " ] + }, { + "r" : "1661", + "s" : [ { + "r" : "1645", + "value" : [ "DateTime", "(", "2013", ", ", "1", ", ", "2", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Contains", + "localId" : "1669", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "1670", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1671", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1672", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "Interval", + "localId" : "1641", + "lowClosed" : false, + "highClosed" : false, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1643", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1644", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "As", + "localId" : "1642", + "asType" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Null", + "localId" : "1616", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "1633", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1634", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1635", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1636", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1637", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1638", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1639", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1640", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1617", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2013", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1618", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "1619", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "1620", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "1621", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "1622", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "1623", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + } + }, { + "type" : "DateTime", + "localId" : "1661", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1662", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1663", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1664", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1665", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1666", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1667", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1668", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1645", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2013", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1646", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "1647", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "1648", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "1649", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "1650", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "1651", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + } ] + } + }, { + "localId" : "1675", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "PosInfEndContainsDate", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "1675", + "s" : [ { + "value" : [ "", "define ", "PosInfEndContainsDate", ": " ] + }, { + "r" : "1729", + "s" : [ { + "r" : "1701", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "1692", + "s" : [ { + "r" : "1676", + "value" : [ "DateTime", "(", "2013", ", ", "1", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "r" : "1700", + "value" : [ ", ", "null", "]" ] + } ] + }, { + "value" : [ " contains " ] + }, { + "r" : "1721", + "s" : [ { + "r" : "1705", + "value" : [ "DateTime", "(", "2014", ", ", "1", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Contains", + "localId" : "1729", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "1730", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1731", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1732", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "Interval", + "localId" : "1701", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1703", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1704", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "DateTime", + "localId" : "1692", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1693", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1694", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1695", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1696", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1697", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1698", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1699", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1676", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2013", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1677", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "1678", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "1679", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "1680", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "1681", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "1682", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + }, + "high" : { + "type" : "As", + "localId" : "1702", + "asType" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Null", + "localId" : "1700", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } + } + }, { + "type" : "DateTime", + "localId" : "1721", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1722", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1723", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1724", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1725", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1726", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1727", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1728", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1705", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2014", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1706", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "1707", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "1708", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "1709", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "1710", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "1711", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + } ] + } + }, { + "localId" : "1735", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "PosInfEndNotContainsDate", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "1735", + "s" : [ { + "value" : [ "", "define ", "PosInfEndNotContainsDate", ": " ] + }, { + "r" : "1789", + "s" : [ { + "r" : "1761", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "1752", + "s" : [ { + "r" : "1736", + "value" : [ "DateTime", "(", "2013", ", ", "1", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "r" : "1760", + "value" : [ ", ", "null", "]" ] + } ] + }, { + "value" : [ " contains " ] + }, { + "r" : "1781", + "s" : [ { + "r" : "1765", + "value" : [ "DateTime", "(", "2012", ", ", "1", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Contains", + "localId" : "1789", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "1790", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1791", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1792", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "Interval", + "localId" : "1761", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1763", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1764", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "DateTime", + "localId" : "1752", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1753", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1754", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1755", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1756", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1757", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1758", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1759", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1736", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2013", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1737", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "1738", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "1739", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "1740", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "1741", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "1742", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + }, + "high" : { + "type" : "As", + "localId" : "1762", + "asType" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Null", + "localId" : "1760", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } + } + }, { + "type" : "DateTime", + "localId" : "1781", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1782", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1783", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1784", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1785", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1786", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1787", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1788", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1765", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1766", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "1767", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "1768", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "1769", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "1770", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "1771", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + } ] + } + }, { + "localId" : "1795", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "UnknownOpenEndContainsDate", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "1795", + "s" : [ { + "value" : [ "", "define ", "UnknownOpenEndContainsDate", ": " ] + }, { + "r" : "1849", + "s" : [ { + "r" : "1821", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "1812", + "s" : [ { + "r" : "1796", + "value" : [ "DateTime", "(", "2013", ", ", "1", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "r" : "1820", + "value" : [ ", ", "null", ")" ] + } ] + }, { + "value" : [ " contains " ] + }, { + "r" : "1841", + "s" : [ { + "r" : "1825", + "value" : [ "DateTime", "(", "2013", ", ", "1", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Contains", + "localId" : "1849", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "1850", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1851", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1852", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "Interval", + "localId" : "1821", + "lowClosed" : true, + "highClosed" : false, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1823", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1824", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "DateTime", + "localId" : "1812", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1813", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1814", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1815", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1816", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1817", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1818", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1819", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1796", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2013", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1797", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "1798", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "1799", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "1800", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "1801", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "1802", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + }, + "high" : { + "type" : "As", + "localId" : "1822", + "asType" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Null", + "localId" : "1820", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } + } + }, { + "type" : "DateTime", + "localId" : "1841", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1842", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1843", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1844", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1845", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1846", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1847", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1848", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1825", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2013", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1826", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "1827", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "1828", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "1829", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "1830", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "1831", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + } ] + } + }, { + "localId" : "1855", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "UnknownClosedEndContainsDate", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "1855", + "s" : [ { + "value" : [ "", "define ", "UnknownClosedEndContainsDate", ": " ] + }, { + "r" : "1909", + "s" : [ { + "r" : "1881", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "1872", "s" : [ { - "value" : [ "","define ","UnknownBegMeetsBeforeDateIvl",": " ] - }, { - "r" : "1823", - "s" : [ { - "r" : "1768", - "s" : [ { - "r" : "1743", - "value" : [ "Interval(","null",", " ] - }, { - "r" : "1760", - "s" : [ { - "r" : "1744", - "value" : [ "DateTime","(","2013",", ","1",", ","1",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ ")" ] - } ] - }, { - "r" : "1823", - "value" : [ " ","meets after"," " ] - }, { - "r" : "1820", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "1788", - "s" : [ { - "r" : "1772", - "value" : [ "DateTime","(","2013",", ","1",", ","1",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "1812", - "s" : [ { - "r" : "1796", - "value" : [ "DateTime","(","2030",", ","1",", ","1",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ "]" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "1823", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "MeetsAfter", - "signature" : [ { - "localId" : "1824", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1825", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "1826", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1827", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "1768", - "lowClosed" : false, - "highClosed" : false, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "1770", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1771", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "1769", - "asType" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "As", - "signature" : [ ], - "operand" : { - "localId" : "1743", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - } - }, - "high" : { - "localId" : "1760", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "1761", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1762", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1763", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1764", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1765", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1766", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1767", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1744", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2013", - "type" : "Literal" - }, - "month" : { - "localId" : "1745", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "1746", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "1747", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "1748", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "1749", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "1750", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - } - }, { - "localId" : "1820", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "1821", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1822", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "1788", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "1789", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1790", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1791", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1792", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1793", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1794", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1795", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1772", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2013", - "type" : "Literal" - }, - "month" : { - "localId" : "1773", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "1774", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "1775", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "1776", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "1777", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "1778", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - }, - "high" : { - "localId" : "1812", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "1813", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1814", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1815", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1816", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1817", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1818", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1819", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1796", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2030", - "type" : "Literal" - }, - "month" : { - "localId" : "1797", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "1798", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "1799", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "1800", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "1801", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "1802", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - } - } ] - } - }, { - "localId" : "1830", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "UnknownBegMayMeetAfterDateIvl", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "1830", + "r" : "1856", + "value" : [ "DateTime", "(", "2013", ", ", "1", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "r" : "1880", + "value" : [ ", ", "null", "]" ] + } ] + }, { + "value" : [ " contains " ] + }, { + "r" : "1901", + "s" : [ { + "r" : "1885", + "value" : [ "DateTime", "(", "2013", ", ", "1", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Contains", + "localId" : "1909", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "1910", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1911", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1912", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "Interval", + "localId" : "1881", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1883", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1884", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "DateTime", + "localId" : "1872", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1873", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1874", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1875", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1876", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1877", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1878", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1879", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1856", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2013", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1857", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "1858", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "1859", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "1860", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "1861", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "1862", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + }, + "high" : { + "type" : "As", + "localId" : "1882", + "asType" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Null", + "localId" : "1880", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } + } + }, { + "type" : "DateTime", + "localId" : "1901", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1902", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1903", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1904", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1905", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1906", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1907", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1908", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1885", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2013", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1886", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "1887", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "1888", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "1889", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "1890", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "1891", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + } ] + } + }, { + "localId" : "1915", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "UnknownEndMayContainDate", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "1915", + "s" : [ { + "value" : [ "", "define ", "UnknownEndMayContainDate", ": " ] + }, { + "r" : "1969", + "s" : [ { + "r" : "1941", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "1932", + "s" : [ { + "r" : "1916", + "value" : [ "DateTime", "(", "2013", ", ", "1", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "r" : "1940", + "value" : [ ", ", "null", ")" ] + } ] + }, { + "value" : [ " contains " ] + }, { + "r" : "1961", + "s" : [ { + "r" : "1945", + "value" : [ "DateTime", "(", "2014", ", ", "1", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Contains", + "localId" : "1969", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "1970", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1971", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1972", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "Interval", + "localId" : "1941", + "lowClosed" : true, + "highClosed" : false, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1943", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1944", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "DateTime", + "localId" : "1932", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1933", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1934", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1935", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1936", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1937", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1938", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1939", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1916", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2013", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1917", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "1918", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "1919", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "1920", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "1921", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "1922", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + }, + "high" : { + "type" : "As", + "localId" : "1942", + "asType" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Null", + "localId" : "1940", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } + } + }, { + "type" : "DateTime", + "localId" : "1961", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1962", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1963", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1964", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1965", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1966", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1967", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1968", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1945", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2014", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1946", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "1947", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "1948", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "1949", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "1950", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "1951", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + } ] + } + }, { + "localId" : "1975", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "UnknownEndNotContainsDate", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "1975", + "s" : [ { + "value" : [ "", "define ", "UnknownEndNotContainsDate", ": " ] + }, { + "r" : "2029", + "s" : [ { + "r" : "2001", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "1992", "s" : [ { - "value" : [ "","define ","UnknownBegMayMeetAfterDateIvl",": " ] - }, { - "r" : "1911", - "s" : [ { - "r" : "1856", - "s" : [ { - "r" : "1831", - "value" : [ "Interval(","null",", " ] - }, { - "r" : "1848", - "s" : [ { - "r" : "1832", - "value" : [ "DateTime","(","2013",", ","1",", ","1",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ ")" ] - } ] - }, { - "r" : "1911", - "value" : [ " ","meets after"," " ] - }, { - "r" : "1908", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "1876", - "s" : [ { - "r" : "1860", - "value" : [ "DateTime","(","2000",", ","1",", ","1",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "1900", - "s" : [ { - "r" : "1884", - "value" : [ "DateTime","(","2010",", ","1",", ","1",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ "]" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "1911", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "MeetsAfter", - "signature" : [ { - "localId" : "1912", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1913", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "1914", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1915", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "1856", - "lowClosed" : false, - "highClosed" : false, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "1858", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1859", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "1857", - "asType" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "As", - "signature" : [ ], - "operand" : { - "localId" : "1831", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - } - }, - "high" : { - "localId" : "1848", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "1849", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1850", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1851", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1852", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1853", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1854", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1855", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1832", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2013", - "type" : "Literal" - }, - "month" : { - "localId" : "1833", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "1834", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "1835", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "1836", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "1837", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "1838", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - } - }, { - "localId" : "1908", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "1909", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1910", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "1876", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "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" - }, { - "localId" : "1879", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1880", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1881", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1882", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1883", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1860", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "1861", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "1862", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "1863", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "1864", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "1865", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "1866", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - }, - "high" : { - "localId" : "1900", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "1901", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1902", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1903", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1904", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1905", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1906", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1907", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1884", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2010", - "type" : "Literal" - }, - "month" : { - "localId" : "1885", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "1886", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "1887", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "1888", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "1889", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "1890", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - } - } ] - } - }, { - "localId" : "1918", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "UnknownBegNotMeetsDateIvl", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "1918", - "s" : [ { - "value" : [ "","define ","UnknownBegNotMeetsDateIvl",": " ] - }, { - "r" : "1999", - "s" : [ { - "r" : "1944", - "s" : [ { - "r" : "1919", - "value" : [ "Interval(","null",", " ] - }, { - "r" : "1936", - "s" : [ { - "r" : "1920", - "value" : [ "DateTime","(","2013",", ","1",", ","1",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ ")" ] - } ] - }, { - "r" : "1999", - "value" : [ " ","meets after"," " ] - }, { - "r" : "1996", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "1964", - "s" : [ { - "r" : "1948", - "value" : [ "DateTime","(","2000",", ","1",", ","1",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "1988", - "s" : [ { - "r" : "1972", - "value" : [ "DateTime","(","2020",", ","1",", ","1",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ "]" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "1999", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "MeetsAfter", - "signature" : [ { - "localId" : "2000", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "2001", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "2002", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "2003", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "1944", - "lowClosed" : false, - "highClosed" : false, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "1946", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1947", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "1945", - "asType" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "As", - "signature" : [ ], - "operand" : { - "localId" : "1919", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - } - }, - "high" : { - "localId" : "1936", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "1937", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1938", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1939", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1940", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1941", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1942", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1943", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1920", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2013", - "type" : "Literal" - }, - "month" : { - "localId" : "1921", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "1922", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "1923", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "1924", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "1925", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "1926", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - } - }, { - "localId" : "1996", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "1997", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1998", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "1964", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "1965", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1966", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1967", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1968", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1969", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1970", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1971", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1948", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "1949", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "1950", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "1951", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "1952", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "1953", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "1954", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - }, - "high" : { - "localId" : "1988", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "1989", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1990", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1991", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1992", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1993", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1994", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1995", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1972", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2020", - "type" : "Literal" - }, - "month" : { - "localId" : "1973", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "1974", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "1975", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "1976", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "1977", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "1978", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - } - } ] - } - }, { - "localId" : "2006", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "DateIvlMayMeetBeforeUnknownBeg", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "2006", - "s" : [ { - "value" : [ "","define ","DateIvlMayMeetBeforeUnknownBeg",": " ] - }, { - "r" : "2087", - "s" : [ { - "r" : "2055", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "2023", - "s" : [ { - "r" : "2007", - "value" : [ "DateTime","(","2000",", ","1",", ","1",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "2047", - "s" : [ { - "r" : "2031", - "value" : [ "DateTime","(","2010",", ","1",", ","1",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ "]" ] - } ] - }, { - "r" : "2087", - "value" : [ " ","meets after"," " ] - }, { - "r" : "2083", - "s" : [ { - "r" : "2058", - "value" : [ "Interval(","null",", " ] - }, { - "r" : "2075", - "s" : [ { - "r" : "2059", - "value" : [ "DateTime","(","2013",", ","1",", ","1",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ ")" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "2087", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "MeetsAfter", - "signature" : [ { - "localId" : "2088", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "2089", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "2090", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "2091", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "2055", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "2056", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "2057", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "2023", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "2024", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2025", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2026", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2027", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2028", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2029", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2030", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "2007", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "2008", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "2009", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "2010", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "2011", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "2012", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "2013", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - }, - "high" : { - "localId" : "2047", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "2048", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2049", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2050", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2051", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2052", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2053", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2054", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "2031", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2010", - "type" : "Literal" - }, - "month" : { - "localId" : "2032", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "2033", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "2034", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "2035", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "2036", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "2037", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - } - }, { - "localId" : "2083", - "lowClosed" : false, - "highClosed" : false, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "2085", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "2086", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "2084", - "asType" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "As", - "signature" : [ ], - "operand" : { - "localId" : "2058", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - } - }, - "high" : { - "localId" : "2075", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "2076", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2077", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2078", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2079", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2080", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2081", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2082", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "2059", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2013", - "type" : "Literal" - }, - "month" : { - "localId" : "2060", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "2061", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "2062", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "2063", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "2064", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "2065", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - } - } ] - } - }, { - "localId" : "2094", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "PosInfEndMeetsAfterDateIvl", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "2094", - "s" : [ { - "value" : [ "","define ","PosInfEndMeetsAfterDateIvl",": " ] - }, { - "r" : "2175", - "s" : [ { - "r" : "2120", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "2111", - "s" : [ { - "r" : "2095", - "value" : [ "DateTime","(","2013",", ","1",", ","1",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "r" : "2119", - "value" : [ ", ","null","]" ] - } ] - }, { - "r" : "2175", - "value" : [ " ","meets after"," " ] - }, { - "r" : "2172", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "2140", - "s" : [ { - "r" : "2124", - "value" : [ "DateTime","(","2000",", ","1",", ","1",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "2164", - "s" : [ { - "r" : "2148", - "value" : [ "DateTime","(","2013",", ","1",", ","1",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ ")" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "2175", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "MeetsAfter", - "signature" : [ { - "localId" : "2176", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "2177", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "2178", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "2179", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "2120", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "2122", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "2123", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "2111", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "2112", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2113", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2114", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2115", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2116", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2117", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2118", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "2095", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2013", - "type" : "Literal" - }, - "month" : { - "localId" : "2096", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "2097", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "2098", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "2099", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "2100", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "2101", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - }, - "high" : { - "localId" : "2121", - "asType" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "As", - "signature" : [ ], - "operand" : { - "localId" : "2119", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - } - } - }, { - "localId" : "2172", - "lowClosed" : true, - "highClosed" : false, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "2173", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "2174", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "2140", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "2141", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2142", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2143", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2144", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2145", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2146", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2147", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "2124", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "2125", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "2126", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "2127", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "2128", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "2129", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "2130", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - }, - "high" : { - "localId" : "2164", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "2165", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2166", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2167", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2168", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2169", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2170", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2171", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "2148", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2013", - "type" : "Literal" - }, - "month" : { - "localId" : "2149", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "2150", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "2151", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "2152", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "2153", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "2154", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - } - } ] - } - }, { - "localId" : "2182", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "PosInfEndNotMeetsDateIvl", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "2182", - "s" : [ { - "value" : [ "","define ","PosInfEndNotMeetsDateIvl",": " ] - }, { - "r" : "2263", - "s" : [ { - "r" : "2208", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "2199", - "s" : [ { - "r" : "2183", - "value" : [ "DateTime","(","2013",", ","1",", ","1",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "r" : "2207", - "value" : [ ", ","null","]" ] - } ] - }, { - "r" : "2263", - "value" : [ " ","meets after"," " ] - }, { - "r" : "2260", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "2228", - "s" : [ { - "r" : "2212", - "value" : [ "DateTime","(","2000",", ","1",", ","1",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "2252", - "s" : [ { - "r" : "2236", - "value" : [ "DateTime","(","2020",", ","1",", ","1",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ "]" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "2263", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "MeetsAfter", - "signature" : [ { - "localId" : "2264", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "2265", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "2266", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "2267", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "2208", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "2210", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "2211", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "2199", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "2200", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2201", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2202", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2203", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2204", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2205", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2206", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "2183", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2013", - "type" : "Literal" - }, - "month" : { - "localId" : "2184", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "2185", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "2186", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "2187", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "2188", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "2189", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - }, - "high" : { - "localId" : "2209", - "asType" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "As", - "signature" : [ ], - "operand" : { - "localId" : "2207", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - } - } - }, { - "localId" : "2260", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "2261", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "2262", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "2228", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "2229", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2230", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2231", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2232", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2233", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2234", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2235", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "2212", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "2213", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "2214", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "2215", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "2216", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "2217", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "2218", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - }, - "high" : { - "localId" : "2252", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "2253", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2254", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2255", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2256", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2257", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2258", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2259", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "2236", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2020", - "type" : "Literal" - }, - "month" : { - "localId" : "2237", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "2238", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "2239", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "2240", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "2241", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "2242", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - } - } ] - } - }, { - "localId" : "2270", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "DateIvlNotMeetsPosInfEnd", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "2270", - "s" : [ { - "value" : [ "","define ","DateIvlNotMeetsPosInfEnd",": " ] - }, { - "r" : "2351", - "s" : [ { - "r" : "2319", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "2287", - "s" : [ { - "r" : "2271", - "value" : [ "DateTime","(","2000",", ","1",", ","1",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "2311", - "s" : [ { - "r" : "2295", - "value" : [ "DateTime","(","2020",", ","1",", ","1",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ "]" ] - } ] - }, { - "r" : "2351", - "value" : [ " ","meets after"," " ] - }, { - "r" : "2347", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "2338", - "s" : [ { - "r" : "2322", - "value" : [ "DateTime","(","2013",", ","1",", ","1",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "r" : "2346", - "value" : [ ", ","null","]" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "2351", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "MeetsAfter", - "signature" : [ { - "localId" : "2352", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "2353", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "2354", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "2355", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "2319", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "2320", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "2321", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "2287", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "2288", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2289", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2290", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2291", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2292", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2293", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2294", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "2271", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "2272", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "2273", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "2274", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "2275", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "2276", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "2277", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - }, - "high" : { - "localId" : "2311", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "2312", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2313", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2314", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2315", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2316", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2317", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2318", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "2295", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2020", - "type" : "Literal" - }, - "month" : { - "localId" : "2296", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "2297", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "2298", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "2299", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "2300", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "2301", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - } - }, { - "localId" : "2347", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "2349", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "2350", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "2338", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "2339", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2340", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2341", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2342", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2343", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2344", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2345", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "2322", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2013", - "type" : "Literal" - }, - "month" : { - "localId" : "2323", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "2324", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "2325", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "2326", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "2327", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "2328", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - }, - "high" : { - "localId" : "2348", - "asType" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "As", - "signature" : [ ], - "operand" : { - "localId" : "2346", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - } - } - } ] - } - }, { - "localId" : "2358", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "UnknownEndMeetsAfterDateIvl", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "2358", + "r" : "1976", + "value" : [ "DateTime", "(", "2013", ", ", "1", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "r" : "2000", + "value" : [ ", ", "null", ")" ] + } ] + }, { + "value" : [ " contains " ] + }, { + "r" : "2021", + "s" : [ { + "r" : "2005", + "value" : [ "DateTime", "(", "2012", ", ", "1", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Contains", + "localId" : "2029", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "2030", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "2031", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2032", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "Interval", + "localId" : "2001", + "lowClosed" : true, + "highClosed" : false, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "2003", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "2004", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "DateTime", + "localId" : "1992", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1993", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1994", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1995", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1996", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1997", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1998", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1999", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1976", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2013", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1977", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "1978", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "1979", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "1980", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "1981", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "1982", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + }, + "high" : { + "type" : "As", + "localId" : "2002", + "asType" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Null", + "localId" : "2000", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } + } + }, { + "type" : "DateTime", + "localId" : "2021", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "2022", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2023", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2024", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2025", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2026", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2027", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2028", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "2005", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "2006", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "2007", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "2008", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "2009", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "2010", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "2011", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + } ] + } + } ] + } + } +} + +/* In +library TestSnippet version '1' +using Simple version '1.0.0' +context Patient +define ContainsInt: 3 in Interval[1, 5] +define NotContainsInt: 1 in Interval(1, 5] +define ContainsReal: 2.345 in Interval[1.234, 3.456] +define NotContainsReal: 4.567 in Interval[1.234, 3.456] +define ContainsQuantity: 5 'mg' in Interval[4 'mg', 6 'mg'] +define ContainsQuantityInclusiveEdge: 6 'mg' in Interval[4 'mg', 6 'mg'] +define NotContainsQuantity: 3 'mg' in Interval[4 'mg', 6 'mg'] +define NotContainsQuantityExclusiveEdge: 6 'mg' in Interval[4 'mg', 6 'mg') +define DateIvlHighOpen: Interval[DateTime(2012, 3, 1, 0, 0, 0, 0), DateTime(2012, 9, 1, 0, 0, 0, 0)) +define DateIvlHighClosed: Interval[DateTime(2012, 3, 1, 0, 0, 0, 0), DateTime(2012, 9, 1, 0, 0, 0, 0)] +define ContainsDate: DateTime(2012, 6, 1, 0, 0, 0, 0) in DateIvlHighClosed +define NotContainsDate: DateTime(2012, 9, 1, 0, 0, 0, 0) in DateIvlHighOpen +define ContainsImpreciseDate: DateTime(2012, 4) in DateIvlHighClosed +define NotContainsImpreciseDate: DateTime(2012, 10) in DateIvlHighClosed +define MayContainImpreciseDate: DateTime(2012) in DateIvlHighClosed +define PrecisionDateIvlHighOpen: Interval[DateTime(2012, 3, 2, 12, 34, 56, 789), DateTime(2012, 9, 2, 1, 23, 45, 678)) +define PrecisionDateIvlHighClosed: Interval[DateTime(2012, 3, 2, 12, 34, 56, 789), DateTime(2012, 9, 2, 1, 23, 45, 678)] +define ContainsDayOfDateLowEdge: DateTime(2012, 3, 2, 0, 0, 0, 0) in day of PrecisionDateIvlHighOpen +define NotContainsDayOfDateHighEdgeOpen: DateTime(2012, 9, 2, 23, 59, 59, 999) in day of PrecisionDateIvlHighOpen +define ContainsDayOfDateHighEdgeClosed: DateTime(2012, 9, 2, 23, 59, 59, 999) in day of PrecisionDateIvlHighClosed +define NotContainsDayOfDateLowEdge: DateTime(2012, 3, 1, 23, 59, 59, 999) in day of PrecisionDateIvlHighOpen +define NotContainsDayOfDateBeyondHighEdge: DateTime(2012, 9, 3, 0, 0, 0, 0) in day of PrecisionDateIvlHighOpen +define ContainsDayOfDateImpreciseLowEdge: DateTime(2012, 3, 2) in day of PrecisionDateIvlHighOpen +define NotContainsDayOfDateImpreciseHighEdgeOpen: DateTime(2012, 9, 2) in day of PrecisionDateIvlHighOpen +define ContainsDayOfDateImpreciseHighEdgeClosed: DateTime(2012, 9, 2) in day of PrecisionDateIvlHighClosed +define ContainsDayOfDateVeryImpreciseMiddle: DateTime(2012, 6) in day of PrecisionDateIvlHighOpen +define NotContainsDayOfDateVeryImpreciseLow: DateTime(2012, 2) in day of PrecisionDateIvlHighOpen +define NotContainsDayOfDateVeryImpreciseHighEdgeOpen: DateTime(2012, 10) in day of PrecisionDateIvlHighOpen +define MayContainDayOfDateVeryImpreciseLow: DateTime(2012, 3) in day of PrecisionDateIvlHighOpen +define MayContainDayOfDateVeryImpreciseHigh: DateTime(2012, 9) in day of PrecisionDateIvlHighOpen +define MayContainDayOfDateVeryImpreciseSurrounding: DateTime(2012) in day of PrecisionDateIvlHighOpen +define ImpDateIvl: Interval[DateTime(2012, 3), DateTime(2012, 8)] +define ImpreciseContainsDate: DateTime(2012, 6, 1, 0, 0, 0, 0) in ImpDateIvl +define ImpreciseNotContainsDate: DateTime(2012, 9, 1, 0, 0, 0, 0) in ImpDateIvl +define ImpreciseMayContainDate: DateTime(2012, 3, 15, 0, 0, 0, 0) in ImpDateIvl +define NegInfBegContainsInt: -7 in Interval[null, 5] +define NegInfBegNotContainsInt: 7 in Interval[null, 5] +define UnknownOpenBegContainsInt: 5 in Interval(null, 5] +define UnknownClosedBegContainsInt: 5 in Interval[null, 5] +define UnknownBegMayContainInt: -7 in Interval(null, 5] +define UnknownBegNotContainsInt: 7 in Interval(null, 5] +define PosInfEndContainsInt: 123456789 in Interval[0, null] +define PosInfEndNotContainsInt: -1 in Interval[0, null] +define UnknownOpenEndContainsInt: 0 in Interval[0, null) +define UnknownClosedEndContainsInt: 0 in Interval[0, null] +define UnknownEndMayContainInt: 123456789 in Interval[0, null) +define UnknownEndNotContainsInt: -1 in Interval[0, null) +define NegInfBegContainsDate: DateTime(1, 1, 1, 0, 0, 0, 0) in Interval[null, DateTime(2013, 1, 1, 0, 0, 0, 0)) +define NegInfBegNotContainsDate: DateTime(2013, 1, 2, 0, 0, 0, 0) in Interval[null, DateTime(2013, 1, 1, 0, 0, 0, 0)) +define UnknownOpenBegMayContainDate: DateTime(2012, 12, 31, 23, 59, 59, 999) in Interval(null, DateTime(2013, 1, 1, 0, 0, 0, 0)) +define UnknownClosedBegContainsDate: DateTime(2012, 12, 31, 23, 59, 59, 999) in Interval[null, DateTime(2013, 1, 1, 0, 0, 0, 0)) +define UnknownBegMayContainDate: DateTime(1, 1, 1, 0, 0, 0, 0) in Interval(null, DateTime(2013, 1, 1, 0, 0, 0, 0)) +define UnknownBegNotContainsDate: DateTime(2013, 1, 2, 0, 0, 0, 0) in Interval(null, DateTime(2013, 1, 1, 0, 0, 0, 0)) +define PosInfEndContainsDate: DateTime(2014, 1, 1, 0, 0, 0, 0) in Interval[DateTime(2013, 1, 1, 0, 0, 0, 0), null] +define PosInfEndNotContainsDate: DateTime(2012, 1, 1, 0, 0, 0, 0) in Interval[DateTime(2013, 1, 1, 0, 0, 0, 0), null] +define UnknownOpenEndContainsDate: DateTime(2013, 1, 1, 0, 0, 0, 0) in Interval[DateTime(2013, 1, 1, 0, 0, 0, 0), null) +define UnknownClosedEndContainsDate: DateTime(2013, 1, 1, 0, 0, 0, 0) in Interval[DateTime(2013, 1, 1, 0, 0, 0, 0), null] +define UnknownEndMayContainDate: DateTime(2014, 1, 1, 0, 0, 0, 0) in Interval[DateTime(2013, 1, 1, 0, 0, 0, 0), null) +define UnknownEndNotContainsDate: DateTime(2012, 1, 1, 0, 0, 0, 0) in Interval[DateTime(2013, 1, 1, 0, 0, 0, 0), null) +*/ + +module.exports['In'] = { + "library" : { + "localId" : "0", + "annotation" : [ { + "type" : "CqlToElmInfo", + "translatorVersion" : "4.2.0", + "translatorOptions" : "EnableDateRangeOptimization,EnableAnnotations,EnableResultTypes", + "signatureLevel" : "All" + }, { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "1975", + "s" : [ { + "value" : [ "", "library TestSnippet version '1'" ] + } ] + } + } ], + "identifier" : { + "id" : "TestSnippet", + "version" : "1" + }, + "schemaIdentifier" : { + "id" : "urn:hl7-org:elm", + "version" : "r1" + }, + "usings" : { + "def" : [ { + "localId" : "1", + "localIdentifier" : "System", + "uri" : "urn:hl7-org:elm-types:r1", + "annotation" : [ ] + }, { + "localId" : "206", + "localIdentifier" : "Simple", + "uri" : "https://github.com/cqframework/cql-execution/simple", + "version" : "1.0.0", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "206", + "s" : [ { + "value" : [ "", "using " ] + }, { + "s" : [ { + "value" : [ "Simple" ] + } ] + }, { + "value" : [ " version '1.0.0'" ] + } ] + } + } ] + } ] + }, + "contexts" : { + "def" : [ { + "localId" : "211", + "name" : "Patient", + "annotation" : [ ] + } ] + }, + "statements" : { + "def" : [ { + "localId" : "209", + "name" : "Patient", + "context" : "Patient", + "annotation" : [ ], + "expression" : { + "type" : "SingletonFrom", + "localId" : "210", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Retrieve", + "localId" : "208", + "dataType" : "{https://github.com/cqframework/cql-execution/simple}Patient", + "annotation" : [ ], + "include" : [ ], + "codeFilter" : [ ], + "dateFilter" : [ ], + "otherFilter" : [ ] + } + } + }, { + "localId" : "214", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "ContainsInt", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "214", + "s" : [ { + "value" : [ "", "define ", "ContainsInt", ": " ] + }, { + "r" : "221", + "s" : [ { + "r" : "215", + "value" : [ "3", " in " ] + }, { + "r" : "218", + "s" : [ { + "r" : "216", + "value" : [ "Interval[", "1", ", ", "5", "]" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "In", + "localId" : "221", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "222", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "223", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "224", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "Literal", + "localId" : "215", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, { + "type" : "Interval", + "localId" : "218", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "219", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "220", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "low" : { + "type" : "Literal", + "localId" : "216", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "high" : { + "type" : "Literal", + "localId" : "217", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "5", + "annotation" : [ ] + } + } ] + } + }, { + "localId" : "227", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "NotContainsInt", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "227", + "s" : [ { + "value" : [ "", "define ", "NotContainsInt", ": " ] + }, { + "r" : "234", + "s" : [ { + "r" : "228", + "value" : [ "1", " in " ] + }, { + "r" : "231", + "s" : [ { + "r" : "229", + "value" : [ "Interval(", "1", ", ", "5", "]" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "In", + "localId" : "234", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "235", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "236", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "237", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "Literal", + "localId" : "228", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, { + "type" : "Interval", + "localId" : "231", + "lowClosed" : false, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "232", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "233", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "low" : { + "type" : "Literal", + "localId" : "229", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "high" : { + "type" : "Literal", + "localId" : "230", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "5", + "annotation" : [ ] + } + } ] + } + }, { + "localId" : "240", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "ContainsReal", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "240", + "s" : [ { + "value" : [ "", "define ", "ContainsReal", ": " ] + }, { + "r" : "247", + "s" : [ { + "r" : "241", + "value" : [ "2.345", " in " ] + }, { + "r" : "244", + "s" : [ { + "r" : "242", + "value" : [ "Interval[", "1.234", ", ", "3.456", "]" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "In", + "localId" : "247", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "248", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "249", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "250", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "Literal", + "localId" : "241", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "2.345", + "annotation" : [ ] + }, { + "type" : "Interval", + "localId" : "244", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "245", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "246", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } + }, + "low" : { + "type" : "Literal", + "localId" : "242", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "1.234", + "annotation" : [ ] + }, + "high" : { + "type" : "Literal", + "localId" : "243", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "3.456", + "annotation" : [ ] + } + } ] + } + }, { + "localId" : "253", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "NotContainsReal", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "253", + "s" : [ { + "value" : [ "", "define ", "NotContainsReal", ": " ] + }, { + "r" : "260", + "s" : [ { + "r" : "254", + "value" : [ "4.567", " in " ] + }, { + "r" : "257", + "s" : [ { + "r" : "255", + "value" : [ "Interval[", "1.234", ", ", "3.456", "]" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "In", + "localId" : "260", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "261", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "262", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "263", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "Literal", + "localId" : "254", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "4.567", + "annotation" : [ ] + }, { + "type" : "Interval", + "localId" : "257", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "258", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "259", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } + }, + "low" : { + "type" : "Literal", + "localId" : "255", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "1.234", + "annotation" : [ ] + }, + "high" : { + "type" : "Literal", + "localId" : "256", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "3.456", + "annotation" : [ ] + } + } ] + } + }, { + "localId" : "266", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "ContainsQuantity", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "266", + "s" : [ { + "value" : [ "", "define ", "ContainsQuantity", ": " ] + }, { + "r" : "273", + "s" : [ { + "r" : "267", + "s" : [ { + "value" : [ "5 ", "'mg'" ] + } ] + }, { + "value" : [ " in " ] + }, { + "r" : "270", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "268", + "s" : [ { + "value" : [ "4 ", "'mg'" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "269", + "s" : [ { + "value" : [ "6 ", "'mg'" ] + } ] + }, { + "value" : [ "]" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "In", + "localId" : "273", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "274", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "275", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "276", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "Quantity", + "localId" : "267", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "value" : 5, + "unit" : "mg", + "annotation" : [ ] + }, { + "type" : "Interval", + "localId" : "270", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "271", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "272", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } + }, + "low" : { + "type" : "Quantity", + "localId" : "268", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "value" : 4, + "unit" : "mg", + "annotation" : [ ] + }, + "high" : { + "type" : "Quantity", + "localId" : "269", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "value" : 6, + "unit" : "mg", + "annotation" : [ ] + } + } ] + } + }, { + "localId" : "279", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "ContainsQuantityInclusiveEdge", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "279", + "s" : [ { + "value" : [ "", "define ", "ContainsQuantityInclusiveEdge", ": " ] + }, { + "r" : "286", + "s" : [ { + "r" : "280", + "s" : [ { + "value" : [ "6 ", "'mg'" ] + } ] + }, { + "value" : [ " in " ] + }, { + "r" : "283", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "281", + "s" : [ { + "value" : [ "4 ", "'mg'" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "282", + "s" : [ { + "value" : [ "6 ", "'mg'" ] + } ] + }, { + "value" : [ "]" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "In", + "localId" : "286", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "287", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "288", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "289", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "Quantity", + "localId" : "280", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "value" : 6, + "unit" : "mg", + "annotation" : [ ] + }, { + "type" : "Interval", + "localId" : "283", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "284", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "285", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } + }, + "low" : { + "type" : "Quantity", + "localId" : "281", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "value" : 4, + "unit" : "mg", + "annotation" : [ ] + }, + "high" : { + "type" : "Quantity", + "localId" : "282", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "value" : 6, + "unit" : "mg", + "annotation" : [ ] + } + } ] + } + }, { + "localId" : "292", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "NotContainsQuantity", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "292", + "s" : [ { + "value" : [ "", "define ", "NotContainsQuantity", ": " ] + }, { + "r" : "299", + "s" : [ { + "r" : "293", + "s" : [ { + "value" : [ "3 ", "'mg'" ] + } ] + }, { + "value" : [ " in " ] + }, { + "r" : "296", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "294", + "s" : [ { + "value" : [ "4 ", "'mg'" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "295", + "s" : [ { + "value" : [ "6 ", "'mg'" ] + } ] + }, { + "value" : [ "]" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "In", + "localId" : "299", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "300", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "301", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "302", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "Quantity", + "localId" : "293", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "value" : 3, + "unit" : "mg", + "annotation" : [ ] + }, { + "type" : "Interval", + "localId" : "296", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "297", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "298", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } + }, + "low" : { + "type" : "Quantity", + "localId" : "294", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "value" : 4, + "unit" : "mg", + "annotation" : [ ] + }, + "high" : { + "type" : "Quantity", + "localId" : "295", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "value" : 6, + "unit" : "mg", + "annotation" : [ ] + } + } ] + } + }, { + "localId" : "305", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "NotContainsQuantityExclusiveEdge", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "305", + "s" : [ { + "value" : [ "", "define ", "NotContainsQuantityExclusiveEdge", ": " ] + }, { + "r" : "312", + "s" : [ { + "r" : "306", + "s" : [ { + "value" : [ "6 ", "'mg'" ] + } ] + }, { + "value" : [ " in " ] + }, { + "r" : "309", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "307", + "s" : [ { + "value" : [ "4 ", "'mg'" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "308", + "s" : [ { + "value" : [ "6 ", "'mg'" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "In", + "localId" : "312", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "313", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "314", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "315", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "Quantity", + "localId" : "306", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "value" : 6, + "unit" : "mg", + "annotation" : [ ] + }, { + "type" : "Interval", + "localId" : "309", + "lowClosed" : true, + "highClosed" : false, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "310", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "311", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } + }, + "low" : { + "type" : "Quantity", + "localId" : "307", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "value" : 4, + "unit" : "mg", + "annotation" : [ ] + }, + "high" : { + "type" : "Quantity", + "localId" : "308", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "value" : 6, + "unit" : "mg", + "annotation" : [ ] + } + } ] + } + }, { + "localId" : "318", + "name" : "DateIvlHighOpen", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "318", + "s" : [ { + "value" : [ "", "define ", "DateIvlHighOpen", ": " ] + }, { + "r" : "367", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "335", + "s" : [ { + "r" : "319", + "value" : [ "DateTime", "(", "2012", ", ", "3", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "359", + "s" : [ { + "r" : "343", + "value" : [ "DateTime", "(", "2012", ", ", "9", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "370", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "371", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "expression" : { + "type" : "Interval", + "localId" : "367", + "lowClosed" : true, + "highClosed" : false, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "368", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "369", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "DateTime", + "localId" : "335", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "336", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "337", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "338", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "339", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "340", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "341", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "342", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "319", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "320", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "321", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "322", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "323", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "324", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "325", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "359", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "360", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "361", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "362", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "363", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "364", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "365", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "366", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "343", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "344", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "9", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "345", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "346", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "347", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "348", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "349", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + } + } + }, { + "localId" : "374", + "name" : "DateIvlHighClosed", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "374", + "s" : [ { + "value" : [ "", "define ", "DateIvlHighClosed", ": " ] + }, { + "r" : "423", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "391", + "s" : [ { + "r" : "375", + "value" : [ "DateTime", "(", "2012", ", ", "3", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "415", + "s" : [ { + "r" : "399", + "value" : [ "DateTime", "(", "2012", ", ", "9", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ "]" ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "426", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "427", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "expression" : { + "type" : "Interval", + "localId" : "423", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "424", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "425", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "DateTime", + "localId" : "391", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "392", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "393", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "394", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "395", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "396", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "397", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "398", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "375", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "376", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "377", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "378", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "379", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "380", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "381", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "415", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "416", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "417", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "418", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "419", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "420", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "421", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "422", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "399", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "400", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "9", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "401", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "402", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "403", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "404", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "405", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + } + } + }, { + "localId" : "430", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "ContainsDate", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "430", + "s" : [ { + "value" : [ "", "define ", "ContainsDate", ": " ] + }, { + "r" : "458", + "s" : [ { + "r" : "447", + "s" : [ { + "r" : "431", + "value" : [ "DateTime", "(", "2012", ", ", "6", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ " in " ] + }, { + "r" : "455", + "s" : [ { + "value" : [ "DateIvlHighClosed" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "In", + "localId" : "458", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "459", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "460", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "461", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "DateTime", + "localId" : "447", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "448", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "449", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "450", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "451", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "452", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "453", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "454", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "431", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "432", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "6", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "433", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "434", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "435", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "436", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "437", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + }, { + "type" : "ExpressionRef", + "localId" : "455", + "name" : "DateIvlHighClosed", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "456", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "457", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + } ] + } + }, { + "localId" : "464", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "NotContainsDate", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "464", + "s" : [ { + "value" : [ "", "define ", "NotContainsDate", ": " ] + }, { + "r" : "492", + "s" : [ { + "r" : "481", + "s" : [ { + "r" : "465", + "value" : [ "DateTime", "(", "2012", ", ", "9", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ " in " ] + }, { + "r" : "489", + "s" : [ { + "value" : [ "DateIvlHighOpen" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "In", + "localId" : "492", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "493", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "494", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "495", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "DateTime", + "localId" : "481", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "482", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "483", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "484", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "485", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "486", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "487", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "488", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "465", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "466", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "9", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "467", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "468", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "469", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "470", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "471", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + }, { + "type" : "ExpressionRef", + "localId" : "489", + "name" : "DateIvlHighOpen", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "490", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "491", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + } ] + } + }, { + "localId" : "498", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "ContainsImpreciseDate", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "498", + "s" : [ { + "value" : [ "", "define ", "ContainsImpreciseDate", ": " ] + }, { + "r" : "511", + "s" : [ { + "r" : "505", + "s" : [ { + "r" : "499", + "value" : [ "DateTime", "(", "2012", ", ", "4", ")" ] + } ] + }, { + "value" : [ " in " ] + }, { + "r" : "508", + "s" : [ { + "value" : [ "DateIvlHighClosed" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "In", + "localId" : "511", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "512", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "513", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "514", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "DateTime", + "localId" : "505", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "506", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "507", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "499", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "500", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "4", + "annotation" : [ ] + } + }, { + "type" : "ExpressionRef", + "localId" : "508", + "name" : "DateIvlHighClosed", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "509", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "510", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + } ] + } + }, { + "localId" : "517", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "NotContainsImpreciseDate", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "517", + "s" : [ { + "value" : [ "", "define ", "NotContainsImpreciseDate", ": " ] + }, { + "r" : "530", + "s" : [ { + "r" : "524", + "s" : [ { + "r" : "518", + "value" : [ "DateTime", "(", "2012", ", ", "10", ")" ] + } ] + }, { + "value" : [ " in " ] + }, { + "r" : "527", + "s" : [ { + "value" : [ "DateIvlHighClosed" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "In", + "localId" : "530", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "531", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "532", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "533", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "DateTime", + "localId" : "524", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "525", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "526", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "518", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "519", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "10", + "annotation" : [ ] + } + }, { + "type" : "ExpressionRef", + "localId" : "527", + "name" : "DateIvlHighClosed", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "528", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "529", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + } ] + } + }, { + "localId" : "536", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "MayContainImpreciseDate", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "536", + "s" : [ { + "value" : [ "", "define ", "MayContainImpreciseDate", ": " ] + }, { + "r" : "546", + "s" : [ { + "r" : "541", + "s" : [ { + "r" : "537", + "value" : [ "DateTime", "(", "2012", ")" ] + } ] + }, { + "value" : [ " in " ] + }, { + "r" : "543", + "s" : [ { + "value" : [ "DateIvlHighClosed" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "In", + "localId" : "546", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "547", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "548", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "549", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "DateTime", + "localId" : "541", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "542", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "537", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + } + }, { + "type" : "ExpressionRef", + "localId" : "543", + "name" : "DateIvlHighClosed", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "544", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "545", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + } ] + } + }, { + "localId" : "552", + "name" : "PrecisionDateIvlHighOpen", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "552", + "s" : [ { + "value" : [ "", "define ", "PrecisionDateIvlHighOpen", ": " ] + }, { + "r" : "601", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "569", + "s" : [ { + "r" : "553", + "value" : [ "DateTime", "(", "2012", ", ", "3", ", ", "2", ", ", "12", ", ", "34", ", ", "56", ", ", "789", ")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "593", + "s" : [ { + "r" : "577", + "value" : [ "DateTime", "(", "2012", ", ", "9", ", ", "2", ", ", "1", ", ", "23", ", ", "45", ", ", "678", ")" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "604", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "605", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "expression" : { + "type" : "Interval", + "localId" : "601", + "lowClosed" : true, + "highClosed" : false, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "602", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "603", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "DateTime", + "localId" : "569", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "570", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "571", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "572", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "573", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "574", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "575", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "576", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "553", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "554", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "555", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "556", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "12", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "557", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "34", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "558", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "56", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "559", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "789", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "593", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "594", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "595", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "596", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "597", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "598", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "599", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "600", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "577", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "578", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "9", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "579", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "580", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "581", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "23", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "582", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "45", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "583", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "678", + "annotation" : [ ] + } + } + } + }, { + "localId" : "608", + "name" : "PrecisionDateIvlHighClosed", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "608", + "s" : [ { + "value" : [ "", "define ", "PrecisionDateIvlHighClosed", ": " ] + }, { + "r" : "657", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "625", + "s" : [ { + "r" : "609", + "value" : [ "DateTime", "(", "2012", ", ", "3", ", ", "2", ", ", "12", ", ", "34", ", ", "56", ", ", "789", ")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "649", + "s" : [ { + "r" : "633", + "value" : [ "DateTime", "(", "2012", ", ", "9", ", ", "2", ", ", "1", ", ", "23", ", ", "45", ", ", "678", ")" ] + } ] + }, { + "value" : [ "]" ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "660", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "661", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "expression" : { + "type" : "Interval", + "localId" : "657", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "658", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "659", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "DateTime", + "localId" : "625", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "626", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "627", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "628", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "629", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "630", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "631", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "632", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "609", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "610", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "611", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "612", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "12", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "613", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "34", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "614", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "56", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "615", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "789", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "649", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "650", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "651", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "652", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "653", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "654", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "655", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "656", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "633", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "634", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "9", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "635", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "636", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "637", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "23", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "638", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "45", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "639", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "678", + "annotation" : [ ] + } + } + } + }, { + "localId" : "664", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "ContainsDayOfDateLowEdge", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "664", + "s" : [ { + "value" : [ "", "define ", "ContainsDayOfDateLowEdge", ": " ] + }, { + "r" : "665", + "s" : [ { + "r" : "682", + "s" : [ { + "r" : "666", + "value" : [ "DateTime", "(", "2012", ", ", "3", ", ", "2", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ " in day of " ] + }, { + "r" : "690", + "s" : [ { + "value" : [ "PrecisionDateIvlHighOpen" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "In", + "localId" : "665", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "precision" : "Day", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "693", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "694", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "695", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "DateTime", + "localId" : "682", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "683", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "684", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "685", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "686", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "687", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "688", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "689", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "666", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "667", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "668", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "669", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "670", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "671", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "672", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + }, { + "type" : "ExpressionRef", + "localId" : "690", + "name" : "PrecisionDateIvlHighOpen", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "691", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "692", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + } ] + } + }, { + "localId" : "698", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "NotContainsDayOfDateHighEdgeOpen", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "698", + "s" : [ { + "value" : [ "", "define ", "NotContainsDayOfDateHighEdgeOpen", ": " ] + }, { + "r" : "699", + "s" : [ { + "r" : "716", + "s" : [ { + "r" : "700", + "value" : [ "DateTime", "(", "2012", ", ", "9", ", ", "2", ", ", "23", ", ", "59", ", ", "59", ", ", "999", ")" ] + } ] + }, { + "value" : [ " in day of " ] + }, { + "r" : "724", + "s" : [ { + "value" : [ "PrecisionDateIvlHighOpen" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "In", + "localId" : "699", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "precision" : "Day", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "727", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "728", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "729", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "DateTime", + "localId" : "716", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "717", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "718", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "719", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "720", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "721", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "722", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "723", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "700", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "701", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "9", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "702", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "703", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "23", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "704", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "59", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "705", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "59", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "706", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "999", + "annotation" : [ ] + } + }, { + "type" : "ExpressionRef", + "localId" : "724", + "name" : "PrecisionDateIvlHighOpen", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "725", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "726", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + } ] + } + }, { + "localId" : "732", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "ContainsDayOfDateHighEdgeClosed", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "732", + "s" : [ { + "value" : [ "", "define ", "ContainsDayOfDateHighEdgeClosed", ": " ] + }, { + "r" : "733", + "s" : [ { + "r" : "750", + "s" : [ { + "r" : "734", + "value" : [ "DateTime", "(", "2012", ", ", "9", ", ", "2", ", ", "23", ", ", "59", ", ", "59", ", ", "999", ")" ] + } ] + }, { + "value" : [ " in day of " ] + }, { + "r" : "758", + "s" : [ { + "value" : [ "PrecisionDateIvlHighClosed" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "In", + "localId" : "733", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "precision" : "Day", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "761", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "762", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "763", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "DateTime", + "localId" : "750", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "751", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "752", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "753", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "754", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "755", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "756", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "757", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "734", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "735", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "9", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "736", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "737", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "23", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "738", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "59", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "739", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "59", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "740", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "999", + "annotation" : [ ] + } + }, { + "type" : "ExpressionRef", + "localId" : "758", + "name" : "PrecisionDateIvlHighClosed", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "759", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "760", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + } ] + } + }, { + "localId" : "766", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "NotContainsDayOfDateLowEdge", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "766", + "s" : [ { + "value" : [ "", "define ", "NotContainsDayOfDateLowEdge", ": " ] + }, { + "r" : "767", + "s" : [ { + "r" : "784", + "s" : [ { + "r" : "768", + "value" : [ "DateTime", "(", "2012", ", ", "3", ", ", "1", ", ", "23", ", ", "59", ", ", "59", ", ", "999", ")" ] + } ] + }, { + "value" : [ " in day of " ] + }, { + "r" : "792", + "s" : [ { + "value" : [ "PrecisionDateIvlHighOpen" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "In", + "localId" : "767", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "precision" : "Day", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "795", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "796", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "797", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "DateTime", + "localId" : "784", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "785", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "786", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "787", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "788", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "789", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "790", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "791", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "768", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "769", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "770", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "771", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "23", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "772", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "59", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "773", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "59", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "774", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "999", + "annotation" : [ ] + } + }, { + "type" : "ExpressionRef", + "localId" : "792", + "name" : "PrecisionDateIvlHighOpen", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "793", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "794", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + } ] + } + }, { + "localId" : "800", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "NotContainsDayOfDateBeyondHighEdge", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "800", + "s" : [ { + "value" : [ "", "define ", "NotContainsDayOfDateBeyondHighEdge", ": " ] + }, { + "r" : "801", + "s" : [ { + "r" : "818", + "s" : [ { + "r" : "802", + "value" : [ "DateTime", "(", "2012", ", ", "9", ", ", "3", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ " in day of " ] + }, { + "r" : "826", + "s" : [ { + "value" : [ "PrecisionDateIvlHighOpen" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "In", + "localId" : "801", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "precision" : "Day", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "829", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "830", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "831", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "DateTime", + "localId" : "818", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "819", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "820", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "821", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "822", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "823", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "824", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "825", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "802", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "803", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "9", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "804", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "805", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "806", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "807", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "808", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + }, { + "type" : "ExpressionRef", + "localId" : "826", + "name" : "PrecisionDateIvlHighOpen", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "827", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "828", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + } ] + } + }, { + "localId" : "834", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "ContainsDayOfDateImpreciseLowEdge", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "834", + "s" : [ { + "value" : [ "", "define ", "ContainsDayOfDateImpreciseLowEdge", ": " ] + }, { + "r" : "835", + "s" : [ { + "r" : "844", + "s" : [ { + "r" : "836", + "value" : [ "DateTime", "(", "2012", ", ", "3", ", ", "2", ")" ] + } ] + }, { + "value" : [ " in day of " ] + }, { + "r" : "848", + "s" : [ { + "value" : [ "PrecisionDateIvlHighOpen" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "In", + "localId" : "835", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "precision" : "Day", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "851", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "852", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "853", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "DateTime", + "localId" : "844", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "845", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "846", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "847", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "836", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "837", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "838", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "annotation" : [ ] + } + }, { + "type" : "ExpressionRef", + "localId" : "848", + "name" : "PrecisionDateIvlHighOpen", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "849", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "850", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + } ] + } + }, { + "localId" : "856", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "NotContainsDayOfDateImpreciseHighEdgeOpen", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "856", + "s" : [ { + "value" : [ "", "define ", "NotContainsDayOfDateImpreciseHighEdgeOpen", ": " ] + }, { + "r" : "857", + "s" : [ { + "r" : "866", + "s" : [ { + "r" : "858", + "value" : [ "DateTime", "(", "2012", ", ", "9", ", ", "2", ")" ] + } ] + }, { + "value" : [ " in day of " ] + }, { + "r" : "870", + "s" : [ { + "value" : [ "PrecisionDateIvlHighOpen" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "In", + "localId" : "857", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "precision" : "Day", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "873", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "874", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "875", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "DateTime", + "localId" : "866", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "867", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "868", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "869", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "858", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "859", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "9", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "860", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "annotation" : [ ] + } + }, { + "type" : "ExpressionRef", + "localId" : "870", + "name" : "PrecisionDateIvlHighOpen", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "871", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "872", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + } ] + } + }, { + "localId" : "878", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "ContainsDayOfDateImpreciseHighEdgeClosed", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "878", + "s" : [ { + "value" : [ "", "define ", "ContainsDayOfDateImpreciseHighEdgeClosed", ": " ] + }, { + "r" : "879", + "s" : [ { + "r" : "888", + "s" : [ { + "r" : "880", + "value" : [ "DateTime", "(", "2012", ", ", "9", ", ", "2", ")" ] + } ] + }, { + "value" : [ " in day of " ] + }, { + "r" : "892", + "s" : [ { + "value" : [ "PrecisionDateIvlHighClosed" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "In", + "localId" : "879", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "precision" : "Day", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "895", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "896", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "897", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "DateTime", + "localId" : "888", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "889", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "890", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "891", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "880", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "881", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "9", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "882", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "annotation" : [ ] + } + }, { + "type" : "ExpressionRef", + "localId" : "892", + "name" : "PrecisionDateIvlHighClosed", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "893", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "894", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + } ] + } + }, { + "localId" : "900", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "ContainsDayOfDateVeryImpreciseMiddle", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "900", + "s" : [ { + "value" : [ "", "define ", "ContainsDayOfDateVeryImpreciseMiddle", ": " ] + }, { + "r" : "901", + "s" : [ { + "r" : "908", + "s" : [ { + "r" : "902", + "value" : [ "DateTime", "(", "2012", ", ", "6", ")" ] + } ] + }, { + "value" : [ " in day of " ] + }, { + "r" : "911", + "s" : [ { + "value" : [ "PrecisionDateIvlHighOpen" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "In", + "localId" : "901", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "precision" : "Day", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "914", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "915", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "916", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "DateTime", + "localId" : "908", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "909", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "910", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "902", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "903", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "6", + "annotation" : [ ] + } + }, { + "type" : "ExpressionRef", + "localId" : "911", + "name" : "PrecisionDateIvlHighOpen", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "912", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "913", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + } ] + } + }, { + "localId" : "919", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "NotContainsDayOfDateVeryImpreciseLow", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "919", + "s" : [ { + "value" : [ "", "define ", "NotContainsDayOfDateVeryImpreciseLow", ": " ] + }, { + "r" : "920", + "s" : [ { + "r" : "927", + "s" : [ { + "r" : "921", + "value" : [ "DateTime", "(", "2012", ", ", "2", ")" ] + } ] + }, { + "value" : [ " in day of " ] + }, { + "r" : "930", + "s" : [ { + "value" : [ "PrecisionDateIvlHighOpen" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "In", + "localId" : "920", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "precision" : "Day", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "933", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "934", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "935", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "DateTime", + "localId" : "927", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "928", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "929", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "921", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "922", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "annotation" : [ ] + } + }, { + "type" : "ExpressionRef", + "localId" : "930", + "name" : "PrecisionDateIvlHighOpen", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "931", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "932", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + } ] + } + }, { + "localId" : "938", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "NotContainsDayOfDateVeryImpreciseHighEdgeOpen", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "938", + "s" : [ { + "value" : [ "", "define ", "NotContainsDayOfDateVeryImpreciseHighEdgeOpen", ": " ] + }, { + "r" : "939", + "s" : [ { + "r" : "946", + "s" : [ { + "r" : "940", + "value" : [ "DateTime", "(", "2012", ", ", "10", ")" ] + } ] + }, { + "value" : [ " in day of " ] + }, { + "r" : "949", + "s" : [ { + "value" : [ "PrecisionDateIvlHighOpen" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "In", + "localId" : "939", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "precision" : "Day", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "952", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "953", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "954", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "DateTime", + "localId" : "946", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "947", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "948", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "940", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "941", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "10", + "annotation" : [ ] + } + }, { + "type" : "ExpressionRef", + "localId" : "949", + "name" : "PrecisionDateIvlHighOpen", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "950", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "951", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + } ] + } + }, { + "localId" : "957", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "MayContainDayOfDateVeryImpreciseLow", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "957", + "s" : [ { + "value" : [ "", "define ", "MayContainDayOfDateVeryImpreciseLow", ": " ] + }, { + "r" : "958", + "s" : [ { + "r" : "965", + "s" : [ { + "r" : "959", + "value" : [ "DateTime", "(", "2012", ", ", "3", ")" ] + } ] + }, { + "value" : [ " in day of " ] + }, { + "r" : "968", + "s" : [ { + "value" : [ "PrecisionDateIvlHighOpen" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "In", + "localId" : "958", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "precision" : "Day", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "971", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "972", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "973", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "DateTime", + "localId" : "965", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "966", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "967", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "959", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "960", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + } + }, { + "type" : "ExpressionRef", + "localId" : "968", + "name" : "PrecisionDateIvlHighOpen", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "969", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "970", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + } ] + } + }, { + "localId" : "976", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "MayContainDayOfDateVeryImpreciseHigh", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "976", + "s" : [ { + "value" : [ "", "define ", "MayContainDayOfDateVeryImpreciseHigh", ": " ] + }, { + "r" : "977", + "s" : [ { + "r" : "984", + "s" : [ { + "r" : "978", + "value" : [ "DateTime", "(", "2012", ", ", "9", ")" ] + } ] + }, { + "value" : [ " in day of " ] + }, { + "r" : "987", + "s" : [ { + "value" : [ "PrecisionDateIvlHighOpen" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "In", + "localId" : "977", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "precision" : "Day", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "990", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "991", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "992", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "DateTime", + "localId" : "984", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "985", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "986", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "978", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "979", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "9", + "annotation" : [ ] + } + }, { + "type" : "ExpressionRef", + "localId" : "987", + "name" : "PrecisionDateIvlHighOpen", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "988", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "989", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + } ] + } + }, { + "localId" : "995", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "MayContainDayOfDateVeryImpreciseSurrounding", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "995", + "s" : [ { + "value" : [ "", "define ", "MayContainDayOfDateVeryImpreciseSurrounding", ": " ] + }, { + "r" : "996", + "s" : [ { + "r" : "1001", + "s" : [ { + "r" : "997", + "value" : [ "DateTime", "(", "2012", ")" ] + } ] + }, { + "value" : [ " in day of " ] + }, { + "r" : "1003", + "s" : [ { + "value" : [ "PrecisionDateIvlHighOpen" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "In", + "localId" : "996", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "precision" : "Day", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1006", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "1007", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1008", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "DateTime", + "localId" : "1001", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1002", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "997", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + } + }, { + "type" : "ExpressionRef", + "localId" : "1003", + "name" : "PrecisionDateIvlHighOpen", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1004", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1005", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + } ] + } + }, { + "localId" : "1011", + "name" : "ImpDateIvl", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "1011", + "s" : [ { + "value" : [ "", "define ", "ImpDateIvl", ": " ] + }, { + "r" : "1030", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "1018", + "s" : [ { + "r" : "1012", + "value" : [ "DateTime", "(", "2012", ", ", "3", ")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "1027", + "s" : [ { + "r" : "1021", + "value" : [ "DateTime", "(", "2012", ", ", "8", ")" ] + } ] + }, { + "value" : [ "]" ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1033", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1034", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "expression" : { + "type" : "Interval", + "localId" : "1030", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1031", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1032", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "DateTime", + "localId" : "1018", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1019", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1020", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1012", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1013", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "1027", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1028", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1029", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1021", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1022", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "8", + "annotation" : [ ] + } + } + } + }, { + "localId" : "1037", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "ImpreciseContainsDate", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "1037", + "s" : [ { + "value" : [ "", "define ", "ImpreciseContainsDate", ": " ] + }, { + "r" : "1065", + "s" : [ { + "r" : "1054", + "s" : [ { + "r" : "1038", + "value" : [ "DateTime", "(", "2012", ", ", "6", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ " in " ] + }, { + "r" : "1062", + "s" : [ { + "value" : [ "ImpDateIvl" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "In", + "localId" : "1065", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1066", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "1067", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1068", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "DateTime", + "localId" : "1054", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1055", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1056", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1057", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1058", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1059", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1060", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1061", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1038", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1039", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "6", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "1040", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "1041", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "1042", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "1043", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "1044", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + }, { + "type" : "ExpressionRef", + "localId" : "1062", + "name" : "ImpDateIvl", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1063", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1064", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + } ] + } + }, { + "localId" : "1071", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "ImpreciseNotContainsDate", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "1071", + "s" : [ { + "value" : [ "", "define ", "ImpreciseNotContainsDate", ": " ] + }, { + "r" : "1099", + "s" : [ { + "r" : "1088", + "s" : [ { + "r" : "1072", + "value" : [ "DateTime", "(", "2012", ", ", "9", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ " in " ] + }, { + "r" : "1096", + "s" : [ { + "value" : [ "ImpDateIvl" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "In", + "localId" : "1099", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1100", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "1101", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1102", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "DateTime", + "localId" : "1088", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1089", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1090", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1091", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1092", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1093", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1094", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1095", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1072", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1073", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "9", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "1074", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "1075", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "1076", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "1077", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "1078", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + }, { + "type" : "ExpressionRef", + "localId" : "1096", + "name" : "ImpDateIvl", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1097", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1098", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + } ] + } + }, { + "localId" : "1105", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "ImpreciseMayContainDate", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "1105", + "s" : [ { + "value" : [ "", "define ", "ImpreciseMayContainDate", ": " ] + }, { + "r" : "1133", + "s" : [ { + "r" : "1122", + "s" : [ { + "r" : "1106", + "value" : [ "DateTime", "(", "2012", ", ", "3", ", ", "15", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ " in " ] + }, { + "r" : "1130", + "s" : [ { + "value" : [ "ImpDateIvl" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "In", + "localId" : "1133", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1134", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "1135", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1136", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "DateTime", + "localId" : "1122", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1123", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1124", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1125", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1126", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1127", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1128", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1129", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1106", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1107", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "1108", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "15", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "1109", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "1110", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "1111", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "1112", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + }, { + "type" : "ExpressionRef", + "localId" : "1130", + "name" : "ImpDateIvl", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1131", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1132", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + } ] + } + }, { + "localId" : "1139", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "NegInfBegContainsInt", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "1139", + "s" : [ { + "value" : [ "", "define ", "NegInfBegContainsInt", ": " ] + }, { + "r" : "1149", + "s" : [ { + "r" : "1140", + "s" : [ { + "r" : "1141", + "value" : [ "-", "7" ] + } ] + }, { + "value" : [ " in " ] + }, { + "r" : "1145", + "s" : [ { + "r" : "1143", + "value" : [ "Interval[", "null", ", ", "5", "]" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "In", + "localId" : "1149", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1150", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "1151", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1152", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "Negate", + "localId" : "1140", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1142", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "operand" : { + "type" : "Literal", + "localId" : "1141", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "7", + "annotation" : [ ] + } + }, { + "type" : "Interval", + "localId" : "1145", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1147", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1148", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "low" : { + "type" : "As", + "localId" : "1146", + "asType" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Null", + "localId" : "1143", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } + }, + "high" : { + "type" : "Literal", + "localId" : "1144", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "5", + "annotation" : [ ] + } + } ] + } + }, { + "localId" : "1155", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "NegInfBegNotContainsInt", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "1155", + "s" : [ { + "value" : [ "", "define ", "NegInfBegNotContainsInt", ": " ] + }, { + "r" : "1163", + "s" : [ { + "r" : "1156", + "value" : [ "7", " in " ] + }, { + "r" : "1159", + "s" : [ { + "r" : "1157", + "value" : [ "Interval[", "null", ", ", "5", "]" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "In", + "localId" : "1163", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1164", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "1165", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1166", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "Literal", + "localId" : "1156", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "7", + "annotation" : [ ] + }, { + "type" : "Interval", + "localId" : "1159", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1161", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1162", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "low" : { + "type" : "As", + "localId" : "1160", + "asType" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Null", + "localId" : "1157", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } + }, + "high" : { + "type" : "Literal", + "localId" : "1158", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "5", + "annotation" : [ ] + } + } ] + } + }, { + "localId" : "1169", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "UnknownOpenBegContainsInt", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "1169", + "s" : [ { + "value" : [ "", "define ", "UnknownOpenBegContainsInt", ": " ] + }, { + "r" : "1177", + "s" : [ { + "r" : "1170", + "value" : [ "5", " in " ] + }, { + "r" : "1173", + "s" : [ { + "r" : "1171", + "value" : [ "Interval(", "null", ", ", "5", "]" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "In", + "localId" : "1177", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1178", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "1179", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1180", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "Literal", + "localId" : "1170", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "5", + "annotation" : [ ] + }, { + "type" : "Interval", + "localId" : "1173", + "lowClosed" : false, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1175", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1176", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "low" : { + "type" : "As", + "localId" : "1174", + "asType" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Null", + "localId" : "1171", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } + }, + "high" : { + "type" : "Literal", + "localId" : "1172", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "5", + "annotation" : [ ] + } + } ] + } + }, { + "localId" : "1183", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "UnknownClosedBegContainsInt", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "1183", + "s" : [ { + "value" : [ "", "define ", "UnknownClosedBegContainsInt", ": " ] + }, { + "r" : "1191", + "s" : [ { + "r" : "1184", + "value" : [ "5", " in " ] + }, { + "r" : "1187", + "s" : [ { + "r" : "1185", + "value" : [ "Interval[", "null", ", ", "5", "]" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "In", + "localId" : "1191", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1192", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "1193", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1194", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "Literal", + "localId" : "1184", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "5", + "annotation" : [ ] + }, { + "type" : "Interval", + "localId" : "1187", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1189", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1190", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "low" : { + "type" : "As", + "localId" : "1188", + "asType" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Null", + "localId" : "1185", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } + }, + "high" : { + "type" : "Literal", + "localId" : "1186", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "5", + "annotation" : [ ] + } + } ] + } + }, { + "localId" : "1197", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "UnknownBegMayContainInt", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "1197", + "s" : [ { + "value" : [ "", "define ", "UnknownBegMayContainInt", ": " ] + }, { + "r" : "1207", + "s" : [ { + "r" : "1198", + "s" : [ { + "r" : "1199", + "value" : [ "-", "7" ] + } ] + }, { + "value" : [ " in " ] + }, { + "r" : "1203", + "s" : [ { + "r" : "1201", + "value" : [ "Interval(", "null", ", ", "5", "]" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "In", + "localId" : "1207", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1208", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "1209", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1210", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "Negate", + "localId" : "1198", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1200", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "operand" : { + "type" : "Literal", + "localId" : "1199", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "7", + "annotation" : [ ] + } + }, { + "type" : "Interval", + "localId" : "1203", + "lowClosed" : false, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1205", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1206", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "low" : { + "type" : "As", + "localId" : "1204", + "asType" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Null", + "localId" : "1201", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } + }, + "high" : { + "type" : "Literal", + "localId" : "1202", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "5", + "annotation" : [ ] + } + } ] + } + }, { + "localId" : "1213", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "UnknownBegNotContainsInt", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "1213", + "s" : [ { + "value" : [ "", "define ", "UnknownBegNotContainsInt", ": " ] + }, { + "r" : "1221", + "s" : [ { + "r" : "1214", + "value" : [ "7", " in " ] + }, { + "r" : "1217", + "s" : [ { + "r" : "1215", + "value" : [ "Interval(", "null", ", ", "5", "]" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "In", + "localId" : "1221", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1222", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "1223", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1224", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "Literal", + "localId" : "1214", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "7", + "annotation" : [ ] + }, { + "type" : "Interval", + "localId" : "1217", + "lowClosed" : false, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1219", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1220", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "low" : { + "type" : "As", + "localId" : "1218", + "asType" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Null", + "localId" : "1215", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } + }, + "high" : { + "type" : "Literal", + "localId" : "1216", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "5", + "annotation" : [ ] + } + } ] + } + }, { + "localId" : "1227", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "PosInfEndContainsInt", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "1227", + "s" : [ { + "value" : [ "", "define ", "PosInfEndContainsInt", ": " ] + }, { + "r" : "1235", + "s" : [ { + "r" : "1228", + "value" : [ "123456789", " in " ] + }, { + "r" : "1231", + "s" : [ { + "r" : "1229", + "value" : [ "Interval[", "0", ", ", "null", "]" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "In", + "localId" : "1235", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1236", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "1237", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1238", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "Literal", + "localId" : "1228", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "123456789", + "annotation" : [ ] + }, { + "type" : "Interval", + "localId" : "1231", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1233", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1234", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "low" : { + "type" : "Literal", + "localId" : "1229", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "high" : { + "type" : "As", + "localId" : "1232", + "asType" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Null", + "localId" : "1230", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } + } + } ] + } + }, { + "localId" : "1241", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "PosInfEndNotContainsInt", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "1241", + "s" : [ { + "value" : [ "", "define ", "PosInfEndNotContainsInt", ": " ] + }, { + "r" : "1251", + "s" : [ { + "r" : "1242", + "s" : [ { + "r" : "1243", + "value" : [ "-", "1" ] + } ] + }, { + "value" : [ " in " ] + }, { + "r" : "1247", + "s" : [ { + "r" : "1245", + "value" : [ "Interval[", "0", ", ", "null", "]" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "In", + "localId" : "1251", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1252", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "1253", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1254", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "Negate", + "localId" : "1242", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1244", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "operand" : { + "type" : "Literal", + "localId" : "1243", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + } + }, { + "type" : "Interval", + "localId" : "1247", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1249", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1250", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "low" : { + "type" : "Literal", + "localId" : "1245", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "high" : { + "type" : "As", + "localId" : "1248", + "asType" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Null", + "localId" : "1246", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } + } + } ] + } + }, { + "localId" : "1257", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "UnknownOpenEndContainsInt", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "1257", + "s" : [ { + "value" : [ "", "define ", "UnknownOpenEndContainsInt", ": " ] + }, { + "r" : "1265", + "s" : [ { + "r" : "1258", + "value" : [ "0", " in " ] + }, { + "r" : "1261", + "s" : [ { + "r" : "1259", + "value" : [ "Interval[", "0", ", ", "null", ")" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "In", + "localId" : "1265", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1266", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "1267", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1268", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "Literal", + "localId" : "1258", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, { + "type" : "Interval", + "localId" : "1261", + "lowClosed" : true, + "highClosed" : false, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1263", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1264", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "low" : { + "type" : "Literal", + "localId" : "1259", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "high" : { + "type" : "As", + "localId" : "1262", + "asType" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Null", + "localId" : "1260", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } + } + } ] + } + }, { + "localId" : "1271", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "UnknownClosedEndContainsInt", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "1271", + "s" : [ { + "value" : [ "", "define ", "UnknownClosedEndContainsInt", ": " ] + }, { + "r" : "1279", + "s" : [ { + "r" : "1272", + "value" : [ "0", " in " ] + }, { + "r" : "1275", + "s" : [ { + "r" : "1273", + "value" : [ "Interval[", "0", ", ", "null", "]" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "In", + "localId" : "1279", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1280", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "1281", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1282", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "Literal", + "localId" : "1272", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, { + "type" : "Interval", + "localId" : "1275", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1277", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1278", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "low" : { + "type" : "Literal", + "localId" : "1273", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "high" : { + "type" : "As", + "localId" : "1276", + "asType" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Null", + "localId" : "1274", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } + } + } ] + } + }, { + "localId" : "1285", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "UnknownEndMayContainInt", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "1285", + "s" : [ { + "value" : [ "", "define ", "UnknownEndMayContainInt", ": " ] + }, { + "r" : "1293", + "s" : [ { + "r" : "1286", + "value" : [ "123456789", " in " ] + }, { + "r" : "1289", + "s" : [ { + "r" : "1287", + "value" : [ "Interval[", "0", ", ", "null", ")" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "In", + "localId" : "1293", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1294", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "1295", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1296", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "Literal", + "localId" : "1286", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "123456789", + "annotation" : [ ] + }, { + "type" : "Interval", + "localId" : "1289", + "lowClosed" : true, + "highClosed" : false, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1291", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1292", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "low" : { + "type" : "Literal", + "localId" : "1287", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "high" : { + "type" : "As", + "localId" : "1290", + "asType" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Null", + "localId" : "1288", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } + } + } ] + } + }, { + "localId" : "1299", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "UnknownEndNotContainsInt", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "1299", + "s" : [ { + "value" : [ "", "define ", "UnknownEndNotContainsInt", ": " ] + }, { + "r" : "1309", + "s" : [ { + "r" : "1300", + "s" : [ { + "r" : "1301", + "value" : [ "-", "1" ] + } ] + }, { + "value" : [ " in " ] + }, { + "r" : "1305", + "s" : [ { + "r" : "1303", + "value" : [ "Interval[", "0", ", ", "null", ")" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "In", + "localId" : "1309", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1310", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "1311", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1312", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "Negate", + "localId" : "1300", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1302", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "operand" : { + "type" : "Literal", + "localId" : "1301", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + } + }, { + "type" : "Interval", + "localId" : "1305", + "lowClosed" : true, + "highClosed" : false, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1307", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1308", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "low" : { + "type" : "Literal", + "localId" : "1303", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "high" : { + "type" : "As", + "localId" : "1306", + "asType" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Null", + "localId" : "1304", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } + } + } ] + } + }, { + "localId" : "1315", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "NegInfBegContainsDate", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "1315", + "s" : [ { + "value" : [ "", "define ", "NegInfBegContainsDate", ": " ] + }, { + "r" : "1369", + "s" : [ { + "r" : "1332", + "s" : [ { + "r" : "1316", + "value" : [ "DateTime", "(", "1", ", ", "1", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ " in " ] + }, { + "r" : "1365", + "s" : [ { + "r" : "1340", + "value" : [ "Interval[", "null", ", " ] + }, { + "r" : "1357", + "s" : [ { + "r" : "1341", + "value" : [ "DateTime", "(", "2013", ", ", "1", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "In", + "localId" : "1369", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1370", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "1371", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1372", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "DateTime", + "localId" : "1332", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1333", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1334", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1335", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1336", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1337", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1338", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1339", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1316", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1317", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "1318", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "1319", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "1320", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "1321", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "1322", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + }, { + "type" : "Interval", + "localId" : "1365", + "lowClosed" : true, + "highClosed" : false, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1367", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1368", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "As", + "localId" : "1366", + "asType" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Null", + "localId" : "1340", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "1357", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1358", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1359", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1360", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1361", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1362", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1363", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1364", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1341", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2013", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1342", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "1343", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "1344", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "1345", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "1346", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "1347", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + } + } ] + } + }, { + "localId" : "1375", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "NegInfBegNotContainsDate", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "1375", + "s" : [ { + "value" : [ "", "define ", "NegInfBegNotContainsDate", ": " ] + }, { + "r" : "1429", + "s" : [ { + "r" : "1392", + "s" : [ { + "r" : "1376", + "value" : [ "DateTime", "(", "2013", ", ", "1", ", ", "2", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ " in " ] + }, { + "r" : "1425", + "s" : [ { + "r" : "1400", + "value" : [ "Interval[", "null", ", " ] + }, { + "r" : "1417", "s" : [ { - "value" : [ "","define ","UnknownEndMeetsAfterDateIvl",": " ] - }, { - "r" : "2439", - "s" : [ { - "r" : "2384", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "2375", - "s" : [ { - "r" : "2359", - "value" : [ "DateTime","(","2013",", ","1",", ","1",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "r" : "2383", - "value" : [ ", ","null",")" ] - } ] - }, { - "r" : "2439", - "value" : [ " ","meets after"," " ] - }, { - "r" : "2436", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "2404", - "s" : [ { - "r" : "2388", - "value" : [ "DateTime","(","2010",", ","1",", ","1",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "2428", - "s" : [ { - "r" : "2412", - "value" : [ "DateTime","(","2013",", ","1",", ","1",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ ")" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "2439", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "MeetsAfter", - "signature" : [ { - "localId" : "2440", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "2441", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "2442", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "2443", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "2384", - "lowClosed" : true, - "highClosed" : false, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "2386", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "2387", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "2375", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "2376", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2377", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2378", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2379", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2380", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2381", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2382", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "2359", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2013", - "type" : "Literal" - }, - "month" : { - "localId" : "2360", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "2361", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "2362", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "2363", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "2364", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "2365", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - }, - "high" : { - "localId" : "2385", - "asType" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "As", - "signature" : [ ], - "operand" : { - "localId" : "2383", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - } - } - }, { - "localId" : "2436", - "lowClosed" : true, - "highClosed" : false, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "2437", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "2438", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "2404", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "2405", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2406", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2407", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2408", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2409", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2410", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2411", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "2388", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2010", - "type" : "Literal" - }, - "month" : { - "localId" : "2389", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "2390", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "2391", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "2392", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "2393", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "2394", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - }, - "high" : { - "localId" : "2428", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "2429", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2430", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2431", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2432", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2433", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2434", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2435", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "2412", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2013", - "type" : "Literal" - }, - "month" : { - "localId" : "2413", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "2414", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "2415", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "2416", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "2417", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "2418", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - } - } ] - } - }, { - "localId" : "2446", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "UnknownEndMayMeetBeforeDateIvl", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "2446", - "s" : [ { - "value" : [ "","define ","UnknownEndMayMeetBeforeDateIvl",": " ] - }, { - "r" : "2527", - "s" : [ { - "r" : "2472", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "2463", - "s" : [ { - "r" : "2447", - "value" : [ "DateTime","(","2013",", ","1",", ","1",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "r" : "2471", - "value" : [ ", ","null",")" ] - } ] - }, { - "r" : "2527", - "value" : [ " ","meets after"," " ] - }, { - "r" : "2524", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "2492", - "s" : [ { - "r" : "2476", - "value" : [ "DateTime","(","2020",", ","1",", ","1",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "2516", - "s" : [ { - "r" : "2500", - "value" : [ "DateTime","(","2040",", ","1",", ","1",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ "]" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "2527", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "MeetsAfter", - "signature" : [ { - "localId" : "2528", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "2529", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "2530", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "2531", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "2472", - "lowClosed" : true, - "highClosed" : false, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "2474", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "2475", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "2463", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "2464", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2465", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2466", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2467", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2468", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2469", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2470", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "2447", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2013", - "type" : "Literal" - }, - "month" : { - "localId" : "2448", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "2449", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "2450", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "2451", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "2452", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "2453", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - }, - "high" : { - "localId" : "2473", - "asType" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "As", - "signature" : [ ], - "operand" : { - "localId" : "2471", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - } - } - }, { - "localId" : "2524", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "2525", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "2526", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "2492", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "2493", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2494", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2495", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2496", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2497", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2498", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2499", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "2476", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2020", - "type" : "Literal" - }, - "month" : { - "localId" : "2477", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "2478", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "2479", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "2480", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "2481", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "2482", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - }, - "high" : { - "localId" : "2516", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "2517", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2518", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2519", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2520", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2521", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2522", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2523", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "2500", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2040", - "type" : "Literal" - }, - "month" : { - "localId" : "2501", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "2502", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "2503", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "2504", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "2505", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "2506", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - } - } ] - } - }, { - "localId" : "2534", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "UnknownEndNotMeetsDateIvl", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "2534", - "s" : [ { - "value" : [ "","define ","UnknownEndNotMeetsDateIvl",": " ] - }, { - "r" : "2615", - "s" : [ { - "r" : "2560", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "2551", - "s" : [ { - "r" : "2535", - "value" : [ "DateTime","(","2013",", ","1",", ","1",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "r" : "2559", - "value" : [ ", ","null",")" ] - } ] - }, { - "r" : "2615", - "value" : [ " ","meets after"," " ] - }, { - "r" : "2612", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "2580", - "s" : [ { - "r" : "2564", - "value" : [ "DateTime","(","2000",", ","1",", ","1",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "2604", - "s" : [ { - "r" : "2588", - "value" : [ "DateTime","(","2013",", ","1",", ","1",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ "]" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "2615", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "MeetsAfter", - "signature" : [ { - "localId" : "2616", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "2617", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "2618", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "2619", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "2560", - "lowClosed" : true, - "highClosed" : false, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "2562", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "2563", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "2551", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "2552", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2553", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2554", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2555", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2556", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2557", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2558", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "2535", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2013", - "type" : "Literal" - }, - "month" : { - "localId" : "2536", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "2537", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "2538", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "2539", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "2540", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "2541", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - }, - "high" : { - "localId" : "2561", - "asType" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "As", - "signature" : [ ], - "operand" : { - "localId" : "2559", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - } - } - }, { - "localId" : "2612", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "2613", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "2614", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "2580", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "2581", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2582", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2583", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2584", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2585", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2586", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2587", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "2564", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "2565", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "2566", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "2567", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "2568", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "2569", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "2570", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - }, - "high" : { - "localId" : "2604", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "2605", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2606", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2607", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2608", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2609", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2610", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2611", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "2588", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2013", - "type" : "Literal" - }, - "month" : { - "localId" : "2589", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "2590", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "2591", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "2592", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "2593", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "2594", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - } - } ] - } - }, { - "localId" : "2622", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "DateIvlMayMeetAfterUnknownEnd", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "2622", - "s" : [ { - "value" : [ "","define ","DateIvlMayMeetAfterUnknownEnd",": " ] - }, { - "r" : "2703", - "s" : [ { - "r" : "2671", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "2639", - "s" : [ { - "r" : "2623", - "value" : [ "DateTime","(","2020",", ","1",", ","1",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "2663", - "s" : [ { - "r" : "2647", - "value" : [ "DateTime","(","2040",", ","1",", ","1",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ "]" ] - } ] - }, { - "r" : "2703", - "value" : [ " ","meets after"," " ] - }, { - "r" : "2699", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "2690", - "s" : [ { - "r" : "2674", - "value" : [ "DateTime","(","2013",", ","1",", ","1",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "r" : "2698", - "value" : [ ", ","null",")" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "2703", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "MeetsAfter", - "signature" : [ { - "localId" : "2704", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "2705", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "2706", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "2707", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "2671", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "2672", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "2673", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "2639", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "2640", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2641", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2642", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2643", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2644", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2645", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2646", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "2623", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2020", - "type" : "Literal" - }, - "month" : { - "localId" : "2624", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "2625", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "2626", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "2627", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "2628", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "2629", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - }, - "high" : { - "localId" : "2663", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "2664", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2665", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2666", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2667", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2668", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2669", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2670", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "2647", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2040", - "type" : "Literal" - }, - "month" : { - "localId" : "2648", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "2649", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "2650", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "2651", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "2652", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "2653", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - } - }, { - "localId" : "2699", - "lowClosed" : true, - "highClosed" : false, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "2701", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "2702", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "2690", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "2691", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2692", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2693", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2694", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2695", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2696", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2697", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "2674", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2013", - "type" : "Literal" - }, - "month" : { - "localId" : "2675", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "2676", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "2677", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "2678", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "2679", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "2680", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - }, - "high" : { - "localId" : "2700", - "asType" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "As", - "signature" : [ ], - "operand" : { - "localId" : "2698", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - } - } - } ] - } - } ] - } - } + "r" : "1401", + "value" : [ "DateTime", "(", "2013", ", ", "1", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "In", + "localId" : "1429", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1430", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "1431", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1432", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "DateTime", + "localId" : "1392", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1393", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1394", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1395", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1396", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1397", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1398", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1399", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1376", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2013", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1377", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "1378", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "1379", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "1380", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "1381", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "1382", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + }, { + "type" : "Interval", + "localId" : "1425", + "lowClosed" : true, + "highClosed" : false, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1427", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1428", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "As", + "localId" : "1426", + "asType" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Null", + "localId" : "1400", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "1417", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1418", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1419", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1420", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1421", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1422", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1423", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1424", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1401", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2013", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1402", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "1403", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "1404", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "1405", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "1406", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "1407", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + } + } ] + } + }, { + "localId" : "1435", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "UnknownOpenBegMayContainDate", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "1435", + "s" : [ { + "value" : [ "", "define ", "UnknownOpenBegMayContainDate", ": " ] + }, { + "r" : "1489", + "s" : [ { + "r" : "1452", + "s" : [ { + "r" : "1436", + "value" : [ "DateTime", "(", "2012", ", ", "12", ", ", "31", ", ", "23", ", ", "59", ", ", "59", ", ", "999", ")" ] + } ] + }, { + "value" : [ " in " ] + }, { + "r" : "1485", + "s" : [ { + "r" : "1460", + "value" : [ "Interval(", "null", ", " ] + }, { + "r" : "1477", + "s" : [ { + "r" : "1461", + "value" : [ "DateTime", "(", "2013", ", ", "1", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "In", + "localId" : "1489", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1490", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "1491", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1492", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "DateTime", + "localId" : "1452", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1453", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1454", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1455", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1456", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1457", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1458", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1459", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1436", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1437", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "12", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "1438", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "31", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "1439", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "23", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "1440", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "59", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "1441", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "59", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "1442", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "999", + "annotation" : [ ] + } + }, { + "type" : "Interval", + "localId" : "1485", + "lowClosed" : false, + "highClosed" : false, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1487", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1488", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "As", + "localId" : "1486", + "asType" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Null", + "localId" : "1460", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "1477", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1478", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1479", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1480", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1481", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1482", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1483", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1484", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1461", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2013", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1462", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "1463", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "1464", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "1465", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "1466", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "1467", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + } + } ] + } + }, { + "localId" : "1495", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "UnknownClosedBegContainsDate", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "1495", + "s" : [ { + "value" : [ "", "define ", "UnknownClosedBegContainsDate", ": " ] + }, { + "r" : "1549", + "s" : [ { + "r" : "1512", + "s" : [ { + "r" : "1496", + "value" : [ "DateTime", "(", "2012", ", ", "12", ", ", "31", ", ", "23", ", ", "59", ", ", "59", ", ", "999", ")" ] + } ] + }, { + "value" : [ " in " ] + }, { + "r" : "1545", + "s" : [ { + "r" : "1520", + "value" : [ "Interval[", "null", ", " ] + }, { + "r" : "1537", + "s" : [ { + "r" : "1521", + "value" : [ "DateTime", "(", "2013", ", ", "1", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "In", + "localId" : "1549", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1550", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "1551", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1552", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "DateTime", + "localId" : "1512", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1513", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1514", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1515", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1516", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1517", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1518", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1519", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1496", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1497", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "12", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "1498", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "31", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "1499", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "23", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "1500", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "59", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "1501", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "59", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "1502", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "999", + "annotation" : [ ] + } + }, { + "type" : "Interval", + "localId" : "1545", + "lowClosed" : true, + "highClosed" : false, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1547", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1548", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "As", + "localId" : "1546", + "asType" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Null", + "localId" : "1520", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "1537", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1538", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1539", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1540", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1541", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1542", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1543", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1544", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1521", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2013", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1522", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "1523", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "1524", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "1525", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "1526", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "1527", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + } + } ] + } + }, { + "localId" : "1555", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "UnknownBegMayContainDate", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "1555", + "s" : [ { + "value" : [ "", "define ", "UnknownBegMayContainDate", ": " ] + }, { + "r" : "1609", + "s" : [ { + "r" : "1572", + "s" : [ { + "r" : "1556", + "value" : [ "DateTime", "(", "1", ", ", "1", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ " in " ] + }, { + "r" : "1605", + "s" : [ { + "r" : "1580", + "value" : [ "Interval(", "null", ", " ] + }, { + "r" : "1597", + "s" : [ { + "r" : "1581", + "value" : [ "DateTime", "(", "2013", ", ", "1", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "In", + "localId" : "1609", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1610", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "1611", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1612", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "DateTime", + "localId" : "1572", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1573", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1574", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1575", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1576", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1577", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1578", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1579", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1556", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1557", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "1558", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "1559", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "1560", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "1561", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "1562", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + }, { + "type" : "Interval", + "localId" : "1605", + "lowClosed" : false, + "highClosed" : false, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1607", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1608", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "As", + "localId" : "1606", + "asType" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Null", + "localId" : "1580", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "1597", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1598", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1599", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1600", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1601", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1602", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1603", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1604", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1581", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2013", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1582", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "1583", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "1584", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "1585", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "1586", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "1587", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + } + } ] + } + }, { + "localId" : "1615", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "UnknownBegNotContainsDate", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "1615", + "s" : [ { + "value" : [ "", "define ", "UnknownBegNotContainsDate", ": " ] + }, { + "r" : "1669", + "s" : [ { + "r" : "1632", + "s" : [ { + "r" : "1616", + "value" : [ "DateTime", "(", "2013", ", ", "1", ", ", "2", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ " in " ] + }, { + "r" : "1665", + "s" : [ { + "r" : "1640", + "value" : [ "Interval(", "null", ", " ] + }, { + "r" : "1657", + "s" : [ { + "r" : "1641", + "value" : [ "DateTime", "(", "2013", ", ", "1", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "In", + "localId" : "1669", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1670", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "1671", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1672", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "DateTime", + "localId" : "1632", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1633", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1634", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1635", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1636", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1637", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1638", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1639", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1616", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2013", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1617", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "1618", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "1619", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "1620", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "1621", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "1622", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + }, { + "type" : "Interval", + "localId" : "1665", + "lowClosed" : false, + "highClosed" : false, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1667", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1668", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "As", + "localId" : "1666", + "asType" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Null", + "localId" : "1640", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "1657", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1658", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1659", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1660", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1661", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1662", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1663", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1664", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1641", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2013", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1642", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "1643", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "1644", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "1645", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "1646", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "1647", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + } + } ] + } + }, { + "localId" : "1675", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "PosInfEndContainsDate", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "1675", + "s" : [ { + "value" : [ "", "define ", "PosInfEndContainsDate", ": " ] + }, { + "r" : "1729", + "s" : [ { + "r" : "1692", + "s" : [ { + "r" : "1676", + "value" : [ "DateTime", "(", "2014", ", ", "1", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ " in " ] + }, { + "r" : "1725", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "1716", + "s" : [ { + "r" : "1700", + "value" : [ "DateTime", "(", "2013", ", ", "1", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "r" : "1724", + "value" : [ ", ", "null", "]" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "In", + "localId" : "1729", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1730", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "1731", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1732", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "DateTime", + "localId" : "1692", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1693", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1694", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1695", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1696", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1697", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1698", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1699", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1676", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2014", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1677", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "1678", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "1679", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "1680", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "1681", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "1682", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + }, { + "type" : "Interval", + "localId" : "1725", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1727", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1728", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "DateTime", + "localId" : "1716", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1717", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1718", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1719", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1720", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1721", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1722", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1723", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1700", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2013", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1701", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "1702", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "1703", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "1704", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "1705", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "1706", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + }, + "high" : { + "type" : "As", + "localId" : "1726", + "asType" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Null", + "localId" : "1724", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } + } + } ] + } + }, { + "localId" : "1735", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "PosInfEndNotContainsDate", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "1735", + "s" : [ { + "value" : [ "", "define ", "PosInfEndNotContainsDate", ": " ] + }, { + "r" : "1789", + "s" : [ { + "r" : "1752", + "s" : [ { + "r" : "1736", + "value" : [ "DateTime", "(", "2012", ", ", "1", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ " in " ] + }, { + "r" : "1785", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "1776", + "s" : [ { + "r" : "1760", + "value" : [ "DateTime", "(", "2013", ", ", "1", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "r" : "1784", + "value" : [ ", ", "null", "]" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "In", + "localId" : "1789", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1790", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "1791", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1792", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "DateTime", + "localId" : "1752", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1753", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1754", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1755", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1756", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1757", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1758", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1759", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1736", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1737", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "1738", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "1739", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "1740", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "1741", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "1742", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + }, { + "type" : "Interval", + "localId" : "1785", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1787", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1788", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "DateTime", + "localId" : "1776", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1777", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1778", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1779", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1780", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1781", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1782", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1783", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1760", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2013", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1761", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "1762", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "1763", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "1764", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "1765", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "1766", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + }, + "high" : { + "type" : "As", + "localId" : "1786", + "asType" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Null", + "localId" : "1784", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } + } + } ] + } + }, { + "localId" : "1795", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "UnknownOpenEndContainsDate", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "1795", + "s" : [ { + "value" : [ "", "define ", "UnknownOpenEndContainsDate", ": " ] + }, { + "r" : "1849", + "s" : [ { + "r" : "1812", + "s" : [ { + "r" : "1796", + "value" : [ "DateTime", "(", "2013", ", ", "1", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ " in " ] + }, { + "r" : "1845", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "1836", + "s" : [ { + "r" : "1820", + "value" : [ "DateTime", "(", "2013", ", ", "1", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "r" : "1844", + "value" : [ ", ", "null", ")" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "In", + "localId" : "1849", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1850", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "1851", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1852", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "DateTime", + "localId" : "1812", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1813", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1814", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1815", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1816", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1817", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1818", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1819", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1796", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2013", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1797", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "1798", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "1799", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "1800", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "1801", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "1802", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + }, { + "type" : "Interval", + "localId" : "1845", + "lowClosed" : true, + "highClosed" : false, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1847", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1848", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "DateTime", + "localId" : "1836", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1837", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1838", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1839", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1840", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1841", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1842", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1843", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1820", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2013", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1821", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "1822", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "1823", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "1824", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "1825", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "1826", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + }, + "high" : { + "type" : "As", + "localId" : "1846", + "asType" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Null", + "localId" : "1844", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } + } + } ] + } + }, { + "localId" : "1855", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "UnknownClosedEndContainsDate", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "1855", + "s" : [ { + "value" : [ "", "define ", "UnknownClosedEndContainsDate", ": " ] + }, { + "r" : "1909", + "s" : [ { + "r" : "1872", + "s" : [ { + "r" : "1856", + "value" : [ "DateTime", "(", "2013", ", ", "1", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ " in " ] + }, { + "r" : "1905", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "1896", + "s" : [ { + "r" : "1880", + "value" : [ "DateTime", "(", "2013", ", ", "1", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "r" : "1904", + "value" : [ ", ", "null", "]" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "In", + "localId" : "1909", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1910", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "1911", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1912", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "DateTime", + "localId" : "1872", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1873", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1874", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1875", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1876", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1877", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1878", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1879", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1856", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2013", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1857", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "1858", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "1859", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "1860", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "1861", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "1862", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + }, { + "type" : "Interval", + "localId" : "1905", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1907", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1908", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "DateTime", + "localId" : "1896", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1897", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1898", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1899", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1900", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1901", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1902", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1903", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1880", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2013", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1881", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "1882", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "1883", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "1884", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "1885", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "1886", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + }, + "high" : { + "type" : "As", + "localId" : "1906", + "asType" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Null", + "localId" : "1904", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } + } + } ] + } + }, { + "localId" : "1915", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "UnknownEndMayContainDate", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "1915", + "s" : [ { + "value" : [ "", "define ", "UnknownEndMayContainDate", ": " ] + }, { + "r" : "1969", + "s" : [ { + "r" : "1932", + "s" : [ { + "r" : "1916", + "value" : [ "DateTime", "(", "2014", ", ", "1", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ " in " ] + }, { + "r" : "1965", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "1956", + "s" : [ { + "r" : "1940", + "value" : [ "DateTime", "(", "2013", ", ", "1", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "r" : "1964", + "value" : [ ", ", "null", ")" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "In", + "localId" : "1969", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1970", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "1971", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1972", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "DateTime", + "localId" : "1932", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1933", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1934", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1935", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1936", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1937", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1938", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1939", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1916", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2014", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1917", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "1918", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "1919", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "1920", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "1921", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "1922", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + }, { + "type" : "Interval", + "localId" : "1965", + "lowClosed" : true, + "highClosed" : false, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1967", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1968", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "DateTime", + "localId" : "1956", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1957", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1958", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1959", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1960", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1961", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1962", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1963", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1940", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2013", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1941", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "1942", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "1943", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "1944", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "1945", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "1946", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + }, + "high" : { + "type" : "As", + "localId" : "1966", + "asType" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Null", + "localId" : "1964", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } + } + } ] + } + }, { + "localId" : "1975", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "UnknownEndNotContainsDate", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "1975", + "s" : [ { + "value" : [ "", "define ", "UnknownEndNotContainsDate", ": " ] + }, { + "r" : "2029", + "s" : [ { + "r" : "1992", + "s" : [ { + "r" : "1976", + "value" : [ "DateTime", "(", "2012", ", ", "1", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ " in " ] + }, { + "r" : "2025", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "2016", + "s" : [ { + "r" : "2000", + "value" : [ "DateTime", "(", "2013", ", ", "1", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "r" : "2024", + "value" : [ ", ", "null", ")" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "In", + "localId" : "2029", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "2030", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "2031", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "2032", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "DateTime", + "localId" : "1992", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1993", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1994", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1995", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1996", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1997", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1998", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1999", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1976", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1977", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "1978", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "1979", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "1980", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "1981", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "1982", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + }, { + "type" : "Interval", + "localId" : "2025", + "lowClosed" : true, + "highClosed" : false, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "2027", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "2028", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "DateTime", + "localId" : "2016", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "2017", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2018", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2019", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2020", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2021", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2022", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2023", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "2000", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2013", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "2001", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "2002", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "2003", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "2004", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "2005", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "2006", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + }, + "high" : { + "type" : "As", + "localId" : "2026", + "asType" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Null", + "localId" : "2024", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } + } + } ] + } + } ] + } + } } -/* MeetsBefore +/* Includes library TestSnippet version '1' using Simple version '1.0.0' context Patient -define MeetsAfterIntIvl: Interval[11, 15] meets before Interval[5, 10] -define MeetsBeforeIntIvl: Interval[1, 4] meets before Interval[5, 10] -define NotMeetsIntIvl: Interval[1, 2] meets before Interval[5, 10] -define MeetsAfterRealIvl: Interval[1.50000001, 2.5] meets before Interval[0.5, 1.5] -define MeetsBeforeRealIvl: Interval[0.5, 1.5] meets before Interval[1.50000001, 2.5] -define NotMeetsRealIvl: Interval[0.0, 1.0] meets before Interval[1.1, 2.0] +define IncludesIntIvl: Interval[1, 5] includes Interval[1, 4] +define NotIncludesIntIvl: Interval(1, 5] includes Interval[1, 4] +define IncludesRealIvl: Interval[1.234, 3.456] includes Interval[2.34, 2.56] +define NotIncludesRealIvl: Interval[1.234, 3.456] includes Interval[1.23, 2.56] define DateIvl: Interval[DateTime(2012, 3, 1, 0, 0, 0, 0), DateTime(2012, 9, 1, 0, 0, 0, 0)) -define MeetsAfterDateIvl: Interval[DateTime(2012, 9, 1, 0, 0, 0, 0), DateTime(2012, 12, 1, 0, 0, 0, 0)) meets before DateIvl -define MeetsBeforeDateIvl: Interval[DateTime(2012, 1, 1, 0, 0, 0, 0), DateTime(2012, 3, 1, 0, 0, 0, 0)) meets before DateIvl -define NotMeetsDateIvl: Interval[DateTime(2012, 1, 1, 0, 0, 0, 0), DateTime(2012, 2, 29, 0, 0, 0, 0)) meets before DateIvl -define MayMeetAfterImpreciseDateIvl: DateIvl meets before Interval[DateTime(2012, 1), DateTime(2012, 2)] -define MayMeetBeforeImpreciseDateIvl: DateIvl meets before Interval[DateTime(2012, 9), DateTime(2012, 12)] -define NotMeetsImpreciseDateIvl: DateIvl meets before Interval[DateTime(2012, 1), DateTime(2012, 12)] +define IncludesDateIvl: DateIvl includes Interval[DateTime(2012, 4, 1, 0, 0, 0, 0), DateTime(2012, 6, 1, 0, 0, 0, 0)) +define NotIncludesDateIvl: DateIvl includes Interval[DateTime(2012, 6, 1, 0, 0, 0, 0), DateTime(2012, 9, 1, 0, 0, 0, 0)] +define IncludesImpreciseDateIvl: DateIvl includes Interval[DateTime(2012, 4), DateTime(2012, 6)] +define NotIncludesImpreciseDateIvl: DateIvl includes Interval[DateTime(2012, 4), DateTime(2012, 9)] +define MayIncludeImpreciseDateIvl: DateIvl includes Interval[DateTime(2012), DateTime(2012)] define PrecisionDateIvl: Interval[DateTime(2012, 3, 2, 12, 34, 56, 789), DateTime(2012, 9, 2, 1, 23, 45, 678)) -define MeetsAfterDayOfIvl: PrecisionDateIvl meets before day of Interval[DateTime(2012, 1, 2, 0, 0, 0, 0), DateTime(2012, 3, 1, 0, 0, 0, 0)] -define MeetsBeforeDayOfIvl: PrecisionDateIvl meets before day of Interval[DateTime(2012, 9, 3, 0, 0, 0, 0), DateTime(2012, 12, 1, 0, 0, 0, 0)] -define NotMeetsDayOfIvl: PrecisionDateIvl meets before day of Interval[DateTime(2012, 1, 2, 0, 0, 0, 0), DateTime(2012, 3, 2, 0, 0, 0, 0)] -define NotMeetsDayOfImpreciseIVL: PrecisionDateIvl meets before day of Interval[DateTime(2012, 1), DateTime(2012, 2)] -define MayMeetAfterDayOfImpreciseIvl: PrecisionDateIvl meets before day of Interval[DateTime(2012, 1), DateTime(2012, 3)] -define MayMeetBeforeDayOfImpreciseIvl: PrecisionDateIvl meets before day of Interval[DateTime(2012, 9), DateTime(2012, 12)] +define IncludesDayOfIvlLowEdge: PrecisionDateIvl includes day of Interval[DateTime(2012, 3, 2, 0, 0, 0, 0), DateTime(2012, 6, 1, 0, 0, 0, 0)) +define IncludesDayOfIvlHighEdge: PrecisionDateIvl includes day of Interval[DateTime(2012, 6, 1, 0, 0, 0, 0), DateTime(2012, 9, 2, 23, 59, 59, 999)) +define NotIncludesDayOfIvlLowEdge: PrecisionDateIvl includes day of Interval[DateTime(2012, 3, 1, 0, 0, 0, 0), DateTime(2012, 6, 1, 0, 0, 0, 0)] +define NotIncludesDayOfIvlHighEdge: PrecisionDateIvl includes day of Interval[DateTime(2012, 6, 1, 0, 0, 0, 0), DateTime(2012, 9, 3, 0, 0, 0, 0)] +define IncludesDayOfIvlImpreciseLowEdge: PrecisionDateIvl includes day of Interval[DateTime(2012, 3, 2), DateTime(2012, 6, 1)] +define IncludesDayOfIvlImpreciseHighEdge: PrecisionDateIvl includes day of Interval[DateTime(2012, 6, 1), DateTime(2012, 9, 2)] +define IncludesDayOfIvlVeryImpreciseMiddle: PrecisionDateIvl includes day of Interval[DateTime(2012, 5), DateTime(2012, 6)] +define NotIncludesDayOfIvlVeryImpreciseLow: PrecisionDateIvl includes day of Interval[DateTime(2012, 2), DateTime(2012, 6)] +define NotIncludesDayOfIvlVeryImpreciseHigh: PrecisionDateIvl includes day of Interval[DateTime(2012, 6), DateTime(2012, 10)] +define MayIncludeDayOfIvlVeryImpreciseLow: PrecisionDateIvl includes day of Interval[DateTime(2012, 3), DateTime(2012, 6)] +define MayIncludeDayOfIvlVeryImpreciseHigh: PrecisionDateIvl includes day of Interval[DateTime(2012, 6), DateTime(2012, 9)] +define MayIncludeDayOfIvlVeryImpreciseSurrounding: PrecisionDateIvl includes day of Interval[DateTime(2012), DateTime(2012)] define ImpDateIvl: Interval[DateTime(2012, 3), DateTime(2012, 8)] -define ImpreciseMayMeetAfterDateIvl: ImpDateIvl meets before Interval[DateTime(2012, 1, 1, 0, 0, 0, 0), DateTime(2012, 2, 29, 23, 59, 59, 999)] -define ImpreciseMayMeetBeforeDateIvl: ImpDateIvl meets before Interval[DateTime(2012, 9, 1, 0, 0, 0, 0), DateTime(2012, 12, 31, 23, 59, 59, 999)] -define ImpreciseNotMeetsDateIvl: ImpDateIvl meets before Interval[DateTime(2012, 1, 1, 0, 0, 0, 0), DateTime(2012, 12, 31, 23, 59, 59, 999)) -define NegInfBegMeetsBeforeIntIvl: Interval[null, 100] meets before Interval[101, 200] -define NegInfBegNotMeetsIntIvl: Interval[null, 100] meets before Interval[100, 200] -define IntIvlNotMeetsNegInfBeg: Interval[100, 200] meets before Interval[null, 400] -define UnknownBegMeetsBeforeIntIvl: Interval(null, 100] meets before Interval[101, 200] -define UnknownBegMayMeetAfterIntIvl: Interval(null, 100] meets before Interval[0, 50] -define UnknownBegNotMeetsIntIvl: Interval(null, 5] meets before Interval[0, 100] -define IntIvlMayMeetBeforeUnknownBeg: Interval[0, 100] meets before Interval(null, 400) -define PosInfEndMeetsAfterIntIvl: Interval[100, null] meets before Interval[0, 99] -define PosInfEndNotMeetsIntIvl: Interval[0, null] meets before Interval[1000, 2000] -define IntIvlNotMeetsPosInfEnd: Interval[100, 200] meets before Interval[0, null] -define UnknownEndMeetsAfterIntIvl: Interval[100, null) meets before Interval[0, 99] -define UnknownEndMayMeetBeforeIntIvl: Interval[0, null) meets before Interval[50, 100] -define UnknownEndNotMeetsIntIvl: Interval[0, null) meets before Interval[0, 100] -define IntIvlMayMeetAfterUnknownEnd: Interval[0, 100] meets before Interval[-100, null) -define NegInfBegMeetsBeforeDateIvl: Interval[null, DateTime(2013, 1, 1, 0, 0, 0, 0)) meets before Interval[DateTime(2013, 1, 1, 0, 0, 0, 0), DateTime(2030, 1, 1, 0, 0, 0, 0)] -define NegInfBegNotMeetsDateIvl: Interval[null, DateTime(2013, 1, 1, 0, 0, 0, 0)) meets before Interval[DateTime(2000, 1, 1, 0, 0, 0, 0), DateTime(2010, 1, 1, 0, 0, 0, 0)] -define DateIvlNotMeetsNegInfBeg: Interval[DateTime(2000, 1, 1, 0, 0, 0, 0), DateTime(2010, 1, 1, 0, 0, 0, 0)] meets before Interval[null, DateTime(2013, 1, 1, 0, 0, 0, 0)) -define UnknownBegMeetsBeforeDateIvl: Interval(null, DateTime(2013, 1, 1, 0, 0, 0, 0)) meets before Interval[DateTime(2013, 1, 1, 0, 0, 0, 0), DateTime(2030, 1, 1, 0, 0, 0, 0)] -define UnknownBegMayMeetAfterDateIvl: Interval(null, DateTime(2013, 1, 1, 0, 0, 0, 0)) meets before Interval[DateTime(2000, 1, 1, 0, 0, 0, 0), DateTime(2010, 1, 1, 0, 0, 0, 0)] -define UnknownBegNotMeetsDateIvl: Interval(null, DateTime(2013, 1, 1, 0, 0, 0, 0)) meets before Interval[DateTime(2000, 1, 1, 0, 0, 0, 0), DateTime(2020, 1, 1, 0, 0, 0, 0)] -define DateIvlMayMeetBeforeUnknownBeg: Interval[DateTime(2000, 1, 1, 0, 0, 0, 0), DateTime(2010, 1, 1, 0, 0, 0, 0)] meets before Interval(null, DateTime(2013, 1, 1, 0, 0, 0, 0)) -define PosInfEndMeetsAfterDateIvl: Interval[DateTime(2013, 1, 1, 0, 0, 0, 0), null] meets before Interval[DateTime(2000, 1, 1, 0, 0, 0, 0), DateTime(2013, 1, 1, 0, 0, 0, 0)) -define PosInfEndNotMeetsDateIvl: Interval[DateTime(2013, 1, 1, 0, 0, 0, 0), null] meets before Interval[DateTime(2000, 1, 1, 0, 0, 0, 0), DateTime(2020, 1, 1, 0, 0, 0, 0)] -define DateIvlNotMeetsPosInfEnd: Interval[DateTime(2000, 1, 1, 0, 0, 0, 0), DateTime(2020, 1, 1, 0, 0, 0, 0)] meets before Interval[DateTime(2013, 1, 1, 0, 0, 0, 0), null] -define UnknownEndMeetsAfterDateIvl: Interval[DateTime(2013, 1, 1, 0, 0, 0, 0), null) meets before Interval[DateTime(2010, 1, 1, 0, 0, 0, 0), DateTime(2013, 1, 1, 0, 0, 0, 0)) -define UnknownEndMayMeetBeforeDateIvl: Interval[DateTime(2013, 1, 1, 0, 0, 0, 0), null) meets before Interval[DateTime(2020, 1, 1, 0, 0, 0, 0), DateTime(2040, 1, 1, 0, 0, 0, 0)] -define UnknownEndNotMeetsDateIvl: Interval[DateTime(2013, 1, 1, 0, 0, 0, 0), null) meets before Interval[DateTime(2000, 1, 1, 0, 0, 0, 0), DateTime(2013, 1, 1, 0, 0, 0, 0)] -define DateIvlMayMeetAfterUnknownEnd: Interval[DateTime(2020, 1, 1, 0, 0, 0, 0), DateTime(2040, 1, 1, 0, 0, 0, 0)] meets before Interval[DateTime(2013, 1, 1, 0, 0, 0, 0), null) +define ImpreciseIncludesDateIvl: ImpDateIvl includes Interval[DateTime(2012, 4, 1, 0, 0, 0, 0), DateTime(2012, 6, 1, 0, 0, 0, 0)) +define ImpreciseIncludesDate: ImpDateIvl includes DateTime(2012, 4, 1, 0, 0, 0, 0) +define ImpreciseDoesntIncludeDate: ImpDateIvl includes DateTime(2016, 4, 1, 0, 0, 0, 0) +define IntervalIncludesQuantity: Interval[4 'mg', 6 'mg'] includes 5 'mg' +define IntervalDoesntIncludeQuantity: Interval[4 'mg', 6 'mg'] includes 50 'mg' +define ImpreciseNotIncludesDateIvl: ImpDateIvl includes Interval[DateTime(2012, 2, 1, 0, 0, 0, 0), DateTime(2012, 6, 1, 0, 0, 0, 0)) +define ImpreciseMayIncludeDateIvl: ImpDateIvl includes Interval[DateTime(2012, 3, 15, 0, 0, 0, 0), DateTime(2012, 6, 1, 0, 0, 0, 0)) +define NegInfBegIncludesIntIvl: Interval[null, 5] includes Interval[-7, 2] +define NegInfBegNotIncludesIntIvl: Interval[null, 5] includes Interval[4, 7] +define UnknownBegIncludesIntIvl: Interval(null, 5] includes Interval[5, 5] +define UnknownBegMayIncludeIntIvl: Interval(null, 5] includes Interval[-7, 2] +define UnknownBegNotIncludesIntIvl: Interval(null, 5] includes Interval[4, 7] +define PosInfEndIncludesIntIvl: Interval[0, null] includes Interval[1234, 5678] +define PosInfEndNotIncludesIntIvl: Interval[0, null] includes Interval[-1234, 5678] +define UnknownEndIncludesIntIvl: Interval[0, null) includes Interval[0, 0] +define UnknownEndMayIncludeIntIvl: Interval[0, null) includes Interval[1234, 5678] +define UnknownEndNotIncludesIntIvl: Interval[0, null) includes Interval[-1234, 5678] +define NegInfBegIncludesDateIvl: Interval[null, DateTime(2013, 1, 1, 0, 0, 0, 0)) includes Interval[DateTime(1, 1, 1, 0, 0, 0, 0), DateTime(2000, 1, 1, 0, 0, 0, 0)] +define NegInfBegNotIncludesDateIvl: Interval[null, DateTime(2013, 1, 1, 0, 0, 0, 0)) includes Interval[DateTime(1, 1, 1, 0, 0, 0, 0), DateTime(2013, 1, 1, 0, 0, 0, 0)] +define UnknownBegIncludesDateIvl: Interval(null, DateTime(2013, 1, 1, 0, 0, 0, 0)) includes Interval[DateTime(2012, 12, 31, 23, 59, 59, 999), DateTime(2012, 12, 31, 23, 59, 59, 999)] +define UnknownBegMayIncludeDateIvl: Interval(null, DateTime(2013, 1, 1, 0, 0, 0, 0)) includes Interval[DateTime(1, 1, 1, 0, 0, 0, 0), DateTime(2000, 1, 1, 0, 0, 0, 0)] +define UnknownBegNotIncludesDateIvl: Interval(null, DateTime(2013, 1, 1, 0, 0, 0, 0)) includes Interval[DateTime(1, 1, 1, 0, 0, 0, 0), DateTime(2013, 1, 1, 0, 0, 0, 0)] +define PosInfEndIncludesDateIvl: Interval[DateTime(2013, 1, 1, 0, 0, 0, 0), null] includes Interval[DateTime(2014, 1, 1, 0, 0, 0, 0), DateTime(2015, 1, 1, 0, 0, 0, 0)] +define PosInfEndNotIncludesDateIvl: Interval[DateTime(2013, 1, 1, 0, 0, 0, 0), null] includes Interval[DateTime(2000, 1, 1, 0, 0, 0, 0), DateTime(2014, 1, 1, 0, 0, 0, 0)] +define UnknownEndIncludesDateIvl: Interval[DateTime(2013, 1, 1, 0, 0, 0, 0), null) includes Interval[DateTime(2013, 1, 1, 0, 0, 0, 0), DateTime(2013, 1, 1, 0, 0, 0, 0)] +define UnknownEndMayIncludeDateIvl: Interval[DateTime(2013, 1, 1, 0, 0, 0, 0), null) includes Interval[DateTime(2014, 1, 1, 0, 0, 0, 0), DateTime(2015, 1, 1, 0, 0, 0, 0)] +define UnknownEndNotIncludesDateIvl: Interval[DateTime(2013, 1, 1, 0, 0, 0, 0), null) includes Interval[DateTime(2000, 1, 1, 0, 0, 0, 0), DateTime(2014, 1, 1, 0, 0, 0, 0)] */ -module.exports['MeetsBefore'] = { - "library" : { - "localId" : "0", - "annotation" : [ { - "translatorVersion" : "3.27.0", - "translatorOptions" : "EnableDateRangeOptimization,EnableAnnotations,EnableResultTypes", - "signatureLevel" : "All", - "type" : "CqlToElmInfo" - }, { - "type" : "Annotation", - "s" : { - "r" : "2622", +module.exports['Includes'] = { + "library" : { + "localId" : "0", + "annotation" : [ { + "type" : "CqlToElmInfo", + "translatorVersion" : "4.2.0", + "translatorOptions" : "EnableDateRangeOptimization,EnableAnnotations,EnableResultTypes", + "signatureLevel" : "All" + }, { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "2723", + "s" : [ { + "value" : [ "", "library TestSnippet version '1'" ] + } ] + } + } ], + "identifier" : { + "id" : "TestSnippet", + "version" : "1" + }, + "schemaIdentifier" : { + "id" : "urn:hl7-org:elm", + "version" : "r1" + }, + "usings" : { + "def" : [ { + "localId" : "1", + "localIdentifier" : "System", + "uri" : "urn:hl7-org:elm-types:r1", + "annotation" : [ ] + }, { + "localId" : "206", + "localIdentifier" : "Simple", + "uri" : "https://github.com/cqframework/cql-execution/simple", + "version" : "1.0.0", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "206", + "s" : [ { + "value" : [ "", "using " ] + }, { + "s" : [ { + "value" : [ "Simple" ] + } ] + }, { + "value" : [ " version '1.0.0'" ] + } ] + } + } ] + } ] + }, + "contexts" : { + "def" : [ { + "localId" : "211", + "name" : "Patient", + "annotation" : [ ] + } ] + }, + "statements" : { + "def" : [ { + "localId" : "209", + "name" : "Patient", + "context" : "Patient", + "annotation" : [ ], + "expression" : { + "type" : "SingletonFrom", + "localId" : "210", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Retrieve", + "localId" : "208", + "dataType" : "{https://github.com/cqframework/cql-execution/simple}Patient", + "annotation" : [ ], + "include" : [ ], + "codeFilter" : [ ], + "dateFilter" : [ ], + "otherFilter" : [ ] + } + } + }, { + "localId" : "214", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "IncludesIntIvl", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "214", + "s" : [ { + "value" : [ "", "define ", "IncludesIntIvl", ": " ] + }, { + "r" : "225", + "s" : [ { + "r" : "217", + "s" : [ { + "r" : "215", + "value" : [ "Interval[", "1", ", ", "5", "]" ] + } ] + }, { + "r" : "225", + "value" : [ " ", "includes", " " ] + }, { + "r" : "222", + "s" : [ { + "r" : "220", + "value" : [ "Interval[", "1", ", ", "4", "]" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Includes", + "localId" : "225", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "226", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "227", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "228", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "229", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "Interval", + "localId" : "217", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "218", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "219", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "low" : { + "type" : "Literal", + "localId" : "215", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "high" : { + "type" : "Literal", + "localId" : "216", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "5", + "annotation" : [ ] + } + }, { + "type" : "Interval", + "localId" : "222", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "223", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "224", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "low" : { + "type" : "Literal", + "localId" : "220", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "high" : { + "type" : "Literal", + "localId" : "221", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "4", + "annotation" : [ ] + } + } ] + } + }, { + "localId" : "239", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "NotIncludesIntIvl", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "239", + "s" : [ { + "value" : [ "", "define ", "NotIncludesIntIvl", ": " ] + }, { + "r" : "250", + "s" : [ { + "r" : "242", + "s" : [ { + "r" : "240", + "value" : [ "Interval(", "1", ", ", "5", "]" ] + } ] + }, { + "r" : "250", + "value" : [ " ", "includes", " " ] + }, { + "r" : "247", + "s" : [ { + "r" : "245", + "value" : [ "Interval[", "1", ", ", "4", "]" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Includes", + "localId" : "250", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "251", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "252", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "253", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "254", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "Interval", + "localId" : "242", + "lowClosed" : false, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "243", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "244", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "low" : { + "type" : "Literal", + "localId" : "240", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "high" : { + "type" : "Literal", + "localId" : "241", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "5", + "annotation" : [ ] + } + }, { + "type" : "Interval", + "localId" : "247", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "248", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "249", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "low" : { + "type" : "Literal", + "localId" : "245", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "high" : { + "type" : "Literal", + "localId" : "246", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "4", + "annotation" : [ ] + } + } ] + } + }, { + "localId" : "264", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "IncludesRealIvl", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "264", + "s" : [ { + "value" : [ "", "define ", "IncludesRealIvl", ": " ] + }, { + "r" : "275", + "s" : [ { + "r" : "267", + "s" : [ { + "r" : "265", + "value" : [ "Interval[", "1.234", ", ", "3.456", "]" ] + } ] + }, { + "r" : "275", + "value" : [ " ", "includes", " " ] + }, { + "r" : "272", + "s" : [ { + "r" : "270", + "value" : [ "Interval[", "2.34", ", ", "2.56", "]" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Includes", + "localId" : "275", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "276", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "277", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "278", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "279", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "Interval", + "localId" : "267", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "268", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "269", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } + }, + "low" : { + "type" : "Literal", + "localId" : "265", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "1.234", + "annotation" : [ ] + }, + "high" : { + "type" : "Literal", + "localId" : "266", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "3.456", + "annotation" : [ ] + } + }, { + "type" : "Interval", + "localId" : "272", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "273", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "274", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } + }, + "low" : { + "type" : "Literal", + "localId" : "270", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "2.34", + "annotation" : [ ] + }, + "high" : { + "type" : "Literal", + "localId" : "271", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "2.56", + "annotation" : [ ] + } + } ] + } + }, { + "localId" : "289", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "NotIncludesRealIvl", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "289", + "s" : [ { + "value" : [ "", "define ", "NotIncludesRealIvl", ": " ] + }, { + "r" : "300", + "s" : [ { + "r" : "292", + "s" : [ { + "r" : "290", + "value" : [ "Interval[", "1.234", ", ", "3.456", "]" ] + } ] + }, { + "r" : "300", + "value" : [ " ", "includes", " " ] + }, { + "r" : "297", + "s" : [ { + "r" : "295", + "value" : [ "Interval[", "1.23", ", ", "2.56", "]" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Includes", + "localId" : "300", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "301", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "302", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "303", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "304", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "Interval", + "localId" : "292", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "293", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "294", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } + }, + "low" : { + "type" : "Literal", + "localId" : "290", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "1.234", + "annotation" : [ ] + }, + "high" : { + "type" : "Literal", + "localId" : "291", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "3.456", + "annotation" : [ ] + } + }, { + "type" : "Interval", + "localId" : "297", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "298", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "299", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } + }, + "low" : { + "type" : "Literal", + "localId" : "295", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "1.23", + "annotation" : [ ] + }, + "high" : { + "type" : "Literal", + "localId" : "296", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "2.56", + "annotation" : [ ] + } + } ] + } + }, { + "localId" : "314", + "name" : "DateIvl", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "314", "s" : [ { - "value" : [ "","library TestSnippet version '1'" ] - } ] - } - } ], - "identifier" : { - "id" : "TestSnippet", - "version" : "1" - }, - "schemaIdentifier" : { - "id" : "urn:hl7-org:elm", - "version" : "r1" - }, - "usings" : { - "def" : [ { - "localId" : "1", - "localIdentifier" : "System", - "uri" : "urn:hl7-org:elm-types:r1" - }, { - "localId" : "206", - "localIdentifier" : "Simple", - "uri" : "https://github.com/cqframework/cql-execution/simple", - "version" : "1.0.0", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "206", - "s" : [ { - "value" : [ "","using " ] - }, { - "s" : [ { - "value" : [ "Simple" ] - } ] - }, { - "value" : [ " version '1.0.0'" ] - } ] - } - } ] - } ] - }, - "contexts" : { - "def" : [ { - "localId" : "211", - "name" : "Patient" - } ] - }, - "statements" : { - "def" : [ { - "localId" : "209", - "name" : "Patient", - "context" : "Patient", - "expression" : { - "localId" : "210", - "type" : "SingletonFrom", - "signature" : [ ], - "operand" : { - "localId" : "208", - "dataType" : "{https://github.com/cqframework/cql-execution/simple}Patient", - "type" : "Retrieve", - "include" : [ ], - "codeFilter" : [ ], - "dateFilter" : [ ], - "otherFilter" : [ ] - } - } - }, { - "localId" : "214", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "MeetsAfterIntIvl", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "214", - "s" : [ { - "value" : [ "","define ","MeetsAfterIntIvl",": " ] - }, { - "r" : "225", - "s" : [ { - "r" : "217", - "s" : [ { - "r" : "215", - "value" : [ "Interval[","11",", ","15","]" ] - } ] - }, { - "r" : "225", - "value" : [ " ","meets before"," " ] - }, { - "r" : "222", - "s" : [ { - "r" : "220", - "value" : [ "Interval[","5",", ","10","]" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "225", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "MeetsBefore", - "signature" : [ { - "localId" : "226", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "227", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "228", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "229", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "217", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "218", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "219", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "215", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "11", - "type" : "Literal" - }, - "high" : { - "localId" : "216", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal" - } - }, { - "localId" : "222", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "223", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "224", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "220", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal" - }, - "high" : { - "localId" : "221", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal" - } - } ] - } - }, { - "localId" : "232", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "MeetsBeforeIntIvl", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "232", + "value" : [ "", "define ", "DateIvl", ": " ] + }, { + "r" : "363", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "331", + "s" : [ { + "r" : "315", + "value" : [ "DateTime", "(", "2012", ", ", "3", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "355", + "s" : [ { + "r" : "339", + "value" : [ "DateTime", "(", "2012", ", ", "9", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "366", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "367", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "expression" : { + "type" : "Interval", + "localId" : "363", + "lowClosed" : true, + "highClosed" : false, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "364", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "365", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "DateTime", + "localId" : "331", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "332", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "333", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "334", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "335", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "336", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "337", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "338", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "315", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "316", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "317", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "318", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "319", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "320", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "321", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "355", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "356", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "357", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "358", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "359", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "360", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "361", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "362", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "339", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "340", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "9", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "341", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "342", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "343", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "344", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "345", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + } + } + }, { + "localId" : "370", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "IncludesDateIvl", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "370", + "s" : [ { + "value" : [ "", "define ", "IncludesDateIvl", ": " ] + }, { + "r" : "425", + "s" : [ { + "r" : "371", + "s" : [ { + "value" : [ "DateIvl" ] + } ] + }, { + "r" : "425", + "value" : [ " ", "includes", " " ] + }, { + "r" : "422", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "390", + "s" : [ { + "r" : "374", + "value" : [ "DateTime", "(", "2012", ", ", "4", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "414", "s" : [ { - "value" : [ "","define ","MeetsBeforeIntIvl",": " ] - }, { - "r" : "243", - "s" : [ { - "r" : "235", - "s" : [ { - "r" : "233", - "value" : [ "Interval[","1",", ","4","]" ] - } ] - }, { - "r" : "243", - "value" : [ " ","meets before"," " ] - }, { - "r" : "240", - "s" : [ { - "r" : "238", - "value" : [ "Interval[","5",", ","10","]" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "243", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "MeetsBefore", - "signature" : [ { - "localId" : "244", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "245", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "246", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "247", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "235", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "236", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "237", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "233", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "high" : { - "localId" : "234", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "4", - "type" : "Literal" - } - }, { - "localId" : "240", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "241", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "242", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "238", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal" - }, - "high" : { - "localId" : "239", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal" - } - } ] - } - }, { - "localId" : "250", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "NotMeetsIntIvl", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "250", - "s" : [ { - "value" : [ "","define ","NotMeetsIntIvl",": " ] - }, { - "r" : "261", - "s" : [ { - "r" : "253", - "s" : [ { - "r" : "251", - "value" : [ "Interval[","1",", ","2","]" ] - } ] - }, { - "r" : "261", - "value" : [ " ","meets before"," " ] - }, { - "r" : "258", - "s" : [ { - "r" : "256", - "value" : [ "Interval[","5",", ","10","]" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "261", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "MeetsBefore", - "signature" : [ { - "localId" : "262", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "263", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "264", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "265", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "253", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "254", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "255", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "251", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "high" : { - "localId" : "252", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal" - } - }, { - "localId" : "258", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "259", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "260", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "256", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal" - }, - "high" : { - "localId" : "257", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal" - } - } ] - } - }, { - "localId" : "268", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "MeetsAfterRealIvl", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "268", + "r" : "398", + "value" : [ "DateTime", "(", "2012", ", ", "6", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Includes", + "localId" : "425", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "426", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "427", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "428", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "429", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "ExpressionRef", + "localId" : "371", + "name" : "DateIvl", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "372", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "373", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + }, { + "type" : "Interval", + "localId" : "422", + "lowClosed" : true, + "highClosed" : false, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "423", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "424", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "DateTime", + "localId" : "390", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "391", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "392", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "393", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "394", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "395", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "396", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "397", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "374", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "375", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "4", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "376", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "377", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "378", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "379", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "380", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "414", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "415", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "416", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "417", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "418", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "419", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "420", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "421", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "398", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "399", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "6", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "400", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "401", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "402", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "403", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "404", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + } + } ] + } + }, { + "localId" : "439", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "NotIncludesDateIvl", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "439", + "s" : [ { + "value" : [ "", "define ", "NotIncludesDateIvl", ": " ] + }, { + "r" : "494", + "s" : [ { + "r" : "440", + "s" : [ { + "value" : [ "DateIvl" ] + } ] + }, { + "r" : "494", + "value" : [ " ", "includes", " " ] + }, { + "r" : "491", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "459", + "s" : [ { + "r" : "443", + "value" : [ "DateTime", "(", "2012", ", ", "6", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "483", + "s" : [ { + "r" : "467", + "value" : [ "DateTime", "(", "2012", ", ", "9", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ "]" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Includes", + "localId" : "494", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "495", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "496", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "497", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "498", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "ExpressionRef", + "localId" : "440", + "name" : "DateIvl", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "441", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "442", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + }, { + "type" : "Interval", + "localId" : "491", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "492", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "493", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "DateTime", + "localId" : "459", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "460", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "461", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "462", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "463", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "464", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "465", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "466", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "443", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "444", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "6", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "445", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "446", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "447", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "448", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "449", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "483", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "484", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "485", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "486", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "487", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "488", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "489", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "490", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "467", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "468", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "9", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "469", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "470", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "471", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "472", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "473", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + } + } ] + } + }, { + "localId" : "508", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "IncludesImpreciseDateIvl", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "508", + "s" : [ { + "value" : [ "", "define ", "IncludesImpreciseDateIvl", ": " ] + }, { + "r" : "533", + "s" : [ { + "r" : "509", + "s" : [ { + "value" : [ "DateIvl" ] + } ] + }, { + "r" : "533", + "value" : [ " ", "includes", " " ] + }, { + "r" : "530", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "518", + "s" : [ { + "r" : "512", + "value" : [ "DateTime", "(", "2012", ", ", "4", ")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "527", + "s" : [ { + "r" : "521", + "value" : [ "DateTime", "(", "2012", ", ", "6", ")" ] + } ] + }, { + "value" : [ "]" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Includes", + "localId" : "533", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "534", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "535", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "536", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "537", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "ExpressionRef", + "localId" : "509", + "name" : "DateIvl", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "510", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "511", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + }, { + "type" : "Interval", + "localId" : "530", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "531", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "532", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "DateTime", + "localId" : "518", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "519", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "520", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "512", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "513", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "4", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "527", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "528", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "529", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "521", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "522", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "6", + "annotation" : [ ] + } + } + } ] + } + }, { + "localId" : "547", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "NotIncludesImpreciseDateIvl", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "547", + "s" : [ { + "value" : [ "", "define ", "NotIncludesImpreciseDateIvl", ": " ] + }, { + "r" : "572", + "s" : [ { + "r" : "548", + "s" : [ { + "value" : [ "DateIvl" ] + } ] + }, { + "r" : "572", + "value" : [ " ", "includes", " " ] + }, { + "r" : "569", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "557", + "s" : [ { + "r" : "551", + "value" : [ "DateTime", "(", "2012", ", ", "4", ")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "566", + "s" : [ { + "r" : "560", + "value" : [ "DateTime", "(", "2012", ", ", "9", ")" ] + } ] + }, { + "value" : [ "]" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Includes", + "localId" : "572", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "573", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "574", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "575", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "576", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "ExpressionRef", + "localId" : "548", + "name" : "DateIvl", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "549", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "550", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + }, { + "type" : "Interval", + "localId" : "569", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "570", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "571", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "DateTime", + "localId" : "557", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "558", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "559", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "551", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "552", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "4", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "566", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "567", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "568", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "560", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "561", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "9", + "annotation" : [ ] + } + } + } ] + } + }, { + "localId" : "586", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "MayIncludeImpreciseDateIvl", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "586", + "s" : [ { + "value" : [ "", "define ", "MayIncludeImpreciseDateIvl", ": " ] + }, { + "r" : "605", + "s" : [ { + "r" : "587", + "s" : [ { + "value" : [ "DateIvl" ] + } ] + }, { + "r" : "605", + "value" : [ " ", "includes", " " ] + }, { + "r" : "602", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "594", + "s" : [ { + "r" : "590", + "value" : [ "DateTime", "(", "2012", ")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "600", + "s" : [ { + "r" : "596", + "value" : [ "DateTime", "(", "2012", ")" ] + } ] + }, { + "value" : [ "]" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Includes", + "localId" : "605", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "606", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "607", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "608", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "609", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "ExpressionRef", + "localId" : "587", + "name" : "DateIvl", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "588", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "589", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + }, { + "type" : "Interval", + "localId" : "602", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "603", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "604", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "DateTime", + "localId" : "594", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "595", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "590", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "600", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "601", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "596", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + } + } + } ] + } + }, { + "localId" : "619", + "name" : "PrecisionDateIvl", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "619", + "s" : [ { + "value" : [ "", "define ", "PrecisionDateIvl", ": " ] + }, { + "r" : "668", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "636", + "s" : [ { + "r" : "620", + "value" : [ "DateTime", "(", "2012", ", ", "3", ", ", "2", ", ", "12", ", ", "34", ", ", "56", ", ", "789", ")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "660", + "s" : [ { + "r" : "644", + "value" : [ "DateTime", "(", "2012", ", ", "9", ", ", "2", ", ", "1", ", ", "23", ", ", "45", ", ", "678", ")" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "671", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "672", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "expression" : { + "type" : "Interval", + "localId" : "668", + "lowClosed" : true, + "highClosed" : false, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "669", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "670", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "DateTime", + "localId" : "636", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "637", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "638", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "639", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "640", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "641", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "642", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "643", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "620", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "621", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "622", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "623", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "12", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "624", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "34", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "625", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "56", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "626", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "789", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "660", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "661", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "662", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "663", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "664", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "665", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "666", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "667", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "644", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "645", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "9", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "646", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "647", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "648", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "23", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "649", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "45", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "650", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "678", + "annotation" : [ ] + } + } + } + }, { + "localId" : "675", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "IncludesDayOfIvlLowEdge", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "675", + "s" : [ { + "value" : [ "", "define ", "IncludesDayOfIvlLowEdge", ": " ] + }, { + "r" : "730", + "s" : [ { + "r" : "676", + "s" : [ { + "value" : [ "PrecisionDateIvl" ] + } ] + }, { + "r" : "730", + "value" : [ " ", "includes day of", " " ] + }, { + "r" : "727", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "695", + "s" : [ { + "r" : "679", + "value" : [ "DateTime", "(", "2012", ", ", "3", ", ", "2", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "719", + "s" : [ { + "r" : "703", + "value" : [ "DateTime", "(", "2012", ", ", "6", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Includes", + "localId" : "730", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "precision" : "Day", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "731", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "732", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "733", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "734", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "ExpressionRef", + "localId" : "676", + "name" : "PrecisionDateIvl", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "677", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "678", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + }, { + "type" : "Interval", + "localId" : "727", + "lowClosed" : true, + "highClosed" : false, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "728", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "729", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "DateTime", + "localId" : "695", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "696", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "697", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "698", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "699", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "700", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "701", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "702", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "679", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "680", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "681", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "682", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "683", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "684", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "685", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "719", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "720", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "721", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "722", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "723", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "724", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "725", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "726", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "703", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "704", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "6", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "705", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "706", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "707", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "708", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "709", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + } + } ] + } + }, { + "localId" : "744", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "IncludesDayOfIvlHighEdge", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "744", + "s" : [ { + "value" : [ "", "define ", "IncludesDayOfIvlHighEdge", ": " ] + }, { + "r" : "799", + "s" : [ { + "r" : "745", + "s" : [ { + "value" : [ "PrecisionDateIvl" ] + } ] + }, { + "r" : "799", + "value" : [ " ", "includes day of", " " ] + }, { + "r" : "796", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "764", + "s" : [ { + "r" : "748", + "value" : [ "DateTime", "(", "2012", ", ", "6", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "788", + "s" : [ { + "r" : "772", + "value" : [ "DateTime", "(", "2012", ", ", "9", ", ", "2", ", ", "23", ", ", "59", ", ", "59", ", ", "999", ")" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Includes", + "localId" : "799", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "precision" : "Day", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "800", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "801", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "802", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "803", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "ExpressionRef", + "localId" : "745", + "name" : "PrecisionDateIvl", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "746", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "747", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + }, { + "type" : "Interval", + "localId" : "796", + "lowClosed" : true, + "highClosed" : false, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "797", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "798", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "DateTime", + "localId" : "764", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "765", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "766", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "767", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "768", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "769", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "770", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "771", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "748", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "749", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "6", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "750", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "751", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "752", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "753", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "754", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "788", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "789", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "790", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "791", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "792", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "793", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "794", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "795", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "772", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "773", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "9", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "774", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "775", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "23", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "776", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "59", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "777", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "59", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "778", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "999", + "annotation" : [ ] + } + } + } ] + } + }, { + "localId" : "813", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "NotIncludesDayOfIvlLowEdge", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "813", + "s" : [ { + "value" : [ "", "define ", "NotIncludesDayOfIvlLowEdge", ": " ] + }, { + "r" : "868", + "s" : [ { + "r" : "814", + "s" : [ { + "value" : [ "PrecisionDateIvl" ] + } ] + }, { + "r" : "868", + "value" : [ " ", "includes day of", " " ] + }, { + "r" : "865", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "833", + "s" : [ { + "r" : "817", + "value" : [ "DateTime", "(", "2012", ", ", "3", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "857", + "s" : [ { + "r" : "841", + "value" : [ "DateTime", "(", "2012", ", ", "6", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ "]" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Includes", + "localId" : "868", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "precision" : "Day", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "869", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "870", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "871", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "872", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "ExpressionRef", + "localId" : "814", + "name" : "PrecisionDateIvl", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "815", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "816", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + }, { + "type" : "Interval", + "localId" : "865", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "866", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "867", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "DateTime", + "localId" : "833", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "834", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "835", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "836", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "837", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "838", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "839", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "840", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "817", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "818", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "819", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "820", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "821", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "822", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "823", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "857", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "858", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "859", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "860", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "861", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "862", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "863", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "864", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "841", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "842", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "6", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "843", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "844", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "845", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "846", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "847", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + } + } ] + } + }, { + "localId" : "882", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "NotIncludesDayOfIvlHighEdge", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "882", + "s" : [ { + "value" : [ "", "define ", "NotIncludesDayOfIvlHighEdge", ": " ] + }, { + "r" : "937", + "s" : [ { + "r" : "883", + "s" : [ { + "value" : [ "PrecisionDateIvl" ] + } ] + }, { + "r" : "937", + "value" : [ " ", "includes day of", " " ] + }, { + "r" : "934", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "902", + "s" : [ { + "r" : "886", + "value" : [ "DateTime", "(", "2012", ", ", "6", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "926", + "s" : [ { + "r" : "910", + "value" : [ "DateTime", "(", "2012", ", ", "9", ", ", "3", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ "]" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Includes", + "localId" : "937", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "precision" : "Day", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "938", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "939", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "940", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "941", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "ExpressionRef", + "localId" : "883", + "name" : "PrecisionDateIvl", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "884", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "885", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + }, { + "type" : "Interval", + "localId" : "934", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "935", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "936", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "DateTime", + "localId" : "902", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "903", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "904", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "905", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "906", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "907", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "908", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "909", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "886", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "887", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "6", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "888", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "889", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "890", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "891", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "892", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "926", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "927", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "928", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "929", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "930", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "931", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "932", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "933", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "910", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "911", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "9", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "912", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "913", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "914", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "915", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "916", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + } + } ] + } + }, { + "localId" : "951", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "IncludesDayOfIvlImpreciseLowEdge", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "951", + "s" : [ { + "value" : [ "", "define ", "IncludesDayOfIvlImpreciseLowEdge", ": " ] + }, { + "r" : "982", + "s" : [ { + "r" : "952", + "s" : [ { + "value" : [ "PrecisionDateIvl" ] + } ] + }, { + "r" : "982", + "value" : [ " ", "includes day of", " " ] + }, { + "r" : "979", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "963", + "s" : [ { + "r" : "955", + "value" : [ "DateTime", "(", "2012", ", ", "3", ", ", "2", ")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "975", + "s" : [ { + "r" : "967", + "value" : [ "DateTime", "(", "2012", ", ", "6", ", ", "1", ")" ] + } ] + }, { + "value" : [ "]" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Includes", + "localId" : "982", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "precision" : "Day", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "983", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "984", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "985", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "986", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "ExpressionRef", + "localId" : "952", + "name" : "PrecisionDateIvl", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "953", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "954", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + }, { + "type" : "Interval", + "localId" : "979", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "980", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "981", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "DateTime", + "localId" : "963", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "964", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "965", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "966", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "955", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "956", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "957", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "975", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "976", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "977", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "978", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "967", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "968", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "6", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "969", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + } + } + } ] + } + }, { + "localId" : "996", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "IncludesDayOfIvlImpreciseHighEdge", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "996", + "s" : [ { + "value" : [ "", "define ", "IncludesDayOfIvlImpreciseHighEdge", ": " ] + }, { + "r" : "1027", + "s" : [ { + "r" : "997", + "s" : [ { + "value" : [ "PrecisionDateIvl" ] + } ] + }, { + "r" : "1027", + "value" : [ " ", "includes day of", " " ] + }, { + "r" : "1024", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "1008", "s" : [ { - "value" : [ "","define ","MeetsAfterRealIvl",": " ] - }, { - "r" : "279", - "s" : [ { - "r" : "271", - "s" : [ { - "r" : "269", - "value" : [ "Interval[","1.50000001",", ","2.5","]" ] - } ] - }, { - "r" : "279", - "value" : [ " ","meets before"," " ] - }, { - "r" : "276", - "s" : [ { - "r" : "274", - "value" : [ "Interval[","0.5",", ","1.5","]" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "279", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "MeetsBefore", - "signature" : [ { - "localId" : "280", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "281", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "282", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "283", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "271", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "272", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "273", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "269", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "1.50000001", - "type" : "Literal" - }, - "high" : { - "localId" : "270", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "2.5", - "type" : "Literal" - } - }, { - "localId" : "276", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "277", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "278", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "274", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "0.5", - "type" : "Literal" - }, - "high" : { - "localId" : "275", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "1.5", - "type" : "Literal" - } - } ] - } - }, { - "localId" : "286", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "MeetsBeforeRealIvl", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "286", + "r" : "1000", + "value" : [ "DateTime", "(", "2012", ", ", "6", ", ", "1", ")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "1020", "s" : [ { - "value" : [ "","define ","MeetsBeforeRealIvl",": " ] - }, { - "r" : "297", - "s" : [ { - "r" : "289", - "s" : [ { - "r" : "287", - "value" : [ "Interval[","0.5",", ","1.5","]" ] - } ] - }, { - "r" : "297", - "value" : [ " ","meets before"," " ] - }, { - "r" : "294", - "s" : [ { - "r" : "292", - "value" : [ "Interval[","1.50000001",", ","2.5","]" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "297", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "MeetsBefore", - "signature" : [ { - "localId" : "298", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "299", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "300", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "301", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "289", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "290", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "291", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "287", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "0.5", - "type" : "Literal" - }, - "high" : { - "localId" : "288", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "1.5", - "type" : "Literal" - } - }, { - "localId" : "294", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "295", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "296", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "292", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "1.50000001", - "type" : "Literal" - }, - "high" : { - "localId" : "293", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "2.5", - "type" : "Literal" - } - } ] - } - }, { - "localId" : "304", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "NotMeetsRealIvl", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "304", - "s" : [ { - "value" : [ "","define ","NotMeetsRealIvl",": " ] - }, { - "r" : "315", - "s" : [ { - "r" : "307", - "s" : [ { - "r" : "305", - "value" : [ "Interval[","0.0",", ","1.0","]" ] - } ] - }, { - "r" : "315", - "value" : [ " ","meets before"," " ] - }, { - "r" : "312", - "s" : [ { - "r" : "310", - "value" : [ "Interval[","1.1",", ","2.0","]" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "315", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "MeetsBefore", - "signature" : [ { - "localId" : "316", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "317", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "318", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "319", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "307", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "308", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "309", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "305", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "0.0", - "type" : "Literal" - }, - "high" : { - "localId" : "306", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "1.0", - "type" : "Literal" - } - }, { - "localId" : "312", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "313", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "314", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "310", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "1.1", - "type" : "Literal" - }, - "high" : { - "localId" : "311", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "2.0", - "type" : "Literal" - } - } ] - } - }, { - "localId" : "322", - "name" : "DateIvl", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "322", + "r" : "1012", + "value" : [ "DateTime", "(", "2012", ", ", "9", ", ", "2", ")" ] + } ] + }, { + "value" : [ "]" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Includes", + "localId" : "1027", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "precision" : "Day", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "1028", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1029", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "1030", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1031", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "ExpressionRef", + "localId" : "997", + "name" : "PrecisionDateIvl", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "998", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "999", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + }, { + "type" : "Interval", + "localId" : "1024", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1025", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1026", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "DateTime", + "localId" : "1008", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1009", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1010", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1011", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1000", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1001", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "6", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "1002", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "1020", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1021", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1022", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1023", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1012", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1013", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "9", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "1014", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "annotation" : [ ] + } + } + } ] + } + }, { + "localId" : "1041", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "IncludesDayOfIvlVeryImpreciseMiddle", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "1041", + "s" : [ { + "value" : [ "", "define ", "IncludesDayOfIvlVeryImpreciseMiddle", ": " ] + }, { + "r" : "1066", + "s" : [ { + "r" : "1042", + "s" : [ { + "value" : [ "PrecisionDateIvl" ] + } ] + }, { + "r" : "1066", + "value" : [ " ", "includes day of", " " ] + }, { + "r" : "1063", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "1051", "s" : [ { - "value" : [ "","define ","DateIvl",": " ] - }, { - "r" : "371", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "339", - "s" : [ { - "r" : "323", - "value" : [ "DateTime","(","2012",", ","3",", ","1",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "363", - "s" : [ { - "r" : "347", - "value" : [ "DateTime","(","2012",", ","9",", ","1",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ ")" ] - } ] - } ] - } - } ], + "r" : "1045", + "value" : [ "DateTime", "(", "2012", ", ", "5", ")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "1060", + "s" : [ { + "r" : "1054", + "value" : [ "DateTime", "(", "2012", ", ", "6", ")" ] + } ] + }, { + "value" : [ "]" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Includes", + "localId" : "1066", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "precision" : "Day", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "1067", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1068", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "1069", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1070", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "ExpressionRef", + "localId" : "1042", + "name" : "PrecisionDateIvl", + "annotation" : [ ], "resultTypeSpecifier" : { - "localId" : "374", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "375", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "expression" : { - "localId" : "371", - "lowClosed" : true, - "highClosed" : false, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "372", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "373", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "339", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "340", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "341", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "342", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "343", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "344", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "345", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "346", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "323", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "324", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "325", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "326", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "327", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "328", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "329", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - }, - "high" : { - "localId" : "363", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "364", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "365", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "366", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "367", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "368", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "369", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "370", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "347", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "348", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "9", - "type" : "Literal" - }, - "day" : { - "localId" : "349", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "350", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "351", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "352", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "353", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - } - } - }, { - "localId" : "378", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "MeetsAfterDateIvl", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "378", + "type" : "IntervalTypeSpecifier", + "localId" : "1043", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1044", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + }, { + "type" : "Interval", + "localId" : "1063", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1064", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1065", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "DateTime", + "localId" : "1051", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1052", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1053", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1045", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1046", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "5", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "1060", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1061", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1062", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1054", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1055", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "6", + "annotation" : [ ] + } + } + } ] + } + }, { + "localId" : "1080", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "NotIncludesDayOfIvlVeryImpreciseLow", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "1080", + "s" : [ { + "value" : [ "", "define ", "NotIncludesDayOfIvlVeryImpreciseLow", ": " ] + }, { + "r" : "1105", + "s" : [ { + "r" : "1081", + "s" : [ { + "value" : [ "PrecisionDateIvl" ] + } ] + }, { + "r" : "1105", + "value" : [ " ", "includes day of", " " ] + }, { + "r" : "1102", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "1090", + "s" : [ { + "r" : "1084", + "value" : [ "DateTime", "(", "2012", ", ", "2", ")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "1099", + "s" : [ { + "r" : "1093", + "value" : [ "DateTime", "(", "2012", ", ", "6", ")" ] + } ] + }, { + "value" : [ "]" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Includes", + "localId" : "1105", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "precision" : "Day", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "1106", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1107", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "1108", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1109", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "ExpressionRef", + "localId" : "1081", + "name" : "PrecisionDateIvl", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1082", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1083", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + }, { + "type" : "Interval", + "localId" : "1102", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1103", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1104", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "DateTime", + "localId" : "1090", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1091", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1092", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1084", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1085", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "1099", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1100", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1101", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1093", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1094", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "6", + "annotation" : [ ] + } + } + } ] + } + }, { + "localId" : "1119", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "NotIncludesDayOfIvlVeryImpreciseHigh", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "1119", + "s" : [ { + "value" : [ "", "define ", "NotIncludesDayOfIvlVeryImpreciseHigh", ": " ] + }, { + "r" : "1144", + "s" : [ { + "r" : "1120", + "s" : [ { + "value" : [ "PrecisionDateIvl" ] + } ] + }, { + "r" : "1144", + "value" : [ " ", "includes day of", " " ] + }, { + "r" : "1141", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "1129", + "s" : [ { + "r" : "1123", + "value" : [ "DateTime", "(", "2012", ", ", "6", ")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "1138", + "s" : [ { + "r" : "1132", + "value" : [ "DateTime", "(", "2012", ", ", "10", ")" ] + } ] + }, { + "value" : [ "]" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Includes", + "localId" : "1144", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "precision" : "Day", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "1145", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1146", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "1147", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1148", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "ExpressionRef", + "localId" : "1120", + "name" : "PrecisionDateIvl", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1121", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1122", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + }, { + "type" : "Interval", + "localId" : "1141", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1142", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1143", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "DateTime", + "localId" : "1129", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1130", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1131", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1123", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1124", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "6", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "1138", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1139", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1140", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1132", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1133", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "10", + "annotation" : [ ] + } + } + } ] + } + }, { + "localId" : "1158", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "MayIncludeDayOfIvlVeryImpreciseLow", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "1158", + "s" : [ { + "value" : [ "", "define ", "MayIncludeDayOfIvlVeryImpreciseLow", ": " ] + }, { + "r" : "1183", + "s" : [ { + "r" : "1159", + "s" : [ { + "value" : [ "PrecisionDateIvl" ] + } ] + }, { + "r" : "1183", + "value" : [ " ", "includes day of", " " ] + }, { + "r" : "1180", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "1168", + "s" : [ { + "r" : "1162", + "value" : [ "DateTime", "(", "2012", ", ", "3", ")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "1177", + "s" : [ { + "r" : "1171", + "value" : [ "DateTime", "(", "2012", ", ", "6", ")" ] + } ] + }, { + "value" : [ "]" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Includes", + "localId" : "1183", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "precision" : "Day", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "1184", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1185", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "1186", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1187", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "ExpressionRef", + "localId" : "1159", + "name" : "PrecisionDateIvl", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1160", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1161", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + }, { + "type" : "Interval", + "localId" : "1180", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1181", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1182", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "DateTime", + "localId" : "1168", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1169", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1170", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1162", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1163", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "1177", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1178", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1179", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1171", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1172", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "6", + "annotation" : [ ] + } + } + } ] + } + }, { + "localId" : "1197", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "MayIncludeDayOfIvlVeryImpreciseHigh", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "1197", + "s" : [ { + "value" : [ "", "define ", "MayIncludeDayOfIvlVeryImpreciseHigh", ": " ] + }, { + "r" : "1222", + "s" : [ { + "r" : "1198", + "s" : [ { + "value" : [ "PrecisionDateIvl" ] + } ] + }, { + "r" : "1222", + "value" : [ " ", "includes day of", " " ] + }, { + "r" : "1219", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "1207", + "s" : [ { + "r" : "1201", + "value" : [ "DateTime", "(", "2012", ", ", "6", ")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "1216", + "s" : [ { + "r" : "1210", + "value" : [ "DateTime", "(", "2012", ", ", "9", ")" ] + } ] + }, { + "value" : [ "]" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Includes", + "localId" : "1222", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "precision" : "Day", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "1223", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1224", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "1225", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1226", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "ExpressionRef", + "localId" : "1198", + "name" : "PrecisionDateIvl", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1199", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1200", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + }, { + "type" : "Interval", + "localId" : "1219", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1220", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1221", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "DateTime", + "localId" : "1207", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1208", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1209", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1201", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1202", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "6", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "1216", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1217", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1218", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1210", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1211", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "9", + "annotation" : [ ] + } + } + } ] + } + }, { + "localId" : "1236", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "MayIncludeDayOfIvlVeryImpreciseSurrounding", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "1236", + "s" : [ { + "value" : [ "", "define ", "MayIncludeDayOfIvlVeryImpreciseSurrounding", ": " ] + }, { + "r" : "1255", + "s" : [ { + "r" : "1237", + "s" : [ { + "value" : [ "PrecisionDateIvl" ] + } ] + }, { + "r" : "1255", + "value" : [ " ", "includes day of", " " ] + }, { + "r" : "1252", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "1244", + "s" : [ { + "r" : "1240", + "value" : [ "DateTime", "(", "2012", ")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "1250", + "s" : [ { + "r" : "1246", + "value" : [ "DateTime", "(", "2012", ")" ] + } ] + }, { + "value" : [ "]" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Includes", + "localId" : "1255", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "precision" : "Day", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "1256", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1257", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "1258", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1259", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "ExpressionRef", + "localId" : "1237", + "name" : "PrecisionDateIvl", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1238", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1239", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + }, { + "type" : "Interval", + "localId" : "1252", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1253", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1254", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "DateTime", + "localId" : "1244", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1245", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1240", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "1250", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1251", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1246", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + } + } + } ] + } + }, { + "localId" : "1269", + "name" : "ImpDateIvl", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "1269", + "s" : [ { + "value" : [ "", "define ", "ImpDateIvl", ": " ] + }, { + "r" : "1288", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "1276", + "s" : [ { + "r" : "1270", + "value" : [ "DateTime", "(", "2012", ", ", "3", ")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "1285", + "s" : [ { + "r" : "1279", + "value" : [ "DateTime", "(", "2012", ", ", "8", ")" ] + } ] + }, { + "value" : [ "]" ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1291", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1292", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "expression" : { + "type" : "Interval", + "localId" : "1288", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1289", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1290", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "DateTime", + "localId" : "1276", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1277", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1278", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1270", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1271", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "1285", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1286", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1287", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1279", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1280", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "8", + "annotation" : [ ] + } + } + } + }, { + "localId" : "1295", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "ImpreciseIncludesDateIvl", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "1295", + "s" : [ { + "value" : [ "", "define ", "ImpreciseIncludesDateIvl", ": " ] + }, { + "r" : "1350", + "s" : [ { + "r" : "1296", + "s" : [ { + "value" : [ "ImpDateIvl" ] + } ] + }, { + "r" : "1350", + "value" : [ " ", "includes", " " ] + }, { + "r" : "1347", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "1315", "s" : [ { - "value" : [ "","define ","MeetsAfterDateIvl",": " ] - }, { - "r" : "433", - "s" : [ { - "r" : "427", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "395", - "s" : [ { - "r" : "379", - "value" : [ "DateTime","(","2012",", ","9",", ","1",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "419", - "s" : [ { - "r" : "403", - "value" : [ "DateTime","(","2012",", ","12",", ","1",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ ")" ] - } ] - }, { - "r" : "433", - "value" : [ " ","meets before"," " ] - }, { - "r" : "430", - "s" : [ { - "value" : [ "DateIvl" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "433", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "MeetsBefore", - "signature" : [ { - "localId" : "434", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "435", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "436", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "437", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "427", - "lowClosed" : true, - "highClosed" : false, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "428", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "429", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "395", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "396", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "397", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "398", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "399", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "400", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "401", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "402", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "379", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "380", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "9", - "type" : "Literal" - }, - "day" : { - "localId" : "381", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "382", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "383", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "384", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "385", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - }, - "high" : { - "localId" : "419", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "420", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "421", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "422", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "423", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "424", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "425", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "426", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "403", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "404", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "12", - "type" : "Literal" - }, - "day" : { - "localId" : "405", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "406", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "407", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "408", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "409", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - } - }, { - "localId" : "430", - "name" : "DateIvl", - "type" : "ExpressionRef", - "resultTypeSpecifier" : { - "localId" : "431", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "432", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - } ] - } - }, { - "localId" : "440", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "MeetsBeforeDateIvl", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "440", + "r" : "1299", + "value" : [ "DateTime", "(", "2012", ", ", "4", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "1339", "s" : [ { - "value" : [ "","define ","MeetsBeforeDateIvl",": " ] - }, { - "r" : "495", - "s" : [ { - "r" : "489", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "457", - "s" : [ { - "r" : "441", - "value" : [ "DateTime","(","2012",", ","1",", ","1",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "481", - "s" : [ { - "r" : "465", - "value" : [ "DateTime","(","2012",", ","3",", ","1",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ ")" ] - } ] - }, { - "r" : "495", - "value" : [ " ","meets before"," " ] - }, { - "r" : "492", - "s" : [ { - "value" : [ "DateIvl" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "495", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "MeetsBefore", - "signature" : [ { - "localId" : "496", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "497", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "498", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "499", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "489", - "lowClosed" : true, - "highClosed" : false, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "490", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "491", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "457", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "458", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "459", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "460", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "461", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "462", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "463", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "464", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "441", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "442", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "443", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "444", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "445", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "446", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "447", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - }, - "high" : { - "localId" : "481", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "482", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "483", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "484", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "485", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "486", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "487", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "488", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "465", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "466", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "467", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "468", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "469", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "470", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "471", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - } - }, { - "localId" : "492", - "name" : "DateIvl", - "type" : "ExpressionRef", - "resultTypeSpecifier" : { - "localId" : "493", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "494", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - } ] - } - }, { - "localId" : "502", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "NotMeetsDateIvl", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "502", + "r" : "1323", + "value" : [ "DateTime", "(", "2012", ", ", "6", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Includes", + "localId" : "1350", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "1351", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1352", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "1353", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1354", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "ExpressionRef", + "localId" : "1296", + "name" : "ImpDateIvl", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1297", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1298", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + }, { + "type" : "Interval", + "localId" : "1347", + "lowClosed" : true, + "highClosed" : false, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1348", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1349", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "DateTime", + "localId" : "1315", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1316", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1317", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1318", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1319", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1320", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1321", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1322", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1299", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1300", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "4", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "1301", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "1302", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "1303", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "1304", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "1305", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "1339", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1340", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1341", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1342", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1343", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1344", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1345", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1346", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1323", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1324", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "6", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "1325", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "1326", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "1327", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "1328", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "1329", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + } + } ] + } + }, { + "localId" : "1364", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "ImpreciseIncludesDate", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "1364", + "s" : [ { + "value" : [ "", "define ", "ImpreciseIncludesDate", ": " ] + }, { + "r" : "1393", + "s" : [ { + "r" : "1365", + "s" : [ { + "value" : [ "ImpDateIvl" ] + } ] + }, { + "r" : "1393", + "value" : [ " ", "includes", " " ] + }, { + "r" : "1384", + "s" : [ { + "r" : "1368", + "value" : [ "DateTime", "(", "2012", ", ", "4", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Contains", + "localId" : "1393", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "1394", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1395", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1396", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "ExpressionRef", + "localId" : "1365", + "name" : "ImpDateIvl", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1366", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1367", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + }, { + "type" : "DateTime", + "localId" : "1384", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1385", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1386", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1387", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1388", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1389", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1390", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1391", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1368", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1369", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "4", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "1370", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "1371", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "1372", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "1373", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "1374", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + } ] + } + }, { + "localId" : "1399", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "ImpreciseDoesntIncludeDate", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "1399", + "s" : [ { + "value" : [ "", "define ", "ImpreciseDoesntIncludeDate", ": " ] + }, { + "r" : "1428", + "s" : [ { + "r" : "1400", + "s" : [ { + "value" : [ "ImpDateIvl" ] + } ] + }, { + "r" : "1428", + "value" : [ " ", "includes", " " ] + }, { + "r" : "1419", + "s" : [ { + "r" : "1403", + "value" : [ "DateTime", "(", "2016", ", ", "4", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Contains", + "localId" : "1428", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "1429", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1430", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1431", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "ExpressionRef", + "localId" : "1400", + "name" : "ImpDateIvl", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1401", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1402", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + }, { + "type" : "DateTime", + "localId" : "1419", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1420", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1421", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1422", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1423", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1424", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1425", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1426", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1403", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2016", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1404", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "4", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "1405", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "1406", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "1407", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "1408", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "1409", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + } ] + } + }, { + "localId" : "1434", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "IntervalIncludesQuantity", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "1434", + "s" : [ { + "value" : [ "", "define ", "IntervalIncludesQuantity", ": " ] + }, { + "r" : "1442", + "s" : [ { + "r" : "1437", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "1435", + "s" : [ { + "value" : [ "4 ", "'mg'" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "1436", + "s" : [ { + "value" : [ "6 ", "'mg'" ] + } ] + }, { + "value" : [ "]" ] + } ] + }, { + "r" : "1442", + "value" : [ " ", "includes", " " ] + }, { + "r" : "1440", + "s" : [ { + "value" : [ "5 ", "'mg'" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Contains", + "localId" : "1442", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "1443", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1444", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1445", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "Interval", + "localId" : "1437", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1438", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1439", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } + }, + "low" : { + "type" : "Quantity", + "localId" : "1435", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "value" : 4, + "unit" : "mg", + "annotation" : [ ] + }, + "high" : { + "type" : "Quantity", + "localId" : "1436", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "value" : 6, + "unit" : "mg", + "annotation" : [ ] + } + }, { + "type" : "Quantity", + "localId" : "1440", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "value" : 5, + "unit" : "mg", + "annotation" : [ ] + } ] + } + }, { + "localId" : "1448", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "IntervalDoesntIncludeQuantity", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "1448", + "s" : [ { + "value" : [ "", "define ", "IntervalDoesntIncludeQuantity", ": " ] + }, { + "r" : "1456", + "s" : [ { + "r" : "1451", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "1449", + "s" : [ { + "value" : [ "4 ", "'mg'" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "1450", + "s" : [ { + "value" : [ "6 ", "'mg'" ] + } ] + }, { + "value" : [ "]" ] + } ] + }, { + "r" : "1456", + "value" : [ " ", "includes", " " ] + }, { + "r" : "1454", + "s" : [ { + "value" : [ "50 ", "'mg'" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Contains", + "localId" : "1456", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "1457", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1458", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1459", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "Interval", + "localId" : "1451", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1452", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1453", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } + }, + "low" : { + "type" : "Quantity", + "localId" : "1449", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "value" : 4, + "unit" : "mg", + "annotation" : [ ] + }, + "high" : { + "type" : "Quantity", + "localId" : "1450", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "value" : 6, + "unit" : "mg", + "annotation" : [ ] + } + }, { + "type" : "Quantity", + "localId" : "1454", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "value" : 50, + "unit" : "mg", + "annotation" : [ ] + } ] + } + }, { + "localId" : "1462", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "ImpreciseNotIncludesDateIvl", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "1462", + "s" : [ { + "value" : [ "", "define ", "ImpreciseNotIncludesDateIvl", ": " ] + }, { + "r" : "1517", + "s" : [ { + "r" : "1463", + "s" : [ { + "value" : [ "ImpDateIvl" ] + } ] + }, { + "r" : "1517", + "value" : [ " ", "includes", " " ] + }, { + "r" : "1514", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "1482", + "s" : [ { + "r" : "1466", + "value" : [ "DateTime", "(", "2012", ", ", "2", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "1506", + "s" : [ { + "r" : "1490", + "value" : [ "DateTime", "(", "2012", ", ", "6", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Includes", + "localId" : "1517", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "1518", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1519", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "1520", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1521", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "ExpressionRef", + "localId" : "1463", + "name" : "ImpDateIvl", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1464", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1465", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + }, { + "type" : "Interval", + "localId" : "1514", + "lowClosed" : true, + "highClosed" : false, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1515", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1516", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "DateTime", + "localId" : "1482", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1483", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1484", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1485", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1486", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1487", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1488", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1489", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1466", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1467", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "1468", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "1469", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "1470", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "1471", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "1472", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "1506", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1507", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1508", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1509", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1510", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1511", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1512", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1513", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1490", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1491", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "6", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "1492", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "1493", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "1494", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "1495", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "1496", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + } + } ] + } + }, { + "localId" : "1531", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "ImpreciseMayIncludeDateIvl", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "1531", + "s" : [ { + "value" : [ "", "define ", "ImpreciseMayIncludeDateIvl", ": " ] + }, { + "r" : "1586", + "s" : [ { + "r" : "1532", + "s" : [ { + "value" : [ "ImpDateIvl" ] + } ] + }, { + "r" : "1586", + "value" : [ " ", "includes", " " ] + }, { + "r" : "1583", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "1551", + "s" : [ { + "r" : "1535", + "value" : [ "DateTime", "(", "2012", ", ", "3", ", ", "15", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "1575", + "s" : [ { + "r" : "1559", + "value" : [ "DateTime", "(", "2012", ", ", "6", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Includes", + "localId" : "1586", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "1587", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1588", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "1589", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1590", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "ExpressionRef", + "localId" : "1532", + "name" : "ImpDateIvl", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1533", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1534", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + }, { + "type" : "Interval", + "localId" : "1583", + "lowClosed" : true, + "highClosed" : false, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1584", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1585", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "DateTime", + "localId" : "1551", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1552", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1553", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1554", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1555", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1556", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1557", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1558", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1535", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1536", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "1537", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "15", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "1538", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "1539", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "1540", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "1541", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "1575", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1576", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1577", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1578", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1579", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1580", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1581", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1582", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1559", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1560", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "6", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "1561", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "1562", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "1563", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "1564", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "1565", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + } + } ] + } + }, { + "localId" : "1600", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "NegInfBegIncludesIntIvl", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "1600", + "s" : [ { + "value" : [ "", "define ", "NegInfBegIncludesIntIvl", ": " ] + }, { + "r" : "1614", + "s" : [ { + "r" : "1603", + "s" : [ { + "r" : "1601", + "value" : [ "Interval[", "null", ", ", "5", "]" ] + } ] + }, { + "r" : "1614", + "value" : [ " ", "includes", " " ] + }, { + "r" : "1611", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "1607", + "s" : [ { + "r" : "1608", + "value" : [ "-", "7" ] + } ] + }, { + "r" : "1610", + "value" : [ ", ", "2", "]" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Includes", + "localId" : "1614", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "1615", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1616", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "1617", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1618", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "Interval", + "localId" : "1603", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1605", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1606", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "low" : { + "type" : "As", + "localId" : "1604", + "asType" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Null", + "localId" : "1601", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } + }, + "high" : { + "type" : "Literal", + "localId" : "1602", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "5", + "annotation" : [ ] + } + }, { + "type" : "Interval", + "localId" : "1611", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1612", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1613", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "low" : { + "type" : "Negate", + "localId" : "1607", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1609", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "operand" : { + "type" : "Literal", + "localId" : "1608", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "7", + "annotation" : [ ] + } + }, + "high" : { + "type" : "Literal", + "localId" : "1610", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "annotation" : [ ] + } + } ] + } + }, { + "localId" : "1628", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "NegInfBegNotIncludesIntIvl", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "1628", + "s" : [ { + "value" : [ "", "define ", "NegInfBegNotIncludesIntIvl", ": " ] + }, { + "r" : "1640", + "s" : [ { + "r" : "1631", + "s" : [ { + "r" : "1629", + "value" : [ "Interval[", "null", ", ", "5", "]" ] + } ] + }, { + "r" : "1640", + "value" : [ " ", "includes", " " ] + }, { + "r" : "1637", + "s" : [ { + "r" : "1635", + "value" : [ "Interval[", "4", ", ", "7", "]" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Includes", + "localId" : "1640", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "1641", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1642", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "1643", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1644", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "Interval", + "localId" : "1631", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1633", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1634", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "low" : { + "type" : "As", + "localId" : "1632", + "asType" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Null", + "localId" : "1629", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } + }, + "high" : { + "type" : "Literal", + "localId" : "1630", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "5", + "annotation" : [ ] + } + }, { + "type" : "Interval", + "localId" : "1637", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1638", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1639", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "low" : { + "type" : "Literal", + "localId" : "1635", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "4", + "annotation" : [ ] + }, + "high" : { + "type" : "Literal", + "localId" : "1636", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "7", + "annotation" : [ ] + } + } ] + } + }, { + "localId" : "1654", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "UnknownBegIncludesIntIvl", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "1654", + "s" : [ { + "value" : [ "", "define ", "UnknownBegIncludesIntIvl", ": " ] + }, { + "r" : "1666", + "s" : [ { + "r" : "1657", + "s" : [ { + "r" : "1655", + "value" : [ "Interval(", "null", ", ", "5", "]" ] + } ] + }, { + "r" : "1666", + "value" : [ " ", "includes", " " ] + }, { + "r" : "1663", + "s" : [ { + "r" : "1661", + "value" : [ "Interval[", "5", ", ", "5", "]" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Includes", + "localId" : "1666", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "1667", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1668", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "1669", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1670", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "Interval", + "localId" : "1657", + "lowClosed" : false, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1659", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1660", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "low" : { + "type" : "As", + "localId" : "1658", + "asType" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Null", + "localId" : "1655", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } + }, + "high" : { + "type" : "Literal", + "localId" : "1656", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "5", + "annotation" : [ ] + } + }, { + "type" : "Interval", + "localId" : "1663", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1664", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1665", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "low" : { + "type" : "Literal", + "localId" : "1661", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "5", + "annotation" : [ ] + }, + "high" : { + "type" : "Literal", + "localId" : "1662", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "5", + "annotation" : [ ] + } + } ] + } + }, { + "localId" : "1680", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "UnknownBegMayIncludeIntIvl", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "1680", + "s" : [ { + "value" : [ "", "define ", "UnknownBegMayIncludeIntIvl", ": " ] + }, { + "r" : "1694", + "s" : [ { + "r" : "1683", + "s" : [ { + "r" : "1681", + "value" : [ "Interval(", "null", ", ", "5", "]" ] + } ] + }, { + "r" : "1694", + "value" : [ " ", "includes", " " ] + }, { + "r" : "1691", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "1687", + "s" : [ { + "r" : "1688", + "value" : [ "-", "7" ] + } ] + }, { + "r" : "1690", + "value" : [ ", ", "2", "]" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Includes", + "localId" : "1694", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "1695", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1696", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "1697", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1698", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "Interval", + "localId" : "1683", + "lowClosed" : false, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1685", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1686", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "low" : { + "type" : "As", + "localId" : "1684", + "asType" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Null", + "localId" : "1681", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } + }, + "high" : { + "type" : "Literal", + "localId" : "1682", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "5", + "annotation" : [ ] + } + }, { + "type" : "Interval", + "localId" : "1691", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1692", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1693", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "low" : { + "type" : "Negate", + "localId" : "1687", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1689", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "operand" : { + "type" : "Literal", + "localId" : "1688", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "7", + "annotation" : [ ] + } + }, + "high" : { + "type" : "Literal", + "localId" : "1690", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "annotation" : [ ] + } + } ] + } + }, { + "localId" : "1708", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "UnknownBegNotIncludesIntIvl", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "1708", + "s" : [ { + "value" : [ "", "define ", "UnknownBegNotIncludesIntIvl", ": " ] + }, { + "r" : "1720", + "s" : [ { + "r" : "1711", + "s" : [ { + "r" : "1709", + "value" : [ "Interval(", "null", ", ", "5", "]" ] + } ] + }, { + "r" : "1720", + "value" : [ " ", "includes", " " ] + }, { + "r" : "1717", + "s" : [ { + "r" : "1715", + "value" : [ "Interval[", "4", ", ", "7", "]" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Includes", + "localId" : "1720", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "1721", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1722", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "1723", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1724", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "Interval", + "localId" : "1711", + "lowClosed" : false, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1713", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1714", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "low" : { + "type" : "As", + "localId" : "1712", + "asType" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Null", + "localId" : "1709", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } + }, + "high" : { + "type" : "Literal", + "localId" : "1710", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "5", + "annotation" : [ ] + } + }, { + "type" : "Interval", + "localId" : "1717", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1718", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1719", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "low" : { + "type" : "Literal", + "localId" : "1715", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "4", + "annotation" : [ ] + }, + "high" : { + "type" : "Literal", + "localId" : "1716", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "7", + "annotation" : [ ] + } + } ] + } + }, { + "localId" : "1734", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "PosInfEndIncludesIntIvl", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "1734", + "s" : [ { + "value" : [ "", "define ", "PosInfEndIncludesIntIvl", ": " ] + }, { + "r" : "1746", + "s" : [ { + "r" : "1737", + "s" : [ { + "r" : "1735", + "value" : [ "Interval[", "0", ", ", "null", "]" ] + } ] + }, { + "r" : "1746", + "value" : [ " ", "includes", " " ] + }, { + "r" : "1743", + "s" : [ { + "r" : "1741", + "value" : [ "Interval[", "1234", ", ", "5678", "]" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Includes", + "localId" : "1746", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "1747", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1748", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "1749", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1750", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "Interval", + "localId" : "1737", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1739", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1740", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "low" : { + "type" : "Literal", + "localId" : "1735", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "high" : { + "type" : "As", + "localId" : "1738", + "asType" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Null", + "localId" : "1736", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } + } + }, { + "type" : "Interval", + "localId" : "1743", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1744", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1745", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "low" : { + "type" : "Literal", + "localId" : "1741", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1234", + "annotation" : [ ] + }, + "high" : { + "type" : "Literal", + "localId" : "1742", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "5678", + "annotation" : [ ] + } + } ] + } + }, { + "localId" : "1760", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "PosInfEndNotIncludesIntIvl", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "1760", + "s" : [ { + "value" : [ "", "define ", "PosInfEndNotIncludesIntIvl", ": " ] + }, { + "r" : "1774", + "s" : [ { + "r" : "1763", + "s" : [ { + "r" : "1761", + "value" : [ "Interval[", "0", ", ", "null", "]" ] + } ] + }, { + "r" : "1774", + "value" : [ " ", "includes", " " ] + }, { + "r" : "1771", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "1767", + "s" : [ { + "r" : "1768", + "value" : [ "-", "1234" ] + } ] + }, { + "r" : "1770", + "value" : [ ", ", "5678", "]" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Includes", + "localId" : "1774", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "1775", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1776", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "1777", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1778", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "Interval", + "localId" : "1763", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1765", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1766", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "low" : { + "type" : "Literal", + "localId" : "1761", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "high" : { + "type" : "As", + "localId" : "1764", + "asType" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Null", + "localId" : "1762", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } + } + }, { + "type" : "Interval", + "localId" : "1771", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1772", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1773", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "low" : { + "type" : "Negate", + "localId" : "1767", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1769", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "operand" : { + "type" : "Literal", + "localId" : "1768", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1234", + "annotation" : [ ] + } + }, + "high" : { + "type" : "Literal", + "localId" : "1770", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "5678", + "annotation" : [ ] + } + } ] + } + }, { + "localId" : "1788", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "UnknownEndIncludesIntIvl", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "1788", + "s" : [ { + "value" : [ "", "define ", "UnknownEndIncludesIntIvl", ": " ] + }, { + "r" : "1800", + "s" : [ { + "r" : "1791", + "s" : [ { + "r" : "1789", + "value" : [ "Interval[", "0", ", ", "null", ")" ] + } ] + }, { + "r" : "1800", + "value" : [ " ", "includes", " " ] + }, { + "r" : "1797", + "s" : [ { + "r" : "1795", + "value" : [ "Interval[", "0", ", ", "0", "]" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Includes", + "localId" : "1800", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "1801", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1802", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "1803", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1804", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "Interval", + "localId" : "1791", + "lowClosed" : true, + "highClosed" : false, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1793", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1794", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "low" : { + "type" : "Literal", + "localId" : "1789", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "high" : { + "type" : "As", + "localId" : "1792", + "asType" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Null", + "localId" : "1790", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } + } + }, { + "type" : "Interval", + "localId" : "1797", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1798", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1799", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "low" : { + "type" : "Literal", + "localId" : "1795", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "high" : { + "type" : "Literal", + "localId" : "1796", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + } ] + } + }, { + "localId" : "1814", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "UnknownEndMayIncludeIntIvl", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "1814", + "s" : [ { + "value" : [ "", "define ", "UnknownEndMayIncludeIntIvl", ": " ] + }, { + "r" : "1826", + "s" : [ { + "r" : "1817", + "s" : [ { + "r" : "1815", + "value" : [ "Interval[", "0", ", ", "null", ")" ] + } ] + }, { + "r" : "1826", + "value" : [ " ", "includes", " " ] + }, { + "r" : "1823", + "s" : [ { + "r" : "1821", + "value" : [ "Interval[", "1234", ", ", "5678", "]" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Includes", + "localId" : "1826", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "1827", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1828", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "1829", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1830", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "Interval", + "localId" : "1817", + "lowClosed" : true, + "highClosed" : false, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1819", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1820", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "low" : { + "type" : "Literal", + "localId" : "1815", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "high" : { + "type" : "As", + "localId" : "1818", + "asType" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Null", + "localId" : "1816", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } + } + }, { + "type" : "Interval", + "localId" : "1823", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1824", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1825", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "low" : { + "type" : "Literal", + "localId" : "1821", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1234", + "annotation" : [ ] + }, + "high" : { + "type" : "Literal", + "localId" : "1822", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "5678", + "annotation" : [ ] + } + } ] + } + }, { + "localId" : "1840", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "UnknownEndNotIncludesIntIvl", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "1840", + "s" : [ { + "value" : [ "", "define ", "UnknownEndNotIncludesIntIvl", ": " ] + }, { + "r" : "1854", + "s" : [ { + "r" : "1843", + "s" : [ { + "r" : "1841", + "value" : [ "Interval[", "0", ", ", "null", ")" ] + } ] + }, { + "r" : "1854", + "value" : [ " ", "includes", " " ] + }, { + "r" : "1851", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "1847", + "s" : [ { + "r" : "1848", + "value" : [ "-", "1234" ] + } ] + }, { + "r" : "1850", + "value" : [ ", ", "5678", "]" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Includes", + "localId" : "1854", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "1855", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1856", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "1857", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1858", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "Interval", + "localId" : "1843", + "lowClosed" : true, + "highClosed" : false, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1845", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1846", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "low" : { + "type" : "Literal", + "localId" : "1841", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "high" : { + "type" : "As", + "localId" : "1844", + "asType" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Null", + "localId" : "1842", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } + } + }, { + "type" : "Interval", + "localId" : "1851", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1852", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1853", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "low" : { + "type" : "Negate", + "localId" : "1847", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1849", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "operand" : { + "type" : "Literal", + "localId" : "1848", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1234", + "annotation" : [ ] + } + }, + "high" : { + "type" : "Literal", + "localId" : "1850", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "5678", + "annotation" : [ ] + } + } ] + } + }, { + "localId" : "1868", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "NegInfBegIncludesDateIvl", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "1868", + "s" : [ { + "value" : [ "", "define ", "NegInfBegIncludesDateIvl", ": " ] + }, { + "r" : "1949", + "s" : [ { + "r" : "1894", + "s" : [ { + "r" : "1869", + "value" : [ "Interval[", "null", ", " ] + }, { + "r" : "1886", + "s" : [ { + "r" : "1870", + "value" : [ "DateTime", "(", "2013", ", ", "1", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ ")" ] + } ] + }, { + "r" : "1949", + "value" : [ " ", "includes", " " ] + }, { + "r" : "1946", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "1914", + "s" : [ { + "r" : "1898", + "value" : [ "DateTime", "(", "1", ", ", "1", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "1938", + "s" : [ { + "r" : "1922", + "value" : [ "DateTime", "(", "2000", ", ", "1", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ "]" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Includes", + "localId" : "1949", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "1950", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1951", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "1952", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1953", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "Interval", + "localId" : "1894", + "lowClosed" : true, + "highClosed" : false, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1896", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1897", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "As", + "localId" : "1895", + "asType" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Null", + "localId" : "1869", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "1886", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1887", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1888", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1889", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1890", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1891", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1892", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1893", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1870", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2013", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1871", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "1872", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "1873", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "1874", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "1875", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "1876", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + } + }, { + "type" : "Interval", + "localId" : "1946", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1947", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1948", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "DateTime", + "localId" : "1914", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1915", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1916", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1917", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1918", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1919", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1920", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1921", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1898", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1899", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "1900", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "1901", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "1902", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "1903", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "1904", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "1938", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1939", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1940", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1941", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1942", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1943", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1944", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1945", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1922", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1923", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "1924", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "1925", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "1926", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "1927", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "1928", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + } + } ] + } + }, { + "localId" : "1963", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "NegInfBegNotIncludesDateIvl", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "1963", + "s" : [ { + "value" : [ "", "define ", "NegInfBegNotIncludesDateIvl", ": " ] + }, { + "r" : "2044", + "s" : [ { + "r" : "1989", + "s" : [ { + "r" : "1964", + "value" : [ "Interval[", "null", ", " ] + }, { + "r" : "1981", + "s" : [ { + "r" : "1965", + "value" : [ "DateTime", "(", "2013", ", ", "1", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ ")" ] + } ] + }, { + "r" : "2044", + "value" : [ " ", "includes", " " ] + }, { + "r" : "2041", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "2009", + "s" : [ { + "r" : "1993", + "value" : [ "DateTime", "(", "1", ", ", "1", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "2033", + "s" : [ { + "r" : "2017", + "value" : [ "DateTime", "(", "2013", ", ", "1", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ "]" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Includes", + "localId" : "2044", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "2045", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "2046", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "2047", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "2048", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "Interval", + "localId" : "1989", + "lowClosed" : true, + "highClosed" : false, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1991", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1992", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "As", + "localId" : "1990", + "asType" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Null", + "localId" : "1964", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "1981", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1982", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1983", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1984", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1985", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1986", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1987", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1988", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1965", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2013", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1966", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "1967", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "1968", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "1969", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "1970", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "1971", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + } + }, { + "type" : "Interval", + "localId" : "2041", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "2042", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "2043", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "DateTime", + "localId" : "2009", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "2010", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2011", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2012", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2013", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2014", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2015", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2016", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1993", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1994", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "1995", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "1996", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "1997", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "1998", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "1999", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "2033", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "2034", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2035", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2036", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2037", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2038", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2039", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2040", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "2017", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2013", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "2018", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "2019", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "2020", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "2021", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "2022", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "2023", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + } + } ] + } + }, { + "localId" : "2058", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "UnknownBegIncludesDateIvl", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "2058", + "s" : [ { + "value" : [ "", "define ", "UnknownBegIncludesDateIvl", ": " ] + }, { + "r" : "2139", + "s" : [ { + "r" : "2084", + "s" : [ { + "r" : "2059", + "value" : [ "Interval(", "null", ", " ] + }, { + "r" : "2076", + "s" : [ { + "r" : "2060", + "value" : [ "DateTime", "(", "2013", ", ", "1", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ ")" ] + } ] + }, { + "r" : "2139", + "value" : [ " ", "includes", " " ] + }, { + "r" : "2136", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "2104", + "s" : [ { + "r" : "2088", + "value" : [ "DateTime", "(", "2012", ", ", "12", ", ", "31", ", ", "23", ", ", "59", ", ", "59", ", ", "999", ")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "2128", + "s" : [ { + "r" : "2112", + "value" : [ "DateTime", "(", "2012", ", ", "12", ", ", "31", ", ", "23", ", ", "59", ", ", "59", ", ", "999", ")" ] + } ] + }, { + "value" : [ "]" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Includes", + "localId" : "2139", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "2140", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "2141", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "2142", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "2143", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "Interval", + "localId" : "2084", + "lowClosed" : false, + "highClosed" : false, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "2086", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "2087", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "As", + "localId" : "2085", + "asType" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Null", + "localId" : "2059", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "2076", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "2077", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2078", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2079", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2080", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2081", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2082", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2083", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "2060", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2013", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "2061", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "2062", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "2063", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "2064", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "2065", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "2066", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + } + }, { + "type" : "Interval", + "localId" : "2136", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "2137", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "2138", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "DateTime", + "localId" : "2104", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "2105", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2106", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2107", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2108", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2109", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2110", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2111", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "2088", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "2089", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "12", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "2090", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "31", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "2091", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "23", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "2092", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "59", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "2093", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "59", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "2094", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "999", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "2128", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "2129", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2130", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2131", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2132", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2133", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2134", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2135", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "2112", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "2113", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "12", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "2114", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "31", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "2115", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "23", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "2116", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "59", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "2117", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "59", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "2118", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "999", + "annotation" : [ ] + } + } + } ] + } + }, { + "localId" : "2153", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "UnknownBegMayIncludeDateIvl", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "2153", + "s" : [ { + "value" : [ "", "define ", "UnknownBegMayIncludeDateIvl", ": " ] + }, { + "r" : "2234", + "s" : [ { + "r" : "2179", + "s" : [ { + "r" : "2154", + "value" : [ "Interval(", "null", ", " ] + }, { + "r" : "2171", + "s" : [ { + "r" : "2155", + "value" : [ "DateTime", "(", "2013", ", ", "1", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ ")" ] + } ] + }, { + "r" : "2234", + "value" : [ " ", "includes", " " ] + }, { + "r" : "2231", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "2199", + "s" : [ { + "r" : "2183", + "value" : [ "DateTime", "(", "1", ", ", "1", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "2223", + "s" : [ { + "r" : "2207", + "value" : [ "DateTime", "(", "2000", ", ", "1", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ "]" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Includes", + "localId" : "2234", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "2235", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "2236", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "2237", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "2238", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "Interval", + "localId" : "2179", + "lowClosed" : false, + "highClosed" : false, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "2181", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "2182", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "As", + "localId" : "2180", + "asType" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Null", + "localId" : "2154", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "2171", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "2172", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2173", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2174", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2175", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2176", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2177", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2178", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "2155", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2013", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "2156", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "2157", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "2158", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "2159", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "2160", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "2161", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + } + }, { + "type" : "Interval", + "localId" : "2231", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "2232", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "2233", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "DateTime", + "localId" : "2199", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "2200", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2201", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2202", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2203", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2204", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2205", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2206", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "2183", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "2184", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "2185", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "2186", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "2187", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "2188", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "2189", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "2223", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "2224", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2225", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2226", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2227", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2228", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2229", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2230", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "2207", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "2208", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "2209", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "2210", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "2211", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "2212", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "2213", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + } + } ] + } + }, { + "localId" : "2248", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "UnknownBegNotIncludesDateIvl", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "2248", + "s" : [ { + "value" : [ "", "define ", "UnknownBegNotIncludesDateIvl", ": " ] + }, { + "r" : "2329", + "s" : [ { + "r" : "2274", + "s" : [ { + "r" : "2249", + "value" : [ "Interval(", "null", ", " ] + }, { + "r" : "2266", + "s" : [ { + "r" : "2250", + "value" : [ "DateTime", "(", "2013", ", ", "1", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ ")" ] + } ] + }, { + "r" : "2329", + "value" : [ " ", "includes", " " ] + }, { + "r" : "2326", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "2294", + "s" : [ { + "r" : "2278", + "value" : [ "DateTime", "(", "1", ", ", "1", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "2318", + "s" : [ { + "r" : "2302", + "value" : [ "DateTime", "(", "2013", ", ", "1", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ "]" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Includes", + "localId" : "2329", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "2330", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "2331", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "2332", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "2333", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "Interval", + "localId" : "2274", + "lowClosed" : false, + "highClosed" : false, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "2276", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "2277", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "As", + "localId" : "2275", + "asType" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Null", + "localId" : "2249", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "2266", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "2267", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2268", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2269", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2270", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2271", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2272", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2273", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "2250", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2013", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "2251", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "2252", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "2253", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "2254", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "2255", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "2256", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + } + }, { + "type" : "Interval", + "localId" : "2326", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "2327", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "2328", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "DateTime", + "localId" : "2294", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "2295", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2296", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2297", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2298", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2299", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2300", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2301", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "2278", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "2279", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "2280", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "2281", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "2282", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "2283", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "2284", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "2318", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "2319", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2320", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2321", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2322", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2323", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2324", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2325", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "2302", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2013", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "2303", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "2304", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "2305", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "2306", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "2307", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "2308", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + } + } ] + } + }, { + "localId" : "2343", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "PosInfEndIncludesDateIvl", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "2343", + "s" : [ { + "value" : [ "", "define ", "PosInfEndIncludesDateIvl", ": " ] + }, { + "r" : "2424", + "s" : [ { + "r" : "2369", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "2360", + "s" : [ { + "r" : "2344", + "value" : [ "DateTime", "(", "2013", ", ", "1", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "r" : "2368", + "value" : [ ", ", "null", "]" ] + } ] + }, { + "r" : "2424", + "value" : [ " ", "includes", " " ] + }, { + "r" : "2421", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "2389", + "s" : [ { + "r" : "2373", + "value" : [ "DateTime", "(", "2014", ", ", "1", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "2413", + "s" : [ { + "r" : "2397", + "value" : [ "DateTime", "(", "2015", ", ", "1", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ "]" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Includes", + "localId" : "2424", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "2425", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "2426", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "2427", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "2428", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "Interval", + "localId" : "2369", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "2371", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "2372", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "DateTime", + "localId" : "2360", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "2361", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2362", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2363", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2364", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2365", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2366", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2367", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "2344", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2013", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "2345", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "2346", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "2347", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "2348", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "2349", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "2350", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + }, + "high" : { + "type" : "As", + "localId" : "2370", + "asType" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Null", + "localId" : "2368", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } + } + }, { + "type" : "Interval", + "localId" : "2421", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "2422", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "2423", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "DateTime", + "localId" : "2389", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "2390", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2391", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2392", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2393", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2394", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2395", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2396", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "2373", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2014", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "2374", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "2375", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "2376", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "2377", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "2378", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "2379", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "2413", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "2414", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2415", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2416", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2417", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2418", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2419", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2420", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "2397", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2015", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "2398", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "2399", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "2400", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "2401", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "2402", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "2403", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + } + } ] + } + }, { + "localId" : "2438", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "PosInfEndNotIncludesDateIvl", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "2438", + "s" : [ { + "value" : [ "", "define ", "PosInfEndNotIncludesDateIvl", ": " ] + }, { + "r" : "2519", + "s" : [ { + "r" : "2464", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "2455", + "s" : [ { + "r" : "2439", + "value" : [ "DateTime", "(", "2013", ", ", "1", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "r" : "2463", + "value" : [ ", ", "null", "]" ] + } ] + }, { + "r" : "2519", + "value" : [ " ", "includes", " " ] + }, { + "r" : "2516", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "2484", + "s" : [ { + "r" : "2468", + "value" : [ "DateTime", "(", "2000", ", ", "1", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "2508", + "s" : [ { + "r" : "2492", + "value" : [ "DateTime", "(", "2014", ", ", "1", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ "]" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Includes", + "localId" : "2519", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "2520", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "2521", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "2522", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "2523", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "Interval", + "localId" : "2464", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "2466", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "2467", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "DateTime", + "localId" : "2455", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "2456", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2457", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2458", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2459", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2460", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2461", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2462", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "2439", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2013", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "2440", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "2441", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "2442", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "2443", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "2444", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "2445", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + }, + "high" : { + "type" : "As", + "localId" : "2465", + "asType" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Null", + "localId" : "2463", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } + } + }, { + "type" : "Interval", + "localId" : "2516", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "2517", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "2518", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "DateTime", + "localId" : "2484", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "2485", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2486", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2487", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2488", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2489", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2490", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2491", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "2468", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "2469", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "2470", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "2471", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "2472", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "2473", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "2474", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "2508", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "2509", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2510", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2511", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2512", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2513", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2514", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2515", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "2492", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2014", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "2493", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "2494", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "2495", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "2496", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "2497", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "2498", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + } + } ] + } + }, { + "localId" : "2533", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "UnknownEndIncludesDateIvl", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "2533", + "s" : [ { + "value" : [ "", "define ", "UnknownEndIncludesDateIvl", ": " ] + }, { + "r" : "2614", + "s" : [ { + "r" : "2559", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "2550", + "s" : [ { + "r" : "2534", + "value" : [ "DateTime", "(", "2013", ", ", "1", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "r" : "2558", + "value" : [ ", ", "null", ")" ] + } ] + }, { + "r" : "2614", + "value" : [ " ", "includes", " " ] + }, { + "r" : "2611", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "2579", + "s" : [ { + "r" : "2563", + "value" : [ "DateTime", "(", "2013", ", ", "1", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "2603", + "s" : [ { + "r" : "2587", + "value" : [ "DateTime", "(", "2013", ", ", "1", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ "]" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Includes", + "localId" : "2614", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "2615", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "2616", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "2617", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "2618", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "Interval", + "localId" : "2559", + "lowClosed" : true, + "highClosed" : false, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "2561", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "2562", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "DateTime", + "localId" : "2550", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "2551", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2552", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2553", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2554", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2555", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2556", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2557", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "2534", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2013", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "2535", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "2536", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "2537", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "2538", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "2539", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "2540", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + }, + "high" : { + "type" : "As", + "localId" : "2560", + "asType" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Null", + "localId" : "2558", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } + } + }, { + "type" : "Interval", + "localId" : "2611", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "2612", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "2613", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "DateTime", + "localId" : "2579", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "2580", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2581", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2582", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2583", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2584", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2585", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2586", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "2563", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2013", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "2564", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "2565", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "2566", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "2567", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "2568", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "2569", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "2603", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "2604", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2605", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2606", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2607", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2608", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2609", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2610", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "2587", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2013", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "2588", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "2589", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "2590", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "2591", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "2592", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "2593", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + } + } ] + } + }, { + "localId" : "2628", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "UnknownEndMayIncludeDateIvl", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "2628", + "s" : [ { + "value" : [ "", "define ", "UnknownEndMayIncludeDateIvl", ": " ] + }, { + "r" : "2709", + "s" : [ { + "r" : "2654", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "2645", + "s" : [ { + "r" : "2629", + "value" : [ "DateTime", "(", "2013", ", ", "1", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "r" : "2653", + "value" : [ ", ", "null", ")" ] + } ] + }, { + "r" : "2709", + "value" : [ " ", "includes", " " ] + }, { + "r" : "2706", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "2674", "s" : [ { - "value" : [ "","define ","NotMeetsDateIvl",": " ] - }, { - "r" : "557", - "s" : [ { - "r" : "551", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "519", - "s" : [ { - "r" : "503", - "value" : [ "DateTime","(","2012",", ","1",", ","1",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "543", - "s" : [ { - "r" : "527", - "value" : [ "DateTime","(","2012",", ","2",", ","29",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ ")" ] - } ] - }, { - "r" : "557", - "value" : [ " ","meets before"," " ] - }, { - "r" : "554", - "s" : [ { - "value" : [ "DateIvl" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "557", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "MeetsBefore", - "signature" : [ { - "localId" : "558", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "559", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "560", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "561", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "551", - "lowClosed" : true, - "highClosed" : false, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "552", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "553", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "519", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "520", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "521", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "522", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "523", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "524", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "525", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "526", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "503", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "504", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "505", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "506", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "507", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "508", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "509", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - }, - "high" : { - "localId" : "543", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "544", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "545", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "546", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "547", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "548", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "549", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "550", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "527", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "528", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal" - }, - "day" : { - "localId" : "529", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "29", - "type" : "Literal" - }, - "hour" : { - "localId" : "530", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "531", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "532", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "533", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - } - }, { - "localId" : "554", - "name" : "DateIvl", - "type" : "ExpressionRef", - "resultTypeSpecifier" : { - "localId" : "555", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "556", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - } ] - } - }, { - "localId" : "564", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "MayMeetAfterImpreciseDateIvl", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "564", - "s" : [ { - "value" : [ "","define ","MayMeetAfterImpreciseDateIvl",": " ] - }, { - "r" : "589", - "s" : [ { - "r" : "565", - "s" : [ { - "value" : [ "DateIvl" ] - } ] - }, { - "r" : "589", - "value" : [ " ","meets before"," " ] - }, { - "r" : "586", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "574", - "s" : [ { - "r" : "568", - "value" : [ "DateTime","(","2012",", ","1",")" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "583", - "s" : [ { - "r" : "577", - "value" : [ "DateTime","(","2012",", ","2",")" ] - } ] - }, { - "value" : [ "]" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "589", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "MeetsBefore", - "signature" : [ { - "localId" : "590", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "591", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "592", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "593", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "565", - "name" : "DateIvl", - "type" : "ExpressionRef", - "resultTypeSpecifier" : { - "localId" : "566", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "567", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - }, { - "localId" : "586", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "587", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "588", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "574", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "575", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "576", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "568", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "569", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - } - }, - "high" : { - "localId" : "583", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "584", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "585", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "577", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "578", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal" - } - } - } ] - } - }, { - "localId" : "596", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "MayMeetBeforeImpreciseDateIvl", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "596", + "r" : "2658", + "value" : [ "DateTime", "(", "2014", ", ", "1", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "2698", "s" : [ { - "value" : [ "","define ","MayMeetBeforeImpreciseDateIvl",": " ] - }, { - "r" : "621", - "s" : [ { - "r" : "597", - "s" : [ { - "value" : [ "DateIvl" ] - } ] - }, { - "r" : "621", - "value" : [ " ","meets before"," " ] - }, { - "r" : "618", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "606", - "s" : [ { - "r" : "600", - "value" : [ "DateTime","(","2012",", ","9",")" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "615", - "s" : [ { - "r" : "609", - "value" : [ "DateTime","(","2012",", ","12",")" ] - } ] - }, { - "value" : [ "]" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "621", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "MeetsBefore", - "signature" : [ { - "localId" : "622", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "623", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "624", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "625", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "597", - "name" : "DateIvl", - "type" : "ExpressionRef", - "resultTypeSpecifier" : { - "localId" : "598", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "599", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - }, { - "localId" : "618", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "619", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "620", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "606", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "607", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "608", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "600", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "601", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "9", - "type" : "Literal" - } - }, - "high" : { - "localId" : "615", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "616", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "617", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "609", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "610", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "12", - "type" : "Literal" - } - } - } ] - } - }, { - "localId" : "628", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "NotMeetsImpreciseDateIvl", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "628", + "r" : "2682", + "value" : [ "DateTime", "(", "2015", ", ", "1", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ "]" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Includes", + "localId" : "2709", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "2710", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "2711", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "2712", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "2713", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "Interval", + "localId" : "2654", + "lowClosed" : true, + "highClosed" : false, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "2656", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "2657", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "DateTime", + "localId" : "2645", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "2646", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2647", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2648", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2649", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2650", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2651", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2652", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "2629", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2013", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "2630", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "2631", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "2632", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "2633", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "2634", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "2635", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + }, + "high" : { + "type" : "As", + "localId" : "2655", + "asType" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Null", + "localId" : "2653", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } + } + }, { + "type" : "Interval", + "localId" : "2706", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "2707", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "2708", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "DateTime", + "localId" : "2674", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "2675", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2676", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2677", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2678", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2679", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2680", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2681", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "2658", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2014", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "2659", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "2660", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "2661", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "2662", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "2663", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "2664", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "2698", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "2699", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2700", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2701", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2702", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2703", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2704", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2705", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "2682", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2015", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "2683", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "2684", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "2685", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "2686", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "2687", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "2688", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + } + } ] + } + }, { + "localId" : "2723", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "UnknownEndNotIncludesDateIvl", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "2723", + "s" : [ { + "value" : [ "", "define ", "UnknownEndNotIncludesDateIvl", ": " ] + }, { + "r" : "2804", + "s" : [ { + "r" : "2749", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "2740", + "s" : [ { + "r" : "2724", + "value" : [ "DateTime", "(", "2013", ", ", "1", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "r" : "2748", + "value" : [ ", ", "null", ")" ] + } ] + }, { + "r" : "2804", + "value" : [ " ", "includes", " " ] + }, { + "r" : "2801", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "2769", + "s" : [ { + "r" : "2753", + "value" : [ "DateTime", "(", "2000", ", ", "1", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "2793", + "s" : [ { + "r" : "2777", + "value" : [ "DateTime", "(", "2014", ", ", "1", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ "]" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Includes", + "localId" : "2804", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "2805", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "2806", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "2807", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "2808", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "Interval", + "localId" : "2749", + "lowClosed" : true, + "highClosed" : false, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "2751", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "2752", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "DateTime", + "localId" : "2740", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "2741", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2742", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2743", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2744", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2745", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2746", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2747", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "2724", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2013", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "2725", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "2726", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "2727", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "2728", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "2729", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "2730", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + }, + "high" : { + "type" : "As", + "localId" : "2750", + "asType" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Null", + "localId" : "2748", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } + } + }, { + "type" : "Interval", + "localId" : "2801", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "2802", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "2803", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "DateTime", + "localId" : "2769", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "2770", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2771", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2772", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2773", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2774", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2775", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2776", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "2753", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "2754", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "2755", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "2756", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "2757", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "2758", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "2759", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "2793", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "2794", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2795", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2796", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2797", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2798", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2799", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2800", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "2777", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2014", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "2778", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "2779", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "2780", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "2781", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "2782", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "2783", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + } + } ] + } + } ] + } + } +} + +/* ProperlyIncludes +library TestSnippet version '1' +using Simple version '1.0.0' +context Patient +define ProperlyIncludesIntIvl: Interval[1, 5] properly includes Interval[2, 4] +define ProperlyIncludesIntBeginsIvl: Interval[1, 5] properly includes Interval[1, 4] +define ProperlyIncludesIntEndsIvl: Interval[1, 5] properly includes Interval[2, 5] +define NotProperlyIncludesIntIvl: Interval[1, 5] properly includes Interval[1, 5] +define ProperlyIncludesRealIvl: Interval[1.234, 3.456] properly includes Interval[2.34, 2.56] +define NotProperlyIncludesRealIvl: Interval[1.234, 3.456] properly includes Interval[1.234, 3.456] +define DateIvl: Interval[DateTime(2012, 3, 1, 0, 0, 0, 0), DateTime(2012, 9, 1, 0, 0, 0, 0)) +define ProperlyIncludesDateIvl: DateIvl properly includes Interval[DateTime(2012, 4, 1, 0, 0, 0, 0), DateTime(2012, 6, 1, 0, 0, 0, 0)) +define NotProperlyIncludesDateIvl: DateIvl properly includes Interval[DateTime(2012, 3, 1, 0, 0, 0, 0), DateTime(2012, 9, 1, 0, 0, 0, 0)) +define PosInfEndProperlyIncludesIntIvl: Interval[0, null] properly includes Interval[1234, 5678] +define PosInfEndNotProperlyIncludesIntIvl: Interval[0, null] properly includes Interval[0, null] +define UnknownEndMayProperlyIncludeIntIvl: Interval[0, null) properly includes Interval[0, 0] +define PrecisionDateIvl: Interval[DateTime(2012, 3, 2, 12, 34, 56, 789), DateTime(2012, 9, 2, 1, 23, 45, 678)) +define ProperlyIncludesDayOfIvlLowEdge: PrecisionDateIvl properly includes day of Interval[DateTime(2012, 3, 2, 0, 0, 0, 0), DateTime(2012, 6, 1, 0, 0, 0, 0)) +define ProperlyIncludesDayOfIvlHighEdge: PrecisionDateIvl properly includes day of Interval[DateTime(2012, 6, 1, 0, 0, 0, 0), DateTime(2012, 9, 2, 23, 59, 59, 999)) +define ProperlyIncludesDayOfIvlNearEdges: PrecisionDateIvl properly includes day of Interval[DateTime(2012, 3, 3, 0, 0, 0, 0), DateTime(2012, 9, 1, 23, 59, 59, 999)) +define NotProperlyIncludesDayOfIvlSameEdges: PrecisionDateIvl properly includes day of Interval[DateTime(2012, 3, 2, 0, 0, 0, 0), DateTime(2012, 9, 2, 0, 0, 0, 0)] +define MayProperlyIncludeDayOfIvlVeryImpreciseLow: PrecisionDateIvl properly includes day of Interval[DateTime(2012, 3), DateTime(2012, 6)] +define MayProperlyIncludeDayOfIvlVeryImpreciseHigh: PrecisionDateIvl properly includes day of Interval[DateTime(2012, 6), DateTime(2012, 9)] +define MayProperlyIncludeDayOfIvlVeryImpreciseLowAndHigh: PrecisionDateIvl properly includes day of Interval[DateTime(2012, 3), DateTime(2012, 9)] +define MayProperlyIncludeDayOfIvlVeryImpreciseSurrounding: PrecisionDateIvl properly includes day of Interval[DateTime(2012), DateTime(2012)] +*/ + +module.exports['ProperlyIncludes'] = { + "library" : { + "localId" : "0", + "annotation" : [ { + "type" : "CqlToElmInfo", + "translatorVersion" : "4.2.0", + "translatorOptions" : "EnableDateRangeOptimization,EnableAnnotations,EnableResultTypes", + "signatureLevel" : "All" + }, { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "1086", + "s" : [ { + "value" : [ "", "library TestSnippet version '1'" ] + } ] + } + } ], + "identifier" : { + "id" : "TestSnippet", + "version" : "1" + }, + "schemaIdentifier" : { + "id" : "urn:hl7-org:elm", + "version" : "r1" + }, + "usings" : { + "def" : [ { + "localId" : "1", + "localIdentifier" : "System", + "uri" : "urn:hl7-org:elm-types:r1", + "annotation" : [ ] + }, { + "localId" : "206", + "localIdentifier" : "Simple", + "uri" : "https://github.com/cqframework/cql-execution/simple", + "version" : "1.0.0", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "206", + "s" : [ { + "value" : [ "", "using " ] + }, { + "s" : [ { + "value" : [ "Simple" ] + } ] + }, { + "value" : [ " version '1.0.0'" ] + } ] + } + } ] + } ] + }, + "contexts" : { + "def" : [ { + "localId" : "211", + "name" : "Patient", + "annotation" : [ ] + } ] + }, + "statements" : { + "def" : [ { + "localId" : "209", + "name" : "Patient", + "context" : "Patient", + "annotation" : [ ], + "expression" : { + "type" : "SingletonFrom", + "localId" : "210", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Retrieve", + "localId" : "208", + "dataType" : "{https://github.com/cqframework/cql-execution/simple}Patient", + "annotation" : [ ], + "include" : [ ], + "codeFilter" : [ ], + "dateFilter" : [ ], + "otherFilter" : [ ] + } + } + }, { + "localId" : "214", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "ProperlyIncludesIntIvl", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "214", + "s" : [ { + "value" : [ "", "define ", "ProperlyIncludesIntIvl", ": " ] + }, { + "r" : "225", + "s" : [ { + "r" : "217", + "s" : [ { + "r" : "215", + "value" : [ "Interval[", "1", ", ", "5", "]" ] + } ] + }, { + "r" : "225", + "value" : [ " ", "properly includes", " " ] + }, { + "r" : "222", + "s" : [ { + "r" : "220", + "value" : [ "Interval[", "2", ", ", "4", "]" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "ProperIncludes", + "localId" : "225", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "226", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "227", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "228", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "229", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "Interval", + "localId" : "217", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "218", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "219", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "low" : { + "type" : "Literal", + "localId" : "215", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "high" : { + "type" : "Literal", + "localId" : "216", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "5", + "annotation" : [ ] + } + }, { + "type" : "Interval", + "localId" : "222", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "223", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "224", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "low" : { + "type" : "Literal", + "localId" : "220", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "annotation" : [ ] + }, + "high" : { + "type" : "Literal", + "localId" : "221", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "4", + "annotation" : [ ] + } + } ] + } + }, { + "localId" : "239", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "ProperlyIncludesIntBeginsIvl", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "239", + "s" : [ { + "value" : [ "", "define ", "ProperlyIncludesIntBeginsIvl", ": " ] + }, { + "r" : "250", + "s" : [ { + "r" : "242", + "s" : [ { + "r" : "240", + "value" : [ "Interval[", "1", ", ", "5", "]" ] + } ] + }, { + "r" : "250", + "value" : [ " ", "properly includes", " " ] + }, { + "r" : "247", + "s" : [ { + "r" : "245", + "value" : [ "Interval[", "1", ", ", "4", "]" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "ProperIncludes", + "localId" : "250", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "251", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "252", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "253", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "254", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "Interval", + "localId" : "242", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "243", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "244", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "low" : { + "type" : "Literal", + "localId" : "240", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "high" : { + "type" : "Literal", + "localId" : "241", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "5", + "annotation" : [ ] + } + }, { + "type" : "Interval", + "localId" : "247", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "248", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "249", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "low" : { + "type" : "Literal", + "localId" : "245", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "high" : { + "type" : "Literal", + "localId" : "246", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "4", + "annotation" : [ ] + } + } ] + } + }, { + "localId" : "264", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "ProperlyIncludesIntEndsIvl", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "264", + "s" : [ { + "value" : [ "", "define ", "ProperlyIncludesIntEndsIvl", ": " ] + }, { + "r" : "275", + "s" : [ { + "r" : "267", + "s" : [ { + "r" : "265", + "value" : [ "Interval[", "1", ", ", "5", "]" ] + } ] + }, { + "r" : "275", + "value" : [ " ", "properly includes", " " ] + }, { + "r" : "272", + "s" : [ { + "r" : "270", + "value" : [ "Interval[", "2", ", ", "5", "]" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "ProperIncludes", + "localId" : "275", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "276", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "277", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "278", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "279", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "Interval", + "localId" : "267", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "268", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "269", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "low" : { + "type" : "Literal", + "localId" : "265", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "high" : { + "type" : "Literal", + "localId" : "266", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "5", + "annotation" : [ ] + } + }, { + "type" : "Interval", + "localId" : "272", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "273", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "274", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "low" : { + "type" : "Literal", + "localId" : "270", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "annotation" : [ ] + }, + "high" : { + "type" : "Literal", + "localId" : "271", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "5", + "annotation" : [ ] + } + } ] + } + }, { + "localId" : "289", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "NotProperlyIncludesIntIvl", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "289", + "s" : [ { + "value" : [ "", "define ", "NotProperlyIncludesIntIvl", ": " ] + }, { + "r" : "300", + "s" : [ { + "r" : "292", + "s" : [ { + "r" : "290", + "value" : [ "Interval[", "1", ", ", "5", "]" ] + } ] + }, { + "r" : "300", + "value" : [ " ", "properly includes", " " ] + }, { + "r" : "297", + "s" : [ { + "r" : "295", + "value" : [ "Interval[", "1", ", ", "5", "]" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "ProperIncludes", + "localId" : "300", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "301", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "302", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "303", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "304", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "Interval", + "localId" : "292", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "293", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "294", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "low" : { + "type" : "Literal", + "localId" : "290", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "high" : { + "type" : "Literal", + "localId" : "291", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "5", + "annotation" : [ ] + } + }, { + "type" : "Interval", + "localId" : "297", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "298", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "299", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "low" : { + "type" : "Literal", + "localId" : "295", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "high" : { + "type" : "Literal", + "localId" : "296", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "5", + "annotation" : [ ] + } + } ] + } + }, { + "localId" : "314", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "ProperlyIncludesRealIvl", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "314", + "s" : [ { + "value" : [ "", "define ", "ProperlyIncludesRealIvl", ": " ] + }, { + "r" : "325", + "s" : [ { + "r" : "317", + "s" : [ { + "r" : "315", + "value" : [ "Interval[", "1.234", ", ", "3.456", "]" ] + } ] + }, { + "r" : "325", + "value" : [ " ", "properly includes", " " ] + }, { + "r" : "322", + "s" : [ { + "r" : "320", + "value" : [ "Interval[", "2.34", ", ", "2.56", "]" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "ProperIncludes", + "localId" : "325", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "326", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "327", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "328", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "329", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "Interval", + "localId" : "317", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "318", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "319", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } + }, + "low" : { + "type" : "Literal", + "localId" : "315", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "1.234", + "annotation" : [ ] + }, + "high" : { + "type" : "Literal", + "localId" : "316", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "3.456", + "annotation" : [ ] + } + }, { + "type" : "Interval", + "localId" : "322", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "323", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "324", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } + }, + "low" : { + "type" : "Literal", + "localId" : "320", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "2.34", + "annotation" : [ ] + }, + "high" : { + "type" : "Literal", + "localId" : "321", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "2.56", + "annotation" : [ ] + } + } ] + } + }, { + "localId" : "339", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "NotProperlyIncludesRealIvl", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "339", + "s" : [ { + "value" : [ "", "define ", "NotProperlyIncludesRealIvl", ": " ] + }, { + "r" : "350", + "s" : [ { + "r" : "342", + "s" : [ { + "r" : "340", + "value" : [ "Interval[", "1.234", ", ", "3.456", "]" ] + } ] + }, { + "r" : "350", + "value" : [ " ", "properly includes", " " ] + }, { + "r" : "347", + "s" : [ { + "r" : "345", + "value" : [ "Interval[", "1.234", ", ", "3.456", "]" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "ProperIncludes", + "localId" : "350", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "351", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "352", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "353", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "354", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "Interval", + "localId" : "342", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "343", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "344", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } + }, + "low" : { + "type" : "Literal", + "localId" : "340", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "1.234", + "annotation" : [ ] + }, + "high" : { + "type" : "Literal", + "localId" : "341", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "3.456", + "annotation" : [ ] + } + }, { + "type" : "Interval", + "localId" : "347", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "348", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "349", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } + }, + "low" : { + "type" : "Literal", + "localId" : "345", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "1.234", + "annotation" : [ ] + }, + "high" : { + "type" : "Literal", + "localId" : "346", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "3.456", + "annotation" : [ ] + } + } ] + } + }, { + "localId" : "364", + "name" : "DateIvl", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "364", + "s" : [ { + "value" : [ "", "define ", "DateIvl", ": " ] + }, { + "r" : "413", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "381", + "s" : [ { + "r" : "365", + "value" : [ "DateTime", "(", "2012", ", ", "3", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "405", + "s" : [ { + "r" : "389", + "value" : [ "DateTime", "(", "2012", ", ", "9", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "416", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "417", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "expression" : { + "type" : "Interval", + "localId" : "413", + "lowClosed" : true, + "highClosed" : false, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "414", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "415", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "DateTime", + "localId" : "381", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "382", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "383", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "384", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "385", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "386", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "387", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "388", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "365", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "366", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "367", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "368", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "369", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "370", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "371", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "405", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "406", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "407", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "408", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "409", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "410", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "411", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "412", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "389", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "390", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "9", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "391", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "392", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "393", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "394", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "395", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + } + } + }, { + "localId" : "420", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "ProperlyIncludesDateIvl", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "420", + "s" : [ { + "value" : [ "", "define ", "ProperlyIncludesDateIvl", ": " ] + }, { + "r" : "475", + "s" : [ { + "r" : "421", + "s" : [ { + "value" : [ "DateIvl" ] + } ] + }, { + "r" : "475", + "value" : [ " ", "properly includes", " " ] + }, { + "r" : "472", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "440", "s" : [ { - "value" : [ "","define ","NotMeetsImpreciseDateIvl",": " ] - }, { - "r" : "653", - "s" : [ { - "r" : "629", - "s" : [ { - "value" : [ "DateIvl" ] - } ] - }, { - "r" : "653", - "value" : [ " ","meets before"," " ] - }, { - "r" : "650", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "638", - "s" : [ { - "r" : "632", - "value" : [ "DateTime","(","2012",", ","1",")" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "647", - "s" : [ { - "r" : "641", - "value" : [ "DateTime","(","2012",", ","12",")" ] - } ] - }, { - "value" : [ "]" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "653", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "MeetsBefore", - "signature" : [ { - "localId" : "654", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "655", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "656", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "657", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "629", - "name" : "DateIvl", - "type" : "ExpressionRef", - "resultTypeSpecifier" : { - "localId" : "630", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "631", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - }, { - "localId" : "650", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "651", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "652", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "638", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "639", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "640", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "632", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "633", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - } - }, - "high" : { - "localId" : "647", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "648", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "649", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "641", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "642", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "12", - "type" : "Literal" - } - } - } ] - } - }, { - "localId" : "660", - "name" : "PrecisionDateIvl", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "660", + "r" : "424", + "value" : [ "DateTime", "(", "2012", ", ", "4", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "464", "s" : [ { - "value" : [ "","define ","PrecisionDateIvl",": " ] - }, { - "r" : "709", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "677", - "s" : [ { - "r" : "661", - "value" : [ "DateTime","(","2012",", ","3",", ","2",", ","12",", ","34",", ","56",", ","789",")" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "701", - "s" : [ { - "r" : "685", - "value" : [ "DateTime","(","2012",", ","9",", ","2",", ","1",", ","23",", ","45",", ","678",")" ] - } ] - }, { - "value" : [ ")" ] - } ] - } ] - } - } ], + "r" : "448", + "value" : [ "DateTime", "(", "2012", ", ", "6", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "ProperIncludes", + "localId" : "475", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "476", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "477", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "478", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "479", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "ExpressionRef", + "localId" : "421", + "name" : "DateIvl", + "annotation" : [ ], "resultTypeSpecifier" : { - "localId" : "712", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "713", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "expression" : { - "localId" : "709", - "lowClosed" : true, - "highClosed" : false, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "710", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "711", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "677", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "678", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "679", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "680", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "681", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "682", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "683", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "684", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "661", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "662", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "663", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal" - }, - "hour" : { - "localId" : "664", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "12", - "type" : "Literal" - }, - "minute" : { - "localId" : "665", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "34", - "type" : "Literal" - }, - "second" : { - "localId" : "666", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "56", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "667", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "789", - "type" : "Literal" - } - }, - "high" : { - "localId" : "701", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "702", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "703", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "704", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "705", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "706", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "707", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "708", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "685", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "686", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "9", - "type" : "Literal" - }, - "day" : { - "localId" : "687", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal" - }, - "hour" : { - "localId" : "688", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "minute" : { - "localId" : "689", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "23", - "type" : "Literal" - }, - "second" : { - "localId" : "690", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "45", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "691", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "678", - "type" : "Literal" - } - } - } - }, { - "localId" : "716", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "MeetsAfterDayOfIvl", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "716", + "type" : "IntervalTypeSpecifier", + "localId" : "422", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "423", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + }, { + "type" : "Interval", + "localId" : "472", + "lowClosed" : true, + "highClosed" : false, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "473", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "474", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "DateTime", + "localId" : "440", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "441", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "442", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "443", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "444", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "445", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "446", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "447", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "424", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "425", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "4", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "426", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "427", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "428", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "429", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "430", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "464", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "465", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "466", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "467", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "468", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "469", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "470", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "471", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "448", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "449", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "6", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "450", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "451", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "452", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "453", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "454", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + } + } ] + } + }, { + "localId" : "489", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "NotProperlyIncludesDateIvl", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "489", + "s" : [ { + "value" : [ "", "define ", "NotProperlyIncludesDateIvl", ": " ] + }, { + "r" : "544", + "s" : [ { + "r" : "490", + "s" : [ { + "value" : [ "DateIvl" ] + } ] + }, { + "r" : "544", + "value" : [ " ", "properly includes", " " ] + }, { + "r" : "541", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "509", "s" : [ { - "value" : [ "","define ","MeetsAfterDayOfIvl",": " ] - }, { - "r" : "771", - "s" : [ { - "r" : "717", - "s" : [ { - "value" : [ "PrecisionDateIvl" ] - } ] - }, { - "r" : "771", - "value" : [ " ","meets before day of"," " ] - }, { - "r" : "768", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "736", - "s" : [ { - "r" : "720", - "value" : [ "DateTime","(","2012",", ","1",", ","2",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "760", - "s" : [ { - "r" : "744", - "value" : [ "DateTime","(","2012",", ","3",", ","1",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ "]" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "771", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "precision" : "Day", - "type" : "MeetsBefore", - "signature" : [ { - "localId" : "772", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "773", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "774", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "775", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "717", - "name" : "PrecisionDateIvl", - "type" : "ExpressionRef", - "resultTypeSpecifier" : { - "localId" : "718", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "719", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - }, { - "localId" : "768", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "769", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "770", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "736", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "737", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "738", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "739", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "740", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "741", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "742", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "743", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "720", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "721", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "722", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal" - }, - "hour" : { - "localId" : "723", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "724", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "725", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "726", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - }, - "high" : { - "localId" : "760", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "761", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "762", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "763", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "764", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "765", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "766", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "767", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "744", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "745", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "746", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "747", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "748", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "749", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "750", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - } - } ] - } - }, { - "localId" : "778", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "MeetsBeforeDayOfIvl", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "778", + "r" : "493", + "value" : [ "DateTime", "(", "2012", ", ", "3", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "533", "s" : [ { - "value" : [ "","define ","MeetsBeforeDayOfIvl",": " ] - }, { - "r" : "833", - "s" : [ { - "r" : "779", - "s" : [ { - "value" : [ "PrecisionDateIvl" ] - } ] - }, { - "r" : "833", - "value" : [ " ","meets before day of"," " ] - }, { - "r" : "830", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "798", - "s" : [ { - "r" : "782", - "value" : [ "DateTime","(","2012",", ","9",", ","3",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "822", - "s" : [ { - "r" : "806", - "value" : [ "DateTime","(","2012",", ","12",", ","1",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ "]" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "833", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "precision" : "Day", - "type" : "MeetsBefore", - "signature" : [ { - "localId" : "834", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "835", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "836", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "837", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "779", - "name" : "PrecisionDateIvl", - "type" : "ExpressionRef", - "resultTypeSpecifier" : { - "localId" : "780", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "781", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - }, { - "localId" : "830", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "831", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "832", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "798", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "799", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "800", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "801", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "802", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "803", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "804", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "805", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "782", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "783", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "9", - "type" : "Literal" - }, - "day" : { - "localId" : "784", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "hour" : { - "localId" : "785", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "786", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "787", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "788", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - }, - "high" : { - "localId" : "822", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "823", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "824", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "825", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "826", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "827", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "828", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "829", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "806", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "807", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "12", - "type" : "Literal" - }, - "day" : { - "localId" : "808", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "809", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "810", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "811", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "812", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - } - } ] - } - }, { - "localId" : "840", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "NotMeetsDayOfIvl", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "840", - "s" : [ { - "value" : [ "","define ","NotMeetsDayOfIvl",": " ] - }, { - "r" : "895", - "s" : [ { - "r" : "841", - "s" : [ { - "value" : [ "PrecisionDateIvl" ] - } ] - }, { - "r" : "895", - "value" : [ " ","meets before day of"," " ] - }, { - "r" : "892", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "860", - "s" : [ { - "r" : "844", - "value" : [ "DateTime","(","2012",", ","1",", ","2",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "884", - "s" : [ { - "r" : "868", - "value" : [ "DateTime","(","2012",", ","3",", ","2",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ "]" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "895", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "precision" : "Day", - "type" : "MeetsBefore", - "signature" : [ { - "localId" : "896", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "897", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "898", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "899", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "841", - "name" : "PrecisionDateIvl", - "type" : "ExpressionRef", - "resultTypeSpecifier" : { - "localId" : "842", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "843", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - }, { - "localId" : "892", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "893", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "894", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "860", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "861", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "862", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "863", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "864", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "865", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "866", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "867", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "844", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "845", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "846", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal" - }, - "hour" : { - "localId" : "847", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "848", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "849", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "850", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - }, - "high" : { - "localId" : "884", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "885", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "886", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "887", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "888", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "889", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "890", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "891", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "868", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "869", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "870", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal" - }, - "hour" : { - "localId" : "871", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "872", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "873", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "874", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - } - } ] - } - }, { - "localId" : "902", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "NotMeetsDayOfImpreciseIVL", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "902", + "r" : "517", + "value" : [ "DateTime", "(", "2012", ", ", "9", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "ProperIncludes", + "localId" : "544", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "545", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "546", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "547", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "548", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "ExpressionRef", + "localId" : "490", + "name" : "DateIvl", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "491", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "492", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + }, { + "type" : "Interval", + "localId" : "541", + "lowClosed" : true, + "highClosed" : false, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "542", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "543", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "DateTime", + "localId" : "509", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "510", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "511", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "512", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "513", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "514", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "515", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "516", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "493", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "494", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "495", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "496", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "497", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "498", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "499", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "533", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "534", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "535", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "536", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "537", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "538", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "539", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "540", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "517", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "518", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "9", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "519", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "520", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "521", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "522", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "523", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + } + } ] + } + }, { + "localId" : "558", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "PosInfEndProperlyIncludesIntIvl", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "558", + "s" : [ { + "value" : [ "", "define ", "PosInfEndProperlyIncludesIntIvl", ": " ] + }, { + "r" : "570", + "s" : [ { + "r" : "561", + "s" : [ { + "r" : "559", + "value" : [ "Interval[", "0", ", ", "null", "]" ] + } ] + }, { + "r" : "570", + "value" : [ " ", "properly includes", " " ] + }, { + "r" : "567", + "s" : [ { + "r" : "565", + "value" : [ "Interval[", "1234", ", ", "5678", "]" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "ProperIncludes", + "localId" : "570", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "571", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "572", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "573", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "574", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "Interval", + "localId" : "561", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "563", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "564", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "low" : { + "type" : "Literal", + "localId" : "559", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "high" : { + "type" : "As", + "localId" : "562", + "asType" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Null", + "localId" : "560", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } + } + }, { + "type" : "Interval", + "localId" : "567", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "568", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "569", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "low" : { + "type" : "Literal", + "localId" : "565", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1234", + "annotation" : [ ] + }, + "high" : { + "type" : "Literal", + "localId" : "566", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "5678", + "annotation" : [ ] + } + } ] + } + }, { + "localId" : "584", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "PosInfEndNotProperlyIncludesIntIvl", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "584", + "s" : [ { + "value" : [ "", "define ", "PosInfEndNotProperlyIncludesIntIvl", ": " ] + }, { + "r" : "597", + "s" : [ { + "r" : "587", + "s" : [ { + "r" : "585", + "value" : [ "Interval[", "0", ", ", "null", "]" ] + } ] + }, { + "r" : "597", + "value" : [ " ", "properly includes", " " ] + }, { + "r" : "593", + "s" : [ { + "r" : "591", + "value" : [ "Interval[", "0", ", ", "null", "]" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "ProperIncludes", + "localId" : "597", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "598", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "599", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "600", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "601", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "Interval", + "localId" : "587", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "589", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "590", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "low" : { + "type" : "Literal", + "localId" : "585", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "high" : { + "type" : "As", + "localId" : "588", + "asType" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Null", + "localId" : "586", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } + } + }, { + "type" : "Interval", + "localId" : "593", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "595", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "596", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "low" : { + "type" : "Literal", + "localId" : "591", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "high" : { + "type" : "As", + "localId" : "594", + "asType" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Null", + "localId" : "592", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } + } + } ] + } + }, { + "localId" : "611", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "UnknownEndMayProperlyIncludeIntIvl", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "611", + "s" : [ { + "value" : [ "", "define ", "UnknownEndMayProperlyIncludeIntIvl", ": " ] + }, { + "r" : "623", + "s" : [ { + "r" : "614", + "s" : [ { + "r" : "612", + "value" : [ "Interval[", "0", ", ", "null", ")" ] + } ] + }, { + "r" : "623", + "value" : [ " ", "properly includes", " " ] + }, { + "r" : "620", + "s" : [ { + "r" : "618", + "value" : [ "Interval[", "0", ", ", "0", "]" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "ProperIncludes", + "localId" : "623", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "624", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "625", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "626", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "627", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "Interval", + "localId" : "614", + "lowClosed" : true, + "highClosed" : false, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "616", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "617", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "low" : { + "type" : "Literal", + "localId" : "612", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "high" : { + "type" : "As", + "localId" : "615", + "asType" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Null", + "localId" : "613", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } + } + }, { + "type" : "Interval", + "localId" : "620", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "621", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "622", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "low" : { + "type" : "Literal", + "localId" : "618", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "high" : { + "type" : "Literal", + "localId" : "619", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + } ] + } + }, { + "localId" : "637", + "name" : "PrecisionDateIvl", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "637", + "s" : [ { + "value" : [ "", "define ", "PrecisionDateIvl", ": " ] + }, { + "r" : "686", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "654", + "s" : [ { + "r" : "638", + "value" : [ "DateTime", "(", "2012", ", ", "3", ", ", "2", ", ", "12", ", ", "34", ", ", "56", ", ", "789", ")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "678", + "s" : [ { + "r" : "662", + "value" : [ "DateTime", "(", "2012", ", ", "9", ", ", "2", ", ", "1", ", ", "23", ", ", "45", ", ", "678", ")" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "689", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "690", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "expression" : { + "type" : "Interval", + "localId" : "686", + "lowClosed" : true, + "highClosed" : false, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "687", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "688", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "DateTime", + "localId" : "654", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "655", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "656", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "657", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "658", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "659", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "660", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "661", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "638", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "639", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "640", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "641", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "12", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "642", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "34", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "643", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "56", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "644", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "789", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "678", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "679", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "680", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "681", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "682", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "683", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "684", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "685", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "662", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "663", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "9", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "664", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "665", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "666", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "23", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "667", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "45", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "668", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "678", + "annotation" : [ ] + } + } + } + }, { + "localId" : "693", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "ProperlyIncludesDayOfIvlLowEdge", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "693", + "s" : [ { + "value" : [ "", "define ", "ProperlyIncludesDayOfIvlLowEdge", ": " ] + }, { + "r" : "748", + "s" : [ { + "r" : "694", + "s" : [ { + "value" : [ "PrecisionDateIvl" ] + } ] + }, { + "r" : "748", + "value" : [ " ", "properly includes day of", " " ] + }, { + "r" : "745", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "713", + "s" : [ { + "r" : "697", + "value" : [ "DateTime", "(", "2012", ", ", "3", ", ", "2", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "737", "s" : [ { - "value" : [ "","define ","NotMeetsDayOfImpreciseIVL",": " ] - }, { - "r" : "927", - "s" : [ { - "r" : "903", - "s" : [ { - "value" : [ "PrecisionDateIvl" ] - } ] - }, { - "r" : "927", - "value" : [ " ","meets before day of"," " ] - }, { - "r" : "924", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "912", - "s" : [ { - "r" : "906", - "value" : [ "DateTime","(","2012",", ","1",")" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "921", - "s" : [ { - "r" : "915", - "value" : [ "DateTime","(","2012",", ","2",")" ] - } ] - }, { - "value" : [ "]" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "927", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "precision" : "Day", - "type" : "MeetsBefore", - "signature" : [ { - "localId" : "928", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "929", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "930", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "931", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "903", - "name" : "PrecisionDateIvl", - "type" : "ExpressionRef", - "resultTypeSpecifier" : { - "localId" : "904", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "905", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - }, { - "localId" : "924", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "925", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "926", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "912", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "913", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "914", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "906", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "907", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - } - }, - "high" : { - "localId" : "921", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "922", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "923", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "915", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "916", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal" - } - } - } ] - } - }, { - "localId" : "934", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "MayMeetAfterDayOfImpreciseIvl", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "934", + "r" : "721", + "value" : [ "DateTime", "(", "2012", ", ", "6", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "ProperIncludes", + "localId" : "748", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "precision" : "Day", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "749", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "750", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "751", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "752", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "ExpressionRef", + "localId" : "694", + "name" : "PrecisionDateIvl", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "695", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "696", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + }, { + "type" : "Interval", + "localId" : "745", + "lowClosed" : true, + "highClosed" : false, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "746", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "747", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "DateTime", + "localId" : "713", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "714", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "715", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "716", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "717", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "718", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "719", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "720", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "697", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "698", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "699", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "700", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "701", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "702", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "703", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "737", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "738", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "739", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "740", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "741", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "742", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "743", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "744", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "721", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "722", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "6", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "723", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "724", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "725", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "726", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "727", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + } + } ] + } + }, { + "localId" : "762", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "ProperlyIncludesDayOfIvlHighEdge", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "762", + "s" : [ { + "value" : [ "", "define ", "ProperlyIncludesDayOfIvlHighEdge", ": " ] + }, { + "r" : "817", + "s" : [ { + "r" : "763", + "s" : [ { + "value" : [ "PrecisionDateIvl" ] + } ] + }, { + "r" : "817", + "value" : [ " ", "properly includes day of", " " ] + }, { + "r" : "814", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "782", "s" : [ { - "value" : [ "","define ","MayMeetAfterDayOfImpreciseIvl",": " ] - }, { - "r" : "959", - "s" : [ { - "r" : "935", - "s" : [ { - "value" : [ "PrecisionDateIvl" ] - } ] - }, { - "r" : "959", - "value" : [ " ","meets before day of"," " ] - }, { - "r" : "956", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "944", - "s" : [ { - "r" : "938", - "value" : [ "DateTime","(","2012",", ","1",")" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "953", - "s" : [ { - "r" : "947", - "value" : [ "DateTime","(","2012",", ","3",")" ] - } ] - }, { - "value" : [ "]" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "959", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "precision" : "Day", - "type" : "MeetsBefore", - "signature" : [ { - "localId" : "960", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "961", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "962", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "963", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "935", - "name" : "PrecisionDateIvl", - "type" : "ExpressionRef", - "resultTypeSpecifier" : { - "localId" : "936", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "937", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - }, { - "localId" : "956", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "957", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "958", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "944", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "945", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "946", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "938", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "939", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - } - }, - "high" : { - "localId" : "953", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "954", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "955", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "947", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "948", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - } - } - } ] - } - }, { - "localId" : "966", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "MayMeetBeforeDayOfImpreciseIvl", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "966", - "s" : [ { - "value" : [ "","define ","MayMeetBeforeDayOfImpreciseIvl",": " ] - }, { - "r" : "991", - "s" : [ { - "r" : "967", - "s" : [ { - "value" : [ "PrecisionDateIvl" ] - } ] - }, { - "r" : "991", - "value" : [ " ","meets before day of"," " ] - }, { - "r" : "988", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "976", - "s" : [ { - "r" : "970", - "value" : [ "DateTime","(","2012",", ","9",")" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "985", - "s" : [ { - "r" : "979", - "value" : [ "DateTime","(","2012",", ","12",")" ] - } ] - }, { - "value" : [ "]" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "991", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "precision" : "Day", - "type" : "MeetsBefore", - "signature" : [ { - "localId" : "992", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "993", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "994", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "995", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "967", - "name" : "PrecisionDateIvl", - "type" : "ExpressionRef", - "resultTypeSpecifier" : { - "localId" : "968", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "969", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - }, { - "localId" : "988", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "989", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "990", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "976", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "977", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "978", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "970", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "971", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "9", - "type" : "Literal" - } - }, - "high" : { - "localId" : "985", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "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" - } ], - "year" : { - "localId" : "979", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "980", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "12", - "type" : "Literal" - } - } - } ] - } - }, { - "localId" : "998", - "name" : "ImpDateIvl", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "998", + "r" : "766", + "value" : [ "DateTime", "(", "2012", ", ", "6", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "806", "s" : [ { - "value" : [ "","define ","ImpDateIvl",": " ] - }, { - "r" : "1017", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "1005", - "s" : [ { - "r" : "999", - "value" : [ "DateTime","(","2012",", ","3",")" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "1014", - "s" : [ { - "r" : "1008", - "value" : [ "DateTime","(","2012",", ","8",")" ] - } ] - }, { - "value" : [ "]" ] - } ] - } ] - } - } ], + "r" : "790", + "value" : [ "DateTime", "(", "2012", ", ", "9", ", ", "2", ", ", "23", ", ", "59", ", ", "59", ", ", "999", ")" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "ProperIncludes", + "localId" : "817", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "precision" : "Day", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "818", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "819", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "820", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "821", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "ExpressionRef", + "localId" : "763", + "name" : "PrecisionDateIvl", + "annotation" : [ ], "resultTypeSpecifier" : { - "localId" : "1020", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1021", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "expression" : { - "localId" : "1017", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "1018", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1019", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "1005", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "1006", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1007", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "999", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "1000", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - } - }, - "high" : { - "localId" : "1014", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "1015", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1016", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1008", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "1009", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "8", - "type" : "Literal" - } - } - } - }, { - "localId" : "1024", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "ImpreciseMayMeetAfterDateIvl", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "1024", - "s" : [ { - "value" : [ "","define ","ImpreciseMayMeetAfterDateIvl",": " ] - }, { - "r" : "1079", - "s" : [ { - "r" : "1025", - "s" : [ { - "value" : [ "ImpDateIvl" ] - } ] - }, { - "r" : "1079", - "value" : [ " ","meets before"," " ] - }, { - "r" : "1076", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "1044", - "s" : [ { - "r" : "1028", - "value" : [ "DateTime","(","2012",", ","1",", ","1",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "1068", - "s" : [ { - "r" : "1052", - "value" : [ "DateTime","(","2012",", ","2",", ","29",", ","23",", ","59",", ","59",", ","999",")" ] - } ] - }, { - "value" : [ "]" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "1079", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "MeetsBefore", - "signature" : [ { - "localId" : "1080", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1081", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "1082", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1083", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "1025", - "name" : "ImpDateIvl", - "type" : "ExpressionRef", - "resultTypeSpecifier" : { - "localId" : "1026", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1027", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - }, { - "localId" : "1076", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "1077", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1078", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "1044", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "1045", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1046", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1047", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1048", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1049", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1050", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1051", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1028", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "1029", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "1030", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "1031", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "1032", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "1033", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "1034", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - }, - "high" : { - "localId" : "1068", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "1069", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1070", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1071", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1072", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1073", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1074", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1075", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1052", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "1053", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal" - }, - "day" : { - "localId" : "1054", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "29", - "type" : "Literal" - }, - "hour" : { - "localId" : "1055", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "23", - "type" : "Literal" - }, - "minute" : { - "localId" : "1056", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal" - }, - "second" : { - "localId" : "1057", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "1058", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "999", - "type" : "Literal" - } - } - } ] - } - }, { - "localId" : "1086", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "ImpreciseMayMeetBeforeDateIvl", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "1086", - "s" : [ { - "value" : [ "","define ","ImpreciseMayMeetBeforeDateIvl",": " ] - }, { - "r" : "1141", - "s" : [ { - "r" : "1087", - "s" : [ { - "value" : [ "ImpDateIvl" ] - } ] - }, { - "r" : "1141", - "value" : [ " ","meets before"," " ] - }, { - "r" : "1138", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "1106", - "s" : [ { - "r" : "1090", - "value" : [ "DateTime","(","2012",", ","9",", ","1",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "1130", - "s" : [ { - "r" : "1114", - "value" : [ "DateTime","(","2012",", ","12",", ","31",", ","23",", ","59",", ","59",", ","999",")" ] - } ] - }, { - "value" : [ "]" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "1141", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "MeetsBefore", - "signature" : [ { - "localId" : "1142", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1143", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "1144", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1145", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "1087", - "name" : "ImpDateIvl", - "type" : "ExpressionRef", - "resultTypeSpecifier" : { - "localId" : "1088", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1089", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - }, { - "localId" : "1138", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "1139", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1140", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "1106", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "1107", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1108", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1109", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1110", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1111", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1112", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1113", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1090", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "1091", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "9", - "type" : "Literal" - }, - "day" : { - "localId" : "1092", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "1093", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "1094", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "1095", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "1096", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - }, - "high" : { - "localId" : "1130", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "1131", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1132", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1133", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1134", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1135", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1136", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1137", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1114", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "1115", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "12", - "type" : "Literal" - }, - "day" : { - "localId" : "1116", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "31", - "type" : "Literal" - }, - "hour" : { - "localId" : "1117", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "23", - "type" : "Literal" - }, - "minute" : { - "localId" : "1118", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal" - }, - "second" : { - "localId" : "1119", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "1120", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "999", - "type" : "Literal" - } - } - } ] - } - }, { - "localId" : "1148", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "ImpreciseNotMeetsDateIvl", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "1148", - "s" : [ { - "value" : [ "","define ","ImpreciseNotMeetsDateIvl",": " ] - }, { - "r" : "1203", - "s" : [ { - "r" : "1149", - "s" : [ { - "value" : [ "ImpDateIvl" ] - } ] - }, { - "r" : "1203", - "value" : [ " ","meets before"," " ] - }, { - "r" : "1200", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "1168", - "s" : [ { - "r" : "1152", - "value" : [ "DateTime","(","2012",", ","1",", ","1",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "1192", - "s" : [ { - "r" : "1176", - "value" : [ "DateTime","(","2012",", ","12",", ","31",", ","23",", ","59",", ","59",", ","999",")" ] - } ] - }, { - "value" : [ ")" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "1203", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "MeetsBefore", - "signature" : [ { - "localId" : "1204", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1205", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "1206", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1207", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "1149", - "name" : "ImpDateIvl", - "type" : "ExpressionRef", - "resultTypeSpecifier" : { - "localId" : "1150", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1151", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - }, { - "localId" : "1200", - "lowClosed" : true, - "highClosed" : false, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "1201", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1202", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "1168", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "1169", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1170", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1171", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1172", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1173", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1174", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1175", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1152", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "1153", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "1154", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "1155", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "1156", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "1157", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "1158", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - }, - "high" : { - "localId" : "1192", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "1193", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1194", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1195", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1196", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1197", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1198", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1199", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1176", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "1177", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "12", - "type" : "Literal" - }, - "day" : { - "localId" : "1178", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "31", - "type" : "Literal" - }, - "hour" : { - "localId" : "1179", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "23", - "type" : "Literal" - }, - "minute" : { - "localId" : "1180", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal" - }, - "second" : { - "localId" : "1181", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "1182", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "999", - "type" : "Literal" - } - } - } ] - } - }, { - "localId" : "1210", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "NegInfBegMeetsBeforeIntIvl", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "1210", - "s" : [ { - "value" : [ "","define ","NegInfBegMeetsBeforeIntIvl",": " ] - }, { - "r" : "1222", - "s" : [ { - "r" : "1213", - "s" : [ { - "r" : "1211", - "value" : [ "Interval[","null",", ","100","]" ] - } ] - }, { - "r" : "1222", - "value" : [ " ","meets before"," " ] - }, { - "r" : "1219", - "s" : [ { - "r" : "1217", - "value" : [ "Interval[","101",", ","200","]" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "1222", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "MeetsBefore", - "signature" : [ { - "localId" : "1223", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1224", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "1225", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1226", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "1213", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "1215", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1216", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "1214", - "asType" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "As", - "signature" : [ ], - "operand" : { - "localId" : "1211", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - } - }, - "high" : { - "localId" : "1212", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "100", - "type" : "Literal" - } - }, { - "localId" : "1219", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "1220", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1221", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "1217", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "101", - "type" : "Literal" - }, - "high" : { - "localId" : "1218", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "200", - "type" : "Literal" - } - } ] - } - }, { - "localId" : "1229", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "NegInfBegNotMeetsIntIvl", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "1229", + "type" : "IntervalTypeSpecifier", + "localId" : "764", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "765", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + }, { + "type" : "Interval", + "localId" : "814", + "lowClosed" : true, + "highClosed" : false, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "815", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "816", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "DateTime", + "localId" : "782", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "783", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "784", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "785", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "786", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "787", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "788", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "789", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "766", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "767", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "6", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "768", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "769", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "770", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "771", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "772", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "806", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "807", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "808", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "809", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "810", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "811", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "812", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "813", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "790", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "791", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "9", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "792", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "793", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "23", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "794", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "59", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "795", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "59", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "796", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "999", + "annotation" : [ ] + } + } + } ] + } + }, { + "localId" : "831", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "ProperlyIncludesDayOfIvlNearEdges", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "831", + "s" : [ { + "value" : [ "", "define ", "ProperlyIncludesDayOfIvlNearEdges", ": " ] + }, { + "r" : "886", + "s" : [ { + "r" : "832", + "s" : [ { + "value" : [ "PrecisionDateIvl" ] + } ] + }, { + "r" : "886", + "value" : [ " ", "properly includes day of", " " ] + }, { + "r" : "883", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "851", + "s" : [ { + "r" : "835", + "value" : [ "DateTime", "(", "2012", ", ", "3", ", ", "3", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "875", + "s" : [ { + "r" : "859", + "value" : [ "DateTime", "(", "2012", ", ", "9", ", ", "1", ", ", "23", ", ", "59", ", ", "59", ", ", "999", ")" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "ProperIncludes", + "localId" : "886", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "precision" : "Day", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "887", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "888", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "889", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "890", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "ExpressionRef", + "localId" : "832", + "name" : "PrecisionDateIvl", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "833", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "834", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + }, { + "type" : "Interval", + "localId" : "883", + "lowClosed" : true, + "highClosed" : false, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "884", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "885", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "DateTime", + "localId" : "851", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "852", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "853", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "854", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "855", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "856", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "857", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "858", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "835", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "836", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "837", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "838", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "839", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "840", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "841", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "875", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "876", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "877", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "878", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "879", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "880", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "881", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "882", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "859", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "860", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "9", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "861", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "862", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "23", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "863", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "59", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "864", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "59", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "865", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "999", + "annotation" : [ ] + } + } + } ] + } + }, { + "localId" : "900", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "NotProperlyIncludesDayOfIvlSameEdges", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "900", + "s" : [ { + "value" : [ "", "define ", "NotProperlyIncludesDayOfIvlSameEdges", ": " ] + }, { + "r" : "955", + "s" : [ { + "r" : "901", + "s" : [ { + "value" : [ "PrecisionDateIvl" ] + } ] + }, { + "r" : "955", + "value" : [ " ", "properly includes day of", " " ] + }, { + "r" : "952", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "920", + "s" : [ { + "r" : "904", + "value" : [ "DateTime", "(", "2012", ", ", "3", ", ", "2", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "944", + "s" : [ { + "r" : "928", + "value" : [ "DateTime", "(", "2012", ", ", "9", ", ", "2", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ "]" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "ProperIncludes", + "localId" : "955", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "precision" : "Day", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "956", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "957", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "958", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "959", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "ExpressionRef", + "localId" : "901", + "name" : "PrecisionDateIvl", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "902", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "903", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + }, { + "type" : "Interval", + "localId" : "952", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "953", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "954", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "DateTime", + "localId" : "920", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "921", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "922", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "923", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "924", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "925", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "926", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "927", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "904", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "905", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "906", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "907", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "908", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "909", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "910", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "944", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "945", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "946", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "947", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "948", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "949", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "950", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "951", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "928", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "929", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "9", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "930", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "931", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "932", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "933", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "934", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + } + } ] + } + }, { + "localId" : "969", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "MayProperlyIncludeDayOfIvlVeryImpreciseLow", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "969", + "s" : [ { + "value" : [ "", "define ", "MayProperlyIncludeDayOfIvlVeryImpreciseLow", ": " ] + }, { + "r" : "994", + "s" : [ { + "r" : "970", + "s" : [ { + "value" : [ "PrecisionDateIvl" ] + } ] + }, { + "r" : "994", + "value" : [ " ", "properly includes day of", " " ] + }, { + "r" : "991", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "979", + "s" : [ { + "r" : "973", + "value" : [ "DateTime", "(", "2012", ", ", "3", ")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "988", + "s" : [ { + "r" : "982", + "value" : [ "DateTime", "(", "2012", ", ", "6", ")" ] + } ] + }, { + "value" : [ "]" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "ProperIncludes", + "localId" : "994", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "precision" : "Day", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "995", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "996", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "997", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "998", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "ExpressionRef", + "localId" : "970", + "name" : "PrecisionDateIvl", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "971", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "972", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + }, { + "type" : "Interval", + "localId" : "991", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "992", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "993", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "DateTime", + "localId" : "979", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "980", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "981", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "973", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "974", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "988", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "989", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "990", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "982", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "983", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "6", + "annotation" : [ ] + } + } + } ] + } + }, { + "localId" : "1008", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "MayProperlyIncludeDayOfIvlVeryImpreciseHigh", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "1008", + "s" : [ { + "value" : [ "", "define ", "MayProperlyIncludeDayOfIvlVeryImpreciseHigh", ": " ] + }, { + "r" : "1033", + "s" : [ { + "r" : "1009", + "s" : [ { + "value" : [ "PrecisionDateIvl" ] + } ] + }, { + "r" : "1033", + "value" : [ " ", "properly includes day of", " " ] + }, { + "r" : "1030", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "1018", + "s" : [ { + "r" : "1012", + "value" : [ "DateTime", "(", "2012", ", ", "6", ")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "1027", + "s" : [ { + "r" : "1021", + "value" : [ "DateTime", "(", "2012", ", ", "9", ")" ] + } ] + }, { + "value" : [ "]" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "ProperIncludes", + "localId" : "1033", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "precision" : "Day", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "1034", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1035", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "1036", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1037", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "ExpressionRef", + "localId" : "1009", + "name" : "PrecisionDateIvl", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1010", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1011", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + }, { + "type" : "Interval", + "localId" : "1030", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1031", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1032", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "DateTime", + "localId" : "1018", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1019", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1020", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1012", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1013", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "6", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "1027", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1028", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1029", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1021", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1022", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "9", + "annotation" : [ ] + } + } + } ] + } + }, { + "localId" : "1047", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "MayProperlyIncludeDayOfIvlVeryImpreciseLowAndHigh", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "1047", + "s" : [ { + "value" : [ "", "define ", "MayProperlyIncludeDayOfIvlVeryImpreciseLowAndHigh", ": " ] + }, { + "r" : "1072", + "s" : [ { + "r" : "1048", + "s" : [ { + "value" : [ "PrecisionDateIvl" ] + } ] + }, { + "r" : "1072", + "value" : [ " ", "properly includes day of", " " ] + }, { + "r" : "1069", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "1057", + "s" : [ { + "r" : "1051", + "value" : [ "DateTime", "(", "2012", ", ", "3", ")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "1066", + "s" : [ { + "r" : "1060", + "value" : [ "DateTime", "(", "2012", ", ", "9", ")" ] + } ] + }, { + "value" : [ "]" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "ProperIncludes", + "localId" : "1072", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "precision" : "Day", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "1073", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1074", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "1075", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1076", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "ExpressionRef", + "localId" : "1048", + "name" : "PrecisionDateIvl", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1049", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1050", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + }, { + "type" : "Interval", + "localId" : "1069", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1070", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1071", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "DateTime", + "localId" : "1057", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1058", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1059", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1051", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1052", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "1066", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1067", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1068", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1060", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1061", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "9", + "annotation" : [ ] + } + } + } ] + } + }, { + "localId" : "1086", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "MayProperlyIncludeDayOfIvlVeryImpreciseSurrounding", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "1086", + "s" : [ { + "value" : [ "", "define ", "MayProperlyIncludeDayOfIvlVeryImpreciseSurrounding", ": " ] + }, { + "r" : "1105", + "s" : [ { + "r" : "1087", + "s" : [ { + "value" : [ "PrecisionDateIvl" ] + } ] + }, { + "r" : "1105", + "value" : [ " ", "properly includes day of", " " ] + }, { + "r" : "1102", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "1094", "s" : [ { - "value" : [ "","define ","NegInfBegNotMeetsIntIvl",": " ] - }, { - "r" : "1241", - "s" : [ { - "r" : "1232", - "s" : [ { - "r" : "1230", - "value" : [ "Interval[","null",", ","100","]" ] - } ] - }, { - "r" : "1241", - "value" : [ " ","meets before"," " ] - }, { - "r" : "1238", - "s" : [ { - "r" : "1236", - "value" : [ "Interval[","100",", ","200","]" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "1241", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "MeetsBefore", - "signature" : [ { - "localId" : "1242", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1243", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "1244", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1245", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "1232", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "1234", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1235", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "1233", - "asType" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "As", - "signature" : [ ], - "operand" : { - "localId" : "1230", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - } - }, - "high" : { - "localId" : "1231", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "100", - "type" : "Literal" - } - }, { - "localId" : "1238", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "1239", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1240", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "1236", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "100", - "type" : "Literal" - }, - "high" : { - "localId" : "1237", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "200", - "type" : "Literal" - } - } ] - } - }, { - "localId" : "1248", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "IntIvlNotMeetsNegInfBeg", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "1248", + "r" : "1090", + "value" : [ "DateTime", "(", "2012", ")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "1100", "s" : [ { - "value" : [ "","define ","IntIvlNotMeetsNegInfBeg",": " ] - }, { - "r" : "1260", - "s" : [ { - "r" : "1251", - "s" : [ { - "r" : "1249", - "value" : [ "Interval[","100",", ","200","]" ] - } ] - }, { - "r" : "1260", - "value" : [ " ","meets before"," " ] - }, { - "r" : "1256", - "s" : [ { - "r" : "1254", - "value" : [ "Interval[","null",", ","400","]" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "1260", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "MeetsBefore", - "signature" : [ { - "localId" : "1261", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1262", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "1263", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1264", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "1251", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "1252", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1253", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "1249", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "100", - "type" : "Literal" - }, - "high" : { - "localId" : "1250", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "200", - "type" : "Literal" - } - }, { - "localId" : "1256", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "1258", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1259", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "1257", - "asType" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "As", - "signature" : [ ], - "operand" : { - "localId" : "1254", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - } - }, - "high" : { - "localId" : "1255", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "400", - "type" : "Literal" - } - } ] - } - }, { - "localId" : "1267", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "UnknownBegMeetsBeforeIntIvl", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "1267", - "s" : [ { - "value" : [ "","define ","UnknownBegMeetsBeforeIntIvl",": " ] - }, { - "r" : "1279", - "s" : [ { - "r" : "1270", - "s" : [ { - "r" : "1268", - "value" : [ "Interval(","null",", ","100","]" ] - } ] - }, { - "r" : "1279", - "value" : [ " ","meets before"," " ] - }, { - "r" : "1276", - "s" : [ { - "r" : "1274", - "value" : [ "Interval[","101",", ","200","]" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "1279", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "MeetsBefore", - "signature" : [ { - "localId" : "1280", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1281", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "1282", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1283", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "1270", - "lowClosed" : false, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "1272", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1273", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "1271", - "asType" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "As", - "signature" : [ ], - "operand" : { - "localId" : "1268", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - } - }, - "high" : { - "localId" : "1269", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "100", - "type" : "Literal" - } - }, { - "localId" : "1276", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "1277", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1278", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "1274", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "101", - "type" : "Literal" - }, - "high" : { - "localId" : "1275", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "200", - "type" : "Literal" - } - } ] - } - }, { - "localId" : "1286", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "UnknownBegMayMeetAfterIntIvl", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "1286", + "r" : "1096", + "value" : [ "DateTime", "(", "2012", ")" ] + } ] + }, { + "value" : [ "]" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "ProperIncludes", + "localId" : "1105", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "precision" : "Day", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "1106", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1107", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "1108", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1109", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "ExpressionRef", + "localId" : "1087", + "name" : "PrecisionDateIvl", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1088", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1089", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + }, { + "type" : "Interval", + "localId" : "1102", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1103", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1104", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "DateTime", + "localId" : "1094", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1095", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1090", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "1100", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1101", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1096", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + } + } + } ] + } + } ] + } + } +} + +/* IncludedIn +library TestSnippet version '1' +using Simple version '1.0.0' +context Patient +define IncludesIntIvl: Interval[1, 4] included in Interval[1, 5] +define NotIncludesIntIvl: Interval[1, 4] included in Interval(1, 5] +define IncludesRealIvl: Interval[2.34, 2.56] included in Interval[1.234, 3.456] +define NotIncludesRealIvl: Interval[1.23, 2.56] included in Interval[1.234, 3.456] +define DateIvl: Interval[DateTime(2012, 3, 1, 0, 0, 0, 0), DateTime(2012, 9, 1, 0, 0, 0, 0)) +define IncludesDateIvl: Interval[DateTime(2012, 4, 1, 0, 0, 0, 0), DateTime(2012, 6, 1, 0, 0, 0, 0)) included in DateIvl +define NotIncludesDateIvl: Interval[DateTime(2012, 6, 1, 0, 0, 0, 0), DateTime(2012, 9, 1, 0, 0, 0, 0)] included in DateIvl +define IncludesImpreciseDateIvl: Interval[DateTime(2012, 4), DateTime(2012, 6)] included in DateIvl +define NotIncludesImpreciseDateIvl: Interval[DateTime(2012, 4), DateTime(2012, 9)] included in DateIvl +define MayIncludeImpreciseDateIvl: Interval[DateTime(2012), DateTime(2012)] included in DateIvl +define PrecisionDateIvl: Interval[DateTime(2012, 3, 2, 12, 34, 56, 789), DateTime(2012, 9, 2, 1, 23, 45, 678)) +define IncludesDayOfIvlLowEdge: Interval[DateTime(2012, 3, 2, 0, 0, 0, 0), DateTime(2012, 6, 1, 0, 0, 0, 0)) included in day of PrecisionDateIvl +define IncludesDayOfIvlHighEdge: Interval[DateTime(2012, 6, 1, 0, 0, 0, 0), DateTime(2012, 9, 2, 23, 59, 59, 999)) included in day of PrecisionDateIvl +define NotIncludesDayOfIvlLowEdge: Interval[DateTime(2012, 3, 1, 0, 0, 0, 0), DateTime(2012, 6, 1, 0, 0, 0, 0)] included in day of PrecisionDateIvl +define NotIncludesDayOfIvlHighEdge: Interval[DateTime(2012, 6, 1, 0, 0, 0, 0), DateTime(2012, 9, 3, 0, 0, 0, 0)] included in day of PrecisionDateIvl +define IncludesDayOfIvlImpreciseLowEdge: Interval[DateTime(2012, 3, 2), DateTime(2012, 6, 1)] included in day of PrecisionDateIvl +define IncludesDayInInterval: DateTime(2012, 3, 3) included in day of PrecisionDateIvl +define DoesNotIncludeDayInInterval: DateTime(2014, 3, 3) included in day of PrecisionDateIvl +define QuantityIncludedInterval: 5 'mg' included in Interval[4 'mg', 6 'mg'] +define QuantityNotIncludedInterval: 50 'mg' included in Interval[4 'mg', 6 'mg'] +define IncludesDayOfIvlImpreciseHighEdge: Interval[DateTime(2012, 6, 1), DateTime(2012, 9, 2)] included in day of PrecisionDateIvl +define IncludesDayOfIvlVeryImpreciseMiddle: Interval[DateTime(2012, 5), DateTime(2012, 6)] included in day of PrecisionDateIvl +define NotIncludesDayOfIvlVeryImpreciseLow: Interval[DateTime(2012, 2), DateTime(2012, 6)] included in day of PrecisionDateIvl +define NotIncludesDayOfIvlVeryImpreciseHigh: Interval[DateTime(2012, 6), DateTime(2012, 10)] included in day of PrecisionDateIvl +define MayIncludeDayOfIvlVeryImpreciseLow: Interval[DateTime(2012, 3), DateTime(2012, 6)] included in day of PrecisionDateIvl +define MayIncludeDayOfIvlVeryImpreciseHigh: Interval[DateTime(2012, 6), DateTime(2012, 9)] included in day of PrecisionDateIvl +define MayIncludeDayOfIvlVeryImpreciseSurrounding: Interval[DateTime(2012), DateTime(2012)] included in day of PrecisionDateIvl +define ImpDateIvl: Interval[DateTime(2012, 3), DateTime(2012, 8)] +define ImpreciseIncludesDateIvl: Interval[DateTime(2012, 4, 1, 0, 0, 0, 0), DateTime(2012, 6, 1, 0, 0, 0, 0)) included in ImpDateIvl +define ImpreciseNotIncludesDateIvl: Interval[DateTime(2012, 2, 1, 0, 0, 0, 0), DateTime(2012, 6, 1, 0, 0, 0, 0)) included in ImpDateIvl +define ImpreciseMayIncludeDateIvl: Interval[DateTime(2012, 3, 15, 0, 0, 0, 0), DateTime(2012, 6, 1, 0, 0, 0, 0)) included in ImpDateIvl +define NegInfBegIncludedInIntIvl: Interval[null, 5] included in Interval[null, 100] +define NegInfBegNotIncludedInIntIvl: Interval[null, 5] included in Interval[-100, 100] +define UnknownBegIncludedInIntIvl: Interval(null, 5] included in Interval[null, 100] +define UnknownBegMayBeIncludedInIntIvl: Interval(null, 5] included in Interval[-100, 100] +define UnknownBegNotIncludedInIntIvl: Interval(null, 5] included in Interval[-100, 0] +define PosInfEndIncludedInIntIvl: Interval[0, null] included in Interval[-100, null] +define PosInfEndNotIncludedInIntIvl: Interval[0, null] included in Interval[-100, 100] +define UnknownEndIncludedInIntIvl: Interval[0, null) included in Interval[-100, null] +define UnknownEndMayBeIncludedInIntIvl: Interval[0, null) included in Interval[-100, 100] +define UnknownEndNotIncludedInIntIvl: Interval[0, null) included in Interval[100, 200] +define NegInfBegIncludedInDateIvl: Interval[null, DateTime(2013, 1, 1, 0, 0, 0, 0)) included in Interval[null, DateTime(2020, 1, 1, 0, 0, 0, 0)] +define NegInfBegNotIncludedInDateIvl: Interval[null, DateTime(2013, 1, 1, 0, 0, 0, 0)) included in Interval[DateTime(2000, 1, 1, 0, 0, 0, 0), DateTime(2020, 1, 1, 0, 0, 0, 0)] +define UnknownBegIncludedInDateIvl: Interval(null, DateTime(2013, 1, 1, 0, 0, 0, 0)) included in Interval[null, DateTime(2020, 1, 1, 0, 0, 0, 0)] +define UnknownBegMayBeIncludedInDateIvl: Interval(null, DateTime(2013, 1, 1, 0, 0, 0, 0)) included in Interval[DateTime(2000, 1, 1, 0, 0, 0, 0), DateTime(2020, 1, 1, 0, 0, 0, 0)] +define UnknownBegNotIncludedInDateIvl: Interval(null, DateTime(2013, 1, 1, 0, 0, 0, 0)) included in Interval[DateTime(1, 1, 1, 0, 0, 0, 0), DateTime(2000, 1, 1, 0, 0, 0, 0)] +define PosInfEndIncludedInDateIvl: Interval[DateTime(2013, 1, 1, 0, 0, 0, 0), null] included in Interval[DateTime(2000, 1, 1, 0, 0, 0, 0), null] +define PosInfEndNotIncludedInDateIvl: Interval[DateTime(2013, 1, 1, 0, 0, 0, 0), null] included in Interval[DateTime(2000, 1, 1, 0, 0, 0, 0), DateTime(2020, 1, 1, 0, 0, 0, 0)] +define UnknownEndIncludedInDateIvl: Interval[DateTime(2013, 1, 1, 0, 0, 0, 0), null) included in Interval[DateTime(2000, 1, 1, 0, 0, 0, 0), null] +define UnknownEndMayBeIncludedInDateIvl: Interval[DateTime(2013, 1, 1, 0, 0, 0, 0), null) included in Interval[DateTime(2000, 1, 1, 0, 0, 0, 0), DateTime(2020, 1, 1, 0, 0, 0, 0)] +define UnknownEndNotIncludedInDateIvl: Interval[DateTime(2013, 1, 1, 0, 0, 0, 0), null) included in Interval[DateTime(2020, 1, 1, 0, 0, 0, 0), DateTime(2040, 1, 1, 0, 0, 0, 0)] +*/ + +module.exports['IncludedIn'] = { + "library" : { + "localId" : "0", + "annotation" : [ { + "type" : "CqlToElmInfo", + "translatorVersion" : "4.2.0", + "translatorOptions" : "EnableDateRangeOptimization,EnableAnnotations,EnableResultTypes", + "signatureLevel" : "All" + }, { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "2621", + "s" : [ { + "value" : [ "", "library TestSnippet version '1'" ] + } ] + } + } ], + "identifier" : { + "id" : "TestSnippet", + "version" : "1" + }, + "schemaIdentifier" : { + "id" : "urn:hl7-org:elm", + "version" : "r1" + }, + "usings" : { + "def" : [ { + "localId" : "1", + "localIdentifier" : "System", + "uri" : "urn:hl7-org:elm-types:r1", + "annotation" : [ ] + }, { + "localId" : "206", + "localIdentifier" : "Simple", + "uri" : "https://github.com/cqframework/cql-execution/simple", + "version" : "1.0.0", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "206", + "s" : [ { + "value" : [ "", "using " ] + }, { + "s" : [ { + "value" : [ "Simple" ] + } ] + }, { + "value" : [ " version '1.0.0'" ] + } ] + } + } ] + } ] + }, + "contexts" : { + "def" : [ { + "localId" : "211", + "name" : "Patient", + "annotation" : [ ] + } ] + }, + "statements" : { + "def" : [ { + "localId" : "209", + "name" : "Patient", + "context" : "Patient", + "annotation" : [ ], + "expression" : { + "type" : "SingletonFrom", + "localId" : "210", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Retrieve", + "localId" : "208", + "dataType" : "{https://github.com/cqframework/cql-execution/simple}Patient", + "annotation" : [ ], + "include" : [ ], + "codeFilter" : [ ], + "dateFilter" : [ ], + "otherFilter" : [ ] + } + } + }, { + "localId" : "214", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "IncludesIntIvl", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "214", + "s" : [ { + "value" : [ "", "define ", "IncludesIntIvl", ": " ] + }, { + "r" : "225", + "s" : [ { + "r" : "217", + "s" : [ { + "r" : "215", + "value" : [ "Interval[", "1", ", ", "4", "]" ] + } ] + }, { + "r" : "225", + "value" : [ " ", "included in", " " ] + }, { + "r" : "222", + "s" : [ { + "r" : "220", + "value" : [ "Interval[", "1", ", ", "5", "]" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "IncludedIn", + "localId" : "225", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "226", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "227", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "228", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "229", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "Interval", + "localId" : "217", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "218", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "219", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "low" : { + "type" : "Literal", + "localId" : "215", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "high" : { + "type" : "Literal", + "localId" : "216", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "4", + "annotation" : [ ] + } + }, { + "type" : "Interval", + "localId" : "222", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "223", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "224", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "low" : { + "type" : "Literal", + "localId" : "220", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "high" : { + "type" : "Literal", + "localId" : "221", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "5", + "annotation" : [ ] + } + } ] + } + }, { + "localId" : "239", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "NotIncludesIntIvl", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "239", + "s" : [ { + "value" : [ "", "define ", "NotIncludesIntIvl", ": " ] + }, { + "r" : "250", + "s" : [ { + "r" : "242", + "s" : [ { + "r" : "240", + "value" : [ "Interval[", "1", ", ", "4", "]" ] + } ] + }, { + "r" : "250", + "value" : [ " ", "included in", " " ] + }, { + "r" : "247", + "s" : [ { + "r" : "245", + "value" : [ "Interval(", "1", ", ", "5", "]" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "IncludedIn", + "localId" : "250", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "251", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "252", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "253", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "254", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "Interval", + "localId" : "242", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "243", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "244", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "low" : { + "type" : "Literal", + "localId" : "240", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "high" : { + "type" : "Literal", + "localId" : "241", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "4", + "annotation" : [ ] + } + }, { + "type" : "Interval", + "localId" : "247", + "lowClosed" : false, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "248", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "249", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "low" : { + "type" : "Literal", + "localId" : "245", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "high" : { + "type" : "Literal", + "localId" : "246", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "5", + "annotation" : [ ] + } + } ] + } + }, { + "localId" : "264", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "IncludesRealIvl", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "264", + "s" : [ { + "value" : [ "", "define ", "IncludesRealIvl", ": " ] + }, { + "r" : "275", + "s" : [ { + "r" : "267", + "s" : [ { + "r" : "265", + "value" : [ "Interval[", "2.34", ", ", "2.56", "]" ] + } ] + }, { + "r" : "275", + "value" : [ " ", "included in", " " ] + }, { + "r" : "272", + "s" : [ { + "r" : "270", + "value" : [ "Interval[", "1.234", ", ", "3.456", "]" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "IncludedIn", + "localId" : "275", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "276", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "277", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "278", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "279", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "Interval", + "localId" : "267", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "268", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "269", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } + }, + "low" : { + "type" : "Literal", + "localId" : "265", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "2.34", + "annotation" : [ ] + }, + "high" : { + "type" : "Literal", + "localId" : "266", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "2.56", + "annotation" : [ ] + } + }, { + "type" : "Interval", + "localId" : "272", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "273", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "274", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } + }, + "low" : { + "type" : "Literal", + "localId" : "270", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "1.234", + "annotation" : [ ] + }, + "high" : { + "type" : "Literal", + "localId" : "271", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "3.456", + "annotation" : [ ] + } + } ] + } + }, { + "localId" : "289", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "NotIncludesRealIvl", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "289", + "s" : [ { + "value" : [ "", "define ", "NotIncludesRealIvl", ": " ] + }, { + "r" : "300", + "s" : [ { + "r" : "292", + "s" : [ { + "r" : "290", + "value" : [ "Interval[", "1.23", ", ", "2.56", "]" ] + } ] + }, { + "r" : "300", + "value" : [ " ", "included in", " " ] + }, { + "r" : "297", + "s" : [ { + "r" : "295", + "value" : [ "Interval[", "1.234", ", ", "3.456", "]" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "IncludedIn", + "localId" : "300", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "301", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "302", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "303", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "304", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "Interval", + "localId" : "292", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "293", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "294", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } + }, + "low" : { + "type" : "Literal", + "localId" : "290", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "1.23", + "annotation" : [ ] + }, + "high" : { + "type" : "Literal", + "localId" : "291", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "2.56", + "annotation" : [ ] + } + }, { + "type" : "Interval", + "localId" : "297", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "298", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "299", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } + }, + "low" : { + "type" : "Literal", + "localId" : "295", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "1.234", + "annotation" : [ ] + }, + "high" : { + "type" : "Literal", + "localId" : "296", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "3.456", + "annotation" : [ ] + } + } ] + } + }, { + "localId" : "314", + "name" : "DateIvl", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "314", + "s" : [ { + "value" : [ "", "define ", "DateIvl", ": " ] + }, { + "r" : "363", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "331", + "s" : [ { + "r" : "315", + "value" : [ "DateTime", "(", "2012", ", ", "3", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "355", + "s" : [ { + "r" : "339", + "value" : [ "DateTime", "(", "2012", ", ", "9", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "366", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "367", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "expression" : { + "type" : "Interval", + "localId" : "363", + "lowClosed" : true, + "highClosed" : false, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "364", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "365", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "DateTime", + "localId" : "331", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "332", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "333", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "334", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "335", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "336", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "337", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "338", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "315", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "316", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "317", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "318", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "319", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "320", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "321", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "355", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "356", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "357", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "358", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "359", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "360", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "361", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "362", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "339", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "340", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "9", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "341", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "342", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "343", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "344", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "345", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + } + } + }, { + "localId" : "370", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "IncludesDateIvl", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "370", + "s" : [ { + "value" : [ "", "define ", "IncludesDateIvl", ": " ] + }, { + "r" : "425", + "s" : [ { + "r" : "419", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "387", + "s" : [ { + "r" : "371", + "value" : [ "DateTime", "(", "2012", ", ", "4", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "411", + "s" : [ { + "r" : "395", + "value" : [ "DateTime", "(", "2012", ", ", "6", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ ")" ] + } ] + }, { + "r" : "425", + "value" : [ " ", "included in", " " ] + }, { + "r" : "422", + "s" : [ { + "value" : [ "DateIvl" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "IncludedIn", + "localId" : "425", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "426", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "427", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "428", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "429", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "Interval", + "localId" : "419", + "lowClosed" : true, + "highClosed" : false, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "420", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "421", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "DateTime", + "localId" : "387", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "388", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "389", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "390", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "391", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "392", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "393", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "394", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "371", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "372", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "4", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "373", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "374", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "375", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "376", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "377", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "411", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "412", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "413", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "414", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "415", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "416", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "417", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "418", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "395", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "396", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "6", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "397", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "398", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "399", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "400", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "401", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + } + }, { + "type" : "ExpressionRef", + "localId" : "422", + "name" : "DateIvl", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "423", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "424", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + } ] + } + }, { + "localId" : "439", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "NotIncludesDateIvl", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "439", + "s" : [ { + "value" : [ "", "define ", "NotIncludesDateIvl", ": " ] + }, { + "r" : "494", + "s" : [ { + "r" : "488", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "456", "s" : [ { - "value" : [ "","define ","UnknownBegMayMeetAfterIntIvl",": " ] - }, { - "r" : "1298", - "s" : [ { - "r" : "1289", - "s" : [ { - "r" : "1287", - "value" : [ "Interval(","null",", ","100","]" ] - } ] - }, { - "r" : "1298", - "value" : [ " ","meets before"," " ] - }, { - "r" : "1295", - "s" : [ { - "r" : "1293", - "value" : [ "Interval[","0",", ","50","]" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "1298", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "MeetsBefore", - "signature" : [ { - "localId" : "1299", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1300", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "1301", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1302", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "1289", - "lowClosed" : false, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "1291", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1292", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "1290", - "asType" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "As", - "signature" : [ ], - "operand" : { - "localId" : "1287", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - } - }, - "high" : { - "localId" : "1288", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "100", - "type" : "Literal" - } - }, { - "localId" : "1295", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "1296", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1297", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "1293", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "high" : { - "localId" : "1294", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "50", - "type" : "Literal" - } - } ] - } - }, { - "localId" : "1305", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "UnknownBegNotMeetsIntIvl", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "1305", - "s" : [ { - "value" : [ "","define ","UnknownBegNotMeetsIntIvl",": " ] - }, { - "r" : "1317", - "s" : [ { - "r" : "1308", - "s" : [ { - "r" : "1306", - "value" : [ "Interval(","null",", ","5","]" ] - } ] - }, { - "r" : "1317", - "value" : [ " ","meets before"," " ] - }, { - "r" : "1314", - "s" : [ { - "r" : "1312", - "value" : [ "Interval[","0",", ","100","]" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "1317", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "MeetsBefore", - "signature" : [ { - "localId" : "1318", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1319", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "1320", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1321", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "1308", - "lowClosed" : false, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "1310", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1311", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "1309", - "asType" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "As", - "signature" : [ ], - "operand" : { - "localId" : "1306", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - } - }, - "high" : { - "localId" : "1307", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal" - } - }, { - "localId" : "1314", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "1315", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1316", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "1312", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "high" : { - "localId" : "1313", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "100", - "type" : "Literal" - } - } ] - } - }, { - "localId" : "1324", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "IntIvlMayMeetBeforeUnknownBeg", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "1324", - "s" : [ { - "value" : [ "","define ","IntIvlMayMeetBeforeUnknownBeg",": " ] - }, { - "r" : "1336", - "s" : [ { - "r" : "1327", - "s" : [ { - "r" : "1325", - "value" : [ "Interval[","0",", ","100","]" ] - } ] - }, { - "r" : "1336", - "value" : [ " ","meets before"," " ] - }, { - "r" : "1332", - "s" : [ { - "r" : "1330", - "value" : [ "Interval(","null",", ","400",")" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "1336", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "MeetsBefore", - "signature" : [ { - "localId" : "1337", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1338", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "1339", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1340", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "1327", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "1328", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1329", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "1325", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "high" : { - "localId" : "1326", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "100", - "type" : "Literal" - } - }, { - "localId" : "1332", - "lowClosed" : false, - "highClosed" : false, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "1334", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1335", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "1333", - "asType" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "As", - "signature" : [ ], - "operand" : { - "localId" : "1330", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - } - }, - "high" : { - "localId" : "1331", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "400", - "type" : "Literal" - } - } ] - } - }, { - "localId" : "1343", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "PosInfEndMeetsAfterIntIvl", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "1343", - "s" : [ { - "value" : [ "","define ","PosInfEndMeetsAfterIntIvl",": " ] - }, { - "r" : "1355", - "s" : [ { - "r" : "1346", - "s" : [ { - "r" : "1344", - "value" : [ "Interval[","100",", ","null","]" ] - } ] - }, { - "r" : "1355", - "value" : [ " ","meets before"," " ] - }, { - "r" : "1352", - "s" : [ { - "r" : "1350", - "value" : [ "Interval[","0",", ","99","]" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "1355", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "MeetsBefore", - "signature" : [ { - "localId" : "1356", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1357", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "1358", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1359", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "1346", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "1348", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1349", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "1344", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "100", - "type" : "Literal" - }, - "high" : { - "localId" : "1347", - "asType" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "As", - "signature" : [ ], - "operand" : { - "localId" : "1345", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - } - } - }, { - "localId" : "1352", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "1353", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1354", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "1350", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "high" : { - "localId" : "1351", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "99", - "type" : "Literal" - } - } ] - } - }, { - "localId" : "1362", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "PosInfEndNotMeetsIntIvl", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "1362", - "s" : [ { - "value" : [ "","define ","PosInfEndNotMeetsIntIvl",": " ] - }, { - "r" : "1374", - "s" : [ { - "r" : "1365", - "s" : [ { - "r" : "1363", - "value" : [ "Interval[","0",", ","null","]" ] - } ] - }, { - "r" : "1374", - "value" : [ " ","meets before"," " ] - }, { - "r" : "1371", - "s" : [ { - "r" : "1369", - "value" : [ "Interval[","1000",", ","2000","]" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "1374", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "MeetsBefore", - "signature" : [ { - "localId" : "1375", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1376", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "1377", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1378", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "1365", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "1367", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1368", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "1363", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "high" : { - "localId" : "1366", - "asType" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "As", - "signature" : [ ], - "operand" : { - "localId" : "1364", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - } - } - }, { - "localId" : "1371", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "1372", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1373", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "1369", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1000", - "type" : "Literal" - }, - "high" : { - "localId" : "1370", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - } - } ] - } - }, { - "localId" : "1381", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "IntIvlNotMeetsPosInfEnd", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "1381", - "s" : [ { - "value" : [ "","define ","IntIvlNotMeetsPosInfEnd",": " ] - }, { - "r" : "1393", - "s" : [ { - "r" : "1384", - "s" : [ { - "r" : "1382", - "value" : [ "Interval[","100",", ","200","]" ] - } ] - }, { - "r" : "1393", - "value" : [ " ","meets before"," " ] - }, { - "r" : "1389", - "s" : [ { - "r" : "1387", - "value" : [ "Interval[","0",", ","null","]" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "1393", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "MeetsBefore", - "signature" : [ { - "localId" : "1394", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1395", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "1396", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1397", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "1384", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "1385", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1386", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "1382", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "100", - "type" : "Literal" - }, - "high" : { - "localId" : "1383", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "200", - "type" : "Literal" - } - }, { - "localId" : "1389", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "1391", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1392", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "1387", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "high" : { - "localId" : "1390", - "asType" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "As", - "signature" : [ ], - "operand" : { - "localId" : "1388", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - } - } - } ] - } - }, { - "localId" : "1400", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "UnknownEndMeetsAfterIntIvl", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "1400", + "r" : "440", + "value" : [ "DateTime", "(", "2012", ", ", "6", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "480", + "s" : [ { + "r" : "464", + "value" : [ "DateTime", "(", "2012", ", ", "9", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ "]" ] + } ] + }, { + "r" : "494", + "value" : [ " ", "included in", " " ] + }, { + "r" : "491", + "s" : [ { + "value" : [ "DateIvl" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "IncludedIn", + "localId" : "494", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "495", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "496", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "497", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "498", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "Interval", + "localId" : "488", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "489", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "490", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "DateTime", + "localId" : "456", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "457", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "458", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "459", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "460", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "461", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "462", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "463", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "440", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "441", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "6", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "442", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "443", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "444", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "445", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "446", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "480", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "481", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "482", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "483", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "484", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "485", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "486", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "487", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "464", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "465", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "9", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "466", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "467", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "468", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "469", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "470", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + } + }, { + "type" : "ExpressionRef", + "localId" : "491", + "name" : "DateIvl", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "492", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "493", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + } ] + } + }, { + "localId" : "508", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "IncludesImpreciseDateIvl", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "508", + "s" : [ { + "value" : [ "", "define ", "IncludesImpreciseDateIvl", ": " ] + }, { + "r" : "533", + "s" : [ { + "r" : "527", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "515", + "s" : [ { + "r" : "509", + "value" : [ "DateTime", "(", "2012", ", ", "4", ")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "524", + "s" : [ { + "r" : "518", + "value" : [ "DateTime", "(", "2012", ", ", "6", ")" ] + } ] + }, { + "value" : [ "]" ] + } ] + }, { + "r" : "533", + "value" : [ " ", "included in", " " ] + }, { + "r" : "530", + "s" : [ { + "value" : [ "DateIvl" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "IncludedIn", + "localId" : "533", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "534", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "535", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "536", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "537", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "Interval", + "localId" : "527", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "528", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "529", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "DateTime", + "localId" : "515", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "516", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "517", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "509", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "510", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "4", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "524", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "525", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "526", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "518", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "519", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "6", + "annotation" : [ ] + } + } + }, { + "type" : "ExpressionRef", + "localId" : "530", + "name" : "DateIvl", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "531", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "532", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + } ] + } + }, { + "localId" : "547", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "NotIncludesImpreciseDateIvl", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "547", + "s" : [ { + "value" : [ "", "define ", "NotIncludesImpreciseDateIvl", ": " ] + }, { + "r" : "572", + "s" : [ { + "r" : "566", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "554", + "s" : [ { + "r" : "548", + "value" : [ "DateTime", "(", "2012", ", ", "4", ")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "563", + "s" : [ { + "r" : "557", + "value" : [ "DateTime", "(", "2012", ", ", "9", ")" ] + } ] + }, { + "value" : [ "]" ] + } ] + }, { + "r" : "572", + "value" : [ " ", "included in", " " ] + }, { + "r" : "569", + "s" : [ { + "value" : [ "DateIvl" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "IncludedIn", + "localId" : "572", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "573", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "574", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "575", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "576", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "Interval", + "localId" : "566", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "567", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "568", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "DateTime", + "localId" : "554", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "555", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "556", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "548", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "549", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "4", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "563", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "564", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "565", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "557", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "558", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "9", + "annotation" : [ ] + } + } + }, { + "type" : "ExpressionRef", + "localId" : "569", + "name" : "DateIvl", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "570", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "571", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + } ] + } + }, { + "localId" : "586", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "MayIncludeImpreciseDateIvl", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "586", + "s" : [ { + "value" : [ "", "define ", "MayIncludeImpreciseDateIvl", ": " ] + }, { + "r" : "605", + "s" : [ { + "r" : "599", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "591", + "s" : [ { + "r" : "587", + "value" : [ "DateTime", "(", "2012", ")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "597", + "s" : [ { + "r" : "593", + "value" : [ "DateTime", "(", "2012", ")" ] + } ] + }, { + "value" : [ "]" ] + } ] + }, { + "r" : "605", + "value" : [ " ", "included in", " " ] + }, { + "r" : "602", + "s" : [ { + "value" : [ "DateIvl" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "IncludedIn", + "localId" : "605", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "606", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "607", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "608", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "609", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "Interval", + "localId" : "599", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "600", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "601", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "DateTime", + "localId" : "591", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "592", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "587", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "597", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "598", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "593", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + } + } + }, { + "type" : "ExpressionRef", + "localId" : "602", + "name" : "DateIvl", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "603", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "604", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + } ] + } + }, { + "localId" : "619", + "name" : "PrecisionDateIvl", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "619", + "s" : [ { + "value" : [ "", "define ", "PrecisionDateIvl", ": " ] + }, { + "r" : "668", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "636", + "s" : [ { + "r" : "620", + "value" : [ "DateTime", "(", "2012", ", ", "3", ", ", "2", ", ", "12", ", ", "34", ", ", "56", ", ", "789", ")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "660", + "s" : [ { + "r" : "644", + "value" : [ "DateTime", "(", "2012", ", ", "9", ", ", "2", ", ", "1", ", ", "23", ", ", "45", ", ", "678", ")" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "671", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "672", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "expression" : { + "type" : "Interval", + "localId" : "668", + "lowClosed" : true, + "highClosed" : false, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "669", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "670", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "DateTime", + "localId" : "636", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "637", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "638", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "639", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "640", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "641", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "642", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "643", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "620", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "621", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "622", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "623", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "12", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "624", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "34", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "625", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "56", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "626", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "789", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "660", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "661", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "662", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "663", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "664", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "665", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "666", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "667", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "644", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "645", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "9", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "646", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "647", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "648", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "23", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "649", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "45", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "650", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "678", + "annotation" : [ ] + } + } + } + }, { + "localId" : "675", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "IncludesDayOfIvlLowEdge", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "675", + "s" : [ { + "value" : [ "", "define ", "IncludesDayOfIvlLowEdge", ": " ] + }, { + "r" : "730", + "s" : [ { + "r" : "724", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "692", + "s" : [ { + "r" : "676", + "value" : [ "DateTime", "(", "2012", ", ", "3", ", ", "2", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "716", "s" : [ { - "value" : [ "","define ","UnknownEndMeetsAfterIntIvl",": " ] - }, { - "r" : "1412", - "s" : [ { - "r" : "1403", - "s" : [ { - "r" : "1401", - "value" : [ "Interval[","100",", ","null",")" ] - } ] - }, { - "r" : "1412", - "value" : [ " ","meets before"," " ] - }, { - "r" : "1409", - "s" : [ { - "r" : "1407", - "value" : [ "Interval[","0",", ","99","]" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "1412", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "MeetsBefore", - "signature" : [ { - "localId" : "1413", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1414", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "1415", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1416", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "1403", - "lowClosed" : true, - "highClosed" : false, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "1405", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1406", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "1401", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "100", - "type" : "Literal" - }, - "high" : { - "localId" : "1404", - "asType" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "As", - "signature" : [ ], - "operand" : { - "localId" : "1402", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - } - } - }, { - "localId" : "1409", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "1410", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1411", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "1407", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "high" : { - "localId" : "1408", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "99", - "type" : "Literal" - } - } ] - } - }, { - "localId" : "1419", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "UnknownEndMayMeetBeforeIntIvl", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "1419", + "r" : "700", + "value" : [ "DateTime", "(", "2012", ", ", "6", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ ")" ] + } ] + }, { + "r" : "730", + "value" : [ " ", "included in day of", " " ] + }, { + "r" : "727", + "s" : [ { + "value" : [ "PrecisionDateIvl" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "IncludedIn", + "localId" : "730", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "precision" : "Day", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "731", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "732", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "733", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "734", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "Interval", + "localId" : "724", + "lowClosed" : true, + "highClosed" : false, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "725", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "726", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "DateTime", + "localId" : "692", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "693", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "694", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "695", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "696", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "697", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "698", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "699", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "676", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "677", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "678", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "679", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "680", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "681", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "682", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "716", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "717", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "718", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "719", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "720", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "721", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "722", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "723", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "700", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "701", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "6", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "702", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "703", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "704", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "705", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "706", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + } + }, { + "type" : "ExpressionRef", + "localId" : "727", + "name" : "PrecisionDateIvl", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "728", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "729", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + } ] + } + }, { + "localId" : "744", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "IncludesDayOfIvlHighEdge", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "744", + "s" : [ { + "value" : [ "", "define ", "IncludesDayOfIvlHighEdge", ": " ] + }, { + "r" : "799", + "s" : [ { + "r" : "793", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "761", + "s" : [ { + "r" : "745", + "value" : [ "DateTime", "(", "2012", ", ", "6", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "785", + "s" : [ { + "r" : "769", + "value" : [ "DateTime", "(", "2012", ", ", "9", ", ", "2", ", ", "23", ", ", "59", ", ", "59", ", ", "999", ")" ] + } ] + }, { + "value" : [ ")" ] + } ] + }, { + "r" : "799", + "value" : [ " ", "included in day of", " " ] + }, { + "r" : "796", + "s" : [ { + "value" : [ "PrecisionDateIvl" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "IncludedIn", + "localId" : "799", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "precision" : "Day", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "800", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "801", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "802", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "803", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "Interval", + "localId" : "793", + "lowClosed" : true, + "highClosed" : false, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "794", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "795", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "DateTime", + "localId" : "761", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "762", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "763", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "764", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "765", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "766", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "767", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "768", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "745", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "746", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "6", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "747", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "748", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "749", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "750", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "751", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "785", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "786", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "787", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "788", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "789", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "790", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "791", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "792", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "769", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "770", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "9", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "771", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "772", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "23", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "773", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "59", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "774", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "59", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "775", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "999", + "annotation" : [ ] + } + } + }, { + "type" : "ExpressionRef", + "localId" : "796", + "name" : "PrecisionDateIvl", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "797", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "798", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + } ] + } + }, { + "localId" : "813", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "NotIncludesDayOfIvlLowEdge", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "813", + "s" : [ { + "value" : [ "", "define ", "NotIncludesDayOfIvlLowEdge", ": " ] + }, { + "r" : "868", + "s" : [ { + "r" : "862", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "830", + "s" : [ { + "r" : "814", + "value" : [ "DateTime", "(", "2012", ", ", "3", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "854", "s" : [ { - "value" : [ "","define ","UnknownEndMayMeetBeforeIntIvl",": " ] - }, { - "r" : "1431", - "s" : [ { - "r" : "1422", - "s" : [ { - "r" : "1420", - "value" : [ "Interval[","0",", ","null",")" ] - } ] - }, { - "r" : "1431", - "value" : [ " ","meets before"," " ] - }, { - "r" : "1428", - "s" : [ { - "r" : "1426", - "value" : [ "Interval[","50",", ","100","]" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "1431", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "MeetsBefore", - "signature" : [ { - "localId" : "1432", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1433", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "1434", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1435", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "1422", - "lowClosed" : true, - "highClosed" : false, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "1424", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1425", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "1420", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "high" : { - "localId" : "1423", - "asType" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "As", - "signature" : [ ], - "operand" : { - "localId" : "1421", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - } - } - }, { - "localId" : "1428", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "1429", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1430", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "1426", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "50", - "type" : "Literal" - }, - "high" : { - "localId" : "1427", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "100", - "type" : "Literal" - } - } ] - } - }, { - "localId" : "1438", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "UnknownEndNotMeetsIntIvl", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "1438", - "s" : [ { - "value" : [ "","define ","UnknownEndNotMeetsIntIvl",": " ] - }, { - "r" : "1450", - "s" : [ { - "r" : "1441", - "s" : [ { - "r" : "1439", - "value" : [ "Interval[","0",", ","null",")" ] - } ] - }, { - "r" : "1450", - "value" : [ " ","meets before"," " ] - }, { - "r" : "1447", - "s" : [ { - "r" : "1445", - "value" : [ "Interval[","0",", ","100","]" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "1450", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "MeetsBefore", - "signature" : [ { - "localId" : "1451", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1452", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "1453", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1454", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "1441", - "lowClosed" : true, - "highClosed" : false, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "1443", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1444", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "1439", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "high" : { - "localId" : "1442", - "asType" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "As", - "signature" : [ ], - "operand" : { - "localId" : "1440", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - } - } - }, { - "localId" : "1447", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "1448", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1449", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "1445", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "high" : { - "localId" : "1446", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "100", - "type" : "Literal" - } - } ] - } - }, { - "localId" : "1457", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "IntIvlMayMeetAfterUnknownEnd", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "1457", - "s" : [ { - "value" : [ "","define ","IntIvlMayMeetAfterUnknownEnd",": " ] - }, { - "r" : "1471", - "s" : [ { - "r" : "1460", - "s" : [ { - "r" : "1458", - "value" : [ "Interval[","0",", ","100","]" ] - } ] - }, { - "r" : "1471", - "value" : [ " ","meets before"," " ] - }, { - "r" : "1467", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "1463", - "s" : [ { - "r" : "1464", - "value" : [ "-","100" ] - } ] - }, { - "r" : "1466", - "value" : [ ", ","null",")" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "1471", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "MeetsBefore", - "signature" : [ { - "localId" : "1472", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1473", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "1474", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1475", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "1460", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "1461", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1462", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "1458", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "high" : { - "localId" : "1459", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "100", - "type" : "Literal" - } - }, { - "localId" : "1467", - "lowClosed" : true, - "highClosed" : false, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "1469", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1470", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "1463", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "Negate", - "signature" : [ { - "localId" : "1465", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "1464", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "100", - "type" : "Literal" - } - }, - "high" : { - "localId" : "1468", - "asType" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "As", - "signature" : [ ], - "operand" : { - "localId" : "1466", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - } - } - } ] - } - }, { - "localId" : "1478", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "NegInfBegMeetsBeforeDateIvl", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "1478", + "r" : "838", + "value" : [ "DateTime", "(", "2012", ", ", "6", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ "]" ] + } ] + }, { + "r" : "868", + "value" : [ " ", "included in day of", " " ] + }, { + "r" : "865", + "s" : [ { + "value" : [ "PrecisionDateIvl" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "IncludedIn", + "localId" : "868", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "precision" : "Day", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "869", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "870", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "871", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "872", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "Interval", + "localId" : "862", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "863", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "864", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "DateTime", + "localId" : "830", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "831", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "832", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "833", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "834", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "835", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "836", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "837", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "814", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "815", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "816", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "817", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "818", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "819", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "820", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "854", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "855", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "856", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "857", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "858", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "859", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "860", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "861", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "838", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "839", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "6", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "840", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "841", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "842", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "843", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "844", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + } + }, { + "type" : "ExpressionRef", + "localId" : "865", + "name" : "PrecisionDateIvl", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "866", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "867", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + } ] + } + }, { + "localId" : "882", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "NotIncludesDayOfIvlHighEdge", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "882", + "s" : [ { + "value" : [ "", "define ", "NotIncludesDayOfIvlHighEdge", ": " ] + }, { + "r" : "937", + "s" : [ { + "r" : "931", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "899", + "s" : [ { + "r" : "883", + "value" : [ "DateTime", "(", "2012", ", ", "6", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "923", + "s" : [ { + "r" : "907", + "value" : [ "DateTime", "(", "2012", ", ", "9", ", ", "3", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ "]" ] + } ] + }, { + "r" : "937", + "value" : [ " ", "included in day of", " " ] + }, { + "r" : "934", + "s" : [ { + "value" : [ "PrecisionDateIvl" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "IncludedIn", + "localId" : "937", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "precision" : "Day", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "938", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "939", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "940", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "941", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "Interval", + "localId" : "931", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "932", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "933", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "DateTime", + "localId" : "899", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "900", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "901", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "902", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "903", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "904", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "905", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "906", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "883", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "884", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "6", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "885", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "886", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "887", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "888", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "889", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "923", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "924", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "925", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "926", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "927", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "928", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "929", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "930", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "907", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "908", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "9", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "909", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "910", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "911", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "912", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "913", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + } + }, { + "type" : "ExpressionRef", + "localId" : "934", + "name" : "PrecisionDateIvl", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "935", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "936", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + } ] + } + }, { + "localId" : "951", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "IncludesDayOfIvlImpreciseLowEdge", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "951", + "s" : [ { + "value" : [ "", "define ", "IncludesDayOfIvlImpreciseLowEdge", ": " ] + }, { + "r" : "982", + "s" : [ { + "r" : "976", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "960", + "s" : [ { + "r" : "952", + "value" : [ "DateTime", "(", "2012", ", ", "3", ", ", "2", ")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "972", + "s" : [ { + "r" : "964", + "value" : [ "DateTime", "(", "2012", ", ", "6", ", ", "1", ")" ] + } ] + }, { + "value" : [ "]" ] + } ] + }, { + "r" : "982", + "value" : [ " ", "included in day of", " " ] + }, { + "r" : "979", + "s" : [ { + "value" : [ "PrecisionDateIvl" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "IncludedIn", + "localId" : "982", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "precision" : "Day", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "983", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "984", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "985", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "986", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "Interval", + "localId" : "976", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "977", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "978", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "DateTime", + "localId" : "960", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "961", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "962", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "963", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "952", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "953", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "954", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "972", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "973", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "974", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "975", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "964", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "965", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "6", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "966", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + } + } + }, { + "type" : "ExpressionRef", + "localId" : "979", + "name" : "PrecisionDateIvl", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "980", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "981", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + } ] + } + }, { + "localId" : "996", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "IncludesDayInInterval", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "996", + "s" : [ { + "value" : [ "", "define ", "IncludesDayInInterval", ": " ] + }, { + "r" : "1013", + "s" : [ { + "r" : "1005", + "s" : [ { + "r" : "997", + "value" : [ "DateTime", "(", "2012", ", ", "3", ", ", "3", ")" ] + } ] + }, { + "r" : "1013", + "value" : [ " ", "included in day of", " " ] + }, { + "r" : "1009", + "s" : [ { + "value" : [ "PrecisionDateIvl" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "In", + "localId" : "1013", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "precision" : "Day", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1014", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "1015", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1016", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "DateTime", + "localId" : "1005", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1006", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1007", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1008", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "997", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "998", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "999", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + } + }, { + "type" : "ExpressionRef", + "localId" : "1009", + "name" : "PrecisionDateIvl", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1010", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1011", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + } ] + } + }, { + "localId" : "1019", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "DoesNotIncludeDayInInterval", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "1019", + "s" : [ { + "value" : [ "", "define ", "DoesNotIncludeDayInInterval", ": " ] + }, { + "r" : "1036", + "s" : [ { + "r" : "1028", + "s" : [ { + "r" : "1020", + "value" : [ "DateTime", "(", "2014", ", ", "3", ", ", "3", ")" ] + } ] + }, { + "r" : "1036", + "value" : [ " ", "included in day of", " " ] + }, { + "r" : "1032", + "s" : [ { + "value" : [ "PrecisionDateIvl" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "In", + "localId" : "1036", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "precision" : "Day", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1037", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "1038", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1039", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "DateTime", + "localId" : "1028", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1029", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1030", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1031", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1020", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2014", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1021", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "1022", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + } + }, { + "type" : "ExpressionRef", + "localId" : "1032", + "name" : "PrecisionDateIvl", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1033", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1034", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + } ] + } + }, { + "localId" : "1042", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "QuantityIncludedInterval", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "1042", + "s" : [ { + "value" : [ "", "define ", "QuantityIncludedInterval", ": " ] + }, { + "r" : "1050", + "s" : [ { + "r" : "1043", + "s" : [ { + "value" : [ "5 ", "'mg'" ] + } ] + }, { + "r" : "1050", + "value" : [ " ", "included in", " " ] + }, { + "r" : "1046", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "1044", + "s" : [ { + "value" : [ "4 ", "'mg'" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "1045", + "s" : [ { + "value" : [ "6 ", "'mg'" ] + } ] + }, { + "value" : [ "]" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "In", + "localId" : "1050", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1051", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "1052", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1053", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "Quantity", + "localId" : "1043", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "value" : 5, + "unit" : "mg", + "annotation" : [ ] + }, { + "type" : "Interval", + "localId" : "1046", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1047", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1048", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } + }, + "low" : { + "type" : "Quantity", + "localId" : "1044", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "value" : 4, + "unit" : "mg", + "annotation" : [ ] + }, + "high" : { + "type" : "Quantity", + "localId" : "1045", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "value" : 6, + "unit" : "mg", + "annotation" : [ ] + } + } ] + } + }, { + "localId" : "1056", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "QuantityNotIncludedInterval", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "1056", + "s" : [ { + "value" : [ "", "define ", "QuantityNotIncludedInterval", ": " ] + }, { + "r" : "1064", + "s" : [ { + "r" : "1057", + "s" : [ { + "value" : [ "50 ", "'mg'" ] + } ] + }, { + "r" : "1064", + "value" : [ " ", "included in", " " ] + }, { + "r" : "1060", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "1058", + "s" : [ { + "value" : [ "4 ", "'mg'" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "1059", + "s" : [ { + "value" : [ "6 ", "'mg'" ] + } ] + }, { + "value" : [ "]" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "In", + "localId" : "1064", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1065", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "1066", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1067", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "Quantity", + "localId" : "1057", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "value" : 50, + "unit" : "mg", + "annotation" : [ ] + }, { + "type" : "Interval", + "localId" : "1060", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1061", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1062", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } + }, + "low" : { + "type" : "Quantity", + "localId" : "1058", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "value" : 4, + "unit" : "mg", + "annotation" : [ ] + }, + "high" : { + "type" : "Quantity", + "localId" : "1059", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "value" : 6, + "unit" : "mg", + "annotation" : [ ] + } + } ] + } + }, { + "localId" : "1070", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "IncludesDayOfIvlImpreciseHighEdge", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "1070", + "s" : [ { + "value" : [ "", "define ", "IncludesDayOfIvlImpreciseHighEdge", ": " ] + }, { + "r" : "1101", + "s" : [ { + "r" : "1095", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "1079", + "s" : [ { + "r" : "1071", + "value" : [ "DateTime", "(", "2012", ", ", "6", ", ", "1", ")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "1091", + "s" : [ { + "r" : "1083", + "value" : [ "DateTime", "(", "2012", ", ", "9", ", ", "2", ")" ] + } ] + }, { + "value" : [ "]" ] + } ] + }, { + "r" : "1101", + "value" : [ " ", "included in day of", " " ] + }, { + "r" : "1098", + "s" : [ { + "value" : [ "PrecisionDateIvl" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "IncludedIn", + "localId" : "1101", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "precision" : "Day", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "1102", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1103", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "1104", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1105", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "Interval", + "localId" : "1095", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1096", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1097", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "DateTime", + "localId" : "1079", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1080", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1081", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1082", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1071", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1072", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "6", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "1073", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "1091", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1092", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1093", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1094", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1083", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1084", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "9", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "1085", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "annotation" : [ ] + } + } + }, { + "type" : "ExpressionRef", + "localId" : "1098", + "name" : "PrecisionDateIvl", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1099", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1100", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + } ] + } + }, { + "localId" : "1115", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "IncludesDayOfIvlVeryImpreciseMiddle", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "1115", + "s" : [ { + "value" : [ "", "define ", "IncludesDayOfIvlVeryImpreciseMiddle", ": " ] + }, { + "r" : "1140", + "s" : [ { + "r" : "1134", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "1122", + "s" : [ { + "r" : "1116", + "value" : [ "DateTime", "(", "2012", ", ", "5", ")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "1131", + "s" : [ { + "r" : "1125", + "value" : [ "DateTime", "(", "2012", ", ", "6", ")" ] + } ] + }, { + "value" : [ "]" ] + } ] + }, { + "r" : "1140", + "value" : [ " ", "included in day of", " " ] + }, { + "r" : "1137", + "s" : [ { + "value" : [ "PrecisionDateIvl" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "IncludedIn", + "localId" : "1140", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "precision" : "Day", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "1141", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1142", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "1143", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1144", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "Interval", + "localId" : "1134", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1135", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1136", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "DateTime", + "localId" : "1122", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1123", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1124", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1116", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1117", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "5", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "1131", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1132", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1133", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1125", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1126", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "6", + "annotation" : [ ] + } + } + }, { + "type" : "ExpressionRef", + "localId" : "1137", + "name" : "PrecisionDateIvl", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1138", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1139", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + } ] + } + }, { + "localId" : "1154", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "NotIncludesDayOfIvlVeryImpreciseLow", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "1154", + "s" : [ { + "value" : [ "", "define ", "NotIncludesDayOfIvlVeryImpreciseLow", ": " ] + }, { + "r" : "1179", + "s" : [ { + "r" : "1173", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "1161", + "s" : [ { + "r" : "1155", + "value" : [ "DateTime", "(", "2012", ", ", "2", ")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "1170", + "s" : [ { + "r" : "1164", + "value" : [ "DateTime", "(", "2012", ", ", "6", ")" ] + } ] + }, { + "value" : [ "]" ] + } ] + }, { + "r" : "1179", + "value" : [ " ", "included in day of", " " ] + }, { + "r" : "1176", + "s" : [ { + "value" : [ "PrecisionDateIvl" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "IncludedIn", + "localId" : "1179", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "precision" : "Day", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "1180", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1181", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "1182", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1183", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "Interval", + "localId" : "1173", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1174", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1175", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "DateTime", + "localId" : "1161", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1162", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1163", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1155", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1156", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "1170", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1171", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1172", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1164", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1165", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "6", + "annotation" : [ ] + } + } + }, { + "type" : "ExpressionRef", + "localId" : "1176", + "name" : "PrecisionDateIvl", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1177", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1178", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + } ] + } + }, { + "localId" : "1193", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "NotIncludesDayOfIvlVeryImpreciseHigh", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "1193", + "s" : [ { + "value" : [ "", "define ", "NotIncludesDayOfIvlVeryImpreciseHigh", ": " ] + }, { + "r" : "1218", + "s" : [ { + "r" : "1212", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "1200", + "s" : [ { + "r" : "1194", + "value" : [ "DateTime", "(", "2012", ", ", "6", ")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "1209", + "s" : [ { + "r" : "1203", + "value" : [ "DateTime", "(", "2012", ", ", "10", ")" ] + } ] + }, { + "value" : [ "]" ] + } ] + }, { + "r" : "1218", + "value" : [ " ", "included in day of", " " ] + }, { + "r" : "1215", + "s" : [ { + "value" : [ "PrecisionDateIvl" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "IncludedIn", + "localId" : "1218", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "precision" : "Day", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "1219", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1220", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "1221", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1222", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "Interval", + "localId" : "1212", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1213", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1214", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "DateTime", + "localId" : "1200", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1201", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1202", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1194", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1195", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "6", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "1209", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1210", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1211", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1203", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1204", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "10", + "annotation" : [ ] + } + } + }, { + "type" : "ExpressionRef", + "localId" : "1215", + "name" : "PrecisionDateIvl", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1216", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1217", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + } ] + } + }, { + "localId" : "1232", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "MayIncludeDayOfIvlVeryImpreciseLow", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "1232", + "s" : [ { + "value" : [ "", "define ", "MayIncludeDayOfIvlVeryImpreciseLow", ": " ] + }, { + "r" : "1257", + "s" : [ { + "r" : "1251", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "1239", + "s" : [ { + "r" : "1233", + "value" : [ "DateTime", "(", "2012", ", ", "3", ")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "1248", + "s" : [ { + "r" : "1242", + "value" : [ "DateTime", "(", "2012", ", ", "6", ")" ] + } ] + }, { + "value" : [ "]" ] + } ] + }, { + "r" : "1257", + "value" : [ " ", "included in day of", " " ] + }, { + "r" : "1254", + "s" : [ { + "value" : [ "PrecisionDateIvl" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "IncludedIn", + "localId" : "1257", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "precision" : "Day", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "1258", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1259", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "1260", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1261", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "Interval", + "localId" : "1251", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1252", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1253", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "DateTime", + "localId" : "1239", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1240", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1241", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1233", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1234", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "1248", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1249", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1250", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1242", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1243", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "6", + "annotation" : [ ] + } + } + }, { + "type" : "ExpressionRef", + "localId" : "1254", + "name" : "PrecisionDateIvl", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1255", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1256", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + } ] + } + }, { + "localId" : "1271", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "MayIncludeDayOfIvlVeryImpreciseHigh", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "1271", + "s" : [ { + "value" : [ "", "define ", "MayIncludeDayOfIvlVeryImpreciseHigh", ": " ] + }, { + "r" : "1296", + "s" : [ { + "r" : "1290", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "1278", + "s" : [ { + "r" : "1272", + "value" : [ "DateTime", "(", "2012", ", ", "6", ")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "1287", + "s" : [ { + "r" : "1281", + "value" : [ "DateTime", "(", "2012", ", ", "9", ")" ] + } ] + }, { + "value" : [ "]" ] + } ] + }, { + "r" : "1296", + "value" : [ " ", "included in day of", " " ] + }, { + "r" : "1293", + "s" : [ { + "value" : [ "PrecisionDateIvl" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "IncludedIn", + "localId" : "1296", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "precision" : "Day", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "1297", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1298", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "1299", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1300", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "Interval", + "localId" : "1290", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1291", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1292", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "DateTime", + "localId" : "1278", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1279", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1280", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1272", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1273", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "6", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "1287", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1288", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1289", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1281", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1282", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "9", + "annotation" : [ ] + } + } + }, { + "type" : "ExpressionRef", + "localId" : "1293", + "name" : "PrecisionDateIvl", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1294", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1295", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + } ] + } + }, { + "localId" : "1310", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "MayIncludeDayOfIvlVeryImpreciseSurrounding", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "1310", + "s" : [ { + "value" : [ "", "define ", "MayIncludeDayOfIvlVeryImpreciseSurrounding", ": " ] + }, { + "r" : "1329", + "s" : [ { + "r" : "1323", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "1315", "s" : [ { - "value" : [ "","define ","NegInfBegMeetsBeforeDateIvl",": " ] - }, { - "r" : "1559", - "s" : [ { - "r" : "1504", - "s" : [ { - "r" : "1479", - "value" : [ "Interval[","null",", " ] - }, { - "r" : "1496", - "s" : [ { - "r" : "1480", - "value" : [ "DateTime","(","2013",", ","1",", ","1",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ ")" ] - } ] - }, { - "r" : "1559", - "value" : [ " ","meets before"," " ] - }, { - "r" : "1556", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "1524", - "s" : [ { - "r" : "1508", - "value" : [ "DateTime","(","2013",", ","1",", ","1",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "1548", - "s" : [ { - "r" : "1532", - "value" : [ "DateTime","(","2030",", ","1",", ","1",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ "]" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "1559", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "MeetsBefore", - "signature" : [ { - "localId" : "1560", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1561", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "1562", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1563", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "1504", - "lowClosed" : true, - "highClosed" : false, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "1506", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1507", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "1505", - "asType" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "As", - "signature" : [ ], - "operand" : { - "localId" : "1479", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - } - }, - "high" : { - "localId" : "1496", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "1497", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1498", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1499", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1500", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1501", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1502", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1503", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1480", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2013", - "type" : "Literal" - }, - "month" : { - "localId" : "1481", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "1482", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "1483", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "1484", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "1485", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "1486", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - } - }, { - "localId" : "1556", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "1557", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1558", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "1524", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "1525", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1526", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1527", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1528", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1529", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1530", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1531", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1508", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2013", - "type" : "Literal" - }, - "month" : { - "localId" : "1509", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "1510", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "1511", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "1512", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "1513", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "1514", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - }, - "high" : { - "localId" : "1548", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "1549", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1550", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1551", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1552", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1553", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1554", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1555", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1532", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2030", - "type" : "Literal" - }, - "month" : { - "localId" : "1533", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "1534", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "1535", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "1536", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "1537", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "1538", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - } - } ] - } - }, { - "localId" : "1566", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "NegInfBegNotMeetsDateIvl", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "1566", + "r" : "1311", + "value" : [ "DateTime", "(", "2012", ")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "1321", + "s" : [ { + "r" : "1317", + "value" : [ "DateTime", "(", "2012", ")" ] + } ] + }, { + "value" : [ "]" ] + } ] + }, { + "r" : "1329", + "value" : [ " ", "included in day of", " " ] + }, { + "r" : "1326", + "s" : [ { + "value" : [ "PrecisionDateIvl" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "IncludedIn", + "localId" : "1329", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "precision" : "Day", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "1330", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1331", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "1332", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1333", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "Interval", + "localId" : "1323", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1324", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1325", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "DateTime", + "localId" : "1315", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1316", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1311", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "1321", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1322", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1317", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + } + } + }, { + "type" : "ExpressionRef", + "localId" : "1326", + "name" : "PrecisionDateIvl", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1327", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1328", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + } ] + } + }, { + "localId" : "1343", + "name" : "ImpDateIvl", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "1343", + "s" : [ { + "value" : [ "", "define ", "ImpDateIvl", ": " ] + }, { + "r" : "1362", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "1350", + "s" : [ { + "r" : "1344", + "value" : [ "DateTime", "(", "2012", ", ", "3", ")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "1359", + "s" : [ { + "r" : "1353", + "value" : [ "DateTime", "(", "2012", ", ", "8", ")" ] + } ] + }, { + "value" : [ "]" ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1365", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1366", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "expression" : { + "type" : "Interval", + "localId" : "1362", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1363", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1364", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "DateTime", + "localId" : "1350", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1351", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1352", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1344", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1345", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "1359", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1360", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1361", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1353", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1354", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "8", + "annotation" : [ ] + } + } + } + }, { + "localId" : "1369", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "ImpreciseIncludesDateIvl", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "1369", + "s" : [ { + "value" : [ "", "define ", "ImpreciseIncludesDateIvl", ": " ] + }, { + "r" : "1424", + "s" : [ { + "r" : "1418", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "1386", + "s" : [ { + "r" : "1370", + "value" : [ "DateTime", "(", "2012", ", ", "4", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "1410", "s" : [ { - "value" : [ "","define ","NegInfBegNotMeetsDateIvl",": " ] - }, { - "r" : "1647", - "s" : [ { - "r" : "1592", - "s" : [ { - "r" : "1567", - "value" : [ "Interval[","null",", " ] - }, { - "r" : "1584", - "s" : [ { - "r" : "1568", - "value" : [ "DateTime","(","2013",", ","1",", ","1",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ ")" ] - } ] - }, { - "r" : "1647", - "value" : [ " ","meets before"," " ] - }, { - "r" : "1644", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "1612", - "s" : [ { - "r" : "1596", - "value" : [ "DateTime","(","2000",", ","1",", ","1",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "1636", - "s" : [ { - "r" : "1620", - "value" : [ "DateTime","(","2010",", ","1",", ","1",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ "]" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "1647", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "MeetsBefore", - "signature" : [ { - "localId" : "1648", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1649", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "1650", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1651", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "1592", - "lowClosed" : true, - "highClosed" : false, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "1594", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1595", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "1593", - "asType" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "As", - "signature" : [ ], - "operand" : { - "localId" : "1567", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - } - }, - "high" : { - "localId" : "1584", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "1585", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1586", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1587", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1588", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1589", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1590", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1591", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1568", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2013", - "type" : "Literal" - }, - "month" : { - "localId" : "1569", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "1570", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "1571", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "1572", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "1573", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "1574", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - } - }, { - "localId" : "1644", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "1645", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1646", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "1612", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "1613", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1614", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1615", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1616", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1617", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1618", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1619", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1596", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "1597", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "1598", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "1599", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "1600", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "1601", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "1602", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - }, - "high" : { - "localId" : "1636", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "1637", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1638", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1639", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1640", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1641", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1642", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1643", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1620", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2010", - "type" : "Literal" - }, - "month" : { - "localId" : "1621", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "1622", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "1623", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "1624", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "1625", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "1626", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - } - } ] - } - }, { - "localId" : "1654", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "DateIvlNotMeetsNegInfBeg", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "1654", + "r" : "1394", + "value" : [ "DateTime", "(", "2012", ", ", "6", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ ")" ] + } ] + }, { + "r" : "1424", + "value" : [ " ", "included in", " " ] + }, { + "r" : "1421", + "s" : [ { + "value" : [ "ImpDateIvl" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "IncludedIn", + "localId" : "1424", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "1425", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1426", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "1427", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1428", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "Interval", + "localId" : "1418", + "lowClosed" : true, + "highClosed" : false, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1419", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1420", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "DateTime", + "localId" : "1386", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1387", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1388", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1389", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1390", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1391", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1392", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1393", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1370", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1371", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "4", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "1372", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "1373", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "1374", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "1375", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "1376", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "1410", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1411", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1412", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1413", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1414", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1415", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1416", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1417", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1394", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1395", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "6", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "1396", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "1397", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "1398", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "1399", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "1400", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + } + }, { + "type" : "ExpressionRef", + "localId" : "1421", + "name" : "ImpDateIvl", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1422", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1423", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + } ] + } + }, { + "localId" : "1438", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "ImpreciseNotIncludesDateIvl", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "1438", + "s" : [ { + "value" : [ "", "define ", "ImpreciseNotIncludesDateIvl", ": " ] + }, { + "r" : "1493", + "s" : [ { + "r" : "1487", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "1455", + "s" : [ { + "r" : "1439", + "value" : [ "DateTime", "(", "2012", ", ", "2", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "1479", + "s" : [ { + "r" : "1463", + "value" : [ "DateTime", "(", "2012", ", ", "6", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ ")" ] + } ] + }, { + "r" : "1493", + "value" : [ " ", "included in", " " ] + }, { + "r" : "1490", + "s" : [ { + "value" : [ "ImpDateIvl" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "IncludedIn", + "localId" : "1493", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "1494", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1495", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "1496", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1497", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "Interval", + "localId" : "1487", + "lowClosed" : true, + "highClosed" : false, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1488", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1489", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "DateTime", + "localId" : "1455", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1456", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1457", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1458", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1459", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1460", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1461", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1462", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1439", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1440", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "1441", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "1442", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "1443", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "1444", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "1445", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "1479", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1480", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1481", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1482", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1483", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1484", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1485", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1486", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1463", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1464", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "6", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "1465", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "1466", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "1467", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "1468", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "1469", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + } + }, { + "type" : "ExpressionRef", + "localId" : "1490", + "name" : "ImpDateIvl", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1491", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1492", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + } ] + } + }, { + "localId" : "1507", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "ImpreciseMayIncludeDateIvl", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "1507", + "s" : [ { + "value" : [ "", "define ", "ImpreciseMayIncludeDateIvl", ": " ] + }, { + "r" : "1562", + "s" : [ { + "r" : "1556", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "1524", "s" : [ { - "value" : [ "","define ","DateIvlNotMeetsNegInfBeg",": " ] - }, { - "r" : "1735", - "s" : [ { - "r" : "1703", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "1671", - "s" : [ { - "r" : "1655", - "value" : [ "DateTime","(","2000",", ","1",", ","1",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "1695", - "s" : [ { - "r" : "1679", - "value" : [ "DateTime","(","2010",", ","1",", ","1",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ "]" ] - } ] - }, { - "r" : "1735", - "value" : [ " ","meets before"," " ] - }, { - "r" : "1731", - "s" : [ { - "r" : "1706", - "value" : [ "Interval[","null",", " ] - }, { - "r" : "1723", - "s" : [ { - "r" : "1707", - "value" : [ "DateTime","(","2013",", ","1",", ","1",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ ")" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "1735", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "MeetsBefore", - "signature" : [ { - "localId" : "1736", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1737", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "1738", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1739", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "1703", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "1704", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1705", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "1671", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "1672", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1673", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1674", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1675", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1676", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1677", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1678", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1655", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "1656", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "1657", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "1658", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "1659", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "1660", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "1661", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - }, - "high" : { - "localId" : "1695", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "1696", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1697", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1698", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1699", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1700", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1701", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1702", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1679", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2010", - "type" : "Literal" - }, - "month" : { - "localId" : "1680", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "1681", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "1682", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "1683", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "1684", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "1685", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - } - }, { - "localId" : "1731", - "lowClosed" : true, - "highClosed" : false, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "1733", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1734", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "1732", - "asType" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "As", - "signature" : [ ], - "operand" : { - "localId" : "1706", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - } - }, - "high" : { - "localId" : "1723", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "1724", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1725", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1726", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1727", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1728", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1729", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1730", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1707", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2013", - "type" : "Literal" - }, - "month" : { - "localId" : "1708", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "1709", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "1710", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "1711", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "1712", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "1713", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - } - } ] - } - }, { - "localId" : "1742", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "UnknownBegMeetsBeforeDateIvl", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "1742", + "r" : "1508", + "value" : [ "DateTime", "(", "2012", ", ", "3", ", ", "15", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "1548", "s" : [ { - "value" : [ "","define ","UnknownBegMeetsBeforeDateIvl",": " ] - }, { - "r" : "1823", - "s" : [ { - "r" : "1768", - "s" : [ { - "r" : "1743", - "value" : [ "Interval(","null",", " ] - }, { - "r" : "1760", - "s" : [ { - "r" : "1744", - "value" : [ "DateTime","(","2013",", ","1",", ","1",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ ")" ] - } ] - }, { - "r" : "1823", - "value" : [ " ","meets before"," " ] - }, { - "r" : "1820", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "1788", - "s" : [ { - "r" : "1772", - "value" : [ "DateTime","(","2013",", ","1",", ","1",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "1812", - "s" : [ { - "r" : "1796", - "value" : [ "DateTime","(","2030",", ","1",", ","1",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ "]" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "1823", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "MeetsBefore", - "signature" : [ { - "localId" : "1824", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1825", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "1826", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1827", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "1768", - "lowClosed" : false, - "highClosed" : false, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "1770", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1771", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "1769", - "asType" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "As", - "signature" : [ ], - "operand" : { - "localId" : "1743", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - } - }, - "high" : { - "localId" : "1760", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "1761", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1762", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1763", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1764", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1765", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1766", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1767", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1744", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2013", - "type" : "Literal" - }, - "month" : { - "localId" : "1745", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "1746", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "1747", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "1748", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "1749", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "1750", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - } - }, { - "localId" : "1820", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "1821", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1822", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "1788", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "1789", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1790", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1791", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1792", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1793", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1794", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1795", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1772", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2013", - "type" : "Literal" - }, - "month" : { - "localId" : "1773", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "1774", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "1775", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "1776", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "1777", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "1778", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - }, - "high" : { - "localId" : "1812", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "1813", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1814", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1815", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1816", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1817", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1818", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1819", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1796", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2030", - "type" : "Literal" - }, - "month" : { - "localId" : "1797", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "1798", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "1799", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "1800", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "1801", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "1802", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - } - } ] - } - }, { - "localId" : "1830", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "UnknownBegMayMeetAfterDateIvl", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "1830", + "r" : "1532", + "value" : [ "DateTime", "(", "2012", ", ", "6", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ ")" ] + } ] + }, { + "r" : "1562", + "value" : [ " ", "included in", " " ] + }, { + "r" : "1559", + "s" : [ { + "value" : [ "ImpDateIvl" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "IncludedIn", + "localId" : "1562", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "1563", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1564", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "1565", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1566", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "Interval", + "localId" : "1556", + "lowClosed" : true, + "highClosed" : false, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1557", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1558", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "DateTime", + "localId" : "1524", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1525", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1526", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1527", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1528", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1529", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1530", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1531", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1508", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1509", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "1510", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "15", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "1511", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "1512", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "1513", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "1514", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "1548", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1549", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1550", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1551", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1552", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1553", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1554", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1555", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1532", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1533", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "6", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "1534", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "1535", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "1536", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "1537", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "1538", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + } + }, { + "type" : "ExpressionRef", + "localId" : "1559", + "name" : "ImpDateIvl", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1560", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1561", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + } ] + } + }, { + "localId" : "1576", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "NegInfBegIncludedInIntIvl", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "1576", + "s" : [ { + "value" : [ "", "define ", "NegInfBegIncludedInIntIvl", ": " ] + }, { + "r" : "1589", + "s" : [ { + "r" : "1579", + "s" : [ { + "r" : "1577", + "value" : [ "Interval[", "null", ", ", "5", "]" ] + } ] + }, { + "r" : "1589", + "value" : [ " ", "included in", " " ] + }, { + "r" : "1585", + "s" : [ { + "r" : "1583", + "value" : [ "Interval[", "null", ", ", "100", "]" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "IncludedIn", + "localId" : "1589", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "1590", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1591", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "1592", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1593", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "Interval", + "localId" : "1579", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1581", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1582", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "low" : { + "type" : "As", + "localId" : "1580", + "asType" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Null", + "localId" : "1577", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } + }, + "high" : { + "type" : "Literal", + "localId" : "1578", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "5", + "annotation" : [ ] + } + }, { + "type" : "Interval", + "localId" : "1585", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1587", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1588", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "low" : { + "type" : "As", + "localId" : "1586", + "asType" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Null", + "localId" : "1583", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } + }, + "high" : { + "type" : "Literal", + "localId" : "1584", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "100", + "annotation" : [ ] + } + } ] + } + }, { + "localId" : "1603", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "NegInfBegNotIncludedInIntIvl", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "1603", + "s" : [ { + "value" : [ "", "define ", "NegInfBegNotIncludedInIntIvl", ": " ] + }, { + "r" : "1617", + "s" : [ { + "r" : "1606", + "s" : [ { + "r" : "1604", + "value" : [ "Interval[", "null", ", ", "5", "]" ] + } ] + }, { + "r" : "1617", + "value" : [ " ", "included in", " " ] + }, { + "r" : "1614", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "1610", + "s" : [ { + "r" : "1611", + "value" : [ "-", "100" ] + } ] + }, { + "r" : "1613", + "value" : [ ", ", "100", "]" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "IncludedIn", + "localId" : "1617", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "1618", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1619", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "1620", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1621", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "Interval", + "localId" : "1606", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1608", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1609", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "low" : { + "type" : "As", + "localId" : "1607", + "asType" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Null", + "localId" : "1604", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } + }, + "high" : { + "type" : "Literal", + "localId" : "1605", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "5", + "annotation" : [ ] + } + }, { + "type" : "Interval", + "localId" : "1614", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1615", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1616", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "low" : { + "type" : "Negate", + "localId" : "1610", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1612", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "operand" : { + "type" : "Literal", + "localId" : "1611", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "100", + "annotation" : [ ] + } + }, + "high" : { + "type" : "Literal", + "localId" : "1613", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "100", + "annotation" : [ ] + } + } ] + } + }, { + "localId" : "1631", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "UnknownBegIncludedInIntIvl", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "1631", + "s" : [ { + "value" : [ "", "define ", "UnknownBegIncludedInIntIvl", ": " ] + }, { + "r" : "1644", + "s" : [ { + "r" : "1634", + "s" : [ { + "r" : "1632", + "value" : [ "Interval(", "null", ", ", "5", "]" ] + } ] + }, { + "r" : "1644", + "value" : [ " ", "included in", " " ] + }, { + "r" : "1640", + "s" : [ { + "r" : "1638", + "value" : [ "Interval[", "null", ", ", "100", "]" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "IncludedIn", + "localId" : "1644", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "1645", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1646", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "1647", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1648", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "Interval", + "localId" : "1634", + "lowClosed" : false, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1636", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1637", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "low" : { + "type" : "As", + "localId" : "1635", + "asType" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Null", + "localId" : "1632", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } + }, + "high" : { + "type" : "Literal", + "localId" : "1633", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "5", + "annotation" : [ ] + } + }, { + "type" : "Interval", + "localId" : "1640", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1642", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1643", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "low" : { + "type" : "As", + "localId" : "1641", + "asType" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Null", + "localId" : "1638", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } + }, + "high" : { + "type" : "Literal", + "localId" : "1639", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "100", + "annotation" : [ ] + } + } ] + } + }, { + "localId" : "1658", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "UnknownBegMayBeIncludedInIntIvl", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "1658", + "s" : [ { + "value" : [ "", "define ", "UnknownBegMayBeIncludedInIntIvl", ": " ] + }, { + "r" : "1672", + "s" : [ { + "r" : "1661", + "s" : [ { + "r" : "1659", + "value" : [ "Interval(", "null", ", ", "5", "]" ] + } ] + }, { + "r" : "1672", + "value" : [ " ", "included in", " " ] + }, { + "r" : "1669", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "1665", + "s" : [ { + "r" : "1666", + "value" : [ "-", "100" ] + } ] + }, { + "r" : "1668", + "value" : [ ", ", "100", "]" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "IncludedIn", + "localId" : "1672", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "1673", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1674", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "1675", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1676", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "Interval", + "localId" : "1661", + "lowClosed" : false, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1663", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1664", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "low" : { + "type" : "As", + "localId" : "1662", + "asType" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Null", + "localId" : "1659", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } + }, + "high" : { + "type" : "Literal", + "localId" : "1660", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "5", + "annotation" : [ ] + } + }, { + "type" : "Interval", + "localId" : "1669", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1670", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1671", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "low" : { + "type" : "Negate", + "localId" : "1665", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1667", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "operand" : { + "type" : "Literal", + "localId" : "1666", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "100", + "annotation" : [ ] + } + }, + "high" : { + "type" : "Literal", + "localId" : "1668", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "100", + "annotation" : [ ] + } + } ] + } + }, { + "localId" : "1686", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "UnknownBegNotIncludedInIntIvl", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "1686", + "s" : [ { + "value" : [ "", "define ", "UnknownBegNotIncludedInIntIvl", ": " ] + }, { + "r" : "1700", + "s" : [ { + "r" : "1689", + "s" : [ { + "r" : "1687", + "value" : [ "Interval(", "null", ", ", "5", "]" ] + } ] + }, { + "r" : "1700", + "value" : [ " ", "included in", " " ] + }, { + "r" : "1697", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "1693", + "s" : [ { + "r" : "1694", + "value" : [ "-", "100" ] + } ] + }, { + "r" : "1696", + "value" : [ ", ", "0", "]" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "IncludedIn", + "localId" : "1700", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "1701", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1702", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "1703", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1704", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "Interval", + "localId" : "1689", + "lowClosed" : false, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1691", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1692", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "low" : { + "type" : "As", + "localId" : "1690", + "asType" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Null", + "localId" : "1687", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } + }, + "high" : { + "type" : "Literal", + "localId" : "1688", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "5", + "annotation" : [ ] + } + }, { + "type" : "Interval", + "localId" : "1697", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1698", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1699", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "low" : { + "type" : "Negate", + "localId" : "1693", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1695", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "operand" : { + "type" : "Literal", + "localId" : "1694", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "100", + "annotation" : [ ] + } + }, + "high" : { + "type" : "Literal", + "localId" : "1696", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + } ] + } + }, { + "localId" : "1714", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "PosInfEndIncludedInIntIvl", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "1714", + "s" : [ { + "value" : [ "", "define ", "PosInfEndIncludedInIntIvl", ": " ] + }, { + "r" : "1729", + "s" : [ { + "r" : "1717", + "s" : [ { + "r" : "1715", + "value" : [ "Interval[", "0", ", ", "null", "]" ] + } ] + }, { + "r" : "1729", + "value" : [ " ", "included in", " " ] + }, { + "r" : "1725", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "1721", + "s" : [ { + "r" : "1722", + "value" : [ "-", "100" ] + } ] + }, { + "r" : "1724", + "value" : [ ", ", "null", "]" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "IncludedIn", + "localId" : "1729", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "1730", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1731", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "1732", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1733", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "Interval", + "localId" : "1717", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1719", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1720", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "low" : { + "type" : "Literal", + "localId" : "1715", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "high" : { + "type" : "As", + "localId" : "1718", + "asType" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Null", + "localId" : "1716", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } + } + }, { + "type" : "Interval", + "localId" : "1725", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1727", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1728", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "low" : { + "type" : "Negate", + "localId" : "1721", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1723", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "operand" : { + "type" : "Literal", + "localId" : "1722", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "100", + "annotation" : [ ] + } + }, + "high" : { + "type" : "As", + "localId" : "1726", + "asType" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Null", + "localId" : "1724", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } + } + } ] + } + }, { + "localId" : "1743", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "PosInfEndNotIncludedInIntIvl", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "1743", + "s" : [ { + "value" : [ "", "define ", "PosInfEndNotIncludedInIntIvl", ": " ] + }, { + "r" : "1757", + "s" : [ { + "r" : "1746", + "s" : [ { + "r" : "1744", + "value" : [ "Interval[", "0", ", ", "null", "]" ] + } ] + }, { + "r" : "1757", + "value" : [ " ", "included in", " " ] + }, { + "r" : "1754", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "1750", + "s" : [ { + "r" : "1751", + "value" : [ "-", "100" ] + } ] + }, { + "r" : "1753", + "value" : [ ", ", "100", "]" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "IncludedIn", + "localId" : "1757", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "1758", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1759", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "1760", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1761", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "Interval", + "localId" : "1746", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1748", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1749", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "low" : { + "type" : "Literal", + "localId" : "1744", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "high" : { + "type" : "As", + "localId" : "1747", + "asType" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Null", + "localId" : "1745", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } + } + }, { + "type" : "Interval", + "localId" : "1754", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1755", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1756", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "low" : { + "type" : "Negate", + "localId" : "1750", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1752", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "operand" : { + "type" : "Literal", + "localId" : "1751", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "100", + "annotation" : [ ] + } + }, + "high" : { + "type" : "Literal", + "localId" : "1753", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "100", + "annotation" : [ ] + } + } ] + } + }, { + "localId" : "1771", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "UnknownEndIncludedInIntIvl", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "1771", + "s" : [ { + "value" : [ "", "define ", "UnknownEndIncludedInIntIvl", ": " ] + }, { + "r" : "1786", + "s" : [ { + "r" : "1774", + "s" : [ { + "r" : "1772", + "value" : [ "Interval[", "0", ", ", "null", ")" ] + } ] + }, { + "r" : "1786", + "value" : [ " ", "included in", " " ] + }, { + "r" : "1782", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "1778", + "s" : [ { + "r" : "1779", + "value" : [ "-", "100" ] + } ] + }, { + "r" : "1781", + "value" : [ ", ", "null", "]" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "IncludedIn", + "localId" : "1786", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "1787", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1788", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "1789", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1790", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "Interval", + "localId" : "1774", + "lowClosed" : true, + "highClosed" : false, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1776", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1777", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "low" : { + "type" : "Literal", + "localId" : "1772", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "high" : { + "type" : "As", + "localId" : "1775", + "asType" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Null", + "localId" : "1773", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } + } + }, { + "type" : "Interval", + "localId" : "1782", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1784", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1785", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "low" : { + "type" : "Negate", + "localId" : "1778", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1780", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "operand" : { + "type" : "Literal", + "localId" : "1779", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "100", + "annotation" : [ ] + } + }, + "high" : { + "type" : "As", + "localId" : "1783", + "asType" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Null", + "localId" : "1781", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } + } + } ] + } + }, { + "localId" : "1800", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "UnknownEndMayBeIncludedInIntIvl", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "1800", + "s" : [ { + "value" : [ "", "define ", "UnknownEndMayBeIncludedInIntIvl", ": " ] + }, { + "r" : "1814", + "s" : [ { + "r" : "1803", + "s" : [ { + "r" : "1801", + "value" : [ "Interval[", "0", ", ", "null", ")" ] + } ] + }, { + "r" : "1814", + "value" : [ " ", "included in", " " ] + }, { + "r" : "1811", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "1807", + "s" : [ { + "r" : "1808", + "value" : [ "-", "100" ] + } ] + }, { + "r" : "1810", + "value" : [ ", ", "100", "]" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "IncludedIn", + "localId" : "1814", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "1815", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1816", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "1817", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1818", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "Interval", + "localId" : "1803", + "lowClosed" : true, + "highClosed" : false, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1805", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1806", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "low" : { + "type" : "Literal", + "localId" : "1801", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "high" : { + "type" : "As", + "localId" : "1804", + "asType" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Null", + "localId" : "1802", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } + } + }, { + "type" : "Interval", + "localId" : "1811", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1812", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1813", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "low" : { + "type" : "Negate", + "localId" : "1807", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1809", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "operand" : { + "type" : "Literal", + "localId" : "1808", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "100", + "annotation" : [ ] + } + }, + "high" : { + "type" : "Literal", + "localId" : "1810", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "100", + "annotation" : [ ] + } + } ] + } + }, { + "localId" : "1828", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "UnknownEndNotIncludedInIntIvl", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "1828", + "s" : [ { + "value" : [ "", "define ", "UnknownEndNotIncludedInIntIvl", ": " ] + }, { + "r" : "1840", + "s" : [ { + "r" : "1831", + "s" : [ { + "r" : "1829", + "value" : [ "Interval[", "0", ", ", "null", ")" ] + } ] + }, { + "r" : "1840", + "value" : [ " ", "included in", " " ] + }, { + "r" : "1837", + "s" : [ { + "r" : "1835", + "value" : [ "Interval[", "100", ", ", "200", "]" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "IncludedIn", + "localId" : "1840", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "1841", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1842", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "1843", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1844", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "Interval", + "localId" : "1831", + "lowClosed" : true, + "highClosed" : false, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1833", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1834", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "low" : { + "type" : "Literal", + "localId" : "1829", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "high" : { + "type" : "As", + "localId" : "1832", + "asType" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Null", + "localId" : "1830", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } + } + }, { + "type" : "Interval", + "localId" : "1837", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1838", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1839", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "low" : { + "type" : "Literal", + "localId" : "1835", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "100", + "annotation" : [ ] + }, + "high" : { + "type" : "Literal", + "localId" : "1836", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "200", + "annotation" : [ ] + } + } ] + } + }, { + "localId" : "1854", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "NegInfBegIncludedInDateIvl", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "1854", + "s" : [ { + "value" : [ "", "define ", "NegInfBegIncludedInDateIvl", ": " ] + }, { + "r" : "1913", + "s" : [ { + "r" : "1880", + "s" : [ { + "r" : "1855", + "value" : [ "Interval[", "null", ", " ] + }, { + "r" : "1872", "s" : [ { - "value" : [ "","define ","UnknownBegMayMeetAfterDateIvl",": " ] - }, { - "r" : "1911", - "s" : [ { - "r" : "1856", - "s" : [ { - "r" : "1831", - "value" : [ "Interval(","null",", " ] - }, { - "r" : "1848", - "s" : [ { - "r" : "1832", - "value" : [ "DateTime","(","2013",", ","1",", ","1",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ ")" ] - } ] - }, { - "r" : "1911", - "value" : [ " ","meets before"," " ] - }, { - "r" : "1908", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "1876", - "s" : [ { - "r" : "1860", - "value" : [ "DateTime","(","2000",", ","1",", ","1",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "1900", - "s" : [ { - "r" : "1884", - "value" : [ "DateTime","(","2010",", ","1",", ","1",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ "]" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "1911", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "MeetsBefore", - "signature" : [ { - "localId" : "1912", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1913", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "1914", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1915", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "1856", - "lowClosed" : false, - "highClosed" : false, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "1858", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1859", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "1857", - "asType" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "As", - "signature" : [ ], - "operand" : { - "localId" : "1831", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - } - }, - "high" : { - "localId" : "1848", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "1849", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1850", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1851", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1852", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1853", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1854", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1855", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1832", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2013", - "type" : "Literal" - }, - "month" : { - "localId" : "1833", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "1834", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "1835", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "1836", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "1837", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "1838", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - } - }, { - "localId" : "1908", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "1909", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1910", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "1876", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "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" - }, { - "localId" : "1879", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1880", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1881", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1882", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1883", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1860", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "1861", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "1862", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "1863", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "1864", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "1865", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "1866", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - }, - "high" : { - "localId" : "1900", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "1901", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1902", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1903", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1904", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1905", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1906", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1907", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1884", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2010", - "type" : "Literal" - }, - "month" : { - "localId" : "1885", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "1886", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "1887", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "1888", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "1889", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "1890", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - } - } ] - } - }, { - "localId" : "1918", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "UnknownBegNotMeetsDateIvl", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "1918", - "s" : [ { - "value" : [ "","define ","UnknownBegNotMeetsDateIvl",": " ] - }, { - "r" : "1999", - "s" : [ { - "r" : "1944", - "s" : [ { - "r" : "1919", - "value" : [ "Interval(","null",", " ] - }, { - "r" : "1936", - "s" : [ { - "r" : "1920", - "value" : [ "DateTime","(","2013",", ","1",", ","1",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ ")" ] - } ] - }, { - "r" : "1999", - "value" : [ " ","meets before"," " ] - }, { - "r" : "1996", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "1964", - "s" : [ { - "r" : "1948", - "value" : [ "DateTime","(","2000",", ","1",", ","1",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "1988", - "s" : [ { - "r" : "1972", - "value" : [ "DateTime","(","2020",", ","1",", ","1",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ "]" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "1999", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "MeetsBefore", - "signature" : [ { - "localId" : "2000", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "2001", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "2002", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "2003", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "1944", - "lowClosed" : false, - "highClosed" : false, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "1946", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1947", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "1945", - "asType" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "As", - "signature" : [ ], - "operand" : { - "localId" : "1919", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - } - }, - "high" : { - "localId" : "1936", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "1937", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1938", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1939", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1940", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1941", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1942", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1943", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1920", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2013", - "type" : "Literal" - }, - "month" : { - "localId" : "1921", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "1922", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "1923", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "1924", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "1925", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "1926", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - } - }, { - "localId" : "1996", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "1997", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1998", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "1964", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "1965", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1966", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1967", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1968", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1969", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1970", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1971", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1948", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "1949", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "1950", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "1951", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "1952", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "1953", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "1954", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - }, - "high" : { - "localId" : "1988", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "1989", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1990", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1991", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1992", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1993", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1994", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1995", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1972", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2020", - "type" : "Literal" - }, - "month" : { - "localId" : "1973", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "1974", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "1975", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "1976", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "1977", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "1978", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - } - } ] - } - }, { - "localId" : "2006", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "DateIvlMayMeetBeforeUnknownBeg", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "2006", - "s" : [ { - "value" : [ "","define ","DateIvlMayMeetBeforeUnknownBeg",": " ] - }, { - "r" : "2087", - "s" : [ { - "r" : "2055", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "2023", - "s" : [ { - "r" : "2007", - "value" : [ "DateTime","(","2000",", ","1",", ","1",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "2047", - "s" : [ { - "r" : "2031", - "value" : [ "DateTime","(","2010",", ","1",", ","1",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ "]" ] - } ] - }, { - "r" : "2087", - "value" : [ " ","meets before"," " ] - }, { - "r" : "2083", - "s" : [ { - "r" : "2058", - "value" : [ "Interval(","null",", " ] - }, { - "r" : "2075", - "s" : [ { - "r" : "2059", - "value" : [ "DateTime","(","2013",", ","1",", ","1",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ ")" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "2087", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "MeetsBefore", - "signature" : [ { - "localId" : "2088", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "2089", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "2090", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "2091", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "2055", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "2056", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "2057", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "2023", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "2024", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2025", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2026", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2027", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2028", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2029", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2030", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "2007", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "2008", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "2009", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "2010", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "2011", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "2012", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "2013", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - }, - "high" : { - "localId" : "2047", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "2048", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2049", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2050", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2051", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2052", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2053", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2054", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "2031", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2010", - "type" : "Literal" - }, - "month" : { - "localId" : "2032", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "2033", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "2034", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "2035", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "2036", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "2037", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - } - }, { - "localId" : "2083", - "lowClosed" : false, - "highClosed" : false, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "2085", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "2086", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "2084", - "asType" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "As", - "signature" : [ ], - "operand" : { - "localId" : "2058", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - } - }, - "high" : { - "localId" : "2075", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "2076", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2077", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2078", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2079", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2080", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2081", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2082", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "2059", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2013", - "type" : "Literal" - }, - "month" : { - "localId" : "2060", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "2061", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "2062", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "2063", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "2064", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "2065", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - } - } ] - } - }, { - "localId" : "2094", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "PosInfEndMeetsAfterDateIvl", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "2094", - "s" : [ { - "value" : [ "","define ","PosInfEndMeetsAfterDateIvl",": " ] - }, { - "r" : "2175", - "s" : [ { - "r" : "2120", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "2111", - "s" : [ { - "r" : "2095", - "value" : [ "DateTime","(","2013",", ","1",", ","1",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "r" : "2119", - "value" : [ ", ","null","]" ] - } ] - }, { - "r" : "2175", - "value" : [ " ","meets before"," " ] - }, { - "r" : "2172", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "2140", - "s" : [ { - "r" : "2124", - "value" : [ "DateTime","(","2000",", ","1",", ","1",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "2164", - "s" : [ { - "r" : "2148", - "value" : [ "DateTime","(","2013",", ","1",", ","1",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ ")" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "2175", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "MeetsBefore", - "signature" : [ { - "localId" : "2176", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "2177", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "2178", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "2179", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "2120", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "2122", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "2123", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "2111", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "2112", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2113", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2114", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2115", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2116", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2117", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2118", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "2095", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2013", - "type" : "Literal" - }, - "month" : { - "localId" : "2096", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "2097", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "2098", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "2099", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "2100", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "2101", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - }, - "high" : { - "localId" : "2121", - "asType" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "As", - "signature" : [ ], - "operand" : { - "localId" : "2119", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - } - } - }, { - "localId" : "2172", - "lowClosed" : true, - "highClosed" : false, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "2173", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "2174", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "2140", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "2141", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2142", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2143", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2144", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2145", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2146", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2147", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "2124", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "2125", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "2126", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "2127", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "2128", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "2129", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "2130", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - }, - "high" : { - "localId" : "2164", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "2165", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2166", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2167", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2168", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2169", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2170", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2171", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "2148", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2013", - "type" : "Literal" - }, - "month" : { - "localId" : "2149", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "2150", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "2151", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "2152", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "2153", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "2154", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - } - } ] - } - }, { - "localId" : "2182", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "PosInfEndNotMeetsDateIvl", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "2182", - "s" : [ { - "value" : [ "","define ","PosInfEndNotMeetsDateIvl",": " ] - }, { - "r" : "2263", - "s" : [ { - "r" : "2208", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "2199", - "s" : [ { - "r" : "2183", - "value" : [ "DateTime","(","2013",", ","1",", ","1",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "r" : "2207", - "value" : [ ", ","null","]" ] - } ] - }, { - "r" : "2263", - "value" : [ " ","meets before"," " ] - }, { - "r" : "2260", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "2228", - "s" : [ { - "r" : "2212", - "value" : [ "DateTime","(","2000",", ","1",", ","1",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "2252", - "s" : [ { - "r" : "2236", - "value" : [ "DateTime","(","2020",", ","1",", ","1",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ "]" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "2263", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "MeetsBefore", - "signature" : [ { - "localId" : "2264", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "2265", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "2266", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "2267", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "2208", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "2210", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "2211", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "2199", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "2200", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2201", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2202", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2203", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2204", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2205", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2206", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "2183", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2013", - "type" : "Literal" - }, - "month" : { - "localId" : "2184", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "2185", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "2186", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "2187", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "2188", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "2189", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - }, - "high" : { - "localId" : "2209", - "asType" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "As", - "signature" : [ ], - "operand" : { - "localId" : "2207", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - } - } - }, { - "localId" : "2260", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "2261", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "2262", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "2228", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "2229", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2230", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2231", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2232", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2233", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2234", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2235", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "2212", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "2213", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "2214", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "2215", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "2216", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "2217", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "2218", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - }, - "high" : { - "localId" : "2252", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "2253", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2254", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2255", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2256", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2257", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2258", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2259", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "2236", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2020", - "type" : "Literal" - }, - "month" : { - "localId" : "2237", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "2238", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "2239", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "2240", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "2241", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "2242", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - } - } ] - } - }, { - "localId" : "2270", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "DateIvlNotMeetsPosInfEnd", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "2270", - "s" : [ { - "value" : [ "","define ","DateIvlNotMeetsPosInfEnd",": " ] - }, { - "r" : "2351", - "s" : [ { - "r" : "2319", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "2287", - "s" : [ { - "r" : "2271", - "value" : [ "DateTime","(","2000",", ","1",", ","1",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "2311", - "s" : [ { - "r" : "2295", - "value" : [ "DateTime","(","2020",", ","1",", ","1",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ "]" ] - } ] - }, { - "r" : "2351", - "value" : [ " ","meets before"," " ] - }, { - "r" : "2347", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "2338", - "s" : [ { - "r" : "2322", - "value" : [ "DateTime","(","2013",", ","1",", ","1",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "r" : "2346", - "value" : [ ", ","null","]" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "2351", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "MeetsBefore", - "signature" : [ { - "localId" : "2352", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "2353", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "2354", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "2355", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "2319", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "2320", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "2321", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "2287", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "2288", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2289", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2290", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2291", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2292", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2293", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2294", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "2271", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "2272", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "2273", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "2274", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "2275", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "2276", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "2277", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - }, - "high" : { - "localId" : "2311", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "2312", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2313", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2314", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2315", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2316", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2317", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2318", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "2295", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2020", - "type" : "Literal" - }, - "month" : { - "localId" : "2296", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "2297", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "2298", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "2299", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "2300", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "2301", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - } - }, { - "localId" : "2347", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "2349", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "2350", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "2338", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "2339", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2340", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2341", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2342", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2343", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2344", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2345", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "2322", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2013", - "type" : "Literal" - }, - "month" : { - "localId" : "2323", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "2324", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "2325", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "2326", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "2327", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "2328", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - }, - "high" : { - "localId" : "2348", - "asType" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "As", - "signature" : [ ], - "operand" : { - "localId" : "2346", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - } - } - } ] - } - }, { - "localId" : "2358", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "UnknownEndMeetsAfterDateIvl", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "2358", + "r" : "1856", + "value" : [ "DateTime", "(", "2013", ", ", "1", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ ")" ] + } ] + }, { + "r" : "1913", + "value" : [ " ", "included in", " " ] + }, { + "r" : "1909", + "s" : [ { + "r" : "1884", + "value" : [ "Interval[", "null", ", " ] + }, { + "r" : "1901", + "s" : [ { + "r" : "1885", + "value" : [ "DateTime", "(", "2020", ", ", "1", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ "]" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "IncludedIn", + "localId" : "1913", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "1914", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1915", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "1916", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1917", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "Interval", + "localId" : "1880", + "lowClosed" : true, + "highClosed" : false, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1882", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1883", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "As", + "localId" : "1881", + "asType" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Null", + "localId" : "1855", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "1872", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1873", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1874", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1875", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1876", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1877", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1878", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1879", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1856", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2013", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1857", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "1858", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "1859", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "1860", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "1861", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "1862", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + } + }, { + "type" : "Interval", + "localId" : "1909", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1911", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1912", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "As", + "localId" : "1910", + "asType" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Null", + "localId" : "1884", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "1901", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1902", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1903", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1904", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1905", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1906", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1907", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1908", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1885", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2020", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1886", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "1887", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "1888", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "1889", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "1890", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "1891", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + } + } ] + } + }, { + "localId" : "1927", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "NegInfBegNotIncludedInDateIvl", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "1927", + "s" : [ { + "value" : [ "", "define ", "NegInfBegNotIncludedInDateIvl", ": " ] + }, { + "r" : "2008", + "s" : [ { + "r" : "1953", + "s" : [ { + "r" : "1928", + "value" : [ "Interval[", "null", ", " ] + }, { + "r" : "1945", + "s" : [ { + "r" : "1929", + "value" : [ "DateTime", "(", "2013", ", ", "1", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ ")" ] + } ] + }, { + "r" : "2008", + "value" : [ " ", "included in", " " ] + }, { + "r" : "2005", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "1973", + "s" : [ { + "r" : "1957", + "value" : [ "DateTime", "(", "2000", ", ", "1", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "1997", + "s" : [ { + "r" : "1981", + "value" : [ "DateTime", "(", "2020", ", ", "1", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ "]" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "IncludedIn", + "localId" : "2008", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "2009", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "2010", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "2011", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "2012", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "Interval", + "localId" : "1953", + "lowClosed" : true, + "highClosed" : false, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1955", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1956", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "As", + "localId" : "1954", + "asType" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Null", + "localId" : "1928", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "1945", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1946", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1947", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1948", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1949", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1950", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1951", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1952", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1929", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2013", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1930", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "1931", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "1932", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "1933", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "1934", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "1935", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + } + }, { + "type" : "Interval", + "localId" : "2005", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "2006", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "2007", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "DateTime", + "localId" : "1973", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1974", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1975", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1976", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1977", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1978", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1979", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1980", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1957", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1958", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "1959", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "1960", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "1961", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "1962", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "1963", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "1997", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1998", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1999", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2000", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2001", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2002", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2003", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2004", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1981", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2020", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1982", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "1983", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "1984", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "1985", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "1986", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "1987", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + } + } ] + } + }, { + "localId" : "2022", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "UnknownBegIncludedInDateIvl", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "2022", + "s" : [ { + "value" : [ "", "define ", "UnknownBegIncludedInDateIvl", ": " ] + }, { + "r" : "2081", + "s" : [ { + "r" : "2048", + "s" : [ { + "r" : "2023", + "value" : [ "Interval(", "null", ", " ] + }, { + "r" : "2040", + "s" : [ { + "r" : "2024", + "value" : [ "DateTime", "(", "2013", ", ", "1", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ ")" ] + } ] + }, { + "r" : "2081", + "value" : [ " ", "included in", " " ] + }, { + "r" : "2077", + "s" : [ { + "r" : "2052", + "value" : [ "Interval[", "null", ", " ] + }, { + "r" : "2069", + "s" : [ { + "r" : "2053", + "value" : [ "DateTime", "(", "2020", ", ", "1", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ "]" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "IncludedIn", + "localId" : "2081", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "2082", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "2083", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "2084", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "2085", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "Interval", + "localId" : "2048", + "lowClosed" : false, + "highClosed" : false, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "2050", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "2051", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "As", + "localId" : "2049", + "asType" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Null", + "localId" : "2023", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "2040", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "2041", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2042", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2043", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2044", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2045", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2046", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2047", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "2024", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2013", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "2025", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "2026", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "2027", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "2028", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "2029", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "2030", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + } + }, { + "type" : "Interval", + "localId" : "2077", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "2079", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "2080", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "As", + "localId" : "2078", + "asType" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Null", + "localId" : "2052", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "2069", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "2070", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2071", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2072", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2073", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2074", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2075", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2076", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "2053", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2020", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "2054", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "2055", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "2056", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "2057", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "2058", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "2059", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + } + } ] + } + }, { + "localId" : "2095", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "UnknownBegMayBeIncludedInDateIvl", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "2095", + "s" : [ { + "value" : [ "", "define ", "UnknownBegMayBeIncludedInDateIvl", ": " ] + }, { + "r" : "2176", + "s" : [ { + "r" : "2121", + "s" : [ { + "r" : "2096", + "value" : [ "Interval(", "null", ", " ] + }, { + "r" : "2113", + "s" : [ { + "r" : "2097", + "value" : [ "DateTime", "(", "2013", ", ", "1", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ ")" ] + } ] + }, { + "r" : "2176", + "value" : [ " ", "included in", " " ] + }, { + "r" : "2173", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "2141", + "s" : [ { + "r" : "2125", + "value" : [ "DateTime", "(", "2000", ", ", "1", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "2165", + "s" : [ { + "r" : "2149", + "value" : [ "DateTime", "(", "2020", ", ", "1", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ "]" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "IncludedIn", + "localId" : "2176", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "2177", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "2178", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "2179", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "2180", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "Interval", + "localId" : "2121", + "lowClosed" : false, + "highClosed" : false, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "2123", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "2124", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "As", + "localId" : "2122", + "asType" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Null", + "localId" : "2096", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "2113", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "2114", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2115", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2116", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2117", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2118", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2119", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2120", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "2097", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2013", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "2098", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "2099", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "2100", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "2101", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "2102", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "2103", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + } + }, { + "type" : "Interval", + "localId" : "2173", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "2174", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "2175", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "DateTime", + "localId" : "2141", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "2142", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2143", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2144", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2145", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2146", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2147", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2148", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "2125", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "2126", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "2127", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "2128", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "2129", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "2130", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "2131", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "2165", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "2166", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2167", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2168", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2169", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2170", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2171", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2172", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "2149", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2020", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "2150", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "2151", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "2152", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "2153", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "2154", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "2155", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + } + } ] + } + }, { + "localId" : "2190", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "UnknownBegNotIncludedInDateIvl", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "2190", + "s" : [ { + "value" : [ "", "define ", "UnknownBegNotIncludedInDateIvl", ": " ] + }, { + "r" : "2271", + "s" : [ { + "r" : "2216", + "s" : [ { + "r" : "2191", + "value" : [ "Interval(", "null", ", " ] + }, { + "r" : "2208", + "s" : [ { + "r" : "2192", + "value" : [ "DateTime", "(", "2013", ", ", "1", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ ")" ] + } ] + }, { + "r" : "2271", + "value" : [ " ", "included in", " " ] + }, { + "r" : "2268", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "2236", + "s" : [ { + "r" : "2220", + "value" : [ "DateTime", "(", "1", ", ", "1", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "2260", + "s" : [ { + "r" : "2244", + "value" : [ "DateTime", "(", "2000", ", ", "1", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ "]" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "IncludedIn", + "localId" : "2271", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "2272", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "2273", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "2274", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "2275", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "Interval", + "localId" : "2216", + "lowClosed" : false, + "highClosed" : false, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "2218", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "2219", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "As", + "localId" : "2217", + "asType" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Null", + "localId" : "2191", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "2208", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "2209", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2210", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2211", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2212", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2213", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2214", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2215", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "2192", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2013", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "2193", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "2194", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "2195", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "2196", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "2197", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "2198", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + } + }, { + "type" : "Interval", + "localId" : "2268", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "2269", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "2270", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "DateTime", + "localId" : "2236", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "2237", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2238", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2239", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2240", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2241", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2242", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2243", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "2220", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "2221", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "2222", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "2223", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "2224", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "2225", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "2226", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "2260", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "2261", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2262", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2263", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2264", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2265", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2266", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2267", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "2244", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "2245", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "2246", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "2247", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "2248", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "2249", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "2250", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + } + } ] + } + }, { + "localId" : "2285", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "PosInfEndIncludedInDateIvl", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "2285", + "s" : [ { + "value" : [ "", "define ", "PosInfEndIncludedInDateIvl", ": " ] + }, { + "r" : "2344", + "s" : [ { + "r" : "2311", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "2302", + "s" : [ { + "r" : "2286", + "value" : [ "DateTime", "(", "2013", ", ", "1", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "r" : "2310", + "value" : [ ", ", "null", "]" ] + } ] + }, { + "r" : "2344", + "value" : [ " ", "included in", " " ] + }, { + "r" : "2340", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "2331", + "s" : [ { + "r" : "2315", + "value" : [ "DateTime", "(", "2000", ", ", "1", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "r" : "2339", + "value" : [ ", ", "null", "]" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "IncludedIn", + "localId" : "2344", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "2345", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "2346", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "2347", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "2348", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "Interval", + "localId" : "2311", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "2313", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "2314", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "DateTime", + "localId" : "2302", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "2303", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2304", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2305", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2306", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2307", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2308", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2309", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "2286", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2013", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "2287", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "2288", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "2289", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "2290", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "2291", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "2292", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + }, + "high" : { + "type" : "As", + "localId" : "2312", + "asType" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Null", + "localId" : "2310", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } + } + }, { + "type" : "Interval", + "localId" : "2340", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "2342", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "2343", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "DateTime", + "localId" : "2331", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "2332", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2333", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2334", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2335", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2336", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2337", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2338", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "2315", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "2316", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "2317", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "2318", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "2319", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "2320", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "2321", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + }, + "high" : { + "type" : "As", + "localId" : "2341", + "asType" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Null", + "localId" : "2339", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } + } + } ] + } + }, { + "localId" : "2358", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "PosInfEndNotIncludedInDateIvl", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "2358", + "s" : [ { + "value" : [ "", "define ", "PosInfEndNotIncludedInDateIvl", ": " ] + }, { + "r" : "2439", + "s" : [ { + "r" : "2384", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "2375", + "s" : [ { + "r" : "2359", + "value" : [ "DateTime", "(", "2013", ", ", "1", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "r" : "2383", + "value" : [ ", ", "null", "]" ] + } ] + }, { + "r" : "2439", + "value" : [ " ", "included in", " " ] + }, { + "r" : "2436", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "2404", + "s" : [ { + "r" : "2388", + "value" : [ "DateTime", "(", "2000", ", ", "1", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "2428", + "s" : [ { + "r" : "2412", + "value" : [ "DateTime", "(", "2020", ", ", "1", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ "]" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "IncludedIn", + "localId" : "2439", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "2440", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "2441", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "2442", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "2443", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "Interval", + "localId" : "2384", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "2386", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "2387", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "DateTime", + "localId" : "2375", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "2376", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2377", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2378", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2379", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2380", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2381", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2382", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "2359", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2013", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "2360", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "2361", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "2362", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "2363", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "2364", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "2365", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + }, + "high" : { + "type" : "As", + "localId" : "2385", + "asType" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Null", + "localId" : "2383", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } + } + }, { + "type" : "Interval", + "localId" : "2436", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "2437", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "2438", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "DateTime", + "localId" : "2404", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "2405", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2406", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2407", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2408", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2409", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2410", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2411", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "2388", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "2389", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "2390", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "2391", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "2392", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "2393", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "2394", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "2428", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "2429", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2430", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2431", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2432", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2433", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2434", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2435", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "2412", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2020", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "2413", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "2414", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "2415", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "2416", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "2417", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "2418", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + } + } ] + } + }, { + "localId" : "2453", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "UnknownEndIncludedInDateIvl", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "2453", + "s" : [ { + "value" : [ "", "define ", "UnknownEndIncludedInDateIvl", ": " ] + }, { + "r" : "2512", + "s" : [ { + "r" : "2479", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "2470", + "s" : [ { + "r" : "2454", + "value" : [ "DateTime", "(", "2013", ", ", "1", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "r" : "2478", + "value" : [ ", ", "null", ")" ] + } ] + }, { + "r" : "2512", + "value" : [ " ", "included in", " " ] + }, { + "r" : "2508", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "2499", + "s" : [ { + "r" : "2483", + "value" : [ "DateTime", "(", "2000", ", ", "1", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "r" : "2507", + "value" : [ ", ", "null", "]" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "IncludedIn", + "localId" : "2512", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "2513", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "2514", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "2515", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "2516", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "Interval", + "localId" : "2479", + "lowClosed" : true, + "highClosed" : false, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "2481", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "2482", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "DateTime", + "localId" : "2470", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "2471", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2472", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2473", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2474", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2475", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2476", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2477", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "2454", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2013", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "2455", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "2456", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "2457", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "2458", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "2459", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "2460", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + }, + "high" : { + "type" : "As", + "localId" : "2480", + "asType" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Null", + "localId" : "2478", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } + } + }, { + "type" : "Interval", + "localId" : "2508", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "2510", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "2511", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "DateTime", + "localId" : "2499", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "2500", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2501", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2502", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2503", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2504", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2505", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2506", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "2483", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "2484", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "2485", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "2486", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "2487", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "2488", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "2489", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + }, + "high" : { + "type" : "As", + "localId" : "2509", + "asType" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Null", + "localId" : "2507", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } + } + } ] + } + }, { + "localId" : "2526", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "UnknownEndMayBeIncludedInDateIvl", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "2526", + "s" : [ { + "value" : [ "", "define ", "UnknownEndMayBeIncludedInDateIvl", ": " ] + }, { + "r" : "2607", + "s" : [ { + "r" : "2552", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "2543", + "s" : [ { + "r" : "2527", + "value" : [ "DateTime", "(", "2013", ", ", "1", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "r" : "2551", + "value" : [ ", ", "null", ")" ] + } ] + }, { + "r" : "2607", + "value" : [ " ", "included in", " " ] + }, { + "r" : "2604", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "2572", + "s" : [ { + "r" : "2556", + "value" : [ "DateTime", "(", "2000", ", ", "1", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "2596", + "s" : [ { + "r" : "2580", + "value" : [ "DateTime", "(", "2020", ", ", "1", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ "]" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "IncludedIn", + "localId" : "2607", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "2608", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "2609", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "2610", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "2611", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "Interval", + "localId" : "2552", + "lowClosed" : true, + "highClosed" : false, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "2554", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "2555", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "DateTime", + "localId" : "2543", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "2544", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2545", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2546", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2547", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2548", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2549", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2550", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "2527", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2013", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "2528", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "2529", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "2530", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "2531", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "2532", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "2533", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + }, + "high" : { + "type" : "As", + "localId" : "2553", + "asType" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Null", + "localId" : "2551", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } + } + }, { + "type" : "Interval", + "localId" : "2604", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "2605", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "2606", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "DateTime", + "localId" : "2572", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "2573", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2574", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2575", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2576", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2577", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2578", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2579", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "2556", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "2557", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "2558", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "2559", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "2560", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "2561", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "2562", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "2596", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "2597", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2598", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2599", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2600", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2601", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2602", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2603", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "2580", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2020", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "2581", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "2582", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "2583", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "2584", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "2585", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "2586", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + } + } ] + } + }, { + "localId" : "2621", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "UnknownEndNotIncludedInDateIvl", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "2621", + "s" : [ { + "value" : [ "", "define ", "UnknownEndNotIncludedInDateIvl", ": " ] + }, { + "r" : "2702", + "s" : [ { + "r" : "2647", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "2638", + "s" : [ { + "r" : "2622", + "value" : [ "DateTime", "(", "2013", ", ", "1", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "r" : "2646", + "value" : [ ", ", "null", ")" ] + } ] + }, { + "r" : "2702", + "value" : [ " ", "included in", " " ] + }, { + "r" : "2699", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "2667", "s" : [ { - "value" : [ "","define ","UnknownEndMeetsAfterDateIvl",": " ] - }, { - "r" : "2439", - "s" : [ { - "r" : "2384", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "2375", - "s" : [ { - "r" : "2359", - "value" : [ "DateTime","(","2013",", ","1",", ","1",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "r" : "2383", - "value" : [ ", ","null",")" ] - } ] - }, { - "r" : "2439", - "value" : [ " ","meets before"," " ] - }, { - "r" : "2436", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "2404", - "s" : [ { - "r" : "2388", - "value" : [ "DateTime","(","2010",", ","1",", ","1",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "2428", - "s" : [ { - "r" : "2412", - "value" : [ "DateTime","(","2013",", ","1",", ","1",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ ")" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "2439", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "MeetsBefore", - "signature" : [ { - "localId" : "2440", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "2441", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "2442", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "2443", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "2384", - "lowClosed" : true, - "highClosed" : false, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "2386", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "2387", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "2375", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "2376", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2377", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2378", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2379", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2380", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2381", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2382", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "2359", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2013", - "type" : "Literal" - }, - "month" : { - "localId" : "2360", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "2361", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "2362", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "2363", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "2364", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "2365", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - }, - "high" : { - "localId" : "2385", - "asType" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "As", - "signature" : [ ], - "operand" : { - "localId" : "2383", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - } - } - }, { - "localId" : "2436", - "lowClosed" : true, - "highClosed" : false, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "2437", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "2438", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "2404", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "2405", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2406", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2407", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2408", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2409", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2410", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2411", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "2388", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2010", - "type" : "Literal" - }, - "month" : { - "localId" : "2389", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "2390", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "2391", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "2392", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "2393", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "2394", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - }, - "high" : { - "localId" : "2428", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "2429", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2430", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2431", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2432", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2433", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2434", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2435", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "2412", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2013", - "type" : "Literal" - }, - "month" : { - "localId" : "2413", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "2414", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "2415", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "2416", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "2417", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "2418", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - } - } ] - } - }, { - "localId" : "2446", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "UnknownEndMayMeetBeforeDateIvl", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "2446", - "s" : [ { - "value" : [ "","define ","UnknownEndMayMeetBeforeDateIvl",": " ] - }, { - "r" : "2527", - "s" : [ { - "r" : "2472", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "2463", - "s" : [ { - "r" : "2447", - "value" : [ "DateTime","(","2013",", ","1",", ","1",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "r" : "2471", - "value" : [ ", ","null",")" ] - } ] - }, { - "r" : "2527", - "value" : [ " ","meets before"," " ] - }, { - "r" : "2524", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "2492", - "s" : [ { - "r" : "2476", - "value" : [ "DateTime","(","2020",", ","1",", ","1",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "2516", - "s" : [ { - "r" : "2500", - "value" : [ "DateTime","(","2040",", ","1",", ","1",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ "]" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "2527", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "MeetsBefore", - "signature" : [ { - "localId" : "2528", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "2529", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "2530", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "2531", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "2472", - "lowClosed" : true, - "highClosed" : false, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "2474", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "2475", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "2463", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "2464", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2465", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2466", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2467", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2468", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2469", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2470", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "2447", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2013", - "type" : "Literal" - }, - "month" : { - "localId" : "2448", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "2449", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "2450", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "2451", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "2452", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "2453", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - }, - "high" : { - "localId" : "2473", - "asType" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "As", - "signature" : [ ], - "operand" : { - "localId" : "2471", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - } - } - }, { - "localId" : "2524", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "2525", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "2526", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "2492", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "2493", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2494", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2495", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2496", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2497", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2498", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2499", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "2476", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2020", - "type" : "Literal" - }, - "month" : { - "localId" : "2477", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "2478", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "2479", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "2480", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "2481", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "2482", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - }, - "high" : { - "localId" : "2516", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "2517", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2518", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2519", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2520", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2521", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2522", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2523", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "2500", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2040", - "type" : "Literal" - }, - "month" : { - "localId" : "2501", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "2502", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "2503", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "2504", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "2505", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "2506", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - } - } ] - } - }, { - "localId" : "2534", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "UnknownEndNotMeetsDateIvl", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "2534", - "s" : [ { - "value" : [ "","define ","UnknownEndNotMeetsDateIvl",": " ] - }, { - "r" : "2615", - "s" : [ { - "r" : "2560", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "2551", - "s" : [ { - "r" : "2535", - "value" : [ "DateTime","(","2013",", ","1",", ","1",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "r" : "2559", - "value" : [ ", ","null",")" ] - } ] - }, { - "r" : "2615", - "value" : [ " ","meets before"," " ] - }, { - "r" : "2612", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "2580", - "s" : [ { - "r" : "2564", - "value" : [ "DateTime","(","2000",", ","1",", ","1",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "2604", - "s" : [ { - "r" : "2588", - "value" : [ "DateTime","(","2013",", ","1",", ","1",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ "]" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "2615", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "MeetsBefore", - "signature" : [ { - "localId" : "2616", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "2617", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "2618", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "2619", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "2560", - "lowClosed" : true, - "highClosed" : false, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "2562", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "2563", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "2551", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "2552", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2553", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2554", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2555", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2556", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2557", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2558", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "2535", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2013", - "type" : "Literal" - }, - "month" : { - "localId" : "2536", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "2537", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "2538", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "2539", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "2540", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "2541", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - }, - "high" : { - "localId" : "2561", - "asType" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "As", - "signature" : [ ], - "operand" : { - "localId" : "2559", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - } - } - }, { - "localId" : "2612", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "2613", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "2614", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "2580", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "2581", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2582", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2583", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2584", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2585", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2586", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2587", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "2564", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "2565", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "2566", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "2567", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "2568", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "2569", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "2570", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - }, - "high" : { - "localId" : "2604", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "2605", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2606", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2607", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2608", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2609", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2610", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2611", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "2588", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2013", - "type" : "Literal" - }, - "month" : { - "localId" : "2589", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "2590", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "2591", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "2592", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "2593", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "2594", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - } - } ] - } - }, { - "localId" : "2622", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "DateIvlMayMeetAfterUnknownEnd", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "2622", - "s" : [ { - "value" : [ "","define ","DateIvlMayMeetAfterUnknownEnd",": " ] - }, { - "r" : "2703", - "s" : [ { - "r" : "2671", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "2639", - "s" : [ { - "r" : "2623", - "value" : [ "DateTime","(","2020",", ","1",", ","1",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "2663", - "s" : [ { - "r" : "2647", - "value" : [ "DateTime","(","2040",", ","1",", ","1",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ "]" ] - } ] - }, { - "r" : "2703", - "value" : [ " ","meets before"," " ] - }, { - "r" : "2699", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "2690", - "s" : [ { - "r" : "2674", - "value" : [ "DateTime","(","2013",", ","1",", ","1",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "r" : "2698", - "value" : [ ", ","null",")" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "2703", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "MeetsBefore", - "signature" : [ { - "localId" : "2704", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "2705", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "2706", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "2707", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "2671", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "2672", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "2673", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "2639", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "2640", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2641", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2642", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2643", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2644", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2645", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2646", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "2623", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2020", - "type" : "Literal" - }, - "month" : { - "localId" : "2624", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "2625", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "2626", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "2627", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "2628", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "2629", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - }, - "high" : { - "localId" : "2663", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "2664", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2665", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2666", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2667", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2668", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2669", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2670", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "2647", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2040", - "type" : "Literal" - }, - "month" : { - "localId" : "2648", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "2649", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "2650", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "2651", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "2652", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "2653", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - } - }, { - "localId" : "2699", - "lowClosed" : true, - "highClosed" : false, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "2701", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "2702", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "2690", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "2691", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2692", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2693", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2694", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2695", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2696", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2697", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "2674", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2013", - "type" : "Literal" - }, - "month" : { - "localId" : "2675", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "2676", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "2677", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "2678", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "2679", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "2680", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - }, - "high" : { - "localId" : "2700", - "asType" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "As", - "signature" : [ ], - "operand" : { - "localId" : "2698", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - } - } - } ] - } - } ] - } - } + "r" : "2651", + "value" : [ "DateTime", "(", "2020", ", ", "1", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "2691", + "s" : [ { + "r" : "2675", + "value" : [ "DateTime", "(", "2040", ", ", "1", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ "]" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "IncludedIn", + "localId" : "2702", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "2703", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "2704", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "2705", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "2706", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "Interval", + "localId" : "2647", + "lowClosed" : true, + "highClosed" : false, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "2649", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "2650", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "DateTime", + "localId" : "2638", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "2639", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2640", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2641", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2642", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2643", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2644", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2645", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "2622", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2013", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "2623", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "2624", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "2625", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "2626", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "2627", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "2628", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + }, + "high" : { + "type" : "As", + "localId" : "2648", + "asType" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Null", + "localId" : "2646", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } + } + }, { + "type" : "Interval", + "localId" : "2699", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "2700", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "2701", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "DateTime", + "localId" : "2667", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "2668", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2669", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2670", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2671", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2672", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2673", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2674", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "2651", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2020", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "2652", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "2653", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "2654", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "2655", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "2656", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "2657", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "2691", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "2692", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2693", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2694", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2695", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2696", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2697", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2698", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "2675", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2040", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "2676", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "2677", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "2678", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "2679", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "2680", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "2681", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + } + } ] + } + } ] + } + } } -/* Overlaps +/* ProperlyIncludedIn library TestSnippet version '1' using Simple version '1.0.0' context Patient -define OverlapsBeforeIntIvl: Interval[1, 5] overlaps Interval[2, 7] -define OverlapsAfterIntIvl: Interval[3, 8] overlaps Interval[1, 6] -define OverlapsBoundaryIntIvl: Interval[1, 5] overlaps Interval[5, 10] -define NoOverlapsIntIvl: Interval[1,5) overlaps Interval[5, 10] -define OverlapsBeforeRealIvl: Interval[1.234, 1.567] overlaps Interval[1.345, 1.678] -define OverlapsAfterRealIvl: Interval[1.345, 1.678] overlaps Interval[1.234, 1.567] -define OverlapsBoundaryRealIvl: Interval[1.0, 1.234] overlaps Interval[1.234, 2.0] -define NoOverlapsRealIvl: Interval[1.0, 1.23456789) overlaps Interval[1.23456789, 2.0] -define OverlapsIsNull: Interval[6, 10] overlaps (null as Interval) +define ProperlyIncludesIntIvl: Interval[2, 4] properly included in Interval[1, 5] +define ProperlyIncludesIntBeginsIvl: Interval[1, 4] properly included in Interval[1, 5] +define ProperlyIncludesIntEndsIvl: Interval[2, 5] properly included in Interval[1, 5] +define NotProperlyIncludesIntIvl: Interval[1, 5] properly included in Interval[1, 5] +define ProperlyIncludesRealIvl: Interval[2.34, 2.56] properly included in Interval[1.234, 3.456] +define NotProperlyIncludesRealIvl: Interval[1.23, 2.56] properly included in Interval[1.23, 2.56] +define DateIvl: Interval[DateTime(2012, 3, 1, 0, 0, 0, 0), DateTime(2012, 9, 1, 0, 0, 0, 0)) +define ProperlyIncludesDateIvl: Interval[DateTime(2012, 4, 1, 0, 0, 0, 0), DateTime(2012, 6, 1, 0, 0, 0, 0)) properly included in DateIvl +define NotProperlyIncludesDateIvl: Interval[DateTime(2012, 3, 1, 0, 0, 0, 0), DateTime(2012, 9, 1, 0, 0, 0, 0)) properly included in DateIvl +define PosInfEndProperlyIncludedInDateIvl: Interval[DateTime(2013, 1, 1, 0, 0, 0, 0), null] properly included in Interval[DateTime(2000, 1, 1, 0, 0, 0, 0), null] +define PosInfEndNotProperlyIncludedInDateIvl: Interval[DateTime(2013, 1, 1, 0, 0, 0, 0), null] properly included in Interval[DateTime(2000, 1, 1, 0, 0, 0, 0), DateTime(2020, 1, 1, 0, 0, 0, 0)] +define UnknownEndMayBeProperlyIncludedInDateIvl: Interval[DateTime(2013, 1, 1, 0, 0, 0, 0), null) properly included in Interval[DateTime(2000, 1, 1, 0, 0, 0, 0), DateTime(2020, 1, 1, 0, 0, 0, 0)] +define PrecisionDateIvl: Interval[DateTime(2012, 3, 2, 12, 34, 56, 789), DateTime(2012, 9, 2, 1, 23, 45, 678)) +define ProperlyIncludesDayOfIvlLowEdge: Interval[DateTime(2012, 3, 2, 0, 0, 0, 0), DateTime(2012, 6, 1, 0, 0, 0, 0)) properly included in day of PrecisionDateIvl +define ProperlyIncludesDayOfIvlHighEdge: Interval[DateTime(2012, 6, 1, 0, 0, 0, 0), DateTime(2012, 9, 2, 23, 59, 59, 999)) properly included in day of PrecisionDateIvl +define ProperlyIncludesDayOfIvlNearEdges: Interval[DateTime(2012, 3, 3, 0, 0, 0, 0), DateTime(2012, 9, 1, 23, 59, 59, 999)) properly included in day of PrecisionDateIvl +define NotProperlyIncludesDayOfIvlSameEdges: Interval[DateTime(2012, 3, 2, 0, 0, 0, 0), DateTime(2012, 9, 2, 0, 0, 0, 0)] properly included in day of PrecisionDateIvl +define MayProperlyIncludeDayOfIvlVeryImpreciseLow: Interval[DateTime(2012, 3), DateTime(2012, 6)] properly included in day of PrecisionDateIvl +define MayProperlyIncludeDayOfIvlVeryImpreciseHigh: Interval[DateTime(2012, 6), DateTime(2012, 9)] properly included in day of PrecisionDateIvl +define MayProperlyIncludeDayOfIvlVeryImpreciseLowAndHigh: Interval[DateTime(2012, 3), DateTime(2012, 9)] properly included in day of PrecisionDateIvl +define MayProperlyIncludeDayOfIvlVeryImpreciseSurrounding: Interval[DateTime(2012), DateTime(2012)] properly included in day of PrecisionDateIvl */ -module.exports['Overlaps'] = { - "library" : { - "localId" : "0", - "annotation" : [ { - "translatorVersion" : "3.27.0", - "translatorOptions" : "EnableDateRangeOptimization,EnableAnnotations,EnableResultTypes", - "signatureLevel" : "All", - "type" : "CqlToElmInfo" - }, { - "type" : "Annotation", - "s" : { - "r" : "358", +module.exports['ProperlyIncludedIn'] = { + "library" : { + "localId" : "0", + "annotation" : [ { + "type" : "CqlToElmInfo", + "translatorVersion" : "4.2.0", + "translatorOptions" : "EnableDateRangeOptimization,EnableAnnotations,EnableResultTypes", + "signatureLevel" : "All" + }, { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "1270", + "s" : [ { + "value" : [ "", "library TestSnippet version '1'" ] + } ] + } + } ], + "identifier" : { + "id" : "TestSnippet", + "version" : "1" + }, + "schemaIdentifier" : { + "id" : "urn:hl7-org:elm", + "version" : "r1" + }, + "usings" : { + "def" : [ { + "localId" : "1", + "localIdentifier" : "System", + "uri" : "urn:hl7-org:elm-types:r1", + "annotation" : [ ] + }, { + "localId" : "206", + "localIdentifier" : "Simple", + "uri" : "https://github.com/cqframework/cql-execution/simple", + "version" : "1.0.0", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "206", + "s" : [ { + "value" : [ "", "using " ] + }, { + "s" : [ { + "value" : [ "Simple" ] + } ] + }, { + "value" : [ " version '1.0.0'" ] + } ] + } + } ] + } ] + }, + "contexts" : { + "def" : [ { + "localId" : "211", + "name" : "Patient", + "annotation" : [ ] + } ] + }, + "statements" : { + "def" : [ { + "localId" : "209", + "name" : "Patient", + "context" : "Patient", + "annotation" : [ ], + "expression" : { + "type" : "SingletonFrom", + "localId" : "210", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Retrieve", + "localId" : "208", + "dataType" : "{https://github.com/cqframework/cql-execution/simple}Patient", + "annotation" : [ ], + "include" : [ ], + "codeFilter" : [ ], + "dateFilter" : [ ], + "otherFilter" : [ ] + } + } + }, { + "localId" : "214", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "ProperlyIncludesIntIvl", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "214", + "s" : [ { + "value" : [ "", "define ", "ProperlyIncludesIntIvl", ": " ] + }, { + "r" : "225", + "s" : [ { + "r" : "217", + "s" : [ { + "r" : "215", + "value" : [ "Interval[", "2", ", ", "4", "]" ] + } ] + }, { + "r" : "225", + "value" : [ " ", "properly included in", " " ] + }, { + "r" : "222", + "s" : [ { + "r" : "220", + "value" : [ "Interval[", "1", ", ", "5", "]" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "ProperIncludedIn", + "localId" : "225", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "226", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "227", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "228", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "229", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "Interval", + "localId" : "217", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "218", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "219", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "low" : { + "type" : "Literal", + "localId" : "215", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "annotation" : [ ] + }, + "high" : { + "type" : "Literal", + "localId" : "216", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "4", + "annotation" : [ ] + } + }, { + "type" : "Interval", + "localId" : "222", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "223", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "224", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "low" : { + "type" : "Literal", + "localId" : "220", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "high" : { + "type" : "Literal", + "localId" : "221", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "5", + "annotation" : [ ] + } + } ] + } + }, { + "localId" : "239", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "ProperlyIncludesIntBeginsIvl", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "239", + "s" : [ { + "value" : [ "", "define ", "ProperlyIncludesIntBeginsIvl", ": " ] + }, { + "r" : "250", + "s" : [ { + "r" : "242", + "s" : [ { + "r" : "240", + "value" : [ "Interval[", "1", ", ", "4", "]" ] + } ] + }, { + "r" : "250", + "value" : [ " ", "properly included in", " " ] + }, { + "r" : "247", + "s" : [ { + "r" : "245", + "value" : [ "Interval[", "1", ", ", "5", "]" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "ProperIncludedIn", + "localId" : "250", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "251", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "252", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "253", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "254", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "Interval", + "localId" : "242", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "243", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "244", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "low" : { + "type" : "Literal", + "localId" : "240", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "high" : { + "type" : "Literal", + "localId" : "241", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "4", + "annotation" : [ ] + } + }, { + "type" : "Interval", + "localId" : "247", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "248", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "249", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "low" : { + "type" : "Literal", + "localId" : "245", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "high" : { + "type" : "Literal", + "localId" : "246", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "5", + "annotation" : [ ] + } + } ] + } + }, { + "localId" : "264", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "ProperlyIncludesIntEndsIvl", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "264", + "s" : [ { + "value" : [ "", "define ", "ProperlyIncludesIntEndsIvl", ": " ] + }, { + "r" : "275", + "s" : [ { + "r" : "267", + "s" : [ { + "r" : "265", + "value" : [ "Interval[", "2", ", ", "5", "]" ] + } ] + }, { + "r" : "275", + "value" : [ " ", "properly included in", " " ] + }, { + "r" : "272", + "s" : [ { + "r" : "270", + "value" : [ "Interval[", "1", ", ", "5", "]" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "ProperIncludedIn", + "localId" : "275", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "276", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "277", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "278", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "279", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "Interval", + "localId" : "267", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "268", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "269", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "low" : { + "type" : "Literal", + "localId" : "265", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "annotation" : [ ] + }, + "high" : { + "type" : "Literal", + "localId" : "266", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "5", + "annotation" : [ ] + } + }, { + "type" : "Interval", + "localId" : "272", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "273", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "274", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "low" : { + "type" : "Literal", + "localId" : "270", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "high" : { + "type" : "Literal", + "localId" : "271", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "5", + "annotation" : [ ] + } + } ] + } + }, { + "localId" : "289", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "NotProperlyIncludesIntIvl", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "289", + "s" : [ { + "value" : [ "", "define ", "NotProperlyIncludesIntIvl", ": " ] + }, { + "r" : "300", + "s" : [ { + "r" : "292", + "s" : [ { + "r" : "290", + "value" : [ "Interval[", "1", ", ", "5", "]" ] + } ] + }, { + "r" : "300", + "value" : [ " ", "properly included in", " " ] + }, { + "r" : "297", + "s" : [ { + "r" : "295", + "value" : [ "Interval[", "1", ", ", "5", "]" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "ProperIncludedIn", + "localId" : "300", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "301", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "302", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "303", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "304", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "Interval", + "localId" : "292", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "293", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "294", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "low" : { + "type" : "Literal", + "localId" : "290", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "high" : { + "type" : "Literal", + "localId" : "291", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "5", + "annotation" : [ ] + } + }, { + "type" : "Interval", + "localId" : "297", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "298", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "299", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "low" : { + "type" : "Literal", + "localId" : "295", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "high" : { + "type" : "Literal", + "localId" : "296", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "5", + "annotation" : [ ] + } + } ] + } + }, { + "localId" : "314", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "ProperlyIncludesRealIvl", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "314", + "s" : [ { + "value" : [ "", "define ", "ProperlyIncludesRealIvl", ": " ] + }, { + "r" : "325", + "s" : [ { + "r" : "317", + "s" : [ { + "r" : "315", + "value" : [ "Interval[", "2.34", ", ", "2.56", "]" ] + } ] + }, { + "r" : "325", + "value" : [ " ", "properly included in", " " ] + }, { + "r" : "322", + "s" : [ { + "r" : "320", + "value" : [ "Interval[", "1.234", ", ", "3.456", "]" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "ProperIncludedIn", + "localId" : "325", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "326", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "327", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "328", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "329", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "Interval", + "localId" : "317", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "318", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "319", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } + }, + "low" : { + "type" : "Literal", + "localId" : "315", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "2.34", + "annotation" : [ ] + }, + "high" : { + "type" : "Literal", + "localId" : "316", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "2.56", + "annotation" : [ ] + } + }, { + "type" : "Interval", + "localId" : "322", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "323", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "324", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } + }, + "low" : { + "type" : "Literal", + "localId" : "320", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "1.234", + "annotation" : [ ] + }, + "high" : { + "type" : "Literal", + "localId" : "321", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "3.456", + "annotation" : [ ] + } + } ] + } + }, { + "localId" : "339", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "NotProperlyIncludesRealIvl", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "339", + "s" : [ { + "value" : [ "", "define ", "NotProperlyIncludesRealIvl", ": " ] + }, { + "r" : "350", + "s" : [ { + "r" : "342", + "s" : [ { + "r" : "340", + "value" : [ "Interval[", "1.23", ", ", "2.56", "]" ] + } ] + }, { + "r" : "350", + "value" : [ " ", "properly included in", " " ] + }, { + "r" : "347", + "s" : [ { + "r" : "345", + "value" : [ "Interval[", "1.23", ", ", "2.56", "]" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "ProperIncludedIn", + "localId" : "350", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "351", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "352", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "353", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "354", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "Interval", + "localId" : "342", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "343", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "344", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } + }, + "low" : { + "type" : "Literal", + "localId" : "340", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "1.23", + "annotation" : [ ] + }, + "high" : { + "type" : "Literal", + "localId" : "341", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "2.56", + "annotation" : [ ] + } + }, { + "type" : "Interval", + "localId" : "347", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "348", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "349", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } + }, + "low" : { + "type" : "Literal", + "localId" : "345", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "1.23", + "annotation" : [ ] + }, + "high" : { + "type" : "Literal", + "localId" : "346", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "2.56", + "annotation" : [ ] + } + } ] + } + }, { + "localId" : "364", + "name" : "DateIvl", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "364", "s" : [ { - "value" : [ "","library TestSnippet version '1'" ] - } ] - } - } ], - "identifier" : { - "id" : "TestSnippet", - "version" : "1" - }, - "schemaIdentifier" : { - "id" : "urn:hl7-org:elm", - "version" : "r1" - }, - "usings" : { - "def" : [ { - "localId" : "1", - "localIdentifier" : "System", - "uri" : "urn:hl7-org:elm-types:r1" - }, { - "localId" : "206", - "localIdentifier" : "Simple", - "uri" : "https://github.com/cqframework/cql-execution/simple", - "version" : "1.0.0", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "206", - "s" : [ { - "value" : [ "","using " ] - }, { - "s" : [ { - "value" : [ "Simple" ] - } ] - }, { - "value" : [ " version '1.0.0'" ] - } ] - } - } ] - } ] - }, - "contexts" : { - "def" : [ { - "localId" : "211", - "name" : "Patient" - } ] - }, - "statements" : { - "def" : [ { - "localId" : "209", - "name" : "Patient", - "context" : "Patient", - "expression" : { - "localId" : "210", - "type" : "SingletonFrom", - "signature" : [ ], - "operand" : { - "localId" : "208", - "dataType" : "{https://github.com/cqframework/cql-execution/simple}Patient", - "type" : "Retrieve", - "include" : [ ], - "codeFilter" : [ ], - "dateFilter" : [ ], - "otherFilter" : [ ] - } - } - }, { - "localId" : "214", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "OverlapsBeforeIntIvl", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "214", - "s" : [ { - "value" : [ "","define ","OverlapsBeforeIntIvl",": " ] - }, { - "r" : "225", - "s" : [ { - "r" : "217", - "s" : [ { - "r" : "215", - "value" : [ "Interval[","1",", ","5","]" ] - } ] - }, { - "r" : "225", - "value" : [ " ","overlaps"," " ] - }, { - "r" : "222", - "s" : [ { - "r" : "220", - "value" : [ "Interval[","2",", ","7","]" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "225", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "Overlaps", - "signature" : [ { - "localId" : "226", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "227", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "228", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "229", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "217", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "218", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "219", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "215", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "high" : { - "localId" : "216", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal" - } - }, { - "localId" : "222", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "223", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "224", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "220", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal" - }, - "high" : { - "localId" : "221", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "7", - "type" : "Literal" - } - } ] - } - }, { - "localId" : "232", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "OverlapsAfterIntIvl", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "232", - "s" : [ { - "value" : [ "","define ","OverlapsAfterIntIvl",": " ] - }, { - "r" : "243", - "s" : [ { - "r" : "235", - "s" : [ { - "r" : "233", - "value" : [ "Interval[","3",", ","8","]" ] - } ] - }, { - "r" : "243", - "value" : [ " ","overlaps"," " ] - }, { - "r" : "240", - "s" : [ { - "r" : "238", - "value" : [ "Interval[","1",", ","6","]" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "243", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "Overlaps", - "signature" : [ { - "localId" : "244", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "245", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "246", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "247", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "235", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "236", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "237", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "233", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "high" : { - "localId" : "234", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "8", - "type" : "Literal" - } - }, { - "localId" : "240", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "241", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "242", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "238", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "high" : { - "localId" : "239", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "6", - "type" : "Literal" - } - } ] - } - }, { - "localId" : "250", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "OverlapsBoundaryIntIvl", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "250", - "s" : [ { - "value" : [ "","define ","OverlapsBoundaryIntIvl",": " ] - }, { - "r" : "261", - "s" : [ { - "r" : "253", - "s" : [ { - "r" : "251", - "value" : [ "Interval[","1",", ","5","]" ] - } ] - }, { - "r" : "261", - "value" : [ " ","overlaps"," " ] - }, { - "r" : "258", - "s" : [ { - "r" : "256", - "value" : [ "Interval[","5",", ","10","]" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "261", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "Overlaps", - "signature" : [ { - "localId" : "262", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "263", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "264", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "265", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "253", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "254", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "255", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "251", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "high" : { - "localId" : "252", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal" - } - }, { - "localId" : "258", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "259", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "260", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "256", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal" - }, - "high" : { - "localId" : "257", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal" - } - } ] - } - }, { - "localId" : "268", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "NoOverlapsIntIvl", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "268", + "value" : [ "", "define ", "DateIvl", ": " ] + }, { + "r" : "413", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "381", + "s" : [ { + "r" : "365", + "value" : [ "DateTime", "(", "2012", ", ", "3", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "405", + "s" : [ { + "r" : "389", + "value" : [ "DateTime", "(", "2012", ", ", "9", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "416", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "417", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "expression" : { + "type" : "Interval", + "localId" : "413", + "lowClosed" : true, + "highClosed" : false, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "414", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "415", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "DateTime", + "localId" : "381", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "382", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "383", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "384", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "385", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "386", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "387", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "388", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "365", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "366", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "367", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "368", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "369", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "370", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "371", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "405", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "406", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "407", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "408", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "409", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "410", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "411", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "412", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "389", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "390", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "9", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "391", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "392", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "393", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "394", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "395", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + } + } + }, { + "localId" : "420", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "ProperlyIncludesDateIvl", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "420", + "s" : [ { + "value" : [ "", "define ", "ProperlyIncludesDateIvl", ": " ] + }, { + "r" : "475", + "s" : [ { + "r" : "469", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "437", + "s" : [ { + "r" : "421", + "value" : [ "DateTime", "(", "2012", ", ", "4", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "461", + "s" : [ { + "r" : "445", + "value" : [ "DateTime", "(", "2012", ", ", "6", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ ")" ] + } ] + }, { + "r" : "475", + "value" : [ " ", "properly included in", " " ] + }, { + "r" : "472", + "s" : [ { + "value" : [ "DateIvl" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "ProperIncludedIn", + "localId" : "475", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "476", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "477", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "478", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "479", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "Interval", + "localId" : "469", + "lowClosed" : true, + "highClosed" : false, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "470", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "471", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "DateTime", + "localId" : "437", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "438", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "439", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "440", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "441", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "442", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "443", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "444", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "421", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "422", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "4", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "423", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "424", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "425", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "426", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "427", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "461", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "462", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "463", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "464", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "465", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "466", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "467", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "468", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "445", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "446", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "6", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "447", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "448", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "449", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "450", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "451", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + } + }, { + "type" : "ExpressionRef", + "localId" : "472", + "name" : "DateIvl", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "473", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "474", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + } ] + } + }, { + "localId" : "489", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "NotProperlyIncludesDateIvl", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "489", + "s" : [ { + "value" : [ "", "define ", "NotProperlyIncludesDateIvl", ": " ] + }, { + "r" : "544", + "s" : [ { + "r" : "538", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "506", + "s" : [ { + "r" : "490", + "value" : [ "DateTime", "(", "2012", ", ", "3", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "530", "s" : [ { - "value" : [ "","define ","NoOverlapsIntIvl",": " ] - }, { - "r" : "279", - "s" : [ { - "r" : "271", - "s" : [ { - "r" : "269", - "value" : [ "Interval[","1",",","5",")" ] - } ] - }, { - "r" : "279", - "value" : [ " ","overlaps"," " ] - }, { - "r" : "276", - "s" : [ { - "r" : "274", - "value" : [ "Interval[","5",", ","10","]" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "279", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "Overlaps", - "signature" : [ { - "localId" : "280", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "281", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "282", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "283", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "271", - "lowClosed" : true, - "highClosed" : false, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "272", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "273", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "269", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "high" : { - "localId" : "270", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal" - } - }, { - "localId" : "276", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "277", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "278", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "274", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal" - }, - "high" : { - "localId" : "275", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal" - } - } ] - } - }, { - "localId" : "286", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "OverlapsBeforeRealIvl", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "286", + "r" : "514", + "value" : [ "DateTime", "(", "2012", ", ", "9", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ ")" ] + } ] + }, { + "r" : "544", + "value" : [ " ", "properly included in", " " ] + }, { + "r" : "541", + "s" : [ { + "value" : [ "DateIvl" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "ProperIncludedIn", + "localId" : "544", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "545", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "546", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "547", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "548", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "Interval", + "localId" : "538", + "lowClosed" : true, + "highClosed" : false, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "539", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "540", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "DateTime", + "localId" : "506", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "507", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "508", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "509", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "510", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "511", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "512", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "513", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "490", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "491", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "492", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "493", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "494", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "495", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "496", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "530", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "531", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "532", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "533", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "534", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "535", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "536", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "537", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "514", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "515", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "9", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "516", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "517", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "518", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "519", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "520", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + } + }, { + "type" : "ExpressionRef", + "localId" : "541", + "name" : "DateIvl", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "542", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "543", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + } ] + } + }, { + "localId" : "558", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "PosInfEndProperlyIncludedInDateIvl", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "558", + "s" : [ { + "value" : [ "", "define ", "PosInfEndProperlyIncludedInDateIvl", ": " ] + }, { + "r" : "617", + "s" : [ { + "r" : "584", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "575", + "s" : [ { + "r" : "559", + "value" : [ "DateTime", "(", "2013", ", ", "1", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "r" : "583", + "value" : [ ", ", "null", "]" ] + } ] + }, { + "r" : "617", + "value" : [ " ", "properly included in", " " ] + }, { + "r" : "613", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "604", "s" : [ { - "value" : [ "","define ","OverlapsBeforeRealIvl",": " ] - }, { - "r" : "297", - "s" : [ { - "r" : "289", - "s" : [ { - "r" : "287", - "value" : [ "Interval[","1.234",", ","1.567","]" ] - } ] - }, { - "r" : "297", - "value" : [ " ","overlaps"," " ] - }, { - "r" : "294", - "s" : [ { - "r" : "292", - "value" : [ "Interval[","1.345",", ","1.678","]" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "297", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "Overlaps", - "signature" : [ { - "localId" : "298", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "299", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "300", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "301", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "289", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "290", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "291", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "287", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "1.234", - "type" : "Literal" - }, - "high" : { - "localId" : "288", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "1.567", - "type" : "Literal" - } - }, { - "localId" : "294", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "295", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "296", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "292", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "1.345", - "type" : "Literal" - }, - "high" : { - "localId" : "293", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "1.678", - "type" : "Literal" - } - } ] - } - }, { - "localId" : "304", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "OverlapsAfterRealIvl", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "304", - "s" : [ { - "value" : [ "","define ","OverlapsAfterRealIvl",": " ] - }, { - "r" : "315", - "s" : [ { - "r" : "307", - "s" : [ { - "r" : "305", - "value" : [ "Interval[","1.345",", ","1.678","]" ] - } ] - }, { - "r" : "315", - "value" : [ " ","overlaps"," " ] - }, { - "r" : "312", - "s" : [ { - "r" : "310", - "value" : [ "Interval[","1.234",", ","1.567","]" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "315", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "Overlaps", - "signature" : [ { - "localId" : "316", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "317", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "318", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "319", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "307", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "308", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "309", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "305", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "1.345", - "type" : "Literal" - }, - "high" : { - "localId" : "306", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "1.678", - "type" : "Literal" - } - }, { - "localId" : "312", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "313", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "314", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "310", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "1.234", - "type" : "Literal" - }, - "high" : { - "localId" : "311", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "1.567", - "type" : "Literal" - } - } ] - } - }, { - "localId" : "322", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "OverlapsBoundaryRealIvl", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "322", + "r" : "588", + "value" : [ "DateTime", "(", "2000", ", ", "1", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "r" : "612", + "value" : [ ", ", "null", "]" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "ProperIncludedIn", + "localId" : "617", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "618", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "619", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "620", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "621", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "Interval", + "localId" : "584", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "586", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "587", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "DateTime", + "localId" : "575", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "576", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "577", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "578", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "579", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "580", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "581", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "582", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "559", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2013", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "560", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "561", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "562", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "563", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "564", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "565", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + }, + "high" : { + "type" : "As", + "localId" : "585", + "asType" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Null", + "localId" : "583", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } + } + }, { + "type" : "Interval", + "localId" : "613", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "615", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "616", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "DateTime", + "localId" : "604", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "605", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "606", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "607", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "608", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "609", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "610", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "611", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "588", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "589", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "590", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "591", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "592", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "593", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "594", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + }, + "high" : { + "type" : "As", + "localId" : "614", + "asType" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Null", + "localId" : "612", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } + } + } ] + } + }, { + "localId" : "631", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "PosInfEndNotProperlyIncludedInDateIvl", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "631", + "s" : [ { + "value" : [ "", "define ", "PosInfEndNotProperlyIncludedInDateIvl", ": " ] + }, { + "r" : "712", + "s" : [ { + "r" : "657", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "648", + "s" : [ { + "r" : "632", + "value" : [ "DateTime", "(", "2013", ", ", "1", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "r" : "656", + "value" : [ ", ", "null", "]" ] + } ] + }, { + "r" : "712", + "value" : [ " ", "properly included in", " " ] + }, { + "r" : "709", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "677", "s" : [ { - "value" : [ "","define ","OverlapsBoundaryRealIvl",": " ] - }, { - "r" : "333", - "s" : [ { - "r" : "325", - "s" : [ { - "r" : "323", - "value" : [ "Interval[","1.0",", ","1.234","]" ] - } ] - }, { - "r" : "333", - "value" : [ " ","overlaps"," " ] - }, { - "r" : "330", - "s" : [ { - "r" : "328", - "value" : [ "Interval[","1.234",", ","2.0","]" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "333", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "Overlaps", - "signature" : [ { - "localId" : "334", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "335", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "336", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "337", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "325", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "326", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "327", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "323", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "1.0", - "type" : "Literal" - }, - "high" : { - "localId" : "324", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "1.234", - "type" : "Literal" - } - }, { - "localId" : "330", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "331", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "332", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "328", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "1.234", - "type" : "Literal" - }, - "high" : { - "localId" : "329", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "2.0", - "type" : "Literal" - } - } ] - } - }, { - "localId" : "340", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "NoOverlapsRealIvl", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "340", + "r" : "661", + "value" : [ "DateTime", "(", "2000", ", ", "1", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "701", "s" : [ { - "value" : [ "","define ","NoOverlapsRealIvl",": " ] - }, { - "r" : "351", - "s" : [ { - "r" : "343", - "s" : [ { - "r" : "341", - "value" : [ "Interval[","1.0",", ","1.23456789",")" ] - } ] - }, { - "r" : "351", - "value" : [ " ","overlaps"," " ] - }, { - "r" : "348", - "s" : [ { - "r" : "346", - "value" : [ "Interval[","1.23456789",", ","2.0","]" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "351", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "Overlaps", - "signature" : [ { - "localId" : "352", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "353", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "354", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "355", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "343", - "lowClosed" : true, - "highClosed" : false, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "344", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "345", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "341", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "1.0", - "type" : "Literal" - }, - "high" : { - "localId" : "342", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "1.23456789", - "type" : "Literal" - } - }, { - "localId" : "348", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "349", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "350", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "346", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "1.23456789", - "type" : "Literal" - }, - "high" : { - "localId" : "347", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "2.0", - "type" : "Literal" - } - } ] - } - }, { - "localId" : "358", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "OverlapsIsNull", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "358", + "r" : "685", + "value" : [ "DateTime", "(", "2020", ", ", "1", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ "]" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "ProperIncludedIn", + "localId" : "712", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "713", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "714", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "715", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "716", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "Interval", + "localId" : "657", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "659", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "660", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "DateTime", + "localId" : "648", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "649", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "650", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "651", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "652", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "653", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "654", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "655", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "632", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2013", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "633", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "634", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "635", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "636", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "637", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "638", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + }, + "high" : { + "type" : "As", + "localId" : "658", + "asType" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Null", + "localId" : "656", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } + } + }, { + "type" : "Interval", + "localId" : "709", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "710", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "711", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "DateTime", + "localId" : "677", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "678", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "679", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "680", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "681", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "682", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "683", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "684", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "661", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "662", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "663", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "664", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "665", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "666", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "667", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "701", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "702", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "703", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "704", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "705", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "706", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "707", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "708", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "685", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2020", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "686", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "687", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "688", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "689", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "690", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "691", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + } + } ] + } + }, { + "localId" : "726", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "UnknownEndMayBeProperlyIncludedInDateIvl", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "726", + "s" : [ { + "value" : [ "", "define ", "UnknownEndMayBeProperlyIncludedInDateIvl", ": " ] + }, { + "r" : "807", + "s" : [ { + "r" : "752", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "743", + "s" : [ { + "r" : "727", + "value" : [ "DateTime", "(", "2013", ", ", "1", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "r" : "751", + "value" : [ ", ", "null", ")" ] + } ] + }, { + "r" : "807", + "value" : [ " ", "properly included in", " " ] + }, { + "r" : "804", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "772", "s" : [ { - "value" : [ "","define ","OverlapsIsNull",": " ] - }, { - "r" : "374", - "s" : [ { - "r" : "361", - "s" : [ { - "r" : "359", - "value" : [ "Interval[","6",", ","10","]" ] - } ] - }, { - "r" : "374", - "value" : [ " ","overlaps"," " ] - }, { - "r" : "364", - "s" : [ { - "value" : [ "(" ] - }, { - "r" : "364", - "s" : [ { - "r" : "365", - "value" : [ "null"," as " ] - }, { - "r" : "366", - "s" : [ { - "value" : [ "Interval<" ] - }, { - "r" : "367", - "s" : [ { - "value" : [ "Integer" ] - } ] - }, { - "value" : [ ">" ] - } ] - } ] - }, { - "value" : [ ")" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "374", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "Overlaps", - "signature" : [ { - "localId" : "375", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "376", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "377", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "378", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "361", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "362", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "363", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "359", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "6", - "type" : "Literal" - }, - "high" : { - "localId" : "360", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal" - } - }, { - "localId" : "364", - "strict" : false, - "type" : "As", - "resultTypeSpecifier" : { - "localId" : "372", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "373", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "signature" : [ ], - "operand" : { - "localId" : "365", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - }, - "asTypeSpecifier" : { - "localId" : "366", - "type" : "IntervalTypeSpecifier", - "resultTypeSpecifier" : { - "localId" : "368", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "369", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "pointType" : { - "localId" : "367", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } - } ] - } - } ] - } - } + "r" : "756", + "value" : [ "DateTime", "(", "2000", ", ", "1", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "796", + "s" : [ { + "r" : "780", + "value" : [ "DateTime", "(", "2020", ", ", "1", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ "]" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "ProperIncludedIn", + "localId" : "807", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "808", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "809", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "810", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "811", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "Interval", + "localId" : "752", + "lowClosed" : true, + "highClosed" : false, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "754", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "755", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "DateTime", + "localId" : "743", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "744", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "745", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "746", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "747", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "748", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "749", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "750", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "727", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2013", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "728", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "729", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "730", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "731", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "732", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "733", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + }, + "high" : { + "type" : "As", + "localId" : "753", + "asType" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Null", + "localId" : "751", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } + } + }, { + "type" : "Interval", + "localId" : "804", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "805", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "806", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "DateTime", + "localId" : "772", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "773", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "774", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "775", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "776", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "777", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "778", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "779", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "756", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "757", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "758", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "759", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "760", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "761", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "762", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "796", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "797", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "798", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "799", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "800", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "801", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "802", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "803", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "780", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2020", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "781", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "782", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "783", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "784", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "785", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "786", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + } + } ] + } + }, { + "localId" : "821", + "name" : "PrecisionDateIvl", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "821", + "s" : [ { + "value" : [ "", "define ", "PrecisionDateIvl", ": " ] + }, { + "r" : "870", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "838", + "s" : [ { + "r" : "822", + "value" : [ "DateTime", "(", "2012", ", ", "3", ", ", "2", ", ", "12", ", ", "34", ", ", "56", ", ", "789", ")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "862", + "s" : [ { + "r" : "846", + "value" : [ "DateTime", "(", "2012", ", ", "9", ", ", "2", ", ", "1", ", ", "23", ", ", "45", ", ", "678", ")" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "873", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "874", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "expression" : { + "type" : "Interval", + "localId" : "870", + "lowClosed" : true, + "highClosed" : false, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "871", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "872", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "DateTime", + "localId" : "838", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "839", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "840", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "841", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "842", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "843", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "844", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "845", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "822", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "823", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "824", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "825", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "12", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "826", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "34", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "827", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "56", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "828", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "789", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "862", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "863", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "864", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "865", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "866", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "867", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "868", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "869", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "846", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "847", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "9", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "848", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "849", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "850", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "23", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "851", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "45", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "852", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "678", + "annotation" : [ ] + } + } + } + }, { + "localId" : "877", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "ProperlyIncludesDayOfIvlLowEdge", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "877", + "s" : [ { + "value" : [ "", "define ", "ProperlyIncludesDayOfIvlLowEdge", ": " ] + }, { + "r" : "932", + "s" : [ { + "r" : "926", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "894", + "s" : [ { + "r" : "878", + "value" : [ "DateTime", "(", "2012", ", ", "3", ", ", "2", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "918", + "s" : [ { + "r" : "902", + "value" : [ "DateTime", "(", "2012", ", ", "6", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ ")" ] + } ] + }, { + "r" : "932", + "value" : [ " ", "properly included in day of", " " ] + }, { + "r" : "929", + "s" : [ { + "value" : [ "PrecisionDateIvl" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "ProperIncludedIn", + "localId" : "932", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "precision" : "Day", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "933", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "934", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "935", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "936", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "Interval", + "localId" : "926", + "lowClosed" : true, + "highClosed" : false, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "927", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "928", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "DateTime", + "localId" : "894", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "895", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "896", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "897", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "898", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "899", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "900", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "901", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "878", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "879", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "880", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "881", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "882", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "883", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "884", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "918", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "919", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "920", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "921", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "922", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "923", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "924", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "925", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "902", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "903", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "6", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "904", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "905", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "906", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "907", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "908", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + } + }, { + "type" : "ExpressionRef", + "localId" : "929", + "name" : "PrecisionDateIvl", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "930", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "931", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + } ] + } + }, { + "localId" : "946", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "ProperlyIncludesDayOfIvlHighEdge", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "946", + "s" : [ { + "value" : [ "", "define ", "ProperlyIncludesDayOfIvlHighEdge", ": " ] + }, { + "r" : "1001", + "s" : [ { + "r" : "995", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "963", + "s" : [ { + "r" : "947", + "value" : [ "DateTime", "(", "2012", ", ", "6", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "987", + "s" : [ { + "r" : "971", + "value" : [ "DateTime", "(", "2012", ", ", "9", ", ", "2", ", ", "23", ", ", "59", ", ", "59", ", ", "999", ")" ] + } ] + }, { + "value" : [ ")" ] + } ] + }, { + "r" : "1001", + "value" : [ " ", "properly included in day of", " " ] + }, { + "r" : "998", + "s" : [ { + "value" : [ "PrecisionDateIvl" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "ProperIncludedIn", + "localId" : "1001", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "precision" : "Day", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "1002", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1003", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "1004", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1005", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "Interval", + "localId" : "995", + "lowClosed" : true, + "highClosed" : false, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "996", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "997", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "DateTime", + "localId" : "963", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "964", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "965", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "966", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "967", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "968", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "969", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "970", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "947", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "948", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "6", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "949", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "950", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "951", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "952", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "953", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "987", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "988", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "989", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "990", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "991", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "992", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "993", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "994", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "971", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "972", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "9", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "973", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "974", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "23", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "975", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "59", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "976", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "59", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "977", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "999", + "annotation" : [ ] + } + } + }, { + "type" : "ExpressionRef", + "localId" : "998", + "name" : "PrecisionDateIvl", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "999", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1000", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + } ] + } + }, { + "localId" : "1015", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "ProperlyIncludesDayOfIvlNearEdges", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "1015", + "s" : [ { + "value" : [ "", "define ", "ProperlyIncludesDayOfIvlNearEdges", ": " ] + }, { + "r" : "1070", + "s" : [ { + "r" : "1064", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "1032", + "s" : [ { + "r" : "1016", + "value" : [ "DateTime", "(", "2012", ", ", "3", ", ", "3", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "1056", + "s" : [ { + "r" : "1040", + "value" : [ "DateTime", "(", "2012", ", ", "9", ", ", "1", ", ", "23", ", ", "59", ", ", "59", ", ", "999", ")" ] + } ] + }, { + "value" : [ ")" ] + } ] + }, { + "r" : "1070", + "value" : [ " ", "properly included in day of", " " ] + }, { + "r" : "1067", + "s" : [ { + "value" : [ "PrecisionDateIvl" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "ProperIncludedIn", + "localId" : "1070", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "precision" : "Day", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "1071", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1072", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "1073", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1074", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "Interval", + "localId" : "1064", + "lowClosed" : true, + "highClosed" : false, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1065", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1066", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "DateTime", + "localId" : "1032", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1033", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1034", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1035", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1036", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1037", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1038", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1039", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1016", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1017", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "1018", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "1019", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "1020", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "1021", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "1022", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "1056", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1057", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1058", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1059", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1060", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1061", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1062", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1063", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1040", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1041", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "9", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "1042", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "1043", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "23", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "1044", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "59", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "1045", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "59", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "1046", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "999", + "annotation" : [ ] + } + } + }, { + "type" : "ExpressionRef", + "localId" : "1067", + "name" : "PrecisionDateIvl", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1068", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1069", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + } ] + } + }, { + "localId" : "1084", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "NotProperlyIncludesDayOfIvlSameEdges", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "1084", + "s" : [ { + "value" : [ "", "define ", "NotProperlyIncludesDayOfIvlSameEdges", ": " ] + }, { + "r" : "1139", + "s" : [ { + "r" : "1133", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "1101", + "s" : [ { + "r" : "1085", + "value" : [ "DateTime", "(", "2012", ", ", "3", ", ", "2", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "1125", + "s" : [ { + "r" : "1109", + "value" : [ "DateTime", "(", "2012", ", ", "9", ", ", "2", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ "]" ] + } ] + }, { + "r" : "1139", + "value" : [ " ", "properly included in day of", " " ] + }, { + "r" : "1136", + "s" : [ { + "value" : [ "PrecisionDateIvl" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "ProperIncludedIn", + "localId" : "1139", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "precision" : "Day", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "1140", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1141", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "1142", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1143", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "Interval", + "localId" : "1133", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1134", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1135", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "DateTime", + "localId" : "1101", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1102", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1103", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1104", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1105", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1106", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1107", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1108", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1085", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1086", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "1087", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "1088", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "1089", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "1090", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "1091", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "1125", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1126", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1127", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1128", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1129", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1130", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1131", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1132", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1109", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1110", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "9", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "1111", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "1112", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "1113", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "1114", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "1115", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + } + }, { + "type" : "ExpressionRef", + "localId" : "1136", + "name" : "PrecisionDateIvl", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1137", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1138", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + } ] + } + }, { + "localId" : "1153", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "MayProperlyIncludeDayOfIvlVeryImpreciseLow", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "1153", + "s" : [ { + "value" : [ "", "define ", "MayProperlyIncludeDayOfIvlVeryImpreciseLow", ": " ] + }, { + "r" : "1178", + "s" : [ { + "r" : "1172", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "1160", + "s" : [ { + "r" : "1154", + "value" : [ "DateTime", "(", "2012", ", ", "3", ")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "1169", + "s" : [ { + "r" : "1163", + "value" : [ "DateTime", "(", "2012", ", ", "6", ")" ] + } ] + }, { + "value" : [ "]" ] + } ] + }, { + "r" : "1178", + "value" : [ " ", "properly included in day of", " " ] + }, { + "r" : "1175", + "s" : [ { + "value" : [ "PrecisionDateIvl" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "ProperIncludedIn", + "localId" : "1178", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "precision" : "Day", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "1179", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1180", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "1181", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1182", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "Interval", + "localId" : "1172", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1173", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1174", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "DateTime", + "localId" : "1160", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1161", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1162", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1154", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1155", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "1169", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1170", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1171", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1163", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1164", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "6", + "annotation" : [ ] + } + } + }, { + "type" : "ExpressionRef", + "localId" : "1175", + "name" : "PrecisionDateIvl", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1176", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1177", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + } ] + } + }, { + "localId" : "1192", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "MayProperlyIncludeDayOfIvlVeryImpreciseHigh", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "1192", + "s" : [ { + "value" : [ "", "define ", "MayProperlyIncludeDayOfIvlVeryImpreciseHigh", ": " ] + }, { + "r" : "1217", + "s" : [ { + "r" : "1211", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "1199", + "s" : [ { + "r" : "1193", + "value" : [ "DateTime", "(", "2012", ", ", "6", ")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "1208", + "s" : [ { + "r" : "1202", + "value" : [ "DateTime", "(", "2012", ", ", "9", ")" ] + } ] + }, { + "value" : [ "]" ] + } ] + }, { + "r" : "1217", + "value" : [ " ", "properly included in day of", " " ] + }, { + "r" : "1214", + "s" : [ { + "value" : [ "PrecisionDateIvl" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "ProperIncludedIn", + "localId" : "1217", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "precision" : "Day", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "1218", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1219", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "1220", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1221", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "Interval", + "localId" : "1211", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1212", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1213", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "DateTime", + "localId" : "1199", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1200", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1201", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1193", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1194", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "6", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "1208", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1209", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1210", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1202", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1203", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "9", + "annotation" : [ ] + } + } + }, { + "type" : "ExpressionRef", + "localId" : "1214", + "name" : "PrecisionDateIvl", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1215", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1216", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + } ] + } + }, { + "localId" : "1231", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "MayProperlyIncludeDayOfIvlVeryImpreciseLowAndHigh", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "1231", + "s" : [ { + "value" : [ "", "define ", "MayProperlyIncludeDayOfIvlVeryImpreciseLowAndHigh", ": " ] + }, { + "r" : "1256", + "s" : [ { + "r" : "1250", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "1238", + "s" : [ { + "r" : "1232", + "value" : [ "DateTime", "(", "2012", ", ", "3", ")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "1247", + "s" : [ { + "r" : "1241", + "value" : [ "DateTime", "(", "2012", ", ", "9", ")" ] + } ] + }, { + "value" : [ "]" ] + } ] + }, { + "r" : "1256", + "value" : [ " ", "properly included in day of", " " ] + }, { + "r" : "1253", + "s" : [ { + "value" : [ "PrecisionDateIvl" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "ProperIncludedIn", + "localId" : "1256", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "precision" : "Day", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "1257", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1258", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "1259", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1260", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "Interval", + "localId" : "1250", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1251", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1252", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "DateTime", + "localId" : "1238", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1239", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1240", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1232", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1233", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "1247", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1248", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1249", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1241", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1242", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "9", + "annotation" : [ ] + } + } + }, { + "type" : "ExpressionRef", + "localId" : "1253", + "name" : "PrecisionDateIvl", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1254", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1255", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + } ] + } + }, { + "localId" : "1270", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "MayProperlyIncludeDayOfIvlVeryImpreciseSurrounding", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "1270", + "s" : [ { + "value" : [ "", "define ", "MayProperlyIncludeDayOfIvlVeryImpreciseSurrounding", ": " ] + }, { + "r" : "1289", + "s" : [ { + "r" : "1283", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "1275", + "s" : [ { + "r" : "1271", + "value" : [ "DateTime", "(", "2012", ")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "1281", + "s" : [ { + "r" : "1277", + "value" : [ "DateTime", "(", "2012", ")" ] + } ] + }, { + "value" : [ "]" ] + } ] + }, { + "r" : "1289", + "value" : [ " ", "properly included in day of", " " ] + }, { + "r" : "1286", + "s" : [ { + "value" : [ "PrecisionDateIvl" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "ProperIncludedIn", + "localId" : "1289", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "precision" : "Day", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "1290", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1291", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "1292", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1293", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "Interval", + "localId" : "1283", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1284", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1285", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "DateTime", + "localId" : "1275", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1276", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1271", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "1281", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1282", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1277", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + } + } + }, { + "type" : "ExpressionRef", + "localId" : "1286", + "name" : "PrecisionDateIvl", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1287", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1288", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + } ] + } + } ] + } + } } -/* OverlapsDateTime +/* After library TestSnippet version '1' using Simple version '1.0.0' context Patient -define ivlA: Interval[DateTime(2012, 1, 1, 0, 0, 0, 0), DateTime(2012, 6, 1, 0, 0, 0, 0)) -define ivlB: Interval[DateTime(2012, 3, 1, 0, 0, 0, 0), DateTime(2012, 9, 1, 0, 0, 0, 0)) -define ivlC: Interval[DateTime(2012, 1, 1, 0, 0, 0, 0), DateTime(2013, 1, 1, 0, 0, 0, 0)) -define ivlD: Interval[DateTime(2013, 1, 1, 0, 0, 0, 0), DateTime(2014, 1, 1, 0, 0, 0, 0)) -define ivlE: Interval[DateTime(2013), DateTime(2015)] -define ivlF: Interval[DateTime(2014), DateTime(2016)] -define ivlG: Interval[DateTime(2016), DateTime(2017)] -define ivlH: Interval[DateTime(2012, 2, 3), DateTime(2013, 3)] -define OverlapsBefore: ivlA overlaps ivlB -define OverlapsAfter: ivlB overlaps ivlA -define OverlapsContained: ivlB overlaps ivlC -define OverlapsContains: ivlC overlaps ivlB -define ImpreciseOverlap: ivlD overlaps ivlH -define NoOverlap: ivlC overlaps ivlD -define NoImpreciseOverlap: ivlE overlaps ivlG -define UnknownOverlap: ivlE overlaps ivlH -define MatchingPrecisionOverlap: ivlF overlaps ivlG +define AfterIntIvl: Interval[5, 10] after Interval[2, 4] +define NotAfterIntIvl: Interval[5, 10] after Interval[2, 5] +define AfterRealIvl: Interval[1.234, 2.345] after Interval[0.0, 1.23] +define NotAfterRealIvl: Interval[1.234, 2.345] after Interval[0.0, 1.234] +define DateIvl: Interval[DateTime(2012, 3, 1, 0, 0, 0, 0), DateTime(2012, 9, 1, 0, 0, 0, 0)) +define AfterDateIvl: DateIvl after Interval[DateTime(2012, 1, 1, 0, 0, 0, 0), DateTime(2012, 3, 1, 0, 0, 0, 0)) +define NotAfterDateIvl: DateIvl after Interval[DateTime(2012, 1, 1, 0, 0, 0, 0), DateTime(2012, 3, 1, 0, 0, 0, 0)] +define AfterImpreciseDateIvl: DateIvl after Interval[DateTime(2012, 1), DateTime(2012, 2)] +define NotAfterImpreciseDateIvl: DateIvl after Interval[DateTime(2012, 1), DateTime(2012, 3)] +define MayBeAfterImpreciseDateIvl: DateIvl after Interval[DateTime(2012), DateTime(2012)] define PrecisionDateIvl: Interval[DateTime(2012, 3, 2, 12, 34, 56, 789), DateTime(2012, 9, 2, 1, 23, 45, 678)) -// NOTE: There appears to be a bug in cql-to-elm that translates these 'overlaps' to 'OverlapsAfter'! -define OverlapsBeforeDayOfIvlEdge: PrecisionDateIvl overlaps day of Interval[DateTime(2012, 9, 2, 23, 59, 59, 999), DateTime(2012, 10, 1, 0, 0, 0, 0)] -define OverlapsAfterDayOfIvlEdge: PrecisionDateIvl overlaps day of Interval[DateTime(2012, 1, 2, 0, 0, 0, 0), DateTime(2012, 3, 2, 0, 0, 0, 0)] -define OverlapsContainsDayOfIvl: PrecisionDateIvl overlaps day of Interval[DateTime(2012, 5, 1, 0, 0, 0, 0), DateTime(2012, 6, 1, 0, 0, 0, 0)] -define OverlapsContainedByDayOfIvl: PrecisionDateIvl overlaps day of Interval[DateTime(2012, 1, 1, 0, 0, 0, 0), DateTime(2012, 12, 1, 0, 0, 0, 0)] -define NotOverlapsDayOfIvl: PrecisionDateIvl overlaps day of Interval[DateTime(2012, 1, 2, 0, 0, 0, 0), DateTime(2012, 3, 1, 0, 0, 0, 0)] -define OverlapsAfterDayOfImpreciseInterval: PrecisionDateIvl overlaps day of Interval[DateTime(2012, 1), DateTime(2012, 4)] -define MayOverlapBeforeDayOfImpreciseIvl: PrecisionDateIvl overlaps day of Interval[DateTime(2012, 9), DateTime(2012, 10)] -define MayOverlapAfterDayOfImpreciseIvl: PrecisionDateIvl overlaps day of Interval[DateTime(2012, 1), DateTime(2012, 3)] +define AfterDayOfIvl: PrecisionDateIvl after day of Interval[DateTime(2012, 1, 2, 0, 0, 0, 0), DateTime(2012, 3, 1, 0, 0, 0, 0)] +define BeforeDayOfIvl: PrecisionDateIvl after day of Interval[DateTime(2012, 9, 3, 0, 0, 0, 0), DateTime(2012, 12, 1, 0, 0, 0, 0)] +define StartsSameDayOfIvlEnd: PrecisionDateIvl after day of Interval[DateTime(2012, 9, 2, 23, 59, 59, 999), DateTime(2012, 10, 2, 0, 0, 0, 0)] +define EndsSameDayOfIvlStart: PrecisionDateIvl after day of Interval[DateTime(2012, 1, 2, 0, 0, 0, 0), DateTime(2012, 3, 2, 0, 0, 0, 0)] +define MayBeAfterDayOfImpreciseIvl: PrecisionDateIvl after day of Interval[DateTime(2012, 1), DateTime(2012, 3)] +define MayBeBeforeDayOfImpreciseIvl: PrecisionDateIvl after day of Interval[DateTime(2012, 9), DateTime(2012, 12)] +define ImpDateIvl: Interval[DateTime(2012, 3), DateTime(2012, 8)] +define ImpreciseAfterDateIvl: ImpDateIvl after Interval[DateTime(2012, 1, 1, 0, 0, 0, 0), DateTime(2012, 3, 1, 0, 0, 0, 0)) +define ImpreciseNotAfterDateIvl: ImpDateIvl after Interval[DateTime(2012, 1, 1, 0, 0, 0, 0), DateTime(2012, 4, 1, 0, 0, 0, 0)) +define ImpreciseMayBeAfterDateIvl: ImpDateIvl after Interval[DateTime(2012, 1, 1, 0, 0, 0, 0), DateTime(2012, 3, 15, 0, 0, 0, 0)) +define NegInfBegNotAfterIntIvl: Interval[null, 100] after Interval[-100, 0] +define UnknownBegMayBeAfterIntIvl: Interval(null, 100] after Interval[-100, 0] +define UnknownBegNotAfterIntIvl: Interval(null, 5] after Interval[0, 100] +define PosInfEndAfterIntIvl: Interval[0, null] after Interval[-100, -20] +define PosInfEndNotAfterIntIvl: Interval[0, null] after Interval[-100, 0] +define UnknownEndAfterIntIvl: Interval[0, null) after Interval[-100, -20] +define UnknownEndNotAfterIntIvl: Interval[0, null) after Interval[-100, 0] +define NegInfBegNotAfterDateIvl: Interval[null, DateTime(2013, 1, 1, 0, 0, 0, 0)) after Interval[DateTime(2000, 1, 1, 0, 0, 0, 0), DateTime(2010, 1, 1, 0, 0, 0, 0)] +define UnknownBegMayBeAfterDateIvl: Interval(null, DateTime(2013, 1, 1, 0, 0, 0, 0)) after Interval[DateTime(2000, 1, 1, 0, 0, 0, 0), DateTime(2010, 1, 1, 0, 0, 0, 0)] +define UnknownBegNotAfterDateIvl: Interval(null, DateTime(2013, 1, 1, 0, 0, 0, 0)) after Interval[DateTime(2000, 1, 1, 0, 0, 0, 0), DateTime(2020, 1, 1, 0, 0, 0, 0)] +define PosInfEndAfterDateIvl: Interval[DateTime(2013, 1, 1, 0, 0, 0, 0), null] after Interval[DateTime(2000, 1, 1, 0, 0, 0, 0), DateTime(2010, 1, 1, 0, 0, 0, 0)] +define PosInfEndNotAfterDateIvl: Interval[DateTime(2013, 1, 1, 0, 0, 0, 0), null] after Interval[DateTime(2000, 1, 1, 0, 0, 0, 0), DateTime(2020, 1, 1, 0, 0, 0, 0)] +define UnknownEndAfterDateIvl: Interval[DateTime(2013, 1, 1, 0, 0, 0, 0), null) after Interval[DateTime(2000, 1, 1, 0, 0, 0, 0), DateTime(2010, 1, 1, 0, 0, 0, 0)] +define UnknownEndNotAfterDateIvl: Interval[DateTime(2013, 1, 1, 0, 0, 0, 0), null) after Interval[DateTime(2020, 1, 1, 0, 0, 0, 0), DateTime(2040, 1, 1, 0, 0, 0, 0)] */ -module.exports['OverlapsDateTime'] = { - "library" : { - "localId" : "0", - "annotation" : [ { - "translatorVersion" : "3.27.0", - "translatorOptions" : "EnableDateRangeOptimization,EnableAnnotations,EnableResultTypes", - "signatureLevel" : "All", - "type" : "CqlToElmInfo" - }, { - "type" : "Annotation", - "s" : { - "r" : "1083", +module.exports['After'] = { + "library" : { + "localId" : "0", + "annotation" : [ { + "type" : "CqlToElmInfo", + "translatorVersion" : "4.2.0", + "translatorOptions" : "EnableDateRangeOptimization,EnableAnnotations,EnableResultTypes", + "signatureLevel" : "All" + }, { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "1813", + "s" : [ { + "value" : [ "", "library TestSnippet version '1'" ] + } ] + } + } ], + "identifier" : { + "id" : "TestSnippet", + "version" : "1" + }, + "schemaIdentifier" : { + "id" : "urn:hl7-org:elm", + "version" : "r1" + }, + "usings" : { + "def" : [ { + "localId" : "1", + "localIdentifier" : "System", + "uri" : "urn:hl7-org:elm-types:r1", + "annotation" : [ ] + }, { + "localId" : "206", + "localIdentifier" : "Simple", + "uri" : "https://github.com/cqframework/cql-execution/simple", + "version" : "1.0.0", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "206", "s" : [ { - "value" : [ "","library TestSnippet version '1'" ] - } ] - } - } ], - "identifier" : { - "id" : "TestSnippet", - "version" : "1" - }, - "schemaIdentifier" : { - "id" : "urn:hl7-org:elm", - "version" : "r1" - }, - "usings" : { - "def" : [ { - "localId" : "1", - "localIdentifier" : "System", - "uri" : "urn:hl7-org:elm-types:r1" - }, { - "localId" : "206", - "localIdentifier" : "Simple", - "uri" : "https://github.com/cqframework/cql-execution/simple", - "version" : "1.0.0", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "206", - "s" : [ { - "value" : [ "","using " ] - }, { - "s" : [ { - "value" : [ "Simple" ] - } ] - }, { - "value" : [ " version '1.0.0'" ] - } ] - } - } ] - } ] - }, - "contexts" : { - "def" : [ { - "localId" : "211", - "name" : "Patient" - } ] - }, - "statements" : { - "def" : [ { - "localId" : "209", - "name" : "Patient", - "context" : "Patient", - "expression" : { - "localId" : "210", - "type" : "SingletonFrom", - "signature" : [ ], - "operand" : { - "localId" : "208", - "dataType" : "{https://github.com/cqframework/cql-execution/simple}Patient", - "type" : "Retrieve", - "include" : [ ], - "codeFilter" : [ ], - "dateFilter" : [ ], - "otherFilter" : [ ] - } - } - }, { - "localId" : "214", - "name" : "ivlA", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "214", - "s" : [ { - "value" : [ "","define ","ivlA",": " ] - }, { - "r" : "263", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "231", - "s" : [ { - "r" : "215", - "value" : [ "DateTime","(","2012",", ","1",", ","1",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "255", - "s" : [ { - "r" : "239", - "value" : [ "DateTime","(","2012",", ","6",", ","1",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ ")" ] - } ] - } ] - } - } ], - "resultTypeSpecifier" : { - "localId" : "266", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "267", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "expression" : { - "localId" : "263", - "lowClosed" : true, - "highClosed" : false, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "264", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "265", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "231", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "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" - }, { - "localId" : "234", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "235", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "236", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "237", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "238", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "215", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "216", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "217", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "218", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "219", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "220", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "221", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - }, - "high" : { - "localId" : "255", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "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" - }, { - "localId" : "258", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "259", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "260", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "261", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "262", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "239", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "240", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "6", - "type" : "Literal" - }, - "day" : { - "localId" : "241", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "242", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "243", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "244", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "245", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - } - } - }, { - "localId" : "270", - "name" : "ivlB", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "270", - "s" : [ { - "value" : [ "","define ","ivlB",": " ] - }, { - "r" : "319", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "287", - "s" : [ { - "r" : "271", - "value" : [ "DateTime","(","2012",", ","3",", ","1",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "311", - "s" : [ { - "r" : "295", - "value" : [ "DateTime","(","2012",", ","9",", ","1",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ ")" ] - } ] - } ] - } - } ], - "resultTypeSpecifier" : { - "localId" : "322", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "323", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "expression" : { - "localId" : "319", - "lowClosed" : true, - "highClosed" : false, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "320", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "321", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "287", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "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" - }, { - "localId" : "290", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "291", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "292", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "293", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "294", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "271", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "272", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "273", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "274", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "275", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "276", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "277", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - }, - "high" : { - "localId" : "311", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "312", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "313", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "314", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "315", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "316", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "317", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "318", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "295", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "296", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "9", - "type" : "Literal" - }, - "day" : { - "localId" : "297", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "298", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "299", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "300", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "301", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - } - } - }, { - "localId" : "326", - "name" : "ivlC", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "326", - "s" : [ { - "value" : [ "","define ","ivlC",": " ] - }, { - "r" : "375", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "343", - "s" : [ { - "r" : "327", - "value" : [ "DateTime","(","2012",", ","1",", ","1",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "367", - "s" : [ { - "r" : "351", - "value" : [ "DateTime","(","2013",", ","1",", ","1",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ ")" ] - } ] - } ] - } - } ], + "value" : [ "", "using " ] + }, { + "s" : [ { + "value" : [ "Simple" ] + } ] + }, { + "value" : [ " version '1.0.0'" ] + } ] + } + } ] + } ] + }, + "contexts" : { + "def" : [ { + "localId" : "211", + "name" : "Patient", + "annotation" : [ ] + } ] + }, + "statements" : { + "def" : [ { + "localId" : "209", + "name" : "Patient", + "context" : "Patient", + "annotation" : [ ], + "expression" : { + "type" : "SingletonFrom", + "localId" : "210", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Retrieve", + "localId" : "208", + "dataType" : "{https://github.com/cqframework/cql-execution/simple}Patient", + "annotation" : [ ], + "include" : [ ], + "codeFilter" : [ ], + "dateFilter" : [ ], + "otherFilter" : [ ] + } + } + }, { + "localId" : "214", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "AfterIntIvl", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "214", + "s" : [ { + "value" : [ "", "define ", "AfterIntIvl", ": " ] + }, { + "r" : "225", + "s" : [ { + "r" : "217", + "s" : [ { + "r" : "215", + "value" : [ "Interval[", "5", ", ", "10", "]" ] + } ] + }, { + "r" : "225", + "value" : [ " ", "after", " " ] + }, { + "r" : "222", + "s" : [ { + "r" : "220", + "value" : [ "Interval[", "2", ", ", "4", "]" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "After", + "localId" : "225", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "226", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "227", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "228", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "229", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "Interval", + "localId" : "217", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], "resultTypeSpecifier" : { - "localId" : "378", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "379", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "expression" : { - "localId" : "375", - "lowClosed" : true, - "highClosed" : false, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "376", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "377", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "343", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "344", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "345", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "346", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "347", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "348", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "349", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "350", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "327", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "328", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "329", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "330", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "331", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "332", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "333", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - }, - "high" : { - "localId" : "367", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "368", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "369", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "370", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "371", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "372", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "373", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "374", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "351", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2013", - "type" : "Literal" - }, - "month" : { - "localId" : "352", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "353", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "354", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "355", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "356", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "357", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - } - } - }, { - "localId" : "382", - "name" : "ivlD", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "382", - "s" : [ { - "value" : [ "","define ","ivlD",": " ] - }, { - "r" : "431", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "399", - "s" : [ { - "r" : "383", - "value" : [ "DateTime","(","2013",", ","1",", ","1",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "423", - "s" : [ { - "r" : "407", - "value" : [ "DateTime","(","2014",", ","1",", ","1",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ ")" ] - } ] - } ] - } - } ], + "type" : "IntervalTypeSpecifier", + "localId" : "218", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "219", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "low" : { + "type" : "Literal", + "localId" : "215", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "5", + "annotation" : [ ] + }, + "high" : { + "type" : "Literal", + "localId" : "216", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "10", + "annotation" : [ ] + } + }, { + "type" : "Interval", + "localId" : "222", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], "resultTypeSpecifier" : { - "localId" : "434", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "435", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "expression" : { - "localId" : "431", - "lowClosed" : true, - "highClosed" : false, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "432", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "433", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "399", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "400", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "401", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "402", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "403", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "404", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "405", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "406", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "383", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2013", - "type" : "Literal" - }, - "month" : { - "localId" : "384", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "385", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "386", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "387", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "388", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "389", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - }, - "high" : { - "localId" : "423", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "424", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "425", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "426", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "427", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "428", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "429", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "430", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "407", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2014", - "type" : "Literal" - }, - "month" : { - "localId" : "408", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "409", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "410", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "411", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "412", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "413", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - } - } - }, { - "localId" : "438", - "name" : "ivlE", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "438", - "s" : [ { - "value" : [ "","define ","ivlE",": " ] - }, { - "r" : "451", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "443", - "s" : [ { - "r" : "439", - "value" : [ "DateTime","(","2013",")" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "449", - "s" : [ { - "r" : "445", - "value" : [ "DateTime","(","2015",")" ] - } ] - }, { - "value" : [ "]" ] - } ] - } ] - } - } ], + "type" : "IntervalTypeSpecifier", + "localId" : "223", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "224", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "low" : { + "type" : "Literal", + "localId" : "220", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "annotation" : [ ] + }, + "high" : { + "type" : "Literal", + "localId" : "221", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "4", + "annotation" : [ ] + } + } ] + } + }, { + "localId" : "232", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "NotAfterIntIvl", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "232", + "s" : [ { + "value" : [ "", "define ", "NotAfterIntIvl", ": " ] + }, { + "r" : "243", + "s" : [ { + "r" : "235", + "s" : [ { + "r" : "233", + "value" : [ "Interval[", "5", ", ", "10", "]" ] + } ] + }, { + "r" : "243", + "value" : [ " ", "after", " " ] + }, { + "r" : "240", + "s" : [ { + "r" : "238", + "value" : [ "Interval[", "2", ", ", "5", "]" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "After", + "localId" : "243", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "244", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "245", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "246", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "247", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "Interval", + "localId" : "235", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], "resultTypeSpecifier" : { - "localId" : "454", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "455", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "expression" : { - "localId" : "451", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "452", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "453", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "443", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "444", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "439", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2013", - "type" : "Literal" - } - }, - "high" : { - "localId" : "449", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "450", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "445", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2015", - "type" : "Literal" - } - } - } - }, { - "localId" : "458", - "name" : "ivlF", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "458", - "s" : [ { - "value" : [ "","define ","ivlF",": " ] - }, { - "r" : "471", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "463", - "s" : [ { - "r" : "459", - "value" : [ "DateTime","(","2014",")" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "469", - "s" : [ { - "r" : "465", - "value" : [ "DateTime","(","2016",")" ] - } ] - }, { - "value" : [ "]" ] - } ] - } ] - } - } ], + "type" : "IntervalTypeSpecifier", + "localId" : "236", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "237", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "low" : { + "type" : "Literal", + "localId" : "233", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "5", + "annotation" : [ ] + }, + "high" : { + "type" : "Literal", + "localId" : "234", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "10", + "annotation" : [ ] + } + }, { + "type" : "Interval", + "localId" : "240", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], "resultTypeSpecifier" : { - "localId" : "474", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "475", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "expression" : { - "localId" : "471", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "472", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "473", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "463", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "464", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "459", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2014", - "type" : "Literal" - } - }, - "high" : { - "localId" : "469", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "470", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "465", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2016", - "type" : "Literal" - } - } - } - }, { - "localId" : "478", - "name" : "ivlG", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "478", - "s" : [ { - "value" : [ "","define ","ivlG",": " ] - }, { - "r" : "491", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "483", - "s" : [ { - "r" : "479", - "value" : [ "DateTime","(","2016",")" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "489", - "s" : [ { - "r" : "485", - "value" : [ "DateTime","(","2017",")" ] - } ] - }, { - "value" : [ "]" ] - } ] - } ] - } - } ], + "type" : "IntervalTypeSpecifier", + "localId" : "241", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "242", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "low" : { + "type" : "Literal", + "localId" : "238", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "annotation" : [ ] + }, + "high" : { + "type" : "Literal", + "localId" : "239", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "5", + "annotation" : [ ] + } + } ] + } + }, { + "localId" : "250", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "AfterRealIvl", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "250", + "s" : [ { + "value" : [ "", "define ", "AfterRealIvl", ": " ] + }, { + "r" : "261", + "s" : [ { + "r" : "253", + "s" : [ { + "r" : "251", + "value" : [ "Interval[", "1.234", ", ", "2.345", "]" ] + } ] + }, { + "r" : "261", + "value" : [ " ", "after", " " ] + }, { + "r" : "258", + "s" : [ { + "r" : "256", + "value" : [ "Interval[", "0.0", ", ", "1.23", "]" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "After", + "localId" : "261", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "262", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "263", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "264", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "265", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "Interval", + "localId" : "253", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], "resultTypeSpecifier" : { - "localId" : "494", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "495", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "expression" : { - "localId" : "491", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "492", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "493", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "483", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "484", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "479", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2016", - "type" : "Literal" - } - }, - "high" : { - "localId" : "489", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "490", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "485", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2017", - "type" : "Literal" - } - } - } - }, { - "localId" : "498", - "name" : "ivlH", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "498", - "s" : [ { - "value" : [ "","define ","ivlH",": " ] - }, { - "r" : "520", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "507", - "s" : [ { - "r" : "499", - "value" : [ "DateTime","(","2012",", ","2",", ","3",")" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "517", - "s" : [ { - "r" : "511", - "value" : [ "DateTime","(","2013",", ","3",")" ] - } ] - }, { - "value" : [ "]" ] - } ] - } ] - } - } ], + "type" : "IntervalTypeSpecifier", + "localId" : "254", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "255", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } + }, + "low" : { + "type" : "Literal", + "localId" : "251", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "1.234", + "annotation" : [ ] + }, + "high" : { + "type" : "Literal", + "localId" : "252", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "2.345", + "annotation" : [ ] + } + }, { + "type" : "Interval", + "localId" : "258", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], "resultTypeSpecifier" : { - "localId" : "523", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "524", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "expression" : { - "localId" : "520", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "521", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "522", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "507", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "508", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "509", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "510", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "499", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "500", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal" - }, - "day" : { - "localId" : "501", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - } - }, - "high" : { - "localId" : "517", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "518", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "519", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "511", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2013", - "type" : "Literal" - }, - "month" : { - "localId" : "512", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - } - } - } - }, { - "localId" : "527", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "OverlapsBefore", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "527", - "s" : [ { - "value" : [ "","define ","OverlapsBefore",": " ] - }, { - "r" : "534", - "s" : [ { - "r" : "528", - "s" : [ { - "value" : [ "ivlA" ] - } ] - }, { - "r" : "534", - "value" : [ " ","overlaps"," " ] - }, { - "r" : "531", - "s" : [ { - "value" : [ "ivlB" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "534", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "Overlaps", - "signature" : [ { - "localId" : "535", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "536", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "537", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "538", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "528", - "name" : "ivlA", - "type" : "ExpressionRef", - "resultTypeSpecifier" : { - "localId" : "529", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "530", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - }, { - "localId" : "531", - "name" : "ivlB", - "type" : "ExpressionRef", - "resultTypeSpecifier" : { - "localId" : "532", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "533", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - } ] - } - }, { - "localId" : "541", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "OverlapsAfter", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "541", - "s" : [ { - "value" : [ "","define ","OverlapsAfter",": " ] - }, { - "r" : "548", - "s" : [ { - "r" : "542", - "s" : [ { - "value" : [ "ivlB" ] - } ] - }, { - "r" : "548", - "value" : [ " ","overlaps"," " ] - }, { - "r" : "545", - "s" : [ { - "value" : [ "ivlA" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "548", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "Overlaps", - "signature" : [ { - "localId" : "549", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "550", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "551", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "552", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "542", - "name" : "ivlB", - "type" : "ExpressionRef", - "resultTypeSpecifier" : { - "localId" : "543", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "544", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - }, { - "localId" : "545", - "name" : "ivlA", - "type" : "ExpressionRef", - "resultTypeSpecifier" : { - "localId" : "546", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "547", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - } ] - } - }, { - "localId" : "555", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "OverlapsContained", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "555", + "type" : "IntervalTypeSpecifier", + "localId" : "259", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "260", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } + }, + "low" : { + "type" : "Literal", + "localId" : "256", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "0.0", + "annotation" : [ ] + }, + "high" : { + "type" : "Literal", + "localId" : "257", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "1.23", + "annotation" : [ ] + } + } ] + } + }, { + "localId" : "268", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "NotAfterRealIvl", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "268", + "s" : [ { + "value" : [ "", "define ", "NotAfterRealIvl", ": " ] + }, { + "r" : "279", + "s" : [ { + "r" : "271", + "s" : [ { + "r" : "269", + "value" : [ "Interval[", "1.234", ", ", "2.345", "]" ] + } ] + }, { + "r" : "279", + "value" : [ " ", "after", " " ] + }, { + "r" : "276", + "s" : [ { + "r" : "274", + "value" : [ "Interval[", "0.0", ", ", "1.234", "]" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "After", + "localId" : "279", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "280", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "281", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "282", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "283", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "Interval", + "localId" : "271", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "272", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "273", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } + }, + "low" : { + "type" : "Literal", + "localId" : "269", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "1.234", + "annotation" : [ ] + }, + "high" : { + "type" : "Literal", + "localId" : "270", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "2.345", + "annotation" : [ ] + } + }, { + "type" : "Interval", + "localId" : "276", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "277", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "278", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } + }, + "low" : { + "type" : "Literal", + "localId" : "274", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "0.0", + "annotation" : [ ] + }, + "high" : { + "type" : "Literal", + "localId" : "275", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "1.234", + "annotation" : [ ] + } + } ] + } + }, { + "localId" : "286", + "name" : "DateIvl", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "286", + "s" : [ { + "value" : [ "", "define ", "DateIvl", ": " ] + }, { + "r" : "335", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "303", + "s" : [ { + "r" : "287", + "value" : [ "DateTime", "(", "2012", ", ", "3", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "327", + "s" : [ { + "r" : "311", + "value" : [ "DateTime", "(", "2012", ", ", "9", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "338", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "339", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "expression" : { + "type" : "Interval", + "localId" : "335", + "lowClosed" : true, + "highClosed" : false, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "336", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "337", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "DateTime", + "localId" : "303", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "304", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "305", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "306", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "307", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "308", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "309", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "310", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "287", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "288", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "289", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "290", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "291", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "292", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "293", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "327", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "328", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "329", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "330", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "331", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "332", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "333", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "334", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "311", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "312", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "9", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "313", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "314", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "315", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "316", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "317", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + } + } + }, { + "localId" : "342", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "AfterDateIvl", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "342", + "s" : [ { + "value" : [ "", "define ", "AfterDateIvl", ": " ] + }, { + "r" : "397", + "s" : [ { + "r" : "343", + "s" : [ { + "value" : [ "DateIvl" ] + } ] + }, { + "r" : "397", + "value" : [ " ", "after", " " ] + }, { + "r" : "394", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "362", "s" : [ { - "value" : [ "","define ","OverlapsContained",": " ] - }, { - "r" : "562", - "s" : [ { - "r" : "556", - "s" : [ { - "value" : [ "ivlB" ] - } ] - }, { - "r" : "562", - "value" : [ " ","overlaps"," " ] - }, { - "r" : "559", - "s" : [ { - "value" : [ "ivlC" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "562", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "Overlaps", - "signature" : [ { - "localId" : "563", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "564", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "565", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "566", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "556", - "name" : "ivlB", - "type" : "ExpressionRef", - "resultTypeSpecifier" : { - "localId" : "557", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "558", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - }, { - "localId" : "559", - "name" : "ivlC", - "type" : "ExpressionRef", - "resultTypeSpecifier" : { - "localId" : "560", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "561", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - } ] - } - }, { - "localId" : "569", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "OverlapsContains", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "569", + "r" : "346", + "value" : [ "DateTime", "(", "2012", ", ", "1", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "386", "s" : [ { - "value" : [ "","define ","OverlapsContains",": " ] - }, { - "r" : "576", - "s" : [ { - "r" : "570", - "s" : [ { - "value" : [ "ivlC" ] - } ] - }, { - "r" : "576", - "value" : [ " ","overlaps"," " ] - }, { - "r" : "573", - "s" : [ { - "value" : [ "ivlB" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "576", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "Overlaps", - "signature" : [ { - "localId" : "577", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "578", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "579", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "580", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "570", - "name" : "ivlC", - "type" : "ExpressionRef", - "resultTypeSpecifier" : { - "localId" : "571", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "572", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - }, { - "localId" : "573", - "name" : "ivlB", - "type" : "ExpressionRef", - "resultTypeSpecifier" : { - "localId" : "574", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "575", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - } ] - } - }, { - "localId" : "583", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "ImpreciseOverlap", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "583", + "r" : "370", + "value" : [ "DateTime", "(", "2012", ", ", "3", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "After", + "localId" : "397", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "398", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "399", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "400", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "401", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "ExpressionRef", + "localId" : "343", + "name" : "DateIvl", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "344", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "345", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + }, { + "type" : "Interval", + "localId" : "394", + "lowClosed" : true, + "highClosed" : false, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "395", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "396", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "DateTime", + "localId" : "362", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "363", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "364", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "365", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "366", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "367", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "368", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "369", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "346", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "347", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "348", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "349", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "350", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "351", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "352", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "386", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "387", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "388", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "389", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "390", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "391", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "392", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "393", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "370", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "371", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "372", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "373", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "374", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "375", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "376", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + } + } ] + } + }, { + "localId" : "404", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "NotAfterDateIvl", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "404", + "s" : [ { + "value" : [ "", "define ", "NotAfterDateIvl", ": " ] + }, { + "r" : "459", + "s" : [ { + "r" : "405", + "s" : [ { + "value" : [ "DateIvl" ] + } ] + }, { + "r" : "459", + "value" : [ " ", "after", " " ] + }, { + "r" : "456", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "424", + "s" : [ { + "r" : "408", + "value" : [ "DateTime", "(", "2012", ", ", "1", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "448", + "s" : [ { + "r" : "432", + "value" : [ "DateTime", "(", "2012", ", ", "3", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ "]" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "After", + "localId" : "459", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "460", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "461", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "462", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "463", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "ExpressionRef", + "localId" : "405", + "name" : "DateIvl", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "406", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "407", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + }, { + "type" : "Interval", + "localId" : "456", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "457", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "458", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "DateTime", + "localId" : "424", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "425", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "426", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "427", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "428", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "429", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "430", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "431", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "408", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "409", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "410", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "411", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "412", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "413", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "414", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "448", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "449", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "450", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "451", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "452", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "453", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "454", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "455", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "432", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "433", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "434", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "435", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "436", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "437", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "438", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + } + } ] + } + }, { + "localId" : "466", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "AfterImpreciseDateIvl", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "466", + "s" : [ { + "value" : [ "", "define ", "AfterImpreciseDateIvl", ": " ] + }, { + "r" : "491", + "s" : [ { + "r" : "467", + "s" : [ { + "value" : [ "DateIvl" ] + } ] + }, { + "r" : "491", + "value" : [ " ", "after", " " ] + }, { + "r" : "488", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "476", "s" : [ { - "value" : [ "","define ","ImpreciseOverlap",": " ] - }, { - "r" : "590", - "s" : [ { - "r" : "584", - "s" : [ { - "value" : [ "ivlD" ] - } ] - }, { - "r" : "590", - "value" : [ " ","overlaps"," " ] - }, { - "r" : "587", - "s" : [ { - "value" : [ "ivlH" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "590", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "Overlaps", - "signature" : [ { - "localId" : "591", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "592", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "593", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "594", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "584", - "name" : "ivlD", - "type" : "ExpressionRef", - "resultTypeSpecifier" : { - "localId" : "585", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "586", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - }, { - "localId" : "587", - "name" : "ivlH", - "type" : "ExpressionRef", - "resultTypeSpecifier" : { - "localId" : "588", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "589", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - } ] - } - }, { - "localId" : "597", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "NoOverlap", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "597", + "r" : "470", + "value" : [ "DateTime", "(", "2012", ", ", "1", ")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "485", "s" : [ { - "value" : [ "","define ","NoOverlap",": " ] - }, { - "r" : "604", - "s" : [ { - "r" : "598", - "s" : [ { - "value" : [ "ivlC" ] - } ] - }, { - "r" : "604", - "value" : [ " ","overlaps"," " ] - }, { - "r" : "601", - "s" : [ { - "value" : [ "ivlD" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "604", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "Overlaps", - "signature" : [ { - "localId" : "605", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "606", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "607", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "608", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "598", - "name" : "ivlC", - "type" : "ExpressionRef", - "resultTypeSpecifier" : { - "localId" : "599", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "600", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - }, { - "localId" : "601", - "name" : "ivlD", - "type" : "ExpressionRef", - "resultTypeSpecifier" : { - "localId" : "602", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "603", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - } ] - } - }, { - "localId" : "611", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "NoImpreciseOverlap", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "611", - "s" : [ { - "value" : [ "","define ","NoImpreciseOverlap",": " ] - }, { - "r" : "618", - "s" : [ { - "r" : "612", - "s" : [ { - "value" : [ "ivlE" ] - } ] - }, { - "r" : "618", - "value" : [ " ","overlaps"," " ] - }, { - "r" : "615", - "s" : [ { - "value" : [ "ivlG" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "618", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "Overlaps", - "signature" : [ { - "localId" : "619", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "620", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "621", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "622", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "612", - "name" : "ivlE", - "type" : "ExpressionRef", - "resultTypeSpecifier" : { - "localId" : "613", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "614", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - }, { - "localId" : "615", - "name" : "ivlG", - "type" : "ExpressionRef", - "resultTypeSpecifier" : { - "localId" : "616", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "617", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - } ] - } - }, { - "localId" : "625", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "UnknownOverlap", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "625", - "s" : [ { - "value" : [ "","define ","UnknownOverlap",": " ] - }, { - "r" : "632", - "s" : [ { - "r" : "626", - "s" : [ { - "value" : [ "ivlE" ] - } ] - }, { - "r" : "632", - "value" : [ " ","overlaps"," " ] - }, { - "r" : "629", - "s" : [ { - "value" : [ "ivlH" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "632", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "Overlaps", - "signature" : [ { - "localId" : "633", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "634", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "635", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "636", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "626", - "name" : "ivlE", - "type" : "ExpressionRef", - "resultTypeSpecifier" : { - "localId" : "627", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "628", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - }, { - "localId" : "629", - "name" : "ivlH", - "type" : "ExpressionRef", - "resultTypeSpecifier" : { - "localId" : "630", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "631", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - } ] - } - }, { - "localId" : "639", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "MatchingPrecisionOverlap", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "639", + "r" : "479", + "value" : [ "DateTime", "(", "2012", ", ", "2", ")" ] + } ] + }, { + "value" : [ "]" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "After", + "localId" : "491", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "492", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "493", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "494", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "495", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "ExpressionRef", + "localId" : "467", + "name" : "DateIvl", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "468", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "469", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + }, { + "type" : "Interval", + "localId" : "488", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "489", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "490", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "DateTime", + "localId" : "476", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "477", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "478", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "470", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "471", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "485", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "486", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "487", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "479", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "480", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "annotation" : [ ] + } + } + } ] + } + }, { + "localId" : "498", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "NotAfterImpreciseDateIvl", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "498", + "s" : [ { + "value" : [ "", "define ", "NotAfterImpreciseDateIvl", ": " ] + }, { + "r" : "523", + "s" : [ { + "r" : "499", + "s" : [ { + "value" : [ "DateIvl" ] + } ] + }, { + "r" : "523", + "value" : [ " ", "after", " " ] + }, { + "r" : "520", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "508", "s" : [ { - "value" : [ "","define ","MatchingPrecisionOverlap",": " ] - }, { - "r" : "646", - "s" : [ { - "r" : "640", - "s" : [ { - "value" : [ "ivlF" ] - } ] - }, { - "r" : "646", - "value" : [ " ","overlaps"," " ] - }, { - "r" : "643", - "s" : [ { - "value" : [ "ivlG" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "646", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "Overlaps", - "signature" : [ { - "localId" : "647", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "648", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "649", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "650", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "640", - "name" : "ivlF", - "type" : "ExpressionRef", - "resultTypeSpecifier" : { - "localId" : "641", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "642", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - }, { - "localId" : "643", - "name" : "ivlG", - "type" : "ExpressionRef", - "resultTypeSpecifier" : { - "localId" : "644", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "645", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - } ] - } - }, { - "localId" : "653", - "name" : "PrecisionDateIvl", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "653", + "r" : "502", + "value" : [ "DateTime", "(", "2012", ", ", "1", ")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "517", "s" : [ { - "value" : [ "","define ","PrecisionDateIvl",": " ] - }, { - "r" : "702", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "670", - "s" : [ { - "r" : "654", - "value" : [ "DateTime","(","2012",", ","3",", ","2",", ","12",", ","34",", ","56",", ","789",")" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "694", - "s" : [ { - "r" : "678", - "value" : [ "DateTime","(","2012",", ","9",", ","2",", ","1",", ","23",", ","45",", ","678",")" ] - } ] - }, { - "value" : [ ")" ] - } ] - } ] - } - } ], + "r" : "511", + "value" : [ "DateTime", "(", "2012", ", ", "3", ")" ] + } ] + }, { + "value" : [ "]" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "After", + "localId" : "523", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "524", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "525", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "526", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "527", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "ExpressionRef", + "localId" : "499", + "name" : "DateIvl", + "annotation" : [ ], "resultTypeSpecifier" : { - "localId" : "705", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "706", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "expression" : { - "localId" : "702", - "lowClosed" : true, - "highClosed" : false, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "703", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "704", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "670", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "671", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "672", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "673", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "674", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "675", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "676", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "677", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "654", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "655", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "656", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal" - }, - "hour" : { - "localId" : "657", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "12", - "type" : "Literal" - }, - "minute" : { - "localId" : "658", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "34", - "type" : "Literal" - }, - "second" : { - "localId" : "659", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "56", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "660", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "789", - "type" : "Literal" - } - }, - "high" : { - "localId" : "694", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "695", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "696", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "697", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "698", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "699", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "700", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "701", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "678", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "679", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "9", - "type" : "Literal" - }, - "day" : { - "localId" : "680", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal" - }, - "hour" : { - "localId" : "681", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "minute" : { - "localId" : "682", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "23", - "type" : "Literal" - }, - "second" : { - "localId" : "683", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "45", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "684", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "678", - "type" : "Literal" - } - } - } - }, { - "localId" : "709", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "OverlapsBeforeDayOfIvlEdge", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "709", + "type" : "IntervalTypeSpecifier", + "localId" : "500", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "501", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + }, { + "type" : "Interval", + "localId" : "520", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "521", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "522", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "DateTime", + "localId" : "508", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "509", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "510", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "502", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "503", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "517", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "518", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "519", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "511", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "512", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + } + } + } ] + } + }, { + "localId" : "530", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "MayBeAfterImpreciseDateIvl", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "530", + "s" : [ { + "value" : [ "", "define ", "MayBeAfterImpreciseDateIvl", ": " ] + }, { + "r" : "549", + "s" : [ { + "r" : "531", + "s" : [ { + "value" : [ "DateIvl" ] + } ] + }, { + "r" : "549", + "value" : [ " ", "after", " " ] + }, { + "r" : "546", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "538", "s" : [ { - "value" : [ "// NOTE: There appears to be a bug in cql-to-elm that translates these 'overlaps' to 'OverlapsAfter'!\n","define ","OverlapsBeforeDayOfIvlEdge",": " ] - }, { - "r" : "764", - "s" : [ { - "r" : "710", - "s" : [ { - "value" : [ "PrecisionDateIvl" ] - } ] - }, { - "r" : "764", - "value" : [ " ","overlaps day of"," " ] - }, { - "r" : "761", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "729", - "s" : [ { - "r" : "713", - "value" : [ "DateTime","(","2012",", ","9",", ","2",", ","23",", ","59",", ","59",", ","999",")" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "753", - "s" : [ { - "r" : "737", - "value" : [ "DateTime","(","2012",", ","10",", ","1",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ "]" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "764", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "precision" : "Day", - "type" : "Overlaps", - "signature" : [ { - "localId" : "765", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "766", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "767", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "768", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "710", - "name" : "PrecisionDateIvl", - "type" : "ExpressionRef", - "resultTypeSpecifier" : { - "localId" : "711", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "712", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - }, { - "localId" : "761", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "762", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "763", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "729", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "730", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "731", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "732", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "733", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "734", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "735", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "736", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "713", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "714", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "9", - "type" : "Literal" - }, - "day" : { - "localId" : "715", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal" - }, - "hour" : { - "localId" : "716", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "23", - "type" : "Literal" - }, - "minute" : { - "localId" : "717", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal" - }, - "second" : { - "localId" : "718", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "719", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "999", - "type" : "Literal" - } - }, - "high" : { - "localId" : "753", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "754", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "755", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "756", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "757", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "758", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "759", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "760", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "737", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "738", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal" - }, - "day" : { - "localId" : "739", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "740", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "741", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "742", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "743", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - } - } ] - } - }, { - "localId" : "771", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "OverlapsAfterDayOfIvlEdge", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "771", + "r" : "534", + "value" : [ "DateTime", "(", "2012", ")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "544", + "s" : [ { + "r" : "540", + "value" : [ "DateTime", "(", "2012", ")" ] + } ] + }, { + "value" : [ "]" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "After", + "localId" : "549", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "550", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "551", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "552", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "553", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "ExpressionRef", + "localId" : "531", + "name" : "DateIvl", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "532", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "533", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + }, { + "type" : "Interval", + "localId" : "546", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "547", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "548", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "DateTime", + "localId" : "538", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "539", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "534", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "544", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "545", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "540", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + } + } + } ] + } + }, { + "localId" : "556", + "name" : "PrecisionDateIvl", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "556", + "s" : [ { + "value" : [ "", "define ", "PrecisionDateIvl", ": " ] + }, { + "r" : "605", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "573", + "s" : [ { + "r" : "557", + "value" : [ "DateTime", "(", "2012", ", ", "3", ", ", "2", ", ", "12", ", ", "34", ", ", "56", ", ", "789", ")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "597", + "s" : [ { + "r" : "581", + "value" : [ "DateTime", "(", "2012", ", ", "9", ", ", "2", ", ", "1", ", ", "23", ", ", "45", ", ", "678", ")" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "608", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "609", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "expression" : { + "type" : "Interval", + "localId" : "605", + "lowClosed" : true, + "highClosed" : false, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "606", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "607", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "DateTime", + "localId" : "573", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "574", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "575", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "576", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "577", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "578", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "579", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "580", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "557", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "558", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "559", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "560", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "12", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "561", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "34", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "562", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "56", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "563", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "789", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "597", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "598", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "599", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "600", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "601", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "602", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "603", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "604", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "581", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "582", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "9", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "583", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "584", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "585", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "23", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "586", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "45", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "587", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "678", + "annotation" : [ ] + } + } + } + }, { + "localId" : "612", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "AfterDayOfIvl", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "612", + "s" : [ { + "value" : [ "", "define ", "AfterDayOfIvl", ": " ] + }, { + "r" : "667", + "s" : [ { + "r" : "613", + "s" : [ { + "value" : [ "PrecisionDateIvl" ] + } ] + }, { + "r" : "667", + "value" : [ " ", "after day of", " " ] + }, { + "r" : "664", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "632", + "s" : [ { + "r" : "616", + "value" : [ "DateTime", "(", "2012", ", ", "1", ", ", "2", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "656", + "s" : [ { + "r" : "640", + "value" : [ "DateTime", "(", "2012", ", ", "3", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ "]" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "After", + "localId" : "667", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "precision" : "Day", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "668", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "669", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "670", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "671", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "ExpressionRef", + "localId" : "613", + "name" : "PrecisionDateIvl", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "614", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "615", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + }, { + "type" : "Interval", + "localId" : "664", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "665", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "666", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "DateTime", + "localId" : "632", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "633", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "634", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "635", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "636", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "637", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "638", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "639", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "616", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "617", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "618", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "619", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "620", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "621", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "622", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "656", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "657", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "658", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "659", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "660", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "661", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "662", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "663", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "640", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "641", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "642", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "643", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "644", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "645", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "646", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + } + } ] + } + }, { + "localId" : "674", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "BeforeDayOfIvl", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "674", + "s" : [ { + "value" : [ "", "define ", "BeforeDayOfIvl", ": " ] + }, { + "r" : "729", + "s" : [ { + "r" : "675", + "s" : [ { + "value" : [ "PrecisionDateIvl" ] + } ] + }, { + "r" : "729", + "value" : [ " ", "after day of", " " ] + }, { + "r" : "726", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "694", "s" : [ { - "value" : [ "","define ","OverlapsAfterDayOfIvlEdge",": " ] - }, { - "r" : "826", - "s" : [ { - "r" : "772", - "s" : [ { - "value" : [ "PrecisionDateIvl" ] - } ] - }, { - "r" : "826", - "value" : [ " ","overlaps day of"," " ] - }, { - "r" : "823", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "791", - "s" : [ { - "r" : "775", - "value" : [ "DateTime","(","2012",", ","1",", ","2",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "815", - "s" : [ { - "r" : "799", - "value" : [ "DateTime","(","2012",", ","3",", ","2",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ "]" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "826", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "precision" : "Day", - "type" : "Overlaps", - "signature" : [ { - "localId" : "827", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "828", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "829", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "830", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "772", - "name" : "PrecisionDateIvl", - "type" : "ExpressionRef", - "resultTypeSpecifier" : { - "localId" : "773", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "774", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - }, { - "localId" : "823", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "824", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "825", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "791", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "792", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "793", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "794", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "795", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "796", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "797", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "798", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "775", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "776", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "777", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal" - }, - "hour" : { - "localId" : "778", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "779", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "780", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "781", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - }, - "high" : { - "localId" : "815", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "816", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "817", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "818", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "819", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "820", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "821", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "822", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "799", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "800", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "801", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal" - }, - "hour" : { - "localId" : "802", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "803", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "804", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "805", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - } - } ] - } - }, { - "localId" : "833", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "OverlapsContainsDayOfIvl", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "833", + "r" : "678", + "value" : [ "DateTime", "(", "2012", ", ", "9", ", ", "3", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "718", "s" : [ { - "value" : [ "","define ","OverlapsContainsDayOfIvl",": " ] - }, { - "r" : "888", - "s" : [ { - "r" : "834", - "s" : [ { - "value" : [ "PrecisionDateIvl" ] - } ] - }, { - "r" : "888", - "value" : [ " ","overlaps day of"," " ] - }, { - "r" : "885", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "853", - "s" : [ { - "r" : "837", - "value" : [ "DateTime","(","2012",", ","5",", ","1",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "877", - "s" : [ { - "r" : "861", - "value" : [ "DateTime","(","2012",", ","6",", ","1",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ "]" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "888", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "precision" : "Day", - "type" : "Overlaps", - "signature" : [ { - "localId" : "889", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "890", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "891", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "892", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "834", - "name" : "PrecisionDateIvl", - "type" : "ExpressionRef", - "resultTypeSpecifier" : { - "localId" : "835", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "836", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - }, { - "localId" : "885", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "886", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "887", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "853", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "854", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "855", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "856", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "857", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "858", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "859", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "860", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "837", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "838", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal" - }, - "day" : { - "localId" : "839", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "840", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "841", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "842", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "843", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - }, - "high" : { - "localId" : "877", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "878", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "879", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "880", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "881", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "882", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "883", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "884", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "861", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "862", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "6", - "type" : "Literal" - }, - "day" : { - "localId" : "863", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "864", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "865", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "866", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "867", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - } - } ] - } - }, { - "localId" : "895", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "OverlapsContainedByDayOfIvl", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "895", - "s" : [ { - "value" : [ "","define ","OverlapsContainedByDayOfIvl",": " ] - }, { - "r" : "950", - "s" : [ { - "r" : "896", - "s" : [ { - "value" : [ "PrecisionDateIvl" ] - } ] - }, { - "r" : "950", - "value" : [ " ","overlaps day of"," " ] - }, { - "r" : "947", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "915", - "s" : [ { - "r" : "899", - "value" : [ "DateTime","(","2012",", ","1",", ","1",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "939", - "s" : [ { - "r" : "923", - "value" : [ "DateTime","(","2012",", ","12",", ","1",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ "]" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "950", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "precision" : "Day", - "type" : "Overlaps", - "signature" : [ { - "localId" : "951", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "952", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "953", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "954", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "896", - "name" : "PrecisionDateIvl", - "type" : "ExpressionRef", - "resultTypeSpecifier" : { - "localId" : "897", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "898", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - }, { - "localId" : "947", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "948", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "949", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "915", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "916", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "917", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "918", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "919", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "920", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "921", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "922", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "899", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "900", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "901", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "902", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "903", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "904", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "905", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - }, - "high" : { - "localId" : "939", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "940", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "941", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "942", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "943", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "944", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "945", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "946", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "923", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "924", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "12", - "type" : "Literal" - }, - "day" : { - "localId" : "925", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "926", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "927", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "928", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "929", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - } - } ] - } - }, { - "localId" : "957", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "NotOverlapsDayOfIvl", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "957", - "s" : [ { - "value" : [ "","define ","NotOverlapsDayOfIvl",": " ] - }, { - "r" : "1012", - "s" : [ { - "r" : "958", - "s" : [ { - "value" : [ "PrecisionDateIvl" ] - } ] - }, { - "r" : "1012", - "value" : [ " ","overlaps day of"," " ] - }, { - "r" : "1009", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "977", - "s" : [ { - "r" : "961", - "value" : [ "DateTime","(","2012",", ","1",", ","2",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "1001", - "s" : [ { - "r" : "985", - "value" : [ "DateTime","(","2012",", ","3",", ","1",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ "]" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "1012", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "precision" : "Day", - "type" : "Overlaps", - "signature" : [ { - "localId" : "1013", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1014", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "1015", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1016", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "958", - "name" : "PrecisionDateIvl", - "type" : "ExpressionRef", - "resultTypeSpecifier" : { - "localId" : "959", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "960", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - }, { - "localId" : "1009", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "1010", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1011", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "977", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "978", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "979", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "980", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "981", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "982", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "983", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "984", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "961", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "962", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "963", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal" - }, - "hour" : { - "localId" : "964", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "965", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "966", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "967", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - }, - "high" : { - "localId" : "1001", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "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" - }, { - "localId" : "1004", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1005", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1006", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1007", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1008", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "985", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "986", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "987", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "988", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "989", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "990", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "991", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - } - } ] - } - }, { - "localId" : "1019", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "OverlapsAfterDayOfImpreciseInterval", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "1019", - "s" : [ { - "value" : [ "","define ","OverlapsAfterDayOfImpreciseInterval",": " ] - }, { - "r" : "1044", - "s" : [ { - "r" : "1020", - "s" : [ { - "value" : [ "PrecisionDateIvl" ] - } ] - }, { - "r" : "1044", - "value" : [ " ","overlaps day of"," " ] - }, { - "r" : "1041", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "1029", - "s" : [ { - "r" : "1023", - "value" : [ "DateTime","(","2012",", ","1",")" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "1038", - "s" : [ { - "r" : "1032", - "value" : [ "DateTime","(","2012",", ","4",")" ] - } ] - }, { - "value" : [ "]" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "1044", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "precision" : "Day", - "type" : "Overlaps", - "signature" : [ { - "localId" : "1045", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1046", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "1047", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1048", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "1020", - "name" : "PrecisionDateIvl", - "type" : "ExpressionRef", - "resultTypeSpecifier" : { - "localId" : "1021", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1022", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - }, { - "localId" : "1041", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "1042", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1043", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "1029", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "1030", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1031", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1023", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "1024", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - } - }, - "high" : { - "localId" : "1038", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "1039", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1040", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1032", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "1033", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "4", - "type" : "Literal" - } - } - } ] - } - }, { - "localId" : "1051", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "MayOverlapBeforeDayOfImpreciseIvl", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "1051", + "r" : "702", + "value" : [ "DateTime", "(", "2012", ", ", "12", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ "]" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "After", + "localId" : "729", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "precision" : "Day", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "730", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "731", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "732", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "733", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "ExpressionRef", + "localId" : "675", + "name" : "PrecisionDateIvl", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "676", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "677", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + }, { + "type" : "Interval", + "localId" : "726", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "727", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "728", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "DateTime", + "localId" : "694", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "695", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "696", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "697", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "698", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "699", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "700", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "701", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "678", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "679", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "9", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "680", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "681", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "682", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "683", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "684", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "718", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "719", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "720", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "721", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "722", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "723", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "724", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "725", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "702", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "703", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "12", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "704", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "705", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "706", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "707", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "708", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + } + } ] + } + }, { + "localId" : "736", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "StartsSameDayOfIvlEnd", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "736", + "s" : [ { + "value" : [ "", "define ", "StartsSameDayOfIvlEnd", ": " ] + }, { + "r" : "791", + "s" : [ { + "r" : "737", + "s" : [ { + "value" : [ "PrecisionDateIvl" ] + } ] + }, { + "r" : "791", + "value" : [ " ", "after day of", " " ] + }, { + "r" : "788", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "756", + "s" : [ { + "r" : "740", + "value" : [ "DateTime", "(", "2012", ", ", "9", ", ", "2", ", ", "23", ", ", "59", ", ", "59", ", ", "999", ")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "780", + "s" : [ { + "r" : "764", + "value" : [ "DateTime", "(", "2012", ", ", "10", ", ", "2", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ "]" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "After", + "localId" : "791", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "precision" : "Day", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "792", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "793", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "794", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "795", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "ExpressionRef", + "localId" : "737", + "name" : "PrecisionDateIvl", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "738", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "739", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + }, { + "type" : "Interval", + "localId" : "788", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "789", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "790", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "DateTime", + "localId" : "756", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "757", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "758", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "759", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "760", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "761", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "762", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "763", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "740", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "741", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "9", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "742", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "743", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "23", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "744", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "59", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "745", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "59", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "746", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "999", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "780", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "781", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "782", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "783", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "784", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "785", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "786", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "787", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "764", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "765", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "10", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "766", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "767", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "768", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "769", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "770", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + } + } ] + } + }, { + "localId" : "798", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "EndsSameDayOfIvlStart", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "798", + "s" : [ { + "value" : [ "", "define ", "EndsSameDayOfIvlStart", ": " ] + }, { + "r" : "853", + "s" : [ { + "r" : "799", + "s" : [ { + "value" : [ "PrecisionDateIvl" ] + } ] + }, { + "r" : "853", + "value" : [ " ", "after day of", " " ] + }, { + "r" : "850", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "818", + "s" : [ { + "r" : "802", + "value" : [ "DateTime", "(", "2012", ", ", "1", ", ", "2", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "842", + "s" : [ { + "r" : "826", + "value" : [ "DateTime", "(", "2012", ", ", "3", ", ", "2", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ "]" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "After", + "localId" : "853", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "precision" : "Day", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "854", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "855", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "856", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "857", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "ExpressionRef", + "localId" : "799", + "name" : "PrecisionDateIvl", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "800", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "801", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + }, { + "type" : "Interval", + "localId" : "850", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "851", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "852", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "DateTime", + "localId" : "818", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "819", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "820", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "821", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "822", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "823", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "824", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "825", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "802", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "803", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "804", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "805", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "806", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "807", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "808", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "842", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "843", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "844", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "845", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "846", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "847", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "848", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "849", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "826", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "827", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "828", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "829", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "830", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "831", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "832", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + } + } ] + } + }, { + "localId" : "860", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "MayBeAfterDayOfImpreciseIvl", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "860", + "s" : [ { + "value" : [ "", "define ", "MayBeAfterDayOfImpreciseIvl", ": " ] + }, { + "r" : "885", + "s" : [ { + "r" : "861", + "s" : [ { + "value" : [ "PrecisionDateIvl" ] + } ] + }, { + "r" : "885", + "value" : [ " ", "after day of", " " ] + }, { + "r" : "882", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "870", + "s" : [ { + "r" : "864", + "value" : [ "DateTime", "(", "2012", ", ", "1", ")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "879", + "s" : [ { + "r" : "873", + "value" : [ "DateTime", "(", "2012", ", ", "3", ")" ] + } ] + }, { + "value" : [ "]" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "After", + "localId" : "885", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "precision" : "Day", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "886", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "887", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "888", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "889", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "ExpressionRef", + "localId" : "861", + "name" : "PrecisionDateIvl", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "862", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "863", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + }, { + "type" : "Interval", + "localId" : "882", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "883", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "884", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "DateTime", + "localId" : "870", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "871", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "872", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "864", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "865", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "879", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "880", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "881", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "873", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "874", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + } + } + } ] + } + }, { + "localId" : "892", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "MayBeBeforeDayOfImpreciseIvl", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "892", + "s" : [ { + "value" : [ "", "define ", "MayBeBeforeDayOfImpreciseIvl", ": " ] + }, { + "r" : "917", + "s" : [ { + "r" : "893", + "s" : [ { + "value" : [ "PrecisionDateIvl" ] + } ] + }, { + "r" : "917", + "value" : [ " ", "after day of", " " ] + }, { + "r" : "914", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "902", "s" : [ { - "value" : [ "","define ","MayOverlapBeforeDayOfImpreciseIvl",": " ] - }, { - "r" : "1076", - "s" : [ { - "r" : "1052", - "s" : [ { - "value" : [ "PrecisionDateIvl" ] - } ] - }, { - "r" : "1076", - "value" : [ " ","overlaps day of"," " ] - }, { - "r" : "1073", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "1061", - "s" : [ { - "r" : "1055", - "value" : [ "DateTime","(","2012",", ","9",")" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "1070", - "s" : [ { - "r" : "1064", - "value" : [ "DateTime","(","2012",", ","10",")" ] - } ] - }, { - "value" : [ "]" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "1076", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "precision" : "Day", - "type" : "Overlaps", - "signature" : [ { - "localId" : "1077", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1078", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "1079", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1080", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "1052", - "name" : "PrecisionDateIvl", - "type" : "ExpressionRef", - "resultTypeSpecifier" : { - "localId" : "1053", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1054", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - }, { - "localId" : "1073", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "1074", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1075", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "1061", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "1062", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1063", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1055", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "1056", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "9", - "type" : "Literal" - } - }, - "high" : { - "localId" : "1070", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "1071", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1072", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1064", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "1065", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal" - } - } - } ] - } - }, { - "localId" : "1083", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "MayOverlapAfterDayOfImpreciseIvl", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "1083", - "s" : [ { - "value" : [ "","define ","MayOverlapAfterDayOfImpreciseIvl",": " ] - }, { - "r" : "1108", - "s" : [ { - "r" : "1084", - "s" : [ { - "value" : [ "PrecisionDateIvl" ] - } ] - }, { - "r" : "1108", - "value" : [ " ","overlaps day of"," " ] - }, { - "r" : "1105", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "1093", - "s" : [ { - "r" : "1087", - "value" : [ "DateTime","(","2012",", ","1",")" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "1102", - "s" : [ { - "r" : "1096", - "value" : [ "DateTime","(","2012",", ","3",")" ] - } ] - }, { - "value" : [ "]" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "1108", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "precision" : "Day", - "type" : "Overlaps", - "signature" : [ { - "localId" : "1109", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1110", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "1111", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1112", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "1084", - "name" : "PrecisionDateIvl", - "type" : "ExpressionRef", - "resultTypeSpecifier" : { - "localId" : "1085", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1086", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - }, { - "localId" : "1105", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "1106", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1107", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "1093", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "1094", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1095", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1087", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "1088", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - } - }, - "high" : { - "localId" : "1102", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "1103", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1104", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1096", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "1097", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - } - } - } ] - } - } ] - } - } -} - -/* OverlapsAfter -library TestSnippet version '1' -using Simple version '1.0.0' -context Patient -define OverlapsBeforeIntIvl: Interval[1, 5] overlaps after Interval[2, 7] -define OverlapsAfterIntIvl: Interval[3, 8] overlaps after Interval[1, 6] -define OverlapsBoundaryIntIvl: Interval[5, 10] overlaps after Interval[1, 5] -define NoOverlapsIntIvl: Interval[1,5) overlaps after Interval[5, 10] -define OverlapsBeforeRealIvl: Interval[1.234, 1.567] overlaps after Interval[1.345, 1.678] -define OverlapsAfterRealIvl: Interval[1.345, 1.678] overlaps after Interval[1.234, 1.567] -define OverlapsBoundaryRealIvl: Interval[1.234, 2.0] overlaps after Interval[1.0, 1.234] -define NoOverlapsRealIvl: Interval[1.0, 1.23456789) overlaps after Interval[1.23456789, 2.0] -*/ - -module.exports['OverlapsAfter'] = { - "library" : { - "localId" : "0", - "annotation" : [ { - "translatorVersion" : "3.27.0", - "translatorOptions" : "EnableDateRangeOptimization,EnableAnnotations,EnableResultTypes", - "signatureLevel" : "All", - "type" : "CqlToElmInfo" - }, { - "type" : "Annotation", - "s" : { - "r" : "340", + "r" : "896", + "value" : [ "DateTime", "(", "2012", ", ", "9", ")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "911", + "s" : [ { + "r" : "905", + "value" : [ "DateTime", "(", "2012", ", ", "12", ")" ] + } ] + }, { + "value" : [ "]" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "After", + "localId" : "917", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "precision" : "Day", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "918", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "919", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "920", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "921", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "ExpressionRef", + "localId" : "893", + "name" : "PrecisionDateIvl", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "894", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "895", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + }, { + "type" : "Interval", + "localId" : "914", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "915", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "916", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "DateTime", + "localId" : "902", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "903", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "904", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "896", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "897", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "9", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "911", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "912", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "913", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "905", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "906", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "12", + "annotation" : [ ] + } + } + } ] + } + }, { + "localId" : "924", + "name" : "ImpDateIvl", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "924", "s" : [ { - "value" : [ "","library TestSnippet version '1'" ] - } ] - } - } ], - "identifier" : { - "id" : "TestSnippet", - "version" : "1" - }, - "schemaIdentifier" : { - "id" : "urn:hl7-org:elm", - "version" : "r1" - }, - "usings" : { - "def" : [ { - "localId" : "1", - "localIdentifier" : "System", - "uri" : "urn:hl7-org:elm-types:r1" - }, { - "localId" : "206", - "localIdentifier" : "Simple", - "uri" : "https://github.com/cqframework/cql-execution/simple", - "version" : "1.0.0", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "206", - "s" : [ { - "value" : [ "","using " ] - }, { - "s" : [ { - "value" : [ "Simple" ] - } ] - }, { - "value" : [ " version '1.0.0'" ] - } ] - } - } ] - } ] - }, - "contexts" : { - "def" : [ { - "localId" : "211", - "name" : "Patient" - } ] - }, - "statements" : { - "def" : [ { - "localId" : "209", - "name" : "Patient", - "context" : "Patient", - "expression" : { - "localId" : "210", - "type" : "SingletonFrom", - "signature" : [ ], - "operand" : { - "localId" : "208", - "dataType" : "{https://github.com/cqframework/cql-execution/simple}Patient", - "type" : "Retrieve", - "include" : [ ], - "codeFilter" : [ ], - "dateFilter" : [ ], - "otherFilter" : [ ] - } - } - }, { - "localId" : "214", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "OverlapsBeforeIntIvl", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "214", - "s" : [ { - "value" : [ "","define ","OverlapsBeforeIntIvl",": " ] - }, { - "r" : "225", - "s" : [ { - "r" : "217", - "s" : [ { - "r" : "215", - "value" : [ "Interval[","1",", ","5","]" ] - } ] - }, { - "r" : "225", - "value" : [ " ","overlaps after"," " ] - }, { - "r" : "222", - "s" : [ { - "r" : "220", - "value" : [ "Interval[","2",", ","7","]" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "225", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "OverlapsAfter", - "signature" : [ { - "localId" : "226", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "227", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "228", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "229", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "217", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "218", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "219", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "215", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "high" : { - "localId" : "216", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal" - } - }, { - "localId" : "222", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "223", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "224", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "220", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal" - }, - "high" : { - "localId" : "221", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "7", - "type" : "Literal" - } - } ] - } - }, { - "localId" : "232", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "OverlapsAfterIntIvl", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "232", + "value" : [ "", "define ", "ImpDateIvl", ": " ] + }, { + "r" : "943", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "931", + "s" : [ { + "r" : "925", + "value" : [ "DateTime", "(", "2012", ", ", "3", ")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "940", + "s" : [ { + "r" : "934", + "value" : [ "DateTime", "(", "2012", ", ", "8", ")" ] + } ] + }, { + "value" : [ "]" ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "946", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "947", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "expression" : { + "type" : "Interval", + "localId" : "943", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "944", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "945", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "DateTime", + "localId" : "931", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "932", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "933", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "925", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "926", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "940", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "941", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "942", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "934", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "935", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "8", + "annotation" : [ ] + } + } + } + }, { + "localId" : "950", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "ImpreciseAfterDateIvl", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "950", + "s" : [ { + "value" : [ "", "define ", "ImpreciseAfterDateIvl", ": " ] + }, { + "r" : "1005", + "s" : [ { + "r" : "951", + "s" : [ { + "value" : [ "ImpDateIvl" ] + } ] + }, { + "r" : "1005", + "value" : [ " ", "after", " " ] + }, { + "r" : "1002", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "970", + "s" : [ { + "r" : "954", + "value" : [ "DateTime", "(", "2012", ", ", "1", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "994", + "s" : [ { + "r" : "978", + "value" : [ "DateTime", "(", "2012", ", ", "3", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "After", + "localId" : "1005", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "1006", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1007", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "1008", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1009", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "ExpressionRef", + "localId" : "951", + "name" : "ImpDateIvl", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "952", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "953", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + }, { + "type" : "Interval", + "localId" : "1002", + "lowClosed" : true, + "highClosed" : false, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1003", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1004", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "DateTime", + "localId" : "970", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "971", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "972", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "973", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "974", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "975", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "976", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "977", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "954", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "955", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "956", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "957", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "958", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "959", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "960", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "994", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "995", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "996", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "997", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "998", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "999", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1000", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1001", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "978", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "979", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "980", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "981", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "982", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "983", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "984", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + } + } ] + } + }, { + "localId" : "1012", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "ImpreciseNotAfterDateIvl", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "1012", + "s" : [ { + "value" : [ "", "define ", "ImpreciseNotAfterDateIvl", ": " ] + }, { + "r" : "1067", + "s" : [ { + "r" : "1013", + "s" : [ { + "value" : [ "ImpDateIvl" ] + } ] + }, { + "r" : "1067", + "value" : [ " ", "after", " " ] + }, { + "r" : "1064", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "1032", + "s" : [ { + "r" : "1016", + "value" : [ "DateTime", "(", "2012", ", ", "1", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "1056", "s" : [ { - "value" : [ "","define ","OverlapsAfterIntIvl",": " ] - }, { - "r" : "243", - "s" : [ { - "r" : "235", - "s" : [ { - "r" : "233", - "value" : [ "Interval[","3",", ","8","]" ] - } ] - }, { - "r" : "243", - "value" : [ " ","overlaps after"," " ] - }, { - "r" : "240", - "s" : [ { - "r" : "238", - "value" : [ "Interval[","1",", ","6","]" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "243", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "OverlapsAfter", - "signature" : [ { - "localId" : "244", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "245", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "246", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "247", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "235", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "236", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "237", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "233", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "high" : { - "localId" : "234", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "8", - "type" : "Literal" - } - }, { - "localId" : "240", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "241", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "242", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "238", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "high" : { - "localId" : "239", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "6", - "type" : "Literal" - } - } ] - } - }, { - "localId" : "250", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "OverlapsBoundaryIntIvl", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "250", - "s" : [ { - "value" : [ "","define ","OverlapsBoundaryIntIvl",": " ] - }, { - "r" : "261", - "s" : [ { - "r" : "253", - "s" : [ { - "r" : "251", - "value" : [ "Interval[","5",", ","10","]" ] - } ] - }, { - "r" : "261", - "value" : [ " ","overlaps after"," " ] - }, { - "r" : "258", - "s" : [ { - "r" : "256", - "value" : [ "Interval[","1",", ","5","]" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "261", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "OverlapsAfter", - "signature" : [ { - "localId" : "262", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "263", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "264", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "265", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "253", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "254", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "255", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "251", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal" - }, - "high" : { - "localId" : "252", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal" - } - }, { - "localId" : "258", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "259", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "260", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "256", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "high" : { - "localId" : "257", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal" - } - } ] - } - }, { - "localId" : "268", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "NoOverlapsIntIvl", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "268", + "r" : "1040", + "value" : [ "DateTime", "(", "2012", ", ", "4", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "After", + "localId" : "1067", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "1068", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1069", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "1070", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1071", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "ExpressionRef", + "localId" : "1013", + "name" : "ImpDateIvl", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1014", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1015", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + }, { + "type" : "Interval", + "localId" : "1064", + "lowClosed" : true, + "highClosed" : false, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1065", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1066", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "DateTime", + "localId" : "1032", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1033", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1034", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1035", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1036", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1037", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1038", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1039", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1016", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1017", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "1018", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "1019", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "1020", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "1021", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "1022", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "1056", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1057", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1058", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1059", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1060", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1061", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1062", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1063", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1040", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1041", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "4", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "1042", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "1043", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "1044", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "1045", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "1046", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + } + } ] + } + }, { + "localId" : "1074", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "ImpreciseMayBeAfterDateIvl", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "1074", + "s" : [ { + "value" : [ "", "define ", "ImpreciseMayBeAfterDateIvl", ": " ] + }, { + "r" : "1129", + "s" : [ { + "r" : "1075", + "s" : [ { + "value" : [ "ImpDateIvl" ] + } ] + }, { + "r" : "1129", + "value" : [ " ", "after", " " ] + }, { + "r" : "1126", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "1094", "s" : [ { - "value" : [ "","define ","NoOverlapsIntIvl",": " ] - }, { - "r" : "279", - "s" : [ { - "r" : "271", - "s" : [ { - "r" : "269", - "value" : [ "Interval[","1",",","5",")" ] - } ] - }, { - "r" : "279", - "value" : [ " ","overlaps after"," " ] - }, { - "r" : "276", - "s" : [ { - "r" : "274", - "value" : [ "Interval[","5",", ","10","]" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "279", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "OverlapsAfter", - "signature" : [ { - "localId" : "280", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "281", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "282", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "283", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "271", - "lowClosed" : true, - "highClosed" : false, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "272", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "273", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "269", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "high" : { - "localId" : "270", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal" - } - }, { - "localId" : "276", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "277", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "278", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "274", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal" - }, - "high" : { - "localId" : "275", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal" - } - } ] - } - }, { - "localId" : "286", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "OverlapsBeforeRealIvl", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "286", + "r" : "1078", + "value" : [ "DateTime", "(", "2012", ", ", "1", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "1118", "s" : [ { - "value" : [ "","define ","OverlapsBeforeRealIvl",": " ] - }, { - "r" : "297", - "s" : [ { - "r" : "289", - "s" : [ { - "r" : "287", - "value" : [ "Interval[","1.234",", ","1.567","]" ] - } ] - }, { - "r" : "297", - "value" : [ " ","overlaps after"," " ] - }, { - "r" : "294", - "s" : [ { - "r" : "292", - "value" : [ "Interval[","1.345",", ","1.678","]" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "297", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "OverlapsAfter", - "signature" : [ { - "localId" : "298", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "299", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "300", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "301", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "289", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "290", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "291", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "287", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "1.234", - "type" : "Literal" - }, - "high" : { - "localId" : "288", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "1.567", - "type" : "Literal" - } - }, { - "localId" : "294", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "295", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "296", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "292", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "1.345", - "type" : "Literal" - }, - "high" : { - "localId" : "293", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "1.678", - "type" : "Literal" - } - } ] - } - }, { - "localId" : "304", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "OverlapsAfterRealIvl", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "304", - "s" : [ { - "value" : [ "","define ","OverlapsAfterRealIvl",": " ] - }, { - "r" : "315", - "s" : [ { - "r" : "307", - "s" : [ { - "r" : "305", - "value" : [ "Interval[","1.345",", ","1.678","]" ] - } ] - }, { - "r" : "315", - "value" : [ " ","overlaps after"," " ] - }, { - "r" : "312", - "s" : [ { - "r" : "310", - "value" : [ "Interval[","1.234",", ","1.567","]" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "315", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "OverlapsAfter", - "signature" : [ { - "localId" : "316", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "317", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "318", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "319", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "307", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "308", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "309", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "305", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "1.345", - "type" : "Literal" - }, - "high" : { - "localId" : "306", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "1.678", - "type" : "Literal" - } - }, { - "localId" : "312", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "313", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "314", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "310", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "1.234", - "type" : "Literal" - }, - "high" : { - "localId" : "311", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "1.567", - "type" : "Literal" - } - } ] - } - }, { - "localId" : "322", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "OverlapsBoundaryRealIvl", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "322", + "r" : "1102", + "value" : [ "DateTime", "(", "2012", ", ", "3", ", ", "15", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "After", + "localId" : "1129", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "1130", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1131", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "1132", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1133", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "ExpressionRef", + "localId" : "1075", + "name" : "ImpDateIvl", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1076", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1077", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + }, { + "type" : "Interval", + "localId" : "1126", + "lowClosed" : true, + "highClosed" : false, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1127", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1128", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "DateTime", + "localId" : "1094", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1095", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1096", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1097", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1098", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1099", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1100", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1101", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1078", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1079", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "1080", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "1081", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "1082", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "1083", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "1084", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "1118", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1119", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1120", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1121", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1122", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1123", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1124", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1125", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1102", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1103", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "1104", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "15", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "1105", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "1106", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "1107", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "1108", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + } + } ] + } + }, { + "localId" : "1136", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "NegInfBegNotAfterIntIvl", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "1136", + "s" : [ { + "value" : [ "", "define ", "NegInfBegNotAfterIntIvl", ": " ] + }, { + "r" : "1150", + "s" : [ { + "r" : "1139", + "s" : [ { + "r" : "1137", + "value" : [ "Interval[", "null", ", ", "100", "]" ] + } ] + }, { + "r" : "1150", + "value" : [ " ", "after", " " ] + }, { + "r" : "1147", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "1143", + "s" : [ { + "r" : "1144", + "value" : [ "-", "100" ] + } ] + }, { + "r" : "1146", + "value" : [ ", ", "0", "]" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "After", + "localId" : "1150", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "1151", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1152", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "1153", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1154", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "Interval", + "localId" : "1139", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1141", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1142", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "low" : { + "type" : "As", + "localId" : "1140", + "asType" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Null", + "localId" : "1137", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } + }, + "high" : { + "type" : "Literal", + "localId" : "1138", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "100", + "annotation" : [ ] + } + }, { + "type" : "Interval", + "localId" : "1147", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1148", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1149", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "low" : { + "type" : "Negate", + "localId" : "1143", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1145", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "operand" : { + "type" : "Literal", + "localId" : "1144", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "100", + "annotation" : [ ] + } + }, + "high" : { + "type" : "Literal", + "localId" : "1146", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + } ] + } + }, { + "localId" : "1157", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "UnknownBegMayBeAfterIntIvl", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "1157", + "s" : [ { + "value" : [ "", "define ", "UnknownBegMayBeAfterIntIvl", ": " ] + }, { + "r" : "1171", + "s" : [ { + "r" : "1160", + "s" : [ { + "r" : "1158", + "value" : [ "Interval(", "null", ", ", "100", "]" ] + } ] + }, { + "r" : "1171", + "value" : [ " ", "after", " " ] + }, { + "r" : "1168", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "1164", "s" : [ { - "value" : [ "","define ","OverlapsBoundaryRealIvl",": " ] - }, { - "r" : "333", - "s" : [ { - "r" : "325", - "s" : [ { - "r" : "323", - "value" : [ "Interval[","1.234",", ","2.0","]" ] - } ] - }, { - "r" : "333", - "value" : [ " ","overlaps after"," " ] - }, { - "r" : "330", - "s" : [ { - "r" : "328", - "value" : [ "Interval[","1.0",", ","1.234","]" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "333", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "OverlapsAfter", - "signature" : [ { - "localId" : "334", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "335", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "336", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "337", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "325", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "326", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "327", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "323", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "1.234", - "type" : "Literal" - }, - "high" : { - "localId" : "324", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "2.0", - "type" : "Literal" - } - }, { - "localId" : "330", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "331", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "332", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "328", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "1.0", - "type" : "Literal" - }, - "high" : { - "localId" : "329", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "1.234", - "type" : "Literal" - } - } ] - } - }, { - "localId" : "340", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "NoOverlapsRealIvl", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "340", + "r" : "1165", + "value" : [ "-", "100" ] + } ] + }, { + "r" : "1167", + "value" : [ ", ", "0", "]" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "After", + "localId" : "1171", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "1172", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1173", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "1174", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1175", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "Interval", + "localId" : "1160", + "lowClosed" : false, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1162", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1163", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "low" : { + "type" : "As", + "localId" : "1161", + "asType" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Null", + "localId" : "1158", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } + }, + "high" : { + "type" : "Literal", + "localId" : "1159", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "100", + "annotation" : [ ] + } + }, { + "type" : "Interval", + "localId" : "1168", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1169", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1170", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "low" : { + "type" : "Negate", + "localId" : "1164", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1166", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "operand" : { + "type" : "Literal", + "localId" : "1165", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "100", + "annotation" : [ ] + } + }, + "high" : { + "type" : "Literal", + "localId" : "1167", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + } ] + } + }, { + "localId" : "1178", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "UnknownBegNotAfterIntIvl", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "1178", + "s" : [ { + "value" : [ "", "define ", "UnknownBegNotAfterIntIvl", ": " ] + }, { + "r" : "1190", + "s" : [ { + "r" : "1181", + "s" : [ { + "r" : "1179", + "value" : [ "Interval(", "null", ", ", "5", "]" ] + } ] + }, { + "r" : "1190", + "value" : [ " ", "after", " " ] + }, { + "r" : "1187", + "s" : [ { + "r" : "1185", + "value" : [ "Interval[", "0", ", ", "100", "]" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "After", + "localId" : "1190", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "1191", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1192", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "1193", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1194", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "Interval", + "localId" : "1181", + "lowClosed" : false, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1183", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1184", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "low" : { + "type" : "As", + "localId" : "1182", + "asType" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Null", + "localId" : "1179", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } + }, + "high" : { + "type" : "Literal", + "localId" : "1180", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "5", + "annotation" : [ ] + } + }, { + "type" : "Interval", + "localId" : "1187", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1188", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1189", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "low" : { + "type" : "Literal", + "localId" : "1185", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "high" : { + "type" : "Literal", + "localId" : "1186", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "100", + "annotation" : [ ] + } + } ] + } + }, { + "localId" : "1197", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "PosInfEndAfterIntIvl", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "1197", + "s" : [ { + "value" : [ "", "define ", "PosInfEndAfterIntIvl", ": " ] + }, { + "r" : "1213", + "s" : [ { + "r" : "1200", + "s" : [ { + "r" : "1198", + "value" : [ "Interval[", "0", ", ", "null", "]" ] + } ] + }, { + "r" : "1213", + "value" : [ " ", "after", " " ] + }, { + "r" : "1210", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "1204", + "s" : [ { + "r" : "1205", + "value" : [ "-", "100" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "1207", + "s" : [ { + "r" : "1208", + "value" : [ "-", "20" ] + } ] + }, { + "value" : [ "]" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "After", + "localId" : "1213", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "1214", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1215", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "1216", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1217", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "Interval", + "localId" : "1200", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1202", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1203", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "low" : { + "type" : "Literal", + "localId" : "1198", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "high" : { + "type" : "As", + "localId" : "1201", + "asType" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Null", + "localId" : "1199", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } + } + }, { + "type" : "Interval", + "localId" : "1210", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1211", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1212", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "low" : { + "type" : "Negate", + "localId" : "1204", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1206", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "operand" : { + "type" : "Literal", + "localId" : "1205", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "100", + "annotation" : [ ] + } + }, + "high" : { + "type" : "Negate", + "localId" : "1207", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1209", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "operand" : { + "type" : "Literal", + "localId" : "1208", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "20", + "annotation" : [ ] + } + } + } ] + } + }, { + "localId" : "1220", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "PosInfEndNotAfterIntIvl", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "1220", + "s" : [ { + "value" : [ "", "define ", "PosInfEndNotAfterIntIvl", ": " ] + }, { + "r" : "1234", + "s" : [ { + "r" : "1223", + "s" : [ { + "r" : "1221", + "value" : [ "Interval[", "0", ", ", "null", "]" ] + } ] + }, { + "r" : "1234", + "value" : [ " ", "after", " " ] + }, { + "r" : "1231", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "1227", "s" : [ { - "value" : [ "","define ","NoOverlapsRealIvl",": " ] - }, { - "r" : "351", - "s" : [ { - "r" : "343", - "s" : [ { - "r" : "341", - "value" : [ "Interval[","1.0",", ","1.23456789",")" ] - } ] - }, { - "r" : "351", - "value" : [ " ","overlaps after"," " ] - }, { - "r" : "348", - "s" : [ { - "r" : "346", - "value" : [ "Interval[","1.23456789",", ","2.0","]" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "351", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "OverlapsAfter", - "signature" : [ { - "localId" : "352", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "353", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "354", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "355", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "343", - "lowClosed" : true, - "highClosed" : false, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "344", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "345", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "341", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "1.0", - "type" : "Literal" - }, - "high" : { - "localId" : "342", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "1.23456789", - "type" : "Literal" - } - }, { - "localId" : "348", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "349", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "350", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "346", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "1.23456789", - "type" : "Literal" - }, - "high" : { - "localId" : "347", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "2.0", - "type" : "Literal" - } - } ] - } - } ] - } - } -} - -/* OverlapsAfterDateTime -library TestSnippet version '1' -using Simple version '1.0.0' -context Patient -define ivlA: Interval[DateTime(2012, 1, 1, 0, 0, 0, 0), DateTime(2012, 6, 1, 0, 0, 0, 0)) -define ivlB: Interval[DateTime(2012, 3, 1, 0, 0, 0, 0), DateTime(2012, 9, 1, 0, 0, 0, 0)) -define ivlC: Interval[DateTime(2012, 1, 1, 0, 0, 0, 0), DateTime(2013, 1, 1, 0, 0, 0, 0)) -define ivlD: Interval[DateTime(2013, 1, 1, 0, 0, 0, 0), DateTime(2014, 1, 1, 0, 0, 0, 0)) -define ivlE: Interval[DateTime(2013), DateTime(2015)] -define ivlF: Interval[DateTime(2014), DateTime(2016)] -define ivlG: Interval[DateTime(2016), DateTime(2017)] -define ivlH: Interval[DateTime(2013,1), DateTime(2015,1)] -define OverlapsBefore: ivlA overlaps after ivlB -define OverlapsAfter: ivlB overlaps after ivlA -define OverlapsContained: ivlB overlaps after ivlC -define OverlapsContains: ivlC overlaps after ivlB -define ImpreciseOverlapBefore: ivlE overlaps after ivlF -define ImpreciseOverlapAfter: ivlF overlaps after ivlE -define NoOverlap: ivlC overlaps after ivlD -define NoImpreciseOverlap: ivlE overlaps after ivlG -define MatchingPrecisionOverlap: ivlG overlaps after ivlF -define UnknownOverlap: ivlH overlaps after ivlE -define PrecisionDateIvl: Interval[DateTime(2012, 3, 2, 12, 34, 56, 789), DateTime(2012, 9, 2, 1, 23, 45, 678)) -define OverlapsBeforeDayOfIvlEdge: PrecisionDateIvl overlaps after day of Interval[DateTime(2012, 9, 2, 23, 59, 59, 999), DateTime(2012, 10, 1, 0, 0, 0, 0)] -define OverlapsAfterDayOfIvlEdge: PrecisionDateIvl overlaps after day of Interval[DateTime(2012, 1, 2, 0, 0, 0, 0), DateTime(2012, 3, 2, 0, 0, 0, 0)] -define OverlapsContainsDayOfIvl: PrecisionDateIvl overlaps after day of Interval[DateTime(2012, 5, 1, 0, 0, 0, 0), DateTime(2012, 6, 1, 0, 0, 0, 0)] -define OverlapsContainedByDayOfIvl: PrecisionDateIvl overlaps after day of Interval[DateTime(2012, 1, 1, 0, 0, 0, 0), DateTime(2012, 12, 1, 0, 0, 0, 0)] -define NotOverlapsDayOfIvl: PrecisionDateIvl overlaps after day of Interval[DateTime(2012, 1, 2, 0, 0, 0, 0), DateTime(2012, 3, 1, 0, 0, 0, 0)] -define OverlapsAfterDayOfImpreciseInterval: PrecisionDateIvl overlaps after day of Interval[DateTime(2012, 1), DateTime(2012, 4)] -define MayOverlapBeforeDayOfImpreciseIvl: PrecisionDateIvl overlaps after day of Interval[DateTime(2012, 9), DateTime(2012, 10)] -define MayOverlapAfterDayOfImpreciseIvl: PrecisionDateIvl overlaps after day of Interval[DateTime(2012, 1), DateTime(2012, 3)] -*/ - -module.exports['OverlapsAfterDateTime'] = { - "library" : { - "localId" : "0", - "annotation" : [ { - "translatorVersion" : "3.27.0", - "translatorOptions" : "EnableDateRangeOptimization,EnableAnnotations,EnableResultTypes", - "signatureLevel" : "All", - "type" : "CqlToElmInfo" - }, { - "type" : "Annotation", - "s" : { - "r" : "1094", + "r" : "1228", + "value" : [ "-", "100" ] + } ] + }, { + "r" : "1230", + "value" : [ ", ", "0", "]" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "After", + "localId" : "1234", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "1235", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1236", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "1237", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1238", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "Interval", + "localId" : "1223", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1225", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1226", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "low" : { + "type" : "Literal", + "localId" : "1221", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "high" : { + "type" : "As", + "localId" : "1224", + "asType" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Null", + "localId" : "1222", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } + } + }, { + "type" : "Interval", + "localId" : "1231", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1232", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1233", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "low" : { + "type" : "Negate", + "localId" : "1227", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1229", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "operand" : { + "type" : "Literal", + "localId" : "1228", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "100", + "annotation" : [ ] + } + }, + "high" : { + "type" : "Literal", + "localId" : "1230", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + } ] + } + }, { + "localId" : "1241", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "UnknownEndAfterIntIvl", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "1241", "s" : [ { - "value" : [ "","library TestSnippet version '1'" ] - } ] - } - } ], - "identifier" : { - "id" : "TestSnippet", - "version" : "1" - }, - "schemaIdentifier" : { - "id" : "urn:hl7-org:elm", - "version" : "r1" - }, - "usings" : { - "def" : [ { - "localId" : "1", - "localIdentifier" : "System", - "uri" : "urn:hl7-org:elm-types:r1" - }, { - "localId" : "206", - "localIdentifier" : "Simple", - "uri" : "https://github.com/cqframework/cql-execution/simple", - "version" : "1.0.0", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "206", - "s" : [ { - "value" : [ "","using " ] - }, { - "s" : [ { - "value" : [ "Simple" ] - } ] - }, { - "value" : [ " version '1.0.0'" ] - } ] - } - } ] - } ] - }, - "contexts" : { - "def" : [ { - "localId" : "211", - "name" : "Patient" - } ] - }, - "statements" : { - "def" : [ { - "localId" : "209", - "name" : "Patient", - "context" : "Patient", - "expression" : { - "localId" : "210", - "type" : "SingletonFrom", - "signature" : [ ], - "operand" : { - "localId" : "208", - "dataType" : "{https://github.com/cqframework/cql-execution/simple}Patient", - "type" : "Retrieve", - "include" : [ ], - "codeFilter" : [ ], - "dateFilter" : [ ], - "otherFilter" : [ ] - } - } - }, { - "localId" : "214", - "name" : "ivlA", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "214", - "s" : [ { - "value" : [ "","define ","ivlA",": " ] - }, { - "r" : "263", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "231", - "s" : [ { - "r" : "215", - "value" : [ "DateTime","(","2012",", ","1",", ","1",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "255", - "s" : [ { - "r" : "239", - "value" : [ "DateTime","(","2012",", ","6",", ","1",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ ")" ] - } ] - } ] - } - } ], + "value" : [ "", "define ", "UnknownEndAfterIntIvl", ": " ] + }, { + "r" : "1257", + "s" : [ { + "r" : "1244", + "s" : [ { + "r" : "1242", + "value" : [ "Interval[", "0", ", ", "null", ")" ] + } ] + }, { + "r" : "1257", + "value" : [ " ", "after", " " ] + }, { + "r" : "1254", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "1248", + "s" : [ { + "r" : "1249", + "value" : [ "-", "100" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "1251", + "s" : [ { + "r" : "1252", + "value" : [ "-", "20" ] + } ] + }, { + "value" : [ "]" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "After", + "localId" : "1257", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "1258", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1259", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "1260", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1261", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "Interval", + "localId" : "1244", + "lowClosed" : true, + "highClosed" : false, + "annotation" : [ ], "resultTypeSpecifier" : { - "localId" : "266", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "267", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "expression" : { - "localId" : "263", - "lowClosed" : true, - "highClosed" : false, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "264", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "265", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "231", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "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" - }, { - "localId" : "234", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "235", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "236", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "237", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "238", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "215", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "216", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "217", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "218", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "219", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "220", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "221", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - }, - "high" : { - "localId" : "255", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "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" - }, { - "localId" : "258", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "259", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "260", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "261", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "262", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "239", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "240", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "6", - "type" : "Literal" - }, - "day" : { - "localId" : "241", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "242", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "243", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "244", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "245", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - } - } - }, { - "localId" : "270", - "name" : "ivlB", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "270", + "type" : "IntervalTypeSpecifier", + "localId" : "1246", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1247", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "low" : { + "type" : "Literal", + "localId" : "1242", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "high" : { + "type" : "As", + "localId" : "1245", + "asType" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Null", + "localId" : "1243", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } + } + }, { + "type" : "Interval", + "localId" : "1254", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1255", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1256", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "low" : { + "type" : "Negate", + "localId" : "1248", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1250", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "operand" : { + "type" : "Literal", + "localId" : "1249", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "100", + "annotation" : [ ] + } + }, + "high" : { + "type" : "Negate", + "localId" : "1251", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1253", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "operand" : { + "type" : "Literal", + "localId" : "1252", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "20", + "annotation" : [ ] + } + } + } ] + } + }, { + "localId" : "1264", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "UnknownEndNotAfterIntIvl", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "1264", + "s" : [ { + "value" : [ "", "define ", "UnknownEndNotAfterIntIvl", ": " ] + }, { + "r" : "1278", + "s" : [ { + "r" : "1267", + "s" : [ { + "r" : "1265", + "value" : [ "Interval[", "0", ", ", "null", ")" ] + } ] + }, { + "r" : "1278", + "value" : [ " ", "after", " " ] + }, { + "r" : "1275", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "1271", + "s" : [ { + "r" : "1272", + "value" : [ "-", "100" ] + } ] + }, { + "r" : "1274", + "value" : [ ", ", "0", "]" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "After", + "localId" : "1278", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "1279", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1280", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "1281", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1282", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "Interval", + "localId" : "1267", + "lowClosed" : true, + "highClosed" : false, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1269", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1270", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "low" : { + "type" : "Literal", + "localId" : "1265", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "high" : { + "type" : "As", + "localId" : "1268", + "asType" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Null", + "localId" : "1266", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } + } + }, { + "type" : "Interval", + "localId" : "1275", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1276", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1277", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "low" : { + "type" : "Negate", + "localId" : "1271", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1273", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "operand" : { + "type" : "Literal", + "localId" : "1272", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "100", + "annotation" : [ ] + } + }, + "high" : { + "type" : "Literal", + "localId" : "1274", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + } ] + } + }, { + "localId" : "1285", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "NegInfBegNotAfterDateIvl", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "1285", + "s" : [ { + "value" : [ "", "define ", "NegInfBegNotAfterDateIvl", ": " ] + }, { + "r" : "1366", + "s" : [ { + "r" : "1311", + "s" : [ { + "r" : "1286", + "value" : [ "Interval[", "null", ", " ] + }, { + "r" : "1303", + "s" : [ { + "r" : "1287", + "value" : [ "DateTime", "(", "2013", ", ", "1", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ ")" ] + } ] + }, { + "r" : "1366", + "value" : [ " ", "after", " " ] + }, { + "r" : "1363", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "1331", + "s" : [ { + "r" : "1315", + "value" : [ "DateTime", "(", "2000", ", ", "1", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "1355", + "s" : [ { + "r" : "1339", + "value" : [ "DateTime", "(", "2010", ", ", "1", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ "]" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "After", + "localId" : "1366", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "1367", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1368", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "1369", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1370", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "Interval", + "localId" : "1311", + "lowClosed" : true, + "highClosed" : false, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1313", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1314", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "As", + "localId" : "1312", + "asType" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Null", + "localId" : "1286", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "1303", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1304", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1305", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1306", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1307", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1308", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1309", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1310", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1287", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2013", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1288", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "1289", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "1290", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "1291", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "1292", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "1293", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + } + }, { + "type" : "Interval", + "localId" : "1363", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1364", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1365", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "DateTime", + "localId" : "1331", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1332", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1333", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1334", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1335", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1336", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1337", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1338", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1315", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1316", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "1317", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "1318", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "1319", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "1320", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "1321", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "1355", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1356", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1357", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1358", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1359", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1360", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1361", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1362", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1339", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2010", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1340", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "1341", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "1342", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "1343", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "1344", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "1345", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + } + } ] + } + }, { + "localId" : "1373", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "UnknownBegMayBeAfterDateIvl", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "1373", + "s" : [ { + "value" : [ "", "define ", "UnknownBegMayBeAfterDateIvl", ": " ] + }, { + "r" : "1454", + "s" : [ { + "r" : "1399", + "s" : [ { + "r" : "1374", + "value" : [ "Interval(", "null", ", " ] + }, { + "r" : "1391", + "s" : [ { + "r" : "1375", + "value" : [ "DateTime", "(", "2013", ", ", "1", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ ")" ] + } ] + }, { + "r" : "1454", + "value" : [ " ", "after", " " ] + }, { + "r" : "1451", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "1419", + "s" : [ { + "r" : "1403", + "value" : [ "DateTime", "(", "2000", ", ", "1", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "1443", + "s" : [ { + "r" : "1427", + "value" : [ "DateTime", "(", "2010", ", ", "1", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ "]" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "After", + "localId" : "1454", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "1455", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1456", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "1457", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1458", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "Interval", + "localId" : "1399", + "lowClosed" : false, + "highClosed" : false, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1401", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1402", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "As", + "localId" : "1400", + "asType" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Null", + "localId" : "1374", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "1391", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1392", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1393", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1394", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1395", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1396", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1397", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1398", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1375", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2013", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1376", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "1377", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "1378", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "1379", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "1380", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "1381", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + } + }, { + "type" : "Interval", + "localId" : "1451", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1452", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1453", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "DateTime", + "localId" : "1419", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1420", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1421", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1422", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1423", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1424", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1425", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1426", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1403", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1404", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "1405", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "1406", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "1407", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "1408", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "1409", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "1443", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1444", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1445", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1446", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1447", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1448", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1449", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1450", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1427", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2010", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1428", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "1429", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "1430", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "1431", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "1432", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "1433", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + } + } ] + } + }, { + "localId" : "1461", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "UnknownBegNotAfterDateIvl", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "1461", + "s" : [ { + "value" : [ "", "define ", "UnknownBegNotAfterDateIvl", ": " ] + }, { + "r" : "1542", + "s" : [ { + "r" : "1487", + "s" : [ { + "r" : "1462", + "value" : [ "Interval(", "null", ", " ] + }, { + "r" : "1479", + "s" : [ { + "r" : "1463", + "value" : [ "DateTime", "(", "2013", ", ", "1", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ ")" ] + } ] + }, { + "r" : "1542", + "value" : [ " ", "after", " " ] + }, { + "r" : "1539", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "1507", "s" : [ { - "value" : [ "","define ","ivlB",": " ] - }, { - "r" : "319", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "287", - "s" : [ { - "r" : "271", - "value" : [ "DateTime","(","2012",", ","3",", ","1",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "311", - "s" : [ { - "r" : "295", - "value" : [ "DateTime","(","2012",", ","9",", ","1",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ ")" ] - } ] - } ] - } - } ], + "r" : "1491", + "value" : [ "DateTime", "(", "2000", ", ", "1", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "1531", + "s" : [ { + "r" : "1515", + "value" : [ "DateTime", "(", "2020", ", ", "1", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ "]" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "After", + "localId" : "1542", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "1543", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1544", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "1545", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1546", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "Interval", + "localId" : "1487", + "lowClosed" : false, + "highClosed" : false, + "annotation" : [ ], "resultTypeSpecifier" : { - "localId" : "322", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "323", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "expression" : { - "localId" : "319", - "lowClosed" : true, - "highClosed" : false, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "320", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "321", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "287", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "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" - }, { - "localId" : "290", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "291", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "292", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "293", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "294", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "271", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "272", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "273", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "274", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "275", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "276", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "277", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - }, - "high" : { - "localId" : "311", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "312", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "313", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "314", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "315", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "316", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "317", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "318", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "295", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "296", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "9", - "type" : "Literal" - }, - "day" : { - "localId" : "297", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "298", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "299", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "300", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "301", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - } - } - }, { - "localId" : "326", - "name" : "ivlC", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "326", - "s" : [ { - "value" : [ "","define ","ivlC",": " ] - }, { - "r" : "375", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "343", - "s" : [ { - "r" : "327", - "value" : [ "DateTime","(","2012",", ","1",", ","1",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "367", - "s" : [ { - "r" : "351", - "value" : [ "DateTime","(","2013",", ","1",", ","1",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ ")" ] - } ] - } ] - } - } ], + "type" : "IntervalTypeSpecifier", + "localId" : "1489", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1490", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "As", + "localId" : "1488", + "asType" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Null", + "localId" : "1462", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "1479", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1480", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1481", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1482", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1483", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1484", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1485", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1486", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1463", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2013", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1464", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "1465", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "1466", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "1467", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "1468", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "1469", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + } + }, { + "type" : "Interval", + "localId" : "1539", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], "resultTypeSpecifier" : { - "localId" : "378", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "379", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "expression" : { - "localId" : "375", - "lowClosed" : true, - "highClosed" : false, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "376", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "377", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "343", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "344", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "345", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "346", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "347", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "348", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "349", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "350", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "327", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "328", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "329", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "330", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "331", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "332", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "333", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - }, - "high" : { - "localId" : "367", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "368", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "369", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "370", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "371", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "372", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "373", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "374", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "351", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2013", - "type" : "Literal" - }, - "month" : { - "localId" : "352", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "353", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "354", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "355", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "356", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "357", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - } - } - }, { - "localId" : "382", - "name" : "ivlD", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "382", + "type" : "IntervalTypeSpecifier", + "localId" : "1540", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1541", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "DateTime", + "localId" : "1507", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1508", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1509", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1510", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1511", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1512", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1513", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1514", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1491", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1492", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "1493", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "1494", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "1495", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "1496", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "1497", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "1531", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1532", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1533", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1534", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1535", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1536", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1537", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1538", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1515", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2020", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1516", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "1517", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "1518", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "1519", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "1520", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "1521", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + } + } ] + } + }, { + "localId" : "1549", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "PosInfEndAfterDateIvl", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "1549", + "s" : [ { + "value" : [ "", "define ", "PosInfEndAfterDateIvl", ": " ] + }, { + "r" : "1630", + "s" : [ { + "r" : "1575", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "1566", "s" : [ { - "value" : [ "","define ","ivlD",": " ] - }, { - "r" : "431", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "399", - "s" : [ { - "r" : "383", - "value" : [ "DateTime","(","2013",", ","1",", ","1",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "423", - "s" : [ { - "r" : "407", - "value" : [ "DateTime","(","2014",", ","1",", ","1",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ ")" ] - } ] - } ] - } - } ], + "r" : "1550", + "value" : [ "DateTime", "(", "2013", ", ", "1", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "r" : "1574", + "value" : [ ", ", "null", "]" ] + } ] + }, { + "r" : "1630", + "value" : [ " ", "after", " " ] + }, { + "r" : "1627", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "1595", + "s" : [ { + "r" : "1579", + "value" : [ "DateTime", "(", "2000", ", ", "1", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "1619", + "s" : [ { + "r" : "1603", + "value" : [ "DateTime", "(", "2010", ", ", "1", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ "]" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "After", + "localId" : "1630", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "1631", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1632", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "1633", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1634", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "Interval", + "localId" : "1575", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], "resultTypeSpecifier" : { - "localId" : "434", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "435", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "expression" : { - "localId" : "431", - "lowClosed" : true, - "highClosed" : false, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "432", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "433", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "399", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "400", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "401", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "402", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "403", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "404", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "405", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "406", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "383", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2013", - "type" : "Literal" - }, - "month" : { - "localId" : "384", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "385", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "386", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "387", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "388", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "389", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - }, - "high" : { - "localId" : "423", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "424", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "425", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "426", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "427", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "428", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "429", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "430", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "407", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2014", - "type" : "Literal" - }, - "month" : { - "localId" : "408", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "409", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "410", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "411", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "412", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "413", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - } - } - }, { - "localId" : "438", - "name" : "ivlE", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "438", - "s" : [ { - "value" : [ "","define ","ivlE",": " ] - }, { - "r" : "451", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "443", - "s" : [ { - "r" : "439", - "value" : [ "DateTime","(","2013",")" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "449", - "s" : [ { - "r" : "445", - "value" : [ "DateTime","(","2015",")" ] - } ] - }, { - "value" : [ "]" ] - } ] - } ] - } - } ], + "type" : "IntervalTypeSpecifier", + "localId" : "1577", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1578", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "DateTime", + "localId" : "1566", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1567", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1568", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1569", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1570", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1571", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1572", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1573", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1550", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2013", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1551", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "1552", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "1553", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "1554", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "1555", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "1556", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + }, + "high" : { + "type" : "As", + "localId" : "1576", + "asType" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Null", + "localId" : "1574", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } + } + }, { + "type" : "Interval", + "localId" : "1627", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1628", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1629", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "DateTime", + "localId" : "1595", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1596", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1597", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1598", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1599", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1600", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1601", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1602", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1579", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1580", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "1581", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "1582", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "1583", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "1584", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "1585", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "1619", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1620", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1621", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1622", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1623", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1624", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1625", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1626", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1603", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2010", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1604", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "1605", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "1606", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "1607", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "1608", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "1609", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + } + } ] + } + }, { + "localId" : "1637", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "PosInfEndNotAfterDateIvl", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "1637", + "s" : [ { + "value" : [ "", "define ", "PosInfEndNotAfterDateIvl", ": " ] + }, { + "r" : "1718", + "s" : [ { + "r" : "1663", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "1654", + "s" : [ { + "r" : "1638", + "value" : [ "DateTime", "(", "2013", ", ", "1", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "r" : "1662", + "value" : [ ", ", "null", "]" ] + } ] + }, { + "r" : "1718", + "value" : [ " ", "after", " " ] + }, { + "r" : "1715", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "1683", + "s" : [ { + "r" : "1667", + "value" : [ "DateTime", "(", "2000", ", ", "1", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "1707", + "s" : [ { + "r" : "1691", + "value" : [ "DateTime", "(", "2020", ", ", "1", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ "]" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "After", + "localId" : "1718", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "1719", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1720", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "1721", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1722", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "Interval", + "localId" : "1663", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1665", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1666", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "DateTime", + "localId" : "1654", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1655", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1656", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1657", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1658", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1659", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1660", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1661", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1638", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2013", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1639", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "1640", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "1641", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "1642", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "1643", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "1644", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + }, + "high" : { + "type" : "As", + "localId" : "1664", + "asType" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Null", + "localId" : "1662", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } + } + }, { + "type" : "Interval", + "localId" : "1715", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1716", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1717", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "DateTime", + "localId" : "1683", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1684", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1685", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1686", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1687", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1688", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1689", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1690", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1667", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1668", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "1669", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "1670", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "1671", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "1672", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "1673", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "1707", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1708", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1709", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1710", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1711", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1712", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1713", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1714", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1691", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2020", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1692", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "1693", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "1694", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "1695", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "1696", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "1697", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + } + } ] + } + }, { + "localId" : "1725", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "UnknownEndAfterDateIvl", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "1725", + "s" : [ { + "value" : [ "", "define ", "UnknownEndAfterDateIvl", ": " ] + }, { + "r" : "1806", + "s" : [ { + "r" : "1751", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "1742", + "s" : [ { + "r" : "1726", + "value" : [ "DateTime", "(", "2013", ", ", "1", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "r" : "1750", + "value" : [ ", ", "null", ")" ] + } ] + }, { + "r" : "1806", + "value" : [ " ", "after", " " ] + }, { + "r" : "1803", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "1771", + "s" : [ { + "r" : "1755", + "value" : [ "DateTime", "(", "2000", ", ", "1", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "1795", + "s" : [ { + "r" : "1779", + "value" : [ "DateTime", "(", "2010", ", ", "1", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ "]" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "After", + "localId" : "1806", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "1807", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1808", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "1809", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1810", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "Interval", + "localId" : "1751", + "lowClosed" : true, + "highClosed" : false, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1753", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1754", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "DateTime", + "localId" : "1742", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1743", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1744", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1745", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1746", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1747", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1748", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1749", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1726", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2013", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1727", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "1728", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "1729", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "1730", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "1731", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "1732", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + }, + "high" : { + "type" : "As", + "localId" : "1752", + "asType" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Null", + "localId" : "1750", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } + } + }, { + "type" : "Interval", + "localId" : "1803", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1804", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1805", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "DateTime", + "localId" : "1771", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1772", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1773", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1774", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1775", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1776", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1777", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1778", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1755", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1756", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "1757", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "1758", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "1759", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "1760", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "1761", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "1795", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1796", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1797", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1798", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1799", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1800", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1801", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1802", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1779", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2010", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1780", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "1781", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "1782", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "1783", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "1784", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "1785", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + } + } ] + } + }, { + "localId" : "1813", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "UnknownEndNotAfterDateIvl", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "1813", + "s" : [ { + "value" : [ "", "define ", "UnknownEndNotAfterDateIvl", ": " ] + }, { + "r" : "1894", + "s" : [ { + "r" : "1839", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "1830", + "s" : [ { + "r" : "1814", + "value" : [ "DateTime", "(", "2013", ", ", "1", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "r" : "1838", + "value" : [ ", ", "null", ")" ] + } ] + }, { + "r" : "1894", + "value" : [ " ", "after", " " ] + }, { + "r" : "1891", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "1859", + "s" : [ { + "r" : "1843", + "value" : [ "DateTime", "(", "2020", ", ", "1", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "1883", + "s" : [ { + "r" : "1867", + "value" : [ "DateTime", "(", "2040", ", ", "1", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ "]" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "After", + "localId" : "1894", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "1895", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1896", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "1897", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1898", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "Interval", + "localId" : "1839", + "lowClosed" : true, + "highClosed" : false, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1841", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1842", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "DateTime", + "localId" : "1830", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1831", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1832", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1833", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1834", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1835", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1836", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1837", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1814", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2013", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1815", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "1816", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "1817", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "1818", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "1819", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "1820", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + }, + "high" : { + "type" : "As", + "localId" : "1840", + "asType" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Null", + "localId" : "1838", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } + } + }, { + "type" : "Interval", + "localId" : "1891", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1892", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1893", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "DateTime", + "localId" : "1859", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1860", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1861", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1862", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1863", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1864", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1865", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1866", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1843", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2020", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1844", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "1845", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "1846", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "1847", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "1848", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "1849", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "1883", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1884", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1885", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1886", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1887", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1888", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1889", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1890", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1867", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2040", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1868", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "1869", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "1870", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "1871", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "1872", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "1873", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + } + } ] + } + } ] + } + } +} + +/* Before +library TestSnippet version '1' +using Simple version '1.0.0' +context Patient +define BeforeIntIvl: Interval[2, 4] before Interval[5, 10] +define NotBeforeIntIvl: Interval[2, 5] before Interval[5, 10] +define BeforeRealIvl: Interval[0.0, 1.23] before Interval[1.234, 2.345] +define NotBeforeRealIvl: Interval[1.234, 2.345] before Interval[0.0, 1.234] +define DateIvl: Interval[DateTime(2012, 3, 1, 0, 0, 0, 0), DateTime(2012, 9, 1, 0, 0, 0, 0)) +define BeforeDateIvl: Interval[DateTime(2012, 1, 1, 0, 0, 0, 0), DateTime(2012, 3, 1, 0, 0, 0, 0)) before DateIvl +define NotBeforeDateIvl: Interval[DateTime(2012, 1, 1, 0, 0, 0, 0), DateTime(2012, 3, 1, 0, 0, 0, 0)] before DateIvl +define BeforeImpreciseDateIvl: DateIvl before Interval[DateTime(2012, 9), DateTime(2012, 12)] +define NotBeforeImpreciseDateIvl: DateIvl before Interval[DateTime(2012, 8), DateTime(2012, 12)] +define MayBeBeforeImpreciseDateIvl: DateIvl before Interval[DateTime(2012), DateTime(2012)] +define PrecisionDateIvl: Interval[DateTime(2012, 3, 2, 12, 34, 56, 789), DateTime(2012, 9, 2, 1, 23, 45, 678)) +define AfterDayOfIvl: PrecisionDateIvl before day of Interval[DateTime(2012, 1, 2, 0, 0, 0, 0), DateTime(2012, 3, 1, 0, 0, 0, 0)] +define BeforeDayOfIvl: PrecisionDateIvl before day of Interval[DateTime(2012, 9, 3, 0, 0, 0, 0), DateTime(2012, 12, 1, 0, 0, 0, 0)] +define StartsSameDayOfIvlEnd: PrecisionDateIvl before day of Interval[DateTime(2012, 9, 2, 23, 59, 59, 999), DateTime(2012, 10, 2, 0, 0, 0, 0)] +define EndsSameDayOfIvlStart: PrecisionDateIvl before day of Interval[DateTime(2012, 1, 2, 0, 0, 0, 0), DateTime(2012, 3, 2, 0, 0, 0, 0)] +define MayBeAfterDayOfImpreciseIvl: PrecisionDateIvl before day of Interval[DateTime(2012, 1), DateTime(2012, 3)] +define MayBeBeforeDayOfImpreciseIvl: PrecisionDateIvl before day of Interval[DateTime(2012, 9), DateTime(2012, 12)] +define ImpDateIvl: Interval[DateTime(2012, 3), DateTime(2012, 8)] +define ImpreciseBeforeDateIvl: ImpDateIvl before Interval[DateTime(2012, 9, 1, 0, 0, 0, 0), DateTime(2012, 12, 1, 0, 0, 0, 0)) +define ImpreciseNotBeforeDateIvl: ImpDateIvl before Interval[DateTime(2012, 8, 1, 0, 0, 0, 0), DateTime(2012, 12, 1, 0, 0, 0, 0)) +define ImpreciseMayBeBeforeDateIvl: ImpDateIvl before Interval[DateTime(2012, 8, 15, 0, 0, 0, 0), DateTime(2012, 12, 15, 0, 0, 0, 0)) +define NegInfBegBeforeIntIvl: Interval[null, 100] before Interval[101, 200] +define NegInfBegNotBeforeIntIvl: Interval[null, 100] before Interval[100, 200] +define UnknownBegBeforeIntIvl: Interval(null, 100] before Interval[101, 200] +define UnknownBegNotBeforeIntIvl: Interval(null, 5] before Interval[0, 100] +define PosInfEndNotBeforeIntIvl: Interval[0, null] before Interval[1000, 2000] +define UnknownEndMayBeBeforeIntIvl: Interval[0, null) before Interval[1000, 2000] +define UnknownEndNotBeforeIntIvl: Interval[0, null) before Interval[-100, 0] +define NegInfBegBeforeDateIvl: Interval[null, DateTime(2013, 1, 1, 0, 0, 0, 0)) before Interval[DateTime(2020, 1, 1, 0, 0, 0, 0), DateTime(2030, 1, 1, 0, 0, 0, 0)] +define NegInfBegNotBeforeDateIvl: Interval[null, DateTime(2013, 1, 1, 0, 0, 0, 0)) before Interval[DateTime(2000, 1, 1, 0, 0, 0, 0), DateTime(2010, 1, 1, 0, 0, 0, 0)] +define UnknownBegBeforeDateIvl: Interval(null, DateTime(2013, 1, 1, 0, 0, 0, 0)) before Interval[DateTime(2020, 1, 1, 0, 0, 0, 0), DateTime(2030, 1, 1, 0, 0, 0, 0)] +define UnknownBegNotBeforeDateIvl: Interval(null, DateTime(2013, 1, 1, 0, 0, 0, 0)) before Interval[DateTime(2000, 1, 1, 0, 0, 0, 0), DateTime(2020, 1, 1, 0, 0, 0, 0)] +define PosInfEndNotBeforeDateIvl: Interval[DateTime(2013, 1, 1, 0, 0, 0, 0), null] before Interval[DateTime(2000, 1, 1, 0, 0, 0, 0), DateTime(2020, 1, 1, 0, 0, 0, 0)] +define UnknownEndMayBeBeforeDateIvl: Interval[DateTime(2013, 1, 1, 0, 0, 0, 0), null) before Interval[DateTime(2020, 1, 1, 0, 0, 0, 0), DateTime(2040, 1, 1, 0, 0, 0, 0)] +define UnknownEndNotBeforeDateIvl: Interval[DateTime(2013, 1, 1, 0, 0, 0, 0), null) before Interval[DateTime(2000, 1, 1, 0, 0, 0, 0), DateTime(2013, 1, 1, 0, 0, 0, 0)] +*/ + +module.exports['Before'] = { + "library" : { + "localId" : "0", + "annotation" : [ { + "type" : "CqlToElmInfo", + "translatorVersion" : "4.2.0", + "translatorOptions" : "EnableDateRangeOptimization,EnableAnnotations,EnableResultTypes", + "signatureLevel" : "All" + }, { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "1799", + "s" : [ { + "value" : [ "", "library TestSnippet version '1'" ] + } ] + } + } ], + "identifier" : { + "id" : "TestSnippet", + "version" : "1" + }, + "schemaIdentifier" : { + "id" : "urn:hl7-org:elm", + "version" : "r1" + }, + "usings" : { + "def" : [ { + "localId" : "1", + "localIdentifier" : "System", + "uri" : "urn:hl7-org:elm-types:r1", + "annotation" : [ ] + }, { + "localId" : "206", + "localIdentifier" : "Simple", + "uri" : "https://github.com/cqframework/cql-execution/simple", + "version" : "1.0.0", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "206", + "s" : [ { + "value" : [ "", "using " ] + }, { + "s" : [ { + "value" : [ "Simple" ] + } ] + }, { + "value" : [ " version '1.0.0'" ] + } ] + } + } ] + } ] + }, + "contexts" : { + "def" : [ { + "localId" : "211", + "name" : "Patient", + "annotation" : [ ] + } ] + }, + "statements" : { + "def" : [ { + "localId" : "209", + "name" : "Patient", + "context" : "Patient", + "annotation" : [ ], + "expression" : { + "type" : "SingletonFrom", + "localId" : "210", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Retrieve", + "localId" : "208", + "dataType" : "{https://github.com/cqframework/cql-execution/simple}Patient", + "annotation" : [ ], + "include" : [ ], + "codeFilter" : [ ], + "dateFilter" : [ ], + "otherFilter" : [ ] + } + } + }, { + "localId" : "214", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "BeforeIntIvl", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "214", + "s" : [ { + "value" : [ "", "define ", "BeforeIntIvl", ": " ] + }, { + "r" : "225", + "s" : [ { + "r" : "217", + "s" : [ { + "r" : "215", + "value" : [ "Interval[", "2", ", ", "4", "]" ] + } ] + }, { + "r" : "225", + "value" : [ " ", "before", " " ] + }, { + "r" : "222", + "s" : [ { + "r" : "220", + "value" : [ "Interval[", "5", ", ", "10", "]" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Before", + "localId" : "225", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "226", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "227", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "228", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "229", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "Interval", + "localId" : "217", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], "resultTypeSpecifier" : { - "localId" : "454", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "455", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "expression" : { - "localId" : "451", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "452", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "453", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "443", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "444", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "439", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2013", - "type" : "Literal" - } - }, - "high" : { - "localId" : "449", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "450", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "445", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2015", - "type" : "Literal" - } - } - } - }, { - "localId" : "458", - "name" : "ivlF", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "458", - "s" : [ { - "value" : [ "","define ","ivlF",": " ] - }, { - "r" : "471", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "463", - "s" : [ { - "r" : "459", - "value" : [ "DateTime","(","2014",")" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "469", - "s" : [ { - "r" : "465", - "value" : [ "DateTime","(","2016",")" ] - } ] - }, { - "value" : [ "]" ] - } ] - } ] - } - } ], + "type" : "IntervalTypeSpecifier", + "localId" : "218", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "219", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "low" : { + "type" : "Literal", + "localId" : "215", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "annotation" : [ ] + }, + "high" : { + "type" : "Literal", + "localId" : "216", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "4", + "annotation" : [ ] + } + }, { + "type" : "Interval", + "localId" : "222", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], "resultTypeSpecifier" : { - "localId" : "474", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "475", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "expression" : { - "localId" : "471", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "472", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "473", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "463", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "464", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "459", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2014", - "type" : "Literal" - } - }, - "high" : { - "localId" : "469", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "470", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "465", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2016", - "type" : "Literal" - } - } - } - }, { - "localId" : "478", - "name" : "ivlG", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "478", - "s" : [ { - "value" : [ "","define ","ivlG",": " ] - }, { - "r" : "491", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "483", - "s" : [ { - "r" : "479", - "value" : [ "DateTime","(","2016",")" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "489", - "s" : [ { - "r" : "485", - "value" : [ "DateTime","(","2017",")" ] - } ] - }, { - "value" : [ "]" ] - } ] - } ] - } - } ], + "type" : "IntervalTypeSpecifier", + "localId" : "223", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "224", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "low" : { + "type" : "Literal", + "localId" : "220", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "5", + "annotation" : [ ] + }, + "high" : { + "type" : "Literal", + "localId" : "221", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "10", + "annotation" : [ ] + } + } ] + } + }, { + "localId" : "232", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "NotBeforeIntIvl", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "232", + "s" : [ { + "value" : [ "", "define ", "NotBeforeIntIvl", ": " ] + }, { + "r" : "243", + "s" : [ { + "r" : "235", + "s" : [ { + "r" : "233", + "value" : [ "Interval[", "2", ", ", "5", "]" ] + } ] + }, { + "r" : "243", + "value" : [ " ", "before", " " ] + }, { + "r" : "240", + "s" : [ { + "r" : "238", + "value" : [ "Interval[", "5", ", ", "10", "]" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Before", + "localId" : "243", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "244", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "245", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "246", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "247", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "Interval", + "localId" : "235", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], "resultTypeSpecifier" : { - "localId" : "494", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "495", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "expression" : { - "localId" : "491", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "492", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "493", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "483", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "484", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "479", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2016", - "type" : "Literal" - } - }, - "high" : { - "localId" : "489", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "490", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "485", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2017", - "type" : "Literal" - } - } - } - }, { - "localId" : "498", - "name" : "ivlH", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "498", + "type" : "IntervalTypeSpecifier", + "localId" : "236", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "237", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "low" : { + "type" : "Literal", + "localId" : "233", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "annotation" : [ ] + }, + "high" : { + "type" : "Literal", + "localId" : "234", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "5", + "annotation" : [ ] + } + }, { + "type" : "Interval", + "localId" : "240", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "241", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "242", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "low" : { + "type" : "Literal", + "localId" : "238", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "5", + "annotation" : [ ] + }, + "high" : { + "type" : "Literal", + "localId" : "239", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "10", + "annotation" : [ ] + } + } ] + } + }, { + "localId" : "250", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "BeforeRealIvl", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "250", + "s" : [ { + "value" : [ "", "define ", "BeforeRealIvl", ": " ] + }, { + "r" : "261", + "s" : [ { + "r" : "253", + "s" : [ { + "r" : "251", + "value" : [ "Interval[", "0.0", ", ", "1.23", "]" ] + } ] + }, { + "r" : "261", + "value" : [ " ", "before", " " ] + }, { + "r" : "258", + "s" : [ { + "r" : "256", + "value" : [ "Interval[", "1.234", ", ", "2.345", "]" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Before", + "localId" : "261", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "262", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "263", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "264", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "265", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "Interval", + "localId" : "253", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "254", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "255", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } + }, + "low" : { + "type" : "Literal", + "localId" : "251", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "0.0", + "annotation" : [ ] + }, + "high" : { + "type" : "Literal", + "localId" : "252", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "1.23", + "annotation" : [ ] + } + }, { + "type" : "Interval", + "localId" : "258", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "259", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "260", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } + }, + "low" : { + "type" : "Literal", + "localId" : "256", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "1.234", + "annotation" : [ ] + }, + "high" : { + "type" : "Literal", + "localId" : "257", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "2.345", + "annotation" : [ ] + } + } ] + } + }, { + "localId" : "268", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "NotBeforeRealIvl", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "268", + "s" : [ { + "value" : [ "", "define ", "NotBeforeRealIvl", ": " ] + }, { + "r" : "279", + "s" : [ { + "r" : "271", + "s" : [ { + "r" : "269", + "value" : [ "Interval[", "1.234", ", ", "2.345", "]" ] + } ] + }, { + "r" : "279", + "value" : [ " ", "before", " " ] + }, { + "r" : "276", + "s" : [ { + "r" : "274", + "value" : [ "Interval[", "0.0", ", ", "1.234", "]" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Before", + "localId" : "279", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "280", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "281", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "282", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "283", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "Interval", + "localId" : "271", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "272", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "273", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } + }, + "low" : { + "type" : "Literal", + "localId" : "269", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "1.234", + "annotation" : [ ] + }, + "high" : { + "type" : "Literal", + "localId" : "270", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "2.345", + "annotation" : [ ] + } + }, { + "type" : "Interval", + "localId" : "276", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "277", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "278", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } + }, + "low" : { + "type" : "Literal", + "localId" : "274", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "0.0", + "annotation" : [ ] + }, + "high" : { + "type" : "Literal", + "localId" : "275", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "1.234", + "annotation" : [ ] + } + } ] + } + }, { + "localId" : "286", + "name" : "DateIvl", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "286", + "s" : [ { + "value" : [ "", "define ", "DateIvl", ": " ] + }, { + "r" : "335", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "303", + "s" : [ { + "r" : "287", + "value" : [ "DateTime", "(", "2012", ", ", "3", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "327", + "s" : [ { + "r" : "311", + "value" : [ "DateTime", "(", "2012", ", ", "9", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "338", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "339", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "expression" : { + "type" : "Interval", + "localId" : "335", + "lowClosed" : true, + "highClosed" : false, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "336", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "337", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "DateTime", + "localId" : "303", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "304", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "305", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "306", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "307", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "308", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "309", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "310", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "287", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "288", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "289", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "290", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "291", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "292", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "293", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "327", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "328", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "329", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "330", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "331", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "332", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "333", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "334", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "311", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "312", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "9", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "313", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "314", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "315", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "316", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "317", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + } + } + }, { + "localId" : "342", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "BeforeDateIvl", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "342", + "s" : [ { + "value" : [ "", "define ", "BeforeDateIvl", ": " ] + }, { + "r" : "397", + "s" : [ { + "r" : "391", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "359", + "s" : [ { + "r" : "343", + "value" : [ "DateTime", "(", "2012", ", ", "1", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "383", "s" : [ { - "value" : [ "","define ","ivlH",": " ] - }, { - "r" : "517", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "505", - "s" : [ { - "r" : "499", - "value" : [ "DateTime","(","2013",",","1",")" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "514", - "s" : [ { - "r" : "508", - "value" : [ "DateTime","(","2015",",","1",")" ] - } ] - }, { - "value" : [ "]" ] - } ] - } ] - } - } ], + "r" : "367", + "value" : [ "DateTime", "(", "2012", ", ", "3", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ ")" ] + } ] + }, { + "r" : "397", + "value" : [ " ", "before", " " ] + }, { + "r" : "394", + "s" : [ { + "value" : [ "DateIvl" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Before", + "localId" : "397", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "398", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "399", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "400", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "401", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "Interval", + "localId" : "391", + "lowClosed" : true, + "highClosed" : false, + "annotation" : [ ], "resultTypeSpecifier" : { - "localId" : "520", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "521", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "expression" : { - "localId" : "517", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "518", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "519", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "505", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "506", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "507", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "499", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2013", - "type" : "Literal" - }, - "month" : { - "localId" : "500", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - } - }, - "high" : { - "localId" : "514", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "515", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "516", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "508", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2015", - "type" : "Literal" - }, - "month" : { - "localId" : "509", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - } - } - } - }, { - "localId" : "524", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "OverlapsBefore", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "524", + "type" : "IntervalTypeSpecifier", + "localId" : "392", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "393", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "DateTime", + "localId" : "359", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "360", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "361", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "362", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "363", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "364", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "365", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "366", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "343", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "344", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "345", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "346", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "347", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "348", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "349", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "383", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "384", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "385", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "386", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "387", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "388", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "389", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "390", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "367", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "368", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "369", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "370", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "371", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "372", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "373", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + } + }, { + "type" : "ExpressionRef", + "localId" : "394", + "name" : "DateIvl", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "395", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "396", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + } ] + } + }, { + "localId" : "404", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "NotBeforeDateIvl", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "404", + "s" : [ { + "value" : [ "", "define ", "NotBeforeDateIvl", ": " ] + }, { + "r" : "459", + "s" : [ { + "r" : "453", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "421", "s" : [ { - "value" : [ "","define ","OverlapsBefore",": " ] - }, { - "r" : "531", - "s" : [ { - "r" : "525", - "s" : [ { - "value" : [ "ivlA" ] - } ] - }, { - "r" : "531", - "value" : [ " ","overlaps after"," " ] - }, { - "r" : "528", - "s" : [ { - "value" : [ "ivlB" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "531", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "OverlapsAfter", - "signature" : [ { - "localId" : "532", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "533", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "534", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "535", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "525", - "name" : "ivlA", - "type" : "ExpressionRef", - "resultTypeSpecifier" : { - "localId" : "526", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "527", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - }, { - "localId" : "528", - "name" : "ivlB", - "type" : "ExpressionRef", - "resultTypeSpecifier" : { - "localId" : "529", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "530", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - } ] - } - }, { - "localId" : "538", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "OverlapsAfter", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "538", + "r" : "405", + "value" : [ "DateTime", "(", "2012", ", ", "1", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "445", "s" : [ { - "value" : [ "","define ","OverlapsAfter",": " ] - }, { - "r" : "545", - "s" : [ { - "r" : "539", - "s" : [ { - "value" : [ "ivlB" ] - } ] - }, { - "r" : "545", - "value" : [ " ","overlaps after"," " ] - }, { - "r" : "542", - "s" : [ { - "value" : [ "ivlA" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "545", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "OverlapsAfter", - "signature" : [ { - "localId" : "546", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "547", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "548", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "549", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "539", - "name" : "ivlB", - "type" : "ExpressionRef", - "resultTypeSpecifier" : { - "localId" : "540", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "541", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - }, { - "localId" : "542", - "name" : "ivlA", - "type" : "ExpressionRef", - "resultTypeSpecifier" : { - "localId" : "543", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "544", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - } ] - } - }, { - "localId" : "552", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "OverlapsContained", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "552", + "r" : "429", + "value" : [ "DateTime", "(", "2012", ", ", "3", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ "]" ] + } ] + }, { + "r" : "459", + "value" : [ " ", "before", " " ] + }, { + "r" : "456", + "s" : [ { + "value" : [ "DateIvl" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Before", + "localId" : "459", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "460", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "461", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "462", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "463", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "Interval", + "localId" : "453", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "454", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "455", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "DateTime", + "localId" : "421", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "422", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "423", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "424", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "425", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "426", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "427", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "428", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "405", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "406", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "407", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "408", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "409", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "410", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "411", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "445", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "446", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "447", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "448", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "449", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "450", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "451", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "452", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "429", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "430", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "431", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "432", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "433", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "434", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "435", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + } + }, { + "type" : "ExpressionRef", + "localId" : "456", + "name" : "DateIvl", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "457", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "458", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + } ] + } + }, { + "localId" : "466", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "BeforeImpreciseDateIvl", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "466", + "s" : [ { + "value" : [ "", "define ", "BeforeImpreciseDateIvl", ": " ] + }, { + "r" : "491", + "s" : [ { + "r" : "467", + "s" : [ { + "value" : [ "DateIvl" ] + } ] + }, { + "r" : "491", + "value" : [ " ", "before", " " ] + }, { + "r" : "488", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "476", "s" : [ { - "value" : [ "","define ","OverlapsContained",": " ] - }, { - "r" : "559", - "s" : [ { - "r" : "553", - "s" : [ { - "value" : [ "ivlB" ] - } ] - }, { - "r" : "559", - "value" : [ " ","overlaps after"," " ] - }, { - "r" : "556", - "s" : [ { - "value" : [ "ivlC" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "559", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "OverlapsAfter", - "signature" : [ { - "localId" : "560", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "561", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "562", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "563", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "553", - "name" : "ivlB", - "type" : "ExpressionRef", - "resultTypeSpecifier" : { - "localId" : "554", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "555", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - }, { - "localId" : "556", - "name" : "ivlC", - "type" : "ExpressionRef", - "resultTypeSpecifier" : { - "localId" : "557", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "558", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - } ] - } - }, { - "localId" : "566", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "OverlapsContains", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "566", + "r" : "470", + "value" : [ "DateTime", "(", "2012", ", ", "9", ")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "485", + "s" : [ { + "r" : "479", + "value" : [ "DateTime", "(", "2012", ", ", "12", ")" ] + } ] + }, { + "value" : [ "]" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Before", + "localId" : "491", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "492", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "493", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "494", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "495", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "ExpressionRef", + "localId" : "467", + "name" : "DateIvl", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "468", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "469", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + }, { + "type" : "Interval", + "localId" : "488", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "489", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "490", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "DateTime", + "localId" : "476", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "477", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "478", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "470", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "471", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "9", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "485", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "486", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "487", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "479", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "480", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "12", + "annotation" : [ ] + } + } + } ] + } + }, { + "localId" : "498", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "NotBeforeImpreciseDateIvl", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "498", + "s" : [ { + "value" : [ "", "define ", "NotBeforeImpreciseDateIvl", ": " ] + }, { + "r" : "523", + "s" : [ { + "r" : "499", + "s" : [ { + "value" : [ "DateIvl" ] + } ] + }, { + "r" : "523", + "value" : [ " ", "before", " " ] + }, { + "r" : "520", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "508", "s" : [ { - "value" : [ "","define ","OverlapsContains",": " ] - }, { - "r" : "573", - "s" : [ { - "r" : "567", - "s" : [ { - "value" : [ "ivlC" ] - } ] - }, { - "r" : "573", - "value" : [ " ","overlaps after"," " ] - }, { - "r" : "570", - "s" : [ { - "value" : [ "ivlB" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "573", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "OverlapsAfter", - "signature" : [ { - "localId" : "574", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "575", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "576", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "577", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "567", - "name" : "ivlC", - "type" : "ExpressionRef", - "resultTypeSpecifier" : { - "localId" : "568", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "569", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - }, { - "localId" : "570", - "name" : "ivlB", - "type" : "ExpressionRef", - "resultTypeSpecifier" : { - "localId" : "571", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "572", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - } ] - } - }, { - "localId" : "580", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "ImpreciseOverlapBefore", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "580", + "r" : "502", + "value" : [ "DateTime", "(", "2012", ", ", "8", ")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "517", "s" : [ { - "value" : [ "","define ","ImpreciseOverlapBefore",": " ] - }, { - "r" : "587", - "s" : [ { - "r" : "581", - "s" : [ { - "value" : [ "ivlE" ] - } ] - }, { - "r" : "587", - "value" : [ " ","overlaps after"," " ] - }, { - "r" : "584", - "s" : [ { - "value" : [ "ivlF" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "587", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "OverlapsAfter", - "signature" : [ { - "localId" : "588", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "589", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "590", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "591", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "581", - "name" : "ivlE", - "type" : "ExpressionRef", - "resultTypeSpecifier" : { - "localId" : "582", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "583", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - }, { - "localId" : "584", - "name" : "ivlF", - "type" : "ExpressionRef", - "resultTypeSpecifier" : { - "localId" : "585", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "586", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - } ] - } - }, { - "localId" : "594", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "ImpreciseOverlapAfter", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "594", + "r" : "511", + "value" : [ "DateTime", "(", "2012", ", ", "12", ")" ] + } ] + }, { + "value" : [ "]" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Before", + "localId" : "523", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "524", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "525", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "526", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "527", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "ExpressionRef", + "localId" : "499", + "name" : "DateIvl", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "500", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "501", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + }, { + "type" : "Interval", + "localId" : "520", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "521", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "522", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "DateTime", + "localId" : "508", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "509", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "510", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "502", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "503", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "8", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "517", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "518", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "519", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "511", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "512", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "12", + "annotation" : [ ] + } + } + } ] + } + }, { + "localId" : "530", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "MayBeBeforeImpreciseDateIvl", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "530", + "s" : [ { + "value" : [ "", "define ", "MayBeBeforeImpreciseDateIvl", ": " ] + }, { + "r" : "549", + "s" : [ { + "r" : "531", + "s" : [ { + "value" : [ "DateIvl" ] + } ] + }, { + "r" : "549", + "value" : [ " ", "before", " " ] + }, { + "r" : "546", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "538", "s" : [ { - "value" : [ "","define ","ImpreciseOverlapAfter",": " ] - }, { - "r" : "601", - "s" : [ { - "r" : "595", - "s" : [ { - "value" : [ "ivlF" ] - } ] - }, { - "r" : "601", - "value" : [ " ","overlaps after"," " ] - }, { - "r" : "598", - "s" : [ { - "value" : [ "ivlE" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "601", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "OverlapsAfter", - "signature" : [ { - "localId" : "602", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "603", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "604", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "605", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "595", - "name" : "ivlF", - "type" : "ExpressionRef", - "resultTypeSpecifier" : { - "localId" : "596", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "597", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - }, { - "localId" : "598", - "name" : "ivlE", - "type" : "ExpressionRef", - "resultTypeSpecifier" : { - "localId" : "599", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "600", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - } ] - } - }, { - "localId" : "608", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "NoOverlap", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "608", + "r" : "534", + "value" : [ "DateTime", "(", "2012", ")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "544", "s" : [ { - "value" : [ "","define ","NoOverlap",": " ] - }, { - "r" : "615", - "s" : [ { - "r" : "609", - "s" : [ { - "value" : [ "ivlC" ] - } ] - }, { - "r" : "615", - "value" : [ " ","overlaps after"," " ] - }, { - "r" : "612", - "s" : [ { - "value" : [ "ivlD" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "615", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "OverlapsAfter", - "signature" : [ { - "localId" : "616", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "617", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "618", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "619", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "609", - "name" : "ivlC", - "type" : "ExpressionRef", - "resultTypeSpecifier" : { - "localId" : "610", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "611", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - }, { - "localId" : "612", - "name" : "ivlD", - "type" : "ExpressionRef", - "resultTypeSpecifier" : { - "localId" : "613", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "614", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - } ] - } - }, { - "localId" : "622", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "NoImpreciseOverlap", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "622", + "r" : "540", + "value" : [ "DateTime", "(", "2012", ")" ] + } ] + }, { + "value" : [ "]" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Before", + "localId" : "549", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "550", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "551", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "552", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "553", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "ExpressionRef", + "localId" : "531", + "name" : "DateIvl", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "532", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "533", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + }, { + "type" : "Interval", + "localId" : "546", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "547", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "548", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "DateTime", + "localId" : "538", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "539", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "534", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "544", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "545", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "540", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + } + } + } ] + } + }, { + "localId" : "556", + "name" : "PrecisionDateIvl", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "556", + "s" : [ { + "value" : [ "", "define ", "PrecisionDateIvl", ": " ] + }, { + "r" : "605", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "573", + "s" : [ { + "r" : "557", + "value" : [ "DateTime", "(", "2012", ", ", "3", ", ", "2", ", ", "12", ", ", "34", ", ", "56", ", ", "789", ")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "597", + "s" : [ { + "r" : "581", + "value" : [ "DateTime", "(", "2012", ", ", "9", ", ", "2", ", ", "1", ", ", "23", ", ", "45", ", ", "678", ")" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "608", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "609", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "expression" : { + "type" : "Interval", + "localId" : "605", + "lowClosed" : true, + "highClosed" : false, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "606", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "607", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "DateTime", + "localId" : "573", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "574", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "575", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "576", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "577", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "578", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "579", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "580", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "557", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "558", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "559", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "560", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "12", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "561", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "34", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "562", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "56", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "563", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "789", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "597", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "598", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "599", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "600", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "601", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "602", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "603", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "604", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "581", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "582", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "9", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "583", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "584", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "585", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "23", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "586", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "45", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "587", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "678", + "annotation" : [ ] + } + } + } + }, { + "localId" : "612", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "AfterDayOfIvl", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "612", + "s" : [ { + "value" : [ "", "define ", "AfterDayOfIvl", ": " ] + }, { + "r" : "667", + "s" : [ { + "r" : "613", + "s" : [ { + "value" : [ "PrecisionDateIvl" ] + } ] + }, { + "r" : "667", + "value" : [ " ", "before day of", " " ] + }, { + "r" : "664", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "632", + "s" : [ { + "r" : "616", + "value" : [ "DateTime", "(", "2012", ", ", "1", ", ", "2", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "656", "s" : [ { - "value" : [ "","define ","NoImpreciseOverlap",": " ] - }, { - "r" : "629", - "s" : [ { - "r" : "623", - "s" : [ { - "value" : [ "ivlE" ] - } ] - }, { - "r" : "629", - "value" : [ " ","overlaps after"," " ] - }, { - "r" : "626", - "s" : [ { - "value" : [ "ivlG" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "629", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "OverlapsAfter", - "signature" : [ { - "localId" : "630", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "631", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "632", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "633", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "623", - "name" : "ivlE", - "type" : "ExpressionRef", - "resultTypeSpecifier" : { - "localId" : "624", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "625", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - }, { - "localId" : "626", - "name" : "ivlG", - "type" : "ExpressionRef", - "resultTypeSpecifier" : { - "localId" : "627", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "628", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - } ] - } - }, { - "localId" : "636", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "MatchingPrecisionOverlap", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "636", - "s" : [ { - "value" : [ "","define ","MatchingPrecisionOverlap",": " ] - }, { - "r" : "643", - "s" : [ { - "r" : "637", - "s" : [ { - "value" : [ "ivlG" ] - } ] - }, { - "r" : "643", - "value" : [ " ","overlaps after"," " ] - }, { - "r" : "640", - "s" : [ { - "value" : [ "ivlF" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "643", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "OverlapsAfter", - "signature" : [ { - "localId" : "644", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "645", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "646", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "647", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "637", - "name" : "ivlG", - "type" : "ExpressionRef", - "resultTypeSpecifier" : { - "localId" : "638", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "639", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - }, { - "localId" : "640", - "name" : "ivlF", - "type" : "ExpressionRef", - "resultTypeSpecifier" : { - "localId" : "641", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "642", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - } ] - } - }, { - "localId" : "650", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "UnknownOverlap", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "650", - "s" : [ { - "value" : [ "","define ","UnknownOverlap",": " ] - }, { - "r" : "657", - "s" : [ { - "r" : "651", - "s" : [ { - "value" : [ "ivlH" ] - } ] - }, { - "r" : "657", - "value" : [ " ","overlaps after"," " ] - }, { - "r" : "654", - "s" : [ { - "value" : [ "ivlE" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "657", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "OverlapsAfter", - "signature" : [ { - "localId" : "658", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "659", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "660", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "661", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "651", - "name" : "ivlH", - "type" : "ExpressionRef", - "resultTypeSpecifier" : { - "localId" : "652", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "653", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - }, { - "localId" : "654", - "name" : "ivlE", - "type" : "ExpressionRef", - "resultTypeSpecifier" : { - "localId" : "655", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "656", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - } ] - } - }, { + "r" : "640", + "value" : [ "DateTime", "(", "2012", ", ", "3", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ "]" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Before", + "localId" : "667", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "precision" : "Day", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "668", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "669", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "670", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "671", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "ExpressionRef", + "localId" : "613", + "name" : "PrecisionDateIvl", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "614", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "615", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + }, { + "type" : "Interval", "localId" : "664", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "665", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "666", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "DateTime", + "localId" : "632", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "633", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "634", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "635", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "636", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "637", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "638", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "639", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "616", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "617", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "618", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "619", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "620", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "621", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "622", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "656", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "657", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "658", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "659", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "660", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "661", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "662", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "663", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "640", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "641", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "642", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "643", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "644", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "645", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "646", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + } + } ] + } + }, { + "localId" : "674", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "BeforeDayOfIvl", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "674", + "s" : [ { + "value" : [ "", "define ", "BeforeDayOfIvl", ": " ] + }, { + "r" : "729", + "s" : [ { + "r" : "675", + "s" : [ { + "value" : [ "PrecisionDateIvl" ] + } ] + }, { + "r" : "729", + "value" : [ " ", "before day of", " " ] + }, { + "r" : "726", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "694", + "s" : [ { + "r" : "678", + "value" : [ "DateTime", "(", "2012", ", ", "9", ", ", "3", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "718", + "s" : [ { + "r" : "702", + "value" : [ "DateTime", "(", "2012", ", ", "12", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ "]" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Before", + "localId" : "729", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "precision" : "Day", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "730", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "731", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "732", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "733", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "ExpressionRef", + "localId" : "675", + "name" : "PrecisionDateIvl", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "676", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "677", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + }, { + "type" : "Interval", + "localId" : "726", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "727", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "728", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "DateTime", + "localId" : "694", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "695", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "696", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "697", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "698", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "699", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "700", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "701", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "678", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "679", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "9", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "680", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "681", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "682", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "683", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "684", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "718", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "719", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "720", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "721", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "722", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "723", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "724", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "725", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "702", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "703", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "12", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "704", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "705", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "706", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "707", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "708", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + } + } ] + } + }, { + "localId" : "736", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "StartsSameDayOfIvlEnd", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "736", + "s" : [ { + "value" : [ "", "define ", "StartsSameDayOfIvlEnd", ": " ] + }, { + "r" : "791", + "s" : [ { + "r" : "737", + "s" : [ { + "value" : [ "PrecisionDateIvl" ] + } ] + }, { + "r" : "791", + "value" : [ " ", "before day of", " " ] + }, { + "r" : "788", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "756", + "s" : [ { + "r" : "740", + "value" : [ "DateTime", "(", "2012", ", ", "9", ", ", "2", ", ", "23", ", ", "59", ", ", "59", ", ", "999", ")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "780", + "s" : [ { + "r" : "764", + "value" : [ "DateTime", "(", "2012", ", ", "10", ", ", "2", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ "]" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Before", + "localId" : "791", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "precision" : "Day", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "792", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "793", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "794", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "795", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "ExpressionRef", + "localId" : "737", + "name" : "PrecisionDateIvl", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "738", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "739", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + }, { + "type" : "Interval", + "localId" : "788", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "789", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "790", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "DateTime", + "localId" : "756", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "757", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "758", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "759", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "760", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "761", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "762", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "763", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "740", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "741", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "9", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "742", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "743", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "23", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "744", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "59", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "745", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "59", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "746", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "999", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "780", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "781", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "782", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "783", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "784", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "785", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "786", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "787", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "764", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "765", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "10", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "766", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "767", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "768", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "769", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "770", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + } + } ] + } + }, { + "localId" : "798", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "EndsSameDayOfIvlStart", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "798", + "s" : [ { + "value" : [ "", "define ", "EndsSameDayOfIvlStart", ": " ] + }, { + "r" : "853", + "s" : [ { + "r" : "799", + "s" : [ { + "value" : [ "PrecisionDateIvl" ] + } ] + }, { + "r" : "853", + "value" : [ " ", "before day of", " " ] + }, { + "r" : "850", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "818", + "s" : [ { + "r" : "802", + "value" : [ "DateTime", "(", "2012", ", ", "1", ", ", "2", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "842", + "s" : [ { + "r" : "826", + "value" : [ "DateTime", "(", "2012", ", ", "3", ", ", "2", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ "]" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Before", + "localId" : "853", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "precision" : "Day", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "854", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "855", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "856", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "857", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "ExpressionRef", + "localId" : "799", + "name" : "PrecisionDateIvl", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "800", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "801", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + }, { + "type" : "Interval", + "localId" : "850", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "851", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "852", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "DateTime", + "localId" : "818", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "819", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "820", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "821", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "822", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "823", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "824", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "825", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "802", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "803", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "804", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "805", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "806", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "807", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "808", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "842", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "843", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "844", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "845", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "846", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "847", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "848", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "849", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "826", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "827", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "828", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "829", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "830", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "831", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "832", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + } + } ] + } + }, { + "localId" : "860", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "MayBeAfterDayOfImpreciseIvl", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "860", + "s" : [ { + "value" : [ "", "define ", "MayBeAfterDayOfImpreciseIvl", ": " ] + }, { + "r" : "885", + "s" : [ { + "r" : "861", + "s" : [ { + "value" : [ "PrecisionDateIvl" ] + } ] + }, { + "r" : "885", + "value" : [ " ", "before day of", " " ] + }, { + "r" : "882", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "870", + "s" : [ { + "r" : "864", + "value" : [ "DateTime", "(", "2012", ", ", "1", ")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "879", + "s" : [ { + "r" : "873", + "value" : [ "DateTime", "(", "2012", ", ", "3", ")" ] + } ] + }, { + "value" : [ "]" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Before", + "localId" : "885", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "precision" : "Day", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "886", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "887", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "888", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "889", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "ExpressionRef", + "localId" : "861", "name" : "PrecisionDateIvl", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "664", - "s" : [ { - "value" : [ "","define ","PrecisionDateIvl",": " ] - }, { - "r" : "713", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "681", - "s" : [ { - "r" : "665", - "value" : [ "DateTime","(","2012",", ","3",", ","2",", ","12",", ","34",", ","56",", ","789",")" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "705", - "s" : [ { - "r" : "689", - "value" : [ "DateTime","(","2012",", ","9",", ","2",", ","1",", ","23",", ","45",", ","678",")" ] - } ] - }, { - "value" : [ ")" ] - } ] - } ] - } - } ], + "annotation" : [ ], "resultTypeSpecifier" : { - "localId" : "716", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "717", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "expression" : { - "localId" : "713", - "lowClosed" : true, - "highClosed" : false, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "714", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "715", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "681", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "682", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "683", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "684", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "685", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "686", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "687", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "688", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "665", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "666", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "667", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal" - }, - "hour" : { - "localId" : "668", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "12", - "type" : "Literal" - }, - "minute" : { - "localId" : "669", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "34", - "type" : "Literal" - }, - "second" : { - "localId" : "670", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "56", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "671", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "789", - "type" : "Literal" - } - }, - "high" : { - "localId" : "705", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "706", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "707", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "708", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "709", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "710", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "711", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "712", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "689", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "690", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "9", - "type" : "Literal" - }, - "day" : { - "localId" : "691", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal" - }, - "hour" : { - "localId" : "692", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "minute" : { - "localId" : "693", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "23", - "type" : "Literal" - }, - "second" : { - "localId" : "694", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "45", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "695", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "678", - "type" : "Literal" - } - } - } - }, { - "localId" : "720", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "OverlapsBeforeDayOfIvlEdge", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "720", - "s" : [ { - "value" : [ "","define ","OverlapsBeforeDayOfIvlEdge",": " ] - }, { - "r" : "775", - "s" : [ { - "r" : "721", - "s" : [ { - "value" : [ "PrecisionDateIvl" ] - } ] - }, { - "r" : "775", - "value" : [ " ","overlaps after day of"," " ] - }, { - "r" : "772", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "740", - "s" : [ { - "r" : "724", - "value" : [ "DateTime","(","2012",", ","9",", ","2",", ","23",", ","59",", ","59",", ","999",")" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "764", - "s" : [ { - "r" : "748", - "value" : [ "DateTime","(","2012",", ","10",", ","1",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ "]" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "775", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "precision" : "Day", - "type" : "OverlapsAfter", - "signature" : [ { - "localId" : "776", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "777", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "778", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "779", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "721", - "name" : "PrecisionDateIvl", - "type" : "ExpressionRef", - "resultTypeSpecifier" : { - "localId" : "722", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "723", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - }, { - "localId" : "772", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "773", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "774", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "740", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "741", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "742", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "743", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "744", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "745", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "746", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "747", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "724", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "725", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "9", - "type" : "Literal" - }, - "day" : { - "localId" : "726", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal" - }, - "hour" : { - "localId" : "727", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "23", - "type" : "Literal" - }, - "minute" : { - "localId" : "728", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal" - }, - "second" : { - "localId" : "729", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "730", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "999", - "type" : "Literal" - } - }, - "high" : { - "localId" : "764", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "765", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "766", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "767", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "768", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "769", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "770", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "771", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "748", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "749", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal" - }, - "day" : { - "localId" : "750", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "751", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "752", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "753", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "754", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - } - } ] - } - }, { - "localId" : "782", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "OverlapsAfterDayOfIvlEdge", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "782", + "type" : "IntervalTypeSpecifier", + "localId" : "862", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "863", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + }, { + "type" : "Interval", + "localId" : "882", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "883", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "884", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "DateTime", + "localId" : "870", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "871", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "872", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "864", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "865", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "879", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "880", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "881", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "873", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "874", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + } + } + } ] + } + }, { + "localId" : "892", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "MayBeBeforeDayOfImpreciseIvl", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "892", + "s" : [ { + "value" : [ "", "define ", "MayBeBeforeDayOfImpreciseIvl", ": " ] + }, { + "r" : "917", + "s" : [ { + "r" : "893", + "s" : [ { + "value" : [ "PrecisionDateIvl" ] + } ] + }, { + "r" : "917", + "value" : [ " ", "before day of", " " ] + }, { + "r" : "914", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "902", "s" : [ { - "value" : [ "","define ","OverlapsAfterDayOfIvlEdge",": " ] - }, { - "r" : "837", - "s" : [ { - "r" : "783", - "s" : [ { - "value" : [ "PrecisionDateIvl" ] - } ] - }, { - "r" : "837", - "value" : [ " ","overlaps after day of"," " ] - }, { - "r" : "834", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "802", - "s" : [ { - "r" : "786", - "value" : [ "DateTime","(","2012",", ","1",", ","2",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "826", - "s" : [ { - "r" : "810", - "value" : [ "DateTime","(","2012",", ","3",", ","2",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ "]" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "837", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "precision" : "Day", - "type" : "OverlapsAfter", - "signature" : [ { - "localId" : "838", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "839", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "840", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "841", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "783", - "name" : "PrecisionDateIvl", - "type" : "ExpressionRef", - "resultTypeSpecifier" : { - "localId" : "784", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "785", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - }, { - "localId" : "834", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "835", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "836", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "802", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "803", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "804", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "805", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "806", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "807", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "808", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "809", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "786", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "787", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "788", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal" - }, - "hour" : { - "localId" : "789", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "790", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "791", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "792", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - }, - "high" : { - "localId" : "826", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "827", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "828", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "829", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "830", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "831", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "832", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "833", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "810", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "811", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "812", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal" - }, - "hour" : { - "localId" : "813", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "814", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "815", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "816", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - } - } ] - } - }, { - "localId" : "844", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "OverlapsContainsDayOfIvl", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "844", - "s" : [ { - "value" : [ "","define ","OverlapsContainsDayOfIvl",": " ] - }, { - "r" : "899", - "s" : [ { - "r" : "845", - "s" : [ { - "value" : [ "PrecisionDateIvl" ] - } ] - }, { - "r" : "899", - "value" : [ " ","overlaps after day of"," " ] - }, { - "r" : "896", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "864", - "s" : [ { - "r" : "848", - "value" : [ "DateTime","(","2012",", ","5",", ","1",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "888", - "s" : [ { - "r" : "872", - "value" : [ "DateTime","(","2012",", ","6",", ","1",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ "]" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "899", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "precision" : "Day", - "type" : "OverlapsAfter", - "signature" : [ { - "localId" : "900", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "901", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "902", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "903", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "845", - "name" : "PrecisionDateIvl", - "type" : "ExpressionRef", - "resultTypeSpecifier" : { - "localId" : "846", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "847", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - }, { - "localId" : "896", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "897", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "898", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "864", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "865", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "866", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "867", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "868", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "869", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "870", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "871", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "848", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "849", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal" - }, - "day" : { - "localId" : "850", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "851", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "852", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "853", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "854", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - }, - "high" : { - "localId" : "888", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "889", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "890", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "891", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "892", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "893", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "894", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "895", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "872", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "873", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "6", - "type" : "Literal" - }, - "day" : { - "localId" : "874", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "875", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "876", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "877", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "878", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - } - } ] - } - }, { - "localId" : "906", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "OverlapsContainedByDayOfIvl", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "906", - "s" : [ { - "value" : [ "","define ","OverlapsContainedByDayOfIvl",": " ] - }, { - "r" : "961", - "s" : [ { - "r" : "907", - "s" : [ { - "value" : [ "PrecisionDateIvl" ] - } ] - }, { - "r" : "961", - "value" : [ " ","overlaps after day of"," " ] - }, { - "r" : "958", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "926", - "s" : [ { - "r" : "910", - "value" : [ "DateTime","(","2012",", ","1",", ","1",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "950", - "s" : [ { - "r" : "934", - "value" : [ "DateTime","(","2012",", ","12",", ","1",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ "]" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "961", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "precision" : "Day", - "type" : "OverlapsAfter", - "signature" : [ { - "localId" : "962", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "963", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "964", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "965", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "907", - "name" : "PrecisionDateIvl", - "type" : "ExpressionRef", - "resultTypeSpecifier" : { - "localId" : "908", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "909", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - }, { - "localId" : "958", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "959", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "960", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "926", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "927", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "928", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "929", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "930", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "931", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "932", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "933", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "910", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "911", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "912", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "913", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "914", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "915", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "916", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - }, - "high" : { - "localId" : "950", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "951", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "952", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "953", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "954", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "955", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "956", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "957", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "934", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "935", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "12", - "type" : "Literal" - }, - "day" : { - "localId" : "936", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "937", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "938", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "939", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "940", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - } - } ] - } - }, { - "localId" : "968", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "NotOverlapsDayOfIvl", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "968", - "s" : [ { - "value" : [ "","define ","NotOverlapsDayOfIvl",": " ] - }, { - "r" : "1023", - "s" : [ { - "r" : "969", - "s" : [ { - "value" : [ "PrecisionDateIvl" ] - } ] - }, { - "r" : "1023", - "value" : [ " ","overlaps after day of"," " ] - }, { - "r" : "1020", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "988", - "s" : [ { - "r" : "972", - "value" : [ "DateTime","(","2012",", ","1",", ","2",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "1012", - "s" : [ { - "r" : "996", - "value" : [ "DateTime","(","2012",", ","3",", ","1",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ "]" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "1023", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "precision" : "Day", - "type" : "OverlapsAfter", - "signature" : [ { - "localId" : "1024", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1025", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "1026", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1027", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "969", - "name" : "PrecisionDateIvl", - "type" : "ExpressionRef", - "resultTypeSpecifier" : { - "localId" : "970", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "971", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - }, { - "localId" : "1020", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "1021", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1022", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "988", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "989", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "990", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "991", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "992", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "993", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "994", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "995", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "972", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "973", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "974", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal" - }, - "hour" : { - "localId" : "975", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "976", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "977", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "978", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - }, - "high" : { - "localId" : "1012", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "1013", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1014", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1015", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1016", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1017", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1018", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1019", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "996", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "997", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "998", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "999", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "1000", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "1001", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "1002", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - } - } ] - } - }, { - "localId" : "1030", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "OverlapsAfterDayOfImpreciseInterval", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "1030", - "s" : [ { - "value" : [ "","define ","OverlapsAfterDayOfImpreciseInterval",": " ] - }, { - "r" : "1055", - "s" : [ { - "r" : "1031", - "s" : [ { - "value" : [ "PrecisionDateIvl" ] - } ] - }, { - "r" : "1055", - "value" : [ " ","overlaps after day of"," " ] - }, { - "r" : "1052", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "1040", - "s" : [ { - "r" : "1034", - "value" : [ "DateTime","(","2012",", ","1",")" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "1049", - "s" : [ { - "r" : "1043", - "value" : [ "DateTime","(","2012",", ","4",")" ] - } ] - }, { - "value" : [ "]" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "1055", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "precision" : "Day", - "type" : "OverlapsAfter", - "signature" : [ { - "localId" : "1056", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1057", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "1058", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1059", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "1031", - "name" : "PrecisionDateIvl", - "type" : "ExpressionRef", - "resultTypeSpecifier" : { - "localId" : "1032", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1033", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - }, { - "localId" : "1052", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "1053", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1054", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "1040", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "1041", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1042", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1034", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "1035", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - } - }, - "high" : { - "localId" : "1049", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "1050", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1051", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1043", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "1044", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "4", - "type" : "Literal" - } - } - } ] - } - }, { - "localId" : "1062", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "MayOverlapBeforeDayOfImpreciseIvl", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "1062", - "s" : [ { - "value" : [ "","define ","MayOverlapBeforeDayOfImpreciseIvl",": " ] - }, { - "r" : "1087", - "s" : [ { - "r" : "1063", - "s" : [ { - "value" : [ "PrecisionDateIvl" ] - } ] - }, { - "r" : "1087", - "value" : [ " ","overlaps after day of"," " ] - }, { - "r" : "1084", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "1072", - "s" : [ { - "r" : "1066", - "value" : [ "DateTime","(","2012",", ","9",")" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "1081", - "s" : [ { - "r" : "1075", - "value" : [ "DateTime","(","2012",", ","10",")" ] - } ] - }, { - "value" : [ "]" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "1087", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "precision" : "Day", - "type" : "OverlapsAfter", - "signature" : [ { - "localId" : "1088", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1089", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "1090", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1091", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "1063", - "name" : "PrecisionDateIvl", - "type" : "ExpressionRef", - "resultTypeSpecifier" : { - "localId" : "1064", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1065", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - }, { - "localId" : "1084", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "1085", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1086", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "1072", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "1073", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1074", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1066", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "1067", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "9", - "type" : "Literal" - } - }, - "high" : { - "localId" : "1081", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "1082", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1083", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1075", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "1076", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal" - } - } - } ] - } - }, { - "localId" : "1094", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "MayOverlapAfterDayOfImpreciseIvl", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { + "r" : "896", + "value" : [ "DateTime", "(", "2012", ", ", "9", ")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "911", + "s" : [ { + "r" : "905", + "value" : [ "DateTime", "(", "2012", ", ", "12", ")" ] + } ] + }, { + "value" : [ "]" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Before", + "localId" : "917", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "precision" : "Day", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "918", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "919", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "920", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "921", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "ExpressionRef", + "localId" : "893", + "name" : "PrecisionDateIvl", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "894", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "895", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + }, { + "type" : "Interval", + "localId" : "914", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "915", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "916", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "DateTime", + "localId" : "902", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "903", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "904", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "896", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "897", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "9", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "911", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "912", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "913", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "905", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "906", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "12", + "annotation" : [ ] + } + } + } ] + } + }, { + "localId" : "924", + "name" : "ImpDateIvl", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "924", + "s" : [ { + "value" : [ "", "define ", "ImpDateIvl", ": " ] + }, { + "r" : "943", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "931", + "s" : [ { + "r" : "925", + "value" : [ "DateTime", "(", "2012", ", ", "3", ")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "940", + "s" : [ { + "r" : "934", + "value" : [ "DateTime", "(", "2012", ", ", "8", ")" ] + } ] + }, { + "value" : [ "]" ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "946", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "947", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "expression" : { + "type" : "Interval", + "localId" : "943", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "944", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "945", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "DateTime", + "localId" : "931", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "932", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "933", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "925", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "926", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "940", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "941", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "942", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "934", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "935", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "8", + "annotation" : [ ] + } + } + } + }, { + "localId" : "950", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "ImpreciseBeforeDateIvl", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "950", + "s" : [ { + "value" : [ "", "define ", "ImpreciseBeforeDateIvl", ": " ] + }, { + "r" : "1005", + "s" : [ { + "r" : "951", + "s" : [ { + "value" : [ "ImpDateIvl" ] + } ] + }, { + "r" : "1005", + "value" : [ " ", "before", " " ] + }, { + "r" : "1002", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "970", + "s" : [ { + "r" : "954", + "value" : [ "DateTime", "(", "2012", ", ", "9", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "994", + "s" : [ { + "r" : "978", + "value" : [ "DateTime", "(", "2012", ", ", "12", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Before", + "localId" : "1005", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "1006", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1007", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "1008", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1009", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "ExpressionRef", + "localId" : "951", + "name" : "ImpDateIvl", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "952", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "953", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + }, { + "type" : "Interval", + "localId" : "1002", + "lowClosed" : true, + "highClosed" : false, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1003", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1004", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "DateTime", + "localId" : "970", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "971", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "972", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "973", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "974", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "975", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "976", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "977", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "954", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "955", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "9", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "956", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "957", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "958", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "959", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "960", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "994", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "995", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "996", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "997", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "998", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "999", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1000", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1001", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "978", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "979", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "12", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "980", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "981", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "982", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "983", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "984", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + } + } ] + } + }, { + "localId" : "1012", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "ImpreciseNotBeforeDateIvl", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "1012", + "s" : [ { + "value" : [ "", "define ", "ImpreciseNotBeforeDateIvl", ": " ] + }, { + "r" : "1067", + "s" : [ { + "r" : "1013", + "s" : [ { + "value" : [ "ImpDateIvl" ] + } ] + }, { + "r" : "1067", + "value" : [ " ", "before", " " ] + }, { + "r" : "1064", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "1032", + "s" : [ { + "r" : "1016", + "value" : [ "DateTime", "(", "2012", ", ", "8", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "1056", + "s" : [ { + "r" : "1040", + "value" : [ "DateTime", "(", "2012", ", ", "12", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Before", + "localId" : "1067", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "1068", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1069", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "1070", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1071", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "ExpressionRef", + "localId" : "1013", + "name" : "ImpDateIvl", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1014", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1015", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + }, { + "type" : "Interval", + "localId" : "1064", + "lowClosed" : true, + "highClosed" : false, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1065", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1066", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "DateTime", + "localId" : "1032", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1033", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1034", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1035", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1036", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1037", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1038", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1039", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1016", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1017", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "8", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "1018", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "1019", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "1020", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "1021", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "1022", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "1056", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1057", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1058", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1059", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1060", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1061", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1062", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1063", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1040", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1041", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "12", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "1042", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "1043", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "1044", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "1045", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "1046", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + } + } ] + } + }, { + "localId" : "1074", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "ImpreciseMayBeBeforeDateIvl", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "1074", + "s" : [ { + "value" : [ "", "define ", "ImpreciseMayBeBeforeDateIvl", ": " ] + }, { + "r" : "1129", + "s" : [ { + "r" : "1075", + "s" : [ { + "value" : [ "ImpDateIvl" ] + } ] + }, { + "r" : "1129", + "value" : [ " ", "before", " " ] + }, { + "r" : "1126", + "s" : [ { + "value" : [ "Interval[" ] + }, { "r" : "1094", "s" : [ { - "value" : [ "","define ","MayOverlapAfterDayOfImpreciseIvl",": " ] - }, { - "r" : "1119", - "s" : [ { - "r" : "1095", - "s" : [ { - "value" : [ "PrecisionDateIvl" ] - } ] - }, { - "r" : "1119", - "value" : [ " ","overlaps after day of"," " ] - }, { - "r" : "1116", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "1104", - "s" : [ { - "r" : "1098", - "value" : [ "DateTime","(","2012",", ","1",")" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "1113", - "s" : [ { - "r" : "1107", - "value" : [ "DateTime","(","2012",", ","3",")" ] - } ] - }, { - "value" : [ "]" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "1119", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "precision" : "Day", - "type" : "OverlapsAfter", - "signature" : [ { - "localId" : "1120", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1121", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "1122", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1123", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "1095", - "name" : "PrecisionDateIvl", - "type" : "ExpressionRef", - "resultTypeSpecifier" : { - "localId" : "1096", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1097", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - }, { - "localId" : "1116", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "1117", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1118", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "1104", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "1105", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1106", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1098", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "1099", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - } - }, - "high" : { - "localId" : "1113", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "1114", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1115", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1107", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "1108", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - } - } - } ] - } - } ] - } - } + "r" : "1078", + "value" : [ "DateTime", "(", "2012", ", ", "8", ", ", "15", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "1118", + "s" : [ { + "r" : "1102", + "value" : [ "DateTime", "(", "2012", ", ", "12", ", ", "15", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Before", + "localId" : "1129", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "1130", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1131", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "1132", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1133", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "ExpressionRef", + "localId" : "1075", + "name" : "ImpDateIvl", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1076", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1077", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + }, { + "type" : "Interval", + "localId" : "1126", + "lowClosed" : true, + "highClosed" : false, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1127", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1128", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "DateTime", + "localId" : "1094", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1095", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1096", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1097", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1098", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1099", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1100", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1101", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1078", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1079", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "8", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "1080", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "15", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "1081", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "1082", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "1083", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "1084", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "1118", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1119", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1120", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1121", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1122", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1123", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1124", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1125", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1102", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1103", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "12", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "1104", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "15", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "1105", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "1106", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "1107", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "1108", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + } + } ] + } + }, { + "localId" : "1136", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "NegInfBegBeforeIntIvl", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "1136", + "s" : [ { + "value" : [ "", "define ", "NegInfBegBeforeIntIvl", ": " ] + }, { + "r" : "1148", + "s" : [ { + "r" : "1139", + "s" : [ { + "r" : "1137", + "value" : [ "Interval[", "null", ", ", "100", "]" ] + } ] + }, { + "r" : "1148", + "value" : [ " ", "before", " " ] + }, { + "r" : "1145", + "s" : [ { + "r" : "1143", + "value" : [ "Interval[", "101", ", ", "200", "]" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Before", + "localId" : "1148", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "1149", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1150", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "1151", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1152", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "Interval", + "localId" : "1139", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1141", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1142", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "low" : { + "type" : "As", + "localId" : "1140", + "asType" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Null", + "localId" : "1137", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } + }, + "high" : { + "type" : "Literal", + "localId" : "1138", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "100", + "annotation" : [ ] + } + }, { + "type" : "Interval", + "localId" : "1145", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1146", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1147", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "low" : { + "type" : "Literal", + "localId" : "1143", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "101", + "annotation" : [ ] + }, + "high" : { + "type" : "Literal", + "localId" : "1144", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "200", + "annotation" : [ ] + } + } ] + } + }, { + "localId" : "1155", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "NegInfBegNotBeforeIntIvl", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "1155", + "s" : [ { + "value" : [ "", "define ", "NegInfBegNotBeforeIntIvl", ": " ] + }, { + "r" : "1167", + "s" : [ { + "r" : "1158", + "s" : [ { + "r" : "1156", + "value" : [ "Interval[", "null", ", ", "100", "]" ] + } ] + }, { + "r" : "1167", + "value" : [ " ", "before", " " ] + }, { + "r" : "1164", + "s" : [ { + "r" : "1162", + "value" : [ "Interval[", "100", ", ", "200", "]" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Before", + "localId" : "1167", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "1168", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1169", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "1170", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1171", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "Interval", + "localId" : "1158", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1160", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1161", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "low" : { + "type" : "As", + "localId" : "1159", + "asType" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Null", + "localId" : "1156", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } + }, + "high" : { + "type" : "Literal", + "localId" : "1157", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "100", + "annotation" : [ ] + } + }, { + "type" : "Interval", + "localId" : "1164", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1165", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1166", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "low" : { + "type" : "Literal", + "localId" : "1162", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "100", + "annotation" : [ ] + }, + "high" : { + "type" : "Literal", + "localId" : "1163", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "200", + "annotation" : [ ] + } + } ] + } + }, { + "localId" : "1174", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "UnknownBegBeforeIntIvl", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "1174", + "s" : [ { + "value" : [ "", "define ", "UnknownBegBeforeIntIvl", ": " ] + }, { + "r" : "1186", + "s" : [ { + "r" : "1177", + "s" : [ { + "r" : "1175", + "value" : [ "Interval(", "null", ", ", "100", "]" ] + } ] + }, { + "r" : "1186", + "value" : [ " ", "before", " " ] + }, { + "r" : "1183", + "s" : [ { + "r" : "1181", + "value" : [ "Interval[", "101", ", ", "200", "]" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Before", + "localId" : "1186", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "1187", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1188", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "1189", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1190", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "Interval", + "localId" : "1177", + "lowClosed" : false, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1179", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1180", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "low" : { + "type" : "As", + "localId" : "1178", + "asType" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Null", + "localId" : "1175", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } + }, + "high" : { + "type" : "Literal", + "localId" : "1176", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "100", + "annotation" : [ ] + } + }, { + "type" : "Interval", + "localId" : "1183", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1184", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1185", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "low" : { + "type" : "Literal", + "localId" : "1181", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "101", + "annotation" : [ ] + }, + "high" : { + "type" : "Literal", + "localId" : "1182", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "200", + "annotation" : [ ] + } + } ] + } + }, { + "localId" : "1193", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "UnknownBegNotBeforeIntIvl", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "1193", + "s" : [ { + "value" : [ "", "define ", "UnknownBegNotBeforeIntIvl", ": " ] + }, { + "r" : "1205", + "s" : [ { + "r" : "1196", + "s" : [ { + "r" : "1194", + "value" : [ "Interval(", "null", ", ", "5", "]" ] + } ] + }, { + "r" : "1205", + "value" : [ " ", "before", " " ] + }, { + "r" : "1202", + "s" : [ { + "r" : "1200", + "value" : [ "Interval[", "0", ", ", "100", "]" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Before", + "localId" : "1205", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "1206", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1207", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "1208", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1209", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "Interval", + "localId" : "1196", + "lowClosed" : false, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1198", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1199", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "low" : { + "type" : "As", + "localId" : "1197", + "asType" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Null", + "localId" : "1194", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } + }, + "high" : { + "type" : "Literal", + "localId" : "1195", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "5", + "annotation" : [ ] + } + }, { + "type" : "Interval", + "localId" : "1202", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1203", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1204", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "low" : { + "type" : "Literal", + "localId" : "1200", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "high" : { + "type" : "Literal", + "localId" : "1201", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "100", + "annotation" : [ ] + } + } ] + } + }, { + "localId" : "1212", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "PosInfEndNotBeforeIntIvl", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "1212", + "s" : [ { + "value" : [ "", "define ", "PosInfEndNotBeforeIntIvl", ": " ] + }, { + "r" : "1224", + "s" : [ { + "r" : "1215", + "s" : [ { + "r" : "1213", + "value" : [ "Interval[", "0", ", ", "null", "]" ] + } ] + }, { + "r" : "1224", + "value" : [ " ", "before", " " ] + }, { + "r" : "1221", + "s" : [ { + "r" : "1219", + "value" : [ "Interval[", "1000", ", ", "2000", "]" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Before", + "localId" : "1224", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "1225", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1226", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "1227", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1228", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "Interval", + "localId" : "1215", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1217", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1218", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "low" : { + "type" : "Literal", + "localId" : "1213", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "high" : { + "type" : "As", + "localId" : "1216", + "asType" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Null", + "localId" : "1214", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } + } + }, { + "type" : "Interval", + "localId" : "1221", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1222", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1223", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "low" : { + "type" : "Literal", + "localId" : "1219", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1000", + "annotation" : [ ] + }, + "high" : { + "type" : "Literal", + "localId" : "1220", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + } + } ] + } + }, { + "localId" : "1231", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "UnknownEndMayBeBeforeIntIvl", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "1231", + "s" : [ { + "value" : [ "", "define ", "UnknownEndMayBeBeforeIntIvl", ": " ] + }, { + "r" : "1243", + "s" : [ { + "r" : "1234", + "s" : [ { + "r" : "1232", + "value" : [ "Interval[", "0", ", ", "null", ")" ] + } ] + }, { + "r" : "1243", + "value" : [ " ", "before", " " ] + }, { + "r" : "1240", + "s" : [ { + "r" : "1238", + "value" : [ "Interval[", "1000", ", ", "2000", "]" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Before", + "localId" : "1243", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "1244", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1245", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "1246", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1247", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "Interval", + "localId" : "1234", + "lowClosed" : true, + "highClosed" : false, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1236", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1237", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "low" : { + "type" : "Literal", + "localId" : "1232", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "high" : { + "type" : "As", + "localId" : "1235", + "asType" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Null", + "localId" : "1233", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } + } + }, { + "type" : "Interval", + "localId" : "1240", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1241", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1242", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "low" : { + "type" : "Literal", + "localId" : "1238", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1000", + "annotation" : [ ] + }, + "high" : { + "type" : "Literal", + "localId" : "1239", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + } + } ] + } + }, { + "localId" : "1250", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "UnknownEndNotBeforeIntIvl", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "1250", + "s" : [ { + "value" : [ "", "define ", "UnknownEndNotBeforeIntIvl", ": " ] + }, { + "r" : "1264", + "s" : [ { + "r" : "1253", + "s" : [ { + "r" : "1251", + "value" : [ "Interval[", "0", ", ", "null", ")" ] + } ] + }, { + "r" : "1264", + "value" : [ " ", "before", " " ] + }, { + "r" : "1261", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "1257", + "s" : [ { + "r" : "1258", + "value" : [ "-", "100" ] + } ] + }, { + "r" : "1260", + "value" : [ ", ", "0", "]" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Before", + "localId" : "1264", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "1265", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1266", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "1267", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1268", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "Interval", + "localId" : "1253", + "lowClosed" : true, + "highClosed" : false, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1255", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1256", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "low" : { + "type" : "Literal", + "localId" : "1251", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "high" : { + "type" : "As", + "localId" : "1254", + "asType" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Null", + "localId" : "1252", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } + } + }, { + "type" : "Interval", + "localId" : "1261", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1262", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1263", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "low" : { + "type" : "Negate", + "localId" : "1257", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1259", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "operand" : { + "type" : "Literal", + "localId" : "1258", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "100", + "annotation" : [ ] + } + }, + "high" : { + "type" : "Literal", + "localId" : "1260", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + } ] + } + }, { + "localId" : "1271", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "NegInfBegBeforeDateIvl", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "1271", + "s" : [ { + "value" : [ "", "define ", "NegInfBegBeforeDateIvl", ": " ] + }, { + "r" : "1352", + "s" : [ { + "r" : "1297", + "s" : [ { + "r" : "1272", + "value" : [ "Interval[", "null", ", " ] + }, { + "r" : "1289", + "s" : [ { + "r" : "1273", + "value" : [ "DateTime", "(", "2013", ", ", "1", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ ")" ] + } ] + }, { + "r" : "1352", + "value" : [ " ", "before", " " ] + }, { + "r" : "1349", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "1317", + "s" : [ { + "r" : "1301", + "value" : [ "DateTime", "(", "2020", ", ", "1", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "1341", + "s" : [ { + "r" : "1325", + "value" : [ "DateTime", "(", "2030", ", ", "1", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ "]" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Before", + "localId" : "1352", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "1353", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1354", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "1355", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1356", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "Interval", + "localId" : "1297", + "lowClosed" : true, + "highClosed" : false, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1299", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1300", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "As", + "localId" : "1298", + "asType" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Null", + "localId" : "1272", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "1289", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1290", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1291", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1292", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1293", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1294", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1295", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1296", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1273", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2013", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1274", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "1275", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "1276", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "1277", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "1278", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "1279", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + } + }, { + "type" : "Interval", + "localId" : "1349", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1350", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1351", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "DateTime", + "localId" : "1317", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1318", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1319", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1320", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1321", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1322", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1323", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1324", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1301", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2020", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1302", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "1303", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "1304", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "1305", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "1306", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "1307", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "1341", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1342", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1343", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1344", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1345", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1346", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1347", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1348", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1325", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2030", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1326", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "1327", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "1328", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "1329", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "1330", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "1331", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + } + } ] + } + }, { + "localId" : "1359", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "NegInfBegNotBeforeDateIvl", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "1359", + "s" : [ { + "value" : [ "", "define ", "NegInfBegNotBeforeDateIvl", ": " ] + }, { + "r" : "1440", + "s" : [ { + "r" : "1385", + "s" : [ { + "r" : "1360", + "value" : [ "Interval[", "null", ", " ] + }, { + "r" : "1377", + "s" : [ { + "r" : "1361", + "value" : [ "DateTime", "(", "2013", ", ", "1", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ ")" ] + } ] + }, { + "r" : "1440", + "value" : [ " ", "before", " " ] + }, { + "r" : "1437", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "1405", + "s" : [ { + "r" : "1389", + "value" : [ "DateTime", "(", "2000", ", ", "1", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "1429", + "s" : [ { + "r" : "1413", + "value" : [ "DateTime", "(", "2010", ", ", "1", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ "]" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Before", + "localId" : "1440", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "1441", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1442", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "1443", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1444", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "Interval", + "localId" : "1385", + "lowClosed" : true, + "highClosed" : false, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1387", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1388", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "As", + "localId" : "1386", + "asType" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Null", + "localId" : "1360", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "1377", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1378", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1379", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1380", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1381", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1382", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1383", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1384", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1361", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2013", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1362", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "1363", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "1364", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "1365", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "1366", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "1367", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + } + }, { + "type" : "Interval", + "localId" : "1437", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1438", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1439", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "DateTime", + "localId" : "1405", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1406", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1407", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1408", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1409", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1410", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1411", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1412", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1389", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1390", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "1391", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "1392", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "1393", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "1394", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "1395", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "1429", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1430", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1431", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1432", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1433", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1434", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1435", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1436", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1413", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2010", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1414", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "1415", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "1416", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "1417", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "1418", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "1419", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + } + } ] + } + }, { + "localId" : "1447", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "UnknownBegBeforeDateIvl", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "1447", + "s" : [ { + "value" : [ "", "define ", "UnknownBegBeforeDateIvl", ": " ] + }, { + "r" : "1528", + "s" : [ { + "r" : "1473", + "s" : [ { + "r" : "1448", + "value" : [ "Interval(", "null", ", " ] + }, { + "r" : "1465", + "s" : [ { + "r" : "1449", + "value" : [ "DateTime", "(", "2013", ", ", "1", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ ")" ] + } ] + }, { + "r" : "1528", + "value" : [ " ", "before", " " ] + }, { + "r" : "1525", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "1493", + "s" : [ { + "r" : "1477", + "value" : [ "DateTime", "(", "2020", ", ", "1", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "1517", + "s" : [ { + "r" : "1501", + "value" : [ "DateTime", "(", "2030", ", ", "1", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ "]" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Before", + "localId" : "1528", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "1529", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1530", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "1531", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1532", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "Interval", + "localId" : "1473", + "lowClosed" : false, + "highClosed" : false, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1475", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1476", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "As", + "localId" : "1474", + "asType" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Null", + "localId" : "1448", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "1465", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1466", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1467", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1468", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1469", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1470", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1471", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1472", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1449", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2013", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1450", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "1451", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "1452", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "1453", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "1454", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "1455", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + } + }, { + "type" : "Interval", + "localId" : "1525", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1526", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1527", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "DateTime", + "localId" : "1493", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1494", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1495", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1496", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1497", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1498", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1499", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1500", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1477", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2020", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1478", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "1479", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "1480", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "1481", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "1482", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "1483", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "1517", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1518", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1519", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1520", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1521", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1522", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1523", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1524", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1501", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2030", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1502", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "1503", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "1504", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "1505", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "1506", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "1507", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + } + } ] + } + }, { + "localId" : "1535", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "UnknownBegNotBeforeDateIvl", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "1535", + "s" : [ { + "value" : [ "", "define ", "UnknownBegNotBeforeDateIvl", ": " ] + }, { + "r" : "1616", + "s" : [ { + "r" : "1561", + "s" : [ { + "r" : "1536", + "value" : [ "Interval(", "null", ", " ] + }, { + "r" : "1553", + "s" : [ { + "r" : "1537", + "value" : [ "DateTime", "(", "2013", ", ", "1", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ ")" ] + } ] + }, { + "r" : "1616", + "value" : [ " ", "before", " " ] + }, { + "r" : "1613", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "1581", + "s" : [ { + "r" : "1565", + "value" : [ "DateTime", "(", "2000", ", ", "1", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "1605", + "s" : [ { + "r" : "1589", + "value" : [ "DateTime", "(", "2020", ", ", "1", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ "]" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Before", + "localId" : "1616", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "1617", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1618", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "1619", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1620", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "Interval", + "localId" : "1561", + "lowClosed" : false, + "highClosed" : false, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1563", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1564", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "As", + "localId" : "1562", + "asType" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Null", + "localId" : "1536", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "1553", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1554", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1555", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1556", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1557", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1558", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1559", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1560", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1537", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2013", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1538", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "1539", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "1540", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "1541", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "1542", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "1543", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + } + }, { + "type" : "Interval", + "localId" : "1613", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1614", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1615", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "DateTime", + "localId" : "1581", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1582", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1583", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1584", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1585", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1586", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1587", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1588", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1565", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1566", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "1567", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "1568", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "1569", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "1570", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "1571", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "1605", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1606", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1607", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1608", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1609", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1610", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1611", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1612", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1589", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2020", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1590", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "1591", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "1592", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "1593", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "1594", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "1595", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + } + } ] + } + }, { + "localId" : "1623", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "PosInfEndNotBeforeDateIvl", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "1623", + "s" : [ { + "value" : [ "", "define ", "PosInfEndNotBeforeDateIvl", ": " ] + }, { + "r" : "1704", + "s" : [ { + "r" : "1649", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "1640", + "s" : [ { + "r" : "1624", + "value" : [ "DateTime", "(", "2013", ", ", "1", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "r" : "1648", + "value" : [ ", ", "null", "]" ] + } ] + }, { + "r" : "1704", + "value" : [ " ", "before", " " ] + }, { + "r" : "1701", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "1669", + "s" : [ { + "r" : "1653", + "value" : [ "DateTime", "(", "2000", ", ", "1", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "1693", + "s" : [ { + "r" : "1677", + "value" : [ "DateTime", "(", "2020", ", ", "1", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ "]" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Before", + "localId" : "1704", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "1705", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1706", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "1707", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1708", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "Interval", + "localId" : "1649", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1651", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1652", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "DateTime", + "localId" : "1640", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1641", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1642", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1643", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1644", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1645", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1646", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1647", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1624", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2013", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1625", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "1626", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "1627", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "1628", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "1629", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "1630", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + }, + "high" : { + "type" : "As", + "localId" : "1650", + "asType" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Null", + "localId" : "1648", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } + } + }, { + "type" : "Interval", + "localId" : "1701", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1702", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1703", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "DateTime", + "localId" : "1669", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1670", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1671", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1672", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1673", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1674", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1675", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1676", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1653", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1654", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "1655", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "1656", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "1657", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "1658", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "1659", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "1693", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1694", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1695", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1696", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1697", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1698", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1699", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1700", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1677", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2020", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1678", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "1679", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "1680", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "1681", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "1682", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "1683", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + } + } ] + } + }, { + "localId" : "1711", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "UnknownEndMayBeBeforeDateIvl", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "1711", + "s" : [ { + "value" : [ "", "define ", "UnknownEndMayBeBeforeDateIvl", ": " ] + }, { + "r" : "1792", + "s" : [ { + "r" : "1737", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "1728", + "s" : [ { + "r" : "1712", + "value" : [ "DateTime", "(", "2013", ", ", "1", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "r" : "1736", + "value" : [ ", ", "null", ")" ] + } ] + }, { + "r" : "1792", + "value" : [ " ", "before", " " ] + }, { + "r" : "1789", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "1757", + "s" : [ { + "r" : "1741", + "value" : [ "DateTime", "(", "2020", ", ", "1", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "1781", + "s" : [ { + "r" : "1765", + "value" : [ "DateTime", "(", "2040", ", ", "1", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ "]" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Before", + "localId" : "1792", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "1793", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1794", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "1795", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1796", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "Interval", + "localId" : "1737", + "lowClosed" : true, + "highClosed" : false, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1739", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1740", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "DateTime", + "localId" : "1728", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1729", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1730", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1731", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1732", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1733", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1734", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1735", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1712", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2013", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1713", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "1714", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "1715", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "1716", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "1717", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "1718", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + }, + "high" : { + "type" : "As", + "localId" : "1738", + "asType" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Null", + "localId" : "1736", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } + } + }, { + "type" : "Interval", + "localId" : "1789", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1790", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1791", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "DateTime", + "localId" : "1757", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1758", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1759", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1760", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1761", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1762", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1763", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1764", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1741", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2020", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1742", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "1743", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "1744", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "1745", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "1746", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "1747", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "1781", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1782", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1783", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1784", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1785", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1786", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1787", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1788", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1765", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2040", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1766", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "1767", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "1768", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "1769", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "1770", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "1771", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + } + } ] + } + }, { + "localId" : "1799", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "UnknownEndNotBeforeDateIvl", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "1799", + "s" : [ { + "value" : [ "", "define ", "UnknownEndNotBeforeDateIvl", ": " ] + }, { + "r" : "1880", + "s" : [ { + "r" : "1825", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "1816", + "s" : [ { + "r" : "1800", + "value" : [ "DateTime", "(", "2013", ", ", "1", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "r" : "1824", + "value" : [ ", ", "null", ")" ] + } ] + }, { + "r" : "1880", + "value" : [ " ", "before", " " ] + }, { + "r" : "1877", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "1845", + "s" : [ { + "r" : "1829", + "value" : [ "DateTime", "(", "2000", ", ", "1", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "1869", + "s" : [ { + "r" : "1853", + "value" : [ "DateTime", "(", "2013", ", ", "1", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ "]" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Before", + "localId" : "1880", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "1881", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1882", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "1883", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1884", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "Interval", + "localId" : "1825", + "lowClosed" : true, + "highClosed" : false, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1827", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1828", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "DateTime", + "localId" : "1816", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1817", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1818", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1819", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1820", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1821", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1822", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1823", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1800", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2013", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1801", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "1802", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "1803", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "1804", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "1805", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "1806", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + }, + "high" : { + "type" : "As", + "localId" : "1826", + "asType" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Null", + "localId" : "1824", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } + } + }, { + "type" : "Interval", + "localId" : "1877", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1878", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1879", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "DateTime", + "localId" : "1845", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1846", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1847", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1848", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1849", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1850", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1851", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1852", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1829", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1830", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "1831", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "1832", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "1833", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "1834", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "1835", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "1869", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1870", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1871", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1872", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1873", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1874", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1875", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1876", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1853", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2013", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1854", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "1855", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "1856", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "1857", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "1858", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "1859", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + } + } ] + } + } ] + } + } } -/* OverlapsBefore +/* BeforeOrOn library TestSnippet version '1' using Simple version '1.0.0' context Patient -define OverlapsBeforeIntIvl: Interval[1, 5] overlaps before Interval[2, 7] -define OverlapsAfterIntIvl: Interval[3, 8] overlaps before Interval[1, 6] -define OverlapsBoundaryIntIvl: Interval[1, 5] overlaps before Interval[5, 10] -define NoOverlapsIntIvl: Interval[1,5) overlaps before Interval[5, 10] -define OverlapsBeforeRealIvl: Interval[1.234, 1.567] overlaps before Interval[1.345, 1.678] -define OverlapsAfterRealIvl: Interval[1.345, 1.678] overlaps before Interval[1.234, 1.567] -define OverlapsBoundaryRealIvl: Interval[1.0, 1.234] overlaps before Interval[1.234, 2.0] -define NoOverlapsRealIvl: Interval[1.0, 1.23456789) overlaps before Interval[1.23456789, 2.0] +define DateIvl: Interval[DateTime(2012, 3, 1, 0, 0, 0, 0), DateTime(2012, 9, 1, 0, 0, 0, 0)] +define MeetsAfterDateIvl: Interval[DateTime(2012, 9, 1, 0, 0, 0, 0), DateTime(2012, 12, 1, 0, 0, 0, 0)) before or on DateIvl +define MeetsBeforeDateIvl: Interval[DateTime(2012, 1, 1, 0, 0, 0, 0), DateTime(2012, 3, 1, 0, 0, 0, 0)) before or on DateIvl +define AfterDateIvl: Interval[DateTime(2012, 10, 11, 0, 0, 0, 0), DateTime(2012, 10, 29, 0, 0, 0, 0)) before or on DateIvl +define BeforeDateIvl: Interval[DateTime(2012, 1, 1, 0, 0, 0, 0), DateTime(2012, 2, 29, 0, 0, 0, 0)) before or on DateIvl +define MayMeetAfterImpreciseDateIvl: DateIvl before or on Interval[DateTime(2012, 1), DateTime(2012, 2)] +define MayMeetBeforeImpreciseDateIvl: DateIvl before or on Interval[DateTime(2012, 9), DateTime(2012, 12)] +define NotMeetsImpreciseDateIvl: DateIvl before or on Interval[DateTime(2012, 1), DateTime(2012, 12)] +define PrecisionDateIvl: Interval[DateTime(2012, 3, 2, 12, 34, 56, 789), DateTime(2012, 9, 2, 1, 23, 45, 678)) +define MeetsAfterDayOfIvl: PrecisionDateIvl before or on day of Interval[DateTime(2012, 1, 2, 0, 0, 0, 0), DateTime(2012, 3, 1, 0, 0, 0, 0)] +define MeetsBeforeDayOfIvl: PrecisionDateIvl before or on day of Interval[DateTime(2012, 9, 3, 0, 0, 0, 0), DateTime(2012, 12, 1, 0, 0, 0, 0)] +define NotMeetsDayOfIvl: PrecisionDateIvl before or on day of Interval[DateTime(2012, 1, 2, 0, 0, 0, 0), DateTime(2012, 3, 2, 0, 0, 0, 0)] +define NotMeetsDayOfImpreciseIVL: PrecisionDateIvl before or on day of Interval[DateTime(2012, 1), DateTime(2012, 2)] +define MayMeetAfterDayOfImpreciseIvl: PrecisionDateIvl before or on day of Interval[DateTime(2012, 1), DateTime(2012, 3)] +define MayMeetBeforeDayOfImpreciseIvl: PrecisionDateIvl before or on day of Interval[DateTime(2012, 9), DateTime(2012, 12)] +define ImpDateIvl: Interval[DateTime(2012, 3), DateTime(2012, 8)] +define ImpreciseMayMeetAfterDateIvl: ImpDateIvl before or on Interval[DateTime(2012, 1, 1, 0, 0, 0, 0), DateTime(2012, 2, 29, 23, 59, 59, 999)] +define ImpreciseMayMeetBeforeDateIvl: ImpDateIvl before or on Interval[DateTime(2012, 9, 1, 0, 0, 0, 0), DateTime(2012, 12, 31, 23, 59, 59, 999)] +define ImpreciseNotMeetsDateIvl: ImpDateIvl before or on Interval[DateTime(2012, 1, 1, 0, 0, 0, 0), DateTime(2012, 12, 31, 23, 59, 59, 999)) +define NullEndIvl: Interval[DateTime(2012, 3, 1, 0, 0, 0, 0), null) +define BeforeNullEndIvl: Interval[DateTime(2012, 1, 1, 0, 0, 0, 0), DateTime(2012, 2, 20, 0, 0, 0, 0)] before or on NullEndIvl +define AfterStartNullEndIvl: Interval[DateTime(2012, 3, 10, 0, 0, 0, 0), DateTime(2012, 3, 20, 0, 0, 0, 0)] before or on NullEndIvl +define NullEndStartBeforeIvl: NullEndIvl before or on Interval[DateTime(2012, 4, 1, 0, 0, 0, 0), DateTime(2012, 4, 20, 0, 0, 0, 0)] +define NullEndStartAfterIvl: NullEndIvl before or on Interval[DateTime(2012, 1, 1, 0, 0, 0, 0), DateTime(2012, 1, 20, 0, 0, 0, 0)] +define NullStartIvl: Interval(null, DateTime(2012, 3, 1, 0, 0, 0, 0)] +define EndsBeforeNullStartIvlEnds: Interval[DateTime(2012, 1, 1, 0, 0, 0, 0), DateTime(2012, 2, 20, 0, 0, 0, 0)] before or on NullStartIvl +define AfterEndOfNullStartIvl: Interval[DateTime(2012, 3, 10, 0, 0, 0, 0), DateTime(2012, 3, 20, 0, 0, 0, 0)] before or on NullStartIvl +define NullStartStartBeforeIvl: NullStartIvl before or on Interval[DateTime(2012, 4, 1, 0, 0, 0, 0), DateTime(2012, 4, 20, 0, 0, 0, 0)] +define NullStartStartAfterIvl: NullStartIvl before or on Interval[DateTime(2012, 1, 1, 0, 0, 0, 0), DateTime(2012, 1, 20, 0, 0, 0, 0)] +define DateIvlBeforeNull: DateIvl before or on null +define NullBeforeDateIvl: null before or on DateIvl +define DateTimeBeforeDateIvl: DateTime(2012, 2, 20, 0, 0, 0, 0) before or on DateIvl +define DateBeforeDateIvl: Date(2012, 2, 20) before or on DateIvl +define DateIvlBeforeDateTime: DateIvl before or on DateTime(2012, 9, 20, 0, 0, 0, 0) +define DateIvlBeforeDate: DateIvl before or on DateTime(2012, 9, 20) +define DateOnlyIvl: Interval[Date(2012, 1, 1), Date(2012, 2, 20)] +define DateOnlyIvlBeforeDateIvl: DateOnlyIvl before or on DateIvl +define DateIvlAfterDateOnlyIvl: DateIvl before or on DateOnlyIvl +define DateOnlyMeetsBeforeDateIvl: Interval[Date(2012, 1, 1), Date(2012, 3, 1)] before or on DateIvl */ -module.exports['OverlapsBefore'] = { - "library" : { - "localId" : "0", - "annotation" : [ { - "translatorVersion" : "3.27.0", - "translatorOptions" : "EnableDateRangeOptimization,EnableAnnotations,EnableResultTypes", - "signatureLevel" : "All", - "type" : "CqlToElmInfo" - }, { - "type" : "Annotation", - "s" : { - "r" : "340", +module.exports['BeforeOrOn'] = { + "library" : { + "localId" : "0", + "annotation" : [ { + "type" : "CqlToElmInfo", + "translatorVersion" : "4.2.0", + "translatorOptions" : "EnableDateRangeOptimization,EnableAnnotations,EnableResultTypes", + "signatureLevel" : "All" + }, { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "1983", + "s" : [ { + "value" : [ "", "library TestSnippet version '1'" ] + } ] + } + } ], + "identifier" : { + "id" : "TestSnippet", + "version" : "1" + }, + "schemaIdentifier" : { + "id" : "urn:hl7-org:elm", + "version" : "r1" + }, + "usings" : { + "def" : [ { + "localId" : "1", + "localIdentifier" : "System", + "uri" : "urn:hl7-org:elm-types:r1", + "annotation" : [ ] + }, { + "localId" : "206", + "localIdentifier" : "Simple", + "uri" : "https://github.com/cqframework/cql-execution/simple", + "version" : "1.0.0", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "206", "s" : [ { - "value" : [ "","library TestSnippet version '1'" ] - } ] - } - } ], - "identifier" : { - "id" : "TestSnippet", - "version" : "1" - }, - "schemaIdentifier" : { - "id" : "urn:hl7-org:elm", - "version" : "r1" - }, - "usings" : { - "def" : [ { - "localId" : "1", - "localIdentifier" : "System", - "uri" : "urn:hl7-org:elm-types:r1" - }, { - "localId" : "206", - "localIdentifier" : "Simple", - "uri" : "https://github.com/cqframework/cql-execution/simple", - "version" : "1.0.0", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "206", - "s" : [ { - "value" : [ "","using " ] - }, { - "s" : [ { - "value" : [ "Simple" ] - } ] - }, { - "value" : [ " version '1.0.0'" ] - } ] - } - } ] - } ] - }, - "contexts" : { - "def" : [ { - "localId" : "211", - "name" : "Patient" - } ] - }, - "statements" : { - "def" : [ { - "localId" : "209", - "name" : "Patient", - "context" : "Patient", - "expression" : { - "localId" : "210", - "type" : "SingletonFrom", - "signature" : [ ], - "operand" : { - "localId" : "208", - "dataType" : "{https://github.com/cqframework/cql-execution/simple}Patient", - "type" : "Retrieve", - "include" : [ ], - "codeFilter" : [ ], - "dateFilter" : [ ], - "otherFilter" : [ ] - } - } - }, { - "localId" : "214", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "OverlapsBeforeIntIvl", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "214", - "s" : [ { - "value" : [ "","define ","OverlapsBeforeIntIvl",": " ] - }, { - "r" : "225", - "s" : [ { - "r" : "217", - "s" : [ { - "r" : "215", - "value" : [ "Interval[","1",", ","5","]" ] - } ] - }, { - "r" : "225", - "value" : [ " ","overlaps before"," " ] - }, { - "r" : "222", - "s" : [ { - "r" : "220", - "value" : [ "Interval[","2",", ","7","]" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "225", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "OverlapsBefore", - "signature" : [ { - "localId" : "226", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "227", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "228", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "229", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "217", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "218", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "219", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "215", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "high" : { - "localId" : "216", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal" - } - }, { - "localId" : "222", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "223", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "224", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "220", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal" - }, - "high" : { - "localId" : "221", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "7", - "type" : "Literal" - } - } ] - } - }, { - "localId" : "232", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "OverlapsAfterIntIvl", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "232", + "value" : [ "", "using " ] + }, { + "s" : [ { + "value" : [ "Simple" ] + } ] + }, { + "value" : [ " version '1.0.0'" ] + } ] + } + } ] + } ] + }, + "contexts" : { + "def" : [ { + "localId" : "211", + "name" : "Patient", + "annotation" : [ ] + } ] + }, + "statements" : { + "def" : [ { + "localId" : "209", + "name" : "Patient", + "context" : "Patient", + "annotation" : [ ], + "expression" : { + "type" : "SingletonFrom", + "localId" : "210", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Retrieve", + "localId" : "208", + "dataType" : "{https://github.com/cqframework/cql-execution/simple}Patient", + "annotation" : [ ], + "include" : [ ], + "codeFilter" : [ ], + "dateFilter" : [ ], + "otherFilter" : [ ] + } + } + }, { + "localId" : "214", + "name" : "DateIvl", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "214", + "s" : [ { + "value" : [ "", "define ", "DateIvl", ": " ] + }, { + "r" : "263", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "231", + "s" : [ { + "r" : "215", + "value" : [ "DateTime", "(", "2012", ", ", "3", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "255", + "s" : [ { + "r" : "239", + "value" : [ "DateTime", "(", "2012", ", ", "9", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ "]" ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "266", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "267", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "expression" : { + "type" : "Interval", + "localId" : "263", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "264", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "265", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "DateTime", + "localId" : "231", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "232", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "233", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "234", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "235", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "236", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "237", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "238", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "215", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "216", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "217", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "218", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "219", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "220", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "221", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "255", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "256", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "257", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "258", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "259", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "260", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "261", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "262", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "239", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "240", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "9", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "241", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "242", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "243", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "244", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "245", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + } + } + }, { + "localId" : "270", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "MeetsAfterDateIvl", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "270", + "s" : [ { + "value" : [ "", "define ", "MeetsAfterDateIvl", ": " ] + }, { + "r" : "325", + "s" : [ { + "r" : "319", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "287", + "s" : [ { + "r" : "271", + "value" : [ "DateTime", "(", "2012", ", ", "9", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "311", "s" : [ { - "value" : [ "","define ","OverlapsAfterIntIvl",": " ] - }, { - "r" : "243", - "s" : [ { - "r" : "235", - "s" : [ { - "r" : "233", - "value" : [ "Interval[","3",", ","8","]" ] - } ] - }, { - "r" : "243", - "value" : [ " ","overlaps before"," " ] - }, { - "r" : "240", - "s" : [ { - "r" : "238", - "value" : [ "Interval[","1",", ","6","]" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "243", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "OverlapsBefore", - "signature" : [ { - "localId" : "244", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "245", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "246", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "247", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "235", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "236", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "237", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "233", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "high" : { - "localId" : "234", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "8", - "type" : "Literal" - } - }, { - "localId" : "240", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "241", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "242", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "238", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "high" : { - "localId" : "239", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "6", - "type" : "Literal" - } - } ] - } - }, { - "localId" : "250", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "OverlapsBoundaryIntIvl", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "250", - "s" : [ { - "value" : [ "","define ","OverlapsBoundaryIntIvl",": " ] - }, { - "r" : "261", - "s" : [ { - "r" : "253", - "s" : [ { - "r" : "251", - "value" : [ "Interval[","1",", ","5","]" ] - } ] - }, { - "r" : "261", - "value" : [ " ","overlaps before"," " ] - }, { - "r" : "258", - "s" : [ { - "r" : "256", - "value" : [ "Interval[","5",", ","10","]" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "261", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "OverlapsBefore", - "signature" : [ { - "localId" : "262", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "263", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "264", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "265", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "253", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "254", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "255", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "251", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "high" : { - "localId" : "252", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal" - } - }, { - "localId" : "258", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "259", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "260", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "256", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal" - }, - "high" : { - "localId" : "257", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal" - } - } ] - } - }, { - "localId" : "268", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "NoOverlapsIntIvl", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "268", + "r" : "295", + "value" : [ "DateTime", "(", "2012", ", ", "12", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ ")" ] + } ] + }, { + "r" : "325", + "value" : [ " ", "before or on", " " ] + }, { + "r" : "322", + "s" : [ { + "value" : [ "DateIvl" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "SameOrBefore", + "localId" : "325", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "326", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "327", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "328", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "329", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "Interval", + "localId" : "319", + "lowClosed" : true, + "highClosed" : false, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "320", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "321", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "DateTime", + "localId" : "287", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "288", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "289", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "290", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "291", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "292", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "293", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "294", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "271", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "272", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "9", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "273", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "274", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "275", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "276", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "277", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "311", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "312", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "313", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "314", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "315", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "316", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "317", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "318", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "295", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "296", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "12", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "297", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "298", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "299", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "300", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "301", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + } + }, { + "type" : "ExpressionRef", + "localId" : "322", + "name" : "DateIvl", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "323", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "324", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + } ] + } + }, { + "localId" : "332", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "MeetsBeforeDateIvl", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "332", + "s" : [ { + "value" : [ "", "define ", "MeetsBeforeDateIvl", ": " ] + }, { + "r" : "387", + "s" : [ { + "r" : "381", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "349", + "s" : [ { + "r" : "333", + "value" : [ "DateTime", "(", "2012", ", ", "1", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "373", + "s" : [ { + "r" : "357", + "value" : [ "DateTime", "(", "2012", ", ", "3", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ ")" ] + } ] + }, { + "r" : "387", + "value" : [ " ", "before or on", " " ] + }, { + "r" : "384", + "s" : [ { + "value" : [ "DateIvl" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "SameOrBefore", + "localId" : "387", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "388", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "389", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "390", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "391", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "Interval", + "localId" : "381", + "lowClosed" : true, + "highClosed" : false, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "382", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "383", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "DateTime", + "localId" : "349", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "350", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "351", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "352", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "353", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "354", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "355", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "356", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "333", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "334", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "335", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "336", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "337", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "338", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "339", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "373", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "374", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "375", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "376", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "377", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "378", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "379", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "380", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "357", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "358", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "359", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "360", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "361", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "362", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "363", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + } + }, { + "type" : "ExpressionRef", + "localId" : "384", + "name" : "DateIvl", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "385", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "386", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + } ] + } + }, { + "localId" : "394", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "AfterDateIvl", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "394", + "s" : [ { + "value" : [ "", "define ", "AfterDateIvl", ": " ] + }, { + "r" : "449", + "s" : [ { + "r" : "443", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "411", + "s" : [ { + "r" : "395", + "value" : [ "DateTime", "(", "2012", ", ", "10", ", ", "11", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "435", + "s" : [ { + "r" : "419", + "value" : [ "DateTime", "(", "2012", ", ", "10", ", ", "29", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ ")" ] + } ] + }, { + "r" : "449", + "value" : [ " ", "before or on", " " ] + }, { + "r" : "446", + "s" : [ { + "value" : [ "DateIvl" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "SameOrBefore", + "localId" : "449", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "450", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "451", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "452", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "453", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "Interval", + "localId" : "443", + "lowClosed" : true, + "highClosed" : false, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "444", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "445", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "DateTime", + "localId" : "411", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "412", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "413", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "414", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "415", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "416", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "417", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "418", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "395", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "396", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "10", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "397", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "11", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "398", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "399", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "400", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "401", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "435", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "436", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "437", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "438", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "439", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "440", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "441", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "442", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "419", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "420", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "10", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "421", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "29", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "422", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "423", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "424", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "425", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + } + }, { + "type" : "ExpressionRef", + "localId" : "446", + "name" : "DateIvl", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "447", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "448", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + } ] + } + }, { + "localId" : "456", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "BeforeDateIvl", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "456", + "s" : [ { + "value" : [ "", "define ", "BeforeDateIvl", ": " ] + }, { + "r" : "511", + "s" : [ { + "r" : "505", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "473", + "s" : [ { + "r" : "457", + "value" : [ "DateTime", "(", "2012", ", ", "1", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "497", + "s" : [ { + "r" : "481", + "value" : [ "DateTime", "(", "2012", ", ", "2", ", ", "29", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ ")" ] + } ] + }, { + "r" : "511", + "value" : [ " ", "before or on", " " ] + }, { + "r" : "508", + "s" : [ { + "value" : [ "DateIvl" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "SameOrBefore", + "localId" : "511", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "512", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "513", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "514", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "515", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "Interval", + "localId" : "505", + "lowClosed" : true, + "highClosed" : false, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "506", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "507", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "DateTime", + "localId" : "473", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "474", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "475", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "476", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "477", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "478", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "479", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "480", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "457", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "458", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "459", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "460", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "461", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "462", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "463", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "497", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "498", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "499", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "500", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "501", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "502", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "503", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "504", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "481", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "482", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "483", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "29", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "484", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "485", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "486", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "487", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + } + }, { + "type" : "ExpressionRef", + "localId" : "508", + "name" : "DateIvl", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "509", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "510", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + } ] + } + }, { + "localId" : "518", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "MayMeetAfterImpreciseDateIvl", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "518", + "s" : [ { + "value" : [ "", "define ", "MayMeetAfterImpreciseDateIvl", ": " ] + }, { + "r" : "543", + "s" : [ { + "r" : "519", + "s" : [ { + "value" : [ "DateIvl" ] + } ] + }, { + "r" : "543", + "value" : [ " ", "before or on", " " ] + }, { + "r" : "540", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "528", + "s" : [ { + "r" : "522", + "value" : [ "DateTime", "(", "2012", ", ", "1", ")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "537", + "s" : [ { + "r" : "531", + "value" : [ "DateTime", "(", "2012", ", ", "2", ")" ] + } ] + }, { + "value" : [ "]" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "SameOrBefore", + "localId" : "543", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "544", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "545", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "546", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "547", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "ExpressionRef", + "localId" : "519", + "name" : "DateIvl", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "520", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "521", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + }, { + "type" : "Interval", + "localId" : "540", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "541", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "542", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "DateTime", + "localId" : "528", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "529", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "530", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "522", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "523", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "537", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "538", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "539", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "531", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "532", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "annotation" : [ ] + } + } + } ] + } + }, { + "localId" : "550", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "MayMeetBeforeImpreciseDateIvl", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "550", + "s" : [ { + "value" : [ "", "define ", "MayMeetBeforeImpreciseDateIvl", ": " ] + }, { + "r" : "575", + "s" : [ { + "r" : "551", + "s" : [ { + "value" : [ "DateIvl" ] + } ] + }, { + "r" : "575", + "value" : [ " ", "before or on", " " ] + }, { + "r" : "572", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "560", + "s" : [ { + "r" : "554", + "value" : [ "DateTime", "(", "2012", ", ", "9", ")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "569", + "s" : [ { + "r" : "563", + "value" : [ "DateTime", "(", "2012", ", ", "12", ")" ] + } ] + }, { + "value" : [ "]" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "SameOrBefore", + "localId" : "575", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "576", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "577", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "578", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "579", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "ExpressionRef", + "localId" : "551", + "name" : "DateIvl", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "552", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "553", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + }, { + "type" : "Interval", + "localId" : "572", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "573", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "574", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "DateTime", + "localId" : "560", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "561", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "562", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "554", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "555", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "9", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "569", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "570", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "571", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "563", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "564", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "12", + "annotation" : [ ] + } + } + } ] + } + }, { + "localId" : "582", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "NotMeetsImpreciseDateIvl", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "582", + "s" : [ { + "value" : [ "", "define ", "NotMeetsImpreciseDateIvl", ": " ] + }, { + "r" : "607", + "s" : [ { + "r" : "583", + "s" : [ { + "value" : [ "DateIvl" ] + } ] + }, { + "r" : "607", + "value" : [ " ", "before or on", " " ] + }, { + "r" : "604", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "592", + "s" : [ { + "r" : "586", + "value" : [ "DateTime", "(", "2012", ", ", "1", ")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "601", + "s" : [ { + "r" : "595", + "value" : [ "DateTime", "(", "2012", ", ", "12", ")" ] + } ] + }, { + "value" : [ "]" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "SameOrBefore", + "localId" : "607", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "608", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "609", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "610", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "611", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "ExpressionRef", + "localId" : "583", + "name" : "DateIvl", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "584", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "585", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + }, { + "type" : "Interval", + "localId" : "604", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "605", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "606", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "DateTime", + "localId" : "592", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "593", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "594", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "586", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "587", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "601", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "602", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "603", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "595", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "596", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "12", + "annotation" : [ ] + } + } + } ] + } + }, { + "localId" : "614", + "name" : "PrecisionDateIvl", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "614", + "s" : [ { + "value" : [ "", "define ", "PrecisionDateIvl", ": " ] + }, { + "r" : "663", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "631", + "s" : [ { + "r" : "615", + "value" : [ "DateTime", "(", "2012", ", ", "3", ", ", "2", ", ", "12", ", ", "34", ", ", "56", ", ", "789", ")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "655", + "s" : [ { + "r" : "639", + "value" : [ "DateTime", "(", "2012", ", ", "9", ", ", "2", ", ", "1", ", ", "23", ", ", "45", ", ", "678", ")" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "666", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "667", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "expression" : { + "type" : "Interval", + "localId" : "663", + "lowClosed" : true, + "highClosed" : false, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "664", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "665", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "DateTime", + "localId" : "631", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "632", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "633", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "634", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "635", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "636", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "637", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "638", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "615", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "616", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "617", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "618", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "12", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "619", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "34", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "620", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "56", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "621", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "789", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "655", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "656", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "657", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "658", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "659", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "660", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "661", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "662", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "639", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "640", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "9", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "641", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "642", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "643", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "23", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "644", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "45", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "645", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "678", + "annotation" : [ ] + } + } + } + }, { + "localId" : "670", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "MeetsAfterDayOfIvl", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "670", + "s" : [ { + "value" : [ "", "define ", "MeetsAfterDayOfIvl", ": " ] + }, { + "r" : "725", + "s" : [ { + "r" : "671", + "s" : [ { + "value" : [ "PrecisionDateIvl" ] + } ] + }, { + "r" : "725", + "value" : [ " ", "before or on day of", " " ] + }, { + "r" : "722", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "690", + "s" : [ { + "r" : "674", + "value" : [ "DateTime", "(", "2012", ", ", "1", ", ", "2", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "714", + "s" : [ { + "r" : "698", + "value" : [ "DateTime", "(", "2012", ", ", "3", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ "]" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "SameOrBefore", + "localId" : "725", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "precision" : "Day", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "726", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "727", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "728", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "729", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "ExpressionRef", + "localId" : "671", + "name" : "PrecisionDateIvl", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "672", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "673", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + }, { + "type" : "Interval", + "localId" : "722", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "723", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "724", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "DateTime", + "localId" : "690", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "691", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "692", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "693", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "694", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "695", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "696", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "697", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "674", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "675", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "676", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "677", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "678", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "679", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "680", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "714", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "715", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "716", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "717", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "718", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "719", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "720", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "721", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "698", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "699", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "700", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "701", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "702", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "703", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "704", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + } + } ] + } + }, { + "localId" : "732", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "MeetsBeforeDayOfIvl", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "732", + "s" : [ { + "value" : [ "", "define ", "MeetsBeforeDayOfIvl", ": " ] + }, { + "r" : "787", + "s" : [ { + "r" : "733", + "s" : [ { + "value" : [ "PrecisionDateIvl" ] + } ] + }, { + "r" : "787", + "value" : [ " ", "before or on day of", " " ] + }, { + "r" : "784", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "752", + "s" : [ { + "r" : "736", + "value" : [ "DateTime", "(", "2012", ", ", "9", ", ", "3", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "776", + "s" : [ { + "r" : "760", + "value" : [ "DateTime", "(", "2012", ", ", "12", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ "]" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "SameOrBefore", + "localId" : "787", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "precision" : "Day", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "788", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "789", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "790", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "791", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "ExpressionRef", + "localId" : "733", + "name" : "PrecisionDateIvl", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "734", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "735", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + }, { + "type" : "Interval", + "localId" : "784", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "785", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "786", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "DateTime", + "localId" : "752", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "753", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "754", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "755", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "756", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "757", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "758", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "759", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "736", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "737", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "9", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "738", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "739", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "740", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "741", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "742", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "776", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "777", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "778", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "779", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "780", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "781", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "782", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "783", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "760", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "761", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "12", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "762", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "763", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "764", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "765", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "766", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + } + } ] + } + }, { + "localId" : "794", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "NotMeetsDayOfIvl", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "794", + "s" : [ { + "value" : [ "", "define ", "NotMeetsDayOfIvl", ": " ] + }, { + "r" : "849", + "s" : [ { + "r" : "795", + "s" : [ { + "value" : [ "PrecisionDateIvl" ] + } ] + }, { + "r" : "849", + "value" : [ " ", "before or on day of", " " ] + }, { + "r" : "846", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "814", "s" : [ { - "value" : [ "","define ","NoOverlapsIntIvl",": " ] - }, { - "r" : "279", - "s" : [ { - "r" : "271", - "s" : [ { - "r" : "269", - "value" : [ "Interval[","1",",","5",")" ] - } ] - }, { - "r" : "279", - "value" : [ " ","overlaps before"," " ] - }, { - "r" : "276", - "s" : [ { - "r" : "274", - "value" : [ "Interval[","5",", ","10","]" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "279", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "OverlapsBefore", - "signature" : [ { - "localId" : "280", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "281", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "282", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "283", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "271", - "lowClosed" : true, - "highClosed" : false, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "272", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "273", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "269", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "high" : { - "localId" : "270", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal" - } - }, { - "localId" : "276", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "277", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "278", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "274", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal" - }, - "high" : { - "localId" : "275", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal" - } - } ] - } - }, { - "localId" : "286", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "OverlapsBeforeRealIvl", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "286", + "r" : "798", + "value" : [ "DateTime", "(", "2012", ", ", "1", ", ", "2", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "838", "s" : [ { - "value" : [ "","define ","OverlapsBeforeRealIvl",": " ] - }, { - "r" : "297", - "s" : [ { - "r" : "289", - "s" : [ { - "r" : "287", - "value" : [ "Interval[","1.234",", ","1.567","]" ] - } ] - }, { - "r" : "297", - "value" : [ " ","overlaps before"," " ] - }, { - "r" : "294", - "s" : [ { - "r" : "292", - "value" : [ "Interval[","1.345",", ","1.678","]" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "297", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "OverlapsBefore", - "signature" : [ { - "localId" : "298", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "299", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "300", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "301", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "289", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "290", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "291", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "287", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "1.234", - "type" : "Literal" - }, - "high" : { - "localId" : "288", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "1.567", - "type" : "Literal" - } - }, { - "localId" : "294", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "295", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "296", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "292", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "1.345", - "type" : "Literal" - }, - "high" : { - "localId" : "293", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "1.678", - "type" : "Literal" - } - } ] - } - }, { - "localId" : "304", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "OverlapsAfterRealIvl", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "304", - "s" : [ { - "value" : [ "","define ","OverlapsAfterRealIvl",": " ] - }, { - "r" : "315", - "s" : [ { - "r" : "307", - "s" : [ { - "r" : "305", - "value" : [ "Interval[","1.345",", ","1.678","]" ] - } ] - }, { - "r" : "315", - "value" : [ " ","overlaps before"," " ] - }, { - "r" : "312", - "s" : [ { - "r" : "310", - "value" : [ "Interval[","1.234",", ","1.567","]" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "315", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "OverlapsBefore", - "signature" : [ { - "localId" : "316", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "317", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "318", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "319", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "307", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "308", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "309", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "305", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "1.345", - "type" : "Literal" - }, - "high" : { - "localId" : "306", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "1.678", - "type" : "Literal" - } - }, { - "localId" : "312", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "313", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "314", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "310", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "1.234", - "type" : "Literal" - }, - "high" : { - "localId" : "311", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "1.567", - "type" : "Literal" - } - } ] - } - }, { - "localId" : "322", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "OverlapsBoundaryRealIvl", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "322", + "r" : "822", + "value" : [ "DateTime", "(", "2012", ", ", "3", ", ", "2", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ "]" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "SameOrBefore", + "localId" : "849", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "precision" : "Day", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "850", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "851", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "852", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "853", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "ExpressionRef", + "localId" : "795", + "name" : "PrecisionDateIvl", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "796", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "797", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + }, { + "type" : "Interval", + "localId" : "846", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "847", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "848", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "DateTime", + "localId" : "814", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "815", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "816", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "817", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "818", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "819", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "820", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "821", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "798", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "799", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "800", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "801", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "802", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "803", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "804", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "838", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "839", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "840", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "841", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "842", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "843", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "844", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "845", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "822", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "823", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "824", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "825", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "826", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "827", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "828", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + } + } ] + } + }, { + "localId" : "856", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "NotMeetsDayOfImpreciseIVL", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "856", + "s" : [ { + "value" : [ "", "define ", "NotMeetsDayOfImpreciseIVL", ": " ] + }, { + "r" : "881", + "s" : [ { + "r" : "857", + "s" : [ { + "value" : [ "PrecisionDateIvl" ] + } ] + }, { + "r" : "881", + "value" : [ " ", "before or on day of", " " ] + }, { + "r" : "878", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "866", + "s" : [ { + "r" : "860", + "value" : [ "DateTime", "(", "2012", ", ", "1", ")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "875", + "s" : [ { + "r" : "869", + "value" : [ "DateTime", "(", "2012", ", ", "2", ")" ] + } ] + }, { + "value" : [ "]" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "SameOrBefore", + "localId" : "881", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "precision" : "Day", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "882", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "883", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "884", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "885", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "ExpressionRef", + "localId" : "857", + "name" : "PrecisionDateIvl", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "858", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "859", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + }, { + "type" : "Interval", + "localId" : "878", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "879", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "880", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "DateTime", + "localId" : "866", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "867", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "868", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "860", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "861", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "875", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "876", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "877", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "869", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "870", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "annotation" : [ ] + } + } + } ] + } + }, { + "localId" : "888", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "MayMeetAfterDayOfImpreciseIvl", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "888", + "s" : [ { + "value" : [ "", "define ", "MayMeetAfterDayOfImpreciseIvl", ": " ] + }, { + "r" : "913", + "s" : [ { + "r" : "889", + "s" : [ { + "value" : [ "PrecisionDateIvl" ] + } ] + }, { + "r" : "913", + "value" : [ " ", "before or on day of", " " ] + }, { + "r" : "910", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "898", + "s" : [ { + "r" : "892", + "value" : [ "DateTime", "(", "2012", ", ", "1", ")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "907", + "s" : [ { + "r" : "901", + "value" : [ "DateTime", "(", "2012", ", ", "3", ")" ] + } ] + }, { + "value" : [ "]" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "SameOrBefore", + "localId" : "913", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "precision" : "Day", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "914", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "915", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "916", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "917", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "ExpressionRef", + "localId" : "889", + "name" : "PrecisionDateIvl", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "890", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "891", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + }, { + "type" : "Interval", + "localId" : "910", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "911", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "912", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "DateTime", + "localId" : "898", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "899", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "900", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "892", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "893", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "907", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "908", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "909", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "901", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "902", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + } + } + } ] + } + }, { + "localId" : "920", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "MayMeetBeforeDayOfImpreciseIvl", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "920", + "s" : [ { + "value" : [ "", "define ", "MayMeetBeforeDayOfImpreciseIvl", ": " ] + }, { + "r" : "945", + "s" : [ { + "r" : "921", + "s" : [ { + "value" : [ "PrecisionDateIvl" ] + } ] + }, { + "r" : "945", + "value" : [ " ", "before or on day of", " " ] + }, { + "r" : "942", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "930", + "s" : [ { + "r" : "924", + "value" : [ "DateTime", "(", "2012", ", ", "9", ")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "939", + "s" : [ { + "r" : "933", + "value" : [ "DateTime", "(", "2012", ", ", "12", ")" ] + } ] + }, { + "value" : [ "]" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "SameOrBefore", + "localId" : "945", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "precision" : "Day", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "946", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "947", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "948", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "949", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "ExpressionRef", + "localId" : "921", + "name" : "PrecisionDateIvl", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "922", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "923", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + }, { + "type" : "Interval", + "localId" : "942", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "943", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "944", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "DateTime", + "localId" : "930", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "931", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "932", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "924", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "925", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "9", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "939", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "940", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "941", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "933", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "934", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "12", + "annotation" : [ ] + } + } + } ] + } + }, { + "localId" : "952", + "name" : "ImpDateIvl", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "952", + "s" : [ { + "value" : [ "", "define ", "ImpDateIvl", ": " ] + }, { + "r" : "971", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "959", + "s" : [ { + "r" : "953", + "value" : [ "DateTime", "(", "2012", ", ", "3", ")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "968", + "s" : [ { + "r" : "962", + "value" : [ "DateTime", "(", "2012", ", ", "8", ")" ] + } ] + }, { + "value" : [ "]" ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "974", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "975", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "expression" : { + "type" : "Interval", + "localId" : "971", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "972", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "973", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "DateTime", + "localId" : "959", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "960", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "961", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "953", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "954", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "968", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "969", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "970", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "962", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "963", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "8", + "annotation" : [ ] + } + } + } + }, { + "localId" : "978", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "ImpreciseMayMeetAfterDateIvl", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "978", + "s" : [ { + "value" : [ "", "define ", "ImpreciseMayMeetAfterDateIvl", ": " ] + }, { + "r" : "1033", + "s" : [ { + "r" : "979", + "s" : [ { + "value" : [ "ImpDateIvl" ] + } ] + }, { + "r" : "1033", + "value" : [ " ", "before or on", " " ] + }, { + "r" : "1030", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "998", + "s" : [ { + "r" : "982", + "value" : [ "DateTime", "(", "2012", ", ", "1", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "1022", + "s" : [ { + "r" : "1006", + "value" : [ "DateTime", "(", "2012", ", ", "2", ", ", "29", ", ", "23", ", ", "59", ", ", "59", ", ", "999", ")" ] + } ] + }, { + "value" : [ "]" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "SameOrBefore", + "localId" : "1033", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "1034", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1035", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "1036", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1037", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "ExpressionRef", + "localId" : "979", + "name" : "ImpDateIvl", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "980", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "981", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + }, { + "type" : "Interval", + "localId" : "1030", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1031", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1032", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "DateTime", + "localId" : "998", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "999", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1000", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1001", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1002", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1003", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1004", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1005", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "982", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "983", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "984", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "985", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "986", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "987", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "988", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "1022", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1023", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1024", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1025", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1026", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1027", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1028", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1029", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1006", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1007", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "1008", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "29", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "1009", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "23", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "1010", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "59", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "1011", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "59", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "1012", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "999", + "annotation" : [ ] + } + } + } ] + } + }, { + "localId" : "1040", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "ImpreciseMayMeetBeforeDateIvl", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "1040", + "s" : [ { + "value" : [ "", "define ", "ImpreciseMayMeetBeforeDateIvl", ": " ] + }, { + "r" : "1095", + "s" : [ { + "r" : "1041", + "s" : [ { + "value" : [ "ImpDateIvl" ] + } ] + }, { + "r" : "1095", + "value" : [ " ", "before or on", " " ] + }, { + "r" : "1092", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "1060", + "s" : [ { + "r" : "1044", + "value" : [ "DateTime", "(", "2012", ", ", "9", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "1084", + "s" : [ { + "r" : "1068", + "value" : [ "DateTime", "(", "2012", ", ", "12", ", ", "31", ", ", "23", ", ", "59", ", ", "59", ", ", "999", ")" ] + } ] + }, { + "value" : [ "]" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "SameOrBefore", + "localId" : "1095", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "1096", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1097", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "1098", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1099", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "ExpressionRef", + "localId" : "1041", + "name" : "ImpDateIvl", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1042", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1043", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + }, { + "type" : "Interval", + "localId" : "1092", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1093", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1094", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "DateTime", + "localId" : "1060", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1061", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1062", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1063", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1064", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1065", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1066", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1067", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1044", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1045", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "9", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "1046", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "1047", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "1048", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "1049", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "1050", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "1084", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1085", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1086", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1087", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1088", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1089", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1090", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1091", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1068", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1069", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "12", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "1070", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "31", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "1071", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "23", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "1072", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "59", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "1073", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "59", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "1074", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "999", + "annotation" : [ ] + } + } + } ] + } + }, { + "localId" : "1102", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "ImpreciseNotMeetsDateIvl", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "1102", + "s" : [ { + "value" : [ "", "define ", "ImpreciseNotMeetsDateIvl", ": " ] + }, { + "r" : "1157", + "s" : [ { + "r" : "1103", + "s" : [ { + "value" : [ "ImpDateIvl" ] + } ] + }, { + "r" : "1157", + "value" : [ " ", "before or on", " " ] + }, { + "r" : "1154", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "1122", + "s" : [ { + "r" : "1106", + "value" : [ "DateTime", "(", "2012", ", ", "1", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "1146", + "s" : [ { + "r" : "1130", + "value" : [ "DateTime", "(", "2012", ", ", "12", ", ", "31", ", ", "23", ", ", "59", ", ", "59", ", ", "999", ")" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "SameOrBefore", + "localId" : "1157", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "1158", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1159", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "1160", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1161", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "ExpressionRef", + "localId" : "1103", + "name" : "ImpDateIvl", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1104", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1105", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + }, { + "type" : "Interval", + "localId" : "1154", + "lowClosed" : true, + "highClosed" : false, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1155", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1156", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "DateTime", + "localId" : "1122", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1123", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1124", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1125", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1126", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1127", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1128", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1129", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1106", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1107", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "1108", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "1109", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "1110", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "1111", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "1112", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "1146", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1147", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1148", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1149", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1150", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1151", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1152", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1153", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1130", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1131", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "12", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "1132", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "31", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "1133", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "23", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "1134", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "59", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "1135", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "59", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "1136", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "999", + "annotation" : [ ] + } + } + } ] + } + }, { + "localId" : "1164", + "name" : "NullEndIvl", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "1164", + "s" : [ { + "value" : [ "", "define ", "NullEndIvl", ": " ] + }, { + "r" : "1190", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "1181", + "s" : [ { + "r" : "1165", + "value" : [ "DateTime", "(", "2012", ", ", "3", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "r" : "1189", + "value" : [ ", ", "null", ")" ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1194", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1195", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "expression" : { + "type" : "Interval", + "localId" : "1190", + "lowClosed" : true, + "highClosed" : false, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1192", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1193", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "DateTime", + "localId" : "1181", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1182", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1183", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1184", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1185", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1186", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1187", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1188", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1165", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1166", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "1167", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "1168", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "1169", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "1170", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "1171", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + }, + "high" : { + "type" : "As", + "localId" : "1191", + "asType" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Null", + "localId" : "1189", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } + } + } + }, { + "localId" : "1198", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "BeforeNullEndIvl", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "1198", + "s" : [ { + "value" : [ "", "define ", "BeforeNullEndIvl", ": " ] + }, { + "r" : "1253", + "s" : [ { + "r" : "1247", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "1215", + "s" : [ { + "r" : "1199", + "value" : [ "DateTime", "(", "2012", ", ", "1", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "1239", + "s" : [ { + "r" : "1223", + "value" : [ "DateTime", "(", "2012", ", ", "2", ", ", "20", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ "]" ] + } ] + }, { + "r" : "1253", + "value" : [ " ", "before or on", " " ] + }, { + "r" : "1250", + "s" : [ { + "value" : [ "NullEndIvl" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "SameOrBefore", + "localId" : "1253", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "1254", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1255", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "1256", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1257", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "Interval", + "localId" : "1247", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1248", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1249", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "DateTime", + "localId" : "1215", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1216", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1217", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1218", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1219", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1220", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1221", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1222", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1199", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1200", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "1201", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "1202", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "1203", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "1204", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "1205", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "1239", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1240", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1241", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1242", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1243", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1244", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1245", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1246", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1223", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1224", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "1225", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "20", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "1226", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "1227", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "1228", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "1229", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + } + }, { + "type" : "ExpressionRef", + "localId" : "1250", + "name" : "NullEndIvl", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1251", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1252", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + } ] + } + }, { + "localId" : "1260", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "AfterStartNullEndIvl", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "1260", + "s" : [ { + "value" : [ "", "define ", "AfterStartNullEndIvl", ": " ] + }, { + "r" : "1315", + "s" : [ { + "r" : "1309", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "1277", + "s" : [ { + "r" : "1261", + "value" : [ "DateTime", "(", "2012", ", ", "3", ", ", "10", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "1301", + "s" : [ { + "r" : "1285", + "value" : [ "DateTime", "(", "2012", ", ", "3", ", ", "20", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ "]" ] + } ] + }, { + "r" : "1315", + "value" : [ " ", "before or on", " " ] + }, { + "r" : "1312", + "s" : [ { + "value" : [ "NullEndIvl" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "SameOrBefore", + "localId" : "1315", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "1316", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1317", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "1318", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1319", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "Interval", + "localId" : "1309", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1310", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1311", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "DateTime", + "localId" : "1277", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1278", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1279", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1280", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1281", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1282", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1283", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1284", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1261", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1262", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "1263", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "10", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "1264", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "1265", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "1266", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "1267", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "1301", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1302", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1303", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1304", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1305", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1306", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1307", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1308", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1285", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1286", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "1287", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "20", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "1288", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "1289", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "1290", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "1291", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + } + }, { + "type" : "ExpressionRef", + "localId" : "1312", + "name" : "NullEndIvl", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1313", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1314", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + } ] + } + }, { + "localId" : "1322", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "NullEndStartBeforeIvl", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "1322", + "s" : [ { + "value" : [ "", "define ", "NullEndStartBeforeIvl", ": " ] + }, { + "r" : "1377", + "s" : [ { + "r" : "1323", + "s" : [ { + "value" : [ "NullEndIvl" ] + } ] + }, { + "r" : "1377", + "value" : [ " ", "before or on", " " ] + }, { + "r" : "1374", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "1342", + "s" : [ { + "r" : "1326", + "value" : [ "DateTime", "(", "2012", ", ", "4", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "1366", + "s" : [ { + "r" : "1350", + "value" : [ "DateTime", "(", "2012", ", ", "4", ", ", "20", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ "]" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "SameOrBefore", + "localId" : "1377", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "1378", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1379", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "1380", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1381", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "ExpressionRef", + "localId" : "1323", + "name" : "NullEndIvl", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1324", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1325", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + }, { + "type" : "Interval", + "localId" : "1374", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1375", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1376", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "DateTime", + "localId" : "1342", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1343", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1344", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1345", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1346", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1347", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1348", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1349", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1326", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1327", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "4", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "1328", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "1329", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "1330", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "1331", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "1332", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "1366", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1367", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1368", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1369", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1370", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1371", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1372", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1373", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1350", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1351", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "4", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "1352", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "20", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "1353", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "1354", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "1355", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "1356", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + } + } ] + } + }, { + "localId" : "1384", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "NullEndStartAfterIvl", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "1384", + "s" : [ { + "value" : [ "", "define ", "NullEndStartAfterIvl", ": " ] + }, { + "r" : "1439", + "s" : [ { + "r" : "1385", + "s" : [ { + "value" : [ "NullEndIvl" ] + } ] + }, { + "r" : "1439", + "value" : [ " ", "before or on", " " ] + }, { + "r" : "1436", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "1404", + "s" : [ { + "r" : "1388", + "value" : [ "DateTime", "(", "2012", ", ", "1", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "1428", + "s" : [ { + "r" : "1412", + "value" : [ "DateTime", "(", "2012", ", ", "1", ", ", "20", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ "]" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "SameOrBefore", + "localId" : "1439", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "1440", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1441", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "1442", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1443", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "ExpressionRef", + "localId" : "1385", + "name" : "NullEndIvl", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1386", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1387", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + }, { + "type" : "Interval", + "localId" : "1436", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1437", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1438", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "DateTime", + "localId" : "1404", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1405", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1406", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1407", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1408", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1409", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1410", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1411", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1388", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1389", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "1390", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "1391", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "1392", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "1393", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "1394", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "1428", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1429", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1430", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1431", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1432", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1433", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1434", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1435", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1412", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1413", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "1414", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "20", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "1415", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "1416", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "1417", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "1418", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + } + } ] + } + }, { + "localId" : "1446", + "name" : "NullStartIvl", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "1446", + "s" : [ { + "value" : [ "", "define ", "NullStartIvl", ": " ] + }, { + "r" : "1472", + "s" : [ { + "r" : "1447", + "value" : [ "Interval(", "null", ", " ] + }, { + "r" : "1464", + "s" : [ { + "r" : "1448", + "value" : [ "DateTime", "(", "2012", ", ", "3", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ "]" ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1476", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1477", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "expression" : { + "type" : "Interval", + "localId" : "1472", + "lowClosed" : false, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1474", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1475", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "As", + "localId" : "1473", + "asType" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Null", + "localId" : "1447", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "1464", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1465", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1466", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1467", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1468", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1469", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1470", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1471", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1448", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1449", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "1450", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "1451", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "1452", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "1453", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "1454", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + } + } + }, { + "localId" : "1480", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "EndsBeforeNullStartIvlEnds", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "1480", + "s" : [ { + "value" : [ "", "define ", "EndsBeforeNullStartIvlEnds", ": " ] + }, { + "r" : "1535", + "s" : [ { + "r" : "1529", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "1497", + "s" : [ { + "r" : "1481", + "value" : [ "DateTime", "(", "2012", ", ", "1", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "1521", + "s" : [ { + "r" : "1505", + "value" : [ "DateTime", "(", "2012", ", ", "2", ", ", "20", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ "]" ] + } ] + }, { + "r" : "1535", + "value" : [ " ", "before or on", " " ] + }, { + "r" : "1532", + "s" : [ { + "value" : [ "NullStartIvl" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "SameOrBefore", + "localId" : "1535", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "1536", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1537", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "1538", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1539", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "Interval", + "localId" : "1529", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1530", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1531", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "DateTime", + "localId" : "1497", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1498", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1499", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1500", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1501", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1502", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1503", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1504", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1481", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1482", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "1483", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "1484", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "1485", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "1486", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "1487", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "1521", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1522", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1523", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1524", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1525", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1526", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1527", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1528", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1505", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1506", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "1507", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "20", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "1508", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "1509", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "1510", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "1511", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + } + }, { + "type" : "ExpressionRef", + "localId" : "1532", + "name" : "NullStartIvl", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1533", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1534", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + } ] + } + }, { + "localId" : "1542", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "AfterEndOfNullStartIvl", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "1542", + "s" : [ { + "value" : [ "", "define ", "AfterEndOfNullStartIvl", ": " ] + }, { + "r" : "1597", + "s" : [ { + "r" : "1591", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "1559", + "s" : [ { + "r" : "1543", + "value" : [ "DateTime", "(", "2012", ", ", "3", ", ", "10", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "1583", "s" : [ { - "value" : [ "","define ","OverlapsBoundaryRealIvl",": " ] - }, { - "r" : "333", - "s" : [ { - "r" : "325", - "s" : [ { - "r" : "323", - "value" : [ "Interval[","1.0",", ","1.234","]" ] - } ] - }, { - "r" : "333", - "value" : [ " ","overlaps before"," " ] - }, { - "r" : "330", - "s" : [ { - "r" : "328", - "value" : [ "Interval[","1.234",", ","2.0","]" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "333", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "OverlapsBefore", - "signature" : [ { - "localId" : "334", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "335", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "336", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "337", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "325", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "326", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "327", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "323", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "1.0", - "type" : "Literal" - }, - "high" : { - "localId" : "324", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "1.234", - "type" : "Literal" - } - }, { - "localId" : "330", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "331", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "332", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "328", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "1.234", - "type" : "Literal" - }, - "high" : { - "localId" : "329", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "2.0", - "type" : "Literal" - } - } ] - } - }, { - "localId" : "340", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "NoOverlapsRealIvl", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "340", + "r" : "1567", + "value" : [ "DateTime", "(", "2012", ", ", "3", ", ", "20", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ "]" ] + } ] + }, { + "r" : "1597", + "value" : [ " ", "before or on", " " ] + }, { + "r" : "1594", + "s" : [ { + "value" : [ "NullStartIvl" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "SameOrBefore", + "localId" : "1597", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "1598", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1599", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "1600", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1601", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "Interval", + "localId" : "1591", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1592", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1593", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "DateTime", + "localId" : "1559", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1560", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1561", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1562", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1563", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1564", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1565", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1566", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1543", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1544", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "1545", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "10", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "1546", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "1547", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "1548", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "1549", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "1583", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1584", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1585", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1586", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1587", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1588", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1589", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1590", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1567", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1568", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "1569", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "20", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "1570", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "1571", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "1572", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "1573", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + } + }, { + "type" : "ExpressionRef", + "localId" : "1594", + "name" : "NullStartIvl", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1595", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1596", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + } ] + } + }, { + "localId" : "1604", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "NullStartStartBeforeIvl", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "1604", + "s" : [ { + "value" : [ "", "define ", "NullStartStartBeforeIvl", ": " ] + }, { + "r" : "1659", + "s" : [ { + "r" : "1605", + "s" : [ { + "value" : [ "NullStartIvl" ] + } ] + }, { + "r" : "1659", + "value" : [ " ", "before or on", " " ] + }, { + "r" : "1656", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "1624", + "s" : [ { + "r" : "1608", + "value" : [ "DateTime", "(", "2012", ", ", "4", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "1648", + "s" : [ { + "r" : "1632", + "value" : [ "DateTime", "(", "2012", ", ", "4", ", ", "20", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ "]" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "SameOrBefore", + "localId" : "1659", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "1660", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1661", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "1662", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1663", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "ExpressionRef", + "localId" : "1605", + "name" : "NullStartIvl", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1606", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1607", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + }, { + "type" : "Interval", + "localId" : "1656", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1657", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1658", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "DateTime", + "localId" : "1624", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1625", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1626", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1627", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1628", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1629", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1630", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1631", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1608", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1609", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "4", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "1610", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "1611", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "1612", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "1613", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "1614", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "1648", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1649", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1650", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1651", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1652", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1653", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1654", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1655", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1632", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1633", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "4", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "1634", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "20", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "1635", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "1636", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "1637", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "1638", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + } + } ] + } + }, { + "localId" : "1666", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "NullStartStartAfterIvl", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "1666", + "s" : [ { + "value" : [ "", "define ", "NullStartStartAfterIvl", ": " ] + }, { + "r" : "1721", + "s" : [ { + "r" : "1667", + "s" : [ { + "value" : [ "NullStartIvl" ] + } ] + }, { + "r" : "1721", + "value" : [ " ", "before or on", " " ] + }, { + "r" : "1718", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "1686", "s" : [ { - "value" : [ "","define ","NoOverlapsRealIvl",": " ] - }, { - "r" : "351", - "s" : [ { - "r" : "343", - "s" : [ { - "r" : "341", - "value" : [ "Interval[","1.0",", ","1.23456789",")" ] - } ] - }, { - "r" : "351", - "value" : [ " ","overlaps before"," " ] - }, { - "r" : "348", - "s" : [ { - "r" : "346", - "value" : [ "Interval[","1.23456789",", ","2.0","]" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "351", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "OverlapsBefore", - "signature" : [ { - "localId" : "352", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "353", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "354", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "355", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "343", - "lowClosed" : true, - "highClosed" : false, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "344", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "345", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "341", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "1.0", - "type" : "Literal" - }, - "high" : { - "localId" : "342", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "1.23456789", - "type" : "Literal" - } - }, { - "localId" : "348", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "349", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "350", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "346", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "1.23456789", - "type" : "Literal" - }, - "high" : { - "localId" : "347", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "2.0", - "type" : "Literal" - } - } ] - } - } ] - } - } -} - -/* OverlapsBeforeDateTime -library TestSnippet version '1' -using Simple version '1.0.0' -context Patient -define ivlA: Interval[DateTime(2012, 1, 1, 0, 0, 0, 0), DateTime(2012, 6, 1, 0, 0, 0, 0)) -define ivlB: Interval[DateTime(2012, 3, 1, 0, 0, 0, 0), DateTime(2012, 9, 1, 0, 0, 0, 0)) -define ivlC: Interval[DateTime(2012, 1, 1, 0, 0, 0, 0), DateTime(2013, 1, 1, 0, 0, 0, 0)) -define ivlD: Interval[DateTime(2013, 1, 1, 0, 0, 0, 0), DateTime(2014, 1, 1, 0, 0, 0, 0)) -define ivlE: Interval[DateTime(2013), DateTime(2015)] -define ivlF: Interval[DateTime(2014), DateTime(2016)] -define ivlG: Interval[DateTime(2016), DateTime(2017)] -define ivlH: Interval[DateTime(2011, 3), DateTime(2013, 3)] -define OverlapsBefore: ivlA overlaps before ivlB -define OverlapsAfter: ivlB overlaps before ivlA -define OverlapsContained: ivlB overlaps before ivlC -define OverlapsContains: ivlC overlaps before ivlB -define ImpreciseOverlapBefore: ivlE overlaps before ivlF -define ImpreciseOverlapAfter: ivlF overlaps before ivlE -define NoOverlap: ivlC overlaps before ivlD -define NoImpreciseOverlap: ivlE overlaps before ivlG -define MatchingPrecisionOverlap: ivlF overlaps before ivlG -define UnknownOverlap: ivlH overlaps before ivlE -define PrecisionDateIvl: Interval[DateTime(2012, 3, 2, 12, 34, 56, 789), DateTime(2012, 9, 2, 1, 23, 45, 678)) -define OverlapsBeforeDayOfIvlEdge: PrecisionDateIvl overlaps before day of Interval[DateTime(2012, 9, 2, 23, 59, 59, 999), DateTime(2012, 10, 1, 0, 0, 0, 0)] -define OverlapsAfterDayOfIvlEdge: PrecisionDateIvl overlaps before day of Interval[DateTime(2012, 1, 2, 0, 0, 0, 0), DateTime(2012, 3, 2, 0, 0, 0, 0)] -define OverlapsContainsDayOfIvl: PrecisionDateIvl overlaps before day of Interval[DateTime(2012, 5, 1, 0, 0, 0, 0), DateTime(2012, 6, 1, 0, 0, 0, 0)] -define OverlapsContainedByDayOfIvl: PrecisionDateIvl overlaps before day of Interval[DateTime(2012, 1, 1, 0, 0, 0, 0), DateTime(2012, 12, 1, 0, 0, 0, 0)] -define NotOverlapsDayOfIvl: PrecisionDateIvl overlaps before day of Interval[DateTime(2012, 1, 2, 0, 0, 0, 0), DateTime(2012, 3, 1, 0, 0, 0, 0)] -define OverlapsAfterDayOfImpreciseInterval: PrecisionDateIvl overlaps before day of Interval[DateTime(2012, 1), DateTime(2012, 4)] -define MayOverlapBeforeDayOfImpreciseIvl: PrecisionDateIvl overlaps before day of Interval[DateTime(2012, 9), DateTime(2012, 10)] -define MayOverlapAfterDayOfImpreciseIvl: PrecisionDateIvl overlaps before day of Interval[DateTime(2012, 1), DateTime(2012, 3)] -*/ - -module.exports['OverlapsBeforeDateTime'] = { - "library" : { - "localId" : "0", - "annotation" : [ { - "translatorVersion" : "3.27.0", - "translatorOptions" : "EnableDateRangeOptimization,EnableAnnotations,EnableResultTypes", - "signatureLevel" : "All", - "type" : "CqlToElmInfo" - }, { - "type" : "Annotation", - "s" : { - "r" : "1094", + "r" : "1670", + "value" : [ "DateTime", "(", "2012", ", ", "1", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "1710", + "s" : [ { + "r" : "1694", + "value" : [ "DateTime", "(", "2012", ", ", "1", ", ", "20", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ "]" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "SameOrBefore", + "localId" : "1721", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "1722", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1723", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "1724", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1725", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "ExpressionRef", + "localId" : "1667", + "name" : "NullStartIvl", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1668", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1669", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + }, { + "type" : "Interval", + "localId" : "1718", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1719", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1720", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "DateTime", + "localId" : "1686", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1687", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1688", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1689", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1690", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1691", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1692", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1693", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1670", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1671", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "1672", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "1673", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "1674", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "1675", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "1676", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "1710", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1711", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1712", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1713", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1714", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1715", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1716", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1717", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1694", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1695", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "1696", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "20", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "1697", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "1698", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "1699", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "1700", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + } + } ] + } + }, { + "localId" : "1728", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "DateIvlBeforeNull", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "1728", "s" : [ { - "value" : [ "","library TestSnippet version '1'" ] - } ] - } - } ], - "identifier" : { - "id" : "TestSnippet", - "version" : "1" - }, - "schemaIdentifier" : { - "id" : "urn:hl7-org:elm", - "version" : "r1" - }, - "usings" : { - "def" : [ { - "localId" : "1", - "localIdentifier" : "System", - "uri" : "urn:hl7-org:elm-types:r1" - }, { - "localId" : "206", - "localIdentifier" : "Simple", - "uri" : "https://github.com/cqframework/cql-execution/simple", - "version" : "1.0.0", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "206", - "s" : [ { - "value" : [ "","using " ] - }, { - "s" : [ { - "value" : [ "Simple" ] - } ] - }, { - "value" : [ " version '1.0.0'" ] - } ] - } - } ] - } ] - }, - "contexts" : { - "def" : [ { - "localId" : "211", - "name" : "Patient" - } ] - }, - "statements" : { - "def" : [ { - "localId" : "209", - "name" : "Patient", - "context" : "Patient", - "expression" : { - "localId" : "210", - "type" : "SingletonFrom", - "signature" : [ ], - "operand" : { - "localId" : "208", - "dataType" : "{https://github.com/cqframework/cql-execution/simple}Patient", - "type" : "Retrieve", - "include" : [ ], - "codeFilter" : [ ], - "dateFilter" : [ ], - "otherFilter" : [ ] - } - } - }, { - "localId" : "214", - "name" : "ivlA", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "214", - "s" : [ { - "value" : [ "","define ","ivlA",": " ] - }, { - "r" : "263", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "231", - "s" : [ { - "r" : "215", - "value" : [ "DateTime","(","2012",", ","1",", ","1",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "255", - "s" : [ { - "r" : "239", - "value" : [ "DateTime","(","2012",", ","6",", ","1",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ ")" ] - } ] - } ] - } - } ], + "value" : [ "", "define ", "DateIvlBeforeNull", ": " ] + }, { + "r" : "1733", + "s" : [ { + "r" : "1729", + "s" : [ { + "value" : [ "DateIvl" ] + } ] + }, { + "r" : "1733", + "value" : [ " ", "before or on", " ", "null" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "SameOrBefore", + "localId" : "1733", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "1737", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1738", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "1739", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1740", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "ExpressionRef", + "localId" : "1729", + "name" : "DateIvl", + "annotation" : [ ], "resultTypeSpecifier" : { - "localId" : "266", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "267", + "type" : "IntervalTypeSpecifier", + "localId" : "1730", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1731", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + }, { + "type" : "As", + "localId" : "1734", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Null", + "localId" : "1732", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + }, + "asTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1735", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1736", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + } ] + } + }, { + "localId" : "1743", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "NullBeforeDateIvl", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "1743", + "s" : [ { + "value" : [ "", "define ", "NullBeforeDateIvl", ": " ] + }, { + "r" : "1748", + "s" : [ { + "r" : "1744", + "value" : [ "null", " ", "before or on", " " ] + }, { + "r" : "1745", + "s" : [ { + "value" : [ "DateIvl" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "SameOrBefore", + "localId" : "1748", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "1752", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1753", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "1754", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1755", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "As", + "localId" : "1749", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Null", + "localId" : "1744", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + }, + "asTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1750", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1751", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + }, { + "type" : "ExpressionRef", + "localId" : "1745", + "name" : "DateIvl", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1746", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1747", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + } ] + } + }, { + "localId" : "1758", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "DateTimeBeforeDateIvl", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "1758", + "s" : [ { + "value" : [ "", "define ", "DateTimeBeforeDateIvl", ": " ] + }, { + "r" : "1786", + "s" : [ { + "r" : "1775", + "s" : [ { + "r" : "1759", + "value" : [ "DateTime", "(", "2012", ", ", "2", ", ", "20", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "r" : "1786", + "value" : [ " ", "before or on", " " ] + }, { + "r" : "1783", + "s" : [ { + "value" : [ "DateIvl" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "SameOrBefore", + "localId" : "1786", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "1793", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1794", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "1795", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1796", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "If", + "localId" : "1787", + "annotation" : [ ], + "condition" : { + "type" : "IsNull", + "localId" : "1788", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "DateTime", + "localId" : "1775", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1776", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1777", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1778", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1779", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1780", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1781", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1782", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1759", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1760", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "1761", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "20", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "1762", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "1763", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "1764", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "1765", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + } + }, + "then" : { + "type" : "Null", + "localId" : "1789", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1790", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1791", "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "expression" : { - "localId" : "263", - "lowClosed" : true, - "highClosed" : false, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "264", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "265", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "231", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "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" - }, { - "localId" : "234", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "235", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "236", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "237", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "238", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "215", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "216", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "217", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "218", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "219", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "220", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "221", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - }, - "high" : { - "localId" : "255", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", + "annotation" : [ ] + } + } + }, + "else" : { + "type" : "Interval", + "localId" : "1792", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "low" : { + "type" : "DateTime", + "localId" : "1775", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1776", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1777", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1778", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1779", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1780", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1781", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1782", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1759", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1760", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "1761", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "20", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "1762", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "1763", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "1764", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "1765", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "1775", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1776", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1777", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1778", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1779", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1780", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1781", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1782", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1759", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1760", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "1761", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "20", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "1762", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "1763", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "1764", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "1765", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + } + } + }, { + "type" : "ExpressionRef", + "localId" : "1783", + "name" : "DateIvl", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1784", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1785", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + } ] + } + }, { + "localId" : "1799", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "DateBeforeDateIvl", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "1799", + "s" : [ { + "value" : [ "", "define ", "DateBeforeDateIvl", ": " ] + }, { + "r" : "1815", + "s" : [ { + "r" : "1808", + "s" : [ { + "r" : "1800", + "value" : [ "Date", "(", "2012", ", ", "2", ", ", "20", ")" ] + } ] + }, { + "r" : "1815", + "value" : [ " ", "before or on", " " ] + }, { + "r" : "1812", + "s" : [ { + "value" : [ "DateIvl" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "SameOrBefore", + "localId" : "1815", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "1825", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1826", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "1827", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1828", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "If", + "localId" : "1819", + "annotation" : [ ], + "condition" : { + "type" : "IsNull", + "localId" : "1820", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "ToDateTime", + "localId" : "1817", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1818", + "name" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ] + } ], + "operand" : { + "type" : "Date", + "localId" : "1808", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ], "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" - }, { - "localId" : "258", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "259", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "260", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "261", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "262", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" + "type" : "NamedTypeSpecifier", + "localId" : "1809", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1810", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1811", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] } ], "year" : { - "localId" : "239", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" + "type" : "Literal", + "localId" : "1800", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] }, "month" : { - "localId" : "240", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "6", - "type" : "Literal" + "type" : "Literal", + "localId" : "1801", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "annotation" : [ ] }, "day" : { - "localId" : "241", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "242", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "243", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "244", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "245", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - } - } - }, { - "localId" : "270", - "name" : "ivlB", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "270", - "s" : [ { - "value" : [ "","define ","ivlB",": " ] - }, { - "r" : "319", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "287", - "s" : [ { - "r" : "271", - "value" : [ "DateTime","(","2012",", ","3",", ","1",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "311", - "s" : [ { - "r" : "295", - "value" : [ "DateTime","(","2012",", ","9",", ","1",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ ")" ] - } ] - } ] - } - } ], - "resultTypeSpecifier" : { - "localId" : "322", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "323", + "type" : "Literal", + "localId" : "1802", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "20", + "annotation" : [ ] + } + } + } + }, + "then" : { + "type" : "Null", + "localId" : "1821", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1822", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1823", "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "expression" : { - "localId" : "319", - "lowClosed" : true, - "highClosed" : false, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "320", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "321", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "287", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", + "annotation" : [ ] + } + } + }, + "else" : { + "type" : "Interval", + "localId" : "1824", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "low" : { + "type" : "ToDateTime", + "localId" : "1817", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1818", + "name" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ] + } ], + "operand" : { + "type" : "Date", + "localId" : "1808", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ], "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" - }, { - "localId" : "290", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "291", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "292", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "293", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "294", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" + "type" : "NamedTypeSpecifier", + "localId" : "1809", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1810", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1811", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] } ], "year" : { - "localId" : "271", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" + "type" : "Literal", + "localId" : "1800", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] }, "month" : { - "localId" : "272", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" + "type" : "Literal", + "localId" : "1801", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "annotation" : [ ] }, "day" : { - "localId" : "273", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "274", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "275", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "276", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "277", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - }, - "high" : { - "localId" : "311", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", + "type" : "Literal", + "localId" : "1802", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "20", + "annotation" : [ ] + } + } + }, + "high" : { + "type" : "ToDateTime", + "localId" : "1817", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1818", + "name" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ] + } ], + "operand" : { + "type" : "Date", + "localId" : "1808", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ], "signature" : [ { - "localId" : "312", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "313", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "314", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "315", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "316", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "317", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "318", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" + "type" : "NamedTypeSpecifier", + "localId" : "1809", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1810", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1811", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] } ], "year" : { - "localId" : "295", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" + "type" : "Literal", + "localId" : "1800", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] }, "month" : { - "localId" : "296", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "9", - "type" : "Literal" + "type" : "Literal", + "localId" : "1801", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "annotation" : [ ] }, "day" : { - "localId" : "297", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "298", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "299", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "300", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "301", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - } + "type" : "Literal", + "localId" : "1802", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "20", + "annotation" : [ ] + } + } + } + } + }, { + "type" : "ExpressionRef", + "localId" : "1812", + "name" : "DateIvl", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1813", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1814", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + } ] + } + }, { + "localId" : "1831", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "DateIvlBeforeDateTime", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "1831", + "s" : [ { + "value" : [ "", "define ", "DateIvlBeforeDateTime", ": " ] + }, { + "r" : "1859", + "s" : [ { + "r" : "1832", + "s" : [ { + "value" : [ "DateIvl" ] + } ] + }, { + "r" : "1859", + "value" : [ " ", "before or on", " " ] + }, { + "r" : "1851", + "s" : [ { + "r" : "1835", + "value" : [ "DateTime", "(", "2012", ", ", "9", ", ", "20", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "SameOrBefore", + "localId" : "1859", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "1866", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1867", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "1868", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1869", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "ExpressionRef", + "localId" : "1832", + "name" : "DateIvl", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1833", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1834", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + }, { + "type" : "If", + "localId" : "1860", + "annotation" : [ ], + "condition" : { + "type" : "IsNull", + "localId" : "1861", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "DateTime", + "localId" : "1851", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1852", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1853", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1854", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1855", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1856", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1857", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1858", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1835", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1836", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "9", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "1837", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "20", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "1838", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "1839", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "1840", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "1841", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + } + }, + "then" : { + "type" : "Null", + "localId" : "1862", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1863", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1864", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + }, + "else" : { + "type" : "Interval", + "localId" : "1865", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "low" : { + "type" : "DateTime", + "localId" : "1851", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1852", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1853", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1854", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1855", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1856", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1857", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1858", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1835", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1836", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "9", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "1837", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "20", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "1838", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "1839", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "1840", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "1841", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "1851", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1852", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1853", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1854", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1855", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1856", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1857", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1858", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1835", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1836", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "9", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "1837", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "20", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "1838", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "1839", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "1840", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "1841", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + } + } + } ] + } + }, { + "localId" : "1872", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "DateIvlBeforeDate", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "1872", + "s" : [ { + "value" : [ "", "define ", "DateIvlBeforeDate", ": " ] + }, { + "r" : "1888", + "s" : [ { + "r" : "1873", + "s" : [ { + "value" : [ "DateIvl" ] + } ] + }, { + "r" : "1888", + "value" : [ " ", "before or on", " " ] + }, { + "r" : "1884", + "s" : [ { + "r" : "1876", + "value" : [ "DateTime", "(", "2012", ", ", "9", ", ", "20", ")" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "SameOrBefore", + "localId" : "1888", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "1895", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1896", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "1897", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1898", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "ExpressionRef", + "localId" : "1873", + "name" : "DateIvl", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1874", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1875", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + }, { + "type" : "If", + "localId" : "1889", + "annotation" : [ ], + "condition" : { + "type" : "IsNull", + "localId" : "1890", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "DateTime", + "localId" : "1884", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1885", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1886", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1887", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1876", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1877", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "9", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "1878", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "20", + "annotation" : [ ] + } + } + }, + "then" : { + "type" : "Null", + "localId" : "1891", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1892", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1893", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + }, + "else" : { + "type" : "Interval", + "localId" : "1894", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "low" : { + "type" : "DateTime", + "localId" : "1884", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1885", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1886", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1887", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1876", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1877", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "9", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "1878", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "20", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "1884", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1885", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1886", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1887", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1876", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1877", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "9", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "1878", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "20", + "annotation" : [ ] + } + } } - }, { - "localId" : "326", - "name" : "ivlC", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "326", - "s" : [ { - "value" : [ "","define ","ivlC",": " ] - }, { - "r" : "375", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "343", - "s" : [ { - "r" : "327", - "value" : [ "DateTime","(","2012",", ","1",", ","1",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "367", - "s" : [ { - "r" : "351", - "value" : [ "DateTime","(","2013",", ","1",", ","1",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ ")" ] - } ] - } ] - } - } ], + } ] + } + }, { + "localId" : "1901", + "name" : "DateOnlyIvl", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "1901", + "s" : [ { + "value" : [ "", "define ", "DateOnlyIvl", ": " ] + }, { + "r" : "1926", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "1910", + "s" : [ { + "r" : "1902", + "value" : [ "Date", "(", "2012", ", ", "1", ", ", "1", ")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "1922", + "s" : [ { + "r" : "1914", + "value" : [ "Date", "(", "2012", ", ", "2", ", ", "20", ")" ] + } ] + }, { + "value" : [ "]" ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1929", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1930", + "name" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ] + } + }, + "expression" : { + "type" : "Interval", + "localId" : "1926", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1927", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1928", + "name" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ] + } + }, + "low" : { + "type" : "Date", + "localId" : "1910", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1911", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1912", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1913", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1902", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1903", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "1904", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + } + }, + "high" : { + "type" : "Date", + "localId" : "1922", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1923", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1924", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1925", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1914", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1915", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "1916", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "20", + "annotation" : [ ] + } + } + } + }, { + "localId" : "1933", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "DateOnlyIvlBeforeDateIvl", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "1933", + "s" : [ { + "value" : [ "", "define ", "DateOnlyIvlBeforeDateIvl", ": " ] + }, { + "r" : "1940", + "s" : [ { + "r" : "1934", + "s" : [ { + "value" : [ "DateOnlyIvl" ] + } ] + }, { + "r" : "1940", + "value" : [ " ", "before or on", " " ] + }, { + "r" : "1937", + "s" : [ { + "value" : [ "DateIvl" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "SameOrBefore", + "localId" : "1940", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "1952", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1953", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "1954", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1955", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "Interval", + "localId" : "1941", + "annotation" : [ ], + "low" : { + "type" : "ToDateTime", + "localId" : "1944", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1945", + "name" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ] + } ], + "operand" : { + "type" : "Property", + "localId" : "1942", + "path" : "low", + "annotation" : [ ], + "source" : { + "type" : "ExpressionRef", + "localId" : "1934", + "name" : "DateOnlyIvl", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1935", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1936", + "name" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ] + } + } + } + } + }, + "lowClosedExpression" : { + "type" : "Property", + "localId" : "1946", + "path" : "lowClosed", + "annotation" : [ ], + "source" : { + "type" : "ExpressionRef", + "localId" : "1934", + "name" : "DateOnlyIvl", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1935", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1936", + "name" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ] + } + } + } + }, + "high" : { + "type" : "ToDateTime", + "localId" : "1949", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1950", + "name" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ] + } ], + "operand" : { + "type" : "Property", + "localId" : "1947", + "path" : "high", + "annotation" : [ ], + "source" : { + "type" : "ExpressionRef", + "localId" : "1934", + "name" : "DateOnlyIvl", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1935", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1936", + "name" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ] + } + } + } + } + }, + "highClosedExpression" : { + "type" : "Property", + "localId" : "1951", + "path" : "highClosed", + "annotation" : [ ], + "source" : { + "type" : "ExpressionRef", + "localId" : "1934", + "name" : "DateOnlyIvl", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1935", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1936", + "name" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ] + } + } + } + } + }, { + "type" : "ExpressionRef", + "localId" : "1937", + "name" : "DateIvl", + "annotation" : [ ], "resultTypeSpecifier" : { - "localId" : "378", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "379", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "expression" : { - "localId" : "375", - "lowClosed" : true, - "highClosed" : false, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "376", + "type" : "IntervalTypeSpecifier", + "localId" : "1938", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1939", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + } ] + } + }, { + "localId" : "1958", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "DateIvlAfterDateOnlyIvl", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "1958", + "s" : [ { + "value" : [ "", "define ", "DateIvlAfterDateOnlyIvl", ": " ] + }, { + "r" : "1965", + "s" : [ { + "r" : "1959", + "s" : [ { + "value" : [ "DateIvl" ] + } ] + }, { + "r" : "1965", + "value" : [ " ", "before or on", " " ] + }, { + "r" : "1962", + "s" : [ { + "value" : [ "DateOnlyIvl" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "SameOrBefore", + "localId" : "1965", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "1977", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1978", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "1979", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1980", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "ExpressionRef", + "localId" : "1959", + "name" : "DateIvl", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1960", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1961", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + }, { + "type" : "Interval", + "localId" : "1966", + "annotation" : [ ], + "low" : { + "type" : "ToDateTime", + "localId" : "1969", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1970", + "name" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ] + } ], + "operand" : { + "type" : "Property", + "localId" : "1967", + "path" : "low", + "annotation" : [ ], + "source" : { + "type" : "ExpressionRef", + "localId" : "1962", + "name" : "DateOnlyIvl", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1963", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1964", + "name" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ] + } + } + } + } + }, + "lowClosedExpression" : { + "type" : "Property", + "localId" : "1971", + "path" : "lowClosed", + "annotation" : [ ], + "source" : { + "type" : "ExpressionRef", + "localId" : "1962", + "name" : "DateOnlyIvl", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1963", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1964", + "name" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ] + } + } + } + }, + "high" : { + "type" : "ToDateTime", + "localId" : "1974", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1975", + "name" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ] + } ], + "operand" : { + "type" : "Property", + "localId" : "1972", + "path" : "high", + "annotation" : [ ], + "source" : { + "type" : "ExpressionRef", + "localId" : "1962", + "name" : "DateOnlyIvl", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1963", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1964", + "name" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ] + } + } + } + } + }, + "highClosedExpression" : { + "type" : "Property", + "localId" : "1976", + "path" : "highClosed", + "annotation" : [ ], + "source" : { + "type" : "ExpressionRef", + "localId" : "1962", + "name" : "DateOnlyIvl", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1963", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1964", + "name" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ] + } + } + } + } + } ] + } + }, { + "localId" : "1983", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "DateOnlyMeetsBeforeDateIvl", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "1983", + "s" : [ { + "value" : [ "", "define ", "DateOnlyMeetsBeforeDateIvl", ": " ] + }, { + "r" : "2014", + "s" : [ { + "r" : "2008", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "1992", + "s" : [ { + "r" : "1984", + "value" : [ "Date", "(", "2012", ", ", "1", ", ", "1", ")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "2004", + "s" : [ { + "r" : "1996", + "value" : [ "Date", "(", "2012", ", ", "3", ", ", "1", ")" ] + } ] + }, { + "value" : [ "]" ] + } ] + }, { + "r" : "2014", + "value" : [ " ", "before or on", " " ] + }, { + "r" : "2011", + "s" : [ { + "value" : [ "DateIvl" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "SameOrBefore", + "localId" : "2014", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "2026", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "2027", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "2028", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "2029", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "Interval", + "localId" : "2015", + "annotation" : [ ], + "low" : { + "type" : "ToDateTime", + "localId" : "2018", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "2019", + "name" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ] + } ], + "operand" : { + "type" : "Property", + "localId" : "2016", + "path" : "low", + "annotation" : [ ], + "source" : { + "type" : "Interval", + "localId" : "2008", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "2009", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "2010", + "name" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ] + } + }, + "low" : { + "type" : "Date", + "localId" : "1992", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1993", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1994", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1995", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1984", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1985", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "1986", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + } + }, + "high" : { + "type" : "Date", + "localId" : "2004", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "2005", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2006", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2007", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1996", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1997", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "1998", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + } + } + } + } + }, + "lowClosedExpression" : { + "type" : "Property", + "localId" : "2020", + "path" : "lowClosed", + "annotation" : [ ], + "source" : { + "type" : "Interval", + "localId" : "2008", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { "type" : "IntervalTypeSpecifier", + "localId" : "2009", + "annotation" : [ ], "pointType" : { - "localId" : "377", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" + "type" : "NamedTypeSpecifier", + "localId" : "2010", + "name" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ] } - }, - "low" : { - "localId" : "343", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", + }, + "low" : { + "type" : "Date", + "localId" : "1992", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ], "signature" : [ { - "localId" : "344", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "345", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "346", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "347", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "348", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "349", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "350", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" + "type" : "NamedTypeSpecifier", + "localId" : "1993", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1994", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1995", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] } ], "year" : { - "localId" : "327", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" + "type" : "Literal", + "localId" : "1984", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] }, "month" : { - "localId" : "328", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" + "type" : "Literal", + "localId" : "1985", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] }, "day" : { - "localId" : "329", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "330", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "331", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "332", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "333", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - }, - "high" : { - "localId" : "367", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", + "type" : "Literal", + "localId" : "1986", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + } + }, + "high" : { + "type" : "Date", + "localId" : "2004", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ], "signature" : [ { - "localId" : "368", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "369", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "370", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "371", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "372", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "373", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "374", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" + "type" : "NamedTypeSpecifier", + "localId" : "2005", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2006", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2007", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] } ], "year" : { - "localId" : "351", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2013", - "type" : "Literal" + "type" : "Literal", + "localId" : "1996", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] }, "month" : { - "localId" : "352", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" + "type" : "Literal", + "localId" : "1997", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] }, "day" : { - "localId" : "353", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "354", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "355", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "356", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "357", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - } - } - }, { - "localId" : "382", - "name" : "ivlD", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "382", - "s" : [ { - "value" : [ "","define ","ivlD",": " ] - }, { - "r" : "431", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "399", - "s" : [ { - "r" : "383", - "value" : [ "DateTime","(","2013",", ","1",", ","1",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "423", - "s" : [ { - "r" : "407", - "value" : [ "DateTime","(","2014",", ","1",", ","1",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ ")" ] - } ] - } ] - } - } ], - "resultTypeSpecifier" : { - "localId" : "434", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "435", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "expression" : { - "localId" : "431", - "lowClosed" : true, - "highClosed" : false, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "432", + "type" : "Literal", + "localId" : "1998", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + } + } + } + }, + "high" : { + "type" : "ToDateTime", + "localId" : "2023", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "2024", + "name" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ] + } ], + "operand" : { + "type" : "Property", + "localId" : "2021", + "path" : "high", + "annotation" : [ ], + "source" : { + "type" : "Interval", + "localId" : "2008", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "2009", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "2010", + "name" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ] + } + }, + "low" : { + "type" : "Date", + "localId" : "1992", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1993", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1994", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1995", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1984", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1985", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "1986", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + } + }, + "high" : { + "type" : "Date", + "localId" : "2004", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "2005", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2006", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2007", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1996", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1997", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "1998", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + } + } + } + } + }, + "highClosedExpression" : { + "type" : "Property", + "localId" : "2025", + "path" : "highClosed", + "annotation" : [ ], + "source" : { + "type" : "Interval", + "localId" : "2008", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { "type" : "IntervalTypeSpecifier", + "localId" : "2009", + "annotation" : [ ], "pointType" : { - "localId" : "433", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" + "type" : "NamedTypeSpecifier", + "localId" : "2010", + "name" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ] } - }, - "low" : { - "localId" : "399", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", + }, + "low" : { + "type" : "Date", + "localId" : "1992", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ], "signature" : [ { - "localId" : "400", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "401", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "402", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "403", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "404", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "405", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "406", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" + "type" : "NamedTypeSpecifier", + "localId" : "1993", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1994", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1995", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] } ], "year" : { - "localId" : "383", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2013", - "type" : "Literal" + "type" : "Literal", + "localId" : "1984", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] }, "month" : { - "localId" : "384", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" + "type" : "Literal", + "localId" : "1985", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] }, "day" : { - "localId" : "385", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "386", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "387", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "388", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "389", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - }, - "high" : { - "localId" : "423", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", + "type" : "Literal", + "localId" : "1986", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + } + }, + "high" : { + "type" : "Date", + "localId" : "2004", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ], "signature" : [ { - "localId" : "424", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "425", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "426", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "427", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "428", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "429", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "430", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" + "type" : "NamedTypeSpecifier", + "localId" : "2005", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2006", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2007", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] } ], "year" : { - "localId" : "407", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2014", - "type" : "Literal" + "type" : "Literal", + "localId" : "1996", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] }, "month" : { - "localId" : "408", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" + "type" : "Literal", + "localId" : "1997", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] }, "day" : { - "localId" : "409", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "410", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "411", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "412", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "413", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - } - } - }, { - "localId" : "438", - "name" : "ivlE", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "438", - "s" : [ { - "value" : [ "","define ","ivlE",": " ] - }, { - "r" : "451", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "443", - "s" : [ { - "r" : "439", - "value" : [ "DateTime","(","2013",")" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "449", - "s" : [ { - "r" : "445", - "value" : [ "DateTime","(","2015",")" ] - } ] - }, { - "value" : [ "]" ] - } ] - } ] - } - } ], + "type" : "Literal", + "localId" : "1998", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + } + } + } + } + }, { + "type" : "ExpressionRef", + "localId" : "2011", + "name" : "DateIvl", + "annotation" : [ ], "resultTypeSpecifier" : { - "localId" : "454", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "455", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "expression" : { - "localId" : "451", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "452", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "453", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "443", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "444", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "439", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2013", - "type" : "Literal" - } - }, - "high" : { - "localId" : "449", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "450", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "445", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2015", - "type" : "Literal" - } - } - } - }, { - "localId" : "458", - "name" : "ivlF", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "458", - "s" : [ { - "value" : [ "","define ","ivlF",": " ] - }, { - "r" : "471", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "463", - "s" : [ { - "r" : "459", - "value" : [ "DateTime","(","2014",")" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "469", - "s" : [ { - "r" : "465", - "value" : [ "DateTime","(","2016",")" ] - } ] - }, { - "value" : [ "]" ] - } ] - } ] - } - } ], + "type" : "IntervalTypeSpecifier", + "localId" : "2012", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "2013", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + } ] + } + } ] + } + } +} + +/* AfterOrOn +library TestSnippet version '1' +using Simple version '1.0.0' +context Patient +define DateIvl: Interval[DateTime(2012, 3, 1, 0, 0, 0, 0), DateTime(2012, 9, 1, 0, 0, 0, 0)] +define MeetsAfterDateIvl: Interval[DateTime(2012, 9, 1, 0, 0, 0, 0), DateTime(2012, 12, 1, 0, 0, 0, 0)) after or on DateIvl +define MeetsBeforeDateIvl: Interval[DateTime(2012, 1, 1, 0, 0, 0, 0), DateTime(2012, 3, 1, 0, 0, 0, 0)) after or on DateIvl +define AfterDateIvl: Interval[DateTime(2012, 10, 11, 0, 0, 0, 0), DateTime(2012, 10, 29, 0, 0, 0, 0)) after or on DateIvl +define BeforeDateIvl: Interval[DateTime(2012, 1, 1, 0, 0, 0, 0), DateTime(2012, 2, 29, 0, 0, 0, 0)) after or on DateIvl +define MayMeetAfterImpreciseDateIvl: DateIvl after or on Interval[DateTime(2012, 1), DateTime(2012, 3)] +define MayMeetBeforeImpreciseDateIvl: DateIvl after or on Interval[DateTime(2012, 9), DateTime(2012, 12)] +define NotMeetsImpreciseDateIvl: DateIvl after or on Interval[DateTime(2012, 1), DateTime(2012, 12)] +define PrecisionDateIvl: Interval[DateTime(2012, 3, 2, 12, 34, 56, 789), DateTime(2012, 9, 2, 1, 23, 45, 678)) +define MeetsAfterDayOfIvl: PrecisionDateIvl after or on day of Interval[DateTime(2012, 1, 2, 0, 0, 0, 0), DateTime(2012, 3, 2, 0, 0, 0, 0)] +define MeetsBeforeDayOfIvl: PrecisionDateIvl after or on day of Interval[DateTime(2012, 9, 3, 0, 0, 0, 0), DateTime(2012, 12, 1, 0, 0, 0, 0)] +define NotMeetsDayOfIvl: PrecisionDateIvl after or on day of Interval[DateTime(2012, 1, 2, 0, 0, 0, 0), DateTime(2012, 3, 2, 0, 0, 0, 0)] +define NotMeetsDayOfImpreciseIVL: PrecisionDateIvl after or on day of Interval[DateTime(2012, 1), DateTime(2012, 2)] +define MayMeetAfterDayOfImpreciseIvl: PrecisionDateIvl after or on day of Interval[DateTime(2012, 1), DateTime(2012, 3)] +define MayMeetBeforeDayOfImpreciseIvl: PrecisionDateIvl after or on day of Interval[DateTime(2012, 9), DateTime(2012, 12)] +define ImpDateIvl: Interval[DateTime(2012, 3), DateTime(2012, 8)] +define ImpreciseMayMeetAfterDateIvl: ImpDateIvl after or on Interval[DateTime(2012, 1, 1, 0, 0, 0, 0), DateTime(2012, 2, 29, 23, 59, 59, 999)] +define ImpreciseMayMeetBeforeDateIvl: ImpDateIvl after or on Interval[DateTime(2012, 9, 1, 0, 0, 0, 0), DateTime(2012, 12, 31, 23, 59, 59, 999)] +define ImpreciseNotMeetsDateIvl: ImpDateIvl after or on Interval[DateTime(2012, 1, 1, 0, 0, 0, 0), DateTime(2012, 12, 31, 23, 59, 59, 999)) +define NullEndIvl: Interval[DateTime(2012, 3, 1, 0, 0, 0, 0), null) +define BeforeNullEndIvl: Interval[DateTime(2012, 1, 1, 0, 0, 0, 0), DateTime(2012, 2, 20, 0, 0, 0, 0)] after or on NullEndIvl +define AfterStartNullEndIvl: Interval[DateTime(2012, 3, 10, 0, 0, 0, 0), DateTime(2012, 3, 20, 0, 0, 0, 0)] after or on NullEndIvl +define NullEndStartBeforeIvl: NullEndIvl after or on Interval[DateTime(2012, 4, 1, 0, 0, 0, 0), DateTime(2012, 4, 20, 0, 0, 0, 0)] +define NullEndStartAfterIvl: NullEndIvl after or on Interval[DateTime(2012, 1, 1, 0, 0, 0, 0), DateTime(2012, 1, 20, 0, 0, 0, 0)] +define NullStartIvl: Interval(null, DateTime(2012, 3, 1, 0, 0, 0, 0)] +define EndsBeforeNullStartIvlEnds: Interval[DateTime(2012, 1, 1, 0, 0, 0, 0), DateTime(2012, 2, 20, 0, 0, 0, 0)] after or on NullStartIvl +define AfterEndOfNullStartIvl: Interval[DateTime(2012, 3, 10, 0, 0, 0, 0), DateTime(2012, 3, 20, 0, 0, 0, 0)] after or on NullStartIvl +define NullStartStartBeforeIvl: NullStartIvl after or on Interval[DateTime(2012, 4, 1, 0, 0, 0, 0), DateTime(2012, 4, 20, 0, 0, 0, 0)] +define NullStartStartAfterIvl: NullStartIvl after or on Interval[DateTime(2012, 1, 1, 0, 0, 0, 0), DateTime(2012, 1, 20, 0, 0, 0, 0)] +define DateIvlBeforeNull: DateIvl after or on null +define NullBeforeDateIvl: null after or on DateIvl +define DateTimeBeforeDateIvl: DateTime(2012, 2, 20, 0, 0, 0, 0) after or on DateIvl +define DateBeforeDateIvl: Date(2012, 2, 20) after or on DateIvl +define DateIvlBeforeDateTime: DateIvl after or on DateTime(2012, 9, 20, 0, 0, 0, 0) +define DateIvlBeforeDate: DateIvl after or on DateTime(2012, 9, 20) +define DateOnlyIvl: Interval[Date(2012, 1, 1), Date(2012, 2, 20)] +define DateOnlyIvlBeforeDateIvl: DateOnlyIvl after or on DateIvl +define DateIvlAfterDateOnlyIvl: DateIvl after or on DateOnlyIvl +define DateOnlyMeetsAfterDateIvl: Interval[Date(2012, 9, 1), Date(2012, 10, 1)] after or on DateIvl +*/ + +module.exports['AfterOrOn'] = { + "library" : { + "localId" : "0", + "annotation" : [ { + "type" : "CqlToElmInfo", + "translatorVersion" : "4.2.0", + "translatorOptions" : "EnableDateRangeOptimization,EnableAnnotations,EnableResultTypes", + "signatureLevel" : "All" + }, { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "1983", + "s" : [ { + "value" : [ "", "library TestSnippet version '1'" ] + } ] + } + } ], + "identifier" : { + "id" : "TestSnippet", + "version" : "1" + }, + "schemaIdentifier" : { + "id" : "urn:hl7-org:elm", + "version" : "r1" + }, + "usings" : { + "def" : [ { + "localId" : "1", + "localIdentifier" : "System", + "uri" : "urn:hl7-org:elm-types:r1", + "annotation" : [ ] + }, { + "localId" : "206", + "localIdentifier" : "Simple", + "uri" : "https://github.com/cqframework/cql-execution/simple", + "version" : "1.0.0", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "206", + "s" : [ { + "value" : [ "", "using " ] + }, { + "s" : [ { + "value" : [ "Simple" ] + } ] + }, { + "value" : [ " version '1.0.0'" ] + } ] + } + } ] + } ] + }, + "contexts" : { + "def" : [ { + "localId" : "211", + "name" : "Patient", + "annotation" : [ ] + } ] + }, + "statements" : { + "def" : [ { + "localId" : "209", + "name" : "Patient", + "context" : "Patient", + "annotation" : [ ], + "expression" : { + "type" : "SingletonFrom", + "localId" : "210", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Retrieve", + "localId" : "208", + "dataType" : "{https://github.com/cqframework/cql-execution/simple}Patient", + "annotation" : [ ], + "include" : [ ], + "codeFilter" : [ ], + "dateFilter" : [ ], + "otherFilter" : [ ] + } + } + }, { + "localId" : "214", + "name" : "DateIvl", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "214", + "s" : [ { + "value" : [ "", "define ", "DateIvl", ": " ] + }, { + "r" : "263", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "231", + "s" : [ { + "r" : "215", + "value" : [ "DateTime", "(", "2012", ", ", "3", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "255", + "s" : [ { + "r" : "239", + "value" : [ "DateTime", "(", "2012", ", ", "9", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ "]" ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "266", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "267", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "expression" : { + "type" : "Interval", + "localId" : "263", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "264", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "265", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "DateTime", + "localId" : "231", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "232", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "233", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "234", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "235", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "236", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "237", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "238", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "215", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "216", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "217", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "218", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "219", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "220", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "221", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "255", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "256", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "257", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "258", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "259", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "260", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "261", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "262", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "239", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "240", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "9", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "241", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "242", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "243", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "244", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "245", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + } + } + }, { + "localId" : "270", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "MeetsAfterDateIvl", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "270", + "s" : [ { + "value" : [ "", "define ", "MeetsAfterDateIvl", ": " ] + }, { + "r" : "325", + "s" : [ { + "r" : "319", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "287", + "s" : [ { + "r" : "271", + "value" : [ "DateTime", "(", "2012", ", ", "9", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "311", + "s" : [ { + "r" : "295", + "value" : [ "DateTime", "(", "2012", ", ", "12", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ ")" ] + } ] + }, { + "r" : "325", + "value" : [ " ", "after or on", " " ] + }, { + "r" : "322", + "s" : [ { + "value" : [ "DateIvl" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "SameOrAfter", + "localId" : "325", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "326", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "327", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "328", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "329", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "Interval", + "localId" : "319", + "lowClosed" : true, + "highClosed" : false, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "320", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "321", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "DateTime", + "localId" : "287", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "288", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "289", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "290", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "291", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "292", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "293", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "294", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "271", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "272", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "9", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "273", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "274", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "275", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "276", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "277", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "311", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "312", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "313", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "314", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "315", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "316", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "317", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "318", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "295", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "296", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "12", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "297", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "298", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "299", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "300", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "301", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + } + }, { + "type" : "ExpressionRef", + "localId" : "322", + "name" : "DateIvl", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "323", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "324", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + } ] + } + }, { + "localId" : "332", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "MeetsBeforeDateIvl", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "332", + "s" : [ { + "value" : [ "", "define ", "MeetsBeforeDateIvl", ": " ] + }, { + "r" : "387", + "s" : [ { + "r" : "381", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "349", + "s" : [ { + "r" : "333", + "value" : [ "DateTime", "(", "2012", ", ", "1", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "373", + "s" : [ { + "r" : "357", + "value" : [ "DateTime", "(", "2012", ", ", "3", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ ")" ] + } ] + }, { + "r" : "387", + "value" : [ " ", "after or on", " " ] + }, { + "r" : "384", + "s" : [ { + "value" : [ "DateIvl" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "SameOrAfter", + "localId" : "387", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "388", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "389", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "390", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "391", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "Interval", + "localId" : "381", + "lowClosed" : true, + "highClosed" : false, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "382", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "383", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "DateTime", + "localId" : "349", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "350", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "351", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "352", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "353", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "354", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "355", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "356", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "333", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "334", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "335", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "336", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "337", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "338", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "339", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "373", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "374", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "375", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "376", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "377", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "378", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "379", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "380", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "357", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "358", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "359", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "360", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "361", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "362", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "363", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + } + }, { + "type" : "ExpressionRef", + "localId" : "384", + "name" : "DateIvl", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "385", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "386", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + } ] + } + }, { + "localId" : "394", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "AfterDateIvl", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "394", + "s" : [ { + "value" : [ "", "define ", "AfterDateIvl", ": " ] + }, { + "r" : "449", + "s" : [ { + "r" : "443", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "411", + "s" : [ { + "r" : "395", + "value" : [ "DateTime", "(", "2012", ", ", "10", ", ", "11", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "435", + "s" : [ { + "r" : "419", + "value" : [ "DateTime", "(", "2012", ", ", "10", ", ", "29", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ ")" ] + } ] + }, { + "r" : "449", + "value" : [ " ", "after or on", " " ] + }, { + "r" : "446", + "s" : [ { + "value" : [ "DateIvl" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "SameOrAfter", + "localId" : "449", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "450", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "451", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "452", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "453", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "Interval", + "localId" : "443", + "lowClosed" : true, + "highClosed" : false, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "444", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "445", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "DateTime", + "localId" : "411", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "412", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "413", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "414", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "415", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "416", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "417", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "418", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "395", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "396", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "10", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "397", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "11", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "398", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "399", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "400", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "401", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "435", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "436", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "437", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "438", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "439", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "440", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "441", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "442", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "419", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "420", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "10", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "421", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "29", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "422", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "423", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "424", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "425", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + } + }, { + "type" : "ExpressionRef", + "localId" : "446", + "name" : "DateIvl", + "annotation" : [ ], "resultTypeSpecifier" : { - "localId" : "474", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "475", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "expression" : { - "localId" : "471", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "472", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "473", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "463", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "464", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "459", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2014", - "type" : "Literal" - } - }, - "high" : { - "localId" : "469", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "470", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "465", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2016", - "type" : "Literal" - } - } - } - }, { - "localId" : "478", - "name" : "ivlG", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "478", + "type" : "IntervalTypeSpecifier", + "localId" : "447", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "448", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + } ] + } + }, { + "localId" : "456", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "BeforeDateIvl", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "456", + "s" : [ { + "value" : [ "", "define ", "BeforeDateIvl", ": " ] + }, { + "r" : "511", + "s" : [ { + "r" : "505", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "473", + "s" : [ { + "r" : "457", + "value" : [ "DateTime", "(", "2012", ", ", "1", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "497", + "s" : [ { + "r" : "481", + "value" : [ "DateTime", "(", "2012", ", ", "2", ", ", "29", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ ")" ] + } ] + }, { + "r" : "511", + "value" : [ " ", "after or on", " " ] + }, { + "r" : "508", + "s" : [ { + "value" : [ "DateIvl" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "SameOrAfter", + "localId" : "511", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "512", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "513", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "514", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "515", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "Interval", + "localId" : "505", + "lowClosed" : true, + "highClosed" : false, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "506", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "507", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "DateTime", + "localId" : "473", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "474", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "475", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "476", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "477", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "478", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "479", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "480", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "457", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "458", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "459", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "460", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "461", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "462", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "463", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "497", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "498", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "499", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "500", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "501", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "502", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "503", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "504", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "481", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "482", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "483", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "29", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "484", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "485", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "486", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "487", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + } + }, { + "type" : "ExpressionRef", + "localId" : "508", + "name" : "DateIvl", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "509", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "510", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + } ] + } + }, { + "localId" : "518", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "MayMeetAfterImpreciseDateIvl", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "518", + "s" : [ { + "value" : [ "", "define ", "MayMeetAfterImpreciseDateIvl", ": " ] + }, { + "r" : "543", + "s" : [ { + "r" : "519", + "s" : [ { + "value" : [ "DateIvl" ] + } ] + }, { + "r" : "543", + "value" : [ " ", "after or on", " " ] + }, { + "r" : "540", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "528", "s" : [ { - "value" : [ "","define ","ivlG",": " ] - }, { - "r" : "491", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "483", - "s" : [ { - "r" : "479", - "value" : [ "DateTime","(","2016",")" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "489", - "s" : [ { - "r" : "485", - "value" : [ "DateTime","(","2017",")" ] - } ] - }, { - "value" : [ "]" ] - } ] - } ] - } - } ], + "r" : "522", + "value" : [ "DateTime", "(", "2012", ", ", "1", ")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "537", + "s" : [ { + "r" : "531", + "value" : [ "DateTime", "(", "2012", ", ", "3", ")" ] + } ] + }, { + "value" : [ "]" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "SameOrAfter", + "localId" : "543", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "544", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "545", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "546", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "547", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "ExpressionRef", + "localId" : "519", + "name" : "DateIvl", + "annotation" : [ ], "resultTypeSpecifier" : { - "localId" : "494", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "495", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "expression" : { - "localId" : "491", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "492", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "493", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "483", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "484", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "479", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2016", - "type" : "Literal" - } - }, - "high" : { - "localId" : "489", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "490", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "485", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2017", - "type" : "Literal" - } - } - } - }, { - "localId" : "498", - "name" : "ivlH", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "498", + "type" : "IntervalTypeSpecifier", + "localId" : "520", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "521", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + }, { + "type" : "Interval", + "localId" : "540", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "541", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "542", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "DateTime", + "localId" : "528", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "529", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "530", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "522", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "523", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "537", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "538", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "539", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "531", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "532", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + } + } + } ] + } + }, { + "localId" : "550", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "MayMeetBeforeImpreciseDateIvl", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "550", + "s" : [ { + "value" : [ "", "define ", "MayMeetBeforeImpreciseDateIvl", ": " ] + }, { + "r" : "575", + "s" : [ { + "r" : "551", + "s" : [ { + "value" : [ "DateIvl" ] + } ] + }, { + "r" : "575", + "value" : [ " ", "after or on", " " ] + }, { + "r" : "572", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "560", + "s" : [ { + "r" : "554", + "value" : [ "DateTime", "(", "2012", ", ", "9", ")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "569", "s" : [ { - "value" : [ "","define ","ivlH",": " ] - }, { - "r" : "517", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "505", - "s" : [ { - "r" : "499", - "value" : [ "DateTime","(","2011",", ","3",")" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "514", - "s" : [ { - "r" : "508", - "value" : [ "DateTime","(","2013",", ","3",")" ] - } ] - }, { - "value" : [ "]" ] - } ] - } ] - } - } ], + "r" : "563", + "value" : [ "DateTime", "(", "2012", ", ", "12", ")" ] + } ] + }, { + "value" : [ "]" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "SameOrAfter", + "localId" : "575", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "576", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "577", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "578", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "579", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "ExpressionRef", + "localId" : "551", + "name" : "DateIvl", + "annotation" : [ ], "resultTypeSpecifier" : { - "localId" : "520", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "521", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "expression" : { - "localId" : "517", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "518", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "519", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "505", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "506", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "507", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "499", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2011", - "type" : "Literal" - }, - "month" : { - "localId" : "500", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - } - }, - "high" : { - "localId" : "514", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "515", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "516", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "508", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2013", - "type" : "Literal" - }, - "month" : { - "localId" : "509", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - } - } - } - }, { - "localId" : "524", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "OverlapsBefore", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "524", + "type" : "IntervalTypeSpecifier", + "localId" : "552", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "553", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + }, { + "type" : "Interval", + "localId" : "572", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "573", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "574", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "DateTime", + "localId" : "560", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "561", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "562", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "554", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "555", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "9", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "569", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "570", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "571", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "563", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "564", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "12", + "annotation" : [ ] + } + } + } ] + } + }, { + "localId" : "582", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "NotMeetsImpreciseDateIvl", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "582", + "s" : [ { + "value" : [ "", "define ", "NotMeetsImpreciseDateIvl", ": " ] + }, { + "r" : "607", + "s" : [ { + "r" : "583", + "s" : [ { + "value" : [ "DateIvl" ] + } ] + }, { + "r" : "607", + "value" : [ " ", "after or on", " " ] + }, { + "r" : "604", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "592", + "s" : [ { + "r" : "586", + "value" : [ "DateTime", "(", "2012", ", ", "1", ")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "601", "s" : [ { - "value" : [ "","define ","OverlapsBefore",": " ] - }, { - "r" : "531", - "s" : [ { - "r" : "525", - "s" : [ { - "value" : [ "ivlA" ] - } ] - }, { - "r" : "531", - "value" : [ " ","overlaps before"," " ] - }, { - "r" : "528", - "s" : [ { - "value" : [ "ivlB" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "531", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "OverlapsBefore", - "signature" : [ { - "localId" : "532", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "533", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "534", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "535", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "525", - "name" : "ivlA", - "type" : "ExpressionRef", - "resultTypeSpecifier" : { - "localId" : "526", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "527", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - }, { - "localId" : "528", - "name" : "ivlB", - "type" : "ExpressionRef", - "resultTypeSpecifier" : { - "localId" : "529", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "530", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - } ] - } - }, { - "localId" : "538", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "OverlapsAfter", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "538", + "r" : "595", + "value" : [ "DateTime", "(", "2012", ", ", "12", ")" ] + } ] + }, { + "value" : [ "]" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "SameOrAfter", + "localId" : "607", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "608", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "609", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "610", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "611", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "ExpressionRef", + "localId" : "583", + "name" : "DateIvl", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "584", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "585", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + }, { + "type" : "Interval", + "localId" : "604", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "605", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "606", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "DateTime", + "localId" : "592", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "593", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "594", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "586", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "587", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "601", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "602", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "603", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "595", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "596", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "12", + "annotation" : [ ] + } + } + } ] + } + }, { + "localId" : "614", + "name" : "PrecisionDateIvl", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "614", + "s" : [ { + "value" : [ "", "define ", "PrecisionDateIvl", ": " ] + }, { + "r" : "663", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "631", + "s" : [ { + "r" : "615", + "value" : [ "DateTime", "(", "2012", ", ", "3", ", ", "2", ", ", "12", ", ", "34", ", ", "56", ", ", "789", ")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "655", + "s" : [ { + "r" : "639", + "value" : [ "DateTime", "(", "2012", ", ", "9", ", ", "2", ", ", "1", ", ", "23", ", ", "45", ", ", "678", ")" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "666", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "667", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "expression" : { + "type" : "Interval", + "localId" : "663", + "lowClosed" : true, + "highClosed" : false, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "664", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "665", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "DateTime", + "localId" : "631", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "632", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "633", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "634", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "635", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "636", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "637", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "638", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "615", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "616", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "617", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "618", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "12", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "619", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "34", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "620", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "56", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "621", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "789", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "655", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "656", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "657", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "658", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "659", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "660", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "661", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "662", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "639", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "640", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "9", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "641", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "642", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "643", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "23", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "644", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "45", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "645", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "678", + "annotation" : [ ] + } + } + } + }, { + "localId" : "670", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "MeetsAfterDayOfIvl", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "670", + "s" : [ { + "value" : [ "", "define ", "MeetsAfterDayOfIvl", ": " ] + }, { + "r" : "725", + "s" : [ { + "r" : "671", + "s" : [ { + "value" : [ "PrecisionDateIvl" ] + } ] + }, { + "r" : "725", + "value" : [ " ", "after or on day of", " " ] + }, { + "r" : "722", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "690", + "s" : [ { + "r" : "674", + "value" : [ "DateTime", "(", "2012", ", ", "1", ", ", "2", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "714", + "s" : [ { + "r" : "698", + "value" : [ "DateTime", "(", "2012", ", ", "3", ", ", "2", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ "]" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "SameOrAfter", + "localId" : "725", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "precision" : "Day", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "726", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "727", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "728", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "729", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "ExpressionRef", + "localId" : "671", + "name" : "PrecisionDateIvl", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "672", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "673", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + }, { + "type" : "Interval", + "localId" : "722", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "723", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "724", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "DateTime", + "localId" : "690", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "691", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "692", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "693", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "694", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "695", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "696", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "697", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "674", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "675", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "676", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "677", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "678", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "679", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "680", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "714", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "715", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "716", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "717", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "718", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "719", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "720", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "721", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "698", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "699", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "700", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "701", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "702", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "703", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "704", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + } + } ] + } + }, { + "localId" : "732", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "MeetsBeforeDayOfIvl", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "732", + "s" : [ { + "value" : [ "", "define ", "MeetsBeforeDayOfIvl", ": " ] + }, { + "r" : "787", + "s" : [ { + "r" : "733", + "s" : [ { + "value" : [ "PrecisionDateIvl" ] + } ] + }, { + "r" : "787", + "value" : [ " ", "after or on day of", " " ] + }, { + "r" : "784", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "752", + "s" : [ { + "r" : "736", + "value" : [ "DateTime", "(", "2012", ", ", "9", ", ", "3", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "776", "s" : [ { - "value" : [ "","define ","OverlapsAfter",": " ] - }, { - "r" : "545", - "s" : [ { - "r" : "539", - "s" : [ { - "value" : [ "ivlB" ] - } ] - }, { - "r" : "545", - "value" : [ " ","overlaps before"," " ] - }, { - "r" : "542", - "s" : [ { - "value" : [ "ivlA" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "545", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "OverlapsBefore", - "signature" : [ { - "localId" : "546", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "547", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "548", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "549", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "539", - "name" : "ivlB", - "type" : "ExpressionRef", - "resultTypeSpecifier" : { - "localId" : "540", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "541", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - }, { - "localId" : "542", - "name" : "ivlA", - "type" : "ExpressionRef", - "resultTypeSpecifier" : { - "localId" : "543", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "544", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - } ] - } - }, { - "localId" : "552", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "OverlapsContained", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "552", + "r" : "760", + "value" : [ "DateTime", "(", "2012", ", ", "12", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ "]" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "SameOrAfter", + "localId" : "787", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "precision" : "Day", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "788", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "789", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "790", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "791", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "ExpressionRef", + "localId" : "733", + "name" : "PrecisionDateIvl", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "734", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "735", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + }, { + "type" : "Interval", + "localId" : "784", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "785", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "786", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "DateTime", + "localId" : "752", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "753", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "754", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "755", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "756", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "757", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "758", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "759", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "736", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "737", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "9", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "738", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "739", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "740", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "741", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "742", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "776", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "777", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "778", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "779", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "780", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "781", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "782", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "783", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "760", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "761", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "12", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "762", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "763", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "764", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "765", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "766", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + } + } ] + } + }, { + "localId" : "794", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "NotMeetsDayOfIvl", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "794", + "s" : [ { + "value" : [ "", "define ", "NotMeetsDayOfIvl", ": " ] + }, { + "r" : "849", + "s" : [ { + "r" : "795", + "s" : [ { + "value" : [ "PrecisionDateIvl" ] + } ] + }, { + "r" : "849", + "value" : [ " ", "after or on day of", " " ] + }, { + "r" : "846", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "814", "s" : [ { - "value" : [ "","define ","OverlapsContained",": " ] - }, { - "r" : "559", - "s" : [ { - "r" : "553", - "s" : [ { - "value" : [ "ivlB" ] - } ] - }, { - "r" : "559", - "value" : [ " ","overlaps before"," " ] - }, { - "r" : "556", - "s" : [ { - "value" : [ "ivlC" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "559", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "OverlapsBefore", - "signature" : [ { - "localId" : "560", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "561", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "562", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "563", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "553", - "name" : "ivlB", - "type" : "ExpressionRef", - "resultTypeSpecifier" : { - "localId" : "554", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "555", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - }, { - "localId" : "556", - "name" : "ivlC", - "type" : "ExpressionRef", - "resultTypeSpecifier" : { - "localId" : "557", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "558", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - } ] - } - }, { - "localId" : "566", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "OverlapsContains", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "566", + "r" : "798", + "value" : [ "DateTime", "(", "2012", ", ", "1", ", ", "2", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "838", "s" : [ { - "value" : [ "","define ","OverlapsContains",": " ] - }, { - "r" : "573", - "s" : [ { - "r" : "567", - "s" : [ { - "value" : [ "ivlC" ] - } ] - }, { - "r" : "573", - "value" : [ " ","overlaps before"," " ] - }, { - "r" : "570", - "s" : [ { - "value" : [ "ivlB" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "573", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "OverlapsBefore", - "signature" : [ { - "localId" : "574", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "575", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "576", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "577", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "567", - "name" : "ivlC", - "type" : "ExpressionRef", - "resultTypeSpecifier" : { - "localId" : "568", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "569", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - }, { - "localId" : "570", - "name" : "ivlB", - "type" : "ExpressionRef", - "resultTypeSpecifier" : { - "localId" : "571", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "572", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - } ] - } - }, { - "localId" : "580", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "ImpreciseOverlapBefore", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "580", + "r" : "822", + "value" : [ "DateTime", "(", "2012", ", ", "3", ", ", "2", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ "]" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "SameOrAfter", + "localId" : "849", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "precision" : "Day", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "850", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "851", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "852", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "853", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "ExpressionRef", + "localId" : "795", + "name" : "PrecisionDateIvl", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "796", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "797", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + }, { + "type" : "Interval", + "localId" : "846", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "847", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "848", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "DateTime", + "localId" : "814", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "815", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "816", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "817", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "818", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "819", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "820", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "821", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "798", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "799", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "800", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "801", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "802", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "803", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "804", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "838", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "839", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "840", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "841", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "842", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "843", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "844", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "845", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "822", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "823", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "824", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "825", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "826", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "827", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "828", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + } + } ] + } + }, { + "localId" : "856", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "NotMeetsDayOfImpreciseIVL", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "856", + "s" : [ { + "value" : [ "", "define ", "NotMeetsDayOfImpreciseIVL", ": " ] + }, { + "r" : "881", + "s" : [ { + "r" : "857", + "s" : [ { + "value" : [ "PrecisionDateIvl" ] + } ] + }, { + "r" : "881", + "value" : [ " ", "after or on day of", " " ] + }, { + "r" : "878", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "866", + "s" : [ { + "r" : "860", + "value" : [ "DateTime", "(", "2012", ", ", "1", ")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "875", + "s" : [ { + "r" : "869", + "value" : [ "DateTime", "(", "2012", ", ", "2", ")" ] + } ] + }, { + "value" : [ "]" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "SameOrAfter", + "localId" : "881", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "precision" : "Day", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "882", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "883", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "884", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "885", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "ExpressionRef", + "localId" : "857", + "name" : "PrecisionDateIvl", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "858", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "859", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + }, { + "type" : "Interval", + "localId" : "878", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "879", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "880", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "DateTime", + "localId" : "866", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "867", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "868", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "860", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "861", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "875", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "876", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "877", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "869", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "870", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "annotation" : [ ] + } + } + } ] + } + }, { + "localId" : "888", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "MayMeetAfterDayOfImpreciseIvl", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "888", + "s" : [ { + "value" : [ "", "define ", "MayMeetAfterDayOfImpreciseIvl", ": " ] + }, { + "r" : "913", + "s" : [ { + "r" : "889", + "s" : [ { + "value" : [ "PrecisionDateIvl" ] + } ] + }, { + "r" : "913", + "value" : [ " ", "after or on day of", " " ] + }, { + "r" : "910", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "898", + "s" : [ { + "r" : "892", + "value" : [ "DateTime", "(", "2012", ", ", "1", ")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "907", + "s" : [ { + "r" : "901", + "value" : [ "DateTime", "(", "2012", ", ", "3", ")" ] + } ] + }, { + "value" : [ "]" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "SameOrAfter", + "localId" : "913", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "precision" : "Day", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "914", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "915", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "916", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "917", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "ExpressionRef", + "localId" : "889", + "name" : "PrecisionDateIvl", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "890", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "891", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + }, { + "type" : "Interval", + "localId" : "910", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "911", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "912", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "DateTime", + "localId" : "898", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "899", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "900", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "892", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "893", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "907", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "908", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "909", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "901", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "902", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + } + } + } ] + } + }, { + "localId" : "920", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "MayMeetBeforeDayOfImpreciseIvl", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "920", + "s" : [ { + "value" : [ "", "define ", "MayMeetBeforeDayOfImpreciseIvl", ": " ] + }, { + "r" : "945", + "s" : [ { + "r" : "921", + "s" : [ { + "value" : [ "PrecisionDateIvl" ] + } ] + }, { + "r" : "945", + "value" : [ " ", "after or on day of", " " ] + }, { + "r" : "942", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "930", + "s" : [ { + "r" : "924", + "value" : [ "DateTime", "(", "2012", ", ", "9", ")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "939", + "s" : [ { + "r" : "933", + "value" : [ "DateTime", "(", "2012", ", ", "12", ")" ] + } ] + }, { + "value" : [ "]" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "SameOrAfter", + "localId" : "945", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "precision" : "Day", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "946", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "947", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "948", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "949", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "ExpressionRef", + "localId" : "921", + "name" : "PrecisionDateIvl", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "922", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "923", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + }, { + "type" : "Interval", + "localId" : "942", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "943", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "944", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "DateTime", + "localId" : "930", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "931", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "932", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "924", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "925", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "9", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "939", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "940", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "941", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "933", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "934", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "12", + "annotation" : [ ] + } + } + } ] + } + }, { + "localId" : "952", + "name" : "ImpDateIvl", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "952", + "s" : [ { + "value" : [ "", "define ", "ImpDateIvl", ": " ] + }, { + "r" : "971", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "959", + "s" : [ { + "r" : "953", + "value" : [ "DateTime", "(", "2012", ", ", "3", ")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "968", + "s" : [ { + "r" : "962", + "value" : [ "DateTime", "(", "2012", ", ", "8", ")" ] + } ] + }, { + "value" : [ "]" ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "974", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "975", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "expression" : { + "type" : "Interval", + "localId" : "971", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "972", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "973", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "DateTime", + "localId" : "959", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "960", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "961", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "953", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "954", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "968", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "969", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "970", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "962", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "963", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "8", + "annotation" : [ ] + } + } + } + }, { + "localId" : "978", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "ImpreciseMayMeetAfterDateIvl", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "978", + "s" : [ { + "value" : [ "", "define ", "ImpreciseMayMeetAfterDateIvl", ": " ] + }, { + "r" : "1033", + "s" : [ { + "r" : "979", + "s" : [ { + "value" : [ "ImpDateIvl" ] + } ] + }, { + "r" : "1033", + "value" : [ " ", "after or on", " " ] + }, { + "r" : "1030", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "998", "s" : [ { - "value" : [ "","define ","ImpreciseOverlapBefore",": " ] - }, { - "r" : "587", - "s" : [ { - "r" : "581", - "s" : [ { - "value" : [ "ivlE" ] - } ] - }, { - "r" : "587", - "value" : [ " ","overlaps before"," " ] - }, { - "r" : "584", - "s" : [ { - "value" : [ "ivlF" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "587", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "OverlapsBefore", - "signature" : [ { - "localId" : "588", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "589", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "590", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "591", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "581", - "name" : "ivlE", - "type" : "ExpressionRef", - "resultTypeSpecifier" : { - "localId" : "582", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "583", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - }, { - "localId" : "584", - "name" : "ivlF", - "type" : "ExpressionRef", - "resultTypeSpecifier" : { - "localId" : "585", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "586", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - } ] - } - }, { - "localId" : "594", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "ImpreciseOverlapAfter", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "594", + "r" : "982", + "value" : [ "DateTime", "(", "2012", ", ", "1", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "1022", "s" : [ { - "value" : [ "","define ","ImpreciseOverlapAfter",": " ] - }, { - "r" : "601", - "s" : [ { - "r" : "595", - "s" : [ { - "value" : [ "ivlF" ] - } ] - }, { - "r" : "601", - "value" : [ " ","overlaps before"," " ] - }, { - "r" : "598", - "s" : [ { - "value" : [ "ivlE" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "601", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "OverlapsBefore", - "signature" : [ { - "localId" : "602", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "603", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "604", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "605", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "595", - "name" : "ivlF", - "type" : "ExpressionRef", - "resultTypeSpecifier" : { - "localId" : "596", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "597", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - }, { - "localId" : "598", - "name" : "ivlE", - "type" : "ExpressionRef", - "resultTypeSpecifier" : { - "localId" : "599", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "600", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - } ] - } - }, { - "localId" : "608", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "NoOverlap", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "608", + "r" : "1006", + "value" : [ "DateTime", "(", "2012", ", ", "2", ", ", "29", ", ", "23", ", ", "59", ", ", "59", ", ", "999", ")" ] + } ] + }, { + "value" : [ "]" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "SameOrAfter", + "localId" : "1033", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "1034", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1035", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "1036", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1037", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "ExpressionRef", + "localId" : "979", + "name" : "ImpDateIvl", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "980", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "981", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + }, { + "type" : "Interval", + "localId" : "1030", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1031", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1032", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "DateTime", + "localId" : "998", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "999", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1000", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1001", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1002", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1003", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1004", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1005", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "982", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "983", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "984", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "985", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "986", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "987", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "988", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "1022", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1023", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1024", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1025", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1026", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1027", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1028", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1029", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1006", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1007", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "1008", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "29", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "1009", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "23", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "1010", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "59", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "1011", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "59", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "1012", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "999", + "annotation" : [ ] + } + } + } ] + } + }, { + "localId" : "1040", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "ImpreciseMayMeetBeforeDateIvl", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "1040", + "s" : [ { + "value" : [ "", "define ", "ImpreciseMayMeetBeforeDateIvl", ": " ] + }, { + "r" : "1095", + "s" : [ { + "r" : "1041", + "s" : [ { + "value" : [ "ImpDateIvl" ] + } ] + }, { + "r" : "1095", + "value" : [ " ", "after or on", " " ] + }, { + "r" : "1092", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "1060", + "s" : [ { + "r" : "1044", + "value" : [ "DateTime", "(", "2012", ", ", "9", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "1084", "s" : [ { - "value" : [ "","define ","NoOverlap",": " ] - }, { - "r" : "615", - "s" : [ { - "r" : "609", - "s" : [ { - "value" : [ "ivlC" ] - } ] - }, { - "r" : "615", - "value" : [ " ","overlaps before"," " ] - }, { - "r" : "612", - "s" : [ { - "value" : [ "ivlD" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "615", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "OverlapsBefore", - "signature" : [ { - "localId" : "616", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "617", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "618", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "619", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "609", - "name" : "ivlC", - "type" : "ExpressionRef", - "resultTypeSpecifier" : { - "localId" : "610", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "611", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - }, { - "localId" : "612", - "name" : "ivlD", - "type" : "ExpressionRef", - "resultTypeSpecifier" : { - "localId" : "613", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "614", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - } ] - } - }, { - "localId" : "622", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "NoImpreciseOverlap", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "622", + "r" : "1068", + "value" : [ "DateTime", "(", "2012", ", ", "12", ", ", "31", ", ", "23", ", ", "59", ", ", "59", ", ", "999", ")" ] + } ] + }, { + "value" : [ "]" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "SameOrAfter", + "localId" : "1095", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "1096", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1097", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "1098", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1099", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "ExpressionRef", + "localId" : "1041", + "name" : "ImpDateIvl", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1042", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1043", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + }, { + "type" : "Interval", + "localId" : "1092", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1093", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1094", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "DateTime", + "localId" : "1060", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1061", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1062", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1063", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1064", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1065", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1066", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1067", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1044", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1045", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "9", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "1046", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "1047", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "1048", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "1049", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "1050", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "1084", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1085", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1086", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1087", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1088", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1089", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1090", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1091", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1068", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1069", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "12", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "1070", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "31", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "1071", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "23", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "1072", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "59", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "1073", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "59", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "1074", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "999", + "annotation" : [ ] + } + } + } ] + } + }, { + "localId" : "1102", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "ImpreciseNotMeetsDateIvl", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "1102", + "s" : [ { + "value" : [ "", "define ", "ImpreciseNotMeetsDateIvl", ": " ] + }, { + "r" : "1157", + "s" : [ { + "r" : "1103", + "s" : [ { + "value" : [ "ImpDateIvl" ] + } ] + }, { + "r" : "1157", + "value" : [ " ", "after or on", " " ] + }, { + "r" : "1154", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "1122", + "s" : [ { + "r" : "1106", + "value" : [ "DateTime", "(", "2012", ", ", "1", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "1146", + "s" : [ { + "r" : "1130", + "value" : [ "DateTime", "(", "2012", ", ", "12", ", ", "31", ", ", "23", ", ", "59", ", ", "59", ", ", "999", ")" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "SameOrAfter", + "localId" : "1157", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "1158", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1159", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "1160", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1161", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "ExpressionRef", + "localId" : "1103", + "name" : "ImpDateIvl", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1104", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1105", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + }, { + "type" : "Interval", + "localId" : "1154", + "lowClosed" : true, + "highClosed" : false, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1155", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1156", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "DateTime", + "localId" : "1122", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1123", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1124", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1125", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1126", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1127", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1128", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1129", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1106", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1107", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "1108", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "1109", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "1110", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "1111", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "1112", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "1146", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1147", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1148", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1149", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1150", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1151", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1152", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1153", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1130", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1131", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "12", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "1132", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "31", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "1133", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "23", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "1134", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "59", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "1135", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "59", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "1136", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "999", + "annotation" : [ ] + } + } + } ] + } + }, { + "localId" : "1164", + "name" : "NullEndIvl", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "1164", + "s" : [ { + "value" : [ "", "define ", "NullEndIvl", ": " ] + }, { + "r" : "1190", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "1181", + "s" : [ { + "r" : "1165", + "value" : [ "DateTime", "(", "2012", ", ", "3", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "r" : "1189", + "value" : [ ", ", "null", ")" ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1194", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1195", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "expression" : { + "type" : "Interval", + "localId" : "1190", + "lowClosed" : true, + "highClosed" : false, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1192", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1193", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "DateTime", + "localId" : "1181", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1182", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1183", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1184", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1185", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1186", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1187", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1188", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1165", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1166", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "1167", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "1168", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "1169", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "1170", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "1171", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + }, + "high" : { + "type" : "As", + "localId" : "1191", + "asType" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Null", + "localId" : "1189", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } + } + } + }, { + "localId" : "1198", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "BeforeNullEndIvl", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "1198", + "s" : [ { + "value" : [ "", "define ", "BeforeNullEndIvl", ": " ] + }, { + "r" : "1253", + "s" : [ { + "r" : "1247", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "1215", + "s" : [ { + "r" : "1199", + "value" : [ "DateTime", "(", "2012", ", ", "1", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "1239", + "s" : [ { + "r" : "1223", + "value" : [ "DateTime", "(", "2012", ", ", "2", ", ", "20", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ "]" ] + } ] + }, { + "r" : "1253", + "value" : [ " ", "after or on", " " ] + }, { + "r" : "1250", + "s" : [ { + "value" : [ "NullEndIvl" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "SameOrAfter", + "localId" : "1253", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "1254", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1255", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "1256", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1257", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "Interval", + "localId" : "1247", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1248", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1249", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "DateTime", + "localId" : "1215", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1216", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1217", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1218", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1219", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1220", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1221", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1222", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1199", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1200", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "1201", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "1202", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "1203", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "1204", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "1205", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "1239", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1240", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1241", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1242", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1243", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1244", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1245", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1246", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1223", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1224", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "1225", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "20", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "1226", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "1227", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "1228", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "1229", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + } + }, { + "type" : "ExpressionRef", + "localId" : "1250", + "name" : "NullEndIvl", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1251", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1252", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + } ] + } + }, { + "localId" : "1260", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "AfterStartNullEndIvl", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "1260", + "s" : [ { + "value" : [ "", "define ", "AfterStartNullEndIvl", ": " ] + }, { + "r" : "1315", + "s" : [ { + "r" : "1309", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "1277", + "s" : [ { + "r" : "1261", + "value" : [ "DateTime", "(", "2012", ", ", "3", ", ", "10", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "1301", + "s" : [ { + "r" : "1285", + "value" : [ "DateTime", "(", "2012", ", ", "3", ", ", "20", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ "]" ] + } ] + }, { + "r" : "1315", + "value" : [ " ", "after or on", " " ] + }, { + "r" : "1312", + "s" : [ { + "value" : [ "NullEndIvl" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "SameOrAfter", + "localId" : "1315", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "1316", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1317", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "1318", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1319", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "Interval", + "localId" : "1309", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1310", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1311", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "DateTime", + "localId" : "1277", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1278", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1279", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1280", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1281", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1282", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1283", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1284", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1261", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1262", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "1263", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "10", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "1264", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "1265", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "1266", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "1267", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "1301", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1302", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1303", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1304", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1305", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1306", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1307", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1308", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1285", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1286", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "1287", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "20", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "1288", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "1289", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "1290", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "1291", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + } + }, { + "type" : "ExpressionRef", + "localId" : "1312", + "name" : "NullEndIvl", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1313", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1314", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + } ] + } + }, { + "localId" : "1322", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "NullEndStartBeforeIvl", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "1322", + "s" : [ { + "value" : [ "", "define ", "NullEndStartBeforeIvl", ": " ] + }, { + "r" : "1377", + "s" : [ { + "r" : "1323", + "s" : [ { + "value" : [ "NullEndIvl" ] + } ] + }, { + "r" : "1377", + "value" : [ " ", "after or on", " " ] + }, { + "r" : "1374", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "1342", + "s" : [ { + "r" : "1326", + "value" : [ "DateTime", "(", "2012", ", ", "4", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "1366", + "s" : [ { + "r" : "1350", + "value" : [ "DateTime", "(", "2012", ", ", "4", ", ", "20", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ "]" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "SameOrAfter", + "localId" : "1377", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "1378", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1379", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "1380", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1381", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "ExpressionRef", + "localId" : "1323", + "name" : "NullEndIvl", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1324", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1325", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + }, { + "type" : "Interval", + "localId" : "1374", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1375", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1376", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "DateTime", + "localId" : "1342", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1343", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1344", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1345", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1346", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1347", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1348", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1349", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1326", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1327", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "4", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "1328", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "1329", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "1330", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "1331", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "1332", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "1366", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1367", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1368", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1369", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1370", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1371", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1372", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1373", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1350", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1351", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "4", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "1352", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "20", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "1353", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "1354", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "1355", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "1356", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + } + } ] + } + }, { + "localId" : "1384", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "NullEndStartAfterIvl", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "1384", + "s" : [ { + "value" : [ "", "define ", "NullEndStartAfterIvl", ": " ] + }, { + "r" : "1439", + "s" : [ { + "r" : "1385", + "s" : [ { + "value" : [ "NullEndIvl" ] + } ] + }, { + "r" : "1439", + "value" : [ " ", "after or on", " " ] + }, { + "r" : "1436", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "1404", + "s" : [ { + "r" : "1388", + "value" : [ "DateTime", "(", "2012", ", ", "1", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "1428", + "s" : [ { + "r" : "1412", + "value" : [ "DateTime", "(", "2012", ", ", "1", ", ", "20", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ "]" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "SameOrAfter", + "localId" : "1439", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "1440", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1441", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "1442", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1443", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "ExpressionRef", + "localId" : "1385", + "name" : "NullEndIvl", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1386", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1387", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + }, { + "type" : "Interval", + "localId" : "1436", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1437", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1438", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "DateTime", + "localId" : "1404", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1405", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1406", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1407", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1408", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1409", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1410", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1411", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1388", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1389", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "1390", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "1391", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "1392", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "1393", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "1394", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "1428", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1429", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1430", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1431", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1432", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1433", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1434", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1435", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1412", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1413", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "1414", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "20", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "1415", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "1416", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "1417", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "1418", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + } + } ] + } + }, { + "localId" : "1446", + "name" : "NullStartIvl", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "1446", + "s" : [ { + "value" : [ "", "define ", "NullStartIvl", ": " ] + }, { + "r" : "1472", + "s" : [ { + "r" : "1447", + "value" : [ "Interval(", "null", ", " ] + }, { + "r" : "1464", + "s" : [ { + "r" : "1448", + "value" : [ "DateTime", "(", "2012", ", ", "3", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ "]" ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1476", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1477", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "expression" : { + "type" : "Interval", + "localId" : "1472", + "lowClosed" : false, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1474", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1475", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "As", + "localId" : "1473", + "asType" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Null", + "localId" : "1447", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "1464", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1465", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1466", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1467", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1468", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1469", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1470", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1471", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1448", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1449", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "1450", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "1451", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "1452", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "1453", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "1454", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + } + } + }, { + "localId" : "1480", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "EndsBeforeNullStartIvlEnds", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "1480", + "s" : [ { + "value" : [ "", "define ", "EndsBeforeNullStartIvlEnds", ": " ] + }, { + "r" : "1535", + "s" : [ { + "r" : "1529", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "1497", + "s" : [ { + "r" : "1481", + "value" : [ "DateTime", "(", "2012", ", ", "1", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "1521", + "s" : [ { + "r" : "1505", + "value" : [ "DateTime", "(", "2012", ", ", "2", ", ", "20", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ "]" ] + } ] + }, { + "r" : "1535", + "value" : [ " ", "after or on", " " ] + }, { + "r" : "1532", + "s" : [ { + "value" : [ "NullStartIvl" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "SameOrAfter", + "localId" : "1535", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "1536", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1537", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "1538", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1539", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "Interval", + "localId" : "1529", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1530", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1531", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "DateTime", + "localId" : "1497", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1498", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1499", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1500", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1501", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1502", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1503", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1504", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1481", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1482", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "1483", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "1484", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "1485", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "1486", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "1487", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "1521", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1522", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1523", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1524", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1525", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1526", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1527", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1528", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1505", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1506", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "1507", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "20", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "1508", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "1509", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "1510", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "1511", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + } + }, { + "type" : "ExpressionRef", + "localId" : "1532", + "name" : "NullStartIvl", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1533", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1534", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + } ] + } + }, { + "localId" : "1542", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "AfterEndOfNullStartIvl", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "1542", + "s" : [ { + "value" : [ "", "define ", "AfterEndOfNullStartIvl", ": " ] + }, { + "r" : "1597", + "s" : [ { + "r" : "1591", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "1559", + "s" : [ { + "r" : "1543", + "value" : [ "DateTime", "(", "2012", ", ", "3", ", ", "10", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "1583", "s" : [ { - "value" : [ "","define ","NoImpreciseOverlap",": " ] - }, { - "r" : "629", - "s" : [ { - "r" : "623", - "s" : [ { - "value" : [ "ivlE" ] - } ] - }, { - "r" : "629", - "value" : [ " ","overlaps before"," " ] - }, { - "r" : "626", - "s" : [ { - "value" : [ "ivlG" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "629", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "OverlapsBefore", - "signature" : [ { - "localId" : "630", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "631", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "632", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "633", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "623", - "name" : "ivlE", - "type" : "ExpressionRef", - "resultTypeSpecifier" : { - "localId" : "624", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "625", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - }, { - "localId" : "626", - "name" : "ivlG", - "type" : "ExpressionRef", - "resultTypeSpecifier" : { - "localId" : "627", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "628", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - } ] - } - }, { - "localId" : "636", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "MatchingPrecisionOverlap", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "636", - "s" : [ { - "value" : [ "","define ","MatchingPrecisionOverlap",": " ] - }, { - "r" : "643", - "s" : [ { - "r" : "637", - "s" : [ { - "value" : [ "ivlF" ] - } ] - }, { - "r" : "643", - "value" : [ " ","overlaps before"," " ] - }, { - "r" : "640", - "s" : [ { - "value" : [ "ivlG" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "643", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "OverlapsBefore", - "signature" : [ { - "localId" : "644", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "645", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "646", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "647", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "637", - "name" : "ivlF", - "type" : "ExpressionRef", - "resultTypeSpecifier" : { - "localId" : "638", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "639", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - }, { - "localId" : "640", - "name" : "ivlG", - "type" : "ExpressionRef", - "resultTypeSpecifier" : { - "localId" : "641", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "642", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - } ] + "r" : "1567", + "value" : [ "DateTime", "(", "2012", ", ", "3", ", ", "20", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ "]" ] + } ] + }, { + "r" : "1597", + "value" : [ " ", "after or on", " " ] + }, { + "r" : "1594", + "s" : [ { + "value" : [ "NullStartIvl" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "SameOrAfter", + "localId" : "1597", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "1598", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1599", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "1600", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1601", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "Interval", + "localId" : "1591", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1592", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1593", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "DateTime", + "localId" : "1559", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1560", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1561", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1562", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1563", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1564", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1565", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1566", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1543", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1544", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "1545", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "10", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "1546", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "1547", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "1548", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "1549", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "1583", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1584", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1585", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1586", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1587", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1588", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1589", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1590", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1567", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1568", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "1569", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "20", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "1570", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "1571", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "1572", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "1573", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + } + }, { + "type" : "ExpressionRef", + "localId" : "1594", + "name" : "NullStartIvl", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1595", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1596", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + } ] + } + }, { + "localId" : "1604", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "NullStartStartBeforeIvl", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "1604", + "s" : [ { + "value" : [ "", "define ", "NullStartStartBeforeIvl", ": " ] + }, { + "r" : "1659", + "s" : [ { + "r" : "1605", + "s" : [ { + "value" : [ "NullStartIvl" ] + } ] + }, { + "r" : "1659", + "value" : [ " ", "after or on", " " ] + }, { + "r" : "1656", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "1624", + "s" : [ { + "r" : "1608", + "value" : [ "DateTime", "(", "2012", ", ", "4", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "1648", + "s" : [ { + "r" : "1632", + "value" : [ "DateTime", "(", "2012", ", ", "4", ", ", "20", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ "]" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "SameOrAfter", + "localId" : "1659", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "1660", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1661", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "1662", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1663", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "ExpressionRef", + "localId" : "1605", + "name" : "NullStartIvl", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1606", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1607", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + }, { + "type" : "Interval", + "localId" : "1656", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1657", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1658", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "DateTime", + "localId" : "1624", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1625", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1626", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1627", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1628", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1629", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1630", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1631", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1608", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1609", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "4", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "1610", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "1611", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "1612", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "1613", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "1614", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "1648", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1649", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1650", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1651", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1652", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1653", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1654", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1655", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1632", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1633", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "4", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "1634", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "20", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "1635", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "1636", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "1637", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "1638", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + } + } ] + } + }, { + "localId" : "1666", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "NullStartStartAfterIvl", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "1666", + "s" : [ { + "value" : [ "", "define ", "NullStartStartAfterIvl", ": " ] + }, { + "r" : "1721", + "s" : [ { + "r" : "1667", + "s" : [ { + "value" : [ "NullStartIvl" ] + } ] + }, { + "r" : "1721", + "value" : [ " ", "after or on", " " ] + }, { + "r" : "1718", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "1686", + "s" : [ { + "r" : "1670", + "value" : [ "DateTime", "(", "2012", ", ", "1", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "1710", + "s" : [ { + "r" : "1694", + "value" : [ "DateTime", "(", "2012", ", ", "1", ", ", "20", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ "]" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "SameOrAfter", + "localId" : "1721", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "1722", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1723", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "1724", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1725", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "ExpressionRef", + "localId" : "1667", + "name" : "NullStartIvl", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1668", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1669", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + }, { + "type" : "Interval", + "localId" : "1718", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1719", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1720", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "DateTime", + "localId" : "1686", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1687", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1688", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1689", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1690", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1691", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1692", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1693", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1670", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1671", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "1672", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "1673", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "1674", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "1675", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "1676", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "1710", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1711", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1712", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1713", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1714", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1715", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1716", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1717", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1694", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1695", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "1696", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "20", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "1697", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "1698", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "1699", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "1700", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + } + } ] + } + }, { + "localId" : "1728", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "DateIvlBeforeNull", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "1728", + "s" : [ { + "value" : [ "", "define ", "DateIvlBeforeNull", ": " ] + }, { + "r" : "1733", + "s" : [ { + "r" : "1729", + "s" : [ { + "value" : [ "DateIvl" ] + } ] + }, { + "r" : "1733", + "value" : [ " ", "after or on", " ", "null" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "SameOrAfter", + "localId" : "1733", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "1737", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1738", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "1739", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1740", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "ExpressionRef", + "localId" : "1729", + "name" : "DateIvl", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1730", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1731", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + }, { + "type" : "As", + "localId" : "1734", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Null", + "localId" : "1732", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + }, + "asTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1735", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1736", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + } ] + } + }, { + "localId" : "1743", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "NullBeforeDateIvl", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "1743", + "s" : [ { + "value" : [ "", "define ", "NullBeforeDateIvl", ": " ] + }, { + "r" : "1748", + "s" : [ { + "r" : "1744", + "value" : [ "null", " ", "after or on", " " ] + }, { + "r" : "1745", + "s" : [ { + "value" : [ "DateIvl" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "SameOrAfter", + "localId" : "1748", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "1752", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1753", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "1754", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1755", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "As", + "localId" : "1749", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Null", + "localId" : "1744", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + }, + "asTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1750", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1751", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + }, { + "type" : "ExpressionRef", + "localId" : "1745", + "name" : "DateIvl", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1746", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1747", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + } ] + } + }, { + "localId" : "1758", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "DateTimeBeforeDateIvl", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "1758", + "s" : [ { + "value" : [ "", "define ", "DateTimeBeforeDateIvl", ": " ] + }, { + "r" : "1786", + "s" : [ { + "r" : "1775", + "s" : [ { + "r" : "1759", + "value" : [ "DateTime", "(", "2012", ", ", "2", ", ", "20", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "r" : "1786", + "value" : [ " ", "after or on", " " ] + }, { + "r" : "1783", + "s" : [ { + "value" : [ "DateIvl" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "SameOrAfter", + "localId" : "1786", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "1793", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1794", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "1795", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1796", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "If", + "localId" : "1787", + "annotation" : [ ], + "condition" : { + "type" : "IsNull", + "localId" : "1788", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "DateTime", + "localId" : "1775", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1776", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1777", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1778", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1779", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1780", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1781", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1782", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1759", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1760", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "1761", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "20", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "1762", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "1763", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "1764", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "1765", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + } + }, + "then" : { + "type" : "Null", + "localId" : "1789", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1790", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1791", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + }, + "else" : { + "type" : "Interval", + "localId" : "1792", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "low" : { + "type" : "DateTime", + "localId" : "1775", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1776", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1777", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1778", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1779", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1780", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1781", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1782", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1759", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1760", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "1761", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "20", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "1762", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "1763", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "1764", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "1765", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "1775", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1776", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1777", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1778", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1779", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1780", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1781", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1782", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1759", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1760", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "1761", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "20", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "1762", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "1763", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "1764", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "1765", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + } } - }, { - "localId" : "650", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "UnknownOverlap", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "650", - "s" : [ { - "value" : [ "","define ","UnknownOverlap",": " ] - }, { - "r" : "657", - "s" : [ { - "r" : "651", - "s" : [ { - "value" : [ "ivlH" ] - } ] - }, { - "r" : "657", - "value" : [ " ","overlaps before"," " ] - }, { - "r" : "654", - "s" : [ { - "value" : [ "ivlE" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "657", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "OverlapsBefore", - "signature" : [ { - "localId" : "658", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "659", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "660", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "661", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "651", - "name" : "ivlH", - "type" : "ExpressionRef", - "resultTypeSpecifier" : { - "localId" : "652", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "653", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - }, { - "localId" : "654", - "name" : "ivlE", - "type" : "ExpressionRef", - "resultTypeSpecifier" : { - "localId" : "655", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "656", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - } ] + }, { + "type" : "ExpressionRef", + "localId" : "1783", + "name" : "DateIvl", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1784", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1785", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + } ] + } + }, { + "localId" : "1799", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "DateBeforeDateIvl", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "1799", + "s" : [ { + "value" : [ "", "define ", "DateBeforeDateIvl", ": " ] + }, { + "r" : "1815", + "s" : [ { + "r" : "1808", + "s" : [ { + "r" : "1800", + "value" : [ "Date", "(", "2012", ", ", "2", ", ", "20", ")" ] + } ] + }, { + "r" : "1815", + "value" : [ " ", "after or on", " " ] + }, { + "r" : "1812", + "s" : [ { + "value" : [ "DateIvl" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "SameOrAfter", + "localId" : "1815", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "1825", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1826", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "1827", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1828", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "If", + "localId" : "1819", + "annotation" : [ ], + "condition" : { + "type" : "IsNull", + "localId" : "1820", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "ToDateTime", + "localId" : "1817", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1818", + "name" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ] + } ], + "operand" : { + "type" : "Date", + "localId" : "1808", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1809", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1810", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1811", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1800", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1801", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "1802", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "20", + "annotation" : [ ] + } + } + } + }, + "then" : { + "type" : "Null", + "localId" : "1821", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1822", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1823", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + }, + "else" : { + "type" : "Interval", + "localId" : "1824", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "low" : { + "type" : "ToDateTime", + "localId" : "1817", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1818", + "name" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ] + } ], + "operand" : { + "type" : "Date", + "localId" : "1808", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1809", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1810", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1811", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1800", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1801", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "1802", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "20", + "annotation" : [ ] + } + } + }, + "high" : { + "type" : "ToDateTime", + "localId" : "1817", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1818", + "name" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ] + } ], + "operand" : { + "type" : "Date", + "localId" : "1808", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1809", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1810", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1811", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1800", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1801", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "1802", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "20", + "annotation" : [ ] + } + } + } + } + }, { + "type" : "ExpressionRef", + "localId" : "1812", + "name" : "DateIvl", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1813", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1814", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + } ] + } + }, { + "localId" : "1831", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "DateIvlBeforeDateTime", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "1831", + "s" : [ { + "value" : [ "", "define ", "DateIvlBeforeDateTime", ": " ] + }, { + "r" : "1859", + "s" : [ { + "r" : "1832", + "s" : [ { + "value" : [ "DateIvl" ] + } ] + }, { + "r" : "1859", + "value" : [ " ", "after or on", " " ] + }, { + "r" : "1851", + "s" : [ { + "r" : "1835", + "value" : [ "DateTime", "(", "2012", ", ", "9", ", ", "20", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "SameOrAfter", + "localId" : "1859", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "1866", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1867", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "1868", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1869", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "ExpressionRef", + "localId" : "1832", + "name" : "DateIvl", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1833", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1834", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + }, { + "type" : "If", + "localId" : "1860", + "annotation" : [ ], + "condition" : { + "type" : "IsNull", + "localId" : "1861", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "DateTime", + "localId" : "1851", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1852", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1853", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1854", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1855", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1856", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1857", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1858", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1835", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1836", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "9", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "1837", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "20", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "1838", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "1839", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "1840", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "1841", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + } + }, + "then" : { + "type" : "Null", + "localId" : "1862", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1863", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1864", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + }, + "else" : { + "type" : "Interval", + "localId" : "1865", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "low" : { + "type" : "DateTime", + "localId" : "1851", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1852", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1853", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1854", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1855", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1856", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1857", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1858", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1835", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1836", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "9", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "1837", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "20", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "1838", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "1839", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "1840", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "1841", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "1851", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1852", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1853", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1854", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1855", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1856", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1857", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1858", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1835", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1836", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "9", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "1837", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "20", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "1838", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "1839", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "1840", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "1841", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + } } - }, { - "localId" : "664", - "name" : "PrecisionDateIvl", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "664", - "s" : [ { - "value" : [ "","define ","PrecisionDateIvl",": " ] - }, { - "r" : "713", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "681", - "s" : [ { - "r" : "665", - "value" : [ "DateTime","(","2012",", ","3",", ","2",", ","12",", ","34",", ","56",", ","789",")" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "705", - "s" : [ { - "r" : "689", - "value" : [ "DateTime","(","2012",", ","9",", ","2",", ","1",", ","23",", ","45",", ","678",")" ] - } ] - }, { - "value" : [ ")" ] - } ] - } ] - } - } ], + } ] + } + }, { + "localId" : "1872", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "DateIvlBeforeDate", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "1872", + "s" : [ { + "value" : [ "", "define ", "DateIvlBeforeDate", ": " ] + }, { + "r" : "1888", + "s" : [ { + "r" : "1873", + "s" : [ { + "value" : [ "DateIvl" ] + } ] + }, { + "r" : "1888", + "value" : [ " ", "after or on", " " ] + }, { + "r" : "1884", + "s" : [ { + "r" : "1876", + "value" : [ "DateTime", "(", "2012", ", ", "9", ", ", "20", ")" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "SameOrAfter", + "localId" : "1888", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "1895", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1896", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "1897", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1898", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "ExpressionRef", + "localId" : "1873", + "name" : "DateIvl", + "annotation" : [ ], "resultTypeSpecifier" : { - "localId" : "716", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "717", + "type" : "IntervalTypeSpecifier", + "localId" : "1874", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1875", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + }, { + "type" : "If", + "localId" : "1889", + "annotation" : [ ], + "condition" : { + "type" : "IsNull", + "localId" : "1890", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "DateTime", + "localId" : "1884", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1885", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1886", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1887", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1876", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1877", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "9", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "1878", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "20", + "annotation" : [ ] + } + } + }, + "then" : { + "type" : "Null", + "localId" : "1891", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1892", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1893", "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "expression" : { - "localId" : "713", - "lowClosed" : true, - "highClosed" : false, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "714", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "715", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "681", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "682", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "683", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "684", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "685", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "686", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "687", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "688", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "665", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "666", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "667", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal" - }, - "hour" : { - "localId" : "668", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "12", - "type" : "Literal" - }, - "minute" : { - "localId" : "669", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "34", - "type" : "Literal" - }, - "second" : { - "localId" : "670", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "56", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "671", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "789", - "type" : "Literal" - } - }, - "high" : { - "localId" : "705", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "706", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "707", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "708", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "709", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "710", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "711", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "712", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "689", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "690", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "9", - "type" : "Literal" - }, - "day" : { - "localId" : "691", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal" - }, - "hour" : { - "localId" : "692", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "minute" : { - "localId" : "693", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "23", - "type" : "Literal" - }, - "second" : { - "localId" : "694", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "45", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "695", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "678", - "type" : "Literal" - } - } + "annotation" : [ ] + } + } + }, + "else" : { + "type" : "Interval", + "localId" : "1894", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "low" : { + "type" : "DateTime", + "localId" : "1884", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1885", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1886", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1887", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1876", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1877", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "9", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "1878", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "20", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "1884", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1885", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1886", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1887", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1876", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1877", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "9", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "1878", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "20", + "annotation" : [ ] + } + } } - }, { - "localId" : "720", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "OverlapsBeforeDayOfIvlEdge", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "720", - "s" : [ { - "value" : [ "","define ","OverlapsBeforeDayOfIvlEdge",": " ] - }, { - "r" : "775", - "s" : [ { - "r" : "721", - "s" : [ { - "value" : [ "PrecisionDateIvl" ] - } ] - }, { - "r" : "775", - "value" : [ " ","overlaps before day of"," " ] - }, { - "r" : "772", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "740", - "s" : [ { - "r" : "724", - "value" : [ "DateTime","(","2012",", ","9",", ","2",", ","23",", ","59",", ","59",", ","999",")" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "764", - "s" : [ { - "r" : "748", - "value" : [ "DateTime","(","2012",", ","10",", ","1",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ "]" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "775", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "precision" : "Day", - "type" : "OverlapsBefore", - "signature" : [ { - "localId" : "776", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "777", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "778", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "779", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "721", - "name" : "PrecisionDateIvl", + } ] + } + }, { + "localId" : "1901", + "name" : "DateOnlyIvl", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "1901", + "s" : [ { + "value" : [ "", "define ", "DateOnlyIvl", ": " ] + }, { + "r" : "1926", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "1910", + "s" : [ { + "r" : "1902", + "value" : [ "Date", "(", "2012", ", ", "1", ", ", "1", ")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "1922", + "s" : [ { + "r" : "1914", + "value" : [ "Date", "(", "2012", ", ", "2", ", ", "20", ")" ] + } ] + }, { + "value" : [ "]" ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1929", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1930", + "name" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ] + } + }, + "expression" : { + "type" : "Interval", + "localId" : "1926", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1927", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1928", + "name" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ] + } + }, + "low" : { + "type" : "Date", + "localId" : "1910", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1911", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1912", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1913", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1902", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1903", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "1904", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + } + }, + "high" : { + "type" : "Date", + "localId" : "1922", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1923", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1924", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1925", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1914", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1915", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "1916", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "20", + "annotation" : [ ] + } + } + } + }, { + "localId" : "1933", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "DateOnlyIvlBeforeDateIvl", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "1933", + "s" : [ { + "value" : [ "", "define ", "DateOnlyIvlBeforeDateIvl", ": " ] + }, { + "r" : "1940", + "s" : [ { + "r" : "1934", + "s" : [ { + "value" : [ "DateOnlyIvl" ] + } ] + }, { + "r" : "1940", + "value" : [ " ", "after or on", " " ] + }, { + "r" : "1937", + "s" : [ { + "value" : [ "DateIvl" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "SameOrAfter", + "localId" : "1940", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "1952", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1953", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "1954", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1955", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "Interval", + "localId" : "1941", + "annotation" : [ ], + "low" : { + "type" : "ToDateTime", + "localId" : "1944", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1945", + "name" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ] + } ], + "operand" : { + "type" : "Property", + "localId" : "1942", + "path" : "low", + "annotation" : [ ], + "source" : { "type" : "ExpressionRef", - "resultTypeSpecifier" : { - "localId" : "722", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "723", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - }, { - "localId" : "772", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "773", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "774", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "740", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "741", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "742", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "743", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "744", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "745", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "746", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "747", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "724", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "725", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "9", - "type" : "Literal" - }, - "day" : { - "localId" : "726", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal" - }, - "hour" : { - "localId" : "727", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "23", - "type" : "Literal" - }, - "minute" : { - "localId" : "728", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal" - }, - "second" : { - "localId" : "729", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "730", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "999", - "type" : "Literal" - } - }, - "high" : { - "localId" : "764", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "765", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "766", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "767", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "768", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "769", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "770", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "771", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "748", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "749", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal" - }, - "day" : { - "localId" : "750", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "751", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "752", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "753", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "754", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - } - } ] - } - }, { - "localId" : "782", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "OverlapsAfterDayOfIvlEdge", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "782", - "s" : [ { - "value" : [ "","define ","OverlapsAfterDayOfIvlEdge",": " ] - }, { - "r" : "837", - "s" : [ { - "r" : "783", - "s" : [ { - "value" : [ "PrecisionDateIvl" ] - } ] - }, { - "r" : "837", - "value" : [ " ","overlaps before day of"," " ] - }, { - "r" : "834", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "802", - "s" : [ { - "r" : "786", - "value" : [ "DateTime","(","2012",", ","1",", ","2",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "826", - "s" : [ { - "r" : "810", - "value" : [ "DateTime","(","2012",", ","3",", ","2",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ "]" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "837", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "precision" : "Day", - "type" : "OverlapsBefore", - "signature" : [ { - "localId" : "838", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "839", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "840", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "841", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "783", - "name" : "PrecisionDateIvl", + "localId" : "1934", + "name" : "DateOnlyIvl", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1935", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1936", + "name" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ] + } + } + } + } + }, + "lowClosedExpression" : { + "type" : "Property", + "localId" : "1946", + "path" : "lowClosed", + "annotation" : [ ], + "source" : { + "type" : "ExpressionRef", + "localId" : "1934", + "name" : "DateOnlyIvl", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1935", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1936", + "name" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ] + } + } + } + }, + "high" : { + "type" : "ToDateTime", + "localId" : "1949", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1950", + "name" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ] + } ], + "operand" : { + "type" : "Property", + "localId" : "1947", + "path" : "high", + "annotation" : [ ], + "source" : { "type" : "ExpressionRef", - "resultTypeSpecifier" : { - "localId" : "784", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "785", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - }, { - "localId" : "834", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "835", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "836", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "802", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "803", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "804", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "805", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "806", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "807", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "808", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "809", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "786", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "787", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "788", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal" - }, - "hour" : { - "localId" : "789", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "790", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "791", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "792", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - }, - "high" : { - "localId" : "826", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "827", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "828", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "829", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "830", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "831", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "832", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "833", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "810", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "811", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "812", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal" - }, - "hour" : { - "localId" : "813", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "814", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "815", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "816", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - } - } ] - } - }, { - "localId" : "844", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "OverlapsContainsDayOfIvl", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "844", - "s" : [ { - "value" : [ "","define ","OverlapsContainsDayOfIvl",": " ] - }, { - "r" : "899", - "s" : [ { - "r" : "845", - "s" : [ { - "value" : [ "PrecisionDateIvl" ] - } ] - }, { - "r" : "899", - "value" : [ " ","overlaps before day of"," " ] - }, { - "r" : "896", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "864", - "s" : [ { - "r" : "848", - "value" : [ "DateTime","(","2012",", ","5",", ","1",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "888", - "s" : [ { - "r" : "872", - "value" : [ "DateTime","(","2012",", ","6",", ","1",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ "]" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "899", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "precision" : "Day", - "type" : "OverlapsBefore", - "signature" : [ { - "localId" : "900", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "901", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "902", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "903", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "845", - "name" : "PrecisionDateIvl", + "localId" : "1934", + "name" : "DateOnlyIvl", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1935", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1936", + "name" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ] + } + } + } + } + }, + "highClosedExpression" : { + "type" : "Property", + "localId" : "1951", + "path" : "highClosed", + "annotation" : [ ], + "source" : { + "type" : "ExpressionRef", + "localId" : "1934", + "name" : "DateOnlyIvl", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1935", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1936", + "name" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ] + } + } + } + } + }, { + "type" : "ExpressionRef", + "localId" : "1937", + "name" : "DateIvl", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1938", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1939", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + } ] + } + }, { + "localId" : "1958", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "DateIvlAfterDateOnlyIvl", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "1958", + "s" : [ { + "value" : [ "", "define ", "DateIvlAfterDateOnlyIvl", ": " ] + }, { + "r" : "1965", + "s" : [ { + "r" : "1959", + "s" : [ { + "value" : [ "DateIvl" ] + } ] + }, { + "r" : "1965", + "value" : [ " ", "after or on", " " ] + }, { + "r" : "1962", + "s" : [ { + "value" : [ "DateOnlyIvl" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "SameOrAfter", + "localId" : "1965", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "1977", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1978", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "1979", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1980", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "ExpressionRef", + "localId" : "1959", + "name" : "DateIvl", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1960", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1961", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + }, { + "type" : "Interval", + "localId" : "1966", + "annotation" : [ ], + "low" : { + "type" : "ToDateTime", + "localId" : "1969", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1970", + "name" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ] + } ], + "operand" : { + "type" : "Property", + "localId" : "1967", + "path" : "low", + "annotation" : [ ], + "source" : { "type" : "ExpressionRef", - "resultTypeSpecifier" : { - "localId" : "846", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "847", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - }, { - "localId" : "896", + "localId" : "1962", + "name" : "DateOnlyIvl", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1963", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1964", + "name" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ] + } + } + } + } + }, + "lowClosedExpression" : { + "type" : "Property", + "localId" : "1971", + "path" : "lowClosed", + "annotation" : [ ], + "source" : { + "type" : "ExpressionRef", + "localId" : "1962", + "name" : "DateOnlyIvl", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1963", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1964", + "name" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ] + } + } + } + }, + "high" : { + "type" : "ToDateTime", + "localId" : "1974", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1975", + "name" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ] + } ], + "operand" : { + "type" : "Property", + "localId" : "1972", + "path" : "high", + "annotation" : [ ], + "source" : { + "type" : "ExpressionRef", + "localId" : "1962", + "name" : "DateOnlyIvl", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1963", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1964", + "name" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ] + } + } + } + } + }, + "highClosedExpression" : { + "type" : "Property", + "localId" : "1976", + "path" : "highClosed", + "annotation" : [ ], + "source" : { + "type" : "ExpressionRef", + "localId" : "1962", + "name" : "DateOnlyIvl", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1963", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1964", + "name" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ] + } + } + } + } + } ] + } + }, { + "localId" : "1983", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "DateOnlyMeetsAfterDateIvl", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "1983", + "s" : [ { + "value" : [ "", "define ", "DateOnlyMeetsAfterDateIvl", ": " ] + }, { + "r" : "2014", + "s" : [ { + "r" : "2008", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "1992", + "s" : [ { + "r" : "1984", + "value" : [ "Date", "(", "2012", ", ", "9", ", ", "1", ")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "2004", + "s" : [ { + "r" : "1996", + "value" : [ "Date", "(", "2012", ", ", "10", ", ", "1", ")" ] + } ] + }, { + "value" : [ "]" ] + } ] + }, { + "r" : "2014", + "value" : [ " ", "after or on", " " ] + }, { + "r" : "2011", + "s" : [ { + "value" : [ "DateIvl" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "SameOrAfter", + "localId" : "2014", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "2026", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "2027", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "2028", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "2029", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "Interval", + "localId" : "2015", + "annotation" : [ ], + "low" : { + "type" : "ToDateTime", + "localId" : "2018", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "2019", + "name" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ] + } ], + "operand" : { + "type" : "Property", + "localId" : "2016", + "path" : "low", + "annotation" : [ ], + "source" : { + "type" : "Interval", + "localId" : "2008", "lowClosed" : true, "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "897", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "898", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "864", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "865", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "866", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "867", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "868", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "869", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "870", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "871", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "848", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "849", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal" - }, - "day" : { - "localId" : "850", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "851", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "852", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "853", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "854", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - }, - "high" : { - "localId" : "888", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "889", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "890", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "891", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "892", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "893", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "894", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "895", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "872", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "873", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "6", - "type" : "Literal" - }, - "day" : { - "localId" : "874", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "875", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "876", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "877", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "878", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - } - } ] - } - }, { - "localId" : "906", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "OverlapsContainedByDayOfIvl", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "906", - "s" : [ { - "value" : [ "","define ","OverlapsContainedByDayOfIvl",": " ] - }, { - "r" : "961", - "s" : [ { - "r" : "907", - "s" : [ { - "value" : [ "PrecisionDateIvl" ] - } ] - }, { - "r" : "961", - "value" : [ " ","overlaps before day of"," " ] - }, { - "r" : "958", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "926", - "s" : [ { - "r" : "910", - "value" : [ "DateTime","(","2012",", ","1",", ","1",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "950", - "s" : [ { - "r" : "934", - "value" : [ "DateTime","(","2012",", ","12",", ","1",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ "]" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "961", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "precision" : "Day", - "type" : "OverlapsBefore", - "signature" : [ { - "localId" : "962", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "963", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "964", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "2009", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "2010", + "name" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ] + } + }, + "low" : { + "type" : "Date", + "localId" : "1992", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1993", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1994", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1995", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1984", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1985", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "9", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "1986", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + } + }, + "high" : { + "type" : "Date", + "localId" : "2004", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "2005", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2006", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2007", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1996", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1997", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "10", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "1998", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + } + } + } + } + }, + "lowClosedExpression" : { + "type" : "Property", + "localId" : "2020", + "path" : "lowClosed", + "annotation" : [ ], + "source" : { + "type" : "Interval", + "localId" : "2008", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { "type" : "IntervalTypeSpecifier", + "localId" : "2009", + "annotation" : [ ], "pointType" : { - "localId" : "965", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "907", - "name" : "PrecisionDateIvl", - "type" : "ExpressionRef", - "resultTypeSpecifier" : { - "localId" : "908", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "909", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } + "type" : "NamedTypeSpecifier", + "localId" : "2010", + "name" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ] } - }, { - "localId" : "958", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "959", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "960", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } + }, + "low" : { + "type" : "Date", + "localId" : "1992", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1993", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1994", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1995", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1984", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] }, - "low" : { - "localId" : "926", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "927", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "928", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "929", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "930", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "931", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "932", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "933", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "910", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "911", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "912", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "913", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "914", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "915", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "916", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } + "month" : { + "type" : "Literal", + "localId" : "1985", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "9", + "annotation" : [ ] }, - "high" : { - "localId" : "950", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "951", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "952", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "953", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "954", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "955", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "956", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "957", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "934", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "935", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "12", - "type" : "Literal" - }, - "day" : { - "localId" : "936", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "937", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "938", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "939", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "940", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - } - } ] - } - }, { - "localId" : "968", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "NotOverlapsDayOfIvl", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "968", - "s" : [ { - "value" : [ "","define ","NotOverlapsDayOfIvl",": " ] - }, { - "r" : "1023", - "s" : [ { - "r" : "969", - "s" : [ { - "value" : [ "PrecisionDateIvl" ] - } ] - }, { - "r" : "1023", - "value" : [ " ","overlaps before day of"," " ] - }, { - "r" : "1020", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "988", - "s" : [ { - "r" : "972", - "value" : [ "DateTime","(","2012",", ","1",", ","2",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "1012", - "s" : [ { - "r" : "996", - "value" : [ "DateTime","(","2012",", ","3",", ","1",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ "]" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "1023", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "precision" : "Day", - "type" : "OverlapsBefore", - "signature" : [ { - "localId" : "1024", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1025", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "1026", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1027", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "969", - "name" : "PrecisionDateIvl", - "type" : "ExpressionRef", - "resultTypeSpecifier" : { - "localId" : "970", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "971", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - }, { - "localId" : "1020", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "1021", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1022", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } + "day" : { + "type" : "Literal", + "localId" : "1986", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + } + }, + "high" : { + "type" : "Date", + "localId" : "2004", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "2005", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2006", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2007", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1996", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] }, - "low" : { - "localId" : "988", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "989", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "990", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "991", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "992", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "993", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "994", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "995", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "972", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "973", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "974", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal" - }, - "hour" : { - "localId" : "975", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "976", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "977", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "978", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } + "month" : { + "type" : "Literal", + "localId" : "1997", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "10", + "annotation" : [ ] }, - "high" : { - "localId" : "1012", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "1013", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1014", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1015", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1016", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1017", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1018", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1019", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "996", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "997", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "998", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "999", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "1000", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "1001", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "1002", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - } - } ] - } - }, { - "localId" : "1030", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "OverlapsAfterDayOfImpreciseInterval", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "1030", - "s" : [ { - "value" : [ "","define ","OverlapsAfterDayOfImpreciseInterval",": " ] - }, { - "r" : "1055", - "s" : [ { - "r" : "1031", - "s" : [ { - "value" : [ "PrecisionDateIvl" ] - } ] - }, { - "r" : "1055", - "value" : [ " ","overlaps before day of"," " ] - }, { - "r" : "1052", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "1040", - "s" : [ { - "r" : "1034", - "value" : [ "DateTime","(","2012",", ","1",")" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "1049", - "s" : [ { - "r" : "1043", - "value" : [ "DateTime","(","2012",", ","4",")" ] - } ] - }, { - "value" : [ "]" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "1055", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "precision" : "Day", - "type" : "OverlapsBefore", - "signature" : [ { - "localId" : "1056", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1057", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "1058", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1059", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "1031", - "name" : "PrecisionDateIvl", - "type" : "ExpressionRef", - "resultTypeSpecifier" : { - "localId" : "1032", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1033", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - }, { - "localId" : "1052", + "day" : { + "type" : "Literal", + "localId" : "1998", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + } + } + } + }, + "high" : { + "type" : "ToDateTime", + "localId" : "2023", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "2024", + "name" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ] + } ], + "operand" : { + "type" : "Property", + "localId" : "2021", + "path" : "high", + "annotation" : [ ], + "source" : { + "type" : "Interval", + "localId" : "2008", "lowClosed" : true, "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "1053", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1054", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "1040", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "1041", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1042", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1034", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "1035", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - } - }, - "high" : { - "localId" : "1049", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "1050", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1051", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1043", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "1044", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "4", - "type" : "Literal" - } - } - } ] - } - }, { - "localId" : "1062", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "MayOverlapBeforeDayOfImpreciseIvl", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "1062", - "s" : [ { - "value" : [ "","define ","MayOverlapBeforeDayOfImpreciseIvl",": " ] - }, { - "r" : "1087", - "s" : [ { - "r" : "1063", - "s" : [ { - "value" : [ "PrecisionDateIvl" ] - } ] - }, { - "r" : "1087", - "value" : [ " ","overlaps before day of"," " ] - }, { - "r" : "1084", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "1072", - "s" : [ { - "r" : "1066", - "value" : [ "DateTime","(","2012",", ","9",")" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "1081", - "s" : [ { - "r" : "1075", - "value" : [ "DateTime","(","2012",", ","10",")" ] - } ] - }, { - "value" : [ "]" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "1087", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "precision" : "Day", - "type" : "OverlapsBefore", - "signature" : [ { - "localId" : "1088", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1089", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "1090", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "2009", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "2010", + "name" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ] + } + }, + "low" : { + "type" : "Date", + "localId" : "1992", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1993", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1994", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1995", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1984", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1985", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "9", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "1986", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + } + }, + "high" : { + "type" : "Date", + "localId" : "2004", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "2005", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2006", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2007", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1996", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1997", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "10", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "1998", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + } + } + } + } + }, + "highClosedExpression" : { + "type" : "Property", + "localId" : "2025", + "path" : "highClosed", + "annotation" : [ ], + "source" : { + "type" : "Interval", + "localId" : "2008", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { "type" : "IntervalTypeSpecifier", + "localId" : "2009", + "annotation" : [ ], "pointType" : { - "localId" : "1091", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "1063", - "name" : "PrecisionDateIvl", - "type" : "ExpressionRef", - "resultTypeSpecifier" : { - "localId" : "1064", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1065", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } + "type" : "NamedTypeSpecifier", + "localId" : "2010", + "name" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ] } - }, { - "localId" : "1084", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "1085", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1086", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } + }, + "low" : { + "type" : "Date", + "localId" : "1992", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1993", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1994", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1995", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1984", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] }, - "low" : { - "localId" : "1072", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "1073", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1074", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1066", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "1067", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "9", - "type" : "Literal" - } + "month" : { + "type" : "Literal", + "localId" : "1985", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "9", + "annotation" : [ ] }, - "high" : { - "localId" : "1081", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "1082", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1083", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1075", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "1076", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal" - } - } - } ] - } - }, { - "localId" : "1094", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "MayOverlapAfterDayOfImpreciseIvl", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "1094", - "s" : [ { - "value" : [ "","define ","MayOverlapAfterDayOfImpreciseIvl",": " ] - }, { - "r" : "1119", - "s" : [ { - "r" : "1095", - "s" : [ { - "value" : [ "PrecisionDateIvl" ] - } ] - }, { - "r" : "1119", - "value" : [ " ","overlaps before day of"," " ] - }, { - "r" : "1116", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "1104", - "s" : [ { - "r" : "1098", - "value" : [ "DateTime","(","2012",", ","1",")" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "1113", - "s" : [ { - "r" : "1107", - "value" : [ "DateTime","(","2012",", ","3",")" ] - } ] - }, { - "value" : [ "]" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "1119", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "precision" : "Day", - "type" : "OverlapsBefore", - "signature" : [ { - "localId" : "1120", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1121", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "1122", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1123", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "1095", - "name" : "PrecisionDateIvl", - "type" : "ExpressionRef", - "resultTypeSpecifier" : { - "localId" : "1096", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1097", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - }, { - "localId" : "1116", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "1117", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1118", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } + "day" : { + "type" : "Literal", + "localId" : "1986", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + } + }, + "high" : { + "type" : "Date", + "localId" : "2004", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "2005", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2006", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2007", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1996", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] }, - "low" : { - "localId" : "1104", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "1105", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1106", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1098", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "1099", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - } + "month" : { + "type" : "Literal", + "localId" : "1997", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "10", + "annotation" : [ ] }, - "high" : { - "localId" : "1113", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "1114", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1115", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1107", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "1108", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - } - } - } ] - } - } ] - } - } + "day" : { + "type" : "Literal", + "localId" : "1998", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + } + } + } + } + }, { + "type" : "ExpressionRef", + "localId" : "2011", + "name" : "DateIvl", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "2012", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "2013", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + } ] + } + } ] + } + } } -/* Width +/* Meets library TestSnippet version '1' using Simple version '1.0.0' context Patient -define IntWidth: width of Interval[-2, 5] -define IntOpenWidth: width of Interval(-2, 5) -define IntWidthThreeToMax: width of Interval[3, null] -define IntWidthMinToThree: width of Interval[null, 3] -define IntWidthThreeToUnknown: width of Interval[3, null) -define IntWidthUnknownToThree: width of Interval(null, 3] -define RealWidth: width of Interval[1.23, 4.56] -define RealOpenWidth: width of Interval(1.23, 4.56) -define WidthOfQuantityInterval: width of Interval[Quantity{value: 1, unit: 'mm'}, Quantity{value: 10, unit: 'mm'}] -define WidthOfDateTimeInterval: width of Interval[DateTime(2012,01,01), DateTime(2012,01,03)] -define WidthOfDateInterval: width of Interval[Date(2012,01,01), Date(2012,01,03)] -define WidthOfTimeInterval: width of Interval[Time(12,00,00), Time(12,30,02)] +define MeetsAfterIntIvl: Interval[11, 15] meets Interval[5, 10] +define MeetsBeforeIntIvl: Interval[1, 4] meets Interval[5, 10] +define NotMeetsIntIvl: Interval[1, 2] meets Interval[5, 10] +define MeetsAfterRealIvl: Interval[1.50000001, 2.5] meets Interval[0.5, 1.5] +define MeetsBeforeRealIvl: Interval[0.5, 1.5] meets Interval[1.50000001, 2.5] +define NotMeetsRealIvl: Interval[0.0, 1.0] meets Interval[1.1, 2.0] +define DateIvl: Interval[DateTime(2012, 3, 1, 0, 0, 0, 0), DateTime(2012, 9, 1, 0, 0, 0, 0)) +define MeetsAfterDateIvl: Interval[DateTime(2012, 9, 1, 0, 0, 0, 0), DateTime(2012, 12, 1, 0, 0, 0, 0)) meets DateIvl +define MeetsBeforeDateIvl: Interval[DateTime(2012, 1, 1, 0, 0, 0, 0), DateTime(2012, 3, 1, 0, 0, 0, 0)) meets DateIvl +define NotMeetsDateIvl: Interval[DateTime(2012, 1, 1, 0, 0, 0, 0), DateTime(2012, 2, 29, 0, 0, 0, 0)) meets DateIvl +define MayMeetAfterImpreciseDateIvl: DateIvl meets Interval[DateTime(2012, 1), DateTime(2012, 2)] +define MayMeetBeforeImpreciseDateIvl: DateIvl meets Interval[DateTime(2012, 9), DateTime(2012, 12)] +define NotMeetsImpreciseDateIvl: DateIvl meets Interval[DateTime(2012, 1), DateTime(2012, 12)] +define PrecisionDateIvl: Interval[DateTime(2012, 3, 2, 12, 34, 56, 789), DateTime(2012, 9, 2, 1, 23, 45, 678)) +define MeetsAfterDayOfIvl: PrecisionDateIvl meets day of Interval[DateTime(2012, 1, 2, 0, 0, 0, 0), DateTime(2012, 3, 1, 0, 0, 0, 0)] +define MeetsBeforeDayOfIvl: PrecisionDateIvl meets day of Interval[DateTime(2012, 9, 3, 0, 0, 0, 0), DateTime(2012, 12, 1, 0, 0, 0, 0)] +define NotMeetsDayOfIvl: PrecisionDateIvl meets day of Interval[DateTime(2012, 1, 2, 0, 0, 0, 0), DateTime(2012, 3, 2, 0, 0, 0, 0)] +define NotMeetsDayOfImpreciseIVL: PrecisionDateIvl meets day of Interval[DateTime(2012, 1), DateTime(2012, 2)] +define MayMeetAfterDayOfImpreciseIvl: PrecisionDateIvl meets day of Interval[DateTime(2012, 1), DateTime(2012, 3)] +define MayMeetBeforeDayOfImpreciseIvl: PrecisionDateIvl meets day of Interval[DateTime(2012, 9), DateTime(2012, 12)] +define ImpDateIvl: Interval[DateTime(2012, 3), DateTime(2012, 8)] +define ImpreciseMayMeetAfterDateIvl: ImpDateIvl meets Interval[DateTime(2012, 1, 1, 0, 0, 0, 0), DateTime(2012, 2, 29, 23, 59, 59, 999)] +define ImpreciseMayMeetBeforeDateIvl: ImpDateIvl meets Interval[DateTime(2012, 9, 1, 0, 0, 0, 0), DateTime(2012, 12, 31, 23, 59, 59, 999)] +define ImpreciseNotMeetsDateIvl: ImpDateIvl meets Interval[DateTime(2012, 1, 1, 0, 0, 0, 0), DateTime(2012, 12, 31, 23, 59, 59, 999)) +define NegInfBegMeetsBeforeIntIvl: Interval[null, 100] meets Interval[101, 200] +define NegInfBegNotMeetsIntIvl: Interval[null, 100] meets Interval[100, 200] +define IntIvlNotMeetsNegInfBeg: Interval[100, 200] meets Interval[null, 400] +define UnknownBegMeetsBeforeIntIvl: Interval(null, 100] meets Interval[101, 200] +define UnknownBegMayMeetAfterIntIvl: Interval(null, 100] meets Interval[0, 50] +define UnknownBegNotMeetsIntIvl: Interval(null, 5] meets Interval[0, 100] +define IntIvlMayMeetBeforeUnknownBeg: Interval[0, 100] meets Interval(null, 400) +define PosInfEndMeetsAfterIntIvl: Interval[100, null] meets Interval[0, 99] +define PosInfEndNotMeetsIntIvl: Interval[0, null] meets Interval[1000, 2000] +define IntIvlNotMeetsPosInfEnd: Interval[100, 200] meets Interval[0, null] +define UnknownEndMeetsAfterIntIvl: Interval[100, null) meets Interval[0, 99] +define UnknownEndMayMeetBeforeIntIvl: Interval[0, null) meets Interval[50, 100] +define UnknownEndNotMeetsIntIvl: Interval[0, null) meets Interval[0, 100] +define IntIvlMayMeetAfterUnknownEnd: Interval[0, 100] meets Interval[-100, null) +define NegInfBegMeetsBeforeDateIvl: Interval[null, DateTime(2013, 1, 1, 0, 0, 0, 0)) meets Interval[DateTime(2013, 1, 1, 0, 0, 0, 0), DateTime(2030, 1, 1, 0, 0, 0, 0)] +define NegInfBegNotMeetsDateIvl: Interval[null, DateTime(2013, 1, 1, 0, 0, 0, 0)) meets Interval[DateTime(2000, 1, 1, 0, 0, 0, 0), DateTime(2010, 1, 1, 0, 0, 0, 0)] +define DateIvlNotMeetsNegInfBeg: Interval[DateTime(2000, 1, 1, 0, 0, 0, 0), DateTime(2010, 1, 1, 0, 0, 0, 0)] meets Interval[null, DateTime(2013, 1, 1, 0, 0, 0, 0)) +define UnknownBegMeetsBeforeDateIvl: Interval(null, DateTime(2013, 1, 1, 0, 0, 0, 0)) meets Interval[DateTime(2013, 1, 1, 0, 0, 0, 0), DateTime(2030, 1, 1, 0, 0, 0, 0)] +define UnknownBegMayMeetAfterDateIvl: Interval(null, DateTime(2013, 1, 1, 0, 0, 0, 0)) meets Interval[DateTime(2000, 1, 1, 0, 0, 0, 0), DateTime(2010, 1, 1, 0, 0, 0, 0)] +define UnknownBegNotMeetsDateIvl: Interval(null, DateTime(2013, 1, 1, 0, 0, 0, 0)) meets Interval[DateTime(2000, 1, 1, 0, 0, 0, 0), DateTime(2020, 1, 1, 0, 0, 0, 0)] +define DateIvlMayMeetBeforeUnknownBeg: Interval[DateTime(2000, 1, 1, 0, 0, 0, 0), DateTime(2010, 1, 1, 0, 0, 0, 0)] meets Interval(null, DateTime(2013, 1, 1, 0, 0, 0, 0)) +define PosInfEndMeetsAfterDateIvl: Interval[DateTime(2013, 1, 1, 0, 0, 0, 0), null] meets Interval[DateTime(2000, 1, 1, 0, 0, 0, 0), DateTime(2013, 1, 1, 0, 0, 0, 0)) +define PosInfEndNotMeetsDateIvl: Interval[DateTime(2013, 1, 1, 0, 0, 0, 0), null] meets Interval[DateTime(2000, 1, 1, 0, 0, 0, 0), DateTime(2020, 1, 1, 0, 0, 0, 0)] +define DateIvlNotMeetsPosInfEnd: Interval[DateTime(2000, 1, 1, 0, 0, 0, 0), DateTime(2020, 1, 1, 0, 0, 0, 0)] meets Interval[DateTime(2013, 1, 1, 0, 0, 0, 0), null] +define UnknownEndMeetsAfterDateIvl: Interval[DateTime(2013, 1, 1, 0, 0, 0, 0), null) meets Interval[DateTime(2010, 1, 1, 0, 0, 0, 0), DateTime(2013, 1, 1, 0, 0, 0, 0)) +define UnknownEndMayMeetBeforeDateIvl: Interval[DateTime(2013, 1, 1, 0, 0, 0, 0), null) meets Interval[DateTime(2020, 1, 1, 0, 0, 0, 0), DateTime(2040, 1, 1, 0, 0, 0, 0)] +define UnknownEndNotMeetsDateIvl: Interval[DateTime(2013, 1, 1, 0, 0, 0, 0), null) meets Interval[DateTime(2000, 1, 1, 0, 0, 0, 0), DateTime(2013, 1, 1, 0, 0, 0, 0)] +define DateIvlMayMeetAfterUnknownEnd: Interval[DateTime(2020, 1, 1, 0, 0, 0, 0), DateTime(2040, 1, 1, 0, 0, 0, 0)] meets Interval[DateTime(2013, 1, 1, 0, 0, 0, 0), null) */ -module.exports['Width'] = { - "library" : { - "localId" : "0", - "annotation" : [ { - "translatorVersion" : "3.27.0", - "translatorOptions" : "EnableDateRangeOptimization,EnableAnnotations,EnableResultTypes", - "signatureLevel" : "All", - "type" : "CqlToElmInfo" - }, { - "type" : "Annotation", - "s" : { - "r" : "401", +module.exports['Meets'] = { + "library" : { + "localId" : "0", + "annotation" : [ { + "type" : "CqlToElmInfo", + "translatorVersion" : "4.2.0", + "translatorOptions" : "EnableDateRangeOptimization,EnableAnnotations,EnableResultTypes", + "signatureLevel" : "All" + }, { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "2622", + "s" : [ { + "value" : [ "", "library TestSnippet version '1'" ] + } ] + } + } ], + "identifier" : { + "id" : "TestSnippet", + "version" : "1" + }, + "schemaIdentifier" : { + "id" : "urn:hl7-org:elm", + "version" : "r1" + }, + "usings" : { + "def" : [ { + "localId" : "1", + "localIdentifier" : "System", + "uri" : "urn:hl7-org:elm-types:r1", + "annotation" : [ ] + }, { + "localId" : "206", + "localIdentifier" : "Simple", + "uri" : "https://github.com/cqframework/cql-execution/simple", + "version" : "1.0.0", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "206", + "s" : [ { + "value" : [ "", "using " ] + }, { + "s" : [ { + "value" : [ "Simple" ] + } ] + }, { + "value" : [ " version '1.0.0'" ] + } ] + } + } ] + } ] + }, + "contexts" : { + "def" : [ { + "localId" : "211", + "name" : "Patient", + "annotation" : [ ] + } ] + }, + "statements" : { + "def" : [ { + "localId" : "209", + "name" : "Patient", + "context" : "Patient", + "annotation" : [ ], + "expression" : { + "type" : "SingletonFrom", + "localId" : "210", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Retrieve", + "localId" : "208", + "dataType" : "{https://github.com/cqframework/cql-execution/simple}Patient", + "annotation" : [ ], + "include" : [ ], + "codeFilter" : [ ], + "dateFilter" : [ ], + "otherFilter" : [ ] + } + } + }, { + "localId" : "214", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "MeetsAfterIntIvl", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "214", + "s" : [ { + "value" : [ "", "define ", "MeetsAfterIntIvl", ": " ] + }, { + "r" : "225", + "s" : [ { + "r" : "217", + "s" : [ { + "r" : "215", + "value" : [ "Interval[", "11", ", ", "15", "]" ] + } ] + }, { + "r" : "225", + "value" : [ " ", "meets", " " ] + }, { + "r" : "222", + "s" : [ { + "r" : "220", + "value" : [ "Interval[", "5", ", ", "10", "]" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Meets", + "localId" : "225", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "226", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "227", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "228", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "229", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "Interval", + "localId" : "217", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "218", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "219", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "low" : { + "type" : "Literal", + "localId" : "215", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "11", + "annotation" : [ ] + }, + "high" : { + "type" : "Literal", + "localId" : "216", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "15", + "annotation" : [ ] + } + }, { + "type" : "Interval", + "localId" : "222", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "223", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "224", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "low" : { + "type" : "Literal", + "localId" : "220", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "5", + "annotation" : [ ] + }, + "high" : { + "type" : "Literal", + "localId" : "221", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "10", + "annotation" : [ ] + } + } ] + } + }, { + "localId" : "232", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "MeetsBeforeIntIvl", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "232", + "s" : [ { + "value" : [ "", "define ", "MeetsBeforeIntIvl", ": " ] + }, { + "r" : "243", + "s" : [ { + "r" : "235", + "s" : [ { + "r" : "233", + "value" : [ "Interval[", "1", ", ", "4", "]" ] + } ] + }, { + "r" : "243", + "value" : [ " ", "meets", " " ] + }, { + "r" : "240", + "s" : [ { + "r" : "238", + "value" : [ "Interval[", "5", ", ", "10", "]" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Meets", + "localId" : "243", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "244", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "245", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "246", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "247", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "Interval", + "localId" : "235", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "236", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "237", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "low" : { + "type" : "Literal", + "localId" : "233", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "high" : { + "type" : "Literal", + "localId" : "234", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "4", + "annotation" : [ ] + } + }, { + "type" : "Interval", + "localId" : "240", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "241", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "242", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "low" : { + "type" : "Literal", + "localId" : "238", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "5", + "annotation" : [ ] + }, + "high" : { + "type" : "Literal", + "localId" : "239", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "10", + "annotation" : [ ] + } + } ] + } + }, { + "localId" : "250", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "NotMeetsIntIvl", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "250", "s" : [ { - "value" : [ "","library TestSnippet version '1'" ] - } ] - } - } ], - "identifier" : { - "id" : "TestSnippet", - "version" : "1" - }, - "schemaIdentifier" : { - "id" : "urn:hl7-org:elm", - "version" : "r1" - }, - "usings" : { - "def" : [ { - "localId" : "1", - "localIdentifier" : "System", - "uri" : "urn:hl7-org:elm-types:r1" - }, { - "localId" : "206", - "localIdentifier" : "Simple", - "uri" : "https://github.com/cqframework/cql-execution/simple", - "version" : "1.0.0", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "206", - "s" : [ { - "value" : [ "","using " ] - }, { - "s" : [ { - "value" : [ "Simple" ] - } ] - }, { - "value" : [ " version '1.0.0'" ] - } ] - } - } ] - } ] - }, - "contexts" : { - "def" : [ { - "localId" : "211", - "name" : "Patient" - } ] - }, - "statements" : { - "def" : [ { - "localId" : "209", - "name" : "Patient", - "context" : "Patient", - "expression" : { - "localId" : "210", - "type" : "SingletonFrom", - "signature" : [ ], - "operand" : { - "localId" : "208", - "dataType" : "{https://github.com/cqframework/cql-execution/simple}Patient", - "type" : "Retrieve", - "include" : [ ], - "codeFilter" : [ ], - "dateFilter" : [ ], - "otherFilter" : [ ] - } - } - }, { - "localId" : "214", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "name" : "IntWidth", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "214", - "s" : [ { - "value" : [ "","define ","IntWidth",": " ] - }, { - "r" : "215", - "s" : [ { - "value" : [ "width of " ] - }, { - "r" : "220", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "216", - "s" : [ { - "r" : "217", - "value" : [ "-","2" ] - } ] - }, { - "r" : "219", - "value" : [ ", ","5","]" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "215", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "Width", - "signature" : [ { - "localId" : "223", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "224", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : { - "localId" : "220", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "221", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "222", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "216", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "Negate", - "signature" : [ { - "localId" : "218", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "217", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal" - } - }, - "high" : { - "localId" : "219", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal" - } - } - } - }, { - "localId" : "227", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "name" : "IntOpenWidth", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "227", + "value" : [ "", "define ", "NotMeetsIntIvl", ": " ] + }, { + "r" : "261", + "s" : [ { + "r" : "253", + "s" : [ { + "r" : "251", + "value" : [ "Interval[", "1", ", ", "2", "]" ] + } ] + }, { + "r" : "261", + "value" : [ " ", "meets", " " ] + }, { + "r" : "258", + "s" : [ { + "r" : "256", + "value" : [ "Interval[", "5", ", ", "10", "]" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Meets", + "localId" : "261", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "262", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "263", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "264", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "265", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "Interval", + "localId" : "253", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "254", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "255", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "low" : { + "type" : "Literal", + "localId" : "251", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "high" : { + "type" : "Literal", + "localId" : "252", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "annotation" : [ ] + } + }, { + "type" : "Interval", + "localId" : "258", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "259", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "260", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "low" : { + "type" : "Literal", + "localId" : "256", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "5", + "annotation" : [ ] + }, + "high" : { + "type" : "Literal", + "localId" : "257", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "10", + "annotation" : [ ] + } + } ] + } + }, { + "localId" : "268", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "MeetsAfterRealIvl", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "268", + "s" : [ { + "value" : [ "", "define ", "MeetsAfterRealIvl", ": " ] + }, { + "r" : "279", + "s" : [ { + "r" : "271", + "s" : [ { + "r" : "269", + "value" : [ "Interval[", "1.50000001", ", ", "2.5", "]" ] + } ] + }, { + "r" : "279", + "value" : [ " ", "meets", " " ] + }, { + "r" : "276", + "s" : [ { + "r" : "274", + "value" : [ "Interval[", "0.5", ", ", "1.5", "]" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Meets", + "localId" : "279", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "280", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "281", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "282", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "283", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "Interval", + "localId" : "271", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "272", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "273", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } + }, + "low" : { + "type" : "Literal", + "localId" : "269", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "1.50000001", + "annotation" : [ ] + }, + "high" : { + "type" : "Literal", + "localId" : "270", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "2.5", + "annotation" : [ ] + } + }, { + "type" : "Interval", + "localId" : "276", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "277", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "278", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } + }, + "low" : { + "type" : "Literal", + "localId" : "274", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "0.5", + "annotation" : [ ] + }, + "high" : { + "type" : "Literal", + "localId" : "275", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "1.5", + "annotation" : [ ] + } + } ] + } + }, { + "localId" : "286", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "MeetsBeforeRealIvl", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "286", + "s" : [ { + "value" : [ "", "define ", "MeetsBeforeRealIvl", ": " ] + }, { + "r" : "297", + "s" : [ { + "r" : "289", + "s" : [ { + "r" : "287", + "value" : [ "Interval[", "0.5", ", ", "1.5", "]" ] + } ] + }, { + "r" : "297", + "value" : [ " ", "meets", " " ] + }, { + "r" : "294", + "s" : [ { + "r" : "292", + "value" : [ "Interval[", "1.50000001", ", ", "2.5", "]" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Meets", + "localId" : "297", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "298", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "299", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "300", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "301", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "Interval", + "localId" : "289", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "290", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "291", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } + }, + "low" : { + "type" : "Literal", + "localId" : "287", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "0.5", + "annotation" : [ ] + }, + "high" : { + "type" : "Literal", + "localId" : "288", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "1.5", + "annotation" : [ ] + } + }, { + "type" : "Interval", + "localId" : "294", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "295", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "296", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } + }, + "low" : { + "type" : "Literal", + "localId" : "292", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "1.50000001", + "annotation" : [ ] + }, + "high" : { + "type" : "Literal", + "localId" : "293", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "2.5", + "annotation" : [ ] + } + } ] + } + }, { + "localId" : "304", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "NotMeetsRealIvl", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "304", + "s" : [ { + "value" : [ "", "define ", "NotMeetsRealIvl", ": " ] + }, { + "r" : "315", + "s" : [ { + "r" : "307", + "s" : [ { + "r" : "305", + "value" : [ "Interval[", "0.0", ", ", "1.0", "]" ] + } ] + }, { + "r" : "315", + "value" : [ " ", "meets", " " ] + }, { + "r" : "312", + "s" : [ { + "r" : "310", + "value" : [ "Interval[", "1.1", ", ", "2.0", "]" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Meets", + "localId" : "315", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "316", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "317", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "318", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "319", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "Interval", + "localId" : "307", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "308", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "309", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } + }, + "low" : { + "type" : "Literal", + "localId" : "305", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "0.0", + "annotation" : [ ] + }, + "high" : { + "type" : "Literal", + "localId" : "306", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "1.0", + "annotation" : [ ] + } + }, { + "type" : "Interval", + "localId" : "312", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "313", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "314", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } + }, + "low" : { + "type" : "Literal", + "localId" : "310", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "1.1", + "annotation" : [ ] + }, + "high" : { + "type" : "Literal", + "localId" : "311", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "2.0", + "annotation" : [ ] + } + } ] + } + }, { + "localId" : "322", + "name" : "DateIvl", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "322", + "s" : [ { + "value" : [ "", "define ", "DateIvl", ": " ] + }, { + "r" : "371", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "339", + "s" : [ { + "r" : "323", + "value" : [ "DateTime", "(", "2012", ", ", "3", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "363", + "s" : [ { + "r" : "347", + "value" : [ "DateTime", "(", "2012", ", ", "9", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "374", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "375", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "expression" : { + "type" : "Interval", + "localId" : "371", + "lowClosed" : true, + "highClosed" : false, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "372", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "373", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "DateTime", + "localId" : "339", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "340", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "341", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "342", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "343", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "344", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "345", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "346", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "323", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "324", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "325", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "326", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "327", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "328", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "329", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "363", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "364", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "365", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "366", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "367", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "368", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "369", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "370", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "347", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "348", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "9", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "349", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "350", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "351", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "352", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "353", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + } + } + }, { + "localId" : "378", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "MeetsAfterDateIvl", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "378", + "s" : [ { + "value" : [ "", "define ", "MeetsAfterDateIvl", ": " ] + }, { + "r" : "433", + "s" : [ { + "r" : "427", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "395", "s" : [ { - "value" : [ "","define ","IntOpenWidth",": " ] - }, { - "r" : "228", - "s" : [ { - "value" : [ "width of " ] - }, { - "r" : "233", - "s" : [ { - "value" : [ "Interval(" ] - }, { - "r" : "229", - "s" : [ { - "r" : "230", - "value" : [ "-","2" ] - } ] - }, { - "r" : "232", - "value" : [ ", ","5",")" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "228", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "Width", - "signature" : [ { - "localId" : "236", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "237", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : { - "localId" : "233", - "lowClosed" : false, - "highClosed" : false, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "234", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "235", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "229", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "Negate", - "signature" : [ { - "localId" : "231", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "230", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal" - } - }, - "high" : { - "localId" : "232", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal" - } - } - } - }, { - "localId" : "240", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "name" : "IntWidthThreeToMax", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "240", + "r" : "379", + "value" : [ "DateTime", "(", "2012", ", ", "9", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "419", "s" : [ { - "value" : [ "","define ","IntWidthThreeToMax",": " ] - }, { - "r" : "241", - "s" : [ { - "value" : [ "width of " ] - }, { - "r" : "244", - "s" : [ { - "r" : "242", - "value" : [ "Interval[","3",", ","null","]" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "241", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "Width", - "signature" : [ { - "localId" : "248", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "249", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : { - "localId" : "244", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "246", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "247", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "242", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "high" : { - "localId" : "245", - "asType" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "As", - "signature" : [ ], - "operand" : { - "localId" : "243", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - } - } - } - } - }, { - "localId" : "252", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "name" : "IntWidthMinToThree", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "252", + "r" : "403", + "value" : [ "DateTime", "(", "2012", ", ", "12", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ ")" ] + } ] + }, { + "r" : "433", + "value" : [ " ", "meets", " " ] + }, { + "r" : "430", + "s" : [ { + "value" : [ "DateIvl" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Meets", + "localId" : "433", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "434", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "435", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "436", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "437", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "Interval", + "localId" : "427", + "lowClosed" : true, + "highClosed" : false, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "428", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "429", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "DateTime", + "localId" : "395", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "396", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "397", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "398", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "399", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "400", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "401", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "402", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "379", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "380", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "9", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "381", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "382", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "383", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "384", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "385", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "419", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "420", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "421", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "422", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "423", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "424", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "425", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "426", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "403", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "404", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "12", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "405", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "406", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "407", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "408", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "409", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + } + }, { + "type" : "ExpressionRef", + "localId" : "430", + "name" : "DateIvl", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "431", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "432", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + } ] + } + }, { + "localId" : "440", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "MeetsBeforeDateIvl", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "440", + "s" : [ { + "value" : [ "", "define ", "MeetsBeforeDateIvl", ": " ] + }, { + "r" : "495", + "s" : [ { + "r" : "489", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "457", + "s" : [ { + "r" : "441", + "value" : [ "DateTime", "(", "2012", ", ", "1", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "481", + "s" : [ { + "r" : "465", + "value" : [ "DateTime", "(", "2012", ", ", "3", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ ")" ] + } ] + }, { + "r" : "495", + "value" : [ " ", "meets", " " ] + }, { + "r" : "492", + "s" : [ { + "value" : [ "DateIvl" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Meets", + "localId" : "495", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "496", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "497", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "498", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "499", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "Interval", + "localId" : "489", + "lowClosed" : true, + "highClosed" : false, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "490", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "491", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "DateTime", + "localId" : "457", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "458", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "459", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "460", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "461", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "462", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "463", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "464", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "441", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "442", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "443", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "444", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "445", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "446", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "447", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "481", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "482", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "483", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "484", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "485", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "486", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "487", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "488", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "465", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "466", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "467", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "468", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "469", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "470", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "471", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + } + }, { + "type" : "ExpressionRef", + "localId" : "492", + "name" : "DateIvl", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "493", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "494", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + } ] + } + }, { + "localId" : "502", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "NotMeetsDateIvl", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "502", + "s" : [ { + "value" : [ "", "define ", "NotMeetsDateIvl", ": " ] + }, { + "r" : "557", + "s" : [ { + "r" : "551", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "519", + "s" : [ { + "r" : "503", + "value" : [ "DateTime", "(", "2012", ", ", "1", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "543", + "s" : [ { + "r" : "527", + "value" : [ "DateTime", "(", "2012", ", ", "2", ", ", "29", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ ")" ] + } ] + }, { + "r" : "557", + "value" : [ " ", "meets", " " ] + }, { + "r" : "554", + "s" : [ { + "value" : [ "DateIvl" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Meets", + "localId" : "557", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "558", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "559", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "560", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "561", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "Interval", + "localId" : "551", + "lowClosed" : true, + "highClosed" : false, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "552", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "553", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "DateTime", + "localId" : "519", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "520", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "521", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "522", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "523", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "524", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "525", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "526", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "503", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "504", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "505", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "506", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "507", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "508", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "509", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "543", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "544", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "545", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "546", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "547", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "548", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "549", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "550", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "527", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "528", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "529", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "29", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "530", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "531", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "532", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "533", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + } + }, { + "type" : "ExpressionRef", + "localId" : "554", + "name" : "DateIvl", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "555", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "556", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + } ] + } + }, { + "localId" : "564", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "MayMeetAfterImpreciseDateIvl", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "564", + "s" : [ { + "value" : [ "", "define ", "MayMeetAfterImpreciseDateIvl", ": " ] + }, { + "r" : "589", + "s" : [ { + "r" : "565", + "s" : [ { + "value" : [ "DateIvl" ] + } ] + }, { + "r" : "589", + "value" : [ " ", "meets", " " ] + }, { + "r" : "586", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "574", + "s" : [ { + "r" : "568", + "value" : [ "DateTime", "(", "2012", ", ", "1", ")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "583", "s" : [ { - "value" : [ "","define ","IntWidthMinToThree",": " ] - }, { - "r" : "253", - "s" : [ { - "value" : [ "width of " ] - }, { - "r" : "256", - "s" : [ { - "r" : "254", - "value" : [ "Interval[","null",", ","3","]" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "253", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "Width", - "signature" : [ { - "localId" : "260", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "261", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : { - "localId" : "256", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "258", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "259", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "257", - "asType" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "As", - "signature" : [ ], - "operand" : { - "localId" : "254", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - } - }, - "high" : { - "localId" : "255", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - } - } - } - }, { - "localId" : "264", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "name" : "IntWidthThreeToUnknown", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "264", - "s" : [ { - "value" : [ "","define ","IntWidthThreeToUnknown",": " ] - }, { - "r" : "265", - "s" : [ { - "value" : [ "width of " ] - }, { - "r" : "268", - "s" : [ { - "r" : "266", - "value" : [ "Interval[","3",", ","null",")" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "265", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "Width", - "signature" : [ { - "localId" : "272", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "273", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : { - "localId" : "268", - "lowClosed" : true, - "highClosed" : false, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "270", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "271", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "266", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "high" : { - "localId" : "269", - "asType" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "As", - "signature" : [ ], - "operand" : { - "localId" : "267", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - } - } - } - } - }, { - "localId" : "276", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "name" : "IntWidthUnknownToThree", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "276", + "r" : "577", + "value" : [ "DateTime", "(", "2012", ", ", "2", ")" ] + } ] + }, { + "value" : [ "]" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Meets", + "localId" : "589", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "590", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "591", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "592", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "593", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "ExpressionRef", + "localId" : "565", + "name" : "DateIvl", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "566", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "567", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + }, { + "type" : "Interval", + "localId" : "586", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "587", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "588", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "DateTime", + "localId" : "574", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "575", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "576", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "568", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "569", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "583", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "584", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "585", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "577", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "578", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "annotation" : [ ] + } + } + } ] + } + }, { + "localId" : "596", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "MayMeetBeforeImpreciseDateIvl", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "596", + "s" : [ { + "value" : [ "", "define ", "MayMeetBeforeImpreciseDateIvl", ": " ] + }, { + "r" : "621", + "s" : [ { + "r" : "597", + "s" : [ { + "value" : [ "DateIvl" ] + } ] + }, { + "r" : "621", + "value" : [ " ", "meets", " " ] + }, { + "r" : "618", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "606", + "s" : [ { + "r" : "600", + "value" : [ "DateTime", "(", "2012", ", ", "9", ")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "615", + "s" : [ { + "r" : "609", + "value" : [ "DateTime", "(", "2012", ", ", "12", ")" ] + } ] + }, { + "value" : [ "]" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Meets", + "localId" : "621", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "622", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "623", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "624", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "625", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "ExpressionRef", + "localId" : "597", + "name" : "DateIvl", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "598", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "599", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + }, { + "type" : "Interval", + "localId" : "618", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "619", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "620", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "DateTime", + "localId" : "606", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "607", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "608", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "600", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "601", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "9", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "615", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "616", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "617", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "609", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "610", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "12", + "annotation" : [ ] + } + } + } ] + } + }, { + "localId" : "628", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "NotMeetsImpreciseDateIvl", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "628", + "s" : [ { + "value" : [ "", "define ", "NotMeetsImpreciseDateIvl", ": " ] + }, { + "r" : "653", + "s" : [ { + "r" : "629", + "s" : [ { + "value" : [ "DateIvl" ] + } ] + }, { + "r" : "653", + "value" : [ " ", "meets", " " ] + }, { + "r" : "650", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "638", + "s" : [ { + "r" : "632", + "value" : [ "DateTime", "(", "2012", ", ", "1", ")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "647", + "s" : [ { + "r" : "641", + "value" : [ "DateTime", "(", "2012", ", ", "12", ")" ] + } ] + }, { + "value" : [ "]" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Meets", + "localId" : "653", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "654", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "655", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "656", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "657", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "ExpressionRef", + "localId" : "629", + "name" : "DateIvl", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "630", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "631", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + }, { + "type" : "Interval", + "localId" : "650", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "651", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "652", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "DateTime", + "localId" : "638", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "639", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "640", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "632", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "633", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "647", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "648", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "649", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "641", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "642", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "12", + "annotation" : [ ] + } + } + } ] + } + }, { + "localId" : "660", + "name" : "PrecisionDateIvl", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "660", + "s" : [ { + "value" : [ "", "define ", "PrecisionDateIvl", ": " ] + }, { + "r" : "709", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "677", + "s" : [ { + "r" : "661", + "value" : [ "DateTime", "(", "2012", ", ", "3", ", ", "2", ", ", "12", ", ", "34", ", ", "56", ", ", "789", ")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "701", + "s" : [ { + "r" : "685", + "value" : [ "DateTime", "(", "2012", ", ", "9", ", ", "2", ", ", "1", ", ", "23", ", ", "45", ", ", "678", ")" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "712", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "713", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "expression" : { + "type" : "Interval", + "localId" : "709", + "lowClosed" : true, + "highClosed" : false, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "710", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "711", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "DateTime", + "localId" : "677", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "678", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "679", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "680", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "681", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "682", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "683", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "684", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "661", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "662", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "663", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "664", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "12", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "665", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "34", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "666", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "56", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "667", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "789", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "701", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "702", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "703", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "704", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "705", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "706", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "707", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "708", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "685", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "686", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "9", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "687", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "688", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "689", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "23", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "690", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "45", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "691", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "678", + "annotation" : [ ] + } + } + } + }, { + "localId" : "716", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "MeetsAfterDayOfIvl", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "716", + "s" : [ { + "value" : [ "", "define ", "MeetsAfterDayOfIvl", ": " ] + }, { + "r" : "771", + "s" : [ { + "r" : "717", + "s" : [ { + "value" : [ "PrecisionDateIvl" ] + } ] + }, { + "r" : "771", + "value" : [ " ", "meets day of", " " ] + }, { + "r" : "768", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "736", "s" : [ { - "value" : [ "","define ","IntWidthUnknownToThree",": " ] - }, { - "r" : "277", - "s" : [ { - "value" : [ "width of " ] - }, { - "r" : "280", - "s" : [ { - "r" : "278", - "value" : [ "Interval(","null",", ","3","]" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "277", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "Width", - "signature" : [ { - "localId" : "284", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "285", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : { - "localId" : "280", - "lowClosed" : false, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "282", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "283", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "281", - "asType" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "As", - "signature" : [ ], - "operand" : { - "localId" : "278", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - } - }, - "high" : { - "localId" : "279", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - } - } - } - }, { - "localId" : "288", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "name" : "RealWidth", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "288", + "r" : "720", + "value" : [ "DateTime", "(", "2012", ", ", "1", ", ", "2", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "760", "s" : [ { - "value" : [ "","define ","RealWidth",": " ] - }, { - "r" : "289", - "s" : [ { - "value" : [ "width of " ] - }, { - "r" : "292", - "s" : [ { - "r" : "290", - "value" : [ "Interval[","1.23",", ","4.56","]" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "289", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "Width", - "signature" : [ { - "localId" : "295", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "296", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : { - "localId" : "292", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "293", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "294", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "290", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "1.23", - "type" : "Literal" - }, - "high" : { - "localId" : "291", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "4.56", - "type" : "Literal" - } - } - } - }, { - "localId" : "299", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "name" : "RealOpenWidth", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "299", + "r" : "744", + "value" : [ "DateTime", "(", "2012", ", ", "3", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ "]" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Meets", + "localId" : "771", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "precision" : "Day", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "772", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "773", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "774", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "775", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "ExpressionRef", + "localId" : "717", + "name" : "PrecisionDateIvl", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "718", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "719", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + }, { + "type" : "Interval", + "localId" : "768", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "769", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "770", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "DateTime", + "localId" : "736", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "737", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "738", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "739", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "740", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "741", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "742", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "743", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "720", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "721", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "722", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "723", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "724", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "725", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "726", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "760", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "761", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "762", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "763", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "764", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "765", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "766", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "767", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "744", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "745", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "746", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "747", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "748", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "749", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "750", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + } + } ] + } + }, { + "localId" : "778", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "MeetsBeforeDayOfIvl", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "778", + "s" : [ { + "value" : [ "", "define ", "MeetsBeforeDayOfIvl", ": " ] + }, { + "r" : "833", + "s" : [ { + "r" : "779", + "s" : [ { + "value" : [ "PrecisionDateIvl" ] + } ] + }, { + "r" : "833", + "value" : [ " ", "meets day of", " " ] + }, { + "r" : "830", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "798", "s" : [ { - "value" : [ "","define ","RealOpenWidth",": " ] - }, { - "r" : "300", - "s" : [ { - "value" : [ "width of " ] - }, { - "r" : "303", - "s" : [ { - "r" : "301", - "value" : [ "Interval(","1.23",", ","4.56",")" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "300", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "Width", - "signature" : [ { - "localId" : "306", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "307", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : { - "localId" : "303", - "lowClosed" : false, - "highClosed" : false, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "304", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "305", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "301", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "1.23", - "type" : "Literal" - }, - "high" : { - "localId" : "302", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "4.56", - "type" : "Literal" - } - } - } - }, { - "localId" : "310", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "name" : "WidthOfQuantityInterval", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "310", + "r" : "782", + "value" : [ "DateTime", "(", "2012", ", ", "9", ", ", "3", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "822", "s" : [ { - "value" : [ "","define ","WidthOfQuantityInterval",": " ] - }, { - "r" : "311", - "s" : [ { - "value" : [ "width of " ] - }, { - "r" : "328", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "312", - "s" : [ { - "value" : [ "Quantity","{" ] - }, { - "s" : [ { - "r" : "314", - "value" : [ "value",": ","1" ] - } ] - }, { - "value" : [ ", " ] - }, { - "s" : [ { - "value" : [ "unit",": " ] - }, { - "r" : "318", - "s" : [ { - "value" : [ "'mm'" ] - } ] - } ] - }, { - "value" : [ "}" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "320", - "s" : [ { - "value" : [ "Quantity","{" ] - }, { - "s" : [ { - "r" : "322", - "value" : [ "value",": ","10" ] - } ] - }, { - "value" : [ ", " ] - }, { - "s" : [ { - "value" : [ "unit",": " ] - }, { - "r" : "326", - "s" : [ { - "value" : [ "'mm'" ] - } ] - } ] - }, { - "value" : [ "}" ] - } ] - }, { - "value" : [ "]" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "311", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "Width", - "signature" : [ { - "localId" : "331", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "332", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : { - "localId" : "328", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "329", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "330", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "312", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "classType" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "Instance", - "element" : [ { - "name" : "value", - "value" : { - "localId" : "316", - "type" : "ToDecimal", - "signature" : [ { - "localId" : "317", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "314", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - } - } - }, { - "name" : "unit", - "value" : { - "localId" : "318", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "mm", - "type" : "Literal" - } - } ] - }, - "high" : { - "localId" : "320", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "classType" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "Instance", - "element" : [ { - "name" : "value", - "value" : { - "localId" : "324", - "type" : "ToDecimal", - "signature" : [ { - "localId" : "325", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "322", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal" - } - } - }, { - "name" : "unit", - "value" : { - "localId" : "326", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "mm", - "type" : "Literal" - } - } ] - } - } - } - }, { - "localId" : "335", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "name" : "WidthOfDateTimeInterval", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "335", + "r" : "806", + "value" : [ "DateTime", "(", "2012", ", ", "12", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ "]" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Meets", + "localId" : "833", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "precision" : "Day", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "834", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "835", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "836", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "837", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "ExpressionRef", + "localId" : "779", + "name" : "PrecisionDateIvl", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "780", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "781", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + }, { + "type" : "Interval", + "localId" : "830", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "831", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "832", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "DateTime", + "localId" : "798", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "799", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "800", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "801", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "802", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "803", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "804", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "805", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "782", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "783", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "9", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "784", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "785", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "786", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "787", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "788", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "822", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "823", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "824", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "825", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "826", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "827", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "828", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "829", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "806", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "807", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "12", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "808", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "809", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "810", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "811", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "812", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + } + } ] + } + }, { + "localId" : "840", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "NotMeetsDayOfIvl", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "840", + "s" : [ { + "value" : [ "", "define ", "NotMeetsDayOfIvl", ": " ] + }, { + "r" : "895", + "s" : [ { + "r" : "841", + "s" : [ { + "value" : [ "PrecisionDateIvl" ] + } ] + }, { + "r" : "895", + "value" : [ " ", "meets day of", " " ] + }, { + "r" : "892", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "860", "s" : [ { - "value" : [ "","define ","WidthOfDateTimeInterval",": " ] - }, { - "r" : "336", - "s" : [ { - "value" : [ "width of " ] - }, { - "r" : "361", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "345", - "s" : [ { - "r" : "337", - "value" : [ "DateTime","(","2012",",","01",",","01",")" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "357", - "s" : [ { - "r" : "349", - "value" : [ "DateTime","(","2012",",","01",",","03",")" ] - } ] - }, { - "value" : [ "]" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "336", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "Width", - "signature" : [ { - "localId" : "364", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "365", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : { - "localId" : "361", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "362", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "363", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "345", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "346", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "347", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "348", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "337", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "338", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "01", - "type" : "Literal" - }, - "day" : { - "localId" : "339", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "01", - "type" : "Literal" - } - }, - "high" : { - "localId" : "357", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "358", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "359", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "360", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "349", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "350", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "01", - "type" : "Literal" - }, - "day" : { - "localId" : "351", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "03", - "type" : "Literal" - } - } - } - } - }, { - "localId" : "368", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", - "name" : "WidthOfDateInterval", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "368", + "r" : "844", + "value" : [ "DateTime", "(", "2012", ", ", "1", ", ", "2", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "884", "s" : [ { - "value" : [ "","define ","WidthOfDateInterval",": " ] - }, { - "r" : "369", - "s" : [ { - "value" : [ "width of " ] - }, { - "r" : "394", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "378", - "s" : [ { - "r" : "370", - "value" : [ "Date","(","2012",",","01",",","01",")" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "390", - "s" : [ { - "r" : "382", - "value" : [ "Date","(","2012",",","01",",","03",")" ] - } ] - }, { - "value" : [ "]" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "369", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "Width", - "signature" : [ { - "localId" : "397", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "398", - "name" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : { - "localId" : "394", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "395", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "396", - "name" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "378", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "Date", - "signature" : [ { - "localId" : "379", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "380", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "381", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "370", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "371", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "01", - "type" : "Literal" - }, - "day" : { - "localId" : "372", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "01", - "type" : "Literal" - } - }, - "high" : { - "localId" : "390", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "Date", - "signature" : [ { - "localId" : "391", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "392", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "393", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "382", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "383", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "01", - "type" : "Literal" - }, - "day" : { - "localId" : "384", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "03", - "type" : "Literal" - } - } - } - } - }, { - "localId" : "401", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Time", - "name" : "WidthOfTimeInterval", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "401", + "r" : "868", + "value" : [ "DateTime", "(", "2012", ", ", "3", ", ", "2", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ "]" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Meets", + "localId" : "895", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "precision" : "Day", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "896", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "897", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "898", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "899", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "ExpressionRef", + "localId" : "841", + "name" : "PrecisionDateIvl", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "842", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "843", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + }, { + "type" : "Interval", + "localId" : "892", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "893", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "894", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "DateTime", + "localId" : "860", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "861", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "862", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "863", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "864", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "865", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "866", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "867", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "844", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "845", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "846", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "847", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "848", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "849", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "850", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "884", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "885", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "886", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "887", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "888", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "889", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "890", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "891", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "868", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "869", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "870", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "871", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "872", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "873", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "874", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + } + } ] + } + }, { + "localId" : "902", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "NotMeetsDayOfImpreciseIVL", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "902", + "s" : [ { + "value" : [ "", "define ", "NotMeetsDayOfImpreciseIVL", ": " ] + }, { + "r" : "927", + "s" : [ { + "r" : "903", + "s" : [ { + "value" : [ "PrecisionDateIvl" ] + } ] + }, { + "r" : "927", + "value" : [ " ", "meets day of", " " ] + }, { + "r" : "924", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "912", + "s" : [ { + "r" : "906", + "value" : [ "DateTime", "(", "2012", ", ", "1", ")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "921", + "s" : [ { + "r" : "915", + "value" : [ "DateTime", "(", "2012", ", ", "2", ")" ] + } ] + }, { + "value" : [ "]" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Meets", + "localId" : "927", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "precision" : "Day", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "928", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "929", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "930", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "931", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "ExpressionRef", + "localId" : "903", + "name" : "PrecisionDateIvl", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "904", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "905", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + }, { + "type" : "Interval", + "localId" : "924", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "925", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "926", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "DateTime", + "localId" : "912", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "913", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "914", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "906", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "907", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "921", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "922", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "923", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "915", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "916", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "annotation" : [ ] + } + } + } ] + } + }, { + "localId" : "934", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "MayMeetAfterDayOfImpreciseIvl", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "934", + "s" : [ { + "value" : [ "", "define ", "MayMeetAfterDayOfImpreciseIvl", ": " ] + }, { + "r" : "959", + "s" : [ { + "r" : "935", + "s" : [ { + "value" : [ "PrecisionDateIvl" ] + } ] + }, { + "r" : "959", + "value" : [ " ", "meets day of", " " ] + }, { + "r" : "956", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "944", + "s" : [ { + "r" : "938", + "value" : [ "DateTime", "(", "2012", ", ", "1", ")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "953", + "s" : [ { + "r" : "947", + "value" : [ "DateTime", "(", "2012", ", ", "3", ")" ] + } ] + }, { + "value" : [ "]" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Meets", + "localId" : "959", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "precision" : "Day", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "960", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "961", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "962", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "963", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "ExpressionRef", + "localId" : "935", + "name" : "PrecisionDateIvl", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "936", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "937", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + }, { + "type" : "Interval", + "localId" : "956", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "957", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "958", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "DateTime", + "localId" : "944", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "945", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "946", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "938", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "939", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "953", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "954", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "955", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "947", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "948", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + } + } + } ] + } + }, { + "localId" : "966", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "MayMeetBeforeDayOfImpreciseIvl", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "966", + "s" : [ { + "value" : [ "", "define ", "MayMeetBeforeDayOfImpreciseIvl", ": " ] + }, { + "r" : "991", + "s" : [ { + "r" : "967", + "s" : [ { + "value" : [ "PrecisionDateIvl" ] + } ] + }, { + "r" : "991", + "value" : [ " ", "meets day of", " " ] + }, { + "r" : "988", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "976", "s" : [ { - "value" : [ "","define ","WidthOfTimeInterval",": " ] - }, { - "r" : "402", - "s" : [ { - "value" : [ "width of " ] - }, { - "r" : "427", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "411", - "s" : [ { - "r" : "403", - "value" : [ "Time","(","12",",","00",",","00",")" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "423", - "s" : [ { - "r" : "415", - "value" : [ "Time","(","12",",","30",",","02",")" ] - } ] - }, { - "value" : [ "]" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "402", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Time", - "type" : "Width", - "signature" : [ { - "localId" : "430", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "431", - "name" : "{urn:hl7-org:elm-types:r1}Time", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : { - "localId" : "427", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "428", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "429", - "name" : "{urn:hl7-org:elm-types:r1}Time", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "411", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Time", - "type" : "Time", - "signature" : [ { - "localId" : "412", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "413", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "414", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "hour" : { - "localId" : "403", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "12", - "type" : "Literal" - }, - "minute" : { - "localId" : "404", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "00", - "type" : "Literal" - }, - "second" : { - "localId" : "405", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "00", - "type" : "Literal" - } - }, - "high" : { - "localId" : "423", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Time", - "type" : "Time", - "signature" : [ { - "localId" : "424", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "425", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "426", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "hour" : { - "localId" : "415", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "12", - "type" : "Literal" - }, - "minute" : { - "localId" : "416", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "30", - "type" : "Literal" - }, - "second" : { - "localId" : "417", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "02", - "type" : "Literal" - } - } - } - } - } ] - } - } -} - -/* Size -library TestSnippet version '1' -using Simple version '1.0.0' -context Patient -define IntSize: Size(Interval[-2, 5]) -define IntOpenSize: Size(Interval(-2, 5)) -define IntSizeThreeToMax: Size(Interval[3, null]) -define IntSizeMinToThree: Size(Interval[null, 3]) -define IntSizeThreeToUnknown: Size(Interval[3, null)) -define IntSizeUnknownToThree: Size(Interval(null, 3]) -define RealSize: Size(Interval[1.23, 4.56]) -define RealOpenSize: Size(Interval(1.23, 4.56)) -define SizeIsNull: Size(null as Interval) -define SizeOfQuantityInterval: Size(Interval[Quantity{value: 1, unit: 'mm'}, Quantity{value: 10, unit: 'mm'}]) -define SizeOfDateTimeInterval: Size(Interval[DateTime(2012,01,01), DateTime(2012,01,03)]) -define SizeOfDateInterval: Size(Interval[Date(2012,01,01), Date(2012,01,03)]) -define SizeOfTimeInterval: Size(Interval[Time(12,00,00), Time(12,30,02)]) -*/ - -module.exports['Size'] = { - "library" : { - "localId" : "0", - "annotation" : [ { - "translatorVersion" : "3.27.0", - "translatorOptions" : "EnableDateRangeOptimization,EnableAnnotations,EnableResultTypes", - "signatureLevel" : "All", - "type" : "CqlToElmInfo" - }, { - "type" : "Annotation", - "s" : { - "r" : "463", + "r" : "970", + "value" : [ "DateTime", "(", "2012", ", ", "9", ")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "985", + "s" : [ { + "r" : "979", + "value" : [ "DateTime", "(", "2012", ", ", "12", ")" ] + } ] + }, { + "value" : [ "]" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Meets", + "localId" : "991", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "precision" : "Day", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "992", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "993", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "994", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "995", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "ExpressionRef", + "localId" : "967", + "name" : "PrecisionDateIvl", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "968", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "969", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + }, { + "type" : "Interval", + "localId" : "988", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "989", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "990", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "DateTime", + "localId" : "976", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "977", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "978", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "970", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "971", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "9", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "985", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "986", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "987", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "979", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "980", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "12", + "annotation" : [ ] + } + } + } ] + } + }, { + "localId" : "998", + "name" : "ImpDateIvl", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "998", + "s" : [ { + "value" : [ "", "define ", "ImpDateIvl", ": " ] + }, { + "r" : "1017", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "1005", + "s" : [ { + "r" : "999", + "value" : [ "DateTime", "(", "2012", ", ", "3", ")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "1014", + "s" : [ { + "r" : "1008", + "value" : [ "DateTime", "(", "2012", ", ", "8", ")" ] + } ] + }, { + "value" : [ "]" ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1020", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1021", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "expression" : { + "type" : "Interval", + "localId" : "1017", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1018", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1019", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "DateTime", + "localId" : "1005", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1006", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1007", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "999", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1000", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "1014", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1015", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1016", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1008", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1009", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "8", + "annotation" : [ ] + } + } + } + }, { + "localId" : "1024", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "ImpreciseMayMeetAfterDateIvl", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "1024", + "s" : [ { + "value" : [ "", "define ", "ImpreciseMayMeetAfterDateIvl", ": " ] + }, { + "r" : "1079", + "s" : [ { + "r" : "1025", + "s" : [ { + "value" : [ "ImpDateIvl" ] + } ] + }, { + "r" : "1079", + "value" : [ " ", "meets", " " ] + }, { + "r" : "1076", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "1044", + "s" : [ { + "r" : "1028", + "value" : [ "DateTime", "(", "2012", ", ", "1", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "1068", + "s" : [ { + "r" : "1052", + "value" : [ "DateTime", "(", "2012", ", ", "2", ", ", "29", ", ", "23", ", ", "59", ", ", "59", ", ", "999", ")" ] + } ] + }, { + "value" : [ "]" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Meets", + "localId" : "1079", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "1080", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1081", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "1082", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1083", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "ExpressionRef", + "localId" : "1025", + "name" : "ImpDateIvl", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1026", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1027", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + }, { + "type" : "Interval", + "localId" : "1076", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1077", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1078", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "DateTime", + "localId" : "1044", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1045", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1046", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1047", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1048", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1049", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1050", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1051", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1028", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1029", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "1030", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "1031", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "1032", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "1033", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "1034", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "1068", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1069", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1070", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1071", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1072", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1073", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1074", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1075", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1052", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1053", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "1054", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "29", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "1055", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "23", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "1056", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "59", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "1057", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "59", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "1058", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "999", + "annotation" : [ ] + } + } + } ] + } + }, { + "localId" : "1086", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "ImpreciseMayMeetBeforeDateIvl", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "1086", "s" : [ { - "value" : [ "","library TestSnippet version '1'" ] - } ] - } - } ], - "identifier" : { - "id" : "TestSnippet", - "version" : "1" - }, - "schemaIdentifier" : { - "id" : "urn:hl7-org:elm", - "version" : "r1" - }, - "usings" : { - "def" : [ { - "localId" : "1", - "localIdentifier" : "System", - "uri" : "urn:hl7-org:elm-types:r1" - }, { - "localId" : "206", - "localIdentifier" : "Simple", - "uri" : "https://github.com/cqframework/cql-execution/simple", - "version" : "1.0.0", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "206", - "s" : [ { - "value" : [ "","using " ] - }, { - "s" : [ { - "value" : [ "Simple" ] - } ] - }, { - "value" : [ " version '1.0.0'" ] - } ] - } - } ] - } ] - }, - "contexts" : { - "def" : [ { - "localId" : "211", - "name" : "Patient" - } ] - }, - "statements" : { - "def" : [ { - "localId" : "209", - "name" : "Patient", - "context" : "Patient", - "expression" : { - "localId" : "210", - "type" : "SingletonFrom", - "signature" : [ ], - "operand" : { - "localId" : "208", - "dataType" : "{https://github.com/cqframework/cql-execution/simple}Patient", - "type" : "Retrieve", - "include" : [ ], - "codeFilter" : [ ], - "dateFilter" : [ ], - "otherFilter" : [ ] - } - } - }, { - "localId" : "214", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "name" : "IntSize", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "214", - "s" : [ { - "value" : [ "","define ","IntSize",": " ] - }, { - "r" : "226", - "s" : [ { - "value" : [ "Size","(" ] - }, { - "r" : "219", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "215", - "s" : [ { - "r" : "216", - "value" : [ "-","2" ] - } ] - }, { - "r" : "218", - "value" : [ ", ","5","]" ] - } ] - }, { - "value" : [ ")" ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "226", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "Size", - "signature" : [ { - "localId" : "227", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "228", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : { - "localId" : "219", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "220", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "221", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "215", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "Negate", - "signature" : [ { - "localId" : "217", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "216", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal" - } - }, - "high" : { - "localId" : "218", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal" - } - } - } - }, { - "localId" : "231", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "name" : "IntOpenSize", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "231", - "s" : [ { - "value" : [ "","define ","IntOpenSize",": " ] - }, { - "r" : "243", - "s" : [ { - "value" : [ "Size","(" ] - }, { - "r" : "236", - "s" : [ { - "value" : [ "Interval(" ] - }, { - "r" : "232", - "s" : [ { - "r" : "233", - "value" : [ "-","2" ] - } ] - }, { - "r" : "235", - "value" : [ ", ","5",")" ] - } ] - }, { - "value" : [ ")" ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "243", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "Size", - "signature" : [ { - "localId" : "244", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "245", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : { - "localId" : "236", - "lowClosed" : false, - "highClosed" : false, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "237", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "238", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "232", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "Negate", - "signature" : [ { - "localId" : "234", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "233", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal" - } - }, - "high" : { - "localId" : "235", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal" - } - } - } - }, { - "localId" : "248", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "name" : "IntSizeThreeToMax", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "248", - "s" : [ { - "value" : [ "","define ","IntSizeThreeToMax",": " ] - }, { - "r" : "259", - "s" : [ { - "value" : [ "Size","(" ] - }, { - "r" : "251", - "s" : [ { - "r" : "249", - "value" : [ "Interval[","3",", ","null","]" ] - } ] - }, { - "value" : [ ")" ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "259", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "Size", - "signature" : [ { - "localId" : "260", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "261", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : { - "localId" : "251", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "253", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "254", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "249", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "high" : { - "localId" : "252", - "asType" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "As", - "signature" : [ ], - "operand" : { - "localId" : "250", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - } - } - } - } - }, { - "localId" : "264", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "name" : "IntSizeMinToThree", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "264", - "s" : [ { - "value" : [ "","define ","IntSizeMinToThree",": " ] - }, { - "r" : "275", - "s" : [ { - "value" : [ "Size","(" ] - }, { - "r" : "267", - "s" : [ { - "r" : "265", - "value" : [ "Interval[","null",", ","3","]" ] - } ] - }, { - "value" : [ ")" ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "275", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "Size", - "signature" : [ { - "localId" : "276", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "277", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : { - "localId" : "267", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "269", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "270", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "268", - "asType" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "As", - "signature" : [ ], - "operand" : { - "localId" : "265", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - } - }, - "high" : { - "localId" : "266", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - } - } - } - }, { - "localId" : "280", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "name" : "IntSizeThreeToUnknown", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "280", + "value" : [ "", "define ", "ImpreciseMayMeetBeforeDateIvl", ": " ] + }, { + "r" : "1141", + "s" : [ { + "r" : "1087", + "s" : [ { + "value" : [ "ImpDateIvl" ] + } ] + }, { + "r" : "1141", + "value" : [ " ", "meets", " " ] + }, { + "r" : "1138", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "1106", "s" : [ { - "value" : [ "","define ","IntSizeThreeToUnknown",": " ] - }, { - "r" : "291", - "s" : [ { - "value" : [ "Size","(" ] - }, { - "r" : "283", - "s" : [ { - "r" : "281", - "value" : [ "Interval[","3",", ","null",")" ] - } ] - }, { - "value" : [ ")" ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "291", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "Size", - "signature" : [ { - "localId" : "292", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "293", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : { - "localId" : "283", - "lowClosed" : true, - "highClosed" : false, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "285", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "286", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "281", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "high" : { - "localId" : "284", - "asType" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "As", - "signature" : [ ], - "operand" : { - "localId" : "282", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - } - } - } - } - }, { - "localId" : "296", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "name" : "IntSizeUnknownToThree", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "296", + "r" : "1090", + "value" : [ "DateTime", "(", "2012", ", ", "9", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "1130", + "s" : [ { + "r" : "1114", + "value" : [ "DateTime", "(", "2012", ", ", "12", ", ", "31", ", ", "23", ", ", "59", ", ", "59", ", ", "999", ")" ] + } ] + }, { + "value" : [ "]" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Meets", + "localId" : "1141", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "1142", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1143", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "1144", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1145", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "ExpressionRef", + "localId" : "1087", + "name" : "ImpDateIvl", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1088", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1089", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + }, { + "type" : "Interval", + "localId" : "1138", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1139", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1140", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "DateTime", + "localId" : "1106", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1107", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1108", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1109", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1110", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1111", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1112", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1113", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1090", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1091", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "9", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "1092", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "1093", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "1094", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "1095", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "1096", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "1130", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1131", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1132", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1133", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1134", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1135", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1136", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1137", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1114", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1115", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "12", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "1116", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "31", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "1117", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "23", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "1118", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "59", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "1119", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "59", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "1120", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "999", + "annotation" : [ ] + } + } + } ] + } + }, { + "localId" : "1148", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "ImpreciseNotMeetsDateIvl", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "1148", + "s" : [ { + "value" : [ "", "define ", "ImpreciseNotMeetsDateIvl", ": " ] + }, { + "r" : "1203", + "s" : [ { + "r" : "1149", + "s" : [ { + "value" : [ "ImpDateIvl" ] + } ] + }, { + "r" : "1203", + "value" : [ " ", "meets", " " ] + }, { + "r" : "1200", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "1168", + "s" : [ { + "r" : "1152", + "value" : [ "DateTime", "(", "2012", ", ", "1", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "1192", + "s" : [ { + "r" : "1176", + "value" : [ "DateTime", "(", "2012", ", ", "12", ", ", "31", ", ", "23", ", ", "59", ", ", "59", ", ", "999", ")" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Meets", + "localId" : "1203", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "1204", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1205", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "1206", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1207", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "ExpressionRef", + "localId" : "1149", + "name" : "ImpDateIvl", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1150", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1151", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + }, { + "type" : "Interval", + "localId" : "1200", + "lowClosed" : true, + "highClosed" : false, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1201", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1202", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "DateTime", + "localId" : "1168", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1169", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1170", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1171", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1172", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1173", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1174", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1175", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1152", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1153", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "1154", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "1155", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "1156", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "1157", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "1158", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "1192", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1193", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1194", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1195", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1196", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1197", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1198", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1199", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1176", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1177", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "12", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "1178", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "31", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "1179", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "23", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "1180", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "59", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "1181", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "59", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "1182", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "999", + "annotation" : [ ] + } + } + } ] + } + }, { + "localId" : "1210", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "NegInfBegMeetsBeforeIntIvl", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "1210", + "s" : [ { + "value" : [ "", "define ", "NegInfBegMeetsBeforeIntIvl", ": " ] + }, { + "r" : "1222", + "s" : [ { + "r" : "1213", + "s" : [ { + "r" : "1211", + "value" : [ "Interval[", "null", ", ", "100", "]" ] + } ] + }, { + "r" : "1222", + "value" : [ " ", "meets", " " ] + }, { + "r" : "1219", + "s" : [ { + "r" : "1217", + "value" : [ "Interval[", "101", ", ", "200", "]" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Meets", + "localId" : "1222", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "1223", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1224", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "1225", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1226", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "Interval", + "localId" : "1213", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1215", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1216", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "low" : { + "type" : "As", + "localId" : "1214", + "asType" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Null", + "localId" : "1211", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } + }, + "high" : { + "type" : "Literal", + "localId" : "1212", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "100", + "annotation" : [ ] + } + }, { + "type" : "Interval", + "localId" : "1219", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1220", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1221", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "low" : { + "type" : "Literal", + "localId" : "1217", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "101", + "annotation" : [ ] + }, + "high" : { + "type" : "Literal", + "localId" : "1218", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "200", + "annotation" : [ ] + } + } ] + } + }, { + "localId" : "1229", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "NegInfBegNotMeetsIntIvl", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "1229", + "s" : [ { + "value" : [ "", "define ", "NegInfBegNotMeetsIntIvl", ": " ] + }, { + "r" : "1241", + "s" : [ { + "r" : "1232", + "s" : [ { + "r" : "1230", + "value" : [ "Interval[", "null", ", ", "100", "]" ] + } ] + }, { + "r" : "1241", + "value" : [ " ", "meets", " " ] + }, { + "r" : "1238", + "s" : [ { + "r" : "1236", + "value" : [ "Interval[", "100", ", ", "200", "]" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Meets", + "localId" : "1241", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "1242", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1243", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "1244", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1245", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "Interval", + "localId" : "1232", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1234", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1235", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "low" : { + "type" : "As", + "localId" : "1233", + "asType" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Null", + "localId" : "1230", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } + }, + "high" : { + "type" : "Literal", + "localId" : "1231", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "100", + "annotation" : [ ] + } + }, { + "type" : "Interval", + "localId" : "1238", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1239", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1240", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "low" : { + "type" : "Literal", + "localId" : "1236", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "100", + "annotation" : [ ] + }, + "high" : { + "type" : "Literal", + "localId" : "1237", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "200", + "annotation" : [ ] + } + } ] + } + }, { + "localId" : "1248", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "IntIvlNotMeetsNegInfBeg", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "1248", + "s" : [ { + "value" : [ "", "define ", "IntIvlNotMeetsNegInfBeg", ": " ] + }, { + "r" : "1260", + "s" : [ { + "r" : "1251", + "s" : [ { + "r" : "1249", + "value" : [ "Interval[", "100", ", ", "200", "]" ] + } ] + }, { + "r" : "1260", + "value" : [ " ", "meets", " " ] + }, { + "r" : "1256", + "s" : [ { + "r" : "1254", + "value" : [ "Interval[", "null", ", ", "400", "]" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Meets", + "localId" : "1260", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "1261", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1262", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "1263", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1264", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "Interval", + "localId" : "1251", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1252", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1253", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "low" : { + "type" : "Literal", + "localId" : "1249", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "100", + "annotation" : [ ] + }, + "high" : { + "type" : "Literal", + "localId" : "1250", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "200", + "annotation" : [ ] + } + }, { + "type" : "Interval", + "localId" : "1256", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1258", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1259", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "low" : { + "type" : "As", + "localId" : "1257", + "asType" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Null", + "localId" : "1254", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } + }, + "high" : { + "type" : "Literal", + "localId" : "1255", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "400", + "annotation" : [ ] + } + } ] + } + }, { + "localId" : "1267", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "UnknownBegMeetsBeforeIntIvl", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "1267", + "s" : [ { + "value" : [ "", "define ", "UnknownBegMeetsBeforeIntIvl", ": " ] + }, { + "r" : "1279", + "s" : [ { + "r" : "1270", + "s" : [ { + "r" : "1268", + "value" : [ "Interval(", "null", ", ", "100", "]" ] + } ] + }, { + "r" : "1279", + "value" : [ " ", "meets", " " ] + }, { + "r" : "1276", + "s" : [ { + "r" : "1274", + "value" : [ "Interval[", "101", ", ", "200", "]" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Meets", + "localId" : "1279", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "1280", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1281", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "1282", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1283", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "Interval", + "localId" : "1270", + "lowClosed" : false, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1272", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1273", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "low" : { + "type" : "As", + "localId" : "1271", + "asType" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Null", + "localId" : "1268", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } + }, + "high" : { + "type" : "Literal", + "localId" : "1269", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "100", + "annotation" : [ ] + } + }, { + "type" : "Interval", + "localId" : "1276", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1277", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1278", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "low" : { + "type" : "Literal", + "localId" : "1274", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "101", + "annotation" : [ ] + }, + "high" : { + "type" : "Literal", + "localId" : "1275", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "200", + "annotation" : [ ] + } + } ] + } + }, { + "localId" : "1286", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "UnknownBegMayMeetAfterIntIvl", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "1286", + "s" : [ { + "value" : [ "", "define ", "UnknownBegMayMeetAfterIntIvl", ": " ] + }, { + "r" : "1298", + "s" : [ { + "r" : "1289", + "s" : [ { + "r" : "1287", + "value" : [ "Interval(", "null", ", ", "100", "]" ] + } ] + }, { + "r" : "1298", + "value" : [ " ", "meets", " " ] + }, { + "r" : "1295", + "s" : [ { + "r" : "1293", + "value" : [ "Interval[", "0", ", ", "50", "]" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Meets", + "localId" : "1298", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "1299", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1300", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "1301", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1302", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "Interval", + "localId" : "1289", + "lowClosed" : false, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1291", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1292", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "low" : { + "type" : "As", + "localId" : "1290", + "asType" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Null", + "localId" : "1287", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } + }, + "high" : { + "type" : "Literal", + "localId" : "1288", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "100", + "annotation" : [ ] + } + }, { + "type" : "Interval", + "localId" : "1295", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1296", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1297", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "low" : { + "type" : "Literal", + "localId" : "1293", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "high" : { + "type" : "Literal", + "localId" : "1294", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "50", + "annotation" : [ ] + } + } ] + } + }, { + "localId" : "1305", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "UnknownBegNotMeetsIntIvl", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "1305", + "s" : [ { + "value" : [ "", "define ", "UnknownBegNotMeetsIntIvl", ": " ] + }, { + "r" : "1317", + "s" : [ { + "r" : "1308", + "s" : [ { + "r" : "1306", + "value" : [ "Interval(", "null", ", ", "5", "]" ] + } ] + }, { + "r" : "1317", + "value" : [ " ", "meets", " " ] + }, { + "r" : "1314", + "s" : [ { + "r" : "1312", + "value" : [ "Interval[", "0", ", ", "100", "]" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Meets", + "localId" : "1317", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "1318", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1319", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "1320", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1321", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "Interval", + "localId" : "1308", + "lowClosed" : false, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1310", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1311", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "low" : { + "type" : "As", + "localId" : "1309", + "asType" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Null", + "localId" : "1306", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } + }, + "high" : { + "type" : "Literal", + "localId" : "1307", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "5", + "annotation" : [ ] + } + }, { + "type" : "Interval", + "localId" : "1314", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1315", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1316", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "low" : { + "type" : "Literal", + "localId" : "1312", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "high" : { + "type" : "Literal", + "localId" : "1313", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "100", + "annotation" : [ ] + } + } ] + } + }, { + "localId" : "1324", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "IntIvlMayMeetBeforeUnknownBeg", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "1324", + "s" : [ { + "value" : [ "", "define ", "IntIvlMayMeetBeforeUnknownBeg", ": " ] + }, { + "r" : "1336", + "s" : [ { + "r" : "1327", + "s" : [ { + "r" : "1325", + "value" : [ "Interval[", "0", ", ", "100", "]" ] + } ] + }, { + "r" : "1336", + "value" : [ " ", "meets", " " ] + }, { + "r" : "1332", + "s" : [ { + "r" : "1330", + "value" : [ "Interval(", "null", ", ", "400", ")" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Meets", + "localId" : "1336", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "1337", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1338", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "1339", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1340", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "Interval", + "localId" : "1327", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1328", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1329", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "low" : { + "type" : "Literal", + "localId" : "1325", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "high" : { + "type" : "Literal", + "localId" : "1326", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "100", + "annotation" : [ ] + } + }, { + "type" : "Interval", + "localId" : "1332", + "lowClosed" : false, + "highClosed" : false, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1334", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1335", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "low" : { + "type" : "As", + "localId" : "1333", + "asType" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Null", + "localId" : "1330", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } + }, + "high" : { + "type" : "Literal", + "localId" : "1331", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "400", + "annotation" : [ ] + } + } ] + } + }, { + "localId" : "1343", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "PosInfEndMeetsAfterIntIvl", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "1343", + "s" : [ { + "value" : [ "", "define ", "PosInfEndMeetsAfterIntIvl", ": " ] + }, { + "r" : "1355", + "s" : [ { + "r" : "1346", + "s" : [ { + "r" : "1344", + "value" : [ "Interval[", "100", ", ", "null", "]" ] + } ] + }, { + "r" : "1355", + "value" : [ " ", "meets", " " ] + }, { + "r" : "1352", + "s" : [ { + "r" : "1350", + "value" : [ "Interval[", "0", ", ", "99", "]" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Meets", + "localId" : "1355", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "1356", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1357", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "1358", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1359", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "Interval", + "localId" : "1346", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1348", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1349", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "low" : { + "type" : "Literal", + "localId" : "1344", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "100", + "annotation" : [ ] + }, + "high" : { + "type" : "As", + "localId" : "1347", + "asType" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Null", + "localId" : "1345", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } + } + }, { + "type" : "Interval", + "localId" : "1352", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1353", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1354", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "low" : { + "type" : "Literal", + "localId" : "1350", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "high" : { + "type" : "Literal", + "localId" : "1351", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "99", + "annotation" : [ ] + } + } ] + } + }, { + "localId" : "1362", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "PosInfEndNotMeetsIntIvl", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "1362", + "s" : [ { + "value" : [ "", "define ", "PosInfEndNotMeetsIntIvl", ": " ] + }, { + "r" : "1374", + "s" : [ { + "r" : "1365", + "s" : [ { + "r" : "1363", + "value" : [ "Interval[", "0", ", ", "null", "]" ] + } ] + }, { + "r" : "1374", + "value" : [ " ", "meets", " " ] + }, { + "r" : "1371", + "s" : [ { + "r" : "1369", + "value" : [ "Interval[", "1000", ", ", "2000", "]" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Meets", + "localId" : "1374", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "1375", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1376", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "1377", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1378", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "Interval", + "localId" : "1365", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1367", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1368", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "low" : { + "type" : "Literal", + "localId" : "1363", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "high" : { + "type" : "As", + "localId" : "1366", + "asType" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Null", + "localId" : "1364", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } + } + }, { + "type" : "Interval", + "localId" : "1371", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1372", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1373", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "low" : { + "type" : "Literal", + "localId" : "1369", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1000", + "annotation" : [ ] + }, + "high" : { + "type" : "Literal", + "localId" : "1370", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + } + } ] + } + }, { + "localId" : "1381", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "IntIvlNotMeetsPosInfEnd", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "1381", + "s" : [ { + "value" : [ "", "define ", "IntIvlNotMeetsPosInfEnd", ": " ] + }, { + "r" : "1393", + "s" : [ { + "r" : "1384", + "s" : [ { + "r" : "1382", + "value" : [ "Interval[", "100", ", ", "200", "]" ] + } ] + }, { + "r" : "1393", + "value" : [ " ", "meets", " " ] + }, { + "r" : "1389", + "s" : [ { + "r" : "1387", + "value" : [ "Interval[", "0", ", ", "null", "]" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Meets", + "localId" : "1393", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "1394", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1395", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "1396", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1397", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "Interval", + "localId" : "1384", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1385", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1386", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "low" : { + "type" : "Literal", + "localId" : "1382", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "100", + "annotation" : [ ] + }, + "high" : { + "type" : "Literal", + "localId" : "1383", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "200", + "annotation" : [ ] + } + }, { + "type" : "Interval", + "localId" : "1389", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1391", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1392", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "low" : { + "type" : "Literal", + "localId" : "1387", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "high" : { + "type" : "As", + "localId" : "1390", + "asType" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Null", + "localId" : "1388", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } + } + } ] + } + }, { + "localId" : "1400", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "UnknownEndMeetsAfterIntIvl", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "1400", + "s" : [ { + "value" : [ "", "define ", "UnknownEndMeetsAfterIntIvl", ": " ] + }, { + "r" : "1412", + "s" : [ { + "r" : "1403", + "s" : [ { + "r" : "1401", + "value" : [ "Interval[", "100", ", ", "null", ")" ] + } ] + }, { + "r" : "1412", + "value" : [ " ", "meets", " " ] + }, { + "r" : "1409", + "s" : [ { + "r" : "1407", + "value" : [ "Interval[", "0", ", ", "99", "]" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Meets", + "localId" : "1412", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "1413", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1414", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "1415", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1416", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "Interval", + "localId" : "1403", + "lowClosed" : true, + "highClosed" : false, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1405", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1406", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "low" : { + "type" : "Literal", + "localId" : "1401", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "100", + "annotation" : [ ] + }, + "high" : { + "type" : "As", + "localId" : "1404", + "asType" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Null", + "localId" : "1402", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } + } + }, { + "type" : "Interval", + "localId" : "1409", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1410", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1411", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "low" : { + "type" : "Literal", + "localId" : "1407", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "high" : { + "type" : "Literal", + "localId" : "1408", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "99", + "annotation" : [ ] + } + } ] + } + }, { + "localId" : "1419", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "UnknownEndMayMeetBeforeIntIvl", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "1419", + "s" : [ { + "value" : [ "", "define ", "UnknownEndMayMeetBeforeIntIvl", ": " ] + }, { + "r" : "1431", + "s" : [ { + "r" : "1422", + "s" : [ { + "r" : "1420", + "value" : [ "Interval[", "0", ", ", "null", ")" ] + } ] + }, { + "r" : "1431", + "value" : [ " ", "meets", " " ] + }, { + "r" : "1428", + "s" : [ { + "r" : "1426", + "value" : [ "Interval[", "50", ", ", "100", "]" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Meets", + "localId" : "1431", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "1432", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1433", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "1434", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1435", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "Interval", + "localId" : "1422", + "lowClosed" : true, + "highClosed" : false, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1424", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1425", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "low" : { + "type" : "Literal", + "localId" : "1420", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "high" : { + "type" : "As", + "localId" : "1423", + "asType" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Null", + "localId" : "1421", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } + } + }, { + "type" : "Interval", + "localId" : "1428", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1429", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1430", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "low" : { + "type" : "Literal", + "localId" : "1426", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "50", + "annotation" : [ ] + }, + "high" : { + "type" : "Literal", + "localId" : "1427", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "100", + "annotation" : [ ] + } + } ] + } + }, { + "localId" : "1438", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "UnknownEndNotMeetsIntIvl", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "1438", + "s" : [ { + "value" : [ "", "define ", "UnknownEndNotMeetsIntIvl", ": " ] + }, { + "r" : "1450", + "s" : [ { + "r" : "1441", + "s" : [ { + "r" : "1439", + "value" : [ "Interval[", "0", ", ", "null", ")" ] + } ] + }, { + "r" : "1450", + "value" : [ " ", "meets", " " ] + }, { + "r" : "1447", + "s" : [ { + "r" : "1445", + "value" : [ "Interval[", "0", ", ", "100", "]" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Meets", + "localId" : "1450", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "1451", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1452", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "1453", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1454", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "Interval", + "localId" : "1441", + "lowClosed" : true, + "highClosed" : false, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1443", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1444", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "low" : { + "type" : "Literal", + "localId" : "1439", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "high" : { + "type" : "As", + "localId" : "1442", + "asType" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Null", + "localId" : "1440", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } + } + }, { + "type" : "Interval", + "localId" : "1447", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1448", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1449", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "low" : { + "type" : "Literal", + "localId" : "1445", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "high" : { + "type" : "Literal", + "localId" : "1446", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "100", + "annotation" : [ ] + } + } ] + } + }, { + "localId" : "1457", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "IntIvlMayMeetAfterUnknownEnd", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "1457", + "s" : [ { + "value" : [ "", "define ", "IntIvlMayMeetAfterUnknownEnd", ": " ] + }, { + "r" : "1471", + "s" : [ { + "r" : "1460", + "s" : [ { + "r" : "1458", + "value" : [ "Interval[", "0", ", ", "100", "]" ] + } ] + }, { + "r" : "1471", + "value" : [ " ", "meets", " " ] + }, { + "r" : "1467", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "1463", + "s" : [ { + "r" : "1464", + "value" : [ "-", "100" ] + } ] + }, { + "r" : "1466", + "value" : [ ", ", "null", ")" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Meets", + "localId" : "1471", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "1472", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1473", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "1474", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1475", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "Interval", + "localId" : "1460", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1461", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1462", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "low" : { + "type" : "Literal", + "localId" : "1458", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "high" : { + "type" : "Literal", + "localId" : "1459", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "100", + "annotation" : [ ] + } + }, { + "type" : "Interval", + "localId" : "1467", + "lowClosed" : true, + "highClosed" : false, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1469", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1470", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "low" : { + "type" : "Negate", + "localId" : "1463", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1465", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "operand" : { + "type" : "Literal", + "localId" : "1464", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "100", + "annotation" : [ ] + } + }, + "high" : { + "type" : "As", + "localId" : "1468", + "asType" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Null", + "localId" : "1466", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } + } + } ] + } + }, { + "localId" : "1478", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "NegInfBegMeetsBeforeDateIvl", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "1478", + "s" : [ { + "value" : [ "", "define ", "NegInfBegMeetsBeforeDateIvl", ": " ] + }, { + "r" : "1559", + "s" : [ { + "r" : "1504", + "s" : [ { + "r" : "1479", + "value" : [ "Interval[", "null", ", " ] + }, { + "r" : "1496", + "s" : [ { + "r" : "1480", + "value" : [ "DateTime", "(", "2013", ", ", "1", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ ")" ] + } ] + }, { + "r" : "1559", + "value" : [ " ", "meets", " " ] + }, { + "r" : "1556", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "1524", "s" : [ { - "value" : [ "","define ","IntSizeUnknownToThree",": " ] - }, { - "r" : "307", - "s" : [ { - "value" : [ "Size","(" ] - }, { - "r" : "299", - "s" : [ { - "r" : "297", - "value" : [ "Interval(","null",", ","3","]" ] - } ] - }, { - "value" : [ ")" ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "307", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "Size", - "signature" : [ { - "localId" : "308", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "309", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : { - "localId" : "299", - "lowClosed" : false, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "301", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "302", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "300", - "asType" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "As", - "signature" : [ ], - "operand" : { - "localId" : "297", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - } - }, - "high" : { - "localId" : "298", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - } - } - } - }, { - "localId" : "312", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "name" : "RealSize", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "312", + "r" : "1508", + "value" : [ "DateTime", "(", "2013", ", ", "1", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "1548", "s" : [ { - "value" : [ "","define ","RealSize",": " ] - }, { - "r" : "322", - "s" : [ { - "value" : [ "Size","(" ] - }, { - "r" : "315", - "s" : [ { - "r" : "313", - "value" : [ "Interval[","1.23",", ","4.56","]" ] - } ] - }, { - "value" : [ ")" ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "322", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "Size", - "signature" : [ { - "localId" : "323", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "324", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : { - "localId" : "315", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "316", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "317", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "313", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "1.23", - "type" : "Literal" - }, - "high" : { - "localId" : "314", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "4.56", - "type" : "Literal" - } - } - } - }, { - "localId" : "327", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "name" : "RealOpenSize", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "327", + "r" : "1532", + "value" : [ "DateTime", "(", "2030", ", ", "1", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ "]" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Meets", + "localId" : "1559", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "1560", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1561", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "1562", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1563", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "Interval", + "localId" : "1504", + "lowClosed" : true, + "highClosed" : false, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1506", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1507", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "As", + "localId" : "1505", + "asType" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Null", + "localId" : "1479", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "1496", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1497", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1498", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1499", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1500", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1501", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1502", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1503", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1480", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2013", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1481", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "1482", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "1483", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "1484", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "1485", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "1486", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + } + }, { + "type" : "Interval", + "localId" : "1556", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1557", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1558", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "DateTime", + "localId" : "1524", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1525", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1526", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1527", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1528", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1529", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1530", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1531", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1508", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2013", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1509", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "1510", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "1511", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "1512", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "1513", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "1514", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "1548", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1549", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1550", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1551", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1552", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1553", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1554", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1555", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1532", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2030", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1533", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "1534", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "1535", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "1536", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "1537", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "1538", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + } + } ] + } + }, { + "localId" : "1566", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "NegInfBegNotMeetsDateIvl", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "1566", + "s" : [ { + "value" : [ "", "define ", "NegInfBegNotMeetsDateIvl", ": " ] + }, { + "r" : "1647", + "s" : [ { + "r" : "1592", + "s" : [ { + "r" : "1567", + "value" : [ "Interval[", "null", ", " ] + }, { + "r" : "1584", + "s" : [ { + "r" : "1568", + "value" : [ "DateTime", "(", "2013", ", ", "1", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ ")" ] + } ] + }, { + "r" : "1647", + "value" : [ " ", "meets", " " ] + }, { + "r" : "1644", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "1612", + "s" : [ { + "r" : "1596", + "value" : [ "DateTime", "(", "2000", ", ", "1", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "1636", + "s" : [ { + "r" : "1620", + "value" : [ "DateTime", "(", "2010", ", ", "1", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ "]" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Meets", + "localId" : "1647", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "1648", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1649", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "1650", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1651", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "Interval", + "localId" : "1592", + "lowClosed" : true, + "highClosed" : false, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1594", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1595", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "As", + "localId" : "1593", + "asType" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Null", + "localId" : "1567", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "1584", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1585", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1586", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1587", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1588", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1589", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1590", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1591", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1568", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2013", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1569", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "1570", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "1571", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "1572", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "1573", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "1574", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + } + }, { + "type" : "Interval", + "localId" : "1644", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1645", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1646", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "DateTime", + "localId" : "1612", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1613", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1614", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1615", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1616", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1617", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1618", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1619", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1596", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1597", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "1598", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "1599", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "1600", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "1601", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "1602", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "1636", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1637", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1638", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1639", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1640", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1641", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1642", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1643", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1620", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2010", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1621", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "1622", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "1623", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "1624", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "1625", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "1626", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + } + } ] + } + }, { + "localId" : "1654", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "DateIvlNotMeetsNegInfBeg", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "1654", + "s" : [ { + "value" : [ "", "define ", "DateIvlNotMeetsNegInfBeg", ": " ] + }, { + "r" : "1735", + "s" : [ { + "r" : "1703", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "1671", + "s" : [ { + "r" : "1655", + "value" : [ "DateTime", "(", "2000", ", ", "1", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "1695", + "s" : [ { + "r" : "1679", + "value" : [ "DateTime", "(", "2010", ", ", "1", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ "]" ] + } ] + }, { + "r" : "1735", + "value" : [ " ", "meets", " " ] + }, { + "r" : "1731", + "s" : [ { + "r" : "1706", + "value" : [ "Interval[", "null", ", " ] + }, { + "r" : "1723", + "s" : [ { + "r" : "1707", + "value" : [ "DateTime", "(", "2013", ", ", "1", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Meets", + "localId" : "1735", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "1736", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1737", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "1738", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1739", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "Interval", + "localId" : "1703", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1704", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1705", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "DateTime", + "localId" : "1671", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1672", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1673", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1674", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1675", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1676", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1677", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1678", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1655", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1656", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "1657", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "1658", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "1659", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "1660", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "1661", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "1695", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1696", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1697", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1698", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1699", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1700", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1701", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1702", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1679", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2010", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1680", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "1681", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "1682", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "1683", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "1684", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "1685", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + } + }, { + "type" : "Interval", + "localId" : "1731", + "lowClosed" : true, + "highClosed" : false, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1733", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1734", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "As", + "localId" : "1732", + "asType" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Null", + "localId" : "1706", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "1723", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1724", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1725", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1726", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1727", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1728", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1729", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1730", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1707", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2013", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1708", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "1709", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "1710", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "1711", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "1712", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "1713", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + } + } ] + } + }, { + "localId" : "1742", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "UnknownBegMeetsBeforeDateIvl", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "1742", + "s" : [ { + "value" : [ "", "define ", "UnknownBegMeetsBeforeDateIvl", ": " ] + }, { + "r" : "1823", + "s" : [ { + "r" : "1768", + "s" : [ { + "r" : "1743", + "value" : [ "Interval(", "null", ", " ] + }, { + "r" : "1760", "s" : [ { - "value" : [ "","define ","RealOpenSize",": " ] - }, { - "r" : "337", - "s" : [ { - "value" : [ "Size","(" ] - }, { - "r" : "330", - "s" : [ { - "r" : "328", - "value" : [ "Interval(","1.23",", ","4.56",")" ] - } ] - }, { - "value" : [ ")" ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "337", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "Size", - "signature" : [ { - "localId" : "338", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "339", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : { - "localId" : "330", - "lowClosed" : false, - "highClosed" : false, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "331", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "332", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "328", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "1.23", - "type" : "Literal" - }, - "high" : { - "localId" : "329", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "4.56", - "type" : "Literal" - } - } - } - }, { - "localId" : "342", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "name" : "SizeIsNull", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "342", + "r" : "1744", + "value" : [ "DateTime", "(", "2013", ", ", "1", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ ")" ] + } ] + }, { + "r" : "1823", + "value" : [ " ", "meets", " " ] + }, { + "r" : "1820", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "1788", "s" : [ { - "value" : [ "","define ","SizeIsNull",": " ] - }, { - "r" : "355", - "s" : [ { - "value" : [ "Size","(" ] - }, { - "r" : "343", - "s" : [ { - "r" : "344", - "value" : [ "null"," as " ] - }, { - "r" : "345", - "s" : [ { - "value" : [ "Interval<" ] - }, { - "r" : "346", - "s" : [ { - "value" : [ "Integer" ] - } ] - }, { - "value" : [ ">" ] - } ] - } ] - }, { - "value" : [ ")" ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "355", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "Size", - "signature" : [ { - "localId" : "356", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "357", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : { - "localId" : "343", - "strict" : false, - "type" : "As", - "resultTypeSpecifier" : { - "localId" : "349", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "350", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "signature" : [ ], - "operand" : { - "localId" : "344", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - }, - "asTypeSpecifier" : { - "localId" : "345", - "type" : "IntervalTypeSpecifier", - "resultTypeSpecifier" : { - "localId" : "347", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "348", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "pointType" : { - "localId" : "346", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } - } - } - }, { - "localId" : "360", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "name" : "SizeOfQuantityInterval", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "360", + "r" : "1772", + "value" : [ "DateTime", "(", "2013", ", ", "1", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "1812", "s" : [ { - "value" : [ "","define ","SizeOfQuantityInterval",": " ] - }, { - "r" : "384", - "s" : [ { - "value" : [ "Size","(" ] - }, { - "r" : "377", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "361", - "s" : [ { - "value" : [ "Quantity","{" ] - }, { - "s" : [ { - "r" : "363", - "value" : [ "value",": ","1" ] - } ] - }, { - "value" : [ ", " ] - }, { - "s" : [ { - "value" : [ "unit",": " ] - }, { - "r" : "367", - "s" : [ { - "value" : [ "'mm'" ] - } ] - } ] - }, { - "value" : [ "}" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "369", - "s" : [ { - "value" : [ "Quantity","{" ] - }, { - "s" : [ { - "r" : "371", - "value" : [ "value",": ","10" ] - } ] - }, { - "value" : [ ", " ] - }, { - "s" : [ { - "value" : [ "unit",": " ] - }, { - "r" : "375", - "s" : [ { - "value" : [ "'mm'" ] - } ] - } ] - }, { - "value" : [ "}" ] - } ] - }, { - "value" : [ "]" ] - } ] - }, { - "value" : [ ")" ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "384", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "Size", - "signature" : [ { - "localId" : "385", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "386", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : { - "localId" : "377", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "378", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "379", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "361", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "classType" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "Instance", - "element" : [ { - "name" : "value", - "value" : { - "localId" : "365", - "type" : "ToDecimal", - "signature" : [ { - "localId" : "366", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "363", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - } - } - }, { - "name" : "unit", - "value" : { - "localId" : "367", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "mm", - "type" : "Literal" - } - } ] - }, - "high" : { - "localId" : "369", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "classType" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "Instance", - "element" : [ { - "name" : "value", - "value" : { - "localId" : "373", - "type" : "ToDecimal", - "signature" : [ { - "localId" : "374", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "371", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal" - } - } - }, { - "name" : "unit", - "value" : { - "localId" : "375", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "mm", - "type" : "Literal" - } - } ] - } - } - } - }, { - "localId" : "389", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "name" : "SizeOfDateTimeInterval", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "389", + "r" : "1796", + "value" : [ "DateTime", "(", "2030", ", ", "1", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ "]" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Meets", + "localId" : "1823", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "1824", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1825", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "1826", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1827", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "Interval", + "localId" : "1768", + "lowClosed" : false, + "highClosed" : false, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1770", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1771", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "As", + "localId" : "1769", + "asType" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Null", + "localId" : "1743", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "1760", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1761", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1762", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1763", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1764", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1765", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1766", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1767", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1744", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2013", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1745", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "1746", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "1747", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "1748", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "1749", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "1750", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + } + }, { + "type" : "Interval", + "localId" : "1820", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1821", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1822", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "DateTime", + "localId" : "1788", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1789", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1790", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1791", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1792", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1793", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1794", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1795", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1772", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2013", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1773", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "1774", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "1775", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "1776", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "1777", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "1778", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "1812", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1813", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1814", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1815", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1816", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1817", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1818", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1819", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1796", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2030", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1797", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "1798", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "1799", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "1800", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "1801", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "1802", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + } + } ] + } + }, { + "localId" : "1830", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "UnknownBegMayMeetAfterDateIvl", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "1830", + "s" : [ { + "value" : [ "", "define ", "UnknownBegMayMeetAfterDateIvl", ": " ] + }, { + "r" : "1911", + "s" : [ { + "r" : "1856", + "s" : [ { + "r" : "1831", + "value" : [ "Interval(", "null", ", " ] + }, { + "r" : "1848", + "s" : [ { + "r" : "1832", + "value" : [ "DateTime", "(", "2013", ", ", "1", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ ")" ] + } ] + }, { + "r" : "1911", + "value" : [ " ", "meets", " " ] + }, { + "r" : "1908", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "1876", + "s" : [ { + "r" : "1860", + "value" : [ "DateTime", "(", "2000", ", ", "1", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "1900", + "s" : [ { + "r" : "1884", + "value" : [ "DateTime", "(", "2010", ", ", "1", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ "]" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Meets", + "localId" : "1911", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "1912", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1913", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "1914", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1915", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "Interval", + "localId" : "1856", + "lowClosed" : false, + "highClosed" : false, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1858", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1859", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "As", + "localId" : "1857", + "asType" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Null", + "localId" : "1831", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "1848", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1849", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1850", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1851", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1852", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1853", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1854", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1855", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1832", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2013", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1833", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "1834", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "1835", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "1836", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "1837", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "1838", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + } + }, { + "type" : "Interval", + "localId" : "1908", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1909", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1910", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "DateTime", + "localId" : "1876", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1877", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1878", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1879", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1880", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1881", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1882", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1883", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1860", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1861", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "1862", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "1863", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "1864", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "1865", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "1866", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "1900", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1901", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1902", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1903", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1904", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1905", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1906", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1907", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1884", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2010", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1885", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "1886", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "1887", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "1888", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "1889", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "1890", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + } + } ] + } + }, { + "localId" : "1918", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "UnknownBegNotMeetsDateIvl", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "1918", + "s" : [ { + "value" : [ "", "define ", "UnknownBegNotMeetsDateIvl", ": " ] + }, { + "r" : "1999", + "s" : [ { + "r" : "1944", + "s" : [ { + "r" : "1919", + "value" : [ "Interval(", "null", ", " ] + }, { + "r" : "1936", "s" : [ { - "value" : [ "","define ","SizeOfDateTimeInterval",": " ] - }, { - "r" : "421", - "s" : [ { - "value" : [ "Size","(" ] - }, { - "r" : "414", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "398", - "s" : [ { - "r" : "390", - "value" : [ "DateTime","(","2012",",","01",",","01",")" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "410", - "s" : [ { - "r" : "402", - "value" : [ "DateTime","(","2012",",","01",",","03",")" ] - } ] - }, { - "value" : [ "]" ] - } ] - }, { - "value" : [ ")" ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "421", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "Size", - "signature" : [ { - "localId" : "422", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "423", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : { - "localId" : "414", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "415", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "416", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "398", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "399", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "400", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "401", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "390", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "391", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "01", - "type" : "Literal" - }, - "day" : { - "localId" : "392", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "01", - "type" : "Literal" - } - }, - "high" : { - "localId" : "410", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "411", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "412", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "413", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "402", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "403", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "01", - "type" : "Literal" - }, - "day" : { - "localId" : "404", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "03", - "type" : "Literal" - } - } - } - } - }, { - "localId" : "426", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", - "name" : "SizeOfDateInterval", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "426", + "r" : "1920", + "value" : [ "DateTime", "(", "2013", ", ", "1", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ ")" ] + } ] + }, { + "r" : "1999", + "value" : [ " ", "meets", " " ] + }, { + "r" : "1996", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "1964", + "s" : [ { + "r" : "1948", + "value" : [ "DateTime", "(", "2000", ", ", "1", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "1988", + "s" : [ { + "r" : "1972", + "value" : [ "DateTime", "(", "2020", ", ", "1", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ "]" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Meets", + "localId" : "1999", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "2000", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "2001", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "2002", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "2003", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "Interval", + "localId" : "1944", + "lowClosed" : false, + "highClosed" : false, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1946", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1947", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "As", + "localId" : "1945", + "asType" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Null", + "localId" : "1919", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "1936", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1937", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1938", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1939", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1940", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1941", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1942", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1943", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1920", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2013", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1921", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "1922", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "1923", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "1924", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "1925", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "1926", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + } + }, { + "type" : "Interval", + "localId" : "1996", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1997", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1998", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "DateTime", + "localId" : "1964", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1965", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1966", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1967", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1968", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1969", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1970", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1971", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1948", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1949", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "1950", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "1951", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "1952", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "1953", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "1954", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "1988", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1989", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1990", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1991", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1992", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1993", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1994", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1995", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1972", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2020", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1973", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "1974", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "1975", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "1976", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "1977", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "1978", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + } + } ] + } + }, { + "localId" : "2006", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "DateIvlMayMeetBeforeUnknownBeg", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "2006", + "s" : [ { + "value" : [ "", "define ", "DateIvlMayMeetBeforeUnknownBeg", ": " ] + }, { + "r" : "2087", + "s" : [ { + "r" : "2055", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "2023", + "s" : [ { + "r" : "2007", + "value" : [ "DateTime", "(", "2000", ", ", "1", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "2047", + "s" : [ { + "r" : "2031", + "value" : [ "DateTime", "(", "2010", ", ", "1", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ "]" ] + } ] + }, { + "r" : "2087", + "value" : [ " ", "meets", " " ] + }, { + "r" : "2083", + "s" : [ { + "r" : "2058", + "value" : [ "Interval(", "null", ", " ] + }, { + "r" : "2075", "s" : [ { - "value" : [ "","define ","SizeOfDateInterval",": " ] - }, { - "r" : "458", - "s" : [ { - "value" : [ "Size","(" ] - }, { - "r" : "451", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "435", - "s" : [ { - "r" : "427", - "value" : [ "Date","(","2012",",","01",",","01",")" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "447", - "s" : [ { - "r" : "439", - "value" : [ "Date","(","2012",",","01",",","03",")" ] - } ] - }, { - "value" : [ "]" ] - } ] - }, { - "value" : [ ")" ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "458", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "Size", - "signature" : [ { - "localId" : "459", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "460", - "name" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : { - "localId" : "451", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "452", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "453", - "name" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "435", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "Date", - "signature" : [ { - "localId" : "436", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "437", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "438", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "427", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "428", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "01", - "type" : "Literal" - }, - "day" : { - "localId" : "429", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "01", - "type" : "Literal" - } - }, - "high" : { - "localId" : "447", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "Date", - "signature" : [ { - "localId" : "448", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "449", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "450", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "439", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "440", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "01", - "type" : "Literal" - }, - "day" : { - "localId" : "441", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "03", - "type" : "Literal" - } - } - } - } - }, { - "localId" : "463", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Time", - "name" : "SizeOfTimeInterval", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "463", + "r" : "2059", + "value" : [ "DateTime", "(", "2013", ", ", "1", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Meets", + "localId" : "2087", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "2088", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "2089", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "2090", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "2091", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "Interval", + "localId" : "2055", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "2056", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "2057", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "DateTime", + "localId" : "2023", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "2024", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2025", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2026", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2027", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2028", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2029", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2030", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "2007", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "2008", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "2009", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "2010", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "2011", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "2012", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "2013", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "2047", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "2048", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2049", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2050", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2051", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2052", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2053", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2054", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "2031", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2010", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "2032", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "2033", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "2034", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "2035", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "2036", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "2037", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + } + }, { + "type" : "Interval", + "localId" : "2083", + "lowClosed" : false, + "highClosed" : false, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "2085", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "2086", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "As", + "localId" : "2084", + "asType" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Null", + "localId" : "2058", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "2075", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "2076", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2077", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2078", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2079", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2080", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2081", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2082", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "2059", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2013", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "2060", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "2061", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "2062", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "2063", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "2064", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "2065", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + } + } ] + } + }, { + "localId" : "2094", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "PosInfEndMeetsAfterDateIvl", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "2094", + "s" : [ { + "value" : [ "", "define ", "PosInfEndMeetsAfterDateIvl", ": " ] + }, { + "r" : "2175", + "s" : [ { + "r" : "2120", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "2111", + "s" : [ { + "r" : "2095", + "value" : [ "DateTime", "(", "2013", ", ", "1", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "r" : "2119", + "value" : [ ", ", "null", "]" ] + } ] + }, { + "r" : "2175", + "value" : [ " ", "meets", " " ] + }, { + "r" : "2172", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "2140", + "s" : [ { + "r" : "2124", + "value" : [ "DateTime", "(", "2000", ", ", "1", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "2164", + "s" : [ { + "r" : "2148", + "value" : [ "DateTime", "(", "2013", ", ", "1", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Meets", + "localId" : "2175", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "2176", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "2177", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "2178", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "2179", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "Interval", + "localId" : "2120", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "2122", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "2123", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "DateTime", + "localId" : "2111", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "2112", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2113", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2114", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2115", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2116", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2117", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2118", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "2095", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2013", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "2096", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "2097", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "2098", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "2099", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "2100", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "2101", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + }, + "high" : { + "type" : "As", + "localId" : "2121", + "asType" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Null", + "localId" : "2119", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } + } + }, { + "type" : "Interval", + "localId" : "2172", + "lowClosed" : true, + "highClosed" : false, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "2173", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "2174", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "DateTime", + "localId" : "2140", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "2141", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2142", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2143", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2144", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2145", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2146", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2147", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "2124", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "2125", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "2126", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "2127", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "2128", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "2129", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "2130", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "2164", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "2165", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2166", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2167", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2168", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2169", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2170", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2171", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "2148", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2013", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "2149", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "2150", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "2151", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "2152", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "2153", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "2154", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + } + } ] + } + }, { + "localId" : "2182", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "PosInfEndNotMeetsDateIvl", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "2182", + "s" : [ { + "value" : [ "", "define ", "PosInfEndNotMeetsDateIvl", ": " ] + }, { + "r" : "2263", + "s" : [ { + "r" : "2208", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "2199", + "s" : [ { + "r" : "2183", + "value" : [ "DateTime", "(", "2013", ", ", "1", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "r" : "2207", + "value" : [ ", ", "null", "]" ] + } ] + }, { + "r" : "2263", + "value" : [ " ", "meets", " " ] + }, { + "r" : "2260", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "2228", + "s" : [ { + "r" : "2212", + "value" : [ "DateTime", "(", "2000", ", ", "1", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "2252", + "s" : [ { + "r" : "2236", + "value" : [ "DateTime", "(", "2020", ", ", "1", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ "]" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Meets", + "localId" : "2263", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "2264", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "2265", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "2266", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "2267", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "Interval", + "localId" : "2208", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "2210", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "2211", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "DateTime", + "localId" : "2199", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "2200", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2201", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2202", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2203", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2204", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2205", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2206", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "2183", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2013", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "2184", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "2185", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "2186", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "2187", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "2188", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "2189", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + }, + "high" : { + "type" : "As", + "localId" : "2209", + "asType" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Null", + "localId" : "2207", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } + } + }, { + "type" : "Interval", + "localId" : "2260", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "2261", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "2262", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "DateTime", + "localId" : "2228", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "2229", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2230", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2231", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2232", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2233", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2234", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2235", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "2212", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "2213", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "2214", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "2215", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "2216", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "2217", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "2218", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "2252", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "2253", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2254", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2255", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2256", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2257", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2258", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2259", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "2236", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2020", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "2237", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "2238", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "2239", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "2240", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "2241", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "2242", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + } + } ] + } + }, { + "localId" : "2270", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "DateIvlNotMeetsPosInfEnd", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "2270", + "s" : [ { + "value" : [ "", "define ", "DateIvlNotMeetsPosInfEnd", ": " ] + }, { + "r" : "2351", + "s" : [ { + "r" : "2319", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "2287", + "s" : [ { + "r" : "2271", + "value" : [ "DateTime", "(", "2000", ", ", "1", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "2311", + "s" : [ { + "r" : "2295", + "value" : [ "DateTime", "(", "2020", ", ", "1", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ "]" ] + } ] + }, { + "r" : "2351", + "value" : [ " ", "meets", " " ] + }, { + "r" : "2347", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "2338", + "s" : [ { + "r" : "2322", + "value" : [ "DateTime", "(", "2013", ", ", "1", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "r" : "2346", + "value" : [ ", ", "null", "]" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Meets", + "localId" : "2351", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "2352", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "2353", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "2354", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "2355", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "Interval", + "localId" : "2319", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "2320", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "2321", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "DateTime", + "localId" : "2287", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "2288", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2289", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2290", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2291", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2292", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2293", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2294", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "2271", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "2272", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "2273", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "2274", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "2275", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "2276", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "2277", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "2311", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "2312", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2313", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2314", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2315", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2316", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2317", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2318", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "2295", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2020", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "2296", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "2297", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "2298", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "2299", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "2300", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "2301", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + } + }, { + "type" : "Interval", + "localId" : "2347", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "2349", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "2350", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "DateTime", + "localId" : "2338", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "2339", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2340", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2341", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2342", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2343", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2344", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2345", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "2322", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2013", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "2323", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "2324", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "2325", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "2326", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "2327", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "2328", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + }, + "high" : { + "type" : "As", + "localId" : "2348", + "asType" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Null", + "localId" : "2346", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } + } + } ] + } + }, { + "localId" : "2358", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "UnknownEndMeetsAfterDateIvl", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "2358", + "s" : [ { + "value" : [ "", "define ", "UnknownEndMeetsAfterDateIvl", ": " ] + }, { + "r" : "2439", + "s" : [ { + "r" : "2384", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "2375", + "s" : [ { + "r" : "2359", + "value" : [ "DateTime", "(", "2013", ", ", "1", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "r" : "2383", + "value" : [ ", ", "null", ")" ] + } ] + }, { + "r" : "2439", + "value" : [ " ", "meets", " " ] + }, { + "r" : "2436", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "2404", + "s" : [ { + "r" : "2388", + "value" : [ "DateTime", "(", "2010", ", ", "1", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "2428", + "s" : [ { + "r" : "2412", + "value" : [ "DateTime", "(", "2013", ", ", "1", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Meets", + "localId" : "2439", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "2440", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "2441", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "2442", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "2443", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "Interval", + "localId" : "2384", + "lowClosed" : true, + "highClosed" : false, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "2386", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "2387", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "DateTime", + "localId" : "2375", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "2376", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2377", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2378", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2379", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2380", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2381", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2382", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "2359", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2013", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "2360", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "2361", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "2362", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "2363", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "2364", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "2365", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + }, + "high" : { + "type" : "As", + "localId" : "2385", + "asType" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Null", + "localId" : "2383", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } + } + }, { + "type" : "Interval", + "localId" : "2436", + "lowClosed" : true, + "highClosed" : false, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "2437", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "2438", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "DateTime", + "localId" : "2404", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "2405", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2406", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2407", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2408", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2409", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2410", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2411", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "2388", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2010", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "2389", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "2390", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "2391", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "2392", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "2393", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "2394", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "2428", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "2429", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2430", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2431", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2432", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2433", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2434", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2435", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "2412", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2013", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "2413", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "2414", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "2415", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "2416", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "2417", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "2418", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + } + } ] + } + }, { + "localId" : "2446", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "UnknownEndMayMeetBeforeDateIvl", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "2446", + "s" : [ { + "value" : [ "", "define ", "UnknownEndMayMeetBeforeDateIvl", ": " ] + }, { + "r" : "2527", + "s" : [ { + "r" : "2472", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "2463", + "s" : [ { + "r" : "2447", + "value" : [ "DateTime", "(", "2013", ", ", "1", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "r" : "2471", + "value" : [ ", ", "null", ")" ] + } ] + }, { + "r" : "2527", + "value" : [ " ", "meets", " " ] + }, { + "r" : "2524", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "2492", + "s" : [ { + "r" : "2476", + "value" : [ "DateTime", "(", "2020", ", ", "1", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "2516", + "s" : [ { + "r" : "2500", + "value" : [ "DateTime", "(", "2040", ", ", "1", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ "]" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Meets", + "localId" : "2527", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "2528", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "2529", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "2530", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "2531", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "Interval", + "localId" : "2472", + "lowClosed" : true, + "highClosed" : false, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "2474", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "2475", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "DateTime", + "localId" : "2463", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "2464", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2465", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2466", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2467", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2468", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2469", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2470", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "2447", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2013", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "2448", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "2449", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "2450", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "2451", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "2452", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "2453", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + }, + "high" : { + "type" : "As", + "localId" : "2473", + "asType" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Null", + "localId" : "2471", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } + } + }, { + "type" : "Interval", + "localId" : "2524", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "2525", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "2526", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "DateTime", + "localId" : "2492", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "2493", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2494", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2495", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2496", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2497", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2498", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2499", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "2476", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2020", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "2477", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "2478", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "2479", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "2480", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "2481", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "2482", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "2516", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "2517", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2518", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2519", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2520", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2521", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2522", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2523", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "2500", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2040", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "2501", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "2502", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "2503", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "2504", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "2505", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "2506", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + } + } ] + } + }, { + "localId" : "2534", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "UnknownEndNotMeetsDateIvl", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "2534", + "s" : [ { + "value" : [ "", "define ", "UnknownEndNotMeetsDateIvl", ": " ] + }, { + "r" : "2615", + "s" : [ { + "r" : "2560", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "2551", "s" : [ { - "value" : [ "","define ","SizeOfTimeInterval",": " ] - }, { - "r" : "495", - "s" : [ { - "value" : [ "Size","(" ] - }, { - "r" : "488", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "472", - "s" : [ { - "r" : "464", - "value" : [ "Time","(","12",",","00",",","00",")" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "484", - "s" : [ { - "r" : "476", - "value" : [ "Time","(","12",",","30",",","02",")" ] - } ] - }, { - "value" : [ "]" ] - } ] - }, { - "value" : [ ")" ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "495", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Time", - "type" : "Size", - "signature" : [ { - "localId" : "496", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "497", - "name" : "{urn:hl7-org:elm-types:r1}Time", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : { - "localId" : "488", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "489", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "490", - "name" : "{urn:hl7-org:elm-types:r1}Time", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "472", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Time", - "type" : "Time", - "signature" : [ { - "localId" : "473", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "474", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "475", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "hour" : { - "localId" : "464", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "12", - "type" : "Literal" - }, - "minute" : { - "localId" : "465", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "00", - "type" : "Literal" - }, - "second" : { - "localId" : "466", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "00", - "type" : "Literal" - } - }, - "high" : { - "localId" : "484", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Time", - "type" : "Time", - "signature" : [ { - "localId" : "485", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "486", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "487", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "hour" : { - "localId" : "476", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "12", - "type" : "Literal" - }, - "minute" : { - "localId" : "477", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "30", - "type" : "Literal" - }, - "second" : { - "localId" : "478", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "02", - "type" : "Literal" - } - } - } - } - } ] - } - } + "r" : "2535", + "value" : [ "DateTime", "(", "2013", ", ", "1", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "r" : "2559", + "value" : [ ", ", "null", ")" ] + } ] + }, { + "r" : "2615", + "value" : [ " ", "meets", " " ] + }, { + "r" : "2612", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "2580", + "s" : [ { + "r" : "2564", + "value" : [ "DateTime", "(", "2000", ", ", "1", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "2604", + "s" : [ { + "r" : "2588", + "value" : [ "DateTime", "(", "2013", ", ", "1", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ "]" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Meets", + "localId" : "2615", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "2616", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "2617", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "2618", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "2619", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "Interval", + "localId" : "2560", + "lowClosed" : true, + "highClosed" : false, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "2562", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "2563", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "DateTime", + "localId" : "2551", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "2552", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2553", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2554", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2555", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2556", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2557", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2558", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "2535", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2013", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "2536", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "2537", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "2538", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "2539", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "2540", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "2541", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + }, + "high" : { + "type" : "As", + "localId" : "2561", + "asType" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Null", + "localId" : "2559", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } + } + }, { + "type" : "Interval", + "localId" : "2612", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "2613", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "2614", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "DateTime", + "localId" : "2580", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "2581", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2582", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2583", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2584", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2585", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2586", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2587", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "2564", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "2565", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "2566", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "2567", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "2568", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "2569", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "2570", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "2604", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "2605", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2606", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2607", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2608", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2609", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2610", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2611", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "2588", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2013", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "2589", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "2590", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "2591", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "2592", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "2593", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "2594", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + } + } ] + } + }, { + "localId" : "2622", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "DateIvlMayMeetAfterUnknownEnd", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "2622", + "s" : [ { + "value" : [ "", "define ", "DateIvlMayMeetAfterUnknownEnd", ": " ] + }, { + "r" : "2703", + "s" : [ { + "r" : "2671", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "2639", + "s" : [ { + "r" : "2623", + "value" : [ "DateTime", "(", "2020", ", ", "1", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "2663", + "s" : [ { + "r" : "2647", + "value" : [ "DateTime", "(", "2040", ", ", "1", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ "]" ] + } ] + }, { + "r" : "2703", + "value" : [ " ", "meets", " " ] + }, { + "r" : "2699", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "2690", + "s" : [ { + "r" : "2674", + "value" : [ "DateTime", "(", "2013", ", ", "1", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "r" : "2698", + "value" : [ ", ", "null", ")" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Meets", + "localId" : "2703", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "2704", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "2705", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "2706", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "2707", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "Interval", + "localId" : "2671", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "2672", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "2673", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "DateTime", + "localId" : "2639", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "2640", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2641", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2642", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2643", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2644", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2645", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2646", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "2623", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2020", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "2624", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "2625", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "2626", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "2627", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "2628", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "2629", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "2663", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "2664", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2665", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2666", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2667", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2668", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2669", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2670", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "2647", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2040", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "2648", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "2649", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "2650", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "2651", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "2652", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "2653", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + } + }, { + "type" : "Interval", + "localId" : "2699", + "lowClosed" : true, + "highClosed" : false, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "2701", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "2702", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "DateTime", + "localId" : "2690", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "2691", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2692", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2693", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2694", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2695", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2696", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2697", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "2674", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2013", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "2675", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "2676", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "2677", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "2678", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "2679", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "2680", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + }, + "high" : { + "type" : "As", + "localId" : "2700", + "asType" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Null", + "localId" : "2698", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } + } + } ] + } + } ] + } + } } -/* Start +/* MeetsAfter library TestSnippet version '1' using Simple version '1.0.0' context Patient -define ClosedNotNull: start of Interval[DateTime(2012, 1, 1), DateTime(2013, 1, 1)] -define ClosedNullDateTime: start of Interval[null, DateTime(2013, 1, 1)] -define ClosedNullInteger: start of Interval[null, 3] -define ClosedNullDecimal: start of Interval[null, 5.1] -define NullInterval: start of (null as Interval) -define OpenNotNull: start of Interval(DateTime(2012, 1, 1), DateTime(2013, 1, 1)) -define OpenNull: start of Interval(null, DateTime(2013, 1, 1)) +define MeetsAfterIntIvl: Interval[11, 15] meets after Interval[5, 10] +define MeetsBeforeIntIvl: Interval[1, 4] meets after Interval[5, 10] +define NotMeetsIntIvl: Interval[1, 2] meets after Interval[5, 10] +define MeetsAfterRealIvl: Interval[1.50000001, 2.5] meets after Interval[0.5, 1.5] +define MeetsBeforeRealIvl: Interval[0.5, 1.5] meets after Interval[1.50000001, 2.5] +define NotMeetsRealIvl: Interval[0.0, 1.0] meets after Interval[1.1, 2.0] +define DateIvl: Interval[DateTime(2012, 3, 1, 0, 0, 0, 0), DateTime(2012, 9, 1, 0, 0, 0, 0)) +define MeetsAfterDateIvl: Interval[DateTime(2012, 9, 1, 0, 0, 0, 0), DateTime(2012, 12, 1, 0, 0, 0, 0)) meets after DateIvl +define MeetsBeforeDateIvl: Interval[DateTime(2012, 1, 1, 0, 0, 0, 0), DateTime(2012, 3, 1, 0, 0, 0, 0)) meets after DateIvl +define NotMeetsDateIvl: Interval[DateTime(2012, 1, 1, 0, 0, 0, 0), DateTime(2012, 2, 29, 0, 0, 0, 0)) meets after DateIvl +define MayMeetAfterImpreciseDateIvl: DateIvl meets after Interval[DateTime(2012, 1), DateTime(2012, 2)] +define MayMeetBeforeImpreciseDateIvl: DateIvl meets after Interval[DateTime(2012, 9), DateTime(2012, 12)] +define NotMeetsImpreciseDateIvl: DateIvl meets after Interval[DateTime(2012, 1), DateTime(2012, 12)] +define PrecisionDateIvl: Interval[DateTime(2012, 3, 2, 12, 34, 56, 789), DateTime(2012, 9, 2, 1, 23, 45, 678)) +define MeetsAfterDayOfIvl: PrecisionDateIvl meets after day of Interval[DateTime(2012, 1, 2, 0, 0, 0, 0), DateTime(2012, 3, 1, 0, 0, 0, 0)] +define MeetsBeforeDayOfIvl: PrecisionDateIvl meets after day of Interval[DateTime(2012, 9, 3, 0, 0, 0, 0), DateTime(2012, 12, 1, 0, 0, 0, 0)] +define NotMeetsDayOfIvl: PrecisionDateIvl meets after day of Interval[DateTime(2012, 1, 2, 0, 0, 0, 0), DateTime(2012, 3, 2, 0, 0, 0, 0)] +define NotMeetsDayOfImpreciseIVL: PrecisionDateIvl meets after day of Interval[DateTime(2012, 1), DateTime(2012, 2)] +define MayMeetAfterDayOfImpreciseIvl: PrecisionDateIvl meets after day of Interval[DateTime(2012, 1), DateTime(2012, 3)] +define MayMeetBeforeDayOfImpreciseIvl: PrecisionDateIvl meets after day of Interval[DateTime(2012, 9), DateTime(2012, 12)] +define ImpDateIvl: Interval[DateTime(2012, 3), DateTime(2012, 8)] +define ImpreciseMayMeetAfterDateIvl: ImpDateIvl meets after Interval[DateTime(2012, 1, 1, 0, 0, 0, 0), DateTime(2012, 2, 29, 23, 59, 59, 999)] +define ImpreciseMayMeetBeforeDateIvl: ImpDateIvl meets after Interval[DateTime(2012, 9, 1, 0, 0, 0, 0), DateTime(2012, 12, 31, 23, 59, 59, 999)] +define ImpreciseNotMeetsDateIvl: ImpDateIvl meets after Interval[DateTime(2012, 1, 1, 0, 0, 0, 0), DateTime(2012, 12, 31, 23, 59, 59, 999)) +define NegInfBegMeetsBeforeIntIvl: Interval[null, 100] meets after Interval[101, 200] +define NegInfBegNotMeetsIntIvl: Interval[null, 100] meets after Interval[100, 200] +define IntIvlNotMeetsNegInfBeg: Interval[100, 200] meets after Interval[null, 400] +define UnknownBegMeetsBeforeIntIvl: Interval(null, 100] meets after Interval[101, 200] +define UnknownBegMayMeetAfterIntIvl: Interval(null, 100] meets after Interval[0, 50] +define UnknownBegNotMeetsIntIvl: Interval(null, 5] meets after Interval[0, 100] +define IntIvlMayMeetBeforeUnknownBeg: Interval[0, 100] meets after Interval(null, 400) +define PosInfEndMeetsAfterIntIvl: Interval[100, null] meets after Interval[0, 99] +define PosInfEndNotMeetsIntIvl: Interval[0, null] meets after Interval[1000, 2000] +define IntIvlNotMeetsPosInfEnd: Interval[100, 200] meets after Interval[0, null] +define UnknownEndMeetsAfterIntIvl: Interval[100, null) meets after Interval[0, 99] +define UnknownEndMayMeetBeforeIntIvl: Interval[0, null) meets after Interval[50, 100] +define UnknownEndNotMeetsIntIvl: Interval[0, null) meets after Interval[0, 100] +define IntIvlMayMeetAfterUnknownEnd: Interval[0, 100] meets after Interval[-100, null) +define NegInfBegMeetsBeforeDateIvl: Interval[null, DateTime(2013, 1, 1, 0, 0, 0, 0)) meets after Interval[DateTime(2013, 1, 1, 0, 0, 0, 0), DateTime(2030, 1, 1, 0, 0, 0, 0)] +define NegInfBegNotMeetsDateIvl: Interval[null, DateTime(2013, 1, 1, 0, 0, 0, 0)) meets after Interval[DateTime(2000, 1, 1, 0, 0, 0, 0), DateTime(2010, 1, 1, 0, 0, 0, 0)] +define DateIvlNotMeetsNegInfBeg: Interval[DateTime(2000, 1, 1, 0, 0, 0, 0), DateTime(2010, 1, 1, 0, 0, 0, 0)] meets after Interval[null, DateTime(2013, 1, 1, 0, 0, 0, 0)) +define UnknownBegMeetsBeforeDateIvl: Interval(null, DateTime(2013, 1, 1, 0, 0, 0, 0)) meets after Interval[DateTime(2013, 1, 1, 0, 0, 0, 0), DateTime(2030, 1, 1, 0, 0, 0, 0)] +define UnknownBegMayMeetAfterDateIvl: Interval(null, DateTime(2013, 1, 1, 0, 0, 0, 0)) meets after Interval[DateTime(2000, 1, 1, 0, 0, 0, 0), DateTime(2010, 1, 1, 0, 0, 0, 0)] +define UnknownBegNotMeetsDateIvl: Interval(null, DateTime(2013, 1, 1, 0, 0, 0, 0)) meets after Interval[DateTime(2000, 1, 1, 0, 0, 0, 0), DateTime(2020, 1, 1, 0, 0, 0, 0)] +define DateIvlMayMeetBeforeUnknownBeg: Interval[DateTime(2000, 1, 1, 0, 0, 0, 0), DateTime(2010, 1, 1, 0, 0, 0, 0)] meets after Interval(null, DateTime(2013, 1, 1, 0, 0, 0, 0)) +define PosInfEndMeetsAfterDateIvl: Interval[DateTime(2013, 1, 1, 0, 0, 0, 0), null] meets after Interval[DateTime(2000, 1, 1, 0, 0, 0, 0), DateTime(2013, 1, 1, 0, 0, 0, 0)) +define PosInfEndNotMeetsDateIvl: Interval[DateTime(2013, 1, 1, 0, 0, 0, 0), null] meets after Interval[DateTime(2000, 1, 1, 0, 0, 0, 0), DateTime(2020, 1, 1, 0, 0, 0, 0)] +define DateIvlNotMeetsPosInfEnd: Interval[DateTime(2000, 1, 1, 0, 0, 0, 0), DateTime(2020, 1, 1, 0, 0, 0, 0)] meets after Interval[DateTime(2013, 1, 1, 0, 0, 0, 0), null] +define UnknownEndMeetsAfterDateIvl: Interval[DateTime(2013, 1, 1, 0, 0, 0, 0), null) meets after Interval[DateTime(2010, 1, 1, 0, 0, 0, 0), DateTime(2013, 1, 1, 0, 0, 0, 0)) +define UnknownEndMayMeetBeforeDateIvl: Interval[DateTime(2013, 1, 1, 0, 0, 0, 0), null) meets after Interval[DateTime(2020, 1, 1, 0, 0, 0, 0), DateTime(2040, 1, 1, 0, 0, 0, 0)] +define UnknownEndNotMeetsDateIvl: Interval[DateTime(2013, 1, 1, 0, 0, 0, 0), null) meets after Interval[DateTime(2000, 1, 1, 0, 0, 0, 0), DateTime(2013, 1, 1, 0, 0, 0, 0)] +define DateIvlMayMeetAfterUnknownEnd: Interval[DateTime(2020, 1, 1, 0, 0, 0, 0), DateTime(2040, 1, 1, 0, 0, 0, 0)] meets after Interval[DateTime(2013, 1, 1, 0, 0, 0, 0), null) */ -module.exports['Start'] = { - "library" : { - "localId" : "0", - "annotation" : [ { - "translatorVersion" : "3.27.0", - "translatorOptions" : "EnableDateRangeOptimization,EnableAnnotations,EnableResultTypes", - "signatureLevel" : "All", - "type" : "CqlToElmInfo" - }, { - "type" : "Annotation", - "s" : { - "r" : "343", +module.exports['MeetsAfter'] = { + "library" : { + "localId" : "0", + "annotation" : [ { + "type" : "CqlToElmInfo", + "translatorVersion" : "4.2.0", + "translatorOptions" : "EnableDateRangeOptimization,EnableAnnotations,EnableResultTypes", + "signatureLevel" : "All" + }, { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "2622", + "s" : [ { + "value" : [ "", "library TestSnippet version '1'" ] + } ] + } + } ], + "identifier" : { + "id" : "TestSnippet", + "version" : "1" + }, + "schemaIdentifier" : { + "id" : "urn:hl7-org:elm", + "version" : "r1" + }, + "usings" : { + "def" : [ { + "localId" : "1", + "localIdentifier" : "System", + "uri" : "urn:hl7-org:elm-types:r1", + "annotation" : [ ] + }, { + "localId" : "206", + "localIdentifier" : "Simple", + "uri" : "https://github.com/cqframework/cql-execution/simple", + "version" : "1.0.0", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "206", + "s" : [ { + "value" : [ "", "using " ] + }, { + "s" : [ { + "value" : [ "Simple" ] + } ] + }, { + "value" : [ " version '1.0.0'" ] + } ] + } + } ] + } ] + }, + "contexts" : { + "def" : [ { + "localId" : "211", + "name" : "Patient", + "annotation" : [ ] + } ] + }, + "statements" : { + "def" : [ { + "localId" : "209", + "name" : "Patient", + "context" : "Patient", + "annotation" : [ ], + "expression" : { + "type" : "SingletonFrom", + "localId" : "210", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Retrieve", + "localId" : "208", + "dataType" : "{https://github.com/cqframework/cql-execution/simple}Patient", + "annotation" : [ ], + "include" : [ ], + "codeFilter" : [ ], + "dateFilter" : [ ], + "otherFilter" : [ ] + } + } + }, { + "localId" : "214", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "MeetsAfterIntIvl", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "214", + "s" : [ { + "value" : [ "", "define ", "MeetsAfterIntIvl", ": " ] + }, { + "r" : "225", + "s" : [ { + "r" : "217", + "s" : [ { + "r" : "215", + "value" : [ "Interval[", "11", ", ", "15", "]" ] + } ] + }, { + "r" : "225", + "value" : [ " ", "meets after", " " ] + }, { + "r" : "222", + "s" : [ { + "r" : "220", + "value" : [ "Interval[", "5", ", ", "10", "]" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "MeetsAfter", + "localId" : "225", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "226", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "227", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "228", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "229", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "Interval", + "localId" : "217", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "218", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "219", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "low" : { + "type" : "Literal", + "localId" : "215", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "11", + "annotation" : [ ] + }, + "high" : { + "type" : "Literal", + "localId" : "216", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "15", + "annotation" : [ ] + } + }, { + "type" : "Interval", + "localId" : "222", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "223", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "224", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "low" : { + "type" : "Literal", + "localId" : "220", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "5", + "annotation" : [ ] + }, + "high" : { + "type" : "Literal", + "localId" : "221", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "10", + "annotation" : [ ] + } + } ] + } + }, { + "localId" : "232", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "MeetsBeforeIntIvl", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "232", + "s" : [ { + "value" : [ "", "define ", "MeetsBeforeIntIvl", ": " ] + }, { + "r" : "243", + "s" : [ { + "r" : "235", + "s" : [ { + "r" : "233", + "value" : [ "Interval[", "1", ", ", "4", "]" ] + } ] + }, { + "r" : "243", + "value" : [ " ", "meets after", " " ] + }, { + "r" : "240", + "s" : [ { + "r" : "238", + "value" : [ "Interval[", "5", ", ", "10", "]" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "MeetsAfter", + "localId" : "243", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "244", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "245", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "246", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "247", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "Interval", + "localId" : "235", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "236", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "237", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "low" : { + "type" : "Literal", + "localId" : "233", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "high" : { + "type" : "Literal", + "localId" : "234", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "4", + "annotation" : [ ] + } + }, { + "type" : "Interval", + "localId" : "240", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "241", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "242", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "low" : { + "type" : "Literal", + "localId" : "238", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "5", + "annotation" : [ ] + }, + "high" : { + "type" : "Literal", + "localId" : "239", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "10", + "annotation" : [ ] + } + } ] + } + }, { + "localId" : "250", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "NotMeetsIntIvl", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "250", + "s" : [ { + "value" : [ "", "define ", "NotMeetsIntIvl", ": " ] + }, { + "r" : "261", + "s" : [ { + "r" : "253", + "s" : [ { + "r" : "251", + "value" : [ "Interval[", "1", ", ", "2", "]" ] + } ] + }, { + "r" : "261", + "value" : [ " ", "meets after", " " ] + }, { + "r" : "258", + "s" : [ { + "r" : "256", + "value" : [ "Interval[", "5", ", ", "10", "]" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "MeetsAfter", + "localId" : "261", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "262", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "263", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "264", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "265", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "Interval", + "localId" : "253", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "254", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "255", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "low" : { + "type" : "Literal", + "localId" : "251", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "high" : { + "type" : "Literal", + "localId" : "252", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "annotation" : [ ] + } + }, { + "type" : "Interval", + "localId" : "258", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "259", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "260", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "low" : { + "type" : "Literal", + "localId" : "256", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "5", + "annotation" : [ ] + }, + "high" : { + "type" : "Literal", + "localId" : "257", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "10", + "annotation" : [ ] + } + } ] + } + }, { + "localId" : "268", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "MeetsAfterRealIvl", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "268", + "s" : [ { + "value" : [ "", "define ", "MeetsAfterRealIvl", ": " ] + }, { + "r" : "279", + "s" : [ { + "r" : "271", + "s" : [ { + "r" : "269", + "value" : [ "Interval[", "1.50000001", ", ", "2.5", "]" ] + } ] + }, { + "r" : "279", + "value" : [ " ", "meets after", " " ] + }, { + "r" : "276", + "s" : [ { + "r" : "274", + "value" : [ "Interval[", "0.5", ", ", "1.5", "]" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "MeetsAfter", + "localId" : "279", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "280", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "281", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "282", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "283", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "Interval", + "localId" : "271", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "272", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "273", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } + }, + "low" : { + "type" : "Literal", + "localId" : "269", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "1.50000001", + "annotation" : [ ] + }, + "high" : { + "type" : "Literal", + "localId" : "270", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "2.5", + "annotation" : [ ] + } + }, { + "type" : "Interval", + "localId" : "276", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "277", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "278", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } + }, + "low" : { + "type" : "Literal", + "localId" : "274", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "0.5", + "annotation" : [ ] + }, + "high" : { + "type" : "Literal", + "localId" : "275", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "1.5", + "annotation" : [ ] + } + } ] + } + }, { + "localId" : "286", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "MeetsBeforeRealIvl", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "286", + "s" : [ { + "value" : [ "", "define ", "MeetsBeforeRealIvl", ": " ] + }, { + "r" : "297", + "s" : [ { + "r" : "289", + "s" : [ { + "r" : "287", + "value" : [ "Interval[", "0.5", ", ", "1.5", "]" ] + } ] + }, { + "r" : "297", + "value" : [ " ", "meets after", " " ] + }, { + "r" : "294", + "s" : [ { + "r" : "292", + "value" : [ "Interval[", "1.50000001", ", ", "2.5", "]" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "MeetsAfter", + "localId" : "297", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "298", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "299", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "300", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "301", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "Interval", + "localId" : "289", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "290", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "291", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } + }, + "low" : { + "type" : "Literal", + "localId" : "287", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "0.5", + "annotation" : [ ] + }, + "high" : { + "type" : "Literal", + "localId" : "288", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "1.5", + "annotation" : [ ] + } + }, { + "type" : "Interval", + "localId" : "294", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "295", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "296", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } + }, + "low" : { + "type" : "Literal", + "localId" : "292", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "1.50000001", + "annotation" : [ ] + }, + "high" : { + "type" : "Literal", + "localId" : "293", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "2.5", + "annotation" : [ ] + } + } ] + } + }, { + "localId" : "304", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "NotMeetsRealIvl", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "304", + "s" : [ { + "value" : [ "", "define ", "NotMeetsRealIvl", ": " ] + }, { + "r" : "315", + "s" : [ { + "r" : "307", + "s" : [ { + "r" : "305", + "value" : [ "Interval[", "0.0", ", ", "1.0", "]" ] + } ] + }, { + "r" : "315", + "value" : [ " ", "meets after", " " ] + }, { + "r" : "312", + "s" : [ { + "r" : "310", + "value" : [ "Interval[", "1.1", ", ", "2.0", "]" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "MeetsAfter", + "localId" : "315", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "316", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "317", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "318", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "319", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "Interval", + "localId" : "307", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "308", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "309", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } + }, + "low" : { + "type" : "Literal", + "localId" : "305", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "0.0", + "annotation" : [ ] + }, + "high" : { + "type" : "Literal", + "localId" : "306", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "1.0", + "annotation" : [ ] + } + }, { + "type" : "Interval", + "localId" : "312", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "313", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "314", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } + }, + "low" : { + "type" : "Literal", + "localId" : "310", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "1.1", + "annotation" : [ ] + }, + "high" : { + "type" : "Literal", + "localId" : "311", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "2.0", + "annotation" : [ ] + } + } ] + } + }, { + "localId" : "322", + "name" : "DateIvl", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "322", + "s" : [ { + "value" : [ "", "define ", "DateIvl", ": " ] + }, { + "r" : "371", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "339", + "s" : [ { + "r" : "323", + "value" : [ "DateTime", "(", "2012", ", ", "3", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "363", + "s" : [ { + "r" : "347", + "value" : [ "DateTime", "(", "2012", ", ", "9", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "374", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "375", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "expression" : { + "type" : "Interval", + "localId" : "371", + "lowClosed" : true, + "highClosed" : false, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "372", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "373", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "DateTime", + "localId" : "339", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "340", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "341", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "342", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "343", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "344", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "345", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "346", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "323", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "324", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "325", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "326", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "327", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "328", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "329", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "363", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "364", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "365", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "366", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "367", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "368", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "369", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "370", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "347", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "348", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "9", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "349", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "350", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "351", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "352", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "353", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + } + } + }, { + "localId" : "378", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "MeetsAfterDateIvl", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "378", + "s" : [ { + "value" : [ "", "define ", "MeetsAfterDateIvl", ": " ] + }, { + "r" : "433", + "s" : [ { + "r" : "427", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "395", + "s" : [ { + "r" : "379", + "value" : [ "DateTime", "(", "2012", ", ", "9", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "419", + "s" : [ { + "r" : "403", + "value" : [ "DateTime", "(", "2012", ", ", "12", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ ")" ] + } ] + }, { + "r" : "433", + "value" : [ " ", "meets after", " " ] + }, { + "r" : "430", + "s" : [ { + "value" : [ "DateIvl" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "MeetsAfter", + "localId" : "433", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "434", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "435", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "436", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "437", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "Interval", + "localId" : "427", + "lowClosed" : true, + "highClosed" : false, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "428", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "429", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "DateTime", + "localId" : "395", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "396", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "397", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "398", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "399", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "400", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "401", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "402", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "379", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "380", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "9", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "381", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "382", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "383", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "384", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "385", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "419", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "420", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "421", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "422", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "423", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "424", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "425", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "426", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "403", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "404", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "12", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "405", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "406", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "407", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "408", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "409", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + } + }, { + "type" : "ExpressionRef", + "localId" : "430", + "name" : "DateIvl", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "431", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "432", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + } ] + } + }, { + "localId" : "440", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "MeetsBeforeDateIvl", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "440", + "s" : [ { + "value" : [ "", "define ", "MeetsBeforeDateIvl", ": " ] + }, { + "r" : "495", + "s" : [ { + "r" : "489", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "457", + "s" : [ { + "r" : "441", + "value" : [ "DateTime", "(", "2012", ", ", "1", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "481", + "s" : [ { + "r" : "465", + "value" : [ "DateTime", "(", "2012", ", ", "3", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ ")" ] + } ] + }, { + "r" : "495", + "value" : [ " ", "meets after", " " ] + }, { + "r" : "492", + "s" : [ { + "value" : [ "DateIvl" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "MeetsAfter", + "localId" : "495", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "496", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "497", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "498", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "499", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "Interval", + "localId" : "489", + "lowClosed" : true, + "highClosed" : false, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "490", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "491", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "DateTime", + "localId" : "457", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "458", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "459", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "460", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "461", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "462", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "463", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "464", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "441", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "442", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "443", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "444", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "445", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "446", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "447", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "481", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "482", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "483", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "484", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "485", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "486", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "487", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "488", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "465", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "466", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "467", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "468", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "469", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "470", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "471", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + } + }, { + "type" : "ExpressionRef", + "localId" : "492", + "name" : "DateIvl", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "493", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "494", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + } ] + } + }, { + "localId" : "502", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "NotMeetsDateIvl", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "502", + "s" : [ { + "value" : [ "", "define ", "NotMeetsDateIvl", ": " ] + }, { + "r" : "557", + "s" : [ { + "r" : "551", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "519", + "s" : [ { + "r" : "503", + "value" : [ "DateTime", "(", "2012", ", ", "1", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "543", + "s" : [ { + "r" : "527", + "value" : [ "DateTime", "(", "2012", ", ", "2", ", ", "29", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ ")" ] + } ] + }, { + "r" : "557", + "value" : [ " ", "meets after", " " ] + }, { + "r" : "554", + "s" : [ { + "value" : [ "DateIvl" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "MeetsAfter", + "localId" : "557", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "558", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "559", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "560", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "561", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "Interval", + "localId" : "551", + "lowClosed" : true, + "highClosed" : false, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "552", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "553", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "DateTime", + "localId" : "519", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "520", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "521", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "522", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "523", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "524", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "525", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "526", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "503", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "504", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "505", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "506", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "507", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "508", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "509", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "543", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "544", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "545", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "546", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "547", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "548", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "549", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "550", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "527", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "528", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "529", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "29", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "530", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "531", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "532", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "533", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + } + }, { + "type" : "ExpressionRef", + "localId" : "554", + "name" : "DateIvl", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "555", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "556", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + } ] + } + }, { + "localId" : "564", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "MayMeetAfterImpreciseDateIvl", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "564", + "s" : [ { + "value" : [ "", "define ", "MayMeetAfterImpreciseDateIvl", ": " ] + }, { + "r" : "589", + "s" : [ { + "r" : "565", + "s" : [ { + "value" : [ "DateIvl" ] + } ] + }, { + "r" : "589", + "value" : [ " ", "meets after", " " ] + }, { + "r" : "586", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "574", + "s" : [ { + "r" : "568", + "value" : [ "DateTime", "(", "2012", ", ", "1", ")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "583", + "s" : [ { + "r" : "577", + "value" : [ "DateTime", "(", "2012", ", ", "2", ")" ] + } ] + }, { + "value" : [ "]" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "MeetsAfter", + "localId" : "589", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "590", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "591", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "592", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "593", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "ExpressionRef", + "localId" : "565", + "name" : "DateIvl", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "566", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "567", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + }, { + "type" : "Interval", + "localId" : "586", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "587", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "588", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "DateTime", + "localId" : "574", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "575", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "576", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "568", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "569", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "583", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "584", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "585", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "577", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "578", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "annotation" : [ ] + } + } + } ] + } + }, { + "localId" : "596", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "MayMeetBeforeImpreciseDateIvl", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "596", "s" : [ { - "value" : [ "","library TestSnippet version '1'" ] - } ] - } - } ], - "identifier" : { - "id" : "TestSnippet", - "version" : "1" - }, - "schemaIdentifier" : { - "id" : "urn:hl7-org:elm", - "version" : "r1" - }, - "usings" : { - "def" : [ { - "localId" : "1", - "localIdentifier" : "System", - "uri" : "urn:hl7-org:elm-types:r1" - }, { - "localId" : "206", - "localIdentifier" : "Simple", - "uri" : "https://github.com/cqframework/cql-execution/simple", - "version" : "1.0.0", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "206", - "s" : [ { - "value" : [ "","using " ] - }, { - "s" : [ { - "value" : [ "Simple" ] - } ] - }, { - "value" : [ " version '1.0.0'" ] - } ] - } - } ] - } ] - }, - "contexts" : { - "def" : [ { - "localId" : "211", - "name" : "Patient" - } ] - }, - "statements" : { - "def" : [ { - "localId" : "209", - "name" : "Patient", - "context" : "Patient", - "expression" : { - "localId" : "210", - "type" : "SingletonFrom", - "signature" : [ ], - "operand" : { - "localId" : "208", - "dataType" : "{https://github.com/cqframework/cql-execution/simple}Patient", - "type" : "Retrieve", - "include" : [ ], - "codeFilter" : [ ], - "dateFilter" : [ ], - "otherFilter" : [ ] - } - } - }, { - "localId" : "214", + "value" : [ "", "define ", "MayMeetBeforeImpreciseDateIvl", ": " ] + }, { + "r" : "621", + "s" : [ { + "r" : "597", + "s" : [ { + "value" : [ "DateIvl" ] + } ] + }, { + "r" : "621", + "value" : [ " ", "meets after", " " ] + }, { + "r" : "618", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "606", + "s" : [ { + "r" : "600", + "value" : [ "DateTime", "(", "2012", ", ", "9", ")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "615", + "s" : [ { + "r" : "609", + "value" : [ "DateTime", "(", "2012", ", ", "12", ")" ] + } ] + }, { + "value" : [ "]" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "MeetsAfter", + "localId" : "621", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "622", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "623", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "624", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "625", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "ExpressionRef", + "localId" : "597", + "name" : "DateIvl", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "598", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "599", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + }, { + "type" : "Interval", + "localId" : "618", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "619", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "620", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "DateTime", + "localId" : "606", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "607", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "608", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "600", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "601", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "9", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "615", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "616", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "617", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "609", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "610", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "12", + "annotation" : [ ] + } + } + } ] + } + }, { + "localId" : "628", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "NotMeetsImpreciseDateIvl", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "628", + "s" : [ { + "value" : [ "", "define ", "NotMeetsImpreciseDateIvl", ": " ] + }, { + "r" : "653", + "s" : [ { + "r" : "629", + "s" : [ { + "value" : [ "DateIvl" ] + } ] + }, { + "r" : "653", + "value" : [ " ", "meets after", " " ] + }, { + "r" : "650", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "638", + "s" : [ { + "r" : "632", + "value" : [ "DateTime", "(", "2012", ", ", "1", ")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "647", + "s" : [ { + "r" : "641", + "value" : [ "DateTime", "(", "2012", ", ", "12", ")" ] + } ] + }, { + "value" : [ "]" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "MeetsAfter", + "localId" : "653", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "654", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "655", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "656", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "657", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "ExpressionRef", + "localId" : "629", + "name" : "DateIvl", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "630", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "631", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + }, { + "type" : "Interval", + "localId" : "650", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "651", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "652", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "DateTime", + "localId" : "638", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "639", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "640", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "632", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "633", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "647", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "648", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "649", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "641", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "642", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "12", + "annotation" : [ ] + } + } + } ] + } + }, { + "localId" : "660", + "name" : "PrecisionDateIvl", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "660", + "s" : [ { + "value" : [ "", "define ", "PrecisionDateIvl", ": " ] + }, { + "r" : "709", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "677", + "s" : [ { + "r" : "661", + "value" : [ "DateTime", "(", "2012", ", ", "3", ", ", "2", ", ", "12", ", ", "34", ", ", "56", ", ", "789", ")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "701", + "s" : [ { + "r" : "685", + "value" : [ "DateTime", "(", "2012", ", ", "9", ", ", "2", ", ", "1", ", ", "23", ", ", "45", ", ", "678", ")" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "712", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "713", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "expression" : { + "type" : "Interval", + "localId" : "709", + "lowClosed" : true, + "highClosed" : false, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "710", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "711", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "DateTime", + "localId" : "677", "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "name" : "ClosedNotNull", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "214", - "s" : [ { - "value" : [ "","define ","ClosedNotNull",": " ] - }, { - "r" : "215", - "s" : [ { - "value" : [ "start of " ] - }, { - "r" : "240", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "224", - "s" : [ { - "r" : "216", - "value" : [ "DateTime","(","2012",", ","1",", ","1",")" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "236", - "s" : [ { - "r" : "228", - "value" : [ "DateTime","(","2013",", ","1",", ","1",")" ] - } ] - }, { - "value" : [ "]" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "215", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "Start", - "signature" : [ { - "localId" : "243", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "244", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : { - "localId" : "240", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "241", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "242", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "224", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "225", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "226", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "227", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "216", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "217", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "218", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - } - }, - "high" : { - "localId" : "236", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "237", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "238", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "239", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "228", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2013", - "type" : "Literal" - }, - "month" : { - "localId" : "229", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "230", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - } - } - } - } - }, { - "localId" : "247", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "678", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "679", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "680", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "681", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "682", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "683", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "684", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "661", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "662", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "663", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "664", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "12", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "665", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "34", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "666", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "56", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "667", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "789", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "701", "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "name" : "ClosedNullDateTime", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "247", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "702", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "703", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "704", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "705", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "706", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "707", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "708", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "685", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "686", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "9", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "687", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "688", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "689", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "23", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "690", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "45", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "691", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "678", + "annotation" : [ ] + } + } + } + }, { + "localId" : "716", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "MeetsAfterDayOfIvl", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "716", + "s" : [ { + "value" : [ "", "define ", "MeetsAfterDayOfIvl", ": " ] + }, { + "r" : "771", + "s" : [ { + "r" : "717", + "s" : [ { + "value" : [ "PrecisionDateIvl" ] + } ] + }, { + "r" : "771", + "value" : [ " ", "meets after day of", " " ] + }, { + "r" : "768", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "736", "s" : [ { - "value" : [ "","define ","ClosedNullDateTime",": " ] - }, { - "r" : "248", - "s" : [ { - "value" : [ "start of " ] - }, { - "r" : "262", - "s" : [ { - "r" : "249", - "value" : [ "Interval[","null",", " ] - }, { - "r" : "258", - "s" : [ { - "r" : "250", - "value" : [ "DateTime","(","2013",", ","1",", ","1",")" ] - } ] - }, { - "value" : [ "]" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "248", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "Start", - "signature" : [ { - "localId" : "266", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "267", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : { - "localId" : "262", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "264", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "265", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "263", - "asType" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "As", - "signature" : [ ], - "operand" : { - "localId" : "249", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - } - }, - "high" : { - "localId" : "258", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "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" - }, { - "localId" : "261", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "250", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2013", - "type" : "Literal" - }, - "month" : { - "localId" : "251", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "252", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - } - } - } - } - }, { - "localId" : "270", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "name" : "ClosedNullInteger", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "270", + "r" : "720", + "value" : [ "DateTime", "(", "2012", ", ", "1", ", ", "2", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "760", "s" : [ { - "value" : [ "","define ","ClosedNullInteger",": " ] - }, { - "r" : "271", - "s" : [ { - "value" : [ "start of " ] - }, { - "r" : "274", - "s" : [ { - "r" : "272", - "value" : [ "Interval[","null",", ","3","]" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "271", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "Start", - "signature" : [ { - "localId" : "278", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "279", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : { - "localId" : "274", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "276", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "277", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "275", - "asType" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "As", - "signature" : [ ], - "operand" : { - "localId" : "272", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - } - }, - "high" : { - "localId" : "273", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - } - } - } - }, { - "localId" : "282", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "name" : "ClosedNullDecimal", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "282", + "r" : "744", + "value" : [ "DateTime", "(", "2012", ", ", "3", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ "]" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "MeetsAfter", + "localId" : "771", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "precision" : "Day", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "772", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "773", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "774", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "775", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "ExpressionRef", + "localId" : "717", + "name" : "PrecisionDateIvl", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "718", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "719", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + }, { + "type" : "Interval", + "localId" : "768", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "769", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "770", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "DateTime", + "localId" : "736", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "737", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "738", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "739", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "740", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "741", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "742", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "743", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "720", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "721", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "722", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "723", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "724", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "725", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "726", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "760", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "761", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "762", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "763", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "764", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "765", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "766", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "767", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "744", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "745", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "746", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "747", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "748", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "749", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "750", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + } + } ] + } + }, { + "localId" : "778", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "MeetsBeforeDayOfIvl", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "778", + "s" : [ { + "value" : [ "", "define ", "MeetsBeforeDayOfIvl", ": " ] + }, { + "r" : "833", + "s" : [ { + "r" : "779", + "s" : [ { + "value" : [ "PrecisionDateIvl" ] + } ] + }, { + "r" : "833", + "value" : [ " ", "meets after day of", " " ] + }, { + "r" : "830", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "798", "s" : [ { - "value" : [ "","define ","ClosedNullDecimal",": " ] - }, { - "r" : "283", - "s" : [ { - "value" : [ "start of " ] - }, { - "r" : "286", - "s" : [ { - "r" : "284", - "value" : [ "Interval[","null",", ","5.1","]" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "283", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "Start", - "signature" : [ { - "localId" : "290", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "291", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : { - "localId" : "286", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "288", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "289", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "287", - "asType" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "As", - "signature" : [ ], - "operand" : { - "localId" : "284", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - } - }, - "high" : { - "localId" : "285", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "5.1", - "type" : "Literal" - } - } - } - }, { - "localId" : "294", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "name" : "NullInterval", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "294", + "r" : "782", + "value" : [ "DateTime", "(", "2012", ", ", "9", ", ", "3", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "822", "s" : [ { - "value" : [ "","define ","NullInterval",": " ] - }, { - "r" : "295", - "s" : [ { - "value" : [ "start of " ] - }, { - "r" : "296", - "s" : [ { - "value" : [ "(" ] - }, { - "r" : "296", - "s" : [ { - "r" : "297", - "value" : [ "null"," as " ] - }, { - "r" : "298", - "s" : [ { - "value" : [ "Interval<" ] - }, { - "r" : "299", - "s" : [ { - "value" : [ "DateTime" ] - } ] - }, { - "value" : [ ">" ] - } ] - } ] - }, { - "value" : [ ")" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "295", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "Start", - "signature" : [ { - "localId" : "306", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "307", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : { - "localId" : "296", - "strict" : false, - "type" : "As", - "resultTypeSpecifier" : { - "localId" : "304", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "305", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "signature" : [ ], - "operand" : { - "localId" : "297", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - }, - "asTypeSpecifier" : { - "localId" : "298", - "type" : "IntervalTypeSpecifier", - "resultTypeSpecifier" : { - "localId" : "300", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "301", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "pointType" : { - "localId" : "299", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - } - } - }, { - "localId" : "310", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "name" : "OpenNotNull", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "310", + "r" : "806", + "value" : [ "DateTime", "(", "2012", ", ", "12", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ "]" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "MeetsAfter", + "localId" : "833", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "precision" : "Day", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "834", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "835", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "836", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "837", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "ExpressionRef", + "localId" : "779", + "name" : "PrecisionDateIvl", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "780", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "781", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + }, { + "type" : "Interval", + "localId" : "830", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "831", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "832", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "DateTime", + "localId" : "798", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "799", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "800", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "801", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "802", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "803", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "804", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "805", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "782", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "783", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "9", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "784", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "785", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "786", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "787", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "788", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "822", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "823", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "824", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "825", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "826", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "827", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "828", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "829", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "806", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "807", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "12", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "808", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "809", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "810", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "811", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "812", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + } + } ] + } + }, { + "localId" : "840", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "NotMeetsDayOfIvl", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "840", + "s" : [ { + "value" : [ "", "define ", "NotMeetsDayOfIvl", ": " ] + }, { + "r" : "895", + "s" : [ { + "r" : "841", + "s" : [ { + "value" : [ "PrecisionDateIvl" ] + } ] + }, { + "r" : "895", + "value" : [ " ", "meets after day of", " " ] + }, { + "r" : "892", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "860", "s" : [ { - "value" : [ "","define ","OpenNotNull",": " ] - }, { - "r" : "311", - "s" : [ { - "value" : [ "start of " ] - }, { - "r" : "336", - "s" : [ { - "value" : [ "Interval(" ] - }, { - "r" : "320", - "s" : [ { - "r" : "312", - "value" : [ "DateTime","(","2012",", ","1",", ","1",")" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "332", - "s" : [ { - "r" : "324", - "value" : [ "DateTime","(","2013",", ","1",", ","1",")" ] - } ] - }, { - "value" : [ ")" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "311", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "Start", - "signature" : [ { - "localId" : "339", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "340", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : { - "localId" : "336", - "lowClosed" : false, - "highClosed" : false, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "337", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "338", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "320", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "321", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "322", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "323", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "312", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "313", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "314", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - } - }, - "high" : { - "localId" : "332", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "333", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "334", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "335", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "324", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2013", - "type" : "Literal" - }, - "month" : { - "localId" : "325", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "326", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - } - } - } - } - }, { - "localId" : "343", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "name" : "OpenNull", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "343", + "r" : "844", + "value" : [ "DateTime", "(", "2012", ", ", "1", ", ", "2", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "884", "s" : [ { - "value" : [ "","define ","OpenNull",": " ] - }, { - "r" : "344", - "s" : [ { - "value" : [ "start of " ] - }, { - "r" : "358", - "s" : [ { - "r" : "345", - "value" : [ "Interval(","null",", " ] - }, { - "r" : "354", - "s" : [ { - "r" : "346", - "value" : [ "DateTime","(","2013",", ","1",", ","1",")" ] - } ] - }, { - "value" : [ ")" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "344", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "Start", - "signature" : [ { - "localId" : "362", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "363", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : { - "localId" : "358", - "lowClosed" : false, - "highClosed" : false, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "360", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "361", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "359", - "asType" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "As", - "signature" : [ ], - "operand" : { - "localId" : "345", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - } - }, - "high" : { - "localId" : "354", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "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" - }, { - "localId" : "357", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "346", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2013", - "type" : "Literal" - }, - "month" : { - "localId" : "347", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "348", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - } - } - } - } - } ] - } - } -} - -/* End -library TestSnippet version '1' -using Simple version '1.0.0' -context Patient -define ClosedNotNull: end of Interval[DateTime(2012, 1, 1), DateTime(2013, 1, 1)] -define ClosedNullDateTime: end of Interval[DateTime(2013, 1, 1), null] -define ClosedNullInteger: end of Interval[5, null] -define ClosedNullDecimal: end of Interval[7.3, null] -define NullInterval: end of (null as Interval) -define OpenNotNull: end of Interval(DateTime(2012, 1, 1), DateTime(2013, 1, 1)) -define OpenNull: end of Interval(DateTime(2013, 1, 1), null) -*/ - -module.exports['End'] = { - "library" : { - "localId" : "0", - "annotation" : [ { - "translatorVersion" : "3.27.0", - "translatorOptions" : "EnableDateRangeOptimization,EnableAnnotations,EnableResultTypes", - "signatureLevel" : "All", - "type" : "CqlToElmInfo" - }, { - "type" : "Annotation", - "s" : { - "r" : "343", + "r" : "868", + "value" : [ "DateTime", "(", "2012", ", ", "3", ", ", "2", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ "]" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "MeetsAfter", + "localId" : "895", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "precision" : "Day", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "896", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "897", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "898", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "899", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "ExpressionRef", + "localId" : "841", + "name" : "PrecisionDateIvl", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "842", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "843", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + }, { + "type" : "Interval", + "localId" : "892", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "893", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "894", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "DateTime", + "localId" : "860", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "861", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "862", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "863", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "864", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "865", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "866", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "867", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "844", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "845", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "846", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "847", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "848", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "849", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "850", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "884", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "885", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "886", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "887", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "888", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "889", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "890", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "891", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "868", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "869", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "870", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "871", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "872", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "873", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "874", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + } + } ] + } + }, { + "localId" : "902", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "NotMeetsDayOfImpreciseIVL", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "902", + "s" : [ { + "value" : [ "", "define ", "NotMeetsDayOfImpreciseIVL", ": " ] + }, { + "r" : "927", + "s" : [ { + "r" : "903", + "s" : [ { + "value" : [ "PrecisionDateIvl" ] + } ] + }, { + "r" : "927", + "value" : [ " ", "meets after day of", " " ] + }, { + "r" : "924", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "912", + "s" : [ { + "r" : "906", + "value" : [ "DateTime", "(", "2012", ", ", "1", ")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "921", + "s" : [ { + "r" : "915", + "value" : [ "DateTime", "(", "2012", ", ", "2", ")" ] + } ] + }, { + "value" : [ "]" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "MeetsAfter", + "localId" : "927", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "precision" : "Day", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "928", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "929", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "930", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "931", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "ExpressionRef", + "localId" : "903", + "name" : "PrecisionDateIvl", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "904", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "905", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + }, { + "type" : "Interval", + "localId" : "924", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "925", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "926", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "DateTime", + "localId" : "912", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "913", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "914", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "906", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "907", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "921", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "922", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "923", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "915", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "916", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "annotation" : [ ] + } + } + } ] + } + }, { + "localId" : "934", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "MayMeetAfterDayOfImpreciseIvl", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "934", + "s" : [ { + "value" : [ "", "define ", "MayMeetAfterDayOfImpreciseIvl", ": " ] + }, { + "r" : "959", + "s" : [ { + "r" : "935", + "s" : [ { + "value" : [ "PrecisionDateIvl" ] + } ] + }, { + "r" : "959", + "value" : [ " ", "meets after day of", " " ] + }, { + "r" : "956", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "944", + "s" : [ { + "r" : "938", + "value" : [ "DateTime", "(", "2012", ", ", "1", ")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "953", + "s" : [ { + "r" : "947", + "value" : [ "DateTime", "(", "2012", ", ", "3", ")" ] + } ] + }, { + "value" : [ "]" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "MeetsAfter", + "localId" : "959", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "precision" : "Day", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "960", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "961", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "962", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "963", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "ExpressionRef", + "localId" : "935", + "name" : "PrecisionDateIvl", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "936", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "937", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + }, { + "type" : "Interval", + "localId" : "956", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "957", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "958", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "DateTime", + "localId" : "944", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "945", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "946", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "938", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "939", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "953", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "954", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "955", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "947", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "948", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + } + } + } ] + } + }, { + "localId" : "966", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "MayMeetBeforeDayOfImpreciseIvl", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "966", + "s" : [ { + "value" : [ "", "define ", "MayMeetBeforeDayOfImpreciseIvl", ": " ] + }, { + "r" : "991", + "s" : [ { + "r" : "967", + "s" : [ { + "value" : [ "PrecisionDateIvl" ] + } ] + }, { + "r" : "991", + "value" : [ " ", "meets after day of", " " ] + }, { + "r" : "988", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "976", + "s" : [ { + "r" : "970", + "value" : [ "DateTime", "(", "2012", ", ", "9", ")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "985", + "s" : [ { + "r" : "979", + "value" : [ "DateTime", "(", "2012", ", ", "12", ")" ] + } ] + }, { + "value" : [ "]" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "MeetsAfter", + "localId" : "991", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "precision" : "Day", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "992", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "993", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "994", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "995", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "ExpressionRef", + "localId" : "967", + "name" : "PrecisionDateIvl", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "968", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "969", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + }, { + "type" : "Interval", + "localId" : "988", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "989", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "990", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "DateTime", + "localId" : "976", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "977", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "978", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "970", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "971", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "9", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "985", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "986", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "987", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "979", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "980", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "12", + "annotation" : [ ] + } + } + } ] + } + }, { + "localId" : "998", + "name" : "ImpDateIvl", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "998", "s" : [ { - "value" : [ "","library TestSnippet version '1'" ] - } ] - } - } ], - "identifier" : { - "id" : "TestSnippet", - "version" : "1" - }, - "schemaIdentifier" : { - "id" : "urn:hl7-org:elm", - "version" : "r1" - }, - "usings" : { - "def" : [ { - "localId" : "1", - "localIdentifier" : "System", - "uri" : "urn:hl7-org:elm-types:r1" - }, { - "localId" : "206", - "localIdentifier" : "Simple", - "uri" : "https://github.com/cqframework/cql-execution/simple", - "version" : "1.0.0", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "206", - "s" : [ { - "value" : [ "","using " ] - }, { - "s" : [ { - "value" : [ "Simple" ] - } ] - }, { - "value" : [ " version '1.0.0'" ] - } ] - } - } ] - } ] - }, - "contexts" : { - "def" : [ { - "localId" : "211", - "name" : "Patient" - } ] - }, - "statements" : { - "def" : [ { - "localId" : "209", - "name" : "Patient", - "context" : "Patient", - "expression" : { - "localId" : "210", - "type" : "SingletonFrom", - "signature" : [ ], - "operand" : { - "localId" : "208", - "dataType" : "{https://github.com/cqframework/cql-execution/simple}Patient", - "type" : "Retrieve", - "include" : [ ], - "codeFilter" : [ ], - "dateFilter" : [ ], - "otherFilter" : [ ] - } - } - }, { - "localId" : "214", + "value" : [ "", "define ", "ImpDateIvl", ": " ] + }, { + "r" : "1017", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "1005", + "s" : [ { + "r" : "999", + "value" : [ "DateTime", "(", "2012", ", ", "3", ")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "1014", + "s" : [ { + "r" : "1008", + "value" : [ "DateTime", "(", "2012", ", ", "8", ")" ] + } ] + }, { + "value" : [ "]" ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1020", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1021", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "expression" : { + "type" : "Interval", + "localId" : "1017", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1018", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1019", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "DateTime", + "localId" : "1005", "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "name" : "ClosedNotNull", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "214", - "s" : [ { - "value" : [ "","define ","ClosedNotNull",": " ] - }, { - "r" : "215", - "s" : [ { - "value" : [ "end of " ] - }, { - "r" : "240", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "224", - "s" : [ { - "r" : "216", - "value" : [ "DateTime","(","2012",", ","1",", ","1",")" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "236", - "s" : [ { - "r" : "228", - "value" : [ "DateTime","(","2013",", ","1",", ","1",")" ] - } ] - }, { - "value" : [ "]" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "215", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "End", - "signature" : [ { - "localId" : "243", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "244", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : { - "localId" : "240", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "241", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "242", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "224", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "225", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "226", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "227", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "216", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "217", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "218", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - } - }, - "high" : { - "localId" : "236", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "237", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "238", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "239", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "228", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2013", - "type" : "Literal" - }, - "month" : { - "localId" : "229", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "230", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - } - } - } - } - }, { - "localId" : "247", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1006", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1007", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "999", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1000", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "1014", "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "name" : "ClosedNullDateTime", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "247", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1015", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1016", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1008", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1009", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "8", + "annotation" : [ ] + } + } + } + }, { + "localId" : "1024", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "ImpreciseMayMeetAfterDateIvl", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "1024", + "s" : [ { + "value" : [ "", "define ", "ImpreciseMayMeetAfterDateIvl", ": " ] + }, { + "r" : "1079", + "s" : [ { + "r" : "1025", + "s" : [ { + "value" : [ "ImpDateIvl" ] + } ] + }, { + "r" : "1079", + "value" : [ " ", "meets after", " " ] + }, { + "r" : "1076", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "1044", "s" : [ { - "value" : [ "","define ","ClosedNullDateTime",": " ] - }, { - "r" : "248", - "s" : [ { - "value" : [ "end of " ] - }, { - "r" : "262", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "257", - "s" : [ { - "r" : "249", - "value" : [ "DateTime","(","2013",", ","1",", ","1",")" ] - } ] - }, { - "r" : "261", - "value" : [ ", ","null","]" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "248", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "End", - "signature" : [ { - "localId" : "266", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "267", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : { - "localId" : "262", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "264", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "265", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "257", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "258", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "259", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "260", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "249", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2013", - "type" : "Literal" - }, - "month" : { - "localId" : "250", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "251", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - } - }, - "high" : { - "localId" : "263", - "asType" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "As", - "signature" : [ ], - "operand" : { - "localId" : "261", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - } - } - } - } - }, { - "localId" : "270", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "name" : "ClosedNullInteger", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "270", + "r" : "1028", + "value" : [ "DateTime", "(", "2012", ", ", "1", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "1068", + "s" : [ { + "r" : "1052", + "value" : [ "DateTime", "(", "2012", ", ", "2", ", ", "29", ", ", "23", ", ", "59", ", ", "59", ", ", "999", ")" ] + } ] + }, { + "value" : [ "]" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "MeetsAfter", + "localId" : "1079", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "1080", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1081", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "1082", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1083", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "ExpressionRef", + "localId" : "1025", + "name" : "ImpDateIvl", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1026", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1027", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + }, { + "type" : "Interval", + "localId" : "1076", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1077", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1078", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "DateTime", + "localId" : "1044", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1045", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1046", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1047", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1048", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1049", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1050", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1051", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1028", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1029", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "1030", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "1031", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "1032", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "1033", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "1034", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "1068", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1069", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1070", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1071", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1072", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1073", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1074", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1075", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1052", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1053", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "1054", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "29", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "1055", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "23", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "1056", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "59", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "1057", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "59", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "1058", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "999", + "annotation" : [ ] + } + } + } ] + } + }, { + "localId" : "1086", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "ImpreciseMayMeetBeforeDateIvl", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "1086", + "s" : [ { + "value" : [ "", "define ", "ImpreciseMayMeetBeforeDateIvl", ": " ] + }, { + "r" : "1141", + "s" : [ { + "r" : "1087", + "s" : [ { + "value" : [ "ImpDateIvl" ] + } ] + }, { + "r" : "1141", + "value" : [ " ", "meets after", " " ] + }, { + "r" : "1138", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "1106", + "s" : [ { + "r" : "1090", + "value" : [ "DateTime", "(", "2012", ", ", "9", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "1130", + "s" : [ { + "r" : "1114", + "value" : [ "DateTime", "(", "2012", ", ", "12", ", ", "31", ", ", "23", ", ", "59", ", ", "59", ", ", "999", ")" ] + } ] + }, { + "value" : [ "]" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "MeetsAfter", + "localId" : "1141", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "1142", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1143", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "1144", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1145", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "ExpressionRef", + "localId" : "1087", + "name" : "ImpDateIvl", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1088", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1089", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + }, { + "type" : "Interval", + "localId" : "1138", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1139", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1140", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "DateTime", + "localId" : "1106", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1107", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1108", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1109", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1110", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1111", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1112", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1113", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1090", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1091", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "9", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "1092", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "1093", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "1094", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "1095", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "1096", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "1130", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1131", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1132", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1133", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1134", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1135", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1136", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1137", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1114", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1115", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "12", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "1116", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "31", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "1117", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "23", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "1118", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "59", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "1119", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "59", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "1120", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "999", + "annotation" : [ ] + } + } + } ] + } + }, { + "localId" : "1148", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "ImpreciseNotMeetsDateIvl", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "1148", + "s" : [ { + "value" : [ "", "define ", "ImpreciseNotMeetsDateIvl", ": " ] + }, { + "r" : "1203", + "s" : [ { + "r" : "1149", + "s" : [ { + "value" : [ "ImpDateIvl" ] + } ] + }, { + "r" : "1203", + "value" : [ " ", "meets after", " " ] + }, { + "r" : "1200", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "1168", + "s" : [ { + "r" : "1152", + "value" : [ "DateTime", "(", "2012", ", ", "1", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "1192", + "s" : [ { + "r" : "1176", + "value" : [ "DateTime", "(", "2012", ", ", "12", ", ", "31", ", ", "23", ", ", "59", ", ", "59", ", ", "999", ")" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "MeetsAfter", + "localId" : "1203", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "1204", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1205", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "1206", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1207", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "ExpressionRef", + "localId" : "1149", + "name" : "ImpDateIvl", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1150", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1151", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + }, { + "type" : "Interval", + "localId" : "1200", + "lowClosed" : true, + "highClosed" : false, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1201", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1202", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "DateTime", + "localId" : "1168", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1169", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1170", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1171", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1172", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1173", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1174", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1175", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1152", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1153", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "1154", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "1155", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "1156", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "1157", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "1158", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "1192", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1193", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1194", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1195", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1196", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1197", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1198", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1199", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1176", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1177", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "12", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "1178", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "31", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "1179", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "23", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "1180", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "59", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "1181", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "59", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "1182", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "999", + "annotation" : [ ] + } + } + } ] + } + }, { + "localId" : "1210", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "NegInfBegMeetsBeforeIntIvl", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "1210", + "s" : [ { + "value" : [ "", "define ", "NegInfBegMeetsBeforeIntIvl", ": " ] + }, { + "r" : "1222", + "s" : [ { + "r" : "1213", + "s" : [ { + "r" : "1211", + "value" : [ "Interval[", "null", ", ", "100", "]" ] + } ] + }, { + "r" : "1222", + "value" : [ " ", "meets after", " " ] + }, { + "r" : "1219", + "s" : [ { + "r" : "1217", + "value" : [ "Interval[", "101", ", ", "200", "]" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "MeetsAfter", + "localId" : "1222", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "1223", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1224", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "1225", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1226", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "Interval", + "localId" : "1213", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1215", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1216", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "low" : { + "type" : "As", + "localId" : "1214", + "asType" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Null", + "localId" : "1211", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } + }, + "high" : { + "type" : "Literal", + "localId" : "1212", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "100", + "annotation" : [ ] + } + }, { + "type" : "Interval", + "localId" : "1219", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1220", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1221", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "low" : { + "type" : "Literal", + "localId" : "1217", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "101", + "annotation" : [ ] + }, + "high" : { + "type" : "Literal", + "localId" : "1218", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "200", + "annotation" : [ ] + } + } ] + } + }, { + "localId" : "1229", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "NegInfBegNotMeetsIntIvl", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "1229", + "s" : [ { + "value" : [ "", "define ", "NegInfBegNotMeetsIntIvl", ": " ] + }, { + "r" : "1241", + "s" : [ { + "r" : "1232", + "s" : [ { + "r" : "1230", + "value" : [ "Interval[", "null", ", ", "100", "]" ] + } ] + }, { + "r" : "1241", + "value" : [ " ", "meets after", " " ] + }, { + "r" : "1238", + "s" : [ { + "r" : "1236", + "value" : [ "Interval[", "100", ", ", "200", "]" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "MeetsAfter", + "localId" : "1241", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "1242", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1243", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "1244", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1245", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "Interval", + "localId" : "1232", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1234", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1235", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "low" : { + "type" : "As", + "localId" : "1233", + "asType" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Null", + "localId" : "1230", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } + }, + "high" : { + "type" : "Literal", + "localId" : "1231", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "100", + "annotation" : [ ] + } + }, { + "type" : "Interval", + "localId" : "1238", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1239", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1240", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "low" : { + "type" : "Literal", + "localId" : "1236", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "100", + "annotation" : [ ] + }, + "high" : { + "type" : "Literal", + "localId" : "1237", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "200", + "annotation" : [ ] + } + } ] + } + }, { + "localId" : "1248", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "IntIvlNotMeetsNegInfBeg", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "1248", + "s" : [ { + "value" : [ "", "define ", "IntIvlNotMeetsNegInfBeg", ": " ] + }, { + "r" : "1260", + "s" : [ { + "r" : "1251", + "s" : [ { + "r" : "1249", + "value" : [ "Interval[", "100", ", ", "200", "]" ] + } ] + }, { + "r" : "1260", + "value" : [ " ", "meets after", " " ] + }, { + "r" : "1256", + "s" : [ { + "r" : "1254", + "value" : [ "Interval[", "null", ", ", "400", "]" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "MeetsAfter", + "localId" : "1260", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "1261", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1262", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "1263", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1264", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "Interval", + "localId" : "1251", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1252", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1253", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "low" : { + "type" : "Literal", + "localId" : "1249", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "100", + "annotation" : [ ] + }, + "high" : { + "type" : "Literal", + "localId" : "1250", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "200", + "annotation" : [ ] + } + }, { + "type" : "Interval", + "localId" : "1256", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1258", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1259", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "low" : { + "type" : "As", + "localId" : "1257", + "asType" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Null", + "localId" : "1254", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } + }, + "high" : { + "type" : "Literal", + "localId" : "1255", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "400", + "annotation" : [ ] + } + } ] + } + }, { + "localId" : "1267", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "UnknownBegMeetsBeforeIntIvl", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "1267", + "s" : [ { + "value" : [ "", "define ", "UnknownBegMeetsBeforeIntIvl", ": " ] + }, { + "r" : "1279", + "s" : [ { + "r" : "1270", + "s" : [ { + "r" : "1268", + "value" : [ "Interval(", "null", ", ", "100", "]" ] + } ] + }, { + "r" : "1279", + "value" : [ " ", "meets after", " " ] + }, { + "r" : "1276", + "s" : [ { + "r" : "1274", + "value" : [ "Interval[", "101", ", ", "200", "]" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "MeetsAfter", + "localId" : "1279", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "1280", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1281", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "1282", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1283", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "Interval", + "localId" : "1270", + "lowClosed" : false, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1272", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1273", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "low" : { + "type" : "As", + "localId" : "1271", + "asType" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Null", + "localId" : "1268", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } + }, + "high" : { + "type" : "Literal", + "localId" : "1269", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "100", + "annotation" : [ ] + } + }, { + "type" : "Interval", + "localId" : "1276", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1277", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1278", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "low" : { + "type" : "Literal", + "localId" : "1274", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "101", + "annotation" : [ ] + }, + "high" : { + "type" : "Literal", + "localId" : "1275", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "200", + "annotation" : [ ] + } + } ] + } + }, { + "localId" : "1286", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "UnknownBegMayMeetAfterIntIvl", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "1286", + "s" : [ { + "value" : [ "", "define ", "UnknownBegMayMeetAfterIntIvl", ": " ] + }, { + "r" : "1298", + "s" : [ { + "r" : "1289", + "s" : [ { + "r" : "1287", + "value" : [ "Interval(", "null", ", ", "100", "]" ] + } ] + }, { + "r" : "1298", + "value" : [ " ", "meets after", " " ] + }, { + "r" : "1295", + "s" : [ { + "r" : "1293", + "value" : [ "Interval[", "0", ", ", "50", "]" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "MeetsAfter", + "localId" : "1298", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "1299", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1300", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "1301", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1302", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "Interval", + "localId" : "1289", + "lowClosed" : false, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1291", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1292", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "low" : { + "type" : "As", + "localId" : "1290", + "asType" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Null", + "localId" : "1287", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } + }, + "high" : { + "type" : "Literal", + "localId" : "1288", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "100", + "annotation" : [ ] + } + }, { + "type" : "Interval", + "localId" : "1295", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1296", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1297", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "low" : { + "type" : "Literal", + "localId" : "1293", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "high" : { + "type" : "Literal", + "localId" : "1294", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "50", + "annotation" : [ ] + } + } ] + } + }, { + "localId" : "1305", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "UnknownBegNotMeetsIntIvl", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "1305", + "s" : [ { + "value" : [ "", "define ", "UnknownBegNotMeetsIntIvl", ": " ] + }, { + "r" : "1317", + "s" : [ { + "r" : "1308", + "s" : [ { + "r" : "1306", + "value" : [ "Interval(", "null", ", ", "5", "]" ] + } ] + }, { + "r" : "1317", + "value" : [ " ", "meets after", " " ] + }, { + "r" : "1314", + "s" : [ { + "r" : "1312", + "value" : [ "Interval[", "0", ", ", "100", "]" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "MeetsAfter", + "localId" : "1317", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "1318", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1319", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "1320", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1321", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "Interval", + "localId" : "1308", + "lowClosed" : false, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1310", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1311", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "low" : { + "type" : "As", + "localId" : "1309", + "asType" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Null", + "localId" : "1306", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } + }, + "high" : { + "type" : "Literal", + "localId" : "1307", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "5", + "annotation" : [ ] + } + }, { + "type" : "Interval", + "localId" : "1314", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1315", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1316", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "low" : { + "type" : "Literal", + "localId" : "1312", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "high" : { + "type" : "Literal", + "localId" : "1313", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "100", + "annotation" : [ ] + } + } ] + } + }, { + "localId" : "1324", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "IntIvlMayMeetBeforeUnknownBeg", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "1324", + "s" : [ { + "value" : [ "", "define ", "IntIvlMayMeetBeforeUnknownBeg", ": " ] + }, { + "r" : "1336", + "s" : [ { + "r" : "1327", + "s" : [ { + "r" : "1325", + "value" : [ "Interval[", "0", ", ", "100", "]" ] + } ] + }, { + "r" : "1336", + "value" : [ " ", "meets after", " " ] + }, { + "r" : "1332", + "s" : [ { + "r" : "1330", + "value" : [ "Interval(", "null", ", ", "400", ")" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "MeetsAfter", + "localId" : "1336", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "1337", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1338", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "1339", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1340", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "Interval", + "localId" : "1327", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1328", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1329", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "low" : { + "type" : "Literal", + "localId" : "1325", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "high" : { + "type" : "Literal", + "localId" : "1326", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "100", + "annotation" : [ ] + } + }, { + "type" : "Interval", + "localId" : "1332", + "lowClosed" : false, + "highClosed" : false, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1334", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1335", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "low" : { + "type" : "As", + "localId" : "1333", + "asType" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Null", + "localId" : "1330", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } + }, + "high" : { + "type" : "Literal", + "localId" : "1331", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "400", + "annotation" : [ ] + } + } ] + } + }, { + "localId" : "1343", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "PosInfEndMeetsAfterIntIvl", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "1343", + "s" : [ { + "value" : [ "", "define ", "PosInfEndMeetsAfterIntIvl", ": " ] + }, { + "r" : "1355", + "s" : [ { + "r" : "1346", + "s" : [ { + "r" : "1344", + "value" : [ "Interval[", "100", ", ", "null", "]" ] + } ] + }, { + "r" : "1355", + "value" : [ " ", "meets after", " " ] + }, { + "r" : "1352", + "s" : [ { + "r" : "1350", + "value" : [ "Interval[", "0", ", ", "99", "]" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "MeetsAfter", + "localId" : "1355", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "1356", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1357", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "1358", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1359", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "Interval", + "localId" : "1346", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1348", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1349", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "low" : { + "type" : "Literal", + "localId" : "1344", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "100", + "annotation" : [ ] + }, + "high" : { + "type" : "As", + "localId" : "1347", + "asType" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Null", + "localId" : "1345", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } + } + }, { + "type" : "Interval", + "localId" : "1352", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1353", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1354", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "low" : { + "type" : "Literal", + "localId" : "1350", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "high" : { + "type" : "Literal", + "localId" : "1351", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "99", + "annotation" : [ ] + } + } ] + } + }, { + "localId" : "1362", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "PosInfEndNotMeetsIntIvl", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "1362", + "s" : [ { + "value" : [ "", "define ", "PosInfEndNotMeetsIntIvl", ": " ] + }, { + "r" : "1374", + "s" : [ { + "r" : "1365", + "s" : [ { + "r" : "1363", + "value" : [ "Interval[", "0", ", ", "null", "]" ] + } ] + }, { + "r" : "1374", + "value" : [ " ", "meets after", " " ] + }, { + "r" : "1371", + "s" : [ { + "r" : "1369", + "value" : [ "Interval[", "1000", ", ", "2000", "]" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "MeetsAfter", + "localId" : "1374", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "1375", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1376", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "1377", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1378", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "Interval", + "localId" : "1365", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1367", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1368", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "low" : { + "type" : "Literal", + "localId" : "1363", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "high" : { + "type" : "As", + "localId" : "1366", + "asType" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Null", + "localId" : "1364", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } + } + }, { + "type" : "Interval", + "localId" : "1371", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1372", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1373", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "low" : { + "type" : "Literal", + "localId" : "1369", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1000", + "annotation" : [ ] + }, + "high" : { + "type" : "Literal", + "localId" : "1370", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + } + } ] + } + }, { + "localId" : "1381", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "IntIvlNotMeetsPosInfEnd", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "1381", + "s" : [ { + "value" : [ "", "define ", "IntIvlNotMeetsPosInfEnd", ": " ] + }, { + "r" : "1393", + "s" : [ { + "r" : "1384", + "s" : [ { + "r" : "1382", + "value" : [ "Interval[", "100", ", ", "200", "]" ] + } ] + }, { + "r" : "1393", + "value" : [ " ", "meets after", " " ] + }, { + "r" : "1389", + "s" : [ { + "r" : "1387", + "value" : [ "Interval[", "0", ", ", "null", "]" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "MeetsAfter", + "localId" : "1393", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "1394", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1395", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "1396", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1397", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "Interval", + "localId" : "1384", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1385", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1386", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "low" : { + "type" : "Literal", + "localId" : "1382", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "100", + "annotation" : [ ] + }, + "high" : { + "type" : "Literal", + "localId" : "1383", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "200", + "annotation" : [ ] + } + }, { + "type" : "Interval", + "localId" : "1389", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1391", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1392", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "low" : { + "type" : "Literal", + "localId" : "1387", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "high" : { + "type" : "As", + "localId" : "1390", + "asType" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Null", + "localId" : "1388", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } + } + } ] + } + }, { + "localId" : "1400", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "UnknownEndMeetsAfterIntIvl", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "1400", + "s" : [ { + "value" : [ "", "define ", "UnknownEndMeetsAfterIntIvl", ": " ] + }, { + "r" : "1412", + "s" : [ { + "r" : "1403", + "s" : [ { + "r" : "1401", + "value" : [ "Interval[", "100", ", ", "null", ")" ] + } ] + }, { + "r" : "1412", + "value" : [ " ", "meets after", " " ] + }, { + "r" : "1409", + "s" : [ { + "r" : "1407", + "value" : [ "Interval[", "0", ", ", "99", "]" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "MeetsAfter", + "localId" : "1412", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "1413", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1414", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "1415", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1416", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "Interval", + "localId" : "1403", + "lowClosed" : true, + "highClosed" : false, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1405", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1406", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "low" : { + "type" : "Literal", + "localId" : "1401", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "100", + "annotation" : [ ] + }, + "high" : { + "type" : "As", + "localId" : "1404", + "asType" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Null", + "localId" : "1402", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } + } + }, { + "type" : "Interval", + "localId" : "1409", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1410", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1411", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "low" : { + "type" : "Literal", + "localId" : "1407", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "high" : { + "type" : "Literal", + "localId" : "1408", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "99", + "annotation" : [ ] + } + } ] + } + }, { + "localId" : "1419", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "UnknownEndMayMeetBeforeIntIvl", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "1419", + "s" : [ { + "value" : [ "", "define ", "UnknownEndMayMeetBeforeIntIvl", ": " ] + }, { + "r" : "1431", + "s" : [ { + "r" : "1422", + "s" : [ { + "r" : "1420", + "value" : [ "Interval[", "0", ", ", "null", ")" ] + } ] + }, { + "r" : "1431", + "value" : [ " ", "meets after", " " ] + }, { + "r" : "1428", + "s" : [ { + "r" : "1426", + "value" : [ "Interval[", "50", ", ", "100", "]" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "MeetsAfter", + "localId" : "1431", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "1432", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1433", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "1434", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1435", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "Interval", + "localId" : "1422", + "lowClosed" : true, + "highClosed" : false, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1424", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1425", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "low" : { + "type" : "Literal", + "localId" : "1420", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "high" : { + "type" : "As", + "localId" : "1423", + "asType" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Null", + "localId" : "1421", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } + } + }, { + "type" : "Interval", + "localId" : "1428", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1429", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1430", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "low" : { + "type" : "Literal", + "localId" : "1426", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "50", + "annotation" : [ ] + }, + "high" : { + "type" : "Literal", + "localId" : "1427", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "100", + "annotation" : [ ] + } + } ] + } + }, { + "localId" : "1438", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "UnknownEndNotMeetsIntIvl", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "1438", + "s" : [ { + "value" : [ "", "define ", "UnknownEndNotMeetsIntIvl", ": " ] + }, { + "r" : "1450", + "s" : [ { + "r" : "1441", + "s" : [ { + "r" : "1439", + "value" : [ "Interval[", "0", ", ", "null", ")" ] + } ] + }, { + "r" : "1450", + "value" : [ " ", "meets after", " " ] + }, { + "r" : "1447", + "s" : [ { + "r" : "1445", + "value" : [ "Interval[", "0", ", ", "100", "]" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "MeetsAfter", + "localId" : "1450", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "1451", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1452", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "1453", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1454", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "Interval", + "localId" : "1441", + "lowClosed" : true, + "highClosed" : false, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1443", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1444", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "low" : { + "type" : "Literal", + "localId" : "1439", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "high" : { + "type" : "As", + "localId" : "1442", + "asType" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Null", + "localId" : "1440", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } + } + }, { + "type" : "Interval", + "localId" : "1447", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1448", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1449", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "low" : { + "type" : "Literal", + "localId" : "1445", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "high" : { + "type" : "Literal", + "localId" : "1446", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "100", + "annotation" : [ ] + } + } ] + } + }, { + "localId" : "1457", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "IntIvlMayMeetAfterUnknownEnd", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "1457", + "s" : [ { + "value" : [ "", "define ", "IntIvlMayMeetAfterUnknownEnd", ": " ] + }, { + "r" : "1471", + "s" : [ { + "r" : "1460", + "s" : [ { + "r" : "1458", + "value" : [ "Interval[", "0", ", ", "100", "]" ] + } ] + }, { + "r" : "1471", + "value" : [ " ", "meets after", " " ] + }, { + "r" : "1467", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "1463", + "s" : [ { + "r" : "1464", + "value" : [ "-", "100" ] + } ] + }, { + "r" : "1466", + "value" : [ ", ", "null", ")" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "MeetsAfter", + "localId" : "1471", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "1472", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1473", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "1474", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1475", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "Interval", + "localId" : "1460", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1461", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1462", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "low" : { + "type" : "Literal", + "localId" : "1458", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "high" : { + "type" : "Literal", + "localId" : "1459", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "100", + "annotation" : [ ] + } + }, { + "type" : "Interval", + "localId" : "1467", + "lowClosed" : true, + "highClosed" : false, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1469", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1470", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "low" : { + "type" : "Negate", + "localId" : "1463", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1465", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "operand" : { + "type" : "Literal", + "localId" : "1464", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "100", + "annotation" : [ ] + } + }, + "high" : { + "type" : "As", + "localId" : "1468", + "asType" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Null", + "localId" : "1466", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } + } + } ] + } + }, { + "localId" : "1478", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "NegInfBegMeetsBeforeDateIvl", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "1478", + "s" : [ { + "value" : [ "", "define ", "NegInfBegMeetsBeforeDateIvl", ": " ] + }, { + "r" : "1559", + "s" : [ { + "r" : "1504", + "s" : [ { + "r" : "1479", + "value" : [ "Interval[", "null", ", " ] + }, { + "r" : "1496", + "s" : [ { + "r" : "1480", + "value" : [ "DateTime", "(", "2013", ", ", "1", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ ")" ] + } ] + }, { + "r" : "1559", + "value" : [ " ", "meets after", " " ] + }, { + "r" : "1556", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "1524", + "s" : [ { + "r" : "1508", + "value" : [ "DateTime", "(", "2013", ", ", "1", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "1548", + "s" : [ { + "r" : "1532", + "value" : [ "DateTime", "(", "2030", ", ", "1", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ "]" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "MeetsAfter", + "localId" : "1559", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "1560", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1561", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "1562", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1563", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "Interval", + "localId" : "1504", + "lowClosed" : true, + "highClosed" : false, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1506", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1507", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "As", + "localId" : "1505", + "asType" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Null", + "localId" : "1479", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "1496", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1497", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1498", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1499", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1500", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1501", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1502", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1503", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1480", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2013", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1481", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "1482", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "1483", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "1484", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "1485", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "1486", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + } + }, { + "type" : "Interval", + "localId" : "1556", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1557", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1558", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "DateTime", + "localId" : "1524", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1525", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1526", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1527", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1528", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1529", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1530", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1531", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1508", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2013", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1509", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "1510", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "1511", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "1512", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "1513", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "1514", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "1548", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1549", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1550", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1551", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1552", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1553", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1554", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1555", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1532", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2030", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1533", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "1534", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "1535", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "1536", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "1537", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "1538", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + } + } ] + } + }, { + "localId" : "1566", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "NegInfBegNotMeetsDateIvl", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "1566", + "s" : [ { + "value" : [ "", "define ", "NegInfBegNotMeetsDateIvl", ": " ] + }, { + "r" : "1647", + "s" : [ { + "r" : "1592", + "s" : [ { + "r" : "1567", + "value" : [ "Interval[", "null", ", " ] + }, { + "r" : "1584", + "s" : [ { + "r" : "1568", + "value" : [ "DateTime", "(", "2013", ", ", "1", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ ")" ] + } ] + }, { + "r" : "1647", + "value" : [ " ", "meets after", " " ] + }, { + "r" : "1644", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "1612", + "s" : [ { + "r" : "1596", + "value" : [ "DateTime", "(", "2000", ", ", "1", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "1636", + "s" : [ { + "r" : "1620", + "value" : [ "DateTime", "(", "2010", ", ", "1", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ "]" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "MeetsAfter", + "localId" : "1647", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "1648", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1649", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "1650", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1651", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "Interval", + "localId" : "1592", + "lowClosed" : true, + "highClosed" : false, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1594", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1595", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "As", + "localId" : "1593", + "asType" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Null", + "localId" : "1567", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "1584", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1585", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1586", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1587", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1588", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1589", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1590", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1591", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1568", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2013", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1569", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "1570", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "1571", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "1572", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "1573", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "1574", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + } + }, { + "type" : "Interval", + "localId" : "1644", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1645", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1646", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "DateTime", + "localId" : "1612", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1613", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1614", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1615", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1616", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1617", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1618", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1619", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1596", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1597", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "1598", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "1599", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "1600", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "1601", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "1602", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "1636", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1637", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1638", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1639", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1640", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1641", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1642", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1643", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1620", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2010", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1621", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "1622", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "1623", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "1624", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "1625", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "1626", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + } + } ] + } + }, { + "localId" : "1654", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "DateIvlNotMeetsNegInfBeg", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "1654", + "s" : [ { + "value" : [ "", "define ", "DateIvlNotMeetsNegInfBeg", ": " ] + }, { + "r" : "1735", + "s" : [ { + "r" : "1703", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "1671", + "s" : [ { + "r" : "1655", + "value" : [ "DateTime", "(", "2000", ", ", "1", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "1695", + "s" : [ { + "r" : "1679", + "value" : [ "DateTime", "(", "2010", ", ", "1", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ "]" ] + } ] + }, { + "r" : "1735", + "value" : [ " ", "meets after", " " ] + }, { + "r" : "1731", + "s" : [ { + "r" : "1706", + "value" : [ "Interval[", "null", ", " ] + }, { + "r" : "1723", + "s" : [ { + "r" : "1707", + "value" : [ "DateTime", "(", "2013", ", ", "1", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "MeetsAfter", + "localId" : "1735", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "1736", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1737", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "1738", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1739", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "Interval", + "localId" : "1703", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1704", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1705", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "DateTime", + "localId" : "1671", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1672", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1673", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1674", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1675", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1676", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1677", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1678", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1655", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1656", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "1657", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "1658", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "1659", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "1660", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "1661", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "1695", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1696", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1697", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1698", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1699", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1700", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1701", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1702", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1679", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2010", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1680", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "1681", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "1682", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "1683", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "1684", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "1685", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + } + }, { + "type" : "Interval", + "localId" : "1731", + "lowClosed" : true, + "highClosed" : false, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1733", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1734", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "As", + "localId" : "1732", + "asType" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Null", + "localId" : "1706", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "1723", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1724", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1725", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1726", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1727", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1728", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1729", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1730", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1707", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2013", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1708", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "1709", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "1710", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "1711", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "1712", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "1713", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + } + } ] + } + }, { + "localId" : "1742", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "UnknownBegMeetsBeforeDateIvl", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "1742", + "s" : [ { + "value" : [ "", "define ", "UnknownBegMeetsBeforeDateIvl", ": " ] + }, { + "r" : "1823", + "s" : [ { + "r" : "1768", + "s" : [ { + "r" : "1743", + "value" : [ "Interval(", "null", ", " ] + }, { + "r" : "1760", "s" : [ { - "value" : [ "","define ","ClosedNullInteger",": " ] - }, { - "r" : "271", - "s" : [ { - "value" : [ "end of " ] - }, { - "r" : "274", - "s" : [ { - "r" : "272", - "value" : [ "Interval[","5",", ","null","]" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "271", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "End", - "signature" : [ { - "localId" : "278", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "279", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : { - "localId" : "274", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "276", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "277", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "272", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal" - }, - "high" : { - "localId" : "275", - "asType" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "As", - "signature" : [ ], - "operand" : { - "localId" : "273", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - } - } - } - } - }, { - "localId" : "282", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "name" : "ClosedNullDecimal", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "282", + "r" : "1744", + "value" : [ "DateTime", "(", "2013", ", ", "1", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ ")" ] + } ] + }, { + "r" : "1823", + "value" : [ " ", "meets after", " " ] + }, { + "r" : "1820", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "1788", "s" : [ { - "value" : [ "","define ","ClosedNullDecimal",": " ] - }, { - "r" : "283", - "s" : [ { - "value" : [ "end of " ] - }, { - "r" : "286", - "s" : [ { - "r" : "284", - "value" : [ "Interval[","7.3",", ","null","]" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "283", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "End", - "signature" : [ { - "localId" : "290", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "291", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : { - "localId" : "286", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "288", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "289", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "284", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "7.3", - "type" : "Literal" - }, - "high" : { - "localId" : "287", - "asType" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "As", - "signature" : [ ], - "operand" : { - "localId" : "285", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - } - } - } - } - }, { - "localId" : "294", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "name" : "NullInterval", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "294", + "r" : "1772", + "value" : [ "DateTime", "(", "2013", ", ", "1", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "1812", "s" : [ { - "value" : [ "","define ","NullInterval",": " ] - }, { - "r" : "295", - "s" : [ { - "value" : [ "end of " ] - }, { - "r" : "296", - "s" : [ { - "value" : [ "(" ] - }, { - "r" : "296", - "s" : [ { - "r" : "297", - "value" : [ "null"," as " ] - }, { - "r" : "298", - "s" : [ { - "value" : [ "Interval<" ] - }, { - "r" : "299", - "s" : [ { - "value" : [ "DateTime" ] - } ] - }, { - "value" : [ ">" ] - } ] - } ] - }, { - "value" : [ ")" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "295", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "End", - "signature" : [ { - "localId" : "306", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "307", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : { - "localId" : "296", - "strict" : false, - "type" : "As", - "resultTypeSpecifier" : { - "localId" : "304", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "305", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "signature" : [ ], - "operand" : { - "localId" : "297", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - }, - "asTypeSpecifier" : { - "localId" : "298", - "type" : "IntervalTypeSpecifier", - "resultTypeSpecifier" : { - "localId" : "300", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "301", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "pointType" : { - "localId" : "299", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - } - } - }, { - "localId" : "310", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "name" : "OpenNotNull", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "310", + "r" : "1796", + "value" : [ "DateTime", "(", "2030", ", ", "1", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ "]" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "MeetsAfter", + "localId" : "1823", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "1824", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1825", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "1826", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1827", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "Interval", + "localId" : "1768", + "lowClosed" : false, + "highClosed" : false, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1770", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1771", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "As", + "localId" : "1769", + "asType" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Null", + "localId" : "1743", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "1760", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1761", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1762", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1763", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1764", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1765", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1766", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1767", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1744", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2013", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1745", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "1746", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "1747", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "1748", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "1749", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "1750", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + } + }, { + "type" : "Interval", + "localId" : "1820", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1821", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1822", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "DateTime", + "localId" : "1788", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1789", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1790", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1791", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1792", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1793", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1794", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1795", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1772", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2013", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1773", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "1774", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "1775", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "1776", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "1777", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "1778", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "1812", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1813", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1814", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1815", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1816", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1817", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1818", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1819", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1796", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2030", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1797", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "1798", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "1799", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "1800", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "1801", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "1802", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + } + } ] + } + }, { + "localId" : "1830", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "UnknownBegMayMeetAfterDateIvl", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "1830", + "s" : [ { + "value" : [ "", "define ", "UnknownBegMayMeetAfterDateIvl", ": " ] + }, { + "r" : "1911", + "s" : [ { + "r" : "1856", + "s" : [ { + "r" : "1831", + "value" : [ "Interval(", "null", ", " ] + }, { + "r" : "1848", + "s" : [ { + "r" : "1832", + "value" : [ "DateTime", "(", "2013", ", ", "1", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ ")" ] + } ] + }, { + "r" : "1911", + "value" : [ " ", "meets after", " " ] + }, { + "r" : "1908", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "1876", + "s" : [ { + "r" : "1860", + "value" : [ "DateTime", "(", "2000", ", ", "1", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "1900", + "s" : [ { + "r" : "1884", + "value" : [ "DateTime", "(", "2010", ", ", "1", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ "]" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "MeetsAfter", + "localId" : "1911", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "1912", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1913", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "1914", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1915", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "Interval", + "localId" : "1856", + "lowClosed" : false, + "highClosed" : false, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1858", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1859", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "As", + "localId" : "1857", + "asType" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Null", + "localId" : "1831", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "1848", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1849", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1850", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1851", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1852", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1853", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1854", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1855", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1832", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2013", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1833", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "1834", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "1835", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "1836", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "1837", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "1838", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + } + }, { + "type" : "Interval", + "localId" : "1908", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1909", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1910", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "DateTime", + "localId" : "1876", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1877", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1878", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1879", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1880", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1881", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1882", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1883", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1860", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1861", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "1862", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "1863", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "1864", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "1865", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "1866", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "1900", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1901", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1902", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1903", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1904", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1905", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1906", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1907", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1884", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2010", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1885", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "1886", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "1887", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "1888", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "1889", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "1890", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + } + } ] + } + }, { + "localId" : "1918", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "UnknownBegNotMeetsDateIvl", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "1918", + "s" : [ { + "value" : [ "", "define ", "UnknownBegNotMeetsDateIvl", ": " ] + }, { + "r" : "1999", + "s" : [ { + "r" : "1944", + "s" : [ { + "r" : "1919", + "value" : [ "Interval(", "null", ", " ] + }, { + "r" : "1936", "s" : [ { - "value" : [ "","define ","OpenNotNull",": " ] - }, { - "r" : "311", - "s" : [ { - "value" : [ "end of " ] - }, { - "r" : "336", - "s" : [ { - "value" : [ "Interval(" ] - }, { - "r" : "320", - "s" : [ { - "r" : "312", - "value" : [ "DateTime","(","2012",", ","1",", ","1",")" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "332", - "s" : [ { - "r" : "324", - "value" : [ "DateTime","(","2013",", ","1",", ","1",")" ] - } ] - }, { - "value" : [ ")" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "311", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "End", - "signature" : [ { - "localId" : "339", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "340", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : { - "localId" : "336", - "lowClosed" : false, - "highClosed" : false, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "337", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "338", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "320", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "321", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "322", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "323", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "312", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "313", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "314", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - } - }, - "high" : { - "localId" : "332", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "333", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "334", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "335", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "324", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2013", - "type" : "Literal" - }, - "month" : { - "localId" : "325", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "326", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - } - } - } - } - }, { - "localId" : "343", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "name" : "OpenNull", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "343", + "r" : "1920", + "value" : [ "DateTime", "(", "2013", ", ", "1", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ ")" ] + } ] + }, { + "r" : "1999", + "value" : [ " ", "meets after", " " ] + }, { + "r" : "1996", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "1964", + "s" : [ { + "r" : "1948", + "value" : [ "DateTime", "(", "2000", ", ", "1", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "1988", + "s" : [ { + "r" : "1972", + "value" : [ "DateTime", "(", "2020", ", ", "1", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ "]" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "MeetsAfter", + "localId" : "1999", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "2000", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "2001", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "2002", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "2003", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "Interval", + "localId" : "1944", + "lowClosed" : false, + "highClosed" : false, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1946", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1947", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "As", + "localId" : "1945", + "asType" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Null", + "localId" : "1919", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "1936", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1937", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1938", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1939", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1940", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1941", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1942", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1943", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1920", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2013", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1921", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "1922", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "1923", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "1924", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "1925", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "1926", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + } + }, { + "type" : "Interval", + "localId" : "1996", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1997", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1998", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "DateTime", + "localId" : "1964", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1965", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1966", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1967", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1968", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1969", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1970", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1971", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1948", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1949", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "1950", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "1951", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "1952", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "1953", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "1954", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "1988", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1989", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1990", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1991", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1992", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1993", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1994", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1995", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1972", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2020", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1973", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "1974", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "1975", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "1976", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "1977", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "1978", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + } + } ] + } + }, { + "localId" : "2006", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "DateIvlMayMeetBeforeUnknownBeg", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "2006", + "s" : [ { + "value" : [ "", "define ", "DateIvlMayMeetBeforeUnknownBeg", ": " ] + }, { + "r" : "2087", + "s" : [ { + "r" : "2055", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "2023", + "s" : [ { + "r" : "2007", + "value" : [ "DateTime", "(", "2000", ", ", "1", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "2047", + "s" : [ { + "r" : "2031", + "value" : [ "DateTime", "(", "2010", ", ", "1", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ "]" ] + } ] + }, { + "r" : "2087", + "value" : [ " ", "meets after", " " ] + }, { + "r" : "2083", + "s" : [ { + "r" : "2058", + "value" : [ "Interval(", "null", ", " ] + }, { + "r" : "2075", "s" : [ { - "value" : [ "","define ","OpenNull",": " ] - }, { - "r" : "344", - "s" : [ { - "value" : [ "end of " ] - }, { - "r" : "358", - "s" : [ { - "value" : [ "Interval(" ] - }, { - "r" : "353", - "s" : [ { - "r" : "345", - "value" : [ "DateTime","(","2013",", ","1",", ","1",")" ] - } ] - }, { - "r" : "357", - "value" : [ ", ","null",")" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "344", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "End", - "signature" : [ { - "localId" : "362", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "363", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : { - "localId" : "358", - "lowClosed" : false, - "highClosed" : false, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "360", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "361", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "353", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "354", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "355", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "356", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "345", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2013", - "type" : "Literal" - }, - "month" : { - "localId" : "346", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "347", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - } - }, - "high" : { - "localId" : "359", - "asType" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "As", - "signature" : [ ], - "operand" : { - "localId" : "357", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - } - } - } - } - } ] - } - } + "r" : "2059", + "value" : [ "DateTime", "(", "2013", ", ", "1", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "MeetsAfter", + "localId" : "2087", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "2088", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "2089", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "2090", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "2091", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "Interval", + "localId" : "2055", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "2056", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "2057", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "DateTime", + "localId" : "2023", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "2024", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2025", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2026", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2027", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2028", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2029", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2030", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "2007", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "2008", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "2009", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "2010", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "2011", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "2012", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "2013", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "2047", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "2048", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2049", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2050", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2051", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2052", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2053", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2054", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "2031", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2010", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "2032", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "2033", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "2034", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "2035", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "2036", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "2037", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + } + }, { + "type" : "Interval", + "localId" : "2083", + "lowClosed" : false, + "highClosed" : false, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "2085", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "2086", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "As", + "localId" : "2084", + "asType" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Null", + "localId" : "2058", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "2075", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "2076", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2077", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2078", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2079", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2080", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2081", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2082", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "2059", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2013", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "2060", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "2061", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "2062", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "2063", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "2064", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "2065", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + } + } ] + } + }, { + "localId" : "2094", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "PosInfEndMeetsAfterDateIvl", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "2094", + "s" : [ { + "value" : [ "", "define ", "PosInfEndMeetsAfterDateIvl", ": " ] + }, { + "r" : "2175", + "s" : [ { + "r" : "2120", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "2111", + "s" : [ { + "r" : "2095", + "value" : [ "DateTime", "(", "2013", ", ", "1", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "r" : "2119", + "value" : [ ", ", "null", "]" ] + } ] + }, { + "r" : "2175", + "value" : [ " ", "meets after", " " ] + }, { + "r" : "2172", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "2140", + "s" : [ { + "r" : "2124", + "value" : [ "DateTime", "(", "2000", ", ", "1", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "2164", + "s" : [ { + "r" : "2148", + "value" : [ "DateTime", "(", "2013", ", ", "1", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "MeetsAfter", + "localId" : "2175", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "2176", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "2177", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "2178", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "2179", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "Interval", + "localId" : "2120", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "2122", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "2123", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "DateTime", + "localId" : "2111", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "2112", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2113", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2114", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2115", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2116", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2117", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2118", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "2095", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2013", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "2096", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "2097", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "2098", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "2099", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "2100", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "2101", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + }, + "high" : { + "type" : "As", + "localId" : "2121", + "asType" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Null", + "localId" : "2119", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } + } + }, { + "type" : "Interval", + "localId" : "2172", + "lowClosed" : true, + "highClosed" : false, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "2173", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "2174", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "DateTime", + "localId" : "2140", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "2141", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2142", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2143", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2144", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2145", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2146", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2147", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "2124", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "2125", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "2126", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "2127", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "2128", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "2129", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "2130", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "2164", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "2165", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2166", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2167", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2168", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2169", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2170", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2171", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "2148", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2013", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "2149", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "2150", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "2151", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "2152", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "2153", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "2154", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + } + } ] + } + }, { + "localId" : "2182", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "PosInfEndNotMeetsDateIvl", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "2182", + "s" : [ { + "value" : [ "", "define ", "PosInfEndNotMeetsDateIvl", ": " ] + }, { + "r" : "2263", + "s" : [ { + "r" : "2208", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "2199", + "s" : [ { + "r" : "2183", + "value" : [ "DateTime", "(", "2013", ", ", "1", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "r" : "2207", + "value" : [ ", ", "null", "]" ] + } ] + }, { + "r" : "2263", + "value" : [ " ", "meets after", " " ] + }, { + "r" : "2260", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "2228", + "s" : [ { + "r" : "2212", + "value" : [ "DateTime", "(", "2000", ", ", "1", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "2252", + "s" : [ { + "r" : "2236", + "value" : [ "DateTime", "(", "2020", ", ", "1", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ "]" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "MeetsAfter", + "localId" : "2263", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "2264", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "2265", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "2266", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "2267", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "Interval", + "localId" : "2208", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "2210", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "2211", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "DateTime", + "localId" : "2199", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "2200", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2201", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2202", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2203", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2204", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2205", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2206", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "2183", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2013", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "2184", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "2185", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "2186", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "2187", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "2188", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "2189", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + }, + "high" : { + "type" : "As", + "localId" : "2209", + "asType" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Null", + "localId" : "2207", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } + } + }, { + "type" : "Interval", + "localId" : "2260", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "2261", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "2262", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "DateTime", + "localId" : "2228", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "2229", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2230", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2231", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2232", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2233", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2234", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2235", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "2212", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "2213", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "2214", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "2215", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "2216", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "2217", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "2218", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "2252", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "2253", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2254", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2255", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2256", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2257", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2258", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2259", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "2236", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2020", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "2237", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "2238", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "2239", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "2240", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "2241", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "2242", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + } + } ] + } + }, { + "localId" : "2270", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "DateIvlNotMeetsPosInfEnd", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "2270", + "s" : [ { + "value" : [ "", "define ", "DateIvlNotMeetsPosInfEnd", ": " ] + }, { + "r" : "2351", + "s" : [ { + "r" : "2319", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "2287", + "s" : [ { + "r" : "2271", + "value" : [ "DateTime", "(", "2000", ", ", "1", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "2311", + "s" : [ { + "r" : "2295", + "value" : [ "DateTime", "(", "2020", ", ", "1", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ "]" ] + } ] + }, { + "r" : "2351", + "value" : [ " ", "meets after", " " ] + }, { + "r" : "2347", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "2338", + "s" : [ { + "r" : "2322", + "value" : [ "DateTime", "(", "2013", ", ", "1", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "r" : "2346", + "value" : [ ", ", "null", "]" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "MeetsAfter", + "localId" : "2351", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "2352", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "2353", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "2354", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "2355", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "Interval", + "localId" : "2319", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "2320", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "2321", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "DateTime", + "localId" : "2287", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "2288", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2289", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2290", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2291", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2292", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2293", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2294", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "2271", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "2272", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "2273", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "2274", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "2275", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "2276", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "2277", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "2311", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "2312", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2313", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2314", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2315", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2316", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2317", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2318", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "2295", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2020", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "2296", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "2297", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "2298", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "2299", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "2300", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "2301", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + } + }, { + "type" : "Interval", + "localId" : "2347", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "2349", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "2350", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "DateTime", + "localId" : "2338", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "2339", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2340", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2341", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2342", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2343", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2344", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2345", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "2322", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2013", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "2323", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "2324", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "2325", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "2326", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "2327", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "2328", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + }, + "high" : { + "type" : "As", + "localId" : "2348", + "asType" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Null", + "localId" : "2346", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } + } + } ] + } + }, { + "localId" : "2358", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "UnknownEndMeetsAfterDateIvl", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "2358", + "s" : [ { + "value" : [ "", "define ", "UnknownEndMeetsAfterDateIvl", ": " ] + }, { + "r" : "2439", + "s" : [ { + "r" : "2384", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "2375", + "s" : [ { + "r" : "2359", + "value" : [ "DateTime", "(", "2013", ", ", "1", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "r" : "2383", + "value" : [ ", ", "null", ")" ] + } ] + }, { + "r" : "2439", + "value" : [ " ", "meets after", " " ] + }, { + "r" : "2436", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "2404", + "s" : [ { + "r" : "2388", + "value" : [ "DateTime", "(", "2010", ", ", "1", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "2428", + "s" : [ { + "r" : "2412", + "value" : [ "DateTime", "(", "2013", ", ", "1", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "MeetsAfter", + "localId" : "2439", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "2440", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "2441", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "2442", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "2443", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "Interval", + "localId" : "2384", + "lowClosed" : true, + "highClosed" : false, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "2386", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "2387", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "DateTime", + "localId" : "2375", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "2376", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2377", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2378", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2379", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2380", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2381", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2382", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "2359", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2013", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "2360", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "2361", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "2362", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "2363", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "2364", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "2365", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + }, + "high" : { + "type" : "As", + "localId" : "2385", + "asType" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Null", + "localId" : "2383", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } + } + }, { + "type" : "Interval", + "localId" : "2436", + "lowClosed" : true, + "highClosed" : false, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "2437", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "2438", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "DateTime", + "localId" : "2404", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "2405", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2406", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2407", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2408", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2409", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2410", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2411", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "2388", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2010", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "2389", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "2390", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "2391", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "2392", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "2393", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "2394", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "2428", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "2429", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2430", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2431", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2432", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2433", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2434", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2435", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "2412", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2013", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "2413", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "2414", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "2415", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "2416", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "2417", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "2418", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + } + } ] + } + }, { + "localId" : "2446", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "UnknownEndMayMeetBeforeDateIvl", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "2446", + "s" : [ { + "value" : [ "", "define ", "UnknownEndMayMeetBeforeDateIvl", ": " ] + }, { + "r" : "2527", + "s" : [ { + "r" : "2472", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "2463", + "s" : [ { + "r" : "2447", + "value" : [ "DateTime", "(", "2013", ", ", "1", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "r" : "2471", + "value" : [ ", ", "null", ")" ] + } ] + }, { + "r" : "2527", + "value" : [ " ", "meets after", " " ] + }, { + "r" : "2524", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "2492", + "s" : [ { + "r" : "2476", + "value" : [ "DateTime", "(", "2020", ", ", "1", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "2516", + "s" : [ { + "r" : "2500", + "value" : [ "DateTime", "(", "2040", ", ", "1", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ "]" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "MeetsAfter", + "localId" : "2527", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "2528", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "2529", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "2530", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "2531", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "Interval", + "localId" : "2472", + "lowClosed" : true, + "highClosed" : false, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "2474", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "2475", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "DateTime", + "localId" : "2463", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "2464", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2465", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2466", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2467", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2468", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2469", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2470", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "2447", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2013", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "2448", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "2449", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "2450", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "2451", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "2452", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "2453", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + }, + "high" : { + "type" : "As", + "localId" : "2473", + "asType" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Null", + "localId" : "2471", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } + } + }, { + "type" : "Interval", + "localId" : "2524", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "2525", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "2526", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "DateTime", + "localId" : "2492", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "2493", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2494", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2495", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2496", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2497", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2498", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2499", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "2476", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2020", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "2477", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "2478", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "2479", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "2480", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "2481", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "2482", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "2516", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "2517", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2518", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2519", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2520", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2521", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2522", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2523", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "2500", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2040", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "2501", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "2502", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "2503", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "2504", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "2505", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "2506", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + } + } ] + } + }, { + "localId" : "2534", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "UnknownEndNotMeetsDateIvl", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "2534", + "s" : [ { + "value" : [ "", "define ", "UnknownEndNotMeetsDateIvl", ": " ] + }, { + "r" : "2615", + "s" : [ { + "r" : "2560", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "2551", + "s" : [ { + "r" : "2535", + "value" : [ "DateTime", "(", "2013", ", ", "1", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "r" : "2559", + "value" : [ ", ", "null", ")" ] + } ] + }, { + "r" : "2615", + "value" : [ " ", "meets after", " " ] + }, { + "r" : "2612", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "2580", + "s" : [ { + "r" : "2564", + "value" : [ "DateTime", "(", "2000", ", ", "1", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "2604", + "s" : [ { + "r" : "2588", + "value" : [ "DateTime", "(", "2013", ", ", "1", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ "]" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "MeetsAfter", + "localId" : "2615", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "2616", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "2617", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "2618", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "2619", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "Interval", + "localId" : "2560", + "lowClosed" : true, + "highClosed" : false, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "2562", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "2563", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "DateTime", + "localId" : "2551", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "2552", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2553", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2554", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2555", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2556", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2557", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2558", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "2535", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2013", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "2536", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "2537", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "2538", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "2539", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "2540", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "2541", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + }, + "high" : { + "type" : "As", + "localId" : "2561", + "asType" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Null", + "localId" : "2559", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } + } + }, { + "type" : "Interval", + "localId" : "2612", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "2613", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "2614", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "DateTime", + "localId" : "2580", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "2581", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2582", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2583", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2584", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2585", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2586", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2587", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "2564", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "2565", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "2566", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "2567", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "2568", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "2569", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "2570", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "2604", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "2605", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2606", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2607", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2608", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2609", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2610", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2611", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "2588", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2013", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "2589", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "2590", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "2591", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "2592", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "2593", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "2594", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + } + } ] + } + }, { + "localId" : "2622", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "DateIvlMayMeetAfterUnknownEnd", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "2622", + "s" : [ { + "value" : [ "", "define ", "DateIvlMayMeetAfterUnknownEnd", ": " ] + }, { + "r" : "2703", + "s" : [ { + "r" : "2671", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "2639", + "s" : [ { + "r" : "2623", + "value" : [ "DateTime", "(", "2020", ", ", "1", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "2663", + "s" : [ { + "r" : "2647", + "value" : [ "DateTime", "(", "2040", ", ", "1", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ "]" ] + } ] + }, { + "r" : "2703", + "value" : [ " ", "meets after", " " ] + }, { + "r" : "2699", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "2690", + "s" : [ { + "r" : "2674", + "value" : [ "DateTime", "(", "2013", ", ", "1", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "r" : "2698", + "value" : [ ", ", "null", ")" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "MeetsAfter", + "localId" : "2703", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "2704", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "2705", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "2706", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "2707", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "Interval", + "localId" : "2671", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "2672", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "2673", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "DateTime", + "localId" : "2639", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "2640", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2641", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2642", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2643", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2644", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2645", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2646", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "2623", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2020", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "2624", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "2625", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "2626", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "2627", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "2628", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "2629", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "2663", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "2664", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2665", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2666", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2667", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2668", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2669", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2670", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "2647", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2040", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "2648", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "2649", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "2650", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "2651", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "2652", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "2653", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + } + }, { + "type" : "Interval", + "localId" : "2699", + "lowClosed" : true, + "highClosed" : false, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "2701", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "2702", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "DateTime", + "localId" : "2690", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "2691", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2692", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2693", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2694", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2695", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2696", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2697", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "2674", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2013", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "2675", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "2676", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "2677", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "2678", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "2679", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "2680", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + }, + "high" : { + "type" : "As", + "localId" : "2700", + "asType" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Null", + "localId" : "2698", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } + } + } ] + } + } ] + } + } } -/* Starts +/* MeetsBefore library TestSnippet version '1' using Simple version '1.0.0' context Patient -define TestStartsNull: Interval[null, null] starts Interval[1, 10] -define IntegerIntervalStartsTrue: Interval[4,10] starts Interval[4, 15] -define IntegerIntervalStartsFalse: Interval[1, 10] starts Interval[4, 10] -define IntegerIntervalStartEndsFalse: Interval[4, 10] starts Interval[4, 9] -define DecimalIntervalStartsTrue: Interval[4.0, 10.0] starts Interval[4.0, 15.0] -define DecimalIntervalStartsFalse: Interval[1.0, 10.0] starts Interval[4.0, 10.0] -define DecimalIntervalStartsEndsFalse: Interval[4.0, 10.0] starts Interval[4.0, 9.0] -define QuantityIntervalStartsTrue: Interval[5.0 'g', 10.0 'g'] starts Interval[5.0 'g', 15.0 'g'] -define QuantityIntervalStartsFalse: Interval[1.0 'g', 10.0 'g'] starts Interval[5.0 'g', 10.0 'g'] -define QuantityIntervalStartsEndsFalse: Interval[5.0 'g', 10.0 'g'] starts Interval[5.0 'g', 9.9 'g'] -define DateTimeIntervalStartsTrue: Interval[DateTime(2012, 1, 5, 0, 0, 0, 0), DateTime(2012, 1, 25, 0, 0, 0, 0)] starts Interval[DateTime(2012, 1, 5, 0, 0, 0, 0), DateTime(2012, 1, 27, 0, 0, 0, 0)] -define DateTimeIntervalStartsFalse: Interval[DateTime(2012, 1, 5), DateTime(2012, 1, 25)] starts day of Interval[DateTime(2012, 1, 6), DateTime(2012, 1, 27)] -define DateTimeIntervalStartsDayOfTrue: Interval[DateTime(2012, 1, 5), DateTime(2012, 1, 25)] starts day of Interval[DateTime(2012, 1, 5), DateTime(2012, 1, 27)] -define DateTimeIntervalStartsEndsFalse: Interval[DateTime(2012, 1, 5), DateTime(2012, 1, 25)] starts day of Interval[DateTime(2012, 1, 5), DateTime(2012, 1, 24)] +define MeetsAfterIntIvl: Interval[11, 15] meets before Interval[5, 10] +define MeetsBeforeIntIvl: Interval[1, 4] meets before Interval[5, 10] +define NotMeetsIntIvl: Interval[1, 2] meets before Interval[5, 10] +define MeetsAfterRealIvl: Interval[1.50000001, 2.5] meets before Interval[0.5, 1.5] +define MeetsBeforeRealIvl: Interval[0.5, 1.5] meets before Interval[1.50000001, 2.5] +define NotMeetsRealIvl: Interval[0.0, 1.0] meets before Interval[1.1, 2.0] +define DateIvl: Interval[DateTime(2012, 3, 1, 0, 0, 0, 0), DateTime(2012, 9, 1, 0, 0, 0, 0)) +define MeetsAfterDateIvl: Interval[DateTime(2012, 9, 1, 0, 0, 0, 0), DateTime(2012, 12, 1, 0, 0, 0, 0)) meets before DateIvl +define MeetsBeforeDateIvl: Interval[DateTime(2012, 1, 1, 0, 0, 0, 0), DateTime(2012, 3, 1, 0, 0, 0, 0)) meets before DateIvl +define NotMeetsDateIvl: Interval[DateTime(2012, 1, 1, 0, 0, 0, 0), DateTime(2012, 2, 29, 0, 0, 0, 0)) meets before DateIvl +define MayMeetAfterImpreciseDateIvl: DateIvl meets before Interval[DateTime(2012, 1), DateTime(2012, 2)] +define MayMeetBeforeImpreciseDateIvl: DateIvl meets before Interval[DateTime(2012, 9), DateTime(2012, 12)] +define NotMeetsImpreciseDateIvl: DateIvl meets before Interval[DateTime(2012, 1), DateTime(2012, 12)] +define PrecisionDateIvl: Interval[DateTime(2012, 3, 2, 12, 34, 56, 789), DateTime(2012, 9, 2, 1, 23, 45, 678)) +define MeetsAfterDayOfIvl: PrecisionDateIvl meets before day of Interval[DateTime(2012, 1, 2, 0, 0, 0, 0), DateTime(2012, 3, 1, 0, 0, 0, 0)] +define MeetsBeforeDayOfIvl: PrecisionDateIvl meets before day of Interval[DateTime(2012, 9, 3, 0, 0, 0, 0), DateTime(2012, 12, 1, 0, 0, 0, 0)] +define NotMeetsDayOfIvl: PrecisionDateIvl meets before day of Interval[DateTime(2012, 1, 2, 0, 0, 0, 0), DateTime(2012, 3, 2, 0, 0, 0, 0)] +define NotMeetsDayOfImpreciseIVL: PrecisionDateIvl meets before day of Interval[DateTime(2012, 1), DateTime(2012, 2)] +define MayMeetAfterDayOfImpreciseIvl: PrecisionDateIvl meets before day of Interval[DateTime(2012, 1), DateTime(2012, 3)] +define MayMeetBeforeDayOfImpreciseIvl: PrecisionDateIvl meets before day of Interval[DateTime(2012, 9), DateTime(2012, 12)] +define ImpDateIvl: Interval[DateTime(2012, 3), DateTime(2012, 8)] +define ImpreciseMayMeetAfterDateIvl: ImpDateIvl meets before Interval[DateTime(2012, 1, 1, 0, 0, 0, 0), DateTime(2012, 2, 29, 23, 59, 59, 999)] +define ImpreciseMayMeetBeforeDateIvl: ImpDateIvl meets before Interval[DateTime(2012, 9, 1, 0, 0, 0, 0), DateTime(2012, 12, 31, 23, 59, 59, 999)] +define ImpreciseNotMeetsDateIvl: ImpDateIvl meets before Interval[DateTime(2012, 1, 1, 0, 0, 0, 0), DateTime(2012, 12, 31, 23, 59, 59, 999)) +define NegInfBegMeetsBeforeIntIvl: Interval[null, 100] meets before Interval[101, 200] +define NegInfBegNotMeetsIntIvl: Interval[null, 100] meets before Interval[100, 200] +define IntIvlNotMeetsNegInfBeg: Interval[100, 200] meets before Interval[null, 400] +define UnknownBegMeetsBeforeIntIvl: Interval(null, 100] meets before Interval[101, 200] +define UnknownBegMayMeetAfterIntIvl: Interval(null, 100] meets before Interval[0, 50] +define UnknownBegNotMeetsIntIvl: Interval(null, 5] meets before Interval[0, 100] +define IntIvlMayMeetBeforeUnknownBeg: Interval[0, 100] meets before Interval(null, 400) +define PosInfEndMeetsAfterIntIvl: Interval[100, null] meets before Interval[0, 99] +define PosInfEndNotMeetsIntIvl: Interval[0, null] meets before Interval[1000, 2000] +define IntIvlNotMeetsPosInfEnd: Interval[100, 200] meets before Interval[0, null] +define UnknownEndMeetsAfterIntIvl: Interval[100, null) meets before Interval[0, 99] +define UnknownEndMayMeetBeforeIntIvl: Interval[0, null) meets before Interval[50, 100] +define UnknownEndNotMeetsIntIvl: Interval[0, null) meets before Interval[0, 100] +define IntIvlMayMeetAfterUnknownEnd: Interval[0, 100] meets before Interval[-100, null) +define NegInfBegMeetsBeforeDateIvl: Interval[null, DateTime(2013, 1, 1, 0, 0, 0, 0)) meets before Interval[DateTime(2013, 1, 1, 0, 0, 0, 0), DateTime(2030, 1, 1, 0, 0, 0, 0)] +define NegInfBegNotMeetsDateIvl: Interval[null, DateTime(2013, 1, 1, 0, 0, 0, 0)) meets before Interval[DateTime(2000, 1, 1, 0, 0, 0, 0), DateTime(2010, 1, 1, 0, 0, 0, 0)] +define DateIvlNotMeetsNegInfBeg: Interval[DateTime(2000, 1, 1, 0, 0, 0, 0), DateTime(2010, 1, 1, 0, 0, 0, 0)] meets before Interval[null, DateTime(2013, 1, 1, 0, 0, 0, 0)) +define UnknownBegMeetsBeforeDateIvl: Interval(null, DateTime(2013, 1, 1, 0, 0, 0, 0)) meets before Interval[DateTime(2013, 1, 1, 0, 0, 0, 0), DateTime(2030, 1, 1, 0, 0, 0, 0)] +define UnknownBegMayMeetAfterDateIvl: Interval(null, DateTime(2013, 1, 1, 0, 0, 0, 0)) meets before Interval[DateTime(2000, 1, 1, 0, 0, 0, 0), DateTime(2010, 1, 1, 0, 0, 0, 0)] +define UnknownBegNotMeetsDateIvl: Interval(null, DateTime(2013, 1, 1, 0, 0, 0, 0)) meets before Interval[DateTime(2000, 1, 1, 0, 0, 0, 0), DateTime(2020, 1, 1, 0, 0, 0, 0)] +define DateIvlMayMeetBeforeUnknownBeg: Interval[DateTime(2000, 1, 1, 0, 0, 0, 0), DateTime(2010, 1, 1, 0, 0, 0, 0)] meets before Interval(null, DateTime(2013, 1, 1, 0, 0, 0, 0)) +define PosInfEndMeetsAfterDateIvl: Interval[DateTime(2013, 1, 1, 0, 0, 0, 0), null] meets before Interval[DateTime(2000, 1, 1, 0, 0, 0, 0), DateTime(2013, 1, 1, 0, 0, 0, 0)) +define PosInfEndNotMeetsDateIvl: Interval[DateTime(2013, 1, 1, 0, 0, 0, 0), null] meets before Interval[DateTime(2000, 1, 1, 0, 0, 0, 0), DateTime(2020, 1, 1, 0, 0, 0, 0)] +define DateIvlNotMeetsPosInfEnd: Interval[DateTime(2000, 1, 1, 0, 0, 0, 0), DateTime(2020, 1, 1, 0, 0, 0, 0)] meets before Interval[DateTime(2013, 1, 1, 0, 0, 0, 0), null] +define UnknownEndMeetsAfterDateIvl: Interval[DateTime(2013, 1, 1, 0, 0, 0, 0), null) meets before Interval[DateTime(2010, 1, 1, 0, 0, 0, 0), DateTime(2013, 1, 1, 0, 0, 0, 0)) +define UnknownEndMayMeetBeforeDateIvl: Interval[DateTime(2013, 1, 1, 0, 0, 0, 0), null) meets before Interval[DateTime(2020, 1, 1, 0, 0, 0, 0), DateTime(2040, 1, 1, 0, 0, 0, 0)] +define UnknownEndNotMeetsDateIvl: Interval[DateTime(2013, 1, 1, 0, 0, 0, 0), null) meets before Interval[DateTime(2000, 1, 1, 0, 0, 0, 0), DateTime(2013, 1, 1, 0, 0, 0, 0)] +define DateIvlMayMeetAfterUnknownEnd: Interval[DateTime(2020, 1, 1, 0, 0, 0, 0), DateTime(2040, 1, 1, 0, 0, 0, 0)] meets before Interval[DateTime(2013, 1, 1, 0, 0, 0, 0), null) */ -module.exports['Starts'] = { - "library" : { - "localId" : "0", - "annotation" : [ { - "translatorVersion" : "3.27.0", - "translatorOptions" : "EnableDateRangeOptimization,EnableAnnotations,EnableResultTypes", - "signatureLevel" : "All", - "type" : "CqlToElmInfo" - }, { - "type" : "Annotation", - "s" : { - "r" : "628", +module.exports['MeetsBefore'] = { + "library" : { + "localId" : "0", + "annotation" : [ { + "type" : "CqlToElmInfo", + "translatorVersion" : "4.2.0", + "translatorOptions" : "EnableDateRangeOptimization,EnableAnnotations,EnableResultTypes", + "signatureLevel" : "All" + }, { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "2622", + "s" : [ { + "value" : [ "", "library TestSnippet version '1'" ] + } ] + } + } ], + "identifier" : { + "id" : "TestSnippet", + "version" : "1" + }, + "schemaIdentifier" : { + "id" : "urn:hl7-org:elm", + "version" : "r1" + }, + "usings" : { + "def" : [ { + "localId" : "1", + "localIdentifier" : "System", + "uri" : "urn:hl7-org:elm-types:r1", + "annotation" : [ ] + }, { + "localId" : "206", + "localIdentifier" : "Simple", + "uri" : "https://github.com/cqframework/cql-execution/simple", + "version" : "1.0.0", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "206", "s" : [ { - "value" : [ "","library TestSnippet version '1'" ] - } ] - } - } ], - "identifier" : { - "id" : "TestSnippet", - "version" : "1" - }, - "schemaIdentifier" : { - "id" : "urn:hl7-org:elm", - "version" : "r1" - }, - "usings" : { - "def" : [ { - "localId" : "1", - "localIdentifier" : "System", - "uri" : "urn:hl7-org:elm-types:r1" - }, { - "localId" : "206", - "localIdentifier" : "Simple", - "uri" : "https://github.com/cqframework/cql-execution/simple", - "version" : "1.0.0", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "206", - "s" : [ { - "value" : [ "","using " ] - }, { - "s" : [ { - "value" : [ "Simple" ] - } ] - }, { - "value" : [ " version '1.0.0'" ] - } ] - } - } ] - } ] - }, - "contexts" : { - "def" : [ { - "localId" : "211", - "name" : "Patient" - } ] - }, - "statements" : { - "def" : [ { - "localId" : "209", - "name" : "Patient", - "context" : "Patient", - "expression" : { - "localId" : "210", - "type" : "SingletonFrom", - "signature" : [ ], - "operand" : { - "localId" : "208", - "dataType" : "{https://github.com/cqframework/cql-execution/simple}Patient", - "type" : "Retrieve", - "include" : [ ], - "codeFilter" : [ ], - "dateFilter" : [ ], - "otherFilter" : [ ] - } - } - }, { - "localId" : "214", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "TestStartsNull", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "214", - "s" : [ { - "value" : [ "","define ","TestStartsNull",": " ] - }, { - "r" : "225", - "s" : [ { - "r" : "217", - "s" : [ { - "r" : "215", - "value" : [ "Interval[","null",", ","null","]" ] - } ] - }, { - "r" : "225", - "value" : [ " ","starts"," " ] - }, { - "r" : "222", - "s" : [ { - "r" : "220", - "value" : [ "Interval[","1",", ","10","]" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "225", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "Starts", - "signature" : [ { - "localId" : "226", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "227", - "name" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "228", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "229", - "name" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "217", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "218", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "219", - "name" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "215", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - }, - "high" : { - "localId" : "216", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - } - }, { - "localId" : "222", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "223", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "224", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "220", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "high" : { - "localId" : "221", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal" - } - } ] - } - }, { - "localId" : "232", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "IntegerIntervalStartsTrue", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "232", - "s" : [ { - "value" : [ "","define ","IntegerIntervalStartsTrue",": " ] - }, { - "r" : "243", - "s" : [ { - "r" : "235", - "s" : [ { - "r" : "233", - "value" : [ "Interval[","4",",","10","]" ] - } ] - }, { - "r" : "243", - "value" : [ " ","starts"," " ] - }, { - "r" : "240", - "s" : [ { - "r" : "238", - "value" : [ "Interval[","4",", ","15","]" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "243", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "Starts", - "signature" : [ { - "localId" : "244", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "245", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "246", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "247", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "235", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "236", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "237", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "233", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "4", - "type" : "Literal" - }, - "high" : { - "localId" : "234", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal" - } - }, { - "localId" : "240", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "241", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "242", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "238", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "4", - "type" : "Literal" - }, - "high" : { - "localId" : "239", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal" - } - } ] - } - }, { - "localId" : "250", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "IntegerIntervalStartsFalse", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "250", - "s" : [ { - "value" : [ "","define ","IntegerIntervalStartsFalse",": " ] - }, { - "r" : "261", - "s" : [ { - "r" : "253", - "s" : [ { - "r" : "251", - "value" : [ "Interval[","1",", ","10","]" ] - } ] - }, { - "r" : "261", - "value" : [ " ","starts"," " ] - }, { - "r" : "258", - "s" : [ { - "r" : "256", - "value" : [ "Interval[","4",", ","10","]" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "261", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "Starts", - "signature" : [ { - "localId" : "262", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "263", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "264", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "265", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "253", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "254", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "255", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "251", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "high" : { - "localId" : "252", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal" - } - }, { - "localId" : "258", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "259", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "260", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "256", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "4", - "type" : "Literal" - }, - "high" : { - "localId" : "257", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal" - } - } ] - } - }, { - "localId" : "268", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "IntegerIntervalStartEndsFalse", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "268", - "s" : [ { - "value" : [ "","define ","IntegerIntervalStartEndsFalse",": " ] - }, { - "r" : "279", - "s" : [ { - "r" : "271", - "s" : [ { - "r" : "269", - "value" : [ "Interval[","4",", ","10","]" ] - } ] - }, { - "r" : "279", - "value" : [ " ","starts"," " ] - }, { - "r" : "276", - "s" : [ { - "r" : "274", - "value" : [ "Interval[","4",", ","9","]" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "279", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "Starts", - "signature" : [ { - "localId" : "280", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "281", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "282", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "283", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "271", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "272", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "273", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "269", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "4", - "type" : "Literal" - }, - "high" : { - "localId" : "270", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal" - } - }, { - "localId" : "276", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "277", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "278", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "274", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "4", - "type" : "Literal" - }, - "high" : { - "localId" : "275", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "9", - "type" : "Literal" - } - } ] - } - }, { - "localId" : "286", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "DecimalIntervalStartsTrue", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "286", - "s" : [ { - "value" : [ "","define ","DecimalIntervalStartsTrue",": " ] - }, { - "r" : "297", - "s" : [ { - "r" : "289", - "s" : [ { - "r" : "287", - "value" : [ "Interval[","4.0",", ","10.0","]" ] - } ] - }, { - "r" : "297", - "value" : [ " ","starts"," " ] - }, { - "r" : "294", - "s" : [ { - "r" : "292", - "value" : [ "Interval[","4.0",", ","15.0","]" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "297", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "Starts", - "signature" : [ { - "localId" : "298", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "299", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "300", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "301", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "289", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "290", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "291", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "287", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "4.0", - "type" : "Literal" - }, - "high" : { - "localId" : "288", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "10.0", - "type" : "Literal" - } - }, { - "localId" : "294", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "295", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "296", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "292", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "4.0", - "type" : "Literal" - }, - "high" : { - "localId" : "293", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "15.0", - "type" : "Literal" - } - } ] - } - }, { - "localId" : "304", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "DecimalIntervalStartsFalse", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "304", - "s" : [ { - "value" : [ "","define ","DecimalIntervalStartsFalse",": " ] - }, { - "r" : "315", - "s" : [ { - "r" : "307", - "s" : [ { - "r" : "305", - "value" : [ "Interval[","1.0",", ","10.0","]" ] - } ] - }, { - "r" : "315", - "value" : [ " ","starts"," " ] - }, { - "r" : "312", - "s" : [ { - "r" : "310", - "value" : [ "Interval[","4.0",", ","10.0","]" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "315", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "Starts", - "signature" : [ { - "localId" : "316", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "317", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "318", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "319", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "307", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "308", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "309", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "305", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "1.0", - "type" : "Literal" - }, - "high" : { - "localId" : "306", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "10.0", - "type" : "Literal" - } - }, { - "localId" : "312", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "313", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "314", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "310", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "4.0", - "type" : "Literal" - }, - "high" : { - "localId" : "311", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "10.0", - "type" : "Literal" - } - } ] - } - }, { - "localId" : "322", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "DecimalIntervalStartsEndsFalse", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "322", + "value" : [ "", "using " ] + }, { + "s" : [ { + "value" : [ "Simple" ] + } ] + }, { + "value" : [ " version '1.0.0'" ] + } ] + } + } ] + } ] + }, + "contexts" : { + "def" : [ { + "localId" : "211", + "name" : "Patient", + "annotation" : [ ] + } ] + }, + "statements" : { + "def" : [ { + "localId" : "209", + "name" : "Patient", + "context" : "Patient", + "annotation" : [ ], + "expression" : { + "type" : "SingletonFrom", + "localId" : "210", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Retrieve", + "localId" : "208", + "dataType" : "{https://github.com/cqframework/cql-execution/simple}Patient", + "annotation" : [ ], + "include" : [ ], + "codeFilter" : [ ], + "dateFilter" : [ ], + "otherFilter" : [ ] + } + } + }, { + "localId" : "214", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "MeetsAfterIntIvl", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "214", + "s" : [ { + "value" : [ "", "define ", "MeetsAfterIntIvl", ": " ] + }, { + "r" : "225", + "s" : [ { + "r" : "217", + "s" : [ { + "r" : "215", + "value" : [ "Interval[", "11", ", ", "15", "]" ] + } ] + }, { + "r" : "225", + "value" : [ " ", "meets before", " " ] + }, { + "r" : "222", + "s" : [ { + "r" : "220", + "value" : [ "Interval[", "5", ", ", "10", "]" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "MeetsBefore", + "localId" : "225", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "226", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "227", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "228", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "229", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "Interval", + "localId" : "217", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "218", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "219", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "low" : { + "type" : "Literal", + "localId" : "215", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "11", + "annotation" : [ ] + }, + "high" : { + "type" : "Literal", + "localId" : "216", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "15", + "annotation" : [ ] + } + }, { + "type" : "Interval", + "localId" : "222", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "223", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "224", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "low" : { + "type" : "Literal", + "localId" : "220", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "5", + "annotation" : [ ] + }, + "high" : { + "type" : "Literal", + "localId" : "221", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "10", + "annotation" : [ ] + } + } ] + } + }, { + "localId" : "232", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "MeetsBeforeIntIvl", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "232", + "s" : [ { + "value" : [ "", "define ", "MeetsBeforeIntIvl", ": " ] + }, { + "r" : "243", + "s" : [ { + "r" : "235", + "s" : [ { + "r" : "233", + "value" : [ "Interval[", "1", ", ", "4", "]" ] + } ] + }, { + "r" : "243", + "value" : [ " ", "meets before", " " ] + }, { + "r" : "240", + "s" : [ { + "r" : "238", + "value" : [ "Interval[", "5", ", ", "10", "]" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "MeetsBefore", + "localId" : "243", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "244", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "245", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "246", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "247", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "Interval", + "localId" : "235", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "236", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "237", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "low" : { + "type" : "Literal", + "localId" : "233", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "high" : { + "type" : "Literal", + "localId" : "234", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "4", + "annotation" : [ ] + } + }, { + "type" : "Interval", + "localId" : "240", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "241", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "242", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "low" : { + "type" : "Literal", + "localId" : "238", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "5", + "annotation" : [ ] + }, + "high" : { + "type" : "Literal", + "localId" : "239", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "10", + "annotation" : [ ] + } + } ] + } + }, { + "localId" : "250", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "NotMeetsIntIvl", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "250", + "s" : [ { + "value" : [ "", "define ", "NotMeetsIntIvl", ": " ] + }, { + "r" : "261", + "s" : [ { + "r" : "253", + "s" : [ { + "r" : "251", + "value" : [ "Interval[", "1", ", ", "2", "]" ] + } ] + }, { + "r" : "261", + "value" : [ " ", "meets before", " " ] + }, { + "r" : "258", + "s" : [ { + "r" : "256", + "value" : [ "Interval[", "5", ", ", "10", "]" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "MeetsBefore", + "localId" : "261", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "262", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "263", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "264", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "265", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "Interval", + "localId" : "253", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "254", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "255", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "low" : { + "type" : "Literal", + "localId" : "251", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "high" : { + "type" : "Literal", + "localId" : "252", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "annotation" : [ ] + } + }, { + "type" : "Interval", + "localId" : "258", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "259", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "260", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "low" : { + "type" : "Literal", + "localId" : "256", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "5", + "annotation" : [ ] + }, + "high" : { + "type" : "Literal", + "localId" : "257", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "10", + "annotation" : [ ] + } + } ] + } + }, { + "localId" : "268", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "MeetsAfterRealIvl", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "268", + "s" : [ { + "value" : [ "", "define ", "MeetsAfterRealIvl", ": " ] + }, { + "r" : "279", + "s" : [ { + "r" : "271", + "s" : [ { + "r" : "269", + "value" : [ "Interval[", "1.50000001", ", ", "2.5", "]" ] + } ] + }, { + "r" : "279", + "value" : [ " ", "meets before", " " ] + }, { + "r" : "276", + "s" : [ { + "r" : "274", + "value" : [ "Interval[", "0.5", ", ", "1.5", "]" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "MeetsBefore", + "localId" : "279", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "280", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "281", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "282", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "283", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "Interval", + "localId" : "271", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "272", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "273", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } + }, + "low" : { + "type" : "Literal", + "localId" : "269", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "1.50000001", + "annotation" : [ ] + }, + "high" : { + "type" : "Literal", + "localId" : "270", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "2.5", + "annotation" : [ ] + } + }, { + "type" : "Interval", + "localId" : "276", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "277", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "278", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } + }, + "low" : { + "type" : "Literal", + "localId" : "274", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "0.5", + "annotation" : [ ] + }, + "high" : { + "type" : "Literal", + "localId" : "275", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "1.5", + "annotation" : [ ] + } + } ] + } + }, { + "localId" : "286", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "MeetsBeforeRealIvl", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "286", + "s" : [ { + "value" : [ "", "define ", "MeetsBeforeRealIvl", ": " ] + }, { + "r" : "297", + "s" : [ { + "r" : "289", + "s" : [ { + "r" : "287", + "value" : [ "Interval[", "0.5", ", ", "1.5", "]" ] + } ] + }, { + "r" : "297", + "value" : [ " ", "meets before", " " ] + }, { + "r" : "294", + "s" : [ { + "r" : "292", + "value" : [ "Interval[", "1.50000001", ", ", "2.5", "]" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "MeetsBefore", + "localId" : "297", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "298", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "299", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "300", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "301", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "Interval", + "localId" : "289", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "290", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "291", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } + }, + "low" : { + "type" : "Literal", + "localId" : "287", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "0.5", + "annotation" : [ ] + }, + "high" : { + "type" : "Literal", + "localId" : "288", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "1.5", + "annotation" : [ ] + } + }, { + "type" : "Interval", + "localId" : "294", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "295", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "296", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } + }, + "low" : { + "type" : "Literal", + "localId" : "292", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "1.50000001", + "annotation" : [ ] + }, + "high" : { + "type" : "Literal", + "localId" : "293", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "2.5", + "annotation" : [ ] + } + } ] + } + }, { + "localId" : "304", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "NotMeetsRealIvl", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "304", + "s" : [ { + "value" : [ "", "define ", "NotMeetsRealIvl", ": " ] + }, { + "r" : "315", + "s" : [ { + "r" : "307", + "s" : [ { + "r" : "305", + "value" : [ "Interval[", "0.0", ", ", "1.0", "]" ] + } ] + }, { + "r" : "315", + "value" : [ " ", "meets before", " " ] + }, { + "r" : "312", + "s" : [ { + "r" : "310", + "value" : [ "Interval[", "1.1", ", ", "2.0", "]" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "MeetsBefore", + "localId" : "315", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "316", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "317", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "318", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "319", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "Interval", + "localId" : "307", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "308", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "309", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } + }, + "low" : { + "type" : "Literal", + "localId" : "305", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "0.0", + "annotation" : [ ] + }, + "high" : { + "type" : "Literal", + "localId" : "306", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "1.0", + "annotation" : [ ] + } + }, { + "type" : "Interval", + "localId" : "312", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "313", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "314", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } + }, + "low" : { + "type" : "Literal", + "localId" : "310", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "1.1", + "annotation" : [ ] + }, + "high" : { + "type" : "Literal", + "localId" : "311", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "2.0", + "annotation" : [ ] + } + } ] + } + }, { + "localId" : "322", + "name" : "DateIvl", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "322", + "s" : [ { + "value" : [ "", "define ", "DateIvl", ": " ] + }, { + "r" : "371", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "339", + "s" : [ { + "r" : "323", + "value" : [ "DateTime", "(", "2012", ", ", "3", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "363", + "s" : [ { + "r" : "347", + "value" : [ "DateTime", "(", "2012", ", ", "9", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "374", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "375", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "expression" : { + "type" : "Interval", + "localId" : "371", + "lowClosed" : true, + "highClosed" : false, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "372", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "373", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "DateTime", + "localId" : "339", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "340", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "341", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "342", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "343", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "344", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "345", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "346", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "323", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "324", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "325", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "326", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "327", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "328", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "329", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "363", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "364", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "365", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "366", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "367", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "368", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "369", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "370", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "347", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "348", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "9", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "349", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "350", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "351", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "352", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "353", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + } + } + }, { + "localId" : "378", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "MeetsAfterDateIvl", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "378", + "s" : [ { + "value" : [ "", "define ", "MeetsAfterDateIvl", ": " ] + }, { + "r" : "433", + "s" : [ { + "r" : "427", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "395", "s" : [ { - "value" : [ "","define ","DecimalIntervalStartsEndsFalse",": " ] - }, { - "r" : "333", - "s" : [ { - "r" : "325", - "s" : [ { - "r" : "323", - "value" : [ "Interval[","4.0",", ","10.0","]" ] - } ] - }, { - "r" : "333", - "value" : [ " ","starts"," " ] - }, { - "r" : "330", - "s" : [ { - "r" : "328", - "value" : [ "Interval[","4.0",", ","9.0","]" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "333", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "Starts", - "signature" : [ { - "localId" : "334", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "335", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "336", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "337", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "325", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "326", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "327", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "323", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "4.0", - "type" : "Literal" - }, - "high" : { - "localId" : "324", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "10.0", - "type" : "Literal" - } - }, { - "localId" : "330", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "331", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "332", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "328", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "4.0", - "type" : "Literal" - }, - "high" : { - "localId" : "329", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "9.0", - "type" : "Literal" - } - } ] - } - }, { - "localId" : "340", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "QuantityIntervalStartsTrue", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "340", + "r" : "379", + "value" : [ "DateTime", "(", "2012", ", ", "9", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "419", "s" : [ { - "value" : [ "","define ","QuantityIntervalStartsTrue",": " ] - }, { - "r" : "351", - "s" : [ { - "r" : "343", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "341", - "s" : [ { - "value" : [ "5.0 ","'g'" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "342", - "s" : [ { - "value" : [ "10.0 ","'g'" ] - } ] - }, { - "value" : [ "]" ] - } ] - }, { - "r" : "351", - "value" : [ " ","starts"," " ] - }, { - "r" : "348", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "346", - "s" : [ { - "value" : [ "5.0 ","'g'" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "347", - "s" : [ { - "value" : [ "15.0 ","'g'" ] - } ] - }, { - "value" : [ "]" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "351", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "Starts", - "signature" : [ { - "localId" : "352", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "353", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "354", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "355", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "343", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "344", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "345", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "341", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "value" : 5.0, - "unit" : "g", - "type" : "Quantity" - }, - "high" : { - "localId" : "342", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "value" : 10.0, - "unit" : "g", - "type" : "Quantity" - } - }, { - "localId" : "348", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "349", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "350", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "346", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "value" : 5.0, - "unit" : "g", - "type" : "Quantity" - }, - "high" : { - "localId" : "347", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "value" : 15.0, - "unit" : "g", - "type" : "Quantity" - } - } ] - } - }, { - "localId" : "358", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "QuantityIntervalStartsFalse", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "358", + "r" : "403", + "value" : [ "DateTime", "(", "2012", ", ", "12", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ ")" ] + } ] + }, { + "r" : "433", + "value" : [ " ", "meets before", " " ] + }, { + "r" : "430", + "s" : [ { + "value" : [ "DateIvl" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "MeetsBefore", + "localId" : "433", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "434", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "435", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "436", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "437", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "Interval", + "localId" : "427", + "lowClosed" : true, + "highClosed" : false, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "428", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "429", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "DateTime", + "localId" : "395", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "396", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "397", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "398", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "399", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "400", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "401", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "402", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "379", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "380", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "9", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "381", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "382", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "383", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "384", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "385", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "419", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "420", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "421", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "422", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "423", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "424", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "425", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "426", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "403", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "404", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "12", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "405", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "406", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "407", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "408", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "409", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + } + }, { + "type" : "ExpressionRef", + "localId" : "430", + "name" : "DateIvl", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "431", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "432", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + } ] + } + }, { + "localId" : "440", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "MeetsBeforeDateIvl", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "440", + "s" : [ { + "value" : [ "", "define ", "MeetsBeforeDateIvl", ": " ] + }, { + "r" : "495", + "s" : [ { + "r" : "489", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "457", + "s" : [ { + "r" : "441", + "value" : [ "DateTime", "(", "2012", ", ", "1", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "481", + "s" : [ { + "r" : "465", + "value" : [ "DateTime", "(", "2012", ", ", "3", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ ")" ] + } ] + }, { + "r" : "495", + "value" : [ " ", "meets before", " " ] + }, { + "r" : "492", + "s" : [ { + "value" : [ "DateIvl" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "MeetsBefore", + "localId" : "495", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "496", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "497", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "498", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "499", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "Interval", + "localId" : "489", + "lowClosed" : true, + "highClosed" : false, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "490", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "491", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "DateTime", + "localId" : "457", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "458", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "459", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "460", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "461", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "462", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "463", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "464", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "441", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "442", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "443", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "444", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "445", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "446", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "447", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "481", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "482", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "483", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "484", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "485", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "486", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "487", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "488", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "465", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "466", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "467", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "468", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "469", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "470", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "471", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + } + }, { + "type" : "ExpressionRef", + "localId" : "492", + "name" : "DateIvl", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "493", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "494", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + } ] + } + }, { + "localId" : "502", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "NotMeetsDateIvl", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "502", + "s" : [ { + "value" : [ "", "define ", "NotMeetsDateIvl", ": " ] + }, { + "r" : "557", + "s" : [ { + "r" : "551", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "519", + "s" : [ { + "r" : "503", + "value" : [ "DateTime", "(", "2012", ", ", "1", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "543", + "s" : [ { + "r" : "527", + "value" : [ "DateTime", "(", "2012", ", ", "2", ", ", "29", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ ")" ] + } ] + }, { + "r" : "557", + "value" : [ " ", "meets before", " " ] + }, { + "r" : "554", + "s" : [ { + "value" : [ "DateIvl" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "MeetsBefore", + "localId" : "557", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "558", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "559", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "560", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "561", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "Interval", + "localId" : "551", + "lowClosed" : true, + "highClosed" : false, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "552", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "553", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "DateTime", + "localId" : "519", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "520", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "521", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "522", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "523", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "524", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "525", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "526", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "503", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "504", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "505", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "506", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "507", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "508", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "509", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "543", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "544", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "545", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "546", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "547", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "548", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "549", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "550", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "527", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "528", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "529", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "29", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "530", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "531", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "532", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "533", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + } + }, { + "type" : "ExpressionRef", + "localId" : "554", + "name" : "DateIvl", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "555", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "556", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + } ] + } + }, { + "localId" : "564", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "MayMeetAfterImpreciseDateIvl", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "564", + "s" : [ { + "value" : [ "", "define ", "MayMeetAfterImpreciseDateIvl", ": " ] + }, { + "r" : "589", + "s" : [ { + "r" : "565", + "s" : [ { + "value" : [ "DateIvl" ] + } ] + }, { + "r" : "589", + "value" : [ " ", "meets before", " " ] + }, { + "r" : "586", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "574", + "s" : [ { + "r" : "568", + "value" : [ "DateTime", "(", "2012", ", ", "1", ")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "583", "s" : [ { - "value" : [ "","define ","QuantityIntervalStartsFalse",": " ] - }, { - "r" : "369", - "s" : [ { - "r" : "361", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "359", - "s" : [ { - "value" : [ "1.0 ","'g'" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "360", - "s" : [ { - "value" : [ "10.0 ","'g'" ] - } ] - }, { - "value" : [ "]" ] - } ] - }, { - "r" : "369", - "value" : [ " ","starts"," " ] - }, { - "r" : "366", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "364", - "s" : [ { - "value" : [ "5.0 ","'g'" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "365", - "s" : [ { - "value" : [ "10.0 ","'g'" ] - } ] - }, { - "value" : [ "]" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "369", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "Starts", - "signature" : [ { - "localId" : "370", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "371", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "372", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "373", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "361", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "362", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "363", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "359", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "value" : 1.0, - "unit" : "g", - "type" : "Quantity" - }, - "high" : { - "localId" : "360", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "value" : 10.0, - "unit" : "g", - "type" : "Quantity" - } - }, { - "localId" : "366", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "367", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "368", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "364", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "value" : 5.0, - "unit" : "g", - "type" : "Quantity" - }, - "high" : { - "localId" : "365", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "value" : 10.0, - "unit" : "g", - "type" : "Quantity" - } - } ] - } - }, { - "localId" : "376", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "QuantityIntervalStartsEndsFalse", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "376", + "r" : "577", + "value" : [ "DateTime", "(", "2012", ", ", "2", ")" ] + } ] + }, { + "value" : [ "]" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "MeetsBefore", + "localId" : "589", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "590", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "591", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "592", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "593", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "ExpressionRef", + "localId" : "565", + "name" : "DateIvl", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "566", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "567", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + }, { + "type" : "Interval", + "localId" : "586", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "587", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "588", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "DateTime", + "localId" : "574", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "575", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "576", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "568", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "569", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "583", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "584", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "585", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "577", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "578", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "annotation" : [ ] + } + } + } ] + } + }, { + "localId" : "596", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "MayMeetBeforeImpreciseDateIvl", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "596", + "s" : [ { + "value" : [ "", "define ", "MayMeetBeforeImpreciseDateIvl", ": " ] + }, { + "r" : "621", + "s" : [ { + "r" : "597", + "s" : [ { + "value" : [ "DateIvl" ] + } ] + }, { + "r" : "621", + "value" : [ " ", "meets before", " " ] + }, { + "r" : "618", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "606", + "s" : [ { + "r" : "600", + "value" : [ "DateTime", "(", "2012", ", ", "9", ")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "615", + "s" : [ { + "r" : "609", + "value" : [ "DateTime", "(", "2012", ", ", "12", ")" ] + } ] + }, { + "value" : [ "]" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "MeetsBefore", + "localId" : "621", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "622", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "623", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "624", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "625", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "ExpressionRef", + "localId" : "597", + "name" : "DateIvl", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "598", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "599", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + }, { + "type" : "Interval", + "localId" : "618", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "619", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "620", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "DateTime", + "localId" : "606", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "607", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "608", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "600", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "601", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "9", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "615", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "616", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "617", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "609", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "610", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "12", + "annotation" : [ ] + } + } + } ] + } + }, { + "localId" : "628", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "NotMeetsImpreciseDateIvl", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "628", + "s" : [ { + "value" : [ "", "define ", "NotMeetsImpreciseDateIvl", ": " ] + }, { + "r" : "653", + "s" : [ { + "r" : "629", + "s" : [ { + "value" : [ "DateIvl" ] + } ] + }, { + "r" : "653", + "value" : [ " ", "meets before", " " ] + }, { + "r" : "650", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "638", + "s" : [ { + "r" : "632", + "value" : [ "DateTime", "(", "2012", ", ", "1", ")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "647", + "s" : [ { + "r" : "641", + "value" : [ "DateTime", "(", "2012", ", ", "12", ")" ] + } ] + }, { + "value" : [ "]" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "MeetsBefore", + "localId" : "653", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "654", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "655", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "656", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "657", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "ExpressionRef", + "localId" : "629", + "name" : "DateIvl", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "630", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "631", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + }, { + "type" : "Interval", + "localId" : "650", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "651", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "652", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "DateTime", + "localId" : "638", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "639", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "640", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "632", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "633", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "647", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "648", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "649", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "641", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "642", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "12", + "annotation" : [ ] + } + } + } ] + } + }, { + "localId" : "660", + "name" : "PrecisionDateIvl", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "660", + "s" : [ { + "value" : [ "", "define ", "PrecisionDateIvl", ": " ] + }, { + "r" : "709", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "677", + "s" : [ { + "r" : "661", + "value" : [ "DateTime", "(", "2012", ", ", "3", ", ", "2", ", ", "12", ", ", "34", ", ", "56", ", ", "789", ")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "701", + "s" : [ { + "r" : "685", + "value" : [ "DateTime", "(", "2012", ", ", "9", ", ", "2", ", ", "1", ", ", "23", ", ", "45", ", ", "678", ")" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "712", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "713", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "expression" : { + "type" : "Interval", + "localId" : "709", + "lowClosed" : true, + "highClosed" : false, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "710", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "711", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "DateTime", + "localId" : "677", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "678", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "679", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "680", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "681", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "682", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "683", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "684", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "661", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "662", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "663", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "664", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "12", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "665", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "34", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "666", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "56", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "667", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "789", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "701", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "702", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "703", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "704", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "705", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "706", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "707", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "708", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "685", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "686", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "9", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "687", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "688", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "689", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "23", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "690", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "45", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "691", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "678", + "annotation" : [ ] + } + } + } + }, { + "localId" : "716", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "MeetsAfterDayOfIvl", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "716", + "s" : [ { + "value" : [ "", "define ", "MeetsAfterDayOfIvl", ": " ] + }, { + "r" : "771", + "s" : [ { + "r" : "717", + "s" : [ { + "value" : [ "PrecisionDateIvl" ] + } ] + }, { + "r" : "771", + "value" : [ " ", "meets before day of", " " ] + }, { + "r" : "768", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "736", "s" : [ { - "value" : [ "","define ","QuantityIntervalStartsEndsFalse",": " ] - }, { - "r" : "387", - "s" : [ { - "r" : "379", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "377", - "s" : [ { - "value" : [ "5.0 ","'g'" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "378", - "s" : [ { - "value" : [ "10.0 ","'g'" ] - } ] - }, { - "value" : [ "]" ] - } ] - }, { - "r" : "387", - "value" : [ " ","starts"," " ] - }, { - "r" : "384", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "382", - "s" : [ { - "value" : [ "5.0 ","'g'" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "383", - "s" : [ { - "value" : [ "9.9 ","'g'" ] - } ] - }, { - "value" : [ "]" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "387", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "Starts", - "signature" : [ { - "localId" : "388", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "389", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "390", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "391", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "379", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "380", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "381", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "377", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "value" : 5.0, - "unit" : "g", - "type" : "Quantity" - }, - "high" : { - "localId" : "378", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "value" : 10.0, - "unit" : "g", - "type" : "Quantity" - } - }, { - "localId" : "384", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "385", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "386", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "382", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "value" : 5.0, - "unit" : "g", - "type" : "Quantity" - }, - "high" : { - "localId" : "383", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "value" : 9.9, - "unit" : "g", - "type" : "Quantity" - } - } ] - } - }, { - "localId" : "394", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "DateTimeIntervalStartsTrue", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "394", + "r" : "720", + "value" : [ "DateTime", "(", "2012", ", ", "1", ", ", "2", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "760", "s" : [ { - "value" : [ "","define ","DateTimeIntervalStartsTrue",": " ] - }, { - "r" : "497", - "s" : [ { - "r" : "443", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "411", - "s" : [ { - "r" : "395", - "value" : [ "DateTime","(","2012",", ","1",", ","5",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "435", - "s" : [ { - "r" : "419", - "value" : [ "DateTime","(","2012",", ","1",", ","25",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ "]" ] - } ] - }, { - "r" : "497", - "value" : [ " ","starts"," " ] - }, { - "r" : "494", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "462", - "s" : [ { - "r" : "446", - "value" : [ "DateTime","(","2012",", ","1",", ","5",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "486", - "s" : [ { - "r" : "470", - "value" : [ "DateTime","(","2012",", ","1",", ","27",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ "]" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "497", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "Starts", - "signature" : [ { - "localId" : "498", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "499", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "500", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "501", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "443", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "444", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "445", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "411", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "412", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "413", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "414", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "415", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "416", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "417", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "418", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "395", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "396", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "397", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal" - }, - "hour" : { - "localId" : "398", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "399", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "400", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "401", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - }, - "high" : { - "localId" : "435", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "436", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "437", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "438", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "439", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "440", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "441", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "442", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "419", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "420", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "421", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "25", - "type" : "Literal" - }, - "hour" : { - "localId" : "422", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "423", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "424", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "425", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - } - }, { - "localId" : "494", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "495", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "496", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "462", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "463", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "464", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "465", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "466", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "467", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "468", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "469", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "446", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "447", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "448", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal" - }, - "hour" : { - "localId" : "449", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "450", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "451", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "452", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - }, - "high" : { - "localId" : "486", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "487", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "488", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "489", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "490", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "491", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "492", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "493", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "470", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "471", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "472", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "27", - "type" : "Literal" - }, - "hour" : { - "localId" : "473", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "474", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "475", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "476", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - } - } ] - } - }, { - "localId" : "504", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "DateTimeIntervalStartsFalse", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "504", - "s" : [ { - "value" : [ "","define ","DateTimeIntervalStartsFalse",": " ] - }, { - "r" : "559", - "s" : [ { - "r" : "529", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "513", - "s" : [ { - "r" : "505", - "value" : [ "DateTime","(","2012",", ","1",", ","5",")" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "525", - "s" : [ { - "r" : "517", - "value" : [ "DateTime","(","2012",", ","1",", ","25",")" ] - } ] - }, { - "value" : [ "]" ] - } ] - }, { - "r" : "559", - "value" : [ " ","starts day of"," " ] - }, { - "r" : "556", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "540", - "s" : [ { - "r" : "532", - "value" : [ "DateTime","(","2012",", ","1",", ","6",")" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "552", - "s" : [ { - "r" : "544", - "value" : [ "DateTime","(","2012",", ","1",", ","27",")" ] - } ] - }, { - "value" : [ "]" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "559", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "precision" : "Day", - "type" : "Starts", - "signature" : [ { - "localId" : "560", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "561", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "562", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "563", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "529", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "530", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "531", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "513", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "514", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "515", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "516", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "505", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "506", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "507", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal" - } - }, - "high" : { - "localId" : "525", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "526", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "527", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "528", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "517", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "518", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "519", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "25", - "type" : "Literal" - } - } - }, { - "localId" : "556", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "557", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "558", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "540", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "541", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "542", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "543", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "532", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "533", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "534", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "6", - "type" : "Literal" - } - }, - "high" : { - "localId" : "552", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "553", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "554", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "555", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "544", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "545", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "546", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "27", - "type" : "Literal" - } - } - } ] - } - }, { - "localId" : "566", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "DateTimeIntervalStartsDayOfTrue", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "566", + "r" : "744", + "value" : [ "DateTime", "(", "2012", ", ", "3", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ "]" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "MeetsBefore", + "localId" : "771", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "precision" : "Day", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "772", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "773", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "774", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "775", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "ExpressionRef", + "localId" : "717", + "name" : "PrecisionDateIvl", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "718", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "719", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + }, { + "type" : "Interval", + "localId" : "768", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "769", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "770", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "DateTime", + "localId" : "736", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "737", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "738", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "739", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "740", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "741", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "742", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "743", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "720", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "721", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "722", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "723", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "724", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "725", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "726", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "760", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "761", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "762", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "763", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "764", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "765", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "766", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "767", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "744", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "745", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "746", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "747", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "748", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "749", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "750", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + } + } ] + } + }, { + "localId" : "778", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "MeetsBeforeDayOfIvl", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "778", + "s" : [ { + "value" : [ "", "define ", "MeetsBeforeDayOfIvl", ": " ] + }, { + "r" : "833", + "s" : [ { + "r" : "779", + "s" : [ { + "value" : [ "PrecisionDateIvl" ] + } ] + }, { + "r" : "833", + "value" : [ " ", "meets before day of", " " ] + }, { + "r" : "830", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "798", "s" : [ { - "value" : [ "","define ","DateTimeIntervalStartsDayOfTrue",": " ] - }, { - "r" : "621", - "s" : [ { - "r" : "591", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "575", - "s" : [ { - "r" : "567", - "value" : [ "DateTime","(","2012",", ","1",", ","5",")" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "587", - "s" : [ { - "r" : "579", - "value" : [ "DateTime","(","2012",", ","1",", ","25",")" ] - } ] - }, { - "value" : [ "]" ] - } ] - }, { - "r" : "621", - "value" : [ " ","starts day of"," " ] - }, { - "r" : "618", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "602", - "s" : [ { - "r" : "594", - "value" : [ "DateTime","(","2012",", ","1",", ","5",")" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "614", - "s" : [ { - "r" : "606", - "value" : [ "DateTime","(","2012",", ","1",", ","27",")" ] - } ] - }, { - "value" : [ "]" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "621", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "precision" : "Day", - "type" : "Starts", - "signature" : [ { - "localId" : "622", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "623", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "624", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "625", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "591", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "592", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "593", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "575", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "576", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "577", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "578", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "567", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "568", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "569", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal" - } - }, - "high" : { - "localId" : "587", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "588", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "589", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "590", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "579", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "580", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "581", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "25", - "type" : "Literal" - } - } - }, { - "localId" : "618", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "619", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "620", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "602", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "603", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "604", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "605", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "594", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "595", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "596", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal" - } - }, - "high" : { - "localId" : "614", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "615", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "616", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "617", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "606", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "607", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "608", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "27", - "type" : "Literal" - } - } - } ] - } - }, { - "localId" : "628", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "DateTimeIntervalStartsEndsFalse", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "628", + "r" : "782", + "value" : [ "DateTime", "(", "2012", ", ", "9", ", ", "3", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "822", "s" : [ { - "value" : [ "","define ","DateTimeIntervalStartsEndsFalse",": " ] - }, { - "r" : "683", - "s" : [ { - "r" : "653", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "637", - "s" : [ { - "r" : "629", - "value" : [ "DateTime","(","2012",", ","1",", ","5",")" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "649", - "s" : [ { - "r" : "641", - "value" : [ "DateTime","(","2012",", ","1",", ","25",")" ] - } ] - }, { - "value" : [ "]" ] - } ] - }, { - "r" : "683", - "value" : [ " ","starts day of"," " ] - }, { - "r" : "680", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "664", - "s" : [ { - "r" : "656", - "value" : [ "DateTime","(","2012",", ","1",", ","5",")" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "676", - "s" : [ { - "r" : "668", - "value" : [ "DateTime","(","2012",", ","1",", ","24",")" ] - } ] - }, { - "value" : [ "]" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "683", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "precision" : "Day", - "type" : "Starts", - "signature" : [ { - "localId" : "684", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "685", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "686", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "687", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "653", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "654", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "655", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "637", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "638", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "639", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "640", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "629", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "630", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "631", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal" - } - }, - "high" : { - "localId" : "649", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "650", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "651", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "652", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "641", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "642", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "643", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "25", - "type" : "Literal" - } - } - }, { - "localId" : "680", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "681", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "682", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "664", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "665", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "666", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "667", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "656", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "657", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "658", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal" - } - }, - "high" : { - "localId" : "676", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "677", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "678", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "679", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "668", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "669", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "670", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "24", - "type" : "Literal" - } - } - } ] - } - } ] - } - } -} - -/* Ends -library TestSnippet version '1' -using Simple version '1.0.0' -context Patient -define TestEndsNull: Interval[1, 10] ends Interval[null, null] -define IntegerIntervalEndsTrue: Interval[4,10] ends Interval[1,10] -define IntegerIntervalEndsFalse: Interval[4, 9] ends Interval[1,10] -define IntegerIntervalEndsStartsFalse: Interval[0, 10] ends Interval[1,10] -define DecimalIntervalEndsTrue: Interval[4.0,10.0] ends Interval[1.0,10.0] -define DecimalIntervalEndsFalse: Interval[11.0, 20.0] ends Interval[1.0,10.0] -define DecimalIntervalEndsStartsFalse: Interval[0.0, 10.0] ends Interval[1.0, 10.0] -define QuantityIntervalEndsTrue: Interval[5.0 'g', 10.0 'g'] ends Interval[1.0 'g', 10.0 'g'] -define QuantityIntervalEndsFalse: Interval[5.0 'g', 10.0 'g'] ends Interval[1.0 'g', 10.5 'g'] -define QuantityIntervalEndsStartsFalse: Interval[4.0 'g', 10.0 'g'] ends Interval[5.0 'g', 10.0 'g'] -define DateTimeIntervalEndsTrue: Interval[DateTime(2012, 1, 5, 0, 0, 0, 0), DateTime(2012, 1, 15, 0, 0, 0, 0)] ends Interval[DateTime(2012, 1, 1, 0, 0, 0, 0), DateTime(2012, 1, 15, 0, 0, 0, 0)] -define DateTimeIntervalEndsFalse: Interval[DateTime(2012, 1, 5), DateTime(2012, 1, 15)] ends day of Interval[DateTime(2012, 1, 1), DateTime(2012, 1, 16)] -define DateTimeIntervalEndsDayOfTrue: Interval[DateTime(2012, 1, 5), DateTime(2012, 1, 15)] ends day of Interval[DateTime(2012, 1, 1), DateTime(2012, 1, 15)] -define DateTimeIntervalEndsStartsFalse: Interval[DateTime(2012, 1, 5), DateTime(2012, 2, 16)] ends day of Interval[DateTime(2012, 2, 1), DateTime(2012, 2, 16)] -*/ - -module.exports['Ends'] = { - "library" : { - "localId" : "0", - "annotation" : [ { - "translatorVersion" : "3.27.0", - "translatorOptions" : "EnableDateRangeOptimization,EnableAnnotations,EnableResultTypes", - "signatureLevel" : "All", - "type" : "CqlToElmInfo" - }, { - "type" : "Annotation", - "s" : { - "r" : "635", + "r" : "806", + "value" : [ "DateTime", "(", "2012", ", ", "12", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ "]" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "MeetsBefore", + "localId" : "833", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "precision" : "Day", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "834", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "835", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "836", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "837", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "ExpressionRef", + "localId" : "779", + "name" : "PrecisionDateIvl", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "780", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "781", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + }, { + "type" : "Interval", + "localId" : "830", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "831", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "832", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "DateTime", + "localId" : "798", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "799", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "800", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "801", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "802", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "803", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "804", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "805", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "782", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "783", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "9", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "784", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "785", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "786", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "787", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "788", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "822", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "823", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "824", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "825", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "826", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "827", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "828", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "829", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "806", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "807", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "12", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "808", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "809", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "810", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "811", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "812", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + } + } ] + } + }, { + "localId" : "840", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "NotMeetsDayOfIvl", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "840", + "s" : [ { + "value" : [ "", "define ", "NotMeetsDayOfIvl", ": " ] + }, { + "r" : "895", + "s" : [ { + "r" : "841", + "s" : [ { + "value" : [ "PrecisionDateIvl" ] + } ] + }, { + "r" : "895", + "value" : [ " ", "meets before day of", " " ] + }, { + "r" : "892", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "860", + "s" : [ { + "r" : "844", + "value" : [ "DateTime", "(", "2012", ", ", "1", ", ", "2", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "884", + "s" : [ { + "r" : "868", + "value" : [ "DateTime", "(", "2012", ", ", "3", ", ", "2", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ "]" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "MeetsBefore", + "localId" : "895", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "precision" : "Day", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "896", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "897", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "898", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "899", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "ExpressionRef", + "localId" : "841", + "name" : "PrecisionDateIvl", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "842", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "843", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + }, { + "type" : "Interval", + "localId" : "892", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "893", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "894", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "DateTime", + "localId" : "860", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "861", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "862", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "863", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "864", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "865", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "866", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "867", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "844", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "845", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "846", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "847", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "848", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "849", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "850", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "884", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "885", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "886", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "887", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "888", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "889", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "890", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "891", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "868", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "869", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "870", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "871", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "872", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "873", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "874", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + } + } ] + } + }, { + "localId" : "902", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "NotMeetsDayOfImpreciseIVL", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "902", + "s" : [ { + "value" : [ "", "define ", "NotMeetsDayOfImpreciseIVL", ": " ] + }, { + "r" : "927", + "s" : [ { + "r" : "903", + "s" : [ { + "value" : [ "PrecisionDateIvl" ] + } ] + }, { + "r" : "927", + "value" : [ " ", "meets before day of", " " ] + }, { + "r" : "924", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "912", + "s" : [ { + "r" : "906", + "value" : [ "DateTime", "(", "2012", ", ", "1", ")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "921", + "s" : [ { + "r" : "915", + "value" : [ "DateTime", "(", "2012", ", ", "2", ")" ] + } ] + }, { + "value" : [ "]" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "MeetsBefore", + "localId" : "927", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "precision" : "Day", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "928", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "929", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "930", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "931", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "ExpressionRef", + "localId" : "903", + "name" : "PrecisionDateIvl", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "904", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "905", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + }, { + "type" : "Interval", + "localId" : "924", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "925", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "926", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "DateTime", + "localId" : "912", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "913", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "914", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "906", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "907", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "921", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "922", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "923", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "915", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "916", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "annotation" : [ ] + } + } + } ] + } + }, { + "localId" : "934", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "MayMeetAfterDayOfImpreciseIvl", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "934", + "s" : [ { + "value" : [ "", "define ", "MayMeetAfterDayOfImpreciseIvl", ": " ] + }, { + "r" : "959", + "s" : [ { + "r" : "935", + "s" : [ { + "value" : [ "PrecisionDateIvl" ] + } ] + }, { + "r" : "959", + "value" : [ " ", "meets before day of", " " ] + }, { + "r" : "956", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "944", + "s" : [ { + "r" : "938", + "value" : [ "DateTime", "(", "2012", ", ", "1", ")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "953", + "s" : [ { + "r" : "947", + "value" : [ "DateTime", "(", "2012", ", ", "3", ")" ] + } ] + }, { + "value" : [ "]" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "MeetsBefore", + "localId" : "959", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "precision" : "Day", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "960", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "961", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "962", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "963", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "ExpressionRef", + "localId" : "935", + "name" : "PrecisionDateIvl", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "936", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "937", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + }, { + "type" : "Interval", + "localId" : "956", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "957", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "958", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "DateTime", + "localId" : "944", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "945", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "946", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "938", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "939", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "953", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "954", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "955", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "947", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "948", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + } + } + } ] + } + }, { + "localId" : "966", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "MayMeetBeforeDayOfImpreciseIvl", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "966", + "s" : [ { + "value" : [ "", "define ", "MayMeetBeforeDayOfImpreciseIvl", ": " ] + }, { + "r" : "991", + "s" : [ { + "r" : "967", + "s" : [ { + "value" : [ "PrecisionDateIvl" ] + } ] + }, { + "r" : "991", + "value" : [ " ", "meets before day of", " " ] + }, { + "r" : "988", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "976", + "s" : [ { + "r" : "970", + "value" : [ "DateTime", "(", "2012", ", ", "9", ")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "985", + "s" : [ { + "r" : "979", + "value" : [ "DateTime", "(", "2012", ", ", "12", ")" ] + } ] + }, { + "value" : [ "]" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "MeetsBefore", + "localId" : "991", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "precision" : "Day", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "992", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "993", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "994", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "995", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "ExpressionRef", + "localId" : "967", + "name" : "PrecisionDateIvl", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "968", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "969", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + }, { + "type" : "Interval", + "localId" : "988", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "989", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "990", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "DateTime", + "localId" : "976", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "977", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "978", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "970", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "971", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "9", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "985", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "986", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "987", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "979", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "980", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "12", + "annotation" : [ ] + } + } + } ] + } + }, { + "localId" : "998", + "name" : "ImpDateIvl", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "998", "s" : [ { - "value" : [ "","library TestSnippet version '1'" ] - } ] - } - } ], - "identifier" : { - "id" : "TestSnippet", - "version" : "1" - }, - "schemaIdentifier" : { - "id" : "urn:hl7-org:elm", - "version" : "r1" - }, - "usings" : { - "def" : [ { - "localId" : "1", - "localIdentifier" : "System", - "uri" : "urn:hl7-org:elm-types:r1" - }, { - "localId" : "206", - "localIdentifier" : "Simple", - "uri" : "https://github.com/cqframework/cql-execution/simple", - "version" : "1.0.0", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "206", - "s" : [ { - "value" : [ "","using " ] - }, { - "s" : [ { - "value" : [ "Simple" ] - } ] - }, { - "value" : [ " version '1.0.0'" ] - } ] - } - } ] - } ] - }, - "contexts" : { - "def" : [ { - "localId" : "211", - "name" : "Patient" - } ] - }, - "statements" : { - "def" : [ { - "localId" : "209", - "name" : "Patient", - "context" : "Patient", - "expression" : { - "localId" : "210", - "type" : "SingletonFrom", - "signature" : [ ], - "operand" : { - "localId" : "208", - "dataType" : "{https://github.com/cqframework/cql-execution/simple}Patient", - "type" : "Retrieve", - "include" : [ ], - "codeFilter" : [ ], - "dateFilter" : [ ], - "otherFilter" : [ ] - } - } - }, { - "localId" : "214", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "TestEndsNull", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "214", - "s" : [ { - "value" : [ "","define ","TestEndsNull",": " ] - }, { - "r" : "225", - "s" : [ { - "r" : "217", - "s" : [ { - "r" : "215", - "value" : [ "Interval[","1",", ","10","]" ] - } ] - }, { - "r" : "225", - "value" : [ " ","ends"," " ] - }, { - "r" : "222", - "s" : [ { - "r" : "220", - "value" : [ "Interval[","null",", ","null","]" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "225", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "Ends", - "signature" : [ { - "localId" : "233", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "234", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "235", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "236", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "217", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "218", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "219", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "215", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "high" : { - "localId" : "216", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal" - } - }, { - "localId" : "226", - "type" : "Interval", - "low" : { - "localId" : "228", - "asType" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "As", - "signature" : [ ], - "operand" : { - "localId" : "227", - "path" : "low", - "type" : "Property", - "source" : { - "localId" : "222", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "223", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "224", - "name" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "220", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - }, - "high" : { - "localId" : "221", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - } - } - } - }, - "lowClosedExpression" : { - "localId" : "229", - "path" : "lowClosed", - "type" : "Property", - "source" : { - "localId" : "222", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "223", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "224", - "name" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "220", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - }, - "high" : { - "localId" : "221", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - } - } - }, - "high" : { - "localId" : "231", - "asType" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "As", - "signature" : [ ], - "operand" : { - "localId" : "230", - "path" : "high", - "type" : "Property", - "source" : { - "localId" : "222", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "223", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "224", - "name" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "220", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - }, - "high" : { - "localId" : "221", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - } - } - } - }, - "highClosedExpression" : { - "localId" : "232", - "path" : "highClosed", - "type" : "Property", - "source" : { - "localId" : "222", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "223", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "224", - "name" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "220", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - }, - "high" : { - "localId" : "221", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - } - } - } - } ] - } - }, { - "localId" : "239", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "IntegerIntervalEndsTrue", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "239", + "value" : [ "", "define ", "ImpDateIvl", ": " ] + }, { + "r" : "1017", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "1005", + "s" : [ { + "r" : "999", + "value" : [ "DateTime", "(", "2012", ", ", "3", ")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "1014", + "s" : [ { + "r" : "1008", + "value" : [ "DateTime", "(", "2012", ", ", "8", ")" ] + } ] + }, { + "value" : [ "]" ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1020", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1021", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "expression" : { + "type" : "Interval", + "localId" : "1017", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1018", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1019", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "DateTime", + "localId" : "1005", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1006", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1007", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "999", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1000", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "1014", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1015", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1016", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1008", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1009", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "8", + "annotation" : [ ] + } + } + } + }, { + "localId" : "1024", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "ImpreciseMayMeetAfterDateIvl", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "1024", + "s" : [ { + "value" : [ "", "define ", "ImpreciseMayMeetAfterDateIvl", ": " ] + }, { + "r" : "1079", + "s" : [ { + "r" : "1025", + "s" : [ { + "value" : [ "ImpDateIvl" ] + } ] + }, { + "r" : "1079", + "value" : [ " ", "meets before", " " ] + }, { + "r" : "1076", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "1044", "s" : [ { - "value" : [ "","define ","IntegerIntervalEndsTrue",": " ] - }, { - "r" : "250", - "s" : [ { - "r" : "242", - "s" : [ { - "r" : "240", - "value" : [ "Interval[","4",",","10","]" ] - } ] - }, { - "r" : "250", - "value" : [ " ","ends"," " ] - }, { - "r" : "247", - "s" : [ { - "r" : "245", - "value" : [ "Interval[","1",",","10","]" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "250", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "Ends", - "signature" : [ { - "localId" : "251", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "252", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "253", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "254", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "242", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "243", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "244", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "240", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "4", - "type" : "Literal" - }, - "high" : { - "localId" : "241", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal" - } - }, { - "localId" : "247", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "248", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "249", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "245", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "high" : { - "localId" : "246", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal" - } - } ] - } - }, { - "localId" : "257", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "IntegerIntervalEndsFalse", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "257", + "r" : "1028", + "value" : [ "DateTime", "(", "2012", ", ", "1", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "1068", "s" : [ { - "value" : [ "","define ","IntegerIntervalEndsFalse",": " ] - }, { - "r" : "268", - "s" : [ { - "r" : "260", - "s" : [ { - "r" : "258", - "value" : [ "Interval[","4",", ","9","]" ] - } ] - }, { - "r" : "268", - "value" : [ " ","ends"," " ] - }, { - "r" : "265", - "s" : [ { - "r" : "263", - "value" : [ "Interval[","1",",","10","]" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "268", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "Ends", - "signature" : [ { - "localId" : "269", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "270", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "271", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "272", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "260", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "261", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "262", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "258", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "4", - "type" : "Literal" - }, - "high" : { - "localId" : "259", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "9", - "type" : "Literal" - } - }, { - "localId" : "265", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "266", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "267", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "263", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "high" : { - "localId" : "264", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal" - } - } ] - } - }, { - "localId" : "275", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "IntegerIntervalEndsStartsFalse", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "275", + "r" : "1052", + "value" : [ "DateTime", "(", "2012", ", ", "2", ", ", "29", ", ", "23", ", ", "59", ", ", "59", ", ", "999", ")" ] + } ] + }, { + "value" : [ "]" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "MeetsBefore", + "localId" : "1079", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "1080", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1081", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "1082", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1083", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "ExpressionRef", + "localId" : "1025", + "name" : "ImpDateIvl", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1026", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1027", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + }, { + "type" : "Interval", + "localId" : "1076", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1077", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1078", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "DateTime", + "localId" : "1044", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1045", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1046", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1047", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1048", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1049", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1050", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1051", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1028", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1029", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "1030", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "1031", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "1032", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "1033", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "1034", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "1068", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1069", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1070", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1071", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1072", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1073", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1074", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1075", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1052", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1053", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "1054", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "29", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "1055", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "23", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "1056", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "59", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "1057", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "59", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "1058", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "999", + "annotation" : [ ] + } + } + } ] + } + }, { + "localId" : "1086", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "ImpreciseMayMeetBeforeDateIvl", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "1086", + "s" : [ { + "value" : [ "", "define ", "ImpreciseMayMeetBeforeDateIvl", ": " ] + }, { + "r" : "1141", + "s" : [ { + "r" : "1087", + "s" : [ { + "value" : [ "ImpDateIvl" ] + } ] + }, { + "r" : "1141", + "value" : [ " ", "meets before", " " ] + }, { + "r" : "1138", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "1106", + "s" : [ { + "r" : "1090", + "value" : [ "DateTime", "(", "2012", ", ", "9", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "1130", + "s" : [ { + "r" : "1114", + "value" : [ "DateTime", "(", "2012", ", ", "12", ", ", "31", ", ", "23", ", ", "59", ", ", "59", ", ", "999", ")" ] + } ] + }, { + "value" : [ "]" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "MeetsBefore", + "localId" : "1141", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "1142", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1143", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "1144", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1145", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "ExpressionRef", + "localId" : "1087", + "name" : "ImpDateIvl", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1088", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1089", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + }, { + "type" : "Interval", + "localId" : "1138", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1139", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1140", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "DateTime", + "localId" : "1106", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1107", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1108", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1109", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1110", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1111", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1112", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1113", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1090", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1091", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "9", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "1092", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "1093", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "1094", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "1095", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "1096", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "1130", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1131", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1132", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1133", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1134", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1135", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1136", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1137", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1114", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1115", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "12", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "1116", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "31", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "1117", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "23", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "1118", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "59", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "1119", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "59", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "1120", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "999", + "annotation" : [ ] + } + } + } ] + } + }, { + "localId" : "1148", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "ImpreciseNotMeetsDateIvl", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "1148", + "s" : [ { + "value" : [ "", "define ", "ImpreciseNotMeetsDateIvl", ": " ] + }, { + "r" : "1203", + "s" : [ { + "r" : "1149", + "s" : [ { + "value" : [ "ImpDateIvl" ] + } ] + }, { + "r" : "1203", + "value" : [ " ", "meets before", " " ] + }, { + "r" : "1200", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "1168", + "s" : [ { + "r" : "1152", + "value" : [ "DateTime", "(", "2012", ", ", "1", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "1192", + "s" : [ { + "r" : "1176", + "value" : [ "DateTime", "(", "2012", ", ", "12", ", ", "31", ", ", "23", ", ", "59", ", ", "59", ", ", "999", ")" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "MeetsBefore", + "localId" : "1203", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "1204", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1205", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "1206", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1207", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "ExpressionRef", + "localId" : "1149", + "name" : "ImpDateIvl", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1150", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1151", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + }, { + "type" : "Interval", + "localId" : "1200", + "lowClosed" : true, + "highClosed" : false, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1201", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1202", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "DateTime", + "localId" : "1168", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1169", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1170", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1171", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1172", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1173", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1174", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1175", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1152", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1153", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "1154", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "1155", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "1156", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "1157", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "1158", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "1192", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1193", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1194", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1195", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1196", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1197", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1198", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1199", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1176", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1177", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "12", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "1178", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "31", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "1179", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "23", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "1180", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "59", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "1181", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "59", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "1182", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "999", + "annotation" : [ ] + } + } + } ] + } + }, { + "localId" : "1210", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "NegInfBegMeetsBeforeIntIvl", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "1210", + "s" : [ { + "value" : [ "", "define ", "NegInfBegMeetsBeforeIntIvl", ": " ] + }, { + "r" : "1222", + "s" : [ { + "r" : "1213", + "s" : [ { + "r" : "1211", + "value" : [ "Interval[", "null", ", ", "100", "]" ] + } ] + }, { + "r" : "1222", + "value" : [ " ", "meets before", " " ] + }, { + "r" : "1219", + "s" : [ { + "r" : "1217", + "value" : [ "Interval[", "101", ", ", "200", "]" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "MeetsBefore", + "localId" : "1222", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "1223", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1224", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "1225", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1226", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "Interval", + "localId" : "1213", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1215", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1216", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "low" : { + "type" : "As", + "localId" : "1214", + "asType" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Null", + "localId" : "1211", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } + }, + "high" : { + "type" : "Literal", + "localId" : "1212", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "100", + "annotation" : [ ] + } + }, { + "type" : "Interval", + "localId" : "1219", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1220", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1221", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "low" : { + "type" : "Literal", + "localId" : "1217", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "101", + "annotation" : [ ] + }, + "high" : { + "type" : "Literal", + "localId" : "1218", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "200", + "annotation" : [ ] + } + } ] + } + }, { + "localId" : "1229", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "NegInfBegNotMeetsIntIvl", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "1229", + "s" : [ { + "value" : [ "", "define ", "NegInfBegNotMeetsIntIvl", ": " ] + }, { + "r" : "1241", + "s" : [ { + "r" : "1232", + "s" : [ { + "r" : "1230", + "value" : [ "Interval[", "null", ", ", "100", "]" ] + } ] + }, { + "r" : "1241", + "value" : [ " ", "meets before", " " ] + }, { + "r" : "1238", + "s" : [ { + "r" : "1236", + "value" : [ "Interval[", "100", ", ", "200", "]" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "MeetsBefore", + "localId" : "1241", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "1242", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1243", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "1244", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1245", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "Interval", + "localId" : "1232", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1234", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1235", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "low" : { + "type" : "As", + "localId" : "1233", + "asType" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Null", + "localId" : "1230", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } + }, + "high" : { + "type" : "Literal", + "localId" : "1231", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "100", + "annotation" : [ ] + } + }, { + "type" : "Interval", + "localId" : "1238", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1239", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1240", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "low" : { + "type" : "Literal", + "localId" : "1236", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "100", + "annotation" : [ ] + }, + "high" : { + "type" : "Literal", + "localId" : "1237", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "200", + "annotation" : [ ] + } + } ] + } + }, { + "localId" : "1248", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "IntIvlNotMeetsNegInfBeg", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "1248", + "s" : [ { + "value" : [ "", "define ", "IntIvlNotMeetsNegInfBeg", ": " ] + }, { + "r" : "1260", + "s" : [ { + "r" : "1251", + "s" : [ { + "r" : "1249", + "value" : [ "Interval[", "100", ", ", "200", "]" ] + } ] + }, { + "r" : "1260", + "value" : [ " ", "meets before", " " ] + }, { + "r" : "1256", + "s" : [ { + "r" : "1254", + "value" : [ "Interval[", "null", ", ", "400", "]" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "MeetsBefore", + "localId" : "1260", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "1261", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1262", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "1263", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1264", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "Interval", + "localId" : "1251", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1252", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1253", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "low" : { + "type" : "Literal", + "localId" : "1249", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "100", + "annotation" : [ ] + }, + "high" : { + "type" : "Literal", + "localId" : "1250", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "200", + "annotation" : [ ] + } + }, { + "type" : "Interval", + "localId" : "1256", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1258", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1259", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "low" : { + "type" : "As", + "localId" : "1257", + "asType" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Null", + "localId" : "1254", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } + }, + "high" : { + "type" : "Literal", + "localId" : "1255", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "400", + "annotation" : [ ] + } + } ] + } + }, { + "localId" : "1267", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "UnknownBegMeetsBeforeIntIvl", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "1267", + "s" : [ { + "value" : [ "", "define ", "UnknownBegMeetsBeforeIntIvl", ": " ] + }, { + "r" : "1279", + "s" : [ { + "r" : "1270", + "s" : [ { + "r" : "1268", + "value" : [ "Interval(", "null", ", ", "100", "]" ] + } ] + }, { + "r" : "1279", + "value" : [ " ", "meets before", " " ] + }, { + "r" : "1276", + "s" : [ { + "r" : "1274", + "value" : [ "Interval[", "101", ", ", "200", "]" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "MeetsBefore", + "localId" : "1279", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "1280", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1281", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "1282", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1283", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "Interval", + "localId" : "1270", + "lowClosed" : false, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1272", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1273", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "low" : { + "type" : "As", + "localId" : "1271", + "asType" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Null", + "localId" : "1268", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } + }, + "high" : { + "type" : "Literal", + "localId" : "1269", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "100", + "annotation" : [ ] + } + }, { + "type" : "Interval", + "localId" : "1276", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1277", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1278", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "low" : { + "type" : "Literal", + "localId" : "1274", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "101", + "annotation" : [ ] + }, + "high" : { + "type" : "Literal", + "localId" : "1275", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "200", + "annotation" : [ ] + } + } ] + } + }, { + "localId" : "1286", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "UnknownBegMayMeetAfterIntIvl", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "1286", + "s" : [ { + "value" : [ "", "define ", "UnknownBegMayMeetAfterIntIvl", ": " ] + }, { + "r" : "1298", + "s" : [ { + "r" : "1289", + "s" : [ { + "r" : "1287", + "value" : [ "Interval(", "null", ", ", "100", "]" ] + } ] + }, { + "r" : "1298", + "value" : [ " ", "meets before", " " ] + }, { + "r" : "1295", + "s" : [ { + "r" : "1293", + "value" : [ "Interval[", "0", ", ", "50", "]" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "MeetsBefore", + "localId" : "1298", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "1299", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1300", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "1301", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1302", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "Interval", + "localId" : "1289", + "lowClosed" : false, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1291", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1292", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "low" : { + "type" : "As", + "localId" : "1290", + "asType" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Null", + "localId" : "1287", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } + }, + "high" : { + "type" : "Literal", + "localId" : "1288", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "100", + "annotation" : [ ] + } + }, { + "type" : "Interval", + "localId" : "1295", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1296", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1297", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "low" : { + "type" : "Literal", + "localId" : "1293", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "high" : { + "type" : "Literal", + "localId" : "1294", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "50", + "annotation" : [ ] + } + } ] + } + }, { + "localId" : "1305", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "UnknownBegNotMeetsIntIvl", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "1305", + "s" : [ { + "value" : [ "", "define ", "UnknownBegNotMeetsIntIvl", ": " ] + }, { + "r" : "1317", + "s" : [ { + "r" : "1308", + "s" : [ { + "r" : "1306", + "value" : [ "Interval(", "null", ", ", "5", "]" ] + } ] + }, { + "r" : "1317", + "value" : [ " ", "meets before", " " ] + }, { + "r" : "1314", + "s" : [ { + "r" : "1312", + "value" : [ "Interval[", "0", ", ", "100", "]" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "MeetsBefore", + "localId" : "1317", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "1318", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1319", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "1320", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1321", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "Interval", + "localId" : "1308", + "lowClosed" : false, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1310", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1311", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "low" : { + "type" : "As", + "localId" : "1309", + "asType" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Null", + "localId" : "1306", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } + }, + "high" : { + "type" : "Literal", + "localId" : "1307", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "5", + "annotation" : [ ] + } + }, { + "type" : "Interval", + "localId" : "1314", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1315", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1316", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "low" : { + "type" : "Literal", + "localId" : "1312", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "high" : { + "type" : "Literal", + "localId" : "1313", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "100", + "annotation" : [ ] + } + } ] + } + }, { + "localId" : "1324", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "IntIvlMayMeetBeforeUnknownBeg", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "1324", + "s" : [ { + "value" : [ "", "define ", "IntIvlMayMeetBeforeUnknownBeg", ": " ] + }, { + "r" : "1336", + "s" : [ { + "r" : "1327", + "s" : [ { + "r" : "1325", + "value" : [ "Interval[", "0", ", ", "100", "]" ] + } ] + }, { + "r" : "1336", + "value" : [ " ", "meets before", " " ] + }, { + "r" : "1332", + "s" : [ { + "r" : "1330", + "value" : [ "Interval(", "null", ", ", "400", ")" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "MeetsBefore", + "localId" : "1336", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "1337", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1338", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "1339", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1340", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "Interval", + "localId" : "1327", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1328", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1329", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "low" : { + "type" : "Literal", + "localId" : "1325", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "high" : { + "type" : "Literal", + "localId" : "1326", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "100", + "annotation" : [ ] + } + }, { + "type" : "Interval", + "localId" : "1332", + "lowClosed" : false, + "highClosed" : false, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1334", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1335", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "low" : { + "type" : "As", + "localId" : "1333", + "asType" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Null", + "localId" : "1330", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } + }, + "high" : { + "type" : "Literal", + "localId" : "1331", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "400", + "annotation" : [ ] + } + } ] + } + }, { + "localId" : "1343", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "PosInfEndMeetsAfterIntIvl", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "1343", + "s" : [ { + "value" : [ "", "define ", "PosInfEndMeetsAfterIntIvl", ": " ] + }, { + "r" : "1355", + "s" : [ { + "r" : "1346", + "s" : [ { + "r" : "1344", + "value" : [ "Interval[", "100", ", ", "null", "]" ] + } ] + }, { + "r" : "1355", + "value" : [ " ", "meets before", " " ] + }, { + "r" : "1352", + "s" : [ { + "r" : "1350", + "value" : [ "Interval[", "0", ", ", "99", "]" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "MeetsBefore", + "localId" : "1355", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "1356", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1357", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "1358", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1359", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "Interval", + "localId" : "1346", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1348", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1349", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "low" : { + "type" : "Literal", + "localId" : "1344", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "100", + "annotation" : [ ] + }, + "high" : { + "type" : "As", + "localId" : "1347", + "asType" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Null", + "localId" : "1345", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } + } + }, { + "type" : "Interval", + "localId" : "1352", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1353", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1354", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "low" : { + "type" : "Literal", + "localId" : "1350", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "high" : { + "type" : "Literal", + "localId" : "1351", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "99", + "annotation" : [ ] + } + } ] + } + }, { + "localId" : "1362", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "PosInfEndNotMeetsIntIvl", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "1362", + "s" : [ { + "value" : [ "", "define ", "PosInfEndNotMeetsIntIvl", ": " ] + }, { + "r" : "1374", + "s" : [ { + "r" : "1365", + "s" : [ { + "r" : "1363", + "value" : [ "Interval[", "0", ", ", "null", "]" ] + } ] + }, { + "r" : "1374", + "value" : [ " ", "meets before", " " ] + }, { + "r" : "1371", + "s" : [ { + "r" : "1369", + "value" : [ "Interval[", "1000", ", ", "2000", "]" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "MeetsBefore", + "localId" : "1374", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "1375", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1376", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "1377", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1378", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "Interval", + "localId" : "1365", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1367", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1368", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "low" : { + "type" : "Literal", + "localId" : "1363", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "high" : { + "type" : "As", + "localId" : "1366", + "asType" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Null", + "localId" : "1364", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } + } + }, { + "type" : "Interval", + "localId" : "1371", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1372", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1373", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "low" : { + "type" : "Literal", + "localId" : "1369", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1000", + "annotation" : [ ] + }, + "high" : { + "type" : "Literal", + "localId" : "1370", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + } + } ] + } + }, { + "localId" : "1381", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "IntIvlNotMeetsPosInfEnd", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "1381", + "s" : [ { + "value" : [ "", "define ", "IntIvlNotMeetsPosInfEnd", ": " ] + }, { + "r" : "1393", + "s" : [ { + "r" : "1384", + "s" : [ { + "r" : "1382", + "value" : [ "Interval[", "100", ", ", "200", "]" ] + } ] + }, { + "r" : "1393", + "value" : [ " ", "meets before", " " ] + }, { + "r" : "1389", + "s" : [ { + "r" : "1387", + "value" : [ "Interval[", "0", ", ", "null", "]" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "MeetsBefore", + "localId" : "1393", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "1394", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1395", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "1396", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1397", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "Interval", + "localId" : "1384", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1385", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1386", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "low" : { + "type" : "Literal", + "localId" : "1382", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "100", + "annotation" : [ ] + }, + "high" : { + "type" : "Literal", + "localId" : "1383", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "200", + "annotation" : [ ] + } + }, { + "type" : "Interval", + "localId" : "1389", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1391", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1392", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "low" : { + "type" : "Literal", + "localId" : "1387", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "high" : { + "type" : "As", + "localId" : "1390", + "asType" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Null", + "localId" : "1388", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } + } + } ] + } + }, { + "localId" : "1400", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "UnknownEndMeetsAfterIntIvl", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "1400", + "s" : [ { + "value" : [ "", "define ", "UnknownEndMeetsAfterIntIvl", ": " ] + }, { + "r" : "1412", + "s" : [ { + "r" : "1403", + "s" : [ { + "r" : "1401", + "value" : [ "Interval[", "100", ", ", "null", ")" ] + } ] + }, { + "r" : "1412", + "value" : [ " ", "meets before", " " ] + }, { + "r" : "1409", + "s" : [ { + "r" : "1407", + "value" : [ "Interval[", "0", ", ", "99", "]" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "MeetsBefore", + "localId" : "1412", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "1413", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1414", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "1415", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1416", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "Interval", + "localId" : "1403", + "lowClosed" : true, + "highClosed" : false, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1405", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1406", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "low" : { + "type" : "Literal", + "localId" : "1401", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "100", + "annotation" : [ ] + }, + "high" : { + "type" : "As", + "localId" : "1404", + "asType" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Null", + "localId" : "1402", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } + } + }, { + "type" : "Interval", + "localId" : "1409", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1410", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1411", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "low" : { + "type" : "Literal", + "localId" : "1407", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "high" : { + "type" : "Literal", + "localId" : "1408", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "99", + "annotation" : [ ] + } + } ] + } + }, { + "localId" : "1419", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "UnknownEndMayMeetBeforeIntIvl", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "1419", + "s" : [ { + "value" : [ "", "define ", "UnknownEndMayMeetBeforeIntIvl", ": " ] + }, { + "r" : "1431", + "s" : [ { + "r" : "1422", + "s" : [ { + "r" : "1420", + "value" : [ "Interval[", "0", ", ", "null", ")" ] + } ] + }, { + "r" : "1431", + "value" : [ " ", "meets before", " " ] + }, { + "r" : "1428", + "s" : [ { + "r" : "1426", + "value" : [ "Interval[", "50", ", ", "100", "]" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "MeetsBefore", + "localId" : "1431", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "1432", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1433", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "1434", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1435", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "Interval", + "localId" : "1422", + "lowClosed" : true, + "highClosed" : false, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1424", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1425", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "low" : { + "type" : "Literal", + "localId" : "1420", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "high" : { + "type" : "As", + "localId" : "1423", + "asType" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Null", + "localId" : "1421", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } + } + }, { + "type" : "Interval", + "localId" : "1428", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1429", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1430", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "low" : { + "type" : "Literal", + "localId" : "1426", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "50", + "annotation" : [ ] + }, + "high" : { + "type" : "Literal", + "localId" : "1427", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "100", + "annotation" : [ ] + } + } ] + } + }, { + "localId" : "1438", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "UnknownEndNotMeetsIntIvl", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "1438", + "s" : [ { + "value" : [ "", "define ", "UnknownEndNotMeetsIntIvl", ": " ] + }, { + "r" : "1450", + "s" : [ { + "r" : "1441", + "s" : [ { + "r" : "1439", + "value" : [ "Interval[", "0", ", ", "null", ")" ] + } ] + }, { + "r" : "1450", + "value" : [ " ", "meets before", " " ] + }, { + "r" : "1447", + "s" : [ { + "r" : "1445", + "value" : [ "Interval[", "0", ", ", "100", "]" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "MeetsBefore", + "localId" : "1450", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "1451", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1452", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "1453", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1454", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "Interval", + "localId" : "1441", + "lowClosed" : true, + "highClosed" : false, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1443", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1444", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "low" : { + "type" : "Literal", + "localId" : "1439", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "high" : { + "type" : "As", + "localId" : "1442", + "asType" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Null", + "localId" : "1440", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } + } + }, { + "type" : "Interval", + "localId" : "1447", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1448", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1449", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "low" : { + "type" : "Literal", + "localId" : "1445", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "high" : { + "type" : "Literal", + "localId" : "1446", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "100", + "annotation" : [ ] + } + } ] + } + }, { + "localId" : "1457", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "IntIvlMayMeetAfterUnknownEnd", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "1457", + "s" : [ { + "value" : [ "", "define ", "IntIvlMayMeetAfterUnknownEnd", ": " ] + }, { + "r" : "1471", + "s" : [ { + "r" : "1460", + "s" : [ { + "r" : "1458", + "value" : [ "Interval[", "0", ", ", "100", "]" ] + } ] + }, { + "r" : "1471", + "value" : [ " ", "meets before", " " ] + }, { + "r" : "1467", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "1463", + "s" : [ { + "r" : "1464", + "value" : [ "-", "100" ] + } ] + }, { + "r" : "1466", + "value" : [ ", ", "null", ")" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "MeetsBefore", + "localId" : "1471", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "1472", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1473", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "1474", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1475", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "Interval", + "localId" : "1460", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1461", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1462", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "low" : { + "type" : "Literal", + "localId" : "1458", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "high" : { + "type" : "Literal", + "localId" : "1459", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "100", + "annotation" : [ ] + } + }, { + "type" : "Interval", + "localId" : "1467", + "lowClosed" : true, + "highClosed" : false, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1469", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1470", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "low" : { + "type" : "Negate", + "localId" : "1463", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1465", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "operand" : { + "type" : "Literal", + "localId" : "1464", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "100", + "annotation" : [ ] + } + }, + "high" : { + "type" : "As", + "localId" : "1468", + "asType" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Null", + "localId" : "1466", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } + } + } ] + } + }, { + "localId" : "1478", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "NegInfBegMeetsBeforeDateIvl", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "1478", + "s" : [ { + "value" : [ "", "define ", "NegInfBegMeetsBeforeDateIvl", ": " ] + }, { + "r" : "1559", + "s" : [ { + "r" : "1504", + "s" : [ { + "r" : "1479", + "value" : [ "Interval[", "null", ", " ] + }, { + "r" : "1496", + "s" : [ { + "r" : "1480", + "value" : [ "DateTime", "(", "2013", ", ", "1", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ ")" ] + } ] + }, { + "r" : "1559", + "value" : [ " ", "meets before", " " ] + }, { + "r" : "1556", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "1524", "s" : [ { - "value" : [ "","define ","IntegerIntervalEndsStartsFalse",": " ] - }, { - "r" : "286", - "s" : [ { - "r" : "278", - "s" : [ { - "r" : "276", - "value" : [ "Interval[","0",", ","10","]" ] - } ] - }, { - "r" : "286", - "value" : [ " ","ends"," " ] - }, { - "r" : "283", - "s" : [ { - "r" : "281", - "value" : [ "Interval[","1",",","10","]" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "286", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "Ends", - "signature" : [ { - "localId" : "287", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "288", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "289", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "290", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "278", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "279", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "280", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "276", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "high" : { - "localId" : "277", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal" - } - }, { - "localId" : "283", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "284", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "285", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "281", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "high" : { - "localId" : "282", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal" - } - } ] - } - }, { - "localId" : "293", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "DecimalIntervalEndsTrue", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "293", + "r" : "1508", + "value" : [ "DateTime", "(", "2013", ", ", "1", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "1548", "s" : [ { - "value" : [ "","define ","DecimalIntervalEndsTrue",": " ] - }, { - "r" : "304", - "s" : [ { - "r" : "296", - "s" : [ { - "r" : "294", - "value" : [ "Interval[","4.0",",","10.0","]" ] - } ] - }, { - "r" : "304", - "value" : [ " ","ends"," " ] - }, { - "r" : "301", - "s" : [ { - "r" : "299", - "value" : [ "Interval[","1.0",",","10.0","]" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "304", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "Ends", - "signature" : [ { - "localId" : "305", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "306", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "307", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "308", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "296", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "297", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "298", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "294", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "4.0", - "type" : "Literal" - }, - "high" : { - "localId" : "295", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "10.0", - "type" : "Literal" - } - }, { - "localId" : "301", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "302", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "303", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "299", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "1.0", - "type" : "Literal" - }, - "high" : { - "localId" : "300", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "10.0", - "type" : "Literal" - } - } ] - } - }, { - "localId" : "311", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "DecimalIntervalEndsFalse", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "311", + "r" : "1532", + "value" : [ "DateTime", "(", "2030", ", ", "1", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ "]" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "MeetsBefore", + "localId" : "1559", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "1560", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1561", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "1562", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1563", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "Interval", + "localId" : "1504", + "lowClosed" : true, + "highClosed" : false, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1506", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1507", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "As", + "localId" : "1505", + "asType" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Null", + "localId" : "1479", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "1496", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1497", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1498", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1499", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1500", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1501", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1502", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1503", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1480", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2013", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1481", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "1482", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "1483", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "1484", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "1485", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "1486", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + } + }, { + "type" : "Interval", + "localId" : "1556", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1557", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1558", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "DateTime", + "localId" : "1524", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1525", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1526", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1527", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1528", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1529", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1530", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1531", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1508", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2013", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1509", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "1510", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "1511", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "1512", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "1513", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "1514", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "1548", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1549", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1550", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1551", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1552", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1553", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1554", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1555", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1532", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2030", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1533", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "1534", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "1535", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "1536", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "1537", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "1538", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + } + } ] + } + }, { + "localId" : "1566", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "NegInfBegNotMeetsDateIvl", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "1566", + "s" : [ { + "value" : [ "", "define ", "NegInfBegNotMeetsDateIvl", ": " ] + }, { + "r" : "1647", + "s" : [ { + "r" : "1592", + "s" : [ { + "r" : "1567", + "value" : [ "Interval[", "null", ", " ] + }, { + "r" : "1584", + "s" : [ { + "r" : "1568", + "value" : [ "DateTime", "(", "2013", ", ", "1", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ ")" ] + } ] + }, { + "r" : "1647", + "value" : [ " ", "meets before", " " ] + }, { + "r" : "1644", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "1612", + "s" : [ { + "r" : "1596", + "value" : [ "DateTime", "(", "2000", ", ", "1", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "1636", + "s" : [ { + "r" : "1620", + "value" : [ "DateTime", "(", "2010", ", ", "1", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ "]" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "MeetsBefore", + "localId" : "1647", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "1648", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1649", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "1650", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1651", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "Interval", + "localId" : "1592", + "lowClosed" : true, + "highClosed" : false, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1594", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1595", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "As", + "localId" : "1593", + "asType" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Null", + "localId" : "1567", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "1584", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1585", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1586", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1587", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1588", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1589", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1590", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1591", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1568", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2013", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1569", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "1570", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "1571", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "1572", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "1573", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "1574", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + } + }, { + "type" : "Interval", + "localId" : "1644", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1645", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1646", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "DateTime", + "localId" : "1612", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1613", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1614", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1615", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1616", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1617", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1618", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1619", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1596", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1597", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "1598", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "1599", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "1600", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "1601", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "1602", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "1636", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1637", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1638", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1639", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1640", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1641", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1642", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1643", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1620", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2010", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1621", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "1622", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "1623", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "1624", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "1625", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "1626", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + } + } ] + } + }, { + "localId" : "1654", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "DateIvlNotMeetsNegInfBeg", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "1654", + "s" : [ { + "value" : [ "", "define ", "DateIvlNotMeetsNegInfBeg", ": " ] + }, { + "r" : "1735", + "s" : [ { + "r" : "1703", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "1671", + "s" : [ { + "r" : "1655", + "value" : [ "DateTime", "(", "2000", ", ", "1", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "1695", + "s" : [ { + "r" : "1679", + "value" : [ "DateTime", "(", "2010", ", ", "1", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ "]" ] + } ] + }, { + "r" : "1735", + "value" : [ " ", "meets before", " " ] + }, { + "r" : "1731", + "s" : [ { + "r" : "1706", + "value" : [ "Interval[", "null", ", " ] + }, { + "r" : "1723", + "s" : [ { + "r" : "1707", + "value" : [ "DateTime", "(", "2013", ", ", "1", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "MeetsBefore", + "localId" : "1735", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "1736", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1737", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "1738", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1739", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "Interval", + "localId" : "1703", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1704", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1705", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "DateTime", + "localId" : "1671", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1672", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1673", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1674", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1675", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1676", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1677", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1678", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1655", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1656", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "1657", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "1658", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "1659", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "1660", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "1661", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "1695", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1696", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1697", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1698", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1699", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1700", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1701", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1702", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1679", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2010", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1680", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "1681", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "1682", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "1683", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "1684", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "1685", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + } + }, { + "type" : "Interval", + "localId" : "1731", + "lowClosed" : true, + "highClosed" : false, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1733", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1734", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "As", + "localId" : "1732", + "asType" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Null", + "localId" : "1706", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "1723", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1724", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1725", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1726", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1727", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1728", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1729", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1730", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1707", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2013", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1708", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "1709", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "1710", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "1711", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "1712", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "1713", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + } + } ] + } + }, { + "localId" : "1742", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "UnknownBegMeetsBeforeDateIvl", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "1742", + "s" : [ { + "value" : [ "", "define ", "UnknownBegMeetsBeforeDateIvl", ": " ] + }, { + "r" : "1823", + "s" : [ { + "r" : "1768", + "s" : [ { + "r" : "1743", + "value" : [ "Interval(", "null", ", " ] + }, { + "r" : "1760", "s" : [ { - "value" : [ "","define ","DecimalIntervalEndsFalse",": " ] - }, { - "r" : "322", - "s" : [ { - "r" : "314", - "s" : [ { - "r" : "312", - "value" : [ "Interval[","11.0",", ","20.0","]" ] - } ] - }, { - "r" : "322", - "value" : [ " ","ends"," " ] - }, { - "r" : "319", - "s" : [ { - "r" : "317", - "value" : [ "Interval[","1.0",",","10.0","]" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "322", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "Ends", - "signature" : [ { - "localId" : "323", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "324", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "325", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "326", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "314", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "315", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "316", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "312", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "11.0", - "type" : "Literal" - }, - "high" : { - "localId" : "313", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "20.0", - "type" : "Literal" - } - }, { - "localId" : "319", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "320", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "321", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "317", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "1.0", - "type" : "Literal" - }, - "high" : { - "localId" : "318", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "10.0", - "type" : "Literal" - } - } ] - } - }, { - "localId" : "329", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "DecimalIntervalEndsStartsFalse", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "329", + "r" : "1744", + "value" : [ "DateTime", "(", "2013", ", ", "1", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ ")" ] + } ] + }, { + "r" : "1823", + "value" : [ " ", "meets before", " " ] + }, { + "r" : "1820", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "1788", "s" : [ { - "value" : [ "","define ","DecimalIntervalEndsStartsFalse",": " ] - }, { - "r" : "340", - "s" : [ { - "r" : "332", - "s" : [ { - "r" : "330", - "value" : [ "Interval[","0.0",", ","10.0","]" ] - } ] - }, { - "r" : "340", - "value" : [ " ","ends"," " ] - }, { - "r" : "337", - "s" : [ { - "r" : "335", - "value" : [ "Interval[","1.0",", ","10.0","]" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "340", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "Ends", - "signature" : [ { - "localId" : "341", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "342", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "343", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "344", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "332", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "333", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "334", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "330", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "0.0", - "type" : "Literal" - }, - "high" : { - "localId" : "331", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "10.0", - "type" : "Literal" - } - }, { - "localId" : "337", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "338", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "339", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "335", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "1.0", - "type" : "Literal" - }, - "high" : { - "localId" : "336", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "10.0", - "type" : "Literal" - } - } ] - } - }, { - "localId" : "347", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "QuantityIntervalEndsTrue", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "347", + "r" : "1772", + "value" : [ "DateTime", "(", "2013", ", ", "1", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "1812", "s" : [ { - "value" : [ "","define ","QuantityIntervalEndsTrue",": " ] - }, { - "r" : "358", - "s" : [ { - "r" : "350", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "348", - "s" : [ { - "value" : [ "5.0 ","'g'" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "349", - "s" : [ { - "value" : [ "10.0 ","'g'" ] - } ] - }, { - "value" : [ "]" ] - } ] - }, { - "r" : "358", - "value" : [ " ","ends"," " ] - }, { - "r" : "355", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "353", - "s" : [ { - "value" : [ "1.0 ","'g'" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "354", - "s" : [ { - "value" : [ "10.0 ","'g'" ] - } ] - }, { - "value" : [ "]" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "358", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "Ends", - "signature" : [ { - "localId" : "359", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "360", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "361", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "362", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "350", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "351", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "352", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "348", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "value" : 5.0, - "unit" : "g", - "type" : "Quantity" - }, - "high" : { - "localId" : "349", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "value" : 10.0, - "unit" : "g", - "type" : "Quantity" - } - }, { - "localId" : "355", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "356", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "357", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "353", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "value" : 1.0, - "unit" : "g", - "type" : "Quantity" - }, - "high" : { - "localId" : "354", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "value" : 10.0, - "unit" : "g", - "type" : "Quantity" - } - } ] - } - }, { - "localId" : "365", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "QuantityIntervalEndsFalse", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "365", + "r" : "1796", + "value" : [ "DateTime", "(", "2030", ", ", "1", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ "]" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "MeetsBefore", + "localId" : "1823", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "1824", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1825", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "1826", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1827", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "Interval", + "localId" : "1768", + "lowClosed" : false, + "highClosed" : false, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1770", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1771", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "As", + "localId" : "1769", + "asType" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Null", + "localId" : "1743", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "1760", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1761", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1762", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1763", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1764", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1765", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1766", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1767", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1744", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2013", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1745", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "1746", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "1747", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "1748", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "1749", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "1750", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + } + }, { + "type" : "Interval", + "localId" : "1820", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1821", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1822", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "DateTime", + "localId" : "1788", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1789", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1790", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1791", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1792", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1793", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1794", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1795", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1772", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2013", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1773", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "1774", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "1775", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "1776", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "1777", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "1778", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "1812", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1813", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1814", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1815", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1816", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1817", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1818", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1819", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1796", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2030", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1797", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "1798", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "1799", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "1800", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "1801", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "1802", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + } + } ] + } + }, { + "localId" : "1830", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "UnknownBegMayMeetAfterDateIvl", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "1830", + "s" : [ { + "value" : [ "", "define ", "UnknownBegMayMeetAfterDateIvl", ": " ] + }, { + "r" : "1911", + "s" : [ { + "r" : "1856", + "s" : [ { + "r" : "1831", + "value" : [ "Interval(", "null", ", " ] + }, { + "r" : "1848", + "s" : [ { + "r" : "1832", + "value" : [ "DateTime", "(", "2013", ", ", "1", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ ")" ] + } ] + }, { + "r" : "1911", + "value" : [ " ", "meets before", " " ] + }, { + "r" : "1908", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "1876", + "s" : [ { + "r" : "1860", + "value" : [ "DateTime", "(", "2000", ", ", "1", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "1900", + "s" : [ { + "r" : "1884", + "value" : [ "DateTime", "(", "2010", ", ", "1", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ "]" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "MeetsBefore", + "localId" : "1911", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "1912", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1913", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "1914", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1915", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "Interval", + "localId" : "1856", + "lowClosed" : false, + "highClosed" : false, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1858", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1859", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "As", + "localId" : "1857", + "asType" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Null", + "localId" : "1831", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "1848", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1849", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1850", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1851", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1852", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1853", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1854", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1855", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1832", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2013", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1833", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "1834", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "1835", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "1836", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "1837", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "1838", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + } + }, { + "type" : "Interval", + "localId" : "1908", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1909", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1910", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "DateTime", + "localId" : "1876", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1877", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1878", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1879", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1880", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1881", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1882", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1883", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1860", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1861", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "1862", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "1863", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "1864", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "1865", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "1866", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "1900", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1901", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1902", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1903", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1904", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1905", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1906", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1907", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1884", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2010", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1885", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "1886", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "1887", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "1888", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "1889", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "1890", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + } + } ] + } + }, { + "localId" : "1918", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "UnknownBegNotMeetsDateIvl", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "1918", + "s" : [ { + "value" : [ "", "define ", "UnknownBegNotMeetsDateIvl", ": " ] + }, { + "r" : "1999", + "s" : [ { + "r" : "1944", + "s" : [ { + "r" : "1919", + "value" : [ "Interval(", "null", ", " ] + }, { + "r" : "1936", "s" : [ { - "value" : [ "","define ","QuantityIntervalEndsFalse",": " ] - }, { - "r" : "376", - "s" : [ { - "r" : "368", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "366", - "s" : [ { - "value" : [ "5.0 ","'g'" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "367", - "s" : [ { - "value" : [ "10.0 ","'g'" ] - } ] - }, { - "value" : [ "]" ] - } ] - }, { - "r" : "376", - "value" : [ " ","ends"," " ] - }, { - "r" : "373", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "371", - "s" : [ { - "value" : [ "1.0 ","'g'" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "372", - "s" : [ { - "value" : [ "10.5 ","'g'" ] - } ] - }, { - "value" : [ "]" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "376", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "Ends", - "signature" : [ { - "localId" : "377", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "378", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "379", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "380", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "368", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "369", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "370", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "366", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "value" : 5.0, - "unit" : "g", - "type" : "Quantity" - }, - "high" : { - "localId" : "367", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "value" : 10.0, - "unit" : "g", - "type" : "Quantity" - } - }, { - "localId" : "373", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "374", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "375", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "371", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "value" : 1.0, - "unit" : "g", - "type" : "Quantity" - }, - "high" : { - "localId" : "372", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "value" : 10.5, - "unit" : "g", - "type" : "Quantity" - } - } ] - } - }, { - "localId" : "383", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "QuantityIntervalEndsStartsFalse", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "383", + "r" : "1920", + "value" : [ "DateTime", "(", "2013", ", ", "1", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ ")" ] + } ] + }, { + "r" : "1999", + "value" : [ " ", "meets before", " " ] + }, { + "r" : "1996", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "1964", + "s" : [ { + "r" : "1948", + "value" : [ "DateTime", "(", "2000", ", ", "1", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "1988", + "s" : [ { + "r" : "1972", + "value" : [ "DateTime", "(", "2020", ", ", "1", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ "]" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "MeetsBefore", + "localId" : "1999", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "2000", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "2001", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "2002", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "2003", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "Interval", + "localId" : "1944", + "lowClosed" : false, + "highClosed" : false, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1946", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1947", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "As", + "localId" : "1945", + "asType" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Null", + "localId" : "1919", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "1936", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1937", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1938", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1939", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1940", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1941", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1942", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1943", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1920", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2013", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1921", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "1922", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "1923", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "1924", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "1925", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "1926", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + } + }, { + "type" : "Interval", + "localId" : "1996", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1997", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1998", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "DateTime", + "localId" : "1964", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1965", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1966", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1967", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1968", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1969", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1970", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1971", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1948", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1949", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "1950", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "1951", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "1952", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "1953", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "1954", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "1988", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1989", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1990", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1991", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1992", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1993", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1994", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1995", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1972", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2020", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1973", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "1974", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "1975", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "1976", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "1977", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "1978", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + } + } ] + } + }, { + "localId" : "2006", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "DateIvlMayMeetBeforeUnknownBeg", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "2006", + "s" : [ { + "value" : [ "", "define ", "DateIvlMayMeetBeforeUnknownBeg", ": " ] + }, { + "r" : "2087", + "s" : [ { + "r" : "2055", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "2023", + "s" : [ { + "r" : "2007", + "value" : [ "DateTime", "(", "2000", ", ", "1", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "2047", + "s" : [ { + "r" : "2031", + "value" : [ "DateTime", "(", "2010", ", ", "1", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ "]" ] + } ] + }, { + "r" : "2087", + "value" : [ " ", "meets before", " " ] + }, { + "r" : "2083", + "s" : [ { + "r" : "2058", + "value" : [ "Interval(", "null", ", " ] + }, { + "r" : "2075", "s" : [ { - "value" : [ "","define ","QuantityIntervalEndsStartsFalse",": " ] - }, { - "r" : "394", - "s" : [ { - "r" : "386", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "384", - "s" : [ { - "value" : [ "4.0 ","'g'" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "385", - "s" : [ { - "value" : [ "10.0 ","'g'" ] - } ] - }, { - "value" : [ "]" ] - } ] - }, { - "r" : "394", - "value" : [ " ","ends"," " ] - }, { - "r" : "391", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "389", - "s" : [ { - "value" : [ "5.0 ","'g'" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "390", - "s" : [ { - "value" : [ "10.0 ","'g'" ] - } ] - }, { - "value" : [ "]" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "394", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "Ends", - "signature" : [ { - "localId" : "395", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "396", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "397", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "398", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "386", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "387", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "388", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "384", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "value" : 4.0, - "unit" : "g", - "type" : "Quantity" - }, - "high" : { - "localId" : "385", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "value" : 10.0, - "unit" : "g", - "type" : "Quantity" - } - }, { - "localId" : "391", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "392", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "393", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "389", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "value" : 5.0, - "unit" : "g", - "type" : "Quantity" - }, - "high" : { - "localId" : "390", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "value" : 10.0, - "unit" : "g", - "type" : "Quantity" - } - } ] - } - }, { - "localId" : "401", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "DateTimeIntervalEndsTrue", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "401", + "r" : "2059", + "value" : [ "DateTime", "(", "2013", ", ", "1", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "MeetsBefore", + "localId" : "2087", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "2088", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "2089", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "2090", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "2091", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "Interval", + "localId" : "2055", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "2056", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "2057", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "DateTime", + "localId" : "2023", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "2024", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2025", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2026", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2027", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2028", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2029", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2030", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "2007", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "2008", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "2009", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "2010", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "2011", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "2012", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "2013", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "2047", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "2048", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2049", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2050", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2051", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2052", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2053", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2054", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "2031", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2010", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "2032", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "2033", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "2034", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "2035", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "2036", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "2037", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + } + }, { + "type" : "Interval", + "localId" : "2083", + "lowClosed" : false, + "highClosed" : false, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "2085", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "2086", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "As", + "localId" : "2084", + "asType" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Null", + "localId" : "2058", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "2075", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "2076", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2077", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2078", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2079", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2080", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2081", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2082", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "2059", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2013", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "2060", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "2061", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "2062", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "2063", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "2064", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "2065", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + } + } ] + } + }, { + "localId" : "2094", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "PosInfEndMeetsAfterDateIvl", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "2094", + "s" : [ { + "value" : [ "", "define ", "PosInfEndMeetsAfterDateIvl", ": " ] + }, { + "r" : "2175", + "s" : [ { + "r" : "2120", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "2111", + "s" : [ { + "r" : "2095", + "value" : [ "DateTime", "(", "2013", ", ", "1", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "r" : "2119", + "value" : [ ", ", "null", "]" ] + } ] + }, { + "r" : "2175", + "value" : [ " ", "meets before", " " ] + }, { + "r" : "2172", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "2140", + "s" : [ { + "r" : "2124", + "value" : [ "DateTime", "(", "2000", ", ", "1", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "2164", + "s" : [ { + "r" : "2148", + "value" : [ "DateTime", "(", "2013", ", ", "1", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "MeetsBefore", + "localId" : "2175", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "2176", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "2177", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "2178", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "2179", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "Interval", + "localId" : "2120", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "2122", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "2123", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "DateTime", + "localId" : "2111", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "2112", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2113", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2114", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2115", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2116", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2117", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2118", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "2095", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2013", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "2096", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "2097", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "2098", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "2099", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "2100", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "2101", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + }, + "high" : { + "type" : "As", + "localId" : "2121", + "asType" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Null", + "localId" : "2119", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } + } + }, { + "type" : "Interval", + "localId" : "2172", + "lowClosed" : true, + "highClosed" : false, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "2173", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "2174", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "DateTime", + "localId" : "2140", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "2141", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2142", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2143", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2144", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2145", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2146", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2147", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "2124", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "2125", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "2126", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "2127", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "2128", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "2129", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "2130", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "2164", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "2165", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2166", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2167", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2168", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2169", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2170", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2171", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "2148", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2013", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "2149", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "2150", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "2151", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "2152", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "2153", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "2154", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + } + } ] + } + }, { + "localId" : "2182", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "PosInfEndNotMeetsDateIvl", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "2182", + "s" : [ { + "value" : [ "", "define ", "PosInfEndNotMeetsDateIvl", ": " ] + }, { + "r" : "2263", + "s" : [ { + "r" : "2208", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "2199", + "s" : [ { + "r" : "2183", + "value" : [ "DateTime", "(", "2013", ", ", "1", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "r" : "2207", + "value" : [ ", ", "null", "]" ] + } ] + }, { + "r" : "2263", + "value" : [ " ", "meets before", " " ] + }, { + "r" : "2260", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "2228", + "s" : [ { + "r" : "2212", + "value" : [ "DateTime", "(", "2000", ", ", "1", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "2252", + "s" : [ { + "r" : "2236", + "value" : [ "DateTime", "(", "2020", ", ", "1", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ "]" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "MeetsBefore", + "localId" : "2263", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "2264", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "2265", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "2266", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "2267", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "Interval", + "localId" : "2208", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "2210", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "2211", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "DateTime", + "localId" : "2199", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "2200", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2201", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2202", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2203", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2204", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2205", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2206", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "2183", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2013", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "2184", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "2185", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "2186", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "2187", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "2188", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "2189", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + }, + "high" : { + "type" : "As", + "localId" : "2209", + "asType" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Null", + "localId" : "2207", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } + } + }, { + "type" : "Interval", + "localId" : "2260", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "2261", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "2262", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "DateTime", + "localId" : "2228", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "2229", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2230", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2231", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2232", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2233", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2234", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2235", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "2212", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "2213", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "2214", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "2215", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "2216", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "2217", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "2218", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "2252", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "2253", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2254", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2255", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2256", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2257", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2258", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2259", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "2236", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2020", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "2237", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "2238", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "2239", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "2240", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "2241", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "2242", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + } + } ] + } + }, { + "localId" : "2270", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "DateIvlNotMeetsPosInfEnd", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "2270", + "s" : [ { + "value" : [ "", "define ", "DateIvlNotMeetsPosInfEnd", ": " ] + }, { + "r" : "2351", + "s" : [ { + "r" : "2319", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "2287", + "s" : [ { + "r" : "2271", + "value" : [ "DateTime", "(", "2000", ", ", "1", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "2311", + "s" : [ { + "r" : "2295", + "value" : [ "DateTime", "(", "2020", ", ", "1", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ "]" ] + } ] + }, { + "r" : "2351", + "value" : [ " ", "meets before", " " ] + }, { + "r" : "2347", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "2338", + "s" : [ { + "r" : "2322", + "value" : [ "DateTime", "(", "2013", ", ", "1", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "r" : "2346", + "value" : [ ", ", "null", "]" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "MeetsBefore", + "localId" : "2351", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "2352", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "2353", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "2354", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "2355", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "Interval", + "localId" : "2319", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "2320", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "2321", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "DateTime", + "localId" : "2287", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "2288", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2289", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2290", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2291", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2292", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2293", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2294", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "2271", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "2272", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "2273", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "2274", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "2275", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "2276", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "2277", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "2311", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "2312", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2313", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2314", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2315", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2316", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2317", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2318", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "2295", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2020", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "2296", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "2297", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "2298", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "2299", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "2300", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "2301", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + } + }, { + "type" : "Interval", + "localId" : "2347", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "2349", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "2350", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "DateTime", + "localId" : "2338", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "2339", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2340", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2341", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2342", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2343", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2344", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2345", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "2322", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2013", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "2323", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "2324", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "2325", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "2326", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "2327", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "2328", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + }, + "high" : { + "type" : "As", + "localId" : "2348", + "asType" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Null", + "localId" : "2346", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } + } + } ] + } + }, { + "localId" : "2358", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "UnknownEndMeetsAfterDateIvl", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "2358", + "s" : [ { + "value" : [ "", "define ", "UnknownEndMeetsAfterDateIvl", ": " ] + }, { + "r" : "2439", + "s" : [ { + "r" : "2384", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "2375", + "s" : [ { + "r" : "2359", + "value" : [ "DateTime", "(", "2013", ", ", "1", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "r" : "2383", + "value" : [ ", ", "null", ")" ] + } ] + }, { + "r" : "2439", + "value" : [ " ", "meets before", " " ] + }, { + "r" : "2436", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "2404", + "s" : [ { + "r" : "2388", + "value" : [ "DateTime", "(", "2010", ", ", "1", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "2428", + "s" : [ { + "r" : "2412", + "value" : [ "DateTime", "(", "2013", ", ", "1", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "MeetsBefore", + "localId" : "2439", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "2440", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "2441", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "2442", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "2443", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "Interval", + "localId" : "2384", + "lowClosed" : true, + "highClosed" : false, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "2386", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "2387", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "DateTime", + "localId" : "2375", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "2376", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2377", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2378", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2379", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2380", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2381", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2382", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "2359", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2013", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "2360", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "2361", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "2362", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "2363", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "2364", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "2365", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + }, + "high" : { + "type" : "As", + "localId" : "2385", + "asType" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Null", + "localId" : "2383", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } + } + }, { + "type" : "Interval", + "localId" : "2436", + "lowClosed" : true, + "highClosed" : false, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "2437", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "2438", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "DateTime", + "localId" : "2404", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "2405", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2406", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2407", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2408", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2409", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2410", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2411", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "2388", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2010", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "2389", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "2390", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "2391", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "2392", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "2393", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "2394", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "2428", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "2429", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2430", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2431", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2432", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2433", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2434", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2435", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "2412", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2013", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "2413", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "2414", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "2415", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "2416", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "2417", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "2418", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + } + } ] + } + }, { + "localId" : "2446", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "UnknownEndMayMeetBeforeDateIvl", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "2446", + "s" : [ { + "value" : [ "", "define ", "UnknownEndMayMeetBeforeDateIvl", ": " ] + }, { + "r" : "2527", + "s" : [ { + "r" : "2472", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "2463", + "s" : [ { + "r" : "2447", + "value" : [ "DateTime", "(", "2013", ", ", "1", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "r" : "2471", + "value" : [ ", ", "null", ")" ] + } ] + }, { + "r" : "2527", + "value" : [ " ", "meets before", " " ] + }, { + "r" : "2524", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "2492", + "s" : [ { + "r" : "2476", + "value" : [ "DateTime", "(", "2020", ", ", "1", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "2516", + "s" : [ { + "r" : "2500", + "value" : [ "DateTime", "(", "2040", ", ", "1", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ "]" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "MeetsBefore", + "localId" : "2527", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "2528", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "2529", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "2530", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "2531", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "Interval", + "localId" : "2472", + "lowClosed" : true, + "highClosed" : false, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "2474", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "2475", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "DateTime", + "localId" : "2463", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "2464", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2465", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2466", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2467", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2468", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2469", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2470", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "2447", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2013", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "2448", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "2449", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "2450", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "2451", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "2452", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "2453", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + }, + "high" : { + "type" : "As", + "localId" : "2473", + "asType" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Null", + "localId" : "2471", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } + } + }, { + "type" : "Interval", + "localId" : "2524", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "2525", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "2526", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "DateTime", + "localId" : "2492", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "2493", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2494", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2495", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2496", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2497", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2498", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2499", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "2476", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2020", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "2477", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "2478", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "2479", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "2480", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "2481", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "2482", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "2516", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "2517", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2518", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2519", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2520", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2521", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2522", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2523", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "2500", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2040", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "2501", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "2502", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "2503", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "2504", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "2505", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "2506", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + } + } ] + } + }, { + "localId" : "2534", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "UnknownEndNotMeetsDateIvl", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "2534", + "s" : [ { + "value" : [ "", "define ", "UnknownEndNotMeetsDateIvl", ": " ] + }, { + "r" : "2615", + "s" : [ { + "r" : "2560", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "2551", "s" : [ { - "value" : [ "","define ","DateTimeIntervalEndsTrue",": " ] - }, { - "r" : "504", - "s" : [ { - "r" : "450", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "418", - "s" : [ { - "r" : "402", - "value" : [ "DateTime","(","2012",", ","1",", ","5",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "442", - "s" : [ { - "r" : "426", - "value" : [ "DateTime","(","2012",", ","1",", ","15",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ "]" ] - } ] - }, { - "r" : "504", - "value" : [ " ","ends"," " ] - }, { - "r" : "501", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "469", - "s" : [ { - "r" : "453", - "value" : [ "DateTime","(","2012",", ","1",", ","1",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "493", - "s" : [ { - "r" : "477", - "value" : [ "DateTime","(","2012",", ","1",", ","15",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ "]" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "504", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "Ends", - "signature" : [ { - "localId" : "505", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "506", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "507", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "508", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "450", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "451", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "452", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "418", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "419", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "420", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "421", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "422", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "423", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "424", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "425", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "402", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "403", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "404", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal" - }, - "hour" : { - "localId" : "405", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "406", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "407", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "408", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - }, - "high" : { - "localId" : "442", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "443", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "444", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "445", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "446", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "447", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "448", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "449", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "426", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "427", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "428", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal" - }, - "hour" : { - "localId" : "429", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "430", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "431", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "432", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - } - }, { - "localId" : "501", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "502", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "503", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "469", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "470", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "471", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "472", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "473", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "474", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "475", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "476", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "453", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "454", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "455", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "456", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "457", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "458", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "459", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - }, - "high" : { - "localId" : "493", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "494", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "495", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "496", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "497", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "498", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "499", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "500", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "477", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "478", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "479", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal" - }, - "hour" : { - "localId" : "480", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "481", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "482", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "483", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - } - } ] - } - }, { - "localId" : "511", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "DateTimeIntervalEndsFalse", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "511", + "r" : "2535", + "value" : [ "DateTime", "(", "2013", ", ", "1", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "r" : "2559", + "value" : [ ", ", "null", ")" ] + } ] + }, { + "r" : "2615", + "value" : [ " ", "meets before", " " ] + }, { + "r" : "2612", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "2580", + "s" : [ { + "r" : "2564", + "value" : [ "DateTime", "(", "2000", ", ", "1", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "2604", + "s" : [ { + "r" : "2588", + "value" : [ "DateTime", "(", "2013", ", ", "1", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ "]" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "MeetsBefore", + "localId" : "2615", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "2616", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "2617", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "2618", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "2619", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "Interval", + "localId" : "2560", + "lowClosed" : true, + "highClosed" : false, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "2562", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "2563", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "DateTime", + "localId" : "2551", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "2552", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2553", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2554", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2555", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2556", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2557", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2558", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "2535", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2013", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "2536", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "2537", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "2538", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "2539", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "2540", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "2541", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + }, + "high" : { + "type" : "As", + "localId" : "2561", + "asType" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Null", + "localId" : "2559", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } + } + }, { + "type" : "Interval", + "localId" : "2612", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "2613", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "2614", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "DateTime", + "localId" : "2580", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "2581", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2582", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2583", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2584", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2585", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2586", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2587", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "2564", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "2565", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "2566", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "2567", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "2568", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "2569", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "2570", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "2604", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "2605", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2606", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2607", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2608", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2609", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2610", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2611", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "2588", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2013", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "2589", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "2590", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "2591", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "2592", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "2593", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "2594", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + } + } ] + } + }, { + "localId" : "2622", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "DateIvlMayMeetAfterUnknownEnd", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "2622", + "s" : [ { + "value" : [ "", "define ", "DateIvlMayMeetAfterUnknownEnd", ": " ] + }, { + "r" : "2703", + "s" : [ { + "r" : "2671", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "2639", + "s" : [ { + "r" : "2623", + "value" : [ "DateTime", "(", "2020", ", ", "1", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "2663", + "s" : [ { + "r" : "2647", + "value" : [ "DateTime", "(", "2040", ", ", "1", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ "]" ] + } ] + }, { + "r" : "2703", + "value" : [ " ", "meets before", " " ] + }, { + "r" : "2699", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "2690", + "s" : [ { + "r" : "2674", + "value" : [ "DateTime", "(", "2013", ", ", "1", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "r" : "2698", + "value" : [ ", ", "null", ")" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "MeetsBefore", + "localId" : "2703", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "2704", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "2705", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "2706", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "2707", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "Interval", + "localId" : "2671", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "2672", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "2673", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "DateTime", + "localId" : "2639", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "2640", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2641", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2642", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2643", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2644", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2645", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2646", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "2623", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2020", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "2624", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "2625", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "2626", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "2627", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "2628", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "2629", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "2663", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "2664", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2665", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2666", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2667", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2668", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2669", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2670", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "2647", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2040", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "2648", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "2649", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "2650", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "2651", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "2652", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "2653", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + } + }, { + "type" : "Interval", + "localId" : "2699", + "lowClosed" : true, + "highClosed" : false, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "2701", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "2702", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "DateTime", + "localId" : "2690", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "2691", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2692", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2693", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2694", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2695", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2696", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2697", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "2674", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2013", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "2675", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "2676", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "2677", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "2678", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "2679", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "2680", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + }, + "high" : { + "type" : "As", + "localId" : "2700", + "asType" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Null", + "localId" : "2698", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } + } + } ] + } + } ] + } + } +} + +/* Overlaps +library TestSnippet version '1' +using Simple version '1.0.0' +context Patient +define OverlapsBeforeIntIvl: Interval[1, 5] overlaps Interval[2, 7] +define OverlapsAfterIntIvl: Interval[3, 8] overlaps Interval[1, 6] +define OverlapsBoundaryIntIvl: Interval[1, 5] overlaps Interval[5, 10] +define NoOverlapsIntIvl: Interval[1,5) overlaps Interval[5, 10] +define OverlapsBeforeRealIvl: Interval[1.234, 1.567] overlaps Interval[1.345, 1.678] +define OverlapsAfterRealIvl: Interval[1.345, 1.678] overlaps Interval[1.234, 1.567] +define OverlapsBoundaryRealIvl: Interval[1.0, 1.234] overlaps Interval[1.234, 2.0] +define NoOverlapsRealIvl: Interval[1.0, 1.23456789) overlaps Interval[1.23456789, 2.0] +define OverlapsIsNull: Interval[6, 10] overlaps (null as Interval) +*/ + +module.exports['Overlaps'] = { + "library" : { + "localId" : "0", + "annotation" : [ { + "type" : "CqlToElmInfo", + "translatorVersion" : "4.2.0", + "translatorOptions" : "EnableDateRangeOptimization,EnableAnnotations,EnableResultTypes", + "signatureLevel" : "All" + }, { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "358", + "s" : [ { + "value" : [ "", "library TestSnippet version '1'" ] + } ] + } + } ], + "identifier" : { + "id" : "TestSnippet", + "version" : "1" + }, + "schemaIdentifier" : { + "id" : "urn:hl7-org:elm", + "version" : "r1" + }, + "usings" : { + "def" : [ { + "localId" : "1", + "localIdentifier" : "System", + "uri" : "urn:hl7-org:elm-types:r1", + "annotation" : [ ] + }, { + "localId" : "206", + "localIdentifier" : "Simple", + "uri" : "https://github.com/cqframework/cql-execution/simple", + "version" : "1.0.0", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "206", + "s" : [ { + "value" : [ "", "using " ] + }, { + "s" : [ { + "value" : [ "Simple" ] + } ] + }, { + "value" : [ " version '1.0.0'" ] + } ] + } + } ] + } ] + }, + "contexts" : { + "def" : [ { + "localId" : "211", + "name" : "Patient", + "annotation" : [ ] + } ] + }, + "statements" : { + "def" : [ { + "localId" : "209", + "name" : "Patient", + "context" : "Patient", + "annotation" : [ ], + "expression" : { + "type" : "SingletonFrom", + "localId" : "210", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Retrieve", + "localId" : "208", + "dataType" : "{https://github.com/cqframework/cql-execution/simple}Patient", + "annotation" : [ ], + "include" : [ ], + "codeFilter" : [ ], + "dateFilter" : [ ], + "otherFilter" : [ ] + } + } + }, { + "localId" : "214", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "OverlapsBeforeIntIvl", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "214", + "s" : [ { + "value" : [ "", "define ", "OverlapsBeforeIntIvl", ": " ] + }, { + "r" : "225", + "s" : [ { + "r" : "217", + "s" : [ { + "r" : "215", + "value" : [ "Interval[", "1", ", ", "5", "]" ] + } ] + }, { + "r" : "225", + "value" : [ " ", "overlaps", " " ] + }, { + "r" : "222", + "s" : [ { + "r" : "220", + "value" : [ "Interval[", "2", ", ", "7", "]" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Overlaps", + "localId" : "225", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "226", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "227", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "228", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "229", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "Interval", + "localId" : "217", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "218", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "219", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "low" : { + "type" : "Literal", + "localId" : "215", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "high" : { + "type" : "Literal", + "localId" : "216", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "5", + "annotation" : [ ] + } + }, { + "type" : "Interval", + "localId" : "222", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "223", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "224", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "low" : { + "type" : "Literal", + "localId" : "220", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "annotation" : [ ] + }, + "high" : { + "type" : "Literal", + "localId" : "221", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "7", + "annotation" : [ ] + } + } ] + } + }, { + "localId" : "232", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "OverlapsAfterIntIvl", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "232", + "s" : [ { + "value" : [ "", "define ", "OverlapsAfterIntIvl", ": " ] + }, { + "r" : "243", + "s" : [ { + "r" : "235", + "s" : [ { + "r" : "233", + "value" : [ "Interval[", "3", ", ", "8", "]" ] + } ] + }, { + "r" : "243", + "value" : [ " ", "overlaps", " " ] + }, { + "r" : "240", + "s" : [ { + "r" : "238", + "value" : [ "Interval[", "1", ", ", "6", "]" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Overlaps", + "localId" : "243", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "244", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "245", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "246", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "247", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "Interval", + "localId" : "235", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "236", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "237", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "low" : { + "type" : "Literal", + "localId" : "233", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "high" : { + "type" : "Literal", + "localId" : "234", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "8", + "annotation" : [ ] + } + }, { + "type" : "Interval", + "localId" : "240", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "241", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "242", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "low" : { + "type" : "Literal", + "localId" : "238", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "high" : { + "type" : "Literal", + "localId" : "239", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "6", + "annotation" : [ ] + } + } ] + } + }, { + "localId" : "250", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "OverlapsBoundaryIntIvl", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "250", + "s" : [ { + "value" : [ "", "define ", "OverlapsBoundaryIntIvl", ": " ] + }, { + "r" : "261", + "s" : [ { + "r" : "253", + "s" : [ { + "r" : "251", + "value" : [ "Interval[", "1", ", ", "5", "]" ] + } ] + }, { + "r" : "261", + "value" : [ " ", "overlaps", " " ] + }, { + "r" : "258", + "s" : [ { + "r" : "256", + "value" : [ "Interval[", "5", ", ", "10", "]" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Overlaps", + "localId" : "261", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "262", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "263", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "264", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "265", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "Interval", + "localId" : "253", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "254", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "255", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "low" : { + "type" : "Literal", + "localId" : "251", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "high" : { + "type" : "Literal", + "localId" : "252", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "5", + "annotation" : [ ] + } + }, { + "type" : "Interval", + "localId" : "258", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "259", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "260", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "low" : { + "type" : "Literal", + "localId" : "256", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "5", + "annotation" : [ ] + }, + "high" : { + "type" : "Literal", + "localId" : "257", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "10", + "annotation" : [ ] + } + } ] + } + }, { + "localId" : "268", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "NoOverlapsIntIvl", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "268", + "s" : [ { + "value" : [ "", "define ", "NoOverlapsIntIvl", ": " ] + }, { + "r" : "279", + "s" : [ { + "r" : "271", + "s" : [ { + "r" : "269", + "value" : [ "Interval[", "1", ",", "5", ")" ] + } ] + }, { + "r" : "279", + "value" : [ " ", "overlaps", " " ] + }, { + "r" : "276", + "s" : [ { + "r" : "274", + "value" : [ "Interval[", "5", ", ", "10", "]" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Overlaps", + "localId" : "279", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "280", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "281", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "282", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "283", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "Interval", + "localId" : "271", + "lowClosed" : true, + "highClosed" : false, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "272", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "273", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "low" : { + "type" : "Literal", + "localId" : "269", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "high" : { + "type" : "Literal", + "localId" : "270", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "5", + "annotation" : [ ] + } + }, { + "type" : "Interval", + "localId" : "276", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "277", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "278", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "low" : { + "type" : "Literal", + "localId" : "274", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "5", + "annotation" : [ ] + }, + "high" : { + "type" : "Literal", + "localId" : "275", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "10", + "annotation" : [ ] + } + } ] + } + }, { + "localId" : "286", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "OverlapsBeforeRealIvl", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "286", + "s" : [ { + "value" : [ "", "define ", "OverlapsBeforeRealIvl", ": " ] + }, { + "r" : "297", + "s" : [ { + "r" : "289", + "s" : [ { + "r" : "287", + "value" : [ "Interval[", "1.234", ", ", "1.567", "]" ] + } ] + }, { + "r" : "297", + "value" : [ " ", "overlaps", " " ] + }, { + "r" : "294", + "s" : [ { + "r" : "292", + "value" : [ "Interval[", "1.345", ", ", "1.678", "]" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Overlaps", + "localId" : "297", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "298", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "299", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "300", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "301", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "Interval", + "localId" : "289", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "290", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "291", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } + }, + "low" : { + "type" : "Literal", + "localId" : "287", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "1.234", + "annotation" : [ ] + }, + "high" : { + "type" : "Literal", + "localId" : "288", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "1.567", + "annotation" : [ ] + } + }, { + "type" : "Interval", + "localId" : "294", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "295", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "296", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } + }, + "low" : { + "type" : "Literal", + "localId" : "292", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "1.345", + "annotation" : [ ] + }, + "high" : { + "type" : "Literal", + "localId" : "293", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "1.678", + "annotation" : [ ] + } + } ] + } + }, { + "localId" : "304", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "OverlapsAfterRealIvl", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "304", + "s" : [ { + "value" : [ "", "define ", "OverlapsAfterRealIvl", ": " ] + }, { + "r" : "315", + "s" : [ { + "r" : "307", + "s" : [ { + "r" : "305", + "value" : [ "Interval[", "1.345", ", ", "1.678", "]" ] + } ] + }, { + "r" : "315", + "value" : [ " ", "overlaps", " " ] + }, { + "r" : "312", + "s" : [ { + "r" : "310", + "value" : [ "Interval[", "1.234", ", ", "1.567", "]" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Overlaps", + "localId" : "315", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "316", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "317", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "318", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "319", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "Interval", + "localId" : "307", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "308", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "309", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } + }, + "low" : { + "type" : "Literal", + "localId" : "305", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "1.345", + "annotation" : [ ] + }, + "high" : { + "type" : "Literal", + "localId" : "306", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "1.678", + "annotation" : [ ] + } + }, { + "type" : "Interval", + "localId" : "312", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "313", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "314", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } + }, + "low" : { + "type" : "Literal", + "localId" : "310", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "1.234", + "annotation" : [ ] + }, + "high" : { + "type" : "Literal", + "localId" : "311", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "1.567", + "annotation" : [ ] + } + } ] + } + }, { + "localId" : "322", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "OverlapsBoundaryRealIvl", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "322", + "s" : [ { + "value" : [ "", "define ", "OverlapsBoundaryRealIvl", ": " ] + }, { + "r" : "333", + "s" : [ { + "r" : "325", + "s" : [ { + "r" : "323", + "value" : [ "Interval[", "1.0", ", ", "1.234", "]" ] + } ] + }, { + "r" : "333", + "value" : [ " ", "overlaps", " " ] + }, { + "r" : "330", + "s" : [ { + "r" : "328", + "value" : [ "Interval[", "1.234", ", ", "2.0", "]" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Overlaps", + "localId" : "333", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "334", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "335", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "336", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "337", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "Interval", + "localId" : "325", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "326", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "327", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } + }, + "low" : { + "type" : "Literal", + "localId" : "323", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "1.0", + "annotation" : [ ] + }, + "high" : { + "type" : "Literal", + "localId" : "324", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "1.234", + "annotation" : [ ] + } + }, { + "type" : "Interval", + "localId" : "330", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "331", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "332", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } + }, + "low" : { + "type" : "Literal", + "localId" : "328", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "1.234", + "annotation" : [ ] + }, + "high" : { + "type" : "Literal", + "localId" : "329", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "2.0", + "annotation" : [ ] + } + } ] + } + }, { + "localId" : "340", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "NoOverlapsRealIvl", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "340", + "s" : [ { + "value" : [ "", "define ", "NoOverlapsRealIvl", ": " ] + }, { + "r" : "351", + "s" : [ { + "r" : "343", + "s" : [ { + "r" : "341", + "value" : [ "Interval[", "1.0", ", ", "1.23456789", ")" ] + } ] + }, { + "r" : "351", + "value" : [ " ", "overlaps", " " ] + }, { + "r" : "348", + "s" : [ { + "r" : "346", + "value" : [ "Interval[", "1.23456789", ", ", "2.0", "]" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Overlaps", + "localId" : "351", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "352", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "353", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "354", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "355", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "Interval", + "localId" : "343", + "lowClosed" : true, + "highClosed" : false, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "344", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "345", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } + }, + "low" : { + "type" : "Literal", + "localId" : "341", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "1.0", + "annotation" : [ ] + }, + "high" : { + "type" : "Literal", + "localId" : "342", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "1.23456789", + "annotation" : [ ] + } + }, { + "type" : "Interval", + "localId" : "348", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "349", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "350", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } + }, + "low" : { + "type" : "Literal", + "localId" : "346", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "1.23456789", + "annotation" : [ ] + }, + "high" : { + "type" : "Literal", + "localId" : "347", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "2.0", + "annotation" : [ ] + } + } ] + } + }, { + "localId" : "358", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "OverlapsIsNull", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "358", + "s" : [ { + "value" : [ "", "define ", "OverlapsIsNull", ": " ] + }, { + "r" : "374", + "s" : [ { + "r" : "361", + "s" : [ { + "r" : "359", + "value" : [ "Interval[", "6", ", ", "10", "]" ] + } ] + }, { + "r" : "374", + "value" : [ " ", "overlaps", " " ] + }, { + "r" : "364", + "s" : [ { + "value" : [ "(" ] + }, { + "r" : "364", "s" : [ { - "value" : [ "","define ","DateTimeIntervalEndsFalse",": " ] - }, { - "r" : "566", - "s" : [ { - "r" : "536", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "520", - "s" : [ { - "r" : "512", - "value" : [ "DateTime","(","2012",", ","1",", ","5",")" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "532", - "s" : [ { - "r" : "524", - "value" : [ "DateTime","(","2012",", ","1",", ","15",")" ] - } ] - }, { - "value" : [ "]" ] - } ] - }, { - "r" : "566", - "value" : [ " ","ends day of"," " ] - }, { - "r" : "563", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "547", - "s" : [ { - "r" : "539", - "value" : [ "DateTime","(","2012",", ","1",", ","1",")" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "559", - "s" : [ { - "r" : "551", - "value" : [ "DateTime","(","2012",", ","1",", ","16",")" ] - } ] - }, { - "value" : [ "]" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "566", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "precision" : "Day", - "type" : "Ends", - "signature" : [ { - "localId" : "567", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "568", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "569", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "570", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "536", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "537", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "538", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "520", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "521", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "522", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "523", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "512", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "513", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "514", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal" - } - }, - "high" : { - "localId" : "532", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "533", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "534", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "535", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "524", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "525", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "526", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal" - } - } - }, { - "localId" : "563", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "564", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "565", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "547", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "548", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "549", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "550", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "539", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "540", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "541", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - } - }, - "high" : { - "localId" : "559", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "560", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "561", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "562", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "551", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "552", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "553", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "16", - "type" : "Literal" - } - } - } ] - } - }, { + "r" : "365", + "value" : [ "null", " as " ] + }, { + "r" : "366", + "s" : [ { + "value" : [ "Interval<" ] + }, { + "r" : "367", + "s" : [ { + "value" : [ "Integer" ] + } ] + }, { + "value" : [ ">" ] + } ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Overlaps", + "localId" : "374", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "375", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "376", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "377", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "378", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "Interval", + "localId" : "361", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "362", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "363", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "low" : { + "type" : "Literal", + "localId" : "359", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "6", + "annotation" : [ ] + }, + "high" : { + "type" : "Literal", + "localId" : "360", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "10", + "annotation" : [ ] + } + }, { + "type" : "As", + "localId" : "364", + "strict" : false, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "372", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "373", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "signature" : [ ], + "operand" : { + "type" : "Null", + "localId" : "365", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + }, + "asTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "366", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "368", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "369", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "367", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } + } ] + } + } ] + } + } +} + +/* OverlapsDateTime +library TestSnippet version '1' +using Simple version '1.0.0' +context Patient +define ivlA: Interval[DateTime(2012, 1, 1, 0, 0, 0, 0), DateTime(2012, 6, 1, 0, 0, 0, 0)) +define ivlB: Interval[DateTime(2012, 3, 1, 0, 0, 0, 0), DateTime(2012, 9, 1, 0, 0, 0, 0)) +define ivlC: Interval[DateTime(2012, 1, 1, 0, 0, 0, 0), DateTime(2013, 1, 1, 0, 0, 0, 0)) +define ivlD: Interval[DateTime(2013, 1, 1, 0, 0, 0, 0), DateTime(2014, 1, 1, 0, 0, 0, 0)) +define ivlE: Interval[DateTime(2013), DateTime(2015)] +define ivlF: Interval[DateTime(2014), DateTime(2016)] +define ivlG: Interval[DateTime(2016), DateTime(2017)] +define ivlH: Interval[DateTime(2012, 2, 3), DateTime(2013, 3)] +define OverlapsBefore: ivlA overlaps ivlB +define OverlapsAfter: ivlB overlaps ivlA +define OverlapsContained: ivlB overlaps ivlC +define OverlapsContains: ivlC overlaps ivlB +define ImpreciseOverlap: ivlD overlaps ivlH +define NoOverlap: ivlC overlaps ivlD +define NoImpreciseOverlap: ivlE overlaps ivlG +define UnknownOverlap: ivlE overlaps ivlH +define MatchingPrecisionOverlap: ivlF overlaps ivlG +define PrecisionDateIvl: Interval[DateTime(2012, 3, 2, 12, 34, 56, 789), DateTime(2012, 9, 2, 1, 23, 45, 678)) +// NOTE: There appears to be a bug in cql-to-elm that translates these 'overlaps' to 'OverlapsAfter'! +define OverlapsBeforeDayOfIvlEdge: PrecisionDateIvl overlaps day of Interval[DateTime(2012, 9, 2, 23, 59, 59, 999), DateTime(2012, 10, 1, 0, 0, 0, 0)] +define OverlapsAfterDayOfIvlEdge: PrecisionDateIvl overlaps day of Interval[DateTime(2012, 1, 2, 0, 0, 0, 0), DateTime(2012, 3, 2, 0, 0, 0, 0)] +define OverlapsContainsDayOfIvl: PrecisionDateIvl overlaps day of Interval[DateTime(2012, 5, 1, 0, 0, 0, 0), DateTime(2012, 6, 1, 0, 0, 0, 0)] +define OverlapsContainedByDayOfIvl: PrecisionDateIvl overlaps day of Interval[DateTime(2012, 1, 1, 0, 0, 0, 0), DateTime(2012, 12, 1, 0, 0, 0, 0)] +define NotOverlapsDayOfIvl: PrecisionDateIvl overlaps day of Interval[DateTime(2012, 1, 2, 0, 0, 0, 0), DateTime(2012, 3, 1, 0, 0, 0, 0)] +define OverlapsAfterDayOfImpreciseInterval: PrecisionDateIvl overlaps day of Interval[DateTime(2012, 1), DateTime(2012, 4)] +define MayOverlapBeforeDayOfImpreciseIvl: PrecisionDateIvl overlaps day of Interval[DateTime(2012, 9), DateTime(2012, 10)] +define MayOverlapAfterDayOfImpreciseIvl: PrecisionDateIvl overlaps day of Interval[DateTime(2012, 1), DateTime(2012, 3)] +*/ + +module.exports['OverlapsDateTime'] = { + "library" : { + "localId" : "0", + "annotation" : [ { + "type" : "CqlToElmInfo", + "translatorVersion" : "4.2.0", + "translatorOptions" : "EnableDateRangeOptimization,EnableAnnotations,EnableResultTypes", + "signatureLevel" : "All" + }, { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "1083", + "s" : [ { + "value" : [ "", "library TestSnippet version '1'" ] + } ] + } + } ], + "identifier" : { + "id" : "TestSnippet", + "version" : "1" + }, + "schemaIdentifier" : { + "id" : "urn:hl7-org:elm", + "version" : "r1" + }, + "usings" : { + "def" : [ { + "localId" : "1", + "localIdentifier" : "System", + "uri" : "urn:hl7-org:elm-types:r1", + "annotation" : [ ] + }, { + "localId" : "206", + "localIdentifier" : "Simple", + "uri" : "https://github.com/cqframework/cql-execution/simple", + "version" : "1.0.0", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "206", + "s" : [ { + "value" : [ "", "using " ] + }, { + "s" : [ { + "value" : [ "Simple" ] + } ] + }, { + "value" : [ " version '1.0.0'" ] + } ] + } + } ] + } ] + }, + "contexts" : { + "def" : [ { + "localId" : "211", + "name" : "Patient", + "annotation" : [ ] + } ] + }, + "statements" : { + "def" : [ { + "localId" : "209", + "name" : "Patient", + "context" : "Patient", + "annotation" : [ ], + "expression" : { + "type" : "SingletonFrom", + "localId" : "210", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Retrieve", + "localId" : "208", + "dataType" : "{https://github.com/cqframework/cql-execution/simple}Patient", + "annotation" : [ ], + "include" : [ ], + "codeFilter" : [ ], + "dateFilter" : [ ], + "otherFilter" : [ ] + } + } + }, { + "localId" : "214", + "name" : "ivlA", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "214", + "s" : [ { + "value" : [ "", "define ", "ivlA", ": " ] + }, { + "r" : "263", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "231", + "s" : [ { + "r" : "215", + "value" : [ "DateTime", "(", "2012", ", ", "1", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "255", + "s" : [ { + "r" : "239", + "value" : [ "DateTime", "(", "2012", ", ", "6", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "266", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "267", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "expression" : { + "type" : "Interval", + "localId" : "263", + "lowClosed" : true, + "highClosed" : false, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "264", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "265", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "DateTime", + "localId" : "231", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "232", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "233", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "234", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "235", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "236", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "237", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "238", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "215", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "216", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "217", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "218", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "219", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "220", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "221", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "255", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "256", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "257", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "258", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "259", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "260", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "261", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "262", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "239", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "240", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "6", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "241", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "242", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "243", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "244", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "245", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + } + } + }, { + "localId" : "270", + "name" : "ivlB", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "270", + "s" : [ { + "value" : [ "", "define ", "ivlB", ": " ] + }, { + "r" : "319", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "287", + "s" : [ { + "r" : "271", + "value" : [ "DateTime", "(", "2012", ", ", "3", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "311", + "s" : [ { + "r" : "295", + "value" : [ "DateTime", "(", "2012", ", ", "9", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "322", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "323", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "expression" : { + "type" : "Interval", + "localId" : "319", + "lowClosed" : true, + "highClosed" : false, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "320", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "321", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "DateTime", + "localId" : "287", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "288", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "289", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "290", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "291", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "292", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "293", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "294", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "271", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "272", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "273", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "274", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "275", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "276", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "277", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "311", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "312", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "313", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "314", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "315", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "316", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "317", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "318", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "295", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "296", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "9", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "297", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "298", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "299", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "300", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "301", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + } + } + }, { + "localId" : "326", + "name" : "ivlC", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "326", + "s" : [ { + "value" : [ "", "define ", "ivlC", ": " ] + }, { + "r" : "375", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "343", + "s" : [ { + "r" : "327", + "value" : [ "DateTime", "(", "2012", ", ", "1", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "367", + "s" : [ { + "r" : "351", + "value" : [ "DateTime", "(", "2013", ", ", "1", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "378", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "379", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "expression" : { + "type" : "Interval", + "localId" : "375", + "lowClosed" : true, + "highClosed" : false, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "376", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "377", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "DateTime", + "localId" : "343", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "344", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "345", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "346", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "347", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "348", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "349", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "350", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "327", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "328", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "329", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "330", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "331", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "332", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "333", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "367", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "368", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "369", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "370", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "371", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "372", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "373", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "374", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "351", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2013", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "352", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "353", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "354", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "355", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "356", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "357", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + } + } + }, { + "localId" : "382", + "name" : "ivlD", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "382", + "s" : [ { + "value" : [ "", "define ", "ivlD", ": " ] + }, { + "r" : "431", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "399", + "s" : [ { + "r" : "383", + "value" : [ "DateTime", "(", "2013", ", ", "1", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "423", + "s" : [ { + "r" : "407", + "value" : [ "DateTime", "(", "2014", ", ", "1", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "434", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "435", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "expression" : { + "type" : "Interval", + "localId" : "431", + "lowClosed" : true, + "highClosed" : false, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "432", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "433", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "DateTime", + "localId" : "399", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "400", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "401", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "402", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "403", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "404", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "405", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "406", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "383", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2013", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "384", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "385", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "386", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "387", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "388", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "389", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "423", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "424", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "425", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "426", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "427", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "428", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "429", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "430", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "407", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2014", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "408", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "409", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "410", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "411", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "412", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "413", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + } + } + }, { + "localId" : "438", + "name" : "ivlE", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "438", + "s" : [ { + "value" : [ "", "define ", "ivlE", ": " ] + }, { + "r" : "451", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "443", + "s" : [ { + "r" : "439", + "value" : [ "DateTime", "(", "2013", ")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "449", + "s" : [ { + "r" : "445", + "value" : [ "DateTime", "(", "2015", ")" ] + } ] + }, { + "value" : [ "]" ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "454", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "455", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "expression" : { + "type" : "Interval", + "localId" : "451", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "452", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "453", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "DateTime", + "localId" : "443", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "444", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "439", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2013", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "449", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "450", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "445", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2015", + "annotation" : [ ] + } + } + } + }, { + "localId" : "458", + "name" : "ivlF", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "458", + "s" : [ { + "value" : [ "", "define ", "ivlF", ": " ] + }, { + "r" : "471", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "463", + "s" : [ { + "r" : "459", + "value" : [ "DateTime", "(", "2014", ")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "469", + "s" : [ { + "r" : "465", + "value" : [ "DateTime", "(", "2016", ")" ] + } ] + }, { + "value" : [ "]" ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "474", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "475", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "expression" : { + "type" : "Interval", + "localId" : "471", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "472", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "473", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "DateTime", + "localId" : "463", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "464", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "459", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2014", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "469", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "470", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "465", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2016", + "annotation" : [ ] + } + } + } + }, { + "localId" : "478", + "name" : "ivlG", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "478", + "s" : [ { + "value" : [ "", "define ", "ivlG", ": " ] + }, { + "r" : "491", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "483", + "s" : [ { + "r" : "479", + "value" : [ "DateTime", "(", "2016", ")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "489", + "s" : [ { + "r" : "485", + "value" : [ "DateTime", "(", "2017", ")" ] + } ] + }, { + "value" : [ "]" ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "494", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "495", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "expression" : { + "type" : "Interval", + "localId" : "491", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "492", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "493", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "DateTime", + "localId" : "483", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "484", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "479", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2016", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "489", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "490", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "485", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2017", + "annotation" : [ ] + } + } + } + }, { + "localId" : "498", + "name" : "ivlH", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "498", + "s" : [ { + "value" : [ "", "define ", "ivlH", ": " ] + }, { + "r" : "520", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "507", + "s" : [ { + "r" : "499", + "value" : [ "DateTime", "(", "2012", ", ", "2", ", ", "3", ")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "517", + "s" : [ { + "r" : "511", + "value" : [ "DateTime", "(", "2013", ", ", "3", ")" ] + } ] + }, { + "value" : [ "]" ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "523", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "524", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "expression" : { + "type" : "Interval", + "localId" : "520", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "521", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "522", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "DateTime", + "localId" : "507", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "508", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "509", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "510", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "499", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "500", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "501", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "517", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "518", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "519", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "511", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2013", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "512", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + } + } + } + }, { + "localId" : "527", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "OverlapsBefore", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "527", + "s" : [ { + "value" : [ "", "define ", "OverlapsBefore", ": " ] + }, { + "r" : "534", + "s" : [ { + "r" : "528", + "s" : [ { + "value" : [ "ivlA" ] + } ] + }, { + "r" : "534", + "value" : [ " ", "overlaps", " " ] + }, { + "r" : "531", + "s" : [ { + "value" : [ "ivlB" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Overlaps", + "localId" : "534", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "535", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "536", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "537", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "538", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "ExpressionRef", + "localId" : "528", + "name" : "ivlA", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "529", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "530", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + }, { + "type" : "ExpressionRef", + "localId" : "531", + "name" : "ivlB", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "532", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "533", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + } ] + } + }, { + "localId" : "541", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "OverlapsAfter", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "541", + "s" : [ { + "value" : [ "", "define ", "OverlapsAfter", ": " ] + }, { + "r" : "548", + "s" : [ { + "r" : "542", + "s" : [ { + "value" : [ "ivlB" ] + } ] + }, { + "r" : "548", + "value" : [ " ", "overlaps", " " ] + }, { + "r" : "545", + "s" : [ { + "value" : [ "ivlA" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Overlaps", + "localId" : "548", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "549", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "550", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "551", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "552", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "ExpressionRef", + "localId" : "542", + "name" : "ivlB", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "543", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "544", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + }, { + "type" : "ExpressionRef", + "localId" : "545", + "name" : "ivlA", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "546", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "547", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + } ] + } + }, { + "localId" : "555", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "OverlapsContained", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "555", + "s" : [ { + "value" : [ "", "define ", "OverlapsContained", ": " ] + }, { + "r" : "562", + "s" : [ { + "r" : "556", + "s" : [ { + "value" : [ "ivlB" ] + } ] + }, { + "r" : "562", + "value" : [ " ", "overlaps", " " ] + }, { + "r" : "559", + "s" : [ { + "value" : [ "ivlC" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Overlaps", + "localId" : "562", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "563", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "564", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "565", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "566", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "ExpressionRef", + "localId" : "556", + "name" : "ivlB", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "557", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "558", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + }, { + "type" : "ExpressionRef", + "localId" : "559", + "name" : "ivlC", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "560", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "561", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + } ] + } + }, { + "localId" : "569", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "OverlapsContains", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "569", + "s" : [ { + "value" : [ "", "define ", "OverlapsContains", ": " ] + }, { + "r" : "576", + "s" : [ { + "r" : "570", + "s" : [ { + "value" : [ "ivlC" ] + } ] + }, { + "r" : "576", + "value" : [ " ", "overlaps", " " ] + }, { + "r" : "573", + "s" : [ { + "value" : [ "ivlB" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Overlaps", + "localId" : "576", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "577", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "578", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "579", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "580", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "ExpressionRef", + "localId" : "570", + "name" : "ivlC", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "571", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "572", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + }, { + "type" : "ExpressionRef", "localId" : "573", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "DateTimeIntervalEndsDayOfTrue", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "573", - "s" : [ { - "value" : [ "","define ","DateTimeIntervalEndsDayOfTrue",": " ] - }, { - "r" : "628", - "s" : [ { - "r" : "598", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "582", - "s" : [ { - "r" : "574", - "value" : [ "DateTime","(","2012",", ","1",", ","5",")" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "594", - "s" : [ { - "r" : "586", - "value" : [ "DateTime","(","2012",", ","1",", ","15",")" ] - } ] - }, { - "value" : [ "]" ] - } ] - }, { - "r" : "628", - "value" : [ " ","ends day of"," " ] - }, { - "r" : "625", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "609", - "s" : [ { - "r" : "601", - "value" : [ "DateTime","(","2012",", ","1",", ","1",")" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "621", - "s" : [ { - "r" : "613", - "value" : [ "DateTime","(","2012",", ","1",", ","15",")" ] - } ] - }, { - "value" : [ "]" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "628", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "precision" : "Day", - "type" : "Ends", - "signature" : [ { - "localId" : "629", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "630", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "631", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "632", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "598", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "599", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "600", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "582", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "583", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "584", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "585", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "574", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "575", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "576", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal" - } - }, - "high" : { - "localId" : "594", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "595", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "596", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "597", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "586", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "587", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "588", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal" - } - } - }, { - "localId" : "625", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "626", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "627", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "609", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "610", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "611", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "612", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "601", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "602", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "603", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - } - }, - "high" : { - "localId" : "621", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "622", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "623", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "624", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "613", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "614", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "615", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal" - } - } - } ] - } - }, { + "name" : "ivlB", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "574", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "575", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + } ] + } + }, { + "localId" : "583", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "ImpreciseOverlap", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "583", + "s" : [ { + "value" : [ "", "define ", "ImpreciseOverlap", ": " ] + }, { + "r" : "590", + "s" : [ { + "r" : "584", + "s" : [ { + "value" : [ "ivlD" ] + } ] + }, { + "r" : "590", + "value" : [ " ", "overlaps", " " ] + }, { + "r" : "587", + "s" : [ { + "value" : [ "ivlH" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Overlaps", + "localId" : "590", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "591", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "592", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "593", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "594", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "ExpressionRef", + "localId" : "584", + "name" : "ivlD", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "585", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "586", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + }, { + "type" : "ExpressionRef", + "localId" : "587", + "name" : "ivlH", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "588", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "589", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + } ] + } + }, { + "localId" : "597", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "NoOverlap", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "597", + "s" : [ { + "value" : [ "", "define ", "NoOverlap", ": " ] + }, { + "r" : "604", + "s" : [ { + "r" : "598", + "s" : [ { + "value" : [ "ivlC" ] + } ] + }, { + "r" : "604", + "value" : [ " ", "overlaps", " " ] + }, { + "r" : "601", + "s" : [ { + "value" : [ "ivlD" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Overlaps", + "localId" : "604", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "605", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "606", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "607", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "608", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "ExpressionRef", + "localId" : "598", + "name" : "ivlC", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "599", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "600", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + }, { + "type" : "ExpressionRef", + "localId" : "601", + "name" : "ivlD", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "602", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "603", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + } ] + } + }, { + "localId" : "611", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "NoImpreciseOverlap", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "611", + "s" : [ { + "value" : [ "", "define ", "NoImpreciseOverlap", ": " ] + }, { + "r" : "618", + "s" : [ { + "r" : "612", + "s" : [ { + "value" : [ "ivlE" ] + } ] + }, { + "r" : "618", + "value" : [ " ", "overlaps", " " ] + }, { + "r" : "615", + "s" : [ { + "value" : [ "ivlG" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Overlaps", + "localId" : "618", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "619", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "620", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "621", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "622", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "ExpressionRef", + "localId" : "612", + "name" : "ivlE", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "613", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "614", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + }, { + "type" : "ExpressionRef", + "localId" : "615", + "name" : "ivlG", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "616", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "617", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + } ] + } + }, { + "localId" : "625", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "UnknownOverlap", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "625", + "s" : [ { + "value" : [ "", "define ", "UnknownOverlap", ": " ] + }, { + "r" : "632", + "s" : [ { + "r" : "626", + "s" : [ { + "value" : [ "ivlE" ] + } ] + }, { + "r" : "632", + "value" : [ " ", "overlaps", " " ] + }, { + "r" : "629", + "s" : [ { + "value" : [ "ivlH" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Overlaps", + "localId" : "632", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "633", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "634", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, { + "type" : "IntervalTypeSpecifier", "localId" : "635", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "DateTimeIntervalEndsStartsFalse", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "635", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "636", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "ExpressionRef", + "localId" : "626", + "name" : "ivlE", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "627", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "628", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + }, { + "type" : "ExpressionRef", + "localId" : "629", + "name" : "ivlH", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "630", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "631", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + } ] + } + }, { + "localId" : "639", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "MatchingPrecisionOverlap", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "639", + "s" : [ { + "value" : [ "", "define ", "MatchingPrecisionOverlap", ": " ] + }, { + "r" : "646", + "s" : [ { + "r" : "640", + "s" : [ { + "value" : [ "ivlF" ] + } ] + }, { + "r" : "646", + "value" : [ " ", "overlaps", " " ] + }, { + "r" : "643", + "s" : [ { + "value" : [ "ivlG" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Overlaps", + "localId" : "646", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "647", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "648", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "649", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "650", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "ExpressionRef", + "localId" : "640", + "name" : "ivlF", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "641", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "642", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + }, { + "type" : "ExpressionRef", + "localId" : "643", + "name" : "ivlG", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "644", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "645", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + } ] + } + }, { + "localId" : "653", + "name" : "PrecisionDateIvl", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "653", + "s" : [ { + "value" : [ "", "define ", "PrecisionDateIvl", ": " ] + }, { + "r" : "702", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "670", + "s" : [ { + "r" : "654", + "value" : [ "DateTime", "(", "2012", ", ", "3", ", ", "2", ", ", "12", ", ", "34", ", ", "56", ", ", "789", ")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "694", + "s" : [ { + "r" : "678", + "value" : [ "DateTime", "(", "2012", ", ", "9", ", ", "2", ", ", "1", ", ", "23", ", ", "45", ", ", "678", ")" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "705", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "706", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "expression" : { + "type" : "Interval", + "localId" : "702", + "lowClosed" : true, + "highClosed" : false, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "703", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "704", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "DateTime", + "localId" : "670", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "671", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "672", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "673", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "674", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "675", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "676", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "677", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "654", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "655", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "656", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "657", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "12", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "658", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "34", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "659", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "56", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "660", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "789", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "694", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "695", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "696", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "697", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "698", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "699", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "700", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "701", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "678", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "679", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "9", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "680", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "681", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "682", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "23", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "683", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "45", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "684", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "678", + "annotation" : [ ] + } + } + } + }, { + "localId" : "709", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "OverlapsBeforeDayOfIvlEdge", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "709", + "s" : [ { + "value" : [ "// NOTE: There appears to be a bug in cql-to-elm that translates these 'overlaps' to 'OverlapsAfter'!\n", "define ", "OverlapsBeforeDayOfIvlEdge", ": " ] + }, { + "r" : "764", + "s" : [ { + "r" : "710", + "s" : [ { + "value" : [ "PrecisionDateIvl" ] + } ] + }, { + "r" : "764", + "value" : [ " ", "overlaps day of", " " ] + }, { + "r" : "761", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "729", + "s" : [ { + "r" : "713", + "value" : [ "DateTime", "(", "2012", ", ", "9", ", ", "2", ", ", "23", ", ", "59", ", ", "59", ", ", "999", ")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "753", + "s" : [ { + "r" : "737", + "value" : [ "DateTime", "(", "2012", ", ", "10", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ "]" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Overlaps", + "localId" : "764", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "precision" : "Day", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "765", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "766", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "767", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "768", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "ExpressionRef", + "localId" : "710", + "name" : "PrecisionDateIvl", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "711", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "712", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + }, { + "type" : "Interval", + "localId" : "761", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "762", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "763", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "DateTime", + "localId" : "729", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "730", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "731", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "732", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "733", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "734", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "735", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "736", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "713", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "714", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "9", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "715", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "716", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "23", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "717", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "59", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "718", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "59", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "719", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "999", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "753", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "754", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "755", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "756", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "757", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "758", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "759", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "760", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "737", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "738", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "10", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "739", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "740", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "741", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "742", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "743", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + } + } ] + } + }, { + "localId" : "771", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "OverlapsAfterDayOfIvlEdge", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "771", + "s" : [ { + "value" : [ "", "define ", "OverlapsAfterDayOfIvlEdge", ": " ] + }, { + "r" : "826", + "s" : [ { + "r" : "772", + "s" : [ { + "value" : [ "PrecisionDateIvl" ] + } ] + }, { + "r" : "826", + "value" : [ " ", "overlaps day of", " " ] + }, { + "r" : "823", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "791", + "s" : [ { + "r" : "775", + "value" : [ "DateTime", "(", "2012", ", ", "1", ", ", "2", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "815", "s" : [ { - "value" : [ "","define ","DateTimeIntervalEndsStartsFalse",": " ] - }, { - "r" : "690", - "s" : [ { - "r" : "660", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "644", - "s" : [ { - "r" : "636", - "value" : [ "DateTime","(","2012",", ","1",", ","5",")" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "656", - "s" : [ { - "r" : "648", - "value" : [ "DateTime","(","2012",", ","2",", ","16",")" ] - } ] - }, { - "value" : [ "]" ] - } ] - }, { - "r" : "690", - "value" : [ " ","ends day of"," " ] - }, { - "r" : "687", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "671", - "s" : [ { - "r" : "663", - "value" : [ "DateTime","(","2012",", ","2",", ","1",")" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "683", - "s" : [ { - "r" : "675", - "value" : [ "DateTime","(","2012",", ","2",", ","16",")" ] - } ] - }, { - "value" : [ "]" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "690", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "precision" : "Day", - "type" : "Ends", - "signature" : [ { - "localId" : "691", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "692", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "693", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "694", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "660", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "661", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "662", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "644", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "645", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "646", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "647", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "636", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "637", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "638", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal" - } - }, - "high" : { - "localId" : "656", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "657", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "658", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "659", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "648", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "649", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal" - }, - "day" : { - "localId" : "650", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "16", - "type" : "Literal" - } - } - }, { - "localId" : "687", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "688", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "689", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "671", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "672", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "673", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "674", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "663", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "664", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal" - }, - "day" : { - "localId" : "665", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - } - }, - "high" : { - "localId" : "683", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "684", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "685", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "686", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "675", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "676", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal" - }, - "day" : { - "localId" : "677", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "16", - "type" : "Literal" - } - } - } ] - } - } ] + "r" : "799", + "value" : [ "DateTime", "(", "2012", ", ", "3", ", ", "2", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ "]" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Overlaps", + "localId" : "826", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "precision" : "Day", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "827", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "828", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "829", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "830", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "ExpressionRef", + "localId" : "772", + "name" : "PrecisionDateIvl", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "773", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "774", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + }, { + "type" : "Interval", + "localId" : "823", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "824", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "825", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "DateTime", + "localId" : "791", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "792", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "793", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "794", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "795", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "796", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "797", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "798", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "775", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "776", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "777", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "778", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "779", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "780", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "781", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "815", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "816", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "817", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "818", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "819", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "820", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "821", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "822", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "799", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "800", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "801", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "802", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "803", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "804", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "805", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + } + } ] + } + }, { + "localId" : "833", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "OverlapsContainsDayOfIvl", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "833", + "s" : [ { + "value" : [ "", "define ", "OverlapsContainsDayOfIvl", ": " ] + }, { + "r" : "888", + "s" : [ { + "r" : "834", + "s" : [ { + "value" : [ "PrecisionDateIvl" ] + } ] + }, { + "r" : "888", + "value" : [ " ", "overlaps day of", " " ] + }, { + "r" : "885", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "853", + "s" : [ { + "r" : "837", + "value" : [ "DateTime", "(", "2012", ", ", "5", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "877", + "s" : [ { + "r" : "861", + "value" : [ "DateTime", "(", "2012", ", ", "6", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ "]" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Overlaps", + "localId" : "888", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "precision" : "Day", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "889", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "890", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "891", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "892", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "ExpressionRef", + "localId" : "834", + "name" : "PrecisionDateIvl", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "835", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "836", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + }, { + "type" : "Interval", + "localId" : "885", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "886", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "887", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "DateTime", + "localId" : "853", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "854", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "855", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "856", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "857", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "858", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "859", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "860", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "837", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "838", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "5", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "839", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "840", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "841", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "842", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "843", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "877", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "878", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "879", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "880", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "881", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "882", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "883", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "884", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "861", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "862", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "6", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "863", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "864", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "865", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "866", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "867", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + } + } ] + } + }, { + "localId" : "895", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "OverlapsContainedByDayOfIvl", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "895", + "s" : [ { + "value" : [ "", "define ", "OverlapsContainedByDayOfIvl", ": " ] + }, { + "r" : "950", + "s" : [ { + "r" : "896", + "s" : [ { + "value" : [ "PrecisionDateIvl" ] + } ] + }, { + "r" : "950", + "value" : [ " ", "overlaps day of", " " ] + }, { + "r" : "947", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "915", + "s" : [ { + "r" : "899", + "value" : [ "DateTime", "(", "2012", ", ", "1", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "939", + "s" : [ { + "r" : "923", + "value" : [ "DateTime", "(", "2012", ", ", "12", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ "]" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Overlaps", + "localId" : "950", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "precision" : "Day", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "951", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "952", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "953", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "954", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "ExpressionRef", + "localId" : "896", + "name" : "PrecisionDateIvl", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "897", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "898", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + }, { + "type" : "Interval", + "localId" : "947", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "948", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "949", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "DateTime", + "localId" : "915", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "916", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "917", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "918", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "919", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "920", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "921", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "922", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "899", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "900", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "901", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "902", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "903", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "904", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "905", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "939", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "940", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "941", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "942", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "943", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "944", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "945", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "946", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "923", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "924", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "12", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "925", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "926", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "927", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "928", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "929", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + } + } ] + } + }, { + "localId" : "957", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "NotOverlapsDayOfIvl", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "957", + "s" : [ { + "value" : [ "", "define ", "NotOverlapsDayOfIvl", ": " ] + }, { + "r" : "1012", + "s" : [ { + "r" : "958", + "s" : [ { + "value" : [ "PrecisionDateIvl" ] + } ] + }, { + "r" : "1012", + "value" : [ " ", "overlaps day of", " " ] + }, { + "r" : "1009", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "977", + "s" : [ { + "r" : "961", + "value" : [ "DateTime", "(", "2012", ", ", "1", ", ", "2", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "1001", + "s" : [ { + "r" : "985", + "value" : [ "DateTime", "(", "2012", ", ", "3", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ "]" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Overlaps", + "localId" : "1012", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "precision" : "Day", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "1013", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1014", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "1015", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1016", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "ExpressionRef", + "localId" : "958", + "name" : "PrecisionDateIvl", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "959", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "960", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + }, { + "type" : "Interval", + "localId" : "1009", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1010", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1011", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "DateTime", + "localId" : "977", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "978", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "979", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "980", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "981", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "982", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "983", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "984", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "961", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "962", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "963", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "964", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "965", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "966", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "967", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "1001", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1002", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1003", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1004", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1005", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1006", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1007", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1008", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "985", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "986", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "987", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "988", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "989", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "990", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "991", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + } + } ] + } + }, { + "localId" : "1019", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "OverlapsAfterDayOfImpreciseInterval", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "1019", + "s" : [ { + "value" : [ "", "define ", "OverlapsAfterDayOfImpreciseInterval", ": " ] + }, { + "r" : "1044", + "s" : [ { + "r" : "1020", + "s" : [ { + "value" : [ "PrecisionDateIvl" ] + } ] + }, { + "r" : "1044", + "value" : [ " ", "overlaps day of", " " ] + }, { + "r" : "1041", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "1029", + "s" : [ { + "r" : "1023", + "value" : [ "DateTime", "(", "2012", ", ", "1", ")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "1038", + "s" : [ { + "r" : "1032", + "value" : [ "DateTime", "(", "2012", ", ", "4", ")" ] + } ] + }, { + "value" : [ "]" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Overlaps", + "localId" : "1044", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "precision" : "Day", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "1045", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1046", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "1047", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1048", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "ExpressionRef", + "localId" : "1020", + "name" : "PrecisionDateIvl", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1021", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1022", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + }, { + "type" : "Interval", + "localId" : "1041", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1042", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1043", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "DateTime", + "localId" : "1029", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1030", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1031", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1023", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1024", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "1038", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1039", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1040", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1032", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1033", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "4", + "annotation" : [ ] + } + } + } ] + } + }, { + "localId" : "1051", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "MayOverlapBeforeDayOfImpreciseIvl", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "1051", + "s" : [ { + "value" : [ "", "define ", "MayOverlapBeforeDayOfImpreciseIvl", ": " ] + }, { + "r" : "1076", + "s" : [ { + "r" : "1052", + "s" : [ { + "value" : [ "PrecisionDateIvl" ] + } ] + }, { + "r" : "1076", + "value" : [ " ", "overlaps day of", " " ] + }, { + "r" : "1073", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "1061", + "s" : [ { + "r" : "1055", + "value" : [ "DateTime", "(", "2012", ", ", "9", ")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "1070", + "s" : [ { + "r" : "1064", + "value" : [ "DateTime", "(", "2012", ", ", "10", ")" ] + } ] + }, { + "value" : [ "]" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Overlaps", + "localId" : "1076", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "precision" : "Day", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "1077", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1078", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "1079", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1080", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "ExpressionRef", + "localId" : "1052", + "name" : "PrecisionDateIvl", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1053", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1054", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + }, { + "type" : "Interval", + "localId" : "1073", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1074", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1075", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "DateTime", + "localId" : "1061", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1062", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1063", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1055", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1056", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "9", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "1070", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1071", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1072", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1064", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1065", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "10", + "annotation" : [ ] + } + } + } ] + } + }, { + "localId" : "1083", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "MayOverlapAfterDayOfImpreciseIvl", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "1083", + "s" : [ { + "value" : [ "", "define ", "MayOverlapAfterDayOfImpreciseIvl", ": " ] + }, { + "r" : "1108", + "s" : [ { + "r" : "1084", + "s" : [ { + "value" : [ "PrecisionDateIvl" ] + } ] + }, { + "r" : "1108", + "value" : [ " ", "overlaps day of", " " ] + }, { + "r" : "1105", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "1093", + "s" : [ { + "r" : "1087", + "value" : [ "DateTime", "(", "2012", ", ", "1", ")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "1102", + "s" : [ { + "r" : "1096", + "value" : [ "DateTime", "(", "2012", ", ", "3", ")" ] + } ] + }, { + "value" : [ "]" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Overlaps", + "localId" : "1108", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "precision" : "Day", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "1109", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1110", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "1111", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1112", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "ExpressionRef", + "localId" : "1084", + "name" : "PrecisionDateIvl", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1085", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1086", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + }, { + "type" : "Interval", + "localId" : "1105", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1106", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1107", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "DateTime", + "localId" : "1093", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1094", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1095", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1087", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1088", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "1102", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1103", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1104", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1096", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1097", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + } + } + } ] + } + } ] + } + } +} + +/* OverlapsAfter +library TestSnippet version '1' +using Simple version '1.0.0' +context Patient +define OverlapsBeforeIntIvl: Interval[1, 5] overlaps after Interval[2, 7] +define OverlapsAfterIntIvl: Interval[3, 8] overlaps after Interval[1, 6] +define OverlapsBoundaryIntIvl: Interval[5, 10] overlaps after Interval[1, 5] +define NoOverlapsIntIvl: Interval[1,5) overlaps after Interval[5, 10] +define OverlapsBeforeRealIvl: Interval[1.234, 1.567] overlaps after Interval[1.345, 1.678] +define OverlapsAfterRealIvl: Interval[1.345, 1.678] overlaps after Interval[1.234, 1.567] +define OverlapsBoundaryRealIvl: Interval[1.234, 2.0] overlaps after Interval[1.0, 1.234] +define NoOverlapsRealIvl: Interval[1.0, 1.23456789) overlaps after Interval[1.23456789, 2.0] +*/ + +module.exports['OverlapsAfter'] = { + "library" : { + "localId" : "0", + "annotation" : [ { + "type" : "CqlToElmInfo", + "translatorVersion" : "4.2.0", + "translatorOptions" : "EnableDateRangeOptimization,EnableAnnotations,EnableResultTypes", + "signatureLevel" : "All" + }, { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "340", + "s" : [ { + "value" : [ "", "library TestSnippet version '1'" ] + } ] } - } + } ], + "identifier" : { + "id" : "TestSnippet", + "version" : "1" + }, + "schemaIdentifier" : { + "id" : "urn:hl7-org:elm", + "version" : "r1" + }, + "usings" : { + "def" : [ { + "localId" : "1", + "localIdentifier" : "System", + "uri" : "urn:hl7-org:elm-types:r1", + "annotation" : [ ] + }, { + "localId" : "206", + "localIdentifier" : "Simple", + "uri" : "https://github.com/cqframework/cql-execution/simple", + "version" : "1.0.0", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "206", + "s" : [ { + "value" : [ "", "using " ] + }, { + "s" : [ { + "value" : [ "Simple" ] + } ] + }, { + "value" : [ " version '1.0.0'" ] + } ] + } + } ] + } ] + }, + "contexts" : { + "def" : [ { + "localId" : "211", + "name" : "Patient", + "annotation" : [ ] + } ] + }, + "statements" : { + "def" : [ { + "localId" : "209", + "name" : "Patient", + "context" : "Patient", + "annotation" : [ ], + "expression" : { + "type" : "SingletonFrom", + "localId" : "210", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Retrieve", + "localId" : "208", + "dataType" : "{https://github.com/cqframework/cql-execution/simple}Patient", + "annotation" : [ ], + "include" : [ ], + "codeFilter" : [ ], + "dateFilter" : [ ], + "otherFilter" : [ ] + } + } + }, { + "localId" : "214", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "OverlapsBeforeIntIvl", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "214", + "s" : [ { + "value" : [ "", "define ", "OverlapsBeforeIntIvl", ": " ] + }, { + "r" : "225", + "s" : [ { + "r" : "217", + "s" : [ { + "r" : "215", + "value" : [ "Interval[", "1", ", ", "5", "]" ] + } ] + }, { + "r" : "225", + "value" : [ " ", "overlaps after", " " ] + }, { + "r" : "222", + "s" : [ { + "r" : "220", + "value" : [ "Interval[", "2", ", ", "7", "]" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "OverlapsAfter", + "localId" : "225", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "226", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "227", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "228", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "229", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "Interval", + "localId" : "217", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "218", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "219", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "low" : { + "type" : "Literal", + "localId" : "215", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "high" : { + "type" : "Literal", + "localId" : "216", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "5", + "annotation" : [ ] + } + }, { + "type" : "Interval", + "localId" : "222", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "223", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "224", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "low" : { + "type" : "Literal", + "localId" : "220", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "annotation" : [ ] + }, + "high" : { + "type" : "Literal", + "localId" : "221", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "7", + "annotation" : [ ] + } + } ] + } + }, { + "localId" : "232", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "OverlapsAfterIntIvl", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "232", + "s" : [ { + "value" : [ "", "define ", "OverlapsAfterIntIvl", ": " ] + }, { + "r" : "243", + "s" : [ { + "r" : "235", + "s" : [ { + "r" : "233", + "value" : [ "Interval[", "3", ", ", "8", "]" ] + } ] + }, { + "r" : "243", + "value" : [ " ", "overlaps after", " " ] + }, { + "r" : "240", + "s" : [ { + "r" : "238", + "value" : [ "Interval[", "1", ", ", "6", "]" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "OverlapsAfter", + "localId" : "243", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "244", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "245", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "246", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "247", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "Interval", + "localId" : "235", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "236", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "237", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "low" : { + "type" : "Literal", + "localId" : "233", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "high" : { + "type" : "Literal", + "localId" : "234", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "8", + "annotation" : [ ] + } + }, { + "type" : "Interval", + "localId" : "240", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "241", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "242", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "low" : { + "type" : "Literal", + "localId" : "238", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "high" : { + "type" : "Literal", + "localId" : "239", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "6", + "annotation" : [ ] + } + } ] + } + }, { + "localId" : "250", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "OverlapsBoundaryIntIvl", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "250", + "s" : [ { + "value" : [ "", "define ", "OverlapsBoundaryIntIvl", ": " ] + }, { + "r" : "261", + "s" : [ { + "r" : "253", + "s" : [ { + "r" : "251", + "value" : [ "Interval[", "5", ", ", "10", "]" ] + } ] + }, { + "r" : "261", + "value" : [ " ", "overlaps after", " " ] + }, { + "r" : "258", + "s" : [ { + "r" : "256", + "value" : [ "Interval[", "1", ", ", "5", "]" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "OverlapsAfter", + "localId" : "261", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "262", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "263", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "264", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "265", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "Interval", + "localId" : "253", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "254", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "255", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "low" : { + "type" : "Literal", + "localId" : "251", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "5", + "annotation" : [ ] + }, + "high" : { + "type" : "Literal", + "localId" : "252", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "10", + "annotation" : [ ] + } + }, { + "type" : "Interval", + "localId" : "258", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "259", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "260", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "low" : { + "type" : "Literal", + "localId" : "256", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "high" : { + "type" : "Literal", + "localId" : "257", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "5", + "annotation" : [ ] + } + } ] + } + }, { + "localId" : "268", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "NoOverlapsIntIvl", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "268", + "s" : [ { + "value" : [ "", "define ", "NoOverlapsIntIvl", ": " ] + }, { + "r" : "279", + "s" : [ { + "r" : "271", + "s" : [ { + "r" : "269", + "value" : [ "Interval[", "1", ",", "5", ")" ] + } ] + }, { + "r" : "279", + "value" : [ " ", "overlaps after", " " ] + }, { + "r" : "276", + "s" : [ { + "r" : "274", + "value" : [ "Interval[", "5", ", ", "10", "]" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "OverlapsAfter", + "localId" : "279", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "280", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "281", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "282", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "283", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "Interval", + "localId" : "271", + "lowClosed" : true, + "highClosed" : false, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "272", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "273", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "low" : { + "type" : "Literal", + "localId" : "269", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "high" : { + "type" : "Literal", + "localId" : "270", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "5", + "annotation" : [ ] + } + }, { + "type" : "Interval", + "localId" : "276", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "277", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "278", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "low" : { + "type" : "Literal", + "localId" : "274", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "5", + "annotation" : [ ] + }, + "high" : { + "type" : "Literal", + "localId" : "275", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "10", + "annotation" : [ ] + } + } ] + } + }, { + "localId" : "286", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "OverlapsBeforeRealIvl", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "286", + "s" : [ { + "value" : [ "", "define ", "OverlapsBeforeRealIvl", ": " ] + }, { + "r" : "297", + "s" : [ { + "r" : "289", + "s" : [ { + "r" : "287", + "value" : [ "Interval[", "1.234", ", ", "1.567", "]" ] + } ] + }, { + "r" : "297", + "value" : [ " ", "overlaps after", " " ] + }, { + "r" : "294", + "s" : [ { + "r" : "292", + "value" : [ "Interval[", "1.345", ", ", "1.678", "]" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "OverlapsAfter", + "localId" : "297", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "298", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "299", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "300", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "301", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "Interval", + "localId" : "289", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "290", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "291", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } + }, + "low" : { + "type" : "Literal", + "localId" : "287", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "1.234", + "annotation" : [ ] + }, + "high" : { + "type" : "Literal", + "localId" : "288", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "1.567", + "annotation" : [ ] + } + }, { + "type" : "Interval", + "localId" : "294", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "295", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "296", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } + }, + "low" : { + "type" : "Literal", + "localId" : "292", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "1.345", + "annotation" : [ ] + }, + "high" : { + "type" : "Literal", + "localId" : "293", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "1.678", + "annotation" : [ ] + } + } ] + } + }, { + "localId" : "304", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "OverlapsAfterRealIvl", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "304", + "s" : [ { + "value" : [ "", "define ", "OverlapsAfterRealIvl", ": " ] + }, { + "r" : "315", + "s" : [ { + "r" : "307", + "s" : [ { + "r" : "305", + "value" : [ "Interval[", "1.345", ", ", "1.678", "]" ] + } ] + }, { + "r" : "315", + "value" : [ " ", "overlaps after", " " ] + }, { + "r" : "312", + "s" : [ { + "r" : "310", + "value" : [ "Interval[", "1.234", ", ", "1.567", "]" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "OverlapsAfter", + "localId" : "315", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "316", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "317", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "318", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "319", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "Interval", + "localId" : "307", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "308", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "309", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } + }, + "low" : { + "type" : "Literal", + "localId" : "305", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "1.345", + "annotation" : [ ] + }, + "high" : { + "type" : "Literal", + "localId" : "306", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "1.678", + "annotation" : [ ] + } + }, { + "type" : "Interval", + "localId" : "312", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "313", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "314", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } + }, + "low" : { + "type" : "Literal", + "localId" : "310", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "1.234", + "annotation" : [ ] + }, + "high" : { + "type" : "Literal", + "localId" : "311", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "1.567", + "annotation" : [ ] + } + } ] + } + }, { + "localId" : "322", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "OverlapsBoundaryRealIvl", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "322", + "s" : [ { + "value" : [ "", "define ", "OverlapsBoundaryRealIvl", ": " ] + }, { + "r" : "333", + "s" : [ { + "r" : "325", + "s" : [ { + "r" : "323", + "value" : [ "Interval[", "1.234", ", ", "2.0", "]" ] + } ] + }, { + "r" : "333", + "value" : [ " ", "overlaps after", " " ] + }, { + "r" : "330", + "s" : [ { + "r" : "328", + "value" : [ "Interval[", "1.0", ", ", "1.234", "]" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "OverlapsAfter", + "localId" : "333", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "334", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "335", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "336", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "337", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "Interval", + "localId" : "325", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "326", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "327", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } + }, + "low" : { + "type" : "Literal", + "localId" : "323", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "1.234", + "annotation" : [ ] + }, + "high" : { + "type" : "Literal", + "localId" : "324", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "2.0", + "annotation" : [ ] + } + }, { + "type" : "Interval", + "localId" : "330", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "331", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "332", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } + }, + "low" : { + "type" : "Literal", + "localId" : "328", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "1.0", + "annotation" : [ ] + }, + "high" : { + "type" : "Literal", + "localId" : "329", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "1.234", + "annotation" : [ ] + } + } ] + } + }, { + "localId" : "340", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "NoOverlapsRealIvl", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "340", + "s" : [ { + "value" : [ "", "define ", "NoOverlapsRealIvl", ": " ] + }, { + "r" : "351", + "s" : [ { + "r" : "343", + "s" : [ { + "r" : "341", + "value" : [ "Interval[", "1.0", ", ", "1.23456789", ")" ] + } ] + }, { + "r" : "351", + "value" : [ " ", "overlaps after", " " ] + }, { + "r" : "348", + "s" : [ { + "r" : "346", + "value" : [ "Interval[", "1.23456789", ", ", "2.0", "]" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "OverlapsAfter", + "localId" : "351", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "352", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "353", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "354", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "355", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "Interval", + "localId" : "343", + "lowClosed" : true, + "highClosed" : false, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "344", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "345", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } + }, + "low" : { + "type" : "Literal", + "localId" : "341", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "1.0", + "annotation" : [ ] + }, + "high" : { + "type" : "Literal", + "localId" : "342", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "1.23456789", + "annotation" : [ ] + } + }, { + "type" : "Interval", + "localId" : "348", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "349", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "350", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } + }, + "low" : { + "type" : "Literal", + "localId" : "346", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "1.23456789", + "annotation" : [ ] + }, + "high" : { + "type" : "Literal", + "localId" : "347", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "2.0", + "annotation" : [ ] + } + } ] + } + } ] + } + } } -/* IntegerIntervalUnion +/* OverlapsAfterDateTime library TestSnippet version '1' using Simple version '1.0.0' context Patient -define IntFullInterval: Interval[0,10] -define IntClosedUnionClosed: Interval[0,5] union Interval[5,10] -define IntClosedUnionOpen: Interval[0,5] union Interval[5,10) -define IntOpenUnionOpen: Interval(0,5] union Interval[5,10) -define IntOpenUnionClosed: Interval(0,5] union Interval[5,10] -define IntSameAsUnion: Interval[0,10] union Interval[0,10] -define IntBeforeUnion: Interval[0,4] union Interval[6,10] -define IntMeetsUnion: Interval[0,5] union Interval[5,10] -define IntOverlapsUnion: Interval[0,7] union Interval[3,10] -define IntBeginsUnion: Interval[0,5] union Interval[0,10] -define IntDuringUnion: Interval[3,5] union Interval[0,10] -define IntEndsUnion: Interval[5,10] union Interval[0,10] -define NullUnion: null union Interval[0,10] -define UnionNull: Interval[5,10] union null -define NullUnionNull: (null as Interval) union (null as Interval) +define ivlA: Interval[DateTime(2012, 1, 1, 0, 0, 0, 0), DateTime(2012, 6, 1, 0, 0, 0, 0)) +define ivlB: Interval[DateTime(2012, 3, 1, 0, 0, 0, 0), DateTime(2012, 9, 1, 0, 0, 0, 0)) +define ivlC: Interval[DateTime(2012, 1, 1, 0, 0, 0, 0), DateTime(2013, 1, 1, 0, 0, 0, 0)) +define ivlD: Interval[DateTime(2013, 1, 1, 0, 0, 0, 0), DateTime(2014, 1, 1, 0, 0, 0, 0)) +define ivlE: Interval[DateTime(2013), DateTime(2015)] +define ivlF: Interval[DateTime(2014), DateTime(2016)] +define ivlG: Interval[DateTime(2016), DateTime(2017)] +define ivlH: Interval[DateTime(2013,1), DateTime(2015,1)] +define OverlapsBefore: ivlA overlaps after ivlB +define OverlapsAfter: ivlB overlaps after ivlA +define OverlapsContained: ivlB overlaps after ivlC +define OverlapsContains: ivlC overlaps after ivlB +define ImpreciseOverlapBefore: ivlE overlaps after ivlF +define ImpreciseOverlapAfter: ivlF overlaps after ivlE +define NoOverlap: ivlC overlaps after ivlD +define NoImpreciseOverlap: ivlE overlaps after ivlG +define MatchingPrecisionOverlap: ivlG overlaps after ivlF +define UnknownOverlap: ivlH overlaps after ivlE +define PrecisionDateIvl: Interval[DateTime(2012, 3, 2, 12, 34, 56, 789), DateTime(2012, 9, 2, 1, 23, 45, 678)) +define OverlapsBeforeDayOfIvlEdge: PrecisionDateIvl overlaps after day of Interval[DateTime(2012, 9, 2, 23, 59, 59, 999), DateTime(2012, 10, 1, 0, 0, 0, 0)] +define OverlapsAfterDayOfIvlEdge: PrecisionDateIvl overlaps after day of Interval[DateTime(2012, 1, 2, 0, 0, 0, 0), DateTime(2012, 3, 2, 0, 0, 0, 0)] +define OverlapsContainsDayOfIvl: PrecisionDateIvl overlaps after day of Interval[DateTime(2012, 5, 1, 0, 0, 0, 0), DateTime(2012, 6, 1, 0, 0, 0, 0)] +define OverlapsContainedByDayOfIvl: PrecisionDateIvl overlaps after day of Interval[DateTime(2012, 1, 1, 0, 0, 0, 0), DateTime(2012, 12, 1, 0, 0, 0, 0)] +define NotOverlapsDayOfIvl: PrecisionDateIvl overlaps after day of Interval[DateTime(2012, 1, 2, 0, 0, 0, 0), DateTime(2012, 3, 1, 0, 0, 0, 0)] +define OverlapsAfterDayOfImpreciseInterval: PrecisionDateIvl overlaps after day of Interval[DateTime(2012, 1), DateTime(2012, 4)] +define MayOverlapBeforeDayOfImpreciseIvl: PrecisionDateIvl overlaps after day of Interval[DateTime(2012, 9), DateTime(2012, 10)] +define MayOverlapAfterDayOfImpreciseIvl: PrecisionDateIvl overlaps after day of Interval[DateTime(2012, 1), DateTime(2012, 3)] */ -module.exports['IntegerIntervalUnion'] = { - "library" : { - "localId" : "0", - "annotation" : [ { - "translatorVersion" : "3.27.0", - "translatorOptions" : "EnableDateRangeOptimization,EnableAnnotations,EnableResultTypes", - "signatureLevel" : "All", - "type" : "CqlToElmInfo" - }, { - "type" : "Annotation", - "s" : { - "r" : "508", +module.exports['OverlapsAfterDateTime'] = { + "library" : { + "localId" : "0", + "annotation" : [ { + "type" : "CqlToElmInfo", + "translatorVersion" : "4.2.0", + "translatorOptions" : "EnableDateRangeOptimization,EnableAnnotations,EnableResultTypes", + "signatureLevel" : "All" + }, { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "1094", + "s" : [ { + "value" : [ "", "library TestSnippet version '1'" ] + } ] + } + } ], + "identifier" : { + "id" : "TestSnippet", + "version" : "1" + }, + "schemaIdentifier" : { + "id" : "urn:hl7-org:elm", + "version" : "r1" + }, + "usings" : { + "def" : [ { + "localId" : "1", + "localIdentifier" : "System", + "uri" : "urn:hl7-org:elm-types:r1", + "annotation" : [ ] + }, { + "localId" : "206", + "localIdentifier" : "Simple", + "uri" : "https://github.com/cqframework/cql-execution/simple", + "version" : "1.0.0", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "206", + "s" : [ { + "value" : [ "", "using " ] + }, { + "s" : [ { + "value" : [ "Simple" ] + } ] + }, { + "value" : [ " version '1.0.0'" ] + } ] + } + } ] + } ] + }, + "contexts" : { + "def" : [ { + "localId" : "211", + "name" : "Patient", + "annotation" : [ ] + } ] + }, + "statements" : { + "def" : [ { + "localId" : "209", + "name" : "Patient", + "context" : "Patient", + "annotation" : [ ], + "expression" : { + "type" : "SingletonFrom", + "localId" : "210", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Retrieve", + "localId" : "208", + "dataType" : "{https://github.com/cqframework/cql-execution/simple}Patient", + "annotation" : [ ], + "include" : [ ], + "codeFilter" : [ ], + "dateFilter" : [ ], + "otherFilter" : [ ] + } + } + }, { + "localId" : "214", + "name" : "ivlA", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "214", + "s" : [ { + "value" : [ "", "define ", "ivlA", ": " ] + }, { + "r" : "263", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "231", + "s" : [ { + "r" : "215", + "value" : [ "DateTime", "(", "2012", ", ", "1", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "255", + "s" : [ { + "r" : "239", + "value" : [ "DateTime", "(", "2012", ", ", "6", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "266", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "267", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "expression" : { + "type" : "Interval", + "localId" : "263", + "lowClosed" : true, + "highClosed" : false, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "264", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "265", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "DateTime", + "localId" : "231", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "232", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "233", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "234", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "235", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "236", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "237", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "238", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "215", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "216", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "217", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "218", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "219", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "220", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "221", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "255", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "256", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "257", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "258", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "259", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "260", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "261", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "262", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "239", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "240", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "6", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "241", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "242", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "243", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "244", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "245", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + } + } + }, { + "localId" : "270", + "name" : "ivlB", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "270", + "s" : [ { + "value" : [ "", "define ", "ivlB", ": " ] + }, { + "r" : "319", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "287", + "s" : [ { + "r" : "271", + "value" : [ "DateTime", "(", "2012", ", ", "3", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "311", + "s" : [ { + "r" : "295", + "value" : [ "DateTime", "(", "2012", ", ", "9", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "322", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "323", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "expression" : { + "type" : "Interval", + "localId" : "319", + "lowClosed" : true, + "highClosed" : false, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "320", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "321", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "DateTime", + "localId" : "287", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "288", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "289", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "290", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "291", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "292", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "293", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "294", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "271", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "272", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "273", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "274", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "275", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "276", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "277", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "311", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "312", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "313", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "314", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "315", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "316", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "317", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "318", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "295", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "296", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "9", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "297", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "298", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "299", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "300", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "301", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + } + } + }, { + "localId" : "326", + "name" : "ivlC", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "326", + "s" : [ { + "value" : [ "", "define ", "ivlC", ": " ] + }, { + "r" : "375", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "343", + "s" : [ { + "r" : "327", + "value" : [ "DateTime", "(", "2012", ", ", "1", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "367", + "s" : [ { + "r" : "351", + "value" : [ "DateTime", "(", "2013", ", ", "1", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "378", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "379", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "expression" : { + "type" : "Interval", + "localId" : "375", + "lowClosed" : true, + "highClosed" : false, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "376", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "377", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "DateTime", + "localId" : "343", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "344", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "345", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "346", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "347", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "348", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "349", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "350", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "327", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "328", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "329", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "330", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "331", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "332", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "333", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "367", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "368", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "369", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "370", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "371", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "372", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "373", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "374", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "351", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2013", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "352", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "353", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "354", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "355", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "356", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "357", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + } + } + }, { + "localId" : "382", + "name" : "ivlD", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "382", + "s" : [ { + "value" : [ "", "define ", "ivlD", ": " ] + }, { + "r" : "431", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "399", + "s" : [ { + "r" : "383", + "value" : [ "DateTime", "(", "2013", ", ", "1", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "423", + "s" : [ { + "r" : "407", + "value" : [ "DateTime", "(", "2014", ", ", "1", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "434", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "435", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "expression" : { + "type" : "Interval", + "localId" : "431", + "lowClosed" : true, + "highClosed" : false, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "432", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "433", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "DateTime", + "localId" : "399", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "400", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "401", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "402", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "403", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "404", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "405", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "406", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "383", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2013", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "384", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "385", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "386", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "387", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "388", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "389", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "423", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "424", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "425", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "426", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "427", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "428", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "429", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "430", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "407", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2014", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "408", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "409", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "410", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "411", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "412", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "413", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + } + } + }, { + "localId" : "438", + "name" : "ivlE", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "438", "s" : [ { - "value" : [ "","library TestSnippet version '1'" ] - } ] - } - } ], - "identifier" : { - "id" : "TestSnippet", - "version" : "1" - }, - "schemaIdentifier" : { - "id" : "urn:hl7-org:elm", - "version" : "r1" - }, - "usings" : { - "def" : [ { - "localId" : "1", - "localIdentifier" : "System", - "uri" : "urn:hl7-org:elm-types:r1" - }, { - "localId" : "206", - "localIdentifier" : "Simple", - "uri" : "https://github.com/cqframework/cql-execution/simple", - "version" : "1.0.0", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "206", - "s" : [ { - "value" : [ "","using " ] - }, { - "s" : [ { - "value" : [ "Simple" ] - } ] - }, { - "value" : [ " version '1.0.0'" ] - } ] - } - } ] - } ] - }, - "contexts" : { - "def" : [ { - "localId" : "211", - "name" : "Patient" - } ] - }, - "statements" : { - "def" : [ { - "localId" : "209", - "name" : "Patient", - "context" : "Patient", - "expression" : { - "localId" : "210", - "type" : "SingletonFrom", - "signature" : [ ], - "operand" : { - "localId" : "208", - "dataType" : "{https://github.com/cqframework/cql-execution/simple}Patient", - "type" : "Retrieve", - "include" : [ ], - "codeFilter" : [ ], - "dateFilter" : [ ], - "otherFilter" : [ ] - } - } - }, { - "localId" : "214", - "name" : "IntFullInterval", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "214", - "s" : [ { - "value" : [ "","define ","IntFullInterval",": " ] - }, { - "r" : "217", - "s" : [ { - "r" : "215", - "value" : [ "Interval[","0",",","10","]" ] - } ] - } ] - } - } ], + "value" : [ "", "define ", "ivlE", ": " ] + }, { + "r" : "451", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "443", + "s" : [ { + "r" : "439", + "value" : [ "DateTime", "(", "2013", ")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "449", + "s" : [ { + "r" : "445", + "value" : [ "DateTime", "(", "2015", ")" ] + } ] + }, { + "value" : [ "]" ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "454", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "455", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "expression" : { + "type" : "Interval", + "localId" : "451", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "452", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "453", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "DateTime", + "localId" : "443", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "444", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "439", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2013", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "449", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "450", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "445", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2015", + "annotation" : [ ] + } + } + } + }, { + "localId" : "458", + "name" : "ivlF", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "458", + "s" : [ { + "value" : [ "", "define ", "ivlF", ": " ] + }, { + "r" : "471", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "463", + "s" : [ { + "r" : "459", + "value" : [ "DateTime", "(", "2014", ")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "469", + "s" : [ { + "r" : "465", + "value" : [ "DateTime", "(", "2016", ")" ] + } ] + }, { + "value" : [ "]" ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "474", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "475", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "expression" : { + "type" : "Interval", + "localId" : "471", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "472", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "473", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "DateTime", + "localId" : "463", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "464", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "459", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2014", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "469", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "470", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "465", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2016", + "annotation" : [ ] + } + } + } + }, { + "localId" : "478", + "name" : "ivlG", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "478", + "s" : [ { + "value" : [ "", "define ", "ivlG", ": " ] + }, { + "r" : "491", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "483", + "s" : [ { + "r" : "479", + "value" : [ "DateTime", "(", "2016", ")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "489", + "s" : [ { + "r" : "485", + "value" : [ "DateTime", "(", "2017", ")" ] + } ] + }, { + "value" : [ "]" ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "494", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "495", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "expression" : { + "type" : "Interval", + "localId" : "491", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "492", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "493", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "DateTime", + "localId" : "483", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "484", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "479", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2016", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "489", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "490", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "485", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2017", + "annotation" : [ ] + } + } + } + }, { + "localId" : "498", + "name" : "ivlH", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "498", + "s" : [ { + "value" : [ "", "define ", "ivlH", ": " ] + }, { + "r" : "517", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "505", + "s" : [ { + "r" : "499", + "value" : [ "DateTime", "(", "2013", ",", "1", ")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "514", + "s" : [ { + "r" : "508", + "value" : [ "DateTime", "(", "2015", ",", "1", ")" ] + } ] + }, { + "value" : [ "]" ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "520", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "521", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "expression" : { + "type" : "Interval", + "localId" : "517", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "518", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "519", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "DateTime", + "localId" : "505", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "506", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "507", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "499", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2013", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "500", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "514", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "515", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "516", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "508", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2015", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "509", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + } + } + } + }, { + "localId" : "524", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "OverlapsBefore", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "524", + "s" : [ { + "value" : [ "", "define ", "OverlapsBefore", ": " ] + }, { + "r" : "531", + "s" : [ { + "r" : "525", + "s" : [ { + "value" : [ "ivlA" ] + } ] + }, { + "r" : "531", + "value" : [ " ", "overlaps after", " " ] + }, { + "r" : "528", + "s" : [ { + "value" : [ "ivlB" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "OverlapsAfter", + "localId" : "531", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "532", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "533", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "534", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "535", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "ExpressionRef", + "localId" : "525", + "name" : "ivlA", + "annotation" : [ ], "resultTypeSpecifier" : { - "localId" : "220", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "221", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "expression" : { - "localId" : "217", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "218", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "219", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "215", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "high" : { - "localId" : "216", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal" - } - } - }, { - "localId" : "224", - "name" : "IntClosedUnionClosed", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "224", - "s" : [ { - "value" : [ "","define ","IntClosedUnionClosed",": " ] - }, { - "r" : "235", - "s" : [ { - "r" : "227", - "s" : [ { - "r" : "225", - "value" : [ "Interval[","0",",","5","]" ] - } ] - }, { - "value" : [ " union " ] - }, { - "r" : "232", - "s" : [ { - "r" : "230", - "value" : [ "Interval[","5",",","10","]" ] - } ] - } ] - } ] - } - } ], + "type" : "IntervalTypeSpecifier", + "localId" : "526", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "527", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + }, { + "type" : "ExpressionRef", + "localId" : "528", + "name" : "ivlB", + "annotation" : [ ], "resultTypeSpecifier" : { - "localId" : "242", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "243", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "expression" : { - "localId" : "235", - "type" : "Union", - "resultTypeSpecifier" : { - "localId" : "240", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "241", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "signature" : [ { - "localId" : "236", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "237", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "238", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "239", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "227", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "228", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "229", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "225", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "high" : { - "localId" : "226", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal" - } - }, { - "localId" : "232", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "233", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "234", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "230", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal" - }, - "high" : { - "localId" : "231", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal" - } - } ] - } - }, { - "localId" : "246", - "name" : "IntClosedUnionOpen", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "246", - "s" : [ { - "value" : [ "","define ","IntClosedUnionOpen",": " ] - }, { - "r" : "257", - "s" : [ { - "r" : "249", - "s" : [ { - "r" : "247", - "value" : [ "Interval[","0",",","5","]" ] - } ] - }, { - "value" : [ " union " ] - }, { - "r" : "254", - "s" : [ { - "r" : "252", - "value" : [ "Interval[","5",",","10",")" ] - } ] - } ] - } ] - } - } ], + "type" : "IntervalTypeSpecifier", + "localId" : "529", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "530", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + } ] + } + }, { + "localId" : "538", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "OverlapsAfter", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "538", + "s" : [ { + "value" : [ "", "define ", "OverlapsAfter", ": " ] + }, { + "r" : "545", + "s" : [ { + "r" : "539", + "s" : [ { + "value" : [ "ivlB" ] + } ] + }, { + "r" : "545", + "value" : [ " ", "overlaps after", " " ] + }, { + "r" : "542", + "s" : [ { + "value" : [ "ivlA" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "OverlapsAfter", + "localId" : "545", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "546", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "547", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "548", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "549", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "ExpressionRef", + "localId" : "539", + "name" : "ivlB", + "annotation" : [ ], "resultTypeSpecifier" : { - "localId" : "264", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "265", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "expression" : { - "localId" : "257", - "type" : "Union", - "resultTypeSpecifier" : { - "localId" : "262", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "263", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "signature" : [ { - "localId" : "258", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "259", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "260", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "261", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "249", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "250", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "251", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "247", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "high" : { - "localId" : "248", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal" - } - }, { - "localId" : "254", - "lowClosed" : true, - "highClosed" : false, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "255", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "256", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "252", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal" - }, - "high" : { - "localId" : "253", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal" - } - } ] - } - }, { - "localId" : "268", - "name" : "IntOpenUnionOpen", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "268", - "s" : [ { - "value" : [ "","define ","IntOpenUnionOpen",": " ] - }, { - "r" : "279", - "s" : [ { - "r" : "271", - "s" : [ { - "r" : "269", - "value" : [ "Interval(","0",",","5","]" ] - } ] - }, { - "value" : [ " union " ] - }, { - "r" : "276", - "s" : [ { - "r" : "274", - "value" : [ "Interval[","5",",","10",")" ] - } ] - } ] - } ] - } - } ], + "type" : "IntervalTypeSpecifier", + "localId" : "540", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "541", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + }, { + "type" : "ExpressionRef", + "localId" : "542", + "name" : "ivlA", + "annotation" : [ ], "resultTypeSpecifier" : { - "localId" : "286", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "287", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "expression" : { - "localId" : "279", - "type" : "Union", - "resultTypeSpecifier" : { - "localId" : "284", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "285", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "signature" : [ { - "localId" : "280", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "281", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "282", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "283", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "271", - "lowClosed" : false, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "272", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "273", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "269", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "high" : { - "localId" : "270", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal" - } - }, { - "localId" : "276", - "lowClosed" : true, - "highClosed" : false, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "277", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "278", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "274", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal" - }, - "high" : { - "localId" : "275", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal" - } - } ] - } - }, { - "localId" : "290", - "name" : "IntOpenUnionClosed", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "290", - "s" : [ { - "value" : [ "","define ","IntOpenUnionClosed",": " ] - }, { - "r" : "301", - "s" : [ { - "r" : "293", - "s" : [ { - "r" : "291", - "value" : [ "Interval(","0",",","5","]" ] - } ] - }, { - "value" : [ " union " ] - }, { - "r" : "298", - "s" : [ { - "r" : "296", - "value" : [ "Interval[","5",",","10","]" ] - } ] - } ] - } ] - } - } ], + "type" : "IntervalTypeSpecifier", + "localId" : "543", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "544", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + } ] + } + }, { + "localId" : "552", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "OverlapsContained", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "552", + "s" : [ { + "value" : [ "", "define ", "OverlapsContained", ": " ] + }, { + "r" : "559", + "s" : [ { + "r" : "553", + "s" : [ { + "value" : [ "ivlB" ] + } ] + }, { + "r" : "559", + "value" : [ " ", "overlaps after", " " ] + }, { + "r" : "556", + "s" : [ { + "value" : [ "ivlC" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "OverlapsAfter", + "localId" : "559", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "560", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "561", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "562", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "563", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "ExpressionRef", + "localId" : "553", + "name" : "ivlB", + "annotation" : [ ], "resultTypeSpecifier" : { - "localId" : "308", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "309", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "expression" : { - "localId" : "301", - "type" : "Union", - "resultTypeSpecifier" : { - "localId" : "306", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "307", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "signature" : [ { - "localId" : "302", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "303", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "304", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "305", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "293", - "lowClosed" : false, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "294", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "295", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "291", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "high" : { - "localId" : "292", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal" - } - }, { - "localId" : "298", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "299", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "300", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "296", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal" - }, - "high" : { - "localId" : "297", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal" - } - } ] - } - }, { - "localId" : "312", - "name" : "IntSameAsUnion", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "312", - "s" : [ { - "value" : [ "","define ","IntSameAsUnion",": " ] - }, { - "r" : "323", - "s" : [ { - "r" : "315", - "s" : [ { - "r" : "313", - "value" : [ "Interval[","0",",","10","]" ] - } ] - }, { - "value" : [ " union " ] - }, { - "r" : "320", - "s" : [ { - "r" : "318", - "value" : [ "Interval[","0",",","10","]" ] - } ] - } ] - } ] - } - } ], + "type" : "IntervalTypeSpecifier", + "localId" : "554", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "555", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + }, { + "type" : "ExpressionRef", + "localId" : "556", + "name" : "ivlC", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "557", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "558", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + } ] + } + }, { + "localId" : "566", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "OverlapsContains", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "566", + "s" : [ { + "value" : [ "", "define ", "OverlapsContains", ": " ] + }, { + "r" : "573", + "s" : [ { + "r" : "567", + "s" : [ { + "value" : [ "ivlC" ] + } ] + }, { + "r" : "573", + "value" : [ " ", "overlaps after", " " ] + }, { + "r" : "570", + "s" : [ { + "value" : [ "ivlB" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "OverlapsAfter", + "localId" : "573", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "574", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "575", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "576", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "577", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "ExpressionRef", + "localId" : "567", + "name" : "ivlC", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "568", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "569", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + }, { + "type" : "ExpressionRef", + "localId" : "570", + "name" : "ivlB", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "571", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "572", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + } ] + } + }, { + "localId" : "580", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "ImpreciseOverlapBefore", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "580", + "s" : [ { + "value" : [ "", "define ", "ImpreciseOverlapBefore", ": " ] + }, { + "r" : "587", + "s" : [ { + "r" : "581", + "s" : [ { + "value" : [ "ivlE" ] + } ] + }, { + "r" : "587", + "value" : [ " ", "overlaps after", " " ] + }, { + "r" : "584", + "s" : [ { + "value" : [ "ivlF" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "OverlapsAfter", + "localId" : "587", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "588", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "589", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "590", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "591", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "ExpressionRef", + "localId" : "581", + "name" : "ivlE", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "582", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "583", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + }, { + "type" : "ExpressionRef", + "localId" : "584", + "name" : "ivlF", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "585", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "586", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + } ] + } + }, { + "localId" : "594", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "ImpreciseOverlapAfter", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "594", + "s" : [ { + "value" : [ "", "define ", "ImpreciseOverlapAfter", ": " ] + }, { + "r" : "601", + "s" : [ { + "r" : "595", + "s" : [ { + "value" : [ "ivlF" ] + } ] + }, { + "r" : "601", + "value" : [ " ", "overlaps after", " " ] + }, { + "r" : "598", + "s" : [ { + "value" : [ "ivlE" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "OverlapsAfter", + "localId" : "601", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "602", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "603", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "604", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "605", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "ExpressionRef", + "localId" : "595", + "name" : "ivlF", + "annotation" : [ ], "resultTypeSpecifier" : { - "localId" : "330", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "331", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "expression" : { - "localId" : "323", - "type" : "Union", - "resultTypeSpecifier" : { - "localId" : "328", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "329", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "signature" : [ { - "localId" : "324", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "325", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "326", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "327", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "315", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "316", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "317", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "313", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "high" : { - "localId" : "314", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal" - } - }, { - "localId" : "320", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "321", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "322", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "318", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "high" : { - "localId" : "319", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal" - } - } ] - } - }, { - "localId" : "334", - "name" : "IntBeforeUnion", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "334", - "s" : [ { - "value" : [ "","define ","IntBeforeUnion",": " ] - }, { - "r" : "345", - "s" : [ { - "r" : "337", - "s" : [ { - "r" : "335", - "value" : [ "Interval[","0",",","4","]" ] - } ] - }, { - "value" : [ " union " ] - }, { - "r" : "342", - "s" : [ { - "r" : "340", - "value" : [ "Interval[","6",",","10","]" ] - } ] - } ] - } ] - } - } ], + "type" : "IntervalTypeSpecifier", + "localId" : "596", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "597", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + }, { + "type" : "ExpressionRef", + "localId" : "598", + "name" : "ivlE", + "annotation" : [ ], "resultTypeSpecifier" : { - "localId" : "352", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "353", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "expression" : { - "localId" : "345", - "type" : "Union", - "resultTypeSpecifier" : { - "localId" : "350", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "351", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "signature" : [ { - "localId" : "346", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "347", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "348", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "349", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "337", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "338", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "339", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "335", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "high" : { - "localId" : "336", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "4", - "type" : "Literal" - } - }, { - "localId" : "342", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "343", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "344", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "340", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "6", - "type" : "Literal" - }, - "high" : { - "localId" : "341", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal" - } - } ] - } - }, { - "localId" : "356", - "name" : "IntMeetsUnion", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "356", - "s" : [ { - "value" : [ "","define ","IntMeetsUnion",": " ] - }, { - "r" : "367", - "s" : [ { - "r" : "359", - "s" : [ { - "r" : "357", - "value" : [ "Interval[","0",",","5","]" ] - } ] - }, { - "value" : [ " union " ] - }, { - "r" : "364", - "s" : [ { - "r" : "362", - "value" : [ "Interval[","5",",","10","]" ] - } ] - } ] - } ] - } - } ], + "type" : "IntervalTypeSpecifier", + "localId" : "599", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "600", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + } ] + } + }, { + "localId" : "608", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "NoOverlap", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "608", + "s" : [ { + "value" : [ "", "define ", "NoOverlap", ": " ] + }, { + "r" : "615", + "s" : [ { + "r" : "609", + "s" : [ { + "value" : [ "ivlC" ] + } ] + }, { + "r" : "615", + "value" : [ " ", "overlaps after", " " ] + }, { + "r" : "612", + "s" : [ { + "value" : [ "ivlD" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "OverlapsAfter", + "localId" : "615", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "616", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "617", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "618", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "619", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "ExpressionRef", + "localId" : "609", + "name" : "ivlC", + "annotation" : [ ], "resultTypeSpecifier" : { - "localId" : "374", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "375", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "expression" : { - "localId" : "367", - "type" : "Union", - "resultTypeSpecifier" : { - "localId" : "372", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "373", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "signature" : [ { - "localId" : "368", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "369", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "370", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "371", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "359", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "360", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "361", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "357", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "high" : { - "localId" : "358", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal" - } - }, { - "localId" : "364", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "365", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "366", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "362", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal" - }, - "high" : { - "localId" : "363", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal" - } - } ] - } - }, { - "localId" : "378", - "name" : "IntOverlapsUnion", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "378", - "s" : [ { - "value" : [ "","define ","IntOverlapsUnion",": " ] - }, { - "r" : "389", - "s" : [ { - "r" : "381", - "s" : [ { - "r" : "379", - "value" : [ "Interval[","0",",","7","]" ] - } ] - }, { - "value" : [ " union " ] - }, { - "r" : "386", - "s" : [ { - "r" : "384", - "value" : [ "Interval[","3",",","10","]" ] - } ] - } ] - } ] - } - } ], + "type" : "IntervalTypeSpecifier", + "localId" : "610", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "611", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + }, { + "type" : "ExpressionRef", + "localId" : "612", + "name" : "ivlD", + "annotation" : [ ], "resultTypeSpecifier" : { - "localId" : "396", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "397", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } + "type" : "IntervalTypeSpecifier", + "localId" : "613", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "614", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + } ] + } + }, { + "localId" : "622", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "NoImpreciseOverlap", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "622", + "s" : [ { + "value" : [ "", "define ", "NoImpreciseOverlap", ": " ] + }, { + "r" : "629", + "s" : [ { + "r" : "623", + "s" : [ { + "value" : [ "ivlE" ] + } ] + }, { + "r" : "629", + "value" : [ " ", "overlaps after", " " ] + }, { + "r" : "626", + "s" : [ { + "value" : [ "ivlG" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "OverlapsAfter", + "localId" : "629", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "630", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "631", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "632", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "633", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "ExpressionRef", + "localId" : "623", + "name" : "ivlE", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "624", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "625", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + }, { + "type" : "ExpressionRef", + "localId" : "626", + "name" : "ivlG", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "627", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "628", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + } ] + } + }, { + "localId" : "636", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "MatchingPrecisionOverlap", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "636", + "s" : [ { + "value" : [ "", "define ", "MatchingPrecisionOverlap", ": " ] + }, { + "r" : "643", + "s" : [ { + "r" : "637", + "s" : [ { + "value" : [ "ivlG" ] + } ] + }, { + "r" : "643", + "value" : [ " ", "overlaps after", " " ] + }, { + "r" : "640", + "s" : [ { + "value" : [ "ivlF" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "OverlapsAfter", + "localId" : "643", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "644", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "645", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "646", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "647", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "ExpressionRef", + "localId" : "637", + "name" : "ivlG", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "638", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "639", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + }, { + "type" : "ExpressionRef", + "localId" : "640", + "name" : "ivlF", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "641", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "642", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + } ] + } + }, { + "localId" : "650", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "UnknownOverlap", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "650", + "s" : [ { + "value" : [ "", "define ", "UnknownOverlap", ": " ] + }, { + "r" : "657", + "s" : [ { + "r" : "651", + "s" : [ { + "value" : [ "ivlH" ] + } ] + }, { + "r" : "657", + "value" : [ " ", "overlaps after", " " ] + }, { + "r" : "654", + "s" : [ { + "value" : [ "ivlE" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "OverlapsAfter", + "localId" : "657", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "658", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "659", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "660", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "661", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "ExpressionRef", + "localId" : "651", + "name" : "ivlH", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "652", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "653", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + }, { + "type" : "ExpressionRef", + "localId" : "654", + "name" : "ivlE", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "655", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "656", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + } ] + } + }, { + "localId" : "664", + "name" : "PrecisionDateIvl", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "664", + "s" : [ { + "value" : [ "", "define ", "PrecisionDateIvl", ": " ] + }, { + "r" : "713", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "681", + "s" : [ { + "r" : "665", + "value" : [ "DateTime", "(", "2012", ", ", "3", ", ", "2", ", ", "12", ", ", "34", ", ", "56", ", ", "789", ")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "705", + "s" : [ { + "r" : "689", + "value" : [ "DateTime", "(", "2012", ", ", "9", ", ", "2", ", ", "1", ", ", "23", ", ", "45", ", ", "678", ")" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "716", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "717", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "expression" : { + "type" : "Interval", + "localId" : "713", + "lowClosed" : true, + "highClosed" : false, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "714", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "715", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "DateTime", + "localId" : "681", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "682", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "683", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "684", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "685", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "686", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "687", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "688", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "665", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] }, - "expression" : { - "localId" : "389", - "type" : "Union", - "resultTypeSpecifier" : { - "localId" : "394", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "395", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "signature" : [ { - "localId" : "390", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "391", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "392", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "393", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "381", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "382", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "383", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "379", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "high" : { - "localId" : "380", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "7", - "type" : "Literal" - } - }, { - "localId" : "386", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "387", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "388", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "384", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "high" : { - "localId" : "385", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal" - } - } ] - } - }, { - "localId" : "400", - "name" : "IntBeginsUnion", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "400", - "s" : [ { - "value" : [ "","define ","IntBeginsUnion",": " ] - }, { - "r" : "411", - "s" : [ { - "r" : "403", - "s" : [ { - "r" : "401", - "value" : [ "Interval[","0",",","5","]" ] - } ] - }, { - "value" : [ " union " ] - }, { - "r" : "408", - "s" : [ { - "r" : "406", - "value" : [ "Interval[","0",",","10","]" ] - } ] - } ] - } ] - } - } ], + "month" : { + "type" : "Literal", + "localId" : "666", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "667", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "668", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "12", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "669", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "34", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "670", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "56", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "671", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "789", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "705", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "706", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "707", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "708", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "709", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "710", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "711", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "712", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "689", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "690", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "9", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "691", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "692", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "693", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "23", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "694", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "45", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "695", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "678", + "annotation" : [ ] + } + } + } + }, { + "localId" : "720", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "OverlapsBeforeDayOfIvlEdge", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "720", + "s" : [ { + "value" : [ "", "define ", "OverlapsBeforeDayOfIvlEdge", ": " ] + }, { + "r" : "775", + "s" : [ { + "r" : "721", + "s" : [ { + "value" : [ "PrecisionDateIvl" ] + } ] + }, { + "r" : "775", + "value" : [ " ", "overlaps after day of", " " ] + }, { + "r" : "772", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "740", + "s" : [ { + "r" : "724", + "value" : [ "DateTime", "(", "2012", ", ", "9", ", ", "2", ", ", "23", ", ", "59", ", ", "59", ", ", "999", ")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "764", + "s" : [ { + "r" : "748", + "value" : [ "DateTime", "(", "2012", ", ", "10", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ "]" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "OverlapsAfter", + "localId" : "775", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "precision" : "Day", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "776", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "777", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "778", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "779", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "ExpressionRef", + "localId" : "721", + "name" : "PrecisionDateIvl", + "annotation" : [ ], "resultTypeSpecifier" : { - "localId" : "418", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "419", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } + "type" : "IntervalTypeSpecifier", + "localId" : "722", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "723", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + }, { + "type" : "Interval", + "localId" : "772", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "773", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "774", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } }, - "expression" : { - "localId" : "411", - "type" : "Union", - "resultTypeSpecifier" : { - "localId" : "416", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "417", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "signature" : [ { - "localId" : "412", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "413", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "414", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "415", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "403", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "404", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "405", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "401", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "high" : { - "localId" : "402", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal" - } - }, { - "localId" : "408", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "409", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "410", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "406", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "high" : { - "localId" : "407", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal" - } - } ] - } - }, { - "localId" : "422", - "name" : "IntDuringUnion", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "422", + "low" : { + "type" : "DateTime", + "localId" : "740", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "741", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "742", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "743", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "744", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "745", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "746", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "747", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "724", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "725", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "9", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "726", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "727", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "23", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "728", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "59", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "729", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "59", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "730", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "999", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "764", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "765", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "766", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "767", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "768", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "769", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "770", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "771", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "748", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "749", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "10", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "750", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "751", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "752", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "753", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "754", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + } + } ] + } + }, { + "localId" : "782", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "OverlapsAfterDayOfIvlEdge", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "782", + "s" : [ { + "value" : [ "", "define ", "OverlapsAfterDayOfIvlEdge", ": " ] + }, { + "r" : "837", + "s" : [ { + "r" : "783", + "s" : [ { + "value" : [ "PrecisionDateIvl" ] + } ] + }, { + "r" : "837", + "value" : [ " ", "overlaps after day of", " " ] + }, { + "r" : "834", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "802", + "s" : [ { + "r" : "786", + "value" : [ "DateTime", "(", "2012", ", ", "1", ", ", "2", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "826", + "s" : [ { + "r" : "810", + "value" : [ "DateTime", "(", "2012", ", ", "3", ", ", "2", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ "]" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "OverlapsAfter", + "localId" : "837", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "precision" : "Day", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "838", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "839", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "840", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "841", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "ExpressionRef", + "localId" : "783", + "name" : "PrecisionDateIvl", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "784", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "785", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + }, { + "type" : "Interval", + "localId" : "834", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "835", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "836", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "DateTime", + "localId" : "802", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "803", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "804", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "805", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "806", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "807", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "808", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "809", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "786", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "787", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "788", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "789", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "790", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "791", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "792", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "826", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "827", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "828", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "829", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "830", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "831", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "832", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "833", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "810", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "811", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "812", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "813", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "814", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "815", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "816", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + } + } ] + } + }, { + "localId" : "844", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "OverlapsContainsDayOfIvl", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "844", + "s" : [ { + "value" : [ "", "define ", "OverlapsContainsDayOfIvl", ": " ] + }, { + "r" : "899", + "s" : [ { + "r" : "845", + "s" : [ { + "value" : [ "PrecisionDateIvl" ] + } ] + }, { + "r" : "899", + "value" : [ " ", "overlaps after day of", " " ] + }, { + "r" : "896", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "864", + "s" : [ { + "r" : "848", + "value" : [ "DateTime", "(", "2012", ", ", "5", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "888", "s" : [ { - "value" : [ "","define ","IntDuringUnion",": " ] - }, { - "r" : "433", - "s" : [ { - "r" : "425", - "s" : [ { - "r" : "423", - "value" : [ "Interval[","3",",","5","]" ] - } ] - }, { - "value" : [ " union " ] - }, { - "r" : "430", - "s" : [ { - "r" : "428", - "value" : [ "Interval[","0",",","10","]" ] - } ] - } ] - } ] - } - } ], + "r" : "872", + "value" : [ "DateTime", "(", "2012", ", ", "6", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ "]" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "OverlapsAfter", + "localId" : "899", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "precision" : "Day", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "900", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "901", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "902", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "903", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "ExpressionRef", + "localId" : "845", + "name" : "PrecisionDateIvl", + "annotation" : [ ], "resultTypeSpecifier" : { - "localId" : "440", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "441", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } + "type" : "IntervalTypeSpecifier", + "localId" : "846", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "847", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + }, { + "type" : "Interval", + "localId" : "896", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "897", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "898", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } }, - "expression" : { - "localId" : "433", - "type" : "Union", - "resultTypeSpecifier" : { - "localId" : "438", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "439", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "signature" : [ { - "localId" : "434", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "435", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "436", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "437", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "425", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "426", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "427", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "423", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "high" : { - "localId" : "424", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal" - } - }, { - "localId" : "430", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "431", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "432", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "428", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "high" : { - "localId" : "429", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal" - } - } ] - } - }, { - "localId" : "444", - "name" : "IntEndsUnion", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "444", - "s" : [ { - "value" : [ "","define ","IntEndsUnion",": " ] - }, { - "r" : "455", - "s" : [ { - "r" : "447", - "s" : [ { - "r" : "445", - "value" : [ "Interval[","5",",","10","]" ] - } ] - }, { - "value" : [ " union " ] - }, { - "r" : "452", - "s" : [ { - "r" : "450", - "value" : [ "Interval[","0",",","10","]" ] - } ] - } ] - } ] - } - } ], + "low" : { + "type" : "DateTime", + "localId" : "864", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "865", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "866", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "867", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "868", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "869", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "870", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "871", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "848", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "849", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "5", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "850", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "851", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "852", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "853", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "854", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "888", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "889", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "890", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "891", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "892", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "893", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "894", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "895", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "872", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "873", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "6", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "874", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "875", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "876", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "877", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "878", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + } + } ] + } + }, { + "localId" : "906", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "OverlapsContainedByDayOfIvl", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "906", + "s" : [ { + "value" : [ "", "define ", "OverlapsContainedByDayOfIvl", ": " ] + }, { + "r" : "961", + "s" : [ { + "r" : "907", + "s" : [ { + "value" : [ "PrecisionDateIvl" ] + } ] + }, { + "r" : "961", + "value" : [ " ", "overlaps after day of", " " ] + }, { + "r" : "958", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "926", + "s" : [ { + "r" : "910", + "value" : [ "DateTime", "(", "2012", ", ", "1", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "950", + "s" : [ { + "r" : "934", + "value" : [ "DateTime", "(", "2012", ", ", "12", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ "]" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "OverlapsAfter", + "localId" : "961", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "precision" : "Day", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "962", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "963", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "964", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "965", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "ExpressionRef", + "localId" : "907", + "name" : "PrecisionDateIvl", + "annotation" : [ ], "resultTypeSpecifier" : { - "localId" : "462", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "463", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } + "type" : "IntervalTypeSpecifier", + "localId" : "908", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "909", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + }, { + "type" : "Interval", + "localId" : "958", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "959", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "960", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } }, - "expression" : { - "localId" : "455", - "type" : "Union", - "resultTypeSpecifier" : { - "localId" : "460", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "461", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "signature" : [ { - "localId" : "456", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "457", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "458", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "459", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "447", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "448", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "449", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "445", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal" - }, - "high" : { - "localId" : "446", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal" - } - }, { - "localId" : "452", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "453", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "454", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "450", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "high" : { - "localId" : "451", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal" - } - } ] - } - }, { - "localId" : "466", - "name" : "NullUnion", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "466", - "s" : [ { - "value" : [ "","define ","NullUnion",": " ] - }, { - "r" : "473", - "s" : [ { - "r" : "467", - "value" : [ "null"," union " ] - }, { - "r" : "470", - "s" : [ { - "r" : "468", - "value" : [ "Interval[","0",",","10","]" ] - } ] - } ] - } ] - } - } ], + "low" : { + "type" : "DateTime", + "localId" : "926", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "927", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "928", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "929", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "930", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "931", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "932", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "933", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "910", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "911", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "912", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "913", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "914", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "915", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "916", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "950", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "951", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "952", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "953", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "954", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "955", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "956", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "957", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "934", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "935", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "12", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "936", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "937", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "938", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "939", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "940", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + } + } ] + } + }, { + "localId" : "968", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "NotOverlapsDayOfIvl", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "968", + "s" : [ { + "value" : [ "", "define ", "NotOverlapsDayOfIvl", ": " ] + }, { + "r" : "1023", + "s" : [ { + "r" : "969", + "s" : [ { + "value" : [ "PrecisionDateIvl" ] + } ] + }, { + "r" : "1023", + "value" : [ " ", "overlaps after day of", " " ] + }, { + "r" : "1020", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "988", + "s" : [ { + "r" : "972", + "value" : [ "DateTime", "(", "2012", ", ", "1", ", ", "2", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "1012", + "s" : [ { + "r" : "996", + "value" : [ "DateTime", "(", "2012", ", ", "3", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ "]" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "OverlapsAfter", + "localId" : "1023", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "precision" : "Day", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "1024", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1025", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "1026", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1027", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "ExpressionRef", + "localId" : "969", + "name" : "PrecisionDateIvl", + "annotation" : [ ], "resultTypeSpecifier" : { - "localId" : "483", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "484", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } + "type" : "IntervalTypeSpecifier", + "localId" : "970", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "971", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + }, { + "type" : "Interval", + "localId" : "1020", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1021", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1022", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } }, - "expression" : { - "localId" : "473", - "type" : "Union", - "resultTypeSpecifier" : { - "localId" : "481", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "482", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "signature" : [ { - "localId" : "477", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "478", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "479", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "480", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "474", - "type" : "As", - "signature" : [ ], - "operand" : { - "localId" : "467", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - }, - "asTypeSpecifier" : { - "localId" : "475", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "476", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } - }, { - "localId" : "470", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "471", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "472", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "468", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "high" : { - "localId" : "469", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal" - } - } ] - } - }, { - "localId" : "487", - "name" : "UnionNull", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "487", + "low" : { + "type" : "DateTime", + "localId" : "988", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "989", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "990", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "991", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "992", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "993", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "994", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "995", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "972", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "973", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "974", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "975", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "976", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "977", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "978", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "1012", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1013", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1014", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1015", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1016", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1017", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1018", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1019", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "996", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "997", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "998", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "999", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "1000", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "1001", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "1002", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + } + } ] + } + }, { + "localId" : "1030", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "OverlapsAfterDayOfImpreciseInterval", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "1030", + "s" : [ { + "value" : [ "", "define ", "OverlapsAfterDayOfImpreciseInterval", ": " ] + }, { + "r" : "1055", + "s" : [ { + "r" : "1031", + "s" : [ { + "value" : [ "PrecisionDateIvl" ] + } ] + }, { + "r" : "1055", + "value" : [ " ", "overlaps after day of", " " ] + }, { + "r" : "1052", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "1040", "s" : [ { - "value" : [ "","define ","UnionNull",": " ] - }, { - "r" : "494", - "s" : [ { - "r" : "490", - "s" : [ { - "r" : "488", - "value" : [ "Interval[","5",",","10","]" ] - } ] - }, { - "r" : "493", - "value" : [ " union ","null" ] - } ] - } ] - } - } ], + "r" : "1034", + "value" : [ "DateTime", "(", "2012", ", ", "1", ")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "1049", + "s" : [ { + "r" : "1043", + "value" : [ "DateTime", "(", "2012", ", ", "4", ")" ] + } ] + }, { + "value" : [ "]" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "OverlapsAfter", + "localId" : "1055", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "precision" : "Day", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "1056", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1057", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "1058", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1059", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "ExpressionRef", + "localId" : "1031", + "name" : "PrecisionDateIvl", + "annotation" : [ ], "resultTypeSpecifier" : { - "localId" : "504", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "505", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } + "type" : "IntervalTypeSpecifier", + "localId" : "1032", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1033", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + }, { + "type" : "Interval", + "localId" : "1052", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1053", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1054", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } }, - "expression" : { - "localId" : "494", - "type" : "Union", - "resultTypeSpecifier" : { - "localId" : "502", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "503", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "signature" : [ { - "localId" : "498", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "499", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "500", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "501", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "490", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "491", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "492", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "488", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal" - }, - "high" : { - "localId" : "489", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal" - } - }, { - "localId" : "495", - "type" : "As", - "signature" : [ ], - "operand" : { - "localId" : "493", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - }, - "asTypeSpecifier" : { - "localId" : "496", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "497", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } - } ] - } - }, { - "localId" : "508", - "name" : "NullUnionNull", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "508", + "low" : { + "type" : "DateTime", + "localId" : "1040", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1041", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1042", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1034", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1035", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "1049", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1050", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1051", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1043", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1044", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "4", + "annotation" : [ ] + } + } + } ] + } + }, { + "localId" : "1062", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "MayOverlapBeforeDayOfImpreciseIvl", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "1062", + "s" : [ { + "value" : [ "", "define ", "MayOverlapBeforeDayOfImpreciseIvl", ": " ] + }, { + "r" : "1087", + "s" : [ { + "r" : "1063", + "s" : [ { + "value" : [ "PrecisionDateIvl" ] + } ] + }, { + "r" : "1087", + "value" : [ " ", "overlaps after day of", " " ] + }, { + "r" : "1084", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "1072", + "s" : [ { + "r" : "1066", + "value" : [ "DateTime", "(", "2012", ", ", "9", ")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "1081", + "s" : [ { + "r" : "1075", + "value" : [ "DateTime", "(", "2012", ", ", "10", ")" ] + } ] + }, { + "value" : [ "]" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "OverlapsAfter", + "localId" : "1087", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "precision" : "Day", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "1088", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1089", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "1090", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1091", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "ExpressionRef", + "localId" : "1063", + "name" : "PrecisionDateIvl", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1064", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1065", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + }, { + "type" : "Interval", + "localId" : "1084", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1085", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1086", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "DateTime", + "localId" : "1072", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1073", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1074", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1066", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1067", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "9", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "1081", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1082", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1083", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1075", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1076", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "10", + "annotation" : [ ] + } + } + } ] + } + }, { + "localId" : "1094", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "MayOverlapAfterDayOfImpreciseIvl", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "1094", + "s" : [ { + "value" : [ "", "define ", "MayOverlapAfterDayOfImpreciseIvl", ": " ] + }, { + "r" : "1119", + "s" : [ { + "r" : "1095", + "s" : [ { + "value" : [ "PrecisionDateIvl" ] + } ] + }, { + "r" : "1119", + "value" : [ " ", "overlaps after day of", " " ] + }, { + "r" : "1116", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "1104", + "s" : [ { + "r" : "1098", + "value" : [ "DateTime", "(", "2012", ", ", "1", ")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "1113", "s" : [ { - "value" : [ "","define ","NullUnionNull",": " ] - }, { - "r" : "529", - "s" : [ { - "r" : "509", - "s" : [ { - "value" : [ "(" ] - }, { - "r" : "509", - "s" : [ { - "r" : "510", - "value" : [ "null"," as " ] - }, { - "r" : "511", - "s" : [ { - "value" : [ "Interval<" ] - }, { - "r" : "512", - "s" : [ { - "value" : [ "Integer" ] - } ] - }, { - "value" : [ ">" ] - } ] - } ] - }, { - "value" : [ ")" ] - } ] - }, { - "value" : [ " union " ] - }, { - "r" : "519", - "s" : [ { - "value" : [ "(" ] - }, { - "r" : "519", - "s" : [ { - "r" : "520", - "value" : [ "null"," as " ] - }, { - "r" : "521", - "s" : [ { - "value" : [ "Interval<" ] - }, { - "r" : "522", - "s" : [ { - "value" : [ "Integer" ] - } ] - }, { - "value" : [ ">" ] - } ] - } ] - }, { - "value" : [ ")" ] - } ] - } ] - } ] - } - } ], + "r" : "1107", + "value" : [ "DateTime", "(", "2012", ", ", "3", ")" ] + } ] + }, { + "value" : [ "]" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "OverlapsAfter", + "localId" : "1119", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "precision" : "Day", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "1120", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1121", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "1122", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1123", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "ExpressionRef", + "localId" : "1095", + "name" : "PrecisionDateIvl", + "annotation" : [ ], "resultTypeSpecifier" : { - "localId" : "536", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "537", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } + "type" : "IntervalTypeSpecifier", + "localId" : "1096", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1097", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + }, { + "type" : "Interval", + "localId" : "1116", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1117", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1118", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } }, - "expression" : { - "localId" : "529", - "type" : "Union", - "resultTypeSpecifier" : { - "localId" : "534", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "535", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "signature" : [ { - "localId" : "530", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "531", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "532", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "533", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "509", - "strict" : false, - "type" : "As", - "resultTypeSpecifier" : { - "localId" : "517", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "518", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "signature" : [ ], - "operand" : { - "localId" : "510", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - }, - "asTypeSpecifier" : { - "localId" : "511", - "type" : "IntervalTypeSpecifier", - "resultTypeSpecifier" : { - "localId" : "513", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "514", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "pointType" : { - "localId" : "512", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } - }, { - "localId" : "519", - "strict" : false, - "type" : "As", - "resultTypeSpecifier" : { - "localId" : "527", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "528", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "signature" : [ ], - "operand" : { - "localId" : "520", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - }, - "asTypeSpecifier" : { - "localId" : "521", - "type" : "IntervalTypeSpecifier", - "resultTypeSpecifier" : { - "localId" : "523", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "524", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "pointType" : { - "localId" : "522", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } - } ] - } - } ] - } - } + "low" : { + "type" : "DateTime", + "localId" : "1104", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1105", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1106", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1098", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1099", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "1113", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1114", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1115", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1107", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1108", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + } + } + } ] + } + } ] + } + } } -/* DateTimeIntervalUnion -library TestSnippet version '1' -using Simple version '1.0.0' -context Patient -define DateTimeFullInterval: Interval[DateTime(2012, 1, 1, 0, 0, 0, 0), DateTime(2013, 1, 1, 0, 0, 0, 0)] -define DateTimeClosedUnionClosed: Interval[DateTime(2012, 1, 1, 0, 0, 0, 0), DateTime(2012, 6, 1, 0, 0, 0, 0)] union Interval[DateTime(2012, 6, 1, 0, 0, 0, 0), DateTime(2013, 1, 1, 0, 0, 0, 0)] -define DateTimeClosedUnionOpen: Interval[DateTime(2012, 1, 1, 0, 0, 0, 0), DateTime(2012, 6, 1, 0, 0, 0, 0)] union Interval[DateTime(2012, 6, 1, 0, 0, 0, 0), DateTime(2013, 1, 1, 0, 0, 0, 0)) -define DateTimeOpenUnionOpen: Interval(DateTime(2012, 1, 1, 0, 0, 0, 0), DateTime(2012, 6, 1, 0, 0, 0, 0)] union Interval[DateTime(2012, 6, 1, 0, 0, 0, 0), DateTime(2013, 1, 1, 0, 0, 0, 0)) -define DateTimeOpenUnionClosed: Interval(DateTime(2012, 1, 1, 0, 0, 0, 0), DateTime(2012, 6, 1, 0, 0, 0, 0)] union Interval[DateTime(2012, 6, 1, 0, 0, 0, 0), DateTime(2013, 1, 1, 0, 0, 0, 0)] -define DateTimeSameAsUnion: Interval[DateTime(2012, 1, 1, 0, 0, 0, 0), DateTime(2013, 1, 1, 0, 0, 0, 0)] union Interval[DateTime(2012, 1, 1, 0, 0, 0, 0), DateTime(2013, 1, 1, 0, 0, 0, 0)] -define DateTimeBeforeUnion: Interval[DateTime(2012, 1, 1, 0, 0, 0, 0), DateTime(2012, 4, 1, 0, 0, 0, 0)] union Interval[DateTime(2012, 7, 1, 0, 0, 0, 0), DateTime(2013, 1, 1, 0, 0, 0, 0)] -define DateTimeMeetsUnion: Interval[DateTime(2012, 1, 1, 0, 0, 0, 0), DateTime(2012, 6, 1, 0, 0, 0, 0)] union Interval[DateTime(2012, 6, 1, 0, 0, 0, 0), DateTime(2013, 1, 1, 0, 0, 0, 0)] -define DateTimeOverlapsUnion: Interval[DateTime(2012, 1, 1, 0, 0, 0, 0), DateTime(2012, 7, 1, 0, 0, 0, 0)] union Interval[DateTime(2012, 3, 1, 0, 0, 0, 0), DateTime(2013, 1, 1, 0, 0, 0, 0)] -define DateTimeBeginsUnion: Interval[DateTime(2012, 1, 1, 0, 0, 0, 0), DateTime(2012, 6, 1, 0, 0, 0, 0)] union Interval[DateTime(2012, 1, 1, 0, 0, 0, 0), DateTime(2013, 1, 1, 0, 0, 0, 0)] -define DateTimeDuringUnion: Interval[DateTime(2012, 3, 1, 0, 0, 0, 0), DateTime(2012, 5, 1, 0, 0, 0, 0)] union Interval[DateTime(2012, 1, 1, 0, 0, 0, 0), DateTime(2013, 1, 1, 0, 0, 0, 0)] -define DateTimeEndsUnion: Interval[DateTime(2012, 6, 1, 0, 0, 0, 0), DateTime(2013, 1, 1, 0, 0, 0, 0)] union Interval[DateTime(2012, 1, 1, 0, 0, 0, 0), DateTime(2013, 1, 1, 0, 0, 0, 0)] +/* OverlapsBefore +library TestSnippet version '1' +using Simple version '1.0.0' +context Patient +define OverlapsBeforeIntIvl: Interval[1, 5] overlaps before Interval[2, 7] +define OverlapsAfterIntIvl: Interval[3, 8] overlaps before Interval[1, 6] +define OverlapsBoundaryIntIvl: Interval[1, 5] overlaps before Interval[5, 10] +define NoOverlapsIntIvl: Interval[1,5) overlaps before Interval[5, 10] +define OverlapsBeforeRealIvl: Interval[1.234, 1.567] overlaps before Interval[1.345, 1.678] +define OverlapsAfterRealIvl: Interval[1.345, 1.678] overlaps before Interval[1.234, 1.567] +define OverlapsBoundaryRealIvl: Interval[1.0, 1.234] overlaps before Interval[1.234, 2.0] +define NoOverlapsRealIvl: Interval[1.0, 1.23456789) overlaps before Interval[1.23456789, 2.0] */ -module.exports['DateTimeIntervalUnion'] = { - "library" : { - "localId" : "0", - "annotation" : [ { - "translatorVersion" : "3.27.0", - "translatorOptions" : "EnableDateRangeOptimization,EnableAnnotations,EnableResultTypes", - "signatureLevel" : "All", - "type" : "CqlToElmInfo" - }, { - "type" : "Annotation", - "s" : { - "r" : "1410", +module.exports['OverlapsBefore'] = { + "library" : { + "localId" : "0", + "annotation" : [ { + "type" : "CqlToElmInfo", + "translatorVersion" : "4.2.0", + "translatorOptions" : "EnableDateRangeOptimization,EnableAnnotations,EnableResultTypes", + "signatureLevel" : "All" + }, { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "340", + "s" : [ { + "value" : [ "", "library TestSnippet version '1'" ] + } ] + } + } ], + "identifier" : { + "id" : "TestSnippet", + "version" : "1" + }, + "schemaIdentifier" : { + "id" : "urn:hl7-org:elm", + "version" : "r1" + }, + "usings" : { + "def" : [ { + "localId" : "1", + "localIdentifier" : "System", + "uri" : "urn:hl7-org:elm-types:r1", + "annotation" : [ ] + }, { + "localId" : "206", + "localIdentifier" : "Simple", + "uri" : "https://github.com/cqframework/cql-execution/simple", + "version" : "1.0.0", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "206", "s" : [ { - "value" : [ "","library TestSnippet version '1'" ] - } ] - } - } ], - "identifier" : { - "id" : "TestSnippet", - "version" : "1" - }, - "schemaIdentifier" : { - "id" : "urn:hl7-org:elm", - "version" : "r1" - }, - "usings" : { - "def" : [ { - "localId" : "1", - "localIdentifier" : "System", - "uri" : "urn:hl7-org:elm-types:r1" - }, { - "localId" : "206", - "localIdentifier" : "Simple", - "uri" : "https://github.com/cqframework/cql-execution/simple", - "version" : "1.0.0", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "206", - "s" : [ { - "value" : [ "","using " ] - }, { - "s" : [ { - "value" : [ "Simple" ] - } ] - }, { - "value" : [ " version '1.0.0'" ] - } ] - } - } ] - } ] - }, - "contexts" : { - "def" : [ { - "localId" : "211", - "name" : "Patient" - } ] - }, - "statements" : { - "def" : [ { - "localId" : "209", - "name" : "Patient", - "context" : "Patient", - "expression" : { - "localId" : "210", - "type" : "SingletonFrom", - "signature" : [ ], - "operand" : { - "localId" : "208", - "dataType" : "{https://github.com/cqframework/cql-execution/simple}Patient", - "type" : "Retrieve", - "include" : [ ], - "codeFilter" : [ ], - "dateFilter" : [ ], - "otherFilter" : [ ] - } - } - }, { - "localId" : "214", - "name" : "DateTimeFullInterval", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "214", - "s" : [ { - "value" : [ "","define ","DateTimeFullInterval",": " ] - }, { - "r" : "263", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "231", - "s" : [ { - "r" : "215", - "value" : [ "DateTime","(","2012",", ","1",", ","1",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "255", - "s" : [ { - "r" : "239", - "value" : [ "DateTime","(","2013",", ","1",", ","1",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ "]" ] - } ] - } ] - } - } ], + "value" : [ "", "using " ] + }, { + "s" : [ { + "value" : [ "Simple" ] + } ] + }, { + "value" : [ " version '1.0.0'" ] + } ] + } + } ] + } ] + }, + "contexts" : { + "def" : [ { + "localId" : "211", + "name" : "Patient", + "annotation" : [ ] + } ] + }, + "statements" : { + "def" : [ { + "localId" : "209", + "name" : "Patient", + "context" : "Patient", + "annotation" : [ ], + "expression" : { + "type" : "SingletonFrom", + "localId" : "210", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Retrieve", + "localId" : "208", + "dataType" : "{https://github.com/cqframework/cql-execution/simple}Patient", + "annotation" : [ ], + "include" : [ ], + "codeFilter" : [ ], + "dateFilter" : [ ], + "otherFilter" : [ ] + } + } + }, { + "localId" : "214", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "OverlapsBeforeIntIvl", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "214", + "s" : [ { + "value" : [ "", "define ", "OverlapsBeforeIntIvl", ": " ] + }, { + "r" : "225", + "s" : [ { + "r" : "217", + "s" : [ { + "r" : "215", + "value" : [ "Interval[", "1", ", ", "5", "]" ] + } ] + }, { + "r" : "225", + "value" : [ " ", "overlaps before", " " ] + }, { + "r" : "222", + "s" : [ { + "r" : "220", + "value" : [ "Interval[", "2", ", ", "7", "]" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "OverlapsBefore", + "localId" : "225", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "226", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "227", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "228", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "229", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "Interval", + "localId" : "217", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], "resultTypeSpecifier" : { - "localId" : "266", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "267", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "expression" : { - "localId" : "263", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "264", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "265", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "231", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "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" - }, { - "localId" : "234", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "235", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "236", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "237", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "238", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "215", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "216", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "217", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "218", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "219", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "220", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "221", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - }, - "high" : { - "localId" : "255", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "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" - }, { - "localId" : "258", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "259", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "260", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "261", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "262", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "239", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2013", - "type" : "Literal" - }, - "month" : { - "localId" : "240", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "241", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "242", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "243", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "244", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "245", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - } - } - }, { - "localId" : "270", - "name" : "DateTimeClosedUnionClosed", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "270", - "s" : [ { - "value" : [ "","define ","DateTimeClosedUnionClosed",": " ] - }, { - "r" : "373", - "s" : [ { - "r" : "319", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "287", - "s" : [ { - "r" : "271", - "value" : [ "DateTime","(","2012",", ","1",", ","1",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "311", - "s" : [ { - "r" : "295", - "value" : [ "DateTime","(","2012",", ","6",", ","1",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ "]" ] - } ] - }, { - "value" : [ " union " ] - }, { - "r" : "370", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "338", - "s" : [ { - "r" : "322", - "value" : [ "DateTime","(","2012",", ","6",", ","1",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "362", - "s" : [ { - "r" : "346", - "value" : [ "DateTime","(","2013",", ","1",", ","1",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ "]" ] - } ] - } ] - } ] - } - } ], + "type" : "IntervalTypeSpecifier", + "localId" : "218", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "219", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "low" : { + "type" : "Literal", + "localId" : "215", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "high" : { + "type" : "Literal", + "localId" : "216", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "5", + "annotation" : [ ] + } + }, { + "type" : "Interval", + "localId" : "222", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], "resultTypeSpecifier" : { - "localId" : "380", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "381", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "expression" : { - "localId" : "373", - "type" : "Union", - "resultTypeSpecifier" : { - "localId" : "378", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "379", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "signature" : [ { - "localId" : "374", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "375", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "376", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "377", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "319", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "320", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "321", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "287", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "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" - }, { - "localId" : "290", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "291", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "292", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "293", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "294", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "271", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "272", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "273", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "274", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "275", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "276", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "277", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - }, - "high" : { - "localId" : "311", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "312", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "313", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "314", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "315", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "316", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "317", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "318", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "295", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "296", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "6", - "type" : "Literal" - }, - "day" : { - "localId" : "297", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "298", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "299", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "300", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "301", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - } - }, { - "localId" : "370", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "371", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "372", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "338", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "339", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "340", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "341", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "342", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "343", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "344", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "345", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "322", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "323", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "6", - "type" : "Literal" - }, - "day" : { - "localId" : "324", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "325", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "326", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "327", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "328", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - }, - "high" : { - "localId" : "362", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "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" - }, { - "localId" : "365", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "366", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "367", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "368", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "369", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "346", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2013", - "type" : "Literal" - }, - "month" : { - "localId" : "347", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "348", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "349", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "350", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "351", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "352", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - } - } ] - } - }, { - "localId" : "384", - "name" : "DateTimeClosedUnionOpen", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "384", - "s" : [ { - "value" : [ "","define ","DateTimeClosedUnionOpen",": " ] - }, { - "r" : "487", - "s" : [ { - "r" : "433", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "401", - "s" : [ { - "r" : "385", - "value" : [ "DateTime","(","2012",", ","1",", ","1",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "425", - "s" : [ { - "r" : "409", - "value" : [ "DateTime","(","2012",", ","6",", ","1",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ "]" ] - } ] - }, { - "value" : [ " union " ] - }, { - "r" : "484", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "452", - "s" : [ { - "r" : "436", - "value" : [ "DateTime","(","2012",", ","6",", ","1",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "476", - "s" : [ { - "r" : "460", - "value" : [ "DateTime","(","2013",", ","1",", ","1",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ ")" ] - } ] - } ] - } ] - } - } ], + "type" : "IntervalTypeSpecifier", + "localId" : "223", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "224", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "low" : { + "type" : "Literal", + "localId" : "220", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "annotation" : [ ] + }, + "high" : { + "type" : "Literal", + "localId" : "221", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "7", + "annotation" : [ ] + } + } ] + } + }, { + "localId" : "232", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "OverlapsAfterIntIvl", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "232", + "s" : [ { + "value" : [ "", "define ", "OverlapsAfterIntIvl", ": " ] + }, { + "r" : "243", + "s" : [ { + "r" : "235", + "s" : [ { + "r" : "233", + "value" : [ "Interval[", "3", ", ", "8", "]" ] + } ] + }, { + "r" : "243", + "value" : [ " ", "overlaps before", " " ] + }, { + "r" : "240", + "s" : [ { + "r" : "238", + "value" : [ "Interval[", "1", ", ", "6", "]" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "OverlapsBefore", + "localId" : "243", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "244", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "245", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "246", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "247", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "Interval", + "localId" : "235", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], "resultTypeSpecifier" : { - "localId" : "494", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "495", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } + "type" : "IntervalTypeSpecifier", + "localId" : "236", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "237", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } }, - "expression" : { - "localId" : "487", - "type" : "Union", - "resultTypeSpecifier" : { - "localId" : "492", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "493", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "signature" : [ { - "localId" : "488", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "489", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "490", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "491", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "433", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "434", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "435", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "401", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "402", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "403", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "404", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "405", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "406", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "407", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "408", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "385", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "386", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "387", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "388", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "389", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "390", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "391", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - }, - "high" : { - "localId" : "425", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "426", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "427", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "428", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "429", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "430", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "431", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "432", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "409", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "410", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "6", - "type" : "Literal" - }, - "day" : { - "localId" : "411", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "412", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "413", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "414", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "415", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - } - }, { - "localId" : "484", - "lowClosed" : true, - "highClosed" : false, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "485", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "486", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "452", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "453", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "454", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "455", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "456", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "457", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "458", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "459", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "436", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "437", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "6", - "type" : "Literal" - }, - "day" : { - "localId" : "438", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "439", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "440", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "441", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "442", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - }, - "high" : { - "localId" : "476", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "477", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "478", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "479", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "480", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "481", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "482", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "483", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "460", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2013", - "type" : "Literal" - }, - "month" : { - "localId" : "461", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "462", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "463", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "464", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "465", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "466", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - } - } ] - } - }, { - "localId" : "498", - "name" : "DateTimeOpenUnionOpen", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "498", - "s" : [ { - "value" : [ "","define ","DateTimeOpenUnionOpen",": " ] - }, { - "r" : "601", - "s" : [ { - "r" : "547", - "s" : [ { - "value" : [ "Interval(" ] - }, { - "r" : "515", - "s" : [ { - "r" : "499", - "value" : [ "DateTime","(","2012",", ","1",", ","1",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "539", - "s" : [ { - "r" : "523", - "value" : [ "DateTime","(","2012",", ","6",", ","1",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ "]" ] - } ] - }, { - "value" : [ " union " ] - }, { - "r" : "598", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "566", - "s" : [ { - "r" : "550", - "value" : [ "DateTime","(","2012",", ","6",", ","1",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "590", - "s" : [ { - "r" : "574", - "value" : [ "DateTime","(","2013",", ","1",", ","1",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ ")" ] - } ] - } ] - } ] - } - } ], + "low" : { + "type" : "Literal", + "localId" : "233", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "high" : { + "type" : "Literal", + "localId" : "234", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "8", + "annotation" : [ ] + } + }, { + "type" : "Interval", + "localId" : "240", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], "resultTypeSpecifier" : { - "localId" : "608", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "609", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "expression" : { - "localId" : "601", - "type" : "Union", - "resultTypeSpecifier" : { - "localId" : "606", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "607", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "signature" : [ { - "localId" : "602", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "603", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "604", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "605", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "547", - "lowClosed" : false, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "548", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "549", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "515", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "516", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "517", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "518", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "519", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "520", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "521", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "522", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "499", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "500", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "501", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "502", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "503", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "504", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "505", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - }, - "high" : { - "localId" : "539", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "540", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "541", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "542", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "543", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "544", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "545", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "546", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "523", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "524", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "6", - "type" : "Literal" - }, - "day" : { - "localId" : "525", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "526", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "527", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "528", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "529", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - } - }, { - "localId" : "598", - "lowClosed" : true, - "highClosed" : false, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "599", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "600", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "566", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "567", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "568", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "569", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "570", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "571", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "572", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "573", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "550", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "551", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "6", - "type" : "Literal" - }, - "day" : { - "localId" : "552", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "553", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "554", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "555", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "556", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - }, - "high" : { - "localId" : "590", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "591", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "592", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "593", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "594", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "595", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "596", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "597", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "574", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2013", - "type" : "Literal" - }, - "month" : { - "localId" : "575", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "576", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "577", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "578", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "579", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "580", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - } - } ] - } - }, { - "localId" : "612", - "name" : "DateTimeOpenUnionClosed", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "612", - "s" : [ { - "value" : [ "","define ","DateTimeOpenUnionClosed",": " ] - }, { - "r" : "715", - "s" : [ { - "r" : "661", - "s" : [ { - "value" : [ "Interval(" ] - }, { - "r" : "629", - "s" : [ { - "r" : "613", - "value" : [ "DateTime","(","2012",", ","1",", ","1",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "653", - "s" : [ { - "r" : "637", - "value" : [ "DateTime","(","2012",", ","6",", ","1",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ "]" ] - } ] - }, { - "value" : [ " union " ] - }, { - "r" : "712", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "680", - "s" : [ { - "r" : "664", - "value" : [ "DateTime","(","2012",", ","6",", ","1",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "704", - "s" : [ { - "r" : "688", - "value" : [ "DateTime","(","2013",", ","1",", ","1",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ "]" ] - } ] - } ] - } ] - } - } ], + "type" : "IntervalTypeSpecifier", + "localId" : "241", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "242", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "low" : { + "type" : "Literal", + "localId" : "238", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "high" : { + "type" : "Literal", + "localId" : "239", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "6", + "annotation" : [ ] + } + } ] + } + }, { + "localId" : "250", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "OverlapsBoundaryIntIvl", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "250", + "s" : [ { + "value" : [ "", "define ", "OverlapsBoundaryIntIvl", ": " ] + }, { + "r" : "261", + "s" : [ { + "r" : "253", + "s" : [ { + "r" : "251", + "value" : [ "Interval[", "1", ", ", "5", "]" ] + } ] + }, { + "r" : "261", + "value" : [ " ", "overlaps before", " " ] + }, { + "r" : "258", + "s" : [ { + "r" : "256", + "value" : [ "Interval[", "5", ", ", "10", "]" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "OverlapsBefore", + "localId" : "261", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "262", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "263", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "264", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "265", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "Interval", + "localId" : "253", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], "resultTypeSpecifier" : { - "localId" : "722", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "723", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } + "type" : "IntervalTypeSpecifier", + "localId" : "254", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "255", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } }, - "expression" : { - "localId" : "715", - "type" : "Union", - "resultTypeSpecifier" : { - "localId" : "720", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "721", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "signature" : [ { - "localId" : "716", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "717", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "718", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "719", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "661", - "lowClosed" : false, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "662", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "663", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "629", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "630", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "631", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "632", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "633", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "634", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "635", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "636", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "613", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "614", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "615", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "616", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "617", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "618", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "619", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - }, - "high" : { - "localId" : "653", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "654", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "655", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "656", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "657", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "658", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "659", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "660", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "637", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "638", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "6", - "type" : "Literal" - }, - "day" : { - "localId" : "639", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "640", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "641", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "642", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "643", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - } - }, { - "localId" : "712", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "713", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "714", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "680", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "681", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "682", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "683", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "684", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "685", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "686", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "687", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "664", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "665", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "6", - "type" : "Literal" - }, - "day" : { - "localId" : "666", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "667", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "668", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "669", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "670", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - }, - "high" : { - "localId" : "704", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "705", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "706", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "707", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "708", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "709", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "710", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "711", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "688", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2013", - "type" : "Literal" - }, - "month" : { - "localId" : "689", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "690", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "691", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "692", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "693", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "694", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - } - } ] - } - }, { - "localId" : "726", - "name" : "DateTimeSameAsUnion", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "726", - "s" : [ { - "value" : [ "","define ","DateTimeSameAsUnion",": " ] - }, { - "r" : "829", - "s" : [ { - "r" : "775", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "743", - "s" : [ { - "r" : "727", - "value" : [ "DateTime","(","2012",", ","1",", ","1",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "767", - "s" : [ { - "r" : "751", - "value" : [ "DateTime","(","2013",", ","1",", ","1",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ "]" ] - } ] - }, { - "value" : [ " union " ] - }, { - "r" : "826", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "794", - "s" : [ { - "r" : "778", - "value" : [ "DateTime","(","2012",", ","1",", ","1",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "818", - "s" : [ { - "r" : "802", - "value" : [ "DateTime","(","2013",", ","1",", ","1",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ "]" ] - } ] - } ] - } ] - } - } ], + "low" : { + "type" : "Literal", + "localId" : "251", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "high" : { + "type" : "Literal", + "localId" : "252", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "5", + "annotation" : [ ] + } + }, { + "type" : "Interval", + "localId" : "258", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "259", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "260", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "low" : { + "type" : "Literal", + "localId" : "256", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "5", + "annotation" : [ ] + }, + "high" : { + "type" : "Literal", + "localId" : "257", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "10", + "annotation" : [ ] + } + } ] + } + }, { + "localId" : "268", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "NoOverlapsIntIvl", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "268", + "s" : [ { + "value" : [ "", "define ", "NoOverlapsIntIvl", ": " ] + }, { + "r" : "279", + "s" : [ { + "r" : "271", + "s" : [ { + "r" : "269", + "value" : [ "Interval[", "1", ",", "5", ")" ] + } ] + }, { + "r" : "279", + "value" : [ " ", "overlaps before", " " ] + }, { + "r" : "276", + "s" : [ { + "r" : "274", + "value" : [ "Interval[", "5", ", ", "10", "]" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "OverlapsBefore", + "localId" : "279", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "280", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "281", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "282", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "283", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "Interval", + "localId" : "271", + "lowClosed" : true, + "highClosed" : false, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "272", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "273", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "low" : { + "type" : "Literal", + "localId" : "269", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "high" : { + "type" : "Literal", + "localId" : "270", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "5", + "annotation" : [ ] + } + }, { + "type" : "Interval", + "localId" : "276", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], "resultTypeSpecifier" : { - "localId" : "836", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "837", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } + "type" : "IntervalTypeSpecifier", + "localId" : "277", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "278", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } }, - "expression" : { - "localId" : "829", - "type" : "Union", - "resultTypeSpecifier" : { - "localId" : "834", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "835", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "signature" : [ { - "localId" : "830", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "831", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "832", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "833", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "775", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "776", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "777", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "743", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "744", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "745", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "746", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "747", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "748", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "749", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "750", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "727", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "728", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "729", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "730", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "731", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "732", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "733", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - }, - "high" : { - "localId" : "767", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "768", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "769", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "770", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "771", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "772", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "773", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "774", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "751", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2013", - "type" : "Literal" - }, - "month" : { - "localId" : "752", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "753", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "754", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "755", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "756", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "757", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - } - }, { - "localId" : "826", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "827", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "828", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "794", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "795", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "796", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "797", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "798", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "799", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "800", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "801", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "778", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "779", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "780", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "781", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "782", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "783", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "784", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - }, - "high" : { - "localId" : "818", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "819", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "820", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "821", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "822", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "823", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "824", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "825", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "802", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2013", - "type" : "Literal" - }, - "month" : { - "localId" : "803", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "804", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "805", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "806", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "807", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "808", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - } - } ] - } - }, { - "localId" : "840", - "name" : "DateTimeBeforeUnion", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "840", - "s" : [ { - "value" : [ "","define ","DateTimeBeforeUnion",": " ] - }, { - "r" : "943", - "s" : [ { - "r" : "889", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "857", - "s" : [ { - "r" : "841", - "value" : [ "DateTime","(","2012",", ","1",", ","1",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "881", - "s" : [ { - "r" : "865", - "value" : [ "DateTime","(","2012",", ","4",", ","1",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ "]" ] - } ] - }, { - "value" : [ " union " ] - }, { - "r" : "940", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "908", - "s" : [ { - "r" : "892", - "value" : [ "DateTime","(","2012",", ","7",", ","1",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "932", - "s" : [ { - "r" : "916", - "value" : [ "DateTime","(","2013",", ","1",", ","1",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ "]" ] - } ] - } ] - } ] - } - } ], + "low" : { + "type" : "Literal", + "localId" : "274", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "5", + "annotation" : [ ] + }, + "high" : { + "type" : "Literal", + "localId" : "275", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "10", + "annotation" : [ ] + } + } ] + } + }, { + "localId" : "286", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "OverlapsBeforeRealIvl", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "286", + "s" : [ { + "value" : [ "", "define ", "OverlapsBeforeRealIvl", ": " ] + }, { + "r" : "297", + "s" : [ { + "r" : "289", + "s" : [ { + "r" : "287", + "value" : [ "Interval[", "1.234", ", ", "1.567", "]" ] + } ] + }, { + "r" : "297", + "value" : [ " ", "overlaps before", " " ] + }, { + "r" : "294", + "s" : [ { + "r" : "292", + "value" : [ "Interval[", "1.345", ", ", "1.678", "]" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "OverlapsBefore", + "localId" : "297", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "298", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "299", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "300", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "301", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "Interval", + "localId" : "289", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], "resultTypeSpecifier" : { - "localId" : "950", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "951", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } + "type" : "IntervalTypeSpecifier", + "localId" : "290", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "291", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } }, - "expression" : { - "localId" : "943", - "type" : "Union", - "resultTypeSpecifier" : { - "localId" : "948", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "949", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "signature" : [ { - "localId" : "944", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "945", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "946", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "947", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "889", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "890", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "891", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "857", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "858", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "859", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "860", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "861", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "862", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "863", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "864", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "841", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "842", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "843", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "844", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "845", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "846", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "847", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - }, - "high" : { - "localId" : "881", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "882", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "883", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "884", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "885", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "886", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "887", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "888", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "865", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "866", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "4", - "type" : "Literal" - }, - "day" : { - "localId" : "867", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "868", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "869", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "870", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "871", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - } - }, { - "localId" : "940", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "941", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "942", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "908", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "909", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "910", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "911", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "912", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "913", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "914", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "915", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "892", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "893", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "7", - "type" : "Literal" - }, - "day" : { - "localId" : "894", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "895", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "896", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "897", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "898", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - }, - "high" : { - "localId" : "932", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "933", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "934", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "935", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "936", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "937", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "938", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "939", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "916", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2013", - "type" : "Literal" - }, - "month" : { - "localId" : "917", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "918", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "919", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "920", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "921", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "922", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - } - } ] - } - }, { - "localId" : "954", - "name" : "DateTimeMeetsUnion", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "954", - "s" : [ { - "value" : [ "","define ","DateTimeMeetsUnion",": " ] - }, { - "r" : "1057", - "s" : [ { - "r" : "1003", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "971", - "s" : [ { - "r" : "955", - "value" : [ "DateTime","(","2012",", ","1",", ","1",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "995", - "s" : [ { - "r" : "979", - "value" : [ "DateTime","(","2012",", ","6",", ","1",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ "]" ] - } ] - }, { - "value" : [ " union " ] - }, { - "r" : "1054", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "1022", - "s" : [ { - "r" : "1006", - "value" : [ "DateTime","(","2012",", ","6",", ","1",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "1046", - "s" : [ { - "r" : "1030", - "value" : [ "DateTime","(","2013",", ","1",", ","1",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ "]" ] - } ] - } ] - } ] - } - } ], + "low" : { + "type" : "Literal", + "localId" : "287", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "1.234", + "annotation" : [ ] + }, + "high" : { + "type" : "Literal", + "localId" : "288", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "1.567", + "annotation" : [ ] + } + }, { + "type" : "Interval", + "localId" : "294", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], "resultTypeSpecifier" : { - "localId" : "1064", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1065", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "expression" : { - "localId" : "1057", - "type" : "Union", - "resultTypeSpecifier" : { - "localId" : "1062", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1063", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "signature" : [ { - "localId" : "1058", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1059", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "1060", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1061", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "1003", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "1004", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1005", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "971", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "972", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "973", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "974", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "975", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "976", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "977", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "978", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "955", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "956", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "957", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "958", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "959", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "960", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "961", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - }, - "high" : { - "localId" : "995", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "996", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "997", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "998", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "999", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1000", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1001", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1002", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "979", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "980", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "6", - "type" : "Literal" - }, - "day" : { - "localId" : "981", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "982", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "983", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "984", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "985", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - } - }, { - "localId" : "1054", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "1055", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1056", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "1022", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "1023", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1024", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1025", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1026", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1027", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1028", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1029", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1006", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "1007", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "6", - "type" : "Literal" - }, - "day" : { - "localId" : "1008", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "1009", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "1010", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "1011", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "1012", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - }, - "high" : { - "localId" : "1046", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "1047", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1048", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1049", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1050", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1051", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1052", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1053", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1030", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2013", - "type" : "Literal" - }, - "month" : { - "localId" : "1031", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "1032", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "1033", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "1034", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "1035", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "1036", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - } - } ] - } - }, { - "localId" : "1068", - "name" : "DateTimeOverlapsUnion", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "1068", - "s" : [ { - "value" : [ "","define ","DateTimeOverlapsUnion",": " ] - }, { - "r" : "1171", - "s" : [ { - "r" : "1117", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "1085", - "s" : [ { - "r" : "1069", - "value" : [ "DateTime","(","2012",", ","1",", ","1",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "1109", - "s" : [ { - "r" : "1093", - "value" : [ "DateTime","(","2012",", ","7",", ","1",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ "]" ] - } ] - }, { - "value" : [ " union " ] - }, { - "r" : "1168", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "1136", - "s" : [ { - "r" : "1120", - "value" : [ "DateTime","(","2012",", ","3",", ","1",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "1160", - "s" : [ { - "r" : "1144", - "value" : [ "DateTime","(","2013",", ","1",", ","1",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ "]" ] - } ] - } ] - } ] - } - } ], + "type" : "IntervalTypeSpecifier", + "localId" : "295", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "296", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } + }, + "low" : { + "type" : "Literal", + "localId" : "292", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "1.345", + "annotation" : [ ] + }, + "high" : { + "type" : "Literal", + "localId" : "293", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "1.678", + "annotation" : [ ] + } + } ] + } + }, { + "localId" : "304", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "OverlapsAfterRealIvl", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "304", + "s" : [ { + "value" : [ "", "define ", "OverlapsAfterRealIvl", ": " ] + }, { + "r" : "315", + "s" : [ { + "r" : "307", + "s" : [ { + "r" : "305", + "value" : [ "Interval[", "1.345", ", ", "1.678", "]" ] + } ] + }, { + "r" : "315", + "value" : [ " ", "overlaps before", " " ] + }, { + "r" : "312", + "s" : [ { + "r" : "310", + "value" : [ "Interval[", "1.234", ", ", "1.567", "]" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "OverlapsBefore", + "localId" : "315", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "316", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "317", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "318", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "319", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "Interval", + "localId" : "307", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], "resultTypeSpecifier" : { - "localId" : "1178", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1179", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "expression" : { - "localId" : "1171", - "type" : "Union", - "resultTypeSpecifier" : { - "localId" : "1176", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1177", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "signature" : [ { - "localId" : "1172", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1173", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "1174", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1175", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "1117", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "1118", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1119", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "1085", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "1086", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1087", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1088", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1089", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1090", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1091", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1092", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1069", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "1070", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "1071", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "1072", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "1073", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "1074", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "1075", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - }, - "high" : { - "localId" : "1109", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "1110", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1111", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1112", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1113", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1114", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1115", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1116", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1093", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "1094", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "7", - "type" : "Literal" - }, - "day" : { - "localId" : "1095", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "1096", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "1097", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "1098", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "1099", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - } - }, { - "localId" : "1168", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "1169", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1170", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "1136", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "1137", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1138", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1139", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1140", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1141", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1142", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1143", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1120", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "1121", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "1122", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "1123", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "1124", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "1125", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "1126", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - }, - "high" : { - "localId" : "1160", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "1161", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1162", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1163", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1164", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1165", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1166", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1167", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1144", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2013", - "type" : "Literal" - }, - "month" : { - "localId" : "1145", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "1146", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "1147", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "1148", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "1149", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "1150", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - } - } ] - } - }, { - "localId" : "1182", - "name" : "DateTimeBeginsUnion", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "1182", - "s" : [ { - "value" : [ "","define ","DateTimeBeginsUnion",": " ] - }, { - "r" : "1285", - "s" : [ { - "r" : "1231", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "1199", - "s" : [ { - "r" : "1183", - "value" : [ "DateTime","(","2012",", ","1",", ","1",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "1223", - "s" : [ { - "r" : "1207", - "value" : [ "DateTime","(","2012",", ","6",", ","1",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ "]" ] - } ] - }, { - "value" : [ " union " ] - }, { - "r" : "1282", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "1250", - "s" : [ { - "r" : "1234", - "value" : [ "DateTime","(","2012",", ","1",", ","1",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "1274", - "s" : [ { - "r" : "1258", - "value" : [ "DateTime","(","2013",", ","1",", ","1",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ "]" ] - } ] - } ] - } ] - } - } ], + "type" : "IntervalTypeSpecifier", + "localId" : "308", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "309", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } + }, + "low" : { + "type" : "Literal", + "localId" : "305", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "1.345", + "annotation" : [ ] + }, + "high" : { + "type" : "Literal", + "localId" : "306", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "1.678", + "annotation" : [ ] + } + }, { + "type" : "Interval", + "localId" : "312", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], "resultTypeSpecifier" : { - "localId" : "1292", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1293", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "expression" : { - "localId" : "1285", - "type" : "Union", - "resultTypeSpecifier" : { - "localId" : "1290", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1291", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "signature" : [ { - "localId" : "1286", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1287", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "1288", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1289", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "1231", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "1232", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1233", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "1199", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "1200", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1201", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1202", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1203", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1204", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1205", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1206", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1183", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "1184", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "1185", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "1186", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "1187", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "1188", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "1189", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - }, - "high" : { - "localId" : "1223", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "1224", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1225", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1226", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1227", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1228", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1229", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1230", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1207", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "1208", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "6", - "type" : "Literal" - }, - "day" : { - "localId" : "1209", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "1210", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "1211", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "1212", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "1213", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - } - }, { - "localId" : "1282", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "1283", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1284", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "1250", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "1251", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1252", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1253", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1254", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1255", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1256", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1257", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1234", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "1235", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "1236", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "1237", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "1238", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "1239", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "1240", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - }, - "high" : { - "localId" : "1274", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "1275", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1276", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1277", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1278", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1279", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1280", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1281", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1258", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2013", - "type" : "Literal" - }, - "month" : { - "localId" : "1259", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "1260", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "1261", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "1262", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "1263", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "1264", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - } - } ] - } - }, { - "localId" : "1296", - "name" : "DateTimeDuringUnion", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "1296", - "s" : [ { - "value" : [ "","define ","DateTimeDuringUnion",": " ] - }, { - "r" : "1399", - "s" : [ { - "r" : "1345", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "1313", - "s" : [ { - "r" : "1297", - "value" : [ "DateTime","(","2012",", ","3",", ","1",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "1337", - "s" : [ { - "r" : "1321", - "value" : [ "DateTime","(","2012",", ","5",", ","1",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ "]" ] - } ] - }, { - "value" : [ " union " ] - }, { - "r" : "1396", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "1364", - "s" : [ { - "r" : "1348", - "value" : [ "DateTime","(","2012",", ","1",", ","1",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "1388", - "s" : [ { - "r" : "1372", - "value" : [ "DateTime","(","2013",", ","1",", ","1",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ "]" ] - } ] - } ] - } ] - } - } ], + "type" : "IntervalTypeSpecifier", + "localId" : "313", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "314", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } + }, + "low" : { + "type" : "Literal", + "localId" : "310", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "1.234", + "annotation" : [ ] + }, + "high" : { + "type" : "Literal", + "localId" : "311", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "1.567", + "annotation" : [ ] + } + } ] + } + }, { + "localId" : "322", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "OverlapsBoundaryRealIvl", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "322", + "s" : [ { + "value" : [ "", "define ", "OverlapsBoundaryRealIvl", ": " ] + }, { + "r" : "333", + "s" : [ { + "r" : "325", + "s" : [ { + "r" : "323", + "value" : [ "Interval[", "1.0", ", ", "1.234", "]" ] + } ] + }, { + "r" : "333", + "value" : [ " ", "overlaps before", " " ] + }, { + "r" : "330", + "s" : [ { + "r" : "328", + "value" : [ "Interval[", "1.234", ", ", "2.0", "]" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "OverlapsBefore", + "localId" : "333", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "334", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "335", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "336", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "337", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "Interval", + "localId" : "325", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], "resultTypeSpecifier" : { - "localId" : "1406", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1407", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } + "type" : "IntervalTypeSpecifier", + "localId" : "326", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "327", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } }, - "expression" : { - "localId" : "1399", - "type" : "Union", - "resultTypeSpecifier" : { - "localId" : "1404", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1405", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "signature" : [ { - "localId" : "1400", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1401", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "1402", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1403", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "1345", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "1346", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1347", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "1313", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "1314", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1315", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1316", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1317", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1318", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1319", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1320", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1297", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "1298", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "1299", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "1300", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "1301", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "1302", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "1303", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - }, - "high" : { - "localId" : "1337", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "1338", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1339", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1340", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1341", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1342", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1343", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1344", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1321", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "1322", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal" - }, - "day" : { - "localId" : "1323", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "1324", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "1325", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "1326", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "1327", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - } - }, { - "localId" : "1396", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "1397", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1398", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "1364", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "1365", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1366", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1367", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1368", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1369", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1370", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1371", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1348", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "1349", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "1350", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "1351", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "1352", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "1353", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "1354", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - }, - "high" : { - "localId" : "1388", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "1389", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1390", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1391", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1392", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1393", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1394", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1395", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1372", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2013", - "type" : "Literal" - }, - "month" : { - "localId" : "1373", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "1374", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "1375", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "1376", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "1377", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "1378", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - } - } ] - } - }, { - "localId" : "1410", - "name" : "DateTimeEndsUnion", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "1410", - "s" : [ { - "value" : [ "","define ","DateTimeEndsUnion",": " ] - }, { - "r" : "1513", - "s" : [ { - "r" : "1459", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "1427", - "s" : [ { - "r" : "1411", - "value" : [ "DateTime","(","2012",", ","6",", ","1",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "1451", - "s" : [ { - "r" : "1435", - "value" : [ "DateTime","(","2013",", ","1",", ","1",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ "]" ] - } ] - }, { - "value" : [ " union " ] - }, { - "r" : "1510", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "1478", - "s" : [ { - "r" : "1462", - "value" : [ "DateTime","(","2012",", ","1",", ","1",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "1502", - "s" : [ { - "r" : "1486", - "value" : [ "DateTime","(","2013",", ","1",", ","1",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ "]" ] - } ] - } ] - } ] - } - } ], + "low" : { + "type" : "Literal", + "localId" : "323", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "1.0", + "annotation" : [ ] + }, + "high" : { + "type" : "Literal", + "localId" : "324", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "1.234", + "annotation" : [ ] + } + }, { + "type" : "Interval", + "localId" : "330", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "331", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "332", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } + }, + "low" : { + "type" : "Literal", + "localId" : "328", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "1.234", + "annotation" : [ ] + }, + "high" : { + "type" : "Literal", + "localId" : "329", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "2.0", + "annotation" : [ ] + } + } ] + } + }, { + "localId" : "340", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "NoOverlapsRealIvl", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "340", + "s" : [ { + "value" : [ "", "define ", "NoOverlapsRealIvl", ": " ] + }, { + "r" : "351", + "s" : [ { + "r" : "343", + "s" : [ { + "r" : "341", + "value" : [ "Interval[", "1.0", ", ", "1.23456789", ")" ] + } ] + }, { + "r" : "351", + "value" : [ " ", "overlaps before", " " ] + }, { + "r" : "348", + "s" : [ { + "r" : "346", + "value" : [ "Interval[", "1.23456789", ", ", "2.0", "]" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "OverlapsBefore", + "localId" : "351", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "352", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "353", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "354", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "355", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "Interval", + "localId" : "343", + "lowClosed" : true, + "highClosed" : false, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "344", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "345", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } + }, + "low" : { + "type" : "Literal", + "localId" : "341", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "1.0", + "annotation" : [ ] + }, + "high" : { + "type" : "Literal", + "localId" : "342", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "1.23456789", + "annotation" : [ ] + } + }, { + "type" : "Interval", + "localId" : "348", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], "resultTypeSpecifier" : { - "localId" : "1520", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1521", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "expression" : { - "localId" : "1513", - "type" : "Union", - "resultTypeSpecifier" : { - "localId" : "1518", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1519", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "signature" : [ { - "localId" : "1514", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1515", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "1516", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1517", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "1459", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "1460", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1461", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "1427", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "1428", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1429", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1430", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1431", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1432", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1433", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1434", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1411", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "1412", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "6", - "type" : "Literal" - }, - "day" : { - "localId" : "1413", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "1414", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "1415", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "1416", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "1417", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - }, - "high" : { - "localId" : "1451", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "1452", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1453", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1454", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1455", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1456", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1457", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1458", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1435", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2013", - "type" : "Literal" - }, - "month" : { - "localId" : "1436", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "1437", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "1438", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "1439", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "1440", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "1441", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - } - }, { - "localId" : "1510", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "1511", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1512", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "1478", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "1479", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1480", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1481", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1482", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1483", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1484", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1485", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1462", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "1463", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "1464", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "1465", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "1466", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "1467", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "1468", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - }, - "high" : { - "localId" : "1502", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "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" - }, { - "localId" : "1505", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1506", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1507", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1508", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1509", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1486", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2013", - "type" : "Literal" - }, - "month" : { - "localId" : "1487", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "1488", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "1489", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "1490", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "1491", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "1492", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - } - } ] - } - } ] - } - } + "type" : "IntervalTypeSpecifier", + "localId" : "349", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "350", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } + }, + "low" : { + "type" : "Literal", + "localId" : "346", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "1.23456789", + "annotation" : [ ] + }, + "high" : { + "type" : "Literal", + "localId" : "347", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "2.0", + "annotation" : [ ] + } + } ] + } + } ] + } + } } -/* IntegerIntervalExcept +/* OverlapsBeforeDateTime library TestSnippet version '1' using Simple version '1.0.0' context Patient -define IntFullInterval: Interval[0,10] -define IntHalfInterval: Interval[0,5) -define IntSameAsExcept: Interval[0,10] except Interval[0,10] -define IntBeforeExcept: Interval[0,4] except Interval[6,10] -define IntMeetsExcept: Interval[0,5] except Interval[5,10] -define IntOverlapsExcept: Interval[0,7] except Interval[5,10] -define IntBeginsExcept: Interval[0,5] except Interval[0,10] -define IntDuringExcept: Interval[3,5] except Interval[0,10] -define IntEndsExcept: Interval[5,10] except Interval[0,10] +define ivlA: Interval[DateTime(2012, 1, 1, 0, 0, 0, 0), DateTime(2012, 6, 1, 0, 0, 0, 0)) +define ivlB: Interval[DateTime(2012, 3, 1, 0, 0, 0, 0), DateTime(2012, 9, 1, 0, 0, 0, 0)) +define ivlC: Interval[DateTime(2012, 1, 1, 0, 0, 0, 0), DateTime(2013, 1, 1, 0, 0, 0, 0)) +define ivlD: Interval[DateTime(2013, 1, 1, 0, 0, 0, 0), DateTime(2014, 1, 1, 0, 0, 0, 0)) +define ivlE: Interval[DateTime(2013), DateTime(2015)] +define ivlF: Interval[DateTime(2014), DateTime(2016)] +define ivlG: Interval[DateTime(2016), DateTime(2017)] +define ivlH: Interval[DateTime(2011, 3), DateTime(2013, 3)] +define OverlapsBefore: ivlA overlaps before ivlB +define OverlapsAfter: ivlB overlaps before ivlA +define OverlapsContained: ivlB overlaps before ivlC +define OverlapsContains: ivlC overlaps before ivlB +define ImpreciseOverlapBefore: ivlE overlaps before ivlF +define ImpreciseOverlapAfter: ivlF overlaps before ivlE +define NoOverlap: ivlC overlaps before ivlD +define NoImpreciseOverlap: ivlE overlaps before ivlG +define MatchingPrecisionOverlap: ivlF overlaps before ivlG +define UnknownOverlap: ivlH overlaps before ivlE +define PrecisionDateIvl: Interval[DateTime(2012, 3, 2, 12, 34, 56, 789), DateTime(2012, 9, 2, 1, 23, 45, 678)) +define OverlapsBeforeDayOfIvlEdge: PrecisionDateIvl overlaps before day of Interval[DateTime(2012, 9, 2, 23, 59, 59, 999), DateTime(2012, 10, 1, 0, 0, 0, 0)] +define OverlapsAfterDayOfIvlEdge: PrecisionDateIvl overlaps before day of Interval[DateTime(2012, 1, 2, 0, 0, 0, 0), DateTime(2012, 3, 2, 0, 0, 0, 0)] +define OverlapsContainsDayOfIvl: PrecisionDateIvl overlaps before day of Interval[DateTime(2012, 5, 1, 0, 0, 0, 0), DateTime(2012, 6, 1, 0, 0, 0, 0)] +define OverlapsContainedByDayOfIvl: PrecisionDateIvl overlaps before day of Interval[DateTime(2012, 1, 1, 0, 0, 0, 0), DateTime(2012, 12, 1, 0, 0, 0, 0)] +define NotOverlapsDayOfIvl: PrecisionDateIvl overlaps before day of Interval[DateTime(2012, 1, 2, 0, 0, 0, 0), DateTime(2012, 3, 1, 0, 0, 0, 0)] +define OverlapsAfterDayOfImpreciseInterval: PrecisionDateIvl overlaps before day of Interval[DateTime(2012, 1), DateTime(2012, 4)] +define MayOverlapBeforeDayOfImpreciseIvl: PrecisionDateIvl overlaps before day of Interval[DateTime(2012, 9), DateTime(2012, 10)] +define MayOverlapAfterDayOfImpreciseIvl: PrecisionDateIvl overlaps before day of Interval[DateTime(2012, 1), DateTime(2012, 3)] */ -module.exports['IntegerIntervalExcept'] = { - "library" : { - "localId" : "0", - "annotation" : [ { - "translatorVersion" : "3.27.0", - "translatorOptions" : "EnableDateRangeOptimization,EnableAnnotations,EnableResultTypes", - "signatureLevel" : "All", - "type" : "CqlToElmInfo" - }, { - "type" : "Annotation", - "s" : { - "r" : "366", +module.exports['OverlapsBeforeDateTime'] = { + "library" : { + "localId" : "0", + "annotation" : [ { + "type" : "CqlToElmInfo", + "translatorVersion" : "4.2.0", + "translatorOptions" : "EnableDateRangeOptimization,EnableAnnotations,EnableResultTypes", + "signatureLevel" : "All" + }, { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "1094", + "s" : [ { + "value" : [ "", "library TestSnippet version '1'" ] + } ] + } + } ], + "identifier" : { + "id" : "TestSnippet", + "version" : "1" + }, + "schemaIdentifier" : { + "id" : "urn:hl7-org:elm", + "version" : "r1" + }, + "usings" : { + "def" : [ { + "localId" : "1", + "localIdentifier" : "System", + "uri" : "urn:hl7-org:elm-types:r1", + "annotation" : [ ] + }, { + "localId" : "206", + "localIdentifier" : "Simple", + "uri" : "https://github.com/cqframework/cql-execution/simple", + "version" : "1.0.0", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "206", + "s" : [ { + "value" : [ "", "using " ] + }, { + "s" : [ { + "value" : [ "Simple" ] + } ] + }, { + "value" : [ " version '1.0.0'" ] + } ] + } + } ] + } ] + }, + "contexts" : { + "def" : [ { + "localId" : "211", + "name" : "Patient", + "annotation" : [ ] + } ] + }, + "statements" : { + "def" : [ { + "localId" : "209", + "name" : "Patient", + "context" : "Patient", + "annotation" : [ ], + "expression" : { + "type" : "SingletonFrom", + "localId" : "210", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Retrieve", + "localId" : "208", + "dataType" : "{https://github.com/cqframework/cql-execution/simple}Patient", + "annotation" : [ ], + "include" : [ ], + "codeFilter" : [ ], + "dateFilter" : [ ], + "otherFilter" : [ ] + } + } + }, { + "localId" : "214", + "name" : "ivlA", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "214", + "s" : [ { + "value" : [ "", "define ", "ivlA", ": " ] + }, { + "r" : "263", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "231", + "s" : [ { + "r" : "215", + "value" : [ "DateTime", "(", "2012", ", ", "1", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "255", + "s" : [ { + "r" : "239", + "value" : [ "DateTime", "(", "2012", ", ", "6", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "266", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "267", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "expression" : { + "type" : "Interval", + "localId" : "263", + "lowClosed" : true, + "highClosed" : false, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "264", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "265", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "DateTime", + "localId" : "231", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "232", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "233", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "234", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "235", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "236", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "237", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "238", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "215", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "216", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "217", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "218", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "219", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "220", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "221", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "255", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "256", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "257", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "258", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "259", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "260", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "261", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "262", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "239", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "240", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "6", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "241", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "242", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "243", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "244", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "245", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + } + } + }, { + "localId" : "270", + "name" : "ivlB", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "270", + "s" : [ { + "value" : [ "", "define ", "ivlB", ": " ] + }, { + "r" : "319", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "287", + "s" : [ { + "r" : "271", + "value" : [ "DateTime", "(", "2012", ", ", "3", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "311", + "s" : [ { + "r" : "295", + "value" : [ "DateTime", "(", "2012", ", ", "9", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "322", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "323", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "expression" : { + "type" : "Interval", + "localId" : "319", + "lowClosed" : true, + "highClosed" : false, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "320", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "321", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "DateTime", + "localId" : "287", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "288", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "289", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "290", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "291", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "292", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "293", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "294", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "271", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "272", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "273", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "274", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "275", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "276", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "277", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "311", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "312", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "313", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "314", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "315", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "316", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "317", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "318", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "295", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "296", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "9", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "297", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "298", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "299", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "300", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "301", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + } + } + }, { + "localId" : "326", + "name" : "ivlC", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "326", + "s" : [ { + "value" : [ "", "define ", "ivlC", ": " ] + }, { + "r" : "375", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "343", + "s" : [ { + "r" : "327", + "value" : [ "DateTime", "(", "2012", ", ", "1", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "367", + "s" : [ { + "r" : "351", + "value" : [ "DateTime", "(", "2013", ", ", "1", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "378", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "379", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "expression" : { + "type" : "Interval", + "localId" : "375", + "lowClosed" : true, + "highClosed" : false, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "376", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "377", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "DateTime", + "localId" : "343", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "344", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "345", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "346", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "347", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "348", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "349", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "350", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "327", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "328", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "329", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "330", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "331", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "332", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "333", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "367", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "368", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "369", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "370", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "371", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "372", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "373", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "374", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "351", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2013", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "352", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "353", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "354", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "355", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "356", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "357", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + } + } + }, { + "localId" : "382", + "name" : "ivlD", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "382", + "s" : [ { + "value" : [ "", "define ", "ivlD", ": " ] + }, { + "r" : "431", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "399", + "s" : [ { + "r" : "383", + "value" : [ "DateTime", "(", "2013", ", ", "1", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "423", + "s" : [ { + "r" : "407", + "value" : [ "DateTime", "(", "2014", ", ", "1", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "434", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "435", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "expression" : { + "type" : "Interval", + "localId" : "431", + "lowClosed" : true, + "highClosed" : false, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "432", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "433", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "DateTime", + "localId" : "399", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "400", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "401", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "402", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "403", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "404", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "405", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "406", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "383", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2013", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "384", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "385", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "386", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "387", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "388", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "389", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "423", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "424", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "425", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "426", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "427", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "428", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "429", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "430", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "407", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2014", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "408", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "409", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "410", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "411", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "412", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "413", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + } + } + }, { + "localId" : "438", + "name" : "ivlE", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "438", + "s" : [ { + "value" : [ "", "define ", "ivlE", ": " ] + }, { + "r" : "451", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "443", + "s" : [ { + "r" : "439", + "value" : [ "DateTime", "(", "2013", ")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "449", + "s" : [ { + "r" : "445", + "value" : [ "DateTime", "(", "2015", ")" ] + } ] + }, { + "value" : [ "]" ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "454", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "455", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "expression" : { + "type" : "Interval", + "localId" : "451", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "452", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "453", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "DateTime", + "localId" : "443", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "444", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "439", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2013", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "449", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "450", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "445", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2015", + "annotation" : [ ] + } + } + } + }, { + "localId" : "458", + "name" : "ivlF", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "458", + "s" : [ { + "value" : [ "", "define ", "ivlF", ": " ] + }, { + "r" : "471", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "463", + "s" : [ { + "r" : "459", + "value" : [ "DateTime", "(", "2014", ")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "469", + "s" : [ { + "r" : "465", + "value" : [ "DateTime", "(", "2016", ")" ] + } ] + }, { + "value" : [ "]" ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "474", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "475", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "expression" : { + "type" : "Interval", + "localId" : "471", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "472", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "473", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "DateTime", + "localId" : "463", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "464", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "459", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2014", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "469", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "470", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "465", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2016", + "annotation" : [ ] + } + } + } + }, { + "localId" : "478", + "name" : "ivlG", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "478", + "s" : [ { + "value" : [ "", "define ", "ivlG", ": " ] + }, { + "r" : "491", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "483", + "s" : [ { + "r" : "479", + "value" : [ "DateTime", "(", "2016", ")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "489", + "s" : [ { + "r" : "485", + "value" : [ "DateTime", "(", "2017", ")" ] + } ] + }, { + "value" : [ "]" ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "494", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "495", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "expression" : { + "type" : "Interval", + "localId" : "491", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "492", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "493", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "DateTime", + "localId" : "483", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "484", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "479", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2016", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "489", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "490", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "485", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2017", + "annotation" : [ ] + } + } + } + }, { + "localId" : "498", + "name" : "ivlH", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "498", + "s" : [ { + "value" : [ "", "define ", "ivlH", ": " ] + }, { + "r" : "517", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "505", + "s" : [ { + "r" : "499", + "value" : [ "DateTime", "(", "2011", ", ", "3", ")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "514", + "s" : [ { + "r" : "508", + "value" : [ "DateTime", "(", "2013", ", ", "3", ")" ] + } ] + }, { + "value" : [ "]" ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "520", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "521", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "expression" : { + "type" : "Interval", + "localId" : "517", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "518", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "519", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "DateTime", + "localId" : "505", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "506", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "507", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "499", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2011", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "500", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "514", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "515", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "516", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "508", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2013", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "509", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + } + } + } + }, { + "localId" : "524", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "OverlapsBefore", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "524", + "s" : [ { + "value" : [ "", "define ", "OverlapsBefore", ": " ] + }, { + "r" : "531", + "s" : [ { + "r" : "525", + "s" : [ { + "value" : [ "ivlA" ] + } ] + }, { + "r" : "531", + "value" : [ " ", "overlaps before", " " ] + }, { + "r" : "528", + "s" : [ { + "value" : [ "ivlB" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "OverlapsBefore", + "localId" : "531", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "532", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "533", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "534", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "535", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "ExpressionRef", + "localId" : "525", + "name" : "ivlA", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "526", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "527", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + }, { + "type" : "ExpressionRef", + "localId" : "528", + "name" : "ivlB", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "529", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "530", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + } ] + } + }, { + "localId" : "538", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "OverlapsAfter", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "538", + "s" : [ { + "value" : [ "", "define ", "OverlapsAfter", ": " ] + }, { + "r" : "545", + "s" : [ { + "r" : "539", + "s" : [ { + "value" : [ "ivlB" ] + } ] + }, { + "r" : "545", + "value" : [ " ", "overlaps before", " " ] + }, { + "r" : "542", + "s" : [ { + "value" : [ "ivlA" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "OverlapsBefore", + "localId" : "545", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "546", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "547", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "548", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "549", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "ExpressionRef", + "localId" : "539", + "name" : "ivlB", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "540", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "541", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + }, { + "type" : "ExpressionRef", + "localId" : "542", + "name" : "ivlA", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "543", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "544", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + } ] + } + }, { + "localId" : "552", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "OverlapsContained", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "552", + "s" : [ { + "value" : [ "", "define ", "OverlapsContained", ": " ] + }, { + "r" : "559", + "s" : [ { + "r" : "553", + "s" : [ { + "value" : [ "ivlB" ] + } ] + }, { + "r" : "559", + "value" : [ " ", "overlaps before", " " ] + }, { + "r" : "556", + "s" : [ { + "value" : [ "ivlC" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "OverlapsBefore", + "localId" : "559", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "560", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "561", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "562", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "563", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "ExpressionRef", + "localId" : "553", + "name" : "ivlB", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "554", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "555", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + }, { + "type" : "ExpressionRef", + "localId" : "556", + "name" : "ivlC", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "557", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "558", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + } ] + } + }, { + "localId" : "566", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "OverlapsContains", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "566", + "s" : [ { + "value" : [ "", "define ", "OverlapsContains", ": " ] + }, { + "r" : "573", + "s" : [ { + "r" : "567", + "s" : [ { + "value" : [ "ivlC" ] + } ] + }, { + "r" : "573", + "value" : [ " ", "overlaps before", " " ] + }, { + "r" : "570", + "s" : [ { + "value" : [ "ivlB" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "OverlapsBefore", + "localId" : "573", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "574", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "575", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "576", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "577", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "ExpressionRef", + "localId" : "567", + "name" : "ivlC", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "568", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "569", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + }, { + "type" : "ExpressionRef", + "localId" : "570", + "name" : "ivlB", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "571", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "572", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + } ] + } + }, { + "localId" : "580", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "ImpreciseOverlapBefore", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "580", + "s" : [ { + "value" : [ "", "define ", "ImpreciseOverlapBefore", ": " ] + }, { + "r" : "587", + "s" : [ { + "r" : "581", + "s" : [ { + "value" : [ "ivlE" ] + } ] + }, { + "r" : "587", + "value" : [ " ", "overlaps before", " " ] + }, { + "r" : "584", + "s" : [ { + "value" : [ "ivlF" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "OverlapsBefore", + "localId" : "587", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "588", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "589", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "590", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "591", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "ExpressionRef", + "localId" : "581", + "name" : "ivlE", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "582", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "583", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + }, { + "type" : "ExpressionRef", + "localId" : "584", + "name" : "ivlF", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "585", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "586", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + } ] + } + }, { + "localId" : "594", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "ImpreciseOverlapAfter", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "594", + "s" : [ { + "value" : [ "", "define ", "ImpreciseOverlapAfter", ": " ] + }, { + "r" : "601", + "s" : [ { + "r" : "595", + "s" : [ { + "value" : [ "ivlF" ] + } ] + }, { + "r" : "601", + "value" : [ " ", "overlaps before", " " ] + }, { + "r" : "598", + "s" : [ { + "value" : [ "ivlE" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "OverlapsBefore", + "localId" : "601", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "602", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "603", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "604", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "605", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "ExpressionRef", + "localId" : "595", + "name" : "ivlF", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "596", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "597", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + }, { + "type" : "ExpressionRef", + "localId" : "598", + "name" : "ivlE", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "599", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "600", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + } ] + } + }, { + "localId" : "608", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "NoOverlap", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "608", + "s" : [ { + "value" : [ "", "define ", "NoOverlap", ": " ] + }, { + "r" : "615", + "s" : [ { + "r" : "609", + "s" : [ { + "value" : [ "ivlC" ] + } ] + }, { + "r" : "615", + "value" : [ " ", "overlaps before", " " ] + }, { + "r" : "612", + "s" : [ { + "value" : [ "ivlD" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "OverlapsBefore", + "localId" : "615", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "616", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "617", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "618", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "619", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "ExpressionRef", + "localId" : "609", + "name" : "ivlC", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "610", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "611", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + }, { + "type" : "ExpressionRef", + "localId" : "612", + "name" : "ivlD", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "613", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "614", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + } ] + } + }, { + "localId" : "622", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "NoImpreciseOverlap", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "622", + "s" : [ { + "value" : [ "", "define ", "NoImpreciseOverlap", ": " ] + }, { + "r" : "629", + "s" : [ { + "r" : "623", + "s" : [ { + "value" : [ "ivlE" ] + } ] + }, { + "r" : "629", + "value" : [ " ", "overlaps before", " " ] + }, { + "r" : "626", + "s" : [ { + "value" : [ "ivlG" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "OverlapsBefore", + "localId" : "629", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "630", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "631", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "632", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "633", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "ExpressionRef", + "localId" : "623", + "name" : "ivlE", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "624", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "625", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + }, { + "type" : "ExpressionRef", + "localId" : "626", + "name" : "ivlG", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "627", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "628", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + } ] + } + }, { + "localId" : "636", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "MatchingPrecisionOverlap", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "636", "s" : [ { - "value" : [ "","library TestSnippet version '1'" ] - } ] - } - } ], - "identifier" : { - "id" : "TestSnippet", - "version" : "1" - }, - "schemaIdentifier" : { - "id" : "urn:hl7-org:elm", - "version" : "r1" - }, - "usings" : { - "def" : [ { - "localId" : "1", - "localIdentifier" : "System", - "uri" : "urn:hl7-org:elm-types:r1" - }, { - "localId" : "206", - "localIdentifier" : "Simple", - "uri" : "https://github.com/cqframework/cql-execution/simple", - "version" : "1.0.0", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "206", - "s" : [ { - "value" : [ "","using " ] - }, { - "s" : [ { - "value" : [ "Simple" ] - } ] - }, { - "value" : [ " version '1.0.0'" ] - } ] - } - } ] - } ] - }, - "contexts" : { - "def" : [ { - "localId" : "211", - "name" : "Patient" - } ] - }, - "statements" : { - "def" : [ { - "localId" : "209", - "name" : "Patient", - "context" : "Patient", - "expression" : { - "localId" : "210", - "type" : "SingletonFrom", - "signature" : [ ], - "operand" : { - "localId" : "208", - "dataType" : "{https://github.com/cqframework/cql-execution/simple}Patient", - "type" : "Retrieve", - "include" : [ ], - "codeFilter" : [ ], - "dateFilter" : [ ], - "otherFilter" : [ ] - } - } - }, { - "localId" : "214", - "name" : "IntFullInterval", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "214", - "s" : [ { - "value" : [ "","define ","IntFullInterval",": " ] - }, { - "r" : "217", - "s" : [ { - "r" : "215", - "value" : [ "Interval[","0",",","10","]" ] - } ] - } ] - } - } ], + "value" : [ "", "define ", "MatchingPrecisionOverlap", ": " ] + }, { + "r" : "643", + "s" : [ { + "r" : "637", + "s" : [ { + "value" : [ "ivlF" ] + } ] + }, { + "r" : "643", + "value" : [ " ", "overlaps before", " " ] + }, { + "r" : "640", + "s" : [ { + "value" : [ "ivlG" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "OverlapsBefore", + "localId" : "643", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "644", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "645", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "646", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "647", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "ExpressionRef", + "localId" : "637", + "name" : "ivlF", + "annotation" : [ ], "resultTypeSpecifier" : { - "localId" : "220", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "221", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "expression" : { - "localId" : "217", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "218", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "219", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "215", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "high" : { - "localId" : "216", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal" - } - } - }, { - "localId" : "224", - "name" : "IntHalfInterval", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "224", - "s" : [ { - "value" : [ "","define ","IntHalfInterval",": " ] - }, { - "r" : "227", - "s" : [ { - "r" : "225", - "value" : [ "Interval[","0",",","5",")" ] - } ] - } ] - } - } ], + "type" : "IntervalTypeSpecifier", + "localId" : "638", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "639", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + }, { + "type" : "ExpressionRef", + "localId" : "640", + "name" : "ivlG", + "annotation" : [ ], "resultTypeSpecifier" : { - "localId" : "230", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "231", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "expression" : { - "localId" : "227", - "lowClosed" : true, - "highClosed" : false, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "228", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "229", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "225", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "high" : { - "localId" : "226", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal" - } - } - }, { - "localId" : "234", - "name" : "IntSameAsExcept", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "234", - "s" : [ { - "value" : [ "","define ","IntSameAsExcept",": " ] - }, { - "r" : "245", - "s" : [ { - "r" : "237", - "s" : [ { - "r" : "235", - "value" : [ "Interval[","0",",","10","]" ] - } ] - }, { - "value" : [ " except " ] - }, { - "r" : "242", - "s" : [ { - "r" : "240", - "value" : [ "Interval[","0",",","10","]" ] - } ] - } ] - } ] - } - } ], + "type" : "IntervalTypeSpecifier", + "localId" : "641", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "642", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + } ] + } + }, { + "localId" : "650", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "UnknownOverlap", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "650", + "s" : [ { + "value" : [ "", "define ", "UnknownOverlap", ": " ] + }, { + "r" : "657", + "s" : [ { + "r" : "651", + "s" : [ { + "value" : [ "ivlH" ] + } ] + }, { + "r" : "657", + "value" : [ " ", "overlaps before", " " ] + }, { + "r" : "654", + "s" : [ { + "value" : [ "ivlE" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "OverlapsBefore", + "localId" : "657", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "658", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "659", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "660", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "661", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "ExpressionRef", + "localId" : "651", + "name" : "ivlH", + "annotation" : [ ], "resultTypeSpecifier" : { - "localId" : "252", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "253", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "expression" : { - "localId" : "245", - "type" : "Except", - "resultTypeSpecifier" : { - "localId" : "250", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "251", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "signature" : [ { - "localId" : "246", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "247", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "248", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "249", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "237", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "238", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "239", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "235", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "high" : { - "localId" : "236", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal" - } - }, { - "localId" : "242", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "243", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "244", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "240", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "high" : { - "localId" : "241", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal" - } - } ] - } - }, { - "localId" : "256", - "name" : "IntBeforeExcept", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "256", - "s" : [ { - "value" : [ "","define ","IntBeforeExcept",": " ] - }, { - "r" : "267", - "s" : [ { - "r" : "259", - "s" : [ { - "r" : "257", - "value" : [ "Interval[","0",",","4","]" ] - } ] - }, { - "value" : [ " except " ] - }, { - "r" : "264", - "s" : [ { - "r" : "262", - "value" : [ "Interval[","6",",","10","]" ] - } ] - } ] - } ] - } - } ], + "type" : "IntervalTypeSpecifier", + "localId" : "652", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "653", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + }, { + "type" : "ExpressionRef", + "localId" : "654", + "name" : "ivlE", + "annotation" : [ ], "resultTypeSpecifier" : { - "localId" : "274", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "275", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } + "type" : "IntervalTypeSpecifier", + "localId" : "655", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "656", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + } ] + } + }, { + "localId" : "664", + "name" : "PrecisionDateIvl", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "664", + "s" : [ { + "value" : [ "", "define ", "PrecisionDateIvl", ": " ] + }, { + "r" : "713", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "681", + "s" : [ { + "r" : "665", + "value" : [ "DateTime", "(", "2012", ", ", "3", ", ", "2", ", ", "12", ", ", "34", ", ", "56", ", ", "789", ")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "705", + "s" : [ { + "r" : "689", + "value" : [ "DateTime", "(", "2012", ", ", "9", ", ", "2", ", ", "1", ", ", "23", ", ", "45", ", ", "678", ")" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "716", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "717", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "expression" : { + "type" : "Interval", + "localId" : "713", + "lowClosed" : true, + "highClosed" : false, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "714", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "715", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "DateTime", + "localId" : "681", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "682", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "683", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "684", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "685", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "686", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "687", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "688", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "665", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] }, - "expression" : { - "localId" : "267", - "type" : "Except", - "resultTypeSpecifier" : { - "localId" : "272", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "273", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "signature" : [ { - "localId" : "268", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "269", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "270", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "271", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "259", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "260", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "261", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "257", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "high" : { - "localId" : "258", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "4", - "type" : "Literal" - } - }, { - "localId" : "264", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "265", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "266", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "262", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "6", - "type" : "Literal" - }, - "high" : { - "localId" : "263", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal" - } - } ] - } - }, { - "localId" : "278", - "name" : "IntMeetsExcept", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "278", - "s" : [ { - "value" : [ "","define ","IntMeetsExcept",": " ] - }, { - "r" : "289", - "s" : [ { - "r" : "281", - "s" : [ { - "r" : "279", - "value" : [ "Interval[","0",",","5","]" ] - } ] - }, { - "value" : [ " except " ] - }, { - "r" : "286", - "s" : [ { - "r" : "284", - "value" : [ "Interval[","5",",","10","]" ] - } ] - } ] - } ] - } - } ], + "month" : { + "type" : "Literal", + "localId" : "666", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "667", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "668", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "12", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "669", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "34", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "670", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "56", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "671", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "789", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "705", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "706", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "707", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "708", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "709", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "710", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "711", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "712", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "689", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "690", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "9", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "691", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "692", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "693", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "23", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "694", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "45", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "695", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "678", + "annotation" : [ ] + } + } + } + }, { + "localId" : "720", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "OverlapsBeforeDayOfIvlEdge", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "720", + "s" : [ { + "value" : [ "", "define ", "OverlapsBeforeDayOfIvlEdge", ": " ] + }, { + "r" : "775", + "s" : [ { + "r" : "721", + "s" : [ { + "value" : [ "PrecisionDateIvl" ] + } ] + }, { + "r" : "775", + "value" : [ " ", "overlaps before day of", " " ] + }, { + "r" : "772", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "740", + "s" : [ { + "r" : "724", + "value" : [ "DateTime", "(", "2012", ", ", "9", ", ", "2", ", ", "23", ", ", "59", ", ", "59", ", ", "999", ")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "764", + "s" : [ { + "r" : "748", + "value" : [ "DateTime", "(", "2012", ", ", "10", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ "]" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "OverlapsBefore", + "localId" : "775", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "precision" : "Day", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "776", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "777", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "778", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "779", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "ExpressionRef", + "localId" : "721", + "name" : "PrecisionDateIvl", + "annotation" : [ ], "resultTypeSpecifier" : { - "localId" : "296", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "297", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } + "type" : "IntervalTypeSpecifier", + "localId" : "722", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "723", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + }, { + "type" : "Interval", + "localId" : "772", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "773", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "774", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } }, - "expression" : { - "localId" : "289", - "type" : "Except", - "resultTypeSpecifier" : { - "localId" : "294", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "295", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "signature" : [ { - "localId" : "290", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "291", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "292", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "293", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "281", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "282", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "283", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "279", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "high" : { - "localId" : "280", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal" - } - }, { - "localId" : "286", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "287", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "288", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "284", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal" - }, - "high" : { - "localId" : "285", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal" - } - } ] - } - }, { - "localId" : "300", - "name" : "IntOverlapsExcept", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "300", + "low" : { + "type" : "DateTime", + "localId" : "740", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "741", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "742", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "743", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "744", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "745", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "746", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "747", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "724", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "725", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "9", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "726", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "727", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "23", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "728", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "59", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "729", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "59", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "730", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "999", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "764", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "765", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "766", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "767", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "768", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "769", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "770", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "771", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "748", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "749", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "10", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "750", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "751", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "752", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "753", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "754", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + } + } ] + } + }, { + "localId" : "782", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "OverlapsAfterDayOfIvlEdge", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "782", + "s" : [ { + "value" : [ "", "define ", "OverlapsAfterDayOfIvlEdge", ": " ] + }, { + "r" : "837", + "s" : [ { + "r" : "783", + "s" : [ { + "value" : [ "PrecisionDateIvl" ] + } ] + }, { + "r" : "837", + "value" : [ " ", "overlaps before day of", " " ] + }, { + "r" : "834", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "802", "s" : [ { - "value" : [ "","define ","IntOverlapsExcept",": " ] - }, { - "r" : "311", - "s" : [ { - "r" : "303", - "s" : [ { - "r" : "301", - "value" : [ "Interval[","0",",","7","]" ] - } ] - }, { - "value" : [ " except " ] - }, { - "r" : "308", - "s" : [ { - "r" : "306", - "value" : [ "Interval[","5",",","10","]" ] - } ] - } ] - } ] - } - } ], + "r" : "786", + "value" : [ "DateTime", "(", "2012", ", ", "1", ", ", "2", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "826", + "s" : [ { + "r" : "810", + "value" : [ "DateTime", "(", "2012", ", ", "3", ", ", "2", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ "]" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "OverlapsBefore", + "localId" : "837", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "precision" : "Day", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "838", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "839", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "840", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "841", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "ExpressionRef", + "localId" : "783", + "name" : "PrecisionDateIvl", + "annotation" : [ ], "resultTypeSpecifier" : { - "localId" : "318", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "319", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } + "type" : "IntervalTypeSpecifier", + "localId" : "784", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "785", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + }, { + "type" : "Interval", + "localId" : "834", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "835", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "836", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } }, - "expression" : { - "localId" : "311", - "type" : "Except", - "resultTypeSpecifier" : { - "localId" : "316", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "317", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "signature" : [ { - "localId" : "312", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "313", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "314", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "315", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "303", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "304", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "305", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "301", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "high" : { - "localId" : "302", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "7", - "type" : "Literal" - } - }, { - "localId" : "308", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "309", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "310", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "306", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal" - }, - "high" : { - "localId" : "307", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal" - } - } ] - } - }, { - "localId" : "322", - "name" : "IntBeginsExcept", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "322", + "low" : { + "type" : "DateTime", + "localId" : "802", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "803", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "804", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "805", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "806", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "807", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "808", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "809", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "786", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "787", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "788", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "789", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "790", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "791", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "792", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "826", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "827", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "828", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "829", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "830", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "831", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "832", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "833", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "810", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "811", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "812", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "813", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "814", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "815", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "816", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + } + } ] + } + }, { + "localId" : "844", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "OverlapsContainsDayOfIvl", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "844", + "s" : [ { + "value" : [ "", "define ", "OverlapsContainsDayOfIvl", ": " ] + }, { + "r" : "899", + "s" : [ { + "r" : "845", + "s" : [ { + "value" : [ "PrecisionDateIvl" ] + } ] + }, { + "r" : "899", + "value" : [ " ", "overlaps before day of", " " ] + }, { + "r" : "896", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "864", + "s" : [ { + "r" : "848", + "value" : [ "DateTime", "(", "2012", ", ", "5", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "888", + "s" : [ { + "r" : "872", + "value" : [ "DateTime", "(", "2012", ", ", "6", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ "]" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "OverlapsBefore", + "localId" : "899", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "precision" : "Day", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "900", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "901", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "902", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "903", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "ExpressionRef", + "localId" : "845", + "name" : "PrecisionDateIvl", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "846", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "847", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + }, { + "type" : "Interval", + "localId" : "896", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "897", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "898", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "DateTime", + "localId" : "864", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "865", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "866", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "867", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "868", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "869", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "870", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "871", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "848", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "849", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "5", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "850", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "851", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "852", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "853", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "854", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "888", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "889", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "890", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "891", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "892", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "893", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "894", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "895", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "872", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "873", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "6", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "874", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "875", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "876", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "877", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "878", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + } + } ] + } + }, { + "localId" : "906", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "OverlapsContainedByDayOfIvl", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "906", + "s" : [ { + "value" : [ "", "define ", "OverlapsContainedByDayOfIvl", ": " ] + }, { + "r" : "961", + "s" : [ { + "r" : "907", + "s" : [ { + "value" : [ "PrecisionDateIvl" ] + } ] + }, { + "r" : "961", + "value" : [ " ", "overlaps before day of", " " ] + }, { + "r" : "958", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "926", + "s" : [ { + "r" : "910", + "value" : [ "DateTime", "(", "2012", ", ", "1", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "950", "s" : [ { - "value" : [ "","define ","IntBeginsExcept",": " ] - }, { - "r" : "333", - "s" : [ { - "r" : "325", - "s" : [ { - "r" : "323", - "value" : [ "Interval[","0",",","5","]" ] - } ] - }, { - "value" : [ " except " ] - }, { - "r" : "330", - "s" : [ { - "r" : "328", - "value" : [ "Interval[","0",",","10","]" ] - } ] - } ] - } ] - } - } ], + "r" : "934", + "value" : [ "DateTime", "(", "2012", ", ", "12", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ "]" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "OverlapsBefore", + "localId" : "961", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "precision" : "Day", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "962", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "963", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "964", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "965", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "ExpressionRef", + "localId" : "907", + "name" : "PrecisionDateIvl", + "annotation" : [ ], "resultTypeSpecifier" : { - "localId" : "340", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "341", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } + "type" : "IntervalTypeSpecifier", + "localId" : "908", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "909", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + }, { + "type" : "Interval", + "localId" : "958", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "959", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "960", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } }, - "expression" : { - "localId" : "333", - "type" : "Except", - "resultTypeSpecifier" : { - "localId" : "338", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "339", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "signature" : [ { - "localId" : "334", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "335", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "336", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "337", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "325", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "326", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "327", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "323", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "high" : { - "localId" : "324", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal" - } - }, { - "localId" : "330", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "331", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "332", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "328", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "high" : { - "localId" : "329", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal" - } - } ] - } - }, { - "localId" : "344", - "name" : "IntDuringExcept", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "344", + "low" : { + "type" : "DateTime", + "localId" : "926", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "927", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "928", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "929", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "930", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "931", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "932", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "933", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "910", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "911", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "912", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "913", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "914", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "915", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "916", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "950", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "951", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "952", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "953", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "954", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "955", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "956", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "957", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "934", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "935", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "12", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "936", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "937", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "938", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "939", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "940", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + } + } ] + } + }, { + "localId" : "968", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "NotOverlapsDayOfIvl", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "968", + "s" : [ { + "value" : [ "", "define ", "NotOverlapsDayOfIvl", ": " ] + }, { + "r" : "1023", + "s" : [ { + "r" : "969", + "s" : [ { + "value" : [ "PrecisionDateIvl" ] + } ] + }, { + "r" : "1023", + "value" : [ " ", "overlaps before day of", " " ] + }, { + "r" : "1020", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "988", + "s" : [ { + "r" : "972", + "value" : [ "DateTime", "(", "2012", ", ", "1", ", ", "2", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "1012", "s" : [ { - "value" : [ "","define ","IntDuringExcept",": " ] - }, { - "r" : "355", - "s" : [ { - "r" : "347", - "s" : [ { - "r" : "345", - "value" : [ "Interval[","3",",","5","]" ] - } ] - }, { - "value" : [ " except " ] - }, { - "r" : "352", - "s" : [ { - "r" : "350", - "value" : [ "Interval[","0",",","10","]" ] - } ] - } ] - } ] - } - } ], + "r" : "996", + "value" : [ "DateTime", "(", "2012", ", ", "3", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ "]" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "OverlapsBefore", + "localId" : "1023", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "precision" : "Day", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "1024", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1025", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "1026", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1027", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "ExpressionRef", + "localId" : "969", + "name" : "PrecisionDateIvl", + "annotation" : [ ], "resultTypeSpecifier" : { - "localId" : "362", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "363", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } + "type" : "IntervalTypeSpecifier", + "localId" : "970", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "971", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + }, { + "type" : "Interval", + "localId" : "1020", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1021", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1022", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } }, - "expression" : { - "localId" : "355", - "type" : "Except", - "resultTypeSpecifier" : { - "localId" : "360", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "361", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "signature" : [ { - "localId" : "356", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "357", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "358", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "359", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "347", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "348", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "349", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "345", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "high" : { - "localId" : "346", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal" - } - }, { - "localId" : "352", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "353", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "354", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "350", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "high" : { - "localId" : "351", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal" - } - } ] - } - }, { - "localId" : "366", - "name" : "IntEndsExcept", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "366", + "low" : { + "type" : "DateTime", + "localId" : "988", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "989", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "990", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "991", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "992", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "993", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "994", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "995", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "972", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "973", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "974", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "975", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "976", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "977", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "978", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "1012", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1013", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1014", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1015", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1016", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1017", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1018", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1019", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "996", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "997", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "998", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "999", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "1000", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "1001", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "1002", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + } + } ] + } + }, { + "localId" : "1030", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "OverlapsAfterDayOfImpreciseInterval", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "1030", + "s" : [ { + "value" : [ "", "define ", "OverlapsAfterDayOfImpreciseInterval", ": " ] + }, { + "r" : "1055", + "s" : [ { + "r" : "1031", + "s" : [ { + "value" : [ "PrecisionDateIvl" ] + } ] + }, { + "r" : "1055", + "value" : [ " ", "overlaps before day of", " " ] + }, { + "r" : "1052", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "1040", "s" : [ { - "value" : [ "","define ","IntEndsExcept",": " ] - }, { - "r" : "377", - "s" : [ { - "r" : "369", - "s" : [ { - "r" : "367", - "value" : [ "Interval[","5",",","10","]" ] - } ] - }, { - "value" : [ " except " ] - }, { - "r" : "374", - "s" : [ { - "r" : "372", - "value" : [ "Interval[","0",",","10","]" ] - } ] - } ] - } ] - } - } ], + "r" : "1034", + "value" : [ "DateTime", "(", "2012", ", ", "1", ")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "1049", + "s" : [ { + "r" : "1043", + "value" : [ "DateTime", "(", "2012", ", ", "4", ")" ] + } ] + }, { + "value" : [ "]" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "OverlapsBefore", + "localId" : "1055", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "precision" : "Day", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "1056", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1057", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "1058", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1059", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "ExpressionRef", + "localId" : "1031", + "name" : "PrecisionDateIvl", + "annotation" : [ ], "resultTypeSpecifier" : { - "localId" : "384", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "385", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } + "type" : "IntervalTypeSpecifier", + "localId" : "1032", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1033", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + }, { + "type" : "Interval", + "localId" : "1052", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1053", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1054", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } }, - "expression" : { - "localId" : "377", - "type" : "Except", - "resultTypeSpecifier" : { - "localId" : "382", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "383", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "signature" : [ { - "localId" : "378", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "379", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "380", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "381", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "369", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "370", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "371", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "367", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal" - }, - "high" : { - "localId" : "368", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal" - } - }, { - "localId" : "374", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "375", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "376", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "372", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "high" : { - "localId" : "373", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal" - } - } ] - } - } ] - } - } + "low" : { + "type" : "DateTime", + "localId" : "1040", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1041", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1042", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1034", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1035", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "1049", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1050", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1051", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1043", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1044", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "4", + "annotation" : [ ] + } + } + } ] + } + }, { + "localId" : "1062", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "MayOverlapBeforeDayOfImpreciseIvl", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "1062", + "s" : [ { + "value" : [ "", "define ", "MayOverlapBeforeDayOfImpreciseIvl", ": " ] + }, { + "r" : "1087", + "s" : [ { + "r" : "1063", + "s" : [ { + "value" : [ "PrecisionDateIvl" ] + } ] + }, { + "r" : "1087", + "value" : [ " ", "overlaps before day of", " " ] + }, { + "r" : "1084", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "1072", + "s" : [ { + "r" : "1066", + "value" : [ "DateTime", "(", "2012", ", ", "9", ")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "1081", + "s" : [ { + "r" : "1075", + "value" : [ "DateTime", "(", "2012", ", ", "10", ")" ] + } ] + }, { + "value" : [ "]" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "OverlapsBefore", + "localId" : "1087", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "precision" : "Day", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "1088", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1089", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "1090", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1091", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "ExpressionRef", + "localId" : "1063", + "name" : "PrecisionDateIvl", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1064", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1065", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + }, { + "type" : "Interval", + "localId" : "1084", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1085", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1086", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "DateTime", + "localId" : "1072", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1073", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1074", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1066", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1067", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "9", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "1081", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1082", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1083", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1075", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1076", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "10", + "annotation" : [ ] + } + } + } ] + } + }, { + "localId" : "1094", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "MayOverlapAfterDayOfImpreciseIvl", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "1094", + "s" : [ { + "value" : [ "", "define ", "MayOverlapAfterDayOfImpreciseIvl", ": " ] + }, { + "r" : "1119", + "s" : [ { + "r" : "1095", + "s" : [ { + "value" : [ "PrecisionDateIvl" ] + } ] + }, { + "r" : "1119", + "value" : [ " ", "overlaps before day of", " " ] + }, { + "r" : "1116", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "1104", + "s" : [ { + "r" : "1098", + "value" : [ "DateTime", "(", "2012", ", ", "1", ")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "1113", + "s" : [ { + "r" : "1107", + "value" : [ "DateTime", "(", "2012", ", ", "3", ")" ] + } ] + }, { + "value" : [ "]" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "OverlapsBefore", + "localId" : "1119", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "precision" : "Day", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "1120", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1121", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "1122", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1123", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "ExpressionRef", + "localId" : "1095", + "name" : "PrecisionDateIvl", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1096", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1097", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + }, { + "type" : "Interval", + "localId" : "1116", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1117", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1118", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "DateTime", + "localId" : "1104", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1105", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1106", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1098", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1099", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "1113", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1114", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1115", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1107", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1108", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + } + } + } ] + } + } ] + } + } } -/* DateTimeIntervalExcept +/* Width library TestSnippet version '1' using Simple version '1.0.0' context Patient -define DateTimeFullInterval: Interval[DateTime(2012, 1, 1, 0, 0, 0, 0), DateTime(2013, 1, 1, 0, 0, 0, 0)] -define DateTimeHalfInterval: Interval[DateTime(2012, 1, 1, 0, 0, 0, 0), DateTime(2012, 6, 1, 0, 0, 0, 0)) -define DateTimeSameAsExcept: Interval[DateTime(2012, 1, 1, 0, 0, 0, 0), DateTime(2013, 1, 1, 0, 0, 0, 0)] except Interval[DateTime(2012, 1, 1, 0, 0, 0, 0), DateTime(2013, 1, 1, 0, 0, 0, 0)] -define DateTimeBeforeExcept: Interval[DateTime(2012, 1, 1, 0, 0, 0, 0), DateTime(2012, 4, 1, 0, 0, 0, 0)] except Interval[DateTime(2012, 7, 1, 0, 0, 0, 0), DateTime(2013, 1, 1, 0, 0, 0, 0)] -define DateTimeMeetsExcept: Interval[DateTime(2012, 1, 1, 0, 0, 0, 0), DateTime(2012, 6, 1, 0, 0, 0, 0)] except Interval[DateTime(2012, 6, 1, 0, 0, 0, 0), DateTime(2013, 1, 1, 0, 0, 0, 0)] -define DateTimeOverlapsExcept: Interval[DateTime(2012, 1, 1, 0, 0, 0, 0), DateTime(2012, 7, 1, 0, 0, 0, 0)] except Interval[DateTime(2012, 6, 1, 0, 0, 0, 0), DateTime(2013, 1, 1, 0, 0, 0, 0)] -define DateTimeBeginsExcept: Interval[DateTime(2012, 1, 1, 0, 0, 0, 0), DateTime(2012, 6, 1, 0, 0, 0, 0)] except Interval[DateTime(2012, 1, 1, 0, 0, 0, 0), DateTime(2013, 1, 1, 0, 0, 0, 0)] -define DateTimeDuringExcept: Interval[DateTime(2012, 3, 1, 0, 0, 0, 0), DateTime(2012, 5, 1, 0, 0, 0, 0)] except Interval[DateTime(2012, 1, 1, 0, 0, 0, 0), DateTime(2013, 1, 1, 0, 0, 0, 0)] -define DateTimeEndsExcept: Interval[DateTime(2012, 6, 1, 0, 0, 0, 0), DateTime(2013, 1, 1, 0, 0, 0, 0)] except Interval[DateTime(2012, 1, 1, 0, 0, 0, 0), DateTime(2013, 1, 1, 0, 0, 0, 0)] +define IntWidth: width of Interval[-2, 5] +define IntOpenWidth: width of Interval(-2, 5) +define IntWidthThreeToMax: width of Interval[3, null] +define IntWidthMinToThree: width of Interval[null, 3] +define IntWidthThreeToUnknown: width of Interval[3, null) +define IntWidthUnknownToThree: width of Interval(null, 3] +define RealWidth: width of Interval[1.23, 4.56] +define RealOpenWidth: width of Interval(1.23, 4.56) +define WidthOfQuantityInterval: width of Interval[Quantity{value: 1, unit: 'mm'}, Quantity{value: 10, unit: 'mm'}] +define WidthOfDateTimeInterval: width of Interval[DateTime(2012,01,01), DateTime(2012,01,03)] +define WidthOfDateInterval: width of Interval[Date(2012,01,01), Date(2012,01,03)] +define WidthOfTimeInterval: width of Interval[Time(12,00,00), Time(12,30,02)] */ -module.exports['DateTimeIntervalExcept'] = { - "library" : { - "localId" : "0", - "annotation" : [ { - "translatorVersion" : "3.27.0", - "translatorOptions" : "EnableDateRangeOptimization,EnableAnnotations,EnableResultTypes", - "signatureLevel" : "All", - "type" : "CqlToElmInfo" - }, { - "type" : "Annotation", - "s" : { - "r" : "1010", +module.exports['Width'] = { + "library" : { + "localId" : "0", + "annotation" : [ { + "type" : "CqlToElmInfo", + "translatorVersion" : "4.2.0", + "translatorOptions" : "EnableDateRangeOptimization,EnableAnnotations,EnableResultTypes", + "signatureLevel" : "All" + }, { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "401", + "s" : [ { + "value" : [ "", "library TestSnippet version '1'" ] + } ] + } + } ], + "identifier" : { + "id" : "TestSnippet", + "version" : "1" + }, + "schemaIdentifier" : { + "id" : "urn:hl7-org:elm", + "version" : "r1" + }, + "usings" : { + "def" : [ { + "localId" : "1", + "localIdentifier" : "System", + "uri" : "urn:hl7-org:elm-types:r1", + "annotation" : [ ] + }, { + "localId" : "206", + "localIdentifier" : "Simple", + "uri" : "https://github.com/cqframework/cql-execution/simple", + "version" : "1.0.0", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "206", + "s" : [ { + "value" : [ "", "using " ] + }, { + "s" : [ { + "value" : [ "Simple" ] + } ] + }, { + "value" : [ " version '1.0.0'" ] + } ] + } + } ] + } ] + }, + "contexts" : { + "def" : [ { + "localId" : "211", + "name" : "Patient", + "annotation" : [ ] + } ] + }, + "statements" : { + "def" : [ { + "localId" : "209", + "name" : "Patient", + "context" : "Patient", + "annotation" : [ ], + "expression" : { + "type" : "SingletonFrom", + "localId" : "210", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Retrieve", + "localId" : "208", + "dataType" : "{https://github.com/cqframework/cql-execution/simple}Patient", + "annotation" : [ ], + "include" : [ ], + "codeFilter" : [ ], + "dateFilter" : [ ], + "otherFilter" : [ ] + } + } + }, { + "localId" : "214", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "name" : "IntWidth", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "214", + "s" : [ { + "value" : [ "", "define ", "IntWidth", ": " ] + }, { + "r" : "215", + "s" : [ { + "value" : [ "width of " ] + }, { + "r" : "220", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "216", + "s" : [ { + "r" : "217", + "value" : [ "-", "2" ] + } ] + }, { + "r" : "219", + "value" : [ ", ", "5", "]" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Width", + "localId" : "215", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "223", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "224", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } ], + "operand" : { + "type" : "Interval", + "localId" : "220", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "221", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "222", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "low" : { + "type" : "Negate", + "localId" : "216", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "218", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "operand" : { + "type" : "Literal", + "localId" : "217", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "annotation" : [ ] + } + }, + "high" : { + "type" : "Literal", + "localId" : "219", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "5", + "annotation" : [ ] + } + } + } + }, { + "localId" : "227", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "name" : "IntOpenWidth", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "227", + "s" : [ { + "value" : [ "", "define ", "IntOpenWidth", ": " ] + }, { + "r" : "228", + "s" : [ { + "value" : [ "width of " ] + }, { + "r" : "233", + "s" : [ { + "value" : [ "Interval(" ] + }, { + "r" : "229", + "s" : [ { + "r" : "230", + "value" : [ "-", "2" ] + } ] + }, { + "r" : "232", + "value" : [ ", ", "5", ")" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Width", + "localId" : "228", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "236", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "237", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } ], + "operand" : { + "type" : "Interval", + "localId" : "233", + "lowClosed" : false, + "highClosed" : false, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "234", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "235", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "low" : { + "type" : "Negate", + "localId" : "229", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "231", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "operand" : { + "type" : "Literal", + "localId" : "230", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "annotation" : [ ] + } + }, + "high" : { + "type" : "Literal", + "localId" : "232", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "5", + "annotation" : [ ] + } + } + } + }, { + "localId" : "240", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "name" : "IntWidthThreeToMax", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "240", + "s" : [ { + "value" : [ "", "define ", "IntWidthThreeToMax", ": " ] + }, { + "r" : "241", + "s" : [ { + "value" : [ "width of " ] + }, { + "r" : "244", + "s" : [ { + "r" : "242", + "value" : [ "Interval[", "3", ", ", "null", "]" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Width", + "localId" : "241", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "248", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "249", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } ], + "operand" : { + "type" : "Interval", + "localId" : "244", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "246", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "247", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "low" : { + "type" : "Literal", + "localId" : "242", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "high" : { + "type" : "As", + "localId" : "245", + "asType" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Null", + "localId" : "243", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } + } + } + } + }, { + "localId" : "252", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "name" : "IntWidthMinToThree", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "252", + "s" : [ { + "value" : [ "", "define ", "IntWidthMinToThree", ": " ] + }, { + "r" : "253", + "s" : [ { + "value" : [ "width of " ] + }, { + "r" : "256", + "s" : [ { + "r" : "254", + "value" : [ "Interval[", "null", ", ", "3", "]" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Width", + "localId" : "253", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "260", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "261", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } ], + "operand" : { + "type" : "Interval", + "localId" : "256", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "258", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "259", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "low" : { + "type" : "As", + "localId" : "257", + "asType" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Null", + "localId" : "254", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } + }, + "high" : { + "type" : "Literal", + "localId" : "255", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + } + } + } + }, { + "localId" : "264", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "name" : "IntWidthThreeToUnknown", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "264", + "s" : [ { + "value" : [ "", "define ", "IntWidthThreeToUnknown", ": " ] + }, { + "r" : "265", + "s" : [ { + "value" : [ "width of " ] + }, { + "r" : "268", + "s" : [ { + "r" : "266", + "value" : [ "Interval[", "3", ", ", "null", ")" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Width", + "localId" : "265", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "272", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "273", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } ], + "operand" : { + "type" : "Interval", + "localId" : "268", + "lowClosed" : true, + "highClosed" : false, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "270", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "271", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "low" : { + "type" : "Literal", + "localId" : "266", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "high" : { + "type" : "As", + "localId" : "269", + "asType" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Null", + "localId" : "267", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } + } + } + } + }, { + "localId" : "276", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "name" : "IntWidthUnknownToThree", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "276", + "s" : [ { + "value" : [ "", "define ", "IntWidthUnknownToThree", ": " ] + }, { + "r" : "277", + "s" : [ { + "value" : [ "width of " ] + }, { + "r" : "280", + "s" : [ { + "r" : "278", + "value" : [ "Interval(", "null", ", ", "3", "]" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Width", + "localId" : "277", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "284", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "285", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } ], + "operand" : { + "type" : "Interval", + "localId" : "280", + "lowClosed" : false, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "282", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "283", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "low" : { + "type" : "As", + "localId" : "281", + "asType" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Null", + "localId" : "278", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } + }, + "high" : { + "type" : "Literal", + "localId" : "279", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + } + } + } + }, { + "localId" : "288", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "name" : "RealWidth", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "288", + "s" : [ { + "value" : [ "", "define ", "RealWidth", ": " ] + }, { + "r" : "289", + "s" : [ { + "value" : [ "width of " ] + }, { + "r" : "292", + "s" : [ { + "r" : "290", + "value" : [ "Interval[", "1.23", ", ", "4.56", "]" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Width", + "localId" : "289", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "295", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "296", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } + } ], + "operand" : { + "type" : "Interval", + "localId" : "292", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "293", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "294", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } + }, + "low" : { + "type" : "Literal", + "localId" : "290", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "1.23", + "annotation" : [ ] + }, + "high" : { + "type" : "Literal", + "localId" : "291", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "4.56", + "annotation" : [ ] + } + } + } + }, { + "localId" : "299", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "name" : "RealOpenWidth", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "299", "s" : [ { - "value" : [ "","library TestSnippet version '1'" ] - } ] - } - } ], - "identifier" : { - "id" : "TestSnippet", - "version" : "1" - }, - "schemaIdentifier" : { - "id" : "urn:hl7-org:elm", - "version" : "r1" - }, - "usings" : { - "def" : [ { - "localId" : "1", - "localIdentifier" : "System", - "uri" : "urn:hl7-org:elm-types:r1" - }, { - "localId" : "206", - "localIdentifier" : "Simple", - "uri" : "https://github.com/cqframework/cql-execution/simple", - "version" : "1.0.0", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "206", - "s" : [ { - "value" : [ "","using " ] - }, { - "s" : [ { - "value" : [ "Simple" ] - } ] - }, { - "value" : [ " version '1.0.0'" ] - } ] - } - } ] - } ] - }, - "contexts" : { - "def" : [ { - "localId" : "211", - "name" : "Patient" - } ] - }, - "statements" : { - "def" : [ { - "localId" : "209", - "name" : "Patient", - "context" : "Patient", - "expression" : { - "localId" : "210", - "type" : "SingletonFrom", - "signature" : [ ], - "operand" : { - "localId" : "208", - "dataType" : "{https://github.com/cqframework/cql-execution/simple}Patient", - "type" : "Retrieve", - "include" : [ ], - "codeFilter" : [ ], - "dateFilter" : [ ], - "otherFilter" : [ ] - } - } - }, { - "localId" : "214", - "name" : "DateTimeFullInterval", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "214", - "s" : [ { - "value" : [ "","define ","DateTimeFullInterval",": " ] - }, { - "r" : "263", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "231", - "s" : [ { - "r" : "215", - "value" : [ "DateTime","(","2012",", ","1",", ","1",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "255", - "s" : [ { - "r" : "239", - "value" : [ "DateTime","(","2013",", ","1",", ","1",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ "]" ] - } ] - } ] - } - } ], + "value" : [ "", "define ", "RealOpenWidth", ": " ] + }, { + "r" : "300", + "s" : [ { + "value" : [ "width of " ] + }, { + "r" : "303", + "s" : [ { + "r" : "301", + "value" : [ "Interval(", "1.23", ", ", "4.56", ")" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Width", + "localId" : "300", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "306", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "307", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } + } ], + "operand" : { + "type" : "Interval", + "localId" : "303", + "lowClosed" : false, + "highClosed" : false, + "annotation" : [ ], "resultTypeSpecifier" : { - "localId" : "266", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "267", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "expression" : { - "localId" : "263", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "264", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "265", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "231", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "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" - }, { - "localId" : "234", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "235", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "236", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "237", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" + "type" : "IntervalTypeSpecifier", + "localId" : "304", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "305", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } + }, + "low" : { + "type" : "Literal", + "localId" : "301", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "1.23", + "annotation" : [ ] + }, + "high" : { + "type" : "Literal", + "localId" : "302", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "4.56", + "annotation" : [ ] + } + } + } + }, { + "localId" : "310", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "name" : "WidthOfQuantityInterval", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "310", + "s" : [ { + "value" : [ "", "define ", "WidthOfQuantityInterval", ": " ] + }, { + "r" : "311", + "s" : [ { + "value" : [ "width of " ] + }, { + "r" : "328", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "312", + "s" : [ { + "value" : [ "Quantity", "{" ] }, { - "localId" : "238", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "215", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "216", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "217", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "218", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "219", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "220", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "221", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - }, - "high" : { - "localId" : "255", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "256", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" + "s" : [ { + "r" : "314", + "value" : [ "value", ": ", "1" ] + } ] }, { - "localId" : "257", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" + "value" : [ ", " ] }, { - "localId" : "258", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" + "s" : [ { + "value" : [ "unit", ": " ] + }, { + "r" : "318", + "s" : [ { + "value" : [ "'mm'" ] + } ] + } ] }, { - "localId" : "259", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" + "value" : [ "}" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "320", + "s" : [ { + "value" : [ "Quantity", "{" ] }, { - "localId" : "260", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" + "s" : [ { + "r" : "322", + "value" : [ "value", ": ", "10" ] + } ] }, { - "localId" : "261", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" + "value" : [ ", " ] }, { - "localId" : "262", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "239", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2013", - "type" : "Literal" - }, - "month" : { - "localId" : "240", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "241", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "242", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "243", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "244", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "245", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - } - } - }, { - "localId" : "270", - "name" : "DateTimeHalfInterval", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "270", - "s" : [ { - "value" : [ "","define ","DateTimeHalfInterval",": " ] + "s" : [ { + "value" : [ "unit", ": " ] + }, { + "r" : "326", + "s" : [ { + "value" : [ "'mm'" ] + } ] + } ] }, { - "r" : "319", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "287", - "s" : [ { - "r" : "271", - "value" : [ "DateTime","(","2012",", ","1",", ","1",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "311", - "s" : [ { - "r" : "295", - "value" : [ "DateTime","(","2012",", ","6",", ","1",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ ")" ] - } ] - } ] - } - } ], + "value" : [ "}" ] + } ] + }, { + "value" : [ "]" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Width", + "localId" : "311", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "331", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "332", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } + } ], + "operand" : { + "type" : "Interval", + "localId" : "328", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], "resultTypeSpecifier" : { - "localId" : "322", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "323", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "expression" : { - "localId" : "319", - "lowClosed" : true, - "highClosed" : false, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "320", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "321", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "287", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", + "type" : "IntervalTypeSpecifier", + "localId" : "329", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "330", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } + }, + "low" : { + "type" : "Instance", + "localId" : "312", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "classType" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ], + "element" : [ { + "name" : "value", + "value" : { + "type" : "ToDecimal", + "localId" : "316", + "annotation" : [ ], "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" - }, { - "localId" : "290", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "291", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "292", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "293", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "294", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" + "type" : "NamedTypeSpecifier", + "localId" : "317", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] } ], - "year" : { - "localId" : "271", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "272", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "273", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "274", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "275", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "276", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "277", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - }, - "high" : { - "localId" : "311", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", + "operand" : { + "type" : "Literal", + "localId" : "314", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + } + } + }, { + "name" : "unit", + "value" : { + "type" : "Literal", + "localId" : "318", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "mm", + "annotation" : [ ] + } + } ] + }, + "high" : { + "type" : "Instance", + "localId" : "320", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "classType" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ], + "element" : [ { + "name" : "value", + "value" : { + "type" : "ToDecimal", + "localId" : "324", + "annotation" : [ ], "signature" : [ { - "localId" : "312", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "313", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "314", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "315", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "316", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "317", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "318", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" + "type" : "NamedTypeSpecifier", + "localId" : "325", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] } ], - "year" : { - "localId" : "295", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "296", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "6", - "type" : "Literal" - }, - "day" : { - "localId" : "297", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "298", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "299", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "300", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "301", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - } - } - }, { - "localId" : "326", - "name" : "DateTimeSameAsExcept", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "326", - "s" : [ { - "value" : [ "","define ","DateTimeSameAsExcept",": " ] - }, { - "r" : "429", - "s" : [ { - "r" : "375", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "343", - "s" : [ { - "r" : "327", - "value" : [ "DateTime","(","2012",", ","1",", ","1",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "367", - "s" : [ { - "r" : "351", - "value" : [ "DateTime","(","2013",", ","1",", ","1",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ "]" ] - } ] - }, { - "value" : [ " except " ] - }, { - "r" : "426", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "394", - "s" : [ { - "r" : "378", - "value" : [ "DateTime","(","2012",", ","1",", ","1",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "418", - "s" : [ { - "r" : "402", - "value" : [ "DateTime","(","2013",", ","1",", ","1",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ "]" ] - } ] - } ] - } ] - } - } ], + "operand" : { + "type" : "Literal", + "localId" : "322", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "10", + "annotation" : [ ] + } + } + }, { + "name" : "unit", + "value" : { + "type" : "Literal", + "localId" : "326", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "mm", + "annotation" : [ ] + } + } ] + } + } + } + }, { + "localId" : "335", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "name" : "WidthOfDateTimeInterval", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "335", + "s" : [ { + "value" : [ "", "define ", "WidthOfDateTimeInterval", ": " ] + }, { + "r" : "336", + "s" : [ { + "value" : [ "width of " ] + }, { + "r" : "361", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "345", + "s" : [ { + "r" : "337", + "value" : [ "DateTime", "(", "2012", ",", "01", ",", "01", ")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "357", + "s" : [ { + "r" : "349", + "value" : [ "DateTime", "(", "2012", ",", "01", ",", "03", ")" ] + } ] + }, { + "value" : [ "]" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Width", + "localId" : "336", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "364", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "365", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } ], + "operand" : { + "type" : "Interval", + "localId" : "361", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], "resultTypeSpecifier" : { - "localId" : "436", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "437", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } + "type" : "IntervalTypeSpecifier", + "localId" : "362", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "363", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } }, - "expression" : { - "localId" : "429", - "type" : "Except", - "resultTypeSpecifier" : { - "localId" : "434", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "435", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "signature" : [ { - "localId" : "430", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "431", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "432", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "433", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "375", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "376", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "377", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "343", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "344", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "345", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "346", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "347", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "348", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "349", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "350", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "327", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "328", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "329", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "330", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "331", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "332", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "333", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - }, - "high" : { - "localId" : "367", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "368", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "369", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "370", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "371", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "372", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "373", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "374", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "351", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2013", - "type" : "Literal" - }, - "month" : { - "localId" : "352", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "353", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "354", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "355", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "356", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "357", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - } - }, { - "localId" : "426", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "427", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "428", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "394", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "395", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "396", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "397", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "398", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "399", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "400", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "401", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "378", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "379", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "380", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "381", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "382", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "383", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "384", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - }, - "high" : { - "localId" : "418", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "419", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "420", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "421", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "422", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "423", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "424", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "425", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "402", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2013", - "type" : "Literal" - }, - "month" : { - "localId" : "403", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "404", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "405", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "406", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "407", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "408", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - } - } ] - } - }, { - "localId" : "440", - "name" : "DateTimeBeforeExcept", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "440", + "low" : { + "type" : "DateTime", + "localId" : "345", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "346", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "347", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "348", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "337", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "338", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "01", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "339", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "01", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "357", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "358", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "359", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "360", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "349", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "350", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "01", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "351", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "03", + "annotation" : [ ] + } + } + } + } + }, { + "localId" : "368", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", + "name" : "WidthOfDateInterval", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "368", + "s" : [ { + "value" : [ "", "define ", "WidthOfDateInterval", ": " ] + }, { + "r" : "369", + "s" : [ { + "value" : [ "width of " ] + }, { + "r" : "394", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "378", "s" : [ { - "value" : [ "","define ","DateTimeBeforeExcept",": " ] - }, { - "r" : "543", - "s" : [ { - "r" : "489", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "457", - "s" : [ { - "r" : "441", - "value" : [ "DateTime","(","2012",", ","1",", ","1",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "481", - "s" : [ { - "r" : "465", - "value" : [ "DateTime","(","2012",", ","4",", ","1",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ "]" ] - } ] - }, { - "value" : [ " except " ] - }, { - "r" : "540", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "508", - "s" : [ { - "r" : "492", - "value" : [ "DateTime","(","2012",", ","7",", ","1",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "532", - "s" : [ { - "r" : "516", - "value" : [ "DateTime","(","2013",", ","1",", ","1",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ "]" ] - } ] - } ] - } ] - } - } ], + "r" : "370", + "value" : [ "Date", "(", "2012", ",", "01", ",", "01", ")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "390", + "s" : [ { + "r" : "382", + "value" : [ "Date", "(", "2012", ",", "01", ",", "03", ")" ] + } ] + }, { + "value" : [ "]" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Width", + "localId" : "369", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "397", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "398", + "name" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ] + } + } ], + "operand" : { + "type" : "Interval", + "localId" : "394", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], "resultTypeSpecifier" : { - "localId" : "550", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "551", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } + "type" : "IntervalTypeSpecifier", + "localId" : "395", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "396", + "name" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ] + } + }, + "low" : { + "type" : "Date", + "localId" : "378", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "379", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "380", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "381", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "370", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "371", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "01", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "372", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "01", + "annotation" : [ ] + } + }, + "high" : { + "type" : "Date", + "localId" : "390", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "391", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "392", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "393", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "382", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "383", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "01", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "384", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "03", + "annotation" : [ ] + } + } + } + } + }, { + "localId" : "401", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Time", + "name" : "WidthOfTimeInterval", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "401", + "s" : [ { + "value" : [ "", "define ", "WidthOfTimeInterval", ": " ] + }, { + "r" : "402", + "s" : [ { + "value" : [ "width of " ] + }, { + "r" : "427", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "411", + "s" : [ { + "r" : "403", + "value" : [ "Time", "(", "12", ",", "00", ",", "00", ")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "423", + "s" : [ { + "r" : "415", + "value" : [ "Time", "(", "12", ",", "30", ",", "02", ")" ] + } ] + }, { + "value" : [ "]" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Width", + "localId" : "402", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Time", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "430", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "431", + "name" : "{urn:hl7-org:elm-types:r1}Time", + "annotation" : [ ] + } + } ], + "operand" : { + "type" : "Interval", + "localId" : "427", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "428", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "429", + "name" : "{urn:hl7-org:elm-types:r1}Time", + "annotation" : [ ] + } + }, + "low" : { + "type" : "Time", + "localId" : "411", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Time", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "412", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "413", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "414", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "hour" : { + "type" : "Literal", + "localId" : "403", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "12", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "404", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "00", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "405", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "00", + "annotation" : [ ] + } + }, + "high" : { + "type" : "Time", + "localId" : "423", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Time", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "424", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "425", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "426", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "hour" : { + "type" : "Literal", + "localId" : "415", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "12", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "416", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "30", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "417", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "02", + "annotation" : [ ] + } + } + } + } + } ] + } + } +} + +/* Size +library TestSnippet version '1' +using Simple version '1.0.0' +context Patient +define IntSize: Size(Interval[-2, 5]) +define IntOpenSize: Size(Interval(-2, 5)) +define IntSizeThreeToMax: Size(Interval[3, null]) +define IntSizeMinToThree: Size(Interval[null, 3]) +define IntSizeThreeToUnknown: Size(Interval[3, null)) +define IntSizeUnknownToThree: Size(Interval(null, 3]) +define RealSize: Size(Interval[1.23, 4.56]) +define RealOpenSize: Size(Interval(1.23, 4.56)) +define SizeIsNull: Size(null as Interval) +define SizeOfQuantityInterval: Size(Interval[Quantity{value: 1, unit: 'mm'}, Quantity{value: 10, unit: 'mm'}]) +define SizeOfDateTimeInterval: Size(Interval[DateTime(2012,01,01), DateTime(2012,01,03)]) +define SizeOfDateInterval: Size(Interval[Date(2012,01,01), Date(2012,01,03)]) +define SizeOfTimeInterval: Size(Interval[Time(12,00,00), Time(12,30,02)]) +*/ + +module.exports['Size'] = { + "library" : { + "localId" : "0", + "annotation" : [ { + "type" : "CqlToElmInfo", + "translatorVersion" : "4.2.0", + "translatorOptions" : "EnableDateRangeOptimization,EnableAnnotations,EnableResultTypes", + "signatureLevel" : "All" + }, { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "463", + "s" : [ { + "value" : [ "", "library TestSnippet version '1'" ] + } ] + } + } ], + "identifier" : { + "id" : "TestSnippet", + "version" : "1" + }, + "schemaIdentifier" : { + "id" : "urn:hl7-org:elm", + "version" : "r1" + }, + "usings" : { + "def" : [ { + "localId" : "1", + "localIdentifier" : "System", + "uri" : "urn:hl7-org:elm-types:r1", + "annotation" : [ ] + }, { + "localId" : "206", + "localIdentifier" : "Simple", + "uri" : "https://github.com/cqframework/cql-execution/simple", + "version" : "1.0.0", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "206", + "s" : [ { + "value" : [ "", "using " ] + }, { + "s" : [ { + "value" : [ "Simple" ] + } ] + }, { + "value" : [ " version '1.0.0'" ] + } ] + } + } ] + } ] + }, + "contexts" : { + "def" : [ { + "localId" : "211", + "name" : "Patient", + "annotation" : [ ] + } ] + }, + "statements" : { + "def" : [ { + "localId" : "209", + "name" : "Patient", + "context" : "Patient", + "annotation" : [ ], + "expression" : { + "type" : "SingletonFrom", + "localId" : "210", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Retrieve", + "localId" : "208", + "dataType" : "{https://github.com/cqframework/cql-execution/simple}Patient", + "annotation" : [ ], + "include" : [ ], + "codeFilter" : [ ], + "dateFilter" : [ ], + "otherFilter" : [ ] + } + } + }, { + "localId" : "214", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "name" : "IntSize", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "214", + "s" : [ { + "value" : [ "", "define ", "IntSize", ": " ] + }, { + "r" : "226", + "s" : [ { + "value" : [ "Size", "(" ] + }, { + "r" : "219", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "215", + "s" : [ { + "r" : "216", + "value" : [ "-", "2" ] + } ] + }, { + "r" : "218", + "value" : [ ", ", "5", "]" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Size", + "localId" : "226", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "227", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "228", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } ], + "operand" : { + "type" : "Interval", + "localId" : "219", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "220", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "221", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "low" : { + "type" : "Negate", + "localId" : "215", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "217", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "operand" : { + "type" : "Literal", + "localId" : "216", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "annotation" : [ ] + } + }, + "high" : { + "type" : "Literal", + "localId" : "218", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "5", + "annotation" : [ ] + } + } + } + }, { + "localId" : "231", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "name" : "IntOpenSize", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "231", + "s" : [ { + "value" : [ "", "define ", "IntOpenSize", ": " ] + }, { + "r" : "243", + "s" : [ { + "value" : [ "Size", "(" ] + }, { + "r" : "236", + "s" : [ { + "value" : [ "Interval(" ] + }, { + "r" : "232", + "s" : [ { + "r" : "233", + "value" : [ "-", "2" ] + } ] + }, { + "r" : "235", + "value" : [ ", ", "5", ")" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Size", + "localId" : "243", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "244", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "245", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } ], + "operand" : { + "type" : "Interval", + "localId" : "236", + "lowClosed" : false, + "highClosed" : false, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "237", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "238", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "low" : { + "type" : "Negate", + "localId" : "232", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "234", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "operand" : { + "type" : "Literal", + "localId" : "233", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "annotation" : [ ] + } + }, + "high" : { + "type" : "Literal", + "localId" : "235", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "5", + "annotation" : [ ] + } + } + } + }, { + "localId" : "248", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "name" : "IntSizeThreeToMax", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "248", + "s" : [ { + "value" : [ "", "define ", "IntSizeThreeToMax", ": " ] + }, { + "r" : "259", + "s" : [ { + "value" : [ "Size", "(" ] + }, { + "r" : "251", + "s" : [ { + "r" : "249", + "value" : [ "Interval[", "3", ", ", "null", "]" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Size", + "localId" : "259", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "260", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "261", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } ], + "operand" : { + "type" : "Interval", + "localId" : "251", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "253", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "254", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "low" : { + "type" : "Literal", + "localId" : "249", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "high" : { + "type" : "As", + "localId" : "252", + "asType" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Null", + "localId" : "250", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } + } + } + } + }, { + "localId" : "264", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "name" : "IntSizeMinToThree", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "264", + "s" : [ { + "value" : [ "", "define ", "IntSizeMinToThree", ": " ] + }, { + "r" : "275", + "s" : [ { + "value" : [ "Size", "(" ] + }, { + "r" : "267", + "s" : [ { + "r" : "265", + "value" : [ "Interval[", "null", ", ", "3", "]" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Size", + "localId" : "275", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "276", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "277", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } ], + "operand" : { + "type" : "Interval", + "localId" : "267", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "269", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "270", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "low" : { + "type" : "As", + "localId" : "268", + "asType" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Null", + "localId" : "265", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } + }, + "high" : { + "type" : "Literal", + "localId" : "266", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + } + } + } + }, { + "localId" : "280", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "name" : "IntSizeThreeToUnknown", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "280", + "s" : [ { + "value" : [ "", "define ", "IntSizeThreeToUnknown", ": " ] + }, { + "r" : "291", + "s" : [ { + "value" : [ "Size", "(" ] + }, { + "r" : "283", + "s" : [ { + "r" : "281", + "value" : [ "Interval[", "3", ", ", "null", ")" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Size", + "localId" : "291", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "292", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "293", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } ], + "operand" : { + "type" : "Interval", + "localId" : "283", + "lowClosed" : true, + "highClosed" : false, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "285", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "286", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "low" : { + "type" : "Literal", + "localId" : "281", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "high" : { + "type" : "As", + "localId" : "284", + "asType" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Null", + "localId" : "282", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } + } + } + } + }, { + "localId" : "296", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "name" : "IntSizeUnknownToThree", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "296", + "s" : [ { + "value" : [ "", "define ", "IntSizeUnknownToThree", ": " ] + }, { + "r" : "307", + "s" : [ { + "value" : [ "Size", "(" ] + }, { + "r" : "299", + "s" : [ { + "r" : "297", + "value" : [ "Interval(", "null", ", ", "3", "]" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Size", + "localId" : "307", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "308", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "309", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } ], + "operand" : { + "type" : "Interval", + "localId" : "299", + "lowClosed" : false, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "301", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "302", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } }, - "expression" : { - "localId" : "543", - "type" : "Except", - "resultTypeSpecifier" : { - "localId" : "548", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "549", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "signature" : [ { - "localId" : "544", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "545", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "546", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "547", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "489", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "490", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "491", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "457", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "458", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "459", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "460", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "461", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "462", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "463", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "464", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "441", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "442", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "443", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "444", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "445", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "446", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "447", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - }, - "high" : { - "localId" : "481", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "482", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "483", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "484", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "485", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "486", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "487", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "488", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "465", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "466", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "4", - "type" : "Literal" - }, - "day" : { - "localId" : "467", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "468", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "469", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "470", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "471", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - } - }, { - "localId" : "540", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "541", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "542", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "508", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "509", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "510", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "511", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "512", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "513", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "514", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "515", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "492", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "493", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "7", - "type" : "Literal" - }, - "day" : { - "localId" : "494", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "495", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "496", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "497", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "498", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - }, - "high" : { - "localId" : "532", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "533", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "534", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "535", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "536", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "537", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "538", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "539", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "516", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2013", - "type" : "Literal" - }, - "month" : { - "localId" : "517", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "518", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "519", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "520", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "521", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "522", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - } - } ] - } - }, { - "localId" : "554", - "name" : "DateTimeMeetsExcept", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "554", - "s" : [ { - "value" : [ "","define ","DateTimeMeetsExcept",": " ] - }, { - "r" : "657", - "s" : [ { - "r" : "603", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "571", - "s" : [ { - "r" : "555", - "value" : [ "DateTime","(","2012",", ","1",", ","1",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "595", - "s" : [ { - "r" : "579", - "value" : [ "DateTime","(","2012",", ","6",", ","1",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ "]" ] - } ] - }, { - "value" : [ " except " ] - }, { - "r" : "654", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "622", - "s" : [ { - "r" : "606", - "value" : [ "DateTime","(","2012",", ","6",", ","1",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "646", - "s" : [ { - "r" : "630", - "value" : [ "DateTime","(","2013",", ","1",", ","1",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ "]" ] - } ] - } ] - } ] - } - } ], + "low" : { + "type" : "As", + "localId" : "300", + "asType" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Null", + "localId" : "297", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } + }, + "high" : { + "type" : "Literal", + "localId" : "298", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + } + } + } + }, { + "localId" : "312", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "name" : "RealSize", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "312", + "s" : [ { + "value" : [ "", "define ", "RealSize", ": " ] + }, { + "r" : "322", + "s" : [ { + "value" : [ "Size", "(" ] + }, { + "r" : "315", + "s" : [ { + "r" : "313", + "value" : [ "Interval[", "1.23", ", ", "4.56", "]" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Size", + "localId" : "322", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "323", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "324", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } + } ], + "operand" : { + "type" : "Interval", + "localId" : "315", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], "resultTypeSpecifier" : { - "localId" : "664", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "665", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } + "type" : "IntervalTypeSpecifier", + "localId" : "316", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "317", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } }, - "expression" : { - "localId" : "657", - "type" : "Except", - "resultTypeSpecifier" : { - "localId" : "662", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "663", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "signature" : [ { - "localId" : "658", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "659", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "660", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "661", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "603", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "604", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "605", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "571", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "572", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "573", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "574", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "575", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "576", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "577", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "578", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "555", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "556", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "557", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "558", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "559", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "560", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "561", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - }, - "high" : { - "localId" : "595", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "596", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "597", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "598", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "599", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "600", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "601", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "602", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "579", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "580", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "6", - "type" : "Literal" - }, - "day" : { - "localId" : "581", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "582", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "583", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "584", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "585", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - } - }, { - "localId" : "654", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "655", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "656", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "622", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "623", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "624", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "625", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "626", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "627", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "628", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "629", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "606", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "607", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "6", - "type" : "Literal" - }, - "day" : { - "localId" : "608", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "609", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "610", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "611", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "612", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - }, - "high" : { - "localId" : "646", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "647", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "648", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "649", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "650", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "651", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "652", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "653", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "630", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2013", - "type" : "Literal" - }, - "month" : { - "localId" : "631", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "632", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "633", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "634", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "635", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "636", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - } - } ] - } - }, { - "localId" : "668", - "name" : "DateTimeOverlapsExcept", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "668", - "s" : [ { - "value" : [ "","define ","DateTimeOverlapsExcept",": " ] - }, { - "r" : "771", - "s" : [ { - "r" : "717", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "685", - "s" : [ { - "r" : "669", - "value" : [ "DateTime","(","2012",", ","1",", ","1",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "709", - "s" : [ { - "r" : "693", - "value" : [ "DateTime","(","2012",", ","7",", ","1",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ "]" ] - } ] - }, { - "value" : [ " except " ] - }, { - "r" : "768", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "736", - "s" : [ { - "r" : "720", - "value" : [ "DateTime","(","2012",", ","6",", ","1",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "760", - "s" : [ { - "r" : "744", - "value" : [ "DateTime","(","2013",", ","1",", ","1",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ "]" ] - } ] - } ] - } ] - } - } ], + "low" : { + "type" : "Literal", + "localId" : "313", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "1.23", + "annotation" : [ ] + }, + "high" : { + "type" : "Literal", + "localId" : "314", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "4.56", + "annotation" : [ ] + } + } + } + }, { + "localId" : "327", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "name" : "RealOpenSize", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "327", + "s" : [ { + "value" : [ "", "define ", "RealOpenSize", ": " ] + }, { + "r" : "337", + "s" : [ { + "value" : [ "Size", "(" ] + }, { + "r" : "330", + "s" : [ { + "r" : "328", + "value" : [ "Interval(", "1.23", ", ", "4.56", ")" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Size", + "localId" : "337", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "338", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "339", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } + } ], + "operand" : { + "type" : "Interval", + "localId" : "330", + "lowClosed" : false, + "highClosed" : false, + "annotation" : [ ], "resultTypeSpecifier" : { - "localId" : "778", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "779", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } + "type" : "IntervalTypeSpecifier", + "localId" : "331", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "332", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } }, - "expression" : { - "localId" : "771", - "type" : "Except", - "resultTypeSpecifier" : { - "localId" : "776", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "777", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "signature" : [ { - "localId" : "772", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "773", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "774", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "775", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "717", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "718", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "719", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "685", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "686", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "687", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "688", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "689", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "690", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "691", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "692", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "669", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "670", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "671", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "672", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "673", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "674", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "675", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - }, - "high" : { - "localId" : "709", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "710", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "711", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "712", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "713", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "714", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "715", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "716", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "693", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "694", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "7", - "type" : "Literal" - }, - "day" : { - "localId" : "695", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "696", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "697", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "698", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "699", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - } - }, { - "localId" : "768", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "769", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "770", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "736", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "737", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "738", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "739", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "740", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "741", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "742", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "743", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "720", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "721", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "6", - "type" : "Literal" - }, - "day" : { - "localId" : "722", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "723", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "724", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "725", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "726", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - }, - "high" : { - "localId" : "760", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "761", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "762", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "763", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "764", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "765", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "766", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "767", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "744", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2013", - "type" : "Literal" - }, - "month" : { - "localId" : "745", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "746", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "747", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "748", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "749", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "750", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - } - } ] - } - }, { - "localId" : "782", - "name" : "DateTimeBeginsExcept", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "782", + "low" : { + "type" : "Literal", + "localId" : "328", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "1.23", + "annotation" : [ ] + }, + "high" : { + "type" : "Literal", + "localId" : "329", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "4.56", + "annotation" : [ ] + } + } + } + }, { + "localId" : "342", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "name" : "SizeIsNull", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "342", + "s" : [ { + "value" : [ "", "define ", "SizeIsNull", ": " ] + }, { + "r" : "355", + "s" : [ { + "value" : [ "Size", "(" ] + }, { + "r" : "343", + "s" : [ { + "r" : "344", + "value" : [ "null", " as " ] + }, { + "r" : "345", "s" : [ { - "value" : [ "","define ","DateTimeBeginsExcept",": " ] + "value" : [ "Interval<" ] }, { - "r" : "885", - "s" : [ { - "r" : "831", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "799", - "s" : [ { - "r" : "783", - "value" : [ "DateTime","(","2012",", ","1",", ","1",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "823", - "s" : [ { - "r" : "807", - "value" : [ "DateTime","(","2012",", ","6",", ","1",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ "]" ] - } ] - }, { - "value" : [ " except " ] - }, { - "r" : "882", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "850", - "s" : [ { - "r" : "834", - "value" : [ "DateTime","(","2012",", ","1",", ","1",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "874", - "s" : [ { - "r" : "858", - "value" : [ "DateTime","(","2013",", ","1",", ","1",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ "]" ] - } ] - } ] - } ] - } - } ], + "r" : "346", + "s" : [ { + "value" : [ "Integer" ] + } ] + }, { + "value" : [ ">" ] + } ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Size", + "localId" : "355", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "356", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "357", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } ], + "operand" : { + "type" : "As", + "localId" : "343", + "strict" : false, + "annotation" : [ ], "resultTypeSpecifier" : { - "localId" : "892", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "893", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } + "type" : "IntervalTypeSpecifier", + "localId" : "349", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "350", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } }, - "expression" : { - "localId" : "885", - "type" : "Except", - "resultTypeSpecifier" : { - "localId" : "890", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "891", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "signature" : [ { - "localId" : "886", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "887", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "888", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "889", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "831", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "832", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "833", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "799", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "800", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "801", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "802", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "803", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "804", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "805", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "806", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "783", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "784", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "785", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "786", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "787", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "788", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "789", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - }, - "high" : { - "localId" : "823", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "824", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "825", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "826", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "827", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "828", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "829", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "830", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "807", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "808", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "6", - "type" : "Literal" - }, - "day" : { - "localId" : "809", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "810", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "811", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "812", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "813", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - } - }, { - "localId" : "882", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "883", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "884", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "850", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "851", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "852", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "853", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "854", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "855", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "856", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "857", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "834", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "835", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "836", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "837", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "838", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "839", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "840", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - }, - "high" : { - "localId" : "874", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "875", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "876", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "877", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "878", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "879", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "880", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "881", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "858", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2013", - "type" : "Literal" - }, - "month" : { - "localId" : "859", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "860", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "861", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "862", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "863", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "864", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - } - } ] - } - }, { - "localId" : "896", - "name" : "DateTimeDuringExcept", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "896", - "s" : [ { - "value" : [ "","define ","DateTimeDuringExcept",": " ] - }, { - "r" : "999", - "s" : [ { - "r" : "945", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "913", - "s" : [ { - "r" : "897", - "value" : [ "DateTime","(","2012",", ","3",", ","1",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "937", - "s" : [ { - "r" : "921", - "value" : [ "DateTime","(","2012",", ","5",", ","1",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ "]" ] - } ] - }, { - "value" : [ " except " ] - }, { - "r" : "996", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "964", - "s" : [ { - "r" : "948", - "value" : [ "DateTime","(","2012",", ","1",", ","1",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "988", - "s" : [ { - "r" : "972", - "value" : [ "DateTime","(","2013",", ","1",", ","1",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ "]" ] - } ] - } ] - } ] - } - } ], + "signature" : [ ], + "operand" : { + "type" : "Null", + "localId" : "344", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + }, + "asTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "345", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "347", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "348", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "346", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } + } + } + }, { + "localId" : "360", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "name" : "SizeOfQuantityInterval", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "360", + "s" : [ { + "value" : [ "", "define ", "SizeOfQuantityInterval", ": " ] + }, { + "r" : "384", + "s" : [ { + "value" : [ "Size", "(" ] + }, { + "r" : "377", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "361", + "s" : [ { + "value" : [ "Quantity", "{" ] + }, { + "s" : [ { + "r" : "363", + "value" : [ "value", ": ", "1" ] + } ] + }, { + "value" : [ ", " ] + }, { + "s" : [ { + "value" : [ "unit", ": " ] + }, { + "r" : "367", + "s" : [ { + "value" : [ "'mm'" ] + } ] + } ] + }, { + "value" : [ "}" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "369", + "s" : [ { + "value" : [ "Quantity", "{" ] + }, { + "s" : [ { + "r" : "371", + "value" : [ "value", ": ", "10" ] + } ] + }, { + "value" : [ ", " ] + }, { + "s" : [ { + "value" : [ "unit", ": " ] + }, { + "r" : "375", + "s" : [ { + "value" : [ "'mm'" ] + } ] + } ] + }, { + "value" : [ "}" ] + } ] + }, { + "value" : [ "]" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Size", + "localId" : "384", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "385", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "386", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } + } ], + "operand" : { + "type" : "Interval", + "localId" : "377", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], "resultTypeSpecifier" : { - "localId" : "1006", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1007", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "expression" : { - "localId" : "999", - "type" : "Except", - "resultTypeSpecifier" : { - "localId" : "1004", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1005", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "signature" : [ { - "localId" : "1000", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1001", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "1002", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1003", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "945", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "946", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "947", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "913", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "914", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "915", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "916", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "917", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "918", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "919", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "920", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "897", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "898", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "899", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "900", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "901", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "902", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "903", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - }, - "high" : { - "localId" : "937", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "938", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "939", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "940", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "941", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "942", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "943", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "944", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "921", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "922", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal" - }, - "day" : { - "localId" : "923", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "924", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "925", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "926", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "927", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - } - }, { - "localId" : "996", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "997", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "998", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "964", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "965", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "966", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "967", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "968", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "969", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "970", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "971", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "948", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "949", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "950", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "951", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "952", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "953", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "954", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - }, - "high" : { - "localId" : "988", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "989", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "990", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "991", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "992", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "993", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "994", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "995", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "972", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2013", - "type" : "Literal" - }, - "month" : { - "localId" : "973", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "974", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "975", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "976", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "977", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "978", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - } - } ] - } - }, { - "localId" : "1010", - "name" : "DateTimeEndsExcept", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "1010", - "s" : [ { - "value" : [ "","define ","DateTimeEndsExcept",": " ] - }, { - "r" : "1113", - "s" : [ { - "r" : "1059", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "1027", - "s" : [ { - "r" : "1011", - "value" : [ "DateTime","(","2012",", ","6",", ","1",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "1051", - "s" : [ { - "r" : "1035", - "value" : [ "DateTime","(","2013",", ","1",", ","1",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ "]" ] - } ] - }, { - "value" : [ " except " ] - }, { - "r" : "1110", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "1078", - "s" : [ { - "r" : "1062", - "value" : [ "DateTime","(","2012",", ","1",", ","1",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "1102", - "s" : [ { - "r" : "1086", - "value" : [ "DateTime","(","2013",", ","1",", ","1",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ "]" ] - } ] - } ] - } ] - } - } ], + "type" : "IntervalTypeSpecifier", + "localId" : "378", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "379", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } + }, + "low" : { + "type" : "Instance", + "localId" : "361", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "classType" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ], + "element" : [ { + "name" : "value", + "value" : { + "type" : "ToDecimal", + "localId" : "365", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "366", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "operand" : { + "type" : "Literal", + "localId" : "363", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + } + } + }, { + "name" : "unit", + "value" : { + "type" : "Literal", + "localId" : "367", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "mm", + "annotation" : [ ] + } + } ] + }, + "high" : { + "type" : "Instance", + "localId" : "369", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "classType" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ], + "element" : [ { + "name" : "value", + "value" : { + "type" : "ToDecimal", + "localId" : "373", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "374", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "operand" : { + "type" : "Literal", + "localId" : "371", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "10", + "annotation" : [ ] + } + } + }, { + "name" : "unit", + "value" : { + "type" : "Literal", + "localId" : "375", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "mm", + "annotation" : [ ] + } + } ] + } + } + } + }, { + "localId" : "389", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "name" : "SizeOfDateTimeInterval", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "389", + "s" : [ { + "value" : [ "", "define ", "SizeOfDateTimeInterval", ": " ] + }, { + "r" : "421", + "s" : [ { + "value" : [ "Size", "(" ] + }, { + "r" : "414", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "398", + "s" : [ { + "r" : "390", + "value" : [ "DateTime", "(", "2012", ",", "01", ",", "01", ")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "410", + "s" : [ { + "r" : "402", + "value" : [ "DateTime", "(", "2012", ",", "01", ",", "03", ")" ] + } ] + }, { + "value" : [ "]" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Size", + "localId" : "421", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "422", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "423", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } ], + "operand" : { + "type" : "Interval", + "localId" : "414", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], "resultTypeSpecifier" : { - "localId" : "1120", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1121", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } + "type" : "IntervalTypeSpecifier", + "localId" : "415", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "416", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } }, - "expression" : { - "localId" : "1113", - "type" : "Except", - "resultTypeSpecifier" : { - "localId" : "1118", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1119", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "signature" : [ { - "localId" : "1114", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1115", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "1116", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1117", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "1059", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "1060", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1061", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "1027", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "1028", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1029", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1030", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1031", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1032", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1033", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1034", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1011", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "1012", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "6", - "type" : "Literal" - }, - "day" : { - "localId" : "1013", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "1014", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "1015", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "1016", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "1017", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - }, - "high" : { - "localId" : "1051", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "1052", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1053", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1054", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1055", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1056", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1057", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1058", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1035", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2013", - "type" : "Literal" - }, - "month" : { - "localId" : "1036", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "1037", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "1038", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "1039", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "1040", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "1041", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - } - }, { - "localId" : "1110", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "1111", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1112", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "1078", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "1079", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1080", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1081", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1082", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1083", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1084", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1085", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1062", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "1063", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "1064", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "1065", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "1066", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "1067", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "1068", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - }, - "high" : { - "localId" : "1102", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "1103", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1104", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1105", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1106", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1107", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1108", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1109", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1086", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2013", - "type" : "Literal" - }, - "month" : { - "localId" : "1087", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "1088", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "1089", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "1090", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "1091", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "1092", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - } - } ] - } - } ] - } - } + "low" : { + "type" : "DateTime", + "localId" : "398", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "399", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "400", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "401", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "390", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "391", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "01", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "392", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "01", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "410", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "411", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "412", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "413", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "402", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "403", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "01", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "404", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "03", + "annotation" : [ ] + } + } + } + } + }, { + "localId" : "426", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", + "name" : "SizeOfDateInterval", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "426", + "s" : [ { + "value" : [ "", "define ", "SizeOfDateInterval", ": " ] + }, { + "r" : "458", + "s" : [ { + "value" : [ "Size", "(" ] + }, { + "r" : "451", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "435", + "s" : [ { + "r" : "427", + "value" : [ "Date", "(", "2012", ",", "01", ",", "01", ")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "447", + "s" : [ { + "r" : "439", + "value" : [ "Date", "(", "2012", ",", "01", ",", "03", ")" ] + } ] + }, { + "value" : [ "]" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Size", + "localId" : "458", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "459", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "460", + "name" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ] + } + } ], + "operand" : { + "type" : "Interval", + "localId" : "451", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "452", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "453", + "name" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ] + } + }, + "low" : { + "type" : "Date", + "localId" : "435", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "436", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "437", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "438", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "427", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "428", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "01", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "429", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "01", + "annotation" : [ ] + } + }, + "high" : { + "type" : "Date", + "localId" : "447", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "448", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "449", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "450", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "439", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "440", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "01", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "441", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "03", + "annotation" : [ ] + } + } + } + } + }, { + "localId" : "463", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Time", + "name" : "SizeOfTimeInterval", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "463", + "s" : [ { + "value" : [ "", "define ", "SizeOfTimeInterval", ": " ] + }, { + "r" : "495", + "s" : [ { + "value" : [ "Size", "(" ] + }, { + "r" : "488", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "472", + "s" : [ { + "r" : "464", + "value" : [ "Time", "(", "12", ",", "00", ",", "00", ")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "484", + "s" : [ { + "r" : "476", + "value" : [ "Time", "(", "12", ",", "30", ",", "02", ")" ] + } ] + }, { + "value" : [ "]" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Size", + "localId" : "495", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Time", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "496", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "497", + "name" : "{urn:hl7-org:elm-types:r1}Time", + "annotation" : [ ] + } + } ], + "operand" : { + "type" : "Interval", + "localId" : "488", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "489", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "490", + "name" : "{urn:hl7-org:elm-types:r1}Time", + "annotation" : [ ] + } + }, + "low" : { + "type" : "Time", + "localId" : "472", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Time", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "473", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "474", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "475", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "hour" : { + "type" : "Literal", + "localId" : "464", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "12", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "465", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "00", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "466", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "00", + "annotation" : [ ] + } + }, + "high" : { + "type" : "Time", + "localId" : "484", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Time", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "485", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "486", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "487", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "hour" : { + "type" : "Literal", + "localId" : "476", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "12", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "477", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "30", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "478", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "02", + "annotation" : [ ] + } + } + } + } + } ] + } + } } -/* IntegerIntervalIntersect +/* Start library TestSnippet version '1' using Simple version '1.0.0' context Patient -define IntFullInterval: Interval[0,10] -define IntMeetsInterval: Interval[5,5] -define IntOverlapsInterval: Interval[5,7] -define IntBeginsInterval: Interval[0,5] -define IntDuringInterval: Interval[3,5] -define IntEndsInterval: Interval[5,10] -define IntSameAsIntersect: Interval[0,10] intersect Interval[0,10] -define IntBeforeIntersect: Interval[0,4] intersect Interval[6,10] -define IntMeetsIntersect: Interval[0,5] intersect Interval[5,10] -define IntOverlapsIntersect: Interval[0,7] intersect Interval[5,10] -define IntBeginsIntersect: Interval[0,5] intersect Interval[0,10] -define IntDuringIntersect: Interval[3,5] intersect Interval[0,10] -define IntEndsIntersect: Interval[5,10] intersect Interval[0,10] +define ClosedNotNull: start of Interval[DateTime(2012, 1, 1), DateTime(2013, 1, 1)] +define ClosedNullDateTime: start of Interval[null, DateTime(2013, 1, 1)] +define ClosedNullInteger: start of Interval[null, 3] +define ClosedNullDecimal: start of Interval[null, 5.1] +define NullInterval: start of (null as Interval) +define OpenNotNull: start of Interval(DateTime(2012, 1, 1), DateTime(2013, 1, 1)) +define OpenNull: start of Interval(null, DateTime(2013, 1, 1)) */ -module.exports['IntegerIntervalIntersect'] = { - "library" : { - "localId" : "0", - "annotation" : [ { - "translatorVersion" : "3.27.0", - "translatorOptions" : "EnableDateRangeOptimization,EnableAnnotations,EnableResultTypes", - "signatureLevel" : "All", - "type" : "CqlToElmInfo" - }, { - "type" : "Annotation", - "s" : { - "r" : "406", +module.exports['Start'] = { + "library" : { + "localId" : "0", + "annotation" : [ { + "type" : "CqlToElmInfo", + "translatorVersion" : "4.2.0", + "translatorOptions" : "EnableDateRangeOptimization,EnableAnnotations,EnableResultTypes", + "signatureLevel" : "All" + }, { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "343", + "s" : [ { + "value" : [ "", "library TestSnippet version '1'" ] + } ] + } + } ], + "identifier" : { + "id" : "TestSnippet", + "version" : "1" + }, + "schemaIdentifier" : { + "id" : "urn:hl7-org:elm", + "version" : "r1" + }, + "usings" : { + "def" : [ { + "localId" : "1", + "localIdentifier" : "System", + "uri" : "urn:hl7-org:elm-types:r1", + "annotation" : [ ] + }, { + "localId" : "206", + "localIdentifier" : "Simple", + "uri" : "https://github.com/cqframework/cql-execution/simple", + "version" : "1.0.0", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "206", "s" : [ { - "value" : [ "","library TestSnippet version '1'" ] - } ] - } - } ], - "identifier" : { - "id" : "TestSnippet", - "version" : "1" - }, - "schemaIdentifier" : { - "id" : "urn:hl7-org:elm", - "version" : "r1" - }, - "usings" : { - "def" : [ { - "localId" : "1", - "localIdentifier" : "System", - "uri" : "urn:hl7-org:elm-types:r1" - }, { - "localId" : "206", - "localIdentifier" : "Simple", - "uri" : "https://github.com/cqframework/cql-execution/simple", - "version" : "1.0.0", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "206", - "s" : [ { - "value" : [ "","using " ] - }, { - "s" : [ { - "value" : [ "Simple" ] - } ] - }, { - "value" : [ " version '1.0.0'" ] - } ] - } - } ] - } ] - }, - "contexts" : { - "def" : [ { - "localId" : "211", - "name" : "Patient" - } ] - }, - "statements" : { - "def" : [ { - "localId" : "209", - "name" : "Patient", - "context" : "Patient", - "expression" : { - "localId" : "210", - "type" : "SingletonFrom", - "signature" : [ ], - "operand" : { - "localId" : "208", - "dataType" : "{https://github.com/cqframework/cql-execution/simple}Patient", - "type" : "Retrieve", - "include" : [ ], - "codeFilter" : [ ], - "dateFilter" : [ ], - "otherFilter" : [ ] - } - } - }, { - "localId" : "214", - "name" : "IntFullInterval", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "214", - "s" : [ { - "value" : [ "","define ","IntFullInterval",": " ] - }, { - "r" : "217", - "s" : [ { - "r" : "215", - "value" : [ "Interval[","0",",","10","]" ] - } ] - } ] - } - } ], - "resultTypeSpecifier" : { - "localId" : "220", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "221", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "expression" : { - "localId" : "217", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "218", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "219", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "215", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "high" : { - "localId" : "216", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal" - } - } - }, { - "localId" : "224", - "name" : "IntMeetsInterval", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { + "value" : [ "", "using " ] + }, { + "s" : [ { + "value" : [ "Simple" ] + } ] + }, { + "value" : [ " version '1.0.0'" ] + } ] + } + } ] + } ] + }, + "contexts" : { + "def" : [ { + "localId" : "211", + "name" : "Patient", + "annotation" : [ ] + } ] + }, + "statements" : { + "def" : [ { + "localId" : "209", + "name" : "Patient", + "context" : "Patient", + "annotation" : [ ], + "expression" : { + "type" : "SingletonFrom", + "localId" : "210", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Retrieve", + "localId" : "208", + "dataType" : "{https://github.com/cqframework/cql-execution/simple}Patient", + "annotation" : [ ], + "include" : [ ], + "codeFilter" : [ ], + "dateFilter" : [ ], + "otherFilter" : [ ] + } + } + }, { + "localId" : "214", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "name" : "ClosedNotNull", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "214", + "s" : [ { + "value" : [ "", "define ", "ClosedNotNull", ": " ] + }, { + "r" : "215", + "s" : [ { + "value" : [ "start of " ] + }, { + "r" : "240", + "s" : [ { + "value" : [ "Interval[" ] + }, { "r" : "224", "s" : [ { - "value" : [ "","define ","IntMeetsInterval",": " ] - }, { - "r" : "227", - "s" : [ { - "r" : "225", - "value" : [ "Interval[","5",",","5","]" ] - } ] + "r" : "216", + "value" : [ "DateTime", "(", "2012", ", ", "1", ", ", "1", ")" ] } ] - } - } ], - "resultTypeSpecifier" : { - "localId" : "230", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "231", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "expression" : { - "localId" : "227", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "228", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "229", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "225", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal" - }, - "high" : { - "localId" : "226", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal" - } - } - }, { - "localId" : "234", - "name" : "IntOverlapsInterval", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "234", + }, { + "value" : [ ", " ] + }, { + "r" : "236", "s" : [ { - "value" : [ "","define ","IntOverlapsInterval",": " ] - }, { - "r" : "237", - "s" : [ { - "r" : "235", - "value" : [ "Interval[","5",",","7","]" ] - } ] - } ] - } - } ], - "resultTypeSpecifier" : { - "localId" : "240", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "241", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "expression" : { - "localId" : "237", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "238", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "239", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "235", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal" - }, - "high" : { - "localId" : "236", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "7", - "type" : "Literal" - } - } - }, { - "localId" : "244", - "name" : "IntBeginsInterval", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "244", - "s" : [ { - "value" : [ "","define ","IntBeginsInterval",": " ] - }, { - "r" : "247", - "s" : [ { - "r" : "245", - "value" : [ "Interval[","0",",","5","]" ] - } ] + "r" : "228", + "value" : [ "DateTime", "(", "2013", ", ", "1", ", ", "1", ")" ] } ] - } - } ], + }, { + "value" : [ "]" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Start", + "localId" : "215", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "243", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "244", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } ], + "operand" : { + "type" : "Interval", + "localId" : "240", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], "resultTypeSpecifier" : { - "localId" : "250", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "251", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "expression" : { - "localId" : "247", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "248", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "249", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "245", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "high" : { - "localId" : "246", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal" - } - } - }, { - "localId" : "254", - "name" : "IntDuringInterval", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "254", + "type" : "IntervalTypeSpecifier", + "localId" : "241", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "242", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "DateTime", + "localId" : "224", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "225", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "226", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "227", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "216", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "217", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "218", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "236", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "237", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "238", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "239", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "228", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2013", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "229", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "230", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + } + } + } + } + }, { + "localId" : "247", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "name" : "ClosedNullDateTime", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "247", + "s" : [ { + "value" : [ "", "define ", "ClosedNullDateTime", ": " ] + }, { + "r" : "248", + "s" : [ { + "value" : [ "start of " ] + }, { + "r" : "262", + "s" : [ { + "r" : "249", + "value" : [ "Interval[", "null", ", " ] + }, { + "r" : "258", "s" : [ { - "value" : [ "","define ","IntDuringInterval",": " ] - }, { - "r" : "257", - "s" : [ { - "r" : "255", - "value" : [ "Interval[","3",",","5","]" ] - } ] - } ] - } - } ], - "resultTypeSpecifier" : { - "localId" : "260", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "261", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "expression" : { - "localId" : "257", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "258", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "259", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "255", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "high" : { - "localId" : "256", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal" - } - } - }, { - "localId" : "264", - "name" : "IntEndsInterval", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "264", - "s" : [ { - "value" : [ "","define ","IntEndsInterval",": " ] - }, { - "r" : "267", - "s" : [ { - "r" : "265", - "value" : [ "Interval[","5",",","10","]" ] - } ] + "r" : "250", + "value" : [ "DateTime", "(", "2013", ", ", "1", ", ", "1", ")" ] } ] - } - } ], + }, { + "value" : [ "]" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Start", + "localId" : "248", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "266", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "267", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } ], + "operand" : { + "type" : "Interval", + "localId" : "262", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], "resultTypeSpecifier" : { - "localId" : "270", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "271", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "expression" : { - "localId" : "267", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "268", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "269", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "265", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal" - }, - "high" : { - "localId" : "266", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal" - } - } - }, { + "type" : "IntervalTypeSpecifier", + "localId" : "264", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "265", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "As", + "localId" : "263", + "asType" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Null", + "localId" : "249", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "258", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "259", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "260", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "261", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "250", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2013", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "251", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "252", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + } + } + } + } + }, { + "localId" : "270", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "name" : "ClosedNullInteger", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "270", + "s" : [ { + "value" : [ "", "define ", "ClosedNullInteger", ": " ] + }, { + "r" : "271", + "s" : [ { + "value" : [ "start of " ] + }, { + "r" : "274", + "s" : [ { + "r" : "272", + "value" : [ "Interval[", "null", ", ", "3", "]" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Start", + "localId" : "271", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "278", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "279", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } ], + "operand" : { + "type" : "Interval", "localId" : "274", - "name" : "IntSameAsIntersect", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "274", - "s" : [ { - "value" : [ "","define ","IntSameAsIntersect",": " ] - }, { - "r" : "285", - "s" : [ { - "r" : "277", - "s" : [ { - "r" : "275", - "value" : [ "Interval[","0",",","10","]" ] - } ] - }, { - "value" : [ " intersect " ] - }, { - "r" : "282", - "s" : [ { - "r" : "280", - "value" : [ "Interval[","0",",","10","]" ] - } ] - } ] - } ] - } - } ], + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], "resultTypeSpecifier" : { - "localId" : "292", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "293", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } + "type" : "IntervalTypeSpecifier", + "localId" : "276", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "277", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } }, - "expression" : { - "localId" : "285", - "type" : "Intersect", - "resultTypeSpecifier" : { - "localId" : "290", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "291", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "signature" : [ { - "localId" : "286", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "287", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "288", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "289", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "277", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "278", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "279", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "275", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "high" : { - "localId" : "276", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal" - } - }, { - "localId" : "282", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "283", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "284", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "280", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "high" : { - "localId" : "281", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal" - } - } ] - } - }, { - "localId" : "296", - "name" : "IntBeforeIntersect", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "296", - "s" : [ { - "value" : [ "","define ","IntBeforeIntersect",": " ] - }, { - "r" : "307", - "s" : [ { - "r" : "299", - "s" : [ { - "r" : "297", - "value" : [ "Interval[","0",",","4","]" ] - } ] - }, { - "value" : [ " intersect " ] - }, { - "r" : "304", - "s" : [ { - "r" : "302", - "value" : [ "Interval[","6",",","10","]" ] - } ] - } ] - } ] - } - } ], - "resultTypeSpecifier" : { - "localId" : "314", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "315", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } + "low" : { + "type" : "As", + "localId" : "275", + "asType" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Null", + "localId" : "272", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } }, - "expression" : { - "localId" : "307", - "type" : "Intersect", - "resultTypeSpecifier" : { - "localId" : "312", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "313", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "signature" : [ { - "localId" : "308", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "309", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "310", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "311", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "299", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "300", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "301", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "297", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "high" : { - "localId" : "298", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "4", - "type" : "Literal" - } - }, { - "localId" : "304", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "305", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "306", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "302", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "6", - "type" : "Literal" - }, - "high" : { - "localId" : "303", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal" - } - } ] - } - }, { - "localId" : "318", - "name" : "IntMeetsIntersect", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "318", + "high" : { + "type" : "Literal", + "localId" : "273", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + } + } + } + }, { + "localId" : "282", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "name" : "ClosedNullDecimal", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "282", + "s" : [ { + "value" : [ "", "define ", "ClosedNullDecimal", ": " ] + }, { + "r" : "283", + "s" : [ { + "value" : [ "start of " ] + }, { + "r" : "286", + "s" : [ { + "r" : "284", + "value" : [ "Interval[", "null", ", ", "5.1", "]" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Start", + "localId" : "283", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "290", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "291", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } + } ], + "operand" : { + "type" : "Interval", + "localId" : "286", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "288", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "289", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } + }, + "low" : { + "type" : "As", + "localId" : "287", + "asType" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Null", + "localId" : "284", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } + }, + "high" : { + "type" : "Literal", + "localId" : "285", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "5.1", + "annotation" : [ ] + } + } + } + }, { + "localId" : "294", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "name" : "NullInterval", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "294", + "s" : [ { + "value" : [ "", "define ", "NullInterval", ": " ] + }, { + "r" : "295", + "s" : [ { + "value" : [ "start of " ] + }, { + "r" : "296", + "s" : [ { + "value" : [ "(" ] + }, { + "r" : "296", "s" : [ { - "value" : [ "","define ","IntMeetsIntersect",": " ] - }, { - "r" : "329", - "s" : [ { - "r" : "321", - "s" : [ { - "r" : "319", - "value" : [ "Interval[","0",",","5","]" ] - } ] - }, { - "value" : [ " intersect " ] - }, { - "r" : "326", - "s" : [ { - "r" : "324", - "value" : [ "Interval[","5",",","10","]" ] - } ] - } ] - } ] - } - } ], + "r" : "297", + "value" : [ "null", " as " ] + }, { + "r" : "298", + "s" : [ { + "value" : [ "Interval<" ] + }, { + "r" : "299", + "s" : [ { + "value" : [ "DateTime" ] + } ] + }, { + "value" : [ ">" ] + } ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Start", + "localId" : "295", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "306", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "307", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } ], + "operand" : { + "type" : "As", + "localId" : "296", + "strict" : false, + "annotation" : [ ], "resultTypeSpecifier" : { - "localId" : "336", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "337", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "expression" : { - "localId" : "329", - "type" : "Intersect", - "resultTypeSpecifier" : { - "localId" : "334", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "335", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "signature" : [ { - "localId" : "330", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "331", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "332", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "333", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "321", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "322", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "323", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "319", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "high" : { - "localId" : "320", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal" - } - }, { - "localId" : "326", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "327", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "328", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "324", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal" - }, - "high" : { - "localId" : "325", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal" - } - } ] - } - }, { - "localId" : "340", - "name" : "IntOverlapsIntersect", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "340", + "type" : "IntervalTypeSpecifier", + "localId" : "304", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "305", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "signature" : [ ], + "operand" : { + "type" : "Null", + "localId" : "297", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + }, + "asTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "298", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "300", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "301", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "299", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + } + } + }, { + "localId" : "310", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "name" : "OpenNotNull", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "310", + "s" : [ { + "value" : [ "", "define ", "OpenNotNull", ": " ] + }, { + "r" : "311", + "s" : [ { + "value" : [ "start of " ] + }, { + "r" : "336", + "s" : [ { + "value" : [ "Interval(" ] + }, { + "r" : "320", + "s" : [ { + "r" : "312", + "value" : [ "DateTime", "(", "2012", ", ", "1", ", ", "1", ")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "332", "s" : [ { - "value" : [ "","define ","IntOverlapsIntersect",": " ] - }, { - "r" : "351", - "s" : [ { - "r" : "343", - "s" : [ { - "r" : "341", - "value" : [ "Interval[","0",",","7","]" ] - } ] - }, { - "value" : [ " intersect " ] - }, { - "r" : "348", - "s" : [ { - "r" : "346", - "value" : [ "Interval[","5",",","10","]" ] - } ] - } ] - } ] - } - } ], + "r" : "324", + "value" : [ "DateTime", "(", "2013", ", ", "1", ", ", "1", ")" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Start", + "localId" : "311", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "339", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "340", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } ], + "operand" : { + "type" : "Interval", + "localId" : "336", + "lowClosed" : false, + "highClosed" : false, + "annotation" : [ ], "resultTypeSpecifier" : { - "localId" : "358", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "359", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } + "type" : "IntervalTypeSpecifier", + "localId" : "337", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "338", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } }, - "expression" : { - "localId" : "351", - "type" : "Intersect", - "resultTypeSpecifier" : { - "localId" : "356", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "357", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "signature" : [ { - "localId" : "352", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "353", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "354", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "355", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "343", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "344", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "345", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "341", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "high" : { - "localId" : "342", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "7", - "type" : "Literal" - } - }, { - "localId" : "348", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "349", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "350", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "346", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal" - }, - "high" : { - "localId" : "347", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal" - } - } ] - } - }, { + "low" : { + "type" : "DateTime", + "localId" : "320", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "321", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "322", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "323", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "312", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "313", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "314", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "332", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "333", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "334", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "335", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "324", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2013", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "325", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "326", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + } + } + } + } + }, { + "localId" : "343", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "name" : "OpenNull", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "343", + "s" : [ { + "value" : [ "", "define ", "OpenNull", ": " ] + }, { + "r" : "344", + "s" : [ { + "value" : [ "start of " ] + }, { + "r" : "358", + "s" : [ { + "r" : "345", + "value" : [ "Interval(", "null", ", " ] + }, { + "r" : "354", + "s" : [ { + "r" : "346", + "value" : [ "DateTime", "(", "2013", ", ", "1", ", ", "1", ")" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Start", + "localId" : "344", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", "localId" : "362", - "name" : "IntBeginsIntersect", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "362", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "363", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } ], + "operand" : { + "type" : "Interval", + "localId" : "358", + "lowClosed" : false, + "highClosed" : false, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "360", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "361", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "As", + "localId" : "359", + "asType" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Null", + "localId" : "345", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "354", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "355", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "356", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "357", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "346", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2013", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "347", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "348", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + } + } + } + } + } ] + } + } +} + +/* End +library TestSnippet version '1' +using Simple version '1.0.0' +context Patient +define ClosedNotNull: end of Interval[DateTime(2012, 1, 1), DateTime(2013, 1, 1)] +define ClosedNullDateTime: end of Interval[DateTime(2013, 1, 1), null] +define ClosedNullInteger: end of Interval[5, null] +define ClosedNullDecimal: end of Interval[7.3, null] +define NullInterval: end of (null as Interval) +define OpenNotNull: end of Interval(DateTime(2012, 1, 1), DateTime(2013, 1, 1)) +define OpenNull: end of Interval(DateTime(2013, 1, 1), null) +*/ + +module.exports['End'] = { + "library" : { + "localId" : "0", + "annotation" : [ { + "type" : "CqlToElmInfo", + "translatorVersion" : "4.2.0", + "translatorOptions" : "EnableDateRangeOptimization,EnableAnnotations,EnableResultTypes", + "signatureLevel" : "All" + }, { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "343", + "s" : [ { + "value" : [ "", "library TestSnippet version '1'" ] + } ] + } + } ], + "identifier" : { + "id" : "TestSnippet", + "version" : "1" + }, + "schemaIdentifier" : { + "id" : "urn:hl7-org:elm", + "version" : "r1" + }, + "usings" : { + "def" : [ { + "localId" : "1", + "localIdentifier" : "System", + "uri" : "urn:hl7-org:elm-types:r1", + "annotation" : [ ] + }, { + "localId" : "206", + "localIdentifier" : "Simple", + "uri" : "https://github.com/cqframework/cql-execution/simple", + "version" : "1.0.0", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "206", + "s" : [ { + "value" : [ "", "using " ] + }, { + "s" : [ { + "value" : [ "Simple" ] + } ] + }, { + "value" : [ " version '1.0.0'" ] + } ] + } + } ] + } ] + }, + "contexts" : { + "def" : [ { + "localId" : "211", + "name" : "Patient", + "annotation" : [ ] + } ] + }, + "statements" : { + "def" : [ { + "localId" : "209", + "name" : "Patient", + "context" : "Patient", + "annotation" : [ ], + "expression" : { + "type" : "SingletonFrom", + "localId" : "210", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Retrieve", + "localId" : "208", + "dataType" : "{https://github.com/cqframework/cql-execution/simple}Patient", + "annotation" : [ ], + "include" : [ ], + "codeFilter" : [ ], + "dateFilter" : [ ], + "otherFilter" : [ ] + } + } + }, { + "localId" : "214", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "name" : "ClosedNotNull", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "214", + "s" : [ { + "value" : [ "", "define ", "ClosedNotNull", ": " ] + }, { + "r" : "215", + "s" : [ { + "value" : [ "end of " ] + }, { + "r" : "240", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "224", "s" : [ { - "value" : [ "","define ","IntBeginsIntersect",": " ] - }, { - "r" : "373", - "s" : [ { - "r" : "365", - "s" : [ { - "r" : "363", - "value" : [ "Interval[","0",",","5","]" ] - } ] - }, { - "value" : [ " intersect " ] - }, { - "r" : "370", - "s" : [ { - "r" : "368", - "value" : [ "Interval[","0",",","10","]" ] - } ] - } ] - } ] - } - } ], + "r" : "216", + "value" : [ "DateTime", "(", "2012", ", ", "1", ", ", "1", ")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "236", + "s" : [ { + "r" : "228", + "value" : [ "DateTime", "(", "2013", ", ", "1", ", ", "1", ")" ] + } ] + }, { + "value" : [ "]" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "End", + "localId" : "215", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "243", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "244", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } ], + "operand" : { + "type" : "Interval", + "localId" : "240", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], "resultTypeSpecifier" : { - "localId" : "380", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "381", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "expression" : { - "localId" : "373", - "type" : "Intersect", - "resultTypeSpecifier" : { - "localId" : "378", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "379", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "signature" : [ { - "localId" : "374", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "375", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "376", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "377", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "365", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "366", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "367", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "363", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "high" : { - "localId" : "364", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal" - } - }, { - "localId" : "370", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "371", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "372", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "368", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "high" : { - "localId" : "369", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal" - } - } ] - } - }, { - "localId" : "384", - "name" : "IntDuringIntersect", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "384", + "type" : "IntervalTypeSpecifier", + "localId" : "241", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "242", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "DateTime", + "localId" : "224", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "225", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "226", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "227", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "216", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "217", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "218", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "236", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "237", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "238", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "239", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "228", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2013", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "229", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "230", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + } + } + } + } + }, { + "localId" : "247", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "name" : "ClosedNullDateTime", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "247", + "s" : [ { + "value" : [ "", "define ", "ClosedNullDateTime", ": " ] + }, { + "r" : "248", + "s" : [ { + "value" : [ "end of " ] + }, { + "r" : "262", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "257", "s" : [ { - "value" : [ "","define ","IntDuringIntersect",": " ] - }, { - "r" : "395", - "s" : [ { - "r" : "387", - "s" : [ { - "r" : "385", - "value" : [ "Interval[","3",",","5","]" ] - } ] - }, { - "value" : [ " intersect " ] - }, { - "r" : "392", - "s" : [ { - "r" : "390", - "value" : [ "Interval[","0",",","10","]" ] - } ] - } ] - } ] - } - } ], + "r" : "249", + "value" : [ "DateTime", "(", "2013", ", ", "1", ", ", "1", ")" ] + } ] + }, { + "r" : "261", + "value" : [ ", ", "null", "]" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "End", + "localId" : "248", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "266", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "267", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } ], + "operand" : { + "type" : "Interval", + "localId" : "262", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], "resultTypeSpecifier" : { - "localId" : "402", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "403", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } + "type" : "IntervalTypeSpecifier", + "localId" : "264", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "265", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } }, - "expression" : { - "localId" : "395", - "type" : "Intersect", - "resultTypeSpecifier" : { - "localId" : "400", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "401", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "signature" : [ { - "localId" : "396", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "397", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "398", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "399", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "387", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "388", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "389", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "385", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "high" : { - "localId" : "386", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal" - } - }, { - "localId" : "392", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "393", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "394", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "390", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "high" : { - "localId" : "391", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal" - } - } ] - } - }, { - "localId" : "406", - "name" : "IntEndsIntersect", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "406", + "low" : { + "type" : "DateTime", + "localId" : "257", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "258", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "259", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "260", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "249", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2013", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "250", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "251", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + } + }, + "high" : { + "type" : "As", + "localId" : "263", + "asType" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Null", + "localId" : "261", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } + } + } + } + }, { + "localId" : "270", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "name" : "ClosedNullInteger", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "270", + "s" : [ { + "value" : [ "", "define ", "ClosedNullInteger", ": " ] + }, { + "r" : "271", + "s" : [ { + "value" : [ "end of " ] + }, { + "r" : "274", + "s" : [ { + "r" : "272", + "value" : [ "Interval[", "5", ", ", "null", "]" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "End", + "localId" : "271", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "278", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "279", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } ], + "operand" : { + "type" : "Interval", + "localId" : "274", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "276", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "277", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "low" : { + "type" : "Literal", + "localId" : "272", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "5", + "annotation" : [ ] + }, + "high" : { + "type" : "As", + "localId" : "275", + "asType" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Null", + "localId" : "273", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } + } + } + } + }, { + "localId" : "282", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "name" : "ClosedNullDecimal", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "282", + "s" : [ { + "value" : [ "", "define ", "ClosedNullDecimal", ": " ] + }, { + "r" : "283", + "s" : [ { + "value" : [ "end of " ] + }, { + "r" : "286", + "s" : [ { + "r" : "284", + "value" : [ "Interval[", "7.3", ", ", "null", "]" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "End", + "localId" : "283", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "290", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "291", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } + } ], + "operand" : { + "type" : "Interval", + "localId" : "286", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "288", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "289", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } + }, + "low" : { + "type" : "Literal", + "localId" : "284", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "7.3", + "annotation" : [ ] + }, + "high" : { + "type" : "As", + "localId" : "287", + "asType" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Null", + "localId" : "285", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } + } + } + } + }, { + "localId" : "294", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "name" : "NullInterval", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "294", + "s" : [ { + "value" : [ "", "define ", "NullInterval", ": " ] + }, { + "r" : "295", + "s" : [ { + "value" : [ "end of " ] + }, { + "r" : "296", + "s" : [ { + "value" : [ "(" ] + }, { + "r" : "296", "s" : [ { - "value" : [ "","define ","IntEndsIntersect",": " ] - }, { - "r" : "417", - "s" : [ { - "r" : "409", - "s" : [ { - "r" : "407", - "value" : [ "Interval[","5",",","10","]" ] - } ] - }, { - "value" : [ " intersect " ] - }, { - "r" : "414", - "s" : [ { - "r" : "412", - "value" : [ "Interval[","0",",","10","]" ] - } ] - } ] - } ] - } - } ], + "r" : "297", + "value" : [ "null", " as " ] + }, { + "r" : "298", + "s" : [ { + "value" : [ "Interval<" ] + }, { + "r" : "299", + "s" : [ { + "value" : [ "DateTime" ] + } ] + }, { + "value" : [ ">" ] + } ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "End", + "localId" : "295", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "306", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "307", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } ], + "operand" : { + "type" : "As", + "localId" : "296", + "strict" : false, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "304", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "305", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "signature" : [ ], + "operand" : { + "type" : "Null", + "localId" : "297", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + }, + "asTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "298", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "300", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "301", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "299", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + } + } + }, { + "localId" : "310", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "name" : "OpenNotNull", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "310", + "s" : [ { + "value" : [ "", "define ", "OpenNotNull", ": " ] + }, { + "r" : "311", + "s" : [ { + "value" : [ "end of " ] + }, { + "r" : "336", + "s" : [ { + "value" : [ "Interval(" ] + }, { + "r" : "320", + "s" : [ { + "r" : "312", + "value" : [ "DateTime", "(", "2012", ", ", "1", ", ", "1", ")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "332", + "s" : [ { + "r" : "324", + "value" : [ "DateTime", "(", "2013", ", ", "1", ", ", "1", ")" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "End", + "localId" : "311", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "339", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "340", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } ], + "operand" : { + "type" : "Interval", + "localId" : "336", + "lowClosed" : false, + "highClosed" : false, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "337", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "338", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "DateTime", + "localId" : "320", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "321", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "322", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "323", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "312", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "313", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "314", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "332", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "333", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "334", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "335", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "324", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2013", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "325", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "326", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + } + } + } + } + }, { + "localId" : "343", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "name" : "OpenNull", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "343", + "s" : [ { + "value" : [ "", "define ", "OpenNull", ": " ] + }, { + "r" : "344", + "s" : [ { + "value" : [ "end of " ] + }, { + "r" : "358", + "s" : [ { + "value" : [ "Interval(" ] + }, { + "r" : "353", + "s" : [ { + "r" : "345", + "value" : [ "DateTime", "(", "2013", ", ", "1", ", ", "1", ")" ] + } ] + }, { + "r" : "357", + "value" : [ ", ", "null", ")" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "End", + "localId" : "344", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "362", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "363", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } ], + "operand" : { + "type" : "Interval", + "localId" : "358", + "lowClosed" : false, + "highClosed" : false, + "annotation" : [ ], "resultTypeSpecifier" : { - "localId" : "424", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "425", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } + "type" : "IntervalTypeSpecifier", + "localId" : "360", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "361", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } }, - "expression" : { - "localId" : "417", - "type" : "Intersect", - "resultTypeSpecifier" : { - "localId" : "422", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "423", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "signature" : [ { - "localId" : "418", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "419", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "420", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "421", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "409", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "410", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "411", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "407", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal" - }, - "high" : { - "localId" : "408", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal" - } - }, { - "localId" : "414", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "415", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "416", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "412", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "high" : { - "localId" : "413", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal" - } - } ] - } - } ] - } - } + "low" : { + "type" : "DateTime", + "localId" : "353", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "354", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "355", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "356", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "345", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2013", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "346", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "347", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + } + }, + "high" : { + "type" : "As", + "localId" : "359", + "asType" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Null", + "localId" : "357", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } + } + } + } + } ] + } + } } -/* DateTimeIntervalIntersect +/* Starts library TestSnippet version '1' using Simple version '1.0.0' context Patient -define DateTimeFullInterval: Interval[DateTime(2012, 1, 1, 0, 0, 0, 0), DateTime(2013, 1, 1, 0, 0, 0, 0)] -define DateTimeMeetsInterval: Interval[DateTime(2012, 6, 1, 0, 0, 0, 0), DateTime(2012, 6, 1, 0, 0, 0, 0)] -define DateTimeOverlapsInterval: Interval[DateTime(2012, 6, 1, 0, 0, 0, 0), DateTime(2012, 7, 1, 0, 0, 0, 0)] -define DateTimeBeginsInterval: Interval[DateTime(2012, 1, 1, 0, 0, 0, 0), DateTime(2012, 6, 1, 0, 0, 0, 0)] -define DateTimeDuringInterval: Interval[DateTime(2012, 3, 1, 0, 0, 0, 0), DateTime(2012, 5, 1, 0, 0, 0, 0)] -define DateTimeEndsInterval: Interval[DateTime(2012, 6, 1, 0, 0, 0, 0), DateTime(2013, 1, 1, 0, 0, 0, 0)] -define DateTimeSameAsIntersect: Interval[DateTime(2012, 1, 1, 0, 0, 0, 0), DateTime(2013, 1, 1, 0, 0, 0, 0)] intersect Interval[DateTime(2012, 1, 1, 0, 0, 0, 0), DateTime(2013, 1, 1, 0, 0, 0, 0)] -define DateTimeBeforeIntersect: Interval[DateTime(2012, 1, 1, 0, 0, 0, 0), DateTime(2012, 4, 1, 0, 0, 0, 0)] intersect Interval[DateTime(2012, 7, 1, 0, 0, 0, 0), DateTime(2013, 1, 1, 0, 0, 0, 0)] -define DateTimeMeetsIntersect: Interval[DateTime(2012, 1, 1, 0, 0, 0, 0), DateTime(2012, 6, 1, 0, 0, 0, 0)] intersect Interval[DateTime(2012, 6, 1, 0, 0, 0, 0), DateTime(2013, 1, 1, 0, 0, 0, 0)] -define DateTimeOverlapsIntersect: Interval[DateTime(2012, 1, 1, 0, 0, 0, 0), DateTime(2012, 7, 1, 0, 0, 0, 0)] intersect Interval[DateTime(2012, 6, 1, 0, 0, 0, 0), DateTime(2013, 1, 1, 0, 0, 0, 0)] -define DateTimeBeginsIntersect: Interval[DateTime(2012, 1, 1, 0, 0, 0, 0), DateTime(2012, 6, 1, 0, 0, 0, 0)] intersect Interval[DateTime(2012, 1, 1, 0, 0, 0, 0), DateTime(2013, 1, 1, 0, 0, 0, 0)] -define DateTimeDuringIntersect: Interval[DateTime(2012, 3, 1, 0, 0, 0, 0), DateTime(2012, 5, 1, 0, 0, 0, 0)] intersect Interval[DateTime(2012, 1, 1, 0, 0, 0, 0), DateTime(2013, 1, 1, 0, 0, 0, 0)] -define DateTimeEndsIntersect: Interval[DateTime(2012, 6, 1, 0, 0, 0, 0), DateTime(2013, 1, 1, 0, 0, 0, 0)] intersect Interval[DateTime(2012, 1, 1, 0, 0, 0, 0), DateTime(2013, 1, 1, 0, 0, 0, 0)] +define TestStartsNull: Interval[null, null] starts Interval[1, 10] +define IntegerIntervalStartsTrue: Interval[4,10] starts Interval[4, 15] +define IntegerIntervalStartsFalse: Interval[1, 10] starts Interval[4, 10] +define IntegerIntervalStartEndsFalse: Interval[4, 10] starts Interval[4, 9] +define DecimalIntervalStartsTrue: Interval[4.0, 10.0] starts Interval[4.0, 15.0] +define DecimalIntervalStartsFalse: Interval[1.0, 10.0] starts Interval[4.0, 10.0] +define DecimalIntervalStartsEndsFalse: Interval[4.0, 10.0] starts Interval[4.0, 9.0] +define QuantityIntervalStartsTrue: Interval[5.0 'g', 10.0 'g'] starts Interval[5.0 'g', 15.0 'g'] +define QuantityIntervalStartsFalse: Interval[1.0 'g', 10.0 'g'] starts Interval[5.0 'g', 10.0 'g'] +define QuantityIntervalStartsEndsFalse: Interval[5.0 'g', 10.0 'g'] starts Interval[5.0 'g', 9.9 'g'] +define DateTimeIntervalStartsTrue: Interval[DateTime(2012, 1, 5, 0, 0, 0, 0), DateTime(2012, 1, 25, 0, 0, 0, 0)] starts Interval[DateTime(2012, 1, 5, 0, 0, 0, 0), DateTime(2012, 1, 27, 0, 0, 0, 0)] +define DateTimeIntervalStartsFalse: Interval[DateTime(2012, 1, 5), DateTime(2012, 1, 25)] starts day of Interval[DateTime(2012, 1, 6), DateTime(2012, 1, 27)] +define DateTimeIntervalStartsDayOfTrue: Interval[DateTime(2012, 1, 5), DateTime(2012, 1, 25)] starts day of Interval[DateTime(2012, 1, 5), DateTime(2012, 1, 27)] +define DateTimeIntervalStartsEndsFalse: Interval[DateTime(2012, 1, 5), DateTime(2012, 1, 25)] starts day of Interval[DateTime(2012, 1, 5), DateTime(2012, 1, 24)] */ -module.exports['DateTimeIntervalIntersect'] = { - "library" : { - "localId" : "0", - "annotation" : [ { - "translatorVersion" : "3.27.0", - "translatorOptions" : "EnableDateRangeOptimization,EnableAnnotations,EnableResultTypes", - "signatureLevel" : "All", - "type" : "CqlToElmInfo" - }, { - "type" : "Annotation", - "s" : { - "r" : "1234", +module.exports['Starts'] = { + "library" : { + "localId" : "0", + "annotation" : [ { + "type" : "CqlToElmInfo", + "translatorVersion" : "4.2.0", + "translatorOptions" : "EnableDateRangeOptimization,EnableAnnotations,EnableResultTypes", + "signatureLevel" : "All" + }, { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "628", + "s" : [ { + "value" : [ "", "library TestSnippet version '1'" ] + } ] + } + } ], + "identifier" : { + "id" : "TestSnippet", + "version" : "1" + }, + "schemaIdentifier" : { + "id" : "urn:hl7-org:elm", + "version" : "r1" + }, + "usings" : { + "def" : [ { + "localId" : "1", + "localIdentifier" : "System", + "uri" : "urn:hl7-org:elm-types:r1", + "annotation" : [ ] + }, { + "localId" : "206", + "localIdentifier" : "Simple", + "uri" : "https://github.com/cqframework/cql-execution/simple", + "version" : "1.0.0", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "206", "s" : [ { - "value" : [ "","library TestSnippet version '1'" ] - } ] - } - } ], - "identifier" : { - "id" : "TestSnippet", - "version" : "1" - }, - "schemaIdentifier" : { - "id" : "urn:hl7-org:elm", - "version" : "r1" - }, - "usings" : { - "def" : [ { - "localId" : "1", - "localIdentifier" : "System", - "uri" : "urn:hl7-org:elm-types:r1" - }, { - "localId" : "206", - "localIdentifier" : "Simple", - "uri" : "https://github.com/cqframework/cql-execution/simple", - "version" : "1.0.0", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "206", - "s" : [ { - "value" : [ "","using " ] - }, { - "s" : [ { - "value" : [ "Simple" ] - } ] - }, { - "value" : [ " version '1.0.0'" ] - } ] - } - } ] - } ] - }, - "contexts" : { - "def" : [ { - "localId" : "211", - "name" : "Patient" - } ] - }, - "statements" : { - "def" : [ { - "localId" : "209", - "name" : "Patient", - "context" : "Patient", - "expression" : { - "localId" : "210", - "type" : "SingletonFrom", - "signature" : [ ], - "operand" : { - "localId" : "208", - "dataType" : "{https://github.com/cqframework/cql-execution/simple}Patient", - "type" : "Retrieve", - "include" : [ ], - "codeFilter" : [ ], - "dateFilter" : [ ], - "otherFilter" : [ ] - } - } - }, { - "localId" : "214", - "name" : "DateTimeFullInterval", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "214", - "s" : [ { - "value" : [ "","define ","DateTimeFullInterval",": " ] - }, { - "r" : "263", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "231", - "s" : [ { - "r" : "215", - "value" : [ "DateTime","(","2012",", ","1",", ","1",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "255", - "s" : [ { - "r" : "239", - "value" : [ "DateTime","(","2013",", ","1",", ","1",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ "]" ] - } ] - } ] - } - } ], + "value" : [ "", "using " ] + }, { + "s" : [ { + "value" : [ "Simple" ] + } ] + }, { + "value" : [ " version '1.0.0'" ] + } ] + } + } ] + } ] + }, + "contexts" : { + "def" : [ { + "localId" : "211", + "name" : "Patient", + "annotation" : [ ] + } ] + }, + "statements" : { + "def" : [ { + "localId" : "209", + "name" : "Patient", + "context" : "Patient", + "annotation" : [ ], + "expression" : { + "type" : "SingletonFrom", + "localId" : "210", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Retrieve", + "localId" : "208", + "dataType" : "{https://github.com/cqframework/cql-execution/simple}Patient", + "annotation" : [ ], + "include" : [ ], + "codeFilter" : [ ], + "dateFilter" : [ ], + "otherFilter" : [ ] + } + } + }, { + "localId" : "214", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "TestStartsNull", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "214", + "s" : [ { + "value" : [ "", "define ", "TestStartsNull", ": " ] + }, { + "r" : "225", + "s" : [ { + "r" : "217", + "s" : [ { + "r" : "215", + "value" : [ "Interval[", "null", ", ", "null", "]" ] + } ] + }, { + "r" : "225", + "value" : [ " ", "starts", " " ] + }, { + "r" : "222", + "s" : [ { + "r" : "220", + "value" : [ "Interval[", "1", ", ", "10", "]" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Starts", + "localId" : "225", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "226", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "227", + "name" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "228", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "229", + "name" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "Interval", + "localId" : "217", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], "resultTypeSpecifier" : { - "localId" : "266", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "267", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "expression" : { - "localId" : "263", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "264", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "265", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "231", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "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" - }, { - "localId" : "234", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "235", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "236", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "237", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "238", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "215", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "216", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "217", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "218", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "219", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "220", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "221", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - }, - "high" : { - "localId" : "255", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "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" - }, { - "localId" : "258", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "259", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "260", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "261", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "262", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "239", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2013", - "type" : "Literal" - }, - "month" : { - "localId" : "240", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "241", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "242", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "243", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "244", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "245", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - } - } - }, { - "localId" : "270", - "name" : "DateTimeMeetsInterval", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "270", - "s" : [ { - "value" : [ "","define ","DateTimeMeetsInterval",": " ] - }, { - "r" : "319", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "287", - "s" : [ { - "r" : "271", - "value" : [ "DateTime","(","2012",", ","6",", ","1",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "311", - "s" : [ { - "r" : "295", - "value" : [ "DateTime","(","2012",", ","6",", ","1",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ "]" ] - } ] - } ] - } - } ], + "type" : "IntervalTypeSpecifier", + "localId" : "218", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "219", + "name" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } + }, + "low" : { + "type" : "Null", + "localId" : "215", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + }, + "high" : { + "type" : "Null", + "localId" : "216", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } + }, { + "type" : "Interval", + "localId" : "222", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], "resultTypeSpecifier" : { - "localId" : "322", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "323", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "expression" : { - "localId" : "319", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "320", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "321", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "287", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "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" - }, { - "localId" : "290", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "291", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "292", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "293", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "294", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "271", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "272", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "6", - "type" : "Literal" - }, - "day" : { - "localId" : "273", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "274", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "275", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "276", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "277", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - }, - "high" : { - "localId" : "311", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "312", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "313", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "314", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "315", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "316", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "317", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "318", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "295", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "296", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "6", - "type" : "Literal" - }, - "day" : { - "localId" : "297", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "298", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "299", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "300", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "301", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - } - } - }, { - "localId" : "326", - "name" : "DateTimeOverlapsInterval", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "326", - "s" : [ { - "value" : [ "","define ","DateTimeOverlapsInterval",": " ] - }, { - "r" : "375", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "343", - "s" : [ { - "r" : "327", - "value" : [ "DateTime","(","2012",", ","6",", ","1",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "367", - "s" : [ { - "r" : "351", - "value" : [ "DateTime","(","2012",", ","7",", ","1",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ "]" ] - } ] - } ] - } - } ], + "type" : "IntervalTypeSpecifier", + "localId" : "223", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "224", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "low" : { + "type" : "Literal", + "localId" : "220", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "high" : { + "type" : "Literal", + "localId" : "221", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "10", + "annotation" : [ ] + } + } ] + } + }, { + "localId" : "232", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "IntegerIntervalStartsTrue", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "232", + "s" : [ { + "value" : [ "", "define ", "IntegerIntervalStartsTrue", ": " ] + }, { + "r" : "243", + "s" : [ { + "r" : "235", + "s" : [ { + "r" : "233", + "value" : [ "Interval[", "4", ",", "10", "]" ] + } ] + }, { + "r" : "243", + "value" : [ " ", "starts", " " ] + }, { + "r" : "240", + "s" : [ { + "r" : "238", + "value" : [ "Interval[", "4", ", ", "15", "]" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Starts", + "localId" : "243", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "244", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "245", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "246", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "247", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "Interval", + "localId" : "235", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], "resultTypeSpecifier" : { - "localId" : "378", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "379", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "expression" : { - "localId" : "375", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "376", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "377", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "343", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "344", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "345", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "346", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "347", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "348", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "349", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "350", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "327", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "328", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "6", - "type" : "Literal" - }, - "day" : { - "localId" : "329", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "330", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "331", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "332", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "333", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - }, - "high" : { - "localId" : "367", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "368", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "369", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "370", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "371", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "372", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "373", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "374", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "351", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "352", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "7", - "type" : "Literal" - }, - "day" : { - "localId" : "353", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "354", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "355", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "356", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "357", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - } - } - }, { - "localId" : "382", - "name" : "DateTimeBeginsInterval", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "382", + "type" : "IntervalTypeSpecifier", + "localId" : "236", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "237", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "low" : { + "type" : "Literal", + "localId" : "233", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "4", + "annotation" : [ ] + }, + "high" : { + "type" : "Literal", + "localId" : "234", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "10", + "annotation" : [ ] + } + }, { + "type" : "Interval", + "localId" : "240", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "241", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "242", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "low" : { + "type" : "Literal", + "localId" : "238", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "4", + "annotation" : [ ] + }, + "high" : { + "type" : "Literal", + "localId" : "239", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "15", + "annotation" : [ ] + } + } ] + } + }, { + "localId" : "250", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "IntegerIntervalStartsFalse", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "250", + "s" : [ { + "value" : [ "", "define ", "IntegerIntervalStartsFalse", ": " ] + }, { + "r" : "261", + "s" : [ { + "r" : "253", + "s" : [ { + "r" : "251", + "value" : [ "Interval[", "1", ", ", "10", "]" ] + } ] + }, { + "r" : "261", + "value" : [ " ", "starts", " " ] + }, { + "r" : "258", + "s" : [ { + "r" : "256", + "value" : [ "Interval[", "4", ", ", "10", "]" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Starts", + "localId" : "261", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "262", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "263", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "264", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "265", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "Interval", + "localId" : "253", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "254", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "255", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "low" : { + "type" : "Literal", + "localId" : "251", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "high" : { + "type" : "Literal", + "localId" : "252", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "10", + "annotation" : [ ] + } + }, { + "type" : "Interval", + "localId" : "258", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "259", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "260", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "low" : { + "type" : "Literal", + "localId" : "256", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "4", + "annotation" : [ ] + }, + "high" : { + "type" : "Literal", + "localId" : "257", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "10", + "annotation" : [ ] + } + } ] + } + }, { + "localId" : "268", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "IntegerIntervalStartEndsFalse", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "268", + "s" : [ { + "value" : [ "", "define ", "IntegerIntervalStartEndsFalse", ": " ] + }, { + "r" : "279", + "s" : [ { + "r" : "271", + "s" : [ { + "r" : "269", + "value" : [ "Interval[", "4", ", ", "10", "]" ] + } ] + }, { + "r" : "279", + "value" : [ " ", "starts", " " ] + }, { + "r" : "276", + "s" : [ { + "r" : "274", + "value" : [ "Interval[", "4", ", ", "9", "]" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Starts", + "localId" : "279", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "280", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "281", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "282", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "283", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "Interval", + "localId" : "271", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "272", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "273", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "low" : { + "type" : "Literal", + "localId" : "269", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "4", + "annotation" : [ ] + }, + "high" : { + "type" : "Literal", + "localId" : "270", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "10", + "annotation" : [ ] + } + }, { + "type" : "Interval", + "localId" : "276", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "277", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "278", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "low" : { + "type" : "Literal", + "localId" : "274", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "4", + "annotation" : [ ] + }, + "high" : { + "type" : "Literal", + "localId" : "275", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "9", + "annotation" : [ ] + } + } ] + } + }, { + "localId" : "286", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "DecimalIntervalStartsTrue", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "286", + "s" : [ { + "value" : [ "", "define ", "DecimalIntervalStartsTrue", ": " ] + }, { + "r" : "297", + "s" : [ { + "r" : "289", + "s" : [ { + "r" : "287", + "value" : [ "Interval[", "4.0", ", ", "10.0", "]" ] + } ] + }, { + "r" : "297", + "value" : [ " ", "starts", " " ] + }, { + "r" : "294", + "s" : [ { + "r" : "292", + "value" : [ "Interval[", "4.0", ", ", "15.0", "]" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Starts", + "localId" : "297", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "298", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "299", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "300", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "301", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "Interval", + "localId" : "289", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "290", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "291", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } + }, + "low" : { + "type" : "Literal", + "localId" : "287", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "4.0", + "annotation" : [ ] + }, + "high" : { + "type" : "Literal", + "localId" : "288", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "10.0", + "annotation" : [ ] + } + }, { + "type" : "Interval", + "localId" : "294", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "295", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "296", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } + }, + "low" : { + "type" : "Literal", + "localId" : "292", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "4.0", + "annotation" : [ ] + }, + "high" : { + "type" : "Literal", + "localId" : "293", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "15.0", + "annotation" : [ ] + } + } ] + } + }, { + "localId" : "304", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "DecimalIntervalStartsFalse", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "304", + "s" : [ { + "value" : [ "", "define ", "DecimalIntervalStartsFalse", ": " ] + }, { + "r" : "315", + "s" : [ { + "r" : "307", + "s" : [ { + "r" : "305", + "value" : [ "Interval[", "1.0", ", ", "10.0", "]" ] + } ] + }, { + "r" : "315", + "value" : [ " ", "starts", " " ] + }, { + "r" : "312", + "s" : [ { + "r" : "310", + "value" : [ "Interval[", "4.0", ", ", "10.0", "]" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Starts", + "localId" : "315", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "316", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "317", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "318", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "319", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "Interval", + "localId" : "307", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "308", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "309", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } + }, + "low" : { + "type" : "Literal", + "localId" : "305", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "1.0", + "annotation" : [ ] + }, + "high" : { + "type" : "Literal", + "localId" : "306", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "10.0", + "annotation" : [ ] + } + }, { + "type" : "Interval", + "localId" : "312", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "313", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "314", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } + }, + "low" : { + "type" : "Literal", + "localId" : "310", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "4.0", + "annotation" : [ ] + }, + "high" : { + "type" : "Literal", + "localId" : "311", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "10.0", + "annotation" : [ ] + } + } ] + } + }, { + "localId" : "322", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "DecimalIntervalStartsEndsFalse", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "322", + "s" : [ { + "value" : [ "", "define ", "DecimalIntervalStartsEndsFalse", ": " ] + }, { + "r" : "333", + "s" : [ { + "r" : "325", + "s" : [ { + "r" : "323", + "value" : [ "Interval[", "4.0", ", ", "10.0", "]" ] + } ] + }, { + "r" : "333", + "value" : [ " ", "starts", " " ] + }, { + "r" : "330", + "s" : [ { + "r" : "328", + "value" : [ "Interval[", "4.0", ", ", "9.0", "]" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Starts", + "localId" : "333", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "334", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "335", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "336", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "337", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "Interval", + "localId" : "325", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "326", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "327", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } + }, + "low" : { + "type" : "Literal", + "localId" : "323", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "4.0", + "annotation" : [ ] + }, + "high" : { + "type" : "Literal", + "localId" : "324", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "10.0", + "annotation" : [ ] + } + }, { + "type" : "Interval", + "localId" : "330", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "331", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "332", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } + }, + "low" : { + "type" : "Literal", + "localId" : "328", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "4.0", + "annotation" : [ ] + }, + "high" : { + "type" : "Literal", + "localId" : "329", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "9.0", + "annotation" : [ ] + } + } ] + } + }, { + "localId" : "340", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "QuantityIntervalStartsTrue", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "340", + "s" : [ { + "value" : [ "", "define ", "QuantityIntervalStartsTrue", ": " ] + }, { + "r" : "351", + "s" : [ { + "r" : "343", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "341", "s" : [ { - "value" : [ "","define ","DateTimeBeginsInterval",": " ] - }, { - "r" : "431", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "399", - "s" : [ { - "r" : "383", - "value" : [ "DateTime","(","2012",", ","1",", ","1",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "423", - "s" : [ { - "r" : "407", - "value" : [ "DateTime","(","2012",", ","6",", ","1",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ "]" ] - } ] - } ] - } - } ], + "value" : [ "5.0 ", "'g'" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "342", + "s" : [ { + "value" : [ "10.0 ", "'g'" ] + } ] + }, { + "value" : [ "]" ] + } ] + }, { + "r" : "351", + "value" : [ " ", "starts", " " ] + }, { + "r" : "348", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "346", + "s" : [ { + "value" : [ "5.0 ", "'g'" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "347", + "s" : [ { + "value" : [ "15.0 ", "'g'" ] + } ] + }, { + "value" : [ "]" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Starts", + "localId" : "351", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "352", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "353", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "354", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "355", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "Interval", + "localId" : "343", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], "resultTypeSpecifier" : { - "localId" : "434", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "435", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "expression" : { - "localId" : "431", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "432", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "433", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "399", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "400", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "401", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "402", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "403", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "404", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "405", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "406", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "383", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "384", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "385", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "386", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "387", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "388", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "389", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - }, - "high" : { - "localId" : "423", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "424", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "425", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "426", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "427", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "428", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "429", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "430", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "407", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "408", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "6", - "type" : "Literal" - }, - "day" : { - "localId" : "409", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "410", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "411", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "412", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "413", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - } - } - }, { - "localId" : "438", - "name" : "DateTimeDuringInterval", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "438", - "s" : [ { - "value" : [ "","define ","DateTimeDuringInterval",": " ] - }, { - "r" : "487", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "455", - "s" : [ { - "r" : "439", - "value" : [ "DateTime","(","2012",", ","3",", ","1",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "479", - "s" : [ { - "r" : "463", - "value" : [ "DateTime","(","2012",", ","5",", ","1",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ "]" ] - } ] - } ] - } - } ], + "type" : "IntervalTypeSpecifier", + "localId" : "344", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "345", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } + }, + "low" : { + "type" : "Quantity", + "localId" : "341", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "value" : 5.0, + "unit" : "g", + "annotation" : [ ] + }, + "high" : { + "type" : "Quantity", + "localId" : "342", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "value" : 10.0, + "unit" : "g", + "annotation" : [ ] + } + }, { + "type" : "Interval", + "localId" : "348", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], "resultTypeSpecifier" : { - "localId" : "490", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "491", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "expression" : { - "localId" : "487", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "488", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "489", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "455", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "456", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "457", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "458", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "459", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "460", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "461", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "462", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "439", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "440", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "441", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "442", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "443", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "444", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "445", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - }, - "high" : { - "localId" : "479", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "480", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "481", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "482", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "483", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "484", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "485", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "486", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "463", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "464", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal" - }, - "day" : { - "localId" : "465", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "466", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "467", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "468", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "469", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - } - } - }, { - "localId" : "494", - "name" : "DateTimeEndsInterval", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "494", - "s" : [ { - "value" : [ "","define ","DateTimeEndsInterval",": " ] - }, { - "r" : "543", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "511", - "s" : [ { - "r" : "495", - "value" : [ "DateTime","(","2012",", ","6",", ","1",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "535", - "s" : [ { - "r" : "519", - "value" : [ "DateTime","(","2013",", ","1",", ","1",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ "]" ] - } ] - } ] - } - } ], + "type" : "IntervalTypeSpecifier", + "localId" : "349", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "350", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } + }, + "low" : { + "type" : "Quantity", + "localId" : "346", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "value" : 5.0, + "unit" : "g", + "annotation" : [ ] + }, + "high" : { + "type" : "Quantity", + "localId" : "347", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "value" : 15.0, + "unit" : "g", + "annotation" : [ ] + } + } ] + } + }, { + "localId" : "358", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "QuantityIntervalStartsFalse", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "358", + "s" : [ { + "value" : [ "", "define ", "QuantityIntervalStartsFalse", ": " ] + }, { + "r" : "369", + "s" : [ { + "r" : "361", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "359", + "s" : [ { + "value" : [ "1.0 ", "'g'" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "360", + "s" : [ { + "value" : [ "10.0 ", "'g'" ] + } ] + }, { + "value" : [ "]" ] + } ] + }, { + "r" : "369", + "value" : [ " ", "starts", " " ] + }, { + "r" : "366", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "364", + "s" : [ { + "value" : [ "5.0 ", "'g'" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "365", + "s" : [ { + "value" : [ "10.0 ", "'g'" ] + } ] + }, { + "value" : [ "]" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Starts", + "localId" : "369", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "370", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "371", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "372", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "373", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "Interval", + "localId" : "361", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], "resultTypeSpecifier" : { - "localId" : "546", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "547", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "expression" : { - "localId" : "543", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "544", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "545", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "511", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "512", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "513", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "514", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "515", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "516", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "517", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "518", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "495", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "496", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "6", - "type" : "Literal" - }, - "day" : { - "localId" : "497", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "498", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "499", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "500", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "501", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - }, - "high" : { - "localId" : "535", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "536", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "537", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "538", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "539", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "540", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "541", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "542", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "519", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2013", - "type" : "Literal" - }, - "month" : { - "localId" : "520", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "521", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "522", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "523", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "524", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "525", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - } - } - }, { - "localId" : "550", - "name" : "DateTimeSameAsIntersect", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "550", + "type" : "IntervalTypeSpecifier", + "localId" : "362", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "363", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } + }, + "low" : { + "type" : "Quantity", + "localId" : "359", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "value" : 1.0, + "unit" : "g", + "annotation" : [ ] + }, + "high" : { + "type" : "Quantity", + "localId" : "360", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "value" : 10.0, + "unit" : "g", + "annotation" : [ ] + } + }, { + "type" : "Interval", + "localId" : "366", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "367", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "368", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } + }, + "low" : { + "type" : "Quantity", + "localId" : "364", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "value" : 5.0, + "unit" : "g", + "annotation" : [ ] + }, + "high" : { + "type" : "Quantity", + "localId" : "365", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "value" : 10.0, + "unit" : "g", + "annotation" : [ ] + } + } ] + } + }, { + "localId" : "376", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "QuantityIntervalStartsEndsFalse", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "376", + "s" : [ { + "value" : [ "", "define ", "QuantityIntervalStartsEndsFalse", ": " ] + }, { + "r" : "387", + "s" : [ { + "r" : "379", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "377", "s" : [ { - "value" : [ "","define ","DateTimeSameAsIntersect",": " ] - }, { - "r" : "653", - "s" : [ { - "r" : "599", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "567", - "s" : [ { - "r" : "551", - "value" : [ "DateTime","(","2012",", ","1",", ","1",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "591", - "s" : [ { - "r" : "575", - "value" : [ "DateTime","(","2013",", ","1",", ","1",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ "]" ] - } ] - }, { - "value" : [ " intersect " ] - }, { - "r" : "650", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "618", - "s" : [ { - "r" : "602", - "value" : [ "DateTime","(","2012",", ","1",", ","1",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "642", - "s" : [ { - "r" : "626", - "value" : [ "DateTime","(","2013",", ","1",", ","1",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ "]" ] - } ] - } ] - } ] - } - } ], + "value" : [ "5.0 ", "'g'" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "378", + "s" : [ { + "value" : [ "10.0 ", "'g'" ] + } ] + }, { + "value" : [ "]" ] + } ] + }, { + "r" : "387", + "value" : [ " ", "starts", " " ] + }, { + "r" : "384", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "382", + "s" : [ { + "value" : [ "5.0 ", "'g'" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "383", + "s" : [ { + "value" : [ "9.9 ", "'g'" ] + } ] + }, { + "value" : [ "]" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Starts", + "localId" : "387", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "388", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "389", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "390", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "391", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "Interval", + "localId" : "379", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "380", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "381", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } + }, + "low" : { + "type" : "Quantity", + "localId" : "377", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "value" : 5.0, + "unit" : "g", + "annotation" : [ ] + }, + "high" : { + "type" : "Quantity", + "localId" : "378", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "value" : 10.0, + "unit" : "g", + "annotation" : [ ] + } + }, { + "type" : "Interval", + "localId" : "384", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "385", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "386", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } + }, + "low" : { + "type" : "Quantity", + "localId" : "382", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "value" : 5.0, + "unit" : "g", + "annotation" : [ ] + }, + "high" : { + "type" : "Quantity", + "localId" : "383", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "value" : 9.9, + "unit" : "g", + "annotation" : [ ] + } + } ] + } + }, { + "localId" : "394", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "DateTimeIntervalStartsTrue", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "394", + "s" : [ { + "value" : [ "", "define ", "DateTimeIntervalStartsTrue", ": " ] + }, { + "r" : "497", + "s" : [ { + "r" : "443", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "411", + "s" : [ { + "r" : "395", + "value" : [ "DateTime", "(", "2012", ", ", "1", ", ", "5", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "435", + "s" : [ { + "r" : "419", + "value" : [ "DateTime", "(", "2012", ", ", "1", ", ", "25", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ "]" ] + } ] + }, { + "r" : "497", + "value" : [ " ", "starts", " " ] + }, { + "r" : "494", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "462", + "s" : [ { + "r" : "446", + "value" : [ "DateTime", "(", "2012", ", ", "1", ", ", "5", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "486", + "s" : [ { + "r" : "470", + "value" : [ "DateTime", "(", "2012", ", ", "1", ", ", "27", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ "]" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Starts", + "localId" : "497", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "498", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "499", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "500", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "501", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "Interval", + "localId" : "443", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], "resultTypeSpecifier" : { - "localId" : "660", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "661", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "expression" : { - "localId" : "653", - "type" : "Intersect", - "resultTypeSpecifier" : { - "localId" : "658", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "659", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "signature" : [ { - "localId" : "654", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "655", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "656", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "657", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "599", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "600", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "601", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "567", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "568", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "569", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "570", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "571", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "572", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "573", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "574", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "551", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "552", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "553", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "554", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "555", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "556", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "557", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - }, - "high" : { - "localId" : "591", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "592", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "593", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "594", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "595", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "596", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "597", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "598", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "575", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2013", - "type" : "Literal" - }, - "month" : { - "localId" : "576", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "577", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "578", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "579", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "580", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "581", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - } - }, { - "localId" : "650", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "651", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "652", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "618", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "619", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "620", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "621", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "622", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "623", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "624", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "625", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "602", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "603", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "604", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "605", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "606", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "607", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "608", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - }, - "high" : { - "localId" : "642", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "643", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "644", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "645", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "646", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "647", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "648", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "649", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "626", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2013", - "type" : "Literal" - }, - "month" : { - "localId" : "627", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "628", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "629", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "630", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "631", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "632", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - } - } ] - } - }, { - "localId" : "664", - "name" : "DateTimeBeforeIntersect", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "664", + "type" : "IntervalTypeSpecifier", + "localId" : "444", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "445", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "DateTime", + "localId" : "411", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "412", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "413", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "414", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "415", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "416", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "417", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "418", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "395", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "396", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "397", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "5", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "398", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "399", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "400", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "401", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "435", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "436", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "437", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "438", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "439", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "440", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "441", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "442", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "419", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "420", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "421", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "25", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "422", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "423", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "424", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "425", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + } + }, { + "type" : "Interval", + "localId" : "494", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "495", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "496", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "DateTime", + "localId" : "462", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "463", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "464", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "465", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "466", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "467", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "468", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "469", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "446", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "447", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "448", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "5", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "449", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "450", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "451", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "452", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "486", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "487", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "488", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "489", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "490", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "491", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "492", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "493", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "470", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "471", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "472", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "27", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "473", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "474", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "475", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "476", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + } + } ] + } + }, { + "localId" : "504", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "DateTimeIntervalStartsFalse", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "504", + "s" : [ { + "value" : [ "", "define ", "DateTimeIntervalStartsFalse", ": " ] + }, { + "r" : "559", + "s" : [ { + "r" : "529", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "513", + "s" : [ { + "r" : "505", + "value" : [ "DateTime", "(", "2012", ", ", "1", ", ", "5", ")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "525", + "s" : [ { + "r" : "517", + "value" : [ "DateTime", "(", "2012", ", ", "1", ", ", "25", ")" ] + } ] + }, { + "value" : [ "]" ] + } ] + }, { + "r" : "559", + "value" : [ " ", "starts day of", " " ] + }, { + "r" : "556", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "540", "s" : [ { - "value" : [ "","define ","DateTimeBeforeIntersect",": " ] - }, { - "r" : "767", - "s" : [ { - "r" : "713", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "681", - "s" : [ { - "r" : "665", - "value" : [ "DateTime","(","2012",", ","1",", ","1",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "705", - "s" : [ { - "r" : "689", - "value" : [ "DateTime","(","2012",", ","4",", ","1",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ "]" ] - } ] - }, { - "value" : [ " intersect " ] - }, { - "r" : "764", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "732", - "s" : [ { - "r" : "716", - "value" : [ "DateTime","(","2012",", ","7",", ","1",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "756", - "s" : [ { - "r" : "740", - "value" : [ "DateTime","(","2013",", ","1",", ","1",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ "]" ] - } ] - } ] - } ] - } - } ], + "r" : "532", + "value" : [ "DateTime", "(", "2012", ", ", "1", ", ", "6", ")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "552", + "s" : [ { + "r" : "544", + "value" : [ "DateTime", "(", "2012", ", ", "1", ", ", "27", ")" ] + } ] + }, { + "value" : [ "]" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Starts", + "localId" : "559", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "precision" : "Day", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "560", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "561", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "562", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "563", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "Interval", + "localId" : "529", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], "resultTypeSpecifier" : { - "localId" : "774", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "775", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } + "type" : "IntervalTypeSpecifier", + "localId" : "530", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "531", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } }, - "expression" : { - "localId" : "767", - "type" : "Intersect", - "resultTypeSpecifier" : { - "localId" : "772", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "773", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "signature" : [ { - "localId" : "768", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "769", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "770", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "771", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "713", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "714", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "715", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "681", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "682", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "683", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "684", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "685", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "686", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "687", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "688", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "665", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "666", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "667", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "668", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "669", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "670", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "671", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - }, - "high" : { - "localId" : "705", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "706", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "707", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "708", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "709", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "710", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "711", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "712", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "689", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "690", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "4", - "type" : "Literal" - }, - "day" : { - "localId" : "691", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "692", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "693", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "694", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "695", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - } - }, { - "localId" : "764", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "765", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "766", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "732", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "733", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "734", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "735", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "736", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "737", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "738", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "739", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "716", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "717", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "7", - "type" : "Literal" - }, - "day" : { - "localId" : "718", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "719", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "720", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "721", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "722", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - }, - "high" : { - "localId" : "756", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "757", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "758", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "759", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "760", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "761", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "762", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "763", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "740", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2013", - "type" : "Literal" - }, - "month" : { - "localId" : "741", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "742", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "743", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "744", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "745", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "746", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - } - } ] - } - }, { - "localId" : "778", - "name" : "DateTimeMeetsIntersect", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "778", + "low" : { + "type" : "DateTime", + "localId" : "513", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "514", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "515", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "516", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "505", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "506", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "507", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "5", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "525", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "526", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "527", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "528", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "517", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "518", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "519", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "25", + "annotation" : [ ] + } + } + }, { + "type" : "Interval", + "localId" : "556", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "557", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "558", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "DateTime", + "localId" : "540", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "541", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "542", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "543", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "532", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "533", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "534", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "6", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "552", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "553", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "554", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "555", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "544", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "545", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "546", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "27", + "annotation" : [ ] + } + } + } ] + } + }, { + "localId" : "566", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "DateTimeIntervalStartsDayOfTrue", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "566", + "s" : [ { + "value" : [ "", "define ", "DateTimeIntervalStartsDayOfTrue", ": " ] + }, { + "r" : "621", + "s" : [ { + "r" : "591", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "575", + "s" : [ { + "r" : "567", + "value" : [ "DateTime", "(", "2012", ", ", "1", ", ", "5", ")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "587", + "s" : [ { + "r" : "579", + "value" : [ "DateTime", "(", "2012", ", ", "1", ", ", "25", ")" ] + } ] + }, { + "value" : [ "]" ] + } ] + }, { + "r" : "621", + "value" : [ " ", "starts day of", " " ] + }, { + "r" : "618", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "602", + "s" : [ { + "r" : "594", + "value" : [ "DateTime", "(", "2012", ", ", "1", ", ", "5", ")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "614", "s" : [ { - "value" : [ "","define ","DateTimeMeetsIntersect",": " ] - }, { - "r" : "881", - "s" : [ { - "r" : "827", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "795", - "s" : [ { - "r" : "779", - "value" : [ "DateTime","(","2012",", ","1",", ","1",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "819", - "s" : [ { - "r" : "803", - "value" : [ "DateTime","(","2012",", ","6",", ","1",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ "]" ] - } ] - }, { - "value" : [ " intersect " ] - }, { - "r" : "878", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "846", - "s" : [ { - "r" : "830", - "value" : [ "DateTime","(","2012",", ","6",", ","1",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "870", - "s" : [ { - "r" : "854", - "value" : [ "DateTime","(","2013",", ","1",", ","1",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ "]" ] - } ] - } ] - } ] - } - } ], + "r" : "606", + "value" : [ "DateTime", "(", "2012", ", ", "1", ", ", "27", ")" ] + } ] + }, { + "value" : [ "]" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Starts", + "localId" : "621", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "precision" : "Day", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "622", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "623", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "624", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "625", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "Interval", + "localId" : "591", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], "resultTypeSpecifier" : { - "localId" : "888", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "889", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } + "type" : "IntervalTypeSpecifier", + "localId" : "592", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "593", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } }, - "expression" : { - "localId" : "881", - "type" : "Intersect", - "resultTypeSpecifier" : { - "localId" : "886", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "887", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "signature" : [ { - "localId" : "882", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "883", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "884", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "885", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "827", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "828", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "829", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "795", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "796", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "797", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "798", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "799", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "800", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "801", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "802", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "779", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "780", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "781", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "782", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "783", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "784", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "785", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - }, - "high" : { - "localId" : "819", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "820", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "821", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "822", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "823", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "824", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "825", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "826", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "803", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "804", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "6", - "type" : "Literal" - }, - "day" : { - "localId" : "805", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "806", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "807", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "808", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "809", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - } - }, { - "localId" : "878", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "879", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "880", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "846", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "847", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "848", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "849", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "850", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "851", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "852", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "853", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "830", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "831", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "6", - "type" : "Literal" - }, - "day" : { - "localId" : "832", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "833", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "834", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "835", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "836", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - }, - "high" : { - "localId" : "870", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "871", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "872", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "873", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "874", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "875", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "876", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "877", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "854", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2013", - "type" : "Literal" - }, - "month" : { - "localId" : "855", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "856", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "857", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "858", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "859", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "860", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - } - } ] - } - }, { - "localId" : "892", - "name" : "DateTimeOverlapsIntersect", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "892", - "s" : [ { - "value" : [ "","define ","DateTimeOverlapsIntersect",": " ] - }, { - "r" : "995", - "s" : [ { - "r" : "941", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "909", - "s" : [ { - "r" : "893", - "value" : [ "DateTime","(","2012",", ","1",", ","1",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "933", - "s" : [ { - "r" : "917", - "value" : [ "DateTime","(","2012",", ","7",", ","1",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ "]" ] - } ] - }, { - "value" : [ " intersect " ] - }, { - "r" : "992", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "960", - "s" : [ { - "r" : "944", - "value" : [ "DateTime","(","2012",", ","6",", ","1",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "984", - "s" : [ { - "r" : "968", - "value" : [ "DateTime","(","2013",", ","1",", ","1",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ "]" ] - } ] - } ] - } ] - } - } ], + "low" : { + "type" : "DateTime", + "localId" : "575", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "576", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "577", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "578", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "567", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "568", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "569", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "5", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "587", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "588", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "589", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "590", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "579", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "580", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "581", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "25", + "annotation" : [ ] + } + } + }, { + "type" : "Interval", + "localId" : "618", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], "resultTypeSpecifier" : { - "localId" : "1002", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1003", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "expression" : { - "localId" : "995", - "type" : "Intersect", - "resultTypeSpecifier" : { - "localId" : "1000", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1001", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "signature" : [ { - "localId" : "996", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "997", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "998", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "999", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "941", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "942", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "943", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "909", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "910", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "911", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "912", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "913", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "914", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "915", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "916", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "893", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "894", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "895", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "896", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "897", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "898", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "899", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - }, - "high" : { - "localId" : "933", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "934", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "935", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "936", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "937", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "938", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "939", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "940", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "917", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "918", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "7", - "type" : "Literal" - }, - "day" : { - "localId" : "919", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "920", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "921", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "922", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "923", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - } - }, { - "localId" : "992", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "993", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "994", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "960", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "961", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "962", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "963", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "964", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "965", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "966", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "967", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "944", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "945", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "6", - "type" : "Literal" - }, - "day" : { - "localId" : "946", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "947", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "948", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "949", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "950", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - }, - "high" : { - "localId" : "984", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "985", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "986", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "987", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "988", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "989", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "990", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "991", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "968", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2013", - "type" : "Literal" - }, - "month" : { - "localId" : "969", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "970", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "971", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "972", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "973", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "974", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - } - } ] - } - }, { - "localId" : "1006", - "name" : "DateTimeBeginsIntersect", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "1006", - "s" : [ { - "value" : [ "","define ","DateTimeBeginsIntersect",": " ] - }, { - "r" : "1109", - "s" : [ { - "r" : "1055", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "1023", - "s" : [ { - "r" : "1007", - "value" : [ "DateTime","(","2012",", ","1",", ","1",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "1047", - "s" : [ { - "r" : "1031", - "value" : [ "DateTime","(","2012",", ","6",", ","1",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ "]" ] - } ] - }, { - "value" : [ " intersect " ] - }, { - "r" : "1106", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "1074", - "s" : [ { - "r" : "1058", - "value" : [ "DateTime","(","2012",", ","1",", ","1",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "1098", - "s" : [ { - "r" : "1082", - "value" : [ "DateTime","(","2013",", ","1",", ","1",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ "]" ] - } ] - } ] - } ] - } - } ], + "type" : "IntervalTypeSpecifier", + "localId" : "619", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "620", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "DateTime", + "localId" : "602", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "603", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "604", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "605", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "594", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "595", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "596", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "5", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "614", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "615", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "616", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "617", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "606", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "607", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "608", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "27", + "annotation" : [ ] + } + } + } ] + } + }, { + "localId" : "628", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "DateTimeIntervalStartsEndsFalse", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "628", + "s" : [ { + "value" : [ "", "define ", "DateTimeIntervalStartsEndsFalse", ": " ] + }, { + "r" : "683", + "s" : [ { + "r" : "653", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "637", + "s" : [ { + "r" : "629", + "value" : [ "DateTime", "(", "2012", ", ", "1", ", ", "5", ")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "649", + "s" : [ { + "r" : "641", + "value" : [ "DateTime", "(", "2012", ", ", "1", ", ", "25", ")" ] + } ] + }, { + "value" : [ "]" ] + } ] + }, { + "r" : "683", + "value" : [ " ", "starts day of", " " ] + }, { + "r" : "680", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "664", + "s" : [ { + "r" : "656", + "value" : [ "DateTime", "(", "2012", ", ", "1", ", ", "5", ")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "676", + "s" : [ { + "r" : "668", + "value" : [ "DateTime", "(", "2012", ", ", "1", ", ", "24", ")" ] + } ] + }, { + "value" : [ "]" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Starts", + "localId" : "683", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "precision" : "Day", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "684", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "685", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "686", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "687", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "Interval", + "localId" : "653", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], "resultTypeSpecifier" : { - "localId" : "1116", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1117", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } + "type" : "IntervalTypeSpecifier", + "localId" : "654", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "655", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } }, - "expression" : { - "localId" : "1109", - "type" : "Intersect", - "resultTypeSpecifier" : { - "localId" : "1114", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1115", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "signature" : [ { - "localId" : "1110", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1111", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "1112", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1113", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "1055", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "1056", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1057", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "1023", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "1024", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1025", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1026", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1027", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1028", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1029", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1030", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1007", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "1008", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "1009", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "1010", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "1011", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "1012", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "1013", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - }, - "high" : { - "localId" : "1047", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "1048", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1049", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1050", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1051", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1052", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1053", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1054", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1031", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "1032", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "6", - "type" : "Literal" - }, - "day" : { - "localId" : "1033", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "1034", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "1035", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "1036", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "1037", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - } - }, { - "localId" : "1106", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "1107", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1108", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "1074", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "1075", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1076", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1077", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1078", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1079", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1080", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1081", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1058", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "1059", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "1060", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "1061", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "1062", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "1063", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "1064", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - }, - "high" : { - "localId" : "1098", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "1099", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1100", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1101", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1102", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1103", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1104", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1105", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1082", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2013", - "type" : "Literal" - }, - "month" : { - "localId" : "1083", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "1084", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "1085", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "1086", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "1087", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "1088", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - } - } ] - } - }, { - "localId" : "1120", - "name" : "DateTimeDuringIntersect", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "1120", - "s" : [ { - "value" : [ "","define ","DateTimeDuringIntersect",": " ] - }, { - "r" : "1223", - "s" : [ { - "r" : "1169", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "1137", - "s" : [ { - "r" : "1121", - "value" : [ "DateTime","(","2012",", ","3",", ","1",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "1161", - "s" : [ { - "r" : "1145", - "value" : [ "DateTime","(","2012",", ","5",", ","1",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ "]" ] - } ] - }, { - "value" : [ " intersect " ] - }, { - "r" : "1220", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "1188", - "s" : [ { - "r" : "1172", - "value" : [ "DateTime","(","2012",", ","1",", ","1",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "1212", - "s" : [ { - "r" : "1196", - "value" : [ "DateTime","(","2013",", ","1",", ","1",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ "]" ] - } ] - } ] - } ] - } - } ], + "low" : { + "type" : "DateTime", + "localId" : "637", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "638", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "639", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "640", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "629", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "630", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "631", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "5", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "649", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "650", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "651", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "652", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "641", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "642", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "643", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "25", + "annotation" : [ ] + } + } + }, { + "type" : "Interval", + "localId" : "680", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], "resultTypeSpecifier" : { - "localId" : "1230", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1231", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "expression" : { - "localId" : "1223", - "type" : "Intersect", - "resultTypeSpecifier" : { - "localId" : "1228", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1229", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "signature" : [ { - "localId" : "1224", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1225", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "1226", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1227", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "1169", - "lowClosed" : true, - "highClosed" : true, + "type" : "IntervalTypeSpecifier", + "localId" : "681", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "682", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "DateTime", + "localId" : "664", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "665", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "666", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "667", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "656", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "657", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "658", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "5", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "676", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "677", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "678", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "679", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "668", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "669", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "670", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "24", + "annotation" : [ ] + } + } + } ] + } + } ] + } + } +} + +/* Ends +library TestSnippet version '1' +using Simple version '1.0.0' +context Patient +define TestEndsNull: Interval[1, 10] ends Interval[null, null] +define IntegerIntervalEndsTrue: Interval[4,10] ends Interval[1,10] +define IntegerIntervalEndsFalse: Interval[4, 9] ends Interval[1,10] +define IntegerIntervalEndsStartsFalse: Interval[0, 10] ends Interval[1,10] +define DecimalIntervalEndsTrue: Interval[4.0,10.0] ends Interval[1.0,10.0] +define DecimalIntervalEndsFalse: Interval[11.0, 20.0] ends Interval[1.0,10.0] +define DecimalIntervalEndsStartsFalse: Interval[0.0, 10.0] ends Interval[1.0, 10.0] +define QuantityIntervalEndsTrue: Interval[5.0 'g', 10.0 'g'] ends Interval[1.0 'g', 10.0 'g'] +define QuantityIntervalEndsFalse: Interval[5.0 'g', 10.0 'g'] ends Interval[1.0 'g', 10.5 'g'] +define QuantityIntervalEndsStartsFalse: Interval[4.0 'g', 10.0 'g'] ends Interval[5.0 'g', 10.0 'g'] +define DateTimeIntervalEndsTrue: Interval[DateTime(2012, 1, 5, 0, 0, 0, 0), DateTime(2012, 1, 15, 0, 0, 0, 0)] ends Interval[DateTime(2012, 1, 1, 0, 0, 0, 0), DateTime(2012, 1, 15, 0, 0, 0, 0)] +define DateTimeIntervalEndsFalse: Interval[DateTime(2012, 1, 5), DateTime(2012, 1, 15)] ends day of Interval[DateTime(2012, 1, 1), DateTime(2012, 1, 16)] +define DateTimeIntervalEndsDayOfTrue: Interval[DateTime(2012, 1, 5), DateTime(2012, 1, 15)] ends day of Interval[DateTime(2012, 1, 1), DateTime(2012, 1, 15)] +define DateTimeIntervalEndsStartsFalse: Interval[DateTime(2012, 1, 5), DateTime(2012, 2, 16)] ends day of Interval[DateTime(2012, 2, 1), DateTime(2012, 2, 16)] +*/ + +module.exports['Ends'] = { + "library" : { + "localId" : "0", + "annotation" : [ { + "type" : "CqlToElmInfo", + "translatorVersion" : "4.2.0", + "translatorOptions" : "EnableDateRangeOptimization,EnableAnnotations,EnableResultTypes", + "signatureLevel" : "All" + }, { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "635", + "s" : [ { + "value" : [ "", "library TestSnippet version '1'" ] + } ] + } + } ], + "identifier" : { + "id" : "TestSnippet", + "version" : "1" + }, + "schemaIdentifier" : { + "id" : "urn:hl7-org:elm", + "version" : "r1" + }, + "usings" : { + "def" : [ { + "localId" : "1", + "localIdentifier" : "System", + "uri" : "urn:hl7-org:elm-types:r1", + "annotation" : [ ] + }, { + "localId" : "206", + "localIdentifier" : "Simple", + "uri" : "https://github.com/cqframework/cql-execution/simple", + "version" : "1.0.0", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "206", + "s" : [ { + "value" : [ "", "using " ] + }, { + "s" : [ { + "value" : [ "Simple" ] + } ] + }, { + "value" : [ " version '1.0.0'" ] + } ] + } + } ] + } ] + }, + "contexts" : { + "def" : [ { + "localId" : "211", + "name" : "Patient", + "annotation" : [ ] + } ] + }, + "statements" : { + "def" : [ { + "localId" : "209", + "name" : "Patient", + "context" : "Patient", + "annotation" : [ ], + "expression" : { + "type" : "SingletonFrom", + "localId" : "210", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Retrieve", + "localId" : "208", + "dataType" : "{https://github.com/cqframework/cql-execution/simple}Patient", + "annotation" : [ ], + "include" : [ ], + "codeFilter" : [ ], + "dateFilter" : [ ], + "otherFilter" : [ ] + } + } + }, { + "localId" : "214", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "TestEndsNull", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "214", + "s" : [ { + "value" : [ "", "define ", "TestEndsNull", ": " ] + }, { + "r" : "225", + "s" : [ { + "r" : "217", + "s" : [ { + "r" : "215", + "value" : [ "Interval[", "1", ", ", "10", "]" ] + } ] + }, { + "r" : "225", + "value" : [ " ", "ends", " " ] + }, { + "r" : "222", + "s" : [ { + "r" : "220", + "value" : [ "Interval[", "null", ", ", "null", "]" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Ends", + "localId" : "225", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "233", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "234", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "235", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "236", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "Interval", + "localId" : "217", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "218", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "219", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "low" : { + "type" : "Literal", + "localId" : "215", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "high" : { + "type" : "Literal", + "localId" : "216", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "10", + "annotation" : [ ] + } + }, { + "type" : "Interval", + "localId" : "226", + "annotation" : [ ], + "low" : { + "type" : "As", + "localId" : "228", + "asType" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Property", + "localId" : "227", + "path" : "low", + "annotation" : [ ], + "source" : { "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "1170", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1171", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "1137", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "1138", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1139", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1140", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1141", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1142", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1143", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1144", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1121", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "1122", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "1123", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "1124", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "1125", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "1126", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "1127", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - }, - "high" : { - "localId" : "1161", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "1162", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1163", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1164", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1165", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1166", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1167", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1168", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1145", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "1146", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal" - }, - "day" : { - "localId" : "1147", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "1148", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "1149", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "1150", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "1151", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - } - }, { - "localId" : "1220", + "localId" : "222", "lowClosed" : true, "highClosed" : true, - "type" : "Interval", + "annotation" : [ ], "resultTypeSpecifier" : { - "localId" : "1221", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1222", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } + "type" : "IntervalTypeSpecifier", + "localId" : "223", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "224", + "name" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } }, "low" : { - "localId" : "1188", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "1189", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1190", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1191", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1192", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1193", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1194", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1195", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1172", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "1173", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "1174", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "1175", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "1176", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "1177", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "1178", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } + "type" : "Null", + "localId" : "220", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] }, "high" : { - "localId" : "1212", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "1213", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1214", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1215", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1216", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1217", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1218", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1219", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1196", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2013", - "type" : "Literal" - }, - "month" : { - "localId" : "1197", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "1198", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "1199", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "1200", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "1201", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "1202", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - } - } ] - } - }, { - "localId" : "1234", - "name" : "DateTimeEndsIntersect", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "1234", - "s" : [ { - "value" : [ "","define ","DateTimeEndsIntersect",": " ] - }, { - "r" : "1337", - "s" : [ { - "r" : "1283", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "1251", - "s" : [ { - "r" : "1235", - "value" : [ "DateTime","(","2012",", ","6",", ","1",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "1275", - "s" : [ { - "r" : "1259", - "value" : [ "DateTime","(","2013",", ","1",", ","1",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ "]" ] - } ] - }, { - "value" : [ " intersect " ] - }, { - "r" : "1334", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "1302", - "s" : [ { - "r" : "1286", - "value" : [ "DateTime","(","2012",", ","1",", ","1",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "1326", - "s" : [ { - "r" : "1310", - "value" : [ "DateTime","(","2013",", ","1",", ","1",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ "]" ] - } ] - } ] - } ] - } - } ], - "resultTypeSpecifier" : { - "localId" : "1344", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1345", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "expression" : { - "localId" : "1337", - "type" : "Intersect", - "resultTypeSpecifier" : { - "localId" : "1342", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1343", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "signature" : [ { - "localId" : "1338", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1339", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" + "type" : "Null", + "localId" : "221", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] } - }, { - "localId" : "1340", + } + } + }, + "lowClosedExpression" : { + "type" : "Property", + "localId" : "229", + "path" : "lowClosed", + "annotation" : [ ], + "source" : { + "type" : "Interval", + "localId" : "222", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { "type" : "IntervalTypeSpecifier", + "localId" : "223", + "annotation" : [ ], "pointType" : { - "localId" : "1341", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" + "type" : "NamedTypeSpecifier", + "localId" : "224", + "name" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] } - } ], - "operand" : [ { - "localId" : "1283", - "lowClosed" : true, - "highClosed" : true, + }, + "low" : { + "type" : "Null", + "localId" : "220", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + }, + "high" : { + "type" : "Null", + "localId" : "221", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } + } + }, + "high" : { + "type" : "As", + "localId" : "231", + "asType" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Property", + "localId" : "230", + "path" : "high", + "annotation" : [ ], + "source" : { "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "1284", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1285", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "1251", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "1252", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1253", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1254", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1255", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1256", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1257", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1258", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1235", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "1236", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "6", - "type" : "Literal" - }, - "day" : { - "localId" : "1237", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "1238", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "1239", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "1240", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "1241", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - }, - "high" : { - "localId" : "1275", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "1276", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1277", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1278", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1279", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1280", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1281", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1282", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1259", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2013", - "type" : "Literal" - }, - "month" : { - "localId" : "1260", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "1261", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "1262", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "1263", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "1264", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "1265", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - } - }, { - "localId" : "1334", + "localId" : "222", "lowClosed" : true, "highClosed" : true, - "type" : "Interval", + "annotation" : [ ], "resultTypeSpecifier" : { - "localId" : "1335", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1336", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } + "type" : "IntervalTypeSpecifier", + "localId" : "223", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "224", + "name" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } }, "low" : { - "localId" : "1302", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "1303", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1304", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1305", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1306", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1307", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1308", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1309", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1286", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "1287", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "1288", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "1289", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "1290", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "1291", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "1292", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } + "type" : "Null", + "localId" : "220", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] }, "high" : { - "localId" : "1326", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "1327", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1328", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1329", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1330", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1331", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1332", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1333", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1310", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2013", - "type" : "Literal" - }, - "month" : { - "localId" : "1311", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "1312", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "1313", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "1314", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "1315", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "1316", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } + "type" : "Null", + "localId" : "221", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] } - } ] - } - } ] - } - } -} - -/* IntegerIntervalCollapse -library TestSnippet version '1' -using Simple version '1.0.0' -context Patient -define IntEmptyIntervalList: List>{} -define Int1_6Interval: Interval[1, 6] -define Int1_10Interval: Interval[1, 10] -define Int5_10Interval: Interval[5, 10] -define Int5_12Interval: Interval[5, 12] -define Int10_15Interval: Interval[10, 15] -define Int15_20Interval: Interval[15, 20] -define Int1_12Interval: Interval[1, 12] -define Int1_15Interval: Interval[1, 15] -define Int1_10IntervalList: { Int1_10Interval } -define Int1_12IntervalList: { Int1_12Interval } -define Int1_15IntervalList: { Int1_15Interval } -define IntTwoItemDisjointList: { Int1_10Interval, Int15_20Interval } -define IntCollapseEmpty: collapse IntEmptyIntervalList -define IntCollapseSingleInterval: collapse Int1_10IntervalList -define IntCollapseDisjoint: collapse IntTwoItemDisjointList -define IntCollapseDisjointReversed: collapse { Int15_20Interval, Int1_10Interval } -define IntCollapseAdjacent: collapse { Int1_10Interval, Int10_15Interval } -define IntCollapseOverlap: collapse { Int1_10Interval, Int5_12Interval } -define IntCollapseOverlapContained: collapse { Int1_15Interval, Int5_12Interval } -define IntCollapseOverlapContainedEdge: collapse { Int1_10Interval, Int5_10Interval } -define IntCollapseOverlapContainedEdge2: collapse { Int1_15Interval, Int1_10Interval } -define IntCollapseOverlapMultipleCombine: collapse { Int1_6Interval, Int5_12Interval, Int10_15Interval } -*/ - -module.exports['IntegerIntervalCollapse'] = { - "library" : { - "localId" : "0", - "annotation" : [ { - "translatorVersion" : "3.27.0", - "translatorOptions" : "EnableDateRangeOptimization,EnableAnnotations,EnableResultTypes", - "signatureLevel" : "All", - "type" : "CqlToElmInfo" - }, { - "type" : "Annotation", - "s" : { - "r" : "571", - "s" : [ { - "value" : [ "","library TestSnippet version '1'" ] - } ] - } - } ], - "identifier" : { - "id" : "TestSnippet", - "version" : "1" - }, - "schemaIdentifier" : { - "id" : "urn:hl7-org:elm", - "version" : "r1" - }, - "usings" : { - "def" : [ { - "localId" : "1", - "localIdentifier" : "System", - "uri" : "urn:hl7-org:elm-types:r1" - }, { - "localId" : "206", - "localIdentifier" : "Simple", - "uri" : "https://github.com/cqframework/cql-execution/simple", - "version" : "1.0.0", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "206", - "s" : [ { - "value" : [ "","using " ] - }, { - "s" : [ { - "value" : [ "Simple" ] - } ] - }, { - "value" : [ " version '1.0.0'" ] - } ] - } - } ] - } ] - }, - "contexts" : { - "def" : [ { - "localId" : "211", - "name" : "Patient" - } ] - }, - "statements" : { - "def" : [ { - "localId" : "209", - "name" : "Patient", - "context" : "Patient", - "expression" : { - "localId" : "210", - "type" : "SingletonFrom", - "signature" : [ ], - "operand" : { - "localId" : "208", - "dataType" : "{https://github.com/cqframework/cql-execution/simple}Patient", - "type" : "Retrieve", - "include" : [ ], - "codeFilter" : [ ], - "dateFilter" : [ ], - "otherFilter" : [ ] - } - } - }, { - "localId" : "214", - "name" : "IntEmptyIntervalList", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "214", - "s" : [ { - "value" : [ "","define ","IntEmptyIntervalList",": " ] - }, { - "r" : "219", - "s" : [ { - "value" : [ "List<" ] - }, { - "r" : "215", - "s" : [ { - "value" : [ "Interval<" ] - }, { - "r" : "216", - "s" : [ { - "value" : [ "Integer" ] - } ] - }, { - "value" : [ ">" ] - } ] - }, { - "value" : [ ">{}" ] - } ] - } ] - } - } ], - "resultTypeSpecifier" : { - "localId" : "224", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "225", + } + } + }, + "highClosedExpression" : { + "type" : "Property", + "localId" : "232", + "path" : "highClosed", + "annotation" : [ ], + "source" : { + "type" : "Interval", + "localId" : "222", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { "type" : "IntervalTypeSpecifier", + "localId" : "223", + "annotation" : [ ], "pointType" : { - "localId" : "226", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" + "type" : "NamedTypeSpecifier", + "localId" : "224", + "name" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] } - } - }, - "expression" : { - "localId" : "219", - "type" : "List", - "resultTypeSpecifier" : { + }, + "low" : { + "type" : "Null", + "localId" : "220", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + }, + "high" : { + "type" : "Null", "localId" : "221", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "222", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "223", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } - }, - "element" : [ ] - } - }, { - "localId" : "229", - "name" : "Int1_6Interval", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "229", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } + } + } + } ] + } + }, { + "localId" : "239", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "IntegerIntervalEndsTrue", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "239", + "s" : [ { + "value" : [ "", "define ", "IntegerIntervalEndsTrue", ": " ] + }, { + "r" : "250", + "s" : [ { + "r" : "242", + "s" : [ { + "r" : "240", + "value" : [ "Interval[", "4", ",", "10", "]" ] + } ] + }, { + "r" : "250", + "value" : [ " ", "ends", " " ] + }, { + "r" : "247", + "s" : [ { + "r" : "245", + "value" : [ "Interval[", "1", ",", "10", "]" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Ends", + "localId" : "250", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "251", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "252", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "253", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "254", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "Interval", + "localId" : "242", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "243", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "244", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "low" : { + "type" : "Literal", + "localId" : "240", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "4", + "annotation" : [ ] + }, + "high" : { + "type" : "Literal", + "localId" : "241", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "10", + "annotation" : [ ] + } + }, { + "type" : "Interval", + "localId" : "247", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "248", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "249", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "low" : { + "type" : "Literal", + "localId" : "245", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "high" : { + "type" : "Literal", + "localId" : "246", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "10", + "annotation" : [ ] + } + } ] + } + }, { + "localId" : "257", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "IntegerIntervalEndsFalse", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "257", + "s" : [ { + "value" : [ "", "define ", "IntegerIntervalEndsFalse", ": " ] + }, { + "r" : "268", + "s" : [ { + "r" : "260", + "s" : [ { + "r" : "258", + "value" : [ "Interval[", "4", ", ", "9", "]" ] + } ] + }, { + "r" : "268", + "value" : [ " ", "ends", " " ] + }, { + "r" : "265", + "s" : [ { + "r" : "263", + "value" : [ "Interval[", "1", ",", "10", "]" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Ends", + "localId" : "268", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "269", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "270", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "271", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "272", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "Interval", + "localId" : "260", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "261", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "262", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "low" : { + "type" : "Literal", + "localId" : "258", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "4", + "annotation" : [ ] + }, + "high" : { + "type" : "Literal", + "localId" : "259", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "9", + "annotation" : [ ] + } + }, { + "type" : "Interval", + "localId" : "265", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "266", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "267", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "low" : { + "type" : "Literal", + "localId" : "263", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "high" : { + "type" : "Literal", + "localId" : "264", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "10", + "annotation" : [ ] + } + } ] + } + }, { + "localId" : "275", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "IntegerIntervalEndsStartsFalse", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "275", + "s" : [ { + "value" : [ "", "define ", "IntegerIntervalEndsStartsFalse", ": " ] + }, { + "r" : "286", + "s" : [ { + "r" : "278", + "s" : [ { + "r" : "276", + "value" : [ "Interval[", "0", ", ", "10", "]" ] + } ] + }, { + "r" : "286", + "value" : [ " ", "ends", " " ] + }, { + "r" : "283", + "s" : [ { + "r" : "281", + "value" : [ "Interval[", "1", ",", "10", "]" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Ends", + "localId" : "286", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "287", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "288", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "289", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "290", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "Interval", + "localId" : "278", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "279", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "280", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "low" : { + "type" : "Literal", + "localId" : "276", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "high" : { + "type" : "Literal", + "localId" : "277", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "10", + "annotation" : [ ] + } + }, { + "type" : "Interval", + "localId" : "283", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "284", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "285", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "low" : { + "type" : "Literal", + "localId" : "281", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "high" : { + "type" : "Literal", + "localId" : "282", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "10", + "annotation" : [ ] + } + } ] + } + }, { + "localId" : "293", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "DecimalIntervalEndsTrue", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "293", + "s" : [ { + "value" : [ "", "define ", "DecimalIntervalEndsTrue", ": " ] + }, { + "r" : "304", + "s" : [ { + "r" : "296", + "s" : [ { + "r" : "294", + "value" : [ "Interval[", "4.0", ",", "10.0", "]" ] + } ] + }, { + "r" : "304", + "value" : [ " ", "ends", " " ] + }, { + "r" : "301", + "s" : [ { + "r" : "299", + "value" : [ "Interval[", "1.0", ",", "10.0", "]" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Ends", + "localId" : "304", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "305", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "306", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "307", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "308", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "Interval", + "localId" : "296", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "297", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "298", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } + }, + "low" : { + "type" : "Literal", + "localId" : "294", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "4.0", + "annotation" : [ ] + }, + "high" : { + "type" : "Literal", + "localId" : "295", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "10.0", + "annotation" : [ ] + } + }, { + "type" : "Interval", + "localId" : "301", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "302", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "303", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } + }, + "low" : { + "type" : "Literal", + "localId" : "299", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "1.0", + "annotation" : [ ] + }, + "high" : { + "type" : "Literal", + "localId" : "300", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "10.0", + "annotation" : [ ] + } + } ] + } + }, { + "localId" : "311", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "DecimalIntervalEndsFalse", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "311", + "s" : [ { + "value" : [ "", "define ", "DecimalIntervalEndsFalse", ": " ] + }, { + "r" : "322", + "s" : [ { + "r" : "314", + "s" : [ { + "r" : "312", + "value" : [ "Interval[", "11.0", ", ", "20.0", "]" ] + } ] + }, { + "r" : "322", + "value" : [ " ", "ends", " " ] + }, { + "r" : "319", + "s" : [ { + "r" : "317", + "value" : [ "Interval[", "1.0", ",", "10.0", "]" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Ends", + "localId" : "322", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "323", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "324", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "325", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "326", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "Interval", + "localId" : "314", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "315", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "316", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } + }, + "low" : { + "type" : "Literal", + "localId" : "312", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "11.0", + "annotation" : [ ] + }, + "high" : { + "type" : "Literal", + "localId" : "313", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "20.0", + "annotation" : [ ] + } + }, { + "type" : "Interval", + "localId" : "319", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "320", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "321", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } + }, + "low" : { + "type" : "Literal", + "localId" : "317", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "1.0", + "annotation" : [ ] + }, + "high" : { + "type" : "Literal", + "localId" : "318", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "10.0", + "annotation" : [ ] + } + } ] + } + }, { + "localId" : "329", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "DecimalIntervalEndsStartsFalse", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "329", + "s" : [ { + "value" : [ "", "define ", "DecimalIntervalEndsStartsFalse", ": " ] + }, { + "r" : "340", + "s" : [ { + "r" : "332", + "s" : [ { + "r" : "330", + "value" : [ "Interval[", "0.0", ", ", "10.0", "]" ] + } ] + }, { + "r" : "340", + "value" : [ " ", "ends", " " ] + }, { + "r" : "337", + "s" : [ { + "r" : "335", + "value" : [ "Interval[", "1.0", ", ", "10.0", "]" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Ends", + "localId" : "340", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "341", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "342", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "343", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "344", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "Interval", + "localId" : "332", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "333", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "334", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } + }, + "low" : { + "type" : "Literal", + "localId" : "330", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "0.0", + "annotation" : [ ] + }, + "high" : { + "type" : "Literal", + "localId" : "331", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "10.0", + "annotation" : [ ] + } + }, { + "type" : "Interval", + "localId" : "337", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "338", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "339", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } + }, + "low" : { + "type" : "Literal", + "localId" : "335", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "1.0", + "annotation" : [ ] + }, + "high" : { + "type" : "Literal", + "localId" : "336", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "10.0", + "annotation" : [ ] + } + } ] + } + }, { + "localId" : "347", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "QuantityIntervalEndsTrue", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "347", + "s" : [ { + "value" : [ "", "define ", "QuantityIntervalEndsTrue", ": " ] + }, { + "r" : "358", + "s" : [ { + "r" : "350", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "348", "s" : [ { - "value" : [ "","define ","Int1_6Interval",": " ] - }, { - "r" : "232", - "s" : [ { - "r" : "230", - "value" : [ "Interval[","1",", ","6","]" ] - } ] + "value" : [ "5.0 ", "'g'" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "349", + "s" : [ { + "value" : [ "10.0 ", "'g'" ] + } ] + }, { + "value" : [ "]" ] + } ] + }, { + "r" : "358", + "value" : [ " ", "ends", " " ] + }, { + "r" : "355", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "353", + "s" : [ { + "value" : [ "1.0 ", "'g'" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "354", + "s" : [ { + "value" : [ "10.0 ", "'g'" ] } ] - } - } ], + }, { + "value" : [ "]" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Ends", + "localId" : "358", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "359", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "360", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "361", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "362", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "Interval", + "localId" : "350", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], "resultTypeSpecifier" : { - "localId" : "235", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "236", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "expression" : { - "localId" : "232", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "233", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "234", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "230", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "high" : { - "localId" : "231", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "6", - "type" : "Literal" - } - } - }, { - "localId" : "239", - "name" : "Int1_10Interval", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "239", + "type" : "IntervalTypeSpecifier", + "localId" : "351", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "352", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } + }, + "low" : { + "type" : "Quantity", + "localId" : "348", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "value" : 5.0, + "unit" : "g", + "annotation" : [ ] + }, + "high" : { + "type" : "Quantity", + "localId" : "349", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "value" : 10.0, + "unit" : "g", + "annotation" : [ ] + } + }, { + "type" : "Interval", + "localId" : "355", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "356", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "357", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } + }, + "low" : { + "type" : "Quantity", + "localId" : "353", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "value" : 1.0, + "unit" : "g", + "annotation" : [ ] + }, + "high" : { + "type" : "Quantity", + "localId" : "354", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "value" : 10.0, + "unit" : "g", + "annotation" : [ ] + } + } ] + } + }, { + "localId" : "365", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "QuantityIntervalEndsFalse", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "365", + "s" : [ { + "value" : [ "", "define ", "QuantityIntervalEndsFalse", ": " ] + }, { + "r" : "376", + "s" : [ { + "r" : "368", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "366", + "s" : [ { + "value" : [ "5.0 ", "'g'" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "367", + "s" : [ { + "value" : [ "10.0 ", "'g'" ] + } ] + }, { + "value" : [ "]" ] + } ] + }, { + "r" : "376", + "value" : [ " ", "ends", " " ] + }, { + "r" : "373", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "371", + "s" : [ { + "value" : [ "1.0 ", "'g'" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "372", + "s" : [ { + "value" : [ "10.5 ", "'g'" ] + } ] + }, { + "value" : [ "]" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Ends", + "localId" : "376", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "377", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "378", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "379", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "380", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "Interval", + "localId" : "368", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "369", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "370", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } + }, + "low" : { + "type" : "Quantity", + "localId" : "366", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "value" : 5.0, + "unit" : "g", + "annotation" : [ ] + }, + "high" : { + "type" : "Quantity", + "localId" : "367", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "value" : 10.0, + "unit" : "g", + "annotation" : [ ] + } + }, { + "type" : "Interval", + "localId" : "373", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "374", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "375", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } + }, + "low" : { + "type" : "Quantity", + "localId" : "371", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "value" : 1.0, + "unit" : "g", + "annotation" : [ ] + }, + "high" : { + "type" : "Quantity", + "localId" : "372", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "value" : 10.5, + "unit" : "g", + "annotation" : [ ] + } + } ] + } + }, { + "localId" : "383", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "QuantityIntervalEndsStartsFalse", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "383", + "s" : [ { + "value" : [ "", "define ", "QuantityIntervalEndsStartsFalse", ": " ] + }, { + "r" : "394", + "s" : [ { + "r" : "386", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "384", + "s" : [ { + "value" : [ "4.0 ", "'g'" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "385", + "s" : [ { + "value" : [ "10.0 ", "'g'" ] + } ] + }, { + "value" : [ "]" ] + } ] + }, { + "r" : "394", + "value" : [ " ", "ends", " " ] + }, { + "r" : "391", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "389", + "s" : [ { + "value" : [ "5.0 ", "'g'" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "390", + "s" : [ { + "value" : [ "10.0 ", "'g'" ] + } ] + }, { + "value" : [ "]" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Ends", + "localId" : "394", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "395", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "396", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "397", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "398", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "Interval", + "localId" : "386", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "387", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "388", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } + }, + "low" : { + "type" : "Quantity", + "localId" : "384", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "value" : 4.0, + "unit" : "g", + "annotation" : [ ] + }, + "high" : { + "type" : "Quantity", + "localId" : "385", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "value" : 10.0, + "unit" : "g", + "annotation" : [ ] + } + }, { + "type" : "Interval", + "localId" : "391", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "392", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "393", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } + }, + "low" : { + "type" : "Quantity", + "localId" : "389", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "value" : 5.0, + "unit" : "g", + "annotation" : [ ] + }, + "high" : { + "type" : "Quantity", + "localId" : "390", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "value" : 10.0, + "unit" : "g", + "annotation" : [ ] + } + } ] + } + }, { + "localId" : "401", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "DateTimeIntervalEndsTrue", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "401", + "s" : [ { + "value" : [ "", "define ", "DateTimeIntervalEndsTrue", ": " ] + }, { + "r" : "504", + "s" : [ { + "r" : "450", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "418", + "s" : [ { + "r" : "402", + "value" : [ "DateTime", "(", "2012", ", ", "1", ", ", "5", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "442", + "s" : [ { + "r" : "426", + "value" : [ "DateTime", "(", "2012", ", ", "1", ", ", "15", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ "]" ] + } ] + }, { + "r" : "504", + "value" : [ " ", "ends", " " ] + }, { + "r" : "501", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "469", + "s" : [ { + "r" : "453", + "value" : [ "DateTime", "(", "2012", ", ", "1", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "493", + "s" : [ { + "r" : "477", + "value" : [ "DateTime", "(", "2012", ", ", "1", ", ", "15", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ "]" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Ends", + "localId" : "504", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "505", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "506", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "507", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "508", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "Interval", + "localId" : "450", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "451", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "452", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "DateTime", + "localId" : "418", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "419", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "420", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "421", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "422", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "423", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "424", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "425", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "402", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "403", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "404", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "5", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "405", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "406", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "407", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "408", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "442", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "443", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "444", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "445", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "446", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "447", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "448", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "449", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "426", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "427", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "428", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "15", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "429", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "430", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "431", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "432", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + } + }, { + "type" : "Interval", + "localId" : "501", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "502", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "503", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "DateTime", + "localId" : "469", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "470", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "471", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "472", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "473", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "474", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "475", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "476", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "453", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "454", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "455", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "456", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "457", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "458", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "459", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "493", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "494", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "495", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "496", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "497", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "498", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "499", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "500", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "477", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "478", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "479", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "15", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "480", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "481", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "482", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "483", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + } + } ] + } + }, { + "localId" : "511", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "DateTimeIntervalEndsFalse", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "511", + "s" : [ { + "value" : [ "", "define ", "DateTimeIntervalEndsFalse", ": " ] + }, { + "r" : "566", + "s" : [ { + "r" : "536", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "520", + "s" : [ { + "r" : "512", + "value" : [ "DateTime", "(", "2012", ", ", "1", ", ", "5", ")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "532", + "s" : [ { + "r" : "524", + "value" : [ "DateTime", "(", "2012", ", ", "1", ", ", "15", ")" ] + } ] + }, { + "value" : [ "]" ] + } ] + }, { + "r" : "566", + "value" : [ " ", "ends day of", " " ] + }, { + "r" : "563", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "547", "s" : [ { - "value" : [ "","define ","Int1_10Interval",": " ] - }, { - "r" : "242", - "s" : [ { - "r" : "240", - "value" : [ "Interval[","1",", ","10","]" ] - } ] + "r" : "539", + "value" : [ "DateTime", "(", "2012", ", ", "1", ", ", "1", ")" ] } ] - } - } ], - "resultTypeSpecifier" : { - "localId" : "245", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "246", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "expression" : { - "localId" : "242", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "243", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "244", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "240", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "high" : { - "localId" : "241", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal" - } - } - }, { - "localId" : "249", - "name" : "Int5_10Interval", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "249", + }, { + "value" : [ ", " ] + }, { + "r" : "559", "s" : [ { - "value" : [ "","define ","Int5_10Interval",": " ] - }, { - "r" : "252", - "s" : [ { - "r" : "250", - "value" : [ "Interval[","5",", ","10","]" ] - } ] + "r" : "551", + "value" : [ "DateTime", "(", "2012", ", ", "1", ", ", "16", ")" ] } ] - } - } ], + }, { + "value" : [ "]" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Ends", + "localId" : "566", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "precision" : "Day", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "567", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "568", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "569", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "570", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "Interval", + "localId" : "536", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], "resultTypeSpecifier" : { - "localId" : "255", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "256", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "expression" : { - "localId" : "252", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "253", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "254", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "250", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal" - }, - "high" : { - "localId" : "251", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal" - } - } - }, { - "localId" : "259", - "name" : "Int5_12Interval", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "259", - "s" : [ { - "value" : [ "","define ","Int5_12Interval",": " ] - }, { - "r" : "262", - "s" : [ { - "r" : "260", - "value" : [ "Interval[","5",", ","12","]" ] - } ] - } ] - } - } ], + "type" : "IntervalTypeSpecifier", + "localId" : "537", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "538", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "DateTime", + "localId" : "520", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "521", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "522", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "523", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "512", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "513", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "514", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "5", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "532", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "533", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "534", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "535", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "524", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "525", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "526", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "15", + "annotation" : [ ] + } + } + }, { + "type" : "Interval", + "localId" : "563", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], "resultTypeSpecifier" : { - "localId" : "265", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "266", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "expression" : { - "localId" : "262", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "263", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "264", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "260", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal" - }, - "high" : { - "localId" : "261", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "12", - "type" : "Literal" - } - } - }, { - "localId" : "269", - "name" : "Int10_15Interval", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "269", + "type" : "IntervalTypeSpecifier", + "localId" : "564", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "565", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "DateTime", + "localId" : "547", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "548", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "549", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "550", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "539", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "540", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "541", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "559", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "560", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "561", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "562", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "551", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "552", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "553", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "16", + "annotation" : [ ] + } + } + } ] + } + }, { + "localId" : "573", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "DateTimeIntervalEndsDayOfTrue", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "573", + "s" : [ { + "value" : [ "", "define ", "DateTimeIntervalEndsDayOfTrue", ": " ] + }, { + "r" : "628", + "s" : [ { + "r" : "598", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "582", "s" : [ { - "value" : [ "","define ","Int10_15Interval",": " ] - }, { - "r" : "272", - "s" : [ { - "r" : "270", - "value" : [ "Interval[","10",", ","15","]" ] - } ] + "r" : "574", + "value" : [ "DateTime", "(", "2012", ", ", "1", ", ", "5", ")" ] } ] - } - } ], - "resultTypeSpecifier" : { - "localId" : "275", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "276", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "expression" : { - "localId" : "272", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "273", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "274", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "270", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal" - }, - "high" : { - "localId" : "271", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal" - } - } - }, { - "localId" : "279", - "name" : "Int15_20Interval", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "279", + }, { + "value" : [ ", " ] + }, { + "r" : "594", "s" : [ { - "value" : [ "","define ","Int15_20Interval",": " ] - }, { - "r" : "282", - "s" : [ { - "r" : "280", - "value" : [ "Interval[","15",", ","20","]" ] - } ] + "r" : "586", + "value" : [ "DateTime", "(", "2012", ", ", "1", ", ", "15", ")" ] + } ] + }, { + "value" : [ "]" ] + } ] + }, { + "r" : "628", + "value" : [ " ", "ends day of", " " ] + }, { + "r" : "625", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "609", + "s" : [ { + "r" : "601", + "value" : [ "DateTime", "(", "2012", ", ", "1", ", ", "1", ")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "621", + "s" : [ { + "r" : "613", + "value" : [ "DateTime", "(", "2012", ", ", "1", ", ", "15", ")" ] } ] - } - } ], + }, { + "value" : [ "]" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Ends", + "localId" : "628", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "precision" : "Day", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "629", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "630", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "631", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "632", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "Interval", + "localId" : "598", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], "resultTypeSpecifier" : { - "localId" : "285", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "286", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "expression" : { - "localId" : "282", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "283", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "284", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "280", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal" - }, - "high" : { - "localId" : "281", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "20", - "type" : "Literal" - } - } - }, { - "localId" : "289", - "name" : "Int1_12Interval", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "289", - "s" : [ { - "value" : [ "","define ","Int1_12Interval",": " ] - }, { - "r" : "292", - "s" : [ { - "r" : "290", - "value" : [ "Interval[","1",", ","12","]" ] - } ] - } ] - } - } ], + "type" : "IntervalTypeSpecifier", + "localId" : "599", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "600", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "DateTime", + "localId" : "582", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "583", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "584", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "585", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "574", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "575", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "576", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "5", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "594", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "595", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "596", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "597", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "586", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "587", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "588", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "15", + "annotation" : [ ] + } + } + }, { + "type" : "Interval", + "localId" : "625", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], "resultTypeSpecifier" : { - "localId" : "295", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "296", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "expression" : { - "localId" : "292", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "293", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "294", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "290", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "high" : { - "localId" : "291", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "12", - "type" : "Literal" - } - } - }, { - "localId" : "299", - "name" : "Int1_15Interval", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "299", + "type" : "IntervalTypeSpecifier", + "localId" : "626", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "627", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "DateTime", + "localId" : "609", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "610", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "611", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "612", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "601", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "602", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "603", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "621", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "622", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "623", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "624", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "613", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "614", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "615", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "15", + "annotation" : [ ] + } + } + } ] + } + }, { + "localId" : "635", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "DateTimeIntervalEndsStartsFalse", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "635", + "s" : [ { + "value" : [ "", "define ", "DateTimeIntervalEndsStartsFalse", ": " ] + }, { + "r" : "690", + "s" : [ { + "r" : "660", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "644", + "s" : [ { + "r" : "636", + "value" : [ "DateTime", "(", "2012", ", ", "1", ", ", "5", ")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "656", "s" : [ { - "value" : [ "","define ","Int1_15Interval",": " ] - }, { - "r" : "302", - "s" : [ { - "r" : "300", - "value" : [ "Interval[","1",", ","15","]" ] - } ] - } ] - } - } ], + "r" : "648", + "value" : [ "DateTime", "(", "2012", ", ", "2", ", ", "16", ")" ] + } ] + }, { + "value" : [ "]" ] + } ] + }, { + "r" : "690", + "value" : [ " ", "ends day of", " " ] + }, { + "r" : "687", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "671", + "s" : [ { + "r" : "663", + "value" : [ "DateTime", "(", "2012", ", ", "2", ", ", "1", ")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "683", + "s" : [ { + "r" : "675", + "value" : [ "DateTime", "(", "2012", ", ", "2", ", ", "16", ")" ] + } ] + }, { + "value" : [ "]" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Ends", + "localId" : "690", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "precision" : "Day", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "691", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "692", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "693", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "694", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "Interval", + "localId" : "660", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], "resultTypeSpecifier" : { - "localId" : "305", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "306", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "expression" : { - "localId" : "302", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "303", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "304", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "300", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "high" : { - "localId" : "301", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal" - } - } - }, { + "type" : "IntervalTypeSpecifier", + "localId" : "661", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "662", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "DateTime", + "localId" : "644", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "645", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "646", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "647", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "636", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "637", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "638", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "5", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "656", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "657", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "658", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "659", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "648", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "649", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "650", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "16", + "annotation" : [ ] + } + } + }, { + "type" : "Interval", + "localId" : "687", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "688", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "689", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "DateTime", + "localId" : "671", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "672", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "673", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "674", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "663", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "664", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "665", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "683", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "684", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "685", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "686", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "675", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "676", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "677", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "16", + "annotation" : [ ] + } + } + } ] + } + } ] + } + } +} + +/* IntegerIntervalUnion +library TestSnippet version '1' +using Simple version '1.0.0' +context Patient +define IntFullInterval: Interval[0,10] +define IntClosedUnionClosed: Interval[0,5] union Interval[5,10] +define IntClosedUnionOpen: Interval[0,5] union Interval[5,10) +define IntOpenUnionOpen: Interval(0,5] union Interval[5,10) +define IntOpenUnionClosed: Interval(0,5] union Interval[5,10] +define IntSameAsUnion: Interval[0,10] union Interval[0,10] +define IntBeforeUnion: Interval[0,4] union Interval[6,10] +define IntMeetsUnion: Interval[0,5] union Interval[5,10] +define IntOverlapsUnion: Interval[0,7] union Interval[3,10] +define IntBeginsUnion: Interval[0,5] union Interval[0,10] +define IntDuringUnion: Interval[3,5] union Interval[0,10] +define IntEndsUnion: Interval[5,10] union Interval[0,10] +define NullUnion: null union Interval[0,10] +define UnionNull: Interval[5,10] union null +define NullUnionNull: (null as Interval) union (null as Interval) +*/ + +module.exports['IntegerIntervalUnion'] = { + "library" : { + "localId" : "0", + "annotation" : [ { + "type" : "CqlToElmInfo", + "translatorVersion" : "4.2.0", + "translatorOptions" : "EnableDateRangeOptimization,EnableAnnotations,EnableResultTypes", + "signatureLevel" : "All" + }, { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "508", + "s" : [ { + "value" : [ "", "library TestSnippet version '1'" ] + } ] + } + } ], + "identifier" : { + "id" : "TestSnippet", + "version" : "1" + }, + "schemaIdentifier" : { + "id" : "urn:hl7-org:elm", + "version" : "r1" + }, + "usings" : { + "def" : [ { + "localId" : "1", + "localIdentifier" : "System", + "uri" : "urn:hl7-org:elm-types:r1", + "annotation" : [ ] + }, { + "localId" : "206", + "localIdentifier" : "Simple", + "uri" : "https://github.com/cqframework/cql-execution/simple", + "version" : "1.0.0", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "206", + "s" : [ { + "value" : [ "", "using " ] + }, { + "s" : [ { + "value" : [ "Simple" ] + } ] + }, { + "value" : [ " version '1.0.0'" ] + } ] + } + } ] + } ] + }, + "contexts" : { + "def" : [ { + "localId" : "211", + "name" : "Patient", + "annotation" : [ ] + } ] + }, + "statements" : { + "def" : [ { + "localId" : "209", + "name" : "Patient", + "context" : "Patient", + "annotation" : [ ], + "expression" : { + "type" : "SingletonFrom", + "localId" : "210", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Retrieve", + "localId" : "208", + "dataType" : "{https://github.com/cqframework/cql-execution/simple}Patient", + "annotation" : [ ], + "include" : [ ], + "codeFilter" : [ ], + "dateFilter" : [ ], + "otherFilter" : [ ] + } + } + }, { + "localId" : "214", + "name" : "IntFullInterval", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "214", + "s" : [ { + "value" : [ "", "define ", "IntFullInterval", ": " ] + }, { + "r" : "217", + "s" : [ { + "r" : "215", + "value" : [ "Interval[", "0", ",", "10", "]" ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "220", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "221", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "expression" : { + "type" : "Interval", + "localId" : "217", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "218", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "219", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "low" : { + "type" : "Literal", + "localId" : "215", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "high" : { + "type" : "Literal", + "localId" : "216", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "10", + "annotation" : [ ] + } + } + }, { + "localId" : "224", + "name" : "IntClosedUnionClosed", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "224", + "s" : [ { + "value" : [ "", "define ", "IntClosedUnionClosed", ": " ] + }, { + "r" : "235", + "s" : [ { + "r" : "227", + "s" : [ { + "r" : "225", + "value" : [ "Interval[", "0", ",", "5", "]" ] + } ] + }, { + "value" : [ " union " ] + }, { + "r" : "232", + "s" : [ { + "r" : "230", + "value" : [ "Interval[", "5", ",", "10", "]" ] + } ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "242", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "243", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "expression" : { + "type" : "Union", + "localId" : "235", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "240", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "241", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "236", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "237", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "238", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "239", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "Interval", + "localId" : "227", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "228", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "229", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "low" : { + "type" : "Literal", + "localId" : "225", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "high" : { + "type" : "Literal", + "localId" : "226", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "5", + "annotation" : [ ] + } + }, { + "type" : "Interval", + "localId" : "232", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "233", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "234", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "low" : { + "type" : "Literal", + "localId" : "230", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "5", + "annotation" : [ ] + }, + "high" : { + "type" : "Literal", + "localId" : "231", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "10", + "annotation" : [ ] + } + } ] + } + }, { + "localId" : "246", + "name" : "IntClosedUnionOpen", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "246", + "s" : [ { + "value" : [ "", "define ", "IntClosedUnionOpen", ": " ] + }, { + "r" : "257", + "s" : [ { + "r" : "249", + "s" : [ { + "r" : "247", + "value" : [ "Interval[", "0", ",", "5", "]" ] + } ] + }, { + "value" : [ " union " ] + }, { + "r" : "254", + "s" : [ { + "r" : "252", + "value" : [ "Interval[", "5", ",", "10", ")" ] + } ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "264", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "265", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "expression" : { + "type" : "Union", + "localId" : "257", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "262", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "263", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "258", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "259", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "260", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "261", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "Interval", + "localId" : "249", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "250", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "251", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "low" : { + "type" : "Literal", + "localId" : "247", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "high" : { + "type" : "Literal", + "localId" : "248", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "5", + "annotation" : [ ] + } + }, { + "type" : "Interval", + "localId" : "254", + "lowClosed" : true, + "highClosed" : false, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "255", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "256", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "low" : { + "type" : "Literal", + "localId" : "252", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "5", + "annotation" : [ ] + }, + "high" : { + "type" : "Literal", + "localId" : "253", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "10", + "annotation" : [ ] + } + } ] + } + }, { + "localId" : "268", + "name" : "IntOpenUnionOpen", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "268", + "s" : [ { + "value" : [ "", "define ", "IntOpenUnionOpen", ": " ] + }, { + "r" : "279", + "s" : [ { + "r" : "271", + "s" : [ { + "r" : "269", + "value" : [ "Interval(", "0", ",", "5", "]" ] + } ] + }, { + "value" : [ " union " ] + }, { + "r" : "276", + "s" : [ { + "r" : "274", + "value" : [ "Interval[", "5", ",", "10", ")" ] + } ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "286", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "287", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "expression" : { + "type" : "Union", + "localId" : "279", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "284", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "285", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "280", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "281", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "282", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "283", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "Interval", + "localId" : "271", + "lowClosed" : false, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "272", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "273", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "low" : { + "type" : "Literal", + "localId" : "269", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "high" : { + "type" : "Literal", + "localId" : "270", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "5", + "annotation" : [ ] + } + }, { + "type" : "Interval", + "localId" : "276", + "lowClosed" : true, + "highClosed" : false, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "277", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "278", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "low" : { + "type" : "Literal", + "localId" : "274", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "5", + "annotation" : [ ] + }, + "high" : { + "type" : "Literal", + "localId" : "275", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "10", + "annotation" : [ ] + } + } ] + } + }, { + "localId" : "290", + "name" : "IntOpenUnionClosed", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "290", + "s" : [ { + "value" : [ "", "define ", "IntOpenUnionClosed", ": " ] + }, { + "r" : "301", + "s" : [ { + "r" : "293", + "s" : [ { + "r" : "291", + "value" : [ "Interval(", "0", ",", "5", "]" ] + } ] + }, { + "value" : [ " union " ] + }, { + "r" : "298", + "s" : [ { + "r" : "296", + "value" : [ "Interval[", "5", ",", "10", "]" ] + } ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "308", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", "localId" : "309", - "name" : "Int1_10IntervalList", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "309", - "s" : [ { - "value" : [ "","define ","Int1_10IntervalList",": " ] - }, { - "r" : "310", - "s" : [ { - "value" : [ "{ " ] - }, { - "r" : "311", - "s" : [ { - "value" : [ "Int1_10Interval" ] - } ] - }, { - "value" : [ " }" ] - } ] - } ] - } - } ], + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "expression" : { + "type" : "Union", + "localId" : "301", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "306", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "307", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "302", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "303", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "304", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "305", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "Interval", + "localId" : "293", + "lowClosed" : false, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "294", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "295", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "low" : { + "type" : "Literal", + "localId" : "291", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "high" : { + "type" : "Literal", + "localId" : "292", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "5", + "annotation" : [ ] + } + }, { + "type" : "Interval", + "localId" : "298", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "299", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "300", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "low" : { + "type" : "Literal", + "localId" : "296", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "5", + "annotation" : [ ] + }, + "high" : { + "type" : "Literal", + "localId" : "297", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "10", + "annotation" : [ ] + } + } ] + } + }, { + "localId" : "312", + "name" : "IntSameAsUnion", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "312", + "s" : [ { + "value" : [ "", "define ", "IntSameAsUnion", ": " ] + }, { + "r" : "323", + "s" : [ { + "r" : "315", + "s" : [ { + "r" : "313", + "value" : [ "Interval[", "0", ",", "10", "]" ] + } ] + }, { + "value" : [ " union " ] + }, { + "r" : "320", + "s" : [ { + "r" : "318", + "value" : [ "Interval[", "0", ",", "10", "]" ] + } ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "330", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "331", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "expression" : { + "type" : "Union", + "localId" : "323", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "328", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "329", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "324", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "325", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "326", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "327", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "Interval", + "localId" : "315", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], "resultTypeSpecifier" : { - "localId" : "317", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "318", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "319", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } + "type" : "IntervalTypeSpecifier", + "localId" : "316", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "317", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } }, - "expression" : { - "localId" : "310", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "314", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "315", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "316", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } - }, - "element" : [ { - "localId" : "311", - "name" : "Int1_10Interval", - "type" : "ExpressionRef", - "resultTypeSpecifier" : { - "localId" : "312", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "313", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } - } ] - } - }, { - "localId" : "322", - "name" : "Int1_12IntervalList", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "322", - "s" : [ { - "value" : [ "","define ","Int1_12IntervalList",": " ] - }, { - "r" : "323", - "s" : [ { - "value" : [ "{ " ] - }, { - "r" : "324", - "s" : [ { - "value" : [ "Int1_12Interval" ] - } ] - }, { - "value" : [ " }" ] - } ] - } ] - } - } ], + "low" : { + "type" : "Literal", + "localId" : "313", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "high" : { + "type" : "Literal", + "localId" : "314", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "10", + "annotation" : [ ] + } + }, { + "type" : "Interval", + "localId" : "320", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], "resultTypeSpecifier" : { - "localId" : "330", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "331", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "332", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } + "type" : "IntervalTypeSpecifier", + "localId" : "321", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "322", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } }, - "expression" : { - "localId" : "323", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "327", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "328", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "329", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } - }, - "element" : [ { - "localId" : "324", - "name" : "Int1_12Interval", - "type" : "ExpressionRef", - "resultTypeSpecifier" : { - "localId" : "325", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "326", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } - } ] - } - }, { - "localId" : "335", - "name" : "Int1_15IntervalList", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { + "low" : { + "type" : "Literal", + "localId" : "318", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "high" : { + "type" : "Literal", + "localId" : "319", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "10", + "annotation" : [ ] + } + } ] + } + }, { + "localId" : "334", + "name" : "IntBeforeUnion", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "334", + "s" : [ { + "value" : [ "", "define ", "IntBeforeUnion", ": " ] + }, { + "r" : "345", + "s" : [ { + "r" : "337", + "s" : [ { "r" : "335", - "s" : [ { - "value" : [ "","define ","Int1_15IntervalList",": " ] - }, { - "r" : "336", - "s" : [ { - "value" : [ "{ " ] - }, { - "r" : "337", - "s" : [ { - "value" : [ "Int1_15Interval" ] - } ] - }, { - "value" : [ " }" ] - } ] - } ] - } - } ], + "value" : [ "Interval[", "0", ",", "4", "]" ] + } ] + }, { + "value" : [ " union " ] + }, { + "r" : "342", + "s" : [ { + "r" : "340", + "value" : [ "Interval[", "6", ",", "10", "]" ] + } ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "352", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "353", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "expression" : { + "type" : "Union", + "localId" : "345", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "350", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "351", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "346", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "347", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "348", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "349", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "Interval", + "localId" : "337", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], "resultTypeSpecifier" : { - "localId" : "343", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "344", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "345", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } + "type" : "IntervalTypeSpecifier", + "localId" : "338", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "339", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } }, - "expression" : { - "localId" : "336", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "340", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "341", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "342", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } - }, - "element" : [ { - "localId" : "337", - "name" : "Int1_15Interval", - "type" : "ExpressionRef", - "resultTypeSpecifier" : { - "localId" : "338", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "339", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } - } ] - } - }, { - "localId" : "348", - "name" : "IntTwoItemDisjointList", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "348", - "s" : [ { - "value" : [ "","define ","IntTwoItemDisjointList",": " ] - }, { - "r" : "349", - "s" : [ { - "value" : [ "{ " ] - }, { - "r" : "350", - "s" : [ { - "value" : [ "Int1_10Interval" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "353", - "s" : [ { - "value" : [ "Int15_20Interval" ] - } ] - }, { - "value" : [ " }" ] - } ] - } ] - } - } ], + "low" : { + "type" : "Literal", + "localId" : "335", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "high" : { + "type" : "Literal", + "localId" : "336", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "4", + "annotation" : [ ] + } + }, { + "type" : "Interval", + "localId" : "342", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], "resultTypeSpecifier" : { - "localId" : "359", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "360", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "361", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } + "type" : "IntervalTypeSpecifier", + "localId" : "343", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "344", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } }, - "expression" : { - "localId" : "349", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "356", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "357", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "358", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } - }, - "element" : [ { - "localId" : "350", - "name" : "Int1_10Interval", - "type" : "ExpressionRef", - "resultTypeSpecifier" : { - "localId" : "351", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "352", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } - }, { - "localId" : "353", - "name" : "Int15_20Interval", - "type" : "ExpressionRef", - "resultTypeSpecifier" : { - "localId" : "354", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "355", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } - } ] - } - }, { + "low" : { + "type" : "Literal", + "localId" : "340", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "6", + "annotation" : [ ] + }, + "high" : { + "type" : "Literal", + "localId" : "341", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "10", + "annotation" : [ ] + } + } ] + } + }, { + "localId" : "356", + "name" : "IntMeetsUnion", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "356", + "s" : [ { + "value" : [ "", "define ", "IntMeetsUnion", ": " ] + }, { + "r" : "367", + "s" : [ { + "r" : "359", + "s" : [ { + "r" : "357", + "value" : [ "Interval[", "0", ",", "5", "]" ] + } ] + }, { + "value" : [ " union " ] + }, { + "r" : "364", + "s" : [ { + "r" : "362", + "value" : [ "Interval[", "5", ",", "10", "]" ] + } ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "374", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "375", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "expression" : { + "type" : "Union", + "localId" : "367", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "372", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "373", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "368", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "369", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "370", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "371", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "Interval", + "localId" : "359", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "360", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "361", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "low" : { + "type" : "Literal", + "localId" : "357", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "high" : { + "type" : "Literal", + "localId" : "358", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "5", + "annotation" : [ ] + } + }, { + "type" : "Interval", "localId" : "364", - "name" : "IntCollapseEmpty", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "364", - "s" : [ { - "value" : [ "","define ","IntCollapseEmpty",": " ] - }, { - "r" : "370", - "s" : [ { - "value" : [ "collapse " ] - }, { - "r" : "365", - "s" : [ { - "value" : [ "IntEmptyIntervalList" ] - } ] - } ] - } ] - } - } ], + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], "resultTypeSpecifier" : { - "localId" : "378", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "379", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "380", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } + "type" : "IntervalTypeSpecifier", + "localId" : "365", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "366", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } }, - "expression" : { - "localId" : "370", - "type" : "Collapse", - "resultTypeSpecifier" : { - "localId" : "375", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "376", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "377", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } - }, - "signature" : [ { - "localId" : "371", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "372", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "373", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } - }, { - "localId" : "374", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "365", - "name" : "IntEmptyIntervalList", - "type" : "ExpressionRef", - "resultTypeSpecifier" : { - "localId" : "366", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "367", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "368", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } - } - }, { - "localId" : "369", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "Null" - } ] - } - }, { - "localId" : "383", - "name" : "IntCollapseSingleInterval", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "383", - "s" : [ { - "value" : [ "","define ","IntCollapseSingleInterval",": " ] - }, { - "r" : "389", - "s" : [ { - "value" : [ "collapse " ] - }, { - "r" : "384", - "s" : [ { - "value" : [ "Int1_10IntervalList" ] - } ] - } ] - } ] - } - } ], + "low" : { + "type" : "Literal", + "localId" : "362", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "5", + "annotation" : [ ] + }, + "high" : { + "type" : "Literal", + "localId" : "363", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "10", + "annotation" : [ ] + } + } ] + } + }, { + "localId" : "378", + "name" : "IntOverlapsUnion", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "378", + "s" : [ { + "value" : [ "", "define ", "IntOverlapsUnion", ": " ] + }, { + "r" : "389", + "s" : [ { + "r" : "381", + "s" : [ { + "r" : "379", + "value" : [ "Interval[", "0", ",", "7", "]" ] + } ] + }, { + "value" : [ " union " ] + }, { + "r" : "386", + "s" : [ { + "r" : "384", + "value" : [ "Interval[", "3", ",", "10", "]" ] + } ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "396", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "397", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "expression" : { + "type" : "Union", + "localId" : "389", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "394", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "395", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "390", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "391", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "392", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "393", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "Interval", + "localId" : "381", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], "resultTypeSpecifier" : { - "localId" : "397", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "398", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "399", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } + "type" : "IntervalTypeSpecifier", + "localId" : "382", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "383", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } }, - "expression" : { - "localId" : "389", - "type" : "Collapse", - "resultTypeSpecifier" : { - "localId" : "394", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "395", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "396", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } - }, - "signature" : [ { - "localId" : "390", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "391", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "392", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } - }, { - "localId" : "393", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "384", - "name" : "Int1_10IntervalList", - "type" : "ExpressionRef", - "resultTypeSpecifier" : { - "localId" : "385", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "386", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "387", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } - } - }, { - "localId" : "388", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "Null" - } ] - } - }, { - "localId" : "402", - "name" : "IntCollapseDisjoint", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "402", - "s" : [ { - "value" : [ "","define ","IntCollapseDisjoint",": " ] - }, { - "r" : "408", - "s" : [ { - "value" : [ "collapse " ] - }, { - "r" : "403", - "s" : [ { - "value" : [ "IntTwoItemDisjointList" ] - } ] - } ] - } ] - } - } ], + "low" : { + "type" : "Literal", + "localId" : "379", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "high" : { + "type" : "Literal", + "localId" : "380", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "7", + "annotation" : [ ] + } + }, { + "type" : "Interval", + "localId" : "386", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], "resultTypeSpecifier" : { - "localId" : "416", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "417", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "418", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } + "type" : "IntervalTypeSpecifier", + "localId" : "387", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "388", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } }, - "expression" : { - "localId" : "408", - "type" : "Collapse", - "resultTypeSpecifier" : { - "localId" : "413", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "414", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "415", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } - }, - "signature" : [ { - "localId" : "409", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "410", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "411", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } - }, { - "localId" : "412", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "403", - "name" : "IntTwoItemDisjointList", - "type" : "ExpressionRef", - "resultTypeSpecifier" : { - "localId" : "404", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "405", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "406", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } - } - }, { - "localId" : "407", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "Null" - } ] - } - }, { - "localId" : "421", - "name" : "IntCollapseDisjointReversed", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "421", - "s" : [ { - "value" : [ "","define ","IntCollapseDisjointReversed",": " ] - }, { - "r" : "433", - "s" : [ { - "value" : [ "collapse " ] - }, { - "r" : "422", - "s" : [ { - "value" : [ "{ " ] - }, { - "r" : "423", - "s" : [ { - "value" : [ "Int15_20Interval" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "426", - "s" : [ { - "value" : [ "Int1_10Interval" ] - } ] - }, { - "value" : [ " }" ] - } ] - } ] - } ] - } - } ], + "low" : { + "type" : "Literal", + "localId" : "384", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "high" : { + "type" : "Literal", + "localId" : "385", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "10", + "annotation" : [ ] + } + } ] + } + }, { + "localId" : "400", + "name" : "IntBeginsUnion", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "400", + "s" : [ { + "value" : [ "", "define ", "IntBeginsUnion", ": " ] + }, { + "r" : "411", + "s" : [ { + "r" : "403", + "s" : [ { + "r" : "401", + "value" : [ "Interval[", "0", ",", "5", "]" ] + } ] + }, { + "value" : [ " union " ] + }, { + "r" : "408", + "s" : [ { + "r" : "406", + "value" : [ "Interval[", "0", ",", "10", "]" ] + } ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "418", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "419", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "expression" : { + "type" : "Union", + "localId" : "411", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "416", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "417", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "412", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "413", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "414", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "415", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "Interval", + "localId" : "403", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], "resultTypeSpecifier" : { - "localId" : "441", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "442", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "443", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } + "type" : "IntervalTypeSpecifier", + "localId" : "404", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "405", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } }, - "expression" : { - "localId" : "433", - "type" : "Collapse", - "resultTypeSpecifier" : { - "localId" : "438", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "439", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "440", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } - }, - "signature" : [ { - "localId" : "434", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "435", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "436", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } - }, { - "localId" : "437", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "422", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "429", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "430", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "431", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } - }, - "element" : [ { - "localId" : "423", - "name" : "Int15_20Interval", - "type" : "ExpressionRef", - "resultTypeSpecifier" : { - "localId" : "424", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "425", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } - }, { - "localId" : "426", - "name" : "Int1_10Interval", - "type" : "ExpressionRef", - "resultTypeSpecifier" : { - "localId" : "427", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "428", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } - } ] - }, { - "localId" : "432", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "Null" - } ] - } - }, { - "localId" : "446", - "name" : "IntCollapseAdjacent", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "446", - "s" : [ { - "value" : [ "","define ","IntCollapseAdjacent",": " ] - }, { - "r" : "458", - "s" : [ { - "value" : [ "collapse " ] - }, { - "r" : "447", - "s" : [ { - "value" : [ "{ " ] - }, { - "r" : "448", - "s" : [ { - "value" : [ "Int1_10Interval" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "451", - "s" : [ { - "value" : [ "Int10_15Interval" ] - } ] - }, { - "value" : [ " }" ] - } ] - } ] - } ] - } - } ], + "low" : { + "type" : "Literal", + "localId" : "401", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "high" : { + "type" : "Literal", + "localId" : "402", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "5", + "annotation" : [ ] + } + }, { + "type" : "Interval", + "localId" : "408", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], "resultTypeSpecifier" : { - "localId" : "466", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "467", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "468", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } + "type" : "IntervalTypeSpecifier", + "localId" : "409", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "410", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } }, - "expression" : { - "localId" : "458", - "type" : "Collapse", - "resultTypeSpecifier" : { - "localId" : "463", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "464", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "465", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } - }, - "signature" : [ { - "localId" : "459", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "460", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "461", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } - }, { - "localId" : "462", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "447", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "454", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "455", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "456", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } - }, - "element" : [ { - "localId" : "448", - "name" : "Int1_10Interval", - "type" : "ExpressionRef", - "resultTypeSpecifier" : { - "localId" : "449", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "450", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } - }, { - "localId" : "451", - "name" : "Int10_15Interval", - "type" : "ExpressionRef", - "resultTypeSpecifier" : { - "localId" : "452", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "453", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } - } ] - }, { - "localId" : "457", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "Null" - } ] - } - }, { - "localId" : "471", - "name" : "IntCollapseOverlap", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "471", - "s" : [ { - "value" : [ "","define ","IntCollapseOverlap",": " ] - }, { - "r" : "483", - "s" : [ { - "value" : [ "collapse " ] - }, { - "r" : "472", - "s" : [ { - "value" : [ "{ " ] - }, { - "r" : "473", - "s" : [ { - "value" : [ "Int1_10Interval" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "476", - "s" : [ { - "value" : [ "Int5_12Interval" ] - } ] - }, { - "value" : [ " }" ] - } ] - } ] - } ] - } - } ], + "low" : { + "type" : "Literal", + "localId" : "406", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "high" : { + "type" : "Literal", + "localId" : "407", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "10", + "annotation" : [ ] + } + } ] + } + }, { + "localId" : "422", + "name" : "IntDuringUnion", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "422", + "s" : [ { + "value" : [ "", "define ", "IntDuringUnion", ": " ] + }, { + "r" : "433", + "s" : [ { + "r" : "425", + "s" : [ { + "r" : "423", + "value" : [ "Interval[", "3", ",", "5", "]" ] + } ] + }, { + "value" : [ " union " ] + }, { + "r" : "430", + "s" : [ { + "r" : "428", + "value" : [ "Interval[", "0", ",", "10", "]" ] + } ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "440", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "441", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "expression" : { + "type" : "Union", + "localId" : "433", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "438", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "439", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "434", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "435", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "436", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "437", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "Interval", + "localId" : "425", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], "resultTypeSpecifier" : { - "localId" : "491", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "492", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "493", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } + "type" : "IntervalTypeSpecifier", + "localId" : "426", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "427", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } }, - "expression" : { - "localId" : "483", - "type" : "Collapse", - "resultTypeSpecifier" : { - "localId" : "488", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "489", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "490", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } - }, - "signature" : [ { - "localId" : "484", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "485", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "486", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } - }, { - "localId" : "487", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "472", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "479", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "480", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "481", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } - }, - "element" : [ { - "localId" : "473", - "name" : "Int1_10Interval", - "type" : "ExpressionRef", - "resultTypeSpecifier" : { - "localId" : "474", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "475", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } - }, { - "localId" : "476", - "name" : "Int5_12Interval", - "type" : "ExpressionRef", - "resultTypeSpecifier" : { - "localId" : "477", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "478", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } - } ] - }, { - "localId" : "482", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "Null" - } ] - } - }, { - "localId" : "496", - "name" : "IntCollapseOverlapContained", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "496", - "s" : [ { - "value" : [ "","define ","IntCollapseOverlapContained",": " ] - }, { - "r" : "508", - "s" : [ { - "value" : [ "collapse " ] - }, { - "r" : "497", - "s" : [ { - "value" : [ "{ " ] - }, { - "r" : "498", - "s" : [ { - "value" : [ "Int1_15Interval" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "501", - "s" : [ { - "value" : [ "Int5_12Interval" ] - } ] - }, { - "value" : [ " }" ] - } ] - } ] - } ] - } - } ], + "low" : { + "type" : "Literal", + "localId" : "423", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "high" : { + "type" : "Literal", + "localId" : "424", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "5", + "annotation" : [ ] + } + }, { + "type" : "Interval", + "localId" : "430", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], "resultTypeSpecifier" : { - "localId" : "516", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "517", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "518", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } + "type" : "IntervalTypeSpecifier", + "localId" : "431", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "432", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "low" : { + "type" : "Literal", + "localId" : "428", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "high" : { + "type" : "Literal", + "localId" : "429", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "10", + "annotation" : [ ] + } + } ] + } + }, { + "localId" : "444", + "name" : "IntEndsUnion", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "444", + "s" : [ { + "value" : [ "", "define ", "IntEndsUnion", ": " ] + }, { + "r" : "455", + "s" : [ { + "r" : "447", + "s" : [ { + "r" : "445", + "value" : [ "Interval[", "5", ",", "10", "]" ] + } ] + }, { + "value" : [ " union " ] + }, { + "r" : "452", + "s" : [ { + "r" : "450", + "value" : [ "Interval[", "0", ",", "10", "]" ] + } ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "462", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "463", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "expression" : { + "type" : "Union", + "localId" : "455", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "460", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "461", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "456", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "457", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "458", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "459", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "Interval", + "localId" : "447", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "448", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "449", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "low" : { + "type" : "Literal", + "localId" : "445", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "5", + "annotation" : [ ] + }, + "high" : { + "type" : "Literal", + "localId" : "446", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "10", + "annotation" : [ ] + } + }, { + "type" : "Interval", + "localId" : "452", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "453", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "454", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "low" : { + "type" : "Literal", + "localId" : "450", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "high" : { + "type" : "Literal", + "localId" : "451", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "10", + "annotation" : [ ] + } + } ] + } + }, { + "localId" : "466", + "name" : "NullUnion", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "466", + "s" : [ { + "value" : [ "", "define ", "NullUnion", ": " ] + }, { + "r" : "473", + "s" : [ { + "r" : "467", + "value" : [ "null", " union " ] + }, { + "r" : "470", + "s" : [ { + "r" : "468", + "value" : [ "Interval[", "0", ",", "10", "]" ] + } ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "483", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "484", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "expression" : { + "type" : "Union", + "localId" : "473", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "481", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "482", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "477", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "478", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "479", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "480", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "As", + "localId" : "474", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Null", + "localId" : "467", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] }, - "expression" : { - "localId" : "508", - "type" : "Collapse", - "resultTypeSpecifier" : { - "localId" : "513", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "514", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "515", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } - }, - "signature" : [ { - "localId" : "509", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "510", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "511", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } - }, { - "localId" : "512", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "497", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "504", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "505", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "506", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } - }, - "element" : [ { - "localId" : "498", - "name" : "Int1_15Interval", - "type" : "ExpressionRef", - "resultTypeSpecifier" : { - "localId" : "499", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "500", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } - }, { - "localId" : "501", - "name" : "Int5_12Interval", - "type" : "ExpressionRef", - "resultTypeSpecifier" : { - "localId" : "502", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "503", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } - } ] - }, { - "localId" : "507", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "Null" - } ] - } - }, { - "localId" : "521", - "name" : "IntCollapseOverlapContainedEdge", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "521", - "s" : [ { - "value" : [ "","define ","IntCollapseOverlapContainedEdge",": " ] - }, { - "r" : "533", - "s" : [ { - "value" : [ "collapse " ] - }, { - "r" : "522", - "s" : [ { - "value" : [ "{ " ] - }, { - "r" : "523", - "s" : [ { - "value" : [ "Int1_10Interval" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "526", - "s" : [ { - "value" : [ "Int5_10Interval" ] - } ] - }, { - "value" : [ " }" ] - } ] - } ] - } ] - } - } ], + "asTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "475", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "476", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } + }, { + "type" : "Interval", + "localId" : "470", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], "resultTypeSpecifier" : { - "localId" : "541", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "542", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "543", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } + "type" : "IntervalTypeSpecifier", + "localId" : "471", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "472", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } }, - "expression" : { - "localId" : "533", - "type" : "Collapse", - "resultTypeSpecifier" : { - "localId" : "538", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "539", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "540", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } - }, - "signature" : [ { - "localId" : "534", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "535", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "536", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } - }, { - "localId" : "537", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "522", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "529", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "530", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "531", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } - }, - "element" : [ { - "localId" : "523", - "name" : "Int1_10Interval", - "type" : "ExpressionRef", - "resultTypeSpecifier" : { - "localId" : "524", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "525", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } - }, { - "localId" : "526", - "name" : "Int5_10Interval", - "type" : "ExpressionRef", - "resultTypeSpecifier" : { - "localId" : "527", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "528", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } - } ] - }, { - "localId" : "532", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "Null" - } ] - } - }, { - "localId" : "546", - "name" : "IntCollapseOverlapContainedEdge2", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "546", - "s" : [ { - "value" : [ "","define ","IntCollapseOverlapContainedEdge2",": " ] - }, { - "r" : "558", - "s" : [ { - "value" : [ "collapse " ] - }, { - "r" : "547", - "s" : [ { - "value" : [ "{ " ] - }, { - "r" : "548", - "s" : [ { - "value" : [ "Int1_15Interval" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "551", - "s" : [ { - "value" : [ "Int1_10Interval" ] - } ] - }, { - "value" : [ " }" ] - } ] - } ] - } ] - } - } ], + "low" : { + "type" : "Literal", + "localId" : "468", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "high" : { + "type" : "Literal", + "localId" : "469", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "10", + "annotation" : [ ] + } + } ] + } + }, { + "localId" : "487", + "name" : "UnionNull", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "487", + "s" : [ { + "value" : [ "", "define ", "UnionNull", ": " ] + }, { + "r" : "494", + "s" : [ { + "r" : "490", + "s" : [ { + "r" : "488", + "value" : [ "Interval[", "5", ",", "10", "]" ] + } ] + }, { + "r" : "493", + "value" : [ " union ", "null" ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "504", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "505", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "expression" : { + "type" : "Union", + "localId" : "494", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "502", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "503", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "498", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "499", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "500", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "501", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "Interval", + "localId" : "490", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], "resultTypeSpecifier" : { - "localId" : "566", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "567", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "568", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } + "type" : "IntervalTypeSpecifier", + "localId" : "491", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "492", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } }, - "expression" : { - "localId" : "558", - "type" : "Collapse", - "resultTypeSpecifier" : { - "localId" : "563", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "564", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "565", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } - }, - "signature" : [ { - "localId" : "559", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "560", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "561", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } - }, { - "localId" : "562", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "547", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "554", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "555", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "556", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } - }, - "element" : [ { - "localId" : "548", - "name" : "Int1_15Interval", - "type" : "ExpressionRef", - "resultTypeSpecifier" : { - "localId" : "549", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "550", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } - }, { - "localId" : "551", - "name" : "Int1_10Interval", - "type" : "ExpressionRef", - "resultTypeSpecifier" : { - "localId" : "552", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "553", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } - } ] - }, { - "localId" : "557", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "Null" - } ] - } - }, { - "localId" : "571", - "name" : "IntCollapseOverlapMultipleCombine", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "571", + "low" : { + "type" : "Literal", + "localId" : "488", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "5", + "annotation" : [ ] + }, + "high" : { + "type" : "Literal", + "localId" : "489", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "10", + "annotation" : [ ] + } + }, { + "type" : "As", + "localId" : "495", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Null", + "localId" : "493", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + }, + "asTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "496", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "497", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } + } ] + } + }, { + "localId" : "508", + "name" : "NullUnionNull", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "508", + "s" : [ { + "value" : [ "", "define ", "NullUnionNull", ": " ] + }, { + "r" : "529", + "s" : [ { + "r" : "509", + "s" : [ { + "value" : [ "(" ] + }, { + "r" : "509", "s" : [ { - "value" : [ "","define ","IntCollapseOverlapMultipleCombine",": " ] - }, { - "r" : "586", - "s" : [ { - "value" : [ "collapse " ] - }, { - "r" : "572", - "s" : [ { - "value" : [ "{ " ] - }, { - "r" : "573", - "s" : [ { - "value" : [ "Int1_6Interval" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "576", - "s" : [ { - "value" : [ "Int5_12Interval" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "579", - "s" : [ { - "value" : [ "Int10_15Interval" ] - } ] - }, { - "value" : [ " }" ] - } ] - } ] - } ] - } - } ], + "r" : "510", + "value" : [ "null", " as " ] + }, { + "r" : "511", + "s" : [ { + "value" : [ "Interval<" ] + }, { + "r" : "512", + "s" : [ { + "value" : [ "Integer" ] + } ] + }, { + "value" : [ ">" ] + } ] + } ] + }, { + "value" : [ ")" ] + } ] + }, { + "value" : [ " union " ] + }, { + "r" : "519", + "s" : [ { + "value" : [ "(" ] + }, { + "r" : "519", + "s" : [ { + "r" : "520", + "value" : [ "null", " as " ] + }, { + "r" : "521", + "s" : [ { + "value" : [ "Interval<" ] + }, { + "r" : "522", + "s" : [ { + "value" : [ "Integer" ] + } ] + }, { + "value" : [ ">" ] + } ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "536", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "537", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "expression" : { + "type" : "Union", + "localId" : "529", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "534", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "535", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "530", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "531", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "532", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "533", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "As", + "localId" : "509", + "strict" : false, + "annotation" : [ ], "resultTypeSpecifier" : { - "localId" : "594", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "595", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "596", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } + "type" : "IntervalTypeSpecifier", + "localId" : "517", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "518", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } }, - "expression" : { - "localId" : "586", - "type" : "Collapse", - "resultTypeSpecifier" : { - "localId" : "591", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "592", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "593", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } - }, - "signature" : [ { - "localId" : "587", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "588", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "589", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } - }, { - "localId" : "590", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "572", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "582", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "583", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "584", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } - }, - "element" : [ { - "localId" : "573", - "name" : "Int1_6Interval", - "type" : "ExpressionRef", - "resultTypeSpecifier" : { - "localId" : "574", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "575", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } - }, { - "localId" : "576", - "name" : "Int5_12Interval", - "type" : "ExpressionRef", - "resultTypeSpecifier" : { - "localId" : "577", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "578", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } - }, { - "localId" : "579", - "name" : "Int10_15Interval", - "type" : "ExpressionRef", - "resultTypeSpecifier" : { - "localId" : "580", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "581", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } - } ] - }, { - "localId" : "585", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "Null" - } ] - } - } ] - } - } + "signature" : [ ], + "operand" : { + "type" : "Null", + "localId" : "510", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + }, + "asTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "511", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "513", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "514", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "512", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } + }, { + "type" : "As", + "localId" : "519", + "strict" : false, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "527", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "528", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "signature" : [ ], + "operand" : { + "type" : "Null", + "localId" : "520", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + }, + "asTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "521", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "523", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "524", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "522", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } + } ] + } + } ] + } + } } -/* DateTimeIntervalCollapse +/* DateTimeIntervalUnion library TestSnippet version '1' using Simple version '1.0.0' context Patient -define DateTimeEmptyIntervalList: List>{} -define DateTime1_6Interval: Interval[DateTime(2012, 1, 1, 0, 0, 0, 0), DateTime(2012, 1, 6, 0, 0, 0, 0)] -define DateTime1_10Interval: Interval[DateTime(2012, 1, 1, 0, 0, 0, 0), DateTime(2012, 1, 10, 0, 0, 0, 0)] -define DateTime5_10Interval: Interval[DateTime(2012, 1, 5, 0, 0, 0, 0), DateTime(2012, 1, 10, 0, 0, 0, 0)] -define DateTime5_12Interval: Interval[DateTime(2012, 1, 5, 0, 0, 0, 0), DateTime(2012, 1, 12, 0, 0, 0, 0)] -define DateTime10_15Interval: Interval[DateTime(2012, 1, 10, 0, 0, 0, 0), DateTime(2012, 1, 15, 0, 0, 0, 0)] -define DateTime15_20Interval: Interval[DateTime(2012, 1, 15, 0, 0, 0, 0), DateTime(2012, 1, 20, 0, 0, 0, 0)] -define DateTime1_12Interval: Interval[DateTime(2012, 1, 1, 0, 0, 0, 0), DateTime(2012, 1, 12, 0, 0, 0, 0)] -define DateTime1_15Interval: Interval[DateTime(2012, 1, 1, 0, 0, 0, 0), DateTime(2012, 1, 15, 0, 0, 0, 0)] -define DateTime1_3ImpreciseInterval: Interval[DateTime(2012, 1, 1, 0, 0, 0, 0), DateTime(2012, 1, 3)] -define DateTime1_10IntervalList: { DateTime1_10Interval } -define DateTime1_12IntervalList: { DateTime1_12Interval } -define DateTime1_15IntervalList: { DateTime1_15Interval } -define DateTimeTwoItemDisjointList: { DateTime1_10Interval, DateTime15_20Interval } -define DateTimeCollapseEmpty: collapse DateTimeEmptyIntervalList -define DateTimeCollapseSingleInterval: collapse DateTime1_10IntervalList -define DateTimeCollapseDisjoint: collapse DateTimeTwoItemDisjointList -define DateTimeCollapseDisjointReversed: collapse { DateTime15_20Interval, DateTime1_10Interval } -define DateTimeCollapseAdjacent: collapse { DateTime1_10Interval, DateTime10_15Interval } -define DateTimeCollapseOverlap: collapse { DateTime1_10Interval, DateTime5_12Interval } -define DateTimeCollapseOverlapContained: collapse { DateTime1_15Interval, DateTime5_12Interval } -define DateTimeCollapseOverlapContainedEdge: collapse { DateTime1_10Interval, DateTime5_10Interval } -define DateTimeCollapseOverlapContainedEdge2: collapse { DateTime1_15Interval, DateTime1_10Interval } -define DateTimeCollapseOverlapMultipleCombine: collapse { DateTime1_6Interval, DateTime5_12Interval, DateTime10_15Interval } -define DateTimeCollapseImpreciseBoundary: collapse { DateTime1_3ImpreciseInterval, DateTime1_10Interval } -*/ - -module.exports['DateTimeIntervalCollapse'] = { - "library" : { - "localId" : "0", - "annotation" : [ { - "translatorVersion" : "3.27.0", - "translatorOptions" : "EnableDateRangeOptimization,EnableAnnotations,EnableResultTypes", - "signatureLevel" : "All", - "type" : "CqlToElmInfo" - }, { - "type" : "Annotation", - "s" : { - "r" : "1011", - "s" : [ { - "value" : [ "","library TestSnippet version '1'" ] - } ] - } - } ], - "identifier" : { - "id" : "TestSnippet", - "version" : "1" - }, - "schemaIdentifier" : { - "id" : "urn:hl7-org:elm", - "version" : "r1" - }, - "usings" : { - "def" : [ { - "localId" : "1", - "localIdentifier" : "System", - "uri" : "urn:hl7-org:elm-types:r1" - }, { - "localId" : "206", - "localIdentifier" : "Simple", - "uri" : "https://github.com/cqframework/cql-execution/simple", - "version" : "1.0.0", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "206", - "s" : [ { - "value" : [ "","using " ] - }, { - "s" : [ { - "value" : [ "Simple" ] - } ] - }, { - "value" : [ " version '1.0.0'" ] - } ] - } - } ] - } ] - }, - "contexts" : { - "def" : [ { - "localId" : "211", - "name" : "Patient" - } ] - }, - "statements" : { - "def" : [ { - "localId" : "209", - "name" : "Patient", - "context" : "Patient", - "expression" : { - "localId" : "210", - "type" : "SingletonFrom", - "signature" : [ ], - "operand" : { - "localId" : "208", - "dataType" : "{https://github.com/cqframework/cql-execution/simple}Patient", - "type" : "Retrieve", - "include" : [ ], - "codeFilter" : [ ], - "dateFilter" : [ ], - "otherFilter" : [ ] - } - } - }, { - "localId" : "214", - "name" : "DateTimeEmptyIntervalList", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "214", - "s" : [ { - "value" : [ "","define ","DateTimeEmptyIntervalList",": " ] - }, { - "r" : "219", - "s" : [ { - "value" : [ "List<" ] - }, { - "r" : "215", - "s" : [ { - "value" : [ "Interval<" ] - }, { - "r" : "216", - "s" : [ { - "value" : [ "DateTime" ] - } ] - }, { - "value" : [ ">" ] - } ] - }, { - "value" : [ ">{}" ] - } ] - } ] - } - } ], - "resultTypeSpecifier" : { - "localId" : "224", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "225", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "226", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - }, - "expression" : { - "localId" : "219", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "221", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "222", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "223", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - }, - "element" : [ ] - } - }, { - "localId" : "229", - "name" : "DateTime1_6Interval", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "229", - "s" : [ { - "value" : [ "","define ","DateTime1_6Interval",": " ] - }, { - "r" : "278", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "246", - "s" : [ { - "r" : "230", - "value" : [ "DateTime","(","2012",", ","1",", ","1",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "270", - "s" : [ { - "r" : "254", - "value" : [ "DateTime","(","2012",", ","1",", ","6",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ "]" ] - } ] - } ] - } - } ], - "resultTypeSpecifier" : { - "localId" : "281", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "282", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "expression" : { - "localId" : "278", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "279", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "280", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "246", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "247", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "248", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "249", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "250", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "251", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "252", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "253", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "230", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "231", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "232", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "233", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "234", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "235", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "236", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - }, - "high" : { - "localId" : "270", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "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" - }, { - "localId" : "273", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "274", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "275", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "276", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "277", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "254", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "255", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "256", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "6", - "type" : "Literal" - }, - "hour" : { - "localId" : "257", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "258", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "259", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "260", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - } - } - }, { - "localId" : "285", - "name" : "DateTime1_10Interval", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "285", - "s" : [ { - "value" : [ "","define ","DateTime1_10Interval",": " ] - }, { - "r" : "334", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "302", - "s" : [ { - "r" : "286", - "value" : [ "DateTime","(","2012",", ","1",", ","1",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "326", - "s" : [ { - "r" : "310", - "value" : [ "DateTime","(","2012",", ","1",", ","10",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ "]" ] - } ] - } ] - } - } ], - "resultTypeSpecifier" : { - "localId" : "337", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "338", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "expression" : { - "localId" : "334", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "335", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "336", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "302", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "303", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "304", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "305", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "306", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "307", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "308", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "309", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "286", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "287", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "288", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "289", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "290", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "291", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "292", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - }, - "high" : { - "localId" : "326", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "327", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "328", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "329", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "330", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "331", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "332", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "333", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "310", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "311", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "312", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal" - }, - "hour" : { - "localId" : "313", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "314", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "315", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "316", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - } - } - }, { - "localId" : "341", - "name" : "DateTime5_10Interval", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "341", +define DateTimeFullInterval: Interval[DateTime(2012, 1, 1, 0, 0, 0, 0), DateTime(2013, 1, 1, 0, 0, 0, 0)] +define DateTimeClosedUnionClosed: Interval[DateTime(2012, 1, 1, 0, 0, 0, 0), DateTime(2012, 6, 1, 0, 0, 0, 0)] union Interval[DateTime(2012, 6, 1, 0, 0, 0, 0), DateTime(2013, 1, 1, 0, 0, 0, 0)] +define DateTimeClosedUnionOpen: Interval[DateTime(2012, 1, 1, 0, 0, 0, 0), DateTime(2012, 6, 1, 0, 0, 0, 0)] union Interval[DateTime(2012, 6, 1, 0, 0, 0, 0), DateTime(2013, 1, 1, 0, 0, 0, 0)) +define DateTimeOpenUnionOpen: Interval(DateTime(2012, 1, 1, 0, 0, 0, 0), DateTime(2012, 6, 1, 0, 0, 0, 0)] union Interval[DateTime(2012, 6, 1, 0, 0, 0, 0), DateTime(2013, 1, 1, 0, 0, 0, 0)) +define DateTimeOpenUnionClosed: Interval(DateTime(2012, 1, 1, 0, 0, 0, 0), DateTime(2012, 6, 1, 0, 0, 0, 0)] union Interval[DateTime(2012, 6, 1, 0, 0, 0, 0), DateTime(2013, 1, 1, 0, 0, 0, 0)] +define DateTimeSameAsUnion: Interval[DateTime(2012, 1, 1, 0, 0, 0, 0), DateTime(2013, 1, 1, 0, 0, 0, 0)] union Interval[DateTime(2012, 1, 1, 0, 0, 0, 0), DateTime(2013, 1, 1, 0, 0, 0, 0)] +define DateTimeBeforeUnion: Interval[DateTime(2012, 1, 1, 0, 0, 0, 0), DateTime(2012, 4, 1, 0, 0, 0, 0)] union Interval[DateTime(2012, 7, 1, 0, 0, 0, 0), DateTime(2013, 1, 1, 0, 0, 0, 0)] +define DateTimeMeetsUnion: Interval[DateTime(2012, 1, 1, 0, 0, 0, 0), DateTime(2012, 6, 1, 0, 0, 0, 0)] union Interval[DateTime(2012, 6, 1, 0, 0, 0, 0), DateTime(2013, 1, 1, 0, 0, 0, 0)] +define DateTimeOverlapsUnion: Interval[DateTime(2012, 1, 1, 0, 0, 0, 0), DateTime(2012, 7, 1, 0, 0, 0, 0)] union Interval[DateTime(2012, 3, 1, 0, 0, 0, 0), DateTime(2013, 1, 1, 0, 0, 0, 0)] +define DateTimeBeginsUnion: Interval[DateTime(2012, 1, 1, 0, 0, 0, 0), DateTime(2012, 6, 1, 0, 0, 0, 0)] union Interval[DateTime(2012, 1, 1, 0, 0, 0, 0), DateTime(2013, 1, 1, 0, 0, 0, 0)] +define DateTimeDuringUnion: Interval[DateTime(2012, 3, 1, 0, 0, 0, 0), DateTime(2012, 5, 1, 0, 0, 0, 0)] union Interval[DateTime(2012, 1, 1, 0, 0, 0, 0), DateTime(2013, 1, 1, 0, 0, 0, 0)] +define DateTimeEndsUnion: Interval[DateTime(2012, 6, 1, 0, 0, 0, 0), DateTime(2013, 1, 1, 0, 0, 0, 0)] union Interval[DateTime(2012, 1, 1, 0, 0, 0, 0), DateTime(2013, 1, 1, 0, 0, 0, 0)] +*/ + +module.exports['DateTimeIntervalUnion'] = { + "library" : { + "localId" : "0", + "annotation" : [ { + "type" : "CqlToElmInfo", + "translatorVersion" : "4.2.0", + "translatorOptions" : "EnableDateRangeOptimization,EnableAnnotations,EnableResultTypes", + "signatureLevel" : "All" + }, { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "1410", + "s" : [ { + "value" : [ "", "library TestSnippet version '1'" ] + } ] + } + } ], + "identifier" : { + "id" : "TestSnippet", + "version" : "1" + }, + "schemaIdentifier" : { + "id" : "urn:hl7-org:elm", + "version" : "r1" + }, + "usings" : { + "def" : [ { + "localId" : "1", + "localIdentifier" : "System", + "uri" : "urn:hl7-org:elm-types:r1", + "annotation" : [ ] + }, { + "localId" : "206", + "localIdentifier" : "Simple", + "uri" : "https://github.com/cqframework/cql-execution/simple", + "version" : "1.0.0", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "206", + "s" : [ { + "value" : [ "", "using " ] + }, { + "s" : [ { + "value" : [ "Simple" ] + } ] + }, { + "value" : [ " version '1.0.0'" ] + } ] + } + } ] + } ] + }, + "contexts" : { + "def" : [ { + "localId" : "211", + "name" : "Patient", + "annotation" : [ ] + } ] + }, + "statements" : { + "def" : [ { + "localId" : "209", + "name" : "Patient", + "context" : "Patient", + "annotation" : [ ], + "expression" : { + "type" : "SingletonFrom", + "localId" : "210", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Retrieve", + "localId" : "208", + "dataType" : "{https://github.com/cqframework/cql-execution/simple}Patient", + "annotation" : [ ], + "include" : [ ], + "codeFilter" : [ ], + "dateFilter" : [ ], + "otherFilter" : [ ] + } + } + }, { + "localId" : "214", + "name" : "DateTimeFullInterval", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "214", + "s" : [ { + "value" : [ "", "define ", "DateTimeFullInterval", ": " ] + }, { + "r" : "263", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "231", + "s" : [ { + "r" : "215", + "value" : [ "DateTime", "(", "2012", ", ", "1", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "255", + "s" : [ { + "r" : "239", + "value" : [ "DateTime", "(", "2013", ", ", "1", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ "]" ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "266", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "267", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "expression" : { + "type" : "Interval", + "localId" : "263", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "264", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "265", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "DateTime", + "localId" : "231", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "232", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "233", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "234", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "235", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "236", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "237", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "238", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "215", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "216", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "217", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "218", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "219", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "220", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "221", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "255", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "256", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "257", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "258", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "259", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "260", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "261", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "262", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "239", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2013", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "240", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "241", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "242", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "243", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "244", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "245", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + } + } + }, { + "localId" : "270", + "name" : "DateTimeClosedUnionClosed", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "270", + "s" : [ { + "value" : [ "", "define ", "DateTimeClosedUnionClosed", ": " ] + }, { + "r" : "373", + "s" : [ { + "r" : "319", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "287", + "s" : [ { + "r" : "271", + "value" : [ "DateTime", "(", "2012", ", ", "1", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "311", "s" : [ { - "value" : [ "","define ","DateTime5_10Interval",": " ] - }, { - "r" : "390", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "358", - "s" : [ { - "r" : "342", - "value" : [ "DateTime","(","2012",", ","1",", ","5",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "382", - "s" : [ { - "r" : "366", - "value" : [ "DateTime","(","2012",", ","1",", ","10",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ "]" ] - } ] - } ] - } - } ], - "resultTypeSpecifier" : { - "localId" : "393", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "394", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "expression" : { - "localId" : "390", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "391", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "392", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "358", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "359", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "360", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "361", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "362", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "363", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "364", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "365", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "342", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "343", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "344", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal" - }, - "hour" : { - "localId" : "345", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "346", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "347", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "348", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - }, - "high" : { - "localId" : "382", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "383", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "384", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "385", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "386", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "387", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "388", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "389", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "366", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "367", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "368", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal" - }, - "hour" : { - "localId" : "369", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "370", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "371", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "372", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - } - } - }, { - "localId" : "397", - "name" : "DateTime5_12Interval", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "397", + "r" : "295", + "value" : [ "DateTime", "(", "2012", ", ", "6", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ "]" ] + } ] + }, { + "value" : [ " union " ] + }, { + "r" : "370", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "338", + "s" : [ { + "r" : "322", + "value" : [ "DateTime", "(", "2012", ", ", "6", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "362", "s" : [ { - "value" : [ "","define ","DateTime5_12Interval",": " ] - }, { - "r" : "446", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "414", - "s" : [ { - "r" : "398", - "value" : [ "DateTime","(","2012",", ","1",", ","5",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "438", - "s" : [ { - "r" : "422", - "value" : [ "DateTime","(","2012",", ","1",", ","12",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ "]" ] - } ] - } ] - } - } ], + "r" : "346", + "value" : [ "DateTime", "(", "2013", ", ", "1", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ "]" ] + } ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "380", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "381", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "expression" : { + "type" : "Union", + "localId" : "373", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "378", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "379", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "374", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "375", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "376", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "377", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "Interval", + "localId" : "319", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], "resultTypeSpecifier" : { - "localId" : "449", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "450", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "expression" : { - "localId" : "446", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "447", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "448", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "414", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "415", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "416", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "417", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "418", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "419", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "420", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "421", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "398", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "399", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "400", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal" - }, - "hour" : { - "localId" : "401", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "402", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "403", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "404", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - }, - "high" : { - "localId" : "438", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "439", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "440", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "441", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "442", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "443", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "444", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "445", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "422", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "423", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "424", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "12", - "type" : "Literal" - }, - "hour" : { - "localId" : "425", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "426", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "427", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "428", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - } - } - }, { - "localId" : "453", - "name" : "DateTime10_15Interval", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "453", - "s" : [ { - "value" : [ "","define ","DateTime10_15Interval",": " ] - }, { - "r" : "502", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "470", - "s" : [ { - "r" : "454", - "value" : [ "DateTime","(","2012",", ","1",", ","10",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "494", - "s" : [ { - "r" : "478", - "value" : [ "DateTime","(","2012",", ","1",", ","15",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ "]" ] - } ] - } ] - } - } ], + "type" : "IntervalTypeSpecifier", + "localId" : "320", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "321", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "DateTime", + "localId" : "287", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "288", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "289", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "290", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "291", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "292", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "293", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "294", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "271", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "272", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "273", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "274", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "275", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "276", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "277", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "311", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "312", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "313", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "314", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "315", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "316", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "317", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "318", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "295", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "296", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "6", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "297", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "298", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "299", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "300", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "301", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + } + }, { + "type" : "Interval", + "localId" : "370", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], "resultTypeSpecifier" : { - "localId" : "505", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "506", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "expression" : { - "localId" : "502", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "503", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "504", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "470", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "471", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "472", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "473", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "474", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "475", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "476", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "477", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "454", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "455", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "456", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal" - }, - "hour" : { - "localId" : "457", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "458", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "459", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "460", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - }, - "high" : { - "localId" : "494", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "495", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "496", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "497", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "498", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "499", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "500", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "501", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "478", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "479", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "480", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal" - }, - "hour" : { - "localId" : "481", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "482", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "483", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "484", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - } - } - }, { - "localId" : "509", - "name" : "DateTime15_20Interval", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "509", + "type" : "IntervalTypeSpecifier", + "localId" : "371", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "372", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "DateTime", + "localId" : "338", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "339", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "340", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "341", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "342", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "343", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "344", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "345", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "322", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "323", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "6", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "324", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "325", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "326", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "327", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "328", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "362", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "363", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "364", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "365", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "366", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "367", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "368", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "369", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "346", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2013", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "347", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "348", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "349", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "350", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "351", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "352", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + } + } ] + } + }, { + "localId" : "384", + "name" : "DateTimeClosedUnionOpen", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "384", + "s" : [ { + "value" : [ "", "define ", "DateTimeClosedUnionOpen", ": " ] + }, { + "r" : "487", + "s" : [ { + "r" : "433", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "401", "s" : [ { - "value" : [ "","define ","DateTime15_20Interval",": " ] - }, { - "r" : "558", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "526", - "s" : [ { - "r" : "510", - "value" : [ "DateTime","(","2012",", ","1",", ","15",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "550", - "s" : [ { - "r" : "534", - "value" : [ "DateTime","(","2012",", ","1",", ","20",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ "]" ] - } ] - } ] - } - } ], + "r" : "385", + "value" : [ "DateTime", "(", "2012", ", ", "1", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "425", + "s" : [ { + "r" : "409", + "value" : [ "DateTime", "(", "2012", ", ", "6", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ "]" ] + } ] + }, { + "value" : [ " union " ] + }, { + "r" : "484", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "452", + "s" : [ { + "r" : "436", + "value" : [ "DateTime", "(", "2012", ", ", "6", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "476", + "s" : [ { + "r" : "460", + "value" : [ "DateTime", "(", "2013", ", ", "1", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "494", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "495", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "expression" : { + "type" : "Union", + "localId" : "487", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "492", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "493", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "488", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "489", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "490", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "491", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "Interval", + "localId" : "433", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], "resultTypeSpecifier" : { - "localId" : "561", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "562", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "expression" : { - "localId" : "558", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "559", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "560", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "526", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "527", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "528", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "529", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "530", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "531", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "532", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "533", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "510", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "511", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "512", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal" - }, - "hour" : { - "localId" : "513", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "514", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "515", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "516", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - }, - "high" : { - "localId" : "550", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "551", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "552", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "553", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "554", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "555", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "556", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "557", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "534", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "535", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "536", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "20", - "type" : "Literal" - }, - "hour" : { - "localId" : "537", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "538", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "539", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "540", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - } - } - }, { - "localId" : "565", - "name" : "DateTime1_12Interval", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "565", + "type" : "IntervalTypeSpecifier", + "localId" : "434", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "435", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "DateTime", + "localId" : "401", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "402", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "403", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "404", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "405", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "406", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "407", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "408", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "385", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "386", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "387", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "388", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "389", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "390", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "391", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "425", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "426", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "427", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "428", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "429", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "430", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "431", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "432", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "409", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "410", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "6", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "411", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "412", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "413", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "414", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "415", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + } + }, { + "type" : "Interval", + "localId" : "484", + "lowClosed" : true, + "highClosed" : false, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "485", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "486", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "DateTime", + "localId" : "452", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "453", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "454", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "455", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "456", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "457", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "458", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "459", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "436", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "437", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "6", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "438", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "439", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "440", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "441", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "442", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "476", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "477", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "478", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "479", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "480", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "481", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "482", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "483", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "460", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2013", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "461", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "462", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "463", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "464", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "465", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "466", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + } + } ] + } + }, { + "localId" : "498", + "name" : "DateTimeOpenUnionOpen", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "498", + "s" : [ { + "value" : [ "", "define ", "DateTimeOpenUnionOpen", ": " ] + }, { + "r" : "601", + "s" : [ { + "r" : "547", + "s" : [ { + "value" : [ "Interval(" ] + }, { + "r" : "515", + "s" : [ { + "r" : "499", + "value" : [ "DateTime", "(", "2012", ", ", "1", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "539", + "s" : [ { + "r" : "523", + "value" : [ "DateTime", "(", "2012", ", ", "6", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ "]" ] + } ] + }, { + "value" : [ " union " ] + }, { + "r" : "598", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "566", "s" : [ { - "value" : [ "","define ","DateTime1_12Interval",": " ] - }, { - "r" : "614", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "582", - "s" : [ { - "r" : "566", - "value" : [ "DateTime","(","2012",", ","1",", ","1",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "606", - "s" : [ { - "r" : "590", - "value" : [ "DateTime","(","2012",", ","1",", ","12",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ "]" ] - } ] - } ] - } - } ], + "r" : "550", + "value" : [ "DateTime", "(", "2012", ", ", "6", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "590", + "s" : [ { + "r" : "574", + "value" : [ "DateTime", "(", "2013", ", ", "1", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "608", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "609", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "expression" : { + "type" : "Union", + "localId" : "601", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "606", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "607", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "602", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "603", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "604", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "605", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "Interval", + "localId" : "547", + "lowClosed" : false, + "highClosed" : true, + "annotation" : [ ], "resultTypeSpecifier" : { - "localId" : "617", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "618", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "expression" : { - "localId" : "614", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "615", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "616", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "582", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "583", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "584", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "585", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "586", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "587", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "588", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "589", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "566", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "567", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "568", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "569", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "570", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "571", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "572", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - }, - "high" : { - "localId" : "606", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "607", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "608", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "609", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "610", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "611", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "612", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "613", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "590", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "591", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "592", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "12", - "type" : "Literal" - }, - "hour" : { - "localId" : "593", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "594", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "595", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "596", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - } - } - }, { - "localId" : "621", - "name" : "DateTime1_15Interval", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "621", + "type" : "IntervalTypeSpecifier", + "localId" : "548", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "549", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "DateTime", + "localId" : "515", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "516", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "517", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "518", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "519", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "520", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "521", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "522", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "499", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "500", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "501", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "502", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "503", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "504", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "505", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "539", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "540", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "541", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "542", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "543", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "544", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "545", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "546", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "523", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "524", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "6", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "525", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "526", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "527", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "528", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "529", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + } + }, { + "type" : "Interval", + "localId" : "598", + "lowClosed" : true, + "highClosed" : false, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "599", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "600", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "DateTime", + "localId" : "566", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "567", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "568", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "569", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "570", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "571", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "572", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "573", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "550", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "551", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "6", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "552", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "553", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "554", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "555", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "556", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "590", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "591", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "592", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "593", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "594", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "595", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "596", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "597", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "574", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2013", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "575", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "576", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "577", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "578", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "579", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "580", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + } + } ] + } + }, { + "localId" : "612", + "name" : "DateTimeOpenUnionClosed", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "612", + "s" : [ { + "value" : [ "", "define ", "DateTimeOpenUnionClosed", ": " ] + }, { + "r" : "715", + "s" : [ { + "r" : "661", + "s" : [ { + "value" : [ "Interval(" ] + }, { + "r" : "629", "s" : [ { - "value" : [ "","define ","DateTime1_15Interval",": " ] - }, { - "r" : "670", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "638", - "s" : [ { - "r" : "622", - "value" : [ "DateTime","(","2012",", ","1",", ","1",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "662", - "s" : [ { - "r" : "646", - "value" : [ "DateTime","(","2012",", ","1",", ","15",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ "]" ] - } ] - } ] - } - } ], + "r" : "613", + "value" : [ "DateTime", "(", "2012", ", ", "1", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "653", + "s" : [ { + "r" : "637", + "value" : [ "DateTime", "(", "2012", ", ", "6", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ "]" ] + } ] + }, { + "value" : [ " union " ] + }, { + "r" : "712", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "680", + "s" : [ { + "r" : "664", + "value" : [ "DateTime", "(", "2012", ", ", "6", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "704", + "s" : [ { + "r" : "688", + "value" : [ "DateTime", "(", "2013", ", ", "1", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ "]" ] + } ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "722", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "723", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "expression" : { + "type" : "Union", + "localId" : "715", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "720", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "721", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "716", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "717", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "718", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "719", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "Interval", + "localId" : "661", + "lowClosed" : false, + "highClosed" : true, + "annotation" : [ ], "resultTypeSpecifier" : { - "localId" : "673", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "674", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "expression" : { - "localId" : "670", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "671", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "672", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "638", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "639", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "640", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "641", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "642", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "643", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "644", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "645", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "622", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "623", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "624", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "625", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "626", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "627", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "628", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - }, - "high" : { - "localId" : "662", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "663", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "664", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "665", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "666", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "667", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "668", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "669", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "646", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "647", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "648", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal" - }, - "hour" : { - "localId" : "649", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "650", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "651", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "652", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - } - } - }, { - "localId" : "677", - "name" : "DateTime1_3ImpreciseInterval", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "677", + "type" : "IntervalTypeSpecifier", + "localId" : "662", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "663", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "DateTime", + "localId" : "629", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "630", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "631", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "632", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "633", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "634", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "635", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "636", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "613", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "614", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "615", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "616", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "617", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "618", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "619", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "653", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "654", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "655", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "656", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "657", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "658", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "659", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "660", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "637", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "638", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "6", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "639", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "640", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "641", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "642", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "643", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + } + }, { + "type" : "Interval", + "localId" : "712", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "713", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "714", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "DateTime", + "localId" : "680", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "681", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "682", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "683", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "684", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "685", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "686", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "687", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "664", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "665", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "6", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "666", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "667", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "668", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "669", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "670", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "704", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "705", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "706", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "707", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "708", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "709", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "710", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "711", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "688", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2013", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "689", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "690", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "691", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "692", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "693", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "694", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + } + } ] + } + }, { + "localId" : "726", + "name" : "DateTimeSameAsUnion", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "726", + "s" : [ { + "value" : [ "", "define ", "DateTimeSameAsUnion", ": " ] + }, { + "r" : "829", + "s" : [ { + "r" : "775", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "743", + "s" : [ { + "r" : "727", + "value" : [ "DateTime", "(", "2012", ", ", "1", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "767", + "s" : [ { + "r" : "751", + "value" : [ "DateTime", "(", "2013", ", ", "1", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ "]" ] + } ] + }, { + "value" : [ " union " ] + }, { + "r" : "826", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "794", "s" : [ { - "value" : [ "","define ","DateTime1_3ImpreciseInterval",": " ] - }, { - "r" : "714", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "694", - "s" : [ { - "r" : "678", - "value" : [ "DateTime","(","2012",", ","1",", ","1",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "710", - "s" : [ { - "r" : "702", - "value" : [ "DateTime","(","2012",", ","1",", ","3",")" ] - } ] - }, { - "value" : [ "]" ] - } ] - } ] - } - } ], + "r" : "778", + "value" : [ "DateTime", "(", "2012", ", ", "1", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "818", + "s" : [ { + "r" : "802", + "value" : [ "DateTime", "(", "2013", ", ", "1", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ "]" ] + } ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "836", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "837", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "expression" : { + "type" : "Union", + "localId" : "829", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "834", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "835", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "830", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "831", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "832", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "833", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "Interval", + "localId" : "775", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], "resultTypeSpecifier" : { - "localId" : "717", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "718", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "expression" : { - "localId" : "714", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "715", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "716", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "694", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "695", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "696", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "697", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "698", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "699", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "700", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "701", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "678", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "679", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "680", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "681", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "682", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "683", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "684", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - }, - "high" : { - "localId" : "710", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "711", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "712", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "713", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "702", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "703", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "704", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - } - } - } - }, { - "localId" : "721", - "name" : "DateTime1_10IntervalList", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "721", - "s" : [ { - "value" : [ "","define ","DateTime1_10IntervalList",": " ] - }, { - "r" : "722", - "s" : [ { - "value" : [ "{ " ] - }, { - "r" : "723", - "s" : [ { - "value" : [ "DateTime1_10Interval" ] - } ] - }, { - "value" : [ " }" ] - } ] - } ] - } - } ], + "type" : "IntervalTypeSpecifier", + "localId" : "776", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "777", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "DateTime", + "localId" : "743", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "744", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "745", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "746", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "747", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "748", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "749", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "750", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "727", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "728", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "729", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "730", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "731", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "732", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "733", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "767", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "768", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "769", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "770", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "771", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "772", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "773", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "774", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "751", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2013", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "752", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "753", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "754", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "755", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "756", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "757", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + } + }, { + "type" : "Interval", + "localId" : "826", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], "resultTypeSpecifier" : { - "localId" : "729", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "730", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "731", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - }, - "expression" : { - "localId" : "722", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "726", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "727", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "728", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - }, - "element" : [ { - "localId" : "723", - "name" : "DateTime1_10Interval", - "type" : "ExpressionRef", - "resultTypeSpecifier" : { - "localId" : "724", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "725", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - } ] - } - }, { - "localId" : "734", - "name" : "DateTime1_12IntervalList", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "734", + "type" : "IntervalTypeSpecifier", + "localId" : "827", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "828", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "DateTime", + "localId" : "794", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "795", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "796", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "797", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "798", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "799", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "800", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "801", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "778", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "779", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "780", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "781", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "782", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "783", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "784", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "818", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "819", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "820", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "821", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "822", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "823", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "824", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "825", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "802", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2013", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "803", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "804", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "805", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "806", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "807", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "808", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + } + } ] + } + }, { + "localId" : "840", + "name" : "DateTimeBeforeUnion", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "840", + "s" : [ { + "value" : [ "", "define ", "DateTimeBeforeUnion", ": " ] + }, { + "r" : "943", + "s" : [ { + "r" : "889", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "857", + "s" : [ { + "r" : "841", + "value" : [ "DateTime", "(", "2012", ", ", "1", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "881", + "s" : [ { + "r" : "865", + "value" : [ "DateTime", "(", "2012", ", ", "4", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ "]" ] + } ] + }, { + "value" : [ " union " ] + }, { + "r" : "940", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "908", "s" : [ { - "value" : [ "","define ","DateTime1_12IntervalList",": " ] - }, { - "r" : "735", - "s" : [ { - "value" : [ "{ " ] - }, { - "r" : "736", - "s" : [ { - "value" : [ "DateTime1_12Interval" ] - } ] - }, { - "value" : [ " }" ] - } ] - } ] - } - } ], + "r" : "892", + "value" : [ "DateTime", "(", "2012", ", ", "7", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "932", + "s" : [ { + "r" : "916", + "value" : [ "DateTime", "(", "2013", ", ", "1", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ "]" ] + } ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "950", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "951", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "expression" : { + "type" : "Union", + "localId" : "943", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "948", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "949", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "944", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "945", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "946", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "947", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "Interval", + "localId" : "889", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], "resultTypeSpecifier" : { - "localId" : "742", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "743", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "744", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - }, - "expression" : { - "localId" : "735", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "739", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "740", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "741", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - }, - "element" : [ { - "localId" : "736", - "name" : "DateTime1_12Interval", - "type" : "ExpressionRef", - "resultTypeSpecifier" : { - "localId" : "737", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "738", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - } ] - } - }, { - "localId" : "747", - "name" : "DateTime1_15IntervalList", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "747", - "s" : [ { - "value" : [ "","define ","DateTime1_15IntervalList",": " ] - }, { - "r" : "748", - "s" : [ { - "value" : [ "{ " ] - }, { - "r" : "749", - "s" : [ { - "value" : [ "DateTime1_15Interval" ] - } ] - }, { - "value" : [ " }" ] - } ] - } ] - } - } ], + "type" : "IntervalTypeSpecifier", + "localId" : "890", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "891", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "DateTime", + "localId" : "857", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "858", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "859", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "860", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "861", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "862", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "863", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "864", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "841", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "842", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "843", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "844", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "845", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "846", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "847", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "881", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "882", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "883", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "884", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "885", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "886", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "887", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "888", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "865", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "866", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "4", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "867", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "868", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "869", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "870", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "871", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + } + }, { + "type" : "Interval", + "localId" : "940", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "941", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "942", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "DateTime", + "localId" : "908", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "909", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "910", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "911", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "912", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "913", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "914", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "915", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "892", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "893", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "7", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "894", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "895", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "896", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "897", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "898", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "932", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "933", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "934", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "935", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "936", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "937", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "938", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "939", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "916", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2013", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "917", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "918", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "919", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "920", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "921", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "922", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + } + } ] + } + }, { + "localId" : "954", + "name" : "DateTimeMeetsUnion", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "954", + "s" : [ { + "value" : [ "", "define ", "DateTimeMeetsUnion", ": " ] + }, { + "r" : "1057", + "s" : [ { + "r" : "1003", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "971", + "s" : [ { + "r" : "955", + "value" : [ "DateTime", "(", "2012", ", ", "1", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "995", + "s" : [ { + "r" : "979", + "value" : [ "DateTime", "(", "2012", ", ", "6", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ "]" ] + } ] + }, { + "value" : [ " union " ] + }, { + "r" : "1054", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "1022", + "s" : [ { + "r" : "1006", + "value" : [ "DateTime", "(", "2012", ", ", "6", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "1046", + "s" : [ { + "r" : "1030", + "value" : [ "DateTime", "(", "2013", ", ", "1", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ "]" ] + } ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1064", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1065", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "expression" : { + "type" : "Union", + "localId" : "1057", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1062", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1063", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "1058", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1059", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "1060", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1061", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "Interval", + "localId" : "1003", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1004", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1005", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "DateTime", + "localId" : "971", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "972", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "973", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "974", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "975", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "976", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "977", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "978", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "955", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "956", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "957", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "958", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "959", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "960", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "961", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "995", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "996", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "997", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "998", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "999", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1000", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1001", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1002", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "979", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "980", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "6", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "981", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "982", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "983", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "984", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "985", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + } + }, { + "type" : "Interval", + "localId" : "1054", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1055", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1056", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "DateTime", + "localId" : "1022", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1023", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1024", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1025", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1026", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1027", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1028", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1029", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1006", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1007", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "6", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "1008", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "1009", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "1010", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "1011", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "1012", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "1046", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1047", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1048", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1049", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1050", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1051", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1052", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1053", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1030", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2013", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1031", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "1032", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "1033", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "1034", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "1035", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "1036", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + } + } ] + } + }, { + "localId" : "1068", + "name" : "DateTimeOverlapsUnion", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "1068", + "s" : [ { + "value" : [ "", "define ", "DateTimeOverlapsUnion", ": " ] + }, { + "r" : "1171", + "s" : [ { + "r" : "1117", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "1085", + "s" : [ { + "r" : "1069", + "value" : [ "DateTime", "(", "2012", ", ", "1", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "1109", + "s" : [ { + "r" : "1093", + "value" : [ "DateTime", "(", "2012", ", ", "7", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ "]" ] + } ] + }, { + "value" : [ " union " ] + }, { + "r" : "1168", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "1136", + "s" : [ { + "r" : "1120", + "value" : [ "DateTime", "(", "2012", ", ", "3", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "1160", + "s" : [ { + "r" : "1144", + "value" : [ "DateTime", "(", "2013", ", ", "1", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ "]" ] + } ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1178", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1179", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "expression" : { + "type" : "Union", + "localId" : "1171", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1176", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1177", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "1172", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1173", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "1174", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1175", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "Interval", + "localId" : "1117", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], "resultTypeSpecifier" : { - "localId" : "755", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "756", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "757", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } + "type" : "IntervalTypeSpecifier", + "localId" : "1118", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1119", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } }, - "expression" : { - "localId" : "748", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "752", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "753", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "754", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - }, - "element" : [ { - "localId" : "749", - "name" : "DateTime1_15Interval", - "type" : "ExpressionRef", - "resultTypeSpecifier" : { - "localId" : "750", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "751", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - } ] - } - }, { - "localId" : "760", - "name" : "DateTimeTwoItemDisjointList", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "760", - "s" : [ { - "value" : [ "","define ","DateTimeTwoItemDisjointList",": " ] - }, { - "r" : "761", - "s" : [ { - "value" : [ "{ " ] - }, { - "r" : "762", - "s" : [ { - "value" : [ "DateTime1_10Interval" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "765", - "s" : [ { - "value" : [ "DateTime15_20Interval" ] - } ] - }, { - "value" : [ " }" ] - } ] - } ] - } - } ], + "low" : { + "type" : "DateTime", + "localId" : "1085", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1086", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1087", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1088", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1089", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1090", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1091", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1092", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1069", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1070", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "1071", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "1072", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "1073", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "1074", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "1075", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "1109", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1110", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1111", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1112", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1113", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1114", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1115", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1116", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1093", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1094", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "7", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "1095", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "1096", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "1097", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "1098", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "1099", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + } + }, { + "type" : "Interval", + "localId" : "1168", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], "resultTypeSpecifier" : { - "localId" : "771", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "772", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "773", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } + "type" : "IntervalTypeSpecifier", + "localId" : "1169", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1170", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } }, - "expression" : { - "localId" : "761", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "768", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "769", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "770", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - }, - "element" : [ { - "localId" : "762", - "name" : "DateTime1_10Interval", - "type" : "ExpressionRef", - "resultTypeSpecifier" : { - "localId" : "763", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "764", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - }, { - "localId" : "765", - "name" : "DateTime15_20Interval", - "type" : "ExpressionRef", - "resultTypeSpecifier" : { - "localId" : "766", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "767", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - } ] - } - }, { - "localId" : "776", - "name" : "DateTimeCollapseEmpty", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "776", + "low" : { + "type" : "DateTime", + "localId" : "1136", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1137", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1138", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1139", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1140", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1141", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1142", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1143", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1120", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1121", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "1122", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "1123", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "1124", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "1125", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "1126", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "1160", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1161", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1162", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1163", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1164", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1165", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1166", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1167", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1144", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2013", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1145", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "1146", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "1147", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "1148", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "1149", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "1150", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + } + } ] + } + }, { + "localId" : "1182", + "name" : "DateTimeBeginsUnion", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "1182", + "s" : [ { + "value" : [ "", "define ", "DateTimeBeginsUnion", ": " ] + }, { + "r" : "1285", + "s" : [ { + "r" : "1231", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "1199", + "s" : [ { + "r" : "1183", + "value" : [ "DateTime", "(", "2012", ", ", "1", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "1223", + "s" : [ { + "r" : "1207", + "value" : [ "DateTime", "(", "2012", ", ", "6", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ "]" ] + } ] + }, { + "value" : [ " union " ] + }, { + "r" : "1282", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "1250", "s" : [ { - "value" : [ "","define ","DateTimeCollapseEmpty",": " ] - }, { - "r" : "782", - "s" : [ { - "value" : [ "collapse " ] - }, { - "r" : "777", - "s" : [ { - "value" : [ "DateTimeEmptyIntervalList" ] - } ] - } ] - } ] - } - } ], + "r" : "1234", + "value" : [ "DateTime", "(", "2012", ", ", "1", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "1274", + "s" : [ { + "r" : "1258", + "value" : [ "DateTime", "(", "2013", ", ", "1", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ "]" ] + } ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1292", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1293", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "expression" : { + "type" : "Union", + "localId" : "1285", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1290", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1291", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "1286", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1287", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "1288", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1289", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "Interval", + "localId" : "1231", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], "resultTypeSpecifier" : { - "localId" : "790", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "791", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "792", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } + "type" : "IntervalTypeSpecifier", + "localId" : "1232", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1233", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } }, - "expression" : { - "localId" : "782", - "type" : "Collapse", - "resultTypeSpecifier" : { - "localId" : "787", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "788", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "789", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - }, - "signature" : [ { - "localId" : "783", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "784", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "785", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - }, { - "localId" : "786", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "777", - "name" : "DateTimeEmptyIntervalList", - "type" : "ExpressionRef", - "resultTypeSpecifier" : { - "localId" : "778", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "779", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "780", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - } - }, { - "localId" : "781", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "Null" - } ] - } - }, { - "localId" : "795", - "name" : "DateTimeCollapseSingleInterval", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "795", - "s" : [ { - "value" : [ "","define ","DateTimeCollapseSingleInterval",": " ] - }, { - "r" : "801", - "s" : [ { - "value" : [ "collapse " ] - }, { - "r" : "796", - "s" : [ { - "value" : [ "DateTime1_10IntervalList" ] - } ] - } ] - } ] - } - } ], + "low" : { + "type" : "DateTime", + "localId" : "1199", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1200", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1201", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1202", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1203", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1204", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1205", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1206", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1183", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1184", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "1185", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "1186", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "1187", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "1188", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "1189", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "1223", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1224", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1225", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1226", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1227", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1228", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1229", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1230", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1207", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1208", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "6", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "1209", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "1210", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "1211", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "1212", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "1213", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + } + }, { + "type" : "Interval", + "localId" : "1282", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], "resultTypeSpecifier" : { - "localId" : "809", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "810", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "811", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } + "type" : "IntervalTypeSpecifier", + "localId" : "1283", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1284", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } }, - "expression" : { - "localId" : "801", - "type" : "Collapse", - "resultTypeSpecifier" : { - "localId" : "806", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "807", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "808", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - }, - "signature" : [ { - "localId" : "802", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "803", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "804", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - }, { - "localId" : "805", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "796", - "name" : "DateTime1_10IntervalList", - "type" : "ExpressionRef", - "resultTypeSpecifier" : { - "localId" : "797", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "798", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "799", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - } - }, { - "localId" : "800", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "Null" - } ] - } - }, { - "localId" : "814", - "name" : "DateTimeCollapseDisjoint", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "814", + "low" : { + "type" : "DateTime", + "localId" : "1250", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1251", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1252", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1253", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1254", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1255", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1256", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1257", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1234", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1235", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "1236", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "1237", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "1238", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "1239", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "1240", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "1274", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1275", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1276", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1277", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1278", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1279", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1280", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1281", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1258", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2013", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1259", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "1260", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "1261", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "1262", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "1263", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "1264", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + } + } ] + } + }, { + "localId" : "1296", + "name" : "DateTimeDuringUnion", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "1296", + "s" : [ { + "value" : [ "", "define ", "DateTimeDuringUnion", ": " ] + }, { + "r" : "1399", + "s" : [ { + "r" : "1345", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "1313", + "s" : [ { + "r" : "1297", + "value" : [ "DateTime", "(", "2012", ", ", "3", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "1337", + "s" : [ { + "r" : "1321", + "value" : [ "DateTime", "(", "2012", ", ", "5", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ "]" ] + } ] + }, { + "value" : [ " union " ] + }, { + "r" : "1396", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "1364", "s" : [ { - "value" : [ "","define ","DateTimeCollapseDisjoint",": " ] - }, { - "r" : "820", - "s" : [ { - "value" : [ "collapse " ] - }, { - "r" : "815", - "s" : [ { - "value" : [ "DateTimeTwoItemDisjointList" ] - } ] - } ] - } ] - } - } ], + "r" : "1348", + "value" : [ "DateTime", "(", "2012", ", ", "1", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "1388", + "s" : [ { + "r" : "1372", + "value" : [ "DateTime", "(", "2013", ", ", "1", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ "]" ] + } ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1406", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1407", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "expression" : { + "type" : "Union", + "localId" : "1399", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1404", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1405", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "1400", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1401", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "1402", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1403", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "Interval", + "localId" : "1345", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], "resultTypeSpecifier" : { - "localId" : "828", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "829", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "830", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } + "type" : "IntervalTypeSpecifier", + "localId" : "1346", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1347", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } }, - "expression" : { - "localId" : "820", - "type" : "Collapse", - "resultTypeSpecifier" : { - "localId" : "825", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "826", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "827", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - }, - "signature" : [ { - "localId" : "821", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "822", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "823", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - }, { - "localId" : "824", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "815", - "name" : "DateTimeTwoItemDisjointList", - "type" : "ExpressionRef", - "resultTypeSpecifier" : { - "localId" : "816", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "817", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "818", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - } - }, { - "localId" : "819", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "Null" - } ] - } - }, { - "localId" : "833", - "name" : "DateTimeCollapseDisjointReversed", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "833", - "s" : [ { - "value" : [ "","define ","DateTimeCollapseDisjointReversed",": " ] - }, { - "r" : "845", - "s" : [ { - "value" : [ "collapse " ] - }, { - "r" : "834", - "s" : [ { - "value" : [ "{ " ] - }, { - "r" : "835", - "s" : [ { - "value" : [ "DateTime15_20Interval" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "838", - "s" : [ { - "value" : [ "DateTime1_10Interval" ] - } ] - }, { - "value" : [ " }" ] - } ] - } ] - } ] - } - } ], + "low" : { + "type" : "DateTime", + "localId" : "1313", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1314", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1315", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1316", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1317", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1318", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1319", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1320", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1297", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1298", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "1299", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "1300", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "1301", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "1302", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "1303", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "1337", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1338", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1339", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1340", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1341", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1342", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1343", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1344", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1321", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1322", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "5", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "1323", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "1324", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "1325", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "1326", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "1327", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + } + }, { + "type" : "Interval", + "localId" : "1396", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], "resultTypeSpecifier" : { - "localId" : "853", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "854", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "855", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - }, - "expression" : { - "localId" : "845", - "type" : "Collapse", - "resultTypeSpecifier" : { - "localId" : "850", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "851", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "852", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - }, - "signature" : [ { - "localId" : "846", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "847", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "848", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - }, { - "localId" : "849", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "834", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "841", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "842", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "843", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - }, - "element" : [ { - "localId" : "835", - "name" : "DateTime15_20Interval", - "type" : "ExpressionRef", - "resultTypeSpecifier" : { - "localId" : "836", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "837", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - }, { - "localId" : "838", - "name" : "DateTime1_10Interval", - "type" : "ExpressionRef", - "resultTypeSpecifier" : { - "localId" : "839", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "840", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - } ] - }, { - "localId" : "844", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "Null" - } ] - } - }, { - "localId" : "858", - "name" : "DateTimeCollapseAdjacent", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "858", + "type" : "IntervalTypeSpecifier", + "localId" : "1397", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1398", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "DateTime", + "localId" : "1364", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1365", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1366", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1367", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1368", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1369", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1370", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1371", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1348", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1349", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "1350", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "1351", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "1352", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "1353", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "1354", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "1388", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1389", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1390", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1391", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1392", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1393", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1394", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1395", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1372", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2013", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1373", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "1374", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "1375", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "1376", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "1377", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "1378", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + } + } ] + } + }, { + "localId" : "1410", + "name" : "DateTimeEndsUnion", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "1410", + "s" : [ { + "value" : [ "", "define ", "DateTimeEndsUnion", ": " ] + }, { + "r" : "1513", + "s" : [ { + "r" : "1459", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "1427", + "s" : [ { + "r" : "1411", + "value" : [ "DateTime", "(", "2012", ", ", "6", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "1451", + "s" : [ { + "r" : "1435", + "value" : [ "DateTime", "(", "2013", ", ", "1", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ "]" ] + } ] + }, { + "value" : [ " union " ] + }, { + "r" : "1510", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "1478", "s" : [ { - "value" : [ "","define ","DateTimeCollapseAdjacent",": " ] - }, { - "r" : "870", - "s" : [ { - "value" : [ "collapse " ] - }, { - "r" : "859", - "s" : [ { - "value" : [ "{ " ] - }, { - "r" : "860", - "s" : [ { - "value" : [ "DateTime1_10Interval" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "863", - "s" : [ { - "value" : [ "DateTime10_15Interval" ] - } ] - }, { - "value" : [ " }" ] - } ] - } ] - } ] - } - } ], + "r" : "1462", + "value" : [ "DateTime", "(", "2012", ", ", "1", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "1502", + "s" : [ { + "r" : "1486", + "value" : [ "DateTime", "(", "2013", ", ", "1", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ "]" ] + } ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1520", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1521", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "expression" : { + "type" : "Union", + "localId" : "1513", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1518", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1519", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "1514", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1515", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "1516", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1517", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "Interval", + "localId" : "1459", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], "resultTypeSpecifier" : { - "localId" : "878", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "879", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "880", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } + "type" : "IntervalTypeSpecifier", + "localId" : "1460", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1461", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } }, - "expression" : { - "localId" : "870", - "type" : "Collapse", - "resultTypeSpecifier" : { - "localId" : "875", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "876", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "877", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - }, - "signature" : [ { - "localId" : "871", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "872", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "873", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - }, { - "localId" : "874", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "859", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "866", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "867", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "868", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - }, - "element" : [ { - "localId" : "860", - "name" : "DateTime1_10Interval", - "type" : "ExpressionRef", - "resultTypeSpecifier" : { - "localId" : "861", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "862", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - }, { - "localId" : "863", - "name" : "DateTime10_15Interval", - "type" : "ExpressionRef", - "resultTypeSpecifier" : { - "localId" : "864", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "865", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - } ] - }, { - "localId" : "869", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "Null" - } ] - } - }, { - "localId" : "883", - "name" : "DateTimeCollapseOverlap", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "883", - "s" : [ { - "value" : [ "","define ","DateTimeCollapseOverlap",": " ] - }, { - "r" : "895", - "s" : [ { - "value" : [ "collapse " ] - }, { - "r" : "884", - "s" : [ { - "value" : [ "{ " ] - }, { - "r" : "885", - "s" : [ { - "value" : [ "DateTime1_10Interval" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "888", - "s" : [ { - "value" : [ "DateTime5_12Interval" ] - } ] - }, { - "value" : [ " }" ] - } ] - } ] - } ] - } - } ], + "low" : { + "type" : "DateTime", + "localId" : "1427", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1428", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1429", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1430", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1431", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1432", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1433", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1434", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1411", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1412", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "6", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "1413", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "1414", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "1415", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "1416", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "1417", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "1451", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1452", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1453", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1454", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1455", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1456", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1457", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1458", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1435", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2013", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1436", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "1437", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "1438", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "1439", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "1440", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "1441", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + } + }, { + "type" : "Interval", + "localId" : "1510", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1511", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1512", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "DateTime", + "localId" : "1478", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1479", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1480", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1481", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1482", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1483", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1484", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1485", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1462", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1463", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "1464", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "1465", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "1466", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "1467", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "1468", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "1502", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1503", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1504", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1505", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1506", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1507", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1508", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1509", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1486", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2013", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1487", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "1488", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "1489", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "1490", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "1491", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "1492", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + } + } ] + } + } ] + } + } +} + +/* IntegerIntervalExcept +library TestSnippet version '1' +using Simple version '1.0.0' +context Patient +define IntFullInterval: Interval[0,10] +define IntHalfInterval: Interval[0,5) +define IntSameAsExcept: Interval[0,10] except Interval[0,10] +define IntBeforeExcept: Interval[0,4] except Interval[6,10] +define IntMeetsExcept: Interval[0,5] except Interval[5,10] +define IntOverlapsExcept: Interval[0,7] except Interval[5,10] +define IntBeginsExcept: Interval[0,5] except Interval[0,10] +define IntDuringExcept: Interval[3,5] except Interval[0,10] +define IntEndsExcept: Interval[5,10] except Interval[0,10] +*/ + +module.exports['IntegerIntervalExcept'] = { + "library" : { + "localId" : "0", + "annotation" : [ { + "type" : "CqlToElmInfo", + "translatorVersion" : "4.2.0", + "translatorOptions" : "EnableDateRangeOptimization,EnableAnnotations,EnableResultTypes", + "signatureLevel" : "All" + }, { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "366", + "s" : [ { + "value" : [ "", "library TestSnippet version '1'" ] + } ] + } + } ], + "identifier" : { + "id" : "TestSnippet", + "version" : "1" + }, + "schemaIdentifier" : { + "id" : "urn:hl7-org:elm", + "version" : "r1" + }, + "usings" : { + "def" : [ { + "localId" : "1", + "localIdentifier" : "System", + "uri" : "urn:hl7-org:elm-types:r1", + "annotation" : [ ] + }, { + "localId" : "206", + "localIdentifier" : "Simple", + "uri" : "https://github.com/cqframework/cql-execution/simple", + "version" : "1.0.0", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "206", + "s" : [ { + "value" : [ "", "using " ] + }, { + "s" : [ { + "value" : [ "Simple" ] + } ] + }, { + "value" : [ " version '1.0.0'" ] + } ] + } + } ] + } ] + }, + "contexts" : { + "def" : [ { + "localId" : "211", + "name" : "Patient", + "annotation" : [ ] + } ] + }, + "statements" : { + "def" : [ { + "localId" : "209", + "name" : "Patient", + "context" : "Patient", + "annotation" : [ ], + "expression" : { + "type" : "SingletonFrom", + "localId" : "210", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Retrieve", + "localId" : "208", + "dataType" : "{https://github.com/cqframework/cql-execution/simple}Patient", + "annotation" : [ ], + "include" : [ ], + "codeFilter" : [ ], + "dateFilter" : [ ], + "otherFilter" : [ ] + } + } + }, { + "localId" : "214", + "name" : "IntFullInterval", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "214", + "s" : [ { + "value" : [ "", "define ", "IntFullInterval", ": " ] + }, { + "r" : "217", + "s" : [ { + "r" : "215", + "value" : [ "Interval[", "0", ",", "10", "]" ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "220", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "221", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "expression" : { + "type" : "Interval", + "localId" : "217", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "218", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "219", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "low" : { + "type" : "Literal", + "localId" : "215", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "high" : { + "type" : "Literal", + "localId" : "216", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "10", + "annotation" : [ ] + } + } + }, { + "localId" : "224", + "name" : "IntHalfInterval", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "224", + "s" : [ { + "value" : [ "", "define ", "IntHalfInterval", ": " ] + }, { + "r" : "227", + "s" : [ { + "r" : "225", + "value" : [ "Interval[", "0", ",", "5", ")" ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "230", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "231", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "expression" : { + "type" : "Interval", + "localId" : "227", + "lowClosed" : true, + "highClosed" : false, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "228", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "229", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "low" : { + "type" : "Literal", + "localId" : "225", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "high" : { + "type" : "Literal", + "localId" : "226", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "5", + "annotation" : [ ] + } + } + }, { + "localId" : "234", + "name" : "IntSameAsExcept", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "234", + "s" : [ { + "value" : [ "", "define ", "IntSameAsExcept", ": " ] + }, { + "r" : "245", + "s" : [ { + "r" : "237", + "s" : [ { + "r" : "235", + "value" : [ "Interval[", "0", ",", "10", "]" ] + } ] + }, { + "value" : [ " except " ] + }, { + "r" : "242", + "s" : [ { + "r" : "240", + "value" : [ "Interval[", "0", ",", "10", "]" ] + } ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "252", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "253", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "expression" : { + "type" : "Except", + "localId" : "245", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "250", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "251", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "246", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "247", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "248", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "249", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "Interval", + "localId" : "237", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "238", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "239", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "low" : { + "type" : "Literal", + "localId" : "235", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "high" : { + "type" : "Literal", + "localId" : "236", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "10", + "annotation" : [ ] + } + }, { + "type" : "Interval", + "localId" : "242", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "243", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "244", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "low" : { + "type" : "Literal", + "localId" : "240", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "high" : { + "type" : "Literal", + "localId" : "241", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "10", + "annotation" : [ ] + } + } ] + } + }, { + "localId" : "256", + "name" : "IntBeforeExcept", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "256", + "s" : [ { + "value" : [ "", "define ", "IntBeforeExcept", ": " ] + }, { + "r" : "267", + "s" : [ { + "r" : "259", + "s" : [ { + "r" : "257", + "value" : [ "Interval[", "0", ",", "4", "]" ] + } ] + }, { + "value" : [ " except " ] + }, { + "r" : "264", + "s" : [ { + "r" : "262", + "value" : [ "Interval[", "6", ",", "10", "]" ] + } ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "274", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "275", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "expression" : { + "type" : "Except", + "localId" : "267", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "272", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "273", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "268", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "269", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "270", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "271", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "Interval", + "localId" : "259", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "260", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "261", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "low" : { + "type" : "Literal", + "localId" : "257", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "high" : { + "type" : "Literal", + "localId" : "258", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "4", + "annotation" : [ ] + } + }, { + "type" : "Interval", + "localId" : "264", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "265", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "266", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "low" : { + "type" : "Literal", + "localId" : "262", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "6", + "annotation" : [ ] + }, + "high" : { + "type" : "Literal", + "localId" : "263", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "10", + "annotation" : [ ] + } + } ] + } + }, { + "localId" : "278", + "name" : "IntMeetsExcept", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "278", + "s" : [ { + "value" : [ "", "define ", "IntMeetsExcept", ": " ] + }, { + "r" : "289", + "s" : [ { + "r" : "281", + "s" : [ { + "r" : "279", + "value" : [ "Interval[", "0", ",", "5", "]" ] + } ] + }, { + "value" : [ " except " ] + }, { + "r" : "286", + "s" : [ { + "r" : "284", + "value" : [ "Interval[", "5", ",", "10", "]" ] + } ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "296", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "297", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "expression" : { + "type" : "Except", + "localId" : "289", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "294", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "295", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "290", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "291", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "292", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "293", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "Interval", + "localId" : "281", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "282", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "283", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "low" : { + "type" : "Literal", + "localId" : "279", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "high" : { + "type" : "Literal", + "localId" : "280", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "5", + "annotation" : [ ] + } + }, { + "type" : "Interval", + "localId" : "286", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "287", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "288", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "low" : { + "type" : "Literal", + "localId" : "284", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "5", + "annotation" : [ ] + }, + "high" : { + "type" : "Literal", + "localId" : "285", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "10", + "annotation" : [ ] + } + } ] + } + }, { + "localId" : "300", + "name" : "IntOverlapsExcept", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "300", + "s" : [ { + "value" : [ "", "define ", "IntOverlapsExcept", ": " ] + }, { + "r" : "311", + "s" : [ { + "r" : "303", + "s" : [ { + "r" : "301", + "value" : [ "Interval[", "0", ",", "7", "]" ] + } ] + }, { + "value" : [ " except " ] + }, { + "r" : "308", + "s" : [ { + "r" : "306", + "value" : [ "Interval[", "5", ",", "10", "]" ] + } ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "318", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "319", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "expression" : { + "type" : "Except", + "localId" : "311", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "316", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "317", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "312", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "313", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "314", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "315", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "Interval", + "localId" : "303", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "304", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "305", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "low" : { + "type" : "Literal", + "localId" : "301", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "high" : { + "type" : "Literal", + "localId" : "302", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "7", + "annotation" : [ ] + } + }, { + "type" : "Interval", + "localId" : "308", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], "resultTypeSpecifier" : { - "localId" : "903", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "904", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "905", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - }, - "expression" : { - "localId" : "895", - "type" : "Collapse", - "resultTypeSpecifier" : { - "localId" : "900", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "901", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "902", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - }, - "signature" : [ { - "localId" : "896", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "897", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "898", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - }, { - "localId" : "899", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "884", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "891", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "892", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "893", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - }, - "element" : [ { - "localId" : "885", - "name" : "DateTime1_10Interval", - "type" : "ExpressionRef", - "resultTypeSpecifier" : { - "localId" : "886", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "887", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - }, { - "localId" : "888", - "name" : "DateTime5_12Interval", - "type" : "ExpressionRef", - "resultTypeSpecifier" : { - "localId" : "889", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "890", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - } ] - }, { - "localId" : "894", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "Null" - } ] - } - }, { - "localId" : "908", - "name" : "DateTimeCollapseOverlapContained", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "908", - "s" : [ { - "value" : [ "","define ","DateTimeCollapseOverlapContained",": " ] - }, { - "r" : "920", - "s" : [ { - "value" : [ "collapse " ] - }, { - "r" : "909", - "s" : [ { - "value" : [ "{ " ] - }, { - "r" : "910", - "s" : [ { - "value" : [ "DateTime1_15Interval" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "913", - "s" : [ { - "value" : [ "DateTime5_12Interval" ] - } ] - }, { - "value" : [ " }" ] - } ] - } ] - } ] - } - } ], + "type" : "IntervalTypeSpecifier", + "localId" : "309", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "310", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "low" : { + "type" : "Literal", + "localId" : "306", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "5", + "annotation" : [ ] + }, + "high" : { + "type" : "Literal", + "localId" : "307", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "10", + "annotation" : [ ] + } + } ] + } + }, { + "localId" : "322", + "name" : "IntBeginsExcept", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "322", + "s" : [ { + "value" : [ "", "define ", "IntBeginsExcept", ": " ] + }, { + "r" : "333", + "s" : [ { + "r" : "325", + "s" : [ { + "r" : "323", + "value" : [ "Interval[", "0", ",", "5", "]" ] + } ] + }, { + "value" : [ " except " ] + }, { + "r" : "330", + "s" : [ { + "r" : "328", + "value" : [ "Interval[", "0", ",", "10", "]" ] + } ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "340", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "341", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "expression" : { + "type" : "Except", + "localId" : "333", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "338", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "339", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "334", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "335", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "336", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "337", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "Interval", + "localId" : "325", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], "resultTypeSpecifier" : { - "localId" : "928", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "929", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "930", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - }, - "expression" : { - "localId" : "920", - "type" : "Collapse", - "resultTypeSpecifier" : { - "localId" : "925", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "926", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "927", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - }, - "signature" : [ { - "localId" : "921", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "922", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "923", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - }, { - "localId" : "924", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "909", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "916", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "917", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "918", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - }, - "element" : [ { - "localId" : "910", - "name" : "DateTime1_15Interval", - "type" : "ExpressionRef", - "resultTypeSpecifier" : { - "localId" : "911", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "912", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - }, { - "localId" : "913", - "name" : "DateTime5_12Interval", - "type" : "ExpressionRef", - "resultTypeSpecifier" : { - "localId" : "914", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "915", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - } ] - }, { - "localId" : "919", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "Null" - } ] - } - }, { - "localId" : "933", - "name" : "DateTimeCollapseOverlapContainedEdge", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "933", - "s" : [ { - "value" : [ "","define ","DateTimeCollapseOverlapContainedEdge",": " ] - }, { - "r" : "945", - "s" : [ { - "value" : [ "collapse " ] - }, { - "r" : "934", - "s" : [ { - "value" : [ "{ " ] - }, { - "r" : "935", - "s" : [ { - "value" : [ "DateTime1_10Interval" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "938", - "s" : [ { - "value" : [ "DateTime5_10Interval" ] - } ] - }, { - "value" : [ " }" ] - } ] - } ] - } ] - } - } ], + "type" : "IntervalTypeSpecifier", + "localId" : "326", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "327", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "low" : { + "type" : "Literal", + "localId" : "323", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "high" : { + "type" : "Literal", + "localId" : "324", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "5", + "annotation" : [ ] + } + }, { + "type" : "Interval", + "localId" : "330", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], "resultTypeSpecifier" : { - "localId" : "953", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "954", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "955", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - }, - "expression" : { - "localId" : "945", - "type" : "Collapse", - "resultTypeSpecifier" : { - "localId" : "950", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "951", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "952", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - }, - "signature" : [ { - "localId" : "946", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "947", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "948", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - }, { - "localId" : "949", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "934", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "941", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "942", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "943", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - }, - "element" : [ { - "localId" : "935", - "name" : "DateTime1_10Interval", - "type" : "ExpressionRef", - "resultTypeSpecifier" : { - "localId" : "936", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "937", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - }, { - "localId" : "938", - "name" : "DateTime5_10Interval", - "type" : "ExpressionRef", - "resultTypeSpecifier" : { - "localId" : "939", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "940", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - } ] - }, { - "localId" : "944", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "Null" - } ] - } - }, { - "localId" : "958", - "name" : "DateTimeCollapseOverlapContainedEdge2", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "958", - "s" : [ { - "value" : [ "","define ","DateTimeCollapseOverlapContainedEdge2",": " ] - }, { - "r" : "970", - "s" : [ { - "value" : [ "collapse " ] - }, { - "r" : "959", - "s" : [ { - "value" : [ "{ " ] - }, { - "r" : "960", - "s" : [ { - "value" : [ "DateTime1_15Interval" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "963", - "s" : [ { - "value" : [ "DateTime1_10Interval" ] - } ] - }, { - "value" : [ " }" ] - } ] - } ] - } ] - } - } ], + "type" : "IntervalTypeSpecifier", + "localId" : "331", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "332", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "low" : { + "type" : "Literal", + "localId" : "328", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "high" : { + "type" : "Literal", + "localId" : "329", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "10", + "annotation" : [ ] + } + } ] + } + }, { + "localId" : "344", + "name" : "IntDuringExcept", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "344", + "s" : [ { + "value" : [ "", "define ", "IntDuringExcept", ": " ] + }, { + "r" : "355", + "s" : [ { + "r" : "347", + "s" : [ { + "r" : "345", + "value" : [ "Interval[", "3", ",", "5", "]" ] + } ] + }, { + "value" : [ " except " ] + }, { + "r" : "352", + "s" : [ { + "r" : "350", + "value" : [ "Interval[", "0", ",", "10", "]" ] + } ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "362", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "363", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "expression" : { + "type" : "Except", + "localId" : "355", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "360", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "361", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "356", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "357", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "358", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "359", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "Interval", + "localId" : "347", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], "resultTypeSpecifier" : { - "localId" : "978", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "979", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "980", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } + "type" : "IntervalTypeSpecifier", + "localId" : "348", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "349", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } }, - "expression" : { - "localId" : "970", - "type" : "Collapse", - "resultTypeSpecifier" : { - "localId" : "975", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "976", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "977", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - }, - "signature" : [ { - "localId" : "971", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "972", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "973", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - }, { - "localId" : "974", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "959", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "966", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "967", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "968", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - }, - "element" : [ { - "localId" : "960", - "name" : "DateTime1_15Interval", - "type" : "ExpressionRef", - "resultTypeSpecifier" : { - "localId" : "961", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "962", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - }, { - "localId" : "963", - "name" : "DateTime1_10Interval", - "type" : "ExpressionRef", - "resultTypeSpecifier" : { - "localId" : "964", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "965", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - } ] - }, { - "localId" : "969", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "Null" - } ] - } - }, { - "localId" : "983", - "name" : "DateTimeCollapseOverlapMultipleCombine", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "983", - "s" : [ { - "value" : [ "","define ","DateTimeCollapseOverlapMultipleCombine",": " ] - }, { - "r" : "998", - "s" : [ { - "value" : [ "collapse " ] - }, { - "r" : "984", - "s" : [ { - "value" : [ "{ " ] - }, { - "r" : "985", - "s" : [ { - "value" : [ "DateTime1_6Interval" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "988", - "s" : [ { - "value" : [ "DateTime5_12Interval" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "991", - "s" : [ { - "value" : [ "DateTime10_15Interval" ] - } ] - }, { - "value" : [ " }" ] - } ] - } ] - } ] - } - } ], + "low" : { + "type" : "Literal", + "localId" : "345", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "high" : { + "type" : "Literal", + "localId" : "346", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "5", + "annotation" : [ ] + } + }, { + "type" : "Interval", + "localId" : "352", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], "resultTypeSpecifier" : { - "localId" : "1006", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "1007", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1008", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } + "type" : "IntervalTypeSpecifier", + "localId" : "353", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "354", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } }, - "expression" : { - "localId" : "998", - "type" : "Collapse", - "resultTypeSpecifier" : { - "localId" : "1003", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "1004", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1005", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - }, - "signature" : [ { - "localId" : "999", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "1000", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1001", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - }, { - "localId" : "1002", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "984", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "994", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "995", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "996", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - }, - "element" : [ { - "localId" : "985", - "name" : "DateTime1_6Interval", - "type" : "ExpressionRef", - "resultTypeSpecifier" : { - "localId" : "986", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "987", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - }, { - "localId" : "988", - "name" : "DateTime5_12Interval", - "type" : "ExpressionRef", - "resultTypeSpecifier" : { - "localId" : "989", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "990", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - }, { - "localId" : "991", - "name" : "DateTime10_15Interval", - "type" : "ExpressionRef", - "resultTypeSpecifier" : { - "localId" : "992", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "993", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - } ] - }, { - "localId" : "997", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "Null" - } ] - } - }, { - "localId" : "1011", - "name" : "DateTimeCollapseImpreciseBoundary", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "1011", - "s" : [ { - "value" : [ "","define ","DateTimeCollapseImpreciseBoundary",": " ] - }, { - "r" : "1023", - "s" : [ { - "value" : [ "collapse " ] - }, { - "r" : "1012", - "s" : [ { - "value" : [ "{ " ] - }, { - "r" : "1013", - "s" : [ { - "value" : [ "DateTime1_3ImpreciseInterval" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "1016", - "s" : [ { - "value" : [ "DateTime1_10Interval" ] - } ] - }, { - "value" : [ " }" ] - } ] - } ] - } ] - } - } ], + "low" : { + "type" : "Literal", + "localId" : "350", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "high" : { + "type" : "Literal", + "localId" : "351", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "10", + "annotation" : [ ] + } + } ] + } + }, { + "localId" : "366", + "name" : "IntEndsExcept", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "366", + "s" : [ { + "value" : [ "", "define ", "IntEndsExcept", ": " ] + }, { + "r" : "377", + "s" : [ { + "r" : "369", + "s" : [ { + "r" : "367", + "value" : [ "Interval[", "5", ",", "10", "]" ] + } ] + }, { + "value" : [ " except " ] + }, { + "r" : "374", + "s" : [ { + "r" : "372", + "value" : [ "Interval[", "0", ",", "10", "]" ] + } ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "384", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "385", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "expression" : { + "type" : "Except", + "localId" : "377", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "382", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "383", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "378", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "379", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "380", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "381", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "Interval", + "localId" : "369", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], "resultTypeSpecifier" : { - "localId" : "1031", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "1032", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1033", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - }, - "expression" : { - "localId" : "1023", - "type" : "Collapse", - "resultTypeSpecifier" : { - "localId" : "1028", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "1029", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1030", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - }, - "signature" : [ { - "localId" : "1024", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "1025", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1026", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - }, { - "localId" : "1027", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "1012", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "1019", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "1020", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1021", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - }, - "element" : [ { - "localId" : "1013", - "name" : "DateTime1_3ImpreciseInterval", - "type" : "ExpressionRef", - "resultTypeSpecifier" : { - "localId" : "1014", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1015", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - }, { - "localId" : "1016", - "name" : "DateTime1_10Interval", - "type" : "ExpressionRef", - "resultTypeSpecifier" : { - "localId" : "1017", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1018", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - } ] - }, { - "localId" : "1022", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "Null" - } ] - } - } ] - } - } + "type" : "IntervalTypeSpecifier", + "localId" : "370", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "371", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "low" : { + "type" : "Literal", + "localId" : "367", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "5", + "annotation" : [ ] + }, + "high" : { + "type" : "Literal", + "localId" : "368", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "10", + "annotation" : [ ] + } + }, { + "type" : "Interval", + "localId" : "374", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "375", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "376", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "low" : { + "type" : "Literal", + "localId" : "372", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "high" : { + "type" : "Literal", + "localId" : "373", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "10", + "annotation" : [ ] + } + } ] + } + } ] + } + } } -/* Collapse +/* DateTimeIntervalExcept library TestSnippet version '1' using Simple version '1.0.0' -// Numeric Intervals context Patient -define IntIntervalList: { Interval[1, 4], Interval[4, 8], Interval[7, 9] } -define IntCollapsePerUnit1: collapse IntIntervalList per ToQuantity(1) -define IntCollapseNoPer: collapse IntIntervalList -define IntIntervalSeparatedList: { Interval[3, 5], Interval[8, 10] } -define ExpectedIntervalList: { Interval[3,10] } -define IntCollapseSeparatedListPer3: collapse IntIntervalSeparatedList per 3 - -// DateTime Intervals -define DateTime1_12Interval: Interval[DateTime(2012, 1, 1, 0, 0, 0, 0), DateTime(2012, 1, 12, 0, 0, 0, 0)] -define DateTime3_15Interval: Interval[DateTime(2012, 1, 3, 0, 0, 0, 0), DateTime(2012, 1, 15, 0, 0, 0, 0)] -define DateTime1_15Interval: Interval[DateTime(2012, 1, 1, 0, 0, 0, 0), DateTime(2012, 1, 15, 0, 0, 0, 0)] -define DateTime1_15IntervalList: { DateTime1_15Interval } -define DateTimeCollapseNoPer: collapse { DateTime1_12Interval, DateTime3_15Interval} -define DateTimeCollapsePerMs: collapse { DateTime1_12Interval, DateTime3_15Interval} per millisecond -define DateTimeCollapsePerDay: collapse { DateTime1_12Interval, DateTime3_15Interval} per day - -// Date Intervals -define Date1_12Interval: Interval[Date(2012, 1, 1), Date(2012, 1, 12)] -define Date1_2Interval: Interval[Date(2012, 1, 1), Date(2012, 1, 2)] -define Date3_15Interval: Interval[Date(2012, 1, 3), Date(2012, 1, 15)] -define Date4_15Interval: Interval[Date(2012, 1, 4), Date(2012, 1, 15)] -define Date1_15Interval: Interval[Date(2012, 1, 1), Date(2012, 1, 15)] -define OverlappingDateCollapseNoPer: collapse { Date1_12Interval, Date3_15Interval } -define AdjacentDateCollapseNoPer: collapse { Date1_2Interval, Date3_15Interval } -define DisjointDateCollapseNoPer: collapse { Date1_2Interval, Date4_15Interval } -define DateCollapsePerDay: collapse { Date1_2Interval, Date4_15Interval } per day -define DateCollapsePerMonth: collapse { Date1_2Interval, Date4_15Interval } per month - -// Time Intervals -define Time1_12Interval: Interval[Time(0, 0, 1), Time(0, 0, 12)] -define Time1_2Interval: Interval[Time(0, 0, 1), Time(0, 0, 2)] -define Time3_15Interval: Interval[Time(0, 0, 3), Time(0, 0, 15)] -define Time4_15Interval: Interval[Time(0, 0, 4), Time(0, 0, 15)] -define Time1_15Interval: Interval[Time(0, 0, 1), Time(0, 0, 15)] -define OverlappingTimeCollapseNoPer: collapse { Time1_12Interval, Time3_15Interval } -define AdjacentTimeCollapseNoPer: collapse { Time1_2Interval, Time3_15Interval } -define DisjointTimeCollapseNoPer: collapse { Time1_2Interval, Time4_15Interval } -define TimeCollapsePerSecond: collapse { Time1_2Interval, Time4_15Interval } per second -define TimeCollapsePerMinute: collapse { Time1_2Interval, Time4_15Interval } per minute - -// Quantity Intervals with default units -define QuantityIntervalList: { Interval[ToQuantity(1), ToQuantity(4)], Interval[ToQuantity(4), ToQuantity(8)] } -define ExpectedQuantityList: { Interval[ToQuantity(1), ToQuantity(8)] } -define QuantityIntervalCollapseNoPer: collapse QuantityIntervalList -define QuantityIntervalCollapsePerUnit1: collapse QuantityIntervalList per ToQuantity(1) -define QuantitySeparatedBy3: { Interval[ToQuantity(3), ToQuantity(5)], Interval[ToQuantity(8), ToQuantity(10)]} -define CollapseSeparatedQuantity: collapse QuantitySeparatedBy3 -define ExpectedSeparatedQuantity: { Interval[ToQuantity(3), ToQuantity(10)] } -define CollapseSeparatedQuantityPer3: collapse QuantitySeparatedBy3 per 3 - -// Quantity Intervals with units -define QuantityMeterIntervalList: { Interval[ToQuantity('1 \'m\''), ToQuantity('1.995 \'m\'')], Interval[ToQuantity('2 \'m\''), ToQuantity('3 \'m\'')] } -define CollapseDisjointQuantityUnits: collapse QuantityMeterIntervalList -define ExpectedQuantityUnitsCollapse: { Interval[ToQuantity('1 \'m\''), ToQuantity('3 \'m\'')] } -define CollapseQuantityUnitsWithinPer: collapse QuantityMeterIntervalList per ToQuantity('1 \'cm\'') -define CollapseQuantityUnitsNotWithinPer: collapse QuantityMeterIntervalList per ToQuantity('1 \'mm\'') - -// Null test cases -define NullLowIntervalList: { Interval[null, 4], Interval[3, 5] } -define CollapseNullLowIntervalList: collapse NullLowIntervalList -define ExpectedNullLowIntervalCollapse: { Interval[null, 5] } -define NullHighIntervalList: { Interval[1, 4], Interval[3, null] } -define CollapseNullHighIntervalList: collapse NullHighIntervalList -define ExpectedNullHighIntervalCollapse: { Interval[1, null] } -define NullInCollapse: collapse { Interval[1,3], null } -define ExpectedResultWithNull: { Interval[1,3] } -define NullCollapse: collapse null as List> -define NullPerCollapse: collapse { Interval[1,4], Interval[4,7] } per null -define ExpectedResultNullPer: { Interval[1,7] } -define DateTime5_NullInterval: Interval[DateTime(2012, 1, 5, 0, 0, 0, 0), null] -define DateTimeNull_5Interval: Interval[null, DateTime(2012, 1, 5, 0, 0, 0, 0)] -define DateTime1_10Interval: Interval[DateTime(2012, 1, 1, 0, 0, 0, 0), DateTime(2012, 1, 10, 0, 0, 0, 0)] -define DateTime9_10Interval: Interval[DateTime(2012, 1, 9, 0, 0, 0, 0), DateTime(2012, 1, 10, 0, 0, 0, 0)] -define DateTime1_2Interval: Interval[DateTime(2012, 1, 1, 0, 0, 0, 0), DateTime(2012, 1, 2, 0, 0, 0, 0)] -define DateTimeNullStartCollapse: collapse { DateTime1_10Interval, DateTimeNull_5Interval } -define DateTimeNullStartCollapseExpected: { Interval[null, DateTime(2012, 1, 10, 0, 0, 0, 0)] } -define DateTimeNullEndCollapse: collapse { DateTime1_10Interval, DateTime5_NullInterval } -define DateTimeNullEndCollapseNoOverlap: collapse { DateTime1_2Interval, DateTime5_NullInterval } -define DateTimeNullEndCollapseNoOverlapExpected: { DateTime1_2Interval, DateTime5_NullInterval } -define DateTimeNullStartCollapseNoOverlap: collapse { DateTime9_10Interval, DateTimeNull_5Interval } -define DateTimeNullStartCollapseNoOverlapExpected: { DateTimeNull_5Interval, DateTime9_10Interval } -define DateTimeNullEndCollapseExpected: { Interval[DateTime(2012, 1, 1, 0, 0, 0, 0), null] } -define DateTimeNullStartEndCollapse: collapse { DateTimeNull_5Interval, DateTime1_10Interval, DateTime5_NullInterval } -define DateTimeNullStartEndCollapseExpected: { Interval[null, null] } -define QuantityMeterNullLowIntervalList: { Interval[null, ToQuantity('1.995 \'m\'')], Interval[ToQuantity('2 \'m\''), ToQuantity('3 \'m\'')] } -define CollapseQuantityNullLowUnitsWithinPer: collapse QuantityMeterNullLowIntervalList per ToQuantity('1 \'cm\'') -define CollapseQuantityNullLowUnitsWithinPerExpected : { Interval[null, ToQuantity('3 \'m\'')] } -define QuantityMeterNullHighIntervalList: { Interval[ToQuantity('1 \'m\''),ToQuantity('1.995 \'m\'')], Interval[ToQuantity('2 \'m\''), null] } -define CollapseQuantityNullHighUnitsWithinPer: collapse QuantityMeterNullHighIntervalList per ToQuantity('1 \'cm\'') -define CollapseQuantityNullHighUnitsWithinPerExpected : { Interval[ToQuantity('1 \'m\''), null] } -define QuantityIntervalListWithNulls: { Interval[ToQuantity(4), ToQuantity(8)], Interval[null, ToQuantity(2)], Interval[ToQuantity(1), ToQuantity(4)], Interval[ToQuantity(7), null] } -define CollapseQuantityIntervalListWithNulls: collapse QuantityIntervalListWithNulls -define CollapseQuantityIntervalListWithNullsExpected: { Interval[null, null] } -define QuantityIntervalListWithNullLowNoOverlap: { Interval[ToQuantity(4), ToQuantity(8)], Interval[null, ToQuantity(2)] } -define CollapseQuantityIntervalListWithNullLowNoOverlap: collapse QuantityIntervalListWithNullLowNoOverlap -define CollapseQuantityIntervalListWithNullLowNoOverlapExpected: { Interval[null, ToQuantity(2)], Interval[ToQuantity(4), ToQuantity(8)]} -define QuantityIntervalListWithNullHighNoOverlap: { Interval[ToQuantity(4), null], Interval[ToQuantity(1), ToQuantity(2)] } -define CollapseQuantityIntervalListWithNullHighNoOverlap: collapse QuantityIntervalListWithNullHighNoOverlap -define CollapseQuantityIntervalListWithNullHighNoOverlapExpected: { Interval[ToQuantity(1), ToQuantity(2)], Interval[ToQuantity(4), null]} +define DateTimeFullInterval: Interval[DateTime(2012, 1, 1, 0, 0, 0, 0), DateTime(2013, 1, 1, 0, 0, 0, 0)] +define DateTimeHalfInterval: Interval[DateTime(2012, 1, 1, 0, 0, 0, 0), DateTime(2012, 6, 1, 0, 0, 0, 0)) +define DateTimeSameAsExcept: Interval[DateTime(2012, 1, 1, 0, 0, 0, 0), DateTime(2013, 1, 1, 0, 0, 0, 0)] except Interval[DateTime(2012, 1, 1, 0, 0, 0, 0), DateTime(2013, 1, 1, 0, 0, 0, 0)] +define DateTimeBeforeExcept: Interval[DateTime(2012, 1, 1, 0, 0, 0, 0), DateTime(2012, 4, 1, 0, 0, 0, 0)] except Interval[DateTime(2012, 7, 1, 0, 0, 0, 0), DateTime(2013, 1, 1, 0, 0, 0, 0)] +define DateTimeMeetsExcept: Interval[DateTime(2012, 1, 1, 0, 0, 0, 0), DateTime(2012, 6, 1, 0, 0, 0, 0)] except Interval[DateTime(2012, 6, 1, 0, 0, 0, 0), DateTime(2013, 1, 1, 0, 0, 0, 0)] +define DateTimeOverlapsExcept: Interval[DateTime(2012, 1, 1, 0, 0, 0, 0), DateTime(2012, 7, 1, 0, 0, 0, 0)] except Interval[DateTime(2012, 6, 1, 0, 0, 0, 0), DateTime(2013, 1, 1, 0, 0, 0, 0)] +define DateTimeBeginsExcept: Interval[DateTime(2012, 1, 1, 0, 0, 0, 0), DateTime(2012, 6, 1, 0, 0, 0, 0)] except Interval[DateTime(2012, 1, 1, 0, 0, 0, 0), DateTime(2013, 1, 1, 0, 0, 0, 0)] +define DateTimeDuringExcept: Interval[DateTime(2012, 3, 1, 0, 0, 0, 0), DateTime(2012, 5, 1, 0, 0, 0, 0)] except Interval[DateTime(2012, 1, 1, 0, 0, 0, 0), DateTime(2013, 1, 1, 0, 0, 0, 0)] +define DateTimeEndsExcept: Interval[DateTime(2012, 6, 1, 0, 0, 0, 0), DateTime(2013, 1, 1, 0, 0, 0, 0)] except Interval[DateTime(2012, 1, 1, 0, 0, 0, 0), DateTime(2013, 1, 1, 0, 0, 0, 0)] */ -module.exports['Collapse'] = { - "library" : { - "localId" : "0", - "annotation" : [ { - "translatorVersion" : "3.27.0", - "translatorOptions" : "EnableDateRangeOptimization,EnableAnnotations,EnableResultTypes", - "signatureLevel" : "All", - "type" : "CqlToElmInfo" - }, { - "type" : "Annotation", - "s" : { - "r" : "2661", +module.exports['DateTimeIntervalExcept'] = { + "library" : { + "localId" : "0", + "annotation" : [ { + "type" : "CqlToElmInfo", + "translatorVersion" : "4.2.0", + "translatorOptions" : "EnableDateRangeOptimization,EnableAnnotations,EnableResultTypes", + "signatureLevel" : "All" + }, { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "1010", + "s" : [ { + "value" : [ "", "library TestSnippet version '1'" ] + } ] + } + } ], + "identifier" : { + "id" : "TestSnippet", + "version" : "1" + }, + "schemaIdentifier" : { + "id" : "urn:hl7-org:elm", + "version" : "r1" + }, + "usings" : { + "def" : [ { + "localId" : "1", + "localIdentifier" : "System", + "uri" : "urn:hl7-org:elm-types:r1", + "annotation" : [ ] + }, { + "localId" : "206", + "localIdentifier" : "Simple", + "uri" : "https://github.com/cqframework/cql-execution/simple", + "version" : "1.0.0", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "206", + "s" : [ { + "value" : [ "", "using " ] + }, { + "s" : [ { + "value" : [ "Simple" ] + } ] + }, { + "value" : [ " version '1.0.0'" ] + } ] + } + } ] + } ] + }, + "contexts" : { + "def" : [ { + "localId" : "211", + "name" : "Patient", + "annotation" : [ ] + } ] + }, + "statements" : { + "def" : [ { + "localId" : "209", + "name" : "Patient", + "context" : "Patient", + "annotation" : [ ], + "expression" : { + "type" : "SingletonFrom", + "localId" : "210", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Retrieve", + "localId" : "208", + "dataType" : "{https://github.com/cqframework/cql-execution/simple}Patient", + "annotation" : [ ], + "include" : [ ], + "codeFilter" : [ ], + "dateFilter" : [ ], + "otherFilter" : [ ] + } + } + }, { + "localId" : "214", + "name" : "DateTimeFullInterval", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "214", + "s" : [ { + "value" : [ "", "define ", "DateTimeFullInterval", ": " ] + }, { + "r" : "263", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "231", + "s" : [ { + "r" : "215", + "value" : [ "DateTime", "(", "2012", ", ", "1", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "255", + "s" : [ { + "r" : "239", + "value" : [ "DateTime", "(", "2013", ", ", "1", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ "]" ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "266", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "267", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "expression" : { + "type" : "Interval", + "localId" : "263", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "264", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "265", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "DateTime", + "localId" : "231", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "232", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "233", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "234", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "235", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "236", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "237", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "238", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "215", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "216", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "217", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "218", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "219", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "220", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "221", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "255", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "256", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "257", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "258", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "259", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "260", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "261", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "262", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "239", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2013", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "240", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "241", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "242", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "243", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "244", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "245", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + } + } + }, { + "localId" : "270", + "name" : "DateTimeHalfInterval", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "270", "s" : [ { - "value" : [ "","library TestSnippet version '1'" ] - } ] - } - } ], - "identifier" : { - "id" : "TestSnippet", - "version" : "1" - }, - "schemaIdentifier" : { - "id" : "urn:hl7-org:elm", - "version" : "r1" - }, - "usings" : { - "def" : [ { - "localId" : "1", - "localIdentifier" : "System", - "uri" : "urn:hl7-org:elm-types:r1" - }, { - "localId" : "206", - "localIdentifier" : "Simple", - "uri" : "https://github.com/cqframework/cql-execution/simple", - "version" : "1.0.0", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "206", - "s" : [ { - "value" : [ "","using " ] - }, { - "s" : [ { - "value" : [ "Simple" ] - } ] - }, { - "value" : [ " version '1.0.0'" ] - } ] - } - } ] - } ] - }, - "contexts" : { - "def" : [ { - "localId" : "211", - "name" : "Patient" - } ] - }, - "statements" : { - "def" : [ { - "localId" : "209", - "name" : "Patient", - "context" : "Patient", - "expression" : { - "localId" : "210", - "type" : "SingletonFrom", - "signature" : [ ], - "operand" : { - "localId" : "208", - "dataType" : "{https://github.com/cqframework/cql-execution/simple}Patient", - "type" : "Retrieve", - "include" : [ ], - "codeFilter" : [ ], - "dateFilter" : [ ], - "otherFilter" : [ ] - } - } - }, { - "localId" : "214", - "name" : "IntIntervalList", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "214", - "s" : [ { - "value" : [ "","define ","IntIntervalList",": " ] - }, { - "r" : "215", - "s" : [ { - "value" : [ "{ " ] - }, { - "r" : "218", - "s" : [ { - "r" : "216", - "value" : [ "Interval[","1",", ","4","]" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "223", - "s" : [ { - "r" : "221", - "value" : [ "Interval[","4",", ","8","]" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "228", - "s" : [ { - "r" : "226", - "value" : [ "Interval[","7",", ","9","]" ] - } ] - }, { - "value" : [ " }" ] - } ] - } ] - } - } ], - "resultTypeSpecifier" : { - "localId" : "234", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "235", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "236", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } + "value" : [ "", "define ", "DateTimeHalfInterval", ": " ] + }, { + "r" : "319", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "287", + "s" : [ { + "r" : "271", + "value" : [ "DateTime", "(", "2012", ", ", "1", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "311", + "s" : [ { + "r" : "295", + "value" : [ "DateTime", "(", "2012", ", ", "6", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "322", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "323", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "expression" : { + "type" : "Interval", + "localId" : "319", + "lowClosed" : true, + "highClosed" : false, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "320", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "321", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "DateTime", + "localId" : "287", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "288", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "289", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "290", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "291", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "292", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "293", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "294", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "271", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] }, - "expression" : { - "localId" : "215", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "231", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "232", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "233", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } - }, - "element" : [ { - "localId" : "218", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "219", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "220", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "216", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "high" : { - "localId" : "217", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "4", - "type" : "Literal" - } - }, { - "localId" : "223", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "224", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "225", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "221", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "4", - "type" : "Literal" - }, - "high" : { - "localId" : "222", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "8", - "type" : "Literal" - } - }, { - "localId" : "228", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "229", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "230", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "226", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "7", - "type" : "Literal" - }, - "high" : { - "localId" : "227", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "9", - "type" : "Literal" - } - } ] - } - }, { - "localId" : "239", - "name" : "IntCollapsePerUnit1", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "239", + "month" : { + "type" : "Literal", + "localId" : "272", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "273", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "274", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "275", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "276", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "277", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "311", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "312", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "313", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "314", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "315", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "316", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "317", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "318", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "295", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "296", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "6", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "297", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "298", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "299", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "300", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "301", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + } + } + }, { + "localId" : "326", + "name" : "DateTimeSameAsExcept", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "326", + "s" : [ { + "value" : [ "", "define ", "DateTimeSameAsExcept", ": " ] + }, { + "r" : "429", + "s" : [ { + "r" : "375", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "343", "s" : [ { - "value" : [ "","define ","IntCollapsePerUnit1",": " ] - }, { - "r" : "251", - "s" : [ { - "value" : [ "collapse " ] - }, { - "r" : "240", - "s" : [ { - "value" : [ "IntIntervalList" ] - } ] - }, { - "value" : [ " per " ] - }, { - "r" : "249", - "s" : [ { - "r" : "245", - "value" : [ "ToQuantity","(","1",")" ] - } ] - } ] - } ] - } - } ], + "r" : "327", + "value" : [ "DateTime", "(", "2012", ", ", "1", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "367", + "s" : [ { + "r" : "351", + "value" : [ "DateTime", "(", "2013", ", ", "1", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ "]" ] + } ] + }, { + "value" : [ " except " ] + }, { + "r" : "426", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "394", + "s" : [ { + "r" : "378", + "value" : [ "DateTime", "(", "2012", ", ", "1", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "418", + "s" : [ { + "r" : "402", + "value" : [ "DateTime", "(", "2013", ", ", "1", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ "]" ] + } ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "436", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "437", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "expression" : { + "type" : "Except", + "localId" : "429", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "434", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "435", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "430", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "431", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "432", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "433", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "Interval", + "localId" : "375", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], "resultTypeSpecifier" : { - "localId" : "259", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "260", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "261", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } + "type" : "IntervalTypeSpecifier", + "localId" : "376", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "377", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } }, - "expression" : { - "localId" : "251", - "type" : "Collapse", - "resultTypeSpecifier" : { - "localId" : "256", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "257", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "258", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } - }, - "signature" : [ { - "localId" : "252", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "253", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "254", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } - }, { - "localId" : "255", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "240", - "name" : "IntIntervalList", - "type" : "ExpressionRef", - "resultTypeSpecifier" : { - "localId" : "241", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "242", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "243", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } - } - }, { - "localId" : "249", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "ToQuantity", - "signature" : [ { - "localId" : "250", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "245", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - } - } ] - } - }, { - "localId" : "264", - "name" : "IntCollapseNoPer", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "264", - "s" : [ { - "value" : [ "","define ","IntCollapseNoPer",": " ] - }, { - "r" : "270", - "s" : [ { - "value" : [ "collapse " ] - }, { - "r" : "265", - "s" : [ { - "value" : [ "IntIntervalList" ] - } ] - } ] - } ] - } - } ], - "resultTypeSpecifier" : { - "localId" : "278", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "279", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "280", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } - }, - "expression" : { - "localId" : "270", - "type" : "Collapse", - "resultTypeSpecifier" : { - "localId" : "275", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "276", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "277", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } - }, - "signature" : [ { - "localId" : "271", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "272", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "273", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } - }, { - "localId" : "274", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "265", - "name" : "IntIntervalList", - "type" : "ExpressionRef", - "resultTypeSpecifier" : { - "localId" : "266", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "267", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "268", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } - } - }, { - "localId" : "269", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "Null" - } ] - } - }, { - "localId" : "283", - "name" : "IntIntervalSeparatedList", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "283", - "s" : [ { - "value" : [ "","define ","IntIntervalSeparatedList",": " ] - }, { - "r" : "284", - "s" : [ { - "value" : [ "{ " ] - }, { - "r" : "287", - "s" : [ { - "r" : "285", - "value" : [ "Interval[","3",", ","5","]" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "292", - "s" : [ { - "r" : "290", - "value" : [ "Interval[","8",", ","10","]" ] - } ] - }, { - "value" : [ " }" ] - } ] - } ] - } - } ], - "resultTypeSpecifier" : { - "localId" : "298", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "299", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "300", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } + "low" : { + "type" : "DateTime", + "localId" : "343", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "344", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "345", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "346", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "347", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "348", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "349", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "350", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "327", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "328", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "329", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "330", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "331", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "332", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "333", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } }, - "expression" : { - "localId" : "284", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "295", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "296", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "297", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } - }, - "element" : [ { - "localId" : "287", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "288", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "289", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "285", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "high" : { - "localId" : "286", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal" - } - }, { - "localId" : "292", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "293", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "294", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "290", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "8", - "type" : "Literal" - }, - "high" : { - "localId" : "291", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal" - } - } ] - } - }, { - "localId" : "303", - "name" : "ExpectedIntervalList", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "303", - "s" : [ { - "value" : [ "","define ","ExpectedIntervalList",": " ] - }, { - "r" : "304", - "s" : [ { - "value" : [ "{ " ] - }, { - "r" : "307", - "s" : [ { - "r" : "305", - "value" : [ "Interval[","3",",","10","]" ] - } ] - }, { - "value" : [ " }" ] - } ] - } ] - } - } ], + "high" : { + "type" : "DateTime", + "localId" : "367", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "368", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "369", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "370", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "371", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "372", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "373", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "374", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "351", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2013", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "352", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "353", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "354", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "355", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "356", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "357", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + } + }, { + "type" : "Interval", + "localId" : "426", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], "resultTypeSpecifier" : { - "localId" : "313", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "314", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "315", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } + "type" : "IntervalTypeSpecifier", + "localId" : "427", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "428", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } }, - "expression" : { - "localId" : "304", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "310", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "311", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "312", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } - }, - "element" : [ { - "localId" : "307", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "308", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "309", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "305", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "high" : { - "localId" : "306", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal" - } - } ] - } - }, { - "localId" : "318", - "name" : "IntCollapseSeparatedListPer3", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "318", + "low" : { + "type" : "DateTime", + "localId" : "394", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "395", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "396", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "397", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "398", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "399", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "400", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "401", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "378", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "379", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "380", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "381", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "382", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "383", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "384", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "418", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "419", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "420", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "421", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "422", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "423", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "424", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "425", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "402", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2013", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "403", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "404", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "405", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "406", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "407", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "408", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + } + } ] + } + }, { + "localId" : "440", + "name" : "DateTimeBeforeExcept", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "440", + "s" : [ { + "value" : [ "", "define ", "DateTimeBeforeExcept", ": " ] + }, { + "r" : "543", + "s" : [ { + "r" : "489", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "457", + "s" : [ { + "r" : "441", + "value" : [ "DateTime", "(", "2012", ", ", "1", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "481", + "s" : [ { + "r" : "465", + "value" : [ "DateTime", "(", "2012", ", ", "4", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ "]" ] + } ] + }, { + "value" : [ " except " ] + }, { + "r" : "540", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "508", "s" : [ { - "value" : [ "","define ","IntCollapseSeparatedListPer3",": " ] - }, { - "r" : "326", - "s" : [ { - "value" : [ "collapse " ] - }, { - "r" : "319", - "s" : [ { - "value" : [ "IntIntervalSeparatedList" ] - } ] - }, { - "r" : "324", - "value" : [ " per ","3" ] - } ] - } ] - } - } ], - "resultTypeSpecifier" : { - "localId" : "334", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "335", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "336", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } - }, - "expression" : { - "localId" : "326", - "type" : "Collapse", - "resultTypeSpecifier" : { - "localId" : "331", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "332", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "333", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } - }, - "signature" : [ { - "localId" : "327", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "328", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "329", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } - }, { - "localId" : "330", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "319", - "name" : "IntIntervalSeparatedList", - "type" : "ExpressionRef", - "resultTypeSpecifier" : { - "localId" : "320", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "321", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "322", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } - } - }, { - "localId" : "325", - "value" : 3, - "unit" : "1", - "type" : "Quantity" - } ] - } - }, { - "localId" : "339", - "name" : "DateTime1_12Interval", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "339", + "r" : "492", + "value" : [ "DateTime", "(", "2012", ", ", "7", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "532", "s" : [ { - "value" : [ "// DateTime Intervals\n","define ","DateTime1_12Interval",": " ] - }, { - "r" : "388", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "356", - "s" : [ { - "r" : "340", - "value" : [ "DateTime","(","2012",", ","1",", ","1",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "380", - "s" : [ { - "r" : "364", - "value" : [ "DateTime","(","2012",", ","1",", ","12",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ "]" ] - } ] - } ] - } - } ], + "r" : "516", + "value" : [ "DateTime", "(", "2013", ", ", "1", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ "]" ] + } ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "550", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "551", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "expression" : { + "type" : "Except", + "localId" : "543", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "548", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "549", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "544", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "545", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "546", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "547", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "Interval", + "localId" : "489", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], "resultTypeSpecifier" : { - "localId" : "391", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "392", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "expression" : { - "localId" : "388", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "389", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "390", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "356", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "357", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "358", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "359", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "360", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "361", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "362", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "363", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "340", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "341", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "342", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "343", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "344", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "345", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "346", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - }, - "high" : { - "localId" : "380", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "381", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "382", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "383", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "384", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "385", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "386", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "387", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "364", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "365", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "366", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "12", - "type" : "Literal" - }, - "hour" : { - "localId" : "367", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "368", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "369", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "370", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - } - } - }, { - "localId" : "395", - "name" : "DateTime3_15Interval", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "395", + "type" : "IntervalTypeSpecifier", + "localId" : "490", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "491", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "DateTime", + "localId" : "457", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "458", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "459", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "460", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "461", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "462", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "463", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "464", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "441", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "442", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "443", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "444", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "445", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "446", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "447", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "481", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "482", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "483", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "484", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "485", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "486", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "487", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "488", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "465", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "466", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "4", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "467", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "468", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "469", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "470", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "471", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + } + }, { + "type" : "Interval", + "localId" : "540", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "541", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "542", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "DateTime", + "localId" : "508", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "509", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "510", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "511", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "512", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "513", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "514", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "515", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "492", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "493", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "7", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "494", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "495", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "496", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "497", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "498", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "532", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "533", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "534", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "535", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "536", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "537", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "538", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "539", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "516", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2013", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "517", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "518", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "519", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "520", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "521", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "522", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + } + } ] + } + }, { + "localId" : "554", + "name" : "DateTimeMeetsExcept", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "554", + "s" : [ { + "value" : [ "", "define ", "DateTimeMeetsExcept", ": " ] + }, { + "r" : "657", + "s" : [ { + "r" : "603", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "571", "s" : [ { - "value" : [ "","define ","DateTime3_15Interval",": " ] - }, { - "r" : "444", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "412", - "s" : [ { - "r" : "396", - "value" : [ "DateTime","(","2012",", ","1",", ","3",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "436", - "s" : [ { - "r" : "420", - "value" : [ "DateTime","(","2012",", ","1",", ","15",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ "]" ] - } ] - } ] - } - } ], + "r" : "555", + "value" : [ "DateTime", "(", "2012", ", ", "1", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "595", + "s" : [ { + "r" : "579", + "value" : [ "DateTime", "(", "2012", ", ", "6", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ "]" ] + } ] + }, { + "value" : [ " except " ] + }, { + "r" : "654", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "622", + "s" : [ { + "r" : "606", + "value" : [ "DateTime", "(", "2012", ", ", "6", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "646", + "s" : [ { + "r" : "630", + "value" : [ "DateTime", "(", "2013", ", ", "1", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ "]" ] + } ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "664", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "665", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "expression" : { + "type" : "Except", + "localId" : "657", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "662", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "663", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "658", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "659", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "660", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "661", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "Interval", + "localId" : "603", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], "resultTypeSpecifier" : { - "localId" : "447", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "448", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "expression" : { - "localId" : "444", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "445", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "446", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "412", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "413", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "414", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "415", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "416", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "417", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "418", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "419", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "396", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "397", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "398", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "hour" : { - "localId" : "399", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "400", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "401", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "402", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - }, - "high" : { - "localId" : "436", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "437", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "438", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "439", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "440", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "441", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "442", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "443", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "420", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "421", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "422", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal" - }, - "hour" : { - "localId" : "423", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "424", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "425", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "426", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - } - } - }, { - "localId" : "451", - "name" : "DateTime1_15Interval", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "451", + "type" : "IntervalTypeSpecifier", + "localId" : "604", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "605", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "DateTime", + "localId" : "571", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "572", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "573", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "574", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "575", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "576", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "577", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "578", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "555", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "556", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "557", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "558", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "559", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "560", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "561", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "595", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "596", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "597", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "598", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "599", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "600", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "601", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "602", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "579", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "580", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "6", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "581", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "582", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "583", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "584", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "585", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + } + }, { + "type" : "Interval", + "localId" : "654", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "655", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "656", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "DateTime", + "localId" : "622", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "623", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "624", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "625", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "626", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "627", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "628", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "629", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "606", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "607", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "6", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "608", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "609", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "610", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "611", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "612", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "646", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "647", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "648", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "649", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "650", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "651", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "652", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "653", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "630", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2013", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "631", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "632", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "633", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "634", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "635", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "636", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + } + } ] + } + }, { + "localId" : "668", + "name" : "DateTimeOverlapsExcept", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "668", + "s" : [ { + "value" : [ "", "define ", "DateTimeOverlapsExcept", ": " ] + }, { + "r" : "771", + "s" : [ { + "r" : "717", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "685", + "s" : [ { + "r" : "669", + "value" : [ "DateTime", "(", "2012", ", ", "1", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "709", "s" : [ { - "value" : [ "","define ","DateTime1_15Interval",": " ] - }, { - "r" : "500", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "468", - "s" : [ { - "r" : "452", - "value" : [ "DateTime","(","2012",", ","1",", ","1",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "492", - "s" : [ { - "r" : "476", - "value" : [ "DateTime","(","2012",", ","1",", ","15",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ "]" ] - } ] - } ] - } - } ], + "r" : "693", + "value" : [ "DateTime", "(", "2012", ", ", "7", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ "]" ] + } ] + }, { + "value" : [ " except " ] + }, { + "r" : "768", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "736", + "s" : [ { + "r" : "720", + "value" : [ "DateTime", "(", "2012", ", ", "6", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "760", + "s" : [ { + "r" : "744", + "value" : [ "DateTime", "(", "2013", ", ", "1", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ "]" ] + } ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "778", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "779", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "expression" : { + "type" : "Except", + "localId" : "771", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "776", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "777", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "772", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "773", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "774", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "775", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "Interval", + "localId" : "717", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], "resultTypeSpecifier" : { - "localId" : "503", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "504", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "expression" : { - "localId" : "500", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "501", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "502", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "468", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "469", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "470", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "471", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "472", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "473", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "474", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "475", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "452", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "453", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "454", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "455", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "456", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "457", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "458", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - }, - "high" : { - "localId" : "492", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "493", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "494", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "495", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "496", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "497", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "498", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "499", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "476", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "477", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "478", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal" - }, - "hour" : { - "localId" : "479", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "480", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "481", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "482", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - } - } - }, { - "localId" : "507", - "name" : "DateTime1_15IntervalList", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "507", + "type" : "IntervalTypeSpecifier", + "localId" : "718", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "719", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "DateTime", + "localId" : "685", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "686", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "687", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "688", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "689", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "690", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "691", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "692", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "669", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "670", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "671", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "672", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "673", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "674", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "675", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "709", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "710", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "711", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "712", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "713", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "714", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "715", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "716", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "693", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "694", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "7", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "695", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "696", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "697", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "698", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "699", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + } + }, { + "type" : "Interval", + "localId" : "768", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "769", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "770", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "DateTime", + "localId" : "736", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "737", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "738", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "739", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "740", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "741", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "742", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "743", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "720", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "721", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "6", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "722", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "723", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "724", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "725", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "726", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "760", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "761", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "762", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "763", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "764", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "765", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "766", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "767", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "744", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2013", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "745", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "746", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "747", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "748", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "749", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "750", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + } + } ] + } + }, { + "localId" : "782", + "name" : "DateTimeBeginsExcept", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "782", + "s" : [ { + "value" : [ "", "define ", "DateTimeBeginsExcept", ": " ] + }, { + "r" : "885", + "s" : [ { + "r" : "831", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "799", + "s" : [ { + "r" : "783", + "value" : [ "DateTime", "(", "2012", ", ", "1", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "823", + "s" : [ { + "r" : "807", + "value" : [ "DateTime", "(", "2012", ", ", "6", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ "]" ] + } ] + }, { + "value" : [ " except " ] + }, { + "r" : "882", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "850", + "s" : [ { + "r" : "834", + "value" : [ "DateTime", "(", "2012", ", ", "1", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "874", + "s" : [ { + "r" : "858", + "value" : [ "DateTime", "(", "2013", ", ", "1", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ "]" ] + } ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "892", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "893", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "expression" : { + "type" : "Except", + "localId" : "885", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "890", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "891", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "886", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "887", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "888", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "889", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "Interval", + "localId" : "831", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "832", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "833", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "DateTime", + "localId" : "799", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "800", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "801", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "802", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "803", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "804", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "805", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "806", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "783", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "784", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "785", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "786", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "787", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "788", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "789", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "823", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "824", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "825", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "826", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "827", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "828", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "829", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "830", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "807", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "808", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "6", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "809", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "810", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "811", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "812", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "813", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + } + }, { + "type" : "Interval", + "localId" : "882", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "883", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "884", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "DateTime", + "localId" : "850", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "851", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "852", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "853", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "854", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "855", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "856", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "857", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "834", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "835", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "836", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "837", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "838", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "839", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "840", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "874", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "875", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "876", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "877", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "878", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "879", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "880", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "881", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "858", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2013", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "859", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "860", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "861", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "862", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "863", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "864", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + } + } ] + } + }, { + "localId" : "896", + "name" : "DateTimeDuringExcept", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "896", + "s" : [ { + "value" : [ "", "define ", "DateTimeDuringExcept", ": " ] + }, { + "r" : "999", + "s" : [ { + "r" : "945", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "913", + "s" : [ { + "r" : "897", + "value" : [ "DateTime", "(", "2012", ", ", "3", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "937", "s" : [ { - "value" : [ "","define ","DateTime1_15IntervalList",": " ] - }, { - "r" : "508", - "s" : [ { - "value" : [ "{ " ] - }, { - "r" : "509", - "s" : [ { - "value" : [ "DateTime1_15Interval" ] - } ] - }, { - "value" : [ " }" ] - } ] - } ] - } - } ], + "r" : "921", + "value" : [ "DateTime", "(", "2012", ", ", "5", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ "]" ] + } ] + }, { + "value" : [ " except " ] + }, { + "r" : "996", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "964", + "s" : [ { + "r" : "948", + "value" : [ "DateTime", "(", "2012", ", ", "1", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "988", + "s" : [ { + "r" : "972", + "value" : [ "DateTime", "(", "2013", ", ", "1", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ "]" ] + } ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1006", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1007", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "expression" : { + "type" : "Except", + "localId" : "999", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1004", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1005", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "1000", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1001", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "1002", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1003", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "Interval", + "localId" : "945", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], "resultTypeSpecifier" : { - "localId" : "515", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "516", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "517", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } + "type" : "IntervalTypeSpecifier", + "localId" : "946", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "947", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "DateTime", + "localId" : "913", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "914", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "915", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "916", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "917", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "918", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "919", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "920", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "897", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "898", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "899", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "900", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "901", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "902", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "903", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "937", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "938", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "939", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "940", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "941", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "942", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "943", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "944", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "921", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "922", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "5", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "923", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "924", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "925", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "926", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "927", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + } + }, { + "type" : "Interval", + "localId" : "996", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "997", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "998", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "DateTime", + "localId" : "964", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "965", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "966", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "967", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "968", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "969", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "970", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "971", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "948", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "949", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "950", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "951", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "952", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "953", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "954", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "988", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "989", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "990", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "991", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "992", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "993", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "994", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "995", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "972", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2013", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "973", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "974", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "975", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "976", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "977", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "978", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + } + } ] + } + }, { + "localId" : "1010", + "name" : "DateTimeEndsExcept", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "1010", + "s" : [ { + "value" : [ "", "define ", "DateTimeEndsExcept", ": " ] + }, { + "r" : "1113", + "s" : [ { + "r" : "1059", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "1027", + "s" : [ { + "r" : "1011", + "value" : [ "DateTime", "(", "2012", ", ", "6", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "1051", + "s" : [ { + "r" : "1035", + "value" : [ "DateTime", "(", "2013", ", ", "1", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ "]" ] + } ] + }, { + "value" : [ " except " ] + }, { + "r" : "1110", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "1078", + "s" : [ { + "r" : "1062", + "value" : [ "DateTime", "(", "2012", ", ", "1", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "1102", + "s" : [ { + "r" : "1086", + "value" : [ "DateTime", "(", "2013", ", ", "1", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ "]" ] + } ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1120", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1121", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "expression" : { + "type" : "Except", + "localId" : "1113", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1118", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1119", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "1114", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1115", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "1116", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1117", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "Interval", + "localId" : "1059", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1060", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1061", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "DateTime", + "localId" : "1027", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1028", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1029", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1030", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1031", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1032", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1033", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1034", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1011", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1012", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "6", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "1013", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "1014", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "1015", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "1016", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "1017", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "1051", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1052", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1053", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1054", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1055", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1056", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1057", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1058", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1035", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2013", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1036", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "1037", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "1038", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "1039", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "1040", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "1041", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + } + }, { + "type" : "Interval", + "localId" : "1110", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1111", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1112", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "DateTime", + "localId" : "1078", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1079", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1080", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1081", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1082", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1083", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1084", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1085", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1062", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1063", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "1064", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "1065", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "1066", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "1067", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "1068", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "1102", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1103", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1104", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1105", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1106", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1107", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1108", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1109", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1086", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2013", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1087", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "1088", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "1089", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "1090", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "1091", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "1092", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + } + } ] + } + } ] + } + } +} + +/* IntegerIntervalIntersect +library TestSnippet version '1' +using Simple version '1.0.0' +context Patient +define IntFullInterval: Interval[0,10] +define IntMeetsInterval: Interval[5,5] +define IntOverlapsInterval: Interval[5,7] +define IntBeginsInterval: Interval[0,5] +define IntDuringInterval: Interval[3,5] +define IntEndsInterval: Interval[5,10] +define IntSameAsIntersect: Interval[0,10] intersect Interval[0,10] +define IntBeforeIntersect: Interval[0,4] intersect Interval[6,10] +define IntMeetsIntersect: Interval[0,5] intersect Interval[5,10] +define IntOverlapsIntersect: Interval[0,7] intersect Interval[5,10] +define IntBeginsIntersect: Interval[0,5] intersect Interval[0,10] +define IntDuringIntersect: Interval[3,5] intersect Interval[0,10] +define IntEndsIntersect: Interval[5,10] intersect Interval[0,10] +*/ + +module.exports['IntegerIntervalIntersect'] = { + "library" : { + "localId" : "0", + "annotation" : [ { + "type" : "CqlToElmInfo", + "translatorVersion" : "4.2.0", + "translatorOptions" : "EnableDateRangeOptimization,EnableAnnotations,EnableResultTypes", + "signatureLevel" : "All" + }, { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "406", + "s" : [ { + "value" : [ "", "library TestSnippet version '1'" ] + } ] + } + } ], + "identifier" : { + "id" : "TestSnippet", + "version" : "1" + }, + "schemaIdentifier" : { + "id" : "urn:hl7-org:elm", + "version" : "r1" + }, + "usings" : { + "def" : [ { + "localId" : "1", + "localIdentifier" : "System", + "uri" : "urn:hl7-org:elm-types:r1", + "annotation" : [ ] + }, { + "localId" : "206", + "localIdentifier" : "Simple", + "uri" : "https://github.com/cqframework/cql-execution/simple", + "version" : "1.0.0", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "206", + "s" : [ { + "value" : [ "", "using " ] + }, { + "s" : [ { + "value" : [ "Simple" ] + } ] + }, { + "value" : [ " version '1.0.0'" ] + } ] + } + } ] + } ] + }, + "contexts" : { + "def" : [ { + "localId" : "211", + "name" : "Patient", + "annotation" : [ ] + } ] + }, + "statements" : { + "def" : [ { + "localId" : "209", + "name" : "Patient", + "context" : "Patient", + "annotation" : [ ], + "expression" : { + "type" : "SingletonFrom", + "localId" : "210", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Retrieve", + "localId" : "208", + "dataType" : "{https://github.com/cqframework/cql-execution/simple}Patient", + "annotation" : [ ], + "include" : [ ], + "codeFilter" : [ ], + "dateFilter" : [ ], + "otherFilter" : [ ] + } + } + }, { + "localId" : "214", + "name" : "IntFullInterval", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "214", + "s" : [ { + "value" : [ "", "define ", "IntFullInterval", ": " ] + }, { + "r" : "217", + "s" : [ { + "r" : "215", + "value" : [ "Interval[", "0", ",", "10", "]" ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "220", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "221", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "expression" : { + "type" : "Interval", + "localId" : "217", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "218", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "219", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "low" : { + "type" : "Literal", + "localId" : "215", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "high" : { + "type" : "Literal", + "localId" : "216", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "10", + "annotation" : [ ] + } + } + }, { + "localId" : "224", + "name" : "IntMeetsInterval", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "224", + "s" : [ { + "value" : [ "", "define ", "IntMeetsInterval", ": " ] + }, { + "r" : "227", + "s" : [ { + "r" : "225", + "value" : [ "Interval[", "5", ",", "5", "]" ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "230", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "231", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "expression" : { + "type" : "Interval", + "localId" : "227", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "228", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "229", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "low" : { + "type" : "Literal", + "localId" : "225", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "5", + "annotation" : [ ] + }, + "high" : { + "type" : "Literal", + "localId" : "226", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "5", + "annotation" : [ ] + } + } + }, { + "localId" : "234", + "name" : "IntOverlapsInterval", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "234", + "s" : [ { + "value" : [ "", "define ", "IntOverlapsInterval", ": " ] + }, { + "r" : "237", + "s" : [ { + "r" : "235", + "value" : [ "Interval[", "5", ",", "7", "]" ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "240", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "241", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "expression" : { + "type" : "Interval", + "localId" : "237", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "238", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "239", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "low" : { + "type" : "Literal", + "localId" : "235", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "5", + "annotation" : [ ] + }, + "high" : { + "type" : "Literal", + "localId" : "236", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "7", + "annotation" : [ ] + } + } + }, { + "localId" : "244", + "name" : "IntBeginsInterval", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "244", + "s" : [ { + "value" : [ "", "define ", "IntBeginsInterval", ": " ] + }, { + "r" : "247", + "s" : [ { + "r" : "245", + "value" : [ "Interval[", "0", ",", "5", "]" ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "250", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "251", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "expression" : { + "type" : "Interval", + "localId" : "247", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "248", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "249", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "low" : { + "type" : "Literal", + "localId" : "245", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "high" : { + "type" : "Literal", + "localId" : "246", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "5", + "annotation" : [ ] + } + } + }, { + "localId" : "254", + "name" : "IntDuringInterval", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "254", + "s" : [ { + "value" : [ "", "define ", "IntDuringInterval", ": " ] + }, { + "r" : "257", + "s" : [ { + "r" : "255", + "value" : [ "Interval[", "3", ",", "5", "]" ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "260", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "261", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "expression" : { + "type" : "Interval", + "localId" : "257", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "258", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "259", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "low" : { + "type" : "Literal", + "localId" : "255", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "high" : { + "type" : "Literal", + "localId" : "256", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "5", + "annotation" : [ ] + } + } + }, { + "localId" : "264", + "name" : "IntEndsInterval", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "264", + "s" : [ { + "value" : [ "", "define ", "IntEndsInterval", ": " ] + }, { + "r" : "267", + "s" : [ { + "r" : "265", + "value" : [ "Interval[", "5", ",", "10", "]" ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "270", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "271", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "expression" : { + "type" : "Interval", + "localId" : "267", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "268", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "269", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "low" : { + "type" : "Literal", + "localId" : "265", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "5", + "annotation" : [ ] + }, + "high" : { + "type" : "Literal", + "localId" : "266", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "10", + "annotation" : [ ] + } + } + }, { + "localId" : "274", + "name" : "IntSameAsIntersect", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "274", + "s" : [ { + "value" : [ "", "define ", "IntSameAsIntersect", ": " ] + }, { + "r" : "285", + "s" : [ { + "r" : "277", + "s" : [ { + "r" : "275", + "value" : [ "Interval[", "0", ",", "10", "]" ] + } ] + }, { + "value" : [ " intersect " ] + }, { + "r" : "282", + "s" : [ { + "r" : "280", + "value" : [ "Interval[", "0", ",", "10", "]" ] + } ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "292", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "293", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "expression" : { + "type" : "Intersect", + "localId" : "285", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "290", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "291", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "286", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "287", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "288", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "289", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "Interval", + "localId" : "277", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "278", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "279", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } }, - "expression" : { - "localId" : "508", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "512", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "513", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "514", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - }, - "element" : [ { - "localId" : "509", - "name" : "DateTime1_15Interval", - "type" : "ExpressionRef", - "resultTypeSpecifier" : { - "localId" : "510", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "511", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - } ] - } - }, { - "localId" : "520", - "name" : "DateTimeCollapseNoPer", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "520", - "s" : [ { - "value" : [ "","define ","DateTimeCollapseNoPer",": " ] - }, { - "r" : "532", - "s" : [ { - "value" : [ "collapse " ] - }, { - "r" : "521", - "s" : [ { - "value" : [ "{ " ] - }, { - "r" : "522", - "s" : [ { - "value" : [ "DateTime1_12Interval" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "525", - "s" : [ { - "value" : [ "DateTime3_15Interval" ] - } ] - }, { - "value" : [ "}" ] - } ] - } ] - } ] - } - } ], + "low" : { + "type" : "Literal", + "localId" : "275", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "high" : { + "type" : "Literal", + "localId" : "276", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "10", + "annotation" : [ ] + } + }, { + "type" : "Interval", + "localId" : "282", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], "resultTypeSpecifier" : { - "localId" : "540", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "541", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "542", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } + "type" : "IntervalTypeSpecifier", + "localId" : "283", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "284", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } }, - "expression" : { - "localId" : "532", - "type" : "Collapse", - "resultTypeSpecifier" : { - "localId" : "537", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "538", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "539", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - }, - "signature" : [ { - "localId" : "533", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "534", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "535", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - }, { - "localId" : "536", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "521", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "528", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "529", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "530", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - }, - "element" : [ { - "localId" : "522", - "name" : "DateTime1_12Interval", - "type" : "ExpressionRef", - "resultTypeSpecifier" : { - "localId" : "523", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "524", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - }, { - "localId" : "525", - "name" : "DateTime3_15Interval", - "type" : "ExpressionRef", - "resultTypeSpecifier" : { - "localId" : "526", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "527", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - } ] - }, { - "localId" : "531", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "Null" - } ] - } - }, { - "localId" : "545", - "name" : "DateTimeCollapsePerMs", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "545", - "s" : [ { - "value" : [ "","define ","DateTimeCollapsePerMs",": " ] - }, { - "r" : "558", - "s" : [ { - "value" : [ "collapse " ] - }, { - "r" : "546", - "s" : [ { - "value" : [ "{ " ] - }, { - "r" : "547", - "s" : [ { - "value" : [ "DateTime1_12Interval" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "550", - "s" : [ { - "value" : [ "DateTime3_15Interval" ] - } ] - }, { - "value" : [ "}" ] - } ] - }, { - "value" : [ " per ","millisecond" ] - } ] - } ] - } - } ], + "low" : { + "type" : "Literal", + "localId" : "280", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "high" : { + "type" : "Literal", + "localId" : "281", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "10", + "annotation" : [ ] + } + } ] + } + }, { + "localId" : "296", + "name" : "IntBeforeIntersect", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "296", + "s" : [ { + "value" : [ "", "define ", "IntBeforeIntersect", ": " ] + }, { + "r" : "307", + "s" : [ { + "r" : "299", + "s" : [ { + "r" : "297", + "value" : [ "Interval[", "0", ",", "4", "]" ] + } ] + }, { + "value" : [ " intersect " ] + }, { + "r" : "304", + "s" : [ { + "r" : "302", + "value" : [ "Interval[", "6", ",", "10", "]" ] + } ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "314", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "315", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "expression" : { + "type" : "Intersect", + "localId" : "307", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "312", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "313", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "308", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "309", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "310", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "311", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "Interval", + "localId" : "299", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], "resultTypeSpecifier" : { - "localId" : "566", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "567", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "568", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } + "type" : "IntervalTypeSpecifier", + "localId" : "300", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "301", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } }, - "expression" : { - "localId" : "558", - "type" : "Collapse", - "resultTypeSpecifier" : { - "localId" : "563", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "564", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "565", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - }, - "signature" : [ { - "localId" : "559", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "560", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "561", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - }, { - "localId" : "562", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "546", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "553", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "554", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "555", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - }, - "element" : [ { - "localId" : "547", - "name" : "DateTime1_12Interval", - "type" : "ExpressionRef", - "resultTypeSpecifier" : { - "localId" : "548", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "549", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - }, { - "localId" : "550", - "name" : "DateTime3_15Interval", - "type" : "ExpressionRef", - "resultTypeSpecifier" : { - "localId" : "551", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "552", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - } ] - }, { - "localId" : "557", - "value" : 1.0, - "unit" : "millisecond", - "type" : "Quantity" - } ] - } - }, { - "localId" : "571", - "name" : "DateTimeCollapsePerDay", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "571", - "s" : [ { - "value" : [ "","define ","DateTimeCollapsePerDay",": " ] - }, { - "r" : "584", - "s" : [ { - "value" : [ "collapse " ] - }, { - "r" : "572", - "s" : [ { - "value" : [ "{ " ] - }, { - "r" : "573", - "s" : [ { - "value" : [ "DateTime1_12Interval" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "576", - "s" : [ { - "value" : [ "DateTime3_15Interval" ] - } ] - }, { - "value" : [ "}" ] - } ] - }, { - "value" : [ " per ","day" ] - } ] - } ] - } - } ], + "low" : { + "type" : "Literal", + "localId" : "297", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "high" : { + "type" : "Literal", + "localId" : "298", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "4", + "annotation" : [ ] + } + }, { + "type" : "Interval", + "localId" : "304", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], "resultTypeSpecifier" : { - "localId" : "592", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "593", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "594", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } + "type" : "IntervalTypeSpecifier", + "localId" : "305", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "306", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } }, - "expression" : { - "localId" : "584", - "type" : "Collapse", - "resultTypeSpecifier" : { - "localId" : "589", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "590", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "591", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - }, - "signature" : [ { - "localId" : "585", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "586", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "587", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - }, { - "localId" : "588", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "572", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "579", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "580", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "581", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - }, - "element" : [ { - "localId" : "573", - "name" : "DateTime1_12Interval", - "type" : "ExpressionRef", - "resultTypeSpecifier" : { - "localId" : "574", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "575", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - }, { - "localId" : "576", - "name" : "DateTime3_15Interval", - "type" : "ExpressionRef", - "resultTypeSpecifier" : { - "localId" : "577", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "578", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - } ] - }, { - "localId" : "583", - "value" : 1.0, - "unit" : "day", - "type" : "Quantity" - } ] - } - }, { - "localId" : "597", - "name" : "Date1_12Interval", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "597", - "s" : [ { - "value" : [ "// Date Intervals\n","define ","Date1_12Interval",": " ] - }, { - "r" : "622", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "606", - "s" : [ { - "r" : "598", - "value" : [ "Date","(","2012",", ","1",", ","1",")" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "618", - "s" : [ { - "r" : "610", - "value" : [ "Date","(","2012",", ","1",", ","12",")" ] - } ] - }, { - "value" : [ "]" ] - } ] - } ] - } - } ], + "low" : { + "type" : "Literal", + "localId" : "302", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "6", + "annotation" : [ ] + }, + "high" : { + "type" : "Literal", + "localId" : "303", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "10", + "annotation" : [ ] + } + } ] + } + }, { + "localId" : "318", + "name" : "IntMeetsIntersect", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "318", + "s" : [ { + "value" : [ "", "define ", "IntMeetsIntersect", ": " ] + }, { + "r" : "329", + "s" : [ { + "r" : "321", + "s" : [ { + "r" : "319", + "value" : [ "Interval[", "0", ",", "5", "]" ] + } ] + }, { + "value" : [ " intersect " ] + }, { + "r" : "326", + "s" : [ { + "r" : "324", + "value" : [ "Interval[", "5", ",", "10", "]" ] + } ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "336", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "337", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "expression" : { + "type" : "Intersect", + "localId" : "329", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "334", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "335", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "330", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "331", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "332", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "333", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "Interval", + "localId" : "321", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], "resultTypeSpecifier" : { - "localId" : "625", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "626", - "name" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "NamedTypeSpecifier" - } - }, - "expression" : { - "localId" : "622", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "623", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "624", - "name" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "606", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "Date", - "signature" : [ { - "localId" : "607", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "608", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "609", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "598", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "599", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "600", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - } - }, - "high" : { - "localId" : "618", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "Date", - "signature" : [ { - "localId" : "619", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "620", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "621", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "610", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "611", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "612", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "12", - "type" : "Literal" - } - } - } - }, { - "localId" : "629", - "name" : "Date1_2Interval", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "629", - "s" : [ { - "value" : [ "","define ","Date1_2Interval",": " ] - }, { - "r" : "654", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "638", - "s" : [ { - "r" : "630", - "value" : [ "Date","(","2012",", ","1",", ","1",")" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "650", - "s" : [ { - "r" : "642", - "value" : [ "Date","(","2012",", ","1",", ","2",")" ] - } ] - }, { - "value" : [ "]" ] - } ] - } ] - } - } ], + "type" : "IntervalTypeSpecifier", + "localId" : "322", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "323", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "low" : { + "type" : "Literal", + "localId" : "319", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "high" : { + "type" : "Literal", + "localId" : "320", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "5", + "annotation" : [ ] + } + }, { + "type" : "Interval", + "localId" : "326", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], "resultTypeSpecifier" : { - "localId" : "657", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "658", - "name" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "NamedTypeSpecifier" - } - }, - "expression" : { - "localId" : "654", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "655", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "656", - "name" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "638", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "Date", - "signature" : [ { - "localId" : "639", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "640", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "641", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "630", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "631", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "632", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - } - }, - "high" : { - "localId" : "650", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "Date", - "signature" : [ { - "localId" : "651", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "652", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "653", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "642", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "643", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "644", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal" - } - } - } - }, { - "localId" : "661", - "name" : "Date3_15Interval", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "661", - "s" : [ { - "value" : [ "","define ","Date3_15Interval",": " ] - }, { - "r" : "686", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "670", - "s" : [ { - "r" : "662", - "value" : [ "Date","(","2012",", ","1",", ","3",")" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "682", - "s" : [ { - "r" : "674", - "value" : [ "Date","(","2012",", ","1",", ","15",")" ] - } ] - }, { - "value" : [ "]" ] - } ] - } ] - } - } ], + "type" : "IntervalTypeSpecifier", + "localId" : "327", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "328", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "low" : { + "type" : "Literal", + "localId" : "324", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "5", + "annotation" : [ ] + }, + "high" : { + "type" : "Literal", + "localId" : "325", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "10", + "annotation" : [ ] + } + } ] + } + }, { + "localId" : "340", + "name" : "IntOverlapsIntersect", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "340", + "s" : [ { + "value" : [ "", "define ", "IntOverlapsIntersect", ": " ] + }, { + "r" : "351", + "s" : [ { + "r" : "343", + "s" : [ { + "r" : "341", + "value" : [ "Interval[", "0", ",", "7", "]" ] + } ] + }, { + "value" : [ " intersect " ] + }, { + "r" : "348", + "s" : [ { + "r" : "346", + "value" : [ "Interval[", "5", ",", "10", "]" ] + } ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "358", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "359", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "expression" : { + "type" : "Intersect", + "localId" : "351", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "356", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "357", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "352", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "353", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "354", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "355", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "Interval", + "localId" : "343", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], "resultTypeSpecifier" : { - "localId" : "689", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "690", - "name" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "NamedTypeSpecifier" - } - }, - "expression" : { - "localId" : "686", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "687", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "688", - "name" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "670", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "Date", - "signature" : [ { - "localId" : "671", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "672", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "673", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "662", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "663", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "664", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - } - }, - "high" : { - "localId" : "682", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "Date", - "signature" : [ { - "localId" : "683", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "684", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "685", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "674", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "675", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "676", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal" - } - } - } - }, { - "localId" : "693", - "name" : "Date4_15Interval", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "693", - "s" : [ { - "value" : [ "","define ","Date4_15Interval",": " ] - }, { - "r" : "718", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "702", - "s" : [ { - "r" : "694", - "value" : [ "Date","(","2012",", ","1",", ","4",")" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "714", - "s" : [ { - "r" : "706", - "value" : [ "Date","(","2012",", ","1",", ","15",")" ] - } ] - }, { - "value" : [ "]" ] - } ] - } ] - } - } ], + "type" : "IntervalTypeSpecifier", + "localId" : "344", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "345", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "low" : { + "type" : "Literal", + "localId" : "341", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "high" : { + "type" : "Literal", + "localId" : "342", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "7", + "annotation" : [ ] + } + }, { + "type" : "Interval", + "localId" : "348", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], "resultTypeSpecifier" : { - "localId" : "721", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "722", - "name" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "NamedTypeSpecifier" - } - }, - "expression" : { - "localId" : "718", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "719", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "720", - "name" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "702", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "Date", - "signature" : [ { - "localId" : "703", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "704", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "705", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "694", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "695", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "696", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "4", - "type" : "Literal" - } - }, - "high" : { - "localId" : "714", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "Date", - "signature" : [ { - "localId" : "715", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "716", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "717", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "706", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "707", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "708", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal" - } - } - } - }, { - "localId" : "725", - "name" : "Date1_15Interval", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "725", - "s" : [ { - "value" : [ "","define ","Date1_15Interval",": " ] - }, { - "r" : "750", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "734", - "s" : [ { - "r" : "726", - "value" : [ "Date","(","2012",", ","1",", ","1",")" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "746", - "s" : [ { - "r" : "738", - "value" : [ "Date","(","2012",", ","1",", ","15",")" ] - } ] - }, { - "value" : [ "]" ] - } ] - } ] - } - } ], + "type" : "IntervalTypeSpecifier", + "localId" : "349", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "350", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "low" : { + "type" : "Literal", + "localId" : "346", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "5", + "annotation" : [ ] + }, + "high" : { + "type" : "Literal", + "localId" : "347", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "10", + "annotation" : [ ] + } + } ] + } + }, { + "localId" : "362", + "name" : "IntBeginsIntersect", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "362", + "s" : [ { + "value" : [ "", "define ", "IntBeginsIntersect", ": " ] + }, { + "r" : "373", + "s" : [ { + "r" : "365", + "s" : [ { + "r" : "363", + "value" : [ "Interval[", "0", ",", "5", "]" ] + } ] + }, { + "value" : [ " intersect " ] + }, { + "r" : "370", + "s" : [ { + "r" : "368", + "value" : [ "Interval[", "0", ",", "10", "]" ] + } ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "380", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "381", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "expression" : { + "type" : "Intersect", + "localId" : "373", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "378", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "379", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "374", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "375", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "376", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "377", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "Interval", + "localId" : "365", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], "resultTypeSpecifier" : { - "localId" : "753", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "754", - "name" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "NamedTypeSpecifier" - } - }, - "expression" : { - "localId" : "750", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "751", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "752", - "name" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "734", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "Date", - "signature" : [ { - "localId" : "735", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "736", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "737", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "726", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "727", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "728", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - } - }, - "high" : { - "localId" : "746", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "Date", - "signature" : [ { - "localId" : "747", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "748", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "749", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "738", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "739", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "740", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal" - } - } - } - }, { - "localId" : "757", - "name" : "OverlappingDateCollapseNoPer", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "757", - "s" : [ { - "value" : [ "","define ","OverlappingDateCollapseNoPer",": " ] - }, { - "r" : "769", - "s" : [ { - "value" : [ "collapse " ] - }, { - "r" : "758", - "s" : [ { - "value" : [ "{ " ] - }, { - "r" : "759", - "s" : [ { - "value" : [ "Date1_12Interval" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "762", - "s" : [ { - "value" : [ "Date3_15Interval" ] - } ] - }, { - "value" : [ " }" ] - } ] - } ] - } ] - } - } ], + "type" : "IntervalTypeSpecifier", + "localId" : "366", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "367", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "low" : { + "type" : "Literal", + "localId" : "363", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "high" : { + "type" : "Literal", + "localId" : "364", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "5", + "annotation" : [ ] + } + }, { + "type" : "Interval", + "localId" : "370", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], "resultTypeSpecifier" : { - "localId" : "777", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "778", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "779", - "name" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "NamedTypeSpecifier" - } - } - }, - "expression" : { - "localId" : "769", - "type" : "Collapse", - "resultTypeSpecifier" : { - "localId" : "774", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "775", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "776", - "name" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "NamedTypeSpecifier" - } - } - }, - "signature" : [ { - "localId" : "770", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "771", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "772", - "name" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "NamedTypeSpecifier" - } - } - }, { - "localId" : "773", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "758", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "765", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "766", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "767", - "name" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "NamedTypeSpecifier" - } - } - }, - "element" : [ { - "localId" : "759", - "name" : "Date1_12Interval", - "type" : "ExpressionRef", - "resultTypeSpecifier" : { - "localId" : "760", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "761", - "name" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "NamedTypeSpecifier" - } - } - }, { - "localId" : "762", - "name" : "Date3_15Interval", - "type" : "ExpressionRef", - "resultTypeSpecifier" : { - "localId" : "763", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "764", - "name" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "NamedTypeSpecifier" - } - } - } ] - }, { - "localId" : "768", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "Null" - } ] - } - }, { - "localId" : "782", - "name" : "AdjacentDateCollapseNoPer", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "782", - "s" : [ { - "value" : [ "","define ","AdjacentDateCollapseNoPer",": " ] - }, { - "r" : "794", - "s" : [ { - "value" : [ "collapse " ] - }, { - "r" : "783", - "s" : [ { - "value" : [ "{ " ] - }, { - "r" : "784", - "s" : [ { - "value" : [ "Date1_2Interval" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "787", - "s" : [ { - "value" : [ "Date3_15Interval" ] - } ] - }, { - "value" : [ " }" ] - } ] - } ] - } ] - } - } ], + "type" : "IntervalTypeSpecifier", + "localId" : "371", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "372", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "low" : { + "type" : "Literal", + "localId" : "368", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "high" : { + "type" : "Literal", + "localId" : "369", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "10", + "annotation" : [ ] + } + } ] + } + }, { + "localId" : "384", + "name" : "IntDuringIntersect", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "384", + "s" : [ { + "value" : [ "", "define ", "IntDuringIntersect", ": " ] + }, { + "r" : "395", + "s" : [ { + "r" : "387", + "s" : [ { + "r" : "385", + "value" : [ "Interval[", "3", ",", "5", "]" ] + } ] + }, { + "value" : [ " intersect " ] + }, { + "r" : "392", + "s" : [ { + "r" : "390", + "value" : [ "Interval[", "0", ",", "10", "]" ] + } ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "402", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "403", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "expression" : { + "type" : "Intersect", + "localId" : "395", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "400", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "401", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "396", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "397", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "398", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "399", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "Interval", + "localId" : "387", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], "resultTypeSpecifier" : { - "localId" : "802", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "803", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "804", - "name" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "NamedTypeSpecifier" - } - } + "type" : "IntervalTypeSpecifier", + "localId" : "388", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "389", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } }, - "expression" : { - "localId" : "794", - "type" : "Collapse", - "resultTypeSpecifier" : { - "localId" : "799", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "800", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "801", - "name" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "NamedTypeSpecifier" - } - } - }, - "signature" : [ { - "localId" : "795", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "796", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "797", - "name" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "NamedTypeSpecifier" - } - } - }, { - "localId" : "798", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "783", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "790", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "791", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "792", - "name" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "NamedTypeSpecifier" - } - } - }, - "element" : [ { - "localId" : "784", - "name" : "Date1_2Interval", - "type" : "ExpressionRef", - "resultTypeSpecifier" : { - "localId" : "785", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "786", - "name" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "NamedTypeSpecifier" - } - } - }, { - "localId" : "787", - "name" : "Date3_15Interval", - "type" : "ExpressionRef", - "resultTypeSpecifier" : { - "localId" : "788", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "789", - "name" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "NamedTypeSpecifier" - } - } - } ] - }, { - "localId" : "793", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "Null" - } ] - } - }, { - "localId" : "807", - "name" : "DisjointDateCollapseNoPer", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "807", - "s" : [ { - "value" : [ "","define ","DisjointDateCollapseNoPer",": " ] - }, { - "r" : "819", - "s" : [ { - "value" : [ "collapse " ] - }, { - "r" : "808", - "s" : [ { - "value" : [ "{ " ] - }, { - "r" : "809", - "s" : [ { - "value" : [ "Date1_2Interval" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "812", - "s" : [ { - "value" : [ "Date4_15Interval" ] - } ] - }, { - "value" : [ " }" ] - } ] - } ] - } ] - } - } ], + "low" : { + "type" : "Literal", + "localId" : "385", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "high" : { + "type" : "Literal", + "localId" : "386", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "5", + "annotation" : [ ] + } + }, { + "type" : "Interval", + "localId" : "392", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], "resultTypeSpecifier" : { - "localId" : "827", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "828", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "829", - "name" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "NamedTypeSpecifier" - } - } + "type" : "IntervalTypeSpecifier", + "localId" : "393", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "394", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "low" : { + "type" : "Literal", + "localId" : "390", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "high" : { + "type" : "Literal", + "localId" : "391", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "10", + "annotation" : [ ] + } + } ] + } + }, { + "localId" : "406", + "name" : "IntEndsIntersect", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "406", + "s" : [ { + "value" : [ "", "define ", "IntEndsIntersect", ": " ] + }, { + "r" : "417", + "s" : [ { + "r" : "409", + "s" : [ { + "r" : "407", + "value" : [ "Interval[", "5", ",", "10", "]" ] + } ] + }, { + "value" : [ " intersect " ] + }, { + "r" : "414", + "s" : [ { + "r" : "412", + "value" : [ "Interval[", "0", ",", "10", "]" ] + } ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "424", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "425", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "expression" : { + "type" : "Intersect", + "localId" : "417", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "422", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "423", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "418", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "419", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "420", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "421", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "Interval", + "localId" : "409", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "410", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "411", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "low" : { + "type" : "Literal", + "localId" : "407", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "5", + "annotation" : [ ] + }, + "high" : { + "type" : "Literal", + "localId" : "408", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "10", + "annotation" : [ ] + } + }, { + "type" : "Interval", + "localId" : "414", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "415", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "416", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "low" : { + "type" : "Literal", + "localId" : "412", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "high" : { + "type" : "Literal", + "localId" : "413", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "10", + "annotation" : [ ] + } + } ] + } + } ] + } + } +} + +/* DateTimeIntervalIntersect +library TestSnippet version '1' +using Simple version '1.0.0' +context Patient +define DateTimeFullInterval: Interval[DateTime(2012, 1, 1, 0, 0, 0, 0), DateTime(2013, 1, 1, 0, 0, 0, 0)] +define DateTimeMeetsInterval: Interval[DateTime(2012, 6, 1, 0, 0, 0, 0), DateTime(2012, 6, 1, 0, 0, 0, 0)] +define DateTimeOverlapsInterval: Interval[DateTime(2012, 6, 1, 0, 0, 0, 0), DateTime(2012, 7, 1, 0, 0, 0, 0)] +define DateTimeBeginsInterval: Interval[DateTime(2012, 1, 1, 0, 0, 0, 0), DateTime(2012, 6, 1, 0, 0, 0, 0)] +define DateTimeDuringInterval: Interval[DateTime(2012, 3, 1, 0, 0, 0, 0), DateTime(2012, 5, 1, 0, 0, 0, 0)] +define DateTimeEndsInterval: Interval[DateTime(2012, 6, 1, 0, 0, 0, 0), DateTime(2013, 1, 1, 0, 0, 0, 0)] +define DateTimeSameAsIntersect: Interval[DateTime(2012, 1, 1, 0, 0, 0, 0), DateTime(2013, 1, 1, 0, 0, 0, 0)] intersect Interval[DateTime(2012, 1, 1, 0, 0, 0, 0), DateTime(2013, 1, 1, 0, 0, 0, 0)] +define DateTimeBeforeIntersect: Interval[DateTime(2012, 1, 1, 0, 0, 0, 0), DateTime(2012, 4, 1, 0, 0, 0, 0)] intersect Interval[DateTime(2012, 7, 1, 0, 0, 0, 0), DateTime(2013, 1, 1, 0, 0, 0, 0)] +define DateTimeMeetsIntersect: Interval[DateTime(2012, 1, 1, 0, 0, 0, 0), DateTime(2012, 6, 1, 0, 0, 0, 0)] intersect Interval[DateTime(2012, 6, 1, 0, 0, 0, 0), DateTime(2013, 1, 1, 0, 0, 0, 0)] +define DateTimeOverlapsIntersect: Interval[DateTime(2012, 1, 1, 0, 0, 0, 0), DateTime(2012, 7, 1, 0, 0, 0, 0)] intersect Interval[DateTime(2012, 6, 1, 0, 0, 0, 0), DateTime(2013, 1, 1, 0, 0, 0, 0)] +define DateTimeBeginsIntersect: Interval[DateTime(2012, 1, 1, 0, 0, 0, 0), DateTime(2012, 6, 1, 0, 0, 0, 0)] intersect Interval[DateTime(2012, 1, 1, 0, 0, 0, 0), DateTime(2013, 1, 1, 0, 0, 0, 0)] +define DateTimeDuringIntersect: Interval[DateTime(2012, 3, 1, 0, 0, 0, 0), DateTime(2012, 5, 1, 0, 0, 0, 0)] intersect Interval[DateTime(2012, 1, 1, 0, 0, 0, 0), DateTime(2013, 1, 1, 0, 0, 0, 0)] +define DateTimeEndsIntersect: Interval[DateTime(2012, 6, 1, 0, 0, 0, 0), DateTime(2013, 1, 1, 0, 0, 0, 0)] intersect Interval[DateTime(2012, 1, 1, 0, 0, 0, 0), DateTime(2013, 1, 1, 0, 0, 0, 0)] +*/ + +module.exports['DateTimeIntervalIntersect'] = { + "library" : { + "localId" : "0", + "annotation" : [ { + "type" : "CqlToElmInfo", + "translatorVersion" : "4.2.0", + "translatorOptions" : "EnableDateRangeOptimization,EnableAnnotations,EnableResultTypes", + "signatureLevel" : "All" + }, { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "1234", + "s" : [ { + "value" : [ "", "library TestSnippet version '1'" ] + } ] + } + } ], + "identifier" : { + "id" : "TestSnippet", + "version" : "1" + }, + "schemaIdentifier" : { + "id" : "urn:hl7-org:elm", + "version" : "r1" + }, + "usings" : { + "def" : [ { + "localId" : "1", + "localIdentifier" : "System", + "uri" : "urn:hl7-org:elm-types:r1", + "annotation" : [ ] + }, { + "localId" : "206", + "localIdentifier" : "Simple", + "uri" : "https://github.com/cqframework/cql-execution/simple", + "version" : "1.0.0", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "206", + "s" : [ { + "value" : [ "", "using " ] + }, { + "s" : [ { + "value" : [ "Simple" ] + } ] + }, { + "value" : [ " version '1.0.0'" ] + } ] + } + } ] + } ] + }, + "contexts" : { + "def" : [ { + "localId" : "211", + "name" : "Patient", + "annotation" : [ ] + } ] + }, + "statements" : { + "def" : [ { + "localId" : "209", + "name" : "Patient", + "context" : "Patient", + "annotation" : [ ], + "expression" : { + "type" : "SingletonFrom", + "localId" : "210", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Retrieve", + "localId" : "208", + "dataType" : "{https://github.com/cqframework/cql-execution/simple}Patient", + "annotation" : [ ], + "include" : [ ], + "codeFilter" : [ ], + "dateFilter" : [ ], + "otherFilter" : [ ] + } + } + }, { + "localId" : "214", + "name" : "DateTimeFullInterval", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "214", + "s" : [ { + "value" : [ "", "define ", "DateTimeFullInterval", ": " ] + }, { + "r" : "263", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "231", + "s" : [ { + "r" : "215", + "value" : [ "DateTime", "(", "2012", ", ", "1", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "255", + "s" : [ { + "r" : "239", + "value" : [ "DateTime", "(", "2013", ", ", "1", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ "]" ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "266", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "267", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "expression" : { + "type" : "Interval", + "localId" : "263", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "264", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "265", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "DateTime", + "localId" : "231", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "232", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "233", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "234", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "235", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "236", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "237", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "238", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "215", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "216", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "217", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "218", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "219", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "220", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "221", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "255", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "256", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "257", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "258", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "259", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "260", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "261", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "262", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "239", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2013", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "240", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "241", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "242", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "243", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "244", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "245", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + } + } + }, { + "localId" : "270", + "name" : "DateTimeMeetsInterval", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "270", + "s" : [ { + "value" : [ "", "define ", "DateTimeMeetsInterval", ": " ] + }, { + "r" : "319", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "287", + "s" : [ { + "r" : "271", + "value" : [ "DateTime", "(", "2012", ", ", "6", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "311", + "s" : [ { + "r" : "295", + "value" : [ "DateTime", "(", "2012", ", ", "6", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ "]" ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "322", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "323", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "expression" : { + "type" : "Interval", + "localId" : "319", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "320", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "321", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "DateTime", + "localId" : "287", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "288", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "289", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "290", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "291", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "292", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "293", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "294", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "271", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "272", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "6", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "273", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "274", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "275", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "276", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "277", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "311", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "312", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "313", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "314", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "315", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "316", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "317", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "318", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "295", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "296", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "6", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "297", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "298", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "299", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "300", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "301", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + } + } + }, { + "localId" : "326", + "name" : "DateTimeOverlapsInterval", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "326", + "s" : [ { + "value" : [ "", "define ", "DateTimeOverlapsInterval", ": " ] + }, { + "r" : "375", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "343", + "s" : [ { + "r" : "327", + "value" : [ "DateTime", "(", "2012", ", ", "6", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "367", + "s" : [ { + "r" : "351", + "value" : [ "DateTime", "(", "2012", ", ", "7", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ "]" ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "378", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "379", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "expression" : { + "type" : "Interval", + "localId" : "375", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "376", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "377", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "DateTime", + "localId" : "343", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "344", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "345", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "346", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "347", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "348", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "349", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "350", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "327", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "328", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "6", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "329", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "330", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "331", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "332", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "333", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "367", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "368", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "369", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "370", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "371", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "372", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "373", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "374", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "351", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "352", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "7", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "353", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "354", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "355", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "356", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "357", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + } + } + }, { + "localId" : "382", + "name" : "DateTimeBeginsInterval", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "382", + "s" : [ { + "value" : [ "", "define ", "DateTimeBeginsInterval", ": " ] + }, { + "r" : "431", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "399", + "s" : [ { + "r" : "383", + "value" : [ "DateTime", "(", "2012", ", ", "1", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "423", + "s" : [ { + "r" : "407", + "value" : [ "DateTime", "(", "2012", ", ", "6", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ "]" ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "434", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "435", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "expression" : { + "type" : "Interval", + "localId" : "431", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "432", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "433", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "DateTime", + "localId" : "399", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "400", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "401", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "402", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "403", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "404", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "405", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "406", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "383", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "384", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "385", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "386", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "387", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "388", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "389", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "423", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "424", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "425", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "426", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "427", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "428", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "429", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "430", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "407", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "408", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "6", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "409", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "410", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "411", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "412", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "413", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + } + } + }, { + "localId" : "438", + "name" : "DateTimeDuringInterval", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "438", + "s" : [ { + "value" : [ "", "define ", "DateTimeDuringInterval", ": " ] + }, { + "r" : "487", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "455", + "s" : [ { + "r" : "439", + "value" : [ "DateTime", "(", "2012", ", ", "3", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "479", + "s" : [ { + "r" : "463", + "value" : [ "DateTime", "(", "2012", ", ", "5", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ "]" ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "490", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "491", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "expression" : { + "type" : "Interval", + "localId" : "487", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "488", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "489", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "DateTime", + "localId" : "455", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "456", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "457", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "458", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "459", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "460", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "461", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "462", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "439", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "440", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "441", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "442", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "443", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "444", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "445", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "479", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "480", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "481", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "482", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "483", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "484", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "485", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "486", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "463", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "464", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "5", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "465", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "466", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "467", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "468", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "469", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + } + } + }, { + "localId" : "494", + "name" : "DateTimeEndsInterval", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "494", + "s" : [ { + "value" : [ "", "define ", "DateTimeEndsInterval", ": " ] + }, { + "r" : "543", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "511", + "s" : [ { + "r" : "495", + "value" : [ "DateTime", "(", "2012", ", ", "6", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "535", + "s" : [ { + "r" : "519", + "value" : [ "DateTime", "(", "2013", ", ", "1", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ "]" ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "546", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "547", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "expression" : { + "type" : "Interval", + "localId" : "543", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "544", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "545", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "DateTime", + "localId" : "511", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "512", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "513", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "514", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "515", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "516", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "517", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "518", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "495", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "496", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "6", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "497", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "498", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "499", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "500", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "501", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "535", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "536", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "537", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "538", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "539", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "540", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "541", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "542", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "519", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2013", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "520", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "521", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "522", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "523", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "524", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "525", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + } + } + }, { + "localId" : "550", + "name" : "DateTimeSameAsIntersect", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "550", + "s" : [ { + "value" : [ "", "define ", "DateTimeSameAsIntersect", ": " ] + }, { + "r" : "653", + "s" : [ { + "r" : "599", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "567", + "s" : [ { + "r" : "551", + "value" : [ "DateTime", "(", "2012", ", ", "1", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "591", + "s" : [ { + "r" : "575", + "value" : [ "DateTime", "(", "2013", ", ", "1", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ "]" ] + } ] + }, { + "value" : [ " intersect " ] + }, { + "r" : "650", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "618", + "s" : [ { + "r" : "602", + "value" : [ "DateTime", "(", "2012", ", ", "1", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "642", + "s" : [ { + "r" : "626", + "value" : [ "DateTime", "(", "2013", ", ", "1", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ "]" ] + } ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "660", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "661", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "expression" : { + "type" : "Intersect", + "localId" : "653", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "658", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "659", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "654", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "655", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "656", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "657", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "Interval", + "localId" : "599", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "600", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "601", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } }, - "expression" : { - "localId" : "819", - "type" : "Collapse", - "resultTypeSpecifier" : { - "localId" : "824", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "825", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "826", - "name" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "NamedTypeSpecifier" - } - } - }, - "signature" : [ { - "localId" : "820", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "821", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "822", - "name" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "NamedTypeSpecifier" - } - } - }, { - "localId" : "823", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "808", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "815", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "816", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "817", - "name" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "NamedTypeSpecifier" - } - } - }, - "element" : [ { - "localId" : "809", - "name" : "Date1_2Interval", - "type" : "ExpressionRef", - "resultTypeSpecifier" : { - "localId" : "810", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "811", - "name" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "NamedTypeSpecifier" - } - } - }, { - "localId" : "812", - "name" : "Date4_15Interval", - "type" : "ExpressionRef", - "resultTypeSpecifier" : { - "localId" : "813", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "814", - "name" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "NamedTypeSpecifier" - } - } - } ] - }, { - "localId" : "818", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "Null" - } ] - } - }, { - "localId" : "832", - "name" : "DateCollapsePerDay", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "832", - "s" : [ { - "value" : [ "","define ","DateCollapsePerDay",": " ] - }, { - "r" : "845", - "s" : [ { - "value" : [ "collapse " ] - }, { - "r" : "833", - "s" : [ { - "value" : [ "{ " ] - }, { - "r" : "834", - "s" : [ { - "value" : [ "Date1_2Interval" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "837", - "s" : [ { - "value" : [ "Date4_15Interval" ] - } ] - }, { - "value" : [ " }" ] - } ] - }, { - "value" : [ " per ","day" ] - } ] - } ] - } - } ], + "low" : { + "type" : "DateTime", + "localId" : "567", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "568", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "569", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "570", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "571", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "572", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "573", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "574", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "551", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "552", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "553", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "554", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "555", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "556", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "557", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "591", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "592", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "593", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "594", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "595", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "596", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "597", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "598", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "575", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2013", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "576", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "577", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "578", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "579", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "580", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "581", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + } + }, { + "type" : "Interval", + "localId" : "650", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], "resultTypeSpecifier" : { - "localId" : "853", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "854", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "855", - "name" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "NamedTypeSpecifier" - } - } - }, - "expression" : { - "localId" : "845", - "type" : "Collapse", - "resultTypeSpecifier" : { - "localId" : "850", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "851", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "852", - "name" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "NamedTypeSpecifier" - } - } - }, - "signature" : [ { - "localId" : "846", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "847", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "848", - "name" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "NamedTypeSpecifier" - } - } - }, { - "localId" : "849", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "833", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "840", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "841", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "842", - "name" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "NamedTypeSpecifier" - } - } - }, - "element" : [ { - "localId" : "834", - "name" : "Date1_2Interval", - "type" : "ExpressionRef", - "resultTypeSpecifier" : { - "localId" : "835", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "836", - "name" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "NamedTypeSpecifier" - } - } - }, { - "localId" : "837", - "name" : "Date4_15Interval", - "type" : "ExpressionRef", - "resultTypeSpecifier" : { - "localId" : "838", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "839", - "name" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "NamedTypeSpecifier" - } - } - } ] - }, { - "localId" : "844", - "value" : 1.0, - "unit" : "day", - "type" : "Quantity" - } ] - } - }, { - "localId" : "858", - "name" : "DateCollapsePerMonth", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "858", + "type" : "IntervalTypeSpecifier", + "localId" : "651", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "652", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "DateTime", + "localId" : "618", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "619", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "620", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "621", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "622", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "623", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "624", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "625", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "602", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "603", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "604", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "605", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "606", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "607", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "608", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "642", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "643", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "644", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "645", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "646", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "647", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "648", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "649", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "626", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2013", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "627", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "628", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "629", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "630", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "631", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "632", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + } + } ] + } + }, { + "localId" : "664", + "name" : "DateTimeBeforeIntersect", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "664", + "s" : [ { + "value" : [ "", "define ", "DateTimeBeforeIntersect", ": " ] + }, { + "r" : "767", + "s" : [ { + "r" : "713", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "681", + "s" : [ { + "r" : "665", + "value" : [ "DateTime", "(", "2012", ", ", "1", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "705", + "s" : [ { + "r" : "689", + "value" : [ "DateTime", "(", "2012", ", ", "4", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ "]" ] + } ] + }, { + "value" : [ " intersect " ] + }, { + "r" : "764", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "732", "s" : [ { - "value" : [ "","define ","DateCollapsePerMonth",": " ] - }, { - "r" : "871", - "s" : [ { - "value" : [ "collapse " ] - }, { - "r" : "859", - "s" : [ { - "value" : [ "{ " ] - }, { - "r" : "860", - "s" : [ { - "value" : [ "Date1_2Interval" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "863", - "s" : [ { - "value" : [ "Date4_15Interval" ] - } ] - }, { - "value" : [ " }" ] - } ] - }, { - "value" : [ " per ","month" ] - } ] - } ] - } - } ], - "resultTypeSpecifier" : { - "localId" : "879", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "880", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "881", - "name" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "NamedTypeSpecifier" - } - } - }, - "expression" : { - "localId" : "871", - "type" : "Collapse", - "resultTypeSpecifier" : { - "localId" : "876", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "877", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "878", - "name" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "NamedTypeSpecifier" - } - } - }, - "signature" : [ { - "localId" : "872", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "873", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "874", - "name" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "NamedTypeSpecifier" - } - } - }, { - "localId" : "875", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "859", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "866", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "867", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "868", - "name" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "NamedTypeSpecifier" - } - } - }, - "element" : [ { - "localId" : "860", - "name" : "Date1_2Interval", - "type" : "ExpressionRef", - "resultTypeSpecifier" : { - "localId" : "861", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "862", - "name" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "NamedTypeSpecifier" - } - } - }, { - "localId" : "863", - "name" : "Date4_15Interval", - "type" : "ExpressionRef", - "resultTypeSpecifier" : { - "localId" : "864", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "865", - "name" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "NamedTypeSpecifier" - } - } - } ] - }, { - "localId" : "870", - "value" : 1.0, - "unit" : "month", - "type" : "Quantity" - } ] - } - }, { - "localId" : "884", - "name" : "Time1_12Interval", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "884", + "r" : "716", + "value" : [ "DateTime", "(", "2012", ", ", "7", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "756", "s" : [ { - "value" : [ "// Time Intervals\n","define ","Time1_12Interval",": " ] - }, { - "r" : "909", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "893", - "s" : [ { - "r" : "885", - "value" : [ "Time","(","0",", ","0",", ","1",")" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "905", - "s" : [ { - "r" : "897", - "value" : [ "Time","(","0",", ","0",", ","12",")" ] - } ] - }, { - "value" : [ "]" ] - } ] - } ] - } - } ], + "r" : "740", + "value" : [ "DateTime", "(", "2013", ", ", "1", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ "]" ] + } ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "774", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "775", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "expression" : { + "type" : "Intersect", + "localId" : "767", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "772", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "773", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "768", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "769", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "770", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "771", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "Interval", + "localId" : "713", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], "resultTypeSpecifier" : { - "localId" : "912", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "913", - "name" : "{urn:hl7-org:elm-types:r1}Time", - "type" : "NamedTypeSpecifier" - } - }, - "expression" : { - "localId" : "909", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "910", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "911", - "name" : "{urn:hl7-org:elm-types:r1}Time", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "893", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Time", - "type" : "Time", - "signature" : [ { - "localId" : "894", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "895", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "896", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "hour" : { - "localId" : "885", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "886", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "887", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - } - }, - "high" : { - "localId" : "905", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Time", - "type" : "Time", - "signature" : [ { - "localId" : "906", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "907", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "908", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "hour" : { - "localId" : "897", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "898", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "899", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "12", - "type" : "Literal" - } - } - } - }, { - "localId" : "916", - "name" : "Time1_2Interval", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "916", - "s" : [ { - "value" : [ "","define ","Time1_2Interval",": " ] - }, { - "r" : "941", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "925", - "s" : [ { - "r" : "917", - "value" : [ "Time","(","0",", ","0",", ","1",")" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "937", - "s" : [ { - "r" : "929", - "value" : [ "Time","(","0",", ","0",", ","2",")" ] - } ] - }, { - "value" : [ "]" ] - } ] - } ] - } - } ], + "type" : "IntervalTypeSpecifier", + "localId" : "714", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "715", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "DateTime", + "localId" : "681", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "682", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "683", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "684", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "685", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "686", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "687", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "688", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "665", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "666", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "667", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "668", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "669", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "670", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "671", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "705", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "706", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "707", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "708", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "709", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "710", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "711", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "712", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "689", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "690", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "4", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "691", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "692", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "693", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "694", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "695", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + } + }, { + "type" : "Interval", + "localId" : "764", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], "resultTypeSpecifier" : { - "localId" : "944", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "945", - "name" : "{urn:hl7-org:elm-types:r1}Time", - "type" : "NamedTypeSpecifier" - } - }, - "expression" : { - "localId" : "941", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "942", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "943", - "name" : "{urn:hl7-org:elm-types:r1}Time", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "925", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Time", - "type" : "Time", - "signature" : [ { - "localId" : "926", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "927", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "928", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "hour" : { - "localId" : "917", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "918", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "919", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - } - }, - "high" : { - "localId" : "937", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Time", - "type" : "Time", - "signature" : [ { - "localId" : "938", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "939", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "940", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "hour" : { - "localId" : "929", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "930", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "931", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal" - } - } - } - }, { - "localId" : "948", - "name" : "Time3_15Interval", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "948", - "s" : [ { - "value" : [ "","define ","Time3_15Interval",": " ] - }, { - "r" : "973", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "957", - "s" : [ { - "r" : "949", - "value" : [ "Time","(","0",", ","0",", ","3",")" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "969", - "s" : [ { - "r" : "961", - "value" : [ "Time","(","0",", ","0",", ","15",")" ] - } ] - }, { - "value" : [ "]" ] - } ] - } ] - } - } ], + "type" : "IntervalTypeSpecifier", + "localId" : "765", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "766", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "DateTime", + "localId" : "732", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "733", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "734", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "735", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "736", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "737", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "738", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "739", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "716", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "717", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "7", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "718", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "719", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "720", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "721", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "722", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "756", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "757", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "758", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "759", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "760", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "761", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "762", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "763", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "740", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2013", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "741", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "742", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "743", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "744", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "745", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "746", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + } + } ] + } + }, { + "localId" : "778", + "name" : "DateTimeMeetsIntersect", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "778", + "s" : [ { + "value" : [ "", "define ", "DateTimeMeetsIntersect", ": " ] + }, { + "r" : "881", + "s" : [ { + "r" : "827", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "795", + "s" : [ { + "r" : "779", + "value" : [ "DateTime", "(", "2012", ", ", "1", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "819", + "s" : [ { + "r" : "803", + "value" : [ "DateTime", "(", "2012", ", ", "6", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ "]" ] + } ] + }, { + "value" : [ " intersect " ] + }, { + "r" : "878", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "846", + "s" : [ { + "r" : "830", + "value" : [ "DateTime", "(", "2012", ", ", "6", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "870", + "s" : [ { + "r" : "854", + "value" : [ "DateTime", "(", "2013", ", ", "1", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ "]" ] + } ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "888", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "889", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "expression" : { + "type" : "Intersect", + "localId" : "881", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "886", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "887", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "882", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "883", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "884", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "885", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "Interval", + "localId" : "827", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], "resultTypeSpecifier" : { - "localId" : "976", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "977", - "name" : "{urn:hl7-org:elm-types:r1}Time", - "type" : "NamedTypeSpecifier" - } - }, - "expression" : { - "localId" : "973", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "974", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "975", - "name" : "{urn:hl7-org:elm-types:r1}Time", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "957", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Time", - "type" : "Time", - "signature" : [ { - "localId" : "958", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "959", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "960", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "hour" : { - "localId" : "949", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "950", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "951", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - } - }, - "high" : { - "localId" : "969", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Time", - "type" : "Time", - "signature" : [ { - "localId" : "970", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "971", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "972", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "hour" : { - "localId" : "961", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "962", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "963", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal" - } - } - } - }, { - "localId" : "980", - "name" : "Time4_15Interval", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "980", - "s" : [ { - "value" : [ "","define ","Time4_15Interval",": " ] - }, { - "r" : "1005", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "989", - "s" : [ { - "r" : "981", - "value" : [ "Time","(","0",", ","0",", ","4",")" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "1001", - "s" : [ { - "r" : "993", - "value" : [ "Time","(","0",", ","0",", ","15",")" ] - } ] - }, { - "value" : [ "]" ] - } ] - } ] - } - } ], + "type" : "IntervalTypeSpecifier", + "localId" : "828", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "829", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "DateTime", + "localId" : "795", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "796", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "797", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "798", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "799", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "800", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "801", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "802", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "779", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "780", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "781", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "782", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "783", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "784", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "785", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "819", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "820", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "821", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "822", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "823", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "824", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "825", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "826", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "803", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "804", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "6", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "805", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "806", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "807", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "808", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "809", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + } + }, { + "type" : "Interval", + "localId" : "878", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], "resultTypeSpecifier" : { - "localId" : "1008", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1009", - "name" : "{urn:hl7-org:elm-types:r1}Time", - "type" : "NamedTypeSpecifier" - } - }, - "expression" : { - "localId" : "1005", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "1006", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1007", - "name" : "{urn:hl7-org:elm-types:r1}Time", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "989", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Time", - "type" : "Time", - "signature" : [ { - "localId" : "990", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "991", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "992", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "hour" : { - "localId" : "981", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "982", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "983", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "4", - "type" : "Literal" - } - }, - "high" : { - "localId" : "1001", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Time", - "type" : "Time", - "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" - }, { - "localId" : "1004", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "hour" : { - "localId" : "993", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "994", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "995", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal" - } - } - } - }, { - "localId" : "1012", - "name" : "Time1_15Interval", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "1012", + "type" : "IntervalTypeSpecifier", + "localId" : "879", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "880", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "DateTime", + "localId" : "846", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "847", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "848", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "849", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "850", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "851", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "852", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "853", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "830", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "831", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "6", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "832", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "833", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "834", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "835", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "836", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "870", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "871", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "872", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "873", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "874", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "875", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "876", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "877", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "854", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2013", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "855", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "856", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "857", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "858", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "859", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "860", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + } + } ] + } + }, { + "localId" : "892", + "name" : "DateTimeOverlapsIntersect", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "892", + "s" : [ { + "value" : [ "", "define ", "DateTimeOverlapsIntersect", ": " ] + }, { + "r" : "995", + "s" : [ { + "r" : "941", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "909", + "s" : [ { + "r" : "893", + "value" : [ "DateTime", "(", "2012", ", ", "1", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "933", "s" : [ { - "value" : [ "","define ","Time1_15Interval",": " ] - }, { - "r" : "1037", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "1021", - "s" : [ { - "r" : "1013", - "value" : [ "Time","(","0",", ","0",", ","1",")" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "1033", - "s" : [ { - "r" : "1025", - "value" : [ "Time","(","0",", ","0",", ","15",")" ] - } ] - }, { - "value" : [ "]" ] - } ] - } ] - } - } ], + "r" : "917", + "value" : [ "DateTime", "(", "2012", ", ", "7", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ "]" ] + } ] + }, { + "value" : [ " intersect " ] + }, { + "r" : "992", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "960", + "s" : [ { + "r" : "944", + "value" : [ "DateTime", "(", "2012", ", ", "6", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "984", + "s" : [ { + "r" : "968", + "value" : [ "DateTime", "(", "2013", ", ", "1", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ "]" ] + } ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1002", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1003", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "expression" : { + "type" : "Intersect", + "localId" : "995", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1000", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1001", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "996", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "997", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "998", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "999", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "Interval", + "localId" : "941", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], "resultTypeSpecifier" : { - "localId" : "1040", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1041", - "name" : "{urn:hl7-org:elm-types:r1}Time", - "type" : "NamedTypeSpecifier" - } - }, - "expression" : { - "localId" : "1037", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "1038", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1039", - "name" : "{urn:hl7-org:elm-types:r1}Time", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "1021", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Time", - "type" : "Time", - "signature" : [ { - "localId" : "1022", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1023", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1024", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "hour" : { - "localId" : "1013", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "1014", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "1015", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - } - }, - "high" : { - "localId" : "1033", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Time", - "type" : "Time", - "signature" : [ { - "localId" : "1034", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1035", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1036", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "hour" : { - "localId" : "1025", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "1026", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "1027", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal" - } - } - } - }, { - "localId" : "1044", - "name" : "OverlappingTimeCollapseNoPer", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "1044", + "type" : "IntervalTypeSpecifier", + "localId" : "942", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "943", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "DateTime", + "localId" : "909", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "910", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "911", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "912", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "913", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "914", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "915", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "916", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "893", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "894", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "895", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "896", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "897", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "898", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "899", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "933", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "934", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "935", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "936", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "937", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "938", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "939", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "940", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "917", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "918", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "7", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "919", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "920", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "921", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "922", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "923", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + } + }, { + "type" : "Interval", + "localId" : "992", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "993", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "994", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "DateTime", + "localId" : "960", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "961", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "962", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "963", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "964", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "965", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "966", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "967", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "944", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "945", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "6", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "946", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "947", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "948", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "949", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "950", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "984", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "985", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "986", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "987", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "988", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "989", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "990", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "991", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "968", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2013", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "969", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "970", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "971", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "972", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "973", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "974", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + } + } ] + } + }, { + "localId" : "1006", + "name" : "DateTimeBeginsIntersect", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "1006", + "s" : [ { + "value" : [ "", "define ", "DateTimeBeginsIntersect", ": " ] + }, { + "r" : "1109", + "s" : [ { + "r" : "1055", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "1023", + "s" : [ { + "r" : "1007", + "value" : [ "DateTime", "(", "2012", ", ", "1", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "1047", "s" : [ { - "value" : [ "","define ","OverlappingTimeCollapseNoPer",": " ] - }, { - "r" : "1056", - "s" : [ { - "value" : [ "collapse " ] - }, { - "r" : "1045", - "s" : [ { - "value" : [ "{ " ] - }, { - "r" : "1046", - "s" : [ { - "value" : [ "Time1_12Interval" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "1049", - "s" : [ { - "value" : [ "Time3_15Interval" ] - } ] - }, { - "value" : [ " }" ] - } ] - } ] - } ] - } - } ], + "r" : "1031", + "value" : [ "DateTime", "(", "2012", ", ", "6", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ "]" ] + } ] + }, { + "value" : [ " intersect " ] + }, { + "r" : "1106", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "1074", + "s" : [ { + "r" : "1058", + "value" : [ "DateTime", "(", "2012", ", ", "1", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "1098", + "s" : [ { + "r" : "1082", + "value" : [ "DateTime", "(", "2013", ", ", "1", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ "]" ] + } ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1116", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1117", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "expression" : { + "type" : "Intersect", + "localId" : "1109", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1114", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1115", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "1110", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1111", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "1112", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1113", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "Interval", + "localId" : "1055", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], "resultTypeSpecifier" : { - "localId" : "1064", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "1065", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1066", - "name" : "{urn:hl7-org:elm-types:r1}Time", - "type" : "NamedTypeSpecifier" - } - } - }, - "expression" : { - "localId" : "1056", - "type" : "Collapse", - "resultTypeSpecifier" : { - "localId" : "1061", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "1062", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1063", - "name" : "{urn:hl7-org:elm-types:r1}Time", - "type" : "NamedTypeSpecifier" - } - } - }, - "signature" : [ { - "localId" : "1057", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "1058", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1059", - "name" : "{urn:hl7-org:elm-types:r1}Time", - "type" : "NamedTypeSpecifier" - } - } - }, { - "localId" : "1060", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "1045", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "1052", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "1053", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1054", - "name" : "{urn:hl7-org:elm-types:r1}Time", - "type" : "NamedTypeSpecifier" - } - } - }, - "element" : [ { - "localId" : "1046", - "name" : "Time1_12Interval", - "type" : "ExpressionRef", - "resultTypeSpecifier" : { - "localId" : "1047", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1048", - "name" : "{urn:hl7-org:elm-types:r1}Time", - "type" : "NamedTypeSpecifier" - } - } - }, { - "localId" : "1049", - "name" : "Time3_15Interval", - "type" : "ExpressionRef", - "resultTypeSpecifier" : { - "localId" : "1050", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1051", - "name" : "{urn:hl7-org:elm-types:r1}Time", - "type" : "NamedTypeSpecifier" - } - } - } ] - }, { - "localId" : "1055", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "Null" - } ] - } - }, { - "localId" : "1069", - "name" : "AdjacentTimeCollapseNoPer", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "1069", - "s" : [ { - "value" : [ "","define ","AdjacentTimeCollapseNoPer",": " ] - }, { - "r" : "1081", - "s" : [ { - "value" : [ "collapse " ] - }, { - "r" : "1070", - "s" : [ { - "value" : [ "{ " ] - }, { - "r" : "1071", - "s" : [ { - "value" : [ "Time1_2Interval" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "1074", - "s" : [ { - "value" : [ "Time3_15Interval" ] - } ] - }, { - "value" : [ " }" ] - } ] - } ] - } ] - } - } ], + "type" : "IntervalTypeSpecifier", + "localId" : "1056", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1057", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "DateTime", + "localId" : "1023", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1024", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1025", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1026", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1027", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1028", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1029", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1030", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1007", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1008", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "1009", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "1010", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "1011", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "1012", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "1013", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "1047", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1048", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1049", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1050", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1051", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1052", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1053", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1054", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1031", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1032", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "6", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "1033", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "1034", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "1035", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "1036", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "1037", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + } + }, { + "type" : "Interval", + "localId" : "1106", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], "resultTypeSpecifier" : { - "localId" : "1089", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "1090", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1091", - "name" : "{urn:hl7-org:elm-types:r1}Time", - "type" : "NamedTypeSpecifier" - } - } + "type" : "IntervalTypeSpecifier", + "localId" : "1107", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1108", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } }, - "expression" : { - "localId" : "1081", - "type" : "Collapse", - "resultTypeSpecifier" : { - "localId" : "1086", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "1087", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1088", - "name" : "{urn:hl7-org:elm-types:r1}Time", - "type" : "NamedTypeSpecifier" - } - } - }, - "signature" : [ { - "localId" : "1082", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "1083", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1084", - "name" : "{urn:hl7-org:elm-types:r1}Time", - "type" : "NamedTypeSpecifier" - } - } - }, { - "localId" : "1085", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "1070", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "1077", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "1078", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1079", - "name" : "{urn:hl7-org:elm-types:r1}Time", - "type" : "NamedTypeSpecifier" - } - } - }, - "element" : [ { - "localId" : "1071", - "name" : "Time1_2Interval", - "type" : "ExpressionRef", - "resultTypeSpecifier" : { - "localId" : "1072", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1073", - "name" : "{urn:hl7-org:elm-types:r1}Time", - "type" : "NamedTypeSpecifier" - } - } - }, { - "localId" : "1074", - "name" : "Time3_15Interval", - "type" : "ExpressionRef", - "resultTypeSpecifier" : { - "localId" : "1075", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1076", - "name" : "{urn:hl7-org:elm-types:r1}Time", - "type" : "NamedTypeSpecifier" - } - } - } ] - }, { - "localId" : "1080", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "Null" - } ] - } - }, { - "localId" : "1094", - "name" : "DisjointTimeCollapseNoPer", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "1094", + "low" : { + "type" : "DateTime", + "localId" : "1074", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1075", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1076", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1077", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1078", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1079", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1080", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1081", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1058", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1059", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "1060", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "1061", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "1062", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "1063", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "1064", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "1098", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1099", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1100", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1101", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1102", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1103", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1104", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1105", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1082", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2013", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1083", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "1084", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "1085", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "1086", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "1087", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "1088", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + } + } ] + } + }, { + "localId" : "1120", + "name" : "DateTimeDuringIntersect", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "1120", + "s" : [ { + "value" : [ "", "define ", "DateTimeDuringIntersect", ": " ] + }, { + "r" : "1223", + "s" : [ { + "r" : "1169", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "1137", + "s" : [ { + "r" : "1121", + "value" : [ "DateTime", "(", "2012", ", ", "3", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "1161", + "s" : [ { + "r" : "1145", + "value" : [ "DateTime", "(", "2012", ", ", "5", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ "]" ] + } ] + }, { + "value" : [ " intersect " ] + }, { + "r" : "1220", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "1188", + "s" : [ { + "r" : "1172", + "value" : [ "DateTime", "(", "2012", ", ", "1", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "1212", "s" : [ { - "value" : [ "","define ","DisjointTimeCollapseNoPer",": " ] - }, { - "r" : "1106", - "s" : [ { - "value" : [ "collapse " ] - }, { - "r" : "1095", - "s" : [ { - "value" : [ "{ " ] - }, { - "r" : "1096", - "s" : [ { - "value" : [ "Time1_2Interval" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "1099", - "s" : [ { - "value" : [ "Time4_15Interval" ] - } ] - }, { - "value" : [ " }" ] - } ] - } ] - } ] - } - } ], + "r" : "1196", + "value" : [ "DateTime", "(", "2013", ", ", "1", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ "]" ] + } ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1230", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1231", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "expression" : { + "type" : "Intersect", + "localId" : "1223", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1228", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1229", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "1224", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1225", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "1226", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1227", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "Interval", + "localId" : "1169", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], "resultTypeSpecifier" : { - "localId" : "1114", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "1115", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1116", - "name" : "{urn:hl7-org:elm-types:r1}Time", - "type" : "NamedTypeSpecifier" - } - } - }, - "expression" : { - "localId" : "1106", - "type" : "Collapse", - "resultTypeSpecifier" : { - "localId" : "1111", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "1112", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1113", - "name" : "{urn:hl7-org:elm-types:r1}Time", - "type" : "NamedTypeSpecifier" - } - } - }, - "signature" : [ { - "localId" : "1107", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "1108", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1109", - "name" : "{urn:hl7-org:elm-types:r1}Time", - "type" : "NamedTypeSpecifier" - } - } - }, { - "localId" : "1110", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "1095", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "1102", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "1103", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1104", - "name" : "{urn:hl7-org:elm-types:r1}Time", - "type" : "NamedTypeSpecifier" - } - } - }, - "element" : [ { - "localId" : "1096", - "name" : "Time1_2Interval", - "type" : "ExpressionRef", - "resultTypeSpecifier" : { - "localId" : "1097", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1098", - "name" : "{urn:hl7-org:elm-types:r1}Time", - "type" : "NamedTypeSpecifier" - } - } - }, { - "localId" : "1099", - "name" : "Time4_15Interval", - "type" : "ExpressionRef", - "resultTypeSpecifier" : { - "localId" : "1100", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1101", - "name" : "{urn:hl7-org:elm-types:r1}Time", - "type" : "NamedTypeSpecifier" - } - } - } ] - }, { - "localId" : "1105", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "Null" - } ] - } - }, { - "localId" : "1119", - "name" : "TimeCollapsePerSecond", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "1119", - "s" : [ { - "value" : [ "","define ","TimeCollapsePerSecond",": " ] - }, { - "r" : "1132", - "s" : [ { - "value" : [ "collapse " ] - }, { - "r" : "1120", - "s" : [ { - "value" : [ "{ " ] - }, { - "r" : "1121", - "s" : [ { - "value" : [ "Time1_2Interval" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "1124", - "s" : [ { - "value" : [ "Time4_15Interval" ] - } ] - }, { - "value" : [ " }" ] - } ] - }, { - "value" : [ " per ","second" ] - } ] - } ] - } - } ], + "type" : "IntervalTypeSpecifier", + "localId" : "1170", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1171", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "DateTime", + "localId" : "1137", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1138", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1139", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1140", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1141", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1142", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1143", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1144", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1121", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1122", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "1123", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "1124", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "1125", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "1126", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "1127", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "1161", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1162", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1163", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1164", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1165", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1166", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1167", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1168", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1145", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1146", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "5", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "1147", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "1148", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "1149", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "1150", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "1151", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + } + }, { + "type" : "Interval", + "localId" : "1220", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], "resultTypeSpecifier" : { - "localId" : "1140", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "1141", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1142", - "name" : "{urn:hl7-org:elm-types:r1}Time", - "type" : "NamedTypeSpecifier" - } - } - }, - "expression" : { - "localId" : "1132", - "type" : "Collapse", - "resultTypeSpecifier" : { - "localId" : "1137", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "1138", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1139", - "name" : "{urn:hl7-org:elm-types:r1}Time", - "type" : "NamedTypeSpecifier" - } - } - }, - "signature" : [ { - "localId" : "1133", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "1134", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1135", - "name" : "{urn:hl7-org:elm-types:r1}Time", - "type" : "NamedTypeSpecifier" - } - } - }, { - "localId" : "1136", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "1120", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "1127", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "1128", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1129", - "name" : "{urn:hl7-org:elm-types:r1}Time", - "type" : "NamedTypeSpecifier" - } - } - }, - "element" : [ { - "localId" : "1121", - "name" : "Time1_2Interval", - "type" : "ExpressionRef", - "resultTypeSpecifier" : { - "localId" : "1122", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1123", - "name" : "{urn:hl7-org:elm-types:r1}Time", - "type" : "NamedTypeSpecifier" - } - } - }, { - "localId" : "1124", - "name" : "Time4_15Interval", - "type" : "ExpressionRef", - "resultTypeSpecifier" : { - "localId" : "1125", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1126", - "name" : "{urn:hl7-org:elm-types:r1}Time", - "type" : "NamedTypeSpecifier" - } - } - } ] - }, { - "localId" : "1131", - "value" : 1.0, - "unit" : "second", - "type" : "Quantity" - } ] - } - }, { - "localId" : "1145", - "name" : "TimeCollapsePerMinute", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "1145", - "s" : [ { - "value" : [ "","define ","TimeCollapsePerMinute",": " ] - }, { - "r" : "1158", - "s" : [ { - "value" : [ "collapse " ] - }, { - "r" : "1146", - "s" : [ { - "value" : [ "{ " ] - }, { - "r" : "1147", - "s" : [ { - "value" : [ "Time1_2Interval" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "1150", - "s" : [ { - "value" : [ "Time4_15Interval" ] - } ] - }, { - "value" : [ " }" ] - } ] - }, { - "value" : [ " per ","minute" ] - } ] - } ] - } - } ], + "type" : "IntervalTypeSpecifier", + "localId" : "1221", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1222", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "DateTime", + "localId" : "1188", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1189", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1190", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1191", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1192", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1193", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1194", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1195", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1172", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1173", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "1174", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "1175", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "1176", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "1177", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "1178", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "1212", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1213", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1214", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1215", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1216", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1217", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1218", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1219", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1196", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2013", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1197", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "1198", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "1199", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "1200", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "1201", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "1202", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + } + } ] + } + }, { + "localId" : "1234", + "name" : "DateTimeEndsIntersect", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "1234", + "s" : [ { + "value" : [ "", "define ", "DateTimeEndsIntersect", ": " ] + }, { + "r" : "1337", + "s" : [ { + "r" : "1283", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "1251", + "s" : [ { + "r" : "1235", + "value" : [ "DateTime", "(", "2012", ", ", "6", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "1275", + "s" : [ { + "r" : "1259", + "value" : [ "DateTime", "(", "2013", ", ", "1", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ "]" ] + } ] + }, { + "value" : [ " intersect " ] + }, { + "r" : "1334", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "1302", + "s" : [ { + "r" : "1286", + "value" : [ "DateTime", "(", "2012", ", ", "1", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "1326", + "s" : [ { + "r" : "1310", + "value" : [ "DateTime", "(", "2013", ", ", "1", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ "]" ] + } ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1344", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1345", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "expression" : { + "type" : "Intersect", + "localId" : "1337", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1342", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1343", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "1338", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1339", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "1340", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1341", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "Interval", + "localId" : "1283", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], "resultTypeSpecifier" : { - "localId" : "1166", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "1167", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1168", - "name" : "{urn:hl7-org:elm-types:r1}Time", - "type" : "NamedTypeSpecifier" - } - } + "type" : "IntervalTypeSpecifier", + "localId" : "1284", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1285", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } }, - "expression" : { - "localId" : "1158", - "type" : "Collapse", - "resultTypeSpecifier" : { - "localId" : "1163", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "1164", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1165", - "name" : "{urn:hl7-org:elm-types:r1}Time", - "type" : "NamedTypeSpecifier" - } - } - }, - "signature" : [ { - "localId" : "1159", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "1160", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1161", - "name" : "{urn:hl7-org:elm-types:r1}Time", - "type" : "NamedTypeSpecifier" - } - } - }, { - "localId" : "1162", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "1146", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "1153", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "1154", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1155", - "name" : "{urn:hl7-org:elm-types:r1}Time", - "type" : "NamedTypeSpecifier" - } - } - }, - "element" : [ { - "localId" : "1147", - "name" : "Time1_2Interval", - "type" : "ExpressionRef", - "resultTypeSpecifier" : { - "localId" : "1148", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1149", - "name" : "{urn:hl7-org:elm-types:r1}Time", - "type" : "NamedTypeSpecifier" - } - } - }, { - "localId" : "1150", - "name" : "Time4_15Interval", - "type" : "ExpressionRef", - "resultTypeSpecifier" : { - "localId" : "1151", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1152", - "name" : "{urn:hl7-org:elm-types:r1}Time", - "type" : "NamedTypeSpecifier" - } - } - } ] - }, { - "localId" : "1157", - "value" : 1.0, - "unit" : "minute", - "type" : "Quantity" - } ] - } - }, { - "localId" : "1171", - "name" : "QuantityIntervalList", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "1171", - "s" : [ { - "value" : [ "// Quantity Intervals with default units\n","define ","QuantityIntervalList",": " ] - }, { - "r" : "1172", - "s" : [ { - "value" : [ "{ " ] - }, { - "r" : "1185", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "1177", - "s" : [ { - "r" : "1173", - "value" : [ "ToQuantity","(","1",")" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "1183", - "s" : [ { - "r" : "1179", - "value" : [ "ToQuantity","(","4",")" ] - } ] - }, { - "value" : [ "]" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "1200", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "1192", - "s" : [ { - "r" : "1188", - "value" : [ "ToQuantity","(","4",")" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "1198", - "s" : [ { - "r" : "1194", - "value" : [ "ToQuantity","(","8",")" ] - } ] - }, { - "value" : [ "]" ] - } ] - }, { - "value" : [ " }" ] - } ] - } ] - } - } ], + "low" : { + "type" : "DateTime", + "localId" : "1251", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1252", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1253", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1254", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1255", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1256", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1257", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1258", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1235", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1236", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "6", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "1237", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "1238", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "1239", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "1240", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "1241", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "1275", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1276", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1277", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1278", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1279", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1280", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1281", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1282", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1259", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2013", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1260", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "1261", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "1262", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "1263", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "1264", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "1265", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + } + }, { + "type" : "Interval", + "localId" : "1334", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], "resultTypeSpecifier" : { - "localId" : "1206", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "1207", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1208", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } - } - }, - "expression" : { - "localId" : "1172", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "1203", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "1204", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1205", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } - } - }, - "element" : [ { - "localId" : "1185", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "1186", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1187", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "1177", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "ToQuantity", - "signature" : [ { - "localId" : "1178", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "1173", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - } - }, - "high" : { - "localId" : "1183", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "ToQuantity", - "signature" : [ { - "localId" : "1184", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "1179", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "4", - "type" : "Literal" - } - } - }, { - "localId" : "1200", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "1201", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1202", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "1192", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "ToQuantity", - "signature" : [ { - "localId" : "1193", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "1188", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "4", - "type" : "Literal" - } - }, - "high" : { - "localId" : "1198", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "ToQuantity", - "signature" : [ { - "localId" : "1199", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "1194", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "8", - "type" : "Literal" - } - } - } ] - } - }, { - "localId" : "1211", - "name" : "ExpectedQuantityList", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "1211", - "s" : [ { - "value" : [ "","define ","ExpectedQuantityList",": " ] - }, { - "r" : "1212", - "s" : [ { - "value" : [ "{ " ] - }, { - "r" : "1225", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "1217", - "s" : [ { - "r" : "1213", - "value" : [ "ToQuantity","(","1",")" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "1223", - "s" : [ { - "r" : "1219", - "value" : [ "ToQuantity","(","8",")" ] - } ] - }, { - "value" : [ "]" ] - } ] - }, { - "value" : [ " }" ] - } ] - } ] - } - } ], + "type" : "IntervalTypeSpecifier", + "localId" : "1335", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1336", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "DateTime", + "localId" : "1302", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1303", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1304", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1305", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1306", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1307", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1308", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1309", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1286", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1287", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "1288", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "1289", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "1290", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "1291", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "1292", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "1326", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1327", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1328", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1329", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1330", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1331", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1332", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1333", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1310", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2013", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1311", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "1312", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "1313", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "1314", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "1315", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "1316", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + } + } ] + } + } ] + } + } +} + +/* IntegerIntervalCollapse +library TestSnippet version '1' +using Simple version '1.0.0' +context Patient +define IntEmptyIntervalList: List>{} +define Int1_6Interval: Interval[1, 6] +define Int1_10Interval: Interval[1, 10] +define Int5_10Interval: Interval[5, 10] +define Int5_12Interval: Interval[5, 12] +define Int10_15Interval: Interval[10, 15] +define Int15_20Interval: Interval[15, 20] +define Int1_12Interval: Interval[1, 12] +define Int1_15Interval: Interval[1, 15] +define Int1_10IntervalList: { Int1_10Interval } +define Int1_12IntervalList: { Int1_12Interval } +define Int1_15IntervalList: { Int1_15Interval } +define IntTwoItemDisjointList: { Int1_10Interval, Int15_20Interval } +define IntCollapseEmpty: collapse IntEmptyIntervalList +define IntCollapseSingleInterval: collapse Int1_10IntervalList +define IntCollapseDisjoint: collapse IntTwoItemDisjointList +define IntCollapseDisjointReversed: collapse { Int15_20Interval, Int1_10Interval } +define IntCollapseAdjacent: collapse { Int1_10Interval, Int10_15Interval } +define IntCollapseOverlap: collapse { Int1_10Interval, Int5_12Interval } +define IntCollapseOverlapContained: collapse { Int1_15Interval, Int5_12Interval } +define IntCollapseOverlapContainedEdge: collapse { Int1_10Interval, Int5_10Interval } +define IntCollapseOverlapContainedEdge2: collapse { Int1_15Interval, Int1_10Interval } +define IntCollapseOverlapMultipleCombine: collapse { Int1_6Interval, Int5_12Interval, Int10_15Interval } +*/ + +module.exports['IntegerIntervalCollapse'] = { + "library" : { + "localId" : "0", + "annotation" : [ { + "type" : "CqlToElmInfo", + "translatorVersion" : "4.2.0", + "translatorOptions" : "EnableDateRangeOptimization,EnableAnnotations,EnableResultTypes", + "signatureLevel" : "All" + }, { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "571", + "s" : [ { + "value" : [ "", "library TestSnippet version '1'" ] + } ] + } + } ], + "identifier" : { + "id" : "TestSnippet", + "version" : "1" + }, + "schemaIdentifier" : { + "id" : "urn:hl7-org:elm", + "version" : "r1" + }, + "usings" : { + "def" : [ { + "localId" : "1", + "localIdentifier" : "System", + "uri" : "urn:hl7-org:elm-types:r1", + "annotation" : [ ] + }, { + "localId" : "206", + "localIdentifier" : "Simple", + "uri" : "https://github.com/cqframework/cql-execution/simple", + "version" : "1.0.0", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "206", + "s" : [ { + "value" : [ "", "using " ] + }, { + "s" : [ { + "value" : [ "Simple" ] + } ] + }, { + "value" : [ " version '1.0.0'" ] + } ] + } + } ] + } ] + }, + "contexts" : { + "def" : [ { + "localId" : "211", + "name" : "Patient", + "annotation" : [ ] + } ] + }, + "statements" : { + "def" : [ { + "localId" : "209", + "name" : "Patient", + "context" : "Patient", + "annotation" : [ ], + "expression" : { + "type" : "SingletonFrom", + "localId" : "210", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Retrieve", + "localId" : "208", + "dataType" : "{https://github.com/cqframework/cql-execution/simple}Patient", + "annotation" : [ ], + "include" : [ ], + "codeFilter" : [ ], + "dateFilter" : [ ], + "otherFilter" : [ ] + } + } + }, { + "localId" : "214", + "name" : "IntEmptyIntervalList", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "214", + "s" : [ { + "value" : [ "", "define ", "IntEmptyIntervalList", ": " ] + }, { + "r" : "219", + "s" : [ { + "value" : [ "List<" ] + }, { + "r" : "215", + "s" : [ { + "value" : [ "Interval<" ] + }, { + "r" : "216", + "s" : [ { + "value" : [ "Integer" ] + } ] + }, { + "value" : [ ">" ] + } ] + }, { + "value" : [ ">{}" ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "224", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "225", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "226", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } + }, + "expression" : { + "type" : "List", + "localId" : "219", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "221", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "222", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "223", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } + }, + "element" : [ ] + } + }, { + "localId" : "229", + "name" : "Int1_6Interval", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "229", + "s" : [ { + "value" : [ "", "define ", "Int1_6Interval", ": " ] + }, { + "r" : "232", + "s" : [ { + "r" : "230", + "value" : [ "Interval[", "1", ", ", "6", "]" ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "235", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "236", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "expression" : { + "type" : "Interval", + "localId" : "232", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "233", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "234", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "low" : { + "type" : "Literal", + "localId" : "230", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "high" : { + "type" : "Literal", + "localId" : "231", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "6", + "annotation" : [ ] + } + } + }, { + "localId" : "239", + "name" : "Int1_10Interval", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "239", + "s" : [ { + "value" : [ "", "define ", "Int1_10Interval", ": " ] + }, { + "r" : "242", + "s" : [ { + "r" : "240", + "value" : [ "Interval[", "1", ", ", "10", "]" ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "245", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "246", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "expression" : { + "type" : "Interval", + "localId" : "242", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "243", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "244", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "low" : { + "type" : "Literal", + "localId" : "240", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "high" : { + "type" : "Literal", + "localId" : "241", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "10", + "annotation" : [ ] + } + } + }, { + "localId" : "249", + "name" : "Int5_10Interval", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "249", + "s" : [ { + "value" : [ "", "define ", "Int5_10Interval", ": " ] + }, { + "r" : "252", + "s" : [ { + "r" : "250", + "value" : [ "Interval[", "5", ", ", "10", "]" ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "255", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "256", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "expression" : { + "type" : "Interval", + "localId" : "252", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "253", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "254", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "low" : { + "type" : "Literal", + "localId" : "250", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "5", + "annotation" : [ ] + }, + "high" : { + "type" : "Literal", + "localId" : "251", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "10", + "annotation" : [ ] + } + } + }, { + "localId" : "259", + "name" : "Int5_12Interval", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "259", + "s" : [ { + "value" : [ "", "define ", "Int5_12Interval", ": " ] + }, { + "r" : "262", + "s" : [ { + "r" : "260", + "value" : [ "Interval[", "5", ", ", "12", "]" ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "265", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "266", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "expression" : { + "type" : "Interval", + "localId" : "262", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "263", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "264", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "low" : { + "type" : "Literal", + "localId" : "260", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "5", + "annotation" : [ ] + }, + "high" : { + "type" : "Literal", + "localId" : "261", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "12", + "annotation" : [ ] + } + } + }, { + "localId" : "269", + "name" : "Int10_15Interval", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "269", + "s" : [ { + "value" : [ "", "define ", "Int10_15Interval", ": " ] + }, { + "r" : "272", + "s" : [ { + "r" : "270", + "value" : [ "Interval[", "10", ", ", "15", "]" ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "275", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "276", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "expression" : { + "type" : "Interval", + "localId" : "272", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "273", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "274", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "low" : { + "type" : "Literal", + "localId" : "270", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "10", + "annotation" : [ ] + }, + "high" : { + "type" : "Literal", + "localId" : "271", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "15", + "annotation" : [ ] + } + } + }, { + "localId" : "279", + "name" : "Int15_20Interval", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "279", + "s" : [ { + "value" : [ "", "define ", "Int15_20Interval", ": " ] + }, { + "r" : "282", + "s" : [ { + "r" : "280", + "value" : [ "Interval[", "15", ", ", "20", "]" ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "285", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "286", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "expression" : { + "type" : "Interval", + "localId" : "282", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "283", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "284", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "low" : { + "type" : "Literal", + "localId" : "280", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "15", + "annotation" : [ ] + }, + "high" : { + "type" : "Literal", + "localId" : "281", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "20", + "annotation" : [ ] + } + } + }, { + "localId" : "289", + "name" : "Int1_12Interval", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "289", + "s" : [ { + "value" : [ "", "define ", "Int1_12Interval", ": " ] + }, { + "r" : "292", + "s" : [ { + "r" : "290", + "value" : [ "Interval[", "1", ", ", "12", "]" ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "295", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "296", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "expression" : { + "type" : "Interval", + "localId" : "292", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "293", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "294", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "low" : { + "type" : "Literal", + "localId" : "290", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "high" : { + "type" : "Literal", + "localId" : "291", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "12", + "annotation" : [ ] + } + } + }, { + "localId" : "299", + "name" : "Int1_15Interval", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "299", + "s" : [ { + "value" : [ "", "define ", "Int1_15Interval", ": " ] + }, { + "r" : "302", + "s" : [ { + "r" : "300", + "value" : [ "Interval[", "1", ", ", "15", "]" ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "305", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "306", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "expression" : { + "type" : "Interval", + "localId" : "302", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "303", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "304", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "low" : { + "type" : "Literal", + "localId" : "300", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "high" : { + "type" : "Literal", + "localId" : "301", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "15", + "annotation" : [ ] + } + } + }, { + "localId" : "309", + "name" : "Int1_10IntervalList", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "309", + "s" : [ { + "value" : [ "", "define ", "Int1_10IntervalList", ": " ] + }, { + "r" : "310", + "s" : [ { + "value" : [ "{ " ] + }, { + "r" : "311", + "s" : [ { + "value" : [ "Int1_10Interval" ] + } ] + }, { + "value" : [ " }" ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "317", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "318", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "319", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } + }, + "expression" : { + "type" : "List", + "localId" : "310", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "314", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "315", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "316", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } + }, + "element" : [ { + "type" : "ExpressionRef", + "localId" : "311", + "name" : "Int1_10Interval", + "annotation" : [ ], "resultTypeSpecifier" : { - "localId" : "1231", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "1232", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1233", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } - } - }, - "expression" : { - "localId" : "1212", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "1228", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "1229", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1230", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } - } - }, - "element" : [ { - "localId" : "1225", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "1226", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1227", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "1217", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "ToQuantity", - "signature" : [ { - "localId" : "1218", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "1213", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - } - }, - "high" : { - "localId" : "1223", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "ToQuantity", - "signature" : [ { - "localId" : "1224", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "1219", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "8", - "type" : "Literal" - } - } - } ] - } - }, { - "localId" : "1236", - "name" : "QuantityIntervalCollapseNoPer", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "1236", - "s" : [ { - "value" : [ "","define ","QuantityIntervalCollapseNoPer",": " ] - }, { - "r" : "1242", - "s" : [ { - "value" : [ "collapse " ] - }, { - "r" : "1237", - "s" : [ { - "value" : [ "QuantityIntervalList" ] - } ] - } ] - } ] - } - } ], + "type" : "IntervalTypeSpecifier", + "localId" : "312", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "313", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } + } ] + } + }, { + "localId" : "322", + "name" : "Int1_12IntervalList", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "322", + "s" : [ { + "value" : [ "", "define ", "Int1_12IntervalList", ": " ] + }, { + "r" : "323", + "s" : [ { + "value" : [ "{ " ] + }, { + "r" : "324", + "s" : [ { + "value" : [ "Int1_12Interval" ] + } ] + }, { + "value" : [ " }" ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "330", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "331", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "332", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } + }, + "expression" : { + "type" : "List", + "localId" : "323", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "327", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "328", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "329", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } + }, + "element" : [ { + "type" : "ExpressionRef", + "localId" : "324", + "name" : "Int1_12Interval", + "annotation" : [ ], "resultTypeSpecifier" : { - "localId" : "1250", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "1251", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1252", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } - } - }, - "expression" : { - "localId" : "1242", - "type" : "Collapse", - "resultTypeSpecifier" : { - "localId" : "1247", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "1248", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1249", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } - } - }, - "signature" : [ { - "localId" : "1243", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "1244", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1245", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } - } - }, { - "localId" : "1246", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "1237", - "name" : "QuantityIntervalList", - "type" : "ExpressionRef", - "resultTypeSpecifier" : { - "localId" : "1238", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "1239", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1240", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } - } - } - }, { - "localId" : "1241", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "Null" - } ] - } - }, { - "localId" : "1255", - "name" : "QuantityIntervalCollapsePerUnit1", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "1255", - "s" : [ { - "value" : [ "","define ","QuantityIntervalCollapsePerUnit1",": " ] - }, { - "r" : "1267", - "s" : [ { - "value" : [ "collapse " ] - }, { - "r" : "1256", - "s" : [ { - "value" : [ "QuantityIntervalList" ] - } ] - }, { - "value" : [ " per " ] - }, { - "r" : "1265", - "s" : [ { - "r" : "1261", - "value" : [ "ToQuantity","(","1",")" ] - } ] - } ] - } ] - } - } ], + "type" : "IntervalTypeSpecifier", + "localId" : "325", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "326", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } + } ] + } + }, { + "localId" : "335", + "name" : "Int1_15IntervalList", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "335", + "s" : [ { + "value" : [ "", "define ", "Int1_15IntervalList", ": " ] + }, { + "r" : "336", + "s" : [ { + "value" : [ "{ " ] + }, { + "r" : "337", + "s" : [ { + "value" : [ "Int1_15Interval" ] + } ] + }, { + "value" : [ " }" ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "343", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "344", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "345", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } + }, + "expression" : { + "type" : "List", + "localId" : "336", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "340", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "341", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "342", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } + }, + "element" : [ { + "type" : "ExpressionRef", + "localId" : "337", + "name" : "Int1_15Interval", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "338", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "339", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } + } ] + } + }, { + "localId" : "348", + "name" : "IntTwoItemDisjointList", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "348", + "s" : [ { + "value" : [ "", "define ", "IntTwoItemDisjointList", ": " ] + }, { + "r" : "349", + "s" : [ { + "value" : [ "{ " ] + }, { + "r" : "350", + "s" : [ { + "value" : [ "Int1_10Interval" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "353", + "s" : [ { + "value" : [ "Int15_20Interval" ] + } ] + }, { + "value" : [ " }" ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "359", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "360", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "361", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } + }, + "expression" : { + "type" : "List", + "localId" : "349", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "356", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "357", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "358", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } + }, + "element" : [ { + "type" : "ExpressionRef", + "localId" : "350", + "name" : "Int1_10Interval", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "351", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "352", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } + }, { + "type" : "ExpressionRef", + "localId" : "353", + "name" : "Int15_20Interval", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "354", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "355", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } + } ] + } + }, { + "localId" : "364", + "name" : "IntCollapseEmpty", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "364", + "s" : [ { + "value" : [ "", "define ", "IntCollapseEmpty", ": " ] + }, { + "r" : "370", + "s" : [ { + "value" : [ "collapse " ] + }, { + "r" : "365", + "s" : [ { + "value" : [ "IntEmptyIntervalList" ] + } ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "378", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "379", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "380", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } + }, + "expression" : { + "type" : "Collapse", + "localId" : "370", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "375", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "376", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "377", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } + }, + "signature" : [ { + "type" : "ListTypeSpecifier", + "localId" : "371", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "372", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "373", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } + }, { + "type" : "NamedTypeSpecifier", + "localId" : "374", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "ExpressionRef", + "localId" : "365", + "name" : "IntEmptyIntervalList", + "annotation" : [ ], "resultTypeSpecifier" : { - "localId" : "1275", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "1276", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1277", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } - } - }, - "expression" : { - "localId" : "1267", - "type" : "Collapse", - "resultTypeSpecifier" : { - "localId" : "1272", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "1273", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1274", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } - } - }, - "signature" : [ { - "localId" : "1268", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "1269", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1270", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } - } - }, { - "localId" : "1271", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "1256", - "name" : "QuantityIntervalList", - "type" : "ExpressionRef", - "resultTypeSpecifier" : { - "localId" : "1257", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "1258", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1259", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } - } - } - }, { - "localId" : "1265", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "ToQuantity", - "signature" : [ { - "localId" : "1266", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "1261", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - } - } ] + "type" : "ListTypeSpecifier", + "localId" : "366", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "367", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "368", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } } - }, { - "localId" : "1280", - "name" : "QuantitySeparatedBy3", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "1280", - "s" : [ { - "value" : [ "","define ","QuantitySeparatedBy3",": " ] - }, { - "r" : "1281", - "s" : [ { - "value" : [ "{ " ] - }, { - "r" : "1294", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "1286", - "s" : [ { - "r" : "1282", - "value" : [ "ToQuantity","(","3",")" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "1292", - "s" : [ { - "r" : "1288", - "value" : [ "ToQuantity","(","5",")" ] - } ] - }, { - "value" : [ "]" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "1309", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "1301", - "s" : [ { - "r" : "1297", - "value" : [ "ToQuantity","(","8",")" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "1307", - "s" : [ { - "r" : "1303", - "value" : [ "ToQuantity","(","10",")" ] - } ] - }, { - "value" : [ "]" ] - } ] - }, { - "value" : [ "}" ] - } ] - } ] - } - } ], + }, { + "type" : "Null", + "localId" : "369", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } ] + } + }, { + "localId" : "383", + "name" : "IntCollapseSingleInterval", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "383", + "s" : [ { + "value" : [ "", "define ", "IntCollapseSingleInterval", ": " ] + }, { + "r" : "389", + "s" : [ { + "value" : [ "collapse " ] + }, { + "r" : "384", + "s" : [ { + "value" : [ "Int1_10IntervalList" ] + } ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "397", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "398", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "399", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } + }, + "expression" : { + "type" : "Collapse", + "localId" : "389", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "394", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "395", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "396", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } + }, + "signature" : [ { + "type" : "ListTypeSpecifier", + "localId" : "390", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "391", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "392", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } + }, { + "type" : "NamedTypeSpecifier", + "localId" : "393", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "ExpressionRef", + "localId" : "384", + "name" : "Int1_10IntervalList", + "annotation" : [ ], "resultTypeSpecifier" : { - "localId" : "1315", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "1316", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1317", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } - } - }, - "expression" : { - "localId" : "1281", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "1312", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "1313", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1314", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } - } - }, - "element" : [ { - "localId" : "1294", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "1295", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1296", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "1286", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "ToQuantity", - "signature" : [ { - "localId" : "1287", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "1282", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - } - }, - "high" : { - "localId" : "1292", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "ToQuantity", - "signature" : [ { - "localId" : "1293", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "1288", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal" - } - } - }, { - "localId" : "1309", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "1310", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1311", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "1301", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "ToQuantity", - "signature" : [ { - "localId" : "1302", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "1297", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "8", - "type" : "Literal" - } - }, - "high" : { - "localId" : "1307", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "ToQuantity", - "signature" : [ { - "localId" : "1308", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "1303", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal" - } - } - } ] + "type" : "ListTypeSpecifier", + "localId" : "385", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "386", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "387", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } } - }, { - "localId" : "1320", - "name" : "CollapseSeparatedQuantity", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "1320", - "s" : [ { - "value" : [ "","define ","CollapseSeparatedQuantity",": " ] - }, { - "r" : "1326", - "s" : [ { - "value" : [ "collapse " ] - }, { - "r" : "1321", - "s" : [ { - "value" : [ "QuantitySeparatedBy3" ] - } ] - } ] - } ] - } - } ], + }, { + "type" : "Null", + "localId" : "388", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } ] + } + }, { + "localId" : "402", + "name" : "IntCollapseDisjoint", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "402", + "s" : [ { + "value" : [ "", "define ", "IntCollapseDisjoint", ": " ] + }, { + "r" : "408", + "s" : [ { + "value" : [ "collapse " ] + }, { + "r" : "403", + "s" : [ { + "value" : [ "IntTwoItemDisjointList" ] + } ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "416", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "417", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "418", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } + }, + "expression" : { + "type" : "Collapse", + "localId" : "408", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "413", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "414", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "415", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } + }, + "signature" : [ { + "type" : "ListTypeSpecifier", + "localId" : "409", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "410", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "411", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } + }, { + "type" : "NamedTypeSpecifier", + "localId" : "412", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "ExpressionRef", + "localId" : "403", + "name" : "IntTwoItemDisjointList", + "annotation" : [ ], "resultTypeSpecifier" : { - "localId" : "1334", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "1335", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1336", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } - } - }, - "expression" : { - "localId" : "1326", - "type" : "Collapse", - "resultTypeSpecifier" : { - "localId" : "1331", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "1332", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1333", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } - } - }, - "signature" : [ { - "localId" : "1327", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "1328", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1329", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } - } - }, { - "localId" : "1330", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "1321", - "name" : "QuantitySeparatedBy3", - "type" : "ExpressionRef", - "resultTypeSpecifier" : { - "localId" : "1322", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "1323", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1324", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } - } - } - }, { - "localId" : "1325", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "Null" - } ] + "type" : "ListTypeSpecifier", + "localId" : "404", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "405", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "406", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } } - }, { - "localId" : "1339", - "name" : "ExpectedSeparatedQuantity", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "1339", + }, { + "type" : "Null", + "localId" : "407", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } ] + } + }, { + "localId" : "421", + "name" : "IntCollapseDisjointReversed", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "421", + "s" : [ { + "value" : [ "", "define ", "IntCollapseDisjointReversed", ": " ] + }, { + "r" : "433", + "s" : [ { + "value" : [ "collapse " ] + }, { + "r" : "422", + "s" : [ { + "value" : [ "{ " ] + }, { + "r" : "423", "s" : [ { - "value" : [ "","define ","ExpectedSeparatedQuantity",": " ] - }, { - "r" : "1340", - "s" : [ { - "value" : [ "{ " ] - }, { - "r" : "1353", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "1345", - "s" : [ { - "r" : "1341", - "value" : [ "ToQuantity","(","3",")" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "1351", - "s" : [ { - "r" : "1347", - "value" : [ "ToQuantity","(","10",")" ] - } ] - }, { - "value" : [ "]" ] - } ] - }, { - "value" : [ " }" ] - } ] - } ] - } - } ], - "resultTypeSpecifier" : { - "localId" : "1359", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "1360", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1361", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } - } - }, - "expression" : { - "localId" : "1340", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "1356", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "1357", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1358", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } - } - }, - "element" : [ { - "localId" : "1353", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "1354", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1355", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "1345", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "ToQuantity", - "signature" : [ { - "localId" : "1346", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "1341", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - } - }, - "high" : { - "localId" : "1351", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "ToQuantity", - "signature" : [ { - "localId" : "1352", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "1347", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal" - } - } - } ] - } - }, { - "localId" : "1364", - "name" : "CollapseSeparatedQuantityPer3", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "1364", + "value" : [ "Int15_20Interval" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "426", "s" : [ { - "value" : [ "","define ","CollapseSeparatedQuantityPer3",": " ] - }, { - "r" : "1372", - "s" : [ { - "value" : [ "collapse " ] - }, { - "r" : "1365", - "s" : [ { - "value" : [ "QuantitySeparatedBy3" ] - } ] - }, { - "r" : "1370", - "value" : [ " per ","3" ] - } ] - } ] - } - } ], + "value" : [ "Int1_10Interval" ] + } ] + }, { + "value" : [ " }" ] + } ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "441", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "442", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "443", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } + }, + "expression" : { + "type" : "Collapse", + "localId" : "433", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "438", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "439", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "440", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } + }, + "signature" : [ { + "type" : "ListTypeSpecifier", + "localId" : "434", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "435", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "436", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } + }, { + "type" : "NamedTypeSpecifier", + "localId" : "437", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "List", + "localId" : "422", + "annotation" : [ ], "resultTypeSpecifier" : { - "localId" : "1380", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "1381", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1382", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } - } - }, - "expression" : { - "localId" : "1372", - "type" : "Collapse", - "resultTypeSpecifier" : { - "localId" : "1377", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "1378", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1379", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } - } - }, - "signature" : [ { - "localId" : "1373", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "1374", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1375", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } - } - }, { - "localId" : "1376", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "1365", - "name" : "QuantitySeparatedBy3", - "type" : "ExpressionRef", - "resultTypeSpecifier" : { - "localId" : "1366", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "1367", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1368", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } - } - } - }, { - "localId" : "1371", - "value" : 3, - "unit" : "1", - "type" : "Quantity" - } ] - } - }, { - "localId" : "1385", - "name" : "QuantityMeterIntervalList", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "1385", - "s" : [ { - "value" : [ "// Quantity Intervals with units\n","define ","QuantityMeterIntervalList",": " ] - }, { - "r" : "1386", - "s" : [ { - "value" : [ "{ " ] - }, { - "r" : "1401", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "1392", - "s" : [ { - "value" : [ "ToQuantity","(" ] - }, { - "r" : "1387", - "s" : [ { - "value" : [ "'1 \\'m\\''" ] - } ] - }, { - "value" : [ ")" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "1399", - "s" : [ { - "value" : [ "ToQuantity","(" ] - }, { - "r" : "1394", - "s" : [ { - "value" : [ "'1.995 \\'m\\''" ] - } ] - }, { - "value" : [ ")" ] - } ] - }, { - "value" : [ "]" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "1418", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "1409", - "s" : [ { - "value" : [ "ToQuantity","(" ] - }, { - "r" : "1404", - "s" : [ { - "value" : [ "'2 \\'m\\''" ] - } ] - }, { - "value" : [ ")" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "1416", - "s" : [ { - "value" : [ "ToQuantity","(" ] - }, { - "r" : "1411", - "s" : [ { - "value" : [ "'3 \\'m\\''" ] - } ] - }, { - "value" : [ ")" ] - } ] - }, { - "value" : [ "]" ] - } ] - }, { - "value" : [ " }" ] - } ] - } ] - } - } ], + "type" : "ListTypeSpecifier", + "localId" : "429", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "430", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "431", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } + }, + "element" : [ { + "type" : "ExpressionRef", + "localId" : "423", + "name" : "Int15_20Interval", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "424", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "425", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } + }, { + "type" : "ExpressionRef", + "localId" : "426", + "name" : "Int1_10Interval", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "427", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "428", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } + } ] + }, { + "type" : "Null", + "localId" : "432", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } ] + } + }, { + "localId" : "446", + "name" : "IntCollapseAdjacent", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "446", + "s" : [ { + "value" : [ "", "define ", "IntCollapseAdjacent", ": " ] + }, { + "r" : "458", + "s" : [ { + "value" : [ "collapse " ] + }, { + "r" : "447", + "s" : [ { + "value" : [ "{ " ] + }, { + "r" : "448", + "s" : [ { + "value" : [ "Int1_10Interval" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "451", + "s" : [ { + "value" : [ "Int10_15Interval" ] + } ] + }, { + "value" : [ " }" ] + } ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "466", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "467", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "468", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } + }, + "expression" : { + "type" : "Collapse", + "localId" : "458", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "463", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "464", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "465", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } + }, + "signature" : [ { + "type" : "ListTypeSpecifier", + "localId" : "459", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "460", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "461", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } + }, { + "type" : "NamedTypeSpecifier", + "localId" : "462", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "List", + "localId" : "447", + "annotation" : [ ], "resultTypeSpecifier" : { - "localId" : "1424", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "1425", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1426", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } - } - }, - "expression" : { - "localId" : "1386", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "1421", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "1422", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1423", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } - } - }, - "element" : [ { - "localId" : "1401", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "1402", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1403", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "1392", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "ToQuantity", - "signature" : [ { - "localId" : "1393", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "1387", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "1 'm'", - "type" : "Literal" - } - }, - "high" : { - "localId" : "1399", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "ToQuantity", - "signature" : [ { - "localId" : "1400", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "1394", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "1.995 'm'", - "type" : "Literal" - } - } - }, { - "localId" : "1418", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "1419", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1420", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "1409", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "ToQuantity", - "signature" : [ { - "localId" : "1410", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "1404", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "2 'm'", - "type" : "Literal" - } - }, - "high" : { - "localId" : "1416", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "ToQuantity", - "signature" : [ { - "localId" : "1417", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "1411", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "3 'm'", - "type" : "Literal" - } - } - } ] - } - }, { - "localId" : "1429", - "name" : "CollapseDisjointQuantityUnits", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "1429", + "type" : "ListTypeSpecifier", + "localId" : "454", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "455", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "456", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } + }, + "element" : [ { + "type" : "ExpressionRef", + "localId" : "448", + "name" : "Int1_10Interval", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "449", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "450", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } + }, { + "type" : "ExpressionRef", + "localId" : "451", + "name" : "Int10_15Interval", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "452", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "453", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } + } ] + }, { + "type" : "Null", + "localId" : "457", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } ] + } + }, { + "localId" : "471", + "name" : "IntCollapseOverlap", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "471", + "s" : [ { + "value" : [ "", "define ", "IntCollapseOverlap", ": " ] + }, { + "r" : "483", + "s" : [ { + "value" : [ "collapse " ] + }, { + "r" : "472", + "s" : [ { + "value" : [ "{ " ] + }, { + "r" : "473", + "s" : [ { + "value" : [ "Int1_10Interval" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "476", "s" : [ { - "value" : [ "","define ","CollapseDisjointQuantityUnits",": " ] - }, { - "r" : "1435", - "s" : [ { - "value" : [ "collapse " ] - }, { - "r" : "1430", - "s" : [ { - "value" : [ "QuantityMeterIntervalList" ] - } ] - } ] - } ] - } - } ], + "value" : [ "Int5_12Interval" ] + } ] + }, { + "value" : [ " }" ] + } ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "491", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "492", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "493", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } + }, + "expression" : { + "type" : "Collapse", + "localId" : "483", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "488", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "489", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "490", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } + }, + "signature" : [ { + "type" : "ListTypeSpecifier", + "localId" : "484", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "485", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "486", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } + }, { + "type" : "NamedTypeSpecifier", + "localId" : "487", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "List", + "localId" : "472", + "annotation" : [ ], "resultTypeSpecifier" : { - "localId" : "1443", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "1444", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1445", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } - } - }, - "expression" : { - "localId" : "1435", - "type" : "Collapse", - "resultTypeSpecifier" : { - "localId" : "1440", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "1441", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1442", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } - } - }, - "signature" : [ { - "localId" : "1436", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "1437", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1438", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } - } - }, { - "localId" : "1439", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "1430", - "name" : "QuantityMeterIntervalList", - "type" : "ExpressionRef", - "resultTypeSpecifier" : { - "localId" : "1431", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "1432", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1433", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } - } - } - }, { - "localId" : "1434", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "Null" - } ] - } - }, { - "localId" : "1448", - "name" : "ExpectedQuantityUnitsCollapse", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "1448", + "type" : "ListTypeSpecifier", + "localId" : "479", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "480", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "481", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } + }, + "element" : [ { + "type" : "ExpressionRef", + "localId" : "473", + "name" : "Int1_10Interval", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "474", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "475", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } + }, { + "type" : "ExpressionRef", + "localId" : "476", + "name" : "Int5_12Interval", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "477", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "478", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } + } ] + }, { + "type" : "Null", + "localId" : "482", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } ] + } + }, { + "localId" : "496", + "name" : "IntCollapseOverlapContained", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "496", + "s" : [ { + "value" : [ "", "define ", "IntCollapseOverlapContained", ": " ] + }, { + "r" : "508", + "s" : [ { + "value" : [ "collapse " ] + }, { + "r" : "497", + "s" : [ { + "value" : [ "{ " ] + }, { + "r" : "498", "s" : [ { - "value" : [ "","define ","ExpectedQuantityUnitsCollapse",": " ] - }, { - "r" : "1449", - "s" : [ { - "value" : [ "{ " ] - }, { - "r" : "1464", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "1455", - "s" : [ { - "value" : [ "ToQuantity","(" ] - }, { - "r" : "1450", - "s" : [ { - "value" : [ "'1 \\'m\\''" ] - } ] - }, { - "value" : [ ")" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "1462", - "s" : [ { - "value" : [ "ToQuantity","(" ] - }, { - "r" : "1457", - "s" : [ { - "value" : [ "'3 \\'m\\''" ] - } ] - }, { - "value" : [ ")" ] - } ] - }, { - "value" : [ "]" ] - } ] - }, { - "value" : [ " }" ] - } ] - } ] - } - } ], + "value" : [ "Int1_15Interval" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "501", + "s" : [ { + "value" : [ "Int5_12Interval" ] + } ] + }, { + "value" : [ " }" ] + } ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "516", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "517", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "518", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } + }, + "expression" : { + "type" : "Collapse", + "localId" : "508", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "513", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "514", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "515", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } + }, + "signature" : [ { + "type" : "ListTypeSpecifier", + "localId" : "509", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "510", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "511", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } + }, { + "type" : "NamedTypeSpecifier", + "localId" : "512", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "List", + "localId" : "497", + "annotation" : [ ], "resultTypeSpecifier" : { - "localId" : "1470", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "1471", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1472", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } - } - }, - "expression" : { - "localId" : "1449", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "1467", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "1468", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1469", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } - } - }, - "element" : [ { - "localId" : "1464", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "1465", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1466", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "1455", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "ToQuantity", - "signature" : [ { - "localId" : "1456", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "1450", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "1 'm'", - "type" : "Literal" - } - }, - "high" : { - "localId" : "1462", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "ToQuantity", - "signature" : [ { - "localId" : "1463", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "1457", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "3 'm'", - "type" : "Literal" - } - } - } ] - } - }, { - "localId" : "1475", - "name" : "CollapseQuantityUnitsWithinPer", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "1475", + "type" : "ListTypeSpecifier", + "localId" : "504", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "505", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "506", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } + }, + "element" : [ { + "type" : "ExpressionRef", + "localId" : "498", + "name" : "Int1_15Interval", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "499", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "500", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } + }, { + "type" : "ExpressionRef", + "localId" : "501", + "name" : "Int5_12Interval", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "502", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "503", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } + } ] + }, { + "type" : "Null", + "localId" : "507", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } ] + } + }, { + "localId" : "521", + "name" : "IntCollapseOverlapContainedEdge", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "521", + "s" : [ { + "value" : [ "", "define ", "IntCollapseOverlapContainedEdge", ": " ] + }, { + "r" : "533", + "s" : [ { + "value" : [ "collapse " ] + }, { + "r" : "522", + "s" : [ { + "value" : [ "{ " ] + }, { + "r" : "523", + "s" : [ { + "value" : [ "Int1_10Interval" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "526", "s" : [ { - "value" : [ "","define ","CollapseQuantityUnitsWithinPer",": " ] - }, { - "r" : "1488", - "s" : [ { - "value" : [ "collapse " ] - }, { - "r" : "1476", - "s" : [ { - "value" : [ "QuantityMeterIntervalList" ] - } ] - }, { - "value" : [ " per " ] - }, { - "r" : "1486", - "s" : [ { - "value" : [ "ToQuantity","(" ] - }, { - "r" : "1481", - "s" : [ { - "value" : [ "'1 \\'cm\\''" ] - } ] - }, { - "value" : [ ")" ] - } ] - } ] - } ] - } - } ], + "value" : [ "Int5_10Interval" ] + } ] + }, { + "value" : [ " }" ] + } ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "541", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "542", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "543", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } + }, + "expression" : { + "type" : "Collapse", + "localId" : "533", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "538", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "539", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "540", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } + }, + "signature" : [ { + "type" : "ListTypeSpecifier", + "localId" : "534", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "535", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "536", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } + }, { + "type" : "NamedTypeSpecifier", + "localId" : "537", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "List", + "localId" : "522", + "annotation" : [ ], "resultTypeSpecifier" : { - "localId" : "1496", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "1497", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1498", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } - } + "type" : "ListTypeSpecifier", + "localId" : "529", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "530", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "531", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } }, - "expression" : { - "localId" : "1488", - "type" : "Collapse", - "resultTypeSpecifier" : { - "localId" : "1493", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "1494", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1495", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } - } - }, - "signature" : [ { - "localId" : "1489", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "1490", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1491", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } - } - }, { - "localId" : "1492", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "1476", - "name" : "QuantityMeterIntervalList", - "type" : "ExpressionRef", - "resultTypeSpecifier" : { - "localId" : "1477", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "1478", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1479", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } - } - } - }, { - "localId" : "1486", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "ToQuantity", - "signature" : [ { - "localId" : "1487", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "1481", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "1 'cm'", - "type" : "Literal" - } - } ] - } - }, { - "localId" : "1501", - "name" : "CollapseQuantityUnitsNotWithinPer", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "1501", - "s" : [ { - "value" : [ "","define ","CollapseQuantityUnitsNotWithinPer",": " ] - }, { - "r" : "1514", - "s" : [ { - "value" : [ "collapse " ] - }, { - "r" : "1502", - "s" : [ { - "value" : [ "QuantityMeterIntervalList" ] - } ] - }, { - "value" : [ " per " ] - }, { - "r" : "1512", - "s" : [ { - "value" : [ "ToQuantity","(" ] - }, { - "r" : "1507", - "s" : [ { - "value" : [ "'1 \\'mm\\''" ] - } ] - }, { - "value" : [ ")" ] - } ] - } ] - } ] - } - } ], - "resultTypeSpecifier" : { - "localId" : "1522", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "1523", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1524", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } - } - }, - "expression" : { - "localId" : "1514", - "type" : "Collapse", - "resultTypeSpecifier" : { - "localId" : "1519", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "1520", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1521", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } - } - }, - "signature" : [ { - "localId" : "1515", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "1516", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1517", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } - } - }, { - "localId" : "1518", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "1502", - "name" : "QuantityMeterIntervalList", - "type" : "ExpressionRef", - "resultTypeSpecifier" : { - "localId" : "1503", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "1504", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1505", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } - } - } - }, { - "localId" : "1512", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "ToQuantity", - "signature" : [ { - "localId" : "1513", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "1507", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "1 'mm'", - "type" : "Literal" - } - } ] - } - }, { - "localId" : "1527", - "name" : "NullLowIntervalList", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "1527", - "s" : [ { - "value" : [ "// Null test cases\n","define ","NullLowIntervalList",": " ] - }, { - "r" : "1528", - "s" : [ { - "value" : [ "{ " ] - }, { - "r" : "1531", - "s" : [ { - "r" : "1529", - "value" : [ "Interval[","null",", ","4","]" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "1537", - "s" : [ { - "r" : "1535", - "value" : [ "Interval[","3",", ","5","]" ] - } ] - }, { - "value" : [ " }" ] - } ] - } ] - } - } ], + "element" : [ { + "type" : "ExpressionRef", + "localId" : "523", + "name" : "Int1_10Interval", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "524", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "525", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } + }, { + "type" : "ExpressionRef", + "localId" : "526", + "name" : "Int5_10Interval", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "527", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "528", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } + } ] + }, { + "type" : "Null", + "localId" : "532", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } ] + } + }, { + "localId" : "546", + "name" : "IntCollapseOverlapContainedEdge2", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "546", + "s" : [ { + "value" : [ "", "define ", "IntCollapseOverlapContainedEdge2", ": " ] + }, { + "r" : "558", + "s" : [ { + "value" : [ "collapse " ] + }, { + "r" : "547", + "s" : [ { + "value" : [ "{ " ] + }, { + "r" : "548", + "s" : [ { + "value" : [ "Int1_15Interval" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "551", + "s" : [ { + "value" : [ "Int1_10Interval" ] + } ] + }, { + "value" : [ " }" ] + } ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "566", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "567", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "568", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } + }, + "expression" : { + "type" : "Collapse", + "localId" : "558", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "563", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "564", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "565", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } + }, + "signature" : [ { + "type" : "ListTypeSpecifier", + "localId" : "559", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "560", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "561", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } + }, { + "type" : "NamedTypeSpecifier", + "localId" : "562", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "List", + "localId" : "547", + "annotation" : [ ], "resultTypeSpecifier" : { - "localId" : "1543", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "1544", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1545", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } + "type" : "ListTypeSpecifier", + "localId" : "554", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "555", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "556", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } }, - "expression" : { - "localId" : "1528", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "1540", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "1541", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1542", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } - }, - "element" : [ { - "localId" : "1531", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "1533", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1534", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "1532", - "asType" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "As", - "signature" : [ ], - "operand" : { - "localId" : "1529", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - } - }, - "high" : { - "localId" : "1530", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "4", - "type" : "Literal" - } - }, { - "localId" : "1537", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "1538", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1539", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "1535", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "high" : { - "localId" : "1536", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal" - } - } ] - } - }, { - "localId" : "1548", - "name" : "CollapseNullLowIntervalList", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "1548", + "element" : [ { + "type" : "ExpressionRef", + "localId" : "548", + "name" : "Int1_15Interval", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "549", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "550", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } + }, { + "type" : "ExpressionRef", + "localId" : "551", + "name" : "Int1_10Interval", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "552", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "553", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } + } ] + }, { + "type" : "Null", + "localId" : "557", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } ] + } + }, { + "localId" : "571", + "name" : "IntCollapseOverlapMultipleCombine", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "571", + "s" : [ { + "value" : [ "", "define ", "IntCollapseOverlapMultipleCombine", ": " ] + }, { + "r" : "586", + "s" : [ { + "value" : [ "collapse " ] + }, { + "r" : "572", + "s" : [ { + "value" : [ "{ " ] + }, { + "r" : "573", "s" : [ { - "value" : [ "","define ","CollapseNullLowIntervalList",": " ] - }, { - "r" : "1554", - "s" : [ { - "value" : [ "collapse " ] - }, { - "r" : "1549", - "s" : [ { - "value" : [ "NullLowIntervalList" ] - } ] - } ] - } ] - } - } ], - "resultTypeSpecifier" : { - "localId" : "1562", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "1563", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1564", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } - }, - "expression" : { - "localId" : "1554", - "type" : "Collapse", - "resultTypeSpecifier" : { - "localId" : "1559", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "1560", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1561", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } - }, - "signature" : [ { - "localId" : "1555", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "1556", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1557", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } - }, { - "localId" : "1558", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "1549", - "name" : "NullLowIntervalList", - "type" : "ExpressionRef", - "resultTypeSpecifier" : { - "localId" : "1550", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "1551", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1552", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } - } - }, { - "localId" : "1553", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "Null" - } ] - } - }, { - "localId" : "1567", - "name" : "ExpectedNullLowIntervalCollapse", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "1567", + "value" : [ "Int1_6Interval" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "576", "s" : [ { - "value" : [ "","define ","ExpectedNullLowIntervalCollapse",": " ] - }, { - "r" : "1568", - "s" : [ { - "value" : [ "{ " ] - }, { - "r" : "1571", - "s" : [ { - "r" : "1569", - "value" : [ "Interval[","null",", ","5","]" ] - } ] - }, { - "value" : [ " }" ] - } ] - } ] - } - } ], + "value" : [ "Int5_12Interval" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "579", + "s" : [ { + "value" : [ "Int10_15Interval" ] + } ] + }, { + "value" : [ " }" ] + } ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "594", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "595", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "596", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } + }, + "expression" : { + "type" : "Collapse", + "localId" : "586", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "591", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "592", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "593", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } + }, + "signature" : [ { + "type" : "ListTypeSpecifier", + "localId" : "587", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "588", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "589", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } + }, { + "type" : "NamedTypeSpecifier", + "localId" : "590", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "List", + "localId" : "572", + "annotation" : [ ], "resultTypeSpecifier" : { - "localId" : "1578", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "1579", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1580", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } + "type" : "ListTypeSpecifier", + "localId" : "582", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "583", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "584", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } + }, + "element" : [ { + "type" : "ExpressionRef", + "localId" : "573", + "name" : "Int1_6Interval", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "574", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "575", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } + }, { + "type" : "ExpressionRef", + "localId" : "576", + "name" : "Int5_12Interval", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "577", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "578", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } + }, { + "type" : "ExpressionRef", + "localId" : "579", + "name" : "Int10_15Interval", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "580", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "581", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } + } ] + }, { + "type" : "Null", + "localId" : "585", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } ] + } + } ] + } + } +} + +/* DateTimeIntervalCollapse +library TestSnippet version '1' +using Simple version '1.0.0' +context Patient +define DateTimeEmptyIntervalList: List>{} +define DateTime1_6Interval: Interval[DateTime(2012, 1, 1, 0, 0, 0, 0), DateTime(2012, 1, 6, 0, 0, 0, 0)] +define DateTime1_10Interval: Interval[DateTime(2012, 1, 1, 0, 0, 0, 0), DateTime(2012, 1, 10, 0, 0, 0, 0)] +define DateTime5_10Interval: Interval[DateTime(2012, 1, 5, 0, 0, 0, 0), DateTime(2012, 1, 10, 0, 0, 0, 0)] +define DateTime5_12Interval: Interval[DateTime(2012, 1, 5, 0, 0, 0, 0), DateTime(2012, 1, 12, 0, 0, 0, 0)] +define DateTime10_15Interval: Interval[DateTime(2012, 1, 10, 0, 0, 0, 0), DateTime(2012, 1, 15, 0, 0, 0, 0)] +define DateTime15_20Interval: Interval[DateTime(2012, 1, 15, 0, 0, 0, 0), DateTime(2012, 1, 20, 0, 0, 0, 0)] +define DateTime1_12Interval: Interval[DateTime(2012, 1, 1, 0, 0, 0, 0), DateTime(2012, 1, 12, 0, 0, 0, 0)] +define DateTime1_15Interval: Interval[DateTime(2012, 1, 1, 0, 0, 0, 0), DateTime(2012, 1, 15, 0, 0, 0, 0)] +define DateTime1_3ImpreciseInterval: Interval[DateTime(2012, 1, 1, 0, 0, 0, 0), DateTime(2012, 1, 3)] +define DateTime1_10IntervalList: { DateTime1_10Interval } +define DateTime1_12IntervalList: { DateTime1_12Interval } +define DateTime1_15IntervalList: { DateTime1_15Interval } +define DateTimeTwoItemDisjointList: { DateTime1_10Interval, DateTime15_20Interval } +define DateTimeCollapseEmpty: collapse DateTimeEmptyIntervalList +define DateTimeCollapseSingleInterval: collapse DateTime1_10IntervalList +define DateTimeCollapseDisjoint: collapse DateTimeTwoItemDisjointList +define DateTimeCollapseDisjointReversed: collapse { DateTime15_20Interval, DateTime1_10Interval } +define DateTimeCollapseAdjacent: collapse { DateTime1_10Interval, DateTime10_15Interval } +define DateTimeCollapseOverlap: collapse { DateTime1_10Interval, DateTime5_12Interval } +define DateTimeCollapseOverlapContained: collapse { DateTime1_15Interval, DateTime5_12Interval } +define DateTimeCollapseOverlapContainedEdge: collapse { DateTime1_10Interval, DateTime5_10Interval } +define DateTimeCollapseOverlapContainedEdge2: collapse { DateTime1_15Interval, DateTime1_10Interval } +define DateTimeCollapseOverlapMultipleCombine: collapse { DateTime1_6Interval, DateTime5_12Interval, DateTime10_15Interval } +define DateTimeCollapseImpreciseBoundary: collapse { DateTime1_3ImpreciseInterval, DateTime1_10Interval } +*/ + +module.exports['DateTimeIntervalCollapse'] = { + "library" : { + "localId" : "0", + "annotation" : [ { + "type" : "CqlToElmInfo", + "translatorVersion" : "4.2.0", + "translatorOptions" : "EnableDateRangeOptimization,EnableAnnotations,EnableResultTypes", + "signatureLevel" : "All" + }, { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "1011", + "s" : [ { + "value" : [ "", "library TestSnippet version '1'" ] + } ] + } + } ], + "identifier" : { + "id" : "TestSnippet", + "version" : "1" + }, + "schemaIdentifier" : { + "id" : "urn:hl7-org:elm", + "version" : "r1" + }, + "usings" : { + "def" : [ { + "localId" : "1", + "localIdentifier" : "System", + "uri" : "urn:hl7-org:elm-types:r1", + "annotation" : [ ] + }, { + "localId" : "206", + "localIdentifier" : "Simple", + "uri" : "https://github.com/cqframework/cql-execution/simple", + "version" : "1.0.0", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "206", + "s" : [ { + "value" : [ "", "using " ] + }, { + "s" : [ { + "value" : [ "Simple" ] + } ] + }, { + "value" : [ " version '1.0.0'" ] + } ] + } + } ] + } ] + }, + "contexts" : { + "def" : [ { + "localId" : "211", + "name" : "Patient", + "annotation" : [ ] + } ] + }, + "statements" : { + "def" : [ { + "localId" : "209", + "name" : "Patient", + "context" : "Patient", + "annotation" : [ ], + "expression" : { + "type" : "SingletonFrom", + "localId" : "210", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Retrieve", + "localId" : "208", + "dataType" : "{https://github.com/cqframework/cql-execution/simple}Patient", + "annotation" : [ ], + "include" : [ ], + "codeFilter" : [ ], + "dateFilter" : [ ], + "otherFilter" : [ ] + } + } + }, { + "localId" : "214", + "name" : "DateTimeEmptyIntervalList", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "214", + "s" : [ { + "value" : [ "", "define ", "DateTimeEmptyIntervalList", ": " ] + }, { + "r" : "219", + "s" : [ { + "value" : [ "List<" ] + }, { + "r" : "215", + "s" : [ { + "value" : [ "Interval<" ] + }, { + "r" : "216", + "s" : [ { + "value" : [ "DateTime" ] + } ] + }, { + "value" : [ ">" ] + } ] + }, { + "value" : [ ">{}" ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "224", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "225", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "226", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + }, + "expression" : { + "type" : "List", + "localId" : "219", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "221", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "222", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "223", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + }, + "element" : [ ] + } + }, { + "localId" : "229", + "name" : "DateTime1_6Interval", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "229", + "s" : [ { + "value" : [ "", "define ", "DateTime1_6Interval", ": " ] + }, { + "r" : "278", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "246", + "s" : [ { + "r" : "230", + "value" : [ "DateTime", "(", "2012", ", ", "1", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "270", + "s" : [ { + "r" : "254", + "value" : [ "DateTime", "(", "2012", ", ", "1", ", ", "6", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ "]" ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "281", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "282", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "expression" : { + "type" : "Interval", + "localId" : "278", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "279", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "280", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "DateTime", + "localId" : "246", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "247", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "248", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "249", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "250", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "251", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "252", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "253", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "230", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "231", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "232", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "233", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "234", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "235", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "236", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "270", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "271", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "272", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "273", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "274", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "275", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "276", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "277", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "254", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "255", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "256", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "6", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "257", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "258", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "259", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "260", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + } + } + }, { + "localId" : "285", + "name" : "DateTime1_10Interval", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "285", + "s" : [ { + "value" : [ "", "define ", "DateTime1_10Interval", ": " ] + }, { + "r" : "334", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "302", + "s" : [ { + "r" : "286", + "value" : [ "DateTime", "(", "2012", ", ", "1", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "326", + "s" : [ { + "r" : "310", + "value" : [ "DateTime", "(", "2012", ", ", "1", ", ", "10", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ "]" ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "337", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "338", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "expression" : { + "type" : "Interval", + "localId" : "334", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "335", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "336", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "DateTime", + "localId" : "302", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "303", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "304", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "305", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "306", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "307", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "308", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "309", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "286", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "287", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "288", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "289", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "290", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "291", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "292", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "326", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "327", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "328", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "329", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "330", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "331", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "332", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "333", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "310", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "311", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "312", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "10", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "313", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "314", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "315", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "316", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + } + } + }, { + "localId" : "341", + "name" : "DateTime5_10Interval", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "341", + "s" : [ { + "value" : [ "", "define ", "DateTime5_10Interval", ": " ] + }, { + "r" : "390", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "358", + "s" : [ { + "r" : "342", + "value" : [ "DateTime", "(", "2012", ", ", "1", ", ", "5", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "382", + "s" : [ { + "r" : "366", + "value" : [ "DateTime", "(", "2012", ", ", "1", ", ", "10", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ "]" ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "393", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "394", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "expression" : { + "type" : "Interval", + "localId" : "390", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "391", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "392", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "DateTime", + "localId" : "358", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "359", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "360", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "361", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "362", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "363", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "364", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "365", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "342", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "343", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "344", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "5", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "345", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "346", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "347", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "348", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "382", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "383", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "384", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "385", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "386", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "387", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "388", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "389", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "366", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "367", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "368", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "10", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "369", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "370", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "371", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "372", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + } + } + }, { + "localId" : "397", + "name" : "DateTime5_12Interval", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "397", + "s" : [ { + "value" : [ "", "define ", "DateTime5_12Interval", ": " ] + }, { + "r" : "446", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "414", + "s" : [ { + "r" : "398", + "value" : [ "DateTime", "(", "2012", ", ", "1", ", ", "5", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "438", + "s" : [ { + "r" : "422", + "value" : [ "DateTime", "(", "2012", ", ", "1", ", ", "12", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ "]" ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "449", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "450", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "expression" : { + "type" : "Interval", + "localId" : "446", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "447", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "448", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "DateTime", + "localId" : "414", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "415", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "416", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "417", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "418", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "419", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "420", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "421", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "398", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "399", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] }, - "expression" : { - "localId" : "1568", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "1575", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "1576", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1577", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } - }, - "element" : [ { - "localId" : "1571", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "1573", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1574", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "1572", - "asType" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "As", - "signature" : [ ], - "operand" : { - "localId" : "1569", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - } - }, - "high" : { - "localId" : "1570", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal" - } - } ] - } - }, { - "localId" : "1583", - "name" : "NullHighIntervalList", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "1583", - "s" : [ { - "value" : [ "","define ","NullHighIntervalList",": " ] - }, { - "r" : "1584", - "s" : [ { - "value" : [ "{ " ] - }, { - "r" : "1587", - "s" : [ { - "r" : "1585", - "value" : [ "Interval[","1",", ","4","]" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "1592", - "s" : [ { - "r" : "1590", - "value" : [ "Interval[","3",", ","null","]" ] - } ] - }, { - "value" : [ " }" ] - } ] - } ] - } - } ], - "resultTypeSpecifier" : { - "localId" : "1599", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "1600", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1601", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } + "day" : { + "type" : "Literal", + "localId" : "400", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "5", + "annotation" : [ ] }, - "expression" : { - "localId" : "1584", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "1596", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "1597", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1598", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } - }, - "element" : [ { - "localId" : "1587", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "1588", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1589", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "1585", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "high" : { - "localId" : "1586", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "4", - "type" : "Literal" - } - }, { - "localId" : "1592", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "1594", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1595", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "1590", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "high" : { - "localId" : "1593", - "asType" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "As", - "signature" : [ ], - "operand" : { - "localId" : "1591", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - } - } - } ] - } - }, { - "localId" : "1604", - "name" : "CollapseNullHighIntervalList", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "1604", - "s" : [ { - "value" : [ "","define ","CollapseNullHighIntervalList",": " ] - }, { - "r" : "1610", - "s" : [ { - "value" : [ "collapse " ] - }, { - "r" : "1605", - "s" : [ { - "value" : [ "NullHighIntervalList" ] - } ] - } ] - } ] - } - } ], - "resultTypeSpecifier" : { - "localId" : "1618", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "1619", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1620", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } - }, - "expression" : { - "localId" : "1610", - "type" : "Collapse", - "resultTypeSpecifier" : { - "localId" : "1615", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "1616", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1617", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } - }, - "signature" : [ { - "localId" : "1611", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "1612", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1613", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } - }, { - "localId" : "1614", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "1605", - "name" : "NullHighIntervalList", - "type" : "ExpressionRef", - "resultTypeSpecifier" : { - "localId" : "1606", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "1607", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1608", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } - } - }, { - "localId" : "1609", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "Null" - } ] - } - }, { - "localId" : "1623", - "name" : "ExpectedNullHighIntervalCollapse", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "1623", - "s" : [ { - "value" : [ "","define ","ExpectedNullHighIntervalCollapse",": " ] - }, { - "r" : "1624", - "s" : [ { - "value" : [ "{ " ] - }, { - "r" : "1627", - "s" : [ { - "r" : "1625", - "value" : [ "Interval[","1",", ","null","]" ] - } ] - }, { - "value" : [ " }" ] - } ] - } ] - } - } ], - "resultTypeSpecifier" : { - "localId" : "1634", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "1635", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1636", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } + "hour" : { + "type" : "Literal", + "localId" : "401", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] }, - "expression" : { - "localId" : "1624", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "1631", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "1632", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1633", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } - }, - "element" : [ { - "localId" : "1627", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "1629", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1630", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "1625", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "high" : { - "localId" : "1628", - "asType" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "As", - "signature" : [ ], - "operand" : { - "localId" : "1626", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - } - } - } ] - } - }, { - "localId" : "1639", - "name" : "NullInCollapse", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "1639", - "s" : [ { - "value" : [ "","define ","NullInCollapse",": " ] - }, { - "r" : "1654", - "s" : [ { - "value" : [ "collapse " ] - }, { - "r" : "1640", - "s" : [ { - "value" : [ "{ " ] - }, { - "r" : "1643", - "s" : [ { - "r" : "1641", - "value" : [ "Interval[","1",",","3","]" ] - } ] - }, { - "r" : "1646", - "value" : [ ", ","null"," }" ] - } ] - } ] - } ] - } - } ], - "resultTypeSpecifier" : { - "localId" : "1662", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "1663", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1664", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } - }, - "expression" : { - "localId" : "1654", - "type" : "Collapse", - "resultTypeSpecifier" : { - "localId" : "1659", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "1660", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1661", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } - }, - "signature" : [ { - "localId" : "1655", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "1656", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1657", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } - }, { - "localId" : "1658", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "1640", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "1650", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "1651", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1652", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } - }, - "element" : [ { - "localId" : "1643", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "1644", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1645", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "1641", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "high" : { - "localId" : "1642", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - } - }, { - "localId" : "1647", - "type" : "As", - "signature" : [ ], - "operand" : { - "localId" : "1646", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - }, - "asTypeSpecifier" : { - "localId" : "1648", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1649", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } - } ] - }, { - "localId" : "1653", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "Null" - } ] - } - }, { - "localId" : "1667", - "name" : "ExpectedResultWithNull", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "1667", - "s" : [ { - "value" : [ "","define ","ExpectedResultWithNull",": " ] - }, { - "r" : "1668", - "s" : [ { - "value" : [ "{ " ] - }, { - "r" : "1671", - "s" : [ { - "r" : "1669", - "value" : [ "Interval[","1",",","3","]" ] - } ] - }, { - "value" : [ " }" ] - } ] - } ] - } - } ], - "resultTypeSpecifier" : { - "localId" : "1677", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "1678", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1679", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } - }, - "expression" : { - "localId" : "1668", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "1674", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "1675", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1676", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } - }, - "element" : [ { - "localId" : "1671", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "1672", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1673", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "1669", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "high" : { - "localId" : "1670", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - } - } ] - } - }, { - "localId" : "1682", - "name" : "NullCollapse", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "1682", - "s" : [ { - "value" : [ "","define ","NullCollapse",": " ] - }, { - "r" : "1697", - "s" : [ { - "value" : [ "collapse " ] - }, { - "r" : "1683", - "s" : [ { - "r" : "1684", - "value" : [ "null"," as " ] - }, { - "r" : "1685", - "s" : [ { - "value" : [ "List<" ] - }, { - "r" : "1686", - "s" : [ { - "value" : [ "Interval<" ] - }, { - "r" : "1687", - "s" : [ { - "value" : [ "Integer" ] - } ] - }, { - "value" : [ ">" ] - } ] - }, { - "value" : [ ">" ] - } ] - } ] - } ] - } ] - } - } ], - "resultTypeSpecifier" : { - "localId" : "1705", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "1706", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1707", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } - }, - "expression" : { - "localId" : "1697", - "type" : "Collapse", - "resultTypeSpecifier" : { - "localId" : "1702", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "1703", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1704", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } - }, - "signature" : [ { - "localId" : "1698", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "1699", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1700", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } - }, { - "localId" : "1701", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "1683", - "strict" : false, - "type" : "As", - "resultTypeSpecifier" : { - "localId" : "1693", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "1694", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1695", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } - }, - "signature" : [ ], - "operand" : { - "localId" : "1684", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - }, - "asTypeSpecifier" : { - "localId" : "1685", - "type" : "ListTypeSpecifier", - "resultTypeSpecifier" : { - "localId" : "1690", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "1691", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1692", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } - }, - "elementType" : { - "localId" : "1686", - "type" : "IntervalTypeSpecifier", - "resultTypeSpecifier" : { - "localId" : "1688", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1689", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "pointType" : { - "localId" : "1687", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } - } - }, { - "localId" : "1696", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "Null" - } ] - } - }, { - "localId" : "1710", - "name" : "NullPerCollapse", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "1710", - "s" : [ { - "value" : [ "","define ","NullPerCollapse",": " ] - }, { - "r" : "1727", - "s" : [ { - "value" : [ "collapse " ] - }, { - "r" : "1711", - "s" : [ { - "value" : [ "{ " ] - }, { - "r" : "1714", - "s" : [ { - "r" : "1712", - "value" : [ "Interval[","1",",","4","]" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "1719", - "s" : [ { - "r" : "1717", - "value" : [ "Interval[","4",",","7","]" ] - } ] - }, { - "value" : [ " }" ] - } ] - }, { - "r" : "1726", - "value" : [ " per ","null" ] - } ] - } ] - } - } ], - "resultTypeSpecifier" : { - "localId" : "1736", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "1737", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1738", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } - }, - "expression" : { - "localId" : "1727", - "type" : "Collapse", - "resultTypeSpecifier" : { - "localId" : "1733", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "1734", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1735", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } - }, - "signature" : [ { - "localId" : "1729", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "1730", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1731", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } - }, { - "localId" : "1732", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "1711", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "1722", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "1723", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1724", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } - }, - "element" : [ { - "localId" : "1714", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "1715", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1716", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "1712", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "high" : { - "localId" : "1713", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "4", - "type" : "Literal" - } - }, { - "localId" : "1719", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "1720", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1721", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "1717", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "4", - "type" : "Literal" - }, - "high" : { - "localId" : "1718", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "7", - "type" : "Literal" - } - } ] - }, { - "localId" : "1728", - "asType" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "As", - "signature" : [ ], - "operand" : { - "localId" : "1726", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - } - } ] - } - }, { - "localId" : "1741", - "name" : "ExpectedResultNullPer", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "1741", - "s" : [ { - "value" : [ "","define ","ExpectedResultNullPer",": " ] - }, { - "r" : "1742", - "s" : [ { - "value" : [ "{ " ] - }, { - "r" : "1745", - "s" : [ { - "r" : "1743", - "value" : [ "Interval[","1",",","7","]" ] - } ] - }, { - "value" : [ " }" ] - } ] - } ] - } - } ], - "resultTypeSpecifier" : { - "localId" : "1751", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "1752", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1753", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } - }, - "expression" : { - "localId" : "1742", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "1748", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "1749", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1750", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } - }, - "element" : [ { - "localId" : "1745", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "1746", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1747", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "1743", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "high" : { - "localId" : "1744", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "7", - "type" : "Literal" - } - } ] - } - }, { - "localId" : "1756", - "name" : "DateTime5_NullInterval", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "1756", - "s" : [ { - "value" : [ "","define ","DateTime5_NullInterval",": " ] - }, { - "r" : "1782", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "1773", - "s" : [ { - "r" : "1757", - "value" : [ "DateTime","(","2012",", ","1",", ","5",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "r" : "1781", - "value" : [ ", ","null","]" ] - } ] - } ] - } - } ], - "resultTypeSpecifier" : { - "localId" : "1786", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1787", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "expression" : { - "localId" : "1782", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "1784", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1785", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "1773", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "1774", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1775", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1776", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1777", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1778", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1779", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1780", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1757", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "1758", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "1759", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal" - }, - "hour" : { - "localId" : "1760", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "1761", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "1762", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "1763", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - }, - "high" : { - "localId" : "1783", - "asType" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "As", - "signature" : [ ], - "operand" : { - "localId" : "1781", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - } - } - } - }, { - "localId" : "1790", - "name" : "DateTimeNull_5Interval", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "1790", - "s" : [ { - "value" : [ "","define ","DateTimeNull_5Interval",": " ] - }, { - "r" : "1816", - "s" : [ { - "r" : "1791", - "value" : [ "Interval[","null",", " ] - }, { - "r" : "1808", - "s" : [ { - "r" : "1792", - "value" : [ "DateTime","(","2012",", ","1",", ","5",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ "]" ] - } ] - } ] - } - } ], - "resultTypeSpecifier" : { - "localId" : "1820", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1821", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "expression" : { - "localId" : "1816", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "1818", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1819", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "1817", - "asType" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "As", - "signature" : [ ], - "operand" : { - "localId" : "1791", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - } - }, - "high" : { - "localId" : "1808", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "1809", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1810", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1811", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1812", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1813", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1814", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1815", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1792", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "1793", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "1794", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal" - }, - "hour" : { - "localId" : "1795", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "1796", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "1797", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "1798", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - } - } - }, { - "localId" : "1824", + "minute" : { + "type" : "Literal", + "localId" : "402", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "403", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "404", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "438", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "439", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "440", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "441", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "442", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "443", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "444", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "445", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "422", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "423", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "424", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "12", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "425", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "426", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "427", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "428", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + } + } + }, { + "localId" : "453", + "name" : "DateTime10_15Interval", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "453", + "s" : [ { + "value" : [ "", "define ", "DateTime10_15Interval", ": " ] + }, { + "r" : "502", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "470", + "s" : [ { + "r" : "454", + "value" : [ "DateTime", "(", "2012", ", ", "1", ", ", "10", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "494", + "s" : [ { + "r" : "478", + "value" : [ "DateTime", "(", "2012", ", ", "1", ", ", "15", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ "]" ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "505", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "506", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "expression" : { + "type" : "Interval", + "localId" : "502", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "503", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "504", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "DateTime", + "localId" : "470", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "471", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "472", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "473", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "474", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "475", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "476", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "477", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "454", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "455", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "456", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "10", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "457", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "458", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "459", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "460", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "494", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "495", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "496", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "497", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "498", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "499", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "500", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "501", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "478", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "479", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "480", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "15", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "481", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "482", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "483", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "484", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + } + } + }, { + "localId" : "509", + "name" : "DateTime15_20Interval", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "509", + "s" : [ { + "value" : [ "", "define ", "DateTime15_20Interval", ": " ] + }, { + "r" : "558", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "526", + "s" : [ { + "r" : "510", + "value" : [ "DateTime", "(", "2012", ", ", "1", ", ", "15", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "550", + "s" : [ { + "r" : "534", + "value" : [ "DateTime", "(", "2012", ", ", "1", ", ", "20", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ "]" ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "561", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "562", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "expression" : { + "type" : "Interval", + "localId" : "558", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "559", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "560", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "DateTime", + "localId" : "526", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "527", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "528", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "529", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "530", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "531", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "532", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "533", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "510", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "511", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "512", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "15", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "513", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "514", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "515", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "516", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "550", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "551", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "552", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "553", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "554", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "555", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "556", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "557", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "534", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "535", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "536", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "20", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "537", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "538", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "539", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "540", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + } + } + }, { + "localId" : "565", + "name" : "DateTime1_12Interval", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "565", + "s" : [ { + "value" : [ "", "define ", "DateTime1_12Interval", ": " ] + }, { + "r" : "614", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "582", + "s" : [ { + "r" : "566", + "value" : [ "DateTime", "(", "2012", ", ", "1", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "606", + "s" : [ { + "r" : "590", + "value" : [ "DateTime", "(", "2012", ", ", "1", ", ", "12", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ "]" ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "617", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "618", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "expression" : { + "type" : "Interval", + "localId" : "614", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "615", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "616", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "DateTime", + "localId" : "582", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "583", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "584", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "585", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "586", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "587", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "588", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "589", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "566", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "567", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "568", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "569", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "570", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "571", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "572", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "606", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "607", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "608", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "609", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "610", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "611", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "612", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "613", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "590", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "591", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "592", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "12", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "593", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "594", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "595", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "596", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + } + } + }, { + "localId" : "621", + "name" : "DateTime1_15Interval", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "621", + "s" : [ { + "value" : [ "", "define ", "DateTime1_15Interval", ": " ] + }, { + "r" : "670", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "638", + "s" : [ { + "r" : "622", + "value" : [ "DateTime", "(", "2012", ", ", "1", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "662", + "s" : [ { + "r" : "646", + "value" : [ "DateTime", "(", "2012", ", ", "1", ", ", "15", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ "]" ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "673", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "674", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "expression" : { + "type" : "Interval", + "localId" : "670", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "671", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "672", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "DateTime", + "localId" : "638", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "639", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "640", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "641", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "642", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "643", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "644", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "645", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "622", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "623", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "624", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "625", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "626", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "627", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "628", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "662", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "663", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "664", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "665", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "666", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "667", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "668", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "669", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "646", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "647", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "648", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "15", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "649", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "650", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "651", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "652", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + } + } + }, { + "localId" : "677", + "name" : "DateTime1_3ImpreciseInterval", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "677", + "s" : [ { + "value" : [ "", "define ", "DateTime1_3ImpreciseInterval", ": " ] + }, { + "r" : "714", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "694", + "s" : [ { + "r" : "678", + "value" : [ "DateTime", "(", "2012", ", ", "1", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "710", + "s" : [ { + "r" : "702", + "value" : [ "DateTime", "(", "2012", ", ", "1", ", ", "3", ")" ] + } ] + }, { + "value" : [ "]" ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "717", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "718", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "expression" : { + "type" : "Interval", + "localId" : "714", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "715", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "716", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "DateTime", + "localId" : "694", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "695", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "696", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "697", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "698", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "699", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "700", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "701", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "678", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "679", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "680", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "681", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "682", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "683", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "684", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "710", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "711", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "712", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "713", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "702", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "703", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "704", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + } + } + } + }, { + "localId" : "721", + "name" : "DateTime1_10IntervalList", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "721", + "s" : [ { + "value" : [ "", "define ", "DateTime1_10IntervalList", ": " ] + }, { + "r" : "722", + "s" : [ { + "value" : [ "{ " ] + }, { + "r" : "723", + "s" : [ { + "value" : [ "DateTime1_10Interval" ] + } ] + }, { + "value" : [ " }" ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "729", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "730", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "731", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + }, + "expression" : { + "type" : "List", + "localId" : "722", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "726", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "727", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "728", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + }, + "element" : [ { + "type" : "ExpressionRef", + "localId" : "723", "name" : "DateTime1_10Interval", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "1824", - "s" : [ { - "value" : [ "","define ","DateTime1_10Interval",": " ] - }, { - "r" : "1873", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "1841", - "s" : [ { - "r" : "1825", - "value" : [ "DateTime","(","2012",", ","1",", ","1",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "1865", - "s" : [ { - "r" : "1849", - "value" : [ "DateTime","(","2012",", ","1",", ","10",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ "]" ] - } ] - } ] - } - } ], + "annotation" : [ ], "resultTypeSpecifier" : { - "localId" : "1876", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1877", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "expression" : { - "localId" : "1873", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "1874", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1875", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "1841", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "1842", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1843", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1844", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1845", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1846", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1847", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1848", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1825", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "1826", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "1827", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "1828", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "1829", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "1830", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "1831", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - }, - "high" : { - "localId" : "1865", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "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" - }, { - "localId" : "1868", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1869", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1870", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1871", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1872", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1849", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "1850", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "1851", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal" - }, - "hour" : { - "localId" : "1852", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "1853", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "1854", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "1855", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - } - } - }, { - "localId" : "1880", - "name" : "DateTime9_10Interval", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "1880", - "s" : [ { - "value" : [ "","define ","DateTime9_10Interval",": " ] - }, { - "r" : "1929", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "1897", - "s" : [ { - "r" : "1881", - "value" : [ "DateTime","(","2012",", ","1",", ","9",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "1921", - "s" : [ { - "r" : "1905", - "value" : [ "DateTime","(","2012",", ","1",", ","10",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ "]" ] - } ] - } ] - } - } ], + "type" : "IntervalTypeSpecifier", + "localId" : "724", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "725", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + } ] + } + }, { + "localId" : "734", + "name" : "DateTime1_12IntervalList", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "734", + "s" : [ { + "value" : [ "", "define ", "DateTime1_12IntervalList", ": " ] + }, { + "r" : "735", + "s" : [ { + "value" : [ "{ " ] + }, { + "r" : "736", + "s" : [ { + "value" : [ "DateTime1_12Interval" ] + } ] + }, { + "value" : [ " }" ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "742", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "743", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "744", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + }, + "expression" : { + "type" : "List", + "localId" : "735", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "739", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "740", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "741", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + }, + "element" : [ { + "type" : "ExpressionRef", + "localId" : "736", + "name" : "DateTime1_12Interval", + "annotation" : [ ], "resultTypeSpecifier" : { - "localId" : "1932", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1933", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "expression" : { - "localId" : "1929", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "1930", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1931", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "1897", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "1898", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1899", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1900", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1901", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1902", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1903", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1904", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1881", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "1882", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "1883", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "9", - "type" : "Literal" - }, - "hour" : { - "localId" : "1884", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "1885", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "1886", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "1887", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - }, - "high" : { - "localId" : "1921", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "1922", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1923", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1924", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1925", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1926", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1927", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1928", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1905", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "1906", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "1907", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal" - }, - "hour" : { - "localId" : "1908", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "1909", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "1910", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "1911", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - } - } - }, { - "localId" : "1936", - "name" : "DateTime1_2Interval", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "1936", - "s" : [ { - "value" : [ "","define ","DateTime1_2Interval",": " ] - }, { - "r" : "1985", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "1953", - "s" : [ { - "r" : "1937", - "value" : [ "DateTime","(","2012",", ","1",", ","1",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "1977", - "s" : [ { - "r" : "1961", - "value" : [ "DateTime","(","2012",", ","1",", ","2",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ "]" ] - } ] - } ] - } - } ], + "type" : "IntervalTypeSpecifier", + "localId" : "737", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "738", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + } ] + } + }, { + "localId" : "747", + "name" : "DateTime1_15IntervalList", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "747", + "s" : [ { + "value" : [ "", "define ", "DateTime1_15IntervalList", ": " ] + }, { + "r" : "748", + "s" : [ { + "value" : [ "{ " ] + }, { + "r" : "749", + "s" : [ { + "value" : [ "DateTime1_15Interval" ] + } ] + }, { + "value" : [ " }" ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "755", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "756", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "757", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + }, + "expression" : { + "type" : "List", + "localId" : "748", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "752", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "753", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "754", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + }, + "element" : [ { + "type" : "ExpressionRef", + "localId" : "749", + "name" : "DateTime1_15Interval", + "annotation" : [ ], "resultTypeSpecifier" : { - "localId" : "1988", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1989", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "expression" : { - "localId" : "1985", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "1986", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1987", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "1953", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "1954", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1955", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1956", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1957", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1958", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1959", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1960", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1937", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "1938", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "1939", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "1940", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "1941", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "1942", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "1943", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - }, - "high" : { - "localId" : "1977", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "1978", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1979", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1980", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1981", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1982", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1983", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1984", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1961", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "1962", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "1963", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal" - }, - "hour" : { - "localId" : "1964", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "1965", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "1966", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "1967", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - } - } - }, { - "localId" : "1992", - "name" : "DateTimeNullStartCollapse", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "1992", - "s" : [ { - "value" : [ "","define ","DateTimeNullStartCollapse",": " ] - }, { - "r" : "2004", - "s" : [ { - "value" : [ "collapse " ] - }, { - "r" : "1993", - "s" : [ { - "value" : [ "{ " ] - }, { - "r" : "1994", - "s" : [ { - "value" : [ "DateTime1_10Interval" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "1997", - "s" : [ { - "value" : [ "DateTimeNull_5Interval" ] - } ] - }, { - "value" : [ " }" ] - } ] - } ] - } ] - } - } ], + "type" : "IntervalTypeSpecifier", + "localId" : "750", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "751", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + } ] + } + }, { + "localId" : "760", + "name" : "DateTimeTwoItemDisjointList", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "760", + "s" : [ { + "value" : [ "", "define ", "DateTimeTwoItemDisjointList", ": " ] + }, { + "r" : "761", + "s" : [ { + "value" : [ "{ " ] + }, { + "r" : "762", + "s" : [ { + "value" : [ "DateTime1_10Interval" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "765", + "s" : [ { + "value" : [ "DateTime15_20Interval" ] + } ] + }, { + "value" : [ " }" ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "771", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "772", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "773", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + }, + "expression" : { + "type" : "List", + "localId" : "761", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "768", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "769", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "770", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + }, + "element" : [ { + "type" : "ExpressionRef", + "localId" : "762", + "name" : "DateTime1_10Interval", + "annotation" : [ ], "resultTypeSpecifier" : { - "localId" : "2012", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "2013", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "2014", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - }, - "expression" : { - "localId" : "2004", - "type" : "Collapse", - "resultTypeSpecifier" : { - "localId" : "2009", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "2010", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "2011", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - }, - "signature" : [ { - "localId" : "2005", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "2006", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "2007", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - }, { - "localId" : "2008", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "1993", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "2000", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "2001", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "2002", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - }, - "element" : [ { - "localId" : "1994", - "name" : "DateTime1_10Interval", - "type" : "ExpressionRef", - "resultTypeSpecifier" : { - "localId" : "1995", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1996", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - }, { - "localId" : "1997", - "name" : "DateTimeNull_5Interval", - "type" : "ExpressionRef", - "resultTypeSpecifier" : { - "localId" : "1998", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1999", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - } ] - }, { - "localId" : "2003", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "Null" - } ] - } - }, { - "localId" : "2017", - "name" : "DateTimeNullStartCollapseExpected", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "2017", - "s" : [ { - "value" : [ "","define ","DateTimeNullStartCollapseExpected",": " ] - }, { - "r" : "2018", - "s" : [ { - "value" : [ "{ " ] - }, { - "r" : "2044", - "s" : [ { - "r" : "2019", - "value" : [ "Interval[","null",", " ] - }, { - "r" : "2036", - "s" : [ { - "r" : "2020", - "value" : [ "DateTime","(","2012",", ","1",", ","10",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "value" : [ "]" ] - } ] - }, { - "value" : [ " }" ] - } ] - } ] - } - } ], + "type" : "IntervalTypeSpecifier", + "localId" : "763", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "764", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + }, { + "type" : "ExpressionRef", + "localId" : "765", + "name" : "DateTime15_20Interval", + "annotation" : [ ], "resultTypeSpecifier" : { - "localId" : "2051", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "2052", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "2053", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - }, - "expression" : { - "localId" : "2018", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "2048", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "2049", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "2050", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - }, - "element" : [ { - "localId" : "2044", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "2046", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "2047", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "2045", - "asType" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "As", - "signature" : [ ], - "operand" : { - "localId" : "2019", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - } - }, - "high" : { - "localId" : "2036", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "2037", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2038", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2039", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2040", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2041", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2042", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2043", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "2020", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "2021", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "2022", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal" - }, - "hour" : { - "localId" : "2023", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "2024", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "2025", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "2026", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - } - } ] - } - }, { - "localId" : "2056", - "name" : "DateTimeNullEndCollapse", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "2056", - "s" : [ { - "value" : [ "","define ","DateTimeNullEndCollapse",": " ] - }, { - "r" : "2068", - "s" : [ { - "value" : [ "collapse " ] - }, { - "r" : "2057", - "s" : [ { - "value" : [ "{ " ] - }, { - "r" : "2058", - "s" : [ { - "value" : [ "DateTime1_10Interval" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "2061", - "s" : [ { - "value" : [ "DateTime5_NullInterval" ] - } ] - }, { - "value" : [ " }" ] - } ] - } ] - } ] - } - } ], + "type" : "IntervalTypeSpecifier", + "localId" : "766", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "767", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + } ] + } + }, { + "localId" : "776", + "name" : "DateTimeCollapseEmpty", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "776", + "s" : [ { + "value" : [ "", "define ", "DateTimeCollapseEmpty", ": " ] + }, { + "r" : "782", + "s" : [ { + "value" : [ "collapse " ] + }, { + "r" : "777", + "s" : [ { + "value" : [ "DateTimeEmptyIntervalList" ] + } ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "790", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "791", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "792", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + }, + "expression" : { + "type" : "Collapse", + "localId" : "782", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "787", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "788", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "789", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + }, + "signature" : [ { + "type" : "ListTypeSpecifier", + "localId" : "783", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "784", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "785", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + }, { + "type" : "NamedTypeSpecifier", + "localId" : "786", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "ExpressionRef", + "localId" : "777", + "name" : "DateTimeEmptyIntervalList", + "annotation" : [ ], "resultTypeSpecifier" : { - "localId" : "2076", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "2077", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "2078", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - }, - "expression" : { - "localId" : "2068", - "type" : "Collapse", - "resultTypeSpecifier" : { - "localId" : "2073", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "2074", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "2075", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - }, - "signature" : [ { - "localId" : "2069", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "2070", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "2071", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - }, { - "localId" : "2072", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "2057", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "2064", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "2065", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "2066", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - }, - "element" : [ { - "localId" : "2058", - "name" : "DateTime1_10Interval", - "type" : "ExpressionRef", - "resultTypeSpecifier" : { - "localId" : "2059", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "2060", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - }, { - "localId" : "2061", - "name" : "DateTime5_NullInterval", - "type" : "ExpressionRef", - "resultTypeSpecifier" : { - "localId" : "2062", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "2063", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - } ] - }, { - "localId" : "2067", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "Null" - } ] - } - }, { - "localId" : "2081", - "name" : "DateTimeNullEndCollapseNoOverlap", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "2081", - "s" : [ { - "value" : [ "","define ","DateTimeNullEndCollapseNoOverlap",": " ] - }, { - "r" : "2093", - "s" : [ { - "value" : [ "collapse " ] - }, { - "r" : "2082", - "s" : [ { - "value" : [ "{ " ] - }, { - "r" : "2083", - "s" : [ { - "value" : [ "DateTime1_2Interval" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "2086", - "s" : [ { - "value" : [ "DateTime5_NullInterval" ] - } ] - }, { - "value" : [ " }" ] - } ] - } ] - } ] - } - } ], + "type" : "ListTypeSpecifier", + "localId" : "778", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "779", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "780", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + } + }, { + "type" : "Null", + "localId" : "781", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } ] + } + }, { + "localId" : "795", + "name" : "DateTimeCollapseSingleInterval", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "795", + "s" : [ { + "value" : [ "", "define ", "DateTimeCollapseSingleInterval", ": " ] + }, { + "r" : "801", + "s" : [ { + "value" : [ "collapse " ] + }, { + "r" : "796", + "s" : [ { + "value" : [ "DateTime1_10IntervalList" ] + } ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "809", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "810", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "811", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + }, + "expression" : { + "type" : "Collapse", + "localId" : "801", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "806", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "807", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "808", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + }, + "signature" : [ { + "type" : "ListTypeSpecifier", + "localId" : "802", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "803", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "804", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + }, { + "type" : "NamedTypeSpecifier", + "localId" : "805", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "ExpressionRef", + "localId" : "796", + "name" : "DateTime1_10IntervalList", + "annotation" : [ ], "resultTypeSpecifier" : { - "localId" : "2101", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "2102", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "2103", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - }, - "expression" : { - "localId" : "2093", - "type" : "Collapse", - "resultTypeSpecifier" : { - "localId" : "2098", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "2099", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "2100", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - }, - "signature" : [ { - "localId" : "2094", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "2095", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "2096", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - }, { - "localId" : "2097", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "2082", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "2089", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "2090", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "2091", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - }, - "element" : [ { - "localId" : "2083", - "name" : "DateTime1_2Interval", - "type" : "ExpressionRef", - "resultTypeSpecifier" : { - "localId" : "2084", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "2085", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - }, { - "localId" : "2086", - "name" : "DateTime5_NullInterval", - "type" : "ExpressionRef", - "resultTypeSpecifier" : { - "localId" : "2087", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "2088", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - } ] - }, { - "localId" : "2092", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "Null" - } ] - } - }, { - "localId" : "2106", - "name" : "DateTimeNullEndCollapseNoOverlapExpected", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "2106", - "s" : [ { - "value" : [ "","define ","DateTimeNullEndCollapseNoOverlapExpected",": " ] - }, { - "r" : "2107", - "s" : [ { - "value" : [ "{ " ] - }, { - "r" : "2108", - "s" : [ { - "value" : [ "DateTime1_2Interval" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "2111", - "s" : [ { - "value" : [ "DateTime5_NullInterval" ] - } ] - }, { - "value" : [ " }" ] - } ] - } ] - } - } ], + "type" : "ListTypeSpecifier", + "localId" : "797", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "798", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "799", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + } + }, { + "type" : "Null", + "localId" : "800", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } ] + } + }, { + "localId" : "814", + "name" : "DateTimeCollapseDisjoint", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "814", + "s" : [ { + "value" : [ "", "define ", "DateTimeCollapseDisjoint", ": " ] + }, { + "r" : "820", + "s" : [ { + "value" : [ "collapse " ] + }, { + "r" : "815", + "s" : [ { + "value" : [ "DateTimeTwoItemDisjointList" ] + } ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "828", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "829", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "830", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + }, + "expression" : { + "type" : "Collapse", + "localId" : "820", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "825", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "826", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "827", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + }, + "signature" : [ { + "type" : "ListTypeSpecifier", + "localId" : "821", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "822", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "823", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + }, { + "type" : "NamedTypeSpecifier", + "localId" : "824", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "ExpressionRef", + "localId" : "815", + "name" : "DateTimeTwoItemDisjointList", + "annotation" : [ ], "resultTypeSpecifier" : { - "localId" : "2117", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "2118", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "2119", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - }, - "expression" : { - "localId" : "2107", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "2114", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "2115", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "2116", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - }, - "element" : [ { - "localId" : "2108", - "name" : "DateTime1_2Interval", - "type" : "ExpressionRef", - "resultTypeSpecifier" : { - "localId" : "2109", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "2110", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - }, { - "localId" : "2111", - "name" : "DateTime5_NullInterval", - "type" : "ExpressionRef", - "resultTypeSpecifier" : { - "localId" : "2112", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "2113", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - } ] + "type" : "ListTypeSpecifier", + "localId" : "816", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "817", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "818", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } } - }, { - "localId" : "2122", - "name" : "DateTimeNullStartCollapseNoOverlap", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "2122", - "s" : [ { - "value" : [ "","define ","DateTimeNullStartCollapseNoOverlap",": " ] - }, { - "r" : "2134", - "s" : [ { - "value" : [ "collapse " ] - }, { - "r" : "2123", - "s" : [ { - "value" : [ "{ " ] - }, { - "r" : "2124", - "s" : [ { - "value" : [ "DateTime9_10Interval" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "2127", - "s" : [ { - "value" : [ "DateTimeNull_5Interval" ] - } ] - }, { - "value" : [ " }" ] - } ] - } ] - } ] - } - } ], + }, { + "type" : "Null", + "localId" : "819", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } ] + } + }, { + "localId" : "833", + "name" : "DateTimeCollapseDisjointReversed", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "833", + "s" : [ { + "value" : [ "", "define ", "DateTimeCollapseDisjointReversed", ": " ] + }, { + "r" : "845", + "s" : [ { + "value" : [ "collapse " ] + }, { + "r" : "834", + "s" : [ { + "value" : [ "{ " ] + }, { + "r" : "835", + "s" : [ { + "value" : [ "DateTime15_20Interval" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "838", + "s" : [ { + "value" : [ "DateTime1_10Interval" ] + } ] + }, { + "value" : [ " }" ] + } ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "853", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "854", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "855", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + }, + "expression" : { + "type" : "Collapse", + "localId" : "845", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "850", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "851", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "852", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + }, + "signature" : [ { + "type" : "ListTypeSpecifier", + "localId" : "846", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "847", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "848", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + }, { + "type" : "NamedTypeSpecifier", + "localId" : "849", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "List", + "localId" : "834", + "annotation" : [ ], "resultTypeSpecifier" : { - "localId" : "2142", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "2143", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "2144", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - }, - "expression" : { - "localId" : "2134", - "type" : "Collapse", - "resultTypeSpecifier" : { - "localId" : "2139", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "2140", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "2141", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - }, - "signature" : [ { - "localId" : "2135", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "2136", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "2137", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - }, { - "localId" : "2138", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "2123", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "2130", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "2131", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "2132", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - }, - "element" : [ { - "localId" : "2124", - "name" : "DateTime9_10Interval", - "type" : "ExpressionRef", - "resultTypeSpecifier" : { - "localId" : "2125", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "2126", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - }, { - "localId" : "2127", - "name" : "DateTimeNull_5Interval", - "type" : "ExpressionRef", - "resultTypeSpecifier" : { - "localId" : "2128", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "2129", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - } ] - }, { - "localId" : "2133", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "Null" - } ] - } - }, { - "localId" : "2147", - "name" : "DateTimeNullStartCollapseNoOverlapExpected", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "2147", - "s" : [ { - "value" : [ "","define ","DateTimeNullStartCollapseNoOverlapExpected",": " ] - }, { - "r" : "2148", - "s" : [ { - "value" : [ "{ " ] - }, { - "r" : "2149", - "s" : [ { - "value" : [ "DateTimeNull_5Interval" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "2152", - "s" : [ { - "value" : [ "DateTime9_10Interval" ] - } ] - }, { - "value" : [ " }" ] - } ] - } ] - } - } ], + "type" : "ListTypeSpecifier", + "localId" : "841", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "842", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "843", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + }, + "element" : [ { + "type" : "ExpressionRef", + "localId" : "835", + "name" : "DateTime15_20Interval", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "836", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "837", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + }, { + "type" : "ExpressionRef", + "localId" : "838", + "name" : "DateTime1_10Interval", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "839", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "840", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + } ] + }, { + "type" : "Null", + "localId" : "844", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } ] + } + }, { + "localId" : "858", + "name" : "DateTimeCollapseAdjacent", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "858", + "s" : [ { + "value" : [ "", "define ", "DateTimeCollapseAdjacent", ": " ] + }, { + "r" : "870", + "s" : [ { + "value" : [ "collapse " ] + }, { + "r" : "859", + "s" : [ { + "value" : [ "{ " ] + }, { + "r" : "860", + "s" : [ { + "value" : [ "DateTime1_10Interval" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "863", + "s" : [ { + "value" : [ "DateTime10_15Interval" ] + } ] + }, { + "value" : [ " }" ] + } ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "878", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "879", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "880", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + }, + "expression" : { + "type" : "Collapse", + "localId" : "870", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "875", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "876", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "877", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + }, + "signature" : [ { + "type" : "ListTypeSpecifier", + "localId" : "871", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "872", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "873", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + }, { + "type" : "NamedTypeSpecifier", + "localId" : "874", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "List", + "localId" : "859", + "annotation" : [ ], "resultTypeSpecifier" : { - "localId" : "2158", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "2159", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "2160", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - }, - "expression" : { - "localId" : "2148", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "2155", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "2156", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "2157", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - }, - "element" : [ { - "localId" : "2149", - "name" : "DateTimeNull_5Interval", - "type" : "ExpressionRef", - "resultTypeSpecifier" : { - "localId" : "2150", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "2151", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - }, { - "localId" : "2152", - "name" : "DateTime9_10Interval", - "type" : "ExpressionRef", - "resultTypeSpecifier" : { - "localId" : "2153", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "2154", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - } ] - } - }, { - "localId" : "2163", - "name" : "DateTimeNullEndCollapseExpected", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "2163", - "s" : [ { - "value" : [ "","define ","DateTimeNullEndCollapseExpected",": " ] - }, { - "r" : "2164", - "s" : [ { - "value" : [ "{ " ] - }, { - "r" : "2190", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "2181", - "s" : [ { - "r" : "2165", - "value" : [ "DateTime","(","2012",", ","1",", ","1",", ","0",", ","0",", ","0",", ","0",")" ] - } ] - }, { - "r" : "2189", - "value" : [ ", ","null","]" ] - } ] - }, { - "value" : [ " }" ] - } ] - } ] - } - } ], + "type" : "ListTypeSpecifier", + "localId" : "866", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "867", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "868", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + }, + "element" : [ { + "type" : "ExpressionRef", + "localId" : "860", + "name" : "DateTime1_10Interval", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "861", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "862", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + }, { + "type" : "ExpressionRef", + "localId" : "863", + "name" : "DateTime10_15Interval", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "864", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "865", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + } ] + }, { + "type" : "Null", + "localId" : "869", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } ] + } + }, { + "localId" : "883", + "name" : "DateTimeCollapseOverlap", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "883", + "s" : [ { + "value" : [ "", "define ", "DateTimeCollapseOverlap", ": " ] + }, { + "r" : "895", + "s" : [ { + "value" : [ "collapse " ] + }, { + "r" : "884", + "s" : [ { + "value" : [ "{ " ] + }, { + "r" : "885", + "s" : [ { + "value" : [ "DateTime1_10Interval" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "888", + "s" : [ { + "value" : [ "DateTime5_12Interval" ] + } ] + }, { + "value" : [ " }" ] + } ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "903", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "904", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "905", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + }, + "expression" : { + "type" : "Collapse", + "localId" : "895", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "900", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "901", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "902", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + }, + "signature" : [ { + "type" : "ListTypeSpecifier", + "localId" : "896", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "897", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "898", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + }, { + "type" : "NamedTypeSpecifier", + "localId" : "899", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "List", + "localId" : "884", + "annotation" : [ ], "resultTypeSpecifier" : { - "localId" : "2197", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "2198", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "2199", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - }, - "expression" : { - "localId" : "2164", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "2194", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "2195", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "2196", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - }, - "element" : [ { - "localId" : "2190", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "2192", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "2193", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "2181", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "2182", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2183", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2184", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2185", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2186", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2187", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2188", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "2165", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "2166", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "2167", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "2168", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "2169", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "2170", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "2171", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - }, - "high" : { - "localId" : "2191", - "asType" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "As", - "signature" : [ ], - "operand" : { - "localId" : "2189", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - } - } - } ] - } - }, { - "localId" : "2202", - "name" : "DateTimeNullStartEndCollapse", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "2202", - "s" : [ { - "value" : [ "","define ","DateTimeNullStartEndCollapse",": " ] - }, { - "r" : "2217", - "s" : [ { - "value" : [ "collapse " ] - }, { - "r" : "2203", - "s" : [ { - "value" : [ "{ " ] - }, { - "r" : "2204", - "s" : [ { - "value" : [ "DateTimeNull_5Interval" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "2207", - "s" : [ { - "value" : [ "DateTime1_10Interval" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "2210", - "s" : [ { - "value" : [ "DateTime5_NullInterval" ] - } ] - }, { - "value" : [ " }" ] - } ] - } ] - } ] - } - } ], + "type" : "ListTypeSpecifier", + "localId" : "891", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "892", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "893", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + }, + "element" : [ { + "type" : "ExpressionRef", + "localId" : "885", + "name" : "DateTime1_10Interval", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "886", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "887", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + }, { + "type" : "ExpressionRef", + "localId" : "888", + "name" : "DateTime5_12Interval", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "889", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "890", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + } ] + }, { + "type" : "Null", + "localId" : "894", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } ] + } + }, { + "localId" : "908", + "name" : "DateTimeCollapseOverlapContained", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "908", + "s" : [ { + "value" : [ "", "define ", "DateTimeCollapseOverlapContained", ": " ] + }, { + "r" : "920", + "s" : [ { + "value" : [ "collapse " ] + }, { + "r" : "909", + "s" : [ { + "value" : [ "{ " ] + }, { + "r" : "910", + "s" : [ { + "value" : [ "DateTime1_15Interval" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "913", + "s" : [ { + "value" : [ "DateTime5_12Interval" ] + } ] + }, { + "value" : [ " }" ] + } ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "928", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "929", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "930", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + }, + "expression" : { + "type" : "Collapse", + "localId" : "920", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "925", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "926", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "927", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + }, + "signature" : [ { + "type" : "ListTypeSpecifier", + "localId" : "921", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "922", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "923", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + }, { + "type" : "NamedTypeSpecifier", + "localId" : "924", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "List", + "localId" : "909", + "annotation" : [ ], "resultTypeSpecifier" : { - "localId" : "2225", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "2226", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "2227", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - }, - "expression" : { - "localId" : "2217", - "type" : "Collapse", - "resultTypeSpecifier" : { - "localId" : "2222", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "2223", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "2224", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - }, - "signature" : [ { - "localId" : "2218", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "2219", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "2220", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - }, { - "localId" : "2221", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "2203", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "2213", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "2214", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "2215", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - }, - "element" : [ { - "localId" : "2204", - "name" : "DateTimeNull_5Interval", - "type" : "ExpressionRef", - "resultTypeSpecifier" : { - "localId" : "2205", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "2206", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - }, { - "localId" : "2207", - "name" : "DateTime1_10Interval", - "type" : "ExpressionRef", - "resultTypeSpecifier" : { - "localId" : "2208", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "2209", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - }, { - "localId" : "2210", - "name" : "DateTime5_NullInterval", - "type" : "ExpressionRef", - "resultTypeSpecifier" : { - "localId" : "2211", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "2212", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - } ] - }, { - "localId" : "2216", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "Null" - } ] - } - }, { - "localId" : "2230", - "name" : "DateTimeNullStartEndCollapseExpected", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "2230", - "s" : [ { - "value" : [ "","define ","DateTimeNullStartEndCollapseExpected",": " ] - }, { - "r" : "2231", - "s" : [ { - "value" : [ "{ " ] - }, { - "r" : "2234", - "s" : [ { - "r" : "2232", - "value" : [ "Interval[","null",", ","null","]" ] - } ] - }, { - "value" : [ " }" ] - } ] - } ] - } - } ], + "type" : "ListTypeSpecifier", + "localId" : "916", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "917", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "918", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + }, + "element" : [ { + "type" : "ExpressionRef", + "localId" : "910", + "name" : "DateTime1_15Interval", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "911", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "912", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + }, { + "type" : "ExpressionRef", + "localId" : "913", + "name" : "DateTime5_12Interval", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "914", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "915", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + } ] + }, { + "type" : "Null", + "localId" : "919", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } ] + } + }, { + "localId" : "933", + "name" : "DateTimeCollapseOverlapContainedEdge", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "933", + "s" : [ { + "value" : [ "", "define ", "DateTimeCollapseOverlapContainedEdge", ": " ] + }, { + "r" : "945", + "s" : [ { + "value" : [ "collapse " ] + }, { + "r" : "934", + "s" : [ { + "value" : [ "{ " ] + }, { + "r" : "935", + "s" : [ { + "value" : [ "DateTime1_10Interval" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "938", + "s" : [ { + "value" : [ "DateTime5_10Interval" ] + } ] + }, { + "value" : [ " }" ] + } ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "953", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "954", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "955", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + }, + "expression" : { + "type" : "Collapse", + "localId" : "945", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "950", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "951", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "952", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + }, + "signature" : [ { + "type" : "ListTypeSpecifier", + "localId" : "946", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "947", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "948", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + }, { + "type" : "NamedTypeSpecifier", + "localId" : "949", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "List", + "localId" : "934", + "annotation" : [ ], "resultTypeSpecifier" : { - "localId" : "2240", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "2241", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "2242", - "name" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "NamedTypeSpecifier" - } - } - }, - "expression" : { - "localId" : "2231", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "2237", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "2238", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "2239", - "name" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "NamedTypeSpecifier" - } - } - }, - "element" : [ { - "localId" : "2234", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "2235", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "2236", - "name" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "2232", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - }, - "high" : { - "localId" : "2233", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - } - } ] - } - }, { - "localId" : "2245", - "name" : "QuantityMeterNullLowIntervalList", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "2245", - "s" : [ { - "value" : [ "","define ","QuantityMeterNullLowIntervalList",": " ] - }, { - "r" : "2246", - "s" : [ { - "value" : [ "{ " ] - }, { - "r" : "2255", - "s" : [ { - "r" : "2247", - "value" : [ "Interval[","null",", " ] - }, { - "r" : "2253", - "s" : [ { - "value" : [ "ToQuantity","(" ] - }, { - "r" : "2248", - "s" : [ { - "value" : [ "'1.995 \\'m\\''" ] - } ] - }, { - "value" : [ ")" ] - } ] - }, { - "value" : [ "]" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "2273", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "2264", - "s" : [ { - "value" : [ "ToQuantity","(" ] - }, { - "r" : "2259", - "s" : [ { - "value" : [ "'2 \\'m\\''" ] - } ] - }, { - "value" : [ ")" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "2271", - "s" : [ { - "value" : [ "ToQuantity","(" ] - }, { - "r" : "2266", - "s" : [ { - "value" : [ "'3 \\'m\\''" ] - } ] - }, { - "value" : [ ")" ] - } ] - }, { - "value" : [ "]" ] - } ] - }, { - "value" : [ " }" ] - } ] - } ] - } - } ], + "type" : "ListTypeSpecifier", + "localId" : "941", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "942", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "943", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + }, + "element" : [ { + "type" : "ExpressionRef", + "localId" : "935", + "name" : "DateTime1_10Interval", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "936", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "937", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + }, { + "type" : "ExpressionRef", + "localId" : "938", + "name" : "DateTime5_10Interval", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "939", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "940", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + } ] + }, { + "type" : "Null", + "localId" : "944", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } ] + } + }, { + "localId" : "958", + "name" : "DateTimeCollapseOverlapContainedEdge2", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "958", + "s" : [ { + "value" : [ "", "define ", "DateTimeCollapseOverlapContainedEdge2", ": " ] + }, { + "r" : "970", + "s" : [ { + "value" : [ "collapse " ] + }, { + "r" : "959", + "s" : [ { + "value" : [ "{ " ] + }, { + "r" : "960", + "s" : [ { + "value" : [ "DateTime1_15Interval" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "963", + "s" : [ { + "value" : [ "DateTime1_10Interval" ] + } ] + }, { + "value" : [ " }" ] + } ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "978", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "979", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "980", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + }, + "expression" : { + "type" : "Collapse", + "localId" : "970", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "975", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "976", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "977", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + }, + "signature" : [ { + "type" : "ListTypeSpecifier", + "localId" : "971", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "972", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "973", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + }, { + "type" : "NamedTypeSpecifier", + "localId" : "974", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "List", + "localId" : "959", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "966", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "967", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "968", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + }, + "element" : [ { + "type" : "ExpressionRef", + "localId" : "960", + "name" : "DateTime1_15Interval", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "961", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "962", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + }, { + "type" : "ExpressionRef", + "localId" : "963", + "name" : "DateTime1_10Interval", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "964", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "965", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + } ] + }, { + "type" : "Null", + "localId" : "969", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } ] + } + }, { + "localId" : "983", + "name" : "DateTimeCollapseOverlapMultipleCombine", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "983", + "s" : [ { + "value" : [ "", "define ", "DateTimeCollapseOverlapMultipleCombine", ": " ] + }, { + "r" : "998", + "s" : [ { + "value" : [ "collapse " ] + }, { + "r" : "984", + "s" : [ { + "value" : [ "{ " ] + }, { + "r" : "985", + "s" : [ { + "value" : [ "DateTime1_6Interval" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "988", + "s" : [ { + "value" : [ "DateTime5_12Interval" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "991", + "s" : [ { + "value" : [ "DateTime10_15Interval" ] + } ] + }, { + "value" : [ " }" ] + } ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "1006", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1007", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1008", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + }, + "expression" : { + "type" : "Collapse", + "localId" : "998", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "1003", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1004", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1005", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + }, + "signature" : [ { + "type" : "ListTypeSpecifier", + "localId" : "999", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1000", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1001", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1002", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "List", + "localId" : "984", + "annotation" : [ ], "resultTypeSpecifier" : { - "localId" : "2279", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "2280", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "2281", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } - } + "type" : "ListTypeSpecifier", + "localId" : "994", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "995", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "996", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } }, - "expression" : { - "localId" : "2246", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "2276", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "2277", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "2278", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } - } - }, - "element" : [ { - "localId" : "2255", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "2257", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "2258", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "2256", - "asType" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "As", - "signature" : [ ], - "operand" : { - "localId" : "2247", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - } - }, - "high" : { - "localId" : "2253", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "ToQuantity", - "signature" : [ { - "localId" : "2254", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "2248", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "1.995 'm'", - "type" : "Literal" - } - } - }, { - "localId" : "2273", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "2274", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "2275", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "2264", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "ToQuantity", - "signature" : [ { - "localId" : "2265", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "2259", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "2 'm'", - "type" : "Literal" - } - }, - "high" : { - "localId" : "2271", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "ToQuantity", - "signature" : [ { - "localId" : "2272", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "2266", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "3 'm'", - "type" : "Literal" - } - } - } ] - } - }, { - "localId" : "2284", - "name" : "CollapseQuantityNullLowUnitsWithinPer", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "2284", - "s" : [ { - "value" : [ "","define ","CollapseQuantityNullLowUnitsWithinPer",": " ] - }, { - "r" : "2297", - "s" : [ { - "value" : [ "collapse " ] - }, { - "r" : "2285", - "s" : [ { - "value" : [ "QuantityMeterNullLowIntervalList" ] - } ] - }, { - "value" : [ " per " ] - }, { - "r" : "2295", - "s" : [ { - "value" : [ "ToQuantity","(" ] - }, { - "r" : "2290", - "s" : [ { - "value" : [ "'1 \\'cm\\''" ] - } ] - }, { - "value" : [ ")" ] - } ] - } ] - } ] - } - } ], + "element" : [ { + "type" : "ExpressionRef", + "localId" : "985", + "name" : "DateTime1_6Interval", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "986", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "987", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + }, { + "type" : "ExpressionRef", + "localId" : "988", + "name" : "DateTime5_12Interval", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "989", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "990", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + }, { + "type" : "ExpressionRef", + "localId" : "991", + "name" : "DateTime10_15Interval", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "992", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "993", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + } ] + }, { + "type" : "Null", + "localId" : "997", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } ] + } + }, { + "localId" : "1011", + "name" : "DateTimeCollapseImpreciseBoundary", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "1011", + "s" : [ { + "value" : [ "", "define ", "DateTimeCollapseImpreciseBoundary", ": " ] + }, { + "r" : "1023", + "s" : [ { + "value" : [ "collapse " ] + }, { + "r" : "1012", + "s" : [ { + "value" : [ "{ " ] + }, { + "r" : "1013", + "s" : [ { + "value" : [ "DateTime1_3ImpreciseInterval" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "1016", + "s" : [ { + "value" : [ "DateTime1_10Interval" ] + } ] + }, { + "value" : [ " }" ] + } ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "1031", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1032", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1033", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + }, + "expression" : { + "type" : "Collapse", + "localId" : "1023", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "1028", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1029", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1030", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + }, + "signature" : [ { + "type" : "ListTypeSpecifier", + "localId" : "1024", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1025", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1026", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1027", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "List", + "localId" : "1012", + "annotation" : [ ], "resultTypeSpecifier" : { - "localId" : "2305", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "2306", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "2307", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } - } - }, - "expression" : { - "localId" : "2297", - "type" : "Collapse", - "resultTypeSpecifier" : { - "localId" : "2302", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "2303", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "2304", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } - } - }, - "signature" : [ { - "localId" : "2298", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "2299", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "2300", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } - } - }, { - "localId" : "2301", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "2285", - "name" : "QuantityMeterNullLowIntervalList", - "type" : "ExpressionRef", - "resultTypeSpecifier" : { - "localId" : "2286", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "2287", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "2288", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } - } - } - }, { - "localId" : "2295", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "ToQuantity", - "signature" : [ { - "localId" : "2296", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "2290", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "1 'cm'", - "type" : "Literal" - } - } ] - } - }, { - "localId" : "2310", - "name" : "CollapseQuantityNullLowUnitsWithinPerExpected", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "2310", - "s" : [ { - "value" : [ "","define ","CollapseQuantityNullLowUnitsWithinPerExpected"," : " ] - }, { - "r" : "2311", - "s" : [ { - "value" : [ "{ " ] - }, { - "r" : "2320", - "s" : [ { - "r" : "2312", - "value" : [ "Interval[","null",", " ] - }, { - "r" : "2318", - "s" : [ { - "value" : [ "ToQuantity","(" ] - }, { - "r" : "2313", - "s" : [ { - "value" : [ "'3 \\'m\\''" ] - } ] - }, { - "value" : [ ")" ] - } ] - }, { - "value" : [ "]" ] - } ] - }, { - "value" : [ " }" ] - } ] - } ] - } - } ], + "type" : "ListTypeSpecifier", + "localId" : "1019", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1020", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1021", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + }, + "element" : [ { + "type" : "ExpressionRef", + "localId" : "1013", + "name" : "DateTime1_3ImpreciseInterval", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1014", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1015", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + }, { + "type" : "ExpressionRef", + "localId" : "1016", + "name" : "DateTime1_10Interval", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1017", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1018", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + } ] + }, { + "type" : "Null", + "localId" : "1022", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } ] + } + } ] + } + } +} + +/* Collapse +library TestSnippet version '1' +using Simple version '1.0.0' +// Numeric Intervals +context Patient +define IntIntervalList: { Interval[1, 4], Interval[4, 8], Interval[7, 9] } +define IntCollapsePerUnit1: collapse IntIntervalList per ToQuantity(1) +define IntCollapseNoPer: collapse IntIntervalList +define IntIntervalSeparatedList: { Interval[3, 5], Interval[8, 10] } +define ExpectedIntervalList: { Interval[3,10] } +define IntCollapseSeparatedListPer3: collapse IntIntervalSeparatedList per 3 + +// DateTime Intervals +define DateTime1_12Interval: Interval[DateTime(2012, 1, 1, 0, 0, 0, 0), DateTime(2012, 1, 12, 0, 0, 0, 0)] +define DateTime3_15Interval: Interval[DateTime(2012, 1, 3, 0, 0, 0, 0), DateTime(2012, 1, 15, 0, 0, 0, 0)] +define DateTime1_15Interval: Interval[DateTime(2012, 1, 1, 0, 0, 0, 0), DateTime(2012, 1, 15, 0, 0, 0, 0)] +define DateTime1_15IntervalList: { DateTime1_15Interval } +define DateTimeCollapseNoPer: collapse { DateTime1_12Interval, DateTime3_15Interval} +define DateTimeCollapsePerMs: collapse { DateTime1_12Interval, DateTime3_15Interval} per millisecond +define DateTimeCollapsePerDay: collapse { DateTime1_12Interval, DateTime3_15Interval} per day + +// Date Intervals +define Date1_12Interval: Interval[Date(2012, 1, 1), Date(2012, 1, 12)] +define Date1_2Interval: Interval[Date(2012, 1, 1), Date(2012, 1, 2)] +define Date3_15Interval: Interval[Date(2012, 1, 3), Date(2012, 1, 15)] +define Date4_15Interval: Interval[Date(2012, 1, 4), Date(2012, 1, 15)] +define Date1_15Interval: Interval[Date(2012, 1, 1), Date(2012, 1, 15)] +define OverlappingDateCollapseNoPer: collapse { Date1_12Interval, Date3_15Interval } +define AdjacentDateCollapseNoPer: collapse { Date1_2Interval, Date3_15Interval } +define DisjointDateCollapseNoPer: collapse { Date1_2Interval, Date4_15Interval } +define DateCollapsePerDay: collapse { Date1_2Interval, Date4_15Interval } per day +define DateCollapsePerMonth: collapse { Date1_2Interval, Date4_15Interval } per month + +// Time Intervals +define Time1_12Interval: Interval[Time(0, 0, 1), Time(0, 0, 12)] +define Time1_2Interval: Interval[Time(0, 0, 1), Time(0, 0, 2)] +define Time3_15Interval: Interval[Time(0, 0, 3), Time(0, 0, 15)] +define Time4_15Interval: Interval[Time(0, 0, 4), Time(0, 0, 15)] +define Time1_15Interval: Interval[Time(0, 0, 1), Time(0, 0, 15)] +define OverlappingTimeCollapseNoPer: collapse { Time1_12Interval, Time3_15Interval } +define AdjacentTimeCollapseNoPer: collapse { Time1_2Interval, Time3_15Interval } +define DisjointTimeCollapseNoPer: collapse { Time1_2Interval, Time4_15Interval } +define TimeCollapsePerSecond: collapse { Time1_2Interval, Time4_15Interval } per second +define TimeCollapsePerMinute: collapse { Time1_2Interval, Time4_15Interval } per minute + +// Quantity Intervals with default units +define QuantityIntervalList: { Interval[ToQuantity(1), ToQuantity(4)], Interval[ToQuantity(4), ToQuantity(8)] } +define ExpectedQuantityList: { Interval[ToQuantity(1), ToQuantity(8)] } +define QuantityIntervalCollapseNoPer: collapse QuantityIntervalList +define QuantityIntervalCollapsePerUnit1: collapse QuantityIntervalList per ToQuantity(1) +define QuantitySeparatedBy3: { Interval[ToQuantity(3), ToQuantity(5)], Interval[ToQuantity(8), ToQuantity(10)]} +define CollapseSeparatedQuantity: collapse QuantitySeparatedBy3 +define ExpectedSeparatedQuantity: { Interval[ToQuantity(3), ToQuantity(10)] } +define CollapseSeparatedQuantityPer3: collapse QuantitySeparatedBy3 per 3 + +// Quantity Intervals with units +define QuantityMeterIntervalList: { Interval[ToQuantity('1 \'m\''), ToQuantity('1.995 \'m\'')], Interval[ToQuantity('2 \'m\''), ToQuantity('3 \'m\'')] } +define CollapseDisjointQuantityUnits: collapse QuantityMeterIntervalList +define ExpectedQuantityUnitsCollapse: { Interval[ToQuantity('1 \'m\''), ToQuantity('3 \'m\'')] } +define CollapseQuantityUnitsWithinPer: collapse QuantityMeterIntervalList per ToQuantity('1 \'cm\'') +define CollapseQuantityUnitsNotWithinPer: collapse QuantityMeterIntervalList per ToQuantity('1 \'mm\'') + +// Null test cases +define NullLowIntervalList: { Interval[null, 4], Interval[3, 5] } +define CollapseNullLowIntervalList: collapse NullLowIntervalList +define ExpectedNullLowIntervalCollapse: { Interval[null, 5] } +define NullHighIntervalList: { Interval[1, 4], Interval[3, null] } +define CollapseNullHighIntervalList: collapse NullHighIntervalList +define ExpectedNullHighIntervalCollapse: { Interval[1, null] } +define NullInCollapse: collapse { Interval[1,3], null } +define ExpectedResultWithNull: { Interval[1,3] } +define NullCollapse: collapse null as List> +define NullPerCollapse: collapse { Interval[1,4], Interval[4,7] } per null +define ExpectedResultNullPer: { Interval[1,7] } +define DateTime5_NullInterval: Interval[DateTime(2012, 1, 5, 0, 0, 0, 0), null] +define DateTimeNull_5Interval: Interval[null, DateTime(2012, 1, 5, 0, 0, 0, 0)] +define DateTime1_10Interval: Interval[DateTime(2012, 1, 1, 0, 0, 0, 0), DateTime(2012, 1, 10, 0, 0, 0, 0)] +define DateTime9_10Interval: Interval[DateTime(2012, 1, 9, 0, 0, 0, 0), DateTime(2012, 1, 10, 0, 0, 0, 0)] +define DateTime1_2Interval: Interval[DateTime(2012, 1, 1, 0, 0, 0, 0), DateTime(2012, 1, 2, 0, 0, 0, 0)] +define DateTimeNullStartCollapse: collapse { DateTime1_10Interval, DateTimeNull_5Interval } +define DateTimeNullStartCollapseExpected: { Interval[null, DateTime(2012, 1, 10, 0, 0, 0, 0)] } +define DateTimeNullEndCollapse: collapse { DateTime1_10Interval, DateTime5_NullInterval } +define DateTimeNullEndCollapseNoOverlap: collapse { DateTime1_2Interval, DateTime5_NullInterval } +define DateTimeNullEndCollapseNoOverlapExpected: { DateTime1_2Interval, DateTime5_NullInterval } +define DateTimeNullStartCollapseNoOverlap: collapse { DateTime9_10Interval, DateTimeNull_5Interval } +define DateTimeNullStartCollapseNoOverlapExpected: { DateTimeNull_5Interval, DateTime9_10Interval } +define DateTimeNullEndCollapseExpected: { Interval[DateTime(2012, 1, 1, 0, 0, 0, 0), null] } +define DateTimeNullStartEndCollapse: collapse { DateTimeNull_5Interval, DateTime1_10Interval, DateTime5_NullInterval } +define DateTimeNullStartEndCollapseExpected: { Interval[null, null] } +define QuantityMeterNullLowIntervalList: { Interval[null, ToQuantity('1.995 \'m\'')], Interval[ToQuantity('2 \'m\''), ToQuantity('3 \'m\'')] } +define CollapseQuantityNullLowUnitsWithinPer: collapse QuantityMeterNullLowIntervalList per ToQuantity('1 \'cm\'') +define CollapseQuantityNullLowUnitsWithinPerExpected : { Interval[null, ToQuantity('3 \'m\'')] } +define QuantityMeterNullHighIntervalList: { Interval[ToQuantity('1 \'m\''),ToQuantity('1.995 \'m\'')], Interval[ToQuantity('2 \'m\''), null] } +define CollapseQuantityNullHighUnitsWithinPer: collapse QuantityMeterNullHighIntervalList per ToQuantity('1 \'cm\'') +define CollapseQuantityNullHighUnitsWithinPerExpected : { Interval[ToQuantity('1 \'m\''), null] } +define QuantityIntervalListWithNulls: { Interval[ToQuantity(4), ToQuantity(8)], Interval[null, ToQuantity(2)], Interval[ToQuantity(1), ToQuantity(4)], Interval[ToQuantity(7), null] } +define CollapseQuantityIntervalListWithNulls: collapse QuantityIntervalListWithNulls +define CollapseQuantityIntervalListWithNullsExpected: { Interval[null, null] } +define QuantityIntervalListWithNullLowNoOverlap: { Interval[ToQuantity(4), ToQuantity(8)], Interval[null, ToQuantity(2)] } +define CollapseQuantityIntervalListWithNullLowNoOverlap: collapse QuantityIntervalListWithNullLowNoOverlap +define CollapseQuantityIntervalListWithNullLowNoOverlapExpected: { Interval[null, ToQuantity(2)], Interval[ToQuantity(4), ToQuantity(8)]} +define QuantityIntervalListWithNullHighNoOverlap: { Interval[ToQuantity(4), null], Interval[ToQuantity(1), ToQuantity(2)] } +define CollapseQuantityIntervalListWithNullHighNoOverlap: collapse QuantityIntervalListWithNullHighNoOverlap +define CollapseQuantityIntervalListWithNullHighNoOverlapExpected: { Interval[ToQuantity(1), ToQuantity(2)], Interval[ToQuantity(4), null]} +*/ + +module.exports['Collapse'] = { + "library" : { + "localId" : "0", + "annotation" : [ { + "type" : "CqlToElmInfo", + "translatorVersion" : "4.2.0", + "translatorOptions" : "EnableDateRangeOptimization,EnableAnnotations,EnableResultTypes", + "signatureLevel" : "All" + }, { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "2661", + "s" : [ { + "value" : [ "", "library TestSnippet version '1'" ] + } ] + } + } ], + "identifier" : { + "id" : "TestSnippet", + "version" : "1" + }, + "schemaIdentifier" : { + "id" : "urn:hl7-org:elm", + "version" : "r1" + }, + "usings" : { + "def" : [ { + "localId" : "1", + "localIdentifier" : "System", + "uri" : "urn:hl7-org:elm-types:r1", + "annotation" : [ ] + }, { + "localId" : "206", + "localIdentifier" : "Simple", + "uri" : "https://github.com/cqframework/cql-execution/simple", + "version" : "1.0.0", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "206", + "s" : [ { + "value" : [ "", "using " ] + }, { + "s" : [ { + "value" : [ "Simple" ] + } ] + }, { + "value" : [ " version '1.0.0'" ] + } ] + } + } ] + } ] + }, + "contexts" : { + "def" : [ { + "localId" : "211", + "name" : "Patient", + "annotation" : [ ] + } ] + }, + "statements" : { + "def" : [ { + "localId" : "209", + "name" : "Patient", + "context" : "Patient", + "annotation" : [ ], + "expression" : { + "type" : "SingletonFrom", + "localId" : "210", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Retrieve", + "localId" : "208", + "dataType" : "{https://github.com/cqframework/cql-execution/simple}Patient", + "annotation" : [ ], + "include" : [ ], + "codeFilter" : [ ], + "dateFilter" : [ ], + "otherFilter" : [ ] + } + } + }, { + "localId" : "214", + "name" : "IntIntervalList", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "214", + "s" : [ { + "value" : [ "", "define ", "IntIntervalList", ": " ] + }, { + "r" : "215", + "s" : [ { + "value" : [ "{ " ] + }, { + "r" : "218", + "s" : [ { + "r" : "216", + "value" : [ "Interval[", "1", ", ", "4", "]" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "223", + "s" : [ { + "r" : "221", + "value" : [ "Interval[", "4", ", ", "8", "]" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "228", + "s" : [ { + "r" : "226", + "value" : [ "Interval[", "7", ", ", "9", "]" ] + } ] + }, { + "value" : [ " }" ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "234", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "235", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "236", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } + }, + "expression" : { + "type" : "List", + "localId" : "215", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "231", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "232", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "233", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } + }, + "element" : [ { + "type" : "Interval", + "localId" : "218", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], "resultTypeSpecifier" : { - "localId" : "2327", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "2328", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "2329", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } - } - }, - "expression" : { - "localId" : "2311", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "2324", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "2325", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "2326", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } - } - }, - "element" : [ { - "localId" : "2320", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "2322", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "2323", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "2321", - "asType" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "As", - "signature" : [ ], - "operand" : { - "localId" : "2312", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - } - }, - "high" : { - "localId" : "2318", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "ToQuantity", - "signature" : [ { - "localId" : "2319", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "2313", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "3 'm'", - "type" : "Literal" - } - } - } ] - } - }, { - "localId" : "2332", - "name" : "QuantityMeterNullHighIntervalList", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "2332", - "s" : [ { - "value" : [ "","define ","QuantityMeterNullHighIntervalList",": " ] - }, { - "r" : "2333", - "s" : [ { - "value" : [ "{ " ] - }, { - "r" : "2348", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "2339", - "s" : [ { - "value" : [ "ToQuantity","(" ] - }, { - "r" : "2334", - "s" : [ { - "value" : [ "'1 \\'m\\''" ] - } ] - }, { - "value" : [ ")" ] - } ] - }, { - "value" : [ "," ] - }, { - "r" : "2346", - "s" : [ { - "value" : [ "ToQuantity","(" ] - }, { - "r" : "2341", - "s" : [ { - "value" : [ "'1.995 \\'m\\''" ] - } ] - }, { - "value" : [ ")" ] - } ] - }, { - "value" : [ "]" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "2359", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "2356", - "s" : [ { - "value" : [ "ToQuantity","(" ] - }, { - "r" : "2351", - "s" : [ { - "value" : [ "'2 \\'m\\''" ] - } ] - }, { - "value" : [ ")" ] - } ] - }, { - "r" : "2358", - "value" : [ ", ","null","]" ] - } ] - }, { - "value" : [ " }" ] - } ] - } ] - } - } ], + "type" : "IntervalTypeSpecifier", + "localId" : "219", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "220", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "low" : { + "type" : "Literal", + "localId" : "216", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "high" : { + "type" : "Literal", + "localId" : "217", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "4", + "annotation" : [ ] + } + }, { + "type" : "Interval", + "localId" : "223", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], "resultTypeSpecifier" : { - "localId" : "2366", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "2367", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "2368", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } - } + "type" : "IntervalTypeSpecifier", + "localId" : "224", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "225", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } }, - "expression" : { - "localId" : "2333", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "2363", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "2364", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "2365", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } - } - }, - "element" : [ { - "localId" : "2348", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "2349", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "2350", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "2339", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "ToQuantity", - "signature" : [ { - "localId" : "2340", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "2334", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "1 'm'", - "type" : "Literal" - } - }, - "high" : { - "localId" : "2346", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "ToQuantity", - "signature" : [ { - "localId" : "2347", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "2341", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "1.995 'm'", - "type" : "Literal" - } - } - }, { - "localId" : "2359", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "2361", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "2362", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "2356", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "ToQuantity", - "signature" : [ { - "localId" : "2357", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "2351", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "2 'm'", - "type" : "Literal" - } - }, - "high" : { - "localId" : "2360", - "asType" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "As", - "signature" : [ ], - "operand" : { - "localId" : "2358", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - } - } - } ] - } - }, { - "localId" : "2371", - "name" : "CollapseQuantityNullHighUnitsWithinPer", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "2371", - "s" : [ { - "value" : [ "","define ","CollapseQuantityNullHighUnitsWithinPer",": " ] - }, { - "r" : "2384", - "s" : [ { - "value" : [ "collapse " ] - }, { - "r" : "2372", - "s" : [ { - "value" : [ "QuantityMeterNullHighIntervalList" ] - } ] - }, { - "value" : [ " per " ] - }, { - "r" : "2382", - "s" : [ { - "value" : [ "ToQuantity","(" ] - }, { - "r" : "2377", - "s" : [ { - "value" : [ "'1 \\'cm\\''" ] - } ] - }, { - "value" : [ ")" ] - } ] - } ] - } ] - } - } ], + "low" : { + "type" : "Literal", + "localId" : "221", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "4", + "annotation" : [ ] + }, + "high" : { + "type" : "Literal", + "localId" : "222", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "8", + "annotation" : [ ] + } + }, { + "type" : "Interval", + "localId" : "228", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], "resultTypeSpecifier" : { - "localId" : "2392", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "2393", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "2394", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } - } - }, - "expression" : { - "localId" : "2384", - "type" : "Collapse", - "resultTypeSpecifier" : { - "localId" : "2389", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "2390", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "2391", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } - } - }, - "signature" : [ { - "localId" : "2385", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "2386", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "2387", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } - } - }, { - "localId" : "2388", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "2372", - "name" : "QuantityMeterNullHighIntervalList", - "type" : "ExpressionRef", - "resultTypeSpecifier" : { - "localId" : "2373", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "2374", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "2375", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } - } - } - }, { - "localId" : "2382", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "ToQuantity", - "signature" : [ { - "localId" : "2383", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "2377", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "1 'cm'", - "type" : "Literal" - } - } ] - } - }, { - "localId" : "2397", - "name" : "CollapseQuantityNullHighUnitsWithinPerExpected", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "2397", - "s" : [ { - "value" : [ "","define ","CollapseQuantityNullHighUnitsWithinPerExpected"," : " ] - }, { - "r" : "2398", - "s" : [ { - "value" : [ "{ " ] - }, { - "r" : "2407", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "2404", - "s" : [ { - "value" : [ "ToQuantity","(" ] - }, { - "r" : "2399", - "s" : [ { - "value" : [ "'1 \\'m\\''" ] - } ] - }, { - "value" : [ ")" ] - } ] - }, { - "r" : "2406", - "value" : [ ", ","null","]" ] - } ] - }, { - "value" : [ " }" ] - } ] - } ] - } - } ], + "type" : "IntervalTypeSpecifier", + "localId" : "229", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "230", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "low" : { + "type" : "Literal", + "localId" : "226", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "7", + "annotation" : [ ] + }, + "high" : { + "type" : "Literal", + "localId" : "227", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "9", + "annotation" : [ ] + } + } ] + } + }, { + "localId" : "239", + "name" : "IntCollapsePerUnit1", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "239", + "s" : [ { + "value" : [ "", "define ", "IntCollapsePerUnit1", ": " ] + }, { + "r" : "251", + "s" : [ { + "value" : [ "collapse " ] + }, { + "r" : "240", + "s" : [ { + "value" : [ "IntIntervalList" ] + } ] + }, { + "value" : [ " per " ] + }, { + "r" : "249", + "s" : [ { + "r" : "245", + "value" : [ "ToQuantity", "(", "1", ")" ] + } ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "259", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "260", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "261", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } + }, + "expression" : { + "type" : "Collapse", + "localId" : "251", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "256", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "257", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "258", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } + }, + "signature" : [ { + "type" : "ListTypeSpecifier", + "localId" : "252", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "253", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "254", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } + }, { + "type" : "NamedTypeSpecifier", + "localId" : "255", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "ExpressionRef", + "localId" : "240", + "name" : "IntIntervalList", + "annotation" : [ ], "resultTypeSpecifier" : { - "localId" : "2414", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "2415", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "2416", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } - } - }, - "expression" : { - "localId" : "2398", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "2411", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "2412", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "2413", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } - } - }, - "element" : [ { - "localId" : "2407", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "2409", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "2410", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "2404", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "ToQuantity", - "signature" : [ { - "localId" : "2405", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "2399", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "1 'm'", - "type" : "Literal" - } - }, - "high" : { - "localId" : "2408", - "asType" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "As", - "signature" : [ ], - "operand" : { - "localId" : "2406", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - } - } - } ] + "type" : "ListTypeSpecifier", + "localId" : "241", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "242", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "243", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } } - }, { - "localId" : "2419", - "name" : "QuantityIntervalListWithNulls", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "2419", - "s" : [ { - "value" : [ "","define ","QuantityIntervalListWithNulls",": " ] - }, { - "r" : "2420", - "s" : [ { - "value" : [ "{ " ] - }, { - "r" : "2433", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "2425", - "s" : [ { - "r" : "2421", - "value" : [ "ToQuantity","(","4",")" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "2431", - "s" : [ { - "r" : "2427", - "value" : [ "ToQuantity","(","8",")" ] - } ] - }, { - "value" : [ "]" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "2443", - "s" : [ { - "r" : "2436", - "value" : [ "Interval[","null",", " ] - }, { - "r" : "2441", - "s" : [ { - "r" : "2437", - "value" : [ "ToQuantity","(","2",")" ] - } ] - }, { - "value" : [ "]" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "2459", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "2451", - "s" : [ { - "r" : "2447", - "value" : [ "ToQuantity","(","1",")" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "2457", - "s" : [ { - "r" : "2453", - "value" : [ "ToQuantity","(","4",")" ] - } ] - }, { - "value" : [ "]" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "2469", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "2466", - "s" : [ { - "r" : "2462", - "value" : [ "ToQuantity","(","7",")" ] - } ] - }, { - "r" : "2468", - "value" : [ ", ","null","]" ] - } ] - }, { - "value" : [ " }" ] - } ] - } ] - } - } ], + }, { + "type" : "ToQuantity", + "localId" : "249", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "250", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "operand" : { + "type" : "Literal", + "localId" : "245", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + } + } ] + } + }, { + "localId" : "264", + "name" : "IntCollapseNoPer", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "264", + "s" : [ { + "value" : [ "", "define ", "IntCollapseNoPer", ": " ] + }, { + "r" : "270", + "s" : [ { + "value" : [ "collapse " ] + }, { + "r" : "265", + "s" : [ { + "value" : [ "IntIntervalList" ] + } ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "278", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "279", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "280", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } + }, + "expression" : { + "type" : "Collapse", + "localId" : "270", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "275", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "276", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "277", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } + }, + "signature" : [ { + "type" : "ListTypeSpecifier", + "localId" : "271", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "272", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "273", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } + }, { + "type" : "NamedTypeSpecifier", + "localId" : "274", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "ExpressionRef", + "localId" : "265", + "name" : "IntIntervalList", + "annotation" : [ ], "resultTypeSpecifier" : { - "localId" : "2476", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "2477", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "2478", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } - } + "type" : "ListTypeSpecifier", + "localId" : "266", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "267", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "268", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } + } + }, { + "type" : "Null", + "localId" : "269", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } ] + } + }, { + "localId" : "283", + "name" : "IntIntervalSeparatedList", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "283", + "s" : [ { + "value" : [ "", "define ", "IntIntervalSeparatedList", ": " ] + }, { + "r" : "284", + "s" : [ { + "value" : [ "{ " ] + }, { + "r" : "287", + "s" : [ { + "r" : "285", + "value" : [ "Interval[", "3", ", ", "5", "]" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "292", + "s" : [ { + "r" : "290", + "value" : [ "Interval[", "8", ", ", "10", "]" ] + } ] + }, { + "value" : [ " }" ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "298", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "299", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "300", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } + }, + "expression" : { + "type" : "List", + "localId" : "284", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "295", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "296", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "297", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } + }, + "element" : [ { + "type" : "Interval", + "localId" : "287", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "288", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "289", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } }, - "expression" : { - "localId" : "2420", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "2473", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "2474", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "2475", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } - } - }, - "element" : [ { - "localId" : "2433", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "2434", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "2435", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "2425", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "ToQuantity", - "signature" : [ { - "localId" : "2426", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "2421", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "4", - "type" : "Literal" - } - }, - "high" : { - "localId" : "2431", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "ToQuantity", - "signature" : [ { - "localId" : "2432", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "2427", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "8", - "type" : "Literal" - } - } - }, { - "localId" : "2443", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "2445", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "2446", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "2444", - "asType" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "As", - "signature" : [ ], - "operand" : { - "localId" : "2436", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - } - }, - "high" : { - "localId" : "2441", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "ToQuantity", - "signature" : [ { - "localId" : "2442", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "2437", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal" - } - } - }, { - "localId" : "2459", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "2460", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "2461", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "2451", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "ToQuantity", - "signature" : [ { - "localId" : "2452", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "2447", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - } - }, - "high" : { - "localId" : "2457", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "ToQuantity", - "signature" : [ { - "localId" : "2458", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "2453", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "4", - "type" : "Literal" - } - } - }, { - "localId" : "2469", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "2471", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "2472", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "2466", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "ToQuantity", - "signature" : [ { - "localId" : "2467", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "2462", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "7", - "type" : "Literal" - } - }, - "high" : { - "localId" : "2470", - "asType" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "As", - "signature" : [ ], - "operand" : { - "localId" : "2468", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - } - } - } ] - } - }, { - "localId" : "2481", - "name" : "CollapseQuantityIntervalListWithNulls", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "2481", - "s" : [ { - "value" : [ "","define ","CollapseQuantityIntervalListWithNulls",": " ] - }, { - "r" : "2487", - "s" : [ { - "value" : [ "collapse " ] - }, { - "r" : "2482", - "s" : [ { - "value" : [ "QuantityIntervalListWithNulls" ] - } ] - } ] - } ] - } - } ], + "low" : { + "type" : "Literal", + "localId" : "285", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "high" : { + "type" : "Literal", + "localId" : "286", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "5", + "annotation" : [ ] + } + }, { + "type" : "Interval", + "localId" : "292", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], "resultTypeSpecifier" : { - "localId" : "2495", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "2496", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "2497", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } - } - }, - "expression" : { - "localId" : "2487", - "type" : "Collapse", - "resultTypeSpecifier" : { - "localId" : "2492", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "2493", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "2494", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } - } - }, - "signature" : [ { - "localId" : "2488", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "2489", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "2490", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } - } - }, { - "localId" : "2491", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "2482", - "name" : "QuantityIntervalListWithNulls", - "type" : "ExpressionRef", - "resultTypeSpecifier" : { - "localId" : "2483", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "2484", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "2485", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } - } - } - }, { - "localId" : "2486", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "Null" - } ] - } - }, { - "localId" : "2500", - "name" : "CollapseQuantityIntervalListWithNullsExpected", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "2500", - "s" : [ { - "value" : [ "","define ","CollapseQuantityIntervalListWithNullsExpected",": " ] - }, { - "r" : "2501", - "s" : [ { - "value" : [ "{ " ] - }, { - "r" : "2504", - "s" : [ { - "r" : "2502", - "value" : [ "Interval[","null",", ","null","]" ] - } ] - }, { - "value" : [ " }" ] - } ] - } ] - } - } ], + "type" : "IntervalTypeSpecifier", + "localId" : "293", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "294", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "low" : { + "type" : "Literal", + "localId" : "290", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "8", + "annotation" : [ ] + }, + "high" : { + "type" : "Literal", + "localId" : "291", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "10", + "annotation" : [ ] + } + } ] + } + }, { + "localId" : "303", + "name" : "ExpectedIntervalList", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "303", + "s" : [ { + "value" : [ "", "define ", "ExpectedIntervalList", ": " ] + }, { + "r" : "304", + "s" : [ { + "value" : [ "{ " ] + }, { + "r" : "307", + "s" : [ { + "r" : "305", + "value" : [ "Interval[", "3", ",", "10", "]" ] + } ] + }, { + "value" : [ " }" ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "313", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "314", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "315", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } + }, + "expression" : { + "type" : "List", + "localId" : "304", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "310", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "311", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "312", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } + }, + "element" : [ { + "type" : "Interval", + "localId" : "307", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], "resultTypeSpecifier" : { - "localId" : "2510", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "2511", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "2512", - "name" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "NamedTypeSpecifier" - } - } + "type" : "IntervalTypeSpecifier", + "localId" : "308", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "309", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } }, - "expression" : { - "localId" : "2501", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "2507", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "2508", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "2509", - "name" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "NamedTypeSpecifier" - } - } - }, - "element" : [ { - "localId" : "2504", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "2505", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "2506", - "name" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "2502", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - }, - "high" : { - "localId" : "2503", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - } - } ] - } - }, { - "localId" : "2515", - "name" : "QuantityIntervalListWithNullLowNoOverlap", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "2515", - "s" : [ { - "value" : [ "","define ","QuantityIntervalListWithNullLowNoOverlap",": " ] - }, { - "r" : "2516", - "s" : [ { - "value" : [ "{ " ] - }, { - "r" : "2529", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "2521", - "s" : [ { - "r" : "2517", - "value" : [ "ToQuantity","(","4",")" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "2527", - "s" : [ { - "r" : "2523", - "value" : [ "ToQuantity","(","8",")" ] - } ] - }, { - "value" : [ "]" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "2539", - "s" : [ { - "r" : "2532", - "value" : [ "Interval[","null",", " ] - }, { - "r" : "2537", - "s" : [ { - "r" : "2533", - "value" : [ "ToQuantity","(","2",")" ] - } ] - }, { - "value" : [ "]" ] - } ] - }, { - "value" : [ " }" ] - } ] - } ] - } - } ], + "low" : { + "type" : "Literal", + "localId" : "305", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "high" : { + "type" : "Literal", + "localId" : "306", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "10", + "annotation" : [ ] + } + } ] + } + }, { + "localId" : "318", + "name" : "IntCollapseSeparatedListPer3", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "318", + "s" : [ { + "value" : [ "", "define ", "IntCollapseSeparatedListPer3", ": " ] + }, { + "r" : "326", + "s" : [ { + "value" : [ "collapse " ] + }, { + "r" : "319", + "s" : [ { + "value" : [ "IntIntervalSeparatedList" ] + } ] + }, { + "r" : "324", + "value" : [ " per ", "3" ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "334", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "335", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "336", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } + }, + "expression" : { + "type" : "Collapse", + "localId" : "326", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "331", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "332", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "333", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } + }, + "signature" : [ { + "type" : "ListTypeSpecifier", + "localId" : "327", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "328", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "329", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } + }, { + "type" : "NamedTypeSpecifier", + "localId" : "330", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "ExpressionRef", + "localId" : "319", + "name" : "IntIntervalSeparatedList", + "annotation" : [ ], "resultTypeSpecifier" : { - "localId" : "2546", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "2547", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "2548", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } - } - }, - "expression" : { - "localId" : "2516", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "2543", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "2544", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "2545", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } - } - }, - "element" : [ { - "localId" : "2529", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "2530", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "2531", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "2521", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "ToQuantity", - "signature" : [ { - "localId" : "2522", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "2517", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "4", - "type" : "Literal" - } - }, - "high" : { - "localId" : "2527", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "ToQuantity", - "signature" : [ { - "localId" : "2528", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "2523", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "8", - "type" : "Literal" - } - } - }, { - "localId" : "2539", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "2541", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "2542", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "2540", - "asType" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "As", - "signature" : [ ], - "operand" : { - "localId" : "2532", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - } - }, - "high" : { - "localId" : "2537", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "ToQuantity", - "signature" : [ { - "localId" : "2538", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "2533", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal" - } - } - } ] - } - }, { - "localId" : "2551", - "name" : "CollapseQuantityIntervalListWithNullLowNoOverlap", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "2551", + "type" : "ListTypeSpecifier", + "localId" : "320", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "321", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "322", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } + } + }, { + "type" : "Quantity", + "localId" : "325", + "value" : 3, + "unit" : "1", + "annotation" : [ ] + } ] + } + }, { + "localId" : "339", + "name" : "DateTime1_12Interval", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "339", + "s" : [ { + "value" : [ "// DateTime Intervals\n", "define ", "DateTime1_12Interval", ": " ] + }, { + "r" : "388", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "356", + "s" : [ { + "r" : "340", + "value" : [ "DateTime", "(", "2012", ", ", "1", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "380", + "s" : [ { + "r" : "364", + "value" : [ "DateTime", "(", "2012", ", ", "1", ", ", "12", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ "]" ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "391", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "392", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "expression" : { + "type" : "Interval", + "localId" : "388", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "389", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "390", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "DateTime", + "localId" : "356", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "357", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "358", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "359", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "360", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "361", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "362", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "363", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "340", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "341", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "342", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "343", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "344", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "345", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "346", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "380", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "381", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "382", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "383", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "384", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "385", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "386", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "387", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "364", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "365", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "366", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "12", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "367", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "368", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "369", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "370", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + } + } + }, { + "localId" : "395", + "name" : "DateTime3_15Interval", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "395", + "s" : [ { + "value" : [ "", "define ", "DateTime3_15Interval", ": " ] + }, { + "r" : "444", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "412", + "s" : [ { + "r" : "396", + "value" : [ "DateTime", "(", "2012", ", ", "1", ", ", "3", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "436", + "s" : [ { + "r" : "420", + "value" : [ "DateTime", "(", "2012", ", ", "1", ", ", "15", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ "]" ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "447", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "448", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "expression" : { + "type" : "Interval", + "localId" : "444", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "445", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "446", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "DateTime", + "localId" : "412", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "413", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "414", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "415", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "416", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "417", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "418", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "419", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "396", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "397", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "398", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "399", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "400", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "401", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "402", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "436", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "437", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "438", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "439", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "440", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "441", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "442", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "443", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "420", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "421", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "422", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "15", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "423", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "424", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "425", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "426", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + } + } + }, { + "localId" : "451", + "name" : "DateTime1_15Interval", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "451", + "s" : [ { + "value" : [ "", "define ", "DateTime1_15Interval", ": " ] + }, { + "r" : "500", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "468", + "s" : [ { + "r" : "452", + "value" : [ "DateTime", "(", "2012", ", ", "1", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "492", + "s" : [ { + "r" : "476", + "value" : [ "DateTime", "(", "2012", ", ", "1", ", ", "15", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ "]" ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "503", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "504", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "expression" : { + "type" : "Interval", + "localId" : "500", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "501", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "502", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "DateTime", + "localId" : "468", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "469", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "470", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "471", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "472", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "473", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "474", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "475", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "452", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "453", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "454", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "455", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "456", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "457", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "458", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "492", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "493", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "494", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "495", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "496", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "497", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "498", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "499", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "476", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "477", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "478", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "15", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "479", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "480", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "481", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "482", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + } + } + }, { + "localId" : "507", + "name" : "DateTime1_15IntervalList", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "507", + "s" : [ { + "value" : [ "", "define ", "DateTime1_15IntervalList", ": " ] + }, { + "r" : "508", + "s" : [ { + "value" : [ "{ " ] + }, { + "r" : "509", + "s" : [ { + "value" : [ "DateTime1_15Interval" ] + } ] + }, { + "value" : [ " }" ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "515", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "516", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "517", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + }, + "expression" : { + "type" : "List", + "localId" : "508", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "512", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "513", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "514", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + }, + "element" : [ { + "type" : "ExpressionRef", + "localId" : "509", + "name" : "DateTime1_15Interval", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "510", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "511", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + } ] + } + }, { + "localId" : "520", + "name" : "DateTimeCollapseNoPer", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "520", + "s" : [ { + "value" : [ "", "define ", "DateTimeCollapseNoPer", ": " ] + }, { + "r" : "532", + "s" : [ { + "value" : [ "collapse " ] + }, { + "r" : "521", + "s" : [ { + "value" : [ "{ " ] + }, { + "r" : "522", + "s" : [ { + "value" : [ "DateTime1_12Interval" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "525", + "s" : [ { + "value" : [ "DateTime3_15Interval" ] + } ] + }, { + "value" : [ "}" ] + } ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "540", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "541", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "542", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + }, + "expression" : { + "type" : "Collapse", + "localId" : "532", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "537", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "538", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "539", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + }, + "signature" : [ { + "type" : "ListTypeSpecifier", + "localId" : "533", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "534", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "535", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + }, { + "type" : "NamedTypeSpecifier", + "localId" : "536", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "List", + "localId" : "521", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "528", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "529", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "530", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + }, + "element" : [ { + "type" : "ExpressionRef", + "localId" : "522", + "name" : "DateTime1_12Interval", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "523", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "524", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + }, { + "type" : "ExpressionRef", + "localId" : "525", + "name" : "DateTime3_15Interval", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "526", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "527", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + } ] + }, { + "type" : "Null", + "localId" : "531", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } ] + } + }, { + "localId" : "545", + "name" : "DateTimeCollapsePerMs", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "545", + "s" : [ { + "value" : [ "", "define ", "DateTimeCollapsePerMs", ": " ] + }, { + "r" : "558", + "s" : [ { + "value" : [ "collapse " ] + }, { + "r" : "546", + "s" : [ { + "value" : [ "{ " ] + }, { + "r" : "547", + "s" : [ { + "value" : [ "DateTime1_12Interval" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "550", "s" : [ { - "value" : [ "","define ","CollapseQuantityIntervalListWithNullLowNoOverlap",": " ] - }, { - "r" : "2557", - "s" : [ { - "value" : [ "collapse " ] - }, { - "r" : "2552", - "s" : [ { - "value" : [ "QuantityIntervalListWithNullLowNoOverlap" ] - } ] - } ] - } ] - } - } ], + "value" : [ "DateTime3_15Interval" ] + } ] + }, { + "value" : [ "}" ] + } ] + }, { + "value" : [ " per ", "millisecond" ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "566", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "567", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "568", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + }, + "expression" : { + "type" : "Collapse", + "localId" : "558", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "563", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "564", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "565", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + }, + "signature" : [ { + "type" : "ListTypeSpecifier", + "localId" : "559", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "560", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "561", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + }, { + "type" : "NamedTypeSpecifier", + "localId" : "562", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "List", + "localId" : "546", + "annotation" : [ ], "resultTypeSpecifier" : { - "localId" : "2565", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "2566", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "2567", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } - } + "type" : "ListTypeSpecifier", + "localId" : "553", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "554", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "555", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } }, - "expression" : { - "localId" : "2557", - "type" : "Collapse", - "resultTypeSpecifier" : { - "localId" : "2562", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "2563", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "2564", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } - } - }, - "signature" : [ { - "localId" : "2558", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "2559", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "2560", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } - } - }, { - "localId" : "2561", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "2552", - "name" : "QuantityIntervalListWithNullLowNoOverlap", - "type" : "ExpressionRef", - "resultTypeSpecifier" : { - "localId" : "2553", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "2554", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "2555", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } - } - } - }, { - "localId" : "2556", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "Null" - } ] - } - }, { - "localId" : "2570", - "name" : "CollapseQuantityIntervalListWithNullLowNoOverlapExpected", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "2570", - "s" : [ { - "value" : [ "","define ","CollapseQuantityIntervalListWithNullLowNoOverlapExpected",": " ] - }, { - "r" : "2571", - "s" : [ { - "value" : [ "{ " ] - }, { - "r" : "2579", - "s" : [ { - "r" : "2572", - "value" : [ "Interval[","null",", " ] - }, { - "r" : "2577", - "s" : [ { - "r" : "2573", - "value" : [ "ToQuantity","(","2",")" ] - } ] - }, { - "value" : [ "]" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "2595", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "2587", - "s" : [ { - "r" : "2583", - "value" : [ "ToQuantity","(","4",")" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "2593", - "s" : [ { - "r" : "2589", - "value" : [ "ToQuantity","(","8",")" ] - } ] - }, { - "value" : [ "]" ] - } ] - }, { - "value" : [ "}" ] - } ] - } ] - } - } ], + "element" : [ { + "type" : "ExpressionRef", + "localId" : "547", + "name" : "DateTime1_12Interval", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "548", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "549", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + }, { + "type" : "ExpressionRef", + "localId" : "550", + "name" : "DateTime3_15Interval", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "551", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "552", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + } ] + }, { + "type" : "Quantity", + "localId" : "557", + "value" : 1.0, + "unit" : "millisecond", + "annotation" : [ ] + } ] + } + }, { + "localId" : "571", + "name" : "DateTimeCollapsePerDay", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "571", + "s" : [ { + "value" : [ "", "define ", "DateTimeCollapsePerDay", ": " ] + }, { + "r" : "584", + "s" : [ { + "value" : [ "collapse " ] + }, { + "r" : "572", + "s" : [ { + "value" : [ "{ " ] + }, { + "r" : "573", + "s" : [ { + "value" : [ "DateTime1_12Interval" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "576", + "s" : [ { + "value" : [ "DateTime3_15Interval" ] + } ] + }, { + "value" : [ "}" ] + } ] + }, { + "value" : [ " per ", "day" ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "592", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "593", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "594", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + }, + "expression" : { + "type" : "Collapse", + "localId" : "584", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "589", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "590", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "591", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + }, + "signature" : [ { + "type" : "ListTypeSpecifier", + "localId" : "585", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "586", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "587", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + }, { + "type" : "NamedTypeSpecifier", + "localId" : "588", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "List", + "localId" : "572", + "annotation" : [ ], "resultTypeSpecifier" : { - "localId" : "2601", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "2602", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "2603", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } - } + "type" : "ListTypeSpecifier", + "localId" : "579", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "580", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "581", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } }, - "expression" : { - "localId" : "2571", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "2598", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "2599", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "2600", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } - } - }, - "element" : [ { - "localId" : "2579", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "2581", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "2582", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "2580", - "asType" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "As", - "signature" : [ ], - "operand" : { - "localId" : "2572", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - } - }, - "high" : { - "localId" : "2577", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "ToQuantity", - "signature" : [ { - "localId" : "2578", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "2573", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal" - } - } - }, { - "localId" : "2595", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "2596", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "2597", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "2587", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "ToQuantity", - "signature" : [ { - "localId" : "2588", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "2583", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "4", - "type" : "Literal" - } - }, - "high" : { - "localId" : "2593", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "ToQuantity", - "signature" : [ { - "localId" : "2594", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "2589", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "8", - "type" : "Literal" - } - } - } ] - } - }, { - "localId" : "2606", - "name" : "QuantityIntervalListWithNullHighNoOverlap", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "2606", - "s" : [ { - "value" : [ "","define ","QuantityIntervalListWithNullHighNoOverlap",": " ] - }, { - "r" : "2607", - "s" : [ { - "value" : [ "{ " ] - }, { - "r" : "2615", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "2612", - "s" : [ { - "r" : "2608", - "value" : [ "ToQuantity","(","4",")" ] - } ] - }, { - "r" : "2614", - "value" : [ ", ","null","]" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "2631", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "2623", - "s" : [ { - "r" : "2619", - "value" : [ "ToQuantity","(","1",")" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "2629", - "s" : [ { - "r" : "2625", - "value" : [ "ToQuantity","(","2",")" ] - } ] - }, { - "value" : [ "]" ] - } ] - }, { - "value" : [ " }" ] - } ] - } ] - } - } ], - "resultTypeSpecifier" : { - "localId" : "2637", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "2638", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "2639", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } - } + "element" : [ { + "type" : "ExpressionRef", + "localId" : "573", + "name" : "DateTime1_12Interval", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "574", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "575", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + }, { + "type" : "ExpressionRef", + "localId" : "576", + "name" : "DateTime3_15Interval", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "577", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "578", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + } ] + }, { + "type" : "Quantity", + "localId" : "583", + "value" : 1.0, + "unit" : "day", + "annotation" : [ ] + } ] + } + }, { + "localId" : "597", + "name" : "Date1_12Interval", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "597", + "s" : [ { + "value" : [ "// Date Intervals\n", "define ", "Date1_12Interval", ": " ] + }, { + "r" : "622", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "606", + "s" : [ { + "r" : "598", + "value" : [ "Date", "(", "2012", ", ", "1", ", ", "1", ")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "618", + "s" : [ { + "r" : "610", + "value" : [ "Date", "(", "2012", ", ", "1", ", ", "12", ")" ] + } ] + }, { + "value" : [ "]" ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "625", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "626", + "name" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ] + } + }, + "expression" : { + "type" : "Interval", + "localId" : "622", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "623", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "624", + "name" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ] + } + }, + "low" : { + "type" : "Date", + "localId" : "606", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "607", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "608", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "609", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "598", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] }, - "expression" : { - "localId" : "2607", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "2634", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "2635", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "2636", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } - } - }, - "element" : [ { - "localId" : "2615", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "2617", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "2618", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "2612", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "ToQuantity", - "signature" : [ { - "localId" : "2613", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "2608", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "4", - "type" : "Literal" - } - }, - "high" : { - "localId" : "2616", - "asType" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "As", - "signature" : [ ], - "operand" : { - "localId" : "2614", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - } - } - }, { - "localId" : "2631", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "2632", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "2633", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "2623", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "ToQuantity", - "signature" : [ { - "localId" : "2624", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "2619", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - } - }, - "high" : { - "localId" : "2629", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "ToQuantity", - "signature" : [ { - "localId" : "2630", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "2625", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal" - } - } - } ] - } - }, { - "localId" : "2642", - "name" : "CollapseQuantityIntervalListWithNullHighNoOverlap", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "2642", - "s" : [ { - "value" : [ "","define ","CollapseQuantityIntervalListWithNullHighNoOverlap",": " ] - }, { - "r" : "2648", - "s" : [ { - "value" : [ "collapse " ] - }, { - "r" : "2643", - "s" : [ { - "value" : [ "QuantityIntervalListWithNullHighNoOverlap" ] - } ] - } ] - } ] - } - } ], - "resultTypeSpecifier" : { - "localId" : "2656", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "2657", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "2658", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } - } - }, - "expression" : { - "localId" : "2648", - "type" : "Collapse", - "resultTypeSpecifier" : { - "localId" : "2653", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "2654", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "2655", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } - } - }, - "signature" : [ { - "localId" : "2649", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "2650", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "2651", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } - } - }, { - "localId" : "2652", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "2643", - "name" : "QuantityIntervalListWithNullHighNoOverlap", - "type" : "ExpressionRef", - "resultTypeSpecifier" : { - "localId" : "2644", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "2645", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "2646", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } - } - } - }, { - "localId" : "2647", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "Null" - } ] - } - }, { - "localId" : "2661", - "name" : "CollapseQuantityIntervalListWithNullHighNoOverlapExpected", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "2661", + "month" : { + "type" : "Literal", + "localId" : "599", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "600", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + } + }, + "high" : { + "type" : "Date", + "localId" : "618", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "619", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "620", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "621", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "610", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "611", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "612", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "12", + "annotation" : [ ] + } + } + } + }, { + "localId" : "629", + "name" : "Date1_2Interval", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "629", + "s" : [ { + "value" : [ "", "define ", "Date1_2Interval", ": " ] + }, { + "r" : "654", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "638", + "s" : [ { + "r" : "630", + "value" : [ "Date", "(", "2012", ", ", "1", ", ", "1", ")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "650", + "s" : [ { + "r" : "642", + "value" : [ "Date", "(", "2012", ", ", "1", ", ", "2", ")" ] + } ] + }, { + "value" : [ "]" ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "657", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "658", + "name" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ] + } + }, + "expression" : { + "type" : "Interval", + "localId" : "654", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "655", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "656", + "name" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ] + } + }, + "low" : { + "type" : "Date", + "localId" : "638", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "639", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "640", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "641", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "630", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "631", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "632", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + } + }, + "high" : { + "type" : "Date", + "localId" : "650", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "651", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "652", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "653", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "642", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "643", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "644", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "annotation" : [ ] + } + } + } + }, { + "localId" : "661", + "name" : "Date3_15Interval", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "661", + "s" : [ { + "value" : [ "", "define ", "Date3_15Interval", ": " ] + }, { + "r" : "686", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "670", + "s" : [ { + "r" : "662", + "value" : [ "Date", "(", "2012", ", ", "1", ", ", "3", ")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "682", + "s" : [ { + "r" : "674", + "value" : [ "Date", "(", "2012", ", ", "1", ", ", "15", ")" ] + } ] + }, { + "value" : [ "]" ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "689", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "690", + "name" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ] + } + }, + "expression" : { + "type" : "Interval", + "localId" : "686", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "687", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "688", + "name" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ] + } + }, + "low" : { + "type" : "Date", + "localId" : "670", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "671", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "672", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "673", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "662", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "663", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "664", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + } + }, + "high" : { + "type" : "Date", + "localId" : "682", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "683", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "684", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "685", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "674", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "675", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "676", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "15", + "annotation" : [ ] + } + } + } + }, { + "localId" : "693", + "name" : "Date4_15Interval", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "693", + "s" : [ { + "value" : [ "", "define ", "Date4_15Interval", ": " ] + }, { + "r" : "718", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "702", + "s" : [ { + "r" : "694", + "value" : [ "Date", "(", "2012", ", ", "1", ", ", "4", ")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "714", + "s" : [ { + "r" : "706", + "value" : [ "Date", "(", "2012", ", ", "1", ", ", "15", ")" ] + } ] + }, { + "value" : [ "]" ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "721", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "722", + "name" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ] + } + }, + "expression" : { + "type" : "Interval", + "localId" : "718", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "719", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "720", + "name" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ] + } + }, + "low" : { + "type" : "Date", + "localId" : "702", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "703", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "704", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "705", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "694", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "695", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "696", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "4", + "annotation" : [ ] + } + }, + "high" : { + "type" : "Date", + "localId" : "714", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "715", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "716", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "717", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "706", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "707", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "708", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "15", + "annotation" : [ ] + } + } + } + }, { + "localId" : "725", + "name" : "Date1_15Interval", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "725", + "s" : [ { + "value" : [ "", "define ", "Date1_15Interval", ": " ] + }, { + "r" : "750", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "734", + "s" : [ { + "r" : "726", + "value" : [ "Date", "(", "2012", ", ", "1", ", ", "1", ")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "746", + "s" : [ { + "r" : "738", + "value" : [ "Date", "(", "2012", ", ", "1", ", ", "15", ")" ] + } ] + }, { + "value" : [ "]" ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "753", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "754", + "name" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ] + } + }, + "expression" : { + "type" : "Interval", + "localId" : "750", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "751", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "752", + "name" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ] + } + }, + "low" : { + "type" : "Date", + "localId" : "734", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "735", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "736", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "737", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "726", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "727", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "728", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + } + }, + "high" : { + "type" : "Date", + "localId" : "746", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "747", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "748", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "749", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "738", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "739", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "740", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "15", + "annotation" : [ ] + } + } + } + }, { + "localId" : "757", + "name" : "OverlappingDateCollapseNoPer", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "757", + "s" : [ { + "value" : [ "", "define ", "OverlappingDateCollapseNoPer", ": " ] + }, { + "r" : "769", + "s" : [ { + "value" : [ "collapse " ] + }, { + "r" : "758", + "s" : [ { + "value" : [ "{ " ] + }, { + "r" : "759", "s" : [ { - "value" : [ "","define ","CollapseQuantityIntervalListWithNullHighNoOverlapExpected",": " ] - }, { - "r" : "2662", - "s" : [ { - "value" : [ "{ " ] - }, { - "r" : "2675", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "2667", - "s" : [ { - "r" : "2663", - "value" : [ "ToQuantity","(","1",")" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "2673", - "s" : [ { - "r" : "2669", - "value" : [ "ToQuantity","(","2",")" ] - } ] - }, { - "value" : [ "]" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "2685", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "2682", - "s" : [ { - "r" : "2678", - "value" : [ "ToQuantity","(","4",")" ] - } ] - }, { - "r" : "2684", - "value" : [ ", ","null","]" ] - } ] - }, { - "value" : [ "}" ] - } ] - } ] - } - } ], + "value" : [ "Date1_12Interval" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "762", + "s" : [ { + "value" : [ "Date3_15Interval" ] + } ] + }, { + "value" : [ " }" ] + } ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "777", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "778", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "779", + "name" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ] + } + } + }, + "expression" : { + "type" : "Collapse", + "localId" : "769", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "774", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "775", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "776", + "name" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ] + } + } + }, + "signature" : [ { + "type" : "ListTypeSpecifier", + "localId" : "770", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "771", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "772", + "name" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ] + } + } + }, { + "type" : "NamedTypeSpecifier", + "localId" : "773", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "List", + "localId" : "758", + "annotation" : [ ], "resultTypeSpecifier" : { - "localId" : "2692", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "2693", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "2694", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } - } - }, - "expression" : { - "localId" : "2662", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "2689", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "2690", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "2691", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } - } - }, - "element" : [ { - "localId" : "2675", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "2676", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "2677", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "2667", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "ToQuantity", - "signature" : [ { - "localId" : "2668", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "2663", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - } - }, - "high" : { - "localId" : "2673", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "ToQuantity", - "signature" : [ { - "localId" : "2674", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "2669", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal" - } - } - }, { - "localId" : "2685", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "2687", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "2688", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "2682", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "ToQuantity", - "signature" : [ { - "localId" : "2683", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "2678", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "4", - "type" : "Literal" - } - }, - "high" : { - "localId" : "2686", - "asType" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "As", - "signature" : [ ], - "operand" : { - "localId" : "2684", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - } - } - } ] - } - } ] - } - } -} - -/* DateIntervalExpand -library TestSnippet version '1' -using Simple version '1.0.0' -context Patient -define ClosedSinglePerDay: expand { Interval[@2018-01-01, @2018-01-03] } per day -define ClosedSinglePerWeek: expand { Interval[@2018-01-01, @2018-01-21] } per week -define ClosedSinglePerMonth: expand { Interval[@2018-01-01, @2018-03-31] } per month -define ClosedSinglePerMonthTrunc: expand { Interval[@2018-01-01, @2018-04-29] } per month -define ClosedSinglePerYear: expand { Interval[@2016-01-01, @2018-12-31] } per year -define ClosedSinglePerYearTrunc: expand { Interval[@2016-01-01, @2019-12-30] } per year - -define MidBoundariesPerDay: expand { Interval[@2017-12-30, @2018-01-01] } per day -define MidBoundariesPerMonth: expand { Interval[@2017-11-14, @2018-01-18] } per month -define MidBoundariesPerYear: expand { Interval[@2016-04-06, @2018-04-06] } per year - -define NullInList: expand { Interval[@2018-01-01, @2018-01-03], null } per day -define Overlapping: expand { Interval[@2018-01-01, @2018-01-03], Interval[@2018-01-02, @2018-01-04] } per day -define NonOverlapping: expand { Interval[@2018-01-01, @2018-01-03], Interval[@2018-01-08, @2018-01-08] } per day - -define NoPerDefaultDay: expand { Interval[@2018-01-01, @2018-01-03] } -define NoPerDefaultMonth: expand { Interval[@2018-01, @2018-03] } -define NoPerDefaultYear: expand { Interval[@2016, @2018] } -define NoPerDefaultMonthWithMismatch: expand { Interval[@2016, @2018-03] } - -define OpenStart: expand { Interval(@2018-01-01, @2018-01-03] } per day -define OpenEnd: expand { Interval[@2018-01-01, @2018-01-03) } per day -define OpenBoth: expand { Interval(@2018-01-01, @2018-01-03) } per day - -define MismatchPrecision: expand { Interval[@2018-01-01, @2018-03] } per month -define MismatchPrecisionResultLongerThanInput: expand { Interval[@2018-01, @2018-02-28] } per month - -define EmptyList: List>{} -define NullOpen: expand { Interval[null, @2018-01-03] } per day -define NullClose: expand { Interval[@2018-01-01, null] } per day -define NullBoth: expand { Interval[null, null] } per day -define MonthDayPer: expand { Interval[@2018-01, @2018-03] } per day -define YearMonthPer: expand { Interval[@2016, @2018] } per month -define YearDayPer: expand { Interval[@2016, @2018] } per day -define BadPerMinute: expand { Interval[@2018-01-01, @2018-01-04] } per minute -define BadPerGram: expand { Interval[@2018-01-01, @2018-01-04] } per 1 'g' -*/ - -module.exports['DateIntervalExpand'] = { - "library" : { - "localId" : "0", - "annotation" : [ { - "translatorVersion" : "3.27.0", - "translatorOptions" : "EnableDateRangeOptimization,EnableAnnotations,EnableResultTypes", - "signatureLevel" : "All", - "type" : "CqlToElmInfo" - }, { - "type" : "Annotation", - "s" : { - "r" : "1144", + "type" : "ListTypeSpecifier", + "localId" : "765", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "766", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "767", + "name" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ] + } + } + }, + "element" : [ { + "type" : "ExpressionRef", + "localId" : "759", + "name" : "Date1_12Interval", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "760", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "761", + "name" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ] + } + } + }, { + "type" : "ExpressionRef", + "localId" : "762", + "name" : "Date3_15Interval", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "763", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "764", + "name" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ] + } + } + } ] + }, { + "type" : "Null", + "localId" : "768", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } ] + } + }, { + "localId" : "782", + "name" : "AdjacentDateCollapseNoPer", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "782", "s" : [ { - "value" : [ "","library TestSnippet version '1'" ] - } ] - } - } ], - "identifier" : { - "id" : "TestSnippet", - "version" : "1" - }, - "schemaIdentifier" : { - "id" : "urn:hl7-org:elm", - "version" : "r1" - }, - "usings" : { - "def" : [ { - "localId" : "1", - "localIdentifier" : "System", - "uri" : "urn:hl7-org:elm-types:r1" - }, { - "localId" : "206", - "localIdentifier" : "Simple", - "uri" : "https://github.com/cqframework/cql-execution/simple", - "version" : "1.0.0", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "206", - "s" : [ { - "value" : [ "","using " ] - }, { - "s" : [ { - "value" : [ "Simple" ] - } ] - }, { - "value" : [ " version '1.0.0'" ] - } ] - } - } ] - } ] - }, - "contexts" : { - "def" : [ { - "localId" : "211", - "name" : "Patient" - } ] - }, - "statements" : { - "def" : [ { - "localId" : "209", - "name" : "Patient", - "context" : "Patient", - "expression" : { - "localId" : "210", - "type" : "SingletonFrom", - "signature" : [ ], - "operand" : { - "localId" : "208", - "dataType" : "{https://github.com/cqframework/cql-execution/simple}Patient", - "type" : "Retrieve", - "include" : [ ], - "codeFilter" : [ ], - "dateFilter" : [ ], - "otherFilter" : [ ] - } - } - }, { - "localId" : "214", - "name" : "ClosedSinglePerDay", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "214", - "s" : [ { - "value" : [ "","define ","ClosedSinglePerDay",": " ] - }, { - "r" : "234", - "s" : [ { - "value" : [ "expand " ] - }, { - "r" : "215", - "s" : [ { - "value" : [ "{ " ] - }, { - "r" : "226", - "s" : [ { - "r" : "220", - "value" : [ "Interval[","@2018-01-01",", ","@2018-01-03","]" ] - } ] - }, { - "value" : [ " }" ] - } ] - }, { - "value" : [ " per ","day" ] - } ] - } ] - } - } ], + "value" : [ "", "define ", "AdjacentDateCollapseNoPer", ": " ] + }, { + "r" : "794", + "s" : [ { + "value" : [ "collapse " ] + }, { + "r" : "783", + "s" : [ { + "value" : [ "{ " ] + }, { + "r" : "784", + "s" : [ { + "value" : [ "Date1_2Interval" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "787", + "s" : [ { + "value" : [ "Date3_15Interval" ] + } ] + }, { + "value" : [ " }" ] + } ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "802", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "803", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "804", + "name" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ] + } + } + }, + "expression" : { + "type" : "Collapse", + "localId" : "794", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "799", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "800", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "801", + "name" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ] + } + } + }, + "signature" : [ { + "type" : "ListTypeSpecifier", + "localId" : "795", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "796", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "797", + "name" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ] + } + } + }, { + "type" : "NamedTypeSpecifier", + "localId" : "798", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "List", + "localId" : "783", + "annotation" : [ ], "resultTypeSpecifier" : { - "localId" : "242", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "243", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "244", - "name" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "NamedTypeSpecifier" - } - } + "type" : "ListTypeSpecifier", + "localId" : "790", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "791", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "792", + "name" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ] + } + } }, - "expression" : { - "localId" : "234", - "type" : "Expand", - "resultTypeSpecifier" : { - "localId" : "239", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "240", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "241", - "name" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "NamedTypeSpecifier" - } - } - }, - "signature" : [ { - "localId" : "235", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "236", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "237", - "name" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "NamedTypeSpecifier" - } - } - }, { - "localId" : "238", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "215", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "229", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "230", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "231", - "name" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "NamedTypeSpecifier" - } - } - }, - "element" : [ { - "localId" : "226", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "227", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "228", - "name" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "220", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "Date", - "signature" : [ ], - "year" : { - "localId" : "217", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2018", - "type" : "Literal" - }, - "month" : { - "localId" : "218", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "219", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - } - }, - "high" : { - "localId" : "225", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "Date", - "signature" : [ ], - "year" : { - "localId" : "222", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2018", - "type" : "Literal" - }, - "month" : { - "localId" : "223", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "224", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - } - } - } ] - }, { - "localId" : "233", - "value" : 1.0, - "unit" : "day", - "type" : "Quantity" - } ] - } - }, { - "localId" : "247", - "name" : "ClosedSinglePerWeek", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "247", - "s" : [ { - "value" : [ "","define ","ClosedSinglePerWeek",": " ] - }, { - "r" : "267", - "s" : [ { - "value" : [ "expand " ] - }, { - "r" : "248", - "s" : [ { - "value" : [ "{ " ] - }, { - "r" : "259", - "s" : [ { - "r" : "253", - "value" : [ "Interval[","@2018-01-01",", ","@2018-01-21","]" ] - } ] - }, { - "value" : [ " }" ] - } ] - }, { - "value" : [ " per ","week" ] - } ] - } ] - } - } ], + "element" : [ { + "type" : "ExpressionRef", + "localId" : "784", + "name" : "Date1_2Interval", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "785", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "786", + "name" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ] + } + } + }, { + "type" : "ExpressionRef", + "localId" : "787", + "name" : "Date3_15Interval", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "788", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "789", + "name" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ] + } + } + } ] + }, { + "type" : "Null", + "localId" : "793", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } ] + } + }, { + "localId" : "807", + "name" : "DisjointDateCollapseNoPer", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "807", + "s" : [ { + "value" : [ "", "define ", "DisjointDateCollapseNoPer", ": " ] + }, { + "r" : "819", + "s" : [ { + "value" : [ "collapse " ] + }, { + "r" : "808", + "s" : [ { + "value" : [ "{ " ] + }, { + "r" : "809", + "s" : [ { + "value" : [ "Date1_2Interval" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "812", + "s" : [ { + "value" : [ "Date4_15Interval" ] + } ] + }, { + "value" : [ " }" ] + } ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "827", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "828", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "829", + "name" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ] + } + } + }, + "expression" : { + "type" : "Collapse", + "localId" : "819", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "824", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "825", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "826", + "name" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ] + } + } + }, + "signature" : [ { + "type" : "ListTypeSpecifier", + "localId" : "820", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "821", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "822", + "name" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ] + } + } + }, { + "type" : "NamedTypeSpecifier", + "localId" : "823", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "List", + "localId" : "808", + "annotation" : [ ], "resultTypeSpecifier" : { - "localId" : "275", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "276", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "277", - "name" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "NamedTypeSpecifier" - } - } + "type" : "ListTypeSpecifier", + "localId" : "815", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "816", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "817", + "name" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ] + } + } }, - "expression" : { - "localId" : "267", - "type" : "Expand", - "resultTypeSpecifier" : { - "localId" : "272", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "273", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "274", - "name" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "NamedTypeSpecifier" - } - } - }, - "signature" : [ { - "localId" : "268", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "269", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "270", - "name" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "NamedTypeSpecifier" - } - } - }, { - "localId" : "271", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "248", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "262", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "263", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "264", - "name" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "NamedTypeSpecifier" - } - } - }, - "element" : [ { - "localId" : "259", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "260", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "261", - "name" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "253", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "Date", - "signature" : [ ], - "year" : { - "localId" : "250", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2018", - "type" : "Literal" - }, - "month" : { - "localId" : "251", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "252", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - } - }, - "high" : { - "localId" : "258", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "Date", - "signature" : [ ], - "year" : { - "localId" : "255", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2018", - "type" : "Literal" - }, - "month" : { - "localId" : "256", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "257", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "21", - "type" : "Literal" - } - } - } ] - }, { - "localId" : "266", - "value" : 1.0, - "unit" : "week", - "type" : "Quantity" - } ] - } - }, { - "localId" : "280", - "name" : "ClosedSinglePerMonth", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "280", + "element" : [ { + "type" : "ExpressionRef", + "localId" : "809", + "name" : "Date1_2Interval", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "810", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "811", + "name" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ] + } + } + }, { + "type" : "ExpressionRef", + "localId" : "812", + "name" : "Date4_15Interval", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "813", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "814", + "name" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ] + } + } + } ] + }, { + "type" : "Null", + "localId" : "818", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } ] + } + }, { + "localId" : "832", + "name" : "DateCollapsePerDay", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "832", + "s" : [ { + "value" : [ "", "define ", "DateCollapsePerDay", ": " ] + }, { + "r" : "845", + "s" : [ { + "value" : [ "collapse " ] + }, { + "r" : "833", + "s" : [ { + "value" : [ "{ " ] + }, { + "r" : "834", "s" : [ { - "value" : [ "","define ","ClosedSinglePerMonth",": " ] - }, { - "r" : "300", - "s" : [ { - "value" : [ "expand " ] - }, { - "r" : "281", - "s" : [ { - "value" : [ "{ " ] - }, { - "r" : "292", - "s" : [ { - "r" : "286", - "value" : [ "Interval[","@2018-01-01",", ","@2018-03-31","]" ] - } ] - }, { - "value" : [ " }" ] - } ] - }, { - "value" : [ " per ","month" ] - } ] - } ] - } - } ], + "value" : [ "Date1_2Interval" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "837", + "s" : [ { + "value" : [ "Date4_15Interval" ] + } ] + }, { + "value" : [ " }" ] + } ] + }, { + "value" : [ " per ", "day" ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "853", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "854", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "855", + "name" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ] + } + } + }, + "expression" : { + "type" : "Collapse", + "localId" : "845", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "850", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "851", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "852", + "name" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ] + } + } + }, + "signature" : [ { + "type" : "ListTypeSpecifier", + "localId" : "846", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "847", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "848", + "name" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ] + } + } + }, { + "type" : "NamedTypeSpecifier", + "localId" : "849", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "List", + "localId" : "833", + "annotation" : [ ], "resultTypeSpecifier" : { - "localId" : "308", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "309", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "310", - "name" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "NamedTypeSpecifier" - } - } + "type" : "ListTypeSpecifier", + "localId" : "840", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "841", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "842", + "name" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ] + } + } }, - "expression" : { - "localId" : "300", - "type" : "Expand", - "resultTypeSpecifier" : { - "localId" : "305", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "306", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "307", - "name" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "NamedTypeSpecifier" - } - } - }, - "signature" : [ { - "localId" : "301", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "302", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "303", - "name" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "NamedTypeSpecifier" - } - } - }, { - "localId" : "304", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "281", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "295", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "296", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "297", - "name" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "NamedTypeSpecifier" - } - } - }, - "element" : [ { - "localId" : "292", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "293", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "294", - "name" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "286", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "Date", - "signature" : [ ], - "year" : { - "localId" : "283", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2018", - "type" : "Literal" - }, - "month" : { - "localId" : "284", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "285", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - } - }, - "high" : { - "localId" : "291", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "Date", - "signature" : [ ], - "year" : { - "localId" : "288", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2018", - "type" : "Literal" - }, - "month" : { - "localId" : "289", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "290", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "31", - "type" : "Literal" - } - } - } ] - }, { - "localId" : "299", - "value" : 1.0, - "unit" : "month", - "type" : "Quantity" - } ] - } - }, { - "localId" : "313", - "name" : "ClosedSinglePerMonthTrunc", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "313", + "element" : [ { + "type" : "ExpressionRef", + "localId" : "834", + "name" : "Date1_2Interval", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "835", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "836", + "name" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ] + } + } + }, { + "type" : "ExpressionRef", + "localId" : "837", + "name" : "Date4_15Interval", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "838", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "839", + "name" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ] + } + } + } ] + }, { + "type" : "Quantity", + "localId" : "844", + "value" : 1.0, + "unit" : "day", + "annotation" : [ ] + } ] + } + }, { + "localId" : "858", + "name" : "DateCollapsePerMonth", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "858", + "s" : [ { + "value" : [ "", "define ", "DateCollapsePerMonth", ": " ] + }, { + "r" : "871", + "s" : [ { + "value" : [ "collapse " ] + }, { + "r" : "859", + "s" : [ { + "value" : [ "{ " ] + }, { + "r" : "860", "s" : [ { - "value" : [ "","define ","ClosedSinglePerMonthTrunc",": " ] - }, { - "r" : "333", - "s" : [ { - "value" : [ "expand " ] - }, { - "r" : "314", - "s" : [ { - "value" : [ "{ " ] - }, { - "r" : "325", - "s" : [ { - "r" : "319", - "value" : [ "Interval[","@2018-01-01",", ","@2018-04-29","]" ] - } ] - }, { - "value" : [ " }" ] - } ] - }, { - "value" : [ " per ","month" ] - } ] - } ] - } - } ], + "value" : [ "Date1_2Interval" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "863", + "s" : [ { + "value" : [ "Date4_15Interval" ] + } ] + }, { + "value" : [ " }" ] + } ] + }, { + "value" : [ " per ", "month" ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "879", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "880", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "881", + "name" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ] + } + } + }, + "expression" : { + "type" : "Collapse", + "localId" : "871", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "876", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "877", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "878", + "name" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ] + } + } + }, + "signature" : [ { + "type" : "ListTypeSpecifier", + "localId" : "872", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "873", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "874", + "name" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ] + } + } + }, { + "type" : "NamedTypeSpecifier", + "localId" : "875", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "List", + "localId" : "859", + "annotation" : [ ], "resultTypeSpecifier" : { - "localId" : "341", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "342", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "343", - "name" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "NamedTypeSpecifier" - } - } + "type" : "ListTypeSpecifier", + "localId" : "866", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "867", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "868", + "name" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ] + } + } }, - "expression" : { - "localId" : "333", - "type" : "Expand", - "resultTypeSpecifier" : { - "localId" : "338", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "339", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "340", - "name" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "NamedTypeSpecifier" - } - } - }, - "signature" : [ { - "localId" : "334", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "335", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "336", - "name" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "NamedTypeSpecifier" - } - } - }, { - "localId" : "337", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "314", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "328", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "329", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "330", - "name" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "NamedTypeSpecifier" - } - } - }, - "element" : [ { - "localId" : "325", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "326", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "327", - "name" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "319", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "Date", - "signature" : [ ], - "year" : { - "localId" : "316", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2018", - "type" : "Literal" - }, - "month" : { - "localId" : "317", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "318", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - } - }, - "high" : { - "localId" : "324", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "Date", - "signature" : [ ], - "year" : { - "localId" : "321", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2018", - "type" : "Literal" - }, - "month" : { - "localId" : "322", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "4", - "type" : "Literal" - }, - "day" : { - "localId" : "323", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "29", - "type" : "Literal" - } - } - } ] - }, { - "localId" : "332", - "value" : 1.0, - "unit" : "month", - "type" : "Quantity" - } ] - } - }, { - "localId" : "346", - "name" : "ClosedSinglePerYear", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "346", - "s" : [ { - "value" : [ "","define ","ClosedSinglePerYear",": " ] - }, { - "r" : "366", - "s" : [ { - "value" : [ "expand " ] - }, { - "r" : "347", - "s" : [ { - "value" : [ "{ " ] - }, { - "r" : "358", - "s" : [ { - "r" : "352", - "value" : [ "Interval[","@2016-01-01",", ","@2018-12-31","]" ] - } ] - }, { - "value" : [ " }" ] - } ] - }, { - "value" : [ " per ","year" ] - } ] - } ] - } - } ], + "element" : [ { + "type" : "ExpressionRef", + "localId" : "860", + "name" : "Date1_2Interval", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "861", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "862", + "name" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ] + } + } + }, { + "type" : "ExpressionRef", + "localId" : "863", + "name" : "Date4_15Interval", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "864", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "865", + "name" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ] + } + } + } ] + }, { + "type" : "Quantity", + "localId" : "870", + "value" : 1.0, + "unit" : "month", + "annotation" : [ ] + } ] + } + }, { + "localId" : "884", + "name" : "Time1_12Interval", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "884", + "s" : [ { + "value" : [ "// Time Intervals\n", "define ", "Time1_12Interval", ": " ] + }, { + "r" : "909", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "893", + "s" : [ { + "r" : "885", + "value" : [ "Time", "(", "0", ", ", "0", ", ", "1", ")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "905", + "s" : [ { + "r" : "897", + "value" : [ "Time", "(", "0", ", ", "0", ", ", "12", ")" ] + } ] + }, { + "value" : [ "]" ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "912", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "913", + "name" : "{urn:hl7-org:elm-types:r1}Time", + "annotation" : [ ] + } + }, + "expression" : { + "type" : "Interval", + "localId" : "909", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "910", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "911", + "name" : "{urn:hl7-org:elm-types:r1}Time", + "annotation" : [ ] + } + }, + "low" : { + "type" : "Time", + "localId" : "893", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Time", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "894", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "895", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "896", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "hour" : { + "type" : "Literal", + "localId" : "885", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "886", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "887", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + } + }, + "high" : { + "type" : "Time", + "localId" : "905", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Time", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "906", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "907", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "908", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "hour" : { + "type" : "Literal", + "localId" : "897", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "898", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "899", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "12", + "annotation" : [ ] + } + } + } + }, { + "localId" : "916", + "name" : "Time1_2Interval", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "916", + "s" : [ { + "value" : [ "", "define ", "Time1_2Interval", ": " ] + }, { + "r" : "941", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "925", + "s" : [ { + "r" : "917", + "value" : [ "Time", "(", "0", ", ", "0", ", ", "1", ")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "937", + "s" : [ { + "r" : "929", + "value" : [ "Time", "(", "0", ", ", "0", ", ", "2", ")" ] + } ] + }, { + "value" : [ "]" ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "944", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "945", + "name" : "{urn:hl7-org:elm-types:r1}Time", + "annotation" : [ ] + } + }, + "expression" : { + "type" : "Interval", + "localId" : "941", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "942", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "943", + "name" : "{urn:hl7-org:elm-types:r1}Time", + "annotation" : [ ] + } + }, + "low" : { + "type" : "Time", + "localId" : "925", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Time", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "926", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "927", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "928", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "hour" : { + "type" : "Literal", + "localId" : "917", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "918", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "919", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + } + }, + "high" : { + "type" : "Time", + "localId" : "937", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Time", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "938", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "939", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "940", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "hour" : { + "type" : "Literal", + "localId" : "929", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "930", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "931", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "annotation" : [ ] + } + } + } + }, { + "localId" : "948", + "name" : "Time3_15Interval", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "948", + "s" : [ { + "value" : [ "", "define ", "Time3_15Interval", ": " ] + }, { + "r" : "973", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "957", + "s" : [ { + "r" : "949", + "value" : [ "Time", "(", "0", ", ", "0", ", ", "3", ")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "969", + "s" : [ { + "r" : "961", + "value" : [ "Time", "(", "0", ", ", "0", ", ", "15", ")" ] + } ] + }, { + "value" : [ "]" ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "976", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "977", + "name" : "{urn:hl7-org:elm-types:r1}Time", + "annotation" : [ ] + } + }, + "expression" : { + "type" : "Interval", + "localId" : "973", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "974", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "975", + "name" : "{urn:hl7-org:elm-types:r1}Time", + "annotation" : [ ] + } + }, + "low" : { + "type" : "Time", + "localId" : "957", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Time", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "958", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "959", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "960", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "hour" : { + "type" : "Literal", + "localId" : "949", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "950", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "951", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + } + }, + "high" : { + "type" : "Time", + "localId" : "969", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Time", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "970", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "971", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "972", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "hour" : { + "type" : "Literal", + "localId" : "961", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "962", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "963", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "15", + "annotation" : [ ] + } + } + } + }, { + "localId" : "980", + "name" : "Time4_15Interval", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "980", + "s" : [ { + "value" : [ "", "define ", "Time4_15Interval", ": " ] + }, { + "r" : "1005", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "989", + "s" : [ { + "r" : "981", + "value" : [ "Time", "(", "0", ", ", "0", ", ", "4", ")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "1001", + "s" : [ { + "r" : "993", + "value" : [ "Time", "(", "0", ", ", "0", ", ", "15", ")" ] + } ] + }, { + "value" : [ "]" ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1008", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1009", + "name" : "{urn:hl7-org:elm-types:r1}Time", + "annotation" : [ ] + } + }, + "expression" : { + "type" : "Interval", + "localId" : "1005", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1006", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1007", + "name" : "{urn:hl7-org:elm-types:r1}Time", + "annotation" : [ ] + } + }, + "low" : { + "type" : "Time", + "localId" : "989", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Time", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "990", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "991", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "992", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "hour" : { + "type" : "Literal", + "localId" : "981", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "982", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "983", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "4", + "annotation" : [ ] + } + }, + "high" : { + "type" : "Time", + "localId" : "1001", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Time", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1002", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1003", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1004", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "hour" : { + "type" : "Literal", + "localId" : "993", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "994", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "995", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "15", + "annotation" : [ ] + } + } + } + }, { + "localId" : "1012", + "name" : "Time1_15Interval", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "1012", + "s" : [ { + "value" : [ "", "define ", "Time1_15Interval", ": " ] + }, { + "r" : "1037", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "1021", + "s" : [ { + "r" : "1013", + "value" : [ "Time", "(", "0", ", ", "0", ", ", "1", ")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "1033", + "s" : [ { + "r" : "1025", + "value" : [ "Time", "(", "0", ", ", "0", ", ", "15", ")" ] + } ] + }, { + "value" : [ "]" ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1040", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1041", + "name" : "{urn:hl7-org:elm-types:r1}Time", + "annotation" : [ ] + } + }, + "expression" : { + "type" : "Interval", + "localId" : "1037", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1038", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1039", + "name" : "{urn:hl7-org:elm-types:r1}Time", + "annotation" : [ ] + } + }, + "low" : { + "type" : "Time", + "localId" : "1021", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Time", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1022", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1023", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1024", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "hour" : { + "type" : "Literal", + "localId" : "1013", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "1014", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "1015", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + } + }, + "high" : { + "type" : "Time", + "localId" : "1033", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Time", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1034", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1035", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1036", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "hour" : { + "type" : "Literal", + "localId" : "1025", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "1026", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "1027", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "15", + "annotation" : [ ] + } + } + } + }, { + "localId" : "1044", + "name" : "OverlappingTimeCollapseNoPer", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "1044", + "s" : [ { + "value" : [ "", "define ", "OverlappingTimeCollapseNoPer", ": " ] + }, { + "r" : "1056", + "s" : [ { + "value" : [ "collapse " ] + }, { + "r" : "1045", + "s" : [ { + "value" : [ "{ " ] + }, { + "r" : "1046", + "s" : [ { + "value" : [ "Time1_12Interval" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "1049", + "s" : [ { + "value" : [ "Time3_15Interval" ] + } ] + }, { + "value" : [ " }" ] + } ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "1064", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1065", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1066", + "name" : "{urn:hl7-org:elm-types:r1}Time", + "annotation" : [ ] + } + } + }, + "expression" : { + "type" : "Collapse", + "localId" : "1056", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "1061", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1062", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1063", + "name" : "{urn:hl7-org:elm-types:r1}Time", + "annotation" : [ ] + } + } + }, + "signature" : [ { + "type" : "ListTypeSpecifier", + "localId" : "1057", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1058", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1059", + "name" : "{urn:hl7-org:elm-types:r1}Time", + "annotation" : [ ] + } + } + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1060", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "List", + "localId" : "1045", + "annotation" : [ ], "resultTypeSpecifier" : { - "localId" : "374", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "375", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "376", - "name" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "NamedTypeSpecifier" - } - } - }, - "expression" : { - "localId" : "366", - "type" : "Expand", - "resultTypeSpecifier" : { - "localId" : "371", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "372", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "373", - "name" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "NamedTypeSpecifier" - } - } - }, - "signature" : [ { - "localId" : "367", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "368", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "369", - "name" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "NamedTypeSpecifier" - } - } - }, { - "localId" : "370", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "347", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "361", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "362", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "363", - "name" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "NamedTypeSpecifier" - } - } - }, - "element" : [ { - "localId" : "358", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "359", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "360", - "name" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "352", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "Date", - "signature" : [ ], - "year" : { - "localId" : "349", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2016", - "type" : "Literal" - }, - "month" : { - "localId" : "350", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "351", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - } - }, - "high" : { - "localId" : "357", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "Date", - "signature" : [ ], - "year" : { - "localId" : "354", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2018", - "type" : "Literal" - }, - "month" : { - "localId" : "355", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "12", - "type" : "Literal" - }, - "day" : { - "localId" : "356", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "31", - "type" : "Literal" - } - } - } ] - }, { - "localId" : "365", - "value" : 1.0, - "unit" : "year", - "type" : "Quantity" - } ] - } - }, { - "localId" : "379", - "name" : "ClosedSinglePerYearTrunc", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "379", + "type" : "ListTypeSpecifier", + "localId" : "1052", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1053", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1054", + "name" : "{urn:hl7-org:elm-types:r1}Time", + "annotation" : [ ] + } + } + }, + "element" : [ { + "type" : "ExpressionRef", + "localId" : "1046", + "name" : "Time1_12Interval", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1047", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1048", + "name" : "{urn:hl7-org:elm-types:r1}Time", + "annotation" : [ ] + } + } + }, { + "type" : "ExpressionRef", + "localId" : "1049", + "name" : "Time3_15Interval", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1050", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1051", + "name" : "{urn:hl7-org:elm-types:r1}Time", + "annotation" : [ ] + } + } + } ] + }, { + "type" : "Null", + "localId" : "1055", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } ] + } + }, { + "localId" : "1069", + "name" : "AdjacentTimeCollapseNoPer", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "1069", + "s" : [ { + "value" : [ "", "define ", "AdjacentTimeCollapseNoPer", ": " ] + }, { + "r" : "1081", + "s" : [ { + "value" : [ "collapse " ] + }, { + "r" : "1070", + "s" : [ { + "value" : [ "{ " ] + }, { + "r" : "1071", "s" : [ { - "value" : [ "","define ","ClosedSinglePerYearTrunc",": " ] - }, { - "r" : "399", - "s" : [ { - "value" : [ "expand " ] - }, { - "r" : "380", - "s" : [ { - "value" : [ "{ " ] - }, { - "r" : "391", - "s" : [ { - "r" : "385", - "value" : [ "Interval[","@2016-01-01",", ","@2019-12-30","]" ] - } ] - }, { - "value" : [ " }" ] - } ] - }, { - "value" : [ " per ","year" ] - } ] - } ] - } - } ], + "value" : [ "Time1_2Interval" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "1074", + "s" : [ { + "value" : [ "Time3_15Interval" ] + } ] + }, { + "value" : [ " }" ] + } ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "1089", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1090", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1091", + "name" : "{urn:hl7-org:elm-types:r1}Time", + "annotation" : [ ] + } + } + }, + "expression" : { + "type" : "Collapse", + "localId" : "1081", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "1086", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1087", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1088", + "name" : "{urn:hl7-org:elm-types:r1}Time", + "annotation" : [ ] + } + } + }, + "signature" : [ { + "type" : "ListTypeSpecifier", + "localId" : "1082", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1083", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1084", + "name" : "{urn:hl7-org:elm-types:r1}Time", + "annotation" : [ ] + } + } + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1085", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "List", + "localId" : "1070", + "annotation" : [ ], "resultTypeSpecifier" : { - "localId" : "407", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "408", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "409", - "name" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "NamedTypeSpecifier" - } - } + "type" : "ListTypeSpecifier", + "localId" : "1077", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1078", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1079", + "name" : "{urn:hl7-org:elm-types:r1}Time", + "annotation" : [ ] + } + } }, - "expression" : { - "localId" : "399", - "type" : "Expand", - "resultTypeSpecifier" : { - "localId" : "404", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "405", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "406", - "name" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "NamedTypeSpecifier" - } - } - }, - "signature" : [ { - "localId" : "400", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "401", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "402", - "name" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "NamedTypeSpecifier" - } - } - }, { - "localId" : "403", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "380", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "394", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "395", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "396", - "name" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "NamedTypeSpecifier" - } - } - }, - "element" : [ { - "localId" : "391", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "392", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "393", - "name" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "385", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "Date", - "signature" : [ ], - "year" : { - "localId" : "382", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2016", - "type" : "Literal" - }, - "month" : { - "localId" : "383", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "384", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - } - }, - "high" : { - "localId" : "390", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "Date", - "signature" : [ ], - "year" : { - "localId" : "387", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2019", - "type" : "Literal" - }, - "month" : { - "localId" : "388", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "12", - "type" : "Literal" - }, - "day" : { - "localId" : "389", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "30", - "type" : "Literal" - } - } - } ] - }, { - "localId" : "398", - "value" : 1.0, - "unit" : "year", - "type" : "Quantity" - } ] - } - }, { - "localId" : "412", - "name" : "MidBoundariesPerDay", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "412", - "s" : [ { - "value" : [ "","define ","MidBoundariesPerDay",": " ] - }, { - "r" : "432", - "s" : [ { - "value" : [ "expand " ] - }, { - "r" : "413", - "s" : [ { - "value" : [ "{ " ] - }, { - "r" : "424", - "s" : [ { - "r" : "418", - "value" : [ "Interval[","@2017-12-30",", ","@2018-01-01","]" ] - } ] - }, { - "value" : [ " }" ] - } ] - }, { - "value" : [ " per ","day" ] - } ] - } ] - } - } ], + "element" : [ { + "type" : "ExpressionRef", + "localId" : "1071", + "name" : "Time1_2Interval", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1072", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1073", + "name" : "{urn:hl7-org:elm-types:r1}Time", + "annotation" : [ ] + } + } + }, { + "type" : "ExpressionRef", + "localId" : "1074", + "name" : "Time3_15Interval", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1075", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1076", + "name" : "{urn:hl7-org:elm-types:r1}Time", + "annotation" : [ ] + } + } + } ] + }, { + "type" : "Null", + "localId" : "1080", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } ] + } + }, { + "localId" : "1094", + "name" : "DisjointTimeCollapseNoPer", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "1094", + "s" : [ { + "value" : [ "", "define ", "DisjointTimeCollapseNoPer", ": " ] + }, { + "r" : "1106", + "s" : [ { + "value" : [ "collapse " ] + }, { + "r" : "1095", + "s" : [ { + "value" : [ "{ " ] + }, { + "r" : "1096", + "s" : [ { + "value" : [ "Time1_2Interval" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "1099", + "s" : [ { + "value" : [ "Time4_15Interval" ] + } ] + }, { + "value" : [ " }" ] + } ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "1114", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1115", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1116", + "name" : "{urn:hl7-org:elm-types:r1}Time", + "annotation" : [ ] + } + } + }, + "expression" : { + "type" : "Collapse", + "localId" : "1106", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "1111", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1112", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1113", + "name" : "{urn:hl7-org:elm-types:r1}Time", + "annotation" : [ ] + } + } + }, + "signature" : [ { + "type" : "ListTypeSpecifier", + "localId" : "1107", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1108", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1109", + "name" : "{urn:hl7-org:elm-types:r1}Time", + "annotation" : [ ] + } + } + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1110", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "List", + "localId" : "1095", + "annotation" : [ ], "resultTypeSpecifier" : { - "localId" : "440", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "441", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "442", - "name" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "NamedTypeSpecifier" - } - } + "type" : "ListTypeSpecifier", + "localId" : "1102", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1103", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1104", + "name" : "{urn:hl7-org:elm-types:r1}Time", + "annotation" : [ ] + } + } }, - "expression" : { - "localId" : "432", - "type" : "Expand", - "resultTypeSpecifier" : { - "localId" : "437", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "438", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "439", - "name" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "NamedTypeSpecifier" - } - } - }, - "signature" : [ { - "localId" : "433", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "434", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "435", - "name" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "NamedTypeSpecifier" - } - } - }, { - "localId" : "436", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "413", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "427", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "428", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "429", - "name" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "NamedTypeSpecifier" - } - } - }, - "element" : [ { - "localId" : "424", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "425", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "426", - "name" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "418", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "Date", - "signature" : [ ], - "year" : { - "localId" : "415", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2017", - "type" : "Literal" - }, - "month" : { - "localId" : "416", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "12", - "type" : "Literal" - }, - "day" : { - "localId" : "417", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "30", - "type" : "Literal" - } - }, - "high" : { - "localId" : "423", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "Date", - "signature" : [ ], - "year" : { - "localId" : "420", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2018", - "type" : "Literal" - }, - "month" : { - "localId" : "421", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "422", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - } - } - } ] - }, { - "localId" : "431", - "value" : 1.0, - "unit" : "day", - "type" : "Quantity" - } ] - } - }, { - "localId" : "445", - "name" : "MidBoundariesPerMonth", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "445", - "s" : [ { - "value" : [ "","define ","MidBoundariesPerMonth",": " ] - }, { - "r" : "465", - "s" : [ { - "value" : [ "expand " ] - }, { - "r" : "446", - "s" : [ { - "value" : [ "{ " ] - }, { - "r" : "457", - "s" : [ { - "r" : "451", - "value" : [ "Interval[","@2017-11-14",", ","@2018-01-18","]" ] - } ] - }, { - "value" : [ " }" ] - } ] - }, { - "value" : [ " per ","month" ] - } ] - } ] - } - } ], + "element" : [ { + "type" : "ExpressionRef", + "localId" : "1096", + "name" : "Time1_2Interval", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1097", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1098", + "name" : "{urn:hl7-org:elm-types:r1}Time", + "annotation" : [ ] + } + } + }, { + "type" : "ExpressionRef", + "localId" : "1099", + "name" : "Time4_15Interval", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1100", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1101", + "name" : "{urn:hl7-org:elm-types:r1}Time", + "annotation" : [ ] + } + } + } ] + }, { + "type" : "Null", + "localId" : "1105", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } ] + } + }, { + "localId" : "1119", + "name" : "TimeCollapsePerSecond", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "1119", + "s" : [ { + "value" : [ "", "define ", "TimeCollapsePerSecond", ": " ] + }, { + "r" : "1132", + "s" : [ { + "value" : [ "collapse " ] + }, { + "r" : "1120", + "s" : [ { + "value" : [ "{ " ] + }, { + "r" : "1121", + "s" : [ { + "value" : [ "Time1_2Interval" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "1124", + "s" : [ { + "value" : [ "Time4_15Interval" ] + } ] + }, { + "value" : [ " }" ] + } ] + }, { + "value" : [ " per ", "second" ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "1140", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1141", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1142", + "name" : "{urn:hl7-org:elm-types:r1}Time", + "annotation" : [ ] + } + } + }, + "expression" : { + "type" : "Collapse", + "localId" : "1132", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "1137", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1138", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1139", + "name" : "{urn:hl7-org:elm-types:r1}Time", + "annotation" : [ ] + } + } + }, + "signature" : [ { + "type" : "ListTypeSpecifier", + "localId" : "1133", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1134", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1135", + "name" : "{urn:hl7-org:elm-types:r1}Time", + "annotation" : [ ] + } + } + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1136", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "List", + "localId" : "1120", + "annotation" : [ ], "resultTypeSpecifier" : { - "localId" : "473", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "474", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "475", - "name" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "NamedTypeSpecifier" - } - } + "type" : "ListTypeSpecifier", + "localId" : "1127", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1128", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1129", + "name" : "{urn:hl7-org:elm-types:r1}Time", + "annotation" : [ ] + } + } }, - "expression" : { - "localId" : "465", - "type" : "Expand", - "resultTypeSpecifier" : { - "localId" : "470", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "471", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "472", - "name" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "NamedTypeSpecifier" - } - } - }, - "signature" : [ { - "localId" : "466", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "467", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "468", - "name" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "NamedTypeSpecifier" - } - } - }, { - "localId" : "469", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "446", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "460", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "461", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "462", - "name" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "NamedTypeSpecifier" - } - } - }, - "element" : [ { - "localId" : "457", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "458", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "459", - "name" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "451", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "Date", - "signature" : [ ], - "year" : { - "localId" : "448", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2017", - "type" : "Literal" - }, - "month" : { - "localId" : "449", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "11", - "type" : "Literal" - }, - "day" : { - "localId" : "450", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "14", - "type" : "Literal" - } - }, - "high" : { - "localId" : "456", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "Date", - "signature" : [ ], - "year" : { - "localId" : "453", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2018", - "type" : "Literal" - }, - "month" : { - "localId" : "454", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "455", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "18", - "type" : "Literal" - } - } - } ] - }, { - "localId" : "464", - "value" : 1.0, - "unit" : "month", - "type" : "Quantity" - } ] - } - }, { - "localId" : "478", - "name" : "MidBoundariesPerYear", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "478", + "element" : [ { + "type" : "ExpressionRef", + "localId" : "1121", + "name" : "Time1_2Interval", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1122", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1123", + "name" : "{urn:hl7-org:elm-types:r1}Time", + "annotation" : [ ] + } + } + }, { + "type" : "ExpressionRef", + "localId" : "1124", + "name" : "Time4_15Interval", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1125", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1126", + "name" : "{urn:hl7-org:elm-types:r1}Time", + "annotation" : [ ] + } + } + } ] + }, { + "type" : "Quantity", + "localId" : "1131", + "value" : 1.0, + "unit" : "second", + "annotation" : [ ] + } ] + } + }, { + "localId" : "1145", + "name" : "TimeCollapsePerMinute", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "1145", + "s" : [ { + "value" : [ "", "define ", "TimeCollapsePerMinute", ": " ] + }, { + "r" : "1158", + "s" : [ { + "value" : [ "collapse " ] + }, { + "r" : "1146", + "s" : [ { + "value" : [ "{ " ] + }, { + "r" : "1147", + "s" : [ { + "value" : [ "Time1_2Interval" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "1150", "s" : [ { - "value" : [ "","define ","MidBoundariesPerYear",": " ] - }, { - "r" : "498", - "s" : [ { - "value" : [ "expand " ] - }, { - "r" : "479", - "s" : [ { - "value" : [ "{ " ] - }, { - "r" : "490", - "s" : [ { - "r" : "484", - "value" : [ "Interval[","@2016-04-06",", ","@2018-04-06","]" ] - } ] - }, { - "value" : [ " }" ] - } ] - }, { - "value" : [ " per ","year" ] - } ] - } ] - } - } ], + "value" : [ "Time4_15Interval" ] + } ] + }, { + "value" : [ " }" ] + } ] + }, { + "value" : [ " per ", "minute" ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "1166", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1167", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1168", + "name" : "{urn:hl7-org:elm-types:r1}Time", + "annotation" : [ ] + } + } + }, + "expression" : { + "type" : "Collapse", + "localId" : "1158", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "1163", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1164", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1165", + "name" : "{urn:hl7-org:elm-types:r1}Time", + "annotation" : [ ] + } + } + }, + "signature" : [ { + "type" : "ListTypeSpecifier", + "localId" : "1159", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1160", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1161", + "name" : "{urn:hl7-org:elm-types:r1}Time", + "annotation" : [ ] + } + } + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1162", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "List", + "localId" : "1146", + "annotation" : [ ], "resultTypeSpecifier" : { - "localId" : "506", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "507", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "508", - "name" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "NamedTypeSpecifier" - } - } + "type" : "ListTypeSpecifier", + "localId" : "1153", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1154", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1155", + "name" : "{urn:hl7-org:elm-types:r1}Time", + "annotation" : [ ] + } + } }, - "expression" : { - "localId" : "498", - "type" : "Expand", - "resultTypeSpecifier" : { - "localId" : "503", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "504", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "505", - "name" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "NamedTypeSpecifier" - } - } - }, - "signature" : [ { - "localId" : "499", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "500", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "501", - "name" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "NamedTypeSpecifier" - } - } - }, { - "localId" : "502", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "479", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "493", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "494", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "495", - "name" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "NamedTypeSpecifier" - } - } - }, - "element" : [ { - "localId" : "490", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "491", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "492", - "name" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "484", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "Date", - "signature" : [ ], - "year" : { - "localId" : "481", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2016", - "type" : "Literal" - }, - "month" : { - "localId" : "482", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "4", - "type" : "Literal" - }, - "day" : { - "localId" : "483", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "6", - "type" : "Literal" - } - }, - "high" : { - "localId" : "489", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "Date", - "signature" : [ ], - "year" : { - "localId" : "486", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2018", - "type" : "Literal" - }, - "month" : { - "localId" : "487", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "4", - "type" : "Literal" - }, - "day" : { - "localId" : "488", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "6", - "type" : "Literal" - } - } - } ] - }, { - "localId" : "497", - "value" : 1.0, - "unit" : "year", - "type" : "Quantity" - } ] - } - }, { - "localId" : "511", - "name" : "NullInList", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "511", + "element" : [ { + "type" : "ExpressionRef", + "localId" : "1147", + "name" : "Time1_2Interval", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1148", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1149", + "name" : "{urn:hl7-org:elm-types:r1}Time", + "annotation" : [ ] + } + } + }, { + "type" : "ExpressionRef", + "localId" : "1150", + "name" : "Time4_15Interval", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1151", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1152", + "name" : "{urn:hl7-org:elm-types:r1}Time", + "annotation" : [ ] + } + } + } ] + }, { + "type" : "Quantity", + "localId" : "1157", + "value" : 1.0, + "unit" : "minute", + "annotation" : [ ] + } ] + } + }, { + "localId" : "1171", + "name" : "QuantityIntervalList", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "1171", + "s" : [ { + "value" : [ "// Quantity Intervals with default units\n", "define ", "QuantityIntervalList", ": " ] + }, { + "r" : "1172", + "s" : [ { + "value" : [ "{ " ] + }, { + "r" : "1185", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "1177", + "s" : [ { + "r" : "1173", + "value" : [ "ToQuantity", "(", "1", ")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "1183", "s" : [ { - "value" : [ "","define ","NullInList",": " ] - }, { - "r" : "535", - "s" : [ { - "value" : [ "expand " ] - }, { - "r" : "512", - "s" : [ { - "value" : [ "{ " ] - }, { - "r" : "523", - "s" : [ { - "r" : "517", - "value" : [ "Interval[","@2018-01-01",", ","@2018-01-03","]" ] - } ] - }, { - "r" : "526", - "value" : [ ", ","null"," }" ] - } ] - }, { - "value" : [ " per ","day" ] - } ] - } ] - } - } ], - "resultTypeSpecifier" : { - "localId" : "543", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "544", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "545", - "name" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "NamedTypeSpecifier" - } - } - }, - "expression" : { - "localId" : "535", - "type" : "Expand", - "resultTypeSpecifier" : { - "localId" : "540", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "541", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "542", - "name" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "NamedTypeSpecifier" - } - } - }, - "signature" : [ { - "localId" : "536", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "537", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "538", - "name" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "NamedTypeSpecifier" - } - } - }, { - "localId" : "539", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "512", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "530", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "531", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "532", - "name" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "NamedTypeSpecifier" - } - } - }, - "element" : [ { - "localId" : "523", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "524", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "525", - "name" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "517", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "Date", - "signature" : [ ], - "year" : { - "localId" : "514", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2018", - "type" : "Literal" - }, - "month" : { - "localId" : "515", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "516", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - } - }, - "high" : { - "localId" : "522", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "Date", - "signature" : [ ], - "year" : { - "localId" : "519", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2018", - "type" : "Literal" - }, - "month" : { - "localId" : "520", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "521", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - } - } - }, { - "localId" : "527", - "type" : "As", - "signature" : [ ], - "operand" : { - "localId" : "526", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - }, - "asTypeSpecifier" : { - "localId" : "528", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "529", - "name" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "NamedTypeSpecifier" - } - } - } ] - }, { - "localId" : "534", - "value" : 1.0, - "unit" : "day", - "type" : "Quantity" - } ] - } - }, { - "localId" : "548", - "name" : "Overlapping", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "548", + "r" : "1179", + "value" : [ "ToQuantity", "(", "4", ")" ] + } ] + }, { + "value" : [ "]" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "1200", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "1192", "s" : [ { - "value" : [ "","define ","Overlapping",": " ] - }, { - "r" : "581", - "s" : [ { - "value" : [ "expand " ] - }, { - "r" : "549", - "s" : [ { - "value" : [ "{ " ] - }, { - "r" : "560", - "s" : [ { - "r" : "554", - "value" : [ "Interval[","@2018-01-01",", ","@2018-01-03","]" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "573", - "s" : [ { - "r" : "567", - "value" : [ "Interval[","@2018-01-02",", ","@2018-01-04","]" ] - } ] - }, { - "value" : [ " }" ] - } ] - }, { - "value" : [ " per ","day" ] - } ] - } ] - } - } ], - "resultTypeSpecifier" : { - "localId" : "589", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "590", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "591", - "name" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "NamedTypeSpecifier" - } - } - }, - "expression" : { - "localId" : "581", - "type" : "Expand", - "resultTypeSpecifier" : { - "localId" : "586", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "587", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "588", - "name" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "NamedTypeSpecifier" - } - } - }, - "signature" : [ { - "localId" : "582", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "583", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "584", - "name" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "NamedTypeSpecifier" - } - } - }, { - "localId" : "585", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "549", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "576", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "577", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "578", - "name" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "NamedTypeSpecifier" - } - } - }, - "element" : [ { - "localId" : "560", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "561", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "562", - "name" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "554", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "Date", - "signature" : [ ], - "year" : { - "localId" : "551", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2018", - "type" : "Literal" - }, - "month" : { - "localId" : "552", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "553", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - } - }, - "high" : { - "localId" : "559", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "Date", - "signature" : [ ], - "year" : { - "localId" : "556", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2018", - "type" : "Literal" - }, - "month" : { - "localId" : "557", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "558", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - } - } - }, { - "localId" : "573", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "574", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "575", - "name" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "567", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "Date", - "signature" : [ ], - "year" : { - "localId" : "564", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2018", - "type" : "Literal" - }, - "month" : { - "localId" : "565", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "566", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal" - } - }, - "high" : { - "localId" : "572", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "Date", - "signature" : [ ], - "year" : { - "localId" : "569", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2018", - "type" : "Literal" - }, - "month" : { - "localId" : "570", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "571", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "4", - "type" : "Literal" - } - } - } ] - }, { - "localId" : "580", - "value" : 1.0, - "unit" : "day", - "type" : "Quantity" - } ] - } - }, { - "localId" : "594", - "name" : "NonOverlapping", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "594", + "r" : "1188", + "value" : [ "ToQuantity", "(", "4", ")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "1198", "s" : [ { - "value" : [ "","define ","NonOverlapping",": " ] - }, { - "r" : "627", - "s" : [ { - "value" : [ "expand " ] - }, { - "r" : "595", - "s" : [ { - "value" : [ "{ " ] - }, { - "r" : "606", - "s" : [ { - "r" : "600", - "value" : [ "Interval[","@2018-01-01",", ","@2018-01-03","]" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "619", - "s" : [ { - "r" : "613", - "value" : [ "Interval[","@2018-01-08",", ","@2018-01-08","]" ] - } ] - }, { - "value" : [ " }" ] - } ] - }, { - "value" : [ " per ","day" ] - } ] - } ] - } - } ], + "r" : "1194", + "value" : [ "ToQuantity", "(", "8", ")" ] + } ] + }, { + "value" : [ "]" ] + } ] + }, { + "value" : [ " }" ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "1206", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1207", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1208", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } + } + }, + "expression" : { + "type" : "List", + "localId" : "1172", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "1203", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1204", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1205", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } + } + }, + "element" : [ { + "type" : "Interval", + "localId" : "1185", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], "resultTypeSpecifier" : { - "localId" : "635", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "636", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "637", - "name" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "NamedTypeSpecifier" - } - } + "type" : "IntervalTypeSpecifier", + "localId" : "1186", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1187", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } }, - "expression" : { - "localId" : "627", - "type" : "Expand", - "resultTypeSpecifier" : { - "localId" : "632", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "633", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "634", - "name" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "NamedTypeSpecifier" - } - } - }, - "signature" : [ { - "localId" : "628", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "629", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "630", - "name" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "NamedTypeSpecifier" - } - } - }, { - "localId" : "631", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "595", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "622", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "623", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "624", - "name" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "NamedTypeSpecifier" - } - } - }, - "element" : [ { - "localId" : "606", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "607", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "608", - "name" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "600", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "Date", - "signature" : [ ], - "year" : { - "localId" : "597", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2018", - "type" : "Literal" - }, - "month" : { - "localId" : "598", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "599", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - } - }, - "high" : { - "localId" : "605", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "Date", - "signature" : [ ], - "year" : { - "localId" : "602", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2018", - "type" : "Literal" - }, - "month" : { - "localId" : "603", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "604", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - } - } - }, { - "localId" : "619", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "620", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "621", - "name" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "613", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "Date", - "signature" : [ ], - "year" : { - "localId" : "610", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2018", - "type" : "Literal" - }, - "month" : { - "localId" : "611", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "612", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "8", - "type" : "Literal" - } - }, - "high" : { - "localId" : "618", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "Date", - "signature" : [ ], - "year" : { - "localId" : "615", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2018", - "type" : "Literal" - }, - "month" : { - "localId" : "616", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "617", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "8", - "type" : "Literal" - } - } - } ] - }, { - "localId" : "626", - "value" : 1.0, - "unit" : "day", - "type" : "Quantity" - } ] - } - }, { - "localId" : "640", - "name" : "NoPerDefaultDay", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "640", - "s" : [ { - "value" : [ "","define ","NoPerDefaultDay",": " ] - }, { - "r" : "659", - "s" : [ { - "value" : [ "expand " ] - }, { - "r" : "641", - "s" : [ { - "value" : [ "{ " ] - }, { - "r" : "652", - "s" : [ { - "r" : "646", - "value" : [ "Interval[","@2018-01-01",", ","@2018-01-03","]" ] - } ] - }, { - "value" : [ " }" ] - } ] - } ] - } ] - } - } ], + "low" : { + "type" : "ToQuantity", + "localId" : "1177", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1178", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "operand" : { + "type" : "Literal", + "localId" : "1173", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + } + }, + "high" : { + "type" : "ToQuantity", + "localId" : "1183", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1184", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "operand" : { + "type" : "Literal", + "localId" : "1179", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "4", + "annotation" : [ ] + } + } + }, { + "type" : "Interval", + "localId" : "1200", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], "resultTypeSpecifier" : { - "localId" : "667", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "668", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "669", - "name" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "NamedTypeSpecifier" - } - } + "type" : "IntervalTypeSpecifier", + "localId" : "1201", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1202", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } }, - "expression" : { - "localId" : "659", - "type" : "Expand", - "resultTypeSpecifier" : { - "localId" : "664", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "665", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "666", - "name" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "NamedTypeSpecifier" - } - } - }, - "signature" : [ { - "localId" : "660", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "661", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "662", - "name" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "NamedTypeSpecifier" - } - } - }, { - "localId" : "663", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "641", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "655", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "656", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "657", - "name" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "NamedTypeSpecifier" - } - } - }, - "element" : [ { - "localId" : "652", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "653", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "654", - "name" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "646", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "Date", - "signature" : [ ], - "year" : { - "localId" : "643", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2018", - "type" : "Literal" - }, - "month" : { - "localId" : "644", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "645", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - } - }, - "high" : { - "localId" : "651", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "Date", - "signature" : [ ], - "year" : { - "localId" : "648", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2018", - "type" : "Literal" - }, - "month" : { - "localId" : "649", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "650", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - } - } - } ] - }, { - "localId" : "658", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "Null" - } ] - } - }, { - "localId" : "672", - "name" : "NoPerDefaultMonth", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "672", - "s" : [ { - "value" : [ "","define ","NoPerDefaultMonth",": " ] - }, { - "r" : "689", - "s" : [ { - "value" : [ "expand " ] - }, { - "r" : "673", - "s" : [ { - "value" : [ "{ " ] - }, { - "r" : "682", - "s" : [ { - "r" : "677", - "value" : [ "Interval[","@2018-01",", ","@2018-03","]" ] - } ] - }, { - "value" : [ " }" ] - } ] - } ] - } ] - } - } ], + "low" : { + "type" : "ToQuantity", + "localId" : "1192", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1193", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "operand" : { + "type" : "Literal", + "localId" : "1188", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "4", + "annotation" : [ ] + } + }, + "high" : { + "type" : "ToQuantity", + "localId" : "1198", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1199", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "operand" : { + "type" : "Literal", + "localId" : "1194", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "8", + "annotation" : [ ] + } + } + } ] + } + }, { + "localId" : "1211", + "name" : "ExpectedQuantityList", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "1211", + "s" : [ { + "value" : [ "", "define ", "ExpectedQuantityList", ": " ] + }, { + "r" : "1212", + "s" : [ { + "value" : [ "{ " ] + }, { + "r" : "1225", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "1217", + "s" : [ { + "r" : "1213", + "value" : [ "ToQuantity", "(", "1", ")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "1223", + "s" : [ { + "r" : "1219", + "value" : [ "ToQuantity", "(", "8", ")" ] + } ] + }, { + "value" : [ "]" ] + } ] + }, { + "value" : [ " }" ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "1231", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1232", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1233", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } + } + }, + "expression" : { + "type" : "List", + "localId" : "1212", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "1228", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1229", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1230", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } + } + }, + "element" : [ { + "type" : "Interval", + "localId" : "1225", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], "resultTypeSpecifier" : { - "localId" : "697", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "698", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "699", - "name" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "NamedTypeSpecifier" - } - } + "type" : "IntervalTypeSpecifier", + "localId" : "1226", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1227", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } }, - "expression" : { - "localId" : "689", - "type" : "Expand", - "resultTypeSpecifier" : { - "localId" : "694", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "695", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "696", - "name" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "NamedTypeSpecifier" - } - } - }, - "signature" : [ { - "localId" : "690", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "691", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "692", - "name" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "NamedTypeSpecifier" - } - } - }, { - "localId" : "693", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "673", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "685", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "686", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "687", - "name" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "NamedTypeSpecifier" - } - } - }, - "element" : [ { - "localId" : "682", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "683", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "684", - "name" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "677", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "Date", - "signature" : [ ], - "year" : { - "localId" : "675", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2018", - "type" : "Literal" - }, - "month" : { - "localId" : "676", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - } - }, - "high" : { - "localId" : "681", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "Date", - "signature" : [ ], - "year" : { - "localId" : "679", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2018", - "type" : "Literal" - }, - "month" : { - "localId" : "680", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - } - } - } ] - }, { - "localId" : "688", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "Null" - } ] - } - }, { - "localId" : "702", - "name" : "NoPerDefaultYear", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "702", - "s" : [ { - "value" : [ "","define ","NoPerDefaultYear",": " ] - }, { - "r" : "717", - "s" : [ { - "value" : [ "expand " ] - }, { - "r" : "703", - "s" : [ { - "value" : [ "{ " ] - }, { - "r" : "710", - "s" : [ { - "r" : "706", - "value" : [ "Interval[","@2016",", ","@2018","]" ] - } ] - }, { - "value" : [ " }" ] - } ] - } ] - } ] - } - } ], + "low" : { + "type" : "ToQuantity", + "localId" : "1217", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1218", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "operand" : { + "type" : "Literal", + "localId" : "1213", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + } + }, + "high" : { + "type" : "ToQuantity", + "localId" : "1223", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1224", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "operand" : { + "type" : "Literal", + "localId" : "1219", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "8", + "annotation" : [ ] + } + } + } ] + } + }, { + "localId" : "1236", + "name" : "QuantityIntervalCollapseNoPer", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "1236", + "s" : [ { + "value" : [ "", "define ", "QuantityIntervalCollapseNoPer", ": " ] + }, { + "r" : "1242", + "s" : [ { + "value" : [ "collapse " ] + }, { + "r" : "1237", + "s" : [ { + "value" : [ "QuantityIntervalList" ] + } ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "1250", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1251", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1252", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } + } + }, + "expression" : { + "type" : "Collapse", + "localId" : "1242", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "1247", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1248", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1249", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } + } + }, + "signature" : [ { + "type" : "ListTypeSpecifier", + "localId" : "1243", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1244", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1245", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } + } + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1246", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "ExpressionRef", + "localId" : "1237", + "name" : "QuantityIntervalList", + "annotation" : [ ], "resultTypeSpecifier" : { - "localId" : "725", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "726", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "727", - "name" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "NamedTypeSpecifier" - } - } - }, - "expression" : { - "localId" : "717", - "type" : "Expand", - "resultTypeSpecifier" : { - "localId" : "722", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "723", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "724", - "name" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "NamedTypeSpecifier" - } - } - }, - "signature" : [ { - "localId" : "718", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "719", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "720", - "name" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "NamedTypeSpecifier" - } - } - }, { - "localId" : "721", + "type" : "ListTypeSpecifier", + "localId" : "1238", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1239", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1240", "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "703", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "713", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "714", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "715", - "name" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "NamedTypeSpecifier" - } - } - }, - "element" : [ { - "localId" : "710", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "711", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "712", - "name" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "706", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "Date", - "signature" : [ ], - "year" : { - "localId" : "705", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2016", - "type" : "Literal" - } - }, - "high" : { - "localId" : "709", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "Date", - "signature" : [ ], - "year" : { - "localId" : "708", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2018", - "type" : "Literal" - } - } - } ] - }, { - "localId" : "716", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "Null" - } ] + "annotation" : [ ] + } + } } - }, { - "localId" : "730", - "name" : "NoPerDefaultMonthWithMismatch", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "730", - "s" : [ { - "value" : [ "","define ","NoPerDefaultMonthWithMismatch",": " ] - }, { - "r" : "746", - "s" : [ { - "value" : [ "expand " ] - }, { - "r" : "731", - "s" : [ { - "value" : [ "{ " ] - }, { - "r" : "739", - "s" : [ { - "r" : "734", - "value" : [ "Interval[","@2016",", ","@2018-03","]" ] - } ] - }, { - "value" : [ " }" ] - } ] - } ] - } ] - } - } ], - "resultTypeSpecifier" : { - "localId" : "754", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "755", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "756", - "name" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "NamedTypeSpecifier" - } - } - }, - "expression" : { - "localId" : "746", - "type" : "Expand", - "resultTypeSpecifier" : { - "localId" : "751", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "752", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "753", - "name" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "NamedTypeSpecifier" - } - } - }, - "signature" : [ { - "localId" : "747", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "748", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "749", - "name" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "NamedTypeSpecifier" - } - } - }, { - "localId" : "750", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "731", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "742", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "743", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "744", - "name" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "NamedTypeSpecifier" - } - } - }, - "element" : [ { - "localId" : "739", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "740", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "741", - "name" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "734", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "Date", - "signature" : [ ], - "year" : { - "localId" : "733", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2016", - "type" : "Literal" - } - }, - "high" : { - "localId" : "738", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "Date", - "signature" : [ ], - "year" : { - "localId" : "736", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2018", - "type" : "Literal" - }, - "month" : { - "localId" : "737", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - } - } - } ] - }, { - "localId" : "745", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "Null" - } ] - } - }, { - "localId" : "759", - "name" : "OpenStart", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "759", - "s" : [ { - "value" : [ "","define ","OpenStart",": " ] - }, { - "r" : "779", - "s" : [ { - "value" : [ "expand " ] - }, { - "r" : "760", - "s" : [ { - "value" : [ "{ " ] - }, { - "r" : "771", - "s" : [ { - "r" : "765", - "value" : [ "Interval(","@2018-01-01",", ","@2018-01-03","]" ] - } ] - }, { - "value" : [ " }" ] - } ] - }, { - "value" : [ " per ","day" ] - } ] - } ] - } - } ], + }, { + "type" : "Null", + "localId" : "1241", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } ] + } + }, { + "localId" : "1255", + "name" : "QuantityIntervalCollapsePerUnit1", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "1255", + "s" : [ { + "value" : [ "", "define ", "QuantityIntervalCollapsePerUnit1", ": " ] + }, { + "r" : "1267", + "s" : [ { + "value" : [ "collapse " ] + }, { + "r" : "1256", + "s" : [ { + "value" : [ "QuantityIntervalList" ] + } ] + }, { + "value" : [ " per " ] + }, { + "r" : "1265", + "s" : [ { + "r" : "1261", + "value" : [ "ToQuantity", "(", "1", ")" ] + } ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "1275", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1276", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1277", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } + } + }, + "expression" : { + "type" : "Collapse", + "localId" : "1267", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "1272", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1273", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1274", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } + } + }, + "signature" : [ { + "type" : "ListTypeSpecifier", + "localId" : "1268", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1269", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1270", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } + } + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1271", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "ExpressionRef", + "localId" : "1256", + "name" : "QuantityIntervalList", + "annotation" : [ ], "resultTypeSpecifier" : { - "localId" : "787", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "788", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "789", - "name" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "NamedTypeSpecifier" - } - } - }, - "expression" : { - "localId" : "779", - "type" : "Expand", - "resultTypeSpecifier" : { - "localId" : "784", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "785", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "786", - "name" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "NamedTypeSpecifier" - } - } - }, - "signature" : [ { - "localId" : "780", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "781", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "782", - "name" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "NamedTypeSpecifier" - } - } - }, { - "localId" : "783", + "type" : "ListTypeSpecifier", + "localId" : "1257", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1258", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1259", "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "760", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "774", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "775", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "776", - "name" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "NamedTypeSpecifier" - } - } - }, - "element" : [ { - "localId" : "771", - "lowClosed" : false, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "772", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "773", - "name" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "765", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "Date", - "signature" : [ ], - "year" : { - "localId" : "762", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2018", - "type" : "Literal" - }, - "month" : { - "localId" : "763", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "764", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - } - }, - "high" : { - "localId" : "770", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "Date", - "signature" : [ ], - "year" : { - "localId" : "767", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2018", - "type" : "Literal" - }, - "month" : { - "localId" : "768", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "769", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - } - } - } ] - }, { - "localId" : "778", - "value" : 1.0, - "unit" : "day", - "type" : "Quantity" - } ] + "annotation" : [ ] + } + } } - }, { - "localId" : "792", - "name" : "OpenEnd", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "792", - "s" : [ { - "value" : [ "","define ","OpenEnd",": " ] - }, { - "r" : "812", - "s" : [ { - "value" : [ "expand " ] - }, { - "r" : "793", - "s" : [ { - "value" : [ "{ " ] - }, { - "r" : "804", - "s" : [ { - "r" : "798", - "value" : [ "Interval[","@2018-01-01",", ","@2018-01-03",")" ] - } ] - }, { - "value" : [ " }" ] - } ] - }, { - "value" : [ " per ","day" ] - } ] - } ] - } - } ], + }, { + "type" : "ToQuantity", + "localId" : "1265", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1266", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "operand" : { + "type" : "Literal", + "localId" : "1261", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + } + } ] + } + }, { + "localId" : "1280", + "name" : "QuantitySeparatedBy3", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "1280", + "s" : [ { + "value" : [ "", "define ", "QuantitySeparatedBy3", ": " ] + }, { + "r" : "1281", + "s" : [ { + "value" : [ "{ " ] + }, { + "r" : "1294", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "1286", + "s" : [ { + "r" : "1282", + "value" : [ "ToQuantity", "(", "3", ")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "1292", + "s" : [ { + "r" : "1288", + "value" : [ "ToQuantity", "(", "5", ")" ] + } ] + }, { + "value" : [ "]" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "1309", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "1301", + "s" : [ { + "r" : "1297", + "value" : [ "ToQuantity", "(", "8", ")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "1307", + "s" : [ { + "r" : "1303", + "value" : [ "ToQuantity", "(", "10", ")" ] + } ] + }, { + "value" : [ "]" ] + } ] + }, { + "value" : [ "}" ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "1315", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1316", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1317", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } + } + }, + "expression" : { + "type" : "List", + "localId" : "1281", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "1312", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1313", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1314", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } + } + }, + "element" : [ { + "type" : "Interval", + "localId" : "1294", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], "resultTypeSpecifier" : { - "localId" : "820", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "821", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "822", - "name" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "NamedTypeSpecifier" - } - } + "type" : "IntervalTypeSpecifier", + "localId" : "1295", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1296", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } }, - "expression" : { - "localId" : "812", - "type" : "Expand", - "resultTypeSpecifier" : { - "localId" : "817", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "818", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "819", - "name" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "NamedTypeSpecifier" - } - } - }, - "signature" : [ { - "localId" : "813", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "814", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "815", - "name" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "NamedTypeSpecifier" - } - } - }, { - "localId" : "816", + "low" : { + "type" : "ToQuantity", + "localId" : "1286", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1287", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "operand" : { + "type" : "Literal", + "localId" : "1282", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + } + }, + "high" : { + "type" : "ToQuantity", + "localId" : "1292", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1293", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "operand" : { + "type" : "Literal", + "localId" : "1288", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "5", + "annotation" : [ ] + } + } + }, { + "type" : "Interval", + "localId" : "1309", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1310", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1311", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } + }, + "low" : { + "type" : "ToQuantity", + "localId" : "1301", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1302", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "operand" : { + "type" : "Literal", + "localId" : "1297", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "8", + "annotation" : [ ] + } + }, + "high" : { + "type" : "ToQuantity", + "localId" : "1307", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1308", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "operand" : { + "type" : "Literal", + "localId" : "1303", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "10", + "annotation" : [ ] + } + } + } ] + } + }, { + "localId" : "1320", + "name" : "CollapseSeparatedQuantity", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "1320", + "s" : [ { + "value" : [ "", "define ", "CollapseSeparatedQuantity", ": " ] + }, { + "r" : "1326", + "s" : [ { + "value" : [ "collapse " ] + }, { + "r" : "1321", + "s" : [ { + "value" : [ "QuantitySeparatedBy3" ] + } ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "1334", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1335", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1336", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } + } + }, + "expression" : { + "type" : "Collapse", + "localId" : "1326", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "1331", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1332", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1333", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } + } + }, + "signature" : [ { + "type" : "ListTypeSpecifier", + "localId" : "1327", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1328", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1329", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } + } + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1330", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "ExpressionRef", + "localId" : "1321", + "name" : "QuantitySeparatedBy3", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "1322", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1323", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1324", "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "793", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "807", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "808", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "809", - "name" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "NamedTypeSpecifier" - } - } - }, - "element" : [ { - "localId" : "804", - "lowClosed" : true, - "highClosed" : false, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "805", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "806", - "name" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "798", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "Date", - "signature" : [ ], - "year" : { - "localId" : "795", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2018", - "type" : "Literal" - }, - "month" : { - "localId" : "796", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "797", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - } - }, - "high" : { - "localId" : "803", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "Date", - "signature" : [ ], - "year" : { - "localId" : "800", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2018", - "type" : "Literal" - }, - "month" : { - "localId" : "801", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "802", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - } - } - } ] - }, { - "localId" : "811", - "value" : 1.0, - "unit" : "day", - "type" : "Quantity" - } ] + "annotation" : [ ] + } + } } - }, { - "localId" : "825", - "name" : "OpenBoth", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "825", - "s" : [ { - "value" : [ "","define ","OpenBoth",": " ] - }, { - "r" : "845", - "s" : [ { - "value" : [ "expand " ] - }, { - "r" : "826", - "s" : [ { - "value" : [ "{ " ] - }, { - "r" : "837", - "s" : [ { - "r" : "831", - "value" : [ "Interval(","@2018-01-01",", ","@2018-01-03",")" ] - } ] - }, { - "value" : [ " }" ] - } ] - }, { - "value" : [ " per ","day" ] - } ] - } ] - } - } ], + }, { + "type" : "Null", + "localId" : "1325", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } ] + } + }, { + "localId" : "1339", + "name" : "ExpectedSeparatedQuantity", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "1339", + "s" : [ { + "value" : [ "", "define ", "ExpectedSeparatedQuantity", ": " ] + }, { + "r" : "1340", + "s" : [ { + "value" : [ "{ " ] + }, { + "r" : "1353", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "1345", + "s" : [ { + "r" : "1341", + "value" : [ "ToQuantity", "(", "3", ")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "1351", + "s" : [ { + "r" : "1347", + "value" : [ "ToQuantity", "(", "10", ")" ] + } ] + }, { + "value" : [ "]" ] + } ] + }, { + "value" : [ " }" ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "1359", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1360", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1361", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } + } + }, + "expression" : { + "type" : "List", + "localId" : "1340", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "1356", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1357", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1358", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } + } + }, + "element" : [ { + "type" : "Interval", + "localId" : "1353", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], "resultTypeSpecifier" : { - "localId" : "853", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "854", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "855", - "name" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "NamedTypeSpecifier" - } - } - }, - "expression" : { - "localId" : "845", - "type" : "Expand", - "resultTypeSpecifier" : { - "localId" : "850", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "851", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "852", - "name" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "NamedTypeSpecifier" - } - } - }, - "signature" : [ { - "localId" : "846", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "847", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "848", - "name" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "NamedTypeSpecifier" - } - } - }, { - "localId" : "849", + "type" : "IntervalTypeSpecifier", + "localId" : "1354", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1355", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } + }, + "low" : { + "type" : "ToQuantity", + "localId" : "1345", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1346", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "operand" : { + "type" : "Literal", + "localId" : "1341", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + } + }, + "high" : { + "type" : "ToQuantity", + "localId" : "1351", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1352", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "operand" : { + "type" : "Literal", + "localId" : "1347", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "10", + "annotation" : [ ] + } + } + } ] + } + }, { + "localId" : "1364", + "name" : "CollapseSeparatedQuantityPer3", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "1364", + "s" : [ { + "value" : [ "", "define ", "CollapseSeparatedQuantityPer3", ": " ] + }, { + "r" : "1372", + "s" : [ { + "value" : [ "collapse " ] + }, { + "r" : "1365", + "s" : [ { + "value" : [ "QuantitySeparatedBy3" ] + } ] + }, { + "r" : "1370", + "value" : [ " per ", "3" ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "1380", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1381", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1382", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } + } + }, + "expression" : { + "type" : "Collapse", + "localId" : "1372", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "1377", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1378", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1379", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } + } + }, + "signature" : [ { + "type" : "ListTypeSpecifier", + "localId" : "1373", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1374", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1375", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } + } + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1376", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "ExpressionRef", + "localId" : "1365", + "name" : "QuantitySeparatedBy3", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "1366", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1367", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1368", "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "826", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "840", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "841", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "842", - "name" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "NamedTypeSpecifier" - } - } - }, - "element" : [ { - "localId" : "837", - "lowClosed" : false, - "highClosed" : false, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "838", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "839", - "name" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "831", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "Date", - "signature" : [ ], - "year" : { - "localId" : "828", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2018", - "type" : "Literal" - }, - "month" : { - "localId" : "829", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "830", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - } - }, - "high" : { - "localId" : "836", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "Date", - "signature" : [ ], - "year" : { - "localId" : "833", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2018", - "type" : "Literal" - }, - "month" : { - "localId" : "834", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "835", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - } - } - } ] - }, { - "localId" : "844", - "value" : 1.0, - "unit" : "day", - "type" : "Quantity" - } ] - } - }, { - "localId" : "858", - "name" : "MismatchPrecision", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "858", + "annotation" : [ ] + } + } + } + }, { + "type" : "Quantity", + "localId" : "1371", + "value" : 3, + "unit" : "1", + "annotation" : [ ] + } ] + } + }, { + "localId" : "1385", + "name" : "QuantityMeterIntervalList", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "1385", + "s" : [ { + "value" : [ "// Quantity Intervals with units\n", "define ", "QuantityMeterIntervalList", ": " ] + }, { + "r" : "1386", + "s" : [ { + "value" : [ "{ " ] + }, { + "r" : "1401", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "1392", "s" : [ { - "value" : [ "","define ","MismatchPrecision",": " ] + "value" : [ "ToQuantity", "(" ] }, { - "r" : "877", - "s" : [ { - "value" : [ "expand " ] - }, { - "r" : "859", - "s" : [ { - "value" : [ "{ " ] - }, { - "r" : "869", - "s" : [ { - "r" : "864", - "value" : [ "Interval[","@2018-01-01",", ","@2018-03","]" ] - } ] - }, { - "value" : [ " }" ] - } ] - }, { - "value" : [ " per ","month" ] - } ] - } ] - } - } ], - "resultTypeSpecifier" : { - "localId" : "885", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "886", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "887", - "name" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "NamedTypeSpecifier" - } - } - }, - "expression" : { - "localId" : "877", - "type" : "Expand", - "resultTypeSpecifier" : { - "localId" : "882", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "883", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "884", - "name" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "NamedTypeSpecifier" - } - } - }, - "signature" : [ { - "localId" : "878", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "879", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "880", - "name" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "NamedTypeSpecifier" - } - } - }, { - "localId" : "881", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "859", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "872", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "873", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "874", - "name" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "NamedTypeSpecifier" - } - } - }, - "element" : [ { - "localId" : "869", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "870", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "871", - "name" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "864", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "Date", - "signature" : [ ], - "year" : { - "localId" : "861", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2018", - "type" : "Literal" - }, - "month" : { - "localId" : "862", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "863", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - } - }, - "high" : { - "localId" : "868", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "Date", - "signature" : [ ], - "year" : { - "localId" : "866", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2018", - "type" : "Literal" - }, - "month" : { - "localId" : "867", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - } - } - } ] - }, { - "localId" : "876", - "value" : 1.0, - "unit" : "month", - "type" : "Quantity" - } ] - } - }, { - "localId" : "890", - "name" : "MismatchPrecisionResultLongerThanInput", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "890", + "r" : "1387", + "s" : [ { + "value" : [ "'1 \\'m\\''" ] + } ] + }, { + "value" : [ ")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "1399", "s" : [ { - "value" : [ "","define ","MismatchPrecisionResultLongerThanInput",": " ] + "value" : [ "ToQuantity", "(" ] }, { - "r" : "909", - "s" : [ { - "value" : [ "expand " ] - }, { - "r" : "891", - "s" : [ { - "value" : [ "{ " ] - }, { - "r" : "901", - "s" : [ { - "r" : "895", - "value" : [ "Interval[","@2018-01",", ","@2018-02-28","]" ] - } ] - }, { - "value" : [ " }" ] - } ] - }, { - "value" : [ " per ","month" ] - } ] - } ] - } - } ], - "resultTypeSpecifier" : { - "localId" : "917", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "918", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "919", - "name" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "NamedTypeSpecifier" - } - } - }, - "expression" : { - "localId" : "909", - "type" : "Expand", - "resultTypeSpecifier" : { - "localId" : "914", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "915", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "916", - "name" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "NamedTypeSpecifier" - } - } - }, - "signature" : [ { - "localId" : "910", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "911", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "912", - "name" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "NamedTypeSpecifier" - } - } - }, { - "localId" : "913", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "891", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "904", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "905", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "906", - "name" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "NamedTypeSpecifier" - } - } - }, - "element" : [ { - "localId" : "901", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "902", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "903", - "name" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "895", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "Date", - "signature" : [ ], - "year" : { - "localId" : "893", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2018", - "type" : "Literal" - }, - "month" : { - "localId" : "894", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - } - }, - "high" : { - "localId" : "900", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "Date", - "signature" : [ ], - "year" : { - "localId" : "897", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2018", - "type" : "Literal" - }, - "month" : { - "localId" : "898", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal" - }, - "day" : { - "localId" : "899", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "28", - "type" : "Literal" - } - } - } ] - }, { - "localId" : "908", - "value" : 1.0, - "unit" : "month", - "type" : "Quantity" - } ] - } - }, { - "localId" : "922", - "name" : "EmptyList", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "922", - "s" : [ { - "value" : [ "","define ","EmptyList",": " ] + "r" : "1394", + "s" : [ { + "value" : [ "'1.995 \\'m\\''" ] + } ] }, { - "r" : "927", - "s" : [ { - "value" : [ "List<" ] - }, { - "r" : "923", - "s" : [ { - "value" : [ "Interval<" ] - }, { - "r" : "924", - "s" : [ { - "value" : [ "Date" ] - } ] - }, { - "value" : [ ">" ] - } ] - }, { - "value" : [ ">{}" ] - } ] - } ] - } - } ], - "resultTypeSpecifier" : { - "localId" : "932", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "933", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "934", - "name" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "NamedTypeSpecifier" - } - } - }, - "expression" : { - "localId" : "927", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "929", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "930", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "931", - "name" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "NamedTypeSpecifier" - } - } - }, - "element" : [ ] - } - }, { - "localId" : "937", - "name" : "NullOpen", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "937", + "value" : [ ")" ] + } ] + }, { + "value" : [ "]" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "1418", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "1409", "s" : [ { - "value" : [ "","define ","NullOpen",": " ] + "value" : [ "ToQuantity", "(" ] }, { - "r" : "954", - "s" : [ { - "value" : [ "expand " ] - }, { - "r" : "938", - "s" : [ { - "value" : [ "{ " ] - }, { - "r" : "945", - "s" : [ { - "r" : "939", - "value" : [ "Interval[","null",", ","@2018-01-03","]" ] - } ] - }, { - "value" : [ " }" ] - } ] - }, { - "value" : [ " per ","day" ] - } ] - } ] - } - } ], - "resultTypeSpecifier" : { - "localId" : "962", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "963", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "964", - "name" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "NamedTypeSpecifier" - } - } - }, - "expression" : { - "localId" : "954", - "type" : "Expand", - "resultTypeSpecifier" : { - "localId" : "959", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "960", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "961", - "name" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "NamedTypeSpecifier" - } - } - }, - "signature" : [ { - "localId" : "955", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "956", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "957", - "name" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "NamedTypeSpecifier" - } - } - }, { - "localId" : "958", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "938", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "949", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "950", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "951", - "name" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "NamedTypeSpecifier" - } - } - }, - "element" : [ { - "localId" : "945", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "947", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "948", - "name" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "946", - "asType" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "As", - "signature" : [ ], - "operand" : { - "localId" : "939", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - } - }, - "high" : { - "localId" : "944", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "Date", - "signature" : [ ], - "year" : { - "localId" : "941", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2018", - "type" : "Literal" - }, - "month" : { - "localId" : "942", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "943", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - } - } - } ] - }, { - "localId" : "953", - "value" : 1.0, - "unit" : "day", - "type" : "Quantity" - } ] - } - }, { - "localId" : "967", - "name" : "NullClose", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "967", - "s" : [ { - "value" : [ "","define ","NullClose",": " ] + "r" : "1404", + "s" : [ { + "value" : [ "'2 \\'m\\''" ] + } ] }, { - "r" : "984", - "s" : [ { - "value" : [ "expand " ] - }, { - "r" : "968", - "s" : [ { - "value" : [ "{ " ] - }, { - "r" : "975", - "s" : [ { - "r" : "973", - "value" : [ "Interval[","@2018-01-01",", ","null","]" ] - } ] - }, { - "value" : [ " }" ] - } ] - }, { - "value" : [ " per ","day" ] - } ] - } ] - } - } ], + "value" : [ ")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "1416", + "s" : [ { + "value" : [ "ToQuantity", "(" ] + }, { + "r" : "1411", + "s" : [ { + "value" : [ "'3 \\'m\\''" ] + } ] + }, { + "value" : [ ")" ] + } ] + }, { + "value" : [ "]" ] + } ] + }, { + "value" : [ " }" ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "1424", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1425", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1426", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } + } + }, + "expression" : { + "type" : "List", + "localId" : "1386", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "1421", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1422", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1423", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } + } + }, + "element" : [ { + "type" : "Interval", + "localId" : "1401", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], "resultTypeSpecifier" : { - "localId" : "992", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "993", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "994", - "name" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "NamedTypeSpecifier" - } - } - }, - "expression" : { - "localId" : "984", - "type" : "Expand", - "resultTypeSpecifier" : { - "localId" : "989", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "990", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "991", - "name" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "NamedTypeSpecifier" - } - } - }, - "signature" : [ { - "localId" : "985", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "986", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "987", - "name" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "NamedTypeSpecifier" - } - } - }, { - "localId" : "988", + "type" : "IntervalTypeSpecifier", + "localId" : "1402", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1403", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } + }, + "low" : { + "type" : "ToQuantity", + "localId" : "1392", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1393", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } ], + "operand" : { + "type" : "Literal", + "localId" : "1387", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "1 'm'", + "annotation" : [ ] + } + }, + "high" : { + "type" : "ToQuantity", + "localId" : "1399", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1400", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } ], + "operand" : { + "type" : "Literal", + "localId" : "1394", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "1.995 'm'", + "annotation" : [ ] + } + } + }, { + "type" : "Interval", + "localId" : "1418", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1419", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1420", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } + }, + "low" : { + "type" : "ToQuantity", + "localId" : "1409", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1410", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } ], + "operand" : { + "type" : "Literal", + "localId" : "1404", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "2 'm'", + "annotation" : [ ] + } + }, + "high" : { + "type" : "ToQuantity", + "localId" : "1416", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1417", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } ], + "operand" : { + "type" : "Literal", + "localId" : "1411", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "3 'm'", + "annotation" : [ ] + } + } + } ] + } + }, { + "localId" : "1429", + "name" : "CollapseDisjointQuantityUnits", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "1429", + "s" : [ { + "value" : [ "", "define ", "CollapseDisjointQuantityUnits", ": " ] + }, { + "r" : "1435", + "s" : [ { + "value" : [ "collapse " ] + }, { + "r" : "1430", + "s" : [ { + "value" : [ "QuantityMeterIntervalList" ] + } ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "1443", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1444", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1445", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } + } + }, + "expression" : { + "type" : "Collapse", + "localId" : "1435", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "1440", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1441", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1442", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } + } + }, + "signature" : [ { + "type" : "ListTypeSpecifier", + "localId" : "1436", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1437", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1438", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } + } + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1439", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "ExpressionRef", + "localId" : "1430", + "name" : "QuantityMeterIntervalList", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "1431", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1432", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1433", "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "968", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "979", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "980", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "981", - "name" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "NamedTypeSpecifier" - } - } - }, - "element" : [ { - "localId" : "975", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "977", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "978", - "name" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "973", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "Date", - "signature" : [ ], - "year" : { - "localId" : "970", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2018", - "type" : "Literal" - }, - "month" : { - "localId" : "971", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "972", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - } - }, - "high" : { - "localId" : "976", - "asType" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "As", - "signature" : [ ], - "operand" : { - "localId" : "974", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - } - } - } ] - }, { - "localId" : "983", - "value" : 1.0, - "unit" : "day", - "type" : "Quantity" - } ] + "annotation" : [ ] + } + } } - }, { - "localId" : "997", - "name" : "NullBoth", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "997", + }, { + "type" : "Null", + "localId" : "1434", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } ] + } + }, { + "localId" : "1448", + "name" : "ExpectedQuantityUnitsCollapse", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "1448", + "s" : [ { + "value" : [ "", "define ", "ExpectedQuantityUnitsCollapse", ": " ] + }, { + "r" : "1449", + "s" : [ { + "value" : [ "{ " ] + }, { + "r" : "1464", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "1455", + "s" : [ { + "value" : [ "ToQuantity", "(" ] + }, { + "r" : "1450", + "s" : [ { + "value" : [ "'1 \\'m\\''" ] + } ] + }, { + "value" : [ ")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "1462", "s" : [ { - "value" : [ "","define ","NullBoth",": " ] + "value" : [ "ToQuantity", "(" ] }, { - "r" : "1009", - "s" : [ { - "value" : [ "expand " ] - }, { - "r" : "998", - "s" : [ { - "value" : [ "{ " ] - }, { - "r" : "1001", - "s" : [ { - "r" : "999", - "value" : [ "Interval[","null",", ","null","]" ] - } ] - }, { - "value" : [ " }" ] - } ] - }, { - "value" : [ " per ","day" ] - } ] - } ] - } - } ], + "r" : "1457", + "s" : [ { + "value" : [ "'3 \\'m\\''" ] + } ] + }, { + "value" : [ ")" ] + } ] + }, { + "value" : [ "]" ] + } ] + }, { + "value" : [ " }" ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "1470", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1471", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1472", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } + } + }, + "expression" : { + "type" : "List", + "localId" : "1449", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "1467", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1468", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1469", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } + } + }, + "element" : [ { + "type" : "Interval", + "localId" : "1464", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], "resultTypeSpecifier" : { - "localId" : "1017", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "1018", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1019", - "name" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "NamedTypeSpecifier" - } - } + "type" : "IntervalTypeSpecifier", + "localId" : "1465", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1466", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } }, - "expression" : { - "localId" : "1009", - "type" : "Expand", - "resultTypeSpecifier" : { - "localId" : "1014", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "1015", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1016", - "name" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "NamedTypeSpecifier" - } - } - }, - "signature" : [ { - "localId" : "1010", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "1011", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1012", - "name" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "NamedTypeSpecifier" - } - } - }, { - "localId" : "1013", + "low" : { + "type" : "ToQuantity", + "localId" : "1455", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1456", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } ], + "operand" : { + "type" : "Literal", + "localId" : "1450", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "1 'm'", + "annotation" : [ ] + } + }, + "high" : { + "type" : "ToQuantity", + "localId" : "1462", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1463", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } ], + "operand" : { + "type" : "Literal", + "localId" : "1457", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "3 'm'", + "annotation" : [ ] + } + } + } ] + } + }, { + "localId" : "1475", + "name" : "CollapseQuantityUnitsWithinPer", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "1475", + "s" : [ { + "value" : [ "", "define ", "CollapseQuantityUnitsWithinPer", ": " ] + }, { + "r" : "1488", + "s" : [ { + "value" : [ "collapse " ] + }, { + "r" : "1476", + "s" : [ { + "value" : [ "QuantityMeterIntervalList" ] + } ] + }, { + "value" : [ " per " ] + }, { + "r" : "1486", + "s" : [ { + "value" : [ "ToQuantity", "(" ] + }, { + "r" : "1481", + "s" : [ { + "value" : [ "'1 \\'cm\\''" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "1496", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1497", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1498", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } + } + }, + "expression" : { + "type" : "Collapse", + "localId" : "1488", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "1493", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1494", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1495", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } + } + }, + "signature" : [ { + "type" : "ListTypeSpecifier", + "localId" : "1489", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1490", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1491", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } + } + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1492", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "ExpressionRef", + "localId" : "1476", + "name" : "QuantityMeterIntervalList", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "1477", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1478", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1479", "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "998", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "1004", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "1005", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1006", - "name" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "NamedTypeSpecifier" - } - } - }, - "element" : [ { - "localId" : "1001", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "1002", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1003", - "name" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "999", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - }, - "high" : { - "localId" : "1000", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - } - } ] - }, { - "localId" : "1008", - "value" : 1.0, - "unit" : "day", - "type" : "Quantity" - } ] + "annotation" : [ ] + } + } } - }, { - "localId" : "1022", - "name" : "MonthDayPer", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "1022", + }, { + "type" : "ToQuantity", + "localId" : "1486", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1487", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } ], + "operand" : { + "type" : "Literal", + "localId" : "1481", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "1 'cm'", + "annotation" : [ ] + } + } ] + } + }, { + "localId" : "1501", + "name" : "CollapseQuantityUnitsNotWithinPer", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "1501", + "s" : [ { + "value" : [ "", "define ", "CollapseQuantityUnitsNotWithinPer", ": " ] + }, { + "r" : "1514", + "s" : [ { + "value" : [ "collapse " ] + }, { + "r" : "1502", + "s" : [ { + "value" : [ "QuantityMeterIntervalList" ] + } ] + }, { + "value" : [ " per " ] + }, { + "r" : "1512", + "s" : [ { + "value" : [ "ToQuantity", "(" ] + }, { + "r" : "1507", "s" : [ { - "value" : [ "","define ","MonthDayPer",": " ] - }, { - "r" : "1040", - "s" : [ { - "value" : [ "expand " ] - }, { - "r" : "1023", - "s" : [ { - "value" : [ "{ " ] - }, { - "r" : "1032", - "s" : [ { - "r" : "1027", - "value" : [ "Interval[","@2018-01",", ","@2018-03","]" ] - } ] - }, { - "value" : [ " }" ] - } ] - }, { - "value" : [ " per ","day" ] - } ] - } ] - } - } ], + "value" : [ "'1 \\'mm\\''" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "1522", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1523", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1524", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } + } + }, + "expression" : { + "type" : "Collapse", + "localId" : "1514", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "1519", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1520", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1521", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } + } + }, + "signature" : [ { + "type" : "ListTypeSpecifier", + "localId" : "1515", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1516", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1517", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } + } + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1518", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "ExpressionRef", + "localId" : "1502", + "name" : "QuantityMeterIntervalList", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "1503", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1504", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1505", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } + } + } + }, { + "type" : "ToQuantity", + "localId" : "1512", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1513", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } ], + "operand" : { + "type" : "Literal", + "localId" : "1507", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "1 'mm'", + "annotation" : [ ] + } + } ] + } + }, { + "localId" : "1527", + "name" : "NullLowIntervalList", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "1527", + "s" : [ { + "value" : [ "// Null test cases\n", "define ", "NullLowIntervalList", ": " ] + }, { + "r" : "1528", + "s" : [ { + "value" : [ "{ " ] + }, { + "r" : "1531", + "s" : [ { + "r" : "1529", + "value" : [ "Interval[", "null", ", ", "4", "]" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "1537", + "s" : [ { + "r" : "1535", + "value" : [ "Interval[", "3", ", ", "5", "]" ] + } ] + }, { + "value" : [ " }" ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "1543", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1544", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1545", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } + }, + "expression" : { + "type" : "List", + "localId" : "1528", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "1540", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1541", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1542", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } + }, + "element" : [ { + "type" : "Interval", + "localId" : "1531", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1533", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1534", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "low" : { + "type" : "As", + "localId" : "1532", + "asType" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Null", + "localId" : "1529", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } + }, + "high" : { + "type" : "Literal", + "localId" : "1530", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "4", + "annotation" : [ ] + } + }, { + "type" : "Interval", + "localId" : "1537", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1538", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1539", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "low" : { + "type" : "Literal", + "localId" : "1535", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "high" : { + "type" : "Literal", + "localId" : "1536", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "5", + "annotation" : [ ] + } + } ] + } + }, { + "localId" : "1548", + "name" : "CollapseNullLowIntervalList", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "1548", + "s" : [ { + "value" : [ "", "define ", "CollapseNullLowIntervalList", ": " ] + }, { + "r" : "1554", + "s" : [ { + "value" : [ "collapse " ] + }, { + "r" : "1549", + "s" : [ { + "value" : [ "NullLowIntervalList" ] + } ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "1562", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1563", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1564", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } + }, + "expression" : { + "type" : "Collapse", + "localId" : "1554", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "1559", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1560", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1561", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } + }, + "signature" : [ { + "type" : "ListTypeSpecifier", + "localId" : "1555", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1556", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1557", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1558", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "ExpressionRef", + "localId" : "1549", + "name" : "NullLowIntervalList", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "1550", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1551", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1552", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } + } + }, { + "type" : "Null", + "localId" : "1553", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } ] + } + }, { + "localId" : "1567", + "name" : "ExpectedNullLowIntervalCollapse", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "1567", + "s" : [ { + "value" : [ "", "define ", "ExpectedNullLowIntervalCollapse", ": " ] + }, { + "r" : "1568", + "s" : [ { + "value" : [ "{ " ] + }, { + "r" : "1571", + "s" : [ { + "r" : "1569", + "value" : [ "Interval[", "null", ", ", "5", "]" ] + } ] + }, { + "value" : [ " }" ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "1578", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1579", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1580", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } + }, + "expression" : { + "type" : "List", + "localId" : "1568", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "1575", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1576", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1577", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } + }, + "element" : [ { + "type" : "Interval", + "localId" : "1571", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1573", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1574", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "low" : { + "type" : "As", + "localId" : "1572", + "asType" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Null", + "localId" : "1569", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } + }, + "high" : { + "type" : "Literal", + "localId" : "1570", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "5", + "annotation" : [ ] + } + } ] + } + }, { + "localId" : "1583", + "name" : "NullHighIntervalList", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "1583", + "s" : [ { + "value" : [ "", "define ", "NullHighIntervalList", ": " ] + }, { + "r" : "1584", + "s" : [ { + "value" : [ "{ " ] + }, { + "r" : "1587", + "s" : [ { + "r" : "1585", + "value" : [ "Interval[", "1", ", ", "4", "]" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "1592", + "s" : [ { + "r" : "1590", + "value" : [ "Interval[", "3", ", ", "null", "]" ] + } ] + }, { + "value" : [ " }" ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "1599", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1600", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1601", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } + }, + "expression" : { + "type" : "List", + "localId" : "1584", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "1596", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1597", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1598", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } + }, + "element" : [ { + "type" : "Interval", + "localId" : "1587", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1588", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1589", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "low" : { + "type" : "Literal", + "localId" : "1585", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "high" : { + "type" : "Literal", + "localId" : "1586", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "4", + "annotation" : [ ] + } + }, { + "type" : "Interval", + "localId" : "1592", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1594", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1595", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "low" : { + "type" : "Literal", + "localId" : "1590", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "high" : { + "type" : "As", + "localId" : "1593", + "asType" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Null", + "localId" : "1591", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } + } + } ] + } + }, { + "localId" : "1604", + "name" : "CollapseNullHighIntervalList", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "1604", + "s" : [ { + "value" : [ "", "define ", "CollapseNullHighIntervalList", ": " ] + }, { + "r" : "1610", + "s" : [ { + "value" : [ "collapse " ] + }, { + "r" : "1605", + "s" : [ { + "value" : [ "NullHighIntervalList" ] + } ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "1618", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1619", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1620", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } + }, + "expression" : { + "type" : "Collapse", + "localId" : "1610", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "1615", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1616", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1617", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } + }, + "signature" : [ { + "type" : "ListTypeSpecifier", + "localId" : "1611", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1612", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1613", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1614", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "ExpressionRef", + "localId" : "1605", + "name" : "NullHighIntervalList", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "1606", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1607", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1608", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } + } + }, { + "type" : "Null", + "localId" : "1609", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } ] + } + }, { + "localId" : "1623", + "name" : "ExpectedNullHighIntervalCollapse", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "1623", + "s" : [ { + "value" : [ "", "define ", "ExpectedNullHighIntervalCollapse", ": " ] + }, { + "r" : "1624", + "s" : [ { + "value" : [ "{ " ] + }, { + "r" : "1627", + "s" : [ { + "r" : "1625", + "value" : [ "Interval[", "1", ", ", "null", "]" ] + } ] + }, { + "value" : [ " }" ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "1634", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1635", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1636", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } + }, + "expression" : { + "type" : "List", + "localId" : "1624", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "1631", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1632", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1633", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } + }, + "element" : [ { + "type" : "Interval", + "localId" : "1627", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1629", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1630", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "low" : { + "type" : "Literal", + "localId" : "1625", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "high" : { + "type" : "As", + "localId" : "1628", + "asType" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Null", + "localId" : "1626", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } + } + } ] + } + }, { + "localId" : "1639", + "name" : "NullInCollapse", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "1639", + "s" : [ { + "value" : [ "", "define ", "NullInCollapse", ": " ] + }, { + "r" : "1654", + "s" : [ { + "value" : [ "collapse " ] + }, { + "r" : "1640", + "s" : [ { + "value" : [ "{ " ] + }, { + "r" : "1643", + "s" : [ { + "r" : "1641", + "value" : [ "Interval[", "1", ",", "3", "]" ] + } ] + }, { + "r" : "1646", + "value" : [ ", ", "null", " }" ] + } ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "1662", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1663", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1664", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } + }, + "expression" : { + "type" : "Collapse", + "localId" : "1654", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "1659", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1660", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1661", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } + }, + "signature" : [ { + "type" : "ListTypeSpecifier", + "localId" : "1655", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1656", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1657", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1658", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "List", + "localId" : "1640", + "annotation" : [ ], "resultTypeSpecifier" : { - "localId" : "1048", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "1049", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1050", - "name" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "NamedTypeSpecifier" - } - } + "type" : "ListTypeSpecifier", + "localId" : "1650", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1651", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1652", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } }, - "expression" : { - "localId" : "1040", - "type" : "Expand", - "resultTypeSpecifier" : { - "localId" : "1045", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "1046", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1047", - "name" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "NamedTypeSpecifier" - } - } - }, - "signature" : [ { - "localId" : "1041", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "1042", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1043", - "name" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "NamedTypeSpecifier" - } - } - }, { - "localId" : "1044", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "1023", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "1035", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "1036", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1037", - "name" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "NamedTypeSpecifier" - } - } - }, - "element" : [ { - "localId" : "1032", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "1033", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1034", - "name" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "1027", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "Date", - "signature" : [ ], - "year" : { - "localId" : "1025", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2018", - "type" : "Literal" - }, - "month" : { - "localId" : "1026", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - } - }, - "high" : { - "localId" : "1031", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "Date", - "signature" : [ ], - "year" : { - "localId" : "1029", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2018", - "type" : "Literal" - }, - "month" : { - "localId" : "1030", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - } - } - } ] - }, { - "localId" : "1039", - "value" : 1.0, - "unit" : "day", - "type" : "Quantity" - } ] - } - }, { - "localId" : "1053", - "name" : "YearMonthPer", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "1053", - "s" : [ { - "value" : [ "","define ","YearMonthPer",": " ] - }, { - "r" : "1069", - "s" : [ { - "value" : [ "expand " ] - }, { - "r" : "1054", - "s" : [ { - "value" : [ "{ " ] - }, { - "r" : "1061", - "s" : [ { - "r" : "1057", - "value" : [ "Interval[","@2016",", ","@2018","]" ] - } ] - }, { - "value" : [ " }" ] - } ] - }, { - "value" : [ " per ","month" ] - } ] - } ] - } - } ], + "element" : [ { + "type" : "Interval", + "localId" : "1643", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1644", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1645", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "low" : { + "type" : "Literal", + "localId" : "1641", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "high" : { + "type" : "Literal", + "localId" : "1642", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + } + }, { + "type" : "As", + "localId" : "1647", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Null", + "localId" : "1646", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + }, + "asTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1648", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1649", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } + } ] + }, { + "type" : "Null", + "localId" : "1653", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } ] + } + }, { + "localId" : "1667", + "name" : "ExpectedResultWithNull", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "1667", + "s" : [ { + "value" : [ "", "define ", "ExpectedResultWithNull", ": " ] + }, { + "r" : "1668", + "s" : [ { + "value" : [ "{ " ] + }, { + "r" : "1671", + "s" : [ { + "r" : "1669", + "value" : [ "Interval[", "1", ",", "3", "]" ] + } ] + }, { + "value" : [ " }" ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "1677", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1678", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1679", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } + }, + "expression" : { + "type" : "List", + "localId" : "1668", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "1674", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1675", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1676", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } + }, + "element" : [ { + "type" : "Interval", + "localId" : "1671", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], "resultTypeSpecifier" : { - "localId" : "1077", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "1078", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1079", - "name" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "NamedTypeSpecifier" - } - } - }, - "expression" : { - "localId" : "1069", - "type" : "Expand", - "resultTypeSpecifier" : { - "localId" : "1074", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "1075", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1076", - "name" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "NamedTypeSpecifier" - } - } - }, - "signature" : [ { - "localId" : "1070", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "1071", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1072", - "name" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "NamedTypeSpecifier" - } - } - }, { - "localId" : "1073", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "1054", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "1064", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "1065", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1066", - "name" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "NamedTypeSpecifier" - } - } - }, - "element" : [ { - "localId" : "1061", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "1062", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1063", - "name" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "1057", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "Date", - "signature" : [ ], - "year" : { - "localId" : "1056", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2016", - "type" : "Literal" - } - }, - "high" : { - "localId" : "1060", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "Date", - "signature" : [ ], - "year" : { - "localId" : "1059", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2018", - "type" : "Literal" - } - } - } ] - }, { - "localId" : "1068", - "value" : 1.0, - "unit" : "month", - "type" : "Quantity" - } ] - } - }, { - "localId" : "1082", - "name" : "YearDayPer", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "1082", - "s" : [ { - "value" : [ "","define ","YearDayPer",": " ] - }, { - "r" : "1098", - "s" : [ { - "value" : [ "expand " ] - }, { - "r" : "1083", - "s" : [ { - "value" : [ "{ " ] - }, { - "r" : "1090", - "s" : [ { - "r" : "1086", - "value" : [ "Interval[","@2016",", ","@2018","]" ] - } ] - }, { - "value" : [ " }" ] - } ] - }, { - "value" : [ " per ","day" ] - } ] - } ] - } - } ], + "type" : "IntervalTypeSpecifier", + "localId" : "1672", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1673", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "low" : { + "type" : "Literal", + "localId" : "1669", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "high" : { + "type" : "Literal", + "localId" : "1670", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + } + } ] + } + }, { + "localId" : "1682", + "name" : "NullCollapse", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "1682", + "s" : [ { + "value" : [ "", "define ", "NullCollapse", ": " ] + }, { + "r" : "1697", + "s" : [ { + "value" : [ "collapse " ] + }, { + "r" : "1683", + "s" : [ { + "r" : "1684", + "value" : [ "null", " as " ] + }, { + "r" : "1685", + "s" : [ { + "value" : [ "List<" ] + }, { + "r" : "1686", + "s" : [ { + "value" : [ "Interval<" ] + }, { + "r" : "1687", + "s" : [ { + "value" : [ "Integer" ] + } ] + }, { + "value" : [ ">" ] + } ] + }, { + "value" : [ ">" ] + } ] + } ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "1705", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1706", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1707", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } + }, + "expression" : { + "type" : "Collapse", + "localId" : "1697", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "1702", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1703", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1704", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } + }, + "signature" : [ { + "type" : "ListTypeSpecifier", + "localId" : "1698", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1699", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1700", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1701", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "As", + "localId" : "1683", + "strict" : false, + "annotation" : [ ], "resultTypeSpecifier" : { - "localId" : "1106", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "1107", + "type" : "ListTypeSpecifier", + "localId" : "1693", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1694", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1695", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } + }, + "signature" : [ ], + "operand" : { + "type" : "Null", + "localId" : "1684", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + }, + "asTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "1685", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "1690", + "annotation" : [ ], + "elementType" : { "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1108", - "name" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "NamedTypeSpecifier" - } - } - }, - "expression" : { - "localId" : "1098", - "type" : "Expand", - "resultTypeSpecifier" : { - "localId" : "1103", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "1104", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1105", - "name" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "NamedTypeSpecifier" - } - } - }, - "signature" : [ { - "localId" : "1099", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "1100", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1101", - "name" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "NamedTypeSpecifier" - } - } - }, { - "localId" : "1102", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "1083", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "1093", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "1094", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1095", - "name" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "NamedTypeSpecifier" - } - } - }, - "element" : [ { - "localId" : "1090", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "1091", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1092", - "name" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "1086", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "Date", - "signature" : [ ], - "year" : { - "localId" : "1085", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2016", - "type" : "Literal" - } - }, - "high" : { - "localId" : "1089", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "Date", - "signature" : [ ], - "year" : { - "localId" : "1088", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2018", - "type" : "Literal" - } - } - } ] - }, { - "localId" : "1097", - "value" : 1.0, - "unit" : "day", - "type" : "Quantity" - } ] + "localId" : "1691", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1692", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } + }, + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1686", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1688", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1689", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1687", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } } - }, { - "localId" : "1111", - "name" : "BadPerMinute", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "1111", - "s" : [ { - "value" : [ "","define ","BadPerMinute",": " ] - }, { - "r" : "1131", - "s" : [ { - "value" : [ "expand " ] - }, { - "r" : "1112", - "s" : [ { - "value" : [ "{ " ] - }, { - "r" : "1123", - "s" : [ { - "r" : "1117", - "value" : [ "Interval[","@2018-01-01",", ","@2018-01-04","]" ] - } ] - }, { - "value" : [ " }" ] - } ] - }, { - "value" : [ " per ","minute" ] - } ] - } ] - } - } ], + }, { + "type" : "Null", + "localId" : "1696", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } ] + } + }, { + "localId" : "1710", + "name" : "NullPerCollapse", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "1710", + "s" : [ { + "value" : [ "", "define ", "NullPerCollapse", ": " ] + }, { + "r" : "1727", + "s" : [ { + "value" : [ "collapse " ] + }, { + "r" : "1711", + "s" : [ { + "value" : [ "{ " ] + }, { + "r" : "1714", + "s" : [ { + "r" : "1712", + "value" : [ "Interval[", "1", ",", "4", "]" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "1719", + "s" : [ { + "r" : "1717", + "value" : [ "Interval[", "4", ",", "7", "]" ] + } ] + }, { + "value" : [ " }" ] + } ] + }, { + "r" : "1726", + "value" : [ " per ", "null" ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "1736", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1737", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1738", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } + }, + "expression" : { + "type" : "Collapse", + "localId" : "1727", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "1733", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1734", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1735", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } + }, + "signature" : [ { + "type" : "ListTypeSpecifier", + "localId" : "1729", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1730", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1731", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1732", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "List", + "localId" : "1711", + "annotation" : [ ], "resultTypeSpecifier" : { - "localId" : "1139", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "1140", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1141", - "name" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "NamedTypeSpecifier" - } - } - }, - "expression" : { - "localId" : "1131", - "type" : "Expand", - "resultTypeSpecifier" : { - "localId" : "1136", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "1137", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1138", - "name" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "NamedTypeSpecifier" - } - } - }, - "signature" : [ { - "localId" : "1132", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "1133", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1134", - "name" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "NamedTypeSpecifier" - } - } - }, { - "localId" : "1135", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "1112", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "1126", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "1127", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1128", - "name" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "NamedTypeSpecifier" - } - } - }, - "element" : [ { - "localId" : "1123", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "1124", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1125", - "name" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "1117", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "Date", - "signature" : [ ], - "year" : { - "localId" : "1114", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2018", - "type" : "Literal" - }, - "month" : { - "localId" : "1115", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "1116", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - } - }, - "high" : { - "localId" : "1122", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "Date", - "signature" : [ ], - "year" : { - "localId" : "1119", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2018", - "type" : "Literal" - }, - "month" : { - "localId" : "1120", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "1121", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "4", - "type" : "Literal" - } - } - } ] - }, { - "localId" : "1130", - "value" : 1.0, - "unit" : "minute", - "type" : "Quantity" - } ] - } - }, { - "localId" : "1144", - "name" : "BadPerGram", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "1144", - "s" : [ { - "value" : [ "","define ","BadPerGram",": " ] - }, { - "r" : "1164", - "s" : [ { - "value" : [ "expand " ] - }, { - "r" : "1145", - "s" : [ { - "value" : [ "{ " ] - }, { - "r" : "1156", - "s" : [ { - "r" : "1150", - "value" : [ "Interval[","@2018-01-01",", ","@2018-01-04","]" ] - } ] - }, { - "value" : [ " }" ] - } ] - }, { - "value" : [ " per " ] - }, { - "r" : "1163", - "s" : [ { - "value" : [ "1 ","'g'" ] - } ] - } ] - } ] - } - } ], + "type" : "ListTypeSpecifier", + "localId" : "1722", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1723", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1724", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } + }, + "element" : [ { + "type" : "Interval", + "localId" : "1714", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1715", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1716", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "low" : { + "type" : "Literal", + "localId" : "1712", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "high" : { + "type" : "Literal", + "localId" : "1713", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "4", + "annotation" : [ ] + } + }, { + "type" : "Interval", + "localId" : "1719", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1720", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1721", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "low" : { + "type" : "Literal", + "localId" : "1717", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "4", + "annotation" : [ ] + }, + "high" : { + "type" : "Literal", + "localId" : "1718", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "7", + "annotation" : [ ] + } + } ] + }, { + "type" : "As", + "localId" : "1728", + "asType" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Null", + "localId" : "1726", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } + } ] + } + }, { + "localId" : "1741", + "name" : "ExpectedResultNullPer", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "1741", + "s" : [ { + "value" : [ "", "define ", "ExpectedResultNullPer", ": " ] + }, { + "r" : "1742", + "s" : [ { + "value" : [ "{ " ] + }, { + "r" : "1745", + "s" : [ { + "r" : "1743", + "value" : [ "Interval[", "1", ",", "7", "]" ] + } ] + }, { + "value" : [ " }" ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "1751", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1752", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1753", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } + }, + "expression" : { + "type" : "List", + "localId" : "1742", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "1748", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1749", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1750", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } + }, + "element" : [ { + "type" : "Interval", + "localId" : "1745", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], "resultTypeSpecifier" : { - "localId" : "1172", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "1173", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1174", - "name" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "NamedTypeSpecifier" - } - } + "type" : "IntervalTypeSpecifier", + "localId" : "1746", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1747", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } }, - "expression" : { - "localId" : "1164", - "type" : "Expand", - "resultTypeSpecifier" : { - "localId" : "1169", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "1170", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1171", - "name" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "NamedTypeSpecifier" - } - } - }, - "signature" : [ { - "localId" : "1165", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "1166", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1167", - "name" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "NamedTypeSpecifier" - } - } - }, { - "localId" : "1168", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "1145", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "1159", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "1160", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1161", - "name" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "NamedTypeSpecifier" - } - } - }, - "element" : [ { - "localId" : "1156", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "1157", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1158", - "name" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "1150", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "Date", - "signature" : [ ], - "year" : { - "localId" : "1147", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2018", - "type" : "Literal" - }, - "month" : { - "localId" : "1148", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "1149", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - } - }, - "high" : { - "localId" : "1155", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "Date", - "signature" : [ ], - "year" : { - "localId" : "1152", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2018", - "type" : "Literal" - }, - "month" : { - "localId" : "1153", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "1154", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "4", - "type" : "Literal" - } - } - } ] - }, { - "localId" : "1163", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "value" : 1, - "unit" : "g", - "type" : "Quantity" - } ] - } - } ] - } - } -} - -/* DateTimeIntervalExpand -library TestSnippet version '1' -using Simple version '1.0.0' -context Patient -define MsPrecPerYear: expand { Interval[@2016-01-01T00:00:00.000+00:00, @2018-01-01T00:00:00.000+00:00] } per year -define MsPrecPerMonth: expand { Interval[@2018-01-01T00:00:00.000+00:00, @2018-03-01T00:00:00.000+00:00] } per month -define MsPrecPerWeek: expand { Interval[@2018-01-01T00:00:00.000+00:00, @2018-01-21T00:00:00.000+00:00] } per week -define MsPrecPerDay: expand { Interval[@2018-01-01T00:00:00.000+00:00, @2018-01-03T00:00:00.000+00:00] } per day -define MsPrecPerHour: expand { Interval[@2018-01-01T01:00:00.000+00:00, @2018-01-01T03:00:00.000+00:00] } per hour -define MsPrecPerMinute: expand { Interval[@2018-01-01T01:00:00.000+00:00, @2018-01-01T01:02:00.000+00:00] } per minute -define MsPrecPerSecond: expand { Interval[@2018-01-01T01:00:00.000+00:00, @2018-01-01T01:00:02.000+00:00] } per second -define MsPrecPerMillisecond: expand { Interval[@2018-01-01T01:00:00.000+00:00, @2018-01-01T01:00:00.001+00:00] } per millisecond - -define SecPrecPerYear: expand { Interval[@2016-01-01T00:00:00+00:00, @2018-01-01T00:00:00+00:00] } per year -define SecPrecPerMonth: expand { Interval[@2018-01-01T00:00:00+00:00, @2018-03-01T00:00:00+00:00] } per month -define SecPrecPerWeek: expand { Interval[@2018-01-01T00:00:00+00:00, @2018-01-21T00:00:00+00:00] } per week -define SecPrecPerDay: expand { Interval[@2018-01-01T00:00:00+00:00, @2018-01-03T00:00:00+00:00] } per day -define SecPrecPerHour: expand { Interval[@2018-01-01T01:00:00+00:00, @2018-01-01T03:00:00+00:00] } per hour -define SecPrecPerMinute: expand { Interval[@2018-01-01T01:00:00+00:00, @2018-01-01T01:02:00+00:00] } per minute -define SecPrecPerSecond: expand { Interval[@2018-01-01T01:00:00+00:00, @2018-01-01T01:00:01+00:00] } per second -define SecPrecPerMillisecond: expand { Interval[@2018-01-01T01:00:00+00:00, @2018-01-01T01:00:00+00:00] } per millisecond - -define MinPrecPerYear: expand { Interval[@2016-01-01T00:00+00:00, @2018-01-01T00:00+00:00] } per year -define MinPrecPerMonth: expand { Interval[@2018-01-01T00:00+00:00, @2018-03-01T00:00+00:00] } per month -define MinPrecPerWeek: expand { Interval[@2018-01-01T00:00+00:00, @2018-01-21T00:00+00:00] } per week -define MinPrecPerDay: expand { Interval[@2018-01-01T00:00+00:00, @2018-01-03T00:00+00:00] } per day -define MinPrecPerHour: expand { Interval[@2018-01-01T01:00+00:00, @2018-01-01T03:00+00:00] } per hour -define MinPrecPerMinute: expand { Interval[@2018-01-01T01:00+00:00, @2018-01-01T01:01+00:00] } per minute -define MinPrecPerSecond: expand { Interval[@2018-01-01T01:00+00:00, @2018-01-01T01:00+00:00] } per second -define MinPrecPerMillisecond: expand { Interval[@2018-01-01T01:00+00:00, @2018-01-01T01:00+00:00] } per millisecond - -define HourPrecPerYear: expand { Interval[@2016-01-01T00+00:00, @2018-01-01T00+00:00] } per year -define HourPrecPerMonth: expand { Interval[@2018-01-01T00+00:00, @2018-03-01T00+00:00] } per month -define HourPrecPerWeek: expand { Interval[@2018-01-01T00+00:00, @2018-01-21T00+00:00] } per week -define HourPrecPerDay: expand { Interval[@2018-01-01T00+00:00, @2018-01-03T00+00:00] } per day -define HourPrecPerHour: expand { Interval[@2018-01-01T01+00:00, @2018-01-01T02+00:00] } per hour -define HourPrecPerMinute: expand { Interval[@2018-01-01T01+00:00, @2018-01-01T01+00:00] } per minute -define HourPrecPerSecond: expand { Interval[@2018-01-01T01+00:00, @2018-01-01T01+00:00] } per second -define HourPrecPerMillisecond: expand { Interval[@2018-01-01T01+00:00, @2018-01-01T01+00:00] } per millisecond - -define DayPrecPerYear: expand { Interval[DateTime(2016,01,01), DateTime(2018,01,01)] } per year -define DayPrecPerMonth: expand { Interval[DateTime(2018,01,01), DateTime(2018,03,01)] } per month -define DayPrecPerWeek: expand { Interval[DateTime(2018,01,01), DateTime(2018,01,14)] } per week -define DayPrecPerDay: expand { Interval[DateTime(2018,01,01), DateTime(2018,01,02)] } per day -define DayPrecPerHour: expand { Interval[DateTime(2018,01,01), DateTime(2018,01,01)] } per hour -define DayPrecPerMinute: expand { Interval[DateTime(2018,01,01), DateTime(2018,01,01)] } per minute -define DayPrecPerSecond: expand { Interval[DateTime(2018,01,01), DateTime(2018,01,01)] } per second -define DayPrecPerMillisecond: expand { Interval[DateTime(2018,01,01), DateTime(2018,01,01)] } per millisecond - -define MonthPrecPerYear: expand { Interval[DateTime(2016,01), DateTime(2018,01)] } per year -define MonthPrecPerMonth: expand { Interval[DateTime(2018,01), DateTime(2018,02)] } per month -define MonthPrecPerWeek: expand { Interval[DateTime(2018,01), DateTime(2018,01)] } per week -define MonthPrecPerDay: expand { Interval[DateTime(2018,01), DateTime(2018,01)] } per day -define MonthPrecPerHour: expand { Interval[DateTime(2018,01), DateTime(2018,01)] } per hour -define MonthPrecPerMinute: expand { Interval[DateTime(2018,01), DateTime(2018,01)] } per minute -define MonthPrecPerSecond: expand { Interval[DateTime(2018,01), DateTime(2018,01)] } per second -define MonthPrecPerMillisecond: expand { Interval[DateTime(2018,01), DateTime(2018,01)] } per millisecond - -define YearPrecPerYear: expand { Interval[DateTime(2016), DateTime(2018)] } per year -define YearPrecPerMonth: expand { Interval[DateTime(2018), DateTime(2018)] } per month -define YearPrecPerWeek: expand { Interval[DateTime(2018), DateTime(2018)] } per week -define YearPrecPerDay: expand { Interval[DateTime(2018), DateTime(2018)] } per day -define YearPrecPerHour: expand { Interval[DateTime(2018), DateTime(2018)] } per hour -define YearPrecPerMinute: expand { Interval[DateTime(2018), DateTime(2018)] } per minute -define YearPrecPerSecond: expand { Interval[DateTime(2018), DateTime(2018)] } per second -define YearPrecPerMillisecond: expand { Interval[DateTime(2018), DateTime(2018)] } per millisecond - -define NullInList: expand { Interval[@2018-01-01T01+00:00, @2018-01-01T01+00:00], null } per hour -define Overlapping: expand { Interval[@2018-01-01T01+00:00, @2018-01-01T03+00:00], Interval[@2018-01-01T02+00:00, @2018-01-01T04+00:00] } per hour -define NonOverlapping: expand { Interval[@2018-01-01T01+00:00, @2018-01-01T02+00:00], Interval[@2018-01-01T05+00:00, @2018-01-01T05+00:00] } per hour - -define NoPerDefaultMS: expand { Interval[@2018-01-01T01:00:00.000+00:00, @2018-01-01T01:00:00.001+00:00] } -define NoPerDefaultSec: expand { Interval[@2018-01-01T01:00:00+00:00, @2018-01-01T01:00:01+00:00] } -define NoPerDefaultMin: expand { Interval[@2018-01-01T01:00+00:00, @2018-01-01T01:01+00:00] } -define NoPerDefaultHour: expand { Interval[@2018-01-01T01+00:00, @2018-01-01T01+00:00] } -define NoPerDefaultDay: expand { Interval[DateTime(2018,01,01), DateTime(2018,01,01)] } -define NoPerDefaultMonth: expand { Interval[DateTime(2018,01), DateTime(2018,01)] } -define NoPerDefaultYear: expand { Interval[DateTime(2018), DateTime(2018)] } - -define OpenStart: expand { Interval(@2018-01-01T01+00:00, @2018-01-03T01+00:00] } per day -define OpenEnd: expand { Interval[@2018-01-01T01+00:00, @2018-01-03T01+00:00) } per day -define OpenBoth: expand { Interval(@2018-01-01T01+00:00, @2018-01-03T01+00:00) } per day - -define MismatchPrecision: expand { Interval[@2012-01-01T12:00+00:00, @2012-01-02T12:00:00+00:00] } per day -define MismatchPrecisionResultLongerThanInput: expand { Interval[@2012-01-01T13:00:00+00:00, @2012-01-02T12:59+00:00] } per day - -define EmptyList: List>{} -define NullOpen: expand { Interval[null, @2018-01-03T01+00:00] } per day -define NullClose: expand { Interval[@2018-01-01T01+00:00, null] } per day -define NullBoth: expand { Interval[null, null] } per day -define BadPerGram: expand { Interval[@2018-01-01T01+00:00, @2018-01-04T01+00:00] } per 1 'g' -*/ - -module.exports['DateTimeIntervalExpand'] = { - "library" : { - "localId" : "0", - "annotation" : [ { - "translatorVersion" : "3.27.0", - "translatorOptions" : "EnableDateRangeOptimization,EnableAnnotations,EnableResultTypes", - "signatureLevel" : "All", - "type" : "CqlToElmInfo" - }, { - "type" : "Annotation", - "s" : { - "r" : "3104", + "low" : { + "type" : "Literal", + "localId" : "1743", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "high" : { + "type" : "Literal", + "localId" : "1744", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "7", + "annotation" : [ ] + } + } ] + } + }, { + "localId" : "1756", + "name" : "DateTime5_NullInterval", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "1756", + "s" : [ { + "value" : [ "", "define ", "DateTime5_NullInterval", ": " ] + }, { + "r" : "1782", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "1773", + "s" : [ { + "r" : "1757", + "value" : [ "DateTime", "(", "2012", ", ", "1", ", ", "5", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "r" : "1781", + "value" : [ ", ", "null", "]" ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1786", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1787", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "expression" : { + "type" : "Interval", + "localId" : "1782", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1784", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1785", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "DateTime", + "localId" : "1773", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1774", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1775", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1776", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1777", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1778", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1779", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1780", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1757", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1758", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "1759", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "5", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "1760", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "1761", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "1762", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "1763", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + }, + "high" : { + "type" : "As", + "localId" : "1783", + "asType" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Null", + "localId" : "1781", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } + } + } + }, { + "localId" : "1790", + "name" : "DateTimeNull_5Interval", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "1790", + "s" : [ { + "value" : [ "", "define ", "DateTimeNull_5Interval", ": " ] + }, { + "r" : "1816", + "s" : [ { + "r" : "1791", + "value" : [ "Interval[", "null", ", " ] + }, { + "r" : "1808", + "s" : [ { + "r" : "1792", + "value" : [ "DateTime", "(", "2012", ", ", "1", ", ", "5", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ "]" ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1820", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1821", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "expression" : { + "type" : "Interval", + "localId" : "1816", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1818", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1819", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "As", + "localId" : "1817", + "asType" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Null", + "localId" : "1791", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "1808", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1809", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1810", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1811", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1812", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1813", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1814", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1815", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1792", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1793", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "1794", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "5", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "1795", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "1796", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "1797", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "1798", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + } + } + }, { + "localId" : "1824", + "name" : "DateTime1_10Interval", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "1824", + "s" : [ { + "value" : [ "", "define ", "DateTime1_10Interval", ": " ] + }, { + "r" : "1873", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "1841", + "s" : [ { + "r" : "1825", + "value" : [ "DateTime", "(", "2012", ", ", "1", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "1865", + "s" : [ { + "r" : "1849", + "value" : [ "DateTime", "(", "2012", ", ", "1", ", ", "10", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ "]" ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1876", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1877", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "expression" : { + "type" : "Interval", + "localId" : "1873", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1874", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1875", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "DateTime", + "localId" : "1841", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1842", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1843", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1844", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1845", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1846", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1847", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1848", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1825", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1826", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "1827", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "1828", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "1829", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "1830", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "1831", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "1865", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1866", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1867", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1868", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1869", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1870", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1871", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1872", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1849", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1850", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "1851", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "10", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "1852", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "1853", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "1854", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "1855", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + } + } + }, { + "localId" : "1880", + "name" : "DateTime9_10Interval", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "1880", + "s" : [ { + "value" : [ "", "define ", "DateTime9_10Interval", ": " ] + }, { + "r" : "1929", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "1897", + "s" : [ { + "r" : "1881", + "value" : [ "DateTime", "(", "2012", ", ", "1", ", ", "9", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "1921", + "s" : [ { + "r" : "1905", + "value" : [ "DateTime", "(", "2012", ", ", "1", ", ", "10", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ "]" ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1932", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1933", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "expression" : { + "type" : "Interval", + "localId" : "1929", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1930", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1931", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "DateTime", + "localId" : "1897", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1898", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1899", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1900", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1901", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1902", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1903", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1904", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1881", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1882", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "1883", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "9", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "1884", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "1885", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "1886", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "1887", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "1921", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1922", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1923", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1924", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1925", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1926", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1927", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1928", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1905", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1906", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "1907", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "10", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "1908", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "1909", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "1910", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "1911", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + } + } + }, { + "localId" : "1936", + "name" : "DateTime1_2Interval", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "1936", "s" : [ { - "value" : [ "","library TestSnippet version '1'" ] - } ] - } - } ], - "identifier" : { - "id" : "TestSnippet", - "version" : "1" - }, - "schemaIdentifier" : { - "id" : "urn:hl7-org:elm", - "version" : "r1" - }, - "usings" : { - "def" : [ { - "localId" : "1", - "localIdentifier" : "System", - "uri" : "urn:hl7-org:elm-types:r1" - }, { - "localId" : "206", - "localIdentifier" : "Simple", - "uri" : "https://github.com/cqframework/cql-execution/simple", - "version" : "1.0.0", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "206", - "s" : [ { - "value" : [ "","using " ] - }, { - "s" : [ { - "value" : [ "Simple" ] - } ] - }, { - "value" : [ " version '1.0.0'" ] - } ] - } - } ] - } ] - }, - "contexts" : { - "def" : [ { - "localId" : "211", - "name" : "Patient" - } ] - }, - "statements" : { - "def" : [ { - "localId" : "209", - "name" : "Patient", - "context" : "Patient", - "expression" : { - "localId" : "210", - "type" : "SingletonFrom", - "signature" : [ ], - "operand" : { - "localId" : "208", - "dataType" : "{https://github.com/cqframework/cql-execution/simple}Patient", - "type" : "Retrieve", - "include" : [ ], - "codeFilter" : [ ], - "dateFilter" : [ ], - "otherFilter" : [ ] - } - } - }, { - "localId" : "214", - "name" : "MsPrecPerYear", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "214", - "s" : [ { - "value" : [ "","define ","MsPrecPerYear",": " ] - }, { - "r" : "242", - "s" : [ { - "value" : [ "expand " ] - }, { - "r" : "215", - "s" : [ { - "value" : [ "{ " ] - }, { - "r" : "234", - "s" : [ { - "r" : "216", - "value" : [ "Interval[","@2016-01-01T00:00:00.000+00:00",", ","@2018-01-01T00:00:00.000+00:00","]" ] - } ] - }, { - "value" : [ " }" ] - } ] - }, { - "value" : [ " per ","year" ] - } ] - } ] - } - } ], + "value" : [ "", "define ", "DateTime1_2Interval", ": " ] + }, { + "r" : "1985", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "1953", + "s" : [ { + "r" : "1937", + "value" : [ "DateTime", "(", "2012", ", ", "1", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "1977", + "s" : [ { + "r" : "1961", + "value" : [ "DateTime", "(", "2012", ", ", "1", ", ", "2", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ "]" ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1988", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1989", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "expression" : { + "type" : "Interval", + "localId" : "1985", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1986", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1987", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "DateTime", + "localId" : "1953", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1954", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1955", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1956", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1957", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1958", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1959", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1960", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1937", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1938", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "1939", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "1940", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "1941", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "1942", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "1943", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "1977", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1978", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1979", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1980", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1981", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1982", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1983", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1984", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1961", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1962", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "1963", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "1964", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "1965", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "1966", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "1967", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + } + } + }, { + "localId" : "1992", + "name" : "DateTimeNullStartCollapse", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "1992", + "s" : [ { + "value" : [ "", "define ", "DateTimeNullStartCollapse", ": " ] + }, { + "r" : "2004", + "s" : [ { + "value" : [ "collapse " ] + }, { + "r" : "1993", + "s" : [ { + "value" : [ "{ " ] + }, { + "r" : "1994", + "s" : [ { + "value" : [ "DateTime1_10Interval" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "1997", + "s" : [ { + "value" : [ "DateTimeNull_5Interval" ] + } ] + }, { + "value" : [ " }" ] + } ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "2012", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "2013", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "2014", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + }, + "expression" : { + "type" : "Collapse", + "localId" : "2004", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "2009", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "2010", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "2011", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + }, + "signature" : [ { + "type" : "ListTypeSpecifier", + "localId" : "2005", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "2006", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "2007", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2008", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "List", + "localId" : "1993", + "annotation" : [ ], "resultTypeSpecifier" : { - "localId" : "250", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "251", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "252", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - }, - "expression" : { - "localId" : "242", - "type" : "Expand", - "resultTypeSpecifier" : { - "localId" : "247", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "248", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "249", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - }, - "signature" : [ { - "localId" : "243", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "244", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "245", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - }, { - "localId" : "246", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "215", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "237", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "238", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "239", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - }, - "element" : [ { - "localId" : "234", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "235", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "236", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "216", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ ], - "year" : { - "localId" : "217", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2016", - "type" : "Literal" - }, - "month" : { - "localId" : "218", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "219", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "220", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "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" - }, - "timezoneOffset" : { - "localId" : "224", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "0.0", - "type" : "Literal" - } - }, - "high" : { - "localId" : "225", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ ], - "year" : { - "localId" : "226", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2018", - "type" : "Literal" - }, - "month" : { - "localId" : "227", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "228", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "229", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "230", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "231", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "232", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "timezoneOffset" : { - "localId" : "233", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "0.0", - "type" : "Literal" - } - } - } ] - }, { - "localId" : "241", - "value" : 1.0, - "unit" : "year", - "type" : "Quantity" - } ] - } - }, { - "localId" : "255", - "name" : "MsPrecPerMonth", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "255", - "s" : [ { - "value" : [ "","define ","MsPrecPerMonth",": " ] - }, { - "r" : "283", - "s" : [ { - "value" : [ "expand " ] - }, { - "r" : "256", - "s" : [ { - "value" : [ "{ " ] - }, { - "r" : "275", - "s" : [ { - "r" : "257", - "value" : [ "Interval[","@2018-01-01T00:00:00.000+00:00",", ","@2018-03-01T00:00:00.000+00:00","]" ] - } ] - }, { - "value" : [ " }" ] - } ] - }, { - "value" : [ " per ","month" ] - } ] - } ] - } - } ], + "type" : "ListTypeSpecifier", + "localId" : "2000", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "2001", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "2002", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + }, + "element" : [ { + "type" : "ExpressionRef", + "localId" : "1994", + "name" : "DateTime1_10Interval", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1995", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1996", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + }, { + "type" : "ExpressionRef", + "localId" : "1997", + "name" : "DateTimeNull_5Interval", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1998", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1999", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + } ] + }, { + "type" : "Null", + "localId" : "2003", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } ] + } + }, { + "localId" : "2017", + "name" : "DateTimeNullStartCollapseExpected", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "2017", + "s" : [ { + "value" : [ "", "define ", "DateTimeNullStartCollapseExpected", ": " ] + }, { + "r" : "2018", + "s" : [ { + "value" : [ "{ " ] + }, { + "r" : "2044", + "s" : [ { + "r" : "2019", + "value" : [ "Interval[", "null", ", " ] + }, { + "r" : "2036", + "s" : [ { + "r" : "2020", + "value" : [ "DateTime", "(", "2012", ", ", "1", ", ", "10", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "value" : [ "]" ] + } ] + }, { + "value" : [ " }" ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "2051", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "2052", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "2053", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + }, + "expression" : { + "type" : "List", + "localId" : "2018", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "2048", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "2049", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "2050", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + }, + "element" : [ { + "type" : "Interval", + "localId" : "2044", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], "resultTypeSpecifier" : { - "localId" : "291", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "292", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "293", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } + "type" : "IntervalTypeSpecifier", + "localId" : "2046", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "2047", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } }, - "expression" : { - "localId" : "283", - "type" : "Expand", - "resultTypeSpecifier" : { - "localId" : "288", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "289", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "290", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - }, - "signature" : [ { - "localId" : "284", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "285", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "286", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - }, { - "localId" : "287", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "256", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "278", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "279", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "280", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - }, - "element" : [ { - "localId" : "275", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "276", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "277", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "257", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ ], - "year" : { - "localId" : "258", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2018", - "type" : "Literal" - }, - "month" : { - "localId" : "259", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "260", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "261", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "262", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "263", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "264", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "timezoneOffset" : { - "localId" : "265", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "0.0", - "type" : "Literal" - } - }, - "high" : { - "localId" : "266", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ ], - "year" : { - "localId" : "267", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2018", - "type" : "Literal" - }, - "month" : { - "localId" : "268", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "269", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "270", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "271", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "272", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "273", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "timezoneOffset" : { - "localId" : "274", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "0.0", - "type" : "Literal" - } - } - } ] - }, { - "localId" : "282", - "value" : 1.0, - "unit" : "month", - "type" : "Quantity" - } ] - } - }, { - "localId" : "296", - "name" : "MsPrecPerWeek", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "296", + "low" : { + "type" : "As", + "localId" : "2045", + "asType" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Null", + "localId" : "2019", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "2036", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "2037", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2038", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2039", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2040", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2041", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2042", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2043", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "2020", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "2021", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "2022", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "10", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "2023", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "2024", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "2025", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "2026", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + } + } ] + } + }, { + "localId" : "2056", + "name" : "DateTimeNullEndCollapse", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "2056", + "s" : [ { + "value" : [ "", "define ", "DateTimeNullEndCollapse", ": " ] + }, { + "r" : "2068", + "s" : [ { + "value" : [ "collapse " ] + }, { + "r" : "2057", + "s" : [ { + "value" : [ "{ " ] + }, { + "r" : "2058", "s" : [ { - "value" : [ "","define ","MsPrecPerWeek",": " ] - }, { - "r" : "324", - "s" : [ { - "value" : [ "expand " ] - }, { - "r" : "297", - "s" : [ { - "value" : [ "{ " ] - }, { - "r" : "316", - "s" : [ { - "r" : "298", - "value" : [ "Interval[","@2018-01-01T00:00:00.000+00:00",", ","@2018-01-21T00:00:00.000+00:00","]" ] - } ] - }, { - "value" : [ " }" ] - } ] - }, { - "value" : [ " per ","week" ] - } ] - } ] - } - } ], + "value" : [ "DateTime1_10Interval" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "2061", + "s" : [ { + "value" : [ "DateTime5_NullInterval" ] + } ] + }, { + "value" : [ " }" ] + } ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "2076", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "2077", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "2078", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + }, + "expression" : { + "type" : "Collapse", + "localId" : "2068", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "2073", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "2074", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "2075", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + }, + "signature" : [ { + "type" : "ListTypeSpecifier", + "localId" : "2069", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "2070", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "2071", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2072", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "List", + "localId" : "2057", + "annotation" : [ ], "resultTypeSpecifier" : { - "localId" : "332", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "333", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "334", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } + "type" : "ListTypeSpecifier", + "localId" : "2064", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "2065", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "2066", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } }, - "expression" : { - "localId" : "324", - "type" : "Expand", - "resultTypeSpecifier" : { - "localId" : "329", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "330", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "331", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - }, - "signature" : [ { - "localId" : "325", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "326", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "327", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - }, { - "localId" : "328", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "297", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "319", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "320", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "321", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - }, - "element" : [ { - "localId" : "316", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "317", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "318", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "298", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ ], - "year" : { - "localId" : "299", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2018", - "type" : "Literal" - }, - "month" : { - "localId" : "300", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "301", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "302", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "303", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "304", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "305", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "timezoneOffset" : { - "localId" : "306", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "0.0", - "type" : "Literal" - } - }, - "high" : { - "localId" : "307", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ ], - "year" : { - "localId" : "308", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2018", - "type" : "Literal" - }, - "month" : { - "localId" : "309", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "310", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "21", - "type" : "Literal" - }, - "hour" : { - "localId" : "311", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "312", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "313", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "314", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "timezoneOffset" : { - "localId" : "315", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "0.0", - "type" : "Literal" - } - } - } ] - }, { - "localId" : "323", - "value" : 1.0, - "unit" : "week", - "type" : "Quantity" - } ] - } - }, { - "localId" : "337", - "name" : "MsPrecPerDay", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "337", - "s" : [ { - "value" : [ "","define ","MsPrecPerDay",": " ] - }, { - "r" : "365", - "s" : [ { - "value" : [ "expand " ] - }, { - "r" : "338", - "s" : [ { - "value" : [ "{ " ] - }, { - "r" : "357", - "s" : [ { - "r" : "339", - "value" : [ "Interval[","@2018-01-01T00:00:00.000+00:00",", ","@2018-01-03T00:00:00.000+00:00","]" ] - } ] - }, { - "value" : [ " }" ] - } ] - }, { - "value" : [ " per ","day" ] - } ] - } ] - } - } ], + "element" : [ { + "type" : "ExpressionRef", + "localId" : "2058", + "name" : "DateTime1_10Interval", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "2059", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "2060", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + }, { + "type" : "ExpressionRef", + "localId" : "2061", + "name" : "DateTime5_NullInterval", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "2062", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "2063", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + } ] + }, { + "type" : "Null", + "localId" : "2067", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } ] + } + }, { + "localId" : "2081", + "name" : "DateTimeNullEndCollapseNoOverlap", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "2081", + "s" : [ { + "value" : [ "", "define ", "DateTimeNullEndCollapseNoOverlap", ": " ] + }, { + "r" : "2093", + "s" : [ { + "value" : [ "collapse " ] + }, { + "r" : "2082", + "s" : [ { + "value" : [ "{ " ] + }, { + "r" : "2083", + "s" : [ { + "value" : [ "DateTime1_2Interval" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "2086", + "s" : [ { + "value" : [ "DateTime5_NullInterval" ] + } ] + }, { + "value" : [ " }" ] + } ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "2101", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "2102", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "2103", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + }, + "expression" : { + "type" : "Collapse", + "localId" : "2093", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "2098", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "2099", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "2100", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + }, + "signature" : [ { + "type" : "ListTypeSpecifier", + "localId" : "2094", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "2095", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "2096", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2097", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "List", + "localId" : "2082", + "annotation" : [ ], "resultTypeSpecifier" : { - "localId" : "373", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "374", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "375", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } + "type" : "ListTypeSpecifier", + "localId" : "2089", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "2090", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "2091", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } }, - "expression" : { - "localId" : "365", - "type" : "Expand", - "resultTypeSpecifier" : { - "localId" : "370", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "371", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "372", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - }, - "signature" : [ { - "localId" : "366", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "367", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "368", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - }, { - "localId" : "369", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "338", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "360", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "361", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "362", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - }, - "element" : [ { - "localId" : "357", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "358", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "359", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "339", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ ], - "year" : { - "localId" : "340", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2018", - "type" : "Literal" - }, - "month" : { - "localId" : "341", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "342", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "343", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "344", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "345", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "346", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "timezoneOffset" : { - "localId" : "347", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "0.0", - "type" : "Literal" - } - }, - "high" : { - "localId" : "348", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ ], - "year" : { - "localId" : "349", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2018", - "type" : "Literal" - }, - "month" : { - "localId" : "350", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "351", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "hour" : { - "localId" : "352", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "353", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "354", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "355", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "timezoneOffset" : { - "localId" : "356", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "0.0", - "type" : "Literal" - } - } - } ] - }, { - "localId" : "364", - "value" : 1.0, - "unit" : "day", - "type" : "Quantity" - } ] - } - }, { - "localId" : "378", - "name" : "MsPrecPerHour", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "378", - "s" : [ { - "value" : [ "","define ","MsPrecPerHour",": " ] - }, { - "r" : "406", - "s" : [ { - "value" : [ "expand " ] - }, { - "r" : "379", - "s" : [ { - "value" : [ "{ " ] - }, { - "r" : "398", - "s" : [ { - "r" : "380", - "value" : [ "Interval[","@2018-01-01T01:00:00.000+00:00",", ","@2018-01-01T03:00:00.000+00:00","]" ] - } ] - }, { - "value" : [ " }" ] - } ] - }, { - "value" : [ " per ","hour" ] - } ] - } ] - } - } ], + "element" : [ { + "type" : "ExpressionRef", + "localId" : "2083", + "name" : "DateTime1_2Interval", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "2084", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "2085", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + }, { + "type" : "ExpressionRef", + "localId" : "2086", + "name" : "DateTime5_NullInterval", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "2087", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "2088", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + } ] + }, { + "type" : "Null", + "localId" : "2092", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } ] + } + }, { + "localId" : "2106", + "name" : "DateTimeNullEndCollapseNoOverlapExpected", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "2106", + "s" : [ { + "value" : [ "", "define ", "DateTimeNullEndCollapseNoOverlapExpected", ": " ] + }, { + "r" : "2107", + "s" : [ { + "value" : [ "{ " ] + }, { + "r" : "2108", + "s" : [ { + "value" : [ "DateTime1_2Interval" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "2111", + "s" : [ { + "value" : [ "DateTime5_NullInterval" ] + } ] + }, { + "value" : [ " }" ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "2117", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "2118", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "2119", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + }, + "expression" : { + "type" : "List", + "localId" : "2107", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "2114", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "2115", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "2116", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + }, + "element" : [ { + "type" : "ExpressionRef", + "localId" : "2108", + "name" : "DateTime1_2Interval", + "annotation" : [ ], "resultTypeSpecifier" : { - "localId" : "414", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "415", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "416", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } + "type" : "IntervalTypeSpecifier", + "localId" : "2109", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "2110", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + }, { + "type" : "ExpressionRef", + "localId" : "2111", + "name" : "DateTime5_NullInterval", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "2112", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "2113", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + } ] + } + }, { + "localId" : "2122", + "name" : "DateTimeNullStartCollapseNoOverlap", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "2122", + "s" : [ { + "value" : [ "", "define ", "DateTimeNullStartCollapseNoOverlap", ": " ] + }, { + "r" : "2134", + "s" : [ { + "value" : [ "collapse " ] + }, { + "r" : "2123", + "s" : [ { + "value" : [ "{ " ] + }, { + "r" : "2124", + "s" : [ { + "value" : [ "DateTime9_10Interval" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "2127", + "s" : [ { + "value" : [ "DateTimeNull_5Interval" ] + } ] + }, { + "value" : [ " }" ] + } ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "2142", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "2143", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "2144", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + }, + "expression" : { + "type" : "Collapse", + "localId" : "2134", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "2139", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "2140", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "2141", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + }, + "signature" : [ { + "type" : "ListTypeSpecifier", + "localId" : "2135", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "2136", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "2137", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2138", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "List", + "localId" : "2123", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "2130", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "2131", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "2132", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } }, - "expression" : { - "localId" : "406", - "type" : "Expand", - "resultTypeSpecifier" : { - "localId" : "411", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "412", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "413", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - }, - "signature" : [ { - "localId" : "407", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "408", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "409", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - }, { - "localId" : "410", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "379", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "401", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "402", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "403", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - }, - "element" : [ { - "localId" : "398", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "399", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "400", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "380", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ ], - "year" : { - "localId" : "381", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2018", - "type" : "Literal" - }, - "month" : { - "localId" : "382", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "383", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "384", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "minute" : { - "localId" : "385", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "386", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "387", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "timezoneOffset" : { - "localId" : "388", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "0.0", - "type" : "Literal" - } - }, - "high" : { - "localId" : "389", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ ], - "year" : { - "localId" : "390", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2018", - "type" : "Literal" - }, - "month" : { - "localId" : "391", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "392", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "393", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "minute" : { - "localId" : "394", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "395", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "396", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "timezoneOffset" : { - "localId" : "397", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "0.0", - "type" : "Literal" - } - } - } ] - }, { - "localId" : "405", - "value" : 1.0, - "unit" : "hour", - "type" : "Quantity" - } ] - } - }, { - "localId" : "419", - "name" : "MsPrecPerMinute", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "419", + "element" : [ { + "type" : "ExpressionRef", + "localId" : "2124", + "name" : "DateTime9_10Interval", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "2125", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "2126", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + }, { + "type" : "ExpressionRef", + "localId" : "2127", + "name" : "DateTimeNull_5Interval", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "2128", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "2129", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + } ] + }, { + "type" : "Null", + "localId" : "2133", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } ] + } + }, { + "localId" : "2147", + "name" : "DateTimeNullStartCollapseNoOverlapExpected", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "2147", + "s" : [ { + "value" : [ "", "define ", "DateTimeNullStartCollapseNoOverlapExpected", ": " ] + }, { + "r" : "2148", + "s" : [ { + "value" : [ "{ " ] + }, { + "r" : "2149", + "s" : [ { + "value" : [ "DateTimeNull_5Interval" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "2152", + "s" : [ { + "value" : [ "DateTime9_10Interval" ] + } ] + }, { + "value" : [ " }" ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "2158", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "2159", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "2160", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + }, + "expression" : { + "type" : "List", + "localId" : "2148", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "2155", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "2156", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "2157", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + }, + "element" : [ { + "type" : "ExpressionRef", + "localId" : "2149", + "name" : "DateTimeNull_5Interval", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "2150", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "2151", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + }, { + "type" : "ExpressionRef", + "localId" : "2152", + "name" : "DateTime9_10Interval", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "2153", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "2154", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + } ] + } + }, { + "localId" : "2163", + "name" : "DateTimeNullEndCollapseExpected", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "2163", + "s" : [ { + "value" : [ "", "define ", "DateTimeNullEndCollapseExpected", ": " ] + }, { + "r" : "2164", + "s" : [ { + "value" : [ "{ " ] + }, { + "r" : "2190", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "2181", + "s" : [ { + "r" : "2165", + "value" : [ "DateTime", "(", "2012", ", ", "1", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ] + } ] + }, { + "r" : "2189", + "value" : [ ", ", "null", "]" ] + } ] + }, { + "value" : [ " }" ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "2197", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "2198", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "2199", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + }, + "expression" : { + "type" : "List", + "localId" : "2164", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "2194", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "2195", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "2196", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + }, + "element" : [ { + "type" : "Interval", + "localId" : "2190", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "2192", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "2193", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "DateTime", + "localId" : "2181", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "2182", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2183", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2184", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2185", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2186", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2187", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2188", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "2165", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "2166", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "2167", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "2168", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "2169", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "2170", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "2171", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + }, + "high" : { + "type" : "As", + "localId" : "2191", + "asType" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Null", + "localId" : "2189", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } + } + } ] + } + }, { + "localId" : "2202", + "name" : "DateTimeNullStartEndCollapse", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "2202", + "s" : [ { + "value" : [ "", "define ", "DateTimeNullStartEndCollapse", ": " ] + }, { + "r" : "2217", + "s" : [ { + "value" : [ "collapse " ] + }, { + "r" : "2203", + "s" : [ { + "value" : [ "{ " ] + }, { + "r" : "2204", "s" : [ { - "value" : [ "","define ","MsPrecPerMinute",": " ] - }, { - "r" : "447", - "s" : [ { - "value" : [ "expand " ] - }, { - "r" : "420", - "s" : [ { - "value" : [ "{ " ] - }, { - "r" : "439", - "s" : [ { - "r" : "421", - "value" : [ "Interval[","@2018-01-01T01:00:00.000+00:00",", ","@2018-01-01T01:02:00.000+00:00","]" ] - } ] - }, { - "value" : [ " }" ] - } ] - }, { - "value" : [ " per ","minute" ] - } ] - } ] - } - } ], + "value" : [ "DateTimeNull_5Interval" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "2207", + "s" : [ { + "value" : [ "DateTime1_10Interval" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "2210", + "s" : [ { + "value" : [ "DateTime5_NullInterval" ] + } ] + }, { + "value" : [ " }" ] + } ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "2225", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "2226", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "2227", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + }, + "expression" : { + "type" : "Collapse", + "localId" : "2217", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "2222", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "2223", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "2224", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + }, + "signature" : [ { + "type" : "ListTypeSpecifier", + "localId" : "2218", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "2219", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "2220", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2221", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "List", + "localId" : "2203", + "annotation" : [ ], "resultTypeSpecifier" : { - "localId" : "455", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "456", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "457", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - }, - "expression" : { - "localId" : "447", - "type" : "Expand", - "resultTypeSpecifier" : { - "localId" : "452", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "453", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "454", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - }, - "signature" : [ { - "localId" : "448", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "449", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "450", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - }, { - "localId" : "451", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "420", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "442", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "443", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "444", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - }, - "element" : [ { - "localId" : "439", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "440", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "441", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "421", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ ], - "year" : { - "localId" : "422", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2018", - "type" : "Literal" - }, - "month" : { - "localId" : "423", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "424", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "425", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "minute" : { - "localId" : "426", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "427", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "428", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "timezoneOffset" : { - "localId" : "429", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "0.0", - "type" : "Literal" - } - }, - "high" : { - "localId" : "430", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ ], - "year" : { - "localId" : "431", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2018", - "type" : "Literal" - }, - "month" : { - "localId" : "432", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "433", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "434", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "minute" : { - "localId" : "435", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal" - }, - "second" : { - "localId" : "436", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "437", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "timezoneOffset" : { - "localId" : "438", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "0.0", - "type" : "Literal" - } - } - } ] - }, { - "localId" : "446", - "value" : 1.0, - "unit" : "minute", - "type" : "Quantity" - } ] - } - }, { - "localId" : "460", - "name" : "MsPrecPerSecond", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "460", - "s" : [ { - "value" : [ "","define ","MsPrecPerSecond",": " ] - }, { - "r" : "488", - "s" : [ { - "value" : [ "expand " ] - }, { - "r" : "461", - "s" : [ { - "value" : [ "{ " ] - }, { - "r" : "480", - "s" : [ { - "r" : "462", - "value" : [ "Interval[","@2018-01-01T01:00:00.000+00:00",", ","@2018-01-01T01:00:02.000+00:00","]" ] - } ] - }, { - "value" : [ " }" ] - } ] - }, { - "value" : [ " per ","second" ] - } ] - } ] - } - } ], + "type" : "ListTypeSpecifier", + "localId" : "2213", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "2214", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "2215", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + }, + "element" : [ { + "type" : "ExpressionRef", + "localId" : "2204", + "name" : "DateTimeNull_5Interval", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "2205", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "2206", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + }, { + "type" : "ExpressionRef", + "localId" : "2207", + "name" : "DateTime1_10Interval", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "2208", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "2209", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + }, { + "type" : "ExpressionRef", + "localId" : "2210", + "name" : "DateTime5_NullInterval", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "2211", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "2212", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + } ] + }, { + "type" : "Null", + "localId" : "2216", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } ] + } + }, { + "localId" : "2230", + "name" : "DateTimeNullStartEndCollapseExpected", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "2230", + "s" : [ { + "value" : [ "", "define ", "DateTimeNullStartEndCollapseExpected", ": " ] + }, { + "r" : "2231", + "s" : [ { + "value" : [ "{ " ] + }, { + "r" : "2234", + "s" : [ { + "r" : "2232", + "value" : [ "Interval[", "null", ", ", "null", "]" ] + } ] + }, { + "value" : [ " }" ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "2240", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "2241", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "2242", + "name" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } + } + }, + "expression" : { + "type" : "List", + "localId" : "2231", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "2237", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "2238", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "2239", + "name" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } + } + }, + "element" : [ { + "type" : "Interval", + "localId" : "2234", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], "resultTypeSpecifier" : { - "localId" : "496", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "497", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "498", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - }, - "expression" : { - "localId" : "488", - "type" : "Expand", - "resultTypeSpecifier" : { - "localId" : "493", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "494", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "495", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - }, - "signature" : [ { - "localId" : "489", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "490", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "491", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - }, { - "localId" : "492", + "type" : "IntervalTypeSpecifier", + "localId" : "2235", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "2236", + "name" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } + }, + "low" : { + "type" : "Null", + "localId" : "2232", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + }, + "high" : { + "type" : "Null", + "localId" : "2233", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } + } ] + } + }, { + "localId" : "2245", + "name" : "QuantityMeterNullLowIntervalList", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "2245", + "s" : [ { + "value" : [ "", "define ", "QuantityMeterNullLowIntervalList", ": " ] + }, { + "r" : "2246", + "s" : [ { + "value" : [ "{ " ] + }, { + "r" : "2255", + "s" : [ { + "r" : "2247", + "value" : [ "Interval[", "null", ", " ] + }, { + "r" : "2253", + "s" : [ { + "value" : [ "ToQuantity", "(" ] + }, { + "r" : "2248", + "s" : [ { + "value" : [ "'1.995 \\'m\\''" ] + } ] + }, { + "value" : [ ")" ] + } ] + }, { + "value" : [ "]" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "2273", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "2264", + "s" : [ { + "value" : [ "ToQuantity", "(" ] + }, { + "r" : "2259", + "s" : [ { + "value" : [ "'2 \\'m\\''" ] + } ] + }, { + "value" : [ ")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "2271", + "s" : [ { + "value" : [ "ToQuantity", "(" ] + }, { + "r" : "2266", + "s" : [ { + "value" : [ "'3 \\'m\\''" ] + } ] + }, { + "value" : [ ")" ] + } ] + }, { + "value" : [ "]" ] + } ] + }, { + "value" : [ " }" ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "2279", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "2280", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "2281", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } + } + }, + "expression" : { + "type" : "List", + "localId" : "2246", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "2276", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "2277", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "2278", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } + } + }, + "element" : [ { + "type" : "Interval", + "localId" : "2255", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "2257", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "2258", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } + }, + "low" : { + "type" : "As", + "localId" : "2256", + "asType" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Null", + "localId" : "2247", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } + }, + "high" : { + "type" : "ToQuantity", + "localId" : "2253", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "2254", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } ], + "operand" : { + "type" : "Literal", + "localId" : "2248", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "1.995 'm'", + "annotation" : [ ] + } + } + }, { + "type" : "Interval", + "localId" : "2273", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "2274", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "2275", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } + }, + "low" : { + "type" : "ToQuantity", + "localId" : "2264", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "2265", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } ], + "operand" : { + "type" : "Literal", + "localId" : "2259", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "2 'm'", + "annotation" : [ ] + } + }, + "high" : { + "type" : "ToQuantity", + "localId" : "2271", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "2272", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } ], + "operand" : { + "type" : "Literal", + "localId" : "2266", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "3 'm'", + "annotation" : [ ] + } + } + } ] + } + }, { + "localId" : "2284", + "name" : "CollapseQuantityNullLowUnitsWithinPer", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "2284", + "s" : [ { + "value" : [ "", "define ", "CollapseQuantityNullLowUnitsWithinPer", ": " ] + }, { + "r" : "2297", + "s" : [ { + "value" : [ "collapse " ] + }, { + "r" : "2285", + "s" : [ { + "value" : [ "QuantityMeterNullLowIntervalList" ] + } ] + }, { + "value" : [ " per " ] + }, { + "r" : "2295", + "s" : [ { + "value" : [ "ToQuantity", "(" ] + }, { + "r" : "2290", + "s" : [ { + "value" : [ "'1 \\'cm\\''" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "2305", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "2306", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "2307", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } + } + }, + "expression" : { + "type" : "Collapse", + "localId" : "2297", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "2302", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "2303", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "2304", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } + } + }, + "signature" : [ { + "type" : "ListTypeSpecifier", + "localId" : "2298", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "2299", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "2300", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } + } + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2301", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "ExpressionRef", + "localId" : "2285", + "name" : "QuantityMeterNullLowIntervalList", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "2286", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "2287", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "2288", "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "461", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "483", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "484", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "485", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - }, - "element" : [ { - "localId" : "480", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "481", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "482", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "462", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ ], - "year" : { - "localId" : "463", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2018", - "type" : "Literal" - }, - "month" : { - "localId" : "464", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "465", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "466", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "minute" : { - "localId" : "467", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "468", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "469", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "timezoneOffset" : { - "localId" : "470", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "0.0", - "type" : "Literal" - } - }, - "high" : { - "localId" : "471", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ ], - "year" : { - "localId" : "472", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2018", - "type" : "Literal" - }, - "month" : { - "localId" : "473", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "474", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "475", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "minute" : { - "localId" : "476", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "477", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "478", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "timezoneOffset" : { - "localId" : "479", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "0.0", - "type" : "Literal" - } - } - } ] - }, { - "localId" : "487", - "value" : 1.0, - "unit" : "second", - "type" : "Quantity" - } ] + "annotation" : [ ] + } + } } - }, { - "localId" : "501", - "name" : "MsPrecPerMillisecond", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "501", - "s" : [ { - "value" : [ "","define ","MsPrecPerMillisecond",": " ] - }, { - "r" : "529", - "s" : [ { - "value" : [ "expand " ] - }, { - "r" : "502", - "s" : [ { - "value" : [ "{ " ] - }, { - "r" : "521", - "s" : [ { - "r" : "503", - "value" : [ "Interval[","@2018-01-01T01:00:00.000+00:00",", ","@2018-01-01T01:00:00.001+00:00","]" ] - } ] - }, { - "value" : [ " }" ] - } ] - }, { - "value" : [ " per ","millisecond" ] - } ] - } ] - } - } ], + }, { + "type" : "ToQuantity", + "localId" : "2295", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "2296", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } ], + "operand" : { + "type" : "Literal", + "localId" : "2290", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "1 'cm'", + "annotation" : [ ] + } + } ] + } + }, { + "localId" : "2310", + "name" : "CollapseQuantityNullLowUnitsWithinPerExpected", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "2310", + "s" : [ { + "value" : [ "", "define ", "CollapseQuantityNullLowUnitsWithinPerExpected", " : " ] + }, { + "r" : "2311", + "s" : [ { + "value" : [ "{ " ] + }, { + "r" : "2320", + "s" : [ { + "r" : "2312", + "value" : [ "Interval[", "null", ", " ] + }, { + "r" : "2318", + "s" : [ { + "value" : [ "ToQuantity", "(" ] + }, { + "r" : "2313", + "s" : [ { + "value" : [ "'3 \\'m\\''" ] + } ] + }, { + "value" : [ ")" ] + } ] + }, { + "value" : [ "]" ] + } ] + }, { + "value" : [ " }" ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "2327", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "2328", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "2329", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } + } + }, + "expression" : { + "type" : "List", + "localId" : "2311", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "2324", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "2325", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "2326", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } + } + }, + "element" : [ { + "type" : "Interval", + "localId" : "2320", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "2322", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "2323", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } + }, + "low" : { + "type" : "As", + "localId" : "2321", + "asType" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Null", + "localId" : "2312", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } + }, + "high" : { + "type" : "ToQuantity", + "localId" : "2318", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "2319", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } ], + "operand" : { + "type" : "Literal", + "localId" : "2313", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "3 'm'", + "annotation" : [ ] + } + } + } ] + } + }, { + "localId" : "2332", + "name" : "QuantityMeterNullHighIntervalList", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "2332", + "s" : [ { + "value" : [ "", "define ", "QuantityMeterNullHighIntervalList", ": " ] + }, { + "r" : "2333", + "s" : [ { + "value" : [ "{ " ] + }, { + "r" : "2348", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "2339", + "s" : [ { + "value" : [ "ToQuantity", "(" ] + }, { + "r" : "2334", + "s" : [ { + "value" : [ "'1 \\'m\\''" ] + } ] + }, { + "value" : [ ")" ] + } ] + }, { + "value" : [ "," ] + }, { + "r" : "2346", + "s" : [ { + "value" : [ "ToQuantity", "(" ] + }, { + "r" : "2341", + "s" : [ { + "value" : [ "'1.995 \\'m\\''" ] + } ] + }, { + "value" : [ ")" ] + } ] + }, { + "value" : [ "]" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "2359", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "2356", + "s" : [ { + "value" : [ "ToQuantity", "(" ] + }, { + "r" : "2351", + "s" : [ { + "value" : [ "'2 \\'m\\''" ] + } ] + }, { + "value" : [ ")" ] + } ] + }, { + "r" : "2358", + "value" : [ ", ", "null", "]" ] + } ] + }, { + "value" : [ " }" ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "2366", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "2367", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "2368", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } + } + }, + "expression" : { + "type" : "List", + "localId" : "2333", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "2363", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "2364", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "2365", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } + } + }, + "element" : [ { + "type" : "Interval", + "localId" : "2348", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], "resultTypeSpecifier" : { - "localId" : "537", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "538", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "539", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } + "type" : "IntervalTypeSpecifier", + "localId" : "2349", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "2350", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } }, - "expression" : { - "localId" : "529", - "type" : "Expand", - "resultTypeSpecifier" : { - "localId" : "534", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "535", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "536", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - }, - "signature" : [ { - "localId" : "530", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "531", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "532", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - }, { - "localId" : "533", + "low" : { + "type" : "ToQuantity", + "localId" : "2339", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "2340", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } ], + "operand" : { + "type" : "Literal", + "localId" : "2334", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "1 'm'", + "annotation" : [ ] + } + }, + "high" : { + "type" : "ToQuantity", + "localId" : "2346", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "2347", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } ], + "operand" : { + "type" : "Literal", + "localId" : "2341", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "1.995 'm'", + "annotation" : [ ] + } + } + }, { + "type" : "Interval", + "localId" : "2359", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "2361", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "2362", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } + }, + "low" : { + "type" : "ToQuantity", + "localId" : "2356", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "2357", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } ], + "operand" : { + "type" : "Literal", + "localId" : "2351", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "2 'm'", + "annotation" : [ ] + } + }, + "high" : { + "type" : "As", + "localId" : "2360", + "asType" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Null", + "localId" : "2358", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } + } + } ] + } + }, { + "localId" : "2371", + "name" : "CollapseQuantityNullHighUnitsWithinPer", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "2371", + "s" : [ { + "value" : [ "", "define ", "CollapseQuantityNullHighUnitsWithinPer", ": " ] + }, { + "r" : "2384", + "s" : [ { + "value" : [ "collapse " ] + }, { + "r" : "2372", + "s" : [ { + "value" : [ "QuantityMeterNullHighIntervalList" ] + } ] + }, { + "value" : [ " per " ] + }, { + "r" : "2382", + "s" : [ { + "value" : [ "ToQuantity", "(" ] + }, { + "r" : "2377", + "s" : [ { + "value" : [ "'1 \\'cm\\''" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "2392", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "2393", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "2394", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } + } + }, + "expression" : { + "type" : "Collapse", + "localId" : "2384", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "2389", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "2390", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "2391", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } + } + }, + "signature" : [ { + "type" : "ListTypeSpecifier", + "localId" : "2385", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "2386", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "2387", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } + } + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2388", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "ExpressionRef", + "localId" : "2372", + "name" : "QuantityMeterNullHighIntervalList", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "2373", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "2374", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "2375", "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "502", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "524", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "525", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "526", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - }, - "element" : [ { - "localId" : "521", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "522", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "523", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "503", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ ], - "year" : { - "localId" : "504", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2018", - "type" : "Literal" - }, - "month" : { - "localId" : "505", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "506", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "507", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "minute" : { - "localId" : "508", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "509", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "510", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "timezoneOffset" : { - "localId" : "511", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "0.0", - "type" : "Literal" - } - }, - "high" : { - "localId" : "512", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ ], - "year" : { - "localId" : "513", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2018", - "type" : "Literal" - }, - "month" : { - "localId" : "514", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "515", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "516", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "minute" : { - "localId" : "517", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "518", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "519", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "timezoneOffset" : { - "localId" : "520", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "0.0", - "type" : "Literal" - } - } - } ] - }, { - "localId" : "528", - "value" : 1.0, - "unit" : "millisecond", - "type" : "Quantity" - } ] + "annotation" : [ ] + } + } } - }, { - "localId" : "542", - "name" : "SecPrecPerYear", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "542", - "s" : [ { - "value" : [ "","define ","SecPrecPerYear",": " ] - }, { - "r" : "568", - "s" : [ { - "value" : [ "expand " ] - }, { - "r" : "543", - "s" : [ { - "value" : [ "{ " ] - }, { - "r" : "560", - "s" : [ { - "r" : "544", - "value" : [ "Interval[","@2016-01-01T00:00:00+00:00",", ","@2018-01-01T00:00:00+00:00","]" ] - } ] - }, { - "value" : [ " }" ] - } ] - }, { - "value" : [ " per ","year" ] - } ] - } ] - } - } ], + }, { + "type" : "ToQuantity", + "localId" : "2382", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "2383", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } ], + "operand" : { + "type" : "Literal", + "localId" : "2377", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "1 'cm'", + "annotation" : [ ] + } + } ] + } + }, { + "localId" : "2397", + "name" : "CollapseQuantityNullHighUnitsWithinPerExpected", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "2397", + "s" : [ { + "value" : [ "", "define ", "CollapseQuantityNullHighUnitsWithinPerExpected", " : " ] + }, { + "r" : "2398", + "s" : [ { + "value" : [ "{ " ] + }, { + "r" : "2407", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "2404", + "s" : [ { + "value" : [ "ToQuantity", "(" ] + }, { + "r" : "2399", + "s" : [ { + "value" : [ "'1 \\'m\\''" ] + } ] + }, { + "value" : [ ")" ] + } ] + }, { + "r" : "2406", + "value" : [ ", ", "null", "]" ] + } ] + }, { + "value" : [ " }" ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "2414", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "2415", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "2416", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } + } + }, + "expression" : { + "type" : "List", + "localId" : "2398", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "2411", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "2412", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "2413", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } + } + }, + "element" : [ { + "type" : "Interval", + "localId" : "2407", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], "resultTypeSpecifier" : { - "localId" : "576", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "577", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "578", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } + "type" : "IntervalTypeSpecifier", + "localId" : "2409", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "2410", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } }, - "expression" : { - "localId" : "568", - "type" : "Expand", - "resultTypeSpecifier" : { - "localId" : "573", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "574", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "575", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - }, - "signature" : [ { - "localId" : "569", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "570", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "571", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - }, { - "localId" : "572", + "low" : { + "type" : "ToQuantity", + "localId" : "2404", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "2405", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } ], + "operand" : { + "type" : "Literal", + "localId" : "2399", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "1 'm'", + "annotation" : [ ] + } + }, + "high" : { + "type" : "As", + "localId" : "2408", + "asType" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Null", + "localId" : "2406", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } + } + } ] + } + }, { + "localId" : "2419", + "name" : "QuantityIntervalListWithNulls", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "2419", + "s" : [ { + "value" : [ "", "define ", "QuantityIntervalListWithNulls", ": " ] + }, { + "r" : "2420", + "s" : [ { + "value" : [ "{ " ] + }, { + "r" : "2433", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "2425", + "s" : [ { + "r" : "2421", + "value" : [ "ToQuantity", "(", "4", ")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "2431", + "s" : [ { + "r" : "2427", + "value" : [ "ToQuantity", "(", "8", ")" ] + } ] + }, { + "value" : [ "]" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "2443", + "s" : [ { + "r" : "2436", + "value" : [ "Interval[", "null", ", " ] + }, { + "r" : "2441", + "s" : [ { + "r" : "2437", + "value" : [ "ToQuantity", "(", "2", ")" ] + } ] + }, { + "value" : [ "]" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "2459", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "2451", + "s" : [ { + "r" : "2447", + "value" : [ "ToQuantity", "(", "1", ")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "2457", + "s" : [ { + "r" : "2453", + "value" : [ "ToQuantity", "(", "4", ")" ] + } ] + }, { + "value" : [ "]" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "2469", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "2466", + "s" : [ { + "r" : "2462", + "value" : [ "ToQuantity", "(", "7", ")" ] + } ] + }, { + "r" : "2468", + "value" : [ ", ", "null", "]" ] + } ] + }, { + "value" : [ " }" ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "2476", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "2477", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "2478", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } + } + }, + "expression" : { + "type" : "List", + "localId" : "2420", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "2473", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "2474", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "2475", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } + } + }, + "element" : [ { + "type" : "Interval", + "localId" : "2433", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "2434", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "2435", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } + }, + "low" : { + "type" : "ToQuantity", + "localId" : "2425", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "2426", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "operand" : { + "type" : "Literal", + "localId" : "2421", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "4", + "annotation" : [ ] + } + }, + "high" : { + "type" : "ToQuantity", + "localId" : "2431", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "2432", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "operand" : { + "type" : "Literal", + "localId" : "2427", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "8", + "annotation" : [ ] + } + } + }, { + "type" : "Interval", + "localId" : "2443", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "2445", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "2446", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } + }, + "low" : { + "type" : "As", + "localId" : "2444", + "asType" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Null", + "localId" : "2436", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } + }, + "high" : { + "type" : "ToQuantity", + "localId" : "2441", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "2442", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "operand" : { + "type" : "Literal", + "localId" : "2437", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "annotation" : [ ] + } + } + }, { + "type" : "Interval", + "localId" : "2459", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "2460", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "2461", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } + }, + "low" : { + "type" : "ToQuantity", + "localId" : "2451", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "2452", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "operand" : { + "type" : "Literal", + "localId" : "2447", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + } + }, + "high" : { + "type" : "ToQuantity", + "localId" : "2457", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "2458", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "operand" : { + "type" : "Literal", + "localId" : "2453", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "4", + "annotation" : [ ] + } + } + }, { + "type" : "Interval", + "localId" : "2469", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "2471", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "2472", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } + }, + "low" : { + "type" : "ToQuantity", + "localId" : "2466", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "2467", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "operand" : { + "type" : "Literal", + "localId" : "2462", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "7", + "annotation" : [ ] + } + }, + "high" : { + "type" : "As", + "localId" : "2470", + "asType" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Null", + "localId" : "2468", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } + } + } ] + } + }, { + "localId" : "2481", + "name" : "CollapseQuantityIntervalListWithNulls", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "2481", + "s" : [ { + "value" : [ "", "define ", "CollapseQuantityIntervalListWithNulls", ": " ] + }, { + "r" : "2487", + "s" : [ { + "value" : [ "collapse " ] + }, { + "r" : "2482", + "s" : [ { + "value" : [ "QuantityIntervalListWithNulls" ] + } ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "2495", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "2496", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "2497", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } + } + }, + "expression" : { + "type" : "Collapse", + "localId" : "2487", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "2492", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "2493", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "2494", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } + } + }, + "signature" : [ { + "type" : "ListTypeSpecifier", + "localId" : "2488", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "2489", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "2490", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } + } + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2491", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "ExpressionRef", + "localId" : "2482", + "name" : "QuantityIntervalListWithNulls", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "2483", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "2484", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "2485", "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "543", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "563", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "564", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "565", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - }, - "element" : [ { - "localId" : "560", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "561", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "562", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "544", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ ], - "year" : { - "localId" : "545", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2016", - "type" : "Literal" - }, - "month" : { - "localId" : "546", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "547", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "548", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "549", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "550", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "timezoneOffset" : { - "localId" : "551", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "0.0", - "type" : "Literal" - } - }, - "high" : { - "localId" : "552", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ ], - "year" : { - "localId" : "553", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2018", - "type" : "Literal" - }, - "month" : { - "localId" : "554", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "555", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "556", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "557", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "558", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "timezoneOffset" : { - "localId" : "559", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "0.0", - "type" : "Literal" - } - } - } ] - }, { - "localId" : "567", - "value" : 1.0, - "unit" : "year", - "type" : "Quantity" - } ] + "annotation" : [ ] + } + } } - }, { - "localId" : "581", - "name" : "SecPrecPerMonth", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "581", - "s" : [ { - "value" : [ "","define ","SecPrecPerMonth",": " ] - }, { - "r" : "607", - "s" : [ { - "value" : [ "expand " ] - }, { - "r" : "582", - "s" : [ { - "value" : [ "{ " ] - }, { - "r" : "599", - "s" : [ { - "r" : "583", - "value" : [ "Interval[","@2018-01-01T00:00:00+00:00",", ","@2018-03-01T00:00:00+00:00","]" ] - } ] - }, { - "value" : [ " }" ] - } ] - }, { - "value" : [ " per ","month" ] - } ] - } ] - } - } ], + }, { + "type" : "Null", + "localId" : "2486", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } ] + } + }, { + "localId" : "2500", + "name" : "CollapseQuantityIntervalListWithNullsExpected", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "2500", + "s" : [ { + "value" : [ "", "define ", "CollapseQuantityIntervalListWithNullsExpected", ": " ] + }, { + "r" : "2501", + "s" : [ { + "value" : [ "{ " ] + }, { + "r" : "2504", + "s" : [ { + "r" : "2502", + "value" : [ "Interval[", "null", ", ", "null", "]" ] + } ] + }, { + "value" : [ " }" ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "2510", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "2511", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "2512", + "name" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } + } + }, + "expression" : { + "type" : "List", + "localId" : "2501", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "2507", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "2508", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "2509", + "name" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } + } + }, + "element" : [ { + "type" : "Interval", + "localId" : "2504", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], "resultTypeSpecifier" : { - "localId" : "615", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "616", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "617", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } + "type" : "IntervalTypeSpecifier", + "localId" : "2505", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "2506", + "name" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } }, - "expression" : { - "localId" : "607", - "type" : "Expand", - "resultTypeSpecifier" : { - "localId" : "612", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "613", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "614", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - }, - "signature" : [ { - "localId" : "608", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "609", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "610", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - }, { - "localId" : "611", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "582", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "602", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "603", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "604", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - }, - "element" : [ { - "localId" : "599", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "600", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "601", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "583", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ ], - "year" : { - "localId" : "584", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2018", - "type" : "Literal" - }, - "month" : { - "localId" : "585", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "586", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "587", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "588", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "589", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "timezoneOffset" : { - "localId" : "590", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "0.0", - "type" : "Literal" - } - }, - "high" : { - "localId" : "591", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ ], - "year" : { - "localId" : "592", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2018", - "type" : "Literal" - }, - "month" : { - "localId" : "593", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "594", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "595", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "596", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "597", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "timezoneOffset" : { - "localId" : "598", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "0.0", - "type" : "Literal" - } - } - } ] - }, { - "localId" : "606", - "value" : 1.0, - "unit" : "month", - "type" : "Quantity" - } ] - } - }, { - "localId" : "620", - "name" : "SecPrecPerWeek", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "620", - "s" : [ { - "value" : [ "","define ","SecPrecPerWeek",": " ] - }, { - "r" : "646", - "s" : [ { - "value" : [ "expand " ] - }, { - "r" : "621", - "s" : [ { - "value" : [ "{ " ] - }, { - "r" : "638", - "s" : [ { - "r" : "622", - "value" : [ "Interval[","@2018-01-01T00:00:00+00:00",", ","@2018-01-21T00:00:00+00:00","]" ] - } ] - }, { - "value" : [ " }" ] - } ] - }, { - "value" : [ " per ","week" ] - } ] - } ] - } - } ], + "low" : { + "type" : "Null", + "localId" : "2502", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + }, + "high" : { + "type" : "Null", + "localId" : "2503", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } + } ] + } + }, { + "localId" : "2515", + "name" : "QuantityIntervalListWithNullLowNoOverlap", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "2515", + "s" : [ { + "value" : [ "", "define ", "QuantityIntervalListWithNullLowNoOverlap", ": " ] + }, { + "r" : "2516", + "s" : [ { + "value" : [ "{ " ] + }, { + "r" : "2529", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "2521", + "s" : [ { + "r" : "2517", + "value" : [ "ToQuantity", "(", "4", ")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "2527", + "s" : [ { + "r" : "2523", + "value" : [ "ToQuantity", "(", "8", ")" ] + } ] + }, { + "value" : [ "]" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "2539", + "s" : [ { + "r" : "2532", + "value" : [ "Interval[", "null", ", " ] + }, { + "r" : "2537", + "s" : [ { + "r" : "2533", + "value" : [ "ToQuantity", "(", "2", ")" ] + } ] + }, { + "value" : [ "]" ] + } ] + }, { + "value" : [ " }" ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "2546", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "2547", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "2548", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } + } + }, + "expression" : { + "type" : "List", + "localId" : "2516", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "2543", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "2544", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "2545", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } + } + }, + "element" : [ { + "type" : "Interval", + "localId" : "2529", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], "resultTypeSpecifier" : { - "localId" : "654", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "655", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "656", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } + "type" : "IntervalTypeSpecifier", + "localId" : "2530", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "2531", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } }, - "expression" : { - "localId" : "646", - "type" : "Expand", - "resultTypeSpecifier" : { - "localId" : "651", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "652", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "653", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - }, - "signature" : [ { - "localId" : "647", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "648", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "649", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - }, { - "localId" : "650", + "low" : { + "type" : "ToQuantity", + "localId" : "2521", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "2522", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "operand" : { + "type" : "Literal", + "localId" : "2517", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "4", + "annotation" : [ ] + } + }, + "high" : { + "type" : "ToQuantity", + "localId" : "2527", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "2528", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "operand" : { + "type" : "Literal", + "localId" : "2523", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "8", + "annotation" : [ ] + } + } + }, { + "type" : "Interval", + "localId" : "2539", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "2541", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "2542", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } + }, + "low" : { + "type" : "As", + "localId" : "2540", + "asType" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Null", + "localId" : "2532", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } + }, + "high" : { + "type" : "ToQuantity", + "localId" : "2537", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "2538", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "operand" : { + "type" : "Literal", + "localId" : "2533", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "annotation" : [ ] + } + } + } ] + } + }, { + "localId" : "2551", + "name" : "CollapseQuantityIntervalListWithNullLowNoOverlap", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "2551", + "s" : [ { + "value" : [ "", "define ", "CollapseQuantityIntervalListWithNullLowNoOverlap", ": " ] + }, { + "r" : "2557", + "s" : [ { + "value" : [ "collapse " ] + }, { + "r" : "2552", + "s" : [ { + "value" : [ "QuantityIntervalListWithNullLowNoOverlap" ] + } ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "2565", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "2566", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "2567", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } + } + }, + "expression" : { + "type" : "Collapse", + "localId" : "2557", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "2562", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "2563", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "2564", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } + } + }, + "signature" : [ { + "type" : "ListTypeSpecifier", + "localId" : "2558", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "2559", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "2560", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } + } + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2561", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "ExpressionRef", + "localId" : "2552", + "name" : "QuantityIntervalListWithNullLowNoOverlap", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "2553", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "2554", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "2555", "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "621", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "641", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "642", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "643", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - }, - "element" : [ { - "localId" : "638", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "639", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "640", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "622", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ ], - "year" : { - "localId" : "623", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2018", - "type" : "Literal" - }, - "month" : { - "localId" : "624", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "625", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "626", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "627", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "628", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "timezoneOffset" : { - "localId" : "629", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "0.0", - "type" : "Literal" - } - }, - "high" : { - "localId" : "630", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ ], - "year" : { - "localId" : "631", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2018", - "type" : "Literal" - }, - "month" : { - "localId" : "632", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "633", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "21", - "type" : "Literal" - }, - "hour" : { - "localId" : "634", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "635", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "636", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "timezoneOffset" : { - "localId" : "637", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "0.0", - "type" : "Literal" - } - } - } ] - }, { - "localId" : "645", - "value" : 1.0, - "unit" : "week", - "type" : "Quantity" - } ] + "annotation" : [ ] + } + } } - }, { - "localId" : "659", - "name" : "SecPrecPerDay", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "659", + }, { + "type" : "Null", + "localId" : "2556", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } ] + } + }, { + "localId" : "2570", + "name" : "CollapseQuantityIntervalListWithNullLowNoOverlapExpected", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "2570", + "s" : [ { + "value" : [ "", "define ", "CollapseQuantityIntervalListWithNullLowNoOverlapExpected", ": " ] + }, { + "r" : "2571", + "s" : [ { + "value" : [ "{ " ] + }, { + "r" : "2579", + "s" : [ { + "r" : "2572", + "value" : [ "Interval[", "null", ", " ] + }, { + "r" : "2577", + "s" : [ { + "r" : "2573", + "value" : [ "ToQuantity", "(", "2", ")" ] + } ] + }, { + "value" : [ "]" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "2595", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "2587", + "s" : [ { + "r" : "2583", + "value" : [ "ToQuantity", "(", "4", ")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "2593", "s" : [ { - "value" : [ "","define ","SecPrecPerDay",": " ] - }, { - "r" : "685", - "s" : [ { - "value" : [ "expand " ] - }, { - "r" : "660", - "s" : [ { - "value" : [ "{ " ] - }, { - "r" : "677", - "s" : [ { - "r" : "661", - "value" : [ "Interval[","@2018-01-01T00:00:00+00:00",", ","@2018-01-03T00:00:00+00:00","]" ] - } ] - }, { - "value" : [ " }" ] - } ] - }, { - "value" : [ " per ","day" ] - } ] - } ] - } - } ], + "r" : "2589", + "value" : [ "ToQuantity", "(", "8", ")" ] + } ] + }, { + "value" : [ "]" ] + } ] + }, { + "value" : [ "}" ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "2601", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "2602", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "2603", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } + } + }, + "expression" : { + "type" : "List", + "localId" : "2571", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "2598", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "2599", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "2600", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } + } + }, + "element" : [ { + "type" : "Interval", + "localId" : "2579", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], "resultTypeSpecifier" : { - "localId" : "693", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "694", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "695", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } + "type" : "IntervalTypeSpecifier", + "localId" : "2581", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "2582", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } }, - "expression" : { - "localId" : "685", - "type" : "Expand", - "resultTypeSpecifier" : { - "localId" : "690", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "691", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "692", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - }, - "signature" : [ { - "localId" : "686", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "687", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "688", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - }, { - "localId" : "689", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "660", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "680", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "681", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "682", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - }, - "element" : [ { - "localId" : "677", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "678", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "679", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "661", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ ], - "year" : { - "localId" : "662", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2018", - "type" : "Literal" - }, - "month" : { - "localId" : "663", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "664", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "665", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "666", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "667", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "timezoneOffset" : { - "localId" : "668", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "0.0", - "type" : "Literal" - } - }, - "high" : { - "localId" : "669", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ ], - "year" : { - "localId" : "670", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2018", - "type" : "Literal" - }, - "month" : { - "localId" : "671", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "672", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "hour" : { - "localId" : "673", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "674", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "675", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "timezoneOffset" : { - "localId" : "676", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "0.0", - "type" : "Literal" - } - } - } ] - }, { - "localId" : "684", - "value" : 1.0, - "unit" : "day", - "type" : "Quantity" - } ] - } - }, { - "localId" : "698", - "name" : "SecPrecPerHour", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "698", - "s" : [ { - "value" : [ "","define ","SecPrecPerHour",": " ] - }, { - "r" : "724", - "s" : [ { - "value" : [ "expand " ] - }, { - "r" : "699", - "s" : [ { - "value" : [ "{ " ] - }, { - "r" : "716", - "s" : [ { - "r" : "700", - "value" : [ "Interval[","@2018-01-01T01:00:00+00:00",", ","@2018-01-01T03:00:00+00:00","]" ] - } ] - }, { - "value" : [ " }" ] - } ] - }, { - "value" : [ " per ","hour" ] - } ] - } ] - } - } ], + "low" : { + "type" : "As", + "localId" : "2580", + "asType" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Null", + "localId" : "2572", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } + }, + "high" : { + "type" : "ToQuantity", + "localId" : "2577", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "2578", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "operand" : { + "type" : "Literal", + "localId" : "2573", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "annotation" : [ ] + } + } + }, { + "type" : "Interval", + "localId" : "2595", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], "resultTypeSpecifier" : { - "localId" : "732", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "733", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "734", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } + "type" : "IntervalTypeSpecifier", + "localId" : "2596", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "2597", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } }, - "expression" : { - "localId" : "724", - "type" : "Expand", - "resultTypeSpecifier" : { - "localId" : "729", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "730", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "731", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - }, - "signature" : [ { - "localId" : "725", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "726", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "727", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - }, { - "localId" : "728", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "699", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "719", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "720", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "721", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - }, - "element" : [ { - "localId" : "716", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "717", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "718", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "700", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ ], - "year" : { - "localId" : "701", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2018", - "type" : "Literal" - }, - "month" : { - "localId" : "702", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "703", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "704", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "minute" : { - "localId" : "705", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "706", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "timezoneOffset" : { - "localId" : "707", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "0.0", - "type" : "Literal" - } - }, - "high" : { - "localId" : "708", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ ], - "year" : { - "localId" : "709", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2018", - "type" : "Literal" - }, - "month" : { - "localId" : "710", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "711", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "712", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "minute" : { - "localId" : "713", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "714", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "timezoneOffset" : { - "localId" : "715", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "0.0", - "type" : "Literal" - } - } - } ] - }, { - "localId" : "723", - "value" : 1.0, - "unit" : "hour", - "type" : "Quantity" - } ] - } - }, { - "localId" : "737", - "name" : "SecPrecPerMinute", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "737", - "s" : [ { - "value" : [ "","define ","SecPrecPerMinute",": " ] - }, { - "r" : "763", - "s" : [ { - "value" : [ "expand " ] - }, { - "r" : "738", - "s" : [ { - "value" : [ "{ " ] - }, { - "r" : "755", - "s" : [ { - "r" : "739", - "value" : [ "Interval[","@2018-01-01T01:00:00+00:00",", ","@2018-01-01T01:02:00+00:00","]" ] - } ] - }, { - "value" : [ " }" ] - } ] - }, { - "value" : [ " per ","minute" ] - } ] - } ] - } - } ], + "low" : { + "type" : "ToQuantity", + "localId" : "2587", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "2588", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "operand" : { + "type" : "Literal", + "localId" : "2583", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "4", + "annotation" : [ ] + } + }, + "high" : { + "type" : "ToQuantity", + "localId" : "2593", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "2594", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "operand" : { + "type" : "Literal", + "localId" : "2589", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "8", + "annotation" : [ ] + } + } + } ] + } + }, { + "localId" : "2606", + "name" : "QuantityIntervalListWithNullHighNoOverlap", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "2606", + "s" : [ { + "value" : [ "", "define ", "QuantityIntervalListWithNullHighNoOverlap", ": " ] + }, { + "r" : "2607", + "s" : [ { + "value" : [ "{ " ] + }, { + "r" : "2615", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "2612", + "s" : [ { + "r" : "2608", + "value" : [ "ToQuantity", "(", "4", ")" ] + } ] + }, { + "r" : "2614", + "value" : [ ", ", "null", "]" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "2631", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "2623", + "s" : [ { + "r" : "2619", + "value" : [ "ToQuantity", "(", "1", ")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "2629", + "s" : [ { + "r" : "2625", + "value" : [ "ToQuantity", "(", "2", ")" ] + } ] + }, { + "value" : [ "]" ] + } ] + }, { + "value" : [ " }" ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "2637", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "2638", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "2639", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } + } + }, + "expression" : { + "type" : "List", + "localId" : "2607", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "2634", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "2635", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "2636", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } + } + }, + "element" : [ { + "type" : "Interval", + "localId" : "2615", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], "resultTypeSpecifier" : { - "localId" : "771", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "772", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "773", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } + "type" : "IntervalTypeSpecifier", + "localId" : "2617", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "2618", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } }, - "expression" : { - "localId" : "763", - "type" : "Expand", - "resultTypeSpecifier" : { - "localId" : "768", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "769", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "770", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - }, - "signature" : [ { - "localId" : "764", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "765", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "766", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - }, { - "localId" : "767", + "low" : { + "type" : "ToQuantity", + "localId" : "2612", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "2613", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "operand" : { + "type" : "Literal", + "localId" : "2608", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "4", + "annotation" : [ ] + } + }, + "high" : { + "type" : "As", + "localId" : "2616", + "asType" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Null", + "localId" : "2614", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } + } + }, { + "type" : "Interval", + "localId" : "2631", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "2632", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "2633", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } + }, + "low" : { + "type" : "ToQuantity", + "localId" : "2623", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "2624", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "operand" : { + "type" : "Literal", + "localId" : "2619", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + } + }, + "high" : { + "type" : "ToQuantity", + "localId" : "2629", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "2630", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "operand" : { + "type" : "Literal", + "localId" : "2625", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "annotation" : [ ] + } + } + } ] + } + }, { + "localId" : "2642", + "name" : "CollapseQuantityIntervalListWithNullHighNoOverlap", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "2642", + "s" : [ { + "value" : [ "", "define ", "CollapseQuantityIntervalListWithNullHighNoOverlap", ": " ] + }, { + "r" : "2648", + "s" : [ { + "value" : [ "collapse " ] + }, { + "r" : "2643", + "s" : [ { + "value" : [ "QuantityIntervalListWithNullHighNoOverlap" ] + } ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "2656", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "2657", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "2658", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } + } + }, + "expression" : { + "type" : "Collapse", + "localId" : "2648", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "2653", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "2654", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "2655", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } + } + }, + "signature" : [ { + "type" : "ListTypeSpecifier", + "localId" : "2649", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "2650", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "2651", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } + } + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2652", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "ExpressionRef", + "localId" : "2643", + "name" : "QuantityIntervalListWithNullHighNoOverlap", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "2644", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "2645", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "2646", "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "738", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "758", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "759", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "760", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - }, - "element" : [ { - "localId" : "755", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "756", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "757", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "739", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ ], - "year" : { - "localId" : "740", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2018", - "type" : "Literal" - }, - "month" : { - "localId" : "741", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "742", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "743", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "minute" : { - "localId" : "744", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "745", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "timezoneOffset" : { - "localId" : "746", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "0.0", - "type" : "Literal" - } - }, - "high" : { - "localId" : "747", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ ], - "year" : { - "localId" : "748", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2018", - "type" : "Literal" - }, - "month" : { - "localId" : "749", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "750", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "751", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "minute" : { - "localId" : "752", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal" - }, - "second" : { - "localId" : "753", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "timezoneOffset" : { - "localId" : "754", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "0.0", - "type" : "Literal" - } - } - } ] - }, { - "localId" : "762", - "value" : 1.0, - "unit" : "minute", - "type" : "Quantity" - } ] + "annotation" : [ ] + } + } } - }, { - "localId" : "776", - "name" : "SecPrecPerSecond", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "776", + }, { + "type" : "Null", + "localId" : "2647", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } ] + } + }, { + "localId" : "2661", + "name" : "CollapseQuantityIntervalListWithNullHighNoOverlapExpected", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "2661", + "s" : [ { + "value" : [ "", "define ", "CollapseQuantityIntervalListWithNullHighNoOverlapExpected", ": " ] + }, { + "r" : "2662", + "s" : [ { + "value" : [ "{ " ] + }, { + "r" : "2675", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "2667", "s" : [ { - "value" : [ "","define ","SecPrecPerSecond",": " ] - }, { - "r" : "802", - "s" : [ { - "value" : [ "expand " ] - }, { - "r" : "777", - "s" : [ { - "value" : [ "{ " ] - }, { - "r" : "794", - "s" : [ { - "r" : "778", - "value" : [ "Interval[","@2018-01-01T01:00:00+00:00",", ","@2018-01-01T01:00:01+00:00","]" ] - } ] - }, { - "value" : [ " }" ] - } ] - }, { - "value" : [ " per ","second" ] - } ] - } ] - } - } ], + "r" : "2663", + "value" : [ "ToQuantity", "(", "1", ")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "2673", + "s" : [ { + "r" : "2669", + "value" : [ "ToQuantity", "(", "2", ")" ] + } ] + }, { + "value" : [ "]" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "2685", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "2682", + "s" : [ { + "r" : "2678", + "value" : [ "ToQuantity", "(", "4", ")" ] + } ] + }, { + "r" : "2684", + "value" : [ ", ", "null", "]" ] + } ] + }, { + "value" : [ "}" ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "2692", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "2693", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "2694", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } + } + }, + "expression" : { + "type" : "List", + "localId" : "2662", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "2689", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "2690", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "2691", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } + } + }, + "element" : [ { + "type" : "Interval", + "localId" : "2675", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "2676", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "2677", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } + }, + "low" : { + "type" : "ToQuantity", + "localId" : "2667", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "2668", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "operand" : { + "type" : "Literal", + "localId" : "2663", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + } + }, + "high" : { + "type" : "ToQuantity", + "localId" : "2673", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "2674", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "operand" : { + "type" : "Literal", + "localId" : "2669", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "annotation" : [ ] + } + } + }, { + "type" : "Interval", + "localId" : "2685", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "2687", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "2688", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } + }, + "low" : { + "type" : "ToQuantity", + "localId" : "2682", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "2683", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "operand" : { + "type" : "Literal", + "localId" : "2678", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "4", + "annotation" : [ ] + } + }, + "high" : { + "type" : "As", + "localId" : "2686", + "asType" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Null", + "localId" : "2684", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } + } + } ] + } + } ] + } + } +} + +/* DateIntervalExpand +library TestSnippet version '1' +using Simple version '1.0.0' +context Patient +define ClosedSinglePerDay: expand { Interval[@2018-01-01, @2018-01-03] } per day +define ClosedSinglePerWeek: expand { Interval[@2018-01-01, @2018-01-21] } per week +define ClosedSinglePerMonth: expand { Interval[@2018-01-01, @2018-03-31] } per month +define ClosedSinglePerMonthTrunc: expand { Interval[@2018-01-01, @2018-04-29] } per month +define ClosedSinglePerYear: expand { Interval[@2016-01-01, @2018-12-31] } per year +define ClosedSinglePerYearTrunc: expand { Interval[@2016-01-01, @2019-12-30] } per year + +define MidBoundariesPerDay: expand { Interval[@2017-12-30, @2018-01-01] } per day +define MidBoundariesPerMonth: expand { Interval[@2017-11-14, @2018-01-18] } per month +define MidBoundariesPerYear: expand { Interval[@2016-04-06, @2018-04-06] } per year + +define NullInList: expand { Interval[@2018-01-01, @2018-01-03], null } per day +define Overlapping: expand { Interval[@2018-01-01, @2018-01-03], Interval[@2018-01-02, @2018-01-04] } per day +define NonOverlapping: expand { Interval[@2018-01-01, @2018-01-03], Interval[@2018-01-08, @2018-01-08] } per day + +define NoPerDefaultDay: expand { Interval[@2018-01-01, @2018-01-03] } +define NoPerDefaultMonth: expand { Interval[@2018-01, @2018-03] } +define NoPerDefaultYear: expand { Interval[@2016, @2018] } +define NoPerDefaultMonthWithMismatch: expand { Interval[@2016, @2018-03] } + +define OpenStart: expand { Interval(@2018-01-01, @2018-01-03] } per day +define OpenEnd: expand { Interval[@2018-01-01, @2018-01-03) } per day +define OpenBoth: expand { Interval(@2018-01-01, @2018-01-03) } per day + +define MismatchPrecision: expand { Interval[@2018-01-01, @2018-03] } per month +define MismatchPrecisionResultLongerThanInput: expand { Interval[@2018-01, @2018-02-28] } per month + +define EmptyList: List>{} +define NullOpen: expand { Interval[null, @2018-01-03] } per day +define NullClose: expand { Interval[@2018-01-01, null] } per day +define NullBoth: expand { Interval[null, null] } per day +define MonthDayPer: expand { Interval[@2018-01, @2018-03] } per day +define YearMonthPer: expand { Interval[@2016, @2018] } per month +define YearDayPer: expand { Interval[@2016, @2018] } per day +define BadPerMinute: expand { Interval[@2018-01-01, @2018-01-04] } per minute +define BadPerGram: expand { Interval[@2018-01-01, @2018-01-04] } per 1 'g' +*/ + +module.exports['DateIntervalExpand'] = { + "library" : { + "localId" : "0", + "annotation" : [ { + "type" : "CqlToElmInfo", + "translatorVersion" : "4.2.0", + "translatorOptions" : "EnableDateRangeOptimization,EnableAnnotations,EnableResultTypes", + "signatureLevel" : "All" + }, { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "1144", + "s" : [ { + "value" : [ "", "library TestSnippet version '1'" ] + } ] + } + } ], + "identifier" : { + "id" : "TestSnippet", + "version" : "1" + }, + "schemaIdentifier" : { + "id" : "urn:hl7-org:elm", + "version" : "r1" + }, + "usings" : { + "def" : [ { + "localId" : "1", + "localIdentifier" : "System", + "uri" : "urn:hl7-org:elm-types:r1", + "annotation" : [ ] + }, { + "localId" : "206", + "localIdentifier" : "Simple", + "uri" : "https://github.com/cqframework/cql-execution/simple", + "version" : "1.0.0", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "206", + "s" : [ { + "value" : [ "", "using " ] + }, { + "s" : [ { + "value" : [ "Simple" ] + } ] + }, { + "value" : [ " version '1.0.0'" ] + } ] + } + } ] + } ] + }, + "contexts" : { + "def" : [ { + "localId" : "211", + "name" : "Patient", + "annotation" : [ ] + } ] + }, + "statements" : { + "def" : [ { + "localId" : "209", + "name" : "Patient", + "context" : "Patient", + "annotation" : [ ], + "expression" : { + "type" : "SingletonFrom", + "localId" : "210", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Retrieve", + "localId" : "208", + "dataType" : "{https://github.com/cqframework/cql-execution/simple}Patient", + "annotation" : [ ], + "include" : [ ], + "codeFilter" : [ ], + "dateFilter" : [ ], + "otherFilter" : [ ] + } + } + }, { + "localId" : "214", + "name" : "ClosedSinglePerDay", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "214", + "s" : [ { + "value" : [ "", "define ", "ClosedSinglePerDay", ": " ] + }, { + "r" : "234", + "s" : [ { + "value" : [ "expand " ] + }, { + "r" : "215", + "s" : [ { + "value" : [ "{ " ] + }, { + "r" : "226", + "s" : [ { + "r" : "220", + "value" : [ "Interval[", "@2018-01-01", ", ", "@2018-01-03", "]" ] + } ] + }, { + "value" : [ " }" ] + } ] + }, { + "value" : [ " per ", "day" ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "242", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "243", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "244", + "name" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ] + } + } + }, + "expression" : { + "type" : "Expand", + "localId" : "234", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "239", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "240", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "241", + "name" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ] + } + } + }, + "signature" : [ { + "type" : "ListTypeSpecifier", + "localId" : "235", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "236", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "237", + "name" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ] + } + } + }, { + "type" : "NamedTypeSpecifier", + "localId" : "238", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "List", + "localId" : "215", + "annotation" : [ ], "resultTypeSpecifier" : { - "localId" : "810", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "811", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "812", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - }, - "expression" : { - "localId" : "802", - "type" : "Expand", - "resultTypeSpecifier" : { - "localId" : "807", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "808", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "809", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - }, - "signature" : [ { - "localId" : "803", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "804", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "805", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - }, { - "localId" : "806", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "777", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "797", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "798", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "799", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - }, - "element" : [ { - "localId" : "794", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "795", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "796", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "778", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ ], - "year" : { - "localId" : "779", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2018", - "type" : "Literal" - }, - "month" : { - "localId" : "780", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "781", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "782", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "minute" : { - "localId" : "783", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "784", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "timezoneOffset" : { - "localId" : "785", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "0.0", - "type" : "Literal" - } - }, - "high" : { - "localId" : "786", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ ], - "year" : { - "localId" : "787", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2018", - "type" : "Literal" - }, - "month" : { - "localId" : "788", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "789", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "790", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "minute" : { - "localId" : "791", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "792", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "timezoneOffset" : { - "localId" : "793", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "0.0", - "type" : "Literal" - } - } - } ] - }, { - "localId" : "801", - "value" : 1.0, - "unit" : "second", - "type" : "Quantity" - } ] - } - }, { - "localId" : "815", - "name" : "SecPrecPerMillisecond", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "815", + "type" : "ListTypeSpecifier", + "localId" : "229", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "230", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "231", + "name" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ] + } + } + }, + "element" : [ { + "type" : "Interval", + "localId" : "226", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "227", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "228", + "name" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ] + } + }, + "low" : { + "type" : "Date", + "localId" : "220", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ], + "signature" : [ ], + "year" : { + "type" : "Literal", + "localId" : "217", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2018", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "218", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "219", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + } + }, + "high" : { + "type" : "Date", + "localId" : "225", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ], + "signature" : [ ], + "year" : { + "type" : "Literal", + "localId" : "222", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2018", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "223", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "224", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + } + } + } ] + }, { + "type" : "Quantity", + "localId" : "233", + "value" : 1.0, + "unit" : "day", + "annotation" : [ ] + } ] + } + }, { + "localId" : "247", + "name" : "ClosedSinglePerWeek", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "247", + "s" : [ { + "value" : [ "", "define ", "ClosedSinglePerWeek", ": " ] + }, { + "r" : "267", + "s" : [ { + "value" : [ "expand " ] + }, { + "r" : "248", + "s" : [ { + "value" : [ "{ " ] + }, { + "r" : "259", "s" : [ { - "value" : [ "","define ","SecPrecPerMillisecond",": " ] - }, { - "r" : "841", - "s" : [ { - "value" : [ "expand " ] - }, { - "r" : "816", - "s" : [ { - "value" : [ "{ " ] - }, { - "r" : "833", - "s" : [ { - "r" : "817", - "value" : [ "Interval[","@2018-01-01T01:00:00+00:00",", ","@2018-01-01T01:00:00+00:00","]" ] - } ] - }, { - "value" : [ " }" ] - } ] - }, { - "value" : [ " per ","millisecond" ] - } ] - } ] - } - } ], + "r" : "253", + "value" : [ "Interval[", "@2018-01-01", ", ", "@2018-01-21", "]" ] + } ] + }, { + "value" : [ " }" ] + } ] + }, { + "value" : [ " per ", "week" ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "275", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "276", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "277", + "name" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ] + } + } + }, + "expression" : { + "type" : "Expand", + "localId" : "267", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "272", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "273", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "274", + "name" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ] + } + } + }, + "signature" : [ { + "type" : "ListTypeSpecifier", + "localId" : "268", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "269", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "270", + "name" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ] + } + } + }, { + "type" : "NamedTypeSpecifier", + "localId" : "271", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "List", + "localId" : "248", + "annotation" : [ ], "resultTypeSpecifier" : { - "localId" : "849", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "850", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "851", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } + "type" : "ListTypeSpecifier", + "localId" : "262", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "263", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "264", + "name" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ] + } + } }, - "expression" : { - "localId" : "841", - "type" : "Expand", - "resultTypeSpecifier" : { - "localId" : "846", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "847", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "848", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - }, - "signature" : [ { - "localId" : "842", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "843", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "844", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - }, { - "localId" : "845", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "816", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "836", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "837", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "838", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - }, - "element" : [ { - "localId" : "833", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "834", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "835", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "817", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ ], - "year" : { - "localId" : "818", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2018", - "type" : "Literal" - }, - "month" : { - "localId" : "819", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "820", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "821", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "minute" : { - "localId" : "822", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "823", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "timezoneOffset" : { - "localId" : "824", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "0.0", - "type" : "Literal" - } - }, - "high" : { - "localId" : "825", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ ], - "year" : { - "localId" : "826", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2018", - "type" : "Literal" - }, - "month" : { - "localId" : "827", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "828", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "829", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "minute" : { - "localId" : "830", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "831", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "timezoneOffset" : { - "localId" : "832", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "0.0", - "type" : "Literal" - } - } - } ] - }, { - "localId" : "840", - "value" : 1.0, - "unit" : "millisecond", - "type" : "Quantity" - } ] - } - }, { - "localId" : "854", - "name" : "MinPrecPerYear", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "854", + "element" : [ { + "type" : "Interval", + "localId" : "259", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "260", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "261", + "name" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ] + } + }, + "low" : { + "type" : "Date", + "localId" : "253", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ], + "signature" : [ ], + "year" : { + "type" : "Literal", + "localId" : "250", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2018", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "251", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "252", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + } + }, + "high" : { + "type" : "Date", + "localId" : "258", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ], + "signature" : [ ], + "year" : { + "type" : "Literal", + "localId" : "255", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2018", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "256", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "257", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "21", + "annotation" : [ ] + } + } + } ] + }, { + "type" : "Quantity", + "localId" : "266", + "value" : 1.0, + "unit" : "week", + "annotation" : [ ] + } ] + } + }, { + "localId" : "280", + "name" : "ClosedSinglePerMonth", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "280", + "s" : [ { + "value" : [ "", "define ", "ClosedSinglePerMonth", ": " ] + }, { + "r" : "300", + "s" : [ { + "value" : [ "expand " ] + }, { + "r" : "281", + "s" : [ { + "value" : [ "{ " ] + }, { + "r" : "292", "s" : [ { - "value" : [ "","define ","MinPrecPerYear",": " ] - }, { - "r" : "878", - "s" : [ { - "value" : [ "expand " ] - }, { - "r" : "855", - "s" : [ { - "value" : [ "{ " ] - }, { - "r" : "870", - "s" : [ { - "r" : "856", - "value" : [ "Interval[","@2016-01-01T00:00+00:00",", ","@2018-01-01T00:00+00:00","]" ] - } ] - }, { - "value" : [ " }" ] - } ] - }, { - "value" : [ " per ","year" ] - } ] - } ] - } - } ], - "resultTypeSpecifier" : { - "localId" : "886", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "887", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "888", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - }, - "expression" : { - "localId" : "878", - "type" : "Expand", - "resultTypeSpecifier" : { - "localId" : "883", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "884", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "885", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - }, - "signature" : [ { - "localId" : "879", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "880", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "881", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - }, { - "localId" : "882", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "855", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "873", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "874", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "875", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - }, - "element" : [ { - "localId" : "870", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "871", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "872", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "856", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ ], - "year" : { - "localId" : "857", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2016", - "type" : "Literal" - }, - "month" : { - "localId" : "858", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "859", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "860", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "861", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "timezoneOffset" : { - "localId" : "862", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "0.0", - "type" : "Literal" - } - }, - "high" : { - "localId" : "863", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ ], - "year" : { - "localId" : "864", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2018", - "type" : "Literal" - }, - "month" : { - "localId" : "865", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "866", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "867", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "868", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "timezoneOffset" : { - "localId" : "869", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "0.0", - "type" : "Literal" - } - } - } ] - }, { - "localId" : "877", - "value" : 1.0, - "unit" : "year", - "type" : "Quantity" - } ] - } - }, { - "localId" : "891", - "name" : "MinPrecPerMonth", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "891", - "s" : [ { - "value" : [ "","define ","MinPrecPerMonth",": " ] - }, { - "r" : "915", - "s" : [ { - "value" : [ "expand " ] - }, { - "r" : "892", - "s" : [ { - "value" : [ "{ " ] - }, { - "r" : "907", - "s" : [ { - "r" : "893", - "value" : [ "Interval[","@2018-01-01T00:00+00:00",", ","@2018-03-01T00:00+00:00","]" ] - } ] - }, { - "value" : [ " }" ] - } ] - }, { - "value" : [ " per ","month" ] - } ] - } ] - } - } ], + "r" : "286", + "value" : [ "Interval[", "@2018-01-01", ", ", "@2018-03-31", "]" ] + } ] + }, { + "value" : [ " }" ] + } ] + }, { + "value" : [ " per ", "month" ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "308", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "309", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "310", + "name" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ] + } + } + }, + "expression" : { + "type" : "Expand", + "localId" : "300", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "305", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "306", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "307", + "name" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ] + } + } + }, + "signature" : [ { + "type" : "ListTypeSpecifier", + "localId" : "301", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "302", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "303", + "name" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ] + } + } + }, { + "type" : "NamedTypeSpecifier", + "localId" : "304", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "List", + "localId" : "281", + "annotation" : [ ], "resultTypeSpecifier" : { - "localId" : "923", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "924", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "925", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - }, - "expression" : { - "localId" : "915", - "type" : "Expand", - "resultTypeSpecifier" : { - "localId" : "920", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "921", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "922", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - }, - "signature" : [ { - "localId" : "916", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "917", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "918", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - }, { - "localId" : "919", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "892", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "910", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "911", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "912", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - }, - "element" : [ { - "localId" : "907", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "908", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "909", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "893", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ ], - "year" : { - "localId" : "894", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2018", - "type" : "Literal" - }, - "month" : { - "localId" : "895", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "896", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "897", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "898", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "timezoneOffset" : { - "localId" : "899", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "0.0", - "type" : "Literal" - } - }, - "high" : { - "localId" : "900", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ ], - "year" : { - "localId" : "901", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2018", - "type" : "Literal" - }, - "month" : { - "localId" : "902", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "903", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "904", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "905", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "timezoneOffset" : { - "localId" : "906", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "0.0", - "type" : "Literal" - } - } - } ] - }, { - "localId" : "914", - "value" : 1.0, - "unit" : "month", - "type" : "Quantity" - } ] - } - }, { - "localId" : "928", - "name" : "MinPrecPerWeek", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "928", - "s" : [ { - "value" : [ "","define ","MinPrecPerWeek",": " ] - }, { - "r" : "952", - "s" : [ { - "value" : [ "expand " ] - }, { - "r" : "929", - "s" : [ { - "value" : [ "{ " ] - }, { - "r" : "944", - "s" : [ { - "r" : "930", - "value" : [ "Interval[","@2018-01-01T00:00+00:00",", ","@2018-01-21T00:00+00:00","]" ] - } ] - }, { - "value" : [ " }" ] - } ] - }, { - "value" : [ " per ","week" ] - } ] - } ] - } - } ], + "type" : "ListTypeSpecifier", + "localId" : "295", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "296", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "297", + "name" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ] + } + } + }, + "element" : [ { + "type" : "Interval", + "localId" : "292", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "293", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "294", + "name" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ] + } + }, + "low" : { + "type" : "Date", + "localId" : "286", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ], + "signature" : [ ], + "year" : { + "type" : "Literal", + "localId" : "283", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2018", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "284", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "285", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + } + }, + "high" : { + "type" : "Date", + "localId" : "291", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ], + "signature" : [ ], + "year" : { + "type" : "Literal", + "localId" : "288", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2018", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "289", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "290", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "31", + "annotation" : [ ] + } + } + } ] + }, { + "type" : "Quantity", + "localId" : "299", + "value" : 1.0, + "unit" : "month", + "annotation" : [ ] + } ] + } + }, { + "localId" : "313", + "name" : "ClosedSinglePerMonthTrunc", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "313", + "s" : [ { + "value" : [ "", "define ", "ClosedSinglePerMonthTrunc", ": " ] + }, { + "r" : "333", + "s" : [ { + "value" : [ "expand " ] + }, { + "r" : "314", + "s" : [ { + "value" : [ "{ " ] + }, { + "r" : "325", + "s" : [ { + "r" : "319", + "value" : [ "Interval[", "@2018-01-01", ", ", "@2018-04-29", "]" ] + } ] + }, { + "value" : [ " }" ] + } ] + }, { + "value" : [ " per ", "month" ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "341", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "342", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "343", + "name" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ] + } + } + }, + "expression" : { + "type" : "Expand", + "localId" : "333", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "338", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "339", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "340", + "name" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ] + } + } + }, + "signature" : [ { + "type" : "ListTypeSpecifier", + "localId" : "334", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "335", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "336", + "name" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ] + } + } + }, { + "type" : "NamedTypeSpecifier", + "localId" : "337", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "List", + "localId" : "314", + "annotation" : [ ], "resultTypeSpecifier" : { - "localId" : "960", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "961", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "962", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - }, - "expression" : { - "localId" : "952", - "type" : "Expand", - "resultTypeSpecifier" : { - "localId" : "957", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "958", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "959", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - }, - "signature" : [ { - "localId" : "953", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "954", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "955", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - }, { - "localId" : "956", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "929", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "947", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "948", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "949", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - }, - "element" : [ { - "localId" : "944", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "945", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "946", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "930", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ ], - "year" : { - "localId" : "931", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2018", - "type" : "Literal" - }, - "month" : { - "localId" : "932", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "933", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "934", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "935", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "timezoneOffset" : { - "localId" : "936", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "0.0", - "type" : "Literal" - } - }, - "high" : { - "localId" : "937", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ ], - "year" : { - "localId" : "938", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2018", - "type" : "Literal" - }, - "month" : { - "localId" : "939", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "940", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "21", - "type" : "Literal" - }, - "hour" : { - "localId" : "941", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "942", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "timezoneOffset" : { - "localId" : "943", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "0.0", - "type" : "Literal" - } - } - } ] - }, { - "localId" : "951", - "value" : 1.0, - "unit" : "week", - "type" : "Quantity" - } ] - } - }, { - "localId" : "965", - "name" : "MinPrecPerDay", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "965", + "type" : "ListTypeSpecifier", + "localId" : "328", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "329", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "330", + "name" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ] + } + } + }, + "element" : [ { + "type" : "Interval", + "localId" : "325", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "326", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "327", + "name" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ] + } + }, + "low" : { + "type" : "Date", + "localId" : "319", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ], + "signature" : [ ], + "year" : { + "type" : "Literal", + "localId" : "316", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2018", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "317", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "318", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + } + }, + "high" : { + "type" : "Date", + "localId" : "324", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ], + "signature" : [ ], + "year" : { + "type" : "Literal", + "localId" : "321", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2018", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "322", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "4", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "323", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "29", + "annotation" : [ ] + } + } + } ] + }, { + "type" : "Quantity", + "localId" : "332", + "value" : 1.0, + "unit" : "month", + "annotation" : [ ] + } ] + } + }, { + "localId" : "346", + "name" : "ClosedSinglePerYear", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "346", + "s" : [ { + "value" : [ "", "define ", "ClosedSinglePerYear", ": " ] + }, { + "r" : "366", + "s" : [ { + "value" : [ "expand " ] + }, { + "r" : "347", + "s" : [ { + "value" : [ "{ " ] + }, { + "r" : "358", "s" : [ { - "value" : [ "","define ","MinPrecPerDay",": " ] - }, { - "r" : "989", - "s" : [ { - "value" : [ "expand " ] - }, { - "r" : "966", - "s" : [ { - "value" : [ "{ " ] - }, { - "r" : "981", - "s" : [ { - "r" : "967", - "value" : [ "Interval[","@2018-01-01T00:00+00:00",", ","@2018-01-03T00:00+00:00","]" ] - } ] - }, { - "value" : [ " }" ] - } ] - }, { - "value" : [ " per ","day" ] - } ] - } ] - } - } ], - "resultTypeSpecifier" : { - "localId" : "997", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "998", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "999", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - }, - "expression" : { - "localId" : "989", - "type" : "Expand", - "resultTypeSpecifier" : { - "localId" : "994", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "995", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "996", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - }, - "signature" : [ { - "localId" : "990", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "991", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "992", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - }, { - "localId" : "993", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "966", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "984", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "985", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "986", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - }, - "element" : [ { - "localId" : "981", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "982", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "983", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "967", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ ], - "year" : { - "localId" : "968", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2018", - "type" : "Literal" - }, - "month" : { - "localId" : "969", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "970", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "971", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "972", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "timezoneOffset" : { - "localId" : "973", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "0.0", - "type" : "Literal" - } - }, - "high" : { - "localId" : "974", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ ], - "year" : { - "localId" : "975", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2018", - "type" : "Literal" - }, - "month" : { - "localId" : "976", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "977", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "hour" : { - "localId" : "978", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "minute" : { - "localId" : "979", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "timezoneOffset" : { - "localId" : "980", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "0.0", - "type" : "Literal" - } - } - } ] - }, { - "localId" : "988", - "value" : 1.0, - "unit" : "day", - "type" : "Quantity" - } ] - } - }, { - "localId" : "1002", - "name" : "MinPrecPerHour", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "1002", - "s" : [ { - "value" : [ "","define ","MinPrecPerHour",": " ] - }, { - "r" : "1026", - "s" : [ { - "value" : [ "expand " ] - }, { - "r" : "1003", - "s" : [ { - "value" : [ "{ " ] - }, { - "r" : "1018", - "s" : [ { - "r" : "1004", - "value" : [ "Interval[","@2018-01-01T01:00+00:00",", ","@2018-01-01T03:00+00:00","]" ] - } ] - }, { - "value" : [ " }" ] - } ] - }, { - "value" : [ " per ","hour" ] - } ] - } ] - } - } ], - "resultTypeSpecifier" : { - "localId" : "1034", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "1035", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1036", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - }, - "expression" : { - "localId" : "1026", - "type" : "Expand", - "resultTypeSpecifier" : { - "localId" : "1031", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "1032", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1033", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - }, - "signature" : [ { - "localId" : "1027", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "1028", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1029", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - }, { - "localId" : "1030", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "1003", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "1021", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "1022", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1023", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - }, - "element" : [ { - "localId" : "1018", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "1019", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1020", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "1004", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ ], - "year" : { - "localId" : "1005", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2018", - "type" : "Literal" - }, - "month" : { - "localId" : "1006", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "1007", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "1008", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "minute" : { - "localId" : "1009", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "timezoneOffset" : { - "localId" : "1010", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "0.0", - "type" : "Literal" - } - }, - "high" : { - "localId" : "1011", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ ], - "year" : { - "localId" : "1012", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2018", - "type" : "Literal" - }, - "month" : { - "localId" : "1013", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "1014", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "1015", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "minute" : { - "localId" : "1016", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "timezoneOffset" : { - "localId" : "1017", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "0.0", - "type" : "Literal" - } - } - } ] - }, { - "localId" : "1025", - "value" : 1.0, - "unit" : "hour", - "type" : "Quantity" - } ] - } - }, { - "localId" : "1039", - "name" : "MinPrecPerMinute", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "1039", - "s" : [ { - "value" : [ "","define ","MinPrecPerMinute",": " ] - }, { - "r" : "1063", - "s" : [ { - "value" : [ "expand " ] - }, { - "r" : "1040", - "s" : [ { - "value" : [ "{ " ] - }, { - "r" : "1055", - "s" : [ { - "r" : "1041", - "value" : [ "Interval[","@2018-01-01T01:00+00:00",", ","@2018-01-01T01:01+00:00","]" ] - } ] - }, { - "value" : [ " }" ] - } ] - }, { - "value" : [ " per ","minute" ] - } ] - } ] - } - } ], + "r" : "352", + "value" : [ "Interval[", "@2016-01-01", ", ", "@2018-12-31", "]" ] + } ] + }, { + "value" : [ " }" ] + } ] + }, { + "value" : [ " per ", "year" ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "374", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "375", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "376", + "name" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ] + } + } + }, + "expression" : { + "type" : "Expand", + "localId" : "366", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "371", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "372", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "373", + "name" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ] + } + } + }, + "signature" : [ { + "type" : "ListTypeSpecifier", + "localId" : "367", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "368", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "369", + "name" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ] + } + } + }, { + "type" : "NamedTypeSpecifier", + "localId" : "370", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "List", + "localId" : "347", + "annotation" : [ ], "resultTypeSpecifier" : { - "localId" : "1071", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "1072", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1073", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - }, - "expression" : { - "localId" : "1063", - "type" : "Expand", - "resultTypeSpecifier" : { - "localId" : "1068", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "1069", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1070", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - }, - "signature" : [ { - "localId" : "1064", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "1065", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1066", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - }, { - "localId" : "1067", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "1040", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "1058", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "1059", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1060", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - }, - "element" : [ { - "localId" : "1055", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "1056", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1057", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "1041", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ ], - "year" : { - "localId" : "1042", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2018", - "type" : "Literal" - }, - "month" : { - "localId" : "1043", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "1044", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "1045", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "minute" : { - "localId" : "1046", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "timezoneOffset" : { - "localId" : "1047", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "0.0", - "type" : "Literal" - } - }, - "high" : { - "localId" : "1048", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ ], - "year" : { - "localId" : "1049", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2018", - "type" : "Literal" - }, - "month" : { - "localId" : "1050", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "1051", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "1052", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "minute" : { - "localId" : "1053", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "timezoneOffset" : { - "localId" : "1054", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "0.0", - "type" : "Literal" - } - } - } ] - }, { - "localId" : "1062", - "value" : 1.0, - "unit" : "minute", - "type" : "Quantity" - } ] - } - }, { - "localId" : "1076", - "name" : "MinPrecPerSecond", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "1076", - "s" : [ { - "value" : [ "","define ","MinPrecPerSecond",": " ] - }, { - "r" : "1100", - "s" : [ { - "value" : [ "expand " ] - }, { - "r" : "1077", - "s" : [ { - "value" : [ "{ " ] - }, { - "r" : "1092", - "s" : [ { - "r" : "1078", - "value" : [ "Interval[","@2018-01-01T01:00+00:00",", ","@2018-01-01T01:00+00:00","]" ] - } ] - }, { - "value" : [ " }" ] - } ] - }, { - "value" : [ " per ","second" ] - } ] - } ] - } - } ], + "type" : "ListTypeSpecifier", + "localId" : "361", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "362", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "363", + "name" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ] + } + } + }, + "element" : [ { + "type" : "Interval", + "localId" : "358", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "359", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "360", + "name" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ] + } + }, + "low" : { + "type" : "Date", + "localId" : "352", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ], + "signature" : [ ], + "year" : { + "type" : "Literal", + "localId" : "349", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2016", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "350", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "351", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + } + }, + "high" : { + "type" : "Date", + "localId" : "357", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ], + "signature" : [ ], + "year" : { + "type" : "Literal", + "localId" : "354", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2018", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "355", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "12", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "356", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "31", + "annotation" : [ ] + } + } + } ] + }, { + "type" : "Quantity", + "localId" : "365", + "value" : 1.0, + "unit" : "year", + "annotation" : [ ] + } ] + } + }, { + "localId" : "379", + "name" : "ClosedSinglePerYearTrunc", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "379", + "s" : [ { + "value" : [ "", "define ", "ClosedSinglePerYearTrunc", ": " ] + }, { + "r" : "399", + "s" : [ { + "value" : [ "expand " ] + }, { + "r" : "380", + "s" : [ { + "value" : [ "{ " ] + }, { + "r" : "391", + "s" : [ { + "r" : "385", + "value" : [ "Interval[", "@2016-01-01", ", ", "@2019-12-30", "]" ] + } ] + }, { + "value" : [ " }" ] + } ] + }, { + "value" : [ " per ", "year" ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "407", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "408", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "409", + "name" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ] + } + } + }, + "expression" : { + "type" : "Expand", + "localId" : "399", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "404", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "405", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "406", + "name" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ] + } + } + }, + "signature" : [ { + "type" : "ListTypeSpecifier", + "localId" : "400", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "401", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "402", + "name" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ] + } + } + }, { + "type" : "NamedTypeSpecifier", + "localId" : "403", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "List", + "localId" : "380", + "annotation" : [ ], "resultTypeSpecifier" : { - "localId" : "1108", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "1109", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1110", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - }, - "expression" : { - "localId" : "1100", - "type" : "Expand", - "resultTypeSpecifier" : { - "localId" : "1105", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "1106", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1107", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - }, - "signature" : [ { - "localId" : "1101", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "1102", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1103", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - }, { - "localId" : "1104", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "1077", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "1095", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "1096", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1097", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - }, - "element" : [ { - "localId" : "1092", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "1093", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1094", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "1078", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ ], - "year" : { - "localId" : "1079", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2018", - "type" : "Literal" - }, - "month" : { - "localId" : "1080", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "1081", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "1082", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "minute" : { - "localId" : "1083", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "timezoneOffset" : { - "localId" : "1084", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "0.0", - "type" : "Literal" - } - }, - "high" : { - "localId" : "1085", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ ], - "year" : { - "localId" : "1086", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2018", - "type" : "Literal" - }, - "month" : { - "localId" : "1087", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "1088", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "1089", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "minute" : { - "localId" : "1090", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "timezoneOffset" : { - "localId" : "1091", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "0.0", - "type" : "Literal" - } - } - } ] - }, { - "localId" : "1099", - "value" : 1.0, - "unit" : "second", - "type" : "Quantity" - } ] - } - }, { - "localId" : "1113", - "name" : "MinPrecPerMillisecond", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "1113", - "s" : [ { - "value" : [ "","define ","MinPrecPerMillisecond",": " ] - }, { - "r" : "1137", - "s" : [ { - "value" : [ "expand " ] - }, { - "r" : "1114", - "s" : [ { - "value" : [ "{ " ] - }, { - "r" : "1129", - "s" : [ { - "r" : "1115", - "value" : [ "Interval[","@2018-01-01T01:00+00:00",", ","@2018-01-01T01:00+00:00","]" ] - } ] - }, { - "value" : [ " }" ] - } ] - }, { - "value" : [ " per ","millisecond" ] - } ] - } ] - } - } ], + "type" : "ListTypeSpecifier", + "localId" : "394", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "395", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "396", + "name" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ] + } + } + }, + "element" : [ { + "type" : "Interval", + "localId" : "391", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "392", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "393", + "name" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ] + } + }, + "low" : { + "type" : "Date", + "localId" : "385", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ], + "signature" : [ ], + "year" : { + "type" : "Literal", + "localId" : "382", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2016", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "383", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "384", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + } + }, + "high" : { + "type" : "Date", + "localId" : "390", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ], + "signature" : [ ], + "year" : { + "type" : "Literal", + "localId" : "387", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2019", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "388", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "12", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "389", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "30", + "annotation" : [ ] + } + } + } ] + }, { + "type" : "Quantity", + "localId" : "398", + "value" : 1.0, + "unit" : "year", + "annotation" : [ ] + } ] + } + }, { + "localId" : "412", + "name" : "MidBoundariesPerDay", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "412", + "s" : [ { + "value" : [ "", "define ", "MidBoundariesPerDay", ": " ] + }, { + "r" : "432", + "s" : [ { + "value" : [ "expand " ] + }, { + "r" : "413", + "s" : [ { + "value" : [ "{ " ] + }, { + "r" : "424", + "s" : [ { + "r" : "418", + "value" : [ "Interval[", "@2017-12-30", ", ", "@2018-01-01", "]" ] + } ] + }, { + "value" : [ " }" ] + } ] + }, { + "value" : [ " per ", "day" ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "440", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "441", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "442", + "name" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ] + } + } + }, + "expression" : { + "type" : "Expand", + "localId" : "432", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "437", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "438", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "439", + "name" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ] + } + } + }, + "signature" : [ { + "type" : "ListTypeSpecifier", + "localId" : "433", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "434", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "435", + "name" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ] + } + } + }, { + "type" : "NamedTypeSpecifier", + "localId" : "436", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "List", + "localId" : "413", + "annotation" : [ ], "resultTypeSpecifier" : { - "localId" : "1145", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "1146", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1147", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - }, - "expression" : { - "localId" : "1137", - "type" : "Expand", - "resultTypeSpecifier" : { - "localId" : "1142", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "1143", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1144", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - }, - "signature" : [ { - "localId" : "1138", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "1139", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1140", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - }, { - "localId" : "1141", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "1114", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "1132", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "1133", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1134", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - }, - "element" : [ { - "localId" : "1129", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "1130", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1131", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "1115", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ ], - "year" : { - "localId" : "1116", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2018", - "type" : "Literal" - }, - "month" : { - "localId" : "1117", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "1118", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "1119", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "minute" : { - "localId" : "1120", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "timezoneOffset" : { - "localId" : "1121", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "0.0", - "type" : "Literal" - } - }, - "high" : { - "localId" : "1122", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ ], - "year" : { - "localId" : "1123", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2018", - "type" : "Literal" - }, - "month" : { - "localId" : "1124", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "1125", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "1126", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "minute" : { - "localId" : "1127", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "timezoneOffset" : { - "localId" : "1128", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "0.0", - "type" : "Literal" - } - } - } ] - }, { - "localId" : "1136", - "value" : 1.0, - "unit" : "millisecond", - "type" : "Quantity" - } ] - } - }, { - "localId" : "1150", - "name" : "HourPrecPerYear", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "1150", - "s" : [ { - "value" : [ "","define ","HourPrecPerYear",": " ] - }, { - "r" : "1172", - "s" : [ { - "value" : [ "expand " ] - }, { - "r" : "1151", - "s" : [ { - "value" : [ "{ " ] - }, { - "r" : "1164", - "s" : [ { - "r" : "1152", - "value" : [ "Interval[","@2016-01-01T00+00:00",", ","@2018-01-01T00+00:00","]" ] - } ] - }, { - "value" : [ " }" ] - } ] - }, { - "value" : [ " per ","year" ] - } ] - } ] - } - } ], + "type" : "ListTypeSpecifier", + "localId" : "427", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "428", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "429", + "name" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ] + } + } + }, + "element" : [ { + "type" : "Interval", + "localId" : "424", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "425", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "426", + "name" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ] + } + }, + "low" : { + "type" : "Date", + "localId" : "418", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ], + "signature" : [ ], + "year" : { + "type" : "Literal", + "localId" : "415", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2017", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "416", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "12", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "417", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "30", + "annotation" : [ ] + } + }, + "high" : { + "type" : "Date", + "localId" : "423", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ], + "signature" : [ ], + "year" : { + "type" : "Literal", + "localId" : "420", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2018", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "421", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "422", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + } + } + } ] + }, { + "type" : "Quantity", + "localId" : "431", + "value" : 1.0, + "unit" : "day", + "annotation" : [ ] + } ] + } + }, { + "localId" : "445", + "name" : "MidBoundariesPerMonth", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "445", + "s" : [ { + "value" : [ "", "define ", "MidBoundariesPerMonth", ": " ] + }, { + "r" : "465", + "s" : [ { + "value" : [ "expand " ] + }, { + "r" : "446", + "s" : [ { + "value" : [ "{ " ] + }, { + "r" : "457", + "s" : [ { + "r" : "451", + "value" : [ "Interval[", "@2017-11-14", ", ", "@2018-01-18", "]" ] + } ] + }, { + "value" : [ " }" ] + } ] + }, { + "value" : [ " per ", "month" ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "473", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "474", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "475", + "name" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ] + } + } + }, + "expression" : { + "type" : "Expand", + "localId" : "465", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "470", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "471", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "472", + "name" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ] + } + } + }, + "signature" : [ { + "type" : "ListTypeSpecifier", + "localId" : "466", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "467", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "468", + "name" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ] + } + } + }, { + "type" : "NamedTypeSpecifier", + "localId" : "469", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "List", + "localId" : "446", + "annotation" : [ ], "resultTypeSpecifier" : { - "localId" : "1180", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "1181", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1182", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - }, - "expression" : { - "localId" : "1172", - "type" : "Expand", - "resultTypeSpecifier" : { - "localId" : "1177", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "1178", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1179", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - }, - "signature" : [ { - "localId" : "1173", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "1174", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1175", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - }, { - "localId" : "1176", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "1151", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "1167", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "1168", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1169", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - }, - "element" : [ { - "localId" : "1164", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "1165", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1166", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "1152", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ ], - "year" : { - "localId" : "1153", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2016", - "type" : "Literal" - }, - "month" : { - "localId" : "1154", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "1155", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "1156", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "timezoneOffset" : { - "localId" : "1157", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "0.0", - "type" : "Literal" - } - }, - "high" : { - "localId" : "1158", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ ], - "year" : { - "localId" : "1159", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2018", - "type" : "Literal" - }, - "month" : { - "localId" : "1160", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "1161", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "1162", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "timezoneOffset" : { - "localId" : "1163", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "0.0", - "type" : "Literal" - } - } - } ] - }, { - "localId" : "1171", - "value" : 1.0, - "unit" : "year", - "type" : "Quantity" - } ] - } - }, { - "localId" : "1185", - "name" : "HourPrecPerMonth", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "1185", - "s" : [ { - "value" : [ "","define ","HourPrecPerMonth",": " ] - }, { - "r" : "1207", - "s" : [ { - "value" : [ "expand " ] - }, { - "r" : "1186", - "s" : [ { - "value" : [ "{ " ] - }, { - "r" : "1199", - "s" : [ { - "r" : "1187", - "value" : [ "Interval[","@2018-01-01T00+00:00",", ","@2018-03-01T00+00:00","]" ] - } ] - }, { - "value" : [ " }" ] - } ] - }, { - "value" : [ " per ","month" ] - } ] - } ] - } - } ], + "type" : "ListTypeSpecifier", + "localId" : "460", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "461", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "462", + "name" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ] + } + } + }, + "element" : [ { + "type" : "Interval", + "localId" : "457", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "458", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "459", + "name" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ] + } + }, + "low" : { + "type" : "Date", + "localId" : "451", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ], + "signature" : [ ], + "year" : { + "type" : "Literal", + "localId" : "448", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2017", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "449", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "11", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "450", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "14", + "annotation" : [ ] + } + }, + "high" : { + "type" : "Date", + "localId" : "456", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ], + "signature" : [ ], + "year" : { + "type" : "Literal", + "localId" : "453", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2018", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "454", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "455", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "18", + "annotation" : [ ] + } + } + } ] + }, { + "type" : "Quantity", + "localId" : "464", + "value" : 1.0, + "unit" : "month", + "annotation" : [ ] + } ] + } + }, { + "localId" : "478", + "name" : "MidBoundariesPerYear", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "478", + "s" : [ { + "value" : [ "", "define ", "MidBoundariesPerYear", ": " ] + }, { + "r" : "498", + "s" : [ { + "value" : [ "expand " ] + }, { + "r" : "479", + "s" : [ { + "value" : [ "{ " ] + }, { + "r" : "490", + "s" : [ { + "r" : "484", + "value" : [ "Interval[", "@2016-04-06", ", ", "@2018-04-06", "]" ] + } ] + }, { + "value" : [ " }" ] + } ] + }, { + "value" : [ " per ", "year" ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "506", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "507", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "508", + "name" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ] + } + } + }, + "expression" : { + "type" : "Expand", + "localId" : "498", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "503", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "504", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "505", + "name" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ] + } + } + }, + "signature" : [ { + "type" : "ListTypeSpecifier", + "localId" : "499", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "500", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "501", + "name" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ] + } + } + }, { + "type" : "NamedTypeSpecifier", + "localId" : "502", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "List", + "localId" : "479", + "annotation" : [ ], "resultTypeSpecifier" : { - "localId" : "1215", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "1216", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1217", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - }, - "expression" : { - "localId" : "1207", - "type" : "Expand", - "resultTypeSpecifier" : { - "localId" : "1212", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "1213", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1214", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - }, - "signature" : [ { - "localId" : "1208", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "1209", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1210", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - }, { - "localId" : "1211", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "1186", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "1202", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "1203", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1204", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - }, - "element" : [ { - "localId" : "1199", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "1200", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1201", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "1187", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ ], - "year" : { - "localId" : "1188", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2018", - "type" : "Literal" - }, - "month" : { - "localId" : "1189", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "1190", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "1191", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "timezoneOffset" : { - "localId" : "1192", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "0.0", - "type" : "Literal" - } - }, - "high" : { - "localId" : "1193", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ ], - "year" : { - "localId" : "1194", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2018", - "type" : "Literal" - }, - "month" : { - "localId" : "1195", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "1196", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "1197", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "timezoneOffset" : { - "localId" : "1198", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "0.0", - "type" : "Literal" - } - } - } ] - }, { - "localId" : "1206", - "value" : 1.0, - "unit" : "month", - "type" : "Quantity" - } ] - } - }, { - "localId" : "1220", - "name" : "HourPrecPerWeek", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "1220", - "s" : [ { - "value" : [ "","define ","HourPrecPerWeek",": " ] - }, { - "r" : "1242", - "s" : [ { - "value" : [ "expand " ] - }, { - "r" : "1221", - "s" : [ { - "value" : [ "{ " ] - }, { - "r" : "1234", - "s" : [ { - "r" : "1222", - "value" : [ "Interval[","@2018-01-01T00+00:00",", ","@2018-01-21T00+00:00","]" ] - } ] - }, { - "value" : [ " }" ] - } ] - }, { - "value" : [ " per ","week" ] - } ] - } ] - } - } ], + "type" : "ListTypeSpecifier", + "localId" : "493", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "494", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "495", + "name" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ] + } + } + }, + "element" : [ { + "type" : "Interval", + "localId" : "490", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "491", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "492", + "name" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ] + } + }, + "low" : { + "type" : "Date", + "localId" : "484", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ], + "signature" : [ ], + "year" : { + "type" : "Literal", + "localId" : "481", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2016", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "482", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "4", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "483", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "6", + "annotation" : [ ] + } + }, + "high" : { + "type" : "Date", + "localId" : "489", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ], + "signature" : [ ], + "year" : { + "type" : "Literal", + "localId" : "486", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2018", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "487", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "4", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "488", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "6", + "annotation" : [ ] + } + } + } ] + }, { + "type" : "Quantity", + "localId" : "497", + "value" : 1.0, + "unit" : "year", + "annotation" : [ ] + } ] + } + }, { + "localId" : "511", + "name" : "NullInList", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "511", + "s" : [ { + "value" : [ "", "define ", "NullInList", ": " ] + }, { + "r" : "535", + "s" : [ { + "value" : [ "expand " ] + }, { + "r" : "512", + "s" : [ { + "value" : [ "{ " ] + }, { + "r" : "523", + "s" : [ { + "r" : "517", + "value" : [ "Interval[", "@2018-01-01", ", ", "@2018-01-03", "]" ] + } ] + }, { + "r" : "526", + "value" : [ ", ", "null", " }" ] + } ] + }, { + "value" : [ " per ", "day" ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "543", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "544", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "545", + "name" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ] + } + } + }, + "expression" : { + "type" : "Expand", + "localId" : "535", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "540", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "541", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "542", + "name" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ] + } + } + }, + "signature" : [ { + "type" : "ListTypeSpecifier", + "localId" : "536", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "537", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "538", + "name" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ] + } + } + }, { + "type" : "NamedTypeSpecifier", + "localId" : "539", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "List", + "localId" : "512", + "annotation" : [ ], "resultTypeSpecifier" : { - "localId" : "1250", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "1251", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1252", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - }, - "expression" : { - "localId" : "1242", - "type" : "Expand", - "resultTypeSpecifier" : { - "localId" : "1247", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "1248", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1249", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - }, - "signature" : [ { - "localId" : "1243", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "1244", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1245", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - }, { - "localId" : "1246", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "1221", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "1237", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "1238", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1239", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - }, - "element" : [ { - "localId" : "1234", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "1235", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1236", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "1222", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ ], - "year" : { - "localId" : "1223", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2018", - "type" : "Literal" - }, - "month" : { - "localId" : "1224", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "1225", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "1226", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "timezoneOffset" : { - "localId" : "1227", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "0.0", - "type" : "Literal" - } - }, - "high" : { - "localId" : "1228", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ ], - "year" : { - "localId" : "1229", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2018", - "type" : "Literal" - }, - "month" : { - "localId" : "1230", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "1231", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "21", - "type" : "Literal" - }, - "hour" : { - "localId" : "1232", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "timezoneOffset" : { - "localId" : "1233", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "0.0", - "type" : "Literal" - } - } - } ] - }, { - "localId" : "1241", - "value" : 1.0, - "unit" : "week", - "type" : "Quantity" - } ] - } - }, { - "localId" : "1255", - "name" : "HourPrecPerDay", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "1255", + "type" : "ListTypeSpecifier", + "localId" : "530", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "531", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "532", + "name" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ] + } + } + }, + "element" : [ { + "type" : "Interval", + "localId" : "523", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "524", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "525", + "name" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ] + } + }, + "low" : { + "type" : "Date", + "localId" : "517", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ], + "signature" : [ ], + "year" : { + "type" : "Literal", + "localId" : "514", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2018", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "515", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "516", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + } + }, + "high" : { + "type" : "Date", + "localId" : "522", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ], + "signature" : [ ], + "year" : { + "type" : "Literal", + "localId" : "519", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2018", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "520", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "521", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + } + } + }, { + "type" : "As", + "localId" : "527", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Null", + "localId" : "526", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + }, + "asTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "528", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "529", + "name" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ] + } + } + } ] + }, { + "type" : "Quantity", + "localId" : "534", + "value" : 1.0, + "unit" : "day", + "annotation" : [ ] + } ] + } + }, { + "localId" : "548", + "name" : "Overlapping", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "548", + "s" : [ { + "value" : [ "", "define ", "Overlapping", ": " ] + }, { + "r" : "581", + "s" : [ { + "value" : [ "expand " ] + }, { + "r" : "549", + "s" : [ { + "value" : [ "{ " ] + }, { + "r" : "560", + "s" : [ { + "r" : "554", + "value" : [ "Interval[", "@2018-01-01", ", ", "@2018-01-03", "]" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "573", "s" : [ { - "value" : [ "","define ","HourPrecPerDay",": " ] - }, { - "r" : "1277", - "s" : [ { - "value" : [ "expand " ] - }, { - "r" : "1256", - "s" : [ { - "value" : [ "{ " ] - }, { - "r" : "1269", - "s" : [ { - "r" : "1257", - "value" : [ "Interval[","@2018-01-01T00+00:00",", ","@2018-01-03T00+00:00","]" ] - } ] - }, { - "value" : [ " }" ] - } ] - }, { - "value" : [ " per ","day" ] - } ] - } ] - } - } ], - "resultTypeSpecifier" : { - "localId" : "1285", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "1286", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1287", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - }, - "expression" : { - "localId" : "1277", - "type" : "Expand", - "resultTypeSpecifier" : { - "localId" : "1282", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "1283", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1284", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - }, - "signature" : [ { - "localId" : "1278", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "1279", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1280", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - }, { - "localId" : "1281", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "1256", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "1272", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "1273", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1274", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - }, - "element" : [ { - "localId" : "1269", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "1270", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1271", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "1257", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ ], - "year" : { - "localId" : "1258", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2018", - "type" : "Literal" - }, - "month" : { - "localId" : "1259", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "1260", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "1261", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "timezoneOffset" : { - "localId" : "1262", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "0.0", - "type" : "Literal" - } - }, - "high" : { - "localId" : "1263", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ ], - "year" : { - "localId" : "1264", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2018", - "type" : "Literal" - }, - "month" : { - "localId" : "1265", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "1266", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "hour" : { - "localId" : "1267", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "timezoneOffset" : { - "localId" : "1268", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "0.0", - "type" : "Literal" - } - } - } ] - }, { - "localId" : "1276", - "value" : 1.0, - "unit" : "day", - "type" : "Quantity" - } ] - } - }, { - "localId" : "1290", - "name" : "HourPrecPerHour", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "1290", - "s" : [ { - "value" : [ "","define ","HourPrecPerHour",": " ] - }, { - "r" : "1312", - "s" : [ { - "value" : [ "expand " ] - }, { - "r" : "1291", - "s" : [ { - "value" : [ "{ " ] - }, { - "r" : "1304", - "s" : [ { - "r" : "1292", - "value" : [ "Interval[","@2018-01-01T01+00:00",", ","@2018-01-01T02+00:00","]" ] - } ] - }, { - "value" : [ " }" ] - } ] - }, { - "value" : [ " per ","hour" ] - } ] - } ] - } - } ], + "r" : "567", + "value" : [ "Interval[", "@2018-01-02", ", ", "@2018-01-04", "]" ] + } ] + }, { + "value" : [ " }" ] + } ] + }, { + "value" : [ " per ", "day" ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "589", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "590", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "591", + "name" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ] + } + } + }, + "expression" : { + "type" : "Expand", + "localId" : "581", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "586", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "587", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "588", + "name" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ] + } + } + }, + "signature" : [ { + "type" : "ListTypeSpecifier", + "localId" : "582", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "583", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "584", + "name" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ] + } + } + }, { + "type" : "NamedTypeSpecifier", + "localId" : "585", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "List", + "localId" : "549", + "annotation" : [ ], "resultTypeSpecifier" : { - "localId" : "1320", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "1321", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1322", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - }, - "expression" : { - "localId" : "1312", - "type" : "Expand", - "resultTypeSpecifier" : { - "localId" : "1317", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "1318", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1319", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - }, - "signature" : [ { - "localId" : "1313", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "1314", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1315", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - }, { - "localId" : "1316", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "1291", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "1307", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "1308", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1309", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - }, - "element" : [ { - "localId" : "1304", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "1305", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1306", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "1292", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ ], - "year" : { - "localId" : "1293", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2018", - "type" : "Literal" - }, - "month" : { - "localId" : "1294", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "1295", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "1296", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "timezoneOffset" : { - "localId" : "1297", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "0.0", - "type" : "Literal" - } - }, - "high" : { - "localId" : "1298", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ ], - "year" : { - "localId" : "1299", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2018", - "type" : "Literal" - }, - "month" : { - "localId" : "1300", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "1301", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "1302", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal" - }, - "timezoneOffset" : { - "localId" : "1303", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "0.0", - "type" : "Literal" - } - } - } ] - }, { - "localId" : "1311", - "value" : 1.0, - "unit" : "hour", - "type" : "Quantity" - } ] - } - }, { - "localId" : "1325", - "name" : "HourPrecPerMinute", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "1325", + "type" : "ListTypeSpecifier", + "localId" : "576", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "577", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "578", + "name" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ] + } + } + }, + "element" : [ { + "type" : "Interval", + "localId" : "560", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "561", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "562", + "name" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ] + } + }, + "low" : { + "type" : "Date", + "localId" : "554", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ], + "signature" : [ ], + "year" : { + "type" : "Literal", + "localId" : "551", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2018", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "552", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "553", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + } + }, + "high" : { + "type" : "Date", + "localId" : "559", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ], + "signature" : [ ], + "year" : { + "type" : "Literal", + "localId" : "556", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2018", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "557", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "558", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + } + } + }, { + "type" : "Interval", + "localId" : "573", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "574", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "575", + "name" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ] + } + }, + "low" : { + "type" : "Date", + "localId" : "567", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ], + "signature" : [ ], + "year" : { + "type" : "Literal", + "localId" : "564", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2018", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "565", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "566", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "annotation" : [ ] + } + }, + "high" : { + "type" : "Date", + "localId" : "572", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ], + "signature" : [ ], + "year" : { + "type" : "Literal", + "localId" : "569", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2018", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "570", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "571", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "4", + "annotation" : [ ] + } + } + } ] + }, { + "type" : "Quantity", + "localId" : "580", + "value" : 1.0, + "unit" : "day", + "annotation" : [ ] + } ] + } + }, { + "localId" : "594", + "name" : "NonOverlapping", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "594", + "s" : [ { + "value" : [ "", "define ", "NonOverlapping", ": " ] + }, { + "r" : "627", + "s" : [ { + "value" : [ "expand " ] + }, { + "r" : "595", + "s" : [ { + "value" : [ "{ " ] + }, { + "r" : "606", + "s" : [ { + "r" : "600", + "value" : [ "Interval[", "@2018-01-01", ", ", "@2018-01-03", "]" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "619", "s" : [ { - "value" : [ "","define ","HourPrecPerMinute",": " ] - }, { - "r" : "1347", - "s" : [ { - "value" : [ "expand " ] - }, { - "r" : "1326", - "s" : [ { - "value" : [ "{ " ] - }, { - "r" : "1339", - "s" : [ { - "r" : "1327", - "value" : [ "Interval[","@2018-01-01T01+00:00",", ","@2018-01-01T01+00:00","]" ] - } ] - }, { - "value" : [ " }" ] - } ] - }, { - "value" : [ " per ","minute" ] - } ] - } ] - } - } ], + "r" : "613", + "value" : [ "Interval[", "@2018-01-08", ", ", "@2018-01-08", "]" ] + } ] + }, { + "value" : [ " }" ] + } ] + }, { + "value" : [ " per ", "day" ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "635", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "636", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "637", + "name" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ] + } + } + }, + "expression" : { + "type" : "Expand", + "localId" : "627", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "632", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "633", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "634", + "name" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ] + } + } + }, + "signature" : [ { + "type" : "ListTypeSpecifier", + "localId" : "628", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "629", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "630", + "name" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ] + } + } + }, { + "type" : "NamedTypeSpecifier", + "localId" : "631", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "List", + "localId" : "595", + "annotation" : [ ], "resultTypeSpecifier" : { - "localId" : "1355", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "1356", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1357", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - }, - "expression" : { - "localId" : "1347", - "type" : "Expand", - "resultTypeSpecifier" : { - "localId" : "1352", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "1353", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1354", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - }, - "signature" : [ { - "localId" : "1348", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "1349", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1350", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - }, { - "localId" : "1351", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "1326", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "1342", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "1343", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1344", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - }, - "element" : [ { - "localId" : "1339", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "1340", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1341", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "1327", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ ], - "year" : { - "localId" : "1328", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2018", - "type" : "Literal" - }, - "month" : { - "localId" : "1329", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "1330", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "1331", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "timezoneOffset" : { - "localId" : "1332", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "0.0", - "type" : "Literal" - } - }, - "high" : { - "localId" : "1333", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ ], - "year" : { - "localId" : "1334", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2018", - "type" : "Literal" - }, - "month" : { - "localId" : "1335", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "1336", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "1337", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "timezoneOffset" : { - "localId" : "1338", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "0.0", - "type" : "Literal" - } - } - } ] - }, { - "localId" : "1346", - "value" : 1.0, - "unit" : "minute", - "type" : "Quantity" - } ] - } - }, { - "localId" : "1360", - "name" : "HourPrecPerSecond", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "1360", - "s" : [ { - "value" : [ "","define ","HourPrecPerSecond",": " ] - }, { - "r" : "1382", - "s" : [ { - "value" : [ "expand " ] - }, { - "r" : "1361", - "s" : [ { - "value" : [ "{ " ] - }, { - "r" : "1374", - "s" : [ { - "r" : "1362", - "value" : [ "Interval[","@2018-01-01T01+00:00",", ","@2018-01-01T01+00:00","]" ] - } ] - }, { - "value" : [ " }" ] - } ] - }, { - "value" : [ " per ","second" ] - } ] - } ] - } - } ], + "type" : "ListTypeSpecifier", + "localId" : "622", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "623", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "624", + "name" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ] + } + } + }, + "element" : [ { + "type" : "Interval", + "localId" : "606", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "607", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "608", + "name" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ] + } + }, + "low" : { + "type" : "Date", + "localId" : "600", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ], + "signature" : [ ], + "year" : { + "type" : "Literal", + "localId" : "597", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2018", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "598", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "599", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + } + }, + "high" : { + "type" : "Date", + "localId" : "605", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ], + "signature" : [ ], + "year" : { + "type" : "Literal", + "localId" : "602", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2018", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "603", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "604", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + } + } + }, { + "type" : "Interval", + "localId" : "619", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "620", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "621", + "name" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ] + } + }, + "low" : { + "type" : "Date", + "localId" : "613", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ], + "signature" : [ ], + "year" : { + "type" : "Literal", + "localId" : "610", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2018", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "611", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "612", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "8", + "annotation" : [ ] + } + }, + "high" : { + "type" : "Date", + "localId" : "618", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ], + "signature" : [ ], + "year" : { + "type" : "Literal", + "localId" : "615", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2018", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "616", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "617", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "8", + "annotation" : [ ] + } + } + } ] + }, { + "type" : "Quantity", + "localId" : "626", + "value" : 1.0, + "unit" : "day", + "annotation" : [ ] + } ] + } + }, { + "localId" : "640", + "name" : "NoPerDefaultDay", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "640", + "s" : [ { + "value" : [ "", "define ", "NoPerDefaultDay", ": " ] + }, { + "r" : "659", + "s" : [ { + "value" : [ "expand " ] + }, { + "r" : "641", + "s" : [ { + "value" : [ "{ " ] + }, { + "r" : "652", + "s" : [ { + "r" : "646", + "value" : [ "Interval[", "@2018-01-01", ", ", "@2018-01-03", "]" ] + } ] + }, { + "value" : [ " }" ] + } ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "667", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "668", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "669", + "name" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ] + } + } + }, + "expression" : { + "type" : "Expand", + "localId" : "659", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "664", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "665", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "666", + "name" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ] + } + } + }, + "signature" : [ { + "type" : "ListTypeSpecifier", + "localId" : "660", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "661", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "662", + "name" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ] + } + } + }, { + "type" : "NamedTypeSpecifier", + "localId" : "663", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "List", + "localId" : "641", + "annotation" : [ ], "resultTypeSpecifier" : { - "localId" : "1390", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "1391", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1392", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - }, - "expression" : { - "localId" : "1382", - "type" : "Expand", - "resultTypeSpecifier" : { - "localId" : "1387", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "1388", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1389", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - }, - "signature" : [ { - "localId" : "1383", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "1384", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1385", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - }, { - "localId" : "1386", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "1361", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "1377", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "1378", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1379", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - }, - "element" : [ { - "localId" : "1374", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "1375", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1376", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "1362", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ ], - "year" : { - "localId" : "1363", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2018", - "type" : "Literal" - }, - "month" : { - "localId" : "1364", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "1365", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "1366", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "timezoneOffset" : { - "localId" : "1367", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "0.0", - "type" : "Literal" - } - }, - "high" : { - "localId" : "1368", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ ], - "year" : { - "localId" : "1369", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2018", - "type" : "Literal" - }, - "month" : { - "localId" : "1370", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "1371", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "1372", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "timezoneOffset" : { - "localId" : "1373", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "0.0", - "type" : "Literal" - } - } - } ] - }, { - "localId" : "1381", - "value" : 1.0, - "unit" : "second", - "type" : "Quantity" - } ] - } - }, { - "localId" : "1395", - "name" : "HourPrecPerMillisecond", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "1395", - "s" : [ { - "value" : [ "","define ","HourPrecPerMillisecond",": " ] - }, { - "r" : "1417", - "s" : [ { - "value" : [ "expand " ] - }, { - "r" : "1396", - "s" : [ { - "value" : [ "{ " ] - }, { - "r" : "1409", - "s" : [ { - "r" : "1397", - "value" : [ "Interval[","@2018-01-01T01+00:00",", ","@2018-01-01T01+00:00","]" ] - } ] - }, { - "value" : [ " }" ] - } ] - }, { - "value" : [ " per ","millisecond" ] - } ] - } ] - } - } ], + "type" : "ListTypeSpecifier", + "localId" : "655", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "656", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "657", + "name" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ] + } + } + }, + "element" : [ { + "type" : "Interval", + "localId" : "652", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "653", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "654", + "name" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ] + } + }, + "low" : { + "type" : "Date", + "localId" : "646", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ], + "signature" : [ ], + "year" : { + "type" : "Literal", + "localId" : "643", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2018", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "644", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "645", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + } + }, + "high" : { + "type" : "Date", + "localId" : "651", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ], + "signature" : [ ], + "year" : { + "type" : "Literal", + "localId" : "648", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2018", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "649", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "650", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + } + } + } ] + }, { + "type" : "Null", + "localId" : "658", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } ] + } + }, { + "localId" : "672", + "name" : "NoPerDefaultMonth", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "672", + "s" : [ { + "value" : [ "", "define ", "NoPerDefaultMonth", ": " ] + }, { + "r" : "689", + "s" : [ { + "value" : [ "expand " ] + }, { + "r" : "673", + "s" : [ { + "value" : [ "{ " ] + }, { + "r" : "682", + "s" : [ { + "r" : "677", + "value" : [ "Interval[", "@2018-01", ", ", "@2018-03", "]" ] + } ] + }, { + "value" : [ " }" ] + } ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "697", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "698", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "699", + "name" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ] + } + } + }, + "expression" : { + "type" : "Expand", + "localId" : "689", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "694", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "695", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "696", + "name" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ] + } + } + }, + "signature" : [ { + "type" : "ListTypeSpecifier", + "localId" : "690", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "691", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "692", + "name" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ] + } + } + }, { + "type" : "NamedTypeSpecifier", + "localId" : "693", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "List", + "localId" : "673", + "annotation" : [ ], "resultTypeSpecifier" : { - "localId" : "1425", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "1426", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1427", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - }, - "expression" : { - "localId" : "1417", - "type" : "Expand", - "resultTypeSpecifier" : { - "localId" : "1422", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "1423", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1424", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - }, - "signature" : [ { - "localId" : "1418", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "1419", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1420", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - }, { - "localId" : "1421", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "1396", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "1412", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "1413", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1414", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - }, - "element" : [ { - "localId" : "1409", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "1410", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1411", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "1397", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ ], - "year" : { - "localId" : "1398", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2018", - "type" : "Literal" - }, - "month" : { - "localId" : "1399", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "1400", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "1401", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "timezoneOffset" : { - "localId" : "1402", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "0.0", - "type" : "Literal" - } - }, - "high" : { - "localId" : "1403", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ ], - "year" : { - "localId" : "1404", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2018", - "type" : "Literal" - }, - "month" : { - "localId" : "1405", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "1406", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "1407", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "timezoneOffset" : { - "localId" : "1408", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "0.0", - "type" : "Literal" - } - } - } ] - }, { - "localId" : "1416", - "value" : 1.0, - "unit" : "millisecond", - "type" : "Quantity" - } ] - } - }, { - "localId" : "1430", - "name" : "DayPrecPerYear", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "1430", - "s" : [ { - "value" : [ "","define ","DayPrecPerYear",": " ] - }, { - "r" : "1464", - "s" : [ { - "value" : [ "expand " ] - }, { - "r" : "1431", - "s" : [ { - "value" : [ "{ " ] - }, { - "r" : "1456", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "1440", - "s" : [ { - "r" : "1432", - "value" : [ "DateTime","(","2016",",","01",",","01",")" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "1452", - "s" : [ { - "r" : "1444", - "value" : [ "DateTime","(","2018",",","01",",","01",")" ] - } ] - }, { - "value" : [ "]" ] - } ] - }, { - "value" : [ " }" ] - } ] - }, { - "value" : [ " per ","year" ] - } ] - } ] - } - } ], + "type" : "ListTypeSpecifier", + "localId" : "685", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "686", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "687", + "name" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ] + } + } + }, + "element" : [ { + "type" : "Interval", + "localId" : "682", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "683", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "684", + "name" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ] + } + }, + "low" : { + "type" : "Date", + "localId" : "677", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ], + "signature" : [ ], + "year" : { + "type" : "Literal", + "localId" : "675", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2018", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "676", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + } + }, + "high" : { + "type" : "Date", + "localId" : "681", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ], + "signature" : [ ], + "year" : { + "type" : "Literal", + "localId" : "679", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2018", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "680", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + } + } + } ] + }, { + "type" : "Null", + "localId" : "688", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } ] + } + }, { + "localId" : "702", + "name" : "NoPerDefaultYear", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "702", + "s" : [ { + "value" : [ "", "define ", "NoPerDefaultYear", ": " ] + }, { + "r" : "717", + "s" : [ { + "value" : [ "expand " ] + }, { + "r" : "703", + "s" : [ { + "value" : [ "{ " ] + }, { + "r" : "710", + "s" : [ { + "r" : "706", + "value" : [ "Interval[", "@2016", ", ", "@2018", "]" ] + } ] + }, { + "value" : [ " }" ] + } ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "725", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "726", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "727", + "name" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ] + } + } + }, + "expression" : { + "type" : "Expand", + "localId" : "717", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "722", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "723", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "724", + "name" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ] + } + } + }, + "signature" : [ { + "type" : "ListTypeSpecifier", + "localId" : "718", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "719", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "720", + "name" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ] + } + } + }, { + "type" : "NamedTypeSpecifier", + "localId" : "721", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "List", + "localId" : "703", + "annotation" : [ ], "resultTypeSpecifier" : { - "localId" : "1472", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "1473", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1474", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - }, - "expression" : { - "localId" : "1464", - "type" : "Expand", - "resultTypeSpecifier" : { - "localId" : "1469", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "1470", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1471", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - }, - "signature" : [ { - "localId" : "1465", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "1466", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1467", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - }, { - "localId" : "1468", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "1431", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "1459", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "1460", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1461", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - }, - "element" : [ { - "localId" : "1456", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "1457", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1458", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "1440", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "1441", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1442", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1443", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1432", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2016", - "type" : "Literal" - }, - "month" : { - "localId" : "1433", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "01", - "type" : "Literal" - }, - "day" : { - "localId" : "1434", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "01", - "type" : "Literal" - } - }, - "high" : { - "localId" : "1452", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "1453", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1454", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1455", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1444", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2018", - "type" : "Literal" - }, - "month" : { - "localId" : "1445", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "01", - "type" : "Literal" - }, - "day" : { - "localId" : "1446", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "01", - "type" : "Literal" - } - } - } ] - }, { - "localId" : "1463", - "value" : 1.0, - "unit" : "year", - "type" : "Quantity" - } ] - } - }, { - "localId" : "1477", - "name" : "DayPrecPerMonth", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "1477", - "s" : [ { - "value" : [ "","define ","DayPrecPerMonth",": " ] - }, { - "r" : "1511", - "s" : [ { - "value" : [ "expand " ] - }, { - "r" : "1478", - "s" : [ { - "value" : [ "{ " ] - }, { - "r" : "1503", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "1487", - "s" : [ { - "r" : "1479", - "value" : [ "DateTime","(","2018",",","01",",","01",")" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "1499", - "s" : [ { - "r" : "1491", - "value" : [ "DateTime","(","2018",",","03",",","01",")" ] - } ] - }, { - "value" : [ "]" ] - } ] - }, { - "value" : [ " }" ] - } ] - }, { - "value" : [ " per ","month" ] - } ] - } ] - } - } ], + "type" : "ListTypeSpecifier", + "localId" : "713", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "714", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "715", + "name" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ] + } + } + }, + "element" : [ { + "type" : "Interval", + "localId" : "710", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "711", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "712", + "name" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ] + } + }, + "low" : { + "type" : "Date", + "localId" : "706", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ], + "signature" : [ ], + "year" : { + "type" : "Literal", + "localId" : "705", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2016", + "annotation" : [ ] + } + }, + "high" : { + "type" : "Date", + "localId" : "709", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ], + "signature" : [ ], + "year" : { + "type" : "Literal", + "localId" : "708", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2018", + "annotation" : [ ] + } + } + } ] + }, { + "type" : "Null", + "localId" : "716", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } ] + } + }, { + "localId" : "730", + "name" : "NoPerDefaultMonthWithMismatch", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "730", + "s" : [ { + "value" : [ "", "define ", "NoPerDefaultMonthWithMismatch", ": " ] + }, { + "r" : "746", + "s" : [ { + "value" : [ "expand " ] + }, { + "r" : "731", + "s" : [ { + "value" : [ "{ " ] + }, { + "r" : "739", + "s" : [ { + "r" : "734", + "value" : [ "Interval[", "@2016", ", ", "@2018-03", "]" ] + } ] + }, { + "value" : [ " }" ] + } ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "754", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "755", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "756", + "name" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ] + } + } + }, + "expression" : { + "type" : "Expand", + "localId" : "746", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "751", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "752", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "753", + "name" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ] + } + } + }, + "signature" : [ { + "type" : "ListTypeSpecifier", + "localId" : "747", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "748", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "749", + "name" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ] + } + } + }, { + "type" : "NamedTypeSpecifier", + "localId" : "750", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "List", + "localId" : "731", + "annotation" : [ ], "resultTypeSpecifier" : { - "localId" : "1519", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "1520", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1521", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - }, - "expression" : { - "localId" : "1511", - "type" : "Expand", - "resultTypeSpecifier" : { - "localId" : "1516", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "1517", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1518", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - }, - "signature" : [ { - "localId" : "1512", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "1513", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1514", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - }, { - "localId" : "1515", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "1478", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "1506", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "1507", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1508", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - }, - "element" : [ { - "localId" : "1503", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "1504", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1505", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "1487", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "1488", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1489", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1490", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1479", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2018", - "type" : "Literal" - }, - "month" : { - "localId" : "1480", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "01", - "type" : "Literal" - }, - "day" : { - "localId" : "1481", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "01", - "type" : "Literal" - } - }, - "high" : { - "localId" : "1499", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "1500", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1501", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1502", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1491", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2018", - "type" : "Literal" - }, - "month" : { - "localId" : "1492", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "03", - "type" : "Literal" - }, - "day" : { - "localId" : "1493", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "01", - "type" : "Literal" - } - } - } ] - }, { - "localId" : "1510", - "value" : 1.0, - "unit" : "month", - "type" : "Quantity" - } ] - } - }, { - "localId" : "1524", - "name" : "DayPrecPerWeek", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "1524", + "type" : "ListTypeSpecifier", + "localId" : "742", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "743", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "744", + "name" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ] + } + } + }, + "element" : [ { + "type" : "Interval", + "localId" : "739", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "740", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "741", + "name" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ] + } + }, + "low" : { + "type" : "Date", + "localId" : "734", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ], + "signature" : [ ], + "year" : { + "type" : "Literal", + "localId" : "733", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2016", + "annotation" : [ ] + } + }, + "high" : { + "type" : "Date", + "localId" : "738", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ], + "signature" : [ ], + "year" : { + "type" : "Literal", + "localId" : "736", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2018", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "737", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + } + } + } ] + }, { + "type" : "Null", + "localId" : "745", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } ] + } + }, { + "localId" : "759", + "name" : "OpenStart", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "759", + "s" : [ { + "value" : [ "", "define ", "OpenStart", ": " ] + }, { + "r" : "779", + "s" : [ { + "value" : [ "expand " ] + }, { + "r" : "760", + "s" : [ { + "value" : [ "{ " ] + }, { + "r" : "771", "s" : [ { - "value" : [ "","define ","DayPrecPerWeek",": " ] - }, { - "r" : "1558", - "s" : [ { - "value" : [ "expand " ] - }, { - "r" : "1525", - "s" : [ { - "value" : [ "{ " ] - }, { - "r" : "1550", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "1534", - "s" : [ { - "r" : "1526", - "value" : [ "DateTime","(","2018",",","01",",","01",")" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "1546", - "s" : [ { - "r" : "1538", - "value" : [ "DateTime","(","2018",",","01",",","14",")" ] - } ] - }, { - "value" : [ "]" ] - } ] - }, { - "value" : [ " }" ] - } ] - }, { - "value" : [ " per ","week" ] - } ] - } ] - } - } ], + "r" : "765", + "value" : [ "Interval(", "@2018-01-01", ", ", "@2018-01-03", "]" ] + } ] + }, { + "value" : [ " }" ] + } ] + }, { + "value" : [ " per ", "day" ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "787", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "788", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "789", + "name" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ] + } + } + }, + "expression" : { + "type" : "Expand", + "localId" : "779", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "784", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "785", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "786", + "name" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ] + } + } + }, + "signature" : [ { + "type" : "ListTypeSpecifier", + "localId" : "780", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "781", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "782", + "name" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ] + } + } + }, { + "type" : "NamedTypeSpecifier", + "localId" : "783", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "List", + "localId" : "760", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "774", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "775", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "776", + "name" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ] + } + } + }, + "element" : [ { + "type" : "Interval", + "localId" : "771", + "lowClosed" : false, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "772", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "773", + "name" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ] + } + }, + "low" : { + "type" : "Date", + "localId" : "765", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ], + "signature" : [ ], + "year" : { + "type" : "Literal", + "localId" : "762", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2018", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "763", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "764", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + } + }, + "high" : { + "type" : "Date", + "localId" : "770", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ], + "signature" : [ ], + "year" : { + "type" : "Literal", + "localId" : "767", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2018", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "768", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "769", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + } + } + } ] + }, { + "type" : "Quantity", + "localId" : "778", + "value" : 1.0, + "unit" : "day", + "annotation" : [ ] + } ] + } + }, { + "localId" : "792", + "name" : "OpenEnd", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "792", + "s" : [ { + "value" : [ "", "define ", "OpenEnd", ": " ] + }, { + "r" : "812", + "s" : [ { + "value" : [ "expand " ] + }, { + "r" : "793", + "s" : [ { + "value" : [ "{ " ] + }, { + "r" : "804", + "s" : [ { + "r" : "798", + "value" : [ "Interval[", "@2018-01-01", ", ", "@2018-01-03", ")" ] + } ] + }, { + "value" : [ " }" ] + } ] + }, { + "value" : [ " per ", "day" ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "820", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "821", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "822", + "name" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ] + } + } + }, + "expression" : { + "type" : "Expand", + "localId" : "812", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "817", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "818", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "819", + "name" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ] + } + } + }, + "signature" : [ { + "type" : "ListTypeSpecifier", + "localId" : "813", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "814", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "815", + "name" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ] + } + } + }, { + "type" : "NamedTypeSpecifier", + "localId" : "816", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "List", + "localId" : "793", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "807", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "808", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "809", + "name" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ] + } + } + }, + "element" : [ { + "type" : "Interval", + "localId" : "804", + "lowClosed" : true, + "highClosed" : false, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "805", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "806", + "name" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ] + } + }, + "low" : { + "type" : "Date", + "localId" : "798", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ], + "signature" : [ ], + "year" : { + "type" : "Literal", + "localId" : "795", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2018", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "796", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "797", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + } + }, + "high" : { + "type" : "Date", + "localId" : "803", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ], + "signature" : [ ], + "year" : { + "type" : "Literal", + "localId" : "800", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2018", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "801", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "802", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + } + } + } ] + }, { + "type" : "Quantity", + "localId" : "811", + "value" : 1.0, + "unit" : "day", + "annotation" : [ ] + } ] + } + }, { + "localId" : "825", + "name" : "OpenBoth", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "825", + "s" : [ { + "value" : [ "", "define ", "OpenBoth", ": " ] + }, { + "r" : "845", + "s" : [ { + "value" : [ "expand " ] + }, { + "r" : "826", + "s" : [ { + "value" : [ "{ " ] + }, { + "r" : "837", + "s" : [ { + "r" : "831", + "value" : [ "Interval(", "@2018-01-01", ", ", "@2018-01-03", ")" ] + } ] + }, { + "value" : [ " }" ] + } ] + }, { + "value" : [ " per ", "day" ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "853", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "854", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "855", + "name" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ] + } + } + }, + "expression" : { + "type" : "Expand", + "localId" : "845", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "850", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "851", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "852", + "name" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ] + } + } + }, + "signature" : [ { + "type" : "ListTypeSpecifier", + "localId" : "846", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "847", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "848", + "name" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ] + } + } + }, { + "type" : "NamedTypeSpecifier", + "localId" : "849", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "List", + "localId" : "826", + "annotation" : [ ], "resultTypeSpecifier" : { - "localId" : "1566", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "1567", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1568", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - }, - "expression" : { - "localId" : "1558", - "type" : "Expand", - "resultTypeSpecifier" : { - "localId" : "1563", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "1564", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1565", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - }, - "signature" : [ { - "localId" : "1559", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "1560", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1561", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - }, { - "localId" : "1562", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "1525", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "1553", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "1554", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1555", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - }, - "element" : [ { - "localId" : "1550", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "1551", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1552", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "1534", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "1535", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1536", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1537", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1526", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2018", - "type" : "Literal" - }, - "month" : { - "localId" : "1527", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "01", - "type" : "Literal" - }, - "day" : { - "localId" : "1528", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "01", - "type" : "Literal" - } - }, - "high" : { - "localId" : "1546", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "1547", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1548", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1549", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1538", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2018", - "type" : "Literal" - }, - "month" : { - "localId" : "1539", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "01", - "type" : "Literal" - }, - "day" : { - "localId" : "1540", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "14", - "type" : "Literal" - } - } - } ] - }, { - "localId" : "1557", - "value" : 1.0, - "unit" : "week", - "type" : "Quantity" - } ] - } - }, { - "localId" : "1571", - "name" : "DayPrecPerDay", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "1571", - "s" : [ { - "value" : [ "","define ","DayPrecPerDay",": " ] - }, { - "r" : "1605", - "s" : [ { - "value" : [ "expand " ] - }, { - "r" : "1572", - "s" : [ { - "value" : [ "{ " ] - }, { - "r" : "1597", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "1581", - "s" : [ { - "r" : "1573", - "value" : [ "DateTime","(","2018",",","01",",","01",")" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "1593", - "s" : [ { - "r" : "1585", - "value" : [ "DateTime","(","2018",",","01",",","02",")" ] - } ] - }, { - "value" : [ "]" ] - } ] - }, { - "value" : [ " }" ] - } ] - }, { - "value" : [ " per ","day" ] - } ] - } ] - } - } ], + "type" : "ListTypeSpecifier", + "localId" : "840", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "841", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "842", + "name" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ] + } + } + }, + "element" : [ { + "type" : "Interval", + "localId" : "837", + "lowClosed" : false, + "highClosed" : false, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "838", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "839", + "name" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ] + } + }, + "low" : { + "type" : "Date", + "localId" : "831", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ], + "signature" : [ ], + "year" : { + "type" : "Literal", + "localId" : "828", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2018", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "829", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "830", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + } + }, + "high" : { + "type" : "Date", + "localId" : "836", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ], + "signature" : [ ], + "year" : { + "type" : "Literal", + "localId" : "833", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2018", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "834", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "835", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + } + } + } ] + }, { + "type" : "Quantity", + "localId" : "844", + "value" : 1.0, + "unit" : "day", + "annotation" : [ ] + } ] + } + }, { + "localId" : "858", + "name" : "MismatchPrecision", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "858", + "s" : [ { + "value" : [ "", "define ", "MismatchPrecision", ": " ] + }, { + "r" : "877", + "s" : [ { + "value" : [ "expand " ] + }, { + "r" : "859", + "s" : [ { + "value" : [ "{ " ] + }, { + "r" : "869", + "s" : [ { + "r" : "864", + "value" : [ "Interval[", "@2018-01-01", ", ", "@2018-03", "]" ] + } ] + }, { + "value" : [ " }" ] + } ] + }, { + "value" : [ " per ", "month" ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "885", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "886", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "887", + "name" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ] + } + } + }, + "expression" : { + "type" : "Expand", + "localId" : "877", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "882", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "883", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "884", + "name" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ] + } + } + }, + "signature" : [ { + "type" : "ListTypeSpecifier", + "localId" : "878", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "879", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "880", + "name" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ] + } + } + }, { + "type" : "NamedTypeSpecifier", + "localId" : "881", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "List", + "localId" : "859", + "annotation" : [ ], "resultTypeSpecifier" : { - "localId" : "1613", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "1614", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1615", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - }, - "expression" : { - "localId" : "1605", - "type" : "Expand", - "resultTypeSpecifier" : { - "localId" : "1610", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "1611", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1612", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - }, - "signature" : [ { - "localId" : "1606", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "1607", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1608", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - }, { - "localId" : "1609", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "1572", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "1600", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "1601", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1602", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - }, - "element" : [ { - "localId" : "1597", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "1598", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1599", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "1581", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "1582", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1583", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1584", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1573", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2018", - "type" : "Literal" - }, - "month" : { - "localId" : "1574", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "01", - "type" : "Literal" - }, - "day" : { - "localId" : "1575", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "01", - "type" : "Literal" - } - }, - "high" : { - "localId" : "1593", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "1594", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1595", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1596", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1585", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2018", - "type" : "Literal" - }, - "month" : { - "localId" : "1586", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "01", - "type" : "Literal" - }, - "day" : { - "localId" : "1587", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "02", - "type" : "Literal" - } - } - } ] - }, { - "localId" : "1604", - "value" : 1.0, - "unit" : "day", - "type" : "Quantity" - } ] - } - }, { - "localId" : "1618", - "name" : "DayPrecPerHour", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "1618", - "s" : [ { - "value" : [ "","define ","DayPrecPerHour",": " ] - }, { - "r" : "1652", - "s" : [ { - "value" : [ "expand " ] - }, { - "r" : "1619", - "s" : [ { - "value" : [ "{ " ] - }, { - "r" : "1644", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "1628", - "s" : [ { - "r" : "1620", - "value" : [ "DateTime","(","2018",",","01",",","01",")" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "1640", - "s" : [ { - "r" : "1632", - "value" : [ "DateTime","(","2018",",","01",",","01",")" ] - } ] - }, { - "value" : [ "]" ] - } ] - }, { - "value" : [ " }" ] - } ] - }, { - "value" : [ " per ","hour" ] - } ] - } ] - } - } ], + "type" : "ListTypeSpecifier", + "localId" : "872", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "873", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "874", + "name" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ] + } + } + }, + "element" : [ { + "type" : "Interval", + "localId" : "869", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "870", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "871", + "name" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ] + } + }, + "low" : { + "type" : "Date", + "localId" : "864", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ], + "signature" : [ ], + "year" : { + "type" : "Literal", + "localId" : "861", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2018", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "862", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "863", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + } + }, + "high" : { + "type" : "Date", + "localId" : "868", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ], + "signature" : [ ], + "year" : { + "type" : "Literal", + "localId" : "866", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2018", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "867", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + } + } + } ] + }, { + "type" : "Quantity", + "localId" : "876", + "value" : 1.0, + "unit" : "month", + "annotation" : [ ] + } ] + } + }, { + "localId" : "890", + "name" : "MismatchPrecisionResultLongerThanInput", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "890", + "s" : [ { + "value" : [ "", "define ", "MismatchPrecisionResultLongerThanInput", ": " ] + }, { + "r" : "909", + "s" : [ { + "value" : [ "expand " ] + }, { + "r" : "891", + "s" : [ { + "value" : [ "{ " ] + }, { + "r" : "901", + "s" : [ { + "r" : "895", + "value" : [ "Interval[", "@2018-01", ", ", "@2018-02-28", "]" ] + } ] + }, { + "value" : [ " }" ] + } ] + }, { + "value" : [ " per ", "month" ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "917", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "918", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "919", + "name" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ] + } + } + }, + "expression" : { + "type" : "Expand", + "localId" : "909", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "914", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "915", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "916", + "name" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ] + } + } + }, + "signature" : [ { + "type" : "ListTypeSpecifier", + "localId" : "910", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "911", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "912", + "name" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ] + } + } + }, { + "type" : "NamedTypeSpecifier", + "localId" : "913", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "List", + "localId" : "891", + "annotation" : [ ], "resultTypeSpecifier" : { - "localId" : "1660", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "1661", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1662", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - }, - "expression" : { - "localId" : "1652", - "type" : "Expand", - "resultTypeSpecifier" : { - "localId" : "1657", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "1658", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1659", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - }, - "signature" : [ { - "localId" : "1653", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "1654", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1655", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - }, { - "localId" : "1656", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "1619", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "1647", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "1648", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1649", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - }, - "element" : [ { - "localId" : "1644", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "1645", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1646", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "1628", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "1629", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1630", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1631", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1620", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2018", - "type" : "Literal" - }, - "month" : { - "localId" : "1621", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "01", - "type" : "Literal" - }, - "day" : { - "localId" : "1622", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "01", - "type" : "Literal" - } - }, - "high" : { - "localId" : "1640", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "1641", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1642", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1643", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1632", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2018", - "type" : "Literal" - }, - "month" : { - "localId" : "1633", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "01", - "type" : "Literal" - }, - "day" : { - "localId" : "1634", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "01", - "type" : "Literal" - } - } - } ] - }, { - "localId" : "1651", - "value" : 1.0, - "unit" : "hour", - "type" : "Quantity" - } ] - } - }, { - "localId" : "1665", - "name" : "DayPrecPerMinute", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "1665", + "type" : "ListTypeSpecifier", + "localId" : "904", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "905", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "906", + "name" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ] + } + } + }, + "element" : [ { + "type" : "Interval", + "localId" : "901", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "902", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "903", + "name" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ] + } + }, + "low" : { + "type" : "Date", + "localId" : "895", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ], + "signature" : [ ], + "year" : { + "type" : "Literal", + "localId" : "893", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2018", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "894", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + } + }, + "high" : { + "type" : "Date", + "localId" : "900", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ], + "signature" : [ ], + "year" : { + "type" : "Literal", + "localId" : "897", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2018", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "898", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "899", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "28", + "annotation" : [ ] + } + } + } ] + }, { + "type" : "Quantity", + "localId" : "908", + "value" : 1.0, + "unit" : "month", + "annotation" : [ ] + } ] + } + }, { + "localId" : "922", + "name" : "EmptyList", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "922", + "s" : [ { + "value" : [ "", "define ", "EmptyList", ": " ] + }, { + "r" : "927", + "s" : [ { + "value" : [ "List<" ] + }, { + "r" : "923", + "s" : [ { + "value" : [ "Interval<" ] + }, { + "r" : "924", "s" : [ { - "value" : [ "","define ","DayPrecPerMinute",": " ] - }, { - "r" : "1699", - "s" : [ { - "value" : [ "expand " ] - }, { - "r" : "1666", - "s" : [ { - "value" : [ "{ " ] - }, { - "r" : "1691", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "1675", - "s" : [ { - "r" : "1667", - "value" : [ "DateTime","(","2018",",","01",",","01",")" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "1687", - "s" : [ { - "r" : "1679", - "value" : [ "DateTime","(","2018",",","01",",","01",")" ] - } ] - }, { - "value" : [ "]" ] - } ] - }, { - "value" : [ " }" ] - } ] - }, { - "value" : [ " per ","minute" ] - } ] - } ] - } - } ], + "value" : [ "Date" ] + } ] + }, { + "value" : [ ">" ] + } ] + }, { + "value" : [ ">{}" ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "932", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "933", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "934", + "name" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ] + } + } + }, + "expression" : { + "type" : "List", + "localId" : "927", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "929", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "930", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "931", + "name" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ] + } + } + }, + "element" : [ ] + } + }, { + "localId" : "937", + "name" : "NullOpen", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "937", + "s" : [ { + "value" : [ "", "define ", "NullOpen", ": " ] + }, { + "r" : "954", + "s" : [ { + "value" : [ "expand " ] + }, { + "r" : "938", + "s" : [ { + "value" : [ "{ " ] + }, { + "r" : "945", + "s" : [ { + "r" : "939", + "value" : [ "Interval[", "null", ", ", "@2018-01-03", "]" ] + } ] + }, { + "value" : [ " }" ] + } ] + }, { + "value" : [ " per ", "day" ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "962", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "963", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "964", + "name" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ] + } + } + }, + "expression" : { + "type" : "Expand", + "localId" : "954", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "959", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "960", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "961", + "name" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ] + } + } + }, + "signature" : [ { + "type" : "ListTypeSpecifier", + "localId" : "955", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "956", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "957", + "name" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ] + } + } + }, { + "type" : "NamedTypeSpecifier", + "localId" : "958", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "List", + "localId" : "938", + "annotation" : [ ], "resultTypeSpecifier" : { - "localId" : "1707", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "1708", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1709", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - }, - "expression" : { - "localId" : "1699", - "type" : "Expand", - "resultTypeSpecifier" : { - "localId" : "1704", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "1705", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1706", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - }, - "signature" : [ { - "localId" : "1700", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "1701", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1702", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - }, { - "localId" : "1703", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "1666", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "1694", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "1695", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1696", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - }, - "element" : [ { - "localId" : "1691", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "1692", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1693", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "1675", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "1676", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1677", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1678", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1667", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2018", - "type" : "Literal" - }, - "month" : { - "localId" : "1668", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "01", - "type" : "Literal" - }, - "day" : { - "localId" : "1669", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "01", - "type" : "Literal" - } - }, - "high" : { - "localId" : "1687", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "1688", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1689", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1690", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1679", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2018", - "type" : "Literal" - }, - "month" : { - "localId" : "1680", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "01", - "type" : "Literal" - }, - "day" : { - "localId" : "1681", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "01", - "type" : "Literal" - } - } - } ] - }, { - "localId" : "1698", - "value" : 1.0, - "unit" : "minute", - "type" : "Quantity" - } ] - } - }, { - "localId" : "1712", - "name" : "DayPrecPerSecond", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "1712", - "s" : [ { - "value" : [ "","define ","DayPrecPerSecond",": " ] - }, { - "r" : "1746", - "s" : [ { - "value" : [ "expand " ] - }, { - "r" : "1713", - "s" : [ { - "value" : [ "{ " ] - }, { - "r" : "1738", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "1722", - "s" : [ { - "r" : "1714", - "value" : [ "DateTime","(","2018",",","01",",","01",")" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "1734", - "s" : [ { - "r" : "1726", - "value" : [ "DateTime","(","2018",",","01",",","01",")" ] - } ] - }, { - "value" : [ "]" ] - } ] - }, { - "value" : [ " }" ] - } ] - }, { - "value" : [ " per ","second" ] - } ] - } ] - } - } ], + "type" : "ListTypeSpecifier", + "localId" : "949", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "950", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "951", + "name" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ] + } + } + }, + "element" : [ { + "type" : "Interval", + "localId" : "945", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "947", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "948", + "name" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ] + } + }, + "low" : { + "type" : "As", + "localId" : "946", + "asType" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Null", + "localId" : "939", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } + }, + "high" : { + "type" : "Date", + "localId" : "944", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ], + "signature" : [ ], + "year" : { + "type" : "Literal", + "localId" : "941", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2018", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "942", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "943", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + } + } + } ] + }, { + "type" : "Quantity", + "localId" : "953", + "value" : 1.0, + "unit" : "day", + "annotation" : [ ] + } ] + } + }, { + "localId" : "967", + "name" : "NullClose", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "967", + "s" : [ { + "value" : [ "", "define ", "NullClose", ": " ] + }, { + "r" : "984", + "s" : [ { + "value" : [ "expand " ] + }, { + "r" : "968", + "s" : [ { + "value" : [ "{ " ] + }, { + "r" : "975", + "s" : [ { + "r" : "973", + "value" : [ "Interval[", "@2018-01-01", ", ", "null", "]" ] + } ] + }, { + "value" : [ " }" ] + } ] + }, { + "value" : [ " per ", "day" ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "992", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "993", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "994", + "name" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ] + } + } + }, + "expression" : { + "type" : "Expand", + "localId" : "984", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "989", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "990", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "991", + "name" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ] + } + } + }, + "signature" : [ { + "type" : "ListTypeSpecifier", + "localId" : "985", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "986", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "987", + "name" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ] + } + } + }, { + "type" : "NamedTypeSpecifier", + "localId" : "988", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "List", + "localId" : "968", + "annotation" : [ ], "resultTypeSpecifier" : { - "localId" : "1754", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "1755", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1756", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - }, - "expression" : { - "localId" : "1746", - "type" : "Expand", - "resultTypeSpecifier" : { - "localId" : "1751", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "1752", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1753", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - }, - "signature" : [ { - "localId" : "1747", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "1748", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1749", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - }, { - "localId" : "1750", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "1713", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "1741", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "1742", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1743", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - }, - "element" : [ { - "localId" : "1738", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "1739", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1740", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "1722", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "1723", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1724", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1725", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1714", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2018", - "type" : "Literal" - }, - "month" : { - "localId" : "1715", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "01", - "type" : "Literal" - }, - "day" : { - "localId" : "1716", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "01", - "type" : "Literal" - } - }, - "high" : { - "localId" : "1734", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "1735", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1736", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1737", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1726", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2018", - "type" : "Literal" - }, - "month" : { - "localId" : "1727", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "01", - "type" : "Literal" - }, - "day" : { - "localId" : "1728", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "01", - "type" : "Literal" - } - } - } ] - }, { - "localId" : "1745", - "value" : 1.0, - "unit" : "second", - "type" : "Quantity" - } ] - } - }, { - "localId" : "1759", - "name" : "DayPrecPerMillisecond", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "1759", - "s" : [ { - "value" : [ "","define ","DayPrecPerMillisecond",": " ] - }, { - "r" : "1793", - "s" : [ { - "value" : [ "expand " ] - }, { - "r" : "1760", - "s" : [ { - "value" : [ "{ " ] - }, { - "r" : "1785", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "1769", - "s" : [ { - "r" : "1761", - "value" : [ "DateTime","(","2018",",","01",",","01",")" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "1781", - "s" : [ { - "r" : "1773", - "value" : [ "DateTime","(","2018",",","01",",","01",")" ] - } ] - }, { - "value" : [ "]" ] - } ] - }, { - "value" : [ " }" ] - } ] - }, { - "value" : [ " per ","millisecond" ] - } ] - } ] - } - } ], + "type" : "ListTypeSpecifier", + "localId" : "979", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "980", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "981", + "name" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ] + } + } + }, + "element" : [ { + "type" : "Interval", + "localId" : "975", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "977", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "978", + "name" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ] + } + }, + "low" : { + "type" : "Date", + "localId" : "973", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ], + "signature" : [ ], + "year" : { + "type" : "Literal", + "localId" : "970", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2018", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "971", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "972", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + } + }, + "high" : { + "type" : "As", + "localId" : "976", + "asType" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Null", + "localId" : "974", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } + } + } ] + }, { + "type" : "Quantity", + "localId" : "983", + "value" : 1.0, + "unit" : "day", + "annotation" : [ ] + } ] + } + }, { + "localId" : "997", + "name" : "NullBoth", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "997", + "s" : [ { + "value" : [ "", "define ", "NullBoth", ": " ] + }, { + "r" : "1009", + "s" : [ { + "value" : [ "expand " ] + }, { + "r" : "998", + "s" : [ { + "value" : [ "{ " ] + }, { + "r" : "1001", + "s" : [ { + "r" : "999", + "value" : [ "Interval[", "null", ", ", "null", "]" ] + } ] + }, { + "value" : [ " }" ] + } ] + }, { + "value" : [ " per ", "day" ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "1017", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1018", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1019", + "name" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } + } + }, + "expression" : { + "type" : "Expand", + "localId" : "1009", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "1014", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1015", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1016", + "name" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } + } + }, + "signature" : [ { + "type" : "ListTypeSpecifier", + "localId" : "1010", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1011", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1012", + "name" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } + } + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1013", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "List", + "localId" : "998", + "annotation" : [ ], "resultTypeSpecifier" : { - "localId" : "1801", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "1802", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1803", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - }, - "expression" : { - "localId" : "1793", - "type" : "Expand", - "resultTypeSpecifier" : { - "localId" : "1798", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "1799", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1800", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - }, - "signature" : [ { - "localId" : "1794", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "1795", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1796", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - }, { - "localId" : "1797", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "1760", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "1788", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "1789", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1790", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - }, - "element" : [ { - "localId" : "1785", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "1786", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1787", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "1769", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "1770", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1771", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1772", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1761", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2018", - "type" : "Literal" - }, - "month" : { - "localId" : "1762", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "01", - "type" : "Literal" - }, - "day" : { - "localId" : "1763", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "01", - "type" : "Literal" - } - }, - "high" : { - "localId" : "1781", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "1782", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1783", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1784", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1773", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2018", - "type" : "Literal" - }, - "month" : { - "localId" : "1774", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "01", - "type" : "Literal" - }, - "day" : { - "localId" : "1775", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "01", - "type" : "Literal" - } - } - } ] - }, { - "localId" : "1792", - "value" : 1.0, - "unit" : "millisecond", - "type" : "Quantity" - } ] - } - }, { - "localId" : "1806", - "name" : "MonthPrecPerYear", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "1806", - "s" : [ { - "value" : [ "","define ","MonthPrecPerYear",": " ] - }, { - "r" : "1834", - "s" : [ { - "value" : [ "expand " ] - }, { - "r" : "1807", - "s" : [ { - "value" : [ "{ " ] - }, { - "r" : "1826", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "1814", - "s" : [ { - "r" : "1808", - "value" : [ "DateTime","(","2016",",","01",")" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "1823", - "s" : [ { - "r" : "1817", - "value" : [ "DateTime","(","2018",",","01",")" ] - } ] - }, { - "value" : [ "]" ] - } ] - }, { - "value" : [ " }" ] - } ] - }, { - "value" : [ " per ","year" ] - } ] - } ] - } - } ], + "type" : "ListTypeSpecifier", + "localId" : "1004", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1005", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1006", + "name" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } + } + }, + "element" : [ { + "type" : "Interval", + "localId" : "1001", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1002", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1003", + "name" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } + }, + "low" : { + "type" : "Null", + "localId" : "999", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + }, + "high" : { + "type" : "Null", + "localId" : "1000", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } + } ] + }, { + "type" : "Quantity", + "localId" : "1008", + "value" : 1.0, + "unit" : "day", + "annotation" : [ ] + } ] + } + }, { + "localId" : "1022", + "name" : "MonthDayPer", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "1022", + "s" : [ { + "value" : [ "", "define ", "MonthDayPer", ": " ] + }, { + "r" : "1040", + "s" : [ { + "value" : [ "expand " ] + }, { + "r" : "1023", + "s" : [ { + "value" : [ "{ " ] + }, { + "r" : "1032", + "s" : [ { + "r" : "1027", + "value" : [ "Interval[", "@2018-01", ", ", "@2018-03", "]" ] + } ] + }, { + "value" : [ " }" ] + } ] + }, { + "value" : [ " per ", "day" ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "1048", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1049", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1050", + "name" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ] + } + } + }, + "expression" : { + "type" : "Expand", + "localId" : "1040", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "1045", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1046", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1047", + "name" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ] + } + } + }, + "signature" : [ { + "type" : "ListTypeSpecifier", + "localId" : "1041", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1042", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1043", + "name" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ] + } + } + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1044", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "List", + "localId" : "1023", + "annotation" : [ ], "resultTypeSpecifier" : { - "localId" : "1842", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "1843", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1844", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } + "type" : "ListTypeSpecifier", + "localId" : "1035", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1036", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1037", + "name" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ] + } + } }, - "expression" : { - "localId" : "1834", - "type" : "Expand", - "resultTypeSpecifier" : { - "localId" : "1839", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "1840", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1841", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - }, - "signature" : [ { - "localId" : "1835", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "1836", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1837", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - }, { - "localId" : "1838", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "1807", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "1829", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "1830", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1831", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - }, - "element" : [ { - "localId" : "1826", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "1827", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1828", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "1814", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "1815", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1816", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1808", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2016", - "type" : "Literal" - }, - "month" : { - "localId" : "1809", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "01", - "type" : "Literal" - } - }, - "high" : { - "localId" : "1823", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "1824", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1825", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1817", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2018", - "type" : "Literal" - }, - "month" : { - "localId" : "1818", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "01", - "type" : "Literal" - } - } - } ] - }, { - "localId" : "1833", - "value" : 1.0, - "unit" : "year", - "type" : "Quantity" - } ] - } - }, { - "localId" : "1847", - "name" : "MonthPrecPerMonth", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "1847", - "s" : [ { - "value" : [ "","define ","MonthPrecPerMonth",": " ] - }, { - "r" : "1875", - "s" : [ { - "value" : [ "expand " ] - }, { - "r" : "1848", - "s" : [ { - "value" : [ "{ " ] - }, { - "r" : "1867", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "1855", - "s" : [ { - "r" : "1849", - "value" : [ "DateTime","(","2018",",","01",")" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "1864", - "s" : [ { - "r" : "1858", - "value" : [ "DateTime","(","2018",",","02",")" ] - } ] - }, { - "value" : [ "]" ] - } ] - }, { - "value" : [ " }" ] - } ] - }, { - "value" : [ " per ","month" ] - } ] - } ] - } - } ], + "element" : [ { + "type" : "Interval", + "localId" : "1032", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1033", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1034", + "name" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ] + } + }, + "low" : { + "type" : "Date", + "localId" : "1027", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ], + "signature" : [ ], + "year" : { + "type" : "Literal", + "localId" : "1025", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2018", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1026", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + } + }, + "high" : { + "type" : "Date", + "localId" : "1031", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ], + "signature" : [ ], + "year" : { + "type" : "Literal", + "localId" : "1029", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2018", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1030", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + } + } + } ] + }, { + "type" : "Quantity", + "localId" : "1039", + "value" : 1.0, + "unit" : "day", + "annotation" : [ ] + } ] + } + }, { + "localId" : "1053", + "name" : "YearMonthPer", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "1053", + "s" : [ { + "value" : [ "", "define ", "YearMonthPer", ": " ] + }, { + "r" : "1069", + "s" : [ { + "value" : [ "expand " ] + }, { + "r" : "1054", + "s" : [ { + "value" : [ "{ " ] + }, { + "r" : "1061", + "s" : [ { + "r" : "1057", + "value" : [ "Interval[", "@2016", ", ", "@2018", "]" ] + } ] + }, { + "value" : [ " }" ] + } ] + }, { + "value" : [ " per ", "month" ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "1077", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1078", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1079", + "name" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ] + } + } + }, + "expression" : { + "type" : "Expand", + "localId" : "1069", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "1074", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1075", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1076", + "name" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ] + } + } + }, + "signature" : [ { + "type" : "ListTypeSpecifier", + "localId" : "1070", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1071", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1072", + "name" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ] + } + } + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1073", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "List", + "localId" : "1054", + "annotation" : [ ], "resultTypeSpecifier" : { - "localId" : "1883", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "1884", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1885", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - }, - "expression" : { - "localId" : "1875", - "type" : "Expand", - "resultTypeSpecifier" : { - "localId" : "1880", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "1881", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1882", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - }, - "signature" : [ { - "localId" : "1876", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "1877", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1878", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - }, { - "localId" : "1879", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "1848", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "1870", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "1871", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1872", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - }, - "element" : [ { - "localId" : "1867", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "1868", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1869", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "1855", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "1856", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1857", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1849", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2018", - "type" : "Literal" - }, - "month" : { - "localId" : "1850", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "01", - "type" : "Literal" - } - }, - "high" : { - "localId" : "1864", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "1865", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1866", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1858", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2018", - "type" : "Literal" - }, - "month" : { - "localId" : "1859", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "02", - "type" : "Literal" - } - } - } ] - }, { - "localId" : "1874", - "value" : 1.0, - "unit" : "month", - "type" : "Quantity" - } ] - } - }, { - "localId" : "1888", - "name" : "MonthPrecPerWeek", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "1888", - "s" : [ { - "value" : [ "","define ","MonthPrecPerWeek",": " ] - }, { - "r" : "1916", - "s" : [ { - "value" : [ "expand " ] - }, { - "r" : "1889", - "s" : [ { - "value" : [ "{ " ] - }, { - "r" : "1908", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "1896", - "s" : [ { - "r" : "1890", - "value" : [ "DateTime","(","2018",",","01",")" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "1905", - "s" : [ { - "r" : "1899", - "value" : [ "DateTime","(","2018",",","01",")" ] - } ] - }, { - "value" : [ "]" ] - } ] - }, { - "value" : [ " }" ] - } ] - }, { - "value" : [ " per ","week" ] - } ] - } ] - } - } ], + "type" : "ListTypeSpecifier", + "localId" : "1064", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1065", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1066", + "name" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ] + } + } + }, + "element" : [ { + "type" : "Interval", + "localId" : "1061", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1062", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1063", + "name" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ] + } + }, + "low" : { + "type" : "Date", + "localId" : "1057", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ], + "signature" : [ ], + "year" : { + "type" : "Literal", + "localId" : "1056", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2016", + "annotation" : [ ] + } + }, + "high" : { + "type" : "Date", + "localId" : "1060", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ], + "signature" : [ ], + "year" : { + "type" : "Literal", + "localId" : "1059", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2018", + "annotation" : [ ] + } + } + } ] + }, { + "type" : "Quantity", + "localId" : "1068", + "value" : 1.0, + "unit" : "month", + "annotation" : [ ] + } ] + } + }, { + "localId" : "1082", + "name" : "YearDayPer", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "1082", + "s" : [ { + "value" : [ "", "define ", "YearDayPer", ": " ] + }, { + "r" : "1098", + "s" : [ { + "value" : [ "expand " ] + }, { + "r" : "1083", + "s" : [ { + "value" : [ "{ " ] + }, { + "r" : "1090", + "s" : [ { + "r" : "1086", + "value" : [ "Interval[", "@2016", ", ", "@2018", "]" ] + } ] + }, { + "value" : [ " }" ] + } ] + }, { + "value" : [ " per ", "day" ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "1106", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1107", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1108", + "name" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ] + } + } + }, + "expression" : { + "type" : "Expand", + "localId" : "1098", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "1103", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1104", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1105", + "name" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ] + } + } + }, + "signature" : [ { + "type" : "ListTypeSpecifier", + "localId" : "1099", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1100", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1101", + "name" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ] + } + } + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1102", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "List", + "localId" : "1083", + "annotation" : [ ], "resultTypeSpecifier" : { - "localId" : "1924", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "1925", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1926", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - }, - "expression" : { - "localId" : "1916", - "type" : "Expand", - "resultTypeSpecifier" : { - "localId" : "1921", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "1922", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1923", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - }, - "signature" : [ { - "localId" : "1917", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "1918", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1919", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - }, { - "localId" : "1920", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "1889", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "1911", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "1912", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1913", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - }, - "element" : [ { - "localId" : "1908", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "1909", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1910", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "1896", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "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" - } ], - "year" : { - "localId" : "1890", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2018", - "type" : "Literal" - }, - "month" : { - "localId" : "1891", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "01", - "type" : "Literal" - } - }, - "high" : { - "localId" : "1905", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "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" - } ], - "year" : { - "localId" : "1899", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2018", - "type" : "Literal" - }, - "month" : { - "localId" : "1900", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "01", - "type" : "Literal" - } - } - } ] - }, { - "localId" : "1915", - "value" : 1.0, - "unit" : "week", - "type" : "Quantity" - } ] - } - }, { - "localId" : "1929", - "name" : "MonthPrecPerDay", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "1929", - "s" : [ { - "value" : [ "","define ","MonthPrecPerDay",": " ] - }, { - "r" : "1957", - "s" : [ { - "value" : [ "expand " ] - }, { - "r" : "1930", - "s" : [ { - "value" : [ "{ " ] - }, { - "r" : "1949", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "1937", - "s" : [ { - "r" : "1931", - "value" : [ "DateTime","(","2018",",","01",")" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "1946", - "s" : [ { - "r" : "1940", - "value" : [ "DateTime","(","2018",",","01",")" ] - } ] - }, { - "value" : [ "]" ] - } ] - }, { - "value" : [ " }" ] - } ] - }, { - "value" : [ " per ","day" ] - } ] - } ] - } - } ], + "type" : "ListTypeSpecifier", + "localId" : "1093", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1094", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1095", + "name" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ] + } + } + }, + "element" : [ { + "type" : "Interval", + "localId" : "1090", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1091", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1092", + "name" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ] + } + }, + "low" : { + "type" : "Date", + "localId" : "1086", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ], + "signature" : [ ], + "year" : { + "type" : "Literal", + "localId" : "1085", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2016", + "annotation" : [ ] + } + }, + "high" : { + "type" : "Date", + "localId" : "1089", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ], + "signature" : [ ], + "year" : { + "type" : "Literal", + "localId" : "1088", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2018", + "annotation" : [ ] + } + } + } ] + }, { + "type" : "Quantity", + "localId" : "1097", + "value" : 1.0, + "unit" : "day", + "annotation" : [ ] + } ] + } + }, { + "localId" : "1111", + "name" : "BadPerMinute", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "1111", + "s" : [ { + "value" : [ "", "define ", "BadPerMinute", ": " ] + }, { + "r" : "1131", + "s" : [ { + "value" : [ "expand " ] + }, { + "r" : "1112", + "s" : [ { + "value" : [ "{ " ] + }, { + "r" : "1123", + "s" : [ { + "r" : "1117", + "value" : [ "Interval[", "@2018-01-01", ", ", "@2018-01-04", "]" ] + } ] + }, { + "value" : [ " }" ] + } ] + }, { + "value" : [ " per ", "minute" ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "1139", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1140", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1141", + "name" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ] + } + } + }, + "expression" : { + "type" : "Expand", + "localId" : "1131", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "1136", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1137", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1138", + "name" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ] + } + } + }, + "signature" : [ { + "type" : "ListTypeSpecifier", + "localId" : "1132", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1133", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1134", + "name" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ] + } + } + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1135", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "List", + "localId" : "1112", + "annotation" : [ ], "resultTypeSpecifier" : { - "localId" : "1965", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "1966", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1967", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } + "type" : "ListTypeSpecifier", + "localId" : "1126", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1127", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1128", + "name" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ] + } + } }, - "expression" : { - "localId" : "1957", - "type" : "Expand", - "resultTypeSpecifier" : { - "localId" : "1962", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "1963", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1964", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - }, - "signature" : [ { - "localId" : "1958", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "1959", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1960", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - }, { - "localId" : "1961", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "1930", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "1952", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "1953", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1954", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - }, - "element" : [ { - "localId" : "1949", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "1950", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1951", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "1937", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "1938", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1939", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1931", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2018", - "type" : "Literal" - }, - "month" : { - "localId" : "1932", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "01", - "type" : "Literal" - } - }, - "high" : { - "localId" : "1946", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "1947", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1948", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1940", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2018", - "type" : "Literal" - }, - "month" : { - "localId" : "1941", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "01", - "type" : "Literal" - } - } - } ] - }, { - "localId" : "1956", - "value" : 1.0, - "unit" : "day", - "type" : "Quantity" - } ] - } - }, { - "localId" : "1970", - "name" : "MonthPrecPerHour", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "1970", - "s" : [ { - "value" : [ "","define ","MonthPrecPerHour",": " ] - }, { - "r" : "1998", - "s" : [ { - "value" : [ "expand " ] - }, { - "r" : "1971", - "s" : [ { - "value" : [ "{ " ] - }, { - "r" : "1990", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "1978", - "s" : [ { - "r" : "1972", - "value" : [ "DateTime","(","2018",",","01",")" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "1987", - "s" : [ { - "r" : "1981", - "value" : [ "DateTime","(","2018",",","01",")" ] - } ] - }, { - "value" : [ "]" ] - } ] - }, { - "value" : [ " }" ] - } ] - }, { - "value" : [ " per ","hour" ] - } ] - } ] - } - } ], + "element" : [ { + "type" : "Interval", + "localId" : "1123", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1124", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1125", + "name" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ] + } + }, + "low" : { + "type" : "Date", + "localId" : "1117", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ], + "signature" : [ ], + "year" : { + "type" : "Literal", + "localId" : "1114", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2018", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1115", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "1116", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + } + }, + "high" : { + "type" : "Date", + "localId" : "1122", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ], + "signature" : [ ], + "year" : { + "type" : "Literal", + "localId" : "1119", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2018", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1120", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "1121", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "4", + "annotation" : [ ] + } + } + } ] + }, { + "type" : "Quantity", + "localId" : "1130", + "value" : 1.0, + "unit" : "minute", + "annotation" : [ ] + } ] + } + }, { + "localId" : "1144", + "name" : "BadPerGram", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "1144", + "s" : [ { + "value" : [ "", "define ", "BadPerGram", ": " ] + }, { + "r" : "1164", + "s" : [ { + "value" : [ "expand " ] + }, { + "r" : "1145", + "s" : [ { + "value" : [ "{ " ] + }, { + "r" : "1156", + "s" : [ { + "r" : "1150", + "value" : [ "Interval[", "@2018-01-01", ", ", "@2018-01-04", "]" ] + } ] + }, { + "value" : [ " }" ] + } ] + }, { + "value" : [ " per " ] + }, { + "r" : "1163", + "s" : [ { + "value" : [ "1 ", "'g'" ] + } ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "1172", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1173", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1174", + "name" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ] + } + } + }, + "expression" : { + "type" : "Expand", + "localId" : "1164", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "1169", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1170", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1171", + "name" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ] + } + } + }, + "signature" : [ { + "type" : "ListTypeSpecifier", + "localId" : "1165", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1166", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1167", + "name" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ] + } + } + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1168", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "List", + "localId" : "1145", + "annotation" : [ ], "resultTypeSpecifier" : { - "localId" : "2006", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "2007", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "2008", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - }, - "expression" : { - "localId" : "1998", - "type" : "Expand", - "resultTypeSpecifier" : { - "localId" : "2003", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "2004", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "2005", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - }, - "signature" : [ { - "localId" : "1999", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "2000", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "2001", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - }, { - "localId" : "2002", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "1971", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "1993", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "1994", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1995", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - }, - "element" : [ { - "localId" : "1990", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "1991", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1992", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "1978", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "1979", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1980", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1972", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2018", - "type" : "Literal" - }, - "month" : { - "localId" : "1973", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "01", - "type" : "Literal" - } - }, - "high" : { - "localId" : "1987", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "1988", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1989", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1981", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2018", - "type" : "Literal" - }, - "month" : { - "localId" : "1982", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "01", - "type" : "Literal" - } - } - } ] - }, { - "localId" : "1997", - "value" : 1.0, - "unit" : "hour", - "type" : "Quantity" - } ] - } - }, { - "localId" : "2011", - "name" : "MonthPrecPerMinute", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "2011", - "s" : [ { - "value" : [ "","define ","MonthPrecPerMinute",": " ] - }, { - "r" : "2039", - "s" : [ { - "value" : [ "expand " ] - }, { - "r" : "2012", - "s" : [ { - "value" : [ "{ " ] - }, { - "r" : "2031", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "2019", - "s" : [ { - "r" : "2013", - "value" : [ "DateTime","(","2018",",","01",")" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "2028", - "s" : [ { - "r" : "2022", - "value" : [ "DateTime","(","2018",",","01",")" ] - } ] - }, { - "value" : [ "]" ] - } ] - }, { - "value" : [ " }" ] - } ] - }, { - "value" : [ " per ","minute" ] - } ] - } ] - } - } ], + "type" : "ListTypeSpecifier", + "localId" : "1159", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1160", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1161", + "name" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ] + } + } + }, + "element" : [ { + "type" : "Interval", + "localId" : "1156", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1157", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1158", + "name" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ] + } + }, + "low" : { + "type" : "Date", + "localId" : "1150", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ], + "signature" : [ ], + "year" : { + "type" : "Literal", + "localId" : "1147", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2018", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1148", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "1149", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + } + }, + "high" : { + "type" : "Date", + "localId" : "1155", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ], + "signature" : [ ], + "year" : { + "type" : "Literal", + "localId" : "1152", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2018", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1153", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "1154", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "4", + "annotation" : [ ] + } + } + } ] + }, { + "type" : "Quantity", + "localId" : "1163", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "value" : 1, + "unit" : "g", + "annotation" : [ ] + } ] + } + } ] + } + } +} + +/* DateTimeIntervalExpand +library TestSnippet version '1' +using Simple version '1.0.0' +context Patient +define MsPrecPerYear: expand { Interval[@2016-01-01T00:00:00.000+00:00, @2018-01-01T00:00:00.000+00:00] } per year +define MsPrecPerMonth: expand { Interval[@2018-01-01T00:00:00.000+00:00, @2018-03-01T00:00:00.000+00:00] } per month +define MsPrecPerWeek: expand { Interval[@2018-01-01T00:00:00.000+00:00, @2018-01-21T00:00:00.000+00:00] } per week +define MsPrecPerDay: expand { Interval[@2018-01-01T00:00:00.000+00:00, @2018-01-03T00:00:00.000+00:00] } per day +define MsPrecPerHour: expand { Interval[@2018-01-01T01:00:00.000+00:00, @2018-01-01T03:00:00.000+00:00] } per hour +define MsPrecPerMinute: expand { Interval[@2018-01-01T01:00:00.000+00:00, @2018-01-01T01:02:00.000+00:00] } per minute +define MsPrecPerSecond: expand { Interval[@2018-01-01T01:00:00.000+00:00, @2018-01-01T01:00:02.000+00:00] } per second +define MsPrecPerMillisecond: expand { Interval[@2018-01-01T01:00:00.000+00:00, @2018-01-01T01:00:00.001+00:00] } per millisecond + +define SecPrecPerYear: expand { Interval[@2016-01-01T00:00:00+00:00, @2018-01-01T00:00:00+00:00] } per year +define SecPrecPerMonth: expand { Interval[@2018-01-01T00:00:00+00:00, @2018-03-01T00:00:00+00:00] } per month +define SecPrecPerWeek: expand { Interval[@2018-01-01T00:00:00+00:00, @2018-01-21T00:00:00+00:00] } per week +define SecPrecPerDay: expand { Interval[@2018-01-01T00:00:00+00:00, @2018-01-03T00:00:00+00:00] } per day +define SecPrecPerHour: expand { Interval[@2018-01-01T01:00:00+00:00, @2018-01-01T03:00:00+00:00] } per hour +define SecPrecPerMinute: expand { Interval[@2018-01-01T01:00:00+00:00, @2018-01-01T01:02:00+00:00] } per minute +define SecPrecPerSecond: expand { Interval[@2018-01-01T01:00:00+00:00, @2018-01-01T01:00:01+00:00] } per second +define SecPrecPerMillisecond: expand { Interval[@2018-01-01T01:00:00+00:00, @2018-01-01T01:00:00+00:00] } per millisecond + +define MinPrecPerYear: expand { Interval[@2016-01-01T00:00+00:00, @2018-01-01T00:00+00:00] } per year +define MinPrecPerMonth: expand { Interval[@2018-01-01T00:00+00:00, @2018-03-01T00:00+00:00] } per month +define MinPrecPerWeek: expand { Interval[@2018-01-01T00:00+00:00, @2018-01-21T00:00+00:00] } per week +define MinPrecPerDay: expand { Interval[@2018-01-01T00:00+00:00, @2018-01-03T00:00+00:00] } per day +define MinPrecPerHour: expand { Interval[@2018-01-01T01:00+00:00, @2018-01-01T03:00+00:00] } per hour +define MinPrecPerMinute: expand { Interval[@2018-01-01T01:00+00:00, @2018-01-01T01:01+00:00] } per minute +define MinPrecPerSecond: expand { Interval[@2018-01-01T01:00+00:00, @2018-01-01T01:00+00:00] } per second +define MinPrecPerMillisecond: expand { Interval[@2018-01-01T01:00+00:00, @2018-01-01T01:00+00:00] } per millisecond + +define HourPrecPerYear: expand { Interval[@2016-01-01T00+00:00, @2018-01-01T00+00:00] } per year +define HourPrecPerMonth: expand { Interval[@2018-01-01T00+00:00, @2018-03-01T00+00:00] } per month +define HourPrecPerWeek: expand { Interval[@2018-01-01T00+00:00, @2018-01-21T00+00:00] } per week +define HourPrecPerDay: expand { Interval[@2018-01-01T00+00:00, @2018-01-03T00+00:00] } per day +define HourPrecPerHour: expand { Interval[@2018-01-01T01+00:00, @2018-01-01T02+00:00] } per hour +define HourPrecPerMinute: expand { Interval[@2018-01-01T01+00:00, @2018-01-01T01+00:00] } per minute +define HourPrecPerSecond: expand { Interval[@2018-01-01T01+00:00, @2018-01-01T01+00:00] } per second +define HourPrecPerMillisecond: expand { Interval[@2018-01-01T01+00:00, @2018-01-01T01+00:00] } per millisecond + +define DayPrecPerYear: expand { Interval[DateTime(2016,01,01), DateTime(2018,01,01)] } per year +define DayPrecPerMonth: expand { Interval[DateTime(2018,01,01), DateTime(2018,03,01)] } per month +define DayPrecPerWeek: expand { Interval[DateTime(2018,01,01), DateTime(2018,01,14)] } per week +define DayPrecPerDay: expand { Interval[DateTime(2018,01,01), DateTime(2018,01,02)] } per day +define DayPrecPerHour: expand { Interval[DateTime(2018,01,01), DateTime(2018,01,01)] } per hour +define DayPrecPerMinute: expand { Interval[DateTime(2018,01,01), DateTime(2018,01,01)] } per minute +define DayPrecPerSecond: expand { Interval[DateTime(2018,01,01), DateTime(2018,01,01)] } per second +define DayPrecPerMillisecond: expand { Interval[DateTime(2018,01,01), DateTime(2018,01,01)] } per millisecond + +define MonthPrecPerYear: expand { Interval[DateTime(2016,01), DateTime(2018,01)] } per year +define MonthPrecPerMonth: expand { Interval[DateTime(2018,01), DateTime(2018,02)] } per month +define MonthPrecPerWeek: expand { Interval[DateTime(2018,01), DateTime(2018,01)] } per week +define MonthPrecPerDay: expand { Interval[DateTime(2018,01), DateTime(2018,01)] } per day +define MonthPrecPerHour: expand { Interval[DateTime(2018,01), DateTime(2018,01)] } per hour +define MonthPrecPerMinute: expand { Interval[DateTime(2018,01), DateTime(2018,01)] } per minute +define MonthPrecPerSecond: expand { Interval[DateTime(2018,01), DateTime(2018,01)] } per second +define MonthPrecPerMillisecond: expand { Interval[DateTime(2018,01), DateTime(2018,01)] } per millisecond + +define YearPrecPerYear: expand { Interval[DateTime(2016), DateTime(2018)] } per year +define YearPrecPerMonth: expand { Interval[DateTime(2018), DateTime(2018)] } per month +define YearPrecPerWeek: expand { Interval[DateTime(2018), DateTime(2018)] } per week +define YearPrecPerDay: expand { Interval[DateTime(2018), DateTime(2018)] } per day +define YearPrecPerHour: expand { Interval[DateTime(2018), DateTime(2018)] } per hour +define YearPrecPerMinute: expand { Interval[DateTime(2018), DateTime(2018)] } per minute +define YearPrecPerSecond: expand { Interval[DateTime(2018), DateTime(2018)] } per second +define YearPrecPerMillisecond: expand { Interval[DateTime(2018), DateTime(2018)] } per millisecond + +define NullInList: expand { Interval[@2018-01-01T01+00:00, @2018-01-01T01+00:00], null } per hour +define Overlapping: expand { Interval[@2018-01-01T01+00:00, @2018-01-01T03+00:00], Interval[@2018-01-01T02+00:00, @2018-01-01T04+00:00] } per hour +define NonOverlapping: expand { Interval[@2018-01-01T01+00:00, @2018-01-01T02+00:00], Interval[@2018-01-01T05+00:00, @2018-01-01T05+00:00] } per hour + +define NoPerDefaultMS: expand { Interval[@2018-01-01T01:00:00.000+00:00, @2018-01-01T01:00:00.001+00:00] } +define NoPerDefaultSec: expand { Interval[@2018-01-01T01:00:00+00:00, @2018-01-01T01:00:01+00:00] } +define NoPerDefaultMin: expand { Interval[@2018-01-01T01:00+00:00, @2018-01-01T01:01+00:00] } +define NoPerDefaultHour: expand { Interval[@2018-01-01T01+00:00, @2018-01-01T01+00:00] } +define NoPerDefaultDay: expand { Interval[DateTime(2018,01,01), DateTime(2018,01,01)] } +define NoPerDefaultMonth: expand { Interval[DateTime(2018,01), DateTime(2018,01)] } +define NoPerDefaultYear: expand { Interval[DateTime(2018), DateTime(2018)] } + +define OpenStart: expand { Interval(@2018-01-01T01+00:00, @2018-01-03T01+00:00] } per day +define OpenEnd: expand { Interval[@2018-01-01T01+00:00, @2018-01-03T01+00:00) } per day +define OpenBoth: expand { Interval(@2018-01-01T01+00:00, @2018-01-03T01+00:00) } per day + +define MismatchPrecision: expand { Interval[@2012-01-01T12:00+00:00, @2012-01-02T12:00:00+00:00] } per day +define MismatchPrecisionResultLongerThanInput: expand { Interval[@2012-01-01T13:00:00+00:00, @2012-01-02T12:59+00:00] } per day + +define EmptyList: List>{} +define NullOpen: expand { Interval[null, @2018-01-03T01+00:00] } per day +define NullClose: expand { Interval[@2018-01-01T01+00:00, null] } per day +define NullBoth: expand { Interval[null, null] } per day +define BadPerGram: expand { Interval[@2018-01-01T01+00:00, @2018-01-04T01+00:00] } per 1 'g' +*/ + +module.exports['DateTimeIntervalExpand'] = { + "library" : { + "localId" : "0", + "annotation" : [ { + "type" : "CqlToElmInfo", + "translatorVersion" : "4.2.0", + "translatorOptions" : "EnableDateRangeOptimization,EnableAnnotations,EnableResultTypes", + "signatureLevel" : "All" + }, { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "3104", + "s" : [ { + "value" : [ "", "library TestSnippet version '1'" ] + } ] + } + } ], + "identifier" : { + "id" : "TestSnippet", + "version" : "1" + }, + "schemaIdentifier" : { + "id" : "urn:hl7-org:elm", + "version" : "r1" + }, + "usings" : { + "def" : [ { + "localId" : "1", + "localIdentifier" : "System", + "uri" : "urn:hl7-org:elm-types:r1", + "annotation" : [ ] + }, { + "localId" : "206", + "localIdentifier" : "Simple", + "uri" : "https://github.com/cqframework/cql-execution/simple", + "version" : "1.0.0", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "206", + "s" : [ { + "value" : [ "", "using " ] + }, { + "s" : [ { + "value" : [ "Simple" ] + } ] + }, { + "value" : [ " version '1.0.0'" ] + } ] + } + } ] + } ] + }, + "contexts" : { + "def" : [ { + "localId" : "211", + "name" : "Patient", + "annotation" : [ ] + } ] + }, + "statements" : { + "def" : [ { + "localId" : "209", + "name" : "Patient", + "context" : "Patient", + "annotation" : [ ], + "expression" : { + "type" : "SingletonFrom", + "localId" : "210", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Retrieve", + "localId" : "208", + "dataType" : "{https://github.com/cqframework/cql-execution/simple}Patient", + "annotation" : [ ], + "include" : [ ], + "codeFilter" : [ ], + "dateFilter" : [ ], + "otherFilter" : [ ] + } + } + }, { + "localId" : "214", + "name" : "MsPrecPerYear", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "214", + "s" : [ { + "value" : [ "", "define ", "MsPrecPerYear", ": " ] + }, { + "r" : "242", + "s" : [ { + "value" : [ "expand " ] + }, { + "r" : "215", + "s" : [ { + "value" : [ "{ " ] + }, { + "r" : "234", + "s" : [ { + "r" : "216", + "value" : [ "Interval[", "@2016-01-01T00:00:00.000+00:00", ", ", "@2018-01-01T00:00:00.000+00:00", "]" ] + } ] + }, { + "value" : [ " }" ] + } ] + }, { + "value" : [ " per ", "year" ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "250", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "251", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "252", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + }, + "expression" : { + "type" : "Expand", + "localId" : "242", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "247", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "248", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "249", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + }, + "signature" : [ { + "type" : "ListTypeSpecifier", + "localId" : "243", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "244", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "245", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + }, { + "type" : "NamedTypeSpecifier", + "localId" : "246", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "List", + "localId" : "215", + "annotation" : [ ], "resultTypeSpecifier" : { - "localId" : "2047", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "2048", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "2049", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - }, - "expression" : { - "localId" : "2039", - "type" : "Expand", - "resultTypeSpecifier" : { - "localId" : "2044", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "2045", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "2046", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - }, - "signature" : [ { - "localId" : "2040", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "2041", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "2042", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - }, { - "localId" : "2043", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "2012", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "2034", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "2035", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "2036", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - }, - "element" : [ { - "localId" : "2031", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "2032", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "2033", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "2019", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "2020", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2021", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "2013", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2018", - "type" : "Literal" - }, - "month" : { - "localId" : "2014", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "01", - "type" : "Literal" - } - }, - "high" : { - "localId" : "2028", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "2029", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2030", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "2022", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2018", - "type" : "Literal" - }, - "month" : { - "localId" : "2023", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "01", - "type" : "Literal" - } - } - } ] - }, { - "localId" : "2038", - "value" : 1.0, - "unit" : "minute", - "type" : "Quantity" - } ] - } - }, { - "localId" : "2052", - "name" : "MonthPrecPerSecond", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "2052", + "type" : "ListTypeSpecifier", + "localId" : "237", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "238", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "239", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + }, + "element" : [ { + "type" : "Interval", + "localId" : "234", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "235", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "236", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "DateTime", + "localId" : "216", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ ], + "year" : { + "type" : "Literal", + "localId" : "217", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2016", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "218", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "219", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "220", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "221", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "222", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "223", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "timezoneOffset" : { + "type" : "Literal", + "localId" : "224", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "0.0", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "225", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ ], + "year" : { + "type" : "Literal", + "localId" : "226", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2018", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "227", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "228", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "229", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "230", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "231", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "232", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "timezoneOffset" : { + "type" : "Literal", + "localId" : "233", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "0.0", + "annotation" : [ ] + } + } + } ] + }, { + "type" : "Quantity", + "localId" : "241", + "value" : 1.0, + "unit" : "year", + "annotation" : [ ] + } ] + } + }, { + "localId" : "255", + "name" : "MsPrecPerMonth", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "255", + "s" : [ { + "value" : [ "", "define ", "MsPrecPerMonth", ": " ] + }, { + "r" : "283", + "s" : [ { + "value" : [ "expand " ] + }, { + "r" : "256", + "s" : [ { + "value" : [ "{ " ] + }, { + "r" : "275", "s" : [ { - "value" : [ "","define ","MonthPrecPerSecond",": " ] - }, { - "r" : "2080", - "s" : [ { - "value" : [ "expand " ] - }, { - "r" : "2053", - "s" : [ { - "value" : [ "{ " ] - }, { - "r" : "2072", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "2060", - "s" : [ { - "r" : "2054", - "value" : [ "DateTime","(","2018",",","01",")" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "2069", - "s" : [ { - "r" : "2063", - "value" : [ "DateTime","(","2018",",","01",")" ] - } ] - }, { - "value" : [ "]" ] - } ] - }, { - "value" : [ " }" ] - } ] - }, { - "value" : [ " per ","second" ] - } ] - } ] - } - } ], + "r" : "257", + "value" : [ "Interval[", "@2018-01-01T00:00:00.000+00:00", ", ", "@2018-03-01T00:00:00.000+00:00", "]" ] + } ] + }, { + "value" : [ " }" ] + } ] + }, { + "value" : [ " per ", "month" ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "291", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "292", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "293", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + }, + "expression" : { + "type" : "Expand", + "localId" : "283", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "288", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "289", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "290", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + }, + "signature" : [ { + "type" : "ListTypeSpecifier", + "localId" : "284", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "285", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "286", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + }, { + "type" : "NamedTypeSpecifier", + "localId" : "287", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "List", + "localId" : "256", + "annotation" : [ ], "resultTypeSpecifier" : { - "localId" : "2088", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "2089", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "2090", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } + "type" : "ListTypeSpecifier", + "localId" : "278", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "279", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "280", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } }, - "expression" : { - "localId" : "2080", - "type" : "Expand", - "resultTypeSpecifier" : { - "localId" : "2085", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "2086", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "2087", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - }, - "signature" : [ { - "localId" : "2081", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "2082", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "2083", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - }, { - "localId" : "2084", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "2053", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "2075", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "2076", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "2077", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - }, - "element" : [ { - "localId" : "2072", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "2073", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "2074", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "2060", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "2061", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2062", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "2054", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2018", - "type" : "Literal" - }, - "month" : { - "localId" : "2055", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "01", - "type" : "Literal" - } - }, - "high" : { - "localId" : "2069", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "2070", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2071", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "2063", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2018", - "type" : "Literal" - }, - "month" : { - "localId" : "2064", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "01", - "type" : "Literal" - } - } - } ] - }, { - "localId" : "2079", - "value" : 1.0, - "unit" : "second", - "type" : "Quantity" - } ] - } - }, { - "localId" : "2093", - "name" : "MonthPrecPerMillisecond", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "2093", - "s" : [ { - "value" : [ "","define ","MonthPrecPerMillisecond",": " ] - }, { - "r" : "2121", - "s" : [ { - "value" : [ "expand " ] - }, { - "r" : "2094", - "s" : [ { - "value" : [ "{ " ] - }, { - "r" : "2113", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "2101", - "s" : [ { - "r" : "2095", - "value" : [ "DateTime","(","2018",",","01",")" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "2110", - "s" : [ { - "r" : "2104", - "value" : [ "DateTime","(","2018",",","01",")" ] - } ] - }, { - "value" : [ "]" ] - } ] - }, { - "value" : [ " }" ] - } ] - }, { - "value" : [ " per ","millisecond" ] - } ] - } ] - } - } ], + "element" : [ { + "type" : "Interval", + "localId" : "275", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "276", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "277", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "DateTime", + "localId" : "257", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ ], + "year" : { + "type" : "Literal", + "localId" : "258", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2018", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "259", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "260", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "261", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "262", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "263", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "264", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "timezoneOffset" : { + "type" : "Literal", + "localId" : "265", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "0.0", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "266", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ ], + "year" : { + "type" : "Literal", + "localId" : "267", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2018", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "268", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "269", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "270", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "271", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "272", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "273", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "timezoneOffset" : { + "type" : "Literal", + "localId" : "274", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "0.0", + "annotation" : [ ] + } + } + } ] + }, { + "type" : "Quantity", + "localId" : "282", + "value" : 1.0, + "unit" : "month", + "annotation" : [ ] + } ] + } + }, { + "localId" : "296", + "name" : "MsPrecPerWeek", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "296", + "s" : [ { + "value" : [ "", "define ", "MsPrecPerWeek", ": " ] + }, { + "r" : "324", + "s" : [ { + "value" : [ "expand " ] + }, { + "r" : "297", + "s" : [ { + "value" : [ "{ " ] + }, { + "r" : "316", + "s" : [ { + "r" : "298", + "value" : [ "Interval[", "@2018-01-01T00:00:00.000+00:00", ", ", "@2018-01-21T00:00:00.000+00:00", "]" ] + } ] + }, { + "value" : [ " }" ] + } ] + }, { + "value" : [ " per ", "week" ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "332", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "333", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "334", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + }, + "expression" : { + "type" : "Expand", + "localId" : "324", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "329", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "330", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "331", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + }, + "signature" : [ { + "type" : "ListTypeSpecifier", + "localId" : "325", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "326", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "327", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + }, { + "type" : "NamedTypeSpecifier", + "localId" : "328", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "List", + "localId" : "297", + "annotation" : [ ], "resultTypeSpecifier" : { - "localId" : "2129", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "2130", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "2131", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } + "type" : "ListTypeSpecifier", + "localId" : "319", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "320", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "321", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } }, - "expression" : { - "localId" : "2121", - "type" : "Expand", - "resultTypeSpecifier" : { - "localId" : "2126", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "2127", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "2128", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - }, - "signature" : [ { - "localId" : "2122", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "2123", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "2124", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - }, { - "localId" : "2125", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "2094", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "2116", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "2117", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "2118", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - }, - "element" : [ { - "localId" : "2113", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "2114", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "2115", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "2101", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "2102", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2103", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "2095", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2018", - "type" : "Literal" - }, - "month" : { - "localId" : "2096", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "01", - "type" : "Literal" - } - }, - "high" : { - "localId" : "2110", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "2111", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2112", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "2104", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2018", - "type" : "Literal" - }, - "month" : { - "localId" : "2105", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "01", - "type" : "Literal" - } - } - } ] - }, { - "localId" : "2120", - "value" : 1.0, - "unit" : "millisecond", - "type" : "Quantity" - } ] - } - }, { - "localId" : "2134", - "name" : "YearPrecPerYear", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "2134", - "s" : [ { - "value" : [ "","define ","YearPrecPerYear",": " ] - }, { - "r" : "2156", - "s" : [ { - "value" : [ "expand " ] - }, { - "r" : "2135", - "s" : [ { - "value" : [ "{ " ] - }, { - "r" : "2148", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "2140", - "s" : [ { - "r" : "2136", - "value" : [ "DateTime","(","2016",")" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "2146", - "s" : [ { - "r" : "2142", - "value" : [ "DateTime","(","2018",")" ] - } ] - }, { - "value" : [ "]" ] - } ] - }, { - "value" : [ " }" ] - } ] - }, { - "value" : [ " per ","year" ] - } ] - } ] - } - } ], - "resultTypeSpecifier" : { - "localId" : "2164", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "2165", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "2166", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - }, - "expression" : { - "localId" : "2156", - "type" : "Expand", - "resultTypeSpecifier" : { - "localId" : "2161", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "2162", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "2163", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - }, - "signature" : [ { - "localId" : "2157", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "2158", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "2159", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - }, { - "localId" : "2160", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "2135", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "2151", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "2152", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "2153", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - }, - "element" : [ { - "localId" : "2148", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "2149", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "2150", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "2140", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "2141", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "2136", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2016", - "type" : "Literal" - } - }, - "high" : { - "localId" : "2146", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "2147", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "2142", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2018", - "type" : "Literal" - } - } - } ] - }, { - "localId" : "2155", - "value" : 1.0, - "unit" : "year", - "type" : "Quantity" - } ] - } - }, { - "localId" : "2169", - "name" : "YearPrecPerMonth", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "2169", - "s" : [ { - "value" : [ "","define ","YearPrecPerMonth",": " ] - }, { - "r" : "2191", - "s" : [ { - "value" : [ "expand " ] - }, { - "r" : "2170", - "s" : [ { - "value" : [ "{ " ] - }, { - "r" : "2183", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "2175", - "s" : [ { - "r" : "2171", - "value" : [ "DateTime","(","2018",")" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "2181", - "s" : [ { - "r" : "2177", - "value" : [ "DateTime","(","2018",")" ] - } ] - }, { - "value" : [ "]" ] - } ] - }, { - "value" : [ " }" ] - } ] - }, { - "value" : [ " per ","month" ] - } ] - } ] - } - } ], - "resultTypeSpecifier" : { - "localId" : "2199", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "2200", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "2201", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - }, - "expression" : { - "localId" : "2191", - "type" : "Expand", - "resultTypeSpecifier" : { - "localId" : "2196", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "2197", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "2198", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - }, - "signature" : [ { - "localId" : "2192", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "2193", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "2194", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - }, { - "localId" : "2195", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "2170", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "2186", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "2187", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "2188", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - }, - "element" : [ { - "localId" : "2183", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "2184", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "2185", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "2175", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "2176", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "2171", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2018", - "type" : "Literal" - } - }, - "high" : { - "localId" : "2181", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "2182", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "2177", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2018", - "type" : "Literal" - } - } - } ] - }, { - "localId" : "2190", - "value" : 1.0, - "unit" : "month", - "type" : "Quantity" - } ] - } - }, { - "localId" : "2204", - "name" : "YearPrecPerWeek", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "2204", - "s" : [ { - "value" : [ "","define ","YearPrecPerWeek",": " ] - }, { - "r" : "2226", - "s" : [ { - "value" : [ "expand " ] - }, { - "r" : "2205", - "s" : [ { - "value" : [ "{ " ] - }, { - "r" : "2218", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "2210", - "s" : [ { - "r" : "2206", - "value" : [ "DateTime","(","2018",")" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "2216", - "s" : [ { - "r" : "2212", - "value" : [ "DateTime","(","2018",")" ] - } ] - }, { - "value" : [ "]" ] - } ] - }, { - "value" : [ " }" ] - } ] - }, { - "value" : [ " per ","week" ] - } ] - } ] - } - } ], - "resultTypeSpecifier" : { - "localId" : "2234", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "2235", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "2236", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - }, - "expression" : { - "localId" : "2226", - "type" : "Expand", - "resultTypeSpecifier" : { - "localId" : "2231", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "2232", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "2233", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - }, - "signature" : [ { - "localId" : "2227", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "2228", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "2229", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - }, { - "localId" : "2230", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "2205", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "2221", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "2222", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "2223", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - }, - "element" : [ { - "localId" : "2218", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "2219", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "2220", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "2210", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "2211", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "2206", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2018", - "type" : "Literal" - } - }, - "high" : { - "localId" : "2216", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "2217", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "2212", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2018", - "type" : "Literal" - } - } - } ] - }, { - "localId" : "2225", - "value" : 1.0, - "unit" : "week", - "type" : "Quantity" - } ] - } - }, { - "localId" : "2239", - "name" : "YearPrecPerDay", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "2239", - "s" : [ { - "value" : [ "","define ","YearPrecPerDay",": " ] - }, { - "r" : "2261", - "s" : [ { - "value" : [ "expand " ] - }, { - "r" : "2240", - "s" : [ { - "value" : [ "{ " ] - }, { - "r" : "2253", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "2245", - "s" : [ { - "r" : "2241", - "value" : [ "DateTime","(","2018",")" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "2251", - "s" : [ { - "r" : "2247", - "value" : [ "DateTime","(","2018",")" ] - } ] - }, { - "value" : [ "]" ] - } ] - }, { - "value" : [ " }" ] - } ] - }, { - "value" : [ " per ","day" ] - } ] - } ] - } - } ], - "resultTypeSpecifier" : { - "localId" : "2269", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "2270", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "2271", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - }, - "expression" : { - "localId" : "2261", - "type" : "Expand", - "resultTypeSpecifier" : { - "localId" : "2266", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "2267", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "2268", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - }, - "signature" : [ { - "localId" : "2262", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "2263", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "2264", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - }, { - "localId" : "2265", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "2240", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "2256", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "2257", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "2258", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - }, - "element" : [ { - "localId" : "2253", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "2254", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "2255", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "2245", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "2246", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "2241", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2018", - "type" : "Literal" - } - }, - "high" : { - "localId" : "2251", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "2252", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "2247", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2018", - "type" : "Literal" - } - } - } ] - }, { - "localId" : "2260", - "value" : 1.0, - "unit" : "day", - "type" : "Quantity" - } ] - } - }, { - "localId" : "2274", - "name" : "YearPrecPerHour", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "2274", - "s" : [ { - "value" : [ "","define ","YearPrecPerHour",": " ] - }, { - "r" : "2296", - "s" : [ { - "value" : [ "expand " ] - }, { - "r" : "2275", - "s" : [ { - "value" : [ "{ " ] - }, { - "r" : "2288", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "2280", - "s" : [ { - "r" : "2276", - "value" : [ "DateTime","(","2018",")" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "2286", - "s" : [ { - "r" : "2282", - "value" : [ "DateTime","(","2018",")" ] - } ] - }, { - "value" : [ "]" ] - } ] - }, { - "value" : [ " }" ] - } ] - }, { - "value" : [ " per ","hour" ] - } ] - } ] - } - } ], - "resultTypeSpecifier" : { - "localId" : "2304", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "2305", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "2306", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - }, - "expression" : { - "localId" : "2296", - "type" : "Expand", - "resultTypeSpecifier" : { - "localId" : "2301", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "2302", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "2303", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - }, - "signature" : [ { - "localId" : "2297", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "2298", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "2299", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - }, { - "localId" : "2300", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "2275", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "2291", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "2292", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "2293", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - }, - "element" : [ { - "localId" : "2288", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "2289", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "2290", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "2280", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "2281", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "2276", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2018", - "type" : "Literal" - } - }, - "high" : { - "localId" : "2286", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "2287", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "2282", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2018", - "type" : "Literal" - } - } - } ] - }, { - "localId" : "2295", - "value" : 1.0, - "unit" : "hour", - "type" : "Quantity" - } ] - } - }, { - "localId" : "2309", - "name" : "YearPrecPerMinute", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "2309", - "s" : [ { - "value" : [ "","define ","YearPrecPerMinute",": " ] - }, { - "r" : "2331", - "s" : [ { - "value" : [ "expand " ] - }, { - "r" : "2310", - "s" : [ { - "value" : [ "{ " ] - }, { - "r" : "2323", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "2315", - "s" : [ { - "r" : "2311", - "value" : [ "DateTime","(","2018",")" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "2321", - "s" : [ { - "r" : "2317", - "value" : [ "DateTime","(","2018",")" ] - } ] - }, { - "value" : [ "]" ] - } ] - }, { - "value" : [ " }" ] - } ] - }, { - "value" : [ " per ","minute" ] - } ] - } ] - } - } ], - "resultTypeSpecifier" : { - "localId" : "2339", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "2340", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "2341", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - }, - "expression" : { - "localId" : "2331", - "type" : "Expand", - "resultTypeSpecifier" : { - "localId" : "2336", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "2337", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "2338", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - }, - "signature" : [ { - "localId" : "2332", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "2333", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "2334", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - }, { - "localId" : "2335", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "2310", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "2326", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "2327", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "2328", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - }, - "element" : [ { - "localId" : "2323", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "2324", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "2325", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "2315", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "2316", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "2311", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2018", - "type" : "Literal" - } - }, - "high" : { - "localId" : "2321", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "2322", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "2317", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2018", - "type" : "Literal" - } - } - } ] - }, { - "localId" : "2330", - "value" : 1.0, - "unit" : "minute", - "type" : "Quantity" - } ] - } - }, { - "localId" : "2344", - "name" : "YearPrecPerSecond", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "2344", - "s" : [ { - "value" : [ "","define ","YearPrecPerSecond",": " ] - }, { - "r" : "2366", - "s" : [ { - "value" : [ "expand " ] - }, { - "r" : "2345", - "s" : [ { - "value" : [ "{ " ] - }, { - "r" : "2358", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "2350", - "s" : [ { - "r" : "2346", - "value" : [ "DateTime","(","2018",")" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "2356", - "s" : [ { - "r" : "2352", - "value" : [ "DateTime","(","2018",")" ] - } ] - }, { - "value" : [ "]" ] - } ] - }, { - "value" : [ " }" ] - } ] - }, { - "value" : [ " per ","second" ] - } ] - } ] - } - } ], + "element" : [ { + "type" : "Interval", + "localId" : "316", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "317", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "318", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "DateTime", + "localId" : "298", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ ], + "year" : { + "type" : "Literal", + "localId" : "299", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2018", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "300", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "301", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "302", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "303", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "304", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "305", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "timezoneOffset" : { + "type" : "Literal", + "localId" : "306", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "0.0", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "307", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ ], + "year" : { + "type" : "Literal", + "localId" : "308", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2018", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "309", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "310", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "21", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "311", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "312", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "313", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "314", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "timezoneOffset" : { + "type" : "Literal", + "localId" : "315", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "0.0", + "annotation" : [ ] + } + } + } ] + }, { + "type" : "Quantity", + "localId" : "323", + "value" : 1.0, + "unit" : "week", + "annotation" : [ ] + } ] + } + }, { + "localId" : "337", + "name" : "MsPrecPerDay", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "337", + "s" : [ { + "value" : [ "", "define ", "MsPrecPerDay", ": " ] + }, { + "r" : "365", + "s" : [ { + "value" : [ "expand " ] + }, { + "r" : "338", + "s" : [ { + "value" : [ "{ " ] + }, { + "r" : "357", + "s" : [ { + "r" : "339", + "value" : [ "Interval[", "@2018-01-01T00:00:00.000+00:00", ", ", "@2018-01-03T00:00:00.000+00:00", "]" ] + } ] + }, { + "value" : [ " }" ] + } ] + }, { + "value" : [ " per ", "day" ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "373", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "374", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "375", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + }, + "expression" : { + "type" : "Expand", + "localId" : "365", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "370", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "371", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "372", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + }, + "signature" : [ { + "type" : "ListTypeSpecifier", + "localId" : "366", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "367", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "368", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + }, { + "type" : "NamedTypeSpecifier", + "localId" : "369", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "List", + "localId" : "338", + "annotation" : [ ], "resultTypeSpecifier" : { - "localId" : "2374", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "2375", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "2376", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - }, - "expression" : { - "localId" : "2366", - "type" : "Expand", - "resultTypeSpecifier" : { - "localId" : "2371", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "2372", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "2373", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - }, - "signature" : [ { - "localId" : "2367", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "2368", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "2369", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - }, { - "localId" : "2370", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "2345", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "2361", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "2362", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "2363", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - }, - "element" : [ { - "localId" : "2358", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "2359", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "2360", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "2350", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "2351", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "2346", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2018", - "type" : "Literal" - } - }, - "high" : { - "localId" : "2356", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "2357", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "2352", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2018", - "type" : "Literal" - } - } - } ] - }, { - "localId" : "2365", - "value" : 1.0, - "unit" : "second", - "type" : "Quantity" - } ] - } - }, { - "localId" : "2379", - "name" : "YearPrecPerMillisecond", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "2379", - "s" : [ { - "value" : [ "","define ","YearPrecPerMillisecond",": " ] - }, { - "r" : "2401", - "s" : [ { - "value" : [ "expand " ] - }, { - "r" : "2380", - "s" : [ { - "value" : [ "{ " ] - }, { - "r" : "2393", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "2385", - "s" : [ { - "r" : "2381", - "value" : [ "DateTime","(","2018",")" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "2391", - "s" : [ { - "r" : "2387", - "value" : [ "DateTime","(","2018",")" ] - } ] - }, { - "value" : [ "]" ] - } ] - }, { - "value" : [ " }" ] - } ] - }, { - "value" : [ " per ","millisecond" ] - } ] - } ] - } - } ], + "type" : "ListTypeSpecifier", + "localId" : "360", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "361", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "362", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + }, + "element" : [ { + "type" : "Interval", + "localId" : "357", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "358", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "359", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "DateTime", + "localId" : "339", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ ], + "year" : { + "type" : "Literal", + "localId" : "340", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2018", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "341", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "342", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "343", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "344", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "345", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "346", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "timezoneOffset" : { + "type" : "Literal", + "localId" : "347", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "0.0", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "348", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ ], + "year" : { + "type" : "Literal", + "localId" : "349", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2018", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "350", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "351", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "352", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "353", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "354", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "355", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "timezoneOffset" : { + "type" : "Literal", + "localId" : "356", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "0.0", + "annotation" : [ ] + } + } + } ] + }, { + "type" : "Quantity", + "localId" : "364", + "value" : 1.0, + "unit" : "day", + "annotation" : [ ] + } ] + } + }, { + "localId" : "378", + "name" : "MsPrecPerHour", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "378", + "s" : [ { + "value" : [ "", "define ", "MsPrecPerHour", ": " ] + }, { + "r" : "406", + "s" : [ { + "value" : [ "expand " ] + }, { + "r" : "379", + "s" : [ { + "value" : [ "{ " ] + }, { + "r" : "398", + "s" : [ { + "r" : "380", + "value" : [ "Interval[", "@2018-01-01T01:00:00.000+00:00", ", ", "@2018-01-01T03:00:00.000+00:00", "]" ] + } ] + }, { + "value" : [ " }" ] + } ] + }, { + "value" : [ " per ", "hour" ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "414", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "415", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "416", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + }, + "expression" : { + "type" : "Expand", + "localId" : "406", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "411", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "412", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "413", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + }, + "signature" : [ { + "type" : "ListTypeSpecifier", + "localId" : "407", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "408", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "409", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + }, { + "type" : "NamedTypeSpecifier", + "localId" : "410", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "List", + "localId" : "379", + "annotation" : [ ], "resultTypeSpecifier" : { - "localId" : "2409", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "2410", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "2411", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - }, - "expression" : { - "localId" : "2401", - "type" : "Expand", - "resultTypeSpecifier" : { - "localId" : "2406", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "2407", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "2408", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - }, - "signature" : [ { - "localId" : "2402", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "2403", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "2404", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - }, { - "localId" : "2405", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "2380", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "2396", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "2397", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "2398", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - }, - "element" : [ { - "localId" : "2393", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "2394", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "2395", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "2385", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "2386", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "2381", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2018", - "type" : "Literal" - } - }, - "high" : { - "localId" : "2391", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "2392", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "2387", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2018", - "type" : "Literal" - } - } - } ] - }, { - "localId" : "2400", - "value" : 1.0, - "unit" : "millisecond", - "type" : "Quantity" - } ] - } - }, { - "localId" : "2414", - "name" : "NullInList", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "2414", - "s" : [ { - "value" : [ "","define ","NullInList",": " ] - }, { - "r" : "2440", - "s" : [ { - "value" : [ "expand " ] - }, { - "r" : "2415", - "s" : [ { - "value" : [ "{ " ] - }, { - "r" : "2428", - "s" : [ { - "r" : "2416", - "value" : [ "Interval[","@2018-01-01T01+00:00",", ","@2018-01-01T01+00:00","]" ] - } ] - }, { - "r" : "2431", - "value" : [ ", ","null"," }" ] - } ] - }, { - "value" : [ " per ","hour" ] - } ] - } ] - } - } ], + "type" : "ListTypeSpecifier", + "localId" : "401", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "402", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "403", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + }, + "element" : [ { + "type" : "Interval", + "localId" : "398", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "399", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "400", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "DateTime", + "localId" : "380", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ ], + "year" : { + "type" : "Literal", + "localId" : "381", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2018", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "382", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "383", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "384", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "385", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "386", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "387", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "timezoneOffset" : { + "type" : "Literal", + "localId" : "388", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "0.0", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "389", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ ], + "year" : { + "type" : "Literal", + "localId" : "390", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2018", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "391", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "392", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "393", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "394", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "395", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "396", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "timezoneOffset" : { + "type" : "Literal", + "localId" : "397", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "0.0", + "annotation" : [ ] + } + } + } ] + }, { + "type" : "Quantity", + "localId" : "405", + "value" : 1.0, + "unit" : "hour", + "annotation" : [ ] + } ] + } + }, { + "localId" : "419", + "name" : "MsPrecPerMinute", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "419", + "s" : [ { + "value" : [ "", "define ", "MsPrecPerMinute", ": " ] + }, { + "r" : "447", + "s" : [ { + "value" : [ "expand " ] + }, { + "r" : "420", + "s" : [ { + "value" : [ "{ " ] + }, { + "r" : "439", + "s" : [ { + "r" : "421", + "value" : [ "Interval[", "@2018-01-01T01:00:00.000+00:00", ", ", "@2018-01-01T01:02:00.000+00:00", "]" ] + } ] + }, { + "value" : [ " }" ] + } ] + }, { + "value" : [ " per ", "minute" ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "455", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "456", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "457", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + }, + "expression" : { + "type" : "Expand", + "localId" : "447", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "452", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "453", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "454", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + }, + "signature" : [ { + "type" : "ListTypeSpecifier", + "localId" : "448", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "449", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "450", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + }, { + "type" : "NamedTypeSpecifier", + "localId" : "451", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "List", + "localId" : "420", + "annotation" : [ ], "resultTypeSpecifier" : { - "localId" : "2448", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "2449", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "2450", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - }, - "expression" : { - "localId" : "2440", - "type" : "Expand", - "resultTypeSpecifier" : { - "localId" : "2445", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "2446", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "2447", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - }, - "signature" : [ { - "localId" : "2441", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "2442", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "2443", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - }, { - "localId" : "2444", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "2415", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "2435", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "2436", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "2437", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - }, - "element" : [ { - "localId" : "2428", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "2429", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "2430", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "2416", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ ], - "year" : { - "localId" : "2417", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2018", - "type" : "Literal" - }, - "month" : { - "localId" : "2418", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "2419", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "2420", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "timezoneOffset" : { - "localId" : "2421", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "0.0", - "type" : "Literal" - } - }, - "high" : { - "localId" : "2422", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ ], - "year" : { - "localId" : "2423", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2018", - "type" : "Literal" - }, - "month" : { - "localId" : "2424", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "2425", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "2426", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "timezoneOffset" : { - "localId" : "2427", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "0.0", - "type" : "Literal" - } - } - }, { - "localId" : "2432", - "type" : "As", - "signature" : [ ], - "operand" : { - "localId" : "2431", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - }, - "asTypeSpecifier" : { - "localId" : "2433", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "2434", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - } ] - }, { - "localId" : "2439", - "value" : 1.0, - "unit" : "hour", - "type" : "Quantity" - } ] - } - }, { - "localId" : "2453", - "name" : "Overlapping", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "2453", - "s" : [ { - "value" : [ "","define ","Overlapping",": " ] - }, { - "r" : "2490", - "s" : [ { - "value" : [ "expand " ] - }, { - "r" : "2454", - "s" : [ { - "value" : [ "{ " ] - }, { - "r" : "2467", - "s" : [ { - "r" : "2455", - "value" : [ "Interval[","@2018-01-01T01+00:00",", ","@2018-01-01T03+00:00","]" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "2482", - "s" : [ { - "r" : "2470", - "value" : [ "Interval[","@2018-01-01T02+00:00",", ","@2018-01-01T04+00:00","]" ] - } ] - }, { - "value" : [ " }" ] - } ] - }, { - "value" : [ " per ","hour" ] - } ] - } ] - } - } ], + "type" : "ListTypeSpecifier", + "localId" : "442", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "443", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "444", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + }, + "element" : [ { + "type" : "Interval", + "localId" : "439", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "440", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "441", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "DateTime", + "localId" : "421", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ ], + "year" : { + "type" : "Literal", + "localId" : "422", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2018", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "423", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "424", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "425", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "426", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "427", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "428", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "timezoneOffset" : { + "type" : "Literal", + "localId" : "429", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "0.0", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "430", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ ], + "year" : { + "type" : "Literal", + "localId" : "431", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2018", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "432", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "433", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "434", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "435", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "436", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "437", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "timezoneOffset" : { + "type" : "Literal", + "localId" : "438", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "0.0", + "annotation" : [ ] + } + } + } ] + }, { + "type" : "Quantity", + "localId" : "446", + "value" : 1.0, + "unit" : "minute", + "annotation" : [ ] + } ] + } + }, { + "localId" : "460", + "name" : "MsPrecPerSecond", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "460", + "s" : [ { + "value" : [ "", "define ", "MsPrecPerSecond", ": " ] + }, { + "r" : "488", + "s" : [ { + "value" : [ "expand " ] + }, { + "r" : "461", + "s" : [ { + "value" : [ "{ " ] + }, { + "r" : "480", + "s" : [ { + "r" : "462", + "value" : [ "Interval[", "@2018-01-01T01:00:00.000+00:00", ", ", "@2018-01-01T01:00:02.000+00:00", "]" ] + } ] + }, { + "value" : [ " }" ] + } ] + }, { + "value" : [ " per ", "second" ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "496", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "497", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "498", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + }, + "expression" : { + "type" : "Expand", + "localId" : "488", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "493", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "494", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "495", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + }, + "signature" : [ { + "type" : "ListTypeSpecifier", + "localId" : "489", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "490", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "491", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + }, { + "type" : "NamedTypeSpecifier", + "localId" : "492", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "List", + "localId" : "461", + "annotation" : [ ], "resultTypeSpecifier" : { - "localId" : "2498", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "2499", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "2500", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - }, - "expression" : { - "localId" : "2490", - "type" : "Expand", - "resultTypeSpecifier" : { - "localId" : "2495", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "2496", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "2497", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - }, - "signature" : [ { - "localId" : "2491", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "2492", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "2493", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - }, { - "localId" : "2494", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "2454", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "2485", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "2486", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "2487", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - }, - "element" : [ { - "localId" : "2467", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "2468", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "2469", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "2455", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ ], - "year" : { - "localId" : "2456", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2018", - "type" : "Literal" - }, - "month" : { - "localId" : "2457", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "2458", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "2459", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "timezoneOffset" : { - "localId" : "2460", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "0.0", - "type" : "Literal" - } - }, - "high" : { - "localId" : "2461", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ ], - "year" : { - "localId" : "2462", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2018", - "type" : "Literal" - }, - "month" : { - "localId" : "2463", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "2464", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "2465", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "timezoneOffset" : { - "localId" : "2466", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "0.0", - "type" : "Literal" - } - } - }, { - "localId" : "2482", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "2483", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "2484", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "2470", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ ], - "year" : { - "localId" : "2471", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2018", - "type" : "Literal" - }, - "month" : { - "localId" : "2472", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "2473", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "2474", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal" - }, - "timezoneOffset" : { - "localId" : "2475", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "0.0", - "type" : "Literal" - } - }, - "high" : { - "localId" : "2476", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ ], - "year" : { - "localId" : "2477", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2018", - "type" : "Literal" - }, - "month" : { - "localId" : "2478", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "2479", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "2480", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "4", - "type" : "Literal" - }, - "timezoneOffset" : { - "localId" : "2481", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "0.0", - "type" : "Literal" - } - } - } ] - }, { - "localId" : "2489", - "value" : 1.0, - "unit" : "hour", - "type" : "Quantity" - } ] - } - }, { - "localId" : "2503", - "name" : "NonOverlapping", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "2503", - "s" : [ { - "value" : [ "","define ","NonOverlapping",": " ] - }, { - "r" : "2540", - "s" : [ { - "value" : [ "expand " ] - }, { - "r" : "2504", - "s" : [ { - "value" : [ "{ " ] - }, { - "r" : "2517", - "s" : [ { - "r" : "2505", - "value" : [ "Interval[","@2018-01-01T01+00:00",", ","@2018-01-01T02+00:00","]" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "2532", - "s" : [ { - "r" : "2520", - "value" : [ "Interval[","@2018-01-01T05+00:00",", ","@2018-01-01T05+00:00","]" ] - } ] - }, { - "value" : [ " }" ] - } ] - }, { - "value" : [ " per ","hour" ] - } ] - } ] - } - } ], + "type" : "ListTypeSpecifier", + "localId" : "483", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "484", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "485", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + }, + "element" : [ { + "type" : "Interval", + "localId" : "480", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "481", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "482", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "DateTime", + "localId" : "462", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ ], + "year" : { + "type" : "Literal", + "localId" : "463", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2018", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "464", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "465", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "466", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "467", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "468", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "469", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "timezoneOffset" : { + "type" : "Literal", + "localId" : "470", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "0.0", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "471", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ ], + "year" : { + "type" : "Literal", + "localId" : "472", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2018", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "473", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "474", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "475", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "476", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "477", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "478", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "timezoneOffset" : { + "type" : "Literal", + "localId" : "479", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "0.0", + "annotation" : [ ] + } + } + } ] + }, { + "type" : "Quantity", + "localId" : "487", + "value" : 1.0, + "unit" : "second", + "annotation" : [ ] + } ] + } + }, { + "localId" : "501", + "name" : "MsPrecPerMillisecond", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "501", + "s" : [ { + "value" : [ "", "define ", "MsPrecPerMillisecond", ": " ] + }, { + "r" : "529", + "s" : [ { + "value" : [ "expand " ] + }, { + "r" : "502", + "s" : [ { + "value" : [ "{ " ] + }, { + "r" : "521", + "s" : [ { + "r" : "503", + "value" : [ "Interval[", "@2018-01-01T01:00:00.000+00:00", ", ", "@2018-01-01T01:00:00.001+00:00", "]" ] + } ] + }, { + "value" : [ " }" ] + } ] + }, { + "value" : [ " per ", "millisecond" ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "537", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "538", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "539", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + }, + "expression" : { + "type" : "Expand", + "localId" : "529", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "534", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "535", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "536", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + }, + "signature" : [ { + "type" : "ListTypeSpecifier", + "localId" : "530", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "531", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "532", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + }, { + "type" : "NamedTypeSpecifier", + "localId" : "533", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "List", + "localId" : "502", + "annotation" : [ ], "resultTypeSpecifier" : { - "localId" : "2548", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "2549", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "2550", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - }, - "expression" : { - "localId" : "2540", - "type" : "Expand", - "resultTypeSpecifier" : { - "localId" : "2545", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "2546", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "2547", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - }, - "signature" : [ { - "localId" : "2541", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "2542", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "2543", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - }, { - "localId" : "2544", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "2504", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "2535", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "2536", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "2537", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - }, - "element" : [ { - "localId" : "2517", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "2518", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "2519", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "2505", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ ], - "year" : { - "localId" : "2506", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2018", - "type" : "Literal" - }, - "month" : { - "localId" : "2507", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "2508", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "2509", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "timezoneOffset" : { - "localId" : "2510", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "0.0", - "type" : "Literal" - } - }, - "high" : { - "localId" : "2511", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ ], - "year" : { - "localId" : "2512", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2018", - "type" : "Literal" - }, - "month" : { - "localId" : "2513", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "2514", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "2515", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal" - }, - "timezoneOffset" : { - "localId" : "2516", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "0.0", - "type" : "Literal" - } - } - }, { - "localId" : "2532", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "2533", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "2534", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "2520", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ ], - "year" : { - "localId" : "2521", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2018", - "type" : "Literal" - }, - "month" : { - "localId" : "2522", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "2523", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "2524", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal" - }, - "timezoneOffset" : { - "localId" : "2525", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "0.0", - "type" : "Literal" - } - }, - "high" : { - "localId" : "2526", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ ], - "year" : { - "localId" : "2527", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2018", - "type" : "Literal" - }, - "month" : { - "localId" : "2528", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "2529", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "2530", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal" - }, - "timezoneOffset" : { - "localId" : "2531", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "0.0", - "type" : "Literal" - } - } - } ] - }, { - "localId" : "2539", - "value" : 1.0, - "unit" : "hour", - "type" : "Quantity" - } ] - } - }, { - "localId" : "2553", - "name" : "NoPerDefaultMS", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "2553", - "s" : [ { - "value" : [ "","define ","NoPerDefaultMS",": " ] - }, { - "r" : "2580", - "s" : [ { - "value" : [ "expand " ] - }, { - "r" : "2554", - "s" : [ { - "value" : [ "{ " ] - }, { - "r" : "2573", - "s" : [ { - "r" : "2555", - "value" : [ "Interval[","@2018-01-01T01:00:00.000+00:00",", ","@2018-01-01T01:00:00.001+00:00","]" ] - } ] - }, { - "value" : [ " }" ] - } ] - } ] - } ] - } - } ], + "type" : "ListTypeSpecifier", + "localId" : "524", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "525", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "526", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + }, + "element" : [ { + "type" : "Interval", + "localId" : "521", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "522", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "523", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "DateTime", + "localId" : "503", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ ], + "year" : { + "type" : "Literal", + "localId" : "504", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2018", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "505", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "506", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "507", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "508", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "509", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "510", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "timezoneOffset" : { + "type" : "Literal", + "localId" : "511", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "0.0", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "512", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ ], + "year" : { + "type" : "Literal", + "localId" : "513", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2018", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "514", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "515", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "516", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "517", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "518", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "519", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "timezoneOffset" : { + "type" : "Literal", + "localId" : "520", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "0.0", + "annotation" : [ ] + } + } + } ] + }, { + "type" : "Quantity", + "localId" : "528", + "value" : 1.0, + "unit" : "millisecond", + "annotation" : [ ] + } ] + } + }, { + "localId" : "542", + "name" : "SecPrecPerYear", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "542", + "s" : [ { + "value" : [ "", "define ", "SecPrecPerYear", ": " ] + }, { + "r" : "568", + "s" : [ { + "value" : [ "expand " ] + }, { + "r" : "543", + "s" : [ { + "value" : [ "{ " ] + }, { + "r" : "560", + "s" : [ { + "r" : "544", + "value" : [ "Interval[", "@2016-01-01T00:00:00+00:00", ", ", "@2018-01-01T00:00:00+00:00", "]" ] + } ] + }, { + "value" : [ " }" ] + } ] + }, { + "value" : [ " per ", "year" ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "576", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "577", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "578", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + }, + "expression" : { + "type" : "Expand", + "localId" : "568", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "573", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "574", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "575", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + }, + "signature" : [ { + "type" : "ListTypeSpecifier", + "localId" : "569", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "570", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "571", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + }, { + "type" : "NamedTypeSpecifier", + "localId" : "572", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "List", + "localId" : "543", + "annotation" : [ ], "resultTypeSpecifier" : { - "localId" : "2588", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "2589", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "2590", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - }, - "expression" : { - "localId" : "2580", - "type" : "Expand", - "resultTypeSpecifier" : { - "localId" : "2585", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "2586", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "2587", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - }, - "signature" : [ { - "localId" : "2581", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "2582", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "2583", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - }, { - "localId" : "2584", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "2554", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "2576", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "2577", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "2578", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - }, - "element" : [ { - "localId" : "2573", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "2574", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "2575", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "2555", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ ], - "year" : { - "localId" : "2556", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2018", - "type" : "Literal" - }, - "month" : { - "localId" : "2557", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "2558", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "2559", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "minute" : { - "localId" : "2560", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "2561", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "2562", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "timezoneOffset" : { - "localId" : "2563", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "0.0", - "type" : "Literal" - } - }, - "high" : { - "localId" : "2564", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ ], - "year" : { - "localId" : "2565", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2018", - "type" : "Literal" - }, - "month" : { - "localId" : "2566", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "2567", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "2568", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "minute" : { - "localId" : "2569", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "2570", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "2571", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "timezoneOffset" : { - "localId" : "2572", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "0.0", - "type" : "Literal" - } - } - } ] - }, { - "localId" : "2579", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "Null" - } ] - } - }, { - "localId" : "2593", - "name" : "NoPerDefaultSec", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "2593", - "s" : [ { - "value" : [ "","define ","NoPerDefaultSec",": " ] - }, { - "r" : "2618", - "s" : [ { - "value" : [ "expand " ] - }, { - "r" : "2594", - "s" : [ { - "value" : [ "{ " ] - }, { - "r" : "2611", - "s" : [ { - "r" : "2595", - "value" : [ "Interval[","@2018-01-01T01:00:00+00:00",", ","@2018-01-01T01:00:01+00:00","]" ] - } ] - }, { - "value" : [ " }" ] - } ] - } ] - } ] - } - } ], + "type" : "ListTypeSpecifier", + "localId" : "563", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "564", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "565", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + }, + "element" : [ { + "type" : "Interval", + "localId" : "560", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "561", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "562", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "DateTime", + "localId" : "544", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ ], + "year" : { + "type" : "Literal", + "localId" : "545", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2016", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "546", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "547", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "548", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "549", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "550", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "timezoneOffset" : { + "type" : "Literal", + "localId" : "551", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "0.0", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "552", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ ], + "year" : { + "type" : "Literal", + "localId" : "553", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2018", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "554", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "555", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "556", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "557", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "558", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "timezoneOffset" : { + "type" : "Literal", + "localId" : "559", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "0.0", + "annotation" : [ ] + } + } + } ] + }, { + "type" : "Quantity", + "localId" : "567", + "value" : 1.0, + "unit" : "year", + "annotation" : [ ] + } ] + } + }, { + "localId" : "581", + "name" : "SecPrecPerMonth", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "581", + "s" : [ { + "value" : [ "", "define ", "SecPrecPerMonth", ": " ] + }, { + "r" : "607", + "s" : [ { + "value" : [ "expand " ] + }, { + "r" : "582", + "s" : [ { + "value" : [ "{ " ] + }, { + "r" : "599", + "s" : [ { + "r" : "583", + "value" : [ "Interval[", "@2018-01-01T00:00:00+00:00", ", ", "@2018-03-01T00:00:00+00:00", "]" ] + } ] + }, { + "value" : [ " }" ] + } ] + }, { + "value" : [ " per ", "month" ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "615", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "616", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "617", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + }, + "expression" : { + "type" : "Expand", + "localId" : "607", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "612", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "613", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "614", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + }, + "signature" : [ { + "type" : "ListTypeSpecifier", + "localId" : "608", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "609", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "610", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + }, { + "type" : "NamedTypeSpecifier", + "localId" : "611", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "List", + "localId" : "582", + "annotation" : [ ], "resultTypeSpecifier" : { - "localId" : "2626", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "2627", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "2628", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - }, - "expression" : { - "localId" : "2618", - "type" : "Expand", - "resultTypeSpecifier" : { - "localId" : "2623", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "2624", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "2625", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - }, - "signature" : [ { - "localId" : "2619", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "2620", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "2621", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - }, { - "localId" : "2622", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "2594", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "2614", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "2615", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "2616", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - }, - "element" : [ { - "localId" : "2611", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "2612", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "2613", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "2595", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ ], - "year" : { - "localId" : "2596", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2018", - "type" : "Literal" - }, - "month" : { - "localId" : "2597", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "2598", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "2599", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "minute" : { - "localId" : "2600", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "2601", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "timezoneOffset" : { - "localId" : "2602", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "0.0", - "type" : "Literal" - } - }, - "high" : { - "localId" : "2603", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ ], - "year" : { - "localId" : "2604", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2018", - "type" : "Literal" - }, - "month" : { - "localId" : "2605", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "2606", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "2607", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "minute" : { - "localId" : "2608", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "2609", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "timezoneOffset" : { - "localId" : "2610", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "0.0", - "type" : "Literal" - } - } - } ] - }, { - "localId" : "2617", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "Null" - } ] - } - }, { - "localId" : "2631", - "name" : "NoPerDefaultMin", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "2631", - "s" : [ { - "value" : [ "","define ","NoPerDefaultMin",": " ] - }, { - "r" : "2654", - "s" : [ { - "value" : [ "expand " ] - }, { - "r" : "2632", - "s" : [ { - "value" : [ "{ " ] - }, { - "r" : "2647", - "s" : [ { - "r" : "2633", - "value" : [ "Interval[","@2018-01-01T01:00+00:00",", ","@2018-01-01T01:01+00:00","]" ] - } ] - }, { - "value" : [ " }" ] - } ] - } ] - } ] - } - } ], + "type" : "ListTypeSpecifier", + "localId" : "602", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "603", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "604", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + }, + "element" : [ { + "type" : "Interval", + "localId" : "599", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "600", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "601", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "DateTime", + "localId" : "583", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ ], + "year" : { + "type" : "Literal", + "localId" : "584", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2018", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "585", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "586", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "587", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "588", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "589", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "timezoneOffset" : { + "type" : "Literal", + "localId" : "590", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "0.0", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "591", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ ], + "year" : { + "type" : "Literal", + "localId" : "592", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2018", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "593", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "594", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "595", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "596", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "597", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "timezoneOffset" : { + "type" : "Literal", + "localId" : "598", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "0.0", + "annotation" : [ ] + } + } + } ] + }, { + "type" : "Quantity", + "localId" : "606", + "value" : 1.0, + "unit" : "month", + "annotation" : [ ] + } ] + } + }, { + "localId" : "620", + "name" : "SecPrecPerWeek", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "620", + "s" : [ { + "value" : [ "", "define ", "SecPrecPerWeek", ": " ] + }, { + "r" : "646", + "s" : [ { + "value" : [ "expand " ] + }, { + "r" : "621", + "s" : [ { + "value" : [ "{ " ] + }, { + "r" : "638", + "s" : [ { + "r" : "622", + "value" : [ "Interval[", "@2018-01-01T00:00:00+00:00", ", ", "@2018-01-21T00:00:00+00:00", "]" ] + } ] + }, { + "value" : [ " }" ] + } ] + }, { + "value" : [ " per ", "week" ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "654", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "655", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "656", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + }, + "expression" : { + "type" : "Expand", + "localId" : "646", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "651", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "652", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "653", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + }, + "signature" : [ { + "type" : "ListTypeSpecifier", + "localId" : "647", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "648", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "649", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + }, { + "type" : "NamedTypeSpecifier", + "localId" : "650", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "List", + "localId" : "621", + "annotation" : [ ], "resultTypeSpecifier" : { - "localId" : "2662", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "2663", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "2664", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - }, - "expression" : { - "localId" : "2654", - "type" : "Expand", - "resultTypeSpecifier" : { - "localId" : "2659", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "2660", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "2661", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - }, - "signature" : [ { - "localId" : "2655", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "2656", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "2657", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - }, { - "localId" : "2658", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "2632", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "2650", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "2651", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "2652", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - }, - "element" : [ { - "localId" : "2647", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "2648", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "2649", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "2633", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ ], - "year" : { - "localId" : "2634", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2018", - "type" : "Literal" - }, - "month" : { - "localId" : "2635", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "2636", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "2637", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "minute" : { - "localId" : "2638", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "timezoneOffset" : { - "localId" : "2639", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "0.0", - "type" : "Literal" - } - }, - "high" : { - "localId" : "2640", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ ], - "year" : { - "localId" : "2641", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2018", - "type" : "Literal" - }, - "month" : { - "localId" : "2642", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "2643", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "2644", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "minute" : { - "localId" : "2645", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "timezoneOffset" : { - "localId" : "2646", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "0.0", - "type" : "Literal" - } - } - } ] - }, { - "localId" : "2653", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "Null" - } ] - } - }, { - "localId" : "2667", - "name" : "NoPerDefaultHour", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "2667", + "type" : "ListTypeSpecifier", + "localId" : "641", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "642", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "643", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + }, + "element" : [ { + "type" : "Interval", + "localId" : "638", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "639", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "640", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "DateTime", + "localId" : "622", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ ], + "year" : { + "type" : "Literal", + "localId" : "623", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2018", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "624", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "625", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "626", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "627", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "628", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "timezoneOffset" : { + "type" : "Literal", + "localId" : "629", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "0.0", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "630", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ ], + "year" : { + "type" : "Literal", + "localId" : "631", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2018", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "632", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "633", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "21", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "634", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "635", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "636", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "timezoneOffset" : { + "type" : "Literal", + "localId" : "637", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "0.0", + "annotation" : [ ] + } + } + } ] + }, { + "type" : "Quantity", + "localId" : "645", + "value" : 1.0, + "unit" : "week", + "annotation" : [ ] + } ] + } + }, { + "localId" : "659", + "name" : "SecPrecPerDay", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "659", + "s" : [ { + "value" : [ "", "define ", "SecPrecPerDay", ": " ] + }, { + "r" : "685", + "s" : [ { + "value" : [ "expand " ] + }, { + "r" : "660", + "s" : [ { + "value" : [ "{ " ] + }, { + "r" : "677", "s" : [ { - "value" : [ "","define ","NoPerDefaultHour",": " ] - }, { - "r" : "2688", - "s" : [ { - "value" : [ "expand " ] - }, { - "r" : "2668", - "s" : [ { - "value" : [ "{ " ] - }, { - "r" : "2681", - "s" : [ { - "r" : "2669", - "value" : [ "Interval[","@2018-01-01T01+00:00",", ","@2018-01-01T01+00:00","]" ] - } ] - }, { - "value" : [ " }" ] - } ] - } ] - } ] - } - } ], + "r" : "661", + "value" : [ "Interval[", "@2018-01-01T00:00:00+00:00", ", ", "@2018-01-03T00:00:00+00:00", "]" ] + } ] + }, { + "value" : [ " }" ] + } ] + }, { + "value" : [ " per ", "day" ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "693", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "694", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "695", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + }, + "expression" : { + "type" : "Expand", + "localId" : "685", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "690", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "691", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "692", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + }, + "signature" : [ { + "type" : "ListTypeSpecifier", + "localId" : "686", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "687", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "688", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + }, { + "type" : "NamedTypeSpecifier", + "localId" : "689", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "List", + "localId" : "660", + "annotation" : [ ], "resultTypeSpecifier" : { - "localId" : "2696", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "2697", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "2698", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - }, - "expression" : { - "localId" : "2688", - "type" : "Expand", - "resultTypeSpecifier" : { - "localId" : "2693", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "2694", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "2695", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - }, - "signature" : [ { - "localId" : "2689", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "2690", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "2691", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - }, { - "localId" : "2692", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "2668", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "2684", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "2685", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "2686", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - }, - "element" : [ { - "localId" : "2681", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "2682", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "2683", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "2669", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ ], - "year" : { - "localId" : "2670", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2018", - "type" : "Literal" - }, - "month" : { - "localId" : "2671", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "2672", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "2673", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "timezoneOffset" : { - "localId" : "2674", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "0.0", - "type" : "Literal" - } - }, - "high" : { - "localId" : "2675", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ ], - "year" : { - "localId" : "2676", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2018", - "type" : "Literal" - }, - "month" : { - "localId" : "2677", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "2678", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "2679", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "timezoneOffset" : { - "localId" : "2680", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "0.0", - "type" : "Literal" - } - } - } ] - }, { - "localId" : "2687", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "Null" - } ] - } - }, { - "localId" : "2701", - "name" : "NoPerDefaultDay", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "2701", + "type" : "ListTypeSpecifier", + "localId" : "680", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "681", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "682", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + }, + "element" : [ { + "type" : "Interval", + "localId" : "677", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "678", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "679", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "DateTime", + "localId" : "661", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ ], + "year" : { + "type" : "Literal", + "localId" : "662", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2018", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "663", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "664", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "665", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "666", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "667", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "timezoneOffset" : { + "type" : "Literal", + "localId" : "668", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "0.0", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "669", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ ], + "year" : { + "type" : "Literal", + "localId" : "670", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2018", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "671", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "672", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "673", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "674", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "675", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "timezoneOffset" : { + "type" : "Literal", + "localId" : "676", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "0.0", + "annotation" : [ ] + } + } + } ] + }, { + "type" : "Quantity", + "localId" : "684", + "value" : 1.0, + "unit" : "day", + "annotation" : [ ] + } ] + } + }, { + "localId" : "698", + "name" : "SecPrecPerHour", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "698", + "s" : [ { + "value" : [ "", "define ", "SecPrecPerHour", ": " ] + }, { + "r" : "724", + "s" : [ { + "value" : [ "expand " ] + }, { + "r" : "699", + "s" : [ { + "value" : [ "{ " ] + }, { + "r" : "716", "s" : [ { - "value" : [ "","define ","NoPerDefaultDay",": " ] - }, { - "r" : "2734", - "s" : [ { - "value" : [ "expand " ] - }, { - "r" : "2702", - "s" : [ { - "value" : [ "{ " ] - }, { - "r" : "2727", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "2711", - "s" : [ { - "r" : "2703", - "value" : [ "DateTime","(","2018",",","01",",","01",")" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "2723", - "s" : [ { - "r" : "2715", - "value" : [ "DateTime","(","2018",",","01",",","01",")" ] - } ] - }, { - "value" : [ "]" ] - } ] - }, { - "value" : [ " }" ] - } ] - } ] - } ] - } - } ], - "resultTypeSpecifier" : { - "localId" : "2742", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "2743", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "2744", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - }, - "expression" : { - "localId" : "2734", - "type" : "Expand", - "resultTypeSpecifier" : { - "localId" : "2739", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "2740", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "2741", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - }, - "signature" : [ { - "localId" : "2735", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "2736", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "2737", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - }, { - "localId" : "2738", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "2702", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "2730", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "2731", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "2732", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - }, - "element" : [ { - "localId" : "2727", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "2728", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "2729", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "2711", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "2712", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2713", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2714", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "2703", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2018", - "type" : "Literal" - }, - "month" : { - "localId" : "2704", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "01", - "type" : "Literal" - }, - "day" : { - "localId" : "2705", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "01", - "type" : "Literal" - } - }, - "high" : { - "localId" : "2723", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "2724", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2725", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2726", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "2715", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2018", - "type" : "Literal" - }, - "month" : { - "localId" : "2716", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "01", - "type" : "Literal" - }, - "day" : { - "localId" : "2717", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "01", - "type" : "Literal" - } - } - } ] - }, { - "localId" : "2733", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "Null" - } ] - } - }, { - "localId" : "2747", - "name" : "NoPerDefaultMonth", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "2747", - "s" : [ { - "value" : [ "","define ","NoPerDefaultMonth",": " ] - }, { - "r" : "2774", - "s" : [ { - "value" : [ "expand " ] - }, { - "r" : "2748", - "s" : [ { - "value" : [ "{ " ] - }, { - "r" : "2767", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "2755", - "s" : [ { - "r" : "2749", - "value" : [ "DateTime","(","2018",",","01",")" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "2764", - "s" : [ { - "r" : "2758", - "value" : [ "DateTime","(","2018",",","01",")" ] - } ] - }, { - "value" : [ "]" ] - } ] - }, { - "value" : [ " }" ] - } ] - } ] - } ] - } - } ], - "resultTypeSpecifier" : { - "localId" : "2782", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "2783", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "2784", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - }, - "expression" : { - "localId" : "2774", - "type" : "Expand", - "resultTypeSpecifier" : { - "localId" : "2779", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "2780", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "2781", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - }, - "signature" : [ { - "localId" : "2775", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "2776", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "2777", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - }, { - "localId" : "2778", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "2748", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "2770", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "2771", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "2772", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - }, - "element" : [ { - "localId" : "2767", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "2768", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "2769", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "2755", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "2756", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2757", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "2749", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2018", - "type" : "Literal" - }, - "month" : { - "localId" : "2750", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "01", - "type" : "Literal" - } - }, - "high" : { - "localId" : "2764", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "2765", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2766", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "2758", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2018", - "type" : "Literal" - }, - "month" : { - "localId" : "2759", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "01", - "type" : "Literal" - } - } - } ] - }, { - "localId" : "2773", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "Null" - } ] - } - }, { - "localId" : "2787", - "name" : "NoPerDefaultYear", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "2787", - "s" : [ { - "value" : [ "","define ","NoPerDefaultYear",": " ] - }, { - "r" : "2808", - "s" : [ { - "value" : [ "expand " ] - }, { - "r" : "2788", - "s" : [ { - "value" : [ "{ " ] - }, { - "r" : "2801", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "2793", - "s" : [ { - "r" : "2789", - "value" : [ "DateTime","(","2018",")" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "2799", - "s" : [ { - "r" : "2795", - "value" : [ "DateTime","(","2018",")" ] - } ] - }, { - "value" : [ "]" ] - } ] - }, { - "value" : [ " }" ] - } ] - } ] - } ] - } - } ], + "r" : "700", + "value" : [ "Interval[", "@2018-01-01T01:00:00+00:00", ", ", "@2018-01-01T03:00:00+00:00", "]" ] + } ] + }, { + "value" : [ " }" ] + } ] + }, { + "value" : [ " per ", "hour" ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "732", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "733", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "734", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + }, + "expression" : { + "type" : "Expand", + "localId" : "724", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "729", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "730", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "731", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + }, + "signature" : [ { + "type" : "ListTypeSpecifier", + "localId" : "725", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "726", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "727", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + }, { + "type" : "NamedTypeSpecifier", + "localId" : "728", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "List", + "localId" : "699", + "annotation" : [ ], "resultTypeSpecifier" : { - "localId" : "2816", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "2817", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "2818", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - }, - "expression" : { - "localId" : "2808", - "type" : "Expand", - "resultTypeSpecifier" : { - "localId" : "2813", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "2814", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "2815", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - }, - "signature" : [ { - "localId" : "2809", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "2810", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "2811", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - }, { - "localId" : "2812", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "2788", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "2804", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "2805", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "2806", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - }, - "element" : [ { - "localId" : "2801", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "2802", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "2803", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "2793", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "2794", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "2789", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2018", - "type" : "Literal" - } - }, - "high" : { - "localId" : "2799", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "2800", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "2795", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2018", - "type" : "Literal" - } - } - } ] - }, { - "localId" : "2807", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "Null" - } ] - } - }, { - "localId" : "2821", - "name" : "OpenStart", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "2821", - "s" : [ { - "value" : [ "","define ","OpenStart",": " ] - }, { - "r" : "2843", - "s" : [ { - "value" : [ "expand " ] - }, { - "r" : "2822", - "s" : [ { - "value" : [ "{ " ] - }, { - "r" : "2835", - "s" : [ { - "r" : "2823", - "value" : [ "Interval(","@2018-01-01T01+00:00",", ","@2018-01-03T01+00:00","]" ] - } ] - }, { - "value" : [ " }" ] - } ] - }, { - "value" : [ " per ","day" ] - } ] - } ] - } - } ], + "type" : "ListTypeSpecifier", + "localId" : "719", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "720", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "721", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + }, + "element" : [ { + "type" : "Interval", + "localId" : "716", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "717", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "718", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "DateTime", + "localId" : "700", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ ], + "year" : { + "type" : "Literal", + "localId" : "701", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2018", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "702", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "703", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "704", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "705", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "706", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "timezoneOffset" : { + "type" : "Literal", + "localId" : "707", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "0.0", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "708", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ ], + "year" : { + "type" : "Literal", + "localId" : "709", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2018", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "710", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "711", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "712", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "713", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "714", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "timezoneOffset" : { + "type" : "Literal", + "localId" : "715", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "0.0", + "annotation" : [ ] + } + } + } ] + }, { + "type" : "Quantity", + "localId" : "723", + "value" : 1.0, + "unit" : "hour", + "annotation" : [ ] + } ] + } + }, { + "localId" : "737", + "name" : "SecPrecPerMinute", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "737", + "s" : [ { + "value" : [ "", "define ", "SecPrecPerMinute", ": " ] + }, { + "r" : "763", + "s" : [ { + "value" : [ "expand " ] + }, { + "r" : "738", + "s" : [ { + "value" : [ "{ " ] + }, { + "r" : "755", + "s" : [ { + "r" : "739", + "value" : [ "Interval[", "@2018-01-01T01:00:00+00:00", ", ", "@2018-01-01T01:02:00+00:00", "]" ] + } ] + }, { + "value" : [ " }" ] + } ] + }, { + "value" : [ " per ", "minute" ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "771", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "772", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "773", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + }, + "expression" : { + "type" : "Expand", + "localId" : "763", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "768", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "769", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "770", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + }, + "signature" : [ { + "type" : "ListTypeSpecifier", + "localId" : "764", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "765", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "766", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + }, { + "type" : "NamedTypeSpecifier", + "localId" : "767", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "List", + "localId" : "738", + "annotation" : [ ], "resultTypeSpecifier" : { - "localId" : "2851", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "2852", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "2853", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - }, - "expression" : { - "localId" : "2843", - "type" : "Expand", - "resultTypeSpecifier" : { - "localId" : "2848", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "2849", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "2850", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - }, - "signature" : [ { - "localId" : "2844", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "2845", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "2846", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - }, { - "localId" : "2847", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "2822", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "2838", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "2839", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "2840", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - }, - "element" : [ { - "localId" : "2835", - "lowClosed" : false, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "2836", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "2837", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "2823", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ ], - "year" : { - "localId" : "2824", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2018", - "type" : "Literal" - }, - "month" : { - "localId" : "2825", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "2826", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "2827", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "timezoneOffset" : { - "localId" : "2828", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "0.0", - "type" : "Literal" - } - }, - "high" : { - "localId" : "2829", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ ], - "year" : { - "localId" : "2830", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2018", - "type" : "Literal" - }, - "month" : { - "localId" : "2831", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "2832", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "hour" : { - "localId" : "2833", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "timezoneOffset" : { - "localId" : "2834", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "0.0", - "type" : "Literal" - } - } - } ] - }, { - "localId" : "2842", - "value" : 1.0, - "unit" : "day", - "type" : "Quantity" - } ] - } - }, { - "localId" : "2856", - "name" : "OpenEnd", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "2856", - "s" : [ { - "value" : [ "","define ","OpenEnd",": " ] - }, { - "r" : "2878", - "s" : [ { - "value" : [ "expand " ] - }, { - "r" : "2857", - "s" : [ { - "value" : [ "{ " ] - }, { - "r" : "2870", - "s" : [ { - "r" : "2858", - "value" : [ "Interval[","@2018-01-01T01+00:00",", ","@2018-01-03T01+00:00",")" ] - } ] - }, { - "value" : [ " }" ] - } ] - }, { - "value" : [ " per ","day" ] - } ] - } ] - } - } ], + "type" : "ListTypeSpecifier", + "localId" : "758", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "759", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "760", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + }, + "element" : [ { + "type" : "Interval", + "localId" : "755", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "756", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "757", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "DateTime", + "localId" : "739", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ ], + "year" : { + "type" : "Literal", + "localId" : "740", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2018", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "741", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "742", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "743", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "744", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "745", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "timezoneOffset" : { + "type" : "Literal", + "localId" : "746", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "0.0", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "747", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ ], + "year" : { + "type" : "Literal", + "localId" : "748", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2018", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "749", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "750", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "751", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "752", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "753", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "timezoneOffset" : { + "type" : "Literal", + "localId" : "754", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "0.0", + "annotation" : [ ] + } + } + } ] + }, { + "type" : "Quantity", + "localId" : "762", + "value" : 1.0, + "unit" : "minute", + "annotation" : [ ] + } ] + } + }, { + "localId" : "776", + "name" : "SecPrecPerSecond", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "776", + "s" : [ { + "value" : [ "", "define ", "SecPrecPerSecond", ": " ] + }, { + "r" : "802", + "s" : [ { + "value" : [ "expand " ] + }, { + "r" : "777", + "s" : [ { + "value" : [ "{ " ] + }, { + "r" : "794", + "s" : [ { + "r" : "778", + "value" : [ "Interval[", "@2018-01-01T01:00:00+00:00", ", ", "@2018-01-01T01:00:01+00:00", "]" ] + } ] + }, { + "value" : [ " }" ] + } ] + }, { + "value" : [ " per ", "second" ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "810", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "811", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "812", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + }, + "expression" : { + "type" : "Expand", + "localId" : "802", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "807", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "808", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "809", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + }, + "signature" : [ { + "type" : "ListTypeSpecifier", + "localId" : "803", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "804", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "805", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + }, { + "type" : "NamedTypeSpecifier", + "localId" : "806", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "List", + "localId" : "777", + "annotation" : [ ], "resultTypeSpecifier" : { - "localId" : "2886", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "2887", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "2888", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - }, - "expression" : { - "localId" : "2878", - "type" : "Expand", - "resultTypeSpecifier" : { - "localId" : "2883", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "2884", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "2885", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - }, - "signature" : [ { - "localId" : "2879", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "2880", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "2881", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - }, { - "localId" : "2882", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "2857", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "2873", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "2874", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "2875", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - }, - "element" : [ { - "localId" : "2870", - "lowClosed" : true, - "highClosed" : false, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "2871", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "2872", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "2858", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ ], - "year" : { - "localId" : "2859", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2018", - "type" : "Literal" - }, - "month" : { - "localId" : "2860", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "2861", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "2862", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "timezoneOffset" : { - "localId" : "2863", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "0.0", - "type" : "Literal" - } - }, - "high" : { - "localId" : "2864", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ ], - "year" : { - "localId" : "2865", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2018", - "type" : "Literal" - }, - "month" : { - "localId" : "2866", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "2867", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "hour" : { - "localId" : "2868", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "timezoneOffset" : { - "localId" : "2869", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "0.0", - "type" : "Literal" - } - } - } ] - }, { - "localId" : "2877", - "value" : 1.0, - "unit" : "day", - "type" : "Quantity" - } ] - } - }, { - "localId" : "2891", - "name" : "OpenBoth", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "2891", - "s" : [ { - "value" : [ "","define ","OpenBoth",": " ] - }, { - "r" : "2913", - "s" : [ { - "value" : [ "expand " ] - }, { - "r" : "2892", - "s" : [ { - "value" : [ "{ " ] - }, { - "r" : "2905", - "s" : [ { - "r" : "2893", - "value" : [ "Interval(","@2018-01-01T01+00:00",", ","@2018-01-03T01+00:00",")" ] - } ] - }, { - "value" : [ " }" ] - } ] - }, { - "value" : [ " per ","day" ] - } ] - } ] - } - } ], + "type" : "ListTypeSpecifier", + "localId" : "797", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "798", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "799", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + }, + "element" : [ { + "type" : "Interval", + "localId" : "794", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "795", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "796", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "DateTime", + "localId" : "778", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ ], + "year" : { + "type" : "Literal", + "localId" : "779", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2018", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "780", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "781", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "782", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "783", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "784", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "timezoneOffset" : { + "type" : "Literal", + "localId" : "785", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "0.0", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "786", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ ], + "year" : { + "type" : "Literal", + "localId" : "787", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2018", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "788", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "789", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "790", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "791", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "792", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "timezoneOffset" : { + "type" : "Literal", + "localId" : "793", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "0.0", + "annotation" : [ ] + } + } + } ] + }, { + "type" : "Quantity", + "localId" : "801", + "value" : 1.0, + "unit" : "second", + "annotation" : [ ] + } ] + } + }, { + "localId" : "815", + "name" : "SecPrecPerMillisecond", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "815", + "s" : [ { + "value" : [ "", "define ", "SecPrecPerMillisecond", ": " ] + }, { + "r" : "841", + "s" : [ { + "value" : [ "expand " ] + }, { + "r" : "816", + "s" : [ { + "value" : [ "{ " ] + }, { + "r" : "833", + "s" : [ { + "r" : "817", + "value" : [ "Interval[", "@2018-01-01T01:00:00+00:00", ", ", "@2018-01-01T01:00:00+00:00", "]" ] + } ] + }, { + "value" : [ " }" ] + } ] + }, { + "value" : [ " per ", "millisecond" ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "849", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "850", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "851", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + }, + "expression" : { + "type" : "Expand", + "localId" : "841", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "846", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "847", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "848", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + }, + "signature" : [ { + "type" : "ListTypeSpecifier", + "localId" : "842", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "843", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "844", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + }, { + "type" : "NamedTypeSpecifier", + "localId" : "845", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "List", + "localId" : "816", + "annotation" : [ ], "resultTypeSpecifier" : { - "localId" : "2921", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "2922", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "2923", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - }, - "expression" : { - "localId" : "2913", - "type" : "Expand", - "resultTypeSpecifier" : { - "localId" : "2918", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "2919", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "2920", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - }, - "signature" : [ { - "localId" : "2914", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "2915", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "2916", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - }, { - "localId" : "2917", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "2892", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "2908", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "2909", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "2910", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - }, - "element" : [ { - "localId" : "2905", - "lowClosed" : false, - "highClosed" : false, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "2906", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "2907", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "2893", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ ], - "year" : { - "localId" : "2894", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2018", - "type" : "Literal" - }, - "month" : { - "localId" : "2895", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "2896", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "2897", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "timezoneOffset" : { - "localId" : "2898", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "0.0", - "type" : "Literal" - } - }, - "high" : { - "localId" : "2899", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ ], - "year" : { - "localId" : "2900", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2018", - "type" : "Literal" - }, - "month" : { - "localId" : "2901", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "2902", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "hour" : { - "localId" : "2903", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "timezoneOffset" : { - "localId" : "2904", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "0.0", - "type" : "Literal" - } - } - } ] - }, { - "localId" : "2912", - "value" : 1.0, - "unit" : "day", - "type" : "Quantity" - } ] - } - }, { - "localId" : "2926", - "name" : "MismatchPrecision", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "2926", - "s" : [ { - "value" : [ "","define ","MismatchPrecision",": " ] - }, { - "r" : "2951", - "s" : [ { - "value" : [ "expand " ] - }, { - "r" : "2927", - "s" : [ { - "value" : [ "{ " ] - }, { - "r" : "2943", - "s" : [ { - "r" : "2928", - "value" : [ "Interval[","@2012-01-01T12:00+00:00",", ","@2012-01-02T12:00:00+00:00","]" ] - } ] - }, { - "value" : [ " }" ] - } ] - }, { - "value" : [ " per ","day" ] - } ] - } ] - } - } ], + "type" : "ListTypeSpecifier", + "localId" : "836", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "837", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "838", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + }, + "element" : [ { + "type" : "Interval", + "localId" : "833", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "834", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "835", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "DateTime", + "localId" : "817", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ ], + "year" : { + "type" : "Literal", + "localId" : "818", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2018", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "819", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "820", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "821", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "822", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "823", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "timezoneOffset" : { + "type" : "Literal", + "localId" : "824", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "0.0", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "825", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ ], + "year" : { + "type" : "Literal", + "localId" : "826", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2018", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "827", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "828", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "829", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "830", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "831", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "timezoneOffset" : { + "type" : "Literal", + "localId" : "832", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "0.0", + "annotation" : [ ] + } + } + } ] + }, { + "type" : "Quantity", + "localId" : "840", + "value" : 1.0, + "unit" : "millisecond", + "annotation" : [ ] + } ] + } + }, { + "localId" : "854", + "name" : "MinPrecPerYear", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "854", + "s" : [ { + "value" : [ "", "define ", "MinPrecPerYear", ": " ] + }, { + "r" : "878", + "s" : [ { + "value" : [ "expand " ] + }, { + "r" : "855", + "s" : [ { + "value" : [ "{ " ] + }, { + "r" : "870", + "s" : [ { + "r" : "856", + "value" : [ "Interval[", "@2016-01-01T00:00+00:00", ", ", "@2018-01-01T00:00+00:00", "]" ] + } ] + }, { + "value" : [ " }" ] + } ] + }, { + "value" : [ " per ", "year" ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "886", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "887", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "888", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + }, + "expression" : { + "type" : "Expand", + "localId" : "878", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "883", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "884", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "885", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + }, + "signature" : [ { + "type" : "ListTypeSpecifier", + "localId" : "879", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "880", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "881", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + }, { + "type" : "NamedTypeSpecifier", + "localId" : "882", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "List", + "localId" : "855", + "annotation" : [ ], "resultTypeSpecifier" : { - "localId" : "2959", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "2960", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "2961", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - }, - "expression" : { - "localId" : "2951", - "type" : "Expand", - "resultTypeSpecifier" : { - "localId" : "2956", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "2957", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "2958", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - }, - "signature" : [ { - "localId" : "2952", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "2953", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "2954", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - }, { - "localId" : "2955", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "2927", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "2946", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "2947", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "2948", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - }, - "element" : [ { - "localId" : "2943", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "2944", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "2945", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "2928", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ ], - "year" : { - "localId" : "2929", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "2930", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "2931", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "2932", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "12", - "type" : "Literal" - }, - "minute" : { - "localId" : "2933", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "timezoneOffset" : { - "localId" : "2934", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "0.0", - "type" : "Literal" - } - }, - "high" : { - "localId" : "2935", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ ], - "year" : { - "localId" : "2936", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "2937", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "2938", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal" - }, - "hour" : { - "localId" : "2939", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "12", - "type" : "Literal" - }, - "minute" : { - "localId" : "2940", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "2941", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "timezoneOffset" : { - "localId" : "2942", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "0.0", - "type" : "Literal" - } - } - } ] - }, { - "localId" : "2950", - "value" : 1.0, - "unit" : "day", - "type" : "Quantity" - } ] - } - }, { - "localId" : "2964", - "name" : "MismatchPrecisionResultLongerThanInput", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "2964", - "s" : [ { - "value" : [ "","define ","MismatchPrecisionResultLongerThanInput",": " ] - }, { - "r" : "2989", - "s" : [ { - "value" : [ "expand " ] - }, { - "r" : "2965", - "s" : [ { - "value" : [ "{ " ] - }, { - "r" : "2981", - "s" : [ { - "r" : "2966", - "value" : [ "Interval[","@2012-01-01T13:00:00+00:00",", ","@2012-01-02T12:59+00:00","]" ] - } ] - }, { - "value" : [ " }" ] - } ] - }, { - "value" : [ " per ","day" ] - } ] - } ] - } - } ], + "type" : "ListTypeSpecifier", + "localId" : "873", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "874", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "875", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + }, + "element" : [ { + "type" : "Interval", + "localId" : "870", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "871", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "872", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "DateTime", + "localId" : "856", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ ], + "year" : { + "type" : "Literal", + "localId" : "857", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2016", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "858", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "859", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "860", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "861", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "timezoneOffset" : { + "type" : "Literal", + "localId" : "862", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "0.0", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "863", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ ], + "year" : { + "type" : "Literal", + "localId" : "864", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2018", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "865", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "866", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "867", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "868", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "timezoneOffset" : { + "type" : "Literal", + "localId" : "869", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "0.0", + "annotation" : [ ] + } + } + } ] + }, { + "type" : "Quantity", + "localId" : "877", + "value" : 1.0, + "unit" : "year", + "annotation" : [ ] + } ] + } + }, { + "localId" : "891", + "name" : "MinPrecPerMonth", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "891", + "s" : [ { + "value" : [ "", "define ", "MinPrecPerMonth", ": " ] + }, { + "r" : "915", + "s" : [ { + "value" : [ "expand " ] + }, { + "r" : "892", + "s" : [ { + "value" : [ "{ " ] + }, { + "r" : "907", + "s" : [ { + "r" : "893", + "value" : [ "Interval[", "@2018-01-01T00:00+00:00", ", ", "@2018-03-01T00:00+00:00", "]" ] + } ] + }, { + "value" : [ " }" ] + } ] + }, { + "value" : [ " per ", "month" ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "923", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "924", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "925", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + }, + "expression" : { + "type" : "Expand", + "localId" : "915", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "920", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "921", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "922", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + }, + "signature" : [ { + "type" : "ListTypeSpecifier", + "localId" : "916", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "917", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "918", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + }, { + "type" : "NamedTypeSpecifier", + "localId" : "919", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "List", + "localId" : "892", + "annotation" : [ ], "resultTypeSpecifier" : { - "localId" : "2997", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "2998", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "2999", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - }, - "expression" : { - "localId" : "2989", - "type" : "Expand", - "resultTypeSpecifier" : { - "localId" : "2994", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "2995", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "2996", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - }, - "signature" : [ { - "localId" : "2990", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "2991", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "2992", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - }, { - "localId" : "2993", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "2965", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "2984", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "2985", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "2986", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - }, - "element" : [ { - "localId" : "2981", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "2982", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "2983", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "2966", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ ], - "year" : { - "localId" : "2967", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "2968", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "2969", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "2970", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "13", - "type" : "Literal" - }, - "minute" : { - "localId" : "2971", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "2972", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "timezoneOffset" : { - "localId" : "2973", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "0.0", - "type" : "Literal" - } - }, - "high" : { - "localId" : "2974", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ ], - "year" : { - "localId" : "2975", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "2976", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "2977", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal" - }, - "hour" : { - "localId" : "2978", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "12", - "type" : "Literal" - }, - "minute" : { - "localId" : "2979", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal" - }, - "timezoneOffset" : { - "localId" : "2980", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "0.0", - "type" : "Literal" - } - } - } ] - }, { - "localId" : "2988", - "value" : 1.0, - "unit" : "day", - "type" : "Quantity" - } ] - } - }, { - "localId" : "3002", - "name" : "EmptyList", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "3002", - "s" : [ { - "value" : [ "","define ","EmptyList",": " ] - }, { - "r" : "3007", - "s" : [ { - "value" : [ "List<" ] - }, { - "r" : "3003", - "s" : [ { - "value" : [ "Interval<" ] - }, { - "r" : "3004", - "s" : [ { - "value" : [ "Date" ] - } ] - }, { - "value" : [ ">" ] - } ] - }, { - "value" : [ ">{}" ] - } ] - } ] - } - } ], + "type" : "ListTypeSpecifier", + "localId" : "910", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "911", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "912", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + }, + "element" : [ { + "type" : "Interval", + "localId" : "907", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "908", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "909", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "DateTime", + "localId" : "893", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ ], + "year" : { + "type" : "Literal", + "localId" : "894", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2018", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "895", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "896", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "897", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "898", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "timezoneOffset" : { + "type" : "Literal", + "localId" : "899", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "0.0", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "900", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ ], + "year" : { + "type" : "Literal", + "localId" : "901", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2018", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "902", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "903", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "904", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "905", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "timezoneOffset" : { + "type" : "Literal", + "localId" : "906", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "0.0", + "annotation" : [ ] + } + } + } ] + }, { + "type" : "Quantity", + "localId" : "914", + "value" : 1.0, + "unit" : "month", + "annotation" : [ ] + } ] + } + }, { + "localId" : "928", + "name" : "MinPrecPerWeek", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "928", + "s" : [ { + "value" : [ "", "define ", "MinPrecPerWeek", ": " ] + }, { + "r" : "952", + "s" : [ { + "value" : [ "expand " ] + }, { + "r" : "929", + "s" : [ { + "value" : [ "{ " ] + }, { + "r" : "944", + "s" : [ { + "r" : "930", + "value" : [ "Interval[", "@2018-01-01T00:00+00:00", ", ", "@2018-01-21T00:00+00:00", "]" ] + } ] + }, { + "value" : [ " }" ] + } ] + }, { + "value" : [ " per ", "week" ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "960", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "961", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "962", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + }, + "expression" : { + "type" : "Expand", + "localId" : "952", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "957", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "958", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "959", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + }, + "signature" : [ { + "type" : "ListTypeSpecifier", + "localId" : "953", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "954", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "955", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + }, { + "type" : "NamedTypeSpecifier", + "localId" : "956", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "List", + "localId" : "929", + "annotation" : [ ], "resultTypeSpecifier" : { - "localId" : "3012", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "3013", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "3014", - "name" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "NamedTypeSpecifier" - } - } - }, - "expression" : { - "localId" : "3007", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "3009", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "3010", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "3011", - "name" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "NamedTypeSpecifier" - } - } - }, - "element" : [ ] - } - }, { - "localId" : "3017", - "name" : "NullOpen", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "3017", - "s" : [ { - "value" : [ "","define ","NullOpen",": " ] - }, { - "r" : "3035", - "s" : [ { - "value" : [ "expand " ] - }, { - "r" : "3018", - "s" : [ { - "value" : [ "{ " ] - }, { - "r" : "3026", - "s" : [ { - "r" : "3019", - "value" : [ "Interval[","null",", ","@2018-01-03T01+00:00","]" ] - } ] - }, { - "value" : [ " }" ] - } ] - }, { - "value" : [ " per ","day" ] - } ] - } ] - } - } ], + "type" : "ListTypeSpecifier", + "localId" : "947", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "948", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "949", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + }, + "element" : [ { + "type" : "Interval", + "localId" : "944", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "945", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "946", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "DateTime", + "localId" : "930", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ ], + "year" : { + "type" : "Literal", + "localId" : "931", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2018", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "932", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "933", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "934", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "935", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "timezoneOffset" : { + "type" : "Literal", + "localId" : "936", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "0.0", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "937", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ ], + "year" : { + "type" : "Literal", + "localId" : "938", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2018", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "939", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "940", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "21", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "941", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "942", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "timezoneOffset" : { + "type" : "Literal", + "localId" : "943", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "0.0", + "annotation" : [ ] + } + } + } ] + }, { + "type" : "Quantity", + "localId" : "951", + "value" : 1.0, + "unit" : "week", + "annotation" : [ ] + } ] + } + }, { + "localId" : "965", + "name" : "MinPrecPerDay", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "965", + "s" : [ { + "value" : [ "", "define ", "MinPrecPerDay", ": " ] + }, { + "r" : "989", + "s" : [ { + "value" : [ "expand " ] + }, { + "r" : "966", + "s" : [ { + "value" : [ "{ " ] + }, { + "r" : "981", + "s" : [ { + "r" : "967", + "value" : [ "Interval[", "@2018-01-01T00:00+00:00", ", ", "@2018-01-03T00:00+00:00", "]" ] + } ] + }, { + "value" : [ " }" ] + } ] + }, { + "value" : [ " per ", "day" ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "997", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "998", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "999", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + }, + "expression" : { + "type" : "Expand", + "localId" : "989", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "994", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "995", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "996", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + }, + "signature" : [ { + "type" : "ListTypeSpecifier", + "localId" : "990", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "991", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "992", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + }, { + "type" : "NamedTypeSpecifier", + "localId" : "993", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "List", + "localId" : "966", + "annotation" : [ ], "resultTypeSpecifier" : { - "localId" : "3043", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "3044", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "3045", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - }, - "expression" : { - "localId" : "3035", - "type" : "Expand", - "resultTypeSpecifier" : { - "localId" : "3040", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "3041", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "3042", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - }, - "signature" : [ { - "localId" : "3036", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "3037", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "3038", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - }, { - "localId" : "3039", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "3018", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "3030", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "3031", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "3032", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - }, - "element" : [ { - "localId" : "3026", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "3028", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "3029", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "3027", - "asType" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "As", - "signature" : [ ], - "operand" : { - "localId" : "3019", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - } - }, - "high" : { - "localId" : "3020", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ ], - "year" : { - "localId" : "3021", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2018", - "type" : "Literal" - }, - "month" : { - "localId" : "3022", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "3023", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "hour" : { - "localId" : "3024", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "timezoneOffset" : { - "localId" : "3025", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "0.0", - "type" : "Literal" - } - } - } ] - }, { - "localId" : "3034", - "value" : 1.0, - "unit" : "day", - "type" : "Quantity" - } ] - } - }, { - "localId" : "3048", - "name" : "NullClose", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "3048", - "s" : [ { - "value" : [ "","define ","NullClose",": " ] - }, { - "r" : "3066", - "s" : [ { - "value" : [ "expand " ] - }, { - "r" : "3049", - "s" : [ { - "value" : [ "{ " ] - }, { - "r" : "3057", - "s" : [ { - "r" : "3050", - "value" : [ "Interval[","@2018-01-01T01+00:00",", ","null","]" ] - } ] - }, { - "value" : [ " }" ] - } ] - }, { - "value" : [ " per ","day" ] - } ] - } ] - } - } ], + "type" : "ListTypeSpecifier", + "localId" : "984", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "985", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "986", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + }, + "element" : [ { + "type" : "Interval", + "localId" : "981", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "982", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "983", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "DateTime", + "localId" : "967", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ ], + "year" : { + "type" : "Literal", + "localId" : "968", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2018", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "969", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "970", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "971", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "972", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "timezoneOffset" : { + "type" : "Literal", + "localId" : "973", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "0.0", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "974", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ ], + "year" : { + "type" : "Literal", + "localId" : "975", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2018", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "976", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "977", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "978", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "979", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "timezoneOffset" : { + "type" : "Literal", + "localId" : "980", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "0.0", + "annotation" : [ ] + } + } + } ] + }, { + "type" : "Quantity", + "localId" : "988", + "value" : 1.0, + "unit" : "day", + "annotation" : [ ] + } ] + } + }, { + "localId" : "1002", + "name" : "MinPrecPerHour", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "1002", + "s" : [ { + "value" : [ "", "define ", "MinPrecPerHour", ": " ] + }, { + "r" : "1026", + "s" : [ { + "value" : [ "expand " ] + }, { + "r" : "1003", + "s" : [ { + "value" : [ "{ " ] + }, { + "r" : "1018", + "s" : [ { + "r" : "1004", + "value" : [ "Interval[", "@2018-01-01T01:00+00:00", ", ", "@2018-01-01T03:00+00:00", "]" ] + } ] + }, { + "value" : [ " }" ] + } ] + }, { + "value" : [ " per ", "hour" ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "1034", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1035", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1036", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + }, + "expression" : { + "type" : "Expand", + "localId" : "1026", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "1031", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1032", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1033", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + }, + "signature" : [ { + "type" : "ListTypeSpecifier", + "localId" : "1027", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1028", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1029", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1030", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "List", + "localId" : "1003", + "annotation" : [ ], "resultTypeSpecifier" : { - "localId" : "3074", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "3075", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "3076", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - }, - "expression" : { - "localId" : "3066", - "type" : "Expand", - "resultTypeSpecifier" : { - "localId" : "3071", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "3072", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "3073", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - }, - "signature" : [ { - "localId" : "3067", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "3068", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "3069", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - }, { - "localId" : "3070", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "3049", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "3061", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "3062", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "3063", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - }, - "element" : [ { - "localId" : "3057", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "3059", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "3060", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "3050", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ ], - "year" : { - "localId" : "3051", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2018", - "type" : "Literal" - }, - "month" : { - "localId" : "3052", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "3053", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "3054", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "timezoneOffset" : { - "localId" : "3055", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "0.0", - "type" : "Literal" - } - }, - "high" : { - "localId" : "3058", - "asType" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "As", - "signature" : [ ], - "operand" : { - "localId" : "3056", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - } - } - } ] - }, { - "localId" : "3065", - "value" : 1.0, - "unit" : "day", - "type" : "Quantity" - } ] - } - }, { - "localId" : "3079", - "name" : "NullBoth", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "3079", - "s" : [ { - "value" : [ "","define ","NullBoth",": " ] - }, { - "r" : "3091", - "s" : [ { - "value" : [ "expand " ] - }, { - "r" : "3080", - "s" : [ { - "value" : [ "{ " ] - }, { - "r" : "3083", - "s" : [ { - "r" : "3081", - "value" : [ "Interval[","null",", ","null","]" ] - } ] - }, { - "value" : [ " }" ] - } ] - }, { - "value" : [ " per ","day" ] - } ] - } ] - } - } ], + "type" : "ListTypeSpecifier", + "localId" : "1021", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1022", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1023", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + }, + "element" : [ { + "type" : "Interval", + "localId" : "1018", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1019", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1020", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "DateTime", + "localId" : "1004", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ ], + "year" : { + "type" : "Literal", + "localId" : "1005", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2018", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1006", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "1007", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "1008", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "1009", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "timezoneOffset" : { + "type" : "Literal", + "localId" : "1010", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "0.0", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "1011", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ ], + "year" : { + "type" : "Literal", + "localId" : "1012", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2018", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1013", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "1014", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "1015", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "1016", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "timezoneOffset" : { + "type" : "Literal", + "localId" : "1017", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "0.0", + "annotation" : [ ] + } + } + } ] + }, { + "type" : "Quantity", + "localId" : "1025", + "value" : 1.0, + "unit" : "hour", + "annotation" : [ ] + } ] + } + }, { + "localId" : "1039", + "name" : "MinPrecPerMinute", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "1039", + "s" : [ { + "value" : [ "", "define ", "MinPrecPerMinute", ": " ] + }, { + "r" : "1063", + "s" : [ { + "value" : [ "expand " ] + }, { + "r" : "1040", + "s" : [ { + "value" : [ "{ " ] + }, { + "r" : "1055", + "s" : [ { + "r" : "1041", + "value" : [ "Interval[", "@2018-01-01T01:00+00:00", ", ", "@2018-01-01T01:01+00:00", "]" ] + } ] + }, { + "value" : [ " }" ] + } ] + }, { + "value" : [ " per ", "minute" ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "1071", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1072", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1073", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + }, + "expression" : { + "type" : "Expand", + "localId" : "1063", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "1068", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1069", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1070", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + }, + "signature" : [ { + "type" : "ListTypeSpecifier", + "localId" : "1064", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1065", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1066", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1067", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "List", + "localId" : "1040", + "annotation" : [ ], "resultTypeSpecifier" : { - "localId" : "3099", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "3100", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "3101", - "name" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "NamedTypeSpecifier" - } - } - }, - "expression" : { - "localId" : "3091", - "type" : "Expand", - "resultTypeSpecifier" : { - "localId" : "3096", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "3097", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "3098", - "name" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "NamedTypeSpecifier" - } - } - }, - "signature" : [ { - "localId" : "3092", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "3093", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "3094", - "name" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "NamedTypeSpecifier" - } - } - }, { - "localId" : "3095", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "3080", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "3086", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "3087", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "3088", - "name" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "NamedTypeSpecifier" - } - } - }, - "element" : [ { - "localId" : "3083", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "3084", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "3085", - "name" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "3081", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - }, - "high" : { - "localId" : "3082", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - } - } ] - }, { - "localId" : "3090", - "value" : 1.0, - "unit" : "day", - "type" : "Quantity" - } ] - } - }, { - "localId" : "3104", - "name" : "BadPerGram", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "3104", - "s" : [ { - "value" : [ "","define ","BadPerGram",": " ] - }, { - "r" : "3126", - "s" : [ { - "value" : [ "expand " ] - }, { - "r" : "3105", - "s" : [ { - "value" : [ "{ " ] - }, { - "r" : "3118", - "s" : [ { - "r" : "3106", - "value" : [ "Interval[","@2018-01-01T01+00:00",", ","@2018-01-04T01+00:00","]" ] - } ] - }, { - "value" : [ " }" ] - } ] - }, { - "value" : [ " per " ] - }, { - "r" : "3125", - "s" : [ { - "value" : [ "1 ","'g'" ] - } ] - } ] - } ] - } - } ], + "type" : "ListTypeSpecifier", + "localId" : "1058", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1059", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1060", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + }, + "element" : [ { + "type" : "Interval", + "localId" : "1055", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1056", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1057", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "DateTime", + "localId" : "1041", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ ], + "year" : { + "type" : "Literal", + "localId" : "1042", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2018", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1043", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "1044", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "1045", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "1046", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "timezoneOffset" : { + "type" : "Literal", + "localId" : "1047", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "0.0", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "1048", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ ], + "year" : { + "type" : "Literal", + "localId" : "1049", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2018", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1050", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "1051", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "1052", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "1053", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "timezoneOffset" : { + "type" : "Literal", + "localId" : "1054", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "0.0", + "annotation" : [ ] + } + } + } ] + }, { + "type" : "Quantity", + "localId" : "1062", + "value" : 1.0, + "unit" : "minute", + "annotation" : [ ] + } ] + } + }, { + "localId" : "1076", + "name" : "MinPrecPerSecond", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "1076", + "s" : [ { + "value" : [ "", "define ", "MinPrecPerSecond", ": " ] + }, { + "r" : "1100", + "s" : [ { + "value" : [ "expand " ] + }, { + "r" : "1077", + "s" : [ { + "value" : [ "{ " ] + }, { + "r" : "1092", + "s" : [ { + "r" : "1078", + "value" : [ "Interval[", "@2018-01-01T01:00+00:00", ", ", "@2018-01-01T01:00+00:00", "]" ] + } ] + }, { + "value" : [ " }" ] + } ] + }, { + "value" : [ " per ", "second" ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "1108", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1109", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1110", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + }, + "expression" : { + "type" : "Expand", + "localId" : "1100", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "1105", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1106", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1107", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + }, + "signature" : [ { + "type" : "ListTypeSpecifier", + "localId" : "1101", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1102", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1103", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1104", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "List", + "localId" : "1077", + "annotation" : [ ], "resultTypeSpecifier" : { - "localId" : "3134", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "3135", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "3136", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - }, - "expression" : { - "localId" : "3126", - "type" : "Expand", - "resultTypeSpecifier" : { - "localId" : "3131", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "3132", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "3133", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - }, - "signature" : [ { - "localId" : "3127", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "3128", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "3129", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - }, { - "localId" : "3130", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "3105", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "3121", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "3122", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "3123", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - }, - "element" : [ { - "localId" : "3118", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "3119", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "3120", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "3106", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ ], - "year" : { - "localId" : "3107", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2018", - "type" : "Literal" - }, - "month" : { - "localId" : "3108", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "3109", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "3110", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "timezoneOffset" : { - "localId" : "3111", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "0.0", - "type" : "Literal" - } - }, - "high" : { - "localId" : "3112", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ ], - "year" : { - "localId" : "3113", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2018", - "type" : "Literal" - }, - "month" : { - "localId" : "3114", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "3115", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "4", - "type" : "Literal" - }, - "hour" : { - "localId" : "3116", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "timezoneOffset" : { - "localId" : "3117", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "0.0", - "type" : "Literal" - } - } - } ] - }, { - "localId" : "3125", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "value" : 1, - "unit" : "g", - "type" : "Quantity" - } ] - } - } ] - } - } -} - -/* TimeIntervalExpand -library TestSnippet version '1' -using Simple version '1.0.0' -context Patient -define MsPrecPerHour: expand { Interval[@T01:00:00.000, @T03:00:00.000] } per hour -define MsPrecPerMinute: expand { Interval[@T01:00:00.000, @T01:02:00.000] } per minute -define MsPrecPerSecond: expand { Interval[@T01:00:00.000, @T01:00:02.000] } per second -define MsPrecPerMillisecond: expand { Interval[@T01:00:00.000, @T01:00:00.001] } per millisecond - -define SecPrecPerHour: expand { Interval[@T01:00:00, @T03:00:00] } per hour -define SecPrecPerMinute: expand { Interval[@T01:00:00, @T01:02:00] } per minute -define SecPrecPerSecond: expand { Interval[@T01:00:00, @T01:00:01] } per second -define SecPrecPerMillisecond: expand { Interval[@T01:00:00, @T01:00:00] } per millisecond - -define MinPrecPerHour: expand { Interval[@T01:00, @T03:00] } per hour -define MinPrecPerMinute: expand { Interval[@T01:00, @T01:01] } per minute -define MinPrecPerSecond: expand { Interval[@T01:00, @T01:00] } per second -define MinPrecPerMillisecond: expand { Interval[@T01:00, @T01:00] } per millisecond -define MinPrecPerMinuteEmpty: expand { Interval[@T10, @T10] } per minute - -define HourPrecPerHour: expand { Interval[@T01, @T02] } per hour -define HourPrecPerMinute: expand { Interval[@T01, @T01] } per minute -define HourPrecPerSecond: expand { Interval[@T01, @T01] } per second -define HourPrecPerMillisecond: expand { Interval[@T01, @T01] } per millisecond -*/ - -module.exports['TimeIntervalExpand'] = { - "library" : { - "localId" : "0", - "annotation" : [ { - "translatorVersion" : "3.27.0", - "translatorOptions" : "EnableDateRangeOptimization,EnableAnnotations,EnableResultTypes", - "signatureLevel" : "All", - "type" : "CqlToElmInfo" - }, { - "type" : "Annotation", - "s" : { - "r" : "694", + "type" : "ListTypeSpecifier", + "localId" : "1095", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1096", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1097", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + }, + "element" : [ { + "type" : "Interval", + "localId" : "1092", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1093", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1094", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "DateTime", + "localId" : "1078", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ ], + "year" : { + "type" : "Literal", + "localId" : "1079", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2018", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1080", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "1081", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "1082", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "1083", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "timezoneOffset" : { + "type" : "Literal", + "localId" : "1084", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "0.0", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "1085", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ ], + "year" : { + "type" : "Literal", + "localId" : "1086", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2018", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1087", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "1088", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "1089", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "1090", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "timezoneOffset" : { + "type" : "Literal", + "localId" : "1091", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "0.0", + "annotation" : [ ] + } + } + } ] + }, { + "type" : "Quantity", + "localId" : "1099", + "value" : 1.0, + "unit" : "second", + "annotation" : [ ] + } ] + } + }, { + "localId" : "1113", + "name" : "MinPrecPerMillisecond", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "1113", "s" : [ { - "value" : [ "","library TestSnippet version '1'" ] - } ] - } - } ], - "identifier" : { - "id" : "TestSnippet", - "version" : "1" - }, - "schemaIdentifier" : { - "id" : "urn:hl7-org:elm", - "version" : "r1" - }, - "usings" : { - "def" : [ { - "localId" : "1", - "localIdentifier" : "System", - "uri" : "urn:hl7-org:elm-types:r1" - }, { - "localId" : "206", - "localIdentifier" : "Simple", - "uri" : "https://github.com/cqframework/cql-execution/simple", - "version" : "1.0.0", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "206", - "s" : [ { - "value" : [ "","using " ] - }, { - "s" : [ { - "value" : [ "Simple" ] - } ] - }, { - "value" : [ " version '1.0.0'" ] - } ] - } - } ] - } ] - }, - "contexts" : { - "def" : [ { - "localId" : "211", - "name" : "Patient" - } ] - }, - "statements" : { - "def" : [ { - "localId" : "209", - "name" : "Patient", - "context" : "Patient", - "expression" : { - "localId" : "210", - "type" : "SingletonFrom", - "signature" : [ ], - "operand" : { - "localId" : "208", - "dataType" : "{https://github.com/cqframework/cql-execution/simple}Patient", - "type" : "Retrieve", - "include" : [ ], - "codeFilter" : [ ], - "dateFilter" : [ ], - "otherFilter" : [ ] - } - } - }, { - "localId" : "214", - "name" : "MsPrecPerHour", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "214", - "s" : [ { - "value" : [ "","define ","MsPrecPerHour",": " ] - }, { - "r" : "234", - "s" : [ { - "value" : [ "expand " ] - }, { - "r" : "215", - "s" : [ { - "value" : [ "{ " ] - }, { - "r" : "226", - "s" : [ { - "r" : "216", - "value" : [ "Interval[","@T01:00:00.000",", ","@T03:00:00.000","]" ] - } ] - }, { - "value" : [ " }" ] - } ] - }, { - "value" : [ " per ","hour" ] - } ] - } ] - } - } ], + "value" : [ "", "define ", "MinPrecPerMillisecond", ": " ] + }, { + "r" : "1137", + "s" : [ { + "value" : [ "expand " ] + }, { + "r" : "1114", + "s" : [ { + "value" : [ "{ " ] + }, { + "r" : "1129", + "s" : [ { + "r" : "1115", + "value" : [ "Interval[", "@2018-01-01T01:00+00:00", ", ", "@2018-01-01T01:00+00:00", "]" ] + } ] + }, { + "value" : [ " }" ] + } ] + }, { + "value" : [ " per ", "millisecond" ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "1145", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1146", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1147", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + }, + "expression" : { + "type" : "Expand", + "localId" : "1137", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "1142", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1143", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1144", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + }, + "signature" : [ { + "type" : "ListTypeSpecifier", + "localId" : "1138", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1139", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1140", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1141", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "List", + "localId" : "1114", + "annotation" : [ ], "resultTypeSpecifier" : { - "localId" : "242", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "243", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "244", - "name" : "{urn:hl7-org:elm-types:r1}Time", - "type" : "NamedTypeSpecifier" - } - } + "type" : "ListTypeSpecifier", + "localId" : "1132", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1133", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1134", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } }, - "expression" : { - "localId" : "234", - "type" : "Expand", - "resultTypeSpecifier" : { - "localId" : "239", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "240", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "241", - "name" : "{urn:hl7-org:elm-types:r1}Time", - "type" : "NamedTypeSpecifier" - } - } - }, - "signature" : [ { - "localId" : "235", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "236", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "237", - "name" : "{urn:hl7-org:elm-types:r1}Time", - "type" : "NamedTypeSpecifier" - } - } - }, { - "localId" : "238", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "215", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "229", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "230", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "231", - "name" : "{urn:hl7-org:elm-types:r1}Time", - "type" : "NamedTypeSpecifier" - } - } - }, - "element" : [ { - "localId" : "226", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "227", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "228", - "name" : "{urn:hl7-org:elm-types:r1}Time", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "216", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Time", - "type" : "Time", - "signature" : [ ], - "hour" : { - "localId" : "217", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "minute" : { - "localId" : "218", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "219", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "220", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - }, - "high" : { - "localId" : "221", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Time", - "type" : "Time", - "signature" : [ ], - "hour" : { - "localId" : "222", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "minute" : { - "localId" : "223", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "224", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "225", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - } - } ] - }, { - "localId" : "233", - "value" : 1.0, - "unit" : "hour", - "type" : "Quantity" - } ] - } - }, { - "localId" : "247", - "name" : "MsPrecPerMinute", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "247", + "element" : [ { + "type" : "Interval", + "localId" : "1129", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1130", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1131", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "DateTime", + "localId" : "1115", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ ], + "year" : { + "type" : "Literal", + "localId" : "1116", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2018", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1117", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "1118", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "1119", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "1120", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "timezoneOffset" : { + "type" : "Literal", + "localId" : "1121", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "0.0", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "1122", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ ], + "year" : { + "type" : "Literal", + "localId" : "1123", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2018", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1124", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "1125", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "1126", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "1127", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "timezoneOffset" : { + "type" : "Literal", + "localId" : "1128", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "0.0", + "annotation" : [ ] + } + } + } ] + }, { + "type" : "Quantity", + "localId" : "1136", + "value" : 1.0, + "unit" : "millisecond", + "annotation" : [ ] + } ] + } + }, { + "localId" : "1150", + "name" : "HourPrecPerYear", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "1150", + "s" : [ { + "value" : [ "", "define ", "HourPrecPerYear", ": " ] + }, { + "r" : "1172", + "s" : [ { + "value" : [ "expand " ] + }, { + "r" : "1151", + "s" : [ { + "value" : [ "{ " ] + }, { + "r" : "1164", "s" : [ { - "value" : [ "","define ","MsPrecPerMinute",": " ] - }, { - "r" : "267", - "s" : [ { - "value" : [ "expand " ] - }, { - "r" : "248", - "s" : [ { - "value" : [ "{ " ] - }, { - "r" : "259", - "s" : [ { - "r" : "249", - "value" : [ "Interval[","@T01:00:00.000",", ","@T01:02:00.000","]" ] - } ] - }, { - "value" : [ " }" ] - } ] - }, { - "value" : [ " per ","minute" ] - } ] - } ] - } - } ], + "r" : "1152", + "value" : [ "Interval[", "@2016-01-01T00+00:00", ", ", "@2018-01-01T00+00:00", "]" ] + } ] + }, { + "value" : [ " }" ] + } ] + }, { + "value" : [ " per ", "year" ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "1180", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1181", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1182", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + }, + "expression" : { + "type" : "Expand", + "localId" : "1172", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "1177", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1178", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1179", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + }, + "signature" : [ { + "type" : "ListTypeSpecifier", + "localId" : "1173", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1174", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1175", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1176", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "List", + "localId" : "1151", + "annotation" : [ ], "resultTypeSpecifier" : { - "localId" : "275", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "276", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "277", - "name" : "{urn:hl7-org:elm-types:r1}Time", - "type" : "NamedTypeSpecifier" - } - } + "type" : "ListTypeSpecifier", + "localId" : "1167", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1168", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1169", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } }, - "expression" : { - "localId" : "267", - "type" : "Expand", - "resultTypeSpecifier" : { - "localId" : "272", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "273", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "274", - "name" : "{urn:hl7-org:elm-types:r1}Time", - "type" : "NamedTypeSpecifier" - } - } - }, - "signature" : [ { - "localId" : "268", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "269", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "270", - "name" : "{urn:hl7-org:elm-types:r1}Time", - "type" : "NamedTypeSpecifier" - } - } - }, { - "localId" : "271", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "248", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "262", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "263", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "264", - "name" : "{urn:hl7-org:elm-types:r1}Time", - "type" : "NamedTypeSpecifier" - } - } - }, - "element" : [ { - "localId" : "259", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "260", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "261", - "name" : "{urn:hl7-org:elm-types:r1}Time", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "249", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Time", - "type" : "Time", - "signature" : [ ], - "hour" : { - "localId" : "250", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "minute" : { - "localId" : "251", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "252", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "253", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - }, - "high" : { - "localId" : "254", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Time", - "type" : "Time", - "signature" : [ ], - "hour" : { - "localId" : "255", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "minute" : { - "localId" : "256", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal" - }, - "second" : { - "localId" : "257", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "258", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - } - } ] - }, { - "localId" : "266", - "value" : 1.0, - "unit" : "minute", - "type" : "Quantity" - } ] - } - }, { - "localId" : "280", - "name" : "MsPrecPerSecond", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "280", - "s" : [ { - "value" : [ "","define ","MsPrecPerSecond",": " ] - }, { - "r" : "300", - "s" : [ { - "value" : [ "expand " ] - }, { - "r" : "281", - "s" : [ { - "value" : [ "{ " ] - }, { - "r" : "292", - "s" : [ { - "r" : "282", - "value" : [ "Interval[","@T01:00:00.000",", ","@T01:00:02.000","]" ] - } ] - }, { - "value" : [ " }" ] - } ] - }, { - "value" : [ " per ","second" ] - } ] - } ] - } - } ], + "element" : [ { + "type" : "Interval", + "localId" : "1164", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1165", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1166", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "DateTime", + "localId" : "1152", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ ], + "year" : { + "type" : "Literal", + "localId" : "1153", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2016", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1154", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "1155", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "1156", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "timezoneOffset" : { + "type" : "Literal", + "localId" : "1157", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "0.0", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "1158", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ ], + "year" : { + "type" : "Literal", + "localId" : "1159", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2018", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1160", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "1161", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "1162", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "timezoneOffset" : { + "type" : "Literal", + "localId" : "1163", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "0.0", + "annotation" : [ ] + } + } + } ] + }, { + "type" : "Quantity", + "localId" : "1171", + "value" : 1.0, + "unit" : "year", + "annotation" : [ ] + } ] + } + }, { + "localId" : "1185", + "name" : "HourPrecPerMonth", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "1185", + "s" : [ { + "value" : [ "", "define ", "HourPrecPerMonth", ": " ] + }, { + "r" : "1207", + "s" : [ { + "value" : [ "expand " ] + }, { + "r" : "1186", + "s" : [ { + "value" : [ "{ " ] + }, { + "r" : "1199", + "s" : [ { + "r" : "1187", + "value" : [ "Interval[", "@2018-01-01T00+00:00", ", ", "@2018-03-01T00+00:00", "]" ] + } ] + }, { + "value" : [ " }" ] + } ] + }, { + "value" : [ " per ", "month" ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "1215", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1216", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1217", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + }, + "expression" : { + "type" : "Expand", + "localId" : "1207", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "1212", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1213", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1214", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + }, + "signature" : [ { + "type" : "ListTypeSpecifier", + "localId" : "1208", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1209", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1210", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1211", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "List", + "localId" : "1186", + "annotation" : [ ], "resultTypeSpecifier" : { - "localId" : "308", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "309", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "310", - "name" : "{urn:hl7-org:elm-types:r1}Time", - "type" : "NamedTypeSpecifier" - } - } + "type" : "ListTypeSpecifier", + "localId" : "1202", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1203", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1204", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } }, - "expression" : { - "localId" : "300", - "type" : "Expand", - "resultTypeSpecifier" : { - "localId" : "305", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "306", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "307", - "name" : "{urn:hl7-org:elm-types:r1}Time", - "type" : "NamedTypeSpecifier" - } - } - }, - "signature" : [ { - "localId" : "301", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "302", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "303", - "name" : "{urn:hl7-org:elm-types:r1}Time", - "type" : "NamedTypeSpecifier" - } - } - }, { - "localId" : "304", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "281", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "295", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "296", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "297", - "name" : "{urn:hl7-org:elm-types:r1}Time", - "type" : "NamedTypeSpecifier" - } - } - }, - "element" : [ { - "localId" : "292", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "293", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "294", - "name" : "{urn:hl7-org:elm-types:r1}Time", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "282", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Time", - "type" : "Time", - "signature" : [ ], - "hour" : { - "localId" : "283", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "minute" : { - "localId" : "284", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "285", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "286", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - }, - "high" : { - "localId" : "287", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Time", - "type" : "Time", - "signature" : [ ], - "hour" : { - "localId" : "288", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "minute" : { - "localId" : "289", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "290", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "291", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - } - } ] - }, { - "localId" : "299", - "value" : 1.0, - "unit" : "second", - "type" : "Quantity" - } ] - } - }, { - "localId" : "313", - "name" : "MsPrecPerMillisecond", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "313", + "element" : [ { + "type" : "Interval", + "localId" : "1199", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1200", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1201", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "DateTime", + "localId" : "1187", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ ], + "year" : { + "type" : "Literal", + "localId" : "1188", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2018", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1189", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "1190", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "1191", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "timezoneOffset" : { + "type" : "Literal", + "localId" : "1192", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "0.0", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "1193", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ ], + "year" : { + "type" : "Literal", + "localId" : "1194", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2018", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1195", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "1196", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "1197", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "timezoneOffset" : { + "type" : "Literal", + "localId" : "1198", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "0.0", + "annotation" : [ ] + } + } + } ] + }, { + "type" : "Quantity", + "localId" : "1206", + "value" : 1.0, + "unit" : "month", + "annotation" : [ ] + } ] + } + }, { + "localId" : "1220", + "name" : "HourPrecPerWeek", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "1220", + "s" : [ { + "value" : [ "", "define ", "HourPrecPerWeek", ": " ] + }, { + "r" : "1242", + "s" : [ { + "value" : [ "expand " ] + }, { + "r" : "1221", + "s" : [ { + "value" : [ "{ " ] + }, { + "r" : "1234", "s" : [ { - "value" : [ "","define ","MsPrecPerMillisecond",": " ] - }, { - "r" : "333", - "s" : [ { - "value" : [ "expand " ] - }, { - "r" : "314", - "s" : [ { - "value" : [ "{ " ] - }, { - "r" : "325", - "s" : [ { - "r" : "315", - "value" : [ "Interval[","@T01:00:00.000",", ","@T01:00:00.001","]" ] - } ] - }, { - "value" : [ " }" ] - } ] - }, { - "value" : [ " per ","millisecond" ] - } ] - } ] - } - } ], + "r" : "1222", + "value" : [ "Interval[", "@2018-01-01T00+00:00", ", ", "@2018-01-21T00+00:00", "]" ] + } ] + }, { + "value" : [ " }" ] + } ] + }, { + "value" : [ " per ", "week" ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "1250", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1251", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1252", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + }, + "expression" : { + "type" : "Expand", + "localId" : "1242", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "1247", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1248", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1249", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + }, + "signature" : [ { + "type" : "ListTypeSpecifier", + "localId" : "1243", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1244", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1245", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1246", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "List", + "localId" : "1221", + "annotation" : [ ], "resultTypeSpecifier" : { - "localId" : "341", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "342", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "343", - "name" : "{urn:hl7-org:elm-types:r1}Time", - "type" : "NamedTypeSpecifier" - } - } + "type" : "ListTypeSpecifier", + "localId" : "1237", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1238", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1239", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } }, - "expression" : { - "localId" : "333", - "type" : "Expand", - "resultTypeSpecifier" : { - "localId" : "338", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "339", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "340", - "name" : "{urn:hl7-org:elm-types:r1}Time", - "type" : "NamedTypeSpecifier" - } - } - }, - "signature" : [ { - "localId" : "334", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "335", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "336", - "name" : "{urn:hl7-org:elm-types:r1}Time", - "type" : "NamedTypeSpecifier" - } - } - }, { - "localId" : "337", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "314", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "328", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "329", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "330", - "name" : "{urn:hl7-org:elm-types:r1}Time", - "type" : "NamedTypeSpecifier" - } - } - }, - "element" : [ { - "localId" : "325", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "326", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "327", - "name" : "{urn:hl7-org:elm-types:r1}Time", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "315", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Time", - "type" : "Time", - "signature" : [ ], - "hour" : { - "localId" : "316", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "minute" : { - "localId" : "317", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "318", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "319", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - }, - "high" : { - "localId" : "320", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Time", - "type" : "Time", - "signature" : [ ], - "hour" : { - "localId" : "321", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "minute" : { - "localId" : "322", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "323", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "324", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - } - } - } ] - }, { - "localId" : "332", - "value" : 1.0, - "unit" : "millisecond", - "type" : "Quantity" - } ] - } - }, { - "localId" : "346", - "name" : "SecPrecPerHour", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "346", + "element" : [ { + "type" : "Interval", + "localId" : "1234", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1235", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1236", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "DateTime", + "localId" : "1222", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ ], + "year" : { + "type" : "Literal", + "localId" : "1223", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2018", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1224", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "1225", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "1226", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "timezoneOffset" : { + "type" : "Literal", + "localId" : "1227", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "0.0", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "1228", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ ], + "year" : { + "type" : "Literal", + "localId" : "1229", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2018", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1230", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "1231", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "21", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "1232", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "timezoneOffset" : { + "type" : "Literal", + "localId" : "1233", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "0.0", + "annotation" : [ ] + } + } + } ] + }, { + "type" : "Quantity", + "localId" : "1241", + "value" : 1.0, + "unit" : "week", + "annotation" : [ ] + } ] + } + }, { + "localId" : "1255", + "name" : "HourPrecPerDay", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "1255", + "s" : [ { + "value" : [ "", "define ", "HourPrecPerDay", ": " ] + }, { + "r" : "1277", + "s" : [ { + "value" : [ "expand " ] + }, { + "r" : "1256", + "s" : [ { + "value" : [ "{ " ] + }, { + "r" : "1269", "s" : [ { - "value" : [ "","define ","SecPrecPerHour",": " ] - }, { - "r" : "364", - "s" : [ { - "value" : [ "expand " ] - }, { - "r" : "347", - "s" : [ { - "value" : [ "{ " ] - }, { - "r" : "356", - "s" : [ { - "r" : "348", - "value" : [ "Interval[","@T01:00:00",", ","@T03:00:00","]" ] - } ] - }, { - "value" : [ " }" ] - } ] - }, { - "value" : [ " per ","hour" ] - } ] - } ] - } - } ], + "r" : "1257", + "value" : [ "Interval[", "@2018-01-01T00+00:00", ", ", "@2018-01-03T00+00:00", "]" ] + } ] + }, { + "value" : [ " }" ] + } ] + }, { + "value" : [ " per ", "day" ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "1285", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1286", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1287", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + }, + "expression" : { + "type" : "Expand", + "localId" : "1277", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "1282", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1283", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1284", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + }, + "signature" : [ { + "type" : "ListTypeSpecifier", + "localId" : "1278", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1279", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1280", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1281", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "List", + "localId" : "1256", + "annotation" : [ ], "resultTypeSpecifier" : { - "localId" : "372", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "373", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "374", - "name" : "{urn:hl7-org:elm-types:r1}Time", - "type" : "NamedTypeSpecifier" - } - } + "type" : "ListTypeSpecifier", + "localId" : "1272", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1273", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1274", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } }, - "expression" : { - "localId" : "364", - "type" : "Expand", - "resultTypeSpecifier" : { - "localId" : "369", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "370", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "371", - "name" : "{urn:hl7-org:elm-types:r1}Time", - "type" : "NamedTypeSpecifier" - } - } - }, - "signature" : [ { - "localId" : "365", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "366", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "367", - "name" : "{urn:hl7-org:elm-types:r1}Time", - "type" : "NamedTypeSpecifier" - } - } - }, { - "localId" : "368", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "347", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "359", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "360", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "361", - "name" : "{urn:hl7-org:elm-types:r1}Time", - "type" : "NamedTypeSpecifier" - } - } - }, - "element" : [ { - "localId" : "356", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "357", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "358", - "name" : "{urn:hl7-org:elm-types:r1}Time", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "348", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Time", - "type" : "Time", - "signature" : [ ], - "hour" : { - "localId" : "349", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "minute" : { - "localId" : "350", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "351", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - }, - "high" : { - "localId" : "352", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Time", - "type" : "Time", - "signature" : [ ], - "hour" : { - "localId" : "353", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "minute" : { - "localId" : "354", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "355", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - } - } ] - }, { - "localId" : "363", - "value" : 1.0, - "unit" : "hour", - "type" : "Quantity" - } ] - } - }, { - "localId" : "377", - "name" : "SecPrecPerMinute", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "377", - "s" : [ { - "value" : [ "","define ","SecPrecPerMinute",": " ] - }, { - "r" : "395", - "s" : [ { - "value" : [ "expand " ] - }, { - "r" : "378", - "s" : [ { - "value" : [ "{ " ] - }, { - "r" : "387", - "s" : [ { - "r" : "379", - "value" : [ "Interval[","@T01:00:00",", ","@T01:02:00","]" ] - } ] - }, { - "value" : [ " }" ] - } ] - }, { - "value" : [ " per ","minute" ] - } ] - } ] - } - } ], + "element" : [ { + "type" : "Interval", + "localId" : "1269", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1270", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1271", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "DateTime", + "localId" : "1257", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ ], + "year" : { + "type" : "Literal", + "localId" : "1258", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2018", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1259", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "1260", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "1261", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "timezoneOffset" : { + "type" : "Literal", + "localId" : "1262", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "0.0", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "1263", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ ], + "year" : { + "type" : "Literal", + "localId" : "1264", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2018", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1265", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "1266", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "1267", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "timezoneOffset" : { + "type" : "Literal", + "localId" : "1268", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "0.0", + "annotation" : [ ] + } + } + } ] + }, { + "type" : "Quantity", + "localId" : "1276", + "value" : 1.0, + "unit" : "day", + "annotation" : [ ] + } ] + } + }, { + "localId" : "1290", + "name" : "HourPrecPerHour", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "1290", + "s" : [ { + "value" : [ "", "define ", "HourPrecPerHour", ": " ] + }, { + "r" : "1312", + "s" : [ { + "value" : [ "expand " ] + }, { + "r" : "1291", + "s" : [ { + "value" : [ "{ " ] + }, { + "r" : "1304", + "s" : [ { + "r" : "1292", + "value" : [ "Interval[", "@2018-01-01T01+00:00", ", ", "@2018-01-01T02+00:00", "]" ] + } ] + }, { + "value" : [ " }" ] + } ] + }, { + "value" : [ " per ", "hour" ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "1320", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1321", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1322", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + }, + "expression" : { + "type" : "Expand", + "localId" : "1312", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "1317", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1318", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1319", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + }, + "signature" : [ { + "type" : "ListTypeSpecifier", + "localId" : "1313", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1314", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1315", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1316", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "List", + "localId" : "1291", + "annotation" : [ ], "resultTypeSpecifier" : { - "localId" : "403", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "404", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "405", - "name" : "{urn:hl7-org:elm-types:r1}Time", - "type" : "NamedTypeSpecifier" - } - } + "type" : "ListTypeSpecifier", + "localId" : "1307", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1308", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1309", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } }, - "expression" : { - "localId" : "395", - "type" : "Expand", - "resultTypeSpecifier" : { - "localId" : "400", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "401", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "402", - "name" : "{urn:hl7-org:elm-types:r1}Time", - "type" : "NamedTypeSpecifier" - } - } - }, - "signature" : [ { - "localId" : "396", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "397", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "398", - "name" : "{urn:hl7-org:elm-types:r1}Time", - "type" : "NamedTypeSpecifier" - } - } - }, { - "localId" : "399", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "378", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "390", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "391", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "392", - "name" : "{urn:hl7-org:elm-types:r1}Time", - "type" : "NamedTypeSpecifier" - } - } - }, - "element" : [ { - "localId" : "387", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "388", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "389", - "name" : "{urn:hl7-org:elm-types:r1}Time", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "379", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Time", - "type" : "Time", - "signature" : [ ], - "hour" : { - "localId" : "380", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "minute" : { - "localId" : "381", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "382", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - }, - "high" : { - "localId" : "383", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Time", - "type" : "Time", - "signature" : [ ], - "hour" : { - "localId" : "384", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "minute" : { - "localId" : "385", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal" - }, - "second" : { - "localId" : "386", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - } - } ] - }, { - "localId" : "394", - "value" : 1.0, - "unit" : "minute", - "type" : "Quantity" - } ] - } - }, { - "localId" : "408", - "name" : "SecPrecPerSecond", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "408", - "s" : [ { - "value" : [ "","define ","SecPrecPerSecond",": " ] - }, { - "r" : "426", - "s" : [ { - "value" : [ "expand " ] - }, { - "r" : "409", - "s" : [ { - "value" : [ "{ " ] - }, { - "r" : "418", - "s" : [ { - "r" : "410", - "value" : [ "Interval[","@T01:00:00",", ","@T01:00:01","]" ] - } ] - }, { - "value" : [ " }" ] - } ] - }, { - "value" : [ " per ","second" ] - } ] - } ] - } - } ], + "element" : [ { + "type" : "Interval", + "localId" : "1304", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1305", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1306", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "DateTime", + "localId" : "1292", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ ], + "year" : { + "type" : "Literal", + "localId" : "1293", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2018", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1294", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "1295", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "1296", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "timezoneOffset" : { + "type" : "Literal", + "localId" : "1297", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "0.0", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "1298", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ ], + "year" : { + "type" : "Literal", + "localId" : "1299", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2018", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1300", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "1301", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "1302", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "annotation" : [ ] + }, + "timezoneOffset" : { + "type" : "Literal", + "localId" : "1303", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "0.0", + "annotation" : [ ] + } + } + } ] + }, { + "type" : "Quantity", + "localId" : "1311", + "value" : 1.0, + "unit" : "hour", + "annotation" : [ ] + } ] + } + }, { + "localId" : "1325", + "name" : "HourPrecPerMinute", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "1325", + "s" : [ { + "value" : [ "", "define ", "HourPrecPerMinute", ": " ] + }, { + "r" : "1347", + "s" : [ { + "value" : [ "expand " ] + }, { + "r" : "1326", + "s" : [ { + "value" : [ "{ " ] + }, { + "r" : "1339", + "s" : [ { + "r" : "1327", + "value" : [ "Interval[", "@2018-01-01T01+00:00", ", ", "@2018-01-01T01+00:00", "]" ] + } ] + }, { + "value" : [ " }" ] + } ] + }, { + "value" : [ " per ", "minute" ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "1355", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1356", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1357", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + }, + "expression" : { + "type" : "Expand", + "localId" : "1347", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "1352", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1353", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1354", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + }, + "signature" : [ { + "type" : "ListTypeSpecifier", + "localId" : "1348", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1349", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1350", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1351", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "List", + "localId" : "1326", + "annotation" : [ ], "resultTypeSpecifier" : { - "localId" : "434", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "435", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "436", - "name" : "{urn:hl7-org:elm-types:r1}Time", - "type" : "NamedTypeSpecifier" - } - } + "type" : "ListTypeSpecifier", + "localId" : "1342", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1343", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1344", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } }, - "expression" : { - "localId" : "426", - "type" : "Expand", - "resultTypeSpecifier" : { - "localId" : "431", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "432", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "433", - "name" : "{urn:hl7-org:elm-types:r1}Time", - "type" : "NamedTypeSpecifier" - } - } - }, - "signature" : [ { - "localId" : "427", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "428", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "429", - "name" : "{urn:hl7-org:elm-types:r1}Time", - "type" : "NamedTypeSpecifier" - } - } - }, { - "localId" : "430", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "409", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "421", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "422", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "423", - "name" : "{urn:hl7-org:elm-types:r1}Time", - "type" : "NamedTypeSpecifier" - } - } - }, - "element" : [ { - "localId" : "418", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "419", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "420", - "name" : "{urn:hl7-org:elm-types:r1}Time", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "410", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Time", - "type" : "Time", - "signature" : [ ], - "hour" : { - "localId" : "411", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "minute" : { - "localId" : "412", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "413", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - }, - "high" : { - "localId" : "414", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Time", - "type" : "Time", - "signature" : [ ], - "hour" : { - "localId" : "415", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "minute" : { - "localId" : "416", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "417", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - } - } - } ] - }, { - "localId" : "425", - "value" : 1.0, - "unit" : "second", - "type" : "Quantity" - } ] - } - }, { - "localId" : "439", - "name" : "SecPrecPerMillisecond", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "439", - "s" : [ { - "value" : [ "","define ","SecPrecPerMillisecond",": " ] - }, { - "r" : "457", - "s" : [ { - "value" : [ "expand " ] - }, { - "r" : "440", - "s" : [ { - "value" : [ "{ " ] - }, { - "r" : "449", - "s" : [ { - "r" : "441", - "value" : [ "Interval[","@T01:00:00",", ","@T01:00:00","]" ] - } ] - }, { - "value" : [ " }" ] - } ] - }, { - "value" : [ " per ","millisecond" ] - } ] - } ] - } - } ], + "element" : [ { + "type" : "Interval", + "localId" : "1339", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1340", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1341", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "DateTime", + "localId" : "1327", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ ], + "year" : { + "type" : "Literal", + "localId" : "1328", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2018", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1329", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "1330", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "1331", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "timezoneOffset" : { + "type" : "Literal", + "localId" : "1332", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "0.0", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "1333", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ ], + "year" : { + "type" : "Literal", + "localId" : "1334", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2018", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1335", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "1336", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "1337", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "timezoneOffset" : { + "type" : "Literal", + "localId" : "1338", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "0.0", + "annotation" : [ ] + } + } + } ] + }, { + "type" : "Quantity", + "localId" : "1346", + "value" : 1.0, + "unit" : "minute", + "annotation" : [ ] + } ] + } + }, { + "localId" : "1360", + "name" : "HourPrecPerSecond", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "1360", + "s" : [ { + "value" : [ "", "define ", "HourPrecPerSecond", ": " ] + }, { + "r" : "1382", + "s" : [ { + "value" : [ "expand " ] + }, { + "r" : "1361", + "s" : [ { + "value" : [ "{ " ] + }, { + "r" : "1374", + "s" : [ { + "r" : "1362", + "value" : [ "Interval[", "@2018-01-01T01+00:00", ", ", "@2018-01-01T01+00:00", "]" ] + } ] + }, { + "value" : [ " }" ] + } ] + }, { + "value" : [ " per ", "second" ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "1390", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1391", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1392", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + }, + "expression" : { + "type" : "Expand", + "localId" : "1382", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "1387", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1388", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1389", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + }, + "signature" : [ { + "type" : "ListTypeSpecifier", + "localId" : "1383", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1384", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1385", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1386", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "List", + "localId" : "1361", + "annotation" : [ ], "resultTypeSpecifier" : { - "localId" : "465", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "466", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "467", - "name" : "{urn:hl7-org:elm-types:r1}Time", - "type" : "NamedTypeSpecifier" - } - } + "type" : "ListTypeSpecifier", + "localId" : "1377", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1378", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1379", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } }, - "expression" : { - "localId" : "457", - "type" : "Expand", - "resultTypeSpecifier" : { - "localId" : "462", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "463", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "464", - "name" : "{urn:hl7-org:elm-types:r1}Time", - "type" : "NamedTypeSpecifier" - } - } - }, - "signature" : [ { - "localId" : "458", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "459", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "460", - "name" : "{urn:hl7-org:elm-types:r1}Time", - "type" : "NamedTypeSpecifier" - } - } - }, { - "localId" : "461", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "440", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "452", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "453", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "454", - "name" : "{urn:hl7-org:elm-types:r1}Time", - "type" : "NamedTypeSpecifier" - } - } - }, - "element" : [ { - "localId" : "449", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "450", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "451", - "name" : "{urn:hl7-org:elm-types:r1}Time", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "441", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Time", - "type" : "Time", - "signature" : [ ], - "hour" : { - "localId" : "442", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "minute" : { - "localId" : "443", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "444", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - }, - "high" : { - "localId" : "445", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Time", - "type" : "Time", - "signature" : [ ], - "hour" : { - "localId" : "446", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "minute" : { - "localId" : "447", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "448", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - } - } ] - }, { - "localId" : "456", - "value" : 1.0, - "unit" : "millisecond", - "type" : "Quantity" - } ] - } - }, { - "localId" : "470", - "name" : "MinPrecPerHour", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "470", - "s" : [ { - "value" : [ "","define ","MinPrecPerHour",": " ] - }, { - "r" : "486", - "s" : [ { - "value" : [ "expand " ] - }, { - "r" : "471", - "s" : [ { - "value" : [ "{ " ] - }, { - "r" : "478", - "s" : [ { - "r" : "472", - "value" : [ "Interval[","@T01:00",", ","@T03:00","]" ] - } ] - }, { - "value" : [ " }" ] - } ] - }, { - "value" : [ " per ","hour" ] - } ] - } ] - } - } ], - "resultTypeSpecifier" : { - "localId" : "494", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "495", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "496", - "name" : "{urn:hl7-org:elm-types:r1}Time", - "type" : "NamedTypeSpecifier" - } - } - }, - "expression" : { - "localId" : "486", - "type" : "Expand", - "resultTypeSpecifier" : { - "localId" : "491", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "492", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "493", - "name" : "{urn:hl7-org:elm-types:r1}Time", - "type" : "NamedTypeSpecifier" - } - } - }, - "signature" : [ { - "localId" : "487", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "488", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "489", - "name" : "{urn:hl7-org:elm-types:r1}Time", - "type" : "NamedTypeSpecifier" - } - } - }, { - "localId" : "490", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "471", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "481", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "482", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "483", - "name" : "{urn:hl7-org:elm-types:r1}Time", - "type" : "NamedTypeSpecifier" - } - } - }, - "element" : [ { - "localId" : "478", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "479", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "480", - "name" : "{urn:hl7-org:elm-types:r1}Time", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "472", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Time", - "type" : "Time", - "signature" : [ ], - "hour" : { - "localId" : "473", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "minute" : { - "localId" : "474", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - }, - "high" : { - "localId" : "475", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Time", - "type" : "Time", - "signature" : [ ], - "hour" : { - "localId" : "476", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "minute" : { - "localId" : "477", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - } - } ] - }, { - "localId" : "485", - "value" : 1.0, - "unit" : "hour", - "type" : "Quantity" - } ] - } - }, { - "localId" : "499", - "name" : "MinPrecPerMinute", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "499", - "s" : [ { - "value" : [ "","define ","MinPrecPerMinute",": " ] - }, { - "r" : "515", - "s" : [ { - "value" : [ "expand " ] - }, { - "r" : "500", - "s" : [ { - "value" : [ "{ " ] - }, { - "r" : "507", - "s" : [ { - "r" : "501", - "value" : [ "Interval[","@T01:00",", ","@T01:01","]" ] - } ] - }, { - "value" : [ " }" ] - } ] - }, { - "value" : [ " per ","minute" ] - } ] - } ] - } - } ], + "element" : [ { + "type" : "Interval", + "localId" : "1374", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1375", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1376", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "DateTime", + "localId" : "1362", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ ], + "year" : { + "type" : "Literal", + "localId" : "1363", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2018", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1364", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "1365", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "1366", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "timezoneOffset" : { + "type" : "Literal", + "localId" : "1367", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "0.0", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "1368", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ ], + "year" : { + "type" : "Literal", + "localId" : "1369", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2018", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1370", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "1371", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "1372", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "timezoneOffset" : { + "type" : "Literal", + "localId" : "1373", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "0.0", + "annotation" : [ ] + } + } + } ] + }, { + "type" : "Quantity", + "localId" : "1381", + "value" : 1.0, + "unit" : "second", + "annotation" : [ ] + } ] + } + }, { + "localId" : "1395", + "name" : "HourPrecPerMillisecond", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "1395", + "s" : [ { + "value" : [ "", "define ", "HourPrecPerMillisecond", ": " ] + }, { + "r" : "1417", + "s" : [ { + "value" : [ "expand " ] + }, { + "r" : "1396", + "s" : [ { + "value" : [ "{ " ] + }, { + "r" : "1409", + "s" : [ { + "r" : "1397", + "value" : [ "Interval[", "@2018-01-01T01+00:00", ", ", "@2018-01-01T01+00:00", "]" ] + } ] + }, { + "value" : [ " }" ] + } ] + }, { + "value" : [ " per ", "millisecond" ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "1425", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1426", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1427", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + }, + "expression" : { + "type" : "Expand", + "localId" : "1417", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "1422", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1423", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1424", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + }, + "signature" : [ { + "type" : "ListTypeSpecifier", + "localId" : "1418", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1419", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1420", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1421", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "List", + "localId" : "1396", + "annotation" : [ ], "resultTypeSpecifier" : { - "localId" : "523", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "524", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "525", - "name" : "{urn:hl7-org:elm-types:r1}Time", - "type" : "NamedTypeSpecifier" - } - } + "type" : "ListTypeSpecifier", + "localId" : "1412", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1413", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1414", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } }, - "expression" : { - "localId" : "515", - "type" : "Expand", - "resultTypeSpecifier" : { - "localId" : "520", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "521", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "522", - "name" : "{urn:hl7-org:elm-types:r1}Time", - "type" : "NamedTypeSpecifier" - } - } - }, - "signature" : [ { - "localId" : "516", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "517", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "518", - "name" : "{urn:hl7-org:elm-types:r1}Time", - "type" : "NamedTypeSpecifier" - } - } - }, { - "localId" : "519", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "500", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "510", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "511", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "512", - "name" : "{urn:hl7-org:elm-types:r1}Time", - "type" : "NamedTypeSpecifier" - } - } - }, - "element" : [ { - "localId" : "507", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "508", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "509", - "name" : "{urn:hl7-org:elm-types:r1}Time", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "501", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Time", - "type" : "Time", - "signature" : [ ], - "hour" : { - "localId" : "502", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "minute" : { - "localId" : "503", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - }, - "high" : { - "localId" : "504", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Time", - "type" : "Time", - "signature" : [ ], - "hour" : { - "localId" : "505", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "minute" : { - "localId" : "506", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - } - } - } ] - }, { - "localId" : "514", - "value" : 1.0, - "unit" : "minute", - "type" : "Quantity" - } ] - } - }, { - "localId" : "528", - "name" : "MinPrecPerSecond", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "528", - "s" : [ { - "value" : [ "","define ","MinPrecPerSecond",": " ] - }, { - "r" : "544", - "s" : [ { - "value" : [ "expand " ] - }, { - "r" : "529", - "s" : [ { - "value" : [ "{ " ] - }, { - "r" : "536", - "s" : [ { - "r" : "530", - "value" : [ "Interval[","@T01:00",", ","@T01:00","]" ] - } ] - }, { - "value" : [ " }" ] - } ] - }, { - "value" : [ " per ","second" ] - } ] - } ] - } - } ], + "element" : [ { + "type" : "Interval", + "localId" : "1409", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1410", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1411", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "DateTime", + "localId" : "1397", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ ], + "year" : { + "type" : "Literal", + "localId" : "1398", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2018", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1399", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "1400", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "1401", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "timezoneOffset" : { + "type" : "Literal", + "localId" : "1402", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "0.0", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "1403", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ ], + "year" : { + "type" : "Literal", + "localId" : "1404", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2018", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1405", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "1406", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "1407", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "timezoneOffset" : { + "type" : "Literal", + "localId" : "1408", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "0.0", + "annotation" : [ ] + } + } + } ] + }, { + "type" : "Quantity", + "localId" : "1416", + "value" : 1.0, + "unit" : "millisecond", + "annotation" : [ ] + } ] + } + }, { + "localId" : "1430", + "name" : "DayPrecPerYear", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "1430", + "s" : [ { + "value" : [ "", "define ", "DayPrecPerYear", ": " ] + }, { + "r" : "1464", + "s" : [ { + "value" : [ "expand " ] + }, { + "r" : "1431", + "s" : [ { + "value" : [ "{ " ] + }, { + "r" : "1456", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "1440", + "s" : [ { + "r" : "1432", + "value" : [ "DateTime", "(", "2016", ",", "01", ",", "01", ")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "1452", + "s" : [ { + "r" : "1444", + "value" : [ "DateTime", "(", "2018", ",", "01", ",", "01", ")" ] + } ] + }, { + "value" : [ "]" ] + } ] + }, { + "value" : [ " }" ] + } ] + }, { + "value" : [ " per ", "year" ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "1472", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1473", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1474", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + }, + "expression" : { + "type" : "Expand", + "localId" : "1464", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "1469", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1470", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1471", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + }, + "signature" : [ { + "type" : "ListTypeSpecifier", + "localId" : "1465", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1466", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1467", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1468", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "List", + "localId" : "1431", + "annotation" : [ ], "resultTypeSpecifier" : { - "localId" : "552", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "553", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "554", - "name" : "{urn:hl7-org:elm-types:r1}Time", - "type" : "NamedTypeSpecifier" - } - } + "type" : "ListTypeSpecifier", + "localId" : "1459", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1460", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1461", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } }, - "expression" : { - "localId" : "544", - "type" : "Expand", - "resultTypeSpecifier" : { - "localId" : "549", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "550", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "551", - "name" : "{urn:hl7-org:elm-types:r1}Time", - "type" : "NamedTypeSpecifier" - } - } - }, - "signature" : [ { - "localId" : "545", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "546", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "547", - "name" : "{urn:hl7-org:elm-types:r1}Time", - "type" : "NamedTypeSpecifier" - } - } - }, { - "localId" : "548", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "529", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "539", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "540", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "541", - "name" : "{urn:hl7-org:elm-types:r1}Time", - "type" : "NamedTypeSpecifier" - } - } - }, - "element" : [ { - "localId" : "536", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "537", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "538", - "name" : "{urn:hl7-org:elm-types:r1}Time", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "530", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Time", - "type" : "Time", - "signature" : [ ], - "hour" : { - "localId" : "531", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "minute" : { - "localId" : "532", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - }, - "high" : { - "localId" : "533", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Time", - "type" : "Time", - "signature" : [ ], - "hour" : { - "localId" : "534", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "minute" : { - "localId" : "535", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - } - } ] - }, { - "localId" : "543", - "value" : 1.0, - "unit" : "second", - "type" : "Quantity" - } ] - } - }, { - "localId" : "557", - "name" : "MinPrecPerMillisecond", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "557", - "s" : [ { - "value" : [ "","define ","MinPrecPerMillisecond",": " ] - }, { - "r" : "573", - "s" : [ { - "value" : [ "expand " ] - }, { - "r" : "558", - "s" : [ { - "value" : [ "{ " ] - }, { - "r" : "565", - "s" : [ { - "r" : "559", - "value" : [ "Interval[","@T01:00",", ","@T01:00","]" ] - } ] - }, { - "value" : [ " }" ] - } ] - }, { - "value" : [ " per ","millisecond" ] - } ] - } ] - } - } ], + "element" : [ { + "type" : "Interval", + "localId" : "1456", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1457", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1458", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "DateTime", + "localId" : "1440", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1441", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1442", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1443", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1432", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2016", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1433", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "01", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "1434", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "01", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "1452", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1453", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1454", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1455", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1444", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2018", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1445", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "01", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "1446", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "01", + "annotation" : [ ] + } + } + } ] + }, { + "type" : "Quantity", + "localId" : "1463", + "value" : 1.0, + "unit" : "year", + "annotation" : [ ] + } ] + } + }, { + "localId" : "1477", + "name" : "DayPrecPerMonth", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "1477", + "s" : [ { + "value" : [ "", "define ", "DayPrecPerMonth", ": " ] + }, { + "r" : "1511", + "s" : [ { + "value" : [ "expand " ] + }, { + "r" : "1478", + "s" : [ { + "value" : [ "{ " ] + }, { + "r" : "1503", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "1487", + "s" : [ { + "r" : "1479", + "value" : [ "DateTime", "(", "2018", ",", "01", ",", "01", ")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "1499", + "s" : [ { + "r" : "1491", + "value" : [ "DateTime", "(", "2018", ",", "03", ",", "01", ")" ] + } ] + }, { + "value" : [ "]" ] + } ] + }, { + "value" : [ " }" ] + } ] + }, { + "value" : [ " per ", "month" ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "1519", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1520", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1521", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + }, + "expression" : { + "type" : "Expand", + "localId" : "1511", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "1516", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1517", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1518", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + }, + "signature" : [ { + "type" : "ListTypeSpecifier", + "localId" : "1512", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1513", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1514", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1515", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "List", + "localId" : "1478", + "annotation" : [ ], "resultTypeSpecifier" : { - "localId" : "581", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "582", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "583", - "name" : "{urn:hl7-org:elm-types:r1}Time", - "type" : "NamedTypeSpecifier" - } - } + "type" : "ListTypeSpecifier", + "localId" : "1506", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1507", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1508", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } }, - "expression" : { - "localId" : "573", - "type" : "Expand", - "resultTypeSpecifier" : { - "localId" : "578", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "579", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "580", - "name" : "{urn:hl7-org:elm-types:r1}Time", - "type" : "NamedTypeSpecifier" - } - } - }, - "signature" : [ { - "localId" : "574", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "575", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "576", - "name" : "{urn:hl7-org:elm-types:r1}Time", - "type" : "NamedTypeSpecifier" - } - } - }, { - "localId" : "577", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "558", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "568", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "569", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "570", - "name" : "{urn:hl7-org:elm-types:r1}Time", - "type" : "NamedTypeSpecifier" - } - } - }, - "element" : [ { - "localId" : "565", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "566", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "567", - "name" : "{urn:hl7-org:elm-types:r1}Time", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "559", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Time", - "type" : "Time", - "signature" : [ ], - "hour" : { - "localId" : "560", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "minute" : { - "localId" : "561", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - }, - "high" : { - "localId" : "562", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Time", - "type" : "Time", - "signature" : [ ], - "hour" : { - "localId" : "563", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "minute" : { - "localId" : "564", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - } - } ] - }, { - "localId" : "572", - "value" : 1.0, - "unit" : "millisecond", - "type" : "Quantity" - } ] - } - }, { - "localId" : "586", - "name" : "MinPrecPerMinuteEmpty", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "586", - "s" : [ { - "value" : [ "","define ","MinPrecPerMinuteEmpty",": " ] - }, { - "r" : "600", - "s" : [ { - "value" : [ "expand " ] - }, { - "r" : "587", - "s" : [ { - "value" : [ "{ " ] - }, { - "r" : "592", - "s" : [ { - "r" : "588", - "value" : [ "Interval[","@T10",", ","@T10","]" ] - } ] - }, { - "value" : [ " }" ] - } ] - }, { - "value" : [ " per ","minute" ] - } ] - } ] - } - } ], + "element" : [ { + "type" : "Interval", + "localId" : "1503", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1504", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1505", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "DateTime", + "localId" : "1487", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1488", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1489", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1490", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1479", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2018", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1480", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "01", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "1481", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "01", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "1499", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1500", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1501", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1502", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1491", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2018", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1492", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "03", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "1493", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "01", + "annotation" : [ ] + } + } + } ] + }, { + "type" : "Quantity", + "localId" : "1510", + "value" : 1.0, + "unit" : "month", + "annotation" : [ ] + } ] + } + }, { + "localId" : "1524", + "name" : "DayPrecPerWeek", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "1524", + "s" : [ { + "value" : [ "", "define ", "DayPrecPerWeek", ": " ] + }, { + "r" : "1558", + "s" : [ { + "value" : [ "expand " ] + }, { + "r" : "1525", + "s" : [ { + "value" : [ "{ " ] + }, { + "r" : "1550", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "1534", + "s" : [ { + "r" : "1526", + "value" : [ "DateTime", "(", "2018", ",", "01", ",", "01", ")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "1546", + "s" : [ { + "r" : "1538", + "value" : [ "DateTime", "(", "2018", ",", "01", ",", "14", ")" ] + } ] + }, { + "value" : [ "]" ] + } ] + }, { + "value" : [ " }" ] + } ] + }, { + "value" : [ " per ", "week" ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "1566", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1567", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1568", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + }, + "expression" : { + "type" : "Expand", + "localId" : "1558", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "1563", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1564", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1565", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + }, + "signature" : [ { + "type" : "ListTypeSpecifier", + "localId" : "1559", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1560", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1561", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1562", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "List", + "localId" : "1525", + "annotation" : [ ], "resultTypeSpecifier" : { - "localId" : "608", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "609", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "610", - "name" : "{urn:hl7-org:elm-types:r1}Time", - "type" : "NamedTypeSpecifier" - } - } - }, - "expression" : { - "localId" : "600", - "type" : "Expand", - "resultTypeSpecifier" : { - "localId" : "605", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "606", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "607", - "name" : "{urn:hl7-org:elm-types:r1}Time", - "type" : "NamedTypeSpecifier" - } - } - }, - "signature" : [ { - "localId" : "601", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "602", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "603", - "name" : "{urn:hl7-org:elm-types:r1}Time", - "type" : "NamedTypeSpecifier" - } - } - }, { - "localId" : "604", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "587", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "595", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "596", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "597", - "name" : "{urn:hl7-org:elm-types:r1}Time", - "type" : "NamedTypeSpecifier" - } - } - }, - "element" : [ { - "localId" : "592", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "593", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "594", - "name" : "{urn:hl7-org:elm-types:r1}Time", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "588", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Time", - "type" : "Time", - "signature" : [ ], - "hour" : { - "localId" : "589", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal" - } - }, - "high" : { - "localId" : "590", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Time", - "type" : "Time", - "signature" : [ ], - "hour" : { - "localId" : "591", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal" - } - } - } ] - }, { - "localId" : "599", - "value" : 1.0, - "unit" : "minute", - "type" : "Quantity" - } ] - } - }, { - "localId" : "613", - "name" : "HourPrecPerHour", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "613", - "s" : [ { - "value" : [ "","define ","HourPrecPerHour",": " ] - }, { - "r" : "627", - "s" : [ { - "value" : [ "expand " ] - }, { - "r" : "614", - "s" : [ { - "value" : [ "{ " ] - }, { - "r" : "619", - "s" : [ { - "r" : "615", - "value" : [ "Interval[","@T01",", ","@T02","]" ] - } ] - }, { - "value" : [ " }" ] - } ] - }, { - "value" : [ " per ","hour" ] - } ] - } ] - } - } ], + "type" : "ListTypeSpecifier", + "localId" : "1553", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1554", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1555", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + }, + "element" : [ { + "type" : "Interval", + "localId" : "1550", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1551", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1552", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "DateTime", + "localId" : "1534", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1535", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1536", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1537", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1526", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2018", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1527", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "01", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "1528", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "01", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "1546", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1547", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1548", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1549", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1538", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2018", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1539", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "01", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "1540", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "14", + "annotation" : [ ] + } + } + } ] + }, { + "type" : "Quantity", + "localId" : "1557", + "value" : 1.0, + "unit" : "week", + "annotation" : [ ] + } ] + } + }, { + "localId" : "1571", + "name" : "DayPrecPerDay", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "1571", + "s" : [ { + "value" : [ "", "define ", "DayPrecPerDay", ": " ] + }, { + "r" : "1605", + "s" : [ { + "value" : [ "expand " ] + }, { + "r" : "1572", + "s" : [ { + "value" : [ "{ " ] + }, { + "r" : "1597", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "1581", + "s" : [ { + "r" : "1573", + "value" : [ "DateTime", "(", "2018", ",", "01", ",", "01", ")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "1593", + "s" : [ { + "r" : "1585", + "value" : [ "DateTime", "(", "2018", ",", "01", ",", "02", ")" ] + } ] + }, { + "value" : [ "]" ] + } ] + }, { + "value" : [ " }" ] + } ] + }, { + "value" : [ " per ", "day" ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "1613", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1614", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1615", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + }, + "expression" : { + "type" : "Expand", + "localId" : "1605", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "1610", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1611", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1612", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + }, + "signature" : [ { + "type" : "ListTypeSpecifier", + "localId" : "1606", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1607", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1608", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1609", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "List", + "localId" : "1572", + "annotation" : [ ], "resultTypeSpecifier" : { - "localId" : "635", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "636", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "637", - "name" : "{urn:hl7-org:elm-types:r1}Time", - "type" : "NamedTypeSpecifier" - } - } + "type" : "ListTypeSpecifier", + "localId" : "1600", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1601", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1602", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } }, - "expression" : { - "localId" : "627", - "type" : "Expand", - "resultTypeSpecifier" : { - "localId" : "632", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "633", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "634", - "name" : "{urn:hl7-org:elm-types:r1}Time", - "type" : "NamedTypeSpecifier" - } - } - }, - "signature" : [ { - "localId" : "628", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "629", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "630", - "name" : "{urn:hl7-org:elm-types:r1}Time", - "type" : "NamedTypeSpecifier" - } - } - }, { - "localId" : "631", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "614", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "622", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "623", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "624", - "name" : "{urn:hl7-org:elm-types:r1}Time", - "type" : "NamedTypeSpecifier" - } - } - }, - "element" : [ { - "localId" : "619", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "620", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "621", - "name" : "{urn:hl7-org:elm-types:r1}Time", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "615", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Time", - "type" : "Time", - "signature" : [ ], - "hour" : { - "localId" : "616", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - } - }, - "high" : { - "localId" : "617", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Time", - "type" : "Time", - "signature" : [ ], - "hour" : { - "localId" : "618", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal" - } - } - } ] - }, { - "localId" : "626", - "value" : 1.0, - "unit" : "hour", - "type" : "Quantity" - } ] - } - }, { - "localId" : "640", - "name" : "HourPrecPerMinute", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "640", - "s" : [ { - "value" : [ "","define ","HourPrecPerMinute",": " ] - }, { - "r" : "654", - "s" : [ { - "value" : [ "expand " ] - }, { - "r" : "641", - "s" : [ { - "value" : [ "{ " ] - }, { - "r" : "646", - "s" : [ { - "r" : "642", - "value" : [ "Interval[","@T01",", ","@T01","]" ] - } ] - }, { - "value" : [ " }" ] - } ] - }, { - "value" : [ " per ","minute" ] - } ] - } ] - } - } ], - "resultTypeSpecifier" : { - "localId" : "662", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "663", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "664", - "name" : "{urn:hl7-org:elm-types:r1}Time", - "type" : "NamedTypeSpecifier" - } - } - }, - "expression" : { - "localId" : "654", - "type" : "Expand", - "resultTypeSpecifier" : { - "localId" : "659", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "660", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "661", - "name" : "{urn:hl7-org:elm-types:r1}Time", - "type" : "NamedTypeSpecifier" - } - } - }, - "signature" : [ { - "localId" : "655", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "656", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "657", - "name" : "{urn:hl7-org:elm-types:r1}Time", - "type" : "NamedTypeSpecifier" - } - } - }, { - "localId" : "658", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "641", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "649", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "650", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "651", - "name" : "{urn:hl7-org:elm-types:r1}Time", - "type" : "NamedTypeSpecifier" - } - } - }, - "element" : [ { - "localId" : "646", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "647", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "648", - "name" : "{urn:hl7-org:elm-types:r1}Time", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "642", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Time", - "type" : "Time", - "signature" : [ ], - "hour" : { - "localId" : "643", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - } - }, - "high" : { - "localId" : "644", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Time", - "type" : "Time", - "signature" : [ ], - "hour" : { - "localId" : "645", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - } - } - } ] - }, { - "localId" : "653", - "value" : 1.0, - "unit" : "minute", - "type" : "Quantity" - } ] - } - }, { - "localId" : "667", - "name" : "HourPrecPerSecond", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "667", - "s" : [ { - "value" : [ "","define ","HourPrecPerSecond",": " ] - }, { - "r" : "681", - "s" : [ { - "value" : [ "expand " ] - }, { - "r" : "668", - "s" : [ { - "value" : [ "{ " ] - }, { - "r" : "673", - "s" : [ { - "r" : "669", - "value" : [ "Interval[","@T01",", ","@T01","]" ] - } ] - }, { - "value" : [ " }" ] - } ] - }, { - "value" : [ " per ","second" ] - } ] - } ] - } - } ], + "element" : [ { + "type" : "Interval", + "localId" : "1597", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1598", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1599", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "DateTime", + "localId" : "1581", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1582", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1583", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1584", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1573", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2018", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1574", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "01", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "1575", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "01", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "1593", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1594", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1595", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1596", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1585", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2018", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1586", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "01", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "1587", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "02", + "annotation" : [ ] + } + } + } ] + }, { + "type" : "Quantity", + "localId" : "1604", + "value" : 1.0, + "unit" : "day", + "annotation" : [ ] + } ] + } + }, { + "localId" : "1618", + "name" : "DayPrecPerHour", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "1618", + "s" : [ { + "value" : [ "", "define ", "DayPrecPerHour", ": " ] + }, { + "r" : "1652", + "s" : [ { + "value" : [ "expand " ] + }, { + "r" : "1619", + "s" : [ { + "value" : [ "{ " ] + }, { + "r" : "1644", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "1628", + "s" : [ { + "r" : "1620", + "value" : [ "DateTime", "(", "2018", ",", "01", ",", "01", ")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "1640", + "s" : [ { + "r" : "1632", + "value" : [ "DateTime", "(", "2018", ",", "01", ",", "01", ")" ] + } ] + }, { + "value" : [ "]" ] + } ] + }, { + "value" : [ " }" ] + } ] + }, { + "value" : [ " per ", "hour" ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "1660", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1661", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1662", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + }, + "expression" : { + "type" : "Expand", + "localId" : "1652", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "1657", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1658", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1659", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + }, + "signature" : [ { + "type" : "ListTypeSpecifier", + "localId" : "1653", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1654", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1655", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1656", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "List", + "localId" : "1619", + "annotation" : [ ], "resultTypeSpecifier" : { - "localId" : "689", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "690", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "691", - "name" : "{urn:hl7-org:elm-types:r1}Time", - "type" : "NamedTypeSpecifier" - } - } - }, - "expression" : { - "localId" : "681", - "type" : "Expand", - "resultTypeSpecifier" : { - "localId" : "686", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "687", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "688", - "name" : "{urn:hl7-org:elm-types:r1}Time", - "type" : "NamedTypeSpecifier" - } - } - }, - "signature" : [ { - "localId" : "682", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "683", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "684", - "name" : "{urn:hl7-org:elm-types:r1}Time", - "type" : "NamedTypeSpecifier" - } - } - }, { - "localId" : "685", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "668", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "676", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "677", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "678", - "name" : "{urn:hl7-org:elm-types:r1}Time", - "type" : "NamedTypeSpecifier" - } - } - }, - "element" : [ { - "localId" : "673", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "674", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "675", - "name" : "{urn:hl7-org:elm-types:r1}Time", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "669", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Time", - "type" : "Time", - "signature" : [ ], - "hour" : { - "localId" : "670", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - } - }, - "high" : { - "localId" : "671", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Time", - "type" : "Time", - "signature" : [ ], - "hour" : { - "localId" : "672", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - } - } - } ] - }, { - "localId" : "680", - "value" : 1.0, - "unit" : "second", - "type" : "Quantity" - } ] - } - }, { - "localId" : "694", - "name" : "HourPrecPerMillisecond", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "694", - "s" : [ { - "value" : [ "","define ","HourPrecPerMillisecond",": " ] - }, { - "r" : "708", - "s" : [ { - "value" : [ "expand " ] - }, { - "r" : "695", - "s" : [ { - "value" : [ "{ " ] - }, { - "r" : "700", - "s" : [ { - "r" : "696", - "value" : [ "Interval[","@T01",", ","@T01","]" ] - } ] - }, { - "value" : [ " }" ] - } ] - }, { - "value" : [ " per ","millisecond" ] - } ] - } ] - } - } ], + "type" : "ListTypeSpecifier", + "localId" : "1647", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1648", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1649", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + }, + "element" : [ { + "type" : "Interval", + "localId" : "1644", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1645", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1646", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "DateTime", + "localId" : "1628", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1629", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1630", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1631", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1620", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2018", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1621", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "01", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "1622", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "01", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "1640", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1641", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1642", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1643", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1632", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2018", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1633", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "01", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "1634", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "01", + "annotation" : [ ] + } + } + } ] + }, { + "type" : "Quantity", + "localId" : "1651", + "value" : 1.0, + "unit" : "hour", + "annotation" : [ ] + } ] + } + }, { + "localId" : "1665", + "name" : "DayPrecPerMinute", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "1665", + "s" : [ { + "value" : [ "", "define ", "DayPrecPerMinute", ": " ] + }, { + "r" : "1699", + "s" : [ { + "value" : [ "expand " ] + }, { + "r" : "1666", + "s" : [ { + "value" : [ "{ " ] + }, { + "r" : "1691", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "1675", + "s" : [ { + "r" : "1667", + "value" : [ "DateTime", "(", "2018", ",", "01", ",", "01", ")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "1687", + "s" : [ { + "r" : "1679", + "value" : [ "DateTime", "(", "2018", ",", "01", ",", "01", ")" ] + } ] + }, { + "value" : [ "]" ] + } ] + }, { + "value" : [ " }" ] + } ] + }, { + "value" : [ " per ", "minute" ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "1707", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1708", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1709", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + }, + "expression" : { + "type" : "Expand", + "localId" : "1699", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "1704", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1705", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1706", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + }, + "signature" : [ { + "type" : "ListTypeSpecifier", + "localId" : "1700", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1701", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1702", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1703", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "List", + "localId" : "1666", + "annotation" : [ ], "resultTypeSpecifier" : { - "localId" : "716", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "717", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "718", - "name" : "{urn:hl7-org:elm-types:r1}Time", - "type" : "NamedTypeSpecifier" - } - } + "type" : "ListTypeSpecifier", + "localId" : "1694", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1695", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1696", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } }, - "expression" : { - "localId" : "708", - "type" : "Expand", - "resultTypeSpecifier" : { - "localId" : "713", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "714", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "715", - "name" : "{urn:hl7-org:elm-types:r1}Time", - "type" : "NamedTypeSpecifier" - } - } - }, - "signature" : [ { - "localId" : "709", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "710", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "711", - "name" : "{urn:hl7-org:elm-types:r1}Time", - "type" : "NamedTypeSpecifier" - } - } - }, { - "localId" : "712", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "695", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "703", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "704", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "705", - "name" : "{urn:hl7-org:elm-types:r1}Time", - "type" : "NamedTypeSpecifier" - } - } - }, - "element" : [ { - "localId" : "700", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "701", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "702", - "name" : "{urn:hl7-org:elm-types:r1}Time", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "696", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Time", - "type" : "Time", - "signature" : [ ], - "hour" : { - "localId" : "697", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - } - }, - "high" : { - "localId" : "698", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Time", - "type" : "Time", - "signature" : [ ], - "hour" : { - "localId" : "699", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - } - } - } ] - }, { - "localId" : "707", - "value" : 1.0, - "unit" : "millisecond", - "type" : "Quantity" - } ] - } - } ] - } - } -} - -/* QuantityIntervalExpand -library TestSnippet version '1' -using Simple version '1.0.0' -context Patient -define ClosedSingleGPerG: expand { Interval[2 'g', 4 'g'] } per 1 'g' -define ClosedSingleGPerGDecimal: expand { Interval[2.1 'g', 4.1 'g'] } per 1 'g' -define ClosedSingleGPerMG: expand { Interval[2 'g', 2.003 'g'] } per 1 'mg' -define ClosedSingleMGPerGTrunc: expand { Interval[2999 'mg', 4200 'mg'] } per 1 'g' -define ClosedSingleMGPerMGTrunc: expand { Interval[2000 'mg', 4500 'mg'] } per 800 'mg' -define ClosedSingleMGPerMGDecimal: expand { Interval[2000.01 'mg', 4500 'mg'] } per 800 'mg' - -define NullInList: expand { Interval[2 'g', 4 'g'], null } per 1 'g' -define Overlapping: expand { Interval[2 'g', 4 'g'], Interval[3 'g', 5 'g'] } per 1 'g' -define NonOverlapping: expand { Interval[2 'g', 4 'g'], Interval[6 'g', 6 'g'] } per 1 'g' - -define NoPerDefaultM: expand { Interval[2 'm', 400 'cm'] } -define NoPerDefaultG: expand { Interval[2 'g', 4 'g'] } - -define OpenStart: expand { Interval(2 'g', 4 'g'] } per 1 'g' -define OpenEnd: expand { Interval[2 'g', 4 'g') } per 1 'g' -define OpenBoth: expand { Interval(2 'g', 4 'g') } per 1 'g' -define OpenBothDecimal: expand { Interval(2.1 'g', 4.1 'g') } per 1 'g' -define OpenBothDecimalTrunc: expand { Interval(2.1 'g', 4.101 'g') } per 1 'g' - -define EmptyList: List>{} -define PerTooBig: expand { Interval[2 'g', 4 'g'], null } per 5 'g' -define NullOpen: expand { Interval[null, 4 'g'] } per 1 'g' -define NullClose: expand { Interval[2 'g', null] } per 1 'g' -define NullBoth: expand { Interval[null, null] } per 1 'g' -define BadPerMinute: expand { Interval(2 'g', 4 'g'] } per 1 minute -define BadPerGram: expand { Interval(2 'km', 4 'km'] } per 1 'g' -*/ - -module.exports['QuantityIntervalExpand'] = { - "library" : { - "localId" : "0", - "annotation" : [ { - "translatorVersion" : "3.27.0", - "translatorOptions" : "EnableDateRangeOptimization,EnableAnnotations,EnableResultTypes", - "signatureLevel" : "All", - "type" : "CqlToElmInfo" - }, { - "type" : "Annotation", - "s" : { - "r" : "772", + "element" : [ { + "type" : "Interval", + "localId" : "1691", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1692", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1693", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "DateTime", + "localId" : "1675", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1676", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1677", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1678", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1667", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2018", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1668", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "01", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "1669", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "01", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "1687", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1688", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1689", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1690", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1679", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2018", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1680", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "01", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "1681", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "01", + "annotation" : [ ] + } + } + } ] + }, { + "type" : "Quantity", + "localId" : "1698", + "value" : 1.0, + "unit" : "minute", + "annotation" : [ ] + } ] + } + }, { + "localId" : "1712", + "name" : "DayPrecPerSecond", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "1712", "s" : [ { - "value" : [ "","library TestSnippet version '1'" ] - } ] - } - } ], - "identifier" : { - "id" : "TestSnippet", - "version" : "1" - }, - "schemaIdentifier" : { - "id" : "urn:hl7-org:elm", - "version" : "r1" - }, - "usings" : { - "def" : [ { - "localId" : "1", - "localIdentifier" : "System", - "uri" : "urn:hl7-org:elm-types:r1" - }, { - "localId" : "206", - "localIdentifier" : "Simple", - "uri" : "https://github.com/cqframework/cql-execution/simple", - "version" : "1.0.0", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "206", - "s" : [ { - "value" : [ "","using " ] - }, { - "s" : [ { - "value" : [ "Simple" ] - } ] - }, { - "value" : [ " version '1.0.0'" ] - } ] - } - } ] - } ] - }, - "contexts" : { - "def" : [ { - "localId" : "211", - "name" : "Patient" - } ] - }, - "statements" : { - "def" : [ { - "localId" : "209", - "name" : "Patient", - "context" : "Patient", - "expression" : { - "localId" : "210", - "type" : "SingletonFrom", - "signature" : [ ], - "operand" : { - "localId" : "208", - "dataType" : "{https://github.com/cqframework/cql-execution/simple}Patient", - "type" : "Retrieve", - "include" : [ ], - "codeFilter" : [ ], - "dateFilter" : [ ], - "otherFilter" : [ ] - } - } - }, { - "localId" : "214", - "name" : "ClosedSingleGPerG", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "214", - "s" : [ { - "value" : [ "","define ","ClosedSingleGPerG",": " ] - }, { - "r" : "226", - "s" : [ { - "value" : [ "expand " ] - }, { - "r" : "215", - "s" : [ { - "value" : [ "{ " ] - }, { - "r" : "218", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "216", - "s" : [ { - "value" : [ "2 ","'g'" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "217", - "s" : [ { - "value" : [ "4 ","'g'" ] - } ] - }, { - "value" : [ "]" ] - } ] - }, { - "value" : [ " }" ] - } ] - }, { - "value" : [ " per " ] - }, { - "r" : "225", - "s" : [ { - "value" : [ "1 ","'g'" ] - } ] - } ] - } ] - } - } ], + "value" : [ "", "define ", "DayPrecPerSecond", ": " ] + }, { + "r" : "1746", + "s" : [ { + "value" : [ "expand " ] + }, { + "r" : "1713", + "s" : [ { + "value" : [ "{ " ] + }, { + "r" : "1738", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "1722", + "s" : [ { + "r" : "1714", + "value" : [ "DateTime", "(", "2018", ",", "01", ",", "01", ")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "1734", + "s" : [ { + "r" : "1726", + "value" : [ "DateTime", "(", "2018", ",", "01", ",", "01", ")" ] + } ] + }, { + "value" : [ "]" ] + } ] + }, { + "value" : [ " }" ] + } ] + }, { + "value" : [ " per ", "second" ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "1754", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1755", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1756", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + }, + "expression" : { + "type" : "Expand", + "localId" : "1746", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "1751", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1752", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1753", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + }, + "signature" : [ { + "type" : "ListTypeSpecifier", + "localId" : "1747", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1748", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1749", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1750", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "List", + "localId" : "1713", + "annotation" : [ ], "resultTypeSpecifier" : { - "localId" : "234", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "235", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "236", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } - } + "type" : "ListTypeSpecifier", + "localId" : "1741", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1742", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1743", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } }, - "expression" : { - "localId" : "226", - "type" : "Expand", - "resultTypeSpecifier" : { - "localId" : "231", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "232", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "233", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } - } - }, - "signature" : [ { - "localId" : "227", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "228", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "229", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } - } - }, { - "localId" : "230", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "215", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "221", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "222", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "223", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } - } - }, - "element" : [ { - "localId" : "218", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "219", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "220", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "216", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "value" : 2, - "unit" : "g", - "type" : "Quantity" - }, - "high" : { - "localId" : "217", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "value" : 4, - "unit" : "g", - "type" : "Quantity" - } - } ] - }, { - "localId" : "225", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "value" : 1, - "unit" : "g", - "type" : "Quantity" - } ] - } - }, { - "localId" : "239", - "name" : "ClosedSingleGPerGDecimal", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "239", - "s" : [ { - "value" : [ "","define ","ClosedSingleGPerGDecimal",": " ] - }, { - "r" : "251", - "s" : [ { - "value" : [ "expand " ] - }, { - "r" : "240", - "s" : [ { - "value" : [ "{ " ] - }, { - "r" : "243", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "241", - "s" : [ { - "value" : [ "2.1 ","'g'" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "242", - "s" : [ { - "value" : [ "4.1 ","'g'" ] - } ] - }, { - "value" : [ "]" ] - } ] - }, { - "value" : [ " }" ] - } ] - }, { - "value" : [ " per " ] - }, { - "r" : "250", - "s" : [ { - "value" : [ "1 ","'g'" ] - } ] - } ] - } ] - } - } ], + "element" : [ { + "type" : "Interval", + "localId" : "1738", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1739", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1740", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "DateTime", + "localId" : "1722", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1723", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1724", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1725", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1714", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2018", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1715", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "01", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "1716", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "01", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "1734", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1735", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1736", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1737", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1726", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2018", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1727", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "01", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "1728", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "01", + "annotation" : [ ] + } + } + } ] + }, { + "type" : "Quantity", + "localId" : "1745", + "value" : 1.0, + "unit" : "second", + "annotation" : [ ] + } ] + } + }, { + "localId" : "1759", + "name" : "DayPrecPerMillisecond", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "1759", + "s" : [ { + "value" : [ "", "define ", "DayPrecPerMillisecond", ": " ] + }, { + "r" : "1793", + "s" : [ { + "value" : [ "expand " ] + }, { + "r" : "1760", + "s" : [ { + "value" : [ "{ " ] + }, { + "r" : "1785", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "1769", + "s" : [ { + "r" : "1761", + "value" : [ "DateTime", "(", "2018", ",", "01", ",", "01", ")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "1781", + "s" : [ { + "r" : "1773", + "value" : [ "DateTime", "(", "2018", ",", "01", ",", "01", ")" ] + } ] + }, { + "value" : [ "]" ] + } ] + }, { + "value" : [ " }" ] + } ] + }, { + "value" : [ " per ", "millisecond" ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "1801", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1802", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1803", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + }, + "expression" : { + "type" : "Expand", + "localId" : "1793", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "1798", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1799", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1800", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + }, + "signature" : [ { + "type" : "ListTypeSpecifier", + "localId" : "1794", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1795", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1796", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1797", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "List", + "localId" : "1760", + "annotation" : [ ], "resultTypeSpecifier" : { - "localId" : "259", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "260", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "261", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } - } + "type" : "ListTypeSpecifier", + "localId" : "1788", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1789", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1790", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } }, - "expression" : { - "localId" : "251", - "type" : "Expand", - "resultTypeSpecifier" : { - "localId" : "256", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "257", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "258", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } - } - }, - "signature" : [ { - "localId" : "252", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "253", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "254", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } - } - }, { - "localId" : "255", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "240", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "246", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "247", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "248", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } - } - }, - "element" : [ { - "localId" : "243", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "244", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "245", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "241", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "value" : 2.1, - "unit" : "g", - "type" : "Quantity" - }, - "high" : { - "localId" : "242", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "value" : 4.1, - "unit" : "g", - "type" : "Quantity" - } - } ] - }, { - "localId" : "250", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "value" : 1, - "unit" : "g", - "type" : "Quantity" - } ] - } - }, { - "localId" : "264", - "name" : "ClosedSingleGPerMG", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "264", - "s" : [ { - "value" : [ "","define ","ClosedSingleGPerMG",": " ] - }, { - "r" : "276", - "s" : [ { - "value" : [ "expand " ] - }, { - "r" : "265", - "s" : [ { - "value" : [ "{ " ] - }, { - "r" : "268", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "266", - "s" : [ { - "value" : [ "2 ","'g'" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "267", - "s" : [ { - "value" : [ "2.003 ","'g'" ] - } ] - }, { - "value" : [ "]" ] - } ] - }, { - "value" : [ " }" ] - } ] - }, { - "value" : [ " per " ] - }, { - "r" : "275", - "s" : [ { - "value" : [ "1 ","'mg'" ] - } ] - } ] - } ] - } - } ], - "resultTypeSpecifier" : { - "localId" : "284", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "285", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "286", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } - } - }, - "expression" : { - "localId" : "276", - "type" : "Expand", - "resultTypeSpecifier" : { - "localId" : "281", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "282", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "283", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } - } - }, - "signature" : [ { - "localId" : "277", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "278", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "279", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } - } - }, { - "localId" : "280", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "265", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "271", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "272", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "273", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } - } - }, - "element" : [ { - "localId" : "268", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "269", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "270", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "266", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "value" : 2, - "unit" : "g", - "type" : "Quantity" - }, - "high" : { - "localId" : "267", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "value" : 2.003, - "unit" : "g", - "type" : "Quantity" - } - } ] - }, { - "localId" : "275", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "value" : 1, - "unit" : "mg", - "type" : "Quantity" - } ] - } - }, { - "localId" : "289", - "name" : "ClosedSingleMGPerGTrunc", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "289", - "s" : [ { - "value" : [ "","define ","ClosedSingleMGPerGTrunc",": " ] - }, { - "r" : "301", - "s" : [ { - "value" : [ "expand " ] - }, { - "r" : "290", - "s" : [ { - "value" : [ "{ " ] - }, { - "r" : "293", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "291", - "s" : [ { - "value" : [ "2999 ","'mg'" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "292", - "s" : [ { - "value" : [ "4200 ","'mg'" ] - } ] - }, { - "value" : [ "]" ] - } ] - }, { - "value" : [ " }" ] - } ] - }, { - "value" : [ " per " ] - }, { - "r" : "300", - "s" : [ { - "value" : [ "1 ","'g'" ] - } ] - } ] - } ] - } - } ], + "element" : [ { + "type" : "Interval", + "localId" : "1785", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1786", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1787", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "DateTime", + "localId" : "1769", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1770", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1771", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1772", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1761", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2018", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1762", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "01", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "1763", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "01", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "1781", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1782", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1783", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1784", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1773", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2018", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1774", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "01", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "1775", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "01", + "annotation" : [ ] + } + } + } ] + }, { + "type" : "Quantity", + "localId" : "1792", + "value" : 1.0, + "unit" : "millisecond", + "annotation" : [ ] + } ] + } + }, { + "localId" : "1806", + "name" : "MonthPrecPerYear", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "1806", + "s" : [ { + "value" : [ "", "define ", "MonthPrecPerYear", ": " ] + }, { + "r" : "1834", + "s" : [ { + "value" : [ "expand " ] + }, { + "r" : "1807", + "s" : [ { + "value" : [ "{ " ] + }, { + "r" : "1826", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "1814", + "s" : [ { + "r" : "1808", + "value" : [ "DateTime", "(", "2016", ",", "01", ")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "1823", + "s" : [ { + "r" : "1817", + "value" : [ "DateTime", "(", "2018", ",", "01", ")" ] + } ] + }, { + "value" : [ "]" ] + } ] + }, { + "value" : [ " }" ] + } ] + }, { + "value" : [ " per ", "year" ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "1842", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1843", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1844", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + }, + "expression" : { + "type" : "Expand", + "localId" : "1834", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "1839", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1840", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1841", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + }, + "signature" : [ { + "type" : "ListTypeSpecifier", + "localId" : "1835", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1836", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1837", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1838", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "List", + "localId" : "1807", + "annotation" : [ ], "resultTypeSpecifier" : { - "localId" : "309", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "310", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "311", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } - } + "type" : "ListTypeSpecifier", + "localId" : "1829", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1830", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1831", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } }, - "expression" : { - "localId" : "301", - "type" : "Expand", - "resultTypeSpecifier" : { - "localId" : "306", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "307", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "308", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } - } - }, - "signature" : [ { - "localId" : "302", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "303", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "304", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } - } - }, { - "localId" : "305", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "290", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "296", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "297", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "298", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } - } - }, - "element" : [ { - "localId" : "293", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "294", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "295", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "291", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "value" : 2999, - "unit" : "mg", - "type" : "Quantity" - }, - "high" : { - "localId" : "292", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "value" : 4200, - "unit" : "mg", - "type" : "Quantity" - } - } ] - }, { - "localId" : "300", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "value" : 1, - "unit" : "g", - "type" : "Quantity" - } ] - } - }, { - "localId" : "314", - "name" : "ClosedSingleMGPerMGTrunc", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "314", - "s" : [ { - "value" : [ "","define ","ClosedSingleMGPerMGTrunc",": " ] - }, { - "r" : "326", - "s" : [ { - "value" : [ "expand " ] - }, { - "r" : "315", - "s" : [ { - "value" : [ "{ " ] - }, { - "r" : "318", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "316", - "s" : [ { - "value" : [ "2000 ","'mg'" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "317", - "s" : [ { - "value" : [ "4500 ","'mg'" ] - } ] - }, { - "value" : [ "]" ] - } ] - }, { - "value" : [ " }" ] - } ] - }, { - "value" : [ " per " ] - }, { - "r" : "325", - "s" : [ { - "value" : [ "800 ","'mg'" ] - } ] - } ] - } ] - } - } ], + "element" : [ { + "type" : "Interval", + "localId" : "1826", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1827", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1828", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "DateTime", + "localId" : "1814", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1815", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1816", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1808", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2016", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1809", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "01", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "1823", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1824", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1825", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1817", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2018", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1818", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "01", + "annotation" : [ ] + } + } + } ] + }, { + "type" : "Quantity", + "localId" : "1833", + "value" : 1.0, + "unit" : "year", + "annotation" : [ ] + } ] + } + }, { + "localId" : "1847", + "name" : "MonthPrecPerMonth", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "1847", + "s" : [ { + "value" : [ "", "define ", "MonthPrecPerMonth", ": " ] + }, { + "r" : "1875", + "s" : [ { + "value" : [ "expand " ] + }, { + "r" : "1848", + "s" : [ { + "value" : [ "{ " ] + }, { + "r" : "1867", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "1855", + "s" : [ { + "r" : "1849", + "value" : [ "DateTime", "(", "2018", ",", "01", ")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "1864", + "s" : [ { + "r" : "1858", + "value" : [ "DateTime", "(", "2018", ",", "02", ")" ] + } ] + }, { + "value" : [ "]" ] + } ] + }, { + "value" : [ " }" ] + } ] + }, { + "value" : [ " per ", "month" ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "1883", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1884", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1885", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + }, + "expression" : { + "type" : "Expand", + "localId" : "1875", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "1880", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1881", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1882", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + }, + "signature" : [ { + "type" : "ListTypeSpecifier", + "localId" : "1876", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1877", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1878", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1879", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "List", + "localId" : "1848", + "annotation" : [ ], "resultTypeSpecifier" : { - "localId" : "334", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "335", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "336", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } - } - }, - "expression" : { - "localId" : "326", - "type" : "Expand", - "resultTypeSpecifier" : { - "localId" : "331", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "332", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "333", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } - } - }, - "signature" : [ { - "localId" : "327", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "328", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "329", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } - } - }, { - "localId" : "330", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "315", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "321", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "322", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "323", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } - } - }, - "element" : [ { - "localId" : "318", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "319", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "320", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "316", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "value" : 2000, - "unit" : "mg", - "type" : "Quantity" - }, - "high" : { - "localId" : "317", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "value" : 4500, - "unit" : "mg", - "type" : "Quantity" - } - } ] - }, { - "localId" : "325", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "value" : 800, - "unit" : "mg", - "type" : "Quantity" - } ] - } - }, { - "localId" : "339", - "name" : "ClosedSingleMGPerMGDecimal", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "339", - "s" : [ { - "value" : [ "","define ","ClosedSingleMGPerMGDecimal",": " ] - }, { - "r" : "351", - "s" : [ { - "value" : [ "expand " ] - }, { - "r" : "340", - "s" : [ { - "value" : [ "{ " ] - }, { - "r" : "343", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "341", - "s" : [ { - "value" : [ "2000.01 ","'mg'" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "342", - "s" : [ { - "value" : [ "4500 ","'mg'" ] - } ] - }, { - "value" : [ "]" ] - } ] - }, { - "value" : [ " }" ] - } ] - }, { - "value" : [ " per " ] - }, { - "r" : "350", - "s" : [ { - "value" : [ "800 ","'mg'" ] - } ] - } ] - } ] - } - } ], + "type" : "ListTypeSpecifier", + "localId" : "1870", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1871", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1872", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + }, + "element" : [ { + "type" : "Interval", + "localId" : "1867", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1868", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1869", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "DateTime", + "localId" : "1855", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1856", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1857", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1849", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2018", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1850", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "01", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "1864", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1865", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1866", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1858", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2018", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1859", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "02", + "annotation" : [ ] + } + } + } ] + }, { + "type" : "Quantity", + "localId" : "1874", + "value" : 1.0, + "unit" : "month", + "annotation" : [ ] + } ] + } + }, { + "localId" : "1888", + "name" : "MonthPrecPerWeek", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "1888", + "s" : [ { + "value" : [ "", "define ", "MonthPrecPerWeek", ": " ] + }, { + "r" : "1916", + "s" : [ { + "value" : [ "expand " ] + }, { + "r" : "1889", + "s" : [ { + "value" : [ "{ " ] + }, { + "r" : "1908", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "1896", + "s" : [ { + "r" : "1890", + "value" : [ "DateTime", "(", "2018", ",", "01", ")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "1905", + "s" : [ { + "r" : "1899", + "value" : [ "DateTime", "(", "2018", ",", "01", ")" ] + } ] + }, { + "value" : [ "]" ] + } ] + }, { + "value" : [ " }" ] + } ] + }, { + "value" : [ " per ", "week" ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "1924", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1925", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1926", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + }, + "expression" : { + "type" : "Expand", + "localId" : "1916", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "1921", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1922", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1923", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + }, + "signature" : [ { + "type" : "ListTypeSpecifier", + "localId" : "1917", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1918", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1919", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1920", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "List", + "localId" : "1889", + "annotation" : [ ], "resultTypeSpecifier" : { - "localId" : "359", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "360", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "361", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } - } + "type" : "ListTypeSpecifier", + "localId" : "1911", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1912", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1913", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } }, - "expression" : { - "localId" : "351", - "type" : "Expand", - "resultTypeSpecifier" : { - "localId" : "356", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "357", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "358", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } - } - }, - "signature" : [ { - "localId" : "352", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "353", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "354", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } - } - }, { - "localId" : "355", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "340", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "346", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "347", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "348", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } - } - }, - "element" : [ { - "localId" : "343", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "344", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "345", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "341", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "value" : 2000.01, - "unit" : "mg", - "type" : "Quantity" - }, - "high" : { - "localId" : "342", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "value" : 4500, - "unit" : "mg", - "type" : "Quantity" - } - } ] - }, { - "localId" : "350", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "value" : 800, - "unit" : "mg", - "type" : "Quantity" - } ] - } - }, { - "localId" : "364", - "name" : "NullInList", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "364", - "s" : [ { - "value" : [ "","define ","NullInList",": " ] - }, { - "r" : "380", - "s" : [ { - "value" : [ "expand " ] - }, { - "r" : "365", - "s" : [ { - "value" : [ "{ " ] - }, { - "r" : "368", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "366", - "s" : [ { - "value" : [ "2 ","'g'" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "367", - "s" : [ { - "value" : [ "4 ","'g'" ] - } ] - }, { - "value" : [ "]" ] - } ] - }, { - "r" : "371", - "value" : [ ", ","null"," }" ] - } ] - }, { - "value" : [ " per " ] - }, { - "r" : "379", - "s" : [ { - "value" : [ "1 ","'g'" ] - } ] - } ] - } ] - } - } ], + "element" : [ { + "type" : "Interval", + "localId" : "1908", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1909", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1910", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "DateTime", + "localId" : "1896", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1897", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1898", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1890", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2018", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1891", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "01", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "1905", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1906", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1907", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1899", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2018", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1900", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "01", + "annotation" : [ ] + } + } + } ] + }, { + "type" : "Quantity", + "localId" : "1915", + "value" : 1.0, + "unit" : "week", + "annotation" : [ ] + } ] + } + }, { + "localId" : "1929", + "name" : "MonthPrecPerDay", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "1929", + "s" : [ { + "value" : [ "", "define ", "MonthPrecPerDay", ": " ] + }, { + "r" : "1957", + "s" : [ { + "value" : [ "expand " ] + }, { + "r" : "1930", + "s" : [ { + "value" : [ "{ " ] + }, { + "r" : "1949", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "1937", + "s" : [ { + "r" : "1931", + "value" : [ "DateTime", "(", "2018", ",", "01", ")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "1946", + "s" : [ { + "r" : "1940", + "value" : [ "DateTime", "(", "2018", ",", "01", ")" ] + } ] + }, { + "value" : [ "]" ] + } ] + }, { + "value" : [ " }" ] + } ] + }, { + "value" : [ " per ", "day" ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "1965", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1966", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1967", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + }, + "expression" : { + "type" : "Expand", + "localId" : "1957", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "1962", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1963", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1964", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + }, + "signature" : [ { + "type" : "ListTypeSpecifier", + "localId" : "1958", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1959", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1960", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1961", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "List", + "localId" : "1930", + "annotation" : [ ], "resultTypeSpecifier" : { - "localId" : "388", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "389", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "390", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } - } + "type" : "ListTypeSpecifier", + "localId" : "1952", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1953", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1954", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } }, - "expression" : { - "localId" : "380", - "type" : "Expand", - "resultTypeSpecifier" : { - "localId" : "385", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "386", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "387", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } - } - }, - "signature" : [ { - "localId" : "381", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "382", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "383", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } - } - }, { - "localId" : "384", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "365", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "375", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "376", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "377", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } - } - }, - "element" : [ { - "localId" : "368", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "369", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "370", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "366", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "value" : 2, - "unit" : "g", - "type" : "Quantity" - }, - "high" : { - "localId" : "367", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "value" : 4, - "unit" : "g", - "type" : "Quantity" - } - }, { - "localId" : "372", - "type" : "As", - "signature" : [ ], - "operand" : { - "localId" : "371", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - }, - "asTypeSpecifier" : { - "localId" : "373", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "374", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } - } - } ] - }, { - "localId" : "379", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "value" : 1, - "unit" : "g", - "type" : "Quantity" - } ] - } - }, { - "localId" : "393", - "name" : "Overlapping", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "393", - "s" : [ { - "value" : [ "","define ","Overlapping",": " ] - }, { - "r" : "410", - "s" : [ { - "value" : [ "expand " ] - }, { - "r" : "394", - "s" : [ { - "value" : [ "{ " ] - }, { - "r" : "397", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "395", - "s" : [ { - "value" : [ "2 ","'g'" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "396", - "s" : [ { - "value" : [ "4 ","'g'" ] - } ] - }, { - "value" : [ "]" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "402", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "400", - "s" : [ { - "value" : [ "3 ","'g'" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "401", - "s" : [ { - "value" : [ "5 ","'g'" ] - } ] - }, { - "value" : [ "]" ] - } ] - }, { - "value" : [ " }" ] - } ] - }, { - "value" : [ " per " ] - }, { - "r" : "409", - "s" : [ { - "value" : [ "1 ","'g'" ] - } ] - } ] - } ] - } - } ], + "element" : [ { + "type" : "Interval", + "localId" : "1949", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1950", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1951", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "DateTime", + "localId" : "1937", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1938", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1939", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1931", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2018", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1932", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "01", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "1946", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1947", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1948", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1940", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2018", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1941", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "01", + "annotation" : [ ] + } + } + } ] + }, { + "type" : "Quantity", + "localId" : "1956", + "value" : 1.0, + "unit" : "day", + "annotation" : [ ] + } ] + } + }, { + "localId" : "1970", + "name" : "MonthPrecPerHour", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "1970", + "s" : [ { + "value" : [ "", "define ", "MonthPrecPerHour", ": " ] + }, { + "r" : "1998", + "s" : [ { + "value" : [ "expand " ] + }, { + "r" : "1971", + "s" : [ { + "value" : [ "{ " ] + }, { + "r" : "1990", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "1978", + "s" : [ { + "r" : "1972", + "value" : [ "DateTime", "(", "2018", ",", "01", ")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "1987", + "s" : [ { + "r" : "1981", + "value" : [ "DateTime", "(", "2018", ",", "01", ")" ] + } ] + }, { + "value" : [ "]" ] + } ] + }, { + "value" : [ " }" ] + } ] + }, { + "value" : [ " per ", "hour" ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "2006", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "2007", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "2008", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + }, + "expression" : { + "type" : "Expand", + "localId" : "1998", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "2003", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "2004", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "2005", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + }, + "signature" : [ { + "type" : "ListTypeSpecifier", + "localId" : "1999", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "2000", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "2001", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2002", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "List", + "localId" : "1971", + "annotation" : [ ], "resultTypeSpecifier" : { - "localId" : "418", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "419", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "420", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } - } + "type" : "ListTypeSpecifier", + "localId" : "1993", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1994", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1995", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } }, - "expression" : { - "localId" : "410", - "type" : "Expand", - "resultTypeSpecifier" : { - "localId" : "415", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "416", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "417", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } - } - }, - "signature" : [ { - "localId" : "411", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "412", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "413", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } - } - }, { - "localId" : "414", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "394", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "405", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "406", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "407", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } - } - }, - "element" : [ { - "localId" : "397", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "398", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "399", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "395", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "value" : 2, - "unit" : "g", - "type" : "Quantity" - }, - "high" : { - "localId" : "396", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "value" : 4, - "unit" : "g", - "type" : "Quantity" - } - }, { - "localId" : "402", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "403", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "404", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "400", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "value" : 3, - "unit" : "g", - "type" : "Quantity" - }, - "high" : { - "localId" : "401", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "value" : 5, - "unit" : "g", - "type" : "Quantity" - } - } ] - }, { - "localId" : "409", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "value" : 1, - "unit" : "g", - "type" : "Quantity" - } ] - } - }, { - "localId" : "423", - "name" : "NonOverlapping", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "423", - "s" : [ { - "value" : [ "","define ","NonOverlapping",": " ] - }, { - "r" : "440", - "s" : [ { - "value" : [ "expand " ] - }, { - "r" : "424", - "s" : [ { - "value" : [ "{ " ] - }, { - "r" : "427", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "425", - "s" : [ { - "value" : [ "2 ","'g'" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "426", - "s" : [ { - "value" : [ "4 ","'g'" ] - } ] - }, { - "value" : [ "]" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "432", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "430", - "s" : [ { - "value" : [ "6 ","'g'" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "431", - "s" : [ { - "value" : [ "6 ","'g'" ] - } ] - }, { - "value" : [ "]" ] - } ] - }, { - "value" : [ " }" ] - } ] - }, { - "value" : [ " per " ] - }, { - "r" : "439", - "s" : [ { - "value" : [ "1 ","'g'" ] - } ] - } ] - } ] - } - } ], + "element" : [ { + "type" : "Interval", + "localId" : "1990", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1991", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1992", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "DateTime", + "localId" : "1978", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1979", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1980", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1972", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2018", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1973", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "01", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "1987", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1988", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1989", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1981", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2018", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1982", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "01", + "annotation" : [ ] + } + } + } ] + }, { + "type" : "Quantity", + "localId" : "1997", + "value" : 1.0, + "unit" : "hour", + "annotation" : [ ] + } ] + } + }, { + "localId" : "2011", + "name" : "MonthPrecPerMinute", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "2011", + "s" : [ { + "value" : [ "", "define ", "MonthPrecPerMinute", ": " ] + }, { + "r" : "2039", + "s" : [ { + "value" : [ "expand " ] + }, { + "r" : "2012", + "s" : [ { + "value" : [ "{ " ] + }, { + "r" : "2031", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "2019", + "s" : [ { + "r" : "2013", + "value" : [ "DateTime", "(", "2018", ",", "01", ")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "2028", + "s" : [ { + "r" : "2022", + "value" : [ "DateTime", "(", "2018", ",", "01", ")" ] + } ] + }, { + "value" : [ "]" ] + } ] + }, { + "value" : [ " }" ] + } ] + }, { + "value" : [ " per ", "minute" ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "2047", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "2048", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "2049", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + }, + "expression" : { + "type" : "Expand", + "localId" : "2039", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "2044", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "2045", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "2046", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + }, + "signature" : [ { + "type" : "ListTypeSpecifier", + "localId" : "2040", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "2041", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "2042", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2043", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "List", + "localId" : "2012", + "annotation" : [ ], "resultTypeSpecifier" : { - "localId" : "448", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "449", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "450", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } - } + "type" : "ListTypeSpecifier", + "localId" : "2034", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "2035", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "2036", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } }, - "expression" : { - "localId" : "440", - "type" : "Expand", - "resultTypeSpecifier" : { - "localId" : "445", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "446", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "447", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } - } - }, - "signature" : [ { - "localId" : "441", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "442", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "443", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } - } - }, { - "localId" : "444", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "424", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "435", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "436", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "437", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } - } - }, - "element" : [ { - "localId" : "427", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "428", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "429", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "425", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "value" : 2, - "unit" : "g", - "type" : "Quantity" - }, - "high" : { - "localId" : "426", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "value" : 4, - "unit" : "g", - "type" : "Quantity" - } - }, { - "localId" : "432", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "433", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "434", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "430", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "value" : 6, - "unit" : "g", - "type" : "Quantity" - }, - "high" : { - "localId" : "431", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "value" : 6, - "unit" : "g", - "type" : "Quantity" - } - } ] - }, { - "localId" : "439", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "value" : 1, - "unit" : "g", - "type" : "Quantity" - } ] - } - }, { - "localId" : "453", - "name" : "NoPerDefaultM", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "453", - "s" : [ { - "value" : [ "","define ","NoPerDefaultM",": " ] - }, { - "r" : "464", - "s" : [ { - "value" : [ "expand " ] - }, { - "r" : "454", - "s" : [ { - "value" : [ "{ " ] - }, { - "r" : "457", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "455", - "s" : [ { - "value" : [ "2 ","'m'" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "456", - "s" : [ { - "value" : [ "400 ","'cm'" ] - } ] - }, { - "value" : [ "]" ] - } ] - }, { - "value" : [ " }" ] - } ] - } ] - } ] - } - } ], + "element" : [ { + "type" : "Interval", + "localId" : "2031", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "2032", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "2033", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "DateTime", + "localId" : "2019", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "2020", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2021", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "2013", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2018", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "2014", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "01", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "2028", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "2029", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2030", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "2022", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2018", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "2023", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "01", + "annotation" : [ ] + } + } + } ] + }, { + "type" : "Quantity", + "localId" : "2038", + "value" : 1.0, + "unit" : "minute", + "annotation" : [ ] + } ] + } + }, { + "localId" : "2052", + "name" : "MonthPrecPerSecond", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "2052", + "s" : [ { + "value" : [ "", "define ", "MonthPrecPerSecond", ": " ] + }, { + "r" : "2080", + "s" : [ { + "value" : [ "expand " ] + }, { + "r" : "2053", + "s" : [ { + "value" : [ "{ " ] + }, { + "r" : "2072", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "2060", + "s" : [ { + "r" : "2054", + "value" : [ "DateTime", "(", "2018", ",", "01", ")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "2069", + "s" : [ { + "r" : "2063", + "value" : [ "DateTime", "(", "2018", ",", "01", ")" ] + } ] + }, { + "value" : [ "]" ] + } ] + }, { + "value" : [ " }" ] + } ] + }, { + "value" : [ " per ", "second" ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "2088", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "2089", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "2090", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + }, + "expression" : { + "type" : "Expand", + "localId" : "2080", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "2085", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "2086", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "2087", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + }, + "signature" : [ { + "type" : "ListTypeSpecifier", + "localId" : "2081", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "2082", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "2083", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2084", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "List", + "localId" : "2053", + "annotation" : [ ], "resultTypeSpecifier" : { - "localId" : "472", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "473", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "474", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } - } + "type" : "ListTypeSpecifier", + "localId" : "2075", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "2076", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "2077", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } }, - "expression" : { - "localId" : "464", - "type" : "Expand", - "resultTypeSpecifier" : { - "localId" : "469", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "470", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "471", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } - } - }, - "signature" : [ { - "localId" : "465", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "466", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "467", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } - } - }, { - "localId" : "468", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "454", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "460", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "461", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "462", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } - } - }, - "element" : [ { - "localId" : "457", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "458", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "459", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "455", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "value" : 2, - "unit" : "m", - "type" : "Quantity" - }, - "high" : { - "localId" : "456", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "value" : 400, - "unit" : "cm", - "type" : "Quantity" - } - } ] - }, { - "localId" : "463", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "Null" - } ] - } - }, { - "localId" : "477", - "name" : "NoPerDefaultG", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "477", - "s" : [ { - "value" : [ "","define ","NoPerDefaultG",": " ] - }, { - "r" : "488", - "s" : [ { - "value" : [ "expand " ] - }, { - "r" : "478", - "s" : [ { - "value" : [ "{ " ] - }, { - "r" : "481", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "479", - "s" : [ { - "value" : [ "2 ","'g'" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "480", - "s" : [ { - "value" : [ "4 ","'g'" ] - } ] - }, { - "value" : [ "]" ] - } ] - }, { - "value" : [ " }" ] - } ] - } ] - } ] - } - } ], - "resultTypeSpecifier" : { - "localId" : "496", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "497", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "498", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } - } - }, - "expression" : { - "localId" : "488", - "type" : "Expand", - "resultTypeSpecifier" : { - "localId" : "493", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "494", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "495", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } - } - }, - "signature" : [ { - "localId" : "489", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "490", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "491", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } - } - }, { - "localId" : "492", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "478", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "484", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "485", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "486", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } - } - }, - "element" : [ { - "localId" : "481", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "482", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "483", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "479", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "value" : 2, - "unit" : "g", - "type" : "Quantity" - }, - "high" : { - "localId" : "480", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "value" : 4, - "unit" : "g", - "type" : "Quantity" - } - } ] - }, { - "localId" : "487", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "Null" - } ] - } - }, { - "localId" : "501", - "name" : "OpenStart", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "501", - "s" : [ { - "value" : [ "","define ","OpenStart",": " ] - }, { - "r" : "513", - "s" : [ { - "value" : [ "expand " ] - }, { - "r" : "502", - "s" : [ { - "value" : [ "{ " ] - }, { - "r" : "505", - "s" : [ { - "value" : [ "Interval(" ] - }, { - "r" : "503", - "s" : [ { - "value" : [ "2 ","'g'" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "504", - "s" : [ { - "value" : [ "4 ","'g'" ] - } ] - }, { - "value" : [ "]" ] - } ] - }, { - "value" : [ " }" ] - } ] - }, { - "value" : [ " per " ] - }, { - "r" : "512", - "s" : [ { - "value" : [ "1 ","'g'" ] - } ] - } ] - } ] - } - } ], + "element" : [ { + "type" : "Interval", + "localId" : "2072", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "2073", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "2074", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "DateTime", + "localId" : "2060", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "2061", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2062", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "2054", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2018", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "2055", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "01", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "2069", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "2070", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2071", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "2063", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2018", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "2064", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "01", + "annotation" : [ ] + } + } + } ] + }, { + "type" : "Quantity", + "localId" : "2079", + "value" : 1.0, + "unit" : "second", + "annotation" : [ ] + } ] + } + }, { + "localId" : "2093", + "name" : "MonthPrecPerMillisecond", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "2093", + "s" : [ { + "value" : [ "", "define ", "MonthPrecPerMillisecond", ": " ] + }, { + "r" : "2121", + "s" : [ { + "value" : [ "expand " ] + }, { + "r" : "2094", + "s" : [ { + "value" : [ "{ " ] + }, { + "r" : "2113", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "2101", + "s" : [ { + "r" : "2095", + "value" : [ "DateTime", "(", "2018", ",", "01", ")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "2110", + "s" : [ { + "r" : "2104", + "value" : [ "DateTime", "(", "2018", ",", "01", ")" ] + } ] + }, { + "value" : [ "]" ] + } ] + }, { + "value" : [ " }" ] + } ] + }, { + "value" : [ " per ", "millisecond" ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "2129", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "2130", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "2131", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + }, + "expression" : { + "type" : "Expand", + "localId" : "2121", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "2126", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "2127", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "2128", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + }, + "signature" : [ { + "type" : "ListTypeSpecifier", + "localId" : "2122", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "2123", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "2124", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2125", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "List", + "localId" : "2094", + "annotation" : [ ], "resultTypeSpecifier" : { - "localId" : "521", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "522", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "523", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } - } + "type" : "ListTypeSpecifier", + "localId" : "2116", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "2117", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "2118", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } }, - "expression" : { - "localId" : "513", - "type" : "Expand", - "resultTypeSpecifier" : { - "localId" : "518", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "519", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "520", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } - } - }, - "signature" : [ { - "localId" : "514", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "515", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "516", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } - } - }, { - "localId" : "517", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "502", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "508", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "509", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "510", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } - } - }, - "element" : [ { - "localId" : "505", - "lowClosed" : false, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "506", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "507", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "503", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "value" : 2, - "unit" : "g", - "type" : "Quantity" - }, - "high" : { - "localId" : "504", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "value" : 4, - "unit" : "g", - "type" : "Quantity" - } - } ] - }, { - "localId" : "512", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "value" : 1, - "unit" : "g", - "type" : "Quantity" - } ] - } - }, { - "localId" : "526", - "name" : "OpenEnd", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "526", - "s" : [ { - "value" : [ "","define ","OpenEnd",": " ] - }, { - "r" : "538", - "s" : [ { - "value" : [ "expand " ] - }, { - "r" : "527", - "s" : [ { - "value" : [ "{ " ] - }, { - "r" : "530", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "528", - "s" : [ { - "value" : [ "2 ","'g'" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "529", - "s" : [ { - "value" : [ "4 ","'g'" ] - } ] - }, { - "value" : [ ")" ] - } ] - }, { - "value" : [ " }" ] - } ] - }, { - "value" : [ " per " ] - }, { - "r" : "537", - "s" : [ { - "value" : [ "1 ","'g'" ] - } ] - } ] - } ] - } - } ], + "element" : [ { + "type" : "Interval", + "localId" : "2113", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "2114", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "2115", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "DateTime", + "localId" : "2101", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "2102", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2103", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "2095", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2018", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "2096", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "01", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "2110", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "2111", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2112", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "2104", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2018", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "2105", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "01", + "annotation" : [ ] + } + } + } ] + }, { + "type" : "Quantity", + "localId" : "2120", + "value" : 1.0, + "unit" : "millisecond", + "annotation" : [ ] + } ] + } + }, { + "localId" : "2134", + "name" : "YearPrecPerYear", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "2134", + "s" : [ { + "value" : [ "", "define ", "YearPrecPerYear", ": " ] + }, { + "r" : "2156", + "s" : [ { + "value" : [ "expand " ] + }, { + "r" : "2135", + "s" : [ { + "value" : [ "{ " ] + }, { + "r" : "2148", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "2140", + "s" : [ { + "r" : "2136", + "value" : [ "DateTime", "(", "2016", ")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "2146", + "s" : [ { + "r" : "2142", + "value" : [ "DateTime", "(", "2018", ")" ] + } ] + }, { + "value" : [ "]" ] + } ] + }, { + "value" : [ " }" ] + } ] + }, { + "value" : [ " per ", "year" ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "2164", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "2165", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "2166", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + }, + "expression" : { + "type" : "Expand", + "localId" : "2156", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "2161", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "2162", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "2163", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + }, + "signature" : [ { + "type" : "ListTypeSpecifier", + "localId" : "2157", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "2158", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "2159", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2160", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "List", + "localId" : "2135", + "annotation" : [ ], "resultTypeSpecifier" : { - "localId" : "546", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "547", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "548", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } - } - }, - "expression" : { - "localId" : "538", - "type" : "Expand", - "resultTypeSpecifier" : { - "localId" : "543", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "544", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "545", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } - } - }, - "signature" : [ { - "localId" : "539", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "540", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "541", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } - } - }, { - "localId" : "542", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "527", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "533", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "534", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "535", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } - } - }, - "element" : [ { - "localId" : "530", - "lowClosed" : true, - "highClosed" : false, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "531", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "532", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "528", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "value" : 2, - "unit" : "g", - "type" : "Quantity" - }, - "high" : { - "localId" : "529", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "value" : 4, - "unit" : "g", - "type" : "Quantity" - } - } ] - }, { - "localId" : "537", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "value" : 1, - "unit" : "g", - "type" : "Quantity" - } ] - } - }, { - "localId" : "551", - "name" : "OpenBoth", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "551", - "s" : [ { - "value" : [ "","define ","OpenBoth",": " ] - }, { - "r" : "563", - "s" : [ { - "value" : [ "expand " ] - }, { - "r" : "552", - "s" : [ { - "value" : [ "{ " ] - }, { - "r" : "555", - "s" : [ { - "value" : [ "Interval(" ] - }, { - "r" : "553", - "s" : [ { - "value" : [ "2 ","'g'" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "554", - "s" : [ { - "value" : [ "4 ","'g'" ] - } ] - }, { - "value" : [ ")" ] - } ] - }, { - "value" : [ " }" ] - } ] - }, { - "value" : [ " per " ] - }, { - "r" : "562", - "s" : [ { - "value" : [ "1 ","'g'" ] - } ] - } ] - } ] - } - } ], + "type" : "ListTypeSpecifier", + "localId" : "2151", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "2152", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "2153", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + }, + "element" : [ { + "type" : "Interval", + "localId" : "2148", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "2149", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "2150", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "DateTime", + "localId" : "2140", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "2141", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "2136", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2016", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "2146", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "2147", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "2142", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2018", + "annotation" : [ ] + } + } + } ] + }, { + "type" : "Quantity", + "localId" : "2155", + "value" : 1.0, + "unit" : "year", + "annotation" : [ ] + } ] + } + }, { + "localId" : "2169", + "name" : "YearPrecPerMonth", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "2169", + "s" : [ { + "value" : [ "", "define ", "YearPrecPerMonth", ": " ] + }, { + "r" : "2191", + "s" : [ { + "value" : [ "expand " ] + }, { + "r" : "2170", + "s" : [ { + "value" : [ "{ " ] + }, { + "r" : "2183", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "2175", + "s" : [ { + "r" : "2171", + "value" : [ "DateTime", "(", "2018", ")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "2181", + "s" : [ { + "r" : "2177", + "value" : [ "DateTime", "(", "2018", ")" ] + } ] + }, { + "value" : [ "]" ] + } ] + }, { + "value" : [ " }" ] + } ] + }, { + "value" : [ " per ", "month" ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "2199", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "2200", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "2201", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + }, + "expression" : { + "type" : "Expand", + "localId" : "2191", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "2196", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "2197", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "2198", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + }, + "signature" : [ { + "type" : "ListTypeSpecifier", + "localId" : "2192", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "2193", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "2194", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2195", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "List", + "localId" : "2170", + "annotation" : [ ], "resultTypeSpecifier" : { - "localId" : "571", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "572", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "573", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } - } + "type" : "ListTypeSpecifier", + "localId" : "2186", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "2187", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "2188", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } }, - "expression" : { - "localId" : "563", - "type" : "Expand", - "resultTypeSpecifier" : { - "localId" : "568", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "569", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "570", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } - } - }, - "signature" : [ { - "localId" : "564", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "565", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "566", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } - } - }, { - "localId" : "567", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "552", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "558", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "559", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "560", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } - } - }, - "element" : [ { - "localId" : "555", - "lowClosed" : false, - "highClosed" : false, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "556", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "557", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "553", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "value" : 2, - "unit" : "g", - "type" : "Quantity" - }, - "high" : { - "localId" : "554", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "value" : 4, - "unit" : "g", - "type" : "Quantity" - } - } ] - }, { - "localId" : "562", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "value" : 1, - "unit" : "g", - "type" : "Quantity" - } ] - } - }, { - "localId" : "576", - "name" : "OpenBothDecimal", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "576", - "s" : [ { - "value" : [ "","define ","OpenBothDecimal",": " ] - }, { - "r" : "588", - "s" : [ { - "value" : [ "expand " ] - }, { - "r" : "577", - "s" : [ { - "value" : [ "{ " ] - }, { - "r" : "580", - "s" : [ { - "value" : [ "Interval(" ] - }, { - "r" : "578", - "s" : [ { - "value" : [ "2.1 ","'g'" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "579", - "s" : [ { - "value" : [ "4.1 ","'g'" ] - } ] - }, { - "value" : [ ")" ] - } ] - }, { - "value" : [ " }" ] - } ] - }, { - "value" : [ " per " ] - }, { - "r" : "587", - "s" : [ { - "value" : [ "1 ","'g'" ] - } ] - } ] - } ] - } - } ], + "element" : [ { + "type" : "Interval", + "localId" : "2183", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "2184", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "2185", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "DateTime", + "localId" : "2175", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "2176", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "2171", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2018", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "2181", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "2182", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "2177", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2018", + "annotation" : [ ] + } + } + } ] + }, { + "type" : "Quantity", + "localId" : "2190", + "value" : 1.0, + "unit" : "month", + "annotation" : [ ] + } ] + } + }, { + "localId" : "2204", + "name" : "YearPrecPerWeek", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "2204", + "s" : [ { + "value" : [ "", "define ", "YearPrecPerWeek", ": " ] + }, { + "r" : "2226", + "s" : [ { + "value" : [ "expand " ] + }, { + "r" : "2205", + "s" : [ { + "value" : [ "{ " ] + }, { + "r" : "2218", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "2210", + "s" : [ { + "r" : "2206", + "value" : [ "DateTime", "(", "2018", ")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "2216", + "s" : [ { + "r" : "2212", + "value" : [ "DateTime", "(", "2018", ")" ] + } ] + }, { + "value" : [ "]" ] + } ] + }, { + "value" : [ " }" ] + } ] + }, { + "value" : [ " per ", "week" ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "2234", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "2235", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "2236", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + }, + "expression" : { + "type" : "Expand", + "localId" : "2226", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "2231", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "2232", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "2233", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + }, + "signature" : [ { + "type" : "ListTypeSpecifier", + "localId" : "2227", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "2228", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "2229", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2230", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "List", + "localId" : "2205", + "annotation" : [ ], "resultTypeSpecifier" : { - "localId" : "596", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "597", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "598", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } - } + "type" : "ListTypeSpecifier", + "localId" : "2221", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "2222", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "2223", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } }, - "expression" : { - "localId" : "588", - "type" : "Expand", - "resultTypeSpecifier" : { - "localId" : "593", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "594", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "595", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } - } - }, - "signature" : [ { - "localId" : "589", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "590", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "591", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } - } - }, { - "localId" : "592", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "577", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "583", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "584", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "585", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } - } - }, - "element" : [ { - "localId" : "580", - "lowClosed" : false, - "highClosed" : false, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "581", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "582", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "578", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "value" : 2.1, - "unit" : "g", - "type" : "Quantity" - }, - "high" : { - "localId" : "579", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "value" : 4.1, - "unit" : "g", - "type" : "Quantity" - } - } ] - }, { - "localId" : "587", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "value" : 1, - "unit" : "g", - "type" : "Quantity" - } ] - } - }, { - "localId" : "601", - "name" : "OpenBothDecimalTrunc", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "601", - "s" : [ { - "value" : [ "","define ","OpenBothDecimalTrunc",": " ] - }, { - "r" : "613", - "s" : [ { - "value" : [ "expand " ] - }, { - "r" : "602", - "s" : [ { - "value" : [ "{ " ] - }, { - "r" : "605", - "s" : [ { - "value" : [ "Interval(" ] - }, { - "r" : "603", - "s" : [ { - "value" : [ "2.1 ","'g'" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "604", - "s" : [ { - "value" : [ "4.101 ","'g'" ] - } ] - }, { - "value" : [ ")" ] - } ] - }, { - "value" : [ " }" ] - } ] - }, { - "value" : [ " per " ] - }, { - "r" : "612", - "s" : [ { - "value" : [ "1 ","'g'" ] - } ] - } ] - } ] - } - } ], + "element" : [ { + "type" : "Interval", + "localId" : "2218", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "2219", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "2220", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "DateTime", + "localId" : "2210", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "2211", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "2206", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2018", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "2216", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "2217", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "2212", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2018", + "annotation" : [ ] + } + } + } ] + }, { + "type" : "Quantity", + "localId" : "2225", + "value" : 1.0, + "unit" : "week", + "annotation" : [ ] + } ] + } + }, { + "localId" : "2239", + "name" : "YearPrecPerDay", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "2239", + "s" : [ { + "value" : [ "", "define ", "YearPrecPerDay", ": " ] + }, { + "r" : "2261", + "s" : [ { + "value" : [ "expand " ] + }, { + "r" : "2240", + "s" : [ { + "value" : [ "{ " ] + }, { + "r" : "2253", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "2245", + "s" : [ { + "r" : "2241", + "value" : [ "DateTime", "(", "2018", ")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "2251", + "s" : [ { + "r" : "2247", + "value" : [ "DateTime", "(", "2018", ")" ] + } ] + }, { + "value" : [ "]" ] + } ] + }, { + "value" : [ " }" ] + } ] + }, { + "value" : [ " per ", "day" ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "2269", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "2270", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "2271", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + }, + "expression" : { + "type" : "Expand", + "localId" : "2261", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "2266", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "2267", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "2268", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + }, + "signature" : [ { + "type" : "ListTypeSpecifier", + "localId" : "2262", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "2263", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "2264", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2265", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "List", + "localId" : "2240", + "annotation" : [ ], "resultTypeSpecifier" : { - "localId" : "621", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "622", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "623", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } - } + "type" : "ListTypeSpecifier", + "localId" : "2256", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "2257", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "2258", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } }, - "expression" : { - "localId" : "613", - "type" : "Expand", - "resultTypeSpecifier" : { - "localId" : "618", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "619", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "620", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } - } - }, - "signature" : [ { - "localId" : "614", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "615", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "616", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } - } - }, { - "localId" : "617", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "602", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "608", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "609", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "610", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } - } - }, - "element" : [ { - "localId" : "605", - "lowClosed" : false, - "highClosed" : false, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "606", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "607", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "603", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "value" : 2.1, - "unit" : "g", - "type" : "Quantity" - }, - "high" : { - "localId" : "604", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "value" : 4.101, - "unit" : "g", - "type" : "Quantity" - } - } ] - }, { - "localId" : "612", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "value" : 1, - "unit" : "g", - "type" : "Quantity" - } ] - } - }, { - "localId" : "626", - "name" : "EmptyList", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "626", - "s" : [ { - "value" : [ "","define ","EmptyList",": " ] - }, { - "r" : "631", - "s" : [ { - "value" : [ "List<" ] - }, { - "r" : "627", - "s" : [ { - "value" : [ "Interval<" ] - }, { - "r" : "628", - "s" : [ { - "value" : [ "Date" ] - } ] - }, { - "value" : [ ">" ] - } ] - }, { - "value" : [ ">{}" ] - } ] - } ] - } - } ], + "element" : [ { + "type" : "Interval", + "localId" : "2253", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "2254", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "2255", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "DateTime", + "localId" : "2245", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "2246", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "2241", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2018", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "2251", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "2252", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "2247", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2018", + "annotation" : [ ] + } + } + } ] + }, { + "type" : "Quantity", + "localId" : "2260", + "value" : 1.0, + "unit" : "day", + "annotation" : [ ] + } ] + } + }, { + "localId" : "2274", + "name" : "YearPrecPerHour", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "2274", + "s" : [ { + "value" : [ "", "define ", "YearPrecPerHour", ": " ] + }, { + "r" : "2296", + "s" : [ { + "value" : [ "expand " ] + }, { + "r" : "2275", + "s" : [ { + "value" : [ "{ " ] + }, { + "r" : "2288", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "2280", + "s" : [ { + "r" : "2276", + "value" : [ "DateTime", "(", "2018", ")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "2286", + "s" : [ { + "r" : "2282", + "value" : [ "DateTime", "(", "2018", ")" ] + } ] + }, { + "value" : [ "]" ] + } ] + }, { + "value" : [ " }" ] + } ] + }, { + "value" : [ " per ", "hour" ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "2304", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "2305", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "2306", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + }, + "expression" : { + "type" : "Expand", + "localId" : "2296", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "2301", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "2302", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "2303", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + }, + "signature" : [ { + "type" : "ListTypeSpecifier", + "localId" : "2297", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "2298", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "2299", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2300", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "List", + "localId" : "2275", + "annotation" : [ ], "resultTypeSpecifier" : { - "localId" : "636", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "637", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "638", - "name" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "NamedTypeSpecifier" - } - } + "type" : "ListTypeSpecifier", + "localId" : "2291", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "2292", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "2293", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } }, - "expression" : { - "localId" : "631", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "633", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "634", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "635", - "name" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "NamedTypeSpecifier" - } - } - }, - "element" : [ ] - } - }, { - "localId" : "641", - "name" : "PerTooBig", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "641", - "s" : [ { - "value" : [ "","define ","PerTooBig",": " ] - }, { - "r" : "657", - "s" : [ { - "value" : [ "expand " ] - }, { - "r" : "642", - "s" : [ { - "value" : [ "{ " ] - }, { - "r" : "645", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "643", - "s" : [ { - "value" : [ "2 ","'g'" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "644", - "s" : [ { - "value" : [ "4 ","'g'" ] - } ] - }, { - "value" : [ "]" ] - } ] - }, { - "r" : "648", - "value" : [ ", ","null"," }" ] - } ] - }, { - "value" : [ " per " ] - }, { - "r" : "656", - "s" : [ { - "value" : [ "5 ","'g'" ] - } ] - } ] - } ] - } - } ], + "element" : [ { + "type" : "Interval", + "localId" : "2288", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "2289", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "2290", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "DateTime", + "localId" : "2280", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "2281", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "2276", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2018", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "2286", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "2287", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "2282", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2018", + "annotation" : [ ] + } + } + } ] + }, { + "type" : "Quantity", + "localId" : "2295", + "value" : 1.0, + "unit" : "hour", + "annotation" : [ ] + } ] + } + }, { + "localId" : "2309", + "name" : "YearPrecPerMinute", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "2309", + "s" : [ { + "value" : [ "", "define ", "YearPrecPerMinute", ": " ] + }, { + "r" : "2331", + "s" : [ { + "value" : [ "expand " ] + }, { + "r" : "2310", + "s" : [ { + "value" : [ "{ " ] + }, { + "r" : "2323", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "2315", + "s" : [ { + "r" : "2311", + "value" : [ "DateTime", "(", "2018", ")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "2321", + "s" : [ { + "r" : "2317", + "value" : [ "DateTime", "(", "2018", ")" ] + } ] + }, { + "value" : [ "]" ] + } ] + }, { + "value" : [ " }" ] + } ] + }, { + "value" : [ " per ", "minute" ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "2339", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "2340", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "2341", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + }, + "expression" : { + "type" : "Expand", + "localId" : "2331", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "2336", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "2337", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "2338", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + }, + "signature" : [ { + "type" : "ListTypeSpecifier", + "localId" : "2332", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "2333", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "2334", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2335", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "List", + "localId" : "2310", + "annotation" : [ ], "resultTypeSpecifier" : { - "localId" : "665", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "666", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "667", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } - } + "type" : "ListTypeSpecifier", + "localId" : "2326", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "2327", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "2328", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } }, - "expression" : { - "localId" : "657", - "type" : "Expand", - "resultTypeSpecifier" : { - "localId" : "662", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "663", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "664", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } - } - }, - "signature" : [ { - "localId" : "658", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "659", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "660", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } - } - }, { - "localId" : "661", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "642", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "652", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "653", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "654", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } - } - }, - "element" : [ { - "localId" : "645", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "646", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "647", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "643", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "value" : 2, - "unit" : "g", - "type" : "Quantity" - }, - "high" : { - "localId" : "644", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "value" : 4, - "unit" : "g", - "type" : "Quantity" - } + "element" : [ { + "type" : "Interval", + "localId" : "2323", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "2324", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "2325", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "DateTime", + "localId" : "2315", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "2316", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "2311", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2018", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "2321", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "2322", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "2317", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2018", + "annotation" : [ ] + } + } + } ] + }, { + "type" : "Quantity", + "localId" : "2330", + "value" : 1.0, + "unit" : "minute", + "annotation" : [ ] + } ] + } + }, { + "localId" : "2344", + "name" : "YearPrecPerSecond", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "2344", + "s" : [ { + "value" : [ "", "define ", "YearPrecPerSecond", ": " ] + }, { + "r" : "2366", + "s" : [ { + "value" : [ "expand " ] + }, { + "r" : "2345", + "s" : [ { + "value" : [ "{ " ] + }, { + "r" : "2358", + "s" : [ { + "value" : [ "Interval[" ] }, { - "localId" : "649", - "type" : "As", - "signature" : [ ], - "operand" : { - "localId" : "648", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - }, - "asTypeSpecifier" : { - "localId" : "650", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "651", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } - } - } ] - }, { - "localId" : "656", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "value" : 5, - "unit" : "g", - "type" : "Quantity" - } ] - } - }, { - "localId" : "670", - "name" : "NullOpen", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "670", - "s" : [ { - "value" : [ "","define ","NullOpen",": " ] + "r" : "2350", + "s" : [ { + "r" : "2346", + "value" : [ "DateTime", "(", "2018", ")" ] + } ] }, { - "r" : "683", - "s" : [ { - "value" : [ "expand " ] - }, { - "r" : "671", - "s" : [ { - "value" : [ "{ " ] - }, { - "r" : "674", - "s" : [ { - "r" : "672", - "value" : [ "Interval[","null",", " ] - }, { - "r" : "673", - "s" : [ { - "value" : [ "4 ","'g'" ] - } ] - }, { - "value" : [ "]" ] - } ] - }, { - "value" : [ " }" ] - } ] - }, { - "value" : [ " per " ] - }, { - "r" : "682", - "s" : [ { - "value" : [ "1 ","'g'" ] - } ] - } ] - } ] - } - } ], - "resultTypeSpecifier" : { - "localId" : "691", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "692", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "693", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } - } - }, - "expression" : { - "localId" : "683", - "type" : "Expand", - "resultTypeSpecifier" : { - "localId" : "688", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "689", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "690", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } - } - }, - "signature" : [ { - "localId" : "684", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "685", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "686", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } - } - }, { - "localId" : "687", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "671", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "678", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "679", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "680", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } - } - }, - "element" : [ { - "localId" : "674", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "676", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "677", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "675", - "asType" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "As", - "signature" : [ ], - "operand" : { - "localId" : "672", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - } - }, - "high" : { - "localId" : "673", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "value" : 4, - "unit" : "g", - "type" : "Quantity" - } - } ] - }, { - "localId" : "682", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "value" : 1, - "unit" : "g", - "type" : "Quantity" - } ] - } - }, { - "localId" : "696", - "name" : "NullClose", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "696", - "s" : [ { - "value" : [ "","define ","NullClose",": " ] + "value" : [ ", " ] }, { - "r" : "709", - "s" : [ { - "value" : [ "expand " ] - }, { - "r" : "697", - "s" : [ { - "value" : [ "{ " ] - }, { - "r" : "700", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "698", - "s" : [ { - "value" : [ "2 ","'g'" ] - } ] - }, { - "r" : "699", - "value" : [ ", ","null","]" ] - } ] - }, { - "value" : [ " }" ] - } ] - }, { - "value" : [ " per " ] - }, { - "r" : "708", - "s" : [ { - "value" : [ "1 ","'g'" ] - } ] - } ] - } ] - } - } ], + "r" : "2356", + "s" : [ { + "r" : "2352", + "value" : [ "DateTime", "(", "2018", ")" ] + } ] + }, { + "value" : [ "]" ] + } ] + }, { + "value" : [ " }" ] + } ] + }, { + "value" : [ " per ", "second" ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "2374", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "2375", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "2376", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + }, + "expression" : { + "type" : "Expand", + "localId" : "2366", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "2371", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "2372", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "2373", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + }, + "signature" : [ { + "type" : "ListTypeSpecifier", + "localId" : "2367", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "2368", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "2369", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2370", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "List", + "localId" : "2345", + "annotation" : [ ], "resultTypeSpecifier" : { - "localId" : "717", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "718", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "719", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } - } + "type" : "ListTypeSpecifier", + "localId" : "2361", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "2362", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "2363", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } }, - "expression" : { - "localId" : "709", - "type" : "Expand", - "resultTypeSpecifier" : { - "localId" : "714", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "715", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "716", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } - } - }, - "signature" : [ { - "localId" : "710", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "711", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "712", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } - } - }, { - "localId" : "713", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "697", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "704", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "705", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "706", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } - } - }, - "element" : [ { - "localId" : "700", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "702", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "703", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "698", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "value" : 2, - "unit" : "g", - "type" : "Quantity" - }, - "high" : { - "localId" : "701", - "asType" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "As", - "signature" : [ ], - "operand" : { - "localId" : "699", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - } - } - } ] - }, { - "localId" : "708", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "value" : 1, - "unit" : "g", - "type" : "Quantity" - } ] - } - }, { - "localId" : "722", - "name" : "NullBoth", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "722", - "s" : [ { - "value" : [ "","define ","NullBoth",": " ] - }, { - "r" : "734", - "s" : [ { - "value" : [ "expand " ] - }, { - "r" : "723", - "s" : [ { - "value" : [ "{ " ] - }, { - "r" : "726", - "s" : [ { - "r" : "724", - "value" : [ "Interval[","null",", ","null","]" ] - } ] - }, { - "value" : [ " }" ] - } ] - }, { - "value" : [ " per " ] - }, { - "r" : "733", - "s" : [ { - "value" : [ "1 ","'g'" ] - } ] - } ] - } ] - } - } ], + "element" : [ { + "type" : "Interval", + "localId" : "2358", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "2359", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "2360", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "DateTime", + "localId" : "2350", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "2351", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "2346", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2018", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "2356", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "2357", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "2352", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2018", + "annotation" : [ ] + } + } + } ] + }, { + "type" : "Quantity", + "localId" : "2365", + "value" : 1.0, + "unit" : "second", + "annotation" : [ ] + } ] + } + }, { + "localId" : "2379", + "name" : "YearPrecPerMillisecond", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "2379", + "s" : [ { + "value" : [ "", "define ", "YearPrecPerMillisecond", ": " ] + }, { + "r" : "2401", + "s" : [ { + "value" : [ "expand " ] + }, { + "r" : "2380", + "s" : [ { + "value" : [ "{ " ] + }, { + "r" : "2393", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "2385", + "s" : [ { + "r" : "2381", + "value" : [ "DateTime", "(", "2018", ")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "2391", + "s" : [ { + "r" : "2387", + "value" : [ "DateTime", "(", "2018", ")" ] + } ] + }, { + "value" : [ "]" ] + } ] + }, { + "value" : [ " }" ] + } ] + }, { + "value" : [ " per ", "millisecond" ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "2409", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "2410", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "2411", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + }, + "expression" : { + "type" : "Expand", + "localId" : "2401", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "2406", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "2407", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "2408", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + }, + "signature" : [ { + "type" : "ListTypeSpecifier", + "localId" : "2402", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "2403", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "2404", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2405", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "List", + "localId" : "2380", + "annotation" : [ ], "resultTypeSpecifier" : { - "localId" : "742", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "743", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "744", - "name" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "NamedTypeSpecifier" - } - } - }, - "expression" : { - "localId" : "734", - "type" : "Expand", - "resultTypeSpecifier" : { - "localId" : "739", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "740", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "741", - "name" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "NamedTypeSpecifier" - } - } - }, - "signature" : [ { - "localId" : "735", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "736", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "737", - "name" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "NamedTypeSpecifier" - } - } - }, { - "localId" : "738", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "723", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "729", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "730", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "731", - "name" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "NamedTypeSpecifier" - } - } - }, - "element" : [ { - "localId" : "726", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "727", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "728", - "name" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "724", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - }, - "high" : { - "localId" : "725", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - } - } ] - }, { - "localId" : "733", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "value" : 1, - "unit" : "g", - "type" : "Quantity" - } ] - } - }, { - "localId" : "747", - "name" : "BadPerMinute", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "747", - "s" : [ { - "value" : [ "","define ","BadPerMinute",": " ] - }, { - "r" : "759", - "s" : [ { - "value" : [ "expand " ] - }, { - "r" : "748", - "s" : [ { - "value" : [ "{ " ] - }, { - "r" : "751", - "s" : [ { - "value" : [ "Interval(" ] - }, { - "r" : "749", - "s" : [ { - "value" : [ "2 ","'g'" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "750", - "s" : [ { - "value" : [ "4 ","'g'" ] - } ] - }, { - "value" : [ "]" ] - } ] - }, { - "value" : [ " }" ] - } ] - }, { - "value" : [ " per " ] - }, { - "r" : "758", - "s" : [ { - "value" : [ "1 ","minute" ] - } ] - } ] - } ] - } - } ], + "type" : "ListTypeSpecifier", + "localId" : "2396", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "2397", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "2398", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + }, + "element" : [ { + "type" : "Interval", + "localId" : "2393", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "2394", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "2395", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "DateTime", + "localId" : "2385", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "2386", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "2381", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2018", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "2391", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "2392", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "2387", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2018", + "annotation" : [ ] + } + } + } ] + }, { + "type" : "Quantity", + "localId" : "2400", + "value" : 1.0, + "unit" : "millisecond", + "annotation" : [ ] + } ] + } + }, { + "localId" : "2414", + "name" : "NullInList", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "2414", + "s" : [ { + "value" : [ "", "define ", "NullInList", ": " ] + }, { + "r" : "2440", + "s" : [ { + "value" : [ "expand " ] + }, { + "r" : "2415", + "s" : [ { + "value" : [ "{ " ] + }, { + "r" : "2428", + "s" : [ { + "r" : "2416", + "value" : [ "Interval[", "@2018-01-01T01+00:00", ", ", "@2018-01-01T01+00:00", "]" ] + } ] + }, { + "r" : "2431", + "value" : [ ", ", "null", " }" ] + } ] + }, { + "value" : [ " per ", "hour" ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "2448", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "2449", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "2450", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + }, + "expression" : { + "type" : "Expand", + "localId" : "2440", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "2445", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "2446", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "2447", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + }, + "signature" : [ { + "type" : "ListTypeSpecifier", + "localId" : "2441", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "2442", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "2443", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2444", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "List", + "localId" : "2415", + "annotation" : [ ], "resultTypeSpecifier" : { - "localId" : "767", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "768", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "769", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } - } + "type" : "ListTypeSpecifier", + "localId" : "2435", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "2436", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "2437", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } }, - "expression" : { - "localId" : "759", - "type" : "Expand", - "resultTypeSpecifier" : { - "localId" : "764", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "765", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "766", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } - } - }, - "signature" : [ { - "localId" : "760", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "761", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "762", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } - } - }, { - "localId" : "763", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "748", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "754", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "755", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "756", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } - } - }, - "element" : [ { - "localId" : "751", - "lowClosed" : false, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "752", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "753", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "749", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "value" : 2, - "unit" : "g", - "type" : "Quantity" - }, - "high" : { - "localId" : "750", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "value" : 4, - "unit" : "g", - "type" : "Quantity" - } - } ] - }, { - "localId" : "758", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "value" : 1, - "unit" : "minute", - "type" : "Quantity" - } ] - } - }, { - "localId" : "772", - "name" : "BadPerGram", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "772", - "s" : [ { - "value" : [ "","define ","BadPerGram",": " ] - }, { - "r" : "784", - "s" : [ { - "value" : [ "expand " ] - }, { - "r" : "773", - "s" : [ { - "value" : [ "{ " ] - }, { - "r" : "776", - "s" : [ { - "value" : [ "Interval(" ] - }, { - "r" : "774", - "s" : [ { - "value" : [ "2 ","'km'" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "775", - "s" : [ { - "value" : [ "4 ","'km'" ] - } ] - }, { - "value" : [ "]" ] - } ] - }, { - "value" : [ " }" ] - } ] - }, { - "value" : [ " per " ] - }, { - "r" : "783", - "s" : [ { - "value" : [ "1 ","'g'" ] - } ] - } ] - } ] - } - } ], + "element" : [ { + "type" : "Interval", + "localId" : "2428", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "2429", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "2430", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "DateTime", + "localId" : "2416", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ ], + "year" : { + "type" : "Literal", + "localId" : "2417", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2018", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "2418", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "2419", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "2420", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "timezoneOffset" : { + "type" : "Literal", + "localId" : "2421", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "0.0", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "2422", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ ], + "year" : { + "type" : "Literal", + "localId" : "2423", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2018", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "2424", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "2425", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "2426", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "timezoneOffset" : { + "type" : "Literal", + "localId" : "2427", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "0.0", + "annotation" : [ ] + } + } + }, { + "type" : "As", + "localId" : "2432", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Null", + "localId" : "2431", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + }, + "asTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "2433", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "2434", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + } ] + }, { + "type" : "Quantity", + "localId" : "2439", + "value" : 1.0, + "unit" : "hour", + "annotation" : [ ] + } ] + } + }, { + "localId" : "2453", + "name" : "Overlapping", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "2453", + "s" : [ { + "value" : [ "", "define ", "Overlapping", ": " ] + }, { + "r" : "2490", + "s" : [ { + "value" : [ "expand " ] + }, { + "r" : "2454", + "s" : [ { + "value" : [ "{ " ] + }, { + "r" : "2467", + "s" : [ { + "r" : "2455", + "value" : [ "Interval[", "@2018-01-01T01+00:00", ", ", "@2018-01-01T03+00:00", "]" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "2482", + "s" : [ { + "r" : "2470", + "value" : [ "Interval[", "@2018-01-01T02+00:00", ", ", "@2018-01-01T04+00:00", "]" ] + } ] + }, { + "value" : [ " }" ] + } ] + }, { + "value" : [ " per ", "hour" ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "2498", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "2499", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "2500", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + }, + "expression" : { + "type" : "Expand", + "localId" : "2490", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "2495", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "2496", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "2497", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + }, + "signature" : [ { + "type" : "ListTypeSpecifier", + "localId" : "2491", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "2492", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "2493", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2494", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "List", + "localId" : "2454", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "2485", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "2486", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "2487", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + }, + "element" : [ { + "type" : "Interval", + "localId" : "2467", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "2468", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "2469", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "DateTime", + "localId" : "2455", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ ], + "year" : { + "type" : "Literal", + "localId" : "2456", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2018", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "2457", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "2458", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "2459", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "timezoneOffset" : { + "type" : "Literal", + "localId" : "2460", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "0.0", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "2461", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ ], + "year" : { + "type" : "Literal", + "localId" : "2462", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2018", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "2463", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "2464", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "2465", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "timezoneOffset" : { + "type" : "Literal", + "localId" : "2466", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "0.0", + "annotation" : [ ] + } + } + }, { + "type" : "Interval", + "localId" : "2482", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "2483", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "2484", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "DateTime", + "localId" : "2470", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ ], + "year" : { + "type" : "Literal", + "localId" : "2471", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2018", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "2472", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "2473", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "2474", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "annotation" : [ ] + }, + "timezoneOffset" : { + "type" : "Literal", + "localId" : "2475", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "0.0", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "2476", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ ], + "year" : { + "type" : "Literal", + "localId" : "2477", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2018", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "2478", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "2479", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "2480", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "4", + "annotation" : [ ] + }, + "timezoneOffset" : { + "type" : "Literal", + "localId" : "2481", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "0.0", + "annotation" : [ ] + } + } + } ] + }, { + "type" : "Quantity", + "localId" : "2489", + "value" : 1.0, + "unit" : "hour", + "annotation" : [ ] + } ] + } + }, { + "localId" : "2503", + "name" : "NonOverlapping", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "2503", + "s" : [ { + "value" : [ "", "define ", "NonOverlapping", ": " ] + }, { + "r" : "2540", + "s" : [ { + "value" : [ "expand " ] + }, { + "r" : "2504", + "s" : [ { + "value" : [ "{ " ] + }, { + "r" : "2517", + "s" : [ { + "r" : "2505", + "value" : [ "Interval[", "@2018-01-01T01+00:00", ", ", "@2018-01-01T02+00:00", "]" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "2532", + "s" : [ { + "r" : "2520", + "value" : [ "Interval[", "@2018-01-01T05+00:00", ", ", "@2018-01-01T05+00:00", "]" ] + } ] + }, { + "value" : [ " }" ] + } ] + }, { + "value" : [ " per ", "hour" ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "2548", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "2549", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "2550", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + }, + "expression" : { + "type" : "Expand", + "localId" : "2540", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "2545", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "2546", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "2547", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + }, + "signature" : [ { + "type" : "ListTypeSpecifier", + "localId" : "2541", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "2542", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "2543", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2544", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "List", + "localId" : "2504", + "annotation" : [ ], "resultTypeSpecifier" : { - "localId" : "792", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "793", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "794", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } - } + "type" : "ListTypeSpecifier", + "localId" : "2535", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "2536", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "2537", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } }, - "expression" : { - "localId" : "784", - "type" : "Expand", - "resultTypeSpecifier" : { - "localId" : "789", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "790", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "791", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } - } - }, - "signature" : [ { - "localId" : "785", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "786", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "787", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } - } - }, { - "localId" : "788", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "773", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "779", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "780", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "781", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } - } - }, - "element" : [ { - "localId" : "776", - "lowClosed" : false, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "777", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "778", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "774", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "value" : 2, - "unit" : "km", - "type" : "Quantity" - }, - "high" : { - "localId" : "775", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "value" : 4, - "unit" : "km", - "type" : "Quantity" - } - } ] - }, { - "localId" : "783", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "value" : 1, - "unit" : "g", - "type" : "Quantity" - } ] - } - } ] - } - } -} - -/* IntegerIntervalExpand -library TestSnippet version '1' -using Simple version '1.0.0' -context Patient -define ClosedSinglePer1: expand { Interval[2, 4] } per 1 '1' -define ClosedSinglePer3: expand { Interval[2, 10] } per 3 '1' -define ClosedSinglePer3NoteTheWidth: expand { Interval[2, 4] } per 3 '1' - -define NullInList: expand { Interval[2, 4], null } per 1 '1' -define Overlapping: expand { Interval[2, 4], Interval[3, 5] } per 1 '1' -define NonOverlapping: expand { Interval[2, 4], Interval[6, 6] } per 1 '1' - -define NoPer: expand { Interval[2, 4] } - -define OpenStart: expand { Interval(2, 4] } per 1 '1' -define OpenEnd: expand { Interval[2, 4) } per 1 '1' -define OpenBoth: expand { Interval(2, 4) } per 1 '1' - -define EmptyList: List>{} -define PerTooBig: expand { Interval[2, 4], null } per 5 '1' -define NullOpen: expand { Interval[null, 4] } per 1 '1' -define NullClose: expand { Interval[2, null] } per 1 '1' -define NullBoth: expand { Interval[null, null] } per 1 '1' -define BadPerMinute: expand { Interval(2, 4] } per 1 minute - -define PerDecimalMorePrecise: expand { Interval[10, 10] } per 0.1 -*/ - -module.exports['IntegerIntervalExpand'] = { - "library" : { - "localId" : "0", - "annotation" : [ { - "translatorVersion" : "3.27.0", - "translatorOptions" : "EnableDateRangeOptimization,EnableAnnotations,EnableResultTypes", - "signatureLevel" : "All", - "type" : "CqlToElmInfo" - }, { - "type" : "Annotation", - "s" : { - "r" : "623", + "element" : [ { + "type" : "Interval", + "localId" : "2517", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "2518", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "2519", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "DateTime", + "localId" : "2505", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ ], + "year" : { + "type" : "Literal", + "localId" : "2506", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2018", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "2507", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "2508", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "2509", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "timezoneOffset" : { + "type" : "Literal", + "localId" : "2510", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "0.0", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "2511", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ ], + "year" : { + "type" : "Literal", + "localId" : "2512", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2018", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "2513", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "2514", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "2515", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "annotation" : [ ] + }, + "timezoneOffset" : { + "type" : "Literal", + "localId" : "2516", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "0.0", + "annotation" : [ ] + } + } + }, { + "type" : "Interval", + "localId" : "2532", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "2533", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "2534", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "DateTime", + "localId" : "2520", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ ], + "year" : { + "type" : "Literal", + "localId" : "2521", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2018", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "2522", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "2523", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "2524", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "5", + "annotation" : [ ] + }, + "timezoneOffset" : { + "type" : "Literal", + "localId" : "2525", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "0.0", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "2526", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ ], + "year" : { + "type" : "Literal", + "localId" : "2527", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2018", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "2528", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "2529", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "2530", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "5", + "annotation" : [ ] + }, + "timezoneOffset" : { + "type" : "Literal", + "localId" : "2531", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "0.0", + "annotation" : [ ] + } + } + } ] + }, { + "type" : "Quantity", + "localId" : "2539", + "value" : 1.0, + "unit" : "hour", + "annotation" : [ ] + } ] + } + }, { + "localId" : "2553", + "name" : "NoPerDefaultMS", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "2553", "s" : [ { - "value" : [ "","library TestSnippet version '1'" ] - } ] - } - } ], - "identifier" : { - "id" : "TestSnippet", - "version" : "1" - }, - "schemaIdentifier" : { - "id" : "urn:hl7-org:elm", - "version" : "r1" - }, - "usings" : { - "def" : [ { - "localId" : "1", - "localIdentifier" : "System", - "uri" : "urn:hl7-org:elm-types:r1" - }, { - "localId" : "206", - "localIdentifier" : "Simple", - "uri" : "https://github.com/cqframework/cql-execution/simple", - "version" : "1.0.0", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "206", - "s" : [ { - "value" : [ "","using " ] - }, { - "s" : [ { - "value" : [ "Simple" ] - } ] - }, { - "value" : [ " version '1.0.0'" ] - } ] - } - } ] - } ] - }, - "contexts" : { - "def" : [ { - "localId" : "211", - "name" : "Patient" - } ] - }, - "statements" : { - "def" : [ { - "localId" : "209", - "name" : "Patient", - "context" : "Patient", - "expression" : { - "localId" : "210", - "type" : "SingletonFrom", - "signature" : [ ], - "operand" : { - "localId" : "208", - "dataType" : "{https://github.com/cqframework/cql-execution/simple}Patient", - "type" : "Retrieve", - "include" : [ ], - "codeFilter" : [ ], - "dateFilter" : [ ], - "otherFilter" : [ ] - } - } - }, { - "localId" : "214", - "name" : "ClosedSinglePer1", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "214", - "s" : [ { - "value" : [ "","define ","ClosedSinglePer1",": " ] - }, { - "r" : "226", - "s" : [ { - "value" : [ "expand " ] - }, { - "r" : "215", - "s" : [ { - "value" : [ "{ " ] - }, { - "r" : "218", - "s" : [ { - "r" : "216", - "value" : [ "Interval[","2",", ","4","]" ] - } ] - }, { - "value" : [ " }" ] - } ] - }, { - "value" : [ " per " ] - }, { - "r" : "225", - "s" : [ { - "value" : [ "1 ","'1'" ] - } ] - } ] - } ] - } - } ], + "value" : [ "", "define ", "NoPerDefaultMS", ": " ] + }, { + "r" : "2580", + "s" : [ { + "value" : [ "expand " ] + }, { + "r" : "2554", + "s" : [ { + "value" : [ "{ " ] + }, { + "r" : "2573", + "s" : [ { + "r" : "2555", + "value" : [ "Interval[", "@2018-01-01T01:00:00.000+00:00", ", ", "@2018-01-01T01:00:00.001+00:00", "]" ] + } ] + }, { + "value" : [ " }" ] + } ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "2588", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "2589", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "2590", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + }, + "expression" : { + "type" : "Expand", + "localId" : "2580", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "2585", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "2586", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "2587", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + }, + "signature" : [ { + "type" : "ListTypeSpecifier", + "localId" : "2581", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "2582", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "2583", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2584", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "List", + "localId" : "2554", + "annotation" : [ ], "resultTypeSpecifier" : { - "localId" : "234", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "235", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "236", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } + "type" : "ListTypeSpecifier", + "localId" : "2576", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "2577", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "2578", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } }, - "expression" : { - "localId" : "226", - "type" : "Expand", - "resultTypeSpecifier" : { - "localId" : "231", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "232", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "233", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } - }, - "signature" : [ { - "localId" : "227", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "228", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "229", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } - }, { - "localId" : "230", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "215", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "221", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "222", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "223", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } - }, - "element" : [ { - "localId" : "218", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "219", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "220", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "216", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal" - }, - "high" : { - "localId" : "217", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "4", - "type" : "Literal" - } - } ] - }, { - "localId" : "225", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "value" : 1, - "unit" : "1", - "type" : "Quantity" - } ] - } - }, { - "localId" : "239", - "name" : "ClosedSinglePer3", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "239", - "s" : [ { - "value" : [ "","define ","ClosedSinglePer3",": " ] - }, { - "r" : "251", - "s" : [ { - "value" : [ "expand " ] - }, { - "r" : "240", - "s" : [ { - "value" : [ "{ " ] - }, { - "r" : "243", - "s" : [ { - "r" : "241", - "value" : [ "Interval[","2",", ","10","]" ] - } ] - }, { - "value" : [ " }" ] - } ] - }, { - "value" : [ " per " ] - }, { - "r" : "250", - "s" : [ { - "value" : [ "3 ","'1'" ] - } ] - } ] - } ] - } - } ], + "element" : [ { + "type" : "Interval", + "localId" : "2573", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "2574", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "2575", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "DateTime", + "localId" : "2555", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ ], + "year" : { + "type" : "Literal", + "localId" : "2556", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2018", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "2557", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "2558", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "2559", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "2560", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "2561", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "2562", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "timezoneOffset" : { + "type" : "Literal", + "localId" : "2563", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "0.0", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "2564", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ ], + "year" : { + "type" : "Literal", + "localId" : "2565", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2018", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "2566", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "2567", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "2568", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "2569", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "2570", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "2571", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "timezoneOffset" : { + "type" : "Literal", + "localId" : "2572", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "0.0", + "annotation" : [ ] + } + } + } ] + }, { + "type" : "Null", + "localId" : "2579", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } ] + } + }, { + "localId" : "2593", + "name" : "NoPerDefaultSec", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "2593", + "s" : [ { + "value" : [ "", "define ", "NoPerDefaultSec", ": " ] + }, { + "r" : "2618", + "s" : [ { + "value" : [ "expand " ] + }, { + "r" : "2594", + "s" : [ { + "value" : [ "{ " ] + }, { + "r" : "2611", + "s" : [ { + "r" : "2595", + "value" : [ "Interval[", "@2018-01-01T01:00:00+00:00", ", ", "@2018-01-01T01:00:01+00:00", "]" ] + } ] + }, { + "value" : [ " }" ] + } ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "2626", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "2627", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "2628", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + }, + "expression" : { + "type" : "Expand", + "localId" : "2618", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "2623", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "2624", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "2625", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + }, + "signature" : [ { + "type" : "ListTypeSpecifier", + "localId" : "2619", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "2620", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "2621", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2622", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "List", + "localId" : "2594", + "annotation" : [ ], "resultTypeSpecifier" : { - "localId" : "259", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "260", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "261", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } + "type" : "ListTypeSpecifier", + "localId" : "2614", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "2615", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "2616", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } }, - "expression" : { - "localId" : "251", - "type" : "Expand", - "resultTypeSpecifier" : { - "localId" : "256", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "257", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "258", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } - }, - "signature" : [ { - "localId" : "252", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "253", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "254", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } - }, { - "localId" : "255", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "240", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "246", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "247", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "248", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } - }, - "element" : [ { - "localId" : "243", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "244", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "245", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "241", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal" - }, - "high" : { - "localId" : "242", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal" - } - } ] - }, { - "localId" : "250", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "value" : 3, - "unit" : "1", - "type" : "Quantity" - } ] - } - }, { - "localId" : "264", - "name" : "ClosedSinglePer3NoteTheWidth", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "264", - "s" : [ { - "value" : [ "","define ","ClosedSinglePer3NoteTheWidth",": " ] - }, { - "r" : "276", - "s" : [ { - "value" : [ "expand " ] - }, { - "r" : "265", - "s" : [ { - "value" : [ "{ " ] - }, { - "r" : "268", - "s" : [ { - "r" : "266", - "value" : [ "Interval[","2",", ","4","]" ] - } ] - }, { - "value" : [ " }" ] - } ] - }, { - "value" : [ " per " ] - }, { - "r" : "275", - "s" : [ { - "value" : [ "3 ","'1'" ] - } ] - } ] - } ] - } - } ], - "resultTypeSpecifier" : { - "localId" : "284", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "285", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "286", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } - }, - "expression" : { - "localId" : "276", - "type" : "Expand", - "resultTypeSpecifier" : { - "localId" : "281", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "282", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "283", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } - }, - "signature" : [ { - "localId" : "277", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "278", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "279", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } - }, { - "localId" : "280", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "265", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "271", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "272", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "273", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } - }, - "element" : [ { - "localId" : "268", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "269", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "270", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "266", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal" - }, - "high" : { - "localId" : "267", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "4", - "type" : "Literal" - } - } ] - }, { - "localId" : "275", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "value" : 3, - "unit" : "1", - "type" : "Quantity" - } ] - } - }, { - "localId" : "289", - "name" : "NullInList", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "289", - "s" : [ { - "value" : [ "","define ","NullInList",": " ] - }, { - "r" : "305", - "s" : [ { - "value" : [ "expand " ] - }, { - "r" : "290", - "s" : [ { - "value" : [ "{ " ] - }, { - "r" : "293", - "s" : [ { - "r" : "291", - "value" : [ "Interval[","2",", ","4","]" ] - } ] - }, { - "r" : "296", - "value" : [ ", ","null"," }" ] - } ] - }, { - "value" : [ " per " ] - }, { - "r" : "304", - "s" : [ { - "value" : [ "1 ","'1'" ] - } ] - } ] - } ] - } - } ], + "element" : [ { + "type" : "Interval", + "localId" : "2611", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "2612", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "2613", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "DateTime", + "localId" : "2595", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ ], + "year" : { + "type" : "Literal", + "localId" : "2596", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2018", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "2597", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "2598", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "2599", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "2600", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "2601", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "timezoneOffset" : { + "type" : "Literal", + "localId" : "2602", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "0.0", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "2603", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ ], + "year" : { + "type" : "Literal", + "localId" : "2604", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2018", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "2605", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "2606", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "2607", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "2608", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "2609", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "timezoneOffset" : { + "type" : "Literal", + "localId" : "2610", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "0.0", + "annotation" : [ ] + } + } + } ] + }, { + "type" : "Null", + "localId" : "2617", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } ] + } + }, { + "localId" : "2631", + "name" : "NoPerDefaultMin", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "2631", + "s" : [ { + "value" : [ "", "define ", "NoPerDefaultMin", ": " ] + }, { + "r" : "2654", + "s" : [ { + "value" : [ "expand " ] + }, { + "r" : "2632", + "s" : [ { + "value" : [ "{ " ] + }, { + "r" : "2647", + "s" : [ { + "r" : "2633", + "value" : [ "Interval[", "@2018-01-01T01:00+00:00", ", ", "@2018-01-01T01:01+00:00", "]" ] + } ] + }, { + "value" : [ " }" ] + } ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "2662", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "2663", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "2664", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + }, + "expression" : { + "type" : "Expand", + "localId" : "2654", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "2659", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "2660", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "2661", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + }, + "signature" : [ { + "type" : "ListTypeSpecifier", + "localId" : "2655", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "2656", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "2657", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2658", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "List", + "localId" : "2632", + "annotation" : [ ], "resultTypeSpecifier" : { - "localId" : "313", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "314", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "315", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } + "type" : "ListTypeSpecifier", + "localId" : "2650", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "2651", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "2652", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } }, - "expression" : { - "localId" : "305", - "type" : "Expand", - "resultTypeSpecifier" : { - "localId" : "310", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "311", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "312", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } - }, - "signature" : [ { - "localId" : "306", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "307", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "308", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } - }, { - "localId" : "309", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "290", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "300", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "301", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "302", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } - }, - "element" : [ { - "localId" : "293", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "294", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "295", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "291", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal" - }, - "high" : { - "localId" : "292", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "4", - "type" : "Literal" - } - }, { - "localId" : "297", - "type" : "As", - "signature" : [ ], - "operand" : { - "localId" : "296", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - }, - "asTypeSpecifier" : { - "localId" : "298", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "299", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } - } ] - }, { - "localId" : "304", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "value" : 1, - "unit" : "1", - "type" : "Quantity" - } ] - } - }, { - "localId" : "318", - "name" : "Overlapping", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "318", - "s" : [ { - "value" : [ "","define ","Overlapping",": " ] - }, { - "r" : "335", - "s" : [ { - "value" : [ "expand " ] - }, { - "r" : "319", - "s" : [ { - "value" : [ "{ " ] - }, { - "r" : "322", - "s" : [ { - "r" : "320", - "value" : [ "Interval[","2",", ","4","]" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "327", - "s" : [ { - "r" : "325", - "value" : [ "Interval[","3",", ","5","]" ] - } ] - }, { - "value" : [ " }" ] - } ] - }, { - "value" : [ " per " ] - }, { - "r" : "334", - "s" : [ { - "value" : [ "1 ","'1'" ] - } ] - } ] - } ] - } - } ], + "element" : [ { + "type" : "Interval", + "localId" : "2647", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "2648", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "2649", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "DateTime", + "localId" : "2633", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ ], + "year" : { + "type" : "Literal", + "localId" : "2634", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2018", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "2635", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "2636", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "2637", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "2638", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "timezoneOffset" : { + "type" : "Literal", + "localId" : "2639", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "0.0", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "2640", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ ], + "year" : { + "type" : "Literal", + "localId" : "2641", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2018", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "2642", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "2643", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "2644", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "2645", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "timezoneOffset" : { + "type" : "Literal", + "localId" : "2646", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "0.0", + "annotation" : [ ] + } + } + } ] + }, { + "type" : "Null", + "localId" : "2653", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } ] + } + }, { + "localId" : "2667", + "name" : "NoPerDefaultHour", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "2667", + "s" : [ { + "value" : [ "", "define ", "NoPerDefaultHour", ": " ] + }, { + "r" : "2688", + "s" : [ { + "value" : [ "expand " ] + }, { + "r" : "2668", + "s" : [ { + "value" : [ "{ " ] + }, { + "r" : "2681", + "s" : [ { + "r" : "2669", + "value" : [ "Interval[", "@2018-01-01T01+00:00", ", ", "@2018-01-01T01+00:00", "]" ] + } ] + }, { + "value" : [ " }" ] + } ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "2696", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "2697", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "2698", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + }, + "expression" : { + "type" : "Expand", + "localId" : "2688", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "2693", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "2694", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "2695", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + }, + "signature" : [ { + "type" : "ListTypeSpecifier", + "localId" : "2689", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "2690", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "2691", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2692", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "List", + "localId" : "2668", + "annotation" : [ ], "resultTypeSpecifier" : { - "localId" : "343", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "344", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "345", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } + "type" : "ListTypeSpecifier", + "localId" : "2684", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "2685", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "2686", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } }, - "expression" : { - "localId" : "335", - "type" : "Expand", - "resultTypeSpecifier" : { - "localId" : "340", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "341", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "342", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } - }, - "signature" : [ { - "localId" : "336", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "337", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "338", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } - }, { - "localId" : "339", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "319", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "330", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "331", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "332", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } - }, - "element" : [ { - "localId" : "322", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "323", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "324", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "320", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal" - }, - "high" : { - "localId" : "321", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "4", - "type" : "Literal" - } - }, { - "localId" : "327", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "328", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "329", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "325", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "high" : { - "localId" : "326", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal" - } - } ] - }, { - "localId" : "334", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "value" : 1, - "unit" : "1", - "type" : "Quantity" - } ] - } - }, { - "localId" : "348", - "name" : "NonOverlapping", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "348", - "s" : [ { - "value" : [ "","define ","NonOverlapping",": " ] - }, { - "r" : "365", - "s" : [ { - "value" : [ "expand " ] - }, { - "r" : "349", - "s" : [ { - "value" : [ "{ " ] - }, { - "r" : "352", - "s" : [ { - "r" : "350", - "value" : [ "Interval[","2",", ","4","]" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "357", - "s" : [ { - "r" : "355", - "value" : [ "Interval[","6",", ","6","]" ] - } ] - }, { - "value" : [ " }" ] - } ] - }, { - "value" : [ " per " ] - }, { - "r" : "364", - "s" : [ { - "value" : [ "1 ","'1'" ] - } ] - } ] - } ] - } - } ], + "element" : [ { + "type" : "Interval", + "localId" : "2681", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "2682", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "2683", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "DateTime", + "localId" : "2669", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ ], + "year" : { + "type" : "Literal", + "localId" : "2670", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2018", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "2671", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "2672", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "2673", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "timezoneOffset" : { + "type" : "Literal", + "localId" : "2674", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "0.0", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "2675", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ ], + "year" : { + "type" : "Literal", + "localId" : "2676", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2018", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "2677", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "2678", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "2679", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "timezoneOffset" : { + "type" : "Literal", + "localId" : "2680", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "0.0", + "annotation" : [ ] + } + } + } ] + }, { + "type" : "Null", + "localId" : "2687", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } ] + } + }, { + "localId" : "2701", + "name" : "NoPerDefaultDay", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "2701", + "s" : [ { + "value" : [ "", "define ", "NoPerDefaultDay", ": " ] + }, { + "r" : "2734", + "s" : [ { + "value" : [ "expand " ] + }, { + "r" : "2702", + "s" : [ { + "value" : [ "{ " ] + }, { + "r" : "2727", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "2711", + "s" : [ { + "r" : "2703", + "value" : [ "DateTime", "(", "2018", ",", "01", ",", "01", ")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "2723", + "s" : [ { + "r" : "2715", + "value" : [ "DateTime", "(", "2018", ",", "01", ",", "01", ")" ] + } ] + }, { + "value" : [ "]" ] + } ] + }, { + "value" : [ " }" ] + } ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "2742", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "2743", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "2744", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + }, + "expression" : { + "type" : "Expand", + "localId" : "2734", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "2739", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "2740", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "2741", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + }, + "signature" : [ { + "type" : "ListTypeSpecifier", + "localId" : "2735", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "2736", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "2737", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2738", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "List", + "localId" : "2702", + "annotation" : [ ], "resultTypeSpecifier" : { - "localId" : "373", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "374", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "375", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } + "type" : "ListTypeSpecifier", + "localId" : "2730", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "2731", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "2732", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } }, - "expression" : { - "localId" : "365", - "type" : "Expand", - "resultTypeSpecifier" : { - "localId" : "370", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "371", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "372", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } - }, - "signature" : [ { - "localId" : "366", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "367", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "368", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } - }, { - "localId" : "369", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "349", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "360", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "361", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "362", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } - }, - "element" : [ { - "localId" : "352", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "353", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "354", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "350", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal" - }, - "high" : { - "localId" : "351", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "4", - "type" : "Literal" - } - }, { - "localId" : "357", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "358", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "359", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "355", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "6", - "type" : "Literal" - }, - "high" : { - "localId" : "356", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "6", - "type" : "Literal" - } - } ] - }, { - "localId" : "364", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "value" : 1, - "unit" : "1", - "type" : "Quantity" - } ] - } - }, { - "localId" : "378", - "name" : "NoPer", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "378", - "s" : [ { - "value" : [ "","define ","NoPer",": " ] - }, { - "r" : "389", - "s" : [ { - "value" : [ "expand " ] - }, { - "r" : "379", - "s" : [ { - "value" : [ "{ " ] - }, { - "r" : "382", - "s" : [ { - "r" : "380", - "value" : [ "Interval[","2",", ","4","]" ] - } ] - }, { - "value" : [ " }" ] - } ] - } ] - } ] - } - } ], + "element" : [ { + "type" : "Interval", + "localId" : "2727", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "2728", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "2729", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "DateTime", + "localId" : "2711", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "2712", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2713", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2714", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "2703", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2018", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "2704", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "01", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "2705", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "01", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "2723", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "2724", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2725", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2726", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "2715", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2018", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "2716", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "01", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "2717", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "01", + "annotation" : [ ] + } + } + } ] + }, { + "type" : "Null", + "localId" : "2733", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } ] + } + }, { + "localId" : "2747", + "name" : "NoPerDefaultMonth", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "2747", + "s" : [ { + "value" : [ "", "define ", "NoPerDefaultMonth", ": " ] + }, { + "r" : "2774", + "s" : [ { + "value" : [ "expand " ] + }, { + "r" : "2748", + "s" : [ { + "value" : [ "{ " ] + }, { + "r" : "2767", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "2755", + "s" : [ { + "r" : "2749", + "value" : [ "DateTime", "(", "2018", ",", "01", ")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "2764", + "s" : [ { + "r" : "2758", + "value" : [ "DateTime", "(", "2018", ",", "01", ")" ] + } ] + }, { + "value" : [ "]" ] + } ] + }, { + "value" : [ " }" ] + } ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "2782", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "2783", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "2784", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + }, + "expression" : { + "type" : "Expand", + "localId" : "2774", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "2779", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "2780", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "2781", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + }, + "signature" : [ { + "type" : "ListTypeSpecifier", + "localId" : "2775", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "2776", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "2777", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2778", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "List", + "localId" : "2748", + "annotation" : [ ], "resultTypeSpecifier" : { - "localId" : "397", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "398", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "399", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } + "type" : "ListTypeSpecifier", + "localId" : "2770", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "2771", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "2772", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } }, - "expression" : { - "localId" : "389", - "type" : "Expand", - "resultTypeSpecifier" : { - "localId" : "394", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "395", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "396", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } - }, - "signature" : [ { - "localId" : "390", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "391", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "392", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } - }, { - "localId" : "393", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "379", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "385", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "386", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "387", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } - }, - "element" : [ { - "localId" : "382", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "383", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "384", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "380", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal" - }, - "high" : { - "localId" : "381", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "4", - "type" : "Literal" - } - } ] - }, { - "localId" : "388", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "Null" - } ] - } - }, { - "localId" : "402", - "name" : "OpenStart", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "402", - "s" : [ { - "value" : [ "","define ","OpenStart",": " ] - }, { - "r" : "414", - "s" : [ { - "value" : [ "expand " ] - }, { - "r" : "403", - "s" : [ { - "value" : [ "{ " ] - }, { - "r" : "406", - "s" : [ { - "r" : "404", - "value" : [ "Interval(","2",", ","4","]" ] - } ] - }, { - "value" : [ " }" ] - } ] - }, { - "value" : [ " per " ] - }, { - "r" : "413", - "s" : [ { - "value" : [ "1 ","'1'" ] - } ] - } ] - } ] - } - } ], + "element" : [ { + "type" : "Interval", + "localId" : "2767", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "2768", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "2769", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "DateTime", + "localId" : "2755", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "2756", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2757", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "2749", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2018", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "2750", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "01", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "2764", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "2765", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2766", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "2758", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2018", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "2759", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "01", + "annotation" : [ ] + } + } + } ] + }, { + "type" : "Null", + "localId" : "2773", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } ] + } + }, { + "localId" : "2787", + "name" : "NoPerDefaultYear", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "2787", + "s" : [ { + "value" : [ "", "define ", "NoPerDefaultYear", ": " ] + }, { + "r" : "2808", + "s" : [ { + "value" : [ "expand " ] + }, { + "r" : "2788", + "s" : [ { + "value" : [ "{ " ] + }, { + "r" : "2801", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "2793", + "s" : [ { + "r" : "2789", + "value" : [ "DateTime", "(", "2018", ")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "2799", + "s" : [ { + "r" : "2795", + "value" : [ "DateTime", "(", "2018", ")" ] + } ] + }, { + "value" : [ "]" ] + } ] + }, { + "value" : [ " }" ] + } ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "2816", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "2817", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "2818", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + }, + "expression" : { + "type" : "Expand", + "localId" : "2808", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "2813", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "2814", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "2815", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + }, + "signature" : [ { + "type" : "ListTypeSpecifier", + "localId" : "2809", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "2810", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "2811", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2812", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "List", + "localId" : "2788", + "annotation" : [ ], "resultTypeSpecifier" : { - "localId" : "422", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "423", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "424", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } - }, - "expression" : { - "localId" : "414", - "type" : "Expand", - "resultTypeSpecifier" : { - "localId" : "419", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "420", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "421", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } - }, - "signature" : [ { - "localId" : "415", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "416", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "417", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } - }, { - "localId" : "418", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "403", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "409", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "410", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "411", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } - }, - "element" : [ { - "localId" : "406", - "lowClosed" : false, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "407", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "408", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "404", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal" - }, - "high" : { - "localId" : "405", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "4", - "type" : "Literal" - } - } ] - }, { - "localId" : "413", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "value" : 1, - "unit" : "1", - "type" : "Quantity" - } ] - } - }, { - "localId" : "427", - "name" : "OpenEnd", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "427", - "s" : [ { - "value" : [ "","define ","OpenEnd",": " ] - }, { - "r" : "439", - "s" : [ { - "value" : [ "expand " ] - }, { - "r" : "428", - "s" : [ { - "value" : [ "{ " ] - }, { - "r" : "431", - "s" : [ { - "r" : "429", - "value" : [ "Interval[","2",", ","4",")" ] - } ] - }, { - "value" : [ " }" ] - } ] - }, { - "value" : [ " per " ] - }, { - "r" : "438", - "s" : [ { - "value" : [ "1 ","'1'" ] - } ] - } ] - } ] - } - } ], + "type" : "ListTypeSpecifier", + "localId" : "2804", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "2805", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "2806", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + }, + "element" : [ { + "type" : "Interval", + "localId" : "2801", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "2802", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "2803", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "DateTime", + "localId" : "2793", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "2794", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "2789", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2018", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "2799", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "2800", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "2795", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2018", + "annotation" : [ ] + } + } + } ] + }, { + "type" : "Null", + "localId" : "2807", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } ] + } + }, { + "localId" : "2821", + "name" : "OpenStart", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "2821", + "s" : [ { + "value" : [ "", "define ", "OpenStart", ": " ] + }, { + "r" : "2843", + "s" : [ { + "value" : [ "expand " ] + }, { + "r" : "2822", + "s" : [ { + "value" : [ "{ " ] + }, { + "r" : "2835", + "s" : [ { + "r" : "2823", + "value" : [ "Interval(", "@2018-01-01T01+00:00", ", ", "@2018-01-03T01+00:00", "]" ] + } ] + }, { + "value" : [ " }" ] + } ] + }, { + "value" : [ " per ", "day" ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "2851", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "2852", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "2853", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + }, + "expression" : { + "type" : "Expand", + "localId" : "2843", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "2848", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "2849", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "2850", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + }, + "signature" : [ { + "type" : "ListTypeSpecifier", + "localId" : "2844", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "2845", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "2846", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2847", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "List", + "localId" : "2822", + "annotation" : [ ], "resultTypeSpecifier" : { - "localId" : "447", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "448", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "449", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } + "type" : "ListTypeSpecifier", + "localId" : "2838", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "2839", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "2840", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } }, - "expression" : { - "localId" : "439", - "type" : "Expand", - "resultTypeSpecifier" : { - "localId" : "444", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "445", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "446", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } - }, - "signature" : [ { - "localId" : "440", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "441", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "442", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } - }, { - "localId" : "443", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "428", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "434", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "435", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "436", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } - }, - "element" : [ { - "localId" : "431", - "lowClosed" : true, - "highClosed" : false, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "432", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "433", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "429", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal" - }, - "high" : { - "localId" : "430", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "4", - "type" : "Literal" - } - } ] - }, { - "localId" : "438", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "value" : 1, - "unit" : "1", - "type" : "Quantity" - } ] - } - }, { - "localId" : "452", - "name" : "OpenBoth", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "452", - "s" : [ { - "value" : [ "","define ","OpenBoth",": " ] - }, { - "r" : "464", - "s" : [ { - "value" : [ "expand " ] - }, { - "r" : "453", - "s" : [ { - "value" : [ "{ " ] - }, { - "r" : "456", - "s" : [ { - "r" : "454", - "value" : [ "Interval(","2",", ","4",")" ] - } ] - }, { - "value" : [ " }" ] - } ] - }, { - "value" : [ " per " ] - }, { - "r" : "463", - "s" : [ { - "value" : [ "1 ","'1'" ] - } ] - } ] - } ] - } - } ], + "element" : [ { + "type" : "Interval", + "localId" : "2835", + "lowClosed" : false, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "2836", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "2837", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "DateTime", + "localId" : "2823", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ ], + "year" : { + "type" : "Literal", + "localId" : "2824", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2018", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "2825", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "2826", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "2827", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "timezoneOffset" : { + "type" : "Literal", + "localId" : "2828", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "0.0", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "2829", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ ], + "year" : { + "type" : "Literal", + "localId" : "2830", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2018", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "2831", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "2832", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "2833", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "timezoneOffset" : { + "type" : "Literal", + "localId" : "2834", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "0.0", + "annotation" : [ ] + } + } + } ] + }, { + "type" : "Quantity", + "localId" : "2842", + "value" : 1.0, + "unit" : "day", + "annotation" : [ ] + } ] + } + }, { + "localId" : "2856", + "name" : "OpenEnd", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "2856", + "s" : [ { + "value" : [ "", "define ", "OpenEnd", ": " ] + }, { + "r" : "2878", + "s" : [ { + "value" : [ "expand " ] + }, { + "r" : "2857", + "s" : [ { + "value" : [ "{ " ] + }, { + "r" : "2870", + "s" : [ { + "r" : "2858", + "value" : [ "Interval[", "@2018-01-01T01+00:00", ", ", "@2018-01-03T01+00:00", ")" ] + } ] + }, { + "value" : [ " }" ] + } ] + }, { + "value" : [ " per ", "day" ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "2886", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "2887", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "2888", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + }, + "expression" : { + "type" : "Expand", + "localId" : "2878", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "2883", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "2884", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "2885", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + }, + "signature" : [ { + "type" : "ListTypeSpecifier", + "localId" : "2879", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "2880", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "2881", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2882", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "List", + "localId" : "2857", + "annotation" : [ ], "resultTypeSpecifier" : { - "localId" : "472", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "473", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "474", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } + "type" : "ListTypeSpecifier", + "localId" : "2873", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "2874", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "2875", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } }, - "expression" : { - "localId" : "464", - "type" : "Expand", - "resultTypeSpecifier" : { - "localId" : "469", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "470", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "471", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } - }, - "signature" : [ { - "localId" : "465", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "466", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "467", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } - }, { - "localId" : "468", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "453", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "459", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "460", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "461", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } - }, - "element" : [ { - "localId" : "456", - "lowClosed" : false, - "highClosed" : false, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "457", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "458", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "454", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal" - }, - "high" : { - "localId" : "455", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "4", - "type" : "Literal" - } - } ] - }, { - "localId" : "463", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "value" : 1, - "unit" : "1", - "type" : "Quantity" - } ] - } - }, { - "localId" : "477", - "name" : "EmptyList", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "477", - "s" : [ { - "value" : [ "","define ","EmptyList",": " ] - }, { - "r" : "482", - "s" : [ { - "value" : [ "List<" ] - }, { - "r" : "478", - "s" : [ { - "value" : [ "Interval<" ] - }, { - "r" : "479", - "s" : [ { - "value" : [ "Integer" ] - } ] - }, { - "value" : [ ">" ] - } ] - }, { - "value" : [ ">{}" ] - } ] - } ] - } - } ], + "element" : [ { + "type" : "Interval", + "localId" : "2870", + "lowClosed" : true, + "highClosed" : false, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "2871", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "2872", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "DateTime", + "localId" : "2858", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ ], + "year" : { + "type" : "Literal", + "localId" : "2859", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2018", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "2860", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "2861", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "2862", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "timezoneOffset" : { + "type" : "Literal", + "localId" : "2863", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "0.0", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "2864", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ ], + "year" : { + "type" : "Literal", + "localId" : "2865", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2018", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "2866", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "2867", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "2868", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "timezoneOffset" : { + "type" : "Literal", + "localId" : "2869", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "0.0", + "annotation" : [ ] + } + } + } ] + }, { + "type" : "Quantity", + "localId" : "2877", + "value" : 1.0, + "unit" : "day", + "annotation" : [ ] + } ] + } + }, { + "localId" : "2891", + "name" : "OpenBoth", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "2891", + "s" : [ { + "value" : [ "", "define ", "OpenBoth", ": " ] + }, { + "r" : "2913", + "s" : [ { + "value" : [ "expand " ] + }, { + "r" : "2892", + "s" : [ { + "value" : [ "{ " ] + }, { + "r" : "2905", + "s" : [ { + "r" : "2893", + "value" : [ "Interval(", "@2018-01-01T01+00:00", ", ", "@2018-01-03T01+00:00", ")" ] + } ] + }, { + "value" : [ " }" ] + } ] + }, { + "value" : [ " per ", "day" ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "2921", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "2922", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "2923", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + }, + "expression" : { + "type" : "Expand", + "localId" : "2913", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "2918", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "2919", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "2920", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + }, + "signature" : [ { + "type" : "ListTypeSpecifier", + "localId" : "2914", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "2915", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "2916", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2917", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "List", + "localId" : "2892", + "annotation" : [ ], "resultTypeSpecifier" : { - "localId" : "487", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "488", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "489", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } + "type" : "ListTypeSpecifier", + "localId" : "2908", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "2909", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "2910", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } }, - "expression" : { - "localId" : "482", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "484", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "485", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "486", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } - }, - "element" : [ ] - } - }, { - "localId" : "492", - "name" : "PerTooBig", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "492", - "s" : [ { - "value" : [ "","define ","PerTooBig",": " ] - }, { - "r" : "508", - "s" : [ { - "value" : [ "expand " ] - }, { - "r" : "493", - "s" : [ { - "value" : [ "{ " ] - }, { - "r" : "496", - "s" : [ { - "r" : "494", - "value" : [ "Interval[","2",", ","4","]" ] - } ] - }, { - "r" : "499", - "value" : [ ", ","null"," }" ] - } ] - }, { - "value" : [ " per " ] - }, { - "r" : "507", - "s" : [ { - "value" : [ "5 ","'1'" ] - } ] - } ] - } ] - } - } ], + "element" : [ { + "type" : "Interval", + "localId" : "2905", + "lowClosed" : false, + "highClosed" : false, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "2906", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "2907", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "DateTime", + "localId" : "2893", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ ], + "year" : { + "type" : "Literal", + "localId" : "2894", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2018", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "2895", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "2896", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "2897", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "timezoneOffset" : { + "type" : "Literal", + "localId" : "2898", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "0.0", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "2899", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ ], + "year" : { + "type" : "Literal", + "localId" : "2900", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2018", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "2901", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "2902", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "2903", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "timezoneOffset" : { + "type" : "Literal", + "localId" : "2904", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "0.0", + "annotation" : [ ] + } + } + } ] + }, { + "type" : "Quantity", + "localId" : "2912", + "value" : 1.0, + "unit" : "day", + "annotation" : [ ] + } ] + } + }, { + "localId" : "2926", + "name" : "MismatchPrecision", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "2926", + "s" : [ { + "value" : [ "", "define ", "MismatchPrecision", ": " ] + }, { + "r" : "2951", + "s" : [ { + "value" : [ "expand " ] + }, { + "r" : "2927", + "s" : [ { + "value" : [ "{ " ] + }, { + "r" : "2943", + "s" : [ { + "r" : "2928", + "value" : [ "Interval[", "@2012-01-01T12:00+00:00", ", ", "@2012-01-02T12:00:00+00:00", "]" ] + } ] + }, { + "value" : [ " }" ] + } ] + }, { + "value" : [ " per ", "day" ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "2959", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "2960", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "2961", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + }, + "expression" : { + "type" : "Expand", + "localId" : "2951", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "2956", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "2957", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "2958", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + }, + "signature" : [ { + "type" : "ListTypeSpecifier", + "localId" : "2952", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "2953", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "2954", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2955", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "List", + "localId" : "2927", + "annotation" : [ ], "resultTypeSpecifier" : { - "localId" : "516", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "517", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "518", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } + "type" : "ListTypeSpecifier", + "localId" : "2946", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "2947", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "2948", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } }, - "expression" : { - "localId" : "508", - "type" : "Expand", - "resultTypeSpecifier" : { - "localId" : "513", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "514", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "515", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } - }, - "signature" : [ { - "localId" : "509", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "510", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "511", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } - }, { - "localId" : "512", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "493", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "503", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "504", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "505", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } - }, - "element" : [ { - "localId" : "496", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "497", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "498", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "494", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal" - }, - "high" : { - "localId" : "495", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "4", - "type" : "Literal" - } - }, { - "localId" : "500", - "type" : "As", - "signature" : [ ], - "operand" : { - "localId" : "499", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - }, - "asTypeSpecifier" : { - "localId" : "501", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "502", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } - } ] - }, { - "localId" : "507", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "value" : 5, - "unit" : "1", - "type" : "Quantity" - } ] - } - }, { - "localId" : "521", - "name" : "NullOpen", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "521", - "s" : [ { - "value" : [ "","define ","NullOpen",": " ] - }, { - "r" : "534", - "s" : [ { - "value" : [ "expand " ] - }, { - "r" : "522", - "s" : [ { - "value" : [ "{ " ] - }, { - "r" : "525", - "s" : [ { - "r" : "523", - "value" : [ "Interval[","null",", ","4","]" ] - } ] - }, { - "value" : [ " }" ] - } ] - }, { - "value" : [ " per " ] - }, { - "r" : "533", - "s" : [ { - "value" : [ "1 ","'1'" ] - } ] - } ] - } ] - } - } ], - "resultTypeSpecifier" : { - "localId" : "542", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "543", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "544", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } - }, - "expression" : { - "localId" : "534", - "type" : "Expand", - "resultTypeSpecifier" : { - "localId" : "539", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "540", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "541", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } - }, - "signature" : [ { - "localId" : "535", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "536", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "537", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } - }, { - "localId" : "538", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "522", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "529", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "530", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "531", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } - }, - "element" : [ { - "localId" : "525", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "527", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "528", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "526", - "asType" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "As", - "signature" : [ ], - "operand" : { - "localId" : "523", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - } - }, - "high" : { - "localId" : "524", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "4", - "type" : "Literal" - } - } ] - }, { - "localId" : "533", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "value" : 1, - "unit" : "1", - "type" : "Quantity" - } ] - } - }, { - "localId" : "547", - "name" : "NullClose", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "547", - "s" : [ { - "value" : [ "","define ","NullClose",": " ] - }, { - "r" : "560", - "s" : [ { - "value" : [ "expand " ] - }, { - "r" : "548", - "s" : [ { - "value" : [ "{ " ] - }, { - "r" : "551", - "s" : [ { - "r" : "549", - "value" : [ "Interval[","2",", ","null","]" ] - } ] - }, { - "value" : [ " }" ] - } ] - }, { - "value" : [ " per " ] - }, { - "r" : "559", - "s" : [ { - "value" : [ "1 ","'1'" ] - } ] - } ] - } ] - } - } ], + "element" : [ { + "type" : "Interval", + "localId" : "2943", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "2944", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "2945", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "DateTime", + "localId" : "2928", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ ], + "year" : { + "type" : "Literal", + "localId" : "2929", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "2930", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "2931", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "2932", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "12", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "2933", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "timezoneOffset" : { + "type" : "Literal", + "localId" : "2934", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "0.0", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "2935", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ ], + "year" : { + "type" : "Literal", + "localId" : "2936", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "2937", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "2938", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "2939", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "12", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "2940", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "2941", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "timezoneOffset" : { + "type" : "Literal", + "localId" : "2942", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "0.0", + "annotation" : [ ] + } + } + } ] + }, { + "type" : "Quantity", + "localId" : "2950", + "value" : 1.0, + "unit" : "day", + "annotation" : [ ] + } ] + } + }, { + "localId" : "2964", + "name" : "MismatchPrecisionResultLongerThanInput", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "2964", + "s" : [ { + "value" : [ "", "define ", "MismatchPrecisionResultLongerThanInput", ": " ] + }, { + "r" : "2989", + "s" : [ { + "value" : [ "expand " ] + }, { + "r" : "2965", + "s" : [ { + "value" : [ "{ " ] + }, { + "r" : "2981", + "s" : [ { + "r" : "2966", + "value" : [ "Interval[", "@2012-01-01T13:00:00+00:00", ", ", "@2012-01-02T12:59+00:00", "]" ] + } ] + }, { + "value" : [ " }" ] + } ] + }, { + "value" : [ " per ", "day" ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "2997", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "2998", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "2999", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + }, + "expression" : { + "type" : "Expand", + "localId" : "2989", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "2994", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "2995", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "2996", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + }, + "signature" : [ { + "type" : "ListTypeSpecifier", + "localId" : "2990", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "2991", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "2992", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2993", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "List", + "localId" : "2965", + "annotation" : [ ], "resultTypeSpecifier" : { - "localId" : "568", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "569", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "570", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } + "type" : "ListTypeSpecifier", + "localId" : "2984", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "2985", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "2986", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } }, - "expression" : { - "localId" : "560", - "type" : "Expand", - "resultTypeSpecifier" : { - "localId" : "565", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "566", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "567", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } - }, - "signature" : [ { - "localId" : "561", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "562", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "563", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } - }, { - "localId" : "564", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "548", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "555", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "556", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "557", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } - }, - "element" : [ { - "localId" : "551", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "553", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "554", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "549", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal" - }, - "high" : { - "localId" : "552", - "asType" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "As", - "signature" : [ ], - "operand" : { - "localId" : "550", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - } - } - } ] - }, { - "localId" : "559", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "value" : 1, - "unit" : "1", - "type" : "Quantity" - } ] - } - }, { - "localId" : "573", - "name" : "NullBoth", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "573", - "s" : [ { - "value" : [ "","define ","NullBoth",": " ] - }, { - "r" : "585", - "s" : [ { - "value" : [ "expand " ] - }, { - "r" : "574", - "s" : [ { - "value" : [ "{ " ] - }, { - "r" : "577", - "s" : [ { - "r" : "575", - "value" : [ "Interval[","null",", ","null","]" ] - } ] - }, { - "value" : [ " }" ] - } ] - }, { - "value" : [ " per " ] - }, { - "r" : "584", - "s" : [ { - "value" : [ "1 ","'1'" ] - } ] - } ] - } ] - } - } ], + "element" : [ { + "type" : "Interval", + "localId" : "2981", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "2982", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "2983", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "DateTime", + "localId" : "2966", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ ], + "year" : { + "type" : "Literal", + "localId" : "2967", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "2968", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "2969", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "2970", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "13", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "2971", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "2972", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "timezoneOffset" : { + "type" : "Literal", + "localId" : "2973", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "0.0", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "2974", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ ], + "year" : { + "type" : "Literal", + "localId" : "2975", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "2976", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "2977", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "2978", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "12", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "2979", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "59", + "annotation" : [ ] + }, + "timezoneOffset" : { + "type" : "Literal", + "localId" : "2980", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "0.0", + "annotation" : [ ] + } + } + } ] + }, { + "type" : "Quantity", + "localId" : "2988", + "value" : 1.0, + "unit" : "day", + "annotation" : [ ] + } ] + } + }, { + "localId" : "3002", + "name" : "EmptyList", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "3002", + "s" : [ { + "value" : [ "", "define ", "EmptyList", ": " ] + }, { + "r" : "3007", + "s" : [ { + "value" : [ "List<" ] + }, { + "r" : "3003", + "s" : [ { + "value" : [ "Interval<" ] + }, { + "r" : "3004", + "s" : [ { + "value" : [ "Date" ] + } ] + }, { + "value" : [ ">" ] + } ] + }, { + "value" : [ ">{}" ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "3012", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "3013", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "3014", + "name" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ] + } + } + }, + "expression" : { + "type" : "List", + "localId" : "3007", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "3009", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "3010", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "3011", + "name" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ] + } + } + }, + "element" : [ ] + } + }, { + "localId" : "3017", + "name" : "NullOpen", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "3017", + "s" : [ { + "value" : [ "", "define ", "NullOpen", ": " ] + }, { + "r" : "3035", + "s" : [ { + "value" : [ "expand " ] + }, { + "r" : "3018", + "s" : [ { + "value" : [ "{ " ] + }, { + "r" : "3026", + "s" : [ { + "r" : "3019", + "value" : [ "Interval[", "null", ", ", "@2018-01-03T01+00:00", "]" ] + } ] + }, { + "value" : [ " }" ] + } ] + }, { + "value" : [ " per ", "day" ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "3043", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "3044", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "3045", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + }, + "expression" : { + "type" : "Expand", + "localId" : "3035", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "3040", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "3041", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "3042", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + }, + "signature" : [ { + "type" : "ListTypeSpecifier", + "localId" : "3036", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "3037", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "3038", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + }, { + "type" : "NamedTypeSpecifier", + "localId" : "3039", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "List", + "localId" : "3018", + "annotation" : [ ], "resultTypeSpecifier" : { - "localId" : "593", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "594", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "595", - "name" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "NamedTypeSpecifier" - } - } + "type" : "ListTypeSpecifier", + "localId" : "3030", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "3031", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "3032", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } }, - "expression" : { - "localId" : "585", - "type" : "Expand", - "resultTypeSpecifier" : { - "localId" : "590", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "591", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "592", - "name" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "NamedTypeSpecifier" - } - } - }, - "signature" : [ { - "localId" : "586", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "587", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "588", - "name" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "NamedTypeSpecifier" - } - } - }, { - "localId" : "589", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "574", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "580", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "581", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "582", - "name" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "NamedTypeSpecifier" - } - } - }, - "element" : [ { - "localId" : "577", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "578", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "579", - "name" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "575", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - }, - "high" : { - "localId" : "576", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - } - } ] - }, { - "localId" : "584", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "value" : 1, - "unit" : "1", - "type" : "Quantity" - } ] - } - }, { - "localId" : "598", - "name" : "BadPerMinute", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "598", - "s" : [ { - "value" : [ "","define ","BadPerMinute",": " ] - }, { - "r" : "610", - "s" : [ { - "value" : [ "expand " ] - }, { - "r" : "599", - "s" : [ { - "value" : [ "{ " ] - }, { - "r" : "602", - "s" : [ { - "r" : "600", - "value" : [ "Interval(","2",", ","4","]" ] - } ] - }, { - "value" : [ " }" ] - } ] - }, { - "value" : [ " per " ] - }, { - "r" : "609", - "s" : [ { - "value" : [ "1 ","minute" ] - } ] - } ] - } ] - } - } ], + "element" : [ { + "type" : "Interval", + "localId" : "3026", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "3028", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "3029", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "As", + "localId" : "3027", + "asType" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Null", + "localId" : "3019", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "3020", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ ], + "year" : { + "type" : "Literal", + "localId" : "3021", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2018", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "3022", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "3023", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "3024", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "timezoneOffset" : { + "type" : "Literal", + "localId" : "3025", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "0.0", + "annotation" : [ ] + } + } + } ] + }, { + "type" : "Quantity", + "localId" : "3034", + "value" : 1.0, + "unit" : "day", + "annotation" : [ ] + } ] + } + }, { + "localId" : "3048", + "name" : "NullClose", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "3048", + "s" : [ { + "value" : [ "", "define ", "NullClose", ": " ] + }, { + "r" : "3066", + "s" : [ { + "value" : [ "expand " ] + }, { + "r" : "3049", + "s" : [ { + "value" : [ "{ " ] + }, { + "r" : "3057", + "s" : [ { + "r" : "3050", + "value" : [ "Interval[", "@2018-01-01T01+00:00", ", ", "null", "]" ] + } ] + }, { + "value" : [ " }" ] + } ] + }, { + "value" : [ " per ", "day" ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "3074", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "3075", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "3076", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + }, + "expression" : { + "type" : "Expand", + "localId" : "3066", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "3071", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "3072", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "3073", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + }, + "signature" : [ { + "type" : "ListTypeSpecifier", + "localId" : "3067", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "3068", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "3069", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + }, { + "type" : "NamedTypeSpecifier", + "localId" : "3070", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "List", + "localId" : "3049", + "annotation" : [ ], "resultTypeSpecifier" : { - "localId" : "618", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "619", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "620", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } + "type" : "ListTypeSpecifier", + "localId" : "3061", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "3062", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "3063", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } }, - "expression" : { - "localId" : "610", - "type" : "Expand", - "resultTypeSpecifier" : { - "localId" : "615", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "616", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "617", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } - }, - "signature" : [ { - "localId" : "611", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "612", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "613", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } - }, { - "localId" : "614", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "599", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "605", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "606", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "607", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } - }, - "element" : [ { - "localId" : "602", - "lowClosed" : false, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "603", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "604", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "600", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal" - }, - "high" : { - "localId" : "601", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "4", - "type" : "Literal" - } - } ] - }, { - "localId" : "609", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "value" : 1, - "unit" : "minute", - "type" : "Quantity" - } ] - } - }, { - "localId" : "623", - "name" : "PerDecimalMorePrecise", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "623", - "s" : [ { - "value" : [ "","define ","PerDecimalMorePrecise",": " ] - }, { - "r" : "636", - "s" : [ { - "value" : [ "expand " ] - }, { - "r" : "624", - "s" : [ { - "value" : [ "{ " ] - }, { - "r" : "627", - "s" : [ { - "r" : "625", - "value" : [ "Interval[","10",", ","10","]" ] - } ] - }, { - "value" : [ " }" ] - } ] - }, { - "r" : "634", - "value" : [ " per ","0.1" ] - } ] - } ] - } - } ], + "element" : [ { + "type" : "Interval", + "localId" : "3057", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "3059", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "3060", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "DateTime", + "localId" : "3050", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ ], + "year" : { + "type" : "Literal", + "localId" : "3051", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2018", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "3052", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "3053", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "3054", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "timezoneOffset" : { + "type" : "Literal", + "localId" : "3055", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "0.0", + "annotation" : [ ] + } + }, + "high" : { + "type" : "As", + "localId" : "3058", + "asType" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Null", + "localId" : "3056", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } + } + } ] + }, { + "type" : "Quantity", + "localId" : "3065", + "value" : 1.0, + "unit" : "day", + "annotation" : [ ] + } ] + } + }, { + "localId" : "3079", + "name" : "NullBoth", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "3079", + "s" : [ { + "value" : [ "", "define ", "NullBoth", ": " ] + }, { + "r" : "3091", + "s" : [ { + "value" : [ "expand " ] + }, { + "r" : "3080", + "s" : [ { + "value" : [ "{ " ] + }, { + "r" : "3083", + "s" : [ { + "r" : "3081", + "value" : [ "Interval[", "null", ", ", "null", "]" ] + } ] + }, { + "value" : [ " }" ] + } ] + }, { + "value" : [ " per ", "day" ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "3099", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "3100", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "3101", + "name" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } + } + }, + "expression" : { + "type" : "Expand", + "localId" : "3091", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "3096", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "3097", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "3098", + "name" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } + } + }, + "signature" : [ { + "type" : "ListTypeSpecifier", + "localId" : "3092", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "3093", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "3094", + "name" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } + } + }, { + "type" : "NamedTypeSpecifier", + "localId" : "3095", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "List", + "localId" : "3080", + "annotation" : [ ], "resultTypeSpecifier" : { - "localId" : "644", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "645", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "646", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } + "type" : "ListTypeSpecifier", + "localId" : "3086", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "3087", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "3088", + "name" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } + } }, - "expression" : { - "localId" : "636", - "type" : "Expand", - "resultTypeSpecifier" : { - "localId" : "641", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "642", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "643", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } - }, - "signature" : [ { - "localId" : "637", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "638", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "639", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } - }, { - "localId" : "640", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "624", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "630", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "631", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "632", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } - }, - "element" : [ { - "localId" : "627", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "628", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "629", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "625", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal" - }, - "high" : { - "localId" : "626", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal" - } - } ] - }, { - "localId" : "635", - "value" : 0.1, - "unit" : "1", - "type" : "Quantity" - } ] - } - } ] - } - } + "element" : [ { + "type" : "Interval", + "localId" : "3083", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "3084", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "3085", + "name" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } + }, + "low" : { + "type" : "Null", + "localId" : "3081", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + }, + "high" : { + "type" : "Null", + "localId" : "3082", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } + } ] + }, { + "type" : "Quantity", + "localId" : "3090", + "value" : 1.0, + "unit" : "day", + "annotation" : [ ] + } ] + } + }, { + "localId" : "3104", + "name" : "BadPerGram", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "3104", + "s" : [ { + "value" : [ "", "define ", "BadPerGram", ": " ] + }, { + "r" : "3126", + "s" : [ { + "value" : [ "expand " ] + }, { + "r" : "3105", + "s" : [ { + "value" : [ "{ " ] + }, { + "r" : "3118", + "s" : [ { + "r" : "3106", + "value" : [ "Interval[", "@2018-01-01T01+00:00", ", ", "@2018-01-04T01+00:00", "]" ] + } ] + }, { + "value" : [ " }" ] + } ] + }, { + "value" : [ " per " ] + }, { + "r" : "3125", + "s" : [ { + "value" : [ "1 ", "'g'" ] + } ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "3134", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "3135", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "3136", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + }, + "expression" : { + "type" : "Expand", + "localId" : "3126", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "3131", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "3132", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "3133", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + }, + "signature" : [ { + "type" : "ListTypeSpecifier", + "localId" : "3127", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "3128", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "3129", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + }, { + "type" : "NamedTypeSpecifier", + "localId" : "3130", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "List", + "localId" : "3105", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "3121", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "3122", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "3123", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + }, + "element" : [ { + "type" : "Interval", + "localId" : "3118", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "3119", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "3120", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "DateTime", + "localId" : "3106", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ ], + "year" : { + "type" : "Literal", + "localId" : "3107", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2018", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "3108", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "3109", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "3110", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "timezoneOffset" : { + "type" : "Literal", + "localId" : "3111", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "0.0", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "3112", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ ], + "year" : { + "type" : "Literal", + "localId" : "3113", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2018", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "3114", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "3115", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "4", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "3116", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "timezoneOffset" : { + "type" : "Literal", + "localId" : "3117", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "0.0", + "annotation" : [ ] + } + } + } ] + }, { + "type" : "Quantity", + "localId" : "3125", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "value" : 1, + "unit" : "g", + "annotation" : [ ] + } ] + } + } ] + } + } } -/* DecimalIntervalExpand +/* TimeIntervalExpand library TestSnippet version '1' using Simple version '1.0.0' context Patient -define ClosedSingle: expand { Interval[2, 5] } per 1.5 '1' -define ClosedSingle1: expand { Interval[2.5, 10] } per 2 '1' -define ClosedSingle2: expand { Interval[2, 4.5] } per 0.5 '1' - -define NullInList: expand { Interval[2, 5], null } per 1.5 '1' -define Overlapping: expand { Interval[2, 5], Interval[4, 7] } per 1.5 '1' -define NonOverlapping: expand { Interval[2, 4], Interval[6, 8] } per 1.5 '1' +define MsPrecPerHour: expand { Interval[@T01:00:00.000, @T03:00:00.000] } per hour +define MsPrecPerMinute: expand { Interval[@T01:00:00.000, @T01:02:00.000] } per minute +define MsPrecPerSecond: expand { Interval[@T01:00:00.000, @T01:00:02.000] } per second +define MsPrecPerMillisecond: expand { Interval[@T01:00:00.000, @T01:00:00.001] } per millisecond -define NoPer: expand { Interval[2.5, 4.5] } +define SecPrecPerHour: expand { Interval[@T01:00:00, @T03:00:00] } per hour +define SecPrecPerMinute: expand { Interval[@T01:00:00, @T01:02:00] } per minute +define SecPrecPerSecond: expand { Interval[@T01:00:00, @T01:00:01] } per second +define SecPrecPerMillisecond: expand { Interval[@T01:00:00, @T01:00:00] } per millisecond -define OpenStart: expand { Interval(2, 5] } per 1.5 '1' -define OpenEnd: expand { Interval[2, 5) } per 1.5 '1' -define OpenBoth: expand { Interval(2, 5) } per 1.5 '1' +define MinPrecPerHour: expand { Interval[@T01:00, @T03:00] } per hour +define MinPrecPerMinute: expand { Interval[@T01:00, @T01:01] } per minute +define MinPrecPerSecond: expand { Interval[@T01:00, @T01:00] } per second +define MinPrecPerMillisecond: expand { Interval[@T01:00, @T01:00] } per millisecond +define MinPrecPerMinuteEmpty: expand { Interval[@T10, @T10] } per minute -define EmptyList: List>{} -define PerTooBig: expand { Interval[2, 4], null } per 5.5 '1' -define NullOpen: expand { Interval[null, 4] } per 1.5 '1' -define NullClose: expand { Interval[2, null] } per 1.5 '1' -define NullBoth: expand { Interval[null, null] } per 1.5 '1' -define BadPerMinute: expand { Interval(2.1, 4.1] } per 0.5 minute +define HourPrecPerHour: expand { Interval[@T01, @T02] } per hour +define HourPrecPerMinute: expand { Interval[@T01, @T01] } per minute +define HourPrecPerSecond: expand { Interval[@T01, @T01] } per second +define HourPrecPerMillisecond: expand { Interval[@T01, @T01] } per millisecond */ -module.exports['DecimalIntervalExpand'] = { - "library" : { - "localId" : "0", - "annotation" : [ { - "translatorVersion" : "3.27.0", - "translatorOptions" : "EnableDateRangeOptimization,EnableAnnotations,EnableResultTypes", - "signatureLevel" : "All", - "type" : "CqlToElmInfo" - }, { - "type" : "Annotation", - "s" : { - "r" : "604", +module.exports['TimeIntervalExpand'] = { + "library" : { + "localId" : "0", + "annotation" : [ { + "type" : "CqlToElmInfo", + "translatorVersion" : "4.2.0", + "translatorOptions" : "EnableDateRangeOptimization,EnableAnnotations,EnableResultTypes", + "signatureLevel" : "All" + }, { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "694", + "s" : [ { + "value" : [ "", "library TestSnippet version '1'" ] + } ] + } + } ], + "identifier" : { + "id" : "TestSnippet", + "version" : "1" + }, + "schemaIdentifier" : { + "id" : "urn:hl7-org:elm", + "version" : "r1" + }, + "usings" : { + "def" : [ { + "localId" : "1", + "localIdentifier" : "System", + "uri" : "urn:hl7-org:elm-types:r1", + "annotation" : [ ] + }, { + "localId" : "206", + "localIdentifier" : "Simple", + "uri" : "https://github.com/cqframework/cql-execution/simple", + "version" : "1.0.0", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "206", "s" : [ { - "value" : [ "","library TestSnippet version '1'" ] - } ] - } - } ], - "identifier" : { - "id" : "TestSnippet", - "version" : "1" - }, - "schemaIdentifier" : { - "id" : "urn:hl7-org:elm", - "version" : "r1" - }, - "usings" : { - "def" : [ { - "localId" : "1", - "localIdentifier" : "System", - "uri" : "urn:hl7-org:elm-types:r1" - }, { - "localId" : "206", - "localIdentifier" : "Simple", - "uri" : "https://github.com/cqframework/cql-execution/simple", - "version" : "1.0.0", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "206", - "s" : [ { - "value" : [ "","using " ] - }, { - "s" : [ { - "value" : [ "Simple" ] - } ] - }, { - "value" : [ " version '1.0.0'" ] - } ] - } - } ] - } ] - }, - "contexts" : { - "def" : [ { - "localId" : "211", - "name" : "Patient" - } ] - }, - "statements" : { - "def" : [ { - "localId" : "209", - "name" : "Patient", - "context" : "Patient", - "expression" : { - "localId" : "210", - "type" : "SingletonFrom", - "signature" : [ ], - "operand" : { - "localId" : "208", - "dataType" : "{https://github.com/cqframework/cql-execution/simple}Patient", - "type" : "Retrieve", - "include" : [ ], - "codeFilter" : [ ], - "dateFilter" : [ ], - "otherFilter" : [ ] - } - } - }, { - "localId" : "214", - "name" : "ClosedSingle", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "214", - "s" : [ { - "value" : [ "","define ","ClosedSingle",": " ] - }, { - "r" : "226", - "s" : [ { - "value" : [ "expand " ] - }, { - "r" : "215", - "s" : [ { - "value" : [ "{ " ] - }, { - "r" : "218", - "s" : [ { - "r" : "216", - "value" : [ "Interval[","2",", ","5","]" ] - } ] - }, { - "value" : [ " }" ] - } ] - }, { - "value" : [ " per " ] - }, { - "r" : "225", - "s" : [ { - "value" : [ "1.5 ","'1'" ] - } ] - } ] - } ] - } - } ], + "value" : [ "", "using " ] + }, { + "s" : [ { + "value" : [ "Simple" ] + } ] + }, { + "value" : [ " version '1.0.0'" ] + } ] + } + } ] + } ] + }, + "contexts" : { + "def" : [ { + "localId" : "211", + "name" : "Patient", + "annotation" : [ ] + } ] + }, + "statements" : { + "def" : [ { + "localId" : "209", + "name" : "Patient", + "context" : "Patient", + "annotation" : [ ], + "expression" : { + "type" : "SingletonFrom", + "localId" : "210", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Retrieve", + "localId" : "208", + "dataType" : "{https://github.com/cqframework/cql-execution/simple}Patient", + "annotation" : [ ], + "include" : [ ], + "codeFilter" : [ ], + "dateFilter" : [ ], + "otherFilter" : [ ] + } + } + }, { + "localId" : "214", + "name" : "MsPrecPerHour", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "214", + "s" : [ { + "value" : [ "", "define ", "MsPrecPerHour", ": " ] + }, { + "r" : "234", + "s" : [ { + "value" : [ "expand " ] + }, { + "r" : "215", + "s" : [ { + "value" : [ "{ " ] + }, { + "r" : "226", + "s" : [ { + "r" : "216", + "value" : [ "Interval[", "@T01:00:00.000", ", ", "@T03:00:00.000", "]" ] + } ] + }, { + "value" : [ " }" ] + } ] + }, { + "value" : [ " per ", "hour" ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "242", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "243", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "244", + "name" : "{urn:hl7-org:elm-types:r1}Time", + "annotation" : [ ] + } + } + }, + "expression" : { + "type" : "Expand", + "localId" : "234", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "239", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "240", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "241", + "name" : "{urn:hl7-org:elm-types:r1}Time", + "annotation" : [ ] + } + } + }, + "signature" : [ { + "type" : "ListTypeSpecifier", + "localId" : "235", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "236", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "237", + "name" : "{urn:hl7-org:elm-types:r1}Time", + "annotation" : [ ] + } + } + }, { + "type" : "NamedTypeSpecifier", + "localId" : "238", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "List", + "localId" : "215", + "annotation" : [ ], "resultTypeSpecifier" : { - "localId" : "234", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "235", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "236", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } - }, - "expression" : { - "localId" : "226", - "type" : "Expand", - "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "229", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "230", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", "localId" : "231", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "232", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "233", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } - }, - "signature" : [ { - "localId" : "227", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "228", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "229", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } - }, { - "localId" : "230", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "215", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "221", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "222", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "223", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } - }, - "element" : [ { - "localId" : "218", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "219", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "220", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "216", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal" - }, - "high" : { - "localId" : "217", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal" - } - } ] - }, { + "name" : "{urn:hl7-org:elm-types:r1}Time", + "annotation" : [ ] + } + } + }, + "element" : [ { + "type" : "Interval", + "localId" : "226", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "227", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "228", + "name" : "{urn:hl7-org:elm-types:r1}Time", + "annotation" : [ ] + } + }, + "low" : { + "type" : "Time", + "localId" : "216", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Time", + "annotation" : [ ], + "signature" : [ ], + "hour" : { + "type" : "Literal", + "localId" : "217", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "218", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "219", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "220", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + }, + "high" : { + "type" : "Time", + "localId" : "221", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Time", + "annotation" : [ ], + "signature" : [ ], + "hour" : { + "type" : "Literal", + "localId" : "222", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "223", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "224", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", "localId" : "225", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "value" : 1.5, - "unit" : "1", - "type" : "Quantity" - } ] - } - }, { - "localId" : "239", - "name" : "ClosedSingle1", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "239", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + } + } ] + }, { + "type" : "Quantity", + "localId" : "233", + "value" : 1.0, + "unit" : "hour", + "annotation" : [ ] + } ] + } + }, { + "localId" : "247", + "name" : "MsPrecPerMinute", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "247", + "s" : [ { + "value" : [ "", "define ", "MsPrecPerMinute", ": " ] + }, { + "r" : "267", + "s" : [ { + "value" : [ "expand " ] + }, { + "r" : "248", + "s" : [ { + "value" : [ "{ " ] + }, { + "r" : "259", "s" : [ { - "value" : [ "","define ","ClosedSingle1",": " ] - }, { - "r" : "254", - "s" : [ { - "value" : [ "expand " ] - }, { - "r" : "240", - "s" : [ { - "value" : [ "{ " ] - }, { - "r" : "243", - "s" : [ { - "r" : "241", - "value" : [ "Interval[","2.5",", ","10","]" ] - } ] - }, { - "value" : [ " }" ] - } ] - }, { - "value" : [ " per " ] - }, { - "r" : "253", - "s" : [ { - "value" : [ "2 ","'1'" ] - } ] - } ] - } ] - } - } ], + "r" : "249", + "value" : [ "Interval[", "@T01:00:00.000", ", ", "@T01:02:00.000", "]" ] + } ] + }, { + "value" : [ " }" ] + } ] + }, { + "value" : [ " per ", "minute" ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "275", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "276", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "277", + "name" : "{urn:hl7-org:elm-types:r1}Time", + "annotation" : [ ] + } + } + }, + "expression" : { + "type" : "Expand", + "localId" : "267", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "272", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "273", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "274", + "name" : "{urn:hl7-org:elm-types:r1}Time", + "annotation" : [ ] + } + } + }, + "signature" : [ { + "type" : "ListTypeSpecifier", + "localId" : "268", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "269", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "270", + "name" : "{urn:hl7-org:elm-types:r1}Time", + "annotation" : [ ] + } + } + }, { + "type" : "NamedTypeSpecifier", + "localId" : "271", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "List", + "localId" : "248", + "annotation" : [ ], "resultTypeSpecifier" : { - "localId" : "262", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "263", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "264", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } - } + "type" : "ListTypeSpecifier", + "localId" : "262", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "263", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "264", + "name" : "{urn:hl7-org:elm-types:r1}Time", + "annotation" : [ ] + } + } }, - "expression" : { - "localId" : "254", - "type" : "Expand", - "resultTypeSpecifier" : { - "localId" : "259", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "260", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "261", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } - } - }, - "signature" : [ { + "element" : [ { + "type" : "Interval", + "localId" : "259", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "260", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "261", + "name" : "{urn:hl7-org:elm-types:r1}Time", + "annotation" : [ ] + } + }, + "low" : { + "type" : "Time", + "localId" : "249", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Time", + "annotation" : [ ], + "signature" : [ ], + "hour" : { + "type" : "Literal", + "localId" : "250", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "251", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "252", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "253", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + }, + "high" : { + "type" : "Time", + "localId" : "254", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Time", + "annotation" : [ ], + "signature" : [ ], + "hour" : { + "type" : "Literal", "localId" : "255", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "256", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "257", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } - } - }, { + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "256", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "257", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", "localId" : "258", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "240", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "249", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "250", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "251", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } - } - }, - "element" : [ { - "localId" : "243", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "247", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "248", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "241", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "2.5", - "type" : "Literal" - }, - "high" : { - "localId" : "245", - "type" : "ToDecimal", - "signature" : [ { - "localId" : "246", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "242", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal" - } - } - } ] - }, { - "localId" : "253", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "value" : 2, - "unit" : "1", - "type" : "Quantity" - } ] - } - }, { - "localId" : "267", - "name" : "ClosedSingle2", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "267", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + } + } ] + }, { + "type" : "Quantity", + "localId" : "266", + "value" : 1.0, + "unit" : "minute", + "annotation" : [ ] + } ] + } + }, { + "localId" : "280", + "name" : "MsPrecPerSecond", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "280", + "s" : [ { + "value" : [ "", "define ", "MsPrecPerSecond", ": " ] + }, { + "r" : "300", + "s" : [ { + "value" : [ "expand " ] + }, { + "r" : "281", + "s" : [ { + "value" : [ "{ " ] + }, { + "r" : "292", "s" : [ { - "value" : [ "","define ","ClosedSingle2",": " ] - }, { - "r" : "282", - "s" : [ { - "value" : [ "expand " ] - }, { - "r" : "268", - "s" : [ { - "value" : [ "{ " ] - }, { - "r" : "271", - "s" : [ { - "r" : "269", - "value" : [ "Interval[","2",", ","4.5","]" ] - } ] - }, { - "value" : [ " }" ] - } ] - }, { - "value" : [ " per " ] - }, { - "r" : "281", - "s" : [ { - "value" : [ "0.5 ","'1'" ] - } ] - } ] - } ] - } - } ], + "r" : "282", + "value" : [ "Interval[", "@T01:00:00.000", ", ", "@T01:00:02.000", "]" ] + } ] + }, { + "value" : [ " }" ] + } ] + }, { + "value" : [ " per ", "second" ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "308", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "309", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "310", + "name" : "{urn:hl7-org:elm-types:r1}Time", + "annotation" : [ ] + } + } + }, + "expression" : { + "type" : "Expand", + "localId" : "300", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "305", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "306", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "307", + "name" : "{urn:hl7-org:elm-types:r1}Time", + "annotation" : [ ] + } + } + }, + "signature" : [ { + "type" : "ListTypeSpecifier", + "localId" : "301", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "302", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "303", + "name" : "{urn:hl7-org:elm-types:r1}Time", + "annotation" : [ ] + } + } + }, { + "type" : "NamedTypeSpecifier", + "localId" : "304", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "List", + "localId" : "281", + "annotation" : [ ], "resultTypeSpecifier" : { - "localId" : "290", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "291", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "292", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } - } - }, - "expression" : { - "localId" : "282", - "type" : "Expand", - "resultTypeSpecifier" : { - "localId" : "287", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "288", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "289", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } - } - }, - "signature" : [ { + "type" : "ListTypeSpecifier", + "localId" : "295", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "296", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "297", + "name" : "{urn:hl7-org:elm-types:r1}Time", + "annotation" : [ ] + } + } + }, + "element" : [ { + "type" : "Interval", + "localId" : "292", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "293", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "294", + "name" : "{urn:hl7-org:elm-types:r1}Time", + "annotation" : [ ] + } + }, + "low" : { + "type" : "Time", + "localId" : "282", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Time", + "annotation" : [ ], + "signature" : [ ], + "hour" : { + "type" : "Literal", "localId" : "283", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "284", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "285", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } - } - }, { + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "284", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "285", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", "localId" : "286", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "268", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "277", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "278", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "279", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } - } - }, - "element" : [ { - "localId" : "271", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "275", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "276", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "273", - "type" : "ToDecimal", - "signature" : [ { - "localId" : "274", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "269", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal" - } - }, - "high" : { - "localId" : "270", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "4.5", - "type" : "Literal" - } - } ] - }, { - "localId" : "281", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "value" : 0.5, - "unit" : "1", - "type" : "Quantity" - } ] - } - }, { - "localId" : "295", - "name" : "NullInList", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "295", - "s" : [ { - "value" : [ "","define ","NullInList",": " ] - }, { - "r" : "311", - "s" : [ { - "value" : [ "expand " ] - }, { - "r" : "296", - "s" : [ { - "value" : [ "{ " ] - }, { - "r" : "299", - "s" : [ { - "r" : "297", - "value" : [ "Interval[","2",", ","5","]" ] - } ] - }, { - "r" : "302", - "value" : [ ", ","null"," }" ] - } ] - }, { - "value" : [ " per " ] - }, { - "r" : "310", - "s" : [ { - "value" : [ "1.5 ","'1'" ] - } ] - } ] - } ] - } - } ], + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + }, + "high" : { + "type" : "Time", + "localId" : "287", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Time", + "annotation" : [ ], + "signature" : [ ], + "hour" : { + "type" : "Literal", + "localId" : "288", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "289", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "290", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "291", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + } + } ] + }, { + "type" : "Quantity", + "localId" : "299", + "value" : 1.0, + "unit" : "second", + "annotation" : [ ] + } ] + } + }, { + "localId" : "313", + "name" : "MsPrecPerMillisecond", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "313", + "s" : [ { + "value" : [ "", "define ", "MsPrecPerMillisecond", ": " ] + }, { + "r" : "333", + "s" : [ { + "value" : [ "expand " ] + }, { + "r" : "314", + "s" : [ { + "value" : [ "{ " ] + }, { + "r" : "325", + "s" : [ { + "r" : "315", + "value" : [ "Interval[", "@T01:00:00.000", ", ", "@T01:00:00.001", "]" ] + } ] + }, { + "value" : [ " }" ] + } ] + }, { + "value" : [ " per ", "millisecond" ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "341", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "342", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "343", + "name" : "{urn:hl7-org:elm-types:r1}Time", + "annotation" : [ ] + } + } + }, + "expression" : { + "type" : "Expand", + "localId" : "333", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "338", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "339", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "340", + "name" : "{urn:hl7-org:elm-types:r1}Time", + "annotation" : [ ] + } + } + }, + "signature" : [ { + "type" : "ListTypeSpecifier", + "localId" : "334", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "335", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "336", + "name" : "{urn:hl7-org:elm-types:r1}Time", + "annotation" : [ ] + } + } + }, { + "type" : "NamedTypeSpecifier", + "localId" : "337", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "List", + "localId" : "314", + "annotation" : [ ], "resultTypeSpecifier" : { - "localId" : "319", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "320", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "321", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } + "type" : "ListTypeSpecifier", + "localId" : "328", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "329", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "330", + "name" : "{urn:hl7-org:elm-types:r1}Time", + "annotation" : [ ] + } + } }, - "expression" : { - "localId" : "311", - "type" : "Expand", - "resultTypeSpecifier" : { + "element" : [ { + "type" : "Interval", + "localId" : "325", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "326", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "327", + "name" : "{urn:hl7-org:elm-types:r1}Time", + "annotation" : [ ] + } + }, + "low" : { + "type" : "Time", + "localId" : "315", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Time", + "annotation" : [ ], + "signature" : [ ], + "hour" : { + "type" : "Literal", "localId" : "316", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "317", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "318", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } - }, - "signature" : [ { - "localId" : "312", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "313", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "314", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } - }, { - "localId" : "315", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "296", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "306", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "307", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "308", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } - }, - "element" : [ { - "localId" : "299", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "300", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "301", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "297", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal" - }, - "high" : { - "localId" : "298", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal" - } - }, { - "localId" : "303", - "type" : "As", - "signature" : [ ], - "operand" : { - "localId" : "302", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - }, - "asTypeSpecifier" : { - "localId" : "304", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "305", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } - } ] - }, { - "localId" : "310", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "value" : 1.5, - "unit" : "1", - "type" : "Quantity" - } ] - } - }, { - "localId" : "324", - "name" : "Overlapping", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "324", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "317", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "318", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "319", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + }, + "high" : { + "type" : "Time", + "localId" : "320", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Time", + "annotation" : [ ], + "signature" : [ ], + "hour" : { + "type" : "Literal", + "localId" : "321", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "322", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "323", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "324", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + } + } + } ] + }, { + "type" : "Quantity", + "localId" : "332", + "value" : 1.0, + "unit" : "millisecond", + "annotation" : [ ] + } ] + } + }, { + "localId" : "346", + "name" : "SecPrecPerHour", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "346", + "s" : [ { + "value" : [ "", "define ", "SecPrecPerHour", ": " ] + }, { + "r" : "364", + "s" : [ { + "value" : [ "expand " ] + }, { + "r" : "347", + "s" : [ { + "value" : [ "{ " ] + }, { + "r" : "356", "s" : [ { - "value" : [ "","define ","Overlapping",": " ] - }, { - "r" : "341", - "s" : [ { - "value" : [ "expand " ] - }, { - "r" : "325", - "s" : [ { - "value" : [ "{ " ] - }, { - "r" : "328", - "s" : [ { - "r" : "326", - "value" : [ "Interval[","2",", ","5","]" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "333", - "s" : [ { - "r" : "331", - "value" : [ "Interval[","4",", ","7","]" ] - } ] - }, { - "value" : [ " }" ] - } ] - }, { - "value" : [ " per " ] - }, { - "r" : "340", - "s" : [ { - "value" : [ "1.5 ","'1'" ] - } ] - } ] - } ] - } - } ], + "r" : "348", + "value" : [ "Interval[", "@T01:00:00", ", ", "@T03:00:00", "]" ] + } ] + }, { + "value" : [ " }" ] + } ] + }, { + "value" : [ " per ", "hour" ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "372", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "373", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "374", + "name" : "{urn:hl7-org:elm-types:r1}Time", + "annotation" : [ ] + } + } + }, + "expression" : { + "type" : "Expand", + "localId" : "364", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "369", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "370", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "371", + "name" : "{urn:hl7-org:elm-types:r1}Time", + "annotation" : [ ] + } + } + }, + "signature" : [ { + "type" : "ListTypeSpecifier", + "localId" : "365", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "366", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "367", + "name" : "{urn:hl7-org:elm-types:r1}Time", + "annotation" : [ ] + } + } + }, { + "type" : "NamedTypeSpecifier", + "localId" : "368", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "List", + "localId" : "347", + "annotation" : [ ], "resultTypeSpecifier" : { - "localId" : "349", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "350", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "351", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } + "type" : "ListTypeSpecifier", + "localId" : "359", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "360", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "361", + "name" : "{urn:hl7-org:elm-types:r1}Time", + "annotation" : [ ] + } + } }, - "expression" : { - "localId" : "341", - "type" : "Expand", - "resultTypeSpecifier" : { - "localId" : "346", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "347", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "348", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } - }, - "signature" : [ { - "localId" : "342", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "343", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "344", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } - }, { - "localId" : "345", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "325", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "336", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "337", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "338", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } - }, - "element" : [ { - "localId" : "328", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "329", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "330", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "326", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal" - }, - "high" : { - "localId" : "327", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal" - } - }, { - "localId" : "333", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "334", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "335", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "331", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "4", - "type" : "Literal" - }, - "high" : { - "localId" : "332", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "7", - "type" : "Literal" - } - } ] - }, { - "localId" : "340", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "value" : 1.5, - "unit" : "1", - "type" : "Quantity" - } ] - } - }, { - "localId" : "354", - "name" : "NonOverlapping", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "354", - "s" : [ { - "value" : [ "","define ","NonOverlapping",": " ] - }, { - "r" : "371", - "s" : [ { - "value" : [ "expand " ] - }, { - "r" : "355", - "s" : [ { - "value" : [ "{ " ] - }, { - "r" : "358", - "s" : [ { - "r" : "356", - "value" : [ "Interval[","2",", ","4","]" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "363", - "s" : [ { - "r" : "361", - "value" : [ "Interval[","6",", ","8","]" ] - } ] - }, { - "value" : [ " }" ] - } ] - }, { - "value" : [ " per " ] - }, { - "r" : "370", - "s" : [ { - "value" : [ "1.5 ","'1'" ] - } ] - } ] - } ] - } - } ], - "resultTypeSpecifier" : { - "localId" : "379", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "380", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "381", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } - }, - "expression" : { - "localId" : "371", - "type" : "Expand", - "resultTypeSpecifier" : { - "localId" : "376", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "377", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "378", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } - }, - "signature" : [ { - "localId" : "372", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "373", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "374", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } - }, { - "localId" : "375", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { + "element" : [ { + "type" : "Interval", + "localId" : "356", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "357", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "358", + "name" : "{urn:hl7-org:elm-types:r1}Time", + "annotation" : [ ] + } + }, + "low" : { + "type" : "Time", + "localId" : "348", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Time", + "annotation" : [ ], + "signature" : [ ], + "hour" : { + "type" : "Literal", + "localId" : "349", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "350", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "351", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + }, + "high" : { + "type" : "Time", + "localId" : "352", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Time", + "annotation" : [ ], + "signature" : [ ], + "hour" : { + "type" : "Literal", + "localId" : "353", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "354", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", "localId" : "355", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "366", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "367", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "368", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } - }, - "element" : [ { - "localId" : "358", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "359", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "360", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "356", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal" - }, - "high" : { - "localId" : "357", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "4", - "type" : "Literal" - } - }, { - "localId" : "363", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "364", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "365", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "361", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "6", - "type" : "Literal" - }, - "high" : { - "localId" : "362", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "8", - "type" : "Literal" - } - } ] - }, { - "localId" : "370", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "value" : 1.5, - "unit" : "1", - "type" : "Quantity" - } ] - } - }, { - "localId" : "384", - "name" : "NoPer", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "384", - "s" : [ { - "value" : [ "","define ","NoPer",": " ] - }, { - "r" : "395", - "s" : [ { - "value" : [ "expand " ] - }, { - "r" : "385", - "s" : [ { - "value" : [ "{ " ] - }, { - "r" : "388", - "s" : [ { - "r" : "386", - "value" : [ "Interval[","2.5",", ","4.5","]" ] - } ] - }, { - "value" : [ " }" ] - } ] - } ] - } ] - } - } ], + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + } + } ] + }, { + "type" : "Quantity", + "localId" : "363", + "value" : 1.0, + "unit" : "hour", + "annotation" : [ ] + } ] + } + }, { + "localId" : "377", + "name" : "SecPrecPerMinute", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "377", + "s" : [ { + "value" : [ "", "define ", "SecPrecPerMinute", ": " ] + }, { + "r" : "395", + "s" : [ { + "value" : [ "expand " ] + }, { + "r" : "378", + "s" : [ { + "value" : [ "{ " ] + }, { + "r" : "387", + "s" : [ { + "r" : "379", + "value" : [ "Interval[", "@T01:00:00", ", ", "@T01:02:00", "]" ] + } ] + }, { + "value" : [ " }" ] + } ] + }, { + "value" : [ " per ", "minute" ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "403", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "404", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "405", + "name" : "{urn:hl7-org:elm-types:r1}Time", + "annotation" : [ ] + } + } + }, + "expression" : { + "type" : "Expand", + "localId" : "395", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "400", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "401", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "402", + "name" : "{urn:hl7-org:elm-types:r1}Time", + "annotation" : [ ] + } + } + }, + "signature" : [ { + "type" : "ListTypeSpecifier", + "localId" : "396", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "397", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "398", + "name" : "{urn:hl7-org:elm-types:r1}Time", + "annotation" : [ ] + } + } + }, { + "type" : "NamedTypeSpecifier", + "localId" : "399", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "List", + "localId" : "378", + "annotation" : [ ], "resultTypeSpecifier" : { - "localId" : "403", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "404", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "405", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } - } + "type" : "ListTypeSpecifier", + "localId" : "390", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "391", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "392", + "name" : "{urn:hl7-org:elm-types:r1}Time", + "annotation" : [ ] + } + } }, - "expression" : { - "localId" : "395", - "type" : "Expand", - "resultTypeSpecifier" : { - "localId" : "400", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "401", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "402", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } - } - }, - "signature" : [ { - "localId" : "396", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "397", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "398", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } - } - }, { - "localId" : "399", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { + "element" : [ { + "type" : "Interval", + "localId" : "387", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "388", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "389", + "name" : "{urn:hl7-org:elm-types:r1}Time", + "annotation" : [ ] + } + }, + "low" : { + "type" : "Time", + "localId" : "379", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Time", + "annotation" : [ ], + "signature" : [ ], + "hour" : { + "type" : "Literal", + "localId" : "380", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "381", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "382", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + }, + "high" : { + "type" : "Time", + "localId" : "383", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Time", + "annotation" : [ ], + "signature" : [ ], + "hour" : { + "type" : "Literal", + "localId" : "384", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", "localId" : "385", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "391", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "392", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "393", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } - } - }, - "element" : [ { - "localId" : "388", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "389", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "390", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "386", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "2.5", - "type" : "Literal" - }, - "high" : { - "localId" : "387", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "4.5", - "type" : "Literal" - } - } ] - }, { - "localId" : "394", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "Null" - } ] - } - }, { - "localId" : "408", - "name" : "OpenStart", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "408", - "s" : [ { - "value" : [ "","define ","OpenStart",": " ] - }, { - "r" : "420", - "s" : [ { - "value" : [ "expand " ] - }, { - "r" : "409", - "s" : [ { - "value" : [ "{ " ] - }, { - "r" : "412", - "s" : [ { - "r" : "410", - "value" : [ "Interval(","2",", ","5","]" ] - } ] - }, { - "value" : [ " }" ] - } ] - }, { - "value" : [ " per " ] - }, { - "r" : "419", - "s" : [ { - "value" : [ "1.5 ","'1'" ] - } ] - } ] - } ] - } - } ], + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "386", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + } + } ] + }, { + "type" : "Quantity", + "localId" : "394", + "value" : 1.0, + "unit" : "minute", + "annotation" : [ ] + } ] + } + }, { + "localId" : "408", + "name" : "SecPrecPerSecond", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "408", + "s" : [ { + "value" : [ "", "define ", "SecPrecPerSecond", ": " ] + }, { + "r" : "426", + "s" : [ { + "value" : [ "expand " ] + }, { + "r" : "409", + "s" : [ { + "value" : [ "{ " ] + }, { + "r" : "418", + "s" : [ { + "r" : "410", + "value" : [ "Interval[", "@T01:00:00", ", ", "@T01:00:01", "]" ] + } ] + }, { + "value" : [ " }" ] + } ] + }, { + "value" : [ " per ", "second" ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "434", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "435", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "436", + "name" : "{urn:hl7-org:elm-types:r1}Time", + "annotation" : [ ] + } + } + }, + "expression" : { + "type" : "Expand", + "localId" : "426", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "431", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "432", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "433", + "name" : "{urn:hl7-org:elm-types:r1}Time", + "annotation" : [ ] + } + } + }, + "signature" : [ { + "type" : "ListTypeSpecifier", + "localId" : "427", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "428", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "429", + "name" : "{urn:hl7-org:elm-types:r1}Time", + "annotation" : [ ] + } + } + }, { + "type" : "NamedTypeSpecifier", + "localId" : "430", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "List", + "localId" : "409", + "annotation" : [ ], "resultTypeSpecifier" : { - "localId" : "428", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "429", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "430", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } + "type" : "ListTypeSpecifier", + "localId" : "421", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "422", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "423", + "name" : "{urn:hl7-org:elm-types:r1}Time", + "annotation" : [ ] + } + } }, - "expression" : { - "localId" : "420", - "type" : "Expand", - "resultTypeSpecifier" : { - "localId" : "425", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "426", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "427", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } - }, - "signature" : [ { - "localId" : "421", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "422", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "423", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } - }, { - "localId" : "424", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "409", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "415", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "416", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "417", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } - }, - "element" : [ { - "localId" : "412", - "lowClosed" : false, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "413", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "414", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "410", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal" - }, - "high" : { - "localId" : "411", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal" - } - } ] - }, { - "localId" : "419", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "value" : 1.5, - "unit" : "1", - "type" : "Quantity" - } ] - } - }, { - "localId" : "433", - "name" : "OpenEnd", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "433", - "s" : [ { - "value" : [ "","define ","OpenEnd",": " ] - }, { - "r" : "445", - "s" : [ { - "value" : [ "expand " ] - }, { - "r" : "434", - "s" : [ { - "value" : [ "{ " ] - }, { - "r" : "437", - "s" : [ { - "r" : "435", - "value" : [ "Interval[","2",", ","5",")" ] - } ] - }, { - "value" : [ " }" ] - } ] - }, { - "value" : [ " per " ] - }, { - "r" : "444", - "s" : [ { - "value" : [ "1.5 ","'1'" ] - } ] - } ] - } ] - } - } ], + "element" : [ { + "type" : "Interval", + "localId" : "418", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "419", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "420", + "name" : "{urn:hl7-org:elm-types:r1}Time", + "annotation" : [ ] + } + }, + "low" : { + "type" : "Time", + "localId" : "410", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Time", + "annotation" : [ ], + "signature" : [ ], + "hour" : { + "type" : "Literal", + "localId" : "411", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "412", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "413", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + }, + "high" : { + "type" : "Time", + "localId" : "414", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Time", + "annotation" : [ ], + "signature" : [ ], + "hour" : { + "type" : "Literal", + "localId" : "415", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "416", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "417", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + } + } + } ] + }, { + "type" : "Quantity", + "localId" : "425", + "value" : 1.0, + "unit" : "second", + "annotation" : [ ] + } ] + } + }, { + "localId" : "439", + "name" : "SecPrecPerMillisecond", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "439", + "s" : [ { + "value" : [ "", "define ", "SecPrecPerMillisecond", ": " ] + }, { + "r" : "457", + "s" : [ { + "value" : [ "expand " ] + }, { + "r" : "440", + "s" : [ { + "value" : [ "{ " ] + }, { + "r" : "449", + "s" : [ { + "r" : "441", + "value" : [ "Interval[", "@T01:00:00", ", ", "@T01:00:00", "]" ] + } ] + }, { + "value" : [ " }" ] + } ] + }, { + "value" : [ " per ", "millisecond" ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "465", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "466", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "467", + "name" : "{urn:hl7-org:elm-types:r1}Time", + "annotation" : [ ] + } + } + }, + "expression" : { + "type" : "Expand", + "localId" : "457", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "462", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "463", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "464", + "name" : "{urn:hl7-org:elm-types:r1}Time", + "annotation" : [ ] + } + } + }, + "signature" : [ { + "type" : "ListTypeSpecifier", + "localId" : "458", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "459", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "460", + "name" : "{urn:hl7-org:elm-types:r1}Time", + "annotation" : [ ] + } + } + }, { + "type" : "NamedTypeSpecifier", + "localId" : "461", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "List", + "localId" : "440", + "annotation" : [ ], "resultTypeSpecifier" : { - "localId" : "453", - "type" : "ListTypeSpecifier", - "elementType" : { + "type" : "ListTypeSpecifier", + "localId" : "452", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "453", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", "localId" : "454", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "455", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } + "name" : "{urn:hl7-org:elm-types:r1}Time", + "annotation" : [ ] + } + } }, - "expression" : { - "localId" : "445", - "type" : "Expand", - "resultTypeSpecifier" : { - "localId" : "450", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "451", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "452", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } - }, - "signature" : [ { - "localId" : "446", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "447", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "448", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } - }, { - "localId" : "449", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "434", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "440", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "441", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "442", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } - }, - "element" : [ { - "localId" : "437", - "lowClosed" : true, - "highClosed" : false, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "438", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "439", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "435", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal" - }, - "high" : { - "localId" : "436", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal" - } - } ] - }, { + "element" : [ { + "type" : "Interval", + "localId" : "449", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "450", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "451", + "name" : "{urn:hl7-org:elm-types:r1}Time", + "annotation" : [ ] + } + }, + "low" : { + "type" : "Time", + "localId" : "441", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Time", + "annotation" : [ ], + "signature" : [ ], + "hour" : { + "type" : "Literal", + "localId" : "442", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "443", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", "localId" : "444", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "value" : 1.5, - "unit" : "1", - "type" : "Quantity" - } ] - } - }, { - "localId" : "458", - "name" : "OpenBoth", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "458", - "s" : [ { - "value" : [ "","define ","OpenBoth",": " ] - }, { - "r" : "470", - "s" : [ { - "value" : [ "expand " ] - }, { - "r" : "459", - "s" : [ { - "value" : [ "{ " ] - }, { - "r" : "462", - "s" : [ { - "r" : "460", - "value" : [ "Interval(","2",", ","5",")" ] - } ] - }, { - "value" : [ " }" ] - } ] - }, { - "value" : [ " per " ] - }, { - "r" : "469", - "s" : [ { - "value" : [ "1.5 ","'1'" ] - } ] - } ] - } ] - } - } ], + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + }, + "high" : { + "type" : "Time", + "localId" : "445", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Time", + "annotation" : [ ], + "signature" : [ ], + "hour" : { + "type" : "Literal", + "localId" : "446", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "447", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "448", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + } + } ] + }, { + "type" : "Quantity", + "localId" : "456", + "value" : 1.0, + "unit" : "millisecond", + "annotation" : [ ] + } ] + } + }, { + "localId" : "470", + "name" : "MinPrecPerHour", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "470", + "s" : [ { + "value" : [ "", "define ", "MinPrecPerHour", ": " ] + }, { + "r" : "486", + "s" : [ { + "value" : [ "expand " ] + }, { + "r" : "471", + "s" : [ { + "value" : [ "{ " ] + }, { + "r" : "478", + "s" : [ { + "r" : "472", + "value" : [ "Interval[", "@T01:00", ", ", "@T03:00", "]" ] + } ] + }, { + "value" : [ " }" ] + } ] + }, { + "value" : [ " per ", "hour" ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "494", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "495", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "496", + "name" : "{urn:hl7-org:elm-types:r1}Time", + "annotation" : [ ] + } + } + }, + "expression" : { + "type" : "Expand", + "localId" : "486", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "491", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "492", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "493", + "name" : "{urn:hl7-org:elm-types:r1}Time", + "annotation" : [ ] + } + } + }, + "signature" : [ { + "type" : "ListTypeSpecifier", + "localId" : "487", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "488", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "489", + "name" : "{urn:hl7-org:elm-types:r1}Time", + "annotation" : [ ] + } + } + }, { + "type" : "NamedTypeSpecifier", + "localId" : "490", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "List", + "localId" : "471", + "annotation" : [ ], "resultTypeSpecifier" : { - "localId" : "478", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "479", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "480", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } + "type" : "ListTypeSpecifier", + "localId" : "481", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "482", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "483", + "name" : "{urn:hl7-org:elm-types:r1}Time", + "annotation" : [ ] + } + } }, - "expression" : { - "localId" : "470", - "type" : "Expand", - "resultTypeSpecifier" : { - "localId" : "475", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "476", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "477", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } - }, - "signature" : [ { - "localId" : "471", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "472", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "473", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } - }, { + "element" : [ { + "type" : "Interval", + "localId" : "478", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "479", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "480", + "name" : "{urn:hl7-org:elm-types:r1}Time", + "annotation" : [ ] + } + }, + "low" : { + "type" : "Time", + "localId" : "472", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Time", + "annotation" : [ ], + "signature" : [ ], + "hour" : { + "type" : "Literal", + "localId" : "473", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", "localId" : "474", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "459", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "465", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "466", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "467", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } - }, - "element" : [ { - "localId" : "462", - "lowClosed" : false, - "highClosed" : false, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "463", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "464", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "460", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal" - }, - "high" : { - "localId" : "461", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal" - } - } ] - }, { - "localId" : "469", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "value" : 1.5, - "unit" : "1", - "type" : "Quantity" - } ] - } - }, { - "localId" : "483", - "name" : "EmptyList", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "483", - "s" : [ { - "value" : [ "","define ","EmptyList",": " ] - }, { - "r" : "488", - "s" : [ { - "value" : [ "List<" ] - }, { - "r" : "484", - "s" : [ { - "value" : [ "Interval<" ] - }, { - "r" : "485", - "s" : [ { - "value" : [ "Decimal" ] - } ] - }, { - "value" : [ ">" ] - } ] - }, { - "value" : [ ">{}" ] - } ] - } ] - } - } ], - "resultTypeSpecifier" : { - "localId" : "493", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "494", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "495", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } - } - }, - "expression" : { - "localId" : "488", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "490", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "491", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "492", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } - } - }, - "element" : [ ] - } - }, { - "localId" : "498", - "name" : "PerTooBig", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "498", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + }, + "high" : { + "type" : "Time", + "localId" : "475", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Time", + "annotation" : [ ], + "signature" : [ ], + "hour" : { + "type" : "Literal", + "localId" : "476", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "477", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + } + } ] + }, { + "type" : "Quantity", + "localId" : "485", + "value" : 1.0, + "unit" : "hour", + "annotation" : [ ] + } ] + } + }, { + "localId" : "499", + "name" : "MinPrecPerMinute", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "499", + "s" : [ { + "value" : [ "", "define ", "MinPrecPerMinute", ": " ] + }, { + "r" : "515", + "s" : [ { + "value" : [ "expand " ] + }, { + "r" : "500", + "s" : [ { + "value" : [ "{ " ] + }, { + "r" : "507", "s" : [ { - "value" : [ "","define ","PerTooBig",": " ] - }, { - "r" : "514", - "s" : [ { - "value" : [ "expand " ] - }, { - "r" : "499", - "s" : [ { - "value" : [ "{ " ] - }, { - "r" : "502", - "s" : [ { - "r" : "500", - "value" : [ "Interval[","2",", ","4","]" ] - } ] - }, { - "r" : "505", - "value" : [ ", ","null"," }" ] - } ] - }, { - "value" : [ " per " ] - }, { - "r" : "513", - "s" : [ { - "value" : [ "5.5 ","'1'" ] - } ] - } ] - } ] - } - } ], + "r" : "501", + "value" : [ "Interval[", "@T01:00", ", ", "@T01:01", "]" ] + } ] + }, { + "value" : [ " }" ] + } ] + }, { + "value" : [ " per ", "minute" ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "523", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "524", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "525", + "name" : "{urn:hl7-org:elm-types:r1}Time", + "annotation" : [ ] + } + } + }, + "expression" : { + "type" : "Expand", + "localId" : "515", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "520", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "521", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "522", + "name" : "{urn:hl7-org:elm-types:r1}Time", + "annotation" : [ ] + } + } + }, + "signature" : [ { + "type" : "ListTypeSpecifier", + "localId" : "516", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "517", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "518", + "name" : "{urn:hl7-org:elm-types:r1}Time", + "annotation" : [ ] + } + } + }, { + "type" : "NamedTypeSpecifier", + "localId" : "519", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "List", + "localId" : "500", + "annotation" : [ ], "resultTypeSpecifier" : { - "localId" : "522", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "523", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "524", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } + "type" : "ListTypeSpecifier", + "localId" : "510", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "511", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "512", + "name" : "{urn:hl7-org:elm-types:r1}Time", + "annotation" : [ ] + } + } }, - "expression" : { - "localId" : "514", - "type" : "Expand", - "resultTypeSpecifier" : { - "localId" : "519", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "520", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "521", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } - }, - "signature" : [ { - "localId" : "515", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "516", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "517", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } - }, { - "localId" : "518", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "499", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "509", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "510", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "511", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } - }, - "element" : [ { - "localId" : "502", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "503", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "504", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "500", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal" - }, - "high" : { - "localId" : "501", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "4", - "type" : "Literal" - } - }, { - "localId" : "506", - "type" : "As", - "signature" : [ ], - "operand" : { - "localId" : "505", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - }, - "asTypeSpecifier" : { - "localId" : "507", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "508", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } - } ] - }, { - "localId" : "513", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "value" : 5.5, - "unit" : "1", - "type" : "Quantity" - } ] - } - }, { - "localId" : "527", - "name" : "NullOpen", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "527", + "element" : [ { + "type" : "Interval", + "localId" : "507", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "508", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "509", + "name" : "{urn:hl7-org:elm-types:r1}Time", + "annotation" : [ ] + } + }, + "low" : { + "type" : "Time", + "localId" : "501", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Time", + "annotation" : [ ], + "signature" : [ ], + "hour" : { + "type" : "Literal", + "localId" : "502", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "503", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + }, + "high" : { + "type" : "Time", + "localId" : "504", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Time", + "annotation" : [ ], + "signature" : [ ], + "hour" : { + "type" : "Literal", + "localId" : "505", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "506", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + } + } + } ] + }, { + "type" : "Quantity", + "localId" : "514", + "value" : 1.0, + "unit" : "minute", + "annotation" : [ ] + } ] + } + }, { + "localId" : "528", + "name" : "MinPrecPerSecond", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "528", + "s" : [ { + "value" : [ "", "define ", "MinPrecPerSecond", ": " ] + }, { + "r" : "544", + "s" : [ { + "value" : [ "expand " ] + }, { + "r" : "529", + "s" : [ { + "value" : [ "{ " ] + }, { + "r" : "536", "s" : [ { - "value" : [ "","define ","NullOpen",": " ] - }, { - "r" : "540", - "s" : [ { - "value" : [ "expand " ] - }, { - "r" : "528", - "s" : [ { - "value" : [ "{ " ] - }, { - "r" : "531", - "s" : [ { - "r" : "529", - "value" : [ "Interval[","null",", ","4","]" ] - } ] - }, { - "value" : [ " }" ] - } ] - }, { - "value" : [ " per " ] - }, { - "r" : "539", - "s" : [ { - "value" : [ "1.5 ","'1'" ] - } ] - } ] - } ] - } - } ], + "r" : "530", + "value" : [ "Interval[", "@T01:00", ", ", "@T01:00", "]" ] + } ] + }, { + "value" : [ " }" ] + } ] + }, { + "value" : [ " per ", "second" ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "552", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "553", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "554", + "name" : "{urn:hl7-org:elm-types:r1}Time", + "annotation" : [ ] + } + } + }, + "expression" : { + "type" : "Expand", + "localId" : "544", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "549", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "550", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "551", + "name" : "{urn:hl7-org:elm-types:r1}Time", + "annotation" : [ ] + } + } + }, + "signature" : [ { + "type" : "ListTypeSpecifier", + "localId" : "545", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "546", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "547", + "name" : "{urn:hl7-org:elm-types:r1}Time", + "annotation" : [ ] + } + } + }, { + "type" : "NamedTypeSpecifier", + "localId" : "548", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "List", + "localId" : "529", + "annotation" : [ ], "resultTypeSpecifier" : { - "localId" : "548", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "549", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "550", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } - }, - "expression" : { - "localId" : "540", - "type" : "Expand", - "resultTypeSpecifier" : { - "localId" : "545", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "546", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "547", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } - }, - "signature" : [ { + "type" : "ListTypeSpecifier", + "localId" : "539", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "540", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", "localId" : "541", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "542", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "543", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } - }, { - "localId" : "544", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "528", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "535", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "536", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "537", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } - }, - "element" : [ { - "localId" : "531", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "533", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "534", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "532", - "asType" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "As", - "signature" : [ ], - "operand" : { - "localId" : "529", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - } - }, - "high" : { - "localId" : "530", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "4", - "type" : "Literal" - } - } ] - }, { - "localId" : "539", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "value" : 1.5, - "unit" : "1", - "type" : "Quantity" - } ] - } - }, { - "localId" : "553", - "name" : "NullClose", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "553", + "name" : "{urn:hl7-org:elm-types:r1}Time", + "annotation" : [ ] + } + } + }, + "element" : [ { + "type" : "Interval", + "localId" : "536", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "537", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "538", + "name" : "{urn:hl7-org:elm-types:r1}Time", + "annotation" : [ ] + } + }, + "low" : { + "type" : "Time", + "localId" : "530", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Time", + "annotation" : [ ], + "signature" : [ ], + "hour" : { + "type" : "Literal", + "localId" : "531", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "532", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + }, + "high" : { + "type" : "Time", + "localId" : "533", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Time", + "annotation" : [ ], + "signature" : [ ], + "hour" : { + "type" : "Literal", + "localId" : "534", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "535", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + } + } ] + }, { + "type" : "Quantity", + "localId" : "543", + "value" : 1.0, + "unit" : "second", + "annotation" : [ ] + } ] + } + }, { + "localId" : "557", + "name" : "MinPrecPerMillisecond", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "557", + "s" : [ { + "value" : [ "", "define ", "MinPrecPerMillisecond", ": " ] + }, { + "r" : "573", + "s" : [ { + "value" : [ "expand " ] + }, { + "r" : "558", + "s" : [ { + "value" : [ "{ " ] + }, { + "r" : "565", "s" : [ { - "value" : [ "","define ","NullClose",": " ] - }, { - "r" : "566", - "s" : [ { - "value" : [ "expand " ] - }, { - "r" : "554", - "s" : [ { - "value" : [ "{ " ] - }, { - "r" : "557", - "s" : [ { - "r" : "555", - "value" : [ "Interval[","2",", ","null","]" ] - } ] - }, { - "value" : [ " }" ] - } ] - }, { - "value" : [ " per " ] - }, { - "r" : "565", - "s" : [ { - "value" : [ "1.5 ","'1'" ] - } ] - } ] - } ] - } - } ], + "r" : "559", + "value" : [ "Interval[", "@T01:00", ", ", "@T01:00", "]" ] + } ] + }, { + "value" : [ " }" ] + } ] + }, { + "value" : [ " per ", "millisecond" ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "581", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "582", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "583", + "name" : "{urn:hl7-org:elm-types:r1}Time", + "annotation" : [ ] + } + } + }, + "expression" : { + "type" : "Expand", + "localId" : "573", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "578", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "579", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "580", + "name" : "{urn:hl7-org:elm-types:r1}Time", + "annotation" : [ ] + } + } + }, + "signature" : [ { + "type" : "ListTypeSpecifier", + "localId" : "574", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "575", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "576", + "name" : "{urn:hl7-org:elm-types:r1}Time", + "annotation" : [ ] + } + } + }, { + "type" : "NamedTypeSpecifier", + "localId" : "577", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "List", + "localId" : "558", + "annotation" : [ ], "resultTypeSpecifier" : { - "localId" : "574", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "575", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "576", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } + "type" : "ListTypeSpecifier", + "localId" : "568", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "569", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "570", + "name" : "{urn:hl7-org:elm-types:r1}Time", + "annotation" : [ ] + } + } }, - "expression" : { - "localId" : "566", - "type" : "Expand", - "resultTypeSpecifier" : { - "localId" : "571", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "572", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "573", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } - }, - "signature" : [ { + "element" : [ { + "type" : "Interval", + "localId" : "565", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "566", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", "localId" : "567", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "568", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "569", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } - }, { - "localId" : "570", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "554", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "561", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "562", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "563", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } - }, - "element" : [ { - "localId" : "557", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "559", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "560", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "555", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal" - }, - "high" : { - "localId" : "558", - "asType" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "As", - "signature" : [ ], - "operand" : { - "localId" : "556", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - } - } - } ] - }, { - "localId" : "565", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "value" : 1.5, - "unit" : "1", - "type" : "Quantity" - } ] - } - }, { - "localId" : "579", - "name" : "NullBoth", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "579", - "s" : [ { - "value" : [ "","define ","NullBoth",": " ] - }, { - "r" : "591", - "s" : [ { - "value" : [ "expand " ] - }, { - "r" : "580", - "s" : [ { - "value" : [ "{ " ] - }, { - "r" : "583", - "s" : [ { - "r" : "581", - "value" : [ "Interval[","null",", ","null","]" ] - } ] - }, { - "value" : [ " }" ] - } ] - }, { - "value" : [ " per " ] - }, { - "r" : "590", - "s" : [ { - "value" : [ "1.5 ","'1'" ] - } ] - } ] - } ] - } - } ], + "name" : "{urn:hl7-org:elm-types:r1}Time", + "annotation" : [ ] + } + }, + "low" : { + "type" : "Time", + "localId" : "559", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Time", + "annotation" : [ ], + "signature" : [ ], + "hour" : { + "type" : "Literal", + "localId" : "560", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "561", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + }, + "high" : { + "type" : "Time", + "localId" : "562", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Time", + "annotation" : [ ], + "signature" : [ ], + "hour" : { + "type" : "Literal", + "localId" : "563", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "564", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + } + } ] + }, { + "type" : "Quantity", + "localId" : "572", + "value" : 1.0, + "unit" : "millisecond", + "annotation" : [ ] + } ] + } + }, { + "localId" : "586", + "name" : "MinPrecPerMinuteEmpty", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "586", + "s" : [ { + "value" : [ "", "define ", "MinPrecPerMinuteEmpty", ": " ] + }, { + "r" : "600", + "s" : [ { + "value" : [ "expand " ] + }, { + "r" : "587", + "s" : [ { + "value" : [ "{ " ] + }, { + "r" : "592", + "s" : [ { + "r" : "588", + "value" : [ "Interval[", "@T10", ", ", "@T10", "]" ] + } ] + }, { + "value" : [ " }" ] + } ] + }, { + "value" : [ " per ", "minute" ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "608", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "609", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "610", + "name" : "{urn:hl7-org:elm-types:r1}Time", + "annotation" : [ ] + } + } + }, + "expression" : { + "type" : "Expand", + "localId" : "600", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "605", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "606", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "607", + "name" : "{urn:hl7-org:elm-types:r1}Time", + "annotation" : [ ] + } + } + }, + "signature" : [ { + "type" : "ListTypeSpecifier", + "localId" : "601", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "602", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "603", + "name" : "{urn:hl7-org:elm-types:r1}Time", + "annotation" : [ ] + } + } + }, { + "type" : "NamedTypeSpecifier", + "localId" : "604", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "List", + "localId" : "587", + "annotation" : [ ], "resultTypeSpecifier" : { - "localId" : "599", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "600", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "601", - "name" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "NamedTypeSpecifier" - } - } + "type" : "ListTypeSpecifier", + "localId" : "595", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "596", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "597", + "name" : "{urn:hl7-org:elm-types:r1}Time", + "annotation" : [ ] + } + } }, - "expression" : { - "localId" : "591", - "type" : "Expand", - "resultTypeSpecifier" : { - "localId" : "596", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "597", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "598", - "name" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "NamedTypeSpecifier" - } - } - }, - "signature" : [ { - "localId" : "592", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "593", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "594", - "name" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "NamedTypeSpecifier" - } - } - }, { - "localId" : "595", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "580", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "586", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "587", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "588", - "name" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "NamedTypeSpecifier" - } - } - }, - "element" : [ { - "localId" : "583", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "584", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "585", - "name" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "581", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - }, - "high" : { - "localId" : "582", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - } - } ] - }, { - "localId" : "590", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "value" : 1.5, - "unit" : "1", - "type" : "Quantity" - } ] - } - }, { - "localId" : "604", - "name" : "BadPerMinute", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "604", + "element" : [ { + "type" : "Interval", + "localId" : "592", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "593", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "594", + "name" : "{urn:hl7-org:elm-types:r1}Time", + "annotation" : [ ] + } + }, + "low" : { + "type" : "Time", + "localId" : "588", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Time", + "annotation" : [ ], + "signature" : [ ], + "hour" : { + "type" : "Literal", + "localId" : "589", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "10", + "annotation" : [ ] + } + }, + "high" : { + "type" : "Time", + "localId" : "590", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Time", + "annotation" : [ ], + "signature" : [ ], + "hour" : { + "type" : "Literal", + "localId" : "591", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "10", + "annotation" : [ ] + } + } + } ] + }, { + "type" : "Quantity", + "localId" : "599", + "value" : 1.0, + "unit" : "minute", + "annotation" : [ ] + } ] + } + }, { + "localId" : "613", + "name" : "HourPrecPerHour", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "613", + "s" : [ { + "value" : [ "", "define ", "HourPrecPerHour", ": " ] + }, { + "r" : "627", + "s" : [ { + "value" : [ "expand " ] + }, { + "r" : "614", + "s" : [ { + "value" : [ "{ " ] + }, { + "r" : "619", "s" : [ { - "value" : [ "","define ","BadPerMinute",": " ] - }, { - "r" : "616", - "s" : [ { - "value" : [ "expand " ] - }, { - "r" : "605", - "s" : [ { - "value" : [ "{ " ] - }, { - "r" : "608", - "s" : [ { - "r" : "606", - "value" : [ "Interval(","2.1",", ","4.1","]" ] - } ] - }, { - "value" : [ " }" ] - } ] - }, { - "value" : [ " per " ] - }, { - "r" : "615", - "s" : [ { - "value" : [ "0.5 ","minute" ] - } ] - } ] - } ] - } - } ], + "r" : "615", + "value" : [ "Interval[", "@T01", ", ", "@T02", "]" ] + } ] + }, { + "value" : [ " }" ] + } ] + }, { + "value" : [ " per ", "hour" ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "635", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "636", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "637", + "name" : "{urn:hl7-org:elm-types:r1}Time", + "annotation" : [ ] + } + } + }, + "expression" : { + "type" : "Expand", + "localId" : "627", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "632", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "633", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "634", + "name" : "{urn:hl7-org:elm-types:r1}Time", + "annotation" : [ ] + } + } + }, + "signature" : [ { + "type" : "ListTypeSpecifier", + "localId" : "628", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "629", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "630", + "name" : "{urn:hl7-org:elm-types:r1}Time", + "annotation" : [ ] + } + } + }, { + "type" : "NamedTypeSpecifier", + "localId" : "631", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "List", + "localId" : "614", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "622", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "623", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "624", + "name" : "{urn:hl7-org:elm-types:r1}Time", + "annotation" : [ ] + } + } + }, + "element" : [ { + "type" : "Interval", + "localId" : "619", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "620", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "621", + "name" : "{urn:hl7-org:elm-types:r1}Time", + "annotation" : [ ] + } + }, + "low" : { + "type" : "Time", + "localId" : "615", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Time", + "annotation" : [ ], + "signature" : [ ], + "hour" : { + "type" : "Literal", + "localId" : "616", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + } + }, + "high" : { + "type" : "Time", + "localId" : "617", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Time", + "annotation" : [ ], + "signature" : [ ], + "hour" : { + "type" : "Literal", + "localId" : "618", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "annotation" : [ ] + } + } + } ] + }, { + "type" : "Quantity", + "localId" : "626", + "value" : 1.0, + "unit" : "hour", + "annotation" : [ ] + } ] + } + }, { + "localId" : "640", + "name" : "HourPrecPerMinute", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "640", + "s" : [ { + "value" : [ "", "define ", "HourPrecPerMinute", ": " ] + }, { + "r" : "654", + "s" : [ { + "value" : [ "expand " ] + }, { + "r" : "641", + "s" : [ { + "value" : [ "{ " ] + }, { + "r" : "646", + "s" : [ { + "r" : "642", + "value" : [ "Interval[", "@T01", ", ", "@T01", "]" ] + } ] + }, { + "value" : [ " }" ] + } ] + }, { + "value" : [ " per ", "minute" ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "662", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "663", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "664", + "name" : "{urn:hl7-org:elm-types:r1}Time", + "annotation" : [ ] + } + } + }, + "expression" : { + "type" : "Expand", + "localId" : "654", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "659", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "660", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "661", + "name" : "{urn:hl7-org:elm-types:r1}Time", + "annotation" : [ ] + } + } + }, + "signature" : [ { + "type" : "ListTypeSpecifier", + "localId" : "655", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "656", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "657", + "name" : "{urn:hl7-org:elm-types:r1}Time", + "annotation" : [ ] + } + } + }, { + "type" : "NamedTypeSpecifier", + "localId" : "658", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "List", + "localId" : "641", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "649", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "650", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "651", + "name" : "{urn:hl7-org:elm-types:r1}Time", + "annotation" : [ ] + } + } + }, + "element" : [ { + "type" : "Interval", + "localId" : "646", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "647", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "648", + "name" : "{urn:hl7-org:elm-types:r1}Time", + "annotation" : [ ] + } + }, + "low" : { + "type" : "Time", + "localId" : "642", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Time", + "annotation" : [ ], + "signature" : [ ], + "hour" : { + "type" : "Literal", + "localId" : "643", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + } + }, + "high" : { + "type" : "Time", + "localId" : "644", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Time", + "annotation" : [ ], + "signature" : [ ], + "hour" : { + "type" : "Literal", + "localId" : "645", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + } + } + } ] + }, { + "type" : "Quantity", + "localId" : "653", + "value" : 1.0, + "unit" : "minute", + "annotation" : [ ] + } ] + } + }, { + "localId" : "667", + "name" : "HourPrecPerSecond", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "667", + "s" : [ { + "value" : [ "", "define ", "HourPrecPerSecond", ": " ] + }, { + "r" : "681", + "s" : [ { + "value" : [ "expand " ] + }, { + "r" : "668", + "s" : [ { + "value" : [ "{ " ] + }, { + "r" : "673", + "s" : [ { + "r" : "669", + "value" : [ "Interval[", "@T01", ", ", "@T01", "]" ] + } ] + }, { + "value" : [ " }" ] + } ] + }, { + "value" : [ " per ", "second" ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "689", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "690", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "691", + "name" : "{urn:hl7-org:elm-types:r1}Time", + "annotation" : [ ] + } + } + }, + "expression" : { + "type" : "Expand", + "localId" : "681", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "686", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "687", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "688", + "name" : "{urn:hl7-org:elm-types:r1}Time", + "annotation" : [ ] + } + } + }, + "signature" : [ { + "type" : "ListTypeSpecifier", + "localId" : "682", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "683", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "684", + "name" : "{urn:hl7-org:elm-types:r1}Time", + "annotation" : [ ] + } + } + }, { + "type" : "NamedTypeSpecifier", + "localId" : "685", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "List", + "localId" : "668", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "676", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "677", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "678", + "name" : "{urn:hl7-org:elm-types:r1}Time", + "annotation" : [ ] + } + } + }, + "element" : [ { + "type" : "Interval", + "localId" : "673", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "674", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "675", + "name" : "{urn:hl7-org:elm-types:r1}Time", + "annotation" : [ ] + } + }, + "low" : { + "type" : "Time", + "localId" : "669", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Time", + "annotation" : [ ], + "signature" : [ ], + "hour" : { + "type" : "Literal", + "localId" : "670", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + } + }, + "high" : { + "type" : "Time", + "localId" : "671", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Time", + "annotation" : [ ], + "signature" : [ ], + "hour" : { + "type" : "Literal", + "localId" : "672", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + } + } + } ] + }, { + "type" : "Quantity", + "localId" : "680", + "value" : 1.0, + "unit" : "second", + "annotation" : [ ] + } ] + } + }, { + "localId" : "694", + "name" : "HourPrecPerMillisecond", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "694", + "s" : [ { + "value" : [ "", "define ", "HourPrecPerMillisecond", ": " ] + }, { + "r" : "708", + "s" : [ { + "value" : [ "expand " ] + }, { + "r" : "695", + "s" : [ { + "value" : [ "{ " ] + }, { + "r" : "700", + "s" : [ { + "r" : "696", + "value" : [ "Interval[", "@T01", ", ", "@T01", "]" ] + } ] + }, { + "value" : [ " }" ] + } ] + }, { + "value" : [ " per ", "millisecond" ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "716", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "717", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "718", + "name" : "{urn:hl7-org:elm-types:r1}Time", + "annotation" : [ ] + } + } + }, + "expression" : { + "type" : "Expand", + "localId" : "708", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "713", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "714", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "715", + "name" : "{urn:hl7-org:elm-types:r1}Time", + "annotation" : [ ] + } + } + }, + "signature" : [ { + "type" : "ListTypeSpecifier", + "localId" : "709", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "710", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "711", + "name" : "{urn:hl7-org:elm-types:r1}Time", + "annotation" : [ ] + } + } + }, { + "type" : "NamedTypeSpecifier", + "localId" : "712", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "List", + "localId" : "695", + "annotation" : [ ], "resultTypeSpecifier" : { - "localId" : "624", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "625", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "626", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } - } + "type" : "ListTypeSpecifier", + "localId" : "703", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "704", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "705", + "name" : "{urn:hl7-org:elm-types:r1}Time", + "annotation" : [ ] + } + } }, - "expression" : { - "localId" : "616", - "type" : "Expand", - "resultTypeSpecifier" : { - "localId" : "621", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "622", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "623", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } - } - }, - "signature" : [ { - "localId" : "617", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "618", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "619", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } - } - }, { - "localId" : "620", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "605", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "611", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "612", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "613", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } - } - }, - "element" : [ { - "localId" : "608", - "lowClosed" : false, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "609", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "610", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "606", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "2.1", - "type" : "Literal" - }, - "high" : { - "localId" : "607", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "4.1", - "type" : "Literal" - } - } ] - }, { - "localId" : "615", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "value" : 0.5, - "unit" : "minute", - "type" : "Quantity" - } ] - } - } ] - } - } + "element" : [ { + "type" : "Interval", + "localId" : "700", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "701", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "702", + "name" : "{urn:hl7-org:elm-types:r1}Time", + "annotation" : [ ] + } + }, + "low" : { + "type" : "Time", + "localId" : "696", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Time", + "annotation" : [ ], + "signature" : [ ], + "hour" : { + "type" : "Literal", + "localId" : "697", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + } + }, + "high" : { + "type" : "Time", + "localId" : "698", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Time", + "annotation" : [ ], + "signature" : [ ], + "hour" : { + "type" : "Literal", + "localId" : "699", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + } + } + } ] + }, { + "type" : "Quantity", + "localId" : "707", + "value" : 1.0, + "unit" : "millisecond", + "annotation" : [ ] + } ] + } + } ] + } + } } -/* SameAs +/* QuantityIntervalExpand library TestSnippet version '1' using Simple version '1.0.0' context Patient -define NullBoth: Interval[null,null] same as Interval[null,null] -define NullOne: Interval[DateTime(2018,01,01), DateTime(2018,02,02)] same as Interval[null,null] -define Equal: Interval[DateTime(2018,01,01), DateTime(2018,01,01)] same as Interval[DateTime(2018,01,01), DateTime(2018,01,01)] -define NotEqual: Interval[DateTime(2018,01,01), DateTime(2018,01,01)] same as Interval[DateTime(2018,02,01), DateTime(2018,05,01)] -define DateTimeAndDateComparisonEqual: Interval[DateTime(2018,01,01), DateTime(2018,01,01)] same as Interval[Date(2018,01,01), Date(2018,01,01)] -define NullIntervals: (null as Interval) same as (null as Interval) -define OpenAndClosed: Interval[DateTime(2018,01,01,00,00,00,0), DateTime(2019,01,01,00,00,00,0)) same as Interval[DateTime(2018,01,01,00,00,00,0), DateTime(2018,12,31,23,59,59,999)] -define OpenEnded: Interval[DateTime(2018,01,01), null] same day as Interval[DateTime(2018,01,01), null] -define OpenEndedNotSame: Interval[DateTime(2018,01,01), null] same day as Interval[DateTime(2018,01,01), DateTime(2019,01,01)] -define OpenEndedNotSame2: Interval[DateTime(2018,01,01), DateTime(2019,01,01)] same day as Interval[DateTime(2018,01,01), null] -define OpenBeginningSame: Interval[null,DateTime(2018,01,01)] same as Interval[null,DateTime(2018,01,01)] -define OpenBeginningNotSame: Interval[DateTime(2017,01,01),DateTime(2018,01,01)] same as Interval[null,DateTime(2018,01,01)] -define DateOpenAndClosed: Interval[Date(2018,01,01), Date(2018,02,02)] same as Interval[Date(2018,01,01), Date(2018,02,03)) -define DateOpenEnded: Interval[Date(2018,01,01), null] same as Interval[Date(2018,01,01), null] -define TimeOpenAndClosed: Interval[Time(01,01), Time(02,02)] same as Interval[Time(01,01), Time(02,03)) -define TimeOpenEnded: Interval[Time(01,01), null] same as Interval[Time(01,01), null] -define DateIntervalComparisonSame: Interval[Date(2018,01,01), Date(2018,02,02)] same as Interval[Date(2018,01,01), Date(2018,02,02)] -define DateIntervalComparisonNotSame: Interval[Date(2018,01,01), Date(2018,02,02)] same as Interval[Date(2018,01,01), Date(2018,02,01)] -define TimeIntervalComparisonSame: Interval[Time(01,01), Time(02,02)] same as Interval[Time(01,01), Time(02,02)] -define TimeIntervalComparisonNotSame: Interval[Time(01,01), Time(02,02)] same as Interval[Time(01,01), Time(08,01)] -define DateTimeYearPrecisionSame: Interval[DateTime(2018,01,01), DateTime(2019,01,01)] same year as Interval[DateTime(2018,02,01), DateTime(2019,05,01)] -define DateTimeYearPrecisionNotSame: Interval[DateTime(2018,01,01), DateTime(2019,01,01)] same year as Interval[DateTime(2018,02,01), DateTime(2020,05,01)] -define DateYearPrecisionSame: Interval[Date(2018,01,01), Date(2019,01,01)] same year as Interval[Date(2018,02,01), Date(2019,05,01)] -define DateYearPrecisionNotSame: Interval[Date(2018,01,01), Date(2019,01,01)] same year as Interval[Date(2018,02,01), Date(2020,05,01)] -define DateTimeMonthPrecisionSame: Interval[DateTime(2018,01,01), DateTime(2019,01,01)] same month as Interval[DateTime(2018,01,01), DateTime(2019,01,03)] -define DateTimeMonthPrecisionNotSame: Interval[DateTime(2018,01,01), DateTime(2019,01,01)] same month as Interval[DateTime(2018,02,01), DateTime(2019,01,01)] -define DateTimeDayPrecisionSame: Interval[DateTime(2018,01,01), DateTime(2019,01,01)] same day as Interval[DateTime(2018,01,01,05), DateTime(2019,01,01,09)] -define DateTimeDayPrecisionNotSame: Interval[DateTime(2018,01,01), DateTime(2019,01,01)] same day as Interval[DateTime(2018,01,01), DateTime(2019,01,02,06)] -define DateTimeHourPrecisionSame: Interval[DateTime(2018,01,01,01), DateTime(2019,01,01,01)] same hour as Interval[DateTime(2018,01,01,01), DateTime(2019,01,01,01,05)] -define DateTimeHourPrecisionNotSame: Interval[DateTime(2018,01,01,01,01), DateTime(2019,01,01,01)] same hour as Interval[DateTime(2018,01,01,06), DateTime(2019,01,01,01)] -define DateTimeMinutePrecisionSame: Interval[DateTime(2018,01,01,01,01), DateTime(2019,01,01,01,01)] same minute as Interval[DateTime(2018,01,01,01,01,09), DateTime(2019,01,01,01,01,06)] -define DateTimeMinutePrecisionNotSame: Interval[DateTime(2018,01,01,01,01), DateTime(2019,01,01,01,01)] same minute as Interval[DateTime(2018,01,01,06,03), DateTime(2019,01,01,01,06)] -define DateTimeSecondPrecisionSame: Interval[DateTime(2018,01,01,01,01,01), DateTime(2019,01,01,01,01,01)] same second as Interval[DateTime(2018,01,01,01,01,01), DateTime(2019,01,01,01,01,01,07)] -define DateTimeSecondPrecisionNotSame: Interval[DateTime(2018,01,01,01,01,01), DateTime(2019,01,01,01,01,01)] same second as Interval[DateTime(2018,01,01,01,01,01), DateTime(2019,01,01,01,07,55)] -define DateTimeMillisecondPrecisionSame: Interval[DateTime(2018,01,01,01,01,01,01), DateTime(2019,01,01,01,01,01,01)] same millisecond as Interval[DateTime(2018,01,01,01,01,01,01), DateTime(2019,01,01,01,01,01,01)] -define DateTimeMillisecondPrecisionNotSame: Interval[DateTime(2018,01,01,01,01,01,01), DateTime(2019,01,01,01,01,01,01)] same millisecond as Interval[DateTime(2018,01,01,01,01,01,01), DateTime(2019,01,01,01,01,01,09)] -define IntegerIntervalSame: Interval[2,5] same as Interval[2,5] -define IntegerIntervalNotSame: Interval[2,5] same as Interval[2,4] -define IntegerIntervalSameOpen: Interval[2,5] same as Interval[2,6) -define OpenNullHighLowDifferent: Interval(3,null) same as Interval(2,4) -define OpenNullLowHighDifferent: Interval(1,5) same as Interval(null,4) -define OpenNullHighLowSame: Interval(2,null) same as Interval(2,4) -define OpenNullLowHighSame: Interval(1,4) same as Interval(null,4) -define OpenNullLowOpenNullHigh: Interval(1,null) same as Interval(null,4) -define OpenNullHighsLowsDifferent: Interval(1,null) same as Interval(2,null) -define OpenNullHighsLowsSame: Interval(1,null) same as Interval(1,null) -define OpenNullLowsHighsSame: Interval(null,3) same as Interval(null,3) +define ClosedSingleGPerG: expand { Interval[2 'g', 4 'g'] } per 1 'g' +define ClosedSingleGPerGDecimal: expand { Interval[2.1 'g', 4.1 'g'] } per 1 'g' +define ClosedSingleGPerMG: expand { Interval[2 'g', 2.003 'g'] } per 1 'mg' +define ClosedSingleMGPerGTrunc: expand { Interval[2999 'mg', 4200 'mg'] } per 1 'g' +define ClosedSingleMGPerMGTrunc: expand { Interval[2000 'mg', 4500 'mg'] } per 800 'mg' +define ClosedSingleMGPerMGDecimal: expand { Interval[2000.01 'mg', 4500 'mg'] } per 800 'mg' + +define NullInList: expand { Interval[2 'g', 4 'g'], null } per 1 'g' +define Overlapping: expand { Interval[2 'g', 4 'g'], Interval[3 'g', 5 'g'] } per 1 'g' +define NonOverlapping: expand { Interval[2 'g', 4 'g'], Interval[6 'g', 6 'g'] } per 1 'g' + +define NoPerDefaultM: expand { Interval[2 'm', 400 'cm'] } +define NoPerDefaultG: expand { Interval[2 'g', 4 'g'] } + +define OpenStart: expand { Interval(2 'g', 4 'g'] } per 1 'g' +define OpenEnd: expand { Interval[2 'g', 4 'g') } per 1 'g' +define OpenBoth: expand { Interval(2 'g', 4 'g') } per 1 'g' +define OpenBothDecimal: expand { Interval(2.1 'g', 4.1 'g') } per 1 'g' +define OpenBothDecimalTrunc: expand { Interval(2.1 'g', 4.101 'g') } per 1 'g' + +define EmptyList: List>{} +define PerTooBig: expand { Interval[2 'g', 4 'g'], null } per 5 'g' +define NullOpen: expand { Interval[null, 4 'g'] } per 1 'g' +define NullClose: expand { Interval[2 'g', null] } per 1 'g' +define NullBoth: expand { Interval[null, null] } per 1 'g' +define BadPerMinute: expand { Interval(2 'g', 4 'g'] } per 1 minute +define BadPerGram: expand { Interval(2 'km', 4 'km'] } per 1 'g' */ -module.exports['SameAs'] = { - "library" : { - "localId" : "0", - "annotation" : [ { - "translatorVersion" : "3.27.0", - "translatorOptions" : "EnableDateRangeOptimization,EnableAnnotations,EnableResultTypes", - "signatureLevel" : "All", - "type" : "CqlToElmInfo" - }, { - "type" : "Annotation", - "s" : { - "r" : "2714", +module.exports['QuantityIntervalExpand'] = { + "library" : { + "localId" : "0", + "annotation" : [ { + "type" : "CqlToElmInfo", + "translatorVersion" : "4.2.0", + "translatorOptions" : "EnableDateRangeOptimization,EnableAnnotations,EnableResultTypes", + "signatureLevel" : "All" + }, { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "772", + "s" : [ { + "value" : [ "", "library TestSnippet version '1'" ] + } ] + } + } ], + "identifier" : { + "id" : "TestSnippet", + "version" : "1" + }, + "schemaIdentifier" : { + "id" : "urn:hl7-org:elm", + "version" : "r1" + }, + "usings" : { + "def" : [ { + "localId" : "1", + "localIdentifier" : "System", + "uri" : "urn:hl7-org:elm-types:r1", + "annotation" : [ ] + }, { + "localId" : "206", + "localIdentifier" : "Simple", + "uri" : "https://github.com/cqframework/cql-execution/simple", + "version" : "1.0.0", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "206", "s" : [ { - "value" : [ "","library TestSnippet version '1'" ] - } ] - } - } ], - "identifier" : { - "id" : "TestSnippet", - "version" : "1" - }, - "schemaIdentifier" : { - "id" : "urn:hl7-org:elm", - "version" : "r1" - }, - "usings" : { - "def" : [ { - "localId" : "1", - "localIdentifier" : "System", - "uri" : "urn:hl7-org:elm-types:r1" - }, { - "localId" : "206", - "localIdentifier" : "Simple", - "uri" : "https://github.com/cqframework/cql-execution/simple", - "version" : "1.0.0", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "206", - "s" : [ { - "value" : [ "","using " ] - }, { - "s" : [ { - "value" : [ "Simple" ] - } ] - }, { - "value" : [ " version '1.0.0'" ] - } ] - } - } ] - } ] - }, - "contexts" : { - "def" : [ { - "localId" : "211", - "name" : "Patient" - } ] - }, - "statements" : { - "def" : [ { - "localId" : "209", - "name" : "Patient", - "context" : "Patient", - "expression" : { - "localId" : "210", - "type" : "SingletonFrom", - "signature" : [ ], - "operand" : { - "localId" : "208", - "dataType" : "{https://github.com/cqframework/cql-execution/simple}Patient", - "type" : "Retrieve", - "include" : [ ], - "codeFilter" : [ ], - "dateFilter" : [ ], - "otherFilter" : [ ] - } - } - }, { - "localId" : "214", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "NullBoth", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "214", - "s" : [ { - "value" : [ "","define ","NullBoth",": " ] - }, { - "r" : "225", - "s" : [ { - "r" : "217", - "s" : [ { - "r" : "215", - "value" : [ "Interval[","null",",","null","]" ] - } ] - }, { - "r" : "225", - "value" : [ " ","same as"," " ] - }, { - "r" : "222", - "s" : [ { - "r" : "220", - "value" : [ "Interval[","null",",","null","]" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "225", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "SameAs", - "signature" : [ { - "localId" : "226", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "227", - "name" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "228", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "229", - "name" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "217", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "218", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "219", - "name" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "215", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - }, - "high" : { - "localId" : "216", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - } - }, { - "localId" : "222", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "223", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "224", - "name" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "220", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - }, - "high" : { - "localId" : "221", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - } - } ] - } - }, { - "localId" : "232", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "NullOne", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "232", - "s" : [ { - "value" : [ "","define ","NullOne",": " ] - }, { - "r" : "265", - "s" : [ { - "r" : "257", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "241", - "s" : [ { - "r" : "233", - "value" : [ "DateTime","(","2018",",","01",",","01",")" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "253", - "s" : [ { - "r" : "245", - "value" : [ "DateTime","(","2018",",","02",",","02",")" ] - } ] - }, { - "value" : [ "]" ] - } ] - }, { - "r" : "265", - "value" : [ " ","same as"," " ] - }, { - "r" : "262", - "s" : [ { - "r" : "260", - "value" : [ "Interval[","null",",","null","]" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "265", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "SameAs", - "signature" : [ { - "localId" : "273", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "274", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "275", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "276", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "257", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "258", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "259", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "241", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "242", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "243", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "244", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "233", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2018", - "type" : "Literal" - }, - "month" : { - "localId" : "234", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "01", - "type" : "Literal" - }, - "day" : { - "localId" : "235", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "01", - "type" : "Literal" - } - }, - "high" : { - "localId" : "253", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "254", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "255", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "256", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "245", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2018", - "type" : "Literal" - }, - "month" : { - "localId" : "246", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "02", - "type" : "Literal" - }, - "day" : { - "localId" : "247", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "02", - "type" : "Literal" - } - } - }, { - "localId" : "266", - "type" : "Interval", - "low" : { - "localId" : "268", - "asType" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "As", - "signature" : [ ], - "operand" : { - "localId" : "267", - "path" : "low", - "type" : "Property", - "source" : { - "localId" : "262", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "263", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "264", - "name" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "260", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - }, - "high" : { - "localId" : "261", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - } - } - } - }, - "lowClosedExpression" : { - "localId" : "269", - "path" : "lowClosed", - "type" : "Property", - "source" : { - "localId" : "262", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "263", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "264", - "name" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "260", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - }, - "high" : { - "localId" : "261", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - } - } - }, - "high" : { - "localId" : "271", - "asType" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "As", - "signature" : [ ], - "operand" : { - "localId" : "270", - "path" : "high", - "type" : "Property", - "source" : { - "localId" : "262", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "263", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "264", - "name" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "260", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - }, - "high" : { - "localId" : "261", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - } - } - } - }, - "highClosedExpression" : { - "localId" : "272", - "path" : "highClosed", - "type" : "Property", - "source" : { - "localId" : "262", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "263", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "264", - "name" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "260", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - }, - "high" : { - "localId" : "261", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - } - } - } - } ] - } - }, { - "localId" : "279", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "Equal", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "279", + "value" : [ "", "using " ] + }, { + "s" : [ { + "value" : [ "Simple" ] + } ] + }, { + "value" : [ " version '1.0.0'" ] + } ] + } + } ] + } ] + }, + "contexts" : { + "def" : [ { + "localId" : "211", + "name" : "Patient", + "annotation" : [ ] + } ] + }, + "statements" : { + "def" : [ { + "localId" : "209", + "name" : "Patient", + "context" : "Patient", + "annotation" : [ ], + "expression" : { + "type" : "SingletonFrom", + "localId" : "210", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Retrieve", + "localId" : "208", + "dataType" : "{https://github.com/cqframework/cql-execution/simple}Patient", + "annotation" : [ ], + "include" : [ ], + "codeFilter" : [ ], + "dateFilter" : [ ], + "otherFilter" : [ ] + } + } + }, { + "localId" : "214", + "name" : "ClosedSingleGPerG", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "214", + "s" : [ { + "value" : [ "", "define ", "ClosedSingleGPerG", ": " ] + }, { + "r" : "226", + "s" : [ { + "value" : [ "expand " ] + }, { + "r" : "215", + "s" : [ { + "value" : [ "{ " ] + }, { + "r" : "218", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "216", + "s" : [ { + "value" : [ "2 ", "'g'" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "217", + "s" : [ { + "value" : [ "4 ", "'g'" ] + } ] + }, { + "value" : [ "]" ] + } ] + }, { + "value" : [ " }" ] + } ] + }, { + "value" : [ " per " ] + }, { + "r" : "225", + "s" : [ { + "value" : [ "1 ", "'g'" ] + } ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "234", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "235", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "236", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } + } + }, + "expression" : { + "type" : "Expand", + "localId" : "226", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "231", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "232", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "233", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } + } + }, + "signature" : [ { + "type" : "ListTypeSpecifier", + "localId" : "227", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "228", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "229", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } + } + }, { + "type" : "NamedTypeSpecifier", + "localId" : "230", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "List", + "localId" : "215", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "221", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "222", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "223", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } + } + }, + "element" : [ { + "type" : "Interval", + "localId" : "218", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "219", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "220", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } + }, + "low" : { + "type" : "Quantity", + "localId" : "216", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "value" : 2, + "unit" : "g", + "annotation" : [ ] + }, + "high" : { + "type" : "Quantity", + "localId" : "217", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "value" : 4, + "unit" : "g", + "annotation" : [ ] + } + } ] + }, { + "type" : "Quantity", + "localId" : "225", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "value" : 1, + "unit" : "g", + "annotation" : [ ] + } ] + } + }, { + "localId" : "239", + "name" : "ClosedSingleGPerGDecimal", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "239", + "s" : [ { + "value" : [ "", "define ", "ClosedSingleGPerGDecimal", ": " ] + }, { + "r" : "251", + "s" : [ { + "value" : [ "expand " ] + }, { + "r" : "240", + "s" : [ { + "value" : [ "{ " ] + }, { + "r" : "243", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "241", + "s" : [ { + "value" : [ "2.1 ", "'g'" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "242", + "s" : [ { + "value" : [ "4.1 ", "'g'" ] + } ] + }, { + "value" : [ "]" ] + } ] + }, { + "value" : [ " }" ] + } ] + }, { + "value" : [ " per " ] + }, { + "r" : "250", + "s" : [ { + "value" : [ "1 ", "'g'" ] + } ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "259", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "260", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "261", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } + } + }, + "expression" : { + "type" : "Expand", + "localId" : "251", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "256", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "257", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "258", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } + } + }, + "signature" : [ { + "type" : "ListTypeSpecifier", + "localId" : "252", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "253", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "254", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } + } + }, { + "type" : "NamedTypeSpecifier", + "localId" : "255", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "List", + "localId" : "240", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "246", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "247", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "248", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } + } + }, + "element" : [ { + "type" : "Interval", + "localId" : "243", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "244", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "245", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } + }, + "low" : { + "type" : "Quantity", + "localId" : "241", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "value" : 2.1, + "unit" : "g", + "annotation" : [ ] + }, + "high" : { + "type" : "Quantity", + "localId" : "242", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "value" : 4.1, + "unit" : "g", + "annotation" : [ ] + } + } ] + }, { + "type" : "Quantity", + "localId" : "250", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "value" : 1, + "unit" : "g", + "annotation" : [ ] + } ] + } + }, { + "localId" : "264", + "name" : "ClosedSingleGPerMG", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "264", + "s" : [ { + "value" : [ "", "define ", "ClosedSingleGPerMG", ": " ] + }, { + "r" : "276", + "s" : [ { + "value" : [ "expand " ] + }, { + "r" : "265", + "s" : [ { + "value" : [ "{ " ] + }, { + "r" : "268", "s" : [ { - "value" : [ "","define ","Equal",": " ] - }, { - "r" : "334", - "s" : [ { - "r" : "304", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "288", - "s" : [ { - "r" : "280", - "value" : [ "DateTime","(","2018",",","01",",","01",")" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "300", - "s" : [ { - "r" : "292", - "value" : [ "DateTime","(","2018",",","01",",","01",")" ] - } ] - }, { - "value" : [ "]" ] - } ] - }, { - "r" : "334", - "value" : [ " ","same as"," " ] - }, { - "r" : "331", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "315", - "s" : [ { - "r" : "307", - "value" : [ "DateTime","(","2018",",","01",",","01",")" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "327", - "s" : [ { - "r" : "319", - "value" : [ "DateTime","(","2018",",","01",",","01",")" ] - } ] - }, { - "value" : [ "]" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "334", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "SameAs", - "signature" : [ { - "localId" : "335", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "336", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "337", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "338", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "304", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "305", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "306", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "288", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "289", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "290", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "291", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "280", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2018", - "type" : "Literal" - }, - "month" : { - "localId" : "281", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "01", - "type" : "Literal" - }, - "day" : { - "localId" : "282", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "01", - "type" : "Literal" - } - }, - "high" : { - "localId" : "300", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "301", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "302", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "303", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "292", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2018", - "type" : "Literal" - }, - "month" : { - "localId" : "293", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "01", - "type" : "Literal" - }, - "day" : { - "localId" : "294", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "01", - "type" : "Literal" - } - } - }, { - "localId" : "331", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "332", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "333", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "315", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "316", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "317", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "318", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "307", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2018", - "type" : "Literal" - }, - "month" : { - "localId" : "308", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "01", - "type" : "Literal" - }, - "day" : { - "localId" : "309", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "01", - "type" : "Literal" - } - }, - "high" : { - "localId" : "327", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "328", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "329", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "330", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "319", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2018", - "type" : "Literal" - }, - "month" : { - "localId" : "320", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "01", - "type" : "Literal" - }, - "day" : { - "localId" : "321", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "01", - "type" : "Literal" - } - } - } ] - } - }, { - "localId" : "341", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "NotEqual", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "341", + "value" : [ "Interval[" ] + }, { + "r" : "266", + "s" : [ { + "value" : [ "2 ", "'g'" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "267", + "s" : [ { + "value" : [ "2.003 ", "'g'" ] + } ] + }, { + "value" : [ "]" ] + } ] + }, { + "value" : [ " }" ] + } ] + }, { + "value" : [ " per " ] + }, { + "r" : "275", + "s" : [ { + "value" : [ "1 ", "'mg'" ] + } ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "284", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "285", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "286", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } + } + }, + "expression" : { + "type" : "Expand", + "localId" : "276", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "281", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "282", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "283", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } + } + }, + "signature" : [ { + "type" : "ListTypeSpecifier", + "localId" : "277", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "278", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "279", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } + } + }, { + "type" : "NamedTypeSpecifier", + "localId" : "280", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "List", + "localId" : "265", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "271", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "272", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "273", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } + } + }, + "element" : [ { + "type" : "Interval", + "localId" : "268", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "269", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "270", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } + }, + "low" : { + "type" : "Quantity", + "localId" : "266", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "value" : 2, + "unit" : "g", + "annotation" : [ ] + }, + "high" : { + "type" : "Quantity", + "localId" : "267", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "value" : 2.003, + "unit" : "g", + "annotation" : [ ] + } + } ] + }, { + "type" : "Quantity", + "localId" : "275", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "value" : 1, + "unit" : "mg", + "annotation" : [ ] + } ] + } + }, { + "localId" : "289", + "name" : "ClosedSingleMGPerGTrunc", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "289", + "s" : [ { + "value" : [ "", "define ", "ClosedSingleMGPerGTrunc", ": " ] + }, { + "r" : "301", + "s" : [ { + "value" : [ "expand " ] + }, { + "r" : "290", + "s" : [ { + "value" : [ "{ " ] + }, { + "r" : "293", "s" : [ { - "value" : [ "","define ","NotEqual",": " ] - }, { - "r" : "396", - "s" : [ { - "r" : "366", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "350", - "s" : [ { - "r" : "342", - "value" : [ "DateTime","(","2018",",","01",",","01",")" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "362", - "s" : [ { - "r" : "354", - "value" : [ "DateTime","(","2018",",","01",",","01",")" ] - } ] - }, { - "value" : [ "]" ] - } ] - }, { - "r" : "396", - "value" : [ " ","same as"," " ] - }, { - "r" : "393", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "377", - "s" : [ { - "r" : "369", - "value" : [ "DateTime","(","2018",",","02",",","01",")" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "389", - "s" : [ { - "r" : "381", - "value" : [ "DateTime","(","2018",",","05",",","01",")" ] - } ] - }, { - "value" : [ "]" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "396", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "SameAs", - "signature" : [ { - "localId" : "397", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "398", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "399", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "400", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "366", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "367", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "368", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "350", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "351", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "352", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "353", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "342", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2018", - "type" : "Literal" - }, - "month" : { - "localId" : "343", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "01", - "type" : "Literal" - }, - "day" : { - "localId" : "344", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "01", - "type" : "Literal" - } - }, - "high" : { - "localId" : "362", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "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" - }, { - "localId" : "365", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "354", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2018", - "type" : "Literal" - }, - "month" : { - "localId" : "355", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "01", - "type" : "Literal" - }, - "day" : { - "localId" : "356", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "01", - "type" : "Literal" - } - } - }, { - "localId" : "393", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "394", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "395", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "377", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "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" - }, { - "localId" : "380", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "369", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2018", - "type" : "Literal" - }, - "month" : { - "localId" : "370", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "02", - "type" : "Literal" - }, - "day" : { - "localId" : "371", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "01", - "type" : "Literal" - } - }, - "high" : { - "localId" : "389", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "390", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "391", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "392", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "381", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2018", - "type" : "Literal" - }, - "month" : { - "localId" : "382", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "05", - "type" : "Literal" - }, - "day" : { - "localId" : "383", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "01", - "type" : "Literal" - } - } - } ] - } - }, { - "localId" : "403", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "DateTimeAndDateComparisonEqual", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "403", - "s" : [ { - "value" : [ "","define ","DateTimeAndDateComparisonEqual",": " ] - }, { - "r" : "458", - "s" : [ { - "r" : "428", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "412", - "s" : [ { - "r" : "404", - "value" : [ "DateTime","(","2018",",","01",",","01",")" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "424", - "s" : [ { - "r" : "416", - "value" : [ "DateTime","(","2018",",","01",",","01",")" ] - } ] - }, { - "value" : [ "]" ] - } ] - }, { - "r" : "458", - "value" : [ " ","same as"," " ] - }, { - "r" : "455", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "439", - "s" : [ { - "r" : "431", - "value" : [ "Date","(","2018",",","01",",","01",")" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "451", - "s" : [ { - "r" : "443", - "value" : [ "Date","(","2018",",","01",",","01",")" ] - } ] - }, { - "value" : [ "]" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "458", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "SameAs", - "signature" : [ { - "localId" : "470", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "471", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "472", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "473", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "428", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "429", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "430", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "412", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "413", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "414", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "415", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "404", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2018", - "type" : "Literal" - }, - "month" : { - "localId" : "405", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "01", - "type" : "Literal" - }, - "day" : { - "localId" : "406", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "01", - "type" : "Literal" - } - }, - "high" : { - "localId" : "424", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "425", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "426", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "427", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "416", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2018", - "type" : "Literal" - }, - "month" : { - "localId" : "417", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "01", - "type" : "Literal" - }, - "day" : { - "localId" : "418", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "01", - "type" : "Literal" - } - } - }, { - "localId" : "459", - "type" : "Interval", - "low" : { - "localId" : "462", - "type" : "ToDateTime", - "signature" : [ { - "localId" : "463", - "name" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "460", - "path" : "low", - "type" : "Property", - "source" : { - "localId" : "455", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "456", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "457", - "name" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "439", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "Date", - "signature" : [ { - "localId" : "440", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "441", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "442", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "431", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2018", - "type" : "Literal" - }, - "month" : { - "localId" : "432", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "01", - "type" : "Literal" - }, - "day" : { - "localId" : "433", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "01", - "type" : "Literal" - } - }, - "high" : { - "localId" : "451", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "Date", - "signature" : [ { - "localId" : "452", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "453", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "454", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "443", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2018", - "type" : "Literal" - }, - "month" : { - "localId" : "444", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "01", - "type" : "Literal" - }, - "day" : { - "localId" : "445", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "01", - "type" : "Literal" - } - } - } - } - }, - "lowClosedExpression" : { - "localId" : "464", - "path" : "lowClosed", - "type" : "Property", - "source" : { - "localId" : "455", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "456", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "457", - "name" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "439", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "Date", - "signature" : [ { - "localId" : "440", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "441", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "442", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "431", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2018", - "type" : "Literal" - }, - "month" : { - "localId" : "432", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "01", - "type" : "Literal" - }, - "day" : { - "localId" : "433", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "01", - "type" : "Literal" - } - }, - "high" : { - "localId" : "451", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "Date", - "signature" : [ { - "localId" : "452", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "453", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "454", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "443", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2018", - "type" : "Literal" - }, - "month" : { - "localId" : "444", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "01", - "type" : "Literal" - }, - "day" : { - "localId" : "445", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "01", - "type" : "Literal" - } - } - } - }, - "high" : { - "localId" : "467", - "type" : "ToDateTime", - "signature" : [ { - "localId" : "468", - "name" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "465", - "path" : "high", - "type" : "Property", - "source" : { - "localId" : "455", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "456", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "457", - "name" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "439", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "Date", - "signature" : [ { - "localId" : "440", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "441", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "442", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "431", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2018", - "type" : "Literal" - }, - "month" : { - "localId" : "432", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "01", - "type" : "Literal" - }, - "day" : { - "localId" : "433", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "01", - "type" : "Literal" - } - }, - "high" : { - "localId" : "451", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "Date", - "signature" : [ { - "localId" : "452", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "453", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "454", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "443", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2018", - "type" : "Literal" - }, - "month" : { - "localId" : "444", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "01", - "type" : "Literal" - }, - "day" : { - "localId" : "445", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "01", - "type" : "Literal" - } - } - } - } - }, - "highClosedExpression" : { - "localId" : "469", - "path" : "highClosed", - "type" : "Property", - "source" : { - "localId" : "455", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "456", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "457", - "name" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "439", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "Date", - "signature" : [ { - "localId" : "440", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "441", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "442", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "431", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2018", - "type" : "Literal" - }, - "month" : { - "localId" : "432", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "01", - "type" : "Literal" - }, - "day" : { - "localId" : "433", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "01", - "type" : "Literal" - } - }, - "high" : { - "localId" : "451", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "Date", - "signature" : [ { - "localId" : "452", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "453", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "454", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "443", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2018", - "type" : "Literal" - }, - "month" : { - "localId" : "444", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "01", - "type" : "Literal" - }, - "day" : { - "localId" : "445", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "01", - "type" : "Literal" - } - } - } - } - } ] - } - }, { - "localId" : "476", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "NullIntervals", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "476", + "value" : [ "Interval[" ] + }, { + "r" : "291", + "s" : [ { + "value" : [ "2999 ", "'mg'" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "292", + "s" : [ { + "value" : [ "4200 ", "'mg'" ] + } ] + }, { + "value" : [ "]" ] + } ] + }, { + "value" : [ " }" ] + } ] + }, { + "value" : [ " per " ] + }, { + "r" : "300", + "s" : [ { + "value" : [ "1 ", "'g'" ] + } ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "309", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "310", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "311", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } + } + }, + "expression" : { + "type" : "Expand", + "localId" : "301", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "306", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "307", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "308", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } + } + }, + "signature" : [ { + "type" : "ListTypeSpecifier", + "localId" : "302", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "303", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "304", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } + } + }, { + "type" : "NamedTypeSpecifier", + "localId" : "305", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "List", + "localId" : "290", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "296", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "297", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "298", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } + } + }, + "element" : [ { + "type" : "Interval", + "localId" : "293", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "294", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "295", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } + }, + "low" : { + "type" : "Quantity", + "localId" : "291", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "value" : 2999, + "unit" : "mg", + "annotation" : [ ] + }, + "high" : { + "type" : "Quantity", + "localId" : "292", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "value" : 4200, + "unit" : "mg", + "annotation" : [ ] + } + } ] + }, { + "type" : "Quantity", + "localId" : "300", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "value" : 1, + "unit" : "g", + "annotation" : [ ] + } ] + } + }, { + "localId" : "314", + "name" : "ClosedSingleMGPerMGTrunc", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "314", + "s" : [ { + "value" : [ "", "define ", "ClosedSingleMGPerMGTrunc", ": " ] + }, { + "r" : "326", + "s" : [ { + "value" : [ "expand " ] + }, { + "r" : "315", + "s" : [ { + "value" : [ "{ " ] + }, { + "r" : "318", "s" : [ { - "value" : [ "","define ","NullIntervals",": " ] - }, { - "r" : "497", - "s" : [ { - "r" : "477", - "s" : [ { - "value" : [ "(" ] - }, { - "r" : "477", - "s" : [ { - "r" : "478", - "value" : [ "null"," as " ] - }, { - "r" : "479", - "s" : [ { - "value" : [ "Interval<" ] - }, { - "r" : "480", - "s" : [ { - "value" : [ "DateTime" ] - } ] - }, { - "value" : [ ">" ] - } ] - } ] - }, { - "value" : [ ")" ] - } ] - }, { - "r" : "497", - "value" : [ " ","same as"," " ] - }, { - "r" : "487", - "s" : [ { - "value" : [ "(" ] - }, { - "r" : "487", - "s" : [ { - "r" : "488", - "value" : [ "null"," as " ] - }, { - "r" : "489", - "s" : [ { - "value" : [ "Interval<" ] - }, { - "r" : "490", - "s" : [ { - "value" : [ "DateTime" ] - } ] - }, { - "value" : [ ">" ] - } ] - } ] - }, { - "value" : [ ")" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "497", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "SameAs", - "signature" : [ { - "localId" : "498", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "499", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "500", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "501", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "477", - "strict" : false, - "type" : "As", - "resultTypeSpecifier" : { - "localId" : "485", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "486", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "signature" : [ ], - "operand" : { - "localId" : "478", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - }, - "asTypeSpecifier" : { - "localId" : "479", - "type" : "IntervalTypeSpecifier", - "resultTypeSpecifier" : { - "localId" : "481", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "482", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "pointType" : { - "localId" : "480", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - }, { - "localId" : "487", - "strict" : false, - "type" : "As", - "resultTypeSpecifier" : { - "localId" : "495", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "496", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "signature" : [ ], - "operand" : { - "localId" : "488", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - }, - "asTypeSpecifier" : { - "localId" : "489", - "type" : "IntervalTypeSpecifier", - "resultTypeSpecifier" : { - "localId" : "491", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "492", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "pointType" : { - "localId" : "490", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - } ] - } - }, { - "localId" : "504", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "OpenAndClosed", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "504", - "s" : [ { - "value" : [ "","define ","OpenAndClosed",": " ] - }, { - "r" : "607", - "s" : [ { - "r" : "553", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "521", - "s" : [ { - "r" : "505", - "value" : [ "DateTime","(","2018",",","01",",","01",",","00",",","00",",","00",",","0",")" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "545", - "s" : [ { - "r" : "529", - "value" : [ "DateTime","(","2019",",","01",",","01",",","00",",","00",",","00",",","0",")" ] - } ] - }, { - "value" : [ ")" ] - } ] - }, { - "r" : "607", - "value" : [ " ","same as"," " ] - }, { - "r" : "604", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "572", - "s" : [ { - "r" : "556", - "value" : [ "DateTime","(","2018",",","01",",","01",",","00",",","00",",","00",",","0",")" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "596", - "s" : [ { - "r" : "580", - "value" : [ "DateTime","(","2018",",","12",",","31",",","23",",","59",",","59",",","999",")" ] - } ] - }, { - "value" : [ "]" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "607", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "SameAs", - "signature" : [ { - "localId" : "608", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "609", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "610", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "611", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "553", - "lowClosed" : true, - "highClosed" : false, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "554", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "555", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "521", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "522", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "523", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "524", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "525", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "526", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "527", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "528", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "505", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2018", - "type" : "Literal" - }, - "month" : { - "localId" : "506", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "01", - "type" : "Literal" - }, - "day" : { - "localId" : "507", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "01", - "type" : "Literal" - }, - "hour" : { - "localId" : "508", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "00", - "type" : "Literal" - }, - "minute" : { - "localId" : "509", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "00", - "type" : "Literal" - }, - "second" : { - "localId" : "510", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "00", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "511", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - }, - "high" : { - "localId" : "545", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "546", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "547", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "548", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "549", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "550", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "551", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "552", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "529", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2019", - "type" : "Literal" - }, - "month" : { - "localId" : "530", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "01", - "type" : "Literal" - }, - "day" : { - "localId" : "531", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "01", - "type" : "Literal" - }, - "hour" : { - "localId" : "532", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "00", - "type" : "Literal" - }, - "minute" : { - "localId" : "533", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "00", - "type" : "Literal" - }, - "second" : { - "localId" : "534", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "00", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "535", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - } - }, { - "localId" : "604", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "605", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "606", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "572", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "573", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "574", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "575", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "576", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "577", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "578", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "579", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "556", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2018", - "type" : "Literal" - }, - "month" : { - "localId" : "557", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "01", - "type" : "Literal" - }, - "day" : { - "localId" : "558", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "01", - "type" : "Literal" - }, - "hour" : { - "localId" : "559", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "00", - "type" : "Literal" - }, - "minute" : { - "localId" : "560", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "00", - "type" : "Literal" - }, - "second" : { - "localId" : "561", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "00", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "562", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - }, - "high" : { - "localId" : "596", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "597", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "598", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "599", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "600", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "601", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "602", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "603", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "580", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2018", - "type" : "Literal" - }, - "month" : { - "localId" : "581", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "12", - "type" : "Literal" - }, - "day" : { - "localId" : "582", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "31", - "type" : "Literal" - }, - "hour" : { - "localId" : "583", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "23", - "type" : "Literal" - }, - "minute" : { - "localId" : "584", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal" - }, - "second" : { - "localId" : "585", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "586", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "999", - "type" : "Literal" - } - } - } ] - } - }, { - "localId" : "614", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "OpenEnded", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "614", + "value" : [ "Interval[" ] + }, { + "r" : "316", + "s" : [ { + "value" : [ "2000 ", "'mg'" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "317", + "s" : [ { + "value" : [ "4500 ", "'mg'" ] + } ] + }, { + "value" : [ "]" ] + } ] + }, { + "value" : [ " }" ] + } ] + }, { + "value" : [ " per " ] + }, { + "r" : "325", + "s" : [ { + "value" : [ "800 ", "'mg'" ] + } ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "334", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "335", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "336", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } + } + }, + "expression" : { + "type" : "Expand", + "localId" : "326", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "331", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "332", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "333", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } + } + }, + "signature" : [ { + "type" : "ListTypeSpecifier", + "localId" : "327", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "328", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "329", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } + } + }, { + "type" : "NamedTypeSpecifier", + "localId" : "330", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "List", + "localId" : "315", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "321", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "322", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "323", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } + } + }, + "element" : [ { + "type" : "Interval", + "localId" : "318", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "319", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "320", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } + }, + "low" : { + "type" : "Quantity", + "localId" : "316", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "value" : 2000, + "unit" : "mg", + "annotation" : [ ] + }, + "high" : { + "type" : "Quantity", + "localId" : "317", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "value" : 4500, + "unit" : "mg", + "annotation" : [ ] + } + } ] + }, { + "type" : "Quantity", + "localId" : "325", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "value" : 800, + "unit" : "mg", + "annotation" : [ ] + } ] + } + }, { + "localId" : "339", + "name" : "ClosedSingleMGPerMGDecimal", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "339", + "s" : [ { + "value" : [ "", "define ", "ClosedSingleMGPerMGDecimal", ": " ] + }, { + "r" : "351", + "s" : [ { + "value" : [ "expand " ] + }, { + "r" : "340", + "s" : [ { + "value" : [ "{ " ] + }, { + "r" : "343", "s" : [ { - "value" : [ "","define ","OpenEnded",": " ] - }, { - "r" : "649", - "s" : [ { - "r" : "628", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "623", - "s" : [ { - "r" : "615", - "value" : [ "DateTime","(","2018",",","01",",","01",")" ] - } ] - }, { - "r" : "627", - "value" : [ ", ","null","]" ] - } ] - }, { - "r" : "649", - "value" : [ " ","same day as"," " ] - }, { - "r" : "645", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "640", - "s" : [ { - "r" : "632", - "value" : [ "DateTime","(","2018",",","01",",","01",")" ] - } ] - }, { - "r" : "644", - "value" : [ ", ","null","]" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "649", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "precision" : "Day", - "type" : "SameAs", - "signature" : [ { - "localId" : "650", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "651", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "652", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "653", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "628", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "630", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "631", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "623", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "624", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "625", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "626", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "615", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2018", - "type" : "Literal" - }, - "month" : { - "localId" : "616", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "01", - "type" : "Literal" - }, - "day" : { - "localId" : "617", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "01", - "type" : "Literal" - } - }, - "high" : { - "localId" : "629", - "asType" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "As", - "signature" : [ ], - "operand" : { - "localId" : "627", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - } - } - }, { - "localId" : "645", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "647", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "648", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "640", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "641", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "642", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "643", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "632", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2018", - "type" : "Literal" - }, - "month" : { - "localId" : "633", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "01", - "type" : "Literal" - }, - "day" : { - "localId" : "634", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "01", - "type" : "Literal" - } - }, - "high" : { - "localId" : "646", - "asType" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "As", - "signature" : [ ], - "operand" : { - "localId" : "644", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - } - } - } ] - } - }, { - "localId" : "656", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "OpenEndedNotSame", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "656", + "value" : [ "Interval[" ] + }, { + "r" : "341", + "s" : [ { + "value" : [ "2000.01 ", "'mg'" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "342", + "s" : [ { + "value" : [ "4500 ", "'mg'" ] + } ] + }, { + "value" : [ "]" ] + } ] + }, { + "value" : [ " }" ] + } ] + }, { + "value" : [ " per " ] + }, { + "r" : "350", + "s" : [ { + "value" : [ "800 ", "'mg'" ] + } ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "359", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "360", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "361", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } + } + }, + "expression" : { + "type" : "Expand", + "localId" : "351", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "356", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "357", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "358", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } + } + }, + "signature" : [ { + "type" : "ListTypeSpecifier", + "localId" : "352", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "353", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "354", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } + } + }, { + "type" : "NamedTypeSpecifier", + "localId" : "355", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "List", + "localId" : "340", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "346", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "347", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "348", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } + } + }, + "element" : [ { + "type" : "Interval", + "localId" : "343", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "344", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "345", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } + }, + "low" : { + "type" : "Quantity", + "localId" : "341", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "value" : 2000.01, + "unit" : "mg", + "annotation" : [ ] + }, + "high" : { + "type" : "Quantity", + "localId" : "342", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "value" : 4500, + "unit" : "mg", + "annotation" : [ ] + } + } ] + }, { + "type" : "Quantity", + "localId" : "350", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "value" : 800, + "unit" : "mg", + "annotation" : [ ] + } ] + } + }, { + "localId" : "364", + "name" : "NullInList", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "364", + "s" : [ { + "value" : [ "", "define ", "NullInList", ": " ] + }, { + "r" : "380", + "s" : [ { + "value" : [ "expand " ] + }, { + "r" : "365", + "s" : [ { + "value" : [ "{ " ] + }, { + "r" : "368", "s" : [ { - "value" : [ "","define ","OpenEndedNotSame",": " ] - }, { - "r" : "701", - "s" : [ { - "r" : "670", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "665", - "s" : [ { - "r" : "657", - "value" : [ "DateTime","(","2018",",","01",",","01",")" ] - } ] - }, { - "r" : "669", - "value" : [ ", ","null","]" ] - } ] - }, { - "r" : "701", - "value" : [ " ","same day as"," " ] - }, { - "r" : "698", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "682", - "s" : [ { - "r" : "674", - "value" : [ "DateTime","(","2018",",","01",",","01",")" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "694", - "s" : [ { - "r" : "686", - "value" : [ "DateTime","(","2019",",","01",",","01",")" ] - } ] - }, { - "value" : [ "]" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "701", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "precision" : "Day", - "type" : "SameAs", - "signature" : [ { - "localId" : "702", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "703", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "704", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "705", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "670", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "672", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "673", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "665", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "666", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "667", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "668", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "657", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2018", - "type" : "Literal" - }, - "month" : { - "localId" : "658", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "01", - "type" : "Literal" - }, - "day" : { - "localId" : "659", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "01", - "type" : "Literal" - } - }, - "high" : { - "localId" : "671", - "asType" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "As", - "signature" : [ ], - "operand" : { - "localId" : "669", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - } - } - }, { - "localId" : "698", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "699", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "700", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "682", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "683", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "684", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "685", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "674", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2018", - "type" : "Literal" - }, - "month" : { - "localId" : "675", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "01", - "type" : "Literal" - }, - "day" : { - "localId" : "676", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "01", - "type" : "Literal" - } - }, - "high" : { - "localId" : "694", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "695", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "696", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "697", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "686", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2019", - "type" : "Literal" - }, - "month" : { - "localId" : "687", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "01", - "type" : "Literal" - }, - "day" : { - "localId" : "688", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "01", - "type" : "Literal" - } - } - } ] - } - }, { - "localId" : "708", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "OpenEndedNotSame2", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "708", - "s" : [ { - "value" : [ "","define ","OpenEndedNotSame2",": " ] + "value" : [ "Interval[" ] + }, { + "r" : "366", + "s" : [ { + "value" : [ "2 ", "'g'" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "367", + "s" : [ { + "value" : [ "4 ", "'g'" ] + } ] + }, { + "value" : [ "]" ] + } ] + }, { + "r" : "371", + "value" : [ ", ", "null", " }" ] + } ] + }, { + "value" : [ " per " ] + }, { + "r" : "379", + "s" : [ { + "value" : [ "1 ", "'g'" ] + } ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "388", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "389", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "390", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } + } + }, + "expression" : { + "type" : "Expand", + "localId" : "380", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "385", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "386", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "387", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } + } + }, + "signature" : [ { + "type" : "ListTypeSpecifier", + "localId" : "381", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "382", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "383", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } + } + }, { + "type" : "NamedTypeSpecifier", + "localId" : "384", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "List", + "localId" : "365", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "375", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "376", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "377", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } + } + }, + "element" : [ { + "type" : "Interval", + "localId" : "368", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "369", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "370", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } + }, + "low" : { + "type" : "Quantity", + "localId" : "366", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "value" : 2, + "unit" : "g", + "annotation" : [ ] + }, + "high" : { + "type" : "Quantity", + "localId" : "367", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "value" : 4, + "unit" : "g", + "annotation" : [ ] + } + }, { + "type" : "As", + "localId" : "372", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Null", + "localId" : "371", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + }, + "asTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "373", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "374", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } + } + } ] + }, { + "type" : "Quantity", + "localId" : "379", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "value" : 1, + "unit" : "g", + "annotation" : [ ] + } ] + } + }, { + "localId" : "393", + "name" : "Overlapping", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "393", + "s" : [ { + "value" : [ "", "define ", "Overlapping", ": " ] + }, { + "r" : "410", + "s" : [ { + "value" : [ "expand " ] + }, { + "r" : "394", + "s" : [ { + "value" : [ "{ " ] + }, { + "r" : "397", + "s" : [ { + "value" : [ "Interval[" ] }, { - "r" : "753", - "s" : [ { - "r" : "733", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "717", - "s" : [ { - "r" : "709", - "value" : [ "DateTime","(","2018",",","01",",","01",")" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "729", - "s" : [ { - "r" : "721", - "value" : [ "DateTime","(","2019",",","01",",","01",")" ] - } ] - }, { - "value" : [ "]" ] - } ] - }, { - "r" : "753", - "value" : [ " ","same day as"," " ] - }, { - "r" : "749", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "744", - "s" : [ { - "r" : "736", - "value" : [ "DateTime","(","2018",",","01",",","01",")" ] - } ] - }, { - "r" : "748", - "value" : [ ", ","null","]" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "753", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "precision" : "Day", - "type" : "SameAs", - "signature" : [ { - "localId" : "754", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "755", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "756", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "757", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "733", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "734", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "735", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "717", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "718", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "719", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "720", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "709", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2018", - "type" : "Literal" - }, - "month" : { - "localId" : "710", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "01", - "type" : "Literal" - }, - "day" : { - "localId" : "711", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "01", - "type" : "Literal" - } - }, - "high" : { - "localId" : "729", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "730", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "731", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "732", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "721", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2019", - "type" : "Literal" - }, - "month" : { - "localId" : "722", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "01", - "type" : "Literal" - }, - "day" : { - "localId" : "723", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "01", - "type" : "Literal" - } - } - }, { - "localId" : "749", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "751", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "752", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "744", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "745", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "746", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "747", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "736", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2018", - "type" : "Literal" - }, - "month" : { - "localId" : "737", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "01", - "type" : "Literal" - }, - "day" : { - "localId" : "738", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "01", - "type" : "Literal" - } - }, - "high" : { - "localId" : "750", - "asType" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "As", - "signature" : [ ], - "operand" : { - "localId" : "748", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - } - } - } ] - } - }, { - "localId" : "760", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "OpenBeginningSame", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "760", + "r" : "395", + "s" : [ { + "value" : [ "2 ", "'g'" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "396", + "s" : [ { + "value" : [ "4 ", "'g'" ] + } ] + }, { + "value" : [ "]" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "402", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "400", + "s" : [ { + "value" : [ "3 ", "'g'" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "401", + "s" : [ { + "value" : [ "5 ", "'g'" ] + } ] + }, { + "value" : [ "]" ] + } ] + }, { + "value" : [ " }" ] + } ] + }, { + "value" : [ " per " ] + }, { + "r" : "409", + "s" : [ { + "value" : [ "1 ", "'g'" ] + } ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "418", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "419", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "420", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } + } + }, + "expression" : { + "type" : "Expand", + "localId" : "410", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "415", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "416", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "417", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } + } + }, + "signature" : [ { + "type" : "ListTypeSpecifier", + "localId" : "411", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "412", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "413", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } + } + }, { + "type" : "NamedTypeSpecifier", + "localId" : "414", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "List", + "localId" : "394", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "405", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "406", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "407", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } + } + }, + "element" : [ { + "type" : "Interval", + "localId" : "397", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "398", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "399", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } + }, + "low" : { + "type" : "Quantity", + "localId" : "395", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "value" : 2, + "unit" : "g", + "annotation" : [ ] + }, + "high" : { + "type" : "Quantity", + "localId" : "396", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "value" : 4, + "unit" : "g", + "annotation" : [ ] + } + }, { + "type" : "Interval", + "localId" : "402", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "403", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "404", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } + }, + "low" : { + "type" : "Quantity", + "localId" : "400", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "value" : 3, + "unit" : "g", + "annotation" : [ ] + }, + "high" : { + "type" : "Quantity", + "localId" : "401", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "value" : 5, + "unit" : "g", + "annotation" : [ ] + } + } ] + }, { + "type" : "Quantity", + "localId" : "409", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "value" : 1, + "unit" : "g", + "annotation" : [ ] + } ] + } + }, { + "localId" : "423", + "name" : "NonOverlapping", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "423", + "s" : [ { + "value" : [ "", "define ", "NonOverlapping", ": " ] + }, { + "r" : "440", + "s" : [ { + "value" : [ "expand " ] + }, { + "r" : "424", + "s" : [ { + "value" : [ "{ " ] + }, { + "r" : "427", "s" : [ { - "value" : [ "","define ","OpenBeginningSame",": " ] + "value" : [ "Interval[" ] }, { - "r" : "795", - "s" : [ { - "r" : "774", - "s" : [ { - "r" : "761", - "value" : [ "Interval[","null","," ] - }, { - "r" : "770", - "s" : [ { - "r" : "762", - "value" : [ "DateTime","(","2018",",","01",",","01",")" ] - } ] - }, { - "value" : [ "]" ] - } ] - }, { - "r" : "795", - "value" : [ " ","same as"," " ] - }, { - "r" : "791", - "s" : [ { - "r" : "778", - "value" : [ "Interval[","null","," ] - }, { - "r" : "787", - "s" : [ { - "r" : "779", - "value" : [ "DateTime","(","2018",",","01",",","01",")" ] - } ] - }, { - "value" : [ "]" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "795", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "SameAs", - "signature" : [ { - "localId" : "796", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "797", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "798", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "799", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "774", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "776", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "777", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "775", - "asType" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "As", - "signature" : [ ], - "operand" : { - "localId" : "761", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - } - }, - "high" : { - "localId" : "770", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "771", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "772", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "773", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "762", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2018", - "type" : "Literal" - }, - "month" : { - "localId" : "763", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "01", - "type" : "Literal" - }, - "day" : { - "localId" : "764", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "01", - "type" : "Literal" - } - } - }, { - "localId" : "791", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "793", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "794", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "792", - "asType" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "As", - "signature" : [ ], - "operand" : { - "localId" : "778", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - } - }, - "high" : { - "localId" : "787", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "788", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "789", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "790", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "779", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2018", - "type" : "Literal" - }, - "month" : { - "localId" : "780", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "01", - "type" : "Literal" - }, - "day" : { - "localId" : "781", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "01", - "type" : "Literal" - } - } - } ] - } - }, { - "localId" : "802", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "OpenBeginningNotSame", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "802", + "r" : "425", + "s" : [ { + "value" : [ "2 ", "'g'" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "426", + "s" : [ { + "value" : [ "4 ", "'g'" ] + } ] + }, { + "value" : [ "]" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "432", "s" : [ { - "value" : [ "","define ","OpenBeginningNotSame",": " ] + "value" : [ "Interval[" ] }, { - "r" : "847", - "s" : [ { - "r" : "827", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "811", - "s" : [ { - "r" : "803", - "value" : [ "DateTime","(","2017",",","01",",","01",")" ] - } ] - }, { - "value" : [ "," ] - }, { - "r" : "823", - "s" : [ { - "r" : "815", - "value" : [ "DateTime","(","2018",",","01",",","01",")" ] - } ] - }, { - "value" : [ "]" ] - } ] - }, { - "r" : "847", - "value" : [ " ","same as"," " ] - }, { - "r" : "843", - "s" : [ { - "r" : "830", - "value" : [ "Interval[","null","," ] - }, { - "r" : "839", - "s" : [ { - "r" : "831", - "value" : [ "DateTime","(","2018",",","01",",","01",")" ] - } ] - }, { - "value" : [ "]" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "847", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "SameAs", - "signature" : [ { - "localId" : "848", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "849", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "850", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "851", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "827", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "828", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "829", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "811", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "812", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "813", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "814", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "803", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2017", - "type" : "Literal" - }, - "month" : { - "localId" : "804", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "01", - "type" : "Literal" - }, - "day" : { - "localId" : "805", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "01", - "type" : "Literal" - } - }, - "high" : { - "localId" : "823", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "824", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "825", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "826", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "815", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2018", - "type" : "Literal" - }, - "month" : { - "localId" : "816", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "01", - "type" : "Literal" - }, - "day" : { - "localId" : "817", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "01", - "type" : "Literal" - } - } - }, { - "localId" : "843", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "845", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "846", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "844", - "asType" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "As", - "signature" : [ ], - "operand" : { - "localId" : "830", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - } - }, - "high" : { - "localId" : "839", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "840", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "841", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "842", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "831", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2018", - "type" : "Literal" - }, - "month" : { - "localId" : "832", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "01", - "type" : "Literal" - }, - "day" : { - "localId" : "833", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "01", - "type" : "Literal" - } - } - } ] - } - }, { - "localId" : "854", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "DateOpenAndClosed", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "854", + "r" : "430", + "s" : [ { + "value" : [ "6 ", "'g'" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "431", + "s" : [ { + "value" : [ "6 ", "'g'" ] + } ] + }, { + "value" : [ "]" ] + } ] + }, { + "value" : [ " }" ] + } ] + }, { + "value" : [ " per " ] + }, { + "r" : "439", + "s" : [ { + "value" : [ "1 ", "'g'" ] + } ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "448", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "449", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "450", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } + } + }, + "expression" : { + "type" : "Expand", + "localId" : "440", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "445", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "446", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "447", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } + } + }, + "signature" : [ { + "type" : "ListTypeSpecifier", + "localId" : "441", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "442", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "443", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } + } + }, { + "type" : "NamedTypeSpecifier", + "localId" : "444", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "List", + "localId" : "424", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "435", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "436", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "437", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } + } + }, + "element" : [ { + "type" : "Interval", + "localId" : "427", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "428", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "429", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } + }, + "low" : { + "type" : "Quantity", + "localId" : "425", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "value" : 2, + "unit" : "g", + "annotation" : [ ] + }, + "high" : { + "type" : "Quantity", + "localId" : "426", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "value" : 4, + "unit" : "g", + "annotation" : [ ] + } + }, { + "type" : "Interval", + "localId" : "432", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "433", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "434", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } + }, + "low" : { + "type" : "Quantity", + "localId" : "430", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "value" : 6, + "unit" : "g", + "annotation" : [ ] + }, + "high" : { + "type" : "Quantity", + "localId" : "431", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "value" : 6, + "unit" : "g", + "annotation" : [ ] + } + } ] + }, { + "type" : "Quantity", + "localId" : "439", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "value" : 1, + "unit" : "g", + "annotation" : [ ] + } ] + } + }, { + "localId" : "453", + "name" : "NoPerDefaultM", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "453", + "s" : [ { + "value" : [ "", "define ", "NoPerDefaultM", ": " ] + }, { + "r" : "464", + "s" : [ { + "value" : [ "expand " ] + }, { + "r" : "454", + "s" : [ { + "value" : [ "{ " ] + }, { + "r" : "457", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "455", + "s" : [ { + "value" : [ "2 ", "'m'" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "456", + "s" : [ { + "value" : [ "400 ", "'cm'" ] + } ] + }, { + "value" : [ "]" ] + } ] + }, { + "value" : [ " }" ] + } ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "472", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "473", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "474", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } + } + }, + "expression" : { + "type" : "Expand", + "localId" : "464", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "469", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "470", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "471", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } + } + }, + "signature" : [ { + "type" : "ListTypeSpecifier", + "localId" : "465", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "466", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "467", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } + } + }, { + "type" : "NamedTypeSpecifier", + "localId" : "468", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "List", + "localId" : "454", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "460", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "461", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "462", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } + } + }, + "element" : [ { + "type" : "Interval", + "localId" : "457", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "458", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "459", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } + }, + "low" : { + "type" : "Quantity", + "localId" : "455", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "value" : 2, + "unit" : "m", + "annotation" : [ ] + }, + "high" : { + "type" : "Quantity", + "localId" : "456", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "value" : 400, + "unit" : "cm", + "annotation" : [ ] + } + } ] + }, { + "type" : "Null", + "localId" : "463", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } ] + } + }, { + "localId" : "477", + "name" : "NoPerDefaultG", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "477", + "s" : [ { + "value" : [ "", "define ", "NoPerDefaultG", ": " ] + }, { + "r" : "488", + "s" : [ { + "value" : [ "expand " ] + }, { + "r" : "478", + "s" : [ { + "value" : [ "{ " ] + }, { + "r" : "481", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "479", + "s" : [ { + "value" : [ "2 ", "'g'" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "480", + "s" : [ { + "value" : [ "4 ", "'g'" ] + } ] + }, { + "value" : [ "]" ] + } ] + }, { + "value" : [ " }" ] + } ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "496", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "497", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "498", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } + } + }, + "expression" : { + "type" : "Expand", + "localId" : "488", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "493", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "494", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "495", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } + } + }, + "signature" : [ { + "type" : "ListTypeSpecifier", + "localId" : "489", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "490", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "491", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } + } + }, { + "type" : "NamedTypeSpecifier", + "localId" : "492", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "List", + "localId" : "478", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "484", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "485", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "486", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } + } + }, + "element" : [ { + "type" : "Interval", + "localId" : "481", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "482", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "483", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } + }, + "low" : { + "type" : "Quantity", + "localId" : "479", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "value" : 2, + "unit" : "g", + "annotation" : [ ] + }, + "high" : { + "type" : "Quantity", + "localId" : "480", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "value" : 4, + "unit" : "g", + "annotation" : [ ] + } + } ] + }, { + "type" : "Null", + "localId" : "487", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } ] + } + }, { + "localId" : "501", + "name" : "OpenStart", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "501", + "s" : [ { + "value" : [ "", "define ", "OpenStart", ": " ] + }, { + "r" : "513", + "s" : [ { + "value" : [ "expand " ] + }, { + "r" : "502", + "s" : [ { + "value" : [ "{ " ] + }, { + "r" : "505", + "s" : [ { + "value" : [ "Interval(" ] + }, { + "r" : "503", + "s" : [ { + "value" : [ "2 ", "'g'" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "504", + "s" : [ { + "value" : [ "4 ", "'g'" ] + } ] + }, { + "value" : [ "]" ] + } ] + }, { + "value" : [ " }" ] + } ] + }, { + "value" : [ " per " ] + }, { + "r" : "512", + "s" : [ { + "value" : [ "1 ", "'g'" ] + } ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "521", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "522", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "523", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } + } + }, + "expression" : { + "type" : "Expand", + "localId" : "513", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "518", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "519", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "520", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } + } + }, + "signature" : [ { + "type" : "ListTypeSpecifier", + "localId" : "514", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "515", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "516", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } + } + }, { + "type" : "NamedTypeSpecifier", + "localId" : "517", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "List", + "localId" : "502", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "508", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "509", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "510", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } + } + }, + "element" : [ { + "type" : "Interval", + "localId" : "505", + "lowClosed" : false, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "506", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "507", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } + }, + "low" : { + "type" : "Quantity", + "localId" : "503", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "value" : 2, + "unit" : "g", + "annotation" : [ ] + }, + "high" : { + "type" : "Quantity", + "localId" : "504", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "value" : 4, + "unit" : "g", + "annotation" : [ ] + } + } ] + }, { + "type" : "Quantity", + "localId" : "512", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "value" : 1, + "unit" : "g", + "annotation" : [ ] + } ] + } + }, { + "localId" : "526", + "name" : "OpenEnd", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "526", + "s" : [ { + "value" : [ "", "define ", "OpenEnd", ": " ] + }, { + "r" : "538", + "s" : [ { + "value" : [ "expand " ] + }, { + "r" : "527", + "s" : [ { + "value" : [ "{ " ] + }, { + "r" : "530", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "528", + "s" : [ { + "value" : [ "2 ", "'g'" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "529", + "s" : [ { + "value" : [ "4 ", "'g'" ] + } ] + }, { + "value" : [ ")" ] + } ] + }, { + "value" : [ " }" ] + } ] + }, { + "value" : [ " per " ] + }, { + "r" : "537", + "s" : [ { + "value" : [ "1 ", "'g'" ] + } ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "546", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "547", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "548", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } + } + }, + "expression" : { + "type" : "Expand", + "localId" : "538", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "543", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "544", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "545", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } + } + }, + "signature" : [ { + "type" : "ListTypeSpecifier", + "localId" : "539", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "540", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "541", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } + } + }, { + "type" : "NamedTypeSpecifier", + "localId" : "542", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "List", + "localId" : "527", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "533", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "534", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "535", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } + } + }, + "element" : [ { + "type" : "Interval", + "localId" : "530", + "lowClosed" : true, + "highClosed" : false, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "531", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "532", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } + }, + "low" : { + "type" : "Quantity", + "localId" : "528", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "value" : 2, + "unit" : "g", + "annotation" : [ ] + }, + "high" : { + "type" : "Quantity", + "localId" : "529", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "value" : 4, + "unit" : "g", + "annotation" : [ ] + } + } ] + }, { + "type" : "Quantity", + "localId" : "537", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "value" : 1, + "unit" : "g", + "annotation" : [ ] + } ] + } + }, { + "localId" : "551", + "name" : "OpenBoth", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "551", + "s" : [ { + "value" : [ "", "define ", "OpenBoth", ": " ] + }, { + "r" : "563", + "s" : [ { + "value" : [ "expand " ] + }, { + "r" : "552", + "s" : [ { + "value" : [ "{ " ] + }, { + "r" : "555", + "s" : [ { + "value" : [ "Interval(" ] + }, { + "r" : "553", + "s" : [ { + "value" : [ "2 ", "'g'" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "554", + "s" : [ { + "value" : [ "4 ", "'g'" ] + } ] + }, { + "value" : [ ")" ] + } ] + }, { + "value" : [ " }" ] + } ] + }, { + "value" : [ " per " ] + }, { + "r" : "562", + "s" : [ { + "value" : [ "1 ", "'g'" ] + } ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "571", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "572", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "573", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } + } + }, + "expression" : { + "type" : "Expand", + "localId" : "563", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "568", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "569", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "570", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } + } + }, + "signature" : [ { + "type" : "ListTypeSpecifier", + "localId" : "564", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "565", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "566", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } + } + }, { + "type" : "NamedTypeSpecifier", + "localId" : "567", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "List", + "localId" : "552", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "558", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "559", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "560", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } + } + }, + "element" : [ { + "type" : "Interval", + "localId" : "555", + "lowClosed" : false, + "highClosed" : false, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "556", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "557", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } + }, + "low" : { + "type" : "Quantity", + "localId" : "553", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "value" : 2, + "unit" : "g", + "annotation" : [ ] + }, + "high" : { + "type" : "Quantity", + "localId" : "554", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "value" : 4, + "unit" : "g", + "annotation" : [ ] + } + } ] + }, { + "type" : "Quantity", + "localId" : "562", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "value" : 1, + "unit" : "g", + "annotation" : [ ] + } ] + } + }, { + "localId" : "576", + "name" : "OpenBothDecimal", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "576", + "s" : [ { + "value" : [ "", "define ", "OpenBothDecimal", ": " ] + }, { + "r" : "588", + "s" : [ { + "value" : [ "expand " ] + }, { + "r" : "577", + "s" : [ { + "value" : [ "{ " ] + }, { + "r" : "580", + "s" : [ { + "value" : [ "Interval(" ] + }, { + "r" : "578", + "s" : [ { + "value" : [ "2.1 ", "'g'" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "579", + "s" : [ { + "value" : [ "4.1 ", "'g'" ] + } ] + }, { + "value" : [ ")" ] + } ] + }, { + "value" : [ " }" ] + } ] + }, { + "value" : [ " per " ] + }, { + "r" : "587", + "s" : [ { + "value" : [ "1 ", "'g'" ] + } ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "596", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "597", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "598", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } + } + }, + "expression" : { + "type" : "Expand", + "localId" : "588", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "593", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "594", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "595", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } + } + }, + "signature" : [ { + "type" : "ListTypeSpecifier", + "localId" : "589", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "590", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "591", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } + } + }, { + "type" : "NamedTypeSpecifier", + "localId" : "592", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "List", + "localId" : "577", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "583", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "584", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "585", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } + } + }, + "element" : [ { + "type" : "Interval", + "localId" : "580", + "lowClosed" : false, + "highClosed" : false, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "581", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "582", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } + }, + "low" : { + "type" : "Quantity", + "localId" : "578", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "value" : 2.1, + "unit" : "g", + "annotation" : [ ] + }, + "high" : { + "type" : "Quantity", + "localId" : "579", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "value" : 4.1, + "unit" : "g", + "annotation" : [ ] + } + } ] + }, { + "type" : "Quantity", + "localId" : "587", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "value" : 1, + "unit" : "g", + "annotation" : [ ] + } ] + } + }, { + "localId" : "601", + "name" : "OpenBothDecimalTrunc", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "601", + "s" : [ { + "value" : [ "", "define ", "OpenBothDecimalTrunc", ": " ] + }, { + "r" : "613", + "s" : [ { + "value" : [ "expand " ] + }, { + "r" : "602", + "s" : [ { + "value" : [ "{ " ] + }, { + "r" : "605", + "s" : [ { + "value" : [ "Interval(" ] + }, { + "r" : "603", + "s" : [ { + "value" : [ "2.1 ", "'g'" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "604", + "s" : [ { + "value" : [ "4.101 ", "'g'" ] + } ] + }, { + "value" : [ ")" ] + } ] + }, { + "value" : [ " }" ] + } ] + }, { + "value" : [ " per " ] + }, { + "r" : "612", + "s" : [ { + "value" : [ "1 ", "'g'" ] + } ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "621", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "622", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "623", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } + } + }, + "expression" : { + "type" : "Expand", + "localId" : "613", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "618", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "619", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "620", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } + } + }, + "signature" : [ { + "type" : "ListTypeSpecifier", + "localId" : "614", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "615", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "616", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } + } + }, { + "type" : "NamedTypeSpecifier", + "localId" : "617", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "List", + "localId" : "602", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "608", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "609", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "610", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } + } + }, + "element" : [ { + "type" : "Interval", + "localId" : "605", + "lowClosed" : false, + "highClosed" : false, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "606", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "607", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } + }, + "low" : { + "type" : "Quantity", + "localId" : "603", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "value" : 2.1, + "unit" : "g", + "annotation" : [ ] + }, + "high" : { + "type" : "Quantity", + "localId" : "604", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "value" : 4.101, + "unit" : "g", + "annotation" : [ ] + } + } ] + }, { + "type" : "Quantity", + "localId" : "612", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "value" : 1, + "unit" : "g", + "annotation" : [ ] + } ] + } + }, { + "localId" : "626", + "name" : "EmptyList", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "626", + "s" : [ { + "value" : [ "", "define ", "EmptyList", ": " ] + }, { + "r" : "631", + "s" : [ { + "value" : [ "List<" ] + }, { + "r" : "627", + "s" : [ { + "value" : [ "Interval<" ] + }, { + "r" : "628", + "s" : [ { + "value" : [ "Date" ] + } ] + }, { + "value" : [ ">" ] + } ] + }, { + "value" : [ ">{}" ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "636", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "637", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "638", + "name" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ] + } + } + }, + "expression" : { + "type" : "List", + "localId" : "631", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "633", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "634", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "635", + "name" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ] + } + } + }, + "element" : [ ] + } + }, { + "localId" : "641", + "name" : "PerTooBig", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "641", + "s" : [ { + "value" : [ "", "define ", "PerTooBig", ": " ] + }, { + "r" : "657", + "s" : [ { + "value" : [ "expand " ] + }, { + "r" : "642", + "s" : [ { + "value" : [ "{ " ] + }, { + "r" : "645", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "643", + "s" : [ { + "value" : [ "2 ", "'g'" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "644", + "s" : [ { + "value" : [ "4 ", "'g'" ] + } ] + }, { + "value" : [ "]" ] + } ] + }, { + "r" : "648", + "value" : [ ", ", "null", " }" ] + } ] + }, { + "value" : [ " per " ] + }, { + "r" : "656", + "s" : [ { + "value" : [ "5 ", "'g'" ] + } ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "665", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "666", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "667", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } + } + }, + "expression" : { + "type" : "Expand", + "localId" : "657", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "662", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "663", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "664", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } + } + }, + "signature" : [ { + "type" : "ListTypeSpecifier", + "localId" : "658", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "659", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "660", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } + } + }, { + "type" : "NamedTypeSpecifier", + "localId" : "661", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "List", + "localId" : "642", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "652", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "653", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "654", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } + } + }, + "element" : [ { + "type" : "Interval", + "localId" : "645", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "646", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "647", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } + }, + "low" : { + "type" : "Quantity", + "localId" : "643", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "value" : 2, + "unit" : "g", + "annotation" : [ ] + }, + "high" : { + "type" : "Quantity", + "localId" : "644", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "value" : 4, + "unit" : "g", + "annotation" : [ ] + } + }, { + "type" : "As", + "localId" : "649", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Null", + "localId" : "648", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + }, + "asTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "650", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "651", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } + } + } ] + }, { + "type" : "Quantity", + "localId" : "656", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "value" : 5, + "unit" : "g", + "annotation" : [ ] + } ] + } + }, { + "localId" : "670", + "name" : "NullOpen", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "670", + "s" : [ { + "value" : [ "", "define ", "NullOpen", ": " ] + }, { + "r" : "683", + "s" : [ { + "value" : [ "expand " ] + }, { + "r" : "671", + "s" : [ { + "value" : [ "{ " ] + }, { + "r" : "674", "s" : [ { - "value" : [ "","define ","DateOpenAndClosed",": " ] - }, { - "r" : "909", - "s" : [ { - "r" : "879", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "863", - "s" : [ { - "r" : "855", - "value" : [ "Date","(","2018",",","01",",","01",")" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "875", - "s" : [ { - "r" : "867", - "value" : [ "Date","(","2018",",","02",",","02",")" ] - } ] - }, { - "value" : [ "]" ] - } ] - }, { - "r" : "909", - "value" : [ " ","same as"," " ] - }, { - "r" : "906", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "890", - "s" : [ { - "r" : "882", - "value" : [ "Date","(","2018",",","01",",","01",")" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "902", - "s" : [ { - "r" : "894", - "value" : [ "Date","(","2018",",","02",",","03",")" ] - } ] - }, { - "value" : [ ")" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "909", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "SameAs", - "signature" : [ { - "localId" : "910", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "911", - "name" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "912", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "913", - "name" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "879", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "880", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "881", - "name" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "863", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "Date", - "signature" : [ { - "localId" : "864", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "865", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "866", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "855", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2018", - "type" : "Literal" - }, - "month" : { - "localId" : "856", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "01", - "type" : "Literal" - }, - "day" : { - "localId" : "857", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "01", - "type" : "Literal" - } - }, - "high" : { - "localId" : "875", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "Date", - "signature" : [ { - "localId" : "876", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "877", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "878", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "867", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2018", - "type" : "Literal" - }, - "month" : { - "localId" : "868", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "02", - "type" : "Literal" - }, - "day" : { - "localId" : "869", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "02", - "type" : "Literal" - } - } - }, { - "localId" : "906", - "lowClosed" : true, - "highClosed" : false, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "907", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "908", - "name" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "890", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "Date", - "signature" : [ { - "localId" : "891", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "892", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "893", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "882", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2018", - "type" : "Literal" - }, - "month" : { - "localId" : "883", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "01", - "type" : "Literal" - }, - "day" : { - "localId" : "884", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "01", - "type" : "Literal" - } - }, - "high" : { - "localId" : "902", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "Date", - "signature" : [ { - "localId" : "903", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "904", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "905", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "894", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2018", - "type" : "Literal" - }, - "month" : { - "localId" : "895", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "02", - "type" : "Literal" - }, - "day" : { - "localId" : "896", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "03", - "type" : "Literal" - } - } - } ] - } - }, { - "localId" : "916", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "DateOpenEnded", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "916", - "s" : [ { - "value" : [ "","define ","DateOpenEnded",": " ] - }, { - "r" : "951", - "s" : [ { - "r" : "930", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "925", - "s" : [ { - "r" : "917", - "value" : [ "Date","(","2018",",","01",",","01",")" ] - } ] - }, { - "r" : "929", - "value" : [ ", ","null","]" ] - } ] - }, { - "r" : "951", - "value" : [ " ","same as"," " ] - }, { - "r" : "947", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "942", - "s" : [ { - "r" : "934", - "value" : [ "Date","(","2018",",","01",",","01",")" ] - } ] - }, { - "r" : "946", - "value" : [ ", ","null","]" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "951", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "SameAs", - "signature" : [ { - "localId" : "952", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "953", - "name" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "954", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "955", - "name" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "930", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "932", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "933", - "name" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "925", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "Date", - "signature" : [ { - "localId" : "926", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "927", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "928", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "917", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2018", - "type" : "Literal" - }, - "month" : { - "localId" : "918", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "01", - "type" : "Literal" - }, - "day" : { - "localId" : "919", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "01", - "type" : "Literal" - } - }, - "high" : { - "localId" : "931", - "asType" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "As", - "signature" : [ ], - "operand" : { - "localId" : "929", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - } - } - }, { - "localId" : "947", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "949", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "950", - "name" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "942", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "Date", - "signature" : [ { - "localId" : "943", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "944", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "945", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "934", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2018", - "type" : "Literal" - }, - "month" : { - "localId" : "935", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "01", - "type" : "Literal" - }, - "day" : { - "localId" : "936", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "01", - "type" : "Literal" - } - }, - "high" : { - "localId" : "948", - "asType" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "As", - "signature" : [ ], - "operand" : { - "localId" : "946", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - } - } - } ] - } - }, { - "localId" : "958", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "TimeOpenAndClosed", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "958", - "s" : [ { - "value" : [ "","define ","TimeOpenAndClosed",": " ] - }, { - "r" : "1001", - "s" : [ { - "r" : "977", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "965", - "s" : [ { - "r" : "959", - "value" : [ "Time","(","01",",","01",")" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "974", - "s" : [ { - "r" : "968", - "value" : [ "Time","(","02",",","02",")" ] - } ] - }, { - "value" : [ "]" ] - } ] - }, { - "r" : "1001", - "value" : [ " ","same as"," " ] - }, { - "r" : "998", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "986", - "s" : [ { - "r" : "980", - "value" : [ "Time","(","01",",","01",")" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "995", - "s" : [ { - "r" : "989", - "value" : [ "Time","(","02",",","03",")" ] - } ] - }, { - "value" : [ ")" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "1001", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "SameAs", - "signature" : [ { - "localId" : "1002", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1003", - "name" : "{urn:hl7-org:elm-types:r1}Time", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "1004", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1005", - "name" : "{urn:hl7-org:elm-types:r1}Time", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "977", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "978", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "979", - "name" : "{urn:hl7-org:elm-types:r1}Time", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "965", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Time", - "type" : "Time", - "signature" : [ { - "localId" : "966", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "967", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "hour" : { - "localId" : "959", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "01", - "type" : "Literal" - }, - "minute" : { - "localId" : "960", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "01", - "type" : "Literal" - } - }, - "high" : { - "localId" : "974", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Time", - "type" : "Time", - "signature" : [ { - "localId" : "975", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "976", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "hour" : { - "localId" : "968", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "02", - "type" : "Literal" - }, - "minute" : { - "localId" : "969", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "02", - "type" : "Literal" - } - } - }, { - "localId" : "998", - "lowClosed" : true, - "highClosed" : false, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "999", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1000", - "name" : "{urn:hl7-org:elm-types:r1}Time", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "986", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Time", - "type" : "Time", - "signature" : [ { - "localId" : "987", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "988", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "hour" : { - "localId" : "980", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "01", - "type" : "Literal" - }, - "minute" : { - "localId" : "981", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "01", - "type" : "Literal" - } - }, - "high" : { - "localId" : "995", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Time", - "type" : "Time", - "signature" : [ { - "localId" : "996", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "997", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "hour" : { - "localId" : "989", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "02", - "type" : "Literal" - }, - "minute" : { - "localId" : "990", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "03", - "type" : "Literal" - } - } - } ] - } - }, { - "localId" : "1008", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "TimeOpenEnded", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "1008", + "r" : "672", + "value" : [ "Interval[", "null", ", " ] + }, { + "r" : "673", + "s" : [ { + "value" : [ "4 ", "'g'" ] + } ] + }, { + "value" : [ "]" ] + } ] + }, { + "value" : [ " }" ] + } ] + }, { + "value" : [ " per " ] + }, { + "r" : "682", + "s" : [ { + "value" : [ "1 ", "'g'" ] + } ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "691", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "692", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "693", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } + } + }, + "expression" : { + "type" : "Expand", + "localId" : "683", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "688", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "689", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "690", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } + } + }, + "signature" : [ { + "type" : "ListTypeSpecifier", + "localId" : "684", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "685", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "686", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } + } + }, { + "type" : "NamedTypeSpecifier", + "localId" : "687", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "List", + "localId" : "671", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "678", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "679", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "680", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } + } + }, + "element" : [ { + "type" : "Interval", + "localId" : "674", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "676", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "677", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } + }, + "low" : { + "type" : "As", + "localId" : "675", + "asType" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Null", + "localId" : "672", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } + }, + "high" : { + "type" : "Quantity", + "localId" : "673", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "value" : 4, + "unit" : "g", + "annotation" : [ ] + } + } ] + }, { + "type" : "Quantity", + "localId" : "682", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "value" : 1, + "unit" : "g", + "annotation" : [ ] + } ] + } + }, { + "localId" : "696", + "name" : "NullClose", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "696", + "s" : [ { + "value" : [ "", "define ", "NullClose", ": " ] + }, { + "r" : "709", + "s" : [ { + "value" : [ "expand " ] + }, { + "r" : "697", + "s" : [ { + "value" : [ "{ " ] + }, { + "r" : "700", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "698", + "s" : [ { + "value" : [ "2 ", "'g'" ] + } ] + }, { + "r" : "699", + "value" : [ ", ", "null", "]" ] + } ] + }, { + "value" : [ " }" ] + } ] + }, { + "value" : [ " per " ] + }, { + "r" : "708", + "s" : [ { + "value" : [ "1 ", "'g'" ] + } ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "717", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "718", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "719", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } + } + }, + "expression" : { + "type" : "Expand", + "localId" : "709", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "714", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "715", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "716", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } + } + }, + "signature" : [ { + "type" : "ListTypeSpecifier", + "localId" : "710", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "711", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "712", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } + } + }, { + "type" : "NamedTypeSpecifier", + "localId" : "713", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "List", + "localId" : "697", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "704", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "705", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "706", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } + } + }, + "element" : [ { + "type" : "Interval", + "localId" : "700", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "702", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "703", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } + }, + "low" : { + "type" : "Quantity", + "localId" : "698", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "value" : 2, + "unit" : "g", + "annotation" : [ ] + }, + "high" : { + "type" : "As", + "localId" : "701", + "asType" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Null", + "localId" : "699", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } + } + } ] + }, { + "type" : "Quantity", + "localId" : "708", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "value" : 1, + "unit" : "g", + "annotation" : [ ] + } ] + } + }, { + "localId" : "722", + "name" : "NullBoth", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "722", + "s" : [ { + "value" : [ "", "define ", "NullBoth", ": " ] + }, { + "r" : "734", + "s" : [ { + "value" : [ "expand " ] + }, { + "r" : "723", + "s" : [ { + "value" : [ "{ " ] + }, { + "r" : "726", "s" : [ { - "value" : [ "","define ","TimeOpenEnded",": " ] - }, { - "r" : "1037", - "s" : [ { - "r" : "1019", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "1015", - "s" : [ { - "r" : "1009", - "value" : [ "Time","(","01",",","01",")" ] - } ] - }, { - "r" : "1018", - "value" : [ ", ","null","]" ] - } ] - }, { - "r" : "1037", - "value" : [ " ","same as"," " ] - }, { - "r" : "1033", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "1029", - "s" : [ { - "r" : "1023", - "value" : [ "Time","(","01",",","01",")" ] - } ] - }, { - "r" : "1032", - "value" : [ ", ","null","]" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "1037", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "SameAs", - "signature" : [ { - "localId" : "1038", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1039", - "name" : "{urn:hl7-org:elm-types:r1}Time", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "1040", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1041", - "name" : "{urn:hl7-org:elm-types:r1}Time", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "1019", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "1021", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1022", - "name" : "{urn:hl7-org:elm-types:r1}Time", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "1015", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Time", - "type" : "Time", - "signature" : [ { - "localId" : "1016", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1017", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "hour" : { - "localId" : "1009", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "01", - "type" : "Literal" - }, - "minute" : { - "localId" : "1010", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "01", - "type" : "Literal" - } - }, - "high" : { - "localId" : "1020", - "asType" : "{urn:hl7-org:elm-types:r1}Time", - "type" : "As", - "signature" : [ ], - "operand" : { - "localId" : "1018", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - } - } - }, { - "localId" : "1033", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "1035", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1036", - "name" : "{urn:hl7-org:elm-types:r1}Time", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "1029", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Time", - "type" : "Time", - "signature" : [ { - "localId" : "1030", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1031", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "hour" : { - "localId" : "1023", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "01", - "type" : "Literal" - }, - "minute" : { - "localId" : "1024", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "01", - "type" : "Literal" - } - }, - "high" : { - "localId" : "1034", - "asType" : "{urn:hl7-org:elm-types:r1}Time", - "type" : "As", - "signature" : [ ], - "operand" : { - "localId" : "1032", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - } - } - } ] - } - }, { - "localId" : "1044", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "DateIntervalComparisonSame", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "1044", + "r" : "724", + "value" : [ "Interval[", "null", ", ", "null", "]" ] + } ] + }, { + "value" : [ " }" ] + } ] + }, { + "value" : [ " per " ] + }, { + "r" : "733", + "s" : [ { + "value" : [ "1 ", "'g'" ] + } ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "742", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "743", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "744", + "name" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } + } + }, + "expression" : { + "type" : "Expand", + "localId" : "734", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "739", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "740", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "741", + "name" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } + } + }, + "signature" : [ { + "type" : "ListTypeSpecifier", + "localId" : "735", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "736", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "737", + "name" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } + } + }, { + "type" : "NamedTypeSpecifier", + "localId" : "738", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "List", + "localId" : "723", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "729", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "730", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "731", + "name" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } + } + }, + "element" : [ { + "type" : "Interval", + "localId" : "726", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "727", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "728", + "name" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } + }, + "low" : { + "type" : "Null", + "localId" : "724", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + }, + "high" : { + "type" : "Null", + "localId" : "725", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } + } ] + }, { + "type" : "Quantity", + "localId" : "733", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "value" : 1, + "unit" : "g", + "annotation" : [ ] + } ] + } + }, { + "localId" : "747", + "name" : "BadPerMinute", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "747", + "s" : [ { + "value" : [ "", "define ", "BadPerMinute", ": " ] + }, { + "r" : "759", + "s" : [ { + "value" : [ "expand " ] + }, { + "r" : "748", + "s" : [ { + "value" : [ "{ " ] + }, { + "r" : "751", + "s" : [ { + "value" : [ "Interval(" ] + }, { + "r" : "749", + "s" : [ { + "value" : [ "2 ", "'g'" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "750", + "s" : [ { + "value" : [ "4 ", "'g'" ] + } ] + }, { + "value" : [ "]" ] + } ] + }, { + "value" : [ " }" ] + } ] + }, { + "value" : [ " per " ] + }, { + "r" : "758", + "s" : [ { + "value" : [ "1 ", "minute" ] + } ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "767", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "768", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "769", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } + } + }, + "expression" : { + "type" : "Expand", + "localId" : "759", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "764", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "765", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "766", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } + } + }, + "signature" : [ { + "type" : "ListTypeSpecifier", + "localId" : "760", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "761", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "762", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } + } + }, { + "type" : "NamedTypeSpecifier", + "localId" : "763", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "List", + "localId" : "748", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "754", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "755", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "756", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } + } + }, + "element" : [ { + "type" : "Interval", + "localId" : "751", + "lowClosed" : false, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "752", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "753", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } + }, + "low" : { + "type" : "Quantity", + "localId" : "749", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "value" : 2, + "unit" : "g", + "annotation" : [ ] + }, + "high" : { + "type" : "Quantity", + "localId" : "750", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "value" : 4, + "unit" : "g", + "annotation" : [ ] + } + } ] + }, { + "type" : "Quantity", + "localId" : "758", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "value" : 1, + "unit" : "minute", + "annotation" : [ ] + } ] + } + }, { + "localId" : "772", + "name" : "BadPerGram", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "772", + "s" : [ { + "value" : [ "", "define ", "BadPerGram", ": " ] + }, { + "r" : "784", + "s" : [ { + "value" : [ "expand " ] + }, { + "r" : "773", + "s" : [ { + "value" : [ "{ " ] + }, { + "r" : "776", "s" : [ { - "value" : [ "","define ","DateIntervalComparisonSame",": " ] - }, { - "r" : "1099", - "s" : [ { - "r" : "1069", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "1053", - "s" : [ { - "r" : "1045", - "value" : [ "Date","(","2018",",","01",",","01",")" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "1065", - "s" : [ { - "r" : "1057", - "value" : [ "Date","(","2018",",","02",",","02",")" ] - } ] - }, { - "value" : [ "]" ] - } ] - }, { - "r" : "1099", - "value" : [ " ","same as"," " ] - }, { - "r" : "1096", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "1080", - "s" : [ { - "r" : "1072", - "value" : [ "Date","(","2018",",","01",",","01",")" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "1092", - "s" : [ { - "r" : "1084", - "value" : [ "Date","(","2018",",","02",",","02",")" ] - } ] - }, { - "value" : [ "]" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "1099", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "SameAs", - "signature" : [ { - "localId" : "1100", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1101", - "name" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "1102", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1103", - "name" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "1069", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "1070", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1071", - "name" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "1053", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "Date", - "signature" : [ { - "localId" : "1054", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1055", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1056", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1045", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2018", - "type" : "Literal" - }, - "month" : { - "localId" : "1046", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "01", - "type" : "Literal" - }, - "day" : { - "localId" : "1047", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "01", - "type" : "Literal" - } - }, - "high" : { - "localId" : "1065", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "Date", - "signature" : [ { - "localId" : "1066", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1067", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1068", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1057", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2018", - "type" : "Literal" - }, - "month" : { - "localId" : "1058", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "02", - "type" : "Literal" - }, - "day" : { - "localId" : "1059", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "02", - "type" : "Literal" - } - } - }, { - "localId" : "1096", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "1097", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1098", - "name" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "1080", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "Date", - "signature" : [ { - "localId" : "1081", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1082", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1083", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1072", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2018", - "type" : "Literal" - }, - "month" : { - "localId" : "1073", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "01", - "type" : "Literal" - }, - "day" : { - "localId" : "1074", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "01", - "type" : "Literal" - } - }, - "high" : { - "localId" : "1092", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "Date", - "signature" : [ { - "localId" : "1093", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1094", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1095", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1084", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2018", - "type" : "Literal" - }, - "month" : { - "localId" : "1085", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "02", - "type" : "Literal" - }, - "day" : { - "localId" : "1086", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "02", - "type" : "Literal" - } - } - } ] - } - }, { - "localId" : "1106", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "DateIntervalComparisonNotSame", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "1106", + "value" : [ "Interval(" ] + }, { + "r" : "774", + "s" : [ { + "value" : [ "2 ", "'km'" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "775", + "s" : [ { + "value" : [ "4 ", "'km'" ] + } ] + }, { + "value" : [ "]" ] + } ] + }, { + "value" : [ " }" ] + } ] + }, { + "value" : [ " per " ] + }, { + "r" : "783", + "s" : [ { + "value" : [ "1 ", "'g'" ] + } ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "792", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "793", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "794", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } + } + }, + "expression" : { + "type" : "Expand", + "localId" : "784", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "789", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "790", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "791", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } + } + }, + "signature" : [ { + "type" : "ListTypeSpecifier", + "localId" : "785", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "786", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "787", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } + } + }, { + "type" : "NamedTypeSpecifier", + "localId" : "788", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "List", + "localId" : "773", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "779", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "780", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "781", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } + } + }, + "element" : [ { + "type" : "Interval", + "localId" : "776", + "lowClosed" : false, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "777", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "778", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } + }, + "low" : { + "type" : "Quantity", + "localId" : "774", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "value" : 2, + "unit" : "km", + "annotation" : [ ] + }, + "high" : { + "type" : "Quantity", + "localId" : "775", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "value" : 4, + "unit" : "km", + "annotation" : [ ] + } + } ] + }, { + "type" : "Quantity", + "localId" : "783", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "value" : 1, + "unit" : "g", + "annotation" : [ ] + } ] + } + } ] + } + } +} + +/* IntegerIntervalExpand +library TestSnippet version '1' +using Simple version '1.0.0' +context Patient +define ClosedSinglePer1: expand { Interval[2, 4] } per 1 '1' +define ClosedSinglePer3: expand { Interval[2, 10] } per 3 '1' +define ClosedSinglePer3NoteTheWidth: expand { Interval[2, 4] } per 3 '1' + +define NullInList: expand { Interval[2, 4], null } per 1 '1' +define Overlapping: expand { Interval[2, 4], Interval[3, 5] } per 1 '1' +define NonOverlapping: expand { Interval[2, 4], Interval[6, 6] } per 1 '1' + +define NoPer: expand { Interval[2, 4] } + +define OpenStart: expand { Interval(2, 4] } per 1 '1' +define OpenEnd: expand { Interval[2, 4) } per 1 '1' +define OpenBoth: expand { Interval(2, 4) } per 1 '1' + +define EmptyList: List>{} +define PerTooBig: expand { Interval[2, 4], null } per 5 '1' +define NullOpen: expand { Interval[null, 4] } per 1 '1' +define NullClose: expand { Interval[2, null] } per 1 '1' +define NullBoth: expand { Interval[null, null] } per 1 '1' +define BadPerMinute: expand { Interval(2, 4] } per 1 minute + +define PerDecimalMorePrecise: expand { Interval[10, 10] } per 0.1 +*/ + +module.exports['IntegerIntervalExpand'] = { + "library" : { + "localId" : "0", + "annotation" : [ { + "type" : "CqlToElmInfo", + "translatorVersion" : "4.2.0", + "translatorOptions" : "EnableDateRangeOptimization,EnableAnnotations,EnableResultTypes", + "signatureLevel" : "All" + }, { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "623", + "s" : [ { + "value" : [ "", "library TestSnippet version '1'" ] + } ] + } + } ], + "identifier" : { + "id" : "TestSnippet", + "version" : "1" + }, + "schemaIdentifier" : { + "id" : "urn:hl7-org:elm", + "version" : "r1" + }, + "usings" : { + "def" : [ { + "localId" : "1", + "localIdentifier" : "System", + "uri" : "urn:hl7-org:elm-types:r1", + "annotation" : [ ] + }, { + "localId" : "206", + "localIdentifier" : "Simple", + "uri" : "https://github.com/cqframework/cql-execution/simple", + "version" : "1.0.0", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "206", + "s" : [ { + "value" : [ "", "using " ] + }, { + "s" : [ { + "value" : [ "Simple" ] + } ] + }, { + "value" : [ " version '1.0.0'" ] + } ] + } + } ] + } ] + }, + "contexts" : { + "def" : [ { + "localId" : "211", + "name" : "Patient", + "annotation" : [ ] + } ] + }, + "statements" : { + "def" : [ { + "localId" : "209", + "name" : "Patient", + "context" : "Patient", + "annotation" : [ ], + "expression" : { + "type" : "SingletonFrom", + "localId" : "210", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Retrieve", + "localId" : "208", + "dataType" : "{https://github.com/cqframework/cql-execution/simple}Patient", + "annotation" : [ ], + "include" : [ ], + "codeFilter" : [ ], + "dateFilter" : [ ], + "otherFilter" : [ ] + } + } + }, { + "localId" : "214", + "name" : "ClosedSinglePer1", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "214", + "s" : [ { + "value" : [ "", "define ", "ClosedSinglePer1", ": " ] + }, { + "r" : "226", + "s" : [ { + "value" : [ "expand " ] + }, { + "r" : "215", + "s" : [ { + "value" : [ "{ " ] + }, { + "r" : "218", + "s" : [ { + "r" : "216", + "value" : [ "Interval[", "2", ", ", "4", "]" ] + } ] + }, { + "value" : [ " }" ] + } ] + }, { + "value" : [ " per " ] + }, { + "r" : "225", + "s" : [ { + "value" : [ "1 ", "'1'" ] + } ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "234", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "235", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "236", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } + }, + "expression" : { + "type" : "Expand", + "localId" : "226", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "231", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "232", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "233", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } + }, + "signature" : [ { + "type" : "ListTypeSpecifier", + "localId" : "227", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "228", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "229", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } + }, { + "type" : "NamedTypeSpecifier", + "localId" : "230", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "List", + "localId" : "215", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "221", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "222", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "223", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } + }, + "element" : [ { + "type" : "Interval", + "localId" : "218", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "219", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "220", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "low" : { + "type" : "Literal", + "localId" : "216", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "annotation" : [ ] + }, + "high" : { + "type" : "Literal", + "localId" : "217", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "4", + "annotation" : [ ] + } + } ] + }, { + "type" : "Quantity", + "localId" : "225", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "value" : 1, + "unit" : "1", + "annotation" : [ ] + } ] + } + }, { + "localId" : "239", + "name" : "ClosedSinglePer3", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "239", + "s" : [ { + "value" : [ "", "define ", "ClosedSinglePer3", ": " ] + }, { + "r" : "251", + "s" : [ { + "value" : [ "expand " ] + }, { + "r" : "240", + "s" : [ { + "value" : [ "{ " ] + }, { + "r" : "243", + "s" : [ { + "r" : "241", + "value" : [ "Interval[", "2", ", ", "10", "]" ] + } ] + }, { + "value" : [ " }" ] + } ] + }, { + "value" : [ " per " ] + }, { + "r" : "250", + "s" : [ { + "value" : [ "3 ", "'1'" ] + } ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "259", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "260", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "261", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } + }, + "expression" : { + "type" : "Expand", + "localId" : "251", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "256", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "257", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "258", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } + }, + "signature" : [ { + "type" : "ListTypeSpecifier", + "localId" : "252", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "253", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "254", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } + }, { + "type" : "NamedTypeSpecifier", + "localId" : "255", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "List", + "localId" : "240", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "246", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "247", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "248", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } + }, + "element" : [ { + "type" : "Interval", + "localId" : "243", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "244", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "245", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "low" : { + "type" : "Literal", + "localId" : "241", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "annotation" : [ ] + }, + "high" : { + "type" : "Literal", + "localId" : "242", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "10", + "annotation" : [ ] + } + } ] + }, { + "type" : "Quantity", + "localId" : "250", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "value" : 3, + "unit" : "1", + "annotation" : [ ] + } ] + } + }, { + "localId" : "264", + "name" : "ClosedSinglePer3NoteTheWidth", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "264", + "s" : [ { + "value" : [ "", "define ", "ClosedSinglePer3NoteTheWidth", ": " ] + }, { + "r" : "276", + "s" : [ { + "value" : [ "expand " ] + }, { + "r" : "265", + "s" : [ { + "value" : [ "{ " ] + }, { + "r" : "268", "s" : [ { - "value" : [ "","define ","DateIntervalComparisonNotSame",": " ] - }, { - "r" : "1161", - "s" : [ { - "r" : "1131", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "1115", - "s" : [ { - "r" : "1107", - "value" : [ "Date","(","2018",",","01",",","01",")" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "1127", - "s" : [ { - "r" : "1119", - "value" : [ "Date","(","2018",",","02",",","02",")" ] - } ] - }, { - "value" : [ "]" ] - } ] - }, { - "r" : "1161", - "value" : [ " ","same as"," " ] - }, { - "r" : "1158", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "1142", - "s" : [ { - "r" : "1134", - "value" : [ "Date","(","2018",",","01",",","01",")" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "1154", - "s" : [ { - "r" : "1146", - "value" : [ "Date","(","2018",",","02",",","01",")" ] - } ] - }, { - "value" : [ "]" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "1161", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "SameAs", - "signature" : [ { - "localId" : "1162", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1163", - "name" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "1164", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1165", - "name" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "1131", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "1132", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1133", - "name" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "1115", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "Date", - "signature" : [ { - "localId" : "1116", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1117", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1118", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1107", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2018", - "type" : "Literal" - }, - "month" : { - "localId" : "1108", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "01", - "type" : "Literal" - }, - "day" : { - "localId" : "1109", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "01", - "type" : "Literal" - } - }, - "high" : { - "localId" : "1127", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "Date", - "signature" : [ { - "localId" : "1128", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1129", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1130", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1119", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2018", - "type" : "Literal" - }, - "month" : { - "localId" : "1120", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "02", - "type" : "Literal" - }, - "day" : { - "localId" : "1121", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "02", - "type" : "Literal" - } - } - }, { - "localId" : "1158", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "1159", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1160", - "name" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "1142", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "Date", - "signature" : [ { - "localId" : "1143", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1144", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1145", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1134", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2018", - "type" : "Literal" - }, - "month" : { - "localId" : "1135", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "01", - "type" : "Literal" - }, - "day" : { - "localId" : "1136", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "01", - "type" : "Literal" - } - }, - "high" : { - "localId" : "1154", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "Date", - "signature" : [ { - "localId" : "1155", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1156", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1157", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1146", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2018", - "type" : "Literal" - }, - "month" : { - "localId" : "1147", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "02", - "type" : "Literal" - }, - "day" : { - "localId" : "1148", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "01", - "type" : "Literal" - } - } - } ] - } - }, { - "localId" : "1168", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "TimeIntervalComparisonSame", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "1168", + "r" : "266", + "value" : [ "Interval[", "2", ", ", "4", "]" ] + } ] + }, { + "value" : [ " }" ] + } ] + }, { + "value" : [ " per " ] + }, { + "r" : "275", + "s" : [ { + "value" : [ "3 ", "'1'" ] + } ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "284", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "285", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "286", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } + }, + "expression" : { + "type" : "Expand", + "localId" : "276", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "281", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "282", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "283", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } + }, + "signature" : [ { + "type" : "ListTypeSpecifier", + "localId" : "277", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "278", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "279", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } + }, { + "type" : "NamedTypeSpecifier", + "localId" : "280", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "List", + "localId" : "265", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "271", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "272", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "273", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } + }, + "element" : [ { + "type" : "Interval", + "localId" : "268", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "269", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "270", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "low" : { + "type" : "Literal", + "localId" : "266", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "annotation" : [ ] + }, + "high" : { + "type" : "Literal", + "localId" : "267", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "4", + "annotation" : [ ] + } + } ] + }, { + "type" : "Quantity", + "localId" : "275", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "value" : 3, + "unit" : "1", + "annotation" : [ ] + } ] + } + }, { + "localId" : "289", + "name" : "NullInList", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "289", + "s" : [ { + "value" : [ "", "define ", "NullInList", ": " ] + }, { + "r" : "305", + "s" : [ { + "value" : [ "expand " ] + }, { + "r" : "290", + "s" : [ { + "value" : [ "{ " ] + }, { + "r" : "293", "s" : [ { - "value" : [ "","define ","TimeIntervalComparisonSame",": " ] - }, { - "r" : "1211", - "s" : [ { - "r" : "1187", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "1175", - "s" : [ { - "r" : "1169", - "value" : [ "Time","(","01",",","01",")" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "1184", - "s" : [ { - "r" : "1178", - "value" : [ "Time","(","02",",","02",")" ] - } ] - }, { - "value" : [ "]" ] - } ] - }, { - "r" : "1211", - "value" : [ " ","same as"," " ] - }, { - "r" : "1208", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "1196", - "s" : [ { - "r" : "1190", - "value" : [ "Time","(","01",",","01",")" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "1205", - "s" : [ { - "r" : "1199", - "value" : [ "Time","(","02",",","02",")" ] - } ] - }, { - "value" : [ "]" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "1211", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "SameAs", - "signature" : [ { - "localId" : "1212", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1213", - "name" : "{urn:hl7-org:elm-types:r1}Time", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "1214", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1215", - "name" : "{urn:hl7-org:elm-types:r1}Time", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "1187", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "1188", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1189", - "name" : "{urn:hl7-org:elm-types:r1}Time", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "1175", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Time", - "type" : "Time", - "signature" : [ { - "localId" : "1176", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1177", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "hour" : { - "localId" : "1169", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "01", - "type" : "Literal" - }, - "minute" : { - "localId" : "1170", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "01", - "type" : "Literal" - } - }, - "high" : { - "localId" : "1184", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Time", - "type" : "Time", - "signature" : [ { - "localId" : "1185", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1186", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "hour" : { - "localId" : "1178", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "02", - "type" : "Literal" - }, - "minute" : { - "localId" : "1179", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "02", - "type" : "Literal" - } - } - }, { - "localId" : "1208", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "1209", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1210", - "name" : "{urn:hl7-org:elm-types:r1}Time", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "1196", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Time", - "type" : "Time", - "signature" : [ { - "localId" : "1197", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1198", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "hour" : { - "localId" : "1190", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "01", - "type" : "Literal" - }, - "minute" : { - "localId" : "1191", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "01", - "type" : "Literal" - } - }, - "high" : { - "localId" : "1205", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Time", - "type" : "Time", - "signature" : [ { - "localId" : "1206", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1207", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "hour" : { - "localId" : "1199", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "02", - "type" : "Literal" - }, - "minute" : { - "localId" : "1200", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "02", - "type" : "Literal" - } - } - } ] - } - }, { - "localId" : "1218", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "TimeIntervalComparisonNotSame", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "1218", - "s" : [ { - "value" : [ "","define ","TimeIntervalComparisonNotSame",": " ] - }, { - "r" : "1261", - "s" : [ { - "r" : "1237", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "1225", - "s" : [ { - "r" : "1219", - "value" : [ "Time","(","01",",","01",")" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "1234", - "s" : [ { - "r" : "1228", - "value" : [ "Time","(","02",",","02",")" ] - } ] - }, { - "value" : [ "]" ] - } ] - }, { - "r" : "1261", - "value" : [ " ","same as"," " ] - }, { - "r" : "1258", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "1246", - "s" : [ { - "r" : "1240", - "value" : [ "Time","(","01",",","01",")" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "1255", - "s" : [ { - "r" : "1249", - "value" : [ "Time","(","08",",","01",")" ] - } ] - }, { - "value" : [ "]" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "1261", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "SameAs", - "signature" : [ { - "localId" : "1262", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1263", - "name" : "{urn:hl7-org:elm-types:r1}Time", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "1264", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1265", - "name" : "{urn:hl7-org:elm-types:r1}Time", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "1237", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "1238", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1239", - "name" : "{urn:hl7-org:elm-types:r1}Time", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "1225", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Time", - "type" : "Time", - "signature" : [ { - "localId" : "1226", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1227", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "hour" : { - "localId" : "1219", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "01", - "type" : "Literal" - }, - "minute" : { - "localId" : "1220", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "01", - "type" : "Literal" - } - }, - "high" : { - "localId" : "1234", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Time", - "type" : "Time", - "signature" : [ { - "localId" : "1235", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1236", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "hour" : { - "localId" : "1228", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "02", - "type" : "Literal" - }, - "minute" : { - "localId" : "1229", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "02", - "type" : "Literal" - } - } - }, { - "localId" : "1258", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "1259", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1260", - "name" : "{urn:hl7-org:elm-types:r1}Time", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "1246", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Time", - "type" : "Time", - "signature" : [ { - "localId" : "1247", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1248", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "hour" : { - "localId" : "1240", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "01", - "type" : "Literal" - }, - "minute" : { - "localId" : "1241", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "01", - "type" : "Literal" - } - }, - "high" : { - "localId" : "1255", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Time", - "type" : "Time", - "signature" : [ { - "localId" : "1256", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1257", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "hour" : { - "localId" : "1249", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "08", - "type" : "Literal" - }, - "minute" : { - "localId" : "1250", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "01", - "type" : "Literal" - } - } - } ] - } - }, { - "localId" : "1268", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "DateTimeYearPrecisionSame", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "1268", + "r" : "291", + "value" : [ "Interval[", "2", ", ", "4", "]" ] + } ] + }, { + "r" : "296", + "value" : [ ", ", "null", " }" ] + } ] + }, { + "value" : [ " per " ] + }, { + "r" : "304", + "s" : [ { + "value" : [ "1 ", "'1'" ] + } ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "313", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "314", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "315", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } + }, + "expression" : { + "type" : "Expand", + "localId" : "305", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "310", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "311", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "312", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } + }, + "signature" : [ { + "type" : "ListTypeSpecifier", + "localId" : "306", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "307", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "308", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } + }, { + "type" : "NamedTypeSpecifier", + "localId" : "309", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "List", + "localId" : "290", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "300", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "301", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "302", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } + }, + "element" : [ { + "type" : "Interval", + "localId" : "293", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "294", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "295", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "low" : { + "type" : "Literal", + "localId" : "291", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "annotation" : [ ] + }, + "high" : { + "type" : "Literal", + "localId" : "292", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "4", + "annotation" : [ ] + } + }, { + "type" : "As", + "localId" : "297", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Null", + "localId" : "296", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + }, + "asTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "298", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "299", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } + } ] + }, { + "type" : "Quantity", + "localId" : "304", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "value" : 1, + "unit" : "1", + "annotation" : [ ] + } ] + } + }, { + "localId" : "318", + "name" : "Overlapping", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "318", + "s" : [ { + "value" : [ "", "define ", "Overlapping", ": " ] + }, { + "r" : "335", + "s" : [ { + "value" : [ "expand " ] + }, { + "r" : "319", + "s" : [ { + "value" : [ "{ " ] + }, { + "r" : "322", "s" : [ { - "value" : [ "","define ","DateTimeYearPrecisionSame",": " ] - }, { - "r" : "1323", - "s" : [ { - "r" : "1293", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "1277", - "s" : [ { - "r" : "1269", - "value" : [ "DateTime","(","2018",",","01",",","01",")" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "1289", - "s" : [ { - "r" : "1281", - "value" : [ "DateTime","(","2019",",","01",",","01",")" ] - } ] - }, { - "value" : [ "]" ] - } ] - }, { - "r" : "1323", - "value" : [ " ","same year as"," " ] - }, { - "r" : "1320", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "1304", - "s" : [ { - "r" : "1296", - "value" : [ "DateTime","(","2018",",","02",",","01",")" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "1316", - "s" : [ { - "r" : "1308", - "value" : [ "DateTime","(","2019",",","05",",","01",")" ] - } ] - }, { - "value" : [ "]" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "1323", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "precision" : "Year", - "type" : "SameAs", - "signature" : [ { - "localId" : "1324", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1325", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "1326", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1327", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "1293", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "1294", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1295", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "1277", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "1278", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1279", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1280", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1269", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2018", - "type" : "Literal" - }, - "month" : { - "localId" : "1270", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "01", - "type" : "Literal" - }, - "day" : { - "localId" : "1271", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "01", - "type" : "Literal" - } - }, - "high" : { - "localId" : "1289", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "1290", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1291", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1292", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1281", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2019", - "type" : "Literal" - }, - "month" : { - "localId" : "1282", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "01", - "type" : "Literal" - }, - "day" : { - "localId" : "1283", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "01", - "type" : "Literal" - } - } - }, { - "localId" : "1320", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "1321", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1322", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "1304", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "1305", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1306", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1307", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1296", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2018", - "type" : "Literal" - }, - "month" : { - "localId" : "1297", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "02", - "type" : "Literal" - }, - "day" : { - "localId" : "1298", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "01", - "type" : "Literal" - } - }, - "high" : { - "localId" : "1316", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "1317", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1318", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1319", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1308", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2019", - "type" : "Literal" - }, - "month" : { - "localId" : "1309", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "05", - "type" : "Literal" - }, - "day" : { - "localId" : "1310", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "01", - "type" : "Literal" - } - } - } ] - } - }, { - "localId" : "1330", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "DateTimeYearPrecisionNotSame", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "1330", + "r" : "320", + "value" : [ "Interval[", "2", ", ", "4", "]" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "327", "s" : [ { - "value" : [ "","define ","DateTimeYearPrecisionNotSame",": " ] - }, { - "r" : "1385", - "s" : [ { - "r" : "1355", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "1339", - "s" : [ { - "r" : "1331", - "value" : [ "DateTime","(","2018",",","01",",","01",")" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "1351", - "s" : [ { - "r" : "1343", - "value" : [ "DateTime","(","2019",",","01",",","01",")" ] - } ] - }, { - "value" : [ "]" ] - } ] - }, { - "r" : "1385", - "value" : [ " ","same year as"," " ] - }, { - "r" : "1382", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "1366", - "s" : [ { - "r" : "1358", - "value" : [ "DateTime","(","2018",",","02",",","01",")" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "1378", - "s" : [ { - "r" : "1370", - "value" : [ "DateTime","(","2020",",","05",",","01",")" ] - } ] - }, { - "value" : [ "]" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "1385", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "precision" : "Year", - "type" : "SameAs", - "signature" : [ { - "localId" : "1386", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1387", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "1388", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1389", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "1355", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "1356", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1357", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "1339", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "1340", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1341", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1342", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1331", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2018", - "type" : "Literal" - }, - "month" : { - "localId" : "1332", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "01", - "type" : "Literal" - }, - "day" : { - "localId" : "1333", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "01", - "type" : "Literal" - } - }, - "high" : { - "localId" : "1351", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "1352", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1353", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1354", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1343", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2019", - "type" : "Literal" - }, - "month" : { - "localId" : "1344", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "01", - "type" : "Literal" - }, - "day" : { - "localId" : "1345", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "01", - "type" : "Literal" - } - } - }, { - "localId" : "1382", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "1383", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1384", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "1366", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "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" - }, { - "localId" : "1369", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1358", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2018", - "type" : "Literal" - }, - "month" : { - "localId" : "1359", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "02", - "type" : "Literal" - }, - "day" : { - "localId" : "1360", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "01", - "type" : "Literal" - } - }, - "high" : { - "localId" : "1378", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "1379", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1380", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1381", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1370", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2020", - "type" : "Literal" - }, - "month" : { - "localId" : "1371", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "05", - "type" : "Literal" - }, - "day" : { - "localId" : "1372", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "01", - "type" : "Literal" - } - } - } ] - } - }, { - "localId" : "1392", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "DateYearPrecisionSame", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "1392", + "r" : "325", + "value" : [ "Interval[", "3", ", ", "5", "]" ] + } ] + }, { + "value" : [ " }" ] + } ] + }, { + "value" : [ " per " ] + }, { + "r" : "334", + "s" : [ { + "value" : [ "1 ", "'1'" ] + } ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "343", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "344", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "345", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } + }, + "expression" : { + "type" : "Expand", + "localId" : "335", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "340", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "341", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "342", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } + }, + "signature" : [ { + "type" : "ListTypeSpecifier", + "localId" : "336", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "337", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "338", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } + }, { + "type" : "NamedTypeSpecifier", + "localId" : "339", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "List", + "localId" : "319", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "330", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "331", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "332", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } + }, + "element" : [ { + "type" : "Interval", + "localId" : "322", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "323", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "324", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "low" : { + "type" : "Literal", + "localId" : "320", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "annotation" : [ ] + }, + "high" : { + "type" : "Literal", + "localId" : "321", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "4", + "annotation" : [ ] + } + }, { + "type" : "Interval", + "localId" : "327", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "328", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "329", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "low" : { + "type" : "Literal", + "localId" : "325", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "high" : { + "type" : "Literal", + "localId" : "326", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "5", + "annotation" : [ ] + } + } ] + }, { + "type" : "Quantity", + "localId" : "334", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "value" : 1, + "unit" : "1", + "annotation" : [ ] + } ] + } + }, { + "localId" : "348", + "name" : "NonOverlapping", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "348", + "s" : [ { + "value" : [ "", "define ", "NonOverlapping", ": " ] + }, { + "r" : "365", + "s" : [ { + "value" : [ "expand " ] + }, { + "r" : "349", + "s" : [ { + "value" : [ "{ " ] + }, { + "r" : "352", + "s" : [ { + "r" : "350", + "value" : [ "Interval[", "2", ", ", "4", "]" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "357", + "s" : [ { + "r" : "355", + "value" : [ "Interval[", "6", ", ", "6", "]" ] + } ] + }, { + "value" : [ " }" ] + } ] + }, { + "value" : [ " per " ] + }, { + "r" : "364", + "s" : [ { + "value" : [ "1 ", "'1'" ] + } ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "373", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "374", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "375", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } + }, + "expression" : { + "type" : "Expand", + "localId" : "365", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "370", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "371", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "372", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } + }, + "signature" : [ { + "type" : "ListTypeSpecifier", + "localId" : "366", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "367", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "368", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } + }, { + "type" : "NamedTypeSpecifier", + "localId" : "369", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "List", + "localId" : "349", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "360", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "361", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "362", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } + }, + "element" : [ { + "type" : "Interval", + "localId" : "352", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "353", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "354", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "low" : { + "type" : "Literal", + "localId" : "350", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "annotation" : [ ] + }, + "high" : { + "type" : "Literal", + "localId" : "351", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "4", + "annotation" : [ ] + } + }, { + "type" : "Interval", + "localId" : "357", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "358", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "359", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "low" : { + "type" : "Literal", + "localId" : "355", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "6", + "annotation" : [ ] + }, + "high" : { + "type" : "Literal", + "localId" : "356", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "6", + "annotation" : [ ] + } + } ] + }, { + "type" : "Quantity", + "localId" : "364", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "value" : 1, + "unit" : "1", + "annotation" : [ ] + } ] + } + }, { + "localId" : "378", + "name" : "NoPer", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "378", + "s" : [ { + "value" : [ "", "define ", "NoPer", ": " ] + }, { + "r" : "389", + "s" : [ { + "value" : [ "expand " ] + }, { + "r" : "379", + "s" : [ { + "value" : [ "{ " ] + }, { + "r" : "382", "s" : [ { - "value" : [ "","define ","DateYearPrecisionSame",": " ] - }, { - "r" : "1447", - "s" : [ { - "r" : "1417", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "1401", - "s" : [ { - "r" : "1393", - "value" : [ "Date","(","2018",",","01",",","01",")" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "1413", - "s" : [ { - "r" : "1405", - "value" : [ "Date","(","2019",",","01",",","01",")" ] - } ] - }, { - "value" : [ "]" ] - } ] - }, { - "r" : "1447", - "value" : [ " ","same year as"," " ] - }, { - "r" : "1444", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "1428", - "s" : [ { - "r" : "1420", - "value" : [ "Date","(","2018",",","02",",","01",")" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "1440", - "s" : [ { - "r" : "1432", - "value" : [ "Date","(","2019",",","05",",","01",")" ] - } ] - }, { - "value" : [ "]" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "1447", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "precision" : "Year", - "type" : "SameAs", - "signature" : [ { - "localId" : "1448", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1449", - "name" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "1450", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1451", - "name" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "1417", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "1418", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1419", - "name" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "1401", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "Date", - "signature" : [ { - "localId" : "1402", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1403", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1404", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1393", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2018", - "type" : "Literal" - }, - "month" : { - "localId" : "1394", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "01", - "type" : "Literal" - }, - "day" : { - "localId" : "1395", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "01", - "type" : "Literal" - } - }, - "high" : { - "localId" : "1413", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "Date", - "signature" : [ { - "localId" : "1414", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1415", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1416", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1405", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2019", - "type" : "Literal" - }, - "month" : { - "localId" : "1406", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "01", - "type" : "Literal" - }, - "day" : { - "localId" : "1407", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "01", - "type" : "Literal" - } - } - }, { - "localId" : "1444", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "1445", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1446", - "name" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "1428", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "Date", - "signature" : [ { - "localId" : "1429", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1430", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1431", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1420", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2018", - "type" : "Literal" - }, - "month" : { - "localId" : "1421", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "02", - "type" : "Literal" - }, - "day" : { - "localId" : "1422", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "01", - "type" : "Literal" - } - }, - "high" : { - "localId" : "1440", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "Date", - "signature" : [ { - "localId" : "1441", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1442", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1443", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1432", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2019", - "type" : "Literal" - }, - "month" : { - "localId" : "1433", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "05", - "type" : "Literal" - }, - "day" : { - "localId" : "1434", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "01", - "type" : "Literal" - } - } - } ] - } - }, { - "localId" : "1454", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "DateYearPrecisionNotSame", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "1454", - "s" : [ { - "value" : [ "","define ","DateYearPrecisionNotSame",": " ] - }, { - "r" : "1509", - "s" : [ { - "r" : "1479", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "1463", - "s" : [ { - "r" : "1455", - "value" : [ "Date","(","2018",",","01",",","01",")" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "1475", - "s" : [ { - "r" : "1467", - "value" : [ "Date","(","2019",",","01",",","01",")" ] - } ] - }, { - "value" : [ "]" ] - } ] - }, { - "r" : "1509", - "value" : [ " ","same year as"," " ] - }, { - "r" : "1506", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "1490", - "s" : [ { - "r" : "1482", - "value" : [ "Date","(","2018",",","02",",","01",")" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "1502", - "s" : [ { - "r" : "1494", - "value" : [ "Date","(","2020",",","05",",","01",")" ] - } ] - }, { - "value" : [ "]" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "1509", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "precision" : "Year", - "type" : "SameAs", - "signature" : [ { - "localId" : "1510", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1511", - "name" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "1512", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1513", - "name" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "1479", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "1480", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1481", - "name" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "1463", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "Date", - "signature" : [ { - "localId" : "1464", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1465", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1466", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1455", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2018", - "type" : "Literal" - }, - "month" : { - "localId" : "1456", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "01", - "type" : "Literal" - }, - "day" : { - "localId" : "1457", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "01", - "type" : "Literal" - } - }, - "high" : { - "localId" : "1475", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "Date", - "signature" : [ { - "localId" : "1476", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1477", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1478", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1467", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2019", - "type" : "Literal" - }, - "month" : { - "localId" : "1468", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "01", - "type" : "Literal" - }, - "day" : { - "localId" : "1469", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "01", - "type" : "Literal" - } - } - }, { - "localId" : "1506", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "1507", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1508", - "name" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "1490", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "Date", - "signature" : [ { - "localId" : "1491", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1492", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1493", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1482", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2018", - "type" : "Literal" - }, - "month" : { - "localId" : "1483", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "02", - "type" : "Literal" - }, - "day" : { - "localId" : "1484", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "01", - "type" : "Literal" - } - }, - "high" : { - "localId" : "1502", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "Date", - "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" - }, { - "localId" : "1505", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1494", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2020", - "type" : "Literal" - }, - "month" : { - "localId" : "1495", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "05", - "type" : "Literal" - }, - "day" : { - "localId" : "1496", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "01", - "type" : "Literal" - } - } - } ] - } - }, { - "localId" : "1516", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "DateTimeMonthPrecisionSame", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "1516", - "s" : [ { - "value" : [ "","define ","DateTimeMonthPrecisionSame",": " ] - }, { - "r" : "1571", - "s" : [ { - "r" : "1541", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "1525", - "s" : [ { - "r" : "1517", - "value" : [ "DateTime","(","2018",",","01",",","01",")" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "1537", - "s" : [ { - "r" : "1529", - "value" : [ "DateTime","(","2019",",","01",",","01",")" ] - } ] - }, { - "value" : [ "]" ] - } ] - }, { - "r" : "1571", - "value" : [ " ","same month as"," " ] - }, { - "r" : "1568", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "1552", - "s" : [ { - "r" : "1544", - "value" : [ "DateTime","(","2018",",","01",",","01",")" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "1564", - "s" : [ { - "r" : "1556", - "value" : [ "DateTime","(","2019",",","01",",","03",")" ] - } ] - }, { - "value" : [ "]" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "1571", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "precision" : "Month", - "type" : "SameAs", - "signature" : [ { - "localId" : "1572", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1573", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "1574", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1575", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "1541", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "1542", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1543", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "1525", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "1526", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1527", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1528", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1517", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2018", - "type" : "Literal" - }, - "month" : { - "localId" : "1518", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "01", - "type" : "Literal" - }, - "day" : { - "localId" : "1519", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "01", - "type" : "Literal" - } - }, - "high" : { - "localId" : "1537", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "1538", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1539", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1540", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1529", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2019", - "type" : "Literal" - }, - "month" : { - "localId" : "1530", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "01", - "type" : "Literal" - }, - "day" : { - "localId" : "1531", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "01", - "type" : "Literal" - } - } - }, { - "localId" : "1568", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "1569", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1570", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "1552", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "1553", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1554", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1555", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1544", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2018", - "type" : "Literal" - }, - "month" : { - "localId" : "1545", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "01", - "type" : "Literal" - }, - "day" : { - "localId" : "1546", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "01", - "type" : "Literal" - } - }, - "high" : { - "localId" : "1564", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "1565", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1566", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1567", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1556", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2019", - "type" : "Literal" - }, - "month" : { - "localId" : "1557", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "01", - "type" : "Literal" - }, - "day" : { - "localId" : "1558", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "03", - "type" : "Literal" - } - } - } ] - } - }, { - "localId" : "1578", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "DateTimeMonthPrecisionNotSame", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "1578", - "s" : [ { - "value" : [ "","define ","DateTimeMonthPrecisionNotSame",": " ] - }, { - "r" : "1633", - "s" : [ { - "r" : "1603", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "1587", - "s" : [ { - "r" : "1579", - "value" : [ "DateTime","(","2018",",","01",",","01",")" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "1599", - "s" : [ { - "r" : "1591", - "value" : [ "DateTime","(","2019",",","01",",","01",")" ] - } ] - }, { - "value" : [ "]" ] - } ] - }, { - "r" : "1633", - "value" : [ " ","same month as"," " ] - }, { - "r" : "1630", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "1614", - "s" : [ { - "r" : "1606", - "value" : [ "DateTime","(","2018",",","02",",","01",")" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "1626", - "s" : [ { - "r" : "1618", - "value" : [ "DateTime","(","2019",",","01",",","01",")" ] - } ] - }, { - "value" : [ "]" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "1633", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "precision" : "Month", - "type" : "SameAs", - "signature" : [ { - "localId" : "1634", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1635", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "1636", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1637", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "1603", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "1604", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1605", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "1587", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "1588", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1589", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1590", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1579", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2018", - "type" : "Literal" - }, - "month" : { - "localId" : "1580", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "01", - "type" : "Literal" - }, - "day" : { - "localId" : "1581", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "01", - "type" : "Literal" - } - }, - "high" : { - "localId" : "1599", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "1600", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1601", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1602", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1591", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2019", - "type" : "Literal" - }, - "month" : { - "localId" : "1592", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "01", - "type" : "Literal" - }, - "day" : { - "localId" : "1593", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "01", - "type" : "Literal" - } - } - }, { - "localId" : "1630", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "1631", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1632", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "1614", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "1615", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1616", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1617", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1606", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2018", - "type" : "Literal" - }, - "month" : { - "localId" : "1607", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "02", - "type" : "Literal" - }, - "day" : { - "localId" : "1608", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "01", - "type" : "Literal" - } - }, - "high" : { - "localId" : "1626", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "1627", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1628", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1629", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1618", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2019", - "type" : "Literal" - }, - "month" : { - "localId" : "1619", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "01", - "type" : "Literal" - }, - "day" : { - "localId" : "1620", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "01", - "type" : "Literal" - } - } - } ] - } - }, { - "localId" : "1640", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "DateTimeDayPrecisionSame", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "1640", + "r" : "380", + "value" : [ "Interval[", "2", ", ", "4", "]" ] + } ] + }, { + "value" : [ " }" ] + } ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "397", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "398", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "399", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } + }, + "expression" : { + "type" : "Expand", + "localId" : "389", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "394", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "395", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "396", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } + }, + "signature" : [ { + "type" : "ListTypeSpecifier", + "localId" : "390", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "391", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "392", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } + }, { + "type" : "NamedTypeSpecifier", + "localId" : "393", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "List", + "localId" : "379", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "385", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "386", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "387", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } + }, + "element" : [ { + "type" : "Interval", + "localId" : "382", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "383", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "384", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "low" : { + "type" : "Literal", + "localId" : "380", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "annotation" : [ ] + }, + "high" : { + "type" : "Literal", + "localId" : "381", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "4", + "annotation" : [ ] + } + } ] + }, { + "type" : "Null", + "localId" : "388", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } ] + } + }, { + "localId" : "402", + "name" : "OpenStart", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "402", + "s" : [ { + "value" : [ "", "define ", "OpenStart", ": " ] + }, { + "r" : "414", + "s" : [ { + "value" : [ "expand " ] + }, { + "r" : "403", + "s" : [ { + "value" : [ "{ " ] + }, { + "r" : "406", "s" : [ { - "value" : [ "","define ","DateTimeDayPrecisionSame",": " ] - }, { - "r" : "1701", - "s" : [ { - "r" : "1665", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "1649", - "s" : [ { - "r" : "1641", - "value" : [ "DateTime","(","2018",",","01",",","01",")" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "1661", - "s" : [ { - "r" : "1653", - "value" : [ "DateTime","(","2019",",","01",",","01",")" ] - } ] - }, { - "value" : [ "]" ] - } ] - }, { - "r" : "1701", - "value" : [ " ","same day as"," " ] - }, { - "r" : "1698", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "1678", - "s" : [ { - "r" : "1668", - "value" : [ "DateTime","(","2018",",","01",",","01",",","05",")" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "1693", - "s" : [ { - "r" : "1683", - "value" : [ "DateTime","(","2019",",","01",",","01",",","09",")" ] - } ] - }, { - "value" : [ "]" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "1701", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "precision" : "Day", - "type" : "SameAs", - "signature" : [ { - "localId" : "1702", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1703", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "1704", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1705", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "1665", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "1666", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1667", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "1649", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "1650", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1651", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1652", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1641", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2018", - "type" : "Literal" - }, - "month" : { - "localId" : "1642", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "01", - "type" : "Literal" - }, - "day" : { - "localId" : "1643", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "01", - "type" : "Literal" - } - }, - "high" : { - "localId" : "1661", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "1662", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1663", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1664", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1653", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2019", - "type" : "Literal" - }, - "month" : { - "localId" : "1654", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "01", - "type" : "Literal" - }, - "day" : { - "localId" : "1655", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "01", - "type" : "Literal" - } - } - }, { - "localId" : "1698", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "1699", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1700", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "1678", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "1679", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1680", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1681", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1682", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1668", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2018", - "type" : "Literal" - }, - "month" : { - "localId" : "1669", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "01", - "type" : "Literal" - }, - "day" : { - "localId" : "1670", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "01", - "type" : "Literal" - }, - "hour" : { - "localId" : "1671", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "05", - "type" : "Literal" - } - }, - "high" : { - "localId" : "1693", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "1694", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1695", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1696", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1697", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1683", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2019", - "type" : "Literal" - }, - "month" : { - "localId" : "1684", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "01", - "type" : "Literal" - }, - "day" : { - "localId" : "1685", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "01", - "type" : "Literal" - }, - "hour" : { - "localId" : "1686", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "09", - "type" : "Literal" - } - } - } ] - } - }, { - "localId" : "1708", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "DateTimeDayPrecisionNotSame", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "1708", - "s" : [ { - "value" : [ "","define ","DateTimeDayPrecisionNotSame",": " ] - }, { - "r" : "1766", - "s" : [ { - "r" : "1733", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "1717", - "s" : [ { - "r" : "1709", - "value" : [ "DateTime","(","2018",",","01",",","01",")" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "1729", - "s" : [ { - "r" : "1721", - "value" : [ "DateTime","(","2019",",","01",",","01",")" ] - } ] - }, { - "value" : [ "]" ] - } ] - }, { - "r" : "1766", - "value" : [ " ","same day as"," " ] - }, { - "r" : "1763", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "1744", - "s" : [ { - "r" : "1736", - "value" : [ "DateTime","(","2018",",","01",",","01",")" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "1758", - "s" : [ { - "r" : "1748", - "value" : [ "DateTime","(","2019",",","01",",","02",",","06",")" ] - } ] - }, { - "value" : [ "]" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "1766", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "precision" : "Day", - "type" : "SameAs", - "signature" : [ { - "localId" : "1767", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1768", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "1769", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1770", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "1733", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "1734", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1735", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "1717", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "1718", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1719", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1720", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1709", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2018", - "type" : "Literal" - }, - "month" : { - "localId" : "1710", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "01", - "type" : "Literal" - }, - "day" : { - "localId" : "1711", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "01", - "type" : "Literal" - } - }, - "high" : { - "localId" : "1729", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "1730", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1731", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1732", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1721", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2019", - "type" : "Literal" - }, - "month" : { - "localId" : "1722", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "01", - "type" : "Literal" - }, - "day" : { - "localId" : "1723", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "01", - "type" : "Literal" - } - } - }, { - "localId" : "1763", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "1764", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1765", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "1744", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "1745", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1746", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1747", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1736", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2018", - "type" : "Literal" - }, - "month" : { - "localId" : "1737", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "01", - "type" : "Literal" - }, - "day" : { - "localId" : "1738", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "01", - "type" : "Literal" - } - }, - "high" : { - "localId" : "1758", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "1759", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1760", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1761", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1762", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1748", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2019", - "type" : "Literal" - }, - "month" : { - "localId" : "1749", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "01", - "type" : "Literal" - }, - "day" : { - "localId" : "1750", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "02", - "type" : "Literal" - }, - "hour" : { - "localId" : "1751", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "06", - "type" : "Literal" - } - } - } ] - } - }, { - "localId" : "1773", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "DateTimeHourPrecisionSame", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "1773", - "s" : [ { - "value" : [ "","define ","DateTimeHourPrecisionSame",": " ] - }, { - "r" : "1843", - "s" : [ { - "r" : "1804", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "1784", - "s" : [ { - "r" : "1774", - "value" : [ "DateTime","(","2018",",","01",",","01",",","01",")" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "1799", - "s" : [ { - "r" : "1789", - "value" : [ "DateTime","(","2019",",","01",",","01",",","01",")" ] - } ] - }, { - "value" : [ "]" ] - } ] - }, { - "r" : "1843", - "value" : [ " ","same hour as"," " ] - }, { - "r" : "1840", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "1817", - "s" : [ { - "r" : "1807", - "value" : [ "DateTime","(","2018",",","01",",","01",",","01",")" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "1834", - "s" : [ { - "r" : "1822", - "value" : [ "DateTime","(","2019",",","01",",","01",",","01",",","05",")" ] - } ] - }, { - "value" : [ "]" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "1843", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "precision" : "Hour", - "type" : "SameAs", - "signature" : [ { - "localId" : "1844", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1845", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "1846", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1847", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "1804", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "1805", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1806", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "1784", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "1785", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1786", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1787", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1788", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1774", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2018", - "type" : "Literal" - }, - "month" : { - "localId" : "1775", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "01", - "type" : "Literal" - }, - "day" : { - "localId" : "1776", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "01", - "type" : "Literal" - }, - "hour" : { - "localId" : "1777", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "01", - "type" : "Literal" - } - }, - "high" : { - "localId" : "1799", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "1800", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1801", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1802", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1803", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1789", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2019", - "type" : "Literal" - }, - "month" : { - "localId" : "1790", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "01", - "type" : "Literal" - }, - "day" : { - "localId" : "1791", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "01", - "type" : "Literal" - }, - "hour" : { - "localId" : "1792", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "01", - "type" : "Literal" - } - } - }, { - "localId" : "1840", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "1841", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1842", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "1817", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "1818", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1819", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1820", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1821", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1807", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2018", - "type" : "Literal" - }, - "month" : { - "localId" : "1808", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "01", - "type" : "Literal" - }, - "day" : { - "localId" : "1809", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "01", - "type" : "Literal" - }, - "hour" : { - "localId" : "1810", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "01", - "type" : "Literal" - } - }, - "high" : { - "localId" : "1834", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "1835", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1836", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1837", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1838", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1839", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1822", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2019", - "type" : "Literal" - }, - "month" : { - "localId" : "1823", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "01", - "type" : "Literal" - }, - "day" : { - "localId" : "1824", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "01", - "type" : "Literal" - }, - "hour" : { - "localId" : "1825", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "01", - "type" : "Literal" - }, - "minute" : { - "localId" : "1826", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "05", - "type" : "Literal" - } - } - } ] - } - }, { - "localId" : "1850", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "DateTimeHourPrecisionNotSame", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "1850", + "r" : "404", + "value" : [ "Interval(", "2", ", ", "4", "]" ] + } ] + }, { + "value" : [ " }" ] + } ] + }, { + "value" : [ " per " ] + }, { + "r" : "413", + "s" : [ { + "value" : [ "1 ", "'1'" ] + } ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "422", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "423", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "424", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } + }, + "expression" : { + "type" : "Expand", + "localId" : "414", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "419", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "420", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "421", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } + }, + "signature" : [ { + "type" : "ListTypeSpecifier", + "localId" : "415", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "416", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "417", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } + }, { + "type" : "NamedTypeSpecifier", + "localId" : "418", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "List", + "localId" : "403", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "409", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "410", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "411", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } + }, + "element" : [ { + "type" : "Interval", + "localId" : "406", + "lowClosed" : false, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "407", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "408", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "low" : { + "type" : "Literal", + "localId" : "404", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "annotation" : [ ] + }, + "high" : { + "type" : "Literal", + "localId" : "405", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "4", + "annotation" : [ ] + } + } ] + }, { + "type" : "Quantity", + "localId" : "413", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "value" : 1, + "unit" : "1", + "annotation" : [ ] + } ] + } + }, { + "localId" : "427", + "name" : "OpenEnd", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "427", + "s" : [ { + "value" : [ "", "define ", "OpenEnd", ": " ] + }, { + "r" : "439", + "s" : [ { + "value" : [ "expand " ] + }, { + "r" : "428", + "s" : [ { + "value" : [ "{ " ] + }, { + "r" : "431", + "s" : [ { + "r" : "429", + "value" : [ "Interval[", "2", ", ", "4", ")" ] + } ] + }, { + "value" : [ " }" ] + } ] + }, { + "value" : [ " per " ] + }, { + "r" : "438", + "s" : [ { + "value" : [ "1 ", "'1'" ] + } ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "447", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "448", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "449", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } + }, + "expression" : { + "type" : "Expand", + "localId" : "439", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "444", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "445", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "446", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } + }, + "signature" : [ { + "type" : "ListTypeSpecifier", + "localId" : "440", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "441", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "442", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } + }, { + "type" : "NamedTypeSpecifier", + "localId" : "443", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "List", + "localId" : "428", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "434", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "435", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "436", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } + }, + "element" : [ { + "type" : "Interval", + "localId" : "431", + "lowClosed" : true, + "highClosed" : false, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "432", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "433", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "low" : { + "type" : "Literal", + "localId" : "429", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "annotation" : [ ] + }, + "high" : { + "type" : "Literal", + "localId" : "430", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "4", + "annotation" : [ ] + } + } ] + }, { + "type" : "Quantity", + "localId" : "438", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "value" : 1, + "unit" : "1", + "annotation" : [ ] + } ] + } + }, { + "localId" : "452", + "name" : "OpenBoth", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "452", + "s" : [ { + "value" : [ "", "define ", "OpenBoth", ": " ] + }, { + "r" : "464", + "s" : [ { + "value" : [ "expand " ] + }, { + "r" : "453", + "s" : [ { + "value" : [ "{ " ] + }, { + "r" : "456", "s" : [ { - "value" : [ "","define ","DateTimeHourPrecisionNotSame",": " ] - }, { - "r" : "1920", - "s" : [ { - "r" : "1884", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "1863", - "s" : [ { - "r" : "1851", - "value" : [ "DateTime","(","2018",",","01",",","01",",","01",",","01",")" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "1879", - "s" : [ { - "r" : "1869", - "value" : [ "DateTime","(","2019",",","01",",","01",",","01",")" ] - } ] - }, { - "value" : [ "]" ] - } ] - }, { - "r" : "1920", - "value" : [ " ","same hour as"," " ] - }, { - "r" : "1917", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "1897", - "s" : [ { - "r" : "1887", - "value" : [ "DateTime","(","2018",",","01",",","01",",","06",")" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "1912", - "s" : [ { - "r" : "1902", - "value" : [ "DateTime","(","2019",",","01",",","01",",","01",")" ] - } ] - }, { - "value" : [ "]" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "1920", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "precision" : "Hour", - "type" : "SameAs", - "signature" : [ { - "localId" : "1921", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1922", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "1923", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1924", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "1884", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "1885", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1886", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "1863", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "1864", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1865", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1866", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1867", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1868", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1851", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2018", - "type" : "Literal" - }, - "month" : { - "localId" : "1852", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "01", - "type" : "Literal" - }, - "day" : { - "localId" : "1853", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "01", - "type" : "Literal" - }, - "hour" : { - "localId" : "1854", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "01", - "type" : "Literal" - }, - "minute" : { - "localId" : "1855", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "01", - "type" : "Literal" - } - }, - "high" : { - "localId" : "1879", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "1880", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1881", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1882", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1883", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1869", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2019", - "type" : "Literal" - }, - "month" : { - "localId" : "1870", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "01", - "type" : "Literal" - }, - "day" : { - "localId" : "1871", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "01", - "type" : "Literal" - }, - "hour" : { - "localId" : "1872", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "01", - "type" : "Literal" - } - } - }, { - "localId" : "1917", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "1918", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1919", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "1897", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "1898", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1899", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1900", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1901", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1887", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2018", - "type" : "Literal" - }, - "month" : { - "localId" : "1888", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "01", - "type" : "Literal" - }, - "day" : { - "localId" : "1889", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "01", - "type" : "Literal" - }, - "hour" : { - "localId" : "1890", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "06", - "type" : "Literal" - } - }, - "high" : { - "localId" : "1912", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "1913", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1914", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1915", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1916", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1902", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2019", - "type" : "Literal" - }, - "month" : { - "localId" : "1903", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "01", - "type" : "Literal" - }, - "day" : { - "localId" : "1904", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "01", - "type" : "Literal" - }, - "hour" : { - "localId" : "1905", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "01", - "type" : "Literal" - } - } - } ] - } - }, { - "localId" : "1927", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "DateTimeMinutePrecisionSame", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "1927", - "s" : [ { - "value" : [ "","define ","DateTimeMinutePrecisionSame",": " ] - }, { - "r" : "2012", - "s" : [ { - "r" : "1964", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "1940", - "s" : [ { - "r" : "1928", - "value" : [ "DateTime","(","2018",",","01",",","01",",","01",",","01",")" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "1958", - "s" : [ { - "r" : "1946", - "value" : [ "DateTime","(","2019",",","01",",","01",",","01",",","01",")" ] - } ] - }, { - "value" : [ "]" ] - } ] - }, { - "r" : "2012", - "value" : [ " ","same minute as"," " ] - }, { - "r" : "2009", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "1981", - "s" : [ { - "r" : "1967", - "value" : [ "DateTime","(","2018",",","01",",","01",",","01",",","01",",","09",")" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "2002", - "s" : [ { - "r" : "1988", - "value" : [ "DateTime","(","2019",",","01",",","01",",","01",",","01",",","06",")" ] - } ] - }, { - "value" : [ "]" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "2012", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "precision" : "Minute", - "type" : "SameAs", - "signature" : [ { - "localId" : "2013", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "2014", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "2015", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "2016", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "1964", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "1965", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "1966", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "1940", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "1941", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1942", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1943", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1944", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1945", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1928", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2018", - "type" : "Literal" - }, - "month" : { - "localId" : "1929", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "01", - "type" : "Literal" - }, - "day" : { - "localId" : "1930", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "01", - "type" : "Literal" - }, - "hour" : { - "localId" : "1931", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "01", - "type" : "Literal" - }, - "minute" : { - "localId" : "1932", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "01", - "type" : "Literal" - } - }, - "high" : { - "localId" : "1958", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "1959", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1960", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1961", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1962", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1963", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1946", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2019", - "type" : "Literal" - }, - "month" : { - "localId" : "1947", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "01", - "type" : "Literal" - }, - "day" : { - "localId" : "1948", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "01", - "type" : "Literal" - }, - "hour" : { - "localId" : "1949", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "01", - "type" : "Literal" - }, - "minute" : { - "localId" : "1950", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "01", - "type" : "Literal" - } - } - }, { - "localId" : "2009", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "2010", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "2011", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "1981", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "1982", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1983", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1984", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1985", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1986", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "1987", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1967", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2018", - "type" : "Literal" - }, - "month" : { - "localId" : "1968", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "01", - "type" : "Literal" - }, - "day" : { - "localId" : "1969", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "01", - "type" : "Literal" - }, - "hour" : { - "localId" : "1970", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "01", - "type" : "Literal" - }, - "minute" : { - "localId" : "1971", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "01", - "type" : "Literal" - }, - "second" : { - "localId" : "1972", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "09", - "type" : "Literal" - } - }, - "high" : { - "localId" : "2002", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "2003", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2004", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2005", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2006", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2007", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2008", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "1988", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2019", - "type" : "Literal" - }, - "month" : { - "localId" : "1989", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "01", - "type" : "Literal" - }, - "day" : { - "localId" : "1990", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "01", - "type" : "Literal" - }, - "hour" : { - "localId" : "1991", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "01", - "type" : "Literal" - }, - "minute" : { - "localId" : "1992", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "01", - "type" : "Literal" - }, - "second" : { - "localId" : "1993", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "06", - "type" : "Literal" - } - } - } ] - } - }, { - "localId" : "2019", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "DateTimeMinutePrecisionNotSame", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "2019", + "r" : "454", + "value" : [ "Interval(", "2", ", ", "4", ")" ] + } ] + }, { + "value" : [ " }" ] + } ] + }, { + "value" : [ " per " ] + }, { + "r" : "463", + "s" : [ { + "value" : [ "1 ", "'1'" ] + } ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "472", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "473", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "474", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } + }, + "expression" : { + "type" : "Expand", + "localId" : "464", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "469", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "470", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "471", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } + }, + "signature" : [ { + "type" : "ListTypeSpecifier", + "localId" : "465", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "466", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "467", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } + }, { + "type" : "NamedTypeSpecifier", + "localId" : "468", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "List", + "localId" : "453", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "459", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "460", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "461", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } + }, + "element" : [ { + "type" : "Interval", + "localId" : "456", + "lowClosed" : false, + "highClosed" : false, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "457", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "458", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "low" : { + "type" : "Literal", + "localId" : "454", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "annotation" : [ ] + }, + "high" : { + "type" : "Literal", + "localId" : "455", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "4", + "annotation" : [ ] + } + } ] + }, { + "type" : "Quantity", + "localId" : "463", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "value" : 1, + "unit" : "1", + "annotation" : [ ] + } ] + } + }, { + "localId" : "477", + "name" : "EmptyList", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "477", + "s" : [ { + "value" : [ "", "define ", "EmptyList", ": " ] + }, { + "r" : "482", + "s" : [ { + "value" : [ "List<" ] + }, { + "r" : "478", + "s" : [ { + "value" : [ "Interval<" ] + }, { + "r" : "479", + "s" : [ { + "value" : [ "Integer" ] + } ] + }, { + "value" : [ ">" ] + } ] + }, { + "value" : [ ">{}" ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "487", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "488", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "489", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } + }, + "expression" : { + "type" : "List", + "localId" : "482", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "484", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "485", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "486", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } + }, + "element" : [ ] + } + }, { + "localId" : "492", + "name" : "PerTooBig", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "492", + "s" : [ { + "value" : [ "", "define ", "PerTooBig", ": " ] + }, { + "r" : "508", + "s" : [ { + "value" : [ "expand " ] + }, { + "r" : "493", + "s" : [ { + "value" : [ "{ " ] + }, { + "r" : "496", + "s" : [ { + "r" : "494", + "value" : [ "Interval[", "2", ", ", "4", "]" ] + } ] + }, { + "r" : "499", + "value" : [ ", ", "null", " }" ] + } ] + }, { + "value" : [ " per " ] + }, { + "r" : "507", + "s" : [ { + "value" : [ "5 ", "'1'" ] + } ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "516", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "517", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "518", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } + }, + "expression" : { + "type" : "Expand", + "localId" : "508", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "513", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "514", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "515", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } + }, + "signature" : [ { + "type" : "ListTypeSpecifier", + "localId" : "509", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "510", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "511", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } + }, { + "type" : "NamedTypeSpecifier", + "localId" : "512", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "List", + "localId" : "493", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "503", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "504", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "505", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } + }, + "element" : [ { + "type" : "Interval", + "localId" : "496", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "497", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "498", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "low" : { + "type" : "Literal", + "localId" : "494", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "annotation" : [ ] + }, + "high" : { + "type" : "Literal", + "localId" : "495", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "4", + "annotation" : [ ] + } + }, { + "type" : "As", + "localId" : "500", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Null", + "localId" : "499", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + }, + "asTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "501", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "502", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } + } ] + }, { + "type" : "Quantity", + "localId" : "507", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "value" : 5, + "unit" : "1", + "annotation" : [ ] + } ] + } + }, { + "localId" : "521", + "name" : "NullOpen", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "521", + "s" : [ { + "value" : [ "", "define ", "NullOpen", ": " ] + }, { + "r" : "534", + "s" : [ { + "value" : [ "expand " ] + }, { + "r" : "522", + "s" : [ { + "value" : [ "{ " ] + }, { + "r" : "525", + "s" : [ { + "r" : "523", + "value" : [ "Interval[", "null", ", ", "4", "]" ] + } ] + }, { + "value" : [ " }" ] + } ] + }, { + "value" : [ " per " ] + }, { + "r" : "533", + "s" : [ { + "value" : [ "1 ", "'1'" ] + } ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "542", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "543", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "544", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } + }, + "expression" : { + "type" : "Expand", + "localId" : "534", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "539", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "540", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "541", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } + }, + "signature" : [ { + "type" : "ListTypeSpecifier", + "localId" : "535", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "536", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "537", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } + }, { + "type" : "NamedTypeSpecifier", + "localId" : "538", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "List", + "localId" : "522", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "529", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "530", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "531", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } + }, + "element" : [ { + "type" : "Interval", + "localId" : "525", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "527", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "528", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "low" : { + "type" : "As", + "localId" : "526", + "asType" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Null", + "localId" : "523", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } + }, + "high" : { + "type" : "Literal", + "localId" : "524", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "4", + "annotation" : [ ] + } + } ] + }, { + "type" : "Quantity", + "localId" : "533", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "value" : 1, + "unit" : "1", + "annotation" : [ ] + } ] + } + }, { + "localId" : "547", + "name" : "NullClose", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "547", + "s" : [ { + "value" : [ "", "define ", "NullClose", ": " ] + }, { + "r" : "560", + "s" : [ { + "value" : [ "expand " ] + }, { + "r" : "548", + "s" : [ { + "value" : [ "{ " ] + }, { + "r" : "551", + "s" : [ { + "r" : "549", + "value" : [ "Interval[", "2", ", ", "null", "]" ] + } ] + }, { + "value" : [ " }" ] + } ] + }, { + "value" : [ " per " ] + }, { + "r" : "559", + "s" : [ { + "value" : [ "1 ", "'1'" ] + } ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "568", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "569", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "570", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } + }, + "expression" : { + "type" : "Expand", + "localId" : "560", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "565", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "566", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "567", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } + }, + "signature" : [ { + "type" : "ListTypeSpecifier", + "localId" : "561", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "562", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "563", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } + }, { + "type" : "NamedTypeSpecifier", + "localId" : "564", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "List", + "localId" : "548", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "555", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "556", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "557", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } + }, + "element" : [ { + "type" : "Interval", + "localId" : "551", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "553", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "554", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "low" : { + "type" : "Literal", + "localId" : "549", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "annotation" : [ ] + }, + "high" : { + "type" : "As", + "localId" : "552", + "asType" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Null", + "localId" : "550", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } + } + } ] + }, { + "type" : "Quantity", + "localId" : "559", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "value" : 1, + "unit" : "1", + "annotation" : [ ] + } ] + } + }, { + "localId" : "573", + "name" : "NullBoth", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "573", + "s" : [ { + "value" : [ "", "define ", "NullBoth", ": " ] + }, { + "r" : "585", + "s" : [ { + "value" : [ "expand " ] + }, { + "r" : "574", + "s" : [ { + "value" : [ "{ " ] + }, { + "r" : "577", + "s" : [ { + "r" : "575", + "value" : [ "Interval[", "null", ", ", "null", "]" ] + } ] + }, { + "value" : [ " }" ] + } ] + }, { + "value" : [ " per " ] + }, { + "r" : "584", + "s" : [ { + "value" : [ "1 ", "'1'" ] + } ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "593", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "594", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "595", + "name" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } + } + }, + "expression" : { + "type" : "Expand", + "localId" : "585", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "590", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "591", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "592", + "name" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } + } + }, + "signature" : [ { + "type" : "ListTypeSpecifier", + "localId" : "586", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "587", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "588", + "name" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } + } + }, { + "type" : "NamedTypeSpecifier", + "localId" : "589", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "List", + "localId" : "574", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "580", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "581", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "582", + "name" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } + } + }, + "element" : [ { + "type" : "Interval", + "localId" : "577", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "578", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "579", + "name" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } + }, + "low" : { + "type" : "Null", + "localId" : "575", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + }, + "high" : { + "type" : "Null", + "localId" : "576", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } + } ] + }, { + "type" : "Quantity", + "localId" : "584", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "value" : 1, + "unit" : "1", + "annotation" : [ ] + } ] + } + }, { + "localId" : "598", + "name" : "BadPerMinute", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "598", + "s" : [ { + "value" : [ "", "define ", "BadPerMinute", ": " ] + }, { + "r" : "610", + "s" : [ { + "value" : [ "expand " ] + }, { + "r" : "599", + "s" : [ { + "value" : [ "{ " ] + }, { + "r" : "602", + "s" : [ { + "r" : "600", + "value" : [ "Interval(", "2", ", ", "4", "]" ] + } ] + }, { + "value" : [ " }" ] + } ] + }, { + "value" : [ " per " ] + }, { + "r" : "609", + "s" : [ { + "value" : [ "1 ", "minute" ] + } ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "618", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "619", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "620", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } + }, + "expression" : { + "type" : "Expand", + "localId" : "610", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "615", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "616", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "617", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } + }, + "signature" : [ { + "type" : "ListTypeSpecifier", + "localId" : "611", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "612", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "613", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } + }, { + "type" : "NamedTypeSpecifier", + "localId" : "614", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "List", + "localId" : "599", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "605", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "606", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "607", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } + }, + "element" : [ { + "type" : "Interval", + "localId" : "602", + "lowClosed" : false, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "603", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "604", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "low" : { + "type" : "Literal", + "localId" : "600", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "annotation" : [ ] + }, + "high" : { + "type" : "Literal", + "localId" : "601", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "4", + "annotation" : [ ] + } + } ] + }, { + "type" : "Quantity", + "localId" : "609", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "value" : 1, + "unit" : "minute", + "annotation" : [ ] + } ] + } + }, { + "localId" : "623", + "name" : "PerDecimalMorePrecise", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "623", + "s" : [ { + "value" : [ "", "define ", "PerDecimalMorePrecise", ": " ] + }, { + "r" : "636", + "s" : [ { + "value" : [ "expand " ] + }, { + "r" : "624", + "s" : [ { + "value" : [ "{ " ] + }, { + "r" : "627", + "s" : [ { + "r" : "625", + "value" : [ "Interval[", "10", ", ", "10", "]" ] + } ] + }, { + "value" : [ " }" ] + } ] + }, { + "r" : "634", + "value" : [ " per ", "0.1" ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "644", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "645", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "646", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } + }, + "expression" : { + "type" : "Expand", + "localId" : "636", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "641", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "642", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "643", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } + }, + "signature" : [ { + "type" : "ListTypeSpecifier", + "localId" : "637", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "638", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "639", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } + }, { + "type" : "NamedTypeSpecifier", + "localId" : "640", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "List", + "localId" : "624", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "630", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "631", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "632", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } + }, + "element" : [ { + "type" : "Interval", + "localId" : "627", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "628", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "629", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "low" : { + "type" : "Literal", + "localId" : "625", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "10", + "annotation" : [ ] + }, + "high" : { + "type" : "Literal", + "localId" : "626", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "10", + "annotation" : [ ] + } + } ] + }, { + "type" : "Quantity", + "localId" : "635", + "value" : 0.1, + "unit" : "1", + "annotation" : [ ] + } ] + } + } ] + } + } +} + +/* DecimalIntervalExpand +library TestSnippet version '1' +using Simple version '1.0.0' +context Patient +define ClosedSingle: expand { Interval[2, 5] } per 1.5 '1' +define ClosedSingle1: expand { Interval[2.5, 10] } per 2 '1' +define ClosedSingle2: expand { Interval[2, 4.5] } per 0.5 '1' + +define NullInList: expand { Interval[2, 5], null } per 1.5 '1' +define Overlapping: expand { Interval[2, 5], Interval[4, 7] } per 1.5 '1' +define NonOverlapping: expand { Interval[2, 4], Interval[6, 8] } per 1.5 '1' + +define NoPer: expand { Interval[2.5, 4.5] } + +define OpenStart: expand { Interval(2, 5] } per 1.5 '1' +define OpenEnd: expand { Interval[2, 5) } per 1.5 '1' +define OpenBoth: expand { Interval(2, 5) } per 1.5 '1' + +define EmptyList: List>{} +define PerTooBig: expand { Interval[2, 4], null } per 5.5 '1' +define NullOpen: expand { Interval[null, 4] } per 1.5 '1' +define NullClose: expand { Interval[2, null] } per 1.5 '1' +define NullBoth: expand { Interval[null, null] } per 1.5 '1' +define BadPerMinute: expand { Interval(2.1, 4.1] } per 0.5 minute +*/ + +module.exports['DecimalIntervalExpand'] = { + "library" : { + "localId" : "0", + "annotation" : [ { + "type" : "CqlToElmInfo", + "translatorVersion" : "4.2.0", + "translatorOptions" : "EnableDateRangeOptimization,EnableAnnotations,EnableResultTypes", + "signatureLevel" : "All" + }, { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "604", + "s" : [ { + "value" : [ "", "library TestSnippet version '1'" ] + } ] + } + } ], + "identifier" : { + "id" : "TestSnippet", + "version" : "1" + }, + "schemaIdentifier" : { + "id" : "urn:hl7-org:elm", + "version" : "r1" + }, + "usings" : { + "def" : [ { + "localId" : "1", + "localIdentifier" : "System", + "uri" : "urn:hl7-org:elm-types:r1", + "annotation" : [ ] + }, { + "localId" : "206", + "localIdentifier" : "Simple", + "uri" : "https://github.com/cqframework/cql-execution/simple", + "version" : "1.0.0", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "206", + "s" : [ { + "value" : [ "", "using " ] + }, { + "s" : [ { + "value" : [ "Simple" ] + } ] + }, { + "value" : [ " version '1.0.0'" ] + } ] + } + } ] + } ] + }, + "contexts" : { + "def" : [ { + "localId" : "211", + "name" : "Patient", + "annotation" : [ ] + } ] + }, + "statements" : { + "def" : [ { + "localId" : "209", + "name" : "Patient", + "context" : "Patient", + "annotation" : [ ], + "expression" : { + "type" : "SingletonFrom", + "localId" : "210", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Retrieve", + "localId" : "208", + "dataType" : "{https://github.com/cqframework/cql-execution/simple}Patient", + "annotation" : [ ], + "include" : [ ], + "codeFilter" : [ ], + "dateFilter" : [ ], + "otherFilter" : [ ] + } + } + }, { + "localId" : "214", + "name" : "ClosedSingle", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "214", + "s" : [ { + "value" : [ "", "define ", "ClosedSingle", ": " ] + }, { + "r" : "226", + "s" : [ { + "value" : [ "expand " ] + }, { + "r" : "215", + "s" : [ { + "value" : [ "{ " ] + }, { + "r" : "218", + "s" : [ { + "r" : "216", + "value" : [ "Interval[", "2", ", ", "5", "]" ] + } ] + }, { + "value" : [ " }" ] + } ] + }, { + "value" : [ " per " ] + }, { + "r" : "225", + "s" : [ { + "value" : [ "1.5 ", "'1'" ] + } ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "234", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "235", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "236", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } + }, + "expression" : { + "type" : "Expand", + "localId" : "226", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "231", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "232", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "233", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } + }, + "signature" : [ { + "type" : "ListTypeSpecifier", + "localId" : "227", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "228", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "229", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } + }, { + "type" : "NamedTypeSpecifier", + "localId" : "230", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "List", + "localId" : "215", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "221", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "222", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "223", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } + }, + "element" : [ { + "type" : "Interval", + "localId" : "218", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "219", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "220", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "low" : { + "type" : "Literal", + "localId" : "216", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "annotation" : [ ] + }, + "high" : { + "type" : "Literal", + "localId" : "217", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "5", + "annotation" : [ ] + } + } ] + }, { + "type" : "Quantity", + "localId" : "225", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "value" : 1.5, + "unit" : "1", + "annotation" : [ ] + } ] + } + }, { + "localId" : "239", + "name" : "ClosedSingle1", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "239", + "s" : [ { + "value" : [ "", "define ", "ClosedSingle1", ": " ] + }, { + "r" : "254", + "s" : [ { + "value" : [ "expand " ] + }, { + "r" : "240", + "s" : [ { + "value" : [ "{ " ] + }, { + "r" : "243", + "s" : [ { + "r" : "241", + "value" : [ "Interval[", "2.5", ", ", "10", "]" ] + } ] + }, { + "value" : [ " }" ] + } ] + }, { + "value" : [ " per " ] + }, { + "r" : "253", + "s" : [ { + "value" : [ "2 ", "'1'" ] + } ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "262", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "263", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "264", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } + } + }, + "expression" : { + "type" : "Expand", + "localId" : "254", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "259", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "260", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "261", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } + } + }, + "signature" : [ { + "type" : "ListTypeSpecifier", + "localId" : "255", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "256", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "257", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } + } + }, { + "type" : "NamedTypeSpecifier", + "localId" : "258", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "List", + "localId" : "240", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "249", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "250", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "251", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } + } + }, + "element" : [ { + "type" : "Interval", + "localId" : "243", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "247", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "248", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } + }, + "low" : { + "type" : "Literal", + "localId" : "241", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "2.5", + "annotation" : [ ] + }, + "high" : { + "type" : "ToDecimal", + "localId" : "245", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "246", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "operand" : { + "type" : "Literal", + "localId" : "242", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "10", + "annotation" : [ ] + } + } + } ] + }, { + "type" : "Quantity", + "localId" : "253", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "value" : 2, + "unit" : "1", + "annotation" : [ ] + } ] + } + }, { + "localId" : "267", + "name" : "ClosedSingle2", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "267", + "s" : [ { + "value" : [ "", "define ", "ClosedSingle2", ": " ] + }, { + "r" : "282", + "s" : [ { + "value" : [ "expand " ] + }, { + "r" : "268", + "s" : [ { + "value" : [ "{ " ] + }, { + "r" : "271", + "s" : [ { + "r" : "269", + "value" : [ "Interval[", "2", ", ", "4.5", "]" ] + } ] + }, { + "value" : [ " }" ] + } ] + }, { + "value" : [ " per " ] + }, { + "r" : "281", + "s" : [ { + "value" : [ "0.5 ", "'1'" ] + } ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "290", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "291", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "292", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } + } + }, + "expression" : { + "type" : "Expand", + "localId" : "282", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "287", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "288", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "289", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } + } + }, + "signature" : [ { + "type" : "ListTypeSpecifier", + "localId" : "283", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "284", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "285", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } + } + }, { + "type" : "NamedTypeSpecifier", + "localId" : "286", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "List", + "localId" : "268", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "277", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "278", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "279", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } + } + }, + "element" : [ { + "type" : "Interval", + "localId" : "271", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "275", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "276", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } + }, + "low" : { + "type" : "ToDecimal", + "localId" : "273", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "274", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "operand" : { + "type" : "Literal", + "localId" : "269", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "annotation" : [ ] + } + }, + "high" : { + "type" : "Literal", + "localId" : "270", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "4.5", + "annotation" : [ ] + } + } ] + }, { + "type" : "Quantity", + "localId" : "281", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "value" : 0.5, + "unit" : "1", + "annotation" : [ ] + } ] + } + }, { + "localId" : "295", + "name" : "NullInList", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "295", + "s" : [ { + "value" : [ "", "define ", "NullInList", ": " ] + }, { + "r" : "311", + "s" : [ { + "value" : [ "expand " ] + }, { + "r" : "296", + "s" : [ { + "value" : [ "{ " ] + }, { + "r" : "299", "s" : [ { - "value" : [ "","define ","DateTimeMinutePrecisionNotSame",": " ] - }, { - "r" : "2098", - "s" : [ { - "r" : "2056", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "2032", - "s" : [ { - "r" : "2020", - "value" : [ "DateTime","(","2018",",","01",",","01",",","01",",","01",")" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "2050", - "s" : [ { - "r" : "2038", - "value" : [ "DateTime","(","2019",",","01",",","01",",","01",",","01",")" ] - } ] - }, { - "value" : [ "]" ] - } ] - }, { - "r" : "2098", - "value" : [ " ","same minute as"," " ] - }, { - "r" : "2095", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "2071", - "s" : [ { - "r" : "2059", - "value" : [ "DateTime","(","2018",",","01",",","01",",","06",",","03",")" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "2089", - "s" : [ { - "r" : "2077", - "value" : [ "DateTime","(","2019",",","01",",","01",",","01",",","06",")" ] - } ] - }, { - "value" : [ "]" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "2098", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "precision" : "Minute", - "type" : "SameAs", - "signature" : [ { - "localId" : "2099", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "2100", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "2101", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "2102", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "2056", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "2057", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "2058", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "2032", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "2033", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2034", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2035", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2036", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2037", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "2020", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2018", - "type" : "Literal" - }, - "month" : { - "localId" : "2021", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "01", - "type" : "Literal" - }, - "day" : { - "localId" : "2022", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "01", - "type" : "Literal" - }, - "hour" : { - "localId" : "2023", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "01", - "type" : "Literal" - }, - "minute" : { - "localId" : "2024", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "01", - "type" : "Literal" - } - }, - "high" : { - "localId" : "2050", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "2051", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2052", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2053", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2054", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2055", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "2038", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2019", - "type" : "Literal" - }, - "month" : { - "localId" : "2039", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "01", - "type" : "Literal" - }, - "day" : { - "localId" : "2040", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "01", - "type" : "Literal" - }, - "hour" : { - "localId" : "2041", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "01", - "type" : "Literal" - }, - "minute" : { - "localId" : "2042", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "01", - "type" : "Literal" - } - } - }, { - "localId" : "2095", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "2096", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "2097", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "2071", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "2072", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2073", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2074", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2075", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2076", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "2059", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2018", - "type" : "Literal" - }, - "month" : { - "localId" : "2060", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "01", - "type" : "Literal" - }, - "day" : { - "localId" : "2061", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "01", - "type" : "Literal" - }, - "hour" : { - "localId" : "2062", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "06", - "type" : "Literal" - }, - "minute" : { - "localId" : "2063", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "03", - "type" : "Literal" - } - }, - "high" : { - "localId" : "2089", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "2090", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2091", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2092", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2093", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2094", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "2077", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2019", - "type" : "Literal" - }, - "month" : { - "localId" : "2078", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "01", - "type" : "Literal" - }, - "day" : { - "localId" : "2079", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "01", - "type" : "Literal" - }, - "hour" : { - "localId" : "2080", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "01", - "type" : "Literal" - }, - "minute" : { - "localId" : "2081", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "06", - "type" : "Literal" - } - } - } ] - } - }, { - "localId" : "2105", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "DateTimeSecondPrecisionSame", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "2105", - "s" : [ { - "value" : [ "","define ","DateTimeSecondPrecisionSame",": " ] - }, { - "r" : "2199", - "s" : [ { - "r" : "2148", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "2120", - "s" : [ { - "r" : "2106", - "value" : [ "DateTime","(","2018",",","01",",","01",",","01",",","01",",","01",")" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "2141", - "s" : [ { - "r" : "2127", - "value" : [ "DateTime","(","2019",",","01",",","01",",","01",",","01",",","01",")" ] - } ] - }, { - "value" : [ "]" ] - } ] - }, { - "r" : "2199", - "value" : [ " ","same second as"," " ] - }, { - "r" : "2196", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "2165", - "s" : [ { - "r" : "2151", - "value" : [ "DateTime","(","2018",",","01",",","01",",","01",",","01",",","01",")" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "2188", - "s" : [ { - "r" : "2172", - "value" : [ "DateTime","(","2019",",","01",",","01",",","01",",","01",",","01",",","07",")" ] - } ] - }, { - "value" : [ "]" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "2199", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "precision" : "Second", - "type" : "SameAs", - "signature" : [ { - "localId" : "2200", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "2201", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "2202", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "2203", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "2148", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "2149", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "2150", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "2120", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "2121", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2122", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2123", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2124", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2125", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2126", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "2106", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2018", - "type" : "Literal" - }, - "month" : { - "localId" : "2107", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "01", - "type" : "Literal" - }, - "day" : { - "localId" : "2108", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "01", - "type" : "Literal" - }, - "hour" : { - "localId" : "2109", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "01", - "type" : "Literal" - }, - "minute" : { - "localId" : "2110", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "01", - "type" : "Literal" - }, - "second" : { - "localId" : "2111", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "01", - "type" : "Literal" - } - }, - "high" : { - "localId" : "2141", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "2142", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2143", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2144", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2145", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2146", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2147", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "2127", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2019", - "type" : "Literal" - }, - "month" : { - "localId" : "2128", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "01", - "type" : "Literal" - }, - "day" : { - "localId" : "2129", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "01", - "type" : "Literal" - }, - "hour" : { - "localId" : "2130", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "01", - "type" : "Literal" - }, - "minute" : { - "localId" : "2131", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "01", - "type" : "Literal" - }, - "second" : { - "localId" : "2132", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "01", - "type" : "Literal" - } - } - }, { - "localId" : "2196", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "2197", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "2198", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "2165", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "2166", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2167", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2168", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2169", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2170", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2171", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "2151", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2018", - "type" : "Literal" - }, - "month" : { - "localId" : "2152", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "01", - "type" : "Literal" - }, - "day" : { - "localId" : "2153", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "01", - "type" : "Literal" - }, - "hour" : { - "localId" : "2154", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "01", - "type" : "Literal" - }, - "minute" : { - "localId" : "2155", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "01", - "type" : "Literal" - }, - "second" : { - "localId" : "2156", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "01", - "type" : "Literal" - } - }, - "high" : { - "localId" : "2188", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "2189", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2190", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2191", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2192", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2193", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2194", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2195", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "2172", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2019", - "type" : "Literal" - }, - "month" : { - "localId" : "2173", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "01", - "type" : "Literal" - }, - "day" : { - "localId" : "2174", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "01", - "type" : "Literal" - }, - "hour" : { - "localId" : "2175", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "01", - "type" : "Literal" - }, - "minute" : { - "localId" : "2176", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "01", - "type" : "Literal" - }, - "second" : { - "localId" : "2177", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "01", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "2178", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "07", - "type" : "Literal" - } - } - } ] - } - }, { - "localId" : "2206", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "DateTimeSecondPrecisionNotSame", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "2206", - "s" : [ { - "value" : [ "","define ","DateTimeSecondPrecisionNotSame",": " ] - }, { - "r" : "2297", - "s" : [ { - "r" : "2249", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "2221", - "s" : [ { - "r" : "2207", - "value" : [ "DateTime","(","2018",",","01",",","01",",","01",",","01",",","01",")" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "2242", - "s" : [ { - "r" : "2228", - "value" : [ "DateTime","(","2019",",","01",",","01",",","01",",","01",",","01",")" ] - } ] - }, { - "value" : [ "]" ] - } ] - }, { - "r" : "2297", - "value" : [ " ","same second as"," " ] - }, { - "r" : "2294", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "2266", - "s" : [ { - "r" : "2252", - "value" : [ "DateTime","(","2018",",","01",",","01",",","01",",","01",",","01",")" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "2287", - "s" : [ { - "r" : "2273", - "value" : [ "DateTime","(","2019",",","01",",","01",",","01",",","07",",","55",")" ] - } ] - }, { - "value" : [ "]" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "2297", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "precision" : "Second", - "type" : "SameAs", - "signature" : [ { - "localId" : "2298", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "2299", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "2300", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "2301", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "2249", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "2250", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "2251", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "2221", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "2222", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2223", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2224", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2225", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2226", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2227", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "2207", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2018", - "type" : "Literal" - }, - "month" : { - "localId" : "2208", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "01", - "type" : "Literal" - }, - "day" : { - "localId" : "2209", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "01", - "type" : "Literal" - }, - "hour" : { - "localId" : "2210", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "01", - "type" : "Literal" - }, - "minute" : { - "localId" : "2211", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "01", - "type" : "Literal" - }, - "second" : { - "localId" : "2212", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "01", - "type" : "Literal" - } - }, - "high" : { - "localId" : "2242", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "2243", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2244", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2245", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2246", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2247", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2248", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "2228", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2019", - "type" : "Literal" - }, - "month" : { - "localId" : "2229", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "01", - "type" : "Literal" - }, - "day" : { - "localId" : "2230", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "01", - "type" : "Literal" - }, - "hour" : { - "localId" : "2231", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "01", - "type" : "Literal" - }, - "minute" : { - "localId" : "2232", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "01", - "type" : "Literal" - }, - "second" : { - "localId" : "2233", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "01", - "type" : "Literal" - } - } - }, { - "localId" : "2294", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "2295", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "2296", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "2266", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "2267", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2268", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2269", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2270", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2271", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2272", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "2252", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2018", - "type" : "Literal" - }, - "month" : { - "localId" : "2253", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "01", - "type" : "Literal" - }, - "day" : { - "localId" : "2254", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "01", - "type" : "Literal" - }, - "hour" : { - "localId" : "2255", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "01", - "type" : "Literal" - }, - "minute" : { - "localId" : "2256", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "01", - "type" : "Literal" - }, - "second" : { - "localId" : "2257", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "01", - "type" : "Literal" - } - }, - "high" : { - "localId" : "2287", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "2288", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2289", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2290", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2291", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2292", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2293", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "2273", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2019", - "type" : "Literal" - }, - "month" : { - "localId" : "2274", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "01", - "type" : "Literal" - }, - "day" : { - "localId" : "2275", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "01", - "type" : "Literal" - }, - "hour" : { - "localId" : "2276", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "01", - "type" : "Literal" - }, - "minute" : { - "localId" : "2277", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "07", - "type" : "Literal" - }, - "second" : { - "localId" : "2278", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "55", - "type" : "Literal" - } - } - } ] - } - }, { - "localId" : "2304", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "DateTimeMillisecondPrecisionSame", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "2304", - "s" : [ { - "value" : [ "","define ","DateTimeMillisecondPrecisionSame",": " ] - }, { - "r" : "2407", - "s" : [ { - "r" : "2353", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "2321", - "s" : [ { - "r" : "2305", - "value" : [ "DateTime","(","2018",",","01",",","01",",","01",",","01",",","01",",","01",")" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "2345", - "s" : [ { - "r" : "2329", - "value" : [ "DateTime","(","2019",",","01",",","01",",","01",",","01",",","01",",","01",")" ] - } ] - }, { - "value" : [ "]" ] - } ] - }, { - "r" : "2407", - "value" : [ " ","same millisecond as"," " ] - }, { - "r" : "2404", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "2372", - "s" : [ { - "r" : "2356", - "value" : [ "DateTime","(","2018",",","01",",","01",",","01",",","01",",","01",",","01",")" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "2396", - "s" : [ { - "r" : "2380", - "value" : [ "DateTime","(","2019",",","01",",","01",",","01",",","01",",","01",",","01",")" ] - } ] - }, { - "value" : [ "]" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "2407", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "precision" : "Millisecond", - "type" : "SameAs", - "signature" : [ { - "localId" : "2408", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "2409", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "2410", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "2411", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "2353", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "2354", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "2355", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "2321", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "2322", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2323", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2324", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2325", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2326", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2327", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2328", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "2305", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2018", - "type" : "Literal" - }, - "month" : { - "localId" : "2306", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "01", - "type" : "Literal" - }, - "day" : { - "localId" : "2307", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "01", - "type" : "Literal" - }, - "hour" : { - "localId" : "2308", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "01", - "type" : "Literal" - }, - "minute" : { - "localId" : "2309", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "01", - "type" : "Literal" - }, - "second" : { - "localId" : "2310", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "01", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "2311", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "01", - "type" : "Literal" - } - }, - "high" : { - "localId" : "2345", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "2346", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2347", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2348", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2349", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2350", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2351", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2352", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "2329", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2019", - "type" : "Literal" - }, - "month" : { - "localId" : "2330", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "01", - "type" : "Literal" - }, - "day" : { - "localId" : "2331", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "01", - "type" : "Literal" - }, - "hour" : { - "localId" : "2332", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "01", - "type" : "Literal" - }, - "minute" : { - "localId" : "2333", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "01", - "type" : "Literal" - }, - "second" : { - "localId" : "2334", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "01", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "2335", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "01", - "type" : "Literal" - } - } - }, { - "localId" : "2404", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "2405", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "2406", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "2372", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "2373", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2374", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2375", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2376", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2377", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2378", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2379", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "2356", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2018", - "type" : "Literal" - }, - "month" : { - "localId" : "2357", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "01", - "type" : "Literal" - }, - "day" : { - "localId" : "2358", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "01", - "type" : "Literal" - }, - "hour" : { - "localId" : "2359", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "01", - "type" : "Literal" - }, - "minute" : { - "localId" : "2360", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "01", - "type" : "Literal" - }, - "second" : { - "localId" : "2361", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "01", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "2362", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "01", - "type" : "Literal" - } - }, - "high" : { - "localId" : "2396", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "2397", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2398", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2399", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2400", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2401", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2402", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2403", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "2380", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2019", - "type" : "Literal" - }, - "month" : { - "localId" : "2381", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "01", - "type" : "Literal" - }, - "day" : { - "localId" : "2382", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "01", - "type" : "Literal" - }, - "hour" : { - "localId" : "2383", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "01", - "type" : "Literal" - }, - "minute" : { - "localId" : "2384", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "01", - "type" : "Literal" - }, - "second" : { - "localId" : "2385", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "01", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "2386", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "01", - "type" : "Literal" - } - } - } ] - } - }, { - "localId" : "2414", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "DateTimeMillisecondPrecisionNotSame", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "2414", - "s" : [ { - "value" : [ "","define ","DateTimeMillisecondPrecisionNotSame",": " ] - }, { - "r" : "2517", - "s" : [ { - "r" : "2463", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "2431", - "s" : [ { - "r" : "2415", - "value" : [ "DateTime","(","2018",",","01",",","01",",","01",",","01",",","01",",","01",")" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "2455", - "s" : [ { - "r" : "2439", - "value" : [ "DateTime","(","2019",",","01",",","01",",","01",",","01",",","01",",","01",")" ] - } ] - }, { - "value" : [ "]" ] - } ] - }, { - "r" : "2517", - "value" : [ " ","same millisecond as"," " ] - }, { - "r" : "2514", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "2482", - "s" : [ { - "r" : "2466", - "value" : [ "DateTime","(","2018",",","01",",","01",",","01",",","01",",","01",",","01",")" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "2506", - "s" : [ { - "r" : "2490", - "value" : [ "DateTime","(","2019",",","01",",","01",",","01",",","01",",","01",",","09",")" ] - } ] - }, { - "value" : [ "]" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "2517", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "precision" : "Millisecond", - "type" : "SameAs", - "signature" : [ { - "localId" : "2518", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "2519", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "2520", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "2521", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "2463", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "2464", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "2465", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "2431", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "2432", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2433", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2434", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2435", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2436", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2437", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2438", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "2415", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2018", - "type" : "Literal" - }, - "month" : { - "localId" : "2416", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "01", - "type" : "Literal" - }, - "day" : { - "localId" : "2417", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "01", - "type" : "Literal" - }, - "hour" : { - "localId" : "2418", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "01", - "type" : "Literal" - }, - "minute" : { - "localId" : "2419", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "01", - "type" : "Literal" - }, - "second" : { - "localId" : "2420", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "01", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "2421", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "01", - "type" : "Literal" - } - }, - "high" : { - "localId" : "2455", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "2456", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2457", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2458", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2459", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2460", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2461", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2462", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "2439", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2019", - "type" : "Literal" - }, - "month" : { - "localId" : "2440", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "01", - "type" : "Literal" - }, - "day" : { - "localId" : "2441", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "01", - "type" : "Literal" - }, - "hour" : { - "localId" : "2442", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "01", - "type" : "Literal" - }, - "minute" : { - "localId" : "2443", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "01", - "type" : "Literal" - }, - "second" : { - "localId" : "2444", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "01", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "2445", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "01", - "type" : "Literal" - } - } - }, { - "localId" : "2514", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "2515", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "2516", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "2482", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "2483", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2484", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2485", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2486", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2487", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2488", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2489", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "2466", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2018", - "type" : "Literal" - }, - "month" : { - "localId" : "2467", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "01", - "type" : "Literal" - }, - "day" : { - "localId" : "2468", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "01", - "type" : "Literal" - }, - "hour" : { - "localId" : "2469", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "01", - "type" : "Literal" - }, - "minute" : { - "localId" : "2470", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "01", - "type" : "Literal" - }, - "second" : { - "localId" : "2471", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "01", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "2472", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "01", - "type" : "Literal" - } - }, - "high" : { - "localId" : "2506", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "2507", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2508", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2509", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2510", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2511", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2512", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "2513", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "2490", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2019", - "type" : "Literal" - }, - "month" : { - "localId" : "2491", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "01", - "type" : "Literal" - }, - "day" : { - "localId" : "2492", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "01", - "type" : "Literal" - }, - "hour" : { - "localId" : "2493", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "01", - "type" : "Literal" - }, - "minute" : { - "localId" : "2494", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "01", - "type" : "Literal" - }, - "second" : { - "localId" : "2495", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "01", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "2496", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "09", - "type" : "Literal" - } - } - } ] - } - }, { - "localId" : "2524", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "IntegerIntervalSame", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "2524", - "s" : [ { - "value" : [ "","define ","IntegerIntervalSame",": " ] - }, { - "r" : "2535", - "s" : [ { - "r" : "2527", - "s" : [ { - "r" : "2525", - "value" : [ "Interval[","2",",","5","]" ] - } ] - }, { - "r" : "2535", - "value" : [ " ","same as"," " ] - }, { - "r" : "2532", - "s" : [ { - "r" : "2530", - "value" : [ "Interval[","2",",","5","]" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "2535", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "SameAs", - "signature" : [ { - "localId" : "2536", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "2537", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "2538", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "2539", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "2527", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "2528", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "2529", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "2525", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal" - }, - "high" : { - "localId" : "2526", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal" - } - }, { - "localId" : "2532", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "2533", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "2534", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "2530", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal" - }, - "high" : { - "localId" : "2531", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal" - } - } ] - } - }, { - "localId" : "2542", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "IntegerIntervalNotSame", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "2542", - "s" : [ { - "value" : [ "","define ","IntegerIntervalNotSame",": " ] - }, { - "r" : "2553", - "s" : [ { - "r" : "2545", - "s" : [ { - "r" : "2543", - "value" : [ "Interval[","2",",","5","]" ] - } ] - }, { - "r" : "2553", - "value" : [ " ","same as"," " ] - }, { - "r" : "2550", - "s" : [ { - "r" : "2548", - "value" : [ "Interval[","2",",","4","]" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "2553", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "SameAs", - "signature" : [ { - "localId" : "2554", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "2555", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "2556", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "2557", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "2545", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "2546", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "2547", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "2543", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal" - }, - "high" : { - "localId" : "2544", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal" - } - }, { - "localId" : "2550", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "2551", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "2552", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "2548", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal" - }, - "high" : { - "localId" : "2549", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "4", - "type" : "Literal" - } - } ] - } - }, { - "localId" : "2560", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "IntegerIntervalSameOpen", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "2560", - "s" : [ { - "value" : [ "","define ","IntegerIntervalSameOpen",": " ] - }, { - "r" : "2571", - "s" : [ { - "r" : "2563", - "s" : [ { - "r" : "2561", - "value" : [ "Interval[","2",",","5","]" ] - } ] - }, { - "r" : "2571", - "value" : [ " ","same as"," " ] - }, { - "r" : "2568", - "s" : [ { - "r" : "2566", - "value" : [ "Interval[","2",",","6",")" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "2571", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "SameAs", - "signature" : [ { - "localId" : "2572", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "2573", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "2574", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "2575", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "2563", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "2564", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "2565", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "2561", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal" - }, - "high" : { - "localId" : "2562", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal" - } - }, { - "localId" : "2568", - "lowClosed" : true, - "highClosed" : false, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "2569", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "2570", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "2566", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal" - }, - "high" : { - "localId" : "2567", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "6", - "type" : "Literal" - } - } ] - } - }, { - "localId" : "2578", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "OpenNullHighLowDifferent", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "2578", - "s" : [ { - "value" : [ "","define ","OpenNullHighLowDifferent",": " ] - }, { - "r" : "2590", - "s" : [ { - "r" : "2581", - "s" : [ { - "r" : "2579", - "value" : [ "Interval(","3",",","null",")" ] - } ] - }, { - "r" : "2590", - "value" : [ " ","same as"," " ] - }, { - "r" : "2587", - "s" : [ { - "r" : "2585", - "value" : [ "Interval(","2",",","4",")" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "2590", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "SameAs", - "signature" : [ { - "localId" : "2591", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "2592", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "2593", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "2594", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "2581", - "lowClosed" : false, - "highClosed" : false, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "2583", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "2584", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "2579", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "high" : { - "localId" : "2582", - "asType" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "As", - "signature" : [ ], - "operand" : { - "localId" : "2580", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - } - } - }, { - "localId" : "2587", - "lowClosed" : false, - "highClosed" : false, + "r" : "297", + "value" : [ "Interval[", "2", ", ", "5", "]" ] + } ] + }, { + "r" : "302", + "value" : [ ", ", "null", " }" ] + } ] + }, { + "value" : [ " per " ] + }, { + "r" : "310", + "s" : [ { + "value" : [ "1.5 ", "'1'" ] + } ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "319", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "320", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "321", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } + }, + "expression" : { + "type" : "Expand", + "localId" : "311", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "316", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "317", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "318", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } + }, + "signature" : [ { + "type" : "ListTypeSpecifier", + "localId" : "312", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "313", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "314", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } + }, { + "type" : "NamedTypeSpecifier", + "localId" : "315", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "List", + "localId" : "296", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "306", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "307", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "308", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } + }, + "element" : [ { + "type" : "Interval", + "localId" : "299", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "300", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "301", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "low" : { + "type" : "Literal", + "localId" : "297", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "annotation" : [ ] + }, + "high" : { + "type" : "Literal", + "localId" : "298", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "5", + "annotation" : [ ] + } + }, { + "type" : "As", + "localId" : "303", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Null", + "localId" : "302", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + }, + "asTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "304", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "305", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } + } ] + }, { + "type" : "Quantity", + "localId" : "310", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "value" : 1.5, + "unit" : "1", + "annotation" : [ ] + } ] + } + }, { + "localId" : "324", + "name" : "Overlapping", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "324", + "s" : [ { + "value" : [ "", "define ", "Overlapping", ": " ] + }, { + "r" : "341", + "s" : [ { + "value" : [ "expand " ] + }, { + "r" : "325", + "s" : [ { + "value" : [ "{ " ] + }, { + "r" : "328", + "s" : [ { + "r" : "326", + "value" : [ "Interval[", "2", ", ", "5", "]" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "333", + "s" : [ { + "r" : "331", + "value" : [ "Interval[", "4", ", ", "7", "]" ] + } ] + }, { + "value" : [ " }" ] + } ] + }, { + "value" : [ " per " ] + }, { + "r" : "340", + "s" : [ { + "value" : [ "1.5 ", "'1'" ] + } ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "349", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "350", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "351", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } + }, + "expression" : { + "type" : "Expand", + "localId" : "341", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "346", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "347", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "348", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } + }, + "signature" : [ { + "type" : "ListTypeSpecifier", + "localId" : "342", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "343", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "344", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } + }, { + "type" : "NamedTypeSpecifier", + "localId" : "345", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "List", + "localId" : "325", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "336", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "337", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "338", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } + }, + "element" : [ { + "type" : "Interval", + "localId" : "328", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "329", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "330", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "low" : { + "type" : "Literal", + "localId" : "326", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "annotation" : [ ] + }, + "high" : { + "type" : "Literal", + "localId" : "327", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "5", + "annotation" : [ ] + } + }, { + "type" : "Interval", + "localId" : "333", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "334", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "335", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "low" : { + "type" : "Literal", + "localId" : "331", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "4", + "annotation" : [ ] + }, + "high" : { + "type" : "Literal", + "localId" : "332", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "7", + "annotation" : [ ] + } + } ] + }, { + "type" : "Quantity", + "localId" : "340", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "value" : 1.5, + "unit" : "1", + "annotation" : [ ] + } ] + } + }, { + "localId" : "354", + "name" : "NonOverlapping", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "354", + "s" : [ { + "value" : [ "", "define ", "NonOverlapping", ": " ] + }, { + "r" : "371", + "s" : [ { + "value" : [ "expand " ] + }, { + "r" : "355", + "s" : [ { + "value" : [ "{ " ] + }, { + "r" : "358", + "s" : [ { + "r" : "356", + "value" : [ "Interval[", "2", ", ", "4", "]" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "363", + "s" : [ { + "r" : "361", + "value" : [ "Interval[", "6", ", ", "8", "]" ] + } ] + }, { + "value" : [ " }" ] + } ] + }, { + "value" : [ " per " ] + }, { + "r" : "370", + "s" : [ { + "value" : [ "1.5 ", "'1'" ] + } ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "379", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "380", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "381", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } + }, + "expression" : { + "type" : "Expand", + "localId" : "371", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "376", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "377", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "378", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } + }, + "signature" : [ { + "type" : "ListTypeSpecifier", + "localId" : "372", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "373", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "374", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } + }, { + "type" : "NamedTypeSpecifier", + "localId" : "375", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "List", + "localId" : "355", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "366", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "367", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "368", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } + }, + "element" : [ { + "type" : "Interval", + "localId" : "358", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "359", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "360", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "low" : { + "type" : "Literal", + "localId" : "356", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "annotation" : [ ] + }, + "high" : { + "type" : "Literal", + "localId" : "357", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "4", + "annotation" : [ ] + } + }, { + "type" : "Interval", + "localId" : "363", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "364", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "365", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "low" : { + "type" : "Literal", + "localId" : "361", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "6", + "annotation" : [ ] + }, + "high" : { + "type" : "Literal", + "localId" : "362", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "8", + "annotation" : [ ] + } + } ] + }, { + "type" : "Quantity", + "localId" : "370", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "value" : 1.5, + "unit" : "1", + "annotation" : [ ] + } ] + } + }, { + "localId" : "384", + "name" : "NoPer", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "384", + "s" : [ { + "value" : [ "", "define ", "NoPer", ": " ] + }, { + "r" : "395", + "s" : [ { + "value" : [ "expand " ] + }, { + "r" : "385", + "s" : [ { + "value" : [ "{ " ] + }, { + "r" : "388", + "s" : [ { + "r" : "386", + "value" : [ "Interval[", "2.5", ", ", "4.5", "]" ] + } ] + }, { + "value" : [ " }" ] + } ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "403", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "404", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "405", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } + } + }, + "expression" : { + "type" : "Expand", + "localId" : "395", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "400", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "401", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "402", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } + } + }, + "signature" : [ { + "type" : "ListTypeSpecifier", + "localId" : "396", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "397", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "398", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } + } + }, { + "type" : "NamedTypeSpecifier", + "localId" : "399", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "List", + "localId" : "385", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "391", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "392", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "393", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } + } + }, + "element" : [ { + "type" : "Interval", + "localId" : "388", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "389", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "390", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } + }, + "low" : { + "type" : "Literal", + "localId" : "386", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "2.5", + "annotation" : [ ] + }, + "high" : { + "type" : "Literal", + "localId" : "387", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "4.5", + "annotation" : [ ] + } + } ] + }, { + "type" : "Null", + "localId" : "394", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } ] + } + }, { + "localId" : "408", + "name" : "OpenStart", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "408", + "s" : [ { + "value" : [ "", "define ", "OpenStart", ": " ] + }, { + "r" : "420", + "s" : [ { + "value" : [ "expand " ] + }, { + "r" : "409", + "s" : [ { + "value" : [ "{ " ] + }, { + "r" : "412", + "s" : [ { + "r" : "410", + "value" : [ "Interval(", "2", ", ", "5", "]" ] + } ] + }, { + "value" : [ " }" ] + } ] + }, { + "value" : [ " per " ] + }, { + "r" : "419", + "s" : [ { + "value" : [ "1.5 ", "'1'" ] + } ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "428", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "429", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "430", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } + }, + "expression" : { + "type" : "Expand", + "localId" : "420", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "425", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "426", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "427", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } + }, + "signature" : [ { + "type" : "ListTypeSpecifier", + "localId" : "421", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "422", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "423", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } + }, { + "type" : "NamedTypeSpecifier", + "localId" : "424", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "List", + "localId" : "409", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "415", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "416", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "417", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } + }, + "element" : [ { + "type" : "Interval", + "localId" : "412", + "lowClosed" : false, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "413", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "414", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "low" : { + "type" : "Literal", + "localId" : "410", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "annotation" : [ ] + }, + "high" : { + "type" : "Literal", + "localId" : "411", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "5", + "annotation" : [ ] + } + } ] + }, { + "type" : "Quantity", + "localId" : "419", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "value" : 1.5, + "unit" : "1", + "annotation" : [ ] + } ] + } + }, { + "localId" : "433", + "name" : "OpenEnd", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "433", + "s" : [ { + "value" : [ "", "define ", "OpenEnd", ": " ] + }, { + "r" : "445", + "s" : [ { + "value" : [ "expand " ] + }, { + "r" : "434", + "s" : [ { + "value" : [ "{ " ] + }, { + "r" : "437", + "s" : [ { + "r" : "435", + "value" : [ "Interval[", "2", ", ", "5", ")" ] + } ] + }, { + "value" : [ " }" ] + } ] + }, { + "value" : [ " per " ] + }, { + "r" : "444", + "s" : [ { + "value" : [ "1.5 ", "'1'" ] + } ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "453", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "454", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "455", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } + }, + "expression" : { + "type" : "Expand", + "localId" : "445", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "450", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "451", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "452", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } + }, + "signature" : [ { + "type" : "ListTypeSpecifier", + "localId" : "446", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "447", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "448", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } + }, { + "type" : "NamedTypeSpecifier", + "localId" : "449", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "List", + "localId" : "434", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "440", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "441", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "442", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } + }, + "element" : [ { + "type" : "Interval", + "localId" : "437", + "lowClosed" : true, + "highClosed" : false, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "438", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "439", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "low" : { + "type" : "Literal", + "localId" : "435", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "annotation" : [ ] + }, + "high" : { + "type" : "Literal", + "localId" : "436", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "5", + "annotation" : [ ] + } + } ] + }, { + "type" : "Quantity", + "localId" : "444", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "value" : 1.5, + "unit" : "1", + "annotation" : [ ] + } ] + } + }, { + "localId" : "458", + "name" : "OpenBoth", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "458", + "s" : [ { + "value" : [ "", "define ", "OpenBoth", ": " ] + }, { + "r" : "470", + "s" : [ { + "value" : [ "expand " ] + }, { + "r" : "459", + "s" : [ { + "value" : [ "{ " ] + }, { + "r" : "462", + "s" : [ { + "r" : "460", + "value" : [ "Interval(", "2", ", ", "5", ")" ] + } ] + }, { + "value" : [ " }" ] + } ] + }, { + "value" : [ " per " ] + }, { + "r" : "469", + "s" : [ { + "value" : [ "1.5 ", "'1'" ] + } ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "478", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "479", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "480", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } + }, + "expression" : { + "type" : "Expand", + "localId" : "470", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "475", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "476", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "477", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } + }, + "signature" : [ { + "type" : "ListTypeSpecifier", + "localId" : "471", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "472", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "473", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } + }, { + "type" : "NamedTypeSpecifier", + "localId" : "474", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "List", + "localId" : "459", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "465", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "466", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "467", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } + }, + "element" : [ { + "type" : "Interval", + "localId" : "462", + "lowClosed" : false, + "highClosed" : false, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "463", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "464", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "low" : { + "type" : "Literal", + "localId" : "460", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "annotation" : [ ] + }, + "high" : { + "type" : "Literal", + "localId" : "461", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "5", + "annotation" : [ ] + } + } ] + }, { + "type" : "Quantity", + "localId" : "469", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "value" : 1.5, + "unit" : "1", + "annotation" : [ ] + } ] + } + }, { + "localId" : "483", + "name" : "EmptyList", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "483", + "s" : [ { + "value" : [ "", "define ", "EmptyList", ": " ] + }, { + "r" : "488", + "s" : [ { + "value" : [ "List<" ] + }, { + "r" : "484", + "s" : [ { + "value" : [ "Interval<" ] + }, { + "r" : "485", + "s" : [ { + "value" : [ "Decimal" ] + } ] + }, { + "value" : [ ">" ] + } ] + }, { + "value" : [ ">{}" ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "493", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "494", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "495", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } + } + }, + "expression" : { + "type" : "List", + "localId" : "488", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "490", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "491", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "492", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } + } + }, + "element" : [ ] + } + }, { + "localId" : "498", + "name" : "PerTooBig", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "498", + "s" : [ { + "value" : [ "", "define ", "PerTooBig", ": " ] + }, { + "r" : "514", + "s" : [ { + "value" : [ "expand " ] + }, { + "r" : "499", + "s" : [ { + "value" : [ "{ " ] + }, { + "r" : "502", + "s" : [ { + "r" : "500", + "value" : [ "Interval[", "2", ", ", "4", "]" ] + } ] + }, { + "r" : "505", + "value" : [ ", ", "null", " }" ] + } ] + }, { + "value" : [ " per " ] + }, { + "r" : "513", + "s" : [ { + "value" : [ "5.5 ", "'1'" ] + } ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "522", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "523", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "524", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } + }, + "expression" : { + "type" : "Expand", + "localId" : "514", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "519", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "520", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "521", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } + }, + "signature" : [ { + "type" : "ListTypeSpecifier", + "localId" : "515", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "516", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "517", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } + }, { + "type" : "NamedTypeSpecifier", + "localId" : "518", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "List", + "localId" : "499", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "509", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "510", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "511", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } + }, + "element" : [ { + "type" : "Interval", + "localId" : "502", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "503", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "504", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "low" : { + "type" : "Literal", + "localId" : "500", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "annotation" : [ ] + }, + "high" : { + "type" : "Literal", + "localId" : "501", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "4", + "annotation" : [ ] + } + }, { + "type" : "As", + "localId" : "506", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Null", + "localId" : "505", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + }, + "asTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "507", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "508", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } + } ] + }, { + "type" : "Quantity", + "localId" : "513", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "value" : 5.5, + "unit" : "1", + "annotation" : [ ] + } ] + } + }, { + "localId" : "527", + "name" : "NullOpen", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "527", + "s" : [ { + "value" : [ "", "define ", "NullOpen", ": " ] + }, { + "r" : "540", + "s" : [ { + "value" : [ "expand " ] + }, { + "r" : "528", + "s" : [ { + "value" : [ "{ " ] + }, { + "r" : "531", + "s" : [ { + "r" : "529", + "value" : [ "Interval[", "null", ", ", "4", "]" ] + } ] + }, { + "value" : [ " }" ] + } ] + }, { + "value" : [ " per " ] + }, { + "r" : "539", + "s" : [ { + "value" : [ "1.5 ", "'1'" ] + } ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "548", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "549", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "550", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } + }, + "expression" : { + "type" : "Expand", + "localId" : "540", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "545", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "546", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "547", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } + }, + "signature" : [ { + "type" : "ListTypeSpecifier", + "localId" : "541", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "542", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "543", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } + }, { + "type" : "NamedTypeSpecifier", + "localId" : "544", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "List", + "localId" : "528", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "535", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "536", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "537", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } + }, + "element" : [ { + "type" : "Interval", + "localId" : "531", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "533", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "534", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "low" : { + "type" : "As", + "localId" : "532", + "asType" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Null", + "localId" : "529", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } + }, + "high" : { + "type" : "Literal", + "localId" : "530", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "4", + "annotation" : [ ] + } + } ] + }, { + "type" : "Quantity", + "localId" : "539", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "value" : 1.5, + "unit" : "1", + "annotation" : [ ] + } ] + } + }, { + "localId" : "553", + "name" : "NullClose", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "553", + "s" : [ { + "value" : [ "", "define ", "NullClose", ": " ] + }, { + "r" : "566", + "s" : [ { + "value" : [ "expand " ] + }, { + "r" : "554", + "s" : [ { + "value" : [ "{ " ] + }, { + "r" : "557", + "s" : [ { + "r" : "555", + "value" : [ "Interval[", "2", ", ", "null", "]" ] + } ] + }, { + "value" : [ " }" ] + } ] + }, { + "value" : [ " per " ] + }, { + "r" : "565", + "s" : [ { + "value" : [ "1.5 ", "'1'" ] + } ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "574", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "575", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "576", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } + }, + "expression" : { + "type" : "Expand", + "localId" : "566", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "571", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "572", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "573", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } + }, + "signature" : [ { + "type" : "ListTypeSpecifier", + "localId" : "567", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "568", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "569", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } + }, { + "type" : "NamedTypeSpecifier", + "localId" : "570", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "List", + "localId" : "554", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "561", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "562", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "563", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } + }, + "element" : [ { + "type" : "Interval", + "localId" : "557", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "559", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "560", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "low" : { + "type" : "Literal", + "localId" : "555", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "annotation" : [ ] + }, + "high" : { + "type" : "As", + "localId" : "558", + "asType" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Null", + "localId" : "556", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } + } + } ] + }, { + "type" : "Quantity", + "localId" : "565", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "value" : 1.5, + "unit" : "1", + "annotation" : [ ] + } ] + } + }, { + "localId" : "579", + "name" : "NullBoth", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "579", + "s" : [ { + "value" : [ "", "define ", "NullBoth", ": " ] + }, { + "r" : "591", + "s" : [ { + "value" : [ "expand " ] + }, { + "r" : "580", + "s" : [ { + "value" : [ "{ " ] + }, { + "r" : "583", + "s" : [ { + "r" : "581", + "value" : [ "Interval[", "null", ", ", "null", "]" ] + } ] + }, { + "value" : [ " }" ] + } ] + }, { + "value" : [ " per " ] + }, { + "r" : "590", + "s" : [ { + "value" : [ "1.5 ", "'1'" ] + } ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "599", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "600", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "601", + "name" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } + } + }, + "expression" : { + "type" : "Expand", + "localId" : "591", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "596", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "597", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "598", + "name" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } + } + }, + "signature" : [ { + "type" : "ListTypeSpecifier", + "localId" : "592", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "593", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "594", + "name" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } + } + }, { + "type" : "NamedTypeSpecifier", + "localId" : "595", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "List", + "localId" : "580", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "586", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "587", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "588", + "name" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } + } + }, + "element" : [ { + "type" : "Interval", + "localId" : "583", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "584", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "585", + "name" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } + }, + "low" : { + "type" : "Null", + "localId" : "581", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + }, + "high" : { + "type" : "Null", + "localId" : "582", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } + } ] + }, { + "type" : "Quantity", + "localId" : "590", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "value" : 1.5, + "unit" : "1", + "annotation" : [ ] + } ] + } + }, { + "localId" : "604", + "name" : "BadPerMinute", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "604", + "s" : [ { + "value" : [ "", "define ", "BadPerMinute", ": " ] + }, { + "r" : "616", + "s" : [ { + "value" : [ "expand " ] + }, { + "r" : "605", + "s" : [ { + "value" : [ "{ " ] + }, { + "r" : "608", + "s" : [ { + "r" : "606", + "value" : [ "Interval(", "2.1", ", ", "4.1", "]" ] + } ] + }, { + "value" : [ " }" ] + } ] + }, { + "value" : [ " per " ] + }, { + "r" : "615", + "s" : [ { + "value" : [ "0.5 ", "minute" ] + } ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "624", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "625", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "626", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } + } + }, + "expression" : { + "type" : "Expand", + "localId" : "616", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "621", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "622", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "623", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } + } + }, + "signature" : [ { + "type" : "ListTypeSpecifier", + "localId" : "617", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "618", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "619", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } + } + }, { + "type" : "NamedTypeSpecifier", + "localId" : "620", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "List", + "localId" : "605", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "611", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "612", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "613", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } + } + }, + "element" : [ { + "type" : "Interval", + "localId" : "608", + "lowClosed" : false, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "609", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "610", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } + }, + "low" : { + "type" : "Literal", + "localId" : "606", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "2.1", + "annotation" : [ ] + }, + "high" : { + "type" : "Literal", + "localId" : "607", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "4.1", + "annotation" : [ ] + } + } ] + }, { + "type" : "Quantity", + "localId" : "615", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "value" : 0.5, + "unit" : "minute", + "annotation" : [ ] + } ] + } + } ] + } + } +} + +/* SameAs +library TestSnippet version '1' +using Simple version '1.0.0' +context Patient +define NullBoth: Interval[null,null] same as Interval[null,null] +define NullOne: Interval[DateTime(2018,01,01), DateTime(2018,02,02)] same as Interval[null,null] +define Equal: Interval[DateTime(2018,01,01), DateTime(2018,01,01)] same as Interval[DateTime(2018,01,01), DateTime(2018,01,01)] +define NotEqual: Interval[DateTime(2018,01,01), DateTime(2018,01,01)] same as Interval[DateTime(2018,02,01), DateTime(2018,05,01)] +define DateTimeAndDateComparisonEqual: Interval[DateTime(2018,01,01), DateTime(2018,01,01)] same as Interval[Date(2018,01,01), Date(2018,01,01)] +define NullIntervals: (null as Interval) same as (null as Interval) +define OpenAndClosed: Interval[DateTime(2018,01,01,00,00,00,0), DateTime(2019,01,01,00,00,00,0)) same as Interval[DateTime(2018,01,01,00,00,00,0), DateTime(2018,12,31,23,59,59,999)] +define OpenEnded: Interval[DateTime(2018,01,01), null] same day as Interval[DateTime(2018,01,01), null] +define OpenEndedNotSame: Interval[DateTime(2018,01,01), null] same day as Interval[DateTime(2018,01,01), DateTime(2019,01,01)] +define OpenEndedNotSame2: Interval[DateTime(2018,01,01), DateTime(2019,01,01)] same day as Interval[DateTime(2018,01,01), null] +define OpenBeginningSame: Interval[null,DateTime(2018,01,01)] same as Interval[null,DateTime(2018,01,01)] +define OpenBeginningNotSame: Interval[DateTime(2017,01,01),DateTime(2018,01,01)] same as Interval[null,DateTime(2018,01,01)] +define DateOpenAndClosed: Interval[Date(2018,01,01), Date(2018,02,02)] same as Interval[Date(2018,01,01), Date(2018,02,03)) +define DateOpenEnded: Interval[Date(2018,01,01), null] same as Interval[Date(2018,01,01), null] +define TimeOpenAndClosed: Interval[Time(01,01), Time(02,02)] same as Interval[Time(01,01), Time(02,03)) +define TimeOpenEnded: Interval[Time(01,01), null] same as Interval[Time(01,01), null] +define DateIntervalComparisonSame: Interval[Date(2018,01,01), Date(2018,02,02)] same as Interval[Date(2018,01,01), Date(2018,02,02)] +define DateIntervalComparisonNotSame: Interval[Date(2018,01,01), Date(2018,02,02)] same as Interval[Date(2018,01,01), Date(2018,02,01)] +define TimeIntervalComparisonSame: Interval[Time(01,01), Time(02,02)] same as Interval[Time(01,01), Time(02,02)] +define TimeIntervalComparisonNotSame: Interval[Time(01,01), Time(02,02)] same as Interval[Time(01,01), Time(08,01)] +define DateTimeYearPrecisionSame: Interval[DateTime(2018,01,01), DateTime(2019,01,01)] same year as Interval[DateTime(2018,02,01), DateTime(2019,05,01)] +define DateTimeYearPrecisionNotSame: Interval[DateTime(2018,01,01), DateTime(2019,01,01)] same year as Interval[DateTime(2018,02,01), DateTime(2020,05,01)] +define DateYearPrecisionSame: Interval[Date(2018,01,01), Date(2019,01,01)] same year as Interval[Date(2018,02,01), Date(2019,05,01)] +define DateYearPrecisionNotSame: Interval[Date(2018,01,01), Date(2019,01,01)] same year as Interval[Date(2018,02,01), Date(2020,05,01)] +define DateTimeMonthPrecisionSame: Interval[DateTime(2018,01,01), DateTime(2019,01,01)] same month as Interval[DateTime(2018,01,01), DateTime(2019,01,03)] +define DateTimeMonthPrecisionNotSame: Interval[DateTime(2018,01,01), DateTime(2019,01,01)] same month as Interval[DateTime(2018,02,01), DateTime(2019,01,01)] +define DateTimeDayPrecisionSame: Interval[DateTime(2018,01,01), DateTime(2019,01,01)] same day as Interval[DateTime(2018,01,01,05), DateTime(2019,01,01,09)] +define DateTimeDayPrecisionNotSame: Interval[DateTime(2018,01,01), DateTime(2019,01,01)] same day as Interval[DateTime(2018,01,01), DateTime(2019,01,02,06)] +define DateTimeHourPrecisionSame: Interval[DateTime(2018,01,01,01), DateTime(2019,01,01,01)] same hour as Interval[DateTime(2018,01,01,01), DateTime(2019,01,01,01,05)] +define DateTimeHourPrecisionNotSame: Interval[DateTime(2018,01,01,01,01), DateTime(2019,01,01,01)] same hour as Interval[DateTime(2018,01,01,06), DateTime(2019,01,01,01)] +define DateTimeMinutePrecisionSame: Interval[DateTime(2018,01,01,01,01), DateTime(2019,01,01,01,01)] same minute as Interval[DateTime(2018,01,01,01,01,09), DateTime(2019,01,01,01,01,06)] +define DateTimeMinutePrecisionNotSame: Interval[DateTime(2018,01,01,01,01), DateTime(2019,01,01,01,01)] same minute as Interval[DateTime(2018,01,01,06,03), DateTime(2019,01,01,01,06)] +define DateTimeSecondPrecisionSame: Interval[DateTime(2018,01,01,01,01,01), DateTime(2019,01,01,01,01,01)] same second as Interval[DateTime(2018,01,01,01,01,01), DateTime(2019,01,01,01,01,01,07)] +define DateTimeSecondPrecisionNotSame: Interval[DateTime(2018,01,01,01,01,01), DateTime(2019,01,01,01,01,01)] same second as Interval[DateTime(2018,01,01,01,01,01), DateTime(2019,01,01,01,07,55)] +define DateTimeMillisecondPrecisionSame: Interval[DateTime(2018,01,01,01,01,01,01), DateTime(2019,01,01,01,01,01,01)] same millisecond as Interval[DateTime(2018,01,01,01,01,01,01), DateTime(2019,01,01,01,01,01,01)] +define DateTimeMillisecondPrecisionNotSame: Interval[DateTime(2018,01,01,01,01,01,01), DateTime(2019,01,01,01,01,01,01)] same millisecond as Interval[DateTime(2018,01,01,01,01,01,01), DateTime(2019,01,01,01,01,01,09)] +define IntegerIntervalSame: Interval[2,5] same as Interval[2,5] +define IntegerIntervalNotSame: Interval[2,5] same as Interval[2,4] +define IntegerIntervalSameOpen: Interval[2,5] same as Interval[2,6) +define OpenNullHighLowDifferent: Interval(3,null) same as Interval(2,4) +define OpenNullLowHighDifferent: Interval(1,5) same as Interval(null,4) +define OpenNullHighLowSame: Interval(2,null) same as Interval(2,4) +define OpenNullLowHighSame: Interval(1,4) same as Interval(null,4) +define OpenNullLowOpenNullHigh: Interval(1,null) same as Interval(null,4) +define OpenNullHighsLowsDifferent: Interval(1,null) same as Interval(2,null) +define OpenNullHighsLowsSame: Interval(1,null) same as Interval(1,null) +define OpenNullLowsHighsSame: Interval(null,3) same as Interval(null,3) +*/ + +module.exports['SameAs'] = { + "library" : { + "localId" : "0", + "annotation" : [ { + "type" : "CqlToElmInfo", + "translatorVersion" : "4.2.0", + "translatorOptions" : "EnableDateRangeOptimization,EnableAnnotations,EnableResultTypes", + "signatureLevel" : "All" + }, { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "2714", + "s" : [ { + "value" : [ "", "library TestSnippet version '1'" ] + } ] + } + } ], + "identifier" : { + "id" : "TestSnippet", + "version" : "1" + }, + "schemaIdentifier" : { + "id" : "urn:hl7-org:elm", + "version" : "r1" + }, + "usings" : { + "def" : [ { + "localId" : "1", + "localIdentifier" : "System", + "uri" : "urn:hl7-org:elm-types:r1", + "annotation" : [ ] + }, { + "localId" : "206", + "localIdentifier" : "Simple", + "uri" : "https://github.com/cqframework/cql-execution/simple", + "version" : "1.0.0", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "206", + "s" : [ { + "value" : [ "", "using " ] + }, { + "s" : [ { + "value" : [ "Simple" ] + } ] + }, { + "value" : [ " version '1.0.0'" ] + } ] + } + } ] + } ] + }, + "contexts" : { + "def" : [ { + "localId" : "211", + "name" : "Patient", + "annotation" : [ ] + } ] + }, + "statements" : { + "def" : [ { + "localId" : "209", + "name" : "Patient", + "context" : "Patient", + "annotation" : [ ], + "expression" : { + "type" : "SingletonFrom", + "localId" : "210", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Retrieve", + "localId" : "208", + "dataType" : "{https://github.com/cqframework/cql-execution/simple}Patient", + "annotation" : [ ], + "include" : [ ], + "codeFilter" : [ ], + "dateFilter" : [ ], + "otherFilter" : [ ] + } + } + }, { + "localId" : "214", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "NullBoth", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "214", + "s" : [ { + "value" : [ "", "define ", "NullBoth", ": " ] + }, { + "r" : "225", + "s" : [ { + "r" : "217", + "s" : [ { + "r" : "215", + "value" : [ "Interval[", "null", ",", "null", "]" ] + } ] + }, { + "r" : "225", + "value" : [ " ", "same as", " " ] + }, { + "r" : "222", + "s" : [ { + "r" : "220", + "value" : [ "Interval[", "null", ",", "null", "]" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "SameAs", + "localId" : "225", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "226", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "227", + "name" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "228", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "229", + "name" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "Interval", + "localId" : "217", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "218", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "219", + "name" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } + }, + "low" : { + "type" : "Null", + "localId" : "215", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + }, + "high" : { + "type" : "Null", + "localId" : "216", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } + }, { + "type" : "Interval", + "localId" : "222", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "223", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "224", + "name" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } + }, + "low" : { + "type" : "Null", + "localId" : "220", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + }, + "high" : { + "type" : "Null", + "localId" : "221", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } + } ] + } + }, { + "localId" : "232", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "NullOne", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "232", + "s" : [ { + "value" : [ "", "define ", "NullOne", ": " ] + }, { + "r" : "265", + "s" : [ { + "r" : "257", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "241", + "s" : [ { + "r" : "233", + "value" : [ "DateTime", "(", "2018", ",", "01", ",", "01", ")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "253", + "s" : [ { + "r" : "245", + "value" : [ "DateTime", "(", "2018", ",", "02", ",", "02", ")" ] + } ] + }, { + "value" : [ "]" ] + } ] + }, { + "r" : "265", + "value" : [ " ", "same as", " " ] + }, { + "r" : "262", + "s" : [ { + "r" : "260", + "value" : [ "Interval[", "null", ",", "null", "]" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "SameAs", + "localId" : "265", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "273", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "274", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "275", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "276", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "Interval", + "localId" : "257", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "258", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "259", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "DateTime", + "localId" : "241", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "242", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "243", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "244", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "233", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2018", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "234", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "01", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "235", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "01", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "253", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "254", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "255", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "256", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "245", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2018", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "246", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "02", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "247", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "02", + "annotation" : [ ] + } + } + }, { + "type" : "Interval", + "localId" : "266", + "annotation" : [ ], + "low" : { + "type" : "As", + "localId" : "268", + "asType" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Property", + "localId" : "267", + "path" : "low", + "annotation" : [ ], + "source" : { "type" : "Interval", + "localId" : "262", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], "resultTypeSpecifier" : { - "localId" : "2588", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "2589", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } + "type" : "IntervalTypeSpecifier", + "localId" : "263", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "264", + "name" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } }, "low" : { - "localId" : "2585", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal" + "type" : "Null", + "localId" : "260", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] }, "high" : { - "localId" : "2586", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "4", - "type" : "Literal" - } - } ] - } - }, { - "localId" : "2597", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "OpenNullLowHighDifferent", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "2597", - "s" : [ { - "value" : [ "","define ","OpenNullLowHighDifferent",": " ] - }, { - "r" : "2609", - "s" : [ { - "r" : "2600", - "s" : [ { - "r" : "2598", - "value" : [ "Interval(","1",",","5",")" ] - } ] - }, { - "r" : "2609", - "value" : [ " ","same as"," " ] - }, { - "r" : "2605", - "s" : [ { - "r" : "2603", - "value" : [ "Interval(","null",",","4",")" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "2609", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "SameAs", - "signature" : [ { - "localId" : "2610", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "2611", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" + "type" : "Null", + "localId" : "261", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] } - }, { - "localId" : "2612", + } + } + }, + "lowClosedExpression" : { + "type" : "Property", + "localId" : "269", + "path" : "lowClosed", + "annotation" : [ ], + "source" : { + "type" : "Interval", + "localId" : "262", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { "type" : "IntervalTypeSpecifier", + "localId" : "263", + "annotation" : [ ], "pointType" : { - "localId" : "2613", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "2600", - "lowClosed" : false, - "highClosed" : false, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "2601", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "2602", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "2598", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "high" : { - "localId" : "2599", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal" + "type" : "NamedTypeSpecifier", + "localId" : "264", + "name" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] } - }, { - "localId" : "2605", - "lowClosed" : false, - "highClosed" : false, + }, + "low" : { + "type" : "Null", + "localId" : "260", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + }, + "high" : { + "type" : "Null", + "localId" : "261", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } + } + }, + "high" : { + "type" : "As", + "localId" : "271", + "asType" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Property", + "localId" : "270", + "path" : "high", + "annotation" : [ ], + "source" : { "type" : "Interval", + "localId" : "262", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], "resultTypeSpecifier" : { - "localId" : "2607", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "2608", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } + "type" : "IntervalTypeSpecifier", + "localId" : "263", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "264", + "name" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } }, "low" : { - "localId" : "2606", - "asType" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "As", - "signature" : [ ], - "operand" : { - "localId" : "2603", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - } + "type" : "Null", + "localId" : "260", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] }, "high" : { - "localId" : "2604", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "4", - "type" : "Literal" - } - } ] - } - }, { - "localId" : "2616", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "OpenNullHighLowSame", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "2616", - "s" : [ { - "value" : [ "","define ","OpenNullHighLowSame",": " ] - }, { - "r" : "2628", - "s" : [ { - "r" : "2619", - "s" : [ { - "r" : "2617", - "value" : [ "Interval(","2",",","null",")" ] - } ] - }, { - "r" : "2628", - "value" : [ " ","same as"," " ] - }, { - "r" : "2625", - "s" : [ { - "r" : "2623", - "value" : [ "Interval(","2",",","4",")" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "2628", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "SameAs", - "signature" : [ { - "localId" : "2629", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "2630", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" + "type" : "Null", + "localId" : "261", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] } - }, { - "localId" : "2631", + } + } + }, + "highClosedExpression" : { + "type" : "Property", + "localId" : "272", + "path" : "highClosed", + "annotation" : [ ], + "source" : { + "type" : "Interval", + "localId" : "262", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { "type" : "IntervalTypeSpecifier", + "localId" : "263", + "annotation" : [ ], "pointType" : { - "localId" : "2632", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "2619", - "lowClosed" : false, - "highClosed" : false, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "2621", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "2622", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "2617", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal" - }, - "high" : { - "localId" : "2620", - "asType" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "As", - "signature" : [ ], - "operand" : { - "localId" : "2618", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - } - } - }, { - "localId" : "2625", - "lowClosed" : false, - "highClosed" : false, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "2626", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "2627", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "2623", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal" - }, - "high" : { - "localId" : "2624", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "4", - "type" : "Literal" + "type" : "NamedTypeSpecifier", + "localId" : "264", + "name" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] } - } ] + }, + "low" : { + "type" : "Null", + "localId" : "260", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + }, + "high" : { + "type" : "Null", + "localId" : "261", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } + } } - }, { - "localId" : "2635", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "OpenNullLowHighSame", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "2635", - "s" : [ { - "value" : [ "","define ","OpenNullLowHighSame",": " ] - }, { - "r" : "2647", - "s" : [ { - "r" : "2638", - "s" : [ { - "r" : "2636", - "value" : [ "Interval(","1",",","4",")" ] - } ] - }, { - "r" : "2647", - "value" : [ " ","same as"," " ] - }, { - "r" : "2643", - "s" : [ { - "r" : "2641", - "value" : [ "Interval(","null",",","4",")" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "2647", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "SameAs", - "signature" : [ { - "localId" : "2648", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "2649", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "2650", + } ] + } + }, { + "localId" : "279", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "Equal", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "279", + "s" : [ { + "value" : [ "", "define ", "Equal", ": " ] + }, { + "r" : "334", + "s" : [ { + "r" : "304", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "288", + "s" : [ { + "r" : "280", + "value" : [ "DateTime", "(", "2018", ",", "01", ",", "01", ")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "300", + "s" : [ { + "r" : "292", + "value" : [ "DateTime", "(", "2018", ",", "01", ",", "01", ")" ] + } ] + }, { + "value" : [ "]" ] + } ] + }, { + "r" : "334", + "value" : [ " ", "same as", " " ] + }, { + "r" : "331", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "315", + "s" : [ { + "r" : "307", + "value" : [ "DateTime", "(", "2018", ",", "01", ",", "01", ")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "327", + "s" : [ { + "r" : "319", + "value" : [ "DateTime", "(", "2018", ",", "01", ",", "01", ")" ] + } ] + }, { + "value" : [ "]" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "SameAs", + "localId" : "334", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "335", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "336", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "337", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "338", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "Interval", + "localId" : "304", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "305", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "306", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "DateTime", + "localId" : "288", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "289", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "290", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "291", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "280", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2018", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "281", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "01", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "282", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "01", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "300", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "301", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "302", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "303", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "292", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2018", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "293", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "01", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "294", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "01", + "annotation" : [ ] + } + } + }, { + "type" : "Interval", + "localId" : "331", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "332", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "333", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "DateTime", + "localId" : "315", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "316", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "317", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "318", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "307", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2018", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "308", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "01", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "309", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "01", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "327", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "328", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "329", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "330", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "319", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2018", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "320", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "01", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "321", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "01", + "annotation" : [ ] + } + } + } ] + } + }, { + "localId" : "341", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "NotEqual", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "341", + "s" : [ { + "value" : [ "", "define ", "NotEqual", ": " ] + }, { + "r" : "396", + "s" : [ { + "r" : "366", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "350", + "s" : [ { + "r" : "342", + "value" : [ "DateTime", "(", "2018", ",", "01", ",", "01", ")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "362", + "s" : [ { + "r" : "354", + "value" : [ "DateTime", "(", "2018", ",", "01", ",", "01", ")" ] + } ] + }, { + "value" : [ "]" ] + } ] + }, { + "r" : "396", + "value" : [ " ", "same as", " " ] + }, { + "r" : "393", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "377", + "s" : [ { + "r" : "369", + "value" : [ "DateTime", "(", "2018", ",", "02", ",", "01", ")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "389", + "s" : [ { + "r" : "381", + "value" : [ "DateTime", "(", "2018", ",", "05", ",", "01", ")" ] + } ] + }, { + "value" : [ "]" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "SameAs", + "localId" : "396", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "397", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "398", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "399", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "400", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "Interval", + "localId" : "366", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "367", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "368", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "DateTime", + "localId" : "350", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "351", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "352", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "353", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "342", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2018", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "343", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "01", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "344", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "01", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "362", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "363", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "364", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "365", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "354", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2018", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "355", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "01", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "356", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "01", + "annotation" : [ ] + } + } + }, { + "type" : "Interval", + "localId" : "393", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "394", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "395", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "DateTime", + "localId" : "377", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "378", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "379", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "380", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "369", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2018", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "370", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "02", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "371", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "01", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "389", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "390", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "391", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "392", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "381", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2018", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "382", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "05", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "383", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "01", + "annotation" : [ ] + } + } + } ] + } + }, { + "localId" : "403", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "DateTimeAndDateComparisonEqual", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "403", + "s" : [ { + "value" : [ "", "define ", "DateTimeAndDateComparisonEqual", ": " ] + }, { + "r" : "458", + "s" : [ { + "r" : "428", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "412", + "s" : [ { + "r" : "404", + "value" : [ "DateTime", "(", "2018", ",", "01", ",", "01", ")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "424", + "s" : [ { + "r" : "416", + "value" : [ "DateTime", "(", "2018", ",", "01", ",", "01", ")" ] + } ] + }, { + "value" : [ "]" ] + } ] + }, { + "r" : "458", + "value" : [ " ", "same as", " " ] + }, { + "r" : "455", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "439", + "s" : [ { + "r" : "431", + "value" : [ "Date", "(", "2018", ",", "01", ",", "01", ")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "451", + "s" : [ { + "r" : "443", + "value" : [ "Date", "(", "2018", ",", "01", ",", "01", ")" ] + } ] + }, { + "value" : [ "]" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "SameAs", + "localId" : "458", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "470", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "471", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "472", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "473", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "Interval", + "localId" : "428", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "429", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "430", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "DateTime", + "localId" : "412", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "413", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "414", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "415", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "404", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2018", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "405", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "01", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "406", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "01", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "424", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "425", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "426", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "427", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "416", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2018", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "417", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "01", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "418", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "01", + "annotation" : [ ] + } + } + }, { + "type" : "Interval", + "localId" : "459", + "annotation" : [ ], + "low" : { + "type" : "ToDateTime", + "localId" : "462", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "463", + "name" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ] + } ], + "operand" : { + "type" : "Property", + "localId" : "460", + "path" : "low", + "annotation" : [ ], + "source" : { + "type" : "Interval", + "localId" : "455", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "456", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "457", + "name" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ] + } + }, + "low" : { + "type" : "Date", + "localId" : "439", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "440", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "441", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "442", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "431", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2018", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "432", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "01", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "433", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "01", + "annotation" : [ ] + } + }, + "high" : { + "type" : "Date", + "localId" : "451", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "452", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "453", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "454", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "443", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2018", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "444", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "01", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "445", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "01", + "annotation" : [ ] + } + } + } + } + }, + "lowClosedExpression" : { + "type" : "Property", + "localId" : "464", + "path" : "lowClosed", + "annotation" : [ ], + "source" : { + "type" : "Interval", + "localId" : "455", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { "type" : "IntervalTypeSpecifier", + "localId" : "456", + "annotation" : [ ], "pointType" : { - "localId" : "2651", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" + "type" : "NamedTypeSpecifier", + "localId" : "457", + "name" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ] } - } ], - "operand" : [ { - "localId" : "2638", - "lowClosed" : false, - "highClosed" : false, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "2639", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "2640", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } + }, + "low" : { + "type" : "Date", + "localId" : "439", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "440", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "441", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "442", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "431", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2018", + "annotation" : [ ] }, - "low" : { - "localId" : "2636", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" + "month" : { + "type" : "Literal", + "localId" : "432", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "01", + "annotation" : [ ] }, - "high" : { - "localId" : "2637", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "4", - "type" : "Literal" - } - }, { - "localId" : "2643", - "lowClosed" : false, - "highClosed" : false, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "2645", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "2646", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } + "day" : { + "type" : "Literal", + "localId" : "433", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "01", + "annotation" : [ ] + } + }, + "high" : { + "type" : "Date", + "localId" : "451", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "452", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "453", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "454", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "443", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2018", + "annotation" : [ ] }, - "low" : { - "localId" : "2644", - "asType" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "As", - "signature" : [ ], - "operand" : { - "localId" : "2641", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - } + "month" : { + "type" : "Literal", + "localId" : "444", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "01", + "annotation" : [ ] }, - "high" : { - "localId" : "2642", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "4", - "type" : "Literal" - } - } ] - } - }, { - "localId" : "2654", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "OpenNullLowOpenNullHigh", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "2654", - "s" : [ { - "value" : [ "","define ","OpenNullLowOpenNullHigh",": " ] - }, { - "r" : "2667", - "s" : [ { - "r" : "2657", - "s" : [ { - "r" : "2655", - "value" : [ "Interval(","1",",","null",")" ] - } ] - }, { - "r" : "2667", - "value" : [ " ","same as"," " ] - }, { - "r" : "2663", - "s" : [ { - "r" : "2661", - "value" : [ "Interval(","null",",","4",")" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "2667", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "SameAs", - "signature" : [ { - "localId" : "2668", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "2669", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "2670", + "day" : { + "type" : "Literal", + "localId" : "445", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "01", + "annotation" : [ ] + } + } + } + }, + "high" : { + "type" : "ToDateTime", + "localId" : "467", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "468", + "name" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ] + } ], + "operand" : { + "type" : "Property", + "localId" : "465", + "path" : "high", + "annotation" : [ ], + "source" : { + "type" : "Interval", + "localId" : "455", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "456", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "457", + "name" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ] + } + }, + "low" : { + "type" : "Date", + "localId" : "439", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "440", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "441", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "442", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "431", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2018", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "432", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "01", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "433", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "01", + "annotation" : [ ] + } + }, + "high" : { + "type" : "Date", + "localId" : "451", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "452", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "453", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "454", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "443", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2018", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "444", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "01", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "445", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "01", + "annotation" : [ ] + } + } + } + } + }, + "highClosedExpression" : { + "type" : "Property", + "localId" : "469", + "path" : "highClosed", + "annotation" : [ ], + "source" : { + "type" : "Interval", + "localId" : "455", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { "type" : "IntervalTypeSpecifier", + "localId" : "456", + "annotation" : [ ], "pointType" : { - "localId" : "2671", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" + "type" : "NamedTypeSpecifier", + "localId" : "457", + "name" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ] } - } ], - "operand" : [ { - "localId" : "2657", - "lowClosed" : false, - "highClosed" : false, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "2659", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "2660", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } + }, + "low" : { + "type" : "Date", + "localId" : "439", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "440", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "441", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "442", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "431", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2018", + "annotation" : [ ] }, - "low" : { - "localId" : "2655", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" + "month" : { + "type" : "Literal", + "localId" : "432", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "01", + "annotation" : [ ] }, - "high" : { - "localId" : "2658", - "asType" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "As", - "signature" : [ ], - "operand" : { - "localId" : "2656", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - } - } - }, { - "localId" : "2663", - "lowClosed" : false, - "highClosed" : false, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "2665", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "2666", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } + "day" : { + "type" : "Literal", + "localId" : "433", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "01", + "annotation" : [ ] + } + }, + "high" : { + "type" : "Date", + "localId" : "451", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "452", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "453", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "454", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "443", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2018", + "annotation" : [ ] }, - "low" : { - "localId" : "2664", - "asType" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "As", - "signature" : [ ], - "operand" : { - "localId" : "2661", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - } + "month" : { + "type" : "Literal", + "localId" : "444", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "01", + "annotation" : [ ] }, - "high" : { - "localId" : "2662", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "4", - "type" : "Literal" - } - } ] - } - }, { - "localId" : "2674", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "OpenNullHighsLowsDifferent", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "2674", + "day" : { + "type" : "Literal", + "localId" : "445", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "01", + "annotation" : [ ] + } + } + } + } + } ] + } + }, { + "localId" : "476", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "NullIntervals", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "476", + "s" : [ { + "value" : [ "", "define ", "NullIntervals", ": " ] + }, { + "r" : "497", + "s" : [ { + "r" : "477", + "s" : [ { + "value" : [ "(" ] + }, { + "r" : "477", + "s" : [ { + "r" : "478", + "value" : [ "null", " as " ] + }, { + "r" : "479", + "s" : [ { + "value" : [ "Interval<" ] + }, { + "r" : "480", + "s" : [ { + "value" : [ "DateTime" ] + } ] + }, { + "value" : [ ">" ] + } ] + } ] + }, { + "value" : [ ")" ] + } ] + }, { + "r" : "497", + "value" : [ " ", "same as", " " ] + }, { + "r" : "487", + "s" : [ { + "value" : [ "(" ] + }, { + "r" : "487", + "s" : [ { + "r" : "488", + "value" : [ "null", " as " ] + }, { + "r" : "489", + "s" : [ { + "value" : [ "Interval<" ] + }, { + "r" : "490", + "s" : [ { + "value" : [ "DateTime" ] + } ] + }, { + "value" : [ ">" ] + } ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "SameAs", + "localId" : "497", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "498", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "499", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "500", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "501", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "As", + "localId" : "477", + "strict" : false, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "485", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "486", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "signature" : [ ], + "operand" : { + "type" : "Null", + "localId" : "478", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + }, + "asTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "479", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "481", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "482", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "480", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + }, { + "type" : "As", + "localId" : "487", + "strict" : false, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "495", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "496", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "signature" : [ ], + "operand" : { + "type" : "Null", + "localId" : "488", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + }, + "asTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "489", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "491", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "492", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "490", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + } ] + } + }, { + "localId" : "504", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "OpenAndClosed", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "504", + "s" : [ { + "value" : [ "", "define ", "OpenAndClosed", ": " ] + }, { + "r" : "607", + "s" : [ { + "r" : "553", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "521", + "s" : [ { + "r" : "505", + "value" : [ "DateTime", "(", "2018", ",", "01", ",", "01", ",", "00", ",", "00", ",", "00", ",", "0", ")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "545", + "s" : [ { + "r" : "529", + "value" : [ "DateTime", "(", "2019", ",", "01", ",", "01", ",", "00", ",", "00", ",", "00", ",", "0", ")" ] + } ] + }, { + "value" : [ ")" ] + } ] + }, { + "r" : "607", + "value" : [ " ", "same as", " " ] + }, { + "r" : "604", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "572", + "s" : [ { + "r" : "556", + "value" : [ "DateTime", "(", "2018", ",", "01", ",", "01", ",", "00", ",", "00", ",", "00", ",", "0", ")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "596", + "s" : [ { + "r" : "580", + "value" : [ "DateTime", "(", "2018", ",", "12", ",", "31", ",", "23", ",", "59", ",", "59", ",", "999", ")" ] + } ] + }, { + "value" : [ "]" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "SameAs", + "localId" : "607", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "608", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "609", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "610", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "611", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "Interval", + "localId" : "553", + "lowClosed" : true, + "highClosed" : false, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "554", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "555", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "DateTime", + "localId" : "521", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "522", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "523", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "524", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "525", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "526", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "527", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "528", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "505", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2018", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "506", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "01", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "507", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "01", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "508", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "00", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "509", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "00", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "510", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "00", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "511", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "545", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "546", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "547", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "548", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "549", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "550", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "551", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "552", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "529", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2019", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "530", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "01", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "531", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "01", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "532", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "00", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "533", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "00", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "534", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "00", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "535", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + } + }, { + "type" : "Interval", + "localId" : "604", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "605", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "606", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "DateTime", + "localId" : "572", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "573", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "574", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "575", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "576", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "577", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "578", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "579", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "556", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2018", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "557", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "01", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "558", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "01", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "559", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "00", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "560", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "00", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "561", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "00", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "562", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "596", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "597", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "598", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "599", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "600", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "601", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "602", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "603", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "580", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2018", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "581", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "12", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "582", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "31", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "583", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "23", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "584", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "59", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "585", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "59", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "586", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "999", + "annotation" : [ ] + } + } + } ] + } + }, { + "localId" : "614", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "OpenEnded", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "614", + "s" : [ { + "value" : [ "", "define ", "OpenEnded", ": " ] + }, { + "r" : "649", + "s" : [ { + "r" : "628", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "623", + "s" : [ { + "r" : "615", + "value" : [ "DateTime", "(", "2018", ",", "01", ",", "01", ")" ] + } ] + }, { + "r" : "627", + "value" : [ ", ", "null", "]" ] + } ] + }, { + "r" : "649", + "value" : [ " ", "same day as", " " ] + }, { + "r" : "645", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "640", + "s" : [ { + "r" : "632", + "value" : [ "DateTime", "(", "2018", ",", "01", ",", "01", ")" ] + } ] + }, { + "r" : "644", + "value" : [ ", ", "null", "]" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "SameAs", + "localId" : "649", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "precision" : "Day", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "650", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "651", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "652", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "653", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "Interval", + "localId" : "628", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "630", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "631", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "DateTime", + "localId" : "623", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "624", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "625", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "626", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "615", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2018", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "616", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "01", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "617", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "01", + "annotation" : [ ] + } + }, + "high" : { + "type" : "As", + "localId" : "629", + "asType" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Null", + "localId" : "627", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } + } + }, { + "type" : "Interval", + "localId" : "645", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "647", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "648", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "DateTime", + "localId" : "640", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "641", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "642", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "643", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "632", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2018", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "633", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "01", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "634", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "01", + "annotation" : [ ] + } + }, + "high" : { + "type" : "As", + "localId" : "646", + "asType" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Null", + "localId" : "644", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } + } + } ] + } + }, { + "localId" : "656", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "OpenEndedNotSame", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "656", + "s" : [ { + "value" : [ "", "define ", "OpenEndedNotSame", ": " ] + }, { + "r" : "701", + "s" : [ { + "r" : "670", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "665", + "s" : [ { + "r" : "657", + "value" : [ "DateTime", "(", "2018", ",", "01", ",", "01", ")" ] + } ] + }, { + "r" : "669", + "value" : [ ", ", "null", "]" ] + } ] + }, { + "r" : "701", + "value" : [ " ", "same day as", " " ] + }, { + "r" : "698", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "682", + "s" : [ { + "r" : "674", + "value" : [ "DateTime", "(", "2018", ",", "01", ",", "01", ")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "694", + "s" : [ { + "r" : "686", + "value" : [ "DateTime", "(", "2019", ",", "01", ",", "01", ")" ] + } ] + }, { + "value" : [ "]" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "SameAs", + "localId" : "701", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "precision" : "Day", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "702", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "703", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "704", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "705", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "Interval", + "localId" : "670", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "672", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "673", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "DateTime", + "localId" : "665", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "666", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "667", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "668", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "657", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2018", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "658", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "01", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "659", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "01", + "annotation" : [ ] + } + }, + "high" : { + "type" : "As", + "localId" : "671", + "asType" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Null", + "localId" : "669", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } + } + }, { + "type" : "Interval", + "localId" : "698", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "699", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "700", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "DateTime", + "localId" : "682", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "683", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "684", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "685", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "674", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2018", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "675", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "01", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "676", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "01", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "694", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "695", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "696", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "697", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "686", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2019", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "687", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "01", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "688", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "01", + "annotation" : [ ] + } + } + } ] + } + }, { + "localId" : "708", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "OpenEndedNotSame2", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "708", + "s" : [ { + "value" : [ "", "define ", "OpenEndedNotSame2", ": " ] + }, { + "r" : "753", + "s" : [ { + "r" : "733", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "717", + "s" : [ { + "r" : "709", + "value" : [ "DateTime", "(", "2018", ",", "01", ",", "01", ")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "729", + "s" : [ { + "r" : "721", + "value" : [ "DateTime", "(", "2019", ",", "01", ",", "01", ")" ] + } ] + }, { + "value" : [ "]" ] + } ] + }, { + "r" : "753", + "value" : [ " ", "same day as", " " ] + }, { + "r" : "749", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "744", + "s" : [ { + "r" : "736", + "value" : [ "DateTime", "(", "2018", ",", "01", ",", "01", ")" ] + } ] + }, { + "r" : "748", + "value" : [ ", ", "null", "]" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "SameAs", + "localId" : "753", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "precision" : "Day", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "754", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "755", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "756", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "757", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "Interval", + "localId" : "733", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "734", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "735", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "DateTime", + "localId" : "717", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "718", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "719", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "720", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "709", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2018", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "710", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "01", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "711", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "01", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "729", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "730", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "731", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "732", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "721", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2019", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "722", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "01", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "723", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "01", + "annotation" : [ ] + } + } + }, { + "type" : "Interval", + "localId" : "749", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "751", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "752", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "DateTime", + "localId" : "744", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "745", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "746", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "747", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "736", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2018", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "737", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "01", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "738", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "01", + "annotation" : [ ] + } + }, + "high" : { + "type" : "As", + "localId" : "750", + "asType" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Null", + "localId" : "748", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } + } + } ] + } + }, { + "localId" : "760", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "OpenBeginningSame", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "760", + "s" : [ { + "value" : [ "", "define ", "OpenBeginningSame", ": " ] + }, { + "r" : "795", + "s" : [ { + "r" : "774", + "s" : [ { + "r" : "761", + "value" : [ "Interval[", "null", "," ] + }, { + "r" : "770", + "s" : [ { + "r" : "762", + "value" : [ "DateTime", "(", "2018", ",", "01", ",", "01", ")" ] + } ] + }, { + "value" : [ "]" ] + } ] + }, { + "r" : "795", + "value" : [ " ", "same as", " " ] + }, { + "r" : "791", + "s" : [ { + "r" : "778", + "value" : [ "Interval[", "null", "," ] + }, { + "r" : "787", + "s" : [ { + "r" : "779", + "value" : [ "DateTime", "(", "2018", ",", "01", ",", "01", ")" ] + } ] + }, { + "value" : [ "]" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "SameAs", + "localId" : "795", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "796", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "797", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "798", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "799", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "Interval", + "localId" : "774", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "776", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "777", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "As", + "localId" : "775", + "asType" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Null", + "localId" : "761", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "770", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "771", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "772", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "773", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "762", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2018", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "763", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "01", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "764", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "01", + "annotation" : [ ] + } + } + }, { + "type" : "Interval", + "localId" : "791", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "793", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "794", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "As", + "localId" : "792", + "asType" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Null", + "localId" : "778", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "787", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "788", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "789", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "790", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "779", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2018", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "780", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "01", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "781", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "01", + "annotation" : [ ] + } + } + } ] + } + }, { + "localId" : "802", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "OpenBeginningNotSame", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "802", + "s" : [ { + "value" : [ "", "define ", "OpenBeginningNotSame", ": " ] + }, { + "r" : "847", + "s" : [ { + "r" : "827", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "811", + "s" : [ { + "r" : "803", + "value" : [ "DateTime", "(", "2017", ",", "01", ",", "01", ")" ] + } ] + }, { + "value" : [ "," ] + }, { + "r" : "823", + "s" : [ { + "r" : "815", + "value" : [ "DateTime", "(", "2018", ",", "01", ",", "01", ")" ] + } ] + }, { + "value" : [ "]" ] + } ] + }, { + "r" : "847", + "value" : [ " ", "same as", " " ] + }, { + "r" : "843", + "s" : [ { + "r" : "830", + "value" : [ "Interval[", "null", "," ] + }, { + "r" : "839", + "s" : [ { + "r" : "831", + "value" : [ "DateTime", "(", "2018", ",", "01", ",", "01", ")" ] + } ] + }, { + "value" : [ "]" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "SameAs", + "localId" : "847", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "848", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "849", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "850", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "851", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "Interval", + "localId" : "827", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "828", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "829", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "DateTime", + "localId" : "811", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "812", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "813", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "814", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "803", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2017", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "804", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "01", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "805", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "01", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "823", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "824", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "825", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "826", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "815", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2018", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "816", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "01", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "817", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "01", + "annotation" : [ ] + } + } + }, { + "type" : "Interval", + "localId" : "843", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "845", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "846", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "As", + "localId" : "844", + "asType" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Null", + "localId" : "830", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "839", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "840", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "841", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "842", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "831", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2018", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "832", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "01", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "833", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "01", + "annotation" : [ ] + } + } + } ] + } + }, { + "localId" : "854", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "DateOpenAndClosed", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "854", + "s" : [ { + "value" : [ "", "define ", "DateOpenAndClosed", ": " ] + }, { + "r" : "909", + "s" : [ { + "r" : "879", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "863", + "s" : [ { + "r" : "855", + "value" : [ "Date", "(", "2018", ",", "01", ",", "01", ")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "875", + "s" : [ { + "r" : "867", + "value" : [ "Date", "(", "2018", ",", "02", ",", "02", ")" ] + } ] + }, { + "value" : [ "]" ] + } ] + }, { + "r" : "909", + "value" : [ " ", "same as", " " ] + }, { + "r" : "906", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "890", + "s" : [ { + "r" : "882", + "value" : [ "Date", "(", "2018", ",", "01", ",", "01", ")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "902", + "s" : [ { + "r" : "894", + "value" : [ "Date", "(", "2018", ",", "02", ",", "03", ")" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "SameAs", + "localId" : "909", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "910", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "911", + "name" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ] + } + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "912", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "913", + "name" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "Interval", + "localId" : "879", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "880", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "881", + "name" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ] + } + }, + "low" : { + "type" : "Date", + "localId" : "863", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "864", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "865", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "866", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "855", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2018", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "856", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "01", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "857", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "01", + "annotation" : [ ] + } + }, + "high" : { + "type" : "Date", + "localId" : "875", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "876", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "877", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "878", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "867", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2018", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "868", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "02", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "869", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "02", + "annotation" : [ ] + } + } + }, { + "type" : "Interval", + "localId" : "906", + "lowClosed" : true, + "highClosed" : false, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "907", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "908", + "name" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ] + } + }, + "low" : { + "type" : "Date", + "localId" : "890", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "891", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "892", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "893", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "882", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2018", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "883", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "01", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "884", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "01", + "annotation" : [ ] + } + }, + "high" : { + "type" : "Date", + "localId" : "902", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "903", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "904", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "905", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "894", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2018", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "895", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "02", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "896", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "03", + "annotation" : [ ] + } + } + } ] + } + }, { + "localId" : "916", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "DateOpenEnded", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "916", + "s" : [ { + "value" : [ "", "define ", "DateOpenEnded", ": " ] + }, { + "r" : "951", + "s" : [ { + "r" : "930", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "925", + "s" : [ { + "r" : "917", + "value" : [ "Date", "(", "2018", ",", "01", ",", "01", ")" ] + } ] + }, { + "r" : "929", + "value" : [ ", ", "null", "]" ] + } ] + }, { + "r" : "951", + "value" : [ " ", "same as", " " ] + }, { + "r" : "947", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "942", + "s" : [ { + "r" : "934", + "value" : [ "Date", "(", "2018", ",", "01", ",", "01", ")" ] + } ] + }, { + "r" : "946", + "value" : [ ", ", "null", "]" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "SameAs", + "localId" : "951", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "952", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "953", + "name" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ] + } + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "954", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "955", + "name" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "Interval", + "localId" : "930", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "932", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "933", + "name" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ] + } + }, + "low" : { + "type" : "Date", + "localId" : "925", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "926", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "927", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "928", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "917", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2018", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "918", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "01", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "919", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "01", + "annotation" : [ ] + } + }, + "high" : { + "type" : "As", + "localId" : "931", + "asType" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Null", + "localId" : "929", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } + } + }, { + "type" : "Interval", + "localId" : "947", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "949", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "950", + "name" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ] + } + }, + "low" : { + "type" : "Date", + "localId" : "942", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "943", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "944", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "945", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "934", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2018", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "935", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "01", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "936", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "01", + "annotation" : [ ] + } + }, + "high" : { + "type" : "As", + "localId" : "948", + "asType" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Null", + "localId" : "946", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } + } + } ] + } + }, { + "localId" : "958", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "TimeOpenAndClosed", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "958", + "s" : [ { + "value" : [ "", "define ", "TimeOpenAndClosed", ": " ] + }, { + "r" : "1001", + "s" : [ { + "r" : "977", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "965", + "s" : [ { + "r" : "959", + "value" : [ "Time", "(", "01", ",", "01", ")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "974", + "s" : [ { + "r" : "968", + "value" : [ "Time", "(", "02", ",", "02", ")" ] + } ] + }, { + "value" : [ "]" ] + } ] + }, { + "r" : "1001", + "value" : [ " ", "same as", " " ] + }, { + "r" : "998", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "986", + "s" : [ { + "r" : "980", + "value" : [ "Time", "(", "01", ",", "01", ")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "995", + "s" : [ { + "r" : "989", + "value" : [ "Time", "(", "02", ",", "03", ")" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "SameAs", + "localId" : "1001", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "1002", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1003", + "name" : "{urn:hl7-org:elm-types:r1}Time", + "annotation" : [ ] + } + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "1004", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1005", + "name" : "{urn:hl7-org:elm-types:r1}Time", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "Interval", + "localId" : "977", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "978", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "979", + "name" : "{urn:hl7-org:elm-types:r1}Time", + "annotation" : [ ] + } + }, + "low" : { + "type" : "Time", + "localId" : "965", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Time", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "966", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "967", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "hour" : { + "type" : "Literal", + "localId" : "959", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "01", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "960", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "01", + "annotation" : [ ] + } + }, + "high" : { + "type" : "Time", + "localId" : "974", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Time", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "975", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "976", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "hour" : { + "type" : "Literal", + "localId" : "968", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "02", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "969", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "02", + "annotation" : [ ] + } + } + }, { + "type" : "Interval", + "localId" : "998", + "lowClosed" : true, + "highClosed" : false, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "999", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1000", + "name" : "{urn:hl7-org:elm-types:r1}Time", + "annotation" : [ ] + } + }, + "low" : { + "type" : "Time", + "localId" : "986", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Time", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "987", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "988", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "hour" : { + "type" : "Literal", + "localId" : "980", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "01", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "981", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "01", + "annotation" : [ ] + } + }, + "high" : { + "type" : "Time", + "localId" : "995", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Time", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "996", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "997", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "hour" : { + "type" : "Literal", + "localId" : "989", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "02", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "990", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "03", + "annotation" : [ ] + } + } + } ] + } + }, { + "localId" : "1008", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "TimeOpenEnded", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "1008", + "s" : [ { + "value" : [ "", "define ", "TimeOpenEnded", ": " ] + }, { + "r" : "1037", + "s" : [ { + "r" : "1019", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "1015", + "s" : [ { + "r" : "1009", + "value" : [ "Time", "(", "01", ",", "01", ")" ] + } ] + }, { + "r" : "1018", + "value" : [ ", ", "null", "]" ] + } ] + }, { + "r" : "1037", + "value" : [ " ", "same as", " " ] + }, { + "r" : "1033", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "1029", + "s" : [ { + "r" : "1023", + "value" : [ "Time", "(", "01", ",", "01", ")" ] + } ] + }, { + "r" : "1032", + "value" : [ ", ", "null", "]" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "SameAs", + "localId" : "1037", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "1038", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1039", + "name" : "{urn:hl7-org:elm-types:r1}Time", + "annotation" : [ ] + } + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "1040", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1041", + "name" : "{urn:hl7-org:elm-types:r1}Time", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "Interval", + "localId" : "1019", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1021", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1022", + "name" : "{urn:hl7-org:elm-types:r1}Time", + "annotation" : [ ] + } + }, + "low" : { + "type" : "Time", + "localId" : "1015", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Time", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1016", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1017", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "hour" : { + "type" : "Literal", + "localId" : "1009", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "01", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "1010", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "01", + "annotation" : [ ] + } + }, + "high" : { + "type" : "As", + "localId" : "1020", + "asType" : "{urn:hl7-org:elm-types:r1}Time", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Null", + "localId" : "1018", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } + } + }, { + "type" : "Interval", + "localId" : "1033", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1035", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1036", + "name" : "{urn:hl7-org:elm-types:r1}Time", + "annotation" : [ ] + } + }, + "low" : { + "type" : "Time", + "localId" : "1029", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Time", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1030", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1031", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "hour" : { + "type" : "Literal", + "localId" : "1023", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "01", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "1024", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "01", + "annotation" : [ ] + } + }, + "high" : { + "type" : "As", + "localId" : "1034", + "asType" : "{urn:hl7-org:elm-types:r1}Time", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Null", + "localId" : "1032", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } + } + } ] + } + }, { + "localId" : "1044", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "DateIntervalComparisonSame", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "1044", + "s" : [ { + "value" : [ "", "define ", "DateIntervalComparisonSame", ": " ] + }, { + "r" : "1099", + "s" : [ { + "r" : "1069", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "1053", + "s" : [ { + "r" : "1045", + "value" : [ "Date", "(", "2018", ",", "01", ",", "01", ")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "1065", + "s" : [ { + "r" : "1057", + "value" : [ "Date", "(", "2018", ",", "02", ",", "02", ")" ] + } ] + }, { + "value" : [ "]" ] + } ] + }, { + "r" : "1099", + "value" : [ " ", "same as", " " ] + }, { + "r" : "1096", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "1080", + "s" : [ { + "r" : "1072", + "value" : [ "Date", "(", "2018", ",", "01", ",", "01", ")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "1092", + "s" : [ { + "r" : "1084", + "value" : [ "Date", "(", "2018", ",", "02", ",", "02", ")" ] + } ] + }, { + "value" : [ "]" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "SameAs", + "localId" : "1099", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "1100", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1101", + "name" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ] + } + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "1102", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1103", + "name" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "Interval", + "localId" : "1069", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1070", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1071", + "name" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ] + } + }, + "low" : { + "type" : "Date", + "localId" : "1053", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1054", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1055", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1056", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1045", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2018", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1046", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "01", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "1047", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "01", + "annotation" : [ ] + } + }, + "high" : { + "type" : "Date", + "localId" : "1065", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1066", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1067", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1068", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1057", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2018", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1058", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "02", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "1059", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "02", + "annotation" : [ ] + } + } + }, { + "type" : "Interval", + "localId" : "1096", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1097", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1098", + "name" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ] + } + }, + "low" : { + "type" : "Date", + "localId" : "1080", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1081", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1082", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1083", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1072", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2018", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1073", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "01", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "1074", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "01", + "annotation" : [ ] + } + }, + "high" : { + "type" : "Date", + "localId" : "1092", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1093", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1094", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1095", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1084", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2018", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1085", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "02", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "1086", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "02", + "annotation" : [ ] + } + } + } ] + } + }, { + "localId" : "1106", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "DateIntervalComparisonNotSame", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "1106", + "s" : [ { + "value" : [ "", "define ", "DateIntervalComparisonNotSame", ": " ] + }, { + "r" : "1161", + "s" : [ { + "r" : "1131", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "1115", + "s" : [ { + "r" : "1107", + "value" : [ "Date", "(", "2018", ",", "01", ",", "01", ")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "1127", + "s" : [ { + "r" : "1119", + "value" : [ "Date", "(", "2018", ",", "02", ",", "02", ")" ] + } ] + }, { + "value" : [ "]" ] + } ] + }, { + "r" : "1161", + "value" : [ " ", "same as", " " ] + }, { + "r" : "1158", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "1142", + "s" : [ { + "r" : "1134", + "value" : [ "Date", "(", "2018", ",", "01", ",", "01", ")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "1154", + "s" : [ { + "r" : "1146", + "value" : [ "Date", "(", "2018", ",", "02", ",", "01", ")" ] + } ] + }, { + "value" : [ "]" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "SameAs", + "localId" : "1161", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "1162", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1163", + "name" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ] + } + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "1164", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1165", + "name" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "Interval", + "localId" : "1131", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1132", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1133", + "name" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ] + } + }, + "low" : { + "type" : "Date", + "localId" : "1115", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1116", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1117", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1118", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1107", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2018", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1108", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "01", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "1109", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "01", + "annotation" : [ ] + } + }, + "high" : { + "type" : "Date", + "localId" : "1127", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1128", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1129", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1130", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1119", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2018", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1120", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "02", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "1121", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "02", + "annotation" : [ ] + } + } + }, { + "type" : "Interval", + "localId" : "1158", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1159", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1160", + "name" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ] + } + }, + "low" : { + "type" : "Date", + "localId" : "1142", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1143", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1144", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1145", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1134", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2018", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1135", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "01", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "1136", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "01", + "annotation" : [ ] + } + }, + "high" : { + "type" : "Date", + "localId" : "1154", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1155", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1156", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1157", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1146", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2018", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1147", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "02", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "1148", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "01", + "annotation" : [ ] + } + } + } ] + } + }, { + "localId" : "1168", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "TimeIntervalComparisonSame", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "1168", + "s" : [ { + "value" : [ "", "define ", "TimeIntervalComparisonSame", ": " ] + }, { + "r" : "1211", + "s" : [ { + "r" : "1187", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "1175", + "s" : [ { + "r" : "1169", + "value" : [ "Time", "(", "01", ",", "01", ")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "1184", + "s" : [ { + "r" : "1178", + "value" : [ "Time", "(", "02", ",", "02", ")" ] + } ] + }, { + "value" : [ "]" ] + } ] + }, { + "r" : "1211", + "value" : [ " ", "same as", " " ] + }, { + "r" : "1208", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "1196", + "s" : [ { + "r" : "1190", + "value" : [ "Time", "(", "01", ",", "01", ")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "1205", + "s" : [ { + "r" : "1199", + "value" : [ "Time", "(", "02", ",", "02", ")" ] + } ] + }, { + "value" : [ "]" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "SameAs", + "localId" : "1211", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "1212", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1213", + "name" : "{urn:hl7-org:elm-types:r1}Time", + "annotation" : [ ] + } + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "1214", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1215", + "name" : "{urn:hl7-org:elm-types:r1}Time", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "Interval", + "localId" : "1187", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1188", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1189", + "name" : "{urn:hl7-org:elm-types:r1}Time", + "annotation" : [ ] + } + }, + "low" : { + "type" : "Time", + "localId" : "1175", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Time", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1176", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1177", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "hour" : { + "type" : "Literal", + "localId" : "1169", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "01", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "1170", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "01", + "annotation" : [ ] + } + }, + "high" : { + "type" : "Time", + "localId" : "1184", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Time", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1185", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1186", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "hour" : { + "type" : "Literal", + "localId" : "1178", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "02", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "1179", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "02", + "annotation" : [ ] + } + } + }, { + "type" : "Interval", + "localId" : "1208", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1209", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1210", + "name" : "{urn:hl7-org:elm-types:r1}Time", + "annotation" : [ ] + } + }, + "low" : { + "type" : "Time", + "localId" : "1196", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Time", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1197", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1198", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "hour" : { + "type" : "Literal", + "localId" : "1190", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "01", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "1191", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "01", + "annotation" : [ ] + } + }, + "high" : { + "type" : "Time", + "localId" : "1205", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Time", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1206", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1207", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "hour" : { + "type" : "Literal", + "localId" : "1199", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "02", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "1200", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "02", + "annotation" : [ ] + } + } + } ] + } + }, { + "localId" : "1218", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "TimeIntervalComparisonNotSame", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "1218", + "s" : [ { + "value" : [ "", "define ", "TimeIntervalComparisonNotSame", ": " ] + }, { + "r" : "1261", + "s" : [ { + "r" : "1237", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "1225", + "s" : [ { + "r" : "1219", + "value" : [ "Time", "(", "01", ",", "01", ")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "1234", + "s" : [ { + "r" : "1228", + "value" : [ "Time", "(", "02", ",", "02", ")" ] + } ] + }, { + "value" : [ "]" ] + } ] + }, { + "r" : "1261", + "value" : [ " ", "same as", " " ] + }, { + "r" : "1258", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "1246", + "s" : [ { + "r" : "1240", + "value" : [ "Time", "(", "01", ",", "01", ")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "1255", + "s" : [ { + "r" : "1249", + "value" : [ "Time", "(", "08", ",", "01", ")" ] + } ] + }, { + "value" : [ "]" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "SameAs", + "localId" : "1261", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "1262", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1263", + "name" : "{urn:hl7-org:elm-types:r1}Time", + "annotation" : [ ] + } + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "1264", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1265", + "name" : "{urn:hl7-org:elm-types:r1}Time", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "Interval", + "localId" : "1237", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1238", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1239", + "name" : "{urn:hl7-org:elm-types:r1}Time", + "annotation" : [ ] + } + }, + "low" : { + "type" : "Time", + "localId" : "1225", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Time", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1226", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1227", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "hour" : { + "type" : "Literal", + "localId" : "1219", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "01", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "1220", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "01", + "annotation" : [ ] + } + }, + "high" : { + "type" : "Time", + "localId" : "1234", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Time", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1235", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1236", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "hour" : { + "type" : "Literal", + "localId" : "1228", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "02", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "1229", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "02", + "annotation" : [ ] + } + } + }, { + "type" : "Interval", + "localId" : "1258", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1259", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1260", + "name" : "{urn:hl7-org:elm-types:r1}Time", + "annotation" : [ ] + } + }, + "low" : { + "type" : "Time", + "localId" : "1246", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Time", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1247", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1248", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "hour" : { + "type" : "Literal", + "localId" : "1240", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "01", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "1241", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "01", + "annotation" : [ ] + } + }, + "high" : { + "type" : "Time", + "localId" : "1255", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Time", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1256", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1257", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "hour" : { + "type" : "Literal", + "localId" : "1249", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "08", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "1250", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "01", + "annotation" : [ ] + } + } + } ] + } + }, { + "localId" : "1268", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "DateTimeYearPrecisionSame", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "1268", + "s" : [ { + "value" : [ "", "define ", "DateTimeYearPrecisionSame", ": " ] + }, { + "r" : "1323", + "s" : [ { + "r" : "1293", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "1277", + "s" : [ { + "r" : "1269", + "value" : [ "DateTime", "(", "2018", ",", "01", ",", "01", ")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "1289", + "s" : [ { + "r" : "1281", + "value" : [ "DateTime", "(", "2019", ",", "01", ",", "01", ")" ] + } ] + }, { + "value" : [ "]" ] + } ] + }, { + "r" : "1323", + "value" : [ " ", "same year as", " " ] + }, { + "r" : "1320", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "1304", + "s" : [ { + "r" : "1296", + "value" : [ "DateTime", "(", "2018", ",", "02", ",", "01", ")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "1316", + "s" : [ { + "r" : "1308", + "value" : [ "DateTime", "(", "2019", ",", "05", ",", "01", ")" ] + } ] + }, { + "value" : [ "]" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "SameAs", + "localId" : "1323", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "precision" : "Year", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "1324", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1325", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "1326", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1327", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "Interval", + "localId" : "1293", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1294", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1295", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "DateTime", + "localId" : "1277", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1278", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1279", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1280", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1269", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2018", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1270", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "01", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "1271", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "01", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "1289", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1290", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1291", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1292", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1281", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2019", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1282", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "01", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "1283", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "01", + "annotation" : [ ] + } + } + }, { + "type" : "Interval", + "localId" : "1320", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1321", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1322", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "DateTime", + "localId" : "1304", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1305", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1306", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1307", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1296", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2018", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1297", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "02", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "1298", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "01", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "1316", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1317", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1318", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1319", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1308", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2019", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1309", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "05", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "1310", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "01", + "annotation" : [ ] + } + } + } ] + } + }, { + "localId" : "1330", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "DateTimeYearPrecisionNotSame", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "1330", + "s" : [ { + "value" : [ "", "define ", "DateTimeYearPrecisionNotSame", ": " ] + }, { + "r" : "1385", + "s" : [ { + "r" : "1355", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "1339", + "s" : [ { + "r" : "1331", + "value" : [ "DateTime", "(", "2018", ",", "01", ",", "01", ")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "1351", + "s" : [ { + "r" : "1343", + "value" : [ "DateTime", "(", "2019", ",", "01", ",", "01", ")" ] + } ] + }, { + "value" : [ "]" ] + } ] + }, { + "r" : "1385", + "value" : [ " ", "same year as", " " ] + }, { + "r" : "1382", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "1366", + "s" : [ { + "r" : "1358", + "value" : [ "DateTime", "(", "2018", ",", "02", ",", "01", ")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "1378", + "s" : [ { + "r" : "1370", + "value" : [ "DateTime", "(", "2020", ",", "05", ",", "01", ")" ] + } ] + }, { + "value" : [ "]" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "SameAs", + "localId" : "1385", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "precision" : "Year", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "1386", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1387", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "1388", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1389", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "Interval", + "localId" : "1355", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1356", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1357", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "DateTime", + "localId" : "1339", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1340", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1341", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1342", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1331", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2018", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1332", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "01", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "1333", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "01", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "1351", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1352", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1353", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1354", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1343", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2019", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1344", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "01", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "1345", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "01", + "annotation" : [ ] + } + } + }, { + "type" : "Interval", + "localId" : "1382", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1383", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1384", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "DateTime", + "localId" : "1366", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1367", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1368", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1369", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1358", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2018", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1359", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "02", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "1360", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "01", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "1378", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1379", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1380", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1381", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1370", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2020", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1371", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "05", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "1372", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "01", + "annotation" : [ ] + } + } + } ] + } + }, { + "localId" : "1392", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "DateYearPrecisionSame", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "1392", + "s" : [ { + "value" : [ "", "define ", "DateYearPrecisionSame", ": " ] + }, { + "r" : "1447", + "s" : [ { + "r" : "1417", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "1401", + "s" : [ { + "r" : "1393", + "value" : [ "Date", "(", "2018", ",", "01", ",", "01", ")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "1413", + "s" : [ { + "r" : "1405", + "value" : [ "Date", "(", "2019", ",", "01", ",", "01", ")" ] + } ] + }, { + "value" : [ "]" ] + } ] + }, { + "r" : "1447", + "value" : [ " ", "same year as", " " ] + }, { + "r" : "1444", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "1428", + "s" : [ { + "r" : "1420", + "value" : [ "Date", "(", "2018", ",", "02", ",", "01", ")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "1440", + "s" : [ { + "r" : "1432", + "value" : [ "Date", "(", "2019", ",", "05", ",", "01", ")" ] + } ] + }, { + "value" : [ "]" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "SameAs", + "localId" : "1447", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "precision" : "Year", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "1448", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1449", + "name" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ] + } + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "1450", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1451", + "name" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "Interval", + "localId" : "1417", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1418", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1419", + "name" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ] + } + }, + "low" : { + "type" : "Date", + "localId" : "1401", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1402", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1403", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1404", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1393", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2018", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1394", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "01", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "1395", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "01", + "annotation" : [ ] + } + }, + "high" : { + "type" : "Date", + "localId" : "1413", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1414", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1415", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1416", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1405", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2019", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1406", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "01", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "1407", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "01", + "annotation" : [ ] + } + } + }, { + "type" : "Interval", + "localId" : "1444", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1445", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1446", + "name" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ] + } + }, + "low" : { + "type" : "Date", + "localId" : "1428", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1429", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1430", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1431", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1420", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2018", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1421", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "02", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "1422", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "01", + "annotation" : [ ] + } + }, + "high" : { + "type" : "Date", + "localId" : "1440", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1441", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1442", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1443", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1432", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2019", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1433", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "05", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "1434", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "01", + "annotation" : [ ] + } + } + } ] + } + }, { + "localId" : "1454", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "DateYearPrecisionNotSame", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "1454", + "s" : [ { + "value" : [ "", "define ", "DateYearPrecisionNotSame", ": " ] + }, { + "r" : "1509", + "s" : [ { + "r" : "1479", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "1463", + "s" : [ { + "r" : "1455", + "value" : [ "Date", "(", "2018", ",", "01", ",", "01", ")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "1475", + "s" : [ { + "r" : "1467", + "value" : [ "Date", "(", "2019", ",", "01", ",", "01", ")" ] + } ] + }, { + "value" : [ "]" ] + } ] + }, { + "r" : "1509", + "value" : [ " ", "same year as", " " ] + }, { + "r" : "1506", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "1490", + "s" : [ { + "r" : "1482", + "value" : [ "Date", "(", "2018", ",", "02", ",", "01", ")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "1502", + "s" : [ { + "r" : "1494", + "value" : [ "Date", "(", "2020", ",", "05", ",", "01", ")" ] + } ] + }, { + "value" : [ "]" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "SameAs", + "localId" : "1509", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "precision" : "Year", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "1510", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1511", + "name" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ] + } + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "1512", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1513", + "name" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "Interval", + "localId" : "1479", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1480", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1481", + "name" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ] + } + }, + "low" : { + "type" : "Date", + "localId" : "1463", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1464", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1465", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1466", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1455", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2018", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1456", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "01", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "1457", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "01", + "annotation" : [ ] + } + }, + "high" : { + "type" : "Date", + "localId" : "1475", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1476", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1477", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1478", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1467", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2019", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1468", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "01", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "1469", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "01", + "annotation" : [ ] + } + } + }, { + "type" : "Interval", + "localId" : "1506", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1507", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1508", + "name" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ] + } + }, + "low" : { + "type" : "Date", + "localId" : "1490", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1491", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1492", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1493", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1482", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2018", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1483", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "02", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "1484", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "01", + "annotation" : [ ] + } + }, + "high" : { + "type" : "Date", + "localId" : "1502", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1503", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1504", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1505", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1494", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2020", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1495", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "05", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "1496", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "01", + "annotation" : [ ] + } + } + } ] + } + }, { + "localId" : "1516", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "DateTimeMonthPrecisionSame", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "1516", + "s" : [ { + "value" : [ "", "define ", "DateTimeMonthPrecisionSame", ": " ] + }, { + "r" : "1571", + "s" : [ { + "r" : "1541", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "1525", + "s" : [ { + "r" : "1517", + "value" : [ "DateTime", "(", "2018", ",", "01", ",", "01", ")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "1537", + "s" : [ { + "r" : "1529", + "value" : [ "DateTime", "(", "2019", ",", "01", ",", "01", ")" ] + } ] + }, { + "value" : [ "]" ] + } ] + }, { + "r" : "1571", + "value" : [ " ", "same month as", " " ] + }, { + "r" : "1568", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "1552", + "s" : [ { + "r" : "1544", + "value" : [ "DateTime", "(", "2018", ",", "01", ",", "01", ")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "1564", + "s" : [ { + "r" : "1556", + "value" : [ "DateTime", "(", "2019", ",", "01", ",", "03", ")" ] + } ] + }, { + "value" : [ "]" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "SameAs", + "localId" : "1571", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "precision" : "Month", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "1572", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1573", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "1574", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1575", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "Interval", + "localId" : "1541", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1542", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1543", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "DateTime", + "localId" : "1525", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1526", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1527", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1528", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1517", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2018", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1518", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "01", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "1519", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "01", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "1537", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1538", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1539", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1540", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1529", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2019", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1530", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "01", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "1531", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "01", + "annotation" : [ ] + } + } + }, { + "type" : "Interval", + "localId" : "1568", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1569", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1570", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "DateTime", + "localId" : "1552", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1553", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1554", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1555", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1544", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2018", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1545", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "01", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "1546", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "01", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "1564", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1565", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1566", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1567", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1556", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2019", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1557", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "01", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "1558", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "03", + "annotation" : [ ] + } + } + } ] + } + }, { + "localId" : "1578", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "DateTimeMonthPrecisionNotSame", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "1578", + "s" : [ { + "value" : [ "", "define ", "DateTimeMonthPrecisionNotSame", ": " ] + }, { + "r" : "1633", + "s" : [ { + "r" : "1603", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "1587", + "s" : [ { + "r" : "1579", + "value" : [ "DateTime", "(", "2018", ",", "01", ",", "01", ")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "1599", + "s" : [ { + "r" : "1591", + "value" : [ "DateTime", "(", "2019", ",", "01", ",", "01", ")" ] + } ] + }, { + "value" : [ "]" ] + } ] + }, { + "r" : "1633", + "value" : [ " ", "same month as", " " ] + }, { + "r" : "1630", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "1614", + "s" : [ { + "r" : "1606", + "value" : [ "DateTime", "(", "2018", ",", "02", ",", "01", ")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "1626", + "s" : [ { + "r" : "1618", + "value" : [ "DateTime", "(", "2019", ",", "01", ",", "01", ")" ] + } ] + }, { + "value" : [ "]" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "SameAs", + "localId" : "1633", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "precision" : "Month", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "1634", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1635", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "1636", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1637", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "Interval", + "localId" : "1603", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1604", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1605", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "DateTime", + "localId" : "1587", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1588", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1589", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1590", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1579", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2018", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1580", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "01", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "1581", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "01", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "1599", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1600", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1601", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1602", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1591", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2019", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1592", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "01", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "1593", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "01", + "annotation" : [ ] + } + } + }, { + "type" : "Interval", + "localId" : "1630", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1631", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1632", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "DateTime", + "localId" : "1614", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1615", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1616", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1617", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1606", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2018", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1607", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "02", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "1608", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "01", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "1626", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1627", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1628", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1629", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1618", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2019", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1619", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "01", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "1620", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "01", + "annotation" : [ ] + } + } + } ] + } + }, { + "localId" : "1640", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "DateTimeDayPrecisionSame", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "1640", + "s" : [ { + "value" : [ "", "define ", "DateTimeDayPrecisionSame", ": " ] + }, { + "r" : "1701", + "s" : [ { + "r" : "1665", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "1649", + "s" : [ { + "r" : "1641", + "value" : [ "DateTime", "(", "2018", ",", "01", ",", "01", ")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "1661", + "s" : [ { + "r" : "1653", + "value" : [ "DateTime", "(", "2019", ",", "01", ",", "01", ")" ] + } ] + }, { + "value" : [ "]" ] + } ] + }, { + "r" : "1701", + "value" : [ " ", "same day as", " " ] + }, { + "r" : "1698", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "1678", + "s" : [ { + "r" : "1668", + "value" : [ "DateTime", "(", "2018", ",", "01", ",", "01", ",", "05", ")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "1693", + "s" : [ { + "r" : "1683", + "value" : [ "DateTime", "(", "2019", ",", "01", ",", "01", ",", "09", ")" ] + } ] + }, { + "value" : [ "]" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "SameAs", + "localId" : "1701", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "precision" : "Day", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "1702", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1703", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "1704", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1705", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "Interval", + "localId" : "1665", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1666", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1667", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "DateTime", + "localId" : "1649", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1650", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1651", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1652", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1641", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2018", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1642", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "01", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "1643", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "01", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "1661", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1662", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1663", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1664", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1653", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2019", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1654", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "01", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "1655", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "01", + "annotation" : [ ] + } + } + }, { + "type" : "Interval", + "localId" : "1698", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1699", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1700", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "DateTime", + "localId" : "1678", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1679", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1680", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1681", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1682", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1668", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2018", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1669", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "01", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "1670", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "01", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "1671", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "05", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "1693", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1694", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1695", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1696", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1697", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1683", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2019", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1684", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "01", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "1685", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "01", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "1686", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "09", + "annotation" : [ ] + } + } + } ] + } + }, { + "localId" : "1708", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "DateTimeDayPrecisionNotSame", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "1708", + "s" : [ { + "value" : [ "", "define ", "DateTimeDayPrecisionNotSame", ": " ] + }, { + "r" : "1766", + "s" : [ { + "r" : "1733", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "1717", + "s" : [ { + "r" : "1709", + "value" : [ "DateTime", "(", "2018", ",", "01", ",", "01", ")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "1729", + "s" : [ { + "r" : "1721", + "value" : [ "DateTime", "(", "2019", ",", "01", ",", "01", ")" ] + } ] + }, { + "value" : [ "]" ] + } ] + }, { + "r" : "1766", + "value" : [ " ", "same day as", " " ] + }, { + "r" : "1763", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "1744", + "s" : [ { + "r" : "1736", + "value" : [ "DateTime", "(", "2018", ",", "01", ",", "01", ")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "1758", + "s" : [ { + "r" : "1748", + "value" : [ "DateTime", "(", "2019", ",", "01", ",", "02", ",", "06", ")" ] + } ] + }, { + "value" : [ "]" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "SameAs", + "localId" : "1766", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "precision" : "Day", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "1767", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1768", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "1769", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1770", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "Interval", + "localId" : "1733", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1734", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1735", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "DateTime", + "localId" : "1717", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1718", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1719", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1720", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1709", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2018", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1710", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "01", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "1711", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "01", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "1729", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1730", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1731", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1732", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1721", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2019", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1722", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "01", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "1723", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "01", + "annotation" : [ ] + } + } + }, { + "type" : "Interval", + "localId" : "1763", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1764", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1765", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "DateTime", + "localId" : "1744", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1745", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1746", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1747", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1736", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2018", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1737", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "01", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "1738", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "01", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "1758", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1759", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1760", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1761", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1762", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1748", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2019", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1749", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "01", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "1750", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "02", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "1751", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "06", + "annotation" : [ ] + } + } + } ] + } + }, { + "localId" : "1773", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "DateTimeHourPrecisionSame", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "1773", + "s" : [ { + "value" : [ "", "define ", "DateTimeHourPrecisionSame", ": " ] + }, { + "r" : "1843", + "s" : [ { + "r" : "1804", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "1784", + "s" : [ { + "r" : "1774", + "value" : [ "DateTime", "(", "2018", ",", "01", ",", "01", ",", "01", ")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "1799", + "s" : [ { + "r" : "1789", + "value" : [ "DateTime", "(", "2019", ",", "01", ",", "01", ",", "01", ")" ] + } ] + }, { + "value" : [ "]" ] + } ] + }, { + "r" : "1843", + "value" : [ " ", "same hour as", " " ] + }, { + "r" : "1840", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "1817", + "s" : [ { + "r" : "1807", + "value" : [ "DateTime", "(", "2018", ",", "01", ",", "01", ",", "01", ")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "1834", + "s" : [ { + "r" : "1822", + "value" : [ "DateTime", "(", "2019", ",", "01", ",", "01", ",", "01", ",", "05", ")" ] + } ] + }, { + "value" : [ "]" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "SameAs", + "localId" : "1843", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "precision" : "Hour", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "1844", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1845", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "1846", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1847", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "Interval", + "localId" : "1804", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1805", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1806", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "DateTime", + "localId" : "1784", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1785", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1786", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1787", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1788", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1774", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2018", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1775", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "01", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "1776", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "01", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "1777", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "01", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "1799", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1800", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1801", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1802", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1803", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1789", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2019", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1790", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "01", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "1791", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "01", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "1792", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "01", + "annotation" : [ ] + } + } + }, { + "type" : "Interval", + "localId" : "1840", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1841", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1842", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "DateTime", + "localId" : "1817", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1818", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1819", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1820", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1821", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1807", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2018", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1808", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "01", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "1809", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "01", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "1810", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "01", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "1834", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1835", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1836", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1837", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1838", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1839", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1822", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2019", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1823", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "01", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "1824", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "01", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "1825", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "01", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "1826", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "05", + "annotation" : [ ] + } + } + } ] + } + }, { + "localId" : "1850", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "DateTimeHourPrecisionNotSame", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "1850", + "s" : [ { + "value" : [ "", "define ", "DateTimeHourPrecisionNotSame", ": " ] + }, { + "r" : "1920", + "s" : [ { + "r" : "1884", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "1863", + "s" : [ { + "r" : "1851", + "value" : [ "DateTime", "(", "2018", ",", "01", ",", "01", ",", "01", ",", "01", ")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "1879", + "s" : [ { + "r" : "1869", + "value" : [ "DateTime", "(", "2019", ",", "01", ",", "01", ",", "01", ")" ] + } ] + }, { + "value" : [ "]" ] + } ] + }, { + "r" : "1920", + "value" : [ " ", "same hour as", " " ] + }, { + "r" : "1917", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "1897", + "s" : [ { + "r" : "1887", + "value" : [ "DateTime", "(", "2018", ",", "01", ",", "01", ",", "06", ")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "1912", + "s" : [ { + "r" : "1902", + "value" : [ "DateTime", "(", "2019", ",", "01", ",", "01", ",", "01", ")" ] + } ] + }, { + "value" : [ "]" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "SameAs", + "localId" : "1920", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "precision" : "Hour", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "1921", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1922", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "1923", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1924", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "Interval", + "localId" : "1884", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1885", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1886", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "DateTime", + "localId" : "1863", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1864", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1865", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1866", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1867", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1868", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1851", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2018", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1852", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "01", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "1853", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "01", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "1854", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "01", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "1855", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "01", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "1879", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1880", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1881", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1882", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1883", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1869", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2019", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1870", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "01", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "1871", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "01", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "1872", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "01", + "annotation" : [ ] + } + } + }, { + "type" : "Interval", + "localId" : "1917", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1918", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1919", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "DateTime", + "localId" : "1897", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1898", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1899", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1900", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1901", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1887", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2018", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1888", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "01", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "1889", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "01", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "1890", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "06", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "1912", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1913", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1914", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1915", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1916", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1902", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2019", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1903", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "01", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "1904", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "01", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "1905", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "01", + "annotation" : [ ] + } + } + } ] + } + }, { + "localId" : "1927", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "DateTimeMinutePrecisionSame", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "1927", + "s" : [ { + "value" : [ "", "define ", "DateTimeMinutePrecisionSame", ": " ] + }, { + "r" : "2012", + "s" : [ { + "r" : "1964", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "1940", + "s" : [ { + "r" : "1928", + "value" : [ "DateTime", "(", "2018", ",", "01", ",", "01", ",", "01", ",", "01", ")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "1958", "s" : [ { - "value" : [ "","define ","OpenNullHighsLowsDifferent",": " ] - }, { - "r" : "2687", - "s" : [ { - "r" : "2677", - "s" : [ { - "r" : "2675", - "value" : [ "Interval(","1",",","null",")" ] - } ] - }, { - "r" : "2687", - "value" : [ " ","same as"," " ] - }, { - "r" : "2683", - "s" : [ { - "r" : "2681", - "value" : [ "Interval(","2",",","null",")" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "2687", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "SameAs", - "signature" : [ { - "localId" : "2688", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "2689", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "2690", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "2691", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "2677", - "lowClosed" : false, - "highClosed" : false, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "2679", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "2680", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "2675", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "high" : { - "localId" : "2678", - "asType" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "As", - "signature" : [ ], - "operand" : { - "localId" : "2676", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - } - } - }, { - "localId" : "2683", - "lowClosed" : false, - "highClosed" : false, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "2685", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "2686", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "2681", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal" - }, - "high" : { - "localId" : "2684", - "asType" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "As", - "signature" : [ ], - "operand" : { - "localId" : "2682", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - } - } - } ] - } - }, { - "localId" : "2694", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "OpenNullHighsLowsSame", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "2694", - "s" : [ { - "value" : [ "","define ","OpenNullHighsLowsSame",": " ] - }, { - "r" : "2707", - "s" : [ { - "r" : "2697", - "s" : [ { - "r" : "2695", - "value" : [ "Interval(","1",",","null",")" ] - } ] - }, { - "r" : "2707", - "value" : [ " ","same as"," " ] - }, { - "r" : "2703", - "s" : [ { - "r" : "2701", - "value" : [ "Interval(","1",",","null",")" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "2707", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "SameAs", - "signature" : [ { - "localId" : "2708", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "2709", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "2710", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "2711", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "2697", - "lowClosed" : false, - "highClosed" : false, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "2699", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "2700", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "2695", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "high" : { - "localId" : "2698", - "asType" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "As", - "signature" : [ ], - "operand" : { - "localId" : "2696", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - } - } - }, { - "localId" : "2703", - "lowClosed" : false, - "highClosed" : false, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "2705", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "2706", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "2701", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "high" : { - "localId" : "2704", - "asType" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "As", - "signature" : [ ], - "operand" : { - "localId" : "2702", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - } - } - } ] - } - }, { - "localId" : "2714", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "OpenNullLowsHighsSame", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "2714", - "s" : [ { - "value" : [ "","define ","OpenNullLowsHighsSame",": " ] - }, { - "r" : "2727", - "s" : [ { - "r" : "2717", - "s" : [ { - "r" : "2715", - "value" : [ "Interval(","null",",","3",")" ] - } ] - }, { - "r" : "2727", - "value" : [ " ","same as"," " ] - }, { - "r" : "2723", - "s" : [ { - "r" : "2721", - "value" : [ "Interval(","null",",","3",")" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "2727", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "SameAs", - "signature" : [ { - "localId" : "2728", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "2729", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "2730", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "2731", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "2717", - "lowClosed" : false, - "highClosed" : false, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "2719", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "2720", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "2718", - "asType" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "As", - "signature" : [ ], - "operand" : { - "localId" : "2715", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - } - }, - "high" : { - "localId" : "2716", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - } - }, { - "localId" : "2723", - "lowClosed" : false, - "highClosed" : false, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "2725", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "2726", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "2724", - "asType" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "As", - "signature" : [ ], - "operand" : { - "localId" : "2721", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - } - }, - "high" : { - "localId" : "2722", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - } - } ] - } - } ] - } - } + "r" : "1946", + "value" : [ "DateTime", "(", "2019", ",", "01", ",", "01", ",", "01", ",", "01", ")" ] + } ] + }, { + "value" : [ "]" ] + } ] + }, { + "r" : "2012", + "value" : [ " ", "same minute as", " " ] + }, { + "r" : "2009", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "1981", + "s" : [ { + "r" : "1967", + "value" : [ "DateTime", "(", "2018", ",", "01", ",", "01", ",", "01", ",", "01", ",", "09", ")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "2002", + "s" : [ { + "r" : "1988", + "value" : [ "DateTime", "(", "2019", ",", "01", ",", "01", ",", "01", ",", "01", ",", "06", ")" ] + } ] + }, { + "value" : [ "]" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "SameAs", + "localId" : "2012", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "precision" : "Minute", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "2013", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "2014", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "2015", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "2016", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "Interval", + "localId" : "1964", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "1965", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1966", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "DateTime", + "localId" : "1940", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1941", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1942", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1943", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1944", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1945", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1928", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2018", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1929", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "01", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "1930", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "01", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "1931", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "01", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "1932", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "01", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "1958", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1959", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1960", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1961", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1962", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1963", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1946", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2019", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1947", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "01", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "1948", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "01", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "1949", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "01", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "1950", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "01", + "annotation" : [ ] + } + } + }, { + "type" : "Interval", + "localId" : "2009", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "2010", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "2011", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "DateTime", + "localId" : "1981", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "1982", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1983", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1984", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1985", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1986", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "1987", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1967", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2018", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1968", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "01", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "1969", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "01", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "1970", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "01", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "1971", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "01", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "1972", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "09", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "2002", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "2003", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2004", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2005", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2006", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2007", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2008", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "1988", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2019", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "1989", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "01", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "1990", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "01", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "1991", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "01", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "1992", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "01", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "1993", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "06", + "annotation" : [ ] + } + } + } ] + } + }, { + "localId" : "2019", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "DateTimeMinutePrecisionNotSame", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "2019", + "s" : [ { + "value" : [ "", "define ", "DateTimeMinutePrecisionNotSame", ": " ] + }, { + "r" : "2098", + "s" : [ { + "r" : "2056", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "2032", + "s" : [ { + "r" : "2020", + "value" : [ "DateTime", "(", "2018", ",", "01", ",", "01", ",", "01", ",", "01", ")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "2050", + "s" : [ { + "r" : "2038", + "value" : [ "DateTime", "(", "2019", ",", "01", ",", "01", ",", "01", ",", "01", ")" ] + } ] + }, { + "value" : [ "]" ] + } ] + }, { + "r" : "2098", + "value" : [ " ", "same minute as", " " ] + }, { + "r" : "2095", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "2071", + "s" : [ { + "r" : "2059", + "value" : [ "DateTime", "(", "2018", ",", "01", ",", "01", ",", "06", ",", "03", ")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "2089", + "s" : [ { + "r" : "2077", + "value" : [ "DateTime", "(", "2019", ",", "01", ",", "01", ",", "01", ",", "06", ")" ] + } ] + }, { + "value" : [ "]" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "SameAs", + "localId" : "2098", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "precision" : "Minute", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "2099", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "2100", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "2101", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "2102", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "Interval", + "localId" : "2056", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "2057", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "2058", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "DateTime", + "localId" : "2032", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "2033", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2034", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2035", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2036", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2037", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "2020", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2018", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "2021", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "01", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "2022", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "01", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "2023", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "01", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "2024", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "01", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "2050", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "2051", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2052", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2053", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2054", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2055", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "2038", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2019", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "2039", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "01", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "2040", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "01", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "2041", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "01", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "2042", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "01", + "annotation" : [ ] + } + } + }, { + "type" : "Interval", + "localId" : "2095", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "2096", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "2097", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "DateTime", + "localId" : "2071", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "2072", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2073", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2074", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2075", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2076", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "2059", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2018", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "2060", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "01", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "2061", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "01", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "2062", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "06", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "2063", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "03", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "2089", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "2090", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2091", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2092", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2093", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2094", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "2077", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2019", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "2078", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "01", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "2079", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "01", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "2080", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "01", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "2081", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "06", + "annotation" : [ ] + } + } + } ] + } + }, { + "localId" : "2105", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "DateTimeSecondPrecisionSame", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "2105", + "s" : [ { + "value" : [ "", "define ", "DateTimeSecondPrecisionSame", ": " ] + }, { + "r" : "2199", + "s" : [ { + "r" : "2148", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "2120", + "s" : [ { + "r" : "2106", + "value" : [ "DateTime", "(", "2018", ",", "01", ",", "01", ",", "01", ",", "01", ",", "01", ")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "2141", + "s" : [ { + "r" : "2127", + "value" : [ "DateTime", "(", "2019", ",", "01", ",", "01", ",", "01", ",", "01", ",", "01", ")" ] + } ] + }, { + "value" : [ "]" ] + } ] + }, { + "r" : "2199", + "value" : [ " ", "same second as", " " ] + }, { + "r" : "2196", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "2165", + "s" : [ { + "r" : "2151", + "value" : [ "DateTime", "(", "2018", ",", "01", ",", "01", ",", "01", ",", "01", ",", "01", ")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "2188", + "s" : [ { + "r" : "2172", + "value" : [ "DateTime", "(", "2019", ",", "01", ",", "01", ",", "01", ",", "01", ",", "01", ",", "07", ")" ] + } ] + }, { + "value" : [ "]" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "SameAs", + "localId" : "2199", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "precision" : "Second", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "2200", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "2201", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "2202", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "2203", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "Interval", + "localId" : "2148", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "2149", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "2150", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "DateTime", + "localId" : "2120", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "2121", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2122", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2123", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2124", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2125", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2126", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "2106", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2018", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "2107", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "01", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "2108", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "01", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "2109", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "01", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "2110", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "01", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "2111", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "01", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "2141", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "2142", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2143", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2144", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2145", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2146", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2147", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "2127", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2019", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "2128", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "01", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "2129", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "01", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "2130", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "01", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "2131", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "01", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "2132", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "01", + "annotation" : [ ] + } + } + }, { + "type" : "Interval", + "localId" : "2196", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "2197", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "2198", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "DateTime", + "localId" : "2165", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "2166", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2167", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2168", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2169", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2170", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2171", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "2151", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2018", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "2152", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "01", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "2153", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "01", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "2154", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "01", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "2155", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "01", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "2156", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "01", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "2188", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "2189", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2190", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2191", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2192", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2193", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2194", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2195", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "2172", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2019", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "2173", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "01", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "2174", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "01", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "2175", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "01", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "2176", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "01", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "2177", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "01", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "2178", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "07", + "annotation" : [ ] + } + } + } ] + } + }, { + "localId" : "2206", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "DateTimeSecondPrecisionNotSame", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "2206", + "s" : [ { + "value" : [ "", "define ", "DateTimeSecondPrecisionNotSame", ": " ] + }, { + "r" : "2297", + "s" : [ { + "r" : "2249", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "2221", + "s" : [ { + "r" : "2207", + "value" : [ "DateTime", "(", "2018", ",", "01", ",", "01", ",", "01", ",", "01", ",", "01", ")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "2242", + "s" : [ { + "r" : "2228", + "value" : [ "DateTime", "(", "2019", ",", "01", ",", "01", ",", "01", ",", "01", ",", "01", ")" ] + } ] + }, { + "value" : [ "]" ] + } ] + }, { + "r" : "2297", + "value" : [ " ", "same second as", " " ] + }, { + "r" : "2294", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "2266", + "s" : [ { + "r" : "2252", + "value" : [ "DateTime", "(", "2018", ",", "01", ",", "01", ",", "01", ",", "01", ",", "01", ")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "2287", + "s" : [ { + "r" : "2273", + "value" : [ "DateTime", "(", "2019", ",", "01", ",", "01", ",", "01", ",", "07", ",", "55", ")" ] + } ] + }, { + "value" : [ "]" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "SameAs", + "localId" : "2297", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "precision" : "Second", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "2298", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "2299", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "2300", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "2301", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "Interval", + "localId" : "2249", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "2250", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "2251", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "DateTime", + "localId" : "2221", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "2222", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2223", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2224", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2225", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2226", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2227", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "2207", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2018", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "2208", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "01", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "2209", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "01", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "2210", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "01", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "2211", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "01", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "2212", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "01", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "2242", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "2243", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2244", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2245", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2246", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2247", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2248", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "2228", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2019", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "2229", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "01", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "2230", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "01", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "2231", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "01", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "2232", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "01", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "2233", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "01", + "annotation" : [ ] + } + } + }, { + "type" : "Interval", + "localId" : "2294", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "2295", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "2296", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "DateTime", + "localId" : "2266", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "2267", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2268", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2269", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2270", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2271", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2272", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "2252", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2018", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "2253", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "01", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "2254", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "01", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "2255", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "01", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "2256", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "01", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "2257", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "01", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "2287", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "2288", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2289", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2290", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2291", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2292", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2293", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "2273", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2019", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "2274", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "01", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "2275", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "01", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "2276", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "01", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "2277", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "07", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "2278", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "55", + "annotation" : [ ] + } + } + } ] + } + }, { + "localId" : "2304", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "DateTimeMillisecondPrecisionSame", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "2304", + "s" : [ { + "value" : [ "", "define ", "DateTimeMillisecondPrecisionSame", ": " ] + }, { + "r" : "2407", + "s" : [ { + "r" : "2353", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "2321", + "s" : [ { + "r" : "2305", + "value" : [ "DateTime", "(", "2018", ",", "01", ",", "01", ",", "01", ",", "01", ",", "01", ",", "01", ")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "2345", + "s" : [ { + "r" : "2329", + "value" : [ "DateTime", "(", "2019", ",", "01", ",", "01", ",", "01", ",", "01", ",", "01", ",", "01", ")" ] + } ] + }, { + "value" : [ "]" ] + } ] + }, { + "r" : "2407", + "value" : [ " ", "same millisecond as", " " ] + }, { + "r" : "2404", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "2372", + "s" : [ { + "r" : "2356", + "value" : [ "DateTime", "(", "2018", ",", "01", ",", "01", ",", "01", ",", "01", ",", "01", ",", "01", ")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "2396", + "s" : [ { + "r" : "2380", + "value" : [ "DateTime", "(", "2019", ",", "01", ",", "01", ",", "01", ",", "01", ",", "01", ",", "01", ")" ] + } ] + }, { + "value" : [ "]" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "SameAs", + "localId" : "2407", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "precision" : "Millisecond", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "2408", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "2409", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "2410", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "2411", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "Interval", + "localId" : "2353", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "2354", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "2355", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "DateTime", + "localId" : "2321", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "2322", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2323", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2324", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2325", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2326", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2327", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2328", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "2305", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2018", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "2306", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "01", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "2307", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "01", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "2308", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "01", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "2309", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "01", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "2310", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "01", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "2311", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "01", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "2345", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "2346", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2347", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2348", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2349", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2350", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2351", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2352", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "2329", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2019", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "2330", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "01", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "2331", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "01", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "2332", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "01", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "2333", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "01", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "2334", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "01", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "2335", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "01", + "annotation" : [ ] + } + } + }, { + "type" : "Interval", + "localId" : "2404", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "2405", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "2406", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "DateTime", + "localId" : "2372", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "2373", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2374", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2375", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2376", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2377", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2378", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2379", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "2356", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2018", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "2357", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "01", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "2358", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "01", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "2359", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "01", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "2360", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "01", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "2361", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "01", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "2362", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "01", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "2396", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "2397", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2398", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2399", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2400", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2401", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2402", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2403", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "2380", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2019", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "2381", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "01", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "2382", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "01", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "2383", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "01", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "2384", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "01", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "2385", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "01", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "2386", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "01", + "annotation" : [ ] + } + } + } ] + } + }, { + "localId" : "2414", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "DateTimeMillisecondPrecisionNotSame", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "2414", + "s" : [ { + "value" : [ "", "define ", "DateTimeMillisecondPrecisionNotSame", ": " ] + }, { + "r" : "2517", + "s" : [ { + "r" : "2463", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "2431", + "s" : [ { + "r" : "2415", + "value" : [ "DateTime", "(", "2018", ",", "01", ",", "01", ",", "01", ",", "01", ",", "01", ",", "01", ")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "2455", + "s" : [ { + "r" : "2439", + "value" : [ "DateTime", "(", "2019", ",", "01", ",", "01", ",", "01", ",", "01", ",", "01", ",", "01", ")" ] + } ] + }, { + "value" : [ "]" ] + } ] + }, { + "r" : "2517", + "value" : [ " ", "same millisecond as", " " ] + }, { + "r" : "2514", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "2482", + "s" : [ { + "r" : "2466", + "value" : [ "DateTime", "(", "2018", ",", "01", ",", "01", ",", "01", ",", "01", ",", "01", ",", "01", ")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "2506", + "s" : [ { + "r" : "2490", + "value" : [ "DateTime", "(", "2019", ",", "01", ",", "01", ",", "01", ",", "01", ",", "01", ",", "09", ")" ] + } ] + }, { + "value" : [ "]" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "SameAs", + "localId" : "2517", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "precision" : "Millisecond", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "2518", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "2519", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "2520", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "2521", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "Interval", + "localId" : "2463", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "2464", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "2465", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "DateTime", + "localId" : "2431", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "2432", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2433", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2434", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2435", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2436", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2437", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2438", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "2415", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2018", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "2416", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "01", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "2417", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "01", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "2418", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "01", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "2419", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "01", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "2420", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "01", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "2421", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "01", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "2455", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "2456", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2457", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2458", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2459", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2460", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2461", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2462", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "2439", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2019", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "2440", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "01", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "2441", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "01", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "2442", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "01", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "2443", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "01", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "2444", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "01", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "2445", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "01", + "annotation" : [ ] + } + } + }, { + "type" : "Interval", + "localId" : "2514", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "2515", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "2516", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "DateTime", + "localId" : "2482", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "2483", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2484", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2485", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2486", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2487", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2488", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2489", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "2466", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2018", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "2467", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "01", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "2468", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "01", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "2469", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "01", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "2470", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "01", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "2471", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "01", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "2472", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "01", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "2506", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "2507", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2508", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2509", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2510", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2511", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2512", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "2513", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "2490", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2019", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "2491", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "01", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "2492", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "01", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "2493", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "01", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "2494", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "01", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "2495", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "01", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "2496", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "09", + "annotation" : [ ] + } + } + } ] + } + }, { + "localId" : "2524", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "IntegerIntervalSame", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "2524", + "s" : [ { + "value" : [ "", "define ", "IntegerIntervalSame", ": " ] + }, { + "r" : "2535", + "s" : [ { + "r" : "2527", + "s" : [ { + "r" : "2525", + "value" : [ "Interval[", "2", ",", "5", "]" ] + } ] + }, { + "r" : "2535", + "value" : [ " ", "same as", " " ] + }, { + "r" : "2532", + "s" : [ { + "r" : "2530", + "value" : [ "Interval[", "2", ",", "5", "]" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "SameAs", + "localId" : "2535", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "2536", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "2537", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "2538", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "2539", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "Interval", + "localId" : "2527", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "2528", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "2529", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "low" : { + "type" : "Literal", + "localId" : "2525", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "annotation" : [ ] + }, + "high" : { + "type" : "Literal", + "localId" : "2526", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "5", + "annotation" : [ ] + } + }, { + "type" : "Interval", + "localId" : "2532", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "2533", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "2534", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "low" : { + "type" : "Literal", + "localId" : "2530", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "annotation" : [ ] + }, + "high" : { + "type" : "Literal", + "localId" : "2531", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "5", + "annotation" : [ ] + } + } ] + } + }, { + "localId" : "2542", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "IntegerIntervalNotSame", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "2542", + "s" : [ { + "value" : [ "", "define ", "IntegerIntervalNotSame", ": " ] + }, { + "r" : "2553", + "s" : [ { + "r" : "2545", + "s" : [ { + "r" : "2543", + "value" : [ "Interval[", "2", ",", "5", "]" ] + } ] + }, { + "r" : "2553", + "value" : [ " ", "same as", " " ] + }, { + "r" : "2550", + "s" : [ { + "r" : "2548", + "value" : [ "Interval[", "2", ",", "4", "]" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "SameAs", + "localId" : "2553", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "2554", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "2555", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "2556", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "2557", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "Interval", + "localId" : "2545", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "2546", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "2547", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "low" : { + "type" : "Literal", + "localId" : "2543", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "annotation" : [ ] + }, + "high" : { + "type" : "Literal", + "localId" : "2544", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "5", + "annotation" : [ ] + } + }, { + "type" : "Interval", + "localId" : "2550", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "2551", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "2552", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "low" : { + "type" : "Literal", + "localId" : "2548", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "annotation" : [ ] + }, + "high" : { + "type" : "Literal", + "localId" : "2549", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "4", + "annotation" : [ ] + } + } ] + } + }, { + "localId" : "2560", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "IntegerIntervalSameOpen", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "2560", + "s" : [ { + "value" : [ "", "define ", "IntegerIntervalSameOpen", ": " ] + }, { + "r" : "2571", + "s" : [ { + "r" : "2563", + "s" : [ { + "r" : "2561", + "value" : [ "Interval[", "2", ",", "5", "]" ] + } ] + }, { + "r" : "2571", + "value" : [ " ", "same as", " " ] + }, { + "r" : "2568", + "s" : [ { + "r" : "2566", + "value" : [ "Interval[", "2", ",", "6", ")" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "SameAs", + "localId" : "2571", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "2572", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "2573", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "2574", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "2575", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "Interval", + "localId" : "2563", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "2564", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "2565", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "low" : { + "type" : "Literal", + "localId" : "2561", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "annotation" : [ ] + }, + "high" : { + "type" : "Literal", + "localId" : "2562", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "5", + "annotation" : [ ] + } + }, { + "type" : "Interval", + "localId" : "2568", + "lowClosed" : true, + "highClosed" : false, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "2569", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "2570", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "low" : { + "type" : "Literal", + "localId" : "2566", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "annotation" : [ ] + }, + "high" : { + "type" : "Literal", + "localId" : "2567", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "6", + "annotation" : [ ] + } + } ] + } + }, { + "localId" : "2578", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "OpenNullHighLowDifferent", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "2578", + "s" : [ { + "value" : [ "", "define ", "OpenNullHighLowDifferent", ": " ] + }, { + "r" : "2590", + "s" : [ { + "r" : "2581", + "s" : [ { + "r" : "2579", + "value" : [ "Interval(", "3", ",", "null", ")" ] + } ] + }, { + "r" : "2590", + "value" : [ " ", "same as", " " ] + }, { + "r" : "2587", + "s" : [ { + "r" : "2585", + "value" : [ "Interval(", "2", ",", "4", ")" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "SameAs", + "localId" : "2590", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "2591", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "2592", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "2593", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "2594", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "Interval", + "localId" : "2581", + "lowClosed" : false, + "highClosed" : false, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "2583", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "2584", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "low" : { + "type" : "Literal", + "localId" : "2579", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "high" : { + "type" : "As", + "localId" : "2582", + "asType" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Null", + "localId" : "2580", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } + } + }, { + "type" : "Interval", + "localId" : "2587", + "lowClosed" : false, + "highClosed" : false, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "2588", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "2589", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "low" : { + "type" : "Literal", + "localId" : "2585", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "annotation" : [ ] + }, + "high" : { + "type" : "Literal", + "localId" : "2586", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "4", + "annotation" : [ ] + } + } ] + } + }, { + "localId" : "2597", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "OpenNullLowHighDifferent", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "2597", + "s" : [ { + "value" : [ "", "define ", "OpenNullLowHighDifferent", ": " ] + }, { + "r" : "2609", + "s" : [ { + "r" : "2600", + "s" : [ { + "r" : "2598", + "value" : [ "Interval(", "1", ",", "5", ")" ] + } ] + }, { + "r" : "2609", + "value" : [ " ", "same as", " " ] + }, { + "r" : "2605", + "s" : [ { + "r" : "2603", + "value" : [ "Interval(", "null", ",", "4", ")" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "SameAs", + "localId" : "2609", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "2610", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "2611", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "2612", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "2613", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "Interval", + "localId" : "2600", + "lowClosed" : false, + "highClosed" : false, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "2601", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "2602", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "low" : { + "type" : "Literal", + "localId" : "2598", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "high" : { + "type" : "Literal", + "localId" : "2599", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "5", + "annotation" : [ ] + } + }, { + "type" : "Interval", + "localId" : "2605", + "lowClosed" : false, + "highClosed" : false, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "2607", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "2608", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "low" : { + "type" : "As", + "localId" : "2606", + "asType" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Null", + "localId" : "2603", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } + }, + "high" : { + "type" : "Literal", + "localId" : "2604", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "4", + "annotation" : [ ] + } + } ] + } + }, { + "localId" : "2616", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "OpenNullHighLowSame", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "2616", + "s" : [ { + "value" : [ "", "define ", "OpenNullHighLowSame", ": " ] + }, { + "r" : "2628", + "s" : [ { + "r" : "2619", + "s" : [ { + "r" : "2617", + "value" : [ "Interval(", "2", ",", "null", ")" ] + } ] + }, { + "r" : "2628", + "value" : [ " ", "same as", " " ] + }, { + "r" : "2625", + "s" : [ { + "r" : "2623", + "value" : [ "Interval(", "2", ",", "4", ")" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "SameAs", + "localId" : "2628", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "2629", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "2630", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "2631", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "2632", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "Interval", + "localId" : "2619", + "lowClosed" : false, + "highClosed" : false, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "2621", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "2622", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "low" : { + "type" : "Literal", + "localId" : "2617", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "annotation" : [ ] + }, + "high" : { + "type" : "As", + "localId" : "2620", + "asType" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Null", + "localId" : "2618", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } + } + }, { + "type" : "Interval", + "localId" : "2625", + "lowClosed" : false, + "highClosed" : false, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "2626", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "2627", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "low" : { + "type" : "Literal", + "localId" : "2623", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "annotation" : [ ] + }, + "high" : { + "type" : "Literal", + "localId" : "2624", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "4", + "annotation" : [ ] + } + } ] + } + }, { + "localId" : "2635", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "OpenNullLowHighSame", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "2635", + "s" : [ { + "value" : [ "", "define ", "OpenNullLowHighSame", ": " ] + }, { + "r" : "2647", + "s" : [ { + "r" : "2638", + "s" : [ { + "r" : "2636", + "value" : [ "Interval(", "1", ",", "4", ")" ] + } ] + }, { + "r" : "2647", + "value" : [ " ", "same as", " " ] + }, { + "r" : "2643", + "s" : [ { + "r" : "2641", + "value" : [ "Interval(", "null", ",", "4", ")" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "SameAs", + "localId" : "2647", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "2648", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "2649", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "2650", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "2651", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "Interval", + "localId" : "2638", + "lowClosed" : false, + "highClosed" : false, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "2639", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "2640", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "low" : { + "type" : "Literal", + "localId" : "2636", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "high" : { + "type" : "Literal", + "localId" : "2637", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "4", + "annotation" : [ ] + } + }, { + "type" : "Interval", + "localId" : "2643", + "lowClosed" : false, + "highClosed" : false, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "2645", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "2646", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "low" : { + "type" : "As", + "localId" : "2644", + "asType" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Null", + "localId" : "2641", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } + }, + "high" : { + "type" : "Literal", + "localId" : "2642", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "4", + "annotation" : [ ] + } + } ] + } + }, { + "localId" : "2654", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "OpenNullLowOpenNullHigh", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "2654", + "s" : [ { + "value" : [ "", "define ", "OpenNullLowOpenNullHigh", ": " ] + }, { + "r" : "2667", + "s" : [ { + "r" : "2657", + "s" : [ { + "r" : "2655", + "value" : [ "Interval(", "1", ",", "null", ")" ] + } ] + }, { + "r" : "2667", + "value" : [ " ", "same as", " " ] + }, { + "r" : "2663", + "s" : [ { + "r" : "2661", + "value" : [ "Interval(", "null", ",", "4", ")" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "SameAs", + "localId" : "2667", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "2668", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "2669", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "2670", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "2671", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "Interval", + "localId" : "2657", + "lowClosed" : false, + "highClosed" : false, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "2659", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "2660", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "low" : { + "type" : "Literal", + "localId" : "2655", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "high" : { + "type" : "As", + "localId" : "2658", + "asType" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Null", + "localId" : "2656", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } + } + }, { + "type" : "Interval", + "localId" : "2663", + "lowClosed" : false, + "highClosed" : false, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "2665", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "2666", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "low" : { + "type" : "As", + "localId" : "2664", + "asType" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Null", + "localId" : "2661", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } + }, + "high" : { + "type" : "Literal", + "localId" : "2662", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "4", + "annotation" : [ ] + } + } ] + } + }, { + "localId" : "2674", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "OpenNullHighsLowsDifferent", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "2674", + "s" : [ { + "value" : [ "", "define ", "OpenNullHighsLowsDifferent", ": " ] + }, { + "r" : "2687", + "s" : [ { + "r" : "2677", + "s" : [ { + "r" : "2675", + "value" : [ "Interval(", "1", ",", "null", ")" ] + } ] + }, { + "r" : "2687", + "value" : [ " ", "same as", " " ] + }, { + "r" : "2683", + "s" : [ { + "r" : "2681", + "value" : [ "Interval(", "2", ",", "null", ")" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "SameAs", + "localId" : "2687", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "2688", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "2689", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "2690", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "2691", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "Interval", + "localId" : "2677", + "lowClosed" : false, + "highClosed" : false, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "2679", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "2680", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "low" : { + "type" : "Literal", + "localId" : "2675", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "high" : { + "type" : "As", + "localId" : "2678", + "asType" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Null", + "localId" : "2676", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } + } + }, { + "type" : "Interval", + "localId" : "2683", + "lowClosed" : false, + "highClosed" : false, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "2685", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "2686", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "low" : { + "type" : "Literal", + "localId" : "2681", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "annotation" : [ ] + }, + "high" : { + "type" : "As", + "localId" : "2684", + "asType" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Null", + "localId" : "2682", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } + } + } ] + } + }, { + "localId" : "2694", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "OpenNullHighsLowsSame", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "2694", + "s" : [ { + "value" : [ "", "define ", "OpenNullHighsLowsSame", ": " ] + }, { + "r" : "2707", + "s" : [ { + "r" : "2697", + "s" : [ { + "r" : "2695", + "value" : [ "Interval(", "1", ",", "null", ")" ] + } ] + }, { + "r" : "2707", + "value" : [ " ", "same as", " " ] + }, { + "r" : "2703", + "s" : [ { + "r" : "2701", + "value" : [ "Interval(", "1", ",", "null", ")" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "SameAs", + "localId" : "2707", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "2708", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "2709", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "2710", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "2711", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "Interval", + "localId" : "2697", + "lowClosed" : false, + "highClosed" : false, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "2699", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "2700", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "low" : { + "type" : "Literal", + "localId" : "2695", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "high" : { + "type" : "As", + "localId" : "2698", + "asType" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Null", + "localId" : "2696", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } + } + }, { + "type" : "Interval", + "localId" : "2703", + "lowClosed" : false, + "highClosed" : false, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "2705", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "2706", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "low" : { + "type" : "Literal", + "localId" : "2701", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "high" : { + "type" : "As", + "localId" : "2704", + "asType" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Null", + "localId" : "2702", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } + } + } ] + } + }, { + "localId" : "2714", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "OpenNullLowsHighsSame", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "2714", + "s" : [ { + "value" : [ "", "define ", "OpenNullLowsHighsSame", ": " ] + }, { + "r" : "2727", + "s" : [ { + "r" : "2717", + "s" : [ { + "r" : "2715", + "value" : [ "Interval(", "null", ",", "3", ")" ] + } ] + }, { + "r" : "2727", + "value" : [ " ", "same as", " " ] + }, { + "r" : "2723", + "s" : [ { + "r" : "2721", + "value" : [ "Interval(", "null", ",", "3", ")" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "SameAs", + "localId" : "2727", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "2728", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "2729", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "2730", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "2731", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "Interval", + "localId" : "2717", + "lowClosed" : false, + "highClosed" : false, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "2719", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "2720", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "low" : { + "type" : "As", + "localId" : "2718", + "asType" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Null", + "localId" : "2715", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } + }, + "high" : { + "type" : "Literal", + "localId" : "2716", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + } + }, { + "type" : "Interval", + "localId" : "2723", + "lowClosed" : false, + "highClosed" : false, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "2725", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "2726", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "low" : { + "type" : "As", + "localId" : "2724", + "asType" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Null", + "localId" : "2721", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } + }, + "high" : { + "type" : "Literal", + "localId" : "2722", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + } + } ] + } + } ] + } + } } diff --git a/test/elm/library/data.js b/test/elm/library/data.js index 2ed7782a..794fdc17 100644 --- a/test/elm/library/data.js +++ b/test/elm/library/data.js @@ -20,447 +20,508 @@ AgeInYearsAt(start of MeasurementPeriod) >= 2 and AgeInYearsAt(start of Measurem */ module.exports['In Age Demographic'] = { - "library" : { - "localId" : "0", - "annotation" : [ { - "translatorVersion" : "3.27.0", - "translatorOptions" : "EnableDateRangeOptimization,EnableAnnotations,EnableResultTypes", - "signatureLevel" : "All", - "type" : "CqlToElmInfo" + "library" : { + "localId" : "0", + "annotation" : [ { + "type" : "CqlToElmInfo", + "translatorVersion" : "4.2.0", + "translatorOptions" : "EnableDateRangeOptimization,EnableAnnotations,EnableResultTypes", + "signatureLevel" : "All" + }, { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "245", + "s" : [ { + "value" : [ "", "library TestSnippet version '1'" ] + } ] + } + } ], + "identifier" : { + "id" : "TestSnippet", + "version" : "1" + }, + "schemaIdentifier" : { + "id" : "urn:hl7-org:elm", + "version" : "r1" + }, + "usings" : { + "def" : [ { + "localId" : "1", + "localIdentifier" : "System", + "uri" : "urn:hl7-org:elm-types:r1", + "annotation" : [ ] + }, { + "localId" : "206", + "localIdentifier" : "Simple", + "uri" : "https://github.com/cqframework/cql-execution/simple", + "version" : "1.0.0", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "206", + "s" : [ { + "value" : [ "", "using " ] + }, { + "s" : [ { + "value" : [ "Simple" ] + } ] + }, { + "value" : [ " version '1.0.0'" ] + } ] + } + } ] + } ] + }, + "parameters" : { + "def" : [ { + "localId" : "208", + "name" : "MeasurementPeriod", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "208", + "s" : [ { + "value" : [ "", "parameter ", "MeasurementPeriod", " default " ] + }, { + "r" : "233", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "217", + "s" : [ { + "r" : "209", + "value" : [ "DateTime", "(", "2013", ", ", "1", ", ", "1", ")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "229", + "s" : [ { + "r" : "221", + "value" : [ "DateTime", "(", "2014", ", ", "1", ", ", "1", ")" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "237", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "238", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "default" : { + "type" : "Interval", + "localId" : "233", + "lowClosed" : true, + "highClosed" : false, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "234", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "235", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "DateTime", + "localId" : "217", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "218", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "219", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "220", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "209", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2013", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "210", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "211", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "229", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "230", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "231", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "232", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "221", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2014", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "222", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "223", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + } + } + } + } ] + }, + "contexts" : { + "def" : [ { + "localId" : "242", + "name" : "Patient", + "annotation" : [ ] + } ] + }, + "statements" : { + "def" : [ { + "localId" : "240", + "name" : "Patient", + "context" : "Patient", + "annotation" : [ ], + "expression" : { + "type" : "SingletonFrom", + "localId" : "241", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Retrieve", + "localId" : "239", + "dataType" : "{https://github.com/cqframework/cql-execution/simple}Patient", + "annotation" : [ ], + "include" : [ ], + "codeFilter" : [ ], + "dateFilter" : [ ], + "otherFilter" : [ ] + } + } }, { - "type" : "Annotation", - "s" : { + "localId" : "245", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "InDemographic", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { "r" : "245", "s" : [ { - "value" : [ "","library TestSnippet version '1'" ] - } ] - } - } ], - "identifier" : { - "id" : "TestSnippet", - "version" : "1" - }, - "schemaIdentifier" : { - "id" : "urn:hl7-org:elm", - "version" : "r1" - }, - "usings" : { - "def" : [ { - "localId" : "1", - "localIdentifier" : "System", - "uri" : "urn:hl7-org:elm-types:r1" - }, { - "localId" : "206", - "localIdentifier" : "Simple", - "uri" : "https://github.com/cqframework/cql-execution/simple", - "version" : "1.0.0", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "206", + "value" : [ "", "define ", "InDemographic", ":\n" ] + }, { + "r" : "246", + "s" : [ { + "r" : "247", + "s" : [ { + "r" : "258", "s" : [ { - "value" : [ "","using " ] + "value" : [ "AgeInYearsAt", "(" ] }, { - "s" : [ { - "value" : [ "Simple" ] - } ] + "r" : "248", + "s" : [ { + "value" : [ "start of " ] + }, { + "r" : "249", + "s" : [ { + "value" : [ "MeasurementPeriod" ] + } ] + } ] }, { - "value" : [ " version '1.0.0'" ] + "value" : [ ")" ] } ] - } - } ] - } ] - }, - "parameters" : { - "def" : [ { - "localId" : "208", - "name" : "MeasurementPeriod", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "208", + }, { + "r" : "261", + "value" : [ " ", ">=", " ", "2" ] + } ] + }, { + "value" : [ " and " ] + }, { + "r" : "264", + "s" : [ { + "r" : "275", "s" : [ { - "value" : [ "","parameter ","MeasurementPeriod"," default " ] + "value" : [ "AgeInYearsAt", "(" ] }, { - "r" : "233", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "217", - "s" : [ { - "r" : "209", - "value" : [ "DateTime","(","2013",", ","1",", ","1",")" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "229", - "s" : [ { - "r" : "221", - "value" : [ "DateTime","(","2014",", ","1",", ","1",")" ] - } ] - }, { - "value" : [ ")" ] - } ] + "r" : "265", + "s" : [ { + "value" : [ "start of " ] + }, { + "r" : "266", + "s" : [ { + "value" : [ "MeasurementPeriod" ] + } ] + } ] + }, { + "value" : [ ")" ] } ] - } + }, { + "r" : "278", + "value" : [ " ", "<", " ", "18" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "And", + "localId" : "246", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "281", + "name" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "282", + "name" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "GreaterOrEqual", + "localId" : "247", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "262", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "263", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] } ], - "resultTypeSpecifier" : { - "localId" : "237", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "238", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "default" : { - "localId" : "233", - "lowClosed" : true, - "highClosed" : false, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "234", + "operand" : [ { + "type" : "CalculateAgeAt", + "localId" : "258", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "precision" : "Year", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "259", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "260", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "Property", + "localId" : "257", + "path" : "birthDate", + "annotation" : [ ], + "source" : { + "type" : "ExpressionRef", + "localId" : "256", + "name" : "Patient", + "annotation" : [ ] + } + }, { + "type" : "Start", + "localId" : "248", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { "type" : "IntervalTypeSpecifier", + "localId" : "252", + "annotation" : [ ], "pointType" : { - "localId" : "235", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "217", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "218", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "219", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "220", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "209", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2013", - "type" : "Literal" - }, - "month" : { - "localId" : "210", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "211", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" + "type" : "NamedTypeSpecifier", + "localId" : "253", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] } - }, - "high" : { - "localId" : "229", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "230", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "231", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "232", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "221", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2014", - "type" : "Literal" - }, - "month" : { - "localId" : "222", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "223", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" + } ], + "operand" : { + "type" : "ParameterRef", + "localId" : "249", + "name" : "MeasurementPeriod", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "250", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "251", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } } - } - } - } ] - }, - "contexts" : { - "def" : [ { - "localId" : "242", - "name" : "Patient" - } ] - }, - "statements" : { - "def" : [ { - "localId" : "240", - "name" : "Patient", - "context" : "Patient", - "expression" : { - "localId" : "241", - "type" : "SingletonFrom", - "signature" : [ ], - "operand" : { - "localId" : "239", - "dataType" : "{https://github.com/cqframework/cql-execution/simple}Patient", - "type" : "Retrieve", - "include" : [ ], - "codeFilter" : [ ], - "dateFilter" : [ ], - "otherFilter" : [ ] - } - } - }, { - "localId" : "245", + } + } ] + }, { + "type" : "Literal", + "localId" : "261", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "annotation" : [ ] + } ] + }, { + "type" : "Less", + "localId" : "264", "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "InDemographic", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "245", - "s" : [ { - "value" : [ "","define ","InDemographic",":\n" ] - }, { - "r" : "246", - "s" : [ { - "r" : "247", - "s" : [ { - "r" : "258", - "s" : [ { - "value" : [ "AgeInYearsAt","(" ] - }, { - "r" : "248", - "s" : [ { - "value" : [ "start of " ] - }, { - "r" : "249", - "s" : [ { - "value" : [ "MeasurementPeriod" ] - } ] - } ] - }, { - "value" : [ ")" ] - } ] - }, { - "r" : "261", - "value" : [ " ",">="," ","2" ] - } ] - }, { - "value" : [ " and " ] - }, { - "r" : "264", - "s" : [ { - "r" : "275", - "s" : [ { - "value" : [ "AgeInYearsAt","(" ] - }, { - "r" : "265", - "s" : [ { - "value" : [ "start of " ] - }, { - "r" : "266", - "s" : [ { - "value" : [ "MeasurementPeriod" ] - } ] - } ] - }, { - "value" : [ ")" ] - } ] - }, { - "r" : "278", - "value" : [ " ","<"," ","18" ] - } ] - } ] - } ] - } + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "279", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "280", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] } ], - "expression" : { - "localId" : "246", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "And", - "signature" : [ { - "localId" : "281", - "name" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "282", - "name" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "247", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "GreaterOrEqual", - "signature" : [ { - "localId" : "262", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "263", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "258", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "precision" : "Year", - "type" : "CalculateAgeAt", - "signature" : [ { - "localId" : "259", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "260", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "257", - "path" : "birthDate", - "type" : "Property", - "source" : { - "localId" : "256", - "name" : "Patient", - "type" : "ExpressionRef" - } - }, { - "localId" : "248", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "Start", - "signature" : [ { - "localId" : "252", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "253", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : { - "localId" : "249", - "name" : "MeasurementPeriod", - "type" : "ParameterRef", - "resultTypeSpecifier" : { - "localId" : "250", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "251", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - } - } ] - }, { - "localId" : "261", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal" - } ] - }, { - "localId" : "264", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "Less", - "signature" : [ { - "localId" : "279", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "280", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "275", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "precision" : "Year", - "type" : "CalculateAgeAt", - "signature" : [ { - "localId" : "276", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "277", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "274", - "path" : "birthDate", - "type" : "Property", - "source" : { - "localId" : "273", - "name" : "Patient", - "type" : "ExpressionRef" - } - }, { - "localId" : "265", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "Start", - "signature" : [ { - "localId" : "269", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "270", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : { - "localId" : "266", - "name" : "MeasurementPeriod", - "type" : "ParameterRef", - "resultTypeSpecifier" : { - "localId" : "267", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "268", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - } - } ] - }, { - "localId" : "278", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "18", - "type" : "Literal" - } ] - } ] - } - } ] - } - } + "operand" : [ { + "type" : "CalculateAgeAt", + "localId" : "275", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "precision" : "Year", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "276", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "277", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "Property", + "localId" : "274", + "path" : "birthDate", + "annotation" : [ ], + "source" : { + "type" : "ExpressionRef", + "localId" : "273", + "name" : "Patient", + "annotation" : [ ] + } + }, { + "type" : "Start", + "localId" : "265", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "269", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "270", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } ], + "operand" : { + "type" : "ParameterRef", + "localId" : "266", + "name" : "MeasurementPeriod", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "267", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "268", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + } + } ] + }, { + "type" : "Literal", + "localId" : "278", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "18", + "annotation" : [ ] + } ] + } ] + } + } ] + } + } } /* CommonLib @@ -489,762 +550,850 @@ define SupportLibDef: */ module.exports['CommonLib'] = { - "library" : { - "localId" : "0", - "annotation" : [ { - "translatorVersion" : "3.27.0", - "translatorOptions" : "EnableDateRangeOptimization,EnableAnnotations,EnableResultTypes", - "signatureLevel" : "All", - "type" : "CqlToElmInfo" + "library" : { + "localId" : "0", + "annotation" : [ { + "type" : "CqlToElmInfo", + "translatorVersion" : "4.2.0", + "translatorOptions" : "EnableDateRangeOptimization,EnableAnnotations,EnableResultTypes", + "signatureLevel" : "All" + }, { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "311", + "s" : [ { + "value" : [ "", "library Common" ] + } ] + } + } ], + "identifier" : { + "id" : "Common" + }, + "schemaIdentifier" : { + "id" : "urn:hl7-org:elm", + "version" : "r1" + }, + "usings" : { + "def" : [ { + "localId" : "1", + "localIdentifier" : "System", + "uri" : "urn:hl7-org:elm-types:r1", + "annotation" : [ ] }, { - "type" : "Annotation", - "s" : { - "r" : "311", + "localId" : "206", + "localIdentifier" : "Simple", + "uri" : "https://github.com/cqframework/cql-execution/simple", + "version" : "1.0.0", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "206", + "s" : [ { + "value" : [ "", "using " ] + }, { + "s" : [ { + "value" : [ "Simple" ] + } ] + }, { + "value" : [ " version '1.0.0'" ] + } ] + } + } ] + } ] + }, + "includes" : { + "def" : [ { + "localId" : "208", + "localIdentifier" : "common2", + "path" : "Common2", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "208", + "s" : [ { + "value" : [ "", "include " ] + }, { + "s" : [ { + "value" : [ "Common2" ] + } ] + }, { + "value" : [ " called ", "common2" ] + } ] + } + } ] + } ] + }, + "parameters" : { + "def" : [ { + "localId" : "221", + "name" : "MeasurementPeriod", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "221", + "s" : [ { + "value" : [ "", "parameter ", "MeasurementPeriod", " default " ] + }, { + "r" : "246", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "230", + "s" : [ { + "r" : "222", + "value" : [ "DateTime", "(", "2013", ", ", "1", ", ", "1", ")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "242", + "s" : [ { + "r" : "234", + "value" : [ "DateTime", "(", "2014", ", ", "1", ", ", "1", ")" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "250", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "251", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "default" : { + "type" : "Interval", + "localId" : "246", + "lowClosed" : true, + "highClosed" : false, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "247", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "248", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "DateTime", + "localId" : "230", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "231", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "232", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "233", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "222", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2013", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "223", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "224", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "242", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "243", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "244", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "245", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "234", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2014", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "235", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "236", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + } + } + } + } ] + }, + "codeSystems" : { + "def" : [ { + "localId" : "214", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}CodeSystem", + "name" : "My Favorite CS", + "id" : "1.3.5.7.9", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "214", + "s" : [ { + "value" : [ "", "codesystem ", "\"My Favorite CS\"", ": ", "'1.3.5.7.9'" ] + } ] + } + } ] + }, { + "localId" : "216", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}CodeSystem", + "name" : "SNOMEDCT", + "id" : "2.16.840.1.113883.6.96", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "216", "s" : [ { - "value" : [ "","library Common" ] - } ] - } - } ], - "identifier" : { - "id" : "Common" - }, - "schemaIdentifier" : { - "id" : "urn:hl7-org:elm", - "version" : "r1" - }, - "usings" : { - "def" : [ { - "localId" : "1", - "localIdentifier" : "System", - "uri" : "urn:hl7-org:elm-types:r1" - }, { - "localId" : "206", - "localIdentifier" : "Simple", - "uri" : "https://github.com/cqframework/cql-execution/simple", - "version" : "1.0.0", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "206", + "value" : [ "", "codesystem ", "\"SNOMEDCT\"", ": ", "'2.16.840.1.113883.6.96'" ] + } ] + } + } ] + } ] + }, + "valueSets" : { + "def" : [ { + "localId" : "210", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}ValueSet", + "name" : "My Favorite VS", + "id" : "9.7.5.3.1", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "210", + "s" : [ { + "value" : [ "", "valueset ", "\"My Favorite VS\"", ": ", "'9.7.5.3.1'" ] + } ] + } + } ], + "codeSystem" : [ ] + }, { + "localId" : "212", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}ValueSet", + "name" : "Acute Pharyngitis", + "id" : "2.16.840.1.113883.3.464.1003.101.12.1001", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "212", + "s" : [ { + "value" : [ "", "valueset ", "\"Acute Pharyngitis\"", ": ", "'2.16.840.1.113883.3.464.1003.101.12.1001'" ] + } ] + } + } ], + "codeSystem" : [ ] + } ] + }, + "codes" : { + "def" : [ { + "localId" : "218", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Code", + "name" : "directReferenceCode", + "id" : "428371000124100", + "display" : "directReferenceCode", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "218", + "s" : [ { + "value" : [ "", "code ", "\"directReferenceCode\"", ": ", "'428371000124100'", " from " ] + }, { + "r" : "219", + "s" : [ { + "value" : [ "\"SNOMEDCT\"" ] + } ] + }, { + "value" : [ " display ", "'directReferenceCode'" ] + } ] + } + } ], + "codeSystem" : { + "localId" : "219", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}CodeSystem", + "name" : "SNOMEDCT", + "annotation" : [ ] + } + } ] + }, + "contexts" : { + "def" : [ { + "localId" : "255", + "name" : "Patient", + "annotation" : [ ] + } ] + }, + "statements" : { + "def" : [ { + "localId" : "253", + "name" : "Patient", + "context" : "Patient", + "annotation" : [ ], + "expression" : { + "type" : "SingletonFrom", + "localId" : "254", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Retrieve", + "localId" : "252", + "dataType" : "{https://github.com/cqframework/cql-execution/simple}Patient", + "annotation" : [ ], + "include" : [ ], + "codeFilter" : [ ], + "dateFilter" : [ ], + "otherFilter" : [ ] + } + } + }, { + "localId" : "258", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "InDemographic", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "258", + "s" : [ { + "value" : [ "", "define ", "InDemographic", ":\n" ] + }, { + "r" : "259", + "s" : [ { + "r" : "260", + "s" : [ { + "r" : "271", "s" : [ { - "value" : [ "","using " ] + "value" : [ "AgeInYearsAt", "(" ] }, { - "s" : [ { - "value" : [ "Simple" ] - } ] + "r" : "261", + "s" : [ { + "value" : [ "start of " ] + }, { + "r" : "262", + "s" : [ { + "value" : [ "MeasurementPeriod" ] + } ] + } ] }, { - "value" : [ " version '1.0.0'" ] + "value" : [ ")" ] } ] - } - } ] - } ] - }, - "includes" : { - "def" : [ { - "localId" : "208", - "localIdentifier" : "common2", - "path" : "Common2", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "208", + }, { + "r" : "274", + "value" : [ " ", ">=", " ", "2" ] + } ] + }, { + "value" : [ " and " ] + }, { + "r" : "277", + "s" : [ { + "r" : "288", "s" : [ { - "value" : [ "","include " ] - }, { - "s" : [ { - "value" : [ "Common2" ] - } ] + "value" : [ "AgeInYearsAt", "(" ] }, { - "value" : [ " called ","common2" ] - } ] - } - } ] - } ] - }, - "parameters" : { - "def" : [ { - "localId" : "221", - "name" : "MeasurementPeriod", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "221", - "s" : [ { - "value" : [ "","parameter ","MeasurementPeriod"," default " ] + "r" : "278", + "s" : [ { + "value" : [ "start of " ] + }, { + "r" : "279", + "s" : [ { + "value" : [ "MeasurementPeriod" ] + } ] + } ] }, { - "r" : "246", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "230", - "s" : [ { - "r" : "222", - "value" : [ "DateTime","(","2013",", ","1",", ","1",")" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "242", - "s" : [ { - "r" : "234", - "value" : [ "DateTime","(","2014",", ","1",", ","1",")" ] - } ] - }, { - "value" : [ ")" ] - } ] + "value" : [ ")" ] } ] - } + }, { + "r" : "291", + "value" : [ " ", "<", " ", "18" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "And", + "localId" : "259", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "294", + "name" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "295", + "name" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "GreaterOrEqual", + "localId" : "260", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "275", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "276", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] } ], - "resultTypeSpecifier" : { - "localId" : "250", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "251", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "default" : { - "localId" : "246", - "lowClosed" : true, - "highClosed" : false, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "247", + "operand" : [ { + "type" : "CalculateAgeAt", + "localId" : "271", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "precision" : "Year", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "272", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "273", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "Property", + "localId" : "270", + "path" : "birthDate", + "annotation" : [ ], + "source" : { + "type" : "ExpressionRef", + "localId" : "269", + "name" : "Patient", + "annotation" : [ ] + } + }, { + "type" : "Start", + "localId" : "261", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { "type" : "IntervalTypeSpecifier", + "localId" : "265", + "annotation" : [ ], "pointType" : { - "localId" : "248", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" + "type" : "NamedTypeSpecifier", + "localId" : "266", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] } - }, - "low" : { - "localId" : "230", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "231", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "232", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "233", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "222", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2013", - "type" : "Literal" - }, - "month" : { - "localId" : "223", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "224", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" + } ], + "operand" : { + "type" : "ParameterRef", + "localId" : "262", + "name" : "MeasurementPeriod", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "263", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "264", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } } - }, - "high" : { - "localId" : "242", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "243", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "244", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "245", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "234", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2014", - "type" : "Literal" - }, - "month" : { - "localId" : "235", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "236", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" + } + } ] + }, { + "type" : "Literal", + "localId" : "274", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "annotation" : [ ] + } ] + }, { + "type" : "Less", + "localId" : "277", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "292", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "293", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "CalculateAgeAt", + "localId" : "288", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "precision" : "Year", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "289", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "290", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "Property", + "localId" : "287", + "path" : "birthDate", + "annotation" : [ ], + "source" : { + "type" : "ExpressionRef", + "localId" : "286", + "name" : "Patient", + "annotation" : [ ] + } + }, { + "type" : "Start", + "localId" : "278", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "282", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "283", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] } - } - } - } ] - }, - "codeSystems" : { - "def" : [ { - "localId" : "214", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}CodeSystem", - "name" : "My Favorite CS", - "id" : "1.3.5.7.9", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "214", - "s" : [ { - "value" : [ "","codesystem ","\"My Favorite CS\"",": ","'1.3.5.7.9'" ] - } ] - } - } ] - }, { - "localId" : "216", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}CodeSystem", - "name" : "SNOMEDCT", - "id" : "2.16.840.1.113883.6.96", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "216", - "s" : [ { - "value" : [ "","codesystem ","\"SNOMEDCT\"",": ","'2.16.840.1.113883.6.96'" ] - } ] - } + } ], + "operand" : { + "type" : "ParameterRef", + "localId" : "279", + "name" : "MeasurementPeriod", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "280", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "281", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + } + } ] + }, { + "type" : "Literal", + "localId" : "291", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "18", + "annotation" : [ ] } ] - } ] - }, - "valueSets" : { - "def" : [ { - "localId" : "210", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}ValueSet", - "name" : "My Favorite VS", - "id" : "9.7.5.3.1", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "210", + } ] + } + }, { + "type" : "FunctionDef", + "localId" : "296", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "name" : "foo", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "296", + "s" : [ { + "value" : [ "", "define function foo (a Integer, b Integer) :\n " ] + }, { + "r" : "304", + "s" : [ { + "r" : "304", + "s" : [ { + "r" : "305", "s" : [ { - "value" : [ "","valueset ","\"My Favorite VS\"",": ","'9.7.5.3.1'" ] + "value" : [ "a" ] } ] - } - } ], - "codeSystem" : [ ] - }, { - "localId" : "212", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}ValueSet", - "name" : "Acute Pharyngitis", - "id" : "2.16.840.1.113883.3.464.1003.101.12.1001", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "212", + }, { + "value" : [ " + " ] + }, { + "r" : "306", "s" : [ { - "value" : [ "","valueset ","\"Acute Pharyngitis\"",": ","'2.16.840.1.113883.3.464.1003.101.12.1001'" ] + "value" : [ "b" ] } ] - } - } ], - "codeSystem" : [ ] - } ] - }, - "codes" : { - "def" : [ { - "localId" : "218", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Code", - "name" : "directReferenceCode", - "id" : "428371000124100", - "display" : "directReferenceCode", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "218", + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Add", + "localId" : "304", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "307", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "308", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "OperandRef", + "localId" : "305", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "name" : "a", + "annotation" : [ ] + }, { + "type" : "OperandRef", + "localId" : "306", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "name" : "b", + "annotation" : [ ] + } ] + }, + "operand" : [ { + "localId" : "298", + "name" : "a", + "annotation" : [ ], + "operandTypeSpecifier" : { + "type" : "NamedTypeSpecifier", + "localId" : "297", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, { + "localId" : "300", + "name" : "b", + "annotation" : [ ], + "operandTypeSpecifier" : { + "type" : "NamedTypeSpecifier", + "localId" : "299", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } ] + }, { + "localId" : "311", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "name" : "SupportLibDef", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "311", + "s" : [ { + "value" : [ "", "define ", "SupportLibDef", ":\n " ] + }, { + "r" : "312", + "s" : [ { + "r" : "313", + "s" : [ { + "r" : "315", "s" : [ { - "value" : [ "","code ","\"directReferenceCode\"",": ","'428371000124100'"," from " ] + "r" : "314", + "s" : [ { + "value" : [ "common2" ] + } ] }, { - "r" : "219", - "s" : [ { - "value" : [ "\"SNOMEDCT\"" ] - } ] + "value" : [ "." ] }, { - "value" : [ " display ","'directReferenceCode'" ] + "r" : "315", + "s" : [ { + "value" : [ "TheParameter" ] + } ] } ] - } - } ], - "codeSystem" : { - "localId" : "219", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}CodeSystem", - "name" : "SNOMEDCT" - } - } ] - }, - "contexts" : { - "def" : [ { - "localId" : "255", - "name" : "Patient" - } ] - }, - "statements" : { - "def" : [ { - "localId" : "253", - "name" : "Patient", - "context" : "Patient", - "expression" : { - "localId" : "254", - "type" : "SingletonFrom", - "signature" : [ ], - "operand" : { - "localId" : "252", - "dataType" : "{https://github.com/cqframework/cql-execution/simple}Patient", - "type" : "Retrieve", - "include" : [ ], - "codeFilter" : [ ], - "dateFilter" : [ ], - "otherFilter" : [ ] - } - } - }, { - "localId" : "258", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "InDemographic", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "258", + }, { + "value" : [ " + " ] + }, { + "r" : "317", "s" : [ { - "value" : [ "","define ","InDemographic",":\n" ] - }, { - "r" : "259", - "s" : [ { - "r" : "260", - "s" : [ { - "r" : "271", - "s" : [ { - "value" : [ "AgeInYearsAt","(" ] - }, { - "r" : "261", - "s" : [ { - "value" : [ "start of " ] - }, { - "r" : "262", - "s" : [ { - "value" : [ "MeasurementPeriod" ] - } ] - } ] - }, { - "value" : [ ")" ] - } ] - }, { - "r" : "274", - "value" : [ " ",">="," ","2" ] - } ] - }, { - "value" : [ " and " ] - }, { - "r" : "277", - "s" : [ { - "r" : "288", - "s" : [ { - "value" : [ "AgeInYearsAt","(" ] - }, { - "r" : "278", - "s" : [ { - "value" : [ "start of " ] - }, { - "r" : "279", - "s" : [ { - "value" : [ "MeasurementPeriod" ] - } ] - } ] - }, { - "value" : [ ")" ] - } ] - }, { - "r" : "291", - "value" : [ " ","<"," ","18" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "259", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "And", - "signature" : [ { - "localId" : "294", - "name" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "295", - "name" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "260", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "GreaterOrEqual", - "signature" : [ { - "localId" : "275", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" + "r" : "316", + "s" : [ { + "value" : [ "common2" ] + } ] }, { - "localId" : "276", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "271", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "precision" : "Year", - "type" : "CalculateAgeAt", - "signature" : [ { - "localId" : "272", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "273", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "270", - "path" : "birthDate", - "type" : "Property", - "source" : { - "localId" : "269", - "name" : "Patient", - "type" : "ExpressionRef" - } - }, { - "localId" : "261", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "Start", - "signature" : [ { - "localId" : "265", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "266", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : { - "localId" : "262", - "name" : "MeasurementPeriod", - "type" : "ParameterRef", - "resultTypeSpecifier" : { - "localId" : "263", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "264", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - } - } ] + "value" : [ "." ] }, { - "localId" : "274", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal" + "r" : "317", + "s" : [ { + "value" : [ "TwoPlusOne" ] + } ] } ] - }, { - "localId" : "277", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "Less", - "signature" : [ { - "localId" : "292", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "293", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "288", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "precision" : "Year", - "type" : "CalculateAgeAt", - "signature" : [ { - "localId" : "289", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "290", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "287", - "path" : "birthDate", - "type" : "Property", - "source" : { - "localId" : "286", - "name" : "Patient", - "type" : "ExpressionRef" - } - }, { - "localId" : "278", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "Start", - "signature" : [ { - "localId" : "282", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "283", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : { - "localId" : "279", - "name" : "MeasurementPeriod", - "type" : "ParameterRef", - "resultTypeSpecifier" : { - "localId" : "280", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "281", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - } - } ] - }, { - "localId" : "291", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "18", - "type" : "Literal" + } ] + }, { + "value" : [ " + " ] + }, { + "r" : "321", + "s" : [ { + "r" : "320", + "s" : [ { + "value" : [ "common2" ] } ] - } ] - } - }, { - "localId" : "296", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "name" : "foo", - "context" : "Patient", - "accessLevel" : "Public", - "type" : "FunctionDef", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "296", + }, { + "value" : [ "." ] + }, { + "r" : "321", "s" : [ { - "value" : [ "","define function foo (a Integer, b Integer) :\n " ] - }, { - "r" : "304", - "s" : [ { - "r" : "304", - "s" : [ { - "r" : "305", - "s" : [ { - "value" : [ "a" ] - } ] - }, { - "value" : [ " + " ] - }, { - "r" : "306", - "s" : [ { - "value" : [ "b" ] - } ] - } ] - } ] + "value" : [ "TwoTimesThree" ] } ] - } + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Add", + "localId" : "312", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "322", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "323", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "Add", + "localId" : "313", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "318", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "319", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] } ], - "expression" : { - "localId" : "304", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "Add", - "signature" : [ { - "localId" : "307", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "308", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "305", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "name" : "a", - "type" : "OperandRef" - }, { - "localId" : "306", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "name" : "b", - "type" : "OperandRef" - } ] - }, "operand" : [ { - "localId" : "298", - "name" : "a", - "operandTypeSpecifier" : { - "localId" : "297", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } + "type" : "ExpressionRef", + "localId" : "315", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "name" : "TheParameter", + "libraryName" : "common2", + "annotation" : [ ] }, { - "localId" : "300", - "name" : "b", - "operandTypeSpecifier" : { - "localId" : "299", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } + "type" : "ExpressionRef", + "localId" : "317", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "name" : "TwoPlusOne", + "libraryName" : "common2", + "annotation" : [ ] } ] - }, { - "localId" : "311", + }, { + "type" : "ExpressionRef", + "localId" : "321", "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "name" : "SupportLibDef", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "311", - "s" : [ { - "value" : [ "","define ","SupportLibDef",":\n " ] - }, { - "r" : "312", - "s" : [ { - "r" : "313", - "s" : [ { - "r" : "315", - "s" : [ { - "r" : "314", - "s" : [ { - "value" : [ "common2" ] - } ] - }, { - "value" : [ "." ] - }, { - "r" : "315", - "s" : [ { - "value" : [ "TheParameter" ] - } ] - } ] - }, { - "value" : [ " + " ] - }, { - "r" : "317", - "s" : [ { - "r" : "316", - "s" : [ { - "value" : [ "common2" ] - } ] - }, { - "value" : [ "." ] - }, { - "r" : "317", - "s" : [ { - "value" : [ "TwoPlusOne" ] - } ] - } ] - } ] - }, { - "value" : [ " + " ] - }, { - "r" : "321", - "s" : [ { - "r" : "320", - "s" : [ { - "value" : [ "common2" ] - } ] - }, { - "value" : [ "." ] - }, { - "r" : "321", - "s" : [ { - "value" : [ "TwoTimesThree" ] - } ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "312", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "Add", - "signature" : [ { - "localId" : "322", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "323", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "313", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "Add", - "signature" : [ { - "localId" : "318", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "319", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "315", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "name" : "TheParameter", - "libraryName" : "common2", - "type" : "ExpressionRef" - }, { - "localId" : "317", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "name" : "TwoPlusOne", - "libraryName" : "common2", - "type" : "ExpressionRef" - } ] - }, { - "localId" : "321", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "name" : "TwoTimesThree", - "libraryName" : "common2", - "type" : "ExpressionRef" - } ] - } - } ] - } - } + "name" : "TwoTimesThree", + "libraryName" : "common2", + "annotation" : [ ] + } ] + } + } ] + } + } } /* Using CommonLib @@ -1280,783 +1429,860 @@ define supportClashingValueSetNames: */ module.exports['Using CommonLib'] = { - "library" : { - "localId" : "0", - "annotation" : [ { - "translatorVersion" : "3.27.0", - "translatorOptions" : "EnableDateRangeOptimization,EnableAnnotations,EnableResultTypes", - "signatureLevel" : "All", - "type" : "CqlToElmInfo" + "library" : { + "localId" : "0", + "annotation" : [ { + "type" : "CqlToElmInfo", + "translatorVersion" : "4.2.0", + "translatorOptions" : "EnableDateRangeOptimization,EnableAnnotations,EnableResultTypes", + "signatureLevel" : "All" + }, { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "307", + "s" : [ { + "value" : [ "", "library TestSnippet version '1'" ] + } ] + } + } ], + "identifier" : { + "id" : "TestSnippet", + "version" : "1" + }, + "schemaIdentifier" : { + "id" : "urn:hl7-org:elm", + "version" : "r1" + }, + "usings" : { + "def" : [ { + "localId" : "1", + "localIdentifier" : "System", + "uri" : "urn:hl7-org:elm-types:r1", + "annotation" : [ ] }, { - "type" : "Annotation", - "s" : { - "r" : "307", + "localId" : "206", + "localIdentifier" : "Simple", + "uri" : "https://github.com/cqframework/cql-execution/simple", + "version" : "1.0.0", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "206", "s" : [ { - "value" : [ "","library TestSnippet version '1'" ] - } ] - } - } ], - "identifier" : { - "id" : "TestSnippet", - "version" : "1" - }, - "schemaIdentifier" : { - "id" : "urn:hl7-org:elm", - "version" : "r1" - }, - "usings" : { - "def" : [ { - "localId" : "1", - "localIdentifier" : "System", - "uri" : "urn:hl7-org:elm-types:r1" - }, { - "localId" : "206", - "localIdentifier" : "Simple", - "uri" : "https://github.com/cqframework/cql-execution/simple", - "version" : "1.0.0", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "206", - "s" : [ { - "value" : [ "","using " ] - }, { - "s" : [ { - "value" : [ "Simple" ] - } ] - }, { - "value" : [ " version '1.0.0'" ] - } ] - } - } ] - } ] - }, - "includes" : { - "def" : [ { - "localId" : "208", - "localIdentifier" : "common", - "path" : "Common", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "208", - "s" : [ { - "value" : [ "","include " ] - }, { - "s" : [ { - "value" : [ "Common" ] - } ] - }, { - "value" : [ " called ","common" ] - } ] - } + "value" : [ "", "using " ] + }, { + "s" : [ { + "value" : [ "Simple" ] + } ] + }, { + "value" : [ " version '1.0.0'" ] } ] - } ] - }, - "parameters" : { - "def" : [ { - "localId" : "214", - "name" : "MeasurementPeriod", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "214", - "s" : [ { - "value" : [ "","parameter ","MeasurementPeriod"," default " ] - }, { - "r" : "239", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "223", - "s" : [ { - "r" : "215", - "value" : [ "DateTime","(","2013",", ","1",", ","1",")" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "235", - "s" : [ { - "r" : "227", - "value" : [ "DateTime","(","2014",", ","1",", ","1",")" ] - } ] - }, { - "value" : [ ")" ] - } ] - } ] - } - } ], - "resultTypeSpecifier" : { - "localId" : "243", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "244", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "default" : { - "localId" : "239", - "lowClosed" : true, - "highClosed" : false, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "240", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "241", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "223", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "224", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "225", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "226", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "215", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2013", - "type" : "Literal" - }, - "month" : { - "localId" : "216", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "217", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - } - }, - "high" : { - "localId" : "235", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "236", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "237", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "238", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "227", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2014", - "type" : "Literal" - }, - "month" : { - "localId" : "228", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "229", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - } - } - } - } ] - }, - "codeSystems" : { - "def" : [ { - "localId" : "212", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}CodeSystem", - "name" : "My Favorite CS", - "id" : "2.4.6.8.10", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "212", - "s" : [ { - "value" : [ "","codesystem ","\"My Favorite CS\"",": ","'2.4.6.8.10'" ] - } ] - } + } + } ] + } ] + }, + "includes" : { + "def" : [ { + "localId" : "208", + "localIdentifier" : "common", + "path" : "Common", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "208", + "s" : [ { + "value" : [ "", "include " ] + }, { + "s" : [ { + "value" : [ "Common" ] + } ] + }, { + "value" : [ " called ", "common" ] } ] - } ] - }, - "valueSets" : { - "def" : [ { - "localId" : "210", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}ValueSet", - "name" : "My Favorite VS", - "id" : "10.8.6.4.2", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "210", - "s" : [ { - "value" : [ "","valueset ","\"My Favorite VS\"",": ","'10.8.6.4.2'" ] - } ] - } - } ], - "codeSystem" : [ ] - } ] - }, - "contexts" : { - "def" : [ { - "localId" : "248", - "name" : "Patient" - } ] - }, - "statements" : { - "def" : [ { - "localId" : "246", - "name" : "Patient", - "context" : "Patient", - "expression" : { - "localId" : "247", - "type" : "SingletonFrom", - "signature" : [ ], - "operand" : { - "localId" : "245", - "dataType" : "{https://github.com/cqframework/cql-execution/simple}Patient", - "type" : "Retrieve", - "include" : [ ], - "codeFilter" : [ ], - "dateFilter" : [ ], - "otherFilter" : [ ] - } + } + } ] + } ] + }, + "parameters" : { + "def" : [ { + "localId" : "214", + "name" : "MeasurementPeriod", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "214", + "s" : [ { + "value" : [ "", "parameter ", "MeasurementPeriod", " default " ] + }, { + "r" : "239", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "223", + "s" : [ { + "r" : "215", + "value" : [ "DateTime", "(", "2013", ", ", "1", ", ", "1", ")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "235", + "s" : [ { + "r" : "227", + "value" : [ "DateTime", "(", "2014", ", ", "1", ", ", "1", ")" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "243", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "244", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "default" : { + "type" : "Interval", + "localId" : "239", + "lowClosed" : true, + "highClosed" : false, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "240", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "241", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] } - }, { - "localId" : "251", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "ID", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "251", - "s" : [ { - "value" : [ "","define ","ID",": " ] - }, { - "r" : "253", - "s" : [ { - "r" : "252", - "s" : [ { - "value" : [ "common" ] - } ] - }, { - "value" : [ "." ] - }, { - "r" : "253", - "s" : [ { - "value" : [ "InDemographic" ] - } ] - } ] - } ] - } + }, + "low" : { + "type" : "DateTime", + "localId" : "223", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "224", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "225", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "226", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] } ], - "expression" : { - "localId" : "253", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "InDemographic", - "libraryName" : "common", - "type" : "ExpressionRef" + "year" : { + "type" : "Literal", + "localId" : "215", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2013", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "216", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "217", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] } - }, { - "localId" : "256", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "name" : "L", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "256", - "s" : [ { - "value" : [ "","define ","L"," : " ] - }, { - "r" : "262", - "s" : [ { - "value" : [ "Length","(" ] - }, { - "r" : "258", - "s" : [ { - "r" : "257", - "s" : [ { - "value" : [ "Patient" ] - } ] - }, { - "value" : [ "." ] - }, { - "r" : "258", - "s" : [ { - "value" : [ "name" ] - } ] - } ] - }, { - "value" : [ ")" ] - } ] - } ] - } + }, + "high" : { + "type" : "DateTime", + "localId" : "235", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "236", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "237", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "238", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] } ], - "expression" : { - "localId" : "262", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "Length", - "signature" : [ { - "localId" : "263", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "258", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "path" : "name", - "type" : "Property", - "source" : { - "localId" : "257", - "resultTypeName" : "{https://github.com/cqframework/cql-execution/simple}Patient", - "name" : "Patient", - "type" : "ExpressionRef" - } - } + "year" : { + "type" : "Literal", + "localId" : "227", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2014", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "228", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "229", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] } - }, { - "localId" : "266", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "name" : "FuncTest", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "266", + } + } + } ] + }, + "codeSystems" : { + "def" : [ { + "localId" : "212", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}CodeSystem", + "name" : "My Favorite CS", + "id" : "2.4.6.8.10", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "212", + "s" : [ { + "value" : [ "", "codesystem ", "\"My Favorite CS\"", ": ", "'2.4.6.8.10'" ] + } ] + } + } ] + } ] + }, + "valueSets" : { + "def" : [ { + "localId" : "210", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}ValueSet", + "name" : "My Favorite VS", + "id" : "10.8.6.4.2", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "210", + "s" : [ { + "value" : [ "", "valueset ", "\"My Favorite VS\"", ": ", "'10.8.6.4.2'" ] + } ] + } + } ], + "codeSystem" : [ ] + } ] + }, + "contexts" : { + "def" : [ { + "localId" : "248", + "name" : "Patient", + "annotation" : [ ] + } ] + }, + "statements" : { + "def" : [ { + "localId" : "246", + "name" : "Patient", + "context" : "Patient", + "annotation" : [ ], + "expression" : { + "type" : "SingletonFrom", + "localId" : "247", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Retrieve", + "localId" : "245", + "dataType" : "{https://github.com/cqframework/cql-execution/simple}Patient", + "annotation" : [ ], + "include" : [ ], + "codeFilter" : [ ], + "dateFilter" : [ ], + "otherFilter" : [ ] + } + } + }, { + "localId" : "251", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "ID", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "251", + "s" : [ { + "value" : [ "", "define ", "ID", ": " ] + }, { + "r" : "253", + "s" : [ { + "r" : "252", + "s" : [ { + "value" : [ "common" ] + } ] + }, { + "value" : [ "." ] + }, { + "r" : "253", + "s" : [ { + "value" : [ "InDemographic" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "ExpressionRef", + "localId" : "253", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "InDemographic", + "libraryName" : "common", + "annotation" : [ ] + } + }, { + "localId" : "256", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "name" : "L", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "256", + "s" : [ { + "value" : [ "", "define ", "L", " : " ] + }, { + "r" : "262", + "s" : [ { + "value" : [ "Length", "(" ] + }, { + "r" : "258", + "s" : [ { + "r" : "257", "s" : [ { - "value" : [ "","define ","FuncTest"," : " ] - }, { - "r" : "270", - "s" : [ { - "r" : "267", - "s" : [ { - "value" : [ "common" ] - } ] - }, { - "value" : [ "." ] - }, { - "r" : "270", - "s" : [ { - "r" : "268", - "value" : [ "foo","(","2",", ","5",")" ] - } ] - } ] + "value" : [ "Patient" ] } ] - } - } ], - "expression" : { - "localId" : "270", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "name" : "foo", - "libraryName" : "common", - "type" : "FunctionRef", - "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" : "268", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal" - }, { - "localId" : "269", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal" - } ] - } - }, { - "localId" : "275", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Code", - "name" : "supportLibCode", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "275", + }, { + "value" : [ "." ] + }, { + "r" : "258", "s" : [ { - "value" : [ "","define ","supportLibCode",": " ] - }, { - "r" : "277", - "s" : [ { - "r" : "276", - "s" : [ { - "value" : [ "common" ] - } ] - }, { - "value" : [ "." ] - }, { - "r" : "277", - "s" : [ { - "value" : [ "\"directReferenceCode\"" ] - } ] - } ] + "value" : [ "name" ] } ] - } - } ], - "expression" : { - "localId" : "277", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Code", - "name" : "directReferenceCode", - "libraryName" : "common", - "type" : "CodeRef" + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Length", + "localId" : "262", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "263", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } ], + "operand" : { + "type" : "Property", + "localId" : "258", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "path" : "name", + "annotation" : [ ], + "source" : { + "type" : "ExpressionRef", + "localId" : "257", + "resultTypeName" : "{https://github.com/cqframework/cql-execution/simple}Patient", + "name" : "Patient", + "annotation" : [ ] } - }, { - "localId" : "280", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}CodeSystem", - "name" : "supportLibCodeSystem", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "280", + } + } + }, { + "localId" : "266", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "name" : "FuncTest", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "266", + "s" : [ { + "value" : [ "", "define ", "FuncTest", " : " ] + }, { + "r" : "270", + "s" : [ { + "r" : "267", + "s" : [ { + "value" : [ "common" ] + } ] + }, { + "value" : [ "." ] + }, { + "r" : "270", + "s" : [ { + "r" : "268", + "value" : [ "foo", "(", "2", ", ", "5", ")" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "FunctionRef", + "localId" : "270", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "name" : "foo", + "libraryName" : "common", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "271", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "272", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "Literal", + "localId" : "268", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "269", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "5", + "annotation" : [ ] + } ] + } + }, { + "localId" : "275", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Code", + "name" : "supportLibCode", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "275", + "s" : [ { + "value" : [ "", "define ", "supportLibCode", ": " ] + }, { + "r" : "277", + "s" : [ { + "r" : "276", + "s" : [ { + "value" : [ "common" ] + } ] + }, { + "value" : [ "." ] + }, { + "r" : "277", + "s" : [ { + "value" : [ "\"directReferenceCode\"" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "CodeRef", + "localId" : "277", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Code", + "name" : "directReferenceCode", + "libraryName" : "common", + "annotation" : [ ] + } + }, { + "localId" : "280", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}CodeSystem", + "name" : "supportLibCodeSystem", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "280", + "s" : [ { + "value" : [ "", "define ", "supportLibCodeSystem", ": " ] + }, { + "r" : "282", + "s" : [ { + "r" : "281", + "s" : [ { + "value" : [ "common" ] + } ] + }, { + "value" : [ "." ] + }, { + "r" : "282", + "s" : [ { + "value" : [ "\"SNOMEDCT\"" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "CodeSystemRef", + "localId" : "282", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}CodeSystem", + "name" : "SNOMEDCT", + "libraryName" : "common", + "annotation" : [ ] + } + }, { + "localId" : "285", + "name" : "supportClashingCodeSystemNames", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "285", + "s" : [ { + "value" : [ "", "define ", "supportClashingCodeSystemNames", ":\n " ] + }, { + "r" : "286", + "s" : [ { + "value" : [ "Tuple {\n " ] + }, { + "s" : [ { + "value" : [ "MyFavorite", ": " ] + }, { + "r" : "287", "s" : [ { - "value" : [ "","define ","supportLibCodeSystem",": " ] - }, { - "r" : "282", - "s" : [ { - "r" : "281", - "s" : [ { - "value" : [ "common" ] - } ] - }, { - "value" : [ "." ] - }, { - "r" : "282", - "s" : [ { - "value" : [ "\"SNOMEDCT\"" ] - } ] - } ] + "value" : [ "\"My Favorite CS\"" ] } ] - } - } ], - "expression" : { - "localId" : "282", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}CodeSystem", - "name" : "SNOMEDCT", - "libraryName" : "common", - "type" : "CodeSystemRef" - } - }, { - "localId" : "285", - "name" : "supportClashingCodeSystemNames", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "285", + } ] + }, { + "value" : [ ",\n " ] + }, { + "s" : [ { + "value" : [ "MyLibsFavorite", ": " ] + }, { + "r" : "289", "s" : [ { - "value" : [ "","define ","supportClashingCodeSystemNames",":\n " ] + "r" : "288", + "s" : [ { + "value" : [ "common" ] + } ] }, { - "r" : "286", - "s" : [ { - "value" : [ "Tuple {\n " ] - }, { - "s" : [ { - "value" : [ "MyFavorite",": " ] - }, { - "r" : "287", - "s" : [ { - "value" : [ "\"My Favorite CS\"" ] - } ] - } ] - }, { - "value" : [ ",\n " ] - }, { - "s" : [ { - "value" : [ "MyLibsFavorite",": " ] - }, { - "r" : "289", - "s" : [ { - "r" : "288", - "s" : [ { - "value" : [ "common" ] - } ] - }, { - "value" : [ "." ] - }, { - "r" : "289", - "s" : [ { - "value" : [ "\"My Favorite CS\"" ] - } ] - } ] - } ] - }, { - "value" : [ "\n }" ] - } ] - } ] - } - } ], - "resultTypeSpecifier" : { - "localId" : "295", - "type" : "TupleTypeSpecifier", - "element" : [ { - "localId" : "296", - "name" : "MyFavorite", - "elementType" : { - "localId" : "297", - "name" : "{urn:hl7-org:elm-types:r1}CodeSystem", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "298", - "name" : "MyLibsFavorite", - "elementType" : { - "localId" : "299", - "name" : "{urn:hl7-org:elm-types:r1}CodeSystem", - "type" : "NamedTypeSpecifier" - } - } ] - }, - "expression" : { - "localId" : "286", - "type" : "Tuple", - "resultTypeSpecifier" : { - "localId" : "290", - "type" : "TupleTypeSpecifier", - "element" : [ { - "localId" : "291", - "name" : "MyFavorite", - "elementType" : { - "localId" : "292", - "name" : "{urn:hl7-org:elm-types:r1}CodeSystem", - "type" : "NamedTypeSpecifier" - } + "value" : [ "." ] }, { - "localId" : "293", - "name" : "MyLibsFavorite", - "elementType" : { - "localId" : "294", - "name" : "{urn:hl7-org:elm-types:r1}CodeSystem", - "type" : "NamedTypeSpecifier" - } + "r" : "289", + "s" : [ { + "value" : [ "\"My Favorite CS\"" ] + } ] } ] - }, - "element" : [ { - "name" : "MyFavorite", - "value" : { - "localId" : "287", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}CodeSystem", - "name" : "My Favorite CS", - "type" : "CodeSystemRef" - } - }, { - "name" : "MyLibsFavorite", - "value" : { - "localId" : "289", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}CodeSystem", - "name" : "My Favorite CS", - "libraryName" : "common", - "type" : "CodeSystemRef" - } - } ] + } ] + }, { + "value" : [ "\n }" ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "TupleTypeSpecifier", + "localId" : "295", + "annotation" : [ ], + "element" : [ { + "localId" : "296", + "name" : "MyFavorite", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "297", + "name" : "{urn:hl7-org:elm-types:r1}CodeSystem", + "annotation" : [ ] } - }, { - "localId" : "302", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}ValueSet", - "name" : "supportLibValueSet", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "302", + }, { + "localId" : "298", + "name" : "MyLibsFavorite", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "299", + "name" : "{urn:hl7-org:elm-types:r1}CodeSystem", + "annotation" : [ ] + } + } ] + }, + "expression" : { + "type" : "Tuple", + "localId" : "286", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "TupleTypeSpecifier", + "localId" : "290", + "annotation" : [ ], + "element" : [ { + "localId" : "291", + "name" : "MyFavorite", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "292", + "name" : "{urn:hl7-org:elm-types:r1}CodeSystem", + "annotation" : [ ] + } + }, { + "localId" : "293", + "name" : "MyLibsFavorite", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "294", + "name" : "{urn:hl7-org:elm-types:r1}CodeSystem", + "annotation" : [ ] + } + } ] + }, + "element" : [ { + "name" : "MyFavorite", + "value" : { + "type" : "CodeSystemRef", + "localId" : "287", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}CodeSystem", + "name" : "My Favorite CS", + "annotation" : [ ] + } + }, { + "name" : "MyLibsFavorite", + "value" : { + "type" : "CodeSystemRef", + "localId" : "289", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}CodeSystem", + "name" : "My Favorite CS", + "libraryName" : "common", + "annotation" : [ ] + } + } ] + } + }, { + "localId" : "302", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}ValueSet", + "name" : "supportLibValueSet", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "302", + "s" : [ { + "value" : [ "", "define ", "supportLibValueSet", ": " ] + }, { + "r" : "304", + "s" : [ { + "r" : "303", + "s" : [ { + "value" : [ "common" ] + } ] + }, { + "value" : [ "." ] + }, { + "r" : "304", + "s" : [ { + "value" : [ "\"Acute Pharyngitis\"" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "ValueSetRef", + "localId" : "304", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}ValueSet", + "name" : "Acute Pharyngitis", + "libraryName" : "common", + "preserve" : true, + "annotation" : [ ] + } + }, { + "localId" : "307", + "name" : "supportClashingValueSetNames", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "307", + "s" : [ { + "value" : [ "", "define ", "supportClashingValueSetNames", ":\n " ] + }, { + "r" : "308", + "s" : [ { + "value" : [ "Tuple {\n " ] + }, { + "s" : [ { + "value" : [ "MyFavorite", ": " ] + }, { + "r" : "309", "s" : [ { - "value" : [ "","define ","supportLibValueSet",": " ] - }, { - "r" : "304", - "s" : [ { - "r" : "303", - "s" : [ { - "value" : [ "common" ] - } ] - }, { - "value" : [ "." ] - }, { - "r" : "304", - "s" : [ { - "value" : [ "\"Acute Pharyngitis\"" ] - } ] - } ] + "value" : [ "\"My Favorite VS\"" ] } ] - } - } ], - "expression" : { - "localId" : "304", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}ValueSet", - "name" : "Acute Pharyngitis", - "libraryName" : "common", - "preserve" : true, - "type" : "ValueSetRef" - } - }, { - "localId" : "307", - "name" : "supportClashingValueSetNames", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "307", + } ] + }, { + "value" : [ ",\n " ] + }, { + "s" : [ { + "value" : [ "MyLibsFavorite", ": " ] + }, { + "r" : "311", "s" : [ { - "value" : [ "","define ","supportClashingValueSetNames",":\n " ] + "r" : "310", + "s" : [ { + "value" : [ "common" ] + } ] }, { - "r" : "308", - "s" : [ { - "value" : [ "Tuple {\n " ] - }, { - "s" : [ { - "value" : [ "MyFavorite",": " ] - }, { - "r" : "309", - "s" : [ { - "value" : [ "\"My Favorite VS\"" ] - } ] - } ] - }, { - "value" : [ ",\n " ] - }, { - "s" : [ { - "value" : [ "MyLibsFavorite",": " ] - }, { - "r" : "311", - "s" : [ { - "r" : "310", - "s" : [ { - "value" : [ "common" ] - } ] - }, { - "value" : [ "." ] - }, { - "r" : "311", - "s" : [ { - "value" : [ "\"My Favorite VS\"" ] - } ] - } ] - } ] - }, { - "value" : [ "\n }" ] - } ] - } ] - } - } ], - "resultTypeSpecifier" : { - "localId" : "317", - "type" : "TupleTypeSpecifier", - "element" : [ { - "localId" : "318", - "name" : "MyFavorite", - "elementType" : { - "localId" : "319", - "name" : "{urn:hl7-org:elm-types:r1}ValueSet", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "320", - "name" : "MyLibsFavorite", - "elementType" : { - "localId" : "321", - "name" : "{urn:hl7-org:elm-types:r1}ValueSet", - "type" : "NamedTypeSpecifier" - } - } ] - }, - "expression" : { - "localId" : "308", - "type" : "Tuple", - "resultTypeSpecifier" : { - "localId" : "312", - "type" : "TupleTypeSpecifier", - "element" : [ { - "localId" : "313", - "name" : "MyFavorite", - "elementType" : { - "localId" : "314", - "name" : "{urn:hl7-org:elm-types:r1}ValueSet", - "type" : "NamedTypeSpecifier" - } + "value" : [ "." ] }, { - "localId" : "315", - "name" : "MyLibsFavorite", - "elementType" : { - "localId" : "316", - "name" : "{urn:hl7-org:elm-types:r1}ValueSet", - "type" : "NamedTypeSpecifier" - } + "r" : "311", + "s" : [ { + "value" : [ "\"My Favorite VS\"" ] + } ] } ] - }, - "element" : [ { - "name" : "MyFavorite", - "value" : { - "localId" : "309", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}ValueSet", - "name" : "My Favorite VS", - "preserve" : true, - "type" : "ValueSetRef" - } - }, { - "name" : "MyLibsFavorite", - "value" : { - "localId" : "311", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}ValueSet", - "name" : "My Favorite VS", - "libraryName" : "common", - "preserve" : true, - "type" : "ValueSetRef" - } - } ] + } ] + }, { + "value" : [ "\n }" ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "TupleTypeSpecifier", + "localId" : "317", + "annotation" : [ ], + "element" : [ { + "localId" : "318", + "name" : "MyFavorite", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "319", + "name" : "{urn:hl7-org:elm-types:r1}ValueSet", + "annotation" : [ ] } - } ] - } - } + }, { + "localId" : "320", + "name" : "MyLibsFavorite", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "321", + "name" : "{urn:hl7-org:elm-types:r1}ValueSet", + "annotation" : [ ] + } + } ] + }, + "expression" : { + "type" : "Tuple", + "localId" : "308", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "TupleTypeSpecifier", + "localId" : "312", + "annotation" : [ ], + "element" : [ { + "localId" : "313", + "name" : "MyFavorite", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "314", + "name" : "{urn:hl7-org:elm-types:r1}ValueSet", + "annotation" : [ ] + } + }, { + "localId" : "315", + "name" : "MyLibsFavorite", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "316", + "name" : "{urn:hl7-org:elm-types:r1}ValueSet", + "annotation" : [ ] + } + } ] + }, + "element" : [ { + "name" : "MyFavorite", + "value" : { + "type" : "ValueSetRef", + "localId" : "309", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}ValueSet", + "name" : "My Favorite VS", + "preserve" : true, + "annotation" : [ ] + } + }, { + "name" : "MyLibsFavorite", + "value" : { + "type" : "ValueSetRef", + "localId" : "311", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}ValueSet", + "name" : "My Favorite VS", + "libraryName" : "common", + "preserve" : true, + "annotation" : [ ] + } + } ] + } + } ] + } + } } /* CommonLib2 @@ -2102,917 +2328,1024 @@ define SortUsingFunction: */ module.exports['CommonLib2'] = { - "library" : { - "localId" : "0", - "annotation" : [ { - "translatorVersion" : "3.27.0", - "translatorOptions" : "EnableDateRangeOptimization,EnableAnnotations,EnableResultTypes", - "signatureLevel" : "All", - "type" : "CqlToElmInfo" + "library" : { + "localId" : "0", + "annotation" : [ { + "type" : "CqlToElmInfo", + "translatorVersion" : "4.2.0", + "translatorOptions" : "EnableDateRangeOptimization,EnableAnnotations,EnableResultTypes", + "signatureLevel" : "All" + }, { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "301", + "s" : [ { + "value" : [ "", "library Common2" ] + } ] + } + } ], + "identifier" : { + "id" : "Common2" + }, + "schemaIdentifier" : { + "id" : "urn:hl7-org:elm", + "version" : "r1" + }, + "usings" : { + "def" : [ { + "localId" : "1", + "localIdentifier" : "System", + "uri" : "urn:hl7-org:elm-types:r1", + "annotation" : [ ] }, { - "type" : "Annotation", - "s" : { - "r" : "301", + "localId" : "206", + "localIdentifier" : "Simple", + "uri" : "https://github.com/cqframework/cql-execution/simple", + "version" : "1.0.0", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "206", + "s" : [ { + "value" : [ "", "using " ] + }, { + "s" : [ { + "value" : [ "Simple" ] + } ] + }, { + "value" : [ " version '1.0.0'" ] + } ] + } + } ] + } ] + }, + "parameters" : { + "def" : [ { + "localId" : "208", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "name" : "SomeNumber", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "208", + "s" : [ { + "r" : "209", + "value" : [ "", "parameter ", "SomeNumber", " default ", "17" ] + } ] + } + } ], + "default" : { + "type" : "Literal", + "localId" : "209", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "17", + "annotation" : [ ] + } + }, { + "localId" : "211", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "name" : "AnotherNumber", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "211", "s" : [ { - "value" : [ "","library Common2" ] - } ] - } - } ], - "identifier" : { - "id" : "Common2" - }, - "schemaIdentifier" : { - "id" : "urn:hl7-org:elm", - "version" : "r1" - }, - "usings" : { - "def" : [ { - "localId" : "1", - "localIdentifier" : "System", - "uri" : "urn:hl7-org:elm-types:r1" - }, { - "localId" : "206", - "localIdentifier" : "Simple", - "uri" : "https://github.com/cqframework/cql-execution/simple", - "version" : "1.0.0", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "206", + "r" : "212", + "value" : [ "", "parameter ", "AnotherNumber", " default ", "20" ] + } ] + } + } ], + "default" : { + "type" : "Literal", + "localId" : "212", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "20", + "annotation" : [ ] + } + } ] + }, + "contexts" : { + "def" : [ { + "localId" : "217", + "name" : "Patient", + "annotation" : [ ] + } ] + }, + "statements" : { + "def" : [ { + "localId" : "215", + "name" : "Patient", + "context" : "Patient", + "annotation" : [ ], + "expression" : { + "type" : "SingletonFrom", + "localId" : "216", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Retrieve", + "localId" : "214", + "dataType" : "{https://github.com/cqframework/cql-execution/simple}Patient", + "annotation" : [ ], + "include" : [ ], + "codeFilter" : [ ], + "dateFilter" : [ ], + "otherFilter" : [ ] + } + } + }, { + "localId" : "220", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "name" : "TheParameter", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "220", + "s" : [ { + "value" : [ "", "define ", "TheParameter", ":\n " ] + }, { + "r" : "221", + "s" : [ { + "value" : [ "SomeNumber" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "ParameterRef", + "localId" : "221", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "name" : "SomeNumber", + "annotation" : [ ] + } + }, { + "type" : "FunctionDef", + "localId" : "222", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "name" : "addToParameter", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "222", + "s" : [ { + "value" : [ "", "define function addToParameter(a Integer):\n " ] + }, { + "r" : "227", + "s" : [ { + "r" : "227", + "s" : [ { + "r" : "228", "s" : [ { - "value" : [ "","using " ] - }, { - "s" : [ { - "value" : [ "Simple" ] - } ] - }, { - "value" : [ " version '1.0.0'" ] + "value" : [ "SomeNumber" ] + } ] + }, { + "value" : [ " + " ] + }, { + "r" : "229", + "s" : [ { + "value" : [ "a" ] } ] - } + } ] + } ] } ] - } ] - }, - "parameters" : { - "def" : [ { - "localId" : "208", + } + } ], + "expression" : { + "type" : "Add", + "localId" : "227", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "230", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "231", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "ParameterRef", + "localId" : "228", "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", "name" : "SomeNumber", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "208", + "annotation" : [ ] + }, { + "type" : "OperandRef", + "localId" : "229", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "name" : "a", + "annotation" : [ ] + } ] + }, + "operand" : [ { + "localId" : "224", + "name" : "a", + "annotation" : [ ], + "operandTypeSpecifier" : { + "type" : "NamedTypeSpecifier", + "localId" : "223", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } ] + }, { + "localId" : "234", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "name" : "AnotherParameter", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "234", + "s" : [ { + "value" : [ "", "define ", "AnotherParameter", ":\n " ] + }, { + "r" : "235", + "s" : [ { + "value" : [ "AnotherNumber" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "ParameterRef", + "localId" : "235", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "name" : "AnotherNumber", + "annotation" : [ ] + } + }, { + "type" : "FunctionDef", + "localId" : "236", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "name" : "addToAnotherParameter", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "236", + "s" : [ { + "value" : [ "", "define function addToAnotherParameter(a Integer):\n " ] + }, { + "r" : "241", + "s" : [ { + "r" : "241", + "s" : [ { + "r" : "242", "s" : [ { - "r" : "209", - "value" : [ "","parameter ","SomeNumber"," default ","17" ] + "value" : [ "AnotherNumber" ] } ] - } - } ], - "default" : { - "localId" : "209", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "17", - "type" : "Literal" - } - }, { - "localId" : "211", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "name" : "AnotherNumber", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "211", + }, { + "value" : [ " + " ] + }, { + "r" : "243", "s" : [ { - "r" : "212", - "value" : [ "","parameter ","AnotherNumber"," default ","20" ] + "value" : [ "a" ] } ] - } - } ], - "default" : { - "localId" : "212", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "20", - "type" : "Literal" - } - } ] - }, - "contexts" : { - "def" : [ { - "localId" : "217", - "name" : "Patient" - } ] - }, - "statements" : { - "def" : [ { - "localId" : "215", - "name" : "Patient", - "context" : "Patient", - "expression" : { - "localId" : "216", - "type" : "SingletonFrom", - "signature" : [ ], - "operand" : { - "localId" : "214", - "dataType" : "{https://github.com/cqframework/cql-execution/simple}Patient", - "type" : "Retrieve", - "include" : [ ], - "codeFilter" : [ ], - "dateFilter" : [ ], - "otherFilter" : [ ] - } - } - }, { - "localId" : "220", + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Add", + "localId" : "241", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "244", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "245", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "ParameterRef", + "localId" : "242", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "name" : "AnotherNumber", + "annotation" : [ ] + }, { + "type" : "OperandRef", + "localId" : "243", "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "name" : "TheParameter", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "220", + "name" : "a", + "annotation" : [ ] + } ] + }, + "operand" : [ { + "localId" : "238", + "name" : "a", + "annotation" : [ ], + "operandTypeSpecifier" : { + "type" : "NamedTypeSpecifier", + "localId" : "237", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } ] + }, { + "type" : "FunctionDef", + "localId" : "246", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "name" : "multiply", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "246", + "s" : [ { + "value" : [ "", "define function multiply(a Integer, b Integer) :\n " ] + }, { + "r" : "254", + "s" : [ { + "r" : "254", + "s" : [ { + "r" : "255", "s" : [ { - "value" : [ "","define ","TheParameter",":\n " ] - }, { - "r" : "221", - "s" : [ { - "value" : [ "SomeNumber" ] - } ] + "value" : [ "a" ] } ] - } - } ], - "expression" : { - "localId" : "221", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "name" : "SomeNumber", - "type" : "ParameterRef" - } - }, { - "localId" : "222", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "name" : "addToParameter", - "context" : "Patient", - "accessLevel" : "Public", - "type" : "FunctionDef", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "222", + }, { + "value" : [ " * " ] + }, { + "r" : "256", "s" : [ { - "value" : [ "","define function addToParameter(a Integer):\n " ] - }, { - "r" : "227", - "s" : [ { - "r" : "227", - "s" : [ { - "r" : "228", - "s" : [ { - "value" : [ "SomeNumber" ] - } ] - }, { - "value" : [ " + " ] - }, { - "r" : "229", - "s" : [ { - "value" : [ "a" ] - } ] - } ] - } ] + "value" : [ "b" ] } ] - } - } ], - "expression" : { - "localId" : "227", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "Add", - "signature" : [ { - "localId" : "230", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "231", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "228", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "name" : "SomeNumber", - "type" : "ParameterRef" - }, { - "localId" : "229", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "name" : "a", - "type" : "OperandRef" - } ] - }, - "operand" : [ { - "localId" : "224", - "name" : "a", - "operandTypeSpecifier" : { - "localId" : "223", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } + } ] + } ] } ] - }, { - "localId" : "234", + } + } ], + "expression" : { + "type" : "Multiply", + "localId" : "254", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "257", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "258", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "OperandRef", + "localId" : "255", "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "name" : "AnotherParameter", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "234", + "name" : "a", + "annotation" : [ ] + }, { + "type" : "OperandRef", + "localId" : "256", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "name" : "b", + "annotation" : [ ] + } ] + }, + "operand" : [ { + "localId" : "248", + "name" : "a", + "annotation" : [ ], + "operandTypeSpecifier" : { + "type" : "NamedTypeSpecifier", + "localId" : "247", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, { + "localId" : "250", + "name" : "b", + "annotation" : [ ], + "operandTypeSpecifier" : { + "type" : "NamedTypeSpecifier", + "localId" : "249", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } ] + }, { + "type" : "FunctionDef", + "localId" : "259", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "name" : "square", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "259", + "s" : [ { + "value" : [ "", "define function square(a Integer):\n " ] + }, { + "r" : "266", + "s" : [ { + "r" : "266", + "s" : [ { + "value" : [ "multiply", "(" ] + }, { + "r" : "264", "s" : [ { - "value" : [ "","define ","AnotherParameter",":\n " ] - }, { - "r" : "235", - "s" : [ { - "value" : [ "AnotherNumber" ] - } ] + "value" : [ "a" ] } ] - } - } ], - "expression" : { - "localId" : "235", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "name" : "AnotherNumber", - "type" : "ParameterRef" - } - }, { - "localId" : "236", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "name" : "addToAnotherParameter", - "context" : "Patient", - "accessLevel" : "Public", - "type" : "FunctionDef", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "236", + }, { + "value" : [ ", " ] + }, { + "r" : "265", "s" : [ { - "value" : [ "","define function addToAnotherParameter(a Integer):\n " ] - }, { - "r" : "241", - "s" : [ { - "r" : "241", - "s" : [ { - "r" : "242", - "s" : [ { - "value" : [ "AnotherNumber" ] - } ] - }, { - "value" : [ " + " ] - }, { - "r" : "243", - "s" : [ { - "value" : [ "a" ] - } ] - } ] - } ] + "value" : [ "a" ] } ] - } - } ], - "expression" : { - "localId" : "241", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "Add", - "signature" : [ { - "localId" : "244", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "245", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "242", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "name" : "AnotherNumber", - "type" : "ParameterRef" - }, { - "localId" : "243", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "name" : "a", - "type" : "OperandRef" - } ] - }, - "operand" : [ { - "localId" : "238", - "name" : "a", - "operandTypeSpecifier" : { - "localId" : "237", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } + }, { + "value" : [ ")" ] + } ] + } ] } ] - }, { - "localId" : "246", + } + } ], + "expression" : { + "type" : "FunctionRef", + "localId" : "266", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "name" : "multiply", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "267", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "268", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "OperandRef", + "localId" : "264", "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "name" : "multiply", - "context" : "Patient", - "accessLevel" : "Public", - "type" : "FunctionDef", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "246", - "s" : [ { - "value" : [ "","define function multiply(a Integer, b Integer) :\n " ] - }, { - "r" : "254", - "s" : [ { - "r" : "254", - "s" : [ { - "r" : "255", - "s" : [ { - "value" : [ "a" ] - } ] - }, { - "value" : [ " * " ] - }, { - "r" : "256", - "s" : [ { - "value" : [ "b" ] - } ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "254", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "Multiply", - "signature" : [ { - "localId" : "257", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "258", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "255", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "name" : "a", - "type" : "OperandRef" - }, { - "localId" : "256", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "name" : "b", - "type" : "OperandRef" - } ] - }, - "operand" : [ { - "localId" : "248", - "name" : "a", - "operandTypeSpecifier" : { - "localId" : "247", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } + "name" : "a", + "annotation" : [ ] + }, { + "type" : "OperandRef", + "localId" : "265", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "name" : "a", + "annotation" : [ ] + } ] + }, + "operand" : [ { + "localId" : "261", + "name" : "a", + "annotation" : [ ], + "operandTypeSpecifier" : { + "type" : "NamedTypeSpecifier", + "localId" : "260", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } ] + }, { + "localId" : "271", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "name" : "TwoTimesThree", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "271", + "s" : [ { + "value" : [ "", "define ", "TwoTimesThree", ":\n " ] }, { - "localId" : "250", - "name" : "b", - "operandTypeSpecifier" : { - "localId" : "249", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } + "r" : "274", + "s" : [ { + "r" : "272", + "value" : [ "multiply", "(", "2", ", ", "3", ")" ] + } ] } ] - }, { - "localId" : "259", + } + } ], + "expression" : { + "type" : "FunctionRef", + "localId" : "274", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "name" : "multiply", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "275", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "276", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "Literal", + "localId" : "272", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "273", "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "name" : "square", - "context" : "Patient", - "accessLevel" : "Public", - "type" : "FunctionDef", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "259", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + } ] + } + }, { + "localId" : "279", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "name" : "Two", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "279", + "s" : [ { + "r" : "280", + "value" : [ "", "define ", "Two", ":\n ", "2" ] + } ] + } + } ], + "expression" : { + "type" : "Literal", + "localId" : "280", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "annotation" : [ ] + } + }, { + "type" : "FunctionDef", + "localId" : "281", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "name" : "addTwo", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "281", + "s" : [ { + "value" : [ "", "define function addTwo(a Integer):\n " ] + }, { + "r" : "286", + "s" : [ { + "r" : "286", + "s" : [ { + "r" : "287", "s" : [ { - "value" : [ "","define function square(a Integer):\n " ] - }, { - "r" : "266", - "s" : [ { - "r" : "266", - "s" : [ { - "value" : [ "multiply","(" ] - }, { - "r" : "264", - "s" : [ { - "value" : [ "a" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "265", - "s" : [ { - "value" : [ "a" ] - } ] - }, { - "value" : [ ")" ] - } ] - } ] + "value" : [ "a" ] } ] - } - } ], - "expression" : { - "localId" : "266", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "name" : "multiply", - "type" : "FunctionRef", - "signature" : [ { - "localId" : "267", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "268", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "264", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "name" : "a", - "type" : "OperandRef" - }, { - "localId" : "265", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "name" : "a", - "type" : "OperandRef" - } ] - }, - "operand" : [ { - "localId" : "261", - "name" : "a", - "operandTypeSpecifier" : { - "localId" : "260", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } ] - }, { - "localId" : "271", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "name" : "TwoTimesThree", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "271", + }, { + "value" : [ " + " ] + }, { + "r" : "288", "s" : [ { - "value" : [ "","define ","TwoTimesThree",":\n " ] - }, { - "r" : "274", - "s" : [ { - "r" : "272", - "value" : [ "multiply","(","2",", ","3",")" ] - } ] + "value" : [ "Two" ] } ] - } - } ], - "expression" : { - "localId" : "274", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "name" : "multiply", - "type" : "FunctionRef", - "signature" : [ { - "localId" : "275", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "276", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "272", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal" - }, { - "localId" : "273", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - } ] - } - }, { - "localId" : "279", + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Add", + "localId" : "286", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "289", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "290", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "OperandRef", + "localId" : "287", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "name" : "a", + "annotation" : [ ] + }, { + "type" : "ExpressionRef", + "localId" : "288", "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", "name" : "Two", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "279", - "s" : [ { - "r" : "280", - "value" : [ "","define ","Two",":\n ","2" ] - } ] - } - } ], - "expression" : { - "localId" : "280", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal" - } - }, { - "localId" : "281", + "annotation" : [ ] + } ] + }, + "operand" : [ { + "localId" : "283", + "name" : "a", + "annotation" : [ ], + "operandTypeSpecifier" : { + "type" : "NamedTypeSpecifier", + "localId" : "282", "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "name" : "addTwo", - "context" : "Patient", - "accessLevel" : "Public", - "type" : "FunctionDef", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "281", - "s" : [ { - "value" : [ "","define function addTwo(a Integer):\n " ] - }, { - "r" : "286", - "s" : [ { - "r" : "286", - "s" : [ { - "r" : "287", - "s" : [ { - "value" : [ "a" ] - } ] - }, { - "value" : [ " + " ] - }, { - "r" : "288", - "s" : [ { - "value" : [ "Two" ] - } ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "286", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "Add", - "signature" : [ { - "localId" : "289", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "290", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "287", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "name" : "a", - "type" : "OperandRef" - }, { - "localId" : "288", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "name" : "Two", - "type" : "ExpressionRef" - } ] - }, - "operand" : [ { - "localId" : "283", - "name" : "a", - "operandTypeSpecifier" : { - "localId" : "282", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } ] + }, { + "localId" : "293", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "name" : "TwoPlusOne", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "293", + "s" : [ { + "value" : [ "", "define ", "TwoPlusOne", ":\n " ] + }, { + "r" : "294", + "s" : [ { + "r" : "295", + "s" : [ { + "value" : [ "Two" ] + } ] + }, { + "r" : "296", + "value" : [ " + ", "1" ] + } ] } ] - }, { - "localId" : "293", + } + } ], + "expression" : { + "type" : "Add", + "localId" : "294", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "297", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "298", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "ExpressionRef", + "localId" : "295", "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "name" : "TwoPlusOne", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "293", + "name" : "Two", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "296", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + } ] + } + }, { + "localId" : "301", + "name" : "SortUsingFunction", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "301", + "s" : [ { + "value" : [ "", "define ", "SortUsingFunction", ":\n " ] + }, { + "r" : "340", + "s" : [ { + "s" : [ { + "r" : "302", "s" : [ { - "value" : [ "","define ","TwoPlusOne",":\n " ] + "r" : "303", + "s" : [ { + "value" : [ "(" ] + }, { + "r" : "303", + "s" : [ { + "r" : "304", + "value" : [ "{", "1", ", ", "3", ", ", "2", ", ", "5", ", ", "4", "}" ] + } ] + }, { + "value" : [ ")" ] + } ] }, { - "r" : "294", - "s" : [ { - "r" : "295", - "s" : [ { - "value" : [ "Two" ] - } ] - }, { - "r" : "296", - "value" : [ " + ","1" ] - } ] + "value" : [ " ", "N" ] } ] - } - } ], - "expression" : { - "localId" : "294", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "Add", - "signature" : [ { - "localId" : "297", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "298", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "295", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "name" : "Two", - "type" : "ExpressionRef" - }, { - "localId" : "296", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - } ] - } - }, { - "localId" : "301", - "name" : "SortUsingFunction", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "301", + } ] + }, { + "value" : [ " " ] + }, { + "r" : "316", + "s" : [ { + "value" : [ "return " ] + }, { + "r" : "317", "s" : [ { - "value" : [ "","define ","SortUsingFunction",":\n " ] + "value" : [ "Tuple{" ] + }, { + "s" : [ { + "value" : [ "N", ": " ] + }, { + "r" : "318", + "s" : [ { + "value" : [ "N" ] + } ] + } ] }, { - "r" : "340", - "s" : [ { - "s" : [ { - "r" : "302", - "s" : [ { - "r" : "303", - "s" : [ { - "value" : [ "(" ] - }, { - "r" : "303", - "s" : [ { - "r" : "304", - "value" : [ "{","1",", ","3",", ","2",", ","5",", ","4","}" ] - } ] - }, { - "value" : [ ")" ] - } ] - }, { - "value" : [ " ","N" ] - } ] - } ] - }, { - "value" : [ " " ] - }, { - "r" : "316", - "s" : [ { - "value" : [ "return " ] - }, { - "r" : "317", - "s" : [ { - "value" : [ "Tuple{" ] - }, { - "s" : [ { - "value" : [ "N",": " ] - }, { - "r" : "318", - "s" : [ { - "value" : [ "N" ] - } ] - } ] - }, { - "value" : [ "}" ] - } ] - } ] - }, { - "value" : [ " " ] - }, { - "r" : "334", - "s" : [ { - "value" : [ "sort by " ] - }, { - "r" : "333", - "s" : [ { - "r" : "331", - "s" : [ { - "value" : [ "square","(" ] - }, { - "r" : "330", - "s" : [ { - "value" : [ "N" ] - } ] - }, { - "value" : [ ")" ] - } ] - } ] - } ] - } ] + "value" : [ "}" ] } ] - } - } ], - "resultTypeSpecifier" : { - "localId" : "345", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "346", - "type" : "TupleTypeSpecifier", - "element" : [ { - "localId" : "347", - "name" : "N", - "elementType" : { - "localId" : "348", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } + } ] + }, { + "value" : [ " " ] + }, { + "r" : "334", + "s" : [ { + "value" : [ "sort by " ] + }, { + "r" : "333", + "s" : [ { + "r" : "331", + "s" : [ { + "value" : [ "square", "(" ] + }, { + "r" : "330", + "s" : [ { + "value" : [ "N" ] + } ] + }, { + "value" : [ ")" ] + } ] } ] - } + } ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "345", + "annotation" : [ ], + "elementType" : { + "type" : "TupleTypeSpecifier", + "localId" : "346", + "annotation" : [ ], + "element" : [ { + "localId" : "347", + "name" : "N", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "348", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } ] + } + }, + "expression" : { + "type" : "Query", + "localId" : "340", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "341", + "annotation" : [ ], + "elementType" : { + "type" : "TupleTypeSpecifier", + "localId" : "342", + "annotation" : [ ], + "element" : [ { + "localId" : "343", + "name" : "N", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "344", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } ] + } + }, + "source" : [ { + "localId" : "302", + "alias" : "N", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "313", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "314", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } }, "expression" : { - "localId" : "340", - "type" : "Query", - "resultTypeSpecifier" : { - "localId" : "341", - "type" : "ListTypeSpecifier", + "type" : "List", + "localId" : "303", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "311", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "312", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "element" : [ { + "type" : "Literal", + "localId" : "304", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "305", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "306", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "307", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "5", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "308", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "4", + "annotation" : [ ] + } ] + } + } ], + "let" : [ ], + "relationship" : [ ], + "return" : { + "localId" : "316", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "322", + "annotation" : [ ], + "elementType" : { + "type" : "TupleTypeSpecifier", + "localId" : "323", + "annotation" : [ ], + "element" : [ { + "localId" : "324", + "name" : "N", + "annotation" : [ ], "elementType" : { - "localId" : "342", - "type" : "TupleTypeSpecifier", - "element" : [ { - "localId" : "343", - "name" : "N", - "elementType" : { - "localId" : "344", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } ] + "type" : "NamedTypeSpecifier", + "localId" : "325", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] } - }, - "source" : [ { - "localId" : "302", - "alias" : "N", - "resultTypeSpecifier" : { - "localId" : "313", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "314", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "expression" : { - "localId" : "303", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "311", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "312", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "element" : [ { - "localId" : "304", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, { - "localId" : "305", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, { - "localId" : "306", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal" - }, { - "localId" : "307", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal" - }, { - "localId" : "308", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "4", - "type" : "Literal" - } ] - } - } ], - "let" : [ ], - "relationship" : [ ], - "return" : { - "localId" : "316", - "resultTypeSpecifier" : { - "localId" : "322", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "323", - "type" : "TupleTypeSpecifier", - "element" : [ { - "localId" : "324", - "name" : "N", - "elementType" : { - "localId" : "325", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } ] - } - }, - "expression" : { - "localId" : "317", - "type" : "Tuple", - "resultTypeSpecifier" : { - "localId" : "319", - "type" : "TupleTypeSpecifier", - "element" : [ { - "localId" : "320", - "name" : "N", - "elementType" : { - "localId" : "321", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } ] - }, - "element" : [ { - "name" : "N", - "value" : { - "localId" : "318", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "name" : "N", - "type" : "AliasRef" - } - } ] + } ] + } + }, + "expression" : { + "type" : "Tuple", + "localId" : "317", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "TupleTypeSpecifier", + "localId" : "319", + "annotation" : [ ], + "element" : [ { + "localId" : "320", + "name" : "N", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "321", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] } - }, - "sort" : { - "localId" : "334", - "by" : [ { - "localId" : "333", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "direction" : "asc", - "type" : "ByExpression", - "expression" : { - "localId" : "331", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "name" : "square", - "type" : "FunctionRef", - "signature" : [ { - "localId" : "332", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "330", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "name" : "N", - "type" : "IdentifierRef" - } ] - } - } ] - } + } ] + }, + "element" : [ { + "name" : "N", + "value" : { + "type" : "AliasRef", + "localId" : "318", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "name" : "N", + "annotation" : [ ] + } + } ] } - } ] - } - } + }, + "sort" : { + "localId" : "334", + "annotation" : [ ], + "by" : [ { + "type" : "ByExpression", + "localId" : "333", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "direction" : "asc", + "annotation" : [ ], + "expression" : { + "type" : "FunctionRef", + "localId" : "331", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "name" : "square", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "332", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "IdentifierRef", + "localId" : "330", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "name" : "N", + "annotation" : [ ] + } ] + } + } ] + } + } + } ] + } + } } /* Using CommonLib2 @@ -3036,598 +3369,644 @@ define ExprSortsOnFunc: common2.SortUsingFunction */ module.exports['Using CommonLib2'] = { - "library" : { - "localId" : "0", - "annotation" : [ { - "translatorVersion" : "3.27.0", - "translatorOptions" : "EnableDateRangeOptimization,EnableAnnotations,EnableResultTypes", - "signatureLevel" : "All", - "type" : "CqlToElmInfo" + "library" : { + "localId" : "0", + "annotation" : [ { + "type" : "CqlToElmInfo", + "translatorVersion" : "4.2.0", + "translatorOptions" : "EnableDateRangeOptimization,EnableAnnotations,EnableResultTypes", + "signatureLevel" : "All" + }, { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "274", + "s" : [ { + "value" : [ "", "library TestSnippet version '1'" ] + } ] + } + } ], + "identifier" : { + "id" : "TestSnippet", + "version" : "1" + }, + "schemaIdentifier" : { + "id" : "urn:hl7-org:elm", + "version" : "r1" + }, + "usings" : { + "def" : [ { + "localId" : "1", + "localIdentifier" : "System", + "uri" : "urn:hl7-org:elm-types:r1", + "annotation" : [ ] }, { - "type" : "Annotation", - "s" : { - "r" : "274", + "localId" : "206", + "localIdentifier" : "Simple", + "uri" : "https://github.com/cqframework/cql-execution/simple", + "version" : "1.0.0", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "206", "s" : [ { - "value" : [ "","library TestSnippet version '1'" ] - } ] - } - } ], - "identifier" : { - "id" : "TestSnippet", - "version" : "1" - }, - "schemaIdentifier" : { - "id" : "urn:hl7-org:elm", - "version" : "r1" - }, - "usings" : { - "def" : [ { - "localId" : "1", - "localIdentifier" : "System", - "uri" : "urn:hl7-org:elm-types:r1" - }, { - "localId" : "206", - "localIdentifier" : "Simple", - "uri" : "https://github.com/cqframework/cql-execution/simple", - "version" : "1.0.0", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "206", - "s" : [ { - "value" : [ "","using " ] - }, { - "s" : [ { - "value" : [ "Simple" ] - } ] - }, { - "value" : [ " version '1.0.0'" ] - } ] - } - } ] - } ] - }, - "includes" : { - "def" : [ { - "localId" : "208", - "localIdentifier" : "common2", - "path" : "Common2", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "208", - "s" : [ { - "value" : [ "","include " ] - }, { - "s" : [ { - "value" : [ "Common2" ] - } ] - }, { - "value" : [ " called ","common2" ] - } ] - } - } ] - } ] - }, - "contexts" : { - "def" : [ { - "localId" : "213", - "name" : "Patient" - } ] - }, - "statements" : { - "def" : [ { - "localId" : "211", - "name" : "Patient", - "context" : "Patient", - "expression" : { - "localId" : "212", - "type" : "SingletonFrom", - "signature" : [ ], - "operand" : { - "localId" : "210", - "dataType" : "{https://github.com/cqframework/cql-execution/simple}Patient", - "type" : "Retrieve", - "include" : [ ], - "codeFilter" : [ ], - "dateFilter" : [ ], - "otherFilter" : [ ] - } - } - }, { - "localId" : "216", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "name" : "ExprUsesParam", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "216", - "s" : [ { - "value" : [ "","define ","ExprUsesParam",": " ] - }, { - "r" : "218", - "s" : [ { - "r" : "217", - "s" : [ { - "value" : [ "common2" ] - } ] - }, { - "value" : [ "." ] - }, { - "r" : "218", - "s" : [ { - "value" : [ "TheParameter" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "218", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "name" : "TheParameter", - "libraryName" : "common2", - "type" : "ExpressionRef" - } - }, { - "localId" : "221", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "name" : "ExprUsesParamDirectly", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "221", - "s" : [ { - "value" : [ "","define ","ExprUsesParamDirectly",": " ] - }, { - "r" : "223", - "s" : [ { - "r" : "222", - "s" : [ { - "value" : [ "common2" ] - } ] - }, { - "value" : [ "." ] - }, { - "r" : "223", - "s" : [ { - "value" : [ "SomeNumber" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "223", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "name" : "SomeNumber", - "libraryName" : "common2", - "type" : "ParameterRef" - } - }, { - "localId" : "226", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "name" : "ExprUsesAnotherParam", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "226", - "s" : [ { - "value" : [ "","define ","ExprUsesAnotherParam",": " ] - }, { - "r" : "228", - "s" : [ { - "r" : "227", - "s" : [ { - "value" : [ "common2" ] - } ] - }, { - "value" : [ "." ] - }, { - "r" : "228", - "s" : [ { - "value" : [ "AnotherParameter" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "228", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "name" : "AnotherParameter", - "libraryName" : "common2", - "type" : "ExpressionRef" - } - }, { - "localId" : "231", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "name" : "ExprUsesAnotherParamDirectly", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "231", - "s" : [ { - "value" : [ "","define ","ExprUsesAnotherParamDirectly",": " ] - }, { - "r" : "233", - "s" : [ { - "r" : "232", - "s" : [ { - "value" : [ "common2" ] - } ] - }, { - "value" : [ "." ] - }, { - "r" : "233", - "s" : [ { - "value" : [ "AnotherNumber" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "233", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "name" : "AnotherNumber", - "libraryName" : "common2", - "type" : "ParameterRef" - } - }, { - "localId" : "236", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "name" : "FuncUsesAnotherParam", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "236", - "s" : [ { - "value" : [ "","define ","FuncUsesAnotherParam",": " ] - }, { - "r" : "239", - "s" : [ { - "r" : "237", - "s" : [ { - "value" : [ "common2" ] - } ] - }, { - "value" : [ "." ] - }, { - "r" : "239", - "s" : [ { - "r" : "238", - "value" : [ "addToAnotherParameter","(","5",")" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "239", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "name" : "addToAnotherParameter", - "libraryName" : "common2", - "type" : "FunctionRef", - "signature" : [ { - "localId" : "240", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "238", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal" - } ] - } - }, { - "localId" : "243", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "name" : "FuncUsesParam", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "243", - "s" : [ { - "value" : [ "","define ","FuncUsesParam",": " ] - }, { - "r" : "246", - "s" : [ { - "r" : "244", - "s" : [ { - "value" : [ "common2" ] - } ] - }, { - "value" : [ "." ] - }, { - "r" : "246", - "s" : [ { - "r" : "245", - "value" : [ "addToParameter","(","5",")" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "246", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "name" : "addToParameter", - "libraryName" : "common2", - "type" : "FunctionRef", - "signature" : [ { - "localId" : "247", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "245", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal" - } ] - } - }, { - "localId" : "250", + "value" : [ "", "using " ] + }, { + "s" : [ { + "value" : [ "Simple" ] + } ] + }, { + "value" : [ " version '1.0.0'" ] + } ] + } + } ] + } ] + }, + "includes" : { + "def" : [ { + "localId" : "208", + "localIdentifier" : "common2", + "path" : "Common2", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "208", + "s" : [ { + "value" : [ "", "include " ] + }, { + "s" : [ { + "value" : [ "Common2" ] + } ] + }, { + "value" : [ " called ", "common2" ] + } ] + } + } ] + } ] + }, + "contexts" : { + "def" : [ { + "localId" : "213", + "name" : "Patient", + "annotation" : [ ] + } ] + }, + "statements" : { + "def" : [ { + "localId" : "211", + "name" : "Patient", + "context" : "Patient", + "annotation" : [ ], + "expression" : { + "type" : "SingletonFrom", + "localId" : "212", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Retrieve", + "localId" : "210", + "dataType" : "{https://github.com/cqframework/cql-execution/simple}Patient", + "annotation" : [ ], + "include" : [ ], + "codeFilter" : [ ], + "dateFilter" : [ ], + "otherFilter" : [ ] + } + } + }, { + "localId" : "216", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "name" : "ExprUsesParam", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "216", + "s" : [ { + "value" : [ "", "define ", "ExprUsesParam", ": " ] + }, { + "r" : "218", + "s" : [ { + "r" : "217", + "s" : [ { + "value" : [ "common2" ] + } ] + }, { + "value" : [ "." ] + }, { + "r" : "218", + "s" : [ { + "value" : [ "TheParameter" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "ExpressionRef", + "localId" : "218", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "name" : "TheParameter", + "libraryName" : "common2", + "annotation" : [ ] + } + }, { + "localId" : "221", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "name" : "ExprUsesParamDirectly", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "221", + "s" : [ { + "value" : [ "", "define ", "ExprUsesParamDirectly", ": " ] + }, { + "r" : "223", + "s" : [ { + "r" : "222", + "s" : [ { + "value" : [ "common2" ] + } ] + }, { + "value" : [ "." ] + }, { + "r" : "223", + "s" : [ { + "value" : [ "SomeNumber" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "ParameterRef", + "localId" : "223", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "name" : "SomeNumber", + "libraryName" : "common2", + "annotation" : [ ] + } + }, { + "localId" : "226", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "name" : "ExprUsesAnotherParam", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "226", + "s" : [ { + "value" : [ "", "define ", "ExprUsesAnotherParam", ": " ] + }, { + "r" : "228", + "s" : [ { + "r" : "227", + "s" : [ { + "value" : [ "common2" ] + } ] + }, { + "value" : [ "." ] + }, { + "r" : "228", + "s" : [ { + "value" : [ "AnotherParameter" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "ExpressionRef", + "localId" : "228", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "name" : "AnotherParameter", + "libraryName" : "common2", + "annotation" : [ ] + } + }, { + "localId" : "231", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "name" : "ExprUsesAnotherParamDirectly", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "231", + "s" : [ { + "value" : [ "", "define ", "ExprUsesAnotherParamDirectly", ": " ] + }, { + "r" : "233", + "s" : [ { + "r" : "232", + "s" : [ { + "value" : [ "common2" ] + } ] + }, { + "value" : [ "." ] + }, { + "r" : "233", + "s" : [ { + "value" : [ "AnotherNumber" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "ParameterRef", + "localId" : "233", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "name" : "AnotherNumber", + "libraryName" : "common2", + "annotation" : [ ] + } + }, { + "localId" : "236", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "name" : "FuncUsesAnotherParam", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "236", + "s" : [ { + "value" : [ "", "define ", "FuncUsesAnotherParam", ": " ] + }, { + "r" : "239", + "s" : [ { + "r" : "237", + "s" : [ { + "value" : [ "common2" ] + } ] + }, { + "value" : [ "." ] + }, { + "r" : "239", + "s" : [ { + "r" : "238", + "value" : [ "addToAnotherParameter", "(", "5", ")" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "FunctionRef", + "localId" : "239", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "name" : "addToAnotherParameter", + "libraryName" : "common2", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "240", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "Literal", + "localId" : "238", "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "name" : "ExprCallsFunc", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "250", - "s" : [ { - "value" : [ "","define ","ExprCallsFunc",": " ] - }, { - "r" : "252", - "s" : [ { - "r" : "251", - "s" : [ { - "value" : [ "common2" ] - } ] - }, { - "value" : [ "." ] - }, { - "r" : "252", - "s" : [ { - "value" : [ "TwoTimesThree" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "252", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "name" : "TwoTimesThree", - "libraryName" : "common2", - "type" : "ExpressionRef" - } - }, { - "localId" : "255", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "5", + "annotation" : [ ] + } ] + } + }, { + "localId" : "243", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "name" : "FuncUsesParam", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "243", + "s" : [ { + "value" : [ "", "define ", "FuncUsesParam", ": " ] + }, { + "r" : "246", + "s" : [ { + "r" : "244", + "s" : [ { + "value" : [ "common2" ] + } ] + }, { + "value" : [ "." ] + }, { + "r" : "246", + "s" : [ { + "r" : "245", + "value" : [ "addToParameter", "(", "5", ")" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "FunctionRef", + "localId" : "246", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "name" : "addToParameter", + "libraryName" : "common2", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "247", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "Literal", + "localId" : "245", "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "name" : "FuncCallsFunc", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "255", - "s" : [ { - "value" : [ "","define ","FuncCallsFunc",": " ] - }, { - "r" : "258", - "s" : [ { - "r" : "256", - "s" : [ { - "value" : [ "common2" ] - } ] - }, { - "value" : [ "." ] - }, { - "r" : "258", - "s" : [ { - "r" : "257", - "value" : [ "square","(","5",")" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "258", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "name" : "square", - "libraryName" : "common2", - "type" : "FunctionRef", - "signature" : [ { - "localId" : "259", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "257", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal" - } ] - } - }, { - "localId" : "262", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "5", + "annotation" : [ ] + } ] + } + }, { + "localId" : "250", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "name" : "ExprCallsFunc", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "250", + "s" : [ { + "value" : [ "", "define ", "ExprCallsFunc", ": " ] + }, { + "r" : "252", + "s" : [ { + "r" : "251", + "s" : [ { + "value" : [ "common2" ] + } ] + }, { + "value" : [ "." ] + }, { + "r" : "252", + "s" : [ { + "value" : [ "TwoTimesThree" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "ExpressionRef", + "localId" : "252", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "name" : "TwoTimesThree", + "libraryName" : "common2", + "annotation" : [ ] + } + }, { + "localId" : "255", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "name" : "FuncCallsFunc", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "255", + "s" : [ { + "value" : [ "", "define ", "FuncCallsFunc", ": " ] + }, { + "r" : "258", + "s" : [ { + "r" : "256", + "s" : [ { + "value" : [ "common2" ] + } ] + }, { + "value" : [ "." ] + }, { + "r" : "258", + "s" : [ { + "r" : "257", + "value" : [ "square", "(", "5", ")" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "FunctionRef", + "localId" : "258", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "name" : "square", + "libraryName" : "common2", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "259", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "Literal", + "localId" : "257", "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "name" : "ExprUsesExpr", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "262", - "s" : [ { - "value" : [ "","define ","ExprUsesExpr",": " ] - }, { - "r" : "264", - "s" : [ { - "r" : "263", - "s" : [ { - "value" : [ "common2" ] - } ] - }, { - "value" : [ "." ] - }, { - "r" : "264", - "s" : [ { - "value" : [ "TwoPlusOne" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "264", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "name" : "TwoPlusOne", - "libraryName" : "common2", - "type" : "ExpressionRef" - } - }, { - "localId" : "267", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "5", + "annotation" : [ ] + } ] + } + }, { + "localId" : "262", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "name" : "ExprUsesExpr", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "262", + "s" : [ { + "value" : [ "", "define ", "ExprUsesExpr", ": " ] + }, { + "r" : "264", + "s" : [ { + "r" : "263", + "s" : [ { + "value" : [ "common2" ] + } ] + }, { + "value" : [ "." ] + }, { + "r" : "264", + "s" : [ { + "value" : [ "TwoPlusOne" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "ExpressionRef", + "localId" : "264", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "name" : "TwoPlusOne", + "libraryName" : "common2", + "annotation" : [ ] + } + }, { + "localId" : "267", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "name" : "FuncUsesExpr", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "267", + "s" : [ { + "value" : [ "", "define ", "FuncUsesExpr", ": " ] + }, { + "r" : "270", + "s" : [ { + "r" : "268", + "s" : [ { + "value" : [ "common2" ] + } ] + }, { + "value" : [ "." ] + }, { + "r" : "270", + "s" : [ { + "r" : "269", + "value" : [ "addTwo", "(", "5", ")" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "FunctionRef", + "localId" : "270", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "name" : "addTwo", + "libraryName" : "common2", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "271", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "Literal", + "localId" : "269", "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "name" : "FuncUsesExpr", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "267", - "s" : [ { - "value" : [ "","define ","FuncUsesExpr",": " ] - }, { - "r" : "270", - "s" : [ { - "r" : "268", - "s" : [ { - "value" : [ "common2" ] - } ] - }, { - "value" : [ "." ] - }, { - "r" : "270", - "s" : [ { - "r" : "269", - "value" : [ "addTwo","(","5",")" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "270", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "name" : "addTwo", - "libraryName" : "common2", - "type" : "FunctionRef", - "signature" : [ { - "localId" : "271", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "5", + "annotation" : [ ] + } ] + } + }, { + "localId" : "274", + "name" : "ExprSortsOnFunc", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "274", + "s" : [ { + "value" : [ "", "define ", "ExprSortsOnFunc", ": " ] + }, { + "r" : "276", + "s" : [ { + "r" : "275", + "s" : [ { + "value" : [ "common2" ] + } ] + }, { + "value" : [ "." ] + }, { + "r" : "276", + "s" : [ { + "value" : [ "SortUsingFunction" ] + } ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "285", + "annotation" : [ ], + "elementType" : { + "type" : "TupleTypeSpecifier", + "localId" : "286", + "annotation" : [ ], + "element" : [ { + "localId" : "287", + "name" : "N", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "288", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } ] + } + }, + "expression" : { + "type" : "ExpressionRef", + "localId" : "276", + "name" : "SortUsingFunction", + "libraryName" : "common2", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "281", + "annotation" : [ ], + "elementType" : { + "type" : "TupleTypeSpecifier", + "localId" : "282", + "annotation" : [ ], + "element" : [ { + "localId" : "283", + "name" : "N", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "284", "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "269", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal" - } ] + "annotation" : [ ] + } + } ] } - }, { - "localId" : "274", - "name" : "ExprSortsOnFunc", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "274", - "s" : [ { - "value" : [ "","define ","ExprSortsOnFunc",": " ] - }, { - "r" : "276", - "s" : [ { - "r" : "275", - "s" : [ { - "value" : [ "common2" ] - } ] - }, { - "value" : [ "." ] - }, { - "r" : "276", - "s" : [ { - "value" : [ "SortUsingFunction" ] - } ] - } ] - } ] - } - } ], - "resultTypeSpecifier" : { - "localId" : "285", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "286", - "type" : "TupleTypeSpecifier", - "element" : [ { - "localId" : "287", - "name" : "N", - "elementType" : { - "localId" : "288", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } ] - } - }, - "expression" : { - "localId" : "276", - "name" : "SortUsingFunction", - "libraryName" : "common2", - "type" : "ExpressionRef", - "resultTypeSpecifier" : { - "localId" : "281", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "282", - "type" : "TupleTypeSpecifier", - "element" : [ { - "localId" : "283", - "name" : "N", - "elementType" : { - "localId" : "284", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } ] - } - } - } - } ] - } - } + } + } + } ] + } + } } /* Using CommonLib and CommonLib2 @@ -3643,231 +4022,252 @@ define testCommon2Lib: common2.SortUsingFunction */ module.exports['Using CommonLib and CommonLib2'] = { - "library" : { - "localId" : "0", - "annotation" : [ { - "translatorVersion" : "3.27.0", - "translatorOptions" : "EnableDateRangeOptimization,EnableAnnotations,EnableResultTypes", - "signatureLevel" : "All", - "type" : "CqlToElmInfo" + "library" : { + "localId" : "0", + "annotation" : [ { + "type" : "CqlToElmInfo", + "translatorVersion" : "4.2.0", + "translatorOptions" : "EnableDateRangeOptimization,EnableAnnotations,EnableResultTypes", + "signatureLevel" : "All" + }, { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "223", + "s" : [ { + "value" : [ "", "library UsingTwoLibs version '0.0.1'" ] + } ] + } + } ], + "identifier" : { + "id" : "UsingTwoLibs", + "version" : "0.0.1" + }, + "schemaIdentifier" : { + "id" : "urn:hl7-org:elm", + "version" : "r1" + }, + "usings" : { + "def" : [ { + "localId" : "1", + "localIdentifier" : "System", + "uri" : "urn:hl7-org:elm-types:r1", + "annotation" : [ ] + }, { + "localId" : "206", + "localIdentifier" : "Simple", + "uri" : "https://github.com/cqframework/cql-execution/simple", + "version" : "1.0.0", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "206", + "s" : [ { + "value" : [ "", "using " ] + }, { + "s" : [ { + "value" : [ "Simple" ] + } ] + }, { + "value" : [ " version '1.0.0'" ] + } ] + } + } ] + } ] + }, + "includes" : { + "def" : [ { + "localId" : "208", + "localIdentifier" : "common2", + "path" : "Common2", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "208", + "s" : [ { + "value" : [ "", "include " ] + }, { + "s" : [ { + "value" : [ "Common2" ] + } ] + }, { + "value" : [ " called ", "common2" ] + } ] + } + } ] + }, { + "localId" : "210", + "localIdentifier" : "common", + "path" : "Common", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "210", + "s" : [ { + "value" : [ "", "include " ] + }, { + "s" : [ { + "value" : [ "Common" ] + } ] + }, { + "value" : [ " called ", "common" ] + } ] + } + } ] + } ] + }, + "contexts" : { + "def" : [ { + "localId" : "215", + "name" : "Patient", + "annotation" : [ ] + } ] + }, + "statements" : { + "def" : [ { + "localId" : "213", + "name" : "Patient", + "context" : "Patient", + "annotation" : [ ], + "expression" : { + "type" : "SingletonFrom", + "localId" : "214", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Retrieve", + "localId" : "212", + "dataType" : "{https://github.com/cqframework/cql-execution/simple}Patient", + "annotation" : [ ], + "include" : [ ], + "codeFilter" : [ ], + "dateFilter" : [ ], + "otherFilter" : [ ] + } + } + }, { + "localId" : "218", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "name" : "testCommonLib", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "218", + "s" : [ { + "value" : [ "", "define ", "testCommonLib", ": " ] + }, { + "r" : "220", + "s" : [ { + "r" : "219", + "s" : [ { + "value" : [ "common" ] + } ] + }, { + "value" : [ "." ] + }, { + "r" : "220", + "s" : [ { + "value" : [ "SupportLibDef" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "ExpressionRef", + "localId" : "220", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "name" : "SupportLibDef", + "libraryName" : "common", + "annotation" : [ ] + } }, { - "type" : "Annotation", - "s" : { + "localId" : "223", + "name" : "testCommon2Lib", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { "r" : "223", "s" : [ { - "value" : [ "","library UsingTwoLibs version '0.0.1'" ] - } ] - } - } ], - "identifier" : { - "id" : "UsingTwoLibs", - "version" : "0.0.1" - }, - "schemaIdentifier" : { - "id" : "urn:hl7-org:elm", - "version" : "r1" - }, - "usings" : { - "def" : [ { - "localId" : "1", - "localIdentifier" : "System", - "uri" : "urn:hl7-org:elm-types:r1" - }, { - "localId" : "206", - "localIdentifier" : "Simple", - "uri" : "https://github.com/cqframework/cql-execution/simple", - "version" : "1.0.0", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "206", - "s" : [ { - "value" : [ "","using " ] - }, { - "s" : [ { - "value" : [ "Simple" ] - } ] - }, { - "value" : [ " version '1.0.0'" ] - } ] - } - } ] - } ] - }, - "includes" : { - "def" : [ { - "localId" : "208", - "localIdentifier" : "common2", - "path" : "Common2", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "208", - "s" : [ { - "value" : [ "","include " ] - }, { - "s" : [ { - "value" : [ "Common2" ] - } ] - }, { - "value" : [ " called ","common2" ] - } ] - } + "value" : [ "", "define ", "testCommon2Lib", ": " ] + }, { + "r" : "225", + "s" : [ { + "r" : "224", + "s" : [ { + "value" : [ "common2" ] + } ] + }, { + "value" : [ "." ] + }, { + "r" : "225", + "s" : [ { + "value" : [ "SortUsingFunction" ] + } ] + } ] } ] - }, { - "localId" : "210", - "localIdentifier" : "common", - "path" : "Common", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "210", - "s" : [ { - "value" : [ "","include " ] - }, { - "s" : [ { - "value" : [ "Common" ] - } ] - }, { - "value" : [ " called ","common" ] - } ] - } - } ] - } ] - }, - "contexts" : { - "def" : [ { - "localId" : "215", - "name" : "Patient" - } ] - }, - "statements" : { - "def" : [ { - "localId" : "213", - "name" : "Patient", - "context" : "Patient", - "expression" : { - "localId" : "214", - "type" : "SingletonFrom", - "signature" : [ ], - "operand" : { - "localId" : "212", - "dataType" : "{https://github.com/cqframework/cql-execution/simple}Patient", - "type" : "Retrieve", - "include" : [ ], - "codeFilter" : [ ], - "dateFilter" : [ ], - "otherFilter" : [ ] - } - } - }, { - "localId" : "218", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "name" : "testCommonLib", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "218", - "s" : [ { - "value" : [ "","define ","testCommonLib",": " ] - }, { - "r" : "220", - "s" : [ { - "r" : "219", - "s" : [ { - "value" : [ "common" ] - } ] - }, { - "value" : [ "." ] - }, { - "r" : "220", - "s" : [ { - "value" : [ "SupportLibDef" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "220", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "name" : "SupportLibDef", - "libraryName" : "common", - "type" : "ExpressionRef" - } - }, { - "localId" : "223", - "name" : "testCommon2Lib", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "223", - "s" : [ { - "value" : [ "","define ","testCommon2Lib",": " ] - }, { - "r" : "225", - "s" : [ { - "r" : "224", - "s" : [ { - "value" : [ "common2" ] - } ] - }, { - "value" : [ "." ] - }, { - "r" : "225", - "s" : [ { - "value" : [ "SortUsingFunction" ] - } ] - } ] - } ] - } - } ], - "resultTypeSpecifier" : { - "localId" : "234", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "235", - "type" : "TupleTypeSpecifier", - "element" : [ { - "localId" : "236", - "name" : "N", - "elementType" : { - "localId" : "237", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } ] - } - }, - "expression" : { - "localId" : "225", - "name" : "SortUsingFunction", - "libraryName" : "common2", - "type" : "ExpressionRef", - "resultTypeSpecifier" : { - "localId" : "230", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "231", - "type" : "TupleTypeSpecifier", - "element" : [ { - "localId" : "232", - "name" : "N", - "elementType" : { - "localId" : "233", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } ] - } - } + } + } ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "234", + "annotation" : [ ], + "elementType" : { + "type" : "TupleTypeSpecifier", + "localId" : "235", + "annotation" : [ ], + "element" : [ { + "localId" : "236", + "name" : "N", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "237", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } ] + } + }, + "expression" : { + "type" : "ExpressionRef", + "localId" : "225", + "name" : "SortUsingFunction", + "libraryName" : "common2", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "230", + "annotation" : [ ], + "elementType" : { + "type" : "TupleTypeSpecifier", + "localId" : "231", + "annotation" : [ ], + "element" : [ { + "localId" : "232", + "name" : "N", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "233", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } ] } - } ] - } - } + } + } + } ] + } + } } diff --git a/test/elm/list/data.js b/test/elm/list/data.js index 0314a06d..58c3f0f4 100644 --- a/test/elm/list/data.js +++ b/test/elm/list/data.js @@ -20,405 +20,451 @@ define EmptyList: List{} */ module.exports['List'] = { - "library" : { - "localId" : "0", - "annotation" : [ { - "translatorVersion" : "3.27.0", - "translatorOptions" : "EnableDateRangeOptimization,EnableAnnotations,EnableResultTypes", - "signatureLevel" : "All", - "type" : "CqlToElmInfo" + "library" : { + "localId" : "0", + "annotation" : [ { + "type" : "CqlToElmInfo", + "translatorVersion" : "4.2.0", + "translatorOptions" : "EnableDateRangeOptimization,EnableAnnotations,EnableResultTypes", + "signatureLevel" : "All" + }, { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "261", + "s" : [ { + "value" : [ "", "library TestSnippet version '1'" ] + } ] + } + } ], + "identifier" : { + "id" : "TestSnippet", + "version" : "1" + }, + "schemaIdentifier" : { + "id" : "urn:hl7-org:elm", + "version" : "r1" + }, + "usings" : { + "def" : [ { + "localId" : "1", + "localIdentifier" : "System", + "uri" : "urn:hl7-org:elm-types:r1", + "annotation" : [ ] }, { - "type" : "Annotation", - "s" : { - "r" : "261", + "localId" : "206", + "localIdentifier" : "Simple", + "uri" : "https://github.com/cqframework/cql-execution/simple", + "version" : "1.0.0", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "206", + "s" : [ { + "value" : [ "", "using " ] + }, { + "s" : [ { + "value" : [ "Simple" ] + } ] + }, { + "value" : [ " version '1.0.0'" ] + } ] + } + } ] + } ] + }, + "contexts" : { + "def" : [ { + "localId" : "211", + "name" : "Patient", + "annotation" : [ ] + } ] + }, + "statements" : { + "def" : [ { + "localId" : "209", + "name" : "Patient", + "context" : "Patient", + "annotation" : [ ], + "expression" : { + "type" : "SingletonFrom", + "localId" : "210", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Retrieve", + "localId" : "208", + "dataType" : "{https://github.com/cqframework/cql-execution/simple}Patient", + "annotation" : [ ], + "include" : [ ], + "codeFilter" : [ ], + "dateFilter" : [ ], + "otherFilter" : [ ] + } + } + }, { + "localId" : "214", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "name" : "Three", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "214", "s" : [ { - "value" : [ "","library TestSnippet version '1'" ] - } ] - } - } ], - "identifier" : { - "id" : "TestSnippet", - "version" : "1" - }, - "schemaIdentifier" : { - "id" : "urn:hl7-org:elm", - "version" : "r1" - }, - "usings" : { - "def" : [ { - "localId" : "1", - "localIdentifier" : "System", - "uri" : "urn:hl7-org:elm-types:r1" - }, { - "localId" : "206", - "localIdentifier" : "Simple", - "uri" : "https://github.com/cqframework/cql-execution/simple", - "version" : "1.0.0", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "206", - "s" : [ { - "value" : [ "","using " ] - }, { - "s" : [ { - "value" : [ "Simple" ] - } ] - }, { - "value" : [ " version '1.0.0'" ] - } ] - } - } ] - } ] - }, - "contexts" : { - "def" : [ { - "localId" : "211", - "name" : "Patient" - } ] - }, - "statements" : { - "def" : [ { - "localId" : "209", - "name" : "Patient", - "context" : "Patient", - "expression" : { - "localId" : "210", - "type" : "SingletonFrom", - "signature" : [ ], - "operand" : { - "localId" : "208", - "dataType" : "{https://github.com/cqframework/cql-execution/simple}Patient", - "type" : "Retrieve", - "include" : [ ], - "codeFilter" : [ ], - "dateFilter" : [ ], - "otherFilter" : [ ] - } - } - }, { - "localId" : "214", + "value" : [ "", "define ", "Three", ": " ] + }, { + "r" : "215", + "s" : [ { + "r" : "216", + "value" : [ "1", " + ", "2" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Add", + "localId" : "215", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "218", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "219", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "Literal", + "localId" : "216", "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "name" : "Three", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "214", - "s" : [ { - "value" : [ "","define ","Three",": " ] - }, { - "r" : "215", - "s" : [ { - "r" : "216", - "value" : [ "1"," + ","2" ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "215", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "Add", - "signature" : [ { - "localId" : "218", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "219", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "216", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, { - "localId" : "217", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal" - } ] - } - }, { - "localId" : "222", - "name" : "IntList", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "222", - "s" : [ { - "value" : [ "","define ","IntList",": " ] - }, { - "r" : "223", - "s" : [ { - "r" : "224", - "value" : [ "{ ","9",", ","7",", ","8"," }" ] - } ] - } ] - } - } ], - "resultTypeSpecifier" : { - "localId" : "229", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "230", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "expression" : { - "localId" : "223", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "227", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "228", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "element" : [ { - "localId" : "224", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "9", - "type" : "Literal" - }, { - "localId" : "225", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "7", - "type" : "Literal" - }, { - "localId" : "226", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "8", - "type" : "Literal" - } ] + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "217", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "annotation" : [ ] + } ] + } + }, { + "localId" : "222", + "name" : "IntList", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "222", + "s" : [ { + "value" : [ "", "define ", "IntList", ": " ] + }, { + "r" : "223", + "s" : [ { + "r" : "224", + "value" : [ "{ ", "9", ", ", "7", ", ", "8", " }" ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "229", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "230", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "expression" : { + "type" : "List", + "localId" : "223", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "227", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "228", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] } - }, { - "localId" : "233", - "name" : "StringList", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "233", - "s" : [ { - "value" : [ "","define ","StringList",": " ] - }, { - "r" : "234", - "s" : [ { - "value" : [ "{ " ] - }, { - "r" : "235", - "s" : [ { - "value" : [ "'a'" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "237", - "s" : [ { - "value" : [ "'bee'" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "239", - "s" : [ { - "value" : [ "'see'" ] - } ] - }, { - "value" : [ " }" ] - } ] - } ] - } - } ], - "resultTypeSpecifier" : { - "localId" : "243", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "244", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } - }, - "expression" : { - "localId" : "234", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "241", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "242", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } - }, - "element" : [ { - "localId" : "235", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "a", - "type" : "Literal" - }, { - "localId" : "237", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "bee", - "type" : "Literal" - }, { - "localId" : "239", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "see", - "type" : "Literal" - } ] + }, + "element" : [ { + "type" : "Literal", + "localId" : "224", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "9", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "225", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "7", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "226", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "8", + "annotation" : [ ] + } ] + } + }, { + "localId" : "233", + "name" : "StringList", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "233", + "s" : [ { + "value" : [ "", "define ", "StringList", ": " ] + }, { + "r" : "234", + "s" : [ { + "value" : [ "{ " ] + }, { + "r" : "235", + "s" : [ { + "value" : [ "'a'" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "237", + "s" : [ { + "value" : [ "'bee'" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "239", + "s" : [ { + "value" : [ "'see'" ] + } ] + }, { + "value" : [ " }" ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "243", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "244", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } + }, + "expression" : { + "type" : "List", + "localId" : "234", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "241", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "242", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] } - }, { - "localId" : "247", - "name" : "MixedList", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "247", - "s" : [ { - "value" : [ "","define ","MixedList",": " ] - }, { - "r" : "249", - "s" : [ { - "value" : [ "List<" ] - }, { - "r" : "248", - "s" : [ { - "value" : [ "Any" ] - } ] - }, { - "r" : "251", - "value" : [ ">{ ","1",", " ] - }, { - "r" : "252", - "s" : [ { - "value" : [ "'two'" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "254", - "s" : [ { - "value" : [ "Three" ] - } ] - }, { - "value" : [ " }" ] - } ] - } ] - } - } ], - "resultTypeSpecifier" : { - "localId" : "257", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "258", - "name" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "NamedTypeSpecifier" - } - }, - "expression" : { - "localId" : "249", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "255", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "256", - "name" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "NamedTypeSpecifier" - } - }, - "element" : [ { - "localId" : "251", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, { - "localId" : "252", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "two", - "type" : "Literal" - }, { - "localId" : "254", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "name" : "Three", - "type" : "ExpressionRef" - } ] + }, + "element" : [ { + "type" : "Literal", + "localId" : "235", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "a", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "237", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "bee", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "239", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "see", + "annotation" : [ ] + } ] + } + }, { + "localId" : "247", + "name" : "MixedList", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "247", + "s" : [ { + "value" : [ "", "define ", "MixedList", ": " ] + }, { + "r" : "249", + "s" : [ { + "value" : [ "List<" ] + }, { + "r" : "248", + "s" : [ { + "value" : [ "Any" ] + } ] + }, { + "r" : "251", + "value" : [ ">{ ", "1", ", " ] + }, { + "r" : "252", + "s" : [ { + "value" : [ "'two'" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "254", + "s" : [ { + "value" : [ "Three" ] + } ] + }, { + "value" : [ " }" ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "257", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "258", + "name" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } + }, + "expression" : { + "type" : "List", + "localId" : "249", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "255", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "256", + "name" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] } - }, { - "localId" : "261", - "name" : "EmptyList", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "261", - "s" : [ { - "value" : [ "","define ","EmptyList",": " ] - }, { - "r" : "263", - "s" : [ { - "value" : [ "List<" ] - }, { - "r" : "262", - "s" : [ { - "value" : [ "Integer" ] - } ] - }, { - "value" : [ ">{}" ] - } ] - } ] - } - } ], - "resultTypeSpecifier" : { - "localId" : "267", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "268", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "expression" : { - "localId" : "263", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "265", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "266", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "element" : [ ] + }, + "element" : [ { + "type" : "Literal", + "localId" : "251", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "252", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "two", + "annotation" : [ ] + }, { + "type" : "ExpressionRef", + "localId" : "254", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "name" : "Three", + "annotation" : [ ] + } ] + } + }, { + "localId" : "261", + "name" : "EmptyList", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "261", + "s" : [ { + "value" : [ "", "define ", "EmptyList", ": " ] + }, { + "r" : "263", + "s" : [ { + "value" : [ "List<" ] + }, { + "r" : "262", + "s" : [ { + "value" : [ "Integer" ] + } ] + }, { + "value" : [ ">{}" ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "267", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "268", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "expression" : { + "type" : "List", + "localId" : "263", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "265", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "266", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] } - } ] - } - } + }, + "element" : [ ] + } + } ] + } + } } /* Exists @@ -435,590 +481,661 @@ define NullExists: exists (null) */ module.exports['Exists'] = { - "library" : { - "localId" : "0", - "annotation" : [ { - "translatorVersion" : "3.27.0", - "translatorOptions" : "EnableDateRangeOptimization,EnableAnnotations,EnableResultTypes", - "signatureLevel" : "All", - "type" : "CqlToElmInfo" + "library" : { + "localId" : "0", + "annotation" : [ { + "type" : "CqlToElmInfo", + "translatorVersion" : "4.2.0", + "translatorOptions" : "EnableDateRangeOptimization,EnableAnnotations,EnableResultTypes", + "signatureLevel" : "All" + }, { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "296", + "s" : [ { + "value" : [ "", "library TestSnippet version '1'" ] + } ] + } + } ], + "identifier" : { + "id" : "TestSnippet", + "version" : "1" + }, + "schemaIdentifier" : { + "id" : "urn:hl7-org:elm", + "version" : "r1" + }, + "usings" : { + "def" : [ { + "localId" : "1", + "localIdentifier" : "System", + "uri" : "urn:hl7-org:elm-types:r1", + "annotation" : [ ] }, { - "type" : "Annotation", - "s" : { - "r" : "296", + "localId" : "206", + "localIdentifier" : "Simple", + "uri" : "https://github.com/cqframework/cql-execution/simple", + "version" : "1.0.0", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "206", "s" : [ { - "value" : [ "","library TestSnippet version '1'" ] - } ] - } - } ], - "identifier" : { - "id" : "TestSnippet", - "version" : "1" - }, - "schemaIdentifier" : { - "id" : "urn:hl7-org:elm", - "version" : "r1" - }, - "usings" : { - "def" : [ { - "localId" : "1", - "localIdentifier" : "System", - "uri" : "urn:hl7-org:elm-types:r1" - }, { - "localId" : "206", - "localIdentifier" : "Simple", - "uri" : "https://github.com/cqframework/cql-execution/simple", - "version" : "1.0.0", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "206", - "s" : [ { - "value" : [ "","using " ] - }, { - "s" : [ { - "value" : [ "Simple" ] - } ] - }, { - "value" : [ " version '1.0.0'" ] - } ] - } - } ] - } ] - }, - "contexts" : { - "def" : [ { - "localId" : "211", - "name" : "Patient" - } ] - }, - "statements" : { - "def" : [ { - "localId" : "209", - "name" : "Patient", - "context" : "Patient", - "expression" : { - "localId" : "210", - "type" : "SingletonFrom", - "signature" : [ ], - "operand" : { - "localId" : "208", - "dataType" : "{https://github.com/cqframework/cql-execution/simple}Patient", - "type" : "Retrieve", - "include" : [ ], - "codeFilter" : [ ], - "dateFilter" : [ ], - "otherFilter" : [ ] - } - } - }, { - "localId" : "214", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "EmptyList", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "214", - "s" : [ { - "value" : [ "","define ","EmptyList",": " ] - }, { - "r" : "215", - "s" : [ { - "value" : [ "exists " ] - }, { - "r" : "217", - "s" : [ { - "value" : [ "(" ] - }, { - "r" : "217", - "s" : [ { - "value" : [ "List<" ] - }, { - "r" : "216", - "s" : [ { - "value" : [ "Integer" ] - } ] - }, { - "value" : [ ">{}" ] - } ] - }, { - "value" : [ ")" ] - } ] - } ] + "value" : [ "", "using " ] + }, { + "s" : [ { + "value" : [ "Simple" ] + } ] + }, { + "value" : [ " version '1.0.0'" ] + } ] + } + } ] + } ] + }, + "contexts" : { + "def" : [ { + "localId" : "211", + "name" : "Patient", + "annotation" : [ ] + } ] + }, + "statements" : { + "def" : [ { + "localId" : "209", + "name" : "Patient", + "context" : "Patient", + "annotation" : [ ], + "expression" : { + "type" : "SingletonFrom", + "localId" : "210", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Retrieve", + "localId" : "208", + "dataType" : "{https://github.com/cqframework/cql-execution/simple}Patient", + "annotation" : [ ], + "include" : [ ], + "codeFilter" : [ ], + "dateFilter" : [ ], + "otherFilter" : [ ] + } + } + }, { + "localId" : "214", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "EmptyList", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "214", + "s" : [ { + "value" : [ "", "define ", "EmptyList", ": " ] + }, { + "r" : "215", + "s" : [ { + "value" : [ "exists " ] + }, { + "r" : "217", + "s" : [ { + "value" : [ "(" ] + }, { + "r" : "217", + "s" : [ { + "value" : [ "List<" ] + }, { + "r" : "216", + "s" : [ { + "value" : [ "Integer" ] + } ] + }, { + "value" : [ ">{}" ] } ] - } - } ], - "expression" : { - "localId" : "215", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "Exists", - "signature" : [ { - "localId" : "223", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "224", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : { - "localId" : "217", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "221", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "222", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "element" : [ ] - } + }, { + "value" : [ ")" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Exists", + "localId" : "215", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "ListTypeSpecifier", + "localId" : "223", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "224", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] } - }, { - "localId" : "227", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "FullList", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "227", - "s" : [ { - "value" : [ "","define ","FullList",": " ] - }, { - "r" : "228", - "s" : [ { - "value" : [ "exists " ] - }, { - "r" : "229", - "s" : [ { - "value" : [ "(" ] - }, { - "r" : "229", - "s" : [ { - "r" : "230", - "value" : [ "{ ","1",", ","2",", ","3"," }" ] - } ] - }, { - "value" : [ ")" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "228", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "Exists", - "signature" : [ { - "localId" : "237", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "238", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : { - "localId" : "229", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "235", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "236", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "element" : [ { - "localId" : "230", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, { - "localId" : "231", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal" - }, { - "localId" : "232", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - } ] - } - } - }, { - "localId" : "241", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "ListWithOneNull", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "241", + } ], + "operand" : { + "type" : "List", + "localId" : "217", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "221", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "222", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "element" : [ ] + } + } + }, { + "localId" : "227", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "FullList", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "227", + "s" : [ { + "value" : [ "", "define ", "FullList", ": " ] + }, { + "r" : "228", + "s" : [ { + "value" : [ "exists " ] + }, { + "r" : "229", + "s" : [ { + "value" : [ "(" ] + }, { + "r" : "229", "s" : [ { - "value" : [ "","define ","ListWithOneNull",": " ] - }, { - "r" : "242", - "s" : [ { - "value" : [ "exists " ] - }, { - "r" : "243", - "s" : [ { - "value" : [ "(" ] - }, { - "r" : "243", - "s" : [ { - "r" : "244", - "value" : [ "{ ","null"," }" ] - } ] - }, { - "value" : [ ")" ] - } ] - } ] + "r" : "230", + "value" : [ "{ ", "1", ", ", "2", ", ", "3", " }" ] } ] - } - } ], - "expression" : { - "localId" : "242", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "Exists", - "signature" : [ { - "localId" : "249", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "250", - "name" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : { - "localId" : "243", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "247", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "248", - "name" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "NamedTypeSpecifier" - } - }, - "element" : [ { - "localId" : "244", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" + }, { + "value" : [ ")" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Exists", + "localId" : "228", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "ListTypeSpecifier", + "localId" : "237", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "238", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } ], + "operand" : { + "type" : "List", + "localId" : "229", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "235", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "236", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "element" : [ { + "type" : "Literal", + "localId" : "230", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "231", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "232", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + } ] + } + } + }, { + "localId" : "241", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "ListWithOneNull", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "241", + "s" : [ { + "value" : [ "", "define ", "ListWithOneNull", ": " ] + }, { + "r" : "242", + "s" : [ { + "value" : [ "exists " ] + }, { + "r" : "243", + "s" : [ { + "value" : [ "(" ] + }, { + "r" : "243", + "s" : [ { + "r" : "244", + "value" : [ "{ ", "null", " }" ] } ] - } + }, { + "value" : [ ")" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Exists", + "localId" : "242", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "ListTypeSpecifier", + "localId" : "249", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "250", + "name" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] } - }, { - "localId" : "253", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "ListWithTwoNulls", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "253", + } ], + "operand" : { + "type" : "List", + "localId" : "243", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "247", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "248", + "name" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } + }, + "element" : [ { + "type" : "Null", + "localId" : "244", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } ] + } + } + }, { + "localId" : "253", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "ListWithTwoNulls", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "253", + "s" : [ { + "value" : [ "", "define ", "ListWithTwoNulls", ": " ] + }, { + "r" : "254", + "s" : [ { + "value" : [ "exists " ] + }, { + "r" : "255", + "s" : [ { + "value" : [ "(" ] + }, { + "r" : "255", "s" : [ { - "value" : [ "","define ","ListWithTwoNulls",": " ] - }, { - "r" : "254", - "s" : [ { - "value" : [ "exists " ] - }, { - "r" : "255", - "s" : [ { - "value" : [ "(" ] - }, { - "r" : "255", - "s" : [ { - "r" : "256", - "value" : [ "{ ","null",", ","null"," }" ] - } ] - }, { - "value" : [ ")" ] - } ] - } ] + "r" : "256", + "value" : [ "{ ", "null", ", ", "null", " }" ] } ] - } - } ], - "expression" : { - "localId" : "254", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "Exists", - "signature" : [ { - "localId" : "262", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "263", - "name" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : { - "localId" : "255", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "260", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "261", - "name" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "NamedTypeSpecifier" - } - }, - "element" : [ { - "localId" : "256", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - }, { - "localId" : "257", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" + }, { + "value" : [ ")" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Exists", + "localId" : "254", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "ListTypeSpecifier", + "localId" : "262", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "263", + "name" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } + } ], + "operand" : { + "type" : "List", + "localId" : "255", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "260", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "261", + "name" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } + }, + "element" : [ { + "type" : "Null", + "localId" : "256", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + }, { + "type" : "Null", + "localId" : "257", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } ] + } + } + }, { + "localId" : "266", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "ListStartingWithNull", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "266", + "s" : [ { + "value" : [ "", "define ", "ListStartingWithNull", ": " ] + }, { + "r" : "267", + "s" : [ { + "value" : [ "exists " ] + }, { + "r" : "268", + "s" : [ { + "value" : [ "(" ] + }, { + "r" : "268", + "s" : [ { + "r" : "269", + "value" : [ "{ ", "null", ", ", "3", ", ", "4", " }" ] } ] - } + }, { + "value" : [ ")" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Exists", + "localId" : "267", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "ListTypeSpecifier", + "localId" : "277", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "278", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] } - }, { - "localId" : "266", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "ListStartingWithNull", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "266", + } ], + "operand" : { + "type" : "List", + "localId" : "268", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "275", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "276", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "element" : [ { + "type" : "As", + "localId" : "272", + "asType" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Null", + "localId" : "269", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } + }, { + "type" : "Literal", + "localId" : "270", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "271", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "4", + "annotation" : [ ] + } ] + } + } + }, { + "localId" : "281", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "ListWithNull", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "281", + "s" : [ { + "value" : [ "", "define ", "ListWithNull", ": " ] + }, { + "r" : "282", + "s" : [ { + "value" : [ "exists " ] + }, { + "r" : "283", + "s" : [ { + "value" : [ "(" ] + }, { + "r" : "283", "s" : [ { - "value" : [ "","define ","ListStartingWithNull",": " ] - }, { - "r" : "267", - "s" : [ { - "value" : [ "exists " ] - }, { - "r" : "268", - "s" : [ { - "value" : [ "(" ] - }, { - "r" : "268", - "s" : [ { - "r" : "269", - "value" : [ "{ ","null",", ","3",", ","4"," }" ] - } ] - }, { - "value" : [ ")" ] - } ] - } ] + "r" : "284", + "value" : [ "{ ", "3", ", ", "null", ", ", "5", " }" ] } ] - } - } ], - "expression" : { - "localId" : "267", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "Exists", - "signature" : [ { - "localId" : "277", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "278", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : { - "localId" : "268", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "275", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "276", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "element" : [ { - "localId" : "272", - "asType" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "As", - "signature" : [ ], - "operand" : { - "localId" : "269", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - } - }, { - "localId" : "270", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, { - "localId" : "271", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "4", - "type" : "Literal" - } ] - } - } - }, { - "localId" : "281", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "ListWithNull", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "281", - "s" : [ { - "value" : [ "","define ","ListWithNull",": " ] - }, { - "r" : "282", - "s" : [ { - "value" : [ "exists " ] - }, { - "r" : "283", - "s" : [ { - "value" : [ "(" ] - }, { - "r" : "283", - "s" : [ { - "r" : "284", - "value" : [ "{ ","3",", ","null",", ","5"," }" ] - } ] - }, { - "value" : [ ")" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "282", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "Exists", - "signature" : [ { - "localId" : "292", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "293", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : { - "localId" : "283", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "290", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "291", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "element" : [ { - "localId" : "284", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, { - "localId" : "287", - "asType" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "As", - "signature" : [ ], - "operand" : { - "localId" : "285", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - } - }, { - "localId" : "286", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal" - } ] - } - } - }, { - "localId" : "296", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "NullExists", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "296", - "s" : [ { - "value" : [ "","define ","NullExists",": " ] - }, { - "r" : "297", - "s" : [ { - "value" : [ "exists " ] - }, { - "r" : "298", - "s" : [ { - "r" : "298", - "value" : [ "(","null",")" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "297", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "Exists", - "signature" : [ { - "localId" : "302", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "303", - "name" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : { - "localId" : "299", - "type" : "As", - "signature" : [ ], - "operand" : { - "localId" : "298", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - }, - "asTypeSpecifier" : { - "localId" : "300", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "301", - "name" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "NamedTypeSpecifier" - } - } - } + }, { + "value" : [ ")" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Exists", + "localId" : "282", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "ListTypeSpecifier", + "localId" : "292", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "293", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] } - } ] - } - } + } ], + "operand" : { + "type" : "List", + "localId" : "283", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "290", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "291", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "element" : [ { + "type" : "Literal", + "localId" : "284", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, { + "type" : "As", + "localId" : "287", + "asType" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Null", + "localId" : "285", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } + }, { + "type" : "Literal", + "localId" : "286", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "5", + "annotation" : [ ] + } ] + } + } + }, { + "localId" : "296", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "NullExists", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "296", + "s" : [ { + "value" : [ "", "define ", "NullExists", ": " ] + }, { + "r" : "297", + "s" : [ { + "value" : [ "exists " ] + }, { + "r" : "298", + "s" : [ { + "r" : "298", + "value" : [ "(", "null", ")" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Exists", + "localId" : "297", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "ListTypeSpecifier", + "localId" : "302", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "303", + "name" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } + } ], + "operand" : { + "type" : "As", + "localId" : "299", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Null", + "localId" : "298", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + }, + "asTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "300", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "301", + "name" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } + } + } + } + } ] + } + } } /* Equal @@ -1038,2080 +1155,2342 @@ define BothListsHaveNull: List{(null as Integer)} = List{(null */ module.exports['Equal'] = { - "library" : { - "localId" : "0", - "annotation" : [ { - "translatorVersion" : "3.27.0", - "translatorOptions" : "EnableDateRangeOptimization,EnableAnnotations,EnableResultTypes", - "signatureLevel" : "All", - "type" : "CqlToElmInfo" + "library" : { + "localId" : "0", + "annotation" : [ { + "type" : "CqlToElmInfo", + "translatorVersion" : "4.2.0", + "translatorOptions" : "EnableDateRangeOptimization,EnableAnnotations,EnableResultTypes", + "signatureLevel" : "All" + }, { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "497", + "s" : [ { + "value" : [ "", "library TestSnippet version '1'" ] + } ] + } + } ], + "identifier" : { + "id" : "TestSnippet", + "version" : "1" + }, + "schemaIdentifier" : { + "id" : "urn:hl7-org:elm", + "version" : "r1" + }, + "usings" : { + "def" : [ { + "localId" : "1", + "localIdentifier" : "System", + "uri" : "urn:hl7-org:elm-types:r1", + "annotation" : [ ] }, { - "type" : "Annotation", - "s" : { - "r" : "497", + "localId" : "206", + "localIdentifier" : "Simple", + "uri" : "https://github.com/cqframework/cql-execution/simple", + "version" : "1.0.0", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "206", "s" : [ { - "value" : [ "","library TestSnippet version '1'" ] - } ] - } - } ], - "identifier" : { - "id" : "TestSnippet", - "version" : "1" - }, - "schemaIdentifier" : { - "id" : "urn:hl7-org:elm", - "version" : "r1" - }, - "usings" : { - "def" : [ { - "localId" : "1", - "localIdentifier" : "System", - "uri" : "urn:hl7-org:elm-types:r1" - }, { - "localId" : "206", - "localIdentifier" : "Simple", - "uri" : "https://github.com/cqframework/cql-execution/simple", - "version" : "1.0.0", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "206", - "s" : [ { - "value" : [ "","using " ] - }, { - "s" : [ { - "value" : [ "Simple" ] - } ] - }, { - "value" : [ " version '1.0.0'" ] - } ] - } - } ] - } ] - }, - "contexts" : { - "def" : [ { - "localId" : "211", - "name" : "Patient" - } ] - }, - "statements" : { - "def" : [ { - "localId" : "209", - "name" : "Patient", - "context" : "Patient", - "expression" : { - "localId" : "210", - "type" : "SingletonFrom", - "signature" : [ ], - "operand" : { - "localId" : "208", - "dataType" : "{https://github.com/cqframework/cql-execution/simple}Patient", - "type" : "Retrieve", - "include" : [ ], - "codeFilter" : [ ], - "dateFilter" : [ ], - "otherFilter" : [ ] - } - } - }, { - "localId" : "214", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "EqualIntList", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "214", - "s" : [ { - "value" : [ "","define ","EqualIntList",": " ] - }, { - "r" : "215", - "s" : [ { - "r" : "216", + "value" : [ "", "using " ] + }, { + "s" : [ { + "value" : [ "Simple" ] + } ] + }, { + "value" : [ " version '1.0.0'" ] + } ] + } + } ] + } ] + }, + "contexts" : { + "def" : [ { + "localId" : "211", + "name" : "Patient", + "annotation" : [ ] + } ] + }, + "statements" : { + "def" : [ { + "localId" : "209", + "name" : "Patient", + "context" : "Patient", + "annotation" : [ ], + "expression" : { + "type" : "SingletonFrom", + "localId" : "210", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Retrieve", + "localId" : "208", + "dataType" : "{https://github.com/cqframework/cql-execution/simple}Patient", + "annotation" : [ ], + "include" : [ ], + "codeFilter" : [ ], + "dateFilter" : [ ], + "otherFilter" : [ ] + } + } + }, { + "localId" : "214", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "EqualIntList", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "214", + "s" : [ { + "value" : [ "", "define ", "EqualIntList", ": " ] + }, { + "r" : "215", + "s" : [ { + "r" : "216", + "s" : [ { + "r" : "217", + "value" : [ "{", "1", ", ", "2", ", ", "3", "}" ] + } ] + }, { + "value" : [ " ", "=", " " ] + }, { + "r" : "222", + "s" : [ { + "r" : "223", + "value" : [ "{", "1", ", ", "2", ", ", "3", "}" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Equal", + "localId" : "215", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "ListTypeSpecifier", + "localId" : "228", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "229", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, { + "type" : "ListTypeSpecifier", + "localId" : "230", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "231", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "List", + "localId" : "216", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "220", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "221", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "element" : [ { + "type" : "Literal", + "localId" : "217", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "218", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "219", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + } ] + }, { + "type" : "List", + "localId" : "222", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "226", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "227", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "element" : [ { + "type" : "Literal", + "localId" : "223", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "224", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "225", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + } ] + } ] + } + }, { + "localId" : "234", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "UnequalIntList", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "234", + "s" : [ { + "value" : [ "", "define ", "UnequalIntList", ": " ] + }, { + "r" : "235", + "s" : [ { + "r" : "236", + "s" : [ { + "r" : "237", + "value" : [ "{", "1", ", ", "2", ", ", "3", "}" ] + } ] + }, { + "value" : [ " ", "=", " " ] + }, { + "r" : "242", + "s" : [ { + "r" : "243", + "value" : [ "{", "1", ", ", "2", "}" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Equal", + "localId" : "235", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "ListTypeSpecifier", + "localId" : "247", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "248", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, { + "type" : "ListTypeSpecifier", + "localId" : "249", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "250", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "List", + "localId" : "236", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "240", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "241", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "element" : [ { + "type" : "Literal", + "localId" : "237", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "238", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "239", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + } ] + }, { + "type" : "List", + "localId" : "242", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "245", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "246", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "element" : [ { + "type" : "Literal", + "localId" : "243", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "244", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "annotation" : [ ] + } ] + } ] + } + }, { + "localId" : "253", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "ReverseIntList", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "253", + "s" : [ { + "value" : [ "", "define ", "ReverseIntList", ": " ] + }, { + "r" : "254", + "s" : [ { + "r" : "255", + "s" : [ { + "r" : "256", + "value" : [ "{", "1", ", ", "2", ", ", "3", "}" ] + } ] + }, { + "value" : [ " ", "=", " " ] + }, { + "r" : "261", + "s" : [ { + "r" : "262", + "value" : [ "{", "3", ", ", "2", ", ", "1", "}" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Equal", + "localId" : "254", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "ListTypeSpecifier", + "localId" : "267", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "268", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, { + "type" : "ListTypeSpecifier", + "localId" : "269", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "270", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "List", + "localId" : "255", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "259", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "260", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "element" : [ { + "type" : "Literal", + "localId" : "256", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "257", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "258", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + } ] + }, { + "type" : "List", + "localId" : "261", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "265", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "266", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "element" : [ { + "type" : "Literal", + "localId" : "262", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "263", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "264", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + } ] + } ] + } + }, { + "localId" : "273", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "EqualStringList", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "273", + "s" : [ { + "value" : [ "", "define ", "EqualStringList", ": " ] + }, { + "r" : "274", + "s" : [ { + "r" : "275", + "s" : [ { + "value" : [ "{" ] + }, { + "r" : "276", + "s" : [ { + "value" : [ "'hello'" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "278", + "s" : [ { + "value" : [ "'world'" ] + } ] + }, { + "value" : [ "}" ] + } ] + }, { + "value" : [ " ", "=", " " ] + }, { + "r" : "282", + "s" : [ { + "value" : [ "{" ] + }, { + "r" : "283", + "s" : [ { + "value" : [ "'hello'" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "285", + "s" : [ { + "value" : [ "'world'" ] + } ] + }, { + "value" : [ "}" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Equal", + "localId" : "274", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "ListTypeSpecifier", + "localId" : "289", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "290", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } + }, { + "type" : "ListTypeSpecifier", + "localId" : "291", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "292", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "List", + "localId" : "275", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "280", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "281", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } + }, + "element" : [ { + "type" : "Literal", + "localId" : "276", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "hello", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "278", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "world", + "annotation" : [ ] + } ] + }, { + "type" : "List", + "localId" : "282", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "287", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "288", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } + }, + "element" : [ { + "type" : "Literal", + "localId" : "283", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "hello", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "285", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "world", + "annotation" : [ ] + } ] + } ] + } + }, { + "localId" : "295", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "UnequalStringList", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "295", + "s" : [ { + "value" : [ "", "define ", "UnequalStringList", ": " ] + }, { + "r" : "296", + "s" : [ { + "r" : "297", + "s" : [ { + "value" : [ "{" ] + }, { + "r" : "298", + "s" : [ { + "value" : [ "'hello'" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "300", + "s" : [ { + "value" : [ "'world'" ] + } ] + }, { + "value" : [ "}" ] + } ] + }, { + "value" : [ " ", "=", " " ] + }, { + "r" : "304", + "s" : [ { + "value" : [ "{" ] + }, { + "r" : "305", + "s" : [ { + "value" : [ "'foo'" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "307", + "s" : [ { + "value" : [ "'bar'" ] + } ] + }, { + "value" : [ "}" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Equal", + "localId" : "296", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "ListTypeSpecifier", + "localId" : "311", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "312", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } + }, { + "type" : "ListTypeSpecifier", + "localId" : "313", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "314", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "List", + "localId" : "297", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "302", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "303", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } + }, + "element" : [ { + "type" : "Literal", + "localId" : "298", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "hello", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "300", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "world", + "annotation" : [ ] + } ] + }, { + "type" : "List", + "localId" : "304", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "309", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "310", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } + }, + "element" : [ { + "type" : "Literal", + "localId" : "305", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "foo", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "307", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "bar", + "annotation" : [ ] + } ] + } ] + } + }, { + "localId" : "317", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "EqualTupleList", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "317", + "s" : [ { + "value" : [ "", "define ", "EqualTupleList", ": " ] + }, { + "r" : "318", + "s" : [ { + "r" : "320", + "s" : [ { + "value" : [ "List<" ] + }, { + "r" : "319", + "s" : [ { + "value" : [ "Any" ] + } ] + }, { + "value" : [ ">{ " ] + }, { + "r" : "322", + "s" : [ { + "value" : [ "Tuple{" ] + }, { + "s" : [ { + "r" : "323", + "value" : [ "a", ": ", "1" ] + } ] + }, { + "value" : [ ", " ] + }, { + "s" : [ { + "value" : [ "b", ": " ] + }, { + "r" : "324", + "s" : [ { + "value" : [ "Tuple{" ] + }, { "s" : [ { - "r" : "217", - "value" : [ "{","1",", ","2",", ","3","}" ] + "r" : "325", + "value" : [ "c", ": ", "1" ] } ] - }, { - "value" : [ " ","="," " ] - }, { - "r" : "222", + }, { + "value" : [ "}" ] + } ] + } ] + }, { + "value" : [ "}" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "336", + "s" : [ { + "value" : [ "Tuple{" ] + }, { + "s" : [ { + "value" : [ "x", ": " ] + }, { + "r" : "337", + "s" : [ { + "value" : [ "'y'" ] + } ] + } ] + }, { + "value" : [ ", " ] + }, { + "s" : [ { + "r" : "339", + "value" : [ "z", ": ", "2" ] + } ] + }, { + "value" : [ "}" ] + } ] + }, { + "value" : [ " }" ] + } ] + }, { + "value" : [ " ", "=", " " ] + }, { + "r" : "348", + "s" : [ { + "value" : [ "List<" ] + }, { + "r" : "347", + "s" : [ { + "value" : [ "Any" ] + } ] + }, { + "value" : [ ">{ " ] + }, { + "r" : "350", + "s" : [ { + "value" : [ "Tuple{" ] + }, { + "s" : [ { + "r" : "351", + "value" : [ "a", ": ", "1" ] + } ] + }, { + "value" : [ ", " ] + }, { + "s" : [ { + "value" : [ "b", ": " ] + }, { + "r" : "352", + "s" : [ { + "value" : [ "Tuple{" ] + }, { "s" : [ { - "r" : "223", - "value" : [ "{","1",", ","2",", ","3","}" ] + "r" : "353", + "value" : [ "c", ": ", "1" ] } ] - } ] + }, { + "value" : [ "}" ] + } ] + } ] + }, { + "value" : [ "}" ] } ] - } - } ], - "expression" : { - "localId" : "215", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "Equal", - "signature" : [ { - "localId" : "228", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "229", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "230", - "type" : "ListTypeSpecifier", + }, { + "value" : [ ", " ] + }, { + "r" : "364", + "s" : [ { + "value" : [ "Tuple{" ] + }, { + "s" : [ { + "value" : [ "x", ": " ] + }, { + "r" : "365", + "s" : [ { + "value" : [ "'y'" ] + } ] + } ] + }, { + "value" : [ ", " ] + }, { + "s" : [ { + "r" : "367", + "value" : [ "z", ": ", "2" ] + } ] + }, { + "value" : [ "}" ] + } ] + }, { + "value" : [ " }" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Equal", + "localId" : "318", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "ListTypeSpecifier", + "localId" : "375", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "376", + "name" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } + }, { + "type" : "ListTypeSpecifier", + "localId" : "377", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "378", + "name" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "List", + "localId" : "320", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "345", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "346", + "name" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } + }, + "element" : [ { + "type" : "Tuple", + "localId" : "322", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "TupleTypeSpecifier", + "localId" : "329", + "annotation" : [ ], + "element" : [ { + "localId" : "330", + "name" : "a", + "annotation" : [ ], "elementType" : { - "localId" : "231", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" + "type" : "NamedTypeSpecifier", + "localId" : "331", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] } - } ], - "operand" : [ { - "localId" : "216", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "220", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "221", + }, { + "localId" : "332", + "name" : "b", + "annotation" : [ ], + "elementType" : { + "type" : "TupleTypeSpecifier", + "localId" : "333", + "annotation" : [ ], + "element" : [ { + "localId" : "334", + "name" : "c", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "335", "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "element" : [ { - "localId" : "217", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, { - "localId" : "218", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal" - }, { - "localId" : "219", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - } ] - }, { - "localId" : "222", - "type" : "List", + "annotation" : [ ] + } + } ] + } + } ] + }, + "element" : [ { + "name" : "a", + "value" : { + "type" : "Literal", + "localId" : "323", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + } + }, { + "name" : "b", + "value" : { + "type" : "Tuple", + "localId" : "324", + "annotation" : [ ], "resultTypeSpecifier" : { - "localId" : "226", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "227", + "type" : "TupleTypeSpecifier", + "localId" : "326", + "annotation" : [ ], + "element" : [ { + "localId" : "327", + "name" : "c", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "328", "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } + "annotation" : [ ] + } + } ] }, "element" : [ { - "localId" : "223", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, { - "localId" : "224", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal" - }, { - "localId" : "225", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - } ] - } ] - } - }, { - "localId" : "234", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "UnequalIntList", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "234", - "s" : [ { - "value" : [ "","define ","UnequalIntList",": " ] - }, { - "r" : "235", - "s" : [ { - "r" : "236", - "s" : [ { - "r" : "237", - "value" : [ "{","1",", ","2",", ","3","}" ] - } ] - }, { - "value" : [ " ","="," " ] - }, { - "r" : "242", - "s" : [ { - "r" : "243", - "value" : [ "{","1",", ","2","}" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "235", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "Equal", - "signature" : [ { - "localId" : "247", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "248", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "249", - "type" : "ListTypeSpecifier", + "name" : "c", + "value" : { + "type" : "Literal", + "localId" : "325", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + } + } ] + } + } ] + }, { + "type" : "Tuple", + "localId" : "336", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "TupleTypeSpecifier", + "localId" : "340", + "annotation" : [ ], + "element" : [ { + "localId" : "341", + "name" : "x", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "342", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } + }, { + "localId" : "343", + "name" : "z", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "344", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } ] + }, + "element" : [ { + "name" : "x", + "value" : { + "type" : "Literal", + "localId" : "337", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "y", + "annotation" : [ ] + } + }, { + "name" : "z", + "value" : { + "type" : "Literal", + "localId" : "339", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "annotation" : [ ] + } + } ] + } ] + }, { + "type" : "List", + "localId" : "348", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "373", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "374", + "name" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } + }, + "element" : [ { + "type" : "Tuple", + "localId" : "350", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "TupleTypeSpecifier", + "localId" : "357", + "annotation" : [ ], + "element" : [ { + "localId" : "358", + "name" : "a", + "annotation" : [ ], "elementType" : { - "localId" : "250", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" + "type" : "NamedTypeSpecifier", + "localId" : "359", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] } - } ], - "operand" : [ { - "localId" : "236", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "240", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "241", + }, { + "localId" : "360", + "name" : "b", + "annotation" : [ ], + "elementType" : { + "type" : "TupleTypeSpecifier", + "localId" : "361", + "annotation" : [ ], + "element" : [ { + "localId" : "362", + "name" : "c", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "363", "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "element" : [ { - "localId" : "237", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, { - "localId" : "238", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal" - }, { - "localId" : "239", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - } ] - }, { - "localId" : "242", - "type" : "List", + "annotation" : [ ] + } + } ] + } + } ] + }, + "element" : [ { + "name" : "a", + "value" : { + "type" : "Literal", + "localId" : "351", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + } + }, { + "name" : "b", + "value" : { + "type" : "Tuple", + "localId" : "352", + "annotation" : [ ], "resultTypeSpecifier" : { - "localId" : "245", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "246", + "type" : "TupleTypeSpecifier", + "localId" : "354", + "annotation" : [ ], + "element" : [ { + "localId" : "355", + "name" : "c", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "356", "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } + "annotation" : [ ] + } + } ] }, "element" : [ { - "localId" : "243", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, { - "localId" : "244", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal" + "name" : "c", + "value" : { + "type" : "Literal", + "localId" : "353", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + } + } ] + } + } ] + }, { + "type" : "Tuple", + "localId" : "364", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "TupleTypeSpecifier", + "localId" : "368", + "annotation" : [ ], + "element" : [ { + "localId" : "369", + "name" : "x", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "370", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } + }, { + "localId" : "371", + "name" : "z", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "372", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } ] + }, + "element" : [ { + "name" : "x", + "value" : { + "type" : "Literal", + "localId" : "365", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "y", + "annotation" : [ ] + } + }, { + "name" : "z", + "value" : { + "type" : "Literal", + "localId" : "367", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "annotation" : [ ] + } + } ] + } ] + } ] + } + }, { + "localId" : "381", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "UnequalTupleList", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "381", + "s" : [ { + "value" : [ "", "define ", "UnequalTupleList", ": " ] + }, { + "r" : "382", + "s" : [ { + "r" : "384", + "s" : [ { + "value" : [ "List<" ] + }, { + "r" : "383", + "s" : [ { + "value" : [ "Any" ] } ] - } ] - } - }, { - "localId" : "253", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "ReverseIntList", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "253", + }, { + "value" : [ ">{ " ] + }, { + "r" : "386", "s" : [ { - "value" : [ "","define ","ReverseIntList",": " ] - }, { - "r" : "254", - "s" : [ { - "r" : "255", + "value" : [ "Tuple{" ] + }, { + "s" : [ { + "r" : "387", + "value" : [ "a", ": ", "1" ] + } ] + }, { + "value" : [ ", " ] + }, { + "s" : [ { + "value" : [ "b", ": " ] + }, { + "r" : "388", + "s" : [ { + "value" : [ "Tuple{" ] + }, { "s" : [ { - "r" : "256", - "value" : [ "{","1",", ","2",", ","3","}" ] + "r" : "389", + "value" : [ "c", ": ", "1" ] } ] - }, { - "value" : [ " ","="," " ] - }, { - "r" : "261", + }, { + "value" : [ "}" ] + } ] + } ] + }, { + "value" : [ "}" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "400", + "s" : [ { + "value" : [ "Tuple{" ] + }, { + "s" : [ { + "value" : [ "x", ": " ] + }, { + "r" : "401", + "s" : [ { + "value" : [ "'y'" ] + } ] + } ] + }, { + "value" : [ ", " ] + }, { + "s" : [ { + "r" : "403", + "value" : [ "z", ": ", "2" ] + } ] + }, { + "value" : [ "}" ] + } ] + }, { + "value" : [ " }" ] + } ] + }, { + "value" : [ " ", "=", " " ] + }, { + "r" : "412", + "s" : [ { + "value" : [ "List<" ] + }, { + "r" : "411", + "s" : [ { + "value" : [ "Any" ] + } ] + }, { + "value" : [ ">{ " ] + }, { + "r" : "414", + "s" : [ { + "value" : [ "Tuple{" ] + }, { + "s" : [ { + "r" : "415", + "value" : [ "a", ": ", "1" ] + } ] + }, { + "value" : [ ", " ] + }, { + "s" : [ { + "value" : [ "b", ": " ] + }, { + "r" : "416", + "s" : [ { + "value" : [ "Tuple{" ] + }, { "s" : [ { - "r" : "262", - "value" : [ "{","3",", ","2",", ","1","}" ] + "value" : [ "c", ": " ] + }, { + "r" : "417", + "s" : [ { + "r" : "418", + "value" : [ "-", "1" ] + } ] } ] - } ] + }, { + "value" : [ "}" ] + } ] + } ] + }, { + "value" : [ "}" ] } ] - } - } ], - "expression" : { - "localId" : "254", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "Equal", - "signature" : [ { - "localId" : "267", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "268", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "269", - "type" : "ListTypeSpecifier", + }, { + "value" : [ ", " ] + }, { + "r" : "430", + "s" : [ { + "value" : [ "Tuple{" ] + }, { + "s" : [ { + "value" : [ "x", ": " ] + }, { + "r" : "431", + "s" : [ { + "value" : [ "'y'" ] + } ] + } ] + }, { + "value" : [ ", " ] + }, { + "s" : [ { + "r" : "433", + "value" : [ "z", ": ", "2" ] + } ] + }, { + "value" : [ "}" ] + } ] + }, { + "value" : [ " }" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Equal", + "localId" : "382", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "ListTypeSpecifier", + "localId" : "441", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "442", + "name" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } + }, { + "type" : "ListTypeSpecifier", + "localId" : "443", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "444", + "name" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "List", + "localId" : "384", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "409", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "410", + "name" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } + }, + "element" : [ { + "type" : "Tuple", + "localId" : "386", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "TupleTypeSpecifier", + "localId" : "393", + "annotation" : [ ], + "element" : [ { + "localId" : "394", + "name" : "a", + "annotation" : [ ], "elementType" : { - "localId" : "270", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" + "type" : "NamedTypeSpecifier", + "localId" : "395", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] } - } ], - "operand" : [ { - "localId" : "255", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "259", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "260", + }, { + "localId" : "396", + "name" : "b", + "annotation" : [ ], + "elementType" : { + "type" : "TupleTypeSpecifier", + "localId" : "397", + "annotation" : [ ], + "element" : [ { + "localId" : "398", + "name" : "c", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "399", "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "element" : [ { - "localId" : "256", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, { - "localId" : "257", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal" - }, { - "localId" : "258", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - } ] - }, { - "localId" : "261", - "type" : "List", + "annotation" : [ ] + } + } ] + } + } ] + }, + "element" : [ { + "name" : "a", + "value" : { + "type" : "Literal", + "localId" : "387", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + } + }, { + "name" : "b", + "value" : { + "type" : "Tuple", + "localId" : "388", + "annotation" : [ ], "resultTypeSpecifier" : { - "localId" : "265", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "266", + "type" : "TupleTypeSpecifier", + "localId" : "390", + "annotation" : [ ], + "element" : [ { + "localId" : "391", + "name" : "c", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "392", "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } + "annotation" : [ ] + } + } ] }, "element" : [ { - "localId" : "262", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, { - "localId" : "263", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal" - }, { - "localId" : "264", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - } ] - } ] - } - }, { - "localId" : "273", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "EqualStringList", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "273", - "s" : [ { - "value" : [ "","define ","EqualStringList",": " ] - }, { - "r" : "274", - "s" : [ { - "r" : "275", - "s" : [ { - "value" : [ "{" ] - }, { - "r" : "276", - "s" : [ { - "value" : [ "'hello'" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "278", - "s" : [ { - "value" : [ "'world'" ] - } ] - }, { - "value" : [ "}" ] - } ] - }, { - "value" : [ " ","="," " ] - }, { - "r" : "282", - "s" : [ { - "value" : [ "{" ] - }, { - "r" : "283", - "s" : [ { - "value" : [ "'hello'" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "285", - "s" : [ { - "value" : [ "'world'" ] - } ] - }, { - "value" : [ "}" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "274", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "Equal", - "signature" : [ { - "localId" : "289", - "type" : "ListTypeSpecifier", + "name" : "c", + "value" : { + "type" : "Literal", + "localId" : "389", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + } + } ] + } + } ] + }, { + "type" : "Tuple", + "localId" : "400", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "TupleTypeSpecifier", + "localId" : "404", + "annotation" : [ ], + "element" : [ { + "localId" : "405", + "name" : "x", + "annotation" : [ ], "elementType" : { - "localId" : "290", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" + "type" : "NamedTypeSpecifier", + "localId" : "406", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] } - }, { - "localId" : "291", - "type" : "ListTypeSpecifier", + }, { + "localId" : "407", + "name" : "z", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "408", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } ] + }, + "element" : [ { + "name" : "x", + "value" : { + "type" : "Literal", + "localId" : "401", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "y", + "annotation" : [ ] + } + }, { + "name" : "z", + "value" : { + "type" : "Literal", + "localId" : "403", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "annotation" : [ ] + } + } ] + } ] + }, { + "type" : "List", + "localId" : "412", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "439", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "440", + "name" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } + }, + "element" : [ { + "type" : "Tuple", + "localId" : "414", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "TupleTypeSpecifier", + "localId" : "423", + "annotation" : [ ], + "element" : [ { + "localId" : "424", + "name" : "a", + "annotation" : [ ], "elementType" : { - "localId" : "292", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" + "type" : "NamedTypeSpecifier", + "localId" : "425", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] } - } ], - "operand" : [ { - "localId" : "275", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "280", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "281", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } - }, - "element" : [ { - "localId" : "276", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "hello", - "type" : "Literal" - }, { - "localId" : "278", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "world", - "type" : "Literal" - } ] - }, { - "localId" : "282", - "type" : "List", + }, { + "localId" : "426", + "name" : "b", + "annotation" : [ ], + "elementType" : { + "type" : "TupleTypeSpecifier", + "localId" : "427", + "annotation" : [ ], + "element" : [ { + "localId" : "428", + "name" : "c", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "429", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } ] + } + } ] + }, + "element" : [ { + "name" : "a", + "value" : { + "type" : "Literal", + "localId" : "415", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + } + }, { + "name" : "b", + "value" : { + "type" : "Tuple", + "localId" : "416", + "annotation" : [ ], "resultTypeSpecifier" : { - "localId" : "287", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "288", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } + "type" : "TupleTypeSpecifier", + "localId" : "420", + "annotation" : [ ], + "element" : [ { + "localId" : "421", + "name" : "c", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "422", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } ] }, "element" : [ { - "localId" : "283", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "hello", - "type" : "Literal" - }, { - "localId" : "285", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "world", - "type" : "Literal" + "name" : "c", + "value" : { + "type" : "Negate", + "localId" : "417", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "419", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "operand" : { + "type" : "Literal", + "localId" : "418", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + } + } + } ] + } + } ] + }, { + "type" : "Tuple", + "localId" : "430", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "TupleTypeSpecifier", + "localId" : "434", + "annotation" : [ ], + "element" : [ { + "localId" : "435", + "name" : "x", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "436", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } + }, { + "localId" : "437", + "name" : "z", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "438", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } ] + }, + "element" : [ { + "name" : "x", + "value" : { + "type" : "Literal", + "localId" : "431", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "y", + "annotation" : [ ] + } + }, { + "name" : "z", + "value" : { + "type" : "Literal", + "localId" : "433", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "annotation" : [ ] + } + } ] + } ] + } ] + } + }, { + "localId" : "447", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "FirstListHasNull", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "447", + "s" : [ { + "value" : [ "", "define ", "FirstListHasNull", ": " ] + }, { + "r" : "448", + "s" : [ { + "r" : "449", + "s" : [ { + "value" : [ "{" ] + }, { + "r" : "450", + "s" : [ { + "value" : [ "'hello'" ] } ] - } ] - } - }, { - "localId" : "295", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "UnequalStringList", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "295", - "s" : [ { - "value" : [ "","define ","UnequalStringList",": " ] - }, { - "r" : "296", - "s" : [ { - "r" : "297", - "s" : [ { - "value" : [ "{" ] - }, { - "r" : "298", - "s" : [ { - "value" : [ "'hello'" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "300", - "s" : [ { - "value" : [ "'world'" ] - } ] - }, { - "value" : [ "}" ] - } ] - }, { - "value" : [ " ","="," " ] - }, { - "r" : "304", - "s" : [ { - "value" : [ "{" ] - }, { - "r" : "305", - "s" : [ { - "value" : [ "'foo'" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "307", - "s" : [ { - "value" : [ "'bar'" ] - } ] - }, { - "value" : [ "}" ] - } ] - } ] + }, { + "value" : [ ", " ] + }, { + "r" : "452", + "s" : [ { + "value" : [ "'world'" ] } ] - } - } ], - "expression" : { - "localId" : "296", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "Equal", - "signature" : [ { - "localId" : "311", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "312", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "313", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "314", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "297", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "302", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "303", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } - }, - "element" : [ { - "localId" : "298", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "hello", - "type" : "Literal" - }, { - "localId" : "300", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "world", - "type" : "Literal" - } ] - }, { - "localId" : "304", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "309", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "310", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } - }, - "element" : [ { - "localId" : "305", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "foo", - "type" : "Literal" - }, { - "localId" : "307", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "bar", - "type" : "Literal" + }, { + "value" : [ ", " ] + }, { + "r" : "454", + "s" : [ { + "value" : [ "(" ] + }, { + "r" : "454", + "s" : [ { + "r" : "455", + "value" : [ "null", " as " ] + }, { + "r" : "456", + "s" : [ { + "value" : [ "String" ] + } ] + } ] + }, { + "value" : [ ")" ] + } ] + }, { + "value" : [ "}" ] + } ] + }, { + "value" : [ " ", "=", " " ] + }, { + "r" : "459", + "s" : [ { + "value" : [ "{" ] + }, { + "r" : "460", + "s" : [ { + "value" : [ "'hello'" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "462", + "s" : [ { + "value" : [ "'world'" ] } ] - } ] + }, { + "value" : [ "}" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Equal", + "localId" : "448", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "ListTypeSpecifier", + "localId" : "466", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "467", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] } - }, { - "localId" : "317", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "EqualTupleList", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "317", + }, { + "type" : "ListTypeSpecifier", + "localId" : "468", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "469", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "List", + "localId" : "449", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "457", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "458", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } + }, + "element" : [ { + "type" : "Literal", + "localId" : "450", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "hello", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "452", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "world", + "annotation" : [ ] + }, { + "type" : "As", + "localId" : "454", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "strict" : false, + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Null", + "localId" : "455", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + }, + "asTypeSpecifier" : { + "type" : "NamedTypeSpecifier", + "localId" : "456", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } + } ] + }, { + "type" : "List", + "localId" : "459", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "464", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "465", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } + }, + "element" : [ { + "type" : "Literal", + "localId" : "460", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "hello", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "462", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "world", + "annotation" : [ ] + } ] + } ] + } + }, { + "localId" : "472", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "SecondListHasNull", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "472", + "s" : [ { + "value" : [ "", "define ", "SecondListHasNull", ": " ] + }, { + "r" : "473", + "s" : [ { + "r" : "474", + "s" : [ { + "value" : [ "{" ] + }, { + "r" : "475", "s" : [ { - "value" : [ "","define ","EqualTupleList",": " ] - }, { - "r" : "318", - "s" : [ { - "r" : "320", - "s" : [ { - "value" : [ "List<" ] - }, { - "r" : "319", - "s" : [ { - "value" : [ "Any" ] - } ] - }, { - "value" : [ ">{ " ] - }, { - "r" : "322", - "s" : [ { - "value" : [ "Tuple{" ] - }, { - "s" : [ { - "r" : "323", - "value" : [ "a",": ","1" ] - } ] - }, { - "value" : [ ", " ] - }, { - "s" : [ { - "value" : [ "b",": " ] - }, { - "r" : "324", - "s" : [ { - "value" : [ "Tuple{" ] - }, { - "s" : [ { - "r" : "325", - "value" : [ "c",": ","1" ] - } ] - }, { - "value" : [ "}" ] - } ] - } ] - }, { - "value" : [ "}" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "336", - "s" : [ { - "value" : [ "Tuple{" ] - }, { - "s" : [ { - "value" : [ "x",": " ] - }, { - "r" : "337", - "s" : [ { - "value" : [ "'y'" ] - } ] - } ] - }, { - "value" : [ ", " ] - }, { - "s" : [ { - "r" : "339", - "value" : [ "z",": ","2" ] - } ] - }, { - "value" : [ "}" ] - } ] - }, { - "value" : [ " }" ] - } ] - }, { - "value" : [ " ","="," " ] - }, { - "r" : "348", - "s" : [ { - "value" : [ "List<" ] - }, { - "r" : "347", - "s" : [ { - "value" : [ "Any" ] - } ] - }, { - "value" : [ ">{ " ] - }, { - "r" : "350", - "s" : [ { - "value" : [ "Tuple{" ] - }, { - "s" : [ { - "r" : "351", - "value" : [ "a",": ","1" ] - } ] - }, { - "value" : [ ", " ] - }, { - "s" : [ { - "value" : [ "b",": " ] - }, { - "r" : "352", - "s" : [ { - "value" : [ "Tuple{" ] - }, { - "s" : [ { - "r" : "353", - "value" : [ "c",": ","1" ] - } ] - }, { - "value" : [ "}" ] - } ] - } ] - }, { - "value" : [ "}" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "364", - "s" : [ { - "value" : [ "Tuple{" ] - }, { - "s" : [ { - "value" : [ "x",": " ] - }, { - "r" : "365", - "s" : [ { - "value" : [ "'y'" ] - } ] - } ] - }, { - "value" : [ ", " ] - }, { - "s" : [ { - "r" : "367", - "value" : [ "z",": ","2" ] - } ] - }, { - "value" : [ "}" ] - } ] - }, { - "value" : [ " }" ] - } ] - } ] + "value" : [ "'hello'" ] } ] - } - } ], - "expression" : { - "localId" : "318", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "Equal", - "signature" : [ { - "localId" : "375", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "376", - "name" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "377", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "378", - "name" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "320", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "345", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "346", - "name" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "NamedTypeSpecifier" - } - }, - "element" : [ { - "localId" : "322", - "type" : "Tuple", - "resultTypeSpecifier" : { - "localId" : "329", - "type" : "TupleTypeSpecifier", - "element" : [ { - "localId" : "330", - "name" : "a", - "elementType" : { - "localId" : "331", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "332", - "name" : "b", - "elementType" : { - "localId" : "333", - "type" : "TupleTypeSpecifier", - "element" : [ { - "localId" : "334", - "name" : "c", - "elementType" : { - "localId" : "335", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } ] - } - } ] - }, - "element" : [ { - "name" : "a", - "value" : { - "localId" : "323", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - } - }, { - "name" : "b", - "value" : { - "localId" : "324", - "type" : "Tuple", - "resultTypeSpecifier" : { - "localId" : "326", - "type" : "TupleTypeSpecifier", - "element" : [ { - "localId" : "327", - "name" : "c", - "elementType" : { - "localId" : "328", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } ] - }, - "element" : [ { - "name" : "c", - "value" : { - "localId" : "325", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - } - } ] - } - } ] - }, { - "localId" : "336", - "type" : "Tuple", - "resultTypeSpecifier" : { - "localId" : "340", - "type" : "TupleTypeSpecifier", - "element" : [ { - "localId" : "341", - "name" : "x", - "elementType" : { - "localId" : "342", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "343", - "name" : "z", - "elementType" : { - "localId" : "344", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } ] - }, - "element" : [ { - "name" : "x", - "value" : { - "localId" : "337", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "y", - "type" : "Literal" - } - }, { - "name" : "z", - "value" : { - "localId" : "339", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal" - } - } ] + }, { + "value" : [ ", " ] + }, { + "r" : "477", + "s" : [ { + "value" : [ "'world'" ] + } ] + }, { + "value" : [ "}" ] + } ] + }, { + "value" : [ " ", "=", " " ] + }, { + "r" : "481", + "s" : [ { + "value" : [ "{" ] + }, { + "r" : "482", + "s" : [ { + "value" : [ "'hello'" ] } ] - }, { - "localId" : "348", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "373", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "374", - "name" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "NamedTypeSpecifier" - } - }, - "element" : [ { - "localId" : "350", - "type" : "Tuple", - "resultTypeSpecifier" : { - "localId" : "357", - "type" : "TupleTypeSpecifier", - "element" : [ { - "localId" : "358", - "name" : "a", - "elementType" : { - "localId" : "359", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "360", - "name" : "b", - "elementType" : { - "localId" : "361", - "type" : "TupleTypeSpecifier", - "element" : [ { - "localId" : "362", - "name" : "c", - "elementType" : { - "localId" : "363", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } ] - } - } ] - }, - "element" : [ { - "name" : "a", - "value" : { - "localId" : "351", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - } - }, { - "name" : "b", - "value" : { - "localId" : "352", - "type" : "Tuple", - "resultTypeSpecifier" : { - "localId" : "354", - "type" : "TupleTypeSpecifier", - "element" : [ { - "localId" : "355", - "name" : "c", - "elementType" : { - "localId" : "356", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } ] - }, - "element" : [ { - "name" : "c", - "value" : { - "localId" : "353", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - } - } ] - } - } ] - }, { - "localId" : "364", - "type" : "Tuple", - "resultTypeSpecifier" : { - "localId" : "368", - "type" : "TupleTypeSpecifier", - "element" : [ { - "localId" : "369", - "name" : "x", - "elementType" : { - "localId" : "370", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "371", - "name" : "z", - "elementType" : { - "localId" : "372", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } ] - }, - "element" : [ { - "name" : "x", - "value" : { - "localId" : "365", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "y", - "type" : "Literal" - } - }, { - "name" : "z", - "value" : { - "localId" : "367", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal" - } - } ] + }, { + "value" : [ ", " ] + }, { + "r" : "484", + "s" : [ { + "value" : [ "'world'" ] } ] - } ] + }, { + "value" : [ ", " ] + }, { + "r" : "486", + "s" : [ { + "value" : [ "(" ] + }, { + "r" : "486", + "s" : [ { + "r" : "487", + "value" : [ "null", " as " ] + }, { + "r" : "488", + "s" : [ { + "value" : [ "String" ] + } ] + } ] + }, { + "value" : [ ")" ] + } ] + }, { + "value" : [ "}" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Equal", + "localId" : "473", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "ListTypeSpecifier", + "localId" : "491", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "492", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] } - }, { - "localId" : "381", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "UnequalTupleList", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "381", - "s" : [ { - "value" : [ "","define ","UnequalTupleList",": " ] - }, { - "r" : "382", - "s" : [ { - "r" : "384", - "s" : [ { - "value" : [ "List<" ] - }, { - "r" : "383", - "s" : [ { - "value" : [ "Any" ] - } ] - }, { - "value" : [ ">{ " ] - }, { - "r" : "386", - "s" : [ { - "value" : [ "Tuple{" ] - }, { - "s" : [ { - "r" : "387", - "value" : [ "a",": ","1" ] - } ] - }, { - "value" : [ ", " ] - }, { - "s" : [ { - "value" : [ "b",": " ] - }, { - "r" : "388", - "s" : [ { - "value" : [ "Tuple{" ] - }, { - "s" : [ { - "r" : "389", - "value" : [ "c",": ","1" ] - } ] - }, { - "value" : [ "}" ] - } ] - } ] - }, { - "value" : [ "}" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "400", - "s" : [ { - "value" : [ "Tuple{" ] - }, { - "s" : [ { - "value" : [ "x",": " ] - }, { - "r" : "401", - "s" : [ { - "value" : [ "'y'" ] - } ] - } ] - }, { - "value" : [ ", " ] - }, { - "s" : [ { - "r" : "403", - "value" : [ "z",": ","2" ] - } ] - }, { - "value" : [ "}" ] - } ] - }, { - "value" : [ " }" ] - } ] - }, { - "value" : [ " ","="," " ] - }, { - "r" : "412", - "s" : [ { - "value" : [ "List<" ] - }, { - "r" : "411", - "s" : [ { - "value" : [ "Any" ] - } ] - }, { - "value" : [ ">{ " ] - }, { - "r" : "414", - "s" : [ { - "value" : [ "Tuple{" ] - }, { - "s" : [ { - "r" : "415", - "value" : [ "a",": ","1" ] - } ] - }, { - "value" : [ ", " ] - }, { - "s" : [ { - "value" : [ "b",": " ] - }, { - "r" : "416", - "s" : [ { - "value" : [ "Tuple{" ] - }, { - "s" : [ { - "value" : [ "c",": " ] - }, { - "r" : "417", - "s" : [ { - "r" : "418", - "value" : [ "-","1" ] - } ] - } ] - }, { - "value" : [ "}" ] - } ] - } ] - }, { - "value" : [ "}" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "430", - "s" : [ { - "value" : [ "Tuple{" ] - }, { - "s" : [ { - "value" : [ "x",": " ] - }, { - "r" : "431", - "s" : [ { - "value" : [ "'y'" ] - } ] - } ] - }, { - "value" : [ ", " ] - }, { - "s" : [ { - "r" : "433", - "value" : [ "z",": ","2" ] - } ] - }, { - "value" : [ "}" ] - } ] - }, { - "value" : [ " }" ] - } ] - } ] + }, { + "type" : "ListTypeSpecifier", + "localId" : "493", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "494", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "List", + "localId" : "474", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "479", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "480", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } + }, + "element" : [ { + "type" : "Literal", + "localId" : "475", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "hello", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "477", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "world", + "annotation" : [ ] + } ] + }, { + "type" : "List", + "localId" : "481", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "489", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "490", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } + }, + "element" : [ { + "type" : "Literal", + "localId" : "482", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "hello", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "484", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "world", + "annotation" : [ ] + }, { + "type" : "As", + "localId" : "486", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "strict" : false, + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Null", + "localId" : "487", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + }, + "asTypeSpecifier" : { + "type" : "NamedTypeSpecifier", + "localId" : "488", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } + } ] + } ] + } + }, { + "localId" : "497", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "BothListsHaveNull", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "497", + "s" : [ { + "value" : [ "", "define ", "BothListsHaveNull", ": " ] + }, { + "r" : "498", + "s" : [ { + "r" : "500", + "s" : [ { + "value" : [ "List<" ] + }, { + "r" : "499", + "s" : [ { + "value" : [ "Integer" ] } ] - } - } ], - "expression" : { - "localId" : "382", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "Equal", - "signature" : [ { - "localId" : "441", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "442", - "name" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "443", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "444", - "name" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "384", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "409", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "410", - "name" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "NamedTypeSpecifier" - } - }, - "element" : [ { - "localId" : "386", - "type" : "Tuple", - "resultTypeSpecifier" : { - "localId" : "393", - "type" : "TupleTypeSpecifier", - "element" : [ { - "localId" : "394", - "name" : "a", - "elementType" : { - "localId" : "395", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "396", - "name" : "b", - "elementType" : { - "localId" : "397", - "type" : "TupleTypeSpecifier", - "element" : [ { - "localId" : "398", - "name" : "c", - "elementType" : { - "localId" : "399", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } ] - } - } ] - }, - "element" : [ { - "name" : "a", - "value" : { - "localId" : "387", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - } - }, { - "name" : "b", - "value" : { - "localId" : "388", - "type" : "Tuple", - "resultTypeSpecifier" : { - "localId" : "390", - "type" : "TupleTypeSpecifier", - "element" : [ { - "localId" : "391", - "name" : "c", - "elementType" : { - "localId" : "392", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } ] - }, - "element" : [ { - "name" : "c", - "value" : { - "localId" : "389", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - } - } ] - } - } ] - }, { - "localId" : "400", - "type" : "Tuple", - "resultTypeSpecifier" : { - "localId" : "404", - "type" : "TupleTypeSpecifier", - "element" : [ { - "localId" : "405", - "name" : "x", - "elementType" : { - "localId" : "406", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "407", - "name" : "z", - "elementType" : { - "localId" : "408", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } ] - }, - "element" : [ { - "name" : "x", - "value" : { - "localId" : "401", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "y", - "type" : "Literal" - } - }, { - "name" : "z", - "value" : { - "localId" : "403", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal" - } - } ] + }, { + "value" : [ ">{" ] + }, { + "r" : "502", + "s" : [ { + "value" : [ "(" ] + }, { + "r" : "502", + "s" : [ { + "r" : "503", + "value" : [ "null", " as " ] + }, { + "r" : "504", + "s" : [ { + "value" : [ "Integer" ] + } ] + } ] + }, { + "value" : [ ")" ] + } ] + }, { + "value" : [ "}" ] + } ] + }, { + "value" : [ " ", "=", " " ] + }, { + "r" : "508", + "s" : [ { + "value" : [ "List<" ] + }, { + "r" : "507", + "s" : [ { + "value" : [ "Integer" ] } ] - }, { - "localId" : "412", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "439", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "440", - "name" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "NamedTypeSpecifier" - } - }, - "element" : [ { - "localId" : "414", - "type" : "Tuple", - "resultTypeSpecifier" : { - "localId" : "423", - "type" : "TupleTypeSpecifier", - "element" : [ { - "localId" : "424", - "name" : "a", - "elementType" : { - "localId" : "425", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "426", - "name" : "b", - "elementType" : { - "localId" : "427", - "type" : "TupleTypeSpecifier", - "element" : [ { - "localId" : "428", - "name" : "c", - "elementType" : { - "localId" : "429", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } ] - } - } ] - }, - "element" : [ { - "name" : "a", - "value" : { - "localId" : "415", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - } - }, { - "name" : "b", - "value" : { - "localId" : "416", - "type" : "Tuple", - "resultTypeSpecifier" : { - "localId" : "420", - "type" : "TupleTypeSpecifier", - "element" : [ { - "localId" : "421", - "name" : "c", - "elementType" : { - "localId" : "422", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } ] - }, - "element" : [ { - "name" : "c", - "value" : { - "localId" : "417", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "Negate", - "signature" : [ { - "localId" : "419", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "418", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - } - } - } ] - } - } ] - }, { - "localId" : "430", - "type" : "Tuple", - "resultTypeSpecifier" : { - "localId" : "434", - "type" : "TupleTypeSpecifier", - "element" : [ { - "localId" : "435", - "name" : "x", - "elementType" : { - "localId" : "436", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "437", - "name" : "z", - "elementType" : { - "localId" : "438", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } ] - }, - "element" : [ { - "name" : "x", - "value" : { - "localId" : "431", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "y", - "type" : "Literal" - } - }, { - "name" : "z", - "value" : { - "localId" : "433", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal" - } - } ] - } ] - } ] - } - }, { - "localId" : "447", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "FirstListHasNull", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "447", - "s" : [ { - "value" : [ "","define ","FirstListHasNull",": " ] - }, { - "r" : "448", - "s" : [ { - "r" : "449", - "s" : [ { - "value" : [ "{" ] - }, { - "r" : "450", - "s" : [ { - "value" : [ "'hello'" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "452", - "s" : [ { - "value" : [ "'world'" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "454", - "s" : [ { - "value" : [ "(" ] - }, { - "r" : "454", - "s" : [ { - "r" : "455", - "value" : [ "null"," as " ] - }, { - "r" : "456", - "s" : [ { - "value" : [ "String" ] - } ] - } ] - }, { - "value" : [ ")" ] - } ] - }, { - "value" : [ "}" ] - } ] - }, { - "value" : [ " ","="," " ] - }, { - "r" : "459", - "s" : [ { - "value" : [ "{" ] - }, { - "r" : "460", - "s" : [ { - "value" : [ "'hello'" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "462", - "s" : [ { - "value" : [ "'world'" ] - } ] - }, { - "value" : [ "}" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "448", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "Equal", - "signature" : [ { - "localId" : "466", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "467", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "468", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "469", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "449", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "457", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "458", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } - }, - "element" : [ { - "localId" : "450", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "hello", - "type" : "Literal" - }, { - "localId" : "452", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "world", - "type" : "Literal" - }, { - "localId" : "454", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "strict" : false, - "type" : "As", - "signature" : [ ], - "operand" : { - "localId" : "455", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - }, - "asTypeSpecifier" : { - "localId" : "456", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } - } ] - }, { - "localId" : "459", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "464", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "465", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } - }, - "element" : [ { - "localId" : "460", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "hello", - "type" : "Literal" - }, { - "localId" : "462", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "world", - "type" : "Literal" - } ] - } ] - } - }, { - "localId" : "472", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "SecondListHasNull", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "472", + }, { + "value" : [ ">{" ] + }, { + "r" : "510", "s" : [ { - "value" : [ "","define ","SecondListHasNull",": " ] - }, { - "r" : "473", - "s" : [ { - "r" : "474", - "s" : [ { - "value" : [ "{" ] - }, { - "r" : "475", - "s" : [ { - "value" : [ "'hello'" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "477", - "s" : [ { - "value" : [ "'world'" ] - } ] - }, { - "value" : [ "}" ] - } ] - }, { - "value" : [ " ","="," " ] - }, { - "r" : "481", - "s" : [ { - "value" : [ "{" ] - }, { - "r" : "482", - "s" : [ { - "value" : [ "'hello'" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "484", - "s" : [ { - "value" : [ "'world'" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "486", - "s" : [ { - "value" : [ "(" ] - }, { - "r" : "486", - "s" : [ { - "r" : "487", - "value" : [ "null"," as " ] - }, { - "r" : "488", - "s" : [ { - "value" : [ "String" ] - } ] - } ] - }, { - "value" : [ ")" ] - } ] - }, { - "value" : [ "}" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "473", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "Equal", - "signature" : [ { - "localId" : "491", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "492", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "493", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "494", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "474", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "479", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "480", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } - }, - "element" : [ { - "localId" : "475", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "hello", - "type" : "Literal" - }, { - "localId" : "477", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "world", - "type" : "Literal" - } ] - }, { - "localId" : "481", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "489", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "490", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } - }, - "element" : [ { - "localId" : "482", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "hello", - "type" : "Literal" - }, { - "localId" : "484", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "world", - "type" : "Literal" - }, { - "localId" : "486", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "strict" : false, - "type" : "As", - "signature" : [ ], - "operand" : { - "localId" : "487", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - }, - "asTypeSpecifier" : { - "localId" : "488", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } - } ] - } ] - } - }, { - "localId" : "497", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "BothListsHaveNull", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "497", - "s" : [ { - "value" : [ "","define ","BothListsHaveNull",": " ] - }, { - "r" : "498", - "s" : [ { - "r" : "500", - "s" : [ { - "value" : [ "List<" ] - }, { - "r" : "499", - "s" : [ { - "value" : [ "Integer" ] - } ] - }, { - "value" : [ ">{" ] - }, { - "r" : "502", - "s" : [ { - "value" : [ "(" ] - }, { - "r" : "502", - "s" : [ { - "r" : "503", - "value" : [ "null"," as " ] - }, { - "r" : "504", - "s" : [ { - "value" : [ "Integer" ] - } ] - } ] - }, { - "value" : [ ")" ] - } ] - }, { - "value" : [ "}" ] - } ] - }, { - "value" : [ " ","="," " ] - }, { - "r" : "508", - "s" : [ { - "value" : [ "List<" ] - }, { - "r" : "507", - "s" : [ { - "value" : [ "Integer" ] - } ] - }, { - "value" : [ ">{" ] - }, { - "r" : "510", - "s" : [ { - "value" : [ "(" ] - }, { - "r" : "510", - "s" : [ { - "r" : "511", - "value" : [ "null"," as " ] - }, { - "r" : "512", - "s" : [ { - "value" : [ "Integer" ] - } ] - } ] - }, { - "value" : [ ")" ] - } ] - }, { - "value" : [ "}" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "498", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "Equal", - "signature" : [ { - "localId" : "515", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "516", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "517", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "518", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "500", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "505", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "506", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "element" : [ { - "localId" : "502", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "strict" : false, - "type" : "As", - "signature" : [ ], - "operand" : { - "localId" : "503", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - }, - "asTypeSpecifier" : { - "localId" : "504", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } ] - }, { - "localId" : "508", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "513", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "514", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "element" : [ { - "localId" : "510", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "strict" : false, - "type" : "As", - "signature" : [ ], - "operand" : { - "localId" : "511", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - }, - "asTypeSpecifier" : { - "localId" : "512", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } ] - } ] + "value" : [ "(" ] + }, { + "r" : "510", + "s" : [ { + "r" : "511", + "value" : [ "null", " as " ] + }, { + "r" : "512", + "s" : [ { + "value" : [ "Integer" ] + } ] + } ] + }, { + "value" : [ ")" ] + } ] + }, { + "value" : [ "}" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Equal", + "localId" : "498", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "ListTypeSpecifier", + "localId" : "515", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "516", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] } - } ] - } - } + }, { + "type" : "ListTypeSpecifier", + "localId" : "517", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "518", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "List", + "localId" : "500", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "505", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "506", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "element" : [ { + "type" : "As", + "localId" : "502", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "strict" : false, + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Null", + "localId" : "503", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + }, + "asTypeSpecifier" : { + "type" : "NamedTypeSpecifier", + "localId" : "504", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } ] + }, { + "type" : "List", + "localId" : "508", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "513", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "514", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "element" : [ { + "type" : "As", + "localId" : "510", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "strict" : false, + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Null", + "localId" : "511", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + }, + "asTypeSpecifier" : { + "type" : "NamedTypeSpecifier", + "localId" : "512", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } ] + } ] + } + } ] + } + } } /* NotEqual @@ -3128,1647 +3507,1867 @@ define UnequalTupleList: List{ Tuple{a: 1, b: Tuple{c: 1}}, Tuple{x: 'y', z */ module.exports['NotEqual'] = { - "library" : { - "localId" : "0", - "annotation" : [ { - "translatorVersion" : "3.27.0", - "translatorOptions" : "EnableDateRangeOptimization,EnableAnnotations,EnableResultTypes", - "signatureLevel" : "All", - "type" : "CqlToElmInfo" + "library" : { + "localId" : "0", + "annotation" : [ { + "type" : "CqlToElmInfo", + "translatorVersion" : "4.2.0", + "translatorOptions" : "EnableDateRangeOptimization,EnableAnnotations,EnableResultTypes", + "signatureLevel" : "All" + }, { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "393", + "s" : [ { + "value" : [ "", "library TestSnippet version '1'" ] + } ] + } + } ], + "identifier" : { + "id" : "TestSnippet", + "version" : "1" + }, + "schemaIdentifier" : { + "id" : "urn:hl7-org:elm", + "version" : "r1" + }, + "usings" : { + "def" : [ { + "localId" : "1", + "localIdentifier" : "System", + "uri" : "urn:hl7-org:elm-types:r1", + "annotation" : [ ] }, { - "type" : "Annotation", - "s" : { - "r" : "393", + "localId" : "206", + "localIdentifier" : "Simple", + "uri" : "https://github.com/cqframework/cql-execution/simple", + "version" : "1.0.0", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "206", "s" : [ { - "value" : [ "","library TestSnippet version '1'" ] - } ] - } - } ], - "identifier" : { - "id" : "TestSnippet", - "version" : "1" - }, - "schemaIdentifier" : { - "id" : "urn:hl7-org:elm", - "version" : "r1" - }, - "usings" : { - "def" : [ { - "localId" : "1", - "localIdentifier" : "System", - "uri" : "urn:hl7-org:elm-types:r1" - }, { - "localId" : "206", - "localIdentifier" : "Simple", - "uri" : "https://github.com/cqframework/cql-execution/simple", - "version" : "1.0.0", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "206", - "s" : [ { - "value" : [ "","using " ] - }, { - "s" : [ { - "value" : [ "Simple" ] - } ] - }, { - "value" : [ " version '1.0.0'" ] - } ] - } - } ] - } ] - }, - "contexts" : { - "def" : [ { - "localId" : "211", - "name" : "Patient" - } ] - }, - "statements" : { - "def" : [ { - "localId" : "209", - "name" : "Patient", - "context" : "Patient", - "expression" : { - "localId" : "210", - "type" : "SingletonFrom", - "signature" : [ ], - "operand" : { - "localId" : "208", - "dataType" : "{https://github.com/cqframework/cql-execution/simple}Patient", - "type" : "Retrieve", - "include" : [ ], - "codeFilter" : [ ], - "dateFilter" : [ ], - "otherFilter" : [ ] - } - } - }, { - "localId" : "214", + "value" : [ "", "using " ] + }, { + "s" : [ { + "value" : [ "Simple" ] + } ] + }, { + "value" : [ " version '1.0.0'" ] + } ] + } + } ] + } ] + }, + "contexts" : { + "def" : [ { + "localId" : "211", + "name" : "Patient", + "annotation" : [ ] + } ] + }, + "statements" : { + "def" : [ { + "localId" : "209", + "name" : "Patient", + "context" : "Patient", + "annotation" : [ ], + "expression" : { + "type" : "SingletonFrom", + "localId" : "210", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Retrieve", + "localId" : "208", + "dataType" : "{https://github.com/cqframework/cql-execution/simple}Patient", + "annotation" : [ ], + "include" : [ ], + "codeFilter" : [ ], + "dateFilter" : [ ], + "otherFilter" : [ ] + } + } + }, { + "localId" : "214", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "EqualIntList", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "214", + "s" : [ { + "value" : [ "", "define ", "EqualIntList", ": " ] + }, { + "r" : "232", + "s" : [ { + "r" : "216", + "s" : [ { + "r" : "217", + "value" : [ "{", "1", ", ", "2", ", ", "3", "}" ] + } ] + }, { + "value" : [ " ", "!=", " " ] + }, { + "r" : "222", + "s" : [ { + "r" : "223", + "value" : [ "{", "1", ", ", "2", ", ", "3", "}" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Not", + "localId" : "232", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "233", + "name" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ] + } ], + "operand" : { + "type" : "Equal", + "localId" : "215", "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "EqualIntList", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "214", - "s" : [ { - "value" : [ "","define ","EqualIntList",": " ] - }, { - "r" : "232", - "s" : [ { - "r" : "216", - "s" : [ { - "r" : "217", - "value" : [ "{","1",", ","2",", ","3","}" ] - } ] - }, { - "value" : [ " ","!="," " ] - }, { - "r" : "222", - "s" : [ { - "r" : "223", - "value" : [ "{","1",", ","2",", ","3","}" ] - } ] - } ] + "annotation" : [ ], + "signature" : [ { + "type" : "ListTypeSpecifier", + "localId" : "228", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "229", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, { + "type" : "ListTypeSpecifier", + "localId" : "230", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "231", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "List", + "localId" : "216", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "220", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "221", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "element" : [ { + "type" : "Literal", + "localId" : "217", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "218", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "219", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + } ] + }, { + "type" : "List", + "localId" : "222", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "226", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "227", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "element" : [ { + "type" : "Literal", + "localId" : "223", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "224", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "225", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + } ] + } ] + } + } + }, { + "localId" : "236", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "UnequalIntList", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "236", + "s" : [ { + "value" : [ "", "define ", "UnequalIntList", ": " ] + }, { + "r" : "253", + "s" : [ { + "r" : "238", + "s" : [ { + "r" : "239", + "value" : [ "{", "1", ", ", "2", ", ", "3", "}" ] + } ] + }, { + "value" : [ " ", "!=", " " ] + }, { + "r" : "244", + "s" : [ { + "r" : "245", + "value" : [ "{", "1", ", ", "2", "}" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Not", + "localId" : "253", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "254", + "name" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ] + } ], + "operand" : { + "type" : "Equal", + "localId" : "237", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "ListTypeSpecifier", + "localId" : "249", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "250", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, { + "type" : "ListTypeSpecifier", + "localId" : "251", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "252", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "List", + "localId" : "238", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "242", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "243", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "element" : [ { + "type" : "Literal", + "localId" : "239", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "240", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "241", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + } ] + }, { + "type" : "List", + "localId" : "244", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "247", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "248", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "element" : [ { + "type" : "Literal", + "localId" : "245", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "246", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "annotation" : [ ] + } ] + } ] + } + } + }, { + "localId" : "257", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "ReverseIntList", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "257", + "s" : [ { + "value" : [ "", "define ", "ReverseIntList", ": " ] + }, { + "r" : "275", + "s" : [ { + "r" : "259", + "s" : [ { + "r" : "260", + "value" : [ "{", "1", ", ", "2", ", ", "3", "}" ] + } ] + }, { + "value" : [ " ", "!=", " " ] + }, { + "r" : "265", + "s" : [ { + "r" : "266", + "value" : [ "{", "3", ", ", "2", ", ", "1", "}" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Not", + "localId" : "275", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "276", + "name" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ] + } ], + "operand" : { + "type" : "Equal", + "localId" : "258", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "ListTypeSpecifier", + "localId" : "271", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "272", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, { + "type" : "ListTypeSpecifier", + "localId" : "273", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "274", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "List", + "localId" : "259", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "263", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "264", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "element" : [ { + "type" : "Literal", + "localId" : "260", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "261", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "262", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + } ] + }, { + "type" : "List", + "localId" : "265", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "269", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "270", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "element" : [ { + "type" : "Literal", + "localId" : "266", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "267", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "268", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + } ] + } ] + } + } + }, { + "localId" : "279", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "EqualStringList", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "279", + "s" : [ { + "value" : [ "", "define ", "EqualStringList", ": " ] + }, { + "r" : "299", + "s" : [ { + "r" : "281", + "s" : [ { + "value" : [ "{" ] + }, { + "r" : "282", + "s" : [ { + "value" : [ "'hello'" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "284", + "s" : [ { + "value" : [ "'world'" ] + } ] + }, { + "value" : [ "}" ] + } ] + }, { + "value" : [ " ", "!=", " " ] + }, { + "r" : "288", + "s" : [ { + "value" : [ "{" ] + }, { + "r" : "289", + "s" : [ { + "value" : [ "'hello'" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "291", + "s" : [ { + "value" : [ "'world'" ] } ] - } + }, { + "value" : [ "}" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Not", + "localId" : "299", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "300", + "name" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ] + } ], + "operand" : { + "type" : "Equal", + "localId" : "280", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "ListTypeSpecifier", + "localId" : "295", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "296", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } + }, { + "type" : "ListTypeSpecifier", + "localId" : "297", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "298", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } } ], - "expression" : { - "localId" : "232", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "Not", - "signature" : [ { - "localId" : "233", - "name" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "215", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "Equal", - "signature" : [ { - "localId" : "228", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "229", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "230", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "231", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "216", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "220", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "221", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "element" : [ { - "localId" : "217", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, { - "localId" : "218", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal" - }, { - "localId" : "219", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - } ] - }, { - "localId" : "222", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "226", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "227", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "element" : [ { - "localId" : "223", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, { - "localId" : "224", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal" - }, { - "localId" : "225", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - } ] + "operand" : [ { + "type" : "List", + "localId" : "281", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "286", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "287", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } + }, + "element" : [ { + "type" : "Literal", + "localId" : "282", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "hello", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "284", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "world", + "annotation" : [ ] + } ] + }, { + "type" : "List", + "localId" : "288", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "293", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "294", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } + }, + "element" : [ { + "type" : "Literal", + "localId" : "289", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "hello", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "291", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "world", + "annotation" : [ ] + } ] + } ] + } + } + }, { + "localId" : "303", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "UnequalStringList", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "303", + "s" : [ { + "value" : [ "", "define ", "UnequalStringList", ": " ] + }, { + "r" : "323", + "s" : [ { + "r" : "305", + "s" : [ { + "value" : [ "{" ] + }, { + "r" : "306", + "s" : [ { + "value" : [ "'hello'" ] } ] - } - } - }, { - "localId" : "236", + }, { + "value" : [ ", " ] + }, { + "r" : "308", + "s" : [ { + "value" : [ "'world'" ] + } ] + }, { + "value" : [ "}" ] + } ] + }, { + "value" : [ " ", "!=", " " ] + }, { + "r" : "312", + "s" : [ { + "value" : [ "{" ] + }, { + "r" : "313", + "s" : [ { + "value" : [ "'foo'" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "315", + "s" : [ { + "value" : [ "'bar'" ] + } ] + }, { + "value" : [ "}" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Not", + "localId" : "323", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "324", + "name" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ] + } ], + "operand" : { + "type" : "Equal", + "localId" : "304", "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "UnequalIntList", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "236", + "annotation" : [ ], + "signature" : [ { + "type" : "ListTypeSpecifier", + "localId" : "319", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "320", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } + }, { + "type" : "ListTypeSpecifier", + "localId" : "321", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "322", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "List", + "localId" : "305", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "310", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "311", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } + }, + "element" : [ { + "type" : "Literal", + "localId" : "306", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "hello", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "308", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "world", + "annotation" : [ ] + } ] + }, { + "type" : "List", + "localId" : "312", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "317", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "318", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } + }, + "element" : [ { + "type" : "Literal", + "localId" : "313", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "foo", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "315", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "bar", + "annotation" : [ ] + } ] + } ] + } + } + }, { + "localId" : "327", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "EqualTupleList", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "327", + "s" : [ { + "value" : [ "", "define ", "EqualTupleList", ": " ] + }, { + "r" : "389", + "s" : [ { + "r" : "330", + "s" : [ { + "value" : [ "List<" ] + }, { + "r" : "329", "s" : [ { - "value" : [ "","define ","UnequalIntList",": " ] - }, { - "r" : "253", - "s" : [ { - "r" : "238", + "value" : [ "Any" ] + } ] + }, { + "value" : [ ">{ " ] + }, { + "r" : "332", + "s" : [ { + "value" : [ "Tuple{" ] + }, { + "s" : [ { + "r" : "333", + "value" : [ "a", ": ", "1" ] + } ] + }, { + "value" : [ ", " ] + }, { + "s" : [ { + "value" : [ "b", ": " ] + }, { + "r" : "334", + "s" : [ { + "value" : [ "Tuple{" ] + }, { "s" : [ { - "r" : "239", - "value" : [ "{","1",", ","2",", ","3","}" ] + "r" : "335", + "value" : [ "c", ": ", "1" ] } ] - }, { - "value" : [ " ","!="," " ] - }, { - "r" : "244", + }, { + "value" : [ "}" ] + } ] + } ] + }, { + "value" : [ "}" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "346", + "s" : [ { + "value" : [ "Tuple{" ] + }, { + "s" : [ { + "value" : [ "x", ": " ] + }, { + "r" : "347", + "s" : [ { + "value" : [ "'y'" ] + } ] + } ] + }, { + "value" : [ ", " ] + }, { + "s" : [ { + "r" : "349", + "value" : [ "z", ": ", "2" ] + } ] + }, { + "value" : [ "}" ] + } ] + }, { + "value" : [ " }" ] + } ] + }, { + "value" : [ " ", "!=", " " ] + }, { + "r" : "358", + "s" : [ { + "value" : [ "List<" ] + }, { + "r" : "357", + "s" : [ { + "value" : [ "Any" ] + } ] + }, { + "value" : [ ">{ " ] + }, { + "r" : "360", + "s" : [ { + "value" : [ "Tuple{" ] + }, { + "s" : [ { + "r" : "361", + "value" : [ "a", ": ", "1" ] + } ] + }, { + "value" : [ ", " ] + }, { + "s" : [ { + "value" : [ "b", ": " ] + }, { + "r" : "362", + "s" : [ { + "value" : [ "Tuple{" ] + }, { "s" : [ { - "r" : "245", - "value" : [ "{","1",", ","2","}" ] + "r" : "363", + "value" : [ "c", ": ", "1" ] } ] - } ] + }, { + "value" : [ "}" ] + } ] + } ] + }, { + "value" : [ "}" ] } ] - } + }, { + "value" : [ ", " ] + }, { + "r" : "374", + "s" : [ { + "value" : [ "Tuple{" ] + }, { + "s" : [ { + "value" : [ "x", ": " ] + }, { + "r" : "375", + "s" : [ { + "value" : [ "'y'" ] + } ] + } ] + }, { + "value" : [ ", " ] + }, { + "s" : [ { + "r" : "377", + "value" : [ "z", ": ", "2" ] + } ] + }, { + "value" : [ "}" ] + } ] + }, { + "value" : [ " }" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Not", + "localId" : "389", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "390", + "name" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ] + } ], + "operand" : { + "type" : "Equal", + "localId" : "328", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "ListTypeSpecifier", + "localId" : "385", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "386", + "name" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } + }, { + "type" : "ListTypeSpecifier", + "localId" : "387", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "388", + "name" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } } ], - "expression" : { - "localId" : "253", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "Not", - "signature" : [ { - "localId" : "254", - "name" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "237", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "Equal", - "signature" : [ { - "localId" : "249", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "250", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "251", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "252", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "238", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "242", - "type" : "ListTypeSpecifier", + "operand" : [ { + "type" : "List", + "localId" : "330", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "355", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "356", + "name" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } + }, + "element" : [ { + "type" : "Tuple", + "localId" : "332", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "TupleTypeSpecifier", + "localId" : "339", + "annotation" : [ ], + "element" : [ { + "localId" : "340", + "name" : "a", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "341", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, { + "localId" : "342", + "name" : "b", + "annotation" : [ ], + "elementType" : { + "type" : "TupleTypeSpecifier", + "localId" : "343", + "annotation" : [ ], + "element" : [ { + "localId" : "344", + "name" : "c", + "annotation" : [ ], "elementType" : { - "localId" : "243", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" + "type" : "NamedTypeSpecifier", + "localId" : "345", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] } - }, - "element" : [ { - "localId" : "239", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, { - "localId" : "240", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal" - }, { - "localId" : "241", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - } ] - }, { - "localId" : "244", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "247", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "248", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "element" : [ { - "localId" : "245", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, { - "localId" : "246", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal" - } ] - } ] - } - } - }, { - "localId" : "257", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "ReverseIntList", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "257", - "s" : [ { - "value" : [ "","define ","ReverseIntList",": " ] - }, { - "r" : "275", - "s" : [ { - "r" : "259", - "s" : [ { - "r" : "260", - "value" : [ "{","1",", ","2",", ","3","}" ] - } ] - }, { - "value" : [ " ","!="," " ] - }, { - "r" : "265", - "s" : [ { - "r" : "266", - "value" : [ "{","3",", ","2",", ","1","}" ] - } ] - } ] + } ] + } } ] - } - } ], - "expression" : { - "localId" : "275", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "Not", - "signature" : [ { - "localId" : "276", - "name" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "258", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "Equal", - "signature" : [ { - "localId" : "271", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "272", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "273", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "274", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "259", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "263", - "type" : "ListTypeSpecifier", + }, + "element" : [ { + "name" : "a", + "value" : { + "type" : "Literal", + "localId" : "333", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + } + }, { + "name" : "b", + "value" : { + "type" : "Tuple", + "localId" : "334", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "TupleTypeSpecifier", + "localId" : "336", + "annotation" : [ ], + "element" : [ { + "localId" : "337", + "name" : "c", + "annotation" : [ ], "elementType" : { - "localId" : "264", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "element" : [ { - "localId" : "260", + "type" : "NamedTypeSpecifier", + "localId" : "338", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } ] + }, + "element" : [ { + "name" : "c", + "value" : { + "type" : "Literal", + "localId" : "335", "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", "valueType" : "{urn:hl7-org:elm-types:r1}Integer", "value" : "1", - "type" : "Literal" - }, { - "localId" : "261", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal" - }, { - "localId" : "262", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - } ] - }, { - "localId" : "265", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "269", - "type" : "ListTypeSpecifier", + "annotation" : [ ] + } + } ] + } + } ] + }, { + "type" : "Tuple", + "localId" : "346", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "TupleTypeSpecifier", + "localId" : "350", + "annotation" : [ ], + "element" : [ { + "localId" : "351", + "name" : "x", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "352", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } + }, { + "localId" : "353", + "name" : "z", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "354", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } ] + }, + "element" : [ { + "name" : "x", + "value" : { + "type" : "Literal", + "localId" : "347", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "y", + "annotation" : [ ] + } + }, { + "name" : "z", + "value" : { + "type" : "Literal", + "localId" : "349", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "annotation" : [ ] + } + } ] + } ] + }, { + "type" : "List", + "localId" : "358", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "383", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "384", + "name" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } + }, + "element" : [ { + "type" : "Tuple", + "localId" : "360", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "TupleTypeSpecifier", + "localId" : "367", + "annotation" : [ ], + "element" : [ { + "localId" : "368", + "name" : "a", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "369", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, { + "localId" : "370", + "name" : "b", + "annotation" : [ ], + "elementType" : { + "type" : "TupleTypeSpecifier", + "localId" : "371", + "annotation" : [ ], + "element" : [ { + "localId" : "372", + "name" : "c", + "annotation" : [ ], "elementType" : { - "localId" : "270", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" + "type" : "NamedTypeSpecifier", + "localId" : "373", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] } - }, - "element" : [ { - "localId" : "266", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, { - "localId" : "267", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal" - }, { - "localId" : "268", + } ] + } + } ] + }, + "element" : [ { + "name" : "a", + "value" : { + "type" : "Literal", + "localId" : "361", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + } + }, { + "name" : "b", + "value" : { + "type" : "Tuple", + "localId" : "362", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "TupleTypeSpecifier", + "localId" : "364", + "annotation" : [ ], + "element" : [ { + "localId" : "365", + "name" : "c", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "366", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } ] + }, + "element" : [ { + "name" : "c", + "value" : { + "type" : "Literal", + "localId" : "363", "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", "valueType" : "{urn:hl7-org:elm-types:r1}Integer", "value" : "1", - "type" : "Literal" - } ] + "annotation" : [ ] + } + } ] + } + } ] + }, { + "type" : "Tuple", + "localId" : "374", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "TupleTypeSpecifier", + "localId" : "378", + "annotation" : [ ], + "element" : [ { + "localId" : "379", + "name" : "x", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "380", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } + }, { + "localId" : "381", + "name" : "z", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "382", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } ] + }, + "element" : [ { + "name" : "x", + "value" : { + "type" : "Literal", + "localId" : "375", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "y", + "annotation" : [ ] + } + }, { + "name" : "z", + "value" : { + "type" : "Literal", + "localId" : "377", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "annotation" : [ ] + } + } ] + } ] + } ] + } + } + }, { + "localId" : "393", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "UnequalTupleList", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "393", + "s" : [ { + "value" : [ "", "define ", "UnequalTupleList", ": " ] + }, { + "r" : "457", + "s" : [ { + "r" : "396", + "s" : [ { + "value" : [ "List<" ] + }, { + "r" : "395", + "s" : [ { + "value" : [ "Any" ] } ] - } - } - }, { - "localId" : "279", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "EqualStringList", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "279", + }, { + "value" : [ ">{ " ] + }, { + "r" : "398", "s" : [ { - "value" : [ "","define ","EqualStringList",": " ] - }, { - "r" : "299", - "s" : [ { - "r" : "281", - "s" : [ { - "value" : [ "{" ] - }, { - "r" : "282", - "s" : [ { - "value" : [ "'hello'" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "284", - "s" : [ { - "value" : [ "'world'" ] - } ] - }, { - "value" : [ "}" ] - } ] - }, { - "value" : [ " ","!="," " ] - }, { - "r" : "288", + "value" : [ "Tuple{" ] + }, { + "s" : [ { + "r" : "399", + "value" : [ "a", ": ", "1" ] + } ] + }, { + "value" : [ ", " ] + }, { + "s" : [ { + "value" : [ "b", ": " ] + }, { + "r" : "400", + "s" : [ { + "value" : [ "Tuple{" ] + }, { "s" : [ { - "value" : [ "{" ] - }, { - "r" : "289", - "s" : [ { - "value" : [ "'hello'" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "291", - "s" : [ { - "value" : [ "'world'" ] - } ] - }, { - "value" : [ "}" ] + "r" : "401", + "value" : [ "c", ": ", "1" ] } ] - } ] + }, { + "value" : [ "}" ] + } ] + } ] + }, { + "value" : [ "}" ] } ] - } - } ], - "expression" : { - "localId" : "299", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "Not", - "signature" : [ { - "localId" : "300", - "name" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "280", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "Equal", - "signature" : [ { - "localId" : "295", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "296", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "297", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "298", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "281", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "286", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "287", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } - }, - "element" : [ { - "localId" : "282", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "hello", - "type" : "Literal" - }, { - "localId" : "284", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "world", - "type" : "Literal" - } ] - }, { - "localId" : "288", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "293", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "294", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } - }, - "element" : [ { - "localId" : "289", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "hello", - "type" : "Literal" - }, { - "localId" : "291", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "world", - "type" : "Literal" - } ] - } ] - } - } - }, { - "localId" : "303", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "UnequalStringList", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "303", + }, { + "value" : [ ", " ] + }, { + "r" : "412", "s" : [ { - "value" : [ "","define ","UnequalStringList",": " ] - }, { - "r" : "323", - "s" : [ { - "r" : "305", - "s" : [ { - "value" : [ "{" ] - }, { - "r" : "306", - "s" : [ { - "value" : [ "'hello'" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "308", - "s" : [ { - "value" : [ "'world'" ] - } ] - }, { - "value" : [ "}" ] - } ] - }, { - "value" : [ " ","!="," " ] - }, { - "r" : "312", - "s" : [ { - "value" : [ "{" ] - }, { - "r" : "313", - "s" : [ { - "value" : [ "'foo'" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "315", - "s" : [ { - "value" : [ "'bar'" ] - } ] - }, { - "value" : [ "}" ] - } ] - } ] + "value" : [ "Tuple{" ] + }, { + "s" : [ { + "value" : [ "x", ": " ] + }, { + "r" : "413", + "s" : [ { + "value" : [ "'y'" ] + } ] + } ] + }, { + "value" : [ ", " ] + }, { + "s" : [ { + "r" : "415", + "value" : [ "z", ": ", "2" ] + } ] + }, { + "value" : [ "}" ] + } ] + }, { + "value" : [ " }" ] + } ] + }, { + "value" : [ " ", "!=", " " ] + }, { + "r" : "424", + "s" : [ { + "value" : [ "List<" ] + }, { + "r" : "423", + "s" : [ { + "value" : [ "Any" ] } ] - } - } ], - "expression" : { - "localId" : "323", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "Not", - "signature" : [ { - "localId" : "324", - "name" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "304", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "Equal", - "signature" : [ { - "localId" : "319", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "320", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "321", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "322", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "305", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "310", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "311", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } - }, - "element" : [ { - "localId" : "306", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "hello", - "type" : "Literal" - }, { - "localId" : "308", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "world", - "type" : "Literal" - } ] - }, { - "localId" : "312", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "317", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "318", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } - }, - "element" : [ { - "localId" : "313", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "foo", - "type" : "Literal" - }, { - "localId" : "315", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "bar", - "type" : "Literal" - } ] - } ] - } - } - }, { - "localId" : "327", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "EqualTupleList", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "327", - "s" : [ { - "value" : [ "","define ","EqualTupleList",": " ] - }, { - "r" : "389", - "s" : [ { - "r" : "330", - "s" : [ { - "value" : [ "List<" ] - }, { - "r" : "329", - "s" : [ { - "value" : [ "Any" ] - } ] - }, { - "value" : [ ">{ " ] - }, { - "r" : "332", - "s" : [ { - "value" : [ "Tuple{" ] - }, { - "s" : [ { - "r" : "333", - "value" : [ "a",": ","1" ] - } ] - }, { - "value" : [ ", " ] - }, { - "s" : [ { - "value" : [ "b",": " ] - }, { - "r" : "334", - "s" : [ { - "value" : [ "Tuple{" ] - }, { - "s" : [ { - "r" : "335", - "value" : [ "c",": ","1" ] - } ] - }, { - "value" : [ "}" ] - } ] - } ] - }, { - "value" : [ "}" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "346", - "s" : [ { - "value" : [ "Tuple{" ] - }, { - "s" : [ { - "value" : [ "x",": " ] - }, { - "r" : "347", - "s" : [ { - "value" : [ "'y'" ] - } ] - } ] - }, { - "value" : [ ", " ] - }, { - "s" : [ { - "r" : "349", - "value" : [ "z",": ","2" ] - } ] - }, { - "value" : [ "}" ] - } ] - }, { - "value" : [ " }" ] - } ] - }, { - "value" : [ " ","!="," " ] - }, { - "r" : "358", + }, { + "value" : [ ">{ " ] + }, { + "r" : "426", + "s" : [ { + "value" : [ "Tuple{" ] + }, { + "s" : [ { + "r" : "427", + "value" : [ "a", ": ", "1" ] + } ] + }, { + "value" : [ ", " ] + }, { + "s" : [ { + "value" : [ "b", ": " ] + }, { + "r" : "428", + "s" : [ { + "value" : [ "Tuple{" ] + }, { "s" : [ { - "value" : [ "List<" ] - }, { - "r" : "357", - "s" : [ { - "value" : [ "Any" ] - } ] + "value" : [ "c", ": " ] }, { - "value" : [ ">{ " ] - }, { - "r" : "360", - "s" : [ { - "value" : [ "Tuple{" ] - }, { - "s" : [ { - "r" : "361", - "value" : [ "a",": ","1" ] - } ] - }, { - "value" : [ ", " ] - }, { - "s" : [ { - "value" : [ "b",": " ] - }, { - "r" : "362", - "s" : [ { - "value" : [ "Tuple{" ] - }, { - "s" : [ { - "r" : "363", - "value" : [ "c",": ","1" ] - } ] - }, { - "value" : [ "}" ] - } ] - } ] - }, { - "value" : [ "}" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "374", - "s" : [ { - "value" : [ "Tuple{" ] - }, { - "s" : [ { - "value" : [ "x",": " ] - }, { - "r" : "375", - "s" : [ { - "value" : [ "'y'" ] - } ] - } ] - }, { - "value" : [ ", " ] - }, { - "s" : [ { - "r" : "377", - "value" : [ "z",": ","2" ] - } ] - }, { - "value" : [ "}" ] - } ] - }, { - "value" : [ " }" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "389", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "Not", - "signature" : [ { - "localId" : "390", - "name" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "328", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "Equal", - "signature" : [ { - "localId" : "385", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "386", - "name" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "387", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "388", - "name" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "330", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "355", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "356", - "name" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "NamedTypeSpecifier" - } - }, - "element" : [ { - "localId" : "332", - "type" : "Tuple", - "resultTypeSpecifier" : { - "localId" : "339", - "type" : "TupleTypeSpecifier", - "element" : [ { - "localId" : "340", - "name" : "a", - "elementType" : { - "localId" : "341", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "342", - "name" : "b", - "elementType" : { - "localId" : "343", - "type" : "TupleTypeSpecifier", - "element" : [ { - "localId" : "344", - "name" : "c", - "elementType" : { - "localId" : "345", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } ] - } - } ] - }, - "element" : [ { - "name" : "a", - "value" : { - "localId" : "333", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - } - }, { - "name" : "b", - "value" : { - "localId" : "334", - "type" : "Tuple", - "resultTypeSpecifier" : { - "localId" : "336", - "type" : "TupleTypeSpecifier", - "element" : [ { - "localId" : "337", - "name" : "c", - "elementType" : { - "localId" : "338", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } ] - }, - "element" : [ { - "name" : "c", - "value" : { - "localId" : "335", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - } - } ] - } + "r" : "429", + "s" : [ { + "r" : "430", + "value" : [ "-", "1" ] + } ] } ] - }, { - "localId" : "346", - "type" : "Tuple", - "resultTypeSpecifier" : { - "localId" : "350", - "type" : "TupleTypeSpecifier", - "element" : [ { - "localId" : "351", - "name" : "x", - "elementType" : { - "localId" : "352", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "353", - "name" : "z", - "elementType" : { - "localId" : "354", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } ] - }, - "element" : [ { - "name" : "x", - "value" : { - "localId" : "347", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "y", - "type" : "Literal" - } - }, { - "name" : "z", - "value" : { - "localId" : "349", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal" - } - } ] - } ] + }, { + "value" : [ "}" ] + } ] + } ] }, { - "localId" : "358", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "383", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "384", - "name" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "NamedTypeSpecifier" - } - }, - "element" : [ { - "localId" : "360", - "type" : "Tuple", - "resultTypeSpecifier" : { - "localId" : "367", - "type" : "TupleTypeSpecifier", - "element" : [ { - "localId" : "368", - "name" : "a", - "elementType" : { - "localId" : "369", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "370", - "name" : "b", - "elementType" : { - "localId" : "371", - "type" : "TupleTypeSpecifier", - "element" : [ { - "localId" : "372", - "name" : "c", - "elementType" : { - "localId" : "373", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } ] - } - } ] - }, - "element" : [ { - "name" : "a", - "value" : { - "localId" : "361", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - } - }, { - "name" : "b", - "value" : { - "localId" : "362", - "type" : "Tuple", - "resultTypeSpecifier" : { - "localId" : "364", - "type" : "TupleTypeSpecifier", - "element" : [ { - "localId" : "365", - "name" : "c", - "elementType" : { - "localId" : "366", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } ] - }, - "element" : [ { - "name" : "c", - "value" : { - "localId" : "363", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - } - } ] - } - } ] - }, { - "localId" : "374", - "type" : "Tuple", - "resultTypeSpecifier" : { - "localId" : "378", - "type" : "TupleTypeSpecifier", - "element" : [ { - "localId" : "379", - "name" : "x", - "elementType" : { - "localId" : "380", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "381", - "name" : "z", - "elementType" : { - "localId" : "382", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } ] - }, - "element" : [ { - "name" : "x", - "value" : { - "localId" : "375", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "y", - "type" : "Literal" - } - }, { - "name" : "z", - "value" : { - "localId" : "377", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal" - } - } ] - } ] + "value" : [ "}" ] } ] - } - } - }, { - "localId" : "393", + }, { + "value" : [ ", " ] + }, { + "r" : "442", + "s" : [ { + "value" : [ "Tuple{" ] + }, { + "s" : [ { + "value" : [ "x", ": " ] + }, { + "r" : "443", + "s" : [ { + "value" : [ "'y'" ] + } ] + } ] + }, { + "value" : [ ", " ] + }, { + "s" : [ { + "r" : "445", + "value" : [ "z", ": ", "2" ] + } ] + }, { + "value" : [ "}" ] + } ] + }, { + "value" : [ " }" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Not", + "localId" : "457", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "458", + "name" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ] + } ], + "operand" : { + "type" : "Equal", + "localId" : "394", "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "UnequalTupleList", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "393", - "s" : [ { - "value" : [ "","define ","UnequalTupleList",": " ] - }, { - "r" : "457", - "s" : [ { - "r" : "396", - "s" : [ { - "value" : [ "List<" ] - }, { - "r" : "395", - "s" : [ { - "value" : [ "Any" ] - } ] - }, { - "value" : [ ">{ " ] - }, { - "r" : "398", - "s" : [ { - "value" : [ "Tuple{" ] - }, { - "s" : [ { - "r" : "399", - "value" : [ "a",": ","1" ] - } ] - }, { - "value" : [ ", " ] - }, { - "s" : [ { - "value" : [ "b",": " ] - }, { - "r" : "400", - "s" : [ { - "value" : [ "Tuple{" ] - }, { - "s" : [ { - "r" : "401", - "value" : [ "c",": ","1" ] - } ] - }, { - "value" : [ "}" ] - } ] - } ] - }, { - "value" : [ "}" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "412", - "s" : [ { - "value" : [ "Tuple{" ] - }, { - "s" : [ { - "value" : [ "x",": " ] - }, { - "r" : "413", - "s" : [ { - "value" : [ "'y'" ] - } ] - } ] - }, { - "value" : [ ", " ] - }, { - "s" : [ { - "r" : "415", - "value" : [ "z",": ","2" ] - } ] - }, { - "value" : [ "}" ] - } ] - }, { - "value" : [ " }" ] - } ] - }, { - "value" : [ " ","!="," " ] - }, { - "r" : "424", - "s" : [ { - "value" : [ "List<" ] - }, { - "r" : "423", - "s" : [ { - "value" : [ "Any" ] - } ] - }, { - "value" : [ ">{ " ] - }, { - "r" : "426", - "s" : [ { - "value" : [ "Tuple{" ] - }, { - "s" : [ { - "r" : "427", - "value" : [ "a",": ","1" ] - } ] - }, { - "value" : [ ", " ] - }, { - "s" : [ { - "value" : [ "b",": " ] - }, { - "r" : "428", - "s" : [ { - "value" : [ "Tuple{" ] - }, { - "s" : [ { - "value" : [ "c",": " ] - }, { - "r" : "429", - "s" : [ { - "r" : "430", - "value" : [ "-","1" ] - } ] - } ] - }, { - "value" : [ "}" ] - } ] - } ] - }, { - "value" : [ "}" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "442", - "s" : [ { - "value" : [ "Tuple{" ] - }, { - "s" : [ { - "value" : [ "x",": " ] - }, { - "r" : "443", - "s" : [ { - "value" : [ "'y'" ] - } ] - } ] - }, { - "value" : [ ", " ] - }, { - "s" : [ { - "r" : "445", - "value" : [ "z",": ","2" ] - } ] - }, { - "value" : [ "}" ] - } ] - }, { - "value" : [ " }" ] - } ] - } ] - } ] - } + "annotation" : [ ], + "signature" : [ { + "type" : "ListTypeSpecifier", + "localId" : "453", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "454", + "name" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } + }, { + "type" : "ListTypeSpecifier", + "localId" : "455", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "456", + "name" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } } ], - "expression" : { - "localId" : "457", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "Not", - "signature" : [ { - "localId" : "458", - "name" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "394", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "Equal", - "signature" : [ { - "localId" : "453", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "454", - "name" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "455", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "456", - "name" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "396", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "421", - "type" : "ListTypeSpecifier", + "operand" : [ { + "type" : "List", + "localId" : "396", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "421", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "422", + "name" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } + }, + "element" : [ { + "type" : "Tuple", + "localId" : "398", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "TupleTypeSpecifier", + "localId" : "405", + "annotation" : [ ], + "element" : [ { + "localId" : "406", + "name" : "a", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "407", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, { + "localId" : "408", + "name" : "b", + "annotation" : [ ], + "elementType" : { + "type" : "TupleTypeSpecifier", + "localId" : "409", + "annotation" : [ ], + "element" : [ { + "localId" : "410", + "name" : "c", + "annotation" : [ ], "elementType" : { - "localId" : "422", - "name" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "NamedTypeSpecifier" + "type" : "NamedTypeSpecifier", + "localId" : "411", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] } - }, - "element" : [ { - "localId" : "398", - "type" : "Tuple", - "resultTypeSpecifier" : { - "localId" : "405", - "type" : "TupleTypeSpecifier", - "element" : [ { - "localId" : "406", - "name" : "a", - "elementType" : { - "localId" : "407", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "408", - "name" : "b", - "elementType" : { - "localId" : "409", - "type" : "TupleTypeSpecifier", - "element" : [ { - "localId" : "410", - "name" : "c", - "elementType" : { - "localId" : "411", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } ] - } - } ] - }, - "element" : [ { - "name" : "a", - "value" : { - "localId" : "399", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - } - }, { - "name" : "b", - "value" : { - "localId" : "400", - "type" : "Tuple", - "resultTypeSpecifier" : { - "localId" : "402", - "type" : "TupleTypeSpecifier", - "element" : [ { - "localId" : "403", - "name" : "c", - "elementType" : { - "localId" : "404", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } ] - }, - "element" : [ { - "name" : "c", - "value" : { - "localId" : "401", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - } - } ] - } - } ] - }, { - "localId" : "412", - "type" : "Tuple", - "resultTypeSpecifier" : { - "localId" : "416", - "type" : "TupleTypeSpecifier", - "element" : [ { - "localId" : "417", - "name" : "x", - "elementType" : { - "localId" : "418", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "419", - "name" : "z", - "elementType" : { - "localId" : "420", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } ] - }, - "element" : [ { - "name" : "x", - "value" : { - "localId" : "413", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "y", - "type" : "Literal" - } - }, { - "name" : "z", - "value" : { - "localId" : "415", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal" - } - } ] - } ] - }, { - "localId" : "424", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "451", - "type" : "ListTypeSpecifier", + } ] + } + } ] + }, + "element" : [ { + "name" : "a", + "value" : { + "type" : "Literal", + "localId" : "399", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + } + }, { + "name" : "b", + "value" : { + "type" : "Tuple", + "localId" : "400", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "TupleTypeSpecifier", + "localId" : "402", + "annotation" : [ ], + "element" : [ { + "localId" : "403", + "name" : "c", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "404", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } ] + }, + "element" : [ { + "name" : "c", + "value" : { + "type" : "Literal", + "localId" : "401", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + } + } ] + } + } ] + }, { + "type" : "Tuple", + "localId" : "412", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "TupleTypeSpecifier", + "localId" : "416", + "annotation" : [ ], + "element" : [ { + "localId" : "417", + "name" : "x", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "418", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } + }, { + "localId" : "419", + "name" : "z", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "420", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } ] + }, + "element" : [ { + "name" : "x", + "value" : { + "type" : "Literal", + "localId" : "413", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "y", + "annotation" : [ ] + } + }, { + "name" : "z", + "value" : { + "type" : "Literal", + "localId" : "415", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "annotation" : [ ] + } + } ] + } ] + }, { + "type" : "List", + "localId" : "424", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "451", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "452", + "name" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } + }, + "element" : [ { + "type" : "Tuple", + "localId" : "426", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "TupleTypeSpecifier", + "localId" : "435", + "annotation" : [ ], + "element" : [ { + "localId" : "436", + "name" : "a", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "437", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, { + "localId" : "438", + "name" : "b", + "annotation" : [ ], + "elementType" : { + "type" : "TupleTypeSpecifier", + "localId" : "439", + "annotation" : [ ], + "element" : [ { + "localId" : "440", + "name" : "c", + "annotation" : [ ], "elementType" : { - "localId" : "452", - "name" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "NamedTypeSpecifier" + "type" : "NamedTypeSpecifier", + "localId" : "441", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] } - }, - "element" : [ { - "localId" : "426", - "type" : "Tuple", - "resultTypeSpecifier" : { - "localId" : "435", - "type" : "TupleTypeSpecifier", - "element" : [ { - "localId" : "436", - "name" : "a", - "elementType" : { - "localId" : "437", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "438", - "name" : "b", - "elementType" : { - "localId" : "439", - "type" : "TupleTypeSpecifier", - "element" : [ { - "localId" : "440", - "name" : "c", - "elementType" : { - "localId" : "441", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } ] - } - } ] - }, - "element" : [ { - "name" : "a", - "value" : { - "localId" : "427", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - } - }, { - "name" : "b", - "value" : { - "localId" : "428", - "type" : "Tuple", - "resultTypeSpecifier" : { - "localId" : "432", - "type" : "TupleTypeSpecifier", - "element" : [ { - "localId" : "433", - "name" : "c", - "elementType" : { - "localId" : "434", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } ] - }, - "element" : [ { - "name" : "c", - "value" : { - "localId" : "429", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "Negate", - "signature" : [ { - "localId" : "431", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "430", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - } - } - } ] - } - } ] - }, { - "localId" : "442", - "type" : "Tuple", - "resultTypeSpecifier" : { - "localId" : "446", - "type" : "TupleTypeSpecifier", - "element" : [ { - "localId" : "447", - "name" : "x", - "elementType" : { - "localId" : "448", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "449", - "name" : "z", - "elementType" : { - "localId" : "450", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } ] - }, - "element" : [ { - "name" : "x", - "value" : { - "localId" : "443", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "y", - "type" : "Literal" - } - }, { - "name" : "z", - "value" : { - "localId" : "445", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal" - } - } ] - } ] + } ] + } } ] - } - } - } ] - } - } + }, + "element" : [ { + "name" : "a", + "value" : { + "type" : "Literal", + "localId" : "427", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + } + }, { + "name" : "b", + "value" : { + "type" : "Tuple", + "localId" : "428", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "TupleTypeSpecifier", + "localId" : "432", + "annotation" : [ ], + "element" : [ { + "localId" : "433", + "name" : "c", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "434", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } ] + }, + "element" : [ { + "name" : "c", + "value" : { + "type" : "Negate", + "localId" : "429", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "431", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "operand" : { + "type" : "Literal", + "localId" : "430", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + } + } + } ] + } + } ] + }, { + "type" : "Tuple", + "localId" : "442", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "TupleTypeSpecifier", + "localId" : "446", + "annotation" : [ ], + "element" : [ { + "localId" : "447", + "name" : "x", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "448", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } + }, { + "localId" : "449", + "name" : "z", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "450", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } ] + }, + "element" : [ { + "name" : "x", + "value" : { + "type" : "Literal", + "localId" : "443", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "y", + "annotation" : [ ] + } + }, { + "name" : "z", + "value" : { + "type" : "Literal", + "localId" : "445", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "annotation" : [ ] + } + } ] + } ] + } ] + } + } + } ] + } + } } /* Union @@ -4786,1416 +5385,1644 @@ define nullUnionNull: (null as List) union (null as List) */ module.exports['Union'] = { - "library" : { - "localId" : "0", - "annotation" : [ { - "translatorVersion" : "3.27.0", - "translatorOptions" : "EnableDateRangeOptimization,EnableAnnotations,EnableResultTypes", - "signatureLevel" : "All", - "type" : "CqlToElmInfo" + "library" : { + "localId" : "0", + "annotation" : [ { + "type" : "CqlToElmInfo", + "translatorVersion" : "4.2.0", + "translatorOptions" : "EnableDateRangeOptimization,EnableAnnotations,EnableResultTypes", + "signatureLevel" : "All" + }, { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "430", + "s" : [ { + "value" : [ "", "library TestSnippet version '1'" ] + } ] + } + } ], + "identifier" : { + "id" : "TestSnippet", + "version" : "1" + }, + "schemaIdentifier" : { + "id" : "urn:hl7-org:elm", + "version" : "r1" + }, + "usings" : { + "def" : [ { + "localId" : "1", + "localIdentifier" : "System", + "uri" : "urn:hl7-org:elm-types:r1", + "annotation" : [ ] }, { - "type" : "Annotation", - "s" : { - "r" : "430", + "localId" : "206", + "localIdentifier" : "Simple", + "uri" : "https://github.com/cqframework/cql-execution/simple", + "version" : "1.0.0", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "206", "s" : [ { - "value" : [ "","library TestSnippet version '1'" ] - } ] - } - } ], - "identifier" : { - "id" : "TestSnippet", - "version" : "1" - }, - "schemaIdentifier" : { - "id" : "urn:hl7-org:elm", - "version" : "r1" - }, - "usings" : { - "def" : [ { - "localId" : "1", - "localIdentifier" : "System", - "uri" : "urn:hl7-org:elm-types:r1" - }, { - "localId" : "206", - "localIdentifier" : "Simple", - "uri" : "https://github.com/cqframework/cql-execution/simple", - "version" : "1.0.0", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "206", - "s" : [ { - "value" : [ "","using " ] - }, { - "s" : [ { - "value" : [ "Simple" ] - } ] - }, { - "value" : [ " version '1.0.0'" ] - } ] - } - } ] - } ] - }, - "contexts" : { - "def" : [ { - "localId" : "211", - "name" : "Patient" - } ] - }, - "statements" : { - "def" : [ { - "localId" : "209", - "name" : "Patient", - "context" : "Patient", - "expression" : { - "localId" : "210", - "type" : "SingletonFrom", - "signature" : [ ], - "operand" : { - "localId" : "208", - "dataType" : "{https://github.com/cqframework/cql-execution/simple}Patient", - "type" : "Retrieve", - "include" : [ ], - "codeFilter" : [ ], - "dateFilter" : [ ], - "otherFilter" : [ ] - } - } - }, { - "localId" : "214", - "name" : "OneToTen", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "214", - "s" : [ { - "value" : [ "","define ","OneToTen",": " ] - }, { - "r" : "231", - "s" : [ { - "r" : "215", - "s" : [ { - "r" : "216", - "value" : [ "{","1",", ","2",", ","3",", ","4",", ","5","}" ] - } ] - }, { - "value" : [ " union " ] - }, { - "r" : "223", - "s" : [ { - "r" : "224", - "value" : [ "{","6",", ","7",", ","8",", ","9",", ","10","}" ] - } ] - } ] - } ] - } - } ], + "value" : [ "", "using " ] + }, { + "s" : [ { + "value" : [ "Simple" ] + } ] + }, { + "value" : [ " version '1.0.0'" ] + } ] + } + } ] + } ] + }, + "contexts" : { + "def" : [ { + "localId" : "211", + "name" : "Patient", + "annotation" : [ ] + } ] + }, + "statements" : { + "def" : [ { + "localId" : "209", + "name" : "Patient", + "context" : "Patient", + "annotation" : [ ], + "expression" : { + "type" : "SingletonFrom", + "localId" : "210", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Retrieve", + "localId" : "208", + "dataType" : "{https://github.com/cqframework/cql-execution/simple}Patient", + "annotation" : [ ], + "include" : [ ], + "codeFilter" : [ ], + "dateFilter" : [ ], + "otherFilter" : [ ] + } + } + }, { + "localId" : "214", + "name" : "OneToTen", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "214", + "s" : [ { + "value" : [ "", "define ", "OneToTen", ": " ] + }, { + "r" : "231", + "s" : [ { + "r" : "215", + "s" : [ { + "r" : "216", + "value" : [ "{", "1", ", ", "2", ", ", "3", ", ", "4", ", ", "5", "}" ] + } ] + }, { + "value" : [ " union " ] + }, { + "r" : "223", + "s" : [ { + "r" : "224", + "value" : [ "{", "6", ", ", "7", ", ", "8", ", ", "9", ", ", "10", "}" ] + } ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "238", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "239", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "expression" : { + "type" : "Union", + "localId" : "231", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "236", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "237", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "signature" : [ { + "type" : "ListTypeSpecifier", + "localId" : "232", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "233", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, { + "type" : "ListTypeSpecifier", + "localId" : "234", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "235", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "List", + "localId" : "215", + "annotation" : [ ], "resultTypeSpecifier" : { - "localId" : "238", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "239", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } + "type" : "ListTypeSpecifier", + "localId" : "221", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "222", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } }, - "expression" : { - "localId" : "231", - "type" : "Union", - "resultTypeSpecifier" : { - "localId" : "236", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "237", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "signature" : [ { - "localId" : "232", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "233", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "234", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "235", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "215", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "221", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "222", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "element" : [ { - "localId" : "216", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, { - "localId" : "217", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal" - }, { - "localId" : "218", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, { - "localId" : "219", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "4", - "type" : "Literal" - }, { - "localId" : "220", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal" - } ] - }, { - "localId" : "223", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "229", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "230", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "element" : [ { - "localId" : "224", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "6", - "type" : "Literal" - }, { - "localId" : "225", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "7", - "type" : "Literal" - }, { - "localId" : "226", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "8", - "type" : "Literal" - }, { - "localId" : "227", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "9", - "type" : "Literal" - }, { - "localId" : "228", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal" - } ] - } ] - } - }, { - "localId" : "242", - "name" : "OneToFiveOverlapped", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "242", - "s" : [ { - "value" : [ "","define ","OneToFiveOverlapped",": " ] - }, { - "r" : "256", - "s" : [ { - "r" : "243", - "s" : [ { - "r" : "244", - "value" : [ "{","1",", ","2",", ","3",", ","4","}" ] - } ] - }, { - "value" : [ " union " ] - }, { - "r" : "250", - "s" : [ { - "r" : "251", - "value" : [ "{","3",", ","4",", ","5","}" ] - } ] - } ] - } ] - } - } ], + "element" : [ { + "type" : "Literal", + "localId" : "216", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "217", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "218", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "219", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "4", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "220", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "5", + "annotation" : [ ] + } ] + }, { + "type" : "List", + "localId" : "223", + "annotation" : [ ], "resultTypeSpecifier" : { - "localId" : "263", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "264", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } + "type" : "ListTypeSpecifier", + "localId" : "229", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "230", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } }, - "expression" : { - "localId" : "256", - "type" : "Union", - "resultTypeSpecifier" : { - "localId" : "261", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "262", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "signature" : [ { - "localId" : "257", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "258", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "259", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "260", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "243", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "248", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "249", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "element" : [ { - "localId" : "244", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, { - "localId" : "245", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal" - }, { - "localId" : "246", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, { - "localId" : "247", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "4", - "type" : "Literal" - } ] - }, { - "localId" : "250", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "254", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "255", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "element" : [ { - "localId" : "251", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, { - "localId" : "252", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "4", - "type" : "Literal" - }, { - "localId" : "253", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal" - } ] - } ] - } - }, { - "localId" : "267", - "name" : "OneToFiveOverlappedWithNulls", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "267", - "s" : [ { - "value" : [ "","define ","OneToFiveOverlappedWithNulls",": " ] - }, { - "r" : "285", - "s" : [ { - "r" : "268", - "s" : [ { - "r" : "269", - "value" : [ "{","1",", ","null",", ","2",", ","3",", ","4","}" ] - } ] - }, { - "value" : [ " union " ] - }, { - "r" : "277", - "s" : [ { - "r" : "278", - "value" : [ "{","3",", ","4",", ","5",", ","null","}" ] - } ] - } ] - } ] - } - } ], + "element" : [ { + "type" : "Literal", + "localId" : "224", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "6", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "225", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "7", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "226", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "8", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "227", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "9", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "228", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "10", + "annotation" : [ ] + } ] + } ] + } + }, { + "localId" : "242", + "name" : "OneToFiveOverlapped", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "242", + "s" : [ { + "value" : [ "", "define ", "OneToFiveOverlapped", ": " ] + }, { + "r" : "256", + "s" : [ { + "r" : "243", + "s" : [ { + "r" : "244", + "value" : [ "{", "1", ", ", "2", ", ", "3", ", ", "4", "}" ] + } ] + }, { + "value" : [ " union " ] + }, { + "r" : "250", + "s" : [ { + "r" : "251", + "value" : [ "{", "3", ", ", "4", ", ", "5", "}" ] + } ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "263", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "264", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "expression" : { + "type" : "Union", + "localId" : "256", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "261", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "262", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "signature" : [ { + "type" : "ListTypeSpecifier", + "localId" : "257", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "258", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, { + "type" : "ListTypeSpecifier", + "localId" : "259", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "260", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "List", + "localId" : "243", + "annotation" : [ ], "resultTypeSpecifier" : { - "localId" : "292", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "293", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } + "type" : "ListTypeSpecifier", + "localId" : "248", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "249", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } }, - "expression" : { - "localId" : "285", - "type" : "Union", - "resultTypeSpecifier" : { - "localId" : "290", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "291", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "signature" : [ { - "localId" : "286", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "287", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "288", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "289", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "268", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "275", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "276", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "element" : [ { - "localId" : "269", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, { - "localId" : "274", - "asType" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "As", - "signature" : [ ], - "operand" : { - "localId" : "270", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - } - }, { - "localId" : "271", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal" - }, { - "localId" : "272", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, { - "localId" : "273", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "4", - "type" : "Literal" - } ] - }, { - "localId" : "277", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "283", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "284", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "element" : [ { - "localId" : "278", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, { - "localId" : "279", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "4", - "type" : "Literal" - }, { - "localId" : "280", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal" - }, { - "localId" : "282", - "asType" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "As", - "signature" : [ ], - "operand" : { - "localId" : "281", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - } - } ] - } ] - } - }, { - "localId" : "296", - "name" : "Disjoint", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "296", - "s" : [ { - "value" : [ "","define ","Disjoint",": " ] - }, { - "r" : "307", - "s" : [ { - "r" : "297", - "s" : [ { - "r" : "298", - "value" : [ "{","1",", ","2","}" ] - } ] - }, { - "value" : [ " union " ] - }, { - "r" : "302", - "s" : [ { - "r" : "303", - "value" : [ "{","4",", ","5","}" ] - } ] - } ] - } ] - } - } ], + "element" : [ { + "type" : "Literal", + "localId" : "244", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "245", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "246", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "247", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "4", + "annotation" : [ ] + } ] + }, { + "type" : "List", + "localId" : "250", + "annotation" : [ ], "resultTypeSpecifier" : { - "localId" : "314", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "315", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } + "type" : "ListTypeSpecifier", + "localId" : "254", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "255", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } }, - "expression" : { - "localId" : "307", - "type" : "Union", - "resultTypeSpecifier" : { - "localId" : "312", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "313", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "signature" : [ { - "localId" : "308", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "309", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "310", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "311", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "297", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "300", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "301", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "element" : [ { - "localId" : "298", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, { - "localId" : "299", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal" - } ] - }, { - "localId" : "302", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "305", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "306", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "element" : [ { - "localId" : "303", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "4", - "type" : "Literal" - }, { - "localId" : "304", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal" - } ] - } ] + "element" : [ { + "type" : "Literal", + "localId" : "251", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "252", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "4", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "253", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "5", + "annotation" : [ ] + } ] + } ] + } + }, { + "localId" : "267", + "name" : "OneToFiveOverlappedWithNulls", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "267", + "s" : [ { + "value" : [ "", "define ", "OneToFiveOverlappedWithNulls", ": " ] + }, { + "r" : "285", + "s" : [ { + "r" : "268", + "s" : [ { + "r" : "269", + "value" : [ "{", "1", ", ", "null", ", ", "2", ", ", "3", ", ", "4", "}" ] + } ] + }, { + "value" : [ " union " ] + }, { + "r" : "277", + "s" : [ { + "r" : "278", + "value" : [ "{", "3", ", ", "4", ", ", "5", ", ", "null", "}" ] + } ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "292", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "293", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "expression" : { + "type" : "Union", + "localId" : "285", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "290", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "291", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] } - }, { - "localId" : "318", - "name" : "NestedToFifteen", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "318", - "s" : [ { - "value" : [ "","define ","NestedToFifteen",": " ] - }, { - "r" : "375", - "s" : [ { - "r" : "362", - "s" : [ { - "r" : "344", - "s" : [ { - "r" : "331", - "s" : [ { - "r" : "319", - "s" : [ { - "r" : "320", - "value" : [ "{","1",", ","2",", ","3","}" ] - } ] - }, { - "value" : [ " union " ] - }, { - "r" : "325", - "s" : [ { - "r" : "326", - "value" : [ "{","4",", ","5",", ","6","}" ] - } ] - } ] - }, { - "value" : [ " union " ] - }, { - "r" : "338", - "s" : [ { - "r" : "339", - "value" : [ "{","7"," ,","8"," , ","9","}" ] - } ] - } ] - }, { - "value" : [ " union " ] - }, { - "r" : "351", - "s" : [ { - "r" : "352", - "value" : [ "{","10",", ","11",", ","12","}" ] - } ] - } ] - }, { - "value" : [ " union " ] - }, { - "r" : "369", - "s" : [ { - "r" : "370", - "value" : [ "{","13",", ","14",", ","15","}" ] - } ] - } ] - } ] - } - } ], + }, + "signature" : [ { + "type" : "ListTypeSpecifier", + "localId" : "286", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "287", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, { + "type" : "ListTypeSpecifier", + "localId" : "288", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "289", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "List", + "localId" : "268", + "annotation" : [ ], "resultTypeSpecifier" : { - "localId" : "382", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "383", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } + "type" : "ListTypeSpecifier", + "localId" : "275", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "276", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } }, - "expression" : { - "localId" : "375", - "type" : "Union", - "resultTypeSpecifier" : { - "localId" : "380", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "381", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "signature" : [ { - "localId" : "376", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "377", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "378", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "379", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "362", - "type" : "Union", - "resultTypeSpecifier" : { - "localId" : "367", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "368", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "signature" : [ { - "localId" : "363", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "364", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "365", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "366", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "331", - "type" : "Union", - "resultTypeSpecifier" : { - "localId" : "336", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "337", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "signature" : [ { - "localId" : "332", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "333", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "334", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "335", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "319", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "323", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "324", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "element" : [ { - "localId" : "320", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, { - "localId" : "321", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal" - }, { - "localId" : "322", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - } ] - }, { - "localId" : "325", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "329", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "330", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "element" : [ { - "localId" : "326", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "4", - "type" : "Literal" - }, { - "localId" : "327", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal" - }, { - "localId" : "328", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "6", - "type" : "Literal" - } ] - } ] - }, { - "localId" : "357", - "type" : "Union", - "signature" : [ { - "localId" : "358", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "359", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "360", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "361", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "338", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "342", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "343", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "element" : [ { - "localId" : "339", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "7", - "type" : "Literal" - }, { - "localId" : "340", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "8", - "type" : "Literal" - }, { - "localId" : "341", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "9", - "type" : "Literal" - } ] - }, { - "localId" : "351", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "355", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "356", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "element" : [ { - "localId" : "352", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal" - }, { - "localId" : "353", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "11", - "type" : "Literal" - }, { - "localId" : "354", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "12", - "type" : "Literal" - } ] - } ] - } ] - }, { - "localId" : "369", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "373", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "374", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "element" : [ { - "localId" : "370", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "13", - "type" : "Literal" - }, { - "localId" : "371", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "14", - "type" : "Literal" - }, { - "localId" : "372", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal" - } ] - } ] - } - }, { - "localId" : "386", - "name" : "NullUnion", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "386", - "s" : [ { - "value" : [ "","define ","NullUnion",": " ] - }, { - "r" : "394", - "s" : [ { - "r" : "387", - "value" : [ "null"," union " ] - }, { - "r" : "388", - "s" : [ { - "r" : "389", - "value" : [ "{","1",", ","2",", ","3","}" ] - } ] - } ] - } ] - } - } ], + "element" : [ { + "type" : "Literal", + "localId" : "269", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, { + "type" : "As", + "localId" : "274", + "asType" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Null", + "localId" : "270", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } + }, { + "type" : "Literal", + "localId" : "271", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "272", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "273", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "4", + "annotation" : [ ] + } ] + }, { + "type" : "List", + "localId" : "277", + "annotation" : [ ], "resultTypeSpecifier" : { - "localId" : "404", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "405", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } + "type" : "ListTypeSpecifier", + "localId" : "283", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "284", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } }, - "expression" : { - "localId" : "394", - "type" : "Union", - "resultTypeSpecifier" : { - "localId" : "402", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "403", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "signature" : [ { - "localId" : "398", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "399", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "400", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "401", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "395", - "type" : "As", - "signature" : [ ], - "operand" : { - "localId" : "387", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - }, - "asTypeSpecifier" : { - "localId" : "396", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "397", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } - }, { - "localId" : "388", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "392", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "393", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "element" : [ { - "localId" : "389", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, { - "localId" : "390", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal" - }, { - "localId" : "391", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - } ] - } ] - } - }, { - "localId" : "408", - "name" : "UnionNull", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "408", + "element" : [ { + "type" : "Literal", + "localId" : "278", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "279", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "4", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "280", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "5", + "annotation" : [ ] + }, { + "type" : "As", + "localId" : "282", + "asType" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Null", + "localId" : "281", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } + } ] + } ] + } + }, { + "localId" : "296", + "name" : "Disjoint", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "296", + "s" : [ { + "value" : [ "", "define ", "Disjoint", ": " ] + }, { + "r" : "307", + "s" : [ { + "r" : "297", + "s" : [ { + "r" : "298", + "value" : [ "{", "1", ", ", "2", "}" ] + } ] + }, { + "value" : [ " union " ] + }, { + "r" : "302", + "s" : [ { + "r" : "303", + "value" : [ "{", "4", ", ", "5", "}" ] + } ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "314", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "315", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "expression" : { + "type" : "Union", + "localId" : "307", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "312", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "313", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "signature" : [ { + "type" : "ListTypeSpecifier", + "localId" : "308", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "309", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, { + "type" : "ListTypeSpecifier", + "localId" : "310", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "311", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "List", + "localId" : "297", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "300", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "301", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "element" : [ { + "type" : "Literal", + "localId" : "298", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "299", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "annotation" : [ ] + } ] + }, { + "type" : "List", + "localId" : "302", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "305", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "306", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "element" : [ { + "type" : "Literal", + "localId" : "303", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "4", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "304", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "5", + "annotation" : [ ] + } ] + } ] + } + }, { + "localId" : "318", + "name" : "NestedToFifteen", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "318", + "s" : [ { + "value" : [ "", "define ", "NestedToFifteen", ": " ] + }, { + "r" : "375", + "s" : [ { + "r" : "362", + "s" : [ { + "r" : "344", "s" : [ { - "value" : [ "","define ","UnionNull",": " ] - }, { - "r" : "416", - "s" : [ { - "r" : "409", - "s" : [ { - "r" : "410", - "value" : [ "{","1",", ","2",", ","3","}" ] - } ] - }, { - "r" : "415", - "value" : [ " union ","null" ] - } ] - } ] - } - } ], + "r" : "331", + "s" : [ { + "r" : "319", + "s" : [ { + "r" : "320", + "value" : [ "{", "1", ", ", "2", ", ", "3", "}" ] + } ] + }, { + "value" : [ " union " ] + }, { + "r" : "325", + "s" : [ { + "r" : "326", + "value" : [ "{", "4", ", ", "5", ", ", "6", "}" ] + } ] + } ] + }, { + "value" : [ " union " ] + }, { + "r" : "338", + "s" : [ { + "r" : "339", + "value" : [ "{", "7", " ,", "8", " , ", "9", "}" ] + } ] + } ] + }, { + "value" : [ " union " ] + }, { + "r" : "351", + "s" : [ { + "r" : "352", + "value" : [ "{", "10", ", ", "11", ", ", "12", "}" ] + } ] + } ] + }, { + "value" : [ " union " ] + }, { + "r" : "369", + "s" : [ { + "r" : "370", + "value" : [ "{", "13", ", ", "14", ", ", "15", "}" ] + } ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "382", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "383", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "expression" : { + "type" : "Union", + "localId" : "375", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "380", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "381", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "signature" : [ { + "type" : "ListTypeSpecifier", + "localId" : "376", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "377", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, { + "type" : "ListTypeSpecifier", + "localId" : "378", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "379", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "Union", + "localId" : "362", + "annotation" : [ ], "resultTypeSpecifier" : { - "localId" : "426", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "427", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } + "type" : "ListTypeSpecifier", + "localId" : "367", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "368", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } }, - "expression" : { - "localId" : "416", - "type" : "Union", - "resultTypeSpecifier" : { - "localId" : "424", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "425", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "signature" : [ { - "localId" : "420", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "421", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "422", + "signature" : [ { + "type" : "ListTypeSpecifier", + "localId" : "363", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "364", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, { + "type" : "ListTypeSpecifier", + "localId" : "365", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "366", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "Union", + "localId" : "331", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "336", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "337", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "signature" : [ { + "type" : "ListTypeSpecifier", + "localId" : "332", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "333", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, { + "type" : "ListTypeSpecifier", + "localId" : "334", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "335", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "List", + "localId" : "319", + "annotation" : [ ], + "resultTypeSpecifier" : { "type" : "ListTypeSpecifier", + "localId" : "323", + "annotation" : [ ], "elementType" : { - "localId" : "423", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "409", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "413", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "414", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "element" : [ { - "localId" : "410", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, { - "localId" : "411", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal" - }, { - "localId" : "412", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - } ] - }, { - "localId" : "417", - "type" : "As", - "signature" : [ ], - "operand" : { - "localId" : "415", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - }, - "asTypeSpecifier" : { - "localId" : "418", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "419", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } + "type" : "NamedTypeSpecifier", + "localId" : "324", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] } - } ] + }, + "element" : [ { + "type" : "Literal", + "localId" : "320", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "321", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "322", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + } ] + }, { + "type" : "List", + "localId" : "325", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "329", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "330", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "element" : [ { + "type" : "Literal", + "localId" : "326", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "4", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "327", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "5", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "328", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "6", + "annotation" : [ ] + } ] + } ] + }, { + "type" : "Union", + "localId" : "357", + "annotation" : [ ], + "signature" : [ { + "type" : "ListTypeSpecifier", + "localId" : "358", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "359", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, { + "type" : "ListTypeSpecifier", + "localId" : "360", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "361", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "List", + "localId" : "338", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "342", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "343", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "element" : [ { + "type" : "Literal", + "localId" : "339", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "7", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "340", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "8", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "341", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "9", + "annotation" : [ ] + } ] + }, { + "type" : "List", + "localId" : "351", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "355", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "356", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "element" : [ { + "type" : "Literal", + "localId" : "352", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "10", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "353", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "11", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "354", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "12", + "annotation" : [ ] + } ] + } ] + } ] + }, { + "type" : "List", + "localId" : "369", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "373", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "374", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "element" : [ { + "type" : "Literal", + "localId" : "370", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "13", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "371", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "14", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "372", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "15", + "annotation" : [ ] + } ] + } ] + } + }, { + "localId" : "386", + "name" : "NullUnion", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "386", + "s" : [ { + "value" : [ "", "define ", "NullUnion", ": " ] + }, { + "r" : "394", + "s" : [ { + "r" : "387", + "value" : [ "null", " union " ] + }, { + "r" : "388", + "s" : [ { + "r" : "389", + "value" : [ "{", "1", ", ", "2", ", ", "3", "}" ] + } ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "404", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "405", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "expression" : { + "type" : "Union", + "localId" : "394", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "402", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "403", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] } - }, { - "localId" : "430", - "name" : "nullUnionNull", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "430", + }, + "signature" : [ { + "type" : "ListTypeSpecifier", + "localId" : "398", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "399", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, { + "type" : "ListTypeSpecifier", + "localId" : "400", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "401", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "As", + "localId" : "395", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Null", + "localId" : "387", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + }, + "asTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "396", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "397", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } + }, { + "type" : "List", + "localId" : "388", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "392", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "393", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "element" : [ { + "type" : "Literal", + "localId" : "389", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "390", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "391", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + } ] + } ] + } + }, { + "localId" : "408", + "name" : "UnionNull", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "408", + "s" : [ { + "value" : [ "", "define ", "UnionNull", ": " ] + }, { + "r" : "416", + "s" : [ { + "r" : "409", + "s" : [ { + "r" : "410", + "value" : [ "{", "1", ", ", "2", ", ", "3", "}" ] + } ] + }, { + "r" : "415", + "value" : [ " union ", "null" ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "426", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "427", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "expression" : { + "type" : "Union", + "localId" : "416", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "424", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "425", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "signature" : [ { + "type" : "ListTypeSpecifier", + "localId" : "420", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "421", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, { + "type" : "ListTypeSpecifier", + "localId" : "422", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "423", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "List", + "localId" : "409", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "413", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "414", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "element" : [ { + "type" : "Literal", + "localId" : "410", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "411", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "412", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + } ] + }, { + "type" : "As", + "localId" : "417", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Null", + "localId" : "415", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + }, + "asTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "418", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "419", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } + } ] + } + }, { + "localId" : "430", + "name" : "nullUnionNull", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "430", + "s" : [ { + "value" : [ "", "define ", "nullUnionNull", ": " ] + }, { + "r" : "451", + "s" : [ { + "r" : "431", + "s" : [ { + "value" : [ "(" ] + }, { + "r" : "431", "s" : [ { - "value" : [ "","define ","nullUnionNull",": " ] - }, { - "r" : "451", - "s" : [ { - "r" : "431", - "s" : [ { - "value" : [ "(" ] - }, { - "r" : "431", - "s" : [ { - "r" : "432", - "value" : [ "null"," as " ] - }, { - "r" : "433", - "s" : [ { - "value" : [ "List<" ] - }, { - "r" : "434", - "s" : [ { - "value" : [ "String" ] - } ] - }, { - "value" : [ ">" ] - } ] - } ] - }, { - "value" : [ ")" ] - } ] - }, { - "value" : [ " union " ] - }, { - "r" : "441", - "s" : [ { - "value" : [ "(" ] - }, { - "r" : "441", - "s" : [ { - "r" : "442", - "value" : [ "null"," as " ] - }, { - "r" : "443", - "s" : [ { - "value" : [ "List<" ] - }, { - "r" : "444", - "s" : [ { - "value" : [ "String" ] - } ] - }, { - "value" : [ ">" ] - } ] - } ] - }, { - "value" : [ ")" ] - } ] - } ] - } ] - } - } ], + "r" : "432", + "value" : [ "null", " as " ] + }, { + "r" : "433", + "s" : [ { + "value" : [ "List<" ] + }, { + "r" : "434", + "s" : [ { + "value" : [ "String" ] + } ] + }, { + "value" : [ ">" ] + } ] + } ] + }, { + "value" : [ ")" ] + } ] + }, { + "value" : [ " union " ] + }, { + "r" : "441", + "s" : [ { + "value" : [ "(" ] + }, { + "r" : "441", + "s" : [ { + "r" : "442", + "value" : [ "null", " as " ] + }, { + "r" : "443", + "s" : [ { + "value" : [ "List<" ] + }, { + "r" : "444", + "s" : [ { + "value" : [ "String" ] + } ] + }, { + "value" : [ ">" ] + } ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "458", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "459", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } + }, + "expression" : { + "type" : "Union", + "localId" : "451", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "456", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "457", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } + }, + "signature" : [ { + "type" : "ListTypeSpecifier", + "localId" : "452", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "453", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } + }, { + "type" : "ListTypeSpecifier", + "localId" : "454", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "455", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "As", + "localId" : "431", + "strict" : false, + "annotation" : [ ], "resultTypeSpecifier" : { - "localId" : "458", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "459", + "type" : "ListTypeSpecifier", + "localId" : "439", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "440", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } + }, + "signature" : [ ], + "operand" : { + "type" : "Null", + "localId" : "432", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + }, + "asTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "433", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "435", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "436", "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } + "annotation" : [ ] + } + }, + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "434", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } + } + }, { + "type" : "As", + "localId" : "441", + "strict" : false, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "449", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "450", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } }, - "expression" : { - "localId" : "451", - "type" : "Union", - "resultTypeSpecifier" : { - "localId" : "456", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "457", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } - }, - "signature" : [ { - "localId" : "452", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "453", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "454", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "455", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "431", - "strict" : false, - "type" : "As", - "resultTypeSpecifier" : { - "localId" : "439", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "440", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } - }, - "signature" : [ ], - "operand" : { - "localId" : "432", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - }, - "asTypeSpecifier" : { - "localId" : "433", - "type" : "ListTypeSpecifier", - "resultTypeSpecifier" : { - "localId" : "435", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "436", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } - }, - "elementType" : { - "localId" : "434", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } - } - }, { - "localId" : "441", - "strict" : false, - "type" : "As", - "resultTypeSpecifier" : { - "localId" : "449", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "450", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } - }, - "signature" : [ ], - "operand" : { - "localId" : "442", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - }, - "asTypeSpecifier" : { - "localId" : "443", - "type" : "ListTypeSpecifier", - "resultTypeSpecifier" : { - "localId" : "445", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "446", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } - }, - "elementType" : { - "localId" : "444", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } - } - } ] + "signature" : [ ], + "operand" : { + "type" : "Null", + "localId" : "442", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + }, + "asTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "443", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "445", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "446", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } + }, + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "444", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } } - } ] - } - } + } ] + } + } ] + } + } } /* Except @@ -6217,1808 +7044,2099 @@ define NullExcept: null except {1, 2, 3, 4, 5} */ module.exports['Except'] = { - "library" : { - "localId" : "0", - "annotation" : [ { - "translatorVersion" : "3.27.0", - "translatorOptions" : "EnableDateRangeOptimization,EnableAnnotations,EnableResultTypes", - "signatureLevel" : "All", - "type" : "CqlToElmInfo" + "library" : { + "localId" : "0", + "annotation" : [ { + "type" : "CqlToElmInfo", + "translatorVersion" : "4.2.0", + "translatorOptions" : "EnableDateRangeOptimization,EnableAnnotations,EnableResultTypes", + "signatureLevel" : "All" + }, { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "500", + "s" : [ { + "value" : [ "", "library TestSnippet version '1'" ] + } ] + } + } ], + "identifier" : { + "id" : "TestSnippet", + "version" : "1" + }, + "schemaIdentifier" : { + "id" : "urn:hl7-org:elm", + "version" : "r1" + }, + "usings" : { + "def" : [ { + "localId" : "1", + "localIdentifier" : "System", + "uri" : "urn:hl7-org:elm-types:r1", + "annotation" : [ ] + }, { + "localId" : "206", + "localIdentifier" : "Simple", + "uri" : "https://github.com/cqframework/cql-execution/simple", + "version" : "1.0.0", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "206", + "s" : [ { + "value" : [ "", "using " ] + }, { + "s" : [ { + "value" : [ "Simple" ] + } ] + }, { + "value" : [ " version '1.0.0'" ] + } ] + } + } ] + } ] + }, + "contexts" : { + "def" : [ { + "localId" : "211", + "name" : "Patient", + "annotation" : [ ] + } ] + }, + "statements" : { + "def" : [ { + "localId" : "209", + "name" : "Patient", + "context" : "Patient", + "annotation" : [ ], + "expression" : { + "type" : "SingletonFrom", + "localId" : "210", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Retrieve", + "localId" : "208", + "dataType" : "{https://github.com/cqframework/cql-execution/simple}Patient", + "annotation" : [ ], + "include" : [ ], + "codeFilter" : [ ], + "dateFilter" : [ ], + "otherFilter" : [ ] + } + } + }, { + "localId" : "214", + "name" : "ExceptThreeFour", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "214", + "s" : [ { + "value" : [ "", "define ", "ExceptThreeFour", ": " ] + }, { + "r" : "228", + "s" : [ { + "r" : "215", + "s" : [ { + "r" : "216", + "value" : [ "{", "1", ", ", "2", ", ", "3", ", ", "4", ", ", "5", "}" ] + } ] + }, { + "value" : [ " except " ] + }, { + "r" : "223", + "s" : [ { + "r" : "224", + "value" : [ "{", "3", ", ", "4", "}" ] + } ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "235", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "236", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "expression" : { + "type" : "Except", + "localId" : "228", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "233", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "234", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "signature" : [ { + "type" : "ListTypeSpecifier", + "localId" : "229", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "230", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, { + "type" : "ListTypeSpecifier", + "localId" : "231", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "232", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "List", + "localId" : "215", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "221", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "222", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "element" : [ { + "type" : "Literal", + "localId" : "216", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "217", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "218", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "219", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "4", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "220", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "5", + "annotation" : [ ] + } ] + }, { + "type" : "List", + "localId" : "223", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "226", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "227", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "element" : [ { + "type" : "Literal", + "localId" : "224", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "225", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "4", + "annotation" : [ ] + } ] + } ] + } }, { - "type" : "Annotation", - "s" : { - "r" : "500", + "localId" : "239", + "name" : "ThreeFourExcept", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "239", "s" : [ { - "value" : [ "","library TestSnippet version '1'" ] - } ] - } - } ], - "identifier" : { - "id" : "TestSnippet", - "version" : "1" - }, - "schemaIdentifier" : { - "id" : "urn:hl7-org:elm", - "version" : "r1" - }, - "usings" : { - "def" : [ { - "localId" : "1", - "localIdentifier" : "System", - "uri" : "urn:hl7-org:elm-types:r1" - }, { - "localId" : "206", - "localIdentifier" : "Simple", - "uri" : "https://github.com/cqframework/cql-execution/simple", - "version" : "1.0.0", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "206", - "s" : [ { - "value" : [ "","using " ] - }, { - "s" : [ { - "value" : [ "Simple" ] - } ] - }, { - "value" : [ " version '1.0.0'" ] - } ] - } - } ] - } ] - }, - "contexts" : { - "def" : [ { - "localId" : "211", - "name" : "Patient" - } ] - }, - "statements" : { - "def" : [ { - "localId" : "209", - "name" : "Patient", - "context" : "Patient", - "expression" : { - "localId" : "210", - "type" : "SingletonFrom", - "signature" : [ ], - "operand" : { - "localId" : "208", - "dataType" : "{https://github.com/cqframework/cql-execution/simple}Patient", - "type" : "Retrieve", - "include" : [ ], - "codeFilter" : [ ], - "dateFilter" : [ ], - "otherFilter" : [ ] - } - } - }, { - "localId" : "214", - "name" : "ExceptThreeFour", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "214", - "s" : [ { - "value" : [ "","define ","ExceptThreeFour",": " ] - }, { - "r" : "228", - "s" : [ { - "r" : "215", - "s" : [ { - "r" : "216", - "value" : [ "{","1",", ","2",", ","3",", ","4",", ","5","}" ] - } ] - }, { - "value" : [ " except " ] - }, { - "r" : "223", - "s" : [ { - "r" : "224", - "value" : [ "{","3",", ","4","}" ] - } ] - } ] - } ] - } - } ], + "value" : [ "", "define ", "ThreeFourExcept", ": " ] + }, { + "r" : "253", + "s" : [ { + "r" : "240", + "s" : [ { + "r" : "241", + "value" : [ "{", "3", ", ", "4", "}" ] + } ] + }, { + "value" : [ " except " ] + }, { + "r" : "245", + "s" : [ { + "r" : "246", + "value" : [ "{", "1", ", ", "2", ", ", "3", ", ", "4", ", ", "5", "}" ] + } ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "260", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "261", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "expression" : { + "type" : "Except", + "localId" : "253", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "258", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "259", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "signature" : [ { + "type" : "ListTypeSpecifier", + "localId" : "254", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "255", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, { + "type" : "ListTypeSpecifier", + "localId" : "256", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "257", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "List", + "localId" : "240", + "annotation" : [ ], "resultTypeSpecifier" : { - "localId" : "235", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "236", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } + "type" : "ListTypeSpecifier", + "localId" : "243", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "244", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } }, - "expression" : { - "localId" : "228", - "type" : "Except", - "resultTypeSpecifier" : { - "localId" : "233", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "234", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "signature" : [ { - "localId" : "229", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "230", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "231", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "232", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "215", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "221", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "222", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "element" : [ { - "localId" : "216", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, { - "localId" : "217", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal" - }, { - "localId" : "218", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, { - "localId" : "219", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "4", - "type" : "Literal" - }, { - "localId" : "220", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal" - } ] - }, { - "localId" : "223", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "226", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "227", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "element" : [ { - "localId" : "224", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, { - "localId" : "225", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "4", - "type" : "Literal" - } ] - } ] + "element" : [ { + "type" : "Literal", + "localId" : "241", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "242", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "4", + "annotation" : [ ] + } ] + }, { + "type" : "List", + "localId" : "245", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "251", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "252", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "element" : [ { + "type" : "Literal", + "localId" : "246", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "247", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "248", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "249", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "4", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "250", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "5", + "annotation" : [ ] + } ] + } ] + } + }, { + "localId" : "264", + "name" : "ExceptFiveThree", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "264", + "s" : [ { + "value" : [ "", "define ", "ExceptFiveThree", ": " ] + }, { + "r" : "278", + "s" : [ { + "r" : "265", + "s" : [ { + "r" : "266", + "value" : [ "{", "1", ", ", "2", ", ", "3", ", ", "4", ", ", "5", "}" ] + } ] + }, { + "value" : [ " except " ] + }, { + "r" : "273", + "s" : [ { + "r" : "274", + "value" : [ "{", "5", ", ", "3", "}" ] + } ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "285", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "286", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "expression" : { + "type" : "Except", + "localId" : "278", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "283", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "284", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] } - }, { - "localId" : "239", - "name" : "ThreeFourExcept", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "239", - "s" : [ { - "value" : [ "","define ","ThreeFourExcept",": " ] - }, { - "r" : "253", - "s" : [ { - "r" : "240", - "s" : [ { - "r" : "241", - "value" : [ "{","3",", ","4","}" ] - } ] - }, { - "value" : [ " except " ] - }, { - "r" : "245", - "s" : [ { - "r" : "246", - "value" : [ "{","1",", ","2",", ","3",", ","4",", ","5","}" ] - } ] - } ] - } ] - } - } ], + }, + "signature" : [ { + "type" : "ListTypeSpecifier", + "localId" : "279", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "280", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, { + "type" : "ListTypeSpecifier", + "localId" : "281", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "282", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "List", + "localId" : "265", + "annotation" : [ ], "resultTypeSpecifier" : { - "localId" : "260", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "261", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } + "type" : "ListTypeSpecifier", + "localId" : "271", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "272", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } }, - "expression" : { - "localId" : "253", - "type" : "Except", - "resultTypeSpecifier" : { - "localId" : "258", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "259", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "signature" : [ { - "localId" : "254", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "255", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "256", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "257", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "240", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "243", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "244", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "element" : [ { - "localId" : "241", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, { - "localId" : "242", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "4", - "type" : "Literal" - } ] - }, { - "localId" : "245", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "251", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "252", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "element" : [ { - "localId" : "246", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, { - "localId" : "247", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal" - }, { - "localId" : "248", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, { - "localId" : "249", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "4", - "type" : "Literal" - }, { - "localId" : "250", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal" - } ] - } ] - } - }, { - "localId" : "264", - "name" : "ExceptFiveThree", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "264", - "s" : [ { - "value" : [ "","define ","ExceptFiveThree",": " ] - }, { - "r" : "278", - "s" : [ { - "r" : "265", - "s" : [ { - "r" : "266", - "value" : [ "{","1",", ","2",", ","3",", ","4",", ","5","}" ] - } ] - }, { - "value" : [ " except " ] - }, { - "r" : "273", - "s" : [ { - "r" : "274", - "value" : [ "{","5",", ","3","}" ] - } ] - } ] - } ] - } - } ], + "element" : [ { + "type" : "Literal", + "localId" : "266", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "267", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "268", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "269", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "4", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "270", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "5", + "annotation" : [ ] + } ] + }, { + "type" : "List", + "localId" : "273", + "annotation" : [ ], "resultTypeSpecifier" : { - "localId" : "285", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "286", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } + "type" : "ListTypeSpecifier", + "localId" : "276", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "277", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } }, - "expression" : { - "localId" : "278", - "type" : "Except", - "resultTypeSpecifier" : { - "localId" : "283", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "284", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "signature" : [ { - "localId" : "279", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "280", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "281", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "282", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "265", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "271", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "272", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "element" : [ { - "localId" : "266", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, { - "localId" : "267", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal" - }, { - "localId" : "268", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, { - "localId" : "269", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "4", - "type" : "Literal" - }, { - "localId" : "270", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal" - } ] - }, { - "localId" : "273", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "276", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "277", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "element" : [ { - "localId" : "274", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal" - }, { - "localId" : "275", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - } ] - } ] + "element" : [ { + "type" : "Literal", + "localId" : "274", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "5", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "275", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + } ] + } ] + } + }, { + "localId" : "289", + "name" : "ExceptNoOp", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "289", + "s" : [ { + "value" : [ "", "define ", "ExceptNoOp", ": " ] + }, { + "r" : "307", + "s" : [ { + "r" : "290", + "s" : [ { + "r" : "291", + "value" : [ "{", "1", ", ", "2", ", ", "3", ", ", "3", ", ", "4", ", ", "5", "}" ] + } ] + }, { + "value" : [ " except " ] + }, { + "r" : "299", + "s" : [ { + "r" : "300", + "value" : [ "{", "6", ", ", "7", ", ", "8", ", ", "9", ", ", "10", "}" ] + } ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "314", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "315", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "expression" : { + "type" : "Except", + "localId" : "307", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "312", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "313", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] } - }, { - "localId" : "289", - "name" : "ExceptNoOp", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "289", - "s" : [ { - "value" : [ "","define ","ExceptNoOp",": " ] - }, { - "r" : "307", - "s" : [ { - "r" : "290", - "s" : [ { - "r" : "291", - "value" : [ "{","1",", ","2",", ","3",", ","3",", ","4",", ","5","}" ] - } ] - }, { - "value" : [ " except " ] - }, { - "r" : "299", - "s" : [ { - "r" : "300", - "value" : [ "{","6",", ","7",", ","8",", ","9",", ","10","}" ] - } ] - } ] - } ] - } - } ], + }, + "signature" : [ { + "type" : "ListTypeSpecifier", + "localId" : "308", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "309", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, { + "type" : "ListTypeSpecifier", + "localId" : "310", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "311", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "List", + "localId" : "290", + "annotation" : [ ], "resultTypeSpecifier" : { - "localId" : "314", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "315", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } + "type" : "ListTypeSpecifier", + "localId" : "297", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "298", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } }, - "expression" : { - "localId" : "307", - "type" : "Except", - "resultTypeSpecifier" : { - "localId" : "312", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "313", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "signature" : [ { - "localId" : "308", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "309", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "310", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "311", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "290", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "297", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "298", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "element" : [ { - "localId" : "291", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, { - "localId" : "292", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal" - }, { - "localId" : "293", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, { - "localId" : "294", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, { - "localId" : "295", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "4", - "type" : "Literal" - }, { - "localId" : "296", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal" - } ] - }, { - "localId" : "299", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "305", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "306", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "element" : [ { - "localId" : "300", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "6", - "type" : "Literal" - }, { - "localId" : "301", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "7", - "type" : "Literal" - }, { - "localId" : "302", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "8", - "type" : "Literal" - }, { - "localId" : "303", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "9", - "type" : "Literal" - }, { - "localId" : "304", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal" - } ] - } ] - } - }, { - "localId" : "318", - "name" : "ExceptEverything", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "318", - "s" : [ { - "value" : [ "","define ","ExceptEverything",": " ] - }, { - "r" : "336", - "s" : [ { - "r" : "319", - "s" : [ { - "r" : "320", - "value" : [ "{","1",", ","2",", ","3",", ","3",", ","4",", ","5","}" ] - } ] - }, { - "value" : [ " except " ] - }, { - "r" : "328", - "s" : [ { - "r" : "329", - "value" : [ "{","1",", ","2",", ","3",", ","4",", ","5","}" ] - } ] - } ] - } ] - } - } ], + "element" : [ { + "type" : "Literal", + "localId" : "291", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "292", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "293", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "294", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "295", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "4", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "296", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "5", + "annotation" : [ ] + } ] + }, { + "type" : "List", + "localId" : "299", + "annotation" : [ ], "resultTypeSpecifier" : { - "localId" : "343", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "344", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } + "type" : "ListTypeSpecifier", + "localId" : "305", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "306", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } }, - "expression" : { - "localId" : "336", - "type" : "Except", - "resultTypeSpecifier" : { - "localId" : "341", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "342", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "signature" : [ { - "localId" : "337", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "338", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "339", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "340", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "319", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "326", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "327", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "element" : [ { - "localId" : "320", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, { - "localId" : "321", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal" - }, { - "localId" : "322", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, { - "localId" : "323", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, { - "localId" : "324", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "4", - "type" : "Literal" - }, { - "localId" : "325", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal" - } ] - }, { - "localId" : "328", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "334", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "335", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "element" : [ { - "localId" : "329", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, { - "localId" : "330", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal" - }, { - "localId" : "331", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, { - "localId" : "332", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "4", - "type" : "Literal" - }, { - "localId" : "333", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal" - } ] - } ] - } - }, { - "localId" : "347", - "name" : "MultipleNullExcept", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "347", - "s" : [ { - "value" : [ "","define ","MultipleNullExcept",": " ] - }, { - "r" : "365", - "s" : [ { - "r" : "348", - "s" : [ { - "r" : "349", - "value" : [ "{","1",", ","3",", ","5",", ","7",", ","null",", ","null","}" ] - } ] - }, { - "value" : [ " except " ] - }, { - "r" : "359", - "s" : [ { - "r" : "360", - "value" : [ "{","null",", ","3","}" ] - } ] - } ] - } ] - } - } ], + "element" : [ { + "type" : "Literal", + "localId" : "300", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "6", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "301", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "7", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "302", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "8", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "303", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "9", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "304", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "10", + "annotation" : [ ] + } ] + } ] + } + }, { + "localId" : "318", + "name" : "ExceptEverything", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "318", + "s" : [ { + "value" : [ "", "define ", "ExceptEverything", ": " ] + }, { + "r" : "336", + "s" : [ { + "r" : "319", + "s" : [ { + "r" : "320", + "value" : [ "{", "1", ", ", "2", ", ", "3", ", ", "3", ", ", "4", ", ", "5", "}" ] + } ] + }, { + "value" : [ " except " ] + }, { + "r" : "328", + "s" : [ { + "r" : "329", + "value" : [ "{", "1", ", ", "2", ", ", "3", ", ", "4", ", ", "5", "}" ] + } ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "343", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "344", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "expression" : { + "type" : "Except", + "localId" : "336", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "341", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "342", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "signature" : [ { + "type" : "ListTypeSpecifier", + "localId" : "337", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "338", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, { + "type" : "ListTypeSpecifier", + "localId" : "339", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "340", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "List", + "localId" : "319", + "annotation" : [ ], "resultTypeSpecifier" : { - "localId" : "372", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "373", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } + "type" : "ListTypeSpecifier", + "localId" : "326", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "327", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } }, - "expression" : { - "localId" : "365", - "type" : "Except", - "resultTypeSpecifier" : { - "localId" : "370", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "371", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "signature" : [ { - "localId" : "366", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "367", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "368", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "369", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "348", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "357", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "358", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "element" : [ { - "localId" : "349", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, { - "localId" : "350", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, { - "localId" : "351", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal" - }, { - "localId" : "352", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "7", - "type" : "Literal" - }, { - "localId" : "355", - "asType" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "As", - "signature" : [ ], - "operand" : { - "localId" : "353", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - } - }, { - "localId" : "356", - "asType" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "As", - "signature" : [ ], - "operand" : { - "localId" : "354", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - } - } ] - }, { - "localId" : "359", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "363", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "364", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "element" : [ { - "localId" : "362", - "asType" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "As", - "signature" : [ ], - "operand" : { - "localId" : "360", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - } - }, { - "localId" : "361", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - } ] - } ] - } - }, { - "localId" : "376", - "name" : "SomethingExceptNothing", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "376", - "s" : [ { - "value" : [ "","define ","SomethingExceptNothing",": " ] - }, { - "r" : "390", - "s" : [ { - "r" : "377", - "s" : [ { - "r" : "378", - "value" : [ "{","1",", ","2",", ","3",", ","4",", ","5","}" ] - } ] - }, { - "value" : [ " except " ] - }, { - "r" : "386", - "s" : [ { - "value" : [ "List<" ] - }, { - "r" : "385", - "s" : [ { - "value" : [ "Integer" ] - } ] - }, { - "value" : [ ">{}" ] - } ] - } ] - } ] - } - } ], + "element" : [ { + "type" : "Literal", + "localId" : "320", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "321", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "322", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "323", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "324", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "4", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "325", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "5", + "annotation" : [ ] + } ] + }, { + "type" : "List", + "localId" : "328", + "annotation" : [ ], "resultTypeSpecifier" : { - "localId" : "397", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "398", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } + "type" : "ListTypeSpecifier", + "localId" : "334", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "335", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } }, - "expression" : { - "localId" : "390", - "type" : "Except", - "resultTypeSpecifier" : { - "localId" : "395", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "396", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "signature" : [ { - "localId" : "391", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "392", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "393", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "394", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "377", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "383", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "384", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "element" : [ { - "localId" : "378", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, { - "localId" : "379", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal" - }, { - "localId" : "380", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, { - "localId" : "381", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "4", - "type" : "Literal" - }, { - "localId" : "382", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal" - } ] - }, { - "localId" : "386", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "388", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "389", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "element" : [ ] - } ] + "element" : [ { + "type" : "Literal", + "localId" : "329", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "330", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "331", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "332", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "4", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "333", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "5", + "annotation" : [ ] + } ] + } ] + } + }, { + "localId" : "347", + "name" : "MultipleNullExcept", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "347", + "s" : [ { + "value" : [ "", "define ", "MultipleNullExcept", ": " ] + }, { + "r" : "365", + "s" : [ { + "r" : "348", + "s" : [ { + "r" : "349", + "value" : [ "{", "1", ", ", "3", ", ", "5", ", ", "7", ", ", "null", ", ", "null", "}" ] + } ] + }, { + "value" : [ " except " ] + }, { + "r" : "359", + "s" : [ { + "r" : "360", + "value" : [ "{", "null", ", ", "3", "}" ] + } ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "372", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "373", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "expression" : { + "type" : "Except", + "localId" : "365", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "370", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "371", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] } - }, { - "localId" : "401", - "name" : "NothingExceptSomething", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "401", - "s" : [ { - "value" : [ "","define ","NothingExceptSomething",": " ] - }, { - "r" : "415", - "s" : [ { - "r" : "403", - "s" : [ { - "value" : [ "List<" ] - }, { - "r" : "402", - "s" : [ { - "value" : [ "Integer" ] - } ] - }, { - "value" : [ ">{}" ] - } ] - }, { - "value" : [ " except " ] - }, { - "r" : "407", - "s" : [ { - "r" : "408", - "value" : [ "{","1",", ","2",", ","3",", ","4",", ","5","}" ] - } ] - } ] - } ] - } - } ], + }, + "signature" : [ { + "type" : "ListTypeSpecifier", + "localId" : "366", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "367", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, { + "type" : "ListTypeSpecifier", + "localId" : "368", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "369", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "List", + "localId" : "348", + "annotation" : [ ], "resultTypeSpecifier" : { - "localId" : "422", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "423", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } + "type" : "ListTypeSpecifier", + "localId" : "357", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "358", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } }, - "expression" : { - "localId" : "415", - "type" : "Except", - "resultTypeSpecifier" : { - "localId" : "420", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "421", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "signature" : [ { - "localId" : "416", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "417", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "418", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "419", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "403", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "405", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "406", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "element" : [ ] - }, { - "localId" : "407", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "413", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "414", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "element" : [ { - "localId" : "408", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, { - "localId" : "409", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal" - }, { - "localId" : "410", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, { - "localId" : "411", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "4", - "type" : "Literal" - }, { - "localId" : "412", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal" - } ] - } ] - } - }, { - "localId" : "426", - "name" : "ExceptTuples", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "426", + "element" : [ { + "type" : "Literal", + "localId" : "349", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "350", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "351", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "5", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "352", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "7", + "annotation" : [ ] + }, { + "type" : "As", + "localId" : "355", + "asType" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Null", + "localId" : "353", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } + }, { + "type" : "As", + "localId" : "356", + "asType" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Null", + "localId" : "354", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } + } ] + }, { + "type" : "List", + "localId" : "359", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "363", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "364", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "element" : [ { + "type" : "As", + "localId" : "362", + "asType" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Null", + "localId" : "360", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } + }, { + "type" : "Literal", + "localId" : "361", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + } ] + } ] + } + }, { + "localId" : "376", + "name" : "SomethingExceptNothing", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "376", + "s" : [ { + "value" : [ "", "define ", "SomethingExceptNothing", ": " ] + }, { + "r" : "390", + "s" : [ { + "r" : "377", + "s" : [ { + "r" : "378", + "value" : [ "{", "1", ", ", "2", ", ", "3", ", ", "4", ", ", "5", "}" ] + } ] + }, { + "value" : [ " except " ] + }, { + "r" : "386", + "s" : [ { + "value" : [ "List<" ] + }, { + "r" : "385", "s" : [ { - "value" : [ "","define ","ExceptTuples",": " ] - }, { - "r" : "457", - "s" : [ { - "r" : "427", - "s" : [ { - "value" : [ "{" ] - }, { - "r" : "428", - "s" : [ { - "value" : [ "Tuple{" ] - }, { - "s" : [ { - "r" : "429", - "value" : [ "a",": ","1" ] - } ] - }, { - "value" : [ "}" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "433", - "s" : [ { - "value" : [ "Tuple{" ] - }, { - "s" : [ { - "r" : "434", - "value" : [ "a",": ","2" ] - } ] - }, { - "value" : [ "}" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "438", - "s" : [ { - "value" : [ "Tuple{" ] - }, { - "s" : [ { - "r" : "439", - "value" : [ "a",": ","3" ] - } ] - }, { - "value" : [ "}" ] - } ] - }, { - "value" : [ "}" ] - } ] - }, { - "value" : [ " except " ] - }, { - "r" : "447", - "s" : [ { - "value" : [ "{" ] - }, { - "r" : "448", - "s" : [ { - "value" : [ "Tuple{" ] - }, { - "s" : [ { - "r" : "449", - "value" : [ "a",": ","2" ] - } ] - }, { - "value" : [ "}" ] - } ] - }, { - "value" : [ "}" ] - } ] - } ] + "value" : [ "Integer" ] } ] - } - } ], + }, { + "value" : [ ">{}" ] + } ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "397", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "398", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "expression" : { + "type" : "Except", + "localId" : "390", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "395", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "396", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "signature" : [ { + "type" : "ListTypeSpecifier", + "localId" : "391", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "392", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, { + "type" : "ListTypeSpecifier", + "localId" : "393", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "394", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "List", + "localId" : "377", + "annotation" : [ ], "resultTypeSpecifier" : { - "localId" : "470", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "471", - "type" : "TupleTypeSpecifier", - "element" : [ { - "localId" : "472", - "name" : "a", - "elementType" : { - "localId" : "473", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } ] - } + "type" : "ListTypeSpecifier", + "localId" : "383", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "384", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } }, - "expression" : { - "localId" : "457", - "type" : "Except", - "resultTypeSpecifier" : { - "localId" : "466", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "467", - "type" : "TupleTypeSpecifier", - "element" : [ { - "localId" : "468", - "name" : "a", - "elementType" : { - "localId" : "469", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } ] - } - }, - "signature" : [ { - "localId" : "458", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "459", - "type" : "TupleTypeSpecifier", - "element" : [ { - "localId" : "460", - "name" : "a", - "elementType" : { - "localId" : "461", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } ] - } - }, { - "localId" : "462", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "463", - "type" : "TupleTypeSpecifier", - "element" : [ { - "localId" : "464", - "name" : "a", - "elementType" : { - "localId" : "465", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } ] - } - } ], - "operand" : [ { - "localId" : "427", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "443", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "444", - "type" : "TupleTypeSpecifier", - "element" : [ { - "localId" : "445", - "name" : "a", - "elementType" : { - "localId" : "446", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } ] - } - }, - "element" : [ { - "localId" : "428", - "type" : "Tuple", - "resultTypeSpecifier" : { - "localId" : "430", - "type" : "TupleTypeSpecifier", - "element" : [ { - "localId" : "431", - "name" : "a", - "elementType" : { - "localId" : "432", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } ] - }, - "element" : [ { - "name" : "a", - "value" : { - "localId" : "429", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - } - } ] - }, { - "localId" : "433", - "type" : "Tuple", - "resultTypeSpecifier" : { - "localId" : "435", - "type" : "TupleTypeSpecifier", - "element" : [ { - "localId" : "436", - "name" : "a", - "elementType" : { - "localId" : "437", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } ] - }, - "element" : [ { - "name" : "a", - "value" : { - "localId" : "434", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal" - } - } ] + "element" : [ { + "type" : "Literal", + "localId" : "378", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "379", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "380", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "381", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "4", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "382", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "5", + "annotation" : [ ] + } ] + }, { + "type" : "List", + "localId" : "386", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "388", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "389", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "element" : [ ] + } ] + } + }, { + "localId" : "401", + "name" : "NothingExceptSomething", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "401", + "s" : [ { + "value" : [ "", "define ", "NothingExceptSomething", ": " ] + }, { + "r" : "415", + "s" : [ { + "r" : "403", + "s" : [ { + "value" : [ "List<" ] + }, { + "r" : "402", + "s" : [ { + "value" : [ "Integer" ] + } ] + }, { + "value" : [ ">{}" ] + } ] + }, { + "value" : [ " except " ] + }, { + "r" : "407", + "s" : [ { + "r" : "408", + "value" : [ "{", "1", ", ", "2", ", ", "3", ", ", "4", ", ", "5", "}" ] + } ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "422", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "423", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "expression" : { + "type" : "Except", + "localId" : "415", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "420", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "421", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "signature" : [ { + "type" : "ListTypeSpecifier", + "localId" : "416", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "417", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, { + "type" : "ListTypeSpecifier", + "localId" : "418", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "419", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "List", + "localId" : "403", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "405", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "406", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "element" : [ ] + }, { + "type" : "List", + "localId" : "407", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "413", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "414", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "element" : [ { + "type" : "Literal", + "localId" : "408", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "409", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "410", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "411", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "4", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "412", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "5", + "annotation" : [ ] + } ] + } ] + } + }, { + "localId" : "426", + "name" : "ExceptTuples", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "426", + "s" : [ { + "value" : [ "", "define ", "ExceptTuples", ": " ] + }, { + "r" : "457", + "s" : [ { + "r" : "427", + "s" : [ { + "value" : [ "{" ] + }, { + "r" : "428", + "s" : [ { + "value" : [ "Tuple{" ] }, { - "localId" : "438", - "type" : "Tuple", - "resultTypeSpecifier" : { - "localId" : "440", - "type" : "TupleTypeSpecifier", - "element" : [ { - "localId" : "441", - "name" : "a", - "elementType" : { - "localId" : "442", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } ] - }, - "element" : [ { - "name" : "a", - "value" : { - "localId" : "439", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - } - } ] + "s" : [ { + "r" : "429", + "value" : [ "a", ": ", "1" ] + } ] + }, { + "value" : [ "}" ] } ] - }, { - "localId" : "447", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "453", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "454", - "type" : "TupleTypeSpecifier", - "element" : [ { - "localId" : "455", - "name" : "a", - "elementType" : { - "localId" : "456", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } ] - } - }, - "element" : [ { - "localId" : "448", - "type" : "Tuple", - "resultTypeSpecifier" : { - "localId" : "450", - "type" : "TupleTypeSpecifier", - "element" : [ { - "localId" : "451", - "name" : "a", - "elementType" : { - "localId" : "452", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } ] - }, - "element" : [ { - "name" : "a", - "value" : { - "localId" : "449", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal" - } - } ] + }, { + "value" : [ ", " ] + }, { + "r" : "433", + "s" : [ { + "value" : [ "Tuple{" ] + }, { + "s" : [ { + "r" : "434", + "value" : [ "a", ": ", "2" ] + } ] + }, { + "value" : [ "}" ] } ] - } ] - } - }, { - "localId" : "476", - "name" : "ExceptNull", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "476", + }, { + "value" : [ ", " ] + }, { + "r" : "438", "s" : [ { - "value" : [ "","define ","ExceptNull",": " ] + "value" : [ "Tuple{" ] + }, { + "s" : [ { + "r" : "439", + "value" : [ "a", ": ", "3" ] + } ] + }, { + "value" : [ "}" ] + } ] + }, { + "value" : [ "}" ] + } ] + }, { + "value" : [ " except " ] + }, { + "r" : "447", + "s" : [ { + "value" : [ "{" ] + }, { + "r" : "448", + "s" : [ { + "value" : [ "Tuple{" ] }, { - "r" : "486", - "s" : [ { - "r" : "477", - "s" : [ { - "r" : "478", - "value" : [ "{","1",", ","2",", ","3",", ","4",", ","5","}" ] - } ] - }, { - "r" : "485", - "value" : [ " except ","null" ] - } ] + "s" : [ { + "r" : "449", + "value" : [ "a", ": ", "2" ] + } ] + }, { + "value" : [ "}" ] } ] - } - } ], - "resultTypeSpecifier" : { - "localId" : "496", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "497", + }, { + "value" : [ "}" ] + } ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "470", + "annotation" : [ ], + "elementType" : { + "type" : "TupleTypeSpecifier", + "localId" : "471", + "annotation" : [ ], + "element" : [ { + "localId" : "472", + "name" : "a", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "473", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } ] + } + }, + "expression" : { + "type" : "Except", + "localId" : "457", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "466", + "annotation" : [ ], + "elementType" : { + "type" : "TupleTypeSpecifier", + "localId" : "467", + "annotation" : [ ], + "element" : [ { + "localId" : "468", + "name" : "a", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "469", "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "expression" : { - "localId" : "486", - "type" : "Except", - "resultTypeSpecifier" : { - "localId" : "494", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "495", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "signature" : [ { - "localId" : "490", - "type" : "ListTypeSpecifier", + "annotation" : [ ] + } + } ] + } + }, + "signature" : [ { + "type" : "ListTypeSpecifier", + "localId" : "458", + "annotation" : [ ], + "elementType" : { + "type" : "TupleTypeSpecifier", + "localId" : "459", + "annotation" : [ ], + "element" : [ { + "localId" : "460", + "name" : "a", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "461", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } ] + } + }, { + "type" : "ListTypeSpecifier", + "localId" : "462", + "annotation" : [ ], + "elementType" : { + "type" : "TupleTypeSpecifier", + "localId" : "463", + "annotation" : [ ], + "element" : [ { + "localId" : "464", + "name" : "a", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "465", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } ] + } + } ], + "operand" : [ { + "type" : "List", + "localId" : "427", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "443", + "annotation" : [ ], + "elementType" : { + "type" : "TupleTypeSpecifier", + "localId" : "444", + "annotation" : [ ], + "element" : [ { + "localId" : "445", + "name" : "a", + "annotation" : [ ], "elementType" : { - "localId" : "491", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" + "type" : "NamedTypeSpecifier", + "localId" : "446", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] } - }, { - "localId" : "492", - "type" : "ListTypeSpecifier", + } ] + } + }, + "element" : [ { + "type" : "Tuple", + "localId" : "428", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "TupleTypeSpecifier", + "localId" : "430", + "annotation" : [ ], + "element" : [ { + "localId" : "431", + "name" : "a", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "432", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } ] + }, + "element" : [ { + "name" : "a", + "value" : { + "type" : "Literal", + "localId" : "429", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + } + } ] + }, { + "type" : "Tuple", + "localId" : "433", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "TupleTypeSpecifier", + "localId" : "435", + "annotation" : [ ], + "element" : [ { + "localId" : "436", + "name" : "a", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "437", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } ] + }, + "element" : [ { + "name" : "a", + "value" : { + "type" : "Literal", + "localId" : "434", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "annotation" : [ ] + } + } ] + }, { + "type" : "Tuple", + "localId" : "438", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "TupleTypeSpecifier", + "localId" : "440", + "annotation" : [ ], + "element" : [ { + "localId" : "441", + "name" : "a", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "442", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } ] + }, + "element" : [ { + "name" : "a", + "value" : { + "type" : "Literal", + "localId" : "439", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + } + } ] + } ] + }, { + "type" : "List", + "localId" : "447", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "453", + "annotation" : [ ], + "elementType" : { + "type" : "TupleTypeSpecifier", + "localId" : "454", + "annotation" : [ ], + "element" : [ { + "localId" : "455", + "name" : "a", + "annotation" : [ ], "elementType" : { - "localId" : "493", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "477", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "483", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "484", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "element" : [ { - "localId" : "478", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, { - "localId" : "479", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal" - }, { - "localId" : "480", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, { - "localId" : "481", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "4", - "type" : "Literal" - }, { - "localId" : "482", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal" - } ] - }, { - "localId" : "487", - "type" : "As", - "signature" : [ ], - "operand" : { - "localId" : "485", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - }, - "asTypeSpecifier" : { - "localId" : "488", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "489", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } + "type" : "NamedTypeSpecifier", + "localId" : "456", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] } - } ] + } ] + } + }, + "element" : [ { + "type" : "Tuple", + "localId" : "448", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "TupleTypeSpecifier", + "localId" : "450", + "annotation" : [ ], + "element" : [ { + "localId" : "451", + "name" : "a", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "452", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } ] + }, + "element" : [ { + "name" : "a", + "value" : { + "type" : "Literal", + "localId" : "449", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "annotation" : [ ] + } + } ] + } ] + } ] + } + }, { + "localId" : "476", + "name" : "ExceptNull", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "476", + "s" : [ { + "value" : [ "", "define ", "ExceptNull", ": " ] + }, { + "r" : "486", + "s" : [ { + "r" : "477", + "s" : [ { + "r" : "478", + "value" : [ "{", "1", ", ", "2", ", ", "3", ", ", "4", ", ", "5", "}" ] + } ] + }, { + "r" : "485", + "value" : [ " except ", "null" ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "496", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "497", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "expression" : { + "type" : "Except", + "localId" : "486", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "494", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "495", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] } - }, { - "localId" : "500", - "name" : "NullExcept", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "500", - "s" : [ { - "value" : [ "","define ","NullExcept",": " ] - }, { - "r" : "510", - "s" : [ { - "r" : "501", - "value" : [ "null"," except " ] - }, { - "r" : "502", - "s" : [ { - "r" : "503", - "value" : [ "{","1",", ","2",", ","3",", ","4",", ","5","}" ] - } ] - } ] - } ] - } - } ], + }, + "signature" : [ { + "type" : "ListTypeSpecifier", + "localId" : "490", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "491", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, { + "type" : "ListTypeSpecifier", + "localId" : "492", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "493", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "List", + "localId" : "477", + "annotation" : [ ], "resultTypeSpecifier" : { - "localId" : "520", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "521", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } + "type" : "ListTypeSpecifier", + "localId" : "483", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "484", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } }, - "expression" : { - "localId" : "510", - "type" : "Except", - "resultTypeSpecifier" : { - "localId" : "518", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "519", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "signature" : [ { - "localId" : "514", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "515", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "516", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "517", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "511", - "type" : "As", - "signature" : [ ], - "operand" : { - "localId" : "501", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - }, - "asTypeSpecifier" : { - "localId" : "512", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "513", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } - }, { - "localId" : "502", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "508", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "509", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "element" : [ { - "localId" : "503", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, { - "localId" : "504", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal" - }, { - "localId" : "505", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, { - "localId" : "506", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "4", - "type" : "Literal" - }, { - "localId" : "507", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal" - } ] - } ] - } - } ] - } - } + "element" : [ { + "type" : "Literal", + "localId" : "478", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "479", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "480", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "481", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "4", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "482", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "5", + "annotation" : [ ] + } ] + }, { + "type" : "As", + "localId" : "487", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Null", + "localId" : "485", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + }, + "asTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "488", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "489", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } + } ] + } + }, { + "localId" : "500", + "name" : "NullExcept", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "500", + "s" : [ { + "value" : [ "", "define ", "NullExcept", ": " ] + }, { + "r" : "510", + "s" : [ { + "r" : "501", + "value" : [ "null", " except " ] + }, { + "r" : "502", + "s" : [ { + "r" : "503", + "value" : [ "{", "1", ", ", "2", ", ", "3", ", ", "4", ", ", "5", "}" ] + } ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "520", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "521", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "expression" : { + "type" : "Except", + "localId" : "510", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "518", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "519", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "signature" : [ { + "type" : "ListTypeSpecifier", + "localId" : "514", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "515", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, { + "type" : "ListTypeSpecifier", + "localId" : "516", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "517", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "As", + "localId" : "511", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Null", + "localId" : "501", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + }, + "asTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "512", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "513", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } + }, { + "type" : "List", + "localId" : "502", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "508", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "509", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "element" : [ { + "type" : "Literal", + "localId" : "503", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "504", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "505", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "506", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "4", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "507", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "5", + "annotation" : [ ] + } ] + } ] + } + } ] + } + } } /* Intersect @@ -8038,2230 +9156,2582 @@ define MultipleNullInListIntersect: {1, 2, 3, null} intersect {null, 3} */ module.exports['Intersect'] = { - "library" : { - "localId" : "0", - "annotation" : [ { - "translatorVersion" : "3.27.0", - "translatorOptions" : "EnableDateRangeOptimization,EnableAnnotations,EnableResultTypes", - "signatureLevel" : "All", - "type" : "CqlToElmInfo" + "library" : { + "localId" : "0", + "annotation" : [ { + "type" : "CqlToElmInfo", + "translatorVersion" : "4.2.0", + "translatorOptions" : "EnableDateRangeOptimization,EnableAnnotations,EnableResultTypes", + "signatureLevel" : "All" + }, { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "567", + "s" : [ { + "value" : [ "", "library TestSnippet version '1'" ] + } ] + } + } ], + "identifier" : { + "id" : "TestSnippet", + "version" : "1" + }, + "schemaIdentifier" : { + "id" : "urn:hl7-org:elm", + "version" : "r1" + }, + "usings" : { + "def" : [ { + "localId" : "1", + "localIdentifier" : "System", + "uri" : "urn:hl7-org:elm-types:r1", + "annotation" : [ ] }, { - "type" : "Annotation", - "s" : { - "r" : "567", + "localId" : "206", + "localIdentifier" : "Simple", + "uri" : "https://github.com/cqframework/cql-execution/simple", + "version" : "1.0.0", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "206", "s" : [ { - "value" : [ "","library TestSnippet version '1'" ] - } ] - } - } ], - "identifier" : { - "id" : "TestSnippet", - "version" : "1" - }, - "schemaIdentifier" : { - "id" : "urn:hl7-org:elm", - "version" : "r1" - }, - "usings" : { - "def" : [ { - "localId" : "1", - "localIdentifier" : "System", - "uri" : "urn:hl7-org:elm-types:r1" - }, { - "localId" : "206", - "localIdentifier" : "Simple", - "uri" : "https://github.com/cqframework/cql-execution/simple", - "version" : "1.0.0", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "206", - "s" : [ { - "value" : [ "","using " ] - }, { - "s" : [ { - "value" : [ "Simple" ] - } ] - }, { - "value" : [ " version '1.0.0'" ] - } ] - } - } ] - } ] - }, - "contexts" : { - "def" : [ { - "localId" : "211", - "name" : "Patient" - } ] - }, - "statements" : { - "def" : [ { - "localId" : "209", - "name" : "Patient", - "context" : "Patient", - "expression" : { - "localId" : "210", - "type" : "SingletonFrom", - "signature" : [ ], - "operand" : { - "localId" : "208", - "dataType" : "{https://github.com/cqframework/cql-execution/simple}Patient", - "type" : "Retrieve", - "include" : [ ], - "codeFilter" : [ ], - "dateFilter" : [ ], - "otherFilter" : [ ] - } - } - }, { - "localId" : "214", - "name" : "NoIntersection", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "214", - "s" : [ { - "value" : [ "","define ","NoIntersection",": " ] - }, { - "r" : "228", - "s" : [ { - "r" : "215", - "s" : [ { - "r" : "216", - "value" : [ "{","1",", ","2",", ","2",", ","3","}" ] - } ] - }, { - "value" : [ " intersect " ] - }, { - "r" : "222", - "s" : [ { - "r" : "223", - "value" : [ "{","4",", ","5",", ","6","}" ] - } ] - } ] - } ] - } - } ], + "value" : [ "", "using " ] + }, { + "s" : [ { + "value" : [ "Simple" ] + } ] + }, { + "value" : [ " version '1.0.0'" ] + } ] + } + } ] + } ] + }, + "contexts" : { + "def" : [ { + "localId" : "211", + "name" : "Patient", + "annotation" : [ ] + } ] + }, + "statements" : { + "def" : [ { + "localId" : "209", + "name" : "Patient", + "context" : "Patient", + "annotation" : [ ], + "expression" : { + "type" : "SingletonFrom", + "localId" : "210", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Retrieve", + "localId" : "208", + "dataType" : "{https://github.com/cqframework/cql-execution/simple}Patient", + "annotation" : [ ], + "include" : [ ], + "codeFilter" : [ ], + "dateFilter" : [ ], + "otherFilter" : [ ] + } + } + }, { + "localId" : "214", + "name" : "NoIntersection", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "214", + "s" : [ { + "value" : [ "", "define ", "NoIntersection", ": " ] + }, { + "r" : "228", + "s" : [ { + "r" : "215", + "s" : [ { + "r" : "216", + "value" : [ "{", "1", ", ", "2", ", ", "2", ", ", "3", "}" ] + } ] + }, { + "value" : [ " intersect " ] + }, { + "r" : "222", + "s" : [ { + "r" : "223", + "value" : [ "{", "4", ", ", "5", ", ", "6", "}" ] + } ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "235", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "236", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "expression" : { + "type" : "Intersect", + "localId" : "228", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "233", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "234", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "signature" : [ { + "type" : "ListTypeSpecifier", + "localId" : "229", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "230", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, { + "type" : "ListTypeSpecifier", + "localId" : "231", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "232", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "List", + "localId" : "215", + "annotation" : [ ], "resultTypeSpecifier" : { - "localId" : "235", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "236", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } + "type" : "ListTypeSpecifier", + "localId" : "220", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "221", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } }, - "expression" : { - "localId" : "228", - "type" : "Intersect", - "resultTypeSpecifier" : { - "localId" : "233", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "234", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "signature" : [ { - "localId" : "229", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "230", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "231", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "232", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "215", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "220", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "221", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "element" : [ { - "localId" : "216", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, { - "localId" : "217", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal" - }, { - "localId" : "218", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal" - }, { - "localId" : "219", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - } ] - }, { - "localId" : "222", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "226", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "227", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "element" : [ { - "localId" : "223", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "4", - "type" : "Literal" - }, { - "localId" : "224", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal" - }, { - "localId" : "225", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "6", - "type" : "Literal" - } ] - } ] - } - }, { - "localId" : "239", - "name" : "IntersectOnFive", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "239", - "s" : [ { - "value" : [ "","define ","IntersectOnFive",": " ] - }, { - "r" : "254", - "s" : [ { - "r" : "240", - "s" : [ { - "r" : "241", - "value" : [ "{","4",", ","5",", ","5",", ","6","}" ] - } ] - }, { - "value" : [ " intersect " ] - }, { - "r" : "247", - "s" : [ { - "r" : "248", - "value" : [ "{","1",", ","3",", ","5",", ","7","}" ] - } ] - } ] - } ] - } - } ], + "element" : [ { + "type" : "Literal", + "localId" : "216", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "217", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "218", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "219", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + } ] + }, { + "type" : "List", + "localId" : "222", + "annotation" : [ ], "resultTypeSpecifier" : { - "localId" : "261", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "262", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } + "type" : "ListTypeSpecifier", + "localId" : "226", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "227", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } }, - "expression" : { - "localId" : "254", - "type" : "Intersect", - "resultTypeSpecifier" : { - "localId" : "259", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "260", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "signature" : [ { - "localId" : "255", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "256", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "257", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "258", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "240", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "245", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "246", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "element" : [ { - "localId" : "241", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "4", - "type" : "Literal" - }, { - "localId" : "242", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal" - }, { - "localId" : "243", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal" - }, { - "localId" : "244", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "6", - "type" : "Literal" - } ] - }, { - "localId" : "247", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "252", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "253", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "element" : [ { - "localId" : "248", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, { - "localId" : "249", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, { - "localId" : "250", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal" - }, { - "localId" : "251", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "7", - "type" : "Literal" - } ] - } ] - } - }, { - "localId" : "265", - "name" : "IntersectionOnFourDuplicates", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "265", - "s" : [ { - "value" : [ "","define ","IntersectionOnFourDuplicates",": " ] - }, { - "r" : "281", - "s" : [ { - "r" : "266", - "s" : [ { - "r" : "267", - "value" : [ "{","4",", ","4",", ","1",", ","1",", ","2","}" ] - } ] - }, { - "value" : [ " intersect " ] - }, { - "r" : "274", - "s" : [ { - "r" : "275", - "value" : [ "{","4",", ","4",", ","3",", ","9","}" ] - } ] - } ] - } ] - } - } ], + "element" : [ { + "type" : "Literal", + "localId" : "223", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "4", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "224", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "5", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "225", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "6", + "annotation" : [ ] + } ] + } ] + } + }, { + "localId" : "239", + "name" : "IntersectOnFive", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "239", + "s" : [ { + "value" : [ "", "define ", "IntersectOnFive", ": " ] + }, { + "r" : "254", + "s" : [ { + "r" : "240", + "s" : [ { + "r" : "241", + "value" : [ "{", "4", ", ", "5", ", ", "5", ", ", "6", "}" ] + } ] + }, { + "value" : [ " intersect " ] + }, { + "r" : "247", + "s" : [ { + "r" : "248", + "value" : [ "{", "1", ", ", "3", ", ", "5", ", ", "7", "}" ] + } ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "261", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "262", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "expression" : { + "type" : "Intersect", + "localId" : "254", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "259", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "260", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "signature" : [ { + "type" : "ListTypeSpecifier", + "localId" : "255", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "256", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, { + "type" : "ListTypeSpecifier", + "localId" : "257", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "258", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "List", + "localId" : "240", + "annotation" : [ ], "resultTypeSpecifier" : { - "localId" : "288", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "289", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } + "type" : "ListTypeSpecifier", + "localId" : "245", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "246", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } }, - "expression" : { - "localId" : "281", - "type" : "Intersect", - "resultTypeSpecifier" : { - "localId" : "286", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "287", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "signature" : [ { - "localId" : "282", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "283", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "284", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "285", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "266", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "272", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "273", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "element" : [ { - "localId" : "267", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "4", - "type" : "Literal" - }, { - "localId" : "268", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "4", - "type" : "Literal" - }, { - "localId" : "269", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, { - "localId" : "270", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, { - "localId" : "271", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal" - } ] - }, { - "localId" : "274", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "279", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "280", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "element" : [ { - "localId" : "275", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "4", - "type" : "Literal" - }, { - "localId" : "276", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "4", - "type" : "Literal" - }, { - "localId" : "277", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, { - "localId" : "278", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "9", - "type" : "Literal" - } ] - } ] - } - }, { - "localId" : "292", - "name" : "IntersectOnEvens", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "292", - "s" : [ { - "value" : [ "","define ","IntersectOnEvens",": " ] - }, { - "r" : "316", - "s" : [ { - "r" : "293", - "s" : [ { - "r" : "294", - "value" : [ "{","1",", ","2",", ","3",", ","4",", ","5",", ","6",", ","7",", ","8",", ","9",", ","10","}" ] - } ] - }, { - "value" : [ " intersect " ] - }, { - "r" : "306", - "s" : [ { - "r" : "307", - "value" : [ "{","0",", ","2",", ","4",", ","6",", ","8",", ","10",", ","12","}" ] - } ] - } ] - } ] - } - } ], + "element" : [ { + "type" : "Literal", + "localId" : "241", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "4", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "242", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "5", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "243", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "5", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "244", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "6", + "annotation" : [ ] + } ] + }, { + "type" : "List", + "localId" : "247", + "annotation" : [ ], "resultTypeSpecifier" : { - "localId" : "323", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "324", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } + "type" : "ListTypeSpecifier", + "localId" : "252", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "253", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } }, - "expression" : { - "localId" : "316", - "type" : "Intersect", - "resultTypeSpecifier" : { - "localId" : "321", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "322", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "signature" : [ { - "localId" : "317", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "318", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "319", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "320", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "293", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "304", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "305", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "element" : [ { - "localId" : "294", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, { - "localId" : "295", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal" - }, { - "localId" : "296", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, { - "localId" : "297", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "4", - "type" : "Literal" - }, { - "localId" : "298", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal" - }, { - "localId" : "299", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "6", - "type" : "Literal" - }, { - "localId" : "300", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "7", - "type" : "Literal" - }, { - "localId" : "301", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "8", - "type" : "Literal" - }, { - "localId" : "302", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "9", - "type" : "Literal" - }, { - "localId" : "303", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal" - } ] - }, { - "localId" : "306", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "314", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "315", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "element" : [ { - "localId" : "307", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, { - "localId" : "308", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal" - }, { - "localId" : "309", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "4", - "type" : "Literal" - }, { - "localId" : "310", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "6", - "type" : "Literal" - }, { - "localId" : "311", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "8", - "type" : "Literal" - }, { - "localId" : "312", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal" - }, { - "localId" : "313", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "12", - "type" : "Literal" - } ] - } ] - } - }, { - "localId" : "327", - "name" : "IntersectOnAll", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "327", - "s" : [ { - "value" : [ "","define ","IntersectOnAll",": " ] - }, { - "r" : "344", - "s" : [ { - "r" : "328", - "s" : [ { - "r" : "329", - "value" : [ "{","1",", ","2",", ","3",", ","4",", ","5","}" ] - } ] - }, { - "value" : [ " intersect " ] - }, { - "r" : "336", - "s" : [ { - "r" : "337", - "value" : [ "{","5",", ","4",", ","3",", ","2",", ","1","}" ] - } ] - } ] - } ] - } - } ], + "element" : [ { + "type" : "Literal", + "localId" : "248", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "249", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "250", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "5", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "251", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "7", + "annotation" : [ ] + } ] + } ] + } + }, { + "localId" : "265", + "name" : "IntersectionOnFourDuplicates", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "265", + "s" : [ { + "value" : [ "", "define ", "IntersectionOnFourDuplicates", ": " ] + }, { + "r" : "281", + "s" : [ { + "r" : "266", + "s" : [ { + "r" : "267", + "value" : [ "{", "4", ", ", "4", ", ", "1", ", ", "1", ", ", "2", "}" ] + } ] + }, { + "value" : [ " intersect " ] + }, { + "r" : "274", + "s" : [ { + "r" : "275", + "value" : [ "{", "4", ", ", "4", ", ", "3", ", ", "9", "}" ] + } ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "288", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "289", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "expression" : { + "type" : "Intersect", + "localId" : "281", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "286", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "287", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "signature" : [ { + "type" : "ListTypeSpecifier", + "localId" : "282", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "283", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, { + "type" : "ListTypeSpecifier", + "localId" : "284", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "285", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "List", + "localId" : "266", + "annotation" : [ ], "resultTypeSpecifier" : { - "localId" : "351", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "352", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } + "type" : "ListTypeSpecifier", + "localId" : "272", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "273", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } }, - "expression" : { - "localId" : "344", - "type" : "Intersect", - "resultTypeSpecifier" : { - "localId" : "349", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "350", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "signature" : [ { - "localId" : "345", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "346", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "347", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "348", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "328", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "334", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "335", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "element" : [ { - "localId" : "329", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, { - "localId" : "330", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal" - }, { - "localId" : "331", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, { - "localId" : "332", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "4", - "type" : "Literal" - }, { - "localId" : "333", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal" - } ] - }, { - "localId" : "336", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "342", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "343", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "element" : [ { - "localId" : "337", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal" - }, { - "localId" : "338", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "4", - "type" : "Literal" - }, { - "localId" : "339", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, { - "localId" : "340", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal" - }, { - "localId" : "341", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - } ] - } ] - } - }, { - "localId" : "355", - "name" : "NestedIntersects", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "355", + "element" : [ { + "type" : "Literal", + "localId" : "267", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "4", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "268", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "4", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "269", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "270", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "271", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "annotation" : [ ] + } ] + }, { + "type" : "List", + "localId" : "274", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "279", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "280", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "element" : [ { + "type" : "Literal", + "localId" : "275", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "4", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "276", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "4", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "277", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "278", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "9", + "annotation" : [ ] + } ] + } ] + } + }, { + "localId" : "292", + "name" : "IntersectOnEvens", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "292", + "s" : [ { + "value" : [ "", "define ", "IntersectOnEvens", ": " ] + }, { + "r" : "316", + "s" : [ { + "r" : "293", + "s" : [ { + "r" : "294", + "value" : [ "{", "1", ", ", "2", ", ", "3", ", ", "4", ", ", "5", ", ", "6", ", ", "7", ", ", "8", ", ", "9", ", ", "10", "}" ] + } ] + }, { + "value" : [ " intersect " ] + }, { + "r" : "306", + "s" : [ { + "r" : "307", + "value" : [ "{", "0", ", ", "2", ", ", "4", ", ", "6", ", ", "8", ", ", "10", ", ", "12", "}" ] + } ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "323", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "324", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "expression" : { + "type" : "Intersect", + "localId" : "316", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "321", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "322", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "signature" : [ { + "type" : "ListTypeSpecifier", + "localId" : "317", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "318", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, { + "type" : "ListTypeSpecifier", + "localId" : "319", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "320", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "List", + "localId" : "293", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "304", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "305", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "element" : [ { + "type" : "Literal", + "localId" : "294", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "295", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "296", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "297", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "4", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "298", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "5", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "299", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "6", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "300", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "7", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "301", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "8", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "302", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "9", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "303", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "10", + "annotation" : [ ] + } ] + }, { + "type" : "List", + "localId" : "306", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "314", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "315", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "element" : [ { + "type" : "Literal", + "localId" : "307", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "308", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "309", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "4", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "310", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "6", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "311", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "8", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "312", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "10", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "313", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "12", + "annotation" : [ ] + } ] + } ] + } + }, { + "localId" : "327", + "name" : "IntersectOnAll", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "327", + "s" : [ { + "value" : [ "", "define ", "IntersectOnAll", ": " ] + }, { + "r" : "344", + "s" : [ { + "r" : "328", + "s" : [ { + "r" : "329", + "value" : [ "{", "1", ", ", "2", ", ", "3", ", ", "4", ", ", "5", "}" ] + } ] + }, { + "value" : [ " intersect " ] + }, { + "r" : "336", + "s" : [ { + "r" : "337", + "value" : [ "{", "5", ", ", "4", ", ", "3", ", ", "2", ", ", "1", "}" ] + } ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "351", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "352", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "expression" : { + "type" : "Intersect", + "localId" : "344", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "349", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "350", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "signature" : [ { + "type" : "ListTypeSpecifier", + "localId" : "345", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "346", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, { + "type" : "ListTypeSpecifier", + "localId" : "347", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "348", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "List", + "localId" : "328", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "334", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "335", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "element" : [ { + "type" : "Literal", + "localId" : "329", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "330", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "331", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "332", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "4", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "333", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "5", + "annotation" : [ ] + } ] + }, { + "type" : "List", + "localId" : "336", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "342", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "343", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "element" : [ { + "type" : "Literal", + "localId" : "337", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "5", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "338", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "4", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "339", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "340", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "341", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + } ] + } ] + } + }, { + "localId" : "355", + "name" : "NestedIntersects", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "355", + "s" : [ { + "value" : [ "", "define ", "NestedIntersects", ": " ] + }, { + "r" : "407", + "s" : [ { + "r" : "387", + "s" : [ { + "r" : "372", "s" : [ { - "value" : [ "","define ","NestedIntersects",": " ] - }, { - "r" : "407", - "s" : [ { - "r" : "387", - "s" : [ { - "r" : "372", - "s" : [ { - "r" : "356", - "s" : [ { - "r" : "357", - "value" : [ "{","1",", ","2",", ","3",", ","4",", ","5","}" ] - } ] - }, { - "value" : [ " intersect " ] - }, { - "r" : "364", - "s" : [ { - "r" : "365", - "value" : [ "{","2",", ","3",", ","4",", ","5",", ","6","}" ] - } ] - } ] - }, { - "value" : [ " intersect " ] - }, { - "r" : "379", - "s" : [ { - "r" : "380", - "value" : [ "{","3",", ","4",", ","5",", ","6",", ","7","}" ] - } ] - } ] - }, { - "value" : [ " intersect " ] - }, { - "r" : "394", - "s" : [ { - "r" : "395", - "value" : [ "{","4",", ","5",", ","6",", ","7",", ","8","}" ] - } ] - } ] - } ] - } - } ], + "r" : "356", + "s" : [ { + "r" : "357", + "value" : [ "{", "1", ", ", "2", ", ", "3", ", ", "4", ", ", "5", "}" ] + } ] + }, { + "value" : [ " intersect " ] + }, { + "r" : "364", + "s" : [ { + "r" : "365", + "value" : [ "{", "2", ", ", "3", ", ", "4", ", ", "5", ", ", "6", "}" ] + } ] + } ] + }, { + "value" : [ " intersect " ] + }, { + "r" : "379", + "s" : [ { + "r" : "380", + "value" : [ "{", "3", ", ", "4", ", ", "5", ", ", "6", ", ", "7", "}" ] + } ] + } ] + }, { + "value" : [ " intersect " ] + }, { + "r" : "394", + "s" : [ { + "r" : "395", + "value" : [ "{", "4", ", ", "5", ", ", "6", ", ", "7", ", ", "8", "}" ] + } ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "414", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "415", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "expression" : { + "type" : "Intersect", + "localId" : "407", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "412", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "413", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "signature" : [ { + "type" : "ListTypeSpecifier", + "localId" : "408", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "409", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, { + "type" : "ListTypeSpecifier", + "localId" : "410", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "411", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "Intersect", + "localId" : "372", + "annotation" : [ ], "resultTypeSpecifier" : { - "localId" : "414", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "415", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } + "type" : "ListTypeSpecifier", + "localId" : "377", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "378", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } }, - "expression" : { - "localId" : "407", - "type" : "Intersect", - "resultTypeSpecifier" : { - "localId" : "412", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "413", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "signature" : [ { - "localId" : "408", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "409", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "410", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "411", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "372", - "type" : "Intersect", - "resultTypeSpecifier" : { - "localId" : "377", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "378", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "signature" : [ { - "localId" : "373", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "374", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } + "signature" : [ { + "type" : "ListTypeSpecifier", + "localId" : "373", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "374", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, { + "type" : "ListTypeSpecifier", + "localId" : "375", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "376", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "List", + "localId" : "356", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "362", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "363", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "element" : [ { + "type" : "Literal", + "localId" : "357", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "358", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "359", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "360", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "4", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "361", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "5", + "annotation" : [ ] + } ] + }, { + "type" : "List", + "localId" : "364", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "370", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "371", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "element" : [ { + "type" : "Literal", + "localId" : "365", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "366", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "367", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "4", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "368", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "5", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "369", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "6", + "annotation" : [ ] + } ] + } ] + }, { + "type" : "Intersect", + "localId" : "402", + "annotation" : [ ], + "signature" : [ { + "type" : "ListTypeSpecifier", + "localId" : "403", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "404", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, { + "type" : "ListTypeSpecifier", + "localId" : "405", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "406", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "List", + "localId" : "379", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "385", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "386", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "element" : [ { + "type" : "Literal", + "localId" : "380", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "381", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "4", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "382", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "5", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "383", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "6", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "384", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "7", + "annotation" : [ ] + } ] + }, { + "type" : "List", + "localId" : "394", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "400", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "401", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "element" : [ { + "type" : "Literal", + "localId" : "395", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "4", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "396", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "5", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "397", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "6", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "398", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "7", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "399", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "8", + "annotation" : [ ] + } ] + } ] + } ] + } + }, { + "localId" : "418", + "name" : "IntersectTuples", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "418", + "s" : [ { + "value" : [ "", "define ", "IntersectTuples", ": " ] + }, { + "r" : "496", + "s" : [ { + "r" : "419", + "s" : [ { + "value" : [ "{" ] + }, { + "r" : "420", + "s" : [ { + "value" : [ "Tuple{" ] }, { - "localId" : "375", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "376", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "356", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "362", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "363", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "element" : [ { - "localId" : "357", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, { - "localId" : "358", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal" - }, { - "localId" : "359", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, { - "localId" : "360", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "4", - "type" : "Literal" - }, { - "localId" : "361", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal" - } ] - }, { - "localId" : "364", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "370", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "371", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "element" : [ { - "localId" : "365", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal" - }, { - "localId" : "366", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, { - "localId" : "367", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "4", - "type" : "Literal" - }, { - "localId" : "368", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal" - }, { - "localId" : "369", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "6", - "type" : "Literal" - } ] + "s" : [ { + "r" : "421", + "value" : [ "a", ":", "1" ] + } ] + }, { + "value" : [ ", " ] + }, { + "s" : [ { + "value" : [ "b", ":" ] + }, { + "r" : "422", + "s" : [ { + "value" : [ "'d'" ] + } ] + } ] + }, { + "value" : [ "}" ] } ] - }, { - "localId" : "402", - "type" : "Intersect", - "signature" : [ { - "localId" : "403", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "404", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } + }, { + "value" : [ ", " ] + }, { + "r" : "429", + "s" : [ { + "value" : [ "Tuple{" ] + }, { + "s" : [ { + "r" : "430", + "value" : [ "a", ":", "1" ] + } ] + }, { + "value" : [ ", " ] + }, { + "s" : [ { + "value" : [ "b", ":" ] + }, { + "r" : "431", + "s" : [ { + "value" : [ "'c'" ] + } ] + } ] + }, { + "value" : [ "}" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "438", + "s" : [ { + "value" : [ "Tuple{" ] + }, { + "s" : [ { + "r" : "439", + "value" : [ "a", ":", "2" ] + } ] + }, { + "value" : [ ", " ] + }, { + "s" : [ { + "value" : [ "b", ":" ] + }, { + "r" : "440", + "s" : [ { + "value" : [ "'c'" ] + } ] + } ] + }, { + "value" : [ "}" ] + } ] + }, { + "value" : [ "}" ] + } ] + }, { + "value" : [ " intersect " ] + }, { + "r" : "453", + "s" : [ { + "value" : [ "{" ] + }, { + "r" : "454", + "s" : [ { + "value" : [ "Tuple{" ] + }, { + "s" : [ { + "r" : "455", + "value" : [ "a", ":", "2" ] + } ] + }, { + "value" : [ ", " ] + }, { + "s" : [ { + "value" : [ "b", ":" ] + }, { + "r" : "456", + "s" : [ { + "value" : [ "'d'" ] + } ] + } ] + }, { + "value" : [ "}" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "463", + "s" : [ { + "value" : [ "Tuple{" ] }, { - "localId" : "405", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "406", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "379", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "385", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "386", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "element" : [ { - "localId" : "380", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, { - "localId" : "381", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "4", - "type" : "Literal" - }, { - "localId" : "382", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal" - }, { - "localId" : "383", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "6", - "type" : "Literal" - }, { - "localId" : "384", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "7", - "type" : "Literal" - } ] - }, { - "localId" : "394", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "400", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "401", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "element" : [ { - "localId" : "395", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "4", - "type" : "Literal" - }, { - "localId" : "396", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal" - }, { - "localId" : "397", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "6", - "type" : "Literal" - }, { - "localId" : "398", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "7", - "type" : "Literal" - }, { - "localId" : "399", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "8", - "type" : "Literal" - } ] + "s" : [ { + "r" : "464", + "value" : [ "a", ":", "1" ] + } ] + }, { + "value" : [ ", " ] + }, { + "s" : [ { + "value" : [ "b", ":" ] + }, { + "r" : "465", + "s" : [ { + "value" : [ "'c'" ] + } ] + } ] + }, { + "value" : [ "}" ] } ] - } ] + }, { + "value" : [ ", " ] + }, { + "r" : "472", + "s" : [ { + "value" : [ "Tuple{" ] + }, { + "s" : [ { + "r" : "473", + "value" : [ "a", ":", "2" ] + } ] + }, { + "value" : [ ", " ] + }, { + "s" : [ { + "value" : [ "b", ":" ] + }, { + "r" : "474", + "s" : [ { + "value" : [ "'c'" ] + } ] + } ] + }, { + "value" : [ "}" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "481", + "s" : [ { + "value" : [ "Tuple{" ] + }, { + "s" : [ { + "r" : "482", + "value" : [ "a", ":", "5" ] + } ] + }, { + "value" : [ ", " ] + }, { + "s" : [ { + "value" : [ "b", ":" ] + }, { + "r" : "483", + "s" : [ { + "value" : [ "'e'" ] + } ] + } ] + }, { + "value" : [ "}" ] + } ] + }, { + "value" : [ "}" ] + } ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "515", + "annotation" : [ ], + "elementType" : { + "type" : "TupleTypeSpecifier", + "localId" : "516", + "annotation" : [ ], + "element" : [ { + "localId" : "517", + "name" : "a", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "518", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, { + "localId" : "519", + "name" : "b", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "520", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } + } ] + } + }, + "expression" : { + "type" : "Intersect", + "localId" : "496", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "509", + "annotation" : [ ], + "elementType" : { + "type" : "TupleTypeSpecifier", + "localId" : "510", + "annotation" : [ ], + "element" : [ { + "localId" : "511", + "name" : "a", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "512", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, { + "localId" : "513", + "name" : "b", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "514", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } + } ] } - }, { - "localId" : "418", - "name" : "IntersectTuples", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "418", - "s" : [ { - "value" : [ "","define ","IntersectTuples",": " ] - }, { - "r" : "496", - "s" : [ { - "r" : "419", - "s" : [ { - "value" : [ "{" ] - }, { - "r" : "420", - "s" : [ { - "value" : [ "Tuple{" ] - }, { - "s" : [ { - "r" : "421", - "value" : [ "a",":","1" ] - } ] - }, { - "value" : [ ", " ] - }, { - "s" : [ { - "value" : [ "b",":" ] - }, { - "r" : "422", - "s" : [ { - "value" : [ "'d'" ] - } ] - } ] - }, { - "value" : [ "}" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "429", - "s" : [ { - "value" : [ "Tuple{" ] - }, { - "s" : [ { - "r" : "430", - "value" : [ "a",":","1" ] - } ] - }, { - "value" : [ ", " ] - }, { - "s" : [ { - "value" : [ "b",":" ] - }, { - "r" : "431", - "s" : [ { - "value" : [ "'c'" ] - } ] - } ] - }, { - "value" : [ "}" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "438", - "s" : [ { - "value" : [ "Tuple{" ] - }, { - "s" : [ { - "r" : "439", - "value" : [ "a",":","2" ] - } ] - }, { - "value" : [ ", " ] - }, { - "s" : [ { - "value" : [ "b",":" ] - }, { - "r" : "440", - "s" : [ { - "value" : [ "'c'" ] - } ] - } ] - }, { - "value" : [ "}" ] - } ] - }, { - "value" : [ "}" ] - } ] - }, { - "value" : [ " intersect " ] - }, { - "r" : "453", - "s" : [ { - "value" : [ "{" ] - }, { - "r" : "454", - "s" : [ { - "value" : [ "Tuple{" ] - }, { - "s" : [ { - "r" : "455", - "value" : [ "a",":","2" ] - } ] - }, { - "value" : [ ", " ] - }, { - "s" : [ { - "value" : [ "b",":" ] - }, { - "r" : "456", - "s" : [ { - "value" : [ "'d'" ] - } ] - } ] - }, { - "value" : [ "}" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "463", - "s" : [ { - "value" : [ "Tuple{" ] - }, { - "s" : [ { - "r" : "464", - "value" : [ "a",":","1" ] - } ] - }, { - "value" : [ ", " ] - }, { - "s" : [ { - "value" : [ "b",":" ] - }, { - "r" : "465", - "s" : [ { - "value" : [ "'c'" ] - } ] - } ] - }, { - "value" : [ "}" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "472", - "s" : [ { - "value" : [ "Tuple{" ] - }, { - "s" : [ { - "r" : "473", - "value" : [ "a",":","2" ] - } ] - }, { - "value" : [ ", " ] - }, { - "s" : [ { - "value" : [ "b",":" ] - }, { - "r" : "474", - "s" : [ { - "value" : [ "'c'" ] - } ] - } ] - }, { - "value" : [ "}" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "481", - "s" : [ { - "value" : [ "Tuple{" ] - }, { - "s" : [ { - "r" : "482", - "value" : [ "a",":","5" ] - } ] - }, { - "value" : [ ", " ] - }, { - "s" : [ { - "value" : [ "b",":" ] - }, { - "r" : "483", - "s" : [ { - "value" : [ "'e'" ] - } ] - } ] - }, { - "value" : [ "}" ] - } ] - }, { - "value" : [ "}" ] - } ] - } ] - } ] - } - } ], + }, + "signature" : [ { + "type" : "ListTypeSpecifier", + "localId" : "497", + "annotation" : [ ], + "elementType" : { + "type" : "TupleTypeSpecifier", + "localId" : "498", + "annotation" : [ ], + "element" : [ { + "localId" : "499", + "name" : "a", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "500", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, { + "localId" : "501", + "name" : "b", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "502", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } + } ] + } + }, { + "type" : "ListTypeSpecifier", + "localId" : "503", + "annotation" : [ ], + "elementType" : { + "type" : "TupleTypeSpecifier", + "localId" : "504", + "annotation" : [ ], + "element" : [ { + "localId" : "505", + "name" : "a", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "506", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, { + "localId" : "507", + "name" : "b", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "508", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } + } ] + } + } ], + "operand" : [ { + "type" : "List", + "localId" : "419", + "annotation" : [ ], "resultTypeSpecifier" : { - "localId" : "515", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "516", - "type" : "TupleTypeSpecifier", - "element" : [ { - "localId" : "517", - "name" : "a", - "elementType" : { - "localId" : "518", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "519", - "name" : "b", - "elementType" : { - "localId" : "520", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } - } ] - } - }, - "expression" : { - "localId" : "496", - "type" : "Intersect", - "resultTypeSpecifier" : { - "localId" : "509", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "510", - "type" : "TupleTypeSpecifier", - "element" : [ { - "localId" : "511", - "name" : "a", - "elementType" : { - "localId" : "512", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "513", - "name" : "b", - "elementType" : { - "localId" : "514", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } - } ] - } - }, - "signature" : [ { - "localId" : "497", - "type" : "ListTypeSpecifier", + "type" : "ListTypeSpecifier", + "localId" : "447", + "annotation" : [ ], + "elementType" : { + "type" : "TupleTypeSpecifier", + "localId" : "448", + "annotation" : [ ], + "element" : [ { + "localId" : "449", + "name" : "a", + "annotation" : [ ], "elementType" : { - "localId" : "498", - "type" : "TupleTypeSpecifier", - "element" : [ { - "localId" : "499", - "name" : "a", - "elementType" : { - "localId" : "500", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "501", - "name" : "b", - "elementType" : { - "localId" : "502", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } - } ] + "type" : "NamedTypeSpecifier", + "localId" : "450", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] } - }, { - "localId" : "503", - "type" : "ListTypeSpecifier", + }, { + "localId" : "451", + "name" : "b", + "annotation" : [ ], "elementType" : { - "localId" : "504", - "type" : "TupleTypeSpecifier", - "element" : [ { - "localId" : "505", - "name" : "a", - "elementType" : { - "localId" : "506", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "507", - "name" : "b", - "elementType" : { - "localId" : "508", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } - } ] + "type" : "NamedTypeSpecifier", + "localId" : "452", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] } - } ], - "operand" : [ { - "localId" : "419", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "447", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "448", - "type" : "TupleTypeSpecifier", - "element" : [ { - "localId" : "449", - "name" : "a", - "elementType" : { - "localId" : "450", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "451", - "name" : "b", - "elementType" : { - "localId" : "452", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } - } ] - } - }, - "element" : [ { - "localId" : "420", - "type" : "Tuple", - "resultTypeSpecifier" : { - "localId" : "424", - "type" : "TupleTypeSpecifier", - "element" : [ { - "localId" : "425", - "name" : "a", - "elementType" : { - "localId" : "426", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "427", - "name" : "b", - "elementType" : { - "localId" : "428", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } - } ] - }, - "element" : [ { - "name" : "a", - "value" : { - "localId" : "421", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - } - }, { - "name" : "b", - "value" : { - "localId" : "422", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "d", - "type" : "Literal" - } - } ] - }, { - "localId" : "429", - "type" : "Tuple", - "resultTypeSpecifier" : { - "localId" : "433", - "type" : "TupleTypeSpecifier", - "element" : [ { - "localId" : "434", - "name" : "a", - "elementType" : { - "localId" : "435", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "436", - "name" : "b", - "elementType" : { - "localId" : "437", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } - } ] - }, - "element" : [ { - "name" : "a", - "value" : { - "localId" : "430", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - } - }, { - "name" : "b", - "value" : { - "localId" : "431", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "c", - "type" : "Literal" - } - } ] - }, { - "localId" : "438", - "type" : "Tuple", - "resultTypeSpecifier" : { - "localId" : "442", - "type" : "TupleTypeSpecifier", - "element" : [ { - "localId" : "443", - "name" : "a", - "elementType" : { - "localId" : "444", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "445", - "name" : "b", - "elementType" : { - "localId" : "446", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } - } ] - }, - "element" : [ { - "name" : "a", - "value" : { - "localId" : "439", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal" - } - }, { - "name" : "b", - "value" : { - "localId" : "440", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "c", - "type" : "Literal" - } - } ] - } ] - }, { - "localId" : "453", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "490", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "491", - "type" : "TupleTypeSpecifier", - "element" : [ { - "localId" : "492", - "name" : "a", - "elementType" : { - "localId" : "493", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "494", - "name" : "b", - "elementType" : { - "localId" : "495", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } - } ] - } - }, - "element" : [ { - "localId" : "454", - "type" : "Tuple", - "resultTypeSpecifier" : { - "localId" : "458", - "type" : "TupleTypeSpecifier", - "element" : [ { - "localId" : "459", - "name" : "a", - "elementType" : { - "localId" : "460", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "461", - "name" : "b", - "elementType" : { - "localId" : "462", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } - } ] - }, - "element" : [ { - "name" : "a", - "value" : { - "localId" : "455", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal" - } - }, { - "name" : "b", - "value" : { - "localId" : "456", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "d", - "type" : "Literal" - } - } ] - }, { - "localId" : "463", - "type" : "Tuple", - "resultTypeSpecifier" : { - "localId" : "467", - "type" : "TupleTypeSpecifier", - "element" : [ { - "localId" : "468", - "name" : "a", - "elementType" : { - "localId" : "469", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "470", - "name" : "b", - "elementType" : { - "localId" : "471", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } - } ] - }, - "element" : [ { - "name" : "a", - "value" : { - "localId" : "464", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - } - }, { - "name" : "b", - "value" : { - "localId" : "465", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "c", - "type" : "Literal" - } - } ] - }, { - "localId" : "472", - "type" : "Tuple", - "resultTypeSpecifier" : { - "localId" : "476", - "type" : "TupleTypeSpecifier", - "element" : [ { - "localId" : "477", - "name" : "a", - "elementType" : { - "localId" : "478", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "479", - "name" : "b", - "elementType" : { - "localId" : "480", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } - } ] - }, - "element" : [ { - "name" : "a", - "value" : { - "localId" : "473", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal" - } - }, { - "name" : "b", - "value" : { - "localId" : "474", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "c", - "type" : "Literal" - } - } ] - }, { - "localId" : "481", - "type" : "Tuple", - "resultTypeSpecifier" : { - "localId" : "485", - "type" : "TupleTypeSpecifier", - "element" : [ { - "localId" : "486", - "name" : "a", - "elementType" : { - "localId" : "487", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "488", - "name" : "b", - "elementType" : { - "localId" : "489", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } - } ] - }, - "element" : [ { - "name" : "a", - "value" : { - "localId" : "482", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal" - } - }, { - "name" : "b", - "value" : { - "localId" : "483", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "e", - "type" : "Literal" - } - } ] - } ] - } ] - } - }, { - "localId" : "523", - "name" : "NullIntersect", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "523", - "s" : [ { - "value" : [ "","define ","NullIntersect",": " ] - }, { - "r" : "531", - "s" : [ { - "r" : "524", - "value" : [ "null"," intersect " ] - }, { - "r" : "525", - "s" : [ { - "r" : "526", - "value" : [ "{","1",", ","2",", ","3","}" ] - } ] - } ] - } ] - } - } ], - "resultTypeSpecifier" : { - "localId" : "541", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "542", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } + } ] + } }, - "expression" : { - "localId" : "531", - "type" : "Intersect", - "resultTypeSpecifier" : { - "localId" : "539", - "type" : "ListTypeSpecifier", + "element" : [ { + "type" : "Tuple", + "localId" : "420", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "TupleTypeSpecifier", + "localId" : "424", + "annotation" : [ ], + "element" : [ { + "localId" : "425", + "name" : "a", + "annotation" : [ ], "elementType" : { - "localId" : "540", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" + "type" : "NamedTypeSpecifier", + "localId" : "426", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] } - }, - "signature" : [ { - "localId" : "535", - "type" : "ListTypeSpecifier", + }, { + "localId" : "427", + "name" : "b", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "428", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } + } ] + }, + "element" : [ { + "name" : "a", + "value" : { + "type" : "Literal", + "localId" : "421", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + } + }, { + "name" : "b", + "value" : { + "type" : "Literal", + "localId" : "422", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "d", + "annotation" : [ ] + } + } ] + }, { + "type" : "Tuple", + "localId" : "429", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "TupleTypeSpecifier", + "localId" : "433", + "annotation" : [ ], + "element" : [ { + "localId" : "434", + "name" : "a", + "annotation" : [ ], "elementType" : { - "localId" : "536", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" + "type" : "NamedTypeSpecifier", + "localId" : "435", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] } - }, { - "localId" : "537", - "type" : "ListTypeSpecifier", + }, { + "localId" : "436", + "name" : "b", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "437", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } + } ] + }, + "element" : [ { + "name" : "a", + "value" : { + "type" : "Literal", + "localId" : "430", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + } + }, { + "name" : "b", + "value" : { + "type" : "Literal", + "localId" : "431", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "c", + "annotation" : [ ] + } + } ] + }, { + "type" : "Tuple", + "localId" : "438", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "TupleTypeSpecifier", + "localId" : "442", + "annotation" : [ ], + "element" : [ { + "localId" : "443", + "name" : "a", + "annotation" : [ ], "elementType" : { - "localId" : "538", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "532", - "type" : "As", - "signature" : [ ], - "operand" : { - "localId" : "524", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - }, - "asTypeSpecifier" : { - "localId" : "533", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "534", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } + "type" : "NamedTypeSpecifier", + "localId" : "444", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] } - }, { - "localId" : "525", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "529", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "530", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "element" : [ { - "localId" : "526", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, { - "localId" : "527", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal" - }, { - "localId" : "528", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - } ] - } ] - } - }, { - "localId" : "545", - "name" : "IntersectNull", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "545", - "s" : [ { - "value" : [ "","define ","IntersectNull",": " ] - }, { - "r" : "553", - "s" : [ { - "r" : "546", - "s" : [ { - "r" : "547", - "value" : [ "{","1",", ","2",", ","3","}" ] - } ] - }, { - "r" : "552", - "value" : [ " intersect ","null" ] - } ] - } ] - } - } ], + }, { + "localId" : "445", + "name" : "b", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "446", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } + } ] + }, + "element" : [ { + "name" : "a", + "value" : { + "type" : "Literal", + "localId" : "439", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "annotation" : [ ] + } + }, { + "name" : "b", + "value" : { + "type" : "Literal", + "localId" : "440", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "c", + "annotation" : [ ] + } + } ] + } ] + }, { + "type" : "List", + "localId" : "453", + "annotation" : [ ], "resultTypeSpecifier" : { - "localId" : "563", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "564", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "expression" : { - "localId" : "553", - "type" : "Intersect", - "resultTypeSpecifier" : { - "localId" : "561", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "562", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "signature" : [ { - "localId" : "557", - "type" : "ListTypeSpecifier", + "type" : "ListTypeSpecifier", + "localId" : "490", + "annotation" : [ ], + "elementType" : { + "type" : "TupleTypeSpecifier", + "localId" : "491", + "annotation" : [ ], + "element" : [ { + "localId" : "492", + "name" : "a", + "annotation" : [ ], "elementType" : { - "localId" : "558", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" + "type" : "NamedTypeSpecifier", + "localId" : "493", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] } - }, { - "localId" : "559", - "type" : "ListTypeSpecifier", + }, { + "localId" : "494", + "name" : "b", + "annotation" : [ ], "elementType" : { - "localId" : "560", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "546", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "550", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "551", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "element" : [ { - "localId" : "547", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, { - "localId" : "548", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal" - }, { - "localId" : "549", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - } ] - }, { - "localId" : "554", - "type" : "As", - "signature" : [ ], - "operand" : { - "localId" : "552", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - }, - "asTypeSpecifier" : { - "localId" : "555", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "556", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } + "type" : "NamedTypeSpecifier", + "localId" : "495", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] } - } ] - } - }, { - "localId" : "567", - "name" : "MultipleNullInListIntersect", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "567", - "s" : [ { - "value" : [ "","define ","MultipleNullInListIntersect",": " ] - }, { - "r" : "582", - "s" : [ { - "r" : "568", - "s" : [ { - "r" : "569", - "value" : [ "{","1",", ","2",", ","3",", ","null","}" ] - } ] - }, { - "value" : [ " intersect " ] - }, { - "r" : "576", - "s" : [ { - "r" : "577", - "value" : [ "{","null",", ","3","}" ] - } ] - } ] - } ] - } - } ], - "resultTypeSpecifier" : { - "localId" : "589", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "590", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } + } ] + } }, - "expression" : { - "localId" : "582", - "type" : "Intersect", - "resultTypeSpecifier" : { - "localId" : "587", - "type" : "ListTypeSpecifier", + "element" : [ { + "type" : "Tuple", + "localId" : "454", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "TupleTypeSpecifier", + "localId" : "458", + "annotation" : [ ], + "element" : [ { + "localId" : "459", + "name" : "a", + "annotation" : [ ], "elementType" : { - "localId" : "588", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" + "type" : "NamedTypeSpecifier", + "localId" : "460", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] } - }, - "signature" : [ { - "localId" : "583", - "type" : "ListTypeSpecifier", + }, { + "localId" : "461", + "name" : "b", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "462", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } + } ] + }, + "element" : [ { + "name" : "a", + "value" : { + "type" : "Literal", + "localId" : "455", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "annotation" : [ ] + } + }, { + "name" : "b", + "value" : { + "type" : "Literal", + "localId" : "456", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "d", + "annotation" : [ ] + } + } ] + }, { + "type" : "Tuple", + "localId" : "463", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "TupleTypeSpecifier", + "localId" : "467", + "annotation" : [ ], + "element" : [ { + "localId" : "468", + "name" : "a", + "annotation" : [ ], "elementType" : { - "localId" : "584", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" + "type" : "NamedTypeSpecifier", + "localId" : "469", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] } - }, { - "localId" : "585", - "type" : "ListTypeSpecifier", + }, { + "localId" : "470", + "name" : "b", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "471", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } + } ] + }, + "element" : [ { + "name" : "a", + "value" : { + "type" : "Literal", + "localId" : "464", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + } + }, { + "name" : "b", + "value" : { + "type" : "Literal", + "localId" : "465", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "c", + "annotation" : [ ] + } + } ] + }, { + "type" : "Tuple", + "localId" : "472", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "TupleTypeSpecifier", + "localId" : "476", + "annotation" : [ ], + "element" : [ { + "localId" : "477", + "name" : "a", + "annotation" : [ ], "elementType" : { - "localId" : "586", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" + "type" : "NamedTypeSpecifier", + "localId" : "478", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] } - } ], - "operand" : [ { - "localId" : "568", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "574", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "575", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "element" : [ { - "localId" : "569", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, { - "localId" : "570", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal" - }, { - "localId" : "571", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, { - "localId" : "573", - "asType" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "As", - "signature" : [ ], - "operand" : { - "localId" : "572", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - } - } ] - }, { - "localId" : "576", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "580", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "581", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "element" : [ { - "localId" : "579", - "asType" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "As", - "signature" : [ ], - "operand" : { - "localId" : "577", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - } - }, { - "localId" : "578", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - } ] - } ] - } - } ] - } - } + }, { + "localId" : "479", + "name" : "b", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "480", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } + } ] + }, + "element" : [ { + "name" : "a", + "value" : { + "type" : "Literal", + "localId" : "473", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "annotation" : [ ] + } + }, { + "name" : "b", + "value" : { + "type" : "Literal", + "localId" : "474", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "c", + "annotation" : [ ] + } + } ] + }, { + "type" : "Tuple", + "localId" : "481", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "TupleTypeSpecifier", + "localId" : "485", + "annotation" : [ ], + "element" : [ { + "localId" : "486", + "name" : "a", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "487", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, { + "localId" : "488", + "name" : "b", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "489", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } + } ] + }, + "element" : [ { + "name" : "a", + "value" : { + "type" : "Literal", + "localId" : "482", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "5", + "annotation" : [ ] + } + }, { + "name" : "b", + "value" : { + "type" : "Literal", + "localId" : "483", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "e", + "annotation" : [ ] + } + } ] + } ] + } ] + } + }, { + "localId" : "523", + "name" : "NullIntersect", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "523", + "s" : [ { + "value" : [ "", "define ", "NullIntersect", ": " ] + }, { + "r" : "531", + "s" : [ { + "r" : "524", + "value" : [ "null", " intersect " ] + }, { + "r" : "525", + "s" : [ { + "r" : "526", + "value" : [ "{", "1", ", ", "2", ", ", "3", "}" ] + } ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "541", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "542", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "expression" : { + "type" : "Intersect", + "localId" : "531", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "539", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "540", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "signature" : [ { + "type" : "ListTypeSpecifier", + "localId" : "535", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "536", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, { + "type" : "ListTypeSpecifier", + "localId" : "537", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "538", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "As", + "localId" : "532", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Null", + "localId" : "524", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + }, + "asTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "533", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "534", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } + }, { + "type" : "List", + "localId" : "525", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "529", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "530", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "element" : [ { + "type" : "Literal", + "localId" : "526", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "527", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "528", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + } ] + } ] + } + }, { + "localId" : "545", + "name" : "IntersectNull", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "545", + "s" : [ { + "value" : [ "", "define ", "IntersectNull", ": " ] + }, { + "r" : "553", + "s" : [ { + "r" : "546", + "s" : [ { + "r" : "547", + "value" : [ "{", "1", ", ", "2", ", ", "3", "}" ] + } ] + }, { + "r" : "552", + "value" : [ " intersect ", "null" ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "563", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "564", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "expression" : { + "type" : "Intersect", + "localId" : "553", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "561", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "562", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "signature" : [ { + "type" : "ListTypeSpecifier", + "localId" : "557", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "558", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, { + "type" : "ListTypeSpecifier", + "localId" : "559", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "560", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "List", + "localId" : "546", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "550", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "551", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "element" : [ { + "type" : "Literal", + "localId" : "547", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "548", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "549", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + } ] + }, { + "type" : "As", + "localId" : "554", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Null", + "localId" : "552", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + }, + "asTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "555", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "556", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } + } ] + } + }, { + "localId" : "567", + "name" : "MultipleNullInListIntersect", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "567", + "s" : [ { + "value" : [ "", "define ", "MultipleNullInListIntersect", ": " ] + }, { + "r" : "582", + "s" : [ { + "r" : "568", + "s" : [ { + "r" : "569", + "value" : [ "{", "1", ", ", "2", ", ", "3", ", ", "null", "}" ] + } ] + }, { + "value" : [ " intersect " ] + }, { + "r" : "576", + "s" : [ { + "r" : "577", + "value" : [ "{", "null", ", ", "3", "}" ] + } ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "589", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "590", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "expression" : { + "type" : "Intersect", + "localId" : "582", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "587", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "588", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "signature" : [ { + "type" : "ListTypeSpecifier", + "localId" : "583", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "584", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, { + "type" : "ListTypeSpecifier", + "localId" : "585", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "586", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "List", + "localId" : "568", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "574", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "575", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "element" : [ { + "type" : "Literal", + "localId" : "569", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "570", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "571", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, { + "type" : "As", + "localId" : "573", + "asType" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Null", + "localId" : "572", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } + } ] + }, { + "type" : "List", + "localId" : "576", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "580", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "581", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "element" : [ { + "type" : "As", + "localId" : "579", + "asType" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Null", + "localId" : "577", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } + }, { + "type" : "Literal", + "localId" : "578", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + } ] + } ] + } + } ] + } + } } /* IndexOf @@ -10281,1776 +11751,1947 @@ define ListWrongCodeSystem: IndexOf({Code{code: 'F', system: '1.16.840.1.113883. */ module.exports['IndexOf'] = { - "library" : { - "localId" : "0", - "annotation" : [ { - "translatorVersion" : "3.27.0", - "translatorOptions" : "EnableDateRangeOptimization,EnableAnnotations,EnableResultTypes", - "signatureLevel" : "All", - "type" : "CqlToElmInfo" + "library" : { + "localId" : "0", + "annotation" : [ { + "type" : "CqlToElmInfo", + "translatorVersion" : "4.2.0", + "translatorOptions" : "EnableDateRangeOptimization,EnableAnnotations,EnableResultTypes", + "signatureLevel" : "All" + }, { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "480", + "s" : [ { + "value" : [ "", "library TestSnippet version '1'" ] + } ] + } + } ], + "identifier" : { + "id" : "TestSnippet", + "version" : "1" + }, + "schemaIdentifier" : { + "id" : "urn:hl7-org:elm", + "version" : "r1" + }, + "usings" : { + "def" : [ { + "localId" : "1", + "localIdentifier" : "System", + "uri" : "urn:hl7-org:elm-types:r1", + "annotation" : [ ] }, { - "type" : "Annotation", - "s" : { - "r" : "480", + "localId" : "206", + "localIdentifier" : "Simple", + "uri" : "https://github.com/cqframework/cql-execution/simple", + "version" : "1.0.0", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "206", "s" : [ { - "value" : [ "","library TestSnippet version '1'" ] - } ] - } - } ], - "identifier" : { - "id" : "TestSnippet", - "version" : "1" - }, - "schemaIdentifier" : { - "id" : "urn:hl7-org:elm", - "version" : "r1" - }, - "usings" : { - "def" : [ { - "localId" : "1", - "localIdentifier" : "System", - "uri" : "urn:hl7-org:elm-types:r1" - }, { - "localId" : "206", - "localIdentifier" : "Simple", - "uri" : "https://github.com/cqframework/cql-execution/simple", - "version" : "1.0.0", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "206", - "s" : [ { - "value" : [ "","using " ] - }, { - "s" : [ { - "value" : [ "Simple" ] - } ] - }, { - "value" : [ " version '1.0.0'" ] - } ] - } - } ] - } ] - }, - "contexts" : { - "def" : [ { - "localId" : "211", - "name" : "Patient" - } ] - }, - "statements" : { - "def" : [ { - "localId" : "209", - "name" : "Patient", - "context" : "Patient", - "expression" : { - "localId" : "210", - "type" : "SingletonFrom", - "signature" : [ ], - "operand" : { - "localId" : "208", - "dataType" : "{https://github.com/cqframework/cql-execution/simple}Patient", - "type" : "Retrieve", - "include" : [ ], - "codeFilter" : [ ], - "dateFilter" : [ ], - "otherFilter" : [ ] - } - } - }, { - "localId" : "214", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "name" : "IndexOfSecond", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "214", - "s" : [ { - "value" : [ "","define ","IndexOfSecond",": " ] - }, { - "r" : "233", - "s" : [ { - "value" : [ "IndexOf","(" ] - }, { - "r" : "215", - "s" : [ { - "value" : [ "{" ] - }, { - "r" : "216", - "s" : [ { - "value" : [ "'a'" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "218", - "s" : [ { - "value" : [ "'b'" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "220", - "s" : [ { - "value" : [ "'c'" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "222", - "s" : [ { - "value" : [ "'d'" ] - } ] - }, { - "value" : [ "}" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "226", - "s" : [ { - "value" : [ "'b'" ] - } ] - }, { - "value" : [ ")" ] - } ] + "value" : [ "", "using " ] + }, { + "s" : [ { + "value" : [ "Simple" ] + } ] + }, { + "value" : [ " version '1.0.0'" ] + } ] + } + } ] + } ] + }, + "contexts" : { + "def" : [ { + "localId" : "211", + "name" : "Patient", + "annotation" : [ ] + } ] + }, + "statements" : { + "def" : [ { + "localId" : "209", + "name" : "Patient", + "context" : "Patient", + "annotation" : [ ], + "expression" : { + "type" : "SingletonFrom", + "localId" : "210", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Retrieve", + "localId" : "208", + "dataType" : "{https://github.com/cqframework/cql-execution/simple}Patient", + "annotation" : [ ], + "include" : [ ], + "codeFilter" : [ ], + "dateFilter" : [ ], + "otherFilter" : [ ] + } + } + }, { + "localId" : "214", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "name" : "IndexOfSecond", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "214", + "s" : [ { + "value" : [ "", "define ", "IndexOfSecond", ": " ] + }, { + "r" : "233", + "s" : [ { + "value" : [ "IndexOf", "(" ] + }, { + "r" : "215", + "s" : [ { + "value" : [ "{" ] + }, { + "r" : "216", + "s" : [ { + "value" : [ "'a'" ] } ] - } - } ], - "expression" : { - "localId" : "233", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "IndexOf", - "signature" : [ { - "localId" : "234", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "235", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "236", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } ], - "source" : { - "localId" : "215", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "224", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "225", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } - }, - "element" : [ { - "localId" : "216", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "a", - "type" : "Literal" - }, { - "localId" : "218", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "b", - "type" : "Literal" - }, { - "localId" : "220", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "c", - "type" : "Literal" - }, { - "localId" : "222", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "d", - "type" : "Literal" - } ] - }, - "element" : { - "localId" : "226", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "b", - "type" : "Literal" - } + }, { + "value" : [ ", " ] + }, { + "r" : "218", + "s" : [ { + "value" : [ "'b'" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "220", + "s" : [ { + "value" : [ "'c'" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "222", + "s" : [ { + "value" : [ "'d'" ] + } ] + }, { + "value" : [ "}" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "226", + "s" : [ { + "value" : [ "'b'" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "IndexOf", + "localId" : "233", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ], + "signature" : [ { + "type" : "ListTypeSpecifier", + "localId" : "234", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "235", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] } - }, { - "localId" : "239", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "name" : "IndexOfThirdTuple", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "239", + }, { + "type" : "NamedTypeSpecifier", + "localId" : "236", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } ], + "source" : { + "type" : "List", + "localId" : "215", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "224", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "225", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } + }, + "element" : [ { + "type" : "Literal", + "localId" : "216", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "a", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "218", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "b", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "220", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "c", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "222", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "d", + "annotation" : [ ] + } ] + }, + "element" : { + "type" : "Literal", + "localId" : "226", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "b", + "annotation" : [ ] + } + } + }, { + "localId" : "239", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "name" : "IndexOfThirdTuple", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "239", + "s" : [ { + "value" : [ "", "define ", "IndexOfThirdTuple", ": " ] + }, { + "r" : "274", + "s" : [ { + "value" : [ "IndexOf", "(" ] + }, { + "r" : "240", + "s" : [ { + "value" : [ "{" ] + }, { + "r" : "241", "s" : [ { - "value" : [ "","define ","IndexOfThirdTuple",": " ] + "value" : [ "Tuple{" ] }, { - "r" : "274", - "s" : [ { - "value" : [ "IndexOf","(" ] - }, { - "r" : "240", - "s" : [ { - "value" : [ "{" ] - }, { - "r" : "241", - "s" : [ { - "value" : [ "Tuple{" ] - }, { - "s" : [ { - "r" : "242", - "value" : [ "a",": ","1" ] - } ] - }, { - "value" : [ "}" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "246", - "s" : [ { - "value" : [ "Tuple{" ] - }, { - "s" : [ { - "r" : "247", - "value" : [ "a",": ","2" ] - } ] - }, { - "value" : [ "}" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "251", - "s" : [ { - "value" : [ "Tuple{" ] - }, { - "s" : [ { - "r" : "252", - "value" : [ "a",": ","3" ] - } ] - }, { - "value" : [ "}" ] - } ] - }, { - "value" : [ "}" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "260", - "s" : [ { - "value" : [ "Tuple{" ] - }, { - "s" : [ { - "r" : "261", - "value" : [ "a",": ","3" ] - } ] - }, { - "value" : [ "}" ] - } ] - }, { - "value" : [ ")" ] - } ] + "s" : [ { + "r" : "242", + "value" : [ "a", ": ", "1" ] + } ] + }, { + "value" : [ "}" ] } ] - } - } ], - "expression" : { - "localId" : "274", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "IndexOf", - "signature" : [ { - "localId" : "275", - "type" : "ListTypeSpecifier", + }, { + "value" : [ ", " ] + }, { + "r" : "246", + "s" : [ { + "value" : [ "Tuple{" ] + }, { + "s" : [ { + "r" : "247", + "value" : [ "a", ": ", "2" ] + } ] + }, { + "value" : [ "}" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "251", + "s" : [ { + "value" : [ "Tuple{" ] + }, { + "s" : [ { + "r" : "252", + "value" : [ "a", ": ", "3" ] + } ] + }, { + "value" : [ "}" ] + } ] + }, { + "value" : [ "}" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "260", + "s" : [ { + "value" : [ "Tuple{" ] + }, { + "s" : [ { + "r" : "261", + "value" : [ "a", ": ", "3" ] + } ] + }, { + "value" : [ "}" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "IndexOf", + "localId" : "274", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ], + "signature" : [ { + "type" : "ListTypeSpecifier", + "localId" : "275", + "annotation" : [ ], + "elementType" : { + "type" : "TupleTypeSpecifier", + "localId" : "276", + "annotation" : [ ], + "element" : [ { + "localId" : "277", + "name" : "a", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "278", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } ] + } + }, { + "type" : "TupleTypeSpecifier", + "localId" : "279", + "annotation" : [ ], + "element" : [ { + "localId" : "280", + "name" : "a", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "281", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } ] + } ], + "source" : { + "type" : "List", + "localId" : "240", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "256", + "annotation" : [ ], + "elementType" : { + "type" : "TupleTypeSpecifier", + "localId" : "257", + "annotation" : [ ], + "element" : [ { + "localId" : "258", + "name" : "a", + "annotation" : [ ], "elementType" : { - "localId" : "276", - "type" : "TupleTypeSpecifier", - "element" : [ { - "localId" : "277", - "name" : "a", - "elementType" : { - "localId" : "278", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } ] + "type" : "NamedTypeSpecifier", + "localId" : "259", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] } - }, { - "localId" : "279", - "type" : "TupleTypeSpecifier", - "element" : [ { - "localId" : "280", - "name" : "a", - "elementType" : { - "localId" : "281", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } + } ] + } + }, + "element" : [ { + "type" : "Tuple", + "localId" : "241", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "TupleTypeSpecifier", + "localId" : "243", + "annotation" : [ ], + "element" : [ { + "localId" : "244", + "name" : "a", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "245", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } ] + }, + "element" : [ { + "name" : "a", + "value" : { + "type" : "Literal", + "localId" : "242", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + } + } ] + }, { + "type" : "Tuple", + "localId" : "246", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "TupleTypeSpecifier", + "localId" : "248", + "annotation" : [ ], + "element" : [ { + "localId" : "249", + "name" : "a", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "250", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } ] + }, + "element" : [ { + "name" : "a", + "value" : { + "type" : "Literal", + "localId" : "247", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "annotation" : [ ] + } + } ] + }, { + "type" : "Tuple", + "localId" : "251", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "TupleTypeSpecifier", + "localId" : "253", + "annotation" : [ ], + "element" : [ { + "localId" : "254", + "name" : "a", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "255", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } ] + }, + "element" : [ { + "name" : "a", + "value" : { + "type" : "Literal", + "localId" : "252", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + } + } ] + } ] + }, + "element" : { + "type" : "Tuple", + "localId" : "260", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "TupleTypeSpecifier", + "localId" : "262", + "annotation" : [ ], + "element" : [ { + "localId" : "263", + "name" : "a", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "264", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } ] + }, + "element" : [ { + "name" : "a", + "value" : { + "type" : "Literal", + "localId" : "261", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + } + } ] + } + } + }, { + "localId" : "284", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "name" : "MultipleMatches", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "284", + "s" : [ { + "value" : [ "", "define ", "MultipleMatches", ": " ] + }, { + "r" : "309", + "s" : [ { + "value" : [ "IndexOf", "(" ] + }, { + "r" : "285", + "s" : [ { + "value" : [ "{" ] + }, { + "r" : "286", + "s" : [ { + "value" : [ "'a'" ] } ] - } ], - "source" : { - "localId" : "240", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "256", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "257", - "type" : "TupleTypeSpecifier", - "element" : [ { - "localId" : "258", - "name" : "a", - "elementType" : { - "localId" : "259", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } ] - } - }, - "element" : [ { - "localId" : "241", - "type" : "Tuple", - "resultTypeSpecifier" : { - "localId" : "243", - "type" : "TupleTypeSpecifier", - "element" : [ { - "localId" : "244", - "name" : "a", - "elementType" : { - "localId" : "245", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } ] - }, - "element" : [ { - "name" : "a", - "value" : { - "localId" : "242", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - } - } ] - }, { - "localId" : "246", - "type" : "Tuple", - "resultTypeSpecifier" : { - "localId" : "248", - "type" : "TupleTypeSpecifier", - "element" : [ { - "localId" : "249", - "name" : "a", - "elementType" : { - "localId" : "250", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } ] - }, - "element" : [ { - "name" : "a", - "value" : { - "localId" : "247", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal" - } - } ] - }, { - "localId" : "251", - "type" : "Tuple", - "resultTypeSpecifier" : { - "localId" : "253", - "type" : "TupleTypeSpecifier", - "element" : [ { - "localId" : "254", - "name" : "a", - "elementType" : { - "localId" : "255", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } ] - }, - "element" : [ { - "name" : "a", - "value" : { - "localId" : "252", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - } - } ] + }, { + "value" : [ ", " ] + }, { + "r" : "288", + "s" : [ { + "value" : [ "'b'" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "290", + "s" : [ { + "value" : [ "'c'" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "292", + "s" : [ { + "value" : [ "'d'" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "294", + "s" : [ { + "value" : [ "'d'" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "296", + "s" : [ { + "value" : [ "'e'" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "298", + "s" : [ { + "value" : [ "'d'" ] + } ] + }, { + "value" : [ "}" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "302", + "s" : [ { + "value" : [ "'d'" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "IndexOf", + "localId" : "309", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ], + "signature" : [ { + "type" : "ListTypeSpecifier", + "localId" : "310", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "311", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } + }, { + "type" : "NamedTypeSpecifier", + "localId" : "312", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } ], + "source" : { + "type" : "List", + "localId" : "285", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "300", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "301", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } + }, + "element" : [ { + "type" : "Literal", + "localId" : "286", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "a", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "288", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "b", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "290", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "c", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "292", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "d", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "294", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "d", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "296", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "e", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "298", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "d", + "annotation" : [ ] + } ] + }, + "element" : { + "type" : "Literal", + "localId" : "302", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "d", + "annotation" : [ ] + } + } + }, { + "localId" : "315", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "name" : "ItemNotFound", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "315", + "s" : [ { + "value" : [ "", "define ", "ItemNotFound", ": " ] + }, { + "r" : "332", + "s" : [ { + "value" : [ "IndexOf", "(" ] + }, { + "r" : "316", + "s" : [ { + "value" : [ "{" ] + }, { + "r" : "317", + "s" : [ { + "value" : [ "'a'" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "319", + "s" : [ { + "value" : [ "'b'" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "321", + "s" : [ { + "value" : [ "'c'" ] + } ] + }, { + "value" : [ "}" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "325", + "s" : [ { + "value" : [ "'d'" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "IndexOf", + "localId" : "332", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ], + "signature" : [ { + "type" : "ListTypeSpecifier", + "localId" : "333", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "334", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } + }, { + "type" : "NamedTypeSpecifier", + "localId" : "335", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } ], + "source" : { + "type" : "List", + "localId" : "316", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "323", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "324", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } + }, + "element" : [ { + "type" : "Literal", + "localId" : "317", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "a", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "319", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "b", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "321", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "c", + "annotation" : [ ] + } ] + }, + "element" : { + "type" : "Literal", + "localId" : "325", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "d", + "annotation" : [ ] + } + } + }, { + "localId" : "338", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "name" : "NullList", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "338", + "s" : [ { + "value" : [ "", "define ", "NullList", ": " ] + }, { + "r" : "350", + "s" : [ { + "r" : "339", + "value" : [ "IndexOf", "(", "null", ", " ] + }, { + "r" : "340", + "s" : [ { + "value" : [ "'a'" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "IndexOf", + "localId" : "350", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ], + "signature" : [ { + "type" : "ListTypeSpecifier", + "localId" : "354", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "355", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } + }, { + "type" : "NamedTypeSpecifier", + "localId" : "356", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } ], + "source" : { + "type" : "As", + "localId" : "351", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Null", + "localId" : "339", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + }, + "asTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "352", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "353", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } + } + }, + "element" : { + "type" : "Literal", + "localId" : "340", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "a", + "annotation" : [ ] + } + } + }, { + "localId" : "359", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "name" : "NullItem", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "359", + "s" : [ { + "value" : [ "", "define ", "NullItem", ": " ] + }, { + "r" : "376", + "s" : [ { + "value" : [ "IndexOf", "(" ] + }, { + "r" : "360", + "s" : [ { + "value" : [ "{" ] + }, { + "r" : "361", + "s" : [ { + "value" : [ "'a'" ] } ] - }, - "element" : { - "localId" : "260", - "type" : "Tuple", - "resultTypeSpecifier" : { - "localId" : "262", - "type" : "TupleTypeSpecifier", - "element" : [ { - "localId" : "263", - "name" : "a", - "elementType" : { - "localId" : "264", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } ] - }, - "element" : [ { - "name" : "a", - "value" : { - "localId" : "261", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - } + }, { + "value" : [ ", " ] + }, { + "r" : "363", + "s" : [ { + "value" : [ "'b'" ] } ] - } + }, { + "value" : [ ", " ] + }, { + "r" : "365", + "s" : [ { + "value" : [ "'c'" ] + } ] + }, { + "value" : [ "}" ] + } ] + }, { + "r" : "369", + "value" : [ ", ", "null", ")" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "IndexOf", + "localId" : "376", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ], + "signature" : [ { + "type" : "ListTypeSpecifier", + "localId" : "378", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "379", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] } - }, { - "localId" : "284", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "name" : "MultipleMatches", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "284", + }, { + "type" : "NamedTypeSpecifier", + "localId" : "380", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } ], + "source" : { + "type" : "List", + "localId" : "360", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "367", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "368", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } + }, + "element" : [ { + "type" : "Literal", + "localId" : "361", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "a", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "363", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "b", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "365", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "c", + "annotation" : [ ] + } ] + }, + "element" : { + "type" : "As", + "localId" : "377", + "asType" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Null", + "localId" : "369", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } + } + } + }, { + "localId" : "383", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "name" : "ListCode", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "383", + "s" : [ { + "value" : [ "", "define ", "ListCode", ": " ] + }, { + "r" : "412", + "s" : [ { + "value" : [ "IndexOf", "(" ] + }, { + "r" : "384", + "s" : [ { + "value" : [ "{" ] + }, { + "r" : "385", "s" : [ { - "value" : [ "","define ","MultipleMatches",": " ] + "value" : [ "Code", "{" ] + }, { + "s" : [ { + "value" : [ "code", ": " ] + }, { + "r" : "387", + "s" : [ { + "value" : [ "'F'" ] + } ] + } ] + }, { + "value" : [ ", " ] + }, { + "s" : [ { + "value" : [ "system", ": " ] + }, { + "r" : "389", + "s" : [ { + "value" : [ "'2.16.840.1.113883.18.2'" ] + } ] + } ] + }, { + "value" : [ ", " ] + }, { + "s" : [ { + "value" : [ "version", ": " ] + }, { + "r" : "391", + "s" : [ { + "value" : [ "'HL7V2.5'" ] + } ] + } ] + }, { + "value" : [ ", " ] + }, { + "s" : [ { + "value" : [ "display", ": " ] + }, { + "r" : "393", + "s" : [ { + "value" : [ "'foo'" ] + } ] + } ] + }, { + "value" : [ "}" ] + } ] + }, { + "value" : [ "}" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "397", + "s" : [ { + "value" : [ "Code", "{" ] + }, { + "s" : [ { + "value" : [ "code", ": " ] }, { - "r" : "309", - "s" : [ { - "value" : [ "IndexOf","(" ] - }, { - "r" : "285", - "s" : [ { - "value" : [ "{" ] - }, { - "r" : "286", - "s" : [ { - "value" : [ "'a'" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "288", - "s" : [ { - "value" : [ "'b'" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "290", - "s" : [ { - "value" : [ "'c'" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "292", - "s" : [ { - "value" : [ "'d'" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "294", - "s" : [ { - "value" : [ "'d'" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "296", - "s" : [ { - "value" : [ "'e'" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "298", - "s" : [ { - "value" : [ "'d'" ] - } ] - }, { - "value" : [ "}" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "302", - "s" : [ { - "value" : [ "'d'" ] - } ] - }, { - "value" : [ ")" ] - } ] + "r" : "399", + "s" : [ { + "value" : [ "'F'" ] + } ] } ] - } - } ], - "expression" : { - "localId" : "309", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "IndexOf", - "signature" : [ { - "localId" : "310", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "311", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "312", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } ], - "source" : { - "localId" : "285", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "300", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "301", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } - }, - "element" : [ { - "localId" : "286", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "a", - "type" : "Literal" - }, { - "localId" : "288", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "b", - "type" : "Literal" - }, { - "localId" : "290", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "c", - "type" : "Literal" - }, { - "localId" : "292", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "d", - "type" : "Literal" - }, { - "localId" : "294", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "d", - "type" : "Literal" - }, { - "localId" : "296", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "e", - "type" : "Literal" - }, { - "localId" : "298", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "d", - "type" : "Literal" - } ] - }, - "element" : { - "localId" : "302", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "d", - "type" : "Literal" - } - } - }, { - "localId" : "315", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "name" : "ItemNotFound", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "315", + }, { + "value" : [ ", " ] + }, { "s" : [ { - "value" : [ "","define ","ItemNotFound",": " ] + "value" : [ "system", ": " ] }, { - "r" : "332", - "s" : [ { - "value" : [ "IndexOf","(" ] - }, { - "r" : "316", - "s" : [ { - "value" : [ "{" ] - }, { - "r" : "317", - "s" : [ { - "value" : [ "'a'" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "319", - "s" : [ { - "value" : [ "'b'" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "321", - "s" : [ { - "value" : [ "'c'" ] - } ] - }, { - "value" : [ "}" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "325", - "s" : [ { - "value" : [ "'d'" ] - } ] - }, { - "value" : [ ")" ] - } ] + "r" : "401", + "s" : [ { + "value" : [ "'2.16.840.1.113883.18.2'" ] + } ] } ] - } - } ], - "expression" : { - "localId" : "332", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "IndexOf", - "signature" : [ { - "localId" : "333", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "334", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "335", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } ], - "source" : { - "localId" : "316", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "323", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "324", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } - }, - "element" : [ { - "localId" : "317", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "a", - "type" : "Literal" - }, { - "localId" : "319", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "b", - "type" : "Literal" - }, { - "localId" : "321", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "c", - "type" : "Literal" - } ] - }, - "element" : { - "localId" : "325", + }, { + "value" : [ ", " ] + }, { + "s" : [ { + "value" : [ "version", ": " ] + }, { + "r" : "403", + "s" : [ { + "value" : [ "'HL7V2.5'" ] + } ] + } ] + }, { + "value" : [ ", " ] + }, { + "s" : [ { + "value" : [ "display", ": " ] + }, { + "r" : "405", + "s" : [ { + "value" : [ "'foo'" ] + } ] + } ] + }, { + "value" : [ "}" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "IndexOf", + "localId" : "412", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ], + "signature" : [ { + "type" : "ListTypeSpecifier", + "localId" : "413", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "414", + "name" : "{urn:hl7-org:elm-types:r1}Code", + "annotation" : [ ] + } + }, { + "type" : "NamedTypeSpecifier", + "localId" : "415", + "name" : "{urn:hl7-org:elm-types:r1}Code", + "annotation" : [ ] + } ], + "source" : { + "type" : "List", + "localId" : "384", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "395", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "396", + "name" : "{urn:hl7-org:elm-types:r1}Code", + "annotation" : [ ] + } + }, + "element" : [ { + "type" : "Instance", + "localId" : "385", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Code", + "classType" : "{urn:hl7-org:elm-types:r1}Code", + "annotation" : [ ], + "element" : [ { + "name" : "code", + "value" : { + "type" : "Literal", + "localId" : "387", "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "d", - "type" : "Literal" - } - } - }, { - "localId" : "338", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "name" : "NullList", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "338", - "s" : [ { - "value" : [ "","define ","NullList",": " ] - }, { - "r" : "350", - "s" : [ { - "r" : "339", - "value" : [ "IndexOf","(","null",", " ] - }, { - "r" : "340", - "s" : [ { - "value" : [ "'a'" ] - } ] - }, { - "value" : [ ")" ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "350", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "IndexOf", - "signature" : [ { - "localId" : "354", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "355", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "356", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } ], - "source" : { - "localId" : "351", - "type" : "As", - "signature" : [ ], - "operand" : { - "localId" : "339", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - }, - "asTypeSpecifier" : { - "localId" : "352", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "353", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } - } - }, - "element" : { - "localId" : "340", + "value" : "F", + "annotation" : [ ] + } + }, { + "name" : "system", + "value" : { + "type" : "Literal", + "localId" : "389", "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "a", - "type" : "Literal" - } - } - }, { - "localId" : "359", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "name" : "NullItem", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "359", + "value" : "2.16.840.1.113883.18.2", + "annotation" : [ ] + } + }, { + "name" : "version", + "value" : { + "type" : "Literal", + "localId" : "391", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "HL7V2.5", + "annotation" : [ ] + } + }, { + "name" : "display", + "value" : { + "type" : "Literal", + "localId" : "393", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "foo", + "annotation" : [ ] + } + } ] + } ] + }, + "element" : { + "type" : "Instance", + "localId" : "397", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Code", + "classType" : "{urn:hl7-org:elm-types:r1}Code", + "annotation" : [ ], + "element" : [ { + "name" : "code", + "value" : { + "type" : "Literal", + "localId" : "399", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "F", + "annotation" : [ ] + } + }, { + "name" : "system", + "value" : { + "type" : "Literal", + "localId" : "401", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "2.16.840.1.113883.18.2", + "annotation" : [ ] + } + }, { + "name" : "version", + "value" : { + "type" : "Literal", + "localId" : "403", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "HL7V2.5", + "annotation" : [ ] + } + }, { + "name" : "display", + "value" : { + "type" : "Literal", + "localId" : "405", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "foo", + "annotation" : [ ] + } + } ] + } + } + }, { + "localId" : "418", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "name" : "ListCodeUndefined", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "418", + "s" : [ { + "value" : [ "", "define ", "ListCodeUndefined", ": " ] + }, { + "r" : "443", + "s" : [ { + "value" : [ "IndexOf", "(" ] + }, { + "r" : "419", + "s" : [ { + "value" : [ "{" ] + }, { + "r" : "420", + "s" : [ { + "value" : [ "Code", "{" ] + }, { + "s" : [ { + "value" : [ "code", ": " ] + }, { + "r" : "422", + "s" : [ { + "value" : [ "'F'" ] + } ] + } ] + }, { + "value" : [ ", " ] + }, { + "s" : [ { + "value" : [ "system", ": " ] + }, { + "r" : "424", + "s" : [ { + "value" : [ "'2.16.840.1.113883.18.2'" ] + } ] + } ] + }, { + "value" : [ ", " ] + }, { + "s" : [ { + "value" : [ "version", ": " ] + }, { + "r" : "426", + "s" : [ { + "value" : [ "'HL7V2.5'" ] + } ] + } ] + }, { + "value" : [ "}" ] + } ] + }, { + "value" : [ "}" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "430", + "s" : [ { + "value" : [ "Code", "{" ] + }, { "s" : [ { - "value" : [ "","define ","NullItem",": " ] + "value" : [ "code", ": " ] }, { - "r" : "376", - "s" : [ { - "value" : [ "IndexOf","(" ] - }, { - "r" : "360", - "s" : [ { - "value" : [ "{" ] - }, { - "r" : "361", - "s" : [ { - "value" : [ "'a'" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "363", - "s" : [ { - "value" : [ "'b'" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "365", - "s" : [ { - "value" : [ "'c'" ] - } ] - }, { - "value" : [ "}" ] - } ] - }, { - "r" : "369", - "value" : [ ", ","null",")" ] - } ] + "r" : "432", + "s" : [ { + "value" : [ "'F'" ] + } ] } ] - } - } ], - "expression" : { - "localId" : "376", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "IndexOf", - "signature" : [ { - "localId" : "378", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "379", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "380", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } ], - "source" : { - "localId" : "360", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "367", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "368", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } - }, - "element" : [ { - "localId" : "361", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "a", - "type" : "Literal" - }, { - "localId" : "363", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "b", - "type" : "Literal" - }, { - "localId" : "365", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "c", - "type" : "Literal" - } ] - }, - "element" : { - "localId" : "377", - "asType" : "{urn:hl7-org:elm-types:r1}String", - "type" : "As", - "signature" : [ ], - "operand" : { - "localId" : "369", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - } - } - } - }, { - "localId" : "383", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "name" : "ListCode", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "383", + }, { + "value" : [ ", " ] + }, { "s" : [ { - "value" : [ "","define ","ListCode",": " ] + "value" : [ "system", ": " ] }, { - "r" : "412", - "s" : [ { - "value" : [ "IndexOf","(" ] - }, { - "r" : "384", - "s" : [ { - "value" : [ "{" ] - }, { - "r" : "385", - "s" : [ { - "value" : [ "Code","{" ] - }, { - "s" : [ { - "value" : [ "code",": " ] - }, { - "r" : "387", - "s" : [ { - "value" : [ "'F'" ] - } ] - } ] - }, { - "value" : [ ", " ] - }, { - "s" : [ { - "value" : [ "system",": " ] - }, { - "r" : "389", - "s" : [ { - "value" : [ "'2.16.840.1.113883.18.2'" ] - } ] - } ] - }, { - "value" : [ ", " ] - }, { - "s" : [ { - "value" : [ "version",": " ] - }, { - "r" : "391", - "s" : [ { - "value" : [ "'HL7V2.5'" ] - } ] - } ] - }, { - "value" : [ ", " ] - }, { - "s" : [ { - "value" : [ "display",": " ] - }, { - "r" : "393", - "s" : [ { - "value" : [ "'foo'" ] - } ] - } ] - }, { - "value" : [ "}" ] - } ] - }, { - "value" : [ "}" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "397", - "s" : [ { - "value" : [ "Code","{" ] - }, { - "s" : [ { - "value" : [ "code",": " ] - }, { - "r" : "399", - "s" : [ { - "value" : [ "'F'" ] - } ] - } ] - }, { - "value" : [ ", " ] - }, { - "s" : [ { - "value" : [ "system",": " ] - }, { - "r" : "401", - "s" : [ { - "value" : [ "'2.16.840.1.113883.18.2'" ] - } ] - } ] - }, { - "value" : [ ", " ] - }, { - "s" : [ { - "value" : [ "version",": " ] - }, { - "r" : "403", - "s" : [ { - "value" : [ "'HL7V2.5'" ] - } ] - } ] - }, { - "value" : [ ", " ] - }, { - "s" : [ { - "value" : [ "display",": " ] - }, { - "r" : "405", - "s" : [ { - "value" : [ "'foo'" ] - } ] - } ] - }, { - "value" : [ "}" ] - } ] - }, { - "value" : [ ")" ] - } ] + "r" : "434", + "s" : [ { + "value" : [ "'2.16.840.1.113883.18.2'" ] + } ] } ] - } - } ], - "expression" : { - "localId" : "412", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "IndexOf", - "signature" : [ { - "localId" : "413", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "414", - "name" : "{urn:hl7-org:elm-types:r1}Code", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "415", - "name" : "{urn:hl7-org:elm-types:r1}Code", - "type" : "NamedTypeSpecifier" - } ], - "source" : { - "localId" : "384", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "395", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "396", - "name" : "{urn:hl7-org:elm-types:r1}Code", - "type" : "NamedTypeSpecifier" - } - }, - "element" : [ { - "localId" : "385", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Code", - "classType" : "{urn:hl7-org:elm-types:r1}Code", - "type" : "Instance", - "element" : [ { - "name" : "code", - "value" : { - "localId" : "387", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "F", - "type" : "Literal" - } - }, { - "name" : "system", - "value" : { - "localId" : "389", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "2.16.840.1.113883.18.2", - "type" : "Literal" - } - }, { - "name" : "version", - "value" : { - "localId" : "391", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "HL7V2.5", - "type" : "Literal" - } - }, { - "name" : "display", - "value" : { - "localId" : "393", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "foo", - "type" : "Literal" - } - } ] - } ] - }, - "element" : { - "localId" : "397", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Code", - "classType" : "{urn:hl7-org:elm-types:r1}Code", - "type" : "Instance", - "element" : [ { - "name" : "code", - "value" : { - "localId" : "399", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "F", - "type" : "Literal" - } - }, { - "name" : "system", - "value" : { - "localId" : "401", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "2.16.840.1.113883.18.2", - "type" : "Literal" - } - }, { - "name" : "version", - "value" : { - "localId" : "403", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "HL7V2.5", - "type" : "Literal" - } - }, { - "name" : "display", - "value" : { - "localId" : "405", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "foo", - "type" : "Literal" - } - } ] - } - } - }, { - "localId" : "418", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "name" : "ListCodeUndefined", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "418", - "s" : [ { - "value" : [ "","define ","ListCodeUndefined",": " ] - }, { - "r" : "443", - "s" : [ { - "value" : [ "IndexOf","(" ] - }, { - "r" : "419", - "s" : [ { - "value" : [ "{" ] - }, { - "r" : "420", - "s" : [ { - "value" : [ "Code","{" ] - }, { - "s" : [ { - "value" : [ "code",": " ] - }, { - "r" : "422", - "s" : [ { - "value" : [ "'F'" ] - } ] - } ] - }, { - "value" : [ ", " ] - }, { - "s" : [ { - "value" : [ "system",": " ] - }, { - "r" : "424", - "s" : [ { - "value" : [ "'2.16.840.1.113883.18.2'" ] - } ] - } ] - }, { - "value" : [ ", " ] - }, { - "s" : [ { - "value" : [ "version",": " ] - }, { - "r" : "426", - "s" : [ { - "value" : [ "'HL7V2.5'" ] - } ] - } ] - }, { - "value" : [ "}" ] - } ] - }, { - "value" : [ "}" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "430", - "s" : [ { - "value" : [ "Code","{" ] - }, { - "s" : [ { - "value" : [ "code",": " ] - }, { - "r" : "432", - "s" : [ { - "value" : [ "'F'" ] - } ] - } ] - }, { - "value" : [ ", " ] - }, { - "s" : [ { - "value" : [ "system",": " ] - }, { - "r" : "434", - "s" : [ { - "value" : [ "'2.16.840.1.113883.18.2'" ] - } ] - } ] - }, { - "value" : [ ", " ] - }, { - "s" : [ { - "value" : [ "version",": " ] - }, { - "r" : "436", - "s" : [ { - "value" : [ "'HL7V2.5'" ] - } ] - } ] - }, { - "value" : [ "}" ] - } ] - }, { - "value" : [ ")" ] - } ] + }, { + "value" : [ ", " ] + }, { + "s" : [ { + "value" : [ "version", ": " ] + }, { + "r" : "436", + "s" : [ { + "value" : [ "'HL7V2.5'" ] + } ] + } ] + }, { + "value" : [ "}" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "IndexOf", + "localId" : "443", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ], + "signature" : [ { + "type" : "ListTypeSpecifier", + "localId" : "444", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "445", + "name" : "{urn:hl7-org:elm-types:r1}Code", + "annotation" : [ ] + } + }, { + "type" : "NamedTypeSpecifier", + "localId" : "446", + "name" : "{urn:hl7-org:elm-types:r1}Code", + "annotation" : [ ] + } ], + "source" : { + "type" : "List", + "localId" : "419", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "428", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "429", + "name" : "{urn:hl7-org:elm-types:r1}Code", + "annotation" : [ ] + } + }, + "element" : [ { + "type" : "Instance", + "localId" : "420", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Code", + "classType" : "{urn:hl7-org:elm-types:r1}Code", + "annotation" : [ ], + "element" : [ { + "name" : "code", + "value" : { + "type" : "Literal", + "localId" : "422", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "F", + "annotation" : [ ] + } + }, { + "name" : "system", + "value" : { + "type" : "Literal", + "localId" : "424", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "2.16.840.1.113883.18.2", + "annotation" : [ ] + } + }, { + "name" : "version", + "value" : { + "type" : "Literal", + "localId" : "426", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "HL7V2.5", + "annotation" : [ ] + } + } ] + } ] + }, + "element" : { + "type" : "Instance", + "localId" : "430", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Code", + "classType" : "{urn:hl7-org:elm-types:r1}Code", + "annotation" : [ ], + "element" : [ { + "name" : "code", + "value" : { + "type" : "Literal", + "localId" : "432", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "F", + "annotation" : [ ] + } + }, { + "name" : "system", + "value" : { + "type" : "Literal", + "localId" : "434", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "2.16.840.1.113883.18.2", + "annotation" : [ ] + } + }, { + "name" : "version", + "value" : { + "type" : "Literal", + "localId" : "436", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "HL7V2.5", + "annotation" : [ ] + } + } ] + } + } + }, { + "localId" : "449", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "name" : "ListWrongCode", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "449", + "s" : [ { + "value" : [ "", "define ", "ListWrongCode", ": " ] + }, { + "r" : "474", + "s" : [ { + "value" : [ "IndexOf", "(" ] + }, { + "r" : "450", + "s" : [ { + "value" : [ "{" ] + }, { + "r" : "451", + "s" : [ { + "value" : [ "Code", "{" ] + }, { + "s" : [ { + "value" : [ "code", ": " ] + }, { + "r" : "453", + "s" : [ { + "value" : [ "'M'" ] + } ] + } ] + }, { + "value" : [ ", " ] + }, { + "s" : [ { + "value" : [ "system", ": " ] + }, { + "r" : "455", + "s" : [ { + "value" : [ "'2.16.840.1.113883.18.2'" ] + } ] + } ] + }, { + "value" : [ ", " ] + }, { + "s" : [ { + "value" : [ "version", ": " ] + }, { + "r" : "457", + "s" : [ { + "value" : [ "'HL7V2.5'" ] + } ] + } ] + }, { + "value" : [ "}" ] + } ] + }, { + "value" : [ "}" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "461", + "s" : [ { + "value" : [ "Code", "{" ] + }, { + "s" : [ { + "value" : [ "code", ": " ] + }, { + "r" : "463", + "s" : [ { + "value" : [ "'F'" ] + } ] } ] - } - } ], - "expression" : { - "localId" : "443", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "IndexOf", - "signature" : [ { - "localId" : "444", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "445", - "name" : "{urn:hl7-org:elm-types:r1}Code", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "446", - "name" : "{urn:hl7-org:elm-types:r1}Code", - "type" : "NamedTypeSpecifier" - } ], - "source" : { - "localId" : "419", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "428", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "429", - "name" : "{urn:hl7-org:elm-types:r1}Code", - "type" : "NamedTypeSpecifier" - } - }, - "element" : [ { - "localId" : "420", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Code", - "classType" : "{urn:hl7-org:elm-types:r1}Code", - "type" : "Instance", - "element" : [ { - "name" : "code", - "value" : { - "localId" : "422", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "F", - "type" : "Literal" - } - }, { - "name" : "system", - "value" : { - "localId" : "424", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "2.16.840.1.113883.18.2", - "type" : "Literal" - } - }, { - "name" : "version", - "value" : { - "localId" : "426", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "HL7V2.5", - "type" : "Literal" - } - } ] + }, { + "value" : [ ", " ] + }, { + "s" : [ { + "value" : [ "system", ": " ] + }, { + "r" : "465", + "s" : [ { + "value" : [ "'2.16.840.1.113883.18.2'" ] + } ] } ] - }, - "element" : { - "localId" : "430", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Code", - "classType" : "{urn:hl7-org:elm-types:r1}Code", - "type" : "Instance", - "element" : [ { - "name" : "code", - "value" : { - "localId" : "432", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "F", - "type" : "Literal" - } - }, { - "name" : "system", - "value" : { - "localId" : "434", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "2.16.840.1.113883.18.2", - "type" : "Literal" - } - }, { - "name" : "version", - "value" : { - "localId" : "436", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "HL7V2.5", - "type" : "Literal" - } - } ] - } - } - }, { - "localId" : "449", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "name" : "ListWrongCode", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "449", + }, { + "value" : [ ", " ] + }, { + "s" : [ { + "value" : [ "version", ": " ] + }, { + "r" : "467", + "s" : [ { + "value" : [ "'foo'" ] + } ] + } ] + }, { + "value" : [ "}" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "IndexOf", + "localId" : "474", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ], + "signature" : [ { + "type" : "ListTypeSpecifier", + "localId" : "475", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "476", + "name" : "{urn:hl7-org:elm-types:r1}Code", + "annotation" : [ ] + } + }, { + "type" : "NamedTypeSpecifier", + "localId" : "477", + "name" : "{urn:hl7-org:elm-types:r1}Code", + "annotation" : [ ] + } ], + "source" : { + "type" : "List", + "localId" : "450", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "459", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "460", + "name" : "{urn:hl7-org:elm-types:r1}Code", + "annotation" : [ ] + } + }, + "element" : [ { + "type" : "Instance", + "localId" : "451", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Code", + "classType" : "{urn:hl7-org:elm-types:r1}Code", + "annotation" : [ ], + "element" : [ { + "name" : "code", + "value" : { + "type" : "Literal", + "localId" : "453", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "M", + "annotation" : [ ] + } + }, { + "name" : "system", + "value" : { + "type" : "Literal", + "localId" : "455", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "2.16.840.1.113883.18.2", + "annotation" : [ ] + } + }, { + "name" : "version", + "value" : { + "type" : "Literal", + "localId" : "457", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "HL7V2.5", + "annotation" : [ ] + } + } ] + } ] + }, + "element" : { + "type" : "Instance", + "localId" : "461", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Code", + "classType" : "{urn:hl7-org:elm-types:r1}Code", + "annotation" : [ ], + "element" : [ { + "name" : "code", + "value" : { + "type" : "Literal", + "localId" : "463", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "F", + "annotation" : [ ] + } + }, { + "name" : "system", + "value" : { + "type" : "Literal", + "localId" : "465", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "2.16.840.1.113883.18.2", + "annotation" : [ ] + } + }, { + "name" : "version", + "value" : { + "type" : "Literal", + "localId" : "467", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "foo", + "annotation" : [ ] + } + } ] + } + } + }, { + "localId" : "480", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "name" : "ListWrongCodeSystem", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "480", + "s" : [ { + "value" : [ "", "define ", "ListWrongCodeSystem", ": " ] + }, { + "r" : "505", + "s" : [ { + "value" : [ "IndexOf", "(" ] + }, { + "r" : "481", + "s" : [ { + "value" : [ "{" ] + }, { + "r" : "482", "s" : [ { - "value" : [ "","define ","ListWrongCode",": " ] + "value" : [ "Code", "{" ] + }, { + "s" : [ { + "value" : [ "code", ": " ] + }, { + "r" : "484", + "s" : [ { + "value" : [ "'F'" ] + } ] + } ] + }, { + "value" : [ ", " ] + }, { + "s" : [ { + "value" : [ "system", ": " ] + }, { + "r" : "486", + "s" : [ { + "value" : [ "'1.16.840.1.113883.18.2'" ] + } ] + } ] + }, { + "value" : [ ", " ] + }, { + "s" : [ { + "value" : [ "version", ": " ] + }, { + "r" : "488", + "s" : [ { + "value" : [ "'HL7V2.5'" ] + } ] + } ] + }, { + "value" : [ "}" ] + } ] + }, { + "value" : [ "}" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "492", + "s" : [ { + "value" : [ "Code", "{" ] + }, { + "s" : [ { + "value" : [ "code", ": " ] }, { - "r" : "474", - "s" : [ { - "value" : [ "IndexOf","(" ] - }, { - "r" : "450", - "s" : [ { - "value" : [ "{" ] - }, { - "r" : "451", - "s" : [ { - "value" : [ "Code","{" ] - }, { - "s" : [ { - "value" : [ "code",": " ] - }, { - "r" : "453", - "s" : [ { - "value" : [ "'M'" ] - } ] - } ] - }, { - "value" : [ ", " ] - }, { - "s" : [ { - "value" : [ "system",": " ] - }, { - "r" : "455", - "s" : [ { - "value" : [ "'2.16.840.1.113883.18.2'" ] - } ] - } ] - }, { - "value" : [ ", " ] - }, { - "s" : [ { - "value" : [ "version",": " ] - }, { - "r" : "457", - "s" : [ { - "value" : [ "'HL7V2.5'" ] - } ] - } ] - }, { - "value" : [ "}" ] - } ] - }, { - "value" : [ "}" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "461", - "s" : [ { - "value" : [ "Code","{" ] - }, { - "s" : [ { - "value" : [ "code",": " ] - }, { - "r" : "463", - "s" : [ { - "value" : [ "'F'" ] - } ] - } ] - }, { - "value" : [ ", " ] - }, { - "s" : [ { - "value" : [ "system",": " ] - }, { - "r" : "465", - "s" : [ { - "value" : [ "'2.16.840.1.113883.18.2'" ] - } ] - } ] - }, { - "value" : [ ", " ] - }, { - "s" : [ { - "value" : [ "version",": " ] - }, { - "r" : "467", - "s" : [ { - "value" : [ "'foo'" ] - } ] - } ] - }, { - "value" : [ "}" ] - } ] - }, { - "value" : [ ")" ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "474", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "IndexOf", - "signature" : [ { - "localId" : "475", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "476", - "name" : "{urn:hl7-org:elm-types:r1}Code", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "477", - "name" : "{urn:hl7-org:elm-types:r1}Code", - "type" : "NamedTypeSpecifier" - } ], - "source" : { - "localId" : "450", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "459", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "460", - "name" : "{urn:hl7-org:elm-types:r1}Code", - "type" : "NamedTypeSpecifier" - } - }, - "element" : [ { - "localId" : "451", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Code", - "classType" : "{urn:hl7-org:elm-types:r1}Code", - "type" : "Instance", - "element" : [ { - "name" : "code", - "value" : { - "localId" : "453", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "M", - "type" : "Literal" - } - }, { - "name" : "system", - "value" : { - "localId" : "455", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "2.16.840.1.113883.18.2", - "type" : "Literal" - } - }, { - "name" : "version", - "value" : { - "localId" : "457", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "HL7V2.5", - "type" : "Literal" - } - } ] - } ] - }, - "element" : { - "localId" : "461", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Code", - "classType" : "{urn:hl7-org:elm-types:r1}Code", - "type" : "Instance", - "element" : [ { - "name" : "code", - "value" : { - "localId" : "463", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "F", - "type" : "Literal" - } - }, { - "name" : "system", - "value" : { - "localId" : "465", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "2.16.840.1.113883.18.2", - "type" : "Literal" - } - }, { - "name" : "version", - "value" : { - "localId" : "467", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "foo", - "type" : "Literal" - } - } ] - } - } - }, { - "localId" : "480", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "name" : "ListWrongCodeSystem", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "480", - "s" : [ { - "value" : [ "","define ","ListWrongCodeSystem",": " ] - }, { - "r" : "505", - "s" : [ { - "value" : [ "IndexOf","(" ] - }, { - "r" : "481", - "s" : [ { - "value" : [ "{" ] - }, { - "r" : "482", - "s" : [ { - "value" : [ "Code","{" ] - }, { - "s" : [ { - "value" : [ "code",": " ] - }, { - "r" : "484", - "s" : [ { - "value" : [ "'F'" ] - } ] - } ] - }, { - "value" : [ ", " ] - }, { - "s" : [ { - "value" : [ "system",": " ] - }, { - "r" : "486", - "s" : [ { - "value" : [ "'1.16.840.1.113883.18.2'" ] - } ] - } ] - }, { - "value" : [ ", " ] - }, { - "s" : [ { - "value" : [ "version",": " ] - }, { - "r" : "488", - "s" : [ { - "value" : [ "'HL7V2.5'" ] - } ] - } ] - }, { - "value" : [ "}" ] - } ] - }, { - "value" : [ "}" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "492", - "s" : [ { - "value" : [ "Code","{" ] - }, { - "s" : [ { - "value" : [ "code",": " ] - }, { - "r" : "494", - "s" : [ { - "value" : [ "'F'" ] - } ] - } ] - }, { - "value" : [ ", " ] - }, { - "s" : [ { - "value" : [ "system",": " ] - }, { - "r" : "496", - "s" : [ { - "value" : [ "'2.16.840.1.113883.18.2'" ] - } ] - } ] - }, { - "value" : [ ", " ] - }, { - "s" : [ { - "value" : [ "version",": " ] - }, { - "r" : "498", - "s" : [ { - "value" : [ "'foo'" ] - } ] - } ] - }, { - "value" : [ "}" ] - } ] - }, { - "value" : [ ")" ] - } ] + "r" : "494", + "s" : [ { + "value" : [ "'F'" ] + } ] } ] - } - } ], - "expression" : { - "localId" : "505", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "IndexOf", - "signature" : [ { - "localId" : "506", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "507", - "name" : "{urn:hl7-org:elm-types:r1}Code", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "508", - "name" : "{urn:hl7-org:elm-types:r1}Code", - "type" : "NamedTypeSpecifier" - } ], - "source" : { - "localId" : "481", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "490", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "491", - "name" : "{urn:hl7-org:elm-types:r1}Code", - "type" : "NamedTypeSpecifier" - } - }, - "element" : [ { - "localId" : "482", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Code", - "classType" : "{urn:hl7-org:elm-types:r1}Code", - "type" : "Instance", - "element" : [ { - "name" : "code", - "value" : { - "localId" : "484", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "F", - "type" : "Literal" - } - }, { - "name" : "system", - "value" : { - "localId" : "486", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "1.16.840.1.113883.18.2", - "type" : "Literal" - } - }, { - "name" : "version", - "value" : { - "localId" : "488", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "HL7V2.5", - "type" : "Literal" - } - } ] + }, { + "value" : [ ", " ] + }, { + "s" : [ { + "value" : [ "system", ": " ] + }, { + "r" : "496", + "s" : [ { + "value" : [ "'2.16.840.1.113883.18.2'" ] + } ] } ] - }, - "element" : { - "localId" : "492", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Code", - "classType" : "{urn:hl7-org:elm-types:r1}Code", - "type" : "Instance", - "element" : [ { - "name" : "code", - "value" : { - "localId" : "494", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "F", - "type" : "Literal" - } - }, { - "name" : "system", - "value" : { - "localId" : "496", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "2.16.840.1.113883.18.2", - "type" : "Literal" - } - }, { - "name" : "version", - "value" : { - "localId" : "498", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "foo", - "type" : "Literal" - } - } ] - } - } - } ] - } - } + }, { + "value" : [ ", " ] + }, { + "s" : [ { + "value" : [ "version", ": " ] + }, { + "r" : "498", + "s" : [ { + "value" : [ "'foo'" ] + } ] + } ] + }, { + "value" : [ "}" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "IndexOf", + "localId" : "505", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ], + "signature" : [ { + "type" : "ListTypeSpecifier", + "localId" : "506", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "507", + "name" : "{urn:hl7-org:elm-types:r1}Code", + "annotation" : [ ] + } + }, { + "type" : "NamedTypeSpecifier", + "localId" : "508", + "name" : "{urn:hl7-org:elm-types:r1}Code", + "annotation" : [ ] + } ], + "source" : { + "type" : "List", + "localId" : "481", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "490", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "491", + "name" : "{urn:hl7-org:elm-types:r1}Code", + "annotation" : [ ] + } + }, + "element" : [ { + "type" : "Instance", + "localId" : "482", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Code", + "classType" : "{urn:hl7-org:elm-types:r1}Code", + "annotation" : [ ], + "element" : [ { + "name" : "code", + "value" : { + "type" : "Literal", + "localId" : "484", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "F", + "annotation" : [ ] + } + }, { + "name" : "system", + "value" : { + "type" : "Literal", + "localId" : "486", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "1.16.840.1.113883.18.2", + "annotation" : [ ] + } + }, { + "name" : "version", + "value" : { + "type" : "Literal", + "localId" : "488", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "HL7V2.5", + "annotation" : [ ] + } + } ] + } ] + }, + "element" : { + "type" : "Instance", + "localId" : "492", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Code", + "classType" : "{urn:hl7-org:elm-types:r1}Code", + "annotation" : [ ], + "element" : [ { + "name" : "code", + "value" : { + "type" : "Literal", + "localId" : "494", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "F", + "annotation" : [ ] + } + }, { + "name" : "system", + "value" : { + "type" : "Literal", + "localId" : "496", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "2.16.840.1.113883.18.2", + "annotation" : [ ] + } + }, { + "name" : "version", + "value" : { + "type" : "Literal", + "localId" : "498", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "foo", + "annotation" : [ ] + } + } ] + } + } + } ] + } + } } /* Indexer @@ -12065,662 +13706,736 @@ define NullIndexer: {'a', 'b', 'c', 'd'}[null] */ module.exports['Indexer'] = { - "library" : { - "localId" : "0", - "annotation" : [ { - "translatorVersion" : "3.27.0", - "translatorOptions" : "EnableDateRangeOptimization,EnableAnnotations,EnableResultTypes", - "signatureLevel" : "All", - "type" : "CqlToElmInfo" + "library" : { + "localId" : "0", + "annotation" : [ { + "type" : "CqlToElmInfo", + "translatorVersion" : "4.2.0", + "translatorOptions" : "EnableDateRangeOptimization,EnableAnnotations,EnableResultTypes", + "signatureLevel" : "All" + }, { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "289", + "s" : [ { + "value" : [ "", "library TestSnippet version '1'" ] + } ] + } + } ], + "identifier" : { + "id" : "TestSnippet", + "version" : "1" + }, + "schemaIdentifier" : { + "id" : "urn:hl7-org:elm", + "version" : "r1" + }, + "usings" : { + "def" : [ { + "localId" : "1", + "localIdentifier" : "System", + "uri" : "urn:hl7-org:elm-types:r1", + "annotation" : [ ] }, { - "type" : "Annotation", - "s" : { - "r" : "289", + "localId" : "206", + "localIdentifier" : "Simple", + "uri" : "https://github.com/cqframework/cql-execution/simple", + "version" : "1.0.0", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "206", "s" : [ { - "value" : [ "","library TestSnippet version '1'" ] - } ] - } - } ], - "identifier" : { - "id" : "TestSnippet", - "version" : "1" - }, - "schemaIdentifier" : { - "id" : "urn:hl7-org:elm", - "version" : "r1" - }, - "usings" : { - "def" : [ { - "localId" : "1", - "localIdentifier" : "System", - "uri" : "urn:hl7-org:elm-types:r1" - }, { - "localId" : "206", - "localIdentifier" : "Simple", - "uri" : "https://github.com/cqframework/cql-execution/simple", - "version" : "1.0.0", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "206", - "s" : [ { - "value" : [ "","using " ] - }, { - "s" : [ { - "value" : [ "Simple" ] - } ] - }, { - "value" : [ " version '1.0.0'" ] - } ] - } - } ] - } ] - }, - "contexts" : { - "def" : [ { - "localId" : "211", - "name" : "Patient" - } ] - }, - "statements" : { - "def" : [ { - "localId" : "209", - "name" : "Patient", - "context" : "Patient", - "expression" : { - "localId" : "210", - "type" : "SingletonFrom", - "signature" : [ ], - "operand" : { - "localId" : "208", - "dataType" : "{https://github.com/cqframework/cql-execution/simple}Patient", - "type" : "Retrieve", - "include" : [ ], - "codeFilter" : [ ], - "dateFilter" : [ ], - "otherFilter" : [ ] - } - } - }, { - "localId" : "214", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "name" : "SecondItem", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "214", - "s" : [ { - "value" : [ "","define ","SecondItem",": " ] - }, { - "r" : "215", - "s" : [ { - "r" : "216", - "s" : [ { - "value" : [ "{" ] - }, { - "r" : "217", - "s" : [ { - "value" : [ "'a'" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "219", - "s" : [ { - "value" : [ "'b'" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "221", - "s" : [ { - "value" : [ "'c'" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "223", - "s" : [ { - "value" : [ "'d'" ] - } ] - }, { - "value" : [ "}" ] - } ] - }, { - "r" : "227", - "value" : [ "[","1","]" ] - } ] + "value" : [ "", "using " ] + }, { + "s" : [ { + "value" : [ "Simple" ] + } ] + }, { + "value" : [ " version '1.0.0'" ] + } ] + } + } ] + } ] + }, + "contexts" : { + "def" : [ { + "localId" : "211", + "name" : "Patient", + "annotation" : [ ] + } ] + }, + "statements" : { + "def" : [ { + "localId" : "209", + "name" : "Patient", + "context" : "Patient", + "annotation" : [ ], + "expression" : { + "type" : "SingletonFrom", + "localId" : "210", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Retrieve", + "localId" : "208", + "dataType" : "{https://github.com/cqframework/cql-execution/simple}Patient", + "annotation" : [ ], + "include" : [ ], + "codeFilter" : [ ], + "dateFilter" : [ ], + "otherFilter" : [ ] + } + } + }, { + "localId" : "214", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "name" : "SecondItem", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "214", + "s" : [ { + "value" : [ "", "define ", "SecondItem", ": " ] + }, { + "r" : "215", + "s" : [ { + "r" : "216", + "s" : [ { + "value" : [ "{" ] + }, { + "r" : "217", + "s" : [ { + "value" : [ "'a'" ] } ] - } - } ], - "expression" : { - "localId" : "215", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "type" : "Indexer", - "signature" : [ { - "localId" : "228", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "229", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "230", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "216", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "225", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "226", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } - }, - "element" : [ { - "localId" : "217", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "a", - "type" : "Literal" - }, { - "localId" : "219", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "b", - "type" : "Literal" - }, { - "localId" : "221", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "c", - "type" : "Literal" - }, { - "localId" : "223", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "d", - "type" : "Literal" - } ] - }, { - "localId" : "227", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - } ] - } - }, { - "localId" : "233", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "name" : "ZeroIndex", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "233", + }, { + "value" : [ ", " ] + }, { + "r" : "219", "s" : [ { - "value" : [ "","define ","ZeroIndex",": " ] - }, { - "r" : "234", - "s" : [ { - "r" : "235", - "s" : [ { - "value" : [ "{" ] - }, { - "r" : "236", - "s" : [ { - "value" : [ "'a'" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "238", - "s" : [ { - "value" : [ "'b'" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "240", - "s" : [ { - "value" : [ "'c'" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "242", - "s" : [ { - "value" : [ "'d'" ] - } ] - }, { - "value" : [ "}" ] - } ] - }, { - "r" : "246", - "value" : [ "[","0","]" ] - } ] + "value" : [ "'b'" ] } ] - } - } ], - "expression" : { - "localId" : "234", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "type" : "Indexer", - "signature" : [ { - "localId" : "247", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "248", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "249", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "235", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "244", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "245", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } - }, - "element" : [ { - "localId" : "236", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "a", - "type" : "Literal" - }, { - "localId" : "238", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "b", - "type" : "Literal" - }, { - "localId" : "240", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "c", - "type" : "Literal" - }, { - "localId" : "242", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "d", - "type" : "Literal" - } ] - }, { - "localId" : "246", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } ] + }, { + "value" : [ ", " ] + }, { + "r" : "221", + "s" : [ { + "value" : [ "'c'" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "223", + "s" : [ { + "value" : [ "'d'" ] + } ] + }, { + "value" : [ "}" ] + } ] + }, { + "r" : "227", + "value" : [ "[", "1", "]" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Indexer", + "localId" : "215", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ], + "signature" : [ { + "type" : "ListTypeSpecifier", + "localId" : "228", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "229", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] } - }, { - "localId" : "252", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "name" : "OutOfBounds", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "252", + }, { + "type" : "NamedTypeSpecifier", + "localId" : "230", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "List", + "localId" : "216", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "225", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "226", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } + }, + "element" : [ { + "type" : "Literal", + "localId" : "217", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "a", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "219", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "b", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "221", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "c", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "223", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "d", + "annotation" : [ ] + } ] + }, { + "type" : "Literal", + "localId" : "227", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + } ] + } + }, { + "localId" : "233", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "name" : "ZeroIndex", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "233", + "s" : [ { + "value" : [ "", "define ", "ZeroIndex", ": " ] + }, { + "r" : "234", + "s" : [ { + "r" : "235", + "s" : [ { + "value" : [ "{" ] + }, { + "r" : "236", "s" : [ { - "value" : [ "","define ","OutOfBounds",": " ] - }, { - "r" : "253", - "s" : [ { - "r" : "254", - "s" : [ { - "value" : [ "{" ] - }, { - "r" : "255", - "s" : [ { - "value" : [ "'a'" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "257", - "s" : [ { - "value" : [ "'b'" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "259", - "s" : [ { - "value" : [ "'c'" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "261", - "s" : [ { - "value" : [ "'d'" ] - } ] - }, { - "value" : [ "}" ] - } ] - }, { - "r" : "265", - "value" : [ "[","100","]" ] - } ] + "value" : [ "'a'" ] } ] - } - } ], - "expression" : { - "localId" : "253", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "type" : "Indexer", - "signature" : [ { - "localId" : "266", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "267", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "268", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "254", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "263", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "264", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } - }, - "element" : [ { - "localId" : "255", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "a", - "type" : "Literal" - }, { - "localId" : "257", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "b", - "type" : "Literal" - }, { - "localId" : "259", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "c", - "type" : "Literal" - }, { - "localId" : "261", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "d", - "type" : "Literal" - } ] - }, { - "localId" : "265", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "100", - "type" : "Literal" - } ] + }, { + "value" : [ ", " ] + }, { + "r" : "238", + "s" : [ { + "value" : [ "'b'" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "240", + "s" : [ { + "value" : [ "'c'" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "242", + "s" : [ { + "value" : [ "'d'" ] + } ] + }, { + "value" : [ "}" ] + } ] + }, { + "r" : "246", + "value" : [ "[", "0", "]" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Indexer", + "localId" : "234", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ], + "signature" : [ { + "type" : "ListTypeSpecifier", + "localId" : "247", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "248", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] } - }, { - "localId" : "271", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "name" : "NullList", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "271", + }, { + "type" : "NamedTypeSpecifier", + "localId" : "249", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "List", + "localId" : "235", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "244", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "245", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } + }, + "element" : [ { + "type" : "Literal", + "localId" : "236", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "a", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "238", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "b", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "240", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "c", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "242", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "d", + "annotation" : [ ] + } ] + }, { + "type" : "Literal", + "localId" : "246", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } ] + } + }, { + "localId" : "252", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "name" : "OutOfBounds", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "252", + "s" : [ { + "value" : [ "", "define ", "OutOfBounds", ": " ] + }, { + "r" : "253", + "s" : [ { + "r" : "254", + "s" : [ { + "value" : [ "{" ] + }, { + "r" : "255", "s" : [ { - "value" : [ "","define ","NullList",": " ] - }, { - "r" : "272", - "s" : [ { - "r" : "273", - "s" : [ { - "value" : [ "(" ] - }, { - "r" : "273", - "s" : [ { - "r" : "274", - "value" : [ "null"," as " ] - }, { - "r" : "275", - "s" : [ { - "value" : [ "List<" ] - }, { - "r" : "276", - "s" : [ { - "value" : [ "String" ] - } ] - }, { - "value" : [ ">" ] - } ] - } ] - }, { - "value" : [ ")" ] - } ] - }, { - "r" : "283", - "value" : [ "[","1","]" ] - } ] + "value" : [ "'a'" ] } ] - } - } ], - "expression" : { - "localId" : "272", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "type" : "Indexer", - "signature" : [ { - "localId" : "284", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "285", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "286", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "273", - "strict" : false, - "type" : "As", - "resultTypeSpecifier" : { - "localId" : "281", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "282", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } - }, - "signature" : [ ], - "operand" : { - "localId" : "274", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - }, - "asTypeSpecifier" : { - "localId" : "275", - "type" : "ListTypeSpecifier", - "resultTypeSpecifier" : { - "localId" : "277", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "278", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } - }, - "elementType" : { - "localId" : "276", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } - } - }, { - "localId" : "283", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - } ] + }, { + "value" : [ ", " ] + }, { + "r" : "257", + "s" : [ { + "value" : [ "'b'" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "259", + "s" : [ { + "value" : [ "'c'" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "261", + "s" : [ { + "value" : [ "'d'" ] + } ] + }, { + "value" : [ "}" ] + } ] + }, { + "r" : "265", + "value" : [ "[", "100", "]" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Indexer", + "localId" : "253", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ], + "signature" : [ { + "type" : "ListTypeSpecifier", + "localId" : "266", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "267", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] } - }, { - "localId" : "289", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "name" : "NullIndexer", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "289", + }, { + "type" : "NamedTypeSpecifier", + "localId" : "268", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "List", + "localId" : "254", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "263", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "264", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } + }, + "element" : [ { + "type" : "Literal", + "localId" : "255", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "a", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "257", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "b", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "259", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "c", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "261", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "d", + "annotation" : [ ] + } ] + }, { + "type" : "Literal", + "localId" : "265", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "100", + "annotation" : [ ] + } ] + } + }, { + "localId" : "271", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "name" : "NullList", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "271", + "s" : [ { + "value" : [ "", "define ", "NullList", ": " ] + }, { + "r" : "272", + "s" : [ { + "r" : "273", + "s" : [ { + "value" : [ "(" ] + }, { + "r" : "273", + "s" : [ { + "r" : "274", + "value" : [ "null", " as " ] + }, { + "r" : "275", + "s" : [ { + "value" : [ "List<" ] + }, { + "r" : "276", + "s" : [ { + "value" : [ "String" ] + } ] + }, { + "value" : [ ">" ] + } ] + } ] + }, { + "value" : [ ")" ] + } ] + }, { + "r" : "283", + "value" : [ "[", "1", "]" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Indexer", + "localId" : "272", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ], + "signature" : [ { + "type" : "ListTypeSpecifier", + "localId" : "284", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "285", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } + }, { + "type" : "NamedTypeSpecifier", + "localId" : "286", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "As", + "localId" : "273", + "strict" : false, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "281", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "282", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } + }, + "signature" : [ ], + "operand" : { + "type" : "Null", + "localId" : "274", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + }, + "asTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "275", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "277", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "278", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } + }, + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "276", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } + } + }, { + "type" : "Literal", + "localId" : "283", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + } ] + } + }, { + "localId" : "289", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "name" : "NullIndexer", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "289", + "s" : [ { + "value" : [ "", "define ", "NullIndexer", ": " ] + }, { + "r" : "290", + "s" : [ { + "r" : "291", + "s" : [ { + "value" : [ "{" ] + }, { + "r" : "292", + "s" : [ { + "value" : [ "'a'" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "294", + "s" : [ { + "value" : [ "'b'" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "296", "s" : [ { - "value" : [ "","define ","NullIndexer",": " ] - }, { - "r" : "290", - "s" : [ { - "r" : "291", - "s" : [ { - "value" : [ "{" ] - }, { - "r" : "292", - "s" : [ { - "value" : [ "'a'" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "294", - "s" : [ { - "value" : [ "'b'" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "296", - "s" : [ { - "value" : [ "'c'" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "298", - "s" : [ { - "value" : [ "'d'" ] - } ] - }, { - "value" : [ "}" ] - } ] - }, { - "r" : "302", - "value" : [ "[","null","]" ] - } ] + "value" : [ "'c'" ] } ] - } - } ], - "expression" : { - "localId" : "290", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "type" : "Indexer", - "signature" : [ { - "localId" : "304", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "305", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "306", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "291", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "300", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "301", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } - }, - "element" : [ { - "localId" : "292", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "a", - "type" : "Literal" - }, { - "localId" : "294", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "b", - "type" : "Literal" - }, { - "localId" : "296", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "c", - "type" : "Literal" - }, { - "localId" : "298", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "d", - "type" : "Literal" - } ] - }, { - "localId" : "303", - "asType" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "As", - "signature" : [ ], - "operand" : { - "localId" : "302", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - } - } ] + }, { + "value" : [ ", " ] + }, { + "r" : "298", + "s" : [ { + "value" : [ "'d'" ] + } ] + }, { + "value" : [ "}" ] + } ] + }, { + "r" : "302", + "value" : [ "[", "null", "]" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Indexer", + "localId" : "290", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ], + "signature" : [ { + "type" : "ListTypeSpecifier", + "localId" : "304", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "305", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] } - } ] - } - } + }, { + "type" : "NamedTypeSpecifier", + "localId" : "306", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "List", + "localId" : "291", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "300", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "301", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } + }, + "element" : [ { + "type" : "Literal", + "localId" : "292", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "a", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "294", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "b", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "296", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "c", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "298", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "d", + "annotation" : [ ] + } ] + }, { + "type" : "As", + "localId" : "303", + "asType" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Null", + "localId" : "302", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } + } ] + } + } ] + } + } } /* In @@ -12737,1249 +14452,1422 @@ define NullNotIn: null in {1, 2, 3} */ module.exports['In'] = { - "library" : { - "localId" : "0", - "annotation" : [ { - "translatorVersion" : "3.27.0", - "translatorOptions" : "EnableDateRangeOptimization,EnableAnnotations,EnableResultTypes", - "signatureLevel" : "All", - "type" : "CqlToElmInfo" + "library" : { + "localId" : "0", + "annotation" : [ { + "type" : "CqlToElmInfo", + "translatorVersion" : "4.2.0", + "translatorOptions" : "EnableDateRangeOptimization,EnableAnnotations,EnableResultTypes", + "signatureLevel" : "All" + }, { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "387", + "s" : [ { + "value" : [ "", "library TestSnippet version '1'" ] + } ] + } + } ], + "identifier" : { + "id" : "TestSnippet", + "version" : "1" + }, + "schemaIdentifier" : { + "id" : "urn:hl7-org:elm", + "version" : "r1" + }, + "usings" : { + "def" : [ { + "localId" : "1", + "localIdentifier" : "System", + "uri" : "urn:hl7-org:elm-types:r1", + "annotation" : [ ] }, { - "type" : "Annotation", - "s" : { - "r" : "387", + "localId" : "206", + "localIdentifier" : "Simple", + "uri" : "https://github.com/cqframework/cql-execution/simple", + "version" : "1.0.0", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "206", "s" : [ { - "value" : [ "","library TestSnippet version '1'" ] - } ] - } - } ], - "identifier" : { - "id" : "TestSnippet", - "version" : "1" - }, - "schemaIdentifier" : { - "id" : "urn:hl7-org:elm", - "version" : "r1" - }, - "usings" : { - "def" : [ { - "localId" : "1", - "localIdentifier" : "System", - "uri" : "urn:hl7-org:elm-types:r1" - }, { - "localId" : "206", - "localIdentifier" : "Simple", - "uri" : "https://github.com/cqframework/cql-execution/simple", - "version" : "1.0.0", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "206", - "s" : [ { - "value" : [ "","using " ] - }, { - "s" : [ { - "value" : [ "Simple" ] - } ] - }, { - "value" : [ " version '1.0.0'" ] - } ] - } - } ] - } ] - }, - "contexts" : { - "def" : [ { - "localId" : "211", - "name" : "Patient" - } ] - }, - "statements" : { - "def" : [ { - "localId" : "209", - "name" : "Patient", - "context" : "Patient", - "expression" : { - "localId" : "210", - "type" : "SingletonFrom", - "signature" : [ ], - "operand" : { - "localId" : "208", - "dataType" : "{https://github.com/cqframework/cql-execution/simple}Patient", - "type" : "Retrieve", - "include" : [ ], - "codeFilter" : [ ], - "dateFilter" : [ ], - "otherFilter" : [ ] - } - } - }, { - "localId" : "214", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "IsIn", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "214", - "s" : [ { - "value" : [ "","define ","IsIn",": " ] - }, { - "r" : "222", - "s" : [ { - "r" : "215", - "value" : [ "4"," in " ] - }, { - "r" : "216", - "s" : [ { - "r" : "217", - "value" : [ "{ ","3",", ","4",", ","5"," }" ] - } ] - } ] + "value" : [ "", "using " ] + }, { + "s" : [ { + "value" : [ "Simple" ] + } ] + }, { + "value" : [ " version '1.0.0'" ] + } ] + } + } ] + } ] + }, + "contexts" : { + "def" : [ { + "localId" : "211", + "name" : "Patient", + "annotation" : [ ] + } ] + }, + "statements" : { + "def" : [ { + "localId" : "209", + "name" : "Patient", + "context" : "Patient", + "annotation" : [ ], + "expression" : { + "type" : "SingletonFrom", + "localId" : "210", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Retrieve", + "localId" : "208", + "dataType" : "{https://github.com/cqframework/cql-execution/simple}Patient", + "annotation" : [ ], + "include" : [ ], + "codeFilter" : [ ], + "dateFilter" : [ ], + "otherFilter" : [ ] + } + } + }, { + "localId" : "214", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "IsIn", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "214", + "s" : [ { + "value" : [ "", "define ", "IsIn", ": " ] + }, { + "r" : "222", + "s" : [ { + "r" : "215", + "value" : [ "4", " in " ] + }, { + "r" : "216", + "s" : [ { + "r" : "217", + "value" : [ "{ ", "3", ", ", "4", ", ", "5", " }" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "In", + "localId" : "222", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "223", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "ListTypeSpecifier", + "localId" : "224", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "225", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "Literal", + "localId" : "215", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "4", + "annotation" : [ ] + }, { + "type" : "List", + "localId" : "216", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "220", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "221", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "element" : [ { + "type" : "Literal", + "localId" : "217", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "218", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "4", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "219", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "5", + "annotation" : [ ] + } ] + } ] + } + }, { + "localId" : "228", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "IsNotIn", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "228", + "s" : [ { + "value" : [ "", "define ", "IsNotIn", ": " ] + }, { + "r" : "236", + "s" : [ { + "r" : "229", + "value" : [ "4", " in " ] + }, { + "r" : "230", + "s" : [ { + "r" : "231", + "value" : [ "{ ", "3", ", ", "5", ", ", "6", " }" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "In", + "localId" : "236", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "237", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "ListTypeSpecifier", + "localId" : "238", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "239", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "Literal", + "localId" : "229", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "4", + "annotation" : [ ] + }, { + "type" : "List", + "localId" : "230", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "234", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "235", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "element" : [ { + "type" : "Literal", + "localId" : "231", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "232", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "5", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "233", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "6", + "annotation" : [ ] + } ] + } ] + } + }, { + "localId" : "242", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "TupleIsIn", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "242", + "s" : [ { + "value" : [ "", "define ", "TupleIsIn", ": " ] + }, { + "r" : "286", + "s" : [ { + "r" : "243", + "s" : [ { + "value" : [ "Tuple{" ] + }, { + "s" : [ { + "r" : "244", + "value" : [ "a", ": ", "1" ] } ] - } - } ], - "expression" : { - "localId" : "222", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "In", - "signature" : [ { - "localId" : "223", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "224", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "225", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "215", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "4", - "type" : "Literal" - }, { - "localId" : "216", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "220", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "221", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "element" : [ { - "localId" : "217", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, { - "localId" : "218", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "4", - "type" : "Literal" - }, { - "localId" : "219", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal" - } ] - } ] - } - }, { - "localId" : "228", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "IsNotIn", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "228", - "s" : [ { - "value" : [ "","define ","IsNotIn",": " ] - }, { - "r" : "236", - "s" : [ { - "r" : "229", - "value" : [ "4"," in " ] - }, { - "r" : "230", - "s" : [ { - "r" : "231", - "value" : [ "{ ","3",", ","5",", ","6"," }" ] - } ] - } ] + }, { + "value" : [ ", " ] + }, { + "s" : [ { + "value" : [ "b", ": " ] + }, { + "r" : "245", + "s" : [ { + "value" : [ "'c'" ] + } ] + } ] + }, { + "value" : [ "}" ] + } ] + }, { + "value" : [ " in " ] + }, { + "r" : "252", + "s" : [ { + "value" : [ "{" ] + }, { + "r" : "253", + "s" : [ { + "value" : [ "Tuple{" ] + }, { + "s" : [ { + "r" : "254", + "value" : [ "a", ":", "1" ] + } ] + }, { + "value" : [ ", " ] + }, { + "s" : [ { + "value" : [ "b", ":" ] + }, { + "r" : "255", + "s" : [ { + "value" : [ "'d'" ] + } ] + } ] + }, { + "value" : [ "}" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "262", + "s" : [ { + "value" : [ "Tuple{" ] + }, { + "s" : [ { + "r" : "263", + "value" : [ "a", ":", "1" ] + } ] + }, { + "value" : [ ", " ] + }, { + "s" : [ { + "value" : [ "b", ":" ] + }, { + "r" : "264", + "s" : [ { + "value" : [ "'c'" ] + } ] + } ] + }, { + "value" : [ "}" ] } ] - } - } ], - "expression" : { - "localId" : "236", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "In", - "signature" : [ { - "localId" : "237", + }, { + "value" : [ ", " ] + }, { + "r" : "271", + "s" : [ { + "value" : [ "Tuple{" ] + }, { + "s" : [ { + "r" : "272", + "value" : [ "a", ":", "2" ] + } ] + }, { + "value" : [ ", " ] + }, { + "s" : [ { + "value" : [ "b", ":" ] + }, { + "r" : "273", + "s" : [ { + "value" : [ "'c'" ] + } ] + } ] + }, { + "value" : [ "}" ] + } ] + }, { + "value" : [ "}" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "In", + "localId" : "286", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "TupleTypeSpecifier", + "localId" : "287", + "annotation" : [ ], + "element" : [ { + "localId" : "288", + "name" : "a", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "289", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, { + "localId" : "290", + "name" : "b", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "291", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } + } ] + }, { + "type" : "ListTypeSpecifier", + "localId" : "292", + "annotation" : [ ], + "elementType" : { + "type" : "TupleTypeSpecifier", + "localId" : "293", + "annotation" : [ ], + "element" : [ { + "localId" : "294", + "name" : "a", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "295", "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "238", - "type" : "ListTypeSpecifier", + "annotation" : [ ] + } + }, { + "localId" : "296", + "name" : "b", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "297", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } + } ] + } + } ], + "operand" : [ { + "type" : "Tuple", + "localId" : "243", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "TupleTypeSpecifier", + "localId" : "247", + "annotation" : [ ], + "element" : [ { + "localId" : "248", + "name" : "a", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "249", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, { + "localId" : "250", + "name" : "b", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "251", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } + } ] + }, + "element" : [ { + "name" : "a", + "value" : { + "type" : "Literal", + "localId" : "244", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + } + }, { + "name" : "b", + "value" : { + "type" : "Literal", + "localId" : "245", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "c", + "annotation" : [ ] + } + } ] + }, { + "type" : "List", + "localId" : "252", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "280", + "annotation" : [ ], + "elementType" : { + "type" : "TupleTypeSpecifier", + "localId" : "281", + "annotation" : [ ], + "element" : [ { + "localId" : "282", + "name" : "a", + "annotation" : [ ], "elementType" : { - "localId" : "239", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" + "type" : "NamedTypeSpecifier", + "localId" : "283", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] } - } ], - "operand" : [ { - "localId" : "229", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "4", - "type" : "Literal" - }, { - "localId" : "230", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "234", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "235", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "element" : [ { - "localId" : "231", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, { - "localId" : "232", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal" - }, { - "localId" : "233", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "6", - "type" : "Literal" - } ] - } ] - } - }, { - "localId" : "242", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "TupleIsIn", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "242", - "s" : [ { - "value" : [ "","define ","TupleIsIn",": " ] - }, { - "r" : "286", - "s" : [ { - "r" : "243", - "s" : [ { - "value" : [ "Tuple{" ] - }, { - "s" : [ { - "r" : "244", - "value" : [ "a",": ","1" ] - } ] - }, { - "value" : [ ", " ] - }, { - "s" : [ { - "value" : [ "b",": " ] - }, { - "r" : "245", - "s" : [ { - "value" : [ "'c'" ] - } ] - } ] - }, { - "value" : [ "}" ] - } ] - }, { - "value" : [ " in " ] - }, { - "r" : "252", - "s" : [ { - "value" : [ "{" ] - }, { - "r" : "253", - "s" : [ { - "value" : [ "Tuple{" ] - }, { - "s" : [ { - "r" : "254", - "value" : [ "a",":","1" ] - } ] - }, { - "value" : [ ", " ] - }, { - "s" : [ { - "value" : [ "b",":" ] - }, { - "r" : "255", - "s" : [ { - "value" : [ "'d'" ] - } ] - } ] - }, { - "value" : [ "}" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "262", - "s" : [ { - "value" : [ "Tuple{" ] - }, { - "s" : [ { - "r" : "263", - "value" : [ "a",":","1" ] - } ] - }, { - "value" : [ ", " ] - }, { - "s" : [ { - "value" : [ "b",":" ] - }, { - "r" : "264", - "s" : [ { - "value" : [ "'c'" ] - } ] - } ] - }, { - "value" : [ "}" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "271", - "s" : [ { - "value" : [ "Tuple{" ] - }, { - "s" : [ { - "r" : "272", - "value" : [ "a",":","2" ] - } ] - }, { - "value" : [ ", " ] - }, { - "s" : [ { - "value" : [ "b",":" ] - }, { - "r" : "273", - "s" : [ { - "value" : [ "'c'" ] - } ] - } ] - }, { - "value" : [ "}" ] - } ] - }, { - "value" : [ "}" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "286", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "In", - "signature" : [ { - "localId" : "287", - "type" : "TupleTypeSpecifier", - "element" : [ { - "localId" : "288", - "name" : "a", - "elementType" : { - "localId" : "289", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "290", - "name" : "b", - "elementType" : { - "localId" : "291", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } - } ] - }, { - "localId" : "292", - "type" : "ListTypeSpecifier", + }, { + "localId" : "284", + "name" : "b", + "annotation" : [ ], "elementType" : { - "localId" : "293", - "type" : "TupleTypeSpecifier", - "element" : [ { - "localId" : "294", - "name" : "a", - "elementType" : { - "localId" : "295", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "296", - "name" : "b", - "elementType" : { - "localId" : "297", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } - } ] + "type" : "NamedTypeSpecifier", + "localId" : "285", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] } - } ], - "operand" : [ { - "localId" : "243", - "type" : "Tuple", - "resultTypeSpecifier" : { - "localId" : "247", - "type" : "TupleTypeSpecifier", - "element" : [ { - "localId" : "248", - "name" : "a", - "elementType" : { - "localId" : "249", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "250", - "name" : "b", - "elementType" : { - "localId" : "251", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } - } ] - }, - "element" : [ { - "name" : "a", - "value" : { - "localId" : "244", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - } - }, { - "name" : "b", - "value" : { - "localId" : "245", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "c", - "type" : "Literal" - } - } ] - }, { - "localId" : "252", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "280", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "281", - "type" : "TupleTypeSpecifier", - "element" : [ { - "localId" : "282", - "name" : "a", - "elementType" : { - "localId" : "283", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "284", - "name" : "b", - "elementType" : { - "localId" : "285", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } - } ] - } - }, - "element" : [ { - "localId" : "253", - "type" : "Tuple", - "resultTypeSpecifier" : { - "localId" : "257", - "type" : "TupleTypeSpecifier", - "element" : [ { - "localId" : "258", - "name" : "a", - "elementType" : { - "localId" : "259", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "260", - "name" : "b", - "elementType" : { - "localId" : "261", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } - } ] - }, - "element" : [ { - "name" : "a", - "value" : { - "localId" : "254", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - } - }, { - "name" : "b", - "value" : { - "localId" : "255", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "d", - "type" : "Literal" - } - } ] - }, { - "localId" : "262", - "type" : "Tuple", - "resultTypeSpecifier" : { - "localId" : "266", - "type" : "TupleTypeSpecifier", - "element" : [ { - "localId" : "267", - "name" : "a", - "elementType" : { - "localId" : "268", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "269", - "name" : "b", - "elementType" : { - "localId" : "270", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } - } ] - }, - "element" : [ { - "name" : "a", - "value" : { - "localId" : "263", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - } - }, { - "name" : "b", - "value" : { - "localId" : "264", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "c", - "type" : "Literal" - } - } ] - }, { - "localId" : "271", - "type" : "Tuple", - "resultTypeSpecifier" : { - "localId" : "275", - "type" : "TupleTypeSpecifier", - "element" : [ { - "localId" : "276", - "name" : "a", - "elementType" : { - "localId" : "277", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "278", - "name" : "b", - "elementType" : { - "localId" : "279", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } - } ] - }, - "element" : [ { - "name" : "a", - "value" : { - "localId" : "272", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal" - } - }, { - "name" : "b", - "value" : { - "localId" : "273", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "c", - "type" : "Literal" - } - } ] - } ] - } ] - } - }, { - "localId" : "300", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "TupleIsNotIn", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "300", - "s" : [ { - "value" : [ "","define ","TupleIsNotIn",": " ] - }, { - "r" : "344", - "s" : [ { - "r" : "301", - "s" : [ { - "value" : [ "Tuple{" ] - }, { - "s" : [ { - "r" : "302", - "value" : [ "a",": ","1" ] - } ] - }, { - "value" : [ ", " ] - }, { - "s" : [ { - "value" : [ "b",": " ] - }, { - "r" : "303", - "s" : [ { - "value" : [ "'c'" ] - } ] - } ] - }, { - "value" : [ "}" ] - } ] - }, { - "value" : [ " in " ] - }, { - "r" : "310", - "s" : [ { - "value" : [ "{" ] - }, { - "r" : "311", - "s" : [ { - "value" : [ "Tuple{" ] - }, { - "s" : [ { - "r" : "312", - "value" : [ "a",":","1" ] - } ] - }, { - "value" : [ ", " ] - }, { - "s" : [ { - "value" : [ "b",":" ] - }, { - "r" : "313", - "s" : [ { - "value" : [ "'d'" ] - } ] - } ] - }, { - "value" : [ "}" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "320", - "s" : [ { - "value" : [ "Tuple{" ] - }, { - "s" : [ { - "r" : "321", - "value" : [ "a",":","2" ] - } ] - }, { - "value" : [ ", " ] - }, { - "s" : [ { - "value" : [ "b",":" ] - }, { - "r" : "322", - "s" : [ { - "value" : [ "'d'" ] - } ] - } ] - }, { - "value" : [ "}" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "329", - "s" : [ { - "value" : [ "Tuple{" ] - }, { - "s" : [ { - "r" : "330", - "value" : [ "a",":","2" ] - } ] - }, { - "value" : [ ", " ] - }, { - "s" : [ { - "value" : [ "b",":" ] - }, { - "r" : "331", - "s" : [ { - "value" : [ "'c'" ] - } ] - } ] - }, { - "value" : [ "}" ] - } ] - }, { - "value" : [ "}" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "344", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "In", - "signature" : [ { - "localId" : "345", - "type" : "TupleTypeSpecifier", - "element" : [ { - "localId" : "346", - "name" : "a", - "elementType" : { - "localId" : "347", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "348", - "name" : "b", - "elementType" : { - "localId" : "349", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } - } ] - }, { - "localId" : "350", - "type" : "ListTypeSpecifier", + } ] + } + }, + "element" : [ { + "type" : "Tuple", + "localId" : "253", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "TupleTypeSpecifier", + "localId" : "257", + "annotation" : [ ], + "element" : [ { + "localId" : "258", + "name" : "a", + "annotation" : [ ], "elementType" : { - "localId" : "351", - "type" : "TupleTypeSpecifier", - "element" : [ { - "localId" : "352", - "name" : "a", - "elementType" : { - "localId" : "353", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "354", - "name" : "b", - "elementType" : { - "localId" : "355", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } - } ] + "type" : "NamedTypeSpecifier", + "localId" : "259", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] } - } ], - "operand" : [ { - "localId" : "301", - "type" : "Tuple", - "resultTypeSpecifier" : { - "localId" : "305", - "type" : "TupleTypeSpecifier", - "element" : [ { - "localId" : "306", - "name" : "a", - "elementType" : { - "localId" : "307", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "308", - "name" : "b", - "elementType" : { - "localId" : "309", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } - } ] - }, - "element" : [ { - "name" : "a", - "value" : { - "localId" : "302", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - } - }, { - "name" : "b", - "value" : { - "localId" : "303", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "c", - "type" : "Literal" - } - } ] - }, { - "localId" : "310", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "338", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "339", - "type" : "TupleTypeSpecifier", - "element" : [ { - "localId" : "340", - "name" : "a", - "elementType" : { - "localId" : "341", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "342", - "name" : "b", - "elementType" : { - "localId" : "343", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } - } ] - } - }, - "element" : [ { - "localId" : "311", - "type" : "Tuple", - "resultTypeSpecifier" : { - "localId" : "315", - "type" : "TupleTypeSpecifier", - "element" : [ { - "localId" : "316", - "name" : "a", - "elementType" : { - "localId" : "317", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "318", - "name" : "b", - "elementType" : { - "localId" : "319", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } - } ] - }, - "element" : [ { - "name" : "a", - "value" : { - "localId" : "312", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - } - }, { - "name" : "b", - "value" : { - "localId" : "313", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "d", - "type" : "Literal" - } - } ] - }, { - "localId" : "320", - "type" : "Tuple", - "resultTypeSpecifier" : { - "localId" : "324", - "type" : "TupleTypeSpecifier", - "element" : [ { - "localId" : "325", - "name" : "a", - "elementType" : { - "localId" : "326", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "327", - "name" : "b", - "elementType" : { - "localId" : "328", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } - } ] - }, - "element" : [ { - "name" : "a", - "value" : { - "localId" : "321", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal" - } - }, { - "name" : "b", - "value" : { - "localId" : "322", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "d", - "type" : "Literal" - } - } ] - }, { - "localId" : "329", - "type" : "Tuple", - "resultTypeSpecifier" : { - "localId" : "333", - "type" : "TupleTypeSpecifier", - "element" : [ { - "localId" : "334", - "name" : "a", - "elementType" : { - "localId" : "335", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "336", - "name" : "b", - "elementType" : { - "localId" : "337", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } - } ] - }, - "element" : [ { - "name" : "a", - "value" : { - "localId" : "330", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal" - } - }, { - "name" : "b", - "value" : { - "localId" : "331", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "c", - "type" : "Literal" - } - } ] - } ] - } ] - } - }, { - "localId" : "358", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "NullIn", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "358", - "s" : [ { - "value" : [ "","define ","NullIn",": " ] - }, { - "r" : "368", - "s" : [ { - "r" : "359", - "value" : [ "null"," in " ] - }, { - "r" : "360", - "s" : [ { - "r" : "361", - "value" : [ "{","1",", ","2",", ","null",", ","3","}" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "368", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "In", - "signature" : [ { - "localId" : "370", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "371", - "type" : "ListTypeSpecifier", + }, { + "localId" : "260", + "name" : "b", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "261", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } + } ] + }, + "element" : [ { + "name" : "a", + "value" : { + "type" : "Literal", + "localId" : "254", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + } + }, { + "name" : "b", + "value" : { + "type" : "Literal", + "localId" : "255", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "d", + "annotation" : [ ] + } + } ] + }, { + "type" : "Tuple", + "localId" : "262", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "TupleTypeSpecifier", + "localId" : "266", + "annotation" : [ ], + "element" : [ { + "localId" : "267", + "name" : "a", + "annotation" : [ ], "elementType" : { - "localId" : "372", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" + "type" : "NamedTypeSpecifier", + "localId" : "268", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] } - } ], - "operand" : [ { - "localId" : "369", - "asType" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "As", - "signature" : [ ], - "operand" : { - "localId" : "359", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" + }, { + "localId" : "269", + "name" : "b", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "270", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } + } ] + }, + "element" : [ { + "name" : "a", + "value" : { + "type" : "Literal", + "localId" : "263", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + } + }, { + "name" : "b", + "value" : { + "type" : "Literal", + "localId" : "264", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "c", + "annotation" : [ ] + } + } ] + }, { + "type" : "Tuple", + "localId" : "271", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "TupleTypeSpecifier", + "localId" : "275", + "annotation" : [ ], + "element" : [ { + "localId" : "276", + "name" : "a", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "277", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] } - }, { - "localId" : "360", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "366", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "367", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "element" : [ { - "localId" : "361", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, { - "localId" : "362", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal" - }, { - "localId" : "365", - "asType" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "As", - "signature" : [ ], - "operand" : { - "localId" : "363", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - } - }, { - "localId" : "364", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" + }, { + "localId" : "278", + "name" : "b", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "279", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } + } ] + }, + "element" : [ { + "name" : "a", + "value" : { + "type" : "Literal", + "localId" : "272", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "annotation" : [ ] + } + }, { + "name" : "b", + "value" : { + "type" : "Literal", + "localId" : "273", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "c", + "annotation" : [ ] + } + } ] + } ] + } ] + } + }, { + "localId" : "300", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "TupleIsNotIn", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "300", + "s" : [ { + "value" : [ "", "define ", "TupleIsNotIn", ": " ] + }, { + "r" : "344", + "s" : [ { + "r" : "301", + "s" : [ { + "value" : [ "Tuple{" ] + }, { + "s" : [ { + "r" : "302", + "value" : [ "a", ": ", "1" ] } ] - } ] + }, { + "value" : [ ", " ] + }, { + "s" : [ { + "value" : [ "b", ": " ] + }, { + "r" : "303", + "s" : [ { + "value" : [ "'c'" ] + } ] + } ] + }, { + "value" : [ "}" ] + } ] + }, { + "value" : [ " in " ] + }, { + "r" : "310", + "s" : [ { + "value" : [ "{" ] + }, { + "r" : "311", + "s" : [ { + "value" : [ "Tuple{" ] + }, { + "s" : [ { + "r" : "312", + "value" : [ "a", ":", "1" ] + } ] + }, { + "value" : [ ", " ] + }, { + "s" : [ { + "value" : [ "b", ":" ] + }, { + "r" : "313", + "s" : [ { + "value" : [ "'d'" ] + } ] + } ] + }, { + "value" : [ "}" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "320", + "s" : [ { + "value" : [ "Tuple{" ] + }, { + "s" : [ { + "r" : "321", + "value" : [ "a", ":", "2" ] + } ] + }, { + "value" : [ ", " ] + }, { + "s" : [ { + "value" : [ "b", ":" ] + }, { + "r" : "322", + "s" : [ { + "value" : [ "'d'" ] + } ] + } ] + }, { + "value" : [ "}" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "329", + "s" : [ { + "value" : [ "Tuple{" ] + }, { + "s" : [ { + "r" : "330", + "value" : [ "a", ":", "2" ] + } ] + }, { + "value" : [ ", " ] + }, { + "s" : [ { + "value" : [ "b", ":" ] + }, { + "r" : "331", + "s" : [ { + "value" : [ "'c'" ] + } ] + } ] + }, { + "value" : [ "}" ] + } ] + }, { + "value" : [ "}" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "In", + "localId" : "344", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "TupleTypeSpecifier", + "localId" : "345", + "annotation" : [ ], + "element" : [ { + "localId" : "346", + "name" : "a", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "347", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, { + "localId" : "348", + "name" : "b", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "349", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } + } ] + }, { + "type" : "ListTypeSpecifier", + "localId" : "350", + "annotation" : [ ], + "elementType" : { + "type" : "TupleTypeSpecifier", + "localId" : "351", + "annotation" : [ ], + "element" : [ { + "localId" : "352", + "name" : "a", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "353", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, { + "localId" : "354", + "name" : "b", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "355", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } + } ] } - }, { - "localId" : "375", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "InNull", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "375", - "s" : [ { - "value" : [ "","define ","InNull",": " ] - }, { - "r" : "378", - "s" : [ { - "r" : "376", - "value" : [ "1"," in ","null" ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "378", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "In", - "signature" : [ { - "localId" : "382", + } ], + "operand" : [ { + "type" : "Tuple", + "localId" : "301", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "TupleTypeSpecifier", + "localId" : "305", + "annotation" : [ ], + "element" : [ { + "localId" : "306", + "name" : "a", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "307", "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "383", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "384", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" + "annotation" : [ ] + } + }, { + "localId" : "308", + "name" : "b", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "309", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } + } ] + }, + "element" : [ { + "name" : "a", + "value" : { + "type" : "Literal", + "localId" : "302", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + } + }, { + "name" : "b", + "value" : { + "type" : "Literal", + "localId" : "303", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "c", + "annotation" : [ ] + } + } ] + }, { + "type" : "List", + "localId" : "310", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "338", + "annotation" : [ ], + "elementType" : { + "type" : "TupleTypeSpecifier", + "localId" : "339", + "annotation" : [ ], + "element" : [ { + "localId" : "340", + "name" : "a", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "341", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] } - } ], - "operand" : [ { - "localId" : "376", + }, { + "localId" : "342", + "name" : "b", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "343", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } + } ] + } + }, + "element" : [ { + "type" : "Tuple", + "localId" : "311", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "TupleTypeSpecifier", + "localId" : "315", + "annotation" : [ ], + "element" : [ { + "localId" : "316", + "name" : "a", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "317", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, { + "localId" : "318", + "name" : "b", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "319", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } + } ] + }, + "element" : [ { + "name" : "a", + "value" : { + "type" : "Literal", + "localId" : "312", "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", "valueType" : "{urn:hl7-org:elm-types:r1}Integer", "value" : "1", - "type" : "Literal" - }, { - "localId" : "379", - "type" : "As", - "signature" : [ ], - "operand" : { - "localId" : "377", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - }, - "asTypeSpecifier" : { - "localId" : "380", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "381", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } - } ] - } - }, { - "localId" : "387", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "NullNotIn", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "387", - "s" : [ { - "value" : [ "","define ","NullNotIn",": " ] - }, { - "r" : "395", - "s" : [ { - "r" : "388", - "value" : [ "null"," in " ] - }, { - "r" : "389", - "s" : [ { - "r" : "390", - "value" : [ "{","1",", ","2",", ","3","}" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "395", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "In", - "signature" : [ { - "localId" : "397", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "398", - "type" : "ListTypeSpecifier", + "annotation" : [ ] + } + }, { + "name" : "b", + "value" : { + "type" : "Literal", + "localId" : "313", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "d", + "annotation" : [ ] + } + } ] + }, { + "type" : "Tuple", + "localId" : "320", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "TupleTypeSpecifier", + "localId" : "324", + "annotation" : [ ], + "element" : [ { + "localId" : "325", + "name" : "a", + "annotation" : [ ], "elementType" : { - "localId" : "399", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" + "type" : "NamedTypeSpecifier", + "localId" : "326", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] } - } ], - "operand" : [ { - "localId" : "396", - "asType" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "As", - "signature" : [ ], - "operand" : { - "localId" : "388", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" + }, { + "localId" : "327", + "name" : "b", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "328", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } + } ] + }, + "element" : [ { + "name" : "a", + "value" : { + "type" : "Literal", + "localId" : "321", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "annotation" : [ ] + } + }, { + "name" : "b", + "value" : { + "type" : "Literal", + "localId" : "322", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "d", + "annotation" : [ ] + } + } ] + }, { + "type" : "Tuple", + "localId" : "329", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "TupleTypeSpecifier", + "localId" : "333", + "annotation" : [ ], + "element" : [ { + "localId" : "334", + "name" : "a", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "335", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] } - }, { - "localId" : "389", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "393", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "394", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "element" : [ { - "localId" : "390", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, { - "localId" : "391", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal" - }, { - "localId" : "392", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - } ] - } ] - } - } ] - } - } + }, { + "localId" : "336", + "name" : "b", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "337", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } + } ] + }, + "element" : [ { + "name" : "a", + "value" : { + "type" : "Literal", + "localId" : "330", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "annotation" : [ ] + } + }, { + "name" : "b", + "value" : { + "type" : "Literal", + "localId" : "331", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "c", + "annotation" : [ ] + } + } ] + } ] + } ] + } + }, { + "localId" : "358", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "NullIn", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "358", + "s" : [ { + "value" : [ "", "define ", "NullIn", ": " ] + }, { + "r" : "368", + "s" : [ { + "r" : "359", + "value" : [ "null", " in " ] + }, { + "r" : "360", + "s" : [ { + "r" : "361", + "value" : [ "{", "1", ", ", "2", ", ", "null", ", ", "3", "}" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "In", + "localId" : "368", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "370", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "ListTypeSpecifier", + "localId" : "371", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "372", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "As", + "localId" : "369", + "asType" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Null", + "localId" : "359", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } + }, { + "type" : "List", + "localId" : "360", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "366", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "367", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "element" : [ { + "type" : "Literal", + "localId" : "361", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "362", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "annotation" : [ ] + }, { + "type" : "As", + "localId" : "365", + "asType" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Null", + "localId" : "363", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } + }, { + "type" : "Literal", + "localId" : "364", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + } ] + } ] + } + }, { + "localId" : "375", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "InNull", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "375", + "s" : [ { + "value" : [ "", "define ", "InNull", ": " ] + }, { + "r" : "378", + "s" : [ { + "r" : "376", + "value" : [ "1", " in ", "null" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "In", + "localId" : "378", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "382", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "383", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "384", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "Literal", + "localId" : "376", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, { + "type" : "As", + "localId" : "379", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Null", + "localId" : "377", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + }, + "asTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "380", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "381", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } + } ] + } + }, { + "localId" : "387", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "NullNotIn", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "387", + "s" : [ { + "value" : [ "", "define ", "NullNotIn", ": " ] + }, { + "r" : "395", + "s" : [ { + "r" : "388", + "value" : [ "null", " in " ] + }, { + "r" : "389", + "s" : [ { + "r" : "390", + "value" : [ "{", "1", ", ", "2", ", ", "3", "}" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "In", + "localId" : "395", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "397", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "ListTypeSpecifier", + "localId" : "398", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "399", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "As", + "localId" : "396", + "asType" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Null", + "localId" : "388", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } + }, { + "type" : "List", + "localId" : "389", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "393", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "394", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "element" : [ { + "type" : "Literal", + "localId" : "390", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "391", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "392", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + } ] + } ] + } + } ] + } + } } /* Contains @@ -13996,1294 +15884,1471 @@ define NullNotIn: {1, 2, 3} contains null */ module.exports['Contains'] = { - "library" : { - "localId" : "0", - "annotation" : [ { - "translatorVersion" : "3.27.0", - "translatorOptions" : "EnableDateRangeOptimization,EnableAnnotations,EnableResultTypes", - "signatureLevel" : "All", - "type" : "CqlToElmInfo" + "library" : { + "localId" : "0", + "annotation" : [ { + "type" : "CqlToElmInfo", + "translatorVersion" : "4.2.0", + "translatorOptions" : "EnableDateRangeOptimization,EnableAnnotations,EnableResultTypes", + "signatureLevel" : "All" + }, { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "393", + "s" : [ { + "value" : [ "", "library TestSnippet version '1'" ] + } ] + } + } ], + "identifier" : { + "id" : "TestSnippet", + "version" : "1" + }, + "schemaIdentifier" : { + "id" : "urn:hl7-org:elm", + "version" : "r1" + }, + "usings" : { + "def" : [ { + "localId" : "1", + "localIdentifier" : "System", + "uri" : "urn:hl7-org:elm-types:r1", + "annotation" : [ ] }, { - "type" : "Annotation", - "s" : { - "r" : "393", - "s" : [ { - "value" : [ "","library TestSnippet version '1'" ] - } ] - } - } ], - "identifier" : { - "id" : "TestSnippet", - "version" : "1" - }, - "schemaIdentifier" : { - "id" : "urn:hl7-org:elm", - "version" : "r1" - }, - "usings" : { - "def" : [ { - "localId" : "1", - "localIdentifier" : "System", - "uri" : "urn:hl7-org:elm-types:r1" - }, { - "localId" : "206", - "localIdentifier" : "Simple", - "uri" : "https://github.com/cqframework/cql-execution/simple", - "version" : "1.0.0", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "206", - "s" : [ { - "value" : [ "","using " ] - }, { - "s" : [ { - "value" : [ "Simple" ] - } ] - }, { - "value" : [ " version '1.0.0'" ] - } ] - } - } ] - } ] - }, - "contexts" : { - "def" : [ { - "localId" : "211", - "name" : "Patient" - } ] - }, - "statements" : { - "def" : [ { - "localId" : "209", - "name" : "Patient", - "context" : "Patient", - "expression" : { - "localId" : "210", - "type" : "SingletonFrom", - "signature" : [ ], - "operand" : { - "localId" : "208", - "dataType" : "{https://github.com/cqframework/cql-execution/simple}Patient", - "type" : "Retrieve", - "include" : [ ], - "codeFilter" : [ ], - "dateFilter" : [ ], - "otherFilter" : [ ] - } - } - }, { - "localId" : "214", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "IsIn", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "214", - "s" : [ { - "value" : [ "","define ","IsIn",": " ] - }, { - "r" : "222", - "s" : [ { - "r" : "215", - "s" : [ { - "r" : "216", - "value" : [ "{ ","3",", ","4",", ","5"," }" ] - } ] - }, { - "r" : "221", - "value" : [ " contains ","4" ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "222", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "Contains", - "signature" : [ { - "localId" : "223", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "224", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "225", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "215", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "219", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "220", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "element" : [ { - "localId" : "216", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, { - "localId" : "217", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "4", - "type" : "Literal" - }, { - "localId" : "218", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal" - } ] - }, { - "localId" : "221", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "4", - "type" : "Literal" - } ] - } - }, { - "localId" : "228", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "IsNotIn", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "228", - "s" : [ { - "value" : [ "","define ","IsNotIn",": " ] - }, { - "r" : "236", - "s" : [ { - "r" : "229", - "s" : [ { - "r" : "230", - "value" : [ "{ ","3",", ","5",", ","6"," }" ] - } ] - }, { - "r" : "235", - "value" : [ " contains ","4" ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "236", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "Contains", - "signature" : [ { - "localId" : "237", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "238", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "239", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "229", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "233", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "234", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "element" : [ { - "localId" : "230", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, { - "localId" : "231", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal" - }, { - "localId" : "232", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "6", - "type" : "Literal" - } ] - }, { - "localId" : "235", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "4", - "type" : "Literal" - } ] - } - }, { - "localId" : "242", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "TupleIsIn", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "242", - "s" : [ { - "value" : [ "","define ","TupleIsIn",": " ] - }, { - "r" : "286", - "s" : [ { - "r" : "243", - "s" : [ { - "value" : [ "{" ] - }, { - "r" : "244", - "s" : [ { - "value" : [ "Tuple{" ] - }, { - "s" : [ { - "r" : "245", - "value" : [ "a",":","1" ] - } ] - }, { - "value" : [ ", " ] - }, { - "s" : [ { - "value" : [ "b",":" ] - }, { - "r" : "246", - "s" : [ { - "value" : [ "'d'" ] - } ] - } ] - }, { - "value" : [ "}" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "253", - "s" : [ { - "value" : [ "Tuple{" ] - }, { - "s" : [ { - "r" : "254", - "value" : [ "a",":","1" ] - } ] - }, { - "value" : [ ", " ] - }, { - "s" : [ { - "value" : [ "b",":" ] - }, { - "r" : "255", - "s" : [ { - "value" : [ "'c'" ] - } ] - } ] - }, { - "value" : [ "}" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "262", - "s" : [ { - "value" : [ "Tuple{" ] - }, { - "s" : [ { - "r" : "263", - "value" : [ "a",":","2" ] - } ] - }, { - "value" : [ ", " ] - }, { - "s" : [ { - "value" : [ "b",":" ] - }, { - "r" : "264", - "s" : [ { - "value" : [ "'c'" ] - } ] - } ] - }, { - "value" : [ "}" ] - } ] - }, { - "value" : [ "}" ] - } ] - }, { - "value" : [ " contains " ] - }, { - "r" : "277", - "s" : [ { - "value" : [ "Tuple{" ] - }, { - "s" : [ { - "r" : "278", - "value" : [ "a",": ","1" ] - } ] - }, { - "value" : [ ", " ] - }, { - "s" : [ { - "value" : [ "b",": " ] - }, { - "r" : "279", - "s" : [ { - "value" : [ "'c'" ] - } ] - } ] - }, { - "value" : [ "}" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "286", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "Contains", - "signature" : [ { - "localId" : "287", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "288", - "type" : "TupleTypeSpecifier", - "element" : [ { - "localId" : "289", - "name" : "a", - "elementType" : { - "localId" : "290", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "291", - "name" : "b", - "elementType" : { - "localId" : "292", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } - } ] - } - }, { - "localId" : "293", - "type" : "TupleTypeSpecifier", - "element" : [ { - "localId" : "294", - "name" : "a", - "elementType" : { - "localId" : "295", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "296", - "name" : "b", - "elementType" : { - "localId" : "297", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } - } ] - } ], - "operand" : [ { - "localId" : "243", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "271", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "272", - "type" : "TupleTypeSpecifier", - "element" : [ { - "localId" : "273", - "name" : "a", - "elementType" : { - "localId" : "274", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "275", - "name" : "b", - "elementType" : { - "localId" : "276", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } - } ] - } - }, - "element" : [ { - "localId" : "244", - "type" : "Tuple", - "resultTypeSpecifier" : { - "localId" : "248", - "type" : "TupleTypeSpecifier", - "element" : [ { - "localId" : "249", - "name" : "a", - "elementType" : { - "localId" : "250", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "251", - "name" : "b", - "elementType" : { - "localId" : "252", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } - } ] - }, - "element" : [ { - "name" : "a", - "value" : { - "localId" : "245", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - } - }, { - "name" : "b", - "value" : { - "localId" : "246", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "d", - "type" : "Literal" - } - } ] - }, { - "localId" : "253", - "type" : "Tuple", - "resultTypeSpecifier" : { - "localId" : "257", - "type" : "TupleTypeSpecifier", - "element" : [ { - "localId" : "258", - "name" : "a", - "elementType" : { - "localId" : "259", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "260", - "name" : "b", - "elementType" : { - "localId" : "261", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } - } ] - }, - "element" : [ { - "name" : "a", - "value" : { - "localId" : "254", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - } - }, { - "name" : "b", - "value" : { - "localId" : "255", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "c", - "type" : "Literal" - } - } ] - }, { - "localId" : "262", - "type" : "Tuple", - "resultTypeSpecifier" : { - "localId" : "266", - "type" : "TupleTypeSpecifier", - "element" : [ { - "localId" : "267", - "name" : "a", - "elementType" : { - "localId" : "268", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "269", - "name" : "b", - "elementType" : { - "localId" : "270", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } - } ] - }, - "element" : [ { - "name" : "a", - "value" : { - "localId" : "263", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal" - } - }, { - "name" : "b", - "value" : { - "localId" : "264", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "c", - "type" : "Literal" - } - } ] - } ] - }, { - "localId" : "277", - "type" : "Tuple", - "resultTypeSpecifier" : { - "localId" : "281", - "type" : "TupleTypeSpecifier", - "element" : [ { - "localId" : "282", - "name" : "a", - "elementType" : { - "localId" : "283", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "284", - "name" : "b", - "elementType" : { - "localId" : "285", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } - } ] - }, - "element" : [ { - "name" : "a", - "value" : { - "localId" : "278", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - } + "localId" : "206", + "localIdentifier" : "Simple", + "uri" : "https://github.com/cqframework/cql-execution/simple", + "version" : "1.0.0", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "206", + "s" : [ { + "value" : [ "", "using " ] + }, { + "s" : [ { + "value" : [ "Simple" ] + } ] + }, { + "value" : [ " version '1.0.0'" ] + } ] + } + } ] + } ] + }, + "contexts" : { + "def" : [ { + "localId" : "211", + "name" : "Patient", + "annotation" : [ ] + } ] + }, + "statements" : { + "def" : [ { + "localId" : "209", + "name" : "Patient", + "context" : "Patient", + "annotation" : [ ], + "expression" : { + "type" : "SingletonFrom", + "localId" : "210", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Retrieve", + "localId" : "208", + "dataType" : "{https://github.com/cqframework/cql-execution/simple}Patient", + "annotation" : [ ], + "include" : [ ], + "codeFilter" : [ ], + "dateFilter" : [ ], + "otherFilter" : [ ] + } + } + }, { + "localId" : "214", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "IsIn", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "214", + "s" : [ { + "value" : [ "", "define ", "IsIn", ": " ] + }, { + "r" : "222", + "s" : [ { + "r" : "215", + "s" : [ { + "r" : "216", + "value" : [ "{ ", "3", ", ", "4", ", ", "5", " }" ] + } ] + }, { + "r" : "221", + "value" : [ " contains ", "4" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Contains", + "localId" : "222", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "ListTypeSpecifier", + "localId" : "223", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "224", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, { + "type" : "NamedTypeSpecifier", + "localId" : "225", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "List", + "localId" : "215", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "219", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "220", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "element" : [ { + "type" : "Literal", + "localId" : "216", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "217", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "4", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "218", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "5", + "annotation" : [ ] + } ] + }, { + "type" : "Literal", + "localId" : "221", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "4", + "annotation" : [ ] + } ] + } + }, { + "localId" : "228", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "IsNotIn", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "228", + "s" : [ { + "value" : [ "", "define ", "IsNotIn", ": " ] + }, { + "r" : "236", + "s" : [ { + "r" : "229", + "s" : [ { + "r" : "230", + "value" : [ "{ ", "3", ", ", "5", ", ", "6", " }" ] + } ] + }, { + "r" : "235", + "value" : [ " contains ", "4" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Contains", + "localId" : "236", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "ListTypeSpecifier", + "localId" : "237", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "238", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, { + "type" : "NamedTypeSpecifier", + "localId" : "239", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "List", + "localId" : "229", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "233", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "234", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "element" : [ { + "type" : "Literal", + "localId" : "230", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "231", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "5", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "232", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "6", + "annotation" : [ ] + } ] + }, { + "type" : "Literal", + "localId" : "235", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "4", + "annotation" : [ ] + } ] + } + }, { + "localId" : "242", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "TupleIsIn", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "242", + "s" : [ { + "value" : [ "", "define ", "TupleIsIn", ": " ] + }, { + "r" : "286", + "s" : [ { + "r" : "243", + "s" : [ { + "value" : [ "{" ] + }, { + "r" : "244", + "s" : [ { + "value" : [ "Tuple{" ] }, { - "name" : "b", - "value" : { - "localId" : "279", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "c", - "type" : "Literal" - } + "s" : [ { + "r" : "245", + "value" : [ "a", ":", "1" ] + } ] + }, { + "value" : [ ", " ] + }, { + "s" : [ { + "value" : [ "b", ":" ] + }, { + "r" : "246", + "s" : [ { + "value" : [ "'d'" ] + } ] + } ] + }, { + "value" : [ "}" ] } ] - } ] - } - }, { - "localId" : "300", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "TupleIsNotIn", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "300", + }, { + "value" : [ ", " ] + }, { + "r" : "253", "s" : [ { - "value" : [ "","define ","TupleIsNotIn",": " ] + "value" : [ "Tuple{" ] + }, { + "s" : [ { + "r" : "254", + "value" : [ "a", ":", "1" ] + } ] + }, { + "value" : [ ", " ] + }, { + "s" : [ { + "value" : [ "b", ":" ] + }, { + "r" : "255", + "s" : [ { + "value" : [ "'c'" ] + } ] + } ] + }, { + "value" : [ "}" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "262", + "s" : [ { + "value" : [ "Tuple{" ] + }, { + "s" : [ { + "r" : "263", + "value" : [ "a", ":", "2" ] + } ] + }, { + "value" : [ ", " ] + }, { + "s" : [ { + "value" : [ "b", ":" ] + }, { + "r" : "264", + "s" : [ { + "value" : [ "'c'" ] + } ] + } ] + }, { + "value" : [ "}" ] + } ] + }, { + "value" : [ "}" ] + } ] + }, { + "value" : [ " contains " ] + }, { + "r" : "277", + "s" : [ { + "value" : [ "Tuple{" ] + }, { + "s" : [ { + "r" : "278", + "value" : [ "a", ": ", "1" ] + } ] + }, { + "value" : [ ", " ] + }, { + "s" : [ { + "value" : [ "b", ": " ] }, { - "r" : "344", - "s" : [ { - "r" : "301", - "s" : [ { - "value" : [ "{" ] - }, { - "r" : "302", - "s" : [ { - "value" : [ "Tuple{" ] - }, { - "s" : [ { - "r" : "303", - "value" : [ "a",":","1" ] - } ] - }, { - "value" : [ ", " ] - }, { - "s" : [ { - "value" : [ "b",":" ] - }, { - "r" : "304", - "s" : [ { - "value" : [ "'d'" ] - } ] - } ] - }, { - "value" : [ "}" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "311", - "s" : [ { - "value" : [ "Tuple{" ] - }, { - "s" : [ { - "r" : "312", - "value" : [ "a",":","2" ] - } ] - }, { - "value" : [ ", " ] - }, { - "s" : [ { - "value" : [ "b",":" ] - }, { - "r" : "313", - "s" : [ { - "value" : [ "'d'" ] - } ] - } ] - }, { - "value" : [ "}" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "320", - "s" : [ { - "value" : [ "Tuple{" ] - }, { - "s" : [ { - "r" : "321", - "value" : [ "a",":","2" ] - } ] - }, { - "value" : [ ", " ] - }, { - "s" : [ { - "value" : [ "b",":" ] - }, { - "r" : "322", - "s" : [ { - "value" : [ "'c'" ] - } ] - } ] - }, { - "value" : [ "}" ] - } ] - }, { - "value" : [ "}" ] - } ] - }, { - "value" : [ " contains " ] - }, { - "r" : "335", - "s" : [ { - "value" : [ "Tuple{" ] - }, { - "s" : [ { - "r" : "336", - "value" : [ "a",": ","1" ] - } ] - }, { - "value" : [ ", " ] - }, { - "s" : [ { - "value" : [ "b",": " ] - }, { - "r" : "337", - "s" : [ { - "value" : [ "'c'" ] - } ] - } ] - }, { - "value" : [ "}" ] - } ] - } ] + "r" : "279", + "s" : [ { + "value" : [ "'c'" ] + } ] } ] - } - } ], - "expression" : { - "localId" : "344", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "Contains", - "signature" : [ { - "localId" : "345", - "type" : "ListTypeSpecifier", + }, { + "value" : [ "}" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Contains", + "localId" : "286", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "ListTypeSpecifier", + "localId" : "287", + "annotation" : [ ], + "elementType" : { + "type" : "TupleTypeSpecifier", + "localId" : "288", + "annotation" : [ ], + "element" : [ { + "localId" : "289", + "name" : "a", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "290", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, { + "localId" : "291", + "name" : "b", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "292", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } + } ] + } + }, { + "type" : "TupleTypeSpecifier", + "localId" : "293", + "annotation" : [ ], + "element" : [ { + "localId" : "294", + "name" : "a", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "295", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, { + "localId" : "296", + "name" : "b", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "297", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } + } ] + } ], + "operand" : [ { + "type" : "List", + "localId" : "243", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "271", + "annotation" : [ ], + "elementType" : { + "type" : "TupleTypeSpecifier", + "localId" : "272", + "annotation" : [ ], + "element" : [ { + "localId" : "273", + "name" : "a", + "annotation" : [ ], "elementType" : { - "localId" : "346", - "type" : "TupleTypeSpecifier", - "element" : [ { - "localId" : "347", - "name" : "a", - "elementType" : { - "localId" : "348", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "349", - "name" : "b", - "elementType" : { - "localId" : "350", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } - } ] + "type" : "NamedTypeSpecifier", + "localId" : "274", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] } - }, { - "localId" : "351", - "type" : "TupleTypeSpecifier", - "element" : [ { - "localId" : "352", - "name" : "a", - "elementType" : { - "localId" : "353", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "354", - "name" : "b", - "elementType" : { - "localId" : "355", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } - } ] - } ], - "operand" : [ { - "localId" : "301", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "329", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "330", - "type" : "TupleTypeSpecifier", - "element" : [ { - "localId" : "331", - "name" : "a", - "elementType" : { - "localId" : "332", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "333", - "name" : "b", - "elementType" : { - "localId" : "334", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } - } ] - } - }, - "element" : [ { - "localId" : "302", - "type" : "Tuple", - "resultTypeSpecifier" : { - "localId" : "306", - "type" : "TupleTypeSpecifier", - "element" : [ { - "localId" : "307", - "name" : "a", - "elementType" : { - "localId" : "308", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "309", - "name" : "b", - "elementType" : { - "localId" : "310", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } - } ] - }, - "element" : [ { - "name" : "a", - "value" : { - "localId" : "303", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - } - }, { - "name" : "b", - "value" : { - "localId" : "304", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "d", - "type" : "Literal" - } - } ] - }, { - "localId" : "311", - "type" : "Tuple", - "resultTypeSpecifier" : { - "localId" : "315", - "type" : "TupleTypeSpecifier", - "element" : [ { - "localId" : "316", - "name" : "a", - "elementType" : { - "localId" : "317", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "318", - "name" : "b", - "elementType" : { - "localId" : "319", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } - } ] - }, - "element" : [ { - "name" : "a", - "value" : { - "localId" : "312", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal" - } - }, { - "name" : "b", - "value" : { - "localId" : "313", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "d", - "type" : "Literal" - } - } ] - }, { - "localId" : "320", - "type" : "Tuple", - "resultTypeSpecifier" : { - "localId" : "324", - "type" : "TupleTypeSpecifier", - "element" : [ { - "localId" : "325", - "name" : "a", - "elementType" : { - "localId" : "326", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "327", - "name" : "b", - "elementType" : { - "localId" : "328", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } - } ] - }, - "element" : [ { - "name" : "a", - "value" : { - "localId" : "321", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal" - } - }, { - "name" : "b", - "value" : { - "localId" : "322", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "c", - "type" : "Literal" - } - } ] + }, { + "localId" : "275", + "name" : "b", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "276", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } + } ] + } + }, + "element" : [ { + "type" : "Tuple", + "localId" : "244", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "TupleTypeSpecifier", + "localId" : "248", + "annotation" : [ ], + "element" : [ { + "localId" : "249", + "name" : "a", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "250", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, { + "localId" : "251", + "name" : "b", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "252", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } + } ] + }, + "element" : [ { + "name" : "a", + "value" : { + "type" : "Literal", + "localId" : "245", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + } + }, { + "name" : "b", + "value" : { + "type" : "Literal", + "localId" : "246", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "d", + "annotation" : [ ] + } + } ] + }, { + "type" : "Tuple", + "localId" : "253", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "TupleTypeSpecifier", + "localId" : "257", + "annotation" : [ ], + "element" : [ { + "localId" : "258", + "name" : "a", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "259", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, { + "localId" : "260", + "name" : "b", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "261", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } + } ] + }, + "element" : [ { + "name" : "a", + "value" : { + "type" : "Literal", + "localId" : "254", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + } + }, { + "name" : "b", + "value" : { + "type" : "Literal", + "localId" : "255", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "c", + "annotation" : [ ] + } + } ] + }, { + "type" : "Tuple", + "localId" : "262", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "TupleTypeSpecifier", + "localId" : "266", + "annotation" : [ ], + "element" : [ { + "localId" : "267", + "name" : "a", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "268", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, { + "localId" : "269", + "name" : "b", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "270", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } + } ] + }, + "element" : [ { + "name" : "a", + "value" : { + "type" : "Literal", + "localId" : "263", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "annotation" : [ ] + } + }, { + "name" : "b", + "value" : { + "type" : "Literal", + "localId" : "264", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "c", + "annotation" : [ ] + } + } ] + } ] + }, { + "type" : "Tuple", + "localId" : "277", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "TupleTypeSpecifier", + "localId" : "281", + "annotation" : [ ], + "element" : [ { + "localId" : "282", + "name" : "a", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "283", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, { + "localId" : "284", + "name" : "b", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "285", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } + } ] + }, + "element" : [ { + "name" : "a", + "value" : { + "type" : "Literal", + "localId" : "278", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + } + }, { + "name" : "b", + "value" : { + "type" : "Literal", + "localId" : "279", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "c", + "annotation" : [ ] + } + } ] + } ] + } + }, { + "localId" : "300", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "TupleIsNotIn", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "300", + "s" : [ { + "value" : [ "", "define ", "TupleIsNotIn", ": " ] + }, { + "r" : "344", + "s" : [ { + "r" : "301", + "s" : [ { + "value" : [ "{" ] + }, { + "r" : "302", + "s" : [ { + "value" : [ "Tuple{" ] + }, { + "s" : [ { + "r" : "303", + "value" : [ "a", ":", "1" ] + } ] + }, { + "value" : [ ", " ] + }, { + "s" : [ { + "value" : [ "b", ":" ] + }, { + "r" : "304", + "s" : [ { + "value" : [ "'d'" ] + } ] + } ] + }, { + "value" : [ "}" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "311", + "s" : [ { + "value" : [ "Tuple{" ] + }, { + "s" : [ { + "r" : "312", + "value" : [ "a", ":", "2" ] + } ] + }, { + "value" : [ ", " ] + }, { + "s" : [ { + "value" : [ "b", ":" ] + }, { + "r" : "313", + "s" : [ { + "value" : [ "'d'" ] + } ] + } ] + }, { + "value" : [ "}" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "320", + "s" : [ { + "value" : [ "Tuple{" ] + }, { + "s" : [ { + "r" : "321", + "value" : [ "a", ":", "2" ] + } ] + }, { + "value" : [ ", " ] + }, { + "s" : [ { + "value" : [ "b", ":" ] + }, { + "r" : "322", + "s" : [ { + "value" : [ "'c'" ] + } ] + } ] + }, { + "value" : [ "}" ] + } ] + }, { + "value" : [ "}" ] + } ] + }, { + "value" : [ " contains " ] + }, { + "r" : "335", + "s" : [ { + "value" : [ "Tuple{" ] + }, { + "s" : [ { + "r" : "336", + "value" : [ "a", ": ", "1" ] } ] - }, { - "localId" : "335", - "type" : "Tuple", - "resultTypeSpecifier" : { - "localId" : "339", - "type" : "TupleTypeSpecifier", - "element" : [ { - "localId" : "340", - "name" : "a", - "elementType" : { - "localId" : "341", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "342", - "name" : "b", - "elementType" : { - "localId" : "343", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } - } ] - }, - "element" : [ { - "name" : "a", - "value" : { - "localId" : "336", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - } + }, { + "value" : [ ", " ] + }, { + "s" : [ { + "value" : [ "b", ": " ] }, { - "name" : "b", - "value" : { - "localId" : "337", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "c", - "type" : "Literal" - } + "r" : "337", + "s" : [ { + "value" : [ "'c'" ] + } ] } ] - } ] + }, { + "value" : [ "}" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Contains", + "localId" : "344", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "ListTypeSpecifier", + "localId" : "345", + "annotation" : [ ], + "elementType" : { + "type" : "TupleTypeSpecifier", + "localId" : "346", + "annotation" : [ ], + "element" : [ { + "localId" : "347", + "name" : "a", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "348", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, { + "localId" : "349", + "name" : "b", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "350", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } + } ] } - }, { - "localId" : "358", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "InNull", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "358", - "s" : [ { - "value" : [ "","define ","InNull",": " ] - }, { - "r" : "370", - "s" : [ { - "r" : "359", - "s" : [ { - "value" : [ "(" ] - }, { - "r" : "359", - "s" : [ { - "r" : "360", - "value" : [ "null"," as " ] - }, { - "r" : "361", - "s" : [ { - "value" : [ "List<" ] - }, { - "r" : "362", - "s" : [ { - "value" : [ "Integer" ] - } ] - }, { - "value" : [ ">" ] - } ] - } ] - }, { - "value" : [ ")" ] - } ] - }, { - "r" : "369", - "value" : [ " contains ","1" ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "370", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "Contains", - "signature" : [ { - "localId" : "371", - "type" : "ListTypeSpecifier", + }, { + "type" : "TupleTypeSpecifier", + "localId" : "351", + "annotation" : [ ], + "element" : [ { + "localId" : "352", + "name" : "a", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "353", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, { + "localId" : "354", + "name" : "b", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "355", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } + } ] + } ], + "operand" : [ { + "type" : "List", + "localId" : "301", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "329", + "annotation" : [ ], + "elementType" : { + "type" : "TupleTypeSpecifier", + "localId" : "330", + "annotation" : [ ], + "element" : [ { + "localId" : "331", + "name" : "a", + "annotation" : [ ], "elementType" : { - "localId" : "372", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" + "type" : "NamedTypeSpecifier", + "localId" : "332", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] } - }, { - "localId" : "373", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "359", - "strict" : false, - "type" : "As", - "resultTypeSpecifier" : { - "localId" : "367", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "368", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "signature" : [ ], - "operand" : { - "localId" : "360", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - }, - "asTypeSpecifier" : { - "localId" : "361", - "type" : "ListTypeSpecifier", - "resultTypeSpecifier" : { - "localId" : "363", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "364", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "elementType" : { - "localId" : "362", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } + }, { + "localId" : "333", + "name" : "b", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "334", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] } - }, { - "localId" : "369", + } ] + } + }, + "element" : [ { + "type" : "Tuple", + "localId" : "302", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "TupleTypeSpecifier", + "localId" : "306", + "annotation" : [ ], + "element" : [ { + "localId" : "307", + "name" : "a", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "308", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, { + "localId" : "309", + "name" : "b", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "310", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } + } ] + }, + "element" : [ { + "name" : "a", + "value" : { + "type" : "Literal", + "localId" : "303", "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", "valueType" : "{urn:hl7-org:elm-types:r1}Integer", "value" : "1", - "type" : "Literal" - } ] - } - }, { - "localId" : "376", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "NullIn", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "376", - "s" : [ { - "value" : [ "","define ","NullIn",": " ] - }, { - "r" : "386", - "s" : [ { - "r" : "377", - "s" : [ { - "r" : "378", - "value" : [ "{","1",", ","2",", ","null",", ","3","}" ] - } ] - }, { - "r" : "385", - "value" : [ " contains ","null" ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "386", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "Contains", - "signature" : [ { - "localId" : "388", - "type" : "ListTypeSpecifier", + "annotation" : [ ] + } + }, { + "name" : "b", + "value" : { + "type" : "Literal", + "localId" : "304", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "d", + "annotation" : [ ] + } + } ] + }, { + "type" : "Tuple", + "localId" : "311", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "TupleTypeSpecifier", + "localId" : "315", + "annotation" : [ ], + "element" : [ { + "localId" : "316", + "name" : "a", + "annotation" : [ ], "elementType" : { - "localId" : "389", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" + "type" : "NamedTypeSpecifier", + "localId" : "317", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] } - }, { - "localId" : "390", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "377", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "383", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "384", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "element" : [ { - "localId" : "378", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, { - "localId" : "379", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal" - }, { - "localId" : "382", - "asType" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "As", - "signature" : [ ], - "operand" : { - "localId" : "380", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - } - }, { - "localId" : "381", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - } ] - }, { - "localId" : "387", - "asType" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "As", - "signature" : [ ], - "operand" : { - "localId" : "385", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" + }, { + "localId" : "318", + "name" : "b", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "319", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } + } ] + }, + "element" : [ { + "name" : "a", + "value" : { + "type" : "Literal", + "localId" : "312", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "annotation" : [ ] + } + }, { + "name" : "b", + "value" : { + "type" : "Literal", + "localId" : "313", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "d", + "annotation" : [ ] + } + } ] + }, { + "type" : "Tuple", + "localId" : "320", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "TupleTypeSpecifier", + "localId" : "324", + "annotation" : [ ], + "element" : [ { + "localId" : "325", + "name" : "a", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "326", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] } - } ] + }, { + "localId" : "327", + "name" : "b", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "328", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } + } ] + }, + "element" : [ { + "name" : "a", + "value" : { + "type" : "Literal", + "localId" : "321", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "annotation" : [ ] + } + }, { + "name" : "b", + "value" : { + "type" : "Literal", + "localId" : "322", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "c", + "annotation" : [ ] + } + } ] + } ] + }, { + "type" : "Tuple", + "localId" : "335", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "TupleTypeSpecifier", + "localId" : "339", + "annotation" : [ ], + "element" : [ { + "localId" : "340", + "name" : "a", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "341", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, { + "localId" : "342", + "name" : "b", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "343", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } + } ] + }, + "element" : [ { + "name" : "a", + "value" : { + "type" : "Literal", + "localId" : "336", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + } + }, { + "name" : "b", + "value" : { + "type" : "Literal", + "localId" : "337", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "c", + "annotation" : [ ] + } + } ] + } ] + } + }, { + "localId" : "358", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "InNull", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "358", + "s" : [ { + "value" : [ "", "define ", "InNull", ": " ] + }, { + "r" : "370", + "s" : [ { + "r" : "359", + "s" : [ { + "value" : [ "(" ] + }, { + "r" : "359", + "s" : [ { + "r" : "360", + "value" : [ "null", " as " ] + }, { + "r" : "361", + "s" : [ { + "value" : [ "List<" ] + }, { + "r" : "362", + "s" : [ { + "value" : [ "Integer" ] + } ] + }, { + "value" : [ ">" ] + } ] + } ] + }, { + "value" : [ ")" ] + } ] + }, { + "r" : "369", + "value" : [ " contains ", "1" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Contains", + "localId" : "370", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "ListTypeSpecifier", + "localId" : "371", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "372", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] } - }, { - "localId" : "393", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "NullNotIn", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "393", - "s" : [ { - "value" : [ "","define ","NullNotIn",": " ] - }, { - "r" : "401", - "s" : [ { - "r" : "394", - "s" : [ { - "r" : "395", - "value" : [ "{","1",", ","2",", ","3","}" ] - } ] - }, { - "r" : "400", - "value" : [ " contains ","null" ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "401", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "Contains", - "signature" : [ { - "localId" : "403", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "404", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "405", + }, { + "type" : "NamedTypeSpecifier", + "localId" : "373", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "As", + "localId" : "359", + "strict" : false, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "367", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "368", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "signature" : [ ], + "operand" : { + "type" : "Null", + "localId" : "360", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + }, + "asTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "361", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "363", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "364", "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "394", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "398", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "399", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "element" : [ { - "localId" : "395", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, { - "localId" : "396", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal" - }, { - "localId" : "397", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - } ] - }, { - "localId" : "402", - "asType" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "As", - "signature" : [ ], - "operand" : { - "localId" : "400", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - } - } ] + "annotation" : [ ] + } + }, + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "362", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } } - } ] - } - } + }, { + "type" : "Literal", + "localId" : "369", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + } ] + } + }, { + "localId" : "376", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "NullIn", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "376", + "s" : [ { + "value" : [ "", "define ", "NullIn", ": " ] + }, { + "r" : "386", + "s" : [ { + "r" : "377", + "s" : [ { + "r" : "378", + "value" : [ "{", "1", ", ", "2", ", ", "null", ", ", "3", "}" ] + } ] + }, { + "r" : "385", + "value" : [ " contains ", "null" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Contains", + "localId" : "386", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "ListTypeSpecifier", + "localId" : "388", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "389", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, { + "type" : "NamedTypeSpecifier", + "localId" : "390", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "List", + "localId" : "377", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "383", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "384", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "element" : [ { + "type" : "Literal", + "localId" : "378", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "379", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "annotation" : [ ] + }, { + "type" : "As", + "localId" : "382", + "asType" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Null", + "localId" : "380", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } + }, { + "type" : "Literal", + "localId" : "381", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + } ] + }, { + "type" : "As", + "localId" : "387", + "asType" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Null", + "localId" : "385", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } + } ] + } + }, { + "localId" : "393", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "NullNotIn", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "393", + "s" : [ { + "value" : [ "", "define ", "NullNotIn", ": " ] + }, { + "r" : "401", + "s" : [ { + "r" : "394", + "s" : [ { + "r" : "395", + "value" : [ "{", "1", ", ", "2", ", ", "3", "}" ] + } ] + }, { + "r" : "400", + "value" : [ " contains ", "null" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Contains", + "localId" : "401", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "ListTypeSpecifier", + "localId" : "403", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "404", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, { + "type" : "NamedTypeSpecifier", + "localId" : "405", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "List", + "localId" : "394", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "398", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "399", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "element" : [ { + "type" : "Literal", + "localId" : "395", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "396", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "397", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + } ] + }, { + "type" : "As", + "localId" : "402", + "asType" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Null", + "localId" : "400", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } + } ] + } + } ] + } + } } /* Includes @@ -15307,2943 +17372,3347 @@ define QuantityNotInList: { ToQuantity('100 \'m\''), ToQuantity('1.995 \'m\''), */ module.exports['Includes'] = { - "library" : { - "localId" : "0", - "annotation" : [ { - "translatorVersion" : "3.27.0", - "translatorOptions" : "EnableDateRangeOptimization,EnableAnnotations,EnableResultTypes", - "signatureLevel" : "All", - "type" : "CqlToElmInfo" - }, { - "libraryId" : "TestSnippet", - "libraryVersion" : "1", - "startLine" : 4, - "startChar" : 45, - "endLine" : 4, - "endChar" : 53, - "message" : "List-valued expression was demoted to a singleton.", - "errorType" : "semantic", - "errorSeverity" : "warning", - "type" : "CqlToElmError" + "library" : { + "localId" : "0", + "annotation" : [ { + "type" : "CqlToElmInfo", + "translatorVersion" : "4.2.0", + "translatorOptions" : "EnableDateRangeOptimization,EnableAnnotations,EnableResultTypes", + "signatureLevel" : "All" + }, { + "type" : "CqlToElmError", + "libraryId" : "TestSnippet", + "libraryVersion" : "1", + "startLine" : 4, + "startChar" : 45, + "endLine" : 4, + "endChar" : 53, + "message" : "List-valued expression was demoted to a singleton.", + "errorType" : "semantic", + "errorSeverity" : "warning" + }, { + "type" : "CqlToElmError", + "libraryId" : "TestSnippet", + "libraryVersion" : "1", + "startLine" : 5, + "startChar" : 53, + "endLine" : 5, + "endChar" : 61, + "message" : "List-valued expression was demoted to a singleton.", + "errorType" : "semantic", + "errorSeverity" : "warning" + }, { + "type" : "CqlToElmError", + "libraryId" : "TestSnippet", + "libraryVersion" : "1", + "startLine" : 6, + "startChar" : 41, + "endLine" : 6, + "endChar" : 55, + "message" : "List-valued expression was demoted to a singleton.", + "errorType" : "semantic", + "errorSeverity" : "warning" + }, { + "type" : "CqlToElmError", + "libraryId" : "TestSnippet", + "libraryVersion" : "1", + "startLine" : 7, + "startChar" : 48, + "endLine" : 7, + "endChar" : 56, + "message" : "List-valued expression was demoted to a singleton.", + "errorType" : "semantic", + "errorSeverity" : "warning" + }, { + "type" : "CqlToElmError", + "libraryId" : "TestSnippet", + "libraryVersion" : "1", + "startLine" : 8, + "startChar" : 91, + "endLine" : 8, + "endChar" : 128, + "message" : "List-valued expression was demoted to a singleton.", + "errorType" : "semantic", + "errorSeverity" : "warning" + }, { + "type" : "CqlToElmError", + "libraryId" : "TestSnippet", + "libraryVersion" : "1", + "startLine" : 9, + "startChar" : 94, + "endLine" : 9, + "endChar" : 131, + "message" : "List-valued expression was demoted to a singleton.", + "errorType" : "semantic", + "errorSeverity" : "warning" + }, { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "795", + "s" : [ { + "value" : [ "", "library TestSnippet version '1'" ] + } ] + } + } ], + "identifier" : { + "id" : "TestSnippet", + "version" : "1" + }, + "schemaIdentifier" : { + "id" : "urn:hl7-org:elm", + "version" : "r1" + }, + "usings" : { + "def" : [ { + "localId" : "1", + "localIdentifier" : "System", + "uri" : "urn:hl7-org:elm-types:r1", + "annotation" : [ ] }, { - "libraryId" : "TestSnippet", - "libraryVersion" : "1", - "startLine" : 5, - "startChar" : 53, - "endLine" : 5, - "endChar" : 61, - "message" : "List-valued expression was demoted to a singleton.", - "errorType" : "semantic", - "errorSeverity" : "warning", - "type" : "CqlToElmError" + "localId" : "206", + "localIdentifier" : "Simple", + "uri" : "https://github.com/cqframework/cql-execution/simple", + "version" : "1.0.0", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "206", + "s" : [ { + "value" : [ "", "using " ] + }, { + "s" : [ { + "value" : [ "Simple" ] + } ] + }, { + "value" : [ " version '1.0.0'" ] + } ] + } + } ] + } ] + }, + "contexts" : { + "def" : [ { + "localId" : "211", + "name" : "Patient", + "annotation" : [ ] + } ] + }, + "statements" : { + "def" : [ { + "localId" : "209", + "name" : "Patient", + "context" : "Patient", + "annotation" : [ ], + "expression" : { + "type" : "SingletonFrom", + "localId" : "210", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Retrieve", + "localId" : "208", + "dataType" : "{https://github.com/cqframework/cql-execution/simple}Patient", + "annotation" : [ ], + "include" : [ ], + "codeFilter" : [ ], + "dateFilter" : [ ], + "otherFilter" : [ ] + } + } }, { - "libraryId" : "TestSnippet", - "libraryVersion" : "1", - "startLine" : 6, - "startChar" : 41, - "endLine" : 6, - "endChar" : 55, - "message" : "List-valued expression was demoted to a singleton.", - "errorType" : "semantic", - "errorSeverity" : "warning", - "type" : "CqlToElmError" + "localId" : "214", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "IsIncluded", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "214", + "s" : [ { + "value" : [ "", "define ", "IsIncluded", ": " ] + }, { + "r" : "229", + "s" : [ { + "r" : "215", + "s" : [ { + "r" : "216", + "value" : [ "{", "1", ", ", "2", ", ", "3", ", ", "4", ", ", "5", "}" ] + } ] + }, { + "r" : "229", + "value" : [ " ", "includes", " " ] + }, { + "r" : "223", + "s" : [ { + "r" : "224", + "value" : [ "{", "2", ", ", "3", ", ", "4", "}" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Includes", + "localId" : "229", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "ListTypeSpecifier", + "localId" : "230", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "231", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, { + "type" : "ListTypeSpecifier", + "localId" : "232", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "233", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "List", + "localId" : "215", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "221", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "222", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "element" : [ { + "type" : "Literal", + "localId" : "216", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "217", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "218", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "219", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "4", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "220", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "5", + "annotation" : [ ] + } ] + }, { + "type" : "List", + "localId" : "223", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "227", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "228", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "element" : [ { + "type" : "Literal", + "localId" : "224", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "225", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "226", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "4", + "annotation" : [ ] + } ] + } ] + } }, { - "libraryId" : "TestSnippet", - "libraryVersion" : "1", - "startLine" : 7, - "startChar" : 48, - "endLine" : 7, - "endChar" : 56, - "message" : "List-valued expression was demoted to a singleton.", - "errorType" : "semantic", - "errorSeverity" : "warning", - "type" : "CqlToElmError" + "localId" : "243", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "IsIncludedReversed", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "243", + "s" : [ { + "value" : [ "", "define ", "IsIncludedReversed", ": " ] + }, { + "r" : "258", + "s" : [ { + "r" : "244", + "s" : [ { + "r" : "245", + "value" : [ "{", "1", ", ", "2", ", ", "3", ", ", "4", ", ", "5", "}" ] + } ] + }, { + "r" : "258", + "value" : [ " ", "includes", " " ] + }, { + "r" : "252", + "s" : [ { + "r" : "253", + "value" : [ "{", "4", ", ", "3", ", ", "2", "}" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Includes", + "localId" : "258", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "ListTypeSpecifier", + "localId" : "259", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "260", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, { + "type" : "ListTypeSpecifier", + "localId" : "261", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "262", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "List", + "localId" : "244", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "250", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "251", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "element" : [ { + "type" : "Literal", + "localId" : "245", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "246", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "247", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "248", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "4", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "249", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "5", + "annotation" : [ ] + } ] + }, { + "type" : "List", + "localId" : "252", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "256", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "257", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "element" : [ { + "type" : "Literal", + "localId" : "253", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "4", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "254", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "255", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "annotation" : [ ] + } ] + } ] + } }, { - "libraryId" : "TestSnippet", - "libraryVersion" : "1", - "startLine" : 8, - "startChar" : 91, - "endLine" : 8, - "endChar" : 128, - "message" : "List-valued expression was demoted to a singleton.", - "errorType" : "semantic", - "errorSeverity" : "warning", - "type" : "CqlToElmError" + "localId" : "272", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "IsSame", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "272", + "s" : [ { + "value" : [ "", "define ", "IsSame", ": " ] + }, { + "r" : "289", + "s" : [ { + "r" : "273", + "s" : [ { + "r" : "274", + "value" : [ "{", "1", ", ", "2", ", ", "3", ", ", "4", ", ", "5", "}" ] + } ] + }, { + "r" : "289", + "value" : [ " ", "includes", " " ] + }, { + "r" : "281", + "s" : [ { + "r" : "282", + "value" : [ "{", "1", ", ", "2", ", ", "3", ", ", "4", ", ", "5", "}" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Includes", + "localId" : "289", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "ListTypeSpecifier", + "localId" : "290", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "291", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, { + "type" : "ListTypeSpecifier", + "localId" : "292", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "293", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "List", + "localId" : "273", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "279", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "280", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "element" : [ { + "type" : "Literal", + "localId" : "274", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "275", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "276", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "277", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "4", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "278", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "5", + "annotation" : [ ] + } ] + }, { + "type" : "List", + "localId" : "281", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "287", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "288", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "element" : [ { + "type" : "Literal", + "localId" : "282", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "283", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "284", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "285", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "4", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "286", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "5", + "annotation" : [ ] + } ] + } ] + } }, { - "libraryId" : "TestSnippet", - "libraryVersion" : "1", - "startLine" : 9, - "startChar" : 94, - "endLine" : 9, - "endChar" : 131, - "message" : "List-valued expression was demoted to a singleton.", - "errorType" : "semantic", - "errorSeverity" : "warning", - "type" : "CqlToElmError" + "localId" : "303", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "IsNotIncluded", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "303", + "s" : [ { + "value" : [ "", "define ", "IsNotIncluded", ": " ] + }, { + "r" : "318", + "s" : [ { + "r" : "304", + "s" : [ { + "r" : "305", + "value" : [ "{", "1", ", ", "2", ", ", "3", ", ", "4", ", ", "5", "}" ] + } ] + }, { + "r" : "318", + "value" : [ " ", "includes", " " ] + }, { + "r" : "312", + "s" : [ { + "r" : "313", + "value" : [ "{", "4", ", ", "5", ", ", "6", "}" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Includes", + "localId" : "318", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "ListTypeSpecifier", + "localId" : "319", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "320", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, { + "type" : "ListTypeSpecifier", + "localId" : "321", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "322", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "List", + "localId" : "304", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "310", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "311", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "element" : [ { + "type" : "Literal", + "localId" : "305", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "306", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "307", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "308", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "4", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "309", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "5", + "annotation" : [ ] + } ] + }, { + "type" : "List", + "localId" : "312", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "316", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "317", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "element" : [ { + "type" : "Literal", + "localId" : "313", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "4", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "314", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "5", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "315", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "6", + "annotation" : [ ] + } ] + } ] + } }, { - "type" : "Annotation", - "s" : { - "r" : "795", + "localId" : "332", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "TuplesIncluded", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "332", "s" : [ { - "value" : [ "","library TestSnippet version '1'" ] - } ] - } - } ], - "identifier" : { - "id" : "TestSnippet", - "version" : "1" - }, - "schemaIdentifier" : { - "id" : "urn:hl7-org:elm", - "version" : "r1" - }, - "usings" : { - "def" : [ { - "localId" : "1", - "localIdentifier" : "System", - "uri" : "urn:hl7-org:elm-types:r1" - }, { - "localId" : "206", - "localIdentifier" : "Simple", - "uri" : "https://github.com/cqframework/cql-execution/simple", - "version" : "1.0.0", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "206", - "s" : [ { - "value" : [ "","using " ] - }, { - "s" : [ { - "value" : [ "Simple" ] - } ] - }, { - "value" : [ " version '1.0.0'" ] - } ] - } - } ] - } ] - }, - "contexts" : { - "def" : [ { - "localId" : "211", - "name" : "Patient" - } ] - }, - "statements" : { - "def" : [ { - "localId" : "209", - "name" : "Patient", - "context" : "Patient", - "expression" : { - "localId" : "210", - "type" : "SingletonFrom", - "signature" : [ ], - "operand" : { - "localId" : "208", - "dataType" : "{https://github.com/cqframework/cql-execution/simple}Patient", - "type" : "Retrieve", - "include" : [ ], - "codeFilter" : [ ], - "dateFilter" : [ ], - "otherFilter" : [ ] - } - } - }, { - "localId" : "214", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "IsIncluded", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "214", - "s" : [ { - "value" : [ "","define ","IsIncluded",": " ] - }, { - "r" : "229", - "s" : [ { - "r" : "215", - "s" : [ { - "r" : "216", - "value" : [ "{","1",", ","2",", ","3",", ","4",", ","5","}" ] - } ] - }, { - "r" : "229", - "value" : [ " ","includes"," " ] - }, { - "r" : "223", - "s" : [ { - "r" : "224", - "value" : [ "{","2",", ","3",", ","4","}" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "229", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "Includes", - "signature" : [ { - "localId" : "230", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "231", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "232", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "233", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "215", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "221", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "222", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "element" : [ { - "localId" : "216", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, { - "localId" : "217", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal" - }, { - "localId" : "218", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, { - "localId" : "219", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "4", - "type" : "Literal" - }, { - "localId" : "220", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal" - } ] - }, { - "localId" : "223", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "227", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "228", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "element" : [ { - "localId" : "224", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal" - }, { - "localId" : "225", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, { - "localId" : "226", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "4", - "type" : "Literal" - } ] - } ] - } - }, { - "localId" : "243", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "IsIncludedReversed", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "243", + "value" : [ "", "define ", "TuplesIncluded", ": " ] + }, { + "r" : "392", + "s" : [ { + "r" : "333", + "s" : [ { + "value" : [ "{" ] + }, { + "r" : "334", "s" : [ { - "value" : [ "","define ","IsIncludedReversed",": " ] - }, { - "r" : "258", - "s" : [ { - "r" : "244", - "s" : [ { - "r" : "245", - "value" : [ "{","1",", ","2",", ","3",", ","4",", ","5","}" ] - } ] - }, { - "r" : "258", - "value" : [ " ","includes"," " ] - }, { - "r" : "252", - "s" : [ { - "r" : "253", - "value" : [ "{","4",", ","3",", ","2","}" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "258", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "Includes", - "signature" : [ { - "localId" : "259", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "260", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "261", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "262", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "244", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "250", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "251", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "element" : [ { - "localId" : "245", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, { - "localId" : "246", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal" - }, { - "localId" : "247", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, { - "localId" : "248", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "4", - "type" : "Literal" - }, { - "localId" : "249", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal" - } ] - }, { - "localId" : "252", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "256", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "257", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "element" : [ { - "localId" : "253", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "4", - "type" : "Literal" - }, { - "localId" : "254", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, { - "localId" : "255", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal" - } ] - } ] - } - }, { - "localId" : "272", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "IsSame", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "272", + "value" : [ "Tuple{" ] + }, { + "s" : [ { + "r" : "335", + "value" : [ "a", ":", "1" ] + } ] + }, { + "value" : [ ", " ] + }, { + "s" : [ { + "value" : [ "b", ":" ] + }, { + "r" : "336", + "s" : [ { + "value" : [ "'d'" ] + } ] + } ] + }, { + "value" : [ "}" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "343", "s" : [ { - "value" : [ "","define ","IsSame",": " ] - }, { - "r" : "289", - "s" : [ { - "r" : "273", - "s" : [ { - "r" : "274", - "value" : [ "{","1",", ","2",", ","3",", ","4",", ","5","}" ] - } ] - }, { - "r" : "289", - "value" : [ " ","includes"," " ] - }, { - "r" : "281", - "s" : [ { - "r" : "282", - "value" : [ "{","1",", ","2",", ","3",", ","4",", ","5","}" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "289", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "Includes", - "signature" : [ { - "localId" : "290", - "type" : "ListTypeSpecifier", + "value" : [ "Tuple{" ] + }, { + "s" : [ { + "r" : "344", + "value" : [ "a", ":", "2" ] + } ] + }, { + "value" : [ ", " ] + }, { + "s" : [ { + "value" : [ "b", ":" ] + }, { + "r" : "345", + "s" : [ { + "value" : [ "'d'" ] + } ] + } ] + }, { + "value" : [ "}" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "352", + "s" : [ { + "value" : [ "Tuple{" ] + }, { + "s" : [ { + "r" : "353", + "value" : [ "a", ":", "2" ] + } ] + }, { + "value" : [ ", " ] + }, { + "s" : [ { + "value" : [ "b", ":" ] + }, { + "r" : "354", + "s" : [ { + "value" : [ "'c'" ] + } ] + } ] + }, { + "value" : [ "}" ] + } ] + }, { + "value" : [ "}" ] + } ] + }, { + "r" : "392", + "value" : [ " ", "includes", " " ] + }, { + "r" : "367", + "s" : [ { + "value" : [ "{" ] + }, { + "r" : "368", + "s" : [ { + "value" : [ "Tuple{" ] + }, { + "s" : [ { + "r" : "369", + "value" : [ "a", ":", "2" ] + } ] + }, { + "value" : [ ", " ] + }, { + "s" : [ { + "value" : [ "b", ":" ] + }, { + "r" : "370", + "s" : [ { + "value" : [ "'d'" ] + } ] + } ] + }, { + "value" : [ "}" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "377", + "s" : [ { + "value" : [ "Tuple{" ] + }, { + "s" : [ { + "r" : "378", + "value" : [ "a", ":", "2" ] + } ] + }, { + "value" : [ ", " ] + }, { + "s" : [ { + "value" : [ "b", ":" ] + }, { + "r" : "379", + "s" : [ { + "value" : [ "'c'" ] + } ] + } ] + }, { + "value" : [ "}" ] + } ] + }, { + "value" : [ "}" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Includes", + "localId" : "392", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "ListTypeSpecifier", + "localId" : "393", + "annotation" : [ ], + "elementType" : { + "type" : "TupleTypeSpecifier", + "localId" : "394", + "annotation" : [ ], + "element" : [ { + "localId" : "395", + "name" : "a", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "396", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, { + "localId" : "397", + "name" : "b", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "398", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } + } ] + } + }, { + "type" : "ListTypeSpecifier", + "localId" : "399", + "annotation" : [ ], + "elementType" : { + "type" : "TupleTypeSpecifier", + "localId" : "400", + "annotation" : [ ], + "element" : [ { + "localId" : "401", + "name" : "a", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "402", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, { + "localId" : "403", + "name" : "b", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "404", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } + } ] + } + } ], + "operand" : [ { + "type" : "List", + "localId" : "333", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "361", + "annotation" : [ ], + "elementType" : { + "type" : "TupleTypeSpecifier", + "localId" : "362", + "annotation" : [ ], + "element" : [ { + "localId" : "363", + "name" : "a", + "annotation" : [ ], "elementType" : { - "localId" : "291", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" + "type" : "NamedTypeSpecifier", + "localId" : "364", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] } - }, { - "localId" : "292", - "type" : "ListTypeSpecifier", + }, { + "localId" : "365", + "name" : "b", + "annotation" : [ ], "elementType" : { - "localId" : "293", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" + "type" : "NamedTypeSpecifier", + "localId" : "366", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] } - } ], - "operand" : [ { - "localId" : "273", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "279", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "280", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "element" : [ { - "localId" : "274", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, { - "localId" : "275", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal" - }, { - "localId" : "276", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, { - "localId" : "277", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "4", - "type" : "Literal" - }, { - "localId" : "278", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal" - } ] - }, { - "localId" : "281", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "287", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "288", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "element" : [ { - "localId" : "282", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, { - "localId" : "283", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal" - }, { - "localId" : "284", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, { - "localId" : "285", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "4", - "type" : "Literal" - }, { - "localId" : "286", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal" - } ] - } ] - } - }, { - "localId" : "303", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "IsNotIncluded", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "303", - "s" : [ { - "value" : [ "","define ","IsNotIncluded",": " ] - }, { - "r" : "318", - "s" : [ { - "r" : "304", - "s" : [ { - "r" : "305", - "value" : [ "{","1",", ","2",", ","3",", ","4",", ","5","}" ] - } ] - }, { - "r" : "318", - "value" : [ " ","includes"," " ] - }, { - "r" : "312", - "s" : [ { - "r" : "313", - "value" : [ "{","4",", ","5",", ","6","}" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "318", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "Includes", - "signature" : [ { - "localId" : "319", - "type" : "ListTypeSpecifier", + } ] + } + }, + "element" : [ { + "type" : "Tuple", + "localId" : "334", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "TupleTypeSpecifier", + "localId" : "338", + "annotation" : [ ], + "element" : [ { + "localId" : "339", + "name" : "a", + "annotation" : [ ], "elementType" : { - "localId" : "320", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" + "type" : "NamedTypeSpecifier", + "localId" : "340", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] } - }, { - "localId" : "321", - "type" : "ListTypeSpecifier", + }, { + "localId" : "341", + "name" : "b", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "342", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } + } ] + }, + "element" : [ { + "name" : "a", + "value" : { + "type" : "Literal", + "localId" : "335", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + } + }, { + "name" : "b", + "value" : { + "type" : "Literal", + "localId" : "336", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "d", + "annotation" : [ ] + } + } ] + }, { + "type" : "Tuple", + "localId" : "343", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "TupleTypeSpecifier", + "localId" : "347", + "annotation" : [ ], + "element" : [ { + "localId" : "348", + "name" : "a", + "annotation" : [ ], "elementType" : { - "localId" : "322", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" + "type" : "NamedTypeSpecifier", + "localId" : "349", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] } - } ], - "operand" : [ { - "localId" : "304", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "310", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "311", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "element" : [ { - "localId" : "305", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, { - "localId" : "306", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal" - }, { - "localId" : "307", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, { - "localId" : "308", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "4", - "type" : "Literal" - }, { - "localId" : "309", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal" - } ] - }, { - "localId" : "312", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "316", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "317", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "element" : [ { - "localId" : "313", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "4", - "type" : "Literal" - }, { - "localId" : "314", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal" - }, { - "localId" : "315", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "6", - "type" : "Literal" - } ] - } ] - } - }, { - "localId" : "332", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "TuplesIncluded", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "332", - "s" : [ { - "value" : [ "","define ","TuplesIncluded",": " ] - }, { - "r" : "392", - "s" : [ { - "r" : "333", - "s" : [ { - "value" : [ "{" ] - }, { - "r" : "334", - "s" : [ { - "value" : [ "Tuple{" ] - }, { - "s" : [ { - "r" : "335", - "value" : [ "a",":","1" ] - } ] - }, { - "value" : [ ", " ] - }, { - "s" : [ { - "value" : [ "b",":" ] - }, { - "r" : "336", - "s" : [ { - "value" : [ "'d'" ] - } ] - } ] - }, { - "value" : [ "}" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "343", - "s" : [ { - "value" : [ "Tuple{" ] - }, { - "s" : [ { - "r" : "344", - "value" : [ "a",":","2" ] - } ] - }, { - "value" : [ ", " ] - }, { - "s" : [ { - "value" : [ "b",":" ] - }, { - "r" : "345", - "s" : [ { - "value" : [ "'d'" ] - } ] - } ] - }, { - "value" : [ "}" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "352", - "s" : [ { - "value" : [ "Tuple{" ] - }, { - "s" : [ { - "r" : "353", - "value" : [ "a",":","2" ] - } ] - }, { - "value" : [ ", " ] - }, { - "s" : [ { - "value" : [ "b",":" ] - }, { - "r" : "354", - "s" : [ { - "value" : [ "'c'" ] - } ] - } ] - }, { - "value" : [ "}" ] - } ] - }, { - "value" : [ "}" ] - } ] - }, { - "r" : "392", - "value" : [ " ","includes"," " ] - }, { - "r" : "367", - "s" : [ { - "value" : [ "{" ] - }, { - "r" : "368", - "s" : [ { - "value" : [ "Tuple{" ] - }, { - "s" : [ { - "r" : "369", - "value" : [ "a",":","2" ] - } ] - }, { - "value" : [ ", " ] - }, { - "s" : [ { - "value" : [ "b",":" ] - }, { - "r" : "370", - "s" : [ { - "value" : [ "'d'" ] - } ] - } ] - }, { - "value" : [ "}" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "377", - "s" : [ { - "value" : [ "Tuple{" ] - }, { - "s" : [ { - "r" : "378", - "value" : [ "a",":","2" ] - } ] - }, { - "value" : [ ", " ] - }, { - "s" : [ { - "value" : [ "b",":" ] - }, { - "r" : "379", - "s" : [ { - "value" : [ "'c'" ] - } ] - } ] - }, { - "value" : [ "}" ] - } ] - }, { - "value" : [ "}" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "392", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "Includes", - "signature" : [ { - "localId" : "393", - "type" : "ListTypeSpecifier", + }, { + "localId" : "350", + "name" : "b", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "351", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } + } ] + }, + "element" : [ { + "name" : "a", + "value" : { + "type" : "Literal", + "localId" : "344", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "annotation" : [ ] + } + }, { + "name" : "b", + "value" : { + "type" : "Literal", + "localId" : "345", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "d", + "annotation" : [ ] + } + } ] + }, { + "type" : "Tuple", + "localId" : "352", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "TupleTypeSpecifier", + "localId" : "356", + "annotation" : [ ], + "element" : [ { + "localId" : "357", + "name" : "a", + "annotation" : [ ], "elementType" : { - "localId" : "394", - "type" : "TupleTypeSpecifier", - "element" : [ { - "localId" : "395", - "name" : "a", - "elementType" : { - "localId" : "396", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "397", - "name" : "b", - "elementType" : { - "localId" : "398", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } - } ] + "type" : "NamedTypeSpecifier", + "localId" : "358", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] } - }, { - "localId" : "399", - "type" : "ListTypeSpecifier", + }, { + "localId" : "359", + "name" : "b", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "360", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } + } ] + }, + "element" : [ { + "name" : "a", + "value" : { + "type" : "Literal", + "localId" : "353", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "annotation" : [ ] + } + }, { + "name" : "b", + "value" : { + "type" : "Literal", + "localId" : "354", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "c", + "annotation" : [ ] + } + } ] + } ] + }, { + "type" : "List", + "localId" : "367", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "386", + "annotation" : [ ], + "elementType" : { + "type" : "TupleTypeSpecifier", + "localId" : "387", + "annotation" : [ ], + "element" : [ { + "localId" : "388", + "name" : "a", + "annotation" : [ ], "elementType" : { - "localId" : "400", - "type" : "TupleTypeSpecifier", - "element" : [ { - "localId" : "401", - "name" : "a", - "elementType" : { - "localId" : "402", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "403", - "name" : "b", - "elementType" : { - "localId" : "404", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } - } ] + "type" : "NamedTypeSpecifier", + "localId" : "389", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] } - } ], - "operand" : [ { - "localId" : "333", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "361", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "362", - "type" : "TupleTypeSpecifier", - "element" : [ { - "localId" : "363", - "name" : "a", - "elementType" : { - "localId" : "364", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "365", - "name" : "b", - "elementType" : { - "localId" : "366", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } - } ] - } - }, - "element" : [ { - "localId" : "334", - "type" : "Tuple", - "resultTypeSpecifier" : { - "localId" : "338", - "type" : "TupleTypeSpecifier", - "element" : [ { - "localId" : "339", - "name" : "a", - "elementType" : { - "localId" : "340", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "341", - "name" : "b", - "elementType" : { - "localId" : "342", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } - } ] - }, - "element" : [ { - "name" : "a", - "value" : { - "localId" : "335", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - } - }, { - "name" : "b", - "value" : { - "localId" : "336", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "d", - "type" : "Literal" - } - } ] - }, { - "localId" : "343", - "type" : "Tuple", - "resultTypeSpecifier" : { - "localId" : "347", - "type" : "TupleTypeSpecifier", - "element" : [ { - "localId" : "348", - "name" : "a", - "elementType" : { - "localId" : "349", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "350", - "name" : "b", - "elementType" : { - "localId" : "351", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } - } ] - }, - "element" : [ { - "name" : "a", - "value" : { - "localId" : "344", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal" - } - }, { - "name" : "b", - "value" : { - "localId" : "345", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "d", - "type" : "Literal" - } - } ] - }, { - "localId" : "352", - "type" : "Tuple", - "resultTypeSpecifier" : { - "localId" : "356", - "type" : "TupleTypeSpecifier", - "element" : [ { - "localId" : "357", - "name" : "a", - "elementType" : { - "localId" : "358", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "359", - "name" : "b", - "elementType" : { - "localId" : "360", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } - } ] - }, - "element" : [ { - "name" : "a", - "value" : { - "localId" : "353", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal" - } - }, { - "name" : "b", - "value" : { - "localId" : "354", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "c", - "type" : "Literal" - } - } ] - } ] - }, { - "localId" : "367", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "386", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "387", - "type" : "TupleTypeSpecifier", - "element" : [ { - "localId" : "388", - "name" : "a", - "elementType" : { - "localId" : "389", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "390", - "name" : "b", - "elementType" : { - "localId" : "391", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } - } ] - } - }, - "element" : [ { - "localId" : "368", - "type" : "Tuple", - "resultTypeSpecifier" : { - "localId" : "372", - "type" : "TupleTypeSpecifier", - "element" : [ { - "localId" : "373", - "name" : "a", - "elementType" : { - "localId" : "374", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "375", - "name" : "b", - "elementType" : { - "localId" : "376", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } - } ] - }, - "element" : [ { - "name" : "a", - "value" : { - "localId" : "369", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal" - } - }, { - "name" : "b", - "value" : { - "localId" : "370", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "d", - "type" : "Literal" - } - } ] - }, { - "localId" : "377", - "type" : "Tuple", - "resultTypeSpecifier" : { - "localId" : "381", - "type" : "TupleTypeSpecifier", - "element" : [ { - "localId" : "382", - "name" : "a", - "elementType" : { - "localId" : "383", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "384", - "name" : "b", - "elementType" : { - "localId" : "385", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } - } ] - }, - "element" : [ { - "name" : "a", - "value" : { - "localId" : "378", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal" - } - }, { - "name" : "b", - "value" : { - "localId" : "379", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "c", - "type" : "Literal" - } - } ] - } ] - } ] - } - }, { - "localId" : "426", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "TuplesNotIncluded", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "426", - "s" : [ { - "value" : [ "","define ","TuplesNotIncluded",": " ] - }, { - "r" : "486", - "s" : [ { - "r" : "427", - "s" : [ { - "value" : [ "{" ] - }, { - "r" : "428", - "s" : [ { - "value" : [ "Tuple{" ] - }, { - "s" : [ { - "r" : "429", - "value" : [ "a",":","1" ] - } ] - }, { - "value" : [ ", " ] - }, { - "s" : [ { - "value" : [ "b",":" ] - }, { - "r" : "430", - "s" : [ { - "value" : [ "'d'" ] - } ] - } ] - }, { - "value" : [ "}" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "437", - "s" : [ { - "value" : [ "Tuple{" ] - }, { - "s" : [ { - "r" : "438", - "value" : [ "a",":","2" ] - } ] - }, { - "value" : [ ", " ] - }, { - "s" : [ { - "value" : [ "b",":" ] - }, { - "r" : "439", - "s" : [ { - "value" : [ "'d'" ] - } ] - } ] - }, { - "value" : [ "}" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "446", - "s" : [ { - "value" : [ "Tuple{" ] - }, { - "s" : [ { - "r" : "447", - "value" : [ "a",":","2" ] - } ] - }, { - "value" : [ ", " ] - }, { - "s" : [ { - "value" : [ "b",":" ] - }, { - "r" : "448", - "s" : [ { - "value" : [ "'c'" ] - } ] - } ] - }, { - "value" : [ "}" ] - } ] - }, { - "value" : [ "}" ] - } ] - }, { - "r" : "486", - "value" : [ " ","includes"," " ] - }, { - "r" : "461", - "s" : [ { - "value" : [ "{" ] - }, { - "r" : "462", - "s" : [ { - "value" : [ "Tuple{" ] - }, { - "s" : [ { - "r" : "463", - "value" : [ "a",":","2" ] - } ] - }, { - "value" : [ ", " ] - }, { - "s" : [ { - "value" : [ "b",":" ] - }, { - "r" : "464", - "s" : [ { - "value" : [ "'d'" ] - } ] - } ] - }, { - "value" : [ "}" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "471", - "s" : [ { - "value" : [ "Tuple{" ] - }, { - "s" : [ { - "r" : "472", - "value" : [ "a",":","3" ] - } ] - }, { - "value" : [ ", " ] - }, { - "s" : [ { - "value" : [ "b",":" ] - }, { - "r" : "473", - "s" : [ { - "value" : [ "'c'" ] - } ] - } ] - }, { - "value" : [ "}" ] - } ] - }, { - "value" : [ "}" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "486", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "Includes", - "signature" : [ { - "localId" : "487", - "type" : "ListTypeSpecifier", + }, { + "localId" : "390", + "name" : "b", + "annotation" : [ ], "elementType" : { - "localId" : "488", - "type" : "TupleTypeSpecifier", - "element" : [ { - "localId" : "489", - "name" : "a", - "elementType" : { - "localId" : "490", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "491", - "name" : "b", - "elementType" : { - "localId" : "492", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } - } ] + "type" : "NamedTypeSpecifier", + "localId" : "391", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] } - }, { - "localId" : "493", - "type" : "ListTypeSpecifier", + } ] + } + }, + "element" : [ { + "type" : "Tuple", + "localId" : "368", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "TupleTypeSpecifier", + "localId" : "372", + "annotation" : [ ], + "element" : [ { + "localId" : "373", + "name" : "a", + "annotation" : [ ], "elementType" : { - "localId" : "494", - "type" : "TupleTypeSpecifier", - "element" : [ { - "localId" : "495", - "name" : "a", - "elementType" : { - "localId" : "496", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "497", - "name" : "b", - "elementType" : { - "localId" : "498", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } - } ] + "type" : "NamedTypeSpecifier", + "localId" : "374", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] } - } ], - "operand" : [ { - "localId" : "427", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "455", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "456", - "type" : "TupleTypeSpecifier", - "element" : [ { - "localId" : "457", - "name" : "a", - "elementType" : { - "localId" : "458", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "459", - "name" : "b", - "elementType" : { - "localId" : "460", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } - } ] - } - }, - "element" : [ { - "localId" : "428", - "type" : "Tuple", - "resultTypeSpecifier" : { - "localId" : "432", - "type" : "TupleTypeSpecifier", - "element" : [ { - "localId" : "433", - "name" : "a", - "elementType" : { - "localId" : "434", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "435", - "name" : "b", - "elementType" : { - "localId" : "436", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } - } ] - }, - "element" : [ { - "name" : "a", - "value" : { - "localId" : "429", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - } - }, { - "name" : "b", - "value" : { - "localId" : "430", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "d", - "type" : "Literal" - } - } ] - }, { - "localId" : "437", - "type" : "Tuple", - "resultTypeSpecifier" : { - "localId" : "441", - "type" : "TupleTypeSpecifier", - "element" : [ { - "localId" : "442", - "name" : "a", - "elementType" : { - "localId" : "443", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "444", - "name" : "b", - "elementType" : { - "localId" : "445", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } - } ] - }, - "element" : [ { - "name" : "a", - "value" : { - "localId" : "438", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal" - } - }, { - "name" : "b", - "value" : { - "localId" : "439", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "d", - "type" : "Literal" - } - } ] - }, { - "localId" : "446", - "type" : "Tuple", - "resultTypeSpecifier" : { - "localId" : "450", - "type" : "TupleTypeSpecifier", - "element" : [ { - "localId" : "451", - "name" : "a", - "elementType" : { - "localId" : "452", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "453", - "name" : "b", - "elementType" : { - "localId" : "454", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } - } ] - }, - "element" : [ { - "name" : "a", - "value" : { - "localId" : "447", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal" - } - }, { - "name" : "b", - "value" : { - "localId" : "448", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "c", - "type" : "Literal" - } - } ] - } ] - }, { - "localId" : "461", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "480", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "481", - "type" : "TupleTypeSpecifier", - "element" : [ { - "localId" : "482", - "name" : "a", - "elementType" : { - "localId" : "483", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "484", - "name" : "b", - "elementType" : { - "localId" : "485", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } - } ] - } - }, - "element" : [ { - "localId" : "462", - "type" : "Tuple", - "resultTypeSpecifier" : { - "localId" : "466", - "type" : "TupleTypeSpecifier", - "element" : [ { - "localId" : "467", - "name" : "a", - "elementType" : { - "localId" : "468", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "469", - "name" : "b", - "elementType" : { - "localId" : "470", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } - } ] - }, - "element" : [ { - "name" : "a", - "value" : { - "localId" : "463", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal" - } - }, { - "name" : "b", - "value" : { - "localId" : "464", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "d", - "type" : "Literal" - } - } ] - }, { - "localId" : "471", - "type" : "Tuple", - "resultTypeSpecifier" : { - "localId" : "475", - "type" : "TupleTypeSpecifier", - "element" : [ { - "localId" : "476", - "name" : "a", - "elementType" : { - "localId" : "477", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "478", - "name" : "b", - "elementType" : { - "localId" : "479", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } - } ] - }, - "element" : [ { - "name" : "a", - "value" : { - "localId" : "472", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - } - }, { - "name" : "b", - "value" : { - "localId" : "473", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "c", - "type" : "Literal" - } - } ] - } ] - } ] - } - }, { - "localId" : "520", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "NullIncluded", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "520", - "s" : [ { - "value" : [ "","define ","NullIncluded",": " ] - }, { - "r" : "538", - "s" : [ { - "r" : "521", - "s" : [ { - "r" : "522", - "value" : [ "{","1",", ","2",", ","3",", ","4",", ","5","}" ] - } ] - }, { - "r" : "538", - "value" : [ " ","includes"," ","null" ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "538", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "Contains", - "signature" : [ { - "localId" : "540", - "type" : "ListTypeSpecifier", + }, { + "localId" : "375", + "name" : "b", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "376", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } + } ] + }, + "element" : [ { + "name" : "a", + "value" : { + "type" : "Literal", + "localId" : "369", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "annotation" : [ ] + } + }, { + "name" : "b", + "value" : { + "type" : "Literal", + "localId" : "370", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "d", + "annotation" : [ ] + } + } ] + }, { + "type" : "Tuple", + "localId" : "377", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "TupleTypeSpecifier", + "localId" : "381", + "annotation" : [ ], + "element" : [ { + "localId" : "382", + "name" : "a", + "annotation" : [ ], "elementType" : { - "localId" : "541", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" + "type" : "NamedTypeSpecifier", + "localId" : "383", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] } - }, { - "localId" : "542", + }, { + "localId" : "384", + "name" : "b", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "385", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } + } ] + }, + "element" : [ { + "name" : "a", + "value" : { + "type" : "Literal", + "localId" : "378", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "annotation" : [ ] + } + }, { + "name" : "b", + "value" : { + "type" : "Literal", + "localId" : "379", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "c", + "annotation" : [ ] + } + } ] + } ] + } ] + } + }, { + "localId" : "426", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "TuplesNotIncluded", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "426", + "s" : [ { + "value" : [ "", "define ", "TuplesNotIncluded", ": " ] + }, { + "r" : "486", + "s" : [ { + "r" : "427", + "s" : [ { + "value" : [ "{" ] + }, { + "r" : "428", + "s" : [ { + "value" : [ "Tuple{" ] + }, { + "s" : [ { + "r" : "429", + "value" : [ "a", ":", "1" ] + } ] + }, { + "value" : [ ", " ] + }, { + "s" : [ { + "value" : [ "b", ":" ] + }, { + "r" : "430", + "s" : [ { + "value" : [ "'d'" ] + } ] + } ] + }, { + "value" : [ "}" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "437", + "s" : [ { + "value" : [ "Tuple{" ] + }, { + "s" : [ { + "r" : "438", + "value" : [ "a", ":", "2" ] + } ] + }, { + "value" : [ ", " ] + }, { + "s" : [ { + "value" : [ "b", ":" ] + }, { + "r" : "439", + "s" : [ { + "value" : [ "'d'" ] + } ] + } ] + }, { + "value" : [ "}" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "446", + "s" : [ { + "value" : [ "Tuple{" ] + }, { + "s" : [ { + "r" : "447", + "value" : [ "a", ":", "2" ] + } ] + }, { + "value" : [ ", " ] + }, { + "s" : [ { + "value" : [ "b", ":" ] + }, { + "r" : "448", + "s" : [ { + "value" : [ "'c'" ] + } ] + } ] + }, { + "value" : [ "}" ] + } ] + }, { + "value" : [ "}" ] + } ] + }, { + "r" : "486", + "value" : [ " ", "includes", " " ] + }, { + "r" : "461", + "s" : [ { + "value" : [ "{" ] + }, { + "r" : "462", + "s" : [ { + "value" : [ "Tuple{" ] + }, { + "s" : [ { + "r" : "463", + "value" : [ "a", ":", "2" ] + } ] + }, { + "value" : [ ", " ] + }, { + "s" : [ { + "value" : [ "b", ":" ] + }, { + "r" : "464", + "s" : [ { + "value" : [ "'d'" ] + } ] + } ] + }, { + "value" : [ "}" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "471", + "s" : [ { + "value" : [ "Tuple{" ] + }, { + "s" : [ { + "r" : "472", + "value" : [ "a", ":", "3" ] + } ] + }, { + "value" : [ ", " ] + }, { + "s" : [ { + "value" : [ "b", ":" ] + }, { + "r" : "473", + "s" : [ { + "value" : [ "'c'" ] + } ] + } ] + }, { + "value" : [ "}" ] + } ] + }, { + "value" : [ "}" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Includes", + "localId" : "486", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "ListTypeSpecifier", + "localId" : "487", + "annotation" : [ ], + "elementType" : { + "type" : "TupleTypeSpecifier", + "localId" : "488", + "annotation" : [ ], + "element" : [ { + "localId" : "489", + "name" : "a", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "490", "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "521", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "527", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "528", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "element" : [ { - "localId" : "522", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, { - "localId" : "523", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal" - }, { - "localId" : "524", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, { - "localId" : "525", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "4", - "type" : "Literal" - }, { - "localId" : "526", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal" - } ] - }, { - "localId" : "539", - "asType" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "As", - "signature" : [ ], - "operand" : { - "localId" : "529", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - } - } ] + "annotation" : [ ] + } + }, { + "localId" : "491", + "name" : "b", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "492", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } + } ] } - }, { - "localId" : "545", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "NullIncludes", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "545", - "s" : [ { - "value" : [ "","define ","NullIncludes",": " ] - }, { - "r" : "555", - "s" : [ { - "r" : "546", - "value" : [ "null"," ","includes"," " ] - }, { - "r" : "547", - "s" : [ { - "r" : "548", - "value" : [ "{","1",", ","2",", ","3",", ","4",", ","5","}" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "555", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "Includes", - "signature" : [ { - "localId" : "559", - "type" : "ListTypeSpecifier", + }, { + "type" : "ListTypeSpecifier", + "localId" : "493", + "annotation" : [ ], + "elementType" : { + "type" : "TupleTypeSpecifier", + "localId" : "494", + "annotation" : [ ], + "element" : [ { + "localId" : "495", + "name" : "a", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "496", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, { + "localId" : "497", + "name" : "b", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "498", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } + } ] + } + } ], + "operand" : [ { + "type" : "List", + "localId" : "427", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "455", + "annotation" : [ ], + "elementType" : { + "type" : "TupleTypeSpecifier", + "localId" : "456", + "annotation" : [ ], + "element" : [ { + "localId" : "457", + "name" : "a", + "annotation" : [ ], "elementType" : { - "localId" : "560", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" + "type" : "NamedTypeSpecifier", + "localId" : "458", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] } - }, { - "localId" : "561", - "type" : "ListTypeSpecifier", + }, { + "localId" : "459", + "name" : "b", + "annotation" : [ ], "elementType" : { - "localId" : "562", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" + "type" : "NamedTypeSpecifier", + "localId" : "460", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] } - } ], - "operand" : [ { - "localId" : "556", - "type" : "As", - "signature" : [ ], - "operand" : { - "localId" : "546", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - }, - "asTypeSpecifier" : { - "localId" : "557", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "558", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } + } ] + } + }, + "element" : [ { + "type" : "Tuple", + "localId" : "428", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "TupleTypeSpecifier", + "localId" : "432", + "annotation" : [ ], + "element" : [ { + "localId" : "433", + "name" : "a", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "434", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] } - }, { - "localId" : "547", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "553", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "554", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "element" : [ { - "localId" : "548", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, { - "localId" : "549", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal" - }, { - "localId" : "550", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, { - "localId" : "551", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "4", - "type" : "Literal" - }, { - "localId" : "552", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal" - } ] - } ] - } - }, { - "localId" : "572", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "DayIncluded", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "572", - "s" : [ { - "value" : [ "","define ","DayIncluded",": " ] - }, { - "r" : "630", - "s" : [ { - "r" : "573", - "s" : [ { - "value" : [ "{" ] - }, { - "r" : "582", - "s" : [ { - "r" : "574", - "value" : [ "DateTime","(","2012",", ","3",", ","2",")" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "594", - "s" : [ { - "r" : "586", - "value" : [ "DateTime","(","2012",", ","3",", ","3",")" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "606", - "s" : [ { - "r" : "598", - "value" : [ "DateTime","(","2012",", ","3",", ","4",")" ] - } ] - }, { - "value" : [ "}" ] - } ] - }, { - "r" : "630", - "value" : [ " ","includes"," " ] - }, { - "r" : "620", - "s" : [ { - "r" : "612", - "value" : [ "DateTime","(","2012",", ","3",", ","3",")" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "630", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "Contains", - "signature" : [ { - "localId" : "631", - "type" : "ListTypeSpecifier", + }, { + "localId" : "435", + "name" : "b", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "436", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } + } ] + }, + "element" : [ { + "name" : "a", + "value" : { + "type" : "Literal", + "localId" : "429", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + } + }, { + "name" : "b", + "value" : { + "type" : "Literal", + "localId" : "430", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "d", + "annotation" : [ ] + } + } ] + }, { + "type" : "Tuple", + "localId" : "437", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "TupleTypeSpecifier", + "localId" : "441", + "annotation" : [ ], + "element" : [ { + "localId" : "442", + "name" : "a", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "443", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, { + "localId" : "444", + "name" : "b", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "445", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } + } ] + }, + "element" : [ { + "name" : "a", + "value" : { + "type" : "Literal", + "localId" : "438", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "annotation" : [ ] + } + }, { + "name" : "b", + "value" : { + "type" : "Literal", + "localId" : "439", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "d", + "annotation" : [ ] + } + } ] + }, { + "type" : "Tuple", + "localId" : "446", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "TupleTypeSpecifier", + "localId" : "450", + "annotation" : [ ], + "element" : [ { + "localId" : "451", + "name" : "a", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "452", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, { + "localId" : "453", + "name" : "b", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "454", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } + } ] + }, + "element" : [ { + "name" : "a", + "value" : { + "type" : "Literal", + "localId" : "447", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "annotation" : [ ] + } + }, { + "name" : "b", + "value" : { + "type" : "Literal", + "localId" : "448", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "c", + "annotation" : [ ] + } + } ] + } ] + }, { + "type" : "List", + "localId" : "461", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "480", + "annotation" : [ ], + "elementType" : { + "type" : "TupleTypeSpecifier", + "localId" : "481", + "annotation" : [ ], + "element" : [ { + "localId" : "482", + "name" : "a", + "annotation" : [ ], "elementType" : { - "localId" : "632", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "633", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "573", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "610", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "611", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "element" : [ { - "localId" : "582", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "583", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "584", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "585", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "574", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "575", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "576", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal" - } - }, { - "localId" : "594", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "595", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "596", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "597", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "586", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "587", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "588", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - } - }, { - "localId" : "606", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "607", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "608", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "609", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "598", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "599", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "600", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "4", - "type" : "Literal" - } - } ] - }, { - "localId" : "620", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "621", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "622", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "623", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "612", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "613", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "614", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" + "type" : "NamedTypeSpecifier", + "localId" : "483", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] } - } ] - } - }, { - "localId" : "636", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "DayNotIncluded", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "636", - "s" : [ { - "value" : [ "","define ","DayNotIncluded",": " ] - }, { - "r" : "694", - "s" : [ { - "r" : "637", - "s" : [ { - "value" : [ "{" ] - }, { - "r" : "646", - "s" : [ { - "r" : "638", - "value" : [ "DateTime","(","2012",", ","3",", ","2",")" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "658", - "s" : [ { - "r" : "650", - "value" : [ "DateTime","(","2012",", ","3",", ","3",")" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "670", - "s" : [ { - "r" : "662", - "value" : [ "DateTime","(","2012",", ","3",", ","4",")" ] - } ] - }, { - "value" : [ "}" ] - } ] - }, { - "r" : "694", - "value" : [ " ","includes"," " ] - }, { - "r" : "684", - "s" : [ { - "r" : "676", - "value" : [ "DateTime","(","2014",", ","3",", ","3",")" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "694", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "Contains", - "signature" : [ { - "localId" : "695", - "type" : "ListTypeSpecifier", + }, { + "localId" : "484", + "name" : "b", + "annotation" : [ ], "elementType" : { - "localId" : "696", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" + "type" : "NamedTypeSpecifier", + "localId" : "485", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] } - }, { - "localId" : "697", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "637", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "674", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "675", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "element" : [ { - "localId" : "646", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "647", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "648", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "649", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "638", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "639", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "640", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal" - } - }, { - "localId" : "658", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "659", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "660", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "661", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "650", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "651", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "652", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - } - }, { - "localId" : "670", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "671", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "672", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "673", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "662", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "663", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "664", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "4", - "type" : "Literal" - } - } ] - }, { - "localId" : "684", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "685", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "686", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "687", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "676", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2014", - "type" : "Literal" - }, - "month" : { - "localId" : "677", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "678", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" + } ] + } + }, + "element" : [ { + "type" : "Tuple", + "localId" : "462", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "TupleTypeSpecifier", + "localId" : "466", + "annotation" : [ ], + "element" : [ { + "localId" : "467", + "name" : "a", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "468", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] } - } ] - } - }, { - "localId" : "700", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "IntegerIncluded", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "700", - "s" : [ { - "value" : [ "","define ","IntegerIncluded",": " ] - }, { - "r" : "716", - "s" : [ { - "r" : "701", - "s" : [ { - "r" : "702", - "value" : [ "{","1",", ","2",", ","3",", ","4",", ","5","}" ] - } ] - }, { - "r" : "716", - "value" : [ " ","includes"," ","3" ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "716", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "Contains", - "signature" : [ { - "localId" : "717", - "type" : "ListTypeSpecifier", + }, { + "localId" : "469", + "name" : "b", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "470", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } + } ] + }, + "element" : [ { + "name" : "a", + "value" : { + "type" : "Literal", + "localId" : "463", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "annotation" : [ ] + } + }, { + "name" : "b", + "value" : { + "type" : "Literal", + "localId" : "464", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "d", + "annotation" : [ ] + } + } ] + }, { + "type" : "Tuple", + "localId" : "471", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "TupleTypeSpecifier", + "localId" : "475", + "annotation" : [ ], + "element" : [ { + "localId" : "476", + "name" : "a", + "annotation" : [ ], "elementType" : { - "localId" : "718", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" + "type" : "NamedTypeSpecifier", + "localId" : "477", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] } - }, { - "localId" : "719", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "701", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "707", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "708", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "element" : [ { - "localId" : "702", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, { - "localId" : "703", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal" - }, { - "localId" : "704", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, { - "localId" : "705", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "4", - "type" : "Literal" - }, { - "localId" : "706", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal" - } ] - }, { - "localId" : "709", + }, { + "localId" : "478", + "name" : "b", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "479", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } + } ] + }, + "element" : [ { + "name" : "a", + "value" : { + "type" : "Literal", + "localId" : "472", "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", "valueType" : "{urn:hl7-org:elm-types:r1}Integer", "value" : "3", - "type" : "Literal" - } ] + "annotation" : [ ] + } + }, { + "name" : "b", + "value" : { + "type" : "Literal", + "localId" : "473", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "c", + "annotation" : [ ] + } + } ] + } ] + } ] + } + }, { + "localId" : "520", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "NullIncluded", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "520", + "s" : [ { + "value" : [ "", "define ", "NullIncluded", ": " ] + }, { + "r" : "538", + "s" : [ { + "r" : "521", + "s" : [ { + "r" : "522", + "value" : [ "{", "1", ", ", "2", ", ", "3", ", ", "4", ", ", "5", "}" ] + } ] + }, { + "r" : "538", + "value" : [ " ", "includes", " ", "null" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Contains", + "localId" : "538", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "ListTypeSpecifier", + "localId" : "540", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "541", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] } - }, { - "localId" : "722", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "IntegerNotIncluded", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "722", - "s" : [ { - "value" : [ "","define ","IntegerNotIncluded",": " ] - }, { - "r" : "738", - "s" : [ { - "r" : "723", - "s" : [ { - "r" : "724", - "value" : [ "{","1",", ","2",", ","3",", ","4",", ","5","}" ] - } ] - }, { - "r" : "738", - "value" : [ " ","includes"," ","33" ] - } ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "542", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "List", + "localId" : "521", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "527", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "528", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "element" : [ { + "type" : "Literal", + "localId" : "522", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "523", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "524", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "525", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "4", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "526", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "5", + "annotation" : [ ] + } ] + }, { + "type" : "As", + "localId" : "539", + "asType" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Null", + "localId" : "529", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } + } ] + } + }, { + "localId" : "545", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "NullIncludes", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "545", + "s" : [ { + "value" : [ "", "define ", "NullIncludes", ": " ] + }, { + "r" : "555", + "s" : [ { + "r" : "546", + "value" : [ "null", " ", "includes", " " ] + }, { + "r" : "547", + "s" : [ { + "r" : "548", + "value" : [ "{", "1", ", ", "2", ", ", "3", ", ", "4", ", ", "5", "}" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Includes", + "localId" : "555", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "ListTypeSpecifier", + "localId" : "559", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "560", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, { + "type" : "ListTypeSpecifier", + "localId" : "561", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "562", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "As", + "localId" : "556", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Null", + "localId" : "546", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + }, + "asTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "557", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "558", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } + }, { + "type" : "List", + "localId" : "547", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "553", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "554", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "element" : [ { + "type" : "Literal", + "localId" : "548", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "549", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "550", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "551", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "4", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "552", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "5", + "annotation" : [ ] + } ] + } ] + } + }, { + "localId" : "572", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "DayIncluded", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "572", + "s" : [ { + "value" : [ "", "define ", "DayIncluded", ": " ] + }, { + "r" : "630", + "s" : [ { + "r" : "573", + "s" : [ { + "value" : [ "{" ] + }, { + "r" : "582", + "s" : [ { + "r" : "574", + "value" : [ "DateTime", "(", "2012", ", ", "3", ", ", "2", ")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "594", + "s" : [ { + "r" : "586", + "value" : [ "DateTime", "(", "2012", ", ", "3", ", ", "3", ")" ] } ] - } + }, { + "value" : [ ", " ] + }, { + "r" : "606", + "s" : [ { + "r" : "598", + "value" : [ "DateTime", "(", "2012", ", ", "3", ", ", "4", ")" ] + } ] + }, { + "value" : [ "}" ] + } ] + }, { + "r" : "630", + "value" : [ " ", "includes", " " ] + }, { + "r" : "620", + "s" : [ { + "r" : "612", + "value" : [ "DateTime", "(", "2012", ", ", "3", ", ", "3", ")" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Contains", + "localId" : "630", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "ListTypeSpecifier", + "localId" : "631", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "632", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, { + "type" : "NamedTypeSpecifier", + "localId" : "633", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "List", + "localId" : "573", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "610", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "611", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "element" : [ { + "type" : "DateTime", + "localId" : "582", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "583", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "584", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "585", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "574", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "575", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "576", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "annotation" : [ ] + } + }, { + "type" : "DateTime", + "localId" : "594", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "595", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "596", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "597", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "586", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "587", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "588", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + } + }, { + "type" : "DateTime", + "localId" : "606", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "607", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "608", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "609", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "598", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "599", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "600", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "4", + "annotation" : [ ] + } + } ] + }, { + "type" : "DateTime", + "localId" : "620", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "621", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "622", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "623", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] } ], - "expression" : { - "localId" : "738", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "Contains", - "signature" : [ { - "localId" : "739", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "740", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "741", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "723", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "729", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "730", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "element" : [ { - "localId" : "724", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, { - "localId" : "725", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal" - }, { - "localId" : "726", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, { - "localId" : "727", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "4", - "type" : "Literal" - }, { - "localId" : "728", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal" - } ] - }, { - "localId" : "731", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "33", - "type" : "Literal" - } ] + "year" : { + "type" : "Literal", + "localId" : "612", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "613", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "614", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] } - }, { - "localId" : "744", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "QuantityInList", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "744", - "s" : [ { - "value" : [ "","define ","QuantityInList",": " ] - }, { - "r" : "789", - "s" : [ { - "r" : "745", - "s" : [ { - "value" : [ "{ " ] - }, { - "r" : "751", - "s" : [ { - "value" : [ "ToQuantity","(" ] - }, { - "r" : "746", - "s" : [ { - "value" : [ "'1 \\'m\\''" ] - } ] - }, { - "value" : [ ")" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "758", - "s" : [ { - "value" : [ "ToQuantity","(" ] - }, { - "r" : "753", - "s" : [ { - "value" : [ "'1.995 \\'m\\''" ] - } ] - }, { - "value" : [ ")" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "765", - "s" : [ { - "value" : [ "ToQuantity","(" ] - }, { - "r" : "760", - "s" : [ { - "value" : [ "'2 \\'m\\''" ] - } ] - }, { - "value" : [ ")" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "772", - "s" : [ { - "value" : [ "ToQuantity","(" ] - }, { - "r" : "767", - "s" : [ { - "value" : [ "'3 \\'m\\''" ] - } ] - }, { - "value" : [ ")" ] - } ] - }, { - "value" : [ "}" ] - } ] - }, { - "r" : "789", - "value" : [ " ","includes"," " ] - }, { - "r" : "781", - "s" : [ { - "value" : [ "ToQuantity","(" ] - }, { - "r" : "776", - "s" : [ { - "value" : [ "'1 \\'m\\''" ] - } ] - }, { - "value" : [ ")" ] - } ] - } ] + } ] + } + }, { + "localId" : "636", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "DayNotIncluded", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "636", + "s" : [ { + "value" : [ "", "define ", "DayNotIncluded", ": " ] + }, { + "r" : "694", + "s" : [ { + "r" : "637", + "s" : [ { + "value" : [ "{" ] + }, { + "r" : "646", + "s" : [ { + "r" : "638", + "value" : [ "DateTime", "(", "2012", ", ", "3", ", ", "2", ")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "658", + "s" : [ { + "r" : "650", + "value" : [ "DateTime", "(", "2012", ", ", "3", ", ", "3", ")" ] } ] - } + }, { + "value" : [ ", " ] + }, { + "r" : "670", + "s" : [ { + "r" : "662", + "value" : [ "DateTime", "(", "2012", ", ", "3", ", ", "4", ")" ] + } ] + }, { + "value" : [ "}" ] + } ] + }, { + "r" : "694", + "value" : [ " ", "includes", " " ] + }, { + "r" : "684", + "s" : [ { + "r" : "676", + "value" : [ "DateTime", "(", "2014", ", ", "3", ", ", "3", ")" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Contains", + "localId" : "694", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "ListTypeSpecifier", + "localId" : "695", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "696", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, { + "type" : "NamedTypeSpecifier", + "localId" : "697", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "List", + "localId" : "637", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "674", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "675", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "element" : [ { + "type" : "DateTime", + "localId" : "646", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "647", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "648", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "649", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "638", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "639", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "640", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "annotation" : [ ] + } + }, { + "type" : "DateTime", + "localId" : "658", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "659", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "660", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "661", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "650", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "651", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "652", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + } + }, { + "type" : "DateTime", + "localId" : "670", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "671", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "672", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "673", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "662", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "663", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "664", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "4", + "annotation" : [ ] + } + } ] + }, { + "type" : "DateTime", + "localId" : "684", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "685", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "686", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "687", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] } ], - "expression" : { - "localId" : "789", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "Contains", - "signature" : [ { - "localId" : "790", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "791", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "792", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "745", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "774", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "775", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } - }, - "element" : [ { - "localId" : "751", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "ToQuantity", - "signature" : [ { - "localId" : "752", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "746", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "1 'm'", - "type" : "Literal" - } - }, { - "localId" : "758", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "ToQuantity", - "signature" : [ { - "localId" : "759", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "753", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "1.995 'm'", - "type" : "Literal" - } - }, { - "localId" : "765", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "ToQuantity", - "signature" : [ { - "localId" : "766", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "760", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "2 'm'", - "type" : "Literal" - } - }, { - "localId" : "772", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "ToQuantity", - "signature" : [ { - "localId" : "773", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "767", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "3 'm'", - "type" : "Literal" - } - } ] - }, { - "localId" : "781", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "ToQuantity", - "signature" : [ { - "localId" : "782", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "776", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "1 'm'", - "type" : "Literal" - } - } ] + "year" : { + "type" : "Literal", + "localId" : "676", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2014", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "677", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "678", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] } - }, { - "localId" : "795", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "QuantityNotInList", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "795", - "s" : [ { - "value" : [ "","define ","QuantityNotInList",": " ] - }, { - "r" : "840", - "s" : [ { - "r" : "796", - "s" : [ { - "value" : [ "{ " ] - }, { - "r" : "802", - "s" : [ { - "value" : [ "ToQuantity","(" ] - }, { - "r" : "797", - "s" : [ { - "value" : [ "'100 \\'m\\''" ] - } ] - }, { - "value" : [ ")" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "809", - "s" : [ { - "value" : [ "ToQuantity","(" ] - }, { - "r" : "804", - "s" : [ { - "value" : [ "'1.995 \\'m\\''" ] - } ] - }, { - "value" : [ ")" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "816", - "s" : [ { - "value" : [ "ToQuantity","(" ] - }, { - "r" : "811", - "s" : [ { - "value" : [ "'2 \\'m\\''" ] - } ] - }, { - "value" : [ ")" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "823", - "s" : [ { - "value" : [ "ToQuantity","(" ] - }, { - "r" : "818", - "s" : [ { - "value" : [ "'3 \\'m\\''" ] - } ] - }, { - "value" : [ ")" ] - } ] - }, { - "value" : [ "}" ] - } ] - }, { - "r" : "840", - "value" : [ " ","includes"," " ] - }, { - "r" : "832", - "s" : [ { - "value" : [ "ToQuantity","(" ] - }, { - "r" : "827", - "s" : [ { - "value" : [ "'1 \\'m\\''" ] - } ] - }, { - "value" : [ ")" ] - } ] - } ] + } ] + } + }, { + "localId" : "700", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "IntegerIncluded", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "700", + "s" : [ { + "value" : [ "", "define ", "IntegerIncluded", ": " ] + }, { + "r" : "716", + "s" : [ { + "r" : "701", + "s" : [ { + "r" : "702", + "value" : [ "{", "1", ", ", "2", ", ", "3", ", ", "4", ", ", "5", "}" ] + } ] + }, { + "r" : "716", + "value" : [ " ", "includes", " ", "3" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Contains", + "localId" : "716", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "ListTypeSpecifier", + "localId" : "717", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "718", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, { + "type" : "NamedTypeSpecifier", + "localId" : "719", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "List", + "localId" : "701", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "707", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "708", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "element" : [ { + "type" : "Literal", + "localId" : "702", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "703", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "704", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "705", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "4", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "706", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "5", + "annotation" : [ ] + } ] + }, { + "type" : "Literal", + "localId" : "709", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + } ] + } + }, { + "localId" : "722", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "IntegerNotIncluded", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "722", + "s" : [ { + "value" : [ "", "define ", "IntegerNotIncluded", ": " ] + }, { + "r" : "738", + "s" : [ { + "r" : "723", + "s" : [ { + "r" : "724", + "value" : [ "{", "1", ", ", "2", ", ", "3", ", ", "4", ", ", "5", "}" ] + } ] + }, { + "r" : "738", + "value" : [ " ", "includes", " ", "33" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Contains", + "localId" : "738", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "ListTypeSpecifier", + "localId" : "739", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "740", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, { + "type" : "NamedTypeSpecifier", + "localId" : "741", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "List", + "localId" : "723", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "729", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "730", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "element" : [ { + "type" : "Literal", + "localId" : "724", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "725", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "726", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "727", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "4", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "728", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "5", + "annotation" : [ ] + } ] + }, { + "type" : "Literal", + "localId" : "731", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "33", + "annotation" : [ ] + } ] + } + }, { + "localId" : "744", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "QuantityInList", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "744", + "s" : [ { + "value" : [ "", "define ", "QuantityInList", ": " ] + }, { + "r" : "789", + "s" : [ { + "r" : "745", + "s" : [ { + "value" : [ "{ " ] + }, { + "r" : "751", + "s" : [ { + "value" : [ "ToQuantity", "(" ] + }, { + "r" : "746", + "s" : [ { + "value" : [ "'1 \\'m\\''" ] + } ] + }, { + "value" : [ ")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "758", + "s" : [ { + "value" : [ "ToQuantity", "(" ] + }, { + "r" : "753", + "s" : [ { + "value" : [ "'1.995 \\'m\\''" ] + } ] + }, { + "value" : [ ")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "765", + "s" : [ { + "value" : [ "ToQuantity", "(" ] + }, { + "r" : "760", + "s" : [ { + "value" : [ "'2 \\'m\\''" ] + } ] + }, { + "value" : [ ")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "772", + "s" : [ { + "value" : [ "ToQuantity", "(" ] + }, { + "r" : "767", + "s" : [ { + "value" : [ "'3 \\'m\\''" ] + } ] + }, { + "value" : [ ")" ] + } ] + }, { + "value" : [ "}" ] + } ] + }, { + "r" : "789", + "value" : [ " ", "includes", " " ] + }, { + "r" : "781", + "s" : [ { + "value" : [ "ToQuantity", "(" ] + }, { + "r" : "776", + "s" : [ { + "value" : [ "'1 \\'m\\''" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Contains", + "localId" : "789", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "ListTypeSpecifier", + "localId" : "790", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "791", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } + }, { + "type" : "NamedTypeSpecifier", + "localId" : "792", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "List", + "localId" : "745", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "774", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "775", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } + }, + "element" : [ { + "type" : "ToQuantity", + "localId" : "751", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "752", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } ], + "operand" : { + "type" : "Literal", + "localId" : "746", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "1 'm'", + "annotation" : [ ] + } + }, { + "type" : "ToQuantity", + "localId" : "758", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "759", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } ], + "operand" : { + "type" : "Literal", + "localId" : "753", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "1.995 'm'", + "annotation" : [ ] + } + }, { + "type" : "ToQuantity", + "localId" : "765", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "766", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } ], + "operand" : { + "type" : "Literal", + "localId" : "760", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "2 'm'", + "annotation" : [ ] + } + }, { + "type" : "ToQuantity", + "localId" : "772", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "773", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } ], + "operand" : { + "type" : "Literal", + "localId" : "767", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "3 'm'", + "annotation" : [ ] + } + } ] + }, { + "type" : "ToQuantity", + "localId" : "781", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "782", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } ], + "operand" : { + "type" : "Literal", + "localId" : "776", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "1 'm'", + "annotation" : [ ] + } + } ] + } + }, { + "localId" : "795", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "QuantityNotInList", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "795", + "s" : [ { + "value" : [ "", "define ", "QuantityNotInList", ": " ] + }, { + "r" : "840", + "s" : [ { + "r" : "796", + "s" : [ { + "value" : [ "{ " ] + }, { + "r" : "802", + "s" : [ { + "value" : [ "ToQuantity", "(" ] + }, { + "r" : "797", + "s" : [ { + "value" : [ "'100 \\'m\\''" ] + } ] + }, { + "value" : [ ")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "809", + "s" : [ { + "value" : [ "ToQuantity", "(" ] + }, { + "r" : "804", + "s" : [ { + "value" : [ "'1.995 \\'m\\''" ] + } ] + }, { + "value" : [ ")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "816", + "s" : [ { + "value" : [ "ToQuantity", "(" ] + }, { + "r" : "811", + "s" : [ { + "value" : [ "'2 \\'m\\''" ] + } ] + }, { + "value" : [ ")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "823", + "s" : [ { + "value" : [ "ToQuantity", "(" ] + }, { + "r" : "818", + "s" : [ { + "value" : [ "'3 \\'m\\''" ] + } ] + }, { + "value" : [ ")" ] + } ] + }, { + "value" : [ "}" ] + } ] + }, { + "r" : "840", + "value" : [ " ", "includes", " " ] + }, { + "r" : "832", + "s" : [ { + "value" : [ "ToQuantity", "(" ] + }, { + "r" : "827", + "s" : [ { + "value" : [ "'1 \\'m\\''" ] } ] - } + }, { + "value" : [ ")" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Contains", + "localId" : "840", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "ListTypeSpecifier", + "localId" : "841", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "842", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } + }, { + "type" : "NamedTypeSpecifier", + "localId" : "843", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "List", + "localId" : "796", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "825", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "826", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } + }, + "element" : [ { + "type" : "ToQuantity", + "localId" : "802", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "803", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } ], + "operand" : { + "type" : "Literal", + "localId" : "797", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "100 'm'", + "annotation" : [ ] + } + }, { + "type" : "ToQuantity", + "localId" : "809", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "810", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } ], + "operand" : { + "type" : "Literal", + "localId" : "804", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "1.995 'm'", + "annotation" : [ ] + } + }, { + "type" : "ToQuantity", + "localId" : "816", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "817", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } ], + "operand" : { + "type" : "Literal", + "localId" : "811", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "2 'm'", + "annotation" : [ ] + } + }, { + "type" : "ToQuantity", + "localId" : "823", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "824", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } ], + "operand" : { + "type" : "Literal", + "localId" : "818", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "3 'm'", + "annotation" : [ ] + } + } ] + }, { + "type" : "ToQuantity", + "localId" : "832", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "833", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] } ], - "expression" : { - "localId" : "840", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "Contains", - "signature" : [ { - "localId" : "841", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "842", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "843", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "796", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "825", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "826", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } - }, - "element" : [ { - "localId" : "802", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "ToQuantity", - "signature" : [ { - "localId" : "803", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "797", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "100 'm'", - "type" : "Literal" - } - }, { - "localId" : "809", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "ToQuantity", - "signature" : [ { - "localId" : "810", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "804", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "1.995 'm'", - "type" : "Literal" - } - }, { - "localId" : "816", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "ToQuantity", - "signature" : [ { - "localId" : "817", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "811", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "2 'm'", - "type" : "Literal" - } - }, { - "localId" : "823", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "ToQuantity", - "signature" : [ { - "localId" : "824", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "818", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "3 'm'", - "type" : "Literal" - } - } ] - }, { - "localId" : "832", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "ToQuantity", - "signature" : [ { - "localId" : "833", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "827", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "1 'm'", - "type" : "Literal" - } - } ] + "operand" : { + "type" : "Literal", + "localId" : "827", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "1 'm'", + "annotation" : [ ] } - } ] - } - } + } ] + } + } ] + } + } } /* IncludedIn @@ -18267,2951 +20736,3357 @@ define QuantityNotInList: ToQuantity('100 \'m\'') included in { ToQuantity('1 \' */ module.exports['IncludedIn'] = { - "library" : { - "localId" : "0", - "annotation" : [ { - "translatorVersion" : "3.27.0", - "translatorOptions" : "EnableDateRangeOptimization,EnableAnnotations,EnableResultTypes", - "signatureLevel" : "All", - "type" : "CqlToElmInfo" - }, { - "libraryId" : "TestSnippet", - "libraryVersion" : "1", - "startLine" : 4, - "startChar" : 20, - "endLine" : 4, - "endChar" : 28, - "message" : "List-valued expression was demoted to a singleton.", - "errorType" : "semantic", - "errorSeverity" : "warning", - "type" : "CqlToElmError" - }, { - "libraryId" : "TestSnippet", - "libraryVersion" : "1", - "startLine" : 5, - "startChar" : 28, - "endLine" : 5, - "endChar" : 36, - "message" : "List-valued expression was demoted to a singleton.", - "errorType" : "semantic", - "errorSeverity" : "warning", - "type" : "CqlToElmError" + "library" : { + "localId" : "0", + "annotation" : [ { + "type" : "CqlToElmInfo", + "translatorVersion" : "4.2.0", + "translatorOptions" : "EnableDateRangeOptimization,EnableAnnotations,EnableResultTypes", + "signatureLevel" : "All" + }, { + "type" : "CqlToElmError", + "libraryId" : "TestSnippet", + "libraryVersion" : "1", + "startLine" : 4, + "startChar" : 20, + "endLine" : 4, + "endChar" : 28, + "message" : "List-valued expression was demoted to a singleton.", + "errorType" : "semantic", + "errorSeverity" : "warning" + }, { + "type" : "CqlToElmError", + "libraryId" : "TestSnippet", + "libraryVersion" : "1", + "startLine" : 5, + "startChar" : 28, + "endLine" : 5, + "endChar" : 36, + "message" : "List-valued expression was demoted to a singleton.", + "errorType" : "semantic", + "errorSeverity" : "warning" + }, { + "type" : "CqlToElmError", + "libraryId" : "TestSnippet", + "libraryVersion" : "1", + "startLine" : 6, + "startChar" : 16, + "endLine" : 6, + "endChar" : 30, + "message" : "List-valued expression was demoted to a singleton.", + "errorType" : "semantic", + "errorSeverity" : "warning" + }, { + "type" : "CqlToElmError", + "libraryId" : "TestSnippet", + "libraryVersion" : "1", + "startLine" : 7, + "startChar" : 23, + "endLine" : 7, + "endChar" : 31, + "message" : "List-valued expression was demoted to a singleton.", + "errorType" : "semantic", + "errorSeverity" : "warning" + }, { + "type" : "CqlToElmError", + "libraryId" : "TestSnippet", + "libraryVersion" : "1", + "startLine" : 8, + "startChar" : 24, + "endLine" : 8, + "endChar" : 61, + "message" : "List-valued expression was demoted to a singleton.", + "errorType" : "semantic", + "errorSeverity" : "warning" + }, { + "type" : "CqlToElmError", + "libraryId" : "TestSnippet", + "libraryVersion" : "1", + "startLine" : 9, + "startChar" : 27, + "endLine" : 9, + "endChar" : 64, + "message" : "List-valued expression was demoted to a singleton.", + "errorType" : "semantic", + "errorSeverity" : "warning" + }, { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "798", + "s" : [ { + "value" : [ "", "library TestSnippet version '1'" ] + } ] + } + } ], + "identifier" : { + "id" : "TestSnippet", + "version" : "1" + }, + "schemaIdentifier" : { + "id" : "urn:hl7-org:elm", + "version" : "r1" + }, + "usings" : { + "def" : [ { + "localId" : "1", + "localIdentifier" : "System", + "uri" : "urn:hl7-org:elm-types:r1", + "annotation" : [ ] }, { - "libraryId" : "TestSnippet", - "libraryVersion" : "1", - "startLine" : 6, - "startChar" : 16, - "endLine" : 6, - "endChar" : 30, - "message" : "List-valued expression was demoted to a singleton.", - "errorType" : "semantic", - "errorSeverity" : "warning", - "type" : "CqlToElmError" + "localId" : "206", + "localIdentifier" : "Simple", + "uri" : "https://github.com/cqframework/cql-execution/simple", + "version" : "1.0.0", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "206", + "s" : [ { + "value" : [ "", "using " ] + }, { + "s" : [ { + "value" : [ "Simple" ] + } ] + }, { + "value" : [ " version '1.0.0'" ] + } ] + } + } ] + } ] + }, + "contexts" : { + "def" : [ { + "localId" : "211", + "name" : "Patient", + "annotation" : [ ] + } ] + }, + "statements" : { + "def" : [ { + "localId" : "209", + "name" : "Patient", + "context" : "Patient", + "annotation" : [ ], + "expression" : { + "type" : "SingletonFrom", + "localId" : "210", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Retrieve", + "localId" : "208", + "dataType" : "{https://github.com/cqframework/cql-execution/simple}Patient", + "annotation" : [ ], + "include" : [ ], + "codeFilter" : [ ], + "dateFilter" : [ ], + "otherFilter" : [ ] + } + } }, { - "libraryId" : "TestSnippet", - "libraryVersion" : "1", - "startLine" : 7, - "startChar" : 23, - "endLine" : 7, - "endChar" : 31, - "message" : "List-valued expression was demoted to a singleton.", - "errorType" : "semantic", - "errorSeverity" : "warning", - "type" : "CqlToElmError" + "localId" : "214", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "IsIncluded", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "214", + "s" : [ { + "value" : [ "", "define ", "IsIncluded", ": " ] + }, { + "r" : "229", + "s" : [ { + "r" : "215", + "s" : [ { + "r" : "216", + "value" : [ "{", "2", ", ", "3", ", ", "4", "}" ] + } ] + }, { + "r" : "229", + "value" : [ " ", "included in", " " ] + }, { + "r" : "221", + "s" : [ { + "r" : "222", + "value" : [ "{", "1", ", ", "2", ", ", "3", ", ", "4", ", ", "5", "}" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "IncludedIn", + "localId" : "229", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "ListTypeSpecifier", + "localId" : "230", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "231", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, { + "type" : "ListTypeSpecifier", + "localId" : "232", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "233", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "List", + "localId" : "215", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "219", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "220", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "element" : [ { + "type" : "Literal", + "localId" : "216", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "217", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "218", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "4", + "annotation" : [ ] + } ] + }, { + "type" : "List", + "localId" : "221", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "227", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "228", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "element" : [ { + "type" : "Literal", + "localId" : "222", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "223", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "224", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "225", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "4", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "226", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "5", + "annotation" : [ ] + } ] + } ] + } }, { - "libraryId" : "TestSnippet", - "libraryVersion" : "1", - "startLine" : 8, - "startChar" : 24, - "endLine" : 8, - "endChar" : 61, - "message" : "List-valued expression was demoted to a singleton.", - "errorType" : "semantic", - "errorSeverity" : "warning", - "type" : "CqlToElmError" + "localId" : "243", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "IsIncludedReversed", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "243", + "s" : [ { + "value" : [ "", "define ", "IsIncludedReversed", ": " ] + }, { + "r" : "258", + "s" : [ { + "r" : "244", + "s" : [ { + "r" : "245", + "value" : [ "{", "4", ", ", "3", ", ", "2", "}" ] + } ] + }, { + "r" : "258", + "value" : [ " ", "included in", " " ] + }, { + "r" : "250", + "s" : [ { + "r" : "251", + "value" : [ "{", "1", ", ", "2", ", ", "3", ", ", "4", ", ", "5", "}" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "IncludedIn", + "localId" : "258", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "ListTypeSpecifier", + "localId" : "259", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "260", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, { + "type" : "ListTypeSpecifier", + "localId" : "261", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "262", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "List", + "localId" : "244", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "248", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "249", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "element" : [ { + "type" : "Literal", + "localId" : "245", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "4", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "246", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "247", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "annotation" : [ ] + } ] + }, { + "type" : "List", + "localId" : "250", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "256", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "257", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "element" : [ { + "type" : "Literal", + "localId" : "251", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "252", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "253", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "254", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "4", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "255", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "5", + "annotation" : [ ] + } ] + } ] + } }, { - "libraryId" : "TestSnippet", - "libraryVersion" : "1", - "startLine" : 9, - "startChar" : 27, - "endLine" : 9, - "endChar" : 64, - "message" : "List-valued expression was demoted to a singleton.", - "errorType" : "semantic", - "errorSeverity" : "warning", - "type" : "CqlToElmError" + "localId" : "272", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "IsSame", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "272", + "s" : [ { + "value" : [ "", "define ", "IsSame", ": " ] + }, { + "r" : "289", + "s" : [ { + "r" : "273", + "s" : [ { + "r" : "274", + "value" : [ "{", "1", ", ", "2", ", ", "3", ", ", "4", ", ", "5", "}" ] + } ] + }, { + "r" : "289", + "value" : [ " ", "included in", " " ] + }, { + "r" : "281", + "s" : [ { + "r" : "282", + "value" : [ "{", "1", ", ", "2", ", ", "3", ", ", "4", ", ", "5", "}" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "IncludedIn", + "localId" : "289", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "ListTypeSpecifier", + "localId" : "290", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "291", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, { + "type" : "ListTypeSpecifier", + "localId" : "292", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "293", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "List", + "localId" : "273", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "279", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "280", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "element" : [ { + "type" : "Literal", + "localId" : "274", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "275", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "276", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "277", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "4", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "278", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "5", + "annotation" : [ ] + } ] + }, { + "type" : "List", + "localId" : "281", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "287", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "288", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "element" : [ { + "type" : "Literal", + "localId" : "282", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "283", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "284", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "285", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "4", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "286", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "5", + "annotation" : [ ] + } ] + } ] + } }, { - "type" : "Annotation", - "s" : { - "r" : "798", + "localId" : "303", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "IsNotIncluded", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "303", "s" : [ { - "value" : [ "","library TestSnippet version '1'" ] - } ] - } - } ], - "identifier" : { - "id" : "TestSnippet", - "version" : "1" - }, - "schemaIdentifier" : { - "id" : "urn:hl7-org:elm", - "version" : "r1" - }, - "usings" : { - "def" : [ { - "localId" : "1", - "localIdentifier" : "System", - "uri" : "urn:hl7-org:elm-types:r1" - }, { - "localId" : "206", - "localIdentifier" : "Simple", - "uri" : "https://github.com/cqframework/cql-execution/simple", - "version" : "1.0.0", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "206", - "s" : [ { - "value" : [ "","using " ] - }, { - "s" : [ { - "value" : [ "Simple" ] - } ] - }, { - "value" : [ " version '1.0.0'" ] - } ] - } - } ] - } ] - }, - "contexts" : { - "def" : [ { - "localId" : "211", - "name" : "Patient" - } ] - }, - "statements" : { - "def" : [ { - "localId" : "209", - "name" : "Patient", - "context" : "Patient", - "expression" : { - "localId" : "210", - "type" : "SingletonFrom", - "signature" : [ ], - "operand" : { - "localId" : "208", - "dataType" : "{https://github.com/cqframework/cql-execution/simple}Patient", - "type" : "Retrieve", - "include" : [ ], - "codeFilter" : [ ], - "dateFilter" : [ ], - "otherFilter" : [ ] - } - } - }, { - "localId" : "214", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "IsIncluded", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "214", - "s" : [ { - "value" : [ "","define ","IsIncluded",": " ] - }, { - "r" : "229", - "s" : [ { - "r" : "215", - "s" : [ { - "r" : "216", - "value" : [ "{","2",", ","3",", ","4","}" ] - } ] - }, { - "r" : "229", - "value" : [ " ","included in"," " ] - }, { - "r" : "221", - "s" : [ { - "r" : "222", - "value" : [ "{","1",", ","2",", ","3",", ","4",", ","5","}" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "229", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "IncludedIn", - "signature" : [ { - "localId" : "230", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "231", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "232", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "233", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "215", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "219", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "220", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "element" : [ { - "localId" : "216", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal" - }, { - "localId" : "217", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, { - "localId" : "218", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "4", - "type" : "Literal" - } ] - }, { - "localId" : "221", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "227", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "228", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "element" : [ { - "localId" : "222", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, { - "localId" : "223", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal" - }, { - "localId" : "224", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, { - "localId" : "225", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "4", - "type" : "Literal" - }, { - "localId" : "226", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal" - } ] - } ] - } - }, { - "localId" : "243", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "IsIncludedReversed", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "243", - "s" : [ { - "value" : [ "","define ","IsIncludedReversed",": " ] - }, { - "r" : "258", - "s" : [ { - "r" : "244", - "s" : [ { - "r" : "245", - "value" : [ "{","4",", ","3",", ","2","}" ] - } ] - }, { - "r" : "258", - "value" : [ " ","included in"," " ] - }, { - "r" : "250", - "s" : [ { - "r" : "251", - "value" : [ "{","1",", ","2",", ","3",", ","4",", ","5","}" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "258", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "IncludedIn", - "signature" : [ { - "localId" : "259", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "260", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "261", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "262", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "244", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "248", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "249", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "element" : [ { - "localId" : "245", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "4", - "type" : "Literal" - }, { - "localId" : "246", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, { - "localId" : "247", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal" - } ] - }, { - "localId" : "250", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "256", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "257", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "element" : [ { - "localId" : "251", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, { - "localId" : "252", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal" - }, { - "localId" : "253", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, { - "localId" : "254", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "4", - "type" : "Literal" - }, { - "localId" : "255", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal" - } ] - } ] - } - }, { - "localId" : "272", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "IsSame", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "272", - "s" : [ { - "value" : [ "","define ","IsSame",": " ] - }, { - "r" : "289", - "s" : [ { - "r" : "273", - "s" : [ { - "r" : "274", - "value" : [ "{","1",", ","2",", ","3",", ","4",", ","5","}" ] - } ] - }, { - "r" : "289", - "value" : [ " ","included in"," " ] - }, { - "r" : "281", - "s" : [ { - "r" : "282", - "value" : [ "{","1",", ","2",", ","3",", ","4",", ","5","}" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "289", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "IncludedIn", - "signature" : [ { - "localId" : "290", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "291", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "292", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "293", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "273", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "279", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "280", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "element" : [ { - "localId" : "274", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, { - "localId" : "275", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal" - }, { - "localId" : "276", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, { - "localId" : "277", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "4", - "type" : "Literal" - }, { - "localId" : "278", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal" - } ] - }, { - "localId" : "281", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "287", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "288", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "element" : [ { - "localId" : "282", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, { - "localId" : "283", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal" - }, { - "localId" : "284", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, { - "localId" : "285", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "4", - "type" : "Literal" - }, { - "localId" : "286", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal" - } ] - } ] - } - }, { - "localId" : "303", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "IsNotIncluded", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "303", - "s" : [ { - "value" : [ "","define ","IsNotIncluded",": " ] - }, { - "r" : "318", - "s" : [ { - "r" : "304", - "s" : [ { - "r" : "305", - "value" : [ "{","4",", ","5",", ","6","}" ] - } ] - }, { - "r" : "318", - "value" : [ " ","included in"," " ] - }, { - "r" : "310", - "s" : [ { - "r" : "311", - "value" : [ "{","1",", ","2",", ","3",", ","4",", ","5","}" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "318", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "IncludedIn", - "signature" : [ { - "localId" : "319", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "320", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "321", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "322", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "304", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "308", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "309", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "element" : [ { - "localId" : "305", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "4", - "type" : "Literal" - }, { - "localId" : "306", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal" - }, { - "localId" : "307", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "6", - "type" : "Literal" - } ] - }, { - "localId" : "310", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "316", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "317", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "element" : [ { - "localId" : "311", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, { - "localId" : "312", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal" - }, { - "localId" : "313", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, { - "localId" : "314", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "4", - "type" : "Literal" - }, { - "localId" : "315", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal" - } ] - } ] - } - }, { - "localId" : "332", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "TuplesIncluded", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "332", - "s" : [ { - "value" : [ "","define ","TuplesIncluded",": " ] - }, { - "r" : "392", - "s" : [ { - "r" : "333", - "s" : [ { - "value" : [ "{" ] - }, { - "r" : "334", - "s" : [ { - "value" : [ "Tuple{" ] - }, { - "s" : [ { - "r" : "335", - "value" : [ "a",":","2" ] - } ] - }, { - "value" : [ ", " ] - }, { - "s" : [ { - "value" : [ "b",":" ] - }, { - "r" : "336", - "s" : [ { - "value" : [ "'d'" ] - } ] - } ] - }, { - "value" : [ "}" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "343", - "s" : [ { - "value" : [ "Tuple{" ] - }, { - "s" : [ { - "r" : "344", - "value" : [ "a",":","2" ] - } ] - }, { - "value" : [ ", " ] - }, { - "s" : [ { - "value" : [ "b",":" ] - }, { - "r" : "345", - "s" : [ { - "value" : [ "'c'" ] - } ] - } ] - }, { - "value" : [ "}" ] - } ] - }, { - "value" : [ "}" ] - } ] - }, { - "r" : "392", - "value" : [ " ","included in"," " ] - }, { - "r" : "358", - "s" : [ { - "value" : [ "{" ] - }, { - "r" : "359", - "s" : [ { - "value" : [ "Tuple{" ] - }, { - "s" : [ { - "r" : "360", - "value" : [ "a",":","1" ] - } ] - }, { - "value" : [ ", " ] - }, { - "s" : [ { - "value" : [ "b",":" ] - }, { - "r" : "361", - "s" : [ { - "value" : [ "'d'" ] - } ] - } ] - }, { - "value" : [ "}" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "368", - "s" : [ { - "value" : [ "Tuple{" ] - }, { - "s" : [ { - "r" : "369", - "value" : [ "a",":","2" ] - } ] - }, { - "value" : [ ", " ] - }, { - "s" : [ { - "value" : [ "b",":" ] - }, { - "r" : "370", - "s" : [ { - "value" : [ "'d'" ] - } ] - } ] - }, { - "value" : [ "}" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "377", - "s" : [ { - "value" : [ "Tuple{" ] - }, { - "s" : [ { - "r" : "378", - "value" : [ "a",":","2" ] - } ] - }, { - "value" : [ ", " ] - }, { - "s" : [ { - "value" : [ "b",":" ] - }, { - "r" : "379", - "s" : [ { - "value" : [ "'c'" ] - } ] - } ] - }, { - "value" : [ "}" ] - } ] - }, { - "value" : [ "}" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "392", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "IncludedIn", - "signature" : [ { - "localId" : "393", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "394", - "type" : "TupleTypeSpecifier", - "element" : [ { - "localId" : "395", - "name" : "a", - "elementType" : { - "localId" : "396", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "397", - "name" : "b", - "elementType" : { - "localId" : "398", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } - } ] - } - }, { - "localId" : "399", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "400", - "type" : "TupleTypeSpecifier", - "element" : [ { - "localId" : "401", - "name" : "a", - "elementType" : { - "localId" : "402", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "403", - "name" : "b", - "elementType" : { - "localId" : "404", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } - } ] - } - } ], - "operand" : [ { - "localId" : "333", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "352", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "353", - "type" : "TupleTypeSpecifier", - "element" : [ { - "localId" : "354", - "name" : "a", - "elementType" : { - "localId" : "355", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "356", - "name" : "b", - "elementType" : { - "localId" : "357", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } - } ] - } - }, - "element" : [ { - "localId" : "334", - "type" : "Tuple", - "resultTypeSpecifier" : { - "localId" : "338", - "type" : "TupleTypeSpecifier", - "element" : [ { - "localId" : "339", - "name" : "a", - "elementType" : { - "localId" : "340", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "341", - "name" : "b", - "elementType" : { - "localId" : "342", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } - } ] - }, - "element" : [ { - "name" : "a", - "value" : { - "localId" : "335", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal" - } - }, { - "name" : "b", - "value" : { - "localId" : "336", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "d", - "type" : "Literal" - } - } ] - }, { - "localId" : "343", - "type" : "Tuple", - "resultTypeSpecifier" : { - "localId" : "347", - "type" : "TupleTypeSpecifier", - "element" : [ { - "localId" : "348", - "name" : "a", - "elementType" : { - "localId" : "349", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "350", - "name" : "b", - "elementType" : { - "localId" : "351", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } - } ] - }, - "element" : [ { - "name" : "a", - "value" : { - "localId" : "344", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal" - } - }, { - "name" : "b", - "value" : { - "localId" : "345", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "c", - "type" : "Literal" - } - } ] - } ] - }, { - "localId" : "358", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "386", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "387", - "type" : "TupleTypeSpecifier", - "element" : [ { - "localId" : "388", - "name" : "a", - "elementType" : { - "localId" : "389", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "390", - "name" : "b", - "elementType" : { - "localId" : "391", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } - } ] - } - }, - "element" : [ { - "localId" : "359", - "type" : "Tuple", - "resultTypeSpecifier" : { - "localId" : "363", - "type" : "TupleTypeSpecifier", - "element" : [ { - "localId" : "364", - "name" : "a", - "elementType" : { - "localId" : "365", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "366", - "name" : "b", - "elementType" : { - "localId" : "367", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } - } ] - }, - "element" : [ { - "name" : "a", - "value" : { - "localId" : "360", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - } - }, { - "name" : "b", - "value" : { - "localId" : "361", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "d", - "type" : "Literal" - } - } ] - }, { - "localId" : "368", - "type" : "Tuple", - "resultTypeSpecifier" : { - "localId" : "372", - "type" : "TupleTypeSpecifier", - "element" : [ { - "localId" : "373", - "name" : "a", - "elementType" : { - "localId" : "374", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "375", - "name" : "b", - "elementType" : { - "localId" : "376", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } - } ] - }, - "element" : [ { - "name" : "a", - "value" : { - "localId" : "369", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal" - } - }, { - "name" : "b", - "value" : { - "localId" : "370", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "d", - "type" : "Literal" - } - } ] - }, { - "localId" : "377", - "type" : "Tuple", - "resultTypeSpecifier" : { - "localId" : "381", - "type" : "TupleTypeSpecifier", - "element" : [ { - "localId" : "382", - "name" : "a", - "elementType" : { - "localId" : "383", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "384", - "name" : "b", - "elementType" : { - "localId" : "385", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } - } ] - }, - "element" : [ { - "name" : "a", - "value" : { - "localId" : "378", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal" - } - }, { - "name" : "b", - "value" : { - "localId" : "379", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "c", - "type" : "Literal" - } - } ] - } ] - } ] + "value" : [ "", "define ", "IsNotIncluded", ": " ] + }, { + "r" : "318", + "s" : [ { + "r" : "304", + "s" : [ { + "r" : "305", + "value" : [ "{", "4", ", ", "5", ", ", "6", "}" ] + } ] + }, { + "r" : "318", + "value" : [ " ", "included in", " " ] + }, { + "r" : "310", + "s" : [ { + "r" : "311", + "value" : [ "{", "1", ", ", "2", ", ", "3", ", ", "4", ", ", "5", "}" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "IncludedIn", + "localId" : "318", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "ListTypeSpecifier", + "localId" : "319", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "320", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] } - }, { - "localId" : "426", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "TuplesNotIncluded", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "426", + }, { + "type" : "ListTypeSpecifier", + "localId" : "321", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "322", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "List", + "localId" : "304", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "308", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "309", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "element" : [ { + "type" : "Literal", + "localId" : "305", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "4", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "306", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "5", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "307", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "6", + "annotation" : [ ] + } ] + }, { + "type" : "List", + "localId" : "310", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "316", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "317", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "element" : [ { + "type" : "Literal", + "localId" : "311", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "312", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "313", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "314", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "4", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "315", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "5", + "annotation" : [ ] + } ] + } ] + } + }, { + "localId" : "332", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "TuplesIncluded", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "332", + "s" : [ { + "value" : [ "", "define ", "TuplesIncluded", ": " ] + }, { + "r" : "392", + "s" : [ { + "r" : "333", + "s" : [ { + "value" : [ "{" ] + }, { + "r" : "334", "s" : [ { - "value" : [ "","define ","TuplesNotIncluded",": " ] - }, { - "r" : "486", - "s" : [ { - "r" : "427", - "s" : [ { - "value" : [ "{" ] - }, { - "r" : "428", - "s" : [ { - "value" : [ "Tuple{" ] - }, { - "s" : [ { - "r" : "429", - "value" : [ "a",":","2" ] - } ] - }, { - "value" : [ ", " ] - }, { - "s" : [ { - "value" : [ "b",":" ] - }, { - "r" : "430", - "s" : [ { - "value" : [ "'d'" ] - } ] - } ] - }, { - "value" : [ "}" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "437", - "s" : [ { - "value" : [ "Tuple{" ] - }, { - "s" : [ { - "r" : "438", - "value" : [ "a",":","3" ] - } ] - }, { - "value" : [ ", " ] - }, { - "s" : [ { - "value" : [ "b",":" ] - }, { - "r" : "439", - "s" : [ { - "value" : [ "'c'" ] - } ] - } ] - }, { - "value" : [ "}" ] - } ] - }, { - "value" : [ "}" ] - } ] - }, { - "r" : "486", - "value" : [ " ","included in"," " ] - }, { - "r" : "452", - "s" : [ { - "value" : [ "{" ] - }, { - "r" : "453", - "s" : [ { - "value" : [ "Tuple{" ] - }, { - "s" : [ { - "r" : "454", - "value" : [ "a",":","1" ] - } ] - }, { - "value" : [ ", " ] - }, { - "s" : [ { - "value" : [ "b",":" ] - }, { - "r" : "455", - "s" : [ { - "value" : [ "'d'" ] - } ] - } ] - }, { - "value" : [ "}" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "462", - "s" : [ { - "value" : [ "Tuple{" ] - }, { - "s" : [ { - "r" : "463", - "value" : [ "a",":","2" ] - } ] - }, { - "value" : [ ", " ] - }, { - "s" : [ { - "value" : [ "b",":" ] - }, { - "r" : "464", - "s" : [ { - "value" : [ "'d'" ] - } ] - } ] - }, { - "value" : [ "}" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "471", - "s" : [ { - "value" : [ "Tuple{" ] - }, { - "s" : [ { - "r" : "472", - "value" : [ "a",":","2" ] - } ] - }, { - "value" : [ ", " ] - }, { - "s" : [ { - "value" : [ "b",":" ] - }, { - "r" : "473", - "s" : [ { - "value" : [ "'c'" ] - } ] - } ] - }, { - "value" : [ "}" ] - } ] - }, { - "value" : [ "}" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "486", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "IncludedIn", - "signature" : [ { - "localId" : "487", - "type" : "ListTypeSpecifier", + "value" : [ "Tuple{" ] + }, { + "s" : [ { + "r" : "335", + "value" : [ "a", ":", "2" ] + } ] + }, { + "value" : [ ", " ] + }, { + "s" : [ { + "value" : [ "b", ":" ] + }, { + "r" : "336", + "s" : [ { + "value" : [ "'d'" ] + } ] + } ] + }, { + "value" : [ "}" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "343", + "s" : [ { + "value" : [ "Tuple{" ] + }, { + "s" : [ { + "r" : "344", + "value" : [ "a", ":", "2" ] + } ] + }, { + "value" : [ ", " ] + }, { + "s" : [ { + "value" : [ "b", ":" ] + }, { + "r" : "345", + "s" : [ { + "value" : [ "'c'" ] + } ] + } ] + }, { + "value" : [ "}" ] + } ] + }, { + "value" : [ "}" ] + } ] + }, { + "r" : "392", + "value" : [ " ", "included in", " " ] + }, { + "r" : "358", + "s" : [ { + "value" : [ "{" ] + }, { + "r" : "359", + "s" : [ { + "value" : [ "Tuple{" ] + }, { + "s" : [ { + "r" : "360", + "value" : [ "a", ":", "1" ] + } ] + }, { + "value" : [ ", " ] + }, { + "s" : [ { + "value" : [ "b", ":" ] + }, { + "r" : "361", + "s" : [ { + "value" : [ "'d'" ] + } ] + } ] + }, { + "value" : [ "}" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "368", + "s" : [ { + "value" : [ "Tuple{" ] + }, { + "s" : [ { + "r" : "369", + "value" : [ "a", ":", "2" ] + } ] + }, { + "value" : [ ", " ] + }, { + "s" : [ { + "value" : [ "b", ":" ] + }, { + "r" : "370", + "s" : [ { + "value" : [ "'d'" ] + } ] + } ] + }, { + "value" : [ "}" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "377", + "s" : [ { + "value" : [ "Tuple{" ] + }, { + "s" : [ { + "r" : "378", + "value" : [ "a", ":", "2" ] + } ] + }, { + "value" : [ ", " ] + }, { + "s" : [ { + "value" : [ "b", ":" ] + }, { + "r" : "379", + "s" : [ { + "value" : [ "'c'" ] + } ] + } ] + }, { + "value" : [ "}" ] + } ] + }, { + "value" : [ "}" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "IncludedIn", + "localId" : "392", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "ListTypeSpecifier", + "localId" : "393", + "annotation" : [ ], + "elementType" : { + "type" : "TupleTypeSpecifier", + "localId" : "394", + "annotation" : [ ], + "element" : [ { + "localId" : "395", + "name" : "a", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "396", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, { + "localId" : "397", + "name" : "b", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "398", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } + } ] + } + }, { + "type" : "ListTypeSpecifier", + "localId" : "399", + "annotation" : [ ], + "elementType" : { + "type" : "TupleTypeSpecifier", + "localId" : "400", + "annotation" : [ ], + "element" : [ { + "localId" : "401", + "name" : "a", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "402", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, { + "localId" : "403", + "name" : "b", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "404", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } + } ] + } + } ], + "operand" : [ { + "type" : "List", + "localId" : "333", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "352", + "annotation" : [ ], + "elementType" : { + "type" : "TupleTypeSpecifier", + "localId" : "353", + "annotation" : [ ], + "element" : [ { + "localId" : "354", + "name" : "a", + "annotation" : [ ], "elementType" : { - "localId" : "488", - "type" : "TupleTypeSpecifier", - "element" : [ { - "localId" : "489", - "name" : "a", - "elementType" : { - "localId" : "490", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "491", - "name" : "b", - "elementType" : { - "localId" : "492", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } - } ] + "type" : "NamedTypeSpecifier", + "localId" : "355", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] } - }, { - "localId" : "493", - "type" : "ListTypeSpecifier", + }, { + "localId" : "356", + "name" : "b", + "annotation" : [ ], "elementType" : { - "localId" : "494", - "type" : "TupleTypeSpecifier", - "element" : [ { - "localId" : "495", - "name" : "a", - "elementType" : { - "localId" : "496", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "497", - "name" : "b", - "elementType" : { - "localId" : "498", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } - } ] + "type" : "NamedTypeSpecifier", + "localId" : "357", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] } - } ], - "operand" : [ { - "localId" : "427", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "446", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "447", - "type" : "TupleTypeSpecifier", - "element" : [ { - "localId" : "448", - "name" : "a", - "elementType" : { - "localId" : "449", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "450", - "name" : "b", - "elementType" : { - "localId" : "451", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } - } ] - } - }, - "element" : [ { - "localId" : "428", - "type" : "Tuple", - "resultTypeSpecifier" : { - "localId" : "432", - "type" : "TupleTypeSpecifier", - "element" : [ { - "localId" : "433", - "name" : "a", - "elementType" : { - "localId" : "434", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "435", - "name" : "b", - "elementType" : { - "localId" : "436", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } - } ] - }, - "element" : [ { - "name" : "a", - "value" : { - "localId" : "429", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal" - } - }, { - "name" : "b", - "value" : { - "localId" : "430", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "d", - "type" : "Literal" - } - } ] - }, { - "localId" : "437", - "type" : "Tuple", - "resultTypeSpecifier" : { - "localId" : "441", - "type" : "TupleTypeSpecifier", - "element" : [ { - "localId" : "442", - "name" : "a", - "elementType" : { - "localId" : "443", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "444", - "name" : "b", - "elementType" : { - "localId" : "445", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } - } ] - }, - "element" : [ { - "name" : "a", - "value" : { - "localId" : "438", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - } - }, { - "name" : "b", - "value" : { - "localId" : "439", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "c", - "type" : "Literal" - } - } ] - } ] - }, { - "localId" : "452", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "480", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "481", - "type" : "TupleTypeSpecifier", - "element" : [ { - "localId" : "482", - "name" : "a", - "elementType" : { - "localId" : "483", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "484", - "name" : "b", - "elementType" : { - "localId" : "485", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } - } ] - } - }, - "element" : [ { - "localId" : "453", - "type" : "Tuple", - "resultTypeSpecifier" : { - "localId" : "457", - "type" : "TupleTypeSpecifier", - "element" : [ { - "localId" : "458", - "name" : "a", - "elementType" : { - "localId" : "459", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "460", - "name" : "b", - "elementType" : { - "localId" : "461", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } - } ] - }, - "element" : [ { - "name" : "a", - "value" : { - "localId" : "454", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - } - }, { - "name" : "b", - "value" : { - "localId" : "455", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "d", - "type" : "Literal" - } - } ] - }, { - "localId" : "462", - "type" : "Tuple", - "resultTypeSpecifier" : { - "localId" : "466", - "type" : "TupleTypeSpecifier", - "element" : [ { - "localId" : "467", - "name" : "a", - "elementType" : { - "localId" : "468", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "469", - "name" : "b", - "elementType" : { - "localId" : "470", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } - } ] - }, - "element" : [ { - "name" : "a", - "value" : { - "localId" : "463", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal" - } - }, { - "name" : "b", - "value" : { - "localId" : "464", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "d", - "type" : "Literal" - } - } ] - }, { - "localId" : "471", - "type" : "Tuple", - "resultTypeSpecifier" : { - "localId" : "475", - "type" : "TupleTypeSpecifier", - "element" : [ { - "localId" : "476", - "name" : "a", - "elementType" : { - "localId" : "477", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "478", - "name" : "b", - "elementType" : { - "localId" : "479", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } - } ] - }, - "element" : [ { - "name" : "a", - "value" : { - "localId" : "472", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal" - } - }, { - "name" : "b", - "value" : { - "localId" : "473", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "c", - "type" : "Literal" - } - } ] - } ] - } ] - } - }, { - "localId" : "520", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "NullIncludes", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "520", - "s" : [ { - "value" : [ "","define ","NullIncludes",": " ] - }, { - "r" : "538", - "s" : [ { - "r" : "521", - "s" : [ { - "r" : "522", - "value" : [ "{","1",", ","2",", ","3",", ","4",", ","5","}" ] - } ] - }, { - "r" : "538", - "value" : [ " ","included in"," ","null" ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "538", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "In", - "signature" : [ { - "localId" : "543", - "type" : "ListTypeSpecifier", + } ] + } + }, + "element" : [ { + "type" : "Tuple", + "localId" : "334", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "TupleTypeSpecifier", + "localId" : "338", + "annotation" : [ ], + "element" : [ { + "localId" : "339", + "name" : "a", + "annotation" : [ ], "elementType" : { - "localId" : "544", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" + "type" : "NamedTypeSpecifier", + "localId" : "340", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] } - }, { - "localId" : "545", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "546", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "547", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } + }, { + "localId" : "341", + "name" : "b", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "342", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } + } ] + }, + "element" : [ { + "name" : "a", + "value" : { + "type" : "Literal", + "localId" : "335", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "annotation" : [ ] + } + }, { + "name" : "b", + "value" : { + "type" : "Literal", + "localId" : "336", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "d", + "annotation" : [ ] + } + } ] + }, { + "type" : "Tuple", + "localId" : "343", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "TupleTypeSpecifier", + "localId" : "347", + "annotation" : [ ], + "element" : [ { + "localId" : "348", + "name" : "a", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "349", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] } - } ], - "operand" : [ { - "localId" : "521", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "527", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "528", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "element" : [ { - "localId" : "522", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, { - "localId" : "523", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal" - }, { - "localId" : "524", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, { - "localId" : "525", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "4", - "type" : "Literal" - }, { - "localId" : "526", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal" - } ] - }, { - "localId" : "539", - "type" : "As", - "signature" : [ ], - "operand" : { - "localId" : "529", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - }, - "asTypeSpecifier" : { - "localId" : "540", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "541", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "542", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } + }, { + "localId" : "350", + "name" : "b", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "351", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } + } ] + }, + "element" : [ { + "name" : "a", + "value" : { + "type" : "Literal", + "localId" : "344", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "annotation" : [ ] + } + }, { + "name" : "b", + "value" : { + "type" : "Literal", + "localId" : "345", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "c", + "annotation" : [ ] + } + } ] + } ] + }, { + "type" : "List", + "localId" : "358", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "386", + "annotation" : [ ], + "elementType" : { + "type" : "TupleTypeSpecifier", + "localId" : "387", + "annotation" : [ ], + "element" : [ { + "localId" : "388", + "name" : "a", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "389", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] } - } ] - } - }, { - "localId" : "550", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "NullIncluded", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "550", - "s" : [ { - "value" : [ "","define ","NullIncluded",": " ] - }, { - "r" : "568", - "s" : [ { - "r" : "551", - "value" : [ "null"," ","included in"," " ] - }, { - "r" : "552", - "s" : [ { - "r" : "553", - "value" : [ "{","1",", ","2",", ","3",", ","4",", ","5","}" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "568", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "In", - "signature" : [ { - "localId" : "570", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "571", - "type" : "ListTypeSpecifier", + }, { + "localId" : "390", + "name" : "b", + "annotation" : [ ], "elementType" : { - "localId" : "572", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" + "type" : "NamedTypeSpecifier", + "localId" : "391", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] } - } ], - "operand" : [ { - "localId" : "569", - "asType" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "As", - "signature" : [ ], - "operand" : { - "localId" : "551", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" + } ] + } + }, + "element" : [ { + "type" : "Tuple", + "localId" : "359", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "TupleTypeSpecifier", + "localId" : "363", + "annotation" : [ ], + "element" : [ { + "localId" : "364", + "name" : "a", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "365", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] } - }, { - "localId" : "552", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "558", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "559", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "element" : [ { - "localId" : "553", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, { - "localId" : "554", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal" - }, { - "localId" : "555", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, { - "localId" : "556", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "4", - "type" : "Literal" - }, { - "localId" : "557", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal" - } ] - } ] - } - }, { - "localId" : "575", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "DayIncluded", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "575", - "s" : [ { - "value" : [ "","define ","DayIncluded",": " ] - }, { - "r" : "633", - "s" : [ { - "r" : "584", - "s" : [ { - "r" : "576", - "value" : [ "DateTime","(","2012",", ","3",", ","3",")" ] - } ] - }, { - "r" : "633", - "value" : [ " ","included in"," " ] - }, { - "r" : "588", - "s" : [ { - "value" : [ "{" ] - }, { - "r" : "597", - "s" : [ { - "r" : "589", - "value" : [ "DateTime","(","2012",", ","3",", ","2",")" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "609", - "s" : [ { - "r" : "601", - "value" : [ "DateTime","(","2012",", ","3",", ","3",")" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "621", - "s" : [ { - "r" : "613", - "value" : [ "DateTime","(","2012",", ","3",", ","4",")" ] - } ] - }, { - "value" : [ "}" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "633", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "In", - "signature" : [ { - "localId" : "634", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "635", - "type" : "ListTypeSpecifier", + }, { + "localId" : "366", + "name" : "b", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "367", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } + } ] + }, + "element" : [ { + "name" : "a", + "value" : { + "type" : "Literal", + "localId" : "360", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + } + }, { + "name" : "b", + "value" : { + "type" : "Literal", + "localId" : "361", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "d", + "annotation" : [ ] + } + } ] + }, { + "type" : "Tuple", + "localId" : "368", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "TupleTypeSpecifier", + "localId" : "372", + "annotation" : [ ], + "element" : [ { + "localId" : "373", + "name" : "a", + "annotation" : [ ], "elementType" : { - "localId" : "636", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" + "type" : "NamedTypeSpecifier", + "localId" : "374", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] } - } ], - "operand" : [ { - "localId" : "584", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "585", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "586", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "587", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "576", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "577", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "578", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" + }, { + "localId" : "375", + "name" : "b", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "376", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } + } ] + }, + "element" : [ { + "name" : "a", + "value" : { + "type" : "Literal", + "localId" : "369", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "annotation" : [ ] + } + }, { + "name" : "b", + "value" : { + "type" : "Literal", + "localId" : "370", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "d", + "annotation" : [ ] + } + } ] + }, { + "type" : "Tuple", + "localId" : "377", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "TupleTypeSpecifier", + "localId" : "381", + "annotation" : [ ], + "element" : [ { + "localId" : "382", + "name" : "a", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "383", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] } - }, { - "localId" : "588", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "625", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "626", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "element" : [ { - "localId" : "597", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "598", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "599", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "600", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "589", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "590", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "591", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal" - } - }, { - "localId" : "609", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "610", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "611", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "612", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "601", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "602", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "603", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - } - }, { - "localId" : "621", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "622", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "623", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "624", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "613", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "614", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "615", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "4", - "type" : "Literal" - } - } ] - } ] - } - }, { - "localId" : "639", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "DayNotIncluded", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "639", - "s" : [ { - "value" : [ "","define ","DayNotIncluded",": " ] - }, { - "r" : "697", - "s" : [ { - "r" : "648", - "s" : [ { - "r" : "640", - "value" : [ "DateTime","(","2014",", ","3",", ","3",")" ] - } ] - }, { - "r" : "697", - "value" : [ " ","included in"," " ] - }, { - "r" : "652", - "s" : [ { - "value" : [ "{" ] - }, { - "r" : "661", - "s" : [ { - "r" : "653", - "value" : [ "DateTime","(","2012",", ","3",", ","2",")" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "673", - "s" : [ { - "r" : "665", - "value" : [ "DateTime","(","2012",", ","3",", ","3",")" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "685", - "s" : [ { - "r" : "677", - "value" : [ "DateTime","(","2012",", ","3",", ","4",")" ] - } ] - }, { - "value" : [ "}" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "697", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "In", - "signature" : [ { - "localId" : "698", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "699", - "type" : "ListTypeSpecifier", + }, { + "localId" : "384", + "name" : "b", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "385", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } + } ] + }, + "element" : [ { + "name" : "a", + "value" : { + "type" : "Literal", + "localId" : "378", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "annotation" : [ ] + } + }, { + "name" : "b", + "value" : { + "type" : "Literal", + "localId" : "379", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "c", + "annotation" : [ ] + } + } ] + } ] + } ] + } + }, { + "localId" : "426", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "TuplesNotIncluded", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "426", + "s" : [ { + "value" : [ "", "define ", "TuplesNotIncluded", ": " ] + }, { + "r" : "486", + "s" : [ { + "r" : "427", + "s" : [ { + "value" : [ "{" ] + }, { + "r" : "428", + "s" : [ { + "value" : [ "Tuple{" ] + }, { + "s" : [ { + "r" : "429", + "value" : [ "a", ":", "2" ] + } ] + }, { + "value" : [ ", " ] + }, { + "s" : [ { + "value" : [ "b", ":" ] + }, { + "r" : "430", + "s" : [ { + "value" : [ "'d'" ] + } ] + } ] + }, { + "value" : [ "}" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "437", + "s" : [ { + "value" : [ "Tuple{" ] + }, { + "s" : [ { + "r" : "438", + "value" : [ "a", ":", "3" ] + } ] + }, { + "value" : [ ", " ] + }, { + "s" : [ { + "value" : [ "b", ":" ] + }, { + "r" : "439", + "s" : [ { + "value" : [ "'c'" ] + } ] + } ] + }, { + "value" : [ "}" ] + } ] + }, { + "value" : [ "}" ] + } ] + }, { + "r" : "486", + "value" : [ " ", "included in", " " ] + }, { + "r" : "452", + "s" : [ { + "value" : [ "{" ] + }, { + "r" : "453", + "s" : [ { + "value" : [ "Tuple{" ] + }, { + "s" : [ { + "r" : "454", + "value" : [ "a", ":", "1" ] + } ] + }, { + "value" : [ ", " ] + }, { + "s" : [ { + "value" : [ "b", ":" ] + }, { + "r" : "455", + "s" : [ { + "value" : [ "'d'" ] + } ] + } ] + }, { + "value" : [ "}" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "462", + "s" : [ { + "value" : [ "Tuple{" ] + }, { + "s" : [ { + "r" : "463", + "value" : [ "a", ":", "2" ] + } ] + }, { + "value" : [ ", " ] + }, { + "s" : [ { + "value" : [ "b", ":" ] + }, { + "r" : "464", + "s" : [ { + "value" : [ "'d'" ] + } ] + } ] + }, { + "value" : [ "}" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "471", + "s" : [ { + "value" : [ "Tuple{" ] + }, { + "s" : [ { + "r" : "472", + "value" : [ "a", ":", "2" ] + } ] + }, { + "value" : [ ", " ] + }, { + "s" : [ { + "value" : [ "b", ":" ] + }, { + "r" : "473", + "s" : [ { + "value" : [ "'c'" ] + } ] + } ] + }, { + "value" : [ "}" ] + } ] + }, { + "value" : [ "}" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "IncludedIn", + "localId" : "486", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "ListTypeSpecifier", + "localId" : "487", + "annotation" : [ ], + "elementType" : { + "type" : "TupleTypeSpecifier", + "localId" : "488", + "annotation" : [ ], + "element" : [ { + "localId" : "489", + "name" : "a", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "490", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, { + "localId" : "491", + "name" : "b", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "492", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } + } ] + } + }, { + "type" : "ListTypeSpecifier", + "localId" : "493", + "annotation" : [ ], + "elementType" : { + "type" : "TupleTypeSpecifier", + "localId" : "494", + "annotation" : [ ], + "element" : [ { + "localId" : "495", + "name" : "a", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "496", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, { + "localId" : "497", + "name" : "b", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "498", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } + } ] + } + } ], + "operand" : [ { + "type" : "List", + "localId" : "427", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "446", + "annotation" : [ ], + "elementType" : { + "type" : "TupleTypeSpecifier", + "localId" : "447", + "annotation" : [ ], + "element" : [ { + "localId" : "448", + "name" : "a", + "annotation" : [ ], "elementType" : { - "localId" : "700", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" + "type" : "NamedTypeSpecifier", + "localId" : "449", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] } - } ], - "operand" : [ { - "localId" : "648", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "649", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "650", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "651", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "640", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2014", - "type" : "Literal" - }, - "month" : { - "localId" : "641", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "642", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" + }, { + "localId" : "450", + "name" : "b", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "451", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] } - }, { - "localId" : "652", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "689", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "690", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "element" : [ { - "localId" : "661", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "662", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "663", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "664", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "653", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "654", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "655", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal" - } - }, { - "localId" : "673", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "674", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "675", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "676", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "665", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "666", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "667", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - } - }, { - "localId" : "685", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "686", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "687", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "688", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "677", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "678", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, - "day" : { - "localId" : "679", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "4", - "type" : "Literal" - } - } ] - } ] - } - }, { - "localId" : "703", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "IntegerIncluded", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "703", - "s" : [ { - "value" : [ "","define ","IntegerIncluded",": " ] - }, { - "r" : "719", - "s" : [ { - "r" : "704", - "value" : [ "3"," ","included in"," " ] - }, { - "r" : "705", - "s" : [ { - "r" : "706", - "value" : [ "{","1",", ","2",", ","3",", ","4",", ","5","}" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "719", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "In", - "signature" : [ { - "localId" : "720", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "721", - "type" : "ListTypeSpecifier", + } ] + } + }, + "element" : [ { + "type" : "Tuple", + "localId" : "428", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "TupleTypeSpecifier", + "localId" : "432", + "annotation" : [ ], + "element" : [ { + "localId" : "433", + "name" : "a", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "434", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, { + "localId" : "435", + "name" : "b", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "436", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } + } ] + }, + "element" : [ { + "name" : "a", + "value" : { + "type" : "Literal", + "localId" : "429", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "annotation" : [ ] + } + }, { + "name" : "b", + "value" : { + "type" : "Literal", + "localId" : "430", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "d", + "annotation" : [ ] + } + } ] + }, { + "type" : "Tuple", + "localId" : "437", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "TupleTypeSpecifier", + "localId" : "441", + "annotation" : [ ], + "element" : [ { + "localId" : "442", + "name" : "a", + "annotation" : [ ], "elementType" : { - "localId" : "722", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" + "type" : "NamedTypeSpecifier", + "localId" : "443", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] } - } ], - "operand" : [ { - "localId" : "704", + }, { + "localId" : "444", + "name" : "b", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "445", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } + } ] + }, + "element" : [ { + "name" : "a", + "value" : { + "type" : "Literal", + "localId" : "438", "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", "valueType" : "{urn:hl7-org:elm-types:r1}Integer", "value" : "3", - "type" : "Literal" - }, { - "localId" : "705", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "711", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "712", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "element" : [ { - "localId" : "706", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, { - "localId" : "707", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal" - }, { - "localId" : "708", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, { - "localId" : "709", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "4", - "type" : "Literal" - }, { - "localId" : "710", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal" - } ] - } ] - } - }, { - "localId" : "725", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "IntegerNotIncluded", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "725", - "s" : [ { - "value" : [ "","define ","IntegerNotIncluded",": " ] - }, { - "r" : "741", - "s" : [ { - "r" : "726", - "value" : [ "33"," ","included in"," " ] - }, { - "r" : "727", - "s" : [ { - "r" : "728", - "value" : [ "{","1",", ","2",", ","3",", ","4",", ","5","}" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "741", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "In", - "signature" : [ { - "localId" : "742", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "743", - "type" : "ListTypeSpecifier", + "annotation" : [ ] + } + }, { + "name" : "b", + "value" : { + "type" : "Literal", + "localId" : "439", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "c", + "annotation" : [ ] + } + } ] + } ] + }, { + "type" : "List", + "localId" : "452", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "480", + "annotation" : [ ], + "elementType" : { + "type" : "TupleTypeSpecifier", + "localId" : "481", + "annotation" : [ ], + "element" : [ { + "localId" : "482", + "name" : "a", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "483", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, { + "localId" : "484", + "name" : "b", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "485", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } + } ] + } + }, + "element" : [ { + "type" : "Tuple", + "localId" : "453", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "TupleTypeSpecifier", + "localId" : "457", + "annotation" : [ ], + "element" : [ { + "localId" : "458", + "name" : "a", + "annotation" : [ ], "elementType" : { - "localId" : "744", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" + "type" : "NamedTypeSpecifier", + "localId" : "459", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] } - } ], - "operand" : [ { - "localId" : "726", + }, { + "localId" : "460", + "name" : "b", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "461", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } + } ] + }, + "element" : [ { + "name" : "a", + "value" : { + "type" : "Literal", + "localId" : "454", "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "33", - "type" : "Literal" - }, { - "localId" : "727", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "733", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "734", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "element" : [ { - "localId" : "728", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, { - "localId" : "729", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal" - }, { - "localId" : "730", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, { - "localId" : "731", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "4", - "type" : "Literal" - }, { - "localId" : "732", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal" - } ] - } ] - } - }, { - "localId" : "747", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "QuantityInList", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "747", - "s" : [ { - "value" : [ "","define ","QuantityInList",": " ] - }, { - "r" : "792", - "s" : [ { - "r" : "753", - "s" : [ { - "value" : [ "ToQuantity","(" ] - }, { - "r" : "748", - "s" : [ { - "value" : [ "'1 \\'m\\''" ] - } ] - }, { - "value" : [ ")" ] - } ] - }, { - "r" : "792", - "value" : [ " ","included in"," " ] - }, { - "r" : "755", - "s" : [ { - "value" : [ "{ " ] - }, { - "r" : "761", - "s" : [ { - "value" : [ "ToQuantity","(" ] - }, { - "r" : "756", - "s" : [ { - "value" : [ "'1 \\'m\\''" ] - } ] - }, { - "value" : [ ")" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "768", - "s" : [ { - "value" : [ "ToQuantity","(" ] - }, { - "r" : "763", - "s" : [ { - "value" : [ "'1.995 \\'m\\''" ] - } ] - }, { - "value" : [ ")" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "775", - "s" : [ { - "value" : [ "ToQuantity","(" ] - }, { - "r" : "770", - "s" : [ { - "value" : [ "'2 \\'m\\''" ] - } ] - }, { - "value" : [ ")" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "782", - "s" : [ { - "value" : [ "ToQuantity","(" ] - }, { - "r" : "777", - "s" : [ { - "value" : [ "'3 \\'m\\''" ] - } ] - }, { - "value" : [ ")" ] - } ] - }, { - "value" : [ "}" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "792", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "In", - "signature" : [ { - "localId" : "793", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "794", - "type" : "ListTypeSpecifier", + "value" : "1", + "annotation" : [ ] + } + }, { + "name" : "b", + "value" : { + "type" : "Literal", + "localId" : "455", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "d", + "annotation" : [ ] + } + } ] + }, { + "type" : "Tuple", + "localId" : "462", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "TupleTypeSpecifier", + "localId" : "466", + "annotation" : [ ], + "element" : [ { + "localId" : "467", + "name" : "a", + "annotation" : [ ], "elementType" : { - "localId" : "795", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" + "type" : "NamedTypeSpecifier", + "localId" : "468", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] } - } ], - "operand" : [ { - "localId" : "753", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "ToQuantity", - "signature" : [ { - "localId" : "754", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "748", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "1 'm'", - "type" : "Literal" + }, { + "localId" : "469", + "name" : "b", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "470", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } + } ] + }, + "element" : [ { + "name" : "a", + "value" : { + "type" : "Literal", + "localId" : "463", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "annotation" : [ ] + } + }, { + "name" : "b", + "value" : { + "type" : "Literal", + "localId" : "464", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "d", + "annotation" : [ ] + } + } ] + }, { + "type" : "Tuple", + "localId" : "471", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "TupleTypeSpecifier", + "localId" : "475", + "annotation" : [ ], + "element" : [ { + "localId" : "476", + "name" : "a", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "477", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] } - }, { - "localId" : "755", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "784", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "785", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } - }, - "element" : [ { - "localId" : "761", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "ToQuantity", - "signature" : [ { - "localId" : "762", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "756", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "1 'm'", - "type" : "Literal" - } - }, { - "localId" : "768", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "ToQuantity", - "signature" : [ { - "localId" : "769", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "763", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "1.995 'm'", - "type" : "Literal" - } - }, { - "localId" : "775", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "ToQuantity", - "signature" : [ { - "localId" : "776", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "770", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "2 'm'", - "type" : "Literal" - } - }, { - "localId" : "782", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "ToQuantity", - "signature" : [ { - "localId" : "783", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "777", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "3 'm'", - "type" : "Literal" - } - } ] - } ] - } - }, { - "localId" : "798", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "QuantityNotInList", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "798", - "s" : [ { - "value" : [ "","define ","QuantityNotInList",": " ] - }, { - "r" : "843", - "s" : [ { - "r" : "804", - "s" : [ { - "value" : [ "ToQuantity","(" ] - }, { - "r" : "799", - "s" : [ { - "value" : [ "'100 \\'m\\''" ] - } ] - }, { - "value" : [ ")" ] - } ] - }, { - "r" : "843", - "value" : [ " ","included in"," " ] - }, { - "r" : "806", - "s" : [ { - "value" : [ "{ " ] - }, { - "r" : "812", - "s" : [ { - "value" : [ "ToQuantity","(" ] - }, { - "r" : "807", - "s" : [ { - "value" : [ "'1 \\'m\\''" ] - } ] - }, { - "value" : [ ")" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "819", - "s" : [ { - "value" : [ "ToQuantity","(" ] - }, { - "r" : "814", - "s" : [ { - "value" : [ "'1.995 \\'m\\''" ] - } ] - }, { - "value" : [ ")" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "826", - "s" : [ { - "value" : [ "ToQuantity","(" ] - }, { - "r" : "821", - "s" : [ { - "value" : [ "'2 \\'m\\''" ] - } ] - }, { - "value" : [ ")" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "833", - "s" : [ { - "value" : [ "ToQuantity","(" ] - }, { - "r" : "828", - "s" : [ { - "value" : [ "'3 \\'m\\''" ] - } ] - }, { - "value" : [ ")" ] - } ] - }, { - "value" : [ "}" ] - } ] - } ] + }, { + "localId" : "478", + "name" : "b", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "479", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } + } ] + }, + "element" : [ { + "name" : "a", + "value" : { + "type" : "Literal", + "localId" : "472", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "annotation" : [ ] + } + }, { + "name" : "b", + "value" : { + "type" : "Literal", + "localId" : "473", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "c", + "annotation" : [ ] + } + } ] + } ] + } ] + } + }, { + "localId" : "520", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "NullIncludes", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "520", + "s" : [ { + "value" : [ "", "define ", "NullIncludes", ": " ] + }, { + "r" : "538", + "s" : [ { + "r" : "521", + "s" : [ { + "r" : "522", + "value" : [ "{", "1", ", ", "2", ", ", "3", ", ", "4", ", ", "5", "}" ] + } ] + }, { + "r" : "538", + "value" : [ " ", "included in", " ", "null" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "In", + "localId" : "538", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "ListTypeSpecifier", + "localId" : "543", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "544", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "545", + "annotation" : [ ], + "pointType" : { + "type" : "ListTypeSpecifier", + "localId" : "546", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "547", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } + } ], + "operand" : [ { + "type" : "List", + "localId" : "521", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "527", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "528", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "element" : [ { + "type" : "Literal", + "localId" : "522", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "523", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "524", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "525", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "4", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "526", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "5", + "annotation" : [ ] + } ] + }, { + "type" : "As", + "localId" : "539", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Null", + "localId" : "529", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + }, + "asTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "540", + "annotation" : [ ], + "pointType" : { + "type" : "ListTypeSpecifier", + "localId" : "541", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "542", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } + } + } ] + } + }, { + "localId" : "550", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "NullIncluded", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "550", + "s" : [ { + "value" : [ "", "define ", "NullIncluded", ": " ] + }, { + "r" : "568", + "s" : [ { + "r" : "551", + "value" : [ "null", " ", "included in", " " ] + }, { + "r" : "552", + "s" : [ { + "r" : "553", + "value" : [ "{", "1", ", ", "2", ", ", "3", ", ", "4", ", ", "5", "}" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "In", + "localId" : "568", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "570", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "ListTypeSpecifier", + "localId" : "571", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "572", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "As", + "localId" : "569", + "asType" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Null", + "localId" : "551", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } + }, { + "type" : "List", + "localId" : "552", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "558", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "559", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "element" : [ { + "type" : "Literal", + "localId" : "553", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "554", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "555", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "556", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "4", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "557", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "5", + "annotation" : [ ] + } ] + } ] + } + }, { + "localId" : "575", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "DayIncluded", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "575", + "s" : [ { + "value" : [ "", "define ", "DayIncluded", ": " ] + }, { + "r" : "633", + "s" : [ { + "r" : "584", + "s" : [ { + "r" : "576", + "value" : [ "DateTime", "(", "2012", ", ", "3", ", ", "3", ")" ] + } ] + }, { + "r" : "633", + "value" : [ " ", "included in", " " ] + }, { + "r" : "588", + "s" : [ { + "value" : [ "{" ] + }, { + "r" : "597", + "s" : [ { + "r" : "589", + "value" : [ "DateTime", "(", "2012", ", ", "3", ", ", "2", ")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "609", + "s" : [ { + "r" : "601", + "value" : [ "DateTime", "(", "2012", ", ", "3", ", ", "3", ")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "621", + "s" : [ { + "r" : "613", + "value" : [ "DateTime", "(", "2012", ", ", "3", ", ", "4", ")" ] + } ] + }, { + "value" : [ "}" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "In", + "localId" : "633", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "634", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + }, { + "type" : "ListTypeSpecifier", + "localId" : "635", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "636", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "DateTime", + "localId" : "584", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "585", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "586", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "587", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "576", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "577", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "578", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + } + }, { + "type" : "List", + "localId" : "588", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "625", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "626", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "element" : [ { + "type" : "DateTime", + "localId" : "597", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "598", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "599", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "600", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "589", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "590", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "591", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "annotation" : [ ] + } + }, { + "type" : "DateTime", + "localId" : "609", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "610", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "611", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "612", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "601", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "602", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "603", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + } + }, { + "type" : "DateTime", + "localId" : "621", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "622", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "623", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "624", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "613", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "614", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "615", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "4", + "annotation" : [ ] + } + } ] + } ] + } + }, { + "localId" : "639", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "DayNotIncluded", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "639", + "s" : [ { + "value" : [ "", "define ", "DayNotIncluded", ": " ] + }, { + "r" : "697", + "s" : [ { + "r" : "648", + "s" : [ { + "r" : "640", + "value" : [ "DateTime", "(", "2014", ", ", "3", ", ", "3", ")" ] + } ] + }, { + "r" : "697", + "value" : [ " ", "included in", " " ] + }, { + "r" : "652", + "s" : [ { + "value" : [ "{" ] + }, { + "r" : "661", + "s" : [ { + "r" : "653", + "value" : [ "DateTime", "(", "2012", ", ", "3", ", ", "2", ")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "673", + "s" : [ { + "r" : "665", + "value" : [ "DateTime", "(", "2012", ", ", "3", ", ", "3", ")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "685", + "s" : [ { + "r" : "677", + "value" : [ "DateTime", "(", "2012", ", ", "3", ", ", "4", ")" ] + } ] + }, { + "value" : [ "}" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "In", + "localId" : "697", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "698", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + }, { + "type" : "ListTypeSpecifier", + "localId" : "699", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "700", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "DateTime", + "localId" : "648", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "649", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "650", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "651", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "640", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2014", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "641", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "642", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + } + }, { + "type" : "List", + "localId" : "652", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "689", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "690", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "element" : [ { + "type" : "DateTime", + "localId" : "661", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "662", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "663", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "664", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "653", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "654", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "655", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "annotation" : [ ] + } + }, { + "type" : "DateTime", + "localId" : "673", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "674", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "675", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "676", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "665", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "666", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "667", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + } + }, { + "type" : "DateTime", + "localId" : "685", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "686", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "687", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "688", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "677", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "678", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "679", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "4", + "annotation" : [ ] + } + } ] + } ] + } + }, { + "localId" : "703", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "IntegerIncluded", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "703", + "s" : [ { + "value" : [ "", "define ", "IntegerIncluded", ": " ] + }, { + "r" : "719", + "s" : [ { + "r" : "704", + "value" : [ "3", " ", "included in", " " ] + }, { + "r" : "705", + "s" : [ { + "r" : "706", + "value" : [ "{", "1", ", ", "2", ", ", "3", ", ", "4", ", ", "5", "}" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "In", + "localId" : "719", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "720", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "ListTypeSpecifier", + "localId" : "721", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "722", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "Literal", + "localId" : "704", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, { + "type" : "List", + "localId" : "705", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "711", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "712", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "element" : [ { + "type" : "Literal", + "localId" : "706", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "707", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "708", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "709", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "4", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "710", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "5", + "annotation" : [ ] + } ] + } ] + } + }, { + "localId" : "725", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "IntegerNotIncluded", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "725", + "s" : [ { + "value" : [ "", "define ", "IntegerNotIncluded", ": " ] + }, { + "r" : "741", + "s" : [ { + "r" : "726", + "value" : [ "33", " ", "included in", " " ] + }, { + "r" : "727", + "s" : [ { + "r" : "728", + "value" : [ "{", "1", ", ", "2", ", ", "3", ", ", "4", ", ", "5", "}" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "In", + "localId" : "741", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "742", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "ListTypeSpecifier", + "localId" : "743", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "744", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "Literal", + "localId" : "726", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "33", + "annotation" : [ ] + }, { + "type" : "List", + "localId" : "727", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "733", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "734", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "element" : [ { + "type" : "Literal", + "localId" : "728", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "729", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "730", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "731", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "4", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "732", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "5", + "annotation" : [ ] + } ] + } ] + } + }, { + "localId" : "747", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "QuantityInList", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "747", + "s" : [ { + "value" : [ "", "define ", "QuantityInList", ": " ] + }, { + "r" : "792", + "s" : [ { + "r" : "753", + "s" : [ { + "value" : [ "ToQuantity", "(" ] + }, { + "r" : "748", + "s" : [ { + "value" : [ "'1 \\'m\\''" ] + } ] + }, { + "value" : [ ")" ] + } ] + }, { + "r" : "792", + "value" : [ " ", "included in", " " ] + }, { + "r" : "755", + "s" : [ { + "value" : [ "{ " ] + }, { + "r" : "761", + "s" : [ { + "value" : [ "ToQuantity", "(" ] + }, { + "r" : "756", + "s" : [ { + "value" : [ "'1 \\'m\\''" ] + } ] + }, { + "value" : [ ")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "768", + "s" : [ { + "value" : [ "ToQuantity", "(" ] + }, { + "r" : "763", + "s" : [ { + "value" : [ "'1.995 \\'m\\''" ] + } ] + }, { + "value" : [ ")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "775", + "s" : [ { + "value" : [ "ToQuantity", "(" ] + }, { + "r" : "770", + "s" : [ { + "value" : [ "'2 \\'m\\''" ] + } ] + }, { + "value" : [ ")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "782", + "s" : [ { + "value" : [ "ToQuantity", "(" ] + }, { + "r" : "777", + "s" : [ { + "value" : [ "'3 \\'m\\''" ] + } ] + }, { + "value" : [ ")" ] + } ] + }, { + "value" : [ "}" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "In", + "localId" : "792", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "793", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + }, { + "type" : "ListTypeSpecifier", + "localId" : "794", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "795", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "ToQuantity", + "localId" : "753", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "754", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } ], + "operand" : { + "type" : "Literal", + "localId" : "748", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "1 'm'", + "annotation" : [ ] + } + }, { + "type" : "List", + "localId" : "755", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "784", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "785", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } + }, + "element" : [ { + "type" : "ToQuantity", + "localId" : "761", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "762", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } ], + "operand" : { + "type" : "Literal", + "localId" : "756", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "1 'm'", + "annotation" : [ ] + } + }, { + "type" : "ToQuantity", + "localId" : "768", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "769", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } ], + "operand" : { + "type" : "Literal", + "localId" : "763", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "1.995 'm'", + "annotation" : [ ] + } + }, { + "type" : "ToQuantity", + "localId" : "775", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "776", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } ], + "operand" : { + "type" : "Literal", + "localId" : "770", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "2 'm'", + "annotation" : [ ] + } + }, { + "type" : "ToQuantity", + "localId" : "782", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "783", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } ], + "operand" : { + "type" : "Literal", + "localId" : "777", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "3 'm'", + "annotation" : [ ] + } + } ] + } ] + } + }, { + "localId" : "798", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "QuantityNotInList", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "798", + "s" : [ { + "value" : [ "", "define ", "QuantityNotInList", ": " ] + }, { + "r" : "843", + "s" : [ { + "r" : "804", + "s" : [ { + "value" : [ "ToQuantity", "(" ] + }, { + "r" : "799", + "s" : [ { + "value" : [ "'100 \\'m\\''" ] + } ] + }, { + "value" : [ ")" ] + } ] + }, { + "r" : "843", + "value" : [ " ", "included in", " " ] + }, { + "r" : "806", + "s" : [ { + "value" : [ "{ " ] + }, { + "r" : "812", + "s" : [ { + "value" : [ "ToQuantity", "(" ] + }, { + "r" : "807", + "s" : [ { + "value" : [ "'1 \\'m\\''" ] + } ] + }, { + "value" : [ ")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "819", + "s" : [ { + "value" : [ "ToQuantity", "(" ] + }, { + "r" : "814", + "s" : [ { + "value" : [ "'1.995 \\'m\\''" ] + } ] + }, { + "value" : [ ")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "826", + "s" : [ { + "value" : [ "ToQuantity", "(" ] + }, { + "r" : "821", + "s" : [ { + "value" : [ "'2 \\'m\\''" ] + } ] + }, { + "value" : [ ")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "833", + "s" : [ { + "value" : [ "ToQuantity", "(" ] + }, { + "r" : "828", + "s" : [ { + "value" : [ "'3 \\'m\\''" ] + } ] + }, { + "value" : [ ")" ] } ] - } + }, { + "value" : [ "}" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "In", + "localId" : "843", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "844", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + }, { + "type" : "ListTypeSpecifier", + "localId" : "845", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "846", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "ToQuantity", + "localId" : "804", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "805", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] } ], - "expression" : { - "localId" : "843", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "In", - "signature" : [ { - "localId" : "844", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "845", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "846", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "804", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "ToQuantity", - "signature" : [ { - "localId" : "805", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "799", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "100 'm'", - "type" : "Literal" - } - }, { - "localId" : "806", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "835", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "836", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } - }, - "element" : [ { - "localId" : "812", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "ToQuantity", - "signature" : [ { - "localId" : "813", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "807", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "1 'm'", - "type" : "Literal" - } - }, { - "localId" : "819", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "ToQuantity", - "signature" : [ { - "localId" : "820", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "814", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "1.995 'm'", - "type" : "Literal" - } - }, { - "localId" : "826", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "ToQuantity", - "signature" : [ { - "localId" : "827", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "821", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "2 'm'", - "type" : "Literal" - } - }, { - "localId" : "833", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "ToQuantity", - "signature" : [ { - "localId" : "834", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "828", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "3 'm'", - "type" : "Literal" - } - } ] - } ] - } - } ] - } - } + "operand" : { + "type" : "Literal", + "localId" : "799", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "100 'm'", + "annotation" : [ ] + } + }, { + "type" : "List", + "localId" : "806", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "835", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "836", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } + }, + "element" : [ { + "type" : "ToQuantity", + "localId" : "812", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "813", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } ], + "operand" : { + "type" : "Literal", + "localId" : "807", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "1 'm'", + "annotation" : [ ] + } + }, { + "type" : "ToQuantity", + "localId" : "819", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "820", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } ], + "operand" : { + "type" : "Literal", + "localId" : "814", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "1.995 'm'", + "annotation" : [ ] + } + }, { + "type" : "ToQuantity", + "localId" : "826", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "827", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } ], + "operand" : { + "type" : "Literal", + "localId" : "821", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "2 'm'", + "annotation" : [ ] + } + }, { + "type" : "ToQuantity", + "localId" : "833", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "834", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } ], + "operand" : { + "type" : "Literal", + "localId" : "828", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "3 'm'", + "annotation" : [ ] + } + } ] + } ] + } + } ] + } + } } /* ProperIncludes @@ -21229,1879 +24104,2140 @@ define NullIncludes: null properly includes {1, 2, 3, 4, 5} */ module.exports['ProperIncludes'] = { - "library" : { - "localId" : "0", - "annotation" : [ { - "translatorVersion" : "3.27.0", - "translatorOptions" : "EnableDateRangeOptimization,EnableAnnotations,EnableResultTypes", - "signatureLevel" : "All", - "type" : "CqlToElmInfo" - }, { - "libraryId" : "TestSnippet", - "libraryVersion" : "1", - "startLine" : 4, - "startChar" : 54, - "endLine" : 4, - "endChar" : 65, - "message" : "List-valued expression was demoted to a singleton.", - "errorType" : "semantic", - "errorSeverity" : "warning", - "type" : "CqlToElmError" + "library" : { + "localId" : "0", + "annotation" : [ { + "type" : "CqlToElmInfo", + "translatorVersion" : "4.2.0", + "translatorOptions" : "EnableDateRangeOptimization,EnableAnnotations,EnableResultTypes", + "signatureLevel" : "All" + }, { + "type" : "CqlToElmError", + "libraryId" : "TestSnippet", + "libraryVersion" : "1", + "startLine" : 4, + "startChar" : 54, + "endLine" : 4, + "endChar" : 65, + "message" : "List-valued expression was demoted to a singleton.", + "errorType" : "semantic", + "errorSeverity" : "warning" + }, { + "type" : "CqlToElmError", + "libraryId" : "TestSnippet", + "libraryVersion" : "1", + "startLine" : 5, + "startChar" : 62, + "endLine" : 5, + "endChar" : 73, + "message" : "List-valued expression was demoted to a singleton.", + "errorType" : "semantic", + "errorSeverity" : "warning" + }, { + "type" : "CqlToElmError", + "libraryId" : "TestSnippet", + "libraryVersion" : "1", + "startLine" : 6, + "startChar" : 50, + "endLine" : 6, + "endChar" : 64, + "message" : "List-valued expression was demoted to a singleton.", + "errorType" : "semantic", + "errorSeverity" : "warning" + }, { + "type" : "CqlToElmError", + "libraryId" : "TestSnippet", + "libraryVersion" : "1", + "startLine" : 7, + "startChar" : 57, + "endLine" : 7, + "endChar" : 68, + "message" : "List-valued expression was demoted to a singleton.", + "errorType" : "semantic", + "errorSeverity" : "warning" + }, { + "type" : "CqlToElmError", + "libraryId" : "TestSnippet", + "libraryVersion" : "1", + "startLine" : 8, + "startChar" : 100, + "endLine" : 8, + "endChar" : 137, + "message" : "List-valued expression was demoted to a singleton.", + "errorType" : "semantic", + "errorSeverity" : "warning" + }, { + "type" : "CqlToElmError", + "libraryId" : "TestSnippet", + "libraryVersion" : "1", + "startLine" : 9, + "startChar" : 103, + "endLine" : 9, + "endChar" : 140, + "message" : "List-valued expression was demoted to a singleton.", + "errorType" : "semantic", + "errorSeverity" : "warning" + }, { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "548", + "s" : [ { + "value" : [ "", "library TestSnippet version '1'" ] + } ] + } + } ], + "identifier" : { + "id" : "TestSnippet", + "version" : "1" + }, + "schemaIdentifier" : { + "id" : "urn:hl7-org:elm", + "version" : "r1" + }, + "usings" : { + "def" : [ { + "localId" : "1", + "localIdentifier" : "System", + "uri" : "urn:hl7-org:elm-types:r1", + "annotation" : [ ] }, { - "libraryId" : "TestSnippet", - "libraryVersion" : "1", - "startLine" : 5, - "startChar" : 62, - "endLine" : 5, - "endChar" : 73, - "message" : "List-valued expression was demoted to a singleton.", - "errorType" : "semantic", - "errorSeverity" : "warning", - "type" : "CqlToElmError" + "localId" : "206", + "localIdentifier" : "Simple", + "uri" : "https://github.com/cqframework/cql-execution/simple", + "version" : "1.0.0", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "206", + "s" : [ { + "value" : [ "", "using " ] + }, { + "s" : [ { + "value" : [ "Simple" ] + } ] + }, { + "value" : [ " version '1.0.0'" ] + } ] + } + } ] + } ] + }, + "contexts" : { + "def" : [ { + "localId" : "211", + "name" : "Patient", + "annotation" : [ ] + } ] + }, + "statements" : { + "def" : [ { + "localId" : "209", + "name" : "Patient", + "context" : "Patient", + "annotation" : [ ], + "expression" : { + "type" : "SingletonFrom", + "localId" : "210", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Retrieve", + "localId" : "208", + "dataType" : "{https://github.com/cqframework/cql-execution/simple}Patient", + "annotation" : [ ], + "include" : [ ], + "codeFilter" : [ ], + "dateFilter" : [ ], + "otherFilter" : [ ] + } + } }, { - "libraryId" : "TestSnippet", - "libraryVersion" : "1", - "startLine" : 6, - "startChar" : 50, - "endLine" : 6, - "endChar" : 64, - "message" : "List-valued expression was demoted to a singleton.", - "errorType" : "semantic", - "errorSeverity" : "warning", - "type" : "CqlToElmError" + "localId" : "214", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "IsIncluded", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "214", + "s" : [ { + "value" : [ "", "define ", "IsIncluded", ": " ] + }, { + "r" : "230", + "s" : [ { + "r" : "215", + "s" : [ { + "r" : "216", + "value" : [ "{", "1", ", ", "2", ", ", "3", ", ", "4", ", ", "5", "}" ] + } ] + }, { + "r" : "230", + "value" : [ " ", "properly includes", " " ] + }, { + "r" : "223", + "s" : [ { + "r" : "224", + "value" : [ "{", "2", ", ", "3", ", ", "4", ", ", "5", "}" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "ProperIncludes", + "localId" : "230", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "ListTypeSpecifier", + "localId" : "231", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "232", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, { + "type" : "ListTypeSpecifier", + "localId" : "233", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "234", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "List", + "localId" : "215", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "221", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "222", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "element" : [ { + "type" : "Literal", + "localId" : "216", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "217", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "218", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "219", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "4", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "220", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "5", + "annotation" : [ ] + } ] + }, { + "type" : "List", + "localId" : "223", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "228", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "229", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "element" : [ { + "type" : "Literal", + "localId" : "224", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "225", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "226", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "4", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "227", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "5", + "annotation" : [ ] + } ] + } ] + } }, { - "libraryId" : "TestSnippet", - "libraryVersion" : "1", - "startLine" : 7, - "startChar" : 57, - "endLine" : 7, - "endChar" : 68, - "message" : "List-valued expression was demoted to a singleton.", - "errorType" : "semantic", - "errorSeverity" : "warning", - "type" : "CqlToElmError" + "localId" : "244", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "IsIncludedReversed", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "244", + "s" : [ { + "value" : [ "", "define ", "IsIncludedReversed", ": " ] + }, { + "r" : "260", + "s" : [ { + "r" : "245", + "s" : [ { + "r" : "246", + "value" : [ "{", "1", ", ", "2", ", ", "3", ", ", "4", ", ", "5", "}" ] + } ] + }, { + "r" : "260", + "value" : [ " ", "properly includes", " " ] + }, { + "r" : "253", + "s" : [ { + "r" : "254", + "value" : [ "{", "5", ", ", "4", ", ", "3", ", ", "2", "}" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "ProperIncludes", + "localId" : "260", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "ListTypeSpecifier", + "localId" : "261", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "262", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, { + "type" : "ListTypeSpecifier", + "localId" : "263", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "264", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "List", + "localId" : "245", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "251", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "252", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "element" : [ { + "type" : "Literal", + "localId" : "246", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "247", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "248", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "249", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "4", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "250", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "5", + "annotation" : [ ] + } ] + }, { + "type" : "List", + "localId" : "253", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "258", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "259", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "element" : [ { + "type" : "Literal", + "localId" : "254", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "5", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "255", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "4", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "256", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "257", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "annotation" : [ ] + } ] + } ] + } }, { - "libraryId" : "TestSnippet", - "libraryVersion" : "1", - "startLine" : 8, - "startChar" : 100, - "endLine" : 8, - "endChar" : 137, - "message" : "List-valued expression was demoted to a singleton.", - "errorType" : "semantic", - "errorSeverity" : "warning", - "type" : "CqlToElmError" + "localId" : "274", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "IsSame", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "274", + "s" : [ { + "value" : [ "", "define ", "IsSame", ": " ] + }, { + "r" : "291", + "s" : [ { + "r" : "275", + "s" : [ { + "r" : "276", + "value" : [ "{", "1", ", ", "2", ", ", "3", ", ", "4", ", ", "5", "}" ] + } ] + }, { + "r" : "291", + "value" : [ " ", "properly includes", " " ] + }, { + "r" : "283", + "s" : [ { + "r" : "284", + "value" : [ "{", "1", ", ", "2", ", ", "3", ", ", "4", ", ", "5", "}" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "ProperIncludes", + "localId" : "291", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "ListTypeSpecifier", + "localId" : "292", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "293", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, { + "type" : "ListTypeSpecifier", + "localId" : "294", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "295", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "List", + "localId" : "275", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "281", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "282", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "element" : [ { + "type" : "Literal", + "localId" : "276", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "277", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "278", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "279", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "4", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "280", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "5", + "annotation" : [ ] + } ] + }, { + "type" : "List", + "localId" : "283", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "289", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "290", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "element" : [ { + "type" : "Literal", + "localId" : "284", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "285", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "286", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "287", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "4", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "288", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "5", + "annotation" : [ ] + } ] + } ] + } }, { - "libraryId" : "TestSnippet", - "libraryVersion" : "1", - "startLine" : 9, - "startChar" : 103, - "endLine" : 9, - "endChar" : 140, - "message" : "List-valued expression was demoted to a singleton.", - "errorType" : "semantic", - "errorSeverity" : "warning", - "type" : "CqlToElmError" + "localId" : "305", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "IsNotIncluded", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "305", + "s" : [ { + "value" : [ "", "define ", "IsNotIncluded", ": " ] + }, { + "r" : "321", + "s" : [ { + "r" : "306", + "s" : [ { + "r" : "307", + "value" : [ "{", "1", ", ", "2", ", ", "3", ", ", "4", ", ", "5", "}" ] + } ] + }, { + "r" : "321", + "value" : [ " ", "properly includes", " " ] + }, { + "r" : "314", + "s" : [ { + "r" : "315", + "value" : [ "{", "3", ", ", "4", ", ", "5", ", ", "6", "}" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "ProperIncludes", + "localId" : "321", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "ListTypeSpecifier", + "localId" : "322", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "323", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, { + "type" : "ListTypeSpecifier", + "localId" : "324", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "325", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "List", + "localId" : "306", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "312", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "313", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "element" : [ { + "type" : "Literal", + "localId" : "307", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "308", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "309", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "310", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "4", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "311", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "5", + "annotation" : [ ] + } ] + }, { + "type" : "List", + "localId" : "314", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "319", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "320", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "element" : [ { + "type" : "Literal", + "localId" : "315", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "316", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "4", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "317", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "5", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "318", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "6", + "annotation" : [ ] + } ] + } ] + } }, { - "type" : "Annotation", - "s" : { - "r" : "548", + "localId" : "335", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "TuplesIncluded", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "335", "s" : [ { - "value" : [ "","library TestSnippet version '1'" ] - } ] - } - } ], - "identifier" : { - "id" : "TestSnippet", - "version" : "1" - }, - "schemaIdentifier" : { - "id" : "urn:hl7-org:elm", - "version" : "r1" - }, - "usings" : { - "def" : [ { - "localId" : "1", - "localIdentifier" : "System", - "uri" : "urn:hl7-org:elm-types:r1" - }, { - "localId" : "206", - "localIdentifier" : "Simple", - "uri" : "https://github.com/cqframework/cql-execution/simple", - "version" : "1.0.0", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "206", - "s" : [ { - "value" : [ "","using " ] - }, { - "s" : [ { - "value" : [ "Simple" ] - } ] - }, { - "value" : [ " version '1.0.0'" ] - } ] - } - } ] - } ] - }, - "contexts" : { - "def" : [ { - "localId" : "211", - "name" : "Patient" - } ] - }, - "statements" : { - "def" : [ { - "localId" : "209", - "name" : "Patient", - "context" : "Patient", - "expression" : { - "localId" : "210", - "type" : "SingletonFrom", - "signature" : [ ], - "operand" : { - "localId" : "208", - "dataType" : "{https://github.com/cqframework/cql-execution/simple}Patient", - "type" : "Retrieve", - "include" : [ ], - "codeFilter" : [ ], - "dateFilter" : [ ], - "otherFilter" : [ ] - } - } - }, { - "localId" : "214", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "IsIncluded", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "214", - "s" : [ { - "value" : [ "","define ","IsIncluded",": " ] - }, { - "r" : "230", - "s" : [ { - "r" : "215", - "s" : [ { - "r" : "216", - "value" : [ "{","1",", ","2",", ","3",", ","4",", ","5","}" ] - } ] - }, { - "r" : "230", - "value" : [ " ","properly includes"," " ] - }, { - "r" : "223", - "s" : [ { - "r" : "224", - "value" : [ "{","2",", ","3",", ","4",", ","5","}" ] - } ] - } ] + "value" : [ "", "define ", "TuplesIncluded", ": " ] + }, { + "r" : "395", + "s" : [ { + "r" : "336", + "s" : [ { + "value" : [ "{" ] + }, { + "r" : "337", + "s" : [ { + "value" : [ "Tuple{" ] + }, { + "s" : [ { + "r" : "338", + "value" : [ "a", ":", "1" ] + } ] + }, { + "value" : [ ", " ] + }, { + "s" : [ { + "value" : [ "b", ":" ] + }, { + "r" : "339", + "s" : [ { + "value" : [ "'d'" ] + } ] + } ] + }, { + "value" : [ "}" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "346", + "s" : [ { + "value" : [ "Tuple{" ] + }, { + "s" : [ { + "r" : "347", + "value" : [ "a", ":", "2" ] + } ] + }, { + "value" : [ ", " ] + }, { + "s" : [ { + "value" : [ "b", ":" ] + }, { + "r" : "348", + "s" : [ { + "value" : [ "'d'" ] + } ] + } ] + }, { + "value" : [ "}" ] } ] - } - } ], - "expression" : { - "localId" : "230", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "ProperIncludes", - "signature" : [ { - "localId" : "231", - "type" : "ListTypeSpecifier", + }, { + "value" : [ ", " ] + }, { + "r" : "355", + "s" : [ { + "value" : [ "Tuple{" ] + }, { + "s" : [ { + "r" : "356", + "value" : [ "a", ":", "2" ] + } ] + }, { + "value" : [ ", " ] + }, { + "s" : [ { + "value" : [ "b", ":" ] + }, { + "r" : "357", + "s" : [ { + "value" : [ "'c'" ] + } ] + } ] + }, { + "value" : [ "}" ] + } ] + }, { + "value" : [ "}" ] + } ] + }, { + "r" : "395", + "value" : [ " ", "properly includes", " " ] + }, { + "r" : "370", + "s" : [ { + "value" : [ "{" ] + }, { + "r" : "371", + "s" : [ { + "value" : [ "Tuple{" ] + }, { + "s" : [ { + "r" : "372", + "value" : [ "a", ":", "2" ] + } ] + }, { + "value" : [ ", " ] + }, { + "s" : [ { + "value" : [ "b", ":" ] + }, { + "r" : "373", + "s" : [ { + "value" : [ "'d'" ] + } ] + } ] + }, { + "value" : [ "}" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "380", + "s" : [ { + "value" : [ "Tuple{" ] + }, { + "s" : [ { + "r" : "381", + "value" : [ "a", ":", "2" ] + } ] + }, { + "value" : [ ", " ] + }, { + "s" : [ { + "value" : [ "b", ":" ] + }, { + "r" : "382", + "s" : [ { + "value" : [ "'c'" ] + } ] + } ] + }, { + "value" : [ "}" ] + } ] + }, { + "value" : [ "}" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "ProperIncludes", + "localId" : "395", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "ListTypeSpecifier", + "localId" : "396", + "annotation" : [ ], + "elementType" : { + "type" : "TupleTypeSpecifier", + "localId" : "397", + "annotation" : [ ], + "element" : [ { + "localId" : "398", + "name" : "a", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "399", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, { + "localId" : "400", + "name" : "b", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "401", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } + } ] + } + }, { + "type" : "ListTypeSpecifier", + "localId" : "402", + "annotation" : [ ], + "elementType" : { + "type" : "TupleTypeSpecifier", + "localId" : "403", + "annotation" : [ ], + "element" : [ { + "localId" : "404", + "name" : "a", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "405", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, { + "localId" : "406", + "name" : "b", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "407", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } + } ] + } + } ], + "operand" : [ { + "type" : "List", + "localId" : "336", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "364", + "annotation" : [ ], + "elementType" : { + "type" : "TupleTypeSpecifier", + "localId" : "365", + "annotation" : [ ], + "element" : [ { + "localId" : "366", + "name" : "a", + "annotation" : [ ], "elementType" : { - "localId" : "232", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" + "type" : "NamedTypeSpecifier", + "localId" : "367", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] } - }, { - "localId" : "233", - "type" : "ListTypeSpecifier", + }, { + "localId" : "368", + "name" : "b", + "annotation" : [ ], "elementType" : { - "localId" : "234", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" + "type" : "NamedTypeSpecifier", + "localId" : "369", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] } - } ], - "operand" : [ { - "localId" : "215", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "221", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "222", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "element" : [ { - "localId" : "216", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, { - "localId" : "217", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal" - }, { - "localId" : "218", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, { - "localId" : "219", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "4", - "type" : "Literal" - }, { - "localId" : "220", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal" - } ] - }, { - "localId" : "223", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "228", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "229", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "element" : [ { - "localId" : "224", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal" - }, { - "localId" : "225", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, { - "localId" : "226", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "4", - "type" : "Literal" - }, { - "localId" : "227", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal" - } ] - } ] - } - }, { - "localId" : "244", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "IsIncludedReversed", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "244", - "s" : [ { - "value" : [ "","define ","IsIncludedReversed",": " ] - }, { - "r" : "260", - "s" : [ { - "r" : "245", - "s" : [ { - "r" : "246", - "value" : [ "{","1",", ","2",", ","3",", ","4",", ","5","}" ] - } ] - }, { - "r" : "260", - "value" : [ " ","properly includes"," " ] - }, { - "r" : "253", - "s" : [ { - "r" : "254", - "value" : [ "{","5",", ","4",", ","3",", ","2","}" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "260", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "ProperIncludes", - "signature" : [ { - "localId" : "261", - "type" : "ListTypeSpecifier", + } ] + } + }, + "element" : [ { + "type" : "Tuple", + "localId" : "337", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "TupleTypeSpecifier", + "localId" : "341", + "annotation" : [ ], + "element" : [ { + "localId" : "342", + "name" : "a", + "annotation" : [ ], "elementType" : { - "localId" : "262", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" + "type" : "NamedTypeSpecifier", + "localId" : "343", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] } - }, { - "localId" : "263", - "type" : "ListTypeSpecifier", + }, { + "localId" : "344", + "name" : "b", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "345", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } + } ] + }, + "element" : [ { + "name" : "a", + "value" : { + "type" : "Literal", + "localId" : "338", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + } + }, { + "name" : "b", + "value" : { + "type" : "Literal", + "localId" : "339", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "d", + "annotation" : [ ] + } + } ] + }, { + "type" : "Tuple", + "localId" : "346", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "TupleTypeSpecifier", + "localId" : "350", + "annotation" : [ ], + "element" : [ { + "localId" : "351", + "name" : "a", + "annotation" : [ ], "elementType" : { - "localId" : "264", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" + "type" : "NamedTypeSpecifier", + "localId" : "352", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] } - } ], - "operand" : [ { - "localId" : "245", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "251", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "252", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "element" : [ { - "localId" : "246", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, { - "localId" : "247", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal" - }, { - "localId" : "248", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, { - "localId" : "249", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "4", - "type" : "Literal" - }, { - "localId" : "250", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal" - } ] - }, { - "localId" : "253", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "258", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "259", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "element" : [ { - "localId" : "254", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal" - }, { - "localId" : "255", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "4", - "type" : "Literal" - }, { - "localId" : "256", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, { - "localId" : "257", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal" - } ] - } ] - } - }, { - "localId" : "274", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "IsSame", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "274", + }, { + "localId" : "353", + "name" : "b", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "354", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } + } ] + }, + "element" : [ { + "name" : "a", + "value" : { + "type" : "Literal", + "localId" : "347", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "annotation" : [ ] + } + }, { + "name" : "b", + "value" : { + "type" : "Literal", + "localId" : "348", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "d", + "annotation" : [ ] + } + } ] + }, { + "type" : "Tuple", + "localId" : "355", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "TupleTypeSpecifier", + "localId" : "359", + "annotation" : [ ], + "element" : [ { + "localId" : "360", + "name" : "a", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "361", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, { + "localId" : "362", + "name" : "b", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "363", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } + } ] + }, + "element" : [ { + "name" : "a", + "value" : { + "type" : "Literal", + "localId" : "356", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "annotation" : [ ] + } + }, { + "name" : "b", + "value" : { + "type" : "Literal", + "localId" : "357", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "c", + "annotation" : [ ] + } + } ] + } ] + }, { + "type" : "List", + "localId" : "370", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "389", + "annotation" : [ ], + "elementType" : { + "type" : "TupleTypeSpecifier", + "localId" : "390", + "annotation" : [ ], + "element" : [ { + "localId" : "391", + "name" : "a", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "392", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, { + "localId" : "393", + "name" : "b", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "394", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } + } ] + } + }, + "element" : [ { + "type" : "Tuple", + "localId" : "371", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "TupleTypeSpecifier", + "localId" : "375", + "annotation" : [ ], + "element" : [ { + "localId" : "376", + "name" : "a", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "377", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, { + "localId" : "378", + "name" : "b", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "379", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } + } ] + }, + "element" : [ { + "name" : "a", + "value" : { + "type" : "Literal", + "localId" : "372", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "annotation" : [ ] + } + }, { + "name" : "b", + "value" : { + "type" : "Literal", + "localId" : "373", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "d", + "annotation" : [ ] + } + } ] + }, { + "type" : "Tuple", + "localId" : "380", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "TupleTypeSpecifier", + "localId" : "384", + "annotation" : [ ], + "element" : [ { + "localId" : "385", + "name" : "a", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "386", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, { + "localId" : "387", + "name" : "b", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "388", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } + } ] + }, + "element" : [ { + "name" : "a", + "value" : { + "type" : "Literal", + "localId" : "381", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "annotation" : [ ] + } + }, { + "name" : "b", + "value" : { + "type" : "Literal", + "localId" : "382", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "c", + "annotation" : [ ] + } + } ] + } ] + } ] + } + }, { + "localId" : "429", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "TuplesNotIncluded", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "429", + "s" : [ { + "value" : [ "", "define ", "TuplesNotIncluded", ": " ] + }, { + "r" : "489", + "s" : [ { + "r" : "430", + "s" : [ { + "value" : [ "{" ] + }, { + "r" : "431", "s" : [ { - "value" : [ "","define ","IsSame",": " ] + "value" : [ "Tuple{" ] + }, { + "s" : [ { + "r" : "432", + "value" : [ "a", ":", "1" ] + } ] + }, { + "value" : [ ", " ] + }, { + "s" : [ { + "value" : [ "b", ":" ] + }, { + "r" : "433", + "s" : [ { + "value" : [ "'d'" ] + } ] + } ] + }, { + "value" : [ "}" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "440", + "s" : [ { + "value" : [ "Tuple{" ] }, { - "r" : "291", - "s" : [ { - "r" : "275", - "s" : [ { - "r" : "276", - "value" : [ "{","1",", ","2",", ","3",", ","4",", ","5","}" ] - } ] - }, { - "r" : "291", - "value" : [ " ","properly includes"," " ] - }, { - "r" : "283", - "s" : [ { - "r" : "284", - "value" : [ "{","1",", ","2",", ","3",", ","4",", ","5","}" ] - } ] - } ] + "s" : [ { + "r" : "441", + "value" : [ "a", ":", "2" ] + } ] + }, { + "value" : [ ", " ] + }, { + "s" : [ { + "value" : [ "b", ":" ] + }, { + "r" : "442", + "s" : [ { + "value" : [ "'d'" ] + } ] + } ] + }, { + "value" : [ "}" ] } ] - } - } ], - "expression" : { - "localId" : "291", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "ProperIncludes", - "signature" : [ { - "localId" : "292", - "type" : "ListTypeSpecifier", + }, { + "value" : [ ", " ] + }, { + "r" : "449", + "s" : [ { + "value" : [ "Tuple{" ] + }, { + "s" : [ { + "r" : "450", + "value" : [ "a", ":", "2" ] + } ] + }, { + "value" : [ ", " ] + }, { + "s" : [ { + "value" : [ "b", ":" ] + }, { + "r" : "451", + "s" : [ { + "value" : [ "'c'" ] + } ] + } ] + }, { + "value" : [ "}" ] + } ] + }, { + "value" : [ "}" ] + } ] + }, { + "r" : "489", + "value" : [ " ", "properly includes", " " ] + }, { + "r" : "464", + "s" : [ { + "value" : [ "{" ] + }, { + "r" : "465", + "s" : [ { + "value" : [ "Tuple{" ] + }, { + "s" : [ { + "r" : "466", + "value" : [ "a", ":", "2" ] + } ] + }, { + "value" : [ ", " ] + }, { + "s" : [ { + "value" : [ "b", ":" ] + }, { + "r" : "467", + "s" : [ { + "value" : [ "'d'" ] + } ] + } ] + }, { + "value" : [ "}" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "474", + "s" : [ { + "value" : [ "Tuple{" ] + }, { + "s" : [ { + "r" : "475", + "value" : [ "a", ":", "3" ] + } ] + }, { + "value" : [ ", " ] + }, { + "s" : [ { + "value" : [ "b", ":" ] + }, { + "r" : "476", + "s" : [ { + "value" : [ "'c'" ] + } ] + } ] + }, { + "value" : [ "}" ] + } ] + }, { + "value" : [ "}" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "ProperIncludes", + "localId" : "489", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "ListTypeSpecifier", + "localId" : "490", + "annotation" : [ ], + "elementType" : { + "type" : "TupleTypeSpecifier", + "localId" : "491", + "annotation" : [ ], + "element" : [ { + "localId" : "492", + "name" : "a", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "493", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, { + "localId" : "494", + "name" : "b", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "495", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } + } ] + } + }, { + "type" : "ListTypeSpecifier", + "localId" : "496", + "annotation" : [ ], + "elementType" : { + "type" : "TupleTypeSpecifier", + "localId" : "497", + "annotation" : [ ], + "element" : [ { + "localId" : "498", + "name" : "a", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "499", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, { + "localId" : "500", + "name" : "b", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "501", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } + } ] + } + } ], + "operand" : [ { + "type" : "List", + "localId" : "430", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "458", + "annotation" : [ ], + "elementType" : { + "type" : "TupleTypeSpecifier", + "localId" : "459", + "annotation" : [ ], + "element" : [ { + "localId" : "460", + "name" : "a", + "annotation" : [ ], "elementType" : { - "localId" : "293", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" + "type" : "NamedTypeSpecifier", + "localId" : "461", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] } - }, { - "localId" : "294", - "type" : "ListTypeSpecifier", + }, { + "localId" : "462", + "name" : "b", + "annotation" : [ ], "elementType" : { - "localId" : "295", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" + "type" : "NamedTypeSpecifier", + "localId" : "463", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] } - } ], - "operand" : [ { - "localId" : "275", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "281", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "282", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "element" : [ { - "localId" : "276", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, { - "localId" : "277", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal" - }, { - "localId" : "278", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, { - "localId" : "279", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "4", - "type" : "Literal" - }, { - "localId" : "280", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal" - } ] - }, { - "localId" : "283", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "289", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "290", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "element" : [ { - "localId" : "284", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, { - "localId" : "285", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal" - }, { - "localId" : "286", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, { - "localId" : "287", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "4", - "type" : "Literal" - }, { - "localId" : "288", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal" - } ] - } ] - } - }, { - "localId" : "305", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "IsNotIncluded", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "305", - "s" : [ { - "value" : [ "","define ","IsNotIncluded",": " ] - }, { - "r" : "321", - "s" : [ { - "r" : "306", - "s" : [ { - "r" : "307", - "value" : [ "{","1",", ","2",", ","3",", ","4",", ","5","}" ] - } ] - }, { - "r" : "321", - "value" : [ " ","properly includes"," " ] - }, { - "r" : "314", - "s" : [ { - "r" : "315", - "value" : [ "{","3",", ","4",", ","5",", ","6","}" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "321", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "ProperIncludes", - "signature" : [ { - "localId" : "322", - "type" : "ListTypeSpecifier", + } ] + } + }, + "element" : [ { + "type" : "Tuple", + "localId" : "431", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "TupleTypeSpecifier", + "localId" : "435", + "annotation" : [ ], + "element" : [ { + "localId" : "436", + "name" : "a", + "annotation" : [ ], "elementType" : { - "localId" : "323", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" + "type" : "NamedTypeSpecifier", + "localId" : "437", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] } - }, { - "localId" : "324", - "type" : "ListTypeSpecifier", + }, { + "localId" : "438", + "name" : "b", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "439", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } + } ] + }, + "element" : [ { + "name" : "a", + "value" : { + "type" : "Literal", + "localId" : "432", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + } + }, { + "name" : "b", + "value" : { + "type" : "Literal", + "localId" : "433", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "d", + "annotation" : [ ] + } + } ] + }, { + "type" : "Tuple", + "localId" : "440", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "TupleTypeSpecifier", + "localId" : "444", + "annotation" : [ ], + "element" : [ { + "localId" : "445", + "name" : "a", + "annotation" : [ ], "elementType" : { - "localId" : "325", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" + "type" : "NamedTypeSpecifier", + "localId" : "446", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] } - } ], - "operand" : [ { - "localId" : "306", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "312", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "313", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "element" : [ { - "localId" : "307", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, { - "localId" : "308", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal" - }, { - "localId" : "309", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, { - "localId" : "310", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "4", - "type" : "Literal" - }, { - "localId" : "311", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal" - } ] - }, { - "localId" : "314", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "319", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "320", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "element" : [ { - "localId" : "315", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, { - "localId" : "316", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "4", - "type" : "Literal" - }, { - "localId" : "317", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal" - }, { - "localId" : "318", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "6", - "type" : "Literal" - } ] - } ] - } - }, { - "localId" : "335", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "TuplesIncluded", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "335", - "s" : [ { - "value" : [ "","define ","TuplesIncluded",": " ] - }, { - "r" : "395", - "s" : [ { - "r" : "336", - "s" : [ { - "value" : [ "{" ] - }, { - "r" : "337", - "s" : [ { - "value" : [ "Tuple{" ] - }, { - "s" : [ { - "r" : "338", - "value" : [ "a",":","1" ] - } ] - }, { - "value" : [ ", " ] - }, { - "s" : [ { - "value" : [ "b",":" ] - }, { - "r" : "339", - "s" : [ { - "value" : [ "'d'" ] - } ] - } ] - }, { - "value" : [ "}" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "346", - "s" : [ { - "value" : [ "Tuple{" ] - }, { - "s" : [ { - "r" : "347", - "value" : [ "a",":","2" ] - } ] - }, { - "value" : [ ", " ] - }, { - "s" : [ { - "value" : [ "b",":" ] - }, { - "r" : "348", - "s" : [ { - "value" : [ "'d'" ] - } ] - } ] - }, { - "value" : [ "}" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "355", - "s" : [ { - "value" : [ "Tuple{" ] - }, { - "s" : [ { - "r" : "356", - "value" : [ "a",":","2" ] - } ] - }, { - "value" : [ ", " ] - }, { - "s" : [ { - "value" : [ "b",":" ] - }, { - "r" : "357", - "s" : [ { - "value" : [ "'c'" ] - } ] - } ] - }, { - "value" : [ "}" ] - } ] - }, { - "value" : [ "}" ] - } ] - }, { - "r" : "395", - "value" : [ " ","properly includes"," " ] - }, { - "r" : "370", - "s" : [ { - "value" : [ "{" ] - }, { - "r" : "371", - "s" : [ { - "value" : [ "Tuple{" ] - }, { - "s" : [ { - "r" : "372", - "value" : [ "a",":","2" ] - } ] - }, { - "value" : [ ", " ] - }, { - "s" : [ { - "value" : [ "b",":" ] - }, { - "r" : "373", - "s" : [ { - "value" : [ "'d'" ] - } ] - } ] - }, { - "value" : [ "}" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "380", - "s" : [ { - "value" : [ "Tuple{" ] - }, { - "s" : [ { - "r" : "381", - "value" : [ "a",":","2" ] - } ] - }, { - "value" : [ ", " ] - }, { - "s" : [ { - "value" : [ "b",":" ] - }, { - "r" : "382", - "s" : [ { - "value" : [ "'c'" ] - } ] - } ] - }, { - "value" : [ "}" ] - } ] - }, { - "value" : [ "}" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "395", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "ProperIncludes", - "signature" : [ { - "localId" : "396", - "type" : "ListTypeSpecifier", + }, { + "localId" : "447", + "name" : "b", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "448", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } + } ] + }, + "element" : [ { + "name" : "a", + "value" : { + "type" : "Literal", + "localId" : "441", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "annotation" : [ ] + } + }, { + "name" : "b", + "value" : { + "type" : "Literal", + "localId" : "442", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "d", + "annotation" : [ ] + } + } ] + }, { + "type" : "Tuple", + "localId" : "449", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "TupleTypeSpecifier", + "localId" : "453", + "annotation" : [ ], + "element" : [ { + "localId" : "454", + "name" : "a", + "annotation" : [ ], "elementType" : { - "localId" : "397", - "type" : "TupleTypeSpecifier", - "element" : [ { - "localId" : "398", - "name" : "a", - "elementType" : { - "localId" : "399", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "400", - "name" : "b", - "elementType" : { - "localId" : "401", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } - } ] + "type" : "NamedTypeSpecifier", + "localId" : "455", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] } - }, { - "localId" : "402", - "type" : "ListTypeSpecifier", + }, { + "localId" : "456", + "name" : "b", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "457", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } + } ] + }, + "element" : [ { + "name" : "a", + "value" : { + "type" : "Literal", + "localId" : "450", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "annotation" : [ ] + } + }, { + "name" : "b", + "value" : { + "type" : "Literal", + "localId" : "451", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "c", + "annotation" : [ ] + } + } ] + } ] + }, { + "type" : "List", + "localId" : "464", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "483", + "annotation" : [ ], + "elementType" : { + "type" : "TupleTypeSpecifier", + "localId" : "484", + "annotation" : [ ], + "element" : [ { + "localId" : "485", + "name" : "a", + "annotation" : [ ], "elementType" : { - "localId" : "403", - "type" : "TupleTypeSpecifier", - "element" : [ { - "localId" : "404", - "name" : "a", - "elementType" : { - "localId" : "405", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "406", - "name" : "b", - "elementType" : { - "localId" : "407", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } - } ] + "type" : "NamedTypeSpecifier", + "localId" : "486", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] } - } ], - "operand" : [ { - "localId" : "336", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "364", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "365", - "type" : "TupleTypeSpecifier", - "element" : [ { - "localId" : "366", - "name" : "a", - "elementType" : { - "localId" : "367", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "368", - "name" : "b", - "elementType" : { - "localId" : "369", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } - } ] - } - }, - "element" : [ { - "localId" : "337", - "type" : "Tuple", - "resultTypeSpecifier" : { - "localId" : "341", - "type" : "TupleTypeSpecifier", - "element" : [ { - "localId" : "342", - "name" : "a", - "elementType" : { - "localId" : "343", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "344", - "name" : "b", - "elementType" : { - "localId" : "345", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } - } ] - }, - "element" : [ { - "name" : "a", - "value" : { - "localId" : "338", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - } - }, { - "name" : "b", - "value" : { - "localId" : "339", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "d", - "type" : "Literal" - } - } ] - }, { - "localId" : "346", - "type" : "Tuple", - "resultTypeSpecifier" : { - "localId" : "350", - "type" : "TupleTypeSpecifier", - "element" : [ { - "localId" : "351", - "name" : "a", - "elementType" : { - "localId" : "352", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "353", - "name" : "b", - "elementType" : { - "localId" : "354", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } - } ] - }, - "element" : [ { - "name" : "a", - "value" : { - "localId" : "347", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal" - } - }, { - "name" : "b", - "value" : { - "localId" : "348", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "d", - "type" : "Literal" - } - } ] - }, { - "localId" : "355", - "type" : "Tuple", - "resultTypeSpecifier" : { - "localId" : "359", - "type" : "TupleTypeSpecifier", - "element" : [ { - "localId" : "360", - "name" : "a", - "elementType" : { - "localId" : "361", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "362", - "name" : "b", - "elementType" : { - "localId" : "363", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } - } ] - }, - "element" : [ { - "name" : "a", - "value" : { - "localId" : "356", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal" - } - }, { - "name" : "b", - "value" : { - "localId" : "357", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "c", - "type" : "Literal" - } - } ] - } ] - }, { - "localId" : "370", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "389", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "390", - "type" : "TupleTypeSpecifier", - "element" : [ { - "localId" : "391", - "name" : "a", - "elementType" : { - "localId" : "392", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "393", - "name" : "b", - "elementType" : { - "localId" : "394", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } - } ] - } - }, - "element" : [ { - "localId" : "371", - "type" : "Tuple", - "resultTypeSpecifier" : { - "localId" : "375", - "type" : "TupleTypeSpecifier", - "element" : [ { - "localId" : "376", - "name" : "a", - "elementType" : { - "localId" : "377", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "378", - "name" : "b", - "elementType" : { - "localId" : "379", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } - } ] - }, - "element" : [ { - "name" : "a", - "value" : { - "localId" : "372", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal" - } - }, { - "name" : "b", - "value" : { - "localId" : "373", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "d", - "type" : "Literal" - } - } ] - }, { - "localId" : "380", - "type" : "Tuple", - "resultTypeSpecifier" : { - "localId" : "384", - "type" : "TupleTypeSpecifier", - "element" : [ { - "localId" : "385", - "name" : "a", - "elementType" : { - "localId" : "386", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "387", - "name" : "b", - "elementType" : { - "localId" : "388", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } - } ] - }, - "element" : [ { - "name" : "a", - "value" : { - "localId" : "381", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal" - } - }, { - "name" : "b", - "value" : { - "localId" : "382", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "c", - "type" : "Literal" - } - } ] - } ] - } ] - } - }, { - "localId" : "429", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "TuplesNotIncluded", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "429", - "s" : [ { - "value" : [ "","define ","TuplesNotIncluded",": " ] - }, { - "r" : "489", - "s" : [ { - "r" : "430", - "s" : [ { - "value" : [ "{" ] - }, { - "r" : "431", - "s" : [ { - "value" : [ "Tuple{" ] - }, { - "s" : [ { - "r" : "432", - "value" : [ "a",":","1" ] - } ] - }, { - "value" : [ ", " ] - }, { - "s" : [ { - "value" : [ "b",":" ] - }, { - "r" : "433", - "s" : [ { - "value" : [ "'d'" ] - } ] - } ] - }, { - "value" : [ "}" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "440", - "s" : [ { - "value" : [ "Tuple{" ] - }, { - "s" : [ { - "r" : "441", - "value" : [ "a",":","2" ] - } ] - }, { - "value" : [ ", " ] - }, { - "s" : [ { - "value" : [ "b",":" ] - }, { - "r" : "442", - "s" : [ { - "value" : [ "'d'" ] - } ] - } ] - }, { - "value" : [ "}" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "449", - "s" : [ { - "value" : [ "Tuple{" ] - }, { - "s" : [ { - "r" : "450", - "value" : [ "a",":","2" ] - } ] - }, { - "value" : [ ", " ] - }, { - "s" : [ { - "value" : [ "b",":" ] - }, { - "r" : "451", - "s" : [ { - "value" : [ "'c'" ] - } ] - } ] - }, { - "value" : [ "}" ] - } ] - }, { - "value" : [ "}" ] - } ] - }, { - "r" : "489", - "value" : [ " ","properly includes"," " ] - }, { - "r" : "464", - "s" : [ { - "value" : [ "{" ] - }, { - "r" : "465", - "s" : [ { - "value" : [ "Tuple{" ] - }, { - "s" : [ { - "r" : "466", - "value" : [ "a",":","2" ] - } ] - }, { - "value" : [ ", " ] - }, { - "s" : [ { - "value" : [ "b",":" ] - }, { - "r" : "467", - "s" : [ { - "value" : [ "'d'" ] - } ] - } ] - }, { - "value" : [ "}" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "474", - "s" : [ { - "value" : [ "Tuple{" ] - }, { - "s" : [ { - "r" : "475", - "value" : [ "a",":","3" ] - } ] - }, { - "value" : [ ", " ] - }, { - "s" : [ { - "value" : [ "b",":" ] - }, { - "r" : "476", - "s" : [ { - "value" : [ "'c'" ] - } ] - } ] - }, { - "value" : [ "}" ] - } ] - }, { - "value" : [ "}" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "489", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "ProperIncludes", - "signature" : [ { - "localId" : "490", - "type" : "ListTypeSpecifier", + }, { + "localId" : "487", + "name" : "b", + "annotation" : [ ], "elementType" : { - "localId" : "491", - "type" : "TupleTypeSpecifier", - "element" : [ { - "localId" : "492", - "name" : "a", - "elementType" : { - "localId" : "493", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "494", - "name" : "b", - "elementType" : { - "localId" : "495", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } - } ] + "type" : "NamedTypeSpecifier", + "localId" : "488", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] } - }, { - "localId" : "496", - "type" : "ListTypeSpecifier", + } ] + } + }, + "element" : [ { + "type" : "Tuple", + "localId" : "465", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "TupleTypeSpecifier", + "localId" : "469", + "annotation" : [ ], + "element" : [ { + "localId" : "470", + "name" : "a", + "annotation" : [ ], "elementType" : { - "localId" : "497", - "type" : "TupleTypeSpecifier", - "element" : [ { - "localId" : "498", - "name" : "a", - "elementType" : { - "localId" : "499", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "500", - "name" : "b", - "elementType" : { - "localId" : "501", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } - } ] + "type" : "NamedTypeSpecifier", + "localId" : "471", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] } - } ], - "operand" : [ { - "localId" : "430", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "458", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "459", - "type" : "TupleTypeSpecifier", - "element" : [ { - "localId" : "460", - "name" : "a", - "elementType" : { - "localId" : "461", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "462", - "name" : "b", - "elementType" : { - "localId" : "463", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } - } ] - } - }, - "element" : [ { - "localId" : "431", - "type" : "Tuple", - "resultTypeSpecifier" : { - "localId" : "435", - "type" : "TupleTypeSpecifier", - "element" : [ { - "localId" : "436", - "name" : "a", - "elementType" : { - "localId" : "437", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "438", - "name" : "b", - "elementType" : { - "localId" : "439", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } - } ] - }, - "element" : [ { - "name" : "a", - "value" : { - "localId" : "432", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - } - }, { - "name" : "b", - "value" : { - "localId" : "433", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "d", - "type" : "Literal" - } - } ] - }, { - "localId" : "440", - "type" : "Tuple", - "resultTypeSpecifier" : { - "localId" : "444", - "type" : "TupleTypeSpecifier", - "element" : [ { - "localId" : "445", - "name" : "a", - "elementType" : { - "localId" : "446", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "447", - "name" : "b", - "elementType" : { - "localId" : "448", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } - } ] - }, - "element" : [ { - "name" : "a", - "value" : { - "localId" : "441", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal" - } - }, { - "name" : "b", - "value" : { - "localId" : "442", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "d", - "type" : "Literal" - } - } ] - }, { - "localId" : "449", - "type" : "Tuple", - "resultTypeSpecifier" : { - "localId" : "453", - "type" : "TupleTypeSpecifier", - "element" : [ { - "localId" : "454", - "name" : "a", - "elementType" : { - "localId" : "455", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "456", - "name" : "b", - "elementType" : { - "localId" : "457", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } - } ] - }, - "element" : [ { - "name" : "a", - "value" : { - "localId" : "450", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal" - } - }, { - "name" : "b", - "value" : { - "localId" : "451", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "c", - "type" : "Literal" - } - } ] - } ] - }, { - "localId" : "464", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "483", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "484", - "type" : "TupleTypeSpecifier", - "element" : [ { - "localId" : "485", - "name" : "a", - "elementType" : { - "localId" : "486", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "487", - "name" : "b", - "elementType" : { - "localId" : "488", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } - } ] - } - }, - "element" : [ { - "localId" : "465", - "type" : "Tuple", - "resultTypeSpecifier" : { - "localId" : "469", - "type" : "TupleTypeSpecifier", - "element" : [ { - "localId" : "470", - "name" : "a", - "elementType" : { - "localId" : "471", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "472", - "name" : "b", - "elementType" : { - "localId" : "473", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } - } ] - }, - "element" : [ { - "name" : "a", - "value" : { - "localId" : "466", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal" - } - }, { - "name" : "b", - "value" : { - "localId" : "467", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "d", - "type" : "Literal" - } - } ] - }, { - "localId" : "474", - "type" : "Tuple", - "resultTypeSpecifier" : { - "localId" : "478", - "type" : "TupleTypeSpecifier", - "element" : [ { - "localId" : "479", - "name" : "a", - "elementType" : { - "localId" : "480", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "481", - "name" : "b", - "elementType" : { - "localId" : "482", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } - } ] - }, - "element" : [ { - "name" : "a", - "value" : { - "localId" : "475", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - } - }, { - "name" : "b", - "value" : { - "localId" : "476", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "c", - "type" : "Literal" - } - } ] - } ] - } ] - } - }, { - "localId" : "523", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "NullIncluded", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "523", - "s" : [ { - "value" : [ "","define ","NullIncluded",": " ] - }, { - "r" : "541", - "s" : [ { - "r" : "524", - "s" : [ { - "r" : "525", - "value" : [ "{","1",", ","2",", ","3",", ","4",", ","5","}" ] - } ] - }, { - "r" : "541", - "value" : [ " ","properly includes"," ","null" ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "541", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "ProperContains", - "signature" : [ { - "localId" : "543", - "type" : "ListTypeSpecifier", + }, { + "localId" : "472", + "name" : "b", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "473", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } + } ] + }, + "element" : [ { + "name" : "a", + "value" : { + "type" : "Literal", + "localId" : "466", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "annotation" : [ ] + } + }, { + "name" : "b", + "value" : { + "type" : "Literal", + "localId" : "467", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "d", + "annotation" : [ ] + } + } ] + }, { + "type" : "Tuple", + "localId" : "474", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "TupleTypeSpecifier", + "localId" : "478", + "annotation" : [ ], + "element" : [ { + "localId" : "479", + "name" : "a", + "annotation" : [ ], "elementType" : { - "localId" : "544", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "545", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "524", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "530", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "531", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "element" : [ { - "localId" : "525", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, { - "localId" : "526", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal" - }, { - "localId" : "527", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, { - "localId" : "528", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "4", - "type" : "Literal" - }, { - "localId" : "529", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal" - } ] - }, { - "localId" : "542", - "asType" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "As", - "signature" : [ ], - "operand" : { - "localId" : "532", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" + "type" : "NamedTypeSpecifier", + "localId" : "480", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] } - } ] + }, { + "localId" : "481", + "name" : "b", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "482", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } + } ] + }, + "element" : [ { + "name" : "a", + "value" : { + "type" : "Literal", + "localId" : "475", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + } + }, { + "name" : "b", + "value" : { + "type" : "Literal", + "localId" : "476", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "c", + "annotation" : [ ] + } + } ] + } ] + } ] + } + }, { + "localId" : "523", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "NullIncluded", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "523", + "s" : [ { + "value" : [ "", "define ", "NullIncluded", ": " ] + }, { + "r" : "541", + "s" : [ { + "r" : "524", + "s" : [ { + "r" : "525", + "value" : [ "{", "1", ", ", "2", ", ", "3", ", ", "4", ", ", "5", "}" ] + } ] + }, { + "r" : "541", + "value" : [ " ", "properly includes", " ", "null" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "ProperContains", + "localId" : "541", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "ListTypeSpecifier", + "localId" : "543", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "544", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, { + "type" : "NamedTypeSpecifier", + "localId" : "545", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "List", + "localId" : "524", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "530", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "531", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "element" : [ { + "type" : "Literal", + "localId" : "525", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "526", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "527", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "528", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "4", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "529", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "5", + "annotation" : [ ] + } ] + }, { + "type" : "As", + "localId" : "542", + "asType" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Null", + "localId" : "532", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } + } ] + } + }, { + "localId" : "548", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "NullIncludes", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "548", + "s" : [ { + "value" : [ "", "define ", "NullIncludes", ": " ] + }, { + "r" : "558", + "s" : [ { + "r" : "549", + "value" : [ "null", " ", "properly includes", " " ] + }, { + "r" : "550", + "s" : [ { + "r" : "551", + "value" : [ "{", "1", ", ", "2", ", ", "3", ", ", "4", ", ", "5", "}" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "ProperIncludes", + "localId" : "558", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "ListTypeSpecifier", + "localId" : "562", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "563", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, { + "type" : "ListTypeSpecifier", + "localId" : "564", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "565", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "As", + "localId" : "559", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Null", + "localId" : "549", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + }, + "asTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "560", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "561", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } } - }, { - "localId" : "548", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "NullIncludes", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "548", - "s" : [ { - "value" : [ "","define ","NullIncludes",": " ] - }, { - "r" : "558", - "s" : [ { - "r" : "549", - "value" : [ "null"," ","properly includes"," " ] - }, { - "r" : "550", - "s" : [ { - "r" : "551", - "value" : [ "{","1",", ","2",", ","3",", ","4",", ","5","}" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "558", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "ProperIncludes", - "signature" : [ { - "localId" : "562", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "563", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "564", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "565", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "559", - "type" : "As", - "signature" : [ ], - "operand" : { - "localId" : "549", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - }, - "asTypeSpecifier" : { - "localId" : "560", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "561", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } - }, { - "localId" : "550", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "556", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "557", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "element" : [ { - "localId" : "551", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, { - "localId" : "552", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal" - }, { - "localId" : "553", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, { - "localId" : "554", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "4", - "type" : "Literal" - }, { - "localId" : "555", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal" - } ] - } ] - } - } ] - } - } + }, { + "type" : "List", + "localId" : "550", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "556", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "557", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "element" : [ { + "type" : "Literal", + "localId" : "551", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "552", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "553", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "554", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "4", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "555", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "5", + "annotation" : [ ] + } ] + } ] + } + } ] + } + } } /* ProperIncludedIn @@ -23119,1978 +26255,2247 @@ define NullIncluded: (null as List) properly included in {1, 2, 3, 4, 5 */ module.exports['ProperIncludedIn'] = { - "library" : { - "localId" : "0", - "annotation" : [ { - "translatorVersion" : "3.27.0", - "translatorOptions" : "EnableDateRangeOptimization,EnableAnnotations,EnableResultTypes", - "signatureLevel" : "All", - "type" : "CqlToElmInfo" - }, { - "libraryId" : "TestSnippet", - "libraryVersion" : "1", - "startLine" : 4, - "startChar" : 20, - "endLine" : 4, - "endChar" : 28, - "message" : "List-valued expression was demoted to a singleton.", - "errorType" : "semantic", - "errorSeverity" : "warning", - "type" : "CqlToElmError" - }, { - "libraryId" : "TestSnippet", - "libraryVersion" : "1", - "startLine" : 5, - "startChar" : 28, - "endLine" : 5, - "endChar" : 36, - "message" : "List-valued expression was demoted to a singleton.", - "errorType" : "semantic", - "errorSeverity" : "warning", - "type" : "CqlToElmError" - }, { - "libraryId" : "TestSnippet", - "libraryVersion" : "1", - "startLine" : 6, - "startChar" : 16, - "endLine" : 6, - "endChar" : 30, - "message" : "List-valued expression was demoted to a singleton.", - "errorType" : "semantic", - "errorSeverity" : "warning", - "type" : "CqlToElmError" + "library" : { + "localId" : "0", + "annotation" : [ { + "type" : "CqlToElmInfo", + "translatorVersion" : "4.2.0", + "translatorOptions" : "EnableDateRangeOptimization,EnableAnnotations,EnableResultTypes", + "signatureLevel" : "All" + }, { + "type" : "CqlToElmError", + "libraryId" : "TestSnippet", + "libraryVersion" : "1", + "startLine" : 4, + "startChar" : 20, + "endLine" : 4, + "endChar" : 28, + "message" : "List-valued expression was demoted to a singleton.", + "errorType" : "semantic", + "errorSeverity" : "warning" + }, { + "type" : "CqlToElmError", + "libraryId" : "TestSnippet", + "libraryVersion" : "1", + "startLine" : 5, + "startChar" : 28, + "endLine" : 5, + "endChar" : 36, + "message" : "List-valued expression was demoted to a singleton.", + "errorType" : "semantic", + "errorSeverity" : "warning" + }, { + "type" : "CqlToElmError", + "libraryId" : "TestSnippet", + "libraryVersion" : "1", + "startLine" : 6, + "startChar" : 16, + "endLine" : 6, + "endChar" : 30, + "message" : "List-valued expression was demoted to a singleton.", + "errorType" : "semantic", + "errorSeverity" : "warning" + }, { + "type" : "CqlToElmError", + "libraryId" : "TestSnippet", + "libraryVersion" : "1", + "startLine" : 7, + "startChar" : 23, + "endLine" : 7, + "endChar" : 31, + "message" : "List-valued expression was demoted to a singleton.", + "errorType" : "semantic", + "errorSeverity" : "warning" + }, { + "type" : "CqlToElmError", + "libraryId" : "TestSnippet", + "libraryVersion" : "1", + "startLine" : 8, + "startChar" : 24, + "endLine" : 8, + "endChar" : 61, + "message" : "List-valued expression was demoted to a singleton.", + "errorType" : "semantic", + "errorSeverity" : "warning" + }, { + "type" : "CqlToElmError", + "libraryId" : "TestSnippet", + "libraryVersion" : "1", + "startLine" : 9, + "startChar" : 27, + "endLine" : 9, + "endChar" : 64, + "message" : "List-valued expression was demoted to a singleton.", + "errorType" : "semantic", + "errorSeverity" : "warning" + }, { + "type" : "CqlToElmError", + "libraryId" : "TestSnippet", + "libraryVersion" : "1", + "startLine" : 10, + "startChar" : 22, + "endLine" : 10, + "endChar" : 36, + "message" : "List-valued expression was demoted to a singleton.", + "errorType" : "semantic", + "errorSeverity" : "warning" + }, { + "type" : "CqlToElmError", + "libraryId" : "TestSnippet", + "libraryVersion" : "1", + "startLine" : 11, + "startChar" : 23, + "endLine" : 11, + "endChar" : 43, + "message" : "List-valued expression was demoted to a singleton.", + "errorType" : "semantic", + "errorSeverity" : "warning" + }, { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "551", + "s" : [ { + "value" : [ "", "library TestSnippet version '1'" ] + } ] + } + } ], + "identifier" : { + "id" : "TestSnippet", + "version" : "1" + }, + "schemaIdentifier" : { + "id" : "urn:hl7-org:elm", + "version" : "r1" + }, + "usings" : { + "def" : [ { + "localId" : "1", + "localIdentifier" : "System", + "uri" : "urn:hl7-org:elm-types:r1", + "annotation" : [ ] }, { - "libraryId" : "TestSnippet", - "libraryVersion" : "1", - "startLine" : 7, - "startChar" : 23, - "endLine" : 7, - "endChar" : 31, - "message" : "List-valued expression was demoted to a singleton.", - "errorType" : "semantic", - "errorSeverity" : "warning", - "type" : "CqlToElmError" + "localId" : "206", + "localIdentifier" : "Simple", + "uri" : "https://github.com/cqframework/cql-execution/simple", + "version" : "1.0.0", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "206", + "s" : [ { + "value" : [ "", "using " ] + }, { + "s" : [ { + "value" : [ "Simple" ] + } ] + }, { + "value" : [ " version '1.0.0'" ] + } ] + } + } ] + } ] + }, + "contexts" : { + "def" : [ { + "localId" : "211", + "name" : "Patient", + "annotation" : [ ] + } ] + }, + "statements" : { + "def" : [ { + "localId" : "209", + "name" : "Patient", + "context" : "Patient", + "annotation" : [ ], + "expression" : { + "type" : "SingletonFrom", + "localId" : "210", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Retrieve", + "localId" : "208", + "dataType" : "{https://github.com/cqframework/cql-execution/simple}Patient", + "annotation" : [ ], + "include" : [ ], + "codeFilter" : [ ], + "dateFilter" : [ ], + "otherFilter" : [ ] + } + } }, { - "libraryId" : "TestSnippet", - "libraryVersion" : "1", - "startLine" : 8, - "startChar" : 24, - "endLine" : 8, - "endChar" : 61, - "message" : "List-valued expression was demoted to a singleton.", - "errorType" : "semantic", - "errorSeverity" : "warning", - "type" : "CqlToElmError" + "localId" : "214", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "IsIncluded", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "214", + "s" : [ { + "value" : [ "", "define ", "IsIncluded", ": " ] + }, { + "r" : "229", + "s" : [ { + "r" : "215", + "s" : [ { + "r" : "216", + "value" : [ "{", "2", ", ", "3", ", ", "4", "}" ] + } ] + }, { + "r" : "229", + "value" : [ " ", "properly included in", " " ] + }, { + "r" : "221", + "s" : [ { + "r" : "222", + "value" : [ "{", "1", ", ", "2", ", ", "3", ", ", "4", ", ", "5", "}" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "ProperIncludedIn", + "localId" : "229", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "ListTypeSpecifier", + "localId" : "230", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "231", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, { + "type" : "ListTypeSpecifier", + "localId" : "232", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "233", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "List", + "localId" : "215", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "219", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "220", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "element" : [ { + "type" : "Literal", + "localId" : "216", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "217", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "218", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "4", + "annotation" : [ ] + } ] + }, { + "type" : "List", + "localId" : "221", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "227", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "228", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "element" : [ { + "type" : "Literal", + "localId" : "222", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "223", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "224", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "225", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "4", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "226", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "5", + "annotation" : [ ] + } ] + } ] + } }, { - "libraryId" : "TestSnippet", - "libraryVersion" : "1", - "startLine" : 9, - "startChar" : 27, - "endLine" : 9, - "endChar" : 64, - "message" : "List-valued expression was demoted to a singleton.", - "errorType" : "semantic", - "errorSeverity" : "warning", - "type" : "CqlToElmError" + "localId" : "243", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "IsIncludedReversed", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "243", + "s" : [ { + "value" : [ "", "define ", "IsIncludedReversed", ": " ] + }, { + "r" : "258", + "s" : [ { + "r" : "244", + "s" : [ { + "r" : "245", + "value" : [ "{", "4", ", ", "3", ", ", "2", "}" ] + } ] + }, { + "r" : "258", + "value" : [ " ", "properly included in", " " ] + }, { + "r" : "250", + "s" : [ { + "r" : "251", + "value" : [ "{", "1", ", ", "2", ", ", "3", ", ", "4", ", ", "5", "}" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "ProperIncludedIn", + "localId" : "258", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "ListTypeSpecifier", + "localId" : "259", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "260", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, { + "type" : "ListTypeSpecifier", + "localId" : "261", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "262", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "List", + "localId" : "244", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "248", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "249", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "element" : [ { + "type" : "Literal", + "localId" : "245", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "4", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "246", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "247", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "annotation" : [ ] + } ] + }, { + "type" : "List", + "localId" : "250", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "256", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "257", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "element" : [ { + "type" : "Literal", + "localId" : "251", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "252", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "253", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "254", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "4", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "255", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "5", + "annotation" : [ ] + } ] + } ] + } }, { - "libraryId" : "TestSnippet", - "libraryVersion" : "1", - "startLine" : 10, - "startChar" : 22, - "endLine" : 10, - "endChar" : 36, - "message" : "List-valued expression was demoted to a singleton.", - "errorType" : "semantic", - "errorSeverity" : "warning", - "type" : "CqlToElmError" + "localId" : "272", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "IsSame", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "272", + "s" : [ { + "value" : [ "", "define ", "IsSame", ": " ] + }, { + "r" : "289", + "s" : [ { + "r" : "273", + "s" : [ { + "r" : "274", + "value" : [ "{", "1", ", ", "2", ", ", "3", ", ", "4", ", ", "5", "}" ] + } ] + }, { + "r" : "289", + "value" : [ " ", "properly included in", " " ] + }, { + "r" : "281", + "s" : [ { + "r" : "282", + "value" : [ "{", "1", ", ", "2", ", ", "3", ", ", "4", ", ", "5", "}" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "ProperIncludedIn", + "localId" : "289", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "ListTypeSpecifier", + "localId" : "290", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "291", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, { + "type" : "ListTypeSpecifier", + "localId" : "292", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "293", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "List", + "localId" : "273", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "279", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "280", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "element" : [ { + "type" : "Literal", + "localId" : "274", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "275", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "276", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "277", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "4", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "278", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "5", + "annotation" : [ ] + } ] + }, { + "type" : "List", + "localId" : "281", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "287", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "288", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "element" : [ { + "type" : "Literal", + "localId" : "282", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "283", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "284", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "285", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "4", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "286", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "5", + "annotation" : [ ] + } ] + } ] + } }, { - "libraryId" : "TestSnippet", - "libraryVersion" : "1", - "startLine" : 11, - "startChar" : 23, - "endLine" : 11, - "endChar" : 43, - "message" : "List-valued expression was demoted to a singleton.", - "errorType" : "semantic", - "errorSeverity" : "warning", - "type" : "CqlToElmError" + "localId" : "303", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "IsNotIncluded", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "303", + "s" : [ { + "value" : [ "", "define ", "IsNotIncluded", ": " ] + }, { + "r" : "318", + "s" : [ { + "r" : "304", + "s" : [ { + "r" : "305", + "value" : [ "{", "4", ", ", "5", ", ", "6", "}" ] + } ] + }, { + "r" : "318", + "value" : [ " ", "properly included in", " " ] + }, { + "r" : "310", + "s" : [ { + "r" : "311", + "value" : [ "{", "1", ", ", "2", ", ", "3", ", ", "4", ", ", "5", "}" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "ProperIncludedIn", + "localId" : "318", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "ListTypeSpecifier", + "localId" : "319", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "320", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, { + "type" : "ListTypeSpecifier", + "localId" : "321", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "322", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "List", + "localId" : "304", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "308", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "309", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "element" : [ { + "type" : "Literal", + "localId" : "305", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "4", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "306", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "5", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "307", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "6", + "annotation" : [ ] + } ] + }, { + "type" : "List", + "localId" : "310", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "316", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "317", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "element" : [ { + "type" : "Literal", + "localId" : "311", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "312", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "313", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "314", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "4", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "315", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "5", + "annotation" : [ ] + } ] + } ] + } }, { - "type" : "Annotation", - "s" : { - "r" : "551", + "localId" : "332", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "TuplesIncluded", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "332", "s" : [ { - "value" : [ "","library TestSnippet version '1'" ] - } ] - } - } ], - "identifier" : { - "id" : "TestSnippet", - "version" : "1" - }, - "schemaIdentifier" : { - "id" : "urn:hl7-org:elm", - "version" : "r1" - }, - "usings" : { - "def" : [ { - "localId" : "1", - "localIdentifier" : "System", - "uri" : "urn:hl7-org:elm-types:r1" - }, { - "localId" : "206", - "localIdentifier" : "Simple", - "uri" : "https://github.com/cqframework/cql-execution/simple", - "version" : "1.0.0", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "206", - "s" : [ { - "value" : [ "","using " ] - }, { - "s" : [ { - "value" : [ "Simple" ] - } ] - }, { - "value" : [ " version '1.0.0'" ] - } ] - } - } ] - } ] - }, - "contexts" : { - "def" : [ { - "localId" : "211", - "name" : "Patient" - } ] - }, - "statements" : { - "def" : [ { - "localId" : "209", - "name" : "Patient", - "context" : "Patient", - "expression" : { - "localId" : "210", - "type" : "SingletonFrom", - "signature" : [ ], - "operand" : { - "localId" : "208", - "dataType" : "{https://github.com/cqframework/cql-execution/simple}Patient", - "type" : "Retrieve", - "include" : [ ], - "codeFilter" : [ ], - "dateFilter" : [ ], - "otherFilter" : [ ] - } - } - }, { - "localId" : "214", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "IsIncluded", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "214", - "s" : [ { - "value" : [ "","define ","IsIncluded",": " ] - }, { - "r" : "229", - "s" : [ { - "r" : "215", - "s" : [ { - "r" : "216", - "value" : [ "{","2",", ","3",", ","4","}" ] - } ] - }, { - "r" : "229", - "value" : [ " ","properly included in"," " ] - }, { - "r" : "221", - "s" : [ { - "r" : "222", - "value" : [ "{","1",", ","2",", ","3",", ","4",", ","5","}" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "229", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "ProperIncludedIn", - "signature" : [ { - "localId" : "230", - "type" : "ListTypeSpecifier", + "value" : [ "", "define ", "TuplesIncluded", ": " ] + }, { + "r" : "392", + "s" : [ { + "r" : "333", + "s" : [ { + "value" : [ "{" ] + }, { + "r" : "334", + "s" : [ { + "value" : [ "Tuple{" ] + }, { + "s" : [ { + "r" : "335", + "value" : [ "a", ":", "2" ] + } ] + }, { + "value" : [ ", " ] + }, { + "s" : [ { + "value" : [ "b", ":" ] + }, { + "r" : "336", + "s" : [ { + "value" : [ "'d'" ] + } ] + } ] + }, { + "value" : [ "}" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "343", + "s" : [ { + "value" : [ "Tuple{" ] + }, { + "s" : [ { + "r" : "344", + "value" : [ "a", ":", "2" ] + } ] + }, { + "value" : [ ", " ] + }, { + "s" : [ { + "value" : [ "b", ":" ] + }, { + "r" : "345", + "s" : [ { + "value" : [ "'c'" ] + } ] + } ] + }, { + "value" : [ "}" ] + } ] + }, { + "value" : [ "}" ] + } ] + }, { + "r" : "392", + "value" : [ " ", "properly included in", " " ] + }, { + "r" : "358", + "s" : [ { + "value" : [ "{" ] + }, { + "r" : "359", + "s" : [ { + "value" : [ "Tuple{" ] + }, { + "s" : [ { + "r" : "360", + "value" : [ "a", ":", "1" ] + } ] + }, { + "value" : [ ", " ] + }, { + "s" : [ { + "value" : [ "b", ":" ] + }, { + "r" : "361", + "s" : [ { + "value" : [ "'d'" ] + } ] + } ] + }, { + "value" : [ "}" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "368", + "s" : [ { + "value" : [ "Tuple{" ] + }, { + "s" : [ { + "r" : "369", + "value" : [ "a", ":", "2" ] + } ] + }, { + "value" : [ ", " ] + }, { + "s" : [ { + "value" : [ "b", ":" ] + }, { + "r" : "370", + "s" : [ { + "value" : [ "'d'" ] + } ] + } ] + }, { + "value" : [ "}" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "377", + "s" : [ { + "value" : [ "Tuple{" ] + }, { + "s" : [ { + "r" : "378", + "value" : [ "a", ":", "2" ] + } ] + }, { + "value" : [ ", " ] + }, { + "s" : [ { + "value" : [ "b", ":" ] + }, { + "r" : "379", + "s" : [ { + "value" : [ "'c'" ] + } ] + } ] + }, { + "value" : [ "}" ] + } ] + }, { + "value" : [ "}" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "ProperIncludedIn", + "localId" : "392", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "ListTypeSpecifier", + "localId" : "393", + "annotation" : [ ], + "elementType" : { + "type" : "TupleTypeSpecifier", + "localId" : "394", + "annotation" : [ ], + "element" : [ { + "localId" : "395", + "name" : "a", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "396", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, { + "localId" : "397", + "name" : "b", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "398", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } + } ] + } + }, { + "type" : "ListTypeSpecifier", + "localId" : "399", + "annotation" : [ ], + "elementType" : { + "type" : "TupleTypeSpecifier", + "localId" : "400", + "annotation" : [ ], + "element" : [ { + "localId" : "401", + "name" : "a", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "402", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, { + "localId" : "403", + "name" : "b", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "404", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } + } ] + } + } ], + "operand" : [ { + "type" : "List", + "localId" : "333", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "352", + "annotation" : [ ], + "elementType" : { + "type" : "TupleTypeSpecifier", + "localId" : "353", + "annotation" : [ ], + "element" : [ { + "localId" : "354", + "name" : "a", + "annotation" : [ ], "elementType" : { - "localId" : "231", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" + "type" : "NamedTypeSpecifier", + "localId" : "355", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] } - }, { - "localId" : "232", - "type" : "ListTypeSpecifier", + }, { + "localId" : "356", + "name" : "b", + "annotation" : [ ], "elementType" : { - "localId" : "233", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" + "type" : "NamedTypeSpecifier", + "localId" : "357", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] } - } ], - "operand" : [ { - "localId" : "215", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "219", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "220", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "element" : [ { - "localId" : "216", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal" - }, { - "localId" : "217", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, { - "localId" : "218", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "4", - "type" : "Literal" - } ] - }, { - "localId" : "221", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "227", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "228", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "element" : [ { - "localId" : "222", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, { - "localId" : "223", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal" - }, { - "localId" : "224", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, { - "localId" : "225", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "4", - "type" : "Literal" - }, { - "localId" : "226", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal" - } ] - } ] - } - }, { - "localId" : "243", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "IsIncludedReversed", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "243", - "s" : [ { - "value" : [ "","define ","IsIncludedReversed",": " ] - }, { - "r" : "258", - "s" : [ { - "r" : "244", - "s" : [ { - "r" : "245", - "value" : [ "{","4",", ","3",", ","2","}" ] - } ] - }, { - "r" : "258", - "value" : [ " ","properly included in"," " ] - }, { - "r" : "250", - "s" : [ { - "r" : "251", - "value" : [ "{","1",", ","2",", ","3",", ","4",", ","5","}" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "258", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "ProperIncludedIn", - "signature" : [ { - "localId" : "259", - "type" : "ListTypeSpecifier", + } ] + } + }, + "element" : [ { + "type" : "Tuple", + "localId" : "334", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "TupleTypeSpecifier", + "localId" : "338", + "annotation" : [ ], + "element" : [ { + "localId" : "339", + "name" : "a", + "annotation" : [ ], "elementType" : { - "localId" : "260", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" + "type" : "NamedTypeSpecifier", + "localId" : "340", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] } - }, { - "localId" : "261", - "type" : "ListTypeSpecifier", + }, { + "localId" : "341", + "name" : "b", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "342", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } + } ] + }, + "element" : [ { + "name" : "a", + "value" : { + "type" : "Literal", + "localId" : "335", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "annotation" : [ ] + } + }, { + "name" : "b", + "value" : { + "type" : "Literal", + "localId" : "336", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "d", + "annotation" : [ ] + } + } ] + }, { + "type" : "Tuple", + "localId" : "343", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "TupleTypeSpecifier", + "localId" : "347", + "annotation" : [ ], + "element" : [ { + "localId" : "348", + "name" : "a", + "annotation" : [ ], "elementType" : { - "localId" : "262", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" + "type" : "NamedTypeSpecifier", + "localId" : "349", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] } - } ], - "operand" : [ { - "localId" : "244", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "248", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "249", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "element" : [ { - "localId" : "245", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "4", - "type" : "Literal" - }, { - "localId" : "246", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, { - "localId" : "247", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal" - } ] - }, { - "localId" : "250", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "256", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "257", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "element" : [ { - "localId" : "251", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, { - "localId" : "252", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal" - }, { - "localId" : "253", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, { - "localId" : "254", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "4", - "type" : "Literal" - }, { - "localId" : "255", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal" - } ] - } ] - } - }, { - "localId" : "272", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "IsSame", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "272", - "s" : [ { - "value" : [ "","define ","IsSame",": " ] - }, { - "r" : "289", - "s" : [ { - "r" : "273", - "s" : [ { - "r" : "274", - "value" : [ "{","1",", ","2",", ","3",", ","4",", ","5","}" ] - } ] - }, { - "r" : "289", - "value" : [ " ","properly included in"," " ] - }, { - "r" : "281", - "s" : [ { - "r" : "282", - "value" : [ "{","1",", ","2",", ","3",", ","4",", ","5","}" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "289", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "ProperIncludedIn", - "signature" : [ { - "localId" : "290", - "type" : "ListTypeSpecifier", + }, { + "localId" : "350", + "name" : "b", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "351", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } + } ] + }, + "element" : [ { + "name" : "a", + "value" : { + "type" : "Literal", + "localId" : "344", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "annotation" : [ ] + } + }, { + "name" : "b", + "value" : { + "type" : "Literal", + "localId" : "345", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "c", + "annotation" : [ ] + } + } ] + } ] + }, { + "type" : "List", + "localId" : "358", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "386", + "annotation" : [ ], + "elementType" : { + "type" : "TupleTypeSpecifier", + "localId" : "387", + "annotation" : [ ], + "element" : [ { + "localId" : "388", + "name" : "a", + "annotation" : [ ], "elementType" : { - "localId" : "291", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" + "type" : "NamedTypeSpecifier", + "localId" : "389", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] } - }, { - "localId" : "292", - "type" : "ListTypeSpecifier", + }, { + "localId" : "390", + "name" : "b", + "annotation" : [ ], "elementType" : { - "localId" : "293", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" + "type" : "NamedTypeSpecifier", + "localId" : "391", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] } - } ], - "operand" : [ { - "localId" : "273", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "279", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "280", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "element" : [ { - "localId" : "274", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, { - "localId" : "275", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal" - }, { - "localId" : "276", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, { - "localId" : "277", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "4", - "type" : "Literal" - }, { - "localId" : "278", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal" - } ] - }, { - "localId" : "281", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "287", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "288", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "element" : [ { - "localId" : "282", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, { - "localId" : "283", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal" - }, { - "localId" : "284", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, { - "localId" : "285", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "4", - "type" : "Literal" - }, { - "localId" : "286", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal" - } ] - } ] - } - }, { - "localId" : "303", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "IsNotIncluded", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "303", - "s" : [ { - "value" : [ "","define ","IsNotIncluded",": " ] - }, { - "r" : "318", - "s" : [ { - "r" : "304", - "s" : [ { - "r" : "305", - "value" : [ "{","4",", ","5",", ","6","}" ] - } ] - }, { - "r" : "318", - "value" : [ " ","properly included in"," " ] - }, { - "r" : "310", - "s" : [ { - "r" : "311", - "value" : [ "{","1",", ","2",", ","3",", ","4",", ","5","}" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "318", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "ProperIncludedIn", - "signature" : [ { - "localId" : "319", - "type" : "ListTypeSpecifier", + } ] + } + }, + "element" : [ { + "type" : "Tuple", + "localId" : "359", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "TupleTypeSpecifier", + "localId" : "363", + "annotation" : [ ], + "element" : [ { + "localId" : "364", + "name" : "a", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "365", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, { + "localId" : "366", + "name" : "b", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "367", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } + } ] + }, + "element" : [ { + "name" : "a", + "value" : { + "type" : "Literal", + "localId" : "360", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + } + }, { + "name" : "b", + "value" : { + "type" : "Literal", + "localId" : "361", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "d", + "annotation" : [ ] + } + } ] + }, { + "type" : "Tuple", + "localId" : "368", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "TupleTypeSpecifier", + "localId" : "372", + "annotation" : [ ], + "element" : [ { + "localId" : "373", + "name" : "a", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "374", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, { + "localId" : "375", + "name" : "b", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "376", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } + } ] + }, + "element" : [ { + "name" : "a", + "value" : { + "type" : "Literal", + "localId" : "369", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "annotation" : [ ] + } + }, { + "name" : "b", + "value" : { + "type" : "Literal", + "localId" : "370", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "d", + "annotation" : [ ] + } + } ] + }, { + "type" : "Tuple", + "localId" : "377", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "TupleTypeSpecifier", + "localId" : "381", + "annotation" : [ ], + "element" : [ { + "localId" : "382", + "name" : "a", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "383", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, { + "localId" : "384", + "name" : "b", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "385", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } + } ] + }, + "element" : [ { + "name" : "a", + "value" : { + "type" : "Literal", + "localId" : "378", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "annotation" : [ ] + } + }, { + "name" : "b", + "value" : { + "type" : "Literal", + "localId" : "379", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "c", + "annotation" : [ ] + } + } ] + } ] + } ] + } + }, { + "localId" : "426", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "TuplesNotIncluded", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "426", + "s" : [ { + "value" : [ "", "define ", "TuplesNotIncluded", ": " ] + }, { + "r" : "486", + "s" : [ { + "r" : "427", + "s" : [ { + "value" : [ "{" ] + }, { + "r" : "428", + "s" : [ { + "value" : [ "Tuple{" ] + }, { + "s" : [ { + "r" : "429", + "value" : [ "a", ":", "2" ] + } ] + }, { + "value" : [ ", " ] + }, { + "s" : [ { + "value" : [ "b", ":" ] + }, { + "r" : "430", + "s" : [ { + "value" : [ "'d'" ] + } ] + } ] + }, { + "value" : [ "}" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "437", + "s" : [ { + "value" : [ "Tuple{" ] + }, { + "s" : [ { + "r" : "438", + "value" : [ "a", ":", "3" ] + } ] + }, { + "value" : [ ", " ] + }, { + "s" : [ { + "value" : [ "b", ":" ] + }, { + "r" : "439", + "s" : [ { + "value" : [ "'c'" ] + } ] + } ] + }, { + "value" : [ "}" ] + } ] + }, { + "value" : [ "}" ] + } ] + }, { + "r" : "486", + "value" : [ " ", "properly included in", " " ] + }, { + "r" : "452", + "s" : [ { + "value" : [ "{" ] + }, { + "r" : "453", + "s" : [ { + "value" : [ "Tuple{" ] + }, { + "s" : [ { + "r" : "454", + "value" : [ "a", ":", "1" ] + } ] + }, { + "value" : [ ", " ] + }, { + "s" : [ { + "value" : [ "b", ":" ] + }, { + "r" : "455", + "s" : [ { + "value" : [ "'d'" ] + } ] + } ] + }, { + "value" : [ "}" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "462", + "s" : [ { + "value" : [ "Tuple{" ] + }, { + "s" : [ { + "r" : "463", + "value" : [ "a", ":", "2" ] + } ] + }, { + "value" : [ ", " ] + }, { + "s" : [ { + "value" : [ "b", ":" ] + }, { + "r" : "464", + "s" : [ { + "value" : [ "'d'" ] + } ] + } ] + }, { + "value" : [ "}" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "471", + "s" : [ { + "value" : [ "Tuple{" ] + }, { + "s" : [ { + "r" : "472", + "value" : [ "a", ":", "2" ] + } ] + }, { + "value" : [ ", " ] + }, { + "s" : [ { + "value" : [ "b", ":" ] + }, { + "r" : "473", + "s" : [ { + "value" : [ "'c'" ] + } ] + } ] + }, { + "value" : [ "}" ] + } ] + }, { + "value" : [ "}" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "ProperIncludedIn", + "localId" : "486", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "ListTypeSpecifier", + "localId" : "487", + "annotation" : [ ], + "elementType" : { + "type" : "TupleTypeSpecifier", + "localId" : "488", + "annotation" : [ ], + "element" : [ { + "localId" : "489", + "name" : "a", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "490", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, { + "localId" : "491", + "name" : "b", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "492", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } + } ] + } + }, { + "type" : "ListTypeSpecifier", + "localId" : "493", + "annotation" : [ ], + "elementType" : { + "type" : "TupleTypeSpecifier", + "localId" : "494", + "annotation" : [ ], + "element" : [ { + "localId" : "495", + "name" : "a", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "496", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, { + "localId" : "497", + "name" : "b", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "498", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } + } ] + } + } ], + "operand" : [ { + "type" : "List", + "localId" : "427", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "446", + "annotation" : [ ], + "elementType" : { + "type" : "TupleTypeSpecifier", + "localId" : "447", + "annotation" : [ ], + "element" : [ { + "localId" : "448", + "name" : "a", + "annotation" : [ ], "elementType" : { - "localId" : "320", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" + "type" : "NamedTypeSpecifier", + "localId" : "449", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] } - }, { - "localId" : "321", - "type" : "ListTypeSpecifier", + }, { + "localId" : "450", + "name" : "b", + "annotation" : [ ], "elementType" : { - "localId" : "322", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" + "type" : "NamedTypeSpecifier", + "localId" : "451", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] } - } ], - "operand" : [ { - "localId" : "304", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "308", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "309", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "element" : [ { - "localId" : "305", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "4", - "type" : "Literal" - }, { - "localId" : "306", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal" - }, { - "localId" : "307", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "6", - "type" : "Literal" - } ] - }, { - "localId" : "310", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "316", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "317", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "element" : [ { - "localId" : "311", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, { - "localId" : "312", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal" - }, { - "localId" : "313", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, { - "localId" : "314", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "4", - "type" : "Literal" - }, { - "localId" : "315", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal" - } ] - } ] - } - }, { - "localId" : "332", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "TuplesIncluded", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "332", - "s" : [ { - "value" : [ "","define ","TuplesIncluded",": " ] - }, { - "r" : "392", - "s" : [ { - "r" : "333", - "s" : [ { - "value" : [ "{" ] - }, { - "r" : "334", - "s" : [ { - "value" : [ "Tuple{" ] - }, { - "s" : [ { - "r" : "335", - "value" : [ "a",":","2" ] - } ] - }, { - "value" : [ ", " ] - }, { - "s" : [ { - "value" : [ "b",":" ] - }, { - "r" : "336", - "s" : [ { - "value" : [ "'d'" ] - } ] - } ] - }, { - "value" : [ "}" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "343", - "s" : [ { - "value" : [ "Tuple{" ] - }, { - "s" : [ { - "r" : "344", - "value" : [ "a",":","2" ] - } ] - }, { - "value" : [ ", " ] - }, { - "s" : [ { - "value" : [ "b",":" ] - }, { - "r" : "345", - "s" : [ { - "value" : [ "'c'" ] - } ] - } ] - }, { - "value" : [ "}" ] - } ] - }, { - "value" : [ "}" ] - } ] - }, { - "r" : "392", - "value" : [ " ","properly included in"," " ] - }, { - "r" : "358", - "s" : [ { - "value" : [ "{" ] - }, { - "r" : "359", - "s" : [ { - "value" : [ "Tuple{" ] - }, { - "s" : [ { - "r" : "360", - "value" : [ "a",":","1" ] - } ] - }, { - "value" : [ ", " ] - }, { - "s" : [ { - "value" : [ "b",":" ] - }, { - "r" : "361", - "s" : [ { - "value" : [ "'d'" ] - } ] - } ] - }, { - "value" : [ "}" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "368", - "s" : [ { - "value" : [ "Tuple{" ] - }, { - "s" : [ { - "r" : "369", - "value" : [ "a",":","2" ] - } ] - }, { - "value" : [ ", " ] - }, { - "s" : [ { - "value" : [ "b",":" ] - }, { - "r" : "370", - "s" : [ { - "value" : [ "'d'" ] - } ] - } ] - }, { - "value" : [ "}" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "377", - "s" : [ { - "value" : [ "Tuple{" ] - }, { - "s" : [ { - "r" : "378", - "value" : [ "a",":","2" ] - } ] - }, { - "value" : [ ", " ] - }, { - "s" : [ { - "value" : [ "b",":" ] - }, { - "r" : "379", - "s" : [ { - "value" : [ "'c'" ] - } ] - } ] - }, { - "value" : [ "}" ] - } ] - }, { - "value" : [ "}" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "392", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "ProperIncludedIn", - "signature" : [ { - "localId" : "393", - "type" : "ListTypeSpecifier", + } ] + } + }, + "element" : [ { + "type" : "Tuple", + "localId" : "428", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "TupleTypeSpecifier", + "localId" : "432", + "annotation" : [ ], + "element" : [ { + "localId" : "433", + "name" : "a", + "annotation" : [ ], "elementType" : { - "localId" : "394", - "type" : "TupleTypeSpecifier", - "element" : [ { - "localId" : "395", - "name" : "a", - "elementType" : { - "localId" : "396", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "397", - "name" : "b", - "elementType" : { - "localId" : "398", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } - } ] + "type" : "NamedTypeSpecifier", + "localId" : "434", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] } - }, { - "localId" : "399", - "type" : "ListTypeSpecifier", + }, { + "localId" : "435", + "name" : "b", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "436", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } + } ] + }, + "element" : [ { + "name" : "a", + "value" : { + "type" : "Literal", + "localId" : "429", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "annotation" : [ ] + } + }, { + "name" : "b", + "value" : { + "type" : "Literal", + "localId" : "430", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "d", + "annotation" : [ ] + } + } ] + }, { + "type" : "Tuple", + "localId" : "437", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "TupleTypeSpecifier", + "localId" : "441", + "annotation" : [ ], + "element" : [ { + "localId" : "442", + "name" : "a", + "annotation" : [ ], "elementType" : { - "localId" : "400", - "type" : "TupleTypeSpecifier", - "element" : [ { - "localId" : "401", - "name" : "a", - "elementType" : { - "localId" : "402", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "403", - "name" : "b", - "elementType" : { - "localId" : "404", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } - } ] + "type" : "NamedTypeSpecifier", + "localId" : "443", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] } - } ], - "operand" : [ { - "localId" : "333", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "352", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "353", - "type" : "TupleTypeSpecifier", - "element" : [ { - "localId" : "354", - "name" : "a", - "elementType" : { - "localId" : "355", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "356", - "name" : "b", - "elementType" : { - "localId" : "357", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } - } ] - } - }, - "element" : [ { - "localId" : "334", - "type" : "Tuple", - "resultTypeSpecifier" : { - "localId" : "338", - "type" : "TupleTypeSpecifier", - "element" : [ { - "localId" : "339", - "name" : "a", - "elementType" : { - "localId" : "340", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "341", - "name" : "b", - "elementType" : { - "localId" : "342", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } - } ] - }, - "element" : [ { - "name" : "a", - "value" : { - "localId" : "335", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal" - } - }, { - "name" : "b", - "value" : { - "localId" : "336", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "d", - "type" : "Literal" - } - } ] - }, { - "localId" : "343", - "type" : "Tuple", - "resultTypeSpecifier" : { - "localId" : "347", - "type" : "TupleTypeSpecifier", - "element" : [ { - "localId" : "348", - "name" : "a", - "elementType" : { - "localId" : "349", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "350", - "name" : "b", - "elementType" : { - "localId" : "351", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } - } ] - }, - "element" : [ { - "name" : "a", - "value" : { - "localId" : "344", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal" - } - }, { - "name" : "b", - "value" : { - "localId" : "345", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "c", - "type" : "Literal" - } - } ] - } ] - }, { - "localId" : "358", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "386", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "387", - "type" : "TupleTypeSpecifier", - "element" : [ { - "localId" : "388", - "name" : "a", - "elementType" : { - "localId" : "389", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "390", - "name" : "b", - "elementType" : { - "localId" : "391", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } - } ] - } - }, - "element" : [ { - "localId" : "359", - "type" : "Tuple", - "resultTypeSpecifier" : { - "localId" : "363", - "type" : "TupleTypeSpecifier", - "element" : [ { - "localId" : "364", - "name" : "a", - "elementType" : { - "localId" : "365", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "366", - "name" : "b", - "elementType" : { - "localId" : "367", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } - } ] - }, - "element" : [ { - "name" : "a", - "value" : { - "localId" : "360", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - } - }, { - "name" : "b", - "value" : { - "localId" : "361", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "d", - "type" : "Literal" - } - } ] - }, { - "localId" : "368", - "type" : "Tuple", - "resultTypeSpecifier" : { - "localId" : "372", - "type" : "TupleTypeSpecifier", - "element" : [ { - "localId" : "373", - "name" : "a", - "elementType" : { - "localId" : "374", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "375", - "name" : "b", - "elementType" : { - "localId" : "376", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } - } ] - }, - "element" : [ { - "name" : "a", - "value" : { - "localId" : "369", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal" - } - }, { - "name" : "b", - "value" : { - "localId" : "370", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "d", - "type" : "Literal" - } - } ] - }, { - "localId" : "377", - "type" : "Tuple", - "resultTypeSpecifier" : { - "localId" : "381", - "type" : "TupleTypeSpecifier", - "element" : [ { - "localId" : "382", - "name" : "a", - "elementType" : { - "localId" : "383", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "384", - "name" : "b", - "elementType" : { - "localId" : "385", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } - } ] - }, - "element" : [ { - "name" : "a", - "value" : { - "localId" : "378", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal" - } - }, { - "name" : "b", - "value" : { - "localId" : "379", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "c", - "type" : "Literal" - } - } ] - } ] - } ] - } - }, { - "localId" : "426", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "TuplesNotIncluded", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "426", - "s" : [ { - "value" : [ "","define ","TuplesNotIncluded",": " ] - }, { - "r" : "486", - "s" : [ { - "r" : "427", - "s" : [ { - "value" : [ "{" ] - }, { - "r" : "428", - "s" : [ { - "value" : [ "Tuple{" ] - }, { - "s" : [ { - "r" : "429", - "value" : [ "a",":","2" ] - } ] - }, { - "value" : [ ", " ] - }, { - "s" : [ { - "value" : [ "b",":" ] - }, { - "r" : "430", - "s" : [ { - "value" : [ "'d'" ] - } ] - } ] - }, { - "value" : [ "}" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "437", - "s" : [ { - "value" : [ "Tuple{" ] - }, { - "s" : [ { - "r" : "438", - "value" : [ "a",":","3" ] - } ] - }, { - "value" : [ ", " ] - }, { - "s" : [ { - "value" : [ "b",":" ] - }, { - "r" : "439", - "s" : [ { - "value" : [ "'c'" ] - } ] - } ] - }, { - "value" : [ "}" ] - } ] - }, { - "value" : [ "}" ] - } ] - }, { - "r" : "486", - "value" : [ " ","properly included in"," " ] - }, { - "r" : "452", - "s" : [ { - "value" : [ "{" ] - }, { - "r" : "453", - "s" : [ { - "value" : [ "Tuple{" ] - }, { - "s" : [ { - "r" : "454", - "value" : [ "a",":","1" ] - } ] - }, { - "value" : [ ", " ] - }, { - "s" : [ { - "value" : [ "b",":" ] - }, { - "r" : "455", - "s" : [ { - "value" : [ "'d'" ] - } ] - } ] - }, { - "value" : [ "}" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "462", - "s" : [ { - "value" : [ "Tuple{" ] - }, { - "s" : [ { - "r" : "463", - "value" : [ "a",":","2" ] - } ] - }, { - "value" : [ ", " ] - }, { - "s" : [ { - "value" : [ "b",":" ] - }, { - "r" : "464", - "s" : [ { - "value" : [ "'d'" ] - } ] - } ] - }, { - "value" : [ "}" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "471", - "s" : [ { - "value" : [ "Tuple{" ] - }, { - "s" : [ { - "r" : "472", - "value" : [ "a",":","2" ] - } ] - }, { - "value" : [ ", " ] - }, { - "s" : [ { - "value" : [ "b",":" ] - }, { - "r" : "473", - "s" : [ { - "value" : [ "'c'" ] - } ] - } ] - }, { - "value" : [ "}" ] - } ] - }, { - "value" : [ "}" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "486", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "ProperIncludedIn", - "signature" : [ { - "localId" : "487", - "type" : "ListTypeSpecifier", + }, { + "localId" : "444", + "name" : "b", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "445", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } + } ] + }, + "element" : [ { + "name" : "a", + "value" : { + "type" : "Literal", + "localId" : "438", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + } + }, { + "name" : "b", + "value" : { + "type" : "Literal", + "localId" : "439", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "c", + "annotation" : [ ] + } + } ] + } ] + }, { + "type" : "List", + "localId" : "452", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "480", + "annotation" : [ ], + "elementType" : { + "type" : "TupleTypeSpecifier", + "localId" : "481", + "annotation" : [ ], + "element" : [ { + "localId" : "482", + "name" : "a", + "annotation" : [ ], "elementType" : { - "localId" : "488", - "type" : "TupleTypeSpecifier", - "element" : [ { - "localId" : "489", - "name" : "a", - "elementType" : { - "localId" : "490", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "491", - "name" : "b", - "elementType" : { - "localId" : "492", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } - } ] + "type" : "NamedTypeSpecifier", + "localId" : "483", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] } - }, { - "localId" : "493", - "type" : "ListTypeSpecifier", + }, { + "localId" : "484", + "name" : "b", + "annotation" : [ ], "elementType" : { - "localId" : "494", - "type" : "TupleTypeSpecifier", - "element" : [ { - "localId" : "495", - "name" : "a", - "elementType" : { - "localId" : "496", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "497", - "name" : "b", - "elementType" : { - "localId" : "498", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } - } ] + "type" : "NamedTypeSpecifier", + "localId" : "485", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] } - } ], - "operand" : [ { - "localId" : "427", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "446", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "447", - "type" : "TupleTypeSpecifier", - "element" : [ { - "localId" : "448", - "name" : "a", - "elementType" : { - "localId" : "449", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "450", - "name" : "b", - "elementType" : { - "localId" : "451", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } - } ] - } - }, - "element" : [ { - "localId" : "428", - "type" : "Tuple", - "resultTypeSpecifier" : { - "localId" : "432", - "type" : "TupleTypeSpecifier", - "element" : [ { - "localId" : "433", - "name" : "a", - "elementType" : { - "localId" : "434", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "435", - "name" : "b", - "elementType" : { - "localId" : "436", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } - } ] - }, - "element" : [ { - "name" : "a", - "value" : { - "localId" : "429", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal" - } - }, { - "name" : "b", - "value" : { - "localId" : "430", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "d", - "type" : "Literal" - } - } ] - }, { - "localId" : "437", - "type" : "Tuple", - "resultTypeSpecifier" : { - "localId" : "441", - "type" : "TupleTypeSpecifier", - "element" : [ { - "localId" : "442", - "name" : "a", - "elementType" : { - "localId" : "443", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "444", - "name" : "b", - "elementType" : { - "localId" : "445", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } - } ] - }, - "element" : [ { - "name" : "a", - "value" : { - "localId" : "438", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - } - }, { - "name" : "b", - "value" : { - "localId" : "439", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "c", - "type" : "Literal" - } - } ] - } ] - }, { - "localId" : "452", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "480", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "481", - "type" : "TupleTypeSpecifier", - "element" : [ { - "localId" : "482", - "name" : "a", - "elementType" : { - "localId" : "483", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "484", - "name" : "b", - "elementType" : { - "localId" : "485", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } - } ] - } - }, - "element" : [ { - "localId" : "453", - "type" : "Tuple", - "resultTypeSpecifier" : { - "localId" : "457", - "type" : "TupleTypeSpecifier", - "element" : [ { - "localId" : "458", - "name" : "a", - "elementType" : { - "localId" : "459", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "460", - "name" : "b", - "elementType" : { - "localId" : "461", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } - } ] - }, - "element" : [ { - "name" : "a", - "value" : { - "localId" : "454", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - } - }, { - "name" : "b", - "value" : { - "localId" : "455", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "d", - "type" : "Literal" - } - } ] - }, { - "localId" : "462", - "type" : "Tuple", - "resultTypeSpecifier" : { - "localId" : "466", - "type" : "TupleTypeSpecifier", - "element" : [ { - "localId" : "467", - "name" : "a", - "elementType" : { - "localId" : "468", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "469", - "name" : "b", - "elementType" : { - "localId" : "470", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } - } ] - }, - "element" : [ { - "name" : "a", - "value" : { - "localId" : "463", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal" - } - }, { - "name" : "b", - "value" : { - "localId" : "464", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "d", - "type" : "Literal" - } - } ] - }, { - "localId" : "471", - "type" : "Tuple", - "resultTypeSpecifier" : { - "localId" : "475", - "type" : "TupleTypeSpecifier", - "element" : [ { - "localId" : "476", - "name" : "a", - "elementType" : { - "localId" : "477", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "478", - "name" : "b", - "elementType" : { - "localId" : "479", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } - } ] - }, - "element" : [ { - "name" : "a", - "value" : { - "localId" : "472", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal" - } - }, { - "name" : "b", - "value" : { - "localId" : "473", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "c", - "type" : "Literal" - } - } ] - } ] - } ] - } - }, { - "localId" : "520", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "NullIncludes", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "520", - "s" : [ { - "value" : [ "","define ","NullIncludes",": " ] - }, { - "r" : "537", - "s" : [ { - "r" : "521", - "s" : [ { - "r" : "522", - "value" : [ "{","1",", ","2",", ","3",", ","4",", ","5","}" ] - } ] - }, { - "r" : "537", - "value" : [ " ","properly included in"," " ] - }, { - "r" : "529", - "s" : [ { - "r" : "530", - "value" : [ "null"," as " ] - }, { - "r" : "531", - "s" : [ { - "value" : [ "List<" ] - }, { - "r" : "532", - "s" : [ { - "value" : [ "Integer" ] - } ] - }, { - "value" : [ ">" ] - } ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "537", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "ProperIncludedIn", - "signature" : [ { - "localId" : "538", - "type" : "ListTypeSpecifier", + } ] + } + }, + "element" : [ { + "type" : "Tuple", + "localId" : "453", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "TupleTypeSpecifier", + "localId" : "457", + "annotation" : [ ], + "element" : [ { + "localId" : "458", + "name" : "a", + "annotation" : [ ], "elementType" : { - "localId" : "539", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" + "type" : "NamedTypeSpecifier", + "localId" : "459", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] } - }, { - "localId" : "540", - "type" : "ListTypeSpecifier", + }, { + "localId" : "460", + "name" : "b", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "461", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } + } ] + }, + "element" : [ { + "name" : "a", + "value" : { + "type" : "Literal", + "localId" : "454", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + } + }, { + "name" : "b", + "value" : { + "type" : "Literal", + "localId" : "455", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "d", + "annotation" : [ ] + } + } ] + }, { + "type" : "Tuple", + "localId" : "462", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "TupleTypeSpecifier", + "localId" : "466", + "annotation" : [ ], + "element" : [ { + "localId" : "467", + "name" : "a", + "annotation" : [ ], "elementType" : { - "localId" : "541", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" + "type" : "NamedTypeSpecifier", + "localId" : "468", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] } - } ], - "operand" : [ { - "localId" : "521", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "527", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "528", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "element" : [ { - "localId" : "522", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, { - "localId" : "523", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal" - }, { - "localId" : "524", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, { - "localId" : "525", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "4", - "type" : "Literal" - }, { - "localId" : "526", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal" - } ] - }, { - "localId" : "529", - "strict" : false, - "type" : "As", - "resultTypeSpecifier" : { - "localId" : "535", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "536", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "signature" : [ ], - "operand" : { - "localId" : "530", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - }, - "asTypeSpecifier" : { - "localId" : "531", - "type" : "ListTypeSpecifier", - "resultTypeSpecifier" : { - "localId" : "533", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "534", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "elementType" : { - "localId" : "532", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } + }, { + "localId" : "469", + "name" : "b", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "470", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } + } ] + }, + "element" : [ { + "name" : "a", + "value" : { + "type" : "Literal", + "localId" : "463", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "annotation" : [ ] + } + }, { + "name" : "b", + "value" : { + "type" : "Literal", + "localId" : "464", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "d", + "annotation" : [ ] + } + } ] + }, { + "type" : "Tuple", + "localId" : "471", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "TupleTypeSpecifier", + "localId" : "475", + "annotation" : [ ], + "element" : [ { + "localId" : "476", + "name" : "a", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "477", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] } - } ] + }, { + "localId" : "478", + "name" : "b", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "479", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } + } ] + }, + "element" : [ { + "name" : "a", + "value" : { + "type" : "Literal", + "localId" : "472", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "annotation" : [ ] + } + }, { + "name" : "b", + "value" : { + "type" : "Literal", + "localId" : "473", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "c", + "annotation" : [ ] + } + } ] + } ] + } ] + } + }, { + "localId" : "520", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "NullIncludes", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "520", + "s" : [ { + "value" : [ "", "define ", "NullIncludes", ": " ] + }, { + "r" : "537", + "s" : [ { + "r" : "521", + "s" : [ { + "r" : "522", + "value" : [ "{", "1", ", ", "2", ", ", "3", ", ", "4", ", ", "5", "}" ] + } ] + }, { + "r" : "537", + "value" : [ " ", "properly included in", " " ] + }, { + "r" : "529", + "s" : [ { + "r" : "530", + "value" : [ "null", " as " ] + }, { + "r" : "531", + "s" : [ { + "value" : [ "List<" ] + }, { + "r" : "532", + "s" : [ { + "value" : [ "Integer" ] + } ] + }, { + "value" : [ ">" ] + } ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "ProperIncludedIn", + "localId" : "537", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "ListTypeSpecifier", + "localId" : "538", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "539", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, { + "type" : "ListTypeSpecifier", + "localId" : "540", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "541", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "List", + "localId" : "521", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "527", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "528", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "element" : [ { + "type" : "Literal", + "localId" : "522", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "523", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "524", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "525", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "4", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "526", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "5", + "annotation" : [ ] + } ] + }, { + "type" : "As", + "localId" : "529", + "strict" : false, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "535", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "536", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "signature" : [ ], + "operand" : { + "type" : "Null", + "localId" : "530", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + }, + "asTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "531", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "533", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "534", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "532", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } } - }, { - "localId" : "551", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "NullIncluded", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "551", + } ] + } + }, { + "localId" : "551", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "NullIncluded", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "551", + "s" : [ { + "value" : [ "", "define ", "NullIncluded", ": " ] + }, { + "r" : "570", + "s" : [ { + "r" : "552", + "s" : [ { + "value" : [ "(" ] + }, { + "r" : "552", "s" : [ { - "value" : [ "","define ","NullIncluded",": " ] - }, { - "r" : "570", - "s" : [ { - "r" : "552", - "s" : [ { - "value" : [ "(" ] - }, { - "r" : "552", - "s" : [ { - "r" : "553", - "value" : [ "null"," as " ] - }, { - "r" : "554", - "s" : [ { - "value" : [ "List<" ] - }, { - "r" : "555", - "s" : [ { - "value" : [ "Integer" ] - } ] - }, { - "value" : [ ">" ] - } ] - } ] - }, { - "value" : [ ")" ] - } ] - }, { - "r" : "570", - "value" : [ " ","properly included in"," " ] - }, { - "r" : "562", - "s" : [ { - "r" : "563", - "value" : [ "{","1",", ","2",", ","3",", ","4",", ","5","}" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "570", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "ProperIncludedIn", - "signature" : [ { - "localId" : "571", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "572", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "573", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "574", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "552", - "strict" : false, - "type" : "As", - "resultTypeSpecifier" : { - "localId" : "560", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "561", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "signature" : [ ], - "operand" : { - "localId" : "553", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - }, - "asTypeSpecifier" : { - "localId" : "554", - "type" : "ListTypeSpecifier", - "resultTypeSpecifier" : { - "localId" : "556", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "557", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "elementType" : { - "localId" : "555", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } - }, { - "localId" : "562", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "568", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "569", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "element" : [ { - "localId" : "563", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, { - "localId" : "564", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal" - }, { - "localId" : "565", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, { - "localId" : "566", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "4", - "type" : "Literal" - }, { - "localId" : "567", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal" - } ] - } ] - } - } ] - } - } + "r" : "553", + "value" : [ "null", " as " ] + }, { + "r" : "554", + "s" : [ { + "value" : [ "List<" ] + }, { + "r" : "555", + "s" : [ { + "value" : [ "Integer" ] + } ] + }, { + "value" : [ ">" ] + } ] + } ] + }, { + "value" : [ ")" ] + } ] + }, { + "r" : "570", + "value" : [ " ", "properly included in", " " ] + }, { + "r" : "562", + "s" : [ { + "r" : "563", + "value" : [ "{", "1", ", ", "2", ", ", "3", ", ", "4", ", ", "5", "}" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "ProperIncludedIn", + "localId" : "570", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "ListTypeSpecifier", + "localId" : "571", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "572", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, { + "type" : "ListTypeSpecifier", + "localId" : "573", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "574", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "As", + "localId" : "552", + "strict" : false, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "560", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "561", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "signature" : [ ], + "operand" : { + "type" : "Null", + "localId" : "553", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + }, + "asTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "554", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "556", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "557", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "555", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } + }, { + "type" : "List", + "localId" : "562", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "568", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "569", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "element" : [ { + "type" : "Literal", + "localId" : "563", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "564", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "565", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "566", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "4", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "567", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "5", + "annotation" : [ ] + } ] + } ] + } + } ] + } + } } /* Flatten @@ -25102,474 +28507,544 @@ define NullValue: flatten null */ module.exports['Flatten'] = { - "library" : { - "localId" : "0", - "annotation" : [ { - "translatorVersion" : "3.27.0", - "translatorOptions" : "EnableDateRangeOptimization,EnableAnnotations,EnableResultTypes", - "signatureLevel" : "All", - "type" : "CqlToElmInfo" + "library" : { + "localId" : "0", + "annotation" : [ { + "type" : "CqlToElmInfo", + "translatorVersion" : "4.2.0", + "translatorOptions" : "EnableDateRangeOptimization,EnableAnnotations,EnableResultTypes", + "signatureLevel" : "All" + }, { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "265", + "s" : [ { + "value" : [ "", "library TestSnippet version '1'" ] + } ] + } + } ], + "identifier" : { + "id" : "TestSnippet", + "version" : "1" + }, + "schemaIdentifier" : { + "id" : "urn:hl7-org:elm", + "version" : "r1" + }, + "usings" : { + "def" : [ { + "localId" : "1", + "localIdentifier" : "System", + "uri" : "urn:hl7-org:elm-types:r1", + "annotation" : [ ] }, { - "type" : "Annotation", - "s" : { - "r" : "265", + "localId" : "206", + "localIdentifier" : "Simple", + "uri" : "https://github.com/cqframework/cql-execution/simple", + "version" : "1.0.0", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "206", "s" : [ { - "value" : [ "","library TestSnippet version '1'" ] - } ] - } - } ], - "identifier" : { - "id" : "TestSnippet", - "version" : "1" - }, - "schemaIdentifier" : { - "id" : "urn:hl7-org:elm", - "version" : "r1" - }, - "usings" : { - "def" : [ { - "localId" : "1", - "localIdentifier" : "System", - "uri" : "urn:hl7-org:elm-types:r1" - }, { - "localId" : "206", - "localIdentifier" : "Simple", - "uri" : "https://github.com/cqframework/cql-execution/simple", - "version" : "1.0.0", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "206", - "s" : [ { - "value" : [ "","using " ] - }, { - "s" : [ { - "value" : [ "Simple" ] - } ] - }, { - "value" : [ " version '1.0.0'" ] - } ] - } - } ] - } ] - }, - "contexts" : { - "def" : [ { - "localId" : "211", - "name" : "Patient" - } ] - }, - "statements" : { - "def" : [ { - "localId" : "209", - "name" : "Patient", - "context" : "Patient", - "expression" : { - "localId" : "210", - "type" : "SingletonFrom", - "signature" : [ ], - "operand" : { - "localId" : "208", - "dataType" : "{https://github.com/cqframework/cql-execution/simple}Patient", - "type" : "Retrieve", - "include" : [ ], - "codeFilter" : [ ], - "dateFilter" : [ ], - "otherFilter" : [ ] - } - } - }, { - "localId" : "214", - "name" : "ListOfLists", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "214", - "s" : [ { - "value" : [ "","define ","ListOfLists",": " ] - }, { - "r" : "215", - "s" : [ { - "value" : [ "flatten " ] - }, { - "r" : "216", - "s" : [ { - "value" : [ "{ " ] - }, { - "r" : "217", - "s" : [ { - "r" : "218", - "value" : [ "{","1",", ","2",", ","3","}" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "223", - "s" : [ { - "r" : "224", - "value" : [ "{","4",", ","5",", ","6","}" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "229", - "s" : [ { - "r" : "230", - "value" : [ "{","7",", ","8",", ","9","}" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "235", - "s" : [ { - "r" : "236", - "value" : [ "{","9",", ","8",", ","7",", ","6",", ","5","}" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "243", - "s" : [ { - "r" : "244", - "value" : [ "{","4","}" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "247", - "s" : [ { - "r" : "248", - "value" : [ "{","3",", ","2",", ","1","}" ] - } ] - }, { - "value" : [ " }" ] - } ] - } ] + "value" : [ "", "using " ] + }, { + "s" : [ { + "value" : [ "Simple" ] + } ] + }, { + "value" : [ " version '1.0.0'" ] + } ] + } + } ] + } ] + }, + "contexts" : { + "def" : [ { + "localId" : "211", + "name" : "Patient", + "annotation" : [ ] + } ] + }, + "statements" : { + "def" : [ { + "localId" : "209", + "name" : "Patient", + "context" : "Patient", + "annotation" : [ ], + "expression" : { + "type" : "SingletonFrom", + "localId" : "210", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Retrieve", + "localId" : "208", + "dataType" : "{https://github.com/cqframework/cql-execution/simple}Patient", + "annotation" : [ ], + "include" : [ ], + "codeFilter" : [ ], + "dateFilter" : [ ], + "otherFilter" : [ ] + } + } + }, { + "localId" : "214", + "name" : "ListOfLists", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "214", + "s" : [ { + "value" : [ "", "define ", "ListOfLists", ": " ] + }, { + "r" : "215", + "s" : [ { + "value" : [ "flatten " ] + }, { + "r" : "216", + "s" : [ { + "value" : [ "{ " ] + }, { + "r" : "217", + "s" : [ { + "r" : "218", + "value" : [ "{", "1", ", ", "2", ", ", "3", "}" ] } ] - } - } ], + }, { + "value" : [ ", " ] + }, { + "r" : "223", + "s" : [ { + "r" : "224", + "value" : [ "{", "4", ", ", "5", ", ", "6", "}" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "229", + "s" : [ { + "r" : "230", + "value" : [ "{", "7", ", ", "8", ", ", "9", "}" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "235", + "s" : [ { + "r" : "236", + "value" : [ "{", "9", ", ", "8", ", ", "7", ", ", "6", ", ", "5", "}" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "243", + "s" : [ { + "r" : "244", + "value" : [ "{", "4", "}" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "247", + "s" : [ { + "r" : "248", + "value" : [ "{", "3", ", ", "2", ", ", "1", "}" ] + } ] + }, { + "value" : [ " }" ] + } ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "261", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "262", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "expression" : { + "type" : "Flatten", + "localId" : "215", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "259", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "260", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "signature" : [ { + "type" : "ListTypeSpecifier", + "localId" : "256", + "annotation" : [ ], + "elementType" : { + "type" : "ListTypeSpecifier", + "localId" : "257", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "258", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } + } ], + "operand" : { + "type" : "List", + "localId" : "216", + "annotation" : [ ], "resultTypeSpecifier" : { - "localId" : "261", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "262", + "type" : "ListTypeSpecifier", + "localId" : "253", + "annotation" : [ ], + "elementType" : { + "type" : "ListTypeSpecifier", + "localId" : "254", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "255", "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } + "annotation" : [ ] + } + } }, - "expression" : { - "localId" : "215", - "type" : "Flatten", - "resultTypeSpecifier" : { - "localId" : "259", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "260", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "signature" : [ { - "localId" : "256", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "257", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "258", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } - } ], - "operand" : { - "localId" : "216", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "253", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "254", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "255", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } - }, - "element" : [ { - "localId" : "217", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "221", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "222", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "element" : [ { - "localId" : "218", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, { - "localId" : "219", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal" - }, { - "localId" : "220", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - } ] - }, { - "localId" : "223", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "227", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "228", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "element" : [ { - "localId" : "224", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "4", - "type" : "Literal" - }, { - "localId" : "225", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal" - }, { - "localId" : "226", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "6", - "type" : "Literal" - } ] - }, { - "localId" : "229", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "233", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "234", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "element" : [ { - "localId" : "230", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "7", - "type" : "Literal" - }, { - "localId" : "231", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "8", - "type" : "Literal" - }, { - "localId" : "232", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "9", - "type" : "Literal" - } ] - }, { - "localId" : "235", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "241", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "242", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "element" : [ { - "localId" : "236", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "9", - "type" : "Literal" - }, { - "localId" : "237", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "8", - "type" : "Literal" - }, { - "localId" : "238", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "7", - "type" : "Literal" - }, { - "localId" : "239", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "6", - "type" : "Literal" - }, { - "localId" : "240", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal" - } ] - }, { - "localId" : "243", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "245", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "246", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "element" : [ { - "localId" : "244", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "4", - "type" : "Literal" - } ] - }, { - "localId" : "247", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "251", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "252", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "element" : [ { - "localId" : "248", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, { - "localId" : "249", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal" - }, { - "localId" : "250", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - } ] - } ] - } + "element" : [ { + "type" : "List", + "localId" : "217", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "221", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "222", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "element" : [ { + "type" : "Literal", + "localId" : "218", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "219", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "220", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + } ] + }, { + "type" : "List", + "localId" : "223", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "227", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "228", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "element" : [ { + "type" : "Literal", + "localId" : "224", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "4", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "225", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "5", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "226", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "6", + "annotation" : [ ] + } ] + }, { + "type" : "List", + "localId" : "229", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "233", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "234", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "element" : [ { + "type" : "Literal", + "localId" : "230", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "7", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "231", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "8", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "232", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "9", + "annotation" : [ ] + } ] + }, { + "type" : "List", + "localId" : "235", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "241", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "242", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "element" : [ { + "type" : "Literal", + "localId" : "236", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "9", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "237", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "8", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "238", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "7", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "239", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "6", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "240", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "5", + "annotation" : [ ] + } ] + }, { + "type" : "List", + "localId" : "243", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "245", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "246", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "element" : [ { + "type" : "Literal", + "localId" : "244", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "4", + "annotation" : [ ] + } ] + }, { + "type" : "List", + "localId" : "247", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "251", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "252", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "element" : [ { + "type" : "Literal", + "localId" : "248", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "249", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "250", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + } ] + } ] + } + } + }, { + "localId" : "265", + "name" : "NullValue", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "265", + "s" : [ { + "value" : [ "", "define ", "NullValue", ": " ] + }, { + "r" : "266", + "s" : [ { + "r" : "267", + "value" : [ "flatten ", "null" ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "277", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "278", + "name" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } + }, + "expression" : { + "type" : "Flatten", + "localId" : "266", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "275", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "276", + "name" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] } - }, { - "localId" : "265", - "name" : "NullValue", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "265", - "s" : [ { - "value" : [ "","define ","NullValue",": " ] - }, { - "r" : "266", - "s" : [ { - "r" : "267", - "value" : [ "flatten ","null" ] - } ] - } ] - } - } ], - "resultTypeSpecifier" : { - "localId" : "277", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "278", - "name" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "NamedTypeSpecifier" - } + }, + "signature" : [ { + "type" : "ListTypeSpecifier", + "localId" : "272", + "annotation" : [ ], + "elementType" : { + "type" : "ListTypeSpecifier", + "localId" : "273", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "274", + "name" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } + } + } ], + "operand" : { + "type" : "As", + "localId" : "268", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Null", + "localId" : "267", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] }, - "expression" : { - "localId" : "266", - "type" : "Flatten", - "resultTypeSpecifier" : { - "localId" : "275", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "276", - "name" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "NamedTypeSpecifier" - } - }, - "signature" : [ { - "localId" : "272", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "273", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "274", - "name" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "NamedTypeSpecifier" - } - } - } ], - "operand" : { - "localId" : "268", - "type" : "As", - "signature" : [ ], - "operand" : { - "localId" : "267", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - }, - "asTypeSpecifier" : { - "localId" : "269", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "270", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "271", - "name" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "NamedTypeSpecifier" - } - } - } - } + "asTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "269", + "annotation" : [ ], + "elementType" : { + "type" : "ListTypeSpecifier", + "localId" : "270", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "271", + "name" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } + } } - } ] - } - } + } + } + } ] + } + } } /* Distinct @@ -25577,972 +29052,1115 @@ library TestSnippet version '1' using Simple version '1.0.0' context Patient define LotsOfDups: distinct {1, 2, 2, 3, 3, 3, 4, 4, 4, 4, 5, 5, 5, 5, 5, 4, 3, 2, 1} -define NoDups: distinct {2, 4, 6, 8, 10} -define DupsTuples: distinct { Tuple{ hello: 'world' }, Tuple{ hello: 'cleveland' }, Tuple{ hello: 'world' }, Tuple{ hello: 'dolly' } } -define NoDupsTuples: distinct { Tuple{ hello: 'world' }, Tuple{ hello: 'cleveland' } } -define DuplicateNulls: distinct {null, 1, 2, null, 3, 4, 5, null} -*/ - -module.exports['Distinct'] = { - "library" : { - "localId" : "0", - "annotation" : [ { - "translatorVersion" : "3.27.0", - "translatorOptions" : "EnableDateRangeOptimization,EnableAnnotations,EnableResultTypes", - "signatureLevel" : "All", - "type" : "CqlToElmInfo" - }, { - "type" : "Annotation", - "s" : { - "r" : "342", - "s" : [ { - "value" : [ "","library TestSnippet version '1'" ] - } ] - } - } ], - "identifier" : { - "id" : "TestSnippet", - "version" : "1" - }, - "schemaIdentifier" : { - "id" : "urn:hl7-org:elm", - "version" : "r1" - }, - "usings" : { - "def" : [ { - "localId" : "1", - "localIdentifier" : "System", - "uri" : "urn:hl7-org:elm-types:r1" - }, { - "localId" : "206", - "localIdentifier" : "Simple", - "uri" : "https://github.com/cqframework/cql-execution/simple", - "version" : "1.0.0", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "206", - "s" : [ { - "value" : [ "","using " ] - }, { - "s" : [ { - "value" : [ "Simple" ] - } ] - }, { - "value" : [ " version '1.0.0'" ] - } ] - } - } ] - } ] - }, - "contexts" : { - "def" : [ { - "localId" : "211", - "name" : "Patient" - } ] - }, - "statements" : { - "def" : [ { - "localId" : "209", - "name" : "Patient", - "context" : "Patient", - "expression" : { - "localId" : "210", - "type" : "SingletonFrom", - "signature" : [ ], - "operand" : { - "localId" : "208", - "dataType" : "{https://github.com/cqframework/cql-execution/simple}Patient", - "type" : "Retrieve", - "include" : [ ], - "codeFilter" : [ ], - "dateFilter" : [ ], - "otherFilter" : [ ] - } - } - }, { - "localId" : "214", - "name" : "LotsOfDups", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "214", - "s" : [ { - "value" : [ "","define ","LotsOfDups",": " ] - }, { - "r" : "215", - "s" : [ { - "value" : [ "distinct " ] - }, { - "r" : "216", - "s" : [ { - "r" : "217", - "value" : [ "{","1",", ","2",", ","2",", ","3",", ","3",", ","3",", ","4",", ","4",", ","4",", ","4",", ","5",", ","5",", ","5",", ","5",", ","5",", ","4",", ","3",", ","2",", ","1","}" ] - } ] - } ] - } ] - } - } ], - "resultTypeSpecifier" : { - "localId" : "242", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "243", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "expression" : { - "localId" : "215", - "type" : "Distinct", - "resultTypeSpecifier" : { - "localId" : "240", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "241", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "signature" : [ { - "localId" : "238", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "239", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : { - "localId" : "216", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "236", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "237", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "element" : [ { - "localId" : "217", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, { - "localId" : "218", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal" - }, { - "localId" : "219", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal" - }, { - "localId" : "220", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, { - "localId" : "221", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, { - "localId" : "222", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, { - "localId" : "223", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "4", - "type" : "Literal" - }, { - "localId" : "224", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "4", - "type" : "Literal" - }, { - "localId" : "225", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "4", - "type" : "Literal" - }, { - "localId" : "226", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "4", - "type" : "Literal" - }, { - "localId" : "227", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal" - }, { - "localId" : "228", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal" - }, { - "localId" : "229", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal" - }, { - "localId" : "230", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal" - }, { - "localId" : "231", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal" - }, { - "localId" : "232", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "4", - "type" : "Literal" - }, { - "localId" : "233", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, { - "localId" : "234", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal" - }, { - "localId" : "235", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - } ] - } - } - }, { - "localId" : "246", - "name" : "NoDups", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "246", - "s" : [ { - "value" : [ "","define ","NoDups",": " ] - }, { - "r" : "247", - "s" : [ { - "value" : [ "distinct " ] - }, { - "r" : "248", - "s" : [ { - "r" : "249", - "value" : [ "{","2",", ","4",", ","6",", ","8",", ","10","}" ] - } ] - } ] - } ] - } - } ], - "resultTypeSpecifier" : { - "localId" : "260", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "261", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "expression" : { - "localId" : "247", - "type" : "Distinct", - "resultTypeSpecifier" : { - "localId" : "258", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "259", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "signature" : [ { - "localId" : "256", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "257", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : { - "localId" : "248", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "254", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "255", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "element" : [ { - "localId" : "249", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal" - }, { - "localId" : "250", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "4", - "type" : "Literal" - }, { - "localId" : "251", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "6", - "type" : "Literal" - }, { - "localId" : "252", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "8", - "type" : "Literal" - }, { - "localId" : "253", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal" - } ] - } - } - }, { - "localId" : "264", - "name" : "DupsTuples", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "264", - "s" : [ { - "value" : [ "","define ","DupsTuples",": " ] - }, { - "r" : "265", - "s" : [ { - "value" : [ "distinct " ] - }, { - "r" : "266", - "s" : [ { - "value" : [ "{ " ] - }, { - "r" : "267", - "s" : [ { - "value" : [ "Tuple{ " ] - }, { - "s" : [ { - "value" : [ "hello",": " ] - }, { - "r" : "268", - "s" : [ { - "value" : [ "'world'" ] - } ] - } ] - }, { - "value" : [ " }" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "273", - "s" : [ { - "value" : [ "Tuple{ " ] - }, { - "s" : [ { - "value" : [ "hello",": " ] - }, { - "r" : "274", - "s" : [ { - "value" : [ "'cleveland'" ] - } ] - } ] - }, { - "value" : [ " }" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "279", - "s" : [ { - "value" : [ "Tuple{ " ] - }, { - "s" : [ { - "value" : [ "hello",": " ] - }, { - "r" : "280", - "s" : [ { - "value" : [ "'world'" ] - } ] - } ] - }, { - "value" : [ " }" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "285", - "s" : [ { - "value" : [ "Tuple{ " ] - }, { - "s" : [ { - "value" : [ "hello",": " ] - }, { - "r" : "286", - "s" : [ { - "value" : [ "'dolly'" ] - } ] - } ] - }, { - "value" : [ " }" ] - } ] - }, { - "value" : [ " }" ] - } ] - } ] - } ] - } - } ], +define NoDups: distinct {2, 4, 6, 8, 10} +define DupsTuples: distinct { Tuple{ hello: 'world' }, Tuple{ hello: 'cleveland' }, Tuple{ hello: 'world' }, Tuple{ hello: 'dolly' } } +define NoDupsTuples: distinct { Tuple{ hello: 'world' }, Tuple{ hello: 'cleveland' } } +define DuplicateNulls: distinct {null, 1, 2, null, 3, 4, 5, null} +*/ + +module.exports['Distinct'] = { + "library" : { + "localId" : "0", + "annotation" : [ { + "type" : "CqlToElmInfo", + "translatorVersion" : "4.2.0", + "translatorOptions" : "EnableDateRangeOptimization,EnableAnnotations,EnableResultTypes", + "signatureLevel" : "All" + }, { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "342", + "s" : [ { + "value" : [ "", "library TestSnippet version '1'" ] + } ] + } + } ], + "identifier" : { + "id" : "TestSnippet", + "version" : "1" + }, + "schemaIdentifier" : { + "id" : "urn:hl7-org:elm", + "version" : "r1" + }, + "usings" : { + "def" : [ { + "localId" : "1", + "localIdentifier" : "System", + "uri" : "urn:hl7-org:elm-types:r1", + "annotation" : [ ] + }, { + "localId" : "206", + "localIdentifier" : "Simple", + "uri" : "https://github.com/cqframework/cql-execution/simple", + "version" : "1.0.0", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "206", + "s" : [ { + "value" : [ "", "using " ] + }, { + "s" : [ { + "value" : [ "Simple" ] + } ] + }, { + "value" : [ " version '1.0.0'" ] + } ] + } + } ] + } ] + }, + "contexts" : { + "def" : [ { + "localId" : "211", + "name" : "Patient", + "annotation" : [ ] + } ] + }, + "statements" : { + "def" : [ { + "localId" : "209", + "name" : "Patient", + "context" : "Patient", + "annotation" : [ ], + "expression" : { + "type" : "SingletonFrom", + "localId" : "210", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Retrieve", + "localId" : "208", + "dataType" : "{https://github.com/cqframework/cql-execution/simple}Patient", + "annotation" : [ ], + "include" : [ ], + "codeFilter" : [ ], + "dateFilter" : [ ], + "otherFilter" : [ ] + } + } + }, { + "localId" : "214", + "name" : "LotsOfDups", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "214", + "s" : [ { + "value" : [ "", "define ", "LotsOfDups", ": " ] + }, { + "r" : "215", + "s" : [ { + "value" : [ "distinct " ] + }, { + "r" : "216", + "s" : [ { + "r" : "217", + "value" : [ "{", "1", ", ", "2", ", ", "2", ", ", "3", ", ", "3", ", ", "3", ", ", "4", ", ", "4", ", ", "4", ", ", "4", ", ", "5", ", ", "5", ", ", "5", ", ", "5", ", ", "5", ", ", "4", ", ", "3", ", ", "2", ", ", "1", "}" ] + } ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "242", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "243", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "expression" : { + "type" : "Distinct", + "localId" : "215", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "240", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "241", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "signature" : [ { + "type" : "ListTypeSpecifier", + "localId" : "238", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "239", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } ], + "operand" : { + "type" : "List", + "localId" : "216", + "annotation" : [ ], "resultTypeSpecifier" : { - "localId" : "303", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "304", - "type" : "TupleTypeSpecifier", - "element" : [ { - "localId" : "305", - "name" : "hello", - "elementType" : { - "localId" : "306", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } - } ] - } + "type" : "ListTypeSpecifier", + "localId" : "236", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "237", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } }, - "expression" : { - "localId" : "265", - "type" : "Distinct", - "resultTypeSpecifier" : { - "localId" : "299", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "300", - "type" : "TupleTypeSpecifier", - "element" : [ { - "localId" : "301", - "name" : "hello", - "elementType" : { - "localId" : "302", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } - } ] - } - }, - "signature" : [ { - "localId" : "295", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "296", - "type" : "TupleTypeSpecifier", - "element" : [ { - "localId" : "297", - "name" : "hello", - "elementType" : { - "localId" : "298", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } - } ] - } - } ], - "operand" : { - "localId" : "266", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "291", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "292", - "type" : "TupleTypeSpecifier", - "element" : [ { - "localId" : "293", - "name" : "hello", - "elementType" : { - "localId" : "294", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } - } ] - } - }, - "element" : [ { - "localId" : "267", - "type" : "Tuple", - "resultTypeSpecifier" : { - "localId" : "270", - "type" : "TupleTypeSpecifier", - "element" : [ { - "localId" : "271", - "name" : "hello", - "elementType" : { - "localId" : "272", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } - } ] - }, - "element" : [ { - "name" : "hello", - "value" : { - "localId" : "268", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "world", - "type" : "Literal" - } - } ] - }, { - "localId" : "273", - "type" : "Tuple", - "resultTypeSpecifier" : { - "localId" : "276", - "type" : "TupleTypeSpecifier", - "element" : [ { - "localId" : "277", - "name" : "hello", - "elementType" : { - "localId" : "278", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } - } ] - }, - "element" : [ { - "name" : "hello", - "value" : { - "localId" : "274", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "cleveland", - "type" : "Literal" - } - } ] - }, { - "localId" : "279", - "type" : "Tuple", - "resultTypeSpecifier" : { - "localId" : "282", - "type" : "TupleTypeSpecifier", - "element" : [ { - "localId" : "283", - "name" : "hello", - "elementType" : { - "localId" : "284", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } - } ] - }, - "element" : [ { - "name" : "hello", - "value" : { - "localId" : "280", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "world", - "type" : "Literal" - } - } ] - }, { - "localId" : "285", - "type" : "Tuple", - "resultTypeSpecifier" : { - "localId" : "288", - "type" : "TupleTypeSpecifier", - "element" : [ { - "localId" : "289", - "name" : "hello", - "elementType" : { - "localId" : "290", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } - } ] - }, - "element" : [ { - "name" : "hello", - "value" : { - "localId" : "286", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "dolly", - "type" : "Literal" - } - } ] - } ] - } - } - }, { - "localId" : "309", - "name" : "NoDupsTuples", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "309", - "s" : [ { - "value" : [ "","define ","NoDupsTuples",": " ] - }, { - "r" : "310", - "s" : [ { - "value" : [ "distinct " ] - }, { - "r" : "311", - "s" : [ { - "value" : [ "{ " ] - }, { - "r" : "312", - "s" : [ { - "value" : [ "Tuple{ " ] - }, { - "s" : [ { - "value" : [ "hello",": " ] - }, { - "r" : "313", - "s" : [ { - "value" : [ "'world'" ] - } ] - } ] - }, { - "value" : [ " }" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "318", - "s" : [ { - "value" : [ "Tuple{ " ] - }, { - "s" : [ { - "value" : [ "hello",": " ] - }, { - "r" : "319", - "s" : [ { - "value" : [ "'cleveland'" ] - } ] - } ] - }, { - "value" : [ " }" ] - } ] - }, { - "value" : [ " }" ] - } ] - } ] - } ] - } - } ], + "element" : [ { + "type" : "Literal", + "localId" : "217", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "218", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "219", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "220", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "221", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "222", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "223", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "4", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "224", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "4", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "225", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "4", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "226", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "4", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "227", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "5", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "228", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "5", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "229", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "5", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "230", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "5", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "231", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "5", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "232", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "4", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "233", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "234", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "235", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + } ] + } + } + }, { + "localId" : "246", + "name" : "NoDups", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "246", + "s" : [ { + "value" : [ "", "define ", "NoDups", ": " ] + }, { + "r" : "247", + "s" : [ { + "value" : [ "distinct " ] + }, { + "r" : "248", + "s" : [ { + "r" : "249", + "value" : [ "{", "2", ", ", "4", ", ", "6", ", ", "8", ", ", "10", "}" ] + } ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "260", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "261", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "expression" : { + "type" : "Distinct", + "localId" : "247", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "258", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "259", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "signature" : [ { + "type" : "ListTypeSpecifier", + "localId" : "256", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "257", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } ], + "operand" : { + "type" : "List", + "localId" : "248", + "annotation" : [ ], "resultTypeSpecifier" : { - "localId" : "336", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "337", - "type" : "TupleTypeSpecifier", - "element" : [ { - "localId" : "338", - "name" : "hello", - "elementType" : { - "localId" : "339", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } - } ] - } + "type" : "ListTypeSpecifier", + "localId" : "254", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "255", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } }, - "expression" : { - "localId" : "310", - "type" : "Distinct", - "resultTypeSpecifier" : { - "localId" : "332", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "333", - "type" : "TupleTypeSpecifier", - "element" : [ { - "localId" : "334", - "name" : "hello", - "elementType" : { - "localId" : "335", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } - } ] - } - }, - "signature" : [ { - "localId" : "328", - "type" : "ListTypeSpecifier", + "element" : [ { + "type" : "Literal", + "localId" : "249", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "250", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "4", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "251", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "6", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "252", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "8", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "253", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "10", + "annotation" : [ ] + } ] + } + } + }, { + "localId" : "264", + "name" : "DupsTuples", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "264", + "s" : [ { + "value" : [ "", "define ", "DupsTuples", ": " ] + }, { + "r" : "265", + "s" : [ { + "value" : [ "distinct " ] + }, { + "r" : "266", + "s" : [ { + "value" : [ "{ " ] + }, { + "r" : "267", + "s" : [ { + "value" : [ "Tuple{ " ] + }, { + "s" : [ { + "value" : [ "hello", ": " ] + }, { + "r" : "268", + "s" : [ { + "value" : [ "'world'" ] + } ] + } ] + }, { + "value" : [ " }" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "273", + "s" : [ { + "value" : [ "Tuple{ " ] + }, { + "s" : [ { + "value" : [ "hello", ": " ] + }, { + "r" : "274", + "s" : [ { + "value" : [ "'cleveland'" ] + } ] + } ] + }, { + "value" : [ " }" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "279", + "s" : [ { + "value" : [ "Tuple{ " ] + }, { + "s" : [ { + "value" : [ "hello", ": " ] + }, { + "r" : "280", + "s" : [ { + "value" : [ "'world'" ] + } ] + } ] + }, { + "value" : [ " }" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "285", + "s" : [ { + "value" : [ "Tuple{ " ] + }, { + "s" : [ { + "value" : [ "hello", ": " ] + }, { + "r" : "286", + "s" : [ { + "value" : [ "'dolly'" ] + } ] + } ] + }, { + "value" : [ " }" ] + } ] + }, { + "value" : [ " }" ] + } ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "303", + "annotation" : [ ], + "elementType" : { + "type" : "TupleTypeSpecifier", + "localId" : "304", + "annotation" : [ ], + "element" : [ { + "localId" : "305", + "name" : "hello", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "306", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } + } ] + } + }, + "expression" : { + "type" : "Distinct", + "localId" : "265", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "299", + "annotation" : [ ], + "elementType" : { + "type" : "TupleTypeSpecifier", + "localId" : "300", + "annotation" : [ ], + "element" : [ { + "localId" : "301", + "name" : "hello", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "302", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } + } ] + } + }, + "signature" : [ { + "type" : "ListTypeSpecifier", + "localId" : "295", + "annotation" : [ ], + "elementType" : { + "type" : "TupleTypeSpecifier", + "localId" : "296", + "annotation" : [ ], + "element" : [ { + "localId" : "297", + "name" : "hello", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "298", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } + } ] + } + } ], + "operand" : { + "type" : "List", + "localId" : "266", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "291", + "annotation" : [ ], + "elementType" : { + "type" : "TupleTypeSpecifier", + "localId" : "292", + "annotation" : [ ], + "element" : [ { + "localId" : "293", + "name" : "hello", + "annotation" : [ ], "elementType" : { - "localId" : "329", - "type" : "TupleTypeSpecifier", - "element" : [ { - "localId" : "330", - "name" : "hello", - "elementType" : { - "localId" : "331", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } - } ] + "type" : "NamedTypeSpecifier", + "localId" : "294", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] } - } ], - "operand" : { - "localId" : "311", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "324", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "325", - "type" : "TupleTypeSpecifier", - "element" : [ { - "localId" : "326", - "name" : "hello", - "elementType" : { - "localId" : "327", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } - } ] - } - }, - "element" : [ { - "localId" : "312", - "type" : "Tuple", - "resultTypeSpecifier" : { - "localId" : "315", - "type" : "TupleTypeSpecifier", - "element" : [ { - "localId" : "316", - "name" : "hello", - "elementType" : { - "localId" : "317", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } - } ] - }, - "element" : [ { - "name" : "hello", - "value" : { - "localId" : "313", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "world", - "type" : "Literal" - } - } ] - }, { - "localId" : "318", - "type" : "Tuple", - "resultTypeSpecifier" : { - "localId" : "321", - "type" : "TupleTypeSpecifier", - "element" : [ { - "localId" : "322", - "name" : "hello", - "elementType" : { - "localId" : "323", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } - } ] - }, - "element" : [ { - "name" : "hello", - "value" : { - "localId" : "319", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "cleveland", - "type" : "Literal" - } - } ] - } ] - } - } - }, { - "localId" : "342", - "name" : "DuplicateNulls", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "342", + } ] + } + }, + "element" : [ { + "type" : "Tuple", + "localId" : "267", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "TupleTypeSpecifier", + "localId" : "270", + "annotation" : [ ], + "element" : [ { + "localId" : "271", + "name" : "hello", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "272", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } + } ] + }, + "element" : [ { + "name" : "hello", + "value" : { + "type" : "Literal", + "localId" : "268", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "world", + "annotation" : [ ] + } + } ] + }, { + "type" : "Tuple", + "localId" : "273", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "TupleTypeSpecifier", + "localId" : "276", + "annotation" : [ ], + "element" : [ { + "localId" : "277", + "name" : "hello", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "278", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } + } ] + }, + "element" : [ { + "name" : "hello", + "value" : { + "type" : "Literal", + "localId" : "274", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "cleveland", + "annotation" : [ ] + } + } ] + }, { + "type" : "Tuple", + "localId" : "279", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "TupleTypeSpecifier", + "localId" : "282", + "annotation" : [ ], + "element" : [ { + "localId" : "283", + "name" : "hello", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "284", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } + } ] + }, + "element" : [ { + "name" : "hello", + "value" : { + "type" : "Literal", + "localId" : "280", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "world", + "annotation" : [ ] + } + } ] + }, { + "type" : "Tuple", + "localId" : "285", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "TupleTypeSpecifier", + "localId" : "288", + "annotation" : [ ], + "element" : [ { + "localId" : "289", + "name" : "hello", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "290", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } + } ] + }, + "element" : [ { + "name" : "hello", + "value" : { + "type" : "Literal", + "localId" : "286", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "dolly", + "annotation" : [ ] + } + } ] + } ] + } + } + }, { + "localId" : "309", + "name" : "NoDupsTuples", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "309", + "s" : [ { + "value" : [ "", "define ", "NoDupsTuples", ": " ] + }, { + "r" : "310", + "s" : [ { + "value" : [ "distinct " ] + }, { + "r" : "311", + "s" : [ { + "value" : [ "{ " ] + }, { + "r" : "312", "s" : [ { - "value" : [ "","define ","DuplicateNulls",": " ] - }, { - "r" : "343", - "s" : [ { - "value" : [ "distinct " ] - }, { - "r" : "344", - "s" : [ { - "r" : "345", - "value" : [ "{","null",", ","1",", ","2",", ","null",", ","3",", ","4",", ","5",", ","null","}" ] - } ] - } ] - } ] - } - } ], + "value" : [ "Tuple{ " ] + }, { + "s" : [ { + "value" : [ "hello", ": " ] + }, { + "r" : "313", + "s" : [ { + "value" : [ "'world'" ] + } ] + } ] + }, { + "value" : [ " }" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "318", + "s" : [ { + "value" : [ "Tuple{ " ] + }, { + "s" : [ { + "value" : [ "hello", ": " ] + }, { + "r" : "319", + "s" : [ { + "value" : [ "'cleveland'" ] + } ] + } ] + }, { + "value" : [ " }" ] + } ] + }, { + "value" : [ " }" ] + } ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "336", + "annotation" : [ ], + "elementType" : { + "type" : "TupleTypeSpecifier", + "localId" : "337", + "annotation" : [ ], + "element" : [ { + "localId" : "338", + "name" : "hello", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "339", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } + } ] + } + }, + "expression" : { + "type" : "Distinct", + "localId" : "310", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "332", + "annotation" : [ ], + "elementType" : { + "type" : "TupleTypeSpecifier", + "localId" : "333", + "annotation" : [ ], + "element" : [ { + "localId" : "334", + "name" : "hello", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "335", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } + } ] + } + }, + "signature" : [ { + "type" : "ListTypeSpecifier", + "localId" : "328", + "annotation" : [ ], + "elementType" : { + "type" : "TupleTypeSpecifier", + "localId" : "329", + "annotation" : [ ], + "element" : [ { + "localId" : "330", + "name" : "hello", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "331", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } + } ] + } + } ], + "operand" : { + "type" : "List", + "localId" : "311", + "annotation" : [ ], "resultTypeSpecifier" : { - "localId" : "362", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "363", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } + "type" : "ListTypeSpecifier", + "localId" : "324", + "annotation" : [ ], + "elementType" : { + "type" : "TupleTypeSpecifier", + "localId" : "325", + "annotation" : [ ], + "element" : [ { + "localId" : "326", + "name" : "hello", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "327", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } + } ] + } }, - "expression" : { - "localId" : "343", - "type" : "Distinct", - "resultTypeSpecifier" : { - "localId" : "360", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "361", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "signature" : [ { - "localId" : "358", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "359", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : { - "localId" : "344", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "356", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "357", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "element" : [ { - "localId" : "353", - "asType" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "As", - "signature" : [ ], - "operand" : { - "localId" : "345", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - } - }, { - "localId" : "346", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, { - "localId" : "347", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal" - }, { - "localId" : "354", - "asType" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "As", - "signature" : [ ], - "operand" : { - "localId" : "348", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - } - }, { - "localId" : "349", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, { - "localId" : "350", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "4", - "type" : "Literal" - }, { - "localId" : "351", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal" - }, { - "localId" : "355", - "asType" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "As", - "signature" : [ ], - "operand" : { - "localId" : "352", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - } - } ] - } - } - } ] - } - } + "element" : [ { + "type" : "Tuple", + "localId" : "312", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "TupleTypeSpecifier", + "localId" : "315", + "annotation" : [ ], + "element" : [ { + "localId" : "316", + "name" : "hello", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "317", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } + } ] + }, + "element" : [ { + "name" : "hello", + "value" : { + "type" : "Literal", + "localId" : "313", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "world", + "annotation" : [ ] + } + } ] + }, { + "type" : "Tuple", + "localId" : "318", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "TupleTypeSpecifier", + "localId" : "321", + "annotation" : [ ], + "element" : [ { + "localId" : "322", + "name" : "hello", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "323", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } + } ] + }, + "element" : [ { + "name" : "hello", + "value" : { + "type" : "Literal", + "localId" : "319", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "cleveland", + "annotation" : [ ] + } + } ] + } ] + } + } + }, { + "localId" : "342", + "name" : "DuplicateNulls", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "342", + "s" : [ { + "value" : [ "", "define ", "DuplicateNulls", ": " ] + }, { + "r" : "343", + "s" : [ { + "value" : [ "distinct " ] + }, { + "r" : "344", + "s" : [ { + "r" : "345", + "value" : [ "{", "null", ", ", "1", ", ", "2", ", ", "null", ", ", "3", ", ", "4", ", ", "5", ", ", "null", "}" ] + } ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "362", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "363", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "expression" : { + "type" : "Distinct", + "localId" : "343", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "360", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "361", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "signature" : [ { + "type" : "ListTypeSpecifier", + "localId" : "358", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "359", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } ], + "operand" : { + "type" : "List", + "localId" : "344", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "356", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "357", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "element" : [ { + "type" : "As", + "localId" : "353", + "asType" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Null", + "localId" : "345", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } + }, { + "type" : "Literal", + "localId" : "346", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "347", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "annotation" : [ ] + }, { + "type" : "As", + "localId" : "354", + "asType" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Null", + "localId" : "348", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } + }, { + "type" : "Literal", + "localId" : "349", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "350", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "4", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "351", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "5", + "annotation" : [ ] + }, { + "type" : "As", + "localId" : "355", + "asType" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Null", + "localId" : "352", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } + } ] + } + } + } ] + } + } } /* First @@ -26559,1026 +30177,1164 @@ define NullValue: First(null as List) */ module.exports['First'] = { - "library" : { - "localId" : "0", - "annotation" : [ { - "translatorVersion" : "3.27.0", - "translatorOptions" : "EnableDateRangeOptimization,EnableAnnotations,EnableResultTypes", - "signatureLevel" : "All", - "type" : "CqlToElmInfo" + "library" : { + "localId" : "0", + "annotation" : [ { + "type" : "CqlToElmInfo", + "translatorVersion" : "4.2.0", + "translatorOptions" : "EnableDateRangeOptimization,EnableAnnotations,EnableResultTypes", + "signatureLevel" : "All" + }, { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "387", + "s" : [ { + "value" : [ "", "library TestSnippet version '1'" ] + } ] + } + } ], + "identifier" : { + "id" : "TestSnippet", + "version" : "1" + }, + "schemaIdentifier" : { + "id" : "urn:hl7-org:elm", + "version" : "r1" + }, + "usings" : { + "def" : [ { + "localId" : "1", + "localIdentifier" : "System", + "uri" : "urn:hl7-org:elm-types:r1", + "annotation" : [ ] }, { - "type" : "Annotation", - "s" : { - "r" : "387", + "localId" : "206", + "localIdentifier" : "Simple", + "uri" : "https://github.com/cqframework/cql-execution/simple", + "version" : "1.0.0", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "206", "s" : [ { - "value" : [ "","library TestSnippet version '1'" ] - } ] - } - } ], - "identifier" : { - "id" : "TestSnippet", - "version" : "1" - }, - "schemaIdentifier" : { - "id" : "urn:hl7-org:elm", - "version" : "r1" - }, - "usings" : { - "def" : [ { - "localId" : "1", - "localIdentifier" : "System", - "uri" : "urn:hl7-org:elm-types:r1" - }, { - "localId" : "206", - "localIdentifier" : "Simple", - "uri" : "https://github.com/cqframework/cql-execution/simple", - "version" : "1.0.0", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "206", - "s" : [ { - "value" : [ "","using " ] - }, { - "s" : [ { - "value" : [ "Simple" ] - } ] - }, { - "value" : [ " version '1.0.0'" ] - } ] - } - } ] - } ] - }, - "contexts" : { - "def" : [ { - "localId" : "211", - "name" : "Patient" - } ] - }, - "statements" : { - "def" : [ { - "localId" : "209", - "name" : "Patient", - "context" : "Patient", - "expression" : { - "localId" : "210", - "type" : "SingletonFrom", - "signature" : [ ], - "operand" : { - "localId" : "208", - "dataType" : "{https://github.com/cqframework/cql-execution/simple}Patient", - "type" : "Retrieve", - "include" : [ ], - "codeFilter" : [ ], - "dateFilter" : [ ], - "otherFilter" : [ ] - } - } - }, { - "localId" : "214", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "name" : "Numbers", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "214", - "s" : [ { - "value" : [ "","define ","Numbers",": " ] - }, { - "r" : "226", - "s" : [ { - "value" : [ "First","(" ] - }, { - "r" : "215", - "s" : [ { - "r" : "216", - "value" : [ "{","1",", ","2",", ","3",", ","4","}" ] - } ] - }, { - "value" : [ ")" ] - } ] + "value" : [ "", "using " ] + }, { + "s" : [ { + "value" : [ "Simple" ] + } ] + }, { + "value" : [ " version '1.0.0'" ] + } ] + } + } ] + } ] + }, + "contexts" : { + "def" : [ { + "localId" : "211", + "name" : "Patient", + "annotation" : [ ] + } ] + }, + "statements" : { + "def" : [ { + "localId" : "209", + "name" : "Patient", + "context" : "Patient", + "annotation" : [ ], + "expression" : { + "type" : "SingletonFrom", + "localId" : "210", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Retrieve", + "localId" : "208", + "dataType" : "{https://github.com/cqframework/cql-execution/simple}Patient", + "annotation" : [ ], + "include" : [ ], + "codeFilter" : [ ], + "dateFilter" : [ ], + "otherFilter" : [ ] + } + } + }, { + "localId" : "214", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "name" : "Numbers", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "214", + "s" : [ { + "value" : [ "", "define ", "Numbers", ": " ] + }, { + "r" : "226", + "s" : [ { + "value" : [ "First", "(" ] + }, { + "r" : "215", + "s" : [ { + "r" : "216", + "value" : [ "{", "1", ", ", "2", ", ", "3", ", ", "4", "}" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "First", + "localId" : "226", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ], + "signature" : [ { + "type" : "ListTypeSpecifier", + "localId" : "227", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "228", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } ], + "source" : { + "type" : "List", + "localId" : "215", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "220", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "221", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "element" : [ { + "type" : "Literal", + "localId" : "216", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "217", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "218", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "219", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "4", + "annotation" : [ ] + } ] + } + } + }, { + "localId" : "231", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "name" : "Letters", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "231", + "s" : [ { + "value" : [ "", "define ", "Letters", ": " ] + }, { + "r" : "245", + "s" : [ { + "value" : [ "First", "(" ] + }, { + "r" : "232", + "s" : [ { + "value" : [ "{" ] + }, { + "r" : "233", + "s" : [ { + "value" : [ "'a'" ] } ] - } - } ], - "expression" : { - "localId" : "226", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "First", - "signature" : [ { - "localId" : "227", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "228", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } ], - "source" : { - "localId" : "215", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "220", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "221", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "element" : [ { - "localId" : "216", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, { - "localId" : "217", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal" - }, { - "localId" : "218", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, { - "localId" : "219", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "4", - "type" : "Literal" - } ] - } - } - }, { - "localId" : "231", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "name" : "Letters", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "231", + }, { + "value" : [ ", " ] + }, { + "r" : "235", + "s" : [ { + "value" : [ "'b'" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "237", + "s" : [ { + "value" : [ "'c'" ] + } ] + }, { + "value" : [ "}" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "First", + "localId" : "245", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ], + "signature" : [ { + "type" : "ListTypeSpecifier", + "localId" : "246", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "247", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } + } ], + "source" : { + "type" : "List", + "localId" : "232", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "239", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "240", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } + }, + "element" : [ { + "type" : "Literal", + "localId" : "233", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "a", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "235", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "b", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "237", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "c", + "annotation" : [ ] + } ] + } + } + }, { + "localId" : "250", + "name" : "Lists", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "250", + "s" : [ { + "value" : [ "", "define ", "Lists", ": " ] + }, { + "r" : "278", + "s" : [ { + "value" : [ "First", "(" ] + }, { + "r" : "251", + "s" : [ { + "value" : [ "{" ] + }, { + "r" : "252", "s" : [ { - "value" : [ "","define ","Letters",": " ] + "value" : [ "{" ] }, { - "r" : "245", - "s" : [ { - "value" : [ "First","(" ] - }, { - "r" : "232", - "s" : [ { - "value" : [ "{" ] - }, { - "r" : "233", - "s" : [ { - "value" : [ "'a'" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "235", - "s" : [ { - "value" : [ "'b'" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "237", - "s" : [ { - "value" : [ "'c'" ] - } ] - }, { - "value" : [ "}" ] - } ] - }, { - "value" : [ ")" ] - } ] + "r" : "253", + "s" : [ { + "value" : [ "'a'" ] + } ] + }, { + "value" : [ "," ] + }, { + "r" : "255", + "s" : [ { + "value" : [ "'b'" ] + } ] + }, { + "value" : [ "," ] + }, { + "r" : "257", + "s" : [ { + "value" : [ "'c'" ] + } ] + }, { + "value" : [ "}" ] } ] - } - } ], - "expression" : { - "localId" : "245", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "type" : "First", - "signature" : [ { - "localId" : "246", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "247", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } - } ], - "source" : { - "localId" : "232", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "239", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "240", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } - }, - "element" : [ { - "localId" : "233", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "a", - "type" : "Literal" - }, { - "localId" : "235", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "b", - "type" : "Literal" - }, { - "localId" : "237", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "c", - "type" : "Literal" - } ] - } - } - }, { - "localId" : "250", - "name" : "Lists", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "250", - "s" : [ { - "value" : [ "","define ","Lists",": " ] - }, { - "r" : "278", - "s" : [ { - "value" : [ "First","(" ] - }, { - "r" : "251", - "s" : [ { - "value" : [ "{" ] - }, { - "r" : "252", - "s" : [ { - "value" : [ "{" ] - }, { - "r" : "253", - "s" : [ { - "value" : [ "'a'" ] - } ] - }, { - "value" : [ "," ] - }, { - "r" : "255", - "s" : [ { - "value" : [ "'b'" ] - } ] - }, { - "value" : [ "," ] - }, { - "r" : "257", - "s" : [ { - "value" : [ "'c'" ] - } ] - }, { - "value" : [ "}" ] - } ] - }, { - "value" : [ "," ] - }, { - "r" : "261", - "s" : [ { - "value" : [ "{" ] - }, { - "r" : "262", - "s" : [ { - "value" : [ "'d'" ] - } ] - }, { - "value" : [ "," ] - }, { - "r" : "264", - "s" : [ { - "value" : [ "'e'" ] - } ] - }, { - "value" : [ "," ] - }, { - "r" : "266", - "s" : [ { - "value" : [ "'f'" ] - } ] - }, { - "value" : [ "}" ] - } ] - }, { - "value" : [ "}" ] - } ] - }, { - "value" : [ ")" ] - } ] + }, { + "value" : [ "," ] + }, { + "r" : "261", + "s" : [ { + "value" : [ "{" ] + }, { + "r" : "262", + "s" : [ { + "value" : [ "'d'" ] + } ] + }, { + "value" : [ "," ] + }, { + "r" : "264", + "s" : [ { + "value" : [ "'e'" ] + } ] + }, { + "value" : [ "," ] + }, { + "r" : "266", + "s" : [ { + "value" : [ "'f'" ] + } ] + }, { + "value" : [ "}" ] } ] - } - } ], + }, { + "value" : [ "}" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "284", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "285", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } + }, + "expression" : { + "type" : "First", + "localId" : "278", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "282", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "283", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } + }, + "signature" : [ { + "type" : "ListTypeSpecifier", + "localId" : "279", + "annotation" : [ ], + "elementType" : { + "type" : "ListTypeSpecifier", + "localId" : "280", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "281", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } + } + } ], + "source" : { + "type" : "List", + "localId" : "251", + "annotation" : [ ], "resultTypeSpecifier" : { - "localId" : "284", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "285", + "type" : "ListTypeSpecifier", + "localId" : "270", + "annotation" : [ ], + "elementType" : { + "type" : "ListTypeSpecifier", + "localId" : "271", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "272", "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } + "annotation" : [ ] + } + } }, - "expression" : { - "localId" : "278", - "type" : "First", - "resultTypeSpecifier" : { - "localId" : "282", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "283", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } - }, - "signature" : [ { - "localId" : "279", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "280", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "281", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } - } - } ], - "source" : { - "localId" : "251", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "270", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "271", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "272", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } - } - }, - "element" : [ { - "localId" : "252", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "259", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "260", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } - }, - "element" : [ { - "localId" : "253", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "a", - "type" : "Literal" - }, { - "localId" : "255", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "b", - "type" : "Literal" - }, { - "localId" : "257", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "c", - "type" : "Literal" - } ] - }, { - "localId" : "261", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "268", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "269", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } - }, - "element" : [ { - "localId" : "262", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "d", - "type" : "Literal" - }, { - "localId" : "264", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "e", - "type" : "Literal" - }, { - "localId" : "266", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "f", - "type" : "Literal" - } ] - } ] - } - } - }, { - "localId" : "288", - "name" : "Tuples", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "288", + "element" : [ { + "type" : "List", + "localId" : "252", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "259", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "260", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } + }, + "element" : [ { + "type" : "Literal", + "localId" : "253", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "a", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "255", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "b", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "257", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "c", + "annotation" : [ ] + } ] + }, { + "type" : "List", + "localId" : "261", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "268", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "269", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } + }, + "element" : [ { + "type" : "Literal", + "localId" : "262", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "d", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "264", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "e", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "266", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "f", + "annotation" : [ ] + } ] + } ] + } + } + }, { + "localId" : "288", + "name" : "Tuples", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "288", + "s" : [ { + "value" : [ "", "define ", "Tuples", ": " ] + }, { + "r" : "330", + "s" : [ { + "value" : [ "First", "(" ] + }, { + "r" : "289", + "s" : [ { + "value" : [ "{ " ] + }, { + "r" : "290", "s" : [ { - "value" : [ "","define ","Tuples",": " ] + "value" : [ "Tuple{" ] }, { - "r" : "330", - "s" : [ { - "value" : [ "First","(" ] - }, { - "r" : "289", - "s" : [ { - "value" : [ "{ " ] - }, { - "r" : "290", - "s" : [ { - "value" : [ "Tuple{" ] - }, { - "s" : [ { - "r" : "291", - "value" : [ "a",": ","1" ] - } ] - }, { - "value" : [ ", " ] - }, { - "s" : [ { - "r" : "292", - "value" : [ "b",": ","2" ] - } ] - }, { - "value" : [ ", " ] - }, { - "s" : [ { - "r" : "293", - "value" : [ "c",": ","3" ] - } ] - }, { - "value" : [ "}" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "301", - "s" : [ { - "value" : [ "Tuple{" ] - }, { - "s" : [ { - "r" : "302", - "value" : [ "a",": ","24" ] - } ] - }, { - "value" : [ ", " ] - }, { - "s" : [ { - "r" : "303", - "value" : [ "b",": ","25" ] - } ] - }, { - "value" : [ ", " ] - }, { - "s" : [ { - "r" : "304", - "value" : [ "c",": ","26" ] - } ] - }, { - "value" : [ "}" ] - } ] - }, { - "value" : [ " }" ] - } ] - }, { - "value" : [ ")" ] - } ] + "s" : [ { + "r" : "291", + "value" : [ "a", ": ", "1" ] + } ] + }, { + "value" : [ ", " ] + }, { + "s" : [ { + "r" : "292", + "value" : [ "b", ": ", "2" ] + } ] + }, { + "value" : [ ", " ] + }, { + "s" : [ { + "r" : "293", + "value" : [ "c", ": ", "3" ] + } ] + }, { + "value" : [ "}" ] } ] - } - } ], + }, { + "value" : [ ", " ] + }, { + "r" : "301", + "s" : [ { + "value" : [ "Tuple{" ] + }, { + "s" : [ { + "r" : "302", + "value" : [ "a", ": ", "24" ] + } ] + }, { + "value" : [ ", " ] + }, { + "s" : [ { + "r" : "303", + "value" : [ "b", ": ", "25" ] + } ] + }, { + "value" : [ ", " ] + }, { + "s" : [ { + "r" : "304", + "value" : [ "c", ": ", "26" ] + } ] + }, { + "value" : [ "}" ] + } ] + }, { + "value" : [ " }" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "TupleTypeSpecifier", + "localId" : "346", + "annotation" : [ ], + "element" : [ { + "localId" : "347", + "name" : "a", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "348", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, { + "localId" : "349", + "name" : "b", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "350", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, { + "localId" : "351", + "name" : "c", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "352", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } ] + }, + "expression" : { + "type" : "First", + "localId" : "330", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "TupleTypeSpecifier", + "localId" : "339", + "annotation" : [ ], + "element" : [ { + "localId" : "340", + "name" : "a", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "341", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, { + "localId" : "342", + "name" : "b", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "343", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, { + "localId" : "344", + "name" : "c", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "345", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } ] + }, + "signature" : [ { + "type" : "ListTypeSpecifier", + "localId" : "331", + "annotation" : [ ], + "elementType" : { + "type" : "TupleTypeSpecifier", + "localId" : "332", + "annotation" : [ ], + "element" : [ { + "localId" : "333", + "name" : "a", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "334", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, { + "localId" : "335", + "name" : "b", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "336", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, { + "localId" : "337", + "name" : "c", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "338", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } ] + } + } ], + "source" : { + "type" : "List", + "localId" : "289", + "annotation" : [ ], "resultTypeSpecifier" : { - "localId" : "346", - "type" : "TupleTypeSpecifier", - "element" : [ { - "localId" : "347", + "type" : "ListTypeSpecifier", + "localId" : "312", + "annotation" : [ ], + "elementType" : { + "type" : "TupleTypeSpecifier", + "localId" : "313", + "annotation" : [ ], + "element" : [ { + "localId" : "314", "name" : "a", + "annotation" : [ ], "elementType" : { - "localId" : "348", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" + "type" : "NamedTypeSpecifier", + "localId" : "315", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] } - }, { - "localId" : "349", + }, { + "localId" : "316", "name" : "b", + "annotation" : [ ], "elementType" : { - "localId" : "350", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" + "type" : "NamedTypeSpecifier", + "localId" : "317", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] } - }, { - "localId" : "351", + }, { + "localId" : "318", "name" : "c", + "annotation" : [ ], "elementType" : { - "localId" : "352", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" + "type" : "NamedTypeSpecifier", + "localId" : "319", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] } - } ] + } ] + } }, - "expression" : { - "localId" : "330", - "type" : "First", - "resultTypeSpecifier" : { - "localId" : "339", - "type" : "TupleTypeSpecifier", - "element" : [ { - "localId" : "340", - "name" : "a", - "elementType" : { - "localId" : "341", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "342", - "name" : "b", - "elementType" : { - "localId" : "343", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "344", - "name" : "c", - "elementType" : { - "localId" : "345", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } ] - }, - "signature" : [ { - "localId" : "331", - "type" : "ListTypeSpecifier", + "element" : [ { + "type" : "Tuple", + "localId" : "290", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "TupleTypeSpecifier", + "localId" : "294", + "annotation" : [ ], + "element" : [ { + "localId" : "295", + "name" : "a", + "annotation" : [ ], "elementType" : { - "localId" : "332", - "type" : "TupleTypeSpecifier", - "element" : [ { - "localId" : "333", - "name" : "a", - "elementType" : { - "localId" : "334", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "335", - "name" : "b", - "elementType" : { - "localId" : "336", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "337", - "name" : "c", - "elementType" : { - "localId" : "338", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } ] + "type" : "NamedTypeSpecifier", + "localId" : "296", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] } - } ], - "source" : { - "localId" : "289", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "312", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "313", - "type" : "TupleTypeSpecifier", - "element" : [ { - "localId" : "314", - "name" : "a", - "elementType" : { - "localId" : "315", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "316", - "name" : "b", - "elementType" : { - "localId" : "317", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "318", - "name" : "c", - "elementType" : { - "localId" : "319", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } ] - } - }, - "element" : [ { - "localId" : "290", - "type" : "Tuple", - "resultTypeSpecifier" : { - "localId" : "294", - "type" : "TupleTypeSpecifier", - "element" : [ { - "localId" : "295", - "name" : "a", - "elementType" : { - "localId" : "296", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "297", - "name" : "b", - "elementType" : { - "localId" : "298", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "299", - "name" : "c", - "elementType" : { - "localId" : "300", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } ] - }, - "element" : [ { - "name" : "a", - "value" : { - "localId" : "291", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - } - }, { - "name" : "b", - "value" : { - "localId" : "292", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal" - } - }, { - "name" : "c", - "value" : { - "localId" : "293", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - } - } ] - }, { - "localId" : "301", - "type" : "Tuple", - "resultTypeSpecifier" : { - "localId" : "305", - "type" : "TupleTypeSpecifier", - "element" : [ { - "localId" : "306", - "name" : "a", - "elementType" : { - "localId" : "307", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "308", - "name" : "b", - "elementType" : { - "localId" : "309", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "310", - "name" : "c", - "elementType" : { - "localId" : "311", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } ] - }, - "element" : [ { - "name" : "a", - "value" : { - "localId" : "302", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "24", - "type" : "Literal" - } - }, { - "name" : "b", - "value" : { - "localId" : "303", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "25", - "type" : "Literal" - } - }, { - "name" : "c", - "value" : { - "localId" : "304", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "26", - "type" : "Literal" - } - } ] - } ] - } - } - }, { - "localId" : "355", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "name" : "Unordered", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "355", - "s" : [ { - "value" : [ "","define ","Unordered",": " ] - }, { - "r" : "367", - "s" : [ { - "value" : [ "First","(" ] - }, { - "r" : "356", - "s" : [ { - "r" : "357", - "value" : [ "{","3",", ","1",", ","4",", ","2","}" ] - } ] - }, { - "value" : [ ")" ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "367", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "First", - "signature" : [ { - "localId" : "368", - "type" : "ListTypeSpecifier", + }, { + "localId" : "297", + "name" : "b", + "annotation" : [ ], "elementType" : { - "localId" : "369", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" + "type" : "NamedTypeSpecifier", + "localId" : "298", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] } - } ], - "source" : { - "localId" : "356", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "361", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "362", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "element" : [ { - "localId" : "357", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, { - "localId" : "358", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, { - "localId" : "359", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "4", - "type" : "Literal" - }, { - "localId" : "360", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal" - } ] - } - } - }, { - "localId" : "372", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "name" : "Empty", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "372", - "s" : [ { - "value" : [ "","define ","Empty",": " ] - }, { - "r" : "382", - "s" : [ { - "value" : [ "First","(" ] - }, { - "r" : "374", - "s" : [ { - "value" : [ "List<" ] - }, { - "r" : "373", - "s" : [ { - "value" : [ "Integer" ] - } ] - }, { - "value" : [ ">{}" ] - } ] - }, { - "value" : [ ")" ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "382", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "First", - "signature" : [ { - "localId" : "383", - "type" : "ListTypeSpecifier", + }, { + "localId" : "299", + "name" : "c", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "300", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } ] + }, + "element" : [ { + "name" : "a", + "value" : { + "type" : "Literal", + "localId" : "291", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + } + }, { + "name" : "b", + "value" : { + "type" : "Literal", + "localId" : "292", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "annotation" : [ ] + } + }, { + "name" : "c", + "value" : { + "type" : "Literal", + "localId" : "293", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + } + } ] + }, { + "type" : "Tuple", + "localId" : "301", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "TupleTypeSpecifier", + "localId" : "305", + "annotation" : [ ], + "element" : [ { + "localId" : "306", + "name" : "a", + "annotation" : [ ], "elementType" : { - "localId" : "384", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" + "type" : "NamedTypeSpecifier", + "localId" : "307", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] } - } ], - "source" : { - "localId" : "374", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "376", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "377", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "element" : [ ] - } - } - }, { - "localId" : "387", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "name" : "NullValue", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "387", - "s" : [ { - "value" : [ "","define ","NullValue",": " ] - }, { - "r" : "400", - "s" : [ { - "value" : [ "First","(" ] - }, { - "r" : "388", - "s" : [ { - "r" : "389", - "value" : [ "null"," as " ] - }, { - "r" : "390", - "s" : [ { - "value" : [ "List<" ] - }, { - "r" : "391", - "s" : [ { - "value" : [ "Integer" ] - } ] - }, { - "value" : [ ">" ] - } ] - } ] - }, { - "value" : [ ")" ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "400", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "First", - "signature" : [ { - "localId" : "401", - "type" : "ListTypeSpecifier", + }, { + "localId" : "308", + "name" : "b", + "annotation" : [ ], "elementType" : { - "localId" : "402", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } ], - "source" : { - "localId" : "388", - "strict" : false, - "type" : "As", - "resultTypeSpecifier" : { - "localId" : "394", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "395", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "signature" : [ ], - "operand" : { - "localId" : "389", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - }, - "asTypeSpecifier" : { - "localId" : "390", - "type" : "ListTypeSpecifier", - "resultTypeSpecifier" : { - "localId" : "392", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "393", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "elementType" : { - "localId" : "391", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } + "type" : "NamedTypeSpecifier", + "localId" : "309", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] } - } + }, { + "localId" : "310", + "name" : "c", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "311", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } ] + }, + "element" : [ { + "name" : "a", + "value" : { + "type" : "Literal", + "localId" : "302", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "24", + "annotation" : [ ] + } + }, { + "name" : "b", + "value" : { + "type" : "Literal", + "localId" : "303", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "25", + "annotation" : [ ] + } + }, { + "name" : "c", + "value" : { + "type" : "Literal", + "localId" : "304", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "26", + "annotation" : [ ] + } + } ] + } ] + } + } + }, { + "localId" : "355", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "name" : "Unordered", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "355", + "s" : [ { + "value" : [ "", "define ", "Unordered", ": " ] + }, { + "r" : "367", + "s" : [ { + "value" : [ "First", "(" ] + }, { + "r" : "356", + "s" : [ { + "r" : "357", + "value" : [ "{", "3", ", ", "1", ", ", "4", ", ", "2", "}" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "First", + "localId" : "367", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ], + "signature" : [ { + "type" : "ListTypeSpecifier", + "localId" : "368", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "369", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] } - } ] - } - } + } ], + "source" : { + "type" : "List", + "localId" : "356", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "361", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "362", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "element" : [ { + "type" : "Literal", + "localId" : "357", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "358", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "359", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "4", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "360", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "annotation" : [ ] + } ] + } + } + }, { + "localId" : "372", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "name" : "Empty", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "372", + "s" : [ { + "value" : [ "", "define ", "Empty", ": " ] + }, { + "r" : "382", + "s" : [ { + "value" : [ "First", "(" ] + }, { + "r" : "374", + "s" : [ { + "value" : [ "List<" ] + }, { + "r" : "373", + "s" : [ { + "value" : [ "Integer" ] + } ] + }, { + "value" : [ ">{}" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "First", + "localId" : "382", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ], + "signature" : [ { + "type" : "ListTypeSpecifier", + "localId" : "383", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "384", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } ], + "source" : { + "type" : "List", + "localId" : "374", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "376", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "377", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "element" : [ ] + } + } + }, { + "localId" : "387", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "name" : "NullValue", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "387", + "s" : [ { + "value" : [ "", "define ", "NullValue", ": " ] + }, { + "r" : "400", + "s" : [ { + "value" : [ "First", "(" ] + }, { + "r" : "388", + "s" : [ { + "r" : "389", + "value" : [ "null", " as " ] + }, { + "r" : "390", + "s" : [ { + "value" : [ "List<" ] + }, { + "r" : "391", + "s" : [ { + "value" : [ "Integer" ] + } ] + }, { + "value" : [ ">" ] + } ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "First", + "localId" : "400", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ], + "signature" : [ { + "type" : "ListTypeSpecifier", + "localId" : "401", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "402", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } ], + "source" : { + "type" : "As", + "localId" : "388", + "strict" : false, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "394", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "395", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "signature" : [ ], + "operand" : { + "type" : "Null", + "localId" : "389", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + }, + "asTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "390", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "392", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "393", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "391", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } + } + } + } ] + } + } } /* Last @@ -27595,1026 +31351,1164 @@ define NullValue: Last(null as List) */ module.exports['Last'] = { - "library" : { - "localId" : "0", - "annotation" : [ { - "translatorVersion" : "3.27.0", - "translatorOptions" : "EnableDateRangeOptimization,EnableAnnotations,EnableResultTypes", - "signatureLevel" : "All", - "type" : "CqlToElmInfo" + "library" : { + "localId" : "0", + "annotation" : [ { + "type" : "CqlToElmInfo", + "translatorVersion" : "4.2.0", + "translatorOptions" : "EnableDateRangeOptimization,EnableAnnotations,EnableResultTypes", + "signatureLevel" : "All" + }, { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "387", + "s" : [ { + "value" : [ "", "library TestSnippet version '1'" ] + } ] + } + } ], + "identifier" : { + "id" : "TestSnippet", + "version" : "1" + }, + "schemaIdentifier" : { + "id" : "urn:hl7-org:elm", + "version" : "r1" + }, + "usings" : { + "def" : [ { + "localId" : "1", + "localIdentifier" : "System", + "uri" : "urn:hl7-org:elm-types:r1", + "annotation" : [ ] + }, { + "localId" : "206", + "localIdentifier" : "Simple", + "uri" : "https://github.com/cqframework/cql-execution/simple", + "version" : "1.0.0", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "206", + "s" : [ { + "value" : [ "", "using " ] + }, { + "s" : [ { + "value" : [ "Simple" ] + } ] + }, { + "value" : [ " version '1.0.0'" ] + } ] + } + } ] + } ] + }, + "contexts" : { + "def" : [ { + "localId" : "211", + "name" : "Patient", + "annotation" : [ ] + } ] + }, + "statements" : { + "def" : [ { + "localId" : "209", + "name" : "Patient", + "context" : "Patient", + "annotation" : [ ], + "expression" : { + "type" : "SingletonFrom", + "localId" : "210", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Retrieve", + "localId" : "208", + "dataType" : "{https://github.com/cqframework/cql-execution/simple}Patient", + "annotation" : [ ], + "include" : [ ], + "codeFilter" : [ ], + "dateFilter" : [ ], + "otherFilter" : [ ] + } + } + }, { + "localId" : "214", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "name" : "Numbers", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "214", + "s" : [ { + "value" : [ "", "define ", "Numbers", ": " ] + }, { + "r" : "226", + "s" : [ { + "value" : [ "Last", "(" ] + }, { + "r" : "215", + "s" : [ { + "r" : "216", + "value" : [ "{", "1", ", ", "2", ", ", "3", ", ", "4", "}" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Last", + "localId" : "226", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ], + "signature" : [ { + "type" : "ListTypeSpecifier", + "localId" : "227", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "228", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } ], + "source" : { + "type" : "List", + "localId" : "215", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "220", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "221", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "element" : [ { + "type" : "Literal", + "localId" : "216", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "217", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "218", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "219", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "4", + "annotation" : [ ] + } ] + } + } + }, { + "localId" : "231", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "name" : "Letters", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "231", + "s" : [ { + "value" : [ "", "define ", "Letters", ": " ] + }, { + "r" : "245", + "s" : [ { + "value" : [ "Last", "(" ] + }, { + "r" : "232", + "s" : [ { + "value" : [ "{" ] + }, { + "r" : "233", + "s" : [ { + "value" : [ "'a'" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "235", + "s" : [ { + "value" : [ "'b'" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "237", + "s" : [ { + "value" : [ "'c'" ] + } ] + }, { + "value" : [ "}" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Last", + "localId" : "245", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ], + "signature" : [ { + "type" : "ListTypeSpecifier", + "localId" : "246", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "247", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } + } ], + "source" : { + "type" : "List", + "localId" : "232", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "239", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "240", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } + }, + "element" : [ { + "type" : "Literal", + "localId" : "233", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "a", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "235", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "b", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "237", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "c", + "annotation" : [ ] + } ] + } + } }, { - "type" : "Annotation", - "s" : { - "r" : "387", + "localId" : "250", + "name" : "Lists", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "250", "s" : [ { - "value" : [ "","library TestSnippet version '1'" ] - } ] - } - } ], - "identifier" : { - "id" : "TestSnippet", - "version" : "1" - }, - "schemaIdentifier" : { - "id" : "urn:hl7-org:elm", - "version" : "r1" - }, - "usings" : { - "def" : [ { - "localId" : "1", - "localIdentifier" : "System", - "uri" : "urn:hl7-org:elm-types:r1" - }, { - "localId" : "206", - "localIdentifier" : "Simple", - "uri" : "https://github.com/cqframework/cql-execution/simple", - "version" : "1.0.0", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "206", - "s" : [ { - "value" : [ "","using " ] - }, { - "s" : [ { - "value" : [ "Simple" ] - } ] - }, { - "value" : [ " version '1.0.0'" ] - } ] - } - } ] - } ] - }, - "contexts" : { - "def" : [ { - "localId" : "211", - "name" : "Patient" - } ] - }, - "statements" : { - "def" : [ { - "localId" : "209", - "name" : "Patient", - "context" : "Patient", - "expression" : { - "localId" : "210", - "type" : "SingletonFrom", - "signature" : [ ], - "operand" : { - "localId" : "208", - "dataType" : "{https://github.com/cqframework/cql-execution/simple}Patient", - "type" : "Retrieve", - "include" : [ ], - "codeFilter" : [ ], - "dateFilter" : [ ], - "otherFilter" : [ ] - } - } - }, { - "localId" : "214", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "name" : "Numbers", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "214", - "s" : [ { - "value" : [ "","define ","Numbers",": " ] - }, { - "r" : "226", - "s" : [ { - "value" : [ "Last","(" ] - }, { - "r" : "215", - "s" : [ { - "r" : "216", - "value" : [ "{","1",", ","2",", ","3",", ","4","}" ] - } ] - }, { - "value" : [ ")" ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "226", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "Last", - "signature" : [ { - "localId" : "227", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "228", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } ], - "source" : { - "localId" : "215", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "220", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "221", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "element" : [ { - "localId" : "216", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, { - "localId" : "217", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal" - }, { - "localId" : "218", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, { - "localId" : "219", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "4", - "type" : "Literal" - } ] - } - } - }, { - "localId" : "231", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "name" : "Letters", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "231", + "value" : [ "", "define ", "Lists", ": " ] + }, { + "r" : "278", + "s" : [ { + "value" : [ "Last", "(" ] + }, { + "r" : "251", + "s" : [ { + "value" : [ "{" ] + }, { + "r" : "252", "s" : [ { - "value" : [ "","define ","Letters",": " ] + "value" : [ "{" ] }, { - "r" : "245", - "s" : [ { - "value" : [ "Last","(" ] - }, { - "r" : "232", - "s" : [ { - "value" : [ "{" ] - }, { - "r" : "233", - "s" : [ { - "value" : [ "'a'" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "235", - "s" : [ { - "value" : [ "'b'" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "237", - "s" : [ { - "value" : [ "'c'" ] - } ] - }, { - "value" : [ "}" ] - } ] - }, { - "value" : [ ")" ] - } ] + "r" : "253", + "s" : [ { + "value" : [ "'a'" ] + } ] + }, { + "value" : [ "," ] + }, { + "r" : "255", + "s" : [ { + "value" : [ "'b'" ] + } ] + }, { + "value" : [ "," ] + }, { + "r" : "257", + "s" : [ { + "value" : [ "'c'" ] + } ] + }, { + "value" : [ "}" ] } ] - } - } ], - "expression" : { - "localId" : "245", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "type" : "Last", - "signature" : [ { - "localId" : "246", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "247", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } - } ], - "source" : { - "localId" : "232", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "239", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "240", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } - }, - "element" : [ { - "localId" : "233", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "a", - "type" : "Literal" - }, { - "localId" : "235", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "b", - "type" : "Literal" - }, { - "localId" : "237", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "c", - "type" : "Literal" - } ] - } - } - }, { - "localId" : "250", - "name" : "Lists", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "250", - "s" : [ { - "value" : [ "","define ","Lists",": " ] - }, { - "r" : "278", - "s" : [ { - "value" : [ "Last","(" ] - }, { - "r" : "251", - "s" : [ { - "value" : [ "{" ] - }, { - "r" : "252", - "s" : [ { - "value" : [ "{" ] - }, { - "r" : "253", - "s" : [ { - "value" : [ "'a'" ] - } ] - }, { - "value" : [ "," ] - }, { - "r" : "255", - "s" : [ { - "value" : [ "'b'" ] - } ] - }, { - "value" : [ "," ] - }, { - "r" : "257", - "s" : [ { - "value" : [ "'c'" ] - } ] - }, { - "value" : [ "}" ] - } ] - }, { - "value" : [ "," ] - }, { - "r" : "261", - "s" : [ { - "value" : [ "{" ] - }, { - "r" : "262", - "s" : [ { - "value" : [ "'d'" ] - } ] - }, { - "value" : [ "," ] - }, { - "r" : "264", - "s" : [ { - "value" : [ "'e'" ] - } ] - }, { - "value" : [ "," ] - }, { - "r" : "266", - "s" : [ { - "value" : [ "'f'" ] - } ] - }, { - "value" : [ "}" ] - } ] - }, { - "value" : [ "}" ] - } ] - }, { - "value" : [ ")" ] - } ] + }, { + "value" : [ "," ] + }, { + "r" : "261", + "s" : [ { + "value" : [ "{" ] + }, { + "r" : "262", + "s" : [ { + "value" : [ "'d'" ] + } ] + }, { + "value" : [ "," ] + }, { + "r" : "264", + "s" : [ { + "value" : [ "'e'" ] + } ] + }, { + "value" : [ "," ] + }, { + "r" : "266", + "s" : [ { + "value" : [ "'f'" ] + } ] + }, { + "value" : [ "}" ] } ] - } - } ], + }, { + "value" : [ "}" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "284", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "285", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } + }, + "expression" : { + "type" : "Last", + "localId" : "278", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "282", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "283", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } + }, + "signature" : [ { + "type" : "ListTypeSpecifier", + "localId" : "279", + "annotation" : [ ], + "elementType" : { + "type" : "ListTypeSpecifier", + "localId" : "280", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "281", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } + } + } ], + "source" : { + "type" : "List", + "localId" : "251", + "annotation" : [ ], "resultTypeSpecifier" : { - "localId" : "284", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "285", + "type" : "ListTypeSpecifier", + "localId" : "270", + "annotation" : [ ], + "elementType" : { + "type" : "ListTypeSpecifier", + "localId" : "271", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "272", "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } + "annotation" : [ ] + } + } }, - "expression" : { - "localId" : "278", - "type" : "Last", - "resultTypeSpecifier" : { - "localId" : "282", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "283", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } - }, - "signature" : [ { - "localId" : "279", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "280", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "281", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } - } - } ], - "source" : { - "localId" : "251", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "270", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "271", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "272", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } - } - }, - "element" : [ { - "localId" : "252", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "259", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "260", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } - }, - "element" : [ { - "localId" : "253", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "a", - "type" : "Literal" - }, { - "localId" : "255", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "b", - "type" : "Literal" - }, { - "localId" : "257", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "c", - "type" : "Literal" - } ] - }, { - "localId" : "261", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "268", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "269", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } - }, - "element" : [ { - "localId" : "262", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "d", - "type" : "Literal" - }, { - "localId" : "264", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "e", - "type" : "Literal" - }, { - "localId" : "266", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "f", - "type" : "Literal" - } ] - } ] - } - } - }, { - "localId" : "288", - "name" : "Tuples", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "288", + "element" : [ { + "type" : "List", + "localId" : "252", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "259", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "260", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } + }, + "element" : [ { + "type" : "Literal", + "localId" : "253", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "a", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "255", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "b", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "257", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "c", + "annotation" : [ ] + } ] + }, { + "type" : "List", + "localId" : "261", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "268", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "269", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } + }, + "element" : [ { + "type" : "Literal", + "localId" : "262", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "d", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "264", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "e", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "266", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "f", + "annotation" : [ ] + } ] + } ] + } + } + }, { + "localId" : "288", + "name" : "Tuples", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "288", + "s" : [ { + "value" : [ "", "define ", "Tuples", ": " ] + }, { + "r" : "330", + "s" : [ { + "value" : [ "Last", "(" ] + }, { + "r" : "289", + "s" : [ { + "value" : [ "{ " ] + }, { + "r" : "290", "s" : [ { - "value" : [ "","define ","Tuples",": " ] + "value" : [ "Tuple{" ] }, { - "r" : "330", - "s" : [ { - "value" : [ "Last","(" ] - }, { - "r" : "289", - "s" : [ { - "value" : [ "{ " ] - }, { - "r" : "290", - "s" : [ { - "value" : [ "Tuple{" ] - }, { - "s" : [ { - "r" : "291", - "value" : [ "a",": ","1" ] - } ] - }, { - "value" : [ ", " ] - }, { - "s" : [ { - "r" : "292", - "value" : [ "b",": ","2" ] - } ] - }, { - "value" : [ ", " ] - }, { - "s" : [ { - "r" : "293", - "value" : [ "c",": ","3" ] - } ] - }, { - "value" : [ "}" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "301", - "s" : [ { - "value" : [ "Tuple{" ] - }, { - "s" : [ { - "r" : "302", - "value" : [ "a",": ","24" ] - } ] - }, { - "value" : [ ", " ] - }, { - "s" : [ { - "r" : "303", - "value" : [ "b",": ","25" ] - } ] - }, { - "value" : [ ", " ] - }, { - "s" : [ { - "r" : "304", - "value" : [ "c",": ","26" ] - } ] - }, { - "value" : [ "}" ] - } ] - }, { - "value" : [ " }" ] - } ] - }, { - "value" : [ ")" ] - } ] + "s" : [ { + "r" : "291", + "value" : [ "a", ": ", "1" ] + } ] + }, { + "value" : [ ", " ] + }, { + "s" : [ { + "r" : "292", + "value" : [ "b", ": ", "2" ] + } ] + }, { + "value" : [ ", " ] + }, { + "s" : [ { + "r" : "293", + "value" : [ "c", ": ", "3" ] + } ] + }, { + "value" : [ "}" ] } ] - } - } ], + }, { + "value" : [ ", " ] + }, { + "r" : "301", + "s" : [ { + "value" : [ "Tuple{" ] + }, { + "s" : [ { + "r" : "302", + "value" : [ "a", ": ", "24" ] + } ] + }, { + "value" : [ ", " ] + }, { + "s" : [ { + "r" : "303", + "value" : [ "b", ": ", "25" ] + } ] + }, { + "value" : [ ", " ] + }, { + "s" : [ { + "r" : "304", + "value" : [ "c", ": ", "26" ] + } ] + }, { + "value" : [ "}" ] + } ] + }, { + "value" : [ " }" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "TupleTypeSpecifier", + "localId" : "346", + "annotation" : [ ], + "element" : [ { + "localId" : "347", + "name" : "a", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "348", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, { + "localId" : "349", + "name" : "b", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "350", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, { + "localId" : "351", + "name" : "c", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "352", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } ] + }, + "expression" : { + "type" : "Last", + "localId" : "330", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "TupleTypeSpecifier", + "localId" : "339", + "annotation" : [ ], + "element" : [ { + "localId" : "340", + "name" : "a", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "341", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, { + "localId" : "342", + "name" : "b", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "343", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, { + "localId" : "344", + "name" : "c", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "345", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } ] + }, + "signature" : [ { + "type" : "ListTypeSpecifier", + "localId" : "331", + "annotation" : [ ], + "elementType" : { + "type" : "TupleTypeSpecifier", + "localId" : "332", + "annotation" : [ ], + "element" : [ { + "localId" : "333", + "name" : "a", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "334", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, { + "localId" : "335", + "name" : "b", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "336", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, { + "localId" : "337", + "name" : "c", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "338", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } ] + } + } ], + "source" : { + "type" : "List", + "localId" : "289", + "annotation" : [ ], "resultTypeSpecifier" : { - "localId" : "346", - "type" : "TupleTypeSpecifier", - "element" : [ { - "localId" : "347", + "type" : "ListTypeSpecifier", + "localId" : "312", + "annotation" : [ ], + "elementType" : { + "type" : "TupleTypeSpecifier", + "localId" : "313", + "annotation" : [ ], + "element" : [ { + "localId" : "314", "name" : "a", + "annotation" : [ ], "elementType" : { - "localId" : "348", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" + "type" : "NamedTypeSpecifier", + "localId" : "315", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] } - }, { - "localId" : "349", + }, { + "localId" : "316", "name" : "b", + "annotation" : [ ], "elementType" : { - "localId" : "350", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" + "type" : "NamedTypeSpecifier", + "localId" : "317", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] } - }, { - "localId" : "351", + }, { + "localId" : "318", "name" : "c", + "annotation" : [ ], "elementType" : { - "localId" : "352", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" + "type" : "NamedTypeSpecifier", + "localId" : "319", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] } - } ] + } ] + } }, - "expression" : { - "localId" : "330", - "type" : "Last", - "resultTypeSpecifier" : { - "localId" : "339", - "type" : "TupleTypeSpecifier", - "element" : [ { - "localId" : "340", - "name" : "a", - "elementType" : { - "localId" : "341", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "342", - "name" : "b", - "elementType" : { - "localId" : "343", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "344", - "name" : "c", - "elementType" : { - "localId" : "345", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } ] - }, - "signature" : [ { - "localId" : "331", - "type" : "ListTypeSpecifier", + "element" : [ { + "type" : "Tuple", + "localId" : "290", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "TupleTypeSpecifier", + "localId" : "294", + "annotation" : [ ], + "element" : [ { + "localId" : "295", + "name" : "a", + "annotation" : [ ], "elementType" : { - "localId" : "332", - "type" : "TupleTypeSpecifier", - "element" : [ { - "localId" : "333", - "name" : "a", - "elementType" : { - "localId" : "334", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "335", - "name" : "b", - "elementType" : { - "localId" : "336", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "337", - "name" : "c", - "elementType" : { - "localId" : "338", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } ] + "type" : "NamedTypeSpecifier", + "localId" : "296", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] } - } ], - "source" : { - "localId" : "289", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "312", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "313", - "type" : "TupleTypeSpecifier", - "element" : [ { - "localId" : "314", - "name" : "a", - "elementType" : { - "localId" : "315", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "316", - "name" : "b", - "elementType" : { - "localId" : "317", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "318", - "name" : "c", - "elementType" : { - "localId" : "319", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } ] - } - }, - "element" : [ { - "localId" : "290", - "type" : "Tuple", - "resultTypeSpecifier" : { - "localId" : "294", - "type" : "TupleTypeSpecifier", - "element" : [ { - "localId" : "295", - "name" : "a", - "elementType" : { - "localId" : "296", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "297", - "name" : "b", - "elementType" : { - "localId" : "298", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "299", - "name" : "c", - "elementType" : { - "localId" : "300", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } ] - }, - "element" : [ { - "name" : "a", - "value" : { - "localId" : "291", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - } - }, { - "name" : "b", - "value" : { - "localId" : "292", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal" - } - }, { - "name" : "c", - "value" : { - "localId" : "293", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - } - } ] - }, { - "localId" : "301", - "type" : "Tuple", - "resultTypeSpecifier" : { - "localId" : "305", - "type" : "TupleTypeSpecifier", - "element" : [ { - "localId" : "306", - "name" : "a", - "elementType" : { - "localId" : "307", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "308", - "name" : "b", - "elementType" : { - "localId" : "309", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "310", - "name" : "c", - "elementType" : { - "localId" : "311", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } ] - }, - "element" : [ { - "name" : "a", - "value" : { - "localId" : "302", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "24", - "type" : "Literal" - } - }, { - "name" : "b", - "value" : { - "localId" : "303", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "25", - "type" : "Literal" - } - }, { - "name" : "c", - "value" : { - "localId" : "304", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "26", - "type" : "Literal" - } - } ] - } ] - } - } - }, { - "localId" : "355", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "name" : "Unordered", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "355", - "s" : [ { - "value" : [ "","define ","Unordered",": " ] - }, { - "r" : "367", - "s" : [ { - "value" : [ "Last","(" ] - }, { - "r" : "356", - "s" : [ { - "r" : "357", - "value" : [ "{","3",", ","1",", ","4",", ","2","}" ] - } ] - }, { - "value" : [ ")" ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "367", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "Last", - "signature" : [ { - "localId" : "368", - "type" : "ListTypeSpecifier", + }, { + "localId" : "297", + "name" : "b", + "annotation" : [ ], "elementType" : { - "localId" : "369", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" + "type" : "NamedTypeSpecifier", + "localId" : "298", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] } - } ], - "source" : { - "localId" : "356", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "361", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "362", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "element" : [ { - "localId" : "357", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, { - "localId" : "358", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, { - "localId" : "359", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "4", - "type" : "Literal" - }, { - "localId" : "360", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal" - } ] - } - } - }, { - "localId" : "372", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "name" : "Empty", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "372", - "s" : [ { - "value" : [ "","define ","Empty",": " ] - }, { - "r" : "382", - "s" : [ { - "value" : [ "Last","(" ] - }, { - "r" : "374", - "s" : [ { - "value" : [ "List<" ] - }, { - "r" : "373", - "s" : [ { - "value" : [ "Integer" ] - } ] - }, { - "value" : [ ">{}" ] - } ] - }, { - "value" : [ ")" ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "382", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "Last", - "signature" : [ { - "localId" : "383", - "type" : "ListTypeSpecifier", + }, { + "localId" : "299", + "name" : "c", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "300", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } ] + }, + "element" : [ { + "name" : "a", + "value" : { + "type" : "Literal", + "localId" : "291", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + } + }, { + "name" : "b", + "value" : { + "type" : "Literal", + "localId" : "292", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "annotation" : [ ] + } + }, { + "name" : "c", + "value" : { + "type" : "Literal", + "localId" : "293", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + } + } ] + }, { + "type" : "Tuple", + "localId" : "301", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "TupleTypeSpecifier", + "localId" : "305", + "annotation" : [ ], + "element" : [ { + "localId" : "306", + "name" : "a", + "annotation" : [ ], "elementType" : { - "localId" : "384", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" + "type" : "NamedTypeSpecifier", + "localId" : "307", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] } - } ], - "source" : { - "localId" : "374", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "376", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "377", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "element" : [ ] - } + }, { + "localId" : "308", + "name" : "b", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "309", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, { + "localId" : "310", + "name" : "c", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "311", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } ] + }, + "element" : [ { + "name" : "a", + "value" : { + "type" : "Literal", + "localId" : "302", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "24", + "annotation" : [ ] + } + }, { + "name" : "b", + "value" : { + "type" : "Literal", + "localId" : "303", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "25", + "annotation" : [ ] + } + }, { + "name" : "c", + "value" : { + "type" : "Literal", + "localId" : "304", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "26", + "annotation" : [ ] + } + } ] + } ] + } + } + }, { + "localId" : "355", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "name" : "Unordered", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "355", + "s" : [ { + "value" : [ "", "define ", "Unordered", ": " ] + }, { + "r" : "367", + "s" : [ { + "value" : [ "Last", "(" ] + }, { + "r" : "356", + "s" : [ { + "r" : "357", + "value" : [ "{", "3", ", ", "1", ", ", "4", ", ", "2", "}" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Last", + "localId" : "367", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ], + "signature" : [ { + "type" : "ListTypeSpecifier", + "localId" : "368", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "369", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] } - }, { - "localId" : "387", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "name" : "NullValue", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "387", - "s" : [ { - "value" : [ "","define ","NullValue",": " ] - }, { - "r" : "400", - "s" : [ { - "value" : [ "Last","(" ] - }, { - "r" : "388", - "s" : [ { - "r" : "389", - "value" : [ "null"," as " ] - }, { - "r" : "390", - "s" : [ { - "value" : [ "List<" ] - }, { - "r" : "391", - "s" : [ { - "value" : [ "Integer" ] - } ] - }, { - "value" : [ ">" ] - } ] - } ] - }, { - "value" : [ ")" ] - } ] + } ], + "source" : { + "type" : "List", + "localId" : "356", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "361", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "362", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "element" : [ { + "type" : "Literal", + "localId" : "357", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "358", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "359", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "4", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "360", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "annotation" : [ ] + } ] + } + } + }, { + "localId" : "372", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "name" : "Empty", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "372", + "s" : [ { + "value" : [ "", "define ", "Empty", ": " ] + }, { + "r" : "382", + "s" : [ { + "value" : [ "Last", "(" ] + }, { + "r" : "374", + "s" : [ { + "value" : [ "List<" ] + }, { + "r" : "373", + "s" : [ { + "value" : [ "Integer" ] + } ] + }, { + "value" : [ ">{}" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Last", + "localId" : "382", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ], + "signature" : [ { + "type" : "ListTypeSpecifier", + "localId" : "383", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "384", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } ], + "source" : { + "type" : "List", + "localId" : "374", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "376", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "377", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "element" : [ ] + } + } + }, { + "localId" : "387", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "name" : "NullValue", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "387", + "s" : [ { + "value" : [ "", "define ", "NullValue", ": " ] + }, { + "r" : "400", + "s" : [ { + "value" : [ "Last", "(" ] + }, { + "r" : "388", + "s" : [ { + "r" : "389", + "value" : [ "null", " as " ] + }, { + "r" : "390", + "s" : [ { + "value" : [ "List<" ] + }, { + "r" : "391", + "s" : [ { + "value" : [ "Integer" ] + } ] + }, { + "value" : [ ">" ] } ] - } - } ], - "expression" : { - "localId" : "400", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "Last", - "signature" : [ { - "localId" : "401", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "402", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } ], - "source" : { - "localId" : "388", - "strict" : false, - "type" : "As", - "resultTypeSpecifier" : { - "localId" : "394", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "395", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "signature" : [ ], - "operand" : { - "localId" : "389", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - }, - "asTypeSpecifier" : { - "localId" : "390", - "type" : "ListTypeSpecifier", - "resultTypeSpecifier" : { - "localId" : "392", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "393", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "elementType" : { - "localId" : "391", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } - } + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Last", + "localId" : "400", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ], + "signature" : [ { + "type" : "ListTypeSpecifier", + "localId" : "401", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "402", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] } - } ] - } - } + } ], + "source" : { + "type" : "As", + "localId" : "388", + "strict" : false, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "394", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "395", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "signature" : [ ], + "operand" : { + "type" : "Null", + "localId" : "389", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + }, + "asTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "390", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "392", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "393", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "391", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } + } + } + } ] + } + } } /* Length @@ -28629,824 +32523,936 @@ define NullValue: Length(null as List) */ module.exports['Length'] = { - "library" : { - "localId" : "0", - "annotation" : [ { - "translatorVersion" : "3.27.0", - "translatorOptions" : "EnableDateRangeOptimization,EnableAnnotations,EnableResultTypes", - "signatureLevel" : "All", - "type" : "CqlToElmInfo" + "library" : { + "localId" : "0", + "annotation" : [ { + "type" : "CqlToElmInfo", + "translatorVersion" : "4.2.0", + "translatorOptions" : "EnableDateRangeOptimization,EnableAnnotations,EnableResultTypes", + "signatureLevel" : "All" + }, { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "340", + "s" : [ { + "value" : [ "", "library TestSnippet version '1'" ] + } ] + } + } ], + "identifier" : { + "id" : "TestSnippet", + "version" : "1" + }, + "schemaIdentifier" : { + "id" : "urn:hl7-org:elm", + "version" : "r1" + }, + "usings" : { + "def" : [ { + "localId" : "1", + "localIdentifier" : "System", + "uri" : "urn:hl7-org:elm-types:r1", + "annotation" : [ ] }, { - "type" : "Annotation", - "s" : { - "r" : "340", + "localId" : "206", + "localIdentifier" : "Simple", + "uri" : "https://github.com/cqframework/cql-execution/simple", + "version" : "1.0.0", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "206", "s" : [ { - "value" : [ "","library TestSnippet version '1'" ] - } ] - } - } ], - "identifier" : { - "id" : "TestSnippet", - "version" : "1" - }, - "schemaIdentifier" : { - "id" : "urn:hl7-org:elm", - "version" : "r1" - }, - "usings" : { - "def" : [ { - "localId" : "1", - "localIdentifier" : "System", - "uri" : "urn:hl7-org:elm-types:r1" - }, { - "localId" : "206", - "localIdentifier" : "Simple", - "uri" : "https://github.com/cqframework/cql-execution/simple", - "version" : "1.0.0", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "206", - "s" : [ { - "value" : [ "","using " ] - }, { - "s" : [ { - "value" : [ "Simple" ] - } ] - }, { - "value" : [ " version '1.0.0'" ] - } ] - } - } ] - } ] - }, - "contexts" : { - "def" : [ { - "localId" : "211", - "name" : "Patient" - } ] - }, - "statements" : { - "def" : [ { - "localId" : "209", - "name" : "Patient", - "context" : "Patient", - "expression" : { - "localId" : "210", - "type" : "SingletonFrom", - "signature" : [ ], - "operand" : { - "localId" : "208", - "dataType" : "{https://github.com/cqframework/cql-execution/simple}Patient", - "type" : "Retrieve", - "include" : [ ], - "codeFilter" : [ ], - "dateFilter" : [ ], - "otherFilter" : [ ] - } - } - }, { - "localId" : "214", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "name" : "Numbers", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "214", - "s" : [ { - "value" : [ "","define ","Numbers",": " ] - }, { - "r" : "227", - "s" : [ { - "value" : [ "Length","(" ] - }, { - "r" : "215", - "s" : [ { - "r" : "216", - "value" : [ "{","2",", ","4",", ","6",", ","8",", ","10","}" ] - } ] - }, { - "value" : [ ")" ] - } ] + "value" : [ "", "using " ] + }, { + "s" : [ { + "value" : [ "Simple" ] + } ] + }, { + "value" : [ " version '1.0.0'" ] + } ] + } + } ] + } ] + }, + "contexts" : { + "def" : [ { + "localId" : "211", + "name" : "Patient", + "annotation" : [ ] + } ] + }, + "statements" : { + "def" : [ { + "localId" : "209", + "name" : "Patient", + "context" : "Patient", + "annotation" : [ ], + "expression" : { + "type" : "SingletonFrom", + "localId" : "210", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Retrieve", + "localId" : "208", + "dataType" : "{https://github.com/cqframework/cql-execution/simple}Patient", + "annotation" : [ ], + "include" : [ ], + "codeFilter" : [ ], + "dateFilter" : [ ], + "otherFilter" : [ ] + } + } + }, { + "localId" : "214", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "name" : "Numbers", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "214", + "s" : [ { + "value" : [ "", "define ", "Numbers", ": " ] + }, { + "r" : "227", + "s" : [ { + "value" : [ "Length", "(" ] + }, { + "r" : "215", + "s" : [ { + "r" : "216", + "value" : [ "{", "2", ", ", "4", ", ", "6", ", ", "8", ", ", "10", "}" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Length", + "localId" : "227", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ], + "signature" : [ { + "type" : "ListTypeSpecifier", + "localId" : "228", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "229", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } ], + "operand" : { + "type" : "List", + "localId" : "215", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "221", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "222", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "element" : [ { + "type" : "Literal", + "localId" : "216", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "217", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "4", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "218", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "6", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "219", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "8", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "220", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "10", + "annotation" : [ ] + } ] + } + } + }, { + "localId" : "232", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "name" : "Lists", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "232", + "s" : [ { + "value" : [ "", "define ", "Lists", ": " ] + }, { + "r" : "266", + "s" : [ { + "value" : [ "Length", "(" ] + }, { + "r" : "233", + "s" : [ { + "value" : [ "{ " ] + }, { + "r" : "234", + "s" : [ { + "r" : "235", + "value" : [ "{", "1", ", ", "2", ", ", "3", "}" ] } ] - } - } ], - "expression" : { - "localId" : "227", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "Length", - "signature" : [ { - "localId" : "228", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "229", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : { - "localId" : "215", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "221", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "222", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "element" : [ { - "localId" : "216", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal" - }, { - "localId" : "217", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "4", - "type" : "Literal" - }, { - "localId" : "218", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "6", - "type" : "Literal" - }, { - "localId" : "219", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "8", - "type" : "Literal" - }, { - "localId" : "220", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal" - } ] - } - } - }, { - "localId" : "232", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "name" : "Lists", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "232", - "s" : [ { - "value" : [ "","define ","Lists",": " ] - }, { - "r" : "266", - "s" : [ { - "value" : [ "Length","(" ] - }, { - "r" : "233", - "s" : [ { - "value" : [ "{ " ] - }, { - "r" : "234", - "s" : [ { - "r" : "235", - "value" : [ "{","1",", ","2",", ","3","}" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "240", - "s" : [ { - "r" : "241", - "value" : [ "{","4",", ","5",", ","6","}" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "246", - "s" : [ { - "r" : "247", - "value" : [ "{","7",", ","8",", ","9","}" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "252", - "s" : [ { - "r" : "253", - "value" : [ "{","10",", ","11",", ","12","}" ] - } ] - }, { - "value" : [ "}" ] - } ] - }, { - "value" : [ ")" ] - } ] + }, { + "value" : [ ", " ] + }, { + "r" : "240", + "s" : [ { + "r" : "241", + "value" : [ "{", "4", ", ", "5", ", ", "6", "}" ] } ] - } - } ], - "expression" : { - "localId" : "266", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "Length", - "signature" : [ { - "localId" : "267", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "268", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "269", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } - } ], - "operand" : { - "localId" : "233", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "258", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "259", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "260", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } - }, - "element" : [ { - "localId" : "234", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "238", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "239", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "element" : [ { - "localId" : "235", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, { - "localId" : "236", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal" - }, { - "localId" : "237", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - } ] - }, { - "localId" : "240", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "244", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "245", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "element" : [ { - "localId" : "241", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "4", - "type" : "Literal" - }, { - "localId" : "242", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal" - }, { - "localId" : "243", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "6", - "type" : "Literal" - } ] - }, { - "localId" : "246", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "250", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "251", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "element" : [ { - "localId" : "247", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "7", - "type" : "Literal" - }, { - "localId" : "248", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "8", - "type" : "Literal" - }, { - "localId" : "249", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "9", - "type" : "Literal" - } ] - }, { - "localId" : "252", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "256", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "257", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "element" : [ { - "localId" : "253", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal" - }, { - "localId" : "254", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "11", - "type" : "Literal" - }, { - "localId" : "255", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "12", - "type" : "Literal" - } ] + }, { + "value" : [ ", " ] + }, { + "r" : "246", + "s" : [ { + "r" : "247", + "value" : [ "{", "7", ", ", "8", ", ", "9", "}" ] } ] - } + }, { + "value" : [ ", " ] + }, { + "r" : "252", + "s" : [ { + "r" : "253", + "value" : [ "{", "10", ", ", "11", ", ", "12", "}" ] + } ] + }, { + "value" : [ "}" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Length", + "localId" : "266", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ], + "signature" : [ { + "type" : "ListTypeSpecifier", + "localId" : "267", + "annotation" : [ ], + "elementType" : { + "type" : "ListTypeSpecifier", + "localId" : "268", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "269", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } } - }, { - "localId" : "272", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "name" : "Tuples", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "272", + } ], + "operand" : { + "type" : "List", + "localId" : "233", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "258", + "annotation" : [ ], + "elementType" : { + "type" : "ListTypeSpecifier", + "localId" : "259", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "260", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } + }, + "element" : [ { + "type" : "List", + "localId" : "234", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "238", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "239", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "element" : [ { + "type" : "Literal", + "localId" : "235", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "236", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "237", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + } ] + }, { + "type" : "List", + "localId" : "240", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "244", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "245", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "element" : [ { + "type" : "Literal", + "localId" : "241", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "4", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "242", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "5", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "243", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "6", + "annotation" : [ ] + } ] + }, { + "type" : "List", + "localId" : "246", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "250", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "251", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "element" : [ { + "type" : "Literal", + "localId" : "247", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "7", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "248", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "8", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "249", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "9", + "annotation" : [ ] + } ] + }, { + "type" : "List", + "localId" : "252", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "256", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "257", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "element" : [ { + "type" : "Literal", + "localId" : "253", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "10", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "254", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "11", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "255", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "12", + "annotation" : [ ] + } ] + } ] + } + } + }, { + "localId" : "272", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "name" : "Tuples", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "272", + "s" : [ { + "value" : [ "", "define ", "Tuples", ": " ] + }, { + "r" : "314", + "s" : [ { + "value" : [ "Length", "(" ] + }, { + "r" : "273", + "s" : [ { + "value" : [ "{ " ] + }, { + "r" : "274", "s" : [ { - "value" : [ "","define ","Tuples",": " ] + "value" : [ "Tuple{" ] }, { - "r" : "314", - "s" : [ { - "value" : [ "Length","(" ] - }, { - "r" : "273", - "s" : [ { - "value" : [ "{ " ] - }, { - "r" : "274", - "s" : [ { - "value" : [ "Tuple{" ] - }, { - "s" : [ { - "r" : "275", - "value" : [ "a",": ","1" ] - } ] - }, { - "value" : [ ", " ] - }, { - "s" : [ { - "r" : "276", - "value" : [ "b",": ","2" ] - } ] - }, { - "value" : [ ", " ] - }, { - "s" : [ { - "r" : "277", - "value" : [ "c",": ","3" ] - } ] - }, { - "value" : [ "}" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "285", - "s" : [ { - "value" : [ "Tuple{" ] - }, { - "s" : [ { - "r" : "286", - "value" : [ "a",": ","24" ] - } ] - }, { - "value" : [ ", " ] - }, { - "s" : [ { - "r" : "287", - "value" : [ "b",": ","25" ] - } ] - }, { - "value" : [ ", " ] - }, { - "s" : [ { - "r" : "288", - "value" : [ "c",": ","26" ] - } ] - }, { - "value" : [ "}" ] - } ] - }, { - "value" : [ " }" ] - } ] - }, { - "value" : [ ")" ] - } ] + "s" : [ { + "r" : "275", + "value" : [ "a", ": ", "1" ] + } ] + }, { + "value" : [ ", " ] + }, { + "s" : [ { + "r" : "276", + "value" : [ "b", ": ", "2" ] + } ] + }, { + "value" : [ ", " ] + }, { + "s" : [ { + "r" : "277", + "value" : [ "c", ": ", "3" ] + } ] + }, { + "value" : [ "}" ] } ] - } - } ], - "expression" : { - "localId" : "314", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "Length", - "signature" : [ { - "localId" : "315", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "316", - "type" : "TupleTypeSpecifier", - "element" : [ { - "localId" : "317", - "name" : "a", - "elementType" : { - "localId" : "318", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "319", - "name" : "b", - "elementType" : { - "localId" : "320", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "321", - "name" : "c", - "elementType" : { - "localId" : "322", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } ] - } - } ], - "operand" : { - "localId" : "273", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "296", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "297", - "type" : "TupleTypeSpecifier", - "element" : [ { - "localId" : "298", - "name" : "a", - "elementType" : { - "localId" : "299", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "300", - "name" : "b", - "elementType" : { - "localId" : "301", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "302", - "name" : "c", - "elementType" : { - "localId" : "303", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } ] - } - }, - "element" : [ { - "localId" : "274", - "type" : "Tuple", - "resultTypeSpecifier" : { - "localId" : "278", - "type" : "TupleTypeSpecifier", - "element" : [ { - "localId" : "279", - "name" : "a", - "elementType" : { - "localId" : "280", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "281", - "name" : "b", - "elementType" : { - "localId" : "282", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "283", - "name" : "c", - "elementType" : { - "localId" : "284", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } ] - }, - "element" : [ { - "name" : "a", - "value" : { - "localId" : "275", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - } - }, { - "name" : "b", - "value" : { - "localId" : "276", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal" - } - }, { - "name" : "c", - "value" : { - "localId" : "277", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - } - } ] - }, { - "localId" : "285", - "type" : "Tuple", - "resultTypeSpecifier" : { - "localId" : "289", - "type" : "TupleTypeSpecifier", - "element" : [ { - "localId" : "290", - "name" : "a", - "elementType" : { - "localId" : "291", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "292", - "name" : "b", - "elementType" : { - "localId" : "293", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "294", - "name" : "c", - "elementType" : { - "localId" : "295", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } ] - }, - "element" : [ { - "name" : "a", - "value" : { - "localId" : "286", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "24", - "type" : "Literal" - } - }, { - "name" : "b", - "value" : { - "localId" : "287", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "25", - "type" : "Literal" - } - }, { - "name" : "c", - "value" : { - "localId" : "288", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "26", - "type" : "Literal" - } - } ] + }, { + "value" : [ ", " ] + }, { + "r" : "285", + "s" : [ { + "value" : [ "Tuple{" ] + }, { + "s" : [ { + "r" : "286", + "value" : [ "a", ": ", "24" ] + } ] + }, { + "value" : [ ", " ] + }, { + "s" : [ { + "r" : "287", + "value" : [ "b", ": ", "25" ] + } ] + }, { + "value" : [ ", " ] + }, { + "s" : [ { + "r" : "288", + "value" : [ "c", ": ", "26" ] + } ] + }, { + "value" : [ "}" ] } ] - } + }, { + "value" : [ " }" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Length", + "localId" : "314", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ], + "signature" : [ { + "type" : "ListTypeSpecifier", + "localId" : "315", + "annotation" : [ ], + "elementType" : { + "type" : "TupleTypeSpecifier", + "localId" : "316", + "annotation" : [ ], + "element" : [ { + "localId" : "317", + "name" : "a", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "318", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, { + "localId" : "319", + "name" : "b", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "320", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, { + "localId" : "321", + "name" : "c", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "322", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } ] } - }, { - "localId" : "325", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "name" : "Empty", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "325", - "s" : [ { - "value" : [ "","define ","Empty",": " ] - }, { - "r" : "335", - "s" : [ { - "value" : [ "Length","(" ] - }, { - "r" : "327", - "s" : [ { - "value" : [ "List<" ] - }, { - "r" : "326", - "s" : [ { - "value" : [ "Integer" ] - } ] - }, { - "value" : [ ">{}" ] - } ] - }, { - "value" : [ ")" ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "335", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "Length", - "signature" : [ { - "localId" : "336", - "type" : "ListTypeSpecifier", + } ], + "operand" : { + "type" : "List", + "localId" : "273", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "296", + "annotation" : [ ], + "elementType" : { + "type" : "TupleTypeSpecifier", + "localId" : "297", + "annotation" : [ ], + "element" : [ { + "localId" : "298", + "name" : "a", + "annotation" : [ ], "elementType" : { - "localId" : "337", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" + "type" : "NamedTypeSpecifier", + "localId" : "299", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] } - } ], - "operand" : { - "localId" : "327", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "329", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "330", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "element" : [ ] - } - } - }, { - "localId" : "340", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "name" : "NullValue", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "340", - "s" : [ { - "value" : [ "","define ","NullValue",": " ] - }, { - "r" : "353", - "s" : [ { - "value" : [ "Length","(" ] - }, { - "r" : "341", - "s" : [ { - "r" : "342", - "value" : [ "null"," as " ] - }, { - "r" : "343", - "s" : [ { - "value" : [ "List<" ] - }, { - "r" : "344", - "s" : [ { - "value" : [ "Integer" ] - } ] - }, { - "value" : [ ">" ] - } ] - } ] - }, { - "value" : [ ")" ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "353", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "Length", - "signature" : [ { - "localId" : "354", - "type" : "ListTypeSpecifier", + }, { + "localId" : "300", + "name" : "b", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "301", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, { + "localId" : "302", + "name" : "c", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "303", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } ] + } + }, + "element" : [ { + "type" : "Tuple", + "localId" : "274", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "TupleTypeSpecifier", + "localId" : "278", + "annotation" : [ ], + "element" : [ { + "localId" : "279", + "name" : "a", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "280", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, { + "localId" : "281", + "name" : "b", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "282", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, { + "localId" : "283", + "name" : "c", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "284", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } ] + }, + "element" : [ { + "name" : "a", + "value" : { + "type" : "Literal", + "localId" : "275", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + } + }, { + "name" : "b", + "value" : { + "type" : "Literal", + "localId" : "276", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "annotation" : [ ] + } + }, { + "name" : "c", + "value" : { + "type" : "Literal", + "localId" : "277", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + } + } ] + }, { + "type" : "Tuple", + "localId" : "285", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "TupleTypeSpecifier", + "localId" : "289", + "annotation" : [ ], + "element" : [ { + "localId" : "290", + "name" : "a", + "annotation" : [ ], "elementType" : { - "localId" : "355", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" + "type" : "NamedTypeSpecifier", + "localId" : "291", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] } - } ], - "operand" : { - "localId" : "341", - "strict" : false, - "type" : "As", - "resultTypeSpecifier" : { - "localId" : "347", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "348", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "signature" : [ ], - "operand" : { - "localId" : "342", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - }, - "asTypeSpecifier" : { - "localId" : "343", - "type" : "ListTypeSpecifier", - "resultTypeSpecifier" : { - "localId" : "345", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "346", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "elementType" : { - "localId" : "344", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } + }, { + "localId" : "292", + "name" : "b", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "293", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] } - } + }, { + "localId" : "294", + "name" : "c", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "295", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } ] + }, + "element" : [ { + "name" : "a", + "value" : { + "type" : "Literal", + "localId" : "286", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "24", + "annotation" : [ ] + } + }, { + "name" : "b", + "value" : { + "type" : "Literal", + "localId" : "287", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "25", + "annotation" : [ ] + } + }, { + "name" : "c", + "value" : { + "type" : "Literal", + "localId" : "288", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "26", + "annotation" : [ ] + } + } ] + } ] + } + } + }, { + "localId" : "325", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "name" : "Empty", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "325", + "s" : [ { + "value" : [ "", "define ", "Empty", ": " ] + }, { + "r" : "335", + "s" : [ { + "value" : [ "Length", "(" ] + }, { + "r" : "327", + "s" : [ { + "value" : [ "List<" ] + }, { + "r" : "326", + "s" : [ { + "value" : [ "Integer" ] + } ] + }, { + "value" : [ ">{}" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Length", + "localId" : "335", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ], + "signature" : [ { + "type" : "ListTypeSpecifier", + "localId" : "336", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "337", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] } - } ] - } - } + } ], + "operand" : { + "type" : "List", + "localId" : "327", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "329", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "330", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "element" : [ ] + } + } + }, { + "localId" : "340", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "name" : "NullValue", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "340", + "s" : [ { + "value" : [ "", "define ", "NullValue", ": " ] + }, { + "r" : "353", + "s" : [ { + "value" : [ "Length", "(" ] + }, { + "r" : "341", + "s" : [ { + "r" : "342", + "value" : [ "null", " as " ] + }, { + "r" : "343", + "s" : [ { + "value" : [ "List<" ] + }, { + "r" : "344", + "s" : [ { + "value" : [ "Integer" ] + } ] + }, { + "value" : [ ">" ] + } ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Length", + "localId" : "353", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ], + "signature" : [ { + "type" : "ListTypeSpecifier", + "localId" : "354", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "355", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } ], + "operand" : { + "type" : "As", + "localId" : "341", + "strict" : false, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "347", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "348", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "signature" : [ ], + "operand" : { + "type" : "Null", + "localId" : "342", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + }, + "asTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "343", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "345", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "346", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "344", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } + } + } + } ] + } + } } /* ToList @@ -29459,269 +33465,300 @@ define LengthOfNull: Length(null as Integer) // CQL-to-ELM will promote the null */ module.exports['ToList'] = { - "library" : { - "localId" : "0", - "annotation" : [ { - "translatorVersion" : "3.27.0", - "translatorOptions" : "EnableDateRangeOptimization,EnableAnnotations,EnableResultTypes", - "signatureLevel" : "All", - "type" : "CqlToElmInfo" + "library" : { + "localId" : "0", + "annotation" : [ { + "type" : "CqlToElmInfo", + "translatorVersion" : "4.2.0", + "translatorOptions" : "EnableDateRangeOptimization,EnableAnnotations,EnableResultTypes", + "signatureLevel" : "All" + }, { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "234", + "s" : [ { + "value" : [ "", "library TestSnippet version '1'" ] + } ] + } + } ], + "identifier" : { + "id" : "TestSnippet", + "version" : "1" + }, + "schemaIdentifier" : { + "id" : "urn:hl7-org:elm", + "version" : "r1" + }, + "usings" : { + "def" : [ { + "localId" : "1", + "localIdentifier" : "System", + "uri" : "urn:hl7-org:elm-types:r1", + "annotation" : [ ] }, { - "type" : "Annotation", - "s" : { - "r" : "234", + "localId" : "206", + "localIdentifier" : "Simple", + "uri" : "https://github.com/cqframework/cql-execution/simple", + "version" : "1.0.0", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "206", "s" : [ { - "value" : [ "","library TestSnippet version '1'" ] - } ] - } - } ], - "identifier" : { - "id" : "TestSnippet", - "version" : "1" - }, - "schemaIdentifier" : { - "id" : "urn:hl7-org:elm", - "version" : "r1" - }, - "usings" : { - "def" : [ { - "localId" : "1", - "localIdentifier" : "System", - "uri" : "urn:hl7-org:elm-types:r1" - }, { - "localId" : "206", - "localIdentifier" : "Simple", - "uri" : "https://github.com/cqframework/cql-execution/simple", - "version" : "1.0.0", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "206", - "s" : [ { - "value" : [ "","using " ] - }, { - "s" : [ { - "value" : [ "Simple" ] - } ] - }, { - "value" : [ " version '1.0.0'" ] - } ] - } - } ] - } ] - }, - "contexts" : { - "def" : [ { - "localId" : "211", - "name" : "Patient" - } ] - }, - "statements" : { - "def" : [ { - "localId" : "209", - "name" : "Patient", - "context" : "Patient", - "expression" : { - "localId" : "210", - "type" : "SingletonFrom", - "signature" : [ ], - "operand" : { - "localId" : "208", - "dataType" : "{https://github.com/cqframework/cql-execution/simple}Patient", - "type" : "Retrieve", - "include" : [ ], - "codeFilter" : [ ], - "dateFilter" : [ ], - "otherFilter" : [ ] - } - } - }, { - "localId" : "214", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "FiveInFive", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "214", - "s" : [ { - "value" : [ "","define ","FiveInFive",": " ] - }, { - "r" : "217", - "s" : [ { - "r" : "215", - "value" : [ "5"," in ","5" ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "217", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "In", - "signature" : [ { - "localId" : "219", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "220", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "221", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "215", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal" - }, { - "localId" : "218", - "type" : "ToList", - "signature" : [ ], - "operand" : { - "localId" : "216", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal" - } - } ] + "value" : [ "", "using " ] + }, { + "s" : [ { + "value" : [ "Simple" ] + } ] + }, { + "value" : [ " version '1.0.0'" ] + } ] + } + } ] + } ] + }, + "contexts" : { + "def" : [ { + "localId" : "211", + "name" : "Patient", + "annotation" : [ ] + } ] + }, + "statements" : { + "def" : [ { + "localId" : "209", + "name" : "Patient", + "context" : "Patient", + "annotation" : [ ], + "expression" : { + "type" : "SingletonFrom", + "localId" : "210", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Retrieve", + "localId" : "208", + "dataType" : "{https://github.com/cqframework/cql-execution/simple}Patient", + "annotation" : [ ], + "include" : [ ], + "codeFilter" : [ ], + "dateFilter" : [ ], + "otherFilter" : [ ] + } + } + }, { + "localId" : "214", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "FiveInFive", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "214", + "s" : [ { + "value" : [ "", "define ", "FiveInFive", ": " ] + }, { + "r" : "217", + "s" : [ { + "r" : "215", + "value" : [ "5", " in ", "5" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "In", + "localId" : "217", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "219", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "ListTypeSpecifier", + "localId" : "220", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "221", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] } - }, { - "localId" : "224", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "FourInFive", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "224", - "s" : [ { - "value" : [ "// CQL-to-ELM will promote the second 5 to a list via ToList\n","define ","FourInFive",": " ] - }, { - "r" : "227", - "s" : [ { - "r" : "225", - "value" : [ "4"," in ","5" ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "227", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "In", - "signature" : [ { - "localId" : "229", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "230", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "231", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "225", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "4", - "type" : "Literal" - }, { - "localId" : "228", - "type" : "ToList", - "signature" : [ ], - "operand" : { - "localId" : "226", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal" - } - } ] + } ], + "operand" : [ { + "type" : "Literal", + "localId" : "215", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "5", + "annotation" : [ ] + }, { + "type" : "ToList", + "localId" : "218", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Literal", + "localId" : "216", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "5", + "annotation" : [ ] } - }, { - "localId" : "234", + } ] + } + }, { + "localId" : "224", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "FourInFive", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "224", + "s" : [ { + "value" : [ "// CQL-to-ELM will promote the second 5 to a list via ToList\n", "define ", "FourInFive", ": " ] + }, { + "r" : "227", + "s" : [ { + "r" : "225", + "value" : [ "4", " in ", "5" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "In", + "localId" : "227", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "229", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "ListTypeSpecifier", + "localId" : "230", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "231", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "Literal", + "localId" : "225", "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "name" : "LengthOfNull", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "234", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "4", + "annotation" : [ ] + }, { + "type" : "ToList", + "localId" : "228", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Literal", + "localId" : "226", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "5", + "annotation" : [ ] + } + } ] + } + }, { + "localId" : "234", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "name" : "LengthOfNull", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "234", + "s" : [ { + "value" : [ "// CQL-to-ELM will promote the 5 to a list via ToList\n", "define ", "LengthOfNull", ": " ] + }, { + "r" : "243", + "s" : [ { + "value" : [ "Length", "(" ] + }, { + "r" : "235", + "s" : [ { + "r" : "236", + "value" : [ "null", " as " ] + }, { + "r" : "237", "s" : [ { - "value" : [ "// CQL-to-ELM will promote the 5 to a list via ToList\n","define ","LengthOfNull",": " ] - }, { - "r" : "243", - "s" : [ { - "value" : [ "Length","(" ] - }, { - "r" : "235", - "s" : [ { - "r" : "236", - "value" : [ "null"," as " ] - }, { - "r" : "237", - "s" : [ { - "value" : [ "Integer" ] - } ] - } ] - }, { - "value" : [ ")" ] - } ] + "value" : [ "Integer" ] } ] - } - } ], - "expression" : { - "localId" : "243", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "Length", - "signature" : [ { - "localId" : "245", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "246", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : { - "localId" : "244", - "type" : "ToList", - "signature" : [ ], - "operand" : { - "localId" : "235", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "strict" : false, - "type" : "As", - "signature" : [ ], - "operand" : { - "localId" : "236", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - }, - "asTypeSpecifier" : { - "localId" : "237", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } - } + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Length", + "localId" : "243", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ], + "signature" : [ { + "type" : "ListTypeSpecifier", + "localId" : "245", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "246", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] } - } ] - } - } + } ], + "operand" : { + "type" : "ToList", + "localId" : "244", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "As", + "localId" : "235", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "strict" : false, + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Null", + "localId" : "236", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + }, + "asTypeSpecifier" : { + "type" : "NamedTypeSpecifier", + "localId" : "237", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } + } + } + } ] + } + } } /* Skip @@ -29735,525 +33772,603 @@ define SkipIsNull: Skip(null, 2) */ module.exports['Skip'] = { - "library" : { - "localId" : "0", - "annotation" : [ { - "translatorVersion" : "3.27.0", - "translatorOptions" : "EnableDateRangeOptimization,EnableAnnotations,EnableResultTypes", - "signatureLevel" : "All", - "type" : "CqlToElmInfo" + "library" : { + "localId" : "0", + "annotation" : [ { + "type" : "CqlToElmInfo", + "translatorVersion" : "4.2.0", + "translatorOptions" : "EnableDateRangeOptimization,EnableAnnotations,EnableResultTypes", + "signatureLevel" : "All" + }, { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "292", + "s" : [ { + "value" : [ "", "library TestSnippet version '1'" ] + } ] + } + } ], + "identifier" : { + "id" : "TestSnippet", + "version" : "1" + }, + "schemaIdentifier" : { + "id" : "urn:hl7-org:elm", + "version" : "r1" + }, + "usings" : { + "def" : [ { + "localId" : "1", + "localIdentifier" : "System", + "uri" : "urn:hl7-org:elm-types:r1", + "annotation" : [ ] }, { - "type" : "Annotation", - "s" : { - "r" : "292", + "localId" : "206", + "localIdentifier" : "Simple", + "uri" : "https://github.com/cqframework/cql-execution/simple", + "version" : "1.0.0", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "206", "s" : [ { - "value" : [ "","library TestSnippet version '1'" ] - } ] - } - } ], - "identifier" : { - "id" : "TestSnippet", - "version" : "1" - }, - "schemaIdentifier" : { - "id" : "urn:hl7-org:elm", - "version" : "r1" - }, - "usings" : { - "def" : [ { - "localId" : "1", - "localIdentifier" : "System", - "uri" : "urn:hl7-org:elm-types:r1" - }, { - "localId" : "206", - "localIdentifier" : "Simple", - "uri" : "https://github.com/cqframework/cql-execution/simple", - "version" : "1.0.0", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "206", - "s" : [ { - "value" : [ "","using " ] - }, { - "s" : [ { - "value" : [ "Simple" ] - } ] - }, { - "value" : [ " version '1.0.0'" ] - } ] - } - } ] - } ] - }, - "contexts" : { - "def" : [ { - "localId" : "211", - "name" : "Patient" - } ] - }, - "statements" : { - "def" : [ { - "localId" : "209", - "name" : "Patient", - "context" : "Patient", - "expression" : { - "localId" : "210", - "type" : "SingletonFrom", - "signature" : [ ], - "operand" : { - "localId" : "208", - "dataType" : "{https://github.com/cqframework/cql-execution/simple}Patient", - "type" : "Retrieve", - "include" : [ ], - "codeFilter" : [ ], - "dateFilter" : [ ], - "otherFilter" : [ ] - } - } - }, { - "localId" : "214", - "name" : "Skip2", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "214", - "s" : [ { - "value" : [ "","define ","Skip2",": " ] - }, { - "r" : "229", - "s" : [ { - "value" : [ "Skip","(" ] - }, { - "r" : "215", - "s" : [ { - "r" : "216", - "value" : [ "{ ","1",", ","2",", ","3",", ","4",", ","5"," }" ] - } ] - }, { - "r" : "223", - "value" : [ ", ","2",")" ] - } ] - } ] - } - } ], - "resultTypeSpecifier" : { - "localId" : "236", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "237", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "expression" : { - "localId" : "229", - "type" : "Slice", - "resultTypeSpecifier" : { - "localId" : "234", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "235", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "signature" : [ { - "localId" : "231", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "232", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "233", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "source" : { - "localId" : "215", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "221", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "222", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "element" : [ { - "localId" : "216", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, { - "localId" : "217", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal" - }, { - "localId" : "218", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, { - "localId" : "219", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "4", - "type" : "Literal" - }, { - "localId" : "220", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal" - } ] - }, - "startIndex" : { - "localId" : "223", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal" - }, - "endIndex" : { - "localId" : "230", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "Null" - } + "value" : [ "", "using " ] + }, { + "s" : [ { + "value" : [ "Simple" ] + } ] + }, { + "value" : [ " version '1.0.0'" ] + } ] + } + } ] + } ] + }, + "contexts" : { + "def" : [ { + "localId" : "211", + "name" : "Patient", + "annotation" : [ ] + } ] + }, + "statements" : { + "def" : [ { + "localId" : "209", + "name" : "Patient", + "context" : "Patient", + "annotation" : [ ], + "expression" : { + "type" : "SingletonFrom", + "localId" : "210", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Retrieve", + "localId" : "208", + "dataType" : "{https://github.com/cqframework/cql-execution/simple}Patient", + "annotation" : [ ], + "include" : [ ], + "codeFilter" : [ ], + "dateFilter" : [ ], + "otherFilter" : [ ] + } + } + }, { + "localId" : "214", + "name" : "Skip2", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "214", + "s" : [ { + "value" : [ "", "define ", "Skip2", ": " ] + }, { + "r" : "229", + "s" : [ { + "value" : [ "Skip", "(" ] + }, { + "r" : "215", + "s" : [ { + "r" : "216", + "value" : [ "{ ", "1", ", ", "2", ", ", "3", ", ", "4", ", ", "5", " }" ] + } ] + }, { + "r" : "223", + "value" : [ ", ", "2", ")" ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "236", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "237", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "expression" : { + "type" : "Slice", + "localId" : "229", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "234", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "235", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] } - }, { - "localId" : "240", - "name" : "SkipNull", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "240", - "s" : [ { - "value" : [ "","define ","SkipNull",": " ] - }, { - "r" : "254", - "s" : [ { - "value" : [ "Skip","(" ] - }, { - "r" : "241", - "s" : [ { - "r" : "242", - "value" : [ "{ ","1",", ","3",", ","5"," }" ] - } ] - }, { - "r" : "247", - "value" : [ ", ","null",")" ] - } ] - } ] - } - } ], + }, + "signature" : [ { + "type" : "ListTypeSpecifier", + "localId" : "231", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "232", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, { + "type" : "NamedTypeSpecifier", + "localId" : "233", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "source" : { + "type" : "List", + "localId" : "215", + "annotation" : [ ], "resultTypeSpecifier" : { - "localId" : "262", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "263", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } + "type" : "ListTypeSpecifier", + "localId" : "221", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "222", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } }, - "expression" : { - "localId" : "254", - "type" : "Slice", - "resultTypeSpecifier" : { - "localId" : "260", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "261", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "signature" : [ { - "localId" : "257", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "258", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "259", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "source" : { - "localId" : "241", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "245", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "246", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "element" : [ { - "localId" : "242", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, { - "localId" : "243", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, { - "localId" : "244", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal" - } ] - }, - "startIndex" : { - "localId" : "256", - "asType" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "As", - "signature" : [ ], - "operand" : { - "localId" : "247", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - } - }, - "endIndex" : { - "localId" : "255", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - } + "element" : [ { + "type" : "Literal", + "localId" : "216", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "217", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "218", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "219", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "4", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "220", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "5", + "annotation" : [ ] + } ] + }, + "startIndex" : { + "type" : "Literal", + "localId" : "223", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "annotation" : [ ] + }, + "endIndex" : { + "type" : "Null", + "localId" : "230", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } + }, { + "localId" : "240", + "name" : "SkipNull", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "240", + "s" : [ { + "value" : [ "", "define ", "SkipNull", ": " ] + }, { + "r" : "254", + "s" : [ { + "value" : [ "Skip", "(" ] + }, { + "r" : "241", + "s" : [ { + "r" : "242", + "value" : [ "{ ", "1", ", ", "3", ", ", "5", " }" ] + } ] + }, { + "r" : "247", + "value" : [ ", ", "null", ")" ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "262", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "263", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "expression" : { + "type" : "Slice", + "localId" : "254", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "260", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "261", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] } - }, { - "localId" : "266", - "name" : "SkipEmpty", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "266", - "s" : [ { - "value" : [ "","define ","SkipEmpty",": " ] - }, { - "r" : "281", - "s" : [ { - "value" : [ "Skip","(" ] - }, { - "r" : "267", - "s" : [ { - "r" : "268", - "value" : [ "{ ","1",", ","3",", ","5"," }" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "273", - "s" : [ { - "r" : "274", - "value" : [ "-","1" ] - } ] - }, { - "value" : [ ")" ] - } ] - } ] - } - } ], + }, + "signature" : [ { + "type" : "ListTypeSpecifier", + "localId" : "257", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "258", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, { + "type" : "NamedTypeSpecifier", + "localId" : "259", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "source" : { + "type" : "List", + "localId" : "241", + "annotation" : [ ], "resultTypeSpecifier" : { - "localId" : "288", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "289", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } + "type" : "ListTypeSpecifier", + "localId" : "245", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "246", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } }, - "expression" : { - "localId" : "281", - "type" : "Slice", - "resultTypeSpecifier" : { - "localId" : "286", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "287", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "signature" : [ { - "localId" : "283", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "284", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "285", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "source" : { - "localId" : "267", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "271", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "272", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "element" : [ { - "localId" : "268", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, { - "localId" : "269", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, { - "localId" : "270", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal" - } ] - }, - "startIndex" : { - "localId" : "273", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "Negate", - "signature" : [ { - "localId" : "275", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "274", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - } - }, - "endIndex" : { - "localId" : "282", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "Null" - } + "element" : [ { + "type" : "Literal", + "localId" : "242", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "243", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "244", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "5", + "annotation" : [ ] + } ] + }, + "startIndex" : { + "type" : "As", + "localId" : "256", + "asType" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Null", + "localId" : "247", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] } - }, { - "localId" : "292", - "name" : "SkipIsNull", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "292", - "s" : [ { - "value" : [ "","define ","SkipIsNull",": " ] - }, { - "r" : "303", - "s" : [ { - "r" : "293", - "value" : [ "Skip","(","null",", ","2",")" ] - } ] - } ] - } - } ], + }, + "endIndex" : { + "type" : "Null", + "localId" : "255", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } + } + }, { + "localId" : "266", + "name" : "SkipEmpty", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "266", + "s" : [ { + "value" : [ "", "define ", "SkipEmpty", ": " ] + }, { + "r" : "281", + "s" : [ { + "value" : [ "Skip", "(" ] + }, { + "r" : "267", + "s" : [ { + "r" : "268", + "value" : [ "{ ", "1", ", ", "3", ", ", "5", " }" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "273", + "s" : [ { + "r" : "274", + "value" : [ "-", "1" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "288", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "289", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "expression" : { + "type" : "Slice", + "localId" : "281", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "286", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "287", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "signature" : [ { + "type" : "ListTypeSpecifier", + "localId" : "283", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "284", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, { + "type" : "NamedTypeSpecifier", + "localId" : "285", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "source" : { + "type" : "List", + "localId" : "267", + "annotation" : [ ], "resultTypeSpecifier" : { - "localId" : "313", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "314", - "name" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "NamedTypeSpecifier" - } + "type" : "ListTypeSpecifier", + "localId" : "271", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "272", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } }, - "expression" : { - "localId" : "303", - "type" : "Slice", - "resultTypeSpecifier" : { - "localId" : "311", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "312", - "name" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "NamedTypeSpecifier" - } - }, - "signature" : [ { - "localId" : "308", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "309", - "name" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "310", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "source" : { - "localId" : "305", - "type" : "As", - "signature" : [ ], - "operand" : { - "localId" : "293", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - }, - "asTypeSpecifier" : { - "localId" : "306", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "307", - "name" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "NamedTypeSpecifier" - } - } - }, - "startIndex" : { - "localId" : "294", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal" - }, - "endIndex" : { - "localId" : "304", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "Null" - } + "element" : [ { + "type" : "Literal", + "localId" : "268", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "269", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "270", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "5", + "annotation" : [ ] + } ] + }, + "startIndex" : { + "type" : "Negate", + "localId" : "273", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "275", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "operand" : { + "type" : "Literal", + "localId" : "274", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] } - } ] - } - } + }, + "endIndex" : { + "type" : "Null", + "localId" : "282", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } + }, { + "localId" : "292", + "name" : "SkipIsNull", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "292", + "s" : [ { + "value" : [ "", "define ", "SkipIsNull", ": " ] + }, { + "r" : "303", + "s" : [ { + "r" : "293", + "value" : [ "Skip", "(", "null", ", ", "2", ")" ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "313", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "314", + "name" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } + }, + "expression" : { + "type" : "Slice", + "localId" : "303", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "311", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "312", + "name" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } + }, + "signature" : [ { + "type" : "ListTypeSpecifier", + "localId" : "308", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "309", + "name" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } + }, { + "type" : "NamedTypeSpecifier", + "localId" : "310", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "source" : { + "type" : "As", + "localId" : "305", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Null", + "localId" : "293", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + }, + "asTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "306", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "307", + "name" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } + } + }, + "startIndex" : { + "type" : "Literal", + "localId" : "294", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "annotation" : [ ] + }, + "endIndex" : { + "type" : "Null", + "localId" : "304", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } + } ] + } + } } /* Tail @@ -30266,349 +34381,400 @@ define TailIsNull: Tail(null) */ module.exports['Tail'] = { - "library" : { - "localId" : "0", - "annotation" : [ { - "translatorVersion" : "3.27.0", - "translatorOptions" : "EnableDateRangeOptimization,EnableAnnotations,EnableResultTypes", - "signatureLevel" : "All", - "type" : "CqlToElmInfo" + "library" : { + "localId" : "0", + "annotation" : [ { + "type" : "CqlToElmInfo", + "translatorVersion" : "4.2.0", + "translatorOptions" : "EnableDateRangeOptimization,EnableAnnotations,EnableResultTypes", + "signatureLevel" : "All" + }, { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "256", + "s" : [ { + "value" : [ "", "library TestSnippet version '1'" ] + } ] + } + } ], + "identifier" : { + "id" : "TestSnippet", + "version" : "1" + }, + "schemaIdentifier" : { + "id" : "urn:hl7-org:elm", + "version" : "r1" + }, + "usings" : { + "def" : [ { + "localId" : "1", + "localIdentifier" : "System", + "uri" : "urn:hl7-org:elm-types:r1", + "annotation" : [ ] }, { - "type" : "Annotation", - "s" : { - "r" : "256", + "localId" : "206", + "localIdentifier" : "Simple", + "uri" : "https://github.com/cqframework/cql-execution/simple", + "version" : "1.0.0", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "206", "s" : [ { - "value" : [ "","library TestSnippet version '1'" ] - } ] - } - } ], - "identifier" : { - "id" : "TestSnippet", - "version" : "1" - }, - "schemaIdentifier" : { - "id" : "urn:hl7-org:elm", - "version" : "r1" - }, - "usings" : { - "def" : [ { - "localId" : "1", - "localIdentifier" : "System", - "uri" : "urn:hl7-org:elm-types:r1" - }, { - "localId" : "206", - "localIdentifier" : "Simple", - "uri" : "https://github.com/cqframework/cql-execution/simple", - "version" : "1.0.0", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "206", - "s" : [ { - "value" : [ "","using " ] - }, { - "s" : [ { - "value" : [ "Simple" ] - } ] - }, { - "value" : [ " version '1.0.0'" ] - } ] - } - } ] - } ] - }, - "contexts" : { - "def" : [ { - "localId" : "211", - "name" : "Patient" - } ] - }, - "statements" : { - "def" : [ { - "localId" : "209", - "name" : "Patient", - "context" : "Patient", - "expression" : { - "localId" : "210", - "type" : "SingletonFrom", - "signature" : [ ], - "operand" : { - "localId" : "208", - "dataType" : "{https://github.com/cqframework/cql-execution/simple}Patient", - "type" : "Retrieve", - "include" : [ ], - "codeFilter" : [ ], - "dateFilter" : [ ], - "otherFilter" : [ ] - } - } - }, { - "localId" : "214", - "name" : "Tail234", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "214", - "s" : [ { - "value" : [ "","define ","Tail234",": " ] - }, { - "r" : "226", - "s" : [ { - "value" : [ "Tail","(" ] - }, { - "r" : "215", - "s" : [ { - "r" : "216", - "value" : [ "{ ","1",", ","2",", ","3",", ","4"," }" ] - } ] - }, { - "value" : [ ")" ] - } ] - } ] - } - } ], + "value" : [ "", "using " ] + }, { + "s" : [ { + "value" : [ "Simple" ] + } ] + }, { + "value" : [ " version '1.0.0'" ] + } ] + } + } ] + } ] + }, + "contexts" : { + "def" : [ { + "localId" : "211", + "name" : "Patient", + "annotation" : [ ] + } ] + }, + "statements" : { + "def" : [ { + "localId" : "209", + "name" : "Patient", + "context" : "Patient", + "annotation" : [ ], + "expression" : { + "type" : "SingletonFrom", + "localId" : "210", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Retrieve", + "localId" : "208", + "dataType" : "{https://github.com/cqframework/cql-execution/simple}Patient", + "annotation" : [ ], + "include" : [ ], + "codeFilter" : [ ], + "dateFilter" : [ ], + "otherFilter" : [ ] + } + } + }, { + "localId" : "214", + "name" : "Tail234", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "214", + "s" : [ { + "value" : [ "", "define ", "Tail234", ": " ] + }, { + "r" : "226", + "s" : [ { + "value" : [ "Tail", "(" ] + }, { + "r" : "215", + "s" : [ { + "r" : "216", + "value" : [ "{ ", "1", ", ", "2", ", ", "3", ", ", "4", " }" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "233", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "234", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "expression" : { + "type" : "Slice", + "localId" : "226", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "231", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "232", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "signature" : [ { + "type" : "ListTypeSpecifier", + "localId" : "229", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "230", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } ], + "source" : { + "type" : "List", + "localId" : "215", + "annotation" : [ ], "resultTypeSpecifier" : { - "localId" : "233", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "234", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } + "type" : "ListTypeSpecifier", + "localId" : "220", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "221", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } }, - "expression" : { - "localId" : "226", - "type" : "Slice", - "resultTypeSpecifier" : { - "localId" : "231", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "232", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "signature" : [ { - "localId" : "229", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "230", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } ], - "source" : { - "localId" : "215", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "220", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "221", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "element" : [ { - "localId" : "216", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, { - "localId" : "217", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal" - }, { - "localId" : "218", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, { - "localId" : "219", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "4", - "type" : "Literal" - } ] - }, - "startIndex" : { - "localId" : "227", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "endIndex" : { - "localId" : "228", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "Null" - } + "element" : [ { + "type" : "Literal", + "localId" : "216", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "217", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "218", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "219", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "4", + "annotation" : [ ] + } ] + }, + "startIndex" : { + "type" : "Literal", + "localId" : "227", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "endIndex" : { + "type" : "Null", + "localId" : "228", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } + }, { + "localId" : "237", + "name" : "TailEmpty", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "237", + "s" : [ { + "value" : [ "", "define ", "TailEmpty", ": " ] + }, { + "r" : "245", + "s" : [ { + "r" : "238", + "value" : [ "Tail", "(", "{ }", ")" ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "252", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "253", + "name" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } + }, + "expression" : { + "type" : "Slice", + "localId" : "245", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "250", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "251", + "name" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] } - }, { - "localId" : "237", - "name" : "TailEmpty", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "237", - "s" : [ { - "value" : [ "","define ","TailEmpty",": " ] - }, { - "r" : "245", - "s" : [ { - "r" : "238", - "value" : [ "Tail","(","{ }",")" ] - } ] - } ] - } - } ], + }, + "signature" : [ { + "type" : "ListTypeSpecifier", + "localId" : "248", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "249", + "name" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } + } ], + "source" : { + "type" : "List", + "localId" : "238", + "annotation" : [ ], "resultTypeSpecifier" : { - "localId" : "252", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "253", - "name" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "NamedTypeSpecifier" - } + "type" : "ListTypeSpecifier", + "localId" : "239", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "240", + "name" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } }, - "expression" : { - "localId" : "245", - "type" : "Slice", - "resultTypeSpecifier" : { - "localId" : "250", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "251", - "name" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "NamedTypeSpecifier" - } - }, - "signature" : [ { - "localId" : "248", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "249", - "name" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "NamedTypeSpecifier" - } - } ], - "source" : { - "localId" : "238", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "239", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "240", - "name" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "NamedTypeSpecifier" - } - }, - "element" : [ ] - }, - "startIndex" : { - "localId" : "246", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "endIndex" : { - "localId" : "247", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "Null" - } + "element" : [ ] + }, + "startIndex" : { + "type" : "Literal", + "localId" : "246", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "endIndex" : { + "type" : "Null", + "localId" : "247", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } + }, { + "localId" : "256", + "name" : "TailIsNull", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "256", + "s" : [ { + "value" : [ "", "define ", "TailIsNull", ": " ] + }, { + "r" : "265", + "s" : [ { + "r" : "257", + "value" : [ "Tail", "(", "null", ")" ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "275", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "276", + "name" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } + }, + "expression" : { + "type" : "Slice", + "localId" : "265", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "273", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "274", + "name" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] } - }, { - "localId" : "256", - "name" : "TailIsNull", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "256", - "s" : [ { - "value" : [ "","define ","TailIsNull",": " ] - }, { - "r" : "265", - "s" : [ { - "r" : "257", - "value" : [ "Tail","(","null",")" ] - } ] - } ] - } - } ], - "resultTypeSpecifier" : { - "localId" : "275", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "276", - "name" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "NamedTypeSpecifier" - } + }, + "signature" : [ { + "type" : "ListTypeSpecifier", + "localId" : "271", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "272", + "name" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } + } ], + "source" : { + "type" : "As", + "localId" : "268", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Null", + "localId" : "257", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] }, - "expression" : { - "localId" : "265", - "type" : "Slice", - "resultTypeSpecifier" : { - "localId" : "273", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "274", - "name" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "NamedTypeSpecifier" - } - }, - "signature" : [ { - "localId" : "271", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "272", - "name" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "NamedTypeSpecifier" - } - } ], - "source" : { - "localId" : "268", - "type" : "As", - "signature" : [ ], - "operand" : { - "localId" : "257", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - }, - "asTypeSpecifier" : { - "localId" : "269", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "270", - "name" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "NamedTypeSpecifier" - } - } - }, - "startIndex" : { - "localId" : "266", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "endIndex" : { - "localId" : "267", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "Null" - } + "asTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "269", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "270", + "name" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } } - } ] - } - } + }, + "startIndex" : { + "type" : "Literal", + "localId" : "266", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "endIndex" : { + "type" : "Null", + "localId" : "267", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } + } ] + } + } } /* Take @@ -30622,577 +34788,668 @@ define TakeIsNull: Take(null, 2) */ module.exports['Take'] = { - "library" : { - "localId" : "0", - "annotation" : [ { - "translatorVersion" : "3.27.0", - "translatorOptions" : "EnableDateRangeOptimization,EnableAnnotations,EnableResultTypes", - "signatureLevel" : "All", - "type" : "CqlToElmInfo" + "library" : { + "localId" : "0", + "annotation" : [ { + "type" : "CqlToElmInfo", + "translatorVersion" : "4.2.0", + "translatorOptions" : "EnableDateRangeOptimization,EnableAnnotations,EnableResultTypes", + "signatureLevel" : "All" + }, { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "301", + "s" : [ { + "value" : [ "", "library TestSnippet version '1'" ] + } ] + } + } ], + "identifier" : { + "id" : "TestSnippet", + "version" : "1" + }, + "schemaIdentifier" : { + "id" : "urn:hl7-org:elm", + "version" : "r1" + }, + "usings" : { + "def" : [ { + "localId" : "1", + "localIdentifier" : "System", + "uri" : "urn:hl7-org:elm-types:r1", + "annotation" : [ ] }, { - "type" : "Annotation", - "s" : { - "r" : "301", + "localId" : "206", + "localIdentifier" : "Simple", + "uri" : "https://github.com/cqframework/cql-execution/simple", + "version" : "1.0.0", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "206", "s" : [ { - "value" : [ "","library TestSnippet version '1'" ] - } ] - } - } ], - "identifier" : { - "id" : "TestSnippet", - "version" : "1" - }, - "schemaIdentifier" : { - "id" : "urn:hl7-org:elm", - "version" : "r1" - }, - "usings" : { - "def" : [ { - "localId" : "1", - "localIdentifier" : "System", - "uri" : "urn:hl7-org:elm-types:r1" - }, { - "localId" : "206", - "localIdentifier" : "Simple", - "uri" : "https://github.com/cqframework/cql-execution/simple", - "version" : "1.0.0", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "206", - "s" : [ { - "value" : [ "","using " ] - }, { - "s" : [ { - "value" : [ "Simple" ] - } ] - }, { - "value" : [ " version '1.0.0'" ] - } ] - } - } ] - } ] - }, - "contexts" : { - "def" : [ { - "localId" : "211", - "name" : "Patient" - } ] - }, - "statements" : { - "def" : [ { - "localId" : "209", - "name" : "Patient", - "context" : "Patient", - "expression" : { - "localId" : "210", - "type" : "SingletonFrom", - "signature" : [ ], - "operand" : { - "localId" : "208", - "dataType" : "{https://github.com/cqframework/cql-execution/simple}Patient", - "type" : "Retrieve", - "include" : [ ], - "codeFilter" : [ ], - "dateFilter" : [ ], - "otherFilter" : [ ] - } - } - }, { - "localId" : "214", - "name" : "Take2", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "214", - "s" : [ { - "value" : [ "","define ","Take2",": " ] - }, { - "r" : "228", - "s" : [ { - "value" : [ "Take","(" ] - }, { - "r" : "215", - "s" : [ { - "r" : "216", - "value" : [ "{ ","1",", ","2",", ","3",", ","4"," }" ] - } ] - }, { - "r" : "222", - "value" : [ ", ","2",")" ] - } ] - } ] - } - } ], + "value" : [ "", "using " ] + }, { + "s" : [ { + "value" : [ "Simple" ] + } ] + }, { + "value" : [ " version '1.0.0'" ] + } ] + } + } ] + } ] + }, + "contexts" : { + "def" : [ { + "localId" : "211", + "name" : "Patient", + "annotation" : [ ] + } ] + }, + "statements" : { + "def" : [ { + "localId" : "209", + "name" : "Patient", + "context" : "Patient", + "annotation" : [ ], + "expression" : { + "type" : "SingletonFrom", + "localId" : "210", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Retrieve", + "localId" : "208", + "dataType" : "{https://github.com/cqframework/cql-execution/simple}Patient", + "annotation" : [ ], + "include" : [ ], + "codeFilter" : [ ], + "dateFilter" : [ ], + "otherFilter" : [ ] + } + } + }, { + "localId" : "214", + "name" : "Take2", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "214", + "s" : [ { + "value" : [ "", "define ", "Take2", ": " ] + }, { + "r" : "228", + "s" : [ { + "value" : [ "Take", "(" ] + }, { + "r" : "215", + "s" : [ { + "r" : "216", + "value" : [ "{ ", "1", ", ", "2", ", ", "3", ", ", "4", " }" ] + } ] + }, { + "r" : "222", + "value" : [ ", ", "2", ")" ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "239", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "240", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "expression" : { + "type" : "Slice", + "localId" : "228", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "237", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "238", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "signature" : [ { + "type" : "ListTypeSpecifier", + "localId" : "234", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "235", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, { + "type" : "NamedTypeSpecifier", + "localId" : "236", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "source" : { + "type" : "List", + "localId" : "215", + "annotation" : [ ], "resultTypeSpecifier" : { - "localId" : "239", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "240", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } + "type" : "ListTypeSpecifier", + "localId" : "220", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "221", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } }, - "expression" : { - "localId" : "228", - "type" : "Slice", - "resultTypeSpecifier" : { - "localId" : "237", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "238", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "signature" : [ { - "localId" : "234", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "235", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "236", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "source" : { - "localId" : "215", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "220", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "221", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "element" : [ { - "localId" : "216", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, { - "localId" : "217", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal" - }, { - "localId" : "218", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, { - "localId" : "219", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "4", - "type" : "Literal" - } ] - }, - "startIndex" : { - "localId" : "229", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "endIndex" : { - "localId" : "230", - "type" : "Coalesce", - "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" : "222", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal" - }, { - "localId" : "231", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } ] - } - } - }, { - "localId" : "243", - "name" : "TakeTooMany", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "243", - "s" : [ { - "value" : [ "","define ","TakeTooMany",": " ] - }, { - "r" : "255", - "s" : [ { - "value" : [ "Take","(" ] - }, { - "r" : "244", - "s" : [ { - "r" : "245", - "value" : [ "{ ","1",", ","2"," }" ] - } ] - }, { - "r" : "249", - "value" : [ ", ","3",")" ] - } ] - } ] - } + "element" : [ { + "type" : "Literal", + "localId" : "216", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "217", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "218", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "219", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "4", + "annotation" : [ ] + } ] + }, + "startIndex" : { + "type" : "Literal", + "localId" : "229", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "endIndex" : { + "type" : "Coalesce", + "localId" : "230", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "232", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "233", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] } ], + "operand" : [ { + "type" : "Literal", + "localId" : "222", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "231", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } ] + } + } + }, { + "localId" : "243", + "name" : "TakeTooMany", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "243", + "s" : [ { + "value" : [ "", "define ", "TakeTooMany", ": " ] + }, { + "r" : "255", + "s" : [ { + "value" : [ "Take", "(" ] + }, { + "r" : "244", + "s" : [ { + "r" : "245", + "value" : [ "{ ", "1", ", ", "2", " }" ] + } ] + }, { + "r" : "249", + "value" : [ ", ", "3", ")" ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "266", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "267", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "expression" : { + "type" : "Slice", + "localId" : "255", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "264", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "265", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "signature" : [ { + "type" : "ListTypeSpecifier", + "localId" : "261", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "262", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, { + "type" : "NamedTypeSpecifier", + "localId" : "263", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "source" : { + "type" : "List", + "localId" : "244", + "annotation" : [ ], "resultTypeSpecifier" : { - "localId" : "266", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "267", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } + "type" : "ListTypeSpecifier", + "localId" : "247", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "248", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } }, - "expression" : { - "localId" : "255", - "type" : "Slice", - "resultTypeSpecifier" : { - "localId" : "264", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "265", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "signature" : [ { - "localId" : "261", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "262", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "263", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "source" : { - "localId" : "244", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "247", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "248", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "element" : [ { - "localId" : "245", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, { - "localId" : "246", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal" - } ] - }, - "startIndex" : { - "localId" : "256", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "endIndex" : { - "localId" : "257", - "type" : "Coalesce", - "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" : "249", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, { - "localId" : "258", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } ] - } - } - }, { - "localId" : "270", - "name" : "TakeEmpty", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "270", - "s" : [ { - "value" : [ "","define ","TakeEmpty",": " ] - }, { - "r" : "285", - "s" : [ { - "value" : [ "Take","(" ] - }, { - "r" : "271", - "s" : [ { - "r" : "272", - "value" : [ "{ ","1",", ","2",", ","3",", ","4"," }" ] - } ] - }, { - "r" : "278", - "value" : [ ", ","null",")" ] - } ] - } ] - } + "element" : [ { + "type" : "Literal", + "localId" : "245", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "246", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "annotation" : [ ] + } ] + }, + "startIndex" : { + "type" : "Literal", + "localId" : "256", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "endIndex" : { + "type" : "Coalesce", + "localId" : "257", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "259", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "260", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] } ], + "operand" : [ { + "type" : "Literal", + "localId" : "249", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "258", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } ] + } + } + }, { + "localId" : "270", + "name" : "TakeEmpty", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "270", + "s" : [ { + "value" : [ "", "define ", "TakeEmpty", ": " ] + }, { + "r" : "285", + "s" : [ { + "value" : [ "Take", "(" ] + }, { + "r" : "271", + "s" : [ { + "r" : "272", + "value" : [ "{ ", "1", ", ", "2", ", ", "3", ", ", "4", " }" ] + } ] + }, { + "r" : "278", + "value" : [ ", ", "null", ")" ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "297", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "298", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "expression" : { + "type" : "Slice", + "localId" : "285", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "295", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "296", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "signature" : [ { + "type" : "ListTypeSpecifier", + "localId" : "292", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "293", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, { + "type" : "NamedTypeSpecifier", + "localId" : "294", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "source" : { + "type" : "List", + "localId" : "271", + "annotation" : [ ], "resultTypeSpecifier" : { - "localId" : "297", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "298", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } + "type" : "ListTypeSpecifier", + "localId" : "276", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "277", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } }, - "expression" : { - "localId" : "285", - "type" : "Slice", - "resultTypeSpecifier" : { - "localId" : "295", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "296", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "signature" : [ { - "localId" : "292", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "293", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "294", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "source" : { - "localId" : "271", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "276", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "277", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "element" : [ { - "localId" : "272", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, { - "localId" : "273", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal" - }, { - "localId" : "274", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, { - "localId" : "275", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "4", - "type" : "Literal" - } ] - }, - "startIndex" : { - "localId" : "286", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "endIndex" : { - "localId" : "287", - "type" : "Coalesce", - "signature" : [ { - "localId" : "290", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "291", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "289", - "asType" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "As", - "signature" : [ ], - "operand" : { - "localId" : "278", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - } - }, { - "localId" : "288", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } ] - } - } - }, { - "localId" : "301", - "name" : "TakeIsNull", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "301", - "s" : [ { - "value" : [ "","define ","TakeIsNull",": " ] - }, { - "r" : "312", - "s" : [ { - "r" : "302", - "value" : [ "Take","(","null",", ","2",")" ] - } ] - } ] - } + "element" : [ { + "type" : "Literal", + "localId" : "272", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "273", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "274", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "275", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "4", + "annotation" : [ ] + } ] + }, + "startIndex" : { + "type" : "Literal", + "localId" : "286", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "endIndex" : { + "type" : "Coalesce", + "localId" : "287", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "290", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "291", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] } ], - "resultTypeSpecifier" : { - "localId" : "326", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "327", - "name" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "NamedTypeSpecifier" - } + "operand" : [ { + "type" : "As", + "localId" : "289", + "asType" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Null", + "localId" : "278", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } + }, { + "type" : "Literal", + "localId" : "288", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } ] + } + } + }, { + "localId" : "301", + "name" : "TakeIsNull", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "301", + "s" : [ { + "value" : [ "", "define ", "TakeIsNull", ": " ] + }, { + "r" : "312", + "s" : [ { + "r" : "302", + "value" : [ "Take", "(", "null", ", ", "2", ")" ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "326", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "327", + "name" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } + }, + "expression" : { + "type" : "Slice", + "localId" : "312", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "324", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "325", + "name" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } + }, + "signature" : [ { + "type" : "ListTypeSpecifier", + "localId" : "321", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "322", + "name" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } + }, { + "type" : "NamedTypeSpecifier", + "localId" : "323", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "source" : { + "type" : "As", + "localId" : "318", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Null", + "localId" : "302", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] }, - "expression" : { - "localId" : "312", - "type" : "Slice", - "resultTypeSpecifier" : { - "localId" : "324", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "325", - "name" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "NamedTypeSpecifier" - } - }, - "signature" : [ { - "localId" : "321", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "322", - "name" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "323", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "source" : { - "localId" : "318", - "type" : "As", - "signature" : [ ], - "operand" : { - "localId" : "302", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - }, - "asTypeSpecifier" : { - "localId" : "319", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "320", - "name" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "NamedTypeSpecifier" - } - } - }, - "startIndex" : { - "localId" : "313", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "endIndex" : { - "localId" : "314", - "type" : "Coalesce", - "signature" : [ { - "localId" : "316", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "317", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "303", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal" - }, { - "localId" : "315", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } ] - } - } - } ] - } - } + "asTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "319", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "320", + "name" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } + } + }, + "startIndex" : { + "type" : "Literal", + "localId" : "313", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "endIndex" : { + "type" : "Coalesce", + "localId" : "314", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "316", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "317", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "Literal", + "localId" : "303", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "315", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } ] + } + } + } ] + } + } } diff --git a/test/elm/literal/data.js b/test/elm/literal/data.js index 9bca4d25..c17db7b3 100644 --- a/test/elm/literal/data.js +++ b/test/elm/literal/data.js @@ -22,320 +22,353 @@ define TimeX: @T12:10:59.456 */ module.exports['Literal'] = { - "library" : { - "localId" : "0", - "annotation" : [ { - "translatorVersion" : "3.27.0", - "translatorOptions" : "EnableDateRangeOptimization,EnableAnnotations,EnableResultTypes", - "signatureLevel" : "All", - "type" : "CqlToElmInfo" + "library" : { + "localId" : "0", + "annotation" : [ { + "type" : "CqlToElmInfo", + "translatorVersion" : "4.2.0", + "translatorOptions" : "EnableDateRangeOptimization,EnableAnnotations,EnableResultTypes", + "signatureLevel" : "All" + }, { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "247", + "s" : [ { + "value" : [ "", "library TestSnippet version '1'" ] + } ] + } + } ], + "identifier" : { + "id" : "TestSnippet", + "version" : "1" + }, + "schemaIdentifier" : { + "id" : "urn:hl7-org:elm", + "version" : "r1" + }, + "usings" : { + "def" : [ { + "localId" : "1", + "localIdentifier" : "System", + "uri" : "urn:hl7-org:elm-types:r1", + "annotation" : [ ] }, { - "type" : "Annotation", - "s" : { - "r" : "247", + "localId" : "206", + "localIdentifier" : "Simple", + "uri" : "https://github.com/cqframework/cql-execution/simple", + "version" : "1.0.0", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "206", + "s" : [ { + "value" : [ "", "using " ] + }, { + "s" : [ { + "value" : [ "Simple" ] + } ] + }, { + "value" : [ " version '1.0.0'" ] + } ] + } + } ] + } ] + }, + "contexts" : { + "def" : [ { + "localId" : "211", + "name" : "Patient", + "annotation" : [ ] + } ] + }, + "statements" : { + "def" : [ { + "localId" : "209", + "name" : "Patient", + "context" : "Patient", + "annotation" : [ ], + "expression" : { + "type" : "SingletonFrom", + "localId" : "210", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Retrieve", + "localId" : "208", + "dataType" : "{https://github.com/cqframework/cql-execution/simple}Patient", + "annotation" : [ ], + "include" : [ ], + "codeFilter" : [ ], + "dateFilter" : [ ], + "otherFilter" : [ ] + } + } + }, { + "localId" : "214", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "BoolTrue", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "214", "s" : [ { - "value" : [ "","library TestSnippet version '1'" ] + "r" : "215", + "value" : [ "", "define ", "BoolTrue", ": ", "true" ] } ] - } - } ], - "identifier" : { - "id" : "TestSnippet", - "version" : "1" - }, - "schemaIdentifier" : { - "id" : "urn:hl7-org:elm", - "version" : "r1" - }, - "usings" : { - "def" : [ { - "localId" : "1", - "localIdentifier" : "System", - "uri" : "urn:hl7-org:elm-types:r1" - }, { - "localId" : "206", - "localIdentifier" : "Simple", - "uri" : "https://github.com/cqframework/cql-execution/simple", - "version" : "1.0.0", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "206", - "s" : [ { - "value" : [ "","using " ] - }, { - "s" : [ { - "value" : [ "Simple" ] - } ] - }, { - "value" : [ " version '1.0.0'" ] - } ] - } + } + } ], + "expression" : { + "type" : "Literal", + "localId" : "215", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", + "value" : "true", + "annotation" : [ ] + } + }, { + "localId" : "218", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "BoolFalse", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "218", + "s" : [ { + "r" : "219", + "value" : [ "", "define ", "BoolFalse", ": ", "false" ] } ] - } ] - }, - "contexts" : { - "def" : [ { - "localId" : "211", - "name" : "Patient" - } ] - }, - "statements" : { - "def" : [ { - "localId" : "209", - "name" : "Patient", - "context" : "Patient", - "expression" : { - "localId" : "210", - "type" : "SingletonFrom", - "signature" : [ ], - "operand" : { - "localId" : "208", - "dataType" : "{https://github.com/cqframework/cql-execution/simple}Patient", - "type" : "Retrieve", - "include" : [ ], - "codeFilter" : [ ], - "dateFilter" : [ ], - "otherFilter" : [ ] - } - } - }, { - "localId" : "214", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "BoolTrue", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "214", - "s" : [ { - "r" : "215", - "value" : [ "","define ","BoolTrue",": ","true" ] - } ] - } - } ], - "expression" : { - "localId" : "215", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "true", - "type" : "Literal" - } - }, { - "localId" : "218", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "BoolFalse", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "218", - "s" : [ { - "r" : "219", - "value" : [ "","define ","BoolFalse",": ","false" ] - } ] - } - } ], - "expression" : { - "localId" : "219", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "false", - "type" : "Literal" - } - }, { - "localId" : "222", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "name" : "IntOne", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "222", - "s" : [ { - "r" : "223", - "value" : [ "","define ","IntOne",": ","1" ] - } ] - } - } ], - "expression" : { - "localId" : "223", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - } - }, { - "localId" : "226", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "name" : "DecimalTenth", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "226", - "s" : [ { - "r" : "227", - "value" : [ "","define ","DecimalTenth",": ","0.1" ] - } ] - } - } ], - "expression" : { - "localId" : "227", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "0.1", - "type" : "Literal" - } - }, { - "localId" : "230", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "name" : "StringTrue", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "230", - "s" : [ { - "value" : [ "","define ","StringTrue",": " ] - }, { - "r" : "231", - "s" : [ { - "value" : [ "'true'" ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "231", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "true", - "type" : "Literal" - } - }, { - "localId" : "235", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "name" : "DateTimeX", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "235", - "s" : [ { - "r" : "236", - "value" : [ "","define ","DateTimeX",": ","@2012-02-15T12:10:59.456Z" ] - } ] - } - } ], - "expression" : { - "localId" : "236", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ ], - "year" : { - "localId" : "237", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "238", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal" - }, - "day" : { - "localId" : "239", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal" - }, - "hour" : { - "localId" : "240", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "12", - "type" : "Literal" - }, - "minute" : { - "localId" : "241", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal" - }, - "second" : { - "localId" : "242", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "243", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "456", - "type" : "Literal" - }, - "timezoneOffset" : { - "localId" : "244", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "0.0", - "type" : "Literal" - } - } - }, { - "localId" : "247", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Time", - "name" : "TimeX", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "247", - "s" : [ { - "r" : "248", - "value" : [ "","define ","TimeX",": ","@T12:10:59.456" ] - } ] - } - } ], - "expression" : { - "localId" : "248", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Time", - "type" : "Time", - "signature" : [ ], - "hour" : { - "localId" : "249", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "12", - "type" : "Literal" - }, - "minute" : { - "localId" : "250", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal" - }, - "second" : { - "localId" : "251", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal" - }, - "millisecond" : { - "localId" : "252", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "456", - "type" : "Literal" - } - } - } ] - } - } + } + } ], + "expression" : { + "type" : "Literal", + "localId" : "219", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", + "value" : "false", + "annotation" : [ ] + } + }, { + "localId" : "222", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "name" : "IntOne", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "222", + "s" : [ { + "r" : "223", + "value" : [ "", "define ", "IntOne", ": ", "1" ] + } ] + } + } ], + "expression" : { + "type" : "Literal", + "localId" : "223", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + } + }, { + "localId" : "226", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "name" : "DecimalTenth", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "226", + "s" : [ { + "r" : "227", + "value" : [ "", "define ", "DecimalTenth", ": ", "0.1" ] + } ] + } + } ], + "expression" : { + "type" : "Literal", + "localId" : "227", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "0.1", + "annotation" : [ ] + } + }, { + "localId" : "230", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "name" : "StringTrue", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "230", + "s" : [ { + "value" : [ "", "define ", "StringTrue", ": " ] + }, { + "r" : "231", + "s" : [ { + "value" : [ "'true'" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Literal", + "localId" : "231", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "true", + "annotation" : [ ] + } + }, { + "localId" : "235", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "name" : "DateTimeX", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "235", + "s" : [ { + "r" : "236", + "value" : [ "", "define ", "DateTimeX", ": ", "@2012-02-15T12:10:59.456Z" ] + } ] + } + } ], + "expression" : { + "type" : "DateTime", + "localId" : "236", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ ], + "year" : { + "type" : "Literal", + "localId" : "237", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "238", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "239", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "15", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "240", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "12", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "241", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "10", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "242", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "59", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "243", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "456", + "annotation" : [ ] + }, + "timezoneOffset" : { + "type" : "Literal", + "localId" : "244", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "0.0", + "annotation" : [ ] + } + } + }, { + "localId" : "247", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Time", + "name" : "TimeX", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "247", + "s" : [ { + "r" : "248", + "value" : [ "", "define ", "TimeX", ": ", "@T12:10:59.456" ] + } ] + } + } ], + "expression" : { + "type" : "Time", + "localId" : "248", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Time", + "annotation" : [ ], + "signature" : [ ], + "hour" : { + "type" : "Literal", + "localId" : "249", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "12", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "250", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "10", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "251", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "59", + "annotation" : [ ] + }, + "millisecond" : { + "type" : "Literal", + "localId" : "252", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "456", + "annotation" : [ ] + } + } + } ] + } + } } /* Escape @@ -354,327 +387,352 @@ define Unicode: '\u0048' */ module.exports['Escape'] = { - "library" : { - "localId" : "0", - "annotation" : [ { - "translatorVersion" : "3.27.0", - "translatorOptions" : "EnableDateRangeOptimization,EnableAnnotations,EnableResultTypes", - "signatureLevel" : "All", - "type" : "CqlToElmInfo" + "library" : { + "localId" : "0", + "annotation" : [ { + "type" : "CqlToElmInfo", + "translatorVersion" : "4.2.0", + "translatorOptions" : "EnableDateRangeOptimization,EnableAnnotations,EnableResultTypes", + "signatureLevel" : "All" + }, { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "254", + "s" : [ { + "value" : [ "", "library TestSnippet version '1'" ] + } ] + } + } ], + "identifier" : { + "id" : "TestSnippet", + "version" : "1" + }, + "schemaIdentifier" : { + "id" : "urn:hl7-org:elm", + "version" : "r1" + }, + "usings" : { + "def" : [ { + "localId" : "1", + "localIdentifier" : "System", + "uri" : "urn:hl7-org:elm-types:r1", + "annotation" : [ ] }, { - "type" : "Annotation", - "s" : { - "r" : "254", + "localId" : "206", + "localIdentifier" : "Simple", + "uri" : "https://github.com/cqframework/cql-execution/simple", + "version" : "1.0.0", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "206", + "s" : [ { + "value" : [ "", "using " ] + }, { + "s" : [ { + "value" : [ "Simple" ] + } ] + }, { + "value" : [ " version '1.0.0'" ] + } ] + } + } ] + } ] + }, + "contexts" : { + "def" : [ { + "localId" : "211", + "name" : "Patient", + "annotation" : [ ] + } ] + }, + "statements" : { + "def" : [ { + "localId" : "209", + "name" : "Patient", + "context" : "Patient", + "annotation" : [ ], + "expression" : { + "type" : "SingletonFrom", + "localId" : "210", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Retrieve", + "localId" : "208", + "dataType" : "{https://github.com/cqframework/cql-execution/simple}Patient", + "annotation" : [ ], + "include" : [ ], + "codeFilter" : [ ], + "dateFilter" : [ ], + "otherFilter" : [ ] + } + } + }, { + "localId" : "214", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "name" : "SingleQuote", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "214", "s" : [ { - "value" : [ "","library TestSnippet version '1'" ] + "value" : [ "", "define ", "SingleQuote", ": " ] + }, { + "r" : "215", + "s" : [ { + "value" : [ "'\\''" ] + } ] } ] - } - } ], - "identifier" : { - "id" : "TestSnippet", - "version" : "1" - }, - "schemaIdentifier" : { - "id" : "urn:hl7-org:elm", - "version" : "r1" - }, - "usings" : { - "def" : [ { - "localId" : "1", - "localIdentifier" : "System", - "uri" : "urn:hl7-org:elm-types:r1" - }, { - "localId" : "206", - "localIdentifier" : "Simple", - "uri" : "https://github.com/cqframework/cql-execution/simple", - "version" : "1.0.0", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "206", - "s" : [ { - "value" : [ "","using " ] - }, { - "s" : [ { - "value" : [ "Simple" ] - } ] - }, { - "value" : [ " version '1.0.0'" ] - } ] - } + } + } ], + "expression" : { + "type" : "Literal", + "localId" : "215", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "'", + "annotation" : [ ] + } + }, { + "localId" : "219", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "name" : "DoubleQuote", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "219", + "s" : [ { + "value" : [ "", "define ", "DoubleQuote", ": " ] + }, { + "r" : "220", + "s" : [ { + "value" : [ "'\\\"'" ] + } ] } ] - } ] - }, - "contexts" : { - "def" : [ { - "localId" : "211", - "name" : "Patient" - } ] - }, - "statements" : { - "def" : [ { - "localId" : "209", - "name" : "Patient", - "context" : "Patient", - "expression" : { - "localId" : "210", - "type" : "SingletonFrom", - "signature" : [ ], - "operand" : { - "localId" : "208", - "dataType" : "{https://github.com/cqframework/cql-execution/simple}Patient", - "type" : "Retrieve", - "include" : [ ], - "codeFilter" : [ ], - "dateFilter" : [ ], - "otherFilter" : [ ] - } - } - }, { - "localId" : "214", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "name" : "SingleQuote", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "214", - "s" : [ { - "value" : [ "","define ","SingleQuote",": " ] - }, { - "r" : "215", - "s" : [ { - "value" : [ "'\\''" ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "215", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "'", - "type" : "Literal" - } - }, { - "localId" : "219", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "name" : "DoubleQuote", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "219", - "s" : [ { - "value" : [ "","define ","DoubleQuote",": " ] - }, { - "r" : "220", - "s" : [ { - "value" : [ "'\\\"'" ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "220", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "\"", - "type" : "Literal" - } - }, { - "localId" : "224", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "name" : "Backtick", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "224", - "s" : [ { - "value" : [ "","define ","Backtick",": " ] - }, { - "r" : "225", - "s" : [ { - "value" : [ "'\\`'" ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "225", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "`", - "type" : "Literal" - } - }, { - "localId" : "229", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "name" : "CarriageReturn", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "229", - "s" : [ { - "value" : [ "","define ","CarriageReturn",": " ] - }, { - "r" : "230", - "s" : [ { - "value" : [ "'\\r'" ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "230", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "\r", - "type" : "Literal" - } - }, { - "localId" : "234", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "name" : "LineFeed", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "234", - "s" : [ { - "value" : [ "","define ","LineFeed",": " ] - }, { - "r" : "235", - "s" : [ { - "value" : [ "'\\n'" ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "235", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "\n", - "type" : "Literal" - } - }, { - "localId" : "239", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "name" : "Tab", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "239", - "s" : [ { - "value" : [ "","define ","Tab",": " ] - }, { - "r" : "240", - "s" : [ { - "value" : [ "'\\t'" ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "240", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "\t", - "type" : "Literal" - } - }, { - "localId" : "244", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "name" : "FormFeed", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "244", - "s" : [ { - "value" : [ "","define ","FormFeed",": " ] - }, { - "r" : "245", - "s" : [ { - "value" : [ "'\\f'" ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "245", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "\f", - "type" : "Literal" - } - }, { - "localId" : "249", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "name" : "Backslash", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "249", - "s" : [ { - "value" : [ "","define ","Backslash",": " ] - }, { - "r" : "250", - "s" : [ { - "value" : [ "'\\\\'" ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "250", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "\\", - "type" : "Literal" - } - }, { - "localId" : "254", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "name" : "Unicode", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "254", - "s" : [ { - "value" : [ "","define ","Unicode",": " ] - }, { - "r" : "255", - "s" : [ { - "value" : [ "'\\u0048'" ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "255", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "H", - "type" : "Literal" - } - } ] - } - } + } + } ], + "expression" : { + "type" : "Literal", + "localId" : "220", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "\"", + "annotation" : [ ] + } + }, { + "localId" : "224", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "name" : "Backtick", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "224", + "s" : [ { + "value" : [ "", "define ", "Backtick", ": " ] + }, { + "r" : "225", + "s" : [ { + "value" : [ "'\\`'" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Literal", + "localId" : "225", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "`", + "annotation" : [ ] + } + }, { + "localId" : "229", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "name" : "CarriageReturn", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "229", + "s" : [ { + "value" : [ "", "define ", "CarriageReturn", ": " ] + }, { + "r" : "230", + "s" : [ { + "value" : [ "'\\r'" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Literal", + "localId" : "230", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "\r", + "annotation" : [ ] + } + }, { + "localId" : "234", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "name" : "LineFeed", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "234", + "s" : [ { + "value" : [ "", "define ", "LineFeed", ": " ] + }, { + "r" : "235", + "s" : [ { + "value" : [ "'\\n'" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Literal", + "localId" : "235", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "\n", + "annotation" : [ ] + } + }, { + "localId" : "239", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "name" : "Tab", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "239", + "s" : [ { + "value" : [ "", "define ", "Tab", ": " ] + }, { + "r" : "240", + "s" : [ { + "value" : [ "'\\t'" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Literal", + "localId" : "240", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "\t", + "annotation" : [ ] + } + }, { + "localId" : "244", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "name" : "FormFeed", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "244", + "s" : [ { + "value" : [ "", "define ", "FormFeed", ": " ] + }, { + "r" : "245", + "s" : [ { + "value" : [ "'\\f'" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Literal", + "localId" : "245", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "\f", + "annotation" : [ ] + } + }, { + "localId" : "249", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "name" : "Backslash", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "249", + "s" : [ { + "value" : [ "", "define ", "Backslash", ": " ] + }, { + "r" : "250", + "s" : [ { + "value" : [ "'\\\\'" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Literal", + "localId" : "250", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "\\", + "annotation" : [ ] + } + }, { + "localId" : "254", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "name" : "Unicode", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "254", + "s" : [ { + "value" : [ "", "define ", "Unicode", ": " ] + }, { + "r" : "255", + "s" : [ { + "value" : [ "'\\u0048'" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Literal", + "localId" : "255", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "H", + "annotation" : [ ] + } + } ] + } + } } diff --git a/test/elm/logical/data.js b/test/elm/logical/data.js index 797a10a0..551d69e3 100644 --- a/test/elm/logical/data.js +++ b/test/elm/logical/data.js @@ -24,541 +24,608 @@ define NF: null and false */ module.exports['And'] = { - "library" : { - "localId" : "0", - "annotation" : [ { - "translatorVersion" : "3.27.0", - "translatorOptions" : "EnableDateRangeOptimization,EnableAnnotations,EnableResultTypes", - "signatureLevel" : "All", - "type" : "CqlToElmInfo" + "library" : { + "localId" : "0", + "annotation" : [ { + "type" : "CqlToElmInfo", + "translatorVersion" : "4.2.0", + "translatorOptions" : "EnableDateRangeOptimization,EnableAnnotations,EnableResultTypes", + "signatureLevel" : "All" + }, { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "283", + "s" : [ { + "value" : [ "", "library TestSnippet version '1'" ] + } ] + } + } ], + "identifier" : { + "id" : "TestSnippet", + "version" : "1" + }, + "schemaIdentifier" : { + "id" : "urn:hl7-org:elm", + "version" : "r1" + }, + "usings" : { + "def" : [ { + "localId" : "1", + "localIdentifier" : "System", + "uri" : "urn:hl7-org:elm-types:r1", + "annotation" : [ ] }, { - "type" : "Annotation", - "s" : { - "r" : "283", + "localId" : "206", + "localIdentifier" : "Simple", + "uri" : "https://github.com/cqframework/cql-execution/simple", + "version" : "1.0.0", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "206", "s" : [ { - "value" : [ "","library TestSnippet version '1'" ] + "value" : [ "", "using " ] + }, { + "s" : [ { + "value" : [ "Simple" ] + } ] + }, { + "value" : [ " version '1.0.0'" ] } ] - } - } ], - "identifier" : { - "id" : "TestSnippet", - "version" : "1" - }, - "schemaIdentifier" : { - "id" : "urn:hl7-org:elm", - "version" : "r1" - }, - "usings" : { - "def" : [ { - "localId" : "1", - "localIdentifier" : "System", - "uri" : "urn:hl7-org:elm-types:r1" - }, { - "localId" : "206", - "localIdentifier" : "Simple", - "uri" : "https://github.com/cqframework/cql-execution/simple", - "version" : "1.0.0", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "206", - "s" : [ { - "value" : [ "","using " ] - }, { - "s" : [ { - "value" : [ "Simple" ] - } ] - }, { - "value" : [ " version '1.0.0'" ] - } ] - } + } + } ] + } ] + }, + "contexts" : { + "def" : [ { + "localId" : "211", + "name" : "Patient", + "annotation" : [ ] + } ] + }, + "statements" : { + "def" : [ { + "localId" : "209", + "name" : "Patient", + "context" : "Patient", + "annotation" : [ ], + "expression" : { + "type" : "SingletonFrom", + "localId" : "210", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Retrieve", + "localId" : "208", + "dataType" : "{https://github.com/cqframework/cql-execution/simple}Patient", + "annotation" : [ ], + "include" : [ ], + "codeFilter" : [ ], + "dateFilter" : [ ], + "otherFilter" : [ ] + } + } + }, { + "localId" : "214", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "TT", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "214", + "s" : [ { + "value" : [ "", "define ", "TT", ": " ] + }, { + "r" : "215", + "s" : [ { + "r" : "216", + "value" : [ "true", " and ", "true" ] + } ] } ] - } ] - }, - "contexts" : { - "def" : [ { - "localId" : "211", - "name" : "Patient" - } ] - }, - "statements" : { - "def" : [ { - "localId" : "209", - "name" : "Patient", - "context" : "Patient", - "expression" : { - "localId" : "210", - "type" : "SingletonFrom", - "signature" : [ ], - "operand" : { - "localId" : "208", - "dataType" : "{https://github.com/cqframework/cql-execution/simple}Patient", - "type" : "Retrieve", - "include" : [ ], - "codeFilter" : [ ], - "dateFilter" : [ ], - "otherFilter" : [ ] - } - } - }, { - "localId" : "214", + } + } ], + "expression" : { + "type" : "And", + "localId" : "215", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "218", + "name" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "219", + "name" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "Literal", + "localId" : "216", "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "TT", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "214", - "s" : [ { - "value" : [ "","define ","TT",": " ] - }, { - "r" : "215", - "s" : [ { - "r" : "216", - "value" : [ "true"," and ","true" ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "215", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "And", - "signature" : [ { - "localId" : "218", - "name" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "219", - "name" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "216", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "true", - "type" : "Literal" - }, { - "localId" : "217", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "true", - "type" : "Literal" - } ] - } - }, { - "localId" : "222", + "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", + "value" : "true", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "217", "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "TF", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "222", - "s" : [ { - "value" : [ "","define ","TF",": " ] - }, { - "r" : "223", - "s" : [ { - "r" : "224", - "value" : [ "true"," and ","false" ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "223", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "And", - "signature" : [ { - "localId" : "226", - "name" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "227", - "name" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "224", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "true", - "type" : "Literal" - }, { - "localId" : "225", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "false", - "type" : "Literal" - } ] - } - }, { - "localId" : "230", + "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", + "value" : "true", + "annotation" : [ ] + } ] + } + }, { + "localId" : "222", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "TF", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "222", + "s" : [ { + "value" : [ "", "define ", "TF", ": " ] + }, { + "r" : "223", + "s" : [ { + "r" : "224", + "value" : [ "true", " and ", "false" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "And", + "localId" : "223", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "226", + "name" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "227", + "name" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "Literal", + "localId" : "224", "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "TN", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "230", - "s" : [ { - "value" : [ "","define ","TN",": " ] - }, { - "r" : "231", - "s" : [ { - "r" : "232", - "value" : [ "true"," and ","null" ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "231", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "And", - "signature" : [ { - "localId" : "235", - "name" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "236", - "name" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "232", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "true", - "type" : "Literal" - }, { - "localId" : "234", - "asType" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "As", - "signature" : [ ], - "operand" : { - "localId" : "233", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - } - } ] - } - }, { - "localId" : "239", + "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", + "value" : "true", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "225", "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "FF", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "239", - "s" : [ { - "value" : [ "","define ","FF",": " ] - }, { - "r" : "240", - "s" : [ { - "r" : "241", - "value" : [ "false"," and ","false" ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "240", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "And", - "signature" : [ { - "localId" : "243", - "name" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "244", - "name" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "241", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "false", - "type" : "Literal" - }, { - "localId" : "242", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "false", - "type" : "Literal" - } ] - } - }, { - "localId" : "247", + "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", + "value" : "false", + "annotation" : [ ] + } ] + } + }, { + "localId" : "230", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "TN", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "230", + "s" : [ { + "value" : [ "", "define ", "TN", ": " ] + }, { + "r" : "231", + "s" : [ { + "r" : "232", + "value" : [ "true", " and ", "null" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "And", + "localId" : "231", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "235", + "name" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "236", + "name" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "Literal", + "localId" : "232", "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "FT", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "247", - "s" : [ { - "value" : [ "","define ","FT",": " ] - }, { - "r" : "248", - "s" : [ { - "r" : "249", - "value" : [ "false"," and ","true" ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "248", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "And", - "signature" : [ { - "localId" : "251", - "name" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "252", - "name" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "249", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "false", - "type" : "Literal" - }, { - "localId" : "250", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "true", - "type" : "Literal" - } ] + "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", + "value" : "true", + "annotation" : [ ] + }, { + "type" : "As", + "localId" : "234", + "asType" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Null", + "localId" : "233", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] } - }, { - "localId" : "255", + } ] + } + }, { + "localId" : "239", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "FF", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "239", + "s" : [ { + "value" : [ "", "define ", "FF", ": " ] + }, { + "r" : "240", + "s" : [ { + "r" : "241", + "value" : [ "false", " and ", "false" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "And", + "localId" : "240", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "243", + "name" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "244", + "name" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "Literal", + "localId" : "241", "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "FN", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "255", - "s" : [ { - "value" : [ "","define ","FN",": " ] - }, { - "r" : "256", - "s" : [ { - "r" : "257", - "value" : [ "false"," and ","null" ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "256", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "And", - "signature" : [ { - "localId" : "260", - "name" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "261", - "name" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "257", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "false", - "type" : "Literal" - }, { - "localId" : "259", - "asType" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "As", - "signature" : [ ], - "operand" : { - "localId" : "258", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - } - } ] - } - }, { - "localId" : "264", + "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", + "value" : "false", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "242", "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "NN", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "264", - "s" : [ { - "value" : [ "","define ","NN",": " ] - }, { - "r" : "265", - "s" : [ { - "r" : "266", - "value" : [ "null"," and ","null" ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "265", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "And", - "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" : "268", - "asType" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "As", - "signature" : [ ], - "operand" : { - "localId" : "266", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - } - }, { - "localId" : "269", - "asType" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "As", - "signature" : [ ], - "operand" : { - "localId" : "267", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - } - } ] - } - }, { - "localId" : "274", + "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", + "value" : "false", + "annotation" : [ ] + } ] + } + }, { + "localId" : "247", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "FT", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "247", + "s" : [ { + "value" : [ "", "define ", "FT", ": " ] + }, { + "r" : "248", + "s" : [ { + "r" : "249", + "value" : [ "false", " and ", "true" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "And", + "localId" : "248", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "251", + "name" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "252", + "name" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "Literal", + "localId" : "249", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", + "value" : "false", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "250", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", + "value" : "true", + "annotation" : [ ] + } ] + } + }, { + "localId" : "255", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "FN", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "255", + "s" : [ { + "value" : [ "", "define ", "FN", ": " ] + }, { + "r" : "256", + "s" : [ { + "r" : "257", + "value" : [ "false", " and ", "null" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "And", + "localId" : "256", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "260", + "name" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "261", + "name" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "Literal", + "localId" : "257", "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "NT", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "274", - "s" : [ { - "value" : [ "","define ","NT",": " ] - }, { - "r" : "275", - "s" : [ { - "r" : "276", - "value" : [ "null"," and ","true" ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "275", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "And", - "signature" : [ { - "localId" : "279", - "name" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "280", - "name" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "278", - "asType" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "As", - "signature" : [ ], - "operand" : { - "localId" : "276", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - } - }, { - "localId" : "277", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "true", - "type" : "Literal" - } ] + "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", + "value" : "false", + "annotation" : [ ] + }, { + "type" : "As", + "localId" : "259", + "asType" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Null", + "localId" : "258", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } + } ] + } + }, { + "localId" : "264", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "NN", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "264", + "s" : [ { + "value" : [ "", "define ", "NN", ": " ] + }, { + "r" : "265", + "s" : [ { + "r" : "266", + "value" : [ "null", " and ", "null" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "And", + "localId" : "265", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "270", + "name" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "271", + "name" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "As", + "localId" : "268", + "asType" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Null", + "localId" : "266", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } + }, { + "type" : "As", + "localId" : "269", + "asType" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Null", + "localId" : "267", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } + } ] + } + }, { + "localId" : "274", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "NT", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "274", + "s" : [ { + "value" : [ "", "define ", "NT", ": " ] + }, { + "r" : "275", + "s" : [ { + "r" : "276", + "value" : [ "null", " and ", "true" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "And", + "localId" : "275", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "279", + "name" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "280", + "name" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "As", + "localId" : "278", + "asType" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Null", + "localId" : "276", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] } - }, { - "localId" : "283", + }, { + "type" : "Literal", + "localId" : "277", "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "NF", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "283", - "s" : [ { - "value" : [ "","define ","NF",": " ] - }, { - "r" : "284", - "s" : [ { - "r" : "285", - "value" : [ "null"," and ","false" ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "284", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "And", - "signature" : [ { - "localId" : "288", - "name" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "289", - "name" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "287", - "asType" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "As", - "signature" : [ ], - "operand" : { - "localId" : "285", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - } - }, { - "localId" : "286", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "false", - "type" : "Literal" - } ] + "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", + "value" : "true", + "annotation" : [ ] + } ] + } + }, { + "localId" : "283", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "NF", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "283", + "s" : [ { + "value" : [ "", "define ", "NF", ": " ] + }, { + "r" : "284", + "s" : [ { + "r" : "285", + "value" : [ "null", " and ", "false" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "And", + "localId" : "284", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "288", + "name" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "289", + "name" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "As", + "localId" : "287", + "asType" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Null", + "localId" : "285", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] } - } ] - } - } + }, { + "type" : "Literal", + "localId" : "286", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", + "value" : "false", + "annotation" : [ ] + } ] + } + } ] + } + } } /* Or @@ -577,541 +644,608 @@ define NF: null or false */ module.exports['Or'] = { - "library" : { - "localId" : "0", - "annotation" : [ { - "translatorVersion" : "3.27.0", - "translatorOptions" : "EnableDateRangeOptimization,EnableAnnotations,EnableResultTypes", - "signatureLevel" : "All", - "type" : "CqlToElmInfo" + "library" : { + "localId" : "0", + "annotation" : [ { + "type" : "CqlToElmInfo", + "translatorVersion" : "4.2.0", + "translatorOptions" : "EnableDateRangeOptimization,EnableAnnotations,EnableResultTypes", + "signatureLevel" : "All" + }, { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "283", + "s" : [ { + "value" : [ "", "library TestSnippet version '1'" ] + } ] + } + } ], + "identifier" : { + "id" : "TestSnippet", + "version" : "1" + }, + "schemaIdentifier" : { + "id" : "urn:hl7-org:elm", + "version" : "r1" + }, + "usings" : { + "def" : [ { + "localId" : "1", + "localIdentifier" : "System", + "uri" : "urn:hl7-org:elm-types:r1", + "annotation" : [ ] }, { - "type" : "Annotation", - "s" : { - "r" : "283", + "localId" : "206", + "localIdentifier" : "Simple", + "uri" : "https://github.com/cqframework/cql-execution/simple", + "version" : "1.0.0", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "206", "s" : [ { - "value" : [ "","library TestSnippet version '1'" ] + "value" : [ "", "using " ] + }, { + "s" : [ { + "value" : [ "Simple" ] + } ] + }, { + "value" : [ " version '1.0.0'" ] } ] - } - } ], - "identifier" : { - "id" : "TestSnippet", - "version" : "1" - }, - "schemaIdentifier" : { - "id" : "urn:hl7-org:elm", - "version" : "r1" - }, - "usings" : { - "def" : [ { - "localId" : "1", - "localIdentifier" : "System", - "uri" : "urn:hl7-org:elm-types:r1" - }, { - "localId" : "206", - "localIdentifier" : "Simple", - "uri" : "https://github.com/cqframework/cql-execution/simple", - "version" : "1.0.0", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "206", - "s" : [ { - "value" : [ "","using " ] - }, { - "s" : [ { - "value" : [ "Simple" ] - } ] - }, { - "value" : [ " version '1.0.0'" ] - } ] - } + } + } ] + } ] + }, + "contexts" : { + "def" : [ { + "localId" : "211", + "name" : "Patient", + "annotation" : [ ] + } ] + }, + "statements" : { + "def" : [ { + "localId" : "209", + "name" : "Patient", + "context" : "Patient", + "annotation" : [ ], + "expression" : { + "type" : "SingletonFrom", + "localId" : "210", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Retrieve", + "localId" : "208", + "dataType" : "{https://github.com/cqframework/cql-execution/simple}Patient", + "annotation" : [ ], + "include" : [ ], + "codeFilter" : [ ], + "dateFilter" : [ ], + "otherFilter" : [ ] + } + } + }, { + "localId" : "214", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "TT", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "214", + "s" : [ { + "value" : [ "", "define ", "TT", ": " ] + }, { + "r" : "215", + "s" : [ { + "r" : "216", + "value" : [ "true", " or ", "true" ] + } ] } ] - } ] - }, - "contexts" : { - "def" : [ { - "localId" : "211", - "name" : "Patient" - } ] - }, - "statements" : { - "def" : [ { - "localId" : "209", - "name" : "Patient", - "context" : "Patient", - "expression" : { - "localId" : "210", - "type" : "SingletonFrom", - "signature" : [ ], - "operand" : { - "localId" : "208", - "dataType" : "{https://github.com/cqframework/cql-execution/simple}Patient", - "type" : "Retrieve", - "include" : [ ], - "codeFilter" : [ ], - "dateFilter" : [ ], - "otherFilter" : [ ] - } - } - }, { - "localId" : "214", + } + } ], + "expression" : { + "type" : "Or", + "localId" : "215", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "218", + "name" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "219", + "name" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "Literal", + "localId" : "216", "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "TT", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "214", - "s" : [ { - "value" : [ "","define ","TT",": " ] - }, { - "r" : "215", - "s" : [ { - "r" : "216", - "value" : [ "true"," or ","true" ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "215", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "Or", - "signature" : [ { - "localId" : "218", - "name" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "219", - "name" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "216", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "true", - "type" : "Literal" - }, { - "localId" : "217", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "true", - "type" : "Literal" - } ] - } - }, { - "localId" : "222", + "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", + "value" : "true", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "217", "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "TF", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "222", - "s" : [ { - "value" : [ "","define ","TF",": " ] - }, { - "r" : "223", - "s" : [ { - "r" : "224", - "value" : [ "true"," or ","false" ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "223", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "Or", - "signature" : [ { - "localId" : "226", - "name" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "227", - "name" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "224", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "true", - "type" : "Literal" - }, { - "localId" : "225", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "false", - "type" : "Literal" - } ] - } - }, { - "localId" : "230", + "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", + "value" : "true", + "annotation" : [ ] + } ] + } + }, { + "localId" : "222", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "TF", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "222", + "s" : [ { + "value" : [ "", "define ", "TF", ": " ] + }, { + "r" : "223", + "s" : [ { + "r" : "224", + "value" : [ "true", " or ", "false" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Or", + "localId" : "223", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "226", + "name" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "227", + "name" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "Literal", + "localId" : "224", "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "TN", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "230", - "s" : [ { - "value" : [ "","define ","TN",": " ] - }, { - "r" : "231", - "s" : [ { - "r" : "232", - "value" : [ "true"," or ","null" ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "231", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "Or", - "signature" : [ { - "localId" : "235", - "name" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "236", - "name" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "232", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "true", - "type" : "Literal" - }, { - "localId" : "234", - "asType" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "As", - "signature" : [ ], - "operand" : { - "localId" : "233", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - } - } ] - } - }, { - "localId" : "239", + "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", + "value" : "true", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "225", "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "FF", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "239", - "s" : [ { - "value" : [ "","define ","FF",": " ] - }, { - "r" : "240", - "s" : [ { - "r" : "241", - "value" : [ "false"," or ","false" ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "240", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "Or", - "signature" : [ { - "localId" : "243", - "name" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "244", - "name" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "241", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "false", - "type" : "Literal" - }, { - "localId" : "242", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "false", - "type" : "Literal" - } ] - } - }, { - "localId" : "247", + "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", + "value" : "false", + "annotation" : [ ] + } ] + } + }, { + "localId" : "230", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "TN", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "230", + "s" : [ { + "value" : [ "", "define ", "TN", ": " ] + }, { + "r" : "231", + "s" : [ { + "r" : "232", + "value" : [ "true", " or ", "null" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Or", + "localId" : "231", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "235", + "name" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "236", + "name" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "Literal", + "localId" : "232", "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "FT", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "247", - "s" : [ { - "value" : [ "","define ","FT",": " ] - }, { - "r" : "248", - "s" : [ { - "r" : "249", - "value" : [ "false"," or ","true" ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "248", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "Or", - "signature" : [ { - "localId" : "251", - "name" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "252", - "name" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "249", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "false", - "type" : "Literal" - }, { - "localId" : "250", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "true", - "type" : "Literal" - } ] + "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", + "value" : "true", + "annotation" : [ ] + }, { + "type" : "As", + "localId" : "234", + "asType" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Null", + "localId" : "233", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] } - }, { - "localId" : "255", + } ] + } + }, { + "localId" : "239", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "FF", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "239", + "s" : [ { + "value" : [ "", "define ", "FF", ": " ] + }, { + "r" : "240", + "s" : [ { + "r" : "241", + "value" : [ "false", " or ", "false" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Or", + "localId" : "240", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "243", + "name" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "244", + "name" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "Literal", + "localId" : "241", "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "FN", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "255", - "s" : [ { - "value" : [ "","define ","FN",": " ] - }, { - "r" : "256", - "s" : [ { - "r" : "257", - "value" : [ "false"," or ","null" ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "256", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "Or", - "signature" : [ { - "localId" : "260", - "name" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "261", - "name" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "257", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "false", - "type" : "Literal" - }, { - "localId" : "259", - "asType" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "As", - "signature" : [ ], - "operand" : { - "localId" : "258", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - } - } ] - } - }, { - "localId" : "264", + "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", + "value" : "false", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "242", "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "NN", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "264", - "s" : [ { - "value" : [ "","define ","NN",": " ] - }, { - "r" : "265", - "s" : [ { - "r" : "266", - "value" : [ "null"," or ","null" ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "265", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "Or", - "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" : "268", - "asType" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "As", - "signature" : [ ], - "operand" : { - "localId" : "266", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - } - }, { - "localId" : "269", - "asType" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "As", - "signature" : [ ], - "operand" : { - "localId" : "267", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - } - } ] - } - }, { - "localId" : "274", + "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", + "value" : "false", + "annotation" : [ ] + } ] + } + }, { + "localId" : "247", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "FT", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "247", + "s" : [ { + "value" : [ "", "define ", "FT", ": " ] + }, { + "r" : "248", + "s" : [ { + "r" : "249", + "value" : [ "false", " or ", "true" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Or", + "localId" : "248", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "251", + "name" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "252", + "name" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "Literal", + "localId" : "249", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", + "value" : "false", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "250", "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "NT", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "274", - "s" : [ { - "value" : [ "","define ","NT",": " ] - }, { - "r" : "275", - "s" : [ { - "r" : "276", - "value" : [ "null"," or ","true" ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "275", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "Or", - "signature" : [ { - "localId" : "279", - "name" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "280", - "name" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "278", - "asType" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "As", - "signature" : [ ], - "operand" : { - "localId" : "276", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - } - }, { - "localId" : "277", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "true", - "type" : "Literal" - } ] + "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", + "value" : "true", + "annotation" : [ ] + } ] + } + }, { + "localId" : "255", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "FN", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "255", + "s" : [ { + "value" : [ "", "define ", "FN", ": " ] + }, { + "r" : "256", + "s" : [ { + "r" : "257", + "value" : [ "false", " or ", "null" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Or", + "localId" : "256", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "260", + "name" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "261", + "name" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "Literal", + "localId" : "257", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", + "value" : "false", + "annotation" : [ ] + }, { + "type" : "As", + "localId" : "259", + "asType" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Null", + "localId" : "258", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } + } ] + } + }, { + "localId" : "264", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "NN", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "264", + "s" : [ { + "value" : [ "", "define ", "NN", ": " ] + }, { + "r" : "265", + "s" : [ { + "r" : "266", + "value" : [ "null", " or ", "null" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Or", + "localId" : "265", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "270", + "name" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "271", + "name" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "As", + "localId" : "268", + "asType" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Null", + "localId" : "266", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } + }, { + "type" : "As", + "localId" : "269", + "asType" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Null", + "localId" : "267", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } + } ] + } + }, { + "localId" : "274", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "NT", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "274", + "s" : [ { + "value" : [ "", "define ", "NT", ": " ] + }, { + "r" : "275", + "s" : [ { + "r" : "276", + "value" : [ "null", " or ", "true" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Or", + "localId" : "275", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "279", + "name" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "280", + "name" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "As", + "localId" : "278", + "asType" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Null", + "localId" : "276", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] } - }, { - "localId" : "283", + }, { + "type" : "Literal", + "localId" : "277", "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "NF", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "283", - "s" : [ { - "value" : [ "","define ","NF",": " ] - }, { - "r" : "284", - "s" : [ { - "r" : "285", - "value" : [ "null"," or ","false" ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "284", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "Or", - "signature" : [ { - "localId" : "288", - "name" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "289", - "name" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "287", - "asType" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "As", - "signature" : [ ], - "operand" : { - "localId" : "285", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - } - }, { - "localId" : "286", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "false", - "type" : "Literal" - } ] + "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", + "value" : "true", + "annotation" : [ ] + } ] + } + }, { + "localId" : "283", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "NF", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "283", + "s" : [ { + "value" : [ "", "define ", "NF", ": " ] + }, { + "r" : "284", + "s" : [ { + "r" : "285", + "value" : [ "null", " or ", "false" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Or", + "localId" : "284", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "288", + "name" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "289", + "name" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "As", + "localId" : "287", + "asType" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Null", + "localId" : "285", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] } - } ] - } - } + }, { + "type" : "Literal", + "localId" : "286", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", + "value" : "false", + "annotation" : [ ] + } ] + } + } ] + } + } } /* XOr @@ -1130,541 +1264,608 @@ define NF: null xor false */ module.exports['XOr'] = { - "library" : { - "localId" : "0", - "annotation" : [ { - "translatorVersion" : "3.27.0", - "translatorOptions" : "EnableDateRangeOptimization,EnableAnnotations,EnableResultTypes", - "signatureLevel" : "All", - "type" : "CqlToElmInfo" + "library" : { + "localId" : "0", + "annotation" : [ { + "type" : "CqlToElmInfo", + "translatorVersion" : "4.2.0", + "translatorOptions" : "EnableDateRangeOptimization,EnableAnnotations,EnableResultTypes", + "signatureLevel" : "All" + }, { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "283", + "s" : [ { + "value" : [ "", "library TestSnippet version '1'" ] + } ] + } + } ], + "identifier" : { + "id" : "TestSnippet", + "version" : "1" + }, + "schemaIdentifier" : { + "id" : "urn:hl7-org:elm", + "version" : "r1" + }, + "usings" : { + "def" : [ { + "localId" : "1", + "localIdentifier" : "System", + "uri" : "urn:hl7-org:elm-types:r1", + "annotation" : [ ] }, { - "type" : "Annotation", - "s" : { - "r" : "283", + "localId" : "206", + "localIdentifier" : "Simple", + "uri" : "https://github.com/cqframework/cql-execution/simple", + "version" : "1.0.0", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "206", "s" : [ { - "value" : [ "","library TestSnippet version '1'" ] + "value" : [ "", "using " ] + }, { + "s" : [ { + "value" : [ "Simple" ] + } ] + }, { + "value" : [ " version '1.0.0'" ] } ] - } - } ], - "identifier" : { - "id" : "TestSnippet", - "version" : "1" - }, - "schemaIdentifier" : { - "id" : "urn:hl7-org:elm", - "version" : "r1" - }, - "usings" : { - "def" : [ { - "localId" : "1", - "localIdentifier" : "System", - "uri" : "urn:hl7-org:elm-types:r1" - }, { - "localId" : "206", - "localIdentifier" : "Simple", - "uri" : "https://github.com/cqframework/cql-execution/simple", - "version" : "1.0.0", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "206", - "s" : [ { - "value" : [ "","using " ] - }, { - "s" : [ { - "value" : [ "Simple" ] - } ] - }, { - "value" : [ " version '1.0.0'" ] - } ] - } + } + } ] + } ] + }, + "contexts" : { + "def" : [ { + "localId" : "211", + "name" : "Patient", + "annotation" : [ ] + } ] + }, + "statements" : { + "def" : [ { + "localId" : "209", + "name" : "Patient", + "context" : "Patient", + "annotation" : [ ], + "expression" : { + "type" : "SingletonFrom", + "localId" : "210", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Retrieve", + "localId" : "208", + "dataType" : "{https://github.com/cqframework/cql-execution/simple}Patient", + "annotation" : [ ], + "include" : [ ], + "codeFilter" : [ ], + "dateFilter" : [ ], + "otherFilter" : [ ] + } + } + }, { + "localId" : "214", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "TT", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "214", + "s" : [ { + "value" : [ "", "define ", "TT", ": " ] + }, { + "r" : "215", + "s" : [ { + "r" : "216", + "value" : [ "true", " xor ", "true" ] + } ] } ] - } ] - }, - "contexts" : { - "def" : [ { - "localId" : "211", - "name" : "Patient" - } ] - }, - "statements" : { - "def" : [ { - "localId" : "209", - "name" : "Patient", - "context" : "Patient", - "expression" : { - "localId" : "210", - "type" : "SingletonFrom", - "signature" : [ ], - "operand" : { - "localId" : "208", - "dataType" : "{https://github.com/cqframework/cql-execution/simple}Patient", - "type" : "Retrieve", - "include" : [ ], - "codeFilter" : [ ], - "dateFilter" : [ ], - "otherFilter" : [ ] - } - } - }, { - "localId" : "214", + } + } ], + "expression" : { + "type" : "Xor", + "localId" : "215", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "218", + "name" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "219", + "name" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "Literal", + "localId" : "216", "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "TT", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "214", - "s" : [ { - "value" : [ "","define ","TT",": " ] - }, { - "r" : "215", - "s" : [ { - "r" : "216", - "value" : [ "true"," xor ","true" ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "215", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "Xor", - "signature" : [ { - "localId" : "218", - "name" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "219", - "name" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "216", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "true", - "type" : "Literal" - }, { - "localId" : "217", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "true", - "type" : "Literal" - } ] - } - }, { - "localId" : "222", + "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", + "value" : "true", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "217", "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "TF", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "222", - "s" : [ { - "value" : [ "","define ","TF",": " ] - }, { - "r" : "223", - "s" : [ { - "r" : "224", - "value" : [ "true"," xor ","false" ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "223", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "Xor", - "signature" : [ { - "localId" : "226", - "name" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "227", - "name" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "224", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "true", - "type" : "Literal" - }, { - "localId" : "225", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "false", - "type" : "Literal" - } ] - } - }, { - "localId" : "230", + "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", + "value" : "true", + "annotation" : [ ] + } ] + } + }, { + "localId" : "222", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "TF", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "222", + "s" : [ { + "value" : [ "", "define ", "TF", ": " ] + }, { + "r" : "223", + "s" : [ { + "r" : "224", + "value" : [ "true", " xor ", "false" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Xor", + "localId" : "223", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "226", + "name" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "227", + "name" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "Literal", + "localId" : "224", "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "TN", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "230", - "s" : [ { - "value" : [ "","define ","TN",": " ] - }, { - "r" : "231", - "s" : [ { - "r" : "232", - "value" : [ "true"," xor ","null" ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "231", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "Xor", - "signature" : [ { - "localId" : "235", - "name" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "236", - "name" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "232", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "true", - "type" : "Literal" - }, { - "localId" : "234", - "asType" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "As", - "signature" : [ ], - "operand" : { - "localId" : "233", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - } - } ] - } - }, { - "localId" : "239", + "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", + "value" : "true", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "225", "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "FF", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "239", - "s" : [ { - "value" : [ "","define ","FF",": " ] - }, { - "r" : "240", - "s" : [ { - "r" : "241", - "value" : [ "false"," xor ","false" ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "240", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "Xor", - "signature" : [ { - "localId" : "243", - "name" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "244", - "name" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "241", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "false", - "type" : "Literal" - }, { - "localId" : "242", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "false", - "type" : "Literal" - } ] - } - }, { - "localId" : "247", + "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", + "value" : "false", + "annotation" : [ ] + } ] + } + }, { + "localId" : "230", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "TN", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "230", + "s" : [ { + "value" : [ "", "define ", "TN", ": " ] + }, { + "r" : "231", + "s" : [ { + "r" : "232", + "value" : [ "true", " xor ", "null" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Xor", + "localId" : "231", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "235", + "name" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "236", + "name" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "Literal", + "localId" : "232", "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "FT", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "247", - "s" : [ { - "value" : [ "","define ","FT",": " ] - }, { - "r" : "248", - "s" : [ { - "r" : "249", - "value" : [ "false"," xor ","true" ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "248", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "Xor", - "signature" : [ { - "localId" : "251", - "name" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "252", - "name" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "249", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "false", - "type" : "Literal" - }, { - "localId" : "250", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "true", - "type" : "Literal" - } ] + "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", + "value" : "true", + "annotation" : [ ] + }, { + "type" : "As", + "localId" : "234", + "asType" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Null", + "localId" : "233", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] } - }, { - "localId" : "255", + } ] + } + }, { + "localId" : "239", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "FF", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "239", + "s" : [ { + "value" : [ "", "define ", "FF", ": " ] + }, { + "r" : "240", + "s" : [ { + "r" : "241", + "value" : [ "false", " xor ", "false" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Xor", + "localId" : "240", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "243", + "name" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "244", + "name" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "Literal", + "localId" : "241", "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "FN", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "255", - "s" : [ { - "value" : [ "","define ","FN",": " ] - }, { - "r" : "256", - "s" : [ { - "r" : "257", - "value" : [ "false"," xor ","null" ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "256", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "Xor", - "signature" : [ { - "localId" : "260", - "name" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "261", - "name" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "257", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "false", - "type" : "Literal" - }, { - "localId" : "259", - "asType" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "As", - "signature" : [ ], - "operand" : { - "localId" : "258", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - } - } ] - } - }, { - "localId" : "264", + "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", + "value" : "false", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "242", "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "NN", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "264", - "s" : [ { - "value" : [ "","define ","NN",": " ] - }, { - "r" : "265", - "s" : [ { - "r" : "266", - "value" : [ "null"," xor ","null" ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "265", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "Xor", - "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" : "268", - "asType" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "As", - "signature" : [ ], - "operand" : { - "localId" : "266", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - } - }, { - "localId" : "269", - "asType" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "As", - "signature" : [ ], - "operand" : { - "localId" : "267", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - } - } ] - } - }, { - "localId" : "274", + "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", + "value" : "false", + "annotation" : [ ] + } ] + } + }, { + "localId" : "247", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "FT", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "247", + "s" : [ { + "value" : [ "", "define ", "FT", ": " ] + }, { + "r" : "248", + "s" : [ { + "r" : "249", + "value" : [ "false", " xor ", "true" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Xor", + "localId" : "248", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "251", + "name" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "252", + "name" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "Literal", + "localId" : "249", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", + "value" : "false", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "250", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", + "value" : "true", + "annotation" : [ ] + } ] + } + }, { + "localId" : "255", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "FN", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "255", + "s" : [ { + "value" : [ "", "define ", "FN", ": " ] + }, { + "r" : "256", + "s" : [ { + "r" : "257", + "value" : [ "false", " xor ", "null" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Xor", + "localId" : "256", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "260", + "name" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "261", + "name" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "Literal", + "localId" : "257", "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "NT", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "274", - "s" : [ { - "value" : [ "","define ","NT",": " ] - }, { - "r" : "275", - "s" : [ { - "r" : "276", - "value" : [ "null"," xor ","true" ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "275", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "Xor", - "signature" : [ { - "localId" : "279", - "name" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "280", - "name" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "278", - "asType" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "As", - "signature" : [ ], - "operand" : { - "localId" : "276", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - } - }, { - "localId" : "277", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "true", - "type" : "Literal" - } ] + "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", + "value" : "false", + "annotation" : [ ] + }, { + "type" : "As", + "localId" : "259", + "asType" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Null", + "localId" : "258", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } + } ] + } + }, { + "localId" : "264", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "NN", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "264", + "s" : [ { + "value" : [ "", "define ", "NN", ": " ] + }, { + "r" : "265", + "s" : [ { + "r" : "266", + "value" : [ "null", " xor ", "null" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Xor", + "localId" : "265", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "270", + "name" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "271", + "name" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "As", + "localId" : "268", + "asType" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Null", + "localId" : "266", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] } - }, { - "localId" : "283", + }, { + "type" : "As", + "localId" : "269", + "asType" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Null", + "localId" : "267", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } + } ] + } + }, { + "localId" : "274", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "NT", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "274", + "s" : [ { + "value" : [ "", "define ", "NT", ": " ] + }, { + "r" : "275", + "s" : [ { + "r" : "276", + "value" : [ "null", " xor ", "true" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Xor", + "localId" : "275", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "279", + "name" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "280", + "name" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "As", + "localId" : "278", + "asType" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Null", + "localId" : "276", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } + }, { + "type" : "Literal", + "localId" : "277", "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "NF", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "283", - "s" : [ { - "value" : [ "","define ","NF",": " ] - }, { - "r" : "284", - "s" : [ { - "r" : "285", - "value" : [ "null"," xor ","false" ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "284", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "Xor", - "signature" : [ { - "localId" : "288", - "name" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "289", - "name" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "287", - "asType" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "As", - "signature" : [ ], - "operand" : { - "localId" : "285", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - } - }, { - "localId" : "286", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "false", - "type" : "Literal" - } ] + "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", + "value" : "true", + "annotation" : [ ] + } ] + } + }, { + "localId" : "283", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "NF", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "283", + "s" : [ { + "value" : [ "", "define ", "NF", ": " ] + }, { + "r" : "284", + "s" : [ { + "r" : "285", + "value" : [ "null", " xor ", "false" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Xor", + "localId" : "284", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "288", + "name" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "289", + "name" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "As", + "localId" : "287", + "asType" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Null", + "localId" : "285", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] } - } ] - } - } + }, { + "type" : "Literal", + "localId" : "286", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", + "value" : "false", + "annotation" : [ ] + } ] + } + } ] + } + } } /* Not @@ -1677,203 +1878,223 @@ define NotNull: not null */ module.exports['Not'] = { - "library" : { - "localId" : "0", - "annotation" : [ { - "translatorVersion" : "3.27.0", - "translatorOptions" : "EnableDateRangeOptimization,EnableAnnotations,EnableResultTypes", - "signatureLevel" : "All", - "type" : "CqlToElmInfo" + "library" : { + "localId" : "0", + "annotation" : [ { + "type" : "CqlToElmInfo", + "translatorVersion" : "4.2.0", + "translatorOptions" : "EnableDateRangeOptimization,EnableAnnotations,EnableResultTypes", + "signatureLevel" : "All" + }, { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "226", + "s" : [ { + "value" : [ "", "library TestSnippet version '1'" ] + } ] + } + } ], + "identifier" : { + "id" : "TestSnippet", + "version" : "1" + }, + "schemaIdentifier" : { + "id" : "urn:hl7-org:elm", + "version" : "r1" + }, + "usings" : { + "def" : [ { + "localId" : "1", + "localIdentifier" : "System", + "uri" : "urn:hl7-org:elm-types:r1", + "annotation" : [ ] }, { - "type" : "Annotation", - "s" : { - "r" : "226", + "localId" : "206", + "localIdentifier" : "Simple", + "uri" : "https://github.com/cqframework/cql-execution/simple", + "version" : "1.0.0", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "206", "s" : [ { - "value" : [ "","library TestSnippet version '1'" ] + "value" : [ "", "using " ] + }, { + "s" : [ { + "value" : [ "Simple" ] + } ] + }, { + "value" : [ " version '1.0.0'" ] } ] - } - } ], - "identifier" : { - "id" : "TestSnippet", - "version" : "1" - }, - "schemaIdentifier" : { - "id" : "urn:hl7-org:elm", - "version" : "r1" - }, - "usings" : { - "def" : [ { - "localId" : "1", - "localIdentifier" : "System", - "uri" : "urn:hl7-org:elm-types:r1" - }, { - "localId" : "206", - "localIdentifier" : "Simple", - "uri" : "https://github.com/cqframework/cql-execution/simple", - "version" : "1.0.0", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "206", - "s" : [ { - "value" : [ "","using " ] - }, { - "s" : [ { - "value" : [ "Simple" ] - } ] - }, { - "value" : [ " version '1.0.0'" ] - } ] - } + } + } ] + } ] + }, + "contexts" : { + "def" : [ { + "localId" : "211", + "name" : "Patient", + "annotation" : [ ] + } ] + }, + "statements" : { + "def" : [ { + "localId" : "209", + "name" : "Patient", + "context" : "Patient", + "annotation" : [ ], + "expression" : { + "type" : "SingletonFrom", + "localId" : "210", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Retrieve", + "localId" : "208", + "dataType" : "{https://github.com/cqframework/cql-execution/simple}Patient", + "annotation" : [ ], + "include" : [ ], + "codeFilter" : [ ], + "dateFilter" : [ ], + "otherFilter" : [ ] + } + } + }, { + "localId" : "214", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "NotTrue", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "214", + "s" : [ { + "value" : [ "", "define ", "NotTrue", ": " ] + }, { + "r" : "215", + "s" : [ { + "r" : "216", + "value" : [ "not ", "true" ] + } ] } ] - } ] - }, - "contexts" : { - "def" : [ { - "localId" : "211", - "name" : "Patient" - } ] - }, - "statements" : { - "def" : [ { - "localId" : "209", - "name" : "Patient", - "context" : "Patient", - "expression" : { - "localId" : "210", - "type" : "SingletonFrom", - "signature" : [ ], - "operand" : { - "localId" : "208", - "dataType" : "{https://github.com/cqframework/cql-execution/simple}Patient", - "type" : "Retrieve", - "include" : [ ], - "codeFilter" : [ ], - "dateFilter" : [ ], - "otherFilter" : [ ] - } - } - }, { - "localId" : "214", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "NotTrue", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "214", - "s" : [ { - "value" : [ "","define ","NotTrue",": " ] - }, { - "r" : "215", - "s" : [ { - "r" : "216", - "value" : [ "not ","true" ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "215", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "Not", - "signature" : [ { - "localId" : "217", - "name" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "216", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "true", - "type" : "Literal" - } - } - }, { - "localId" : "220", + } + } ], + "expression" : { + "type" : "Not", + "localId" : "215", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "217", + "name" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ] + } ], + "operand" : { + "type" : "Literal", + "localId" : "216", "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "NotFalse", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "220", - "s" : [ { - "value" : [ "","define ","NotFalse",": " ] - }, { - "r" : "221", - "s" : [ { - "r" : "222", - "value" : [ "not ","false" ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "221", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "Not", - "signature" : [ { - "localId" : "223", - "name" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "222", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "false", - "type" : "Literal" - } - } - }, { - "localId" : "226", + "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", + "value" : "true", + "annotation" : [ ] + } + } + }, { + "localId" : "220", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "NotFalse", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "220", + "s" : [ { + "value" : [ "", "define ", "NotFalse", ": " ] + }, { + "r" : "221", + "s" : [ { + "r" : "222", + "value" : [ "not ", "false" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Not", + "localId" : "221", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "223", + "name" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ] + } ], + "operand" : { + "type" : "Literal", + "localId" : "222", "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "NotNull", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "226", - "s" : [ { - "value" : [ "","define ","NotNull",": " ] - }, { - "r" : "227", - "s" : [ { - "r" : "228", - "value" : [ "not ","null" ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "227", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "Not", - "signature" : [ { - "localId" : "230", - "name" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "229", - "asType" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "As", - "signature" : [ ], - "operand" : { - "localId" : "228", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - } - } + "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", + "value" : "false", + "annotation" : [ ] + } + } + }, { + "localId" : "226", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "NotNull", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "226", + "s" : [ { + "value" : [ "", "define ", "NotNull", ": " ] + }, { + "r" : "227", + "s" : [ { + "r" : "228", + "value" : [ "not ", "null" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Not", + "localId" : "227", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "230", + "name" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ] + } ], + "operand" : { + "type" : "As", + "localId" : "229", + "asType" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Null", + "localId" : "228", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] } - } ] - } - } + } + } + } ] + } + } } /* IsTrue @@ -1886,203 +2107,223 @@ define NullIsTrue: null is true */ module.exports['IsTrue'] = { - "library" : { - "localId" : "0", - "annotation" : [ { - "translatorVersion" : "3.27.0", - "translatorOptions" : "EnableDateRangeOptimization,EnableAnnotations,EnableResultTypes", - "signatureLevel" : "All", - "type" : "CqlToElmInfo" + "library" : { + "localId" : "0", + "annotation" : [ { + "type" : "CqlToElmInfo", + "translatorVersion" : "4.2.0", + "translatorOptions" : "EnableDateRangeOptimization,EnableAnnotations,EnableResultTypes", + "signatureLevel" : "All" + }, { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "226", + "s" : [ { + "value" : [ "", "library TestSnippet version '1'" ] + } ] + } + } ], + "identifier" : { + "id" : "TestSnippet", + "version" : "1" + }, + "schemaIdentifier" : { + "id" : "urn:hl7-org:elm", + "version" : "r1" + }, + "usings" : { + "def" : [ { + "localId" : "1", + "localIdentifier" : "System", + "uri" : "urn:hl7-org:elm-types:r1", + "annotation" : [ ] }, { - "type" : "Annotation", - "s" : { - "r" : "226", + "localId" : "206", + "localIdentifier" : "Simple", + "uri" : "https://github.com/cqframework/cql-execution/simple", + "version" : "1.0.0", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "206", "s" : [ { - "value" : [ "","library TestSnippet version '1'" ] + "value" : [ "", "using " ] + }, { + "s" : [ { + "value" : [ "Simple" ] + } ] + }, { + "value" : [ " version '1.0.0'" ] } ] - } - } ], - "identifier" : { - "id" : "TestSnippet", - "version" : "1" - }, - "schemaIdentifier" : { - "id" : "urn:hl7-org:elm", - "version" : "r1" - }, - "usings" : { - "def" : [ { - "localId" : "1", - "localIdentifier" : "System", - "uri" : "urn:hl7-org:elm-types:r1" - }, { - "localId" : "206", - "localIdentifier" : "Simple", - "uri" : "https://github.com/cqframework/cql-execution/simple", - "version" : "1.0.0", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "206", - "s" : [ { - "value" : [ "","using " ] - }, { - "s" : [ { - "value" : [ "Simple" ] - } ] - }, { - "value" : [ " version '1.0.0'" ] - } ] - } + } + } ] + } ] + }, + "contexts" : { + "def" : [ { + "localId" : "211", + "name" : "Patient", + "annotation" : [ ] + } ] + }, + "statements" : { + "def" : [ { + "localId" : "209", + "name" : "Patient", + "context" : "Patient", + "annotation" : [ ], + "expression" : { + "type" : "SingletonFrom", + "localId" : "210", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Retrieve", + "localId" : "208", + "dataType" : "{https://github.com/cqframework/cql-execution/simple}Patient", + "annotation" : [ ], + "include" : [ ], + "codeFilter" : [ ], + "dateFilter" : [ ], + "otherFilter" : [ ] + } + } + }, { + "localId" : "214", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "TrueIsTrue", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "214", + "s" : [ { + "value" : [ "", "define ", "TrueIsTrue", ": " ] + }, { + "r" : "216", + "s" : [ { + "r" : "215", + "value" : [ "true", " is true" ] + } ] } ] - } ] - }, - "contexts" : { - "def" : [ { - "localId" : "211", - "name" : "Patient" - } ] - }, - "statements" : { - "def" : [ { - "localId" : "209", - "name" : "Patient", - "context" : "Patient", - "expression" : { - "localId" : "210", - "type" : "SingletonFrom", - "signature" : [ ], - "operand" : { - "localId" : "208", - "dataType" : "{https://github.com/cqframework/cql-execution/simple}Patient", - "type" : "Retrieve", - "include" : [ ], - "codeFilter" : [ ], - "dateFilter" : [ ], - "otherFilter" : [ ] - } - } - }, { - "localId" : "214", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "TrueIsTrue", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "214", - "s" : [ { - "value" : [ "","define ","TrueIsTrue",": " ] - }, { - "r" : "216", - "s" : [ { - "r" : "215", - "value" : [ "true"," is true" ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "216", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "IsTrue", - "signature" : [ { - "localId" : "217", - "name" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "215", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "true", - "type" : "Literal" - } - } - }, { - "localId" : "220", + } + } ], + "expression" : { + "type" : "IsTrue", + "localId" : "216", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "217", + "name" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ] + } ], + "operand" : { + "type" : "Literal", + "localId" : "215", "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "FalseIsTrue", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "220", - "s" : [ { - "value" : [ "","define ","FalseIsTrue",": " ] - }, { - "r" : "222", - "s" : [ { - "r" : "221", - "value" : [ "false"," is true" ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "222", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "IsTrue", - "signature" : [ { - "localId" : "223", - "name" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "221", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "false", - "type" : "Literal" - } - } - }, { - "localId" : "226", + "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", + "value" : "true", + "annotation" : [ ] + } + } + }, { + "localId" : "220", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "FalseIsTrue", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "220", + "s" : [ { + "value" : [ "", "define ", "FalseIsTrue", ": " ] + }, { + "r" : "222", + "s" : [ { + "r" : "221", + "value" : [ "false", " is true" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "IsTrue", + "localId" : "222", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "223", + "name" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ] + } ], + "operand" : { + "type" : "Literal", + "localId" : "221", "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "NullIsTrue", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "226", - "s" : [ { - "value" : [ "","define ","NullIsTrue",": " ] - }, { - "r" : "228", - "s" : [ { - "r" : "227", - "value" : [ "null"," is true" ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "228", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "IsTrue", - "signature" : [ { - "localId" : "230", - "name" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "229", - "asType" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "As", - "signature" : [ ], - "operand" : { - "localId" : "227", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - } - } + "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", + "value" : "false", + "annotation" : [ ] + } + } + }, { + "localId" : "226", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "NullIsTrue", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "226", + "s" : [ { + "value" : [ "", "define ", "NullIsTrue", ": " ] + }, { + "r" : "228", + "s" : [ { + "r" : "227", + "value" : [ "null", " is true" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "IsTrue", + "localId" : "228", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "230", + "name" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ] + } ], + "operand" : { + "type" : "As", + "localId" : "229", + "asType" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Null", + "localId" : "227", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] } - } ] - } - } + } + } + } ] + } + } } /* IsFalse @@ -2095,202 +2336,222 @@ define NullIsFalse: null is false */ module.exports['IsFalse'] = { - "library" : { - "localId" : "0", - "annotation" : [ { - "translatorVersion" : "3.27.0", - "translatorOptions" : "EnableDateRangeOptimization,EnableAnnotations,EnableResultTypes", - "signatureLevel" : "All", - "type" : "CqlToElmInfo" + "library" : { + "localId" : "0", + "annotation" : [ { + "type" : "CqlToElmInfo", + "translatorVersion" : "4.2.0", + "translatorOptions" : "EnableDateRangeOptimization,EnableAnnotations,EnableResultTypes", + "signatureLevel" : "All" + }, { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "226", + "s" : [ { + "value" : [ "", "library TestSnippet version '1'" ] + } ] + } + } ], + "identifier" : { + "id" : "TestSnippet", + "version" : "1" + }, + "schemaIdentifier" : { + "id" : "urn:hl7-org:elm", + "version" : "r1" + }, + "usings" : { + "def" : [ { + "localId" : "1", + "localIdentifier" : "System", + "uri" : "urn:hl7-org:elm-types:r1", + "annotation" : [ ] }, { - "type" : "Annotation", - "s" : { - "r" : "226", + "localId" : "206", + "localIdentifier" : "Simple", + "uri" : "https://github.com/cqframework/cql-execution/simple", + "version" : "1.0.0", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "206", "s" : [ { - "value" : [ "","library TestSnippet version '1'" ] + "value" : [ "", "using " ] + }, { + "s" : [ { + "value" : [ "Simple" ] + } ] + }, { + "value" : [ " version '1.0.0'" ] } ] - } - } ], - "identifier" : { - "id" : "TestSnippet", - "version" : "1" - }, - "schemaIdentifier" : { - "id" : "urn:hl7-org:elm", - "version" : "r1" - }, - "usings" : { - "def" : [ { - "localId" : "1", - "localIdentifier" : "System", - "uri" : "urn:hl7-org:elm-types:r1" - }, { - "localId" : "206", - "localIdentifier" : "Simple", - "uri" : "https://github.com/cqframework/cql-execution/simple", - "version" : "1.0.0", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "206", - "s" : [ { - "value" : [ "","using " ] - }, { - "s" : [ { - "value" : [ "Simple" ] - } ] - }, { - "value" : [ " version '1.0.0'" ] - } ] - } + } + } ] + } ] + }, + "contexts" : { + "def" : [ { + "localId" : "211", + "name" : "Patient", + "annotation" : [ ] + } ] + }, + "statements" : { + "def" : [ { + "localId" : "209", + "name" : "Patient", + "context" : "Patient", + "annotation" : [ ], + "expression" : { + "type" : "SingletonFrom", + "localId" : "210", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Retrieve", + "localId" : "208", + "dataType" : "{https://github.com/cqframework/cql-execution/simple}Patient", + "annotation" : [ ], + "include" : [ ], + "codeFilter" : [ ], + "dateFilter" : [ ], + "otherFilter" : [ ] + } + } + }, { + "localId" : "214", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "TrueIsFalse", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "214", + "s" : [ { + "value" : [ "", "define ", "TrueIsFalse", ": " ] + }, { + "r" : "216", + "s" : [ { + "r" : "215", + "value" : [ "true", " is false" ] + } ] } ] - } ] - }, - "contexts" : { - "def" : [ { - "localId" : "211", - "name" : "Patient" - } ] - }, - "statements" : { - "def" : [ { - "localId" : "209", - "name" : "Patient", - "context" : "Patient", - "expression" : { - "localId" : "210", - "type" : "SingletonFrom", - "signature" : [ ], - "operand" : { - "localId" : "208", - "dataType" : "{https://github.com/cqframework/cql-execution/simple}Patient", - "type" : "Retrieve", - "include" : [ ], - "codeFilter" : [ ], - "dateFilter" : [ ], - "otherFilter" : [ ] - } - } - }, { - "localId" : "214", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "TrueIsFalse", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "214", - "s" : [ { - "value" : [ "","define ","TrueIsFalse",": " ] - }, { - "r" : "216", - "s" : [ { - "r" : "215", - "value" : [ "true"," is false" ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "216", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "IsFalse", - "signature" : [ { - "localId" : "217", - "name" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "215", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "true", - "type" : "Literal" - } - } - }, { - "localId" : "220", + } + } ], + "expression" : { + "type" : "IsFalse", + "localId" : "216", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "217", + "name" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ] + } ], + "operand" : { + "type" : "Literal", + "localId" : "215", "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "FalseIsFalse", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "220", - "s" : [ { - "value" : [ "","define ","FalseIsFalse",": " ] - }, { - "r" : "222", - "s" : [ { - "r" : "221", - "value" : [ "false"," is false" ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "222", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "IsFalse", - "signature" : [ { - "localId" : "223", - "name" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "221", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "false", - "type" : "Literal" - } - } - }, { - "localId" : "226", + "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", + "value" : "true", + "annotation" : [ ] + } + } + }, { + "localId" : "220", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "FalseIsFalse", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "220", + "s" : [ { + "value" : [ "", "define ", "FalseIsFalse", ": " ] + }, { + "r" : "222", + "s" : [ { + "r" : "221", + "value" : [ "false", " is false" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "IsFalse", + "localId" : "222", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "223", + "name" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ] + } ], + "operand" : { + "type" : "Literal", + "localId" : "221", "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "NullIsFalse", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "226", - "s" : [ { - "value" : [ "","define ","NullIsFalse",": " ] - }, { - "r" : "228", - "s" : [ { - "r" : "227", - "value" : [ "null"," is false" ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "228", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "IsFalse", - "signature" : [ { - "localId" : "230", - "name" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "229", - "asType" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "As", - "signature" : [ ], - "operand" : { - "localId" : "227", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - } - } + "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", + "value" : "false", + "annotation" : [ ] + } + } + }, { + "localId" : "226", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "NullIsFalse", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "226", + "s" : [ { + "value" : [ "", "define ", "NullIsFalse", ": " ] + }, { + "r" : "228", + "s" : [ { + "r" : "227", + "value" : [ "null", " is false" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "IsFalse", + "localId" : "228", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "230", + "name" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ] + } ], + "operand" : { + "type" : "As", + "localId" : "229", + "asType" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Null", + "localId" : "227", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] } - } ] - } - } + } + } + } ] + } + } } diff --git a/test/elm/message/data.js b/test/elm/message/data.js index 74ec21d1..0fe32b77 100644 --- a/test/elm/message/data.js +++ b/test/elm/message/data.js @@ -19,393 +19,440 @@ define oneOverZero: DoDivide(1, 0) */ module.exports['Message'] = { - "library" : { - "localId" : "0", - "annotation" : [ { - "translatorVersion" : "3.27.0", - "translatorOptions" : "EnableDateRangeOptimization,EnableAnnotations,EnableResultTypes", - "signatureLevel" : "All", - "type" : "CqlToElmInfo" + "library" : { + "localId" : "0", + "annotation" : [ { + "type" : "CqlToElmInfo", + "translatorVersion" : "4.2.0", + "translatorOptions" : "EnableDateRangeOptimization,EnableAnnotations,EnableResultTypes", + "signatureLevel" : "All" + }, { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "265", + "s" : [ { + "value" : [ "", "library TestSnippet version '1'" ] + } ] + } + } ], + "identifier" : { + "id" : "TestSnippet", + "version" : "1" + }, + "schemaIdentifier" : { + "id" : "urn:hl7-org:elm", + "version" : "r1" + }, + "usings" : { + "def" : [ { + "localId" : "1", + "localIdentifier" : "System", + "uri" : "urn:hl7-org:elm-types:r1", + "annotation" : [ ] }, { - "type" : "Annotation", - "s" : { - "r" : "265", + "localId" : "206", + "localIdentifier" : "Simple", + "uri" : "https://github.com/cqframework/cql-execution/simple", + "version" : "1.0.0", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "206", "s" : [ { - "value" : [ "","library TestSnippet version '1'" ] + "value" : [ "", "using " ] + }, { + "s" : [ { + "value" : [ "Simple" ] + } ] + }, { + "value" : [ " version '1.0.0'" ] } ] - } - } ], - "identifier" : { - "id" : "TestSnippet", - "version" : "1" - }, - "schemaIdentifier" : { - "id" : "urn:hl7-org:elm", - "version" : "r1" - }, - "usings" : { - "def" : [ { - "localId" : "1", - "localIdentifier" : "System", - "uri" : "urn:hl7-org:elm-types:r1" - }, { - "localId" : "206", - "localIdentifier" : "Simple", - "uri" : "https://github.com/cqframework/cql-execution/simple", - "version" : "1.0.0", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "206", + } + } ] + } ] + }, + "contexts" : { + "def" : [ { + "localId" : "211", + "name" : "Patient", + "annotation" : [ ] + } ] + }, + "statements" : { + "def" : [ { + "localId" : "209", + "name" : "Patient", + "context" : "Patient", + "annotation" : [ ], + "expression" : { + "type" : "SingletonFrom", + "localId" : "210", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Retrieve", + "localId" : "208", + "dataType" : "{https://github.com/cqframework/cql-execution/simple}Patient", + "annotation" : [ ], + "include" : [ ], + "codeFilter" : [ ], + "dateFilter" : [ ], + "otherFilter" : [ ] + } + } + }, { + "type" : "FunctionDef", + "localId" : "212", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "name" : "DoDivide", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "212", + "s" : [ { + "value" : [ "", "define function DoDivide(num Integer, den Integer):\n " ] + }, { + "r" : "249", + "s" : [ { + "r" : "249", + "s" : [ { + "value" : [ "Message", "(" ] + }, { + "r" : "220", "s" : [ { - "value" : [ "","using " ] + "r" : "221", + "s" : [ { + "value" : [ "num" ] + } ] }, { - "s" : [ { - "value" : [ "Simple" ] - } ] + "value" : [ " / " ] }, { - "value" : [ " version '1.0.0'" ] + "r" : "222", + "s" : [ { + "value" : [ "den" ] + } ] } ] - } - } ] - } ] - }, - "contexts" : { - "def" : [ { - "localId" : "211", - "name" : "Patient" - } ] - }, - "statements" : { - "def" : [ { - "localId" : "209", - "name" : "Patient", - "context" : "Patient", - "expression" : { - "localId" : "210", - "type" : "SingletonFrom", - "signature" : [ ], - "operand" : { - "localId" : "208", - "dataType" : "{https://github.com/cqframework/cql-execution/simple}Patient", - "type" : "Retrieve", - "include" : [ ], - "codeFilter" : [ ], - "dateFilter" : [ ], - "otherFilter" : [ ] - } - } - }, { - "localId" : "212", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "name" : "DoDivide", - "context" : "Patient", - "accessLevel" : "Public", - "type" : "FunctionDef", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "212", + }, { + "value" : [ ", " ] + }, { + "r" : "231", "s" : [ { - "value" : [ "","define function DoDivide(num Integer, den Integer):\n " ] - }, { - "r" : "249", - "s" : [ { - "r" : "249", - "s" : [ { - "value" : [ "Message","(" ] - }, { - "r" : "220", - "s" : [ { - "r" : "221", - "s" : [ { - "value" : [ "num" ] - } ] - }, { - "value" : [ " / " ] - }, { - "r" : "222", - "s" : [ { - "value" : [ "den" ] - } ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "231", - "s" : [ { - "r" : "232", - "s" : [ { - "value" : [ "den" ] - } ] - }, { - "r" : "233", - "value" : [ " ","="," ","0" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "236", - "s" : [ { - "value" : [ "'DivideByZero'" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "238", - "s" : [ { - "value" : [ "'Error'" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "240", - "s" : [ { - "value" : [ "'Cannot divide by zero'" ] - } ] - }, { - "value" : [ ")" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "249", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "Message", - "signature" : [ { - "localId" : "250", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "251", - "name" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "252", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "253", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "254", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } ], - "source" : { - "localId" : "220", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "Divide", - "signature" : [ { - "localId" : "229", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "230", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "224", - "type" : "ToDecimal", - "signature" : [ { - "localId" : "225", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "221", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "name" : "num", - "type" : "OperandRef" - } + "r" : "232", + "s" : [ { + "value" : [ "den" ] + } ] }, { - "localId" : "227", - "type" : "ToDecimal", - "signature" : [ { - "localId" : "228", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "222", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "name" : "den", - "type" : "OperandRef" - } + "r" : "233", + "value" : [ " ", "=", " ", "0" ] } ] - }, - "condition" : { - "localId" : "231", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "Equal", - "signature" : [ { - "localId" : "234", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "235", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "232", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "name" : "den", - "type" : "OperandRef" - }, { - "localId" : "233", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" + }, { + "value" : [ ", " ] + }, { + "r" : "236", + "s" : [ { + "value" : [ "'DivideByZero'" ] } ] - }, - "code" : { - "localId" : "236", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "DivideByZero", - "type" : "Literal" - }, - "severity" : { - "localId" : "238", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "Error", - "type" : "Literal" - }, - "message" : { - "localId" : "240", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "Cannot divide by zero", - "type" : "Literal" - } - }, - "operand" : [ { - "localId" : "214", - "name" : "num", - "operandTypeSpecifier" : { - "localId" : "213", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "216", - "name" : "den", - "operandTypeSpecifier" : { - "localId" : "215", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } ] - }, { - "localId" : "257", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "name" : "oneOverTwo", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "257", + }, { + "value" : [ ", " ] + }, { + "r" : "238", "s" : [ { - "value" : [ "","define ","oneOverTwo",": " ] - }, { - "r" : "260", - "s" : [ { - "r" : "258", - "value" : [ "DoDivide","(","1",", ","2",")" ] - } ] + "value" : [ "'Error'" ] } ] - } - } ], - "expression" : { - "localId" : "260", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "name" : "DoDivide", - "type" : "FunctionRef", - "signature" : [ { - "localId" : "261", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "262", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "258", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, { - "localId" : "259", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal" - } ] - } - }, { - "localId" : "265", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "name" : "oneOverZero", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "265", + }, { + "value" : [ ", " ] + }, { + "r" : "240", "s" : [ { - "value" : [ "","define ","oneOverZero",": " ] - }, { - "r" : "268", - "s" : [ { - "r" : "266", - "value" : [ "DoDivide","(","1",", ","0",")" ] - } ] + "value" : [ "'Cannot divide by zero'" ] } ] - } + }, { + "value" : [ ")" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Message", + "localId" : "249", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "250", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "251", + "name" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "252", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "253", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "254", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } ], + "source" : { + "type" : "Divide", + "localId" : "220", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "229", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "230", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] } ], - "expression" : { - "localId" : "268", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "name" : "DoDivide", - "type" : "FunctionRef", - "signature" : [ { - "localId" : "269", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "270", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "266", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, { - "localId" : "267", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } ] - } - } ] - } - } + "operand" : [ { + "type" : "ToDecimal", + "localId" : "224", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "225", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "operand" : { + "type" : "OperandRef", + "localId" : "221", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "name" : "num", + "annotation" : [ ] + } + }, { + "type" : "ToDecimal", + "localId" : "227", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "228", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "operand" : { + "type" : "OperandRef", + "localId" : "222", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "name" : "den", + "annotation" : [ ] + } + } ] + }, + "condition" : { + "type" : "Equal", + "localId" : "231", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "234", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "235", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "OperandRef", + "localId" : "232", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "name" : "den", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "233", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } ] + }, + "code" : { + "type" : "Literal", + "localId" : "236", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "DivideByZero", + "annotation" : [ ] + }, + "severity" : { + "type" : "Literal", + "localId" : "238", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "Error", + "annotation" : [ ] + }, + "message" : { + "type" : "Literal", + "localId" : "240", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "Cannot divide by zero", + "annotation" : [ ] + } + }, + "operand" : [ { + "localId" : "214", + "name" : "num", + "annotation" : [ ], + "operandTypeSpecifier" : { + "type" : "NamedTypeSpecifier", + "localId" : "213", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, { + "localId" : "216", + "name" : "den", + "annotation" : [ ], + "operandTypeSpecifier" : { + "type" : "NamedTypeSpecifier", + "localId" : "215", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } ] + }, { + "localId" : "257", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "name" : "oneOverTwo", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "257", + "s" : [ { + "value" : [ "", "define ", "oneOverTwo", ": " ] + }, { + "r" : "260", + "s" : [ { + "r" : "258", + "value" : [ "DoDivide", "(", "1", ", ", "2", ")" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "FunctionRef", + "localId" : "260", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "name" : "DoDivide", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "261", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "262", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "Literal", + "localId" : "258", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "259", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "annotation" : [ ] + } ] + } + }, { + "localId" : "265", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "name" : "oneOverZero", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "265", + "s" : [ { + "value" : [ "", "define ", "oneOverZero", ": " ] + }, { + "r" : "268", + "s" : [ { + "r" : "266", + "value" : [ "DoDivide", "(", "1", ", ", "0", ")" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "FunctionRef", + "localId" : "268", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "name" : "DoDivide", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "269", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "270", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "Literal", + "localId" : "266", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "267", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } ] + } + } ] + } + } } /* Included @@ -418,294 +465,329 @@ define function DoDivide(num Integer, den Integer): */ module.exports['Included'] = { - "library" : { - "localId" : "0", - "annotation" : [ { - "translatorVersion" : "3.27.0", - "translatorOptions" : "EnableDateRangeOptimization,EnableAnnotations,EnableResultTypes", - "signatureLevel" : "All", - "type" : "CqlToElmInfo" + "library" : { + "localId" : "0", + "annotation" : [ { + "type" : "CqlToElmInfo", + "translatorVersion" : "4.2.0", + "translatorOptions" : "EnableDateRangeOptimization,EnableAnnotations,EnableResultTypes", + "signatureLevel" : "All" + }, { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "212", + "s" : [ { + "value" : [ "", "library Included" ] + } ] + } + } ], + "identifier" : { + "id" : "Included" + }, + "schemaIdentifier" : { + "id" : "urn:hl7-org:elm", + "version" : "r1" + }, + "usings" : { + "def" : [ { + "localId" : "1", + "localIdentifier" : "System", + "uri" : "urn:hl7-org:elm-types:r1", + "annotation" : [ ] }, { - "type" : "Annotation", - "s" : { - "r" : "212", + "localId" : "206", + "localIdentifier" : "Simple", + "uri" : "https://github.com/cqframework/cql-execution/simple", + "version" : "1.0.0", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "206", "s" : [ { - "value" : [ "","library Included" ] + "value" : [ "", "using " ] + }, { + "s" : [ { + "value" : [ "Simple" ] + } ] + }, { + "value" : [ " version '1.0.0'" ] } ] - } - } ], - "identifier" : { - "id" : "Included" - }, - "schemaIdentifier" : { - "id" : "urn:hl7-org:elm", - "version" : "r1" - }, - "usings" : { - "def" : [ { - "localId" : "1", - "localIdentifier" : "System", - "uri" : "urn:hl7-org:elm-types:r1" - }, { - "localId" : "206", - "localIdentifier" : "Simple", - "uri" : "https://github.com/cqframework/cql-execution/simple", - "version" : "1.0.0", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "206", + } + } ] + } ] + }, + "contexts" : { + "def" : [ { + "localId" : "211", + "name" : "Patient", + "annotation" : [ ] + } ] + }, + "statements" : { + "def" : [ { + "localId" : "209", + "name" : "Patient", + "context" : "Patient", + "annotation" : [ ], + "expression" : { + "type" : "SingletonFrom", + "localId" : "210", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Retrieve", + "localId" : "208", + "dataType" : "{https://github.com/cqframework/cql-execution/simple}Patient", + "annotation" : [ ], + "include" : [ ], + "codeFilter" : [ ], + "dateFilter" : [ ], + "otherFilter" : [ ] + } + } + }, { + "type" : "FunctionDef", + "localId" : "212", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "name" : "DoDivide", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "212", + "s" : [ { + "value" : [ "", "define function DoDivide(num Integer, den Integer):\n " ] + }, { + "r" : "249", + "s" : [ { + "r" : "249", + "s" : [ { + "value" : [ "Message", "(" ] + }, { + "r" : "220", "s" : [ { - "value" : [ "","using " ] + "r" : "221", + "s" : [ { + "value" : [ "num" ] + } ] }, { - "s" : [ { - "value" : [ "Simple" ] - } ] + "value" : [ " / " ] }, { - "value" : [ " version '1.0.0'" ] + "r" : "222", + "s" : [ { + "value" : [ "den" ] + } ] } ] - } - } ] - } ] - }, - "contexts" : { - "def" : [ { - "localId" : "211", - "name" : "Patient" - } ] - }, - "statements" : { - "def" : [ { - "localId" : "209", - "name" : "Patient", - "context" : "Patient", - "expression" : { - "localId" : "210", - "type" : "SingletonFrom", - "signature" : [ ], - "operand" : { - "localId" : "208", - "dataType" : "{https://github.com/cqframework/cql-execution/simple}Patient", - "type" : "Retrieve", - "include" : [ ], - "codeFilter" : [ ], - "dateFilter" : [ ], - "otherFilter" : [ ] - } - } - }, { - "localId" : "212", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "name" : "DoDivide", - "context" : "Patient", - "accessLevel" : "Public", - "type" : "FunctionDef", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "212", + }, { + "value" : [ ", " ] + }, { + "r" : "231", "s" : [ { - "value" : [ "","define function DoDivide(num Integer, den Integer):\n " ] + "r" : "232", + "s" : [ { + "value" : [ "den" ] + } ] }, { - "r" : "249", - "s" : [ { - "r" : "249", - "s" : [ { - "value" : [ "Message","(" ] - }, { - "r" : "220", - "s" : [ { - "r" : "221", - "s" : [ { - "value" : [ "num" ] - } ] - }, { - "value" : [ " / " ] - }, { - "r" : "222", - "s" : [ { - "value" : [ "den" ] - } ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "231", - "s" : [ { - "r" : "232", - "s" : [ { - "value" : [ "den" ] - } ] - }, { - "r" : "233", - "value" : [ " ","="," ","0" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "236", - "s" : [ { - "value" : [ "'DivideByZero'" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "238", - "s" : [ { - "value" : [ "'Error'" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "240", - "s" : [ { - "value" : [ "'Cannot divide by zero in included'" ] - } ] - }, { - "value" : [ ")" ] - } ] - } ] + "r" : "233", + "value" : [ " ", "=", " ", "0" ] } ] - } - } ], - "expression" : { - "localId" : "249", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "Message", - "signature" : [ { - "localId" : "250", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "251", - "name" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "252", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "253", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "254", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } ], - "source" : { - "localId" : "220", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "Divide", - "signature" : [ { - "localId" : "229", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "230", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "224", - "type" : "ToDecimal", - "signature" : [ { - "localId" : "225", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "221", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "name" : "num", - "type" : "OperandRef" - } - }, { - "localId" : "227", - "type" : "ToDecimal", - "signature" : [ { - "localId" : "228", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "222", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "name" : "den", - "type" : "OperandRef" - } + }, { + "value" : [ ", " ] + }, { + "r" : "236", + "s" : [ { + "value" : [ "'DivideByZero'" ] } ] - }, - "condition" : { - "localId" : "231", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "Equal", - "signature" : [ { - "localId" : "234", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "235", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "232", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "name" : "den", - "type" : "OperandRef" - }, { - "localId" : "233", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" + }, { + "value" : [ ", " ] + }, { + "r" : "238", + "s" : [ { + "value" : [ "'Error'" ] } ] - }, - "code" : { - "localId" : "236", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "DivideByZero", - "type" : "Literal" - }, - "severity" : { - "localId" : "238", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "Error", - "type" : "Literal" - }, - "message" : { - "localId" : "240", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "Cannot divide by zero in included", - "type" : "Literal" - } - }, + }, { + "value" : [ ", " ] + }, { + "r" : "240", + "s" : [ { + "value" : [ "'Cannot divide by zero in included'" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Message", + "localId" : "249", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "250", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "251", + "name" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "252", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "253", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "254", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } ], + "source" : { + "type" : "Divide", + "localId" : "220", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "229", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "230", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } ], "operand" : [ { - "localId" : "214", - "name" : "num", - "operandTypeSpecifier" : { - "localId" : "213", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } + "type" : "ToDecimal", + "localId" : "224", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "225", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "operand" : { + "type" : "OperandRef", + "localId" : "221", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "name" : "num", + "annotation" : [ ] + } }, { - "localId" : "216", - "name" : "den", - "operandTypeSpecifier" : { - "localId" : "215", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } + "type" : "ToDecimal", + "localId" : "227", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "228", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "operand" : { + "type" : "OperandRef", + "localId" : "222", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "name" : "den", + "annotation" : [ ] + } } ] - } ] - } - } + }, + "condition" : { + "type" : "Equal", + "localId" : "231", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "234", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "235", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "OperandRef", + "localId" : "232", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "name" : "den", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "233", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } ] + }, + "code" : { + "type" : "Literal", + "localId" : "236", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "DivideByZero", + "annotation" : [ ] + }, + "severity" : { + "type" : "Literal", + "localId" : "238", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "Error", + "annotation" : [ ] + }, + "message" : { + "type" : "Literal", + "localId" : "240", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "Cannot divide by zero in included", + "annotation" : [ ] + } + }, + "operand" : [ { + "localId" : "214", + "name" : "num", + "annotation" : [ ], + "operandTypeSpecifier" : { + "type" : "NamedTypeSpecifier", + "localId" : "213", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, { + "localId" : "216", + "name" : "den", + "annotation" : [ ], + "operandTypeSpecifier" : { + "type" : "NamedTypeSpecifier", + "localId" : "215", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } ] + } ] + } + } } /* Retrieve @@ -719,225 +801,245 @@ define oneOverZero: included.DoDivide(1, 0) */ module.exports['Retrieve'] = { - "library" : { - "localId" : "0", - "annotation" : [ { - "translatorVersion" : "3.27.0", - "translatorOptions" : "EnableDateRangeOptimization,EnableAnnotations,EnableResultTypes", - "signatureLevel" : "All", - "type" : "CqlToElmInfo" + "library" : { + "localId" : "0", + "annotation" : [ { + "type" : "CqlToElmInfo", + "translatorVersion" : "4.2.0", + "translatorOptions" : "EnableDateRangeOptimization,EnableAnnotations,EnableResultTypes", + "signatureLevel" : "All" + }, { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "225", + "s" : [ { + "value" : [ "", "library Retrieve" ] + } ] + } + } ], + "identifier" : { + "id" : "Retrieve" + }, + "schemaIdentifier" : { + "id" : "urn:hl7-org:elm", + "version" : "r1" + }, + "usings" : { + "def" : [ { + "localId" : "1", + "localIdentifier" : "System", + "uri" : "urn:hl7-org:elm-types:r1", + "annotation" : [ ] }, { - "type" : "Annotation", - "s" : { - "r" : "225", + "localId" : "206", + "localIdentifier" : "Simple", + "uri" : "https://github.com/cqframework/cql-execution/simple", + "version" : "1.0.0", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "206", "s" : [ { - "value" : [ "","library Retrieve" ] + "value" : [ "", "using " ] + }, { + "s" : [ { + "value" : [ "Simple" ] + } ] + }, { + "value" : [ " version '1.0.0'" ] } ] - } - } ], - "identifier" : { - "id" : "Retrieve" - }, - "schemaIdentifier" : { - "id" : "urn:hl7-org:elm", - "version" : "r1" - }, - "usings" : { - "def" : [ { - "localId" : "1", - "localIdentifier" : "System", - "uri" : "urn:hl7-org:elm-types:r1" - }, { - "localId" : "206", - "localIdentifier" : "Simple", - "uri" : "https://github.com/cqframework/cql-execution/simple", - "version" : "1.0.0", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "206", - "s" : [ { - "value" : [ "","using " ] - }, { - "s" : [ { - "value" : [ "Simple" ] - } ] - }, { - "value" : [ " version '1.0.0'" ] - } ] - } + } + } ] + } ] + }, + "includes" : { + "def" : [ { + "localId" : "208", + "localIdentifier" : "included", + "path" : "Included", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "208", + "s" : [ { + "value" : [ "", "include " ] + }, { + "s" : [ { + "value" : [ "Included" ] + } ] + }, { + "value" : [ " called ", "included" ] } ] - } ] - }, - "includes" : { - "def" : [ { - "localId" : "208", - "localIdentifier" : "included", - "path" : "Included", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "208", - "s" : [ { - "value" : [ "","include " ] - }, { - "s" : [ { - "value" : [ "Included" ] - } ] - }, { - "value" : [ " called ","included" ] - } ] - } + } + } ] + } ] + }, + "contexts" : { + "def" : [ { + "localId" : "213", + "name" : "Patient", + "annotation" : [ ] + } ] + }, + "statements" : { + "def" : [ { + "localId" : "211", + "name" : "Patient", + "context" : "Patient", + "annotation" : [ ], + "expression" : { + "type" : "SingletonFrom", + "localId" : "212", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Retrieve", + "localId" : "210", + "dataType" : "{https://github.com/cqframework/cql-execution/simple}Patient", + "annotation" : [ ], + "include" : [ ], + "codeFilter" : [ ], + "dateFilter" : [ ], + "otherFilter" : [ ] + } + } + }, { + "localId" : "216", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "name" : "oneOverTwo", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "216", + "s" : [ { + "value" : [ "", "define ", "oneOverTwo", ": " ] + }, { + "r" : "220", + "s" : [ { + "r" : "217", + "s" : [ { + "value" : [ "included" ] + } ] + }, { + "value" : [ "." ] + }, { + "r" : "220", + "s" : [ { + "r" : "218", + "value" : [ "DoDivide", "(", "1", ", ", "2", ")" ] + } ] + } ] } ] - } ] - }, - "contexts" : { - "def" : [ { - "localId" : "213", - "name" : "Patient" - } ] - }, - "statements" : { - "def" : [ { - "localId" : "211", - "name" : "Patient", - "context" : "Patient", - "expression" : { - "localId" : "212", - "type" : "SingletonFrom", - "signature" : [ ], - "operand" : { - "localId" : "210", - "dataType" : "{https://github.com/cqframework/cql-execution/simple}Patient", - "type" : "Retrieve", - "include" : [ ], - "codeFilter" : [ ], - "dateFilter" : [ ], - "otherFilter" : [ ] - } - } - }, { - "localId" : "216", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "name" : "oneOverTwo", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "216", - "s" : [ { - "value" : [ "","define ","oneOverTwo",": " ] - }, { - "r" : "220", - "s" : [ { - "r" : "217", - "s" : [ { - "value" : [ "included" ] - } ] - }, { - "value" : [ "." ] - }, { - "r" : "220", - "s" : [ { - "r" : "218", - "value" : [ "DoDivide","(","1",", ","2",")" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "220", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "name" : "DoDivide", - "libraryName" : "included", - "type" : "FunctionRef", - "signature" : [ { - "localId" : "221", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "222", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "218", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, { - "localId" : "219", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal" - } ] - } - }, { - "localId" : "225", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "name" : "oneOverZero", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "225", - "s" : [ { - "value" : [ "","define ","oneOverZero",": " ] - }, { - "r" : "229", - "s" : [ { - "r" : "226", - "s" : [ { - "value" : [ "included" ] - } ] - }, { - "value" : [ "." ] - }, { - "r" : "229", - "s" : [ { - "r" : "227", - "value" : [ "DoDivide","(","1",", ","0",")" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "229", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "name" : "DoDivide", - "libraryName" : "included", - "type" : "FunctionRef", - "signature" : [ { - "localId" : "230", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "231", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "227", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, { - "localId" : "228", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } ] - } - } ] - } - } + } + } ], + "expression" : { + "type" : "FunctionRef", + "localId" : "220", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "name" : "DoDivide", + "libraryName" : "included", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "221", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "222", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "Literal", + "localId" : "218", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "219", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "annotation" : [ ] + } ] + } + }, { + "localId" : "225", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "name" : "oneOverZero", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "225", + "s" : [ { + "value" : [ "", "define ", "oneOverZero", ": " ] + }, { + "r" : "229", + "s" : [ { + "r" : "226", + "s" : [ { + "value" : [ "included" ] + } ] + }, { + "value" : [ "." ] + }, { + "r" : "229", + "s" : [ { + "r" : "227", + "value" : [ "DoDivide", "(", "1", ", ", "0", ")" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "FunctionRef", + "localId" : "229", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "name" : "DoDivide", + "libraryName" : "included", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "230", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "231", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "Literal", + "localId" : "227", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "228", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } ] + } + } ] + } + } } diff --git a/test/elm/nullological/data.js b/test/elm/nullological/data.js index ad074e9e..3e5a2429 100644 --- a/test/elm/nullological/data.js +++ b/test/elm/nullological/data.js @@ -16,106 +16,115 @@ define Nil: null */ module.exports['Nil'] = { - "library" : { - "localId" : "0", - "annotation" : [ { - "translatorVersion" : "3.27.0", - "translatorOptions" : "EnableDateRangeOptimization,EnableAnnotations,EnableResultTypes", - "signatureLevel" : "All", - "type" : "CqlToElmInfo" + "library" : { + "localId" : "0", + "annotation" : [ { + "type" : "CqlToElmInfo", + "translatorVersion" : "4.2.0", + "translatorOptions" : "EnableDateRangeOptimization,EnableAnnotations,EnableResultTypes", + "signatureLevel" : "All" + }, { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "214", + "s" : [ { + "value" : [ "", "library TestSnippet version '1'" ] + } ] + } + } ], + "identifier" : { + "id" : "TestSnippet", + "version" : "1" + }, + "schemaIdentifier" : { + "id" : "urn:hl7-org:elm", + "version" : "r1" + }, + "usings" : { + "def" : [ { + "localId" : "1", + "localIdentifier" : "System", + "uri" : "urn:hl7-org:elm-types:r1", + "annotation" : [ ] }, { - "type" : "Annotation", - "s" : { - "r" : "214", + "localId" : "206", + "localIdentifier" : "Simple", + "uri" : "https://github.com/cqframework/cql-execution/simple", + "version" : "1.0.0", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "206", "s" : [ { - "value" : [ "","library TestSnippet version '1'" ] + "value" : [ "", "using " ] + }, { + "s" : [ { + "value" : [ "Simple" ] + } ] + }, { + "value" : [ " version '1.0.0'" ] } ] - } - } ], - "identifier" : { - "id" : "TestSnippet", - "version" : "1" - }, - "schemaIdentifier" : { - "id" : "urn:hl7-org:elm", - "version" : "r1" - }, - "usings" : { - "def" : [ { - "localId" : "1", - "localIdentifier" : "System", - "uri" : "urn:hl7-org:elm-types:r1" - }, { - "localId" : "206", - "localIdentifier" : "Simple", - "uri" : "https://github.com/cqframework/cql-execution/simple", - "version" : "1.0.0", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "206", - "s" : [ { - "value" : [ "","using " ] - }, { - "s" : [ { - "value" : [ "Simple" ] - } ] - }, { - "value" : [ " version '1.0.0'" ] - } ] - } + } + } ] + } ] + }, + "contexts" : { + "def" : [ { + "localId" : "211", + "name" : "Patient", + "annotation" : [ ] + } ] + }, + "statements" : { + "def" : [ { + "localId" : "209", + "name" : "Patient", + "context" : "Patient", + "annotation" : [ ], + "expression" : { + "type" : "SingletonFrom", + "localId" : "210", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Retrieve", + "localId" : "208", + "dataType" : "{https://github.com/cqframework/cql-execution/simple}Patient", + "annotation" : [ ], + "include" : [ ], + "codeFilter" : [ ], + "dateFilter" : [ ], + "otherFilter" : [ ] + } + } + }, { + "localId" : "214", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "name" : "Nil", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "214", + "s" : [ { + "r" : "215", + "value" : [ "", "define ", "Nil", ": ", "null" ] } ] - } ] - }, - "contexts" : { - "def" : [ { - "localId" : "211", - "name" : "Patient" - } ] - }, - "statements" : { - "def" : [ { - "localId" : "209", - "name" : "Patient", - "context" : "Patient", - "expression" : { - "localId" : "210", - "type" : "SingletonFrom", - "signature" : [ ], - "operand" : { - "localId" : "208", - "dataType" : "{https://github.com/cqframework/cql-execution/simple}Patient", - "type" : "Retrieve", - "include" : [ ], - "codeFilter" : [ ], - "dateFilter" : [ ], - "otherFilter" : [ ] - } - } - }, { - "localId" : "214", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "name" : "Nil", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "214", - "s" : [ { - "r" : "215", - "value" : [ "","define ","Nil",": ","null" ] - } ] - } - } ], - "expression" : { - "localId" : "215", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - } - } ] - } - } + } + } ], + "expression" : { + "type" : "Null", + "localId" : "215", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } + } ] + } + } } /* IsNull @@ -131,289 +140,316 @@ define NonNullVarIsNull: One is null */ module.exports['IsNull'] = { - "library" : { - "localId" : "0", - "annotation" : [ { - "translatorVersion" : "3.27.0", - "translatorOptions" : "EnableDateRangeOptimization,EnableAnnotations,EnableResultTypes", - "signatureLevel" : "All", - "type" : "CqlToElmInfo" + "library" : { + "localId" : "0", + "annotation" : [ { + "type" : "CqlToElmInfo", + "translatorVersion" : "4.2.0", + "translatorOptions" : "EnableDateRangeOptimization,EnableAnnotations,EnableResultTypes", + "signatureLevel" : "All" + }, { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "241", + "s" : [ { + "value" : [ "", "library TestSnippet version '1'" ] + } ] + } + } ], + "identifier" : { + "id" : "TestSnippet", + "version" : "1" + }, + "schemaIdentifier" : { + "id" : "urn:hl7-org:elm", + "version" : "r1" + }, + "usings" : { + "def" : [ { + "localId" : "1", + "localIdentifier" : "System", + "uri" : "urn:hl7-org:elm-types:r1", + "annotation" : [ ] }, { - "type" : "Annotation", - "s" : { - "r" : "241", + "localId" : "206", + "localIdentifier" : "Simple", + "uri" : "https://github.com/cqframework/cql-execution/simple", + "version" : "1.0.0", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "206", "s" : [ { - "value" : [ "","library TestSnippet version '1'" ] + "value" : [ "", "using " ] + }, { + "s" : [ { + "value" : [ "Simple" ] + } ] + }, { + "value" : [ " version '1.0.0'" ] } ] - } - } ], - "identifier" : { - "id" : "TestSnippet", - "version" : "1" - }, - "schemaIdentifier" : { - "id" : "urn:hl7-org:elm", - "version" : "r1" - }, - "usings" : { - "def" : [ { - "localId" : "1", - "localIdentifier" : "System", - "uri" : "urn:hl7-org:elm-types:r1" - }, { - "localId" : "206", - "localIdentifier" : "Simple", - "uri" : "https://github.com/cqframework/cql-execution/simple", - "version" : "1.0.0", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "206", - "s" : [ { - "value" : [ "","using " ] - }, { - "s" : [ { - "value" : [ "Simple" ] - } ] - }, { - "value" : [ " version '1.0.0'" ] - } ] - } + } + } ] + } ] + }, + "contexts" : { + "def" : [ { + "localId" : "211", + "name" : "Patient", + "annotation" : [ ] + } ] + }, + "statements" : { + "def" : [ { + "localId" : "209", + "name" : "Patient", + "context" : "Patient", + "annotation" : [ ], + "expression" : { + "type" : "SingletonFrom", + "localId" : "210", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Retrieve", + "localId" : "208", + "dataType" : "{https://github.com/cqframework/cql-execution/simple}Patient", + "annotation" : [ ], + "include" : [ ], + "codeFilter" : [ ], + "dateFilter" : [ ], + "otherFilter" : [ ] + } + } + }, { + "localId" : "214", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "name" : "Nil", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "214", + "s" : [ { + "r" : "215", + "value" : [ "", "define ", "Nil", ": ", "null" ] } ] - } ] - }, - "contexts" : { - "def" : [ { - "localId" : "211", - "name" : "Patient" - } ] - }, - "statements" : { - "def" : [ { - "localId" : "209", - "name" : "Patient", - "context" : "Patient", - "expression" : { - "localId" : "210", - "type" : "SingletonFrom", - "signature" : [ ], - "operand" : { - "localId" : "208", - "dataType" : "{https://github.com/cqframework/cql-execution/simple}Patient", - "type" : "Retrieve", - "include" : [ ], - "codeFilter" : [ ], - "dateFilter" : [ ], - "otherFilter" : [ ] - } - } - }, { - "localId" : "214", + } + } ], + "expression" : { + "type" : "Null", + "localId" : "215", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } + }, { + "localId" : "218", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "name" : "One", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "218", + "s" : [ { + "r" : "219", + "value" : [ "", "define ", "One", ": ", "1" ] + } ] + } + } ], + "expression" : { + "type" : "Literal", + "localId" : "219", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + } + }, { + "localId" : "222", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "NullIsNull", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "222", + "s" : [ { + "value" : [ "", "define ", "NullIsNull", ": " ] + }, { + "r" : "224", + "s" : [ { + "r" : "223", + "value" : [ "null", " is null" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "IsNull", + "localId" : "224", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "225", + "name" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } ], + "operand" : { + "type" : "Null", + "localId" : "223", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } + } + }, { + "localId" : "228", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "NullVarIsNull", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "228", + "s" : [ { + "value" : [ "", "define ", "NullVarIsNull", ": " ] + }, { + "r" : "230", + "s" : [ { + "r" : "229", + "s" : [ { + "value" : [ "Nil" ] + } ] + }, { + "value" : [ " is null" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "IsNull", + "localId" : "230", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "231", + "name" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } ], + "operand" : { + "type" : "ExpressionRef", + "localId" : "229", "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", "name" : "Nil", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "214", - "s" : [ { - "r" : "215", - "value" : [ "","define ","Nil",": ","null" ] - } ] - } - } ], - "expression" : { - "localId" : "215", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - } - }, { - "localId" : "218", + "annotation" : [ ] + } + } + }, { + "localId" : "234", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "StringIsNull", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "234", + "s" : [ { + "value" : [ "", "define ", "StringIsNull", ": " ] + }, { + "r" : "237", + "s" : [ { + "r" : "235", + "s" : [ { + "value" : [ "''" ] + } ] + }, { + "value" : [ " is null" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "IsNull", + "localId" : "237", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "238", + "name" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } ], + "operand" : { + "type" : "Literal", + "localId" : "235", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "", + "annotation" : [ ] + } + } + }, { + "localId" : "241", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "NonNullVarIsNull", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "241", + "s" : [ { + "value" : [ "", "define ", "NonNullVarIsNull", ": " ] + }, { + "r" : "243", + "s" : [ { + "r" : "242", + "s" : [ { + "value" : [ "One" ] + } ] + }, { + "value" : [ " is null" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "IsNull", + "localId" : "243", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "244", + "name" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } ], + "operand" : { + "type" : "ExpressionRef", + "localId" : "242", "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", "name" : "One", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "218", - "s" : [ { - "r" : "219", - "value" : [ "","define ","One",": ","1" ] - } ] - } - } ], - "expression" : { - "localId" : "219", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - } - }, { - "localId" : "222", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "NullIsNull", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "222", - "s" : [ { - "value" : [ "","define ","NullIsNull",": " ] - }, { - "r" : "224", - "s" : [ { - "r" : "223", - "value" : [ "null"," is null" ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "224", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "IsNull", - "signature" : [ { - "localId" : "225", - "name" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "223", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - } - } - }, { - "localId" : "228", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "NullVarIsNull", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "228", - "s" : [ { - "value" : [ "","define ","NullVarIsNull",": " ] - }, { - "r" : "230", - "s" : [ { - "r" : "229", - "s" : [ { - "value" : [ "Nil" ] - } ] - }, { - "value" : [ " is null" ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "230", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "IsNull", - "signature" : [ { - "localId" : "231", - "name" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "229", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "name" : "Nil", - "type" : "ExpressionRef" - } - } - }, { - "localId" : "234", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "StringIsNull", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "234", - "s" : [ { - "value" : [ "","define ","StringIsNull",": " ] - }, { - "r" : "237", - "s" : [ { - "r" : "235", - "s" : [ { - "value" : [ "''" ] - } ] - }, { - "value" : [ " is null" ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "237", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "IsNull", - "signature" : [ { - "localId" : "238", - "name" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "235", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "", - "type" : "Literal" - } - } - }, { - "localId" : "241", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "NonNullVarIsNull", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "241", - "s" : [ { - "value" : [ "","define ","NonNullVarIsNull",": " ] - }, { - "r" : "243", - "s" : [ { - "r" : "242", - "s" : [ { - "value" : [ "One" ] - } ] - }, { - "value" : [ " is null" ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "243", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "IsNull", - "signature" : [ { - "localId" : "244", - "name" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "242", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "name" : "One", - "type" : "ExpressionRef" - } - } - } ] - } - } + "annotation" : [ ] + } + } + } ] + } + } } /* Coalesce @@ -433,989 +469,1134 @@ define UnionAsList: Coalesce(ListA union ListWithNull) */ module.exports['Coalesce'] = { - "library" : { - "localId" : "0", - "annotation" : [ { - "translatorVersion" : "3.27.0", - "translatorOptions" : "EnableDateRangeOptimization,EnableAnnotations,EnableResultTypes", - "signatureLevel" : "All", - "type" : "CqlToElmInfo" + "library" : { + "localId" : "0", + "annotation" : [ { + "type" : "CqlToElmInfo", + "translatorVersion" : "4.2.0", + "translatorOptions" : "EnableDateRangeOptimization,EnableAnnotations,EnableResultTypes", + "signatureLevel" : "All" + }, { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "373", + "s" : [ { + "value" : [ "", "library TestSnippet version '1'" ] + } ] + } + } ], + "identifier" : { + "id" : "TestSnippet", + "version" : "1" + }, + "schemaIdentifier" : { + "id" : "urn:hl7-org:elm", + "version" : "r1" + }, + "usings" : { + "def" : [ { + "localId" : "1", + "localIdentifier" : "System", + "uri" : "urn:hl7-org:elm-types:r1", + "annotation" : [ ] }, { - "type" : "Annotation", - "s" : { - "r" : "373", + "localId" : "206", + "localIdentifier" : "Simple", + "uri" : "https://github.com/cqframework/cql-execution/simple", + "version" : "1.0.0", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "206", "s" : [ { - "value" : [ "","library TestSnippet version '1'" ] + "value" : [ "", "using " ] + }, { + "s" : [ { + "value" : [ "Simple" ] + } ] + }, { + "value" : [ " version '1.0.0'" ] } ] - } - } ], - "identifier" : { - "id" : "TestSnippet", - "version" : "1" - }, - "schemaIdentifier" : { - "id" : "urn:hl7-org:elm", - "version" : "r1" - }, - "usings" : { - "def" : [ { - "localId" : "1", - "localIdentifier" : "System", - "uri" : "urn:hl7-org:elm-types:r1" - }, { - "localId" : "206", - "localIdentifier" : "Simple", - "uri" : "https://github.com/cqframework/cql-execution/simple", - "version" : "1.0.0", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "206", - "s" : [ { - "value" : [ "","using " ] - }, { - "s" : [ { - "value" : [ "Simple" ] - } ] - }, { - "value" : [ " version '1.0.0'" ] - } ] - } + } + } ] + } ] + }, + "contexts" : { + "def" : [ { + "localId" : "211", + "name" : "Patient", + "annotation" : [ ] + } ] + }, + "statements" : { + "def" : [ { + "localId" : "209", + "name" : "Patient", + "context" : "Patient", + "annotation" : [ ], + "expression" : { + "type" : "SingletonFrom", + "localId" : "210", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Retrieve", + "localId" : "208", + "dataType" : "{https://github.com/cqframework/cql-execution/simple}Patient", + "annotation" : [ ], + "include" : [ ], + "codeFilter" : [ ], + "dateFilter" : [ ], + "otherFilter" : [ ] + } + } + }, { + "localId" : "214", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "name" : "NullNullHelloNullWorld", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "214", + "s" : [ { + "value" : [ "", "define ", "NullNullHelloNullWorld", ": " ] + }, { + "r" : "229", + "s" : [ { + "r" : "215", + "value" : [ "Coalesce", "(", "null", ", ", "null", ", " ] + }, { + "r" : "217", + "s" : [ { + "value" : [ "'Hello'" ] + } ] + }, { + "r" : "219", + "value" : [ ", ", "null", ", " ] + }, { + "r" : "220", + "s" : [ { + "value" : [ "'World'" ] + } ] + }, { + "value" : [ ")" ] + } ] } ] - } ] - }, - "contexts" : { - "def" : [ { - "localId" : "211", - "name" : "Patient" - } ] - }, - "statements" : { - "def" : [ { - "localId" : "209", - "name" : "Patient", - "context" : "Patient", - "expression" : { - "localId" : "210", - "type" : "SingletonFrom", - "signature" : [ ], - "operand" : { - "localId" : "208", - "dataType" : "{https://github.com/cqframework/cql-execution/simple}Patient", - "type" : "Retrieve", - "include" : [ ], - "codeFilter" : [ ], - "dateFilter" : [ ], - "otherFilter" : [ ] - } - } - }, { - "localId" : "214", + } + } ], + "expression" : { + "type" : "Coalesce", + "localId" : "229", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "230", + "name" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "231", + "name" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "232", + "name" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "233", + "name" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "234", + "name" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "Null", + "localId" : "215", "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "name" : "NullNullHelloNullWorld", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "214", - "s" : [ { - "value" : [ "","define ","NullNullHelloNullWorld",": " ] - }, { - "r" : "229", - "s" : [ { - "r" : "215", - "value" : [ "Coalesce","(","null",", ","null",", " ] - }, { - "r" : "217", - "s" : [ { - "value" : [ "'Hello'" ] - } ] - }, { - "r" : "219", - "value" : [ ", ","null",", " ] - }, { - "r" : "220", - "s" : [ { - "value" : [ "'World'" ] - } ] - }, { - "value" : [ ")" ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "229", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Coalesce", - "signature" : [ { - "localId" : "230", - "name" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "231", - "name" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "232", - "name" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "233", - "name" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "234", - "name" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "215", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - }, { - "localId" : "216", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - }, { - "localId" : "217", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "Hello", - "type" : "Literal" - }, { - "localId" : "219", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - }, { - "localId" : "220", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "World", - "type" : "Literal" - } ] + "annotation" : [ ] + }, { + "type" : "Null", + "localId" : "216", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "217", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "Hello", + "annotation" : [ ] + }, { + "type" : "Null", + "localId" : "219", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "220", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "World", + "annotation" : [ ] + } ] + } + }, { + "localId" : "237", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "name" : "FooNullNullBar", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "237", + "s" : [ { + "value" : [ "", "define ", "FooNullNullBar", ": " ] + }, { + "r" : "252", + "s" : [ { + "value" : [ "Coalesce", "(" ] + }, { + "r" : "238", + "s" : [ { + "value" : [ "'Foo'" ] + } ] + }, { + "r" : "240", + "value" : [ ", ", "null", ", ", "null", ", " ] + }, { + "r" : "242", + "s" : [ { + "value" : [ "'Bar'" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Coalesce", + "localId" : "252", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "255", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "256", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "257", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "258", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "Literal", + "localId" : "238", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "Foo", + "annotation" : [ ] + }, { + "type" : "As", + "localId" : "253", + "asType" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Null", + "localId" : "240", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } + }, { + "type" : "As", + "localId" : "254", + "asType" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Null", + "localId" : "241", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] } - }, { - "localId" : "237", + }, { + "type" : "Literal", + "localId" : "242", "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "name" : "FooNullNullBar", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "237", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "Bar", + "annotation" : [ ] + } ] + } + }, { + "localId" : "261", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "name" : "AllNull", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "261", + "s" : [ { + "value" : [ "", "define ", "AllNull", ": " ] + }, { + "r" : "270", + "s" : [ { + "r" : "262", + "value" : [ "Coalesce", "(", "null", ", ", "null", ", ", "null", ")" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Coalesce", + "localId" : "270", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "271", + "name" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "272", + "name" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "273", + "name" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "Null", + "localId" : "262", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + }, { + "type" : "Null", + "localId" : "263", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + }, { + "type" : "Null", + "localId" : "264", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } ] + } + }, { + "localId" : "276", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "name" : "ListArgStartsWithNull", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "276", + "s" : [ { + "value" : [ "", "define ", "ListArgStartsWithNull", ": " ] + }, { + "r" : "294", + "s" : [ { + "value" : [ "Coalesce", "(" ] + }, { + "r" : "277", + "s" : [ { + "r" : "278", + "value" : [ "List{", "null", ", ", "null", ", " ] + }, { + "r" : "280", "s" : [ { - "value" : [ "","define ","FooNullNullBar",": " ] - }, { - "r" : "252", - "s" : [ { - "value" : [ "Coalesce","(" ] - }, { - "r" : "238", - "s" : [ { - "value" : [ "'Foo'" ] - } ] - }, { - "r" : "240", - "value" : [ ", ","null",", ","null",", " ] - }, { - "r" : "242", - "s" : [ { - "value" : [ "'Bar'" ] - } ] - }, { - "value" : [ ")" ] - } ] + "value" : [ "'One'" ] } ] - } - } ], - "expression" : { - "localId" : "252", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "type" : "Coalesce", - "signature" : [ { - "localId" : "255", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "256", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "257", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "258", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "238", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "Foo", - "type" : "Literal" - }, { - "localId" : "253", - "asType" : "{urn:hl7-org:elm-types:r1}String", - "type" : "As", - "signature" : [ ], - "operand" : { - "localId" : "240", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - } - }, { - "localId" : "254", - "asType" : "{urn:hl7-org:elm-types:r1}String", - "type" : "As", - "signature" : [ ], - "operand" : { - "localId" : "241", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - } - }, { - "localId" : "242", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "Bar", - "type" : "Literal" - } ] - } - }, { - "localId" : "261", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "name" : "AllNull", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "261", + }, { + "r" : "282", + "value" : [ ", ", "null", ", " ] + }, { + "r" : "283", "s" : [ { - "value" : [ "","define ","AllNull",": " ] - }, { - "r" : "270", - "s" : [ { - "r" : "262", - "value" : [ "Coalesce","(","null",", ","null",", ","null",")" ] - } ] + "value" : [ "'Two'" ] } ] - } - } ], - "expression" : { - "localId" : "270", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Coalesce", - "signature" : [ { - "localId" : "271", - "name" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "272", - "name" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "273", - "name" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "262", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - }, { - "localId" : "263", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - }, { - "localId" : "264", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - } ] + }, { + "value" : [ "}" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Coalesce", + "localId" : "294", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ], + "signature" : [ { + "type" : "ListTypeSpecifier", + "localId" : "295", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "296", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] } - }, { - "localId" : "276", + } ], + "operand" : [ { + "type" : "List", + "localId" : "277", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "288", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "289", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } + }, + "element" : [ { + "type" : "As", + "localId" : "285", + "asType" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Null", + "localId" : "278", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } + }, { + "type" : "As", + "localId" : "286", + "asType" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Null", + "localId" : "279", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } + }, { + "type" : "Literal", + "localId" : "280", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "One", + "annotation" : [ ] + }, { + "type" : "As", + "localId" : "287", + "asType" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Null", + "localId" : "282", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } + }, { + "type" : "Literal", + "localId" : "283", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "Two", + "annotation" : [ ] + } ] + } ] + } + }, { + "localId" : "299", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "name" : "ListArgAllNull", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "299", + "s" : [ { + "value" : [ "", "define ", "ListArgAllNull", ": " ] + }, { + "r" : "311", + "s" : [ { + "value" : [ "Coalesce", "(" ] + }, { + "r" : "300", + "s" : [ { + "r" : "301", + "value" : [ "List{", "null", ", ", "null", ", ", "null", ", ", "null", "}" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Coalesce", + "localId" : "311", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ], + "signature" : [ { + "type" : "ListTypeSpecifier", + "localId" : "312", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "313", + "name" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "List", + "localId" : "300", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "305", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "306", + "name" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } + }, + "element" : [ { + "type" : "Null", + "localId" : "301", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + }, { + "type" : "Null", + "localId" : "302", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + }, { + "type" : "Null", + "localId" : "303", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + }, { + "type" : "Null", + "localId" : "304", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } ] + } ] + } + }, { + "localId" : "316", + "name" : "ListWithNull", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "316", + "s" : [ { + "value" : [ "", "define ", "ListWithNull", ": " ] + }, { + "r" : "317", + "s" : [ { + "r" : "318", + "value" : [ "List{", "null", ", ", "null", ", " ] + }, { + "r" : "320", + "s" : [ { + "value" : [ "'One'" ] + } ] + }, { + "r" : "322", + "value" : [ ", ", "null", ", " ] + }, { + "r" : "323", + "s" : [ { + "value" : [ "'Two'" ] + } ] + }, { + "value" : [ "}" ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "330", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "331", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } + }, + "expression" : { + "type" : "List", + "localId" : "317", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "328", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "329", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } + }, + "element" : [ { + "type" : "As", + "localId" : "325", + "asType" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Null", + "localId" : "318", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } + }, { + "type" : "As", + "localId" : "326", + "asType" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Null", + "localId" : "319", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } + }, { + "type" : "Literal", + "localId" : "320", "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "name" : "ListArgStartsWithNull", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "276", - "s" : [ { - "value" : [ "","define ","ListArgStartsWithNull",": " ] - }, { - "r" : "294", - "s" : [ { - "value" : [ "Coalesce","(" ] - }, { - "r" : "277", - "s" : [ { - "r" : "278", - "value" : [ "List{","null",", ","null",", " ] - }, { - "r" : "280", - "s" : [ { - "value" : [ "'One'" ] - } ] - }, { - "r" : "282", - "value" : [ ", ","null",", " ] - }, { - "r" : "283", - "s" : [ { - "value" : [ "'Two'" ] - } ] - }, { - "value" : [ "}" ] - } ] - }, { - "value" : [ ")" ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "294", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "type" : "Coalesce", - "signature" : [ { - "localId" : "295", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "296", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "277", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "288", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "289", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } - }, - "element" : [ { - "localId" : "285", - "asType" : "{urn:hl7-org:elm-types:r1}String", - "type" : "As", - "signature" : [ ], - "operand" : { - "localId" : "278", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - } - }, { - "localId" : "286", - "asType" : "{urn:hl7-org:elm-types:r1}String", - "type" : "As", - "signature" : [ ], - "operand" : { - "localId" : "279", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - } - }, { - "localId" : "280", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "One", - "type" : "Literal" - }, { - "localId" : "287", - "asType" : "{urn:hl7-org:elm-types:r1}String", - "type" : "As", - "signature" : [ ], - "operand" : { - "localId" : "282", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - } - }, { - "localId" : "283", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "Two", - "type" : "Literal" - } ] - } ] + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "One", + "annotation" : [ ] + }, { + "type" : "As", + "localId" : "327", + "asType" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Null", + "localId" : "322", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] } - }, { - "localId" : "299", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "name" : "ListArgAllNull", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "299", - "s" : [ { - "value" : [ "","define ","ListArgAllNull",": " ] - }, { - "r" : "311", - "s" : [ { - "value" : [ "Coalesce","(" ] - }, { - "r" : "300", - "s" : [ { - "r" : "301", - "value" : [ "List{","null",", ","null",", ","null",", ","null","}" ] - } ] - }, { - "value" : [ ")" ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "311", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Coalesce", - "signature" : [ { - "localId" : "312", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "313", - "name" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "300", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "305", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "306", - "name" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "NamedTypeSpecifier" - } - }, - "element" : [ { - "localId" : "301", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - }, { - "localId" : "302", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - }, { - "localId" : "303", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - }, { - "localId" : "304", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - } ] - } ] + }, { + "type" : "Literal", + "localId" : "323", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "Two", + "annotation" : [ ] + } ] + } + }, { + "localId" : "334", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "name" : "ListExpressionRef", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "334", + "s" : [ { + "value" : [ "", "define ", "ListExpressionRef", ": " ] + }, { + "r" : "342", + "s" : [ { + "value" : [ "Coalesce", "(" ] + }, { + "r" : "335", + "s" : [ { + "value" : [ "ListWithNull" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Coalesce", + "localId" : "342", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ], + "signature" : [ { + "type" : "ListTypeSpecifier", + "localId" : "343", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "344", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] } - }, { - "localId" : "316", + } ], + "operand" : [ { + "type" : "ExpressionRef", + "localId" : "335", "name" : "ListWithNull", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "316", - "s" : [ { - "value" : [ "","define ","ListWithNull",": " ] - }, { - "r" : "317", - "s" : [ { - "r" : "318", - "value" : [ "List{","null",", ","null",", " ] - }, { - "r" : "320", - "s" : [ { - "value" : [ "'One'" ] - } ] - }, { - "r" : "322", - "value" : [ ", ","null",", " ] - }, { - "r" : "323", - "s" : [ { - "value" : [ "'Two'" ] - } ] - }, { - "value" : [ "}" ] - } ] - } ] - } - } ], + "annotation" : [ ], "resultTypeSpecifier" : { - "localId" : "330", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "331", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } + "type" : "ListTypeSpecifier", + "localId" : "336", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "337", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } + } + } ] + } + }, { + "localId" : "347", + "resultTypeName" : "{https://github.com/cqframework/cql-execution/simple}Encounter", + "name" : "RetrieveAsList", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "347", + "s" : [ { + "value" : [ "", "define ", "RetrieveAsList", ": " ] + }, { + "r" : "355", + "s" : [ { + "value" : [ "Coalesce", "(" ] + }, { + "r" : "348", + "s" : [ { + "value" : [ "[", "Encounter", "]" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Coalesce", + "localId" : "355", + "resultTypeName" : "{https://github.com/cqframework/cql-execution/simple}Encounter", + "annotation" : [ ], + "signature" : [ { + "type" : "ListTypeSpecifier", + "localId" : "356", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "357", + "name" : "{https://github.com/cqframework/cql-execution/simple}Encounter", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "Retrieve", + "localId" : "348", + "dataType" : "{https://github.com/cqframework/cql-execution/simple}Encounter", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "349", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "350", + "name" : "{https://github.com/cqframework/cql-execution/simple}Encounter", + "annotation" : [ ] + } }, - "expression" : { - "localId" : "317", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "328", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "329", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } - }, - "element" : [ { - "localId" : "325", - "asType" : "{urn:hl7-org:elm-types:r1}String", - "type" : "As", - "signature" : [ ], - "operand" : { - "localId" : "318", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - } - }, { - "localId" : "326", - "asType" : "{urn:hl7-org:elm-types:r1}String", - "type" : "As", - "signature" : [ ], - "operand" : { - "localId" : "319", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - } - }, { - "localId" : "320", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "One", - "type" : "Literal" - }, { - "localId" : "327", - "asType" : "{urn:hl7-org:elm-types:r1}String", - "type" : "As", - "signature" : [ ], - "operand" : { - "localId" : "322", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - } - }, { - "localId" : "323", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "Two", - "type" : "Literal" - } ] + "include" : [ ], + "codeFilter" : [ ], + "dateFilter" : [ ], + "otherFilter" : [ ] + } ] + } + }, { + "localId" : "360", + "name" : "ListA", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "360", + "s" : [ { + "value" : [ "", "define ", "ListA", ": " ] + }, { + "r" : "361", + "s" : [ { + "r" : "362", + "value" : [ "List{", "null", ", ", "null", ", ", "3", "}" ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "369", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "370", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "expression" : { + "type" : "List", + "localId" : "361", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "367", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "368", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] } - }, { - "localId" : "334", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "name" : "ListExpressionRef", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "334", - "s" : [ { - "value" : [ "","define ","ListExpressionRef",": " ] - }, { - "r" : "342", - "s" : [ { - "value" : [ "Coalesce","(" ] - }, { - "r" : "335", - "s" : [ { - "value" : [ "ListWithNull" ] - } ] - }, { - "value" : [ ")" ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "342", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "type" : "Coalesce", - "signature" : [ { - "localId" : "343", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "344", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "335", - "name" : "ListWithNull", - "type" : "ExpressionRef", - "resultTypeSpecifier" : { - "localId" : "336", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "337", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } - } - } ] + }, + "element" : [ { + "type" : "As", + "localId" : "365", + "asType" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Null", + "localId" : "362", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] } - }, { - "localId" : "347", - "resultTypeName" : "{https://github.com/cqframework/cql-execution/simple}Encounter", - "name" : "RetrieveAsList", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "347", + }, { + "type" : "As", + "localId" : "366", + "asType" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Null", + "localId" : "363", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } + }, { + "type" : "Literal", + "localId" : "364", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + } ] + } + }, { + "localId" : "373", + "name" : "UnionAsList", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "373", + "s" : [ { + "value" : [ "", "define ", "UnionAsList", ": " ] + }, { + "r" : "409", + "s" : [ { + "value" : [ "Coalesce", "(" ] + }, { + "r" : "390", + "s" : [ { + "r" : "374", "s" : [ { - "value" : [ "","define ","RetrieveAsList",": " ] - }, { - "r" : "355", - "s" : [ { - "value" : [ "Coalesce","(" ] - }, { - "r" : "348", - "s" : [ { - "value" : [ "[","Encounter","]" ] - } ] - }, { - "value" : [ ")" ] - } ] + "value" : [ "ListA" ] } ] - } - } ], - "expression" : { - "localId" : "355", - "resultTypeName" : "{https://github.com/cqframework/cql-execution/simple}Encounter", - "type" : "Coalesce", - "signature" : [ { - "localId" : "356", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "357", - "name" : "{https://github.com/cqframework/cql-execution/simple}Encounter", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "348", - "dataType" : "{https://github.com/cqframework/cql-execution/simple}Encounter", - "type" : "Retrieve", - "resultTypeSpecifier" : { - "localId" : "349", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "350", - "name" : "{https://github.com/cqframework/cql-execution/simple}Encounter", - "type" : "NamedTypeSpecifier" - } - }, - "include" : [ ], - "codeFilter" : [ ], - "dateFilter" : [ ], - "otherFilter" : [ ] - } ] - } - }, { - "localId" : "360", - "name" : "ListA", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "360", + }, { + "value" : [ " union " ] + }, { + "r" : "377", "s" : [ { - "value" : [ "","define ","ListA",": " ] - }, { - "r" : "361", - "s" : [ { - "r" : "362", - "value" : [ "List{","null",", ","null",", ","3","}" ] - } ] + "value" : [ "ListWithNull" ] } ] - } - } ], + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "ChoiceTypeSpecifier", + "localId" : "417", + "annotation" : [ ], + "choice" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "418", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "419", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } ] + }, + "expression" : { + "type" : "Coalesce", + "localId" : "409", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ChoiceTypeSpecifier", + "localId" : "414", + "annotation" : [ ], + "choice" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "415", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "416", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } ] + }, + "signature" : [ { + "type" : "ListTypeSpecifier", + "localId" : "410", + "annotation" : [ ], + "elementType" : { + "type" : "ChoiceTypeSpecifier", + "localId" : "411", + "annotation" : [ ], + "choice" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "412", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "413", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } ] + } + } ], + "operand" : [ { + "type" : "Union", + "localId" : "390", + "annotation" : [ ], "resultTypeSpecifier" : { - "localId" : "369", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "370", + "type" : "ListTypeSpecifier", + "localId" : "399", + "annotation" : [ ], + "elementType" : { + "type" : "ChoiceTypeSpecifier", + "localId" : "400", + "annotation" : [ ], + "choice" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "401", "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "402", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } ] + } }, - "expression" : { - "localId" : "361", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "367", + "signature" : [ { + "type" : "ListTypeSpecifier", + "localId" : "391", + "annotation" : [ ], + "elementType" : { + "type" : "ChoiceTypeSpecifier", + "localId" : "392", + "annotation" : [ ], + "choice" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "393", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "394", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } ] + } + }, { + "type" : "ListTypeSpecifier", + "localId" : "395", + "annotation" : [ ], + "elementType" : { + "type" : "ChoiceTypeSpecifier", + "localId" : "396", + "annotation" : [ ], + "choice" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "397", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "398", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } ] + } + } ], + "operand" : [ { + "type" : "As", + "localId" : "380", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "ExpressionRef", + "localId" : "374", + "name" : "ListA", + "annotation" : [ ], + "resultTypeSpecifier" : { "type" : "ListTypeSpecifier", + "localId" : "375", + "annotation" : [ ], "elementType" : { - "localId" : "368", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" + "type" : "NamedTypeSpecifier", + "localId" : "376", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] } - }, - "element" : [ { - "localId" : "365", - "asType" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "As", - "signature" : [ ], - "operand" : { - "localId" : "362", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - } - }, { - "localId" : "366", - "asType" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "As", - "signature" : [ ], - "operand" : { - "localId" : "363", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - } - }, { - "localId" : "364", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - } ] - } - }, { - "localId" : "373", - "name" : "UnionAsList", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "373", - "s" : [ { - "value" : [ "","define ","UnionAsList",": " ] - }, { - "r" : "409", - "s" : [ { - "value" : [ "Coalesce","(" ] - }, { - "r" : "390", - "s" : [ { - "r" : "374", - "s" : [ { - "value" : [ "ListA" ] - } ] - }, { - "value" : [ " union " ] - }, { - "r" : "377", - "s" : [ { - "value" : [ "ListWithNull" ] - } ] - } ] - }, { - "value" : [ ")" ] - } ] - } ] - } - } ], - "resultTypeSpecifier" : { - "localId" : "417", - "type" : "ChoiceTypeSpecifier", - "choice" : [ { - "localId" : "418", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "419", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } ] - }, - "expression" : { - "localId" : "409", - "type" : "Coalesce", - "resultTypeSpecifier" : { - "localId" : "414", + } + }, + "asTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "381", + "annotation" : [ ], + "elementType" : { "type" : "ChoiceTypeSpecifier", + "localId" : "382", + "annotation" : [ ], "choice" : [ { - "localId" : "415", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" + "type" : "NamedTypeSpecifier", + "localId" : "383", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] }, { - "localId" : "416", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" + "type" : "NamedTypeSpecifier", + "localId" : "384", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] } ] - }, - "signature" : [ { - "localId" : "410", + } + } + }, { + "type" : "As", + "localId" : "385", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "ExpressionRef", + "localId" : "377", + "name" : "ListWithNull", + "annotation" : [ ], + "resultTypeSpecifier" : { "type" : "ListTypeSpecifier", + "localId" : "378", + "annotation" : [ ], "elementType" : { - "localId" : "411", - "type" : "ChoiceTypeSpecifier", - "choice" : [ { - "localId" : "412", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "413", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } ] + "type" : "NamedTypeSpecifier", + "localId" : "379", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] } - } ], - "operand" : [ { - "localId" : "390", - "type" : "Union", - "resultTypeSpecifier" : { - "localId" : "399", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "400", - "type" : "ChoiceTypeSpecifier", - "choice" : [ { - "localId" : "401", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "402", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } ] - } - }, - "signature" : [ { - "localId" : "391", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "392", - "type" : "ChoiceTypeSpecifier", - "choice" : [ { - "localId" : "393", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "394", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } ] - } - }, { - "localId" : "395", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "396", - "type" : "ChoiceTypeSpecifier", - "choice" : [ { - "localId" : "397", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "398", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } ] - } - } ], - "operand" : [ { - "localId" : "380", - "type" : "As", - "signature" : [ ], - "operand" : { - "localId" : "374", - "name" : "ListA", - "type" : "ExpressionRef", - "resultTypeSpecifier" : { - "localId" : "375", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "376", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } - }, - "asTypeSpecifier" : { - "localId" : "381", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "382", - "type" : "ChoiceTypeSpecifier", - "choice" : [ { - "localId" : "383", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "384", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } ] - } - } + } + }, + "asTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "386", + "annotation" : [ ], + "elementType" : { + "type" : "ChoiceTypeSpecifier", + "localId" : "387", + "annotation" : [ ], + "choice" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "388", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] }, { - "localId" : "385", - "type" : "As", - "signature" : [ ], - "operand" : { - "localId" : "377", - "name" : "ListWithNull", - "type" : "ExpressionRef", - "resultTypeSpecifier" : { - "localId" : "378", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "379", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } - } - }, - "asTypeSpecifier" : { - "localId" : "386", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "387", - "type" : "ChoiceTypeSpecifier", - "choice" : [ { - "localId" : "388", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "389", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } ] - } - } + "type" : "NamedTypeSpecifier", + "localId" : "389", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] } ] - } ] - } - } ] - } - } + } + } + } ] + } ] + } + } ] + } + } } diff --git a/test/elm/parameters/data.js b/test/elm/parameters/data.js index 9e3bd6e8..f4956288 100644 --- a/test/elm/parameters/data.js +++ b/test/elm/parameters/data.js @@ -20,555 +20,631 @@ define foo: 'bar' */ module.exports['ParameterDef'] = { - "library" : { - "localId" : "0", - "annotation" : [ { - "translatorVersion" : "3.27.0", - "translatorOptions" : "EnableDateRangeOptimization,EnableAnnotations,EnableResultTypes", - "signatureLevel" : "All", - "type" : "CqlToElmInfo" + "library" : { + "localId" : "0", + "annotation" : [ { + "type" : "CqlToElmInfo", + "translatorVersion" : "4.2.0", + "translatorOptions" : "EnableDateRangeOptimization,EnableAnnotations,EnableResultTypes", + "signatureLevel" : "All" + }, { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "285", + "s" : [ { + "value" : [ "", "library TestSnippet version '1'" ] + } ] + } + } ], + "identifier" : { + "id" : "TestSnippet", + "version" : "1" + }, + "schemaIdentifier" : { + "id" : "urn:hl7-org:elm", + "version" : "r1" + }, + "usings" : { + "def" : [ { + "localId" : "1", + "localIdentifier" : "System", + "uri" : "urn:hl7-org:elm-types:r1", + "annotation" : [ ] }, { - "type" : "Annotation", - "s" : { - "r" : "285", + "localId" : "206", + "localIdentifier" : "Simple", + "uri" : "https://github.com/cqframework/cql-execution/simple", + "version" : "1.0.0", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "206", "s" : [ { - "value" : [ "","library TestSnippet version '1'" ] + "value" : [ "", "using " ] + }, { + "s" : [ { + "value" : [ "Simple" ] + } ] + }, { + "value" : [ " version '1.0.0'" ] } ] - } - } ], - "identifier" : { - "id" : "TestSnippet", - "version" : "1" - }, - "schemaIdentifier" : { - "id" : "urn:hl7-org:elm", - "version" : "r1" - }, - "usings" : { - "def" : [ { - "localId" : "1", - "localIdentifier" : "System", - "uri" : "urn:hl7-org:elm-types:r1" - }, { - "localId" : "206", - "localIdentifier" : "Simple", - "uri" : "https://github.com/cqframework/cql-execution/simple", - "version" : "1.0.0", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "206", - "s" : [ { - "value" : [ "","using " ] - }, { - "s" : [ { - "value" : [ "Simple" ] - } ] - }, { - "value" : [ " version '1.0.0'" ] - } ] - } + } + } ] + } ] + }, + "parameters" : { + "def" : [ { + "localId" : "208", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "name" : "MeasureYear", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "208", + "s" : [ { + "r" : "209", + "value" : [ "", "parameter ", "MeasureYear", " default ", "2012" ] } ] - } ] - }, - "parameters" : { - "def" : [ { - "localId" : "208", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "name" : "MeasureYear", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "208", + } + } ], + "default" : { + "type" : "Literal", + "localId" : "209", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + } + }, { + "localId" : "211", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "name" : "IntParameter", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "211", + "s" : [ { + "value" : [ "", "parameter ", "IntParameter", " " ] + }, { + "r" : "212", + "s" : [ { + "value" : [ "Integer" ] + } ] + } ] + } + } ], + "parameterTypeSpecifier" : { + "type" : "NamedTypeSpecifier", + "localId" : "212", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, { + "localId" : "214", + "name" : "ListParameter", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "214", + "s" : [ { + "value" : [ "", "parameter ", "ListParameter", " " ] + }, { + "r" : "215", + "s" : [ { + "value" : [ "List<" ] + }, { + "r" : "216", + "s" : [ { + "value" : [ "String" ] + } ] + }, { + "value" : [ ">" ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "220", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "221", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } + }, + "parameterTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "215", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "217", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "218", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } + }, + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "216", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } + } + }, { + "localId" : "222", + "name" : "TupleParameter", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "222", + "s" : [ { + "value" : [ "", "parameter ", "TupleParameter", " " ] + }, { + "r" : "223", + "s" : [ { + "value" : [ "Tuple{" ] + }, { + "r" : "224", + "s" : [ { + "value" : [ "a", " " ] + }, { + "r" : "225", "s" : [ { - "r" : "209", - "value" : [ "","parameter ","MeasureYear"," default ","2012" ] + "value" : [ "Integer" ] } ] - } - } ], - "default" : { - "localId" : "209", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - } - }, { - "localId" : "211", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "name" : "IntParameter", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "211", + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "226", + "s" : [ { + "value" : [ "b", " " ] + }, { + "r" : "227", "s" : [ { - "value" : [ "","parameter ","IntParameter"," " ] - }, { - "r" : "212", - "s" : [ { - "value" : [ "Integer" ] - } ] + "value" : [ "String" ] } ] - } - } ], - "parameterTypeSpecifier" : { - "localId" : "212", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "214", - "name" : "ListParameter", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "214", + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "228", + "s" : [ { + "value" : [ "c", " " ] + }, { + "r" : "229", "s" : [ { - "value" : [ "","parameter ","ListParameter"," " ] - }, { - "r" : "215", - "s" : [ { - "value" : [ "List<" ] - }, { - "r" : "216", - "s" : [ { - "value" : [ "String" ] - } ] - }, { - "value" : [ ">" ] - } ] + "value" : [ "Boolean" ] } ] - } - } ], - "resultTypeSpecifier" : { - "localId" : "220", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "221", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } - }, - "parameterTypeSpecifier" : { - "localId" : "215", - "type" : "ListTypeSpecifier", - "resultTypeSpecifier" : { - "localId" : "217", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "218", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } - }, - "elementType" : { - "localId" : "216", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } - } - }, { - "localId" : "222", - "name" : "TupleParameter", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "222", + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "230", + "s" : [ { + "value" : [ "d", " " ] + }, { + "r" : "231", "s" : [ { - "value" : [ "","parameter ","TupleParameter"," " ] + "value" : [ "List<" ] }, { - "r" : "223", - "s" : [ { - "value" : [ "Tuple{" ] - }, { - "r" : "224", - "s" : [ { - "value" : [ "a"," " ] - }, { - "r" : "225", - "s" : [ { - "value" : [ "Integer" ] - } ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "226", - "s" : [ { - "value" : [ "b"," " ] - }, { - "r" : "227", - "s" : [ { - "value" : [ "String" ] - } ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "228", - "s" : [ { - "value" : [ "c"," " ] - }, { - "r" : "229", - "s" : [ { - "value" : [ "Boolean" ] - } ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "230", - "s" : [ { - "value" : [ "d"," " ] - }, { - "r" : "231", - "s" : [ { - "value" : [ "List<" ] - }, { - "r" : "232", - "s" : [ { - "value" : [ "Integer" ] - } ] - }, { - "value" : [ ">" ] - } ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "235", - "s" : [ { - "value" : [ "e"," " ] - }, { - "r" : "236", - "s" : [ { - "value" : [ "Tuple{ " ] - }, { - "r" : "237", - "s" : [ { - "value" : [ "f"," " ] - }, { - "r" : "238", - "s" : [ { - "value" : [ "String" ] - } ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "239", - "s" : [ { - "value" : [ "g"," " ] - }, { - "r" : "240", - "s" : [ { - "value" : [ "Boolean" ] - } ] - } ] - }, { - "value" : [ "}" ] - } ] - } ] - }, { - "value" : [ "}" ] - } ] + "r" : "232", + "s" : [ { + "value" : [ "Integer" ] + } ] + }, { + "value" : [ ">" ] } ] - } - } ], - "resultTypeSpecifier" : { - "localId" : "263", - "type" : "TupleTypeSpecifier", - "element" : [ { - "localId" : "264", - "name" : "a", - "elementType" : { - "localId" : "265", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "266", - "name" : "b", - "elementType" : { - "localId" : "267", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "268", - "name" : "c", - "elementType" : { - "localId" : "269", - "name" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "270", - "name" : "d", - "elementType" : { - "localId" : "271", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "272", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } - }, { - "localId" : "273", - "name" : "e", - "elementType" : { - "localId" : "274", - "type" : "TupleTypeSpecifier", - "element" : [ { - "localId" : "275", - "name" : "f", - "elementType" : { - "localId" : "276", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "277", - "name" : "g", - "elementType" : { - "localId" : "278", - "name" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "NamedTypeSpecifier" - } - } ] - } - } ] - }, - "parameterTypeSpecifier" : { - "localId" : "223", - "type" : "TupleTypeSpecifier", - "resultTypeSpecifier" : { - "localId" : "246", - "type" : "TupleTypeSpecifier", - "element" : [ { - "localId" : "247", - "name" : "a", - "elementType" : { - "localId" : "248", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "235", + "s" : [ { + "value" : [ "e", " " ] + }, { + "r" : "236", + "s" : [ { + "value" : [ "Tuple{ " ] }, { - "localId" : "249", - "name" : "b", - "elementType" : { - "localId" : "250", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } + "r" : "237", + "s" : [ { + "value" : [ "f", " " ] + }, { + "r" : "238", + "s" : [ { + "value" : [ "String" ] + } ] + } ] }, { - "localId" : "251", - "name" : "c", - "elementType" : { - "localId" : "252", - "name" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "NamedTypeSpecifier" - } + "value" : [ ", " ] }, { - "localId" : "253", - "name" : "d", - "elementType" : { - "localId" : "254", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "255", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } + "r" : "239", + "s" : [ { + "value" : [ "g", " " ] + }, { + "r" : "240", + "s" : [ { + "value" : [ "Boolean" ] + } ] + } ] }, { - "localId" : "256", - "name" : "e", - "elementType" : { - "localId" : "257", - "type" : "TupleTypeSpecifier", - "element" : [ { - "localId" : "258", - "name" : "f", - "elementType" : { - "localId" : "259", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "260", - "name" : "g", - "elementType" : { - "localId" : "261", - "name" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "NamedTypeSpecifier" - } - } ] - } + "value" : [ "}" ] } ] - }, - "element" : [ { - "localId" : "224", - "name" : "a", - "elementType" : { - "localId" : "225", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "226", - "name" : "b", + } ] + }, { + "value" : [ "}" ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "TupleTypeSpecifier", + "localId" : "263", + "annotation" : [ ], + "element" : [ { + "localId" : "264", + "name" : "a", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "265", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, { + "localId" : "266", + "name" : "b", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "267", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } + }, { + "localId" : "268", + "name" : "c", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "269", + "name" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ] + } + }, { + "localId" : "270", + "name" : "d", + "annotation" : [ ], + "elementType" : { + "type" : "ListTypeSpecifier", + "localId" : "271", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "272", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } + }, { + "localId" : "273", + "name" : "e", + "annotation" : [ ], + "elementType" : { + "type" : "TupleTypeSpecifier", + "localId" : "274", + "annotation" : [ ], + "element" : [ { + "localId" : "275", + "name" : "f", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "276", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } + }, { + "localId" : "277", + "name" : "g", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "278", + "name" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ] + } + } ] + } + } ] + }, + "parameterTypeSpecifier" : { + "type" : "TupleTypeSpecifier", + "localId" : "223", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "TupleTypeSpecifier", + "localId" : "246", + "annotation" : [ ], + "element" : [ { + "localId" : "247", + "name" : "a", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "248", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, { + "localId" : "249", + "name" : "b", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "250", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } + }, { + "localId" : "251", + "name" : "c", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "252", + "name" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ] + } + }, { + "localId" : "253", + "name" : "d", + "annotation" : [ ], + "elementType" : { + "type" : "ListTypeSpecifier", + "localId" : "254", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "255", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } + }, { + "localId" : "256", + "name" : "e", + "annotation" : [ ], + "elementType" : { + "type" : "TupleTypeSpecifier", + "localId" : "257", + "annotation" : [ ], + "element" : [ { + "localId" : "258", + "name" : "f", + "annotation" : [ ], "elementType" : { - "localId" : "227", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" + "type" : "NamedTypeSpecifier", + "localId" : "259", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] } - }, { - "localId" : "228", - "name" : "c", + }, { + "localId" : "260", + "name" : "g", + "annotation" : [ ], "elementType" : { - "localId" : "229", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "NamedTypeSpecifier" + "type" : "NamedTypeSpecifier", + "localId" : "261", + "name" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ] } - }, { - "localId" : "230", - "name" : "d", + } ] + } + } ] + }, + "element" : [ { + "localId" : "224", + "name" : "a", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "225", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, { + "localId" : "226", + "name" : "b", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "227", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } + }, { + "localId" : "228", + "name" : "c", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "229", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ] + } + }, { + "localId" : "230", + "name" : "d", + "annotation" : [ ], + "elementType" : { + "type" : "ListTypeSpecifier", + "localId" : "231", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "233", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "234", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "232", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } + }, { + "localId" : "235", + "name" : "e", + "annotation" : [ ], + "elementType" : { + "type" : "TupleTypeSpecifier", + "localId" : "236", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "TupleTypeSpecifier", + "localId" : "241", + "annotation" : [ ], + "element" : [ { + "localId" : "242", + "name" : "f", + "annotation" : [ ], "elementType" : { - "localId" : "231", - "type" : "ListTypeSpecifier", - "resultTypeSpecifier" : { - "localId" : "233", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "234", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "elementType" : { - "localId" : "232", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } + "type" : "NamedTypeSpecifier", + "localId" : "243", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] } - }, { - "localId" : "235", - "name" : "e", + }, { + "localId" : "244", + "name" : "g", + "annotation" : [ ], "elementType" : { - "localId" : "236", - "type" : "TupleTypeSpecifier", - "resultTypeSpecifier" : { - "localId" : "241", - "type" : "TupleTypeSpecifier", - "element" : [ { - "localId" : "242", - "name" : "f", - "elementType" : { - "localId" : "243", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "244", - "name" : "g", - "elementType" : { - "localId" : "245", - "name" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "NamedTypeSpecifier" - } - } ] - }, - "element" : [ { - "localId" : "237", - "name" : "f", - "elementType" : { - "localId" : "238", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "239", - "name" : "g", - "elementType" : { - "localId" : "240", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "NamedTypeSpecifier" - } - } ] + "type" : "NamedTypeSpecifier", + "localId" : "245", + "name" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ] } - } ] - } - } ] - }, - "contexts" : { - "def" : [ { - "localId" : "282", - "name" : "Patient" - } ] - }, - "statements" : { - "def" : [ { - "localId" : "280", - "name" : "Patient", - "context" : "Patient", - "expression" : { - "localId" : "281", - "type" : "SingletonFrom", - "signature" : [ ], - "operand" : { - "localId" : "279", - "dataType" : "{https://github.com/cqframework/cql-execution/simple}Patient", - "type" : "Retrieve", - "include" : [ ], - "codeFilter" : [ ], - "dateFilter" : [ ], - "otherFilter" : [ ] - } - } - }, { - "localId" : "285", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "name" : "foo", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "285", - "s" : [ { - "value" : [ "","define ","foo",": " ] - }, { - "r" : "286", - "s" : [ { - "value" : [ "'bar'" ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "286", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "bar", - "type" : "Literal" + } ] + }, + "element" : [ { + "localId" : "237", + "name" : "f", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "238", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } + }, { + "localId" : "239", + "name" : "g", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "240", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ] + } + } ] } - } ] - } - } + } ] + } + } ] + }, + "contexts" : { + "def" : [ { + "localId" : "282", + "name" : "Patient", + "annotation" : [ ] + } ] + }, + "statements" : { + "def" : [ { + "localId" : "280", + "name" : "Patient", + "context" : "Patient", + "annotation" : [ ], + "expression" : { + "type" : "SingletonFrom", + "localId" : "281", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Retrieve", + "localId" : "279", + "dataType" : "{https://github.com/cqframework/cql-execution/simple}Patient", + "annotation" : [ ], + "include" : [ ], + "codeFilter" : [ ], + "dateFilter" : [ ], + "otherFilter" : [ ] + } + } + }, { + "localId" : "285", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "name" : "foo", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "285", + "s" : [ { + "value" : [ "", "define ", "foo", ": " ] + }, { + "r" : "286", + "s" : [ { + "value" : [ "'bar'" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Literal", + "localId" : "286", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "bar", + "annotation" : [ ] + } + } ] + } + } } /* ParameterRef @@ -580,140 +656,151 @@ define Foo: FooP */ module.exports['ParameterRef'] = { - "library" : { - "localId" : "0", - "annotation" : [ { - "translatorVersion" : "3.27.0", - "translatorOptions" : "EnableDateRangeOptimization,EnableAnnotations,EnableResultTypes", - "signatureLevel" : "All", - "type" : "CqlToElmInfo" + "library" : { + "localId" : "0", + "annotation" : [ { + "type" : "CqlToElmInfo", + "translatorVersion" : "4.2.0", + "translatorOptions" : "EnableDateRangeOptimization,EnableAnnotations,EnableResultTypes", + "signatureLevel" : "All" + }, { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "218", + "s" : [ { + "value" : [ "", "library TestSnippet version '1'" ] + } ] + } + } ], + "identifier" : { + "id" : "TestSnippet", + "version" : "1" + }, + "schemaIdentifier" : { + "id" : "urn:hl7-org:elm", + "version" : "r1" + }, + "usings" : { + "def" : [ { + "localId" : "1", + "localIdentifier" : "System", + "uri" : "urn:hl7-org:elm-types:r1", + "annotation" : [ ] }, { - "type" : "Annotation", - "s" : { - "r" : "218", + "localId" : "206", + "localIdentifier" : "Simple", + "uri" : "https://github.com/cqframework/cql-execution/simple", + "version" : "1.0.0", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "206", "s" : [ { - "value" : [ "","library TestSnippet version '1'" ] + "value" : [ "", "using " ] + }, { + "s" : [ { + "value" : [ "Simple" ] + } ] + }, { + "value" : [ " version '1.0.0'" ] } ] - } - } ], - "identifier" : { - "id" : "TestSnippet", - "version" : "1" - }, - "schemaIdentifier" : { - "id" : "urn:hl7-org:elm", - "version" : "r1" - }, - "usings" : { - "def" : [ { - "localId" : "1", - "localIdentifier" : "System", - "uri" : "urn:hl7-org:elm-types:r1" - }, { - "localId" : "206", - "localIdentifier" : "Simple", - "uri" : "https://github.com/cqframework/cql-execution/simple", - "version" : "1.0.0", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "206", - "s" : [ { - "value" : [ "","using " ] - }, { - "s" : [ { - "value" : [ "Simple" ] - } ] - }, { - "value" : [ " version '1.0.0'" ] - } ] - } + } + } ] + } ] + }, + "parameters" : { + "def" : [ { + "localId" : "208", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "name" : "FooP", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "208", + "s" : [ { + "value" : [ "", "parameter ", "FooP", " default " ] + }, { + "r" : "209", + "s" : [ { + "value" : [ "'Bar'" ] + } ] } ] - } ] - }, - "parameters" : { - "def" : [ { - "localId" : "208", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "name" : "FooP", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "208", - "s" : [ { - "value" : [ "","parameter ","FooP"," default " ] - }, { - "r" : "209", - "s" : [ { - "value" : [ "'Bar'" ] - } ] - } ] - } - } ], - "default" : { - "localId" : "209", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "Bar", - "type" : "Literal" - } - } ] - }, - "contexts" : { - "def" : [ { - "localId" : "215", - "name" : "Patient" - } ] - }, - "statements" : { - "def" : [ { - "localId" : "213", - "name" : "Patient", - "context" : "Patient", - "expression" : { - "localId" : "214", - "type" : "SingletonFrom", - "signature" : [ ], - "operand" : { - "localId" : "212", - "dataType" : "{https://github.com/cqframework/cql-execution/simple}Patient", - "type" : "Retrieve", - "include" : [ ], - "codeFilter" : [ ], - "dateFilter" : [ ], - "otherFilter" : [ ] - } - } - }, { - "localId" : "218", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "name" : "Foo", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "218", - "s" : [ { - "value" : [ "","define ","Foo",": " ] - }, { - "r" : "219", - "s" : [ { - "value" : [ "FooP" ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "219", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "name" : "FooP", - "type" : "ParameterRef" - } - } ] - } - } + } + } ], + "default" : { + "type" : "Literal", + "localId" : "209", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "Bar", + "annotation" : [ ] + } + } ] + }, + "contexts" : { + "def" : [ { + "localId" : "215", + "name" : "Patient", + "annotation" : [ ] + } ] + }, + "statements" : { + "def" : [ { + "localId" : "213", + "name" : "Patient", + "context" : "Patient", + "annotation" : [ ], + "expression" : { + "type" : "SingletonFrom", + "localId" : "214", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Retrieve", + "localId" : "212", + "dataType" : "{https://github.com/cqframework/cql-execution/simple}Patient", + "annotation" : [ ], + "include" : [ ], + "codeFilter" : [ ], + "dateFilter" : [ ], + "otherFilter" : [ ] + } + } + }, { + "localId" : "218", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "name" : "Foo", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "218", + "s" : [ { + "value" : [ "", "define ", "Foo", ": " ] + }, { + "r" : "219", + "s" : [ { + "value" : [ "FooP" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "ParameterRef", + "localId" : "219", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "name" : "FooP", + "annotation" : [ ] + } + } ] + } + } } /* BooleanParameterTypes @@ -727,187 +814,202 @@ define Foo2: FooDP */ module.exports['BooleanParameterTypes'] = { - "library" : { - "localId" : "0", - "annotation" : [ { - "translatorVersion" : "3.27.0", - "translatorOptions" : "EnableDateRangeOptimization,EnableAnnotations,EnableResultTypes", - "signatureLevel" : "All", - "type" : "CqlToElmInfo" + "library" : { + "localId" : "0", + "annotation" : [ { + "type" : "CqlToElmInfo", + "translatorVersion" : "4.2.0", + "translatorOptions" : "EnableDateRangeOptimization,EnableAnnotations,EnableResultTypes", + "signatureLevel" : "All" + }, { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "224", + "s" : [ { + "value" : [ "", "library TestSnippet version '1'" ] + } ] + } + } ], + "identifier" : { + "id" : "TestSnippet", + "version" : "1" + }, + "schemaIdentifier" : { + "id" : "urn:hl7-org:elm", + "version" : "r1" + }, + "usings" : { + "def" : [ { + "localId" : "1", + "localIdentifier" : "System", + "uri" : "urn:hl7-org:elm-types:r1", + "annotation" : [ ] }, { - "type" : "Annotation", - "s" : { - "r" : "224", + "localId" : "206", + "localIdentifier" : "Simple", + "uri" : "https://github.com/cqframework/cql-execution/simple", + "version" : "1.0.0", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "206", "s" : [ { - "value" : [ "","library TestSnippet version '1'" ] + "value" : [ "", "using " ] + }, { + "s" : [ { + "value" : [ "Simple" ] + } ] + }, { + "value" : [ " version '1.0.0'" ] } ] - } - } ], - "identifier" : { - "id" : "TestSnippet", - "version" : "1" - }, - "schemaIdentifier" : { - "id" : "urn:hl7-org:elm", - "version" : "r1" - }, - "usings" : { - "def" : [ { - "localId" : "1", - "localIdentifier" : "System", - "uri" : "urn:hl7-org:elm-types:r1" - }, { - "localId" : "206", - "localIdentifier" : "Simple", - "uri" : "https://github.com/cqframework/cql-execution/simple", - "version" : "1.0.0", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "206", - "s" : [ { - "value" : [ "","using " ] - }, { - "s" : [ { - "value" : [ "Simple" ] - } ] - }, { - "value" : [ " version '1.0.0'" ] - } ] - } + } + } ] + } ] + }, + "parameters" : { + "def" : [ { + "localId" : "208", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "FooP", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "208", + "s" : [ { + "value" : [ "", "parameter ", "FooP", " " ] + }, { + "r" : "209", + "s" : [ { + "value" : [ "Boolean" ] + } ] } ] - } ] - }, - "parameters" : { - "def" : [ { - "localId" : "208", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "FooP", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "208", - "s" : [ { - "value" : [ "","parameter ","FooP"," " ] - }, { - "r" : "209", - "s" : [ { - "value" : [ "Boolean" ] - } ] - } ] - } - } ], - "parameterTypeSpecifier" : { - "localId" : "209", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "211", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "FooDP", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "211", - "s" : [ { - "r" : "212", - "value" : [ "","parameter ","FooDP"," default ","true" ] - } ] - } - } ], - "default" : { - "localId" : "212", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "true", - "type" : "Literal" - } - } ] - }, - "contexts" : { - "def" : [ { - "localId" : "217", - "name" : "Patient" - } ] - }, - "statements" : { - "def" : [ { - "localId" : "215", - "name" : "Patient", - "context" : "Patient", - "expression" : { - "localId" : "216", - "type" : "SingletonFrom", - "signature" : [ ], - "operand" : { - "localId" : "214", - "dataType" : "{https://github.com/cqframework/cql-execution/simple}Patient", - "type" : "Retrieve", - "include" : [ ], - "codeFilter" : [ ], - "dateFilter" : [ ], - "otherFilter" : [ ] - } - } - }, { - "localId" : "220", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "Foo", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "220", - "s" : [ { - "value" : [ "","define ","Foo",": " ] - }, { - "r" : "221", - "s" : [ { - "value" : [ "FooP" ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "221", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "FooP", - "type" : "ParameterRef" - } - }, { - "localId" : "224", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "Foo2", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "224", - "s" : [ { - "value" : [ "","define ","Foo2",": " ] - }, { - "r" : "225", - "s" : [ { - "value" : [ "FooDP" ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "225", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "FooDP", - "type" : "ParameterRef" - } - } ] - } - } + } + } ], + "parameterTypeSpecifier" : { + "type" : "NamedTypeSpecifier", + "localId" : "209", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ] + } + }, { + "localId" : "211", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "FooDP", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "211", + "s" : [ { + "r" : "212", + "value" : [ "", "parameter ", "FooDP", " default ", "true" ] + } ] + } + } ], + "default" : { + "type" : "Literal", + "localId" : "212", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", + "value" : "true", + "annotation" : [ ] + } + } ] + }, + "contexts" : { + "def" : [ { + "localId" : "217", + "name" : "Patient", + "annotation" : [ ] + } ] + }, + "statements" : { + "def" : [ { + "localId" : "215", + "name" : "Patient", + "context" : "Patient", + "annotation" : [ ], + "expression" : { + "type" : "SingletonFrom", + "localId" : "216", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Retrieve", + "localId" : "214", + "dataType" : "{https://github.com/cqframework/cql-execution/simple}Patient", + "annotation" : [ ], + "include" : [ ], + "codeFilter" : [ ], + "dateFilter" : [ ], + "otherFilter" : [ ] + } + } + }, { + "localId" : "220", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "Foo", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "220", + "s" : [ { + "value" : [ "", "define ", "Foo", ": " ] + }, { + "r" : "221", + "s" : [ { + "value" : [ "FooP" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "ParameterRef", + "localId" : "221", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "FooP", + "annotation" : [ ] + } + }, { + "localId" : "224", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "Foo2", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "224", + "s" : [ { + "value" : [ "", "define ", "Foo2", ": " ] + }, { + "r" : "225", + "s" : [ { + "value" : [ "FooDP" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "ParameterRef", + "localId" : "225", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "FooDP", + "annotation" : [ ] + } + } ] + } + } } /* DecimalParameterTypes @@ -921,187 +1023,202 @@ define Foo2: FooDP */ module.exports['DecimalParameterTypes'] = { - "library" : { - "localId" : "0", - "annotation" : [ { - "translatorVersion" : "3.27.0", - "translatorOptions" : "EnableDateRangeOptimization,EnableAnnotations,EnableResultTypes", - "signatureLevel" : "All", - "type" : "CqlToElmInfo" + "library" : { + "localId" : "0", + "annotation" : [ { + "type" : "CqlToElmInfo", + "translatorVersion" : "4.2.0", + "translatorOptions" : "EnableDateRangeOptimization,EnableAnnotations,EnableResultTypes", + "signatureLevel" : "All" + }, { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "224", + "s" : [ { + "value" : [ "", "library TestSnippet version '1'" ] + } ] + } + } ], + "identifier" : { + "id" : "TestSnippet", + "version" : "1" + }, + "schemaIdentifier" : { + "id" : "urn:hl7-org:elm", + "version" : "r1" + }, + "usings" : { + "def" : [ { + "localId" : "1", + "localIdentifier" : "System", + "uri" : "urn:hl7-org:elm-types:r1", + "annotation" : [ ] }, { - "type" : "Annotation", - "s" : { - "r" : "224", + "localId" : "206", + "localIdentifier" : "Simple", + "uri" : "https://github.com/cqframework/cql-execution/simple", + "version" : "1.0.0", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "206", "s" : [ { - "value" : [ "","library TestSnippet version '1'" ] + "value" : [ "", "using " ] + }, { + "s" : [ { + "value" : [ "Simple" ] + } ] + }, { + "value" : [ " version '1.0.0'" ] } ] - } - } ], - "identifier" : { - "id" : "TestSnippet", - "version" : "1" - }, - "schemaIdentifier" : { - "id" : "urn:hl7-org:elm", - "version" : "r1" - }, - "usings" : { - "def" : [ { - "localId" : "1", - "localIdentifier" : "System", - "uri" : "urn:hl7-org:elm-types:r1" - }, { - "localId" : "206", - "localIdentifier" : "Simple", - "uri" : "https://github.com/cqframework/cql-execution/simple", - "version" : "1.0.0", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "206", - "s" : [ { - "value" : [ "","using " ] - }, { - "s" : [ { - "value" : [ "Simple" ] - } ] - }, { - "value" : [ " version '1.0.0'" ] - } ] - } + } + } ] + } ] + }, + "parameters" : { + "def" : [ { + "localId" : "208", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "name" : "FooP", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "208", + "s" : [ { + "value" : [ "", "parameter ", "FooP", " " ] + }, { + "r" : "209", + "s" : [ { + "value" : [ "Decimal" ] + } ] } ] - } ] - }, - "parameters" : { - "def" : [ { - "localId" : "208", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "name" : "FooP", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "208", - "s" : [ { - "value" : [ "","parameter ","FooP"," " ] - }, { - "r" : "209", - "s" : [ { - "value" : [ "Decimal" ] - } ] - } ] - } - } ], - "parameterTypeSpecifier" : { - "localId" : "209", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "211", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "name" : "FooDP", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "211", - "s" : [ { - "r" : "212", - "value" : [ "","parameter ","FooDP"," default ","1.5" ] - } ] - } - } ], - "default" : { - "localId" : "212", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "1.5", - "type" : "Literal" - } - } ] - }, - "contexts" : { - "def" : [ { - "localId" : "217", - "name" : "Patient" - } ] - }, - "statements" : { - "def" : [ { - "localId" : "215", - "name" : "Patient", - "context" : "Patient", - "expression" : { - "localId" : "216", - "type" : "SingletonFrom", - "signature" : [ ], - "operand" : { - "localId" : "214", - "dataType" : "{https://github.com/cqframework/cql-execution/simple}Patient", - "type" : "Retrieve", - "include" : [ ], - "codeFilter" : [ ], - "dateFilter" : [ ], - "otherFilter" : [ ] - } - } - }, { - "localId" : "220", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "name" : "Foo", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "220", - "s" : [ { - "value" : [ "","define ","Foo",": " ] - }, { - "r" : "221", - "s" : [ { - "value" : [ "FooP" ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "221", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "name" : "FooP", - "type" : "ParameterRef" - } - }, { - "localId" : "224", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "name" : "Foo2", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "224", - "s" : [ { - "value" : [ "","define ","Foo2",": " ] - }, { - "r" : "225", - "s" : [ { - "value" : [ "FooDP" ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "225", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "name" : "FooDP", - "type" : "ParameterRef" - } - } ] - } - } + } + } ], + "parameterTypeSpecifier" : { + "type" : "NamedTypeSpecifier", + "localId" : "209", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } + }, { + "localId" : "211", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "name" : "FooDP", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "211", + "s" : [ { + "r" : "212", + "value" : [ "", "parameter ", "FooDP", " default ", "1.5" ] + } ] + } + } ], + "default" : { + "type" : "Literal", + "localId" : "212", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "1.5", + "annotation" : [ ] + } + } ] + }, + "contexts" : { + "def" : [ { + "localId" : "217", + "name" : "Patient", + "annotation" : [ ] + } ] + }, + "statements" : { + "def" : [ { + "localId" : "215", + "name" : "Patient", + "context" : "Patient", + "annotation" : [ ], + "expression" : { + "type" : "SingletonFrom", + "localId" : "216", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Retrieve", + "localId" : "214", + "dataType" : "{https://github.com/cqframework/cql-execution/simple}Patient", + "annotation" : [ ], + "include" : [ ], + "codeFilter" : [ ], + "dateFilter" : [ ], + "otherFilter" : [ ] + } + } + }, { + "localId" : "220", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "name" : "Foo", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "220", + "s" : [ { + "value" : [ "", "define ", "Foo", ": " ] + }, { + "r" : "221", + "s" : [ { + "value" : [ "FooP" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "ParameterRef", + "localId" : "221", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "name" : "FooP", + "annotation" : [ ] + } + }, { + "localId" : "224", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "name" : "Foo2", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "224", + "s" : [ { + "value" : [ "", "define ", "Foo2", ": " ] + }, { + "r" : "225", + "s" : [ { + "value" : [ "FooDP" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "ParameterRef", + "localId" : "225", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "name" : "FooDP", + "annotation" : [ ] + } + } ] + } + } } /* IntegerParameterTypes @@ -1115,187 +1232,202 @@ define Foo2: FooDP */ module.exports['IntegerParameterTypes'] = { - "library" : { - "localId" : "0", - "annotation" : [ { - "translatorVersion" : "3.27.0", - "translatorOptions" : "EnableDateRangeOptimization,EnableAnnotations,EnableResultTypes", - "signatureLevel" : "All", - "type" : "CqlToElmInfo" + "library" : { + "localId" : "0", + "annotation" : [ { + "type" : "CqlToElmInfo", + "translatorVersion" : "4.2.0", + "translatorOptions" : "EnableDateRangeOptimization,EnableAnnotations,EnableResultTypes", + "signatureLevel" : "All" + }, { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "224", + "s" : [ { + "value" : [ "", "library TestSnippet version '1'" ] + } ] + } + } ], + "identifier" : { + "id" : "TestSnippet", + "version" : "1" + }, + "schemaIdentifier" : { + "id" : "urn:hl7-org:elm", + "version" : "r1" + }, + "usings" : { + "def" : [ { + "localId" : "1", + "localIdentifier" : "System", + "uri" : "urn:hl7-org:elm-types:r1", + "annotation" : [ ] }, { - "type" : "Annotation", - "s" : { - "r" : "224", + "localId" : "206", + "localIdentifier" : "Simple", + "uri" : "https://github.com/cqframework/cql-execution/simple", + "version" : "1.0.0", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "206", "s" : [ { - "value" : [ "","library TestSnippet version '1'" ] + "value" : [ "", "using " ] + }, { + "s" : [ { + "value" : [ "Simple" ] + } ] + }, { + "value" : [ " version '1.0.0'" ] } ] - } - } ], - "identifier" : { - "id" : "TestSnippet", - "version" : "1" - }, - "schemaIdentifier" : { - "id" : "urn:hl7-org:elm", - "version" : "r1" - }, - "usings" : { - "def" : [ { - "localId" : "1", - "localIdentifier" : "System", - "uri" : "urn:hl7-org:elm-types:r1" - }, { - "localId" : "206", - "localIdentifier" : "Simple", - "uri" : "https://github.com/cqframework/cql-execution/simple", - "version" : "1.0.0", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "206", - "s" : [ { - "value" : [ "","using " ] - }, { - "s" : [ { - "value" : [ "Simple" ] - } ] - }, { - "value" : [ " version '1.0.0'" ] - } ] - } + } + } ] + } ] + }, + "parameters" : { + "def" : [ { + "localId" : "208", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "name" : "FooP", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "208", + "s" : [ { + "value" : [ "", "parameter ", "FooP", " " ] + }, { + "r" : "209", + "s" : [ { + "value" : [ "Integer" ] + } ] } ] - } ] - }, - "parameters" : { - "def" : [ { - "localId" : "208", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "name" : "FooP", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "208", - "s" : [ { - "value" : [ "","parameter ","FooP"," " ] - }, { - "r" : "209", - "s" : [ { - "value" : [ "Integer" ] - } ] - } ] - } - } ], - "parameterTypeSpecifier" : { - "localId" : "209", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "211", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "name" : "FooDP", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "211", - "s" : [ { - "r" : "212", - "value" : [ "","parameter ","FooDP"," default ","2" ] - } ] - } - } ], - "default" : { - "localId" : "212", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal" - } - } ] - }, - "contexts" : { - "def" : [ { - "localId" : "217", - "name" : "Patient" - } ] - }, - "statements" : { - "def" : [ { - "localId" : "215", - "name" : "Patient", - "context" : "Patient", - "expression" : { - "localId" : "216", - "type" : "SingletonFrom", - "signature" : [ ], - "operand" : { - "localId" : "214", - "dataType" : "{https://github.com/cqframework/cql-execution/simple}Patient", - "type" : "Retrieve", - "include" : [ ], - "codeFilter" : [ ], - "dateFilter" : [ ], - "otherFilter" : [ ] - } - } - }, { - "localId" : "220", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "name" : "Foo", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "220", - "s" : [ { - "value" : [ "","define ","Foo",": " ] - }, { - "r" : "221", - "s" : [ { - "value" : [ "FooP" ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "221", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "name" : "FooP", - "type" : "ParameterRef" - } - }, { - "localId" : "224", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "name" : "Foo2", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "224", - "s" : [ { - "value" : [ "","define ","Foo2",": " ] - }, { - "r" : "225", - "s" : [ { - "value" : [ "FooDP" ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "225", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "name" : "FooDP", - "type" : "ParameterRef" - } - } ] - } - } + } + } ], + "parameterTypeSpecifier" : { + "type" : "NamedTypeSpecifier", + "localId" : "209", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, { + "localId" : "211", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "name" : "FooDP", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "211", + "s" : [ { + "r" : "212", + "value" : [ "", "parameter ", "FooDP", " default ", "2" ] + } ] + } + } ], + "default" : { + "type" : "Literal", + "localId" : "212", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "annotation" : [ ] + } + } ] + }, + "contexts" : { + "def" : [ { + "localId" : "217", + "name" : "Patient", + "annotation" : [ ] + } ] + }, + "statements" : { + "def" : [ { + "localId" : "215", + "name" : "Patient", + "context" : "Patient", + "annotation" : [ ], + "expression" : { + "type" : "SingletonFrom", + "localId" : "216", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Retrieve", + "localId" : "214", + "dataType" : "{https://github.com/cqframework/cql-execution/simple}Patient", + "annotation" : [ ], + "include" : [ ], + "codeFilter" : [ ], + "dateFilter" : [ ], + "otherFilter" : [ ] + } + } + }, { + "localId" : "220", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "name" : "Foo", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "220", + "s" : [ { + "value" : [ "", "define ", "Foo", ": " ] + }, { + "r" : "221", + "s" : [ { + "value" : [ "FooP" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "ParameterRef", + "localId" : "221", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "name" : "FooP", + "annotation" : [ ] + } + }, { + "localId" : "224", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "name" : "Foo2", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "224", + "s" : [ { + "value" : [ "", "define ", "Foo2", ": " ] + }, { + "r" : "225", + "s" : [ { + "value" : [ "FooDP" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "ParameterRef", + "localId" : "225", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "name" : "FooDP", + "annotation" : [ ] + } + } ] + } + } } /* StringParameterTypes @@ -1309,191 +1441,206 @@ define Foo2: FooDP */ module.exports['StringParameterTypes'] = { - "library" : { - "localId" : "0", - "annotation" : [ { - "translatorVersion" : "3.27.0", - "translatorOptions" : "EnableDateRangeOptimization,EnableAnnotations,EnableResultTypes", - "signatureLevel" : "All", - "type" : "CqlToElmInfo" + "library" : { + "localId" : "0", + "annotation" : [ { + "type" : "CqlToElmInfo", + "translatorVersion" : "4.2.0", + "translatorOptions" : "EnableDateRangeOptimization,EnableAnnotations,EnableResultTypes", + "signatureLevel" : "All" + }, { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "225", + "s" : [ { + "value" : [ "", "library TestSnippet version '1'" ] + } ] + } + } ], + "identifier" : { + "id" : "TestSnippet", + "version" : "1" + }, + "schemaIdentifier" : { + "id" : "urn:hl7-org:elm", + "version" : "r1" + }, + "usings" : { + "def" : [ { + "localId" : "1", + "localIdentifier" : "System", + "uri" : "urn:hl7-org:elm-types:r1", + "annotation" : [ ] }, { - "type" : "Annotation", - "s" : { - "r" : "225", + "localId" : "206", + "localIdentifier" : "Simple", + "uri" : "https://github.com/cqframework/cql-execution/simple", + "version" : "1.0.0", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "206", "s" : [ { - "value" : [ "","library TestSnippet version '1'" ] + "value" : [ "", "using " ] + }, { + "s" : [ { + "value" : [ "Simple" ] + } ] + }, { + "value" : [ " version '1.0.0'" ] } ] - } - } ], - "identifier" : { - "id" : "TestSnippet", - "version" : "1" - }, - "schemaIdentifier" : { - "id" : "urn:hl7-org:elm", - "version" : "r1" - }, - "usings" : { - "def" : [ { - "localId" : "1", - "localIdentifier" : "System", - "uri" : "urn:hl7-org:elm-types:r1" - }, { - "localId" : "206", - "localIdentifier" : "Simple", - "uri" : "https://github.com/cqframework/cql-execution/simple", - "version" : "1.0.0", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "206", - "s" : [ { - "value" : [ "","using " ] - }, { - "s" : [ { - "value" : [ "Simple" ] - } ] - }, { - "value" : [ " version '1.0.0'" ] - } ] - } + } + } ] + } ] + }, + "parameters" : { + "def" : [ { + "localId" : "208", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "name" : "FooP", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "208", + "s" : [ { + "value" : [ "", "parameter ", "FooP", " " ] + }, { + "r" : "209", + "s" : [ { + "value" : [ "String" ] + } ] } ] - } ] - }, - "parameters" : { - "def" : [ { - "localId" : "208", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "name" : "FooP", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "208", - "s" : [ { - "value" : [ "","parameter ","FooP"," " ] - }, { - "r" : "209", - "s" : [ { - "value" : [ "String" ] - } ] - } ] - } - } ], - "parameterTypeSpecifier" : { - "localId" : "209", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "211", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "name" : "FooDP", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "211", - "s" : [ { - "value" : [ "","parameter ","FooDP"," default " ] - }, { - "r" : "212", - "s" : [ { - "value" : [ "'Hello'" ] - } ] - } ] - } - } ], - "default" : { - "localId" : "212", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "Hello", - "type" : "Literal" - } - } ] - }, - "contexts" : { - "def" : [ { - "localId" : "218", - "name" : "Patient" - } ] - }, - "statements" : { - "def" : [ { - "localId" : "216", - "name" : "Patient", - "context" : "Patient", - "expression" : { - "localId" : "217", - "type" : "SingletonFrom", - "signature" : [ ], - "operand" : { - "localId" : "215", - "dataType" : "{https://github.com/cqframework/cql-execution/simple}Patient", - "type" : "Retrieve", - "include" : [ ], - "codeFilter" : [ ], - "dateFilter" : [ ], - "otherFilter" : [ ] - } - } - }, { - "localId" : "221", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "name" : "Foo", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "221", - "s" : [ { - "value" : [ "","define ","Foo",": " ] - }, { - "r" : "222", - "s" : [ { - "value" : [ "FooP" ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "222", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "name" : "FooP", - "type" : "ParameterRef" - } - }, { - "localId" : "225", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "name" : "Foo2", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "225", - "s" : [ { - "value" : [ "","define ","Foo2",": " ] - }, { - "r" : "226", - "s" : [ { - "value" : [ "FooDP" ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "226", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "name" : "FooDP", - "type" : "ParameterRef" - } - } ] - } - } + } + } ], + "parameterTypeSpecifier" : { + "type" : "NamedTypeSpecifier", + "localId" : "209", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } + }, { + "localId" : "211", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "name" : "FooDP", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "211", + "s" : [ { + "value" : [ "", "parameter ", "FooDP", " default " ] + }, { + "r" : "212", + "s" : [ { + "value" : [ "'Hello'" ] + } ] + } ] + } + } ], + "default" : { + "type" : "Literal", + "localId" : "212", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "Hello", + "annotation" : [ ] + } + } ] + }, + "contexts" : { + "def" : [ { + "localId" : "218", + "name" : "Patient", + "annotation" : [ ] + } ] + }, + "statements" : { + "def" : [ { + "localId" : "216", + "name" : "Patient", + "context" : "Patient", + "annotation" : [ ], + "expression" : { + "type" : "SingletonFrom", + "localId" : "217", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Retrieve", + "localId" : "215", + "dataType" : "{https://github.com/cqframework/cql-execution/simple}Patient", + "annotation" : [ ], + "include" : [ ], + "codeFilter" : [ ], + "dateFilter" : [ ], + "otherFilter" : [ ] + } + } + }, { + "localId" : "221", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "name" : "Foo", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "221", + "s" : [ { + "value" : [ "", "define ", "Foo", ": " ] + }, { + "r" : "222", + "s" : [ { + "value" : [ "FooP" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "ParameterRef", + "localId" : "222", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "name" : "FooP", + "annotation" : [ ] + } + }, { + "localId" : "225", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "name" : "Foo2", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "225", + "s" : [ { + "value" : [ "", "define ", "Foo2", ": " ] + }, { + "r" : "226", + "s" : [ { + "value" : [ "FooDP" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "ParameterRef", + "localId" : "226", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "name" : "FooDP", + "annotation" : [ ] + } + } ] + } + } } /* CodeParameterTypes @@ -1508,221 +1655,238 @@ define Foo2: FooDP */ module.exports['CodeParameterTypes'] = { - "library" : { - "localId" : "0", - "annotation" : [ { - "translatorVersion" : "3.27.0", - "translatorOptions" : "EnableDateRangeOptimization,EnableAnnotations,EnableResultTypes", - "signatureLevel" : "All", - "type" : "CqlToElmInfo" + "library" : { + "localId" : "0", + "annotation" : [ { + "type" : "CqlToElmInfo", + "translatorVersion" : "4.2.0", + "translatorOptions" : "EnableDateRangeOptimization,EnableAnnotations,EnableResultTypes", + "signatureLevel" : "All" + }, { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "227", + "s" : [ { + "value" : [ "", "library TestSnippet version '1'" ] + } ] + } + } ], + "identifier" : { + "id" : "TestSnippet", + "version" : "1" + }, + "schemaIdentifier" : { + "id" : "urn:hl7-org:elm", + "version" : "r1" + }, + "usings" : { + "def" : [ { + "localId" : "1", + "localIdentifier" : "System", + "uri" : "urn:hl7-org:elm-types:r1", + "annotation" : [ ] }, { - "type" : "Annotation", - "s" : { - "r" : "227", + "localId" : "206", + "localIdentifier" : "Simple", + "uri" : "https://github.com/cqframework/cql-execution/simple", + "version" : "1.0.0", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "206", "s" : [ { - "value" : [ "","library TestSnippet version '1'" ] + "value" : [ "", "using " ] + }, { + "s" : [ { + "value" : [ "Simple" ] + } ] + }, { + "value" : [ " version '1.0.0'" ] } ] - } - } ], - "identifier" : { - "id" : "TestSnippet", - "version" : "1" - }, - "schemaIdentifier" : { - "id" : "urn:hl7-org:elm", - "version" : "r1" - }, - "usings" : { - "def" : [ { - "localId" : "1", - "localIdentifier" : "System", - "uri" : "urn:hl7-org:elm-types:r1" - }, { - "localId" : "206", - "localIdentifier" : "Simple", - "uri" : "https://github.com/cqframework/cql-execution/simple", - "version" : "1.0.0", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "206", - "s" : [ { - "value" : [ "","using " ] - }, { - "s" : [ { - "value" : [ "Simple" ] - } ] - }, { - "value" : [ " version '1.0.0'" ] - } ] - } + } + } ] + } ] + }, + "parameters" : { + "def" : [ { + "localId" : "210", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Code", + "name" : "FooP", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "210", + "s" : [ { + "value" : [ "", "parameter ", "FooP", " " ] + }, { + "r" : "211", + "s" : [ { + "value" : [ "Code" ] + } ] } ] - } ] - }, - "parameters" : { - "def" : [ { - "localId" : "210", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Code", - "name" : "FooP", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "210", - "s" : [ { - "value" : [ "","parameter ","FooP"," " ] - }, { - "r" : "211", - "s" : [ { - "value" : [ "Code" ] - } ] - } ] - } - } ], - "parameterTypeSpecifier" : { - "localId" : "211", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Code", - "name" : "{urn:hl7-org:elm-types:r1}Code", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "213", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Code", - "name" : "FooDP", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "213", - "s" : [ { - "value" : [ "","parameter ","FooDP"," default " ] - }, { - "r" : "214", - "s" : [ { - "value" : [ "Code ","'FooTest'"," from " ] - }, { - "r" : "215", - "s" : [ { - "value" : [ "\"FOOTESTCS\"" ] - } ] - }, { - "value" : [ " display ","'Foo Test'" ] - } ] - } ] - } - } ], - "default" : { - "localId" : "214", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Code", - "code" : "FooTest", - "display" : "Foo Test", - "type" : "Code", - "system" : { - "localId" : "215", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}CodeSystem", - "name" : "FOOTESTCS" - } - } - } ] - }, - "codeSystems" : { - "def" : [ { - "localId" : "208", + } + } ], + "parameterTypeSpecifier" : { + "type" : "NamedTypeSpecifier", + "localId" : "211", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Code", + "name" : "{urn:hl7-org:elm-types:r1}Code", + "annotation" : [ ] + } + }, { + "localId" : "213", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Code", + "name" : "FooDP", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "213", + "s" : [ { + "value" : [ "", "parameter ", "FooDP", " default " ] + }, { + "r" : "214", + "s" : [ { + "value" : [ "Code ", "'FooTest'", " from " ] + }, { + "r" : "215", + "s" : [ { + "value" : [ "\"FOOTESTCS\"" ] + } ] + }, { + "value" : [ " display ", "'Foo Test'" ] + } ] + } ] + } + } ], + "default" : { + "type" : "Code", + "localId" : "214", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Code", + "code" : "FooTest", + "display" : "Foo Test", + "annotation" : [ ], + "system" : { + "localId" : "215", "resultTypeName" : "{urn:hl7-org:elm-types:r1}CodeSystem", "name" : "FOOTESTCS", - "id" : "http://footest.org", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "208", - "s" : [ { - "value" : [ "","codesystem ","\"FOOTESTCS\"",": ","'http://footest.org'" ] - } ] - } + "annotation" : [ ] + } + } + } ] + }, + "codeSystems" : { + "def" : [ { + "localId" : "208", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}CodeSystem", + "name" : "FOOTESTCS", + "id" : "http://footest.org", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "208", + "s" : [ { + "value" : [ "", "codesystem ", "\"FOOTESTCS\"", ": ", "'http://footest.org'" ] } ] - } ] - }, - "contexts" : { - "def" : [ { - "localId" : "220", - "name" : "Patient" - } ] - }, - "statements" : { - "def" : [ { - "localId" : "218", - "name" : "Patient", - "context" : "Patient", - "expression" : { - "localId" : "219", - "type" : "SingletonFrom", - "signature" : [ ], - "operand" : { - "localId" : "217", - "dataType" : "{https://github.com/cqframework/cql-execution/simple}Patient", - "type" : "Retrieve", - "include" : [ ], - "codeFilter" : [ ], - "dateFilter" : [ ], - "otherFilter" : [ ] - } - } - }, { - "localId" : "223", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Code", - "name" : "Foo", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "223", - "s" : [ { - "value" : [ "","define ","Foo",": " ] - }, { - "r" : "224", - "s" : [ { - "value" : [ "FooP" ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "224", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Code", - "name" : "FooP", - "type" : "ParameterRef" - } - }, { - "localId" : "227", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Code", - "name" : "Foo2", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "227", - "s" : [ { - "value" : [ "","define ","Foo2",": " ] - }, { - "r" : "228", - "s" : [ { - "value" : [ "FooDP" ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "228", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Code", - "name" : "FooDP", - "type" : "ParameterRef" - } - } ] - } - } + } + } ] + } ] + }, + "contexts" : { + "def" : [ { + "localId" : "220", + "name" : "Patient", + "annotation" : [ ] + } ] + }, + "statements" : { + "def" : [ { + "localId" : "218", + "name" : "Patient", + "context" : "Patient", + "annotation" : [ ], + "expression" : { + "type" : "SingletonFrom", + "localId" : "219", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Retrieve", + "localId" : "217", + "dataType" : "{https://github.com/cqframework/cql-execution/simple}Patient", + "annotation" : [ ], + "include" : [ ], + "codeFilter" : [ ], + "dateFilter" : [ ], + "otherFilter" : [ ] + } + } + }, { + "localId" : "223", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Code", + "name" : "Foo", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "223", + "s" : [ { + "value" : [ "", "define ", "Foo", ": " ] + }, { + "r" : "224", + "s" : [ { + "value" : [ "FooP" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "ParameterRef", + "localId" : "224", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Code", + "name" : "FooP", + "annotation" : [ ] + } + }, { + "localId" : "227", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Code", + "name" : "Foo2", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "227", + "s" : [ { + "value" : [ "", "define ", "Foo2", ": " ] + }, { + "r" : "228", + "s" : [ { + "value" : [ "FooDP" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "ParameterRef", + "localId" : "228", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Code", + "name" : "FooDP", + "annotation" : [ ] + } + } ] + } + } } /* ConceptParameterTypes @@ -1737,230 +1901,248 @@ define Foo2: FooDP */ module.exports['ConceptParameterTypes'] = { - "library" : { - "localId" : "0", - "annotation" : [ { - "translatorVersion" : "3.27.0", - "translatorOptions" : "EnableDateRangeOptimization,EnableAnnotations,EnableResultTypes", - "signatureLevel" : "All", - "type" : "CqlToElmInfo" + "library" : { + "localId" : "0", + "annotation" : [ { + "type" : "CqlToElmInfo", + "translatorVersion" : "4.2.0", + "translatorOptions" : "EnableDateRangeOptimization,EnableAnnotations,EnableResultTypes", + "signatureLevel" : "All" + }, { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "228", + "s" : [ { + "value" : [ "", "library TestSnippet version '1'" ] + } ] + } + } ], + "identifier" : { + "id" : "TestSnippet", + "version" : "1" + }, + "schemaIdentifier" : { + "id" : "urn:hl7-org:elm", + "version" : "r1" + }, + "usings" : { + "def" : [ { + "localId" : "1", + "localIdentifier" : "System", + "uri" : "urn:hl7-org:elm-types:r1", + "annotation" : [ ] }, { - "type" : "Annotation", - "s" : { - "r" : "228", + "localId" : "206", + "localIdentifier" : "Simple", + "uri" : "https://github.com/cqframework/cql-execution/simple", + "version" : "1.0.0", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "206", "s" : [ { - "value" : [ "","library TestSnippet version '1'" ] + "value" : [ "", "using " ] + }, { + "s" : [ { + "value" : [ "Simple" ] + } ] + }, { + "value" : [ " version '1.0.0'" ] } ] - } - } ], - "identifier" : { - "id" : "TestSnippet", - "version" : "1" - }, - "schemaIdentifier" : { - "id" : "urn:hl7-org:elm", - "version" : "r1" - }, - "usings" : { - "def" : [ { - "localId" : "1", - "localIdentifier" : "System", - "uri" : "urn:hl7-org:elm-types:r1" - }, { - "localId" : "206", - "localIdentifier" : "Simple", - "uri" : "https://github.com/cqframework/cql-execution/simple", - "version" : "1.0.0", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "206", - "s" : [ { - "value" : [ "","using " ] - }, { - "s" : [ { - "value" : [ "Simple" ] - } ] - }, { - "value" : [ " version '1.0.0'" ] - } ] - } + } + } ] + } ] + }, + "parameters" : { + "def" : [ { + "localId" : "210", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Concept", + "name" : "FooP", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "210", + "s" : [ { + "value" : [ "", "parameter ", "FooP", " " ] + }, { + "r" : "211", + "s" : [ { + "value" : [ "Concept" ] + } ] } ] - } ] - }, - "parameters" : { - "def" : [ { - "localId" : "210", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Concept", - "name" : "FooP", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "210", - "s" : [ { - "value" : [ "","parameter ","FooP"," " ] - }, { - "r" : "211", - "s" : [ { - "value" : [ "Concept" ] - } ] - } ] - } - } ], - "parameterTypeSpecifier" : { - "localId" : "211", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Concept", - "name" : "{urn:hl7-org:elm-types:r1}Concept", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "213", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Concept", - "name" : "FooDP", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "213", - "s" : [ { - "value" : [ "","parameter ","FooDP"," default " ] - }, { - "r" : "214", - "s" : [ { - "value" : [ "Concept { " ] - }, { - "r" : "215", - "s" : [ { - "value" : [ "Code ","'FooTest'"," from " ] - }, { - "r" : "216", - "s" : [ { - "value" : [ "\"FOOTESTCS\"" ] - } ] - } ] - }, { - "value" : [ " } display ","'Foo Test'" ] - } ] - } ] - } - } ], - "default" : { - "localId" : "214", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Concept", - "display" : "Foo Test", - "type" : "Concept", - "code" : [ { - "localId" : "215", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Code", - "code" : "FooTest", - "system" : { - "localId" : "216", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}CodeSystem", - "name" : "FOOTESTCS" - } - } ] - } - } ] - }, - "codeSystems" : { - "def" : [ { - "localId" : "208", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}CodeSystem", - "name" : "FOOTESTCS", - "id" : "http://footest.org", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "208", + } + } ], + "parameterTypeSpecifier" : { + "type" : "NamedTypeSpecifier", + "localId" : "211", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Concept", + "name" : "{urn:hl7-org:elm-types:r1}Concept", + "annotation" : [ ] + } + }, { + "localId" : "213", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Concept", + "name" : "FooDP", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "213", + "s" : [ { + "value" : [ "", "parameter ", "FooDP", " default " ] + }, { + "r" : "214", + "s" : [ { + "value" : [ "Concept { " ] + }, { + "r" : "215", + "s" : [ { + "value" : [ "Code ", "'FooTest'", " from " ] + }, { + "r" : "216", "s" : [ { - "value" : [ "","codesystem ","\"FOOTESTCS\"",": ","'http://footest.org'" ] + "value" : [ "\"FOOTESTCS\"" ] } ] - } + } ] + }, { + "value" : [ " } display ", "'Foo Test'" ] + } ] } ] - } ] - }, - "contexts" : { - "def" : [ { - "localId" : "221", - "name" : "Patient" - } ] - }, - "statements" : { - "def" : [ { - "localId" : "219", - "name" : "Patient", - "context" : "Patient", - "expression" : { - "localId" : "220", - "type" : "SingletonFrom", - "signature" : [ ], - "operand" : { - "localId" : "218", - "dataType" : "{https://github.com/cqframework/cql-execution/simple}Patient", - "type" : "Retrieve", - "include" : [ ], - "codeFilter" : [ ], - "dateFilter" : [ ], - "otherFilter" : [ ] - } - } - }, { - "localId" : "224", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Concept", - "name" : "Foo", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "224", - "s" : [ { - "value" : [ "","define ","Foo",": " ] - }, { - "r" : "225", - "s" : [ { - "value" : [ "FooP" ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "225", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Concept", - "name" : "FooP", - "type" : "ParameterRef" - } - }, { - "localId" : "228", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Concept", - "name" : "Foo2", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "228", - "s" : [ { - "value" : [ "","define ","Foo2",": " ] - }, { - "r" : "229", - "s" : [ { - "value" : [ "FooDP" ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "229", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Concept", - "name" : "FooDP", - "type" : "ParameterRef" + } + } ], + "default" : { + "type" : "Concept", + "localId" : "214", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Concept", + "display" : "Foo Test", + "annotation" : [ ], + "code" : [ { + "localId" : "215", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Code", + "code" : "FooTest", + "annotation" : [ ], + "system" : { + "localId" : "216", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}CodeSystem", + "name" : "FOOTESTCS", + "annotation" : [ ] } - } ] - } - } + } ] + } + } ] + }, + "codeSystems" : { + "def" : [ { + "localId" : "208", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}CodeSystem", + "name" : "FOOTESTCS", + "id" : "http://footest.org", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "208", + "s" : [ { + "value" : [ "", "codesystem ", "\"FOOTESTCS\"", ": ", "'http://footest.org'" ] + } ] + } + } ] + } ] + }, + "contexts" : { + "def" : [ { + "localId" : "221", + "name" : "Patient", + "annotation" : [ ] + } ] + }, + "statements" : { + "def" : [ { + "localId" : "219", + "name" : "Patient", + "context" : "Patient", + "annotation" : [ ], + "expression" : { + "type" : "SingletonFrom", + "localId" : "220", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Retrieve", + "localId" : "218", + "dataType" : "{https://github.com/cqframework/cql-execution/simple}Patient", + "annotation" : [ ], + "include" : [ ], + "codeFilter" : [ ], + "dateFilter" : [ ], + "otherFilter" : [ ] + } + } + }, { + "localId" : "224", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Concept", + "name" : "Foo", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "224", + "s" : [ { + "value" : [ "", "define ", "Foo", ": " ] + }, { + "r" : "225", + "s" : [ { + "value" : [ "FooP" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "ParameterRef", + "localId" : "225", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Concept", + "name" : "FooP", + "annotation" : [ ] + } + }, { + "localId" : "228", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Concept", + "name" : "Foo2", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "228", + "s" : [ { + "value" : [ "", "define ", "Foo2", ": " ] + }, { + "r" : "229", + "s" : [ { + "value" : [ "FooDP" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "ParameterRef", + "localId" : "229", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Concept", + "name" : "FooDP", + "annotation" : [ ] + } + } ] + } + } } /* DateTimeParameterTypes @@ -1974,222 +2156,243 @@ define Foo2: FooDP */ module.exports['DateTimeParameterTypes'] = { - "library" : { - "localId" : "0", - "annotation" : [ { - "translatorVersion" : "3.27.0", - "translatorOptions" : "EnableDateRangeOptimization,EnableAnnotations,EnableResultTypes", - "signatureLevel" : "All", - "type" : "CqlToElmInfo" + "library" : { + "localId" : "0", + "annotation" : [ { + "type" : "CqlToElmInfo", + "translatorVersion" : "4.2.0", + "translatorOptions" : "EnableDateRangeOptimization,EnableAnnotations,EnableResultTypes", + "signatureLevel" : "All" + }, { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "230", + "s" : [ { + "value" : [ "", "library TestSnippet version '1'" ] + } ] + } + } ], + "identifier" : { + "id" : "TestSnippet", + "version" : "1" + }, + "schemaIdentifier" : { + "id" : "urn:hl7-org:elm", + "version" : "r1" + }, + "usings" : { + "def" : [ { + "localId" : "1", + "localIdentifier" : "System", + "uri" : "urn:hl7-org:elm-types:r1", + "annotation" : [ ] }, { - "type" : "Annotation", - "s" : { - "r" : "230", + "localId" : "206", + "localIdentifier" : "Simple", + "uri" : "https://github.com/cqframework/cql-execution/simple", + "version" : "1.0.0", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "206", "s" : [ { - "value" : [ "","library TestSnippet version '1'" ] + "value" : [ "", "using " ] + }, { + "s" : [ { + "value" : [ "Simple" ] + } ] + }, { + "value" : [ " version '1.0.0'" ] } ] - } - } ], - "identifier" : { - "id" : "TestSnippet", - "version" : "1" - }, - "schemaIdentifier" : { - "id" : "urn:hl7-org:elm", - "version" : "r1" - }, - "usings" : { - "def" : [ { - "localId" : "1", - "localIdentifier" : "System", - "uri" : "urn:hl7-org:elm-types:r1" - }, { - "localId" : "206", - "localIdentifier" : "Simple", - "uri" : "https://github.com/cqframework/cql-execution/simple", - "version" : "1.0.0", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "206", - "s" : [ { - "value" : [ "","using " ] - }, { - "s" : [ { - "value" : [ "Simple" ] - } ] - }, { - "value" : [ " version '1.0.0'" ] - } ] - } + } + } ] + } ] + }, + "parameters" : { + "def" : [ { + "localId" : "208", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "name" : "FooP", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "208", + "s" : [ { + "value" : [ "", "parameter ", "FooP", " " ] + }, { + "r" : "209", + "s" : [ { + "value" : [ "DateTime" ] + } ] } ] - } ] - }, - "parameters" : { - "def" : [ { - "localId" : "208", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "name" : "FooP", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "208", - "s" : [ { - "value" : [ "","parameter ","FooP"," " ] - }, { - "r" : "209", - "s" : [ { - "value" : [ "DateTime" ] - } ] - } ] - } - } ], - "parameterTypeSpecifier" : { - "localId" : "209", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "211", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "name" : "FooDP", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "211", - "s" : [ { - "r" : "212", - "value" : [ "","parameter ","FooDP"," default ","@2012-04-01T12:11:10" ] - } ] - } - } ], - "default" : { - "localId" : "212", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ ], - "year" : { - "localId" : "213", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "214", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "4", - "type" : "Literal" - }, - "day" : { - "localId" : "215", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "hour" : { - "localId" : "216", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "12", - "type" : "Literal" - }, - "minute" : { - "localId" : "217", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "11", - "type" : "Literal" - }, - "second" : { - "localId" : "218", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal" - } - } - } ] - }, - "contexts" : { - "def" : [ { - "localId" : "223", - "name" : "Patient" - } ] - }, - "statements" : { - "def" : [ { - "localId" : "221", - "name" : "Patient", - "context" : "Patient", - "expression" : { - "localId" : "222", - "type" : "SingletonFrom", - "signature" : [ ], - "operand" : { - "localId" : "220", - "dataType" : "{https://github.com/cqframework/cql-execution/simple}Patient", - "type" : "Retrieve", - "include" : [ ], - "codeFilter" : [ ], - "dateFilter" : [ ], - "otherFilter" : [ ] - } - } - }, { - "localId" : "226", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "name" : "Foo", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "226", - "s" : [ { - "value" : [ "","define ","Foo",": " ] - }, { - "r" : "227", - "s" : [ { - "value" : [ "FooP" ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "227", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "name" : "FooP", - "type" : "ParameterRef" - } - }, { - "localId" : "230", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "name" : "Foo2", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "230", - "s" : [ { - "value" : [ "","define ","Foo2",": " ] - }, { - "r" : "231", - "s" : [ { - "value" : [ "FooDP" ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "231", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "name" : "FooDP", - "type" : "ParameterRef" - } - } ] - } - } + } + } ], + "parameterTypeSpecifier" : { + "type" : "NamedTypeSpecifier", + "localId" : "209", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, { + "localId" : "211", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "name" : "FooDP", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "211", + "s" : [ { + "r" : "212", + "value" : [ "", "parameter ", "FooDP", " default ", "@2012-04-01T12:11:10" ] + } ] + } + } ], + "default" : { + "type" : "DateTime", + "localId" : "212", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ ], + "year" : { + "type" : "Literal", + "localId" : "213", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "214", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "4", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "215", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "hour" : { + "type" : "Literal", + "localId" : "216", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "12", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "217", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "11", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "218", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "10", + "annotation" : [ ] + } + } + } ] + }, + "contexts" : { + "def" : [ { + "localId" : "223", + "name" : "Patient", + "annotation" : [ ] + } ] + }, + "statements" : { + "def" : [ { + "localId" : "221", + "name" : "Patient", + "context" : "Patient", + "annotation" : [ ], + "expression" : { + "type" : "SingletonFrom", + "localId" : "222", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Retrieve", + "localId" : "220", + "dataType" : "{https://github.com/cqframework/cql-execution/simple}Patient", + "annotation" : [ ], + "include" : [ ], + "codeFilter" : [ ], + "dateFilter" : [ ], + "otherFilter" : [ ] + } + } + }, { + "localId" : "226", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "name" : "Foo", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "226", + "s" : [ { + "value" : [ "", "define ", "Foo", ": " ] + }, { + "r" : "227", + "s" : [ { + "value" : [ "FooP" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "ParameterRef", + "localId" : "227", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "name" : "FooP", + "annotation" : [ ] + } + }, { + "localId" : "230", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "name" : "Foo2", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "230", + "s" : [ { + "value" : [ "", "define ", "Foo2", ": " ] + }, { + "r" : "231", + "s" : [ { + "value" : [ "FooDP" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "ParameterRef", + "localId" : "231", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "name" : "FooDP", + "annotation" : [ ] + } + } ] + } + } } /* DateParameterTypes @@ -2203,204 +2406,222 @@ define Foo2: FooDP */ module.exports['DateParameterTypes'] = { - "library" : { - "localId" : "0", - "annotation" : [ { - "translatorVersion" : "3.27.0", - "translatorOptions" : "EnableDateRangeOptimization,EnableAnnotations,EnableResultTypes", - "signatureLevel" : "All", - "type" : "CqlToElmInfo" + "library" : { + "localId" : "0", + "annotation" : [ { + "type" : "CqlToElmInfo", + "translatorVersion" : "4.2.0", + "translatorOptions" : "EnableDateRangeOptimization,EnableAnnotations,EnableResultTypes", + "signatureLevel" : "All" + }, { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "228", + "s" : [ { + "value" : [ "", "library TestSnippet version '1'" ] + } ] + } + } ], + "identifier" : { + "id" : "TestSnippet", + "version" : "1" + }, + "schemaIdentifier" : { + "id" : "urn:hl7-org:elm", + "version" : "r1" + }, + "usings" : { + "def" : [ { + "localId" : "1", + "localIdentifier" : "System", + "uri" : "urn:hl7-org:elm-types:r1", + "annotation" : [ ] }, { - "type" : "Annotation", - "s" : { - "r" : "228", + "localId" : "206", + "localIdentifier" : "Simple", + "uri" : "https://github.com/cqframework/cql-execution/simple", + "version" : "1.0.0", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "206", "s" : [ { - "value" : [ "","library TestSnippet version '1'" ] + "value" : [ "", "using " ] + }, { + "s" : [ { + "value" : [ "Simple" ] + } ] + }, { + "value" : [ " version '1.0.0'" ] } ] - } - } ], - "identifier" : { - "id" : "TestSnippet", - "version" : "1" - }, - "schemaIdentifier" : { - "id" : "urn:hl7-org:elm", - "version" : "r1" - }, - "usings" : { - "def" : [ { - "localId" : "1", - "localIdentifier" : "System", - "uri" : "urn:hl7-org:elm-types:r1" - }, { - "localId" : "206", - "localIdentifier" : "Simple", - "uri" : "https://github.com/cqframework/cql-execution/simple", - "version" : "1.0.0", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "206", - "s" : [ { - "value" : [ "","using " ] - }, { - "s" : [ { - "value" : [ "Simple" ] - } ] - }, { - "value" : [ " version '1.0.0'" ] - } ] - } + } + } ] + } ] + }, + "parameters" : { + "def" : [ { + "localId" : "208", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", + "name" : "FooP", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "208", + "s" : [ { + "value" : [ "", "parameter ", "FooP", " " ] + }, { + "r" : "209", + "s" : [ { + "value" : [ "Date" ] + } ] } ] - } ] - }, - "parameters" : { - "def" : [ { - "localId" : "208", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", - "name" : "FooP", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "208", - "s" : [ { - "value" : [ "","parameter ","FooP"," " ] - }, { - "r" : "209", - "s" : [ { - "value" : [ "Date" ] - } ] - } ] - } - } ], - "parameterTypeSpecifier" : { - "localId" : "209", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", - "name" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "211", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", - "name" : "FooDP", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "211", - "s" : [ { - "r" : "216", - "value" : [ "","parameter ","FooDP"," default ","@2012-04-01" ] - } ] - } - } ], - "default" : { - "localId" : "216", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "Date", - "signature" : [ ], - "year" : { - "localId" : "213", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal" - }, - "month" : { - "localId" : "214", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "4", - "type" : "Literal" - }, - "day" : { - "localId" : "215", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - } - } - } ] - }, - "contexts" : { - "def" : [ { - "localId" : "221", - "name" : "Patient" - } ] - }, - "statements" : { - "def" : [ { - "localId" : "219", - "name" : "Patient", - "context" : "Patient", - "expression" : { - "localId" : "220", - "type" : "SingletonFrom", - "signature" : [ ], - "operand" : { - "localId" : "218", - "dataType" : "{https://github.com/cqframework/cql-execution/simple}Patient", - "type" : "Retrieve", - "include" : [ ], - "codeFilter" : [ ], - "dateFilter" : [ ], - "otherFilter" : [ ] - } - } - }, { - "localId" : "224", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", - "name" : "Foo", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "224", - "s" : [ { - "value" : [ "","define ","Foo",": " ] - }, { - "r" : "225", - "s" : [ { - "value" : [ "FooP" ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "225", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", - "name" : "FooP", - "type" : "ParameterRef" - } - }, { - "localId" : "228", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", - "name" : "Foo2", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "228", - "s" : [ { - "value" : [ "","define ","Foo2",": " ] - }, { - "r" : "229", - "s" : [ { - "value" : [ "FooDP" ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "229", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", - "name" : "FooDP", - "type" : "ParameterRef" - } - } ] - } - } + } + } ], + "parameterTypeSpecifier" : { + "type" : "NamedTypeSpecifier", + "localId" : "209", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", + "name" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ] + } + }, { + "localId" : "211", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", + "name" : "FooDP", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "211", + "s" : [ { + "r" : "216", + "value" : [ "", "parameter ", "FooDP", " default ", "@2012-04-01" ] + } ] + } + } ], + "default" : { + "type" : "Date", + "localId" : "216", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ], + "signature" : [ ], + "year" : { + "type" : "Literal", + "localId" : "213", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "214", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "4", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "215", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + } + } + } ] + }, + "contexts" : { + "def" : [ { + "localId" : "221", + "name" : "Patient", + "annotation" : [ ] + } ] + }, + "statements" : { + "def" : [ { + "localId" : "219", + "name" : "Patient", + "context" : "Patient", + "annotation" : [ ], + "expression" : { + "type" : "SingletonFrom", + "localId" : "220", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Retrieve", + "localId" : "218", + "dataType" : "{https://github.com/cqframework/cql-execution/simple}Patient", + "annotation" : [ ], + "include" : [ ], + "codeFilter" : [ ], + "dateFilter" : [ ], + "otherFilter" : [ ] + } + } + }, { + "localId" : "224", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", + "name" : "Foo", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "224", + "s" : [ { + "value" : [ "", "define ", "Foo", ": " ] + }, { + "r" : "225", + "s" : [ { + "value" : [ "FooP" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "ParameterRef", + "localId" : "225", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", + "name" : "FooP", + "annotation" : [ ] + } + }, { + "localId" : "228", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", + "name" : "Foo2", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "228", + "s" : [ { + "value" : [ "", "define ", "Foo2", ": " ] + }, { + "r" : "229", + "s" : [ { + "value" : [ "FooDP" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "ParameterRef", + "localId" : "229", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", + "name" : "FooDP", + "annotation" : [ ] + } + } ] + } + } } /* QuantityParameterTypes @@ -2414,191 +2635,206 @@ define Foo2: FooDP */ module.exports['QuantityParameterTypes'] = { - "library" : { - "localId" : "0", - "annotation" : [ { - "translatorVersion" : "3.27.0", - "translatorOptions" : "EnableDateRangeOptimization,EnableAnnotations,EnableResultTypes", - "signatureLevel" : "All", - "type" : "CqlToElmInfo" + "library" : { + "localId" : "0", + "annotation" : [ { + "type" : "CqlToElmInfo", + "translatorVersion" : "4.2.0", + "translatorOptions" : "EnableDateRangeOptimization,EnableAnnotations,EnableResultTypes", + "signatureLevel" : "All" + }, { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "224", + "s" : [ { + "value" : [ "", "library TestSnippet version '1'" ] + } ] + } + } ], + "identifier" : { + "id" : "TestSnippet", + "version" : "1" + }, + "schemaIdentifier" : { + "id" : "urn:hl7-org:elm", + "version" : "r1" + }, + "usings" : { + "def" : [ { + "localId" : "1", + "localIdentifier" : "System", + "uri" : "urn:hl7-org:elm-types:r1", + "annotation" : [ ] }, { - "type" : "Annotation", - "s" : { - "r" : "224", + "localId" : "206", + "localIdentifier" : "Simple", + "uri" : "https://github.com/cqframework/cql-execution/simple", + "version" : "1.0.0", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "206", "s" : [ { - "value" : [ "","library TestSnippet version '1'" ] + "value" : [ "", "using " ] + }, { + "s" : [ { + "value" : [ "Simple" ] + } ] + }, { + "value" : [ " version '1.0.0'" ] } ] - } - } ], - "identifier" : { - "id" : "TestSnippet", - "version" : "1" - }, - "schemaIdentifier" : { - "id" : "urn:hl7-org:elm", - "version" : "r1" - }, - "usings" : { - "def" : [ { - "localId" : "1", - "localIdentifier" : "System", - "uri" : "urn:hl7-org:elm-types:r1" - }, { - "localId" : "206", - "localIdentifier" : "Simple", - "uri" : "https://github.com/cqframework/cql-execution/simple", - "version" : "1.0.0", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "206", - "s" : [ { - "value" : [ "","using " ] - }, { - "s" : [ { - "value" : [ "Simple" ] - } ] - }, { - "value" : [ " version '1.0.0'" ] - } ] - } + } + } ] + } ] + }, + "parameters" : { + "def" : [ { + "localId" : "208", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "name" : "FooP", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "208", + "s" : [ { + "value" : [ "", "parameter ", "FooP", " " ] + }, { + "r" : "209", + "s" : [ { + "value" : [ "Quantity" ] + } ] } ] - } ] - }, - "parameters" : { - "def" : [ { - "localId" : "208", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "name" : "FooP", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "208", - "s" : [ { - "value" : [ "","parameter ","FooP"," " ] - }, { - "r" : "209", - "s" : [ { - "value" : [ "Quantity" ] - } ] - } ] - } - } ], - "parameterTypeSpecifier" : { - "localId" : "209", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "211", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "name" : "FooDP", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "211", - "s" : [ { - "value" : [ "","parameter ","FooDP"," default " ] - }, { - "r" : "212", - "s" : [ { - "value" : [ "10 ","'dL'" ] - } ] - } ] - } - } ], - "default" : { - "localId" : "212", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "value" : 10, - "unit" : "dL", - "type" : "Quantity" - } - } ] - }, - "contexts" : { - "def" : [ { - "localId" : "217", - "name" : "Patient" - } ] - }, - "statements" : { - "def" : [ { - "localId" : "215", - "name" : "Patient", - "context" : "Patient", - "expression" : { - "localId" : "216", - "type" : "SingletonFrom", - "signature" : [ ], - "operand" : { - "localId" : "214", - "dataType" : "{https://github.com/cqframework/cql-execution/simple}Patient", - "type" : "Retrieve", - "include" : [ ], - "codeFilter" : [ ], - "dateFilter" : [ ], - "otherFilter" : [ ] - } - } - }, { - "localId" : "220", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "name" : "Foo", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "220", - "s" : [ { - "value" : [ "","define ","Foo",": " ] - }, { - "r" : "221", - "s" : [ { - "value" : [ "FooP" ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "221", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "name" : "FooP", - "type" : "ParameterRef" - } - }, { - "localId" : "224", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "name" : "Foo2", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "224", - "s" : [ { - "value" : [ "","define ","Foo2",": " ] - }, { - "r" : "225", - "s" : [ { - "value" : [ "FooDP" ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "225", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "name" : "FooDP", - "type" : "ParameterRef" - } - } ] - } - } + } + } ], + "parameterTypeSpecifier" : { + "type" : "NamedTypeSpecifier", + "localId" : "209", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } + }, { + "localId" : "211", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "name" : "FooDP", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "211", + "s" : [ { + "value" : [ "", "parameter ", "FooDP", " default " ] + }, { + "r" : "212", + "s" : [ { + "value" : [ "10 ", "'dL'" ] + } ] + } ] + } + } ], + "default" : { + "type" : "Quantity", + "localId" : "212", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "value" : 10, + "unit" : "dL", + "annotation" : [ ] + } + } ] + }, + "contexts" : { + "def" : [ { + "localId" : "217", + "name" : "Patient", + "annotation" : [ ] + } ] + }, + "statements" : { + "def" : [ { + "localId" : "215", + "name" : "Patient", + "context" : "Patient", + "annotation" : [ ], + "expression" : { + "type" : "SingletonFrom", + "localId" : "216", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Retrieve", + "localId" : "214", + "dataType" : "{https://github.com/cqframework/cql-execution/simple}Patient", + "annotation" : [ ], + "include" : [ ], + "codeFilter" : [ ], + "dateFilter" : [ ], + "otherFilter" : [ ] + } + } + }, { + "localId" : "220", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "name" : "Foo", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "220", + "s" : [ { + "value" : [ "", "define ", "Foo", ": " ] + }, { + "r" : "221", + "s" : [ { + "value" : [ "FooP" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "ParameterRef", + "localId" : "221", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "name" : "FooP", + "annotation" : [ ] + } + }, { + "localId" : "224", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "name" : "Foo2", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "224", + "s" : [ { + "value" : [ "", "define ", "Foo2", ": " ] + }, { + "r" : "225", + "s" : [ { + "value" : [ "FooDP" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "ParameterRef", + "localId" : "225", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "name" : "FooDP", + "annotation" : [ ] + } + } ] + } + } } /* TimeParameterTypes @@ -2612,204 +2848,222 @@ define Foo2: FooDP */ module.exports['TimeParameterTypes'] = { - "library" : { - "localId" : "0", - "annotation" : [ { - "translatorVersion" : "3.27.0", - "translatorOptions" : "EnableDateRangeOptimization,EnableAnnotations,EnableResultTypes", - "signatureLevel" : "All", - "type" : "CqlToElmInfo" + "library" : { + "localId" : "0", + "annotation" : [ { + "type" : "CqlToElmInfo", + "translatorVersion" : "4.2.0", + "translatorOptions" : "EnableDateRangeOptimization,EnableAnnotations,EnableResultTypes", + "signatureLevel" : "All" + }, { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "227", + "s" : [ { + "value" : [ "", "library TestSnippet version '1'" ] + } ] + } + } ], + "identifier" : { + "id" : "TestSnippet", + "version" : "1" + }, + "schemaIdentifier" : { + "id" : "urn:hl7-org:elm", + "version" : "r1" + }, + "usings" : { + "def" : [ { + "localId" : "1", + "localIdentifier" : "System", + "uri" : "urn:hl7-org:elm-types:r1", + "annotation" : [ ] }, { - "type" : "Annotation", - "s" : { - "r" : "227", + "localId" : "206", + "localIdentifier" : "Simple", + "uri" : "https://github.com/cqframework/cql-execution/simple", + "version" : "1.0.0", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "206", "s" : [ { - "value" : [ "","library TestSnippet version '1'" ] + "value" : [ "", "using " ] + }, { + "s" : [ { + "value" : [ "Simple" ] + } ] + }, { + "value" : [ " version '1.0.0'" ] } ] - } - } ], - "identifier" : { - "id" : "TestSnippet", - "version" : "1" - }, - "schemaIdentifier" : { - "id" : "urn:hl7-org:elm", - "version" : "r1" - }, - "usings" : { - "def" : [ { - "localId" : "1", - "localIdentifier" : "System", - "uri" : "urn:hl7-org:elm-types:r1" - }, { - "localId" : "206", - "localIdentifier" : "Simple", - "uri" : "https://github.com/cqframework/cql-execution/simple", - "version" : "1.0.0", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "206", - "s" : [ { - "value" : [ "","using " ] - }, { - "s" : [ { - "value" : [ "Simple" ] - } ] - }, { - "value" : [ " version '1.0.0'" ] - } ] - } + } + } ] + } ] + }, + "parameters" : { + "def" : [ { + "localId" : "208", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Time", + "name" : "FooP", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "208", + "s" : [ { + "value" : [ "", "parameter ", "FooP", " " ] + }, { + "r" : "209", + "s" : [ { + "value" : [ "Time" ] + } ] } ] - } ] - }, - "parameters" : { - "def" : [ { - "localId" : "208", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Time", - "name" : "FooP", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "208", - "s" : [ { - "value" : [ "","parameter ","FooP"," " ] - }, { - "r" : "209", - "s" : [ { - "value" : [ "Time" ] - } ] - } ] - } - } ], - "parameterTypeSpecifier" : { - "localId" : "209", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Time", - "name" : "{urn:hl7-org:elm-types:r1}Time", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "211", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Time", - "name" : "FooDP", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "211", - "s" : [ { - "r" : "212", - "value" : [ "","parameter ","FooDP"," default ","@T12:00:00" ] - } ] - } - } ], - "default" : { - "localId" : "212", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Time", - "type" : "Time", - "signature" : [ ], - "hour" : { - "localId" : "213", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "12", - "type" : "Literal" - }, - "minute" : { - "localId" : "214", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, - "second" : { - "localId" : "215", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - } - } ] - }, - "contexts" : { - "def" : [ { - "localId" : "220", - "name" : "Patient" - } ] - }, - "statements" : { - "def" : [ { - "localId" : "218", - "name" : "Patient", - "context" : "Patient", - "expression" : { - "localId" : "219", - "type" : "SingletonFrom", - "signature" : [ ], - "operand" : { - "localId" : "217", - "dataType" : "{https://github.com/cqframework/cql-execution/simple}Patient", - "type" : "Retrieve", - "include" : [ ], - "codeFilter" : [ ], - "dateFilter" : [ ], - "otherFilter" : [ ] - } - } - }, { - "localId" : "223", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Time", - "name" : "Foo", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "223", - "s" : [ { - "value" : [ "","define ","Foo",": " ] - }, { - "r" : "224", - "s" : [ { - "value" : [ "FooP" ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "224", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Time", - "name" : "FooP", - "type" : "ParameterRef" - } - }, { - "localId" : "227", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Time", - "name" : "Foo2", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "227", - "s" : [ { - "value" : [ "","define ","Foo2",": " ] - }, { - "r" : "228", - "s" : [ { - "value" : [ "FooDP" ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "228", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Time", - "name" : "FooDP", - "type" : "ParameterRef" - } - } ] - } - } + } + } ], + "parameterTypeSpecifier" : { + "type" : "NamedTypeSpecifier", + "localId" : "209", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Time", + "name" : "{urn:hl7-org:elm-types:r1}Time", + "annotation" : [ ] + } + }, { + "localId" : "211", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Time", + "name" : "FooDP", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "211", + "s" : [ { + "r" : "212", + "value" : [ "", "parameter ", "FooDP", " default ", "@T12:00:00" ] + } ] + } + } ], + "default" : { + "type" : "Time", + "localId" : "212", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Time", + "annotation" : [ ], + "signature" : [ ], + "hour" : { + "type" : "Literal", + "localId" : "213", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "12", + "annotation" : [ ] + }, + "minute" : { + "type" : "Literal", + "localId" : "214", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, + "second" : { + "type" : "Literal", + "localId" : "215", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + } + } ] + }, + "contexts" : { + "def" : [ { + "localId" : "220", + "name" : "Patient", + "annotation" : [ ] + } ] + }, + "statements" : { + "def" : [ { + "localId" : "218", + "name" : "Patient", + "context" : "Patient", + "annotation" : [ ], + "expression" : { + "type" : "SingletonFrom", + "localId" : "219", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Retrieve", + "localId" : "217", + "dataType" : "{https://github.com/cqframework/cql-execution/simple}Patient", + "annotation" : [ ], + "include" : [ ], + "codeFilter" : [ ], + "dateFilter" : [ ], + "otherFilter" : [ ] + } + } + }, { + "localId" : "223", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Time", + "name" : "Foo", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "223", + "s" : [ { + "value" : [ "", "define ", "Foo", ": " ] + }, { + "r" : "224", + "s" : [ { + "value" : [ "FooP" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "ParameterRef", + "localId" : "224", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Time", + "name" : "FooP", + "annotation" : [ ] + } + }, { + "localId" : "227", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Time", + "name" : "Foo2", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "227", + "s" : [ { + "value" : [ "", "define ", "Foo2", ": " ] + }, { + "r" : "228", + "s" : [ { + "value" : [ "FooDP" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "ParameterRef", + "localId" : "228", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Time", + "name" : "FooDP", + "annotation" : [ ] + } + } ] + } + } } /* ListParameterTypes @@ -2823,305 +3077,340 @@ define Foo2: FooDP */ module.exports['ListParameterTypes'] = { - "library" : { - "localId" : "0", - "annotation" : [ { - "translatorVersion" : "3.27.0", - "translatorOptions" : "EnableDateRangeOptimization,EnableAnnotations,EnableResultTypes", - "signatureLevel" : "All", - "type" : "CqlToElmInfo" + "library" : { + "localId" : "0", + "annotation" : [ { + "type" : "CqlToElmInfo", + "translatorVersion" : "4.2.0", + "translatorOptions" : "EnableDateRangeOptimization,EnableAnnotations,EnableResultTypes", + "signatureLevel" : "All" + }, { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "243", + "s" : [ { + "value" : [ "", "library TestSnippet version '1'" ] + } ] + } + } ], + "identifier" : { + "id" : "TestSnippet", + "version" : "1" + }, + "schemaIdentifier" : { + "id" : "urn:hl7-org:elm", + "version" : "r1" + }, + "usings" : { + "def" : [ { + "localId" : "1", + "localIdentifier" : "System", + "uri" : "urn:hl7-org:elm-types:r1", + "annotation" : [ ] }, { - "type" : "Annotation", - "s" : { - "r" : "243", + "localId" : "206", + "localIdentifier" : "Simple", + "uri" : "https://github.com/cqframework/cql-execution/simple", + "version" : "1.0.0", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "206", "s" : [ { - "value" : [ "","library TestSnippet version '1'" ] + "value" : [ "", "using " ] + }, { + "s" : [ { + "value" : [ "Simple" ] + } ] + }, { + "value" : [ " version '1.0.0'" ] } ] - } - } ], - "identifier" : { - "id" : "TestSnippet", - "version" : "1" - }, - "schemaIdentifier" : { - "id" : "urn:hl7-org:elm", - "version" : "r1" - }, - "usings" : { - "def" : [ { - "localId" : "1", - "localIdentifier" : "System", - "uri" : "urn:hl7-org:elm-types:r1" - }, { - "localId" : "206", - "localIdentifier" : "Simple", - "uri" : "https://github.com/cqframework/cql-execution/simple", - "version" : "1.0.0", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "206", - "s" : [ { - "value" : [ "","using " ] - }, { - "s" : [ { - "value" : [ "Simple" ] - } ] - }, { - "value" : [ " version '1.0.0'" ] - } ] - } + } + } ] + } ] + }, + "parameters" : { + "def" : [ { + "localId" : "208", + "name" : "FooP", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "208", + "s" : [ { + "value" : [ "", "parameter ", "FooP", " " ] + }, { + "r" : "209", + "s" : [ { + "value" : [ "List<" ] + }, { + "r" : "210", + "s" : [ { + "value" : [ "String" ] + } ] + }, { + "value" : [ ">" ] + } ] } ] - } ] - }, - "parameters" : { - "def" : [ { - "localId" : "208", - "name" : "FooP", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "208", - "s" : [ { - "value" : [ "","parameter ","FooP"," " ] - }, { - "r" : "209", - "s" : [ { - "value" : [ "List<" ] - }, { - "r" : "210", - "s" : [ { - "value" : [ "String" ] - } ] - }, { - "value" : [ ">" ] - } ] - } ] - } - } ], - "resultTypeSpecifier" : { - "localId" : "214", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "215", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } - }, - "parameterTypeSpecifier" : { - "localId" : "209", - "type" : "ListTypeSpecifier", - "resultTypeSpecifier" : { - "localId" : "211", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "212", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } - }, - "elementType" : { - "localId" : "210", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } - } - }, { - "localId" : "216", - "name" : "FooDP", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "216", - "s" : [ { - "value" : [ "","parameter ","FooDP"," default " ] - }, { - "r" : "217", - "s" : [ { - "value" : [ "{ " ] - }, { - "r" : "218", - "s" : [ { - "value" : [ "'a'" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "220", - "s" : [ { - "value" : [ "'b'" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "222", - "s" : [ { - "value" : [ "'c'" ] - } ] - }, { - "value" : [ " }" ] - } ] - } ] - } - } ], - "resultTypeSpecifier" : { - "localId" : "227", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "228", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } - }, - "default" : { - "localId" : "217", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "224", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "225", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } - }, - "element" : [ { - "localId" : "218", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "a", - "type" : "Literal" - }, { - "localId" : "220", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "b", - "type" : "Literal" - }, { - "localId" : "222", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "c", - "type" : "Literal" - } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "214", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "215", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } + }, + "parameterTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "209", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "211", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "212", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] } - } ] - }, - "contexts" : { - "def" : [ { - "localId" : "232", - "name" : "Patient" - } ] - }, - "statements" : { - "def" : [ { - "localId" : "230", - "name" : "Patient", - "context" : "Patient", - "expression" : { - "localId" : "231", - "type" : "SingletonFrom", - "signature" : [ ], - "operand" : { - "localId" : "229", - "dataType" : "{https://github.com/cqframework/cql-execution/simple}Patient", - "type" : "Retrieve", - "include" : [ ], - "codeFilter" : [ ], - "dateFilter" : [ ], - "otherFilter" : [ ] - } + }, + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "210", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } + } + }, { + "localId" : "216", + "name" : "FooDP", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "216", + "s" : [ { + "value" : [ "", "parameter ", "FooDP", " default " ] + }, { + "r" : "217", + "s" : [ { + "value" : [ "{ " ] + }, { + "r" : "218", + "s" : [ { + "value" : [ "'a'" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "220", + "s" : [ { + "value" : [ "'b'" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "222", + "s" : [ { + "value" : [ "'c'" ] + } ] + }, { + "value" : [ " }" ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "227", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "228", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } + }, + "default" : { + "type" : "List", + "localId" : "217", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "224", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "225", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] } - }, { - "localId" : "235", - "name" : "Foo", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "235", - "s" : [ { - "value" : [ "","define ","Foo",": " ] - }, { - "r" : "236", - "s" : [ { - "value" : [ "FooP" ] - } ] - } ] - } - } ], - "resultTypeSpecifier" : { - "localId" : "239", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "240", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } - }, - "expression" : { - "localId" : "236", - "name" : "FooP", - "type" : "ParameterRef", - "resultTypeSpecifier" : { - "localId" : "237", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "238", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } - } + }, + "element" : [ { + "type" : "Literal", + "localId" : "218", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "a", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "220", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "b", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "222", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "c", + "annotation" : [ ] + } ] + } + } ] + }, + "contexts" : { + "def" : [ { + "localId" : "232", + "name" : "Patient", + "annotation" : [ ] + } ] + }, + "statements" : { + "def" : [ { + "localId" : "230", + "name" : "Patient", + "context" : "Patient", + "annotation" : [ ], + "expression" : { + "type" : "SingletonFrom", + "localId" : "231", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Retrieve", + "localId" : "229", + "dataType" : "{https://github.com/cqframework/cql-execution/simple}Patient", + "annotation" : [ ], + "include" : [ ], + "codeFilter" : [ ], + "dateFilter" : [ ], + "otherFilter" : [ ] + } + } + }, { + "localId" : "235", + "name" : "Foo", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "235", + "s" : [ { + "value" : [ "", "define ", "Foo", ": " ] + }, { + "r" : "236", + "s" : [ { + "value" : [ "FooP" ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "239", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "240", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } + }, + "expression" : { + "type" : "ParameterRef", + "localId" : "236", + "name" : "FooP", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "237", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "238", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] } - }, { - "localId" : "243", - "name" : "Foo2", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "243", - "s" : [ { - "value" : [ "","define ","Foo2",": " ] - }, { - "r" : "244", - "s" : [ { - "value" : [ "FooDP" ] - } ] - } ] - } - } ], - "resultTypeSpecifier" : { - "localId" : "247", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "248", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } - }, - "expression" : { - "localId" : "244", - "name" : "FooDP", - "type" : "ParameterRef", - "resultTypeSpecifier" : { - "localId" : "245", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "246", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } - } + } + } + }, { + "localId" : "243", + "name" : "Foo2", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "243", + "s" : [ { + "value" : [ "", "define ", "Foo2", ": " ] + }, { + "r" : "244", + "s" : [ { + "value" : [ "FooDP" ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "247", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "248", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } + }, + "expression" : { + "type" : "ParameterRef", + "localId" : "244", + "name" : "FooDP", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "245", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "246", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] } - } ] - } - } + } + } + } ] + } + } } /* IntervalParameterTypes @@ -3135,282 +3424,316 @@ define Foo2: FooDP */ module.exports['IntervalParameterTypes'] = { - "library" : { - "localId" : "0", - "annotation" : [ { - "translatorVersion" : "3.27.0", - "translatorOptions" : "EnableDateRangeOptimization,EnableAnnotations,EnableResultTypes", - "signatureLevel" : "All", - "type" : "CqlToElmInfo" + "library" : { + "localId" : "0", + "annotation" : [ { + "type" : "CqlToElmInfo", + "translatorVersion" : "4.2.0", + "translatorOptions" : "EnableDateRangeOptimization,EnableAnnotations,EnableResultTypes", + "signatureLevel" : "All" + }, { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "239", + "s" : [ { + "value" : [ "", "library TestSnippet version '1'" ] + } ] + } + } ], + "identifier" : { + "id" : "TestSnippet", + "version" : "1" + }, + "schemaIdentifier" : { + "id" : "urn:hl7-org:elm", + "version" : "r1" + }, + "usings" : { + "def" : [ { + "localId" : "1", + "localIdentifier" : "System", + "uri" : "urn:hl7-org:elm-types:r1", + "annotation" : [ ] }, { - "type" : "Annotation", - "s" : { - "r" : "239", + "localId" : "206", + "localIdentifier" : "Simple", + "uri" : "https://github.com/cqframework/cql-execution/simple", + "version" : "1.0.0", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "206", "s" : [ { - "value" : [ "","library TestSnippet version '1'" ] + "value" : [ "", "using " ] + }, { + "s" : [ { + "value" : [ "Simple" ] + } ] + }, { + "value" : [ " version '1.0.0'" ] } ] - } - } ], - "identifier" : { - "id" : "TestSnippet", - "version" : "1" - }, - "schemaIdentifier" : { - "id" : "urn:hl7-org:elm", - "version" : "r1" - }, - "usings" : { - "def" : [ { - "localId" : "1", - "localIdentifier" : "System", - "uri" : "urn:hl7-org:elm-types:r1" - }, { - "localId" : "206", - "localIdentifier" : "Simple", - "uri" : "https://github.com/cqframework/cql-execution/simple", - "version" : "1.0.0", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "206", - "s" : [ { - "value" : [ "","using " ] - }, { - "s" : [ { - "value" : [ "Simple" ] - } ] - }, { - "value" : [ " version '1.0.0'" ] - } ] - } + } + } ] + } ] + }, + "parameters" : { + "def" : [ { + "localId" : "208", + "name" : "FooP", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "208", + "s" : [ { + "value" : [ "", "parameter ", "FooP", " " ] + }, { + "r" : "209", + "s" : [ { + "value" : [ "Interval<" ] + }, { + "r" : "210", + "s" : [ { + "value" : [ "Integer" ] + } ] + }, { + "value" : [ ">" ] + } ] } ] - } ] - }, - "parameters" : { - "def" : [ { - "localId" : "208", - "name" : "FooP", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "208", - "s" : [ { - "value" : [ "","parameter ","FooP"," " ] - }, { - "r" : "209", - "s" : [ { - "value" : [ "Interval<" ] - }, { - "r" : "210", - "s" : [ { - "value" : [ "Integer" ] - } ] - }, { - "value" : [ ">" ] - } ] - } ] - } - } ], - "resultTypeSpecifier" : { - "localId" : "214", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "215", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "parameterTypeSpecifier" : { - "localId" : "209", - "type" : "IntervalTypeSpecifier", - "resultTypeSpecifier" : { - "localId" : "211", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "212", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "pointType" : { - "localId" : "210", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } - }, { - "localId" : "216", - "name" : "FooDP", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "216", - "s" : [ { - "value" : [ "","parameter ","FooDP"," default " ] - }, { - "r" : "219", - "s" : [ { - "r" : "217", - "value" : [ "Interval[","2",",","6","]" ] - } ] - } ] - } - } ], - "resultTypeSpecifier" : { - "localId" : "223", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "224", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "default" : { - "localId" : "219", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "220", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "221", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "217", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal" - }, - "high" : { - "localId" : "218", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "6", - "type" : "Literal" - } + } + } ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "214", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "215", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "parameterTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "209", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "211", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "212", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] } - } ] - }, - "contexts" : { - "def" : [ { - "localId" : "228", - "name" : "Patient" - } ] - }, - "statements" : { - "def" : [ { - "localId" : "226", - "name" : "Patient", - "context" : "Patient", - "expression" : { - "localId" : "227", - "type" : "SingletonFrom", - "signature" : [ ], - "operand" : { - "localId" : "225", - "dataType" : "{https://github.com/cqframework/cql-execution/simple}Patient", - "type" : "Retrieve", - "include" : [ ], - "codeFilter" : [ ], - "dateFilter" : [ ], - "otherFilter" : [ ] - } + }, + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "210", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } + }, { + "localId" : "216", + "name" : "FooDP", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "216", + "s" : [ { + "value" : [ "", "parameter ", "FooDP", " default " ] + }, { + "r" : "219", + "s" : [ { + "r" : "217", + "value" : [ "Interval[", "2", ",", "6", "]" ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "223", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "224", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "default" : { + "type" : "Interval", + "localId" : "219", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "220", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "221", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] } - }, { - "localId" : "231", - "name" : "Foo", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "231", - "s" : [ { - "value" : [ "","define ","Foo",": " ] - }, { - "r" : "232", - "s" : [ { - "value" : [ "FooP" ] - } ] - } ] - } - } ], - "resultTypeSpecifier" : { - "localId" : "235", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "236", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "expression" : { - "localId" : "232", - "name" : "FooP", - "type" : "ParameterRef", - "resultTypeSpecifier" : { - "localId" : "233", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "234", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } + }, + "low" : { + "type" : "Literal", + "localId" : "217", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "annotation" : [ ] + }, + "high" : { + "type" : "Literal", + "localId" : "218", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "6", + "annotation" : [ ] + } + } + } ] + }, + "contexts" : { + "def" : [ { + "localId" : "228", + "name" : "Patient", + "annotation" : [ ] + } ] + }, + "statements" : { + "def" : [ { + "localId" : "226", + "name" : "Patient", + "context" : "Patient", + "annotation" : [ ], + "expression" : { + "type" : "SingletonFrom", + "localId" : "227", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Retrieve", + "localId" : "225", + "dataType" : "{https://github.com/cqframework/cql-execution/simple}Patient", + "annotation" : [ ], + "include" : [ ], + "codeFilter" : [ ], + "dateFilter" : [ ], + "otherFilter" : [ ] + } + } + }, { + "localId" : "231", + "name" : "Foo", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "231", + "s" : [ { + "value" : [ "", "define ", "Foo", ": " ] + }, { + "r" : "232", + "s" : [ { + "value" : [ "FooP" ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "235", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "236", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "expression" : { + "type" : "ParameterRef", + "localId" : "232", + "name" : "FooP", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "233", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "234", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] } - }, { - "localId" : "239", - "name" : "Foo2", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "239", - "s" : [ { - "value" : [ "","define ","Foo2",": " ] - }, { - "r" : "240", - "s" : [ { - "value" : [ "FooDP" ] - } ] - } ] - } - } ], - "resultTypeSpecifier" : { - "localId" : "243", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "244", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "expression" : { - "localId" : "240", - "name" : "FooDP", - "type" : "ParameterRef", - "resultTypeSpecifier" : { - "localId" : "241", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "242", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } + } + } + }, { + "localId" : "239", + "name" : "Foo2", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "239", + "s" : [ { + "value" : [ "", "define ", "Foo2", ": " ] + }, { + "r" : "240", + "s" : [ { + "value" : [ "FooDP" ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "243", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "244", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "expression" : { + "type" : "ParameterRef", + "localId" : "240", + "name" : "FooDP", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "241", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "242", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] } - } ] - } - } + } + } + } ] + } + } } /* TupleParameterTypes @@ -3424,428 +3747,489 @@ define Foo2: FooDP */ module.exports['TupleParameterTypes'] = { - "library" : { - "localId" : "0", - "annotation" : [ { - "translatorVersion" : "3.27.0", - "translatorOptions" : "EnableDateRangeOptimization,EnableAnnotations,EnableResultTypes", - "signatureLevel" : "All", - "type" : "CqlToElmInfo" + "library" : { + "localId" : "0", + "annotation" : [ { + "type" : "CqlToElmInfo", + "translatorVersion" : "4.2.0", + "translatorOptions" : "EnableDateRangeOptimization,EnableAnnotations,EnableResultTypes", + "signatureLevel" : "All" + }, { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "261", + "s" : [ { + "value" : [ "", "library TestSnippet version '1'" ] + } ] + } + } ], + "identifier" : { + "id" : "TestSnippet", + "version" : "1" + }, + "schemaIdentifier" : { + "id" : "urn:hl7-org:elm", + "version" : "r1" + }, + "usings" : { + "def" : [ { + "localId" : "1", + "localIdentifier" : "System", + "uri" : "urn:hl7-org:elm-types:r1", + "annotation" : [ ] }, { - "type" : "Annotation", - "s" : { - "r" : "261", + "localId" : "206", + "localIdentifier" : "Simple", + "uri" : "https://github.com/cqframework/cql-execution/simple", + "version" : "1.0.0", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "206", "s" : [ { - "value" : [ "","library TestSnippet version '1'" ] + "value" : [ "", "using " ] + }, { + "s" : [ { + "value" : [ "Simple" ] + } ] + }, { + "value" : [ " version '1.0.0'" ] } ] - } - } ], - "identifier" : { - "id" : "TestSnippet", - "version" : "1" - }, - "schemaIdentifier" : { - "id" : "urn:hl7-org:elm", - "version" : "r1" - }, - "usings" : { - "def" : [ { - "localId" : "1", - "localIdentifier" : "System", - "uri" : "urn:hl7-org:elm-types:r1" - }, { - "localId" : "206", - "localIdentifier" : "Simple", - "uri" : "https://github.com/cqframework/cql-execution/simple", - "version" : "1.0.0", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "206", + } + } ] + } ] + }, + "parameters" : { + "def" : [ { + "localId" : "208", + "name" : "FooP", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "208", + "s" : [ { + "value" : [ "", "parameter ", "FooP", " " ] + }, { + "r" : "209", + "s" : [ { + "value" : [ "Tuple { " ] + }, { + "r" : "210", + "s" : [ { + "value" : [ "Hello", " " ] + }, { + "r" : "211", "s" : [ { - "value" : [ "","using " ] - }, { - "s" : [ { - "value" : [ "Simple" ] - } ] - }, { - "value" : [ " version '1.0.0'" ] + "value" : [ "String" ] } ] - } - } ] - } ] - }, - "parameters" : { - "def" : [ { - "localId" : "208", - "name" : "FooP", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "208", + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "212", + "s" : [ { + "value" : [ "MeaningOfLife", " " ] + }, { + "r" : "213", "s" : [ { - "value" : [ "","parameter ","FooP"," " ] - }, { - "r" : "209", - "s" : [ { - "value" : [ "Tuple { " ] - }, { - "r" : "210", - "s" : [ { - "value" : [ "Hello"," " ] - }, { - "r" : "211", - "s" : [ { - "value" : [ "String" ] - } ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "212", - "s" : [ { - "value" : [ "MeaningOfLife"," " ] - }, { - "r" : "213", - "s" : [ { - "value" : [ "Integer" ] - } ] - } ] - }, { - "value" : [ " }" ] - } ] - } ] - } - } ], - "resultTypeSpecifier" : { - "localId" : "220", - "type" : "TupleTypeSpecifier", - "element" : [ { - "localId" : "221", - "name" : "Hello", - "elementType" : { - "localId" : "222", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "223", - "name" : "MeaningOfLife", - "elementType" : { - "localId" : "224", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } ] - }, - "parameterTypeSpecifier" : { - "localId" : "209", - "type" : "TupleTypeSpecifier", - "resultTypeSpecifier" : { - "localId" : "214", - "type" : "TupleTypeSpecifier", - "element" : [ { - "localId" : "215", - "name" : "Hello", - "elementType" : { - "localId" : "216", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "217", - "name" : "MeaningOfLife", - "elementType" : { - "localId" : "218", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } + "value" : [ "Integer" ] } ] - }, - "element" : [ { - "localId" : "210", - "name" : "Hello", - "elementType" : { - "localId" : "211", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "212", - "name" : "MeaningOfLife", - "elementType" : { - "localId" : "213", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } ] + } ] + }, { + "value" : [ " }" ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "TupleTypeSpecifier", + "localId" : "220", + "annotation" : [ ], + "element" : [ { + "localId" : "221", + "name" : "Hello", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "222", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] } - }, { - "localId" : "225", - "name" : "FooDP", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "225", - "s" : [ { - "value" : [ "","parameter ","FooDP"," default " ] - }, { - "r" : "226", - "s" : [ { - "value" : [ "Tuple { " ] - }, { - "s" : [ { - "value" : [ "Hello",": " ] - }, { - "r" : "227", - "s" : [ { - "value" : [ "'Universe'" ] - } ] - } ] - }, { - "value" : [ ", " ] - }, { - "s" : [ { - "r" : "229", - "value" : [ "MeaningOfLife",": ","24" ] - } ] - }, { - "value" : [ " }" ] - } ] - } ] - } - } ], - "resultTypeSpecifier" : { - "localId" : "236", - "type" : "TupleTypeSpecifier", - "element" : [ { - "localId" : "237", - "name" : "Hello", - "elementType" : { - "localId" : "238", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "239", - "name" : "MeaningOfLife", - "elementType" : { - "localId" : "240", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } ] - }, - "default" : { - "localId" : "226", - "type" : "Tuple", - "resultTypeSpecifier" : { - "localId" : "230", - "type" : "TupleTypeSpecifier", - "element" : [ { - "localId" : "231", - "name" : "Hello", - "elementType" : { - "localId" : "232", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "233", - "name" : "MeaningOfLife", - "elementType" : { - "localId" : "234", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } ] - }, - "element" : [ { - "name" : "Hello", - "value" : { - "localId" : "227", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "Universe", - "type" : "Literal" - } - }, { - "name" : "MeaningOfLife", - "value" : { - "localId" : "229", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "24", - "type" : "Literal" - } - } ] + }, { + "localId" : "223", + "name" : "MeaningOfLife", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "224", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] } - } ] - }, - "contexts" : { - "def" : [ { - "localId" : "244", - "name" : "Patient" - } ] - }, - "statements" : { - "def" : [ { - "localId" : "242", - "name" : "Patient", - "context" : "Patient", - "expression" : { - "localId" : "243", - "type" : "SingletonFrom", - "signature" : [ ], - "operand" : { - "localId" : "241", - "dataType" : "{https://github.com/cqframework/cql-execution/simple}Patient", - "type" : "Retrieve", - "include" : [ ], - "codeFilter" : [ ], - "dateFilter" : [ ], - "otherFilter" : [ ] - } + } ] + }, + "parameterTypeSpecifier" : { + "type" : "TupleTypeSpecifier", + "localId" : "209", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "TupleTypeSpecifier", + "localId" : "214", + "annotation" : [ ], + "element" : [ { + "localId" : "215", + "name" : "Hello", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "216", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } + }, { + "localId" : "217", + "name" : "MeaningOfLife", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "218", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } ] + }, + "element" : [ { + "localId" : "210", + "name" : "Hello", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "211", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] } - }, { - "localId" : "247", - "name" : "Foo", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "247", - "s" : [ { - "value" : [ "","define ","Foo",": " ] - }, { - "r" : "248", - "s" : [ { - "value" : [ "FooP" ] - } ] - } ] - } - } ], - "resultTypeSpecifier" : { - "localId" : "254", - "type" : "TupleTypeSpecifier", - "element" : [ { - "localId" : "255", - "name" : "Hello", - "elementType" : { - "localId" : "256", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "257", - "name" : "MeaningOfLife", - "elementType" : { - "localId" : "258", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } ] - }, - "expression" : { - "localId" : "248", - "name" : "FooP", - "type" : "ParameterRef", - "resultTypeSpecifier" : { - "localId" : "249", - "type" : "TupleTypeSpecifier", - "element" : [ { - "localId" : "250", - "name" : "Hello", - "elementType" : { - "localId" : "251", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "252", - "name" : "MeaningOfLife", - "elementType" : { - "localId" : "253", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } ] - } + }, { + "localId" : "212", + "name" : "MeaningOfLife", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "213", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] } - }, { - "localId" : "261", - "name" : "Foo2", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "261", + } ] + } + }, { + "localId" : "225", + "name" : "FooDP", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "225", + "s" : [ { + "value" : [ "", "parameter ", "FooDP", " default " ] + }, { + "r" : "226", + "s" : [ { + "value" : [ "Tuple { " ] + }, { + "s" : [ { + "value" : [ "Hello", ": " ] + }, { + "r" : "227", "s" : [ { - "value" : [ "","define ","Foo2",": " ] - }, { - "r" : "262", - "s" : [ { - "value" : [ "FooDP" ] - } ] + "value" : [ "'Universe'" ] } ] - } - } ], - "resultTypeSpecifier" : { - "localId" : "268", - "type" : "TupleTypeSpecifier", - "element" : [ { - "localId" : "269", - "name" : "Hello", - "elementType" : { - "localId" : "270", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "271", - "name" : "MeaningOfLife", - "elementType" : { - "localId" : "272", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } ] - }, - "expression" : { - "localId" : "262", - "name" : "FooDP", - "type" : "ParameterRef", - "resultTypeSpecifier" : { - "localId" : "263", - "type" : "TupleTypeSpecifier", - "element" : [ { - "localId" : "264", - "name" : "Hello", - "elementType" : { - "localId" : "265", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "266", - "name" : "MeaningOfLife", - "elementType" : { - "localId" : "267", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } ] - } + } ] + }, { + "value" : [ ", " ] + }, { + "s" : [ { + "r" : "229", + "value" : [ "MeaningOfLife", ": ", "24" ] + } ] + }, { + "value" : [ " }" ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "TupleTypeSpecifier", + "localId" : "236", + "annotation" : [ ], + "element" : [ { + "localId" : "237", + "name" : "Hello", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "238", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] } - } ] - } - } + }, { + "localId" : "239", + "name" : "MeaningOfLife", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "240", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } ] + }, + "default" : { + "type" : "Tuple", + "localId" : "226", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "TupleTypeSpecifier", + "localId" : "230", + "annotation" : [ ], + "element" : [ { + "localId" : "231", + "name" : "Hello", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "232", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } + }, { + "localId" : "233", + "name" : "MeaningOfLife", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "234", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } ] + }, + "element" : [ { + "name" : "Hello", + "value" : { + "type" : "Literal", + "localId" : "227", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "Universe", + "annotation" : [ ] + } + }, { + "name" : "MeaningOfLife", + "value" : { + "type" : "Literal", + "localId" : "229", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "24", + "annotation" : [ ] + } + } ] + } + } ] + }, + "contexts" : { + "def" : [ { + "localId" : "244", + "name" : "Patient", + "annotation" : [ ] + } ] + }, + "statements" : { + "def" : [ { + "localId" : "242", + "name" : "Patient", + "context" : "Patient", + "annotation" : [ ], + "expression" : { + "type" : "SingletonFrom", + "localId" : "243", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Retrieve", + "localId" : "241", + "dataType" : "{https://github.com/cqframework/cql-execution/simple}Patient", + "annotation" : [ ], + "include" : [ ], + "codeFilter" : [ ], + "dateFilter" : [ ], + "otherFilter" : [ ] + } + } + }, { + "localId" : "247", + "name" : "Foo", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "247", + "s" : [ { + "value" : [ "", "define ", "Foo", ": " ] + }, { + "r" : "248", + "s" : [ { + "value" : [ "FooP" ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "TupleTypeSpecifier", + "localId" : "254", + "annotation" : [ ], + "element" : [ { + "localId" : "255", + "name" : "Hello", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "256", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } + }, { + "localId" : "257", + "name" : "MeaningOfLife", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "258", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } ] + }, + "expression" : { + "type" : "ParameterRef", + "localId" : "248", + "name" : "FooP", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "TupleTypeSpecifier", + "localId" : "249", + "annotation" : [ ], + "element" : [ { + "localId" : "250", + "name" : "Hello", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "251", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } + }, { + "localId" : "252", + "name" : "MeaningOfLife", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "253", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } ] + } + } + }, { + "localId" : "261", + "name" : "Foo2", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "261", + "s" : [ { + "value" : [ "", "define ", "Foo2", ": " ] + }, { + "r" : "262", + "s" : [ { + "value" : [ "FooDP" ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "TupleTypeSpecifier", + "localId" : "268", + "annotation" : [ ], + "element" : [ { + "localId" : "269", + "name" : "Hello", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "270", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } + }, { + "localId" : "271", + "name" : "MeaningOfLife", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "272", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } ] + }, + "expression" : { + "type" : "ParameterRef", + "localId" : "262", + "name" : "FooDP", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "TupleTypeSpecifier", + "localId" : "263", + "annotation" : [ ], + "element" : [ { + "localId" : "264", + "name" : "Hello", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "265", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } + }, { + "localId" : "266", + "name" : "MeaningOfLife", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "267", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } ] + } + } + } ] + } + } } /* DefaultAndNoDefault @@ -3859,187 +4243,202 @@ define Foo2: FooWithDefault */ module.exports['DefaultAndNoDefault'] = { - "library" : { - "localId" : "0", - "annotation" : [ { - "translatorVersion" : "3.27.0", - "translatorOptions" : "EnableDateRangeOptimization,EnableAnnotations,EnableResultTypes", - "signatureLevel" : "All", - "type" : "CqlToElmInfo" + "library" : { + "localId" : "0", + "annotation" : [ { + "type" : "CqlToElmInfo", + "translatorVersion" : "4.2.0", + "translatorOptions" : "EnableDateRangeOptimization,EnableAnnotations,EnableResultTypes", + "signatureLevel" : "All" + }, { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "224", + "s" : [ { + "value" : [ "", "library TestSnippet version '1'" ] + } ] + } + } ], + "identifier" : { + "id" : "TestSnippet", + "version" : "1" + }, + "schemaIdentifier" : { + "id" : "urn:hl7-org:elm", + "version" : "r1" + }, + "usings" : { + "def" : [ { + "localId" : "1", + "localIdentifier" : "System", + "uri" : "urn:hl7-org:elm-types:r1", + "annotation" : [ ] }, { - "type" : "Annotation", - "s" : { - "r" : "224", + "localId" : "206", + "localIdentifier" : "Simple", + "uri" : "https://github.com/cqframework/cql-execution/simple", + "version" : "1.0.0", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "206", "s" : [ { - "value" : [ "","library TestSnippet version '1'" ] + "value" : [ "", "using " ] + }, { + "s" : [ { + "value" : [ "Simple" ] + } ] + }, { + "value" : [ " version '1.0.0'" ] } ] - } - } ], - "identifier" : { - "id" : "TestSnippet", - "version" : "1" - }, - "schemaIdentifier" : { - "id" : "urn:hl7-org:elm", - "version" : "r1" - }, - "usings" : { - "def" : [ { - "localId" : "1", - "localIdentifier" : "System", - "uri" : "urn:hl7-org:elm-types:r1" - }, { - "localId" : "206", - "localIdentifier" : "Simple", - "uri" : "https://github.com/cqframework/cql-execution/simple", - "version" : "1.0.0", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "206", - "s" : [ { - "value" : [ "","using " ] - }, { - "s" : [ { - "value" : [ "Simple" ] - } ] - }, { - "value" : [ " version '1.0.0'" ] - } ] - } + } + } ] + } ] + }, + "parameters" : { + "def" : [ { + "localId" : "208", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "name" : "FooWithNoDefault", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "208", + "s" : [ { + "value" : [ "", "parameter ", "FooWithNoDefault", " " ] + }, { + "r" : "209", + "s" : [ { + "value" : [ "Integer" ] + } ] } ] - } ] - }, - "parameters" : { - "def" : [ { - "localId" : "208", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "name" : "FooWithNoDefault", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "208", - "s" : [ { - "value" : [ "","parameter ","FooWithNoDefault"," " ] - }, { - "r" : "209", - "s" : [ { - "value" : [ "Integer" ] - } ] - } ] - } - } ], - "parameterTypeSpecifier" : { - "localId" : "209", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "211", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "name" : "FooWithDefault", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "211", - "s" : [ { - "r" : "212", - "value" : [ "","parameter ","FooWithDefault"," default ","5" ] - } ] - } - } ], - "default" : { - "localId" : "212", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal" - } - } ] - }, - "contexts" : { - "def" : [ { - "localId" : "217", - "name" : "Patient" - } ] - }, - "statements" : { - "def" : [ { - "localId" : "215", - "name" : "Patient", - "context" : "Patient", - "expression" : { - "localId" : "216", - "type" : "SingletonFrom", - "signature" : [ ], - "operand" : { - "localId" : "214", - "dataType" : "{https://github.com/cqframework/cql-execution/simple}Patient", - "type" : "Retrieve", - "include" : [ ], - "codeFilter" : [ ], - "dateFilter" : [ ], - "otherFilter" : [ ] - } - } - }, { - "localId" : "220", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "name" : "Foo", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "220", - "s" : [ { - "value" : [ "","define ","Foo",": " ] - }, { - "r" : "221", - "s" : [ { - "value" : [ "FooWithNoDefault" ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "221", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "name" : "FooWithNoDefault", - "type" : "ParameterRef" - } - }, { - "localId" : "224", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "name" : "Foo2", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "224", - "s" : [ { - "value" : [ "","define ","Foo2",": " ] - }, { - "r" : "225", - "s" : [ { - "value" : [ "FooWithDefault" ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "225", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "name" : "FooWithDefault", - "type" : "ParameterRef" - } - } ] - } - } + } + } ], + "parameterTypeSpecifier" : { + "type" : "NamedTypeSpecifier", + "localId" : "209", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, { + "localId" : "211", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "name" : "FooWithDefault", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "211", + "s" : [ { + "r" : "212", + "value" : [ "", "parameter ", "FooWithDefault", " default ", "5" ] + } ] + } + } ], + "default" : { + "type" : "Literal", + "localId" : "212", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "5", + "annotation" : [ ] + } + } ] + }, + "contexts" : { + "def" : [ { + "localId" : "217", + "name" : "Patient", + "annotation" : [ ] + } ] + }, + "statements" : { + "def" : [ { + "localId" : "215", + "name" : "Patient", + "context" : "Patient", + "annotation" : [ ], + "expression" : { + "type" : "SingletonFrom", + "localId" : "216", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Retrieve", + "localId" : "214", + "dataType" : "{https://github.com/cqframework/cql-execution/simple}Patient", + "annotation" : [ ], + "include" : [ ], + "codeFilter" : [ ], + "dateFilter" : [ ], + "otherFilter" : [ ] + } + } + }, { + "localId" : "220", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "name" : "Foo", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "220", + "s" : [ { + "value" : [ "", "define ", "Foo", ": " ] + }, { + "r" : "221", + "s" : [ { + "value" : [ "FooWithNoDefault" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "ParameterRef", + "localId" : "221", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "name" : "FooWithNoDefault", + "annotation" : [ ] + } + }, { + "localId" : "224", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "name" : "Foo2", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "224", + "s" : [ { + "value" : [ "", "define ", "Foo2", ": " ] + }, { + "r" : "225", + "s" : [ { + "value" : [ "FooWithDefault" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "ParameterRef", + "localId" : "225", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "name" : "FooWithDefault", + "annotation" : [ ] + } + } ] + } + } } /* MeasurementPeriodParameter @@ -4051,315 +4450,355 @@ define MeasurementPeriod: Interval[DateTime(2011, 1, 1), DateTime(2013, 1, 1)] o */ module.exports['MeasurementPeriodParameter'] = { - "library" : { - "localId" : "0", - "annotation" : [ { - "translatorVersion" : "3.27.0", - "translatorOptions" : "EnableDateRangeOptimization,EnableAnnotations,EnableResultTypes", - "signatureLevel" : "All", - "type" : "CqlToElmInfo" + "library" : { + "localId" : "0", + "annotation" : [ { + "type" : "CqlToElmInfo", + "translatorVersion" : "4.2.0", + "translatorOptions" : "EnableDateRangeOptimization,EnableAnnotations,EnableResultTypes", + "signatureLevel" : "All" + }, { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "222", + "s" : [ { + "value" : [ "", "library TestSnippet version '1'" ] + } ] + } + } ], + "identifier" : { + "id" : "TestSnippet", + "version" : "1" + }, + "schemaIdentifier" : { + "id" : "urn:hl7-org:elm", + "version" : "r1" + }, + "usings" : { + "def" : [ { + "localId" : "1", + "localIdentifier" : "System", + "uri" : "urn:hl7-org:elm-types:r1", + "annotation" : [ ] }, { - "type" : "Annotation", - "s" : { - "r" : "222", + "localId" : "206", + "localIdentifier" : "Simple", + "uri" : "https://github.com/cqframework/cql-execution/simple", + "version" : "1.0.0", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "206", + "s" : [ { + "value" : [ "", "using " ] + }, { + "s" : [ { + "value" : [ "Simple" ] + } ] + }, { + "value" : [ " version '1.0.0'" ] + } ] + } + } ] + } ] + }, + "parameters" : { + "def" : [ { + "localId" : "208", + "name" : "Measurement Period", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "208", "s" : [ { - "value" : [ "","library TestSnippet version '1'" ] + "value" : [ "", "parameter ", "\"Measurement Period\"", " " ] + }, { + "r" : "209", + "s" : [ { + "value" : [ "Interval<" ] + }, { + "r" : "210", + "s" : [ { + "value" : [ "DateTime" ] + } ] + }, { + "value" : [ ">" ] + } ] } ] - } - } ], - "identifier" : { - "id" : "TestSnippet", - "version" : "1" - }, - "schemaIdentifier" : { - "id" : "urn:hl7-org:elm", - "version" : "r1" - }, - "usings" : { - "def" : [ { - "localId" : "1", - "localIdentifier" : "System", - "uri" : "urn:hl7-org:elm-types:r1" - }, { - "localId" : "206", - "localIdentifier" : "Simple", - "uri" : "https://github.com/cqframework/cql-execution/simple", - "version" : "1.0.0", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "206", + } + } ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "214", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "215", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "parameterTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "209", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "211", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "212", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "210", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + } ] + }, + "contexts" : { + "def" : [ { + "localId" : "219", + "name" : "Patient", + "annotation" : [ ] + } ] + }, + "statements" : { + "def" : [ { + "localId" : "217", + "name" : "Patient", + "context" : "Patient", + "annotation" : [ ], + "expression" : { + "type" : "SingletonFrom", + "localId" : "218", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Retrieve", + "localId" : "216", + "dataType" : "{https://github.com/cqframework/cql-execution/simple}Patient", + "annotation" : [ ], + "include" : [ ], + "codeFilter" : [ ], + "dateFilter" : [ ], + "otherFilter" : [ ] + } + } + }, { + "localId" : "222", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "MeasurementPeriod", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "222", + "s" : [ { + "value" : [ "", "define ", "MeasurementPeriod", ": " ] + }, { + "r" : "253", + "s" : [ { + "r" : "247", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "231", "s" : [ { - "value" : [ "","using " ] - }, { - "s" : [ { - "value" : [ "Simple" ] - } ] - }, { - "value" : [ " version '1.0.0'" ] + "r" : "223", + "value" : [ "DateTime", "(", "2011", ", ", "1", ", ", "1", ")" ] } ] - } - } ] - } ] - }, - "parameters" : { - "def" : [ { - "localId" : "208", - "name" : "Measurement Period", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "208", + }, { + "value" : [ ", " ] + }, { + "r" : "243", "s" : [ { - "value" : [ "","parameter ","\"Measurement Period\""," " ] - }, { - "r" : "209", - "s" : [ { - "value" : [ "Interval<" ] - }, { - "r" : "210", - "s" : [ { - "value" : [ "DateTime" ] - } ] - }, { - "value" : [ ">" ] - } ] + "r" : "235", + "value" : [ "DateTime", "(", "2013", ", ", "1", ", ", "1", ")" ] } ] - } - } ], + }, { + "value" : [ "]" ] + } ] + }, { + "r" : "253", + "value" : [ " ", "overlaps", " " ] + }, { + "r" : "250", + "s" : [ { + "value" : [ "\"Measurement Period\"" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Overlaps", + "localId" : "253", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "254", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "255", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "256", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "257", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "Interval", + "localId" : "247", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], "resultTypeSpecifier" : { - "localId" : "214", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "215", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } + "type" : "IntervalTypeSpecifier", + "localId" : "248", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "249", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } }, - "parameterTypeSpecifier" : { - "localId" : "209", - "type" : "IntervalTypeSpecifier", - "resultTypeSpecifier" : { - "localId" : "211", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "212", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "pointType" : { - "localId" : "210", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - } ] - }, - "contexts" : { - "def" : [ { - "localId" : "219", - "name" : "Patient" - } ] - }, - "statements" : { - "def" : [ { - "localId" : "217", - "name" : "Patient", - "context" : "Patient", - "expression" : { - "localId" : "218", - "type" : "SingletonFrom", - "signature" : [ ], - "operand" : { - "localId" : "216", - "dataType" : "{https://github.com/cqframework/cql-execution/simple}Patient", - "type" : "Retrieve", - "include" : [ ], - "codeFilter" : [ ], - "dateFilter" : [ ], - "otherFilter" : [ ] - } + "low" : { + "type" : "DateTime", + "localId" : "231", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "232", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "233", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "234", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "223", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2011", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "224", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "225", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "243", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "244", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "245", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "246", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "235", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2013", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "236", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "237", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + } } - }, { - "localId" : "222", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "MeasurementPeriod", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "222", - "s" : [ { - "value" : [ "","define ","MeasurementPeriod",": " ] - }, { - "r" : "253", - "s" : [ { - "r" : "247", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "231", - "s" : [ { - "r" : "223", - "value" : [ "DateTime","(","2011",", ","1",", ","1",")" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "243", - "s" : [ { - "r" : "235", - "value" : [ "DateTime","(","2013",", ","1",", ","1",")" ] - } ] - }, { - "value" : [ "]" ] - } ] - }, { - "r" : "253", - "value" : [ " ","overlaps"," " ] - }, { - "r" : "250", - "s" : [ { - "value" : [ "\"Measurement Period\"" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "253", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "Overlaps", - "signature" : [ { - "localId" : "254", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "255", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "256", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "257", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "247", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "248", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "249", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "231", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "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" - }, { - "localId" : "234", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "223", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2011", - "type" : "Literal" - }, - "month" : { - "localId" : "224", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "225", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - } - }, - "high" : { - "localId" : "243", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "244", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "245", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "246", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "235", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2013", - "type" : "Literal" - }, - "month" : { - "localId" : "236", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "237", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - } - } - }, { - "localId" : "250", - "name" : "Measurement Period", - "type" : "ParameterRef", - "resultTypeSpecifier" : { - "localId" : "251", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "252", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - } ] + }, { + "type" : "ParameterRef", + "localId" : "250", + "name" : "Measurement Period", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "251", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "252", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } } - } ] - } - } + } ] + } + } ] + } + } } diff --git a/test/elm/query/data.js b/test/elm/query/data.js index af144a32..fa8089bb 100644 --- a/test/elm/query/data.js +++ b/test/elm/query/data.js @@ -20,678 +20,753 @@ define AmbulatoryEncountersIncludedInMP: [Encounter: "Ambulatory/ED Visit"] E wh */ module.exports['DateRangeOptimizedQuery'] = { - "library" : { - "localId" : "0", - "annotation" : [ { - "translatorVersion" : "3.27.0", - "translatorOptions" : "EnableDateRangeOptimization,EnableAnnotations,EnableResultTypes", - "signatureLevel" : "All", - "type" : "CqlToElmInfo" + "library" : { + "localId" : "0", + "annotation" : [ { + "type" : "CqlToElmInfo", + "translatorVersion" : "4.2.0", + "translatorOptions" : "EnableDateRangeOptimization,EnableAnnotations,EnableResultTypes", + "signatureLevel" : "All" + }, { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "327", + "s" : [ { + "value" : [ "", "library TestSnippet version '1'" ] + } ] + } + } ], + "identifier" : { + "id" : "TestSnippet", + "version" : "1" + }, + "schemaIdentifier" : { + "id" : "urn:hl7-org:elm", + "version" : "r1" + }, + "usings" : { + "def" : [ { + "localId" : "1", + "localIdentifier" : "System", + "uri" : "urn:hl7-org:elm-types:r1", + "annotation" : [ ] }, { - "type" : "Annotation", - "s" : { - "r" : "327", + "localId" : "206", + "localIdentifier" : "Simple", + "uri" : "https://github.com/cqframework/cql-execution/simple", + "version" : "1.0.0", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "206", + "s" : [ { + "value" : [ "", "using " ] + }, { + "s" : [ { + "value" : [ "Simple" ] + } ] + }, { + "value" : [ " version '1.0.0'" ] + } ] + } + } ] + } ] + }, + "parameters" : { + "def" : [ { + "localId" : "210", + "name" : "MeasurementPeriod", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "210", + "s" : [ { + "value" : [ "", "parameter ", "MeasurementPeriod", " default " ] + }, { + "r" : "235", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "219", + "s" : [ { + "r" : "211", + "value" : [ "DateTime", "(", "2013", ", ", "1", ", ", "1", ")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "231", + "s" : [ { + "r" : "223", + "value" : [ "DateTime", "(", "2014", ", ", "1", ", ", "1", ")" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "239", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "240", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "default" : { + "type" : "Interval", + "localId" : "235", + "lowClosed" : true, + "highClosed" : false, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "236", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "237", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "DateTime", + "localId" : "219", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "220", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "221", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "222", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "211", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2013", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "212", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "213", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "231", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "232", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "233", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "234", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "223", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2014", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "224", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "225", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + } + } + } + } ] + }, + "valueSets" : { + "def" : [ { + "localId" : "208", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}ValueSet", + "name" : "Ambulatory/ED Visit", + "id" : "2.16.840.1.113883.3.464.1003.101.12.1061", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "208", "s" : [ { - "value" : [ "","library TestSnippet version '1'" ] + "value" : [ "", "valueset ", "\"Ambulatory/ED Visit\"", ": ", "'2.16.840.1.113883.3.464.1003.101.12.1061'" ] } ] - } - } ], - "identifier" : { - "id" : "TestSnippet", - "version" : "1" - }, - "schemaIdentifier" : { - "id" : "urn:hl7-org:elm", - "version" : "r1" - }, - "usings" : { - "def" : [ { - "localId" : "1", - "localIdentifier" : "System", - "uri" : "urn:hl7-org:elm-types:r1" - }, { - "localId" : "206", - "localIdentifier" : "Simple", - "uri" : "https://github.com/cqframework/cql-execution/simple", - "version" : "1.0.0", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "206", + } + } ], + "codeSystem" : [ ] + } ] + }, + "contexts" : { + "def" : [ { + "localId" : "244", + "name" : "Patient", + "annotation" : [ ] + } ] + }, + "statements" : { + "def" : [ { + "localId" : "242", + "name" : "Patient", + "context" : "Patient", + "annotation" : [ ], + "expression" : { + "type" : "SingletonFrom", + "localId" : "243", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Retrieve", + "localId" : "241", + "dataType" : "{https://github.com/cqframework/cql-execution/simple}Patient", + "annotation" : [ ], + "include" : [ ], + "codeFilter" : [ ], + "dateFilter" : [ ], + "otherFilter" : [ ] + } + } + }, { + "localId" : "247", + "name" : "EncountersDuringMP", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "247", + "s" : [ { + "value" : [ "", "define ", "EncountersDuringMP", ": " ] + }, { + "r" : "278", + "s" : [ { + "s" : [ { + "r" : "248", "s" : [ { - "value" : [ "","using " ] - }, { - "s" : [ { - "value" : [ "Simple" ] - } ] + "r" : "249", + "s" : [ { + "r" : "249", + "s" : [ { + "value" : [ "[", "Encounter", "]" ] + } ] + } ] }, { - "value" : [ " version '1.0.0'" ] + "value" : [ " ", "E" ] } ] - } - } ] - } ] - }, - "parameters" : { - "def" : [ { - "localId" : "210", - "name" : "MeasurementPeriod", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "210", + } ] + }, { + "value" : [ " " ] + }, { + "r" : "266", + "s" : [ { + "value" : [ "where " ] + }, { + "r" : "266", "s" : [ { - "value" : [ "","parameter ","MeasurementPeriod"," default " ] + "r" : "258", + "s" : [ { + "r" : "257", + "s" : [ { + "value" : [ "E" ] + } ] + }, { + "value" : [ "." ] + }, { + "r" : "258", + "s" : [ { + "value" : [ "period" ] + } ] + } ] }, { - "r" : "235", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "219", - "s" : [ { - "r" : "211", - "value" : [ "DateTime","(","2013",", ","1",", ","1",")" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "231", - "s" : [ { - "r" : "223", - "value" : [ "DateTime","(","2014",", ","1",", ","1",")" ] - } ] - }, { - "value" : [ ")" ] - } ] + "r" : "266", + "value" : [ " ", "during", " " ] + }, { + "r" : "263", + "s" : [ { + "value" : [ "MeasurementPeriod" ] + } ] } ] - } - } ], + } ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "281", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "282", + "name" : "{https://github.com/cqframework/cql-execution/simple}Encounter", + "annotation" : [ ] + } + }, + "expression" : { + "type" : "Query", + "localId" : "278", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "279", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "280", + "name" : "{https://github.com/cqframework/cql-execution/simple}Encounter", + "annotation" : [ ] + } + }, + "source" : [ { + "localId" : "248", + "alias" : "E", + "annotation" : [ ], "resultTypeSpecifier" : { - "localId" : "239", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "240", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } + "type" : "ListTypeSpecifier", + "localId" : "254", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "255", + "name" : "{https://github.com/cqframework/cql-execution/simple}Encounter", + "annotation" : [ ] + } }, - "default" : { - "localId" : "235", - "lowClosed" : true, - "highClosed" : false, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "236", + "expression" : { + "type" : "Retrieve", + "localId" : "249", + "dataType" : "{https://github.com/cqframework/cql-execution/simple}Encounter", + "dateProperty" : "period", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "252", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "253", + "name" : "{https://github.com/cqframework/cql-execution/simple}Encounter", + "annotation" : [ ] + } + }, + "dateRange" : { + "type" : "ParameterRef", + "localId" : "263", + "name" : "MeasurementPeriod", + "annotation" : [ ], + "resultTypeSpecifier" : { "type" : "IntervalTypeSpecifier", + "localId" : "264", + "annotation" : [ ], "pointType" : { - "localId" : "237", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "219", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "220", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "221", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "222", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "211", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2013", - "type" : "Literal" - }, - "month" : { - "localId" : "212", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "213", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - } - }, - "high" : { - "localId" : "231", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "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" - }, { - "localId" : "234", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "223", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2014", - "type" : "Literal" - }, - "month" : { - "localId" : "224", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "225", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" + "type" : "NamedTypeSpecifier", + "localId" : "265", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] } - } + } + }, + "include" : [ ], + "codeFilter" : [ ], + "dateFilter" : [ ], + "otherFilter" : [ ] } - } ] - }, - "valueSets" : { - "def" : [ { - "localId" : "208", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}ValueSet", - "name" : "Ambulatory/ED Visit", - "id" : "2.16.840.1.113883.3.464.1003.101.12.1061", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "208", + } ], + "let" : [ ], + "relationship" : [ ] + } + }, { + "localId" : "285", + "name" : "AmbulatoryEncountersDuringMP", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "285", + "s" : [ { + "value" : [ "", "define ", "AmbulatoryEncountersDuringMP", ": " ] + }, { + "r" : "320", + "s" : [ { + "s" : [ { + "r" : "286", "s" : [ { - "value" : [ "","valueset ","\"Ambulatory/ED Visit\"",": ","'2.16.840.1.113883.3.464.1003.101.12.1061'" ] + "r" : "289", + "s" : [ { + "r" : "289", + "s" : [ { + "value" : [ "[", "Encounter", ": " ] + }, { + "s" : [ { + "value" : [ "\"Ambulatory/ED Visit\"" ] + } ] + }, { + "value" : [ "]" ] + } ] + } ] + }, { + "value" : [ " ", "E" ] } ] - } - } ], - "codeSystem" : [ ] - } ] - }, - "contexts" : { - "def" : [ { - "localId" : "244", - "name" : "Patient" - } ] - }, - "statements" : { - "def" : [ { - "localId" : "242", - "name" : "Patient", - "context" : "Patient", - "expression" : { - "localId" : "243", - "type" : "SingletonFrom", - "signature" : [ ], - "operand" : { - "localId" : "241", - "dataType" : "{https://github.com/cqframework/cql-execution/simple}Patient", - "type" : "Retrieve", - "include" : [ ], - "codeFilter" : [ ], - "dateFilter" : [ ], - "otherFilter" : [ ] - } - } - }, { - "localId" : "247", - "name" : "EncountersDuringMP", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "247", + } ] + }, { + "value" : [ " " ] + }, { + "r" : "308", + "s" : [ { + "value" : [ "where " ] + }, { + "r" : "308", "s" : [ { - "value" : [ "","define ","EncountersDuringMP",": " ] + "r" : "300", + "s" : [ { + "r" : "299", + "s" : [ { + "value" : [ "E" ] + } ] + }, { + "value" : [ "." ] + }, { + "r" : "300", + "s" : [ { + "value" : [ "period" ] + } ] + } ] }, { - "r" : "278", - "s" : [ { - "s" : [ { - "r" : "248", - "s" : [ { - "r" : "249", - "s" : [ { - "r" : "249", - "s" : [ { - "value" : [ "[","Encounter","]" ] - } ] - } ] - }, { - "value" : [ " ","E" ] - } ] - } ] - }, { - "value" : [ " " ] - }, { - "r" : "266", - "s" : [ { - "value" : [ "where " ] - }, { - "r" : "266", - "s" : [ { - "r" : "258", - "s" : [ { - "r" : "257", - "s" : [ { - "value" : [ "E" ] - } ] - }, { - "value" : [ "." ] - }, { - "r" : "258", - "s" : [ { - "value" : [ "period" ] - } ] - } ] - }, { - "r" : "266", - "value" : [ " ","during"," " ] - }, { - "r" : "263", - "s" : [ { - "value" : [ "MeasurementPeriod" ] - } ] - } ] - } ] - } ] + "r" : "308", + "value" : [ " ", "during", " " ] + }, { + "r" : "305", + "s" : [ { + "value" : [ "MeasurementPeriod" ] + } ] } ] - } - } ], + } ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "323", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "324", + "name" : "{https://github.com/cqframework/cql-execution/simple}Encounter", + "annotation" : [ ] + } + }, + "expression" : { + "type" : "Query", + "localId" : "320", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "321", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "322", + "name" : "{https://github.com/cqframework/cql-execution/simple}Encounter", + "annotation" : [ ] + } + }, + "source" : [ { + "localId" : "286", + "alias" : "E", + "annotation" : [ ], "resultTypeSpecifier" : { - "localId" : "281", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "282", - "name" : "{https://github.com/cqframework/cql-execution/simple}Encounter", - "type" : "NamedTypeSpecifier" - } + "type" : "ListTypeSpecifier", + "localId" : "296", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "297", + "name" : "{https://github.com/cqframework/cql-execution/simple}Encounter", + "annotation" : [ ] + } }, "expression" : { - "localId" : "278", - "type" : "Query", - "resultTypeSpecifier" : { - "localId" : "279", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "280", - "name" : "{https://github.com/cqframework/cql-execution/simple}Encounter", - "type" : "NamedTypeSpecifier" - } - }, - "source" : [ { - "localId" : "248", - "alias" : "E", - "resultTypeSpecifier" : { - "localId" : "254", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "255", - "name" : "{https://github.com/cqframework/cql-execution/simple}Encounter", - "type" : "NamedTypeSpecifier" - } - }, - "expression" : { - "localId" : "249", - "dataType" : "{https://github.com/cqframework/cql-execution/simple}Encounter", - "dateProperty" : "period", - "type" : "Retrieve", - "resultTypeSpecifier" : { - "localId" : "252", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "253", - "name" : "{https://github.com/cqframework/cql-execution/simple}Encounter", - "type" : "NamedTypeSpecifier" - } - }, - "dateRange" : { - "localId" : "263", - "name" : "MeasurementPeriod", - "type" : "ParameterRef", - "resultTypeSpecifier" : { - "localId" : "264", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "265", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - }, - "include" : [ ], - "codeFilter" : [ ], - "dateFilter" : [ ], - "otherFilter" : [ ] + "type" : "Retrieve", + "localId" : "289", + "dataType" : "{https://github.com/cqframework/cql-execution/simple}Encounter", + "codeProperty" : "code", + "codeComparator" : "in", + "dateProperty" : "period", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "294", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "295", + "name" : "{https://github.com/cqframework/cql-execution/simple}Encounter", + "annotation" : [ ] + } + }, + "codes" : { + "type" : "ValueSetRef", + "localId" : "288", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}ValueSet", + "name" : "Ambulatory/ED Visit", + "preserve" : true, + "annotation" : [ ] + }, + "dateRange" : { + "type" : "ParameterRef", + "localId" : "305", + "name" : "MeasurementPeriod", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "306", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "307", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] } - } ], - "let" : [ ], - "relationship" : [ ] + } + }, + "include" : [ ], + "codeFilter" : [ ], + "dateFilter" : [ ], + "otherFilter" : [ ] } - }, { - "localId" : "285", - "name" : "AmbulatoryEncountersDuringMP", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "285", + } ], + "let" : [ ], + "relationship" : [ ] + } + }, { + "localId" : "327", + "name" : "AmbulatoryEncountersIncludedInMP", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "327", + "s" : [ { + "value" : [ "", "define ", "AmbulatoryEncountersIncludedInMP", ": " ] + }, { + "r" : "362", + "s" : [ { + "s" : [ { + "r" : "328", "s" : [ { - "value" : [ "","define ","AmbulatoryEncountersDuringMP",": " ] - }, { - "r" : "320", - "s" : [ { - "s" : [ { - "r" : "286", - "s" : [ { - "r" : "289", - "s" : [ { - "r" : "289", - "s" : [ { - "value" : [ "[","Encounter",": " ] - }, { - "s" : [ { - "value" : [ "\"Ambulatory/ED Visit\"" ] - } ] - }, { - "value" : [ "]" ] - } ] - } ] - }, { - "value" : [ " ","E" ] - } ] - } ] - }, { - "value" : [ " " ] - }, { - "r" : "308", + "r" : "331", + "s" : [ { + "r" : "331", + "s" : [ { + "value" : [ "[", "Encounter", ": " ] + }, { "s" : [ { - "value" : [ "where " ] - }, { - "r" : "308", - "s" : [ { - "r" : "300", - "s" : [ { - "r" : "299", - "s" : [ { - "value" : [ "E" ] - } ] - }, { - "value" : [ "." ] - }, { - "r" : "300", - "s" : [ { - "value" : [ "period" ] - } ] - } ] - }, { - "r" : "308", - "value" : [ " ","during"," " ] - }, { - "r" : "305", - "s" : [ { - "value" : [ "MeasurementPeriod" ] - } ] - } ] + "value" : [ "\"Ambulatory/ED Visit\"" ] } ] - } ] + }, { + "value" : [ "]" ] + } ] + } ] + }, { + "value" : [ " ", "E" ] } ] - } - } ], - "resultTypeSpecifier" : { - "localId" : "323", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "324", - "name" : "{https://github.com/cqframework/cql-execution/simple}Encounter", - "type" : "NamedTypeSpecifier" - } - }, - "expression" : { - "localId" : "320", - "type" : "Query", - "resultTypeSpecifier" : { - "localId" : "321", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "322", - "name" : "{https://github.com/cqframework/cql-execution/simple}Encounter", - "type" : "NamedTypeSpecifier" - } - }, - "source" : [ { - "localId" : "286", - "alias" : "E", - "resultTypeSpecifier" : { - "localId" : "296", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "297", - "name" : "{https://github.com/cqframework/cql-execution/simple}Encounter", - "type" : "NamedTypeSpecifier" - } - }, - "expression" : { - "localId" : "289", - "dataType" : "{https://github.com/cqframework/cql-execution/simple}Encounter", - "codeProperty" : "code", - "codeComparator" : "in", - "dateProperty" : "period", - "type" : "Retrieve", - "resultTypeSpecifier" : { - "localId" : "294", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "295", - "name" : "{https://github.com/cqframework/cql-execution/simple}Encounter", - "type" : "NamedTypeSpecifier" - } - }, - "codes" : { - "localId" : "288", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}ValueSet", - "name" : "Ambulatory/ED Visit", - "preserve" : true, - "type" : "ValueSetRef" - }, - "dateRange" : { - "localId" : "305", - "name" : "MeasurementPeriod", - "type" : "ParameterRef", - "resultTypeSpecifier" : { - "localId" : "306", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "307", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - }, - "include" : [ ], - "codeFilter" : [ ], - "dateFilter" : [ ], - "otherFilter" : [ ] - } - } ], - "let" : [ ], - "relationship" : [ ] - } - }, { - "localId" : "327", - "name" : "AmbulatoryEncountersIncludedInMP", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "327", + } ] + }, { + "value" : [ " " ] + }, { + "r" : "350", + "s" : [ { + "value" : [ "where " ] + }, { + "r" : "350", "s" : [ { - "value" : [ "","define ","AmbulatoryEncountersIncludedInMP",": " ] + "r" : "342", + "s" : [ { + "r" : "341", + "s" : [ { + "value" : [ "E" ] + } ] + }, { + "value" : [ "." ] + }, { + "r" : "342", + "s" : [ { + "value" : [ "period" ] + } ] + } ] }, { - "r" : "362", - "s" : [ { - "s" : [ { - "r" : "328", - "s" : [ { - "r" : "331", - "s" : [ { - "r" : "331", - "s" : [ { - "value" : [ "[","Encounter",": " ] - }, { - "s" : [ { - "value" : [ "\"Ambulatory/ED Visit\"" ] - } ] - }, { - "value" : [ "]" ] - } ] - } ] - }, { - "value" : [ " ","E" ] - } ] - } ] - }, { - "value" : [ " " ] - }, { - "r" : "350", - "s" : [ { - "value" : [ "where " ] - }, { - "r" : "350", - "s" : [ { - "r" : "342", - "s" : [ { - "r" : "341", - "s" : [ { - "value" : [ "E" ] - } ] - }, { - "value" : [ "." ] - }, { - "r" : "342", - "s" : [ { - "value" : [ "period" ] - } ] - } ] - }, { - "r" : "350", - "value" : [ " ","included in"," " ] - }, { - "r" : "347", - "s" : [ { - "value" : [ "MeasurementPeriod" ] - } ] - } ] - } ] - } ] + "r" : "350", + "value" : [ " ", "included in", " " ] + }, { + "r" : "347", + "s" : [ { + "value" : [ "MeasurementPeriod" ] + } ] } ] - } - } ], + } ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "365", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "366", + "name" : "{https://github.com/cqframework/cql-execution/simple}Encounter", + "annotation" : [ ] + } + }, + "expression" : { + "type" : "Query", + "localId" : "362", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "363", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "364", + "name" : "{https://github.com/cqframework/cql-execution/simple}Encounter", + "annotation" : [ ] + } + }, + "source" : [ { + "localId" : "328", + "alias" : "E", + "annotation" : [ ], "resultTypeSpecifier" : { - "localId" : "365", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "366", - "name" : "{https://github.com/cqframework/cql-execution/simple}Encounter", - "type" : "NamedTypeSpecifier" - } + "type" : "ListTypeSpecifier", + "localId" : "338", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "339", + "name" : "{https://github.com/cqframework/cql-execution/simple}Encounter", + "annotation" : [ ] + } }, "expression" : { - "localId" : "362", - "type" : "Query", - "resultTypeSpecifier" : { - "localId" : "363", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "364", - "name" : "{https://github.com/cqframework/cql-execution/simple}Encounter", - "type" : "NamedTypeSpecifier" - } - }, - "source" : [ { - "localId" : "328", - "alias" : "E", - "resultTypeSpecifier" : { - "localId" : "338", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "339", - "name" : "{https://github.com/cqframework/cql-execution/simple}Encounter", - "type" : "NamedTypeSpecifier" - } - }, - "expression" : { - "localId" : "331", - "dataType" : "{https://github.com/cqframework/cql-execution/simple}Encounter", - "codeProperty" : "code", - "codeComparator" : "in", - "dateProperty" : "period", - "type" : "Retrieve", - "resultTypeSpecifier" : { - "localId" : "336", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "337", - "name" : "{https://github.com/cqframework/cql-execution/simple}Encounter", - "type" : "NamedTypeSpecifier" - } - }, - "codes" : { - "localId" : "330", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}ValueSet", - "name" : "Ambulatory/ED Visit", - "preserve" : true, - "type" : "ValueSetRef" - }, - "dateRange" : { - "localId" : "347", - "name" : "MeasurementPeriod", - "type" : "ParameterRef", - "resultTypeSpecifier" : { - "localId" : "348", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "349", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - }, - "include" : [ ], - "codeFilter" : [ ], - "dateFilter" : [ ], - "otherFilter" : [ ] + "type" : "Retrieve", + "localId" : "331", + "dataType" : "{https://github.com/cqframework/cql-execution/simple}Encounter", + "codeProperty" : "code", + "codeComparator" : "in", + "dateProperty" : "period", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "336", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "337", + "name" : "{https://github.com/cqframework/cql-execution/simple}Encounter", + "annotation" : [ ] + } + }, + "codes" : { + "type" : "ValueSetRef", + "localId" : "330", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}ValueSet", + "name" : "Ambulatory/ED Visit", + "preserve" : true, + "annotation" : [ ] + }, + "dateRange" : { + "type" : "ParameterRef", + "localId" : "347", + "name" : "MeasurementPeriod", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "348", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "349", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] } - } ], - "let" : [ ], - "relationship" : [ ] + } + }, + "include" : [ ], + "codeFilter" : [ ], + "dateFilter" : [ ], + "otherFilter" : [ ] } - } ] - } - } + } ], + "let" : [ ], + "relationship" : [ ] + } + } ] + } + } } /* FunctionQuery @@ -703,436 +778,498 @@ define queryWithThis: "FunctionWithThis"([Encounter] E) > 0 */ module.exports['FunctionQuery'] = { - "library" : { - "localId" : "0", - "annotation" : [ { - "translatorVersion" : "3.27.0", - "translatorOptions" : "EnableDateRangeOptimization,EnableAnnotations,EnableResultTypes", - "signatureLevel" : "All", - "type" : "CqlToElmInfo" + "library" : { + "localId" : "0", + "annotation" : [ { + "type" : "CqlToElmInfo", + "translatorVersion" : "4.2.0", + "translatorOptions" : "EnableDateRangeOptimization,EnableAnnotations,EnableResultTypes", + "signatureLevel" : "All" + }, { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "260", + "s" : [ { + "value" : [ "", "library TestSnippet version '1'" ] + } ] + } + } ], + "identifier" : { + "id" : "TestSnippet", + "version" : "1" + }, + "schemaIdentifier" : { + "id" : "urn:hl7-org:elm", + "version" : "r1" + }, + "usings" : { + "def" : [ { + "localId" : "1", + "localIdentifier" : "System", + "uri" : "urn:hl7-org:elm-types:r1", + "annotation" : [ ] }, { - "type" : "Annotation", - "s" : { - "r" : "260", + "localId" : "206", + "localIdentifier" : "Simple", + "uri" : "https://github.com/cqframework/cql-execution/simple", + "version" : "1.0.0", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "206", "s" : [ { - "value" : [ "","library TestSnippet version '1'" ] + "value" : [ "", "using " ] + }, { + "s" : [ { + "value" : [ "Simple" ] + } ] + }, { + "value" : [ " version '1.0.0'" ] } ] - } - } ], - "identifier" : { - "id" : "TestSnippet", - "version" : "1" - }, - "schemaIdentifier" : { - "id" : "urn:hl7-org:elm", - "version" : "r1" - }, - "usings" : { - "def" : [ { - "localId" : "1", - "localIdentifier" : "System", - "uri" : "urn:hl7-org:elm-types:r1" - }, { - "localId" : "206", - "localIdentifier" : "Simple", - "uri" : "https://github.com/cqframework/cql-execution/simple", - "version" : "1.0.0", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "206", + } + } ] + } ] + }, + "contexts" : { + "def" : [ { + "localId" : "211", + "name" : "Patient", + "annotation" : [ ] + } ] + }, + "statements" : { + "def" : [ { + "localId" : "209", + "name" : "Patient", + "context" : "Patient", + "annotation" : [ ], + "expression" : { + "type" : "SingletonFrom", + "localId" : "210", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Retrieve", + "localId" : "208", + "dataType" : "{https://github.com/cqframework/cql-execution/simple}Patient", + "annotation" : [ ], + "include" : [ ], + "codeFilter" : [ ], + "dateFilter" : [ ], + "otherFilter" : [ ] + } + } + }, { + "type" : "FunctionDef", + "localId" : "212", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "name" : "FunctionWithThis", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "212", + "s" : [ { + "value" : [ "", "define function \"FunctionWithThis\"(Encounter List<\"Encounter\">): " ] + }, { + "r" : "254", + "s" : [ { + "r" : "254", + "s" : [ { + "value" : [ "Count", "(" ] + }, { + "r" : "245", "s" : [ { - "value" : [ "","using " ] + "s" : [ { + "r" : "220", + "s" : [ { + "r" : "229", + "s" : [ { + "s" : [ { + "value" : [ "Encounter", ".", "period" ] + } ] + } ] + }, { + "value" : [ " ", "EncounterPeriod" ] + } ] + } ] }, { - "s" : [ { - "value" : [ "Simple" ] - } ] + "value" : [ " " ] }, { - "value" : [ " version '1.0.0'" ] + "r" : "238", + "s" : [ { + "value" : [ "return " ] + }, { + "r" : "239", + "s" : [ { + "value" : [ "EncounterPeriod" ] + } ] + } ] } ] - } + }, { + "value" : [ ")" ] + } ] + } ] } ] - } ] - }, - "contexts" : { - "def" : [ { - "localId" : "211", - "name" : "Patient" - } ] - }, - "statements" : { - "def" : [ { - "localId" : "209", - "name" : "Patient", - "context" : "Patient", - "expression" : { - "localId" : "210", - "type" : "SingletonFrom", - "signature" : [ ], - "operand" : { - "localId" : "208", - "dataType" : "{https://github.com/cqframework/cql-execution/simple}Patient", - "type" : "Retrieve", - "include" : [ ], - "codeFilter" : [ ], - "dateFilter" : [ ], - "otherFilter" : [ ] - } + } + } ], + "expression" : { + "type" : "Count", + "localId" : "254", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ], + "signature" : [ { + "type" : "ListTypeSpecifier", + "localId" : "255", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "256", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "257", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } } - }, { - "localId" : "212", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "name" : "FunctionWithThis", - "context" : "Patient", - "accessLevel" : "Public", - "type" : "FunctionDef", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "212", - "s" : [ { - "value" : [ "","define function \"FunctionWithThis\"(Encounter List<\"Encounter\">): " ] - }, { - "r" : "254", - "s" : [ { - "r" : "254", - "s" : [ { - "value" : [ "Count","(" ] - }, { - "r" : "245", - "s" : [ { - "s" : [ { - "r" : "220", - "s" : [ { - "r" : "229", - "s" : [ { - "s" : [ { - "value" : [ "Encounter",".","period" ] - } ] - } ] - }, { - "value" : [ " ","EncounterPeriod" ] - } ] - } ] - }, { - "value" : [ " " ] - }, { - "r" : "238", - "s" : [ { - "value" : [ "return " ] - }, { - "r" : "239", - "s" : [ { - "value" : [ "EncounterPeriod" ] - } ] - } ] - } ] - }, { - "value" : [ ")" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "254", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "Count", - "signature" : [ { - "localId" : "255", + } ], + "source" : { + "type" : "Query", + "localId" : "245", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "246", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "247", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "248", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + }, + "source" : [ { + "localId" : "220", + "alias" : "EncounterPeriod", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "234", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "235", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "236", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + }, + "expression" : { + "type" : "Query", + "localId" : "229", + "annotation" : [ ], + "resultTypeSpecifier" : { "type" : "ListTypeSpecifier", + "localId" : "231", + "annotation" : [ ], "elementType" : { - "localId" : "256", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "257", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } + "type" : "IntervalTypeSpecifier", + "localId" : "232", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "233", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } } - } ], - "source" : { - "localId" : "245", - "type" : "Query", - "resultTypeSpecifier" : { - "localId" : "246", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "247", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "248", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - }, - "source" : [ { - "localId" : "220", - "alias" : "EncounterPeriod", - "resultTypeSpecifier" : { - "localId" : "234", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "235", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "236", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - }, - "expression" : { - "localId" : "229", - "type" : "Query", - "resultTypeSpecifier" : { - "localId" : "231", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "232", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "233", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - }, - "source" : [ { - "localId" : "228", - "alias" : "$this", - "expression" : { - "localId" : "221", - "name" : "Encounter", - "type" : "OperandRef" - } - } ], - "let" : [ ], - "relationship" : [ ], - "where" : { - "localId" : "225", - "type" : "Not", - "signature" : [ ], - "operand" : { - "localId" : "224", - "type" : "IsNull", - "signature" : [ ], - "operand" : { - "localId" : "223", - "path" : "period", - "type" : "Property", - "source" : { - "localId" : "222", - "name" : "$this", - "type" : "AliasRef" - } - } - } - }, - "return" : { - "localId" : "230", - "distinct" : false, - "expression" : { - "localId" : "227", - "path" : "period", - "type" : "Property", - "source" : { - "localId" : "226", - "name" : "$this", - "type" : "AliasRef" - } - } - } - } - } ], - "let" : [ ], - "relationship" : [ ], - "return" : { - "localId" : "238", - "resultTypeSpecifier" : { - "localId" : "242", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "243", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "244", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - }, - "expression" : { - "localId" : "239", - "name" : "EncounterPeriod", + }, + "source" : [ { + "localId" : "228", + "alias" : "$this", + "annotation" : [ ], + "expression" : { + "type" : "OperandRef", + "localId" : "221", + "name" : "Encounter", + "annotation" : [ ] + } + } ], + "let" : [ ], + "relationship" : [ ], + "where" : { + "type" : "Not", + "localId" : "225", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "IsNull", + "localId" : "224", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Property", + "localId" : "223", + "path" : "period", + "annotation" : [ ], + "source" : { "type" : "AliasRef", - "resultTypeSpecifier" : { - "localId" : "240", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "241", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - } + "localId" : "222", + "name" : "$this", + "annotation" : [ ] + } + } } - } - }, - "operand" : [ { - "localId" : "217", - "name" : "Encounter", - "operandTypeSpecifier" : { - "localId" : "213", - "type" : "ListTypeSpecifier", - "resultTypeSpecifier" : { - "localId" : "215", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "216", - "name" : "{https://github.com/cqframework/cql-execution/simple}Encounter", - "type" : "NamedTypeSpecifier" - } - }, - "elementType" : { - "localId" : "214", - "resultTypeName" : "{https://github.com/cqframework/cql-execution/simple}Encounter", - "name" : "{https://github.com/cqframework/cql-execution/simple}Encounter", - "type" : "NamedTypeSpecifier" + }, + "return" : { + "localId" : "230", + "distinct" : false, + "annotation" : [ ], + "expression" : { + "type" : "Property", + "localId" : "227", + "path" : "period", + "annotation" : [ ], + "source" : { + "type" : "AliasRef", + "localId" : "226", + "name" : "$this", + "annotation" : [ ] + } } - } - } ] - }, { - "localId" : "260", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "queryWithThis", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "260", + } + } + } ], + "let" : [ ], + "relationship" : [ ], + "return" : { + "localId" : "238", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "242", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "243", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "244", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + }, + "expression" : { + "type" : "AliasRef", + "localId" : "239", + "name" : "EncounterPeriod", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "240", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "241", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + } + } + } + }, + "operand" : [ { + "localId" : "217", + "name" : "Encounter", + "annotation" : [ ], + "operandTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "213", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "215", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "216", + "name" : "{https://github.com/cqframework/cql-execution/simple}Encounter", + "annotation" : [ ] + } + }, + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "214", + "resultTypeName" : "{https://github.com/cqframework/cql-execution/simple}Encounter", + "name" : "{https://github.com/cqframework/cql-execution/simple}Encounter", + "annotation" : [ ] + } + } + } ] + }, { + "localId" : "260", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "queryWithThis", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "260", + "s" : [ { + "value" : [ "", "define ", "queryWithThis", ": " ] + }, { + "r" : "261", + "s" : [ { + "r" : "274", + "s" : [ { + "value" : [ "\"FunctionWithThis\"", "(" ] + }, { + "r" : "271", "s" : [ { - "value" : [ "","define ","queryWithThis",": " ] - }, { - "r" : "261", - "s" : [ { - "r" : "274", + "s" : [ { + "r" : "262", + "s" : [ { + "r" : "263", "s" : [ { - "value" : [ "\"FunctionWithThis\"","(" ] - }, { - "r" : "271", - "s" : [ { - "s" : [ { - "r" : "262", - "s" : [ { - "r" : "263", - "s" : [ { - "r" : "263", - "s" : [ { - "value" : [ "[","Encounter","]" ] - } ] - } ] - }, { - "value" : [ " ","E" ] - } ] - } ] - } ] - }, { - "value" : [ ")" ] + "r" : "263", + "s" : [ { + "value" : [ "[", "Encounter", "]" ] + } ] } ] - }, { - "r" : "277", - "value" : [ " ",">"," ","0" ] - } ] + }, { + "value" : [ " ", "E" ] + } ] + } ] } ] - } + }, { + "value" : [ ")" ] + } ] + }, { + "r" : "277", + "value" : [ " ", ">", " ", "0" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Greater", + "localId" : "261", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "278", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "279", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "FunctionRef", + "localId" : "274", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "name" : "FunctionWithThis", + "annotation" : [ ], + "signature" : [ { + "type" : "ListTypeSpecifier", + "localId" : "275", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "276", + "name" : "{https://github.com/cqframework/cql-execution/simple}Encounter", + "annotation" : [ ] + } } ], - "expression" : { - "localId" : "261", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "Greater", - "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" : "274", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "name" : "FunctionWithThis", - "type" : "FunctionRef", - "signature" : [ { - "localId" : "275", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "276", - "name" : "{https://github.com/cqframework/cql-execution/simple}Encounter", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "271", - "type" : "Query", - "resultTypeSpecifier" : { - "localId" : "272", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "273", - "name" : "{https://github.com/cqframework/cql-execution/simple}Encounter", - "type" : "NamedTypeSpecifier" - } - }, - "source" : [ { - "localId" : "262", - "alias" : "E", - "resultTypeSpecifier" : { - "localId" : "268", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "269", - "name" : "{https://github.com/cqframework/cql-execution/simple}Encounter", - "type" : "NamedTypeSpecifier" - } - }, - "expression" : { - "localId" : "263", - "dataType" : "{https://github.com/cqframework/cql-execution/simple}Encounter", - "type" : "Retrieve", - "resultTypeSpecifier" : { - "localId" : "266", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "267", - "name" : "{https://github.com/cqframework/cql-execution/simple}Encounter", - "type" : "NamedTypeSpecifier" - } - }, - "include" : [ ], - "codeFilter" : [ ], - "dateFilter" : [ ], - "otherFilter" : [ ] - } - } ], - "let" : [ ], - "relationship" : [ ] - } ] - }, { - "localId" : "277", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } ] - } - } ] - } - } + "operand" : [ { + "type" : "Query", + "localId" : "271", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "272", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "273", + "name" : "{https://github.com/cqframework/cql-execution/simple}Encounter", + "annotation" : [ ] + } + }, + "source" : [ { + "localId" : "262", + "alias" : "E", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "268", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "269", + "name" : "{https://github.com/cqframework/cql-execution/simple}Encounter", + "annotation" : [ ] + } + }, + "expression" : { + "type" : "Retrieve", + "localId" : "263", + "dataType" : "{https://github.com/cqframework/cql-execution/simple}Encounter", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "266", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "267", + "name" : "{https://github.com/cqframework/cql-execution/simple}Encounter", + "annotation" : [ ] + } + }, + "include" : [ ], + "codeFilter" : [ ], + "dateFilter" : [ ], + "otherFilter" : [ ] + } + } ], + "let" : [ ], + "relationship" : [ ] + } ] + }, { + "type" : "Literal", + "localId" : "277", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } ] + } + } ] + } + } } /* IncludesQuery @@ -1145,428 +1282,480 @@ define MPIncludedAmbulatoryEncounters: [Encounter: "Ambulatory/ED Visit"] E wher */ module.exports['IncludesQuery'] = { - "library" : { - "localId" : "0", - "annotation" : [ { - "translatorVersion" : "3.27.0", - "translatorOptions" : "EnableDateRangeOptimization,EnableAnnotations,EnableResultTypes", - "signatureLevel" : "All", - "type" : "CqlToElmInfo" + "library" : { + "localId" : "0", + "annotation" : [ { + "type" : "CqlToElmInfo", + "translatorVersion" : "4.2.0", + "translatorOptions" : "EnableDateRangeOptimization,EnableAnnotations,EnableResultTypes", + "signatureLevel" : "All" + }, { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "247", + "s" : [ { + "value" : [ "", "library TestSnippet version '1'" ] + } ] + } + } ], + "identifier" : { + "id" : "TestSnippet", + "version" : "1" + }, + "schemaIdentifier" : { + "id" : "urn:hl7-org:elm", + "version" : "r1" + }, + "usings" : { + "def" : [ { + "localId" : "1", + "localIdentifier" : "System", + "uri" : "urn:hl7-org:elm-types:r1", + "annotation" : [ ] }, { - "type" : "Annotation", - "s" : { - "r" : "247", + "localId" : "206", + "localIdentifier" : "Simple", + "uri" : "https://github.com/cqframework/cql-execution/simple", + "version" : "1.0.0", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "206", "s" : [ { - "value" : [ "","library TestSnippet version '1'" ] + "value" : [ "", "using " ] + }, { + "s" : [ { + "value" : [ "Simple" ] + } ] + }, { + "value" : [ " version '1.0.0'" ] } ] - } - } ], - "identifier" : { - "id" : "TestSnippet", - "version" : "1" - }, - "schemaIdentifier" : { - "id" : "urn:hl7-org:elm", - "version" : "r1" - }, - "usings" : { - "def" : [ { - "localId" : "1", - "localIdentifier" : "System", - "uri" : "urn:hl7-org:elm-types:r1" - }, { - "localId" : "206", - "localIdentifier" : "Simple", - "uri" : "https://github.com/cqframework/cql-execution/simple", - "version" : "1.0.0", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "206", - "s" : [ { - "value" : [ "","using " ] - }, { - "s" : [ { - "value" : [ "Simple" ] - } ] - }, { - "value" : [ " version '1.0.0'" ] - } ] - } + } + } ] + } ] + }, + "parameters" : { + "def" : [ { + "localId" : "210", + "name" : "MeasurementPeriod", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "210", + "s" : [ { + "value" : [ "", "parameter ", "MeasurementPeriod", " default " ] + }, { + "r" : "235", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "219", + "s" : [ { + "r" : "211", + "value" : [ "DateTime", "(", "2013", ", ", "1", ", ", "1", ")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "231", + "s" : [ { + "r" : "223", + "value" : [ "DateTime", "(", "2014", ", ", "1", ", ", "1", ")" ] + } ] + }, { + "value" : [ ")" ] + } ] } ] - } ] - }, - "parameters" : { - "def" : [ { - "localId" : "210", - "name" : "MeasurementPeriod", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "210", - "s" : [ { - "value" : [ "","parameter ","MeasurementPeriod"," default " ] - }, { - "r" : "235", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "219", - "s" : [ { - "r" : "211", - "value" : [ "DateTime","(","2013",", ","1",", ","1",")" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "231", - "s" : [ { - "r" : "223", - "value" : [ "DateTime","(","2014",", ","1",", ","1",")" ] - } ] - }, { - "value" : [ ")" ] - } ] - } ] - } + } + } ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "239", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "240", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "default" : { + "type" : "Interval", + "localId" : "235", + "lowClosed" : true, + "highClosed" : false, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "236", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "237", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "DateTime", + "localId" : "219", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "220", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "221", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "222", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] } ], - "resultTypeSpecifier" : { - "localId" : "239", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "240", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } + "year" : { + "type" : "Literal", + "localId" : "211", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2013", + "annotation" : [ ] }, - "default" : { - "localId" : "235", - "lowClosed" : true, - "highClosed" : false, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "236", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "237", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "219", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "220", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "221", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "222", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "211", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2013", - "type" : "Literal" - }, - "month" : { - "localId" : "212", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "213", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - } - }, - "high" : { - "localId" : "231", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "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" - }, { - "localId" : "234", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "223", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2014", - "type" : "Literal" - }, - "month" : { - "localId" : "224", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "225", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - } - } + "month" : { + "type" : "Literal", + "localId" : "212", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "213", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] } - } ] - }, - "valueSets" : { - "def" : [ { - "localId" : "208", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}ValueSet", - "name" : "Ambulatory/ED Visit", - "id" : "2.16.840.1.113883.3.464.1003.101.12.1061", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "208", - "s" : [ { - "value" : [ "","valueset ","\"Ambulatory/ED Visit\"",": ","'2.16.840.1.113883.3.464.1003.101.12.1061'" ] - } ] - } + }, + "high" : { + "type" : "DateTime", + "localId" : "231", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "232", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "233", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "234", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] } ], - "codeSystem" : [ ] - } ] - }, - "contexts" : { - "def" : [ { - "localId" : "244", - "name" : "Patient" - } ] - }, - "statements" : { - "def" : [ { - "localId" : "242", - "name" : "Patient", - "context" : "Patient", - "expression" : { - "localId" : "243", - "type" : "SingletonFrom", - "signature" : [ ], - "operand" : { - "localId" : "241", - "dataType" : "{https://github.com/cqframework/cql-execution/simple}Patient", - "type" : "Retrieve", - "include" : [ ], - "codeFilter" : [ ], - "dateFilter" : [ ], - "otherFilter" : [ ] - } + "year" : { + "type" : "Literal", + "localId" : "223", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2014", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "224", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "225", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] } - }, { - "localId" : "247", - "name" : "MPIncludedAmbulatoryEncounters", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "247", + } + } + } ] + }, + "valueSets" : { + "def" : [ { + "localId" : "208", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}ValueSet", + "name" : "Ambulatory/ED Visit", + "id" : "2.16.840.1.113883.3.464.1003.101.12.1061", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "208", + "s" : [ { + "value" : [ "", "valueset ", "\"Ambulatory/ED Visit\"", ": ", "'2.16.840.1.113883.3.464.1003.101.12.1061'" ] + } ] + } + } ], + "codeSystem" : [ ] + } ] + }, + "contexts" : { + "def" : [ { + "localId" : "244", + "name" : "Patient", + "annotation" : [ ] + } ] + }, + "statements" : { + "def" : [ { + "localId" : "242", + "name" : "Patient", + "context" : "Patient", + "annotation" : [ ], + "expression" : { + "type" : "SingletonFrom", + "localId" : "243", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Retrieve", + "localId" : "241", + "dataType" : "{https://github.com/cqframework/cql-execution/simple}Patient", + "annotation" : [ ], + "include" : [ ], + "codeFilter" : [ ], + "dateFilter" : [ ], + "otherFilter" : [ ] + } + } + }, { + "localId" : "247", + "name" : "MPIncludedAmbulatoryEncounters", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "247", + "s" : [ { + "value" : [ "", "define ", "MPIncludedAmbulatoryEncounters", ": " ] + }, { + "r" : "282", + "s" : [ { + "s" : [ { + "r" : "248", "s" : [ { - "value" : [ "","define ","MPIncludedAmbulatoryEncounters",": " ] - }, { - "r" : "282", - "s" : [ { + "r" : "251", + "s" : [ { + "r" : "251", + "s" : [ { + "value" : [ "[", "Encounter", ": " ] + }, { "s" : [ { - "r" : "248", - "s" : [ { - "r" : "251", - "s" : [ { - "r" : "251", - "s" : [ { - "value" : [ "[","Encounter",": " ] - }, { - "s" : [ { - "value" : [ "\"Ambulatory/ED Visit\"" ] - } ] - }, { - "value" : [ "]" ] - } ] - } ] - }, { - "value" : [ " ","E" ] - } ] - } ] - }, { - "value" : [ " " ] - }, { - "r" : "270", - "s" : [ { - "value" : [ "where " ] - }, { - "r" : "270", - "s" : [ { - "r" : "261", - "s" : [ { - "value" : [ "MeasurementPeriod" ] - } ] - }, { - "r" : "270", - "value" : [ " ","includes"," " ] - }, { - "r" : "265", - "s" : [ { - "r" : "264", - "s" : [ { - "value" : [ "E" ] - } ] - }, { - "value" : [ "." ] - }, { - "r" : "265", - "s" : [ { - "value" : [ "period" ] - } ] - } ] - } ] + "value" : [ "\"Ambulatory/ED Visit\"" ] } ] - } ] + }, { + "value" : [ "]" ] + } ] + } ] + }, { + "value" : [ " ", "E" ] } ] - } - } ], - "resultTypeSpecifier" : { - "localId" : "285", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "286", - "name" : "{https://github.com/cqframework/cql-execution/simple}Encounter", - "type" : "NamedTypeSpecifier" - } - }, - "expression" : { - "localId" : "282", - "type" : "Query", - "resultTypeSpecifier" : { - "localId" : "283", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "284", - "name" : "{https://github.com/cqframework/cql-execution/simple}Encounter", - "type" : "NamedTypeSpecifier" - } - }, - "source" : [ { - "localId" : "248", - "alias" : "E", - "resultTypeSpecifier" : { - "localId" : "258", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "259", - "name" : "{https://github.com/cqframework/cql-execution/simple}Encounter", - "type" : "NamedTypeSpecifier" - } - }, - "expression" : { - "localId" : "251", - "dataType" : "{https://github.com/cqframework/cql-execution/simple}Encounter", - "codeProperty" : "code", - "codeComparator" : "in", - "type" : "Retrieve", - "resultTypeSpecifier" : { - "localId" : "256", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "257", - "name" : "{https://github.com/cqframework/cql-execution/simple}Encounter", - "type" : "NamedTypeSpecifier" - } - }, - "codes" : { - "localId" : "250", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}ValueSet", - "name" : "Ambulatory/ED Visit", - "preserve" : true, - "type" : "ValueSetRef" - }, - "include" : [ ], - "codeFilter" : [ ], - "dateFilter" : [ ], - "otherFilter" : [ ] - } - } ], - "let" : [ ], - "relationship" : [ ], - "where" : { - "localId" : "270", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "Includes", - "signature" : [ { - "localId" : "271", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "272", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } + } ] + }, { + "value" : [ " " ] + }, { + "r" : "270", + "s" : [ { + "value" : [ "where " ] + }, { + "r" : "270", + "s" : [ { + "r" : "261", + "s" : [ { + "value" : [ "MeasurementPeriod" ] + } ] }, { - "localId" : "273", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "274", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "261", - "name" : "MeasurementPeriod", - "type" : "ParameterRef", - "resultTypeSpecifier" : { - "localId" : "262", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "263", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } + "r" : "270", + "value" : [ " ", "includes", " " ] }, { - "localId" : "265", - "path" : "period", - "scope" : "E", - "type" : "Property", - "resultTypeSpecifier" : { - "localId" : "268", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "269", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } + "r" : "265", + "s" : [ { + "r" : "264", + "s" : [ { + "value" : [ "E" ] + } ] + }, { + "value" : [ "." ] + }, { + "r" : "265", + "s" : [ { + "value" : [ "period" ] + } ] + } ] } ] - } + } ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "285", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "286", + "name" : "{https://github.com/cqframework/cql-execution/simple}Encounter", + "annotation" : [ ] + } + }, + "expression" : { + "type" : "Query", + "localId" : "282", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "283", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "284", + "name" : "{https://github.com/cqframework/cql-execution/simple}Encounter", + "annotation" : [ ] } - } ] - } - } + }, + "source" : [ { + "localId" : "248", + "alias" : "E", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "258", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "259", + "name" : "{https://github.com/cqframework/cql-execution/simple}Encounter", + "annotation" : [ ] + } + }, + "expression" : { + "type" : "Retrieve", + "localId" : "251", + "dataType" : "{https://github.com/cqframework/cql-execution/simple}Encounter", + "codeProperty" : "code", + "codeComparator" : "in", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "256", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "257", + "name" : "{https://github.com/cqframework/cql-execution/simple}Encounter", + "annotation" : [ ] + } + }, + "codes" : { + "type" : "ValueSetRef", + "localId" : "250", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}ValueSet", + "name" : "Ambulatory/ED Visit", + "preserve" : true, + "annotation" : [ ] + }, + "include" : [ ], + "codeFilter" : [ ], + "dateFilter" : [ ], + "otherFilter" : [ ] + } + } ], + "let" : [ ], + "relationship" : [ ], + "where" : { + "type" : "Includes", + "localId" : "270", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "271", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "272", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, { + "type" : "IntervalTypeSpecifier", + "localId" : "273", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "274", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "ParameterRef", + "localId" : "261", + "name" : "MeasurementPeriod", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "262", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "263", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + }, { + "type" : "Property", + "localId" : "265", + "path" : "period", + "scope" : "E", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "268", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "269", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + } ] + } + } + } ] + } + } } /* MultiSourceQuery @@ -1588,1368 +1777,1556 @@ define multiSourceWithArrays: */ module.exports['MultiSourceQuery'] = { - "library" : { - "localId" : "0", - "annotation" : [ { - "translatorVersion" : "3.27.0", - "translatorOptions" : "EnableDateRangeOptimization,EnableAnnotations,EnableResultTypes", - "signatureLevel" : "All", - "type" : "CqlToElmInfo" + "library" : { + "localId" : "0", + "annotation" : [ { + "type" : "CqlToElmInfo", + "translatorVersion" : "4.2.0", + "translatorOptions" : "EnableDateRangeOptimization,EnableAnnotations,EnableResultTypes", + "signatureLevel" : "All" + }, { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "423", + "s" : [ { + "value" : [ "", "library TestSnippet version '1'" ] + } ] + } + } ], + "identifier" : { + "id" : "TestSnippet", + "version" : "1" + }, + "schemaIdentifier" : { + "id" : "urn:hl7-org:elm", + "version" : "r1" + }, + "usings" : { + "def" : [ { + "localId" : "1", + "localIdentifier" : "System", + "uri" : "urn:hl7-org:elm-types:r1", + "annotation" : [ ] }, { - "type" : "Annotation", - "s" : { - "r" : "423", + "localId" : "206", + "localIdentifier" : "Simple", + "uri" : "https://github.com/cqframework/cql-execution/simple", + "version" : "1.0.0", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "206", + "s" : [ { + "value" : [ "", "using " ] + }, { + "s" : [ { + "value" : [ "Simple" ] + } ] + }, { + "value" : [ " version '1.0.0'" ] + } ] + } + } ] + } ] + }, + "parameters" : { + "def" : [ { + "localId" : "208", + "name" : "MeasurementPeriod", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "208", "s" : [ { - "value" : [ "","library TestSnippet version '1'" ] + "value" : [ "", "parameter ", "MeasurementPeriod", " default " ] + }, { + "r" : "233", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "217", + "s" : [ { + "r" : "209", + "value" : [ "DateTime", "(", "2013", ", ", "1", ", ", "1", ")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "229", + "s" : [ { + "r" : "221", + "value" : [ "DateTime", "(", "2014", ", ", "1", ", ", "1", ")" ] + } ] + }, { + "value" : [ ")" ] + } ] } ] - } - } ], - "identifier" : { - "id" : "TestSnippet", - "version" : "1" - }, - "schemaIdentifier" : { - "id" : "urn:hl7-org:elm", - "version" : "r1" - }, - "usings" : { - "def" : [ { - "localId" : "1", - "localIdentifier" : "System", - "uri" : "urn:hl7-org:elm-types:r1" - }, { - "localId" : "206", - "localIdentifier" : "Simple", - "uri" : "https://github.com/cqframework/cql-execution/simple", - "version" : "1.0.0", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "206", + } + } ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "237", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "238", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "default" : { + "type" : "Interval", + "localId" : "233", + "lowClosed" : true, + "highClosed" : false, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "234", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "235", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "low" : { + "type" : "DateTime", + "localId" : "217", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "218", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "219", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "220", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "209", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2013", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "210", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "211", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + } + }, + "high" : { + "type" : "DateTime", + "localId" : "229", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "230", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "231", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "232", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "221", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2014", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "222", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "223", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + } + } + } + } ] + }, + "contexts" : { + "def" : [ { + "localId" : "242", + "name" : "Patient", + "annotation" : [ ] + } ] + }, + "statements" : { + "def" : [ { + "localId" : "240", + "name" : "Patient", + "context" : "Patient", + "annotation" : [ ], + "expression" : { + "type" : "SingletonFrom", + "localId" : "241", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Retrieve", + "localId" : "239", + "dataType" : "{https://github.com/cqframework/cql-execution/simple}Patient", + "annotation" : [ ], + "include" : [ ], + "codeFilter" : [ ], + "dateFilter" : [ ], + "otherFilter" : [ ] + } + } + }, { + "localId" : "245", + "name" : "msQueryWhere", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "245", + "s" : [ { + "value" : [ "", "define ", "msQueryWhere", ": " ] + }, { + "r" : "289", + "s" : [ { + "s" : [ { + "value" : [ "from " ] + }, { + "r" : "246", "s" : [ { - "value" : [ "","using " ] + "r" : "247", + "s" : [ { + "r" : "247", + "s" : [ { + "value" : [ "[", "Encounter", "]" ] + } ] + } ] }, { - "s" : [ { - "value" : [ "Simple" ] - } ] + "value" : [ " ", "E" ] + } ] + }, { + "value" : [ ",\n" ] + }, { + "r" : "254", + "s" : [ { + "r" : "255", + "s" : [ { + "r" : "255", + "s" : [ { + "value" : [ "[", "Condition", "]" ] + } ] + } ] }, { - "value" : [ " version '1.0.0'" ] + "value" : [ " ", "C" ] } ] - } - } ] - } ] - }, - "parameters" : { - "def" : [ { - "localId" : "208", - "name" : "MeasurementPeriod", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "208", + } ] + }, { + "value" : [ "\n" ] + }, { + "r" : "273", + "s" : [ { + "value" : [ "where " ] + }, { + "r" : "273", "s" : [ { - "value" : [ "","parameter ","MeasurementPeriod"," default " ] + "r" : "265", + "s" : [ { + "r" : "264", + "s" : [ { + "value" : [ "E" ] + } ] + }, { + "value" : [ "." ] + }, { + "r" : "265", + "s" : [ { + "value" : [ "period" ] + } ] + } ] }, { - "r" : "233", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "217", - "s" : [ { - "r" : "209", - "value" : [ "DateTime","(","2013",", ","1",", ","1",")" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "229", - "s" : [ { - "r" : "221", - "value" : [ "DateTime","(","2014",", ","1",", ","1",")" ] - } ] - }, { - "value" : [ ")" ] - } ] + "r" : "273", + "value" : [ " ", "included in", " " ] + }, { + "r" : "270", + "s" : [ { + "value" : [ "MeasurementPeriod" ] + } ] } ] - } - } ], + } ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "296", + "annotation" : [ ], + "elementType" : { + "type" : "TupleTypeSpecifier", + "localId" : "297", + "annotation" : [ ], + "element" : [ { + "localId" : "298", + "name" : "E", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "299", + "name" : "{https://github.com/cqframework/cql-execution/simple}Encounter", + "annotation" : [ ] + } + }, { + "localId" : "300", + "name" : "C", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "301", + "name" : "{https://github.com/cqframework/cql-execution/simple}Condition", + "annotation" : [ ] + } + } ] + } + }, + "expression" : { + "type" : "Query", + "localId" : "289", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "290", + "annotation" : [ ], + "elementType" : { + "type" : "TupleTypeSpecifier", + "localId" : "291", + "annotation" : [ ], + "element" : [ { + "localId" : "292", + "name" : "E", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "293", + "name" : "{https://github.com/cqframework/cql-execution/simple}Encounter", + "annotation" : [ ] + } + }, { + "localId" : "294", + "name" : "C", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "295", + "name" : "{https://github.com/cqframework/cql-execution/simple}Condition", + "annotation" : [ ] + } + } ] + } + }, + "source" : [ { + "localId" : "246", + "alias" : "E", + "annotation" : [ ], "resultTypeSpecifier" : { - "localId" : "237", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "238", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } + "type" : "ListTypeSpecifier", + "localId" : "252", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "253", + "name" : "{https://github.com/cqframework/cql-execution/simple}Encounter", + "annotation" : [ ] + } }, - "default" : { - "localId" : "233", - "lowClosed" : true, - "highClosed" : false, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "234", + "expression" : { + "type" : "Retrieve", + "localId" : "247", + "dataType" : "{https://github.com/cqframework/cql-execution/simple}Encounter", + "dateProperty" : "period", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "250", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "251", + "name" : "{https://github.com/cqframework/cql-execution/simple}Encounter", + "annotation" : [ ] + } + }, + "dateRange" : { + "type" : "ParameterRef", + "localId" : "270", + "name" : "MeasurementPeriod", + "annotation" : [ ], + "resultTypeSpecifier" : { "type" : "IntervalTypeSpecifier", + "localId" : "271", + "annotation" : [ ], "pointType" : { - "localId" : "235", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "217", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "218", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "219", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "220", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "209", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2013", - "type" : "Literal" - }, - "month" : { - "localId" : "210", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "211", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - } - }, - "high" : { - "localId" : "229", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "230", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "231", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "232", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "221", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2014", - "type" : "Literal" - }, - "month" : { - "localId" : "222", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "223", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" + "type" : "NamedTypeSpecifier", + "localId" : "272", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] } - } + } + }, + "include" : [ ], + "codeFilter" : [ ], + "dateFilter" : [ ], + "otherFilter" : [ ] } - } ] - }, - "contexts" : { - "def" : [ { - "localId" : "242", - "name" : "Patient" - } ] - }, - "statements" : { - "def" : [ { - "localId" : "240", - "name" : "Patient", - "context" : "Patient", + }, { + "localId" : "254", + "alias" : "C", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "260", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "261", + "name" : "{https://github.com/cqframework/cql-execution/simple}Condition", + "annotation" : [ ] + } + }, "expression" : { - "localId" : "241", - "type" : "SingletonFrom", - "signature" : [ ], - "operand" : { - "localId" : "239", - "dataType" : "{https://github.com/cqframework/cql-execution/simple}Patient", - "type" : "Retrieve", - "include" : [ ], - "codeFilter" : [ ], - "dateFilter" : [ ], - "otherFilter" : [ ] - } + "type" : "Retrieve", + "localId" : "255", + "dataType" : "{https://github.com/cqframework/cql-execution/simple}Condition", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "258", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "259", + "name" : "{https://github.com/cqframework/cql-execution/simple}Condition", + "annotation" : [ ] + } + }, + "include" : [ ], + "codeFilter" : [ ], + "dateFilter" : [ ], + "otherFilter" : [ ] } - }, { - "localId" : "245", - "name" : "msQueryWhere", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "245", + } ], + "let" : [ ], + "relationship" : [ ], + "return" : { + "localId" : "285", + "distinct" : true, + "annotation" : [ ], + "expression" : { + "type" : "Tuple", + "localId" : "286", + "annotation" : [ ], + "element" : [ { + "name" : "E", + "value" : { + "type" : "AliasRef", + "localId" : "287", + "name" : "E", + "annotation" : [ ] + } + }, { + "name" : "C", + "value" : { + "type" : "AliasRef", + "localId" : "288", + "name" : "C", + "annotation" : [ ] + } + } ] + } + } + } + }, { + "localId" : "304", + "name" : "msQueryWhere2", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "304", + "s" : [ { + "value" : [ "", "define ", "msQueryWhere2", ": " ] + }, { + "r" : "359", + "s" : [ { + "s" : [ { + "value" : [ "from " ] + }, { + "r" : "305", "s" : [ { - "value" : [ "","define ","msQueryWhere",": " ] + "r" : "306", + "s" : [ { + "r" : "306", + "s" : [ { + "value" : [ "[", "Encounter", "]" ] + } ] + } ] }, { - "r" : "289", - "s" : [ { + "value" : [ " ", "E" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "313", + "s" : [ { + "r" : "314", + "s" : [ { + "r" : "314", + "s" : [ { + "value" : [ "[", "Condition", "]" ] + } ] + } ] + }, { + "value" : [ " ", "C" ] + } ] + } ] + }, { + "value" : [ "\n" ] + }, { + "r" : "323", + "s" : [ { + "value" : [ "where " ] + }, { + "r" : "323", + "s" : [ { + "r" : "333", + "s" : [ { + "r" : "325", + "s" : [ { + "r" : "324", "s" : [ { - "value" : [ "from " ] - }, { - "r" : "246", - "s" : [ { - "r" : "247", - "s" : [ { - "r" : "247", - "s" : [ { - "value" : [ "[","Encounter","]" ] - } ] - } ] - }, { - "value" : [ " ","E" ] - } ] - }, { - "value" : [ ",\n" ] - }, { - "r" : "254", - "s" : [ { - "r" : "255", - "s" : [ { - "r" : "255", - "s" : [ { - "value" : [ "[","Condition","]" ] - } ] - } ] - }, { - "value" : [ " ","C" ] - } ] + "value" : [ "E" ] } ] - }, { - "value" : [ "\n" ] - }, { - "r" : "273", + }, { + "value" : [ "." ] + }, { + "r" : "325", "s" : [ { - "value" : [ "where " ] - }, { - "r" : "273", - "s" : [ { - "r" : "265", - "s" : [ { - "r" : "264", - "s" : [ { - "value" : [ "E" ] - } ] - }, { - "value" : [ "." ] - }, { - "r" : "265", - "s" : [ { - "value" : [ "period" ] - } ] - } ] - }, { - "r" : "273", - "value" : [ " ","included in"," " ] - }, { - "r" : "270", - "s" : [ { - "value" : [ "MeasurementPeriod" ] - } ] - } ] + "value" : [ "period" ] + } ] + } ] + }, { + "r" : "333", + "value" : [ " ", "included in", " " ] + }, { + "r" : "330", + "s" : [ { + "value" : [ "MeasurementPeriod" ] + } ] + } ] + }, { + "value" : [ " and " ] + }, { + "r" : "345", + "s" : [ { + "r" : "347", + "s" : [ { + "r" : "346", + "s" : [ { + "value" : [ "C" ] + } ] + }, { + "value" : [ "." ] + }, { + "r" : "347", + "s" : [ { + "value" : [ "id" ] } ] - } ] + } ] + }, { + "value" : [ " ", "=", " " ] + }, { + "r" : "348", + "s" : [ { + "value" : [ "'http://cqframework.org/3/2'" ] + } ] + } ] } ] - } - } ], + } ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "366", + "annotation" : [ ], + "elementType" : { + "type" : "TupleTypeSpecifier", + "localId" : "367", + "annotation" : [ ], + "element" : [ { + "localId" : "368", + "name" : "E", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "369", + "name" : "{https://github.com/cqframework/cql-execution/simple}Encounter", + "annotation" : [ ] + } + }, { + "localId" : "370", + "name" : "C", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "371", + "name" : "{https://github.com/cqframework/cql-execution/simple}Condition", + "annotation" : [ ] + } + } ] + } + }, + "expression" : { + "type" : "Query", + "localId" : "359", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "360", + "annotation" : [ ], + "elementType" : { + "type" : "TupleTypeSpecifier", + "localId" : "361", + "annotation" : [ ], + "element" : [ { + "localId" : "362", + "name" : "E", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "363", + "name" : "{https://github.com/cqframework/cql-execution/simple}Encounter", + "annotation" : [ ] + } + }, { + "localId" : "364", + "name" : "C", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "365", + "name" : "{https://github.com/cqframework/cql-execution/simple}Condition", + "annotation" : [ ] + } + } ] + } + }, + "source" : [ { + "localId" : "305", + "alias" : "E", + "annotation" : [ ], "resultTypeSpecifier" : { - "localId" : "296", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "297", - "type" : "TupleTypeSpecifier", - "element" : [ { - "localId" : "298", - "name" : "E", - "elementType" : { - "localId" : "299", - "name" : "{https://github.com/cqframework/cql-execution/simple}Encounter", - "type" : "NamedTypeSpecifier" - } + "type" : "ListTypeSpecifier", + "localId" : "311", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "312", + "name" : "{https://github.com/cqframework/cql-execution/simple}Encounter", + "annotation" : [ ] + } + }, + "expression" : { + "type" : "Retrieve", + "localId" : "306", + "dataType" : "{https://github.com/cqframework/cql-execution/simple}Encounter", + "dateProperty" : "period", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "309", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "310", + "name" : "{https://github.com/cqframework/cql-execution/simple}Encounter", + "annotation" : [ ] + } + }, + "dateRange" : { + "type" : "ParameterRef", + "localId" : "330", + "name" : "MeasurementPeriod", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "331", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "332", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + }, + "include" : [ ], + "codeFilter" : [ ], + "dateFilter" : [ ], + "otherFilter" : [ ] + } + }, { + "localId" : "313", + "alias" : "C", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "319", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "320", + "name" : "{https://github.com/cqframework/cql-execution/simple}Condition", + "annotation" : [ ] + } + }, + "expression" : { + "type" : "Retrieve", + "localId" : "314", + "dataType" : "{https://github.com/cqframework/cql-execution/simple}Condition", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "317", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "318", + "name" : "{https://github.com/cqframework/cql-execution/simple}Condition", + "annotation" : [ ] + } + }, + "include" : [ ], + "codeFilter" : [ ], + "dateFilter" : [ ], + "otherFilter" : [ ] + } + } ], + "let" : [ ], + "relationship" : [ ], + "where" : { + "type" : "Equal", + "localId" : "345", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "350", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "351", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "Property", + "localId" : "347", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "path" : "id", + "scope" : "C", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "348", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "http://cqframework.org/3/2", + "annotation" : [ ] + } ] + }, + "return" : { + "localId" : "355", + "distinct" : true, + "annotation" : [ ], + "expression" : { + "type" : "Tuple", + "localId" : "356", + "annotation" : [ ], + "element" : [ { + "name" : "E", + "value" : { + "type" : "AliasRef", + "localId" : "357", + "name" : "E", + "annotation" : [ ] + } + }, { + "name" : "C", + "value" : { + "type" : "AliasRef", + "localId" : "358", + "name" : "C", + "annotation" : [ ] + } + } ] + } + } + } + }, { + "localId" : "374", + "name" : "msQuery", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "374", + "s" : [ { + "value" : [ "", "define ", "msQuery", ": " ] + }, { + "r" : "408", + "s" : [ { + "s" : [ { + "value" : [ "from " ] + }, { + "r" : "375", + "s" : [ { + "r" : "376", + "s" : [ { + "r" : "376", + "s" : [ { + "value" : [ "[", "Encounter", "]" ] + } ] + } ] + }, { + "value" : [ " ", "E" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "383", + "s" : [ { + "r" : "384", + "s" : [ { + "r" : "384", + "s" : [ { + "value" : [ "[", "Condition", "]" ] + } ] + } ] + }, { + "value" : [ " ", "C" ] + } ] + } ] + }, { + "value" : [ " " ] + }, { + "r" : "393", + "s" : [ { + "value" : [ "return " ] + }, { + "r" : "394", + "s" : [ { + "value" : [ "{" ] }, { - "localId" : "300", - "name" : "C", - "elementType" : { - "localId" : "301", - "name" : "{https://github.com/cqframework/cql-execution/simple}Condition", - "type" : "NamedTypeSpecifier" - } + "s" : [ { + "value" : [ "E", ": " ] + }, { + "r" : "395", + "s" : [ { + "value" : [ "E" ] + } ] + } ] + }, { + "value" : [ ", " ] + }, { + "s" : [ { + "value" : [ "C", ":" ] + }, { + "r" : "396", + "s" : [ { + "value" : [ "C" ] + } ] + } ] + }, { + "value" : [ "}" ] } ] - } + } ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "415", + "annotation" : [ ], + "elementType" : { + "type" : "TupleTypeSpecifier", + "localId" : "416", + "annotation" : [ ], + "element" : [ { + "localId" : "417", + "name" : "E", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "418", + "name" : "{https://github.com/cqframework/cql-execution/simple}Encounter", + "annotation" : [ ] + } + }, { + "localId" : "419", + "name" : "C", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "420", + "name" : "{https://github.com/cqframework/cql-execution/simple}Condition", + "annotation" : [ ] + } + } ] + } + }, + "expression" : { + "type" : "Query", + "localId" : "408", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "409", + "annotation" : [ ], + "elementType" : { + "type" : "TupleTypeSpecifier", + "localId" : "410", + "annotation" : [ ], + "element" : [ { + "localId" : "411", + "name" : "E", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "412", + "name" : "{https://github.com/cqframework/cql-execution/simple}Encounter", + "annotation" : [ ] + } + }, { + "localId" : "413", + "name" : "C", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "414", + "name" : "{https://github.com/cqframework/cql-execution/simple}Condition", + "annotation" : [ ] + } + } ] + } + }, + "source" : [ { + "localId" : "375", + "alias" : "E", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "381", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "382", + "name" : "{https://github.com/cqframework/cql-execution/simple}Encounter", + "annotation" : [ ] + } }, "expression" : { - "localId" : "289", - "type" : "Query", - "resultTypeSpecifier" : { - "localId" : "290", - "type" : "ListTypeSpecifier", + "type" : "Retrieve", + "localId" : "376", + "dataType" : "{https://github.com/cqframework/cql-execution/simple}Encounter", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "379", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "380", + "name" : "{https://github.com/cqframework/cql-execution/simple}Encounter", + "annotation" : [ ] + } + }, + "include" : [ ], + "codeFilter" : [ ], + "dateFilter" : [ ], + "otherFilter" : [ ] + } + }, { + "localId" : "383", + "alias" : "C", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "389", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "390", + "name" : "{https://github.com/cqframework/cql-execution/simple}Condition", + "annotation" : [ ] + } + }, + "expression" : { + "type" : "Retrieve", + "localId" : "384", + "dataType" : "{https://github.com/cqframework/cql-execution/simple}Condition", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "387", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "388", + "name" : "{https://github.com/cqframework/cql-execution/simple}Condition", + "annotation" : [ ] + } + }, + "include" : [ ], + "codeFilter" : [ ], + "dateFilter" : [ ], + "otherFilter" : [ ] + } + } ], + "let" : [ ], + "relationship" : [ ], + "return" : { + "localId" : "393", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "402", + "annotation" : [ ], + "elementType" : { + "type" : "TupleTypeSpecifier", + "localId" : "403", + "annotation" : [ ], + "element" : [ { + "localId" : "404", + "name" : "E", + "annotation" : [ ], "elementType" : { - "localId" : "291", - "type" : "TupleTypeSpecifier", - "element" : [ { - "localId" : "292", - "name" : "E", - "elementType" : { - "localId" : "293", - "name" : "{https://github.com/cqframework/cql-execution/simple}Encounter", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "294", - "name" : "C", - "elementType" : { - "localId" : "295", - "name" : "{https://github.com/cqframework/cql-execution/simple}Condition", - "type" : "NamedTypeSpecifier" - } - } ] + "type" : "NamedTypeSpecifier", + "localId" : "405", + "name" : "{https://github.com/cqframework/cql-execution/simple}Encounter", + "annotation" : [ ] } - }, - "source" : [ { - "localId" : "246", - "alias" : "E", - "resultTypeSpecifier" : { - "localId" : "252", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "253", - "name" : "{https://github.com/cqframework/cql-execution/simple}Encounter", - "type" : "NamedTypeSpecifier" - } - }, - "expression" : { - "localId" : "247", - "dataType" : "{https://github.com/cqframework/cql-execution/simple}Encounter", - "dateProperty" : "period", - "type" : "Retrieve", - "resultTypeSpecifier" : { - "localId" : "250", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "251", - "name" : "{https://github.com/cqframework/cql-execution/simple}Encounter", - "type" : "NamedTypeSpecifier" - } - }, - "dateRange" : { - "localId" : "270", - "name" : "MeasurementPeriod", - "type" : "ParameterRef", - "resultTypeSpecifier" : { - "localId" : "271", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "272", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - }, - "include" : [ ], - "codeFilter" : [ ], - "dateFilter" : [ ], - "otherFilter" : [ ] + }, { + "localId" : "406", + "name" : "C", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "407", + "name" : "{https://github.com/cqframework/cql-execution/simple}Condition", + "annotation" : [ ] } - }, { - "localId" : "254", - "alias" : "C", - "resultTypeSpecifier" : { - "localId" : "260", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "261", - "name" : "{https://github.com/cqframework/cql-execution/simple}Condition", - "type" : "NamedTypeSpecifier" - } - }, - "expression" : { - "localId" : "255", - "dataType" : "{https://github.com/cqframework/cql-execution/simple}Condition", - "type" : "Retrieve", - "resultTypeSpecifier" : { - "localId" : "258", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "259", - "name" : "{https://github.com/cqframework/cql-execution/simple}Condition", - "type" : "NamedTypeSpecifier" - } - }, - "include" : [ ], - "codeFilter" : [ ], - "dateFilter" : [ ], - "otherFilter" : [ ] + } ] + } + }, + "expression" : { + "type" : "Tuple", + "localId" : "394", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "TupleTypeSpecifier", + "localId" : "397", + "annotation" : [ ], + "element" : [ { + "localId" : "398", + "name" : "E", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "399", + "name" : "{https://github.com/cqframework/cql-execution/simple}Encounter", + "annotation" : [ ] } - } ], - "let" : [ ], - "relationship" : [ ], - "return" : { - "localId" : "285", - "distinct" : true, - "expression" : { - "localId" : "286", - "type" : "Tuple", - "element" : [ { - "name" : "E", - "value" : { - "localId" : "287", - "name" : "E", - "type" : "AliasRef" - } - }, { - "name" : "C", - "value" : { - "localId" : "288", - "name" : "C", - "type" : "AliasRef" - } - } ] + }, { + "localId" : "400", + "name" : "C", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "401", + "name" : "{https://github.com/cqframework/cql-execution/simple}Condition", + "annotation" : [ ] } - } + } ] + }, + "element" : [ { + "name" : "E", + "value" : { + "type" : "AliasRef", + "localId" : "395", + "resultTypeName" : "{https://github.com/cqframework/cql-execution/simple}Encounter", + "name" : "E", + "annotation" : [ ] + } + }, { + "name" : "C", + "value" : { + "type" : "AliasRef", + "localId" : "396", + "resultTypeName" : "{https://github.com/cqframework/cql-execution/simple}Condition", + "name" : "C", + "annotation" : [ ] + } + } ] } - }, { - "localId" : "304", - "name" : "msQueryWhere2", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "304", + } + } + }, { + "localId" : "423", + "name" : "multiSourceWithArrays", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "423", + "s" : [ { + "value" : [ "", "define ", "multiSourceWithArrays", ":\n " ] + }, { + "r" : "470", + "s" : [ { + "s" : [ { + "value" : [ "from " ] + }, { + "r" : "424", "s" : [ { - "value" : [ "","define ","msQueryWhere2",": " ] + "r" : "425", + "s" : [ { + "value" : [ "(" ] + }, { + "r" : "425", + "s" : [ { + "value" : [ "List{" ] + }, { + "r" : "426", + "s" : [ { + "value" : [ "'a'" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "428", + "s" : [ { + "value" : [ "'b'" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "430", + "s" : [ { + "value" : [ "'c'" ] + } ] + }, { + "value" : [ "}" ] + } ] + }, { + "value" : [ ")" ] + } ] }, { - "r" : "359", - "s" : [ { + "value" : [ " ", "A" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "438", + "s" : [ { + "r" : "439", + "s" : [ { + "value" : [ "(" ] + }, { + "r" : "439", + "s" : [ { + "value" : [ "List{" ] + }, { + "r" : "440", "s" : [ { - "value" : [ "from " ] + "value" : [ "{" ] }, { - "r" : "305", - "s" : [ { - "r" : "306", - "s" : [ { - "r" : "306", - "s" : [ { - "value" : [ "[","Encounter","]" ] - } ] - } ] - }, { - "value" : [ " ","E" ] - } ] + "r" : "441", + "s" : [ { + "value" : [ "'x'" ] + } ] + }, { + "value" : [ "}" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "445", + "s" : [ { + "value" : [ "{" ] }, { - "value" : [ ", " ] + "r" : "446", + "s" : [ { + "value" : [ "'y'" ] + } ] }, { - "r" : "313", - "s" : [ { - "r" : "314", - "s" : [ { - "r" : "314", - "s" : [ { - "value" : [ "[","Condition","]" ] - } ] - } ] - }, { - "value" : [ " ","C" ] - } ] + "value" : [ "}" ] } ] - }, { - "value" : [ "\n" ] - }, { - "r" : "323", + }, { + "value" : [ ", " ] + }, { + "r" : "450", "s" : [ { - "value" : [ "where " ] + "value" : [ "{" ] }, { - "r" : "323", - "s" : [ { - "r" : "333", - "s" : [ { - "r" : "325", - "s" : [ { - "r" : "324", - "s" : [ { - "value" : [ "E" ] - } ] - }, { - "value" : [ "." ] - }, { - "r" : "325", - "s" : [ { - "value" : [ "period" ] - } ] - } ] - }, { - "r" : "333", - "value" : [ " ","included in"," " ] - }, { - "r" : "330", - "s" : [ { - "value" : [ "MeasurementPeriod" ] - } ] - } ] - }, { - "value" : [ " and " ] - }, { - "r" : "345", - "s" : [ { - "r" : "347", - "s" : [ { - "r" : "346", - "s" : [ { - "value" : [ "C" ] - } ] - }, { - "value" : [ "." ] - }, { - "r" : "347", - "s" : [ { - "value" : [ "id" ] - } ] - } ] - }, { - "value" : [ " ","="," " ] - }, { - "r" : "348", - "s" : [ { - "value" : [ "'http://cqframework.org/3/2'" ] - } ] - } ] - } ] + "r" : "451", + "s" : [ { + "value" : [ "'z'" ] + } ] + }, { + "value" : [ "}" ] } ] - } ] - } ] - } - } ], - "resultTypeSpecifier" : { - "localId" : "366", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "367", - "type" : "TupleTypeSpecifier", - "element" : [ { - "localId" : "368", - "name" : "E", - "elementType" : { - "localId" : "369", - "name" : "{https://github.com/cqframework/cql-execution/simple}Encounter", - "type" : "NamedTypeSpecifier" - } + }, { + "value" : [ "}" ] + } ] + }, { + "value" : [ ")" ] + } ] }, { - "localId" : "370", - "name" : "C", - "elementType" : { - "localId" : "371", - "name" : "{https://github.com/cqframework/cql-execution/simple}Condition", - "type" : "NamedTypeSpecifier" - } + "value" : [ " ", "X" ] } ] - } + } ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "478", + "annotation" : [ ], + "elementType" : { + "type" : "TupleTypeSpecifier", + "localId" : "479", + "annotation" : [ ], + "element" : [ { + "localId" : "480", + "name" : "A", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "481", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } + }, { + "localId" : "482", + "name" : "X", + "annotation" : [ ], + "elementType" : { + "type" : "ListTypeSpecifier", + "localId" : "483", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "484", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } + } + } ] + } + }, + "expression" : { + "type" : "Query", + "localId" : "470", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "471", + "annotation" : [ ], + "elementType" : { + "type" : "TupleTypeSpecifier", + "localId" : "472", + "annotation" : [ ], + "element" : [ { + "localId" : "473", + "name" : "A", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "474", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } + }, { + "localId" : "475", + "name" : "X", + "annotation" : [ ], + "elementType" : { + "type" : "ListTypeSpecifier", + "localId" : "476", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "477", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } + } + } ] + } + }, + "source" : [ { + "localId" : "424", + "alias" : "A", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "436", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "437", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } + }, + "expression" : { + "type" : "List", + "localId" : "425", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "434", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "435", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } + }, + "element" : [ { + "type" : "Literal", + "localId" : "426", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "a", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "428", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "b", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "430", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "c", + "annotation" : [ ] + } ] + } + }, { + "localId" : "438", + "alias" : "X", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "461", + "annotation" : [ ], + "elementType" : { + "type" : "ListTypeSpecifier", + "localId" : "462", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "463", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } + } }, "expression" : { - "localId" : "359", - "type" : "Query", - "resultTypeSpecifier" : { - "localId" : "360", + "type" : "List", + "localId" : "439", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "458", + "annotation" : [ ], + "elementType" : { "type" : "ListTypeSpecifier", + "localId" : "459", + "annotation" : [ ], "elementType" : { - "localId" : "361", - "type" : "TupleTypeSpecifier", - "element" : [ { - "localId" : "362", - "name" : "E", - "elementType" : { - "localId" : "363", - "name" : "{https://github.com/cqframework/cql-execution/simple}Encounter", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "364", - "name" : "C", - "elementType" : { - "localId" : "365", - "name" : "{https://github.com/cqframework/cql-execution/simple}Condition", - "type" : "NamedTypeSpecifier" - } - } ] + "type" : "NamedTypeSpecifier", + "localId" : "460", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] } - }, - "source" : [ { - "localId" : "305", - "alias" : "E", - "resultTypeSpecifier" : { - "localId" : "311", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "312", - "name" : "{https://github.com/cqframework/cql-execution/simple}Encounter", - "type" : "NamedTypeSpecifier" - } - }, - "expression" : { - "localId" : "306", - "dataType" : "{https://github.com/cqframework/cql-execution/simple}Encounter", - "dateProperty" : "period", - "type" : "Retrieve", - "resultTypeSpecifier" : { - "localId" : "309", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "310", - "name" : "{https://github.com/cqframework/cql-execution/simple}Encounter", - "type" : "NamedTypeSpecifier" - } - }, - "dateRange" : { - "localId" : "330", - "name" : "MeasurementPeriod", - "type" : "ParameterRef", - "resultTypeSpecifier" : { - "localId" : "331", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "332", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - }, - "include" : [ ], - "codeFilter" : [ ], - "dateFilter" : [ ], - "otherFilter" : [ ] - } - }, { - "localId" : "313", - "alias" : "C", - "resultTypeSpecifier" : { - "localId" : "319", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "320", - "name" : "{https://github.com/cqframework/cql-execution/simple}Condition", - "type" : "NamedTypeSpecifier" - } - }, - "expression" : { - "localId" : "314", - "dataType" : "{https://github.com/cqframework/cql-execution/simple}Condition", - "type" : "Retrieve", - "resultTypeSpecifier" : { - "localId" : "317", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "318", - "name" : "{https://github.com/cqframework/cql-execution/simple}Condition", - "type" : "NamedTypeSpecifier" - } - }, - "include" : [ ], - "codeFilter" : [ ], - "dateFilter" : [ ], - "otherFilter" : [ ] - } - } ], - "let" : [ ], - "relationship" : [ ], - "where" : { - "localId" : "345", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "Equal", - "signature" : [ { - "localId" : "350", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "351", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "347", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "path" : "id", - "scope" : "C", - "type" : "Property" - }, { - "localId" : "348", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "http://cqframework.org/3/2", - "type" : "Literal" - } ] - }, - "return" : { - "localId" : "355", - "distinct" : true, - "expression" : { - "localId" : "356", - "type" : "Tuple", - "element" : [ { - "name" : "E", - "value" : { - "localId" : "357", - "name" : "E", - "type" : "AliasRef" - } - }, { - "name" : "C", - "value" : { - "localId" : "358", - "name" : "C", - "type" : "AliasRef" - } - } ] - } - } - } - }, { - "localId" : "374", - "name" : "msQuery", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "374", - "s" : [ { - "value" : [ "","define ","msQuery",": " ] - }, { - "r" : "408", - "s" : [ { - "s" : [ { - "value" : [ "from " ] - }, { - "r" : "375", - "s" : [ { - "r" : "376", - "s" : [ { - "r" : "376", - "s" : [ { - "value" : [ "[","Encounter","]" ] - } ] - } ] - }, { - "value" : [ " ","E" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "383", - "s" : [ { - "r" : "384", - "s" : [ { - "r" : "384", - "s" : [ { - "value" : [ "[","Condition","]" ] - } ] - } ] - }, { - "value" : [ " ","C" ] - } ] - } ] - }, { - "value" : [ " " ] - }, { - "r" : "393", - "s" : [ { - "value" : [ "return " ] - }, { - "r" : "394", - "s" : [ { - "value" : [ "{" ] - }, { - "s" : [ { - "value" : [ "E",": " ] - }, { - "r" : "395", - "s" : [ { - "value" : [ "E" ] - } ] - } ] - }, { - "value" : [ ", " ] - }, { - "s" : [ { - "value" : [ "C",":" ] - }, { - "r" : "396", - "s" : [ { - "value" : [ "C" ] - } ] - } ] - }, { - "value" : [ "}" ] - } ] - } ] - } ] - } ] - } - } ], - "resultTypeSpecifier" : { - "localId" : "415", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "416", - "type" : "TupleTypeSpecifier", - "element" : [ { - "localId" : "417", - "name" : "E", - "elementType" : { - "localId" : "418", - "name" : "{https://github.com/cqframework/cql-execution/simple}Encounter", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "419", - "name" : "C", - "elementType" : { - "localId" : "420", - "name" : "{https://github.com/cqframework/cql-execution/simple}Condition", - "type" : "NamedTypeSpecifier" - } - } ] - } - }, - "expression" : { - "localId" : "408", - "type" : "Query", - "resultTypeSpecifier" : { - "localId" : "409", + } + }, + "element" : [ { + "type" : "List", + "localId" : "440", + "annotation" : [ ], + "resultTypeSpecifier" : { "type" : "ListTypeSpecifier", + "localId" : "443", + "annotation" : [ ], "elementType" : { - "localId" : "410", - "type" : "TupleTypeSpecifier", - "element" : [ { - "localId" : "411", - "name" : "E", - "elementType" : { - "localId" : "412", - "name" : "{https://github.com/cqframework/cql-execution/simple}Encounter", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "413", - "name" : "C", - "elementType" : { - "localId" : "414", - "name" : "{https://github.com/cqframework/cql-execution/simple}Condition", - "type" : "NamedTypeSpecifier" - } - } ] - } - }, - "source" : [ { - "localId" : "375", - "alias" : "E", - "resultTypeSpecifier" : { - "localId" : "381", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "382", - "name" : "{https://github.com/cqframework/cql-execution/simple}Encounter", - "type" : "NamedTypeSpecifier" - } - }, - "expression" : { - "localId" : "376", - "dataType" : "{https://github.com/cqframework/cql-execution/simple}Encounter", - "type" : "Retrieve", - "resultTypeSpecifier" : { - "localId" : "379", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "380", - "name" : "{https://github.com/cqframework/cql-execution/simple}Encounter", - "type" : "NamedTypeSpecifier" - } - }, - "include" : [ ], - "codeFilter" : [ ], - "dateFilter" : [ ], - "otherFilter" : [ ] - } - }, { - "localId" : "383", - "alias" : "C", - "resultTypeSpecifier" : { - "localId" : "389", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "390", - "name" : "{https://github.com/cqframework/cql-execution/simple}Condition", - "type" : "NamedTypeSpecifier" - } - }, - "expression" : { - "localId" : "384", - "dataType" : "{https://github.com/cqframework/cql-execution/simple}Condition", - "type" : "Retrieve", - "resultTypeSpecifier" : { - "localId" : "387", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "388", - "name" : "{https://github.com/cqframework/cql-execution/simple}Condition", - "type" : "NamedTypeSpecifier" - } - }, - "include" : [ ], - "codeFilter" : [ ], - "dateFilter" : [ ], - "otherFilter" : [ ] + "type" : "NamedTypeSpecifier", + "localId" : "444", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] } - } ], - "let" : [ ], - "relationship" : [ ], - "return" : { - "localId" : "393", - "resultTypeSpecifier" : { - "localId" : "402", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "403", - "type" : "TupleTypeSpecifier", - "element" : [ { - "localId" : "404", - "name" : "E", - "elementType" : { - "localId" : "405", - "name" : "{https://github.com/cqframework/cql-execution/simple}Encounter", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "406", - "name" : "C", - "elementType" : { - "localId" : "407", - "name" : "{https://github.com/cqframework/cql-execution/simple}Condition", - "type" : "NamedTypeSpecifier" - } - } ] - } - }, - "expression" : { - "localId" : "394", - "type" : "Tuple", - "resultTypeSpecifier" : { - "localId" : "397", - "type" : "TupleTypeSpecifier", - "element" : [ { - "localId" : "398", - "name" : "E", - "elementType" : { - "localId" : "399", - "name" : "{https://github.com/cqframework/cql-execution/simple}Encounter", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "400", - "name" : "C", - "elementType" : { - "localId" : "401", - "name" : "{https://github.com/cqframework/cql-execution/simple}Condition", - "type" : "NamedTypeSpecifier" - } - } ] - }, - "element" : [ { - "name" : "E", - "value" : { - "localId" : "395", - "resultTypeName" : "{https://github.com/cqframework/cql-execution/simple}Encounter", - "name" : "E", - "type" : "AliasRef" - } - }, { - "name" : "C", - "value" : { - "localId" : "396", - "resultTypeName" : "{https://github.com/cqframework/cql-execution/simple}Condition", - "name" : "C", - "type" : "AliasRef" - } - } ] - } - } - } - }, { - "localId" : "423", - "name" : "multiSourceWithArrays", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "423", - "s" : [ { - "value" : [ "","define ","multiSourceWithArrays",":\n " ] - }, { - "r" : "470", - "s" : [ { - "s" : [ { - "value" : [ "from " ] - }, { - "r" : "424", - "s" : [ { - "r" : "425", - "s" : [ { - "value" : [ "(" ] - }, { - "r" : "425", - "s" : [ { - "value" : [ "List{" ] - }, { - "r" : "426", - "s" : [ { - "value" : [ "'a'" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "428", - "s" : [ { - "value" : [ "'b'" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "430", - "s" : [ { - "value" : [ "'c'" ] - } ] - }, { - "value" : [ "}" ] - } ] - }, { - "value" : [ ")" ] - } ] - }, { - "value" : [ " ","A" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "438", - "s" : [ { - "r" : "439", - "s" : [ { - "value" : [ "(" ] - }, { - "r" : "439", - "s" : [ { - "value" : [ "List{" ] - }, { - "r" : "440", - "s" : [ { - "value" : [ "{" ] - }, { - "r" : "441", - "s" : [ { - "value" : [ "'x'" ] - } ] - }, { - "value" : [ "}" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "445", - "s" : [ { - "value" : [ "{" ] - }, { - "r" : "446", - "s" : [ { - "value" : [ "'y'" ] - } ] - }, { - "value" : [ "}" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "450", - "s" : [ { - "value" : [ "{" ] - }, { - "r" : "451", - "s" : [ { - "value" : [ "'z'" ] - } ] - }, { - "value" : [ "}" ] - } ] - }, { - "value" : [ "}" ] - } ] - }, { - "value" : [ ")" ] - } ] - }, { - "value" : [ " ","X" ] - } ] - } ] - } ] - } ] - } - } ], - "resultTypeSpecifier" : { - "localId" : "478", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "479", - "type" : "TupleTypeSpecifier", - "element" : [ { - "localId" : "480", - "name" : "A", - "elementType" : { - "localId" : "481", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "482", - "name" : "X", - "elementType" : { - "localId" : "483", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "484", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } - } - } ] - } - }, - "expression" : { - "localId" : "470", - "type" : "Query", - "resultTypeSpecifier" : { - "localId" : "471", + }, + "element" : [ { + "type" : "Literal", + "localId" : "441", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "x", + "annotation" : [ ] + } ] + }, { + "type" : "List", + "localId" : "445", + "annotation" : [ ], + "resultTypeSpecifier" : { "type" : "ListTypeSpecifier", + "localId" : "448", + "annotation" : [ ], "elementType" : { - "localId" : "472", - "type" : "TupleTypeSpecifier", - "element" : [ { - "localId" : "473", - "name" : "A", - "elementType" : { - "localId" : "474", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "475", - "name" : "X", - "elementType" : { - "localId" : "476", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "477", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } - } - } ] - } - }, - "source" : [ { - "localId" : "424", - "alias" : "A", - "resultTypeSpecifier" : { - "localId" : "436", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "437", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } - }, - "expression" : { - "localId" : "425", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "434", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "435", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } - }, - "element" : [ { - "localId" : "426", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "a", - "type" : "Literal" - }, { - "localId" : "428", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "b", - "type" : "Literal" - }, { - "localId" : "430", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "c", - "type" : "Literal" - } ] - } - }, { - "localId" : "438", - "alias" : "X", - "resultTypeSpecifier" : { - "localId" : "461", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "462", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "463", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } - } - }, - "expression" : { - "localId" : "439", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "458", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "459", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "460", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } - } - }, - "element" : [ { - "localId" : "440", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "443", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "444", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } - }, - "element" : [ { - "localId" : "441", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "x", - "type" : "Literal" - } ] - }, { - "localId" : "445", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "448", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "449", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } - }, - "element" : [ { - "localId" : "446", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "y", - "type" : "Literal" - } ] - }, { - "localId" : "450", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "453", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "454", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } - }, - "element" : [ { - "localId" : "451", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "z", - "type" : "Literal" - } ] - } ] + "type" : "NamedTypeSpecifier", + "localId" : "449", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] } - } ], - "let" : [ ], - "relationship" : [ ], - "return" : { - "localId" : "466", - "distinct" : true, - "expression" : { - "localId" : "467", - "type" : "Tuple", - "element" : [ { - "name" : "A", - "value" : { - "localId" : "468", - "name" : "A", - "type" : "AliasRef" - } - }, { - "name" : "X", - "value" : { - "localId" : "469", - "name" : "X", - "type" : "AliasRef" - } - } ] + }, + "element" : [ { + "type" : "Literal", + "localId" : "446", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "y", + "annotation" : [ ] + } ] + }, { + "type" : "List", + "localId" : "450", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "453", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "454", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] } - } + }, + "element" : [ { + "type" : "Literal", + "localId" : "451", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "z", + "annotation" : [ ] + } ] + } ] } - } ] - } - } + } ], + "let" : [ ], + "relationship" : [ ], + "return" : { + "localId" : "466", + "distinct" : true, + "annotation" : [ ], + "expression" : { + "type" : "Tuple", + "localId" : "467", + "annotation" : [ ], + "element" : [ { + "name" : "A", + "value" : { + "type" : "AliasRef", + "localId" : "468", + "name" : "A", + "annotation" : [ ] + } + }, { + "name" : "X", + "value" : { + "type" : "AliasRef", + "localId" : "469", + "name" : "X", + "annotation" : [ ] + } + } ] + } + } + } + } ] + } + } } /* QueryRelationship @@ -2976,1439 +3353,1600 @@ without [Medication] M such that M.encounterId = E.id */ module.exports['QueryRelationship'] = { - "library" : { - "localId" : "0", - "annotation" : [ { - "translatorVersion" : "3.27.0", - "translatorOptions" : "EnableDateRangeOptimization,EnableAnnotations,EnableResultTypes", - "signatureLevel" : "All", - "type" : "CqlToElmInfo" + "library" : { + "localId" : "0", + "annotation" : [ { + "type" : "CqlToElmInfo", + "translatorVersion" : "4.2.0", + "translatorOptions" : "EnableDateRangeOptimization,EnableAnnotations,EnableResultTypes", + "signatureLevel" : "All" + }, { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "407", + "s" : [ { + "value" : [ "", "library TestSnippet version '1'" ] + } ] + } + } ], + "identifier" : { + "id" : "TestSnippet", + "version" : "1" + }, + "schemaIdentifier" : { + "id" : "urn:hl7-org:elm", + "version" : "r1" + }, + "usings" : { + "def" : [ { + "localId" : "1", + "localIdentifier" : "System", + "uri" : "urn:hl7-org:elm-types:r1", + "annotation" : [ ] }, { - "type" : "Annotation", - "s" : { - "r" : "407", + "localId" : "206", + "localIdentifier" : "Simple", + "uri" : "https://github.com/cqframework/cql-execution/simple", + "version" : "1.0.0", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "206", "s" : [ { - "value" : [ "","library TestSnippet version '1'" ] + "value" : [ "", "using " ] + }, { + "s" : [ { + "value" : [ "Simple" ] + } ] + }, { + "value" : [ " version '1.0.0'" ] } ] - } - } ], - "identifier" : { - "id" : "TestSnippet", - "version" : "1" - }, - "schemaIdentifier" : { - "id" : "urn:hl7-org:elm", - "version" : "r1" - }, - "usings" : { - "def" : [ { - "localId" : "1", - "localIdentifier" : "System", - "uri" : "urn:hl7-org:elm-types:r1" - }, { - "localId" : "206", - "localIdentifier" : "Simple", - "uri" : "https://github.com/cqframework/cql-execution/simple", - "version" : "1.0.0", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "206", + } + } ] + } ] + }, + "contexts" : { + "def" : [ { + "localId" : "211", + "name" : "Patient", + "annotation" : [ ] + } ] + }, + "statements" : { + "def" : [ { + "localId" : "209", + "name" : "Patient", + "context" : "Patient", + "annotation" : [ ], + "expression" : { + "type" : "SingletonFrom", + "localId" : "210", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Retrieve", + "localId" : "208", + "dataType" : "{https://github.com/cqframework/cql-execution/simple}Patient", + "annotation" : [ ], + "include" : [ ], + "codeFilter" : [ ], + "dateFilter" : [ ], + "otherFilter" : [ ] + } + } + }, { + "localId" : "214", + "name" : "withQuery", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "214", + "s" : [ { + "value" : [ "", "define ", "withQuery", ": " ] + }, { + "r" : "242", + "s" : [ { + "s" : [ { + "r" : "215", + "s" : [ { + "r" : "216", + "s" : [ { + "r" : "216", + "s" : [ { + "value" : [ "[", "Encounter", "]" ] + } ] + } ] + }, { + "value" : [ " ", "E" ] + } ] + } ] + }, { + "value" : [ "\n" ] + }, { + "r" : "239", + "s" : [ { + "value" : [ "with " ] + }, { + "r" : "224", "s" : [ { - "value" : [ "","using " ] + "r" : "225", + "s" : [ { + "r" : "225", + "s" : [ { + "value" : [ "[", "Condition", "]" ] + } ] + } ] }, { - "s" : [ { - "value" : [ "Simple" ] - } ] + "value" : [ " ", "C" ] + } ] + }, { + "value" : [ " such that " ] + }, { + "r" : "232", + "s" : [ { + "r" : "234", + "s" : [ { + "r" : "233", + "s" : [ { + "value" : [ "C" ] + } ] + }, { + "value" : [ "." ] + }, { + "r" : "234", + "s" : [ { + "value" : [ "encounterId" ] + } ] + } ] }, { - "value" : [ " version '1.0.0'" ] + "value" : [ " ", "=", " " ] + }, { + "r" : "236", + "s" : [ { + "r" : "235", + "s" : [ { + "value" : [ "E" ] + } ] + }, { + "value" : [ "." ] + }, { + "r" : "236", + "s" : [ { + "value" : [ "id" ] + } ] + } ] } ] - } + } ] + } ] } ] - } ] - }, - "contexts" : { - "def" : [ { - "localId" : "211", - "name" : "Patient" - } ] - }, - "statements" : { - "def" : [ { - "localId" : "209", - "name" : "Patient", - "context" : "Patient", + } + } ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "245", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "246", + "name" : "{https://github.com/cqframework/cql-execution/simple}Encounter", + "annotation" : [ ] + } + }, + "expression" : { + "type" : "Query", + "localId" : "242", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "243", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "244", + "name" : "{https://github.com/cqframework/cql-execution/simple}Encounter", + "annotation" : [ ] + } + }, + "source" : [ { + "localId" : "215", + "alias" : "E", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "221", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "222", + "name" : "{https://github.com/cqframework/cql-execution/simple}Encounter", + "annotation" : [ ] + } + }, "expression" : { - "localId" : "210", - "type" : "SingletonFrom", - "signature" : [ ], - "operand" : { - "localId" : "208", - "dataType" : "{https://github.com/cqframework/cql-execution/simple}Patient", - "type" : "Retrieve", - "include" : [ ], - "codeFilter" : [ ], - "dateFilter" : [ ], - "otherFilter" : [ ] - } + "type" : "Retrieve", + "localId" : "216", + "dataType" : "{https://github.com/cqframework/cql-execution/simple}Encounter", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "219", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "220", + "name" : "{https://github.com/cqframework/cql-execution/simple}Encounter", + "annotation" : [ ] + } + }, + "include" : [ ], + "codeFilter" : [ ], + "dateFilter" : [ ], + "otherFilter" : [ ] + } + } ], + "let" : [ ], + "relationship" : [ { + "type" : "With", + "localId" : "239", + "alias" : "C", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "240", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "241", + "name" : "{https://github.com/cqframework/cql-execution/simple}Condition", + "annotation" : [ ] + } + }, + "expression" : { + "type" : "Retrieve", + "localId" : "225", + "dataType" : "{https://github.com/cqframework/cql-execution/simple}Condition", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "228", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "229", + "name" : "{https://github.com/cqframework/cql-execution/simple}Condition", + "annotation" : [ ] + } + }, + "include" : [ ], + "codeFilter" : [ ], + "dateFilter" : [ ], + "otherFilter" : [ ] + }, + "suchThat" : { + "type" : "Equal", + "localId" : "232", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "237", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "238", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "Property", + "localId" : "234", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "path" : "encounterId", + "scope" : "C", + "annotation" : [ ] + }, { + "type" : "Property", + "localId" : "236", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "path" : "id", + "scope" : "E", + "annotation" : [ ] + } ] } - }, { - "localId" : "214", - "name" : "withQuery", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "214", + } ] + } + }, { + "localId" : "249", + "name" : "withQuery2", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "249", + "s" : [ { + "value" : [ "", "define ", "withQuery2", ": " ] + }, { + "r" : "286", + "s" : [ { + "s" : [ { + "r" : "250", + "s" : [ { + "r" : "251", + "s" : [ { + "r" : "251", + "s" : [ { + "value" : [ "[", "Encounter", "]" ] + } ] + } ] + }, { + "value" : [ " ", "E" ] + } ] + } ] + }, { + "value" : [ "\n" ] + }, { + "r" : "283", + "s" : [ { + "value" : [ "with " ] + }, { + "r" : "259", "s" : [ { - "value" : [ "","define ","withQuery",": " ] + "r" : "260", + "s" : [ { + "r" : "260", + "s" : [ { + "value" : [ "[", "Condition", "]" ] + } ] + } ] }, { - "r" : "242", - "s" : [ { + "value" : [ " ", "C" ] + } ] + }, { + "value" : [ " such that " ] + }, { + "r" : "267", + "s" : [ { + "r" : "268", + "s" : [ { + "r" : "270", + "s" : [ { + "r" : "269", "s" : [ { - "r" : "215", - "s" : [ { - "r" : "216", - "s" : [ { - "r" : "216", - "s" : [ { - "value" : [ "[","Encounter","]" ] - } ] - } ] - }, { - "value" : [ " ","E" ] - } ] + "value" : [ "C" ] } ] - }, { - "value" : [ "\n" ] - }, { - "r" : "239", + }, { + "value" : [ "." ] + }, { + "r" : "270", "s" : [ { - "value" : [ "with " ] - }, { - "r" : "224", - "s" : [ { - "r" : "225", - "s" : [ { - "r" : "225", - "s" : [ { - "value" : [ "[","Condition","]" ] - } ] - } ] - }, { - "value" : [ " ","C" ] - } ] + "value" : [ "encounterId" ] + } ] + } ] + }, { + "value" : [ " ", "=", " " ] + }, { + "r" : "272", + "s" : [ { + "r" : "271", + "s" : [ { + "value" : [ "E" ] + } ] + }, { + "value" : [ "." ] + }, { + "r" : "272", + "s" : [ { + "value" : [ "id" ] + } ] + } ] + } ] + }, { + "value" : [ " and " ] + }, { + "r" : "275", + "s" : [ { + "value" : [ "exists" ] + }, { + "r" : "277", + "s" : [ { + "value" : [ "(" ] + }, { + "r" : "277", + "s" : [ { + "r" : "276", + "s" : [ { + "value" : [ "C" ] + } ] }, { - "value" : [ " such that " ] + "value" : [ "." ] }, { - "r" : "232", - "s" : [ { - "r" : "234", - "s" : [ { - "r" : "233", - "s" : [ { - "value" : [ "C" ] - } ] - }, { - "value" : [ "." ] - }, { - "r" : "234", - "s" : [ { - "value" : [ "encounterId" ] - } ] - } ] - }, { - "value" : [ " ","="," " ] - }, { - "r" : "236", - "s" : [ { - "r" : "235", - "s" : [ { - "value" : [ "E" ] - } ] - }, { - "value" : [ "." ] - }, { - "r" : "236", - "s" : [ { - "value" : [ "id" ] - } ] - } ] - } ] + "r" : "277", + "s" : [ { + "value" : [ "status" ] + } ] } ] - } ] + }, { + "value" : [ ")" ] + } ] + } ] } ] - } - } ], + } ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "289", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "290", + "name" : "{https://github.com/cqframework/cql-execution/simple}Encounter", + "annotation" : [ ] + } + }, + "expression" : { + "type" : "Query", + "localId" : "286", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "287", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "288", + "name" : "{https://github.com/cqframework/cql-execution/simple}Encounter", + "annotation" : [ ] + } + }, + "source" : [ { + "localId" : "250", + "alias" : "E", + "annotation" : [ ], "resultTypeSpecifier" : { - "localId" : "245", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "246", + "type" : "ListTypeSpecifier", + "localId" : "256", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "257", + "name" : "{https://github.com/cqframework/cql-execution/simple}Encounter", + "annotation" : [ ] + } + }, + "expression" : { + "type" : "Retrieve", + "localId" : "251", + "dataType" : "{https://github.com/cqframework/cql-execution/simple}Encounter", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "254", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "255", "name" : "{https://github.com/cqframework/cql-execution/simple}Encounter", - "type" : "NamedTypeSpecifier" - } + "annotation" : [ ] + } + }, + "include" : [ ], + "codeFilter" : [ ], + "dateFilter" : [ ], + "otherFilter" : [ ] + } + } ], + "let" : [ ], + "relationship" : [ { + "type" : "With", + "localId" : "283", + "alias" : "C", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "284", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "285", + "name" : "{https://github.com/cqframework/cql-execution/simple}Condition", + "annotation" : [ ] + } }, "expression" : { - "localId" : "242", - "type" : "Query", - "resultTypeSpecifier" : { - "localId" : "243", + "type" : "Retrieve", + "localId" : "260", + "dataType" : "{https://github.com/cqframework/cql-execution/simple}Condition", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "263", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "264", + "name" : "{https://github.com/cqframework/cql-execution/simple}Condition", + "annotation" : [ ] + } + }, + "include" : [ ], + "codeFilter" : [ ], + "dateFilter" : [ ], + "otherFilter" : [ ] + }, + "suchThat" : { + "type" : "And", + "localId" : "267", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "281", + "name" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "282", + "name" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "Equal", + "localId" : "268", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "273", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "274", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "Property", + "localId" : "270", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "path" : "encounterId", + "scope" : "C", + "annotation" : [ ] + }, { + "type" : "Property", + "localId" : "272", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "path" : "id", + "scope" : "E", + "annotation" : [ ] + } ] + }, { + "type" : "Exists", + "localId" : "275", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { "type" : "ListTypeSpecifier", + "localId" : "279", + "annotation" : [ ], "elementType" : { - "localId" : "244", - "name" : "{https://github.com/cqframework/cql-execution/simple}Encounter", - "type" : "NamedTypeSpecifier" - } - }, - "source" : [ { - "localId" : "215", - "alias" : "E", - "resultTypeSpecifier" : { - "localId" : "221", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "222", - "name" : "{https://github.com/cqframework/cql-execution/simple}Encounter", - "type" : "NamedTypeSpecifier" - } - }, - "expression" : { - "localId" : "216", - "dataType" : "{https://github.com/cqframework/cql-execution/simple}Encounter", - "type" : "Retrieve", - "resultTypeSpecifier" : { - "localId" : "219", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "220", - "name" : "{https://github.com/cqframework/cql-execution/simple}Encounter", - "type" : "NamedTypeSpecifier" - } - }, - "include" : [ ], - "codeFilter" : [ ], - "dateFilter" : [ ], - "otherFilter" : [ ] + "type" : "NamedTypeSpecifier", + "localId" : "280", + "name" : "{urn:hl7-org:elm-types:r1}Code", + "annotation" : [ ] } - } ], - "let" : [ ], - "relationship" : [ { - "localId" : "239", - "alias" : "C", - "type" : "With", - "resultTypeSpecifier" : { - "localId" : "240", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "241", - "name" : "{https://github.com/cqframework/cql-execution/simple}Condition", - "type" : "NamedTypeSpecifier" - } - }, - "expression" : { - "localId" : "225", - "dataType" : "{https://github.com/cqframework/cql-execution/simple}Condition", - "type" : "Retrieve", - "resultTypeSpecifier" : { - "localId" : "228", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "229", - "name" : "{https://github.com/cqframework/cql-execution/simple}Condition", - "type" : "NamedTypeSpecifier" - } - }, - "include" : [ ], - "codeFilter" : [ ], - "dateFilter" : [ ], - "otherFilter" : [ ] - }, - "suchThat" : { - "localId" : "232", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "Equal", - "signature" : [ { - "localId" : "237", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "238", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "234", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "path" : "encounterId", - "scope" : "C", - "type" : "Property" - }, { - "localId" : "236", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "path" : "id", - "scope" : "E", - "type" : "Property" - } ] + } ], + "operand" : { + "type" : "ToList", + "localId" : "278", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Property", + "localId" : "277", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Code", + "path" : "status", + "scope" : "C", + "annotation" : [ ] } - } ] + } + } ] } - }, { - "localId" : "249", - "name" : "withQuery2", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "249", + } ] + } + }, { + "localId" : "293", + "name" : "withQueryEmptySecondarySource", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "293", + "s" : [ { + "value" : [ "", "define ", "withQueryEmptySecondarySource", ": " ] + }, { + "r" : "321", + "s" : [ { + "s" : [ { + "r" : "294", "s" : [ { - "value" : [ "","define ","withQuery2",": " ] + "r" : "295", + "s" : [ { + "r" : "295", + "s" : [ { + "value" : [ "[", "Encounter", "]" ] + } ] + } ] }, { - "r" : "286", - "s" : [ { - "s" : [ { - "r" : "250", - "s" : [ { - "r" : "251", - "s" : [ { - "r" : "251", - "s" : [ { - "value" : [ "[","Encounter","]" ] - } ] - } ] - }, { - "value" : [ " ","E" ] - } ] - } ] - }, { - "value" : [ "\n" ] - }, { - "r" : "283", - "s" : [ { - "value" : [ "with " ] - }, { - "r" : "259", - "s" : [ { - "r" : "260", - "s" : [ { - "r" : "260", - "s" : [ { - "value" : [ "[","Condition","]" ] - } ] - } ] - }, { - "value" : [ " ","C" ] - } ] - }, { - "value" : [ " such that " ] - }, { - "r" : "267", - "s" : [ { - "r" : "268", - "s" : [ { - "r" : "270", - "s" : [ { - "r" : "269", - "s" : [ { - "value" : [ "C" ] - } ] - }, { - "value" : [ "." ] - }, { - "r" : "270", - "s" : [ { - "value" : [ "encounterId" ] - } ] - } ] - }, { - "value" : [ " ","="," " ] - }, { - "r" : "272", - "s" : [ { - "r" : "271", - "s" : [ { - "value" : [ "E" ] - } ] - }, { - "value" : [ "." ] - }, { - "r" : "272", - "s" : [ { - "value" : [ "id" ] - } ] - } ] - } ] - }, { - "value" : [ " and " ] - }, { - "r" : "275", - "s" : [ { - "value" : [ "exists" ] - }, { - "r" : "277", - "s" : [ { - "value" : [ "(" ] - }, { - "r" : "277", - "s" : [ { - "r" : "276", - "s" : [ { - "value" : [ "C" ] - } ] - }, { - "value" : [ "." ] - }, { - "r" : "277", - "s" : [ { - "value" : [ "status" ] - } ] - } ] - }, { - "value" : [ ")" ] - } ] - } ] - } ] - } ] - } ] + "value" : [ " ", "E" ] } ] - } - } ], + } ] + }, { + "value" : [ "\n" ] + }, { + "r" : "318", + "s" : [ { + "value" : [ "with " ] + }, { + "r" : "303", + "s" : [ { + "r" : "304", + "s" : [ { + "r" : "304", + "s" : [ { + "value" : [ "[", "Medication", "]" ] + } ] + } ] + }, { + "value" : [ " ", "M" ] + } ] + }, { + "value" : [ " such that " ] + }, { + "r" : "311", + "s" : [ { + "r" : "313", + "s" : [ { + "r" : "312", + "s" : [ { + "value" : [ "M" ] + } ] + }, { + "value" : [ "." ] + }, { + "r" : "313", + "s" : [ { + "value" : [ "encounterId" ] + } ] + } ] + }, { + "value" : [ " ", "=", " " ] + }, { + "r" : "315", + "s" : [ { + "r" : "314", + "s" : [ { + "value" : [ "E" ] + } ] + }, { + "value" : [ "." ] + }, { + "r" : "315", + "s" : [ { + "value" : [ "id" ] + } ] + } ] + } ] + } ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "324", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "325", + "name" : "{https://github.com/cqframework/cql-execution/simple}Encounter", + "annotation" : [ ] + } + }, + "expression" : { + "type" : "Query", + "localId" : "321", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "322", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "323", + "name" : "{https://github.com/cqframework/cql-execution/simple}Encounter", + "annotation" : [ ] + } + }, + "source" : [ { + "localId" : "294", + "alias" : "E", + "annotation" : [ ], "resultTypeSpecifier" : { - "localId" : "289", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "290", + "type" : "ListTypeSpecifier", + "localId" : "300", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "301", + "name" : "{https://github.com/cqframework/cql-execution/simple}Encounter", + "annotation" : [ ] + } + }, + "expression" : { + "type" : "Retrieve", + "localId" : "295", + "dataType" : "{https://github.com/cqframework/cql-execution/simple}Encounter", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "298", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "299", "name" : "{https://github.com/cqframework/cql-execution/simple}Encounter", - "type" : "NamedTypeSpecifier" - } + "annotation" : [ ] + } + }, + "include" : [ ], + "codeFilter" : [ ], + "dateFilter" : [ ], + "otherFilter" : [ ] + } + } ], + "let" : [ ], + "relationship" : [ { + "type" : "With", + "localId" : "318", + "alias" : "M", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "319", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "320", + "name" : "{https://github.com/cqframework/cql-execution/simple}Medication", + "annotation" : [ ] + } }, "expression" : { - "localId" : "286", - "type" : "Query", - "resultTypeSpecifier" : { - "localId" : "287", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "288", - "name" : "{https://github.com/cqframework/cql-execution/simple}Encounter", - "type" : "NamedTypeSpecifier" - } - }, - "source" : [ { - "localId" : "250", - "alias" : "E", - "resultTypeSpecifier" : { - "localId" : "256", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "257", - "name" : "{https://github.com/cqframework/cql-execution/simple}Encounter", - "type" : "NamedTypeSpecifier" - } - }, - "expression" : { - "localId" : "251", - "dataType" : "{https://github.com/cqframework/cql-execution/simple}Encounter", - "type" : "Retrieve", - "resultTypeSpecifier" : { - "localId" : "254", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "255", - "name" : "{https://github.com/cqframework/cql-execution/simple}Encounter", - "type" : "NamedTypeSpecifier" - } - }, - "include" : [ ], - "codeFilter" : [ ], - "dateFilter" : [ ], - "otherFilter" : [ ] - } - } ], - "let" : [ ], - "relationship" : [ { - "localId" : "283", - "alias" : "C", - "type" : "With", - "resultTypeSpecifier" : { - "localId" : "284", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "285", - "name" : "{https://github.com/cqframework/cql-execution/simple}Condition", - "type" : "NamedTypeSpecifier" - } - }, - "expression" : { - "localId" : "260", - "dataType" : "{https://github.com/cqframework/cql-execution/simple}Condition", - "type" : "Retrieve", - "resultTypeSpecifier" : { - "localId" : "263", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "264", - "name" : "{https://github.com/cqframework/cql-execution/simple}Condition", - "type" : "NamedTypeSpecifier" - } - }, - "include" : [ ], - "codeFilter" : [ ], - "dateFilter" : [ ], - "otherFilter" : [ ] - }, - "suchThat" : { - "localId" : "267", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "And", - "signature" : [ { - "localId" : "281", - "name" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "282", - "name" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "268", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "Equal", - "signature" : [ { - "localId" : "273", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "274", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "270", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "path" : "encounterId", - "scope" : "C", - "type" : "Property" - }, { - "localId" : "272", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "path" : "id", - "scope" : "E", - "type" : "Property" - } ] - }, { - "localId" : "275", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "Exists", - "signature" : [ { - "localId" : "279", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "280", - "name" : "{urn:hl7-org:elm-types:r1}Code", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : { - "localId" : "278", - "type" : "ToList", - "signature" : [ ], - "operand" : { - "localId" : "277", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Code", - "path" : "status", - "scope" : "C", - "type" : "Property" - } - } - } ] - } - } ] + "type" : "Retrieve", + "localId" : "304", + "dataType" : "{https://github.com/cqframework/cql-execution/simple}Medication", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "307", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "308", + "name" : "{https://github.com/cqframework/cql-execution/simple}Medication", + "annotation" : [ ] + } + }, + "include" : [ ], + "codeFilter" : [ ], + "dateFilter" : [ ], + "otherFilter" : [ ] + }, + "suchThat" : { + "type" : "Equal", + "localId" : "311", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "316", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "317", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "Property", + "localId" : "313", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "path" : "encounterId", + "scope" : "M", + "annotation" : [ ] + }, { + "type" : "Property", + "localId" : "315", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "path" : "id", + "scope" : "E", + "annotation" : [ ] + } ] } - }, { - "localId" : "293", - "name" : "withQueryEmptySecondarySource", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "293", + } ] + } + }, { + "localId" : "328", + "name" : "withOutQuery", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "328", + "s" : [ { + "value" : [ "", "define ", "withOutQuery", ": " ] + }, { + "r" : "365", + "s" : [ { + "s" : [ { + "r" : "329", + "s" : [ { + "r" : "330", + "s" : [ { + "r" : "330", + "s" : [ { + "value" : [ "[", "Encounter", "]" ] + } ] + } ] + }, { + "value" : [ " ", "E" ] + } ] + } ] + }, { + "value" : [ "\n" ] + }, { + "r" : "362", + "s" : [ { + "value" : [ "without " ] + }, { + "r" : "338", "s" : [ { - "value" : [ "","define ","withQueryEmptySecondarySource",": " ] + "r" : "339", + "s" : [ { + "r" : "339", + "s" : [ { + "value" : [ "[", "Condition", "]" ] + } ] + } ] }, { - "r" : "321", - "s" : [ { + "value" : [ " ", "C" ] + } ] + }, { + "value" : [ " such that " ] + }, { + "r" : "346", + "s" : [ { + "r" : "347", + "s" : [ { + "r" : "349", + "s" : [ { + "r" : "348", "s" : [ { - "r" : "294", - "s" : [ { - "r" : "295", - "s" : [ { - "r" : "295", - "s" : [ { - "value" : [ "[","Encounter","]" ] - } ] - } ] - }, { - "value" : [ " ","E" ] - } ] + "value" : [ "C" ] } ] - }, { - "value" : [ "\n" ] - }, { - "r" : "318", + }, { + "value" : [ "." ] + }, { + "r" : "349", "s" : [ { - "value" : [ "with " ] - }, { - "r" : "303", - "s" : [ { - "r" : "304", - "s" : [ { - "r" : "304", - "s" : [ { - "value" : [ "[","Medication","]" ] - } ] - } ] - }, { - "value" : [ " ","M" ] - } ] + "value" : [ "encounterId" ] + } ] + } ] + }, { + "value" : [ " ", "=", " " ] + }, { + "r" : "351", + "s" : [ { + "r" : "350", + "s" : [ { + "value" : [ "E" ] + } ] + }, { + "value" : [ "." ] + }, { + "r" : "351", + "s" : [ { + "value" : [ "id" ] + } ] + } ] + } ] + }, { + "value" : [ " and " ] + }, { + "r" : "354", + "s" : [ { + "value" : [ "exists" ] + }, { + "r" : "356", + "s" : [ { + "value" : [ "(" ] + }, { + "r" : "356", + "s" : [ { + "r" : "355", + "s" : [ { + "value" : [ "C" ] + } ] }, { - "value" : [ " such that " ] + "value" : [ "." ] }, { - "r" : "311", - "s" : [ { - "r" : "313", - "s" : [ { - "r" : "312", - "s" : [ { - "value" : [ "M" ] - } ] - }, { - "value" : [ "." ] - }, { - "r" : "313", - "s" : [ { - "value" : [ "encounterId" ] - } ] - } ] - }, { - "value" : [ " ","="," " ] - }, { - "r" : "315", - "s" : [ { - "r" : "314", - "s" : [ { - "value" : [ "E" ] - } ] - }, { - "value" : [ "." ] - }, { - "r" : "315", - "s" : [ { - "value" : [ "id" ] - } ] - } ] - } ] + "r" : "356", + "s" : [ { + "value" : [ "status" ] + } ] } ] - } ] + }, { + "value" : [ ")" ] + } ] + } ] } ] - } - } ], + } ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "368", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "369", + "name" : "{https://github.com/cqframework/cql-execution/simple}Encounter", + "annotation" : [ ] + } + }, + "expression" : { + "type" : "Query", + "localId" : "365", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "366", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "367", + "name" : "{https://github.com/cqframework/cql-execution/simple}Encounter", + "annotation" : [ ] + } + }, + "source" : [ { + "localId" : "329", + "alias" : "E", + "annotation" : [ ], "resultTypeSpecifier" : { - "localId" : "324", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "325", + "type" : "ListTypeSpecifier", + "localId" : "335", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "336", + "name" : "{https://github.com/cqframework/cql-execution/simple}Encounter", + "annotation" : [ ] + } + }, + "expression" : { + "type" : "Retrieve", + "localId" : "330", + "dataType" : "{https://github.com/cqframework/cql-execution/simple}Encounter", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "333", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "334", "name" : "{https://github.com/cqframework/cql-execution/simple}Encounter", - "type" : "NamedTypeSpecifier" - } + "annotation" : [ ] + } + }, + "include" : [ ], + "codeFilter" : [ ], + "dateFilter" : [ ], + "otherFilter" : [ ] + } + } ], + "let" : [ ], + "relationship" : [ { + "type" : "Without", + "localId" : "362", + "alias" : "C", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "363", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "364", + "name" : "{https://github.com/cqframework/cql-execution/simple}Condition", + "annotation" : [ ] + } }, "expression" : { - "localId" : "321", - "type" : "Query", - "resultTypeSpecifier" : { - "localId" : "322", + "type" : "Retrieve", + "localId" : "339", + "dataType" : "{https://github.com/cqframework/cql-execution/simple}Condition", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "342", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "343", + "name" : "{https://github.com/cqframework/cql-execution/simple}Condition", + "annotation" : [ ] + } + }, + "include" : [ ], + "codeFilter" : [ ], + "dateFilter" : [ ], + "otherFilter" : [ ] + }, + "suchThat" : { + "type" : "And", + "localId" : "346", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "360", + "name" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "361", + "name" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "Equal", + "localId" : "347", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "352", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "353", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "Property", + "localId" : "349", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "path" : "encounterId", + "scope" : "C", + "annotation" : [ ] + }, { + "type" : "Property", + "localId" : "351", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "path" : "id", + "scope" : "E", + "annotation" : [ ] + } ] + }, { + "type" : "Exists", + "localId" : "354", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { "type" : "ListTypeSpecifier", + "localId" : "358", + "annotation" : [ ], "elementType" : { - "localId" : "323", - "name" : "{https://github.com/cqframework/cql-execution/simple}Encounter", - "type" : "NamedTypeSpecifier" - } - }, - "source" : [ { - "localId" : "294", - "alias" : "E", - "resultTypeSpecifier" : { - "localId" : "300", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "301", - "name" : "{https://github.com/cqframework/cql-execution/simple}Encounter", - "type" : "NamedTypeSpecifier" - } - }, - "expression" : { - "localId" : "295", - "dataType" : "{https://github.com/cqframework/cql-execution/simple}Encounter", - "type" : "Retrieve", - "resultTypeSpecifier" : { - "localId" : "298", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "299", - "name" : "{https://github.com/cqframework/cql-execution/simple}Encounter", - "type" : "NamedTypeSpecifier" - } - }, - "include" : [ ], - "codeFilter" : [ ], - "dateFilter" : [ ], - "otherFilter" : [ ] + "type" : "NamedTypeSpecifier", + "localId" : "359", + "name" : "{urn:hl7-org:elm-types:r1}Code", + "annotation" : [ ] } - } ], - "let" : [ ], - "relationship" : [ { - "localId" : "318", - "alias" : "M", - "type" : "With", - "resultTypeSpecifier" : { - "localId" : "319", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "320", - "name" : "{https://github.com/cqframework/cql-execution/simple}Medication", - "type" : "NamedTypeSpecifier" - } - }, - "expression" : { - "localId" : "304", - "dataType" : "{https://github.com/cqframework/cql-execution/simple}Medication", - "type" : "Retrieve", - "resultTypeSpecifier" : { - "localId" : "307", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "308", - "name" : "{https://github.com/cqframework/cql-execution/simple}Medication", - "type" : "NamedTypeSpecifier" - } - }, - "include" : [ ], - "codeFilter" : [ ], - "dateFilter" : [ ], - "otherFilter" : [ ] - }, - "suchThat" : { - "localId" : "311", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "Equal", - "signature" : [ { - "localId" : "316", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "317", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "313", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "path" : "encounterId", - "scope" : "M", - "type" : "Property" - }, { - "localId" : "315", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "path" : "id", - "scope" : "E", - "type" : "Property" - } ] + } ], + "operand" : { + "type" : "ToList", + "localId" : "357", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Property", + "localId" : "356", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Code", + "path" : "status", + "scope" : "C", + "annotation" : [ ] } - } ] + } + } ] } - }, { - "localId" : "328", - "name" : "withOutQuery", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "328", + } ] + } + }, { + "localId" : "372", + "name" : "withOutQuery2", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "372", + "s" : [ { + "value" : [ "", "define ", "withOutQuery2", ": " ] + }, { + "r" : "400", + "s" : [ { + "s" : [ { + "r" : "373", "s" : [ { - "value" : [ "","define ","withOutQuery",": " ] + "r" : "374", + "s" : [ { + "r" : "374", + "s" : [ { + "value" : [ "[", "Encounter", "]" ] + } ] + } ] }, { - "r" : "365", - "s" : [ { - "s" : [ { - "r" : "329", - "s" : [ { - "r" : "330", - "s" : [ { - "r" : "330", - "s" : [ { - "value" : [ "[","Encounter","]" ] - } ] - } ] - }, { - "value" : [ " ","E" ] - } ] - } ] - }, { - "value" : [ "\n" ] - }, { - "r" : "362", - "s" : [ { - "value" : [ "without " ] - }, { - "r" : "338", - "s" : [ { - "r" : "339", - "s" : [ { - "r" : "339", - "s" : [ { - "value" : [ "[","Condition","]" ] - } ] - } ] - }, { - "value" : [ " ","C" ] - } ] - }, { - "value" : [ " such that " ] - }, { - "r" : "346", - "s" : [ { - "r" : "347", - "s" : [ { - "r" : "349", - "s" : [ { - "r" : "348", - "s" : [ { - "value" : [ "C" ] - } ] - }, { - "value" : [ "." ] - }, { - "r" : "349", - "s" : [ { - "value" : [ "encounterId" ] - } ] - } ] - }, { - "value" : [ " ","="," " ] - }, { - "r" : "351", - "s" : [ { - "r" : "350", - "s" : [ { - "value" : [ "E" ] - } ] - }, { - "value" : [ "." ] - }, { - "r" : "351", - "s" : [ { - "value" : [ "id" ] - } ] - } ] - } ] - }, { - "value" : [ " and " ] - }, { - "r" : "354", - "s" : [ { - "value" : [ "exists" ] - }, { - "r" : "356", - "s" : [ { - "value" : [ "(" ] - }, { - "r" : "356", - "s" : [ { - "r" : "355", - "s" : [ { - "value" : [ "C" ] - } ] - }, { - "value" : [ "." ] - }, { - "r" : "356", - "s" : [ { - "value" : [ "status" ] - } ] - } ] - }, { - "value" : [ ")" ] - } ] - } ] - } ] - } ] - } ] + "value" : [ " ", "E" ] } ] - } - } ], + } ] + }, { + "value" : [ "\n" ] + }, { + "r" : "397", + "s" : [ { + "value" : [ "without " ] + }, { + "r" : "382", + "s" : [ { + "r" : "383", + "s" : [ { + "r" : "383", + "s" : [ { + "value" : [ "[", "Condition", "]" ] + } ] + } ] + }, { + "value" : [ " ", "C" ] + } ] + }, { + "value" : [ " such that " ] + }, { + "r" : "390", + "s" : [ { + "r" : "392", + "s" : [ { + "r" : "391", + "s" : [ { + "value" : [ "C" ] + } ] + }, { + "value" : [ "." ] + }, { + "r" : "392", + "s" : [ { + "value" : [ "encounterId" ] + } ] + } ] + }, { + "value" : [ " ", "=", " " ] + }, { + "r" : "394", + "s" : [ { + "r" : "393", + "s" : [ { + "value" : [ "E" ] + } ] + }, { + "value" : [ "." ] + }, { + "r" : "394", + "s" : [ { + "value" : [ "id" ] + } ] + } ] + } ] + } ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "403", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "404", + "name" : "{https://github.com/cqframework/cql-execution/simple}Encounter", + "annotation" : [ ] + } + }, + "expression" : { + "type" : "Query", + "localId" : "400", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "401", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "402", + "name" : "{https://github.com/cqframework/cql-execution/simple}Encounter", + "annotation" : [ ] + } + }, + "source" : [ { + "localId" : "373", + "alias" : "E", + "annotation" : [ ], "resultTypeSpecifier" : { - "localId" : "368", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "369", - "name" : "{https://github.com/cqframework/cql-execution/simple}Encounter", - "type" : "NamedTypeSpecifier" - } + "type" : "ListTypeSpecifier", + "localId" : "379", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "380", + "name" : "{https://github.com/cqframework/cql-execution/simple}Encounter", + "annotation" : [ ] + } }, "expression" : { - "localId" : "365", - "type" : "Query", - "resultTypeSpecifier" : { - "localId" : "366", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "367", - "name" : "{https://github.com/cqframework/cql-execution/simple}Encounter", - "type" : "NamedTypeSpecifier" - } - }, - "source" : [ { - "localId" : "329", - "alias" : "E", - "resultTypeSpecifier" : { - "localId" : "335", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "336", - "name" : "{https://github.com/cqframework/cql-execution/simple}Encounter", - "type" : "NamedTypeSpecifier" - } - }, - "expression" : { - "localId" : "330", - "dataType" : "{https://github.com/cqframework/cql-execution/simple}Encounter", - "type" : "Retrieve", - "resultTypeSpecifier" : { - "localId" : "333", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "334", - "name" : "{https://github.com/cqframework/cql-execution/simple}Encounter", - "type" : "NamedTypeSpecifier" - } - }, - "include" : [ ], - "codeFilter" : [ ], - "dateFilter" : [ ], - "otherFilter" : [ ] - } - } ], - "let" : [ ], - "relationship" : [ { - "localId" : "362", - "alias" : "C", - "type" : "Without", - "resultTypeSpecifier" : { - "localId" : "363", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "364", - "name" : "{https://github.com/cqframework/cql-execution/simple}Condition", - "type" : "NamedTypeSpecifier" - } - }, - "expression" : { - "localId" : "339", - "dataType" : "{https://github.com/cqframework/cql-execution/simple}Condition", - "type" : "Retrieve", - "resultTypeSpecifier" : { - "localId" : "342", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "343", - "name" : "{https://github.com/cqframework/cql-execution/simple}Condition", - "type" : "NamedTypeSpecifier" - } - }, - "include" : [ ], - "codeFilter" : [ ], - "dateFilter" : [ ], - "otherFilter" : [ ] - }, - "suchThat" : { - "localId" : "346", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "And", - "signature" : [ { - "localId" : "360", - "name" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "361", - "name" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "347", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "Equal", - "signature" : [ { - "localId" : "352", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "353", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "349", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "path" : "encounterId", - "scope" : "C", - "type" : "Property" - }, { - "localId" : "351", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "path" : "id", - "scope" : "E", - "type" : "Property" - } ] - }, { - "localId" : "354", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "Exists", - "signature" : [ { - "localId" : "358", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "359", - "name" : "{urn:hl7-org:elm-types:r1}Code", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : { - "localId" : "357", - "type" : "ToList", - "signature" : [ ], - "operand" : { - "localId" : "356", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Code", - "path" : "status", - "scope" : "C", - "type" : "Property" - } - } - } ] - } - } ] + "type" : "Retrieve", + "localId" : "374", + "dataType" : "{https://github.com/cqframework/cql-execution/simple}Encounter", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "377", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "378", + "name" : "{https://github.com/cqframework/cql-execution/simple}Encounter", + "annotation" : [ ] + } + }, + "include" : [ ], + "codeFilter" : [ ], + "dateFilter" : [ ], + "otherFilter" : [ ] } - }, { - "localId" : "372", - "name" : "withOutQuery2", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "372", - "s" : [ { - "value" : [ "","define ","withOutQuery2",": " ] - }, { - "r" : "400", - "s" : [ { - "s" : [ { - "r" : "373", - "s" : [ { - "r" : "374", - "s" : [ { - "r" : "374", - "s" : [ { - "value" : [ "[","Encounter","]" ] - } ] - } ] - }, { - "value" : [ " ","E" ] - } ] - } ] - }, { - "value" : [ "\n" ] - }, { - "r" : "397", - "s" : [ { - "value" : [ "without " ] - }, { - "r" : "382", - "s" : [ { - "r" : "383", - "s" : [ { - "r" : "383", - "s" : [ { - "value" : [ "[","Condition","]" ] - } ] - } ] - }, { - "value" : [ " ","C" ] - } ] - }, { - "value" : [ " such that " ] - }, { - "r" : "390", - "s" : [ { - "r" : "392", - "s" : [ { - "r" : "391", - "s" : [ { - "value" : [ "C" ] - } ] - }, { - "value" : [ "." ] - }, { - "r" : "392", - "s" : [ { - "value" : [ "encounterId" ] - } ] - } ] - }, { - "value" : [ " ","="," " ] - }, { - "r" : "394", - "s" : [ { - "r" : "393", - "s" : [ { - "value" : [ "E" ] - } ] - }, { - "value" : [ "." ] - }, { - "r" : "394", - "s" : [ { - "value" : [ "id" ] - } ] - } ] - } ] - } ] - } ] - } ] - } - } ], + } ], + "let" : [ ], + "relationship" : [ { + "type" : "Without", + "localId" : "397", + "alias" : "C", + "annotation" : [ ], "resultTypeSpecifier" : { - "localId" : "403", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "404", - "name" : "{https://github.com/cqframework/cql-execution/simple}Encounter", - "type" : "NamedTypeSpecifier" - } + "type" : "ListTypeSpecifier", + "localId" : "398", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "399", + "name" : "{https://github.com/cqframework/cql-execution/simple}Condition", + "annotation" : [ ] + } }, "expression" : { - "localId" : "400", - "type" : "Query", - "resultTypeSpecifier" : { - "localId" : "401", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "402", - "name" : "{https://github.com/cqframework/cql-execution/simple}Encounter", - "type" : "NamedTypeSpecifier" - } - }, - "source" : [ { - "localId" : "373", - "alias" : "E", - "resultTypeSpecifier" : { - "localId" : "379", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "380", - "name" : "{https://github.com/cqframework/cql-execution/simple}Encounter", - "type" : "NamedTypeSpecifier" - } - }, - "expression" : { - "localId" : "374", - "dataType" : "{https://github.com/cqframework/cql-execution/simple}Encounter", - "type" : "Retrieve", - "resultTypeSpecifier" : { - "localId" : "377", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "378", - "name" : "{https://github.com/cqframework/cql-execution/simple}Encounter", - "type" : "NamedTypeSpecifier" - } - }, - "include" : [ ], - "codeFilter" : [ ], - "dateFilter" : [ ], - "otherFilter" : [ ] - } - } ], - "let" : [ ], - "relationship" : [ { - "localId" : "397", - "alias" : "C", - "type" : "Without", - "resultTypeSpecifier" : { - "localId" : "398", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "399", - "name" : "{https://github.com/cqframework/cql-execution/simple}Condition", - "type" : "NamedTypeSpecifier" - } - }, - "expression" : { - "localId" : "383", - "dataType" : "{https://github.com/cqframework/cql-execution/simple}Condition", - "type" : "Retrieve", - "resultTypeSpecifier" : { - "localId" : "386", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "387", - "name" : "{https://github.com/cqframework/cql-execution/simple}Condition", - "type" : "NamedTypeSpecifier" - } - }, - "include" : [ ], - "codeFilter" : [ ], - "dateFilter" : [ ], - "otherFilter" : [ ] - }, - "suchThat" : { - "localId" : "390", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "Equal", - "signature" : [ { - "localId" : "395", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "396", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "392", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "path" : "encounterId", - "scope" : "C", - "type" : "Property" - }, { - "localId" : "394", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "path" : "id", - "scope" : "E", - "type" : "Property" - } ] - } - } ] + "type" : "Retrieve", + "localId" : "383", + "dataType" : "{https://github.com/cqframework/cql-execution/simple}Condition", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "386", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "387", + "name" : "{https://github.com/cqframework/cql-execution/simple}Condition", + "annotation" : [ ] + } + }, + "include" : [ ], + "codeFilter" : [ ], + "dateFilter" : [ ], + "otherFilter" : [ ] + }, + "suchThat" : { + "type" : "Equal", + "localId" : "390", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "395", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "396", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "Property", + "localId" : "392", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "path" : "encounterId", + "scope" : "C", + "annotation" : [ ] + }, { + "type" : "Property", + "localId" : "394", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "path" : "id", + "scope" : "E", + "annotation" : [ ] + } ] } - }, { - "localId" : "407", - "name" : "withOutQueryEmptySecondarySource", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "407", + } ] + } + }, { + "localId" : "407", + "name" : "withOutQueryEmptySecondarySource", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "407", + "s" : [ { + "value" : [ "", "define ", "withOutQueryEmptySecondarySource", ": " ] + }, { + "r" : "435", + "s" : [ { + "s" : [ { + "r" : "408", "s" : [ { - "value" : [ "","define ","withOutQueryEmptySecondarySource",": " ] + "r" : "409", + "s" : [ { + "r" : "409", + "s" : [ { + "value" : [ "[", "Encounter", "]" ] + } ] + } ] }, { - "r" : "435", - "s" : [ { - "s" : [ { - "r" : "408", - "s" : [ { - "r" : "409", - "s" : [ { - "r" : "409", - "s" : [ { - "value" : [ "[","Encounter","]" ] - } ] - } ] - }, { - "value" : [ " ","E" ] - } ] - } ] - }, { - "value" : [ "\n" ] - }, { - "r" : "432", - "s" : [ { - "value" : [ "without " ] - }, { - "r" : "417", - "s" : [ { - "r" : "418", - "s" : [ { - "r" : "418", - "s" : [ { - "value" : [ "[","Medication","]" ] - } ] - } ] - }, { - "value" : [ " ","M" ] - } ] - }, { - "value" : [ " such that " ] - }, { - "r" : "425", - "s" : [ { - "r" : "427", - "s" : [ { - "r" : "426", - "s" : [ { - "value" : [ "M" ] - } ] - }, { - "value" : [ "." ] - }, { - "r" : "427", - "s" : [ { - "value" : [ "encounterId" ] - } ] - } ] - }, { - "value" : [ " ","="," " ] - }, { - "r" : "429", - "s" : [ { - "r" : "428", - "s" : [ { - "value" : [ "E" ] - } ] - }, { - "value" : [ "." ] - }, { - "r" : "429", - "s" : [ { - "value" : [ "id" ] - } ] - } ] - } ] - } ] - } ] + "value" : [ " ", "E" ] } ] - } - } ], + } ] + }, { + "value" : [ "\n" ] + }, { + "r" : "432", + "s" : [ { + "value" : [ "without " ] + }, { + "r" : "417", + "s" : [ { + "r" : "418", + "s" : [ { + "r" : "418", + "s" : [ { + "value" : [ "[", "Medication", "]" ] + } ] + } ] + }, { + "value" : [ " ", "M" ] + } ] + }, { + "value" : [ " such that " ] + }, { + "r" : "425", + "s" : [ { + "r" : "427", + "s" : [ { + "r" : "426", + "s" : [ { + "value" : [ "M" ] + } ] + }, { + "value" : [ "." ] + }, { + "r" : "427", + "s" : [ { + "value" : [ "encounterId" ] + } ] + } ] + }, { + "value" : [ " ", "=", " " ] + }, { + "r" : "429", + "s" : [ { + "r" : "428", + "s" : [ { + "value" : [ "E" ] + } ] + }, { + "value" : [ "." ] + }, { + "r" : "429", + "s" : [ { + "value" : [ "id" ] + } ] + } ] + } ] + } ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "438", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "439", + "name" : "{https://github.com/cqframework/cql-execution/simple}Encounter", + "annotation" : [ ] + } + }, + "expression" : { + "type" : "Query", + "localId" : "435", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "436", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "437", + "name" : "{https://github.com/cqframework/cql-execution/simple}Encounter", + "annotation" : [ ] + } + }, + "source" : [ { + "localId" : "408", + "alias" : "E", + "annotation" : [ ], "resultTypeSpecifier" : { - "localId" : "438", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "439", + "type" : "ListTypeSpecifier", + "localId" : "414", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "415", + "name" : "{https://github.com/cqframework/cql-execution/simple}Encounter", + "annotation" : [ ] + } + }, + "expression" : { + "type" : "Retrieve", + "localId" : "409", + "dataType" : "{https://github.com/cqframework/cql-execution/simple}Encounter", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "412", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "413", "name" : "{https://github.com/cqframework/cql-execution/simple}Encounter", - "type" : "NamedTypeSpecifier" - } + "annotation" : [ ] + } + }, + "include" : [ ], + "codeFilter" : [ ], + "dateFilter" : [ ], + "otherFilter" : [ ] + } + } ], + "let" : [ ], + "relationship" : [ { + "type" : "Without", + "localId" : "432", + "alias" : "M", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "433", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "434", + "name" : "{https://github.com/cqframework/cql-execution/simple}Medication", + "annotation" : [ ] + } }, "expression" : { - "localId" : "435", - "type" : "Query", - "resultTypeSpecifier" : { - "localId" : "436", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "437", - "name" : "{https://github.com/cqframework/cql-execution/simple}Encounter", - "type" : "NamedTypeSpecifier" - } - }, - "source" : [ { - "localId" : "408", - "alias" : "E", - "resultTypeSpecifier" : { - "localId" : "414", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "415", - "name" : "{https://github.com/cqframework/cql-execution/simple}Encounter", - "type" : "NamedTypeSpecifier" - } - }, - "expression" : { - "localId" : "409", - "dataType" : "{https://github.com/cqframework/cql-execution/simple}Encounter", - "type" : "Retrieve", - "resultTypeSpecifier" : { - "localId" : "412", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "413", - "name" : "{https://github.com/cqframework/cql-execution/simple}Encounter", - "type" : "NamedTypeSpecifier" - } - }, - "include" : [ ], - "codeFilter" : [ ], - "dateFilter" : [ ], - "otherFilter" : [ ] - } - } ], - "let" : [ ], - "relationship" : [ { - "localId" : "432", - "alias" : "M", - "type" : "Without", - "resultTypeSpecifier" : { - "localId" : "433", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "434", - "name" : "{https://github.com/cqframework/cql-execution/simple}Medication", - "type" : "NamedTypeSpecifier" - } - }, - "expression" : { - "localId" : "418", - "dataType" : "{https://github.com/cqframework/cql-execution/simple}Medication", - "type" : "Retrieve", - "resultTypeSpecifier" : { - "localId" : "421", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "422", - "name" : "{https://github.com/cqframework/cql-execution/simple}Medication", - "type" : "NamedTypeSpecifier" - } - }, - "include" : [ ], - "codeFilter" : [ ], - "dateFilter" : [ ], - "otherFilter" : [ ] - }, - "suchThat" : { - "localId" : "425", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "Equal", - "signature" : [ { - "localId" : "430", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "431", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "427", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "path" : "encounterId", - "scope" : "M", - "type" : "Property" - }, { - "localId" : "429", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "path" : "id", - "scope" : "E", - "type" : "Property" - } ] - } - } ] + "type" : "Retrieve", + "localId" : "418", + "dataType" : "{https://github.com/cqframework/cql-execution/simple}Medication", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "421", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "422", + "name" : "{https://github.com/cqframework/cql-execution/simple}Medication", + "annotation" : [ ] + } + }, + "include" : [ ], + "codeFilter" : [ ], + "dateFilter" : [ ], + "otherFilter" : [ ] + }, + "suchThat" : { + "type" : "Equal", + "localId" : "425", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "430", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "431", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "Property", + "localId" : "427", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "path" : "encounterId", + "scope" : "M", + "annotation" : [ ] + }, { + "type" : "Property", + "localId" : "429", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "path" : "id", + "scope" : "E", + "annotation" : [ ] + } ] } - } ] - } - } + } ] + } + } ] + } + } } /* QueryLet @@ -4421,334 +4959,378 @@ return {E: E, a:a} */ module.exports['QueryLet'] = { - "library" : { - "localId" : "0", - "annotation" : [ { - "translatorVersion" : "3.27.0", - "translatorOptions" : "EnableDateRangeOptimization,EnableAnnotations,EnableResultTypes", - "signatureLevel" : "All", - "type" : "CqlToElmInfo" + "library" : { + "localId" : "0", + "annotation" : [ { + "type" : "CqlToElmInfo", + "translatorVersion" : "4.2.0", + "translatorOptions" : "EnableDateRangeOptimization,EnableAnnotations,EnableResultTypes", + "signatureLevel" : "All" + }, { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "214", + "s" : [ { + "value" : [ "", "library TestSnippet version '1'" ] + } ] + } + } ], + "identifier" : { + "id" : "TestSnippet", + "version" : "1" + }, + "schemaIdentifier" : { + "id" : "urn:hl7-org:elm", + "version" : "r1" + }, + "usings" : { + "def" : [ { + "localId" : "1", + "localIdentifier" : "System", + "uri" : "urn:hl7-org:elm-types:r1", + "annotation" : [ ] }, { - "type" : "Annotation", - "s" : { - "r" : "214", + "localId" : "206", + "localIdentifier" : "Simple", + "uri" : "https://github.com/cqframework/cql-execution/simple", + "version" : "1.0.0", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "206", "s" : [ { - "value" : [ "","library TestSnippet version '1'" ] + "value" : [ "", "using " ] + }, { + "s" : [ { + "value" : [ "Simple" ] + } ] + }, { + "value" : [ " version '1.0.0'" ] } ] - } - } ], - "identifier" : { - "id" : "TestSnippet", - "version" : "1" - }, - "schemaIdentifier" : { - "id" : "urn:hl7-org:elm", - "version" : "r1" - }, - "usings" : { - "def" : [ { - "localId" : "1", - "localIdentifier" : "System", - "uri" : "urn:hl7-org:elm-types:r1" - }, { - "localId" : "206", - "localIdentifier" : "Simple", - "uri" : "https://github.com/cqframework/cql-execution/simple", - "version" : "1.0.0", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "206", + } + } ] + } ] + }, + "contexts" : { + "def" : [ { + "localId" : "211", + "name" : "Patient", + "annotation" : [ ] + } ] + }, + "statements" : { + "def" : [ { + "localId" : "209", + "name" : "Patient", + "context" : "Patient", + "annotation" : [ ], + "expression" : { + "type" : "SingletonFrom", + "localId" : "210", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Retrieve", + "localId" : "208", + "dataType" : "{https://github.com/cqframework/cql-execution/simple}Patient", + "annotation" : [ ], + "include" : [ ], + "codeFilter" : [ ], + "dateFilter" : [ ], + "otherFilter" : [ ] + } + } + }, { + "localId" : "214", + "name" : "query", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "214", + "s" : [ { + "value" : [ "", "define ", "query", ": " ] + }, { + "r" : "242", + "s" : [ { + "s" : [ { + "r" : "215", "s" : [ { - "value" : [ "","using " ] - }, { - "s" : [ { - "value" : [ "Simple" ] - } ] + "r" : "216", + "s" : [ { + "r" : "216", + "s" : [ { + "value" : [ "[", "Encounter", "]" ] + } ] + } ] }, { - "value" : [ " version '1.0.0'" ] + "value" : [ " ", "E" ] } ] - } - } ] - } ] - }, - "contexts" : { - "def" : [ { - "localId" : "211", - "name" : "Patient" - } ] - }, - "statements" : { - "def" : [ { - "localId" : "209", - "name" : "Patient", - "context" : "Patient", - "expression" : { - "localId" : "210", - "type" : "SingletonFrom", - "signature" : [ ], - "operand" : { - "localId" : "208", - "dataType" : "{https://github.com/cqframework/cql-execution/simple}Patient", - "type" : "Retrieve", - "include" : [ ], - "codeFilter" : [ ], - "dateFilter" : [ ], - "otherFilter" : [ ] - } - } - }, { - "localId" : "214", - "name" : "query", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "214", + } ] + }, { + "value" : [ "\n" ] + }, { + "s" : [ { + "value" : [ "let " ] + }, { + "r" : "224", "s" : [ { - "value" : [ "","define ","query",": " ] + "value" : [ "a", ": " ] }, { - "r" : "242", - "s" : [ { - "s" : [ { - "r" : "215", - "s" : [ { - "r" : "216", - "s" : [ { - "r" : "216", - "s" : [ { - "value" : [ "[","Encounter","]" ] - } ] - } ] - }, { - "value" : [ " ","E" ] - } ] - } ] - }, { - "value" : [ "\n" ] - }, { - "s" : [ { - "value" : [ "let " ] - }, { - "r" : "224", - "s" : [ { - "value" : [ "a",": " ] - }, { - "r" : "225", - "s" : [ { - "value" : [ "E" ] - } ] - } ] - } ] - }, { - "value" : [ "\n" ] - }, { - "r" : "227", - "s" : [ { - "value" : [ "return " ] - }, { - "r" : "228", - "s" : [ { - "value" : [ "{" ] - }, { - "s" : [ { - "value" : [ "E",": " ] - }, { - "r" : "229", - "s" : [ { - "value" : [ "E" ] - } ] - } ] - }, { - "value" : [ ", " ] - }, { - "s" : [ { - "value" : [ "a",":" ] - }, { - "r" : "230", - "s" : [ { - "value" : [ "a" ] - } ] - } ] - }, { - "value" : [ "}" ] - } ] - } ] - } ] + "r" : "225", + "s" : [ { + "value" : [ "E" ] + } ] } ] - } - } ], - "resultTypeSpecifier" : { - "localId" : "249", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "250", - "type" : "TupleTypeSpecifier", - "element" : [ { - "localId" : "251", - "name" : "E", - "elementType" : { - "localId" : "252", - "name" : "{https://github.com/cqframework/cql-execution/simple}Encounter", - "type" : "NamedTypeSpecifier" - } + } ] + }, { + "value" : [ "\n" ] + }, { + "r" : "227", + "s" : [ { + "value" : [ "return " ] + }, { + "r" : "228", + "s" : [ { + "value" : [ "{" ] }, { - "localId" : "253", - "name" : "a", - "elementType" : { - "localId" : "254", - "name" : "{https://github.com/cqframework/cql-execution/simple}Encounter", - "type" : "NamedTypeSpecifier" - } + "s" : [ { + "value" : [ "E", ": " ] + }, { + "r" : "229", + "s" : [ { + "value" : [ "E" ] + } ] + } ] + }, { + "value" : [ ", " ] + }, { + "s" : [ { + "value" : [ "a", ":" ] + }, { + "r" : "230", + "s" : [ { + "value" : [ "a" ] + } ] + } ] + }, { + "value" : [ "}" ] } ] - } + } ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "249", + "annotation" : [ ], + "elementType" : { + "type" : "TupleTypeSpecifier", + "localId" : "250", + "annotation" : [ ], + "element" : [ { + "localId" : "251", + "name" : "E", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "252", + "name" : "{https://github.com/cqframework/cql-execution/simple}Encounter", + "annotation" : [ ] + } + }, { + "localId" : "253", + "name" : "a", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "254", + "name" : "{https://github.com/cqframework/cql-execution/simple}Encounter", + "annotation" : [ ] + } + } ] + } + }, + "expression" : { + "type" : "Query", + "localId" : "242", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "243", + "annotation" : [ ], + "elementType" : { + "type" : "TupleTypeSpecifier", + "localId" : "244", + "annotation" : [ ], + "element" : [ { + "localId" : "245", + "name" : "E", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "246", + "name" : "{https://github.com/cqframework/cql-execution/simple}Encounter", + "annotation" : [ ] + } + }, { + "localId" : "247", + "name" : "a", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "248", + "name" : "{https://github.com/cqframework/cql-execution/simple}Encounter", + "annotation" : [ ] + } + } ] + } + }, + "source" : [ { + "localId" : "215", + "alias" : "E", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "221", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "222", + "name" : "{https://github.com/cqframework/cql-execution/simple}Encounter", + "annotation" : [ ] + } }, "expression" : { - "localId" : "242", - "type" : "Query", - "resultTypeSpecifier" : { - "localId" : "243", - "type" : "ListTypeSpecifier", + "type" : "Retrieve", + "localId" : "216", + "dataType" : "{https://github.com/cqframework/cql-execution/simple}Encounter", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "219", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "220", + "name" : "{https://github.com/cqframework/cql-execution/simple}Encounter", + "annotation" : [ ] + } + }, + "include" : [ ], + "codeFilter" : [ ], + "dateFilter" : [ ], + "otherFilter" : [ ] + } + } ], + "let" : [ { + "localId" : "224", + "resultTypeName" : "{https://github.com/cqframework/cql-execution/simple}Encounter", + "identifier" : "a", + "annotation" : [ ], + "expression" : { + "type" : "AliasRef", + "localId" : "225", + "resultTypeName" : "{https://github.com/cqframework/cql-execution/simple}Encounter", + "name" : "E", + "annotation" : [ ] + } + } ], + "relationship" : [ ], + "return" : { + "localId" : "227", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "236", + "annotation" : [ ], + "elementType" : { + "type" : "TupleTypeSpecifier", + "localId" : "237", + "annotation" : [ ], + "element" : [ { + "localId" : "238", + "name" : "E", + "annotation" : [ ], "elementType" : { - "localId" : "244", - "type" : "TupleTypeSpecifier", - "element" : [ { - "localId" : "245", - "name" : "E", - "elementType" : { - "localId" : "246", - "name" : "{https://github.com/cqframework/cql-execution/simple}Encounter", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "247", - "name" : "a", - "elementType" : { - "localId" : "248", - "name" : "{https://github.com/cqframework/cql-execution/simple}Encounter", - "type" : "NamedTypeSpecifier" - } - } ] + "type" : "NamedTypeSpecifier", + "localId" : "239", + "name" : "{https://github.com/cqframework/cql-execution/simple}Encounter", + "annotation" : [ ] } - }, - "source" : [ { - "localId" : "215", - "alias" : "E", - "resultTypeSpecifier" : { - "localId" : "221", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "222", - "name" : "{https://github.com/cqframework/cql-execution/simple}Encounter", - "type" : "NamedTypeSpecifier" - } - }, - "expression" : { - "localId" : "216", - "dataType" : "{https://github.com/cqframework/cql-execution/simple}Encounter", - "type" : "Retrieve", - "resultTypeSpecifier" : { - "localId" : "219", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "220", - "name" : "{https://github.com/cqframework/cql-execution/simple}Encounter", - "type" : "NamedTypeSpecifier" - } - }, - "include" : [ ], - "codeFilter" : [ ], - "dateFilter" : [ ], - "otherFilter" : [ ] + }, { + "localId" : "240", + "name" : "a", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "241", + "name" : "{https://github.com/cqframework/cql-execution/simple}Encounter", + "annotation" : [ ] } - } ], - "let" : [ { - "localId" : "224", - "resultTypeName" : "{https://github.com/cqframework/cql-execution/simple}Encounter", - "identifier" : "a", - "expression" : { - "localId" : "225", - "resultTypeName" : "{https://github.com/cqframework/cql-execution/simple}Encounter", - "name" : "E", - "type" : "AliasRef" + } ] + } + }, + "expression" : { + "type" : "Tuple", + "localId" : "228", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "TupleTypeSpecifier", + "localId" : "231", + "annotation" : [ ], + "element" : [ { + "localId" : "232", + "name" : "E", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "233", + "name" : "{https://github.com/cqframework/cql-execution/simple}Encounter", + "annotation" : [ ] } - } ], - "relationship" : [ ], - "return" : { - "localId" : "227", - "resultTypeSpecifier" : { - "localId" : "236", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "237", - "type" : "TupleTypeSpecifier", - "element" : [ { - "localId" : "238", - "name" : "E", - "elementType" : { - "localId" : "239", - "name" : "{https://github.com/cqframework/cql-execution/simple}Encounter", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "240", - "name" : "a", - "elementType" : { - "localId" : "241", - "name" : "{https://github.com/cqframework/cql-execution/simple}Encounter", - "type" : "NamedTypeSpecifier" - } - } ] - } - }, - "expression" : { - "localId" : "228", - "type" : "Tuple", - "resultTypeSpecifier" : { - "localId" : "231", - "type" : "TupleTypeSpecifier", - "element" : [ { - "localId" : "232", - "name" : "E", - "elementType" : { - "localId" : "233", - "name" : "{https://github.com/cqframework/cql-execution/simple}Encounter", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "234", - "name" : "a", - "elementType" : { - "localId" : "235", - "name" : "{https://github.com/cqframework/cql-execution/simple}Encounter", - "type" : "NamedTypeSpecifier" - } - } ] - }, - "element" : [ { - "name" : "E", - "value" : { - "localId" : "229", - "resultTypeName" : "{https://github.com/cqframework/cql-execution/simple}Encounter", - "name" : "E", - "type" : "AliasRef" - } - }, { - "name" : "a", - "value" : { - "localId" : "230", - "resultTypeName" : "{https://github.com/cqframework/cql-execution/simple}Encounter", - "name" : "a", - "type" : "QueryLetRef" - } - } ] + }, { + "localId" : "234", + "name" : "a", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "235", + "name" : "{https://github.com/cqframework/cql-execution/simple}Encounter", + "annotation" : [ ] } - } + } ] + }, + "element" : [ { + "name" : "E", + "value" : { + "type" : "AliasRef", + "localId" : "229", + "resultTypeName" : "{https://github.com/cqframework/cql-execution/simple}Encounter", + "name" : "E", + "annotation" : [ ] + } + }, { + "name" : "a", + "value" : { + "type" : "QueryLetRef", + "localId" : "230", + "resultTypeName" : "{https://github.com/cqframework/cql-execution/simple}Encounter", + "name" : "a", + "annotation" : [ ] + } + } ] } - } ] - } - } + } + } + } ] + } + } } /* Tuple @@ -4759,330 +5341,372 @@ define query: [Encounter] E return {id: E.id, thing: E.status} */ module.exports['Tuple'] = { - "library" : { - "localId" : "0", - "annotation" : [ { - "translatorVersion" : "3.27.0", - "translatorOptions" : "EnableDateRangeOptimization,EnableAnnotations,EnableResultTypes", - "signatureLevel" : "All", - "type" : "CqlToElmInfo" + "library" : { + "localId" : "0", + "annotation" : [ { + "type" : "CqlToElmInfo", + "translatorVersion" : "4.2.0", + "translatorOptions" : "EnableDateRangeOptimization,EnableAnnotations,EnableResultTypes", + "signatureLevel" : "All" + }, { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "214", + "s" : [ { + "value" : [ "", "library TestSnippet version '1'" ] + } ] + } + } ], + "identifier" : { + "id" : "TestSnippet", + "version" : "1" + }, + "schemaIdentifier" : { + "id" : "urn:hl7-org:elm", + "version" : "r1" + }, + "usings" : { + "def" : [ { + "localId" : "1", + "localIdentifier" : "System", + "uri" : "urn:hl7-org:elm-types:r1", + "annotation" : [ ] }, { - "type" : "Annotation", - "s" : { - "r" : "214", + "localId" : "206", + "localIdentifier" : "Simple", + "uri" : "https://github.com/cqframework/cql-execution/simple", + "version" : "1.0.0", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "206", "s" : [ { - "value" : [ "","library TestSnippet version '1'" ] + "value" : [ "", "using " ] + }, { + "s" : [ { + "value" : [ "Simple" ] + } ] + }, { + "value" : [ " version '1.0.0'" ] } ] - } - } ], - "identifier" : { - "id" : "TestSnippet", - "version" : "1" - }, - "schemaIdentifier" : { - "id" : "urn:hl7-org:elm", - "version" : "r1" - }, - "usings" : { - "def" : [ { - "localId" : "1", - "localIdentifier" : "System", - "uri" : "urn:hl7-org:elm-types:r1" - }, { - "localId" : "206", - "localIdentifier" : "Simple", - "uri" : "https://github.com/cqframework/cql-execution/simple", - "version" : "1.0.0", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "206", + } + } ] + } ] + }, + "contexts" : { + "def" : [ { + "localId" : "211", + "name" : "Patient", + "annotation" : [ ] + } ] + }, + "statements" : { + "def" : [ { + "localId" : "209", + "name" : "Patient", + "context" : "Patient", + "annotation" : [ ], + "expression" : { + "type" : "SingletonFrom", + "localId" : "210", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Retrieve", + "localId" : "208", + "dataType" : "{https://github.com/cqframework/cql-execution/simple}Patient", + "annotation" : [ ], + "include" : [ ], + "codeFilter" : [ ], + "dateFilter" : [ ], + "otherFilter" : [ ] + } + } + }, { + "localId" : "214", + "name" : "query", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "214", + "s" : [ { + "value" : [ "", "define ", "query", ": " ] + }, { + "r" : "241", + "s" : [ { + "s" : [ { + "r" : "215", "s" : [ { - "value" : [ "","using " ] + "r" : "216", + "s" : [ { + "r" : "216", + "s" : [ { + "value" : [ "[", "Encounter", "]" ] + } ] + } ] }, { - "s" : [ { - "value" : [ "Simple" ] - } ] - }, { - "value" : [ " version '1.0.0'" ] + "value" : [ " ", "E" ] } ] - } - } ] - } ] - }, - "contexts" : { - "def" : [ { - "localId" : "211", - "name" : "Patient" - } ] - }, - "statements" : { - "def" : [ { - "localId" : "209", - "name" : "Patient", - "context" : "Patient", - "expression" : { - "localId" : "210", - "type" : "SingletonFrom", - "signature" : [ ], - "operand" : { - "localId" : "208", - "dataType" : "{https://github.com/cqframework/cql-execution/simple}Patient", - "type" : "Retrieve", - "include" : [ ], - "codeFilter" : [ ], - "dateFilter" : [ ], - "otherFilter" : [ ] - } - } - }, { - "localId" : "214", - "name" : "query", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "214", + } ] + }, { + "value" : [ " " ] + }, { + "r" : "224", + "s" : [ { + "value" : [ "return " ] + }, { + "r" : "225", "s" : [ { - "value" : [ "","define ","query",": " ] + "value" : [ "{" ] }, { - "r" : "241", - "s" : [ { + "s" : [ { + "value" : [ "id", ": " ] + }, { + "r" : "227", + "s" : [ { + "r" : "226", "s" : [ { - "r" : "215", - "s" : [ { - "r" : "216", - "s" : [ { - "r" : "216", - "s" : [ { - "value" : [ "[","Encounter","]" ] - } ] - } ] - }, { - "value" : [ " ","E" ] - } ] + "value" : [ "E" ] } ] - }, { - "value" : [ " " ] - }, { - "r" : "224", + }, { + "value" : [ "." ] + }, { + "r" : "227", "s" : [ { - "value" : [ "return " ] - }, { - "r" : "225", - "s" : [ { - "value" : [ "{" ] - }, { - "s" : [ { - "value" : [ "id",": " ] - }, { - "r" : "227", - "s" : [ { - "r" : "226", - "s" : [ { - "value" : [ "E" ] - } ] - }, { - "value" : [ "." ] - }, { - "r" : "227", - "s" : [ { - "value" : [ "id" ] - } ] - } ] - } ] - }, { - "value" : [ ", " ] - }, { - "s" : [ { - "value" : [ "thing",": " ] - }, { - "r" : "229", - "s" : [ { - "r" : "228", - "s" : [ { - "value" : [ "E" ] - } ] - }, { - "value" : [ "." ] - }, { - "r" : "229", - "s" : [ { - "value" : [ "status" ] - } ] - } ] - } ] - }, { - "value" : [ "}" ] - } ] + "value" : [ "id" ] } ] - } ] - } ] - } - } ], - "resultTypeSpecifier" : { - "localId" : "248", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "249", - "type" : "TupleTypeSpecifier", - "element" : [ { - "localId" : "250", - "name" : "id", - "elementType" : { - "localId" : "251", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } + } ] + } ] + }, { + "value" : [ ", " ] + }, { + "s" : [ { + "value" : [ "thing", ": " ] + }, { + "r" : "229", + "s" : [ { + "r" : "228", + "s" : [ { + "value" : [ "E" ] + } ] + }, { + "value" : [ "." ] + }, { + "r" : "229", + "s" : [ { + "value" : [ "status" ] + } ] + } ] + } ] }, { - "localId" : "252", - "name" : "thing", - "elementType" : { - "localId" : "253", - "name" : "{urn:hl7-org:elm-types:r1}Code", - "type" : "NamedTypeSpecifier" - } + "value" : [ "}" ] } ] - } + } ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "248", + "annotation" : [ ], + "elementType" : { + "type" : "TupleTypeSpecifier", + "localId" : "249", + "annotation" : [ ], + "element" : [ { + "localId" : "250", + "name" : "id", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "251", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } + }, { + "localId" : "252", + "name" : "thing", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "253", + "name" : "{urn:hl7-org:elm-types:r1}Code", + "annotation" : [ ] + } + } ] + } + }, + "expression" : { + "type" : "Query", + "localId" : "241", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "242", + "annotation" : [ ], + "elementType" : { + "type" : "TupleTypeSpecifier", + "localId" : "243", + "annotation" : [ ], + "element" : [ { + "localId" : "244", + "name" : "id", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "245", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } + }, { + "localId" : "246", + "name" : "thing", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "247", + "name" : "{urn:hl7-org:elm-types:r1}Code", + "annotation" : [ ] + } + } ] + } + }, + "source" : [ { + "localId" : "215", + "alias" : "E", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "221", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "222", + "name" : "{https://github.com/cqframework/cql-execution/simple}Encounter", + "annotation" : [ ] + } }, "expression" : { - "localId" : "241", - "type" : "Query", - "resultTypeSpecifier" : { - "localId" : "242", - "type" : "ListTypeSpecifier", + "type" : "Retrieve", + "localId" : "216", + "dataType" : "{https://github.com/cqframework/cql-execution/simple}Encounter", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "219", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "220", + "name" : "{https://github.com/cqframework/cql-execution/simple}Encounter", + "annotation" : [ ] + } + }, + "include" : [ ], + "codeFilter" : [ ], + "dateFilter" : [ ], + "otherFilter" : [ ] + } + } ], + "let" : [ ], + "relationship" : [ ], + "return" : { + "localId" : "224", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "235", + "annotation" : [ ], + "elementType" : { + "type" : "TupleTypeSpecifier", + "localId" : "236", + "annotation" : [ ], + "element" : [ { + "localId" : "237", + "name" : "id", + "annotation" : [ ], "elementType" : { - "localId" : "243", - "type" : "TupleTypeSpecifier", - "element" : [ { - "localId" : "244", - "name" : "id", - "elementType" : { - "localId" : "245", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "246", - "name" : "thing", - "elementType" : { - "localId" : "247", - "name" : "{urn:hl7-org:elm-types:r1}Code", - "type" : "NamedTypeSpecifier" - } - } ] + "type" : "NamedTypeSpecifier", + "localId" : "238", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] } - }, - "source" : [ { - "localId" : "215", - "alias" : "E", - "resultTypeSpecifier" : { - "localId" : "221", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "222", - "name" : "{https://github.com/cqframework/cql-execution/simple}Encounter", - "type" : "NamedTypeSpecifier" - } - }, - "expression" : { - "localId" : "216", - "dataType" : "{https://github.com/cqframework/cql-execution/simple}Encounter", - "type" : "Retrieve", - "resultTypeSpecifier" : { - "localId" : "219", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "220", - "name" : "{https://github.com/cqframework/cql-execution/simple}Encounter", - "type" : "NamedTypeSpecifier" - } - }, - "include" : [ ], - "codeFilter" : [ ], - "dateFilter" : [ ], - "otherFilter" : [ ] + }, { + "localId" : "239", + "name" : "thing", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "240", + "name" : "{urn:hl7-org:elm-types:r1}Code", + "annotation" : [ ] } - } ], - "let" : [ ], - "relationship" : [ ], - "return" : { - "localId" : "224", - "resultTypeSpecifier" : { - "localId" : "235", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "236", - "type" : "TupleTypeSpecifier", - "element" : [ { - "localId" : "237", - "name" : "id", - "elementType" : { - "localId" : "238", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "239", - "name" : "thing", - "elementType" : { - "localId" : "240", - "name" : "{urn:hl7-org:elm-types:r1}Code", - "type" : "NamedTypeSpecifier" - } - } ] - } - }, - "expression" : { - "localId" : "225", - "type" : "Tuple", - "resultTypeSpecifier" : { - "localId" : "230", - "type" : "TupleTypeSpecifier", - "element" : [ { - "localId" : "231", - "name" : "id", - "elementType" : { - "localId" : "232", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "233", - "name" : "thing", - "elementType" : { - "localId" : "234", - "name" : "{urn:hl7-org:elm-types:r1}Code", - "type" : "NamedTypeSpecifier" - } - } ] - }, - "element" : [ { - "name" : "id", - "value" : { - "localId" : "227", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "path" : "id", - "scope" : "E", - "type" : "Property" - } - }, { - "name" : "thing", - "value" : { - "localId" : "229", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Code", - "path" : "status", - "scope" : "E", - "type" : "Property" - } - } ] + } ] + } + }, + "expression" : { + "type" : "Tuple", + "localId" : "225", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "TupleTypeSpecifier", + "localId" : "230", + "annotation" : [ ], + "element" : [ { + "localId" : "231", + "name" : "id", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "232", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } + }, { + "localId" : "233", + "name" : "thing", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "234", + "name" : "{urn:hl7-org:elm-types:r1}Code", + "annotation" : [ ] } - } + } ] + }, + "element" : [ { + "name" : "id", + "value" : { + "type" : "Property", + "localId" : "227", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "path" : "id", + "scope" : "E", + "annotation" : [ ] + } + }, { + "name" : "thing", + "value" : { + "type" : "Property", + "localId" : "229", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Code", + "path" : "status", + "scope" : "E", + "annotation" : [ ] + } + } ] } - } ] - } - } + } + } + } ] + } + } } /* QueryFilterNulls @@ -5093,274 +5717,306 @@ define query: (List{null, 'One', null, 'Two', null}) I where I is not null */ module.exports['QueryFilterNulls'] = { - "library" : { - "localId" : "0", - "annotation" : [ { - "translatorVersion" : "3.27.0", - "translatorOptions" : "EnableDateRangeOptimization,EnableAnnotations,EnableResultTypes", - "signatureLevel" : "All", - "type" : "CqlToElmInfo" + "library" : { + "localId" : "0", + "annotation" : [ { + "type" : "CqlToElmInfo", + "translatorVersion" : "4.2.0", + "translatorOptions" : "EnableDateRangeOptimization,EnableAnnotations,EnableResultTypes", + "signatureLevel" : "All" + }, { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "214", + "s" : [ { + "value" : [ "", "library TestSnippet version '1'" ] + } ] + } + } ], + "identifier" : { + "id" : "TestSnippet", + "version" : "1" + }, + "schemaIdentifier" : { + "id" : "urn:hl7-org:elm", + "version" : "r1" + }, + "usings" : { + "def" : [ { + "localId" : "1", + "localIdentifier" : "System", + "uri" : "urn:hl7-org:elm-types:r1", + "annotation" : [ ] }, { - "type" : "Annotation", - "s" : { - "r" : "214", + "localId" : "206", + "localIdentifier" : "Simple", + "uri" : "https://github.com/cqframework/cql-execution/simple", + "version" : "1.0.0", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "206", "s" : [ { - "value" : [ "","library TestSnippet version '1'" ] - } ] - } - } ], - "identifier" : { - "id" : "TestSnippet", - "version" : "1" - }, - "schemaIdentifier" : { - "id" : "urn:hl7-org:elm", - "version" : "r1" - }, - "usings" : { - "def" : [ { - "localId" : "1", - "localIdentifier" : "System", - "uri" : "urn:hl7-org:elm-types:r1" - }, { - "localId" : "206", - "localIdentifier" : "Simple", - "uri" : "https://github.com/cqframework/cql-execution/simple", - "version" : "1.0.0", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "206", - "s" : [ { - "value" : [ "","using " ] - }, { - "s" : [ { - "value" : [ "Simple" ] - } ] - }, { - "value" : [ " version '1.0.0'" ] - } ] - } + "value" : [ "", "using " ] + }, { + "s" : [ { + "value" : [ "Simple" ] + } ] + }, { + "value" : [ " version '1.0.0'" ] } ] - } ] - }, - "contexts" : { - "def" : [ { - "localId" : "211", - "name" : "Patient" - } ] - }, - "statements" : { - "def" : [ { - "localId" : "209", - "name" : "Patient", - "context" : "Patient", - "expression" : { - "localId" : "210", - "type" : "SingletonFrom", - "signature" : [ ], - "operand" : { - "localId" : "208", - "dataType" : "{https://github.com/cqframework/cql-execution/simple}Patient", - "type" : "Retrieve", - "include" : [ ], - "codeFilter" : [ ], - "dateFilter" : [ ], - "otherFilter" : [ ] - } - } - }, { - "localId" : "214", - "name" : "query", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "214", + } + } ] + } ] + }, + "contexts" : { + "def" : [ { + "localId" : "211", + "name" : "Patient", + "annotation" : [ ] + } ] + }, + "statements" : { + "def" : [ { + "localId" : "209", + "name" : "Patient", + "context" : "Patient", + "annotation" : [ ], + "expression" : { + "type" : "SingletonFrom", + "localId" : "210", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Retrieve", + "localId" : "208", + "dataType" : "{https://github.com/cqframework/cql-execution/simple}Patient", + "annotation" : [ ], + "include" : [ ], + "codeFilter" : [ ], + "dateFilter" : [ ], + "otherFilter" : [ ] + } + } + }, { + "localId" : "214", + "name" : "query", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "214", + "s" : [ { + "value" : [ "", "define ", "query", ": " ] + }, { + "r" : "239", + "s" : [ { + "s" : [ { + "r" : "215", "s" : [ { - "value" : [ "","define ","query",": " ] - }, { - "r" : "239", - "s" : [ { + "r" : "216", + "s" : [ { + "value" : [ "(" ] + }, { + "r" : "216", + "s" : [ { + "r" : "217", + "value" : [ "List{", "null", ", " ] + }, { + "r" : "218", "s" : [ { - "r" : "215", - "s" : [ { - "r" : "216", - "s" : [ { - "value" : [ "(" ] - }, { - "r" : "216", - "s" : [ { - "r" : "217", - "value" : [ "List{","null",", " ] - }, { - "r" : "218", - "s" : [ { - "value" : [ "'One'" ] - } ] - }, { - "r" : "220", - "value" : [ ", ","null",", " ] - }, { - "r" : "221", - "s" : [ { - "value" : [ "'Two'" ] - } ] - }, { - "r" : "223", - "value" : [ ", ","null","}" ] - } ] - }, { - "value" : [ ")" ] - } ] - }, { - "value" : [ " ","I" ] - } ] + "value" : [ "'One'" ] } ] - }, { - "value" : [ " " ] - }, { - "r" : "237", + }, { + "r" : "220", + "value" : [ ", ", "null", ", " ] + }, { + "r" : "221", "s" : [ { - "value" : [ "where " ] - }, { - "r" : "237", - "s" : [ { - "r" : "234", - "s" : [ { - "value" : [ "I" ] - } ] - }, { - "value" : [ " is not null" ] - } ] + "value" : [ "'Two'" ] } ] - } ] + }, { + "r" : "223", + "value" : [ ", ", "null", "}" ] + } ] + }, { + "value" : [ ")" ] + } ] + }, { + "value" : [ " ", "I" ] } ] - } - } ], + } ] + }, { + "value" : [ " " ] + }, { + "r" : "237", + "s" : [ { + "value" : [ "where " ] + }, { + "r" : "237", + "s" : [ { + "r" : "234", + "s" : [ { + "value" : [ "I" ] + } ] + }, { + "value" : [ " is not null" ] + } ] + } ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "242", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "243", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } + }, + "expression" : { + "type" : "Query", + "localId" : "239", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "240", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "241", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } + }, + "source" : [ { + "localId" : "215", + "alias" : "I", + "annotation" : [ ], "resultTypeSpecifier" : { - "localId" : "242", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "243", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } + "type" : "ListTypeSpecifier", + "localId" : "231", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "232", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } }, "expression" : { - "localId" : "239", - "type" : "Query", - "resultTypeSpecifier" : { - "localId" : "240", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "241", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } - }, - "source" : [ { - "localId" : "215", - "alias" : "I", - "resultTypeSpecifier" : { - "localId" : "231", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "232", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } - }, - "expression" : { - "localId" : "216", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "229", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "230", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } - }, - "element" : [ { - "localId" : "224", - "asType" : "{urn:hl7-org:elm-types:r1}String", - "type" : "As", - "signature" : [ ], - "operand" : { - "localId" : "217", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - } - }, { - "localId" : "218", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "One", - "type" : "Literal" - }, { - "localId" : "225", - "asType" : "{urn:hl7-org:elm-types:r1}String", - "type" : "As", - "signature" : [ ], - "operand" : { - "localId" : "220", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - } - }, { - "localId" : "221", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "Two", - "type" : "Literal" - }, { - "localId" : "226", - "asType" : "{urn:hl7-org:elm-types:r1}String", - "type" : "As", - "signature" : [ ], - "operand" : { - "localId" : "223", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - } - } ] - } - } ], - "let" : [ ], - "relationship" : [ ], - "where" : { - "localId" : "237", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "Not", - "signature" : [ { - "localId" : "238", - "name" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "235", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "IsNull", - "signature" : [ { - "localId" : "236", - "name" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "234", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "name" : "I", - "type" : "AliasRef" - } - } - } + "type" : "List", + "localId" : "216", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "229", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "230", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } + }, + "element" : [ { + "type" : "As", + "localId" : "224", + "asType" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Null", + "localId" : "217", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } + }, { + "type" : "Literal", + "localId" : "218", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "One", + "annotation" : [ ] + }, { + "type" : "As", + "localId" : "225", + "asType" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Null", + "localId" : "220", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } + }, { + "type" : "Literal", + "localId" : "221", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "Two", + "annotation" : [ ] + }, { + "type" : "As", + "localId" : "226", + "asType" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Null", + "localId" : "223", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } + } ] } - } ] - } - } + } ], + "let" : [ ], + "relationship" : [ ], + "where" : { + "type" : "Not", + "localId" : "237", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "238", + "name" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ] + } ], + "operand" : { + "type" : "IsNull", + "localId" : "235", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "236", + "name" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } ], + "operand" : { + "type" : "AliasRef", + "localId" : "234", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "name" : "I", + "annotation" : [ ] + } + } + } + } + } ] + } + } } /* Sorting @@ -5394,4025 +6050,4556 @@ define sortWithDescendingKeyword: ({8, 6, 7, 5, 3, 0, 9}) N return N sort descen */ module.exports['Sorting'] = { - "library" : { - "localId" : "0", - "annotation" : [ { - "translatorVersion" : "3.27.0", - "translatorOptions" : "EnableDateRangeOptimization,EnableAnnotations,EnableResultTypes", - "signatureLevel" : "All", - "type" : "CqlToElmInfo" + "library" : { + "localId" : "0", + "annotation" : [ { + "type" : "CqlToElmInfo", + "translatorVersion" : "4.2.0", + "translatorOptions" : "EnableDateRangeOptimization,EnableAnnotations,EnableResultTypes", + "signatureLevel" : "All" + }, { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "973", + "s" : [ { + "value" : [ "", "library TestSnippet version '1'" ] + } ] + } + } ], + "identifier" : { + "id" : "TestSnippet", + "version" : "1" + }, + "schemaIdentifier" : { + "id" : "urn:hl7-org:elm", + "version" : "r1" + }, + "usings" : { + "def" : [ { + "localId" : "1", + "localIdentifier" : "System", + "uri" : "urn:hl7-org:elm-types:r1", + "annotation" : [ ] }, { - "type" : "Annotation", - "s" : { - "r" : "973", + "localId" : "206", + "localIdentifier" : "Simple", + "uri" : "https://github.com/cqframework/cql-execution/simple", + "version" : "1.0.0", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "206", "s" : [ { - "value" : [ "","library TestSnippet version '1'" ] - } ] - } - } ], - "identifier" : { - "id" : "TestSnippet", - "version" : "1" - }, - "schemaIdentifier" : { - "id" : "urn:hl7-org:elm", - "version" : "r1" - }, - "usings" : { - "def" : [ { - "localId" : "1", - "localIdentifier" : "System", - "uri" : "urn:hl7-org:elm-types:r1" - }, { - "localId" : "206", - "localIdentifier" : "Simple", - "uri" : "https://github.com/cqframework/cql-execution/simple", - "version" : "1.0.0", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "206", - "s" : [ { - "value" : [ "","using " ] - }, { - "s" : [ { - "value" : [ "Simple" ] - } ] - }, { - "value" : [ " version '1.0.0'" ] - } ] - } + "value" : [ "", "using " ] + }, { + "s" : [ { + "value" : [ "Simple" ] + } ] + }, { + "value" : [ " version '1.0.0'" ] } ] - } ] - }, - "contexts" : { - "def" : [ { - "localId" : "211", - "name" : "Patient" - } ] - }, - "statements" : { - "def" : [ { - "localId" : "209", - "name" : "Patient", - "context" : "Patient", - "expression" : { - "localId" : "210", - "type" : "SingletonFrom", - "signature" : [ ], - "operand" : { - "localId" : "208", - "dataType" : "{https://github.com/cqframework/cql-execution/simple}Patient", - "type" : "Retrieve", - "include" : [ ], - "codeFilter" : [ ], - "dateFilter" : [ ], - "otherFilter" : [ ] - } - } - }, { - "localId" : "214", - "name" : "QuantityListAsc", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "214", + } + } ] + } ] + }, + "contexts" : { + "def" : [ { + "localId" : "211", + "name" : "Patient", + "annotation" : [ ] + } ] + }, + "statements" : { + "def" : [ { + "localId" : "209", + "name" : "Patient", + "context" : "Patient", + "annotation" : [ ], + "expression" : { + "type" : "SingletonFrom", + "localId" : "210", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Retrieve", + "localId" : "208", + "dataType" : "{https://github.com/cqframework/cql-execution/simple}Patient", + "annotation" : [ ], + "include" : [ ], + "codeFilter" : [ ], + "dateFilter" : [ ], + "otherFilter" : [ ] + } + } + }, { + "localId" : "214", + "name" : "QuantityListAsc", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "214", + "s" : [ { + "value" : [ "", "define ", "QuantityListAsc", ": " ] + }, { + "r" : "249", + "s" : [ { + "s" : [ { + "r" : "215", "s" : [ { - "value" : [ "","define ","QuantityListAsc",": " ] - }, { - "r" : "249", - "s" : [ { + "r" : "216", + "s" : [ { + "value" : [ "(" ] + }, { + "r" : "216", + "s" : [ { + "value" : [ "{ " ] + }, { + "r" : "222", "s" : [ { - "r" : "215", - "s" : [ { - "r" : "216", - "s" : [ { - "value" : [ "(" ] - }, { - "r" : "216", - "s" : [ { - "value" : [ "{ " ] - }, { - "r" : "222", - "s" : [ { - "value" : [ "ToQuantity","(" ] - }, { - "r" : "217", - "s" : [ { - "value" : [ "'10 \\'m\\''" ] - } ] - }, { - "value" : [ ")" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "229", - "s" : [ { - "value" : [ "ToQuantity","(" ] - }, { - "r" : "224", - "s" : [ { - "value" : [ "'2 \\'m\\''" ] - } ] - }, { - "value" : [ ")" ] - } ] - }, { - "value" : [ " }" ] - } ] - }, { - "value" : [ ")" ] - } ] - }, { - "value" : [ " ","S" ] - } ] + "value" : [ "ToQuantity", "(" ] + }, { + "r" : "217", + "s" : [ { + "value" : [ "'10 \\'m\\''" ] + } ] + }, { + "value" : [ ")" ] } ] - }, { - "value" : [ " " ] - }, { - "r" : "238", + }, { + "value" : [ ", " ] + }, { + "r" : "229", "s" : [ { - "value" : [ "return " ] + "value" : [ "ToQuantity", "(" ] }, { - "r" : "239", - "s" : [ { - "value" : [ "S" ] - } ] + "r" : "224", + "s" : [ { + "value" : [ "'2 \\'m\\''" ] + } ] + }, { + "value" : [ ")" ] } ] - }, { - "r" : "242", - "value" : [ " ","sort asc" ] - } ] + }, { + "value" : [ " }" ] + } ] + }, { + "value" : [ ")" ] + } ] + }, { + "value" : [ " ", "S" ] } ] - } - } ], + } ] + }, { + "value" : [ " " ] + }, { + "r" : "238", + "s" : [ { + "value" : [ "return " ] + }, { + "r" : "239", + "s" : [ { + "value" : [ "S" ] + } ] + } ] + }, { + "r" : "242", + "value" : [ " ", "sort asc" ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "252", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "253", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } + }, + "expression" : { + "type" : "Query", + "localId" : "249", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "250", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "251", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } + }, + "source" : [ { + "localId" : "215", + "alias" : "S", + "annotation" : [ ], "resultTypeSpecifier" : { - "localId" : "252", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "253", + "type" : "ListTypeSpecifier", + "localId" : "235", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "236", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } + }, + "expression" : { + "type" : "List", + "localId" : "216", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "233", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "234", "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } + "annotation" : [ ] + } + }, + "element" : [ { + "type" : "ToQuantity", + "localId" : "222", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "223", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } ], + "operand" : { + "type" : "Literal", + "localId" : "217", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "10 'm'", + "annotation" : [ ] + } + }, { + "type" : "ToQuantity", + "localId" : "229", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "230", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } ], + "operand" : { + "type" : "Literal", + "localId" : "224", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "2 'm'", + "annotation" : [ ] + } + } ] + } + } ], + "let" : [ ], + "relationship" : [ ], + "return" : { + "localId" : "238", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "240", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "241", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } }, "expression" : { - "localId" : "249", - "type" : "Query", - "resultTypeSpecifier" : { - "localId" : "250", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "251", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } - }, - "source" : [ { - "localId" : "215", - "alias" : "S", - "resultTypeSpecifier" : { - "localId" : "235", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "236", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } - }, - "expression" : { - "localId" : "216", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "233", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "234", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } - }, - "element" : [ { - "localId" : "222", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "ToQuantity", - "signature" : [ { - "localId" : "223", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "217", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "10 'm'", - "type" : "Literal" - } - }, { - "localId" : "229", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "ToQuantity", - "signature" : [ { - "localId" : "230", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "224", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "2 'm'", - "type" : "Literal" - } - } ] - } - } ], - "let" : [ ], - "relationship" : [ ], - "return" : { - "localId" : "238", - "resultTypeSpecifier" : { - "localId" : "240", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "241", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } - }, - "expression" : { - "localId" : "239", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "name" : "S", - "type" : "AliasRef" - } - }, - "sort" : { - "localId" : "242", - "by" : [ { - "localId" : "243", - "direction" : "asc", - "type" : "ByDirection" - } ] - } + "type" : "AliasRef", + "localId" : "239", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "name" : "S", + "annotation" : [ ] } - }, { - "localId" : "256", - "name" : "QuantityListSort", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "256", + }, + "sort" : { + "localId" : "242", + "annotation" : [ ], + "by" : [ { + "type" : "ByDirection", + "localId" : "243", + "direction" : "asc", + "annotation" : [ ] + } ] + } + } + }, { + "localId" : "256", + "name" : "QuantityListSort", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "256", + "s" : [ { + "value" : [ "", "define ", "QuantityListSort", ": " ] + }, { + "r" : "298", + "s" : [ { + "s" : [ { + "r" : "257", "s" : [ { - "value" : [ "","define ","QuantityListSort",": " ] - }, { - "r" : "298", - "s" : [ { - "s" : [ { - "r" : "257", - "s" : [ { - "r" : "258", - "s" : [ { - "value" : [ "(" ] - }, { - "r" : "258", - "s" : [ { - "value" : [ "{ " ] - }, { - "r" : "264", - "s" : [ { - "value" : [ "ToQuantity","(" ] - }, { - "r" : "259", - "s" : [ { - "value" : [ "'10 \\'m\\''" ] - } ] - }, { - "value" : [ ")" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "271", - "s" : [ { - "value" : [ "ToQuantity","(" ] - }, { - "r" : "266", - "s" : [ { - "value" : [ "'2 \\'m\\''" ] - } ] - }, { - "value" : [ ")" ] - } ] - }, { - "value" : [ " }" ] - } ] - }, { - "value" : [ ")" ] - } ] - }, { - "value" : [ " ","N" ] - } ] - } ] - }, { - "value" : [ " " ] - }, { - "r" : "280", + "r" : "258", + "s" : [ { + "value" : [ "(" ] + }, { + "r" : "258", + "s" : [ { + "value" : [ "{ " ] + }, { + "r" : "264", "s" : [ { - "value" : [ "return " ] + "value" : [ "ToQuantity", "(" ] }, { - "r" : "281", - "s" : [ { - "value" : [ "Tuple{" ] - }, { - "s" : [ { - "value" : [ "N",": " ] - }, { - "r" : "282", - "s" : [ { - "value" : [ "N" ] - } ] - } ] - }, { - "value" : [ "}" ] - } ] + "r" : "259", + "s" : [ { + "value" : [ "'10 \\'m\\''" ] + } ] + }, { + "value" : [ ")" ] } ] - }, { - "value" : [ " " ] - }, { - "r" : "292", + }, { + "value" : [ ", " ] + }, { + "r" : "271", "s" : [ { - "value" : [ "sort by " ] + "value" : [ "ToQuantity", "(" ] }, { - "r" : "291", - "s" : [ { - "r" : "290", - "s" : [ { - "value" : [ "(" ] - }, { - "r" : "290", - "s" : [ { - "value" : [ "N" ] - } ] - }, { - "value" : [ ")" ] - } ] - } ] + "r" : "266", + "s" : [ { + "value" : [ "'2 \\'m\\''" ] + } ] + }, { + "value" : [ ")" ] } ] - } ] + }, { + "value" : [ " }" ] + } ] + }, { + "value" : [ ")" ] + } ] + }, { + "value" : [ " ", "N" ] } ] - } - } ], - "resultTypeSpecifier" : { - "localId" : "303", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "304", - "type" : "TupleTypeSpecifier", - "element" : [ { - "localId" : "305", - "name" : "N", - "elementType" : { - "localId" : "306", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } + } ] + }, { + "value" : [ " " ] + }, { + "r" : "280", + "s" : [ { + "value" : [ "return " ] + }, { + "r" : "281", + "s" : [ { + "value" : [ "Tuple{" ] + }, { + "s" : [ { + "value" : [ "N", ": " ] + }, { + "r" : "282", + "s" : [ { + "value" : [ "N" ] + } ] + } ] + }, { + "value" : [ "}" ] } ] - } + } ] + }, { + "value" : [ " " ] + }, { + "r" : "292", + "s" : [ { + "value" : [ "sort by " ] + }, { + "r" : "291", + "s" : [ { + "r" : "290", + "s" : [ { + "value" : [ "(" ] + }, { + "r" : "290", + "s" : [ { + "value" : [ "N" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "303", + "annotation" : [ ], + "elementType" : { + "type" : "TupleTypeSpecifier", + "localId" : "304", + "annotation" : [ ], + "element" : [ { + "localId" : "305", + "name" : "N", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "306", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } + } ] + } + }, + "expression" : { + "type" : "Query", + "localId" : "298", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "299", + "annotation" : [ ], + "elementType" : { + "type" : "TupleTypeSpecifier", + "localId" : "300", + "annotation" : [ ], + "element" : [ { + "localId" : "301", + "name" : "N", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "302", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } + } ] + } + }, + "source" : [ { + "localId" : "257", + "alias" : "N", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "277", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "278", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } }, "expression" : { - "localId" : "298", - "type" : "Query", - "resultTypeSpecifier" : { - "localId" : "299", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "300", - "type" : "TupleTypeSpecifier", - "element" : [ { - "localId" : "301", - "name" : "N", - "elementType" : { - "localId" : "302", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } - } ] - } - }, - "source" : [ { - "localId" : "257", - "alias" : "N", - "resultTypeSpecifier" : { - "localId" : "277", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "278", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } - }, - "expression" : { - "localId" : "258", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "275", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "276", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } - }, - "element" : [ { - "localId" : "264", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "ToQuantity", - "signature" : [ { - "localId" : "265", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "259", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "10 'm'", - "type" : "Literal" - } - }, { - "localId" : "271", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "ToQuantity", - "signature" : [ { - "localId" : "272", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "266", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "2 'm'", - "type" : "Literal" - } - } ] + "type" : "List", + "localId" : "258", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "275", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "276", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } + }, + "element" : [ { + "type" : "ToQuantity", + "localId" : "264", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "265", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } ], + "operand" : { + "type" : "Literal", + "localId" : "259", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "10 'm'", + "annotation" : [ ] + } + }, { + "type" : "ToQuantity", + "localId" : "271", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "272", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } ], + "operand" : { + "type" : "Literal", + "localId" : "266", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "2 'm'", + "annotation" : [ ] + } + } ] + } + } ], + "let" : [ ], + "relationship" : [ ], + "return" : { + "localId" : "280", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "286", + "annotation" : [ ], + "elementType" : { + "type" : "TupleTypeSpecifier", + "localId" : "287", + "annotation" : [ ], + "element" : [ { + "localId" : "288", + "name" : "N", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "289", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] } - } ], - "let" : [ ], - "relationship" : [ ], - "return" : { - "localId" : "280", - "resultTypeSpecifier" : { - "localId" : "286", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "287", - "type" : "TupleTypeSpecifier", - "element" : [ { - "localId" : "288", - "name" : "N", - "elementType" : { - "localId" : "289", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } - } ] - } - }, - "expression" : { - "localId" : "281", - "type" : "Tuple", - "resultTypeSpecifier" : { - "localId" : "283", - "type" : "TupleTypeSpecifier", - "element" : [ { - "localId" : "284", - "name" : "N", - "elementType" : { - "localId" : "285", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } - } ] - }, - "element" : [ { - "name" : "N", - "value" : { - "localId" : "282", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "name" : "N", - "type" : "AliasRef" - } - } ] + } ] + } + }, + "expression" : { + "type" : "Tuple", + "localId" : "281", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "TupleTypeSpecifier", + "localId" : "283", + "annotation" : [ ], + "element" : [ { + "localId" : "284", + "name" : "N", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "285", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] } - }, - "sort" : { - "localId" : "292", - "by" : [ { - "localId" : "291", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "direction" : "asc", - "path" : "N", - "type" : "ByColumn" - } ] - } + } ] + }, + "element" : [ { + "name" : "N", + "value" : { + "type" : "AliasRef", + "localId" : "282", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "name" : "N", + "annotation" : [ ] + } + } ] } - }, { - "localId" : "309", - "name" : "TupleAsc", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "309", + }, + "sort" : { + "localId" : "292", + "annotation" : [ ], + "by" : [ { + "type" : "ByColumn", + "localId" : "291", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "direction" : "asc", + "path" : "N", + "annotation" : [ ] + } ] + } + } + }, { + "localId" : "309", + "name" : "TupleAsc", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "309", + "s" : [ { + "value" : [ "", "define ", "TupleAsc", ": " ] + }, { + "r" : "327", + "s" : [ { + "s" : [ { + "r" : "310", "s" : [ { - "value" : [ "","define ","TupleAsc",": " ] + "r" : "311", + "s" : [ { + "r" : "311", + "s" : [ { + "value" : [ "[", "Encounter", "]" ] + } ] + } ] }, { - "r" : "327", - "s" : [ { - "s" : [ { - "r" : "310", - "s" : [ { - "r" : "311", - "s" : [ { - "r" : "311", - "s" : [ { - "value" : [ "[","Encounter","]" ] - } ] - } ] - }, { - "value" : [ " ","E" ] - } ] - } ] - }, { - "value" : [ " " ] - }, { - "r" : "321", - "s" : [ { - "value" : [ "sort by " ] - }, { - "r" : "320", - "s" : [ { - "r" : "319", - "s" : [ { - "value" : [ "id" ] - } ] - } ] - } ] - } ] + "value" : [ " ", "E" ] } ] - } - } ], + } ] + }, { + "value" : [ " " ] + }, { + "r" : "321", + "s" : [ { + "value" : [ "sort by " ] + }, { + "r" : "320", + "s" : [ { + "r" : "319", + "s" : [ { + "value" : [ "id" ] + } ] + } ] + } ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "330", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "331", + "name" : "{https://github.com/cqframework/cql-execution/simple}Encounter", + "annotation" : [ ] + } + }, + "expression" : { + "type" : "Query", + "localId" : "327", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "328", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "329", + "name" : "{https://github.com/cqframework/cql-execution/simple}Encounter", + "annotation" : [ ] + } + }, + "source" : [ { + "localId" : "310", + "alias" : "E", + "annotation" : [ ], "resultTypeSpecifier" : { - "localId" : "330", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "331", - "name" : "{https://github.com/cqframework/cql-execution/simple}Encounter", - "type" : "NamedTypeSpecifier" - } + "type" : "ListTypeSpecifier", + "localId" : "316", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "317", + "name" : "{https://github.com/cqframework/cql-execution/simple}Encounter", + "annotation" : [ ] + } }, "expression" : { - "localId" : "327", - "type" : "Query", - "resultTypeSpecifier" : { - "localId" : "328", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "329", - "name" : "{https://github.com/cqframework/cql-execution/simple}Encounter", - "type" : "NamedTypeSpecifier" - } - }, - "source" : [ { - "localId" : "310", - "alias" : "E", - "resultTypeSpecifier" : { - "localId" : "316", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "317", - "name" : "{https://github.com/cqframework/cql-execution/simple}Encounter", - "type" : "NamedTypeSpecifier" - } - }, - "expression" : { - "localId" : "311", - "dataType" : "{https://github.com/cqframework/cql-execution/simple}Encounter", - "type" : "Retrieve", - "resultTypeSpecifier" : { - "localId" : "314", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "315", - "name" : "{https://github.com/cqframework/cql-execution/simple}Encounter", - "type" : "NamedTypeSpecifier" - } - }, - "include" : [ ], - "codeFilter" : [ ], - "dateFilter" : [ ], - "otherFilter" : [ ] - } - } ], - "let" : [ ], - "relationship" : [ ], - "sort" : { - "localId" : "321", - "by" : [ { - "localId" : "320", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "direction" : "asc", - "path" : "id", - "type" : "ByColumn" - } ] - } + "type" : "Retrieve", + "localId" : "311", + "dataType" : "{https://github.com/cqframework/cql-execution/simple}Encounter", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "314", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "315", + "name" : "{https://github.com/cqframework/cql-execution/simple}Encounter", + "annotation" : [ ] + } + }, + "include" : [ ], + "codeFilter" : [ ], + "dateFilter" : [ ], + "otherFilter" : [ ] } - }, { - "localId" : "334", - "name" : "TupleReturnAsc", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "334", + } ], + "let" : [ ], + "relationship" : [ ], + "sort" : { + "localId" : "321", + "annotation" : [ ], + "by" : [ { + "type" : "ByColumn", + "localId" : "320", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "direction" : "asc", + "path" : "id", + "annotation" : [ ] + } ] + } + } + }, { + "localId" : "334", + "name" : "TupleReturnAsc", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "334", + "s" : [ { + "value" : [ "", "define ", "TupleReturnAsc", ": " ] + }, { + "r" : "356", + "s" : [ { + "s" : [ { + "r" : "335", "s" : [ { - "value" : [ "","define ","TupleReturnAsc",": " ] + "r" : "336", + "s" : [ { + "r" : "336", + "s" : [ { + "value" : [ "[", "Encounter", "]" ] + } ] + } ] }, { - "r" : "356", - "s" : [ { - "s" : [ { - "r" : "335", - "s" : [ { - "r" : "336", - "s" : [ { - "r" : "336", - "s" : [ { - "value" : [ "[","Encounter","]" ] - } ] - } ] - }, { - "value" : [ " ","E" ] - } ] - } ] - }, { - "value" : [ " " ] - }, { - "r" : "344", - "s" : [ { - "value" : [ "return " ] - }, { - "r" : "345", - "s" : [ { - "value" : [ "E" ] - } ] - } ] - }, { - "value" : [ " " ] - }, { - "r" : "350", - "s" : [ { - "value" : [ "sort by " ] - }, { - "r" : "349", - "s" : [ { - "r" : "348", - "s" : [ { - "value" : [ "id" ] - } ] - } ] - } ] - } ] + "value" : [ " ", "E" ] } ] - } - } ], + } ] + }, { + "value" : [ " " ] + }, { + "r" : "344", + "s" : [ { + "value" : [ "return " ] + }, { + "r" : "345", + "s" : [ { + "value" : [ "E" ] + } ] + } ] + }, { + "value" : [ " " ] + }, { + "r" : "350", + "s" : [ { + "value" : [ "sort by " ] + }, { + "r" : "349", + "s" : [ { + "r" : "348", + "s" : [ { + "value" : [ "id" ] + } ] + } ] + } ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "359", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "360", + "name" : "{https://github.com/cqframework/cql-execution/simple}Encounter", + "annotation" : [ ] + } + }, + "expression" : { + "type" : "Query", + "localId" : "356", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "357", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "358", + "name" : "{https://github.com/cqframework/cql-execution/simple}Encounter", + "annotation" : [ ] + } + }, + "source" : [ { + "localId" : "335", + "alias" : "E", + "annotation" : [ ], "resultTypeSpecifier" : { - "localId" : "359", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "360", + "type" : "ListTypeSpecifier", + "localId" : "341", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "342", + "name" : "{https://github.com/cqframework/cql-execution/simple}Encounter", + "annotation" : [ ] + } + }, + "expression" : { + "type" : "Retrieve", + "localId" : "336", + "dataType" : "{https://github.com/cqframework/cql-execution/simple}Encounter", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "339", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "340", "name" : "{https://github.com/cqframework/cql-execution/simple}Encounter", - "type" : "NamedTypeSpecifier" - } + "annotation" : [ ] + } + }, + "include" : [ ], + "codeFilter" : [ ], + "dateFilter" : [ ], + "otherFilter" : [ ] + } + } ], + "let" : [ ], + "relationship" : [ ], + "return" : { + "localId" : "344", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "346", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "347", + "name" : "{https://github.com/cqframework/cql-execution/simple}Encounter", + "annotation" : [ ] + } }, "expression" : { - "localId" : "356", - "type" : "Query", - "resultTypeSpecifier" : { - "localId" : "357", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "358", - "name" : "{https://github.com/cqframework/cql-execution/simple}Encounter", - "type" : "NamedTypeSpecifier" - } - }, - "source" : [ { - "localId" : "335", - "alias" : "E", - "resultTypeSpecifier" : { - "localId" : "341", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "342", - "name" : "{https://github.com/cqframework/cql-execution/simple}Encounter", - "type" : "NamedTypeSpecifier" - } - }, - "expression" : { - "localId" : "336", - "dataType" : "{https://github.com/cqframework/cql-execution/simple}Encounter", - "type" : "Retrieve", - "resultTypeSpecifier" : { - "localId" : "339", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "340", - "name" : "{https://github.com/cqframework/cql-execution/simple}Encounter", - "type" : "NamedTypeSpecifier" - } - }, - "include" : [ ], - "codeFilter" : [ ], - "dateFilter" : [ ], - "otherFilter" : [ ] - } - } ], - "let" : [ ], - "relationship" : [ ], - "return" : { - "localId" : "344", - "resultTypeSpecifier" : { - "localId" : "346", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "347", - "name" : "{https://github.com/cqframework/cql-execution/simple}Encounter", - "type" : "NamedTypeSpecifier" - } - }, - "expression" : { - "localId" : "345", - "resultTypeName" : "{https://github.com/cqframework/cql-execution/simple}Encounter", - "name" : "E", - "type" : "AliasRef" - } - }, - "sort" : { - "localId" : "350", - "by" : [ { - "localId" : "349", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "direction" : "asc", - "path" : "id", - "type" : "ByColumn" - } ] - } + "type" : "AliasRef", + "localId" : "345", + "resultTypeName" : "{https://github.com/cqframework/cql-execution/simple}Encounter", + "name" : "E", + "annotation" : [ ] } - }, { - "localId" : "363", - "name" : "TupleReturnTupleAsc", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "363", + }, + "sort" : { + "localId" : "350", + "annotation" : [ ], + "by" : [ { + "type" : "ByColumn", + "localId" : "349", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "direction" : "asc", + "path" : "id", + "annotation" : [ ] + } ] + } + } + }, { + "localId" : "363", + "name" : "TupleReturnTupleAsc", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "363", + "s" : [ { + "value" : [ "", "define ", "TupleReturnTupleAsc", ": " ] + }, { + "r" : "392", + "s" : [ { + "s" : [ { + "r" : "364", "s" : [ { - "value" : [ "","define ","TupleReturnTupleAsc",": " ] + "r" : "365", + "s" : [ { + "r" : "365", + "s" : [ { + "value" : [ "[", "Encounter", "]" ] + } ] + } ] }, { - "r" : "392", - "s" : [ { - "s" : [ { - "r" : "364", - "s" : [ { - "r" : "365", - "s" : [ { - "r" : "365", - "s" : [ { - "value" : [ "[","Encounter","]" ] - } ] - } ] - }, { - "value" : [ " ","E" ] - } ] - } ] - }, { - "value" : [ " " ] - }, { - "r" : "373", - "s" : [ { - "value" : [ "return " ] - }, { - "r" : "374", - "s" : [ { - "value" : [ "{" ] - }, { - "s" : [ { - "value" : [ "E"," : " ] - }, { - "r" : "375", - "s" : [ { - "value" : [ "E" ] - } ] - } ] - }, { - "value" : [ "}" ] - } ] - } ] - }, { - "value" : [ " " ] - }, { - "r" : "386", - "s" : [ { - "value" : [ "sort by " ] - }, { - "r" : "385", - "s" : [ { - "r" : "384", - "s" : [ { - "r" : "383", - "s" : [ { - "value" : [ "E" ] - } ] - }, { - "value" : [ "." ] - }, { - "r" : "384", - "s" : [ { - "value" : [ "id" ] - } ] - } ] - } ] - } ] - } ] + "value" : [ " ", "E" ] } ] - } - } ], - "resultTypeSpecifier" : { - "localId" : "397", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "398", - "type" : "TupleTypeSpecifier", - "element" : [ { - "localId" : "399", - "name" : "E", - "elementType" : { - "localId" : "400", - "name" : "{https://github.com/cqframework/cql-execution/simple}Encounter", - "type" : "NamedTypeSpecifier" - } + } ] + }, { + "value" : [ " " ] + }, { + "r" : "373", + "s" : [ { + "value" : [ "return " ] + }, { + "r" : "374", + "s" : [ { + "value" : [ "{" ] + }, { + "s" : [ { + "value" : [ "E", " : " ] + }, { + "r" : "375", + "s" : [ { + "value" : [ "E" ] + } ] + } ] + }, { + "value" : [ "}" ] + } ] + } ] + }, { + "value" : [ " " ] + }, { + "r" : "386", + "s" : [ { + "value" : [ "sort by " ] + }, { + "r" : "385", + "s" : [ { + "r" : "384", + "s" : [ { + "r" : "383", + "s" : [ { + "value" : [ "E" ] + } ] + }, { + "value" : [ "." ] + }, { + "r" : "384", + "s" : [ { + "value" : [ "id" ] + } ] + } ] } ] - } + } ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "397", + "annotation" : [ ], + "elementType" : { + "type" : "TupleTypeSpecifier", + "localId" : "398", + "annotation" : [ ], + "element" : [ { + "localId" : "399", + "name" : "E", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "400", + "name" : "{https://github.com/cqframework/cql-execution/simple}Encounter", + "annotation" : [ ] + } + } ] + } + }, + "expression" : { + "type" : "Query", + "localId" : "392", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "393", + "annotation" : [ ], + "elementType" : { + "type" : "TupleTypeSpecifier", + "localId" : "394", + "annotation" : [ ], + "element" : [ { + "localId" : "395", + "name" : "E", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "396", + "name" : "{https://github.com/cqframework/cql-execution/simple}Encounter", + "annotation" : [ ] + } + } ] + } + }, + "source" : [ { + "localId" : "364", + "alias" : "E", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "370", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "371", + "name" : "{https://github.com/cqframework/cql-execution/simple}Encounter", + "annotation" : [ ] + } }, "expression" : { - "localId" : "392", - "type" : "Query", - "resultTypeSpecifier" : { - "localId" : "393", - "type" : "ListTypeSpecifier", + "type" : "Retrieve", + "localId" : "365", + "dataType" : "{https://github.com/cqframework/cql-execution/simple}Encounter", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "368", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "369", + "name" : "{https://github.com/cqframework/cql-execution/simple}Encounter", + "annotation" : [ ] + } + }, + "include" : [ ], + "codeFilter" : [ ], + "dateFilter" : [ ], + "otherFilter" : [ ] + } + } ], + "let" : [ ], + "relationship" : [ ], + "return" : { + "localId" : "373", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "379", + "annotation" : [ ], + "elementType" : { + "type" : "TupleTypeSpecifier", + "localId" : "380", + "annotation" : [ ], + "element" : [ { + "localId" : "381", + "name" : "E", + "annotation" : [ ], "elementType" : { - "localId" : "394", - "type" : "TupleTypeSpecifier", - "element" : [ { - "localId" : "395", - "name" : "E", - "elementType" : { - "localId" : "396", - "name" : "{https://github.com/cqframework/cql-execution/simple}Encounter", - "type" : "NamedTypeSpecifier" - } - } ] - } - }, - "source" : [ { - "localId" : "364", - "alias" : "E", - "resultTypeSpecifier" : { - "localId" : "370", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "371", - "name" : "{https://github.com/cqframework/cql-execution/simple}Encounter", - "type" : "NamedTypeSpecifier" - } - }, - "expression" : { - "localId" : "365", - "dataType" : "{https://github.com/cqframework/cql-execution/simple}Encounter", - "type" : "Retrieve", - "resultTypeSpecifier" : { - "localId" : "368", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "369", - "name" : "{https://github.com/cqframework/cql-execution/simple}Encounter", - "type" : "NamedTypeSpecifier" - } - }, - "include" : [ ], - "codeFilter" : [ ], - "dateFilter" : [ ], - "otherFilter" : [ ] + "type" : "NamedTypeSpecifier", + "localId" : "382", + "name" : "{https://github.com/cqframework/cql-execution/simple}Encounter", + "annotation" : [ ] } - } ], - "let" : [ ], - "relationship" : [ ], - "return" : { - "localId" : "373", - "resultTypeSpecifier" : { - "localId" : "379", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "380", - "type" : "TupleTypeSpecifier", - "element" : [ { - "localId" : "381", - "name" : "E", - "elementType" : { - "localId" : "382", - "name" : "{https://github.com/cqframework/cql-execution/simple}Encounter", - "type" : "NamedTypeSpecifier" - } - } ] - } - }, - "expression" : { - "localId" : "374", - "type" : "Tuple", - "resultTypeSpecifier" : { - "localId" : "376", - "type" : "TupleTypeSpecifier", - "element" : [ { - "localId" : "377", - "name" : "E", - "elementType" : { - "localId" : "378", - "name" : "{https://github.com/cqframework/cql-execution/simple}Encounter", - "type" : "NamedTypeSpecifier" - } - } ] - }, - "element" : [ { - "name" : "E", - "value" : { - "localId" : "375", - "resultTypeName" : "{https://github.com/cqframework/cql-execution/simple}Encounter", - "name" : "E", - "type" : "AliasRef" - } - } ] + } ] + } + }, + "expression" : { + "type" : "Tuple", + "localId" : "374", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "TupleTypeSpecifier", + "localId" : "376", + "annotation" : [ ], + "element" : [ { + "localId" : "377", + "name" : "E", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "378", + "name" : "{https://github.com/cqframework/cql-execution/simple}Encounter", + "annotation" : [ ] } - }, - "sort" : { - "localId" : "386", - "by" : [ { - "localId" : "385", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "direction" : "asc", - "type" : "ByExpression", - "expression" : { - "localId" : "384", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "path" : "id", - "type" : "Property", - "source" : { - "localId" : "383", - "resultTypeName" : "{https://github.com/cqframework/cql-execution/simple}Encounter", - "name" : "E", - "type" : "IdentifierRef" - } - } - } ] - } + } ] + }, + "element" : [ { + "name" : "E", + "value" : { + "type" : "AliasRef", + "localId" : "375", + "resultTypeName" : "{https://github.com/cqframework/cql-execution/simple}Encounter", + "name" : "E", + "annotation" : [ ] + } + } ] } - }, { - "localId" : "403", - "name" : "TupleDesc", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "403", + }, + "sort" : { + "localId" : "386", + "annotation" : [ ], + "by" : [ { + "type" : "ByExpression", + "localId" : "385", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "direction" : "asc", + "annotation" : [ ], + "expression" : { + "type" : "Property", + "localId" : "384", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "path" : "id", + "annotation" : [ ], + "source" : { + "type" : "IdentifierRef", + "localId" : "383", + "resultTypeName" : "{https://github.com/cqframework/cql-execution/simple}Encounter", + "name" : "E", + "annotation" : [ ] + } + } + } ] + } + } + }, { + "localId" : "403", + "name" : "TupleDesc", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "403", + "s" : [ { + "value" : [ "", "define ", "TupleDesc", ": " ] + }, { + "r" : "421", + "s" : [ { + "s" : [ { + "r" : "404", "s" : [ { - "value" : [ "","define ","TupleDesc",": " ] + "r" : "405", + "s" : [ { + "r" : "405", + "s" : [ { + "value" : [ "[", "Encounter", "]" ] + } ] + } ] }, { - "r" : "421", - "s" : [ { - "s" : [ { - "r" : "404", - "s" : [ { - "r" : "405", - "s" : [ { - "r" : "405", - "s" : [ { - "value" : [ "[","Encounter","]" ] - } ] - } ] - }, { - "value" : [ " ","E" ] - } ] - } ] - }, { - "value" : [ " " ] - }, { - "r" : "415", - "s" : [ { - "value" : [ "sort by " ] - }, { - "r" : "414", - "s" : [ { - "r" : "413", - "s" : [ { - "value" : [ "id" ] - } ] - }, { - "value" : [ " desc" ] - } ] - } ] - } ] + "value" : [ " ", "E" ] } ] - } - } ], + } ] + }, { + "value" : [ " " ] + }, { + "r" : "415", + "s" : [ { + "value" : [ "sort by " ] + }, { + "r" : "414", + "s" : [ { + "r" : "413", + "s" : [ { + "value" : [ "id" ] + } ] + }, { + "value" : [ " desc" ] + } ] + } ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "424", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "425", + "name" : "{https://github.com/cqframework/cql-execution/simple}Encounter", + "annotation" : [ ] + } + }, + "expression" : { + "type" : "Query", + "localId" : "421", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "422", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "423", + "name" : "{https://github.com/cqframework/cql-execution/simple}Encounter", + "annotation" : [ ] + } + }, + "source" : [ { + "localId" : "404", + "alias" : "E", + "annotation" : [ ], "resultTypeSpecifier" : { - "localId" : "424", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "425", - "name" : "{https://github.com/cqframework/cql-execution/simple}Encounter", - "type" : "NamedTypeSpecifier" - } + "type" : "ListTypeSpecifier", + "localId" : "410", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "411", + "name" : "{https://github.com/cqframework/cql-execution/simple}Encounter", + "annotation" : [ ] + } }, "expression" : { - "localId" : "421", - "type" : "Query", - "resultTypeSpecifier" : { - "localId" : "422", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "423", - "name" : "{https://github.com/cqframework/cql-execution/simple}Encounter", - "type" : "NamedTypeSpecifier" - } - }, - "source" : [ { - "localId" : "404", - "alias" : "E", - "resultTypeSpecifier" : { - "localId" : "410", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "411", - "name" : "{https://github.com/cqframework/cql-execution/simple}Encounter", - "type" : "NamedTypeSpecifier" - } - }, - "expression" : { - "localId" : "405", - "dataType" : "{https://github.com/cqframework/cql-execution/simple}Encounter", - "type" : "Retrieve", - "resultTypeSpecifier" : { - "localId" : "408", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "409", - "name" : "{https://github.com/cqframework/cql-execution/simple}Encounter", - "type" : "NamedTypeSpecifier" - } - }, - "include" : [ ], - "codeFilter" : [ ], - "dateFilter" : [ ], - "otherFilter" : [ ] - } - } ], - "let" : [ ], - "relationship" : [ ], - "sort" : { - "localId" : "415", - "by" : [ { - "localId" : "414", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "direction" : "desc", - "path" : "id", - "type" : "ByColumn" - } ] - } + "type" : "Retrieve", + "localId" : "405", + "dataType" : "{https://github.com/cqframework/cql-execution/simple}Encounter", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "408", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "409", + "name" : "{https://github.com/cqframework/cql-execution/simple}Encounter", + "annotation" : [ ] + } + }, + "include" : [ ], + "codeFilter" : [ ], + "dateFilter" : [ ], + "otherFilter" : [ ] } - }, { - "localId" : "428", - "name" : "TupleReturnDesc", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "428", + } ], + "let" : [ ], + "relationship" : [ ], + "sort" : { + "localId" : "415", + "annotation" : [ ], + "by" : [ { + "type" : "ByColumn", + "localId" : "414", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "direction" : "desc", + "path" : "id", + "annotation" : [ ] + } ] + } + } + }, { + "localId" : "428", + "name" : "TupleReturnDesc", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "428", + "s" : [ { + "value" : [ "", "define ", "TupleReturnDesc", ": " ] + }, { + "r" : "450", + "s" : [ { + "s" : [ { + "r" : "429", "s" : [ { - "value" : [ "","define ","TupleReturnDesc",": " ] + "r" : "430", + "s" : [ { + "r" : "430", + "s" : [ { + "value" : [ "[", "Encounter", "]" ] + } ] + } ] }, { - "r" : "450", - "s" : [ { - "s" : [ { - "r" : "429", - "s" : [ { - "r" : "430", - "s" : [ { - "r" : "430", - "s" : [ { - "value" : [ "[","Encounter","]" ] - } ] - } ] - }, { - "value" : [ " ","E" ] - } ] - } ] - }, { - "value" : [ " " ] - }, { - "r" : "438", - "s" : [ { - "value" : [ "return " ] - }, { - "r" : "439", - "s" : [ { - "value" : [ "E" ] - } ] - } ] - }, { - "value" : [ " " ] - }, { - "r" : "444", - "s" : [ { - "value" : [ "sort by " ] - }, { - "r" : "443", - "s" : [ { - "r" : "442", - "s" : [ { - "value" : [ "id" ] - } ] - }, { - "value" : [ " desc" ] - } ] - } ] - } ] + "value" : [ " ", "E" ] } ] - } - } ], - "resultTypeSpecifier" : { - "localId" : "453", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "454", - "name" : "{https://github.com/cqframework/cql-execution/simple}Encounter", - "type" : "NamedTypeSpecifier" - } - }, - "expression" : { - "localId" : "450", - "type" : "Query", - "resultTypeSpecifier" : { - "localId" : "451", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "452", - "name" : "{https://github.com/cqframework/cql-execution/simple}Encounter", - "type" : "NamedTypeSpecifier" - } - }, - "source" : [ { - "localId" : "429", - "alias" : "E", - "resultTypeSpecifier" : { - "localId" : "435", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "436", - "name" : "{https://github.com/cqframework/cql-execution/simple}Encounter", - "type" : "NamedTypeSpecifier" - } - }, - "expression" : { - "localId" : "430", - "dataType" : "{https://github.com/cqframework/cql-execution/simple}Encounter", - "type" : "Retrieve", - "resultTypeSpecifier" : { - "localId" : "433", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "434", - "name" : "{https://github.com/cqframework/cql-execution/simple}Encounter", - "type" : "NamedTypeSpecifier" - } - }, - "include" : [ ], - "codeFilter" : [ ], - "dateFilter" : [ ], - "otherFilter" : [ ] - } - } ], - "let" : [ ], - "relationship" : [ ], - "return" : { - "localId" : "438", - "resultTypeSpecifier" : { - "localId" : "440", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "441", - "name" : "{https://github.com/cqframework/cql-execution/simple}Encounter", - "type" : "NamedTypeSpecifier" - } - }, - "expression" : { - "localId" : "439", - "resultTypeName" : "{https://github.com/cqframework/cql-execution/simple}Encounter", - "name" : "E", - "type" : "AliasRef" - } - }, - "sort" : { - "localId" : "444", - "by" : [ { - "localId" : "443", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "direction" : "desc", - "path" : "id", - "type" : "ByColumn" + } ] + }, { + "value" : [ " " ] + }, { + "r" : "438", + "s" : [ { + "value" : [ "return " ] + }, { + "r" : "439", + "s" : [ { + "value" : [ "E" ] } ] - } - } - }, { - "localId" : "457", - "name" : "TupleReturnTupleDesc", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "457", + } ] + }, { + "value" : [ " " ] + }, { + "r" : "444", + "s" : [ { + "value" : [ "sort by " ] + }, { + "r" : "443", "s" : [ { - "value" : [ "","define ","TupleReturnTupleDesc",": " ] + "r" : "442", + "s" : [ { + "value" : [ "id" ] + } ] }, { - "r" : "486", - "s" : [ { - "s" : [ { - "r" : "458", - "s" : [ { - "r" : "459", - "s" : [ { - "r" : "459", - "s" : [ { - "value" : [ "[","Encounter","]" ] - } ] - } ] - }, { - "value" : [ " ","E" ] - } ] - } ] - }, { - "value" : [ " " ] - }, { - "r" : "467", - "s" : [ { - "value" : [ "return " ] - }, { - "r" : "468", - "s" : [ { - "value" : [ "{" ] - }, { - "s" : [ { - "value" : [ "E"," : " ] - }, { - "r" : "469", - "s" : [ { - "value" : [ "E" ] - } ] - } ] - }, { - "value" : [ "}" ] - } ] - } ] - }, { - "value" : [ " " ] - }, { - "r" : "480", - "s" : [ { - "value" : [ "sort by " ] - }, { - "r" : "479", - "s" : [ { - "r" : "478", - "s" : [ { - "r" : "477", - "s" : [ { - "value" : [ "E" ] - } ] - }, { - "value" : [ "." ] - }, { - "r" : "478", - "s" : [ { - "value" : [ "id" ] - } ] - } ] - }, { - "value" : [ " desc" ] - } ] - } ] - } ] + "value" : [ " desc" ] } ] - } - } ], + } ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "453", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "454", + "name" : "{https://github.com/cqframework/cql-execution/simple}Encounter", + "annotation" : [ ] + } + }, + "expression" : { + "type" : "Query", + "localId" : "450", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "451", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "452", + "name" : "{https://github.com/cqframework/cql-execution/simple}Encounter", + "annotation" : [ ] + } + }, + "source" : [ { + "localId" : "429", + "alias" : "E", + "annotation" : [ ], "resultTypeSpecifier" : { - "localId" : "491", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "492", - "type" : "TupleTypeSpecifier", - "element" : [ { - "localId" : "493", - "name" : "E", - "elementType" : { - "localId" : "494", - "name" : "{https://github.com/cqframework/cql-execution/simple}Encounter", - "type" : "NamedTypeSpecifier" - } - } ] - } + "type" : "ListTypeSpecifier", + "localId" : "435", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "436", + "name" : "{https://github.com/cqframework/cql-execution/simple}Encounter", + "annotation" : [ ] + } }, "expression" : { - "localId" : "486", - "type" : "Query", - "resultTypeSpecifier" : { - "localId" : "487", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "488", - "type" : "TupleTypeSpecifier", - "element" : [ { - "localId" : "489", - "name" : "E", - "elementType" : { - "localId" : "490", - "name" : "{https://github.com/cqframework/cql-execution/simple}Encounter", - "type" : "NamedTypeSpecifier" - } - } ] - } - }, - "source" : [ { - "localId" : "458", - "alias" : "E", - "resultTypeSpecifier" : { - "localId" : "464", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "465", - "name" : "{https://github.com/cqframework/cql-execution/simple}Encounter", - "type" : "NamedTypeSpecifier" - } - }, - "expression" : { - "localId" : "459", - "dataType" : "{https://github.com/cqframework/cql-execution/simple}Encounter", - "type" : "Retrieve", - "resultTypeSpecifier" : { - "localId" : "462", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "463", - "name" : "{https://github.com/cqframework/cql-execution/simple}Encounter", - "type" : "NamedTypeSpecifier" - } - }, - "include" : [ ], - "codeFilter" : [ ], - "dateFilter" : [ ], - "otherFilter" : [ ] - } - } ], - "let" : [ ], - "relationship" : [ ], - "return" : { - "localId" : "467", - "resultTypeSpecifier" : { - "localId" : "473", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "474", - "type" : "TupleTypeSpecifier", - "element" : [ { - "localId" : "475", - "name" : "E", - "elementType" : { - "localId" : "476", - "name" : "{https://github.com/cqframework/cql-execution/simple}Encounter", - "type" : "NamedTypeSpecifier" - } - } ] - } - }, - "expression" : { - "localId" : "468", - "type" : "Tuple", - "resultTypeSpecifier" : { - "localId" : "470", - "type" : "TupleTypeSpecifier", - "element" : [ { - "localId" : "471", - "name" : "E", - "elementType" : { - "localId" : "472", - "name" : "{https://github.com/cqframework/cql-execution/simple}Encounter", - "type" : "NamedTypeSpecifier" - } - } ] - }, - "element" : [ { - "name" : "E", - "value" : { - "localId" : "469", - "resultTypeName" : "{https://github.com/cqframework/cql-execution/simple}Encounter", - "name" : "E", - "type" : "AliasRef" - } - } ] - } - }, - "sort" : { - "localId" : "480", - "by" : [ { - "localId" : "479", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "direction" : "desc", - "type" : "ByExpression", - "expression" : { - "localId" : "478", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "path" : "id", - "type" : "Property", - "source" : { - "localId" : "477", - "resultTypeName" : "{https://github.com/cqframework/cql-execution/simple}Encounter", - "name" : "E", - "type" : "IdentifierRef" - } - } - } ] - } + "type" : "Retrieve", + "localId" : "430", + "dataType" : "{https://github.com/cqframework/cql-execution/simple}Encounter", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "433", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "434", + "name" : "{https://github.com/cqframework/cql-execution/simple}Encounter", + "annotation" : [ ] + } + }, + "include" : [ ], + "codeFilter" : [ ], + "dateFilter" : [ ], + "otherFilter" : [ ] } - }, { - "localId" : "497", - "name" : "ConditionDates", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "497", + } ], + "let" : [ ], + "relationship" : [ ], + "return" : { + "localId" : "438", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "440", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "441", + "name" : "{https://github.com/cqframework/cql-execution/simple}Encounter", + "annotation" : [ ] + } + }, + "expression" : { + "type" : "AliasRef", + "localId" : "439", + "resultTypeName" : "{https://github.com/cqframework/cql-execution/simple}Encounter", + "name" : "E", + "annotation" : [ ] + } + }, + "sort" : { + "localId" : "444", + "annotation" : [ ], + "by" : [ { + "type" : "ByColumn", + "localId" : "443", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "direction" : "desc", + "path" : "id", + "annotation" : [ ] + } ] + } + } + }, { + "localId" : "457", + "name" : "TupleReturnTupleDesc", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "457", + "s" : [ { + "value" : [ "", "define ", "TupleReturnTupleDesc", ": " ] + }, { + "r" : "486", + "s" : [ { + "s" : [ { + "r" : "458", "s" : [ { - "value" : [ "","define ","ConditionDates",": " ] + "r" : "459", + "s" : [ { + "r" : "459", + "s" : [ { + "value" : [ "[", "Encounter", "]" ] + } ] + } ] }, { - "r" : "517", - "s" : [ { - "s" : [ { - "r" : "498", - "s" : [ { - "r" : "499", - "s" : [ { - "r" : "499", - "s" : [ { - "value" : [ "[","Condition","]" ] - } ] - } ] - }, { - "value" : [ " ","C" ] - } ] - } ] - }, { - "value" : [ " " ] - }, { - "r" : "507", - "s" : [ { - "value" : [ "return " ] - }, { - "r" : "514", - "s" : [ { - "r" : "509", - "s" : [ { - "r" : "508", - "s" : [ { - "value" : [ "C" ] - } ] - }, { - "value" : [ "." ] - }, { - "r" : "509", - "s" : [ { - "value" : [ "period" ] - } ] - } ] - }, { - "value" : [ "." ] - }, { - "r" : "514", - "s" : [ { - "value" : [ "low" ] - } ] - } ] - } ] - } ] + "value" : [ " ", "E" ] } ] - } - } ], + } ] + }, { + "value" : [ " " ] + }, { + "r" : "467", + "s" : [ { + "value" : [ "return " ] + }, { + "r" : "468", + "s" : [ { + "value" : [ "{" ] + }, { + "s" : [ { + "value" : [ "E", " : " ] + }, { + "r" : "469", + "s" : [ { + "value" : [ "E" ] + } ] + } ] + }, { + "value" : [ "}" ] + } ] + } ] + }, { + "value" : [ " " ] + }, { + "r" : "480", + "s" : [ { + "value" : [ "sort by " ] + }, { + "r" : "479", + "s" : [ { + "r" : "478", + "s" : [ { + "r" : "477", + "s" : [ { + "value" : [ "E" ] + } ] + }, { + "value" : [ "." ] + }, { + "r" : "478", + "s" : [ { + "value" : [ "id" ] + } ] + } ] + }, { + "value" : [ " desc" ] + } ] + } ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "491", + "annotation" : [ ], + "elementType" : { + "type" : "TupleTypeSpecifier", + "localId" : "492", + "annotation" : [ ], + "element" : [ { + "localId" : "493", + "name" : "E", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "494", + "name" : "{https://github.com/cqframework/cql-execution/simple}Encounter", + "annotation" : [ ] + } + } ] + } + }, + "expression" : { + "type" : "Query", + "localId" : "486", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "487", + "annotation" : [ ], + "elementType" : { + "type" : "TupleTypeSpecifier", + "localId" : "488", + "annotation" : [ ], + "element" : [ { + "localId" : "489", + "name" : "E", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "490", + "name" : "{https://github.com/cqframework/cql-execution/simple}Encounter", + "annotation" : [ ] + } + } ] + } + }, + "source" : [ { + "localId" : "458", + "alias" : "E", + "annotation" : [ ], "resultTypeSpecifier" : { - "localId" : "520", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "521", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } + "type" : "ListTypeSpecifier", + "localId" : "464", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "465", + "name" : "{https://github.com/cqframework/cql-execution/simple}Encounter", + "annotation" : [ ] + } }, "expression" : { - "localId" : "517", - "type" : "Query", - "resultTypeSpecifier" : { - "localId" : "518", - "type" : "ListTypeSpecifier", + "type" : "Retrieve", + "localId" : "459", + "dataType" : "{https://github.com/cqframework/cql-execution/simple}Encounter", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "462", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "463", + "name" : "{https://github.com/cqframework/cql-execution/simple}Encounter", + "annotation" : [ ] + } + }, + "include" : [ ], + "codeFilter" : [ ], + "dateFilter" : [ ], + "otherFilter" : [ ] + } + } ], + "let" : [ ], + "relationship" : [ ], + "return" : { + "localId" : "467", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "473", + "annotation" : [ ], + "elementType" : { + "type" : "TupleTypeSpecifier", + "localId" : "474", + "annotation" : [ ], + "element" : [ { + "localId" : "475", + "name" : "E", + "annotation" : [ ], "elementType" : { - "localId" : "519", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "source" : [ { - "localId" : "498", - "alias" : "C", - "resultTypeSpecifier" : { - "localId" : "504", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "505", - "name" : "{https://github.com/cqframework/cql-execution/simple}Condition", - "type" : "NamedTypeSpecifier" - } - }, - "expression" : { - "localId" : "499", - "dataType" : "{https://github.com/cqframework/cql-execution/simple}Condition", - "type" : "Retrieve", - "resultTypeSpecifier" : { - "localId" : "502", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "503", - "name" : "{https://github.com/cqframework/cql-execution/simple}Condition", - "type" : "NamedTypeSpecifier" - } - }, - "include" : [ ], - "codeFilter" : [ ], - "dateFilter" : [ ], - "otherFilter" : [ ] + "type" : "NamedTypeSpecifier", + "localId" : "476", + "name" : "{https://github.com/cqframework/cql-execution/simple}Encounter", + "annotation" : [ ] } - } ], - "let" : [ ], - "relationship" : [ ], - "return" : { - "localId" : "507", - "resultTypeSpecifier" : { - "localId" : "515", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "516", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "expression" : { - "localId" : "514", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "path" : "low", - "type" : "Property", - "source" : { - "localId" : "509", - "path" : "period", - "scope" : "C", - "type" : "Property", - "resultTypeSpecifier" : { - "localId" : "512", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "513", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - } + } ] + } + }, + "expression" : { + "type" : "Tuple", + "localId" : "468", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "TupleTypeSpecifier", + "localId" : "470", + "annotation" : [ ], + "element" : [ { + "localId" : "471", + "name" : "E", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "472", + "name" : "{https://github.com/cqframework/cql-execution/simple}Encounter", + "annotation" : [ ] } - } + } ] + }, + "element" : [ { + "name" : "E", + "value" : { + "type" : "AliasRef", + "localId" : "469", + "resultTypeName" : "{https://github.com/cqframework/cql-execution/simple}Encounter", + "name" : "E", + "annotation" : [ ] + } + } ] } - }, { - "localId" : "524", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "name" : "lastDateUnsorted", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "524", + }, + "sort" : { + "localId" : "480", + "annotation" : [ ], + "by" : [ { + "type" : "ByExpression", + "localId" : "479", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "direction" : "desc", + "annotation" : [ ], + "expression" : { + "type" : "Property", + "localId" : "478", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "path" : "id", + "annotation" : [ ], + "source" : { + "type" : "IdentifierRef", + "localId" : "477", + "resultTypeName" : "{https://github.com/cqframework/cql-execution/simple}Encounter", + "name" : "E", + "annotation" : [ ] + } + } + } ] + } + } + }, { + "localId" : "497", + "name" : "ConditionDates", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "497", + "s" : [ { + "value" : [ "", "define ", "ConditionDates", ": " ] + }, { + "r" : "517", + "s" : [ { + "s" : [ { + "r" : "498", "s" : [ { - "value" : [ "","define ","lastDateUnsorted",": " ] + "r" : "499", + "s" : [ { + "r" : "499", + "s" : [ { + "value" : [ "[", "Condition", "]" ] + } ] + } ] }, { - "r" : "532", - "s" : [ { - "value" : [ "Last","(" ] - }, { - "r" : "525", - "s" : [ { - "value" : [ "\"ConditionDates\"" ] - } ] - }, { - "value" : [ ")" ] - } ] + "value" : [ " ", "C" ] } ] - } - } ], - "expression" : { - "localId" : "532", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "Last", - "signature" : [ { - "localId" : "533", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "534", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } ], - "source" : { - "localId" : "525", - "name" : "ConditionDates", - "type" : "ExpressionRef", - "resultTypeSpecifier" : { - "localId" : "526", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "527", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - } - } - }, { - "localId" : "537", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "name" : "lastDateByThis", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "537", + } ] + }, { + "value" : [ " " ] + }, { + "r" : "507", + "s" : [ { + "value" : [ "return " ] + }, { + "r" : "514", "s" : [ { - "value" : [ "","define ","lastDateByThis",": " ] + "r" : "509", + "s" : [ { + "r" : "508", + "s" : [ { + "value" : [ "C" ] + } ] + }, { + "value" : [ "." ] + }, { + "r" : "509", + "s" : [ { + "value" : [ "period" ] + } ] + } ] }, { - "r" : "560", - "s" : [ { - "value" : [ "Last","(" ] - }, { - "r" : "553", - "s" : [ { - "s" : [ { - "r" : "538", - "s" : [ { - "r" : "539", - "s" : [ { - "s" : [ { - "value" : [ "\"ConditionDates\"" ] - } ] - } ] - }, { - "value" : [ " ","CD" ] - } ] - } ] - }, { - "value" : [ " " ] - }, { - "r" : "547", - "s" : [ { - "value" : [ "sort by " ] - }, { - "r" : "546", - "s" : [ { - "r" : "545", - "value" : [ "$this" ] - } ] - } ] - } ] - }, { - "value" : [ ")" ] - } ] + "value" : [ "." ] + }, { + "r" : "514", + "s" : [ { + "value" : [ "low" ] + } ] } ] - } - } ], + } ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "520", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "521", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "expression" : { + "type" : "Query", + "localId" : "517", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "518", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "519", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "source" : [ { + "localId" : "498", + "alias" : "C", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "504", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "505", + "name" : "{https://github.com/cqframework/cql-execution/simple}Condition", + "annotation" : [ ] + } + }, "expression" : { - "localId" : "560", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "Last", - "signature" : [ { - "localId" : "561", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "562", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } ], - "source" : { - "localId" : "553", - "type" : "Query", - "resultTypeSpecifier" : { - "localId" : "554", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "555", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "source" : [ { - "localId" : "538", - "alias" : "CD", - "resultTypeSpecifier" : { - "localId" : "542", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "543", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "expression" : { - "localId" : "539", - "name" : "ConditionDates", - "type" : "ExpressionRef", - "resultTypeSpecifier" : { - "localId" : "540", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "541", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - } - } ], - "let" : [ ], - "relationship" : [ ], - "sort" : { - "localId" : "547", - "by" : [ { - "localId" : "546", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "direction" : "asc", - "path" : "$this", - "type" : "ByColumn" - } ] + "type" : "Retrieve", + "localId" : "499", + "dataType" : "{https://github.com/cqframework/cql-execution/simple}Condition", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "502", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "503", + "name" : "{https://github.com/cqframework/cql-execution/simple}Condition", + "annotation" : [ ] + } + }, + "include" : [ ], + "codeFilter" : [ ], + "dateFilter" : [ ], + "otherFilter" : [ ] + } + } ], + "let" : [ ], + "relationship" : [ ], + "return" : { + "localId" : "507", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "515", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "516", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "expression" : { + "type" : "Property", + "localId" : "514", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "path" : "low", + "annotation" : [ ], + "source" : { + "type" : "Property", + "localId" : "509", + "path" : "period", + "scope" : "C", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "512", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "513", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] } - } + } + } + } + } + } + }, { + "localId" : "524", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "name" : "lastDateUnsorted", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "524", + "s" : [ { + "value" : [ "", "define ", "lastDateUnsorted", ": " ] + }, { + "r" : "532", + "s" : [ { + "value" : [ "Last", "(" ] + }, { + "r" : "525", + "s" : [ { + "value" : [ "\"ConditionDates\"" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Last", + "localId" : "532", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "ListTypeSpecifier", + "localId" : "533", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "534", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] } - }, { - "localId" : "565", - "name" : "numberAsc", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "565", + } ], + "source" : { + "type" : "ExpressionRef", + "localId" : "525", + "name" : "ConditionDates", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "526", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "527", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + } + } + }, { + "localId" : "537", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "name" : "lastDateByThis", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "537", + "s" : [ { + "value" : [ "", "define ", "lastDateByThis", ": " ] + }, { + "r" : "560", + "s" : [ { + "value" : [ "Last", "(" ] + }, { + "r" : "553", + "s" : [ { "s" : [ { - "value" : [ "","define ","numberAsc",": " ] - }, { - "r" : "589", - "s" : [ { + "r" : "538", + "s" : [ { + "r" : "539", + "s" : [ { "s" : [ { - "r" : "566", - "s" : [ { - "r" : "567", - "s" : [ { - "value" : [ "(" ] - }, { - "r" : "567", - "s" : [ { - "r" : "568", - "value" : [ "{","8",", ","6",", ","7",", ","5",", ","3",", ","0",", ","9","}" ] - } ] - }, { - "value" : [ ")" ] - } ] - }, { - "value" : [ " ","N" ] - } ] + "value" : [ "\"ConditionDates\"" ] } ] - }, { - "r" : "582", - "value" : [ " ","sort asc" ] - } ] + } ] + }, { + "value" : [ " ", "CD" ] + } ] } ] - } - } ], + }, { + "value" : [ " " ] + }, { + "r" : "547", + "s" : [ { + "value" : [ "sort by " ] + }, { + "r" : "546", + "s" : [ { + "r" : "545", + "value" : [ "$this" ] + } ] + } ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Last", + "localId" : "560", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "ListTypeSpecifier", + "localId" : "561", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "562", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } ], + "source" : { + "type" : "Query", + "localId" : "553", + "annotation" : [ ], "resultTypeSpecifier" : { - "localId" : "592", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "593", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } + "type" : "ListTypeSpecifier", + "localId" : "554", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "555", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } }, - "expression" : { - "localId" : "589", - "type" : "Query", - "resultTypeSpecifier" : { - "localId" : "590", + "source" : [ { + "localId" : "538", + "alias" : "CD", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "542", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "543", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "expression" : { + "type" : "ExpressionRef", + "localId" : "539", + "name" : "ConditionDates", + "annotation" : [ ], + "resultTypeSpecifier" : { "type" : "ListTypeSpecifier", + "localId" : "540", + "annotation" : [ ], "elementType" : { - "localId" : "591", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "source" : [ { - "localId" : "566", - "alias" : "N", - "resultTypeSpecifier" : { - "localId" : "579", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "580", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "expression" : { - "localId" : "567", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "577", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "578", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "element" : [ { - "localId" : "568", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "8", - "type" : "Literal" - }, { - "localId" : "569", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "6", - "type" : "Literal" - }, { - "localId" : "570", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "7", - "type" : "Literal" - }, { - "localId" : "571", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal" - }, { - "localId" : "572", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, { - "localId" : "573", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, { - "localId" : "574", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "9", - "type" : "Literal" - } ] + "type" : "NamedTypeSpecifier", + "localId" : "541", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] } - } ], - "let" : [ ], - "relationship" : [ ], - "sort" : { - "localId" : "582", - "by" : [ { - "localId" : "583", - "direction" : "asc", - "type" : "ByDirection" - } ] - } + } + } + } ], + "let" : [ ], + "relationship" : [ ], + "sort" : { + "localId" : "547", + "annotation" : [ ], + "by" : [ { + "type" : "ByColumn", + "localId" : "546", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "direction" : "asc", + "path" : "$this", + "annotation" : [ ] + } ] } - }, { - "localId" : "596", - "name" : "numberReturnAsc", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "596", + } + } + }, { + "localId" : "565", + "name" : "numberAsc", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "565", + "s" : [ { + "value" : [ "", "define ", "numberAsc", ": " ] + }, { + "r" : "589", + "s" : [ { + "s" : [ { + "r" : "566", "s" : [ { - "value" : [ "","define ","numberReturnAsc",": " ] + "r" : "567", + "s" : [ { + "value" : [ "(" ] + }, { + "r" : "567", + "s" : [ { + "r" : "568", + "value" : [ "{", "8", ", ", "6", ", ", "7", ", ", "5", ", ", "3", ", ", "0", ", ", "9", "}" ] + } ] + }, { + "value" : [ ")" ] + } ] }, { - "r" : "624", - "s" : [ { - "s" : [ { - "r" : "597", - "s" : [ { - "r" : "598", - "s" : [ { - "value" : [ "(" ] - }, { - "r" : "598", - "s" : [ { - "r" : "599", - "value" : [ "{","8",", ","6",", ","7",", ","5",", ","3",", ","0",", ","9","}" ] - } ] - }, { - "value" : [ ")" ] - } ] - }, { - "value" : [ " ","N" ] - } ] - } ] - }, { - "value" : [ " " ] - }, { - "r" : "613", - "s" : [ { - "value" : [ "return " ] - }, { - "r" : "614", - "s" : [ { - "value" : [ "N" ] - } ] - } ] - }, { - "r" : "617", - "value" : [ " ","sort asc" ] - } ] + "value" : [ " ", "N" ] } ] - } - } ], + } ] + }, { + "r" : "582", + "value" : [ " ", "sort asc" ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "592", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "593", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "expression" : { + "type" : "Query", + "localId" : "589", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "590", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "591", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "source" : [ { + "localId" : "566", + "alias" : "N", + "annotation" : [ ], "resultTypeSpecifier" : { - "localId" : "627", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "628", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } + "type" : "ListTypeSpecifier", + "localId" : "579", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "580", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } }, "expression" : { - "localId" : "624", - "type" : "Query", - "resultTypeSpecifier" : { - "localId" : "625", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "626", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "source" : [ { - "localId" : "597", - "alias" : "N", - "resultTypeSpecifier" : { - "localId" : "610", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "611", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "expression" : { - "localId" : "598", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "608", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "609", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "element" : [ { - "localId" : "599", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "8", - "type" : "Literal" - }, { - "localId" : "600", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "6", - "type" : "Literal" - }, { - "localId" : "601", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "7", - "type" : "Literal" - }, { - "localId" : "602", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal" - }, { - "localId" : "603", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, { - "localId" : "604", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, { - "localId" : "605", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "9", - "type" : "Literal" - } ] - } - } ], - "let" : [ ], - "relationship" : [ ], - "return" : { - "localId" : "613", - "resultTypeSpecifier" : { - "localId" : "615", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "616", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "expression" : { - "localId" : "614", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "name" : "N", - "type" : "AliasRef" - } - }, - "sort" : { - "localId" : "617", - "by" : [ { - "localId" : "618", - "direction" : "asc", - "type" : "ByDirection" - } ] - } + "type" : "List", + "localId" : "567", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "577", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "578", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "element" : [ { + "type" : "Literal", + "localId" : "568", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "8", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "569", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "6", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "570", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "7", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "571", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "5", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "572", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "573", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "574", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "9", + "annotation" : [ ] + } ] } - }, { - "localId" : "631", - "name" : "numberDesc", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "631", + } ], + "let" : [ ], + "relationship" : [ ], + "sort" : { + "localId" : "582", + "annotation" : [ ], + "by" : [ { + "type" : "ByDirection", + "localId" : "583", + "direction" : "asc", + "annotation" : [ ] + } ] + } + } + }, { + "localId" : "596", + "name" : "numberReturnAsc", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "596", + "s" : [ { + "value" : [ "", "define ", "numberReturnAsc", ": " ] + }, { + "r" : "624", + "s" : [ { + "s" : [ { + "r" : "597", "s" : [ { - "value" : [ "","define ","numberDesc",": " ] + "r" : "598", + "s" : [ { + "value" : [ "(" ] + }, { + "r" : "598", + "s" : [ { + "r" : "599", + "value" : [ "{", "8", ", ", "6", ", ", "7", ", ", "5", ", ", "3", ", ", "0", ", ", "9", "}" ] + } ] + }, { + "value" : [ ")" ] + } ] }, { - "r" : "655", - "s" : [ { - "s" : [ { - "r" : "632", - "s" : [ { - "r" : "633", - "s" : [ { - "value" : [ "(" ] - }, { - "r" : "633", - "s" : [ { - "r" : "634", - "value" : [ "{","8",", ","6",", ","7",", ","5",", ","3",", ","0",", ","9","}" ] - } ] - }, { - "value" : [ ")" ] - } ] - }, { - "value" : [ " ","N" ] - } ] - } ] - }, { - "r" : "648", - "value" : [ " ","sort desc" ] - } ] + "value" : [ " ", "N" ] } ] - } - } ], + } ] + }, { + "value" : [ " " ] + }, { + "r" : "613", + "s" : [ { + "value" : [ "return " ] + }, { + "r" : "614", + "s" : [ { + "value" : [ "N" ] + } ] + } ] + }, { + "r" : "617", + "value" : [ " ", "sort asc" ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "627", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "628", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "expression" : { + "type" : "Query", + "localId" : "624", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "625", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "626", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "source" : [ { + "localId" : "597", + "alias" : "N", + "annotation" : [ ], "resultTypeSpecifier" : { - "localId" : "658", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "659", + "type" : "ListTypeSpecifier", + "localId" : "610", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "611", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "expression" : { + "type" : "List", + "localId" : "598", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "608", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "609", "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } + "annotation" : [ ] + } + }, + "element" : [ { + "type" : "Literal", + "localId" : "599", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "8", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "600", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "6", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "601", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "7", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "602", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "5", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "603", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "604", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "605", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "9", + "annotation" : [ ] + } ] + } + } ], + "let" : [ ], + "relationship" : [ ], + "return" : { + "localId" : "613", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "615", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "616", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } }, "expression" : { - "localId" : "655", - "type" : "Query", - "resultTypeSpecifier" : { - "localId" : "656", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "657", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "source" : [ { - "localId" : "632", - "alias" : "N", - "resultTypeSpecifier" : { - "localId" : "645", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "646", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "expression" : { - "localId" : "633", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "643", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "644", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "element" : [ { - "localId" : "634", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "8", - "type" : "Literal" - }, { - "localId" : "635", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "6", - "type" : "Literal" - }, { - "localId" : "636", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "7", - "type" : "Literal" - }, { - "localId" : "637", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal" - }, { - "localId" : "638", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, { - "localId" : "639", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, { - "localId" : "640", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "9", - "type" : "Literal" - } ] - } - } ], - "let" : [ ], - "relationship" : [ ], - "sort" : { - "localId" : "648", - "by" : [ { - "localId" : "649", - "direction" : "desc", - "type" : "ByDirection" - } ] - } + "type" : "AliasRef", + "localId" : "614", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "name" : "N", + "annotation" : [ ] } - }, { - "localId" : "662", - "name" : "numberReturnDesc", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "662", + }, + "sort" : { + "localId" : "617", + "annotation" : [ ], + "by" : [ { + "type" : "ByDirection", + "localId" : "618", + "direction" : "asc", + "annotation" : [ ] + } ] + } + } + }, { + "localId" : "631", + "name" : "numberDesc", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "631", + "s" : [ { + "value" : [ "", "define ", "numberDesc", ": " ] + }, { + "r" : "655", + "s" : [ { + "s" : [ { + "r" : "632", "s" : [ { - "value" : [ "","define ","numberReturnDesc",": " ] + "r" : "633", + "s" : [ { + "value" : [ "(" ] + }, { + "r" : "633", + "s" : [ { + "r" : "634", + "value" : [ "{", "8", ", ", "6", ", ", "7", ", ", "5", ", ", "3", ", ", "0", ", ", "9", "}" ] + } ] + }, { + "value" : [ ")" ] + } ] }, { - "r" : "690", - "s" : [ { - "s" : [ { - "r" : "663", - "s" : [ { - "r" : "664", - "s" : [ { - "value" : [ "(" ] - }, { - "r" : "664", - "s" : [ { - "r" : "665", - "value" : [ "{","8",", ","6",", ","7",", ","5",", ","3",", ","0",", ","9","}" ] - } ] - }, { - "value" : [ ")" ] - } ] - }, { - "value" : [ " ","N" ] - } ] - } ] - }, { - "value" : [ " " ] - }, { - "r" : "679", - "s" : [ { - "value" : [ "return " ] - }, { - "r" : "680", - "s" : [ { - "value" : [ "N" ] - } ] - } ] - }, { - "r" : "683", - "value" : [ " ","sort desc" ] - } ] + "value" : [ " ", "N" ] } ] - } - } ], + } ] + }, { + "r" : "648", + "value" : [ " ", "sort desc" ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "658", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "659", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "expression" : { + "type" : "Query", + "localId" : "655", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "656", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "657", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "source" : [ { + "localId" : "632", + "alias" : "N", + "annotation" : [ ], "resultTypeSpecifier" : { - "localId" : "693", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "694", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } + "type" : "ListTypeSpecifier", + "localId" : "645", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "646", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } }, "expression" : { - "localId" : "690", - "type" : "Query", - "resultTypeSpecifier" : { - "localId" : "691", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "692", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "source" : [ { - "localId" : "663", - "alias" : "N", - "resultTypeSpecifier" : { - "localId" : "676", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "677", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "expression" : { - "localId" : "664", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "674", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "675", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "element" : [ { - "localId" : "665", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "8", - "type" : "Literal" - }, { - "localId" : "666", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "6", - "type" : "Literal" - }, { - "localId" : "667", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "7", - "type" : "Literal" - }, { - "localId" : "668", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal" - }, { - "localId" : "669", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, { - "localId" : "670", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, { - "localId" : "671", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "9", - "type" : "Literal" - } ] - } - } ], - "let" : [ ], - "relationship" : [ ], - "return" : { - "localId" : "679", - "resultTypeSpecifier" : { - "localId" : "681", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "682", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "expression" : { - "localId" : "680", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "name" : "N", - "type" : "AliasRef" - } - }, - "sort" : { - "localId" : "683", - "by" : [ { - "localId" : "684", - "direction" : "desc", - "type" : "ByDirection" - } ] - } + "type" : "List", + "localId" : "633", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "643", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "644", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "element" : [ { + "type" : "Literal", + "localId" : "634", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "8", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "635", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "6", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "636", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "7", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "637", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "5", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "638", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "639", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "640", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "9", + "annotation" : [ ] + } ] } - }, { - "localId" : "697", - "name" : "stringAsc", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "697", + } ], + "let" : [ ], + "relationship" : [ ], + "sort" : { + "localId" : "648", + "annotation" : [ ], + "by" : [ { + "type" : "ByDirection", + "localId" : "649", + "direction" : "desc", + "annotation" : [ ] + } ] + } + } + }, { + "localId" : "662", + "name" : "numberReturnDesc", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "662", + "s" : [ { + "value" : [ "", "define ", "numberReturnDesc", ": " ] + }, { + "r" : "690", + "s" : [ { + "s" : [ { + "r" : "663", "s" : [ { - "value" : [ "","define ","stringAsc",": " ] + "r" : "664", + "s" : [ { + "value" : [ "(" ] + }, { + "r" : "664", + "s" : [ { + "r" : "665", + "value" : [ "{", "8", ", ", "6", ", ", "7", ", ", "5", ", ", "3", ", ", "0", ", ", "9", "}" ] + } ] + }, { + "value" : [ ")" ] + } ] }, { - "r" : "724", - "s" : [ { - "s" : [ { - "r" : "698", - "s" : [ { - "r" : "699", - "s" : [ { - "value" : [ "(" ] - }, { - "r" : "699", - "s" : [ { - "value" : [ "{" ] - }, { - "r" : "700", - "s" : [ { - "value" : [ "'jenny'" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "702", - "s" : [ { - "value" : [ "'dont'" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "704", - "s" : [ { - "value" : [ "'change'" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "706", - "s" : [ { - "value" : [ "'your'" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "708", - "s" : [ { - "value" : [ "'number'" ] - } ] - }, { - "value" : [ "}" ] - } ] - }, { - "value" : [ ")" ] - } ] - }, { - "value" : [ " ","S" ] - } ] - } ] - }, { - "r" : "717", - "value" : [ " ","sort asc" ] - } ] + "value" : [ " ", "N" ] } ] - } - } ], + } ] + }, { + "value" : [ " " ] + }, { + "r" : "679", + "s" : [ { + "value" : [ "return " ] + }, { + "r" : "680", + "s" : [ { + "value" : [ "N" ] + } ] + } ] + }, { + "r" : "683", + "value" : [ " ", "sort desc" ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "693", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "694", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "expression" : { + "type" : "Query", + "localId" : "690", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "691", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "692", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "source" : [ { + "localId" : "663", + "alias" : "N", + "annotation" : [ ], "resultTypeSpecifier" : { - "localId" : "727", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "728", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } + "type" : "ListTypeSpecifier", + "localId" : "676", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "677", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } }, "expression" : { - "localId" : "724", - "type" : "Query", - "resultTypeSpecifier" : { - "localId" : "725", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "726", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } - }, - "source" : [ { - "localId" : "698", - "alias" : "S", - "resultTypeSpecifier" : { - "localId" : "714", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "715", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } - }, - "expression" : { - "localId" : "699", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "712", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "713", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } - }, - "element" : [ { - "localId" : "700", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "jenny", - "type" : "Literal" - }, { - "localId" : "702", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "dont", - "type" : "Literal" - }, { - "localId" : "704", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "change", - "type" : "Literal" - }, { - "localId" : "706", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "your", - "type" : "Literal" - }, { - "localId" : "708", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "number", - "type" : "Literal" - } ] - } - } ], - "let" : [ ], - "relationship" : [ ], - "sort" : { - "localId" : "717", - "by" : [ { - "localId" : "718", - "direction" : "asc", - "type" : "ByDirection" - } ] - } + "type" : "List", + "localId" : "664", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "674", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "675", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "element" : [ { + "type" : "Literal", + "localId" : "665", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "8", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "666", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "6", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "667", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "7", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "668", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "5", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "669", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "670", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "671", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "9", + "annotation" : [ ] + } ] + } + } ], + "let" : [ ], + "relationship" : [ ], + "return" : { + "localId" : "679", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "681", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "682", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "expression" : { + "type" : "AliasRef", + "localId" : "680", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "name" : "N", + "annotation" : [ ] } - }, { - "localId" : "731", - "name" : "stringReturnAsc", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "731", + }, + "sort" : { + "localId" : "683", + "annotation" : [ ], + "by" : [ { + "type" : "ByDirection", + "localId" : "684", + "direction" : "desc", + "annotation" : [ ] + } ] + } + } + }, { + "localId" : "697", + "name" : "stringAsc", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "697", + "s" : [ { + "value" : [ "", "define ", "stringAsc", ": " ] + }, { + "r" : "724", + "s" : [ { + "s" : [ { + "r" : "698", "s" : [ { - "value" : [ "","define ","stringReturnAsc",": " ] - }, { - "r" : "762", - "s" : [ { + "r" : "699", + "s" : [ { + "value" : [ "(" ] + }, { + "r" : "699", + "s" : [ { + "value" : [ "{" ] + }, { + "r" : "700", "s" : [ { - "r" : "732", - "s" : [ { - "r" : "733", - "s" : [ { - "value" : [ "(" ] - }, { - "r" : "733", - "s" : [ { - "value" : [ "{" ] - }, { - "r" : "734", - "s" : [ { - "value" : [ "'jenny'" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "736", - "s" : [ { - "value" : [ "'dont'" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "738", - "s" : [ { - "value" : [ "'change'" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "740", - "s" : [ { - "value" : [ "'your'" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "742", - "s" : [ { - "value" : [ "'number'" ] - } ] - }, { - "value" : [ "}" ] - } ] - }, { - "value" : [ ")" ] - } ] - }, { - "value" : [ " ","S" ] - } ] + "value" : [ "'jenny'" ] } ] - }, { - "value" : [ " " ] - }, { - "r" : "751", + }, { + "value" : [ ", " ] + }, { + "r" : "702", "s" : [ { - "value" : [ "return " ] - }, { - "r" : "752", - "s" : [ { - "value" : [ "S" ] - } ] + "value" : [ "'dont'" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "704", + "s" : [ { + "value" : [ "'change'" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "706", + "s" : [ { + "value" : [ "'your'" ] } ] - }, { - "r" : "755", - "value" : [ " ","sort asc" ] - } ] + }, { + "value" : [ ", " ] + }, { + "r" : "708", + "s" : [ { + "value" : [ "'number'" ] + } ] + }, { + "value" : [ "}" ] + } ] + }, { + "value" : [ ")" ] + } ] + }, { + "value" : [ " ", "S" ] } ] - } - } ], + } ] + }, { + "r" : "717", + "value" : [ " ", "sort asc" ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "727", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "728", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } + }, + "expression" : { + "type" : "Query", + "localId" : "724", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "725", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "726", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } + }, + "source" : [ { + "localId" : "698", + "alias" : "S", + "annotation" : [ ], "resultTypeSpecifier" : { - "localId" : "765", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "766", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } + "type" : "ListTypeSpecifier", + "localId" : "714", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "715", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } }, "expression" : { - "localId" : "762", - "type" : "Query", - "resultTypeSpecifier" : { - "localId" : "763", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "764", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } - }, - "source" : [ { - "localId" : "732", - "alias" : "S", - "resultTypeSpecifier" : { - "localId" : "748", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "749", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } - }, - "expression" : { - "localId" : "733", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "746", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "747", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } - }, - "element" : [ { - "localId" : "734", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "jenny", - "type" : "Literal" - }, { - "localId" : "736", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "dont", - "type" : "Literal" - }, { - "localId" : "738", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "change", - "type" : "Literal" - }, { - "localId" : "740", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "your", - "type" : "Literal" - }, { - "localId" : "742", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "number", - "type" : "Literal" - } ] - } - } ], - "let" : [ ], - "relationship" : [ ], - "return" : { - "localId" : "751", - "resultTypeSpecifier" : { - "localId" : "753", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "754", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } - }, - "expression" : { - "localId" : "752", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "name" : "S", - "type" : "AliasRef" - } - }, - "sort" : { - "localId" : "755", - "by" : [ { - "localId" : "756", - "direction" : "asc", - "type" : "ByDirection" - } ] - } + "type" : "List", + "localId" : "699", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "712", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "713", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } + }, + "element" : [ { + "type" : "Literal", + "localId" : "700", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "jenny", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "702", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "dont", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "704", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "change", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "706", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "your", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "708", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "number", + "annotation" : [ ] + } ] } - }, { - "localId" : "769", - "name" : "stringDesc", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "769", + } ], + "let" : [ ], + "relationship" : [ ], + "sort" : { + "localId" : "717", + "annotation" : [ ], + "by" : [ { + "type" : "ByDirection", + "localId" : "718", + "direction" : "asc", + "annotation" : [ ] + } ] + } + } + }, { + "localId" : "731", + "name" : "stringReturnAsc", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "731", + "s" : [ { + "value" : [ "", "define ", "stringReturnAsc", ": " ] + }, { + "r" : "762", + "s" : [ { + "s" : [ { + "r" : "732", "s" : [ { - "value" : [ "","define ","stringDesc",": " ] - }, { - "r" : "796", - "s" : [ { + "r" : "733", + "s" : [ { + "value" : [ "(" ] + }, { + "r" : "733", + "s" : [ { + "value" : [ "{" ] + }, { + "r" : "734", "s" : [ { - "r" : "770", - "s" : [ { - "r" : "771", - "s" : [ { - "value" : [ "(" ] - }, { - "r" : "771", - "s" : [ { - "value" : [ "{" ] - }, { - "r" : "772", - "s" : [ { - "value" : [ "'jenny'" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "774", - "s" : [ { - "value" : [ "'dont'" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "776", - "s" : [ { - "value" : [ "'change'" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "778", - "s" : [ { - "value" : [ "'your'" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "780", - "s" : [ { - "value" : [ "'number'" ] - } ] - }, { - "value" : [ "}" ] - } ] - }, { - "value" : [ ")" ] - } ] - }, { - "value" : [ " ","S" ] - } ] + "value" : [ "'jenny'" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "736", + "s" : [ { + "value" : [ "'dont'" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "738", + "s" : [ { + "value" : [ "'change'" ] } ] - }, { - "r" : "789", - "value" : [ " ","sort desc" ] - } ] + }, { + "value" : [ ", " ] + }, { + "r" : "740", + "s" : [ { + "value" : [ "'your'" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "742", + "s" : [ { + "value" : [ "'number'" ] + } ] + }, { + "value" : [ "}" ] + } ] + }, { + "value" : [ ")" ] + } ] + }, { + "value" : [ " ", "S" ] } ] - } - } ], + } ] + }, { + "value" : [ " " ] + }, { + "r" : "751", + "s" : [ { + "value" : [ "return " ] + }, { + "r" : "752", + "s" : [ { + "value" : [ "S" ] + } ] + } ] + }, { + "r" : "755", + "value" : [ " ", "sort asc" ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "765", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "766", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } + }, + "expression" : { + "type" : "Query", + "localId" : "762", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "763", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "764", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } + }, + "source" : [ { + "localId" : "732", + "alias" : "S", + "annotation" : [ ], "resultTypeSpecifier" : { - "localId" : "799", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "800", + "type" : "ListTypeSpecifier", + "localId" : "748", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "749", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } + }, + "expression" : { + "type" : "List", + "localId" : "733", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "746", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "747", "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } + "annotation" : [ ] + } + }, + "element" : [ { + "type" : "Literal", + "localId" : "734", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "jenny", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "736", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "dont", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "738", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "change", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "740", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "your", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "742", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "number", + "annotation" : [ ] + } ] + } + } ], + "let" : [ ], + "relationship" : [ ], + "return" : { + "localId" : "751", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "753", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "754", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } }, "expression" : { - "localId" : "796", - "type" : "Query", - "resultTypeSpecifier" : { - "localId" : "797", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "798", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } - }, - "source" : [ { - "localId" : "770", - "alias" : "S", - "resultTypeSpecifier" : { - "localId" : "786", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "787", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } - }, - "expression" : { - "localId" : "771", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "784", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "785", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } - }, - "element" : [ { - "localId" : "772", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "jenny", - "type" : "Literal" - }, { - "localId" : "774", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "dont", - "type" : "Literal" - }, { - "localId" : "776", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "change", - "type" : "Literal" - }, { - "localId" : "778", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "your", - "type" : "Literal" - }, { - "localId" : "780", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "number", - "type" : "Literal" - } ] - } - } ], - "let" : [ ], - "relationship" : [ ], - "sort" : { - "localId" : "789", - "by" : [ { - "localId" : "790", - "direction" : "desc", - "type" : "ByDirection" - } ] - } + "type" : "AliasRef", + "localId" : "752", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "name" : "S", + "annotation" : [ ] } - }, { - "localId" : "803", - "name" : "stringReturnDesc", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "803", + }, + "sort" : { + "localId" : "755", + "annotation" : [ ], + "by" : [ { + "type" : "ByDirection", + "localId" : "756", + "direction" : "asc", + "annotation" : [ ] + } ] + } + } + }, { + "localId" : "769", + "name" : "stringDesc", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "769", + "s" : [ { + "value" : [ "", "define ", "stringDesc", ": " ] + }, { + "r" : "796", + "s" : [ { + "s" : [ { + "r" : "770", "s" : [ { - "value" : [ "","define ","stringReturnDesc",": " ] - }, { - "r" : "834", - "s" : [ { + "r" : "771", + "s" : [ { + "value" : [ "(" ] + }, { + "r" : "771", + "s" : [ { + "value" : [ "{" ] + }, { + "r" : "772", "s" : [ { - "r" : "804", - "s" : [ { - "r" : "805", - "s" : [ { - "value" : [ "(" ] - }, { - "r" : "805", - "s" : [ { - "value" : [ "{" ] - }, { - "r" : "806", - "s" : [ { - "value" : [ "'jenny'" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "808", - "s" : [ { - "value" : [ "'dont'" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "810", - "s" : [ { - "value" : [ "'change'" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "812", - "s" : [ { - "value" : [ "'your'" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "814", - "s" : [ { - "value" : [ "'number'" ] - } ] - }, { - "value" : [ "}" ] - } ] - }, { - "value" : [ ")" ] - } ] - }, { - "value" : [ " ","S" ] - } ] + "value" : [ "'jenny'" ] } ] - }, { - "value" : [ " " ] - }, { - "r" : "823", + }, { + "value" : [ ", " ] + }, { + "r" : "774", "s" : [ { - "value" : [ "return " ] - }, { - "r" : "824", - "s" : [ { - "value" : [ "S" ] - } ] + "value" : [ "'dont'" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "776", + "s" : [ { + "value" : [ "'change'" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "778", + "s" : [ { + "value" : [ "'your'" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "780", + "s" : [ { + "value" : [ "'number'" ] } ] - }, { - "r" : "827", - "value" : [ " ","sort desc" ] - } ] + }, { + "value" : [ "}" ] + } ] + }, { + "value" : [ ")" ] + } ] + }, { + "value" : [ " ", "S" ] } ] - } - } ], + } ] + }, { + "r" : "789", + "value" : [ " ", "sort desc" ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "799", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "800", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } + }, + "expression" : { + "type" : "Query", + "localId" : "796", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "797", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "798", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } + }, + "source" : [ { + "localId" : "770", + "alias" : "S", + "annotation" : [ ], "resultTypeSpecifier" : { - "localId" : "837", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "838", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } + "type" : "ListTypeSpecifier", + "localId" : "786", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "787", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } }, "expression" : { - "localId" : "834", - "type" : "Query", - "resultTypeSpecifier" : { - "localId" : "835", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "836", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } - }, - "source" : [ { - "localId" : "804", - "alias" : "S", - "resultTypeSpecifier" : { - "localId" : "820", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "821", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } - }, - "expression" : { - "localId" : "805", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "818", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "819", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } - }, - "element" : [ { - "localId" : "806", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "jenny", - "type" : "Literal" - }, { - "localId" : "808", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "dont", - "type" : "Literal" - }, { - "localId" : "810", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "change", - "type" : "Literal" - }, { - "localId" : "812", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "your", - "type" : "Literal" - }, { - "localId" : "814", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "number", - "type" : "Literal" - } ] - } - } ], - "let" : [ ], - "relationship" : [ ], - "return" : { - "localId" : "823", - "resultTypeSpecifier" : { - "localId" : "825", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "826", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } - }, - "expression" : { - "localId" : "824", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "name" : "S", - "type" : "AliasRef" - } - }, - "sort" : { - "localId" : "827", - "by" : [ { - "localId" : "828", - "direction" : "desc", - "type" : "ByDirection" - } ] - } - } - }, { - "localId" : "841", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "name" : "five", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "841", - "s" : [ { - "r" : "842", - "value" : [ "","define ","five",": ","5" ] - } ] - } - } ], - "expression" : { - "localId" : "842", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal" + "type" : "List", + "localId" : "771", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "784", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "785", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } + }, + "element" : [ { + "type" : "Literal", + "localId" : "772", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "jenny", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "774", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "dont", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "776", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "change", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "778", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "your", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "780", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "number", + "annotation" : [ ] + } ] } - }, { - "localId" : "845", - "name" : "sortByExpression", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "845", + } ], + "let" : [ ], + "relationship" : [ ], + "sort" : { + "localId" : "789", + "annotation" : [ ], + "by" : [ { + "type" : "ByDirection", + "localId" : "790", + "direction" : "desc", + "annotation" : [ ] + } ] + } + } + }, { + "localId" : "803", + "name" : "stringReturnDesc", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "803", + "s" : [ { + "value" : [ "", "define ", "stringReturnDesc", ": " ] + }, { + "r" : "834", + "s" : [ { + "s" : [ { + "r" : "804", "s" : [ { - "value" : [ "","define ","sortByExpression",": " ] - }, { - "r" : "884", - "s" : [ { + "r" : "805", + "s" : [ { + "value" : [ "(" ] + }, { + "r" : "805", + "s" : [ { + "value" : [ "{" ] + }, { + "r" : "806", "s" : [ { - "r" : "846", - "s" : [ { - "r" : "847", - "s" : [ { - "value" : [ "(" ] - }, { - "r" : "847", - "s" : [ { - "r" : "848", - "value" : [ "{","8",", ","6",", ","7",", ","5",", ","3",", ","0",", ","9","}" ] - } ] - }, { - "value" : [ ")" ] - } ] - }, { - "value" : [ " ","N" ] - } ] + "value" : [ "'jenny'" ] } ] - }, { - "value" : [ " " ] - }, { - "r" : "862", + }, { + "value" : [ ", " ] + }, { + "r" : "808", "s" : [ { - "value" : [ "return " ] - }, { - "r" : "863", - "s" : [ { - "value" : [ "Tuple{" ] - }, { - "s" : [ { - "value" : [ "N",": " ] - }, { - "r" : "864", - "s" : [ { - "value" : [ "N" ] - } ] - } ] - }, { - "value" : [ "}" ] - } ] + "value" : [ "'dont'" ] } ] - }, { - "value" : [ " " ] - }, { - "r" : "878", + }, { + "value" : [ ", " ] + }, { + "r" : "810", "s" : [ { - "value" : [ "sort by " ] - }, { - "r" : "877", - "s" : [ { - "r" : "872", - "s" : [ { - "value" : [ "(" ] - }, { - "r" : "872", - "s" : [ { - "r" : "873", - "s" : [ { - "value" : [ "five" ] - } ] - }, { - "value" : [ " + " ] - }, { - "r" : "874", - "s" : [ { - "value" : [ "N" ] - } ] - } ] - }, { - "value" : [ ")" ] - } ] - } ] + "value" : [ "'change'" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "812", + "s" : [ { + "value" : [ "'your'" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "814", + "s" : [ { + "value" : [ "'number'" ] } ] - } ] + }, { + "value" : [ "}" ] + } ] + }, { + "value" : [ ")" ] + } ] + }, { + "value" : [ " ", "S" ] } ] - } - } ], - "resultTypeSpecifier" : { - "localId" : "889", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "890", - "type" : "TupleTypeSpecifier", - "element" : [ { - "localId" : "891", - "name" : "N", - "elementType" : { - "localId" : "892", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } + } ] + }, { + "value" : [ " " ] + }, { + "r" : "823", + "s" : [ { + "value" : [ "return " ] + }, { + "r" : "824", + "s" : [ { + "value" : [ "S" ] } ] - } + } ] + }, { + "r" : "827", + "value" : [ " ", "sort desc" ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "837", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "838", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } + }, + "expression" : { + "type" : "Query", + "localId" : "834", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "835", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "836", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } + }, + "source" : [ { + "localId" : "804", + "alias" : "S", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "820", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "821", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } }, "expression" : { - "localId" : "884", - "type" : "Query", - "resultTypeSpecifier" : { - "localId" : "885", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "886", - "type" : "TupleTypeSpecifier", - "element" : [ { - "localId" : "887", - "name" : "N", - "elementType" : { - "localId" : "888", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } ] - } - }, - "source" : [ { - "localId" : "846", - "alias" : "N", - "resultTypeSpecifier" : { - "localId" : "859", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "860", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "expression" : { - "localId" : "847", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "857", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "858", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "element" : [ { - "localId" : "848", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "8", - "type" : "Literal" - }, { - "localId" : "849", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "6", - "type" : "Literal" - }, { - "localId" : "850", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "7", - "type" : "Literal" - }, { - "localId" : "851", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal" - }, { - "localId" : "852", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, { - "localId" : "853", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, { - "localId" : "854", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "9", - "type" : "Literal" - } ] - } - } ], - "let" : [ ], - "relationship" : [ ], - "return" : { - "localId" : "862", - "resultTypeSpecifier" : { - "localId" : "868", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "869", - "type" : "TupleTypeSpecifier", - "element" : [ { - "localId" : "870", - "name" : "N", - "elementType" : { - "localId" : "871", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } ] - } - }, - "expression" : { - "localId" : "863", - "type" : "Tuple", - "resultTypeSpecifier" : { - "localId" : "865", - "type" : "TupleTypeSpecifier", - "element" : [ { - "localId" : "866", - "name" : "N", - "elementType" : { - "localId" : "867", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } ] - }, - "element" : [ { - "name" : "N", - "value" : { - "localId" : "864", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "name" : "N", - "type" : "AliasRef" - } - } ] - } - }, - "sort" : { - "localId" : "878", - "by" : [ { - "localId" : "877", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "direction" : "asc", - "type" : "ByExpression", - "expression" : { - "localId" : "872", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "Add", - "signature" : [ { - "localId" : "875", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "876", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "873", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "name" : "five", - "type" : "ExpressionRef" - }, { - "localId" : "874", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "name" : "N", - "type" : "IdentifierRef" - } ] - } - } ] - } + "type" : "List", + "localId" : "805", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "818", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "819", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } + }, + "element" : [ { + "type" : "Literal", + "localId" : "806", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "jenny", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "808", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "dont", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "810", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "change", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "812", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "your", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "814", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "number", + "annotation" : [ ] + } ] + } + } ], + "let" : [ ], + "relationship" : [ ], + "return" : { + "localId" : "823", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "825", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "826", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } + }, + "expression" : { + "type" : "AliasRef", + "localId" : "824", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "name" : "S", + "annotation" : [ ] } - }, { - "localId" : "895", - "name" : "sortByExpressionWithNullResults", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "895", + }, + "sort" : { + "localId" : "827", + "annotation" : [ ], + "by" : [ { + "type" : "ByDirection", + "localId" : "828", + "direction" : "desc", + "annotation" : [ ] + } ] + } + } + }, { + "localId" : "841", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "name" : "five", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "841", + "s" : [ { + "r" : "842", + "value" : [ "", "define ", "five", ": ", "5" ] + } ] + } + } ], + "expression" : { + "type" : "Literal", + "localId" : "842", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "5", + "annotation" : [ ] + } + }, { + "localId" : "845", + "name" : "sortByExpression", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "845", + "s" : [ { + "value" : [ "", "define ", "sortByExpression", ": " ] + }, { + "r" : "884", + "s" : [ { + "s" : [ { + "r" : "846", "s" : [ { - "value" : [ "","define ","sortByExpressionWithNullResults",": " ] + "r" : "847", + "s" : [ { + "value" : [ "(" ] + }, { + "r" : "847", + "s" : [ { + "r" : "848", + "value" : [ "{", "8", ", ", "6", ", ", "7", ", ", "5", ", ", "3", ", ", "0", ", ", "9", "}" ] + } ] + }, { + "value" : [ ")" ] + } ] }, { - "r" : "931", - "s" : [ { - "s" : [ { - "r" : "896", - "s" : [ { - "r" : "897", - "s" : [ { - "value" : [ "(" ] - }, { - "r" : "897", - "s" : [ { - "r" : "898", - "value" : [ "{","8",", ","null",", ","7","}" ] - } ] - }, { - "value" : [ ")" ] - } ] - }, { - "value" : [ " ","N" ] - } ] - } ] - }, { - "value" : [ " " ] - }, { - "r" : "909", + "value" : [ " ", "N" ] + } ] + } ] + }, { + "value" : [ " " ] + }, { + "r" : "862", + "s" : [ { + "value" : [ "return " ] + }, { + "r" : "863", + "s" : [ { + "value" : [ "Tuple{" ] + }, { + "s" : [ { + "value" : [ "N", ": " ] + }, { + "r" : "864", + "s" : [ { + "value" : [ "N" ] + } ] + } ] + }, { + "value" : [ "}" ] + } ] + } ] + }, { + "value" : [ " " ] + }, { + "r" : "878", + "s" : [ { + "value" : [ "sort by " ] + }, { + "r" : "877", + "s" : [ { + "r" : "872", + "s" : [ { + "value" : [ "(" ] + }, { + "r" : "872", + "s" : [ { + "r" : "873", "s" : [ { - "value" : [ "return " ] - }, { - "r" : "910", - "s" : [ { - "value" : [ "Tuple{" ] - }, { - "s" : [ { - "value" : [ "N",": " ] - }, { - "r" : "911", - "s" : [ { - "value" : [ "N" ] - } ] - } ] - }, { - "value" : [ "}" ] - } ] + "value" : [ "five" ] } ] - }, { - "value" : [ " " ] - }, { - "r" : "925", + }, { + "value" : [ " + " ] + }, { + "r" : "874", "s" : [ { - "value" : [ "sort by " ] - }, { - "r" : "924", - "s" : [ { - "r" : "919", - "s" : [ { - "value" : [ "(" ] - }, { - "r" : "919", - "s" : [ { - "r" : "920", - "s" : [ { - "value" : [ "five" ] - } ] - }, { - "value" : [ " + " ] - }, { - "r" : "921", - "s" : [ { - "value" : [ "N" ] - } ] - } ] - }, { - "value" : [ ")" ] - } ] - } ] + "value" : [ "N" ] } ] - } ] + } ] + }, { + "value" : [ ")" ] + } ] } ] - } - } ], + } ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "889", + "annotation" : [ ], + "elementType" : { + "type" : "TupleTypeSpecifier", + "localId" : "890", + "annotation" : [ ], + "element" : [ { + "localId" : "891", + "name" : "N", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "892", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } ] + } + }, + "expression" : { + "type" : "Query", + "localId" : "884", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "885", + "annotation" : [ ], + "elementType" : { + "type" : "TupleTypeSpecifier", + "localId" : "886", + "annotation" : [ ], + "element" : [ { + "localId" : "887", + "name" : "N", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "888", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } ] + } + }, + "source" : [ { + "localId" : "846", + "alias" : "N", + "annotation" : [ ], "resultTypeSpecifier" : { - "localId" : "936", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "937", - "type" : "TupleTypeSpecifier", - "element" : [ { - "localId" : "938", - "name" : "N", - "elementType" : { - "localId" : "939", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } ] - } + "type" : "ListTypeSpecifier", + "localId" : "859", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "860", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } }, "expression" : { - "localId" : "931", - "type" : "Query", - "resultTypeSpecifier" : { - "localId" : "932", - "type" : "ListTypeSpecifier", + "type" : "List", + "localId" : "847", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "857", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "858", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "element" : [ { + "type" : "Literal", + "localId" : "848", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "8", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "849", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "6", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "850", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "7", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "851", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "5", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "852", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "853", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "854", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "9", + "annotation" : [ ] + } ] + } + } ], + "let" : [ ], + "relationship" : [ ], + "return" : { + "localId" : "862", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "868", + "annotation" : [ ], + "elementType" : { + "type" : "TupleTypeSpecifier", + "localId" : "869", + "annotation" : [ ], + "element" : [ { + "localId" : "870", + "name" : "N", + "annotation" : [ ], "elementType" : { - "localId" : "933", - "type" : "TupleTypeSpecifier", - "element" : [ { - "localId" : "934", - "name" : "N", - "elementType" : { - "localId" : "935", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } ] - } - }, - "source" : [ { - "localId" : "896", - "alias" : "N", - "resultTypeSpecifier" : { - "localId" : "906", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "907", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "expression" : { - "localId" : "897", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "904", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "905", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "element" : [ { - "localId" : "898", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "8", - "type" : "Literal" - }, { - "localId" : "901", - "asType" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "As", - "signature" : [ ], - "operand" : { - "localId" : "899", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - } - }, { - "localId" : "900", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "7", - "type" : "Literal" - } ] + "type" : "NamedTypeSpecifier", + "localId" : "871", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] } - } ], - "let" : [ ], - "relationship" : [ ], - "return" : { - "localId" : "909", - "resultTypeSpecifier" : { - "localId" : "915", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "916", - "type" : "TupleTypeSpecifier", - "element" : [ { - "localId" : "917", - "name" : "N", - "elementType" : { - "localId" : "918", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } ] - } - }, - "expression" : { - "localId" : "910", - "type" : "Tuple", - "resultTypeSpecifier" : { - "localId" : "912", - "type" : "TupleTypeSpecifier", - "element" : [ { - "localId" : "913", - "name" : "N", - "elementType" : { - "localId" : "914", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } ] - }, - "element" : [ { - "name" : "N", - "value" : { - "localId" : "911", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "name" : "N", - "type" : "AliasRef" - } - } ] + } ] + } + }, + "expression" : { + "type" : "Tuple", + "localId" : "863", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "TupleTypeSpecifier", + "localId" : "865", + "annotation" : [ ], + "element" : [ { + "localId" : "866", + "name" : "N", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "867", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] } - }, - "sort" : { - "localId" : "925", - "by" : [ { - "localId" : "924", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "direction" : "asc", - "type" : "ByExpression", - "expression" : { - "localId" : "919", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "Add", - "signature" : [ { - "localId" : "922", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "923", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "920", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "name" : "five", - "type" : "ExpressionRef" - }, { - "localId" : "921", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "name" : "N", - "type" : "IdentifierRef" - } ] - } - } ] - } + } ] + }, + "element" : [ { + "name" : "N", + "value" : { + "type" : "AliasRef", + "localId" : "864", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "name" : "N", + "annotation" : [ ] + } + } ] } - }, { - "localId" : "942", - "name" : "sortWithAscendingKeyword", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "942", + }, + "sort" : { + "localId" : "878", + "annotation" : [ ], + "by" : [ { + "type" : "ByExpression", + "localId" : "877", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "direction" : "asc", + "annotation" : [ ], + "expression" : { + "type" : "Add", + "localId" : "872", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "875", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "876", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "ExpressionRef", + "localId" : "873", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "name" : "five", + "annotation" : [ ] + }, { + "type" : "IdentifierRef", + "localId" : "874", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "name" : "N", + "annotation" : [ ] + } ] + } + } ] + } + } + }, { + "localId" : "895", + "name" : "sortByExpressionWithNullResults", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "895", + "s" : [ { + "value" : [ "", "define ", "sortByExpressionWithNullResults", ": " ] + }, { + "r" : "931", + "s" : [ { + "s" : [ { + "r" : "896", "s" : [ { - "value" : [ "","define ","sortWithAscendingKeyword",": " ] + "r" : "897", + "s" : [ { + "value" : [ "(" ] + }, { + "r" : "897", + "s" : [ { + "r" : "898", + "value" : [ "{", "8", ", ", "null", ", ", "7", "}" ] + } ] + }, { + "value" : [ ")" ] + } ] + }, { + "value" : [ " ", "N" ] + } ] + } ] + }, { + "value" : [ " " ] + }, { + "r" : "909", + "s" : [ { + "value" : [ "return " ] + }, { + "r" : "910", + "s" : [ { + "value" : [ "Tuple{" ] + }, { + "s" : [ { + "value" : [ "N", ": " ] + }, { + "r" : "911", + "s" : [ { + "value" : [ "N" ] + } ] + } ] }, { - "r" : "966", - "s" : [ { + "value" : [ "}" ] + } ] + } ] + }, { + "value" : [ " " ] + }, { + "r" : "925", + "s" : [ { + "value" : [ "sort by " ] + }, { + "r" : "924", + "s" : [ { + "r" : "919", + "s" : [ { + "value" : [ "(" ] + }, { + "r" : "919", + "s" : [ { + "r" : "920", "s" : [ { - "r" : "943", - "s" : [ { - "r" : "944", - "s" : [ { - "value" : [ "(" ] - }, { - "r" : "944", - "s" : [ { - "r" : "945", - "value" : [ "{","8",", ","6",", ","7",", ","5",", ","3",", ","0",", ","9","}" ] - } ] - }, { - "value" : [ ")" ] - } ] - }, { - "value" : [ " ","N" ] - } ] + "value" : [ "five" ] + } ] + }, { + "value" : [ " + " ] + }, { + "r" : "921", + "s" : [ { + "value" : [ "N" ] } ] - }, { - "r" : "959", - "value" : [ " ","sort ascending" ] - } ] + } ] + }, { + "value" : [ ")" ] + } ] } ] - } - } ], - "resultTypeSpecifier" : { - "localId" : "969", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "970", + } ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "936", + "annotation" : [ ], + "elementType" : { + "type" : "TupleTypeSpecifier", + "localId" : "937", + "annotation" : [ ], + "element" : [ { + "localId" : "938", + "name" : "N", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "939", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } ] + } + }, + "expression" : { + "type" : "Query", + "localId" : "931", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "932", + "annotation" : [ ], + "elementType" : { + "type" : "TupleTypeSpecifier", + "localId" : "933", + "annotation" : [ ], + "element" : [ { + "localId" : "934", + "name" : "N", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "935", "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } + "annotation" : [ ] + } + } ] + } + }, + "source" : [ { + "localId" : "896", + "alias" : "N", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "906", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "907", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } }, "expression" : { - "localId" : "966", - "type" : "Query", - "resultTypeSpecifier" : { - "localId" : "967", - "type" : "ListTypeSpecifier", + "type" : "List", + "localId" : "897", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "904", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "905", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "element" : [ { + "type" : "Literal", + "localId" : "898", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "8", + "annotation" : [ ] + }, { + "type" : "As", + "localId" : "901", + "asType" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Null", + "localId" : "899", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } + }, { + "type" : "Literal", + "localId" : "900", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "7", + "annotation" : [ ] + } ] + } + } ], + "let" : [ ], + "relationship" : [ ], + "return" : { + "localId" : "909", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "915", + "annotation" : [ ], + "elementType" : { + "type" : "TupleTypeSpecifier", + "localId" : "916", + "annotation" : [ ], + "element" : [ { + "localId" : "917", + "name" : "N", + "annotation" : [ ], "elementType" : { - "localId" : "968", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" + "type" : "NamedTypeSpecifier", + "localId" : "918", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] } - }, - "source" : [ { - "localId" : "943", - "alias" : "N", - "resultTypeSpecifier" : { - "localId" : "956", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "957", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "expression" : { - "localId" : "944", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "954", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "955", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "element" : [ { - "localId" : "945", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "8", - "type" : "Literal" - }, { - "localId" : "946", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "6", - "type" : "Literal" - }, { - "localId" : "947", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "7", - "type" : "Literal" - }, { - "localId" : "948", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal" - }, { - "localId" : "949", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, { - "localId" : "950", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, { - "localId" : "951", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "9", - "type" : "Literal" - } ] + } ] + } + }, + "expression" : { + "type" : "Tuple", + "localId" : "910", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "TupleTypeSpecifier", + "localId" : "912", + "annotation" : [ ], + "element" : [ { + "localId" : "913", + "name" : "N", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "914", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] } - } ], - "let" : [ ], - "relationship" : [ ], - "sort" : { - "localId" : "959", - "by" : [ { - "localId" : "960", - "direction" : "ascending", - "type" : "ByDirection" + } ] + }, + "element" : [ { + "name" : "N", + "value" : { + "type" : "AliasRef", + "localId" : "911", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "name" : "N", + "annotation" : [ ] + } + } ] + } + }, + "sort" : { + "localId" : "925", + "annotation" : [ ], + "by" : [ { + "type" : "ByExpression", + "localId" : "924", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "direction" : "asc", + "annotation" : [ ], + "expression" : { + "type" : "Add", + "localId" : "919", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "922", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "923", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "ExpressionRef", + "localId" : "920", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "name" : "five", + "annotation" : [ ] + }, { + "type" : "IdentifierRef", + "localId" : "921", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "name" : "N", + "annotation" : [ ] + } ] + } + } ] + } + } + }, { + "localId" : "942", + "name" : "sortWithAscendingKeyword", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "942", + "s" : [ { + "value" : [ "", "define ", "sortWithAscendingKeyword", ": " ] + }, { + "r" : "966", + "s" : [ { + "s" : [ { + "r" : "943", + "s" : [ { + "r" : "944", + "s" : [ { + "value" : [ "(" ] + }, { + "r" : "944", + "s" : [ { + "r" : "945", + "value" : [ "{", "8", ", ", "6", ", ", "7", ", ", "5", ", ", "3", ", ", "0", ", ", "9", "}" ] + } ] + }, { + "value" : [ ")" ] + } ] + }, { + "value" : [ " ", "N" ] } ] - } + } ] + }, { + "r" : "959", + "value" : [ " ", "sort ascending" ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "969", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "970", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "expression" : { + "type" : "Query", + "localId" : "966", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "967", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "968", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "source" : [ { + "localId" : "943", + "alias" : "N", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "956", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "957", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "expression" : { + "type" : "List", + "localId" : "944", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "954", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "955", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "element" : [ { + "type" : "Literal", + "localId" : "945", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "8", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "946", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "6", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "947", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "7", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "948", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "5", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "949", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "950", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "951", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "9", + "annotation" : [ ] + } ] } - }, { - "localId" : "973", - "name" : "sortWithDescendingKeyword", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "973", + } ], + "let" : [ ], + "relationship" : [ ], + "sort" : { + "localId" : "959", + "annotation" : [ ], + "by" : [ { + "type" : "ByDirection", + "localId" : "960", + "direction" : "ascending", + "annotation" : [ ] + } ] + } + } + }, { + "localId" : "973", + "name" : "sortWithDescendingKeyword", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "973", + "s" : [ { + "value" : [ "", "define ", "sortWithDescendingKeyword", ": " ] + }, { + "r" : "1001", + "s" : [ { + "s" : [ { + "r" : "974", "s" : [ { - "value" : [ "","define ","sortWithDescendingKeyword",": " ] + "r" : "975", + "s" : [ { + "value" : [ "(" ] + }, { + "r" : "975", + "s" : [ { + "r" : "976", + "value" : [ "{", "8", ", ", "6", ", ", "7", ", ", "5", ", ", "3", ", ", "0", ", ", "9", "}" ] + } ] + }, { + "value" : [ ")" ] + } ] }, { - "r" : "1001", - "s" : [ { - "s" : [ { - "r" : "974", - "s" : [ { - "r" : "975", - "s" : [ { - "value" : [ "(" ] - }, { - "r" : "975", - "s" : [ { - "r" : "976", - "value" : [ "{","8",", ","6",", ","7",", ","5",", ","3",", ","0",", ","9","}" ] - } ] - }, { - "value" : [ ")" ] - } ] - }, { - "value" : [ " ","N" ] - } ] - } ] - }, { - "value" : [ " " ] - }, { - "r" : "990", - "s" : [ { - "value" : [ "return " ] - }, { - "r" : "991", - "s" : [ { - "value" : [ "N" ] - } ] - } ] - }, { - "r" : "994", - "value" : [ " ","sort descending" ] - } ] + "value" : [ " ", "N" ] } ] - } - } ], + } ] + }, { + "value" : [ " " ] + }, { + "r" : "990", + "s" : [ { + "value" : [ "return " ] + }, { + "r" : "991", + "s" : [ { + "value" : [ "N" ] + } ] + } ] + }, { + "r" : "994", + "value" : [ " ", "sort descending" ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "1004", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1005", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "expression" : { + "type" : "Query", + "localId" : "1001", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "1002", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "1003", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "source" : [ { + "localId" : "974", + "alias" : "N", + "annotation" : [ ], "resultTypeSpecifier" : { - "localId" : "1004", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "1005", + "type" : "ListTypeSpecifier", + "localId" : "987", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "988", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "expression" : { + "type" : "List", + "localId" : "975", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "985", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "986", "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } + "annotation" : [ ] + } + }, + "element" : [ { + "type" : "Literal", + "localId" : "976", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "8", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "977", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "6", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "978", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "7", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "979", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "5", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "980", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "981", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "982", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "9", + "annotation" : [ ] + } ] + } + } ], + "let" : [ ], + "relationship" : [ ], + "return" : { + "localId" : "990", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "992", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "993", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } }, "expression" : { - "localId" : "1001", - "type" : "Query", - "resultTypeSpecifier" : { - "localId" : "1002", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "1003", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "source" : [ { - "localId" : "974", - "alias" : "N", - "resultTypeSpecifier" : { - "localId" : "987", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "988", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "expression" : { - "localId" : "975", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "985", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "986", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "element" : [ { - "localId" : "976", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "8", - "type" : "Literal" - }, { - "localId" : "977", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "6", - "type" : "Literal" - }, { - "localId" : "978", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "7", - "type" : "Literal" - }, { - "localId" : "979", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal" - }, { - "localId" : "980", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, { - "localId" : "981", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - }, { - "localId" : "982", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "9", - "type" : "Literal" - } ] - } - } ], - "let" : [ ], - "relationship" : [ ], - "return" : { - "localId" : "990", - "resultTypeSpecifier" : { - "localId" : "992", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "993", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "expression" : { - "localId" : "991", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "name" : "N", - "type" : "AliasRef" - } - }, - "sort" : { - "localId" : "994", - "by" : [ { - "localId" : "995", - "direction" : "descending", - "type" : "ByDirection" - } ] - } + "type" : "AliasRef", + "localId" : "991", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "name" : "N", + "annotation" : [ ] } - } ] - } - } + }, + "sort" : { + "localId" : "994", + "annotation" : [ ], + "by" : [ { + "type" : "ByDirection", + "localId" : "995", + "direction" : "descending", + "annotation" : [ ] + } ] + } + } + } ] + } + } } /* Distinct @@ -9431,2467 +10618,2825 @@ define allTuples: ({Tuple{a: 1, b:2}, Tuple{a: 2, b: 3}, Tuple{a: 1, b: 2}}) T r */ module.exports['Distinct'] = { - "library" : { - "localId" : "0", - "annotation" : [ { - "translatorVersion" : "3.27.0", - "translatorOptions" : "EnableDateRangeOptimization,EnableAnnotations,EnableResultTypes", - "signatureLevel" : "All", - "type" : "CqlToElmInfo" + "library" : { + "localId" : "0", + "annotation" : [ { + "type" : "CqlToElmInfo", + "translatorVersion" : "4.2.0", + "translatorOptions" : "EnableDateRangeOptimization,EnableAnnotations,EnableResultTypes", + "signatureLevel" : "All" + }, { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "560", + "s" : [ { + "value" : [ "", "library TestSnippet version '1'" ] + } ] + } + } ], + "identifier" : { + "id" : "TestSnippet", + "version" : "1" + }, + "schemaIdentifier" : { + "id" : "urn:hl7-org:elm", + "version" : "r1" + }, + "usings" : { + "def" : [ { + "localId" : "1", + "localIdentifier" : "System", + "uri" : "urn:hl7-org:elm-types:r1", + "annotation" : [ ] }, { - "type" : "Annotation", - "s" : { - "r" : "560", + "localId" : "206", + "localIdentifier" : "Simple", + "uri" : "https://github.com/cqframework/cql-execution/simple", + "version" : "1.0.0", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "206", "s" : [ { - "value" : [ "","library TestSnippet version '1'" ] + "value" : [ "", "using " ] + }, { + "s" : [ { + "value" : [ "Simple" ] + } ] + }, { + "value" : [ " version '1.0.0'" ] } ] - } - } ], - "identifier" : { - "id" : "TestSnippet", - "version" : "1" - }, - "schemaIdentifier" : { - "id" : "urn:hl7-org:elm", - "version" : "r1" - }, - "usings" : { - "def" : [ { - "localId" : "1", - "localIdentifier" : "System", - "uri" : "urn:hl7-org:elm-types:r1" - }, { - "localId" : "206", - "localIdentifier" : "Simple", - "uri" : "https://github.com/cqframework/cql-execution/simple", - "version" : "1.0.0", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "206", + } + } ] + } ] + }, + "contexts" : { + "def" : [ { + "localId" : "211", + "name" : "Patient", + "annotation" : [ ] + } ] + }, + "statements" : { + "def" : [ { + "localId" : "209", + "name" : "Patient", + "context" : "Patient", + "annotation" : [ ], + "expression" : { + "type" : "SingletonFrom", + "localId" : "210", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Retrieve", + "localId" : "208", + "dataType" : "{https://github.com/cqframework/cql-execution/simple}Patient", + "annotation" : [ ], + "include" : [ ], + "codeFilter" : [ ], + "dateFilter" : [ ], + "otherFilter" : [ ] + } + } + }, { + "localId" : "214", + "name" : "defaultNumbers", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "214", + "s" : [ { + "value" : [ "", "define ", "defaultNumbers", ": " ] + }, { + "r" : "244", + "s" : [ { + "s" : [ { + "r" : "215", "s" : [ { - "value" : [ "","using " ] - }, { - "s" : [ { - "value" : [ "Simple" ] - } ] + "r" : "216", + "s" : [ { + "value" : [ "(" ] + }, { + "r" : "216", + "s" : [ { + "r" : "217", + "value" : [ "{", "1", ", ", "2", ", ", "2", ", ", "3", ", ", "3", ", ", "3", ", ", "4", ", ", "4", ", ", "4", ", ", "4", ", ", "3", ", ", "3", ", ", "3", ", ", "2", ", ", "2", ", ", "1", "}" ] + } ] + }, { + "value" : [ ")" ] + } ] }, { - "value" : [ " version '1.0.0'" ] + "value" : [ " ", "N" ] + } ] + } ] + }, { + "value" : [ " " ] + }, { + "r" : "240", + "s" : [ { + "value" : [ "return " ] + }, { + "r" : "241", + "s" : [ { + "value" : [ "N" ] } ] - } + } ] + } ] } ] - } ] - }, - "contexts" : { - "def" : [ { - "localId" : "211", - "name" : "Patient" - } ] - }, - "statements" : { - "def" : [ { - "localId" : "209", - "name" : "Patient", - "context" : "Patient", + } + } ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "247", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "248", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "expression" : { + "type" : "Query", + "localId" : "244", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "245", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "246", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "source" : [ { + "localId" : "215", + "alias" : "N", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "237", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "238", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, "expression" : { - "localId" : "210", - "type" : "SingletonFrom", - "signature" : [ ], - "operand" : { - "localId" : "208", - "dataType" : "{https://github.com/cqframework/cql-execution/simple}Patient", - "type" : "Retrieve", - "include" : [ ], - "codeFilter" : [ ], - "dateFilter" : [ ], - "otherFilter" : [ ] - } + "type" : "List", + "localId" : "216", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "235", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "236", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "element" : [ { + "type" : "Literal", + "localId" : "217", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "218", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "219", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "220", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "221", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "222", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "223", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "4", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "224", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "4", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "225", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "4", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "226", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "4", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "227", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "228", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "229", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "230", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "231", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "232", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + } ] + } + } ], + "let" : [ ], + "relationship" : [ ], + "return" : { + "localId" : "240", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "242", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "243", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "expression" : { + "type" : "AliasRef", + "localId" : "241", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "name" : "N", + "annotation" : [ ] } - }, { - "localId" : "214", - "name" : "defaultNumbers", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "214", + } + } + }, { + "localId" : "251", + "name" : "defaultStrings", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "251", + "s" : [ { + "value" : [ "", "define ", "defaultStrings", ": " ] + }, { + "r" : "273", + "s" : [ { + "s" : [ { + "r" : "252", "s" : [ { - "value" : [ "","define ","defaultNumbers",": " ] - }, { - "r" : "244", - "s" : [ { + "r" : "253", + "s" : [ { + "value" : [ "(" ] + }, { + "r" : "253", + "s" : [ { + "value" : [ "{" ] + }, { + "r" : "254", "s" : [ { - "r" : "215", - "s" : [ { - "r" : "216", - "s" : [ { - "value" : [ "(" ] - }, { - "r" : "216", - "s" : [ { - "r" : "217", - "value" : [ "{","1",", ","2",", ","2",", ","3",", ","3",", ","3",", ","4",", ","4",", ","4",", ","4",", ","3",", ","3",", ","3",", ","2",", ","2",", ","1","}" ] - } ] - }, { - "value" : [ ")" ] - } ] - }, { - "value" : [ " ","N" ] - } ] + "value" : [ "'foo'" ] } ] - }, { - "value" : [ " " ] - }, { - "r" : "240", + }, { + "value" : [ ", " ] + }, { + "r" : "256", "s" : [ { - "value" : [ "return " ] - }, { - "r" : "241", - "s" : [ { - "value" : [ "N" ] - } ] + "value" : [ "'bar'" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "258", + "s" : [ { + "value" : [ "'baz'" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "260", + "s" : [ { + "value" : [ "'bar'" ] } ] - } ] + }, { + "value" : [ "}" ] + } ] + }, { + "value" : [ ")" ] + } ] + }, { + "value" : [ " ", "S" ] } ] - } - } ], + } ] + }, { + "value" : [ " " ] + }, { + "r" : "269", + "s" : [ { + "value" : [ "return " ] + }, { + "r" : "270", + "s" : [ { + "value" : [ "S" ] + } ] + } ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "276", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "277", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } + }, + "expression" : { + "type" : "Query", + "localId" : "273", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "274", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "275", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } + }, + "source" : [ { + "localId" : "252", + "alias" : "S", + "annotation" : [ ], "resultTypeSpecifier" : { - "localId" : "247", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "248", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } + "type" : "ListTypeSpecifier", + "localId" : "266", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "267", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } }, "expression" : { - "localId" : "244", - "type" : "Query", - "resultTypeSpecifier" : { - "localId" : "245", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "246", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "source" : [ { - "localId" : "215", - "alias" : "N", - "resultTypeSpecifier" : { - "localId" : "237", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "238", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "expression" : { - "localId" : "216", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "235", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "236", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "element" : [ { - "localId" : "217", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, { - "localId" : "218", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal" - }, { - "localId" : "219", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal" - }, { - "localId" : "220", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, { - "localId" : "221", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, { - "localId" : "222", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, { - "localId" : "223", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "4", - "type" : "Literal" - }, { - "localId" : "224", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "4", - "type" : "Literal" - }, { - "localId" : "225", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "4", - "type" : "Literal" - }, { - "localId" : "226", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "4", - "type" : "Literal" - }, { - "localId" : "227", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, { - "localId" : "228", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, { - "localId" : "229", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, { - "localId" : "230", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal" - }, { - "localId" : "231", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal" - }, { - "localId" : "232", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - } ] - } - } ], - "let" : [ ], - "relationship" : [ ], - "return" : { - "localId" : "240", - "resultTypeSpecifier" : { - "localId" : "242", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "243", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "expression" : { - "localId" : "241", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "name" : "N", - "type" : "AliasRef" - } - } + "type" : "List", + "localId" : "253", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "264", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "265", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } + }, + "element" : [ { + "type" : "Literal", + "localId" : "254", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "foo", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "256", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "bar", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "258", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "baz", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "260", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "bar", + "annotation" : [ ] + } ] + } + } ], + "let" : [ ], + "relationship" : [ ], + "return" : { + "localId" : "269", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "271", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "272", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } + }, + "expression" : { + "type" : "AliasRef", + "localId" : "270", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "name" : "S", + "annotation" : [ ] } - }, { - "localId" : "251", - "name" : "defaultStrings", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "251", + } + } + }, { + "localId" : "280", + "name" : "defaultTuples", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "280", + "s" : [ { + "value" : [ "", "define ", "defaultTuples", ": " ] + }, { + "r" : "339", + "s" : [ { + "s" : [ { + "r" : "281", "s" : [ { - "value" : [ "","define ","defaultStrings",": " ] - }, { - "r" : "273", - "s" : [ { + "r" : "282", + "s" : [ { + "value" : [ "(" ] + }, { + "r" : "282", + "s" : [ { + "value" : [ "{" ] + }, { + "r" : "283", "s" : [ { - "r" : "252", - "s" : [ { - "r" : "253", - "s" : [ { - "value" : [ "(" ] - }, { - "r" : "253", - "s" : [ { - "value" : [ "{" ] - }, { - "r" : "254", - "s" : [ { - "value" : [ "'foo'" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "256", - "s" : [ { - "value" : [ "'bar'" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "258", - "s" : [ { - "value" : [ "'baz'" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "260", - "s" : [ { - "value" : [ "'bar'" ] - } ] - }, { - "value" : [ "}" ] - } ] - }, { - "value" : [ ")" ] - } ] - }, { - "value" : [ " ","S" ] - } ] + "value" : [ "Tuple{" ] + }, { + "s" : [ { + "r" : "284", + "value" : [ "a", ": ", "1" ] + } ] + }, { + "value" : [ ", " ] + }, { + "s" : [ { + "r" : "285", + "value" : [ "b", ":", "2" ] + } ] + }, { + "value" : [ "}" ] } ] - }, { - "value" : [ " " ] - }, { - "r" : "269", + }, { + "value" : [ ", " ] + }, { + "r" : "291", + "s" : [ { + "value" : [ "Tuple{" ] + }, { + "s" : [ { + "r" : "292", + "value" : [ "a", ": ", "2" ] + } ] + }, { + "value" : [ ", " ] + }, { + "s" : [ { + "r" : "293", + "value" : [ "b", ": ", "3" ] + } ] + }, { + "value" : [ "}" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "299", "s" : [ { - "value" : [ "return " ] + "value" : [ "Tuple{" ] + }, { + "s" : [ { + "r" : "300", + "value" : [ "a", ": ", "1" ] + } ] + }, { + "value" : [ ", " ] }, { - "r" : "270", - "s" : [ { - "value" : [ "S" ] - } ] + "s" : [ { + "r" : "301", + "value" : [ "b", ": ", "2" ] + } ] + }, { + "value" : [ "}" ] } ] - } ] + }, { + "value" : [ "}" ] + } ] + }, { + "value" : [ ")" ] + } ] + }, { + "value" : [ " ", "T" ] } ] - } - } ], + } ] + }, { + "value" : [ " " ] + }, { + "r" : "326", + "s" : [ { + "value" : [ "return " ] + }, { + "r" : "327", + "s" : [ { + "value" : [ "T" ] + } ] + } ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "346", + "annotation" : [ ], + "elementType" : { + "type" : "TupleTypeSpecifier", + "localId" : "347", + "annotation" : [ ], + "element" : [ { + "localId" : "348", + "name" : "a", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "349", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, { + "localId" : "350", + "name" : "b", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "351", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } ] + } + }, + "expression" : { + "type" : "Query", + "localId" : "339", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "340", + "annotation" : [ ], + "elementType" : { + "type" : "TupleTypeSpecifier", + "localId" : "341", + "annotation" : [ ], + "element" : [ { + "localId" : "342", + "name" : "a", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "343", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, { + "localId" : "344", + "name" : "b", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "345", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } ] + } + }, + "source" : [ { + "localId" : "281", + "alias" : "T", + "annotation" : [ ], "resultTypeSpecifier" : { - "localId" : "276", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "277", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } - }, - "expression" : { - "localId" : "273", - "type" : "Query", - "resultTypeSpecifier" : { - "localId" : "274", - "type" : "ListTypeSpecifier", + "type" : "ListTypeSpecifier", + "localId" : "319", + "annotation" : [ ], + "elementType" : { + "type" : "TupleTypeSpecifier", + "localId" : "320", + "annotation" : [ ], + "element" : [ { + "localId" : "321", + "name" : "a", + "annotation" : [ ], "elementType" : { - "localId" : "275", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" + "type" : "NamedTypeSpecifier", + "localId" : "322", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] } - }, - "source" : [ { - "localId" : "252", - "alias" : "S", - "resultTypeSpecifier" : { - "localId" : "266", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "267", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } - }, - "expression" : { - "localId" : "253", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "264", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "265", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } - }, - "element" : [ { - "localId" : "254", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "foo", - "type" : "Literal" - }, { - "localId" : "256", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "bar", - "type" : "Literal" - }, { - "localId" : "258", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "baz", - "type" : "Literal" - }, { - "localId" : "260", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "bar", - "type" : "Literal" - } ] + }, { + "localId" : "323", + "name" : "b", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "324", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] } - } ], - "let" : [ ], - "relationship" : [ ], - "return" : { - "localId" : "269", - "resultTypeSpecifier" : { - "localId" : "271", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "272", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } - }, - "expression" : { - "localId" : "270", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "name" : "S", - "type" : "AliasRef" + } ] + } + }, + "expression" : { + "type" : "List", + "localId" : "282", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "313", + "annotation" : [ ], + "elementType" : { + "type" : "TupleTypeSpecifier", + "localId" : "314", + "annotation" : [ ], + "element" : [ { + "localId" : "315", + "name" : "a", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "316", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, { + "localId" : "317", + "name" : "b", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "318", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } ] + } + }, + "element" : [ { + "type" : "Tuple", + "localId" : "283", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "TupleTypeSpecifier", + "localId" : "286", + "annotation" : [ ], + "element" : [ { + "localId" : "287", + "name" : "a", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "288", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, { + "localId" : "289", + "name" : "b", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "290", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } ] + }, + "element" : [ { + "name" : "a", + "value" : { + "type" : "Literal", + "localId" : "284", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] } - } - } - }, { - "localId" : "280", - "name" : "defaultTuples", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "280", - "s" : [ { - "value" : [ "","define ","defaultTuples",": " ] + }, { + "name" : "b", + "value" : { + "type" : "Literal", + "localId" : "285", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "annotation" : [ ] + } + } ] + }, { + "type" : "Tuple", + "localId" : "291", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "TupleTypeSpecifier", + "localId" : "294", + "annotation" : [ ], + "element" : [ { + "localId" : "295", + "name" : "a", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "296", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } }, { - "r" : "339", - "s" : [ { - "s" : [ { - "r" : "281", - "s" : [ { - "r" : "282", - "s" : [ { - "value" : [ "(" ] - }, { - "r" : "282", - "s" : [ { - "value" : [ "{" ] - }, { - "r" : "283", - "s" : [ { - "value" : [ "Tuple{" ] - }, { - "s" : [ { - "r" : "284", - "value" : [ "a",": ","1" ] - } ] - }, { - "value" : [ ", " ] - }, { - "s" : [ { - "r" : "285", - "value" : [ "b",":","2" ] - } ] - }, { - "value" : [ "}" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "291", - "s" : [ { - "value" : [ "Tuple{" ] - }, { - "s" : [ { - "r" : "292", - "value" : [ "a",": ","2" ] - } ] - }, { - "value" : [ ", " ] - }, { - "s" : [ { - "r" : "293", - "value" : [ "b",": ","3" ] - } ] - }, { - "value" : [ "}" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "299", - "s" : [ { - "value" : [ "Tuple{" ] - }, { - "s" : [ { - "r" : "300", - "value" : [ "a",": ","1" ] - } ] - }, { - "value" : [ ", " ] - }, { - "s" : [ { - "r" : "301", - "value" : [ "b",": ","2" ] - } ] - }, { - "value" : [ "}" ] - } ] - }, { - "value" : [ "}" ] - } ] - }, { - "value" : [ ")" ] - } ] - }, { - "value" : [ " ","T" ] - } ] - } ] - }, { - "value" : [ " " ] - }, { - "r" : "326", - "s" : [ { - "value" : [ "return " ] - }, { - "r" : "327", - "s" : [ { - "value" : [ "T" ] - } ] - } ] - } ] + "localId" : "297", + "name" : "b", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "298", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } } ] - } - } ], - "resultTypeSpecifier" : { - "localId" : "346", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "347", + }, + "element" : [ { + "name" : "a", + "value" : { + "type" : "Literal", + "localId" : "292", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "annotation" : [ ] + } + }, { + "name" : "b", + "value" : { + "type" : "Literal", + "localId" : "293", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + } + } ] + }, { + "type" : "Tuple", + "localId" : "299", + "annotation" : [ ], + "resultTypeSpecifier" : { "type" : "TupleTypeSpecifier", + "localId" : "302", + "annotation" : [ ], "element" : [ { - "localId" : "348", - "name" : "a", - "elementType" : { - "localId" : "349", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } + "localId" : "303", + "name" : "a", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "304", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } }, { - "localId" : "350", - "name" : "b", - "elementType" : { - "localId" : "351", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } + "localId" : "305", + "name" : "b", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "306", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } } ] - } + }, + "element" : [ { + "name" : "a", + "value" : { + "type" : "Literal", + "localId" : "300", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + } + }, { + "name" : "b", + "value" : { + "type" : "Literal", + "localId" : "301", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "annotation" : [ ] + } + } ] + } ] + } + } ], + "let" : [ ], + "relationship" : [ ], + "return" : { + "localId" : "326", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "333", + "annotation" : [ ], + "elementType" : { + "type" : "TupleTypeSpecifier", + "localId" : "334", + "annotation" : [ ], + "element" : [ { + "localId" : "335", + "name" : "a", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "336", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, { + "localId" : "337", + "name" : "b", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "338", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } ] + } }, "expression" : { - "localId" : "339", - "type" : "Query", - "resultTypeSpecifier" : { - "localId" : "340", - "type" : "ListTypeSpecifier", + "type" : "AliasRef", + "localId" : "327", + "name" : "T", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "TupleTypeSpecifier", + "localId" : "328", + "annotation" : [ ], + "element" : [ { + "localId" : "329", + "name" : "a", + "annotation" : [ ], "elementType" : { - "localId" : "341", - "type" : "TupleTypeSpecifier", - "element" : [ { - "localId" : "342", - "name" : "a", - "elementType" : { - "localId" : "343", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "344", - "name" : "b", - "elementType" : { - "localId" : "345", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } ] - } - }, - "source" : [ { - "localId" : "281", - "alias" : "T", - "resultTypeSpecifier" : { - "localId" : "319", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "320", - "type" : "TupleTypeSpecifier", - "element" : [ { - "localId" : "321", - "name" : "a", - "elementType" : { - "localId" : "322", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "323", - "name" : "b", - "elementType" : { - "localId" : "324", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } ] - } - }, - "expression" : { - "localId" : "282", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "313", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "314", - "type" : "TupleTypeSpecifier", - "element" : [ { - "localId" : "315", - "name" : "a", - "elementType" : { - "localId" : "316", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "317", - "name" : "b", - "elementType" : { - "localId" : "318", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } ] - } - }, - "element" : [ { - "localId" : "283", - "type" : "Tuple", - "resultTypeSpecifier" : { - "localId" : "286", - "type" : "TupleTypeSpecifier", - "element" : [ { - "localId" : "287", - "name" : "a", - "elementType" : { - "localId" : "288", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "289", - "name" : "b", - "elementType" : { - "localId" : "290", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } ] - }, - "element" : [ { - "name" : "a", - "value" : { - "localId" : "284", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - } - }, { - "name" : "b", - "value" : { - "localId" : "285", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal" - } - } ] - }, { - "localId" : "291", - "type" : "Tuple", - "resultTypeSpecifier" : { - "localId" : "294", - "type" : "TupleTypeSpecifier", - "element" : [ { - "localId" : "295", - "name" : "a", - "elementType" : { - "localId" : "296", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "297", - "name" : "b", - "elementType" : { - "localId" : "298", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } ] - }, - "element" : [ { - "name" : "a", - "value" : { - "localId" : "292", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal" - } - }, { - "name" : "b", - "value" : { - "localId" : "293", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - } - } ] - }, { - "localId" : "299", - "type" : "Tuple", - "resultTypeSpecifier" : { - "localId" : "302", - "type" : "TupleTypeSpecifier", - "element" : [ { - "localId" : "303", - "name" : "a", - "elementType" : { - "localId" : "304", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "305", - "name" : "b", - "elementType" : { - "localId" : "306", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } ] - }, - "element" : [ { - "name" : "a", - "value" : { - "localId" : "300", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - } - }, { - "name" : "b", - "value" : { - "localId" : "301", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal" - } - } ] - } ] + "type" : "NamedTypeSpecifier", + "localId" : "330", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] } - } ], - "let" : [ ], - "relationship" : [ ], - "return" : { - "localId" : "326", - "resultTypeSpecifier" : { - "localId" : "333", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "334", - "type" : "TupleTypeSpecifier", - "element" : [ { - "localId" : "335", - "name" : "a", - "elementType" : { - "localId" : "336", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "337", - "name" : "b", - "elementType" : { - "localId" : "338", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } ] - } - }, - "expression" : { - "localId" : "327", - "name" : "T", - "type" : "AliasRef", - "resultTypeSpecifier" : { - "localId" : "328", - "type" : "TupleTypeSpecifier", - "element" : [ { - "localId" : "329", - "name" : "a", - "elementType" : { - "localId" : "330", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "331", - "name" : "b", - "elementType" : { - "localId" : "332", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } ] - } + }, { + "localId" : "331", + "name" : "b", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "332", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] } - } + } ] + } } - }, { - "localId" : "354", - "name" : "distinctNumbers", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "354", + } + } + }, { + "localId" : "354", + "name" : "distinctNumbers", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "354", + "s" : [ { + "value" : [ "", "define ", "distinctNumbers", ": " ] + }, { + "r" : "384", + "s" : [ { + "s" : [ { + "r" : "355", "s" : [ { - "value" : [ "","define ","distinctNumbers",": " ] + "r" : "356", + "s" : [ { + "value" : [ "(" ] + }, { + "r" : "356", + "s" : [ { + "r" : "357", + "value" : [ "{", "1", ", ", "2", ", ", "2", ", ", "3", ", ", "3", ", ", "3", ", ", "4", ", ", "4", ", ", "4", ", ", "4", ", ", "3", ", ", "3", ", ", "3", ", ", "2", ", ", "2", ", ", "1", "}" ] + } ] + }, { + "value" : [ ")" ] + } ] }, { - "r" : "384", - "s" : [ { - "s" : [ { - "r" : "355", - "s" : [ { - "r" : "356", - "s" : [ { - "value" : [ "(" ] - }, { - "r" : "356", - "s" : [ { - "r" : "357", - "value" : [ "{","1",", ","2",", ","2",", ","3",", ","3",", ","3",", ","4",", ","4",", ","4",", ","4",", ","3",", ","3",", ","3",", ","2",", ","2",", ","1","}" ] - } ] - }, { - "value" : [ ")" ] - } ] - }, { - "value" : [ " ","N" ] - } ] - } ] - }, { - "value" : [ " " ] - }, { - "r" : "380", - "s" : [ { - "value" : [ "return distinct " ] - }, { - "r" : "381", - "s" : [ { - "value" : [ "N" ] - } ] - } ] - } ] + "value" : [ " ", "N" ] } ] - } - } ], + } ] + }, { + "value" : [ " " ] + }, { + "r" : "380", + "s" : [ { + "value" : [ "return distinct " ] + }, { + "r" : "381", + "s" : [ { + "value" : [ "N" ] + } ] + } ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "387", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "388", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "expression" : { + "type" : "Query", + "localId" : "384", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "385", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "386", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "source" : [ { + "localId" : "355", + "alias" : "N", + "annotation" : [ ], "resultTypeSpecifier" : { - "localId" : "387", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "388", + "type" : "ListTypeSpecifier", + "localId" : "377", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "378", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "expression" : { + "type" : "List", + "localId" : "356", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "375", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "376", "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } + "annotation" : [ ] + } + }, + "element" : [ { + "type" : "Literal", + "localId" : "357", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "358", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "359", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "360", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "361", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "362", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "363", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "4", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "364", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "4", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "365", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "4", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "366", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "4", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "367", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "368", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "369", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "370", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "371", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "372", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + } ] + } + } ], + "let" : [ ], + "relationship" : [ ], + "return" : { + "localId" : "380", + "distinct" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "382", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "383", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } }, "expression" : { - "localId" : "384", - "type" : "Query", - "resultTypeSpecifier" : { - "localId" : "385", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "386", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "source" : [ { - "localId" : "355", - "alias" : "N", - "resultTypeSpecifier" : { - "localId" : "377", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "378", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "expression" : { - "localId" : "356", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "375", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "376", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "element" : [ { - "localId" : "357", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, { - "localId" : "358", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal" - }, { - "localId" : "359", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal" - }, { - "localId" : "360", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, { - "localId" : "361", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, { - "localId" : "362", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, { - "localId" : "363", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "4", - "type" : "Literal" - }, { - "localId" : "364", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "4", - "type" : "Literal" - }, { - "localId" : "365", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "4", - "type" : "Literal" - }, { - "localId" : "366", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "4", - "type" : "Literal" - }, { - "localId" : "367", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, { - "localId" : "368", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, { - "localId" : "369", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, { - "localId" : "370", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal" - }, { - "localId" : "371", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal" - }, { - "localId" : "372", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - } ] - } - } ], - "let" : [ ], - "relationship" : [ ], - "return" : { - "localId" : "380", - "distinct" : true, - "resultTypeSpecifier" : { - "localId" : "382", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "383", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "expression" : { - "localId" : "381", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "name" : "N", - "type" : "AliasRef" - } - } + "type" : "AliasRef", + "localId" : "381", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "name" : "N", + "annotation" : [ ] } - }, { - "localId" : "391", - "name" : "distinctStrings", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "391", + } + } + }, { + "localId" : "391", + "name" : "distinctStrings", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "391", + "s" : [ { + "value" : [ "", "define ", "distinctStrings", ": " ] + }, { + "r" : "413", + "s" : [ { + "s" : [ { + "r" : "392", "s" : [ { - "value" : [ "","define ","distinctStrings",": " ] - }, { - "r" : "413", - "s" : [ { + "r" : "393", + "s" : [ { + "value" : [ "(" ] + }, { + "r" : "393", + "s" : [ { + "value" : [ "{" ] + }, { + "r" : "394", "s" : [ { - "r" : "392", - "s" : [ { - "r" : "393", - "s" : [ { - "value" : [ "(" ] - }, { - "r" : "393", - "s" : [ { - "value" : [ "{" ] - }, { - "r" : "394", - "s" : [ { - "value" : [ "'foo'" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "396", - "s" : [ { - "value" : [ "'bar'" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "398", - "s" : [ { - "value" : [ "'baz'" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "400", - "s" : [ { - "value" : [ "'bar'" ] - } ] - }, { - "value" : [ "}" ] - } ] - }, { - "value" : [ ")" ] - } ] - }, { - "value" : [ " ","S" ] - } ] + "value" : [ "'foo'" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "396", + "s" : [ { + "value" : [ "'bar'" ] } ] - }, { - "value" : [ " " ] - }, { - "r" : "409", + }, { + "value" : [ ", " ] + }, { + "r" : "398", "s" : [ { - "value" : [ "return distinct " ] - }, { - "r" : "410", - "s" : [ { - "value" : [ "S" ] - } ] + "value" : [ "'baz'" ] } ] - } ] + }, { + "value" : [ ", " ] + }, { + "r" : "400", + "s" : [ { + "value" : [ "'bar'" ] + } ] + }, { + "value" : [ "}" ] + } ] + }, { + "value" : [ ")" ] + } ] + }, { + "value" : [ " ", "S" ] } ] - } - } ], + } ] + }, { + "value" : [ " " ] + }, { + "r" : "409", + "s" : [ { + "value" : [ "return distinct " ] + }, { + "r" : "410", + "s" : [ { + "value" : [ "S" ] + } ] + } ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "416", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "417", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } + }, + "expression" : { + "type" : "Query", + "localId" : "413", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "414", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "415", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } + }, + "source" : [ { + "localId" : "392", + "alias" : "S", + "annotation" : [ ], "resultTypeSpecifier" : { - "localId" : "416", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "417", + "type" : "ListTypeSpecifier", + "localId" : "406", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "407", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } + }, + "expression" : { + "type" : "List", + "localId" : "393", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "404", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "405", "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } + "annotation" : [ ] + } + }, + "element" : [ { + "type" : "Literal", + "localId" : "394", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "foo", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "396", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "bar", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "398", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "baz", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "400", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "bar", + "annotation" : [ ] + } ] + } + } ], + "let" : [ ], + "relationship" : [ ], + "return" : { + "localId" : "409", + "distinct" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "411", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "412", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } }, "expression" : { - "localId" : "413", - "type" : "Query", - "resultTypeSpecifier" : { - "localId" : "414", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "415", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } - }, - "source" : [ { - "localId" : "392", - "alias" : "S", - "resultTypeSpecifier" : { - "localId" : "406", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "407", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } - }, - "expression" : { - "localId" : "393", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "404", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "405", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } - }, - "element" : [ { - "localId" : "394", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "foo", - "type" : "Literal" - }, { - "localId" : "396", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "bar", - "type" : "Literal" - }, { - "localId" : "398", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "baz", - "type" : "Literal" - }, { - "localId" : "400", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "bar", - "type" : "Literal" - } ] - } - } ], - "let" : [ ], - "relationship" : [ ], - "return" : { - "localId" : "409", - "distinct" : true, - "resultTypeSpecifier" : { - "localId" : "411", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "412", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } - }, - "expression" : { - "localId" : "410", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "name" : "S", - "type" : "AliasRef" - } - } + "type" : "AliasRef", + "localId" : "410", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "name" : "S", + "annotation" : [ ] } - }, { - "localId" : "420", - "name" : "distinctTuples", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "420", + } + } + }, { + "localId" : "420", + "name" : "distinctTuples", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "420", + "s" : [ { + "value" : [ "", "define ", "distinctTuples", ": " ] + }, { + "r" : "479", + "s" : [ { + "s" : [ { + "r" : "421", "s" : [ { - "value" : [ "","define ","distinctTuples",": " ] - }, { - "r" : "479", - "s" : [ { + "r" : "422", + "s" : [ { + "value" : [ "(" ] + }, { + "r" : "422", + "s" : [ { + "value" : [ "{" ] + }, { + "r" : "423", "s" : [ { - "r" : "421", - "s" : [ { - "r" : "422", - "s" : [ { - "value" : [ "(" ] - }, { - "r" : "422", - "s" : [ { - "value" : [ "{" ] - }, { - "r" : "423", - "s" : [ { - "value" : [ "Tuple{" ] - }, { - "s" : [ { - "r" : "424", - "value" : [ "a",": ","1" ] - } ] - }, { - "value" : [ ", " ] - }, { - "s" : [ { - "r" : "425", - "value" : [ "b",":","2" ] - } ] - }, { - "value" : [ "}" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "431", - "s" : [ { - "value" : [ "Tuple{" ] - }, { - "s" : [ { - "r" : "432", - "value" : [ "a",": ","2" ] - } ] - }, { - "value" : [ ", " ] - }, { - "s" : [ { - "r" : "433", - "value" : [ "b",": ","3" ] - } ] - }, { - "value" : [ "}" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "439", - "s" : [ { - "value" : [ "Tuple{" ] - }, { - "s" : [ { - "r" : "440", - "value" : [ "a",": ","1" ] - } ] - }, { - "value" : [ ", " ] - }, { - "s" : [ { - "r" : "441", - "value" : [ "b",": ","2" ] - } ] - }, { - "value" : [ "}" ] - } ] - }, { - "value" : [ "}" ] - } ] - }, { - "value" : [ ")" ] - } ] - }, { - "value" : [ " ","T" ] - } ] + "value" : [ "Tuple{" ] + }, { + "s" : [ { + "r" : "424", + "value" : [ "a", ": ", "1" ] + } ] + }, { + "value" : [ ", " ] + }, { + "s" : [ { + "r" : "425", + "value" : [ "b", ":", "2" ] + } ] + }, { + "value" : [ "}" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "431", + "s" : [ { + "value" : [ "Tuple{" ] + }, { + "s" : [ { + "r" : "432", + "value" : [ "a", ": ", "2" ] + } ] + }, { + "value" : [ ", " ] + }, { + "s" : [ { + "r" : "433", + "value" : [ "b", ": ", "3" ] + } ] + }, { + "value" : [ "}" ] } ] - }, { - "value" : [ " " ] - }, { - "r" : "466", + }, { + "value" : [ ", " ] + }, { + "r" : "439", "s" : [ { - "value" : [ "return distinct " ] + "value" : [ "Tuple{" ] }, { - "r" : "467", - "s" : [ { - "value" : [ "T" ] - } ] + "s" : [ { + "r" : "440", + "value" : [ "a", ": ", "1" ] + } ] + }, { + "value" : [ ", " ] + }, { + "s" : [ { + "r" : "441", + "value" : [ "b", ": ", "2" ] + } ] + }, { + "value" : [ "}" ] } ] - } ] + }, { + "value" : [ "}" ] + } ] + }, { + "value" : [ ")" ] + } ] + }, { + "value" : [ " ", "T" ] } ] - } - } ], + } ] + }, { + "value" : [ " " ] + }, { + "r" : "466", + "s" : [ { + "value" : [ "return distinct " ] + }, { + "r" : "467", + "s" : [ { + "value" : [ "T" ] + } ] + } ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "486", + "annotation" : [ ], + "elementType" : { + "type" : "TupleTypeSpecifier", + "localId" : "487", + "annotation" : [ ], + "element" : [ { + "localId" : "488", + "name" : "a", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "489", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, { + "localId" : "490", + "name" : "b", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "491", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } ] + } + }, + "expression" : { + "type" : "Query", + "localId" : "479", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "480", + "annotation" : [ ], + "elementType" : { + "type" : "TupleTypeSpecifier", + "localId" : "481", + "annotation" : [ ], + "element" : [ { + "localId" : "482", + "name" : "a", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "483", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, { + "localId" : "484", + "name" : "b", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "485", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } ] + } + }, + "source" : [ { + "localId" : "421", + "alias" : "T", + "annotation" : [ ], "resultTypeSpecifier" : { - "localId" : "486", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "487", + "type" : "ListTypeSpecifier", + "localId" : "459", + "annotation" : [ ], + "elementType" : { + "type" : "TupleTypeSpecifier", + "localId" : "460", + "annotation" : [ ], + "element" : [ { + "localId" : "461", + "name" : "a", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "462", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, { + "localId" : "463", + "name" : "b", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "464", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } ] + } + }, + "expression" : { + "type" : "List", + "localId" : "422", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "453", + "annotation" : [ ], + "elementType" : { "type" : "TupleTypeSpecifier", + "localId" : "454", + "annotation" : [ ], "element" : [ { - "localId" : "488", - "name" : "a", - "elementType" : { - "localId" : "489", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } + "localId" : "455", + "name" : "a", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "456", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } }, { - "localId" : "490", - "name" : "b", - "elementType" : { - "localId" : "491", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } + "localId" : "457", + "name" : "b", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "458", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } } ] - } - }, - "expression" : { - "localId" : "479", - "type" : "Query", - "resultTypeSpecifier" : { - "localId" : "480", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "481", - "type" : "TupleTypeSpecifier", - "element" : [ { - "localId" : "482", - "name" : "a", - "elementType" : { - "localId" : "483", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "484", - "name" : "b", - "elementType" : { - "localId" : "485", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } ] + } + }, + "element" : [ { + "type" : "Tuple", + "localId" : "423", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "TupleTypeSpecifier", + "localId" : "426", + "annotation" : [ ], + "element" : [ { + "localId" : "427", + "name" : "a", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "428", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, { + "localId" : "429", + "name" : "b", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "430", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } ] + }, + "element" : [ { + "name" : "a", + "value" : { + "type" : "Literal", + "localId" : "424", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] } - }, - "source" : [ { - "localId" : "421", - "alias" : "T", - "resultTypeSpecifier" : { - "localId" : "459", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "460", - "type" : "TupleTypeSpecifier", - "element" : [ { - "localId" : "461", - "name" : "a", - "elementType" : { - "localId" : "462", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "463", - "name" : "b", - "elementType" : { - "localId" : "464", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } ] - } - }, - "expression" : { - "localId" : "422", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "453", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "454", - "type" : "TupleTypeSpecifier", - "element" : [ { - "localId" : "455", - "name" : "a", - "elementType" : { - "localId" : "456", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "457", - "name" : "b", - "elementType" : { - "localId" : "458", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } ] - } - }, - "element" : [ { - "localId" : "423", - "type" : "Tuple", - "resultTypeSpecifier" : { - "localId" : "426", - "type" : "TupleTypeSpecifier", - "element" : [ { - "localId" : "427", - "name" : "a", - "elementType" : { - "localId" : "428", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "429", - "name" : "b", - "elementType" : { - "localId" : "430", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } ] - }, - "element" : [ { - "name" : "a", - "value" : { - "localId" : "424", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - } - }, { - "name" : "b", - "value" : { - "localId" : "425", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal" - } - } ] - }, { - "localId" : "431", - "type" : "Tuple", - "resultTypeSpecifier" : { - "localId" : "434", - "type" : "TupleTypeSpecifier", - "element" : [ { - "localId" : "435", - "name" : "a", - "elementType" : { - "localId" : "436", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "437", - "name" : "b", - "elementType" : { - "localId" : "438", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } ] - }, - "element" : [ { - "name" : "a", - "value" : { - "localId" : "432", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal" - } - }, { - "name" : "b", - "value" : { - "localId" : "433", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - } - } ] - }, { - "localId" : "439", - "type" : "Tuple", - "resultTypeSpecifier" : { - "localId" : "442", - "type" : "TupleTypeSpecifier", - "element" : [ { - "localId" : "443", - "name" : "a", - "elementType" : { - "localId" : "444", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "445", - "name" : "b", - "elementType" : { - "localId" : "446", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } ] - }, - "element" : [ { - "name" : "a", - "value" : { - "localId" : "440", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - } - }, { - "name" : "b", - "value" : { - "localId" : "441", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal" - } - } ] - } ] + }, { + "name" : "b", + "value" : { + "type" : "Literal", + "localId" : "425", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "annotation" : [ ] } - } ], - "let" : [ ], - "relationship" : [ ], - "return" : { - "localId" : "466", - "distinct" : true, - "resultTypeSpecifier" : { - "localId" : "473", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "474", - "type" : "TupleTypeSpecifier", - "element" : [ { - "localId" : "475", - "name" : "a", - "elementType" : { - "localId" : "476", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "477", - "name" : "b", - "elementType" : { - "localId" : "478", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } ] - } - }, - "expression" : { - "localId" : "467", - "name" : "T", - "type" : "AliasRef", - "resultTypeSpecifier" : { - "localId" : "468", - "type" : "TupleTypeSpecifier", - "element" : [ { - "localId" : "469", - "name" : "a", - "elementType" : { - "localId" : "470", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "471", - "name" : "b", - "elementType" : { - "localId" : "472", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } ] - } + } ] + }, { + "type" : "Tuple", + "localId" : "431", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "TupleTypeSpecifier", + "localId" : "434", + "annotation" : [ ], + "element" : [ { + "localId" : "435", + "name" : "a", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "436", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, { + "localId" : "437", + "name" : "b", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "438", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } ] + }, + "element" : [ { + "name" : "a", + "value" : { + "type" : "Literal", + "localId" : "432", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "annotation" : [ ] } - } - } - }, { - "localId" : "494", - "name" : "allNumbers", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "494", - "s" : [ { - "value" : [ "","define ","allNumbers",": " ] + }, { + "name" : "b", + "value" : { + "type" : "Literal", + "localId" : "433", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + } + } ] + }, { + "type" : "Tuple", + "localId" : "439", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "TupleTypeSpecifier", + "localId" : "442", + "annotation" : [ ], + "element" : [ { + "localId" : "443", + "name" : "a", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "444", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } }, { - "r" : "524", - "s" : [ { - "s" : [ { - "r" : "495", - "s" : [ { - "r" : "496", - "s" : [ { - "value" : [ "(" ] - }, { - "r" : "496", - "s" : [ { - "r" : "497", - "value" : [ "{","1",", ","2",", ","2",", ","3",", ","3",", ","3",", ","4",", ","4",", ","4",", ","4",", ","3",", ","3",", ","3",", ","2",", ","2",", ","1","}" ] - } ] - }, { - "value" : [ ")" ] - } ] - }, { - "value" : [ " ","N" ] - } ] - } ] - }, { - "value" : [ " " ] - }, { - "r" : "520", - "s" : [ { - "value" : [ "return all " ] - }, { - "r" : "521", - "s" : [ { - "value" : [ "N" ] - } ] - } ] - } ] + "localId" : "445", + "name" : "b", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "446", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } } ] - } - } ], + }, + "element" : [ { + "name" : "a", + "value" : { + "type" : "Literal", + "localId" : "440", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + } + }, { + "name" : "b", + "value" : { + "type" : "Literal", + "localId" : "441", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "annotation" : [ ] + } + } ] + } ] + } + } ], + "let" : [ ], + "relationship" : [ ], + "return" : { + "localId" : "466", + "distinct" : true, + "annotation" : [ ], "resultTypeSpecifier" : { - "localId" : "527", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "528", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } + "type" : "ListTypeSpecifier", + "localId" : "473", + "annotation" : [ ], + "elementType" : { + "type" : "TupleTypeSpecifier", + "localId" : "474", + "annotation" : [ ], + "element" : [ { + "localId" : "475", + "name" : "a", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "476", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, { + "localId" : "477", + "name" : "b", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "478", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } ] + } }, "expression" : { - "localId" : "524", - "type" : "Query", - "resultTypeSpecifier" : { - "localId" : "525", - "type" : "ListTypeSpecifier", + "type" : "AliasRef", + "localId" : "467", + "name" : "T", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "TupleTypeSpecifier", + "localId" : "468", + "annotation" : [ ], + "element" : [ { + "localId" : "469", + "name" : "a", + "annotation" : [ ], "elementType" : { - "localId" : "526", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "source" : [ { - "localId" : "495", - "alias" : "N", - "resultTypeSpecifier" : { - "localId" : "517", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "518", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "expression" : { - "localId" : "496", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "515", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "516", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "element" : [ { - "localId" : "497", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, { - "localId" : "498", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal" - }, { - "localId" : "499", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal" - }, { - "localId" : "500", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, { - "localId" : "501", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, { - "localId" : "502", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, { - "localId" : "503", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "4", - "type" : "Literal" - }, { - "localId" : "504", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "4", - "type" : "Literal" - }, { - "localId" : "505", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "4", - "type" : "Literal" - }, { - "localId" : "506", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "4", - "type" : "Literal" - }, { - "localId" : "507", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, { - "localId" : "508", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, { - "localId" : "509", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, { - "localId" : "510", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal" - }, { - "localId" : "511", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal" - }, { - "localId" : "512", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - } ] + "type" : "NamedTypeSpecifier", + "localId" : "470", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] } - } ], - "let" : [ ], - "relationship" : [ ], - "return" : { - "localId" : "520", - "distinct" : false, - "resultTypeSpecifier" : { - "localId" : "522", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "523", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "expression" : { - "localId" : "521", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "name" : "N", - "type" : "AliasRef" + }, { + "localId" : "471", + "name" : "b", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "472", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] } - } + } ] + } } - }, { - "localId" : "531", - "name" : "allStrings", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "531", + } + } + }, { + "localId" : "494", + "name" : "allNumbers", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "494", + "s" : [ { + "value" : [ "", "define ", "allNumbers", ": " ] + }, { + "r" : "524", + "s" : [ { + "s" : [ { + "r" : "495", "s" : [ { - "value" : [ "","define ","allStrings",": " ] + "r" : "496", + "s" : [ { + "value" : [ "(" ] + }, { + "r" : "496", + "s" : [ { + "r" : "497", + "value" : [ "{", "1", ", ", "2", ", ", "2", ", ", "3", ", ", "3", ", ", "3", ", ", "4", ", ", "4", ", ", "4", ", ", "4", ", ", "3", ", ", "3", ", ", "3", ", ", "2", ", ", "2", ", ", "1", "}" ] + } ] + }, { + "value" : [ ")" ] + } ] }, { - "r" : "553", - "s" : [ { - "s" : [ { - "r" : "532", - "s" : [ { - "r" : "533", - "s" : [ { - "value" : [ "(" ] - }, { - "r" : "533", - "s" : [ { - "value" : [ "{" ] - }, { - "r" : "534", - "s" : [ { - "value" : [ "'foo'" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "536", - "s" : [ { - "value" : [ "'bar'" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "538", - "s" : [ { - "value" : [ "'baz'" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "540", - "s" : [ { - "value" : [ "'bar'" ] - } ] - }, { - "value" : [ "}" ] - } ] - }, { - "value" : [ ")" ] - } ] - }, { - "value" : [ " ","S" ] - } ] + "value" : [ " ", "N" ] + } ] + } ] + }, { + "value" : [ " " ] + }, { + "r" : "520", + "s" : [ { + "value" : [ "return all " ] + }, { + "r" : "521", + "s" : [ { + "value" : [ "N" ] + } ] + } ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "527", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "528", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "expression" : { + "type" : "Query", + "localId" : "524", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "525", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "526", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "source" : [ { + "localId" : "495", + "alias" : "N", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "517", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "518", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "expression" : { + "type" : "List", + "localId" : "496", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "515", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "516", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "element" : [ { + "type" : "Literal", + "localId" : "497", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "498", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "499", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "500", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "501", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "502", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "503", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "4", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "504", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "4", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "505", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "4", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "506", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "4", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "507", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "508", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "509", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "510", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "511", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "512", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + } ] + } + } ], + "let" : [ ], + "relationship" : [ ], + "return" : { + "localId" : "520", + "distinct" : false, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "522", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "523", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "expression" : { + "type" : "AliasRef", + "localId" : "521", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "name" : "N", + "annotation" : [ ] + } + } + } + }, { + "localId" : "531", + "name" : "allStrings", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "531", + "s" : [ { + "value" : [ "", "define ", "allStrings", ": " ] + }, { + "r" : "553", + "s" : [ { + "s" : [ { + "r" : "532", + "s" : [ { + "r" : "533", + "s" : [ { + "value" : [ "(" ] + }, { + "r" : "533", + "s" : [ { + "value" : [ "{" ] + }, { + "r" : "534", + "s" : [ { + "value" : [ "'foo'" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "536", + "s" : [ { + "value" : [ "'bar'" ] } ] - }, { - "value" : [ " " ] - }, { - "r" : "549", + }, { + "value" : [ ", " ] + }, { + "r" : "538", "s" : [ { - "value" : [ "return all " ] - }, { - "r" : "550", - "s" : [ { - "value" : [ "S" ] - } ] + "value" : [ "'baz'" ] } ] - } ] + }, { + "value" : [ ", " ] + }, { + "r" : "540", + "s" : [ { + "value" : [ "'bar'" ] + } ] + }, { + "value" : [ "}" ] + } ] + }, { + "value" : [ ")" ] + } ] + }, { + "value" : [ " ", "S" ] } ] - } - } ], + } ] + }, { + "value" : [ " " ] + }, { + "r" : "549", + "s" : [ { + "value" : [ "return all " ] + }, { + "r" : "550", + "s" : [ { + "value" : [ "S" ] + } ] + } ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "556", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "557", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } + }, + "expression" : { + "type" : "Query", + "localId" : "553", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "554", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "555", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } + }, + "source" : [ { + "localId" : "532", + "alias" : "S", + "annotation" : [ ], "resultTypeSpecifier" : { - "localId" : "556", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "557", + "type" : "ListTypeSpecifier", + "localId" : "546", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "547", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } + }, + "expression" : { + "type" : "List", + "localId" : "533", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "544", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "545", "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } + "annotation" : [ ] + } + }, + "element" : [ { + "type" : "Literal", + "localId" : "534", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "foo", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "536", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "bar", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "538", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "baz", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "540", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "bar", + "annotation" : [ ] + } ] + } + } ], + "let" : [ ], + "relationship" : [ ], + "return" : { + "localId" : "549", + "distinct" : false, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "551", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "552", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } }, "expression" : { - "localId" : "553", - "type" : "Query", - "resultTypeSpecifier" : { - "localId" : "554", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "555", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } - }, - "source" : [ { - "localId" : "532", - "alias" : "S", - "resultTypeSpecifier" : { - "localId" : "546", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "547", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } - }, - "expression" : { - "localId" : "533", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "544", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "545", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } - }, - "element" : [ { - "localId" : "534", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "foo", - "type" : "Literal" - }, { - "localId" : "536", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "bar", - "type" : "Literal" - }, { - "localId" : "538", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "baz", - "type" : "Literal" - }, { - "localId" : "540", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "bar", - "type" : "Literal" - } ] - } - } ], - "let" : [ ], - "relationship" : [ ], - "return" : { - "localId" : "549", - "distinct" : false, - "resultTypeSpecifier" : { - "localId" : "551", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "552", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } - }, - "expression" : { - "localId" : "550", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "name" : "S", - "type" : "AliasRef" - } - } + "type" : "AliasRef", + "localId" : "550", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "name" : "S", + "annotation" : [ ] } - }, { - "localId" : "560", - "name" : "allTuples", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "560", + } + } + }, { + "localId" : "560", + "name" : "allTuples", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "560", + "s" : [ { + "value" : [ "", "define ", "allTuples", ": " ] + }, { + "r" : "619", + "s" : [ { + "s" : [ { + "r" : "561", "s" : [ { - "value" : [ "","define ","allTuples",": " ] - }, { - "r" : "619", - "s" : [ { + "r" : "562", + "s" : [ { + "value" : [ "(" ] + }, { + "r" : "562", + "s" : [ { + "value" : [ "{" ] + }, { + "r" : "563", "s" : [ { - "r" : "561", - "s" : [ { - "r" : "562", - "s" : [ { - "value" : [ "(" ] - }, { - "r" : "562", - "s" : [ { - "value" : [ "{" ] - }, { - "r" : "563", - "s" : [ { - "value" : [ "Tuple{" ] - }, { - "s" : [ { - "r" : "564", - "value" : [ "a",": ","1" ] - } ] - }, { - "value" : [ ", " ] - }, { - "s" : [ { - "r" : "565", - "value" : [ "b",":","2" ] - } ] - }, { - "value" : [ "}" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "571", - "s" : [ { - "value" : [ "Tuple{" ] - }, { - "s" : [ { - "r" : "572", - "value" : [ "a",": ","2" ] - } ] - }, { - "value" : [ ", " ] - }, { - "s" : [ { - "r" : "573", - "value" : [ "b",": ","3" ] - } ] - }, { - "value" : [ "}" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "579", - "s" : [ { - "value" : [ "Tuple{" ] - }, { - "s" : [ { - "r" : "580", - "value" : [ "a",": ","1" ] - } ] - }, { - "value" : [ ", " ] - }, { - "s" : [ { - "r" : "581", - "value" : [ "b",": ","2" ] - } ] - }, { - "value" : [ "}" ] - } ] - }, { - "value" : [ "}" ] - } ] - }, { - "value" : [ ")" ] - } ] - }, { - "value" : [ " ","T" ] - } ] + "value" : [ "Tuple{" ] + }, { + "s" : [ { + "r" : "564", + "value" : [ "a", ": ", "1" ] + } ] + }, { + "value" : [ ", " ] + }, { + "s" : [ { + "r" : "565", + "value" : [ "b", ":", "2" ] + } ] + }, { + "value" : [ "}" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "571", + "s" : [ { + "value" : [ "Tuple{" ] + }, { + "s" : [ { + "r" : "572", + "value" : [ "a", ": ", "2" ] + } ] + }, { + "value" : [ ", " ] + }, { + "s" : [ { + "r" : "573", + "value" : [ "b", ": ", "3" ] + } ] + }, { + "value" : [ "}" ] } ] - }, { - "value" : [ " " ] - }, { - "r" : "606", + }, { + "value" : [ ", " ] + }, { + "r" : "579", "s" : [ { - "value" : [ "return all " ] + "value" : [ "Tuple{" ] + }, { + "s" : [ { + "r" : "580", + "value" : [ "a", ": ", "1" ] + } ] }, { - "r" : "607", - "s" : [ { - "value" : [ "T" ] - } ] + "value" : [ ", " ] + }, { + "s" : [ { + "r" : "581", + "value" : [ "b", ": ", "2" ] + } ] + }, { + "value" : [ "}" ] } ] - } ] + }, { + "value" : [ "}" ] + } ] + }, { + "value" : [ ")" ] + } ] + }, { + "value" : [ " ", "T" ] } ] - } - } ], + } ] + }, { + "value" : [ " " ] + }, { + "r" : "606", + "s" : [ { + "value" : [ "return all " ] + }, { + "r" : "607", + "s" : [ { + "value" : [ "T" ] + } ] + } ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "626", + "annotation" : [ ], + "elementType" : { + "type" : "TupleTypeSpecifier", + "localId" : "627", + "annotation" : [ ], + "element" : [ { + "localId" : "628", + "name" : "a", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "629", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, { + "localId" : "630", + "name" : "b", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "631", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } ] + } + }, + "expression" : { + "type" : "Query", + "localId" : "619", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "620", + "annotation" : [ ], + "elementType" : { + "type" : "TupleTypeSpecifier", + "localId" : "621", + "annotation" : [ ], + "element" : [ { + "localId" : "622", + "name" : "a", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "623", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, { + "localId" : "624", + "name" : "b", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "625", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } ] + } + }, + "source" : [ { + "localId" : "561", + "alias" : "T", + "annotation" : [ ], "resultTypeSpecifier" : { - "localId" : "626", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "627", + "type" : "ListTypeSpecifier", + "localId" : "599", + "annotation" : [ ], + "elementType" : { + "type" : "TupleTypeSpecifier", + "localId" : "600", + "annotation" : [ ], + "element" : [ { + "localId" : "601", + "name" : "a", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "602", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, { + "localId" : "603", + "name" : "b", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "604", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } ] + } + }, + "expression" : { + "type" : "List", + "localId" : "562", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "593", + "annotation" : [ ], + "elementType" : { + "type" : "TupleTypeSpecifier", + "localId" : "594", + "annotation" : [ ], + "element" : [ { + "localId" : "595", + "name" : "a", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "596", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, { + "localId" : "597", + "name" : "b", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "598", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } ] + } + }, + "element" : [ { + "type" : "Tuple", + "localId" : "563", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "TupleTypeSpecifier", + "localId" : "566", + "annotation" : [ ], + "element" : [ { + "localId" : "567", + "name" : "a", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "568", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, { + "localId" : "569", + "name" : "b", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "570", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } ] + }, + "element" : [ { + "name" : "a", + "value" : { + "type" : "Literal", + "localId" : "564", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + } + }, { + "name" : "b", + "value" : { + "type" : "Literal", + "localId" : "565", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "annotation" : [ ] + } + } ] + }, { + "type" : "Tuple", + "localId" : "571", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "TupleTypeSpecifier", + "localId" : "574", + "annotation" : [ ], + "element" : [ { + "localId" : "575", + "name" : "a", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "576", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, { + "localId" : "577", + "name" : "b", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "578", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } ] + }, + "element" : [ { + "name" : "a", + "value" : { + "type" : "Literal", + "localId" : "572", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "annotation" : [ ] + } + }, { + "name" : "b", + "value" : { + "type" : "Literal", + "localId" : "573", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + } + } ] + }, { + "type" : "Tuple", + "localId" : "579", + "annotation" : [ ], + "resultTypeSpecifier" : { "type" : "TupleTypeSpecifier", + "localId" : "582", + "annotation" : [ ], "element" : [ { - "localId" : "628", - "name" : "a", - "elementType" : { - "localId" : "629", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } + "localId" : "583", + "name" : "a", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "584", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } }, { - "localId" : "630", - "name" : "b", - "elementType" : { - "localId" : "631", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } + "localId" : "585", + "name" : "b", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "586", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } } ] - } + }, + "element" : [ { + "name" : "a", + "value" : { + "type" : "Literal", + "localId" : "580", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + } + }, { + "name" : "b", + "value" : { + "type" : "Literal", + "localId" : "581", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "annotation" : [ ] + } + } ] + } ] + } + } ], + "let" : [ ], + "relationship" : [ ], + "return" : { + "localId" : "606", + "distinct" : false, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "613", + "annotation" : [ ], + "elementType" : { + "type" : "TupleTypeSpecifier", + "localId" : "614", + "annotation" : [ ], + "element" : [ { + "localId" : "615", + "name" : "a", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "616", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, { + "localId" : "617", + "name" : "b", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "618", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } ] + } }, "expression" : { - "localId" : "619", - "type" : "Query", - "resultTypeSpecifier" : { - "localId" : "620", - "type" : "ListTypeSpecifier", + "type" : "AliasRef", + "localId" : "607", + "name" : "T", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "TupleTypeSpecifier", + "localId" : "608", + "annotation" : [ ], + "element" : [ { + "localId" : "609", + "name" : "a", + "annotation" : [ ], "elementType" : { - "localId" : "621", - "type" : "TupleTypeSpecifier", - "element" : [ { - "localId" : "622", - "name" : "a", - "elementType" : { - "localId" : "623", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "624", - "name" : "b", - "elementType" : { - "localId" : "625", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } ] - } - }, - "source" : [ { - "localId" : "561", - "alias" : "T", - "resultTypeSpecifier" : { - "localId" : "599", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "600", - "type" : "TupleTypeSpecifier", - "element" : [ { - "localId" : "601", - "name" : "a", - "elementType" : { - "localId" : "602", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "603", - "name" : "b", - "elementType" : { - "localId" : "604", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } ] - } - }, - "expression" : { - "localId" : "562", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "593", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "594", - "type" : "TupleTypeSpecifier", - "element" : [ { - "localId" : "595", - "name" : "a", - "elementType" : { - "localId" : "596", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "597", - "name" : "b", - "elementType" : { - "localId" : "598", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } ] - } - }, - "element" : [ { - "localId" : "563", - "type" : "Tuple", - "resultTypeSpecifier" : { - "localId" : "566", - "type" : "TupleTypeSpecifier", - "element" : [ { - "localId" : "567", - "name" : "a", - "elementType" : { - "localId" : "568", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "569", - "name" : "b", - "elementType" : { - "localId" : "570", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } ] - }, - "element" : [ { - "name" : "a", - "value" : { - "localId" : "564", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - } - }, { - "name" : "b", - "value" : { - "localId" : "565", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal" - } - } ] - }, { - "localId" : "571", - "type" : "Tuple", - "resultTypeSpecifier" : { - "localId" : "574", - "type" : "TupleTypeSpecifier", - "element" : [ { - "localId" : "575", - "name" : "a", - "elementType" : { - "localId" : "576", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "577", - "name" : "b", - "elementType" : { - "localId" : "578", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } ] - }, - "element" : [ { - "name" : "a", - "value" : { - "localId" : "572", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal" - } - }, { - "name" : "b", - "value" : { - "localId" : "573", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - } - } ] - }, { - "localId" : "579", - "type" : "Tuple", - "resultTypeSpecifier" : { - "localId" : "582", - "type" : "TupleTypeSpecifier", - "element" : [ { - "localId" : "583", - "name" : "a", - "elementType" : { - "localId" : "584", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "585", - "name" : "b", - "elementType" : { - "localId" : "586", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } ] - }, - "element" : [ { - "name" : "a", - "value" : { - "localId" : "580", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - } - }, { - "name" : "b", - "value" : { - "localId" : "581", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal" - } - } ] - } ] + "type" : "NamedTypeSpecifier", + "localId" : "610", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] } - } ], - "let" : [ ], - "relationship" : [ ], - "return" : { - "localId" : "606", - "distinct" : false, - "resultTypeSpecifier" : { - "localId" : "613", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "614", - "type" : "TupleTypeSpecifier", - "element" : [ { - "localId" : "615", - "name" : "a", - "elementType" : { - "localId" : "616", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "617", - "name" : "b", - "elementType" : { - "localId" : "618", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } ] - } - }, - "expression" : { - "localId" : "607", - "name" : "T", - "type" : "AliasRef", - "resultTypeSpecifier" : { - "localId" : "608", - "type" : "TupleTypeSpecifier", - "element" : [ { - "localId" : "609", - "name" : "a", - "elementType" : { - "localId" : "610", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "611", - "name" : "b", - "elementType" : { - "localId" : "612", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } ] - } + }, { + "localId" : "611", + "name" : "b", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "612", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] } - } + } ] + } } - } ] - } - } + } + } + } ] + } + } } /* SingleObjectAlias @@ -11923,2159 +13468,2415 @@ define singleAliasReturnList: firstEncounter E return {'foo', 'bar', 'baz', 'bar */ module.exports['SingleObjectAlias'] = { - "library" : { - "localId" : "0", - "annotation" : [ { - "translatorVersion" : "3.27.0", - "translatorOptions" : "EnableDateRangeOptimization,EnableAnnotations,EnableResultTypes", - "signatureLevel" : "All", - "type" : "CqlToElmInfo" + "library" : { + "localId" : "0", + "annotation" : [ { + "type" : "CqlToElmInfo", + "translatorVersion" : "4.2.0", + "translatorOptions" : "EnableDateRangeOptimization,EnableAnnotations,EnableResultTypes", + "signatureLevel" : "All" + }, { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "536", + "s" : [ { + "value" : [ "", "library TestSnippet version '1'" ] + } ] + } + } ], + "identifier" : { + "id" : "TestSnippet", + "version" : "1" + }, + "schemaIdentifier" : { + "id" : "urn:hl7-org:elm", + "version" : "r1" + }, + "usings" : { + "def" : [ { + "localId" : "1", + "localIdentifier" : "System", + "uri" : "urn:hl7-org:elm-types:r1", + "annotation" : [ ] }, { - "type" : "Annotation", - "s" : { - "r" : "536", + "localId" : "206", + "localIdentifier" : "Simple", + "uri" : "https://github.com/cqframework/cql-execution/simple", + "version" : "1.0.0", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "206", "s" : [ { - "value" : [ "","library TestSnippet version '1'" ] + "value" : [ "", "using " ] + }, { + "s" : [ { + "value" : [ "Simple" ] + } ] + }, { + "value" : [ " version '1.0.0'" ] } ] - } - } ], - "identifier" : { - "id" : "TestSnippet", - "version" : "1" - }, - "schemaIdentifier" : { - "id" : "urn:hl7-org:elm", - "version" : "r1" - }, - "usings" : { - "def" : [ { - "localId" : "1", - "localIdentifier" : "System", - "uri" : "urn:hl7-org:elm-types:r1" - }, { - "localId" : "206", - "localIdentifier" : "Simple", - "uri" : "https://github.com/cqframework/cql-execution/simple", - "version" : "1.0.0", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "206", + } + } ] + } ] + }, + "contexts" : { + "def" : [ { + "localId" : "211", + "name" : "Patient", + "annotation" : [ ] + } ] + }, + "statements" : { + "def" : [ { + "localId" : "209", + "name" : "Patient", + "context" : "Patient", + "annotation" : [ ], + "expression" : { + "type" : "SingletonFrom", + "localId" : "210", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Retrieve", + "localId" : "208", + "dataType" : "{https://github.com/cqframework/cql-execution/simple}Patient", + "annotation" : [ ], + "include" : [ ], + "codeFilter" : [ ], + "dateFilter" : [ ], + "otherFilter" : [ ] + } + } + }, { + "localId" : "214", + "name" : "encounters", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "214", + "s" : [ { + "value" : [ "", "define ", "encounters", ": " ] + }, { + "r" : "224", + "s" : [ { + "s" : [ { + "r" : "215", "s" : [ { - "value" : [ "","using " ] + "r" : "216", + "s" : [ { + "r" : "216", + "s" : [ { + "value" : [ "[", "Encounter", "]" ] + } ] + } ] }, { - "s" : [ { - "value" : [ "Simple" ] - } ] - }, { - "value" : [ " version '1.0.0'" ] + "value" : [ " ", "E" ] } ] - } + } ] + } ] } ] - } ] - }, - "contexts" : { - "def" : [ { - "localId" : "211", - "name" : "Patient" - } ] - }, - "statements" : { - "def" : [ { - "localId" : "209", - "name" : "Patient", - "context" : "Patient", + } + } ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "227", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "228", + "name" : "{https://github.com/cqframework/cql-execution/simple}Encounter", + "annotation" : [ ] + } + }, + "expression" : { + "type" : "Query", + "localId" : "224", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "225", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "226", + "name" : "{https://github.com/cqframework/cql-execution/simple}Encounter", + "annotation" : [ ] + } + }, + "source" : [ { + "localId" : "215", + "alias" : "E", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "221", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "222", + "name" : "{https://github.com/cqframework/cql-execution/simple}Encounter", + "annotation" : [ ] + } + }, "expression" : { - "localId" : "210", - "type" : "SingletonFrom", - "signature" : [ ], - "operand" : { - "localId" : "208", - "dataType" : "{https://github.com/cqframework/cql-execution/simple}Patient", - "type" : "Retrieve", - "include" : [ ], - "codeFilter" : [ ], - "dateFilter" : [ ], - "otherFilter" : [ ] - } + "type" : "Retrieve", + "localId" : "216", + "dataType" : "{https://github.com/cqframework/cql-execution/simple}Encounter", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "219", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "220", + "name" : "{https://github.com/cqframework/cql-execution/simple}Encounter", + "annotation" : [ ] + } + }, + "include" : [ ], + "codeFilter" : [ ], + "dateFilter" : [ ], + "otherFilter" : [ ] } - }, { - "localId" : "214", - "name" : "encounters", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "214", + } ], + "let" : [ ], + "relationship" : [ ] + } + }, { + "localId" : "231", + "name" : "conditions", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "231", + "s" : [ { + "value" : [ "", "define ", "conditions", ": " ] + }, { + "r" : "241", + "s" : [ { + "s" : [ { + "r" : "232", "s" : [ { - "value" : [ "","define ","encounters",": " ] + "r" : "233", + "s" : [ { + "r" : "233", + "s" : [ { + "value" : [ "[", "Condition", "]" ] + } ] + } ] }, { - "r" : "224", - "s" : [ { - "s" : [ { - "r" : "215", - "s" : [ { - "r" : "216", - "s" : [ { - "r" : "216", - "s" : [ { - "value" : [ "[","Encounter","]" ] - } ] - } ] - }, { - "value" : [ " ","E" ] - } ] - } ] - } ] + "value" : [ " ", "C" ] } ] - } - } ], + } ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "244", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "245", + "name" : "{https://github.com/cqframework/cql-execution/simple}Condition", + "annotation" : [ ] + } + }, + "expression" : { + "type" : "Query", + "localId" : "241", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "242", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "243", + "name" : "{https://github.com/cqframework/cql-execution/simple}Condition", + "annotation" : [ ] + } + }, + "source" : [ { + "localId" : "232", + "alias" : "C", + "annotation" : [ ], "resultTypeSpecifier" : { - "localId" : "227", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "228", - "name" : "{https://github.com/cqframework/cql-execution/simple}Encounter", - "type" : "NamedTypeSpecifier" - } + "type" : "ListTypeSpecifier", + "localId" : "238", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "239", + "name" : "{https://github.com/cqframework/cql-execution/simple}Condition", + "annotation" : [ ] + } }, "expression" : { - "localId" : "224", - "type" : "Query", - "resultTypeSpecifier" : { - "localId" : "225", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "226", - "name" : "{https://github.com/cqframework/cql-execution/simple}Encounter", - "type" : "NamedTypeSpecifier" - } - }, - "source" : [ { - "localId" : "215", - "alias" : "E", - "resultTypeSpecifier" : { - "localId" : "221", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "222", - "name" : "{https://github.com/cqframework/cql-execution/simple}Encounter", - "type" : "NamedTypeSpecifier" - } - }, - "expression" : { - "localId" : "216", - "dataType" : "{https://github.com/cqframework/cql-execution/simple}Encounter", - "type" : "Retrieve", - "resultTypeSpecifier" : { - "localId" : "219", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "220", - "name" : "{https://github.com/cqframework/cql-execution/simple}Encounter", - "type" : "NamedTypeSpecifier" - } - }, - "include" : [ ], - "codeFilter" : [ ], - "dateFilter" : [ ], - "otherFilter" : [ ] - } - } ], - "let" : [ ], - "relationship" : [ ] + "type" : "Retrieve", + "localId" : "233", + "dataType" : "{https://github.com/cqframework/cql-execution/simple}Condition", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "236", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "237", + "name" : "{https://github.com/cqframework/cql-execution/simple}Condition", + "annotation" : [ ] + } + }, + "include" : [ ], + "codeFilter" : [ ], + "dateFilter" : [ ], + "otherFilter" : [ ] } - }, { - "localId" : "231", - "name" : "conditions", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "231", + } ], + "let" : [ ], + "relationship" : [ ] + } + }, { + "localId" : "248", + "resultTypeName" : "{https://github.com/cqframework/cql-execution/simple}Encounter", + "name" : "firstEncounter", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "248", + "s" : [ { + "value" : [ "", "define ", "firstEncounter", ": " ] + }, { + "r" : "265", + "s" : [ { + "value" : [ "First", "(" ] + }, { + "r" : "258", + "s" : [ { "s" : [ { - "value" : [ "","define ","conditions",": " ] - }, { - "r" : "241", - "s" : [ { + "r" : "249", + "s" : [ { + "r" : "250", + "s" : [ { + "r" : "250", "s" : [ { - "r" : "232", - "s" : [ { - "r" : "233", - "s" : [ { - "r" : "233", - "s" : [ { - "value" : [ "[","Condition","]" ] - } ] - } ] - }, { - "value" : [ " ","C" ] - } ] + "value" : [ "[", "Encounter", "]" ] } ] - } ] + } ] + }, { + "value" : [ " ", "E" ] + } ] } ] - } - } ], + } ] + }, { + "value" : [ " )" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "First", + "localId" : "265", + "resultTypeName" : "{https://github.com/cqframework/cql-execution/simple}Encounter", + "annotation" : [ ], + "signature" : [ { + "type" : "ListTypeSpecifier", + "localId" : "266", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "267", + "name" : "{https://github.com/cqframework/cql-execution/simple}Encounter", + "annotation" : [ ] + } + } ], + "source" : { + "type" : "Query", + "localId" : "258", + "annotation" : [ ], "resultTypeSpecifier" : { - "localId" : "244", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "245", - "name" : "{https://github.com/cqframework/cql-execution/simple}Condition", - "type" : "NamedTypeSpecifier" - } + "type" : "ListTypeSpecifier", + "localId" : "259", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "260", + "name" : "{https://github.com/cqframework/cql-execution/simple}Encounter", + "annotation" : [ ] + } }, - "expression" : { - "localId" : "241", - "type" : "Query", - "resultTypeSpecifier" : { - "localId" : "242", + "source" : [ { + "localId" : "249", + "alias" : "E", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "255", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "256", + "name" : "{https://github.com/cqframework/cql-execution/simple}Encounter", + "annotation" : [ ] + } + }, + "expression" : { + "type" : "Retrieve", + "localId" : "250", + "dataType" : "{https://github.com/cqframework/cql-execution/simple}Encounter", + "annotation" : [ ], + "resultTypeSpecifier" : { "type" : "ListTypeSpecifier", + "localId" : "253", + "annotation" : [ ], "elementType" : { - "localId" : "243", - "name" : "{https://github.com/cqframework/cql-execution/simple}Condition", - "type" : "NamedTypeSpecifier" - } - }, - "source" : [ { - "localId" : "232", - "alias" : "C", - "resultTypeSpecifier" : { - "localId" : "238", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "239", - "name" : "{https://github.com/cqframework/cql-execution/simple}Condition", - "type" : "NamedTypeSpecifier" - } - }, - "expression" : { - "localId" : "233", - "dataType" : "{https://github.com/cqframework/cql-execution/simple}Condition", - "type" : "Retrieve", - "resultTypeSpecifier" : { - "localId" : "236", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "237", - "name" : "{https://github.com/cqframework/cql-execution/simple}Condition", - "type" : "NamedTypeSpecifier" - } - }, - "include" : [ ], - "codeFilter" : [ ], - "dateFilter" : [ ], - "otherFilter" : [ ] + "type" : "NamedTypeSpecifier", + "localId" : "254", + "name" : "{https://github.com/cqframework/cql-execution/simple}Encounter", + "annotation" : [ ] } - } ], - "let" : [ ], - "relationship" : [ ] - } - }, { - "localId" : "248", - "resultTypeName" : "{https://github.com/cqframework/cql-execution/simple}Encounter", - "name" : "firstEncounter", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "248", + }, + "include" : [ ], + "codeFilter" : [ ], + "dateFilter" : [ ], + "otherFilter" : [ ] + } + } ], + "let" : [ ], + "relationship" : [ ] + } + } + }, { + "localId" : "270", + "resultTypeName" : "{https://github.com/cqframework/cql-execution/simple}Condition", + "name" : "firstCondition", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "270", + "s" : [ { + "value" : [ "", "define ", "firstCondition", ": " ] + }, { + "r" : "294", + "s" : [ { + "value" : [ "First", "(" ] + }, { + "r" : "287", + "s" : [ { "s" : [ { - "value" : [ "","define ","firstEncounter",": " ] - }, { - "r" : "265", - "s" : [ { - "value" : [ "First","(" ] - }, { - "r" : "258", + "r" : "271", + "s" : [ { + "r" : "272", + "s" : [ { + "r" : "272", "s" : [ { - "s" : [ { - "r" : "249", - "s" : [ { - "r" : "250", - "s" : [ { - "r" : "250", - "s" : [ { - "value" : [ "[","Encounter","]" ] - } ] - } ] - }, { - "value" : [ " ","E" ] - } ] - } ] + "value" : [ "[", "Condition", "]" ] } ] - }, { - "value" : [ " )" ] - } ] + } ] + }, { + "value" : [ " ", "C" ] + } ] } ] - } - } ], - "expression" : { - "localId" : "265", - "resultTypeName" : "{https://github.com/cqframework/cql-execution/simple}Encounter", - "type" : "First", - "signature" : [ { - "localId" : "266", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "267", - "name" : "{https://github.com/cqframework/cql-execution/simple}Encounter", - "type" : "NamedTypeSpecifier" - } - } ], - "source" : { - "localId" : "258", - "type" : "Query", - "resultTypeSpecifier" : { - "localId" : "259", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "260", - "name" : "{https://github.com/cqframework/cql-execution/simple}Encounter", - "type" : "NamedTypeSpecifier" - } - }, - "source" : [ { - "localId" : "249", - "alias" : "E", - "resultTypeSpecifier" : { - "localId" : "255", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "256", - "name" : "{https://github.com/cqframework/cql-execution/simple}Encounter", - "type" : "NamedTypeSpecifier" - } - }, - "expression" : { - "localId" : "250", - "dataType" : "{https://github.com/cqframework/cql-execution/simple}Encounter", - "type" : "Retrieve", - "resultTypeSpecifier" : { - "localId" : "253", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "254", - "name" : "{https://github.com/cqframework/cql-execution/simple}Encounter", - "type" : "NamedTypeSpecifier" - } - }, - "include" : [ ], - "codeFilter" : [ ], - "dateFilter" : [ ], - "otherFilter" : [ ] - } - } ], - "let" : [ ], - "relationship" : [ ] - } - } - }, { - "localId" : "270", - "resultTypeName" : "{https://github.com/cqframework/cql-execution/simple}Condition", - "name" : "firstCondition", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "270", + }, { + "value" : [ " " ] + }, { + "r" : "280", "s" : [ { - "value" : [ "","define ","firstCondition",": " ] + "value" : [ "where " ] }, { - "r" : "294", - "s" : [ { - "value" : [ "First","(" ] - }, { - "r" : "287", + "r" : "280", + "s" : [ { + "r" : "282", + "s" : [ { + "r" : "281", "s" : [ { - "s" : [ { - "r" : "271", - "s" : [ { - "r" : "272", - "s" : [ { - "r" : "272", - "s" : [ { - "value" : [ "[","Condition","]" ] - } ] - } ] - }, { - "value" : [ " ","C" ] - } ] - } ] - }, { - "value" : [ " " ] - }, { - "r" : "280", - "s" : [ { - "value" : [ "where " ] - }, { - "r" : "280", - "s" : [ { - "r" : "282", - "s" : [ { - "r" : "281", - "s" : [ { - "value" : [ "C" ] - } ] - }, { - "value" : [ "." ] - }, { - "r" : "282", - "s" : [ { - "value" : [ "id" ] - } ] - } ] - }, { - "value" : [ " ","="," " ] - }, { - "r" : "283", - "s" : [ { - "value" : [ "'http://cqframework.org/3/2'" ] - } ] - } ] - } ] + "value" : [ "C" ] } ] - }, { - "value" : [ ")" ] - } ] + }, { + "value" : [ "." ] + }, { + "r" : "282", + "s" : [ { + "value" : [ "id" ] + } ] + } ] + }, { + "value" : [ " ", "=", " " ] + }, { + "r" : "283", + "s" : [ { + "value" : [ "'http://cqframework.org/3/2'" ] + } ] + } ] } ] - } - } ], - "expression" : { - "localId" : "294", - "resultTypeName" : "{https://github.com/cqframework/cql-execution/simple}Condition", - "type" : "First", - "signature" : [ { - "localId" : "295", + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "First", + "localId" : "294", + "resultTypeName" : "{https://github.com/cqframework/cql-execution/simple}Condition", + "annotation" : [ ], + "signature" : [ { + "type" : "ListTypeSpecifier", + "localId" : "295", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "296", + "name" : "{https://github.com/cqframework/cql-execution/simple}Condition", + "annotation" : [ ] + } + } ], + "source" : { + "type" : "Query", + "localId" : "287", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "288", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "289", + "name" : "{https://github.com/cqframework/cql-execution/simple}Condition", + "annotation" : [ ] + } + }, + "source" : [ { + "localId" : "271", + "alias" : "C", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "277", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "278", + "name" : "{https://github.com/cqframework/cql-execution/simple}Condition", + "annotation" : [ ] + } + }, + "expression" : { + "type" : "Retrieve", + "localId" : "272", + "dataType" : "{https://github.com/cqframework/cql-execution/simple}Condition", + "annotation" : [ ], + "resultTypeSpecifier" : { "type" : "ListTypeSpecifier", + "localId" : "275", + "annotation" : [ ], "elementType" : { - "localId" : "296", - "name" : "{https://github.com/cqframework/cql-execution/simple}Condition", - "type" : "NamedTypeSpecifier" - } - } ], - "source" : { - "localId" : "287", - "type" : "Query", - "resultTypeSpecifier" : { - "localId" : "288", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "289", - "name" : "{https://github.com/cqframework/cql-execution/simple}Condition", - "type" : "NamedTypeSpecifier" - } - }, - "source" : [ { - "localId" : "271", - "alias" : "C", - "resultTypeSpecifier" : { - "localId" : "277", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "278", - "name" : "{https://github.com/cqframework/cql-execution/simple}Condition", - "type" : "NamedTypeSpecifier" - } - }, - "expression" : { - "localId" : "272", - "dataType" : "{https://github.com/cqframework/cql-execution/simple}Condition", - "type" : "Retrieve", - "resultTypeSpecifier" : { - "localId" : "275", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "276", - "name" : "{https://github.com/cqframework/cql-execution/simple}Condition", - "type" : "NamedTypeSpecifier" - } - }, - "include" : [ ], - "codeFilter" : [ ], - "dateFilter" : [ ], - "otherFilter" : [ ] - } - } ], - "let" : [ ], - "relationship" : [ ], - "where" : { - "localId" : "280", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "Equal", - "signature" : [ { - "localId" : "285", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "286", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "282", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "path" : "id", - "scope" : "C", - "type" : "Property" - }, { - "localId" : "283", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "http://cqframework.org/3/2", - "type" : "Literal" - } ] + "type" : "NamedTypeSpecifier", + "localId" : "276", + "name" : "{https://github.com/cqframework/cql-execution/simple}Condition", + "annotation" : [ ] } - } + }, + "include" : [ ], + "codeFilter" : [ ], + "dateFilter" : [ ], + "otherFilter" : [ ] + } + } ], + "let" : [ ], + "relationship" : [ ], + "where" : { + "type" : "Equal", + "localId" : "280", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "285", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "286", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "Property", + "localId" : "282", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "path" : "id", + "scope" : "C", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "283", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "http://cqframework.org/3/2", + "annotation" : [ ] + } ] } - }, { - "localId" : "299", - "resultTypeName" : "{https://github.com/cqframework/cql-execution/simple}Encounter", - "name" : "singleAlias", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "299", + } + } + }, { + "localId" : "299", + "resultTypeName" : "{https://github.com/cqframework/cql-execution/simple}Encounter", + "name" : "singleAlias", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "299", + "s" : [ { + "value" : [ "", "define ", "singleAlias", ": " ] + }, { + "r" : "303", + "s" : [ { + "s" : [ { + "r" : "300", "s" : [ { - "value" : [ "","define ","singleAlias",": " ] + "r" : "301", + "s" : [ { + "s" : [ { + "value" : [ "firstEncounter" ] + } ] + } ] }, { - "r" : "303", - "s" : [ { - "s" : [ { - "r" : "300", - "s" : [ { - "r" : "301", - "s" : [ { - "s" : [ { - "value" : [ "firstEncounter" ] - } ] - } ] - }, { - "value" : [ " ","E" ] - } ] - } ] - } ] + "value" : [ " ", "E" ] } ] - } - } ], + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Query", + "localId" : "303", + "resultTypeName" : "{https://github.com/cqframework/cql-execution/simple}Encounter", + "annotation" : [ ], + "source" : [ { + "localId" : "300", + "resultTypeName" : "{https://github.com/cqframework/cql-execution/simple}Encounter", + "alias" : "E", + "annotation" : [ ], "expression" : { - "localId" : "303", - "resultTypeName" : "{https://github.com/cqframework/cql-execution/simple}Encounter", - "type" : "Query", - "source" : [ { - "localId" : "300", - "resultTypeName" : "{https://github.com/cqframework/cql-execution/simple}Encounter", - "alias" : "E", - "expression" : { - "localId" : "301", - "resultTypeName" : "{https://github.com/cqframework/cql-execution/simple}Encounter", - "name" : "firstEncounter", - "type" : "ExpressionRef" - } - } ], - "let" : [ ], - "relationship" : [ ] + "type" : "ExpressionRef", + "localId" : "301", + "resultTypeName" : "{https://github.com/cqframework/cql-execution/simple}Encounter", + "name" : "firstEncounter", + "annotation" : [ ] } - }, { - "localId" : "306", - "resultTypeName" : "{https://github.com/cqframework/cql-execution/simple}Encounter", - "name" : "singleAliasWhere", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "306", + } ], + "let" : [ ], + "relationship" : [ ] + } + }, { + "localId" : "306", + "resultTypeName" : "{https://github.com/cqframework/cql-execution/simple}Encounter", + "name" : "singleAliasWhere", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "306", + "s" : [ { + "value" : [ "", "define ", "singleAliasWhere", ": " ] + }, { + "r" : "315", + "s" : [ { + "s" : [ { + "r" : "307", "s" : [ { - "value" : [ "","define ","singleAliasWhere",": " ] + "r" : "308", + "s" : [ { + "s" : [ { + "value" : [ "firstEncounter" ] + } ] + } ] }, { - "r" : "315", - "s" : [ { - "s" : [ { - "r" : "307", - "s" : [ { - "r" : "308", - "s" : [ { - "s" : [ { - "value" : [ "firstEncounter" ] - } ] - } ] - }, { - "value" : [ " ","E" ] - } ] - } ] - }, { - "value" : [ " " ] - }, { - "r" : "313", - "s" : [ { - "value" : [ "where " ] - }, { - "r" : "313", - "s" : [ { - "r" : "310", - "s" : [ { - "value" : [ "E" ] - } ] - }, { - "value" : [ " is not null" ] - } ] - } ] - } ] + "value" : [ " ", "E" ] } ] - } - } ], + } ] + }, { + "value" : [ " " ] + }, { + "r" : "313", + "s" : [ { + "value" : [ "where " ] + }, { + "r" : "313", + "s" : [ { + "r" : "310", + "s" : [ { + "value" : [ "E" ] + } ] + }, { + "value" : [ " is not null" ] + } ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Query", + "localId" : "315", + "resultTypeName" : "{https://github.com/cqframework/cql-execution/simple}Encounter", + "annotation" : [ ], + "source" : [ { + "localId" : "307", + "resultTypeName" : "{https://github.com/cqframework/cql-execution/simple}Encounter", + "alias" : "E", + "annotation" : [ ], "expression" : { - "localId" : "315", - "resultTypeName" : "{https://github.com/cqframework/cql-execution/simple}Encounter", - "type" : "Query", - "source" : [ { - "localId" : "307", - "resultTypeName" : "{https://github.com/cqframework/cql-execution/simple}Encounter", - "alias" : "E", - "expression" : { - "localId" : "308", - "resultTypeName" : "{https://github.com/cqframework/cql-execution/simple}Encounter", - "name" : "firstEncounter", - "type" : "ExpressionRef" - } - } ], - "let" : [ ], - "relationship" : [ ], - "where" : { - "localId" : "313", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "Not", - "signature" : [ { - "localId" : "314", - "name" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "311", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "IsNull", - "signature" : [ { - "localId" : "312", - "name" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "310", - "resultTypeName" : "{https://github.com/cqframework/cql-execution/simple}Encounter", - "name" : "E", - "type" : "AliasRef" - } - } - } + "type" : "ExpressionRef", + "localId" : "308", + "resultTypeName" : "{https://github.com/cqframework/cql-execution/simple}Encounter", + "name" : "firstEncounter", + "annotation" : [ ] } - }, { - "localId" : "318", - "resultTypeName" : "{https://github.com/cqframework/cql-execution/simple}Encounter", - "name" : "singleAliasWhereToNull", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "318", + } ], + "let" : [ ], + "relationship" : [ ], + "where" : { + "type" : "Not", + "localId" : "313", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "314", + "name" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ] + } ], + "operand" : { + "type" : "IsNull", + "localId" : "311", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "312", + "name" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } ], + "operand" : { + "type" : "AliasRef", + "localId" : "310", + "resultTypeName" : "{https://github.com/cqframework/cql-execution/simple}Encounter", + "name" : "E", + "annotation" : [ ] + } + } + } + } + }, { + "localId" : "318", + "resultTypeName" : "{https://github.com/cqframework/cql-execution/simple}Encounter", + "name" : "singleAliasWhereToNull", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "318", + "s" : [ { + "value" : [ "", "define ", "singleAliasWhereToNull", ": " ] + }, { + "r" : "330", + "s" : [ { + "s" : [ { + "r" : "319", "s" : [ { - "value" : [ "","define ","singleAliasWhereToNull",": " ] + "r" : "320", + "s" : [ { + "s" : [ { + "value" : [ "firstEncounter" ] + } ] + } ] }, { - "r" : "330", - "s" : [ { - "s" : [ { - "r" : "319", - "s" : [ { - "r" : "320", - "s" : [ { - "s" : [ { - "value" : [ "firstEncounter" ] - } ] - } ] - }, { - "value" : [ " ","E" ] - } ] - } ] - }, { - "value" : [ " " ] - }, { - "r" : "328", - "s" : [ { - "value" : [ "where " ] - }, { - "r" : "328", - "s" : [ { - "r" : "323", - "s" : [ { - "r" : "322", - "s" : [ { - "value" : [ "E" ] - } ] - }, { - "value" : [ "." ] - }, { - "r" : "323", - "s" : [ { - "value" : [ "period" ] - } ] - } ] - }, { - "value" : [ " is null" ] - } ] - } ] - } ] + "value" : [ " ", "E" ] } ] - } - } ], + } ] + }, { + "value" : [ " " ] + }, { + "r" : "328", + "s" : [ { + "value" : [ "where " ] + }, { + "r" : "328", + "s" : [ { + "r" : "323", + "s" : [ { + "r" : "322", + "s" : [ { + "value" : [ "E" ] + } ] + }, { + "value" : [ "." ] + }, { + "r" : "323", + "s" : [ { + "value" : [ "period" ] + } ] + } ] + }, { + "value" : [ " is null" ] + } ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Query", + "localId" : "330", + "resultTypeName" : "{https://github.com/cqframework/cql-execution/simple}Encounter", + "annotation" : [ ], + "source" : [ { + "localId" : "319", + "resultTypeName" : "{https://github.com/cqframework/cql-execution/simple}Encounter", + "alias" : "E", + "annotation" : [ ], "expression" : { - "localId" : "330", - "resultTypeName" : "{https://github.com/cqframework/cql-execution/simple}Encounter", - "type" : "Query", - "source" : [ { - "localId" : "319", - "resultTypeName" : "{https://github.com/cqframework/cql-execution/simple}Encounter", - "alias" : "E", - "expression" : { - "localId" : "320", - "resultTypeName" : "{https://github.com/cqframework/cql-execution/simple}Encounter", - "name" : "firstEncounter", - "type" : "ExpressionRef" - } - } ], - "let" : [ ], - "relationship" : [ ], - "where" : { - "localId" : "328", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "IsNull", - "signature" : [ { - "localId" : "329", - "name" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "323", - "path" : "period", - "scope" : "E", - "type" : "Property", - "resultTypeSpecifier" : { - "localId" : "326", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "327", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - } - } + "type" : "ExpressionRef", + "localId" : "320", + "resultTypeName" : "{https://github.com/cqframework/cql-execution/simple}Encounter", + "name" : "firstEncounter", + "annotation" : [ ] } - }, { - "localId" : "333", - "name" : "singleAliases", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "333", + } ], + "let" : [ ], + "relationship" : [ ], + "where" : { + "type" : "IsNull", + "localId" : "328", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "329", + "name" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } ], + "operand" : { + "type" : "Property", + "localId" : "323", + "path" : "period", + "scope" : "E", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "326", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "327", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + } + } + } + }, { + "localId" : "333", + "name" : "singleAliases", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "333", + "s" : [ { + "value" : [ "", "define ", "singleAliases", ": " ] + }, { + "r" : "344", + "s" : [ { + "s" : [ { + "value" : [ "from " ] + }, { + "r" : "334", "s" : [ { - "value" : [ "","define ","singleAliases",": " ] + "r" : "335", + "s" : [ { + "s" : [ { + "value" : [ "firstEncounter" ] + } ] + } ] }, { - "r" : "344", - "s" : [ { - "s" : [ { - "value" : [ "from " ] - }, { - "r" : "334", - "s" : [ { - "r" : "335", - "s" : [ { - "s" : [ { - "value" : [ "firstEncounter" ] - } ] - } ] - }, { - "value" : [ " ","E" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "336", - "s" : [ { - "r" : "337", - "s" : [ { - "s" : [ { - "value" : [ "firstCondition" ] - } ] - } ] - }, { - "value" : [ " ","C" ] - } ] - } ] - } ] + "value" : [ " ", "E" ] } ] - } - } ], - "resultTypeSpecifier" : { - "localId" : "350", - "type" : "TupleTypeSpecifier", - "element" : [ { - "localId" : "351", - "name" : "E", - "elementType" : { - "localId" : "352", - "name" : "{https://github.com/cqframework/cql-execution/simple}Encounter", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "353", - "name" : "C", - "elementType" : { - "localId" : "354", - "name" : "{https://github.com/cqframework/cql-execution/simple}Condition", - "type" : "NamedTypeSpecifier" - } - } ] - }, - "expression" : { - "localId" : "344", - "type" : "Query", - "resultTypeSpecifier" : { - "localId" : "345", - "type" : "TupleTypeSpecifier", - "element" : [ { - "localId" : "346", - "name" : "E", - "elementType" : { - "localId" : "347", - "name" : "{https://github.com/cqframework/cql-execution/simple}Encounter", - "type" : "NamedTypeSpecifier" - } + }, { + "value" : [ ", " ] + }, { + "r" : "336", + "s" : [ { + "r" : "337", + "s" : [ { + "s" : [ { + "value" : [ "firstCondition" ] + } ] + } ] }, { - "localId" : "348", - "name" : "C", - "elementType" : { - "localId" : "349", - "name" : "{https://github.com/cqframework/cql-execution/simple}Condition", - "type" : "NamedTypeSpecifier" - } + "value" : [ " ", "C" ] } ] - }, - "source" : [ { - "localId" : "334", - "resultTypeName" : "{https://github.com/cqframework/cql-execution/simple}Encounter", - "alias" : "E", - "expression" : { - "localId" : "335", - "resultTypeName" : "{https://github.com/cqframework/cql-execution/simple}Encounter", - "name" : "firstEncounter", - "type" : "ExpressionRef" - } - }, { - "localId" : "336", - "resultTypeName" : "{https://github.com/cqframework/cql-execution/simple}Condition", - "alias" : "C", - "expression" : { - "localId" : "337", - "resultTypeName" : "{https://github.com/cqframework/cql-execution/simple}Condition", - "name" : "firstCondition", - "type" : "ExpressionRef" - } - } ], - "let" : [ ], - "relationship" : [ ], - "return" : { - "localId" : "340", - "distinct" : true, - "expression" : { - "localId" : "341", - "type" : "Tuple", - "element" : [ { - "name" : "E", - "value" : { - "localId" : "342", - "name" : "E", - "type" : "AliasRef" - } - }, { - "name" : "C", - "value" : { - "localId" : "343", - "name" : "C", - "type" : "AliasRef" - } - } ] - } - } + } ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "TupleTypeSpecifier", + "localId" : "350", + "annotation" : [ ], + "element" : [ { + "localId" : "351", + "name" : "E", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "352", + "name" : "{https://github.com/cqframework/cql-execution/simple}Encounter", + "annotation" : [ ] } - }, { - "localId" : "357", - "name" : "singleAliasesAndList", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "357", + }, { + "localId" : "353", + "name" : "C", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "354", + "name" : "{https://github.com/cqframework/cql-execution/simple}Condition", + "annotation" : [ ] + } + } ] + }, + "expression" : { + "type" : "Query", + "localId" : "344", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "TupleTypeSpecifier", + "localId" : "345", + "annotation" : [ ], + "element" : [ { + "localId" : "346", + "name" : "E", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "347", + "name" : "{https://github.com/cqframework/cql-execution/simple}Encounter", + "annotation" : [ ] + } + }, { + "localId" : "348", + "name" : "C", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "349", + "name" : "{https://github.com/cqframework/cql-execution/simple}Condition", + "annotation" : [ ] + } + } ] + }, + "source" : [ { + "localId" : "334", + "resultTypeName" : "{https://github.com/cqframework/cql-execution/simple}Encounter", + "alias" : "E", + "annotation" : [ ], + "expression" : { + "type" : "ExpressionRef", + "localId" : "335", + "resultTypeName" : "{https://github.com/cqframework/cql-execution/simple}Encounter", + "name" : "firstEncounter", + "annotation" : [ ] + } + }, { + "localId" : "336", + "resultTypeName" : "{https://github.com/cqframework/cql-execution/simple}Condition", + "alias" : "C", + "annotation" : [ ], + "expression" : { + "type" : "ExpressionRef", + "localId" : "337", + "resultTypeName" : "{https://github.com/cqframework/cql-execution/simple}Condition", + "name" : "firstCondition", + "annotation" : [ ] + } + } ], + "let" : [ ], + "relationship" : [ ], + "return" : { + "localId" : "340", + "distinct" : true, + "annotation" : [ ], + "expression" : { + "type" : "Tuple", + "localId" : "341", + "annotation" : [ ], + "element" : [ { + "name" : "E", + "value" : { + "type" : "AliasRef", + "localId" : "342", + "name" : "E", + "annotation" : [ ] + } + }, { + "name" : "C", + "value" : { + "type" : "AliasRef", + "localId" : "343", + "name" : "C", + "annotation" : [ ] + } + } ] + } + } + } + }, { + "localId" : "357", + "name" : "singleAliasesAndList", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "357", + "s" : [ { + "value" : [ "", "define ", "singleAliasesAndList", ": " ] + }, { + "r" : "376", + "s" : [ { + "s" : [ { + "value" : [ "from " ] + }, { + "r" : "358", "s" : [ { - "value" : [ "","define ","singleAliasesAndList",": " ] + "r" : "359", + "s" : [ { + "s" : [ { + "value" : [ "firstEncounter" ] + } ] + } ] }, { - "r" : "376", - "s" : [ { - "s" : [ { - "value" : [ "from " ] - }, { - "r" : "358", - "s" : [ { - "r" : "359", - "s" : [ { - "s" : [ { - "value" : [ "firstEncounter" ] - } ] - } ] - }, { - "value" : [ " ","E" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "360", - "s" : [ { - "r" : "361", - "s" : [ { - "s" : [ { - "value" : [ "firstCondition" ] - } ] - } ] - }, { - "value" : [ " ","C" ] - } ] - }, { - "value" : [ " , " ] - }, { - "r" : "362", - "s" : [ { - "r" : "363", - "s" : [ { - "s" : [ { - "value" : [ "conditions" ] - } ] - } ] - }, { - "value" : [ " ","Con" ] - } ] - } ] - } ] + "value" : [ " ", "E" ] } ] - } - } ], - "resultTypeSpecifier" : { - "localId" : "385", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "386", - "type" : "TupleTypeSpecifier", - "element" : [ { - "localId" : "387", - "name" : "E", - "elementType" : { - "localId" : "388", - "name" : "{https://github.com/cqframework/cql-execution/simple}Encounter", - "type" : "NamedTypeSpecifier" - } + }, { + "value" : [ ", " ] + }, { + "r" : "360", + "s" : [ { + "r" : "361", + "s" : [ { + "s" : [ { + "value" : [ "firstCondition" ] + } ] + } ] }, { - "localId" : "389", - "name" : "C", - "elementType" : { - "localId" : "390", - "name" : "{https://github.com/cqframework/cql-execution/simple}Condition", - "type" : "NamedTypeSpecifier" - } + "value" : [ " ", "C" ] + } ] + }, { + "value" : [ " , " ] + }, { + "r" : "362", + "s" : [ { + "r" : "363", + "s" : [ { + "s" : [ { + "value" : [ "conditions" ] + } ] + } ] }, { - "localId" : "391", - "name" : "Con", - "elementType" : { - "localId" : "392", - "name" : "{https://github.com/cqframework/cql-execution/simple}Condition", - "type" : "NamedTypeSpecifier" - } + "value" : [ " ", "Con" ] } ] - } - }, - "expression" : { - "localId" : "376", - "type" : "Query", - "resultTypeSpecifier" : { - "localId" : "377", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "378", - "type" : "TupleTypeSpecifier", - "element" : [ { - "localId" : "379", - "name" : "E", - "elementType" : { - "localId" : "380", - "name" : "{https://github.com/cqframework/cql-execution/simple}Encounter", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "381", - "name" : "C", - "elementType" : { - "localId" : "382", - "name" : "{https://github.com/cqframework/cql-execution/simple}Condition", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "383", - "name" : "Con", - "elementType" : { - "localId" : "384", - "name" : "{https://github.com/cqframework/cql-execution/simple}Condition", - "type" : "NamedTypeSpecifier" - } - } ] - } - }, - "source" : [ { - "localId" : "358", - "resultTypeName" : "{https://github.com/cqframework/cql-execution/simple}Encounter", - "alias" : "E", - "expression" : { - "localId" : "359", - "resultTypeName" : "{https://github.com/cqframework/cql-execution/simple}Encounter", - "name" : "firstEncounter", - "type" : "ExpressionRef" - } - }, { - "localId" : "360", - "resultTypeName" : "{https://github.com/cqframework/cql-execution/simple}Condition", - "alias" : "C", - "expression" : { - "localId" : "361", - "resultTypeName" : "{https://github.com/cqframework/cql-execution/simple}Condition", - "name" : "firstCondition", - "type" : "ExpressionRef" - } - }, { - "localId" : "362", - "alias" : "Con", - "resultTypeSpecifier" : { - "localId" : "366", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "367", - "name" : "{https://github.com/cqframework/cql-execution/simple}Condition", - "type" : "NamedTypeSpecifier" - } - }, - "expression" : { - "localId" : "363", - "name" : "conditions", - "type" : "ExpressionRef", - "resultTypeSpecifier" : { - "localId" : "364", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "365", - "name" : "{https://github.com/cqframework/cql-execution/simple}Condition", - "type" : "NamedTypeSpecifier" - } - } - } - } ], - "let" : [ ], - "relationship" : [ ], - "return" : { - "localId" : "371", - "distinct" : true, - "expression" : { - "localId" : "372", - "type" : "Tuple", - "element" : [ { - "name" : "E", - "value" : { - "localId" : "373", - "name" : "E", - "type" : "AliasRef" - } - }, { - "name" : "C", - "value" : { - "localId" : "374", - "name" : "C", - "type" : "AliasRef" - } - }, { - "name" : "Con", - "value" : { - "localId" : "375", - "name" : "Con", - "type" : "AliasRef" - } - } ] - } - } + } ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "385", + "annotation" : [ ], + "elementType" : { + "type" : "TupleTypeSpecifier", + "localId" : "386", + "annotation" : [ ], + "element" : [ { + "localId" : "387", + "name" : "E", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "388", + "name" : "{https://github.com/cqframework/cql-execution/simple}Encounter", + "annotation" : [ ] + } + }, { + "localId" : "389", + "name" : "C", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "390", + "name" : "{https://github.com/cqframework/cql-execution/simple}Condition", + "annotation" : [ ] + } + }, { + "localId" : "391", + "name" : "Con", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "392", + "name" : "{https://github.com/cqframework/cql-execution/simple}Condition", + "annotation" : [ ] + } + } ] + } + }, + "expression" : { + "type" : "Query", + "localId" : "376", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "377", + "annotation" : [ ], + "elementType" : { + "type" : "TupleTypeSpecifier", + "localId" : "378", + "annotation" : [ ], + "element" : [ { + "localId" : "379", + "name" : "E", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "380", + "name" : "{https://github.com/cqframework/cql-execution/simple}Encounter", + "annotation" : [ ] + } + }, { + "localId" : "381", + "name" : "C", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "382", + "name" : "{https://github.com/cqframework/cql-execution/simple}Condition", + "annotation" : [ ] + } + }, { + "localId" : "383", + "name" : "Con", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "384", + "name" : "{https://github.com/cqframework/cql-execution/simple}Condition", + "annotation" : [ ] + } + } ] } - }, { - "localId" : "395", - "name" : "singleAliasWith", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "395", - "s" : [ { - "value" : [ "","define ","singleAliasWith",": " ] - }, { - "r" : "415", - "s" : [ { - "s" : [ { - "r" : "396", - "s" : [ { - "r" : "397", - "s" : [ { - "r" : "397", - "s" : [ { - "value" : [ "[","Encounter","]" ] - } ] - } ] - }, { - "value" : [ " ","E" ] - } ] - } ] - }, { - "value" : [ " " ] - }, { - "r" : "414", - "s" : [ { - "value" : [ "with " ] - }, { - "r" : "405", - "s" : [ { - "r" : "406", - "s" : [ { - "s" : [ { - "value" : [ "firstCondition" ] - } ] - } ] - }, { - "value" : [ " ","C" ] - } ] - }, { - "value" : [ " such that " ] - }, { - "r" : "407", - "s" : [ { - "r" : "409", - "s" : [ { - "r" : "408", - "s" : [ { - "value" : [ "C" ] - } ] - }, { - "value" : [ "." ] - }, { - "r" : "409", - "s" : [ { - "value" : [ "id" ] - } ] - } ] - }, { - "value" : [ " ","="," " ] - }, { - "r" : "410", - "s" : [ { - "value" : [ "'http://cqframework.org/3/2'" ] - } ] - } ] - } ] - } ] - } ] - } - } ], + }, + "source" : [ { + "localId" : "358", + "resultTypeName" : "{https://github.com/cqframework/cql-execution/simple}Encounter", + "alias" : "E", + "annotation" : [ ], + "expression" : { + "type" : "ExpressionRef", + "localId" : "359", + "resultTypeName" : "{https://github.com/cqframework/cql-execution/simple}Encounter", + "name" : "firstEncounter", + "annotation" : [ ] + } + }, { + "localId" : "360", + "resultTypeName" : "{https://github.com/cqframework/cql-execution/simple}Condition", + "alias" : "C", + "annotation" : [ ], + "expression" : { + "type" : "ExpressionRef", + "localId" : "361", + "resultTypeName" : "{https://github.com/cqframework/cql-execution/simple}Condition", + "name" : "firstCondition", + "annotation" : [ ] + } + }, { + "localId" : "362", + "alias" : "Con", + "annotation" : [ ], "resultTypeSpecifier" : { - "localId" : "418", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "419", - "name" : "{https://github.com/cqframework/cql-execution/simple}Encounter", - "type" : "NamedTypeSpecifier" - } + "type" : "ListTypeSpecifier", + "localId" : "366", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "367", + "name" : "{https://github.com/cqframework/cql-execution/simple}Condition", + "annotation" : [ ] + } }, "expression" : { - "localId" : "415", - "type" : "Query", - "resultTypeSpecifier" : { - "localId" : "416", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "417", - "name" : "{https://github.com/cqframework/cql-execution/simple}Encounter", - "type" : "NamedTypeSpecifier" - } - }, - "source" : [ { - "localId" : "396", - "alias" : "E", - "resultTypeSpecifier" : { - "localId" : "402", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "403", - "name" : "{https://github.com/cqframework/cql-execution/simple}Encounter", - "type" : "NamedTypeSpecifier" - } - }, - "expression" : { - "localId" : "397", - "dataType" : "{https://github.com/cqframework/cql-execution/simple}Encounter", - "type" : "Retrieve", - "resultTypeSpecifier" : { - "localId" : "400", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "401", - "name" : "{https://github.com/cqframework/cql-execution/simple}Encounter", - "type" : "NamedTypeSpecifier" - } - }, - "include" : [ ], - "codeFilter" : [ ], - "dateFilter" : [ ], - "otherFilter" : [ ] - } - } ], - "let" : [ ], - "relationship" : [ { - "localId" : "414", - "resultTypeName" : "{https://github.com/cqframework/cql-execution/simple}Condition", - "alias" : "C", - "type" : "With", - "expression" : { - "localId" : "406", - "resultTypeName" : "{https://github.com/cqframework/cql-execution/simple}Condition", - "name" : "firstCondition", - "type" : "ExpressionRef" - }, - "suchThat" : { - "localId" : "407", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "Equal", - "signature" : [ { - "localId" : "412", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "413", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "409", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "path" : "id", - "scope" : "C", - "type" : "Property" - }, { - "localId" : "410", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "http://cqframework.org/3/2", - "type" : "Literal" - } ] - } - } ] + "type" : "ExpressionRef", + "localId" : "363", + "name" : "conditions", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "364", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "365", + "name" : "{https://github.com/cqframework/cql-execution/simple}Condition", + "annotation" : [ ] + } + } } - }, { - "localId" : "422", - "name" : "singleAliasWithOut", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "422", + } ], + "let" : [ ], + "relationship" : [ ], + "return" : { + "localId" : "371", + "distinct" : true, + "annotation" : [ ], + "expression" : { + "type" : "Tuple", + "localId" : "372", + "annotation" : [ ], + "element" : [ { + "name" : "E", + "value" : { + "type" : "AliasRef", + "localId" : "373", + "name" : "E", + "annotation" : [ ] + } + }, { + "name" : "C", + "value" : { + "type" : "AliasRef", + "localId" : "374", + "name" : "C", + "annotation" : [ ] + } + }, { + "name" : "Con", + "value" : { + "type" : "AliasRef", + "localId" : "375", + "name" : "Con", + "annotation" : [ ] + } + } ] + } + } + } + }, { + "localId" : "395", + "name" : "singleAliasWith", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "395", + "s" : [ { + "value" : [ "", "define ", "singleAliasWith", ": " ] + }, { + "r" : "415", + "s" : [ { + "s" : [ { + "r" : "396", "s" : [ { - "value" : [ "","define ","singleAliasWithOut",": " ] + "r" : "397", + "s" : [ { + "r" : "397", + "s" : [ { + "value" : [ "[", "Encounter", "]" ] + } ] + } ] }, { - "r" : "442", - "s" : [ { - "s" : [ { - "r" : "423", - "s" : [ { - "r" : "424", - "s" : [ { - "r" : "424", - "s" : [ { - "value" : [ "[","Encounter","]" ] - } ] - } ] - }, { - "value" : [ " ","E" ] - } ] - } ] - }, { - "value" : [ " " ] - }, { - "r" : "441", - "s" : [ { - "value" : [ "without " ] - }, { - "r" : "432", - "s" : [ { - "r" : "433", - "s" : [ { - "s" : [ { - "value" : [ "firstCondition" ] - } ] - } ] - }, { - "value" : [ " ","C" ] - } ] - }, { - "value" : [ " such that " ] - }, { - "r" : "434", - "s" : [ { - "r" : "436", - "s" : [ { - "r" : "435", - "s" : [ { - "value" : [ "C" ] - } ] - }, { - "value" : [ "." ] - }, { - "r" : "436", - "s" : [ { - "value" : [ "id" ] - } ] - } ] - }, { - "value" : [ " ","="," " ] - }, { - "r" : "437", - "s" : [ { - "value" : [ "'http://cqframework.org/3'" ] - } ] - } ] - } ] - } ] + "value" : [ " ", "E" ] } ] - } - } ], + } ] + }, { + "value" : [ " " ] + }, { + "r" : "414", + "s" : [ { + "value" : [ "with " ] + }, { + "r" : "405", + "s" : [ { + "r" : "406", + "s" : [ { + "s" : [ { + "value" : [ "firstCondition" ] + } ] + } ] + }, { + "value" : [ " ", "C" ] + } ] + }, { + "value" : [ " such that " ] + }, { + "r" : "407", + "s" : [ { + "r" : "409", + "s" : [ { + "r" : "408", + "s" : [ { + "value" : [ "C" ] + } ] + }, { + "value" : [ "." ] + }, { + "r" : "409", + "s" : [ { + "value" : [ "id" ] + } ] + } ] + }, { + "value" : [ " ", "=", " " ] + }, { + "r" : "410", + "s" : [ { + "value" : [ "'http://cqframework.org/3/2'" ] + } ] + } ] + } ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "418", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "419", + "name" : "{https://github.com/cqframework/cql-execution/simple}Encounter", + "annotation" : [ ] + } + }, + "expression" : { + "type" : "Query", + "localId" : "415", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "416", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "417", + "name" : "{https://github.com/cqframework/cql-execution/simple}Encounter", + "annotation" : [ ] + } + }, + "source" : [ { + "localId" : "396", + "alias" : "E", + "annotation" : [ ], "resultTypeSpecifier" : { - "localId" : "445", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "446", - "name" : "{https://github.com/cqframework/cql-execution/simple}Encounter", - "type" : "NamedTypeSpecifier" - } + "type" : "ListTypeSpecifier", + "localId" : "402", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "403", + "name" : "{https://github.com/cqframework/cql-execution/simple}Encounter", + "annotation" : [ ] + } }, "expression" : { - "localId" : "442", - "type" : "Query", - "resultTypeSpecifier" : { - "localId" : "443", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "444", - "name" : "{https://github.com/cqframework/cql-execution/simple}Encounter", - "type" : "NamedTypeSpecifier" - } - }, - "source" : [ { - "localId" : "423", - "alias" : "E", - "resultTypeSpecifier" : { - "localId" : "429", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "430", - "name" : "{https://github.com/cqframework/cql-execution/simple}Encounter", - "type" : "NamedTypeSpecifier" - } - }, - "expression" : { - "localId" : "424", - "dataType" : "{https://github.com/cqframework/cql-execution/simple}Encounter", - "type" : "Retrieve", - "resultTypeSpecifier" : { - "localId" : "427", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "428", - "name" : "{https://github.com/cqframework/cql-execution/simple}Encounter", - "type" : "NamedTypeSpecifier" - } - }, - "include" : [ ], - "codeFilter" : [ ], - "dateFilter" : [ ], - "otherFilter" : [ ] - } - } ], - "let" : [ ], - "relationship" : [ { - "localId" : "441", - "resultTypeName" : "{https://github.com/cqframework/cql-execution/simple}Condition", - "alias" : "C", - "type" : "Without", - "expression" : { - "localId" : "433", - "resultTypeName" : "{https://github.com/cqframework/cql-execution/simple}Condition", - "name" : "firstCondition", - "type" : "ExpressionRef" - }, - "suchThat" : { - "localId" : "434", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "Equal", - "signature" : [ { - "localId" : "439", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "440", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "436", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "path" : "id", - "scope" : "C", - "type" : "Property" - }, { - "localId" : "437", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "http://cqframework.org/3", - "type" : "Literal" - } ] - } - } ] + "type" : "Retrieve", + "localId" : "397", + "dataType" : "{https://github.com/cqframework/cql-execution/simple}Encounter", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "400", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "401", + "name" : "{https://github.com/cqframework/cql-execution/simple}Encounter", + "annotation" : [ ] + } + }, + "include" : [ ], + "codeFilter" : [ ], + "dateFilter" : [ ], + "otherFilter" : [ ] + } + } ], + "let" : [ ], + "relationship" : [ { + "type" : "With", + "localId" : "414", + "resultTypeName" : "{https://github.com/cqframework/cql-execution/simple}Condition", + "alias" : "C", + "annotation" : [ ], + "expression" : { + "type" : "ExpressionRef", + "localId" : "406", + "resultTypeName" : "{https://github.com/cqframework/cql-execution/simple}Condition", + "name" : "firstCondition", + "annotation" : [ ] + }, + "suchThat" : { + "type" : "Equal", + "localId" : "407", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "412", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "413", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "Property", + "localId" : "409", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "path" : "id", + "scope" : "C", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "410", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "http://cqframework.org/3/2", + "annotation" : [ ] + } ] } - }, { - "localId" : "449", - "name" : "singleAliasWithEmpty", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "449", + } ] + } + }, { + "localId" : "422", + "name" : "singleAliasWithOut", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "422", + "s" : [ { + "value" : [ "", "define ", "singleAliasWithOut", ": " ] + }, { + "r" : "442", + "s" : [ { + "s" : [ { + "r" : "423", "s" : [ { - "value" : [ "","define ","singleAliasWithEmpty",": " ] + "r" : "424", + "s" : [ { + "r" : "424", + "s" : [ { + "value" : [ "[", "Encounter", "]" ] + } ] + } ] }, { - "r" : "469", - "s" : [ { - "s" : [ { - "r" : "450", - "s" : [ { - "r" : "451", - "s" : [ { - "r" : "451", - "s" : [ { - "value" : [ "[","Encounter","]" ] - } ] - } ] - }, { - "value" : [ " ","E" ] - } ] - } ] - }, { - "value" : [ " " ] - }, { - "r" : "468", - "s" : [ { - "value" : [ "with " ] - }, { - "r" : "459", - "s" : [ { - "r" : "460", - "s" : [ { - "s" : [ { - "value" : [ "firstCondition" ] - } ] - } ] - }, { - "value" : [ " ","C" ] - } ] - }, { - "value" : [ " such that " ] - }, { - "r" : "461", - "s" : [ { - "r" : "463", - "s" : [ { - "r" : "462", - "s" : [ { - "value" : [ "C" ] - } ] - }, { - "value" : [ "." ] - }, { - "r" : "463", - "s" : [ { - "value" : [ "id" ] - } ] - } ] - }, { - "value" : [ " ","="," " ] - }, { - "r" : "464", - "s" : [ { - "value" : [ "'http://cqframework.org/3'" ] - } ] - } ] - } ] - } ] + "value" : [ " ", "E" ] } ] - } - } ], + } ] + }, { + "value" : [ " " ] + }, { + "r" : "441", + "s" : [ { + "value" : [ "without " ] + }, { + "r" : "432", + "s" : [ { + "r" : "433", + "s" : [ { + "s" : [ { + "value" : [ "firstCondition" ] + } ] + } ] + }, { + "value" : [ " ", "C" ] + } ] + }, { + "value" : [ " such that " ] + }, { + "r" : "434", + "s" : [ { + "r" : "436", + "s" : [ { + "r" : "435", + "s" : [ { + "value" : [ "C" ] + } ] + }, { + "value" : [ "." ] + }, { + "r" : "436", + "s" : [ { + "value" : [ "id" ] + } ] + } ] + }, { + "value" : [ " ", "=", " " ] + }, { + "r" : "437", + "s" : [ { + "value" : [ "'http://cqframework.org/3'" ] + } ] + } ] + } ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "445", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "446", + "name" : "{https://github.com/cqframework/cql-execution/simple}Encounter", + "annotation" : [ ] + } + }, + "expression" : { + "type" : "Query", + "localId" : "442", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "443", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "444", + "name" : "{https://github.com/cqframework/cql-execution/simple}Encounter", + "annotation" : [ ] + } + }, + "source" : [ { + "localId" : "423", + "alias" : "E", + "annotation" : [ ], "resultTypeSpecifier" : { - "localId" : "472", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "473", - "name" : "{https://github.com/cqframework/cql-execution/simple}Encounter", - "type" : "NamedTypeSpecifier" - } + "type" : "ListTypeSpecifier", + "localId" : "429", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "430", + "name" : "{https://github.com/cqframework/cql-execution/simple}Encounter", + "annotation" : [ ] + } }, "expression" : { - "localId" : "469", - "type" : "Query", - "resultTypeSpecifier" : { - "localId" : "470", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "471", - "name" : "{https://github.com/cqframework/cql-execution/simple}Encounter", - "type" : "NamedTypeSpecifier" - } - }, - "source" : [ { - "localId" : "450", - "alias" : "E", - "resultTypeSpecifier" : { - "localId" : "456", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "457", - "name" : "{https://github.com/cqframework/cql-execution/simple}Encounter", - "type" : "NamedTypeSpecifier" - } - }, - "expression" : { - "localId" : "451", - "dataType" : "{https://github.com/cqframework/cql-execution/simple}Encounter", - "type" : "Retrieve", - "resultTypeSpecifier" : { - "localId" : "454", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "455", - "name" : "{https://github.com/cqframework/cql-execution/simple}Encounter", - "type" : "NamedTypeSpecifier" - } - }, - "include" : [ ], - "codeFilter" : [ ], - "dateFilter" : [ ], - "otherFilter" : [ ] - } - } ], - "let" : [ ], - "relationship" : [ { - "localId" : "468", - "resultTypeName" : "{https://github.com/cqframework/cql-execution/simple}Condition", - "alias" : "C", - "type" : "With", - "expression" : { - "localId" : "460", - "resultTypeName" : "{https://github.com/cqframework/cql-execution/simple}Condition", - "name" : "firstCondition", - "type" : "ExpressionRef" - }, - "suchThat" : { - "localId" : "461", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "Equal", - "signature" : [ { - "localId" : "466", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "467", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "463", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "path" : "id", - "scope" : "C", - "type" : "Property" - }, { - "localId" : "464", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "http://cqframework.org/3", - "type" : "Literal" - } ] - } - } ] + "type" : "Retrieve", + "localId" : "424", + "dataType" : "{https://github.com/cqframework/cql-execution/simple}Encounter", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "427", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "428", + "name" : "{https://github.com/cqframework/cql-execution/simple}Encounter", + "annotation" : [ ] + } + }, + "include" : [ ], + "codeFilter" : [ ], + "dateFilter" : [ ], + "otherFilter" : [ ] + } + } ], + "let" : [ ], + "relationship" : [ { + "type" : "Without", + "localId" : "441", + "resultTypeName" : "{https://github.com/cqframework/cql-execution/simple}Condition", + "alias" : "C", + "annotation" : [ ], + "expression" : { + "type" : "ExpressionRef", + "localId" : "433", + "resultTypeName" : "{https://github.com/cqframework/cql-execution/simple}Condition", + "name" : "firstCondition", + "annotation" : [ ] + }, + "suchThat" : { + "type" : "Equal", + "localId" : "434", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "439", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "440", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "Property", + "localId" : "436", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "path" : "id", + "scope" : "C", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "437", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "http://cqframework.org/3", + "annotation" : [ ] + } ] } - }, { - "localId" : "476", - "name" : "singleAliasWithOutEmpty", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "476", + } ] + } + }, { + "localId" : "449", + "name" : "singleAliasWithEmpty", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "449", + "s" : [ { + "value" : [ "", "define ", "singleAliasWithEmpty", ": " ] + }, { + "r" : "469", + "s" : [ { + "s" : [ { + "r" : "450", "s" : [ { - "value" : [ "","define ","singleAliasWithOutEmpty",": " ] + "r" : "451", + "s" : [ { + "r" : "451", + "s" : [ { + "value" : [ "[", "Encounter", "]" ] + } ] + } ] }, { - "r" : "496", - "s" : [ { - "s" : [ { - "r" : "477", - "s" : [ { - "r" : "478", - "s" : [ { - "r" : "478", - "s" : [ { - "value" : [ "[","Encounter","]" ] - } ] - } ] - }, { - "value" : [ " ","E" ] - } ] - } ] - }, { - "value" : [ " " ] - }, { - "r" : "495", - "s" : [ { - "value" : [ "without " ] - }, { - "r" : "486", - "s" : [ { - "r" : "487", - "s" : [ { - "s" : [ { - "value" : [ "firstCondition" ] - } ] - } ] - }, { - "value" : [ " ","C" ] - } ] - }, { - "value" : [ " such that " ] - }, { - "r" : "488", - "s" : [ { - "r" : "490", - "s" : [ { - "r" : "489", - "s" : [ { - "value" : [ "C" ] - } ] - }, { - "value" : [ "." ] - }, { - "r" : "490", - "s" : [ { - "value" : [ "id" ] - } ] - } ] - }, { - "value" : [ " ","="," " ] - }, { - "r" : "491", - "s" : [ { - "value" : [ "'http://cqframework.org/3/2'" ] - } ] - } ] - } ] - } ] + "value" : [ " ", "E" ] } ] - } - } ], + } ] + }, { + "value" : [ " " ] + }, { + "r" : "468", + "s" : [ { + "value" : [ "with " ] + }, { + "r" : "459", + "s" : [ { + "r" : "460", + "s" : [ { + "s" : [ { + "value" : [ "firstCondition" ] + } ] + } ] + }, { + "value" : [ " ", "C" ] + } ] + }, { + "value" : [ " such that " ] + }, { + "r" : "461", + "s" : [ { + "r" : "463", + "s" : [ { + "r" : "462", + "s" : [ { + "value" : [ "C" ] + } ] + }, { + "value" : [ "." ] + }, { + "r" : "463", + "s" : [ { + "value" : [ "id" ] + } ] + } ] + }, { + "value" : [ " ", "=", " " ] + }, { + "r" : "464", + "s" : [ { + "value" : [ "'http://cqframework.org/3'" ] + } ] + } ] + } ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "472", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "473", + "name" : "{https://github.com/cqframework/cql-execution/simple}Encounter", + "annotation" : [ ] + } + }, + "expression" : { + "type" : "Query", + "localId" : "469", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "470", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "471", + "name" : "{https://github.com/cqframework/cql-execution/simple}Encounter", + "annotation" : [ ] + } + }, + "source" : [ { + "localId" : "450", + "alias" : "E", + "annotation" : [ ], "resultTypeSpecifier" : { - "localId" : "499", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "500", - "name" : "{https://github.com/cqframework/cql-execution/simple}Encounter", - "type" : "NamedTypeSpecifier" - } + "type" : "ListTypeSpecifier", + "localId" : "456", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "457", + "name" : "{https://github.com/cqframework/cql-execution/simple}Encounter", + "annotation" : [ ] + } }, "expression" : { - "localId" : "496", - "type" : "Query", - "resultTypeSpecifier" : { - "localId" : "497", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "498", - "name" : "{https://github.com/cqframework/cql-execution/simple}Encounter", - "type" : "NamedTypeSpecifier" - } - }, - "source" : [ { - "localId" : "477", - "alias" : "E", - "resultTypeSpecifier" : { - "localId" : "483", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "484", - "name" : "{https://github.com/cqframework/cql-execution/simple}Encounter", - "type" : "NamedTypeSpecifier" - } - }, - "expression" : { - "localId" : "478", - "dataType" : "{https://github.com/cqframework/cql-execution/simple}Encounter", - "type" : "Retrieve", - "resultTypeSpecifier" : { - "localId" : "481", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "482", - "name" : "{https://github.com/cqframework/cql-execution/simple}Encounter", - "type" : "NamedTypeSpecifier" - } - }, - "include" : [ ], - "codeFilter" : [ ], - "dateFilter" : [ ], - "otherFilter" : [ ] - } - } ], - "let" : [ ], - "relationship" : [ { - "localId" : "495", - "resultTypeName" : "{https://github.com/cqframework/cql-execution/simple}Condition", - "alias" : "C", - "type" : "Without", - "expression" : { - "localId" : "487", - "resultTypeName" : "{https://github.com/cqframework/cql-execution/simple}Condition", - "name" : "firstCondition", - "type" : "ExpressionRef" - }, - "suchThat" : { - "localId" : "488", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "Equal", - "signature" : [ { - "localId" : "493", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "494", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "490", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "path" : "id", - "scope" : "C", - "type" : "Property" - }, { - "localId" : "491", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "http://cqframework.org/3/2", - "type" : "Literal" - } ] - } - } ] + "type" : "Retrieve", + "localId" : "451", + "dataType" : "{https://github.com/cqframework/cql-execution/simple}Encounter", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "454", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "455", + "name" : "{https://github.com/cqframework/cql-execution/simple}Encounter", + "annotation" : [ ] + } + }, + "include" : [ ], + "codeFilter" : [ ], + "dateFilter" : [ ], + "otherFilter" : [ ] } - }, { - "localId" : "503", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "name" : "asNull", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "503", - "s" : [ { - "r" : "504", - "value" : [ "","define ","asNull",": ","null" ] - } ] - } - } ], + } ], + "let" : [ ], + "relationship" : [ { + "type" : "With", + "localId" : "468", + "resultTypeName" : "{https://github.com/cqframework/cql-execution/simple}Condition", + "alias" : "C", + "annotation" : [ ], "expression" : { - "localId" : "504", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" + "type" : "ExpressionRef", + "localId" : "460", + "resultTypeName" : "{https://github.com/cqframework/cql-execution/simple}Condition", + "name" : "firstCondition", + "annotation" : [ ] + }, + "suchThat" : { + "type" : "Equal", + "localId" : "461", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "466", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "467", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "Property", + "localId" : "463", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "path" : "id", + "scope" : "C", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "464", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "http://cqframework.org/3", + "annotation" : [ ] + } ] } - }, { - "localId" : "507", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "name" : "nullQuery", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "507", + } ] + } + }, { + "localId" : "476", + "name" : "singleAliasWithOutEmpty", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "476", + "s" : [ { + "value" : [ "", "define ", "singleAliasWithOutEmpty", ": " ] + }, { + "r" : "496", + "s" : [ { + "s" : [ { + "r" : "477", "s" : [ { - "value" : [ "","define ","nullQuery",": " ] + "r" : "478", + "s" : [ { + "r" : "478", + "s" : [ { + "value" : [ "[", "Encounter", "]" ] + } ] + } ] }, { - "r" : "511", - "s" : [ { - "s" : [ { - "r" : "508", - "s" : [ { - "r" : "509", - "s" : [ { - "s" : [ { - "value" : [ "asNull" ] - } ] - } ] - }, { - "value" : [ " ","N" ] - } ] - } ] - } ] + "value" : [ " ", "E" ] } ] - } - } ], - "expression" : { - "localId" : "511", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Query", - "source" : [ { - "localId" : "508", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "alias" : "N", - "expression" : { - "localId" : "509", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "name" : "asNull", - "type" : "ExpressionRef" - } - } ], - "let" : [ ], - "relationship" : [ ] - } - }, { - "localId" : "514", - "name" : "singleAliasReturnTuple", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "514", + } ] + }, { + "value" : [ " " ] + }, { + "r" : "495", + "s" : [ { + "value" : [ "without " ] + }, { + "r" : "486", "s" : [ { - "value" : [ "//define singleAliasWith: firstEncounter E with [Condition] C\n// such that C.id = 'http://cqframework.org/3/2'\n//define singleAliasWithNull: firstEncounter E with conditions C\n// such that C.id is null\n","define ","singleAliasReturnTuple",": " ] + "r" : "487", + "s" : [ { + "s" : [ { + "value" : [ "firstCondition" ] + } ] + } ] }, { - "r" : "527", - "s" : [ { - "s" : [ { - "r" : "515", - "s" : [ { - "r" : "516", - "s" : [ { - "s" : [ { - "value" : [ "firstEncounter" ] - } ] - } ] - }, { - "value" : [ " ","E" ] - } ] - } ] - }, { - "value" : [ " " ] - }, { - "r" : "518", - "s" : [ { - "value" : [ "return " ] - }, { - "r" : "519", - "s" : [ { - "value" : [ "Tuple{" ] - }, { - "s" : [ { - "r" : "520", - "value" : [ "a",":","1" ] - } ] - }, { - "value" : [ "}" ] - } ] - } ] - } ] + "value" : [ " ", "C" ] } ] - } - } ], + }, { + "value" : [ " such that " ] + }, { + "r" : "488", + "s" : [ { + "r" : "490", + "s" : [ { + "r" : "489", + "s" : [ { + "value" : [ "C" ] + } ] + }, { + "value" : [ "." ] + }, { + "r" : "490", + "s" : [ { + "value" : [ "id" ] + } ] + } ] + }, { + "value" : [ " ", "=", " " ] + }, { + "r" : "491", + "s" : [ { + "value" : [ "'http://cqframework.org/3/2'" ] + } ] + } ] + } ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "499", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "500", + "name" : "{https://github.com/cqframework/cql-execution/simple}Encounter", + "annotation" : [ ] + } + }, + "expression" : { + "type" : "Query", + "localId" : "496", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "497", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "498", + "name" : "{https://github.com/cqframework/cql-execution/simple}Encounter", + "annotation" : [ ] + } + }, + "source" : [ { + "localId" : "477", + "alias" : "E", + "annotation" : [ ], "resultTypeSpecifier" : { - "localId" : "531", - "type" : "TupleTypeSpecifier", - "element" : [ { - "localId" : "532", - "name" : "a", - "elementType" : { - "localId" : "533", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } ] + "type" : "ListTypeSpecifier", + "localId" : "483", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "484", + "name" : "{https://github.com/cqframework/cql-execution/simple}Encounter", + "annotation" : [ ] + } }, "expression" : { - "localId" : "527", - "type" : "Query", - "resultTypeSpecifier" : { - "localId" : "528", - "type" : "TupleTypeSpecifier", - "element" : [ { - "localId" : "529", - "name" : "a", - "elementType" : { - "localId" : "530", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } + "type" : "Retrieve", + "localId" : "478", + "dataType" : "{https://github.com/cqframework/cql-execution/simple}Encounter", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "481", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "482", + "name" : "{https://github.com/cqframework/cql-execution/simple}Encounter", + "annotation" : [ ] + } + }, + "include" : [ ], + "codeFilter" : [ ], + "dateFilter" : [ ], + "otherFilter" : [ ] + } + } ], + "let" : [ ], + "relationship" : [ { + "type" : "Without", + "localId" : "495", + "resultTypeName" : "{https://github.com/cqframework/cql-execution/simple}Condition", + "alias" : "C", + "annotation" : [ ], + "expression" : { + "type" : "ExpressionRef", + "localId" : "487", + "resultTypeName" : "{https://github.com/cqframework/cql-execution/simple}Condition", + "name" : "firstCondition", + "annotation" : [ ] + }, + "suchThat" : { + "type" : "Equal", + "localId" : "488", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "493", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "494", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "Property", + "localId" : "490", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "path" : "id", + "scope" : "C", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "491", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "http://cqframework.org/3/2", + "annotation" : [ ] + } ] + } + } ] + } + }, { + "localId" : "503", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "name" : "asNull", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "503", + "s" : [ { + "r" : "504", + "value" : [ "", "define ", "asNull", ": ", "null" ] + } ] + } + } ], + "expression" : { + "type" : "Null", + "localId" : "504", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } + }, { + "localId" : "507", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "name" : "nullQuery", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "507", + "s" : [ { + "value" : [ "", "define ", "nullQuery", ": " ] + }, { + "r" : "511", + "s" : [ { + "s" : [ { + "r" : "508", + "s" : [ { + "r" : "509", + "s" : [ { + "s" : [ { + "value" : [ "asNull" ] + } ] + } ] + }, { + "value" : [ " ", "N" ] } ] - }, - "source" : [ { - "localId" : "515", - "resultTypeName" : "{https://github.com/cqframework/cql-execution/simple}Encounter", - "alias" : "E", - "expression" : { - "localId" : "516", - "resultTypeName" : "{https://github.com/cqframework/cql-execution/simple}Encounter", - "name" : "firstEncounter", - "type" : "ExpressionRef" - } - } ], - "let" : [ ], - "relationship" : [ ], - "return" : { - "localId" : "518", - "resultTypeSpecifier" : { - "localId" : "524", - "type" : "TupleTypeSpecifier", - "element" : [ { - "localId" : "525", - "name" : "a", - "elementType" : { - "localId" : "526", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } ] - }, - "expression" : { - "localId" : "519", - "type" : "Tuple", - "resultTypeSpecifier" : { - "localId" : "521", - "type" : "TupleTypeSpecifier", - "element" : [ { - "localId" : "522", - "name" : "a", - "elementType" : { - "localId" : "523", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } ] - }, - "element" : [ { - "name" : "a", - "value" : { - "localId" : "520", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - } - } ] - } - } + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Query", + "localId" : "511", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ], + "source" : [ { + "localId" : "508", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "alias" : "N", + "annotation" : [ ], + "expression" : { + "type" : "ExpressionRef", + "localId" : "509", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "name" : "asNull", + "annotation" : [ ] } - }, { - "localId" : "536", - "name" : "singleAliasReturnList", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "536", + } ], + "let" : [ ], + "relationship" : [ ] + } + }, { + "localId" : "514", + "name" : "singleAliasReturnTuple", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "514", + "s" : [ { + "value" : [ "//define singleAliasWith: firstEncounter E with [Condition] C\n// such that C.id = 'http://cqframework.org/3/2'\n//define singleAliasWithNull: firstEncounter E with conditions C\n// such that C.id is null\n", "define ", "singleAliasReturnTuple", ": " ] + }, { + "r" : "527", + "s" : [ { + "s" : [ { + "r" : "515", "s" : [ { - "value" : [ "","define ","singleAliasReturnList",": " ] + "r" : "516", + "s" : [ { + "s" : [ { + "value" : [ "firstEncounter" ] + } ] + } ] }, { - "r" : "554", - "s" : [ { - "s" : [ { - "r" : "537", - "s" : [ { - "r" : "538", - "s" : [ { - "s" : [ { - "value" : [ "firstEncounter" ] - } ] - } ] - }, { - "value" : [ " ","E" ] - } ] - } ] - }, { - "value" : [ " " ] - }, { - "r" : "540", - "s" : [ { - "value" : [ "return " ] - }, { - "r" : "541", - "s" : [ { - "value" : [ "{" ] - }, { - "r" : "542", - "s" : [ { - "value" : [ "'foo'" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "544", - "s" : [ { - "value" : [ "'bar'" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "546", - "s" : [ { - "value" : [ "'baz'" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "548", - "s" : [ { - "value" : [ "'bar'" ] - } ] - }, { - "value" : [ "}" ] - } ] - } ] - } ] + "value" : [ " ", "E" ] } ] - } - } ], + } ] + }, { + "value" : [ " " ] + }, { + "r" : "518", + "s" : [ { + "value" : [ "return " ] + }, { + "r" : "519", + "s" : [ { + "value" : [ "Tuple{" ] + }, { + "s" : [ { + "r" : "520", + "value" : [ "a", ":", "1" ] + } ] + }, { + "value" : [ "}" ] + } ] + } ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "TupleTypeSpecifier", + "localId" : "531", + "annotation" : [ ], + "element" : [ { + "localId" : "532", + "name" : "a", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "533", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } ] + }, + "expression" : { + "type" : "Query", + "localId" : "527", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "TupleTypeSpecifier", + "localId" : "528", + "annotation" : [ ], + "element" : [ { + "localId" : "529", + "name" : "a", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "530", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } ] + }, + "source" : [ { + "localId" : "515", + "resultTypeName" : "{https://github.com/cqframework/cql-execution/simple}Encounter", + "alias" : "E", + "annotation" : [ ], + "expression" : { + "type" : "ExpressionRef", + "localId" : "516", + "resultTypeName" : "{https://github.com/cqframework/cql-execution/simple}Encounter", + "name" : "firstEncounter", + "annotation" : [ ] + } + } ], + "let" : [ ], + "relationship" : [ ], + "return" : { + "localId" : "518", + "annotation" : [ ], "resultTypeSpecifier" : { - "localId" : "557", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "558", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } + "type" : "TupleTypeSpecifier", + "localId" : "524", + "annotation" : [ ], + "element" : [ { + "localId" : "525", + "name" : "a", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "526", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } ] }, "expression" : { - "localId" : "554", - "type" : "Query", - "resultTypeSpecifier" : { - "localId" : "555", - "type" : "ListTypeSpecifier", + "type" : "Tuple", + "localId" : "519", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "TupleTypeSpecifier", + "localId" : "521", + "annotation" : [ ], + "element" : [ { + "localId" : "522", + "name" : "a", + "annotation" : [ ], "elementType" : { - "localId" : "556", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } - }, - "source" : [ { - "localId" : "537", - "resultTypeName" : "{https://github.com/cqframework/cql-execution/simple}Encounter", - "alias" : "E", - "expression" : { - "localId" : "538", - "resultTypeName" : "{https://github.com/cqframework/cql-execution/simple}Encounter", - "name" : "firstEncounter", - "type" : "ExpressionRef" - } - } ], - "let" : [ ], - "relationship" : [ ], - "return" : { - "localId" : "540", - "resultTypeSpecifier" : { - "localId" : "552", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "553", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } - }, - "expression" : { - "localId" : "541", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "550", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "551", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } - }, - "element" : [ { - "localId" : "542", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "foo", - "type" : "Literal" - }, { - "localId" : "544", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "bar", - "type" : "Literal" - }, { - "localId" : "546", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "baz", - "type" : "Literal" - }, { - "localId" : "548", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "bar", - "type" : "Literal" - } ] + "type" : "NamedTypeSpecifier", + "localId" : "523", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] } - } + } ] + }, + "element" : [ { + "name" : "a", + "value" : { + "type" : "Literal", + "localId" : "520", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + } + } ] } - } ] - } - } + } + } + }, { + "localId" : "536", + "name" : "singleAliasReturnList", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "536", + "s" : [ { + "value" : [ "", "define ", "singleAliasReturnList", ": " ] + }, { + "r" : "554", + "s" : [ { + "s" : [ { + "r" : "537", + "s" : [ { + "r" : "538", + "s" : [ { + "s" : [ { + "value" : [ "firstEncounter" ] + } ] + } ] + }, { + "value" : [ " ", "E" ] + } ] + } ] + }, { + "value" : [ " " ] + }, { + "r" : "540", + "s" : [ { + "value" : [ "return " ] + }, { + "r" : "541", + "s" : [ { + "value" : [ "{" ] + }, { + "r" : "542", + "s" : [ { + "value" : [ "'foo'" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "544", + "s" : [ { + "value" : [ "'bar'" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "546", + "s" : [ { + "value" : [ "'baz'" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "548", + "s" : [ { + "value" : [ "'bar'" ] + } ] + }, { + "value" : [ "}" ] + } ] + } ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "557", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "558", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } + }, + "expression" : { + "type" : "Query", + "localId" : "554", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "555", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "556", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } + }, + "source" : [ { + "localId" : "537", + "resultTypeName" : "{https://github.com/cqframework/cql-execution/simple}Encounter", + "alias" : "E", + "annotation" : [ ], + "expression" : { + "type" : "ExpressionRef", + "localId" : "538", + "resultTypeName" : "{https://github.com/cqframework/cql-execution/simple}Encounter", + "name" : "firstEncounter", + "annotation" : [ ] + } + } ], + "let" : [ ], + "relationship" : [ ], + "return" : { + "localId" : "540", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "552", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "553", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } + }, + "expression" : { + "type" : "List", + "localId" : "541", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "550", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "551", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } + }, + "element" : [ { + "type" : "Literal", + "localId" : "542", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "foo", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "544", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "bar", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "546", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "baz", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "548", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "bar", + "annotation" : [ ] + } ] + } + } + } + } ] + } + } } /* AggregateQuery @@ -14118,1952 +15919,2208 @@ define distinctAggregation: */ module.exports['AggregateQuery'] = { - "library" : { - "localId" : "0", - "annotation" : [ { - "translatorVersion" : "3.27.0", - "translatorOptions" : "EnableDateRangeOptimization,EnableAnnotations,EnableResultTypes", - "signatureLevel" : "All", - "type" : "CqlToElmInfo" + "library" : { + "localId" : "0", + "annotation" : [ { + "type" : "CqlToElmInfo", + "translatorVersion" : "4.2.0", + "translatorOptions" : "EnableDateRangeOptimization,EnableAnnotations,EnableResultTypes", + "signatureLevel" : "All" + }, { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "514", + "s" : [ { + "value" : [ "", "library TestSnippet version '1'" ] + } ] + } + } ], + "identifier" : { + "id" : "TestSnippet", + "version" : "1" + }, + "schemaIdentifier" : { + "id" : "urn:hl7-org:elm", + "version" : "r1" + }, + "usings" : { + "def" : [ { + "localId" : "1", + "localIdentifier" : "System", + "uri" : "urn:hl7-org:elm-types:r1", + "annotation" : [ ] }, { - "type" : "Annotation", - "s" : { - "r" : "514", + "localId" : "206", + "localIdentifier" : "Simple", + "uri" : "https://github.com/cqframework/cql-execution/simple", + "version" : "1.0.0", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "206", "s" : [ { - "value" : [ "","library TestSnippet version '1'" ] + "value" : [ "", "using " ] + }, { + "s" : [ { + "value" : [ "Simple" ] + } ] + }, { + "value" : [ " version '1.0.0'" ] } ] - } - } ], - "identifier" : { - "id" : "TestSnippet", - "version" : "1" - }, - "schemaIdentifier" : { - "id" : "urn:hl7-org:elm", - "version" : "r1" - }, - "usings" : { - "def" : [ { - "localId" : "1", - "localIdentifier" : "System", - "uri" : "urn:hl7-org:elm-types:r1" - }, { - "localId" : "206", - "localIdentifier" : "Simple", - "uri" : "https://github.com/cqframework/cql-execution/simple", - "version" : "1.0.0", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "206", + } + } ] + } ] + }, + "contexts" : { + "def" : [ { + "localId" : "211", + "name" : "Patient", + "annotation" : [ ] + } ] + }, + "statements" : { + "def" : [ { + "localId" : "209", + "name" : "Patient", + "context" : "Patient", + "annotation" : [ ], + "expression" : { + "type" : "SingletonFrom", + "localId" : "210", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Retrieve", + "localId" : "208", + "dataType" : "{https://github.com/cqframework/cql-execution/simple}Patient", + "annotation" : [ ], + "include" : [ ], + "codeFilter" : [ ], + "dateFilter" : [ ], + "otherFilter" : [ ] + } + } + }, { + "localId" : "214", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "name" : "noStartingAggregation", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "214", + "s" : [ { + "value" : [ "", "define ", "noStartingAggregation", ":\n " ] + }, { + "r" : "246", + "s" : [ { + "s" : [ { + "r" : "215", + "s" : [ { + "r" : "216", + "s" : [ { + "value" : [ "(" ] + }, { + "r" : "216", + "s" : [ { + "r" : "217", + "value" : [ "{", "1", ",", "2", ",", "3", ",", "4", ",", "5", "}" ] + } ] + }, { + "value" : [ ")" ] + } ] + }, { + "value" : [ " ", "R" ] + } ] + } ] + }, { + "value" : [ "\n " ] + }, { + "r" : "229", + "s" : [ { + "value" : [ "aggregate ", "T", " : " ] + }, { + "r" : "232", "s" : [ { - "value" : [ "","using " ] + "r" : "239", + "s" : [ { + "value" : [ "Coalesce", "(" ] + }, { + "r" : "233", + "s" : [ { + "value" : [ "T" ] + } ] + }, { + "r" : "234", + "value" : [ ", ", "1", ")" ] + } ] }, { - "s" : [ { - "value" : [ "Simple" ] - } ] + "value" : [ " * " ] }, { - "value" : [ " version '1.0.0'" ] + "r" : "242", + "s" : [ { + "value" : [ "R" ] + } ] } ] - } + } ] + } ] } ] - } ] - }, - "contexts" : { - "def" : [ { - "localId" : "211", - "name" : "Patient" - } ] - }, - "statements" : { - "def" : [ { - "localId" : "209", - "name" : "Patient", - "context" : "Patient", + } + } ], + "expression" : { + "type" : "Query", + "localId" : "246", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ], + "source" : [ { + "localId" : "215", + "alias" : "R", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "226", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "227", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, "expression" : { - "localId" : "210", - "type" : "SingletonFrom", - "signature" : [ ], - "operand" : { - "localId" : "208", - "dataType" : "{https://github.com/cqframework/cql-execution/simple}Patient", - "type" : "Retrieve", - "include" : [ ], - "codeFilter" : [ ], - "dateFilter" : [ ], - "otherFilter" : [ ] - } + "type" : "List", + "localId" : "216", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "224", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "225", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "element" : [ { + "type" : "Literal", + "localId" : "217", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "218", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "219", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "220", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "4", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "221", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "5", + "annotation" : [ ] + } ] } - }, { - "localId" : "214", + } ], + "let" : [ ], + "relationship" : [ ], + "aggregate" : { + "localId" : "229", "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "name" : "noStartingAggregation", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "214", + "identifier" : "T", + "annotation" : [ ], + "expression" : { + "type" : "Multiply", + "localId" : "232", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "244", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "245", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "As", + "localId" : "243", + "asType" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Coalesce", + "localId" : "239", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "240", + "name" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "241", + "name" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "QueryLetRef", + "localId" : "233", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "name" : "T", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "234", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + } ] + } + }, { + "type" : "AliasRef", + "localId" : "242", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "name" : "R", + "annotation" : [ ] + } ] + }, + "starting" : { + "type" : "Null", + "localId" : "230", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } + } + } + }, { + "localId" : "249", + "name" : "encounterPeriods", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "249", + "s" : [ { + "value" : [ "", "define ", "encounterPeriods", ":\n " ] + }, { + "r" : "269", + "s" : [ { + "s" : [ { + "r" : "250", "s" : [ { - "value" : [ "","define ","noStartingAggregation",":\n " ] + "r" : "251", + "s" : [ { + "r" : "251", + "s" : [ { + "value" : [ "[", "Encounter", "]" ] + } ] + } ] }, { - "r" : "246", - "s" : [ { - "s" : [ { - "r" : "215", - "s" : [ { - "r" : "216", - "s" : [ { - "value" : [ "(" ] - }, { - "r" : "216", - "s" : [ { - "r" : "217", - "value" : [ "{","1",",","2",",","3",",","4",",","5","}" ] - } ] - }, { - "value" : [ ")" ] - } ] - }, { - "value" : [ " ","R" ] - } ] - } ] - }, { - "value" : [ "\n " ] - }, { - "r" : "229", + "value" : [ " ", "e" ] + } ] + } ] + }, { + "value" : [ "\n " ] + }, { + "r" : "259", + "s" : [ { + "value" : [ "return " ] + }, { + "r" : "261", + "s" : [ { + "r" : "260", + "s" : [ { + "value" : [ "e" ] + } ] + }, { + "value" : [ "." ] + }, { + "r" : "261", + "s" : [ { + "value" : [ "period" ] + } ] + } ] + } ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "273", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "274", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "275", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + }, + "expression" : { + "type" : "Query", + "localId" : "269", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "270", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "271", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "272", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + }, + "source" : [ { + "localId" : "250", + "alias" : "e", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "256", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "257", + "name" : "{https://github.com/cqframework/cql-execution/simple}Encounter", + "annotation" : [ ] + } + }, + "expression" : { + "type" : "Retrieve", + "localId" : "251", + "dataType" : "{https://github.com/cqframework/cql-execution/simple}Encounter", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "254", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "255", + "name" : "{https://github.com/cqframework/cql-execution/simple}Encounter", + "annotation" : [ ] + } + }, + "include" : [ ], + "codeFilter" : [ ], + "dateFilter" : [ ], + "otherFilter" : [ ] + } + } ], + "let" : [ ], + "relationship" : [ ], + "return" : { + "localId" : "259", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "266", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "267", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "268", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + }, + "expression" : { + "type" : "Property", + "localId" : "261", + "path" : "period", + "scope" : "e", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "264", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "265", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + } + } + } + }, { + "localId" : "278", + "name" : "expressionStartingAggregation", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "278", + "s" : [ { + "value" : [ "", "define ", "expressionStartingAggregation", ":\n " ] + }, { + "r" : "408", + "s" : [ { + "s" : [ { + "r" : "279", + "s" : [ { + "r" : "280", + "s" : [ { + "s" : [ { + "value" : [ "encounterPeriods" ] + } ] + } ] + }, { + "value" : [ " ", "M" ] + } ] + } ] + }, { + "value" : [ "\n " ] + }, { + "r" : "288", + "s" : [ { + "value" : [ "aggregate ", "R", " " ] + }, { + "r" : "289", + "s" : [ { + "value" : [ "starting (" ] + }, { + "r" : "289", + "s" : [ { + "r" : "290", + "value" : [ "List{}", " as " ] + }, { + "r" : "293", + "s" : [ { + "value" : [ "List<" ] + }, { + "r" : "294", "s" : [ { - "value" : [ "aggregate ","T"," : " ] + "value" : [ "Interval<" ] }, { - "r" : "232", - "s" : [ { - "r" : "239", - "s" : [ { - "value" : [ "Coalesce","(" ] - }, { - "r" : "233", - "s" : [ { - "value" : [ "T" ] - } ] - }, { - "r" : "234", - "value" : [ ", ","1",")" ] - } ] - }, { - "value" : [ " * " ] - }, { - "r" : "242", - "s" : [ { - "value" : [ "R" ] - } ] - } ] + "r" : "295", + "s" : [ { + "value" : [ "DateTime" ] + } ] + }, { + "value" : [ ">" ] } ] - } ] + }, { + "value" : [ ">" ] + } ] + } ] + }, { + "value" : [ ")" ] } ] - } - } ], - "expression" : { - "localId" : "246", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "Query", - "source" : [ { - "localId" : "215", - "alias" : "R", - "resultTypeSpecifier" : { - "localId" : "226", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "227", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "expression" : { - "localId" : "216", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "224", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "225", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "element" : [ { - "localId" : "217", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, { - "localId" : "218", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal" - }, { - "localId" : "219", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, { - "localId" : "220", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "4", - "type" : "Literal" - }, { - "localId" : "221", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal" - } ] - } - } ], - "let" : [ ], - "relationship" : [ ], - "aggregate" : { - "localId" : "229", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "identifier" : "T", - "expression" : { - "localId" : "232", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "Multiply", - "signature" : [ { - "localId" : "244", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "245", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "243", - "asType" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "As", - "signature" : [ ], - "operand" : { - "localId" : "239", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Coalesce", - "signature" : [ { - "localId" : "240", - "name" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "241", - "name" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "233", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "name" : "T", - "type" : "QueryLetRef" - }, { - "localId" : "234", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - } ] - } - }, { - "localId" : "242", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "name" : "R", - "type" : "AliasRef" - } ] - }, - "starting" : { - "localId" : "230", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - } - } - } - }, { - "localId" : "249", - "name" : "encounterPeriods", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "249", + }, { + "value" : [ ": " ] + }, { + "r" : "395", "s" : [ { - "value" : [ "","define ","encounterPeriods",":\n " ] + "r" : "312", + "s" : [ { + "value" : [ "R" ] + } ] + }, { + "value" : [ " union " ] }, { - "r" : "269", - "s" : [ { + "r" : "316", + "s" : [ { + "value" : [ "(" ] + }, { + "r" : "316", + "s" : [ { + "value" : [ "{\n " ] + }, { + "r" : "386", "s" : [ { - "r" : "250", - "s" : [ { - "r" : "251", + "s" : [ { + "r" : "317", + "s" : [ { + "r" : "318", "s" : [ { - "r" : "251", - "s" : [ { - "value" : [ "[","Encounter","]" ] - } ] + "s" : [ { + "value" : [ "M" ] + } ] } ] - }, { - "value" : [ " ","e" ] - } ] - } ] - }, { - "value" : [ "\n " ] - }, { - "r" : "259", - "s" : [ { - "value" : [ "return " ] + }, { + "value" : [ " ", "X" ] + } ] + } ] + }, { + "value" : [ "\n " ] }, { - "r" : "261", - "s" : [ { - "r" : "260", + "s" : [ { + "value" : [ "let " ] + }, { + "r" : "324", + "s" : [ { + "value" : [ "S", ": " ] + }, { + "r" : "366", "s" : [ { - "value" : [ "e" ] + "value" : [ "Max", "(" ] + }, { + "r" : "325", + "s" : [ { + "value" : [ "{ " ] + }, { + "r" : "326", + "s" : [ { + "r" : "327", + "s" : [ { + "value" : [ "end of " ] + }, { + "r" : "337", + "s" : [ { + "value" : [ "Last", "(" ] + }, { + "r" : "328", + "s" : [ { + "value" : [ "R" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + }, { + "value" : [ "+" ] + }, { + "r" : "345", + "s" : [ { + "value" : [ "1 ", "day" ] + } ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "356", + "s" : [ { + "r" : "348", + "value" : [ "DateTime", "(", "1970", ",", "01", ",", "01", ")" ] + } ] + }, { + "value" : [ "}" ] + } ] + }, { + "value" : [ ")" ] } ] - }, { - "value" : [ "." ] - }, { - "r" : "261", + } ] + }, { + "value" : [ ",\n " ] + }, { + "r" : "369", + "s" : [ { + "value" : [ "E", ": " ] + }, { + "r" : "370", "s" : [ { - "value" : [ "period" ] + "value" : [ "start of " ] + }, { + "r" : "371", + "s" : [ { + "value" : [ "X" ] + } ] } ] - } ] - } ] - } ] - } ] - } - } ], - "resultTypeSpecifier" : { - "localId" : "273", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "274", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "275", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - }, - "expression" : { - "localId" : "269", - "type" : "Query", - "resultTypeSpecifier" : { - "localId" : "270", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "271", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "272", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - }, - "source" : [ { - "localId" : "250", - "alias" : "e", - "resultTypeSpecifier" : { - "localId" : "256", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "257", - "name" : "{https://github.com/cqframework/cql-execution/simple}Encounter", - "type" : "NamedTypeSpecifier" - } - }, - "expression" : { - "localId" : "251", - "dataType" : "{https://github.com/cqframework/cql-execution/simple}Encounter", - "type" : "Retrieve", - "resultTypeSpecifier" : { - "localId" : "254", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "255", - "name" : "{https://github.com/cqframework/cql-execution/simple}Encounter", - "type" : "NamedTypeSpecifier" - } - }, - "include" : [ ], - "codeFilter" : [ ], - "dateFilter" : [ ], - "otherFilter" : [ ] - } - } ], - "let" : [ ], - "relationship" : [ ], - "return" : { - "localId" : "259", - "resultTypeSpecifier" : { - "localId" : "266", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "267", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "268", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - }, - "expression" : { - "localId" : "261", - "path" : "period", - "scope" : "e", - "type" : "Property", - "resultTypeSpecifier" : { - "localId" : "264", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "265", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - } - } - } - }, { - "localId" : "278", - "name" : "expressionStartingAggregation", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "278", - "s" : [ { - "value" : [ "","define ","expressionStartingAggregation",":\n " ] - }, { - "r" : "408", - "s" : [ { - "s" : [ { - "r" : "279", - "s" : [ { - "r" : "280", - "s" : [ { - "s" : [ { - "value" : [ "encounterPeriods" ] - } ] - } ] - }, { - "value" : [ " ","M" ] - } ] - } ] - }, { - "value" : [ "\n " ] - }, { - "r" : "288", - "s" : [ { - "value" : [ "aggregate ","R"," " ] - }, { - "r" : "289", - "s" : [ { - "value" : [ "starting (" ] - }, { - "r" : "289", - "s" : [ { - "r" : "290", - "value" : [ "List{}"," as " ] - }, { - "r" : "293", - "s" : [ { - "value" : [ "List<" ] - }, { - "r" : "294", - "s" : [ { - "value" : [ "Interval<" ] - }, { - "r" : "295", - "s" : [ { - "value" : [ "DateTime" ] - } ] - }, { - "value" : [ ">" ] - } ] - }, { - "value" : [ ">" ] - } ] - } ] - }, { - "value" : [ ")" ] - } ] + } ] + } ] }, { - "value" : [ ": " ] + "value" : [ "\n " ] }, { - "r" : "395", - "s" : [ { - "r" : "312", + "r" : "378", + "s" : [ { + "value" : [ "return " ] + }, { + "r" : "381", + "s" : [ { + "value" : [ "Interval[" ] + }, { + "r" : "379", "s" : [ { - "value" : [ "R" ] + "value" : [ "S" ] } ] - }, { - "value" : [ " union " ] - }, { - "r" : "316", + }, { + "value" : [ ", " ] + }, { + "r" : "380", "s" : [ { - "value" : [ "(" ] - }, { - "r" : "316", - "s" : [ { - "value" : [ "{\n " ] - }, { - "r" : "386", - "s" : [ { - "s" : [ { - "r" : "317", - "s" : [ { - "r" : "318", - "s" : [ { - "s" : [ { - "value" : [ "M" ] - } ] - } ] - }, { - "value" : [ " ","X" ] - } ] - } ] - }, { - "value" : [ "\n " ] - }, { - "s" : [ { - "value" : [ "let " ] - }, { - "r" : "324", - "s" : [ { - "value" : [ "S",": " ] - }, { - "r" : "366", - "s" : [ { - "value" : [ "Max","(" ] - }, { - "r" : "325", - "s" : [ { - "value" : [ "{ " ] - }, { - "r" : "326", - "s" : [ { - "r" : "327", - "s" : [ { - "value" : [ "end of " ] - }, { - "r" : "337", - "s" : [ { - "value" : [ "Last","(" ] - }, { - "r" : "328", - "s" : [ { - "value" : [ "R" ] - } ] - }, { - "value" : [ ")" ] - } ] - } ] - }, { - "value" : [ "+" ] - }, { - "r" : "345", - "s" : [ { - "value" : [ "1 ","day" ] - } ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "356", - "s" : [ { - "r" : "348", - "value" : [ "DateTime","(","1970",",","01",",","01",")" ] - } ] - }, { - "value" : [ "}" ] - } ] - }, { - "value" : [ ")" ] - } ] - } ] - }, { - "value" : [ ",\n " ] - }, { - "r" : "369", - "s" : [ { - "value" : [ "E",": " ] - }, { - "r" : "370", - "s" : [ { - "value" : [ "start of " ] - }, { - "r" : "371", - "s" : [ { - "value" : [ "X" ] - } ] - } ] - } ] - } ] - }, { - "value" : [ "\n " ] - }, { - "r" : "378", - "s" : [ { - "value" : [ "return " ] - }, { - "r" : "381", - "s" : [ { - "value" : [ "Interval[" ] - }, { - "r" : "379", - "s" : [ { - "value" : [ "S" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "380", - "s" : [ { - "value" : [ "E" ] - } ] - }, { - "value" : [ "]" ] - } ] - } ] - } ] - }, { - "value" : [ "\n }" ] - } ] - }, { - "value" : [ ")" ] + "value" : [ "E" ] } ] - } ] + }, { + "value" : [ "]" ] + } ] + } ] } ] - } ] + }, { + "value" : [ "\n }" ] + } ] + }, { + "value" : [ ")" ] + } ] } ] - } - } ], + } ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "412", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "413", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "414", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + }, + "expression" : { + "type" : "Query", + "localId" : "408", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "409", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "410", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "411", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + }, + "source" : [ { + "localId" : "279", + "alias" : "M", + "annotation" : [ ], "resultTypeSpecifier" : { - "localId" : "412", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "413", + "type" : "ListTypeSpecifier", + "localId" : "284", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "285", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "286", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + }, + "expression" : { + "type" : "ExpressionRef", + "localId" : "280", + "name" : "encounterPeriods", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "281", + "annotation" : [ ], + "elementType" : { "type" : "IntervalTypeSpecifier", + "localId" : "282", + "annotation" : [ ], "pointType" : { - "localId" : "414", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" + "type" : "NamedTypeSpecifier", + "localId" : "283", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] } - } + } + } + } + } ], + "let" : [ ], + "relationship" : [ ], + "aggregate" : { + "localId" : "288", + "identifier" : "R", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "405", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "406", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "407", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } }, "expression" : { - "localId" : "408", - "type" : "Query", - "resultTypeSpecifier" : { - "localId" : "409", + "type" : "Union", + "localId" : "395", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "402", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "403", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "404", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + }, + "signature" : [ { + "type" : "ListTypeSpecifier", + "localId" : "396", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "397", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "398", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + }, { + "type" : "ListTypeSpecifier", + "localId" : "399", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "400", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "401", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + } ], + "operand" : [ { + "type" : "QueryLetRef", + "localId" : "312", + "name" : "R", + "annotation" : [ ], + "resultTypeSpecifier" : { "type" : "ListTypeSpecifier", + "localId" : "313", + "annotation" : [ ], "elementType" : { - "localId" : "410", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "411", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } + "type" : "IntervalTypeSpecifier", + "localId" : "314", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "315", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } } - }, - "source" : [ { - "localId" : "279", - "alias" : "M", - "resultTypeSpecifier" : { - "localId" : "284", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "285", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "286", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - }, - "expression" : { - "localId" : "280", - "name" : "encounterPeriods", - "type" : "ExpressionRef", - "resultTypeSpecifier" : { - "localId" : "281", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "282", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "283", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - } + } + }, { + "type" : "List", + "localId" : "316", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "392", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "393", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "394", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } } - } ], - "let" : [ ], - "relationship" : [ ], - "aggregate" : { - "localId" : "288", - "identifier" : "R", + }, + "element" : [ { + "type" : "Query", + "localId" : "386", + "annotation" : [ ], "resultTypeSpecifier" : { - "localId" : "405", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "406", + "type" : "IntervalTypeSpecifier", + "localId" : "387", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "388", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "source" : [ { + "localId" : "317", + "alias" : "X", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "321", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "322", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "expression" : { + "type" : "AliasRef", + "localId" : "318", + "name" : "M", + "annotation" : [ ], + "resultTypeSpecifier" : { "type" : "IntervalTypeSpecifier", + "localId" : "319", + "annotation" : [ ], "pointType" : { - "localId" : "407", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - }, - "expression" : { - "localId" : "395", - "type" : "Union", - "resultTypeSpecifier" : { - "localId" : "402", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "403", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "404", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } + "type" : "NamedTypeSpecifier", + "localId" : "320", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] } - }, - "signature" : [ { - "localId" : "396", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "397", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "398", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - }, { - "localId" : "399", + } + } + } ], + "let" : [ { + "localId" : "324", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "identifier" : "S", + "annotation" : [ ], + "expression" : { + "type" : "Max", + "localId" : "366", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { "type" : "ListTypeSpecifier", + "localId" : "367", + "annotation" : [ ], "elementType" : { - "localId" : "400", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "401", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - } ], - "operand" : [ { - "localId" : "312", - "name" : "R", - "type" : "QueryLetRef", - "resultTypeSpecifier" : { - "localId" : "313", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "314", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "315", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } + "type" : "NamedTypeSpecifier", + "localId" : "368", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] } - }, { - "localId" : "316", + } ], + "source" : { "type" : "List", + "localId" : "325", + "annotation" : [ ], "resultTypeSpecifier" : { - "localId" : "392", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "393", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "394", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } + "type" : "ListTypeSpecifier", + "localId" : "360", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "361", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } }, "element" : [ { - "localId" : "386", - "type" : "Query", - "resultTypeSpecifier" : { - "localId" : "387", + "type" : "Add", + "localId" : "326", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "346", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "347", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "End", + "localId" : "327", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { "type" : "IntervalTypeSpecifier", + "localId" : "343", + "annotation" : [ ], "pointType" : { - "localId" : "388", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" + "type" : "NamedTypeSpecifier", + "localId" : "344", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] } - }, - "source" : [ { - "localId" : "317", - "alias" : "X", + } ], + "operand" : { + "type" : "Last", + "localId" : "337", + "annotation" : [ ], "resultTypeSpecifier" : { - "localId" : "321", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "322", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } + "type" : "IntervalTypeSpecifier", + "localId" : "341", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "342", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } }, - "expression" : { - "localId" : "318", - "name" : "M", - "type" : "AliasRef", - "resultTypeSpecifier" : { - "localId" : "319", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "320", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - } - } ], - "let" : [ { - "localId" : "324", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "identifier" : "S", - "expression" : { - "localId" : "366", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "Max", - "signature" : [ { - "localId" : "367", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "368", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } ], - "source" : { - "localId" : "325", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "360", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "361", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "element" : [ { - "localId" : "326", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "Add", - "signature" : [ { - "localId" : "346", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "347", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "327", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "End", - "signature" : [ { - "localId" : "343", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "344", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : { - "localId" : "337", - "type" : "Last", - "resultTypeSpecifier" : { - "localId" : "341", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "342", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "signature" : [ { - "localId" : "338", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "339", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "340", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - } ], - "source" : { - "localId" : "328", - "name" : "R", - "type" : "QueryLetRef", - "resultTypeSpecifier" : { - "localId" : "329", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "330", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "331", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - } - } - } - }, { - "localId" : "345", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "value" : 1, - "unit" : "day", - "type" : "Quantity" - } ] - }, { - "localId" : "356", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "DateTime", - "signature" : [ { - "localId" : "357", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "358", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "359", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "year" : { - "localId" : "348", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1970", - "type" : "Literal" - }, - "month" : { - "localId" : "349", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "01", - "type" : "Literal" - }, - "day" : { - "localId" : "350", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "01", - "type" : "Literal" - } - } ] - } - } - }, { - "localId" : "369", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "identifier" : "E", - "expression" : { - "localId" : "370", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "Start", - "signature" : [ { - "localId" : "374", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "375", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : { - "localId" : "371", - "name" : "X", - "type" : "AliasRef", - "resultTypeSpecifier" : { - "localId" : "372", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "373", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - } - } - } ], - "relationship" : [ ], - "return" : { - "localId" : "378", - "resultTypeSpecifier" : { - "localId" : "384", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "385", + "signature" : [ { + "type" : "ListTypeSpecifier", + "localId" : "338", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "339", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "340", "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "expression" : { - "localId" : "381", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "382", + "annotation" : [ ] + } + } + } ], + "source" : { + "type" : "QueryLetRef", + "localId" : "328", + "name" : "R", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "329", + "annotation" : [ ], + "elementType" : { "type" : "IntervalTypeSpecifier", + "localId" : "330", + "annotation" : [ ], "pointType" : { - "localId" : "383", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" + "type" : "NamedTypeSpecifier", + "localId" : "331", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] } - }, - "low" : { - "localId" : "379", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "name" : "S", - "type" : "QueryLetRef" - }, - "high" : { - "localId" : "380", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "name" : "E", - "type" : "QueryLetRef" - } + } + } } - } + } + }, { + "type" : "Quantity", + "localId" : "345", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "value" : 1, + "unit" : "day", + "annotation" : [ ] + } ] + }, { + "type" : "DateTime", + "localId" : "356", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "357", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "358", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "359", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "year" : { + "type" : "Literal", + "localId" : "348", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1970", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "349", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "01", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "350", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "01", + "annotation" : [ ] + } } ] - } ] - }, - "starting" : { - "localId" : "289", - "strict" : false, - "type" : "As", - "resultTypeSpecifier" : { - "localId" : "304", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "305", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "306", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } + } + } + }, { + "localId" : "369", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "identifier" : "E", + "annotation" : [ ], + "expression" : { + "type" : "Start", + "localId" : "370", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "374", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "375", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] } - }, - "signature" : [ ], - "operand" : { - "localId" : "290", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "291", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "292", - "name" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "NamedTypeSpecifier" - } - }, - "element" : [ ] - }, - "asTypeSpecifier" : { - "localId" : "293", - "type" : "ListTypeSpecifier", + } ], + "operand" : { + "type" : "AliasRef", + "localId" : "371", + "name" : "X", + "annotation" : [ ], "resultTypeSpecifier" : { - "localId" : "298", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "299", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "300", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - }, - "elementType" : { - "localId" : "294", - "type" : "IntervalTypeSpecifier", - "resultTypeSpecifier" : { - "localId" : "296", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "297", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, - "pointType" : { - "localId" : "295", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } + "type" : "IntervalTypeSpecifier", + "localId" : "372", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "373", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + } + } + } ], + "relationship" : [ ], + "return" : { + "localId" : "378", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "384", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "385", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "expression" : { + "type" : "Interval", + "localId" : "381", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "382", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "383", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] } - } + }, + "low" : { + "type" : "QueryLetRef", + "localId" : "379", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "name" : "S", + "annotation" : [ ] + }, + "high" : { + "type" : "QueryLetRef", + "localId" : "380", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "name" : "E", + "annotation" : [ ] + } + } + } + } ] + } ] + }, + "starting" : { + "type" : "As", + "localId" : "289", + "strict" : false, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "304", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "305", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "306", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + }, + "signature" : [ ], + "operand" : { + "type" : "List", + "localId" : "290", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "291", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "292", + "name" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } + }, + "element" : [ ] + }, + "asTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "293", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "298", + "annotation" : [ ], + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "299", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "300", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + }, + "elementType" : { + "type" : "IntervalTypeSpecifier", + "localId" : "294", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "296", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "297", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "295", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] } - } + } + } } - }, { - "localId" : "417", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "name" : "literalStartingAggregation", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "417", + } + } + }, { + "localId" : "417", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "name" : "literalStartingAggregation", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "417", + "s" : [ { + "value" : [ "", "define ", "literalStartingAggregation", ":\n " ] + }, { + "r" : "452", + "s" : [ { + "s" : [ { + "r" : "418", + "s" : [ { + "r" : "419", + "s" : [ { + "value" : [ "(" ] + }, { + "r" : "419", + "s" : [ { + "r" : "420", + "value" : [ "{", "1", ",", "2", ",", "3", ",", "4", ",", "5", ",", "1", ",", "2", ",", "3", ",", "4", ",", "5", "}" ] + } ] + }, { + "value" : [ ")" ] + } ] + }, { + "value" : [ " ", "Num" ] + } ] + } ] + }, { + "value" : [ "\n " ] + }, { + "r" : "437", + "s" : [ { + "value" : [ "aggregate distinct ", "str", " " ] + }, { + "r" : "438", + "s" : [ { + "value" : [ "starting " ] + }, { + "r" : "438", + "s" : [ { + "value" : [ "'Start'" ] + } ] + } ] + }, { + "value" : [ " : " ] + }, { + "r" : "451", "s" : [ { - "value" : [ "","define ","literalStartingAggregation",":\n " ] + "r" : "442", + "s" : [ { + "value" : [ "str" ] + } ] }, { - "r" : "452", - "s" : [ { + "value" : [ " + " ] + }, { + "r" : "447", + "s" : [ { + "value" : [ "ToString", "(" ] + }, { + "r" : "443", + "s" : [ { + "value" : [ "Num" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Query", + "localId" : "452", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ], + "source" : [ { + "localId" : "418", + "alias" : "Num", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "434", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "435", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "expression" : { + "type" : "List", + "localId" : "419", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "432", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "433", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "element" : [ { + "type" : "Literal", + "localId" : "420", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "421", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "422", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "423", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "4", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "424", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "5", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "425", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "426", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "427", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "428", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "4", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "429", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "5", + "annotation" : [ ] + } ] + } + } ], + "let" : [ ], + "relationship" : [ ], + "aggregate" : { + "localId" : "437", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "identifier" : "str", + "distinct" : true, + "annotation" : [ ], + "expression" : { + "type" : "Concatenate", + "localId" : "451", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ], + "signature" : [ ], + "operand" : [ { + "type" : "QueryLetRef", + "localId" : "442", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "name" : "str", + "annotation" : [ ] + }, { + "type" : "ToString", + "localId" : "447", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "448", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "operand" : { + "type" : "AliasRef", + "localId" : "443", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "name" : "Num", + "annotation" : [ ] + } + } ] + }, + "starting" : { + "type" : "Literal", + "localId" : "438", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "Start", + "annotation" : [ ] + } + } + } + }, { + "localId" : "455", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "name" : "quantityStartingAggregation", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "455", + "s" : [ { + "value" : [ "", "define ", "quantityStartingAggregation", ":\n " ] + }, { + "r" : "479", + "s" : [ { + "s" : [ { + "r" : "456", + "s" : [ { + "r" : "457", + "s" : [ { + "value" : [ "(" ] + }, { + "r" : "457", + "s" : [ { + "value" : [ "{" ] + }, { + "r" : "458", "s" : [ { - "r" : "418", - "s" : [ { - "r" : "419", - "s" : [ { - "value" : [ "(" ] - }, { - "r" : "419", - "s" : [ { - "r" : "420", - "value" : [ "{","1",",","2",",","3",",","4",",","5",",","1",",","2",",","3",",","4",",","5","}" ] - } ] - }, { - "value" : [ ")" ] - } ] - }, { - "value" : [ " ","Num" ] - } ] + "value" : [ "1 ", "'ml'" ] } ] - }, { - "value" : [ "\n " ] - }, { - "r" : "437", + }, { + "value" : [ "," ] + }, { + "r" : "459", "s" : [ { - "value" : [ "aggregate distinct ","str"," " ] - }, { - "r" : "438", - "s" : [ { - "value" : [ "starting " ] - }, { - "r" : "438", - "s" : [ { - "value" : [ "'Start'" ] - } ] - } ] - }, { - "value" : [ " : " ] - }, { - "r" : "451", - "s" : [ { - "r" : "442", - "s" : [ { - "value" : [ "str" ] - } ] - }, { - "value" : [ " + " ] - }, { - "r" : "447", - "s" : [ { - "value" : [ "ToString","(" ] - }, { - "r" : "443", - "s" : [ { - "value" : [ "Num" ] - } ] - }, { - "value" : [ ")" ] - } ] - } ] + "value" : [ "2 ", "'ml'" ] + } ] + }, { + "value" : [ "," ] + }, { + "r" : "460", + "s" : [ { + "value" : [ "3 ", "'ml'" ] } ] - } ] + }, { + "value" : [ "," ] + }, { + "r" : "461", + "s" : [ { + "value" : [ "4 ", "'ml'" ] + } ] + }, { + "value" : [ "," ] + }, { + "r" : "462", + "s" : [ { + "value" : [ "5 ", "'ml'" ] + } ] + }, { + "value" : [ "}" ] + } ] + }, { + "value" : [ ")" ] + } ] + }, { + "value" : [ " ", "Num" ] } ] - } - } ], + } ] + }, { + "value" : [ "\n " ] + }, { + "r" : "470", + "s" : [ { + "value" : [ "aggregate distinct ", "Sum", " " ] + }, { + "r" : "471", + "s" : [ { + "value" : [ "starting " ] + }, { + "r" : "471", + "s" : [ { + "value" : [ "0 ", "'ml'" ] + } ] + } ] + }, { + "value" : [ ": " ] + }, { + "r" : "474", + "s" : [ { + "r" : "475", + "s" : [ { + "value" : [ "Sum" ] + } ] + }, { + "value" : [ " + " ] + }, { + "r" : "476", + "s" : [ { + "value" : [ "Num" ] + } ] + } ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Query", + "localId" : "479", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ], + "source" : [ { + "localId" : "456", + "alias" : "Num", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "467", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "468", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } + }, "expression" : { - "localId" : "452", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "type" : "Query", - "source" : [ { - "localId" : "418", - "alias" : "Num", - "resultTypeSpecifier" : { - "localId" : "434", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "435", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "expression" : { - "localId" : "419", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "432", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "433", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "element" : [ { - "localId" : "420", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, { - "localId" : "421", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal" - }, { - "localId" : "422", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, { - "localId" : "423", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "4", - "type" : "Literal" - }, { - "localId" : "424", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal" - }, { - "localId" : "425", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, { - "localId" : "426", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal" - }, { - "localId" : "427", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, { - "localId" : "428", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "4", - "type" : "Literal" - }, { - "localId" : "429", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal" - } ] - } - } ], - "let" : [ ], - "relationship" : [ ], - "aggregate" : { - "localId" : "437", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "identifier" : "str", - "distinct" : true, - "expression" : { - "localId" : "451", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "type" : "Concatenate", - "signature" : [ ], - "operand" : [ { - "localId" : "442", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "name" : "str", - "type" : "QueryLetRef" - }, { - "localId" : "447", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "type" : "ToString", - "signature" : [ { - "localId" : "448", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "443", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "name" : "Num", - "type" : "AliasRef" - } - } ] - }, - "starting" : { - "localId" : "438", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "Start", - "type" : "Literal" - } - } + "type" : "List", + "localId" : "457", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "465", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "466", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } + }, + "element" : [ { + "type" : "Quantity", + "localId" : "458", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "value" : 1, + "unit" : "ml", + "annotation" : [ ] + }, { + "type" : "Quantity", + "localId" : "459", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "value" : 2, + "unit" : "ml", + "annotation" : [ ] + }, { + "type" : "Quantity", + "localId" : "460", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "value" : 3, + "unit" : "ml", + "annotation" : [ ] + }, { + "type" : "Quantity", + "localId" : "461", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "value" : 4, + "unit" : "ml", + "annotation" : [ ] + }, { + "type" : "Quantity", + "localId" : "462", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "value" : 5, + "unit" : "ml", + "annotation" : [ ] + } ] } - }, { - "localId" : "455", + } ], + "let" : [ ], + "relationship" : [ ], + "aggregate" : { + "localId" : "470", "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "name" : "quantityStartingAggregation", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "455", + "identifier" : "Sum", + "distinct" : true, + "annotation" : [ ], + "expression" : { + "type" : "Add", + "localId" : "474", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "477", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "478", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "QueryLetRef", + "localId" : "475", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "name" : "Sum", + "annotation" : [ ] + }, { + "type" : "AliasRef", + "localId" : "476", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "name" : "Num", + "annotation" : [ ] + } ] + }, + "starting" : { + "type" : "Quantity", + "localId" : "471", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "value" : 0, + "unit" : "ml", + "annotation" : [ ] + } + } + } + }, { + "localId" : "482", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "name" : "allAggregation", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "482", + "s" : [ { + "value" : [ "", "define ", "allAggregation", ":\n " ] + }, { + "r" : "511", + "s" : [ { + "s" : [ { + "r" : "483", "s" : [ { - "value" : [ "","define ","quantityStartingAggregation",":\n " ] + "r" : "484", + "s" : [ { + "value" : [ "(" ] + }, { + "r" : "484", + "s" : [ { + "r" : "485", + "value" : [ "{", "1", ",", "2", ",", "3", ",", "4", ",", "5", ",", "1", ",", "2", ",", "3", ",", "4", ",", "5", "}" ] + } ] + }, { + "value" : [ ")" ] + } ] }, { - "r" : "479", - "s" : [ { - "s" : [ { - "r" : "456", - "s" : [ { - "r" : "457", - "s" : [ { - "value" : [ "(" ] - }, { - "r" : "457", - "s" : [ { - "value" : [ "{" ] - }, { - "r" : "458", - "s" : [ { - "value" : [ "1 ","'ml'" ] - } ] - }, { - "value" : [ "," ] - }, { - "r" : "459", - "s" : [ { - "value" : [ "2 ","'ml'" ] - } ] - }, { - "value" : [ "," ] - }, { - "r" : "460", - "s" : [ { - "value" : [ "3 ","'ml'" ] - } ] - }, { - "value" : [ "," ] - }, { - "r" : "461", - "s" : [ { - "value" : [ "4 ","'ml'" ] - } ] - }, { - "value" : [ "," ] - }, { - "r" : "462", - "s" : [ { - "value" : [ "5 ","'ml'" ] - } ] - }, { - "value" : [ "}" ] - } ] - }, { - "value" : [ ")" ] - } ] - }, { - "value" : [ " ","Num" ] - } ] - } ] - }, { - "value" : [ "\n " ] - }, { - "r" : "470", - "s" : [ { - "value" : [ "aggregate distinct ","Sum"," " ] - }, { - "r" : "471", - "s" : [ { - "value" : [ "starting " ] - }, { - "r" : "471", - "s" : [ { - "value" : [ "0 ","'ml'" ] - } ] - } ] - }, { - "value" : [ ": " ] - }, { - "r" : "474", - "s" : [ { - "r" : "475", - "s" : [ { - "value" : [ "Sum" ] - } ] - }, { - "value" : [ " + " ] - }, { - "r" : "476", - "s" : [ { - "value" : [ "Num" ] - } ] - } ] - } ] - } ] + "value" : [ " ", "Num" ] } ] - } - } ], - "expression" : { - "localId" : "479", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "Query", - "source" : [ { - "localId" : "456", - "alias" : "Num", - "resultTypeSpecifier" : { - "localId" : "467", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "468", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } - }, - "expression" : { - "localId" : "457", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "465", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "466", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } - }, - "element" : [ { - "localId" : "458", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "value" : 1, - "unit" : "ml", - "type" : "Quantity" - }, { - "localId" : "459", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "value" : 2, - "unit" : "ml", - "type" : "Quantity" - }, { - "localId" : "460", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "value" : 3, - "unit" : "ml", - "type" : "Quantity" - }, { - "localId" : "461", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "value" : 4, - "unit" : "ml", - "type" : "Quantity" - }, { - "localId" : "462", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "value" : 5, - "unit" : "ml", - "type" : "Quantity" - } ] - } - } ], - "let" : [ ], - "relationship" : [ ], - "aggregate" : { - "localId" : "470", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "identifier" : "Sum", - "distinct" : true, - "expression" : { - "localId" : "474", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "Add", - "signature" : [ { - "localId" : "477", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "478", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "475", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "name" : "Sum", - "type" : "QueryLetRef" - }, { - "localId" : "476", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "name" : "Num", - "type" : "AliasRef" - } ] - }, - "starting" : { - "localId" : "471", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "value" : 0, - "unit" : "ml", - "type" : "Quantity" - } - } - } - }, { - "localId" : "482", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "name" : "allAggregation", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "482", + } ] + }, { + "value" : [ "\n " ] + }, { + "r" : "502", + "s" : [ { + "value" : [ "aggregate all ", "Sum", " " ] + }, { + "r" : "503", + "s" : [ { + "r" : "503", + "value" : [ "starting ", "0" ] + } ] + }, { + "value" : [ ": " ] + }, { + "r" : "506", "s" : [ { - "value" : [ "","define ","allAggregation",":\n " ] + "r" : "507", + "s" : [ { + "value" : [ "Sum" ] + } ] }, { - "r" : "511", - "s" : [ { - "s" : [ { - "r" : "483", - "s" : [ { - "r" : "484", - "s" : [ { - "value" : [ "(" ] - }, { - "r" : "484", - "s" : [ { - "r" : "485", - "value" : [ "{","1",",","2",",","3",",","4",",","5",",","1",",","2",",","3",",","4",",","5","}" ] - } ] - }, { - "value" : [ ")" ] - } ] - }, { - "value" : [ " ","Num" ] - } ] - } ] - }, { - "value" : [ "\n " ] - }, { - "r" : "502", - "s" : [ { - "value" : [ "aggregate all ","Sum"," " ] - }, { - "r" : "503", - "s" : [ { - "r" : "503", - "value" : [ "starting ","0" ] - } ] - }, { - "value" : [ ": " ] - }, { - "r" : "506", - "s" : [ { - "r" : "507", - "s" : [ { - "value" : [ "Sum" ] - } ] - }, { - "value" : [ " + " ] - }, { - "r" : "508", - "s" : [ { - "value" : [ "Num" ] - } ] - } ] - } ] - } ] + "value" : [ " + " ] + }, { + "r" : "508", + "s" : [ { + "value" : [ "Num" ] + } ] } ] - } - } ], + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Query", + "localId" : "511", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ], + "source" : [ { + "localId" : "483", + "alias" : "Num", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "499", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "500", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, "expression" : { - "localId" : "511", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "Query", - "source" : [ { - "localId" : "483", - "alias" : "Num", - "resultTypeSpecifier" : { - "localId" : "499", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "500", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "expression" : { - "localId" : "484", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "497", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "498", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "element" : [ { - "localId" : "485", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, { - "localId" : "486", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal" - }, { - "localId" : "487", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, { - "localId" : "488", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "4", - "type" : "Literal" - }, { - "localId" : "489", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal" - }, { - "localId" : "490", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, { - "localId" : "491", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal" - }, { - "localId" : "492", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, { - "localId" : "493", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "4", - "type" : "Literal" - }, { - "localId" : "494", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal" - } ] - } - } ], - "let" : [ ], - "relationship" : [ ], - "aggregate" : { - "localId" : "502", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "identifier" : "Sum", - "distinct" : false, - "expression" : { - "localId" : "506", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "Add", - "signature" : [ { - "localId" : "509", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "510", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "507", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "name" : "Sum", - "type" : "QueryLetRef" - }, { - "localId" : "508", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "name" : "Num", - "type" : "AliasRef" - } ] - }, - "starting" : { - "localId" : "503", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - } + "type" : "List", + "localId" : "484", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "497", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "498", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "element" : [ { + "type" : "Literal", + "localId" : "485", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "486", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "487", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "488", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "4", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "489", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "5", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "490", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "491", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "492", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "493", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "4", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "494", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "5", + "annotation" : [ ] + } ] } - }, { - "localId" : "514", + } ], + "let" : [ ], + "relationship" : [ ], + "aggregate" : { + "localId" : "502", "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "name" : "distinctAggregation", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "514", + "identifier" : "Sum", + "distinct" : false, + "annotation" : [ ], + "expression" : { + "type" : "Add", + "localId" : "506", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "509", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "510", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "QueryLetRef", + "localId" : "507", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "name" : "Sum", + "annotation" : [ ] + }, { + "type" : "AliasRef", + "localId" : "508", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "name" : "Num", + "annotation" : [ ] + } ] + }, + "starting" : { + "type" : "Literal", + "localId" : "503", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + } + } + }, { + "localId" : "514", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "name" : "distinctAggregation", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "514", + "s" : [ { + "value" : [ "", "define ", "distinctAggregation", ":\n " ] + }, { + "r" : "543", + "s" : [ { + "s" : [ { + "r" : "515", "s" : [ { - "value" : [ "","define ","distinctAggregation",":\n " ] + "r" : "516", + "s" : [ { + "value" : [ "(" ] + }, { + "r" : "516", + "s" : [ { + "r" : "517", + "value" : [ "{", "1", ",", "2", ",", "3", ",", "4", ",", "5", ",", "1", ",", "2", ",", "3", ",", "4", ",", "5", "}" ] + } ] + }, { + "value" : [ ")" ] + } ] }, { - "r" : "543", - "s" : [ { - "s" : [ { - "r" : "515", - "s" : [ { - "r" : "516", - "s" : [ { - "value" : [ "(" ] - }, { - "r" : "516", - "s" : [ { - "r" : "517", - "value" : [ "{","1",",","2",",","3",",","4",",","5",",","1",",","2",",","3",",","4",",","5","}" ] - } ] - }, { - "value" : [ ")" ] - } ] - }, { - "value" : [ " ","Num" ] - } ] - } ] - }, { - "value" : [ "\n " ] - }, { - "r" : "534", - "s" : [ { - "value" : [ "aggregate distinct ","Sum"," " ] - }, { - "r" : "535", - "s" : [ { - "r" : "535", - "value" : [ "starting ","0" ] - } ] - }, { - "value" : [ ": " ] - }, { - "r" : "538", - "s" : [ { - "r" : "539", - "s" : [ { - "value" : [ "Sum" ] - } ] - }, { - "value" : [ " + " ] - }, { - "r" : "540", - "s" : [ { - "value" : [ "Num" ] - } ] - } ] - } ] - } ] + "value" : [ " ", "Num" ] } ] - } - } ], + } ] + }, { + "value" : [ "\n " ] + }, { + "r" : "534", + "s" : [ { + "value" : [ "aggregate distinct ", "Sum", " " ] + }, { + "r" : "535", + "s" : [ { + "r" : "535", + "value" : [ "starting ", "0" ] + } ] + }, { + "value" : [ ": " ] + }, { + "r" : "538", + "s" : [ { + "r" : "539", + "s" : [ { + "value" : [ "Sum" ] + } ] + }, { + "value" : [ " + " ] + }, { + "r" : "540", + "s" : [ { + "value" : [ "Num" ] + } ] + } ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Query", + "localId" : "543", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ], + "source" : [ { + "localId" : "515", + "alias" : "Num", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "531", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "532", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, "expression" : { - "localId" : "543", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "Query", - "source" : [ { - "localId" : "515", - "alias" : "Num", - "resultTypeSpecifier" : { - "localId" : "531", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "532", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "expression" : { - "localId" : "516", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "529", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "530", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "element" : [ { - "localId" : "517", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, { - "localId" : "518", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal" - }, { - "localId" : "519", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, { - "localId" : "520", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "4", - "type" : "Literal" - }, { - "localId" : "521", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal" - }, { - "localId" : "522", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, { - "localId" : "523", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal" - }, { - "localId" : "524", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, { - "localId" : "525", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "4", - "type" : "Literal" - }, { - "localId" : "526", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal" - } ] - } - } ], - "let" : [ ], - "relationship" : [ ], - "aggregate" : { - "localId" : "534", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "identifier" : "Sum", - "distinct" : true, - "expression" : { - "localId" : "538", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "Add", - "signature" : [ { - "localId" : "541", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "542", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "539", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "name" : "Sum", - "type" : "QueryLetRef" - }, { - "localId" : "540", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "name" : "Num", - "type" : "AliasRef" - } ] - }, - "starting" : { - "localId" : "535", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - } + "type" : "List", + "localId" : "516", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "529", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "530", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "element" : [ { + "type" : "Literal", + "localId" : "517", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "518", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "519", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "520", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "4", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "521", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "5", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "522", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "523", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "524", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "525", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "4", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "526", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "5", + "annotation" : [ ] + } ] } - } ] - } - } + } ], + "let" : [ ], + "relationship" : [ ], + "aggregate" : { + "localId" : "534", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "identifier" : "Sum", + "distinct" : true, + "annotation" : [ ], + "expression" : { + "type" : "Add", + "localId" : "538", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "541", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "542", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "QueryLetRef", + "localId" : "539", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "name" : "Sum", + "annotation" : [ ] + }, { + "type" : "AliasRef", + "localId" : "540", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "name" : "Num", + "annotation" : [ ] + } ] + }, + "starting" : { + "type" : "Literal", + "localId" : "535", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + } + } + } ] + } + } } /* NullSourceQuery @@ -16108,1872 +18165,2142 @@ define SomeNullMultiSourceQuery: */ module.exports['NullSourceQuery'] = { - "library" : { - "localId" : "0", - "annotation" : [ { - "translatorVersion" : "3.27.0", - "translatorOptions" : "EnableDateRangeOptimization,EnableAnnotations,EnableResultTypes", - "signatureLevel" : "All", - "type" : "CqlToElmInfo" + "library" : { + "localId" : "0", + "annotation" : [ { + "type" : "CqlToElmInfo", + "translatorVersion" : "4.2.0", + "translatorOptions" : "EnableDateRangeOptimization,EnableAnnotations,EnableResultTypes", + "signatureLevel" : "All" + }, { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "433", + "s" : [ { + "value" : [ "", "library TestSnippet version '1'" ] + } ] + } + } ], + "identifier" : { + "id" : "TestSnippet", + "version" : "1" + }, + "schemaIdentifier" : { + "id" : "urn:hl7-org:elm", + "version" : "r1" + }, + "usings" : { + "def" : [ { + "localId" : "1", + "localIdentifier" : "System", + "uri" : "urn:hl7-org:elm-types:r1", + "annotation" : [ ] }, { - "type" : "Annotation", - "s" : { - "r" : "433", + "localId" : "206", + "localIdentifier" : "Simple", + "uri" : "https://github.com/cqframework/cql-execution/simple", + "version" : "1.0.0", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "206", "s" : [ { - "value" : [ "","library TestSnippet version '1'" ] + "value" : [ "", "using " ] + }, { + "s" : [ { + "value" : [ "Simple" ] + } ] + }, { + "value" : [ " version '1.0.0'" ] } ] - } - } ], - "identifier" : { - "id" : "TestSnippet", - "version" : "1" - }, - "schemaIdentifier" : { - "id" : "urn:hl7-org:elm", - "version" : "r1" - }, - "usings" : { - "def" : [ { - "localId" : "1", - "localIdentifier" : "System", - "uri" : "urn:hl7-org:elm-types:r1" - }, { - "localId" : "206", - "localIdentifier" : "Simple", - "uri" : "https://github.com/cqframework/cql-execution/simple", - "version" : "1.0.0", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "206", + } + } ] + } ] + }, + "contexts" : { + "def" : [ { + "localId" : "211", + "name" : "Patient", + "annotation" : [ ] + } ] + }, + "statements" : { + "def" : [ { + "localId" : "209", + "name" : "Patient", + "context" : "Patient", + "annotation" : [ ], + "expression" : { + "type" : "SingletonFrom", + "localId" : "210", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Retrieve", + "localId" : "208", + "dataType" : "{https://github.com/cqframework/cql-execution/simple}Patient", + "annotation" : [ ], + "include" : [ ], + "codeFilter" : [ ], + "dateFilter" : [ ], + "otherFilter" : [ ] + } + } + }, { + "localId" : "214", + "name" : "NullListQuery", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "214", + "s" : [ { + "value" : [ "", "define ", "NullListQuery", ":\n " ] + }, { + "r" : "260", + "s" : [ { + "s" : [ { + "r" : "215", "s" : [ { - "value" : [ "","using " ] - }, { - "s" : [ { - "value" : [ "Simple" ] - } ] + "r" : "216", + "s" : [ { + "value" : [ "(" ] + }, { + "r" : "216", + "s" : [ { + "r" : "217", + "value" : [ "null", " as " ] + }, { + "r" : "218", + "s" : [ { + "value" : [ "List<" ] + }, { + "r" : "219", + "s" : [ { + "value" : [ "Condition" ] + } ] + }, { + "value" : [ ">" ] + } ] + } ] + }, { + "value" : [ ")" ] + } ] }, { - "value" : [ " version '1.0.0'" ] + "value" : [ " ", "X" ] } ] - } - } ] - } ] - }, - "contexts" : { - "def" : [ { - "localId" : "211", - "name" : "Patient" - } ] - }, - "statements" : { - "def" : [ { - "localId" : "209", - "name" : "Patient", - "context" : "Patient", - "expression" : { - "localId" : "210", - "type" : "SingletonFrom", - "signature" : [ ], - "operand" : { - "localId" : "208", - "dataType" : "{https://github.com/cqframework/cql-execution/simple}Patient", - "type" : "Retrieve", - "include" : [ ], - "codeFilter" : [ ], - "dateFilter" : [ ], - "otherFilter" : [ ] - } - } - }, { - "localId" : "214", - "name" : "NullListQuery", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "214", + } ] + }, { + "value" : [ "\n " ] + }, { + "r" : "229", + "s" : [ { + "value" : [ "return " ] + }, { + "r" : "230", "s" : [ { - "value" : [ "","define ","NullListQuery",":\n " ] + "value" : [ "Tuple {\n " ] }, { - "r" : "260", - "s" : [ { + "s" : [ { + "value" : [ "start", ": " ] + }, { + "r" : "231", + "s" : [ { + "value" : [ "start of " ] + }, { + "r" : "233", "s" : [ { - "r" : "215", - "s" : [ { - "r" : "216", - "s" : [ { - "value" : [ "(" ] - }, { - "r" : "216", - "s" : [ { - "r" : "217", - "value" : [ "null"," as " ] - }, { - "r" : "218", - "s" : [ { - "value" : [ "List<" ] - }, { - "r" : "219", - "s" : [ { - "value" : [ "Condition" ] - } ] - }, { - "value" : [ ">" ] - } ] - } ] - }, { - "value" : [ ")" ] - } ] - }, { - "value" : [ " ","X" ] - } ] + "r" : "232", + "s" : [ { + "value" : [ "X" ] + } ] + }, { + "value" : [ "." ] + }, { + "r" : "233", + "s" : [ { + "value" : [ "period" ] + } ] } ] - }, { - "value" : [ "\n " ] - }, { - "r" : "229", + } ] + } ] + }, { + "value" : [ ",\n " ] + }, { + "s" : [ { + "value" : [ "end", ": " ] + }, { + "r" : "240", + "s" : [ { + "value" : [ "end of " ] + }, { + "r" : "242", "s" : [ { - "value" : [ "return " ] + "r" : "241", + "s" : [ { + "value" : [ "X" ] + } ] }, { - "r" : "230", - "s" : [ { - "value" : [ "Tuple {\n " ] - }, { - "s" : [ { - "value" : [ "start",": " ] - }, { - "r" : "231", - "s" : [ { - "value" : [ "start of " ] - }, { - "r" : "233", - "s" : [ { - "r" : "232", - "s" : [ { - "value" : [ "X" ] - } ] - }, { - "value" : [ "." ] - }, { - "r" : "233", - "s" : [ { - "value" : [ "period" ] - } ] - } ] - } ] - } ] - }, { - "value" : [ ",\n " ] - }, { - "s" : [ { - "value" : [ "end",": " ] - }, { - "r" : "240", - "s" : [ { - "value" : [ "end of " ] - }, { - "r" : "242", - "s" : [ { - "r" : "241", - "s" : [ { - "value" : [ "X" ] - } ] - }, { - "value" : [ "." ] - }, { - "r" : "242", - "s" : [ { - "value" : [ "period" ] - } ] - } ] - } ] - } ] - }, { - "value" : [ "\n }" ] - } ] + "value" : [ "." ] + }, { + "r" : "242", + "s" : [ { + "value" : [ "period" ] + } ] } ] - } ] - } ] - } - } ], - "resultTypeSpecifier" : { - "localId" : "267", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "268", - "type" : "TupleTypeSpecifier", - "element" : [ { - "localId" : "269", - "name" : "start", - "elementType" : { - "localId" : "270", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } + } ] + } ] }, { - "localId" : "271", - "name" : "end", - "elementType" : { - "localId" : "272", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } + "value" : [ "\n }" ] } ] - } + } ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "267", + "annotation" : [ ], + "elementType" : { + "type" : "TupleTypeSpecifier", + "localId" : "268", + "annotation" : [ ], + "element" : [ { + "localId" : "269", + "name" : "start", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "270", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, { + "localId" : "271", + "name" : "end", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "272", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } ] + } + }, + "expression" : { + "type" : "Query", + "localId" : "260", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "261", + "annotation" : [ ], + "elementType" : { + "type" : "TupleTypeSpecifier", + "localId" : "262", + "annotation" : [ ], + "element" : [ { + "localId" : "263", + "name" : "start", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "264", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, { + "localId" : "265", + "name" : "end", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "266", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } ] + } + }, + "source" : [ { + "localId" : "215", + "alias" : "X", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "226", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "227", + "name" : "{https://github.com/cqframework/cql-execution/simple}Condition", + "annotation" : [ ] + } }, "expression" : { - "localId" : "260", - "type" : "Query", - "resultTypeSpecifier" : { - "localId" : "261", + "type" : "As", + "localId" : "216", + "strict" : false, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "224", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "225", + "name" : "{https://github.com/cqframework/cql-execution/simple}Condition", + "annotation" : [ ] + } + }, + "signature" : [ ], + "operand" : { + "type" : "Null", + "localId" : "217", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + }, + "asTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "218", + "annotation" : [ ], + "resultTypeSpecifier" : { "type" : "ListTypeSpecifier", + "localId" : "220", + "annotation" : [ ], "elementType" : { - "localId" : "262", - "type" : "TupleTypeSpecifier", - "element" : [ { - "localId" : "263", - "name" : "start", - "elementType" : { - "localId" : "264", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "265", - "name" : "end", - "elementType" : { - "localId" : "266", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } ] + "type" : "NamedTypeSpecifier", + "localId" : "221", + "name" : "{https://github.com/cqframework/cql-execution/simple}Condition", + "annotation" : [ ] } - }, - "source" : [ { - "localId" : "215", - "alias" : "X", - "resultTypeSpecifier" : { - "localId" : "226", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "227", - "name" : "{https://github.com/cqframework/cql-execution/simple}Condition", - "type" : "NamedTypeSpecifier" - } - }, - "expression" : { - "localId" : "216", - "strict" : false, - "type" : "As", - "resultTypeSpecifier" : { - "localId" : "224", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "225", - "name" : "{https://github.com/cqframework/cql-execution/simple}Condition", - "type" : "NamedTypeSpecifier" - } - }, - "signature" : [ ], - "operand" : { - "localId" : "217", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - }, - "asTypeSpecifier" : { - "localId" : "218", - "type" : "ListTypeSpecifier", - "resultTypeSpecifier" : { - "localId" : "220", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "221", - "name" : "{https://github.com/cqframework/cql-execution/simple}Condition", - "type" : "NamedTypeSpecifier" - } - }, - "elementType" : { - "localId" : "219", - "resultTypeName" : "{https://github.com/cqframework/cql-execution/simple}Condition", - "name" : "{https://github.com/cqframework/cql-execution/simple}Condition", - "type" : "NamedTypeSpecifier" - } - } + }, + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "219", + "resultTypeName" : "{https://github.com/cqframework/cql-execution/simple}Condition", + "name" : "{https://github.com/cqframework/cql-execution/simple}Condition", + "annotation" : [ ] + } + } + } + } ], + "let" : [ ], + "relationship" : [ ], + "return" : { + "localId" : "229", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "254", + "annotation" : [ ], + "elementType" : { + "type" : "TupleTypeSpecifier", + "localId" : "255", + "annotation" : [ ], + "element" : [ { + "localId" : "256", + "name" : "start", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "257", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] } - } ], - "let" : [ ], - "relationship" : [ ], - "return" : { - "localId" : "229", - "resultTypeSpecifier" : { - "localId" : "254", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "255", - "type" : "TupleTypeSpecifier", - "element" : [ { - "localId" : "256", - "name" : "start", - "elementType" : { - "localId" : "257", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "258", - "name" : "end", - "elementType" : { - "localId" : "259", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } ] - } - }, - "expression" : { - "localId" : "230", - "type" : "Tuple", - "resultTypeSpecifier" : { - "localId" : "249", - "type" : "TupleTypeSpecifier", - "element" : [ { - "localId" : "250", - "name" : "start", - "elementType" : { - "localId" : "251", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "252", - "name" : "end", - "elementType" : { - "localId" : "253", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } ] - }, - "element" : [ { - "name" : "start", - "value" : { - "localId" : "231", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "Start", - "signature" : [ { - "localId" : "238", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "239", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : { - "localId" : "233", - "path" : "period", - "scope" : "X", - "type" : "Property", - "resultTypeSpecifier" : { - "localId" : "236", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "237", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - } - } - }, { - "name" : "end", - "value" : { - "localId" : "240", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "End", - "signature" : [ { - "localId" : "247", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "248", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : { - "localId" : "242", - "path" : "period", - "scope" : "X", - "type" : "Property", - "resultTypeSpecifier" : { - "localId" : "245", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "246", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - } - } - } ] + }, { + "localId" : "258", + "name" : "end", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "259", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } ] + } + }, + "expression" : { + "type" : "Tuple", + "localId" : "230", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "TupleTypeSpecifier", + "localId" : "249", + "annotation" : [ ], + "element" : [ { + "localId" : "250", + "name" : "start", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "251", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, { + "localId" : "252", + "name" : "end", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "253", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } ] + }, + "element" : [ { + "name" : "start", + "value" : { + "type" : "Start", + "localId" : "231", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "238", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "239", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } ], + "operand" : { + "type" : "Property", + "localId" : "233", + "path" : "period", + "scope" : "X", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "236", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "237", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } } - } + } + }, { + "name" : "end", + "value" : { + "type" : "End", + "localId" : "240", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "247", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "248", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } ], + "operand" : { + "type" : "Property", + "localId" : "242", + "path" : "period", + "scope" : "X", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "245", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "246", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + } + } + } ] } - }, { - "localId" : "275", - "name" : "NullObjectQuery", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "275", + } + } + }, { + "localId" : "275", + "name" : "NullObjectQuery", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "275", + "s" : [ { + "value" : [ "", "define ", "NullObjectQuery", ":\n " ] + }, { + "r" : "311", + "s" : [ { + "s" : [ { + "r" : "276", + "s" : [ { + "r" : "277", + "s" : [ { + "value" : [ "(" ] + }, { + "r" : "277", + "s" : [ { + "r" : "278", + "value" : [ "null", " as " ] + }, { + "r" : "279", + "s" : [ { + "value" : [ "Condition" ] + } ] + } ] + }, { + "value" : [ ")" ] + } ] + }, { + "value" : [ " ", "X" ] + } ] + } ] + }, { + "value" : [ "\n " ] + }, { + "r" : "281", + "s" : [ { + "value" : [ "return " ] + }, { + "r" : "282", "s" : [ { - "value" : [ "","define ","NullObjectQuery",":\n " ] + "value" : [ "Tuple {\n " ] }, { - "r" : "311", - "s" : [ { + "s" : [ { + "value" : [ "start", ": " ] + }, { + "r" : "283", + "s" : [ { + "value" : [ "start of " ] + }, { + "r" : "285", "s" : [ { - "r" : "276", - "s" : [ { - "r" : "277", - "s" : [ { - "value" : [ "(" ] - }, { - "r" : "277", - "s" : [ { - "r" : "278", - "value" : [ "null"," as " ] - }, { - "r" : "279", - "s" : [ { - "value" : [ "Condition" ] - } ] - } ] - }, { - "value" : [ ")" ] - } ] - }, { - "value" : [ " ","X" ] - } ] + "r" : "284", + "s" : [ { + "value" : [ "X" ] + } ] + }, { + "value" : [ "." ] + }, { + "r" : "285", + "s" : [ { + "value" : [ "period" ] + } ] } ] - }, { - "value" : [ "\n " ] - }, { - "r" : "281", + } ] + } ] + }, { + "value" : [ ",\n " ] + }, { + "s" : [ { + "value" : [ "end", ": " ] + }, { + "r" : "292", + "s" : [ { + "value" : [ "end of " ] + }, { + "r" : "294", "s" : [ { - "value" : [ "return " ] + "r" : "293", + "s" : [ { + "value" : [ "X" ] + } ] }, { - "r" : "282", - "s" : [ { - "value" : [ "Tuple {\n " ] - }, { - "s" : [ { - "value" : [ "start",": " ] - }, { - "r" : "283", - "s" : [ { - "value" : [ "start of " ] - }, { - "r" : "285", - "s" : [ { - "r" : "284", - "s" : [ { - "value" : [ "X" ] - } ] - }, { - "value" : [ "." ] - }, { - "r" : "285", - "s" : [ { - "value" : [ "period" ] - } ] - } ] - } ] - } ] - }, { - "value" : [ ",\n " ] - }, { - "s" : [ { - "value" : [ "end",": " ] - }, { - "r" : "292", - "s" : [ { - "value" : [ "end of " ] - }, { - "r" : "294", - "s" : [ { - "r" : "293", - "s" : [ { - "value" : [ "X" ] - } ] - }, { - "value" : [ "." ] - }, { - "r" : "294", - "s" : [ { - "value" : [ "period" ] - } ] - } ] - } ] - } ] - }, { - "value" : [ "\n }" ] - } ] + "value" : [ "." ] + }, { + "r" : "294", + "s" : [ { + "value" : [ "period" ] + } ] } ] - } ] + } ] + } ] + }, { + "value" : [ "\n }" ] } ] - } - } ], + } ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "TupleTypeSpecifier", + "localId" : "317", + "annotation" : [ ], + "element" : [ { + "localId" : "318", + "name" : "start", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "319", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, { + "localId" : "320", + "name" : "end", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "321", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } ] + }, + "expression" : { + "type" : "Query", + "localId" : "311", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "TupleTypeSpecifier", + "localId" : "312", + "annotation" : [ ], + "element" : [ { + "localId" : "313", + "name" : "start", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "314", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, { + "localId" : "315", + "name" : "end", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "316", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } ] + }, + "source" : [ { + "localId" : "276", + "resultTypeName" : "{https://github.com/cqframework/cql-execution/simple}Condition", + "alias" : "X", + "annotation" : [ ], + "expression" : { + "type" : "As", + "localId" : "277", + "resultTypeName" : "{https://github.com/cqframework/cql-execution/simple}Condition", + "strict" : false, + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Null", + "localId" : "278", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + }, + "asTypeSpecifier" : { + "type" : "NamedTypeSpecifier", + "localId" : "279", + "resultTypeName" : "{https://github.com/cqframework/cql-execution/simple}Condition", + "name" : "{https://github.com/cqframework/cql-execution/simple}Condition", + "annotation" : [ ] + } + } + } ], + "let" : [ ], + "relationship" : [ ], + "return" : { + "localId" : "281", + "annotation" : [ ], "resultTypeSpecifier" : { - "localId" : "317", - "type" : "TupleTypeSpecifier", - "element" : [ { - "localId" : "318", + "type" : "TupleTypeSpecifier", + "localId" : "306", + "annotation" : [ ], + "element" : [ { + "localId" : "307", + "name" : "start", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "308", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, { + "localId" : "309", + "name" : "end", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "310", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } ] + }, + "expression" : { + "type" : "Tuple", + "localId" : "282", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "TupleTypeSpecifier", + "localId" : "301", + "annotation" : [ ], + "element" : [ { + "localId" : "302", "name" : "start", + "annotation" : [ ], "elementType" : { - "localId" : "319", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" + "type" : "NamedTypeSpecifier", + "localId" : "303", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] } - }, { - "localId" : "320", + }, { + "localId" : "304", "name" : "end", + "annotation" : [ ], "elementType" : { - "localId" : "321", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" + "type" : "NamedTypeSpecifier", + "localId" : "305", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] } - } ] - }, - "expression" : { - "localId" : "311", - "type" : "Query", - "resultTypeSpecifier" : { - "localId" : "312", - "type" : "TupleTypeSpecifier", - "element" : [ { - "localId" : "313", - "name" : "start", - "elementType" : { - "localId" : "314", + } ] + }, + "element" : [ { + "name" : "start", + "value" : { + "type" : "Start", + "localId" : "283", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "290", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "291", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } ], + "operand" : { + "type" : "Property", + "localId" : "285", + "path" : "period", + "scope" : "X", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "288", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "289", "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "315", - "name" : "end", - "elementType" : { - "localId" : "316", + "annotation" : [ ] + } + } + } + } + }, { + "name" : "end", + "value" : { + "type" : "End", + "localId" : "292", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "299", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "300", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } ], + "operand" : { + "type" : "Property", + "localId" : "294", + "path" : "period", + "scope" : "X", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "297", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "298", "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } ] - }, - "source" : [ { - "localId" : "276", - "resultTypeName" : "{https://github.com/cqframework/cql-execution/simple}Condition", - "alias" : "X", - "expression" : { - "localId" : "277", - "resultTypeName" : "{https://github.com/cqframework/cql-execution/simple}Condition", - "strict" : false, - "type" : "As", - "signature" : [ ], - "operand" : { - "localId" : "278", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - }, - "asTypeSpecifier" : { - "localId" : "279", - "resultTypeName" : "{https://github.com/cqframework/cql-execution/simple}Condition", - "name" : "{https://github.com/cqframework/cql-execution/simple}Condition", - "type" : "NamedTypeSpecifier" - } + "annotation" : [ ] + } + } } - } ], - "let" : [ ], - "relationship" : [ ], - "return" : { - "localId" : "281", - "resultTypeSpecifier" : { - "localId" : "306", - "type" : "TupleTypeSpecifier", - "element" : [ { - "localId" : "307", - "name" : "start", - "elementType" : { - "localId" : "308", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "309", - "name" : "end", - "elementType" : { - "localId" : "310", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } ] - }, - "expression" : { - "localId" : "282", - "type" : "Tuple", - "resultTypeSpecifier" : { - "localId" : "301", - "type" : "TupleTypeSpecifier", - "element" : [ { - "localId" : "302", - "name" : "start", - "elementType" : { - "localId" : "303", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } + } + } ] + } + } + } + }, { + "localId" : "324", + "name" : "AllNullMultiSourceQuery", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "324", + "s" : [ { + "value" : [ "", "define ", "AllNullMultiSourceQuery", ":\n " ] + }, { + "r" : "410", + "s" : [ { + "s" : [ { + "value" : [ "from\n " ] + }, { + "r" : "325", + "s" : [ { + "r" : "326", + "s" : [ { + "value" : [ "(" ] + }, { + "r" : "326", + "s" : [ { + "r" : "327", + "value" : [ "null", " as " ] + }, { + "r" : "328", + "s" : [ { + "value" : [ "List<" ] }, { - "localId" : "304", - "name" : "end", - "elementType" : { - "localId" : "305", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } + "r" : "329", + "s" : [ { + "value" : [ "Condition" ] + } ] + }, { + "value" : [ ">" ] } ] - }, - "element" : [ { - "name" : "start", - "value" : { - "localId" : "283", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "Start", - "signature" : [ { - "localId" : "290", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "291", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : { - "localId" : "285", - "path" : "period", - "scope" : "X", - "type" : "Property", - "resultTypeSpecifier" : { - "localId" : "288", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "289", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - } - } - }, { - "name" : "end", - "value" : { - "localId" : "292", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "End", - "signature" : [ { - "localId" : "299", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "300", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : { - "localId" : "294", - "path" : "period", - "scope" : "X", - "type" : "Property", - "resultTypeSpecifier" : { - "localId" : "297", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "298", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - } - } - } ] - } - } - } - }, { - "localId" : "324", - "name" : "AllNullMultiSourceQuery", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "324", + } ] + }, { + "value" : [ ")" ] + } ] + }, { + "value" : [ " ", "X" ] + } ] + }, { + "value" : [ ",\n " ] + }, { + "r" : "338", + "s" : [ { + "r" : "339", + "s" : [ { + "value" : [ "(" ] + }, { + "r" : "339", + "s" : [ { + "r" : "340", + "value" : [ "null", " as " ] + }, { + "r" : "341", + "s" : [ { + "value" : [ "List<" ] + }, { + "r" : "342", + "s" : [ { + "value" : [ "Encounter" ] + } ] + }, { + "value" : [ ">" ] + } ] + } ] + }, { + "value" : [ ")" ] + } ] + }, { + "value" : [ " ", "Y" ] + } ] + } ] + }, { + "value" : [ "\n " ] + }, { + "r" : "353", + "s" : [ { + "value" : [ "return " ] + }, { + "r" : "354", "s" : [ { - "value" : [ "","define ","AllNullMultiSourceQuery",":\n " ] + "value" : [ "Tuple {\n " ] }, { - "r" : "410", - "s" : [ { + "s" : [ { + "value" : [ "cStart", ": " ] + }, { + "r" : "355", + "s" : [ { + "value" : [ "start of " ] + }, { + "r" : "357", "s" : [ { - "value" : [ "from\n " ] + "r" : "356", + "s" : [ { + "value" : [ "X" ] + } ] }, { - "r" : "325", - "s" : [ { - "r" : "326", - "s" : [ { - "value" : [ "(" ] - }, { - "r" : "326", - "s" : [ { - "r" : "327", - "value" : [ "null"," as " ] - }, { - "r" : "328", - "s" : [ { - "value" : [ "List<" ] - }, { - "r" : "329", - "s" : [ { - "value" : [ "Condition" ] - } ] - }, { - "value" : [ ">" ] - } ] - } ] - }, { - "value" : [ ")" ] - } ] - }, { - "value" : [ " ","X" ] - } ] + "value" : [ "." ] }, { - "value" : [ ",\n " ] + "r" : "357", + "s" : [ { + "value" : [ "period" ] + } ] + } ] + } ] + } ] + }, { + "value" : [ ",\n " ] + }, { + "s" : [ { + "value" : [ "cEnd", ": " ] + }, { + "r" : "364", + "s" : [ { + "value" : [ "end of " ] + }, { + "r" : "366", + "s" : [ { + "r" : "365", + "s" : [ { + "value" : [ "X" ] + } ] }, { - "r" : "338", - "s" : [ { - "r" : "339", - "s" : [ { - "value" : [ "(" ] - }, { - "r" : "339", - "s" : [ { - "r" : "340", - "value" : [ "null"," as " ] - }, { - "r" : "341", - "s" : [ { - "value" : [ "List<" ] - }, { - "r" : "342", - "s" : [ { - "value" : [ "Encounter" ] - } ] - }, { - "value" : [ ">" ] - } ] - } ] - }, { - "value" : [ ")" ] - } ] - }, { - "value" : [ " ","Y" ] - } ] + "value" : [ "." ] + }, { + "r" : "366", + "s" : [ { + "value" : [ "period" ] + } ] } ] - }, { - "value" : [ "\n " ] - }, { - "r" : "353", + } ] + } ] + }, { + "value" : [ ",\n " ] + }, { + "s" : [ { + "value" : [ "eStart", ": " ] + }, { + "r" : "373", + "s" : [ { + "value" : [ "start of " ] + }, { + "r" : "375", "s" : [ { - "value" : [ "return " ] + "r" : "374", + "s" : [ { + "value" : [ "Y" ] + } ] }, { - "r" : "354", - "s" : [ { - "value" : [ "Tuple {\n " ] - }, { - "s" : [ { - "value" : [ "cStart",": " ] - }, { - "r" : "355", - "s" : [ { - "value" : [ "start of " ] - }, { - "r" : "357", - "s" : [ { - "r" : "356", - "s" : [ { - "value" : [ "X" ] - } ] - }, { - "value" : [ "." ] - }, { - "r" : "357", - "s" : [ { - "value" : [ "period" ] - } ] - } ] - } ] - } ] - }, { - "value" : [ ",\n " ] - }, { - "s" : [ { - "value" : [ "cEnd",": " ] - }, { - "r" : "364", - "s" : [ { - "value" : [ "end of " ] - }, { - "r" : "366", - "s" : [ { - "r" : "365", - "s" : [ { - "value" : [ "X" ] - } ] - }, { - "value" : [ "." ] - }, { - "r" : "366", - "s" : [ { - "value" : [ "period" ] - } ] - } ] - } ] - } ] - }, { - "value" : [ ",\n " ] - }, { - "s" : [ { - "value" : [ "eStart",": " ] - }, { - "r" : "373", - "s" : [ { - "value" : [ "start of " ] - }, { - "r" : "375", - "s" : [ { - "r" : "374", - "s" : [ { - "value" : [ "Y" ] - } ] - }, { - "value" : [ "." ] - }, { - "r" : "375", - "s" : [ { - "value" : [ "period" ] - } ] - } ] - } ] - } ] - }, { - "value" : [ ",\n " ] - }, { - "s" : [ { - "value" : [ "eEnd",": " ] - }, { - "r" : "382", - "s" : [ { - "value" : [ "end of " ] - }, { - "r" : "384", - "s" : [ { - "r" : "383", - "s" : [ { - "value" : [ "Y" ] - } ] - }, { - "value" : [ "." ] - }, { - "r" : "384", - "s" : [ { - "value" : [ "period" ] - } ] - } ] - } ] - } ] - }, { - "value" : [ "\n }" ] - } ] + "value" : [ "." ] + }, { + "r" : "375", + "s" : [ { + "value" : [ "period" ] + } ] } ] - } ] - } ] - } - } ], - "resultTypeSpecifier" : { - "localId" : "421", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "422", - "type" : "TupleTypeSpecifier", - "element" : [ { - "localId" : "423", - "name" : "cStart", - "elementType" : { - "localId" : "424", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } + } ] + } ] }, { - "localId" : "425", - "name" : "cEnd", - "elementType" : { - "localId" : "426", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } + "value" : [ ",\n " ] }, { - "localId" : "427", - "name" : "eStart", - "elementType" : { - "localId" : "428", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } + "s" : [ { + "value" : [ "eEnd", ": " ] + }, { + "r" : "382", + "s" : [ { + "value" : [ "end of " ] + }, { + "r" : "384", + "s" : [ { + "r" : "383", + "s" : [ { + "value" : [ "Y" ] + } ] + }, { + "value" : [ "." ] + }, { + "r" : "384", + "s" : [ { + "value" : [ "period" ] + } ] + } ] + } ] + } ] }, { - "localId" : "429", - "name" : "eEnd", - "elementType" : { - "localId" : "430", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } + "value" : [ "\n }" ] } ] - } + } ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "421", + "annotation" : [ ], + "elementType" : { + "type" : "TupleTypeSpecifier", + "localId" : "422", + "annotation" : [ ], + "element" : [ { + "localId" : "423", + "name" : "cStart", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "424", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, { + "localId" : "425", + "name" : "cEnd", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "426", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, { + "localId" : "427", + "name" : "eStart", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "428", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, { + "localId" : "429", + "name" : "eEnd", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "430", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } ] + } + }, + "expression" : { + "type" : "Query", + "localId" : "410", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "411", + "annotation" : [ ], + "elementType" : { + "type" : "TupleTypeSpecifier", + "localId" : "412", + "annotation" : [ ], + "element" : [ { + "localId" : "413", + "name" : "cStart", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "414", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, { + "localId" : "415", + "name" : "cEnd", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "416", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, { + "localId" : "417", + "name" : "eStart", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "418", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, { + "localId" : "419", + "name" : "eEnd", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "420", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } ] + } + }, + "source" : [ { + "localId" : "325", + "alias" : "X", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "336", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "337", + "name" : "{https://github.com/cqframework/cql-execution/simple}Condition", + "annotation" : [ ] + } }, "expression" : { - "localId" : "410", - "type" : "Query", - "resultTypeSpecifier" : { - "localId" : "411", + "type" : "As", + "localId" : "326", + "strict" : false, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "334", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "335", + "name" : "{https://github.com/cqframework/cql-execution/simple}Condition", + "annotation" : [ ] + } + }, + "signature" : [ ], + "operand" : { + "type" : "Null", + "localId" : "327", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + }, + "asTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "328", + "annotation" : [ ], + "resultTypeSpecifier" : { "type" : "ListTypeSpecifier", + "localId" : "330", + "annotation" : [ ], "elementType" : { - "localId" : "412", - "type" : "TupleTypeSpecifier", - "element" : [ { - "localId" : "413", - "name" : "cStart", - "elementType" : { - "localId" : "414", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "415", - "name" : "cEnd", - "elementType" : { - "localId" : "416", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "417", - "name" : "eStart", - "elementType" : { - "localId" : "418", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "419", - "name" : "eEnd", - "elementType" : { - "localId" : "420", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } ] - } - }, - "source" : [ { - "localId" : "325", - "alias" : "X", - "resultTypeSpecifier" : { - "localId" : "336", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "337", - "name" : "{https://github.com/cqframework/cql-execution/simple}Condition", - "type" : "NamedTypeSpecifier" - } - }, - "expression" : { - "localId" : "326", - "strict" : false, - "type" : "As", - "resultTypeSpecifier" : { - "localId" : "334", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "335", - "name" : "{https://github.com/cqframework/cql-execution/simple}Condition", - "type" : "NamedTypeSpecifier" - } - }, - "signature" : [ ], - "operand" : { - "localId" : "327", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - }, - "asTypeSpecifier" : { - "localId" : "328", - "type" : "ListTypeSpecifier", - "resultTypeSpecifier" : { - "localId" : "330", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "331", - "name" : "{https://github.com/cqframework/cql-execution/simple}Condition", - "type" : "NamedTypeSpecifier" - } - }, - "elementType" : { - "localId" : "329", - "resultTypeName" : "{https://github.com/cqframework/cql-execution/simple}Condition", - "name" : "{https://github.com/cqframework/cql-execution/simple}Condition", - "type" : "NamedTypeSpecifier" - } - } + "type" : "NamedTypeSpecifier", + "localId" : "331", + "name" : "{https://github.com/cqframework/cql-execution/simple}Condition", + "annotation" : [ ] } - }, { - "localId" : "338", - "alias" : "Y", - "resultTypeSpecifier" : { - "localId" : "349", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "350", - "name" : "{https://github.com/cqframework/cql-execution/simple}Encounter", - "type" : "NamedTypeSpecifier" - } - }, - "expression" : { - "localId" : "339", - "strict" : false, - "type" : "As", - "resultTypeSpecifier" : { - "localId" : "347", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "348", - "name" : "{https://github.com/cqframework/cql-execution/simple}Encounter", - "type" : "NamedTypeSpecifier" - } - }, - "signature" : [ ], - "operand" : { - "localId" : "340", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - }, - "asTypeSpecifier" : { - "localId" : "341", - "type" : "ListTypeSpecifier", - "resultTypeSpecifier" : { - "localId" : "343", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "344", - "name" : "{https://github.com/cqframework/cql-execution/simple}Encounter", - "type" : "NamedTypeSpecifier" - } - }, - "elementType" : { - "localId" : "342", - "resultTypeName" : "{https://github.com/cqframework/cql-execution/simple}Encounter", - "name" : "{https://github.com/cqframework/cql-execution/simple}Encounter", - "type" : "NamedTypeSpecifier" - } - } + }, + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "329", + "resultTypeName" : "{https://github.com/cqframework/cql-execution/simple}Condition", + "name" : "{https://github.com/cqframework/cql-execution/simple}Condition", + "annotation" : [ ] + } + } + } + }, { + "localId" : "338", + "alias" : "Y", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "349", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "350", + "name" : "{https://github.com/cqframework/cql-execution/simple}Encounter", + "annotation" : [ ] + } + }, + "expression" : { + "type" : "As", + "localId" : "339", + "strict" : false, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "347", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "348", + "name" : "{https://github.com/cqframework/cql-execution/simple}Encounter", + "annotation" : [ ] + } + }, + "signature" : [ ], + "operand" : { + "type" : "Null", + "localId" : "340", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + }, + "asTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "341", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "343", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "344", + "name" : "{https://github.com/cqframework/cql-execution/simple}Encounter", + "annotation" : [ ] } - } ], - "let" : [ ], - "relationship" : [ ], - "return" : { - "localId" : "353", - "resultTypeSpecifier" : { - "localId" : "400", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "401", - "type" : "TupleTypeSpecifier", - "element" : [ { - "localId" : "402", - "name" : "cStart", - "elementType" : { - "localId" : "403", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "404", - "name" : "cEnd", - "elementType" : { - "localId" : "405", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } + }, + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "342", + "resultTypeName" : "{https://github.com/cqframework/cql-execution/simple}Encounter", + "name" : "{https://github.com/cqframework/cql-execution/simple}Encounter", + "annotation" : [ ] + } + } + } + } ], + "let" : [ ], + "relationship" : [ ], + "return" : { + "localId" : "353", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "400", + "annotation" : [ ], + "elementType" : { + "type" : "TupleTypeSpecifier", + "localId" : "401", + "annotation" : [ ], + "element" : [ { + "localId" : "402", + "name" : "cStart", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "403", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, { + "localId" : "404", + "name" : "cEnd", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "405", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, { + "localId" : "406", + "name" : "eStart", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "407", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, { + "localId" : "408", + "name" : "eEnd", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "409", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } ] + } + }, + "expression" : { + "type" : "Tuple", + "localId" : "354", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "TupleTypeSpecifier", + "localId" : "391", + "annotation" : [ ], + "element" : [ { + "localId" : "392", + "name" : "cStart", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "393", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, { + "localId" : "394", + "name" : "cEnd", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "395", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, { + "localId" : "396", + "name" : "eStart", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "397", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, { + "localId" : "398", + "name" : "eEnd", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "399", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } ] + }, + "element" : [ { + "name" : "cStart", + "value" : { + "type" : "Start", + "localId" : "355", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "362", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "363", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } ], + "operand" : { + "type" : "Property", + "localId" : "357", + "path" : "period", + "scope" : "X", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "360", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "361", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + } + } + }, { + "name" : "cEnd", + "value" : { + "type" : "End", + "localId" : "364", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "371", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "372", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } ], + "operand" : { + "type" : "Property", + "localId" : "366", + "path" : "period", + "scope" : "X", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "369", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "370", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + } + } + }, { + "name" : "eStart", + "value" : { + "type" : "Start", + "localId" : "373", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "380", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "381", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } ], + "operand" : { + "type" : "Property", + "localId" : "375", + "path" : "period", + "scope" : "Y", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "378", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "379", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + } + } + }, { + "name" : "eEnd", + "value" : { + "type" : "End", + "localId" : "382", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "389", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "390", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } ], + "operand" : { + "type" : "Property", + "localId" : "384", + "path" : "period", + "scope" : "Y", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "387", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "388", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + } + } + } ] + } + } + } + }, { + "localId" : "433", + "name" : "SomeNullMultiSourceQuery", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "433", + "s" : [ { + "value" : [ "", "define ", "SomeNullMultiSourceQuery", ":\n " ] + }, { + "r" : "514", + "s" : [ { + "s" : [ { + "value" : [ "from\n " ] + }, { + "r" : "434", + "s" : [ { + "r" : "435", + "s" : [ { + "value" : [ "(" ] + }, { + "r" : "435", + "s" : [ { + "r" : "436", + "value" : [ "null", " as " ] + }, { + "r" : "437", + "s" : [ { + "value" : [ "List<" ] }, { - "localId" : "406", - "name" : "eStart", - "elementType" : { - "localId" : "407", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } + "r" : "438", + "s" : [ { + "value" : [ "Condition" ] + } ] }, { - "localId" : "408", - "name" : "eEnd", - "elementType" : { - "localId" : "409", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } + "value" : [ ">" ] } ] - } - }, - "expression" : { - "localId" : "354", - "type" : "Tuple", - "resultTypeSpecifier" : { - "localId" : "391", - "type" : "TupleTypeSpecifier", - "element" : [ { - "localId" : "392", - "name" : "cStart", - "elementType" : { - "localId" : "393", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "394", - "name" : "cEnd", - "elementType" : { - "localId" : "395", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } + } ] + }, { + "value" : [ ")" ] + } ] + }, { + "value" : [ " ", "X" ] + } ] + }, { + "value" : [ ",\n " ] + }, { + "r" : "447", + "s" : [ { + "r" : "448", + "s" : [ { + "r" : "448", + "s" : [ { + "value" : [ "[", "Encounter", "]" ] + } ] + } ] + }, { + "value" : [ " ", "Y" ] + } ] + } ] + }, { + "value" : [ "\n " ] + }, { + "r" : "457", + "s" : [ { + "value" : [ "return " ] + }, { + "r" : "458", + "s" : [ { + "value" : [ "Tuple {\n " ] + }, { + "s" : [ { + "value" : [ "cStart", ": " ] + }, { + "r" : "459", + "s" : [ { + "value" : [ "start of " ] + }, { + "r" : "461", + "s" : [ { + "r" : "460", + "s" : [ { + "value" : [ "X" ] + } ] }, { - "localId" : "396", - "name" : "eStart", - "elementType" : { - "localId" : "397", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } + "value" : [ "." ] }, { - "localId" : "398", - "name" : "eEnd", - "elementType" : { - "localId" : "399", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } + "r" : "461", + "s" : [ { + "value" : [ "period" ] + } ] } ] - }, - "element" : [ { - "name" : "cStart", - "value" : { - "localId" : "355", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "Start", - "signature" : [ { - "localId" : "362", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "363", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : { - "localId" : "357", - "path" : "period", - "scope" : "X", - "type" : "Property", - "resultTypeSpecifier" : { - "localId" : "360", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "361", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - } - } - }, { - "name" : "cEnd", - "value" : { - "localId" : "364", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "End", - "signature" : [ { - "localId" : "371", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "372", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : { - "localId" : "366", - "path" : "period", - "scope" : "X", - "type" : "Property", - "resultTypeSpecifier" : { - "localId" : "369", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "370", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - } - } - }, { - "name" : "eStart", - "value" : { - "localId" : "373", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "Start", - "signature" : [ { - "localId" : "380", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "381", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : { - "localId" : "375", - "path" : "period", - "scope" : "Y", - "type" : "Property", - "resultTypeSpecifier" : { - "localId" : "378", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "379", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - } - } - }, { - "name" : "eEnd", - "value" : { - "localId" : "382", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "End", - "signature" : [ { - "localId" : "389", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "390", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : { - "localId" : "384", - "path" : "period", - "scope" : "Y", - "type" : "Property", - "resultTypeSpecifier" : { - "localId" : "387", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "388", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - } - } - } ] - } - } - } - }, { - "localId" : "433", - "name" : "SomeNullMultiSourceQuery", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "433", - "s" : [ { - "value" : [ "","define ","SomeNullMultiSourceQuery",":\n " ] + } ] + } ] + }, { + "value" : [ ",\n " ] }, { - "r" : "514", - "s" : [ { + "s" : [ { + "value" : [ "cEnd", ": " ] + }, { + "r" : "468", + "s" : [ { + "value" : [ "end of " ] + }, { + "r" : "470", "s" : [ { - "value" : [ "from\n " ] + "r" : "469", + "s" : [ { + "value" : [ "X" ] + } ] }, { - "r" : "434", - "s" : [ { - "r" : "435", - "s" : [ { - "value" : [ "(" ] - }, { - "r" : "435", - "s" : [ { - "r" : "436", - "value" : [ "null"," as " ] - }, { - "r" : "437", - "s" : [ { - "value" : [ "List<" ] - }, { - "r" : "438", - "s" : [ { - "value" : [ "Condition" ] - } ] - }, { - "value" : [ ">" ] - } ] - } ] - }, { - "value" : [ ")" ] - } ] - }, { - "value" : [ " ","X" ] - } ] - }, { - "value" : [ ",\n " ] + "value" : [ "." ] }, { - "r" : "447", - "s" : [ { - "r" : "448", - "s" : [ { - "r" : "448", - "s" : [ { - "value" : [ "[","Encounter","]" ] - } ] - } ] - }, { - "value" : [ " ","Y" ] - } ] + "r" : "470", + "s" : [ { + "value" : [ "period" ] + } ] } ] - }, { - "value" : [ "\n " ] - }, { - "r" : "457", + } ] + } ] + }, { + "value" : [ ",\n " ] + }, { + "s" : [ { + "value" : [ "eStart", ": " ] + }, { + "r" : "477", + "s" : [ { + "value" : [ "start of " ] + }, { + "r" : "479", "s" : [ { - "value" : [ "return " ] + "r" : "478", + "s" : [ { + "value" : [ "Y" ] + } ] }, { - "r" : "458", - "s" : [ { - "value" : [ "Tuple {\n " ] - }, { - "s" : [ { - "value" : [ "cStart",": " ] - }, { - "r" : "459", - "s" : [ { - "value" : [ "start of " ] - }, { - "r" : "461", - "s" : [ { - "r" : "460", - "s" : [ { - "value" : [ "X" ] - } ] - }, { - "value" : [ "." ] - }, { - "r" : "461", - "s" : [ { - "value" : [ "period" ] - } ] - } ] - } ] - } ] - }, { - "value" : [ ",\n " ] - }, { - "s" : [ { - "value" : [ "cEnd",": " ] - }, { - "r" : "468", - "s" : [ { - "value" : [ "end of " ] - }, { - "r" : "470", - "s" : [ { - "r" : "469", - "s" : [ { - "value" : [ "X" ] - } ] - }, { - "value" : [ "." ] - }, { - "r" : "470", - "s" : [ { - "value" : [ "period" ] - } ] - } ] - } ] - } ] - }, { - "value" : [ ",\n " ] - }, { - "s" : [ { - "value" : [ "eStart",": " ] - }, { - "r" : "477", - "s" : [ { - "value" : [ "start of " ] - }, { - "r" : "479", - "s" : [ { - "r" : "478", - "s" : [ { - "value" : [ "Y" ] - } ] - }, { - "value" : [ "." ] - }, { - "r" : "479", - "s" : [ { - "value" : [ "period" ] - } ] - } ] - } ] - } ] - }, { - "value" : [ ",\n " ] - }, { - "s" : [ { - "value" : [ "eEnd",": " ] - }, { - "r" : "486", - "s" : [ { - "value" : [ "end of " ] - }, { - "r" : "488", - "s" : [ { - "r" : "487", - "s" : [ { - "value" : [ "Y" ] - } ] - }, { - "value" : [ "." ] - }, { - "r" : "488", - "s" : [ { - "value" : [ "period" ] - } ] - } ] - } ] - } ] - }, { - "value" : [ "\n }" ] - } ] + "value" : [ "." ] + }, { + "r" : "479", + "s" : [ { + "value" : [ "period" ] + } ] } ] - } ] - } ] - } - } ], - "resultTypeSpecifier" : { - "localId" : "525", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "526", - "type" : "TupleTypeSpecifier", - "element" : [ { - "localId" : "527", - "name" : "cStart", - "elementType" : { - "localId" : "528", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } + } ] + } ] }, { - "localId" : "529", - "name" : "cEnd", - "elementType" : { - "localId" : "530", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } + "value" : [ ",\n " ] }, { - "localId" : "531", - "name" : "eStart", - "elementType" : { - "localId" : "532", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } + "s" : [ { + "value" : [ "eEnd", ": " ] + }, { + "r" : "486", + "s" : [ { + "value" : [ "end of " ] + }, { + "r" : "488", + "s" : [ { + "r" : "487", + "s" : [ { + "value" : [ "Y" ] + } ] + }, { + "value" : [ "." ] + }, { + "r" : "488", + "s" : [ { + "value" : [ "period" ] + } ] + } ] + } ] + } ] }, { - "localId" : "533", - "name" : "eEnd", - "elementType" : { - "localId" : "534", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } + "value" : [ "\n }" ] } ] - } + } ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "525", + "annotation" : [ ], + "elementType" : { + "type" : "TupleTypeSpecifier", + "localId" : "526", + "annotation" : [ ], + "element" : [ { + "localId" : "527", + "name" : "cStart", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "528", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, { + "localId" : "529", + "name" : "cEnd", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "530", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, { + "localId" : "531", + "name" : "eStart", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "532", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, { + "localId" : "533", + "name" : "eEnd", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "534", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } ] + } + }, + "expression" : { + "type" : "Query", + "localId" : "514", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "515", + "annotation" : [ ], + "elementType" : { + "type" : "TupleTypeSpecifier", + "localId" : "516", + "annotation" : [ ], + "element" : [ { + "localId" : "517", + "name" : "cStart", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "518", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, { + "localId" : "519", + "name" : "cEnd", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "520", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, { + "localId" : "521", + "name" : "eStart", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "522", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, { + "localId" : "523", + "name" : "eEnd", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "524", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } ] + } + }, + "source" : [ { + "localId" : "434", + "alias" : "X", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "445", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "446", + "name" : "{https://github.com/cqframework/cql-execution/simple}Condition", + "annotation" : [ ] + } }, "expression" : { - "localId" : "514", - "type" : "Query", - "resultTypeSpecifier" : { - "localId" : "515", + "type" : "As", + "localId" : "435", + "strict" : false, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "443", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "444", + "name" : "{https://github.com/cqframework/cql-execution/simple}Condition", + "annotation" : [ ] + } + }, + "signature" : [ ], + "operand" : { + "type" : "Null", + "localId" : "436", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + }, + "asTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "437", + "annotation" : [ ], + "resultTypeSpecifier" : { "type" : "ListTypeSpecifier", + "localId" : "439", + "annotation" : [ ], "elementType" : { - "localId" : "516", - "type" : "TupleTypeSpecifier", - "element" : [ { - "localId" : "517", - "name" : "cStart", - "elementType" : { - "localId" : "518", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "519", - "name" : "cEnd", - "elementType" : { - "localId" : "520", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "521", - "name" : "eStart", - "elementType" : { - "localId" : "522", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "523", - "name" : "eEnd", - "elementType" : { - "localId" : "524", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } ] + "type" : "NamedTypeSpecifier", + "localId" : "440", + "name" : "{https://github.com/cqframework/cql-execution/simple}Condition", + "annotation" : [ ] } - }, - "source" : [ { - "localId" : "434", - "alias" : "X", - "resultTypeSpecifier" : { - "localId" : "445", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "446", - "name" : "{https://github.com/cqframework/cql-execution/simple}Condition", - "type" : "NamedTypeSpecifier" - } - }, - "expression" : { - "localId" : "435", - "strict" : false, - "type" : "As", - "resultTypeSpecifier" : { - "localId" : "443", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "444", - "name" : "{https://github.com/cqframework/cql-execution/simple}Condition", - "type" : "NamedTypeSpecifier" - } - }, - "signature" : [ ], - "operand" : { - "localId" : "436", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - }, - "asTypeSpecifier" : { - "localId" : "437", - "type" : "ListTypeSpecifier", - "resultTypeSpecifier" : { - "localId" : "439", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "440", - "name" : "{https://github.com/cqframework/cql-execution/simple}Condition", - "type" : "NamedTypeSpecifier" - } - }, - "elementType" : { - "localId" : "438", - "resultTypeName" : "{https://github.com/cqframework/cql-execution/simple}Condition", - "name" : "{https://github.com/cqframework/cql-execution/simple}Condition", - "type" : "NamedTypeSpecifier" - } - } + }, + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "438", + "resultTypeName" : "{https://github.com/cqframework/cql-execution/simple}Condition", + "name" : "{https://github.com/cqframework/cql-execution/simple}Condition", + "annotation" : [ ] + } + } + } + }, { + "localId" : "447", + "alias" : "Y", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "453", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "454", + "name" : "{https://github.com/cqframework/cql-execution/simple}Encounter", + "annotation" : [ ] + } + }, + "expression" : { + "type" : "Retrieve", + "localId" : "448", + "dataType" : "{https://github.com/cqframework/cql-execution/simple}Encounter", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "451", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "452", + "name" : "{https://github.com/cqframework/cql-execution/simple}Encounter", + "annotation" : [ ] + } + }, + "include" : [ ], + "codeFilter" : [ ], + "dateFilter" : [ ], + "otherFilter" : [ ] + } + } ], + "let" : [ ], + "relationship" : [ ], + "return" : { + "localId" : "457", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "504", + "annotation" : [ ], + "elementType" : { + "type" : "TupleTypeSpecifier", + "localId" : "505", + "annotation" : [ ], + "element" : [ { + "localId" : "506", + "name" : "cStart", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "507", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] } - }, { - "localId" : "447", - "alias" : "Y", - "resultTypeSpecifier" : { - "localId" : "453", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "454", - "name" : "{https://github.com/cqframework/cql-execution/simple}Encounter", - "type" : "NamedTypeSpecifier" - } - }, - "expression" : { - "localId" : "448", - "dataType" : "{https://github.com/cqframework/cql-execution/simple}Encounter", - "type" : "Retrieve", - "resultTypeSpecifier" : { - "localId" : "451", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "452", - "name" : "{https://github.com/cqframework/cql-execution/simple}Encounter", - "type" : "NamedTypeSpecifier" - } - }, - "include" : [ ], - "codeFilter" : [ ], - "dateFilter" : [ ], - "otherFilter" : [ ] + }, { + "localId" : "508", + "name" : "cEnd", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "509", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] } - } ], - "let" : [ ], - "relationship" : [ ], - "return" : { - "localId" : "457", - "resultTypeSpecifier" : { - "localId" : "504", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "505", - "type" : "TupleTypeSpecifier", - "element" : [ { - "localId" : "506", - "name" : "cStart", - "elementType" : { - "localId" : "507", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "508", - "name" : "cEnd", - "elementType" : { - "localId" : "509", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "510", - "name" : "eStart", - "elementType" : { - "localId" : "511", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "512", - "name" : "eEnd", - "elementType" : { - "localId" : "513", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } ] - } - }, - "expression" : { - "localId" : "458", - "type" : "Tuple", - "resultTypeSpecifier" : { - "localId" : "495", - "type" : "TupleTypeSpecifier", - "element" : [ { - "localId" : "496", - "name" : "cStart", - "elementType" : { - "localId" : "497", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "498", - "name" : "cEnd", - "elementType" : { - "localId" : "499", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "500", - "name" : "eStart", - "elementType" : { - "localId" : "501", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "502", - "name" : "eEnd", - "elementType" : { - "localId" : "503", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } ] - }, - "element" : [ { - "name" : "cStart", - "value" : { - "localId" : "459", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "Start", - "signature" : [ { - "localId" : "466", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "467", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : { - "localId" : "461", - "path" : "period", - "scope" : "X", - "type" : "Property", - "resultTypeSpecifier" : { - "localId" : "464", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "465", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - } - } - }, { - "name" : "cEnd", - "value" : { - "localId" : "468", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "End", - "signature" : [ { - "localId" : "475", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "476", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : { - "localId" : "470", - "path" : "period", - "scope" : "X", - "type" : "Property", - "resultTypeSpecifier" : { - "localId" : "473", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "474", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - } - } - }, { - "name" : "eStart", - "value" : { - "localId" : "477", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "Start", - "signature" : [ { - "localId" : "484", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "485", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : { - "localId" : "479", - "path" : "period", - "scope" : "Y", - "type" : "Property", - "resultTypeSpecifier" : { - "localId" : "482", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "483", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - } - } - }, { - "name" : "eEnd", - "value" : { - "localId" : "486", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "End", - "signature" : [ { - "localId" : "493", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "494", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : { - "localId" : "488", - "path" : "period", - "scope" : "Y", - "type" : "Property", - "resultTypeSpecifier" : { - "localId" : "491", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "492", - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier" - } - } - } - } - } ] + }, { + "localId" : "510", + "name" : "eStart", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "511", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, { + "localId" : "512", + "name" : "eEnd", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "513", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } ] + } + }, + "expression" : { + "type" : "Tuple", + "localId" : "458", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "TupleTypeSpecifier", + "localId" : "495", + "annotation" : [ ], + "element" : [ { + "localId" : "496", + "name" : "cStart", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "497", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] } - } + }, { + "localId" : "498", + "name" : "cEnd", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "499", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, { + "localId" : "500", + "name" : "eStart", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "501", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + }, { + "localId" : "502", + "name" : "eEnd", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "503", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } ] + }, + "element" : [ { + "name" : "cStart", + "value" : { + "type" : "Start", + "localId" : "459", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "466", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "467", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } ], + "operand" : { + "type" : "Property", + "localId" : "461", + "path" : "period", + "scope" : "X", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "464", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "465", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + } + } + }, { + "name" : "cEnd", + "value" : { + "type" : "End", + "localId" : "468", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "475", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "476", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } ], + "operand" : { + "type" : "Property", + "localId" : "470", + "path" : "period", + "scope" : "X", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "473", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "474", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + } + } + }, { + "name" : "eStart", + "value" : { + "type" : "Start", + "localId" : "477", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "484", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "485", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } ], + "operand" : { + "type" : "Property", + "localId" : "479", + "path" : "period", + "scope" : "Y", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "482", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "483", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + } + } + }, { + "name" : "eEnd", + "value" : { + "type" : "End", + "localId" : "486", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ], + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "493", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "494", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } ], + "operand" : { + "type" : "Property", + "localId" : "488", + "path" : "period", + "scope" : "Y", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "491", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "492", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "annotation" : [ ] + } + } + } + } + } ] } - } ] - } - } + } + } + } ] + } + } } diff --git a/test/elm/reusable/data.js b/test/elm/reusable/data.js index db18ca14..ce394bbd 100644 --- a/test/elm/reusable/data.js +++ b/test/elm/reusable/data.js @@ -16,112 +16,121 @@ define Foo: 'Bar' */ module.exports['ExpressionDef'] = { - "library" : { - "localId" : "0", - "annotation" : [ { - "translatorVersion" : "3.27.0", - "translatorOptions" : "EnableDateRangeOptimization,EnableAnnotations,EnableResultTypes", - "signatureLevel" : "All", - "type" : "CqlToElmInfo" + "library" : { + "localId" : "0", + "annotation" : [ { + "type" : "CqlToElmInfo", + "translatorVersion" : "4.2.0", + "translatorOptions" : "EnableDateRangeOptimization,EnableAnnotations,EnableResultTypes", + "signatureLevel" : "All" + }, { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "214", + "s" : [ { + "value" : [ "", "library TestSnippet version '1'" ] + } ] + } + } ], + "identifier" : { + "id" : "TestSnippet", + "version" : "1" + }, + "schemaIdentifier" : { + "id" : "urn:hl7-org:elm", + "version" : "r1" + }, + "usings" : { + "def" : [ { + "localId" : "1", + "localIdentifier" : "System", + "uri" : "urn:hl7-org:elm-types:r1", + "annotation" : [ ] }, { - "type" : "Annotation", - "s" : { - "r" : "214", + "localId" : "206", + "localIdentifier" : "Simple", + "uri" : "https://github.com/cqframework/cql-execution/simple", + "version" : "1.0.0", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "206", "s" : [ { - "value" : [ "","library TestSnippet version '1'" ] + "value" : [ "", "using " ] + }, { + "s" : [ { + "value" : [ "Simple" ] + } ] + }, { + "value" : [ " version '1.0.0'" ] } ] - } - } ], - "identifier" : { - "id" : "TestSnippet", - "version" : "1" - }, - "schemaIdentifier" : { - "id" : "urn:hl7-org:elm", - "version" : "r1" - }, - "usings" : { - "def" : [ { - "localId" : "1", - "localIdentifier" : "System", - "uri" : "urn:hl7-org:elm-types:r1" - }, { - "localId" : "206", - "localIdentifier" : "Simple", - "uri" : "https://github.com/cqframework/cql-execution/simple", - "version" : "1.0.0", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "206", - "s" : [ { - "value" : [ "","using " ] - }, { - "s" : [ { - "value" : [ "Simple" ] - } ] - }, { - "value" : [ " version '1.0.0'" ] - } ] - } + } + } ] + } ] + }, + "contexts" : { + "def" : [ { + "localId" : "211", + "name" : "Patient", + "annotation" : [ ] + } ] + }, + "statements" : { + "def" : [ { + "localId" : "209", + "name" : "Patient", + "context" : "Patient", + "annotation" : [ ], + "expression" : { + "type" : "SingletonFrom", + "localId" : "210", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Retrieve", + "localId" : "208", + "dataType" : "{https://github.com/cqframework/cql-execution/simple}Patient", + "annotation" : [ ], + "include" : [ ], + "codeFilter" : [ ], + "dateFilter" : [ ], + "otherFilter" : [ ] + } + } + }, { + "localId" : "214", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "name" : "Foo", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "214", + "s" : [ { + "value" : [ "", "define ", "Foo", ": " ] + }, { + "r" : "215", + "s" : [ { + "value" : [ "'Bar'" ] + } ] } ] - } ] - }, - "contexts" : { - "def" : [ { - "localId" : "211", - "name" : "Patient" - } ] - }, - "statements" : { - "def" : [ { - "localId" : "209", - "name" : "Patient", - "context" : "Patient", - "expression" : { - "localId" : "210", - "type" : "SingletonFrom", - "signature" : [ ], - "operand" : { - "localId" : "208", - "dataType" : "{https://github.com/cqframework/cql-execution/simple}Patient", - "type" : "Retrieve", - "include" : [ ], - "codeFilter" : [ ], - "dateFilter" : [ ], - "otherFilter" : [ ] - } - } - }, { - "localId" : "214", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "name" : "Foo", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "214", - "s" : [ { - "value" : [ "","define ","Foo",": " ] - }, { - "r" : "215", - "s" : [ { - "value" : [ "'Bar'" ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "215", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "Bar", - "type" : "Literal" - } - } ] - } - } + } + } ], + "expression" : { + "type" : "Literal", + "localId" : "215", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "Bar", + "annotation" : [ ] + } + } ] + } + } } /* ExpressionRef @@ -146,503 +155,571 @@ define ExpensiveStatementRef: */ module.exports['ExpressionRef'] = { - "library" : { - "localId" : "0", - "annotation" : [ { - "translatorVersion" : "3.27.0", - "translatorOptions" : "EnableDateRangeOptimization,EnableAnnotations,EnableResultTypes", - "signatureLevel" : "All", - "type" : "CqlToElmInfo" + "library" : { + "localId" : "0", + "annotation" : [ { + "type" : "CqlToElmInfo", + "translatorVersion" : "4.2.0", + "translatorOptions" : "EnableDateRangeOptimization,EnableAnnotations,EnableResultTypes", + "signatureLevel" : "All" + }, { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "247", + "s" : [ { + "value" : [ "", "library TestSnippet version '1'" ] + } ] + } + } ], + "identifier" : { + "id" : "TestSnippet", + "version" : "1" + }, + "schemaIdentifier" : { + "id" : "urn:hl7-org:elm", + "version" : "r1" + }, + "usings" : { + "def" : [ { + "localId" : "1", + "localIdentifier" : "System", + "uri" : "urn:hl7-org:elm-types:r1", + "annotation" : [ ] }, { - "type" : "Annotation", - "s" : { - "r" : "247", + "localId" : "206", + "localIdentifier" : "Simple", + "uri" : "https://github.com/cqframework/cql-execution/simple", + "version" : "1.0.0", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "206", + "s" : [ { + "value" : [ "", "using " ] + }, { + "s" : [ { + "value" : [ "Simple" ] + } ] + }, { + "value" : [ " version '1.0.0'" ] + } ] + } + } ] + } ] + }, + "contexts" : { + "def" : [ { + "localId" : "211", + "name" : "Patient", + "annotation" : [ ] + } ] + }, + "statements" : { + "def" : [ { + "localId" : "209", + "name" : "Patient", + "context" : "Patient", + "annotation" : [ ], + "expression" : { + "type" : "SingletonFrom", + "localId" : "210", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Retrieve", + "localId" : "208", + "dataType" : "{https://github.com/cqframework/cql-execution/simple}Patient", + "annotation" : [ ], + "include" : [ ], + "codeFilter" : [ ], + "dateFilter" : [ ], + "otherFilter" : [ ] + } + } + }, { + "localId" : "214", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "name" : "Life", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "214", "s" : [ { - "value" : [ "","library TestSnippet version '1'" ] + "r" : "215", + "value" : [ "", "define ", "Life", ": ", "42" ] } ] - } - } ], - "identifier" : { - "id" : "TestSnippet", - "version" : "1" - }, - "schemaIdentifier" : { - "id" : "urn:hl7-org:elm", - "version" : "r1" - }, - "usings" : { - "def" : [ { - "localId" : "1", - "localIdentifier" : "System", - "uri" : "urn:hl7-org:elm-types:r1" - }, { - "localId" : "206", - "localIdentifier" : "Simple", - "uri" : "https://github.com/cqframework/cql-execution/simple", - "version" : "1.0.0", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "206", + } + } ], + "expression" : { + "type" : "Literal", + "localId" : "215", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "42", + "annotation" : [ ] + } + }, { + "localId" : "218", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "name" : "Foo", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "218", + "s" : [ { + "value" : [ "", "define ", "Foo", ": " ] + }, { + "r" : "219", + "s" : [ { + "value" : [ "Life" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "ExpressionRef", + "localId" : "219", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "name" : "Life", + "annotation" : [ ] + } + }, { + "type" : "FunctionDef", + "localId" : "220", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "name" : "ExpensiveFunction", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "220", + "s" : [ { + "value" : [ "", "define function ExpensiveFunction():\n " ] + }, { + "r" : "238", + "s" : [ { + "r" : "238", + "s" : [ { + "value" : [ "First", "(" ] + }, { + "r" : "228", "s" : [ { - "value" : [ "","using " ] - }, { - "s" : [ { - "value" : [ "Simple" ] - } ] + "value" : [ "expand " ] }, { - "value" : [ " version '1.0.0'" ] + "r" : "224", + "s" : [ { + "r" : "222", + "value" : [ "Interval[", "1", ", ", "100000", "]" ] + } ] } ] - } + }, { + "value" : [ ")" ] + } ] + } ] } ] - } ] - }, - "contexts" : { - "def" : [ { - "localId" : "211", - "name" : "Patient" - } ] - }, - "statements" : { - "def" : [ { - "localId" : "209", - "name" : "Patient", - "context" : "Patient", - "expression" : { - "localId" : "210", - "type" : "SingletonFrom", - "signature" : [ ], - "operand" : { - "localId" : "208", - "dataType" : "{https://github.com/cqframework/cql-execution/simple}Patient", - "type" : "Retrieve", - "include" : [ ], - "codeFilter" : [ ], - "dateFilter" : [ ], - "otherFilter" : [ ] - } + } + } ], + "expression" : { + "type" : "First", + "localId" : "238", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ], + "signature" : [ { + "type" : "ListTypeSpecifier", + "localId" : "239", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "240", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] } - }, { - "localId" : "214", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "name" : "Life", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "214", - "s" : [ { - "r" : "215", - "value" : [ "","define ","Life",": ","42" ] - } ] - } - } ], - "expression" : { - "localId" : "215", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "42", - "type" : "Literal" - } - }, { - "localId" : "218", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "name" : "Foo", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "218", - "s" : [ { - "value" : [ "","define ","Foo",": " ] - }, { - "r" : "219", - "s" : [ { - "value" : [ "Life" ] - } ] - } ] - } + } ], + "source" : { + "type" : "Expand", + "localId" : "228", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "232", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "233", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "signature" : [ { + "type" : "IntervalTypeSpecifier", + "localId" : "229", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "230", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, { + "type" : "NamedTypeSpecifier", + "localId" : "231", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] } ], - "expression" : { - "localId" : "219", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "name" : "Life", - "type" : "ExpressionRef" - } - }, { - "localId" : "220", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "name" : "ExpensiveFunction", - "context" : "Patient", - "accessLevel" : "Public", - "type" : "FunctionDef", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "220", + "operand" : [ { + "type" : "Interval", + "localId" : "224", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "225", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "226", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "low" : { + "type" : "Literal", + "localId" : "222", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "high" : { + "type" : "Literal", + "localId" : "223", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "100000", + "annotation" : [ ] + } + }, { + "type" : "Null", + "localId" : "227", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", + "annotation" : [ ] + } ] + } + }, + "operand" : [ ] + }, { + "localId" : "243", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "name" : "ExpensiveStatement", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "243", + "s" : [ { + "value" : [ "", "define ", "ExpensiveStatement", ":\n " ] + }, { + "r" : "244", + "s" : [ { + "value" : [ "ExpensiveFunction", "()" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "FunctionRef", + "localId" : "244", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "name" : "ExpensiveFunction", + "annotation" : [ ], + "signature" : [ ], + "operand" : [ ] + } + }, { + "localId" : "247", + "name" : "ExpensiveStatementRef", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "247", + "s" : [ { + "value" : [ "", "define ", "ExpensiveStatementRef", ":\n " ] + }, { + "r" : "283", + "s" : [ { + "r" : "275", + "s" : [ { + "r" : "260", "s" : [ { - "value" : [ "","define function ExpensiveFunction():\n " ] - }, { - "r" : "238", - "s" : [ { - "r" : "238", - "s" : [ { - "value" : [ "First","(" ] - }, { - "r" : "228", - "s" : [ { - "value" : [ "expand " ] - }, { - "r" : "224", - "s" : [ { - "r" : "222", - "value" : [ "Interval[","1",", ","100000","]" ] - } ] - } ] - }, { - "value" : [ ")" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "238", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "First", - "signature" : [ { - "localId" : "239", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "240", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } ], - "source" : { - "localId" : "228", - "type" : "Expand", - "resultTypeSpecifier" : { - "localId" : "232", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "233", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "signature" : [ { - "localId" : "229", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "230", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } + "r" : "250", + "s" : [ { + "r" : "248", + "s" : [ { + "value" : [ "ExpensiveStatement" ] + } ] + }, { + "value" : [ " union \n " ] + }, { + "r" : "249", + "s" : [ { + "value" : [ "ExpensiveStatement" ] + } ] + } ] }, { - "localId" : "231", - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "224", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "225", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "226", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "222", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "high" : { - "localId" : "223", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "100000", - "type" : "Literal" - } + "value" : [ " union \n " ] }, { - "localId" : "227", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "Null" + "r" : "259", + "s" : [ { + "value" : [ "ExpensiveStatement" ] + } ] } ] - } - }, - "operand" : [ ] - }, { - "localId" : "243", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "name" : "ExpensiveStatement", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "243", + }, { + "value" : [ " union \n " ] + }, { + "r" : "268", "s" : [ { - "value" : [ "","define ","ExpensiveStatement",":\n " ] - }, { - "r" : "244", - "s" : [ { - "value" : [ "ExpensiveFunction","()" ] - } ] + "value" : [ "ExpensiveStatement" ] } ] - } - } ], - "expression" : { - "localId" : "244", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "name" : "ExpensiveFunction", - "type" : "FunctionRef", - "signature" : [ ], - "operand" : [ ] + } ] + }, { + "value" : [ " union \n " ] + }, { + "r" : "282", + "s" : [ { + "value" : [ "ExpensiveStatement" ] + } ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "291", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "292", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "expression" : { + "type" : "Union", + "localId" : "283", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "289", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "290", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] } - }, { - "localId" : "247", - "name" : "ExpensiveStatementRef", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "247", - "s" : [ { - "value" : [ "","define ","ExpensiveStatementRef",":\n " ] - }, { - "r" : "283", - "s" : [ { - "r" : "275", - "s" : [ { - "r" : "260", - "s" : [ { - "r" : "250", - "s" : [ { - "r" : "248", - "s" : [ { - "value" : [ "ExpensiveStatement" ] - } ] - }, { - "value" : [ " union \n " ] - }, { - "r" : "249", - "s" : [ { - "value" : [ "ExpensiveStatement" ] - } ] - } ] - }, { - "value" : [ " union \n " ] - }, { - "r" : "259", - "s" : [ { - "value" : [ "ExpensiveStatement" ] - } ] - } ] - }, { - "value" : [ " union \n " ] - }, { - "r" : "268", - "s" : [ { - "value" : [ "ExpensiveStatement" ] - } ] - } ] - }, { - "value" : [ " union \n " ] - }, { - "r" : "282", - "s" : [ { - "value" : [ "ExpensiveStatement" ] - } ] - } ] - } ] - } - } ], + }, + "signature" : [ { + "type" : "ListTypeSpecifier", + "localId" : "285", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "286", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, { + "type" : "ListTypeSpecifier", + "localId" : "287", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "288", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "Union", + "localId" : "275", + "annotation" : [ ], "resultTypeSpecifier" : { - "localId" : "291", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "292", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } + "type" : "ListTypeSpecifier", + "localId" : "280", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "281", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } }, - "expression" : { - "localId" : "283", - "type" : "Union", - "resultTypeSpecifier" : { - "localId" : "289", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "290", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "signature" : [ { - "localId" : "285", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "286", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "287", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "288", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "275", - "type" : "Union", - "resultTypeSpecifier" : { - "localId" : "280", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "281", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "signature" : [ { - "localId" : "276", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "277", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "278", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "279", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "250", - "type" : "Union", - "resultTypeSpecifier" : { - "localId" : "257", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "258", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "signature" : [ { - "localId" : "253", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "254", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "255", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "256", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "251", - "type" : "ToList", - "signature" : [ ], - "operand" : { - "localId" : "248", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "name" : "ExpensiveStatement", - "type" : "ExpressionRef" - } - }, { - "localId" : "252", - "type" : "ToList", - "signature" : [ ], - "operand" : { - "localId" : "249", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "name" : "ExpensiveStatement", - "type" : "ExpressionRef" - } - } ] - }, { - "localId" : "269", - "type" : "Union", - "signature" : [ { - "localId" : "271", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "272", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "273", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "274", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : [ { - "localId" : "261", - "type" : "ToList", - "signature" : [ ], - "operand" : { - "localId" : "259", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "name" : "ExpensiveStatement", - "type" : "ExpressionRef" - } - }, { - "localId" : "270", - "type" : "ToList", - "signature" : [ ], - "operand" : { - "localId" : "268", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "name" : "ExpensiveStatement", - "type" : "ExpressionRef" - } - } ] - } ] - }, { - "localId" : "284", - "type" : "ToList", - "signature" : [ ], - "operand" : { - "localId" : "282", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "name" : "ExpensiveStatement", - "type" : "ExpressionRef" - } - } ] + "signature" : [ { + "type" : "ListTypeSpecifier", + "localId" : "276", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "277", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, { + "type" : "ListTypeSpecifier", + "localId" : "278", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "279", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "Union", + "localId" : "250", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "257", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "258", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "signature" : [ { + "type" : "ListTypeSpecifier", + "localId" : "253", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "254", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, { + "type" : "ListTypeSpecifier", + "localId" : "255", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "256", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "ToList", + "localId" : "251", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "ExpressionRef", + "localId" : "248", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "name" : "ExpensiveStatement", + "annotation" : [ ] + } + }, { + "type" : "ToList", + "localId" : "252", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "ExpressionRef", + "localId" : "249", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "name" : "ExpensiveStatement", + "annotation" : [ ] + } + } ] + }, { + "type" : "Union", + "localId" : "269", + "annotation" : [ ], + "signature" : [ { + "type" : "ListTypeSpecifier", + "localId" : "271", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "272", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, { + "type" : "ListTypeSpecifier", + "localId" : "273", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "274", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } ], + "operand" : [ { + "type" : "ToList", + "localId" : "261", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "ExpressionRef", + "localId" : "259", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "name" : "ExpensiveStatement", + "annotation" : [ ] + } + }, { + "type" : "ToList", + "localId" : "270", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "ExpressionRef", + "localId" : "268", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "name" : "ExpensiveStatement", + "annotation" : [ ] + } + } ] + } ] + }, { + "type" : "ToList", + "localId" : "284", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "ExpressionRef", + "localId" : "282", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "name" : "ExpensiveStatement", + "annotation" : [ ] } - } ] - } - } + } ] + } + } ] + } + } } /* FunctionDefinitions @@ -656,212 +733,235 @@ define testValue: "foo bar"(1,2) */ module.exports['FunctionDefinitions'] = { - "library" : { - "localId" : "0", - "annotation" : [ { - "translatorVersion" : "3.27.0", - "translatorOptions" : "EnableDateRangeOptimization,EnableAnnotations,EnableResultTypes", - "signatureLevel" : "All", - "type" : "CqlToElmInfo" + "library" : { + "localId" : "0", + "annotation" : [ { + "type" : "CqlToElmInfo", + "translatorVersion" : "4.2.0", + "translatorOptions" : "EnableDateRangeOptimization,EnableAnnotations,EnableResultTypes", + "signatureLevel" : "All" + }, { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "227", + "s" : [ { + "value" : [ "", "library TestSnippet version '1'" ] + } ] + } + } ], + "identifier" : { + "id" : "TestSnippet", + "version" : "1" + }, + "schemaIdentifier" : { + "id" : "urn:hl7-org:elm", + "version" : "r1" + }, + "usings" : { + "def" : [ { + "localId" : "1", + "localIdentifier" : "System", + "uri" : "urn:hl7-org:elm-types:r1", + "annotation" : [ ] }, { - "type" : "Annotation", - "s" : { - "r" : "227", + "localId" : "206", + "localIdentifier" : "Simple", + "uri" : "https://github.com/cqframework/cql-execution/simple", + "version" : "1.0.0", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "206", "s" : [ { - "value" : [ "","library TestSnippet version '1'" ] + "value" : [ "", "using " ] + }, { + "s" : [ { + "value" : [ "Simple" ] + } ] + }, { + "value" : [ " version '1.0.0'" ] } ] - } - } ], - "identifier" : { - "id" : "TestSnippet", - "version" : "1" - }, - "schemaIdentifier" : { - "id" : "urn:hl7-org:elm", - "version" : "r1" - }, - "usings" : { - "def" : [ { - "localId" : "1", - "localIdentifier" : "System", - "uri" : "urn:hl7-org:elm-types:r1" - }, { - "localId" : "206", - "localIdentifier" : "Simple", - "uri" : "https://github.com/cqframework/cql-execution/simple", - "version" : "1.0.0", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "206", + } + } ] + } ] + }, + "contexts" : { + "def" : [ { + "localId" : "211", + "name" : "Patient", + "annotation" : [ ] + } ] + }, + "statements" : { + "def" : [ { + "localId" : "209", + "name" : "Patient", + "context" : "Patient", + "annotation" : [ ], + "expression" : { + "type" : "SingletonFrom", + "localId" : "210", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Retrieve", + "localId" : "208", + "dataType" : "{https://github.com/cqframework/cql-execution/simple}Patient", + "annotation" : [ ], + "include" : [ ], + "codeFilter" : [ ], + "dateFilter" : [ ], + "otherFilter" : [ ] + } + } + }, { + "type" : "FunctionDef", + "localId" : "212", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "name" : "foo bar", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "212", + "s" : [ { + "value" : [ "", "define function \"foo bar\"(a Integer, b Integer) :\n " ] + }, { + "r" : "220", + "s" : [ { + "r" : "220", + "s" : [ { + "r" : "221", "s" : [ { - "value" : [ "","using " ] - }, { - "s" : [ { - "value" : [ "Simple" ] - } ] - }, { - "value" : [ " version '1.0.0'" ] + "value" : [ "a" ] } ] - } - } ] - } ] - }, - "contexts" : { - "def" : [ { - "localId" : "211", - "name" : "Patient" - } ] - }, - "statements" : { - "def" : [ { - "localId" : "209", - "name" : "Patient", - "context" : "Patient", - "expression" : { - "localId" : "210", - "type" : "SingletonFrom", - "signature" : [ ], - "operand" : { - "localId" : "208", - "dataType" : "{https://github.com/cqframework/cql-execution/simple}Patient", - "type" : "Retrieve", - "include" : [ ], - "codeFilter" : [ ], - "dateFilter" : [ ], - "otherFilter" : [ ] - } - } - }, { - "localId" : "212", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "name" : "foo bar", - "context" : "Patient", - "accessLevel" : "Public", - "type" : "FunctionDef", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "212", + }, { + "value" : [ " + " ] + }, { + "r" : "222", "s" : [ { - "value" : [ "","define function \"foo bar\"(a Integer, b Integer) :\n " ] - }, { - "r" : "220", - "s" : [ { - "r" : "220", - "s" : [ { - "r" : "221", - "s" : [ { - "value" : [ "a" ] - } ] - }, { - "value" : [ " + " ] - }, { - "r" : "222", - "s" : [ { - "value" : [ "b" ] - } ] - } ] - } ] + "value" : [ "b" ] } ] - } - } ], - "expression" : { - "localId" : "220", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "Add", - "signature" : [ { - "localId" : "223", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "224", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "221", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "name" : "a", - "type" : "OperandRef" - }, { - "localId" : "222", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "name" : "b", - "type" : "OperandRef" - } ] - }, - "operand" : [ { - "localId" : "214", - "name" : "a", - "operandTypeSpecifier" : { - "localId" : "213", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Add", + "localId" : "220", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "223", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "224", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "OperandRef", + "localId" : "221", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "name" : "a", + "annotation" : [ ] + }, { + "type" : "OperandRef", + "localId" : "222", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "name" : "b", + "annotation" : [ ] + } ] + }, + "operand" : [ { + "localId" : "214", + "name" : "a", + "annotation" : [ ], + "operandTypeSpecifier" : { + "type" : "NamedTypeSpecifier", + "localId" : "213", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, { + "localId" : "216", + "name" : "b", + "annotation" : [ ], + "operandTypeSpecifier" : { + "type" : "NamedTypeSpecifier", + "localId" : "215", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } ] + }, { + "localId" : "227", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "name" : "testValue", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "227", + "s" : [ { + "value" : [ "", "define ", "testValue", ": " ] }, { - "localId" : "216", - "name" : "b", - "operandTypeSpecifier" : { - "localId" : "215", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } + "r" : "230", + "s" : [ { + "r" : "228", + "value" : [ "\"foo bar\"", "(", "1", ",", "2", ")" ] + } ] } ] - }, { - "localId" : "227", + } + } ], + "expression" : { + "type" : "FunctionRef", + "localId" : "230", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "name" : "foo bar", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "231", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "232", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "Literal", + "localId" : "228", "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "name" : "testValue", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "227", - "s" : [ { - "value" : [ "","define ","testValue",": " ] - }, { - "r" : "230", - "s" : [ { - "r" : "228", - "value" : [ "\"foo bar\"","(","1",",","2",")" ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "230", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "name" : "foo bar", - "type" : "FunctionRef", - "signature" : [ { - "localId" : "231", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "232", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "228", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, { - "localId" : "229", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal" - } ] - } - } ] - } - } + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "229", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "annotation" : [ ] + } ] + } + } ] + } + } } /* FunctionOverloadsWithSingleArgument @@ -879,297 +979,326 @@ define testValue2: process('World') */ module.exports['FunctionOverloadsWithSingleArgument'] = { - "library" : { - "localId" : "0", - "annotation" : [ { - "translatorVersion" : "3.27.0", - "translatorOptions" : "EnableDateRangeOptimization,EnableAnnotations,EnableResultTypes", - "signatureLevel" : "All", - "type" : "CqlToElmInfo" + "library" : { + "localId" : "0", + "annotation" : [ { + "type" : "CqlToElmInfo", + "translatorVersion" : "4.2.0", + "translatorOptions" : "EnableDateRangeOptimization,EnableAnnotations,EnableResultTypes", + "signatureLevel" : "All" + }, { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "242", + "s" : [ { + "value" : [ "", "library TestSnippet version '1'" ] + } ] + } + } ], + "identifier" : { + "id" : "TestSnippet", + "version" : "1" + }, + "schemaIdentifier" : { + "id" : "urn:hl7-org:elm", + "version" : "r1" + }, + "usings" : { + "def" : [ { + "localId" : "1", + "localIdentifier" : "System", + "uri" : "urn:hl7-org:elm-types:r1", + "annotation" : [ ] }, { - "type" : "Annotation", - "s" : { - "r" : "242", + "localId" : "206", + "localIdentifier" : "Simple", + "uri" : "https://github.com/cqframework/cql-execution/simple", + "version" : "1.0.0", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "206", "s" : [ { - "value" : [ "","library TestSnippet version '1'" ] + "value" : [ "", "using " ] + }, { + "s" : [ { + "value" : [ "Simple" ] + } ] + }, { + "value" : [ " version '1.0.0'" ] } ] - } - } ], - "identifier" : { - "id" : "TestSnippet", - "version" : "1" - }, - "schemaIdentifier" : { - "id" : "urn:hl7-org:elm", - "version" : "r1" - }, - "usings" : { - "def" : [ { - "localId" : "1", - "localIdentifier" : "System", - "uri" : "urn:hl7-org:elm-types:r1" - }, { - "localId" : "206", - "localIdentifier" : "Simple", - "uri" : "https://github.com/cqframework/cql-execution/simple", - "version" : "1.0.0", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "206", + } + } ] + } ] + }, + "contexts" : { + "def" : [ { + "localId" : "211", + "name" : "Patient", + "annotation" : [ ] + } ] + }, + "statements" : { + "def" : [ { + "localId" : "209", + "name" : "Patient", + "context" : "Patient", + "annotation" : [ ], + "expression" : { + "type" : "SingletonFrom", + "localId" : "210", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Retrieve", + "localId" : "208", + "dataType" : "{https://github.com/cqframework/cql-execution/simple}Patient", + "annotation" : [ ], + "include" : [ ], + "codeFilter" : [ ], + "dateFilter" : [ ], + "otherFilter" : [ ] + } + } + }, { + "type" : "FunctionDef", + "localId" : "212", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "name" : "process", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "212", + "s" : [ { + "value" : [ "", "define function process(a System.Integer) :\n " ] + }, { + "r" : "217", + "s" : [ { + "r" : "217", + "s" : [ { + "r" : "218", "s" : [ { - "value" : [ "","using " ] - }, { - "s" : [ { - "value" : [ "Simple" ] - } ] - }, { - "value" : [ " version '1.0.0'" ] + "value" : [ "a" ] } ] - } + }, { + "r" : "219", + "value" : [ " + ", "1" ] + } ] + } ] } ] - } ] - }, - "contexts" : { - "def" : [ { - "localId" : "211", - "name" : "Patient" - } ] - }, - "statements" : { - "def" : [ { - "localId" : "209", - "name" : "Patient", - "context" : "Patient", - "expression" : { - "localId" : "210", - "type" : "SingletonFrom", - "signature" : [ ], - "operand" : { - "localId" : "208", - "dataType" : "{https://github.com/cqframework/cql-execution/simple}Patient", - "type" : "Retrieve", - "include" : [ ], - "codeFilter" : [ ], - "dateFilter" : [ ], - "otherFilter" : [ ] - } - } - }, { - "localId" : "212", + } + } ], + "expression" : { + "type" : "Add", + "localId" : "217", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "220", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "221", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "OperandRef", + "localId" : "218", "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "name" : "process", - "context" : "Patient", - "accessLevel" : "Public", - "type" : "FunctionDef", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "212", + "name" : "a", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "219", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + } ] + }, + "operand" : [ { + "localId" : "214", + "name" : "a", + "annotation" : [ ], + "operandTypeSpecifier" : { + "type" : "NamedTypeSpecifier", + "localId" : "213", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } ] + }, { + "type" : "FunctionDef", + "localId" : "222", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "name" : "process", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "222", + "s" : [ { + "value" : [ "", "define function process(a System.String) :\n " ] + }, { + "r" : "233", + "s" : [ { + "r" : "233", + "s" : [ { + "r" : "228", "s" : [ { - "value" : [ "","define function process(a System.Integer) :\n " ] - }, { - "r" : "217", - "s" : [ { - "r" : "217", - "s" : [ { - "r" : "218", - "s" : [ { - "value" : [ "a" ] - } ] - }, { - "r" : "219", - "value" : [ " + ","1" ] - } ] - } ] + "value" : [ "'Hello '" ] } ] - } - } ], - "expression" : { - "localId" : "217", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "Add", - "signature" : [ { - "localId" : "220", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "221", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "218", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "name" : "a", - "type" : "OperandRef" - }, { - "localId" : "219", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - } ] - }, - "operand" : [ { - "localId" : "214", - "name" : "a", - "operandTypeSpecifier" : { - "localId" : "213", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } ] - }, { - "localId" : "222", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "name" : "process", - "context" : "Patient", - "accessLevel" : "Public", - "type" : "FunctionDef", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "222", + }, { + "value" : [ " + " ] + }, { + "r" : "230", "s" : [ { - "value" : [ "","define function process(a System.String) :\n " ] - }, { - "r" : "233", - "s" : [ { - "r" : "233", - "s" : [ { - "r" : "228", - "s" : [ { - "value" : [ "'Hello '" ] - } ] - }, { - "value" : [ " + " ] - }, { - "r" : "230", - "s" : [ { - "value" : [ "a" ] - } ] - } ] - } ] + "value" : [ "a" ] } ] - } - } ], - "expression" : { - "localId" : "233", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "type" : "Concatenate", - "signature" : [ ], - "operand" : [ { - "localId" : "228", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "Hello ", - "type" : "Literal" - }, { - "localId" : "230", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "name" : "a", - "type" : "OperandRef" - } ] - }, - "operand" : [ { - "localId" : "224", - "name" : "a", - "operandTypeSpecifier" : { - "localId" : "223", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Concatenate", + "localId" : "233", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ], + "signature" : [ ], + "operand" : [ { + "type" : "Literal", + "localId" : "228", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "Hello ", + "annotation" : [ ] + }, { + "type" : "OperandRef", + "localId" : "230", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "name" : "a", + "annotation" : [ ] + } ] + }, + "operand" : [ { + "localId" : "224", + "name" : "a", + "annotation" : [ ], + "operandTypeSpecifier" : { + "type" : "NamedTypeSpecifier", + "localId" : "223", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } + } ] + }, { + "localId" : "236", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "name" : "testValue1", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "236", + "s" : [ { + "value" : [ "", "define ", "testValue1", ": " ] + }, { + "r" : "238", + "s" : [ { + "r" : "237", + "value" : [ "process", "(", "1", ")" ] + } ] } ] - }, { - "localId" : "236", + } + } ], + "expression" : { + "type" : "FunctionRef", + "localId" : "238", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "name" : "process", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "239", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "Literal", + "localId" : "237", "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "name" : "testValue1", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "236", - "s" : [ { - "value" : [ "","define ","testValue1",": " ] - }, { - "r" : "238", - "s" : [ { - "r" : "237", - "value" : [ "process","(","1",")" ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "238", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "name" : "process", - "type" : "FunctionRef", - "signature" : [ { - "localId" : "239", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "237", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - } ] - } - }, { - "localId" : "242", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + } ] + } + }, { + "localId" : "242", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "name" : "testValue2", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "242", + "s" : [ { + "value" : [ "", "define ", "testValue2", ": " ] + }, { + "r" : "245", + "s" : [ { + "value" : [ "process", "(" ] + }, { + "r" : "243", + "s" : [ { + "value" : [ "'World'" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "FunctionRef", + "localId" : "245", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "name" : "process", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "246", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "Literal", + "localId" : "243", "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "name" : "testValue2", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "242", - "s" : [ { - "value" : [ "","define ","testValue2",": " ] - }, { - "r" : "245", - "s" : [ { - "value" : [ "process","(" ] - }, { - "r" : "243", - "s" : [ { - "value" : [ "'World'" ] - } ] - }, { - "value" : [ ")" ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "245", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "name" : "process", - "type" : "FunctionRef", - "signature" : [ { - "localId" : "246", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "243", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "World", - "type" : "Literal" - } ] - } - } ] - } - } + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "World", + "annotation" : [ ] + } ] + } + } ] + } + } } /* FunctionOverloadsWithMultipleArguments @@ -1187,456 +1316,505 @@ define testValue2: process(true, 'World') */ module.exports['FunctionOverloadsWithMultipleArguments'] = { - "library" : { - "localId" : "0", - "annotation" : [ { - "translatorVersion" : "3.27.0", - "translatorOptions" : "EnableDateRangeOptimization,EnableAnnotations,EnableResultTypes", - "signatureLevel" : "All", - "type" : "CqlToElmInfo" + "library" : { + "localId" : "0", + "annotation" : [ { + "type" : "CqlToElmInfo", + "translatorVersion" : "4.2.0", + "translatorOptions" : "EnableDateRangeOptimization,EnableAnnotations,EnableResultTypes", + "signatureLevel" : "All" + }, { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "266", + "s" : [ { + "value" : [ "", "library TestSnippet version '1'" ] + } ] + } + } ], + "identifier" : { + "id" : "TestSnippet", + "version" : "1" + }, + "schemaIdentifier" : { + "id" : "urn:hl7-org:elm", + "version" : "r1" + }, + "usings" : { + "def" : [ { + "localId" : "1", + "localIdentifier" : "System", + "uri" : "urn:hl7-org:elm-types:r1", + "annotation" : [ ] }, { - "type" : "Annotation", - "s" : { - "r" : "266", + "localId" : "206", + "localIdentifier" : "Simple", + "uri" : "https://github.com/cqframework/cql-execution/simple", + "version" : "1.0.0", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "206", "s" : [ { - "value" : [ "","library TestSnippet version '1'" ] + "value" : [ "", "using " ] + }, { + "s" : [ { + "value" : [ "Simple" ] + } ] + }, { + "value" : [ " version '1.0.0'" ] } ] - } - } ], - "identifier" : { - "id" : "TestSnippet", - "version" : "1" - }, - "schemaIdentifier" : { - "id" : "urn:hl7-org:elm", - "version" : "r1" - }, - "usings" : { - "def" : [ { - "localId" : "1", - "localIdentifier" : "System", - "uri" : "urn:hl7-org:elm-types:r1" - }, { - "localId" : "206", - "localIdentifier" : "Simple", - "uri" : "https://github.com/cqframework/cql-execution/simple", - "version" : "1.0.0", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "206", + } + } ] + } ] + }, + "contexts" : { + "def" : [ { + "localId" : "211", + "name" : "Patient", + "annotation" : [ ] + } ] + }, + "statements" : { + "def" : [ { + "localId" : "209", + "name" : "Patient", + "context" : "Patient", + "annotation" : [ ], + "expression" : { + "type" : "SingletonFrom", + "localId" : "210", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Retrieve", + "localId" : "208", + "dataType" : "{https://github.com/cqframework/cql-execution/simple}Patient", + "annotation" : [ ], + "include" : [ ], + "codeFilter" : [ ], + "dateFilter" : [ ], + "otherFilter" : [ ] + } + } + }, { + "type" : "FunctionDef", + "localId" : "212", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "name" : "process", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "212", + "s" : [ { + "value" : [ "", "define function process(inverse System.Boolean, a System.Integer) :\n " ] + }, { + "r" : "220", + "s" : [ { + "r" : "220", + "s" : [ { + "value" : [ "if " ] + }, { + "r" : "221", + "s" : [ { + "value" : [ "inverse" ] + } ] + }, { + "value" : [ " then " ] + }, { + "r" : "222", "s" : [ { - "value" : [ "","using " ] + "r" : "223", + "s" : [ { + "value" : [ "a" ] + } ] }, { - "s" : [ { - "value" : [ "Simple" ] - } ] + "r" : "224", + "value" : [ " - ", "1" ] + } ] + }, { + "value" : [ " else " ] + }, { + "r" : "227", + "s" : [ { + "r" : "228", + "s" : [ { + "value" : [ "a" ] + } ] }, { - "value" : [ " version '1.0.0'" ] + "r" : "229", + "value" : [ " + ", "1" ] } ] - } + } ] + } ] } ] - } ] - }, - "contexts" : { - "def" : [ { - "localId" : "211", - "name" : "Patient" - } ] - }, - "statements" : { - "def" : [ { - "localId" : "209", - "name" : "Patient", - "context" : "Patient", - "expression" : { - "localId" : "210", - "type" : "SingletonFrom", - "signature" : [ ], - "operand" : { - "localId" : "208", - "dataType" : "{https://github.com/cqframework/cql-execution/simple}Patient", - "type" : "Retrieve", - "include" : [ ], - "codeFilter" : [ ], - "dateFilter" : [ ], - "otherFilter" : [ ] - } - } - }, { - "localId" : "212", + } + } ], + "expression" : { + "type" : "If", + "localId" : "220", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ], + "condition" : { + "type" : "OperandRef", + "localId" : "221", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "inverse", + "annotation" : [ ] + }, + "then" : { + "type" : "Subtract", + "localId" : "222", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "225", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "226", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "OperandRef", + "localId" : "223", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "name" : "a", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "224", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + } ] + }, + "else" : { + "type" : "Add", + "localId" : "227", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "230", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "231", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "OperandRef", + "localId" : "228", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "name" : "a", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "229", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + } ] + } + }, + "operand" : [ { + "localId" : "214", + "name" : "inverse", + "annotation" : [ ], + "operandTypeSpecifier" : { + "type" : "NamedTypeSpecifier", + "localId" : "213", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ] + } + }, { + "localId" : "216", + "name" : "a", + "annotation" : [ ], + "operandTypeSpecifier" : { + "type" : "NamedTypeSpecifier", + "localId" : "215", "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "name" : "process", - "context" : "Patient", - "accessLevel" : "Public", - "type" : "FunctionDef", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "212", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } ] + }, { + "type" : "FunctionDef", + "localId" : "232", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "name" : "process", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "232", + "s" : [ { + "value" : [ "", "define function process(inverse System.Boolean, a System.String) :\n " ] + }, { + "r" : "240", + "s" : [ { + "r" : "240", + "s" : [ { + "value" : [ "if " ] + }, { + "r" : "241", "s" : [ { - "value" : [ "","define function process(inverse System.Boolean, a System.Integer) :\n " ] - }, { - "r" : "220", - "s" : [ { - "r" : "220", - "s" : [ { - "value" : [ "if " ] - }, { - "r" : "221", - "s" : [ { - "value" : [ "inverse" ] - } ] - }, { - "value" : [ " then " ] - }, { - "r" : "222", - "s" : [ { - "r" : "223", - "s" : [ { - "value" : [ "a" ] - } ] - }, { - "r" : "224", - "value" : [ " - ","1" ] - } ] - }, { - "value" : [ " else " ] - }, { - "r" : "227", - "s" : [ { - "r" : "228", - "s" : [ { - "value" : [ "a" ] - } ] - }, { - "r" : "229", - "value" : [ " + ","1" ] - } ] - } ] - } ] + "value" : [ "inverse" ] } ] - } - } ], - "expression" : { - "localId" : "220", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "If", - "condition" : { - "localId" : "221", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "inverse", - "type" : "OperandRef" - }, - "then" : { - "localId" : "222", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "Subtract", - "signature" : [ { - "localId" : "225", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" + }, { + "value" : [ " then " ] + }, { + "r" : "248", + "s" : [ { + "r" : "243", + "s" : [ { + "value" : [ "'Goodbye '" ] + } ] }, { - "localId" : "226", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "223", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "name" : "a", - "type" : "OperandRef" + "value" : [ " + " ] }, { - "localId" : "224", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" + "r" : "245", + "s" : [ { + "value" : [ "a" ] + } ] } ] - }, - "else" : { - "localId" : "227", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "Add", - "signature" : [ { - "localId" : "230", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" + }, { + "value" : [ " else " ] + }, { + "r" : "255", + "s" : [ { + "r" : "250", + "s" : [ { + "value" : [ "'Hello '" ] + } ] }, { - "localId" : "231", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "228", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "name" : "a", - "type" : "OperandRef" + "value" : [ " + " ] }, { - "localId" : "229", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" + "r" : "252", + "s" : [ { + "value" : [ "a" ] + } ] } ] - } - }, + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "If", + "localId" : "240", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ], + "condition" : { + "type" : "OperandRef", + "localId" : "241", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "inverse", + "annotation" : [ ] + }, + "then" : { + "type" : "Concatenate", + "localId" : "248", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ], + "signature" : [ ], "operand" : [ { - "localId" : "214", - "name" : "inverse", - "operandTypeSpecifier" : { - "localId" : "213", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "NamedTypeSpecifier" - } + "type" : "Literal", + "localId" : "243", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "Goodbye ", + "annotation" : [ ] }, { - "localId" : "216", - "name" : "a", - "operandTypeSpecifier" : { - "localId" : "215", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } + "type" : "OperandRef", + "localId" : "245", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "name" : "a", + "annotation" : [ ] } ] - }, { - "localId" : "232", + }, + "else" : { + "type" : "Concatenate", + "localId" : "255", "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "name" : "process", - "context" : "Patient", - "accessLevel" : "Public", - "type" : "FunctionDef", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "232", - "s" : [ { - "value" : [ "","define function process(inverse System.Boolean, a System.String) :\n " ] - }, { - "r" : "240", - "s" : [ { - "r" : "240", - "s" : [ { - "value" : [ "if " ] - }, { - "r" : "241", - "s" : [ { - "value" : [ "inverse" ] - } ] - }, { - "value" : [ " then " ] - }, { - "r" : "248", - "s" : [ { - "r" : "243", - "s" : [ { - "value" : [ "'Goodbye '" ] - } ] - }, { - "value" : [ " + " ] - }, { - "r" : "245", - "s" : [ { - "value" : [ "a" ] - } ] - } ] - }, { - "value" : [ " else " ] - }, { - "r" : "255", - "s" : [ { - "r" : "250", - "s" : [ { - "value" : [ "'Hello '" ] - } ] - }, { - "value" : [ " + " ] - }, { - "r" : "252", - "s" : [ { - "value" : [ "a" ] - } ] - } ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "240", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "type" : "If", - "condition" : { - "localId" : "241", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "inverse", - "type" : "OperandRef" - }, - "then" : { - "localId" : "248", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "type" : "Concatenate", - "signature" : [ ], - "operand" : [ { - "localId" : "243", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "Goodbye ", - "type" : "Literal" - }, { - "localId" : "245", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "name" : "a", - "type" : "OperandRef" - } ] - }, - "else" : { - "localId" : "255", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "type" : "Concatenate", - "signature" : [ ], - "operand" : [ { - "localId" : "250", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "Hello ", - "type" : "Literal" - }, { - "localId" : "252", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "name" : "a", - "type" : "OperandRef" - } ] - } - }, + "annotation" : [ ], + "signature" : [ ], "operand" : [ { - "localId" : "234", - "name" : "inverse", - "operandTypeSpecifier" : { - "localId" : "233", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "NamedTypeSpecifier" - } + "type" : "Literal", + "localId" : "250", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "Hello ", + "annotation" : [ ] }, { - "localId" : "236", - "name" : "a", - "operandTypeSpecifier" : { - "localId" : "235", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } + "type" : "OperandRef", + "localId" : "252", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "name" : "a", + "annotation" : [ ] + } ] + } + }, + "operand" : [ { + "localId" : "234", + "name" : "inverse", + "annotation" : [ ], + "operandTypeSpecifier" : { + "type" : "NamedTypeSpecifier", + "localId" : "233", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ] + } + }, { + "localId" : "236", + "name" : "a", + "annotation" : [ ], + "operandTypeSpecifier" : { + "type" : "NamedTypeSpecifier", + "localId" : "235", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } + } ] + }, { + "localId" : "258", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "name" : "testValue1", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "258", + "s" : [ { + "value" : [ "", "define ", "testValue1", ": " ] + }, { + "r" : "261", + "s" : [ { + "r" : "259", + "value" : [ "process", "(", "true", ", ", "1", ")" ] + } ] } ] - }, { - "localId" : "258", + } + } ], + "expression" : { + "type" : "FunctionRef", + "localId" : "261", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "name" : "process", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "262", + "name" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "263", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "Literal", + "localId" : "259", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", + "value" : "true", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "260", "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "name" : "testValue1", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "258", - "s" : [ { - "value" : [ "","define ","testValue1",": " ] - }, { - "r" : "261", - "s" : [ { - "r" : "259", - "value" : [ "process","(","true",", ","1",")" ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "261", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "name" : "process", - "type" : "FunctionRef", - "signature" : [ { - "localId" : "262", - "name" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "263", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "259", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "true", - "type" : "Literal" - }, { - "localId" : "260", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - } ] - } - }, { - "localId" : "266", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + } ] + } + }, { + "localId" : "266", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "name" : "testValue2", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "266", + "s" : [ { + "value" : [ "", "define ", "testValue2", ": " ] + }, { + "r" : "270", + "s" : [ { + "r" : "267", + "value" : [ "process", "(", "true", ", " ] + }, { + "r" : "268", + "s" : [ { + "value" : [ "'World'" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "FunctionRef", + "localId" : "270", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "name" : "process", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "271", + "name" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "272", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "Literal", + "localId" : "267", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", + "value" : "true", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "268", "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "name" : "testValue2", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "266", - "s" : [ { - "value" : [ "","define ","testValue2",": " ] - }, { - "r" : "270", - "s" : [ { - "r" : "267", - "value" : [ "process","(","true",", " ] - }, { - "r" : "268", - "s" : [ { - "value" : [ "'World'" ] - } ] - }, { - "value" : [ ")" ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "270", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "name" : "process", - "type" : "FunctionRef", - "signature" : [ { - "localId" : "271", - "name" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "272", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "267", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "true", - "type" : "Literal" - }, { - "localId" : "268", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "World", - "type" : "Literal" - } ] - } - } ] - } - } + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "World", + "annotation" : [ ] + } ] + } + } ] + } + } } /* FunctionOverloadsWithDifferentNumberOfArguments @@ -1655,477 +1833,523 @@ define testValue3: process('World', false) */ module.exports['FunctionOverloadsWithDifferentNumberOfArguments'] = { - "library" : { - "localId" : "0", - "annotation" : [ { - "translatorVersion" : "3.27.0", - "translatorOptions" : "EnableDateRangeOptimization,EnableAnnotations,EnableResultTypes", - "signatureLevel" : "All", - "type" : "CqlToElmInfo" + "library" : { + "localId" : "0", + "annotation" : [ { + "type" : "CqlToElmInfo", + "translatorVersion" : "4.2.0", + "translatorOptions" : "EnableDateRangeOptimization,EnableAnnotations,EnableResultTypes", + "signatureLevel" : "All" + }, { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "278", + "s" : [ { + "value" : [ "", "library TestSnippet version '1'" ] + } ] + } + } ], + "identifier" : { + "id" : "TestSnippet", + "version" : "1" + }, + "schemaIdentifier" : { + "id" : "urn:hl7-org:elm", + "version" : "r1" + }, + "usings" : { + "def" : [ { + "localId" : "1", + "localIdentifier" : "System", + "uri" : "urn:hl7-org:elm-types:r1", + "annotation" : [ ] }, { - "type" : "Annotation", - "s" : { - "r" : "278", + "localId" : "206", + "localIdentifier" : "Simple", + "uri" : "https://github.com/cqframework/cql-execution/simple", + "version" : "1.0.0", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "206", "s" : [ { - "value" : [ "","library TestSnippet version '1'" ] + "value" : [ "", "using " ] + }, { + "s" : [ { + "value" : [ "Simple" ] + } ] + }, { + "value" : [ " version '1.0.0'" ] } ] - } - } ], - "identifier" : { - "id" : "TestSnippet", - "version" : "1" - }, - "schemaIdentifier" : { - "id" : "urn:hl7-org:elm", - "version" : "r1" - }, - "usings" : { - "def" : [ { - "localId" : "1", - "localIdentifier" : "System", - "uri" : "urn:hl7-org:elm-types:r1" - }, { - "localId" : "206", - "localIdentifier" : "Simple", - "uri" : "https://github.com/cqframework/cql-execution/simple", - "version" : "1.0.0", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "206", + } + } ] + } ] + }, + "contexts" : { + "def" : [ { + "localId" : "211", + "name" : "Patient", + "annotation" : [ ] + } ] + }, + "statements" : { + "def" : [ { + "localId" : "209", + "name" : "Patient", + "context" : "Patient", + "annotation" : [ ], + "expression" : { + "type" : "SingletonFrom", + "localId" : "210", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Retrieve", + "localId" : "208", + "dataType" : "{https://github.com/cqframework/cql-execution/simple}Patient", + "annotation" : [ ], + "include" : [ ], + "codeFilter" : [ ], + "dateFilter" : [ ], + "otherFilter" : [ ] + } + } + }, { + "type" : "FunctionDef", + "localId" : "212", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "name" : "process", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "212", + "s" : [ { + "value" : [ "", "define function process(a System.String) :\n " ] + }, { + "r" : "223", + "s" : [ { + "r" : "223", + "s" : [ { + "r" : "218", "s" : [ { - "value" : [ "","using " ] - }, { - "s" : [ { - "value" : [ "Simple" ] - } ] - }, { - "value" : [ " version '1.0.0'" ] + "value" : [ "'Hello '" ] + } ] + }, { + "value" : [ " + " ] + }, { + "r" : "220", + "s" : [ { + "value" : [ "a" ] } ] - } + } ] + } ] } ] - } ] - }, - "contexts" : { - "def" : [ { - "localId" : "211", - "name" : "Patient" - } ] - }, - "statements" : { - "def" : [ { - "localId" : "209", - "name" : "Patient", - "context" : "Patient", - "expression" : { - "localId" : "210", - "type" : "SingletonFrom", - "signature" : [ ], - "operand" : { - "localId" : "208", - "dataType" : "{https://github.com/cqframework/cql-execution/simple}Patient", - "type" : "Retrieve", - "include" : [ ], - "codeFilter" : [ ], - "dateFilter" : [ ], - "otherFilter" : [ ] - } - } - }, { - "localId" : "212", + } + } ], + "expression" : { + "type" : "Concatenate", + "localId" : "223", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ], + "signature" : [ ], + "operand" : [ { + "type" : "Literal", + "localId" : "218", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "Hello ", + "annotation" : [ ] + }, { + "type" : "OperandRef", + "localId" : "220", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "name" : "a", + "annotation" : [ ] + } ] + }, + "operand" : [ { + "localId" : "214", + "name" : "a", + "annotation" : [ ], + "operandTypeSpecifier" : { + "type" : "NamedTypeSpecifier", + "localId" : "213", "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "name" : "process", - "context" : "Patient", - "accessLevel" : "Public", - "type" : "FunctionDef", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "212", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } + } ] + }, { + "type" : "FunctionDef", + "localId" : "224", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "name" : "process", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "224", + "s" : [ { + "value" : [ "", "define function process(a System.String, isSpanish System.Boolean) :\n " ] + }, { + "r" : "232", + "s" : [ { + "r" : "232", + "s" : [ { + "value" : [ "if " ] + }, { + "r" : "233", + "s" : [ { + "value" : [ "isSpanish" ] + } ] + }, { + "value" : [ " then " ] + }, { + "r" : "246", "s" : [ { - "value" : [ "","define function process(a System.String) :\n " ] + "r" : "241", + "s" : [ { + "r" : "236", + "s" : [ { + "value" : [ "'Hola '" ] + } ] + }, { + "value" : [ " + " ] + }, { + "r" : "238", + "s" : [ { + "value" : [ "a" ] + } ] + } ] }, { - "r" : "223", - "s" : [ { - "r" : "223", - "s" : [ { - "r" : "218", - "s" : [ { - "value" : [ "'Hello '" ] - } ] - }, { - "value" : [ " + " ] - }, { - "r" : "220", - "s" : [ { - "value" : [ "a" ] - } ] - } ] - } ] + "value" : [ " + " ] + }, { + "r" : "242", + "s" : [ { + "value" : [ "' from Spain'" ] + } ] } ] - } - } ], - "expression" : { - "localId" : "223", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "type" : "Concatenate", - "signature" : [ ], - "operand" : [ { - "localId" : "218", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "Hello ", - "type" : "Literal" - }, { - "localId" : "220", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "name" : "a", - "type" : "OperandRef" - } ] - }, - "operand" : [ { - "localId" : "214", - "name" : "a", - "operandTypeSpecifier" : { - "localId" : "213", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } - } ] - }, { - "localId" : "224", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "name" : "process", - "context" : "Patient", - "accessLevel" : "Public", - "type" : "FunctionDef", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "224", + }, { + "value" : [ " else " ] + }, { + "r" : "259", "s" : [ { - "value" : [ "","define function process(a System.String, isSpanish System.Boolean) :\n " ] - }, { - "r" : "232", - "s" : [ { - "r" : "232", - "s" : [ { - "value" : [ "if " ] - }, { - "r" : "233", - "s" : [ { - "value" : [ "isSpanish" ] - } ] - }, { - "value" : [ " then " ] - }, { - "r" : "246", - "s" : [ { - "r" : "241", - "s" : [ { - "r" : "236", - "s" : [ { - "value" : [ "'Hola '" ] - } ] - }, { - "value" : [ " + " ] - }, { - "r" : "238", - "s" : [ { - "value" : [ "a" ] - } ] - } ] - }, { - "value" : [ " + " ] - }, { - "r" : "242", - "s" : [ { - "value" : [ "' from Spain'" ] - } ] - } ] - }, { - "value" : [ " else " ] - }, { - "r" : "259", - "s" : [ { - "r" : "254", - "s" : [ { - "r" : "249", - "s" : [ { - "value" : [ "'Hello '" ] - } ] - }, { - "value" : [ " + " ] - }, { - "r" : "251", - "s" : [ { - "value" : [ "a" ] - } ] - } ] - }, { - "value" : [ " + " ] - }, { - "r" : "255", - "s" : [ { - "value" : [ "' from England'" ] - } ] - } ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "232", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "type" : "If", - "condition" : { - "localId" : "233", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "isSpanish", - "type" : "OperandRef" - }, - "then" : { - "localId" : "246", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "type" : "Concatenate", - "signature" : [ ], - "operand" : [ { - "localId" : "241", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "type" : "Concatenate", - "signature" : [ ], - "operand" : [ { - "localId" : "236", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "Hola ", - "type" : "Literal" - }, { - "localId" : "238", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "name" : "a", - "type" : "OperandRef" - } ] + "r" : "254", + "s" : [ { + "r" : "249", + "s" : [ { + "value" : [ "'Hello '" ] + } ] + }, { + "value" : [ " + " ] + }, { + "r" : "251", + "s" : [ { + "value" : [ "a" ] + } ] + } ] }, { - "localId" : "242", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : " from Spain", - "type" : "Literal" - } ] - }, - "else" : { - "localId" : "259", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "type" : "Concatenate", - "signature" : [ ], - "operand" : [ { - "localId" : "254", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "type" : "Concatenate", - "signature" : [ ], - "operand" : [ { - "localId" : "249", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "Hello ", - "type" : "Literal" - }, { - "localId" : "251", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "name" : "a", - "type" : "OperandRef" - } ] + "value" : [ " + " ] }, { - "localId" : "255", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : " from England", - "type" : "Literal" + "r" : "255", + "s" : [ { + "value" : [ "' from England'" ] + } ] } ] - } - }, + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "If", + "localId" : "232", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ], + "condition" : { + "type" : "OperandRef", + "localId" : "233", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "isSpanish", + "annotation" : [ ] + }, + "then" : { + "type" : "Concatenate", + "localId" : "246", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ], + "signature" : [ ], "operand" : [ { - "localId" : "226", - "name" : "a", - "operandTypeSpecifier" : { - "localId" : "225", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } + "type" : "Concatenate", + "localId" : "241", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ], + "signature" : [ ], + "operand" : [ { + "type" : "Literal", + "localId" : "236", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "Hola ", + "annotation" : [ ] + }, { + "type" : "OperandRef", + "localId" : "238", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "name" : "a", + "annotation" : [ ] + } ] }, { - "localId" : "228", - "name" : "isSpanish", - "operandTypeSpecifier" : { - "localId" : "227", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "NamedTypeSpecifier" - } + "type" : "Literal", + "localId" : "242", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : " from Spain", + "annotation" : [ ] } ] - }, { - "localId" : "262", + }, + "else" : { + "type" : "Concatenate", + "localId" : "259", "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "name" : "testValue1", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "262", - "s" : [ { - "value" : [ "","define ","testValue1",": " ] - }, { - "r" : "265", - "s" : [ { - "value" : [ "process","(" ] - }, { - "r" : "263", - "s" : [ { - "value" : [ "'World'" ] - } ] - }, { - "value" : [ ")" ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "265", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "name" : "process", - "type" : "FunctionRef", - "signature" : [ { - "localId" : "266", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "263", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "World", - "type" : "Literal" - } ] - } - }, { - "localId" : "269", + "annotation" : [ ], + "signature" : [ ], + "operand" : [ { + "type" : "Concatenate", + "localId" : "254", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ], + "signature" : [ ], + "operand" : [ { + "type" : "Literal", + "localId" : "249", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "Hello ", + "annotation" : [ ] + }, { + "type" : "OperandRef", + "localId" : "251", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "name" : "a", + "annotation" : [ ] + } ] + }, { + "type" : "Literal", + "localId" : "255", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : " from England", + "annotation" : [ ] + } ] + } + }, + "operand" : [ { + "localId" : "226", + "name" : "a", + "annotation" : [ ], + "operandTypeSpecifier" : { + "type" : "NamedTypeSpecifier", + "localId" : "225", "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "name" : "testValue2", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "269", - "s" : [ { - "value" : [ "","define ","testValue2",": " ] - }, { - "r" : "273", - "s" : [ { - "value" : [ "process","(" ] - }, { - "r" : "270", - "s" : [ { - "value" : [ "'World'" ] - } ] - }, { - "r" : "272", - "value" : [ ", ","true",")" ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "273", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "name" : "process", - "type" : "FunctionRef", - "signature" : [ { - "localId" : "274", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "275", - "name" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "270", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "World", - "type" : "Literal" - }, { - "localId" : "272", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "true", - "type" : "Literal" - } ] - } - }, { - "localId" : "278", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } + }, { + "localId" : "228", + "name" : "isSpanish", + "annotation" : [ ], + "operandTypeSpecifier" : { + "type" : "NamedTypeSpecifier", + "localId" : "227", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ] + } + } ] + }, { + "localId" : "262", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "name" : "testValue1", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "262", + "s" : [ { + "value" : [ "", "define ", "testValue1", ": " ] + }, { + "r" : "265", + "s" : [ { + "value" : [ "process", "(" ] + }, { + "r" : "263", + "s" : [ { + "value" : [ "'World'" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "FunctionRef", + "localId" : "265", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "name" : "process", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "266", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "Literal", + "localId" : "263", "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "name" : "testValue3", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "278", - "s" : [ { - "value" : [ "","define ","testValue3",": " ] - }, { - "r" : "282", - "s" : [ { - "value" : [ "process","(" ] - }, { - "r" : "279", - "s" : [ { - "value" : [ "'World'" ] - } ] - }, { - "r" : "281", - "value" : [ ", ","false",")" ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "282", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "name" : "process", - "type" : "FunctionRef", - "signature" : [ { - "localId" : "283", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "284", - "name" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "279", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "World", - "type" : "Literal" - }, { - "localId" : "281", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "false", - "type" : "Literal" - } ] - } - } ] - } - } + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "World", + "annotation" : [ ] + } ] + } + }, { + "localId" : "269", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "name" : "testValue2", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "269", + "s" : [ { + "value" : [ "", "define ", "testValue2", ": " ] + }, { + "r" : "273", + "s" : [ { + "value" : [ "process", "(" ] + }, { + "r" : "270", + "s" : [ { + "value" : [ "'World'" ] + } ] + }, { + "r" : "272", + "value" : [ ", ", "true", ")" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "FunctionRef", + "localId" : "273", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "name" : "process", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "274", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "275", + "name" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "Literal", + "localId" : "270", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "World", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "272", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", + "value" : "true", + "annotation" : [ ] + } ] + } + }, { + "localId" : "278", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "name" : "testValue3", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "278", + "s" : [ { + "value" : [ "", "define ", "testValue3", ": " ] + }, { + "r" : "282", + "s" : [ { + "value" : [ "process", "(" ] + }, { + "r" : "279", + "s" : [ { + "value" : [ "'World'" ] + } ] + }, { + "r" : "281", + "value" : [ ", ", "false", ")" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "FunctionRef", + "localId" : "282", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "name" : "process", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "283", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "284", + "name" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "Literal", + "localId" : "279", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "World", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "281", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", + "value" : "false", + "annotation" : [ ] + } ] + } + } ] + } + } } /* FunctionOverloadsWithArgumentsFromCustomDataModel @@ -2143,395 +2367,434 @@ define testValue2: process(First([Condition])) */ module.exports['FunctionOverloadsWithArgumentsFromCustomDataModel'] = { - "library" : { - "localId" : "0", - "annotation" : [ { - "translatorVersion" : "3.27.0", - "translatorOptions" : "EnableDateRangeOptimization,EnableAnnotations,EnableResultTypes", - "signatureLevel" : "All", - "type" : "CqlToElmInfo" + "library" : { + "localId" : "0", + "annotation" : [ { + "type" : "CqlToElmInfo", + "translatorVersion" : "4.2.0", + "translatorOptions" : "EnableDateRangeOptimization,EnableAnnotations,EnableResultTypes", + "signatureLevel" : "All" + }, { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "255", + "s" : [ { + "value" : [ "", "library TestSnippet version '1'" ] + } ] + } + } ], + "identifier" : { + "id" : "TestSnippet", + "version" : "1" + }, + "schemaIdentifier" : { + "id" : "urn:hl7-org:elm", + "version" : "r1" + }, + "usings" : { + "def" : [ { + "localId" : "1", + "localIdentifier" : "System", + "uri" : "urn:hl7-org:elm-types:r1", + "annotation" : [ ] }, { - "type" : "Annotation", - "s" : { - "r" : "255", + "localId" : "206", + "localIdentifier" : "Simple", + "uri" : "https://github.com/cqframework/cql-execution/simple", + "version" : "1.0.0", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "206", "s" : [ { - "value" : [ "","library TestSnippet version '1'" ] + "value" : [ "", "using " ] + }, { + "s" : [ { + "value" : [ "Simple" ] + } ] + }, { + "value" : [ " version '1.0.0'" ] } ] - } - } ], - "identifier" : { - "id" : "TestSnippet", - "version" : "1" - }, - "schemaIdentifier" : { - "id" : "urn:hl7-org:elm", - "version" : "r1" - }, - "usings" : { - "def" : [ { - "localId" : "1", - "localIdentifier" : "System", - "uri" : "urn:hl7-org:elm-types:r1" - }, { - "localId" : "206", - "localIdentifier" : "Simple", - "uri" : "https://github.com/cqframework/cql-execution/simple", - "version" : "1.0.0", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "206", + } + } ] + } ] + }, + "contexts" : { + "def" : [ { + "localId" : "211", + "name" : "Patient", + "annotation" : [ ] + } ] + }, + "statements" : { + "def" : [ { + "localId" : "209", + "name" : "Patient", + "context" : "Patient", + "annotation" : [ ], + "expression" : { + "type" : "SingletonFrom", + "localId" : "210", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Retrieve", + "localId" : "208", + "dataType" : "{https://github.com/cqframework/cql-execution/simple}Patient", + "annotation" : [ ], + "include" : [ ], + "codeFilter" : [ ], + "dateFilter" : [ ], + "otherFilter" : [ ] + } + } + }, { + "type" : "FunctionDef", + "localId" : "212", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "name" : "process", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "212", + "s" : [ { + "value" : [ "", "define function process(e Simple.Encounter) :\n " ] + }, { + "r" : "224", + "s" : [ { + "r" : "224", + "s" : [ { + "r" : "218", + "s" : [ { + "value" : [ "'Encounter '" ] + } ] + }, { + "value" : [ " + " ] + }, { + "r" : "221", "s" : [ { - "value" : [ "","using " ] + "r" : "220", + "s" : [ { + "value" : [ "e" ] + } ] }, { - "s" : [ { - "value" : [ "Simple" ] - } ] + "value" : [ "." ] }, { - "value" : [ " version '1.0.0'" ] + "r" : "221", + "s" : [ { + "value" : [ "id" ] + } ] } ] - } + } ] + } ] } ] - } ] - }, - "contexts" : { - "def" : [ { - "localId" : "211", - "name" : "Patient" - } ] - }, - "statements" : { - "def" : [ { - "localId" : "209", - "name" : "Patient", - "context" : "Patient", - "expression" : { - "localId" : "210", - "type" : "SingletonFrom", - "signature" : [ ], - "operand" : { - "localId" : "208", - "dataType" : "{https://github.com/cqframework/cql-execution/simple}Patient", - "type" : "Retrieve", - "include" : [ ], - "codeFilter" : [ ], - "dateFilter" : [ ], - "otherFilter" : [ ] - } - } - }, { - "localId" : "212", + } + } ], + "expression" : { + "type" : "Concatenate", + "localId" : "224", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ], + "signature" : [ ], + "operand" : [ { + "type" : "Literal", + "localId" : "218", "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "name" : "process", - "context" : "Patient", - "accessLevel" : "Public", - "type" : "FunctionDef", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "212", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "Encounter ", + "annotation" : [ ] + }, { + "type" : "Property", + "localId" : "221", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "path" : "id", + "annotation" : [ ], + "source" : { + "type" : "OperandRef", + "localId" : "220", + "resultTypeName" : "{https://github.com/cqframework/cql-execution/simple}Encounter", + "name" : "e", + "annotation" : [ ] + } + } ] + }, + "operand" : [ { + "localId" : "214", + "name" : "e", + "annotation" : [ ], + "operandTypeSpecifier" : { + "type" : "NamedTypeSpecifier", + "localId" : "213", + "resultTypeName" : "{https://github.com/cqframework/cql-execution/simple}Encounter", + "name" : "{https://github.com/cqframework/cql-execution/simple}Encounter", + "annotation" : [ ] + } + } ] + }, { + "type" : "FunctionDef", + "localId" : "225", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "name" : "process", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "225", + "s" : [ { + "value" : [ "", "define function process(c Simple.Condition) :\n " ] + }, { + "r" : "237", + "s" : [ { + "r" : "237", + "s" : [ { + "r" : "231", "s" : [ { - "value" : [ "","define function process(e Simple.Encounter) :\n " ] - }, { - "r" : "224", - "s" : [ { - "r" : "224", - "s" : [ { - "r" : "218", - "s" : [ { - "value" : [ "'Encounter '" ] - } ] - }, { - "value" : [ " + " ] - }, { - "r" : "221", - "s" : [ { - "r" : "220", - "s" : [ { - "value" : [ "e" ] - } ] - }, { - "value" : [ "." ] - }, { - "r" : "221", - "s" : [ { - "value" : [ "id" ] - } ] - } ] - } ] - } ] + "value" : [ "'Condition '" ] } ] - } - } ], - "expression" : { - "localId" : "224", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "type" : "Concatenate", - "signature" : [ ], - "operand" : [ { - "localId" : "218", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "Encounter ", - "type" : "Literal" - }, { - "localId" : "221", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "path" : "id", - "type" : "Property", - "source" : { - "localId" : "220", - "resultTypeName" : "{https://github.com/cqframework/cql-execution/simple}Encounter", - "name" : "e", - "type" : "OperandRef" - } - } ] - }, - "operand" : [ { - "localId" : "214", - "name" : "e", - "operandTypeSpecifier" : { - "localId" : "213", - "resultTypeName" : "{https://github.com/cqframework/cql-execution/simple}Encounter", - "name" : "{https://github.com/cqframework/cql-execution/simple}Encounter", - "type" : "NamedTypeSpecifier" - } - } ] - }, { - "localId" : "225", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "name" : "process", - "context" : "Patient", - "accessLevel" : "Public", - "type" : "FunctionDef", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "225", + }, { + "value" : [ " + " ] + }, { + "r" : "234", "s" : [ { - "value" : [ "","define function process(c Simple.Condition) :\n " ] + "r" : "233", + "s" : [ { + "value" : [ "c" ] + } ] }, { - "r" : "237", - "s" : [ { - "r" : "237", - "s" : [ { - "r" : "231", - "s" : [ { - "value" : [ "'Condition '" ] - } ] - }, { - "value" : [ " + " ] - }, { - "r" : "234", - "s" : [ { - "r" : "233", - "s" : [ { - "value" : [ "c" ] - } ] - }, { - "value" : [ "." ] - }, { - "r" : "234", - "s" : [ { - "value" : [ "id" ] - } ] - } ] - } ] - } ] + "value" : [ "." ] + }, { + "r" : "234", + "s" : [ { + "value" : [ "id" ] + } ] } ] - } - } ], - "expression" : { - "localId" : "237", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "type" : "Concatenate", - "signature" : [ ], - "operand" : [ { - "localId" : "231", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "Condition ", - "type" : "Literal" - }, { - "localId" : "234", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "path" : "id", - "type" : "Property", - "source" : { - "localId" : "233", - "resultTypeName" : "{https://github.com/cqframework/cql-execution/simple}Condition", - "name" : "c", - "type" : "OperandRef" - } - } ] - }, - "operand" : [ { - "localId" : "227", - "name" : "c", - "operandTypeSpecifier" : { - "localId" : "226", - "resultTypeName" : "{https://github.com/cqframework/cql-execution/simple}Condition", - "name" : "{https://github.com/cqframework/cql-execution/simple}Condition", - "type" : "NamedTypeSpecifier" - } + } ] + } ] } ] - }, { - "localId" : "240", + } + } ], + "expression" : { + "type" : "Concatenate", + "localId" : "237", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ], + "signature" : [ ], + "operand" : [ { + "type" : "Literal", + "localId" : "231", "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "name" : "testValue1", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "240", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "Condition ", + "annotation" : [ ] + }, { + "type" : "Property", + "localId" : "234", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "path" : "id", + "annotation" : [ ], + "source" : { + "type" : "OperandRef", + "localId" : "233", + "resultTypeName" : "{https://github.com/cqframework/cql-execution/simple}Condition", + "name" : "c", + "annotation" : [ ] + } + } ] + }, + "operand" : [ { + "localId" : "227", + "name" : "c", + "annotation" : [ ], + "operandTypeSpecifier" : { + "type" : "NamedTypeSpecifier", + "localId" : "226", + "resultTypeName" : "{https://github.com/cqframework/cql-execution/simple}Condition", + "name" : "{https://github.com/cqframework/cql-execution/simple}Condition", + "annotation" : [ ] + } + } ] + }, { + "localId" : "240", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "name" : "testValue1", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "240", + "s" : [ { + "value" : [ "", "define ", "testValue1", ": " ] + }, { + "r" : "251", + "s" : [ { + "value" : [ "process", "(" ] + }, { + "r" : "248", + "s" : [ { + "value" : [ "First", "(" ] + }, { + "r" : "241", "s" : [ { - "value" : [ "","define ","testValue1",": " ] - }, { - "r" : "251", - "s" : [ { - "value" : [ "process","(" ] - }, { - "r" : "248", - "s" : [ { - "value" : [ "First","(" ] - }, { - "r" : "241", - "s" : [ { - "value" : [ "[","Encounter","]" ] - } ] - }, { - "value" : [ ")" ] - } ] - }, { - "value" : [ ")" ] - } ] + "value" : [ "[", "Encounter", "]" ] } ] - } + }, { + "value" : [ ")" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "FunctionRef", + "localId" : "251", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "name" : "process", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "252", + "name" : "{https://github.com/cqframework/cql-execution/simple}Encounter", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "First", + "localId" : "248", + "resultTypeName" : "{https://github.com/cqframework/cql-execution/simple}Encounter", + "annotation" : [ ], + "signature" : [ { + "type" : "ListTypeSpecifier", + "localId" : "249", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "250", + "name" : "{https://github.com/cqframework/cql-execution/simple}Encounter", + "annotation" : [ ] + } } ], - "expression" : { - "localId" : "251", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "name" : "process", - "type" : "FunctionRef", - "signature" : [ { - "localId" : "252", + "source" : { + "type" : "Retrieve", + "localId" : "241", + "dataType" : "{https://github.com/cqframework/cql-execution/simple}Encounter", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "242", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "243", "name" : "{https://github.com/cqframework/cql-execution/simple}Encounter", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "248", - "resultTypeName" : "{https://github.com/cqframework/cql-execution/simple}Encounter", - "type" : "First", - "signature" : [ { - "localId" : "249", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "250", - "name" : "{https://github.com/cqframework/cql-execution/simple}Encounter", - "type" : "NamedTypeSpecifier" - } - } ], - "source" : { - "localId" : "241", - "dataType" : "{https://github.com/cqframework/cql-execution/simple}Encounter", - "type" : "Retrieve", - "resultTypeSpecifier" : { - "localId" : "242", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "243", - "name" : "{https://github.com/cqframework/cql-execution/simple}Encounter", - "type" : "NamedTypeSpecifier" - } - }, - "include" : [ ], - "codeFilter" : [ ], - "dateFilter" : [ ], - "otherFilter" : [ ] - } - } ] + "annotation" : [ ] + } + }, + "include" : [ ], + "codeFilter" : [ ], + "dateFilter" : [ ], + "otherFilter" : [ ] } - }, { - "localId" : "255", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "name" : "testValue2", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "255", + } ] + } + }, { + "localId" : "255", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "name" : "testValue2", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "255", + "s" : [ { + "value" : [ "", "define ", "testValue2", ": " ] + }, { + "r" : "266", + "s" : [ { + "value" : [ "process", "(" ] + }, { + "r" : "263", + "s" : [ { + "value" : [ "First", "(" ] + }, { + "r" : "256", "s" : [ { - "value" : [ "","define ","testValue2",": " ] - }, { - "r" : "266", - "s" : [ { - "value" : [ "process","(" ] - }, { - "r" : "263", - "s" : [ { - "value" : [ "First","(" ] - }, { - "r" : "256", - "s" : [ { - "value" : [ "[","Condition","]" ] - } ] - }, { - "value" : [ ")" ] - } ] - }, { - "value" : [ ")" ] - } ] + "value" : [ "[", "Condition", "]" ] } ] - } + }, { + "value" : [ ")" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "FunctionRef", + "localId" : "266", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "name" : "process", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "267", + "name" : "{https://github.com/cqframework/cql-execution/simple}Condition", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "First", + "localId" : "263", + "resultTypeName" : "{https://github.com/cqframework/cql-execution/simple}Condition", + "annotation" : [ ], + "signature" : [ { + "type" : "ListTypeSpecifier", + "localId" : "264", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "265", + "name" : "{https://github.com/cqframework/cql-execution/simple}Condition", + "annotation" : [ ] + } } ], - "expression" : { - "localId" : "266", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "name" : "process", - "type" : "FunctionRef", - "signature" : [ { - "localId" : "267", + "source" : { + "type" : "Retrieve", + "localId" : "256", + "dataType" : "{https://github.com/cqframework/cql-execution/simple}Condition", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "257", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "258", "name" : "{https://github.com/cqframework/cql-execution/simple}Condition", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "263", - "resultTypeName" : "{https://github.com/cqframework/cql-execution/simple}Condition", - "type" : "First", - "signature" : [ { - "localId" : "264", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "265", - "name" : "{https://github.com/cqframework/cql-execution/simple}Condition", - "type" : "NamedTypeSpecifier" - } - } ], - "source" : { - "localId" : "256", - "dataType" : "{https://github.com/cqframework/cql-execution/simple}Condition", - "type" : "Retrieve", - "resultTypeSpecifier" : { - "localId" : "257", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "258", - "name" : "{https://github.com/cqframework/cql-execution/simple}Condition", - "type" : "NamedTypeSpecifier" - } - }, - "include" : [ ], - "codeFilter" : [ ], - "dateFilter" : [ ], - "otherFilter" : [ ] - } - } ] + "annotation" : [ ] + } + }, + "include" : [ ], + "codeFilter" : [ ], + "dateFilter" : [ ], + "otherFilter" : [ ] } - } ] - } - } + } ] + } + } ] + } + } } /* FluentFunctions @@ -2549,352 +2812,387 @@ define testValue2: 1.add(2) */ module.exports['FluentFunctions'] = { - "library" : { - "localId" : "0", - "annotation" : [ { - "translatorVersion" : "3.27.0", - "translatorOptions" : "EnableDateRangeOptimization,EnableAnnotations,EnableResultTypes", - "signatureLevel" : "All", - "type" : "CqlToElmInfo" + "library" : { + "localId" : "0", + "annotation" : [ { + "type" : "CqlToElmInfo", + "translatorVersion" : "4.2.0", + "translatorOptions" : "EnableDateRangeOptimization,EnableAnnotations,EnableResultTypes", + "signatureLevel" : "All" + }, { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "252", + "s" : [ { + "value" : [ "", "library TestSnippet version '1'" ] + } ] + } + } ], + "identifier" : { + "id" : "TestSnippet", + "version" : "1" + }, + "schemaIdentifier" : { + "id" : "urn:hl7-org:elm", + "version" : "r1" + }, + "usings" : { + "def" : [ { + "localId" : "1", + "localIdentifier" : "System", + "uri" : "urn:hl7-org:elm-types:r1", + "annotation" : [ ] }, { - "type" : "Annotation", - "s" : { - "r" : "252", + "localId" : "206", + "localIdentifier" : "Simple", + "uri" : "https://github.com/cqframework/cql-execution/simple", + "version" : "1.0.0", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "206", "s" : [ { - "value" : [ "","library TestSnippet version '1'" ] + "value" : [ "", "using " ] + }, { + "s" : [ { + "value" : [ "Simple" ] + } ] + }, { + "value" : [ " version '1.0.0'" ] } ] - } - } ], - "identifier" : { - "id" : "TestSnippet", - "version" : "1" - }, - "schemaIdentifier" : { - "id" : "urn:hl7-org:elm", - "version" : "r1" - }, - "usings" : { - "def" : [ { - "localId" : "1", - "localIdentifier" : "System", - "uri" : "urn:hl7-org:elm-types:r1" - }, { - "localId" : "206", - "localIdentifier" : "Simple", - "uri" : "https://github.com/cqframework/cql-execution/simple", - "version" : "1.0.0", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "206", + } + } ] + } ] + }, + "contexts" : { + "def" : [ { + "localId" : "211", + "name" : "Patient", + "annotation" : [ ] + } ] + }, + "statements" : { + "def" : [ { + "localId" : "209", + "name" : "Patient", + "context" : "Patient", + "annotation" : [ ], + "expression" : { + "type" : "SingletonFrom", + "localId" : "210", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Retrieve", + "localId" : "208", + "dataType" : "{https://github.com/cqframework/cql-execution/simple}Patient", + "annotation" : [ ], + "include" : [ ], + "codeFilter" : [ ], + "dateFilter" : [ ], + "otherFilter" : [ ] + } + } + }, { + "type" : "FunctionDef", + "localId" : "212", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "name" : "greet", + "context" : "Patient", + "accessLevel" : "Public", + "fluent" : true, + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "212", + "s" : [ { + "value" : [ "", "define fluent function greet(name System.String) :\n " ] + }, { + "r" : "229", + "s" : [ { + "r" : "229", + "s" : [ { + "r" : "224", "s" : [ { - "value" : [ "","using " ] + "r" : "219", + "s" : [ { + "value" : [ "'Hello '" ] + } ] }, { - "s" : [ { - "value" : [ "Simple" ] - } ] + "value" : [ " + " ] }, { - "value" : [ " version '1.0.0'" ] + "r" : "221", + "s" : [ { + "value" : [ "name" ] + } ] + } ] + }, { + "value" : [ " + " ] + }, { + "r" : "225", + "s" : [ { + "value" : [ "'!'" ] } ] - } + } ] + } ] } ] - } ] - }, - "contexts" : { - "def" : [ { - "localId" : "211", - "name" : "Patient" - } ] - }, - "statements" : { - "def" : [ { - "localId" : "209", - "name" : "Patient", - "context" : "Patient", - "expression" : { - "localId" : "210", - "type" : "SingletonFrom", - "signature" : [ ], - "operand" : { - "localId" : "208", - "dataType" : "{https://github.com/cqframework/cql-execution/simple}Patient", - "type" : "Retrieve", - "include" : [ ], - "codeFilter" : [ ], - "dateFilter" : [ ], - "otherFilter" : [ ] - } - } - }, { - "localId" : "212", + } + } ], + "expression" : { + "type" : "Concatenate", + "localId" : "229", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ], + "signature" : [ ], + "operand" : [ { + "type" : "Concatenate", + "localId" : "224", "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "name" : "greet", - "context" : "Patient", - "accessLevel" : "Public", - "fluent" : true, - "type" : "FunctionDef", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "212", + "annotation" : [ ], + "signature" : [ ], + "operand" : [ { + "type" : "Literal", + "localId" : "219", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "Hello ", + "annotation" : [ ] + }, { + "type" : "OperandRef", + "localId" : "221", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "name" : "name", + "annotation" : [ ] + } ] + }, { + "type" : "Literal", + "localId" : "225", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "!", + "annotation" : [ ] + } ] + }, + "operand" : [ { + "localId" : "214", + "name" : "name", + "annotation" : [ ], + "operandTypeSpecifier" : { + "type" : "NamedTypeSpecifier", + "localId" : "213", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } + } ] + }, { + "type" : "FunctionDef", + "localId" : "230", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "name" : "add", + "context" : "Patient", + "accessLevel" : "Public", + "fluent" : true, + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "230", + "s" : [ { + "value" : [ "", "define fluent function add(a System.Integer, b System.Integer) :\n " ] + }, { + "r" : "238", + "s" : [ { + "r" : "238", + "s" : [ { + "r" : "239", "s" : [ { - "value" : [ "","define fluent function greet(name System.String) :\n " ] - }, { - "r" : "229", - "s" : [ { - "r" : "229", - "s" : [ { - "r" : "224", - "s" : [ { - "r" : "219", - "s" : [ { - "value" : [ "'Hello '" ] - } ] - }, { - "value" : [ " + " ] - }, { - "r" : "221", - "s" : [ { - "value" : [ "name" ] - } ] - } ] - }, { - "value" : [ " + " ] - }, { - "r" : "225", - "s" : [ { - "value" : [ "'!'" ] - } ] - } ] - } ] + "value" : [ "a" ] } ] - } - } ], - "expression" : { - "localId" : "229", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "type" : "Concatenate", - "signature" : [ ], - "operand" : [ { - "localId" : "224", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "type" : "Concatenate", - "signature" : [ ], - "operand" : [ { - "localId" : "219", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "Hello ", - "type" : "Literal" - }, { - "localId" : "221", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "name" : "name", - "type" : "OperandRef" + }, { + "value" : [ " + " ] + }, { + "r" : "240", + "s" : [ { + "value" : [ "b" ] } ] - }, { - "localId" : "225", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "!", - "type" : "Literal" - } ] - }, - "operand" : [ { - "localId" : "214", - "name" : "name", - "operandTypeSpecifier" : { - "localId" : "213", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } + } ] + } ] } ] - }, { - "localId" : "230", + } + } ], + "expression" : { + "type" : "Add", + "localId" : "238", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "241", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "242", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "OperandRef", + "localId" : "239", "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "name" : "add", - "context" : "Patient", - "accessLevel" : "Public", - "fluent" : true, - "type" : "FunctionDef", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "230", - "s" : [ { - "value" : [ "","define fluent function add(a System.Integer, b System.Integer) :\n " ] - }, { - "r" : "238", - "s" : [ { - "r" : "238", - "s" : [ { - "r" : "239", - "s" : [ { - "value" : [ "a" ] - } ] - }, { - "value" : [ " + " ] - }, { - "r" : "240", - "s" : [ { - "value" : [ "b" ] - } ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "238", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "Add", - "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" : "239", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "name" : "a", - "type" : "OperandRef" - }, { - "localId" : "240", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "name" : "b", - "type" : "OperandRef" - } ] - }, - "operand" : [ { - "localId" : "232", - "name" : "a", - "operandTypeSpecifier" : { - "localId" : "231", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } + "name" : "a", + "annotation" : [ ] + }, { + "type" : "OperandRef", + "localId" : "240", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "name" : "b", + "annotation" : [ ] + } ] + }, + "operand" : [ { + "localId" : "232", + "name" : "a", + "annotation" : [ ], + "operandTypeSpecifier" : { + "type" : "NamedTypeSpecifier", + "localId" : "231", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, { + "localId" : "234", + "name" : "b", + "annotation" : [ ], + "operandTypeSpecifier" : { + "type" : "NamedTypeSpecifier", + "localId" : "233", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } ] + }, { + "localId" : "245", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "name" : "testValue1", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "245", + "s" : [ { + "value" : [ "", "define ", "testValue1", ": " ] }, { - "localId" : "234", - "name" : "b", - "operandTypeSpecifier" : { - "localId" : "233", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } + "r" : "248", + "s" : [ { + "r" : "246", + "s" : [ { + "value" : [ "'World'" ] + } ] + }, { + "value" : [ "." ] + }, { + "r" : "248", + "s" : [ { + "value" : [ "greet", "()" ] + } ] + } ] } ] - }, { - "localId" : "245", + } + } ], + "expression" : { + "type" : "FunctionRef", + "localId" : "248", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "name" : "greet", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "249", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "Literal", + "localId" : "246", "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "name" : "testValue1", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "245", - "s" : [ { - "value" : [ "","define ","testValue1",": " ] - }, { - "r" : "248", - "s" : [ { - "r" : "246", - "s" : [ { - "value" : [ "'World'" ] - } ] - }, { - "value" : [ "." ] - }, { - "r" : "248", - "s" : [ { - "value" : [ "greet","()" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "248", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "name" : "greet", - "type" : "FunctionRef", - "signature" : [ { - "localId" : "249", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "246", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "World", - "type" : "Literal" - } ] - } - }, { - "localId" : "252", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "World", + "annotation" : [ ] + } ] + } + }, { + "localId" : "252", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "name" : "testValue2", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "252", + "s" : [ { + "value" : [ "", "define ", "testValue2", ": " ] + }, { + "r" : "255", + "s" : [ { + "r" : "253", + "value" : [ "1", "." ] + }, { + "r" : "255", + "s" : [ { + "r" : "254", + "value" : [ "add", "(", "2", ")" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "FunctionRef", + "localId" : "255", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "name" : "add", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "256", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "257", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "Literal", + "localId" : "253", "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "name" : "testValue2", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "252", - "s" : [ { - "value" : [ "","define ","testValue2",": " ] - }, { - "r" : "255", - "s" : [ { - "r" : "253", - "value" : [ "1","." ] - }, { - "r" : "255", - "s" : [ { - "r" : "254", - "value" : [ "add","(","2",")" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "255", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "name" : "add", - "type" : "FunctionRef", - "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" : "253", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, { - "localId" : "254", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal" - } ] - } - } ] - } - } + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "254", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "annotation" : [ ] + } ] + } + } ] + } + } } /* FluentFunctionsOverloadCallingSelf @@ -2942,2810 +3240,3226 @@ define matchTestsCallSelfTrue: exists (({ {id: 'test341'}, {id: 'test719'} }) T */ module.exports['FluentFunctionsOverloadCallingSelf'] = { - "library" : { - "localId" : "0", - "annotation" : [ { - "translatorVersion" : "3.27.0", - "translatorOptions" : "EnableDateRangeOptimization,EnableAnnotations,EnableResultTypes", - "signatureLevel" : "All", - "type" : "CqlToElmInfo" - }, { - "message" : "An operand identifier targetMatches is hiding another identifier of the same name.", - "errorType" : "semantic", - "errorSeverity" : "warning", - "type" : "CqlToElmError" + "library" : { + "localId" : "0", + "annotation" : [ { + "type" : "CqlToElmInfo", + "translatorVersion" : "4.2.0", + "translatorOptions" : "EnableDateRangeOptimization,EnableAnnotations,EnableResultTypes", + "signatureLevel" : "All" + }, { + "type" : "CqlToElmError", + "message" : "An operand identifier targetMatches is hiding another identifier of the same name.", + "errorType" : "semantic", + "errorSeverity" : "warning" + }, { + "type" : "CqlToElmError", + "message" : "An operand identifier targetMatches is hiding another identifier of the same name.", + "errorType" : "semantic", + "errorSeverity" : "warning" + }, { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "668", + "s" : [ { + "value" : [ "", "library FluentFunctionsOverloadCallingSelf" ] + } ] + } + } ], + "identifier" : { + "id" : "FluentFunctionsOverloadCallingSelf" + }, + "schemaIdentifier" : { + "id" : "urn:hl7-org:elm", + "version" : "r1" + }, + "usings" : { + "def" : [ { + "localId" : "1", + "localIdentifier" : "System", + "uri" : "urn:hl7-org:elm-types:r1", + "annotation" : [ ] }, { - "message" : "An operand identifier targetMatches is hiding another identifier of the same name.", - "errorType" : "semantic", - "errorSeverity" : "warning", - "type" : "CqlToElmError" + "localId" : "206", + "localIdentifier" : "Simple", + "uri" : "https://github.com/cqframework/cql-execution/simple", + "version" : "1.0.0", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "206", + "s" : [ { + "value" : [ "", "using " ] + }, { + "s" : [ { + "value" : [ "Simple" ] + } ] + }, { + "value" : [ " version '1.0.0'" ] + } ] + } + } ] + } ] + }, + "contexts" : { + "def" : [ { + "localId" : "211", + "name" : "Patient", + "annotation" : [ ] + } ] + }, + "statements" : { + "def" : [ { + "localId" : "209", + "name" : "Patient", + "context" : "Patient", + "annotation" : [ ], + "expression" : { + "type" : "SingletonFrom", + "localId" : "210", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Retrieve", + "localId" : "208", + "dataType" : "{https://github.com/cqframework/cql-execution/simple}Patient", + "annotation" : [ ], + "include" : [ ], + "codeFilter" : [ ], + "dateFilter" : [ ], + "otherFilter" : [ ] + } + } }, { - "type" : "Annotation", - "s" : { - "r" : "668", + "type" : "FunctionDef", + "localId" : "212", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "targetMatches", + "context" : "Patient", + "accessLevel" : "Public", + "fluent" : true, + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "212", "s" : [ { - "value" : [ "","library FluentFunctionsOverloadCallingSelf" ] + "value" : [ "", "define fluent function targetMatches(option Tuple { option System.String }, target Tuple { id System.String }):\n " ] + }, { + "r" : "230", + "s" : [ { + "r" : "230", + "s" : [ { + "r" : "235", + "s" : [ { + "r" : "231", + "s" : [ { + "value" : [ "target" ] + } ] + }, { + "value" : [ "." ] + }, { + "r" : "235", + "s" : [ { + "value" : [ "id" ] + } ] + } ] + }, { + "value" : [ " ", "=", " " ] + }, { + "r" : "240", + "s" : [ { + "r" : "236", + "s" : [ { + "value" : [ "option" ] + } ] + }, { + "value" : [ "." ] + }, { + "r" : "240", + "s" : [ { + "value" : [ "option" ] + } ] + } ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Equal", + "localId" : "230", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "241", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "242", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "Property", + "localId" : "235", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "path" : "id", + "annotation" : [ ], + "source" : { + "type" : "OperandRef", + "localId" : "231", + "name" : "target", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "TupleTypeSpecifier", + "localId" : "232", + "annotation" : [ ], + "element" : [ { + "localId" : "233", + "name" : "id", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "234", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } + } ] + } + } + }, { + "type" : "Property", + "localId" : "240", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "path" : "option", + "annotation" : [ ], + "source" : { + "type" : "OperandRef", + "localId" : "236", + "name" : "option", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "TupleTypeSpecifier", + "localId" : "237", + "annotation" : [ ], + "element" : [ { + "localId" : "238", + "name" : "option", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "239", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } + } ] + } + } + } ] + }, + "operand" : [ { + "localId" : "219", + "name" : "option", + "annotation" : [ ], + "operandTypeSpecifier" : { + "type" : "TupleTypeSpecifier", + "localId" : "213", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "TupleTypeSpecifier", + "localId" : "216", + "annotation" : [ ], + "element" : [ { + "localId" : "217", + "name" : "option", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "218", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } + } ] + }, + "element" : [ { + "localId" : "214", + "name" : "option", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "215", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } + } ] + } + }, { + "localId" : "226", + "name" : "target", + "annotation" : [ ], + "operandTypeSpecifier" : { + "type" : "TupleTypeSpecifier", + "localId" : "220", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "TupleTypeSpecifier", + "localId" : "223", + "annotation" : [ ], + "element" : [ { + "localId" : "224", + "name" : "id", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "225", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } + } ] + }, + "element" : [ { + "localId" : "221", + "name" : "id", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "222", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } } ] - } - } ], - "identifier" : { - "id" : "FluentFunctionsOverloadCallingSelf" - }, - "schemaIdentifier" : { - "id" : "urn:hl7-org:elm", - "version" : "r1" - }, - "usings" : { - "def" : [ { - "localId" : "1", - "localIdentifier" : "System", - "uri" : "urn:hl7-org:elm-types:r1" - }, { - "localId" : "206", - "localIdentifier" : "Simple", - "uri" : "https://github.com/cqframework/cql-execution/simple", - "version" : "1.0.0", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "206", + } + } ] + }, { + "type" : "FunctionDef", + "localId" : "243", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "targetMatches", + "context" : "Patient", + "accessLevel" : "Public", + "fluent" : true, + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "243", + "s" : [ { + "value" : [ "", "define fluent function targetMatches(option Tuple { option System.String }, targetId System.String):\n " ] + }, { + "r" : "256", + "s" : [ { + "r" : "256", + "s" : [ { + "r" : "257", "s" : [ { - "value" : [ "","using " ] + "value" : [ "targetId" ] + } ] + }, { + "value" : [ " ", "=", " " ] + }, { + "r" : "262", + "s" : [ { + "r" : "258", + "s" : [ { + "value" : [ "option" ] + } ] }, { - "s" : [ { - "value" : [ "Simple" ] - } ] + "value" : [ "." ] }, { - "value" : [ " version '1.0.0'" ] + "r" : "262", + "s" : [ { + "value" : [ "option" ] + } ] } ] - } + } ] + } ] } ] - } ] - }, - "contexts" : { - "def" : [ { - "localId" : "211", - "name" : "Patient" - } ] - }, - "statements" : { - "def" : [ { - "localId" : "209", - "name" : "Patient", - "context" : "Patient", - "expression" : { - "localId" : "210", - "type" : "SingletonFrom", - "signature" : [ ], - "operand" : { - "localId" : "208", - "dataType" : "{https://github.com/cqframework/cql-execution/simple}Patient", - "type" : "Retrieve", - "include" : [ ], - "codeFilter" : [ ], - "dateFilter" : [ ], - "otherFilter" : [ ] - } + } + } ], + "expression" : { + "type" : "Equal", + "localId" : "256", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "263", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "264", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "OperandRef", + "localId" : "257", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "name" : "targetId", + "annotation" : [ ] + }, { + "type" : "Property", + "localId" : "262", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "path" : "option", + "annotation" : [ ], + "source" : { + "type" : "OperandRef", + "localId" : "258", + "name" : "option", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "TupleTypeSpecifier", + "localId" : "259", + "annotation" : [ ], + "element" : [ { + "localId" : "260", + "name" : "option", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "261", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } + } ] + } } - }, { - "localId" : "212", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "targetMatches", - "context" : "Patient", - "accessLevel" : "Public", - "fluent" : true, - "type" : "FunctionDef", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "212", + } ] + }, + "operand" : [ { + "localId" : "250", + "name" : "option", + "annotation" : [ ], + "operandTypeSpecifier" : { + "type" : "TupleTypeSpecifier", + "localId" : "244", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "TupleTypeSpecifier", + "localId" : "247", + "annotation" : [ ], + "element" : [ { + "localId" : "248", + "name" : "option", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "249", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } + } ] + }, + "element" : [ { + "localId" : "245", + "name" : "option", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "246", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } + } ] + } + }, { + "localId" : "252", + "name" : "targetId", + "annotation" : [ ], + "operandTypeSpecifier" : { + "type" : "NamedTypeSpecifier", + "localId" : "251", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } + } ] + }, { + "type" : "FunctionDef", + "localId" : "265", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "targetMatches", + "context" : "Patient", + "accessLevel" : "Public", + "fluent" : true, + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "265", + "s" : [ { + "value" : [ "", "define fluent function targetMatches(targetMatches List, target Tuple { id System.String }):\n " ] + }, { + "r" : "288", + "s" : [ { + "r" : "288", + "s" : [ { + "value" : [ "exists " ] + }, { + "r" : "330", "s" : [ { - "value" : [ "","define fluent function targetMatches(option Tuple { option System.String }, target Tuple { id System.String }):\n " ] + "value" : [ "(" ] }, { - "r" : "230", - "s" : [ { - "r" : "230", + "r" : "330", + "s" : [ { + "s" : [ { + "r" : "289", "s" : [ { - "r" : "235", - "s" : [ { - "r" : "231", - "s" : [ { - "value" : [ "target" ] - } ] - }, { - "value" : [ "." ] - }, { - "r" : "235", - "s" : [ { - "value" : [ "id" ] - } ] - } ] + "r" : "290", + "s" : [ { + "s" : [ { + "value" : [ "targetMatches" ] + } ] + } ] + }, { + "value" : [ " ", "O" ] + } ] + } ] + }, { + "value" : [ " " ] + }, { + "r" : "323", + "s" : [ { + "value" : [ "where " ] + }, { + "r" : "323", + "s" : [ { + "r" : "300", + "s" : [ { + "value" : [ "O" ] + } ] }, { - "value" : [ " ","="," " ] + "value" : [ "." ] }, { - "r" : "240", - "s" : [ { - "r" : "236", - "s" : [ { - "value" : [ "option" ] - } ] - }, { - "value" : [ "." ] - }, { - "r" : "240", - "s" : [ { - "value" : [ "option" ] - } ] - } ] + "r" : "323", + "s" : [ { + "value" : [ "targetMatches", "(" ] + }, { + "r" : "304", + "s" : [ { + "value" : [ "target" ] + } ] + }, { + "value" : [ ")" ] + } ] } ] - } ] + } ] + } ] + }, { + "value" : [ ")" ] } ] - } - } ], - "expression" : { - "localId" : "230", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "Equal", - "signature" : [ { - "localId" : "241", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "242", + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Exists", + "localId" : "288", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "ListTypeSpecifier", + "localId" : "339", + "annotation" : [ ], + "elementType" : { + "type" : "TupleTypeSpecifier", + "localId" : "340", + "annotation" : [ ], + "element" : [ { + "localId" : "341", + "name" : "option", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "342", "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "235", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "path" : "id", - "type" : "Property", - "source" : { - "localId" : "231", - "name" : "target", - "type" : "OperandRef", - "resultTypeSpecifier" : { - "localId" : "232", - "type" : "TupleTypeSpecifier", - "element" : [ { - "localId" : "233", - "name" : "id", - "elementType" : { - "localId" : "234", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } - } ] - } - } - }, { - "localId" : "240", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "path" : "option", - "type" : "Property", - "source" : { - "localId" : "236", - "name" : "option", - "type" : "OperandRef", - "resultTypeSpecifier" : { - "localId" : "237", - "type" : "TupleTypeSpecifier", - "element" : [ { - "localId" : "238", - "name" : "option", - "elementType" : { - "localId" : "239", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } - } ] - } + "annotation" : [ ] + } + } ] + } + } ], + "operand" : { + "type" : "Query", + "localId" : "330", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "335", + "annotation" : [ ], + "elementType" : { + "type" : "TupleTypeSpecifier", + "localId" : "336", + "annotation" : [ ], + "element" : [ { + "localId" : "337", + "name" : "option", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "338", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] } - } ] + } ] + } }, - "operand" : [ { - "localId" : "219", - "name" : "option", - "operandTypeSpecifier" : { - "localId" : "213", + "source" : [ { + "localId" : "289", + "alias" : "O", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "295", + "annotation" : [ ], + "elementType" : { "type" : "TupleTypeSpecifier", - "resultTypeSpecifier" : { - "localId" : "216", - "type" : "TupleTypeSpecifier", - "element" : [ { - "localId" : "217", - "name" : "option", - "elementType" : { - "localId" : "218", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } - } ] - }, + "localId" : "296", + "annotation" : [ ], "element" : [ { - "localId" : "214", - "name" : "option", - "elementType" : { - "localId" : "215", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "localId" : "297", + "name" : "option", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "298", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } + } ] + } + }, + "expression" : { + "type" : "OperandRef", + "localId" : "290", + "name" : "targetMatches", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "291", + "annotation" : [ ], + "elementType" : { + "type" : "TupleTypeSpecifier", + "localId" : "292", + "annotation" : [ ], + "element" : [ { + "localId" : "293", + "name" : "option", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "294", "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } + "annotation" : [ ] + } + } ] + } + } + } + } ], + "let" : [ ], + "relationship" : [ ], + "where" : { + "type" : "FunctionRef", + "localId" : "323", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "targetMatches", + "annotation" : [ ], + "signature" : [ { + "type" : "TupleTypeSpecifier", + "localId" : "324", + "annotation" : [ ], + "element" : [ { + "localId" : "325", + "name" : "option", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "326", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } + } ] + }, { + "type" : "TupleTypeSpecifier", + "localId" : "327", + "annotation" : [ ], + "element" : [ { + "localId" : "328", + "name" : "id", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "329", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } + } ] + } ], + "operand" : [ { + "type" : "AliasRef", + "localId" : "300", + "name" : "O", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "TupleTypeSpecifier", + "localId" : "301", + "annotation" : [ ], + "element" : [ { + "localId" : "302", + "name" : "option", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "303", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } } ] - } - }, { - "localId" : "226", - "name" : "target", - "operandTypeSpecifier" : { - "localId" : "220", + } + }, { + "type" : "OperandRef", + "localId" : "304", + "name" : "target", + "annotation" : [ ], + "resultTypeSpecifier" : { "type" : "TupleTypeSpecifier", - "resultTypeSpecifier" : { - "localId" : "223", - "type" : "TupleTypeSpecifier", - "element" : [ { - "localId" : "224", - "name" : "id", - "elementType" : { - "localId" : "225", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } - } ] - }, + "localId" : "305", + "annotation" : [ ], "element" : [ { - "localId" : "221", - "name" : "id", - "elementType" : { - "localId" : "222", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } + "localId" : "306", + "name" : "id", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "307", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } } ] - } + } + } ] + } + } + }, + "operand" : [ { + "localId" : "277", + "name" : "targetMatches", + "annotation" : [ ], + "operandTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "266", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "273", + "annotation" : [ ], + "elementType" : { + "type" : "TupleTypeSpecifier", + "localId" : "274", + "annotation" : [ ], + "element" : [ { + "localId" : "275", + "name" : "option", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "276", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } + } ] + } + }, + "elementType" : { + "type" : "TupleTypeSpecifier", + "localId" : "267", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "TupleTypeSpecifier", + "localId" : "270", + "annotation" : [ ], + "element" : [ { + "localId" : "271", + "name" : "option", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "272", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } + } ] + }, + "element" : [ { + "localId" : "268", + "name" : "option", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "269", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } + } ] + } + } + }, { + "localId" : "284", + "name" : "target", + "annotation" : [ ], + "operandTypeSpecifier" : { + "type" : "TupleTypeSpecifier", + "localId" : "278", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "TupleTypeSpecifier", + "localId" : "281", + "annotation" : [ ], + "element" : [ { + "localId" : "282", + "name" : "id", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "283", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } + } ] + }, + "element" : [ { + "localId" : "279", + "name" : "id", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "280", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } } ] - }, { - "localId" : "243", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "targetMatches", - "context" : "Patient", - "accessLevel" : "Public", - "fluent" : true, - "type" : "FunctionDef", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "243", + } + } ] + }, { + "type" : "FunctionDef", + "localId" : "308", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "targetMatches", + "context" : "Patient", + "accessLevel" : "Public", + "fluent" : true, + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "308", + "s" : [ { + "value" : [ "", "define fluent function targetMatches(targetMatches List, targetId System.String):\n " ] + }, { + "r" : "346", + "s" : [ { + "r" : "346", + "s" : [ { + "value" : [ "exists " ] + }, { + "r" : "368", "s" : [ { - "value" : [ "","define fluent function targetMatches(option Tuple { option System.String }, targetId System.String):\n " ] + "value" : [ "(" ] }, { - "r" : "256", - "s" : [ { - "r" : "256", + "r" : "368", + "s" : [ { + "s" : [ { + "r" : "347", "s" : [ { - "r" : "257", - "s" : [ { - "value" : [ "targetId" ] - } ] + "r" : "348", + "s" : [ { + "s" : [ { + "value" : [ "targetMatches" ] + } ] + } ] }, { - "value" : [ " ","="," " ] + "value" : [ " ", "O" ] + } ] + } ] + }, { + "value" : [ " " ] + }, { + "r" : "363", + "s" : [ { + "value" : [ "where " ] + }, { + "r" : "363", + "s" : [ { + "r" : "358", + "s" : [ { + "value" : [ "O" ] + } ] }, { - "r" : "262", - "s" : [ { - "r" : "258", - "s" : [ { - "value" : [ "option" ] - } ] - }, { - "value" : [ "." ] - }, { - "r" : "262", - "s" : [ { - "value" : [ "option" ] - } ] - } ] + "value" : [ "." ] + }, { + "r" : "363", + "s" : [ { + "value" : [ "targetMatches", "(" ] + }, { + "r" : "362", + "s" : [ { + "value" : [ "targetId" ] + } ] + }, { + "value" : [ ")" ] + } ] } ] - } ] + } ] + } ] + }, { + "value" : [ ")" ] } ] - } - } ], - "expression" : { - "localId" : "256", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "Equal", - "signature" : [ { - "localId" : "263", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "264", + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Exists", + "localId" : "346", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "ListTypeSpecifier", + "localId" : "377", + "annotation" : [ ], + "elementType" : { + "type" : "TupleTypeSpecifier", + "localId" : "378", + "annotation" : [ ], + "element" : [ { + "localId" : "379", + "name" : "option", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "380", "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "257", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "name" : "targetId", - "type" : "OperandRef" - }, { - "localId" : "262", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "path" : "option", - "type" : "Property", - "source" : { - "localId" : "258", - "name" : "option", - "type" : "OperandRef", - "resultTypeSpecifier" : { - "localId" : "259", - "type" : "TupleTypeSpecifier", - "element" : [ { - "localId" : "260", - "name" : "option", - "elementType" : { - "localId" : "261", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } - } ] - } + "annotation" : [ ] + } + } ] + } + } ], + "operand" : { + "type" : "Query", + "localId" : "368", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "373", + "annotation" : [ ], + "elementType" : { + "type" : "TupleTypeSpecifier", + "localId" : "374", + "annotation" : [ ], + "element" : [ { + "localId" : "375", + "name" : "option", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "376", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] } - } ] + } ] + } }, - "operand" : [ { - "localId" : "250", - "name" : "option", - "operandTypeSpecifier" : { - "localId" : "244", + "source" : [ { + "localId" : "347", + "alias" : "O", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "353", + "annotation" : [ ], + "elementType" : { "type" : "TupleTypeSpecifier", - "resultTypeSpecifier" : { - "localId" : "247", - "type" : "TupleTypeSpecifier", - "element" : [ { - "localId" : "248", - "name" : "option", - "elementType" : { - "localId" : "249", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } - } ] - }, + "localId" : "354", + "annotation" : [ ], "element" : [ { - "localId" : "245", - "name" : "option", - "elementType" : { - "localId" : "246", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "localId" : "355", + "name" : "option", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "356", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } + } ] + } + }, + "expression" : { + "type" : "OperandRef", + "localId" : "348", + "name" : "targetMatches", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "349", + "annotation" : [ ], + "elementType" : { + "type" : "TupleTypeSpecifier", + "localId" : "350", + "annotation" : [ ], + "element" : [ { + "localId" : "351", + "name" : "option", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "352", "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } + "annotation" : [ ] + } + } ] + } + } + } + } ], + "let" : [ ], + "relationship" : [ ], + "where" : { + "type" : "FunctionRef", + "localId" : "363", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "targetMatches", + "annotation" : [ ], + "signature" : [ { + "type" : "TupleTypeSpecifier", + "localId" : "364", + "annotation" : [ ], + "element" : [ { + "localId" : "365", + "name" : "option", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "366", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } + } ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "367", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "AliasRef", + "localId" : "358", + "name" : "O", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "TupleTypeSpecifier", + "localId" : "359", + "annotation" : [ ], + "element" : [ { + "localId" : "360", + "name" : "option", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "361", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } } ] - } - }, { - "localId" : "252", - "name" : "targetId", - "operandTypeSpecifier" : { - "localId" : "251", + } + }, { + "type" : "OperandRef", + "localId" : "362", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "name" : "targetId", + "annotation" : [ ] + } ] + } + } + }, + "operand" : [ { + "localId" : "320", + "name" : "targetMatches", + "annotation" : [ ], + "operandTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "309", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "316", + "annotation" : [ ], + "elementType" : { + "type" : "TupleTypeSpecifier", + "localId" : "317", + "annotation" : [ ], + "element" : [ { + "localId" : "318", + "name" : "option", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "319", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } + } ] + } + }, + "elementType" : { + "type" : "TupleTypeSpecifier", + "localId" : "310", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "TupleTypeSpecifier", + "localId" : "313", + "annotation" : [ ], + "element" : [ { + "localId" : "314", + "name" : "option", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "315", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } + } ] + }, + "element" : [ { + "localId" : "311", + "name" : "option", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "312", "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } - } ] - }, { - "localId" : "265", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "targetMatches", - "context" : "Patient", - "accessLevel" : "Public", - "fluent" : true, - "type" : "FunctionDef", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "265", + "annotation" : [ ] + } + } ] + } + } + }, { + "localId" : "322", + "name" : "targetId", + "annotation" : [ ], + "operandTypeSpecifier" : { + "type" : "NamedTypeSpecifier", + "localId" : "321", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } + } ] + }, { + "localId" : "383", + "name" : "testOptionsList", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "383", + "s" : [ { + "value" : [ "", "define ", "testOptionsList", ":\n " ] + }, { + "r" : "384", + "s" : [ { + "value" : [ "{\n " ] + }, { + "r" : "385", + "s" : [ { + "value" : [ "{\n " ] + }, { "s" : [ { - "value" : [ "","define fluent function targetMatches(targetMatches List, target Tuple { id System.String }):\n " ] + "value" : [ "option", ": " ] }, { - "r" : "288", - "s" : [ { - "r" : "288", - "s" : [ { - "value" : [ "exists " ] - }, { - "r" : "330", - "s" : [ { - "value" : [ "(" ] - }, { - "r" : "330", - "s" : [ { - "s" : [ { - "r" : "289", - "s" : [ { - "r" : "290", - "s" : [ { - "s" : [ { - "value" : [ "targetMatches" ] - } ] - } ] - }, { - "value" : [ " ","O" ] - } ] - } ] - }, { - "value" : [ " " ] - }, { - "r" : "323", - "s" : [ { - "value" : [ "where " ] - }, { - "r" : "323", - "s" : [ { - "r" : "300", - "s" : [ { - "value" : [ "O" ] - } ] - }, { - "value" : [ "." ] - }, { - "r" : "323", - "s" : [ { - "value" : [ "targetMatches","(" ] - }, { - "r" : "304", - "s" : [ { - "value" : [ "target" ] - } ] - }, { - "value" : [ ")" ] - } ] - } ] - } ] - } ] - }, { - "value" : [ ")" ] - } ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "288", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "Exists", - "signature" : [ { - "localId" : "339", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "340", - "type" : "TupleTypeSpecifier", - "element" : [ { - "localId" : "341", - "name" : "option", - "elementType" : { - "localId" : "342", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } - } ] - } - } ], - "operand" : { - "localId" : "330", - "type" : "Query", - "resultTypeSpecifier" : { - "localId" : "335", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "336", - "type" : "TupleTypeSpecifier", - "element" : [ { - "localId" : "337", - "name" : "option", - "elementType" : { - "localId" : "338", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } - } ] - } - }, - "source" : [ { - "localId" : "289", - "alias" : "O", - "resultTypeSpecifier" : { - "localId" : "295", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "296", - "type" : "TupleTypeSpecifier", - "element" : [ { - "localId" : "297", - "name" : "option", - "elementType" : { - "localId" : "298", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } - } ] - } - }, - "expression" : { - "localId" : "290", - "name" : "targetMatches", - "type" : "OperandRef", - "resultTypeSpecifier" : { - "localId" : "291", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "292", - "type" : "TupleTypeSpecifier", - "element" : [ { - "localId" : "293", - "name" : "option", - "elementType" : { - "localId" : "294", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } - } ] - } - } - } - } ], - "let" : [ ], - "relationship" : [ ], - "where" : { - "localId" : "323", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "targetMatches", - "type" : "FunctionRef", - "signature" : [ { - "localId" : "324", - "type" : "TupleTypeSpecifier", - "element" : [ { - "localId" : "325", - "name" : "option", - "elementType" : { - "localId" : "326", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } - } ] - }, { - "localId" : "327", - "type" : "TupleTypeSpecifier", - "element" : [ { - "localId" : "328", - "name" : "id", - "elementType" : { - "localId" : "329", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } - } ] - } ], - "operand" : [ { - "localId" : "300", - "name" : "O", - "type" : "AliasRef", - "resultTypeSpecifier" : { - "localId" : "301", - "type" : "TupleTypeSpecifier", - "element" : [ { - "localId" : "302", - "name" : "option", - "elementType" : { - "localId" : "303", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } - } ] - } - }, { - "localId" : "304", - "name" : "target", - "type" : "OperandRef", - "resultTypeSpecifier" : { - "localId" : "305", - "type" : "TupleTypeSpecifier", - "element" : [ { - "localId" : "306", - "name" : "id", - "elementType" : { - "localId" : "307", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } - } ] - } - } ] - } - } - }, - "operand" : [ { - "localId" : "277", - "name" : "targetMatches", - "operandTypeSpecifier" : { - "localId" : "266", - "type" : "ListTypeSpecifier", - "resultTypeSpecifier" : { - "localId" : "273", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "274", - "type" : "TupleTypeSpecifier", - "element" : [ { - "localId" : "275", - "name" : "option", - "elementType" : { - "localId" : "276", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } - } ] - } - }, - "elementType" : { - "localId" : "267", - "type" : "TupleTypeSpecifier", - "resultTypeSpecifier" : { - "localId" : "270", - "type" : "TupleTypeSpecifier", - "element" : [ { - "localId" : "271", - "name" : "option", - "elementType" : { - "localId" : "272", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } - } ] - }, - "element" : [ { - "localId" : "268", - "name" : "option", - "elementType" : { - "localId" : "269", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } - } ] - } - } - }, { - "localId" : "284", - "name" : "target", - "operandTypeSpecifier" : { - "localId" : "278", - "type" : "TupleTypeSpecifier", - "resultTypeSpecifier" : { - "localId" : "281", - "type" : "TupleTypeSpecifier", - "element" : [ { - "localId" : "282", - "name" : "id", - "elementType" : { - "localId" : "283", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } - } ] - }, - "element" : [ { - "localId" : "279", - "name" : "id", - "elementType" : { - "localId" : "280", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } + "r" : "386", + "s" : [ { + "value" : [ "'test123'" ] + } ] } ] - } - } ] - }, { - "localId" : "308", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "targetMatches", - "context" : "Patient", - "accessLevel" : "Public", - "fluent" : true, - "type" : "FunctionDef", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "308", + }, { + "value" : [ "\n }" ] + } ] + }, { + "value" : [ ",\n " ] + }, { + "r" : "391", + "s" : [ { + "value" : [ "{\n " ] + }, { "s" : [ { - "value" : [ "","define fluent function targetMatches(targetMatches List, targetId System.String):\n " ] + "value" : [ "option", ": " ] }, { - "r" : "346", - "s" : [ { - "r" : "346", - "s" : [ { - "value" : [ "exists " ] - }, { - "r" : "368", - "s" : [ { - "value" : [ "(" ] - }, { - "r" : "368", - "s" : [ { - "s" : [ { - "r" : "347", - "s" : [ { - "r" : "348", - "s" : [ { - "s" : [ { - "value" : [ "targetMatches" ] - } ] - } ] - }, { - "value" : [ " ","O" ] - } ] - } ] - }, { - "value" : [ " " ] - }, { - "r" : "363", - "s" : [ { - "value" : [ "where " ] - }, { - "r" : "363", - "s" : [ { - "r" : "358", - "s" : [ { - "value" : [ "O" ] - } ] - }, { - "value" : [ "." ] - }, { - "r" : "363", - "s" : [ { - "value" : [ "targetMatches","(" ] - }, { - "r" : "362", - "s" : [ { - "value" : [ "targetId" ] - } ] - }, { - "value" : [ ")" ] - } ] - } ] - } ] - } ] - }, { - "value" : [ ")" ] - } ] - } ] - } ] + "r" : "392", + "s" : [ { + "value" : [ "'test341'" ] + } ] } ] - } - } ], - "expression" : { - "localId" : "346", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "Exists", - "signature" : [ { - "localId" : "377", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "378", - "type" : "TupleTypeSpecifier", - "element" : [ { - "localId" : "379", - "name" : "option", - "elementType" : { - "localId" : "380", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } - } ] - } - } ], - "operand" : { - "localId" : "368", - "type" : "Query", - "resultTypeSpecifier" : { - "localId" : "373", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "374", - "type" : "TupleTypeSpecifier", - "element" : [ { - "localId" : "375", - "name" : "option", - "elementType" : { - "localId" : "376", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } - } ] - } - }, - "source" : [ { - "localId" : "347", - "alias" : "O", - "resultTypeSpecifier" : { - "localId" : "353", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "354", - "type" : "TupleTypeSpecifier", - "element" : [ { - "localId" : "355", - "name" : "option", - "elementType" : { - "localId" : "356", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } - } ] - } - }, - "expression" : { - "localId" : "348", - "name" : "targetMatches", - "type" : "OperandRef", - "resultTypeSpecifier" : { - "localId" : "349", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "350", - "type" : "TupleTypeSpecifier", - "element" : [ { - "localId" : "351", - "name" : "option", - "elementType" : { - "localId" : "352", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } - } ] - } - } - } - } ], - "let" : [ ], - "relationship" : [ ], - "where" : { - "localId" : "363", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "targetMatches", - "type" : "FunctionRef", - "signature" : [ { - "localId" : "364", - "type" : "TupleTypeSpecifier", - "element" : [ { - "localId" : "365", - "name" : "option", - "elementType" : { - "localId" : "366", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } - } ] - }, { - "localId" : "367", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "358", - "name" : "O", - "type" : "AliasRef", - "resultTypeSpecifier" : { - "localId" : "359", - "type" : "TupleTypeSpecifier", - "element" : [ { - "localId" : "360", - "name" : "option", - "elementType" : { - "localId" : "361", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } - } ] - } - }, { - "localId" : "362", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "name" : "targetId", - "type" : "OperandRef" - } ] - } - } + }, { + "value" : [ "\n }" ] + } ] + }, { + "value" : [ "\n }" ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "401", + "annotation" : [ ], + "elementType" : { + "type" : "TupleTypeSpecifier", + "localId" : "402", + "annotation" : [ ], + "element" : [ { + "localId" : "403", + "name" : "option", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "404", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } + } ] + } + }, + "expression" : { + "type" : "List", + "localId" : "384", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "397", + "annotation" : [ ], + "elementType" : { + "type" : "TupleTypeSpecifier", + "localId" : "398", + "annotation" : [ ], + "element" : [ { + "localId" : "399", + "name" : "option", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "400", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } + } ] + } + }, + "element" : [ { + "type" : "Tuple", + "localId" : "385", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "TupleTypeSpecifier", + "localId" : "388", + "annotation" : [ ], + "element" : [ { + "localId" : "389", + "name" : "option", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "390", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } + } ] }, - "operand" : [ { - "localId" : "320", - "name" : "targetMatches", - "operandTypeSpecifier" : { - "localId" : "309", - "type" : "ListTypeSpecifier", - "resultTypeSpecifier" : { - "localId" : "316", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "317", - "type" : "TupleTypeSpecifier", - "element" : [ { - "localId" : "318", - "name" : "option", - "elementType" : { - "localId" : "319", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } - } ] - } - }, - "elementType" : { - "localId" : "310", - "type" : "TupleTypeSpecifier", - "resultTypeSpecifier" : { - "localId" : "313", - "type" : "TupleTypeSpecifier", - "element" : [ { - "localId" : "314", - "name" : "option", - "elementType" : { - "localId" : "315", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } - } ] - }, - "element" : [ { - "localId" : "311", - "name" : "option", - "elementType" : { - "localId" : "312", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } - } ] - } - } - }, { - "localId" : "322", - "name" : "targetId", - "operandTypeSpecifier" : { - "localId" : "321", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "element" : [ { + "name" : "option", + "value" : { + "type" : "Literal", + "localId" : "386", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "test123", + "annotation" : [ ] + } + } ] + }, { + "type" : "Tuple", + "localId" : "391", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "TupleTypeSpecifier", + "localId" : "394", + "annotation" : [ ], + "element" : [ { + "localId" : "395", + "name" : "option", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "396", "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } + "annotation" : [ ] + } + } ] + }, + "element" : [ { + "name" : "option", + "value" : { + "type" : "Literal", + "localId" : "392", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "test341", + "annotation" : [ ] + } } ] - }, { - "localId" : "383", - "name" : "testOptionsList", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "383", + } ] + } + }, { + "localId" : "407", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "matchTestFalse", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "407", + "s" : [ { + "value" : [ "", "define ", "matchTestFalse", ": " ] + }, { + "r" : "429", + "s" : [ { + "r" : "419", + "s" : [ { + "value" : [ "First", "(" ] + }, { + "r" : "408", "s" : [ { - "value" : [ "","define ","testOptionsList",":\n " ] - }, { - "r" : "384", - "s" : [ { - "value" : [ "{\n " ] - }, { - "r" : "385", - "s" : [ { - "value" : [ "{\n " ] - }, { - "s" : [ { - "value" : [ "option",": " ] - }, { - "r" : "386", - "s" : [ { - "value" : [ "'test123'" ] - } ] - } ] - }, { - "value" : [ "\n }" ] - } ] - }, { - "value" : [ ",\n " ] - }, { - "r" : "391", - "s" : [ { - "value" : [ "{\n " ] - }, { - "s" : [ { - "value" : [ "option",": " ] - }, { - "r" : "392", - "s" : [ { - "value" : [ "'test341'" ] - } ] - } ] - }, { - "value" : [ "\n }" ] - } ] - }, { - "value" : [ "\n }" ] - } ] + "value" : [ "\"testOptionsList\"" ] } ] - } - } ], + }, { + "value" : [ ")" ] + } ] + }, { + "value" : [ "." ] + }, { + "r" : "429", + "s" : [ { + "value" : [ "targetMatches", "(" ] + }, { + "r" : "427", + "s" : [ { + "value" : [ "'test789'" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "FunctionRef", + "localId" : "429", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "targetMatches", + "annotation" : [ ], + "signature" : [ { + "type" : "TupleTypeSpecifier", + "localId" : "430", + "annotation" : [ ], + "element" : [ { + "localId" : "431", + "name" : "option", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "432", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } + } ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "433", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "First", + "localId" : "419", + "annotation" : [ ], "resultTypeSpecifier" : { - "localId" : "401", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "402", + "type" : "TupleTypeSpecifier", + "localId" : "424", + "annotation" : [ ], + "element" : [ { + "localId" : "425", + "name" : "option", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "426", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } + } ] + }, + "signature" : [ { + "type" : "ListTypeSpecifier", + "localId" : "420", + "annotation" : [ ], + "elementType" : { + "type" : "TupleTypeSpecifier", + "localId" : "421", + "annotation" : [ ], + "element" : [ { + "localId" : "422", + "name" : "option", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "423", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } + } ] + } + } ], + "source" : { + "type" : "ExpressionRef", + "localId" : "408", + "name" : "testOptionsList", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "409", + "annotation" : [ ], + "elementType" : { "type" : "TupleTypeSpecifier", + "localId" : "410", + "annotation" : [ ], "element" : [ { - "localId" : "403", - "name" : "option", - "elementType" : { - "localId" : "404", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } + "localId" : "411", + "name" : "option", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "412", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } } ] - } + } + } + } + }, { + "type" : "Literal", + "localId" : "427", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "test789", + "annotation" : [ ] + } ] + } + }, { + "localId" : "436", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "matchTestTrue", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "436", + "s" : [ { + "value" : [ "", "define ", "matchTestTrue", ": " ] + }, { + "r" : "458", + "s" : [ { + "r" : "448", + "s" : [ { + "value" : [ "First", "(" ] + }, { + "r" : "437", + "s" : [ { + "value" : [ "\"testOptionsList\"" ] + } ] + }, { + "value" : [ ")" ] + } ] + }, { + "value" : [ "." ] + }, { + "r" : "458", + "s" : [ { + "value" : [ "targetMatches", "(" ] + }, { + "r" : "456", + "s" : [ { + "value" : [ "'test123'" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "FunctionRef", + "localId" : "458", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "targetMatches", + "annotation" : [ ], + "signature" : [ { + "type" : "TupleTypeSpecifier", + "localId" : "459", + "annotation" : [ ], + "element" : [ { + "localId" : "460", + "name" : "option", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "461", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } + } ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "462", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "First", + "localId" : "448", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "TupleTypeSpecifier", + "localId" : "453", + "annotation" : [ ], + "element" : [ { + "localId" : "454", + "name" : "option", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "455", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } + } ] }, - "expression" : { - "localId" : "384", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "397", - "type" : "ListTypeSpecifier", + "signature" : [ { + "type" : "ListTypeSpecifier", + "localId" : "449", + "annotation" : [ ], + "elementType" : { + "type" : "TupleTypeSpecifier", + "localId" : "450", + "annotation" : [ ], + "element" : [ { + "localId" : "451", + "name" : "option", + "annotation" : [ ], "elementType" : { - "localId" : "398", - "type" : "TupleTypeSpecifier", - "element" : [ { - "localId" : "399", - "name" : "option", - "elementType" : { - "localId" : "400", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } - } ] + "type" : "NamedTypeSpecifier", + "localId" : "452", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] } - }, - "element" : [ { - "localId" : "385", - "type" : "Tuple", - "resultTypeSpecifier" : { - "localId" : "388", - "type" : "TupleTypeSpecifier", - "element" : [ { - "localId" : "389", - "name" : "option", - "elementType" : { - "localId" : "390", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } - } ] - }, - "element" : [ { - "name" : "option", - "value" : { - "localId" : "386", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "test123", - "type" : "Literal" - } - } ] - }, { - "localId" : "391", - "type" : "Tuple", - "resultTypeSpecifier" : { - "localId" : "394", - "type" : "TupleTypeSpecifier", - "element" : [ { - "localId" : "395", - "name" : "option", - "elementType" : { - "localId" : "396", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } - } ] - }, + } ] + } + } ], + "source" : { + "type" : "ExpressionRef", + "localId" : "437", + "name" : "testOptionsList", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "438", + "annotation" : [ ], + "elementType" : { + "type" : "TupleTypeSpecifier", + "localId" : "439", + "annotation" : [ ], "element" : [ { - "name" : "option", - "value" : { - "localId" : "392", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "test341", - "type" : "Literal" - } + "localId" : "440", + "name" : "option", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "441", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } } ] - } ] + } + } } - }, { - "localId" : "407", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "matchTestFalse", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "407", + }, { + "type" : "Literal", + "localId" : "456", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "test123", + "annotation" : [ ] + } ] + } + }, { + "localId" : "465", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "matchTestsFalse", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "465", + "s" : [ { + "value" : [ "", "define ", "matchTestsFalse", ": " ] + }, { + "r" : "466", + "s" : [ { + "value" : [ "exists " ] + }, { + "r" : "505", + "s" : [ { + "value" : [ "(" ] + }, { + "r" : "505", "s" : [ { - "value" : [ "","define ","matchTestFalse",": " ] + "s" : [ { + "r" : "467", + "s" : [ { + "r" : "468", + "s" : [ { + "value" : [ "(" ] + }, { + "r" : "468", + "s" : [ { + "value" : [ "{" ] + }, { + "r" : "469", + "s" : [ { + "value" : [ "'test789'" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "471", + "s" : [ { + "value" : [ "'test719'" ] + } ] + }, { + "value" : [ " }" ] + } ] + }, { + "value" : [ ")" ] + } ] + }, { + "value" : [ " ", "T" ] + } ] + } ] + }, { + "value" : [ "\n " ] }, { - "r" : "429", - "s" : [ { - "r" : "419", + "r" : "500", + "s" : [ { + "value" : [ "where " ] + }, { + "r" : "500", + "s" : [ { + "r" : "491", "s" : [ { - "value" : [ "First","(" ] + "value" : [ "First", "(" ] }, { - "r" : "408", - "s" : [ { - "value" : [ "\"testOptionsList\"" ] - } ] + "r" : "480", + "s" : [ { + "value" : [ "\"testOptionsList\"" ] + } ] }, { - "value" : [ ")" ] + "value" : [ ")" ] } ] - }, { + }, { "value" : [ "." ] - }, { - "r" : "429", + }, { + "r" : "500", "s" : [ { - "value" : [ "targetMatches","(" ] + "value" : [ "targetMatches", "(" ] }, { - "r" : "427", - "s" : [ { - "value" : [ "'test789'" ] - } ] + "r" : "499", + "s" : [ { + "value" : [ "T" ] + } ] }, { - "value" : [ ")" ] + "value" : [ ")" ] } ] - } ] + } ] + } ] } ] - } + }, { + "value" : [ ")" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Exists", + "localId" : "466", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "ListTypeSpecifier", + "localId" : "510", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "511", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } + } ], + "operand" : { + "type" : "Query", + "localId" : "505", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "508", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "509", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } + }, + "source" : [ { + "localId" : "467", + "alias" : "T", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "477", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "478", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } + }, + "expression" : { + "type" : "List", + "localId" : "468", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "475", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "476", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } + }, + "element" : [ { + "type" : "Literal", + "localId" : "469", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "test789", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "471", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "test719", + "annotation" : [ ] + } ] + } } ], - "expression" : { - "localId" : "429", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "targetMatches", - "type" : "FunctionRef", - "signature" : [ { - "localId" : "430", + "let" : [ ], + "relationship" : [ ], + "where" : { + "type" : "FunctionRef", + "localId" : "500", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "targetMatches", + "annotation" : [ ], + "signature" : [ { + "type" : "TupleTypeSpecifier", + "localId" : "501", + "annotation" : [ ], + "element" : [ { + "localId" : "502", + "name" : "option", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "503", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } + } ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "504", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "First", + "localId" : "491", + "annotation" : [ ], + "resultTypeSpecifier" : { "type" : "TupleTypeSpecifier", + "localId" : "496", + "annotation" : [ ], "element" : [ { - "localId" : "431", - "name" : "option", - "elementType" : { - "localId" : "432", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } + "localId" : "497", + "name" : "option", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "498", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } } ] - }, { - "localId" : "433", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "419", - "type" : "First", + }, + "signature" : [ { + "type" : "ListTypeSpecifier", + "localId" : "492", + "annotation" : [ ], + "elementType" : { + "type" : "TupleTypeSpecifier", + "localId" : "493", + "annotation" : [ ], + "element" : [ { + "localId" : "494", + "name" : "option", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "495", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } + } ] + } + } ], + "source" : { + "type" : "ExpressionRef", + "localId" : "480", + "name" : "testOptionsList", + "annotation" : [ ], "resultTypeSpecifier" : { - "localId" : "424", - "type" : "TupleTypeSpecifier", - "element" : [ { - "localId" : "425", + "type" : "ListTypeSpecifier", + "localId" : "481", + "annotation" : [ ], + "elementType" : { + "type" : "TupleTypeSpecifier", + "localId" : "482", + "annotation" : [ ], + "element" : [ { + "localId" : "483", "name" : "option", + "annotation" : [ ], "elementType" : { - "localId" : "426", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" + "type" : "NamedTypeSpecifier", + "localId" : "484", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] } - } ] - }, - "signature" : [ { - "localId" : "420", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "421", - "type" : "TupleTypeSpecifier", - "element" : [ { - "localId" : "422", - "name" : "option", - "elementType" : { - "localId" : "423", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } - } ] - } - } ], - "source" : { - "localId" : "408", - "name" : "testOptionsList", - "type" : "ExpressionRef", - "resultTypeSpecifier" : { - "localId" : "409", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "410", - "type" : "TupleTypeSpecifier", - "element" : [ { - "localId" : "411", - "name" : "option", - "elementType" : { - "localId" : "412", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } - } ] - } - } + } ] + } } - }, { - "localId" : "427", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "test789", - "type" : "Literal" - } ] + } + }, { + "type" : "AliasRef", + "localId" : "499", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "name" : "T", + "annotation" : [ ] + } ] } - }, { - "localId" : "436", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "matchTestTrue", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "436", + } + } + }, { + "localId" : "514", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "matchTestsTrue", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "514", + "s" : [ { + "value" : [ "", "define ", "matchTestsTrue", ": " ] + }, { + "r" : "515", + "s" : [ { + "value" : [ "exists " ] + }, { + "r" : "554", + "s" : [ { + "value" : [ "(" ] + }, { + "r" : "554", "s" : [ { - "value" : [ "","define ","matchTestTrue",": " ] + "s" : [ { + "r" : "516", + "s" : [ { + "r" : "517", + "s" : [ { + "value" : [ "(" ] + }, { + "r" : "517", + "s" : [ { + "value" : [ "{" ] + }, { + "r" : "518", + "s" : [ { + "value" : [ "'test341'" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "520", + "s" : [ { + "value" : [ "'test719'" ] + } ] + }, { + "value" : [ " }" ] + } ] + }, { + "value" : [ ")" ] + } ] + }, { + "value" : [ " ", "T" ] + } ] + } ] + }, { + "value" : [ "\n " ] }, { - "r" : "458", - "s" : [ { - "r" : "448", + "r" : "549", + "s" : [ { + "value" : [ "where " ] + }, { + "r" : "549", + "s" : [ { + "r" : "540", "s" : [ { - "value" : [ "First","(" ] + "value" : [ "Last", "(" ] }, { - "r" : "437", - "s" : [ { - "value" : [ "\"testOptionsList\"" ] - } ] + "r" : "529", + "s" : [ { + "value" : [ "\"testOptionsList\"" ] + } ] }, { - "value" : [ ")" ] + "value" : [ ")" ] } ] - }, { + }, { "value" : [ "." ] - }, { - "r" : "458", + }, { + "r" : "549", "s" : [ { - "value" : [ "targetMatches","(" ] + "value" : [ "targetMatches", "(" ] }, { - "r" : "456", - "s" : [ { - "value" : [ "'test123'" ] - } ] + "r" : "548", + "s" : [ { + "value" : [ "T" ] + } ] }, { - "value" : [ ")" ] + "value" : [ ")" ] } ] - } ] + } ] + } ] } ] - } + }, { + "value" : [ ")" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Exists", + "localId" : "515", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "ListTypeSpecifier", + "localId" : "559", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "560", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } + } ], + "operand" : { + "type" : "Query", + "localId" : "554", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "557", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "558", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } + }, + "source" : [ { + "localId" : "516", + "alias" : "T", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "526", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "527", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } + }, + "expression" : { + "type" : "List", + "localId" : "517", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "524", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "525", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } + }, + "element" : [ { + "type" : "Literal", + "localId" : "518", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "test341", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "520", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "test719", + "annotation" : [ ] + } ] + } } ], - "expression" : { - "localId" : "458", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "targetMatches", - "type" : "FunctionRef", - "signature" : [ { - "localId" : "459", + "let" : [ ], + "relationship" : [ ], + "where" : { + "type" : "FunctionRef", + "localId" : "549", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "targetMatches", + "annotation" : [ ], + "signature" : [ { + "type" : "TupleTypeSpecifier", + "localId" : "550", + "annotation" : [ ], + "element" : [ { + "localId" : "551", + "name" : "option", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "552", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } + } ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "553", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "Last", + "localId" : "540", + "annotation" : [ ], + "resultTypeSpecifier" : { "type" : "TupleTypeSpecifier", + "localId" : "545", + "annotation" : [ ], "element" : [ { - "localId" : "460", - "name" : "option", - "elementType" : { - "localId" : "461", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } + "localId" : "546", + "name" : "option", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "547", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } } ] - }, { - "localId" : "462", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "448", - "type" : "First", + }, + "signature" : [ { + "type" : "ListTypeSpecifier", + "localId" : "541", + "annotation" : [ ], + "elementType" : { + "type" : "TupleTypeSpecifier", + "localId" : "542", + "annotation" : [ ], + "element" : [ { + "localId" : "543", + "name" : "option", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "544", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } + } ] + } + } ], + "source" : { + "type" : "ExpressionRef", + "localId" : "529", + "name" : "testOptionsList", + "annotation" : [ ], "resultTypeSpecifier" : { - "localId" : "453", - "type" : "TupleTypeSpecifier", - "element" : [ { - "localId" : "454", + "type" : "ListTypeSpecifier", + "localId" : "530", + "annotation" : [ ], + "elementType" : { + "type" : "TupleTypeSpecifier", + "localId" : "531", + "annotation" : [ ], + "element" : [ { + "localId" : "532", "name" : "option", + "annotation" : [ ], "elementType" : { - "localId" : "455", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" + "type" : "NamedTypeSpecifier", + "localId" : "533", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] } - } ] - }, - "signature" : [ { - "localId" : "449", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "450", - "type" : "TupleTypeSpecifier", - "element" : [ { - "localId" : "451", - "name" : "option", - "elementType" : { - "localId" : "452", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } - } ] - } - } ], - "source" : { - "localId" : "437", - "name" : "testOptionsList", - "type" : "ExpressionRef", - "resultTypeSpecifier" : { - "localId" : "438", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "439", - "type" : "TupleTypeSpecifier", - "element" : [ { - "localId" : "440", - "name" : "option", - "elementType" : { - "localId" : "441", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } - } ] - } - } + } ] + } } - }, { - "localId" : "456", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "test123", - "type" : "Literal" - } ] + } + }, { + "type" : "AliasRef", + "localId" : "548", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "name" : "T", + "annotation" : [ ] + } ] } - }, { - "localId" : "465", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "matchTestsFalse", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "465", + } + } + }, { + "localId" : "563", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "matchTestCallSelfFalse", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "563", + "s" : [ { + "value" : [ "", "define ", "matchTestCallSelfFalse", ": " ] + }, { + "r" : "575", + "s" : [ { + "r" : "564", + "s" : [ { + "value" : [ "\"testOptionsList\"" ] + } ] + }, { + "value" : [ "." ] + }, { + "r" : "575", + "s" : [ { + "value" : [ "targetMatches", "(" ] + }, { + "r" : "569", "s" : [ { - "value" : [ "","define ","matchTestsFalse",": " ] + "value" : [ "{" ] }, { - "r" : "466", - "s" : [ { - "value" : [ "exists " ] - }, { - "r" : "505", - "s" : [ { - "value" : [ "(" ] - }, { - "r" : "505", - "s" : [ { - "s" : [ { - "r" : "467", - "s" : [ { - "r" : "468", - "s" : [ { - "value" : [ "(" ] - }, { - "r" : "468", - "s" : [ { - "value" : [ "{" ] - }, { - "r" : "469", - "s" : [ { - "value" : [ "'test789'" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "471", - "s" : [ { - "value" : [ "'test719'" ] - } ] - }, { - "value" : [ " }" ] - } ] - }, { - "value" : [ ")" ] - } ] - }, { - "value" : [ " ","T" ] - } ] - } ] - }, { - "value" : [ "\n " ] - }, { - "r" : "500", - "s" : [ { - "value" : [ "where " ] - }, { - "r" : "500", - "s" : [ { - "r" : "491", - "s" : [ { - "value" : [ "First","(" ] - }, { - "r" : "480", - "s" : [ { - "value" : [ "\"testOptionsList\"" ] - } ] - }, { - "value" : [ ")" ] - } ] - }, { - "value" : [ "." ] - }, { - "r" : "500", - "s" : [ { - "value" : [ "targetMatches","(" ] - }, { - "r" : "499", - "s" : [ { - "value" : [ "T" ] - } ] - }, { - "value" : [ ")" ] - } ] - } ] - } ] - } ] - }, { - "value" : [ ")" ] - } ] - } ] + "s" : [ { + "value" : [ "id", ": " ] + }, { + "r" : "570", + "s" : [ { + "value" : [ "'test789'" ] + } ] + } ] + }, { + "value" : [ "}" ] } ] - } - } ], - "expression" : { - "localId" : "466", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "Exists", - "signature" : [ { - "localId" : "510", - "type" : "ListTypeSpecifier", + }, { + "value" : [ ")" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "FunctionRef", + "localId" : "575", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "targetMatches", + "annotation" : [ ], + "signature" : [ { + "type" : "ListTypeSpecifier", + "localId" : "576", + "annotation" : [ ], + "elementType" : { + "type" : "TupleTypeSpecifier", + "localId" : "577", + "annotation" : [ ], + "element" : [ { + "localId" : "578", + "name" : "option", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "579", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } + } ] + } + }, { + "type" : "TupleTypeSpecifier", + "localId" : "580", + "annotation" : [ ], + "element" : [ { + "localId" : "581", + "name" : "id", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "582", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } + } ] + } ], + "operand" : [ { + "type" : "ExpressionRef", + "localId" : "564", + "name" : "testOptionsList", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "565", + "annotation" : [ ], + "elementType" : { + "type" : "TupleTypeSpecifier", + "localId" : "566", + "annotation" : [ ], + "element" : [ { + "localId" : "567", + "name" : "option", + "annotation" : [ ], "elementType" : { - "localId" : "511", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" + "type" : "NamedTypeSpecifier", + "localId" : "568", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] } - } ], - "operand" : { - "localId" : "505", - "type" : "Query", - "resultTypeSpecifier" : { - "localId" : "508", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "509", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } - }, - "source" : [ { - "localId" : "467", - "alias" : "T", - "resultTypeSpecifier" : { - "localId" : "477", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "478", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } - }, - "expression" : { - "localId" : "468", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "475", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "476", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } - }, - "element" : [ { - "localId" : "469", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "test789", - "type" : "Literal" - }, { - "localId" : "471", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "test719", - "type" : "Literal" - } ] - } - } ], - "let" : [ ], - "relationship" : [ ], - "where" : { - "localId" : "500", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "targetMatches", - "type" : "FunctionRef", - "signature" : [ { - "localId" : "501", - "type" : "TupleTypeSpecifier", - "element" : [ { - "localId" : "502", - "name" : "option", - "elementType" : { - "localId" : "503", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } - } ] - }, { - "localId" : "504", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "491", - "type" : "First", - "resultTypeSpecifier" : { - "localId" : "496", - "type" : "TupleTypeSpecifier", - "element" : [ { - "localId" : "497", - "name" : "option", - "elementType" : { - "localId" : "498", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } - } ] - }, - "signature" : [ { - "localId" : "492", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "493", - "type" : "TupleTypeSpecifier", - "element" : [ { - "localId" : "494", - "name" : "option", - "elementType" : { - "localId" : "495", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } - } ] - } - } ], - "source" : { - "localId" : "480", - "name" : "testOptionsList", - "type" : "ExpressionRef", - "resultTypeSpecifier" : { - "localId" : "481", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "482", - "type" : "TupleTypeSpecifier", - "element" : [ { - "localId" : "483", - "name" : "option", - "elementType" : { - "localId" : "484", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } - } ] - } - } - } - }, { - "localId" : "499", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "name" : "T", - "type" : "AliasRef" - } ] - } - } + } ] + } } - }, { - "localId" : "514", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "matchTestsTrue", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "514", + }, { + "type" : "Tuple", + "localId" : "569", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "TupleTypeSpecifier", + "localId" : "572", + "annotation" : [ ], + "element" : [ { + "localId" : "573", + "name" : "id", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "574", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } + } ] + }, + "element" : [ { + "name" : "id", + "value" : { + "type" : "Literal", + "localId" : "570", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "test789", + "annotation" : [ ] + } + } ] + } ] + } + }, { + "localId" : "585", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "matchTestCallSelfTrue", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "585", + "s" : [ { + "value" : [ "", "define ", "matchTestCallSelfTrue", ": " ] + }, { + "r" : "597", + "s" : [ { + "r" : "586", + "s" : [ { + "value" : [ "\"testOptionsList\"" ] + } ] + }, { + "value" : [ "." ] + }, { + "r" : "597", + "s" : [ { + "value" : [ "targetMatches", "(" ] + }, { + "r" : "591", "s" : [ { - "value" : [ "","define ","matchTestsTrue",": " ] + "value" : [ "{" ] + }, { + "s" : [ { + "value" : [ "id", ": " ] + }, { + "r" : "592", + "s" : [ { + "value" : [ "'test123'" ] + } ] + } ] }, { - "r" : "515", - "s" : [ { - "value" : [ "exists " ] - }, { - "r" : "554", + "value" : [ "}" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "FunctionRef", + "localId" : "597", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "targetMatches", + "annotation" : [ ], + "signature" : [ { + "type" : "ListTypeSpecifier", + "localId" : "598", + "annotation" : [ ], + "elementType" : { + "type" : "TupleTypeSpecifier", + "localId" : "599", + "annotation" : [ ], + "element" : [ { + "localId" : "600", + "name" : "option", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "601", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } + } ] + } + }, { + "type" : "TupleTypeSpecifier", + "localId" : "602", + "annotation" : [ ], + "element" : [ { + "localId" : "603", + "name" : "id", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "604", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } + } ] + } ], + "operand" : [ { + "type" : "ExpressionRef", + "localId" : "586", + "name" : "testOptionsList", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "587", + "annotation" : [ ], + "elementType" : { + "type" : "TupleTypeSpecifier", + "localId" : "588", + "annotation" : [ ], + "element" : [ { + "localId" : "589", + "name" : "option", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "590", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } + } ] + } + } + }, { + "type" : "Tuple", + "localId" : "591", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "TupleTypeSpecifier", + "localId" : "594", + "annotation" : [ ], + "element" : [ { + "localId" : "595", + "name" : "id", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "596", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } + } ] + }, + "element" : [ { + "name" : "id", + "value" : { + "type" : "Literal", + "localId" : "592", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "test123", + "annotation" : [ ] + } + } ] + } ] + } + }, { + "localId" : "607", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "matchTestsCallSelfFalse", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "607", + "s" : [ { + "value" : [ "", "define ", "matchTestsCallSelfFalse", ": " ] + }, { + "r" : "608", + "s" : [ { + "value" : [ "exists " ] + }, { + "r" : "653", + "s" : [ { + "value" : [ "(" ] + }, { + "r" : "653", + "s" : [ { + "s" : [ { + "r" : "609", + "s" : [ { + "r" : "610", "s" : [ { - "value" : [ "(" ] + "value" : [ "(" ] }, { - "r" : "554", - "s" : [ { + "r" : "610", + "s" : [ { + "value" : [ "{ " ] + }, { + "r" : "611", + "s" : [ { + "value" : [ "{" ] + }, { "s" : [ { - "r" : "516", - "s" : [ { - "r" : "517", - "s" : [ { - "value" : [ "(" ] - }, { - "r" : "517", - "s" : [ { - "value" : [ "{" ] - }, { - "r" : "518", - "s" : [ { - "value" : [ "'test341'" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "520", - "s" : [ { - "value" : [ "'test719'" ] - } ] - }, { - "value" : [ " }" ] - } ] - }, { - "value" : [ ")" ] - } ] - }, { - "value" : [ " ","T" ] - } ] + "value" : [ "id", ": " ] + }, { + "r" : "612", + "s" : [ { + "value" : [ "'test789'" ] + } ] } ] - }, { - "value" : [ "\n " ] - }, { - "r" : "549", + }, { + "value" : [ "}" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "617", + "s" : [ { + "value" : [ "{" ] + }, { "s" : [ { - "value" : [ "where " ] + "value" : [ "id", ": " ] }, { - "r" : "549", - "s" : [ { - "r" : "540", - "s" : [ { - "value" : [ "Last","(" ] - }, { - "r" : "529", - "s" : [ { - "value" : [ "\"testOptionsList\"" ] - } ] - }, { - "value" : [ ")" ] - } ] - }, { - "value" : [ "." ] - }, { - "r" : "549", - "s" : [ { - "value" : [ "targetMatches","(" ] - }, { - "r" : "548", - "s" : [ { - "value" : [ "T" ] - } ] - }, { - "value" : [ ")" ] - } ] - } ] + "r" : "618", + "s" : [ { + "value" : [ "'test719'" ] + } ] } ] - } ] - }, { - "value" : [ ")" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "515", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "Exists", - "signature" : [ { - "localId" : "559", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "560", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : { - "localId" : "554", - "type" : "Query", - "resultTypeSpecifier" : { - "localId" : "557", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "558", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } - }, - "source" : [ { - "localId" : "516", - "alias" : "T", - "resultTypeSpecifier" : { - "localId" : "526", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "527", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } - }, - "expression" : { - "localId" : "517", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "524", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "525", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } - }, - "element" : [ { - "localId" : "518", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "test341", - "type" : "Literal" + }, { + "value" : [ "}" ] + } ] + }, { + "value" : [ " }" ] + } ] }, { - "localId" : "520", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "test719", - "type" : "Literal" - } ] - } - } ], - "let" : [ ], - "relationship" : [ ], - "where" : { - "localId" : "549", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "targetMatches", - "type" : "FunctionRef", - "signature" : [ { - "localId" : "550", - "type" : "TupleTypeSpecifier", - "element" : [ { - "localId" : "551", - "name" : "option", - "elementType" : { - "localId" : "552", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } + "value" : [ ")" ] } ] - }, { - "localId" : "553", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "540", - "type" : "Last", - "resultTypeSpecifier" : { - "localId" : "545", - "type" : "TupleTypeSpecifier", - "element" : [ { - "localId" : "546", - "name" : "option", - "elementType" : { - "localId" : "547", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } - } ] - }, - "signature" : [ { - "localId" : "541", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "542", - "type" : "TupleTypeSpecifier", - "element" : [ { - "localId" : "543", - "name" : "option", - "elementType" : { - "localId" : "544", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } - } ] - } - } ], - "source" : { - "localId" : "529", - "name" : "testOptionsList", - "type" : "ExpressionRef", - "resultTypeSpecifier" : { - "localId" : "530", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "531", - "type" : "TupleTypeSpecifier", - "element" : [ { - "localId" : "532", - "name" : "option", - "elementType" : { - "localId" : "533", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } - } ] - } - } - } - }, { - "localId" : "548", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "name" : "T", - "type" : "AliasRef" - } ] - } - } - } - }, { - "localId" : "563", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "matchTestCallSelfFalse", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "563", - "s" : [ { - "value" : [ "","define ","matchTestCallSelfFalse",": " ] + }, { + "value" : [ " ", "T" ] + } ] + } ] + }, { + "value" : [ "\n " ] }, { - "r" : "575", - "s" : [ { - "r" : "564", + "r" : "645", + "s" : [ { + "value" : [ "where " ] + }, { + "r" : "645", + "s" : [ { + "r" : "636", "s" : [ { - "value" : [ "\"testOptionsList\"" ] + "value" : [ "\"testOptionsList\"" ] } ] - }, { + }, { "value" : [ "." ] - }, { - "r" : "575", + }, { + "r" : "645", "s" : [ { - "value" : [ "targetMatches","(" ] + "value" : [ "targetMatches", "(" ] }, { - "r" : "569", - "s" : [ { - "value" : [ "{" ] - }, { - "s" : [ { - "value" : [ "id",": " ] - }, { - "r" : "570", - "s" : [ { - "value" : [ "'test789'" ] - } ] - } ] - }, { - "value" : [ "}" ] - } ] + "r" : "641", + "s" : [ { + "value" : [ "T" ] + } ] }, { - "value" : [ ")" ] + "value" : [ ")" ] } ] - } ] + } ] + } ] } ] - } - } ], - "expression" : { - "localId" : "575", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "targetMatches", - "type" : "FunctionRef", - "signature" : [ { - "localId" : "576", - "type" : "ListTypeSpecifier", + }, { + "value" : [ ")" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Exists", + "localId" : "608", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "ListTypeSpecifier", + "localId" : "662", + "annotation" : [ ], + "elementType" : { + "type" : "TupleTypeSpecifier", + "localId" : "663", + "annotation" : [ ], + "element" : [ { + "localId" : "664", + "name" : "id", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "665", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } + } ] + } + } ], + "operand" : { + "type" : "Query", + "localId" : "653", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "658", + "annotation" : [ ], + "elementType" : { + "type" : "TupleTypeSpecifier", + "localId" : "659", + "annotation" : [ ], + "element" : [ { + "localId" : "660", + "name" : "id", + "annotation" : [ ], "elementType" : { - "localId" : "577", - "type" : "TupleTypeSpecifier", - "element" : [ { - "localId" : "578", - "name" : "option", - "elementType" : { - "localId" : "579", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } - } ] + "type" : "NamedTypeSpecifier", + "localId" : "661", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] } - }, { - "localId" : "580", + } ] + } + }, + "source" : [ { + "localId" : "609", + "alias" : "T", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "631", + "annotation" : [ ], + "elementType" : { "type" : "TupleTypeSpecifier", + "localId" : "632", + "annotation" : [ ], "element" : [ { - "localId" : "581", - "name" : "id", - "elementType" : { - "localId" : "582", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } + "localId" : "633", + "name" : "id", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "634", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } } ] - } ], - "operand" : [ { - "localId" : "564", - "name" : "testOptionsList", - "type" : "ExpressionRef", - "resultTypeSpecifier" : { - "localId" : "565", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "566", - "type" : "TupleTypeSpecifier", - "element" : [ { - "localId" : "567", - "name" : "option", - "elementType" : { - "localId" : "568", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } - } ] - } + } + }, + "expression" : { + "type" : "List", + "localId" : "610", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "627", + "annotation" : [ ], + "elementType" : { + "type" : "TupleTypeSpecifier", + "localId" : "628", + "annotation" : [ ], + "element" : [ { + "localId" : "629", + "name" : "id", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "630", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } + } ] } - }, { - "localId" : "569", + }, + "element" : [ { "type" : "Tuple", + "localId" : "611", + "annotation" : [ ], "resultTypeSpecifier" : { - "localId" : "572", - "type" : "TupleTypeSpecifier", - "element" : [ { - "localId" : "573", - "name" : "id", - "elementType" : { - "localId" : "574", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } - } ] + "type" : "TupleTypeSpecifier", + "localId" : "614", + "annotation" : [ ], + "element" : [ { + "localId" : "615", + "name" : "id", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "616", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } + } ] }, "element" : [ { - "name" : "id", - "value" : { - "localId" : "570", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "test789", - "type" : "Literal" - } + "name" : "id", + "value" : { + "type" : "Literal", + "localId" : "612", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "test789", + "annotation" : [ ] + } } ] - } ] - } - }, { - "localId" : "585", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "matchTestCallSelfTrue", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "585", - "s" : [ { - "value" : [ "","define ","matchTestCallSelfTrue",": " ] - }, { - "r" : "597", - "s" : [ { - "r" : "586", - "s" : [ { - "value" : [ "\"testOptionsList\"" ] - } ] - }, { - "value" : [ "." ] - }, { - "r" : "597", - "s" : [ { - "value" : [ "targetMatches","(" ] - }, { - "r" : "591", - "s" : [ { - "value" : [ "{" ] - }, { - "s" : [ { - "value" : [ "id",": " ] - }, { - "r" : "592", - "s" : [ { - "value" : [ "'test123'" ] - } ] - } ] - }, { - "value" : [ "}" ] - } ] - }, { - "value" : [ ")" ] - } ] - } ] + }, { + "type" : "Tuple", + "localId" : "617", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "TupleTypeSpecifier", + "localId" : "620", + "annotation" : [ ], + "element" : [ { + "localId" : "621", + "name" : "id", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "622", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } + } ] + }, + "element" : [ { + "name" : "id", + "value" : { + "type" : "Literal", + "localId" : "618", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "test719", + "annotation" : [ ] + } } ] - } + } ] + } } ], - "expression" : { - "localId" : "597", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "targetMatches", - "type" : "FunctionRef", - "signature" : [ { - "localId" : "598", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "599", - "type" : "TupleTypeSpecifier", - "element" : [ { - "localId" : "600", - "name" : "option", - "elementType" : { - "localId" : "601", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } - } ] - } - }, { - "localId" : "602", + "let" : [ ], + "relationship" : [ ], + "where" : { + "type" : "FunctionRef", + "localId" : "645", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "targetMatches", + "annotation" : [ ], + "signature" : [ { + "type" : "ListTypeSpecifier", + "localId" : "646", + "annotation" : [ ], + "elementType" : { "type" : "TupleTypeSpecifier", + "localId" : "647", + "annotation" : [ ], "element" : [ { - "localId" : "603", - "name" : "id", - "elementType" : { - "localId" : "604", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } + "localId" : "648", + "name" : "option", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "649", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } } ] - } ], - "operand" : [ { - "localId" : "586", - "name" : "testOptionsList", - "type" : "ExpressionRef", - "resultTypeSpecifier" : { - "localId" : "587", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "588", - "type" : "TupleTypeSpecifier", - "element" : [ { - "localId" : "589", - "name" : "option", - "elementType" : { - "localId" : "590", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } - } ] - } + } + }, { + "type" : "TupleTypeSpecifier", + "localId" : "650", + "annotation" : [ ], + "element" : [ { + "localId" : "651", + "name" : "id", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "652", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] } - }, { - "localId" : "591", - "type" : "Tuple", - "resultTypeSpecifier" : { - "localId" : "594", - "type" : "TupleTypeSpecifier", - "element" : [ { - "localId" : "595", - "name" : "id", - "elementType" : { - "localId" : "596", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } - } ] - }, + } ] + } ], + "operand" : [ { + "type" : "ExpressionRef", + "localId" : "636", + "name" : "testOptionsList", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "637", + "annotation" : [ ], + "elementType" : { + "type" : "TupleTypeSpecifier", + "localId" : "638", + "annotation" : [ ], + "element" : [ { + "localId" : "639", + "name" : "option", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "640", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } + } ] + } + } + }, { + "type" : "AliasRef", + "localId" : "641", + "name" : "T", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "TupleTypeSpecifier", + "localId" : "642", + "annotation" : [ ], "element" : [ { - "name" : "id", - "value" : { - "localId" : "592", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "test123", - "type" : "Literal" - } + "localId" : "643", + "name" : "id", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "644", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } } ] - } ] + } + } ] } - }, { - "localId" : "607", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "matchTestsCallSelfFalse", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "607", + } + } + }, { + "localId" : "668", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "matchTestsCallSelfTrue", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "668", + "s" : [ { + "value" : [ "", "define ", "matchTestsCallSelfTrue", ": " ] + }, { + "r" : "669", + "s" : [ { + "value" : [ "exists " ] + }, { + "r" : "714", + "s" : [ { + "value" : [ "(" ] + }, { + "r" : "714", "s" : [ { - "value" : [ "","define ","matchTestsCallSelfFalse",": " ] - }, { - "r" : "608", - "s" : [ { - "value" : [ "exists " ] - }, { - "r" : "653", + "s" : [ { + "r" : "670", + "s" : [ { + "r" : "671", "s" : [ { - "value" : [ "(" ] + "value" : [ "(" ] }, { - "r" : "653", - "s" : [ { + "r" : "671", + "s" : [ { + "value" : [ "{ " ] + }, { + "r" : "672", + "s" : [ { + "value" : [ "{" ] + }, { "s" : [ { - "r" : "609", - "s" : [ { - "r" : "610", - "s" : [ { - "value" : [ "(" ] - }, { - "r" : "610", - "s" : [ { - "value" : [ "{ " ] - }, { - "r" : "611", - "s" : [ { - "value" : [ "{" ] - }, { - "s" : [ { - "value" : [ "id",": " ] - }, { - "r" : "612", - "s" : [ { - "value" : [ "'test789'" ] - } ] - } ] - }, { - "value" : [ "}" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "617", - "s" : [ { - "value" : [ "{" ] - }, { - "s" : [ { - "value" : [ "id",": " ] - }, { - "r" : "618", - "s" : [ { - "value" : [ "'test719'" ] - } ] - } ] - }, { - "value" : [ "}" ] - } ] - }, { - "value" : [ " }" ] - } ] - }, { - "value" : [ ")" ] - } ] - }, { - "value" : [ " ","T" ] - } ] + "value" : [ "id", ": " ] + }, { + "r" : "673", + "s" : [ { + "value" : [ "'test341'" ] + } ] } ] - }, { - "value" : [ "\n " ] - }, { - "r" : "645", + }, { + "value" : [ "}" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "678", + "s" : [ { + "value" : [ "{" ] + }, { "s" : [ { - "value" : [ "where " ] + "value" : [ "id", ": " ] }, { - "r" : "645", - "s" : [ { - "r" : "636", - "s" : [ { - "value" : [ "\"testOptionsList\"" ] - } ] - }, { - "value" : [ "." ] - }, { - "r" : "645", - "s" : [ { - "value" : [ "targetMatches","(" ] - }, { - "r" : "641", - "s" : [ { - "value" : [ "T" ] - } ] - }, { - "value" : [ ")" ] - } ] - } ] + "r" : "679", + "s" : [ { + "value" : [ "'test719'" ] + } ] } ] - } ] + }, { + "value" : [ "}" ] + } ] + }, { + "value" : [ " }" ] + } ] }, { - "value" : [ ")" ] + "value" : [ ")" ] + } ] + }, { + "value" : [ " ", "T" ] + } ] + } ] + }, { + "value" : [ "\n " ] + }, { + "r" : "706", + "s" : [ { + "value" : [ "where " ] + }, { + "r" : "706", + "s" : [ { + "r" : "697", + "s" : [ { + "value" : [ "\"testOptionsList\"" ] } ] - } ] + }, { + "value" : [ "." ] + }, { + "r" : "706", + "s" : [ { + "value" : [ "targetMatches", "(" ] + }, { + "r" : "702", + "s" : [ { + "value" : [ "T" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } ] } ] - } - } ], - "expression" : { - "localId" : "608", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "Exists", - "signature" : [ { - "localId" : "662", + }, { + "value" : [ ")" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Exists", + "localId" : "669", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "ListTypeSpecifier", + "localId" : "723", + "annotation" : [ ], + "elementType" : { + "type" : "TupleTypeSpecifier", + "localId" : "724", + "annotation" : [ ], + "element" : [ { + "localId" : "725", + "name" : "id", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "726", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } + } ] + } + } ], + "operand" : { + "type" : "Query", + "localId" : "714", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "719", + "annotation" : [ ], + "elementType" : { + "type" : "TupleTypeSpecifier", + "localId" : "720", + "annotation" : [ ], + "element" : [ { + "localId" : "721", + "name" : "id", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "722", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } + } ] + } + }, + "source" : [ { + "localId" : "670", + "alias" : "T", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "692", + "annotation" : [ ], + "elementType" : { + "type" : "TupleTypeSpecifier", + "localId" : "693", + "annotation" : [ ], + "element" : [ { + "localId" : "694", + "name" : "id", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "695", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } + } ] + } + }, + "expression" : { + "type" : "List", + "localId" : "671", + "annotation" : [ ], + "resultTypeSpecifier" : { "type" : "ListTypeSpecifier", + "localId" : "688", + "annotation" : [ ], "elementType" : { - "localId" : "663", - "type" : "TupleTypeSpecifier", - "element" : [ { - "localId" : "664", - "name" : "id", - "elementType" : { - "localId" : "665", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } - } ] + "type" : "TupleTypeSpecifier", + "localId" : "689", + "annotation" : [ ], + "element" : [ { + "localId" : "690", + "name" : "id", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "691", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } + } ] } - } ], - "operand" : { - "localId" : "653", - "type" : "Query", + }, + "element" : [ { + "type" : "Tuple", + "localId" : "672", + "annotation" : [ ], "resultTypeSpecifier" : { - "localId" : "658", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "659", - "type" : "TupleTypeSpecifier", - "element" : [ { - "localId" : "660", - "name" : "id", - "elementType" : { - "localId" : "661", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } - } ] - } + "type" : "TupleTypeSpecifier", + "localId" : "675", + "annotation" : [ ], + "element" : [ { + "localId" : "676", + "name" : "id", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "677", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } + } ] }, - "source" : [ { - "localId" : "609", - "alias" : "T", - "resultTypeSpecifier" : { - "localId" : "631", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "632", - "type" : "TupleTypeSpecifier", - "element" : [ { - "localId" : "633", - "name" : "id", - "elementType" : { - "localId" : "634", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } - } ] - } - }, - "expression" : { - "localId" : "610", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "627", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "628", - "type" : "TupleTypeSpecifier", - "element" : [ { - "localId" : "629", - "name" : "id", - "elementType" : { - "localId" : "630", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } - } ] - } - }, - "element" : [ { - "localId" : "611", - "type" : "Tuple", - "resultTypeSpecifier" : { - "localId" : "614", - "type" : "TupleTypeSpecifier", - "element" : [ { - "localId" : "615", - "name" : "id", - "elementType" : { - "localId" : "616", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } - } ] - }, - "element" : [ { - "name" : "id", - "value" : { - "localId" : "612", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "test789", - "type" : "Literal" - } - } ] - }, { - "localId" : "617", - "type" : "Tuple", - "resultTypeSpecifier" : { - "localId" : "620", - "type" : "TupleTypeSpecifier", - "element" : [ { - "localId" : "621", - "name" : "id", - "elementType" : { - "localId" : "622", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } - } ] - }, - "element" : [ { - "name" : "id", - "value" : { - "localId" : "618", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "test719", - "type" : "Literal" - } - } ] - } ] - } - } ], - "let" : [ ], - "relationship" : [ ], - "where" : { - "localId" : "645", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "targetMatches", - "type" : "FunctionRef", - "signature" : [ { - "localId" : "646", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "647", - "type" : "TupleTypeSpecifier", - "element" : [ { - "localId" : "648", - "name" : "option", - "elementType" : { - "localId" : "649", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } - } ] - } - }, { - "localId" : "650", - "type" : "TupleTypeSpecifier", - "element" : [ { - "localId" : "651", - "name" : "id", - "elementType" : { - "localId" : "652", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } - } ] - } ], - "operand" : [ { - "localId" : "636", - "name" : "testOptionsList", - "type" : "ExpressionRef", - "resultTypeSpecifier" : { - "localId" : "637", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "638", - "type" : "TupleTypeSpecifier", - "element" : [ { - "localId" : "639", - "name" : "option", - "elementType" : { - "localId" : "640", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } - } ] - } - } - }, { - "localId" : "641", - "name" : "T", - "type" : "AliasRef", - "resultTypeSpecifier" : { - "localId" : "642", - "type" : "TupleTypeSpecifier", - "element" : [ { - "localId" : "643", - "name" : "id", - "elementType" : { - "localId" : "644", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } - } ] - } - } ] - } - } - } - }, { - "localId" : "668", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "matchTestsCallSelfTrue", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "668", - "s" : [ { - "value" : [ "","define ","matchTestsCallSelfTrue",": " ] - }, { - "r" : "669", - "s" : [ { - "value" : [ "exists " ] - }, { - "r" : "714", - "s" : [ { - "value" : [ "(" ] - }, { - "r" : "714", - "s" : [ { - "s" : [ { - "r" : "670", - "s" : [ { - "r" : "671", - "s" : [ { - "value" : [ "(" ] - }, { - "r" : "671", - "s" : [ { - "value" : [ "{ " ] - }, { - "r" : "672", - "s" : [ { - "value" : [ "{" ] - }, { - "s" : [ { - "value" : [ "id",": " ] - }, { - "r" : "673", - "s" : [ { - "value" : [ "'test341'" ] - } ] - } ] - }, { - "value" : [ "}" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "678", - "s" : [ { - "value" : [ "{" ] - }, { - "s" : [ { - "value" : [ "id",": " ] - }, { - "r" : "679", - "s" : [ { - "value" : [ "'test719'" ] - } ] - } ] - }, { - "value" : [ "}" ] - } ] - }, { - "value" : [ " }" ] - } ] - }, { - "value" : [ ")" ] - } ] - }, { - "value" : [ " ","T" ] - } ] - } ] - }, { - "value" : [ "\n " ] - }, { - "r" : "706", - "s" : [ { - "value" : [ "where " ] - }, { - "r" : "706", - "s" : [ { - "r" : "697", - "s" : [ { - "value" : [ "\"testOptionsList\"" ] - } ] - }, { - "value" : [ "." ] - }, { - "r" : "706", - "s" : [ { - "value" : [ "targetMatches","(" ] - }, { - "r" : "702", - "s" : [ { - "value" : [ "T" ] - } ] - }, { - "value" : [ ")" ] - } ] - } ] - } ] - } ] - }, { - "value" : [ ")" ] - } ] - } ] + "element" : [ { + "name" : "id", + "value" : { + "type" : "Literal", + "localId" : "673", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "test341", + "annotation" : [ ] + } + } ] + }, { + "type" : "Tuple", + "localId" : "678", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "TupleTypeSpecifier", + "localId" : "681", + "annotation" : [ ], + "element" : [ { + "localId" : "682", + "name" : "id", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "683", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } + } ] + }, + "element" : [ { + "name" : "id", + "value" : { + "type" : "Literal", + "localId" : "679", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "test719", + "annotation" : [ ] + } } ] - } + } ] + } } ], - "expression" : { - "localId" : "669", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "Exists", - "signature" : [ { - "localId" : "723", - "type" : "ListTypeSpecifier", + "let" : [ ], + "relationship" : [ ], + "where" : { + "type" : "FunctionRef", + "localId" : "706", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "targetMatches", + "annotation" : [ ], + "signature" : [ { + "type" : "ListTypeSpecifier", + "localId" : "707", + "annotation" : [ ], + "elementType" : { + "type" : "TupleTypeSpecifier", + "localId" : "708", + "annotation" : [ ], + "element" : [ { + "localId" : "709", + "name" : "option", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "710", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } + } ] + } + }, { + "type" : "TupleTypeSpecifier", + "localId" : "711", + "annotation" : [ ], + "element" : [ { + "localId" : "712", + "name" : "id", + "annotation" : [ ], "elementType" : { - "localId" : "724", - "type" : "TupleTypeSpecifier", - "element" : [ { - "localId" : "725", - "name" : "id", - "elementType" : { - "localId" : "726", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } - } ] + "type" : "NamedTypeSpecifier", + "localId" : "713", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] } - } ], - "operand" : { - "localId" : "714", - "type" : "Query", - "resultTypeSpecifier" : { - "localId" : "719", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "720", - "type" : "TupleTypeSpecifier", - "element" : [ { - "localId" : "721", - "name" : "id", - "elementType" : { - "localId" : "722", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } - } ] - } - }, - "source" : [ { - "localId" : "670", - "alias" : "T", - "resultTypeSpecifier" : { - "localId" : "692", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "693", - "type" : "TupleTypeSpecifier", - "element" : [ { - "localId" : "694", - "name" : "id", - "elementType" : { - "localId" : "695", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } - } ] - } - }, - "expression" : { - "localId" : "671", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "688", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "689", - "type" : "TupleTypeSpecifier", - "element" : [ { - "localId" : "690", - "name" : "id", - "elementType" : { - "localId" : "691", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } - } ] - } - }, - "element" : [ { - "localId" : "672", - "type" : "Tuple", - "resultTypeSpecifier" : { - "localId" : "675", - "type" : "TupleTypeSpecifier", - "element" : [ { - "localId" : "676", - "name" : "id", - "elementType" : { - "localId" : "677", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } - } ] - }, - "element" : [ { - "name" : "id", - "value" : { - "localId" : "673", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "test341", - "type" : "Literal" - } - } ] - }, { - "localId" : "678", - "type" : "Tuple", - "resultTypeSpecifier" : { - "localId" : "681", - "type" : "TupleTypeSpecifier", - "element" : [ { - "localId" : "682", - "name" : "id", - "elementType" : { - "localId" : "683", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } - } ] - }, - "element" : [ { - "name" : "id", - "value" : { - "localId" : "679", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "test719", - "type" : "Literal" - } - } ] - } ] - } - } ], - "let" : [ ], - "relationship" : [ ], - "where" : { - "localId" : "706", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "targetMatches", - "type" : "FunctionRef", - "signature" : [ { - "localId" : "707", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "708", - "type" : "TupleTypeSpecifier", - "element" : [ { - "localId" : "709", - "name" : "option", - "elementType" : { - "localId" : "710", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } - } ] - } - }, { - "localId" : "711", - "type" : "TupleTypeSpecifier", - "element" : [ { - "localId" : "712", - "name" : "id", - "elementType" : { - "localId" : "713", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } - } ] - } ], - "operand" : [ { - "localId" : "697", - "name" : "testOptionsList", - "type" : "ExpressionRef", - "resultTypeSpecifier" : { - "localId" : "698", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "699", - "type" : "TupleTypeSpecifier", - "element" : [ { - "localId" : "700", - "name" : "option", - "elementType" : { - "localId" : "701", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } - } ] - } - } - }, { - "localId" : "702", - "name" : "T", - "type" : "AliasRef", - "resultTypeSpecifier" : { - "localId" : "703", - "type" : "TupleTypeSpecifier", - "element" : [ { - "localId" : "704", - "name" : "id", - "elementType" : { - "localId" : "705", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } - } ] - } - } ] + } ] + } ], + "operand" : [ { + "type" : "ExpressionRef", + "localId" : "697", + "name" : "testOptionsList", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "698", + "annotation" : [ ], + "elementType" : { + "type" : "TupleTypeSpecifier", + "localId" : "699", + "annotation" : [ ], + "element" : [ { + "localId" : "700", + "name" : "option", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "701", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } + } ] } - } + } + }, { + "type" : "AliasRef", + "localId" : "702", + "name" : "T", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "TupleTypeSpecifier", + "localId" : "703", + "annotation" : [ ], + "element" : [ { + "localId" : "704", + "name" : "id", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "705", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } + } ] + } + } ] } - } ] - } - } + } + } + } ] + } + } } /* FluentFunctionsOverloadCallingSelfFromOtherLibrary @@ -5782,1938 +6496,2208 @@ define matchTestsCallSelfTrue: exists (({ {id: 'test341'}, {id: 'test719'} }) T */ module.exports['FluentFunctionsOverloadCallingSelfFromOtherLibrary'] = { - "library" : { - "localId" : "0", - "annotation" : [ { - "translatorVersion" : "3.27.0", - "translatorOptions" : "EnableDateRangeOptimization,EnableAnnotations,EnableResultTypes", - "signatureLevel" : "All", - "type" : "CqlToElmInfo" + "library" : { + "localId" : "0", + "annotation" : [ { + "type" : "CqlToElmInfo", + "translatorVersion" : "4.2.0", + "translatorOptions" : "EnableDateRangeOptimization,EnableAnnotations,EnableResultTypes", + "signatureLevel" : "All" + }, { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "501", + "s" : [ { + "value" : [ "", "library TestSnippet version '1'" ] + } ] + } + } ], + "identifier" : { + "id" : "TestSnippet", + "version" : "1" + }, + "schemaIdentifier" : { + "id" : "urn:hl7-org:elm", + "version" : "r1" + }, + "usings" : { + "def" : [ { + "localId" : "1", + "localIdentifier" : "System", + "uri" : "urn:hl7-org:elm-types:r1", + "annotation" : [ ] }, { - "type" : "Annotation", - "s" : { - "r" : "501", + "localId" : "206", + "localIdentifier" : "Simple", + "uri" : "https://github.com/cqframework/cql-execution/simple", + "version" : "1.0.0", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "206", "s" : [ { - "value" : [ "","library TestSnippet version '1'" ] + "value" : [ "", "using " ] + }, { + "s" : [ { + "value" : [ "Simple" ] + } ] + }, { + "value" : [ " version '1.0.0'" ] + } ] + } + } ] + } ] + }, + "includes" : { + "def" : [ { + "localId" : "208", + "localIdentifier" : "FluentFunctionsOverloadCallingSelf", + "path" : "FluentFunctionsOverloadCallingSelf", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "208", + "s" : [ { + "value" : [ "", "include " ] + }, { + "s" : [ { + "value" : [ "FluentFunctionsOverloadCallingSelf" ] + } ] + }, { + "value" : [ " called ", "FluentFunctionsOverloadCallingSelf" ] } ] - } - } ], - "identifier" : { - "id" : "TestSnippet", - "version" : "1" - }, - "schemaIdentifier" : { - "id" : "urn:hl7-org:elm", - "version" : "r1" - }, - "usings" : { - "def" : [ { - "localId" : "1", - "localIdentifier" : "System", - "uri" : "urn:hl7-org:elm-types:r1" - }, { - "localId" : "206", - "localIdentifier" : "Simple", - "uri" : "https://github.com/cqframework/cql-execution/simple", - "version" : "1.0.0", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "206", + } + } ] + } ] + }, + "contexts" : { + "def" : [ { + "localId" : "213", + "name" : "Patient", + "annotation" : [ ] + } ] + }, + "statements" : { + "def" : [ { + "localId" : "211", + "name" : "Patient", + "context" : "Patient", + "annotation" : [ ], + "expression" : { + "type" : "SingletonFrom", + "localId" : "212", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Retrieve", + "localId" : "210", + "dataType" : "{https://github.com/cqframework/cql-execution/simple}Patient", + "annotation" : [ ], + "include" : [ ], + "codeFilter" : [ ], + "dateFilter" : [ ], + "otherFilter" : [ ] + } + } + }, { + "localId" : "216", + "name" : "testOptionsList", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "216", + "s" : [ { + "value" : [ "", "define ", "testOptionsList", ":\n " ] + }, { + "r" : "217", + "s" : [ { + "value" : [ "{\n " ] + }, { + "r" : "218", + "s" : [ { + "value" : [ "{\n " ] + }, { "s" : [ { - "value" : [ "","using " ] + "value" : [ "option", ": " ] }, { - "s" : [ { - "value" : [ "Simple" ] - } ] - }, { - "value" : [ " version '1.0.0'" ] + "r" : "219", + "s" : [ { + "value" : [ "'test123'" ] + } ] } ] - } - } ] - } ] - }, - "includes" : { - "def" : [ { - "localId" : "208", - "localIdentifier" : "FluentFunctionsOverloadCallingSelf", - "path" : "FluentFunctionsOverloadCallingSelf", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "208", + }, { + "value" : [ "\n }" ] + } ] + }, { + "value" : [ ",\n " ] + }, { + "r" : "224", + "s" : [ { + "value" : [ "{\n " ] + }, { "s" : [ { - "value" : [ "","include " ] - }, { - "s" : [ { - "value" : [ "FluentFunctionsOverloadCallingSelf" ] - } ] + "value" : [ "option", ": " ] }, { - "value" : [ " called ","FluentFunctionsOverloadCallingSelf" ] + "r" : "225", + "s" : [ { + "value" : [ "'test341'" ] + } ] } ] - } + }, { + "value" : [ "\n }" ] + } ] + }, { + "value" : [ "\n }" ] + } ] } ] - } ] - }, - "contexts" : { - "def" : [ { - "localId" : "213", - "name" : "Patient" - } ] - }, - "statements" : { - "def" : [ { - "localId" : "211", - "name" : "Patient", - "context" : "Patient", - "expression" : { - "localId" : "212", - "type" : "SingletonFrom", - "signature" : [ ], - "operand" : { - "localId" : "210", - "dataType" : "{https://github.com/cqframework/cql-execution/simple}Patient", - "type" : "Retrieve", - "include" : [ ], - "codeFilter" : [ ], - "dateFilter" : [ ], - "otherFilter" : [ ] - } + } + } ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "234", + "annotation" : [ ], + "elementType" : { + "type" : "TupleTypeSpecifier", + "localId" : "235", + "annotation" : [ ], + "element" : [ { + "localId" : "236", + "name" : "option", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "237", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } + } ] + } + }, + "expression" : { + "type" : "List", + "localId" : "217", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "230", + "annotation" : [ ], + "elementType" : { + "type" : "TupleTypeSpecifier", + "localId" : "231", + "annotation" : [ ], + "element" : [ { + "localId" : "232", + "name" : "option", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "233", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } + } ] } - }, { - "localId" : "216", - "name" : "testOptionsList", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "216", + }, + "element" : [ { + "type" : "Tuple", + "localId" : "218", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "TupleTypeSpecifier", + "localId" : "221", + "annotation" : [ ], + "element" : [ { + "localId" : "222", + "name" : "option", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "223", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } + } ] + }, + "element" : [ { + "name" : "option", + "value" : { + "type" : "Literal", + "localId" : "219", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "test123", + "annotation" : [ ] + } + } ] + }, { + "type" : "Tuple", + "localId" : "224", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "TupleTypeSpecifier", + "localId" : "227", + "annotation" : [ ], + "element" : [ { + "localId" : "228", + "name" : "option", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "229", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } + } ] + }, + "element" : [ { + "name" : "option", + "value" : { + "type" : "Literal", + "localId" : "225", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "test341", + "annotation" : [ ] + } + } ] + } ] + } + }, { + "localId" : "240", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "matchTestFalse", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "240", + "s" : [ { + "value" : [ "", "define ", "matchTestFalse", ": " ] + }, { + "r" : "262", + "s" : [ { + "r" : "252", + "s" : [ { + "value" : [ "First", "(" ] + }, { + "r" : "241", "s" : [ { - "value" : [ "","define ","testOptionsList",":\n " ] - }, { - "r" : "217", - "s" : [ { - "value" : [ "{\n " ] - }, { - "r" : "218", - "s" : [ { - "value" : [ "{\n " ] - }, { - "s" : [ { - "value" : [ "option",": " ] - }, { - "r" : "219", - "s" : [ { - "value" : [ "'test123'" ] - } ] - } ] - }, { - "value" : [ "\n }" ] - } ] - }, { - "value" : [ ",\n " ] - }, { - "r" : "224", - "s" : [ { - "value" : [ "{\n " ] - }, { - "s" : [ { - "value" : [ "option",": " ] - }, { - "r" : "225", - "s" : [ { - "value" : [ "'test341'" ] - } ] - } ] - }, { - "value" : [ "\n }" ] - } ] - }, { - "value" : [ "\n }" ] - } ] + "value" : [ "\"testOptionsList\"" ] } ] - } - } ], + }, { + "value" : [ ")" ] + } ] + }, { + "value" : [ "." ] + }, { + "r" : "262", + "s" : [ { + "value" : [ "targetMatches", "(" ] + }, { + "r" : "260", + "s" : [ { + "value" : [ "'test789'" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "FunctionRef", + "localId" : "262", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "targetMatches", + "libraryName" : "FluentFunctionsOverloadCallingSelf", + "annotation" : [ ], + "signature" : [ { + "type" : "TupleTypeSpecifier", + "localId" : "263", + "annotation" : [ ], + "element" : [ { + "localId" : "264", + "name" : "option", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "265", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } + } ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "266", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "First", + "localId" : "252", + "annotation" : [ ], "resultTypeSpecifier" : { - "localId" : "234", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "235", + "type" : "TupleTypeSpecifier", + "localId" : "257", + "annotation" : [ ], + "element" : [ { + "localId" : "258", + "name" : "option", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "259", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } + } ] + }, + "signature" : [ { + "type" : "ListTypeSpecifier", + "localId" : "253", + "annotation" : [ ], + "elementType" : { + "type" : "TupleTypeSpecifier", + "localId" : "254", + "annotation" : [ ], + "element" : [ { + "localId" : "255", + "name" : "option", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "256", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } + } ] + } + } ], + "source" : { + "type" : "ExpressionRef", + "localId" : "241", + "name" : "testOptionsList", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "242", + "annotation" : [ ], + "elementType" : { "type" : "TupleTypeSpecifier", + "localId" : "243", + "annotation" : [ ], "element" : [ { - "localId" : "236", - "name" : "option", - "elementType" : { - "localId" : "237", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } + "localId" : "244", + "name" : "option", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "245", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } + } ] + } + } + } + }, { + "type" : "Literal", + "localId" : "260", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "test789", + "annotation" : [ ] + } ] + } + }, { + "localId" : "269", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "matchTestTrue", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "269", + "s" : [ { + "value" : [ "", "define ", "matchTestTrue", ": " ] + }, { + "r" : "291", + "s" : [ { + "r" : "281", + "s" : [ { + "value" : [ "First", "(" ] + }, { + "r" : "270", + "s" : [ { + "value" : [ "\"testOptionsList\"" ] + } ] + }, { + "value" : [ ")" ] + } ] + }, { + "value" : [ "." ] + }, { + "r" : "291", + "s" : [ { + "value" : [ "targetMatches", "(" ] + }, { + "r" : "289", + "s" : [ { + "value" : [ "'test123'" ] } ] - } + }, { + "value" : [ ")" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "FunctionRef", + "localId" : "291", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "targetMatches", + "libraryName" : "FluentFunctionsOverloadCallingSelf", + "annotation" : [ ], + "signature" : [ { + "type" : "TupleTypeSpecifier", + "localId" : "292", + "annotation" : [ ], + "element" : [ { + "localId" : "293", + "name" : "option", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "294", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } + } ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "295", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "First", + "localId" : "281", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "TupleTypeSpecifier", + "localId" : "286", + "annotation" : [ ], + "element" : [ { + "localId" : "287", + "name" : "option", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "288", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } + } ] }, - "expression" : { - "localId" : "217", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "230", - "type" : "ListTypeSpecifier", + "signature" : [ { + "type" : "ListTypeSpecifier", + "localId" : "282", + "annotation" : [ ], + "elementType" : { + "type" : "TupleTypeSpecifier", + "localId" : "283", + "annotation" : [ ], + "element" : [ { + "localId" : "284", + "name" : "option", + "annotation" : [ ], "elementType" : { - "localId" : "231", - "type" : "TupleTypeSpecifier", - "element" : [ { - "localId" : "232", - "name" : "option", - "elementType" : { - "localId" : "233", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } - } ] + "type" : "NamedTypeSpecifier", + "localId" : "285", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] } - }, - "element" : [ { - "localId" : "218", - "type" : "Tuple", - "resultTypeSpecifier" : { - "localId" : "221", - "type" : "TupleTypeSpecifier", - "element" : [ { - "localId" : "222", - "name" : "option", - "elementType" : { - "localId" : "223", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } - } ] - }, - "element" : [ { - "name" : "option", - "value" : { - "localId" : "219", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "test123", - "type" : "Literal" - } - } ] - }, { - "localId" : "224", - "type" : "Tuple", - "resultTypeSpecifier" : { - "localId" : "227", - "type" : "TupleTypeSpecifier", - "element" : [ { - "localId" : "228", - "name" : "option", - "elementType" : { - "localId" : "229", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } - } ] - }, + } ] + } + } ], + "source" : { + "type" : "ExpressionRef", + "localId" : "270", + "name" : "testOptionsList", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "271", + "annotation" : [ ], + "elementType" : { + "type" : "TupleTypeSpecifier", + "localId" : "272", + "annotation" : [ ], "element" : [ { - "name" : "option", - "value" : { - "localId" : "225", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "test341", - "type" : "Literal" - } + "localId" : "273", + "name" : "option", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "274", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } } ] - } ] + } + } } - }, { - "localId" : "240", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "matchTestFalse", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "240", + }, { + "type" : "Literal", + "localId" : "289", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "test123", + "annotation" : [ ] + } ] + } + }, { + "localId" : "298", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "matchTestsFalse", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "298", + "s" : [ { + "value" : [ "", "define ", "matchTestsFalse", ": " ] + }, { + "r" : "299", + "s" : [ { + "value" : [ "exists " ] + }, { + "r" : "338", + "s" : [ { + "value" : [ "(" ] + }, { + "r" : "338", "s" : [ { - "value" : [ "","define ","matchTestFalse",": " ] - }, { - "r" : "262", - "s" : [ { - "r" : "252", - "s" : [ { - "value" : [ "First","(" ] - }, { - "r" : "241", - "s" : [ { - "value" : [ "\"testOptionsList\"" ] - } ] - }, { - "value" : [ ")" ] - } ] - }, { - "value" : [ "." ] - }, { - "r" : "262", + "s" : [ { + "r" : "300", + "s" : [ { + "r" : "301", "s" : [ { - "value" : [ "targetMatches","(" ] + "value" : [ "(" ] }, { - "r" : "260", - "s" : [ { + "r" : "301", + "s" : [ { + "value" : [ "{" ] + }, { + "r" : "302", + "s" : [ { "value" : [ "'test789'" ] - } ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "304", + "s" : [ { + "value" : [ "'test719'" ] + } ] + }, { + "value" : [ " }" ] + } ] }, { - "value" : [ ")" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "262", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "targetMatches", - "libraryName" : "FluentFunctionsOverloadCallingSelf", - "type" : "FunctionRef", - "signature" : [ { - "localId" : "263", - "type" : "TupleTypeSpecifier", - "element" : [ { - "localId" : "264", - "name" : "option", - "elementType" : { - "localId" : "265", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } - } ] - }, { - "localId" : "266", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "252", - "type" : "First", - "resultTypeSpecifier" : { - "localId" : "257", - "type" : "TupleTypeSpecifier", - "element" : [ { - "localId" : "258", - "name" : "option", - "elementType" : { - "localId" : "259", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } - } ] - }, - "signature" : [ { - "localId" : "253", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "254", - "type" : "TupleTypeSpecifier", - "element" : [ { - "localId" : "255", - "name" : "option", - "elementType" : { - "localId" : "256", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } + "value" : [ ")" ] } ] - } - } ], - "source" : { - "localId" : "241", - "name" : "testOptionsList", - "type" : "ExpressionRef", - "resultTypeSpecifier" : { - "localId" : "242", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "243", - "type" : "TupleTypeSpecifier", - "element" : [ { - "localId" : "244", - "name" : "option", - "elementType" : { - "localId" : "245", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } - } ] - } - } - } - }, { - "localId" : "260", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "test789", - "type" : "Literal" - } ] - } - }, { - "localId" : "269", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "matchTestTrue", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "269", - "s" : [ { - "value" : [ "","define ","matchTestTrue",": " ] + }, { + "value" : [ " ", "T" ] + } ] + } ] }, { - "r" : "291", - "s" : [ { - "r" : "281", + "value" : [ "\n " ] + }, { + "r" : "333", + "s" : [ { + "value" : [ "where " ] + }, { + "r" : "333", + "s" : [ { + "r" : "324", "s" : [ { - "value" : [ "First","(" ] + "value" : [ "First", "(" ] }, { - "r" : "270", - "s" : [ { - "value" : [ "\"testOptionsList\"" ] - } ] + "r" : "313", + "s" : [ { + "value" : [ "\"testOptionsList\"" ] + } ] }, { - "value" : [ ")" ] + "value" : [ ")" ] } ] - }, { + }, { "value" : [ "." ] - }, { - "r" : "291", + }, { + "r" : "333", "s" : [ { - "value" : [ "targetMatches","(" ] + "value" : [ "targetMatches", "(" ] }, { - "r" : "289", - "s" : [ { - "value" : [ "'test123'" ] - } ] + "r" : "332", + "s" : [ { + "value" : [ "T" ] + } ] }, { - "value" : [ ")" ] + "value" : [ ")" ] } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "291", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "targetMatches", - "libraryName" : "FluentFunctionsOverloadCallingSelf", - "type" : "FunctionRef", - "signature" : [ { - "localId" : "292", - "type" : "TupleTypeSpecifier", - "element" : [ { - "localId" : "293", - "name" : "option", - "elementType" : { - "localId" : "294", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } + } ] + } ] } ] - }, { - "localId" : "295", + }, { + "value" : [ ")" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Exists", + "localId" : "299", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "ListTypeSpecifier", + "localId" : "343", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "344", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } + } ], + "operand" : { + "type" : "Query", + "localId" : "338", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "341", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "342", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } + }, + "source" : [ { + "localId" : "300", + "alias" : "T", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "310", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "311", "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "281", - "type" : "First", - "resultTypeSpecifier" : { - "localId" : "286", - "type" : "TupleTypeSpecifier", - "element" : [ { - "localId" : "287", - "name" : "option", - "elementType" : { - "localId" : "288", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } - } ] - }, - "signature" : [ { - "localId" : "282", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "283", - "type" : "TupleTypeSpecifier", - "element" : [ { - "localId" : "284", - "name" : "option", - "elementType" : { - "localId" : "285", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } - } ] - } - } ], - "source" : { - "localId" : "270", - "name" : "testOptionsList", - "type" : "ExpressionRef", - "resultTypeSpecifier" : { - "localId" : "271", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "272", - "type" : "TupleTypeSpecifier", - "element" : [ { - "localId" : "273", - "name" : "option", - "elementType" : { - "localId" : "274", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } - } ] - } - } + "annotation" : [ ] + } + }, + "expression" : { + "type" : "List", + "localId" : "301", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "308", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "309", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] } - }, { - "localId" : "289", + }, + "element" : [ { + "type" : "Literal", + "localId" : "302", "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "test123", - "type" : "Literal" - } ] - } - }, { - "localId" : "298", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "matchTestsFalse", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "298", - "s" : [ { - "value" : [ "","define ","matchTestsFalse",": " ] - }, { - "r" : "299", - "s" : [ { - "value" : [ "exists " ] - }, { - "r" : "338", - "s" : [ { - "value" : [ "(" ] - }, { - "r" : "338", - "s" : [ { - "s" : [ { - "r" : "300", - "s" : [ { - "r" : "301", - "s" : [ { - "value" : [ "(" ] - }, { - "r" : "301", - "s" : [ { - "value" : [ "{" ] - }, { - "r" : "302", - "s" : [ { - "value" : [ "'test789'" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "304", - "s" : [ { - "value" : [ "'test719'" ] - } ] - }, { - "value" : [ " }" ] - } ] - }, { - "value" : [ ")" ] - } ] - }, { - "value" : [ " ","T" ] - } ] - } ] - }, { - "value" : [ "\n " ] - }, { - "r" : "333", - "s" : [ { - "value" : [ "where " ] - }, { - "r" : "333", - "s" : [ { - "r" : "324", - "s" : [ { - "value" : [ "First","(" ] - }, { - "r" : "313", - "s" : [ { - "value" : [ "\"testOptionsList\"" ] - } ] - }, { - "value" : [ ")" ] - } ] - }, { - "value" : [ "." ] - }, { - "r" : "333", - "s" : [ { - "value" : [ "targetMatches","(" ] - }, { - "r" : "332", - "s" : [ { - "value" : [ "T" ] - } ] - }, { - "value" : [ ")" ] - } ] - } ] - } ] - } ] - }, { - "value" : [ ")" ] - } ] - } ] - } ] - } + "value" : "test789", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "304", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "test719", + "annotation" : [ ] + } ] + } } ], - "expression" : { - "localId" : "299", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "Exists", - "signature" : [ { - "localId" : "343", - "type" : "ListTypeSpecifier", + "let" : [ ], + "relationship" : [ ], + "where" : { + "type" : "FunctionRef", + "localId" : "333", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "targetMatches", + "libraryName" : "FluentFunctionsOverloadCallingSelf", + "annotation" : [ ], + "signature" : [ { + "type" : "TupleTypeSpecifier", + "localId" : "334", + "annotation" : [ ], + "element" : [ { + "localId" : "335", + "name" : "option", + "annotation" : [ ], "elementType" : { - "localId" : "344", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : { - "localId" : "338", - "type" : "Query", - "resultTypeSpecifier" : { - "localId" : "341", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "342", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } - }, - "source" : [ { - "localId" : "300", - "alias" : "T", - "resultTypeSpecifier" : { - "localId" : "310", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "311", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } - }, - "expression" : { - "localId" : "301", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "308", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "309", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } - }, - "element" : [ { - "localId" : "302", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "test789", - "type" : "Literal" - }, { - "localId" : "304", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "test719", - "type" : "Literal" - } ] - } - } ], - "let" : [ ], - "relationship" : [ ], - "where" : { - "localId" : "333", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "targetMatches", - "libraryName" : "FluentFunctionsOverloadCallingSelf", - "type" : "FunctionRef", - "signature" : [ { - "localId" : "334", - "type" : "TupleTypeSpecifier", - "element" : [ { - "localId" : "335", - "name" : "option", - "elementType" : { - "localId" : "336", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } - } ] - }, { - "localId" : "337", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "324", - "type" : "First", - "resultTypeSpecifier" : { - "localId" : "329", - "type" : "TupleTypeSpecifier", - "element" : [ { - "localId" : "330", - "name" : "option", - "elementType" : { - "localId" : "331", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } - } ] - }, - "signature" : [ { - "localId" : "325", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "326", - "type" : "TupleTypeSpecifier", - "element" : [ { - "localId" : "327", - "name" : "option", - "elementType" : { - "localId" : "328", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } - } ] - } - } ], - "source" : { - "localId" : "313", - "name" : "testOptionsList", - "type" : "ExpressionRef", - "resultTypeSpecifier" : { - "localId" : "314", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "315", - "type" : "TupleTypeSpecifier", - "element" : [ { - "localId" : "316", - "name" : "option", - "elementType" : { - "localId" : "317", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } - } ] - } - } - } - }, { - "localId" : "332", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "name" : "T", - "type" : "AliasRef" - } ] + "type" : "NamedTypeSpecifier", + "localId" : "336", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] } - } - } - }, { - "localId" : "347", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "matchTestsTrue", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "347", - "s" : [ { - "value" : [ "","define ","matchTestsTrue",": " ] - }, { - "r" : "348", - "s" : [ { - "value" : [ "exists " ] - }, { - "r" : "387", - "s" : [ { - "value" : [ "(" ] - }, { - "r" : "387", - "s" : [ { - "s" : [ { - "r" : "349", - "s" : [ { - "r" : "350", - "s" : [ { - "value" : [ "(" ] - }, { - "r" : "350", - "s" : [ { - "value" : [ "{" ] - }, { - "r" : "351", - "s" : [ { - "value" : [ "'test341'" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "353", - "s" : [ { - "value" : [ "'test719'" ] - } ] - }, { - "value" : [ " }" ] - } ] - }, { - "value" : [ ")" ] - } ] - }, { - "value" : [ " ","T" ] - } ] - } ] - }, { - "value" : [ "\n " ] - }, { - "r" : "382", - "s" : [ { - "value" : [ "where " ] - }, { - "r" : "382", - "s" : [ { - "r" : "373", - "s" : [ { - "value" : [ "Last","(" ] - }, { - "r" : "362", - "s" : [ { - "value" : [ "\"testOptionsList\"" ] - } ] - }, { - "value" : [ ")" ] - } ] - }, { - "value" : [ "." ] - }, { - "r" : "382", - "s" : [ { - "value" : [ "targetMatches","(" ] - }, { - "r" : "381", - "s" : [ { - "value" : [ "T" ] - } ] - }, { - "value" : [ ")" ] - } ] - } ] - } ] - } ] - }, { - "value" : [ ")" ] - } ] - } ] + } ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "337", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "First", + "localId" : "324", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "TupleTypeSpecifier", + "localId" : "329", + "annotation" : [ ], + "element" : [ { + "localId" : "330", + "name" : "option", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "331", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } } ] - } - } ], - "expression" : { - "localId" : "348", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "Exists", - "signature" : [ { - "localId" : "392", + }, + "signature" : [ { "type" : "ListTypeSpecifier", + "localId" : "325", + "annotation" : [ ], "elementType" : { - "localId" : "393", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } - } ], - "operand" : { - "localId" : "387", - "type" : "Query", - "resultTypeSpecifier" : { - "localId" : "390", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "391", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } - }, - "source" : [ { - "localId" : "349", - "alias" : "T", - "resultTypeSpecifier" : { - "localId" : "359", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "360", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } - }, - "expression" : { - "localId" : "350", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "357", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "358", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } - }, - "element" : [ { - "localId" : "351", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "test341", - "type" : "Literal" - }, { - "localId" : "353", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "test719", - "type" : "Literal" - } ] - } - } ], - "let" : [ ], - "relationship" : [ ], - "where" : { - "localId" : "382", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "targetMatches", - "libraryName" : "FluentFunctionsOverloadCallingSelf", - "type" : "FunctionRef", - "signature" : [ { - "localId" : "383", - "type" : "TupleTypeSpecifier", - "element" : [ { - "localId" : "384", - "name" : "option", - "elementType" : { - "localId" : "385", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } - } ] - }, { - "localId" : "386", + "type" : "TupleTypeSpecifier", + "localId" : "326", + "annotation" : [ ], + "element" : [ { + "localId" : "327", + "name" : "option", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "328", "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "373", - "type" : "Last", - "resultTypeSpecifier" : { - "localId" : "378", - "type" : "TupleTypeSpecifier", - "element" : [ { - "localId" : "379", - "name" : "option", - "elementType" : { - "localId" : "380", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } - } ] - }, - "signature" : [ { - "localId" : "374", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "375", - "type" : "TupleTypeSpecifier", - "element" : [ { - "localId" : "376", - "name" : "option", - "elementType" : { - "localId" : "377", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } - } ] - } - } ], - "source" : { - "localId" : "362", - "name" : "testOptionsList", - "type" : "ExpressionRef", - "resultTypeSpecifier" : { - "localId" : "363", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "364", - "type" : "TupleTypeSpecifier", - "element" : [ { - "localId" : "365", - "name" : "option", - "elementType" : { - "localId" : "366", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } - } ] - } - } + "annotation" : [ ] + } + } ] + } + } ], + "source" : { + "type" : "ExpressionRef", + "localId" : "313", + "name" : "testOptionsList", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "314", + "annotation" : [ ], + "elementType" : { + "type" : "TupleTypeSpecifier", + "localId" : "315", + "annotation" : [ ], + "element" : [ { + "localId" : "316", + "name" : "option", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "317", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] } - }, { - "localId" : "381", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "name" : "T", - "type" : "AliasRef" - } ] + } ] + } } - } + } + }, { + "type" : "AliasRef", + "localId" : "332", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "name" : "T", + "annotation" : [ ] + } ] } - }, { - "localId" : "396", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "matchTestCallSelfFalse", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "396", + } + } + }, { + "localId" : "347", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "matchTestsTrue", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "347", + "s" : [ { + "value" : [ "", "define ", "matchTestsTrue", ": " ] + }, { + "r" : "348", + "s" : [ { + "value" : [ "exists " ] + }, { + "r" : "387", + "s" : [ { + "value" : [ "(" ] + }, { + "r" : "387", "s" : [ { - "value" : [ "","define ","matchTestCallSelfFalse",": " ] + "s" : [ { + "r" : "349", + "s" : [ { + "r" : "350", + "s" : [ { + "value" : [ "(" ] + }, { + "r" : "350", + "s" : [ { + "value" : [ "{" ] + }, { + "r" : "351", + "s" : [ { + "value" : [ "'test341'" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "353", + "s" : [ { + "value" : [ "'test719'" ] + } ] + }, { + "value" : [ " }" ] + } ] + }, { + "value" : [ ")" ] + } ] + }, { + "value" : [ " ", "T" ] + } ] + } ] + }, { + "value" : [ "\n " ] }, { - "r" : "408", - "s" : [ { - "r" : "397", + "r" : "382", + "s" : [ { + "value" : [ "where " ] + }, { + "r" : "382", + "s" : [ { + "r" : "373", "s" : [ { - "value" : [ "\"testOptionsList\"" ] + "value" : [ "Last", "(" ] + }, { + "r" : "362", + "s" : [ { + "value" : [ "\"testOptionsList\"" ] + } ] + }, { + "value" : [ ")" ] } ] - }, { + }, { "value" : [ "." ] - }, { - "r" : "408", + }, { + "r" : "382", "s" : [ { - "value" : [ "targetMatches","(" ] + "value" : [ "targetMatches", "(" ] }, { - "r" : "402", - "s" : [ { - "value" : [ "{" ] - }, { - "s" : [ { - "value" : [ "id",": " ] - }, { - "r" : "403", - "s" : [ { - "value" : [ "'test789'" ] - } ] - } ] - }, { - "value" : [ "}" ] - } ] + "r" : "381", + "s" : [ { + "value" : [ "T" ] + } ] }, { - "value" : [ ")" ] + "value" : [ ")" ] } ] - } ] + } ] + } ] } ] - } - } ], - "expression" : { - "localId" : "408", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "targetMatches", - "libraryName" : "FluentFunctionsOverloadCallingSelf", - "type" : "FunctionRef", - "signature" : [ { - "localId" : "409", + }, { + "value" : [ ")" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Exists", + "localId" : "348", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "ListTypeSpecifier", + "localId" : "392", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "393", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } + } ], + "operand" : { + "type" : "Query", + "localId" : "387", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "390", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "391", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } + }, + "source" : [ { + "localId" : "349", + "alias" : "T", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "359", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "360", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } + }, + "expression" : { + "type" : "List", + "localId" : "350", + "annotation" : [ ], + "resultTypeSpecifier" : { "type" : "ListTypeSpecifier", + "localId" : "357", + "annotation" : [ ], "elementType" : { - "localId" : "410", - "type" : "TupleTypeSpecifier", - "element" : [ { - "localId" : "411", - "name" : "option", - "elementType" : { - "localId" : "412", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } - } ] + "type" : "NamedTypeSpecifier", + "localId" : "358", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } + }, + "element" : [ { + "type" : "Literal", + "localId" : "351", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "test341", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "353", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "test719", + "annotation" : [ ] + } ] + } + } ], + "let" : [ ], + "relationship" : [ ], + "where" : { + "type" : "FunctionRef", + "localId" : "382", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "targetMatches", + "libraryName" : "FluentFunctionsOverloadCallingSelf", + "annotation" : [ ], + "signature" : [ { + "type" : "TupleTypeSpecifier", + "localId" : "383", + "annotation" : [ ], + "element" : [ { + "localId" : "384", + "name" : "option", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "385", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] } - }, { - "localId" : "413", + } ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "386", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "Last", + "localId" : "373", + "annotation" : [ ], + "resultTypeSpecifier" : { "type" : "TupleTypeSpecifier", + "localId" : "378", + "annotation" : [ ], "element" : [ { - "localId" : "414", - "name" : "id", - "elementType" : { - "localId" : "415", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } + "localId" : "379", + "name" : "option", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "380", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } } ] - } ], - "operand" : [ { - "localId" : "397", - "name" : "testOptionsList", - "type" : "ExpressionRef", - "resultTypeSpecifier" : { - "localId" : "398", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "399", - "type" : "TupleTypeSpecifier", - "element" : [ { - "localId" : "400", - "name" : "option", - "elementType" : { - "localId" : "401", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } - } ] - } + }, + "signature" : [ { + "type" : "ListTypeSpecifier", + "localId" : "374", + "annotation" : [ ], + "elementType" : { + "type" : "TupleTypeSpecifier", + "localId" : "375", + "annotation" : [ ], + "element" : [ { + "localId" : "376", + "name" : "option", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "377", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } + } ] } - }, { - "localId" : "402", - "type" : "Tuple", + } ], + "source" : { + "type" : "ExpressionRef", + "localId" : "362", + "name" : "testOptionsList", + "annotation" : [ ], "resultTypeSpecifier" : { - "localId" : "405", - "type" : "TupleTypeSpecifier", - "element" : [ { - "localId" : "406", - "name" : "id", + "type" : "ListTypeSpecifier", + "localId" : "363", + "annotation" : [ ], + "elementType" : { + "type" : "TupleTypeSpecifier", + "localId" : "364", + "annotation" : [ ], + "element" : [ { + "localId" : "365", + "name" : "option", + "annotation" : [ ], "elementType" : { - "localId" : "407", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" + "type" : "NamedTypeSpecifier", + "localId" : "366", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] } - } ] - }, - "element" : [ { - "name" : "id", - "value" : { - "localId" : "403", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "test789", - "type" : "Literal" - } + } ] + } + } + } + }, { + "type" : "AliasRef", + "localId" : "381", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "name" : "T", + "annotation" : [ ] + } ] + } + } + } + }, { + "localId" : "396", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "matchTestCallSelfFalse", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "396", + "s" : [ { + "value" : [ "", "define ", "matchTestCallSelfFalse", ": " ] + }, { + "r" : "408", + "s" : [ { + "r" : "397", + "s" : [ { + "value" : [ "\"testOptionsList\"" ] + } ] + }, { + "value" : [ "." ] + }, { + "r" : "408", + "s" : [ { + "value" : [ "targetMatches", "(" ] + }, { + "r" : "402", + "s" : [ { + "value" : [ "{" ] + }, { + "s" : [ { + "value" : [ "id", ": " ] + }, { + "r" : "403", + "s" : [ { + "value" : [ "'test789'" ] + } ] + } ] + }, { + "value" : [ "}" ] } ] - } ] + }, { + "value" : [ ")" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "FunctionRef", + "localId" : "408", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "targetMatches", + "libraryName" : "FluentFunctionsOverloadCallingSelf", + "annotation" : [ ], + "signature" : [ { + "type" : "ListTypeSpecifier", + "localId" : "409", + "annotation" : [ ], + "elementType" : { + "type" : "TupleTypeSpecifier", + "localId" : "410", + "annotation" : [ ], + "element" : [ { + "localId" : "411", + "name" : "option", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "412", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } + } ] } - }, { - "localId" : "418", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "matchTestCallSelfTrue", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "418", + }, { + "type" : "TupleTypeSpecifier", + "localId" : "413", + "annotation" : [ ], + "element" : [ { + "localId" : "414", + "name" : "id", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "415", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } + } ] + } ], + "operand" : [ { + "type" : "ExpressionRef", + "localId" : "397", + "name" : "testOptionsList", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "398", + "annotation" : [ ], + "elementType" : { + "type" : "TupleTypeSpecifier", + "localId" : "399", + "annotation" : [ ], + "element" : [ { + "localId" : "400", + "name" : "option", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "401", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } + } ] + } + } + }, { + "type" : "Tuple", + "localId" : "402", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "TupleTypeSpecifier", + "localId" : "405", + "annotation" : [ ], + "element" : [ { + "localId" : "406", + "name" : "id", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "407", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } + } ] + }, + "element" : [ { + "name" : "id", + "value" : { + "type" : "Literal", + "localId" : "403", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "test789", + "annotation" : [ ] + } + } ] + } ] + } + }, { + "localId" : "418", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "matchTestCallSelfTrue", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "418", + "s" : [ { + "value" : [ "", "define ", "matchTestCallSelfTrue", ": " ] + }, { + "r" : "430", + "s" : [ { + "r" : "419", + "s" : [ { + "value" : [ "\"testOptionsList\"" ] + } ] + }, { + "value" : [ "." ] + }, { + "r" : "430", + "s" : [ { + "value" : [ "targetMatches", "(" ] + }, { + "r" : "424", "s" : [ { - "value" : [ "","define ","matchTestCallSelfTrue",": " ] + "value" : [ "{" ] }, { - "r" : "430", - "s" : [ { - "r" : "419", - "s" : [ { - "value" : [ "\"testOptionsList\"" ] - } ] - }, { - "value" : [ "." ] - }, { - "r" : "430", + "s" : [ { + "value" : [ "id", ": " ] + }, { + "r" : "425", + "s" : [ { + "value" : [ "'test123'" ] + } ] + } ] + }, { + "value" : [ "}" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "FunctionRef", + "localId" : "430", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "targetMatches", + "libraryName" : "FluentFunctionsOverloadCallingSelf", + "annotation" : [ ], + "signature" : [ { + "type" : "ListTypeSpecifier", + "localId" : "431", + "annotation" : [ ], + "elementType" : { + "type" : "TupleTypeSpecifier", + "localId" : "432", + "annotation" : [ ], + "element" : [ { + "localId" : "433", + "name" : "option", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "434", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } + } ] + } + }, { + "type" : "TupleTypeSpecifier", + "localId" : "435", + "annotation" : [ ], + "element" : [ { + "localId" : "436", + "name" : "id", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "437", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } + } ] + } ], + "operand" : [ { + "type" : "ExpressionRef", + "localId" : "419", + "name" : "testOptionsList", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "420", + "annotation" : [ ], + "elementType" : { + "type" : "TupleTypeSpecifier", + "localId" : "421", + "annotation" : [ ], + "element" : [ { + "localId" : "422", + "name" : "option", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "423", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } + } ] + } + } + }, { + "type" : "Tuple", + "localId" : "424", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "TupleTypeSpecifier", + "localId" : "427", + "annotation" : [ ], + "element" : [ { + "localId" : "428", + "name" : "id", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "429", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } + } ] + }, + "element" : [ { + "name" : "id", + "value" : { + "type" : "Literal", + "localId" : "425", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "test123", + "annotation" : [ ] + } + } ] + } ] + } + }, { + "localId" : "440", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "matchTestsCallSelfFalse", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "440", + "s" : [ { + "value" : [ "", "define ", "matchTestsCallSelfFalse", ": " ] + }, { + "r" : "441", + "s" : [ { + "value" : [ "exists " ] + }, { + "r" : "486", + "s" : [ { + "value" : [ "(" ] + }, { + "r" : "486", + "s" : [ { + "s" : [ { + "r" : "442", + "s" : [ { + "r" : "443", "s" : [ { - "value" : [ "targetMatches","(" ] + "value" : [ "(" ] }, { - "r" : "424", - "s" : [ { + "r" : "443", + "s" : [ { + "value" : [ "{ " ] + }, { + "r" : "444", + "s" : [ { + "value" : [ "{" ] + }, { + "s" : [ { + "value" : [ "id", ": " ] + }, { + "r" : "445", + "s" : [ { + "value" : [ "'test789'" ] + } ] + } ] + }, { + "value" : [ "}" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "450", + "s" : [ { "value" : [ "{" ] - }, { + }, { "s" : [ { - "value" : [ "id",": " ] + "value" : [ "id", ": " ] }, { - "r" : "425", - "s" : [ { - "value" : [ "'test123'" ] - } ] + "r" : "451", + "s" : [ { + "value" : [ "'test719'" ] + } ] } ] - }, { + }, { "value" : [ "}" ] - } ] + } ] + }, { + "value" : [ " }" ] + } ] + }, { + "value" : [ ")" ] + } ] + }, { + "value" : [ " ", "T" ] + } ] + } ] + }, { + "value" : [ "\n " ] + }, { + "r" : "478", + "s" : [ { + "value" : [ "where " ] + }, { + "r" : "478", + "s" : [ { + "r" : "469", + "s" : [ { + "value" : [ "\"testOptionsList\"" ] + } ] + }, { + "value" : [ "." ] + }, { + "r" : "478", + "s" : [ { + "value" : [ "targetMatches", "(" ] }, { - "value" : [ ")" ] + "r" : "474", + "s" : [ { + "value" : [ "T" ] + } ] + }, { + "value" : [ ")" ] } ] - } ] + } ] + } ] } ] - } - } ], - "expression" : { - "localId" : "430", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "targetMatches", - "libraryName" : "FluentFunctionsOverloadCallingSelf", - "type" : "FunctionRef", - "signature" : [ { - "localId" : "431", - "type" : "ListTypeSpecifier", + }, { + "value" : [ ")" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Exists", + "localId" : "441", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "ListTypeSpecifier", + "localId" : "495", + "annotation" : [ ], + "elementType" : { + "type" : "TupleTypeSpecifier", + "localId" : "496", + "annotation" : [ ], + "element" : [ { + "localId" : "497", + "name" : "id", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "498", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } + } ] + } + } ], + "operand" : { + "type" : "Query", + "localId" : "486", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "491", + "annotation" : [ ], + "elementType" : { + "type" : "TupleTypeSpecifier", + "localId" : "492", + "annotation" : [ ], + "element" : [ { + "localId" : "493", + "name" : "id", + "annotation" : [ ], "elementType" : { - "localId" : "432", - "type" : "TupleTypeSpecifier", - "element" : [ { - "localId" : "433", - "name" : "option", - "elementType" : { - "localId" : "434", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } - } ] + "type" : "NamedTypeSpecifier", + "localId" : "494", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] } - }, { - "localId" : "435", + } ] + } + }, + "source" : [ { + "localId" : "442", + "alias" : "T", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "464", + "annotation" : [ ], + "elementType" : { "type" : "TupleTypeSpecifier", + "localId" : "465", + "annotation" : [ ], "element" : [ { - "localId" : "436", - "name" : "id", - "elementType" : { - "localId" : "437", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } + "localId" : "466", + "name" : "id", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "467", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } } ] - } ], - "operand" : [ { - "localId" : "419", - "name" : "testOptionsList", - "type" : "ExpressionRef", - "resultTypeSpecifier" : { - "localId" : "420", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "421", - "type" : "TupleTypeSpecifier", - "element" : [ { - "localId" : "422", - "name" : "option", - "elementType" : { - "localId" : "423", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } - } ] - } + } + }, + "expression" : { + "type" : "List", + "localId" : "443", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "460", + "annotation" : [ ], + "elementType" : { + "type" : "TupleTypeSpecifier", + "localId" : "461", + "annotation" : [ ], + "element" : [ { + "localId" : "462", + "name" : "id", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "463", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } + } ] } - }, { - "localId" : "424", + }, + "element" : [ { "type" : "Tuple", + "localId" : "444", + "annotation" : [ ], "resultTypeSpecifier" : { - "localId" : "427", - "type" : "TupleTypeSpecifier", - "element" : [ { - "localId" : "428", - "name" : "id", - "elementType" : { - "localId" : "429", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } - } ] + "type" : "TupleTypeSpecifier", + "localId" : "447", + "annotation" : [ ], + "element" : [ { + "localId" : "448", + "name" : "id", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "449", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } + } ] }, "element" : [ { - "name" : "id", - "value" : { - "localId" : "425", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "test123", - "type" : "Literal" - } + "name" : "id", + "value" : { + "type" : "Literal", + "localId" : "445", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "test789", + "annotation" : [ ] + } } ] - } ] - } - }, { - "localId" : "440", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "matchTestsCallSelfFalse", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "440", - "s" : [ { - "value" : [ "","define ","matchTestsCallSelfFalse",": " ] - }, { - "r" : "441", - "s" : [ { - "value" : [ "exists " ] - }, { - "r" : "486", - "s" : [ { - "value" : [ "(" ] - }, { - "r" : "486", - "s" : [ { - "s" : [ { - "r" : "442", - "s" : [ { - "r" : "443", - "s" : [ { - "value" : [ "(" ] - }, { - "r" : "443", - "s" : [ { - "value" : [ "{ " ] - }, { - "r" : "444", - "s" : [ { - "value" : [ "{" ] - }, { - "s" : [ { - "value" : [ "id",": " ] - }, { - "r" : "445", - "s" : [ { - "value" : [ "'test789'" ] - } ] - } ] - }, { - "value" : [ "}" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "450", - "s" : [ { - "value" : [ "{" ] - }, { - "s" : [ { - "value" : [ "id",": " ] - }, { - "r" : "451", - "s" : [ { - "value" : [ "'test719'" ] - } ] - } ] - }, { - "value" : [ "}" ] - } ] - }, { - "value" : [ " }" ] - } ] - }, { - "value" : [ ")" ] - } ] - }, { - "value" : [ " ","T" ] - } ] - } ] - }, { - "value" : [ "\n " ] - }, { - "r" : "478", - "s" : [ { - "value" : [ "where " ] - }, { - "r" : "478", - "s" : [ { - "r" : "469", - "s" : [ { - "value" : [ "\"testOptionsList\"" ] - } ] - }, { - "value" : [ "." ] - }, { - "r" : "478", - "s" : [ { - "value" : [ "targetMatches","(" ] - }, { - "r" : "474", - "s" : [ { - "value" : [ "T" ] - } ] - }, { - "value" : [ ")" ] - } ] - } ] - } ] - } ] - }, { - "value" : [ ")" ] - } ] - } ] + }, { + "type" : "Tuple", + "localId" : "450", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "TupleTypeSpecifier", + "localId" : "453", + "annotation" : [ ], + "element" : [ { + "localId" : "454", + "name" : "id", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "455", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } + } ] + }, + "element" : [ { + "name" : "id", + "value" : { + "type" : "Literal", + "localId" : "451", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "test719", + "annotation" : [ ] + } } ] - } + } ] + } } ], - "expression" : { - "localId" : "441", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "Exists", - "signature" : [ { - "localId" : "495", - "type" : "ListTypeSpecifier", + "let" : [ ], + "relationship" : [ ], + "where" : { + "type" : "FunctionRef", + "localId" : "478", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "targetMatches", + "libraryName" : "FluentFunctionsOverloadCallingSelf", + "annotation" : [ ], + "signature" : [ { + "type" : "ListTypeSpecifier", + "localId" : "479", + "annotation" : [ ], + "elementType" : { + "type" : "TupleTypeSpecifier", + "localId" : "480", + "annotation" : [ ], + "element" : [ { + "localId" : "481", + "name" : "option", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "482", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } + } ] + } + }, { + "type" : "TupleTypeSpecifier", + "localId" : "483", + "annotation" : [ ], + "element" : [ { + "localId" : "484", + "name" : "id", + "annotation" : [ ], "elementType" : { - "localId" : "496", - "type" : "TupleTypeSpecifier", - "element" : [ { - "localId" : "497", - "name" : "id", - "elementType" : { - "localId" : "498", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } - } ] + "type" : "NamedTypeSpecifier", + "localId" : "485", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] } - } ], - "operand" : { - "localId" : "486", - "type" : "Query", - "resultTypeSpecifier" : { - "localId" : "491", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "492", - "type" : "TupleTypeSpecifier", - "element" : [ { - "localId" : "493", - "name" : "id", - "elementType" : { - "localId" : "494", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } - } ] - } - }, - "source" : [ { - "localId" : "442", - "alias" : "T", - "resultTypeSpecifier" : { - "localId" : "464", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "465", - "type" : "TupleTypeSpecifier", - "element" : [ { - "localId" : "466", - "name" : "id", - "elementType" : { - "localId" : "467", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } - } ] - } - }, - "expression" : { - "localId" : "443", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "460", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "461", - "type" : "TupleTypeSpecifier", - "element" : [ { - "localId" : "462", - "name" : "id", - "elementType" : { - "localId" : "463", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } - } ] - } - }, - "element" : [ { - "localId" : "444", - "type" : "Tuple", - "resultTypeSpecifier" : { - "localId" : "447", - "type" : "TupleTypeSpecifier", - "element" : [ { - "localId" : "448", - "name" : "id", - "elementType" : { - "localId" : "449", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } - } ] - }, - "element" : [ { - "name" : "id", - "value" : { - "localId" : "445", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "test789", - "type" : "Literal" - } - } ] - }, { - "localId" : "450", - "type" : "Tuple", - "resultTypeSpecifier" : { - "localId" : "453", - "type" : "TupleTypeSpecifier", - "element" : [ { - "localId" : "454", - "name" : "id", - "elementType" : { - "localId" : "455", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } - } ] - }, - "element" : [ { - "name" : "id", - "value" : { - "localId" : "451", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "test719", - "type" : "Literal" - } - } ] - } ] - } - } ], - "let" : [ ], - "relationship" : [ ], - "where" : { - "localId" : "478", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "targetMatches", - "libraryName" : "FluentFunctionsOverloadCallingSelf", - "type" : "FunctionRef", - "signature" : [ { - "localId" : "479", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "480", - "type" : "TupleTypeSpecifier", - "element" : [ { - "localId" : "481", - "name" : "option", - "elementType" : { - "localId" : "482", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } - } ] - } - }, { - "localId" : "483", - "type" : "TupleTypeSpecifier", - "element" : [ { - "localId" : "484", - "name" : "id", - "elementType" : { - "localId" : "485", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } - } ] - } ], - "operand" : [ { - "localId" : "469", - "name" : "testOptionsList", - "type" : "ExpressionRef", - "resultTypeSpecifier" : { - "localId" : "470", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "471", - "type" : "TupleTypeSpecifier", - "element" : [ { - "localId" : "472", - "name" : "option", - "elementType" : { - "localId" : "473", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } - } ] - } - } - }, { - "localId" : "474", - "name" : "T", - "type" : "AliasRef", - "resultTypeSpecifier" : { - "localId" : "475", - "type" : "TupleTypeSpecifier", - "element" : [ { - "localId" : "476", - "name" : "id", - "elementType" : { - "localId" : "477", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } - } ] - } - } ] + } ] + } ], + "operand" : [ { + "type" : "ExpressionRef", + "localId" : "469", + "name" : "testOptionsList", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "470", + "annotation" : [ ], + "elementType" : { + "type" : "TupleTypeSpecifier", + "localId" : "471", + "annotation" : [ ], + "element" : [ { + "localId" : "472", + "name" : "option", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "473", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } + } ] } - } + } + }, { + "type" : "AliasRef", + "localId" : "474", + "name" : "T", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "TupleTypeSpecifier", + "localId" : "475", + "annotation" : [ ], + "element" : [ { + "localId" : "476", + "name" : "id", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "477", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } + } ] + } + } ] } - }, { - "localId" : "501", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "matchTestsCallSelfTrue", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "501", + } + } + }, { + "localId" : "501", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "matchTestsCallSelfTrue", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "501", + "s" : [ { + "value" : [ "", "define ", "matchTestsCallSelfTrue", ": " ] + }, { + "r" : "502", + "s" : [ { + "value" : [ "exists " ] + }, { + "r" : "547", + "s" : [ { + "value" : [ "(" ] + }, { + "r" : "547", "s" : [ { - "value" : [ "","define ","matchTestsCallSelfTrue",": " ] - }, { - "r" : "502", - "s" : [ { - "value" : [ "exists " ] - }, { - "r" : "547", + "s" : [ { + "r" : "503", + "s" : [ { + "r" : "504", "s" : [ { - "value" : [ "(" ] + "value" : [ "(" ] }, { - "r" : "547", - "s" : [ { + "r" : "504", + "s" : [ { + "value" : [ "{ " ] + }, { + "r" : "505", + "s" : [ { + "value" : [ "{" ] + }, { "s" : [ { - "r" : "503", - "s" : [ { - "r" : "504", - "s" : [ { - "value" : [ "(" ] - }, { - "r" : "504", - "s" : [ { - "value" : [ "{ " ] - }, { - "r" : "505", - "s" : [ { - "value" : [ "{" ] - }, { - "s" : [ { - "value" : [ "id",": " ] - }, { - "r" : "506", - "s" : [ { - "value" : [ "'test341'" ] - } ] - } ] - }, { - "value" : [ "}" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "511", - "s" : [ { - "value" : [ "{" ] - }, { - "s" : [ { - "value" : [ "id",": " ] - }, { - "r" : "512", - "s" : [ { - "value" : [ "'test719'" ] - } ] - } ] - }, { - "value" : [ "}" ] - } ] - }, { - "value" : [ " }" ] - } ] - }, { - "value" : [ ")" ] - } ] - }, { - "value" : [ " ","T" ] - } ] + "value" : [ "id", ": " ] + }, { + "r" : "506", + "s" : [ { + "value" : [ "'test341'" ] + } ] } ] - }, { - "value" : [ "\n " ] - }, { - "r" : "539", + }, { + "value" : [ "}" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "511", + "s" : [ { + "value" : [ "{" ] + }, { "s" : [ { - "value" : [ "where " ] + "value" : [ "id", ": " ] }, { - "r" : "539", - "s" : [ { - "r" : "530", - "s" : [ { - "value" : [ "\"testOptionsList\"" ] - } ] - }, { - "value" : [ "." ] - }, { - "r" : "539", - "s" : [ { - "value" : [ "targetMatches","(" ] - }, { - "r" : "535", - "s" : [ { - "value" : [ "T" ] - } ] - }, { - "value" : [ ")" ] - } ] - } ] + "r" : "512", + "s" : [ { + "value" : [ "'test719'" ] + } ] } ] - } ] + }, { + "value" : [ "}" ] + } ] + }, { + "value" : [ " }" ] + } ] + }, { + "value" : [ ")" ] + } ] + }, { + "value" : [ " ", "T" ] + } ] + } ] + }, { + "value" : [ "\n " ] + }, { + "r" : "539", + "s" : [ { + "value" : [ "where " ] + }, { + "r" : "539", + "s" : [ { + "r" : "530", + "s" : [ { + "value" : [ "\"testOptionsList\"" ] + } ] + }, { + "value" : [ "." ] + }, { + "r" : "539", + "s" : [ { + "value" : [ "targetMatches", "(" ] }, { - "value" : [ ")" ] + "r" : "535", + "s" : [ { + "value" : [ "T" ] + } ] + }, { + "value" : [ ")" ] } ] - } ] + } ] + } ] } ] - } - } ], - "expression" : { - "localId" : "502", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "Exists", - "signature" : [ { - "localId" : "556", + }, { + "value" : [ ")" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Exists", + "localId" : "502", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "ListTypeSpecifier", + "localId" : "556", + "annotation" : [ ], + "elementType" : { + "type" : "TupleTypeSpecifier", + "localId" : "557", + "annotation" : [ ], + "element" : [ { + "localId" : "558", + "name" : "id", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "559", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } + } ] + } + } ], + "operand" : { + "type" : "Query", + "localId" : "547", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "552", + "annotation" : [ ], + "elementType" : { + "type" : "TupleTypeSpecifier", + "localId" : "553", + "annotation" : [ ], + "element" : [ { + "localId" : "554", + "name" : "id", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "555", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } + } ] + } + }, + "source" : [ { + "localId" : "503", + "alias" : "T", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "525", + "annotation" : [ ], + "elementType" : { + "type" : "TupleTypeSpecifier", + "localId" : "526", + "annotation" : [ ], + "element" : [ { + "localId" : "527", + "name" : "id", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "528", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } + } ] + } + }, + "expression" : { + "type" : "List", + "localId" : "504", + "annotation" : [ ], + "resultTypeSpecifier" : { "type" : "ListTypeSpecifier", + "localId" : "521", + "annotation" : [ ], "elementType" : { - "localId" : "557", - "type" : "TupleTypeSpecifier", - "element" : [ { - "localId" : "558", - "name" : "id", - "elementType" : { - "localId" : "559", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } - } ] + "type" : "TupleTypeSpecifier", + "localId" : "522", + "annotation" : [ ], + "element" : [ { + "localId" : "523", + "name" : "id", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "524", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } + } ] } - } ], - "operand" : { - "localId" : "547", - "type" : "Query", + }, + "element" : [ { + "type" : "Tuple", + "localId" : "505", + "annotation" : [ ], "resultTypeSpecifier" : { - "localId" : "552", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "553", - "type" : "TupleTypeSpecifier", - "element" : [ { - "localId" : "554", - "name" : "id", - "elementType" : { - "localId" : "555", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } - } ] - } + "type" : "TupleTypeSpecifier", + "localId" : "508", + "annotation" : [ ], + "element" : [ { + "localId" : "509", + "name" : "id", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "510", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } + } ] }, - "source" : [ { - "localId" : "503", - "alias" : "T", - "resultTypeSpecifier" : { - "localId" : "525", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "526", - "type" : "TupleTypeSpecifier", - "element" : [ { - "localId" : "527", - "name" : "id", - "elementType" : { - "localId" : "528", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } - } ] - } - }, - "expression" : { - "localId" : "504", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "521", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "522", - "type" : "TupleTypeSpecifier", - "element" : [ { - "localId" : "523", - "name" : "id", - "elementType" : { - "localId" : "524", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } - } ] - } - }, - "element" : [ { - "localId" : "505", - "type" : "Tuple", - "resultTypeSpecifier" : { - "localId" : "508", - "type" : "TupleTypeSpecifier", - "element" : [ { - "localId" : "509", - "name" : "id", - "elementType" : { - "localId" : "510", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } - } ] - }, - "element" : [ { - "name" : "id", - "value" : { - "localId" : "506", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "test341", - "type" : "Literal" - } - } ] - }, { - "localId" : "511", - "type" : "Tuple", - "resultTypeSpecifier" : { - "localId" : "514", - "type" : "TupleTypeSpecifier", - "element" : [ { - "localId" : "515", - "name" : "id", - "elementType" : { - "localId" : "516", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } - } ] - }, - "element" : [ { - "name" : "id", - "value" : { - "localId" : "512", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "test719", - "type" : "Literal" - } - } ] - } ] - } - } ], - "let" : [ ], - "relationship" : [ ], - "where" : { - "localId" : "539", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "targetMatches", - "libraryName" : "FluentFunctionsOverloadCallingSelf", - "type" : "FunctionRef", - "signature" : [ { - "localId" : "540", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "541", - "type" : "TupleTypeSpecifier", - "element" : [ { - "localId" : "542", - "name" : "option", - "elementType" : { - "localId" : "543", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } - } ] - } - }, { - "localId" : "544", - "type" : "TupleTypeSpecifier", - "element" : [ { - "localId" : "545", - "name" : "id", - "elementType" : { - "localId" : "546", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } - } ] - } ], - "operand" : [ { - "localId" : "530", - "name" : "testOptionsList", - "type" : "ExpressionRef", - "resultTypeSpecifier" : { - "localId" : "531", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "532", - "type" : "TupleTypeSpecifier", - "element" : [ { - "localId" : "533", - "name" : "option", - "elementType" : { - "localId" : "534", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } - } ] - } - } - }, { - "localId" : "535", - "name" : "T", - "type" : "AliasRef", - "resultTypeSpecifier" : { - "localId" : "536", - "type" : "TupleTypeSpecifier", - "element" : [ { - "localId" : "537", - "name" : "id", - "elementType" : { - "localId" : "538", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } - } ] - } - } ] + "element" : [ { + "name" : "id", + "value" : { + "type" : "Literal", + "localId" : "506", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "test341", + "annotation" : [ ] + } + } ] + }, { + "type" : "Tuple", + "localId" : "511", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "TupleTypeSpecifier", + "localId" : "514", + "annotation" : [ ], + "element" : [ { + "localId" : "515", + "name" : "id", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "516", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } + } ] + }, + "element" : [ { + "name" : "id", + "value" : { + "type" : "Literal", + "localId" : "512", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "test719", + "annotation" : [ ] + } + } ] + } ] + } + } ], + "let" : [ ], + "relationship" : [ ], + "where" : { + "type" : "FunctionRef", + "localId" : "539", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "targetMatches", + "libraryName" : "FluentFunctionsOverloadCallingSelf", + "annotation" : [ ], + "signature" : [ { + "type" : "ListTypeSpecifier", + "localId" : "540", + "annotation" : [ ], + "elementType" : { + "type" : "TupleTypeSpecifier", + "localId" : "541", + "annotation" : [ ], + "element" : [ { + "localId" : "542", + "name" : "option", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "543", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } + } ] + } + }, { + "type" : "TupleTypeSpecifier", + "localId" : "544", + "annotation" : [ ], + "element" : [ { + "localId" : "545", + "name" : "id", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "546", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } + } ] + } ], + "operand" : [ { + "type" : "ExpressionRef", + "localId" : "530", + "name" : "testOptionsList", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "531", + "annotation" : [ ], + "elementType" : { + "type" : "TupleTypeSpecifier", + "localId" : "532", + "annotation" : [ ], + "element" : [ { + "localId" : "533", + "name" : "option", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "534", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } + } ] } - } + } + }, { + "type" : "AliasRef", + "localId" : "535", + "name" : "T", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "TupleTypeSpecifier", + "localId" : "536", + "annotation" : [ ], + "element" : [ { + "localId" : "537", + "name" : "id", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "538", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } + } ] + } + } ] } - } ] - } - } + } + } + } ] + } + } } diff --git a/test/elm/string/data.js b/test/elm/string/data.js index be716dbb..3b32cc9d 100644 --- a/test/elm/string/data.js +++ b/test/elm/string/data.js @@ -27,2078 +27,2373 @@ define AndHelloWorldVariables: Hello & World */ module.exports['Concat'] = { - "library" : { - "localId" : "0", - "annotation" : [ { - "translatorVersion" : "3.27.0", - "translatorOptions" : "EnableDateRangeOptimization,EnableAnnotations,EnableResultTypes", - "signatureLevel" : "All", - "type" : "CqlToElmInfo" - }, { - "libraryId" : "TestSnippet", - "libraryVersion" : "1", - "startLine" : 8, - "startChar" : 15, - "endLine" : 8, - "endChar" : 21, - "message" : "String literal 'Hello' matches the identifier Hello. Consider whether the identifier was intended instead.", - "errorType" : "semantic", - "errorSeverity" : "warning", - "type" : "CqlToElmError" - }, { - "libraryId" : "TestSnippet", - "libraryVersion" : "1", - "startLine" : 9, - "startChar" : 15, - "endLine" : 9, - "endChar" : 21, - "message" : "String literal 'World' matches the identifier World. Consider whether the identifier was intended instead.", - "errorType" : "semantic", - "errorSeverity" : "warning", - "type" : "CqlToElmError" - }, { - "libraryId" : "TestSnippet", - "libraryVersion" : "1", - "startLine" : 11, - "startChar" : 23, - "endLine" : 11, - "endChar" : 29, - "message" : "String literal 'Hello' matches the identifier Hello. Consider whether the identifier was intended instead.", - "errorType" : "semantic", - "errorSeverity" : "warning", - "type" : "CqlToElmError" - }, { - "libraryId" : "TestSnippet", - "libraryVersion" : "1", - "startLine" : 11, - "startChar" : 33, - "endLine" : 11, - "endChar" : 39, - "message" : "String literal 'World' matches the identifier World. Consider whether the identifier was intended instead.", - "errorType" : "semantic", - "errorSeverity" : "warning", - "type" : "CqlToElmError" - }, { - "libraryId" : "TestSnippet", - "libraryVersion" : "1", - "startLine" : 14, - "startChar" : 23, - "endLine" : 14, - "endChar" : 29, - "message" : "String literal 'Hello' matches the identifier Hello. Consider whether the identifier was intended instead.", - "errorType" : "semantic", - "errorSeverity" : "warning", - "type" : "CqlToElmError" + "library" : { + "localId" : "0", + "annotation" : [ { + "type" : "CqlToElmInfo", + "translatorVersion" : "4.2.0", + "translatorOptions" : "EnableDateRangeOptimization,EnableAnnotations,EnableResultTypes", + "signatureLevel" : "All" + }, { + "type" : "CqlToElmError", + "libraryId" : "TestSnippet", + "libraryVersion" : "1", + "startLine" : 8, + "startChar" : 15, + "endLine" : 8, + "endChar" : 21, + "message" : "String literal 'Hello' matches the identifier Hello. Consider whether the identifier was intended instead.", + "errorType" : "semantic", + "errorSeverity" : "warning" + }, { + "type" : "CqlToElmError", + "libraryId" : "TestSnippet", + "libraryVersion" : "1", + "startLine" : 9, + "startChar" : 15, + "endLine" : 9, + "endChar" : 21, + "message" : "String literal 'World' matches the identifier World. Consider whether the identifier was intended instead.", + "errorType" : "semantic", + "errorSeverity" : "warning" + }, { + "type" : "CqlToElmError", + "libraryId" : "TestSnippet", + "libraryVersion" : "1", + "startLine" : 11, + "startChar" : 23, + "endLine" : 11, + "endChar" : 29, + "message" : "String literal 'Hello' matches the identifier Hello. Consider whether the identifier was intended instead.", + "errorType" : "semantic", + "errorSeverity" : "warning" + }, { + "type" : "CqlToElmError", + "libraryId" : "TestSnippet", + "libraryVersion" : "1", + "startLine" : 11, + "startChar" : 33, + "endLine" : 11, + "endChar" : 39, + "message" : "String literal 'World' matches the identifier World. Consider whether the identifier was intended instead.", + "errorType" : "semantic", + "errorSeverity" : "warning" + }, { + "type" : "CqlToElmError", + "libraryId" : "TestSnippet", + "libraryVersion" : "1", + "startLine" : 14, + "startChar" : 23, + "endLine" : 14, + "endChar" : 29, + "message" : "String literal 'Hello' matches the identifier Hello. Consider whether the identifier was intended instead.", + "errorType" : "semantic", + "errorSeverity" : "warning" + }, { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "750", + "s" : [ { + "value" : [ "", "library TestSnippet version '1'" ] + } ] + } + } ], + "identifier" : { + "id" : "TestSnippet", + "version" : "1" + }, + "schemaIdentifier" : { + "id" : "urn:hl7-org:elm", + "version" : "r1" + }, + "usings" : { + "def" : [ { + "localId" : "1", + "localIdentifier" : "System", + "uri" : "urn:hl7-org:elm-types:r1", + "annotation" : [ ] }, { - "type" : "Annotation", - "s" : { - "r" : "750", + "localId" : "206", + "localIdentifier" : "Simple", + "uri" : "https://github.com/cqframework/cql-execution/simple", + "version" : "1.0.0", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "206", "s" : [ { - "value" : [ "","library TestSnippet version '1'" ] + "value" : [ "", "using " ] + }, { + "s" : [ { + "value" : [ "Simple" ] + } ] + }, { + "value" : [ " version '1.0.0'" ] } ] - } - } ], - "identifier" : { - "id" : "TestSnippet", - "version" : "1" - }, - "schemaIdentifier" : { - "id" : "urn:hl7-org:elm", - "version" : "r1" - }, - "usings" : { - "def" : [ { - "localId" : "1", - "localIdentifier" : "System", - "uri" : "urn:hl7-org:elm-types:r1" - }, { - "localId" : "206", - "localIdentifier" : "Simple", - "uri" : "https://github.com/cqframework/cql-execution/simple", - "version" : "1.0.0", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "206", - "s" : [ { - "value" : [ "","using " ] - }, { - "s" : [ { - "value" : [ "Simple" ] - } ] - }, { - "value" : [ " version '1.0.0'" ] - } ] - } + } + } ] + } ] + }, + "contexts" : { + "def" : [ { + "localId" : "211", + "name" : "Patient", + "annotation" : [ ] + } ] + }, + "statements" : { + "def" : [ { + "localId" : "209", + "name" : "Patient", + "context" : "Patient", + "annotation" : [ ], + "expression" : { + "type" : "SingletonFrom", + "localId" : "210", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Retrieve", + "localId" : "208", + "dataType" : "{https://github.com/cqframework/cql-execution/simple}Patient", + "annotation" : [ ], + "include" : [ ], + "codeFilter" : [ ], + "dateFilter" : [ ], + "otherFilter" : [ ] + } + } + }, { + "localId" : "214", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "name" : "HelloWorld", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "214", + "s" : [ { + "value" : [ "", "define ", "HelloWorld", ": " ] + }, { + "r" : "222", + "s" : [ { + "r" : "216", + "s" : [ { + "value" : [ "'Hello'" ] + } ] + }, { + "value" : [ " + " ] + }, { + "r" : "218", + "s" : [ { + "value" : [ "'World'" ] + } ] + } ] } ] - } ] - }, - "contexts" : { - "def" : [ { - "localId" : "211", - "name" : "Patient" - } ] - }, - "statements" : { - "def" : [ { - "localId" : "209", - "name" : "Patient", - "context" : "Patient", - "expression" : { - "localId" : "210", - "type" : "SingletonFrom", - "signature" : [ ], - "operand" : { - "localId" : "208", - "dataType" : "{https://github.com/cqframework/cql-execution/simple}Patient", - "type" : "Retrieve", - "include" : [ ], - "codeFilter" : [ ], - "dateFilter" : [ ], - "otherFilter" : [ ] - } - } - }, { - "localId" : "214", + } + } ], + "expression" : { + "type" : "Concatenate", + "localId" : "222", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ], + "signature" : [ ], + "operand" : [ { + "type" : "Literal", + "localId" : "216", "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "name" : "HelloWorld", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "214", - "s" : [ { - "value" : [ "","define ","HelloWorld",": " ] - }, { - "r" : "222", - "s" : [ { - "r" : "216", - "s" : [ { - "value" : [ "'Hello'" ] - } ] - }, { - "value" : [ " + " ] - }, { - "r" : "218", - "s" : [ { - "value" : [ "'World'" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "222", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "type" : "Concatenate", - "signature" : [ ], - "operand" : [ { - "localId" : "216", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "Hello", - "type" : "Literal" - }, { - "localId" : "218", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "World", - "type" : "Literal" - } ] - } - }, { - "localId" : "225", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "Hello", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "218", "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "name" : "Sentence", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "225", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "World", + "annotation" : [ ] + } ] + } + }, { + "localId" : "225", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "name" : "Sentence", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "225", + "s" : [ { + "value" : [ "", "define ", "Sentence", ": " ] + }, { + "r" : "323", + "s" : [ { + "r" : "318", + "s" : [ { + "r" : "313", "s" : [ { - "value" : [ "","define ","Sentence",": " ] - }, { - "r" : "323", - "s" : [ { - "r" : "318", - "s" : [ { - "r" : "313", - "s" : [ { - "r" : "308", + "r" : "308", + "s" : [ { + "r" : "303", + "s" : [ { + "r" : "298", + "s" : [ { + "r" : "293", + "s" : [ { + "r" : "288", + "s" : [ { + "r" : "283", "s" : [ { - "r" : "303", - "s" : [ { - "r" : "298", + "r" : "278", + "s" : [ { + "r" : "273", + "s" : [ { + "r" : "268", "s" : [ { - "r" : "293", - "s" : [ { - "r" : "288", + "r" : "263", + "s" : [ { + "r" : "258", + "s" : [ { + "r" : "253", "s" : [ { - "r" : "283", - "s" : [ { - "r" : "278", - "s" : [ { - "r" : "273", - "s" : [ { - "r" : "268", - "s" : [ { - "r" : "263", - "s" : [ { - "r" : "258", - "s" : [ { - "r" : "253", - "s" : [ { - "r" : "248", - "s" : [ { - "r" : "242", - "s" : [ { - "value" : [ "'The'" ] - } ] - }, { - "value" : [ " + " ] - }, { - "r" : "244", - "s" : [ { - "value" : [ "' '" ] - } ] - } ] - }, { - "value" : [ " + " ] - }, { - "r" : "249", - "s" : [ { - "value" : [ "'quick'" ] - } ] - } ] - }, { - "value" : [ " + " ] - }, { - "r" : "254", - "s" : [ { - "value" : [ "' '" ] - } ] - } ] - }, { - "value" : [ " + " ] - }, { - "r" : "259", - "s" : [ { - "value" : [ "'brown'" ] - } ] - } ] - }, { - "value" : [ " + " ] - }, { - "r" : "264", - "s" : [ { - "value" : [ "' '" ] - } ] - } ] - }, { - "value" : [ " + " ] - }, { - "r" : "269", - "s" : [ { - "value" : [ "'fox'" ] - } ] - } ] - }, { - "value" : [ " + " ] - }, { - "r" : "274", - "s" : [ { - "value" : [ "' '" ] - } ] - } ] - }, { - "value" : [ " + " ] - }, { - "r" : "279", - "s" : [ { - "value" : [ "'jumps'" ] - } ] - } ] + "r" : "248", + "s" : [ { + "r" : "242", + "s" : [ { + "value" : [ "'The'" ] + } ] + }, { + "value" : [ " + " ] + }, { + "r" : "244", + "s" : [ { + "value" : [ "' '" ] + } ] + } ] }, { - "value" : [ " + " ] + "value" : [ " + " ] }, { - "r" : "284", - "s" : [ { - "value" : [ "' '" ] - } ] + "r" : "249", + "s" : [ { + "value" : [ "'quick'" ] + } ] } ] - }, { - "value" : [ "\n + " ] - }, { - "r" : "289", + }, { + "value" : [ " + " ] + }, { + "r" : "254", "s" : [ { - "value" : [ "'over'" ] + "value" : [ "' '" ] } ] - } ] + } ] + }, { + "value" : [ " + " ] + }, { + "r" : "259", + "s" : [ { + "value" : [ "'brown'" ] + } ] + } ] }, { - "value" : [ " + " ] + "value" : [ " + " ] }, { - "r" : "294", - "s" : [ { - "value" : [ "' '" ] - } ] + "r" : "264", + "s" : [ { + "value" : [ "' '" ] + } ] } ] - }, { + }, { "value" : [ " + " ] - }, { - "r" : "299", + }, { + "r" : "269", "s" : [ { - "value" : [ "'the'" ] + "value" : [ "'fox'" ] } ] - } ] + } ] + }, { + "value" : [ " + " ] + }, { + "r" : "274", + "s" : [ { + "value" : [ "' '" ] + } ] + } ] }, { - "value" : [ " + " ] + "value" : [ " + " ] }, { - "r" : "304", - "s" : [ { - "value" : [ "' '" ] - } ] + "r" : "279", + "s" : [ { + "value" : [ "'jumps'" ] + } ] } ] - }, { + }, { "value" : [ " + " ] - }, { - "r" : "309", + }, { + "r" : "284", "s" : [ { - "value" : [ "'lazy'" ] + "value" : [ "' '" ] } ] - } ] + } ] + }, { + "value" : [ "\n + " ] + }, { + "r" : "289", + "s" : [ { + "value" : [ "'over'" ] + } ] + } ] }, { - "value" : [ " + " ] + "value" : [ " + " ] }, { - "r" : "314", - "s" : [ { - "value" : [ "' '" ] - } ] + "r" : "294", + "s" : [ { + "value" : [ "' '" ] + } ] } ] - }, { + }, { "value" : [ " + " ] - }, { - "r" : "319", - "s" : [ { - "value" : [ "'dog.'" ] - } ] - } ] + }, { + "r" : "299", + "s" : [ { + "value" : [ "'the'" ] + } ] + } ] + }, { + "value" : [ " + " ] + }, { + "r" : "304", + "s" : [ { + "value" : [ "' '" ] + } ] + } ] + }, { + "value" : [ " + " ] + }, { + "r" : "309", + "s" : [ { + "value" : [ "'lazy'" ] + } ] } ] - } - } ], - "expression" : { - "localId" : "323", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "type" : "Concatenate", - "signature" : [ ], - "operand" : [ { - "localId" : "318", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + }, { + "value" : [ " + " ] + }, { + "r" : "314", + "s" : [ { + "value" : [ "' '" ] + } ] + } ] + }, { + "value" : [ " + " ] + }, { + "r" : "319", + "s" : [ { + "value" : [ "'dog.'" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Concatenate", + "localId" : "323", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ], + "signature" : [ ], + "operand" : [ { + "type" : "Concatenate", + "localId" : "318", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ], + "signature" : [ ], + "operand" : [ { + "type" : "Concatenate", + "localId" : "313", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ], + "signature" : [ ], + "operand" : [ { + "type" : "Concatenate", + "localId" : "308", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ], + "signature" : [ ], + "operand" : [ { "type" : "Concatenate", + "localId" : "303", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ], "signature" : [ ], "operand" : [ { - "localId" : "313", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "type" : "Concatenate", - "signature" : [ ], - "operand" : [ { - "localId" : "308", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "type" : "Concatenate", + "localId" : "298", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ], + "signature" : [ ], + "operand" : [ { + "type" : "Concatenate", + "localId" : "293", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ], + "signature" : [ ], + "operand" : [ { "type" : "Concatenate", + "localId" : "288", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ], "signature" : [ ], "operand" : [ { - "localId" : "303", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "type" : "Concatenate", - "signature" : [ ], - "operand" : [ { - "localId" : "298", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "type" : "Concatenate", + "localId" : "283", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ], + "signature" : [ ], + "operand" : [ { + "type" : "Concatenate", + "localId" : "278", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ], + "signature" : [ ], + "operand" : [ { "type" : "Concatenate", + "localId" : "273", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ], "signature" : [ ], "operand" : [ { - "localId" : "293", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "type" : "Concatenate", - "signature" : [ ], - "operand" : [ { - "localId" : "288", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "type" : "Concatenate", + "localId" : "268", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ], + "signature" : [ ], + "operand" : [ { + "type" : "Concatenate", + "localId" : "263", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ], + "signature" : [ ], + "operand" : [ { "type" : "Concatenate", + "localId" : "258", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ], "signature" : [ ], "operand" : [ { - "localId" : "283", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "type" : "Concatenate", - "signature" : [ ], - "operand" : [ { - "localId" : "278", + "type" : "Concatenate", + "localId" : "253", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ], + "signature" : [ ], + "operand" : [ { + "type" : "Concatenate", + "localId" : "248", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ], + "signature" : [ ], + "operand" : [ { + "type" : "Literal", + "localId" : "242", "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "type" : "Concatenate", - "signature" : [ ], - "operand" : [ { - "localId" : "273", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "type" : "Concatenate", - "signature" : [ ], - "operand" : [ { - "localId" : "268", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "type" : "Concatenate", - "signature" : [ ], - "operand" : [ { - "localId" : "263", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "type" : "Concatenate", - "signature" : [ ], - "operand" : [ { - "localId" : "258", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "type" : "Concatenate", - "signature" : [ ], - "operand" : [ { - "localId" : "253", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "type" : "Concatenate", - "signature" : [ ], - "operand" : [ { - "localId" : "248", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "type" : "Concatenate", - "signature" : [ ], - "operand" : [ { - "localId" : "242", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "The", - "type" : "Literal" - }, { - "localId" : "244", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : " ", - "type" : "Literal" - } ] - }, { - "localId" : "249", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "quick", - "type" : "Literal" - } ] - }, { - "localId" : "254", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : " ", - "type" : "Literal" - } ] - }, { - "localId" : "259", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "brown", - "type" : "Literal" - } ] - }, { - "localId" : "264", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : " ", - "type" : "Literal" - } ] - }, { - "localId" : "269", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "fox", - "type" : "Literal" - } ] - }, { - "localId" : "274", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : " ", - "type" : "Literal" - } ] - }, { - "localId" : "279", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "The", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "244", "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "jumps", - "type" : "Literal" - } ] + "value" : " ", + "annotation" : [ ] + } ] + }, { + "type" : "Literal", + "localId" : "249", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "quick", + "annotation" : [ ] + } ] }, { - "localId" : "284", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : " ", - "type" : "Literal" + "type" : "Literal", + "localId" : "254", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : " ", + "annotation" : [ ] } ] - }, { - "localId" : "289", + }, { + "type" : "Literal", + "localId" : "259", "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "over", - "type" : "Literal" - } ] + "value" : "brown", + "annotation" : [ ] + } ] + }, { + "type" : "Literal", + "localId" : "264", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : " ", + "annotation" : [ ] + } ] }, { - "localId" : "294", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : " ", - "type" : "Literal" + "type" : "Literal", + "localId" : "269", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "fox", + "annotation" : [ ] } ] - }, { - "localId" : "299", + }, { + "type" : "Literal", + "localId" : "274", "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "the", - "type" : "Literal" - } ] + "value" : " ", + "annotation" : [ ] + } ] + }, { + "type" : "Literal", + "localId" : "279", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "jumps", + "annotation" : [ ] + } ] }, { - "localId" : "304", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : " ", - "type" : "Literal" - } ] - }, { - "localId" : "309", + "type" : "Literal", + "localId" : "284", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : " ", + "annotation" : [ ] + } ] + }, { + "type" : "Literal", + "localId" : "289", "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "lazy", - "type" : "Literal" - } ] - }, { - "localId" : "314", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : " ", - "type" : "Literal" + "value" : "over", + "annotation" : [ ] + } ] + }, { + "type" : "Literal", + "localId" : "294", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : " ", + "annotation" : [ ] + } ] + }, { + "type" : "Literal", + "localId" : "299", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "the", + "annotation" : [ ] } ] - }, { - "localId" : "319", + }, { + "type" : "Literal", + "localId" : "304", "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "dog.", - "type" : "Literal" - } ] - } - }, { - "localId" : "326", + "value" : " ", + "annotation" : [ ] + } ] + }, { + "type" : "Literal", + "localId" : "309", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "lazy", + "annotation" : [ ] + } ] + }, { + "type" : "Literal", + "localId" : "314", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : " ", + "annotation" : [ ] + } ] + }, { + "type" : "Literal", + "localId" : "319", "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "name" : "ConcatNull", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "326", - "s" : [ { - "value" : [ "","define ","ConcatNull",": " ] - }, { - "r" : "334", - "s" : [ { - "r" : "328", - "s" : [ { - "value" : [ "'Hello'" ] - } ] - }, { - "r" : "330", - "value" : [ " + ","null" ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "334", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "type" : "Concatenate", - "signature" : [ ], - "operand" : [ { - "localId" : "328", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "Hello", - "type" : "Literal" - }, { - "localId" : "331", - "asType" : "{urn:hl7-org:elm-types:r1}String", - "type" : "As", - "signature" : [ ], - "operand" : { - "localId" : "330", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - } - } ] + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "dog.", + "annotation" : [ ] + } ] + } + }, { + "localId" : "326", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "name" : "ConcatNull", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "326", + "s" : [ { + "value" : [ "", "define ", "ConcatNull", ": " ] + }, { + "r" : "334", + "s" : [ { + "r" : "328", + "s" : [ { + "value" : [ "'Hello'" ] + } ] + }, { + "r" : "330", + "value" : [ " + ", "null" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Concatenate", + "localId" : "334", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ], + "signature" : [ ], + "operand" : [ { + "type" : "Literal", + "localId" : "328", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "Hello", + "annotation" : [ ] + }, { + "type" : "As", + "localId" : "331", + "asType" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Null", + "localId" : "330", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] } - }, { - "localId" : "337", + } ] + } + }, { + "localId" : "337", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "name" : "Hello", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "337", + "s" : [ { + "value" : [ "", "define ", "Hello", ": " ] + }, { + "r" : "338", + "s" : [ { + "value" : [ "'Hello'" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Literal", + "localId" : "338", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "Hello", + "annotation" : [ ] + } + }, { + "localId" : "342", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "name" : "World", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "342", + "s" : [ { + "value" : [ "", "define ", "World", ": " ] + }, { + "r" : "343", + "s" : [ { + "value" : [ "'World'" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Literal", + "localId" : "343", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "World", + "annotation" : [ ] + } + }, { + "localId" : "347", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "name" : "HelloWorldVariables", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "347", + "s" : [ { + "value" : [ "", "define ", "HelloWorldVariables", ": " ] + }, { + "r" : "353", + "s" : [ { + "r" : "349", + "s" : [ { + "value" : [ "Hello" ] + } ] + }, { + "value" : [ " + " ] + }, { + "r" : "350", + "s" : [ { + "value" : [ "World" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Concatenate", + "localId" : "353", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ], + "signature" : [ ], + "operand" : [ { + "type" : "ExpressionRef", + "localId" : "349", "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", "name" : "Hello", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "337", - "s" : [ { - "value" : [ "","define ","Hello",": " ] - }, { - "r" : "338", - "s" : [ { - "value" : [ "'Hello'" ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "338", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "Hello", - "type" : "Literal" - } - }, { - "localId" : "342", + "annotation" : [ ] + }, { + "type" : "ExpressionRef", + "localId" : "350", "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", "name" : "World", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "342", - "s" : [ { - "value" : [ "","define ","World",": " ] - }, { - "r" : "343", - "s" : [ { - "value" : [ "'World'" ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "343", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "World", - "type" : "Literal" - } - }, { - "localId" : "347", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "name" : "HelloWorldVariables", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "347", - "s" : [ { - "value" : [ "","define ","HelloWorldVariables",": " ] - }, { - "r" : "353", - "s" : [ { - "r" : "349", - "s" : [ { - "value" : [ "Hello" ] - } ] - }, { - "value" : [ " + " ] - }, { - "r" : "350", - "s" : [ { - "value" : [ "World" ] - } ] - } ] - } ] - } + "annotation" : [ ] + } ] + } + }, { + "localId" : "356", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "name" : "AndHelloWorld", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "356", + "s" : [ { + "value" : [ "", "define ", "AndHelloWorld", ": " ] + }, { + "r" : "357", + "s" : [ { + "r" : "358", + "s" : [ { + "value" : [ "'Hello'" ] + } ] + }, { + "value" : [ " & " ] + }, { + "r" : "360", + "s" : [ { + "value" : [ "'World'" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Concatenate", + "localId" : "357", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "378", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "379", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "Coalesce", + "localId" : "367", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "368", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "369", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] } ], - "expression" : { - "localId" : "353", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "type" : "Concatenate", - "signature" : [ ], - "operand" : [ { - "localId" : "349", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "name" : "Hello", - "type" : "ExpressionRef" - }, { - "localId" : "350", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "name" : "World", - "type" : "ExpressionRef" - } ] - } - }, { - "localId" : "356", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "name" : "AndHelloWorld", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "356", - "s" : [ { - "value" : [ "","define ","AndHelloWorld",": " ] - }, { - "r" : "357", - "s" : [ { - "r" : "358", - "s" : [ { - "value" : [ "'Hello'" ] - } ] - }, { - "value" : [ " & " ] - }, { - "r" : "360", - "s" : [ { - "value" : [ "'World'" ] - } ] - } ] - } ] - } + "operand" : [ { + "type" : "Literal", + "localId" : "358", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "Hello", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "362", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "", + "annotation" : [ ] + } ] + }, { + "type" : "Coalesce", + "localId" : "375", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "376", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "377", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] } ], - "expression" : { - "localId" : "357", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "type" : "Concatenate", - "signature" : [ { - "localId" : "378", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "379", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "367", - "type" : "Coalesce", - "signature" : [ { - "localId" : "368", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "369", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "358", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "Hello", - "type" : "Literal" - }, { - "localId" : "362", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "", - "type" : "Literal" - } ] - }, { - "localId" : "375", - "type" : "Coalesce", - "signature" : [ { - "localId" : "376", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "377", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "360", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "World", - "type" : "Literal" - }, { - "localId" : "370", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "", - "type" : "Literal" - } ] - } ] - } - }, { - "localId" : "382", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "name" : "AndSentence", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "382", + "operand" : [ { + "type" : "Literal", + "localId" : "360", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "World", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "370", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "", + "annotation" : [ ] + } ] + } ] + } + }, { + "localId" : "382", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "name" : "AndSentence", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "382", + "s" : [ { + "value" : [ "", "define ", "AndSentence", ": " ] + }, { + "r" : "383", + "s" : [ { + "r" : "384", + "s" : [ { + "r" : "385", "s" : [ { - "value" : [ "","define ","AndSentence",": " ] - }, { - "r" : "383", - "s" : [ { - "r" : "384", - "s" : [ { - "r" : "385", - "s" : [ { - "r" : "386", + "r" : "386", + "s" : [ { + "r" : "387", + "s" : [ { + "r" : "388", + "s" : [ { + "r" : "389", + "s" : [ { + "r" : "390", + "s" : [ { + "r" : "391", "s" : [ { - "r" : "387", - "s" : [ { - "r" : "388", + "r" : "392", + "s" : [ { + "r" : "393", + "s" : [ { + "r" : "394", "s" : [ { - "r" : "389", - "s" : [ { - "r" : "390", + "r" : "395", + "s" : [ { + "r" : "396", + "s" : [ { + "r" : "397", "s" : [ { - "r" : "391", - "s" : [ { - "r" : "392", - "s" : [ { - "r" : "393", - "s" : [ { - "r" : "394", - "s" : [ { - "r" : "395", - "s" : [ { - "r" : "396", - "s" : [ { - "r" : "397", - "s" : [ { - "r" : "398", - "s" : [ { - "r" : "399", - "s" : [ { - "value" : [ "'The'" ] - } ] - }, { - "value" : [ " & " ] - }, { - "r" : "401", - "s" : [ { - "value" : [ "' '" ] - } ] - } ] - }, { - "value" : [ " & " ] - }, { - "r" : "421", - "s" : [ { - "value" : [ "'quick'" ] - } ] - } ] - }, { - "value" : [ " & " ] - }, { - "r" : "441", - "s" : [ { - "value" : [ "' '" ] - } ] - } ] - }, { - "value" : [ " & " ] - }, { - "r" : "461", - "s" : [ { - "value" : [ "'brown'" ] - } ] - } ] - }, { - "value" : [ " & " ] - }, { - "r" : "481", - "s" : [ { - "value" : [ "' '" ] - } ] - } ] - }, { - "value" : [ " & " ] - }, { - "r" : "501", - "s" : [ { - "value" : [ "'fox'" ] - } ] - } ] - }, { - "value" : [ " & " ] - }, { - "r" : "521", - "s" : [ { - "value" : [ "' '" ] - } ] - } ] - }, { - "value" : [ " & " ] - }, { - "r" : "541", - "s" : [ { - "value" : [ "'jumps'" ] - } ] - } ] + "r" : "398", + "s" : [ { + "r" : "399", + "s" : [ { + "value" : [ "'The'" ] + } ] + }, { + "value" : [ " & " ] + }, { + "r" : "401", + "s" : [ { + "value" : [ "' '" ] + } ] + } ] }, { - "value" : [ " & " ] + "value" : [ " & " ] }, { - "r" : "561", - "s" : [ { - "value" : [ "' '" ] - } ] + "r" : "421", + "s" : [ { + "value" : [ "'quick'" ] + } ] } ] - }, { - "value" : [ "\n & " ] - }, { - "r" : "581", + }, { + "value" : [ " & " ] + }, { + "r" : "441", "s" : [ { - "value" : [ "'over'" ] + "value" : [ "' '" ] } ] - } ] + } ] + }, { + "value" : [ " & " ] + }, { + "r" : "461", + "s" : [ { + "value" : [ "'brown'" ] + } ] + } ] }, { - "value" : [ " & " ] + "value" : [ " & " ] }, { - "r" : "601", - "s" : [ { - "value" : [ "' '" ] - } ] + "r" : "481", + "s" : [ { + "value" : [ "' '" ] + } ] } ] - }, { + }, { "value" : [ " & " ] - }, { - "r" : "621", + }, { + "r" : "501", "s" : [ { - "value" : [ "'the'" ] + "value" : [ "'fox'" ] } ] - } ] + } ] + }, { + "value" : [ " & " ] + }, { + "r" : "521", + "s" : [ { + "value" : [ "' '" ] + } ] + } ] }, { - "value" : [ " & " ] + "value" : [ " & " ] }, { - "r" : "641", - "s" : [ { - "value" : [ "' '" ] - } ] + "r" : "541", + "s" : [ { + "value" : [ "'jumps'" ] + } ] } ] - }, { + }, { "value" : [ " & " ] - }, { - "r" : "661", + }, { + "r" : "561", "s" : [ { - "value" : [ "'lazy'" ] + "value" : [ "' '" ] } ] - } ] + } ] + }, { + "value" : [ "\n & " ] + }, { + "r" : "581", + "s" : [ { + "value" : [ "'over'" ] + } ] + } ] }, { - "value" : [ " & " ] + "value" : [ " & " ] }, { - "r" : "681", - "s" : [ { - "value" : [ "' '" ] - } ] + "r" : "601", + "s" : [ { + "value" : [ "' '" ] + } ] } ] - }, { + }, { "value" : [ " & " ] - }, { - "r" : "701", - "s" : [ { - "value" : [ "'dog.'" ] - } ] - } ] + }, { + "r" : "621", + "s" : [ { + "value" : [ "'the'" ] + } ] + } ] + }, { + "value" : [ " & " ] + }, { + "r" : "641", + "s" : [ { + "value" : [ "' '" ] + } ] + } ] + }, { + "value" : [ " & " ] + }, { + "r" : "661", + "s" : [ { + "value" : [ "'lazy'" ] + } ] + } ] + }, { + "value" : [ " & " ] + }, { + "r" : "681", + "s" : [ { + "value" : [ "' '" ] } ] - } + } ] + }, { + "value" : [ " & " ] + }, { + "r" : "701", + "s" : [ { + "value" : [ "'dog.'" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Concatenate", + "localId" : "383", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "719", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "720", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "Coalesce", + "localId" : "708", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "709", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "710", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] } ], - "expression" : { - "localId" : "383", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "type" : "Concatenate", - "signature" : [ { - "localId" : "719", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "720", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "708", - "type" : "Coalesce", + "operand" : [ { + "type" : "Concatenate", + "localId" : "384", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "699", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "700", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "Coalesce", + "localId" : "688", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "689", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "690", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "Concatenate", + "localId" : "385", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ], "signature" : [ { - "localId" : "709", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "710", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" + "type" : "NamedTypeSpecifier", + "localId" : "679", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "680", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] } ], "operand" : [ { - "localId" : "384", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "type" : "Concatenate", - "signature" : [ { - "localId" : "699", + "type" : "Coalesce", + "localId" : "668", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "669", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "670", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "Concatenate", + "localId" : "386", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "659", "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "700", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "660", "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "688", + "annotation" : [ ] + } ], + "operand" : [ { "type" : "Coalesce", + "localId" : "648", + "annotation" : [ ], "signature" : [ { - "localId" : "689", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" + "type" : "NamedTypeSpecifier", + "localId" : "649", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] }, { - "localId" : "690", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" + "type" : "NamedTypeSpecifier", + "localId" : "650", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] } ], "operand" : [ { - "localId" : "385", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "type" : "Concatenate", - "signature" : [ { - "localId" : "679", + "type" : "Concatenate", + "localId" : "387", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "639", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "640", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "Coalesce", + "localId" : "628", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "629", "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "680", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "630", "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "668", - "type" : "Coalesce", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "Concatenate", + "localId" : "388", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ], "signature" : [ { - "localId" : "669", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" + "type" : "NamedTypeSpecifier", + "localId" : "619", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] }, { - "localId" : "670", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" + "type" : "NamedTypeSpecifier", + "localId" : "620", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] } ], "operand" : [ { - "localId" : "386", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "type" : "Concatenate", - "signature" : [ { - "localId" : "659", + "type" : "Coalesce", + "localId" : "608", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "609", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "610", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "Concatenate", + "localId" : "389", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "599", "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "660", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "600", "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "648", + "annotation" : [ ] + } ], + "operand" : [ { "type" : "Coalesce", + "localId" : "588", + "annotation" : [ ], "signature" : [ { - "localId" : "649", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" + "type" : "NamedTypeSpecifier", + "localId" : "589", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] }, { - "localId" : "650", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" + "type" : "NamedTypeSpecifier", + "localId" : "590", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] } ], "operand" : [ { - "localId" : "387", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "type" : "Concatenate", - "signature" : [ { - "localId" : "639", + "type" : "Concatenate", + "localId" : "390", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "579", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "580", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "Coalesce", + "localId" : "568", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "569", "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "640", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "570", "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "628", - "type" : "Coalesce", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "Concatenate", + "localId" : "391", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ], "signature" : [ { - "localId" : "629", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" + "type" : "NamedTypeSpecifier", + "localId" : "559", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] }, { - "localId" : "630", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" + "type" : "NamedTypeSpecifier", + "localId" : "560", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] } ], "operand" : [ { - "localId" : "388", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "type" : "Concatenate", - "signature" : [ { - "localId" : "619", + "type" : "Coalesce", + "localId" : "548", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "549", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "550", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "Concatenate", + "localId" : "392", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "539", "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "620", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "540", "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "608", + "annotation" : [ ] + } ], + "operand" : [ { "type" : "Coalesce", + "localId" : "528", + "annotation" : [ ], "signature" : [ { - "localId" : "609", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" + "type" : "NamedTypeSpecifier", + "localId" : "529", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] }, { - "localId" : "610", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" + "type" : "NamedTypeSpecifier", + "localId" : "530", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] } ], "operand" : [ { - "localId" : "389", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "type" : "Concatenate", - "signature" : [ { - "localId" : "599", + "type" : "Concatenate", + "localId" : "393", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "519", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "520", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "Coalesce", + "localId" : "508", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "509", "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "600", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "510", "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "588", - "type" : "Coalesce", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "Concatenate", + "localId" : "394", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ], "signature" : [ { - "localId" : "589", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" + "type" : "NamedTypeSpecifier", + "localId" : "499", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] }, { - "localId" : "590", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" + "type" : "NamedTypeSpecifier", + "localId" : "500", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] } ], "operand" : [ { - "localId" : "390", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "type" : "Concatenate", - "signature" : [ { - "localId" : "579", + "type" : "Coalesce", + "localId" : "488", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "489", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "490", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "Concatenate", + "localId" : "395", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "479", "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "580", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "480", "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "568", + "annotation" : [ ] + } ], + "operand" : [ { "type" : "Coalesce", + "localId" : "468", + "annotation" : [ ], "signature" : [ { - "localId" : "569", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" + "type" : "NamedTypeSpecifier", + "localId" : "469", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] }, { - "localId" : "570", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" + "type" : "NamedTypeSpecifier", + "localId" : "470", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] } ], "operand" : [ { - "localId" : "391", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "type" : "Concatenate", - "signature" : [ { - "localId" : "559", + "type" : "Concatenate", + "localId" : "396", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "459", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "460", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "Coalesce", + "localId" : "448", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "449", "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "560", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "450", "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "548", - "type" : "Coalesce", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "Concatenate", + "localId" : "397", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ], "signature" : [ { - "localId" : "549", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" + "type" : "NamedTypeSpecifier", + "localId" : "439", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] }, { - "localId" : "550", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" + "type" : "NamedTypeSpecifier", + "localId" : "440", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] } ], "operand" : [ { - "localId" : "392", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "type" : "Concatenate", - "signature" : [ { - "localId" : "539", + "type" : "Coalesce", + "localId" : "428", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "429", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "430", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "Concatenate", + "localId" : "398", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "419", "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "540", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "420", "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "528", + "annotation" : [ ] + } ], + "operand" : [ { "type" : "Coalesce", + "localId" : "408", + "annotation" : [ ], "signature" : [ { - "localId" : "529", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" + "type" : "NamedTypeSpecifier", + "localId" : "409", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] }, { - "localId" : "530", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" + "type" : "NamedTypeSpecifier", + "localId" : "410", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] } ], "operand" : [ { - "localId" : "393", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "type" : "Concatenate", - "signature" : [ { - "localId" : "519", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "520", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "508", - "type" : "Coalesce", - "signature" : [ { - "localId" : "509", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "510", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "394", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "type" : "Concatenate", - "signature" : [ { - "localId" : "499", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "500", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "488", - "type" : "Coalesce", - "signature" : [ { - "localId" : "489", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "490", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "395", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "type" : "Concatenate", - "signature" : [ { - "localId" : "479", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "480", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "468", - "type" : "Coalesce", - "signature" : [ { - "localId" : "469", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "470", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "396", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "type" : "Concatenate", - "signature" : [ { - "localId" : "459", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "460", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "448", - "type" : "Coalesce", - "signature" : [ { - "localId" : "449", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "450", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "397", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "type" : "Concatenate", - "signature" : [ { - "localId" : "439", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "440", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "428", - "type" : "Coalesce", - "signature" : [ { - "localId" : "429", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "430", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "398", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "type" : "Concatenate", - "signature" : [ { - "localId" : "419", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "420", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "408", - "type" : "Coalesce", - "signature" : [ { - "localId" : "409", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "410", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "399", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "The", - "type" : "Literal" - }, { - "localId" : "403", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "", - "type" : "Literal" - } ] - }, { - "localId" : "416", - "type" : "Coalesce", - "signature" : [ { - "localId" : "417", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "418", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "401", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : " ", - "type" : "Literal" - }, { - "localId" : "411", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "", - "type" : "Literal" - } ] - } ] - }, { - "localId" : "423", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "", - "type" : "Literal" - } ] - }, { - "localId" : "436", - "type" : "Coalesce", - "signature" : [ { - "localId" : "437", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "438", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "421", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "quick", - "type" : "Literal" - }, { - "localId" : "431", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "", - "type" : "Literal" - } ] - } ] - }, { - "localId" : "443", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "", - "type" : "Literal" - } ] - }, { - "localId" : "456", - "type" : "Coalesce", - "signature" : [ { - "localId" : "457", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "458", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "441", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : " ", - "type" : "Literal" - }, { - "localId" : "451", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "", - "type" : "Literal" - } ] - } ] - }, { - "localId" : "463", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "", - "type" : "Literal" - } ] - }, { - "localId" : "476", - "type" : "Coalesce", - "signature" : [ { - "localId" : "477", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "478", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "461", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "brown", - "type" : "Literal" - }, { - "localId" : "471", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "", - "type" : "Literal" - } ] - } ] - }, { - "localId" : "483", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "", - "type" : "Literal" - } ] - }, { - "localId" : "496", - "type" : "Coalesce", - "signature" : [ { - "localId" : "497", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "498", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "481", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : " ", - "type" : "Literal" - }, { - "localId" : "491", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "", - "type" : "Literal" - } ] - } ] - }, { - "localId" : "503", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "", - "type" : "Literal" - } ] - }, { - "localId" : "516", - "type" : "Coalesce", - "signature" : [ { - "localId" : "517", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "518", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "501", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "fox", - "type" : "Literal" - }, { - "localId" : "511", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "", - "type" : "Literal" - } ] - } ] + "type" : "Literal", + "localId" : "399", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "The", + "annotation" : [ ] }, { - "localId" : "523", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "", - "type" : "Literal" + "type" : "Literal", + "localId" : "403", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "", + "annotation" : [ ] } ] - }, { - "localId" : "536", + }, { "type" : "Coalesce", + "localId" : "416", + "annotation" : [ ], "signature" : [ { - "localId" : "537", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" + "type" : "NamedTypeSpecifier", + "localId" : "417", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] }, { - "localId" : "538", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" + "type" : "NamedTypeSpecifier", + "localId" : "418", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] } ], "operand" : [ { - "localId" : "521", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : " ", - "type" : "Literal" + "type" : "Literal", + "localId" : "401", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : " ", + "annotation" : [ ] }, { - "localId" : "531", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "", - "type" : "Literal" + "type" : "Literal", + "localId" : "411", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "", + "annotation" : [ ] } ] - } ] - }, { - "localId" : "543", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "", - "type" : "Literal" - } ] - }, { - "localId" : "556", - "type" : "Coalesce", - "signature" : [ { - "localId" : "557", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "558", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "541", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "jumps", - "type" : "Literal" + } ] + }, { + "type" : "Literal", + "localId" : "423", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "", + "annotation" : [ ] + } ] }, { - "localId" : "551", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "", - "type" : "Literal" + "type" : "Coalesce", + "localId" : "436", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "437", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "438", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "Literal", + "localId" : "421", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "quick", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "431", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "", + "annotation" : [ ] + } ] } ] - } ] + }, { + "type" : "Literal", + "localId" : "443", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "", + "annotation" : [ ] + } ] + }, { + "type" : "Coalesce", + "localId" : "456", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "457", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "458", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "Literal", + "localId" : "441", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : " ", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "451", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "", + "annotation" : [ ] + } ] + } ] }, { - "localId" : "563", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "", - "type" : "Literal" + "type" : "Literal", + "localId" : "463", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "", + "annotation" : [ ] } ] - }, { - "localId" : "576", + }, { "type" : "Coalesce", + "localId" : "476", + "annotation" : [ ], "signature" : [ { - "localId" : "577", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" + "type" : "NamedTypeSpecifier", + "localId" : "477", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] }, { - "localId" : "578", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" + "type" : "NamedTypeSpecifier", + "localId" : "478", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] } ], "operand" : [ { - "localId" : "561", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : " ", - "type" : "Literal" + "type" : "Literal", + "localId" : "461", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "brown", + "annotation" : [ ] }, { - "localId" : "571", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "", - "type" : "Literal" + "type" : "Literal", + "localId" : "471", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "", + "annotation" : [ ] } ] - } ] - }, { - "localId" : "583", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "", - "type" : "Literal" - } ] - }, { - "localId" : "596", - "type" : "Coalesce", - "signature" : [ { - "localId" : "597", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "598", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "581", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "over", - "type" : "Literal" + } ] + }, { + "type" : "Literal", + "localId" : "483", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "", + "annotation" : [ ] + } ] }, { - "localId" : "591", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "", - "type" : "Literal" + "type" : "Coalesce", + "localId" : "496", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "497", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "498", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "Literal", + "localId" : "481", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : " ", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "491", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "", + "annotation" : [ ] + } ] } ] - } ] + }, { + "type" : "Literal", + "localId" : "503", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "", + "annotation" : [ ] + } ] + }, { + "type" : "Coalesce", + "localId" : "516", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "517", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "518", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "Literal", + "localId" : "501", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "fox", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "511", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "", + "annotation" : [ ] + } ] + } ] }, { - "localId" : "603", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "", - "type" : "Literal" + "type" : "Literal", + "localId" : "523", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "", + "annotation" : [ ] } ] - }, { - "localId" : "616", + }, { "type" : "Coalesce", + "localId" : "536", + "annotation" : [ ], "signature" : [ { - "localId" : "617", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" + "type" : "NamedTypeSpecifier", + "localId" : "537", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] }, { - "localId" : "618", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" + "type" : "NamedTypeSpecifier", + "localId" : "538", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] } ], "operand" : [ { - "localId" : "601", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : " ", - "type" : "Literal" + "type" : "Literal", + "localId" : "521", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : " ", + "annotation" : [ ] }, { - "localId" : "611", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "", - "type" : "Literal" + "type" : "Literal", + "localId" : "531", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "", + "annotation" : [ ] } ] - } ] + } ] + }, { + "type" : "Literal", + "localId" : "543", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "", + "annotation" : [ ] + } ] }, { - "localId" : "623", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "", - "type" : "Literal" + "type" : "Coalesce", + "localId" : "556", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "557", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "558", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "Literal", + "localId" : "541", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "jumps", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "551", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "", + "annotation" : [ ] + } ] } ] - }, { - "localId" : "636", - "type" : "Coalesce", - "signature" : [ { - "localId" : "637", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "638", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "621", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "the", - "type" : "Literal" - }, { - "localId" : "631", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "", - "type" : "Literal" - } ] - } ] + }, { + "type" : "Literal", + "localId" : "563", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "", + "annotation" : [ ] + } ] + }, { + "type" : "Coalesce", + "localId" : "576", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "577", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "578", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "Literal", + "localId" : "561", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : " ", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "571", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "", + "annotation" : [ ] + } ] + } ] }, { - "localId" : "643", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "", - "type" : "Literal" + "type" : "Literal", + "localId" : "583", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "", + "annotation" : [ ] } ] - }, { - "localId" : "656", + }, { "type" : "Coalesce", + "localId" : "596", + "annotation" : [ ], "signature" : [ { - "localId" : "657", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" + "type" : "NamedTypeSpecifier", + "localId" : "597", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] }, { - "localId" : "658", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" + "type" : "NamedTypeSpecifier", + "localId" : "598", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] } ], "operand" : [ { - "localId" : "641", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : " ", - "type" : "Literal" + "type" : "Literal", + "localId" : "581", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "over", + "annotation" : [ ] }, { - "localId" : "651", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "", - "type" : "Literal" + "type" : "Literal", + "localId" : "591", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "", + "annotation" : [ ] } ] - } ] - }, { - "localId" : "663", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "", - "type" : "Literal" - } ] - }, { - "localId" : "676", - "type" : "Coalesce", - "signature" : [ { - "localId" : "677", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "678", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "661", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "lazy", - "type" : "Literal" + } ] + }, { + "type" : "Literal", + "localId" : "603", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "", + "annotation" : [ ] + } ] }, { - "localId" : "671", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "", - "type" : "Literal" + "type" : "Coalesce", + "localId" : "616", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "617", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "618", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "Literal", + "localId" : "601", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : " ", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "611", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "", + "annotation" : [ ] + } ] } ] - } ] - }, { - "localId" : "683", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "", - "type" : "Literal" - } ] - }, { - "localId" : "696", - "type" : "Coalesce", - "signature" : [ { - "localId" : "697", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "698", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "681", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : " ", - "type" : "Literal" + }, { + "type" : "Literal", + "localId" : "623", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "", + "annotation" : [ ] + } ] + }, { + "type" : "Coalesce", + "localId" : "636", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "637", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "638", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "Literal", + "localId" : "621", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "the", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "631", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "", + "annotation" : [ ] + } ] + } ] }, { - "localId" : "691", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "", - "type" : "Literal" - } ] - } ] - }, { - "localId" : "703", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "", - "type" : "Literal" - } ] - }, { - "localId" : "716", - "type" : "Coalesce", - "signature" : [ { - "localId" : "717", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "718", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "701", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "dog.", - "type" : "Literal" - }, { - "localId" : "711", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "", - "type" : "Literal" - } ] - } ] - } - }, { - "localId" : "723", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "name" : "AndConcatNull", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "723", - "s" : [ { - "value" : [ "","define ","AndConcatNull",": " ] - }, { - "r" : "724", - "s" : [ { - "r" : "725", - "s" : [ { - "value" : [ "'Hello'" ] + "type" : "Literal", + "localId" : "643", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "", + "annotation" : [ ] } ] - }, { - "r" : "727", - "value" : [ " & ","null" ] - } ] + }, { + "type" : "Coalesce", + "localId" : "656", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "657", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "658", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "Literal", + "localId" : "641", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : " ", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "651", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "", + "annotation" : [ ] + } ] + } ] + }, { + "type" : "Literal", + "localId" : "663", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "", + "annotation" : [ ] + } ] + }, { + "type" : "Coalesce", + "localId" : "676", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "677", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "678", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "Literal", + "localId" : "661", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "lazy", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "671", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "", + "annotation" : [ ] + } ] } ] - } + }, { + "type" : "Literal", + "localId" : "683", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "", + "annotation" : [ ] + } ] + }, { + "type" : "Coalesce", + "localId" : "696", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "697", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "698", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "Literal", + "localId" : "681", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : " ", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "691", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "", + "annotation" : [ ] + } ] + } ] + }, { + "type" : "Literal", + "localId" : "703", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "", + "annotation" : [ ] + } ] + }, { + "type" : "Coalesce", + "localId" : "716", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "717", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "718", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] } ], - "expression" : { - "localId" : "724", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "type" : "Concatenate", - "signature" : [ { - "localId" : "746", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "747", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "733", - "type" : "Coalesce", - "signature" : [ { - "localId" : "734", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "735", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "725", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "Hello", - "type" : "Literal" - }, { - "localId" : "728", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "", - "type" : "Literal" - } ] - }, { - "localId" : "742", - "type" : "Coalesce", - "signature" : [ { - "localId" : "744", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "745", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "743", - "asType" : "{urn:hl7-org:elm-types:r1}String", - "type" : "As", - "signature" : [ ], - "operand" : { - "localId" : "727", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - } - }, { - "localId" : "736", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "", - "type" : "Literal" - } ] - } ] - } - }, { - "localId" : "750", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "name" : "AndHelloWorldVariables", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "750", - "s" : [ { - "value" : [ "","define ","AndHelloWorldVariables",": " ] - }, { - "r" : "751", - "s" : [ { - "r" : "752", - "s" : [ { - "value" : [ "Hello" ] - } ] - }, { - "value" : [ " & " ] - }, { - "r" : "753", - "s" : [ { - "value" : [ "World" ] - } ] - } ] - } ] - } + "operand" : [ { + "type" : "Literal", + "localId" : "701", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "dog.", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "711", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "", + "annotation" : [ ] + } ] + } ] + } + }, { + "localId" : "723", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "name" : "AndConcatNull", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "723", + "s" : [ { + "value" : [ "", "define ", "AndConcatNull", ": " ] + }, { + "r" : "724", + "s" : [ { + "r" : "725", + "s" : [ { + "value" : [ "'Hello'" ] + } ] + }, { + "r" : "727", + "value" : [ " & ", "null" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Concatenate", + "localId" : "724", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "746", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "747", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "Coalesce", + "localId" : "733", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "734", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "735", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] } ], - "expression" : { - "localId" : "751", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "type" : "Concatenate", - "signature" : [ { - "localId" : "770", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "771", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "759", - "type" : "Coalesce", - "signature" : [ { - "localId" : "760", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "761", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "752", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "name" : "Hello", - "type" : "ExpressionRef" - }, { - "localId" : "754", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "", - "type" : "Literal" - } ] - }, { - "localId" : "767", - "type" : "Coalesce", - "signature" : [ { - "localId" : "768", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "769", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "753", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "name" : "World", - "type" : "ExpressionRef" - }, { - "localId" : "762", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "", - "type" : "Literal" - } ] - } ] - } - } ] - } - } + "operand" : [ { + "type" : "Literal", + "localId" : "725", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "Hello", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "728", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "", + "annotation" : [ ] + } ] + }, { + "type" : "Coalesce", + "localId" : "742", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "744", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "745", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "As", + "localId" : "743", + "asType" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Null", + "localId" : "727", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } + }, { + "type" : "Literal", + "localId" : "736", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "", + "annotation" : [ ] + } ] + } ] + } + }, { + "localId" : "750", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "name" : "AndHelloWorldVariables", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "750", + "s" : [ { + "value" : [ "", "define ", "AndHelloWorldVariables", ": " ] + }, { + "r" : "751", + "s" : [ { + "r" : "752", + "s" : [ { + "value" : [ "Hello" ] + } ] + }, { + "value" : [ " & " ] + }, { + "r" : "753", + "s" : [ { + "value" : [ "World" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Concatenate", + "localId" : "751", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "770", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "771", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "Coalesce", + "localId" : "759", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "760", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "761", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "ExpressionRef", + "localId" : "752", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "name" : "Hello", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "754", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "", + "annotation" : [ ] + } ] + }, { + "type" : "Coalesce", + "localId" : "767", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "768", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "769", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "ExpressionRef", + "localId" : "753", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "name" : "World", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "762", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "", + "annotation" : [ ] + } ] + } ] + } + } ] + } + } } /* Combine @@ -2114,707 +2409,791 @@ define CombineEmptyNull: Combine({}, ';') */ module.exports['Combine'] = { - "library" : { - "localId" : "0", - "annotation" : [ { - "translatorVersion" : "3.27.0", - "translatorOptions" : "EnableDateRangeOptimization,EnableAnnotations,EnableResultTypes", - "signatureLevel" : "All", - "type" : "CqlToElmInfo" + "library" : { + "localId" : "0", + "annotation" : [ { + "type" : "CqlToElmInfo", + "translatorVersion" : "4.2.0", + "translatorOptions" : "EnableDateRangeOptimization,EnableAnnotations,EnableResultTypes", + "signatureLevel" : "All" + }, { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "334", + "s" : [ { + "value" : [ "", "library TestSnippet version '1'" ] + } ] + } + } ], + "identifier" : { + "id" : "TestSnippet", + "version" : "1" + }, + "schemaIdentifier" : { + "id" : "urn:hl7-org:elm", + "version" : "r1" + }, + "usings" : { + "def" : [ { + "localId" : "1", + "localIdentifier" : "System", + "uri" : "urn:hl7-org:elm-types:r1", + "annotation" : [ ] }, { - "type" : "Annotation", - "s" : { - "r" : "334", + "localId" : "206", + "localIdentifier" : "Simple", + "uri" : "https://github.com/cqframework/cql-execution/simple", + "version" : "1.0.0", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "206", "s" : [ { - "value" : [ "","library TestSnippet version '1'" ] + "value" : [ "", "using " ] + }, { + "s" : [ { + "value" : [ "Simple" ] + } ] + }, { + "value" : [ " version '1.0.0'" ] } ] - } - } ], - "identifier" : { - "id" : "TestSnippet", - "version" : "1" - }, - "schemaIdentifier" : { - "id" : "urn:hl7-org:elm", - "version" : "r1" - }, - "usings" : { - "def" : [ { - "localId" : "1", - "localIdentifier" : "System", - "uri" : "urn:hl7-org:elm-types:r1" - }, { - "localId" : "206", - "localIdentifier" : "Simple", - "uri" : "https://github.com/cqframework/cql-execution/simple", - "version" : "1.0.0", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "206", + } + } ] + } ] + }, + "contexts" : { + "def" : [ { + "localId" : "211", + "name" : "Patient", + "annotation" : [ ] + } ] + }, + "statements" : { + "def" : [ { + "localId" : "209", + "name" : "Patient", + "context" : "Patient", + "annotation" : [ ], + "expression" : { + "type" : "SingletonFrom", + "localId" : "210", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Retrieve", + "localId" : "208", + "dataType" : "{https://github.com/cqframework/cql-execution/simple}Patient", + "annotation" : [ ], + "include" : [ ], + "codeFilter" : [ ], + "dateFilter" : [ ], + "otherFilter" : [ ] + } + } + }, { + "localId" : "214", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "name" : "NoSeparator", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "214", + "s" : [ { + "value" : [ "", "define ", "NoSeparator", ": " ] + }, { + "r" : "230", + "s" : [ { + "value" : [ "Combine", "(" ] + }, { + "r" : "215", + "s" : [ { + "value" : [ "{ " ] + }, { + "r" : "216", "s" : [ { - "value" : [ "","using " ] - }, { - "s" : [ { - "value" : [ "Simple" ] - } ] - }, { - "value" : [ " version '1.0.0'" ] + "value" : [ "'abc'" ] } ] - } + }, { + "value" : [ ", " ] + }, { + "r" : "218", + "s" : [ { + "value" : [ "'def'" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "220", + "s" : [ { + "value" : [ "'ghi'" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "222", + "s" : [ { + "value" : [ "'jkl'" ] + } ] + }, { + "value" : [ " }" ] + } ] + }, { + "value" : [ ")" ] + } ] } ] - } ] - }, - "contexts" : { - "def" : [ { - "localId" : "211", - "name" : "Patient" - } ] - }, - "statements" : { - "def" : [ { - "localId" : "209", - "name" : "Patient", - "context" : "Patient", - "expression" : { - "localId" : "210", - "type" : "SingletonFrom", - "signature" : [ ], - "operand" : { - "localId" : "208", - "dataType" : "{https://github.com/cqframework/cql-execution/simple}Patient", - "type" : "Retrieve", - "include" : [ ], - "codeFilter" : [ ], - "dateFilter" : [ ], - "otherFilter" : [ ] - } + } + } ], + "expression" : { + "type" : "Combine", + "localId" : "230", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ], + "signature" : [ { + "type" : "ListTypeSpecifier", + "localId" : "231", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "232", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] } - }, { - "localId" : "214", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "name" : "NoSeparator", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "214", + } ], + "source" : { + "type" : "List", + "localId" : "215", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "224", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "225", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } + }, + "element" : [ { + "type" : "Literal", + "localId" : "216", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "abc", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "218", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "def", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "220", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "ghi", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "222", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "jkl", + "annotation" : [ ] + } ] + } + } + }, { + "localId" : "235", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "name" : "Separator", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "235", + "s" : [ { + "value" : [ "", "define ", "Separator", ": " ] + }, { + "r" : "254", + "s" : [ { + "value" : [ "Combine", "(" ] + }, { + "r" : "236", + "s" : [ { + "value" : [ "{ " ] + }, { + "r" : "237", "s" : [ { - "value" : [ "","define ","NoSeparator",": " ] - }, { - "r" : "230", - "s" : [ { - "value" : [ "Combine","(" ] - }, { - "r" : "215", - "s" : [ { - "value" : [ "{ " ] - }, { - "r" : "216", - "s" : [ { - "value" : [ "'abc'" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "218", - "s" : [ { - "value" : [ "'def'" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "220", - "s" : [ { - "value" : [ "'ghi'" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "222", - "s" : [ { - "value" : [ "'jkl'" ] - } ] - }, { - "value" : [ " }" ] - } ] - }, { - "value" : [ ")" ] - } ] + "value" : [ "'abc'" ] } ] - } - } ], - "expression" : { - "localId" : "230", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "type" : "Combine", - "signature" : [ { - "localId" : "231", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "232", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } - } ], - "source" : { - "localId" : "215", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "224", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "225", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } - }, - "element" : [ { - "localId" : "216", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "abc", - "type" : "Literal" - }, { - "localId" : "218", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "def", - "type" : "Literal" - }, { - "localId" : "220", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "ghi", - "type" : "Literal" - }, { - "localId" : "222", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "jkl", - "type" : "Literal" + }, { + "value" : [ ", " ] + }, { + "r" : "239", + "s" : [ { + "value" : [ "'def'" ] } ] - } - } - }, { - "localId" : "235", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "name" : "Separator", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "235", + }, { + "value" : [ ", " ] + }, { + "r" : "241", "s" : [ { - "value" : [ "","define ","Separator",": " ] - }, { - "r" : "254", - "s" : [ { - "value" : [ "Combine","(" ] - }, { - "r" : "236", - "s" : [ { - "value" : [ "{ " ] - }, { - "r" : "237", - "s" : [ { - "value" : [ "'abc'" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "239", - "s" : [ { - "value" : [ "'def'" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "241", - "s" : [ { - "value" : [ "'ghi'" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "243", - "s" : [ { - "value" : [ "'jkl'" ] - } ] - }, { - "value" : [ " }" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "247", - "s" : [ { - "value" : [ "';'" ] - } ] - }, { - "value" : [ ")" ] - } ] + "value" : [ "'ghi'" ] } ] - } - } ], - "expression" : { - "localId" : "254", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "type" : "Combine", - "signature" : [ { - "localId" : "255", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "256", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "257", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } ], - "source" : { - "localId" : "236", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "245", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "246", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } - }, - "element" : [ { - "localId" : "237", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "abc", - "type" : "Literal" - }, { - "localId" : "239", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "def", - "type" : "Literal" - }, { - "localId" : "241", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "ghi", - "type" : "Literal" - }, { - "localId" : "243", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "jkl", - "type" : "Literal" + }, { + "value" : [ ", " ] + }, { + "r" : "243", + "s" : [ { + "value" : [ "'jkl'" ] } ] - }, - "separator" : { - "localId" : "247", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : ";", - "type" : "Literal" - } + }, { + "value" : [ " }" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "247", + "s" : [ { + "value" : [ "';'" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Combine", + "localId" : "254", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ], + "signature" : [ { + "type" : "ListTypeSpecifier", + "localId" : "255", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "256", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] } - }, { - "localId" : "260", + }, { + "type" : "NamedTypeSpecifier", + "localId" : "257", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } ], + "source" : { + "type" : "List", + "localId" : "236", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "245", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "246", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } + }, + "element" : [ { + "type" : "Literal", + "localId" : "237", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "abc", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "239", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "def", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "241", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "ghi", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "243", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "jkl", + "annotation" : [ ] + } ] + }, + "separator" : { + "type" : "Literal", + "localId" : "247", "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "name" : "CombineNull", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "260", - "s" : [ { - "value" : [ "","define ","CombineNull",": " ] - }, { - "r" : "272", - "s" : [ { - "r" : "261", - "value" : [ "Combine","(","null",", " ] - }, { - "r" : "262", - "s" : [ { - "value" : [ "';'" ] - } ] - }, { - "value" : [ ")" ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "272", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "type" : "Combine", - "signature" : [ { - "localId" : "276", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "277", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "278", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } ], - "source" : { - "localId" : "273", - "type" : "As", - "signature" : [ ], - "operand" : { - "localId" : "261", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - }, - "asTypeSpecifier" : { - "localId" : "274", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "275", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } - } - }, - "separator" : { - "localId" : "262", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : ";", - "type" : "Literal" - } + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : ";", + "annotation" : [ ] + } + } + }, { + "localId" : "260", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "name" : "CombineNull", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "260", + "s" : [ { + "value" : [ "", "define ", "CombineNull", ": " ] + }, { + "r" : "272", + "s" : [ { + "r" : "261", + "value" : [ "Combine", "(", "null", ", " ] + }, { + "r" : "262", + "s" : [ { + "value" : [ "';'" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Combine", + "localId" : "272", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ], + "signature" : [ { + "type" : "ListTypeSpecifier", + "localId" : "276", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "277", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] } - }, { - "localId" : "281", + }, { + "type" : "NamedTypeSpecifier", + "localId" : "278", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } ], + "source" : { + "type" : "As", + "localId" : "273", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Null", + "localId" : "261", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + }, + "asTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "274", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "275", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } + } + }, + "separator" : { + "type" : "Literal", + "localId" : "262", "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "name" : "CombineNullItem", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "281", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : ";", + "annotation" : [ ] + } + } + }, { + "localId" : "281", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "name" : "CombineNullItem", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "281", + "s" : [ { + "value" : [ "", "define ", "CombineNullItem", ": " ] + }, { + "r" : "300", + "s" : [ { + "value" : [ "Combine", "(" ] + }, { + "r" : "282", + "s" : [ { + "value" : [ "{ " ] + }, { + "r" : "283", "s" : [ { - "value" : [ "","define ","CombineNullItem",": " ] - }, { - "r" : "300", - "s" : [ { - "value" : [ "Combine","(" ] - }, { - "r" : "282", - "s" : [ { - "value" : [ "{ " ] - }, { - "r" : "283", - "s" : [ { - "value" : [ "'abc'" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "285", - "s" : [ { - "value" : [ "'def'" ] - } ] - }, { - "r" : "287", - "value" : [ ", ","null",", " ] - }, { - "r" : "288", - "s" : [ { - "value" : [ "'jkl'" ] - } ] - }, { - "value" : [ " }" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "293", - "s" : [ { - "value" : [ "';'" ] - } ] - }, { - "value" : [ ")" ] - } ] + "value" : [ "'abc'" ] } ] - } - } ], - "expression" : { - "localId" : "300", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "type" : "Combine", - "signature" : [ { - "localId" : "301", + }, { + "value" : [ ", " ] + }, { + "r" : "285", + "s" : [ { + "value" : [ "'def'" ] + } ] + }, { + "r" : "287", + "value" : [ ", ", "null", ", " ] + }, { + "r" : "288", + "s" : [ { + "value" : [ "'jkl'" ] + } ] + }, { + "value" : [ " }" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "293", + "s" : [ { + "value" : [ "';'" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Combine", + "localId" : "300", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ], + "signature" : [ { + "type" : "ListTypeSpecifier", + "localId" : "301", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "302", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } + }, { + "type" : "NamedTypeSpecifier", + "localId" : "303", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } ], + "source" : { + "type" : "List", + "localId" : "282", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "291", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "292", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } + }, + "element" : [ { + "type" : "Literal", + "localId" : "283", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "abc", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "285", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "def", + "annotation" : [ ] + }, { + "type" : "As", + "localId" : "290", + "asType" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Null", + "localId" : "287", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } + }, { + "type" : "Literal", + "localId" : "288", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "jkl", + "annotation" : [ ] + } ] + }, + "separator" : { + "type" : "Literal", + "localId" : "293", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : ";", + "annotation" : [ ] + } + } + }, { + "localId" : "306", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "name" : "CombineOneNullItem", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "306", + "s" : [ { + "value" : [ "", "define ", "CombineOneNullItem", ": " ] + }, { + "r" : "323", + "s" : [ { + "value" : [ "Combine", "(" ] + }, { + "r" : "307", + "s" : [ { + "r" : "308", + "value" : [ "{", "null", "}" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "311", + "s" : [ { + "value" : [ "';'" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Combine", + "localId" : "323", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ], + "signature" : [ { + "type" : "ListTypeSpecifier", + "localId" : "329", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "330", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } + }, { + "type" : "NamedTypeSpecifier", + "localId" : "331", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } ], + "source" : { + "type" : "Query", + "localId" : "324", + "annotation" : [ ], + "source" : [ { + "localId" : "325", + "alias" : "X", + "annotation" : [ ], + "expression" : { + "type" : "List", + "localId" : "307", + "annotation" : [ ], + "resultTypeSpecifier" : { "type" : "ListTypeSpecifier", + "localId" : "309", + "annotation" : [ ], "elementType" : { - "localId" : "302", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" + "type" : "NamedTypeSpecifier", + "localId" : "310", + "name" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] } - }, { - "localId" : "303", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } ], - "source" : { - "localId" : "282", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "291", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "292", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } - }, - "element" : [ { - "localId" : "283", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "abc", - "type" : "Literal" - }, { - "localId" : "285", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "def", - "type" : "Literal" - }, { - "localId" : "290", - "asType" : "{urn:hl7-org:elm-types:r1}String", - "type" : "As", - "signature" : [ ], - "operand" : { - "localId" : "287", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - } - }, { - "localId" : "288", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "jkl", - "type" : "Literal" - } ] - }, - "separator" : { - "localId" : "293", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : ";", - "type" : "Literal" - } + }, + "element" : [ { + "type" : "Null", + "localId" : "308", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } ] + } + } ], + "let" : [ ], + "relationship" : [ ], + "return" : { + "localId" : "326", + "distinct" : false, + "annotation" : [ ], + "expression" : { + "type" : "As", + "localId" : "328", + "asType" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "AliasRef", + "localId" : "327", + "name" : "X", + "annotation" : [ ] + } + } } - }, { - "localId" : "306", + }, + "separator" : { + "type" : "Literal", + "localId" : "311", "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "name" : "CombineOneNullItem", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "306", - "s" : [ { - "value" : [ "","define ","CombineOneNullItem",": " ] - }, { - "r" : "323", - "s" : [ { - "value" : [ "Combine","(" ] - }, { - "r" : "307", - "s" : [ { - "r" : "308", - "value" : [ "{","null","}" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "311", - "s" : [ { - "value" : [ "';'" ] - } ] - }, { - "value" : [ ")" ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "323", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "type" : "Combine", - "signature" : [ { - "localId" : "329", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : ";", + "annotation" : [ ] + } + } + }, { + "localId" : "334", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "name" : "CombineEmptyNull", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "334", + "s" : [ { + "value" : [ "", "define ", "CombineEmptyNull", ": " ] + }, { + "r" : "350", + "s" : [ { + "r" : "335", + "value" : [ "Combine", "(", "{}", ", " ] + }, { + "r" : "338", + "s" : [ { + "value" : [ "';'" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Combine", + "localId" : "350", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ], + "signature" : [ { + "type" : "ListTypeSpecifier", + "localId" : "356", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "357", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } + }, { + "type" : "NamedTypeSpecifier", + "localId" : "358", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } ], + "source" : { + "type" : "Query", + "localId" : "351", + "annotation" : [ ], + "source" : [ { + "localId" : "352", + "alias" : "X", + "annotation" : [ ], + "expression" : { + "type" : "List", + "localId" : "335", + "annotation" : [ ], + "resultTypeSpecifier" : { "type" : "ListTypeSpecifier", + "localId" : "336", + "annotation" : [ ], "elementType" : { - "localId" : "330", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "331", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } ], - "source" : { - "localId" : "324", - "type" : "Query", - "source" : [ { - "localId" : "325", - "alias" : "X", - "expression" : { - "localId" : "307", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "309", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "310", - "name" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "NamedTypeSpecifier" - } - }, - "element" : [ { - "localId" : "308", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - } ] - } - } ], - "let" : [ ], - "relationship" : [ ], - "return" : { - "localId" : "326", - "distinct" : false, - "expression" : { - "localId" : "328", - "asType" : "{urn:hl7-org:elm-types:r1}String", - "type" : "As", - "signature" : [ ], - "operand" : { - "localId" : "327", - "name" : "X", - "type" : "AliasRef" - } - } + "type" : "NamedTypeSpecifier", + "localId" : "337", + "name" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] } - }, - "separator" : { - "localId" : "311", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : ";", - "type" : "Literal" - } + }, + "element" : [ ] + } + } ], + "let" : [ ], + "relationship" : [ ], + "return" : { + "localId" : "353", + "distinct" : false, + "annotation" : [ ], + "expression" : { + "type" : "As", + "localId" : "355", + "asType" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "AliasRef", + "localId" : "354", + "name" : "X", + "annotation" : [ ] + } + } } - }, { - "localId" : "334", + }, + "separator" : { + "type" : "Literal", + "localId" : "338", "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "name" : "CombineEmptyNull", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "334", - "s" : [ { - "value" : [ "","define ","CombineEmptyNull",": " ] - }, { - "r" : "350", - "s" : [ { - "r" : "335", - "value" : [ "Combine","(","{}",", " ] - }, { - "r" : "338", - "s" : [ { - "value" : [ "';'" ] - } ] - }, { - "value" : [ ")" ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "350", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "type" : "Combine", - "signature" : [ { - "localId" : "356", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "357", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "358", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } ], - "source" : { - "localId" : "351", - "type" : "Query", - "source" : [ { - "localId" : "352", - "alias" : "X", - "expression" : { - "localId" : "335", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "336", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "337", - "name" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "NamedTypeSpecifier" - } - }, - "element" : [ ] - } - } ], - "let" : [ ], - "relationship" : [ ], - "return" : { - "localId" : "353", - "distinct" : false, - "expression" : { - "localId" : "355", - "asType" : "{urn:hl7-org:elm-types:r1}String", - "type" : "As", - "signature" : [ ], - "operand" : { - "localId" : "354", - "name" : "X", - "type" : "AliasRef" - } - } - } - }, - "separator" : { - "localId" : "338", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : ";", - "type" : "Literal" - } - } - } ] - } - } + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : ";", + "annotation" : [ ] + } + } + } ] + } + } } /* Split @@ -2828,393 +3207,442 @@ define SeparateUsingNull: Split('a,b,c', null) */ module.exports['Split'] = { - "library" : { - "localId" : "0", - "annotation" : [ { - "translatorVersion" : "3.27.0", - "translatorOptions" : "EnableDateRangeOptimization,EnableAnnotations,EnableResultTypes", - "signatureLevel" : "All", - "type" : "CqlToElmInfo" + "library" : { + "localId" : "0", + "annotation" : [ { + "type" : "CqlToElmInfo", + "translatorVersion" : "4.2.0", + "translatorOptions" : "EnableDateRangeOptimization,EnableAnnotations,EnableResultTypes", + "signatureLevel" : "All" + }, { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "269", + "s" : [ { + "value" : [ "", "library TestSnippet version '1'" ] + } ] + } + } ], + "identifier" : { + "id" : "TestSnippet", + "version" : "1" + }, + "schemaIdentifier" : { + "id" : "urn:hl7-org:elm", + "version" : "r1" + }, + "usings" : { + "def" : [ { + "localId" : "1", + "localIdentifier" : "System", + "uri" : "urn:hl7-org:elm-types:r1", + "annotation" : [ ] }, { - "type" : "Annotation", - "s" : { - "r" : "269", + "localId" : "206", + "localIdentifier" : "Simple", + "uri" : "https://github.com/cqframework/cql-execution/simple", + "version" : "1.0.0", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "206", "s" : [ { - "value" : [ "","library TestSnippet version '1'" ] + "value" : [ "", "using " ] + }, { + "s" : [ { + "value" : [ "Simple" ] + } ] + }, { + "value" : [ " version '1.0.0'" ] } ] - } - } ], - "identifier" : { - "id" : "TestSnippet", - "version" : "1" - }, - "schemaIdentifier" : { - "id" : "urn:hl7-org:elm", - "version" : "r1" - }, - "usings" : { - "def" : [ { - "localId" : "1", - "localIdentifier" : "System", - "uri" : "urn:hl7-org:elm-types:r1" - }, { - "localId" : "206", - "localIdentifier" : "Simple", - "uri" : "https://github.com/cqframework/cql-execution/simple", - "version" : "1.0.0", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "206", - "s" : [ { - "value" : [ "","using " ] - }, { - "s" : [ { - "value" : [ "Simple" ] - } ] - }, { - "value" : [ " version '1.0.0'" ] - } ] - } + } + } ] + } ] + }, + "contexts" : { + "def" : [ { + "localId" : "211", + "name" : "Patient", + "annotation" : [ ] + } ] + }, + "statements" : { + "def" : [ { + "localId" : "209", + "name" : "Patient", + "context" : "Patient", + "annotation" : [ ], + "expression" : { + "type" : "SingletonFrom", + "localId" : "210", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Retrieve", + "localId" : "208", + "dataType" : "{https://github.com/cqframework/cql-execution/simple}Patient", + "annotation" : [ ], + "include" : [ ], + "codeFilter" : [ ], + "dateFilter" : [ ], + "otherFilter" : [ ] + } + } + }, { + "localId" : "214", + "name" : "CommaSeparated", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "214", + "s" : [ { + "value" : [ "", "define ", "CommaSeparated", ": " ] + }, { + "r" : "223", + "s" : [ { + "value" : [ "Split", "(" ] + }, { + "r" : "215", + "s" : [ { + "value" : [ "'a,b,c,,1,2,3'" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "217", + "s" : [ { + "value" : [ "','" ] + } ] + }, { + "value" : [ ")" ] + } ] } ] - } ] - }, - "contexts" : { - "def" : [ { - "localId" : "211", - "name" : "Patient" - } ] - }, - "statements" : { - "def" : [ { - "localId" : "209", - "name" : "Patient", - "context" : "Patient", - "expression" : { - "localId" : "210", - "type" : "SingletonFrom", - "signature" : [ ], - "operand" : { - "localId" : "208", - "dataType" : "{https://github.com/cqframework/cql-execution/simple}Patient", - "type" : "Retrieve", - "include" : [ ], - "codeFilter" : [ ], - "dateFilter" : [ ], - "otherFilter" : [ ] - } + } + } ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "228", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "229", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } + }, + "expression" : { + "type" : "Split", + "localId" : "223", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "226", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "227", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] } - }, { - "localId" : "214", - "name" : "CommaSeparated", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "214", - "s" : [ { - "value" : [ "","define ","CommaSeparated",": " ] - }, { - "r" : "223", - "s" : [ { - "value" : [ "Split","(" ] - }, { - "r" : "215", - "s" : [ { - "value" : [ "'a,b,c,,1,2,3'" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "217", - "s" : [ { - "value" : [ "','" ] - } ] - }, { - "value" : [ ")" ] - } ] - } ] - } - } ], - "resultTypeSpecifier" : { - "localId" : "228", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "229", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } - }, - "expression" : { - "localId" : "223", - "type" : "Split", - "resultTypeSpecifier" : { - "localId" : "226", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "227", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } - }, - "signature" : [ { - "localId" : "224", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "225", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } ], - "stringToSplit" : { - "localId" : "215", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "a,b,c,,1,2,3", - "type" : "Literal" - }, - "separator" : { - "localId" : "217", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : ",", - "type" : "Literal" - } + }, + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "224", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "225", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } ], + "stringToSplit" : { + "type" : "Literal", + "localId" : "215", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "a,b,c,,1,2,3", + "annotation" : [ ] + }, + "separator" : { + "type" : "Literal", + "localId" : "217", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : ",", + "annotation" : [ ] + } + } + }, { + "localId" : "232", + "name" : "SeparatorNotUsed", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "232", + "s" : [ { + "value" : [ "", "define ", "SeparatorNotUsed", ": " ] + }, { + "r" : "241", + "s" : [ { + "value" : [ "Split", "(" ] + }, { + "r" : "233", + "s" : [ { + "value" : [ "'a,b,c,,1,2,3'" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "235", + "s" : [ { + "value" : [ "';'" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "246", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "247", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } + }, + "expression" : { + "type" : "Split", + "localId" : "241", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "244", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "245", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] } - }, { - "localId" : "232", - "name" : "SeparatorNotUsed", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "232", - "s" : [ { - "value" : [ "","define ","SeparatorNotUsed",": " ] - }, { - "r" : "241", - "s" : [ { - "value" : [ "Split","(" ] - }, { - "r" : "233", - "s" : [ { - "value" : [ "'a,b,c,,1,2,3'" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "235", - "s" : [ { - "value" : [ "';'" ] - } ] - }, { - "value" : [ ")" ] - } ] - } ] - } - } ], - "resultTypeSpecifier" : { - "localId" : "246", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "247", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } - }, - "expression" : { - "localId" : "241", - "type" : "Split", - "resultTypeSpecifier" : { - "localId" : "244", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "245", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } - }, - "signature" : [ { - "localId" : "242", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "243", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } ], - "stringToSplit" : { - "localId" : "233", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "a,b,c,,1,2,3", - "type" : "Literal" - }, - "separator" : { - "localId" : "235", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : ";", - "type" : "Literal" - } + }, + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "242", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "243", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } ], + "stringToSplit" : { + "type" : "Literal", + "localId" : "233", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "a,b,c,,1,2,3", + "annotation" : [ ] + }, + "separator" : { + "type" : "Literal", + "localId" : "235", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : ";", + "annotation" : [ ] + } + } + }, { + "localId" : "250", + "name" : "SeparateNull", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "250", + "s" : [ { + "value" : [ "", "define ", "SeparateNull", ": " ] + }, { + "r" : "259", + "s" : [ { + "r" : "251", + "value" : [ "Split", "(", "null", ", " ] + }, { + "r" : "252", + "s" : [ { + "value" : [ "','" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "265", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "266", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } + }, + "expression" : { + "type" : "Split", + "localId" : "259", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "263", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "264", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] } - }, { - "localId" : "250", - "name" : "SeparateNull", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "250", - "s" : [ { - "value" : [ "","define ","SeparateNull",": " ] - }, { - "r" : "259", - "s" : [ { - "r" : "251", - "value" : [ "Split","(","null",", " ] - }, { - "r" : "252", - "s" : [ { - "value" : [ "','" ] - } ] - }, { - "value" : [ ")" ] - } ] - } ] - } - } ], - "resultTypeSpecifier" : { - "localId" : "265", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "266", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } - }, - "expression" : { - "localId" : "259", - "type" : "Split", - "resultTypeSpecifier" : { - "localId" : "263", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "264", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } - }, - "signature" : [ { - "localId" : "261", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "262", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } ], - "stringToSplit" : { - "localId" : "260", - "asType" : "{urn:hl7-org:elm-types:r1}String", - "type" : "As", - "signature" : [ ], - "operand" : { - "localId" : "251", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - } - }, - "separator" : { - "localId" : "252", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : ",", - "type" : "Literal" - } + }, + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "261", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "262", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } ], + "stringToSplit" : { + "type" : "As", + "localId" : "260", + "asType" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Null", + "localId" : "251", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] } - }, { - "localId" : "269", - "name" : "SeparateUsingNull", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "269", - "s" : [ { - "value" : [ "","define ","SeparateUsingNull",": " ] - }, { - "r" : "278", - "s" : [ { - "value" : [ "Split","(" ] - }, { - "r" : "270", - "s" : [ { - "value" : [ "'a,b,c'" ] - } ] - }, { - "r" : "272", - "value" : [ ", ","null",")" ] - } ] - } ] - } - } ], - "resultTypeSpecifier" : { - "localId" : "284", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "285", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } - }, - "expression" : { - "localId" : "278", - "type" : "Split", - "resultTypeSpecifier" : { - "localId" : "282", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "283", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } - }, - "signature" : [ { - "localId" : "280", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "281", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } ], - "stringToSplit" : { - "localId" : "270", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "a,b,c", - "type" : "Literal" - }, - "separator" : { - "localId" : "279", - "asType" : "{urn:hl7-org:elm-types:r1}String", - "type" : "As", - "signature" : [ ], - "operand" : { - "localId" : "272", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - } - } + }, + "separator" : { + "type" : "Literal", + "localId" : "252", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : ",", + "annotation" : [ ] + } + } + }, { + "localId" : "269", + "name" : "SeparateUsingNull", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "269", + "s" : [ { + "value" : [ "", "define ", "SeparateUsingNull", ": " ] + }, { + "r" : "278", + "s" : [ { + "value" : [ "Split", "(" ] + }, { + "r" : "270", + "s" : [ { + "value" : [ "'a,b,c'" ] + } ] + }, { + "r" : "272", + "value" : [ ", ", "null", ")" ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "284", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "285", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } + }, + "expression" : { + "type" : "Split", + "localId" : "278", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "282", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "283", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] } - } ] - } - } + }, + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "280", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "281", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } ], + "stringToSplit" : { + "type" : "Literal", + "localId" : "270", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "a,b,c", + "annotation" : [ ] + }, + "separator" : { + "type" : "As", + "localId" : "279", + "asType" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Null", + "localId" : "272", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } + } + } + } ] + } + } } /* SplitOnMatches @@ -3230,739 +3658,827 @@ define SplitOnMatchesAllNull: SplitOnMatches(null, null) */ module.exports['SplitOnMatches'] = { - "library" : { - "localId" : "0", - "annotation" : [ { - "translatorVersion" : "3.27.0", - "translatorOptions" : "EnableDateRangeOptimization,EnableAnnotations,EnableResultTypes", - "signatureLevel" : "All", - "type" : "CqlToElmInfo" + "library" : { + "localId" : "0", + "annotation" : [ { + "type" : "CqlToElmInfo", + "translatorVersion" : "4.2.0", + "translatorOptions" : "EnableDateRangeOptimization,EnableAnnotations,EnableResultTypes", + "signatureLevel" : "All" + }, { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "306", + "s" : [ { + "value" : [ "", "library TestSnippet version '1'" ] + } ] + } + } ], + "identifier" : { + "id" : "TestSnippet", + "version" : "1" + }, + "schemaIdentifier" : { + "id" : "urn:hl7-org:elm", + "version" : "r1" + }, + "usings" : { + "def" : [ { + "localId" : "1", + "localIdentifier" : "System", + "uri" : "urn:hl7-org:elm-types:r1", + "annotation" : [ ] }, { - "type" : "Annotation", - "s" : { - "r" : "306", + "localId" : "206", + "localIdentifier" : "Simple", + "uri" : "https://github.com/cqframework/cql-execution/simple", + "version" : "1.0.0", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "206", "s" : [ { - "value" : [ "","library TestSnippet version '1'" ] + "value" : [ "", "using " ] + }, { + "s" : [ { + "value" : [ "Simple" ] + } ] + }, { + "value" : [ " version '1.0.0'" ] } ] - } - } ], - "identifier" : { - "id" : "TestSnippet", - "version" : "1" - }, - "schemaIdentifier" : { - "id" : "urn:hl7-org:elm", - "version" : "r1" - }, - "usings" : { - "def" : [ { - "localId" : "1", - "localIdentifier" : "System", - "uri" : "urn:hl7-org:elm-types:r1" - }, { - "localId" : "206", - "localIdentifier" : "Simple", - "uri" : "https://github.com/cqframework/cql-execution/simple", - "version" : "1.0.0", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "206", - "s" : [ { - "value" : [ "","using " ] - }, { - "s" : [ { - "value" : [ "Simple" ] - } ] - }, { - "value" : [ " version '1.0.0'" ] - } ] - } + } + } ] + } ] + }, + "contexts" : { + "def" : [ { + "localId" : "211", + "name" : "Patient", + "annotation" : [ ] + } ] + }, + "statements" : { + "def" : [ { + "localId" : "209", + "name" : "Patient", + "context" : "Patient", + "annotation" : [ ], + "expression" : { + "type" : "SingletonFrom", + "localId" : "210", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Retrieve", + "localId" : "208", + "dataType" : "{https://github.com/cqframework/cql-execution/simple}Patient", + "annotation" : [ ], + "include" : [ ], + "codeFilter" : [ ], + "dateFilter" : [ ], + "otherFilter" : [ ] + } + } + }, { + "localId" : "214", + "name" : "SplitOnMatchesListReturn", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "214", + "s" : [ { + "value" : [ "", "define ", "SplitOnMatchesListReturn", ": " ] + }, { + "r" : "223", + "s" : [ { + "value" : [ "SplitOnMatches", "(" ] + }, { + "r" : "215", + "s" : [ { + "value" : [ "'foo 1,2three bar'" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "217", + "s" : [ { + "value" : [ "'\\\\d,\\\\d\\\\w+'" ] + } ] + }, { + "value" : [ ")" ] + } ] } ] - } ] - }, - "contexts" : { - "def" : [ { - "localId" : "211", - "name" : "Patient" - } ] - }, - "statements" : { - "def" : [ { - "localId" : "209", - "name" : "Patient", - "context" : "Patient", - "expression" : { - "localId" : "210", - "type" : "SingletonFrom", - "signature" : [ ], - "operand" : { - "localId" : "208", - "dataType" : "{https://github.com/cqframework/cql-execution/simple}Patient", - "type" : "Retrieve", - "include" : [ ], - "codeFilter" : [ ], - "dateFilter" : [ ], - "otherFilter" : [ ] - } + } + } ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "228", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "229", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } + }, + "expression" : { + "type" : "SplitOnMatches", + "localId" : "223", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "226", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "227", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] } - }, { - "localId" : "214", - "name" : "SplitOnMatchesListReturn", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "214", - "s" : [ { - "value" : [ "","define ","SplitOnMatchesListReturn",": " ] - }, { - "r" : "223", - "s" : [ { - "value" : [ "SplitOnMatches","(" ] - }, { - "r" : "215", - "s" : [ { - "value" : [ "'foo 1,2three bar'" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "217", - "s" : [ { - "value" : [ "'\\\\d,\\\\d\\\\w+'" ] - } ] - }, { - "value" : [ ")" ] - } ] - } ] - } - } ], - "resultTypeSpecifier" : { - "localId" : "228", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "229", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } - }, - "expression" : { - "localId" : "223", - "type" : "SplitOnMatches", - "resultTypeSpecifier" : { - "localId" : "226", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "227", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } - }, - "signature" : [ { - "localId" : "224", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "225", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } ], - "stringToSplit" : { - "localId" : "215", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "foo 1,2three bar", - "type" : "Literal" - }, - "separatorPattern" : { - "localId" : "217", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "\\d,\\d\\w+", - "type" : "Literal" - } + }, + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "224", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "225", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } ], + "stringToSplit" : { + "type" : "Literal", + "localId" : "215", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "foo 1,2three bar", + "annotation" : [ ] + }, + "separatorPattern" : { + "type" : "Literal", + "localId" : "217", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "\\d,\\d\\w+", + "annotation" : [ ] + } + } + }, { + "localId" : "232", + "name" : "SplitOnMatchesOriginalString", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "232", + "s" : [ { + "value" : [ "", "define ", "SplitOnMatchesOriginalString", ": " ] + }, { + "r" : "241", + "s" : [ { + "value" : [ "SplitOnMatches", "(" ] + }, { + "r" : "233", + "s" : [ { + "value" : [ "'1,2three'" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "235", + "s" : [ { + "value" : [ "'\\\\w,\\\\w+'" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "246", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "247", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } + }, + "expression" : { + "type" : "SplitOnMatches", + "localId" : "241", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "244", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "245", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] } - }, { - "localId" : "232", - "name" : "SplitOnMatchesOriginalString", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "232", + }, + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "242", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "243", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } ], + "stringToSplit" : { + "type" : "Literal", + "localId" : "233", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "1,2three", + "annotation" : [ ] + }, + "separatorPattern" : { + "type" : "Literal", + "localId" : "235", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "\\w,\\w+", + "annotation" : [ ] + } + } + }, { + "localId" : "250", + "name" : "SplitOnMatchesNoMatch", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "250", + "s" : [ { + "value" : [ "", "define ", "SplitOnMatchesNoMatch", ": " ] + }, { + "r" : "259", + "s" : [ { + "value" : [ "SplitOnMatches", "(" ] + }, { + "r" : "251", + "s" : [ { + "value" : [ "'foobar'" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "253", + "s" : [ { + "value" : [ "'\\\\d'" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "264", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "265", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } + }, + "expression" : { + "type" : "SplitOnMatches", + "localId" : "259", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "262", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "263", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } + }, + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "260", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "261", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } ], + "stringToSplit" : { + "type" : "Literal", + "localId" : "251", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "foobar", + "annotation" : [ ] + }, + "separatorPattern" : { + "type" : "Literal", + "localId" : "253", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "\\d", + "annotation" : [ ] + } + } + }, { + "localId" : "268", + "name" : "SplitOnMatchesIsNullFirst", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "268", + "s" : [ { + "value" : [ "", "define ", "SplitOnMatchesIsNullFirst", ": " ] + }, { + "r" : "277", + "s" : [ { + "r" : "269", + "value" : [ "SplitOnMatches", "(", "null", ", " ] + }, { + "r" : "270", + "s" : [ { + "value" : [ "'\\\\w+'" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "283", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "284", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } + }, + "expression" : { + "type" : "SplitOnMatches", + "localId" : "277", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "281", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "282", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } + }, + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "279", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "280", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } ], + "stringToSplit" : { + "type" : "As", + "localId" : "278", + "asType" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Null", + "localId" : "269", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } + }, + "separatorPattern" : { + "type" : "Literal", + "localId" : "270", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "\\w+", + "annotation" : [ ] + } + } + }, { + "localId" : "287", + "name" : "SplitOnMatchesIsNullSecond", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "287", + "s" : [ { + "value" : [ "", "define ", "SplitOnMatchesIsNullSecond", ": " ] + }, { + "r" : "296", + "s" : [ { + "value" : [ "SplitOnMatches", "(" ] + }, { + "r" : "288", + "s" : [ { + "value" : [ "'12three'" ] + } ] + }, { + "r" : "290", + "value" : [ ", ", "null", ")" ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "302", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "303", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } + }, + "expression" : { + "type" : "SplitOnMatches", + "localId" : "296", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "300", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "301", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } + }, + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "298", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "299", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } ], + "stringToSplit" : { + "type" : "Literal", + "localId" : "288", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "12three", + "annotation" : [ ] + }, + "separatorPattern" : { + "type" : "As", + "localId" : "297", + "asType" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Null", + "localId" : "290", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } + } + } + }, { + "localId" : "306", + "name" : "SplitOnMatchesAllNull", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "306", + "s" : [ { + "value" : [ "", "define ", "SplitOnMatchesAllNull", ": " ] + }, { + "r" : "315", + "s" : [ { + "r" : "307", + "value" : [ "SplitOnMatches", "(", "null", ", ", "null", ")" ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "322", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "323", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } + }, + "expression" : { + "type" : "SplitOnMatches", + "localId" : "315", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "320", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "321", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } + }, + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "318", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "319", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } ], + "stringToSplit" : { + "type" : "As", + "localId" : "316", + "asType" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Null", + "localId" : "307", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } + }, + "separatorPattern" : { + "type" : "As", + "localId" : "317", + "asType" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Null", + "localId" : "308", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } + } + } + } ] + } + } +} + +/* Length +library TestSnippet version '1' +using Simple version '1.0.0' +context Patient +define ElevenLetters: Length('Hello World') +define NullString: Length(null as String) +*/ + +module.exports['Length'] = { + "library" : { + "localId" : "0", + "annotation" : [ { + "type" : "CqlToElmInfo", + "translatorVersion" : "4.2.0", + "translatorOptions" : "EnableDateRangeOptimization,EnableAnnotations,EnableResultTypes", + "signatureLevel" : "All" + }, { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "224", + "s" : [ { + "value" : [ "", "library TestSnippet version '1'" ] + } ] + } + } ], + "identifier" : { + "id" : "TestSnippet", + "version" : "1" + }, + "schemaIdentifier" : { + "id" : "urn:hl7-org:elm", + "version" : "r1" + }, + "usings" : { + "def" : [ { + "localId" : "1", + "localIdentifier" : "System", + "uri" : "urn:hl7-org:elm-types:r1", + "annotation" : [ ] + }, { + "localId" : "206", + "localIdentifier" : "Simple", + "uri" : "https://github.com/cqframework/cql-execution/simple", + "version" : "1.0.0", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "206", + "s" : [ { + "value" : [ "", "using " ] + }, { + "s" : [ { + "value" : [ "Simple" ] + } ] + }, { + "value" : [ " version '1.0.0'" ] + } ] + } + } ] + } ] + }, + "contexts" : { + "def" : [ { + "localId" : "211", + "name" : "Patient", + "annotation" : [ ] + } ] + }, + "statements" : { + "def" : [ { + "localId" : "209", + "name" : "Patient", + "context" : "Patient", + "annotation" : [ ], + "expression" : { + "type" : "SingletonFrom", + "localId" : "210", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Retrieve", + "localId" : "208", + "dataType" : "{https://github.com/cqframework/cql-execution/simple}Patient", + "annotation" : [ ], + "include" : [ ], + "codeFilter" : [ ], + "dateFilter" : [ ], + "otherFilter" : [ ] + } + } + }, { + "localId" : "214", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "name" : "ElevenLetters", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "214", + "s" : [ { + "value" : [ "", "define ", "ElevenLetters", ": " ] + }, { + "r" : "220", + "s" : [ { + "value" : [ "Length", "(" ] + }, { + "r" : "215", + "s" : [ { + "value" : [ "'Hello World'" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Length", + "localId" : "220", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "221", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } ], + "operand" : { + "type" : "Literal", + "localId" : "215", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "Hello World", + "annotation" : [ ] + } + } + }, { + "localId" : "224", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "name" : "NullString", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "224", + "s" : [ { + "value" : [ "", "define ", "NullString", ": " ] + }, { + "r" : "231", + "s" : [ { + "value" : [ "Length", "(" ] + }, { + "r" : "225", + "s" : [ { + "r" : "226", + "value" : [ "null", " as " ] + }, { + "r" : "227", "s" : [ { - "value" : [ "","define ","SplitOnMatchesOriginalString",": " ] - }, { - "r" : "241", - "s" : [ { - "value" : [ "SplitOnMatches","(" ] - }, { - "r" : "233", - "s" : [ { - "value" : [ "'1,2three'" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "235", - "s" : [ { - "value" : [ "'\\\\w,\\\\w+'" ] - } ] - }, { - "value" : [ ")" ] - } ] + "value" : [ "String" ] } ] - } - } ], - "resultTypeSpecifier" : { - "localId" : "246", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "247", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Length", + "localId" : "231", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "232", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } ], + "operand" : { + "type" : "As", + "localId" : "225", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "strict" : false, + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Null", + "localId" : "226", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] }, - "expression" : { - "localId" : "241", - "type" : "SplitOnMatches", - "resultTypeSpecifier" : { - "localId" : "244", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "245", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } - }, - "signature" : [ { - "localId" : "242", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "243", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } ], - "stringToSplit" : { - "localId" : "233", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "1,2three", - "type" : "Literal" - }, - "separatorPattern" : { - "localId" : "235", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "\\w,\\w+", - "type" : "Literal" - } + "asTypeSpecifier" : { + "type" : "NamedTypeSpecifier", + "localId" : "227", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] } - }, { - "localId" : "250", - "name" : "SplitOnMatchesNoMatch", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "250", - "s" : [ { - "value" : [ "","define ","SplitOnMatchesNoMatch",": " ] - }, { - "r" : "259", - "s" : [ { - "value" : [ "SplitOnMatches","(" ] - }, { - "r" : "251", - "s" : [ { - "value" : [ "'foobar'" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "253", - "s" : [ { - "value" : [ "'\\\\d'" ] - } ] - }, { - "value" : [ ")" ] - } ] - } ] - } - } ], - "resultTypeSpecifier" : { - "localId" : "264", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "265", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } - }, - "expression" : { - "localId" : "259", - "type" : "SplitOnMatches", - "resultTypeSpecifier" : { - "localId" : "262", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "263", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } - }, - "signature" : [ { - "localId" : "260", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "261", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } ], - "stringToSplit" : { - "localId" : "251", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "foobar", - "type" : "Literal" - }, - "separatorPattern" : { - "localId" : "253", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "\\d", - "type" : "Literal" - } - } - }, { - "localId" : "268", - "name" : "SplitOnMatchesIsNullFirst", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "268", - "s" : [ { - "value" : [ "","define ","SplitOnMatchesIsNullFirst",": " ] - }, { - "r" : "277", - "s" : [ { - "r" : "269", - "value" : [ "SplitOnMatches","(","null",", " ] - }, { - "r" : "270", - "s" : [ { - "value" : [ "'\\\\w+'" ] - } ] - }, { - "value" : [ ")" ] - } ] - } ] - } - } ], - "resultTypeSpecifier" : { - "localId" : "283", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "284", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } - }, - "expression" : { - "localId" : "277", - "type" : "SplitOnMatches", - "resultTypeSpecifier" : { - "localId" : "281", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "282", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } - }, - "signature" : [ { - "localId" : "279", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "280", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } ], - "stringToSplit" : { - "localId" : "278", - "asType" : "{urn:hl7-org:elm-types:r1}String", - "type" : "As", - "signature" : [ ], - "operand" : { - "localId" : "269", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - } - }, - "separatorPattern" : { - "localId" : "270", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "\\w+", - "type" : "Literal" - } - } - }, { - "localId" : "287", - "name" : "SplitOnMatchesIsNullSecond", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "287", - "s" : [ { - "value" : [ "","define ","SplitOnMatchesIsNullSecond",": " ] - }, { - "r" : "296", - "s" : [ { - "value" : [ "SplitOnMatches","(" ] - }, { - "r" : "288", - "s" : [ { - "value" : [ "'12three'" ] - } ] - }, { - "r" : "290", - "value" : [ ", ","null",")" ] - } ] - } ] - } - } ], - "resultTypeSpecifier" : { - "localId" : "302", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "303", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } - }, - "expression" : { - "localId" : "296", - "type" : "SplitOnMatches", - "resultTypeSpecifier" : { - "localId" : "300", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "301", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } - }, - "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" - } ], - "stringToSplit" : { - "localId" : "288", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "12three", - "type" : "Literal" - }, - "separatorPattern" : { - "localId" : "297", - "asType" : "{urn:hl7-org:elm-types:r1}String", - "type" : "As", - "signature" : [ ], - "operand" : { - "localId" : "290", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - } - } - } - }, { - "localId" : "306", - "name" : "SplitOnMatchesAllNull", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "306", - "s" : [ { - "value" : [ "","define ","SplitOnMatchesAllNull",": " ] - }, { - "r" : "315", - "s" : [ { - "r" : "307", - "value" : [ "SplitOnMatches","(","null",", ","null",")" ] - } ] - } ] - } - } ], - "resultTypeSpecifier" : { - "localId" : "322", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "323", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } - }, - "expression" : { - "localId" : "315", - "type" : "SplitOnMatches", - "resultTypeSpecifier" : { - "localId" : "320", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "321", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } - }, - "signature" : [ { - "localId" : "318", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "319", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } ], - "stringToSplit" : { - "localId" : "316", - "asType" : "{urn:hl7-org:elm-types:r1}String", - "type" : "As", - "signature" : [ ], - "operand" : { - "localId" : "307", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - } - }, - "separatorPattern" : { - "localId" : "317", - "asType" : "{urn:hl7-org:elm-types:r1}String", - "type" : "As", - "signature" : [ ], - "operand" : { - "localId" : "308", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - } - } - } - } ] - } - } -} - -/* Length -library TestSnippet version '1' -using Simple version '1.0.0' -context Patient -define ElevenLetters: Length('Hello World') -define NullString: Length(null as String) -*/ - -module.exports['Length'] = { - "library" : { - "localId" : "0", - "annotation" : [ { - "translatorVersion" : "3.27.0", - "translatorOptions" : "EnableDateRangeOptimization,EnableAnnotations,EnableResultTypes", - "signatureLevel" : "All", - "type" : "CqlToElmInfo" - }, { - "type" : "Annotation", - "s" : { - "r" : "224", - "s" : [ { - "value" : [ "","library TestSnippet version '1'" ] - } ] - } - } ], - "identifier" : { - "id" : "TestSnippet", - "version" : "1" - }, - "schemaIdentifier" : { - "id" : "urn:hl7-org:elm", - "version" : "r1" - }, - "usings" : { - "def" : [ { - "localId" : "1", - "localIdentifier" : "System", - "uri" : "urn:hl7-org:elm-types:r1" - }, { - "localId" : "206", - "localIdentifier" : "Simple", - "uri" : "https://github.com/cqframework/cql-execution/simple", - "version" : "1.0.0", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "206", - "s" : [ { - "value" : [ "","using " ] - }, { - "s" : [ { - "value" : [ "Simple" ] - } ] - }, { - "value" : [ " version '1.0.0'" ] - } ] - } - } ] - } ] - }, - "contexts" : { - "def" : [ { - "localId" : "211", - "name" : "Patient" - } ] - }, - "statements" : { - "def" : [ { - "localId" : "209", - "name" : "Patient", - "context" : "Patient", - "expression" : { - "localId" : "210", - "type" : "SingletonFrom", - "signature" : [ ], - "operand" : { - "localId" : "208", - "dataType" : "{https://github.com/cqframework/cql-execution/simple}Patient", - "type" : "Retrieve", - "include" : [ ], - "codeFilter" : [ ], - "dateFilter" : [ ], - "otherFilter" : [ ] - } - } - }, { - "localId" : "214", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "name" : "ElevenLetters", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "214", - "s" : [ { - "value" : [ "","define ","ElevenLetters",": " ] - }, { - "r" : "220", - "s" : [ { - "value" : [ "Length","(" ] - }, { - "r" : "215", - "s" : [ { - "value" : [ "'Hello World'" ] - } ] - }, { - "value" : [ ")" ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "220", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "Length", - "signature" : [ { - "localId" : "221", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "215", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "Hello World", - "type" : "Literal" - } - } - }, { - "localId" : "224", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "name" : "NullString", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "224", - "s" : [ { - "value" : [ "","define ","NullString",": " ] - }, { - "r" : "231", - "s" : [ { - "value" : [ "Length","(" ] - }, { - "r" : "225", - "s" : [ { - "r" : "226", - "value" : [ "null"," as " ] - }, { - "r" : "227", - "s" : [ { - "value" : [ "String" ] - } ] - } ] - }, { - "value" : [ ")" ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "231", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "Length", - "signature" : [ { - "localId" : "232", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "225", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "strict" : false, - "type" : "As", - "signature" : [ ], - "operand" : { - "localId" : "226", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - }, - "asTypeSpecifier" : { - "localId" : "227", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } - } - } - } ] - } - } + } + } + } ] + } + } } /* Upper @@ -3976,259 +4492,283 @@ define NullString: Upper(null) */ module.exports['Upper'] = { - "library" : { - "localId" : "0", - "annotation" : [ { - "translatorVersion" : "3.27.0", - "translatorOptions" : "EnableDateRangeOptimization,EnableAnnotations,EnableResultTypes", - "signatureLevel" : "All", - "type" : "CqlToElmInfo" + "library" : { + "localId" : "0", + "annotation" : [ { + "type" : "CqlToElmInfo", + "translatorVersion" : "4.2.0", + "translatorOptions" : "EnableDateRangeOptimization,EnableAnnotations,EnableResultTypes", + "signatureLevel" : "All" + }, { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "244", + "s" : [ { + "value" : [ "", "library TestSnippet version '1'" ] + } ] + } + } ], + "identifier" : { + "id" : "TestSnippet", + "version" : "1" + }, + "schemaIdentifier" : { + "id" : "urn:hl7-org:elm", + "version" : "r1" + }, + "usings" : { + "def" : [ { + "localId" : "1", + "localIdentifier" : "System", + "uri" : "urn:hl7-org:elm-types:r1", + "annotation" : [ ] }, { - "type" : "Annotation", - "s" : { - "r" : "244", + "localId" : "206", + "localIdentifier" : "Simple", + "uri" : "https://github.com/cqframework/cql-execution/simple", + "version" : "1.0.0", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "206", "s" : [ { - "value" : [ "","library TestSnippet version '1'" ] + "value" : [ "", "using " ] + }, { + "s" : [ { + "value" : [ "Simple" ] + } ] + }, { + "value" : [ " version '1.0.0'" ] } ] - } - } ], - "identifier" : { - "id" : "TestSnippet", - "version" : "1" - }, - "schemaIdentifier" : { - "id" : "urn:hl7-org:elm", - "version" : "r1" - }, - "usings" : { - "def" : [ { - "localId" : "1", - "localIdentifier" : "System", - "uri" : "urn:hl7-org:elm-types:r1" - }, { - "localId" : "206", - "localIdentifier" : "Simple", - "uri" : "https://github.com/cqframework/cql-execution/simple", - "version" : "1.0.0", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "206", - "s" : [ { - "value" : [ "","using " ] - }, { - "s" : [ { - "value" : [ "Simple" ] - } ] - }, { - "value" : [ " version '1.0.0'" ] - } ] - } + } + } ] + } ] + }, + "contexts" : { + "def" : [ { + "localId" : "211", + "name" : "Patient", + "annotation" : [ ] + } ] + }, + "statements" : { + "def" : [ { + "localId" : "209", + "name" : "Patient", + "context" : "Patient", + "annotation" : [ ], + "expression" : { + "type" : "SingletonFrom", + "localId" : "210", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Retrieve", + "localId" : "208", + "dataType" : "{https://github.com/cqframework/cql-execution/simple}Patient", + "annotation" : [ ], + "include" : [ ], + "codeFilter" : [ ], + "dateFilter" : [ ], + "otherFilter" : [ ] + } + } + }, { + "localId" : "214", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "name" : "LowerC", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "214", + "s" : [ { + "value" : [ "", "define ", "LowerC", ": " ] + }, { + "r" : "220", + "s" : [ { + "value" : [ "Upper", "(" ] + }, { + "r" : "215", + "s" : [ { + "value" : [ "'abcdefg123'" ] + } ] + }, { + "value" : [ ")" ] + } ] } ] - } ] - }, - "contexts" : { - "def" : [ { - "localId" : "211", - "name" : "Patient" - } ] - }, - "statements" : { - "def" : [ { - "localId" : "209", - "name" : "Patient", - "context" : "Patient", - "expression" : { - "localId" : "210", - "type" : "SingletonFrom", - "signature" : [ ], - "operand" : { - "localId" : "208", - "dataType" : "{https://github.com/cqframework/cql-execution/simple}Patient", - "type" : "Retrieve", - "include" : [ ], - "codeFilter" : [ ], - "dateFilter" : [ ], - "otherFilter" : [ ] - } - } - }, { - "localId" : "214", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "name" : "LowerC", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "214", - "s" : [ { - "value" : [ "","define ","LowerC",": " ] - }, { - "r" : "220", - "s" : [ { - "value" : [ "Upper","(" ] - }, { - "r" : "215", - "s" : [ { - "value" : [ "'abcdefg123'" ] - } ] - }, { - "value" : [ ")" ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "220", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "type" : "Upper", - "signature" : [ { - "localId" : "221", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "215", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "abcdefg123", - "type" : "Literal" - } - } - }, { - "localId" : "224", + } + } ], + "expression" : { + "type" : "Upper", + "localId" : "220", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "221", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } ], + "operand" : { + "type" : "Literal", + "localId" : "215", "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "name" : "UpperC", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "224", - "s" : [ { - "value" : [ "","define ","UpperC",": " ] - }, { - "r" : "230", - "s" : [ { - "value" : [ "Upper","(" ] - }, { - "r" : "225", - "s" : [ { - "value" : [ "'ABCDEFG123'" ] - } ] - }, { - "value" : [ ")" ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "230", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "type" : "Upper", - "signature" : [ { - "localId" : "231", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "225", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "ABCDEFG123", - "type" : "Literal" - } - } - }, { - "localId" : "234", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "abcdefg123", + "annotation" : [ ] + } + } + }, { + "localId" : "224", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "name" : "UpperC", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "224", + "s" : [ { + "value" : [ "", "define ", "UpperC", ": " ] + }, { + "r" : "230", + "s" : [ { + "value" : [ "Upper", "(" ] + }, { + "r" : "225", + "s" : [ { + "value" : [ "'ABCDEFG123'" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Upper", + "localId" : "230", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "231", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } ], + "operand" : { + "type" : "Literal", + "localId" : "225", "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "name" : "CamelC", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "234", - "s" : [ { - "value" : [ "","define ","CamelC",": " ] - }, { - "r" : "240", - "s" : [ { - "value" : [ "Upper","(" ] - }, { - "r" : "235", - "s" : [ { - "value" : [ "'aBcDeFg123'" ] - } ] - }, { - "value" : [ ")" ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "240", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "type" : "Upper", - "signature" : [ { - "localId" : "241", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "235", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "aBcDeFg123", - "type" : "Literal" - } - } - }, { - "localId" : "244", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "ABCDEFG123", + "annotation" : [ ] + } + } + }, { + "localId" : "234", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "name" : "CamelC", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "234", + "s" : [ { + "value" : [ "", "define ", "CamelC", ": " ] + }, { + "r" : "240", + "s" : [ { + "value" : [ "Upper", "(" ] + }, { + "r" : "235", + "s" : [ { + "value" : [ "'aBcDeFg123'" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Upper", + "localId" : "240", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "241", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } ], + "operand" : { + "type" : "Literal", + "localId" : "235", "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "name" : "NullString", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "244", - "s" : [ { - "value" : [ "","define ","NullString",": " ] - }, { - "r" : "250", - "s" : [ { - "r" : "245", - "value" : [ "Upper","(","null",")" ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "250", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "type" : "Upper", - "signature" : [ { - "localId" : "252", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "251", - "asType" : "{urn:hl7-org:elm-types:r1}String", - "type" : "As", - "signature" : [ ], - "operand" : { - "localId" : "245", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - } - } + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "aBcDeFg123", + "annotation" : [ ] + } + } + }, { + "localId" : "244", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "name" : "NullString", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "244", + "s" : [ { + "value" : [ "", "define ", "NullString", ": " ] + }, { + "r" : "250", + "s" : [ { + "r" : "245", + "value" : [ "Upper", "(", "null", ")" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Upper", + "localId" : "250", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "252", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } ], + "operand" : { + "type" : "As", + "localId" : "251", + "asType" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Null", + "localId" : "245", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] } - } ] - } - } + } + } + } ] + } + } } /* Lower @@ -4242,259 +4782,283 @@ define NullString: Lower(null) */ module.exports['Lower'] = { - "library" : { - "localId" : "0", - "annotation" : [ { - "translatorVersion" : "3.27.0", - "translatorOptions" : "EnableDateRangeOptimization,EnableAnnotations,EnableResultTypes", - "signatureLevel" : "All", - "type" : "CqlToElmInfo" + "library" : { + "localId" : "0", + "annotation" : [ { + "type" : "CqlToElmInfo", + "translatorVersion" : "4.2.0", + "translatorOptions" : "EnableDateRangeOptimization,EnableAnnotations,EnableResultTypes", + "signatureLevel" : "All" + }, { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "244", + "s" : [ { + "value" : [ "", "library TestSnippet version '1'" ] + } ] + } + } ], + "identifier" : { + "id" : "TestSnippet", + "version" : "1" + }, + "schemaIdentifier" : { + "id" : "urn:hl7-org:elm", + "version" : "r1" + }, + "usings" : { + "def" : [ { + "localId" : "1", + "localIdentifier" : "System", + "uri" : "urn:hl7-org:elm-types:r1", + "annotation" : [ ] }, { - "type" : "Annotation", - "s" : { - "r" : "244", + "localId" : "206", + "localIdentifier" : "Simple", + "uri" : "https://github.com/cqframework/cql-execution/simple", + "version" : "1.0.0", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "206", "s" : [ { - "value" : [ "","library TestSnippet version '1'" ] + "value" : [ "", "using " ] + }, { + "s" : [ { + "value" : [ "Simple" ] + } ] + }, { + "value" : [ " version '1.0.0'" ] } ] - } - } ], - "identifier" : { - "id" : "TestSnippet", - "version" : "1" - }, - "schemaIdentifier" : { - "id" : "urn:hl7-org:elm", - "version" : "r1" - }, - "usings" : { - "def" : [ { - "localId" : "1", - "localIdentifier" : "System", - "uri" : "urn:hl7-org:elm-types:r1" - }, { - "localId" : "206", - "localIdentifier" : "Simple", - "uri" : "https://github.com/cqframework/cql-execution/simple", - "version" : "1.0.0", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "206", - "s" : [ { - "value" : [ "","using " ] - }, { - "s" : [ { - "value" : [ "Simple" ] - } ] - }, { - "value" : [ " version '1.0.0'" ] - } ] - } + } + } ] + } ] + }, + "contexts" : { + "def" : [ { + "localId" : "211", + "name" : "Patient", + "annotation" : [ ] + } ] + }, + "statements" : { + "def" : [ { + "localId" : "209", + "name" : "Patient", + "context" : "Patient", + "annotation" : [ ], + "expression" : { + "type" : "SingletonFrom", + "localId" : "210", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Retrieve", + "localId" : "208", + "dataType" : "{https://github.com/cqframework/cql-execution/simple}Patient", + "annotation" : [ ], + "include" : [ ], + "codeFilter" : [ ], + "dateFilter" : [ ], + "otherFilter" : [ ] + } + } + }, { + "localId" : "214", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "name" : "LowerC", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "214", + "s" : [ { + "value" : [ "", "define ", "LowerC", ": " ] + }, { + "r" : "220", + "s" : [ { + "value" : [ "Lower", "(" ] + }, { + "r" : "215", + "s" : [ { + "value" : [ "'abcdefg123'" ] + } ] + }, { + "value" : [ ")" ] + } ] } ] - } ] - }, - "contexts" : { - "def" : [ { - "localId" : "211", - "name" : "Patient" - } ] - }, - "statements" : { - "def" : [ { - "localId" : "209", - "name" : "Patient", - "context" : "Patient", - "expression" : { - "localId" : "210", - "type" : "SingletonFrom", - "signature" : [ ], - "operand" : { - "localId" : "208", - "dataType" : "{https://github.com/cqframework/cql-execution/simple}Patient", - "type" : "Retrieve", - "include" : [ ], - "codeFilter" : [ ], - "dateFilter" : [ ], - "otherFilter" : [ ] - } - } - }, { - "localId" : "214", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "name" : "LowerC", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "214", - "s" : [ { - "value" : [ "","define ","LowerC",": " ] - }, { - "r" : "220", - "s" : [ { - "value" : [ "Lower","(" ] - }, { - "r" : "215", - "s" : [ { - "value" : [ "'abcdefg123'" ] - } ] - }, { - "value" : [ ")" ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "220", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "type" : "Lower", - "signature" : [ { - "localId" : "221", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "215", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "abcdefg123", - "type" : "Literal" - } - } - }, { - "localId" : "224", + } + } ], + "expression" : { + "type" : "Lower", + "localId" : "220", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "221", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } ], + "operand" : { + "type" : "Literal", + "localId" : "215", "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "name" : "UpperC", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "224", - "s" : [ { - "value" : [ "","define ","UpperC",": " ] - }, { - "r" : "230", - "s" : [ { - "value" : [ "Lower","(" ] - }, { - "r" : "225", - "s" : [ { - "value" : [ "'ABCDEFG123'" ] - } ] - }, { - "value" : [ ")" ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "230", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "type" : "Lower", - "signature" : [ { - "localId" : "231", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "225", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "ABCDEFG123", - "type" : "Literal" - } - } - }, { - "localId" : "234", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "abcdefg123", + "annotation" : [ ] + } + } + }, { + "localId" : "224", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "name" : "UpperC", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "224", + "s" : [ { + "value" : [ "", "define ", "UpperC", ": " ] + }, { + "r" : "230", + "s" : [ { + "value" : [ "Lower", "(" ] + }, { + "r" : "225", + "s" : [ { + "value" : [ "'ABCDEFG123'" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Lower", + "localId" : "230", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "231", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } ], + "operand" : { + "type" : "Literal", + "localId" : "225", "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "name" : "CamelC", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "234", - "s" : [ { - "value" : [ "","define ","CamelC",": " ] - }, { - "r" : "240", - "s" : [ { - "value" : [ "Lower","(" ] - }, { - "r" : "235", - "s" : [ { - "value" : [ "'aBcDeFg123'" ] - } ] - }, { - "value" : [ ")" ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "240", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "type" : "Lower", - "signature" : [ { - "localId" : "241", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "235", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "aBcDeFg123", - "type" : "Literal" - } - } - }, { - "localId" : "244", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "ABCDEFG123", + "annotation" : [ ] + } + } + }, { + "localId" : "234", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "name" : "CamelC", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "234", + "s" : [ { + "value" : [ "", "define ", "CamelC", ": " ] + }, { + "r" : "240", + "s" : [ { + "value" : [ "Lower", "(" ] + }, { + "r" : "235", + "s" : [ { + "value" : [ "'aBcDeFg123'" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Lower", + "localId" : "240", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "241", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } ], + "operand" : { + "type" : "Literal", + "localId" : "235", "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "name" : "NullString", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "244", - "s" : [ { - "value" : [ "","define ","NullString",": " ] - }, { - "r" : "250", - "s" : [ { - "r" : "245", - "value" : [ "Lower","(","null",")" ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "250", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "type" : "Lower", - "signature" : [ { - "localId" : "252", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "251", - "asType" : "{urn:hl7-org:elm-types:r1}String", - "type" : "As", - "signature" : [ ], - "operand" : { - "localId" : "245", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - } - } + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "aBcDeFg123", + "annotation" : [ ] + } + } + }, { + "localId" : "244", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "name" : "NullString", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "244", + "s" : [ { + "value" : [ "", "define ", "NullString", ": " ] + }, { + "r" : "250", + "s" : [ { + "r" : "245", + "value" : [ "Lower", "(", "null", ")" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Lower", + "localId" : "250", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "252", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } ], + "operand" : { + "type" : "As", + "localId" : "251", + "asType" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Null", + "localId" : "245", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] } - } ] - } - } + } + } + } ] + } + } } /* Indexer @@ -4509,378 +5073,418 @@ define NullIndex: 'HelloWorld'[null] */ module.exports['Indexer'] = { - "library" : { - "localId" : "0", - "annotation" : [ { - "translatorVersion" : "3.27.0", - "translatorOptions" : "EnableDateRangeOptimization,EnableAnnotations,EnableResultTypes", - "signatureLevel" : "All", - "type" : "CqlToElmInfo" + "library" : { + "localId" : "0", + "annotation" : [ { + "type" : "CqlToElmInfo", + "translatorVersion" : "4.2.0", + "translatorOptions" : "EnableDateRangeOptimization,EnableAnnotations,EnableResultTypes", + "signatureLevel" : "All" + }, { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "251", + "s" : [ { + "value" : [ "", "library TestSnippet version '1'" ] + } ] + } + } ], + "identifier" : { + "id" : "TestSnippet", + "version" : "1" + }, + "schemaIdentifier" : { + "id" : "urn:hl7-org:elm", + "version" : "r1" + }, + "usings" : { + "def" : [ { + "localId" : "1", + "localIdentifier" : "System", + "uri" : "urn:hl7-org:elm-types:r1", + "annotation" : [ ] }, { - "type" : "Annotation", - "s" : { - "r" : "251", + "localId" : "206", + "localIdentifier" : "Simple", + "uri" : "https://github.com/cqframework/cql-execution/simple", + "version" : "1.0.0", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "206", "s" : [ { - "value" : [ "","library TestSnippet version '1'" ] + "value" : [ "", "using " ] + }, { + "s" : [ { + "value" : [ "Simple" ] + } ] + }, { + "value" : [ " version '1.0.0'" ] } ] - } - } ], - "identifier" : { - "id" : "TestSnippet", - "version" : "1" - }, - "schemaIdentifier" : { - "id" : "urn:hl7-org:elm", - "version" : "r1" - }, - "usings" : { - "def" : [ { - "localId" : "1", - "localIdentifier" : "System", - "uri" : "urn:hl7-org:elm-types:r1" - }, { - "localId" : "206", - "localIdentifier" : "Simple", - "uri" : "https://github.com/cqframework/cql-execution/simple", - "version" : "1.0.0", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "206", - "s" : [ { - "value" : [ "","using " ] - }, { - "s" : [ { - "value" : [ "Simple" ] - } ] - }, { - "value" : [ " version '1.0.0'" ] - } ] - } + } + } ] + } ] + }, + "contexts" : { + "def" : [ { + "localId" : "211", + "name" : "Patient", + "annotation" : [ ] + } ] + }, + "statements" : { + "def" : [ { + "localId" : "209", + "name" : "Patient", + "context" : "Patient", + "annotation" : [ ], + "expression" : { + "type" : "SingletonFrom", + "localId" : "210", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Retrieve", + "localId" : "208", + "dataType" : "{https://github.com/cqframework/cql-execution/simple}Patient", + "annotation" : [ ], + "include" : [ ], + "codeFilter" : [ ], + "dateFilter" : [ ], + "otherFilter" : [ ] + } + } + }, { + "localId" : "214", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "name" : "HelloWorldSix", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "214", + "s" : [ { + "value" : [ "", "define ", "HelloWorldSix", ": " ] + }, { + "r" : "215", + "s" : [ { + "r" : "216", + "s" : [ { + "value" : [ "'HelloWorld'" ] + } ] + }, { + "r" : "218", + "value" : [ "[", "6", "]" ] + } ] } ] - } ] - }, - "contexts" : { - "def" : [ { - "localId" : "211", - "name" : "Patient" - } ] - }, - "statements" : { - "def" : [ { - "localId" : "209", - "name" : "Patient", - "context" : "Patient", - "expression" : { - "localId" : "210", - "type" : "SingletonFrom", - "signature" : [ ], - "operand" : { - "localId" : "208", - "dataType" : "{https://github.com/cqframework/cql-execution/simple}Patient", - "type" : "Retrieve", - "include" : [ ], - "codeFilter" : [ ], - "dateFilter" : [ ], - "otherFilter" : [ ] - } - } - }, { - "localId" : "214", + } + } ], + "expression" : { + "type" : "Indexer", + "localId" : "215", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "219", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "220", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "Literal", + "localId" : "216", "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "name" : "HelloWorldSix", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "214", - "s" : [ { - "value" : [ "","define ","HelloWorldSix",": " ] - }, { - "r" : "215", - "s" : [ { - "r" : "216", - "s" : [ { - "value" : [ "'HelloWorld'" ] - } ] - }, { - "r" : "218", - "value" : [ "[","6","]" ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "215", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "type" : "Indexer", - "signature" : [ { - "localId" : "219", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "220", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "216", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "HelloWorld", - "type" : "Literal" - }, { - "localId" : "218", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "6", - "type" : "Literal" - } ] - } - }, { - "localId" : "223", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "HelloWorld", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "218", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "6", + "annotation" : [ ] + } ] + } + }, { + "localId" : "223", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "name" : "HelloWorldZero", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "223", + "s" : [ { + "value" : [ "", "define ", "HelloWorldZero", ": " ] + }, { + "r" : "224", + "s" : [ { + "r" : "225", + "s" : [ { + "value" : [ "'HelloWorld'" ] + } ] + }, { + "r" : "227", + "value" : [ "[", "0", "]" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Indexer", + "localId" : "224", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "228", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "229", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "Literal", + "localId" : "225", "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "name" : "HelloWorldZero", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "223", - "s" : [ { - "value" : [ "","define ","HelloWorldZero",": " ] - }, { - "r" : "224", - "s" : [ { - "r" : "225", - "s" : [ { - "value" : [ "'HelloWorld'" ] - } ] - }, { - "r" : "227", - "value" : [ "[","0","]" ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "224", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "type" : "Indexer", - "signature" : [ { - "localId" : "228", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "229", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "225", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "HelloWorld", - "type" : "Literal" - }, { - "localId" : "227", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } ] - } - }, { - "localId" : "232", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "HelloWorld", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "227", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } ] + } + }, { + "localId" : "232", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "name" : "HelloWorldTwenty", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "232", + "s" : [ { + "value" : [ "", "define ", "HelloWorldTwenty", ": " ] + }, { + "r" : "233", + "s" : [ { + "r" : "234", + "s" : [ { + "value" : [ "'HelloWorld'" ] + } ] + }, { + "r" : "236", + "value" : [ "[", "20", "]" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Indexer", + "localId" : "233", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "237", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "238", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "Literal", + "localId" : "234", "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "name" : "HelloWorldTwenty", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "232", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "HelloWorld", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "236", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "20", + "annotation" : [ ] + } ] + } + }, { + "localId" : "241", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "name" : "NullString", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "241", + "s" : [ { + "value" : [ "", "define ", "NullString", ": " ] + }, { + "r" : "242", + "s" : [ { + "r" : "243", + "s" : [ { + "value" : [ "(" ] + }, { + "r" : "243", "s" : [ { - "value" : [ "","define ","HelloWorldTwenty",": " ] + "r" : "244", + "value" : [ "null", " as " ] }, { - "r" : "233", - "s" : [ { - "r" : "234", - "s" : [ { - "value" : [ "'HelloWorld'" ] - } ] - }, { - "r" : "236", - "value" : [ "[","20","]" ] - } ] + "r" : "245", + "s" : [ { + "value" : [ "String" ] + } ] } ] - } - } ], - "expression" : { - "localId" : "233", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "type" : "Indexer", - "signature" : [ { - "localId" : "237", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "238", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "234", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "HelloWorld", - "type" : "Literal" - }, { - "localId" : "236", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "20", - "type" : "Literal" - } ] - } - }, { - "localId" : "241", + }, { + "value" : [ ")" ] + } ] + }, { + "r" : "246", + "value" : [ "[", "4", "]" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Indexer", + "localId" : "242", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "247", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "248", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "As", + "localId" : "243", "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "name" : "NullString", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "241", - "s" : [ { - "value" : [ "","define ","NullString",": " ] - }, { - "r" : "242", - "s" : [ { - "r" : "243", - "s" : [ { - "value" : [ "(" ] - }, { - "r" : "243", - "s" : [ { - "r" : "244", - "value" : [ "null"," as " ] - }, { - "r" : "245", - "s" : [ { - "value" : [ "String" ] - } ] - } ] - }, { - "value" : [ ")" ] - } ] - }, { - "r" : "246", - "value" : [ "[","4","]" ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "242", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "type" : "Indexer", - "signature" : [ { - "localId" : "247", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "248", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "243", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "strict" : false, - "type" : "As", - "signature" : [ ], - "operand" : { - "localId" : "244", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - }, - "asTypeSpecifier" : { - "localId" : "245", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "246", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "4", - "type" : "Literal" - } ] + "strict" : false, + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Null", + "localId" : "244", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + }, + "asTypeSpecifier" : { + "type" : "NamedTypeSpecifier", + "localId" : "245", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] } - }, { - "localId" : "251", + }, { + "type" : "Literal", + "localId" : "246", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "4", + "annotation" : [ ] + } ] + } + }, { + "localId" : "251", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "name" : "NullIndex", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "251", + "s" : [ { + "value" : [ "", "define ", "NullIndex", ": " ] + }, { + "r" : "252", + "s" : [ { + "r" : "253", + "s" : [ { + "value" : [ "'HelloWorld'" ] + } ] + }, { + "r" : "255", + "value" : [ "[", "null", "]" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Indexer", + "localId" : "252", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "257", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "258", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "Literal", + "localId" : "253", "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "name" : "NullIndex", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "251", - "s" : [ { - "value" : [ "","define ","NullIndex",": " ] - }, { - "r" : "252", - "s" : [ { - "r" : "253", - "s" : [ { - "value" : [ "'HelloWorld'" ] - } ] - }, { - "r" : "255", - "value" : [ "[","null","]" ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "252", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "type" : "Indexer", - "signature" : [ { - "localId" : "257", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "258", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "253", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "HelloWorld", - "type" : "Literal" - }, { - "localId" : "256", - "asType" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "As", - "signature" : [ ], - "operand" : { - "localId" : "255", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - } - } ] + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "HelloWorld", + "annotation" : [ ] + }, { + "type" : "As", + "localId" : "256", + "asType" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Null", + "localId" : "255", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] } - } ] - } - } + } ] + } + } ] + } + } } /* Matches @@ -4895,381 +5499,422 @@ define MatchesAllNull: Matches(null, null) */ module.exports['Matches'] = { - "library" : { - "localId" : "0", - "annotation" : [ { - "translatorVersion" : "3.27.0", - "translatorOptions" : "EnableDateRangeOptimization,EnableAnnotations,EnableResultTypes", - "signatureLevel" : "All", - "type" : "CqlToElmInfo" + "library" : { + "localId" : "0", + "annotation" : [ { + "type" : "CqlToElmInfo", + "translatorVersion" : "4.2.0", + "translatorOptions" : "EnableDateRangeOptimization,EnableAnnotations,EnableResultTypes", + "signatureLevel" : "All" + }, { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "272", + "s" : [ { + "value" : [ "", "library TestSnippet version '1'" ] + } ] + } + } ], + "identifier" : { + "id" : "TestSnippet", + "version" : "1" + }, + "schemaIdentifier" : { + "id" : "urn:hl7-org:elm", + "version" : "r1" + }, + "usings" : { + "def" : [ { + "localId" : "1", + "localIdentifier" : "System", + "uri" : "urn:hl7-org:elm-types:r1", + "annotation" : [ ] }, { - "type" : "Annotation", - "s" : { - "r" : "272", + "localId" : "206", + "localIdentifier" : "Simple", + "uri" : "https://github.com/cqframework/cql-execution/simple", + "version" : "1.0.0", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "206", "s" : [ { - "value" : [ "","library TestSnippet version '1'" ] + "value" : [ "", "using " ] + }, { + "s" : [ { + "value" : [ "Simple" ] + } ] + }, { + "value" : [ " version '1.0.0'" ] } ] - } - } ], - "identifier" : { - "id" : "TestSnippet", - "version" : "1" - }, - "schemaIdentifier" : { - "id" : "urn:hl7-org:elm", - "version" : "r1" - }, - "usings" : { - "def" : [ { - "localId" : "1", - "localIdentifier" : "System", - "uri" : "urn:hl7-org:elm-types:r1" - }, { - "localId" : "206", - "localIdentifier" : "Simple", - "uri" : "https://github.com/cqframework/cql-execution/simple", - "version" : "1.0.0", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "206", - "s" : [ { - "value" : [ "","using " ] - }, { - "s" : [ { - "value" : [ "Simple" ] - } ] - }, { - "value" : [ " version '1.0.0'" ] - } ] - } + } + } ] + } ] + }, + "contexts" : { + "def" : [ { + "localId" : "211", + "name" : "Patient", + "annotation" : [ ] + } ] + }, + "statements" : { + "def" : [ { + "localId" : "209", + "name" : "Patient", + "context" : "Patient", + "annotation" : [ ], + "expression" : { + "type" : "SingletonFrom", + "localId" : "210", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Retrieve", + "localId" : "208", + "dataType" : "{https://github.com/cqframework/cql-execution/simple}Patient", + "annotation" : [ ], + "include" : [ ], + "codeFilter" : [ ], + "dateFilter" : [ ], + "otherFilter" : [ ] + } + } + }, { + "localId" : "214", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "MatchesTrue", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "214", + "s" : [ { + "value" : [ "", "define ", "MatchesTrue", ": " ] + }, { + "r" : "223", + "s" : [ { + "value" : [ "Matches", "(" ] + }, { + "r" : "215", + "s" : [ { + "value" : [ "'1,2three'" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "217", + "s" : [ { + "value" : [ "'\\\\d,\\\\d\\\\w+'" ] + } ] + }, { + "value" : [ ")" ] + } ] } ] - } ] - }, - "contexts" : { - "def" : [ { - "localId" : "211", - "name" : "Patient" - } ] - }, - "statements" : { - "def" : [ { - "localId" : "209", - "name" : "Patient", - "context" : "Patient", - "expression" : { - "localId" : "210", - "type" : "SingletonFrom", - "signature" : [ ], - "operand" : { - "localId" : "208", - "dataType" : "{https://github.com/cqframework/cql-execution/simple}Patient", - "type" : "Retrieve", - "include" : [ ], - "codeFilter" : [ ], - "dateFilter" : [ ], - "otherFilter" : [ ] - } - } - }, { - "localId" : "214", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "MatchesTrue", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "214", - "s" : [ { - "value" : [ "","define ","MatchesTrue",": " ] - }, { - "r" : "223", - "s" : [ { - "value" : [ "Matches","(" ] - }, { - "r" : "215", - "s" : [ { - "value" : [ "'1,2three'" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "217", - "s" : [ { - "value" : [ "'\\\\d,\\\\d\\\\w+'" ] - } ] - }, { - "value" : [ ")" ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "223", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "Matches", - "signature" : [ { - "localId" : "224", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "225", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "215", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "1,2three", - "type" : "Literal" - }, { - "localId" : "217", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "\\d,\\d\\w+", - "type" : "Literal" - } ] - } - }, { - "localId" : "228", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "MatchesFalse", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "228", - "s" : [ { - "value" : [ "","define ","MatchesFalse",": " ] - }, { - "r" : "237", - "s" : [ { - "value" : [ "Matches","(" ] - }, { - "r" : "229", - "s" : [ { - "value" : [ "'three'" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "231", - "s" : [ { - "value" : [ "'\\\\d'" ] - } ] - }, { - "value" : [ ")" ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "237", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "Matches", - "signature" : [ { - "localId" : "238", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "239", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "229", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "three", - "type" : "Literal" - }, { - "localId" : "231", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "\\d", - "type" : "Literal" - } ] + } + } ], + "expression" : { + "type" : "Matches", + "localId" : "223", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "224", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "225", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "Literal", + "localId" : "215", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "1,2three", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "217", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "\\d,\\d\\w+", + "annotation" : [ ] + } ] + } + }, { + "localId" : "228", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "MatchesFalse", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "228", + "s" : [ { + "value" : [ "", "define ", "MatchesFalse", ": " ] + }, { + "r" : "237", + "s" : [ { + "value" : [ "Matches", "(" ] + }, { + "r" : "229", + "s" : [ { + "value" : [ "'three'" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "231", + "s" : [ { + "value" : [ "'\\\\d'" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Matches", + "localId" : "237", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "238", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "239", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "Literal", + "localId" : "229", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "three", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "231", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "\\d", + "annotation" : [ ] + } ] + } + }, { + "localId" : "242", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "MatchesIsNullFirst", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "242", + "s" : [ { + "value" : [ "", "define ", "MatchesIsNullFirst", ": " ] + }, { + "r" : "251", + "s" : [ { + "r" : "243", + "value" : [ "Matches", "(", "null", ", " ] + }, { + "r" : "244", + "s" : [ { + "value" : [ "'\\\\w+'" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Matches", + "localId" : "251", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "253", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "254", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "As", + "localId" : "252", + "asType" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Null", + "localId" : "243", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] } - }, { - "localId" : "242", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "MatchesIsNullFirst", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "242", - "s" : [ { - "value" : [ "","define ","MatchesIsNullFirst",": " ] - }, { - "r" : "251", - "s" : [ { - "r" : "243", - "value" : [ "Matches","(","null",", " ] - }, { - "r" : "244", - "s" : [ { - "value" : [ "'\\\\w+'" ] - } ] - }, { - "value" : [ ")" ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "251", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "Matches", - "signature" : [ { - "localId" : "253", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "254", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "252", - "asType" : "{urn:hl7-org:elm-types:r1}String", - "type" : "As", - "signature" : [ ], - "operand" : { - "localId" : "243", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - } - }, { - "localId" : "244", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "\\w+", - "type" : "Literal" - } ] + }, { + "type" : "Literal", + "localId" : "244", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "\\w+", + "annotation" : [ ] + } ] + } + }, { + "localId" : "257", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "MatchesIsNullSecond", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "257", + "s" : [ { + "value" : [ "", "define ", "MatchesIsNullSecond", ": " ] + }, { + "r" : "266", + "s" : [ { + "value" : [ "Matches", "(" ] + }, { + "r" : "258", + "s" : [ { + "value" : [ "'12three'" ] + } ] + }, { + "r" : "260", + "value" : [ ", ", "null", ")" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Matches", + "localId" : "266", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "268", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "269", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "Literal", + "localId" : "258", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "12three", + "annotation" : [ ] + }, { + "type" : "As", + "localId" : "267", + "asType" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Null", + "localId" : "260", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] } - }, { - "localId" : "257", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "MatchesIsNullSecond", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "257", - "s" : [ { - "value" : [ "","define ","MatchesIsNullSecond",": " ] - }, { - "r" : "266", - "s" : [ { - "value" : [ "Matches","(" ] - }, { - "r" : "258", - "s" : [ { - "value" : [ "'12three'" ] - } ] - }, { - "r" : "260", - "value" : [ ", ","null",")" ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "266", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "Matches", - "signature" : [ { - "localId" : "268", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "269", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "258", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "12three", - "type" : "Literal" - }, { - "localId" : "267", - "asType" : "{urn:hl7-org:elm-types:r1}String", - "type" : "As", - "signature" : [ ], - "operand" : { - "localId" : "260", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - } - } ] + } ] + } + }, { + "localId" : "272", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "MatchesAllNull", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "272", + "s" : [ { + "value" : [ "", "define ", "MatchesAllNull", ": " ] + }, { + "r" : "281", + "s" : [ { + "r" : "273", + "value" : [ "Matches", "(", "null", ", ", "null", ")" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Matches", + "localId" : "281", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "284", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "285", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "As", + "localId" : "282", + "asType" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Null", + "localId" : "273", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] } - }, { - "localId" : "272", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "MatchesAllNull", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "272", - "s" : [ { - "value" : [ "","define ","MatchesAllNull",": " ] - }, { - "r" : "281", - "s" : [ { - "r" : "273", - "value" : [ "Matches","(","null",", ","null",")" ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "281", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "Matches", - "signature" : [ { - "localId" : "284", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "285", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "282", - "asType" : "{urn:hl7-org:elm-types:r1}String", - "type" : "As", - "signature" : [ ], - "operand" : { - "localId" : "273", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - } - }, { - "localId" : "283", - "asType" : "{urn:hl7-org:elm-types:r1}String", - "type" : "As", - "signature" : [ ], - "operand" : { - "localId" : "274", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - } - } ] + }, { + "type" : "As", + "localId" : "283", + "asType" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Null", + "localId" : "274", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] } - } ] - } - } + } ] + } + } ] + } + } } /* PositionOf @@ -5283,329 +5928,362 @@ define NullString: PositionOf('cde', null) */ module.exports['PositionOf'] = { - "library" : { - "localId" : "0", - "annotation" : [ { - "translatorVersion" : "3.27.0", - "translatorOptions" : "EnableDateRangeOptimization,EnableAnnotations,EnableResultTypes", - "signatureLevel" : "All", - "type" : "CqlToElmInfo" + "library" : { + "localId" : "0", + "annotation" : [ { + "type" : "CqlToElmInfo", + "translatorVersion" : "4.2.0", + "translatorOptions" : "EnableDateRangeOptimization,EnableAnnotations,EnableResultTypes", + "signatureLevel" : "All" + }, { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "257", + "s" : [ { + "value" : [ "", "library TestSnippet version '1'" ] + } ] + } + } ], + "identifier" : { + "id" : "TestSnippet", + "version" : "1" + }, + "schemaIdentifier" : { + "id" : "urn:hl7-org:elm", + "version" : "r1" + }, + "usings" : { + "def" : [ { + "localId" : "1", + "localIdentifier" : "System", + "uri" : "urn:hl7-org:elm-types:r1", + "annotation" : [ ] }, { - "type" : "Annotation", - "s" : { - "r" : "257", + "localId" : "206", + "localIdentifier" : "Simple", + "uri" : "https://github.com/cqframework/cql-execution/simple", + "version" : "1.0.0", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "206", "s" : [ { - "value" : [ "","library TestSnippet version '1'" ] + "value" : [ "", "using " ] + }, { + "s" : [ { + "value" : [ "Simple" ] + } ] + }, { + "value" : [ " version '1.0.0'" ] } ] - } - } ], - "identifier" : { - "id" : "TestSnippet", - "version" : "1" - }, - "schemaIdentifier" : { - "id" : "urn:hl7-org:elm", - "version" : "r1" - }, - "usings" : { - "def" : [ { - "localId" : "1", - "localIdentifier" : "System", - "uri" : "urn:hl7-org:elm-types:r1" - }, { - "localId" : "206", - "localIdentifier" : "Simple", - "uri" : "https://github.com/cqframework/cql-execution/simple", - "version" : "1.0.0", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "206", - "s" : [ { - "value" : [ "","using " ] - }, { - "s" : [ { - "value" : [ "Simple" ] - } ] - }, { - "value" : [ " version '1.0.0'" ] - } ] - } + } + } ] + } ] + }, + "contexts" : { + "def" : [ { + "localId" : "211", + "name" : "Patient", + "annotation" : [ ] + } ] + }, + "statements" : { + "def" : [ { + "localId" : "209", + "name" : "Patient", + "context" : "Patient", + "annotation" : [ ], + "expression" : { + "type" : "SingletonFrom", + "localId" : "210", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Retrieve", + "localId" : "208", + "dataType" : "{https://github.com/cqframework/cql-execution/simple}Patient", + "annotation" : [ ], + "include" : [ ], + "codeFilter" : [ ], + "dateFilter" : [ ], + "otherFilter" : [ ] + } + } + }, { + "localId" : "214", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "name" : "Found", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "214", + "s" : [ { + "value" : [ "", "define ", "Found", ": " ] + }, { + "r" : "223", + "s" : [ { + "value" : [ "PositionOf", "(" ] + }, { + "r" : "215", + "s" : [ { + "value" : [ "'cde'" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "217", + "s" : [ { + "value" : [ "'abcdefg'" ] + } ] + }, { + "value" : [ ")" ] + } ] } ] - } ] - }, - "contexts" : { - "def" : [ { - "localId" : "211", - "name" : "Patient" - } ] - }, - "statements" : { - "def" : [ { - "localId" : "209", - "name" : "Patient", - "context" : "Patient", - "expression" : { - "localId" : "210", - "type" : "SingletonFrom", - "signature" : [ ], - "operand" : { - "localId" : "208", - "dataType" : "{https://github.com/cqframework/cql-execution/simple}Patient", - "type" : "Retrieve", - "include" : [ ], - "codeFilter" : [ ], - "dateFilter" : [ ], - "otherFilter" : [ ] - } - } - }, { - "localId" : "214", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "name" : "Found", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "214", - "s" : [ { - "value" : [ "","define ","Found",": " ] - }, { - "r" : "223", - "s" : [ { - "value" : [ "PositionOf","(" ] - }, { - "r" : "215", - "s" : [ { - "value" : [ "'cde'" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "217", - "s" : [ { - "value" : [ "'abcdefg'" ] - } ] - }, { - "value" : [ ")" ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "223", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "PositionOf", - "signature" : [ { - "localId" : "224", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "225", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } ], - "pattern" : { - "localId" : "215", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "cde", - "type" : "Literal" - }, - "string" : { - "localId" : "217", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "abcdefg", - "type" : "Literal" - } + } + } ], + "expression" : { + "type" : "PositionOf", + "localId" : "223", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "224", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "225", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } ], + "pattern" : { + "type" : "Literal", + "localId" : "215", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "cde", + "annotation" : [ ] + }, + "string" : { + "type" : "Literal", + "localId" : "217", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "abcdefg", + "annotation" : [ ] + } + } + }, { + "localId" : "228", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "name" : "NotFound", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "228", + "s" : [ { + "value" : [ "", "define ", "NotFound", ": " ] + }, { + "r" : "237", + "s" : [ { + "value" : [ "PositionOf", "(" ] + }, { + "r" : "229", + "s" : [ { + "value" : [ "'fgh'" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "231", + "s" : [ { + "value" : [ "'abcdefg'" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "PositionOf", + "localId" : "237", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "238", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "239", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } ], + "pattern" : { + "type" : "Literal", + "localId" : "229", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "fgh", + "annotation" : [ ] + }, + "string" : { + "type" : "Literal", + "localId" : "231", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "abcdefg", + "annotation" : [ ] + } + } + }, { + "localId" : "242", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "name" : "NullPattern", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "242", + "s" : [ { + "value" : [ "", "define ", "NullPattern", ": " ] + }, { + "r" : "251", + "s" : [ { + "r" : "243", + "value" : [ "PositionOf", "(", "null", ", " ] + }, { + "r" : "244", + "s" : [ { + "value" : [ "'abcdefg'" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "PositionOf", + "localId" : "251", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "253", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "254", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } ], + "pattern" : { + "type" : "As", + "localId" : "252", + "asType" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Null", + "localId" : "243", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] } - }, { - "localId" : "228", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "name" : "NotFound", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "228", - "s" : [ { - "value" : [ "","define ","NotFound",": " ] - }, { - "r" : "237", - "s" : [ { - "value" : [ "PositionOf","(" ] - }, { - "r" : "229", - "s" : [ { - "value" : [ "'fgh'" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "231", - "s" : [ { - "value" : [ "'abcdefg'" ] - } ] - }, { - "value" : [ ")" ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "237", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "PositionOf", - "signature" : [ { - "localId" : "238", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "239", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } ], - "pattern" : { - "localId" : "229", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "fgh", - "type" : "Literal" - }, - "string" : { - "localId" : "231", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "abcdefg", - "type" : "Literal" - } + }, + "string" : { + "type" : "Literal", + "localId" : "244", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "abcdefg", + "annotation" : [ ] + } + } + }, { + "localId" : "257", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "name" : "NullString", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "257", + "s" : [ { + "value" : [ "", "define ", "NullString", ": " ] + }, { + "r" : "266", + "s" : [ { + "value" : [ "PositionOf", "(" ] + }, { + "r" : "258", + "s" : [ { + "value" : [ "'cde'" ] + } ] + }, { + "r" : "260", + "value" : [ ", ", "null", ")" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "PositionOf", + "localId" : "266", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "268", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "269", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } ], + "pattern" : { + "type" : "Literal", + "localId" : "258", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "cde", + "annotation" : [ ] + }, + "string" : { + "type" : "As", + "localId" : "267", + "asType" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Null", + "localId" : "260", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] } - }, { - "localId" : "242", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "name" : "NullPattern", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "242", - "s" : [ { - "value" : [ "","define ","NullPattern",": " ] - }, { - "r" : "251", - "s" : [ { - "r" : "243", - "value" : [ "PositionOf","(","null",", " ] - }, { - "r" : "244", - "s" : [ { - "value" : [ "'abcdefg'" ] - } ] - }, { - "value" : [ ")" ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "251", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "PositionOf", - "signature" : [ { - "localId" : "253", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "254", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } ], - "pattern" : { - "localId" : "252", - "asType" : "{urn:hl7-org:elm-types:r1}String", - "type" : "As", - "signature" : [ ], - "operand" : { - "localId" : "243", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - } - }, - "string" : { - "localId" : "244", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "abcdefg", - "type" : "Literal" - } - } - }, { - "localId" : "257", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "name" : "NullString", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "257", - "s" : [ { - "value" : [ "","define ","NullString",": " ] - }, { - "r" : "266", - "s" : [ { - "value" : [ "PositionOf","(" ] - }, { - "r" : "258", - "s" : [ { - "value" : [ "'cde'" ] - } ] - }, { - "r" : "260", - "value" : [ ", ","null",")" ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "266", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "PositionOf", - "signature" : [ { - "localId" : "268", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "269", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } ], - "pattern" : { - "localId" : "258", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "cde", - "type" : "Literal" - }, - "string" : { - "localId" : "267", - "asType" : "{urn:hl7-org:elm-types:r1}String", - "type" : "As", - "signature" : [ ], - "operand" : { - "localId" : "260", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - } - } - } - } ] - } - } + } + } + } ] + } + } } /* LastPositionOf @@ -5619,329 +6297,362 @@ define NullString: LastPositionOf('ABCDE', null) // null */ module.exports['LastPositionOf'] = { - "library" : { - "localId" : "0", - "annotation" : [ { - "translatorVersion" : "3.27.0", - "translatorOptions" : "EnableDateRangeOptimization,EnableAnnotations,EnableResultTypes", - "signatureLevel" : "All", - "type" : "CqlToElmInfo" + "library" : { + "localId" : "0", + "annotation" : [ { + "type" : "CqlToElmInfo", + "translatorVersion" : "4.2.0", + "translatorOptions" : "EnableDateRangeOptimization,EnableAnnotations,EnableResultTypes", + "signatureLevel" : "All" + }, { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "257", + "s" : [ { + "value" : [ "", "library TestSnippet version '1'" ] + } ] + } + } ], + "identifier" : { + "id" : "TestSnippet", + "version" : "1" + }, + "schemaIdentifier" : { + "id" : "urn:hl7-org:elm", + "version" : "r1" + }, + "usings" : { + "def" : [ { + "localId" : "1", + "localIdentifier" : "System", + "uri" : "urn:hl7-org:elm-types:r1", + "annotation" : [ ] }, { - "type" : "Annotation", - "s" : { - "r" : "257", + "localId" : "206", + "localIdentifier" : "Simple", + "uri" : "https://github.com/cqframework/cql-execution/simple", + "version" : "1.0.0", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "206", "s" : [ { - "value" : [ "","library TestSnippet version '1'" ] + "value" : [ "", "using " ] + }, { + "s" : [ { + "value" : [ "Simple" ] + } ] + }, { + "value" : [ " version '1.0.0'" ] } ] - } - } ], - "identifier" : { - "id" : "TestSnippet", - "version" : "1" - }, - "schemaIdentifier" : { - "id" : "urn:hl7-org:elm", - "version" : "r1" - }, - "usings" : { - "def" : [ { - "localId" : "1", - "localIdentifier" : "System", - "uri" : "urn:hl7-org:elm-types:r1" - }, { - "localId" : "206", - "localIdentifier" : "Simple", - "uri" : "https://github.com/cqframework/cql-execution/simple", - "version" : "1.0.0", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "206", - "s" : [ { - "value" : [ "","using " ] - }, { - "s" : [ { - "value" : [ "Simple" ] - } ] - }, { - "value" : [ " version '1.0.0'" ] - } ] - } + } + } ] + } ] + }, + "contexts" : { + "def" : [ { + "localId" : "211", + "name" : "Patient", + "annotation" : [ ] + } ] + }, + "statements" : { + "def" : [ { + "localId" : "209", + "name" : "Patient", + "context" : "Patient", + "annotation" : [ ], + "expression" : { + "type" : "SingletonFrom", + "localId" : "210", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Retrieve", + "localId" : "208", + "dataType" : "{https://github.com/cqframework/cql-execution/simple}Patient", + "annotation" : [ ], + "include" : [ ], + "codeFilter" : [ ], + "dateFilter" : [ ], + "otherFilter" : [ ] + } + } + }, { + "localId" : "214", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "name" : "Found", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "214", + "s" : [ { + "value" : [ "", "define ", "Found", ": " ] + }, { + "r" : "223", + "s" : [ { + "value" : [ "LastPositionOf", "(" ] + }, { + "r" : "215", + "s" : [ { + "value" : [ "'B'" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "217", + "s" : [ { + "value" : [ "'ABCDEDCBA'" ] + } ] + }, { + "value" : [ ")" ] + } ] } ] - } ] - }, - "contexts" : { - "def" : [ { - "localId" : "211", - "name" : "Patient" - } ] - }, - "statements" : { - "def" : [ { - "localId" : "209", - "name" : "Patient", - "context" : "Patient", - "expression" : { - "localId" : "210", - "type" : "SingletonFrom", - "signature" : [ ], - "operand" : { - "localId" : "208", - "dataType" : "{https://github.com/cqframework/cql-execution/simple}Patient", - "type" : "Retrieve", - "include" : [ ], - "codeFilter" : [ ], - "dateFilter" : [ ], - "otherFilter" : [ ] - } - } - }, { - "localId" : "214", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "name" : "Found", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "214", - "s" : [ { - "value" : [ "","define ","Found",": " ] - }, { - "r" : "223", - "s" : [ { - "value" : [ "LastPositionOf","(" ] - }, { - "r" : "215", - "s" : [ { - "value" : [ "'B'" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "217", - "s" : [ { - "value" : [ "'ABCDEDCBA'" ] - } ] - }, { - "value" : [ ")" ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "223", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "LastPositionOf", - "signature" : [ { - "localId" : "224", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "225", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } ], - "pattern" : { - "localId" : "215", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "B", - "type" : "Literal" - }, - "string" : { - "localId" : "217", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "ABCDEDCBA", - "type" : "Literal" - } - } - }, { - "localId" : "228", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "name" : "NotFound", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "228", - "s" : [ { - "value" : [ "// 7\n","define ","NotFound",": " ] - }, { - "r" : "237", - "s" : [ { - "value" : [ "LastPositionOf","(" ] - }, { - "r" : "229", - "s" : [ { - "value" : [ "'XYZ'" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "231", - "s" : [ { - "value" : [ "'ABCDE'" ] - } ] - }, { - "value" : [ ")" ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "237", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "LastPositionOf", - "signature" : [ { - "localId" : "238", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "239", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } ], - "pattern" : { - "localId" : "229", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "XYZ", - "type" : "Literal" - }, - "string" : { - "localId" : "231", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "ABCDE", - "type" : "Literal" - } - } - }, { - "localId" : "242", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "name" : "NullPattern", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "242", - "s" : [ { - "value" : [ "// -1\n","define ","NullPattern",": " ] - }, { - "r" : "251", - "s" : [ { - "r" : "243", - "value" : [ "LastPositionOf","(","null",", " ] - }, { - "r" : "244", - "s" : [ { - "value" : [ "'ABCDE'" ] - } ] - }, { - "value" : [ ")" ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "251", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "LastPositionOf", - "signature" : [ { - "localId" : "253", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "254", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } ], - "pattern" : { - "localId" : "252", - "asType" : "{urn:hl7-org:elm-types:r1}String", - "type" : "As", - "signature" : [ ], - "operand" : { - "localId" : "243", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - } - }, - "string" : { - "localId" : "244", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "ABCDE", - "type" : "Literal" - } + } + } ], + "expression" : { + "type" : "LastPositionOf", + "localId" : "223", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "224", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "225", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } ], + "pattern" : { + "type" : "Literal", + "localId" : "215", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "B", + "annotation" : [ ] + }, + "string" : { + "type" : "Literal", + "localId" : "217", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "ABCDEDCBA", + "annotation" : [ ] + } + } + }, { + "localId" : "228", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "name" : "NotFound", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "228", + "s" : [ { + "value" : [ "// 7\n", "define ", "NotFound", ": " ] + }, { + "r" : "237", + "s" : [ { + "value" : [ "LastPositionOf", "(" ] + }, { + "r" : "229", + "s" : [ { + "value" : [ "'XYZ'" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "231", + "s" : [ { + "value" : [ "'ABCDE'" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "LastPositionOf", + "localId" : "237", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "238", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "239", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } ], + "pattern" : { + "type" : "Literal", + "localId" : "229", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "XYZ", + "annotation" : [ ] + }, + "string" : { + "type" : "Literal", + "localId" : "231", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "ABCDE", + "annotation" : [ ] + } + } + }, { + "localId" : "242", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "name" : "NullPattern", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "242", + "s" : [ { + "value" : [ "// -1\n", "define ", "NullPattern", ": " ] + }, { + "r" : "251", + "s" : [ { + "r" : "243", + "value" : [ "LastPositionOf", "(", "null", ", " ] + }, { + "r" : "244", + "s" : [ { + "value" : [ "'ABCDE'" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "LastPositionOf", + "localId" : "251", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "253", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "254", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } ], + "pattern" : { + "type" : "As", + "localId" : "252", + "asType" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Null", + "localId" : "243", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] } - }, { - "localId" : "257", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "name" : "NullString", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "257", - "s" : [ { - "value" : [ "// null\n","define ","NullString",": " ] - }, { - "r" : "266", - "s" : [ { - "value" : [ "LastPositionOf","(" ] - }, { - "r" : "258", - "s" : [ { - "value" : [ "'ABCDE'" ] - } ] - }, { - "r" : "260", - "value" : [ ", ","null",")" ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "266", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "LastPositionOf", - "signature" : [ { - "localId" : "268", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "269", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } ], - "pattern" : { - "localId" : "258", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "ABCDE", - "type" : "Literal" - }, - "string" : { - "localId" : "267", - "asType" : "{urn:hl7-org:elm-types:r1}String", - "type" : "As", - "signature" : [ ], - "operand" : { - "localId" : "260", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - } - } + }, + "string" : { + "type" : "Literal", + "localId" : "244", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "ABCDE", + "annotation" : [ ] + } + } + }, { + "localId" : "257", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "name" : "NullString", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "257", + "s" : [ { + "value" : [ "// null\n", "define ", "NullString", ": " ] + }, { + "r" : "266", + "s" : [ { + "value" : [ "LastPositionOf", "(" ] + }, { + "r" : "258", + "s" : [ { + "value" : [ "'ABCDE'" ] + } ] + }, { + "r" : "260", + "value" : [ ", ", "null", ")" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "LastPositionOf", + "localId" : "266", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "268", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "269", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } ], + "pattern" : { + "type" : "Literal", + "localId" : "258", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "ABCDE", + "annotation" : [ ] + }, + "string" : { + "type" : "As", + "localId" : "267", + "asType" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Null", + "localId" : "260", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] } - } ] - } - } + } + } + } ] + } + } } /* Substring @@ -5960,669 +6671,744 @@ define NullStart: Substring('HelloWorld', null) */ module.exports['Substring'] = { - "library" : { - "localId" : "0", - "annotation" : [ { - "translatorVersion" : "3.27.0", - "translatorOptions" : "EnableDateRangeOptimization,EnableAnnotations,EnableResultTypes", - "signatureLevel" : "All", - "type" : "CqlToElmInfo" + "library" : { + "localId" : "0", + "annotation" : [ { + "type" : "CqlToElmInfo", + "translatorVersion" : "4.2.0", + "translatorOptions" : "EnableDateRangeOptimization,EnableAnnotations,EnableResultTypes", + "signatureLevel" : "All" + }, { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "335", + "s" : [ { + "value" : [ "", "library TestSnippet version '1'" ] + } ] + } + } ], + "identifier" : { + "id" : "TestSnippet", + "version" : "1" + }, + "schemaIdentifier" : { + "id" : "urn:hl7-org:elm", + "version" : "r1" + }, + "usings" : { + "def" : [ { + "localId" : "1", + "localIdentifier" : "System", + "uri" : "urn:hl7-org:elm-types:r1", + "annotation" : [ ] }, { - "type" : "Annotation", - "s" : { - "r" : "335", + "localId" : "206", + "localIdentifier" : "Simple", + "uri" : "https://github.com/cqframework/cql-execution/simple", + "version" : "1.0.0", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "206", "s" : [ { - "value" : [ "","library TestSnippet version '1'" ] + "value" : [ "", "using " ] + }, { + "s" : [ { + "value" : [ "Simple" ] + } ] + }, { + "value" : [ " version '1.0.0'" ] } ] - } - } ], - "identifier" : { - "id" : "TestSnippet", - "version" : "1" - }, - "schemaIdentifier" : { - "id" : "urn:hl7-org:elm", - "version" : "r1" - }, - "usings" : { - "def" : [ { - "localId" : "1", - "localIdentifier" : "System", - "uri" : "urn:hl7-org:elm-types:r1" - }, { - "localId" : "206", - "localIdentifier" : "Simple", - "uri" : "https://github.com/cqframework/cql-execution/simple", - "version" : "1.0.0", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "206", - "s" : [ { - "value" : [ "","using " ] - }, { - "s" : [ { - "value" : [ "Simple" ] - } ] - }, { - "value" : [ " version '1.0.0'" ] - } ] - } + } + } ] + } ] + }, + "contexts" : { + "def" : [ { + "localId" : "211", + "name" : "Patient", + "annotation" : [ ] + } ] + }, + "statements" : { + "def" : [ { + "localId" : "209", + "name" : "Patient", + "context" : "Patient", + "annotation" : [ ], + "expression" : { + "type" : "SingletonFrom", + "localId" : "210", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Retrieve", + "localId" : "208", + "dataType" : "{https://github.com/cqframework/cql-execution/simple}Patient", + "annotation" : [ ], + "include" : [ ], + "codeFilter" : [ ], + "dateFilter" : [ ], + "otherFilter" : [ ] + } + } + }, { + "localId" : "214", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "name" : "World", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "214", + "s" : [ { + "value" : [ "", "define ", "World", ": " ] + }, { + "r" : "222", + "s" : [ { + "value" : [ "Substring", "(" ] + }, { + "r" : "215", + "s" : [ { + "value" : [ "'HelloWorld'" ] + } ] + }, { + "r" : "217", + "value" : [ ", ", "5", ")" ] + } ] } ] - } ] - }, - "contexts" : { - "def" : [ { - "localId" : "211", - "name" : "Patient" - } ] - }, - "statements" : { - "def" : [ { - "localId" : "209", - "name" : "Patient", - "context" : "Patient", - "expression" : { - "localId" : "210", - "type" : "SingletonFrom", - "signature" : [ ], - "operand" : { - "localId" : "208", - "dataType" : "{https://github.com/cqframework/cql-execution/simple}Patient", - "type" : "Retrieve", - "include" : [ ], - "codeFilter" : [ ], - "dateFilter" : [ ], - "otherFilter" : [ ] - } - } - }, { - "localId" : "214", + } + } ], + "expression" : { + "type" : "Substring", + "localId" : "222", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "223", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "224", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "stringToSub" : { + "type" : "Literal", + "localId" : "215", "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "name" : "World", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "214", - "s" : [ { - "value" : [ "","define ","World",": " ] - }, { - "r" : "222", - "s" : [ { - "value" : [ "Substring","(" ] - }, { - "r" : "215", - "s" : [ { - "value" : [ "'HelloWorld'" ] - } ] - }, { - "r" : "217", - "value" : [ ", ","5",")" ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "222", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "type" : "Substring", - "signature" : [ { - "localId" : "223", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "224", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "stringToSub" : { - "localId" : "215", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "HelloWorld", - "type" : "Literal" - }, - "startIndex" : { - "localId" : "217", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal" - } - } - }, { - "localId" : "227", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "HelloWorld", + "annotation" : [ ] + }, + "startIndex" : { + "type" : "Literal", + "localId" : "217", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "5", + "annotation" : [ ] + } + } + }, { + "localId" : "227", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "name" : "Or", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "227", + "s" : [ { + "value" : [ "", "define ", "Or", ": " ] + }, { + "r" : "237", + "s" : [ { + "value" : [ "Substring", "(" ] + }, { + "r" : "228", + "s" : [ { + "value" : [ "'HelloWorld'" ] + } ] + }, { + "r" : "230", + "value" : [ ", ", "7", ", ", "2", ")" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Substring", + "localId" : "237", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "238", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "239", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "240", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "stringToSub" : { + "type" : "Literal", + "localId" : "228", "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "name" : "Or", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "227", - "s" : [ { - "value" : [ "","define ","Or",": " ] - }, { - "r" : "237", - "s" : [ { - "value" : [ "Substring","(" ] - }, { - "r" : "228", - "s" : [ { - "value" : [ "'HelloWorld'" ] - } ] - }, { - "r" : "230", - "value" : [ ", ","7",", ","2",")" ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "237", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "type" : "Substring", - "signature" : [ { - "localId" : "238", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "239", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "240", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "stringToSub" : { - "localId" : "228", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "HelloWorld", - "type" : "Literal" - }, - "startIndex" : { - "localId" : "230", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "7", - "type" : "Literal" - }, - "length" : { - "localId" : "231", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal" - } - } - }, { - "localId" : "243", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "HelloWorld", + "annotation" : [ ] + }, + "startIndex" : { + "type" : "Literal", + "localId" : "230", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "7", + "annotation" : [ ] + }, + "length" : { + "type" : "Literal", + "localId" : "231", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "annotation" : [ ] + } + } + }, { + "localId" : "243", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "name" : "ZeroLength", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "243", + "s" : [ { + "value" : [ "", "define ", "ZeroLength", ": " ] + }, { + "r" : "253", + "s" : [ { + "value" : [ "Substring", "(" ] + }, { + "r" : "244", + "s" : [ { + "value" : [ "'HelloWorld'" ] + } ] + }, { + "r" : "246", + "value" : [ ", ", "7", ", ", "0", ")" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Substring", + "localId" : "253", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "254", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "255", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "256", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "stringToSub" : { + "type" : "Literal", + "localId" : "244", "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "name" : "ZeroLength", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "243", - "s" : [ { - "value" : [ "","define ","ZeroLength",": " ] - }, { - "r" : "253", - "s" : [ { - "value" : [ "Substring","(" ] - }, { - "r" : "244", - "s" : [ { - "value" : [ "'HelloWorld'" ] - } ] - }, { - "r" : "246", - "value" : [ ", ","7",", ","0",")" ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "253", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "type" : "Substring", - "signature" : [ { - "localId" : "254", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "255", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "256", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "stringToSub" : { - "localId" : "244", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "HelloWorld", - "type" : "Literal" - }, - "startIndex" : { - "localId" : "246", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "7", - "type" : "Literal" - }, - "length" : { - "localId" : "247", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - } - }, { - "localId" : "259", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "HelloWorld", + "annotation" : [ ] + }, + "startIndex" : { + "type" : "Literal", + "localId" : "246", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "7", + "annotation" : [ ] + }, + "length" : { + "type" : "Literal", + "localId" : "247", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + } + }, { + "localId" : "259", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "name" : "StartTooLow", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "259", + "s" : [ { + "value" : [ "", "define ", "StartTooLow", ": " ] + }, { + "r" : "269", + "s" : [ { + "value" : [ "Substring", "(" ] + }, { + "r" : "260", + "s" : [ { + "value" : [ "'HelloWorld'" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "262", + "s" : [ { + "r" : "263", + "value" : [ "-", "1" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Substring", + "localId" : "269", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "270", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "271", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "stringToSub" : { + "type" : "Literal", + "localId" : "260", "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "name" : "StartTooLow", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "259", - "s" : [ { - "value" : [ "","define ","StartTooLow",": " ] - }, { - "r" : "269", - "s" : [ { - "value" : [ "Substring","(" ] - }, { - "r" : "260", - "s" : [ { - "value" : [ "'HelloWorld'" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "262", - "s" : [ { - "r" : "263", - "value" : [ "-","1" ] - } ] - }, { - "value" : [ ")" ] - } ] - } ] - } + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "HelloWorld", + "annotation" : [ ] + }, + "startIndex" : { + "type" : "Negate", + "localId" : "262", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "264", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] } ], - "expression" : { - "localId" : "269", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "type" : "Substring", - "signature" : [ { - "localId" : "270", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "271", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "stringToSub" : { - "localId" : "260", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "HelloWorld", - "type" : "Literal" - }, - "startIndex" : { - "localId" : "262", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "Negate", - "signature" : [ { - "localId" : "264", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "263", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - } - } + "operand" : { + "type" : "Literal", + "localId" : "263", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] } - }, { - "localId" : "274", + } + } + }, { + "localId" : "274", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "name" : "StartZero", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "274", + "s" : [ { + "value" : [ "", "define ", "StartZero", ": " ] + }, { + "r" : "282", + "s" : [ { + "value" : [ "Substring", "(" ] + }, { + "r" : "275", + "s" : [ { + "value" : [ "'HelloWorld'" ] + } ] + }, { + "r" : "277", + "value" : [ ", ", "0", ")" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Substring", + "localId" : "282", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "283", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "284", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "stringToSub" : { + "type" : "Literal", + "localId" : "275", "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "name" : "StartZero", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "274", - "s" : [ { - "value" : [ "","define ","StartZero",": " ] - }, { - "r" : "282", - "s" : [ { - "value" : [ "Substring","(" ] - }, { - "r" : "275", - "s" : [ { - "value" : [ "'HelloWorld'" ] - } ] - }, { - "r" : "277", - "value" : [ ", ","0",")" ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "282", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "type" : "Substring", - "signature" : [ { - "localId" : "283", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "284", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "stringToSub" : { - "localId" : "275", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "HelloWorld", - "type" : "Literal" - }, - "startIndex" : { - "localId" : "277", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal" - } - } - }, { - "localId" : "287", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "HelloWorld", + "annotation" : [ ] + }, + "startIndex" : { + "type" : "Literal", + "localId" : "277", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "annotation" : [ ] + } + } + }, { + "localId" : "287", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "name" : "TooMuchLength", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "287", + "s" : [ { + "value" : [ "", "define ", "TooMuchLength", ": " ] + }, { + "r" : "297", + "s" : [ { + "value" : [ "Substring", "(" ] + }, { + "r" : "288", + "s" : [ { + "value" : [ "'HelloWorld'" ] + } ] + }, { + "r" : "290", + "value" : [ ", ", "7", ", ", "25", ")" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Substring", + "localId" : "297", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "298", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "299", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "300", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "stringToSub" : { + "type" : "Literal", + "localId" : "288", "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "name" : "TooMuchLength", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "287", - "s" : [ { - "value" : [ "","define ","TooMuchLength",": " ] - }, { - "r" : "297", - "s" : [ { - "value" : [ "Substring","(" ] - }, { - "r" : "288", - "s" : [ { - "value" : [ "'HelloWorld'" ] - } ] - }, { - "r" : "290", - "value" : [ ", ","7",", ","25",")" ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "297", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "type" : "Substring", - "signature" : [ { - "localId" : "298", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "299", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "300", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "stringToSub" : { - "localId" : "288", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "HelloWorld", - "type" : "Literal" - }, - "startIndex" : { - "localId" : "290", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "7", - "type" : "Literal" - }, - "length" : { - "localId" : "291", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "25", - "type" : "Literal" - } - } - }, { - "localId" : "303", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "HelloWorld", + "annotation" : [ ] + }, + "startIndex" : { + "type" : "Literal", + "localId" : "290", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "7", + "annotation" : [ ] + }, + "length" : { + "type" : "Literal", + "localId" : "291", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "25", + "annotation" : [ ] + } + } + }, { + "localId" : "303", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "name" : "NegativeLength", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "303", + "s" : [ { + "value" : [ "", "define ", "NegativeLength", ": " ] + }, { + "r" : "315", + "s" : [ { + "value" : [ "Substring", "(" ] + }, { + "r" : "304", + "s" : [ { + "value" : [ "'HelloWorld'" ] + } ] + }, { + "r" : "306", + "value" : [ ", ", "7", ", " ] + }, { + "r" : "307", + "s" : [ { + "r" : "308", + "value" : [ "-", "1" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Substring", + "localId" : "315", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "316", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "317", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "318", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "stringToSub" : { + "type" : "Literal", + "localId" : "304", "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "name" : "NegativeLength", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "303", - "s" : [ { - "value" : [ "","define ","NegativeLength",": " ] - }, { - "r" : "315", - "s" : [ { - "value" : [ "Substring","(" ] - }, { - "r" : "304", - "s" : [ { - "value" : [ "'HelloWorld'" ] - } ] - }, { - "r" : "306", - "value" : [ ", ","7",", " ] - }, { - "r" : "307", - "s" : [ { - "r" : "308", - "value" : [ "-","1" ] - } ] - }, { - "value" : [ ")" ] - } ] - } ] - } + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "HelloWorld", + "annotation" : [ ] + }, + "startIndex" : { + "type" : "Literal", + "localId" : "306", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "7", + "annotation" : [ ] + }, + "length" : { + "type" : "Negate", + "localId" : "307", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "309", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] } ], - "expression" : { - "localId" : "315", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "type" : "Substring", - "signature" : [ { - "localId" : "316", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "317", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "318", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "stringToSub" : { - "localId" : "304", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "HelloWorld", - "type" : "Literal" - }, - "startIndex" : { - "localId" : "306", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "7", - "type" : "Literal" - }, - "length" : { - "localId" : "307", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "Negate", - "signature" : [ { - "localId" : "309", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "operand" : { - "localId" : "308", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - } - } + "operand" : { + "type" : "Literal", + "localId" : "308", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] } - }, { - "localId" : "321", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "name" : "NullString", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "321", - "s" : [ { - "value" : [ "","define ","NullString",": " ] - }, { - "r" : "329", - "s" : [ { - "r" : "322", - "value" : [ "Substring","(","null",", ","5",")" ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "329", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "type" : "Substring", - "signature" : [ { - "localId" : "331", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "332", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "stringToSub" : { - "localId" : "330", - "asType" : "{urn:hl7-org:elm-types:r1}String", - "type" : "As", - "signature" : [ ], - "operand" : { - "localId" : "322", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - } - }, - "startIndex" : { - "localId" : "323", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal" - } + } + } + }, { + "localId" : "321", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "name" : "NullString", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "321", + "s" : [ { + "value" : [ "", "define ", "NullString", ": " ] + }, { + "r" : "329", + "s" : [ { + "r" : "322", + "value" : [ "Substring", "(", "null", ", ", "5", ")" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Substring", + "localId" : "329", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "331", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "332", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "stringToSub" : { + "type" : "As", + "localId" : "330", + "asType" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Null", + "localId" : "322", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] } - }, { - "localId" : "335", + }, + "startIndex" : { + "type" : "Literal", + "localId" : "323", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "5", + "annotation" : [ ] + } + } + }, { + "localId" : "335", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "name" : "NullStart", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "335", + "s" : [ { + "value" : [ "", "define ", "NullStart", ": " ] + }, { + "r" : "344", + "s" : [ { + "value" : [ "Substring", "(" ] + }, { + "r" : "336", + "s" : [ { + "value" : [ "'HelloWorld'" ] + } ] + }, { + "r" : "338", + "value" : [ ", ", "null", ")" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Substring", + "localId" : "344", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "346", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "347", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } ], + "stringToSub" : { + "type" : "Literal", + "localId" : "336", "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "name" : "NullStart", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "335", - "s" : [ { - "value" : [ "","define ","NullStart",": " ] - }, { - "r" : "344", - "s" : [ { - "value" : [ "Substring","(" ] - }, { - "r" : "336", - "s" : [ { - "value" : [ "'HelloWorld'" ] - } ] - }, { - "r" : "338", - "value" : [ ", ","null",")" ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "344", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "type" : "Substring", - "signature" : [ { - "localId" : "346", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "347", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } ], - "stringToSub" : { - "localId" : "336", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "HelloWorld", - "type" : "Literal" - }, - "startIndex" : { - "localId" : "345", - "asType" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "As", - "signature" : [ ], - "operand" : { - "localId" : "338", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - } - } + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "HelloWorld", + "annotation" : [ ] + }, + "startIndex" : { + "type" : "As", + "localId" : "345", + "asType" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Null", + "localId" : "338", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] } - } ] - } - } + } + } + } ] + } + } } /* StartsWith @@ -6640,603 +7426,664 @@ define NullAsStringStartsWith: StartsWith(null as String, 'Foo') */ module.exports['StartsWith'] = { - "library" : { - "localId" : "0", - "annotation" : [ { - "translatorVersion" : "3.27.0", - "translatorOptions" : "EnableDateRangeOptimization,EnableAnnotations,EnableResultTypes", - "signatureLevel" : "All", - "type" : "CqlToElmInfo" + "library" : { + "localId" : "0", + "annotation" : [ { + "type" : "CqlToElmInfo", + "translatorVersion" : "4.2.0", + "translatorOptions" : "EnableDateRangeOptimization,EnableAnnotations,EnableResultTypes", + "signatureLevel" : "All" + }, { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "315", + "s" : [ { + "value" : [ "", "library TestSnippet version '1'" ] + } ] + } + } ], + "identifier" : { + "id" : "TestSnippet", + "version" : "1" + }, + "schemaIdentifier" : { + "id" : "urn:hl7-org:elm", + "version" : "r1" + }, + "usings" : { + "def" : [ { + "localId" : "1", + "localIdentifier" : "System", + "uri" : "urn:hl7-org:elm-types:r1", + "annotation" : [ ] }, { - "type" : "Annotation", - "s" : { - "r" : "315", + "localId" : "206", + "localIdentifier" : "Simple", + "uri" : "https://github.com/cqframework/cql-execution/simple", + "version" : "1.0.0", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "206", "s" : [ { - "value" : [ "","library TestSnippet version '1'" ] + "value" : [ "", "using " ] + }, { + "s" : [ { + "value" : [ "Simple" ] + } ] + }, { + "value" : [ " version '1.0.0'" ] } ] - } - } ], - "identifier" : { - "id" : "TestSnippet", - "version" : "1" - }, - "schemaIdentifier" : { - "id" : "urn:hl7-org:elm", - "version" : "r1" - }, - "usings" : { - "def" : [ { - "localId" : "1", - "localIdentifier" : "System", - "uri" : "urn:hl7-org:elm-types:r1" - }, { - "localId" : "206", - "localIdentifier" : "Simple", - "uri" : "https://github.com/cqframework/cql-execution/simple", - "version" : "1.0.0", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "206", - "s" : [ { - "value" : [ "","using " ] - }, { - "s" : [ { - "value" : [ "Simple" ] - } ] - }, { - "value" : [ " version '1.0.0'" ] - } ] - } + } + } ] + } ] + }, + "contexts" : { + "def" : [ { + "localId" : "211", + "name" : "Patient", + "annotation" : [ ] + } ] + }, + "statements" : { + "def" : [ { + "localId" : "209", + "name" : "Patient", + "context" : "Patient", + "annotation" : [ ], + "expression" : { + "type" : "SingletonFrom", + "localId" : "210", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Retrieve", + "localId" : "208", + "dataType" : "{https://github.com/cqframework/cql-execution/simple}Patient", + "annotation" : [ ], + "include" : [ ], + "codeFilter" : [ ], + "dateFilter" : [ ], + "otherFilter" : [ ] + } + } + }, { + "localId" : "214", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "FooBarStartsWithFoo", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "214", + "s" : [ { + "value" : [ "", "define ", "FooBarStartsWithFoo", ": " ] + }, { + "r" : "223", + "s" : [ { + "value" : [ "StartsWith", "(" ] + }, { + "r" : "215", + "s" : [ { + "value" : [ "'FooBar'" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "217", + "s" : [ { + "value" : [ "'Foo'" ] + } ] + }, { + "value" : [ ")" ] + } ] } ] - } ] - }, - "contexts" : { - "def" : [ { - "localId" : "211", - "name" : "Patient" - } ] - }, - "statements" : { - "def" : [ { - "localId" : "209", - "name" : "Patient", - "context" : "Patient", - "expression" : { - "localId" : "210", - "type" : "SingletonFrom", - "signature" : [ ], - "operand" : { - "localId" : "208", - "dataType" : "{https://github.com/cqframework/cql-execution/simple}Patient", - "type" : "Retrieve", - "include" : [ ], - "codeFilter" : [ ], - "dateFilter" : [ ], - "otherFilter" : [ ] - } - } - }, { - "localId" : "214", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "FooBarStartsWithFoo", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "214", - "s" : [ { - "value" : [ "","define ","FooBarStartsWithFoo",": " ] - }, { - "r" : "223", - "s" : [ { - "value" : [ "StartsWith","(" ] - }, { - "r" : "215", - "s" : [ { - "value" : [ "'FooBar'" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "217", - "s" : [ { - "value" : [ "'Foo'" ] - } ] - }, { - "value" : [ ")" ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "223", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "StartsWith", - "signature" : [ { - "localId" : "224", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "225", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "215", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "FooBar", - "type" : "Literal" - }, { - "localId" : "217", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "Foo", - "type" : "Literal" - } ] - } - }, { - "localId" : "228", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "FooBarStartsWithBar", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "228", - "s" : [ { - "value" : [ "","define ","FooBarStartsWithBar",": " ] - }, { - "r" : "237", - "s" : [ { - "value" : [ "StartsWith","(" ] - }, { - "r" : "229", - "s" : [ { - "value" : [ "'FooBar'" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "231", - "s" : [ { - "value" : [ "'Bar'" ] - } ] - }, { - "value" : [ ")" ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "237", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "StartsWith", - "signature" : [ { - "localId" : "238", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "239", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "229", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "FooBar", - "type" : "Literal" - }, { - "localId" : "231", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "Bar", - "type" : "Literal" - } ] - } - }, { - "localId" : "242", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "FooBarStartsWithBlank", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "242", - "s" : [ { - "value" : [ "","define ","FooBarStartsWithBlank",": " ] - }, { - "r" : "251", - "s" : [ { - "value" : [ "StartsWith","(" ] - }, { - "r" : "243", - "s" : [ { - "value" : [ "'FooBar'" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "245", - "s" : [ { - "value" : [ "''" ] - } ] - }, { - "value" : [ ")" ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "251", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "StartsWith", - "signature" : [ { - "localId" : "252", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "253", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "243", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "FooBar", - "type" : "Literal" - }, { - "localId" : "245", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "", - "type" : "Literal" - } ] - } - }, { - "localId" : "256", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "BlankStartsWithFoo", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "256", - "s" : [ { - "value" : [ "","define ","BlankStartsWithFoo",": " ] - }, { - "r" : "265", - "s" : [ { - "value" : [ "StartsWith","(" ] - }, { - "r" : "257", - "s" : [ { - "value" : [ "''" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "259", - "s" : [ { - "value" : [ "'Foo'" ] - } ] - }, { - "value" : [ ")" ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "265", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "StartsWith", - "signature" : [ { - "localId" : "266", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "267", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "257", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "", - "type" : "Literal" - }, { - "localId" : "259", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "Foo", - "type" : "Literal" - } ] - } - }, { - "localId" : "270", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "StartsWithNull", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "270", - "s" : [ { - "value" : [ "","define ","StartsWithNull",": " ] - }, { - "r" : "279", - "s" : [ { - "value" : [ "StartsWith","(" ] - }, { - "r" : "271", - "s" : [ { - "value" : [ "'FooBar'" ] - } ] - }, { - "r" : "273", - "value" : [ ", ","null",")" ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "279", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "StartsWith", - "signature" : [ { - "localId" : "281", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "282", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "271", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "FooBar", - "type" : "Literal" - }, { - "localId" : "280", - "asType" : "{urn:hl7-org:elm-types:r1}String", - "type" : "As", - "signature" : [ ], - "operand" : { - "localId" : "273", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - } - } ] + } + } ], + "expression" : { + "type" : "StartsWith", + "localId" : "223", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "224", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "225", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "Literal", + "localId" : "215", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "FooBar", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "217", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "Foo", + "annotation" : [ ] + } ] + } + }, { + "localId" : "228", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "FooBarStartsWithBar", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "228", + "s" : [ { + "value" : [ "", "define ", "FooBarStartsWithBar", ": " ] + }, { + "r" : "237", + "s" : [ { + "value" : [ "StartsWith", "(" ] + }, { + "r" : "229", + "s" : [ { + "value" : [ "'FooBar'" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "231", + "s" : [ { + "value" : [ "'Bar'" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "StartsWith", + "localId" : "237", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "238", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "239", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "Literal", + "localId" : "229", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "FooBar", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "231", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "Bar", + "annotation" : [ ] + } ] + } + }, { + "localId" : "242", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "FooBarStartsWithBlank", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "242", + "s" : [ { + "value" : [ "", "define ", "FooBarStartsWithBlank", ": " ] + }, { + "r" : "251", + "s" : [ { + "value" : [ "StartsWith", "(" ] + }, { + "r" : "243", + "s" : [ { + "value" : [ "'FooBar'" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "245", + "s" : [ { + "value" : [ "''" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "StartsWith", + "localId" : "251", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "252", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "253", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "Literal", + "localId" : "243", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "FooBar", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "245", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "", + "annotation" : [ ] + } ] + } + }, { + "localId" : "256", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "BlankStartsWithFoo", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "256", + "s" : [ { + "value" : [ "", "define ", "BlankStartsWithFoo", ": " ] + }, { + "r" : "265", + "s" : [ { + "value" : [ "StartsWith", "(" ] + }, { + "r" : "257", + "s" : [ { + "value" : [ "''" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "259", + "s" : [ { + "value" : [ "'Foo'" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "StartsWith", + "localId" : "265", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "266", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "267", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "Literal", + "localId" : "257", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "259", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "Foo", + "annotation" : [ ] + } ] + } + }, { + "localId" : "270", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "StartsWithNull", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "270", + "s" : [ { + "value" : [ "", "define ", "StartsWithNull", ": " ] + }, { + "r" : "279", + "s" : [ { + "value" : [ "StartsWith", "(" ] + }, { + "r" : "271", + "s" : [ { + "value" : [ "'FooBar'" ] + } ] + }, { + "r" : "273", + "value" : [ ", ", "null", ")" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "StartsWith", + "localId" : "279", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "281", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "282", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "Literal", + "localId" : "271", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "FooBar", + "annotation" : [ ] + }, { + "type" : "As", + "localId" : "280", + "asType" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Null", + "localId" : "273", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] } - }, { - "localId" : "285", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "StartsWithNullAsString", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "285", + } ] + } + }, { + "localId" : "285", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "StartsWithNullAsString", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "285", + "s" : [ { + "value" : [ "", "define ", "StartsWithNullAsString", ": " ] + }, { + "r" : "295", + "s" : [ { + "value" : [ "StartsWith", "(" ] + }, { + "r" : "286", + "s" : [ { + "value" : [ "'FooBar'" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "288", + "s" : [ { + "r" : "289", + "value" : [ "null", " as " ] + }, { + "r" : "290", "s" : [ { - "value" : [ "","define ","StartsWithNullAsString",": " ] - }, { - "r" : "295", - "s" : [ { - "value" : [ "StartsWith","(" ] - }, { - "r" : "286", - "s" : [ { - "value" : [ "'FooBar'" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "288", - "s" : [ { - "r" : "289", - "value" : [ "null"," as " ] - }, { - "r" : "290", - "s" : [ { - "value" : [ "String" ] - } ] - } ] - }, { - "value" : [ ")" ] - } ] + "value" : [ "String" ] } ] - } - } ], - "expression" : { - "localId" : "295", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "StartsWith", - "signature" : [ { - "localId" : "296", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "297", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "286", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "FooBar", - "type" : "Literal" - }, { - "localId" : "288", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "strict" : false, - "type" : "As", - "signature" : [ ], - "operand" : { - "localId" : "289", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - }, - "asTypeSpecifier" : { - "localId" : "290", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } - } ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "StartsWith", + "localId" : "295", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "296", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "297", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "Literal", + "localId" : "286", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "FooBar", + "annotation" : [ ] + }, { + "type" : "As", + "localId" : "288", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "strict" : false, + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Null", + "localId" : "289", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + }, + "asTypeSpecifier" : { + "type" : "NamedTypeSpecifier", + "localId" : "290", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] } - }, { - "localId" : "300", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "NullStartsWith", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "300", - "s" : [ { - "value" : [ "","define ","NullStartsWith",": " ] - }, { - "r" : "309", - "s" : [ { - "r" : "301", - "value" : [ "StartsWith","(","null",", " ] - }, { - "r" : "302", - "s" : [ { - "value" : [ "'Foo'" ] - } ] - }, { - "value" : [ ")" ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "309", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "StartsWith", - "signature" : [ { - "localId" : "311", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "312", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "310", - "asType" : "{urn:hl7-org:elm-types:r1}String", - "type" : "As", - "signature" : [ ], - "operand" : { - "localId" : "301", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - } - }, { - "localId" : "302", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "Foo", - "type" : "Literal" - } ] + } ] + } + }, { + "localId" : "300", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "NullStartsWith", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "300", + "s" : [ { + "value" : [ "", "define ", "NullStartsWith", ": " ] + }, { + "r" : "309", + "s" : [ { + "r" : "301", + "value" : [ "StartsWith", "(", "null", ", " ] + }, { + "r" : "302", + "s" : [ { + "value" : [ "'Foo'" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "StartsWith", + "localId" : "309", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "311", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "312", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "As", + "localId" : "310", + "asType" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Null", + "localId" : "301", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] } - }, { - "localId" : "315", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "NullAsStringStartsWith", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "315", + }, { + "type" : "Literal", + "localId" : "302", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "Foo", + "annotation" : [ ] + } ] + } + }, { + "localId" : "315", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "NullAsStringStartsWith", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "315", + "s" : [ { + "value" : [ "", "define ", "NullAsStringStartsWith", ": " ] + }, { + "r" : "325", + "s" : [ { + "value" : [ "StartsWith", "(" ] + }, { + "r" : "316", + "s" : [ { + "r" : "317", + "value" : [ "null", " as " ] + }, { + "r" : "318", "s" : [ { - "value" : [ "","define ","NullAsStringStartsWith",": " ] - }, { - "r" : "325", - "s" : [ { - "value" : [ "StartsWith","(" ] - }, { - "r" : "316", - "s" : [ { - "r" : "317", - "value" : [ "null"," as " ] - }, { - "r" : "318", - "s" : [ { - "value" : [ "String" ] - } ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "319", - "s" : [ { - "value" : [ "'Foo'" ] - } ] - }, { - "value" : [ ")" ] - } ] + "value" : [ "String" ] } ] - } - } ], - "expression" : { - "localId" : "325", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "StartsWith", - "signature" : [ { - "localId" : "326", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "327", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "316", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "strict" : false, - "type" : "As", - "signature" : [ ], - "operand" : { - "localId" : "317", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - }, - "asTypeSpecifier" : { - "localId" : "318", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "319", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "Foo", - "type" : "Literal" - } ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "319", + "s" : [ { + "value" : [ "'Foo'" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "StartsWith", + "localId" : "325", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "326", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "327", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "As", + "localId" : "316", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "strict" : false, + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Null", + "localId" : "317", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + }, + "asTypeSpecifier" : { + "type" : "NamedTypeSpecifier", + "localId" : "318", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] } - } ] - } - } + }, { + "type" : "Literal", + "localId" : "319", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "Foo", + "annotation" : [ ] + } ] + } + } ] + } + } } /* EndsWith @@ -7254,622 +8101,684 @@ define NullAsStringEndsWith: EndsWith(null as String, 'Foo') */ module.exports['EndsWith'] = { - "library" : { - "localId" : "0", - "annotation" : [ { - "translatorVersion" : "3.27.0", - "translatorOptions" : "EnableDateRangeOptimization,EnableAnnotations,EnableResultTypes", - "signatureLevel" : "All", - "type" : "CqlToElmInfo" + "library" : { + "localId" : "0", + "annotation" : [ { + "type" : "CqlToElmInfo", + "translatorVersion" : "4.2.0", + "translatorOptions" : "EnableDateRangeOptimization,EnableAnnotations,EnableResultTypes", + "signatureLevel" : "All" + }, { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "315", + "s" : [ { + "value" : [ "", "library TestSnippet version '1'" ] + } ] + } + } ], + "identifier" : { + "id" : "TestSnippet", + "version" : "1" + }, + "schemaIdentifier" : { + "id" : "urn:hl7-org:elm", + "version" : "r1" + }, + "usings" : { + "def" : [ { + "localId" : "1", + "localIdentifier" : "System", + "uri" : "urn:hl7-org:elm-types:r1", + "annotation" : [ ] }, { - "type" : "Annotation", - "s" : { - "r" : "315", + "localId" : "206", + "localIdentifier" : "Simple", + "uri" : "https://github.com/cqframework/cql-execution/simple", + "version" : "1.0.0", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "206", + "s" : [ { + "value" : [ "", "using " ] + }, { + "s" : [ { + "value" : [ "Simple" ] + } ] + }, { + "value" : [ " version '1.0.0'" ] + } ] + } + } ] + } ] + }, + "contexts" : { + "def" : [ { + "localId" : "211", + "name" : "Patient", + "annotation" : [ ] + } ] + }, + "statements" : { + "def" : [ { + "localId" : "209", + "name" : "Patient", + "context" : "Patient", + "annotation" : [ ], + "expression" : { + "type" : "SingletonFrom", + "localId" : "210", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Retrieve", + "localId" : "208", + "dataType" : "{https://github.com/cqframework/cql-execution/simple}Patient", + "annotation" : [ ], + "include" : [ ], + "codeFilter" : [ ], + "dateFilter" : [ ], + "otherFilter" : [ ] + } + } + }, { + "localId" : "214", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "FooBarEndsWithBar", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "214", + "s" : [ { + "value" : [ "", "define ", "FooBarEndsWithBar", ": " ] + }, { + "r" : "223", + "s" : [ { + "value" : [ "EndsWith", "(" ] + }, { + "r" : "215", + "s" : [ { + "value" : [ "'FooBar'" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "217", + "s" : [ { + "value" : [ "'Bar'" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "EndsWith", + "localId" : "223", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "224", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "225", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "Literal", + "localId" : "215", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "FooBar", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "217", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "Bar", + "annotation" : [ ] + } ] + } + }, { + "localId" : "228", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "FooBarEndsWithFoo", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "228", + "s" : [ { + "value" : [ "", "define ", "FooBarEndsWithFoo", ": " ] + }, { + "r" : "237", + "s" : [ { + "value" : [ "EndsWith", "(" ] + }, { + "r" : "229", + "s" : [ { + "value" : [ "'FooBar'" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "231", + "s" : [ { + "value" : [ "'Foo'" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "EndsWith", + "localId" : "237", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "238", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "239", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "Literal", + "localId" : "229", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "FooBar", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "231", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "Foo", + "annotation" : [ ] + } ] + } + }, { + "localId" : "242", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "FooBarEndsWithBlank", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "242", "s" : [ { - "value" : [ "","library TestSnippet version '1'" ] + "value" : [ "", "define ", "FooBarEndsWithBlank", ": " ] + }, { + "r" : "251", + "s" : [ { + "value" : [ "EndsWith", "(" ] + }, { + "r" : "243", + "s" : [ { + "value" : [ "'FooBar'" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "245", + "s" : [ { + "value" : [ "''" ] + } ] + }, { + "value" : [ ")" ] + } ] } ] - } - } ], - "identifier" : { - "id" : "TestSnippet", - "version" : "1" - }, - "schemaIdentifier" : { - "id" : "urn:hl7-org:elm", - "version" : "r1" - }, - "usings" : { - "def" : [ { - "localId" : "1", - "localIdentifier" : "System", - "uri" : "urn:hl7-org:elm-types:r1" - }, { - "localId" : "206", - "localIdentifier" : "Simple", - "uri" : "https://github.com/cqframework/cql-execution/simple", - "version" : "1.0.0", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "206", + } + } ], + "expression" : { + "type" : "EndsWith", + "localId" : "251", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "252", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "253", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "Literal", + "localId" : "243", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "FooBar", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "245", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "", + "annotation" : [ ] + } ] + } + }, { + "localId" : "256", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "BlankEndsWithFoo", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "256", + "s" : [ { + "value" : [ "", "define ", "BlankEndsWithFoo", ": " ] + }, { + "r" : "265", + "s" : [ { + "value" : [ "EndsWith", "(" ] + }, { + "r" : "257", + "s" : [ { + "value" : [ "''" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "259", + "s" : [ { + "value" : [ "'Foo'" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "EndsWith", + "localId" : "265", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "266", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "267", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "Literal", + "localId" : "257", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "259", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "Foo", + "annotation" : [ ] + } ] + } + }, { + "localId" : "270", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "EndsWithNull", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "270", + "s" : [ { + "value" : [ "", "define ", "EndsWithNull", ": " ] + }, { + "r" : "279", + "s" : [ { + "value" : [ "EndsWith", "(" ] + }, { + "r" : "271", + "s" : [ { + "value" : [ "'FooBar'" ] + } ] + }, { + "r" : "273", + "value" : [ ", ", "null", ")" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "EndsWith", + "localId" : "279", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "281", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "282", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "Literal", + "localId" : "271", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "FooBar", + "annotation" : [ ] + }, { + "type" : "As", + "localId" : "280", + "asType" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Null", + "localId" : "273", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } + } ] + } + }, { + "localId" : "285", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "EndsWithNullAsString", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "285", + "s" : [ { + "value" : [ "", "define ", "EndsWithNullAsString", ": " ] + }, { + "r" : "295", + "s" : [ { + "value" : [ "EndsWith", "(" ] + }, { + "r" : "286", + "s" : [ { + "value" : [ "'FooBar'" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "288", + "s" : [ { + "r" : "289", + "value" : [ "null", " as " ] + }, { + "r" : "290", "s" : [ { - "value" : [ "","using " ] - }, { - "s" : [ { - "value" : [ "Simple" ] - } ] - }, { - "value" : [ " version '1.0.0'" ] + "value" : [ "String" ] } ] - } + } ] + }, { + "value" : [ ")" ] + } ] } ] - } ] - }, - "contexts" : { - "def" : [ { - "localId" : "211", - "name" : "Patient" - } ] - }, - "statements" : { - "def" : [ { - "localId" : "209", - "name" : "Patient", - "context" : "Patient", - "expression" : { - "localId" : "210", - "type" : "SingletonFrom", - "signature" : [ ], - "operand" : { - "localId" : "208", - "dataType" : "{https://github.com/cqframework/cql-execution/simple}Patient", - "type" : "Retrieve", - "include" : [ ], - "codeFilter" : [ ], - "dateFilter" : [ ], - "otherFilter" : [ ] - } + } + } ], + "expression" : { + "type" : "EndsWith", + "localId" : "295", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "296", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "297", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "Literal", + "localId" : "286", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "FooBar", + "annotation" : [ ] + }, { + "type" : "As", + "localId" : "288", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "strict" : false, + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Null", + "localId" : "289", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + }, + "asTypeSpecifier" : { + "type" : "NamedTypeSpecifier", + "localId" : "290", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] } - }, { - "localId" : "214", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "FooBarEndsWithBar", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "214", + } ] + } + }, { + "localId" : "300", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "NullEndsWith", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "300", + "s" : [ { + "value" : [ "", "define ", "NullEndsWith", ": " ] + }, { + "r" : "310", + "s" : [ { + "value" : [ "EndsWith", "(" ] + }, { + "r" : "301", + "s" : [ { + "r" : "302", + "value" : [ "null", " as " ] + }, { + "r" : "303", "s" : [ { - "value" : [ "","define ","FooBarEndsWithBar",": " ] - }, { - "r" : "223", - "s" : [ { - "value" : [ "EndsWith","(" ] - }, { - "r" : "215", - "s" : [ { - "value" : [ "'FooBar'" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "217", - "s" : [ { - "value" : [ "'Bar'" ] - } ] - }, { - "value" : [ ")" ] - } ] + "value" : [ "String" ] } ] - } - } ], - "expression" : { - "localId" : "223", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "EndsWith", - "signature" : [ { - "localId" : "224", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "225", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "215", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "FooBar", - "type" : "Literal" - }, { - "localId" : "217", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "Bar", - "type" : "Literal" - } ] - } - }, { - "localId" : "228", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "FooBarEndsWithFoo", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "228", - "s" : [ { - "value" : [ "","define ","FooBarEndsWithFoo",": " ] - }, { - "r" : "237", - "s" : [ { - "value" : [ "EndsWith","(" ] - }, { - "r" : "229", - "s" : [ { - "value" : [ "'FooBar'" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "231", - "s" : [ { - "value" : [ "'Foo'" ] - } ] - }, { - "value" : [ ")" ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "237", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "EndsWith", - "signature" : [ { - "localId" : "238", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "239", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "229", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "FooBar", - "type" : "Literal" - }, { - "localId" : "231", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "Foo", - "type" : "Literal" - } ] - } - }, { - "localId" : "242", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "FooBarEndsWithBlank", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "242", - "s" : [ { - "value" : [ "","define ","FooBarEndsWithBlank",": " ] - }, { - "r" : "251", - "s" : [ { - "value" : [ "EndsWith","(" ] - }, { - "r" : "243", - "s" : [ { - "value" : [ "'FooBar'" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "245", - "s" : [ { - "value" : [ "''" ] - } ] - }, { - "value" : [ ")" ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "251", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "EndsWith", - "signature" : [ { - "localId" : "252", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "253", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "243", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "FooBar", - "type" : "Literal" - }, { - "localId" : "245", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "", - "type" : "Literal" - } ] - } - }, { - "localId" : "256", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "BlankEndsWithFoo", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "256", - "s" : [ { - "value" : [ "","define ","BlankEndsWithFoo",": " ] - }, { - "r" : "265", - "s" : [ { - "value" : [ "EndsWith","(" ] - }, { - "r" : "257", - "s" : [ { - "value" : [ "''" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "259", - "s" : [ { - "value" : [ "'Foo'" ] - } ] - }, { - "value" : [ ")" ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "265", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "EndsWith", - "signature" : [ { - "localId" : "266", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "267", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "257", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "", - "type" : "Literal" - }, { - "localId" : "259", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "Foo", - "type" : "Literal" - } ] - } - }, { - "localId" : "270", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "EndsWithNull", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "270", - "s" : [ { - "value" : [ "","define ","EndsWithNull",": " ] - }, { - "r" : "279", - "s" : [ { - "value" : [ "EndsWith","(" ] - }, { - "r" : "271", - "s" : [ { - "value" : [ "'FooBar'" ] - } ] - }, { - "r" : "273", - "value" : [ ", ","null",")" ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "279", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "EndsWith", - "signature" : [ { - "localId" : "281", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "282", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "271", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "FooBar", - "type" : "Literal" - }, { - "localId" : "280", - "asType" : "{urn:hl7-org:elm-types:r1}String", - "type" : "As", - "signature" : [ ], - "operand" : { - "localId" : "273", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - } - } ] - } - }, { - "localId" : "285", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "EndsWithNullAsString", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "285", - "s" : [ { - "value" : [ "","define ","EndsWithNullAsString",": " ] - }, { - "r" : "295", - "s" : [ { - "value" : [ "EndsWith","(" ] - }, { - "r" : "286", - "s" : [ { - "value" : [ "'FooBar'" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "288", - "s" : [ { - "r" : "289", - "value" : [ "null"," as " ] - }, { - "r" : "290", - "s" : [ { - "value" : [ "String" ] - } ] - } ] - }, { - "value" : [ ")" ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "295", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "EndsWith", - "signature" : [ { - "localId" : "296", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "297", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "286", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "FooBar", - "type" : "Literal" - }, { - "localId" : "288", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "strict" : false, - "type" : "As", - "signature" : [ ], - "operand" : { - "localId" : "289", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - }, - "asTypeSpecifier" : { - "localId" : "290", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } - } ] - } - }, { - "localId" : "300", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "NullEndsWith", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "300", - "s" : [ { - "value" : [ "","define ","NullEndsWith",": " ] - }, { - "r" : "310", - "s" : [ { - "value" : [ "EndsWith","(" ] - }, { - "r" : "301", - "s" : [ { - "r" : "302", - "value" : [ "null"," as " ] - }, { - "r" : "303", - "s" : [ { - "value" : [ "String" ] - } ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "304", - "s" : [ { - "value" : [ "'Foo'" ] - } ] - }, { - "value" : [ ")" ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "310", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "EndsWith", - "signature" : [ { - "localId" : "311", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "312", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "301", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "strict" : false, - "type" : "As", - "signature" : [ ], - "operand" : { - "localId" : "302", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - }, - "asTypeSpecifier" : { - "localId" : "303", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "304", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "Foo", - "type" : "Literal" - } ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "304", + "s" : [ { + "value" : [ "'Foo'" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "EndsWith", + "localId" : "310", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "311", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "312", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "As", + "localId" : "301", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "strict" : false, + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Null", + "localId" : "302", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + }, + "asTypeSpecifier" : { + "type" : "NamedTypeSpecifier", + "localId" : "303", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] } - }, { - "localId" : "315", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "NullAsStringEndsWith", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "315", + }, { + "type" : "Literal", + "localId" : "304", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "Foo", + "annotation" : [ ] + } ] + } + }, { + "localId" : "315", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "NullAsStringEndsWith", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "315", + "s" : [ { + "value" : [ "", "define ", "NullAsStringEndsWith", ": " ] + }, { + "r" : "325", + "s" : [ { + "value" : [ "EndsWith", "(" ] + }, { + "r" : "316", + "s" : [ { + "r" : "317", + "value" : [ "null", " as " ] + }, { + "r" : "318", "s" : [ { - "value" : [ "","define ","NullAsStringEndsWith",": " ] - }, { - "r" : "325", - "s" : [ { - "value" : [ "EndsWith","(" ] - }, { - "r" : "316", - "s" : [ { - "r" : "317", - "value" : [ "null"," as " ] - }, { - "r" : "318", - "s" : [ { - "value" : [ "String" ] - } ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "319", - "s" : [ { - "value" : [ "'Foo'" ] - } ] - }, { - "value" : [ ")" ] - } ] + "value" : [ "String" ] } ] - } - } ], - "expression" : { - "localId" : "325", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "EndsWith", - "signature" : [ { - "localId" : "326", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "327", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "316", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "strict" : false, - "type" : "As", - "signature" : [ ], - "operand" : { - "localId" : "317", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - }, - "asTypeSpecifier" : { - "localId" : "318", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "319", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "Foo", - "type" : "Literal" - } ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "319", + "s" : [ { + "value" : [ "'Foo'" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "EndsWith", + "localId" : "325", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "326", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "327", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "As", + "localId" : "316", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "strict" : false, + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Null", + "localId" : "317", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + }, + "asTypeSpecifier" : { + "type" : "NamedTypeSpecifier", + "localId" : "318", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] } - } ] - } - } + }, { + "type" : "Literal", + "localId" : "319", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "Foo", + "annotation" : [ ] + } ] + } + } ] + } + } } /* ReplaceMatches @@ -7891,1014 +8800,1120 @@ define ReplaceSubstitutionIsNull: ReplaceMatches('Foo', 'Bar', null) */ module.exports['ReplaceMatches'] = { - "library" : { - "localId" : "0", - "annotation" : [ { - "translatorVersion" : "3.27.0", - "translatorOptions" : "EnableDateRangeOptimization,EnableAnnotations,EnableResultTypes", - "signatureLevel" : "All", - "type" : "CqlToElmInfo" + "library" : { + "localId" : "0", + "annotation" : [ { + "type" : "CqlToElmInfo", + "translatorVersion" : "4.2.0", + "translatorOptions" : "EnableDateRangeOptimization,EnableAnnotations,EnableResultTypes", + "signatureLevel" : "All" + }, { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "414", + "s" : [ { + "value" : [ "", "library TestSnippet version '1'" ] + } ] + } + } ], + "identifier" : { + "id" : "TestSnippet", + "version" : "1" + }, + "schemaIdentifier" : { + "id" : "urn:hl7-org:elm", + "version" : "r1" + }, + "usings" : { + "def" : [ { + "localId" : "1", + "localIdentifier" : "System", + "uri" : "urn:hl7-org:elm-types:r1", + "annotation" : [ ] }, { - "type" : "Annotation", - "s" : { - "r" : "414", + "localId" : "206", + "localIdentifier" : "Simple", + "uri" : "https://github.com/cqframework/cql-execution/simple", + "version" : "1.0.0", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "206", "s" : [ { - "value" : [ "","library TestSnippet version '1'" ] + "value" : [ "", "using " ] + }, { + "s" : [ { + "value" : [ "Simple" ] + } ] + }, { + "value" : [ " version '1.0.0'" ] } ] - } - } ], - "identifier" : { - "id" : "TestSnippet", - "version" : "1" - }, - "schemaIdentifier" : { - "id" : "urn:hl7-org:elm", - "version" : "r1" - }, - "usings" : { - "def" : [ { - "localId" : "1", - "localIdentifier" : "System", - "uri" : "urn:hl7-org:elm-types:r1" - }, { - "localId" : "206", - "localIdentifier" : "Simple", - "uri" : "https://github.com/cqframework/cql-execution/simple", - "version" : "1.0.0", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "206", - "s" : [ { - "value" : [ "","using " ] - }, { - "s" : [ { - "value" : [ "Simple" ] - } ] - }, { - "value" : [ " version '1.0.0'" ] - } ] - } + } + } ] + } ] + }, + "contexts" : { + "def" : [ { + "localId" : "211", + "name" : "Patient", + "annotation" : [ ] + } ] + }, + "statements" : { + "def" : [ { + "localId" : "209", + "name" : "Patient", + "context" : "Patient", + "annotation" : [ ], + "expression" : { + "type" : "SingletonFrom", + "localId" : "210", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Retrieve", + "localId" : "208", + "dataType" : "{https://github.com/cqframework/cql-execution/simple}Patient", + "annotation" : [ ], + "include" : [ ], + "codeFilter" : [ ], + "dateFilter" : [ ], + "otherFilter" : [ ] + } + } + }, { + "localId" : "214", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "name" : "ReplaceOne", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "214", + "s" : [ { + "value" : [ "", "define ", "ReplaceOne", ": " ] + }, { + "r" : "226", + "s" : [ { + "value" : [ "ReplaceMatches", "(" ] + }, { + "r" : "215", + "s" : [ { + "value" : [ "'FooBar'" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "217", + "s" : [ { + "value" : [ "'Bar'" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "219", + "s" : [ { + "value" : [ "'Baz'" ] + } ] + }, { + "value" : [ ")" ] + } ] } ] - } ] - }, - "contexts" : { - "def" : [ { - "localId" : "211", - "name" : "Patient" - } ] - }, - "statements" : { - "def" : [ { - "localId" : "209", - "name" : "Patient", - "context" : "Patient", - "expression" : { - "localId" : "210", - "type" : "SingletonFrom", - "signature" : [ ], - "operand" : { - "localId" : "208", - "dataType" : "{https://github.com/cqframework/cql-execution/simple}Patient", - "type" : "Retrieve", - "include" : [ ], - "codeFilter" : [ ], - "dateFilter" : [ ], - "otherFilter" : [ ] - } - } - }, { - "localId" : "214", + } + } ], + "expression" : { + "type" : "ReplaceMatches", + "localId" : "226", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "227", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "228", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "229", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "Literal", + "localId" : "215", "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "name" : "ReplaceOne", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "214", - "s" : [ { - "value" : [ "","define ","ReplaceOne",": " ] - }, { - "r" : "226", - "s" : [ { - "value" : [ "ReplaceMatches","(" ] - }, { - "r" : "215", - "s" : [ { - "value" : [ "'FooBar'" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "217", - "s" : [ { - "value" : [ "'Bar'" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "219", - "s" : [ { - "value" : [ "'Baz'" ] - } ] - }, { - "value" : [ ")" ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "226", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "type" : "ReplaceMatches", - "signature" : [ { - "localId" : "227", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "228", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "229", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "215", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "FooBar", - "type" : "Literal" - }, { - "localId" : "217", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "Bar", - "type" : "Literal" - }, { - "localId" : "219", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "Baz", - "type" : "Literal" - } ] - } - }, { - "localId" : "232", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "FooBar", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "217", "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "name" : "ReplaceMany", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "232", - "s" : [ { - "value" : [ "","define ","ReplaceMany",": " ] - }, { - "r" : "244", - "s" : [ { - "value" : [ "ReplaceMatches","(" ] - }, { - "r" : "233", - "s" : [ { - "value" : [ "'FooBarFooBarFooBar'" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "235", - "s" : [ { - "value" : [ "'Bar'" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "237", - "s" : [ { - "value" : [ "'Baz'" ] - } ] - }, { - "value" : [ ")" ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "244", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "type" : "ReplaceMatches", - "signature" : [ { - "localId" : "245", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "246", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "247", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "233", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "FooBarFooBarFooBar", - "type" : "Literal" - }, { - "localId" : "235", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "Bar", - "type" : "Literal" - }, { - "localId" : "237", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "Baz", - "type" : "Literal" - } ] - } - }, { - "localId" : "250", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "Bar", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "219", "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "name" : "ReplaceCapital", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "250", - "s" : [ { - "value" : [ "","define ","ReplaceCapital",": " ] - }, { - "r" : "262", - "s" : [ { - "value" : [ "ReplaceMatches","(" ] - }, { - "r" : "251", - "s" : [ { - "value" : [ "'Tattle'" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "253", - "s" : [ { - "value" : [ "'T'" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "255", - "s" : [ { - "value" : [ "'R'" ] - } ] - }, { - "value" : [ ")" ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "262", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "type" : "ReplaceMatches", - "signature" : [ { - "localId" : "263", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "264", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "265", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "251", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "Tattle", - "type" : "Literal" - }, { - "localId" : "253", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "T", - "type" : "Literal" - }, { - "localId" : "255", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "R", - "type" : "Literal" - } ] - } - }, { - "localId" : "268", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "Baz", + "annotation" : [ ] + } ] + } + }, { + "localId" : "232", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "name" : "ReplaceMany", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "232", + "s" : [ { + "value" : [ "", "define ", "ReplaceMany", ": " ] + }, { + "r" : "244", + "s" : [ { + "value" : [ "ReplaceMatches", "(" ] + }, { + "r" : "233", + "s" : [ { + "value" : [ "'FooBarFooBarFooBar'" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "235", + "s" : [ { + "value" : [ "'Bar'" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "237", + "s" : [ { + "value" : [ "'Baz'" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "ReplaceMatches", + "localId" : "244", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "245", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "246", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "247", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "Literal", + "localId" : "233", "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "name" : "ReplaceDiacritical", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "268", - "s" : [ { - "value" : [ "","define ","ReplaceDiacritical",": " ] - }, { - "r" : "280", - "s" : [ { - "value" : [ "ReplaceMatches","(" ] - }, { - "r" : "269", - "s" : [ { - "value" : [ "'Cafè'" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "271", - "s" : [ { - "value" : [ "'è'" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "273", - "s" : [ { - "value" : [ "'é'" ] - } ] - }, { - "value" : [ ")" ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "280", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "type" : "ReplaceMatches", - "signature" : [ { - "localId" : "281", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "282", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "283", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "269", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "Cafè", - "type" : "Literal" - }, { - "localId" : "271", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "è", - "type" : "Literal" - }, { - "localId" : "273", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "é", - "type" : "Literal" - } ] - } - }, { - "localId" : "286", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "FooBarFooBarFooBar", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "235", "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "name" : "ReplaceUnicode", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "286", - "s" : [ { - "value" : [ "","define ","ReplaceUnicode",": " ] - }, { - "r" : "298", - "s" : [ { - "value" : [ "ReplaceMatches","(" ] - }, { - "r" : "287", - "s" : [ { - "value" : [ "'Turn that frown \uD83D\uDE41 upside down! \uD83D\uDE03'" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "289", - "s" : [ { - "value" : [ "'\uD83D\uDE41'" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "291", - "s" : [ { - "value" : [ "'\uD83D\uDE03'" ] - } ] - }, { - "value" : [ ")" ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "298", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "type" : "ReplaceMatches", - "signature" : [ { - "localId" : "299", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "300", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "301", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "287", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "Turn that frown \uD83D\uDE41 upside down! \uD83D\uDE03", - "type" : "Literal" - }, { - "localId" : "289", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "\uD83D\uDE41", - "type" : "Literal" - }, { - "localId" : "291", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "\uD83D\uDE03", - "type" : "Literal" - } ] - } - }, { - "localId" : "304", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "Bar", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "237", "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "name" : "ReplaceSpace", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "304", - "s" : [ { - "value" : [ "","define ","ReplaceSpace",": " ] - }, { - "r" : "316", - "s" : [ { - "value" : [ "ReplaceMatches","(" ] - }, { - "r" : "305", - "s" : [ { - "value" : [ "'(123) 456 7890'" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "307", - "s" : [ { - "value" : [ "'\\\\s'" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "309", - "s" : [ { - "value" : [ "'-'" ] - } ] - }, { - "value" : [ ")" ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "316", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "type" : "ReplaceMatches", - "signature" : [ { - "localId" : "317", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "318", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "319", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "305", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "(123) 456 7890", - "type" : "Literal" - }, { - "localId" : "307", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "\\s", - "type" : "Literal" - }, { - "localId" : "309", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "-", - "type" : "Literal" - } ] - } - }, { - "localId" : "322", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "Baz", + "annotation" : [ ] + } ] + } + }, { + "localId" : "250", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "name" : "ReplaceCapital", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "250", + "s" : [ { + "value" : [ "", "define ", "ReplaceCapital", ": " ] + }, { + "r" : "262", + "s" : [ { + "value" : [ "ReplaceMatches", "(" ] + }, { + "r" : "251", + "s" : [ { + "value" : [ "'Tattle'" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "253", + "s" : [ { + "value" : [ "'T'" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "255", + "s" : [ { + "value" : [ "'R'" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "ReplaceMatches", + "localId" : "262", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "263", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "264", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "265", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "Literal", + "localId" : "251", "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "name" : "ReplaceEmpty", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "322", - "s" : [ { - "value" : [ "","define ","ReplaceEmpty",": " ] - }, { - "r" : "334", - "s" : [ { - "value" : [ "ReplaceMatches","(" ] - }, { - "r" : "323", - "s" : [ { - "value" : [ "'FooBar'" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "325", - "s" : [ { - "value" : [ "''" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "327", - "s" : [ { - "value" : [ "'.'" ] - } ] - }, { - "value" : [ ")" ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "334", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "type" : "ReplaceMatches", - "signature" : [ { - "localId" : "335", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "336", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "337", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "323", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "FooBar", - "type" : "Literal" - }, { - "localId" : "325", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "", - "type" : "Literal" - }, { - "localId" : "327", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : ".", - "type" : "Literal" - } ] - } - }, { - "localId" : "340", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "Tattle", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "253", "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "name" : "ReplaceMatchGroups", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "340", - "s" : [ { - "value" : [ "","define ","ReplaceMatchGroups",": " ] - }, { - "r" : "352", - "s" : [ { - "value" : [ "ReplaceMatches","(" ] - }, { - "r" : "341", - "s" : [ { - "value" : [ "'Foo[123]'" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "343", - "s" : [ { - "value" : [ "'Foo\\\\[(\\\\d+)]'" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "345", - "s" : [ { - "value" : [ "'Bar[$1]'" ] - } ] - }, { - "value" : [ ")" ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "352", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "type" : "ReplaceMatches", - "signature" : [ { - "localId" : "353", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "354", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "355", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "341", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "Foo[123]", - "type" : "Literal" - }, { - "localId" : "343", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "Foo\\[(\\d+)]", - "type" : "Literal" - }, { - "localId" : "345", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "Bar[$1]", - "type" : "Literal" - } ] - } - }, { - "localId" : "358", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "T", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "255", "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "name" : "ReplaceNone", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "358", - "s" : [ { - "value" : [ "","define ","ReplaceNone",": " ] - }, { - "r" : "370", - "s" : [ { - "value" : [ "ReplaceMatches","(" ] - }, { - "r" : "359", - "s" : [ { - "value" : [ "'Foo'" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "361", - "s" : [ { - "value" : [ "'Bar'" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "363", - "s" : [ { - "value" : [ "'Baz'" ] - } ] - }, { - "value" : [ ")" ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "370", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "type" : "ReplaceMatches", - "signature" : [ { - "localId" : "371", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "372", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "373", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "359", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "Foo", - "type" : "Literal" - }, { - "localId" : "361", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "Bar", - "type" : "Literal" - }, { - "localId" : "363", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "Baz", - "type" : "Literal" - } ] - } - }, { - "localId" : "376", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "R", + "annotation" : [ ] + } ] + } + }, { + "localId" : "268", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "name" : "ReplaceDiacritical", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "268", + "s" : [ { + "value" : [ "", "define ", "ReplaceDiacritical", ": " ] + }, { + "r" : "280", + "s" : [ { + "value" : [ "ReplaceMatches", "(" ] + }, { + "r" : "269", + "s" : [ { + "value" : [ "'Cafè'" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "271", + "s" : [ { + "value" : [ "'è'" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "273", + "s" : [ { + "value" : [ "'é'" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "ReplaceMatches", + "localId" : "280", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "281", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "282", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "283", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "Literal", + "localId" : "269", "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "name" : "ReplaceArgumentIsNull", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "376", - "s" : [ { - "value" : [ "","define ","ReplaceArgumentIsNull",": " ] - }, { - "r" : "388", - "s" : [ { - "r" : "377", - "value" : [ "ReplaceMatches","(","null",", " ] - }, { - "r" : "378", - "s" : [ { - "value" : [ "'Bar'" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "380", - "s" : [ { - "value" : [ "'Baz'" ] - } ] - }, { - "value" : [ ")" ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "388", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "type" : "ReplaceMatches", - "signature" : [ { - "localId" : "390", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "391", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "392", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "389", - "asType" : "{urn:hl7-org:elm-types:r1}String", - "type" : "As", - "signature" : [ ], - "operand" : { - "localId" : "377", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - } - }, { - "localId" : "378", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "Bar", - "type" : "Literal" - }, { - "localId" : "380", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "Baz", - "type" : "Literal" - } ] + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "Cafè", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "271", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "è", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "273", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "é", + "annotation" : [ ] + } ] + } + }, { + "localId" : "286", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "name" : "ReplaceUnicode", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "286", + "s" : [ { + "value" : [ "", "define ", "ReplaceUnicode", ": " ] + }, { + "r" : "298", + "s" : [ { + "value" : [ "ReplaceMatches", "(" ] + }, { + "r" : "287", + "s" : [ { + "value" : [ "'Turn that frown 🙁 upside down! 😃'" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "289", + "s" : [ { + "value" : [ "'🙁'" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "291", + "s" : [ { + "value" : [ "'😃'" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "ReplaceMatches", + "localId" : "298", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "299", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "300", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "301", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "Literal", + "localId" : "287", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "Turn that frown 🙁 upside down! 😃", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "289", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "🙁", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "291", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "😃", + "annotation" : [ ] + } ] + } + }, { + "localId" : "304", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "name" : "ReplaceSpace", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "304", + "s" : [ { + "value" : [ "", "define ", "ReplaceSpace", ": " ] + }, { + "r" : "316", + "s" : [ { + "value" : [ "ReplaceMatches", "(" ] + }, { + "r" : "305", + "s" : [ { + "value" : [ "'(123) 456 7890'" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "307", + "s" : [ { + "value" : [ "'\\\\s'" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "309", + "s" : [ { + "value" : [ "'-'" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "ReplaceMatches", + "localId" : "316", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "317", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "318", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "319", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "Literal", + "localId" : "305", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "(123) 456 7890", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "307", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "\\s", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "309", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "-", + "annotation" : [ ] + } ] + } + }, { + "localId" : "322", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "name" : "ReplaceEmpty", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "322", + "s" : [ { + "value" : [ "", "define ", "ReplaceEmpty", ": " ] + }, { + "r" : "334", + "s" : [ { + "value" : [ "ReplaceMatches", "(" ] + }, { + "r" : "323", + "s" : [ { + "value" : [ "'FooBar'" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "325", + "s" : [ { + "value" : [ "''" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "327", + "s" : [ { + "value" : [ "'.'" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "ReplaceMatches", + "localId" : "334", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "335", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "336", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "337", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "Literal", + "localId" : "323", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "FooBar", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "325", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "327", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : ".", + "annotation" : [ ] + } ] + } + }, { + "localId" : "340", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "name" : "ReplaceMatchGroups", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "340", + "s" : [ { + "value" : [ "", "define ", "ReplaceMatchGroups", ": " ] + }, { + "r" : "352", + "s" : [ { + "value" : [ "ReplaceMatches", "(" ] + }, { + "r" : "341", + "s" : [ { + "value" : [ "'Foo[123]'" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "343", + "s" : [ { + "value" : [ "'Foo\\\\[(\\\\d+)]'" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "345", + "s" : [ { + "value" : [ "'Bar[$1]'" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "ReplaceMatches", + "localId" : "352", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "353", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "354", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "355", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "Literal", + "localId" : "341", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "Foo[123]", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "343", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "Foo\\[(\\d+)]", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "345", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "Bar[$1]", + "annotation" : [ ] + } ] + } + }, { + "localId" : "358", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "name" : "ReplaceNone", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "358", + "s" : [ { + "value" : [ "", "define ", "ReplaceNone", ": " ] + }, { + "r" : "370", + "s" : [ { + "value" : [ "ReplaceMatches", "(" ] + }, { + "r" : "359", + "s" : [ { + "value" : [ "'Foo'" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "361", + "s" : [ { + "value" : [ "'Bar'" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "363", + "s" : [ { + "value" : [ "'Baz'" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "ReplaceMatches", + "localId" : "370", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "371", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "372", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "373", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "Literal", + "localId" : "359", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "Foo", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "361", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "Bar", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "363", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "Baz", + "annotation" : [ ] + } ] + } + }, { + "localId" : "376", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "name" : "ReplaceArgumentIsNull", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "376", + "s" : [ { + "value" : [ "", "define ", "ReplaceArgumentIsNull", ": " ] + }, { + "r" : "388", + "s" : [ { + "r" : "377", + "value" : [ "ReplaceMatches", "(", "null", ", " ] + }, { + "r" : "378", + "s" : [ { + "value" : [ "'Bar'" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "380", + "s" : [ { + "value" : [ "'Baz'" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "ReplaceMatches", + "localId" : "388", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "390", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "391", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "392", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "As", + "localId" : "389", + "asType" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Null", + "localId" : "377", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] } - }, { - "localId" : "395", + }, { + "type" : "Literal", + "localId" : "378", "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "name" : "ReplacePatternIsNull", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "395", - "s" : [ { - "value" : [ "","define ","ReplacePatternIsNull",": " ] - }, { - "r" : "407", - "s" : [ { - "value" : [ "ReplaceMatches","(" ] - }, { - "r" : "396", - "s" : [ { - "value" : [ "'Foo'" ] - } ] - }, { - "r" : "398", - "value" : [ ", ","null",", " ] - }, { - "r" : "399", - "s" : [ { - "value" : [ "'Baz'" ] - } ] - }, { - "value" : [ ")" ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "407", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "type" : "ReplaceMatches", - "signature" : [ { - "localId" : "409", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "410", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "411", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "396", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "Foo", - "type" : "Literal" - }, { - "localId" : "408", - "asType" : "{urn:hl7-org:elm-types:r1}String", - "type" : "As", - "signature" : [ ], - "operand" : { - "localId" : "398", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - } - }, { - "localId" : "399", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "Baz", - "type" : "Literal" - } ] + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "Bar", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "380", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "Baz", + "annotation" : [ ] + } ] + } + }, { + "localId" : "395", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "name" : "ReplacePatternIsNull", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "395", + "s" : [ { + "value" : [ "", "define ", "ReplacePatternIsNull", ": " ] + }, { + "r" : "407", + "s" : [ { + "value" : [ "ReplaceMatches", "(" ] + }, { + "r" : "396", + "s" : [ { + "value" : [ "'Foo'" ] + } ] + }, { + "r" : "398", + "value" : [ ", ", "null", ", " ] + }, { + "r" : "399", + "s" : [ { + "value" : [ "'Baz'" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "ReplaceMatches", + "localId" : "407", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "409", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "410", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "411", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "Literal", + "localId" : "396", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "Foo", + "annotation" : [ ] + }, { + "type" : "As", + "localId" : "408", + "asType" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Null", + "localId" : "398", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] } - }, { - "localId" : "414", + }, { + "type" : "Literal", + "localId" : "399", "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "name" : "ReplaceSubstitutionIsNull", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "414", - "s" : [ { - "value" : [ "","define ","ReplaceSubstitutionIsNull",": " ] - }, { - "r" : "426", - "s" : [ { - "value" : [ "ReplaceMatches","(" ] - }, { - "r" : "415", - "s" : [ { - "value" : [ "'Foo'" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "417", - "s" : [ { - "value" : [ "'Bar'" ] - } ] - }, { - "r" : "419", - "value" : [ ", ","null",")" ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "426", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "type" : "ReplaceMatches", - "signature" : [ { - "localId" : "428", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "429", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "430", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "415", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "Foo", - "type" : "Literal" - }, { - "localId" : "417", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "Bar", - "type" : "Literal" - }, { - "localId" : "427", - "asType" : "{urn:hl7-org:elm-types:r1}String", - "type" : "As", - "signature" : [ ], - "operand" : { - "localId" : "419", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "Null" - } - } ] + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "Baz", + "annotation" : [ ] + } ] + } + }, { + "localId" : "414", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "name" : "ReplaceSubstitutionIsNull", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "414", + "s" : [ { + "value" : [ "", "define ", "ReplaceSubstitutionIsNull", ": " ] + }, { + "r" : "426", + "s" : [ { + "value" : [ "ReplaceMatches", "(" ] + }, { + "r" : "415", + "s" : [ { + "value" : [ "'Foo'" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "417", + "s" : [ { + "value" : [ "'Bar'" ] + } ] + }, { + "r" : "419", + "value" : [ ", ", "null", ")" ] + } ] + } ] + } + } ], + "expression" : { + "type" : "ReplaceMatches", + "localId" : "426", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "428", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "429", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "430", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "Literal", + "localId" : "415", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "Foo", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "417", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "Bar", + "annotation" : [ ] + }, { + "type" : "As", + "localId" : "427", + "asType" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Null", + "localId" : "419", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] } - } ] - } - } + } ] + } + } ] + } + } } diff --git a/test/elm/structured/data.js b/test/elm/structured/data.js index 797a3917..25a2a9f0 100644 --- a/test/elm/structured/data.js +++ b/test/elm/structured/data.js @@ -17,212 +17,237 @@ define emptyTup: {:} */ module.exports['Tuple'] = { - "library" : { - "localId" : "0", - "annotation" : [ { - "translatorVersion" : "3.27.0", - "translatorOptions" : "EnableDateRangeOptimization,EnableAnnotations,EnableResultTypes", - "signatureLevel" : "All", - "type" : "CqlToElmInfo" + "library" : { + "localId" : "0", + "annotation" : [ { + "type" : "CqlToElmInfo", + "translatorVersion" : "4.2.0", + "translatorOptions" : "EnableDateRangeOptimization,EnableAnnotations,EnableResultTypes", + "signatureLevel" : "All" + }, { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "230", + "s" : [ { + "value" : [ "", "library TestSnippet version '1'" ] + } ] + } + } ], + "identifier" : { + "id" : "TestSnippet", + "version" : "1" + }, + "schemaIdentifier" : { + "id" : "urn:hl7-org:elm", + "version" : "r1" + }, + "usings" : { + "def" : [ { + "localId" : "1", + "localIdentifier" : "System", + "uri" : "urn:hl7-org:elm-types:r1", + "annotation" : [ ] }, { - "type" : "Annotation", - "s" : { - "r" : "230", + "localId" : "206", + "localIdentifier" : "Simple", + "uri" : "https://github.com/cqframework/cql-execution/simple", + "version" : "1.0.0", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "206", "s" : [ { - "value" : [ "","library TestSnippet version '1'" ] + "value" : [ "", "using " ] + }, { + "s" : [ { + "value" : [ "Simple" ] + } ] + }, { + "value" : [ " version '1.0.0'" ] } ] - } - } ], - "identifier" : { - "id" : "TestSnippet", - "version" : "1" - }, - "schemaIdentifier" : { - "id" : "urn:hl7-org:elm", - "version" : "r1" - }, - "usings" : { - "def" : [ { - "localId" : "1", - "localIdentifier" : "System", - "uri" : "urn:hl7-org:elm-types:r1" - }, { - "localId" : "206", - "localIdentifier" : "Simple", - "uri" : "https://github.com/cqframework/cql-execution/simple", - "version" : "1.0.0", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "206", - "s" : [ { - "value" : [ "","using " ] - }, { - "s" : [ { - "value" : [ "Simple" ] - } ] - }, { - "value" : [ " version '1.0.0'" ] - } ] - } + } + } ] + } ] + }, + "contexts" : { + "def" : [ { + "localId" : "211", + "name" : "Patient", + "annotation" : [ ] + } ] + }, + "statements" : { + "def" : [ { + "localId" : "209", + "name" : "Patient", + "context" : "Patient", + "annotation" : [ ], + "expression" : { + "type" : "SingletonFrom", + "localId" : "210", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Retrieve", + "localId" : "208", + "dataType" : "{https://github.com/cqframework/cql-execution/simple}Patient", + "annotation" : [ ], + "include" : [ ], + "codeFilter" : [ ], + "dateFilter" : [ ], + "otherFilter" : [ ] + } + } + }, { + "localId" : "214", + "name" : "tup", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "214", + "s" : [ { + "value" : [ "", "define ", "tup", ": " ] + }, { + "r" : "215", + "s" : [ { + "value" : [ "{" ] + }, { + "s" : [ { + "r" : "216", + "value" : [ "a", ": ", "1" ] + } ] + }, { + "value" : [ ", " ] + }, { + "s" : [ { + "r" : "217", + "value" : [ "b", ": ", "2" ] + } ] + }, { + "value" : [ "}" ] + } ] } ] - } ] - }, - "contexts" : { - "def" : [ { - "localId" : "211", - "name" : "Patient" - } ] - }, - "statements" : { - "def" : [ { - "localId" : "209", - "name" : "Patient", - "context" : "Patient", - "expression" : { - "localId" : "210", - "type" : "SingletonFrom", - "signature" : [ ], - "operand" : { - "localId" : "208", - "dataType" : "{https://github.com/cqframework/cql-execution/simple}Patient", - "type" : "Retrieve", - "include" : [ ], - "codeFilter" : [ ], - "dateFilter" : [ ], - "otherFilter" : [ ] - } + } + } ], + "resultTypeSpecifier" : { + "type" : "TupleTypeSpecifier", + "localId" : "223", + "annotation" : [ ], + "element" : [ { + "localId" : "224", + "name" : "a", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "225", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] } - }, { - "localId" : "214", - "name" : "tup", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "214", - "s" : [ { - "value" : [ "","define ","tup",": " ] - }, { - "r" : "215", - "s" : [ { - "value" : [ "{" ] - }, { - "s" : [ { - "r" : "216", - "value" : [ "a",": ","1" ] - } ] - }, { - "value" : [ ", " ] - }, { - "s" : [ { - "r" : "217", - "value" : [ "b",": ","2" ] - } ] - }, { - "value" : [ "}" ] - } ] - } ] - } - } ], - "resultTypeSpecifier" : { - "localId" : "223", - "type" : "TupleTypeSpecifier", - "element" : [ { - "localId" : "224", - "name" : "a", - "elementType" : { - "localId" : "225", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "226", - "name" : "b", - "elementType" : { - "localId" : "227", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } ] - }, - "expression" : { - "localId" : "215", - "type" : "Tuple", - "resultTypeSpecifier" : { - "localId" : "218", - "type" : "TupleTypeSpecifier", - "element" : [ { - "localId" : "219", - "name" : "a", - "elementType" : { - "localId" : "220", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "221", - "name" : "b", - "elementType" : { - "localId" : "222", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } ] - }, - "element" : [ { - "name" : "a", - "value" : { - "localId" : "216", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - } - }, { - "name" : "b", - "value" : { - "localId" : "217", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal" - } - } ] + }, { + "localId" : "226", + "name" : "b", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "227", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] } - }, { - "localId" : "230", - "name" : "emptyTup", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "230", - "s" : [ { - "r" : "231", - "value" : [ "","define ","emptyTup",": ","{:}" ] - } ] - } - } ], - "resultTypeSpecifier" : { - "localId" : "233", - "type" : "TupleTypeSpecifier", - "element" : [ ] - }, - "expression" : { - "localId" : "231", - "type" : "Tuple", - "resultTypeSpecifier" : { - "localId" : "232", - "type" : "TupleTypeSpecifier", - "element" : [ ] - }, - "element" : [ ] + } ] + }, + "expression" : { + "type" : "Tuple", + "localId" : "215", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "TupleTypeSpecifier", + "localId" : "218", + "annotation" : [ ], + "element" : [ { + "localId" : "219", + "name" : "a", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "220", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, { + "localId" : "221", + "name" : "b", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "222", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } ] + }, + "element" : [ { + "name" : "a", + "value" : { + "type" : "Literal", + "localId" : "216", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] } - } ] - } - } + }, { + "name" : "b", + "value" : { + "type" : "Literal", + "localId" : "217", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "annotation" : [ ] + } + } ] + } + }, { + "localId" : "230", + "name" : "emptyTup", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "230", + "s" : [ { + "r" : "231", + "value" : [ "", "define ", "emptyTup", ": ", "{:}" ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "TupleTypeSpecifier", + "localId" : "233", + "annotation" : [ ], + "element" : [ ] + }, + "expression" : { + "type" : "Tuple", + "localId" : "231", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "TupleTypeSpecifier", + "localId" : "232", + "annotation" : [ ], + "element" : [ ] + }, + "element" : [ ] + } + } ] + } + } } diff --git a/test/elm/type/data.js b/test/elm/type/data.js index 49064053..4c7417df 100644 --- a/test/elm/type/data.js +++ b/test/elm/type/data.js @@ -19,273 +19,296 @@ define StringFiveIsString: '5' is String */ module.exports['IsSystemType'] = { - "library" : { - "localId" : "0", - "annotation" : [ { - "translatorVersion" : "3.27.0", - "translatorOptions" : "EnableDateRangeOptimization,EnableAnnotations,EnableResultTypes", - "signatureLevel" : "All", - "type" : "CqlToElmInfo" + "library" : { + "localId" : "0", + "annotation" : [ { + "type" : "CqlToElmInfo", + "translatorVersion" : "4.2.0", + "translatorOptions" : "EnableDateRangeOptimization,EnableAnnotations,EnableResultTypes", + "signatureLevel" : "All" + }, { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "233", + "s" : [ { + "value" : [ "", "library TestSnippet version '1'" ] + } ] + } + } ], + "identifier" : { + "id" : "TestSnippet", + "version" : "1" + }, + "schemaIdentifier" : { + "id" : "urn:hl7-org:elm", + "version" : "r1" + }, + "usings" : { + "def" : [ { + "localId" : "1", + "localIdentifier" : "System", + "uri" : "urn:hl7-org:elm-types:r1", + "annotation" : [ ] + }, { + "localId" : "206", + "localIdentifier" : "Simple", + "uri" : "https://github.com/cqframework/cql-execution/simple", + "version" : "1.0.0", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "206", + "s" : [ { + "value" : [ "", "using " ] + }, { + "s" : [ { + "value" : [ "Simple" ] + } ] + }, { + "value" : [ " version '1.0.0'" ] + } ] + } + } ] + } ] + }, + "contexts" : { + "def" : [ { + "localId" : "211", + "name" : "Patient", + "annotation" : [ ] + } ] + }, + "statements" : { + "def" : [ { + "localId" : "209", + "name" : "Patient", + "context" : "Patient", + "annotation" : [ ], + "expression" : { + "type" : "SingletonFrom", + "localId" : "210", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Retrieve", + "localId" : "208", + "dataType" : "{https://github.com/cqframework/cql-execution/simple}Patient", + "annotation" : [ ], + "include" : [ ], + "codeFilter" : [ ], + "dateFilter" : [ ], + "otherFilter" : [ ] + } + } + }, { + "localId" : "214", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "FiveIsInteger", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "214", + "s" : [ { + "value" : [ "", "define ", "FiveIsInteger", ": " ] + }, { + "r" : "215", + "s" : [ { + "r" : "216", + "value" : [ "5", " is " ] + }, { + "r" : "217", + "s" : [ { + "value" : [ "Integer" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Is", + "localId" : "215", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Literal", + "localId" : "216", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "5", + "annotation" : [ ] + }, + "isTypeSpecifier" : { + "type" : "NamedTypeSpecifier", + "localId" : "217", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } + }, { + "localId" : "220", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "FiveIsString", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "220", + "s" : [ { + "value" : [ "", "define ", "FiveIsString", ": " ] + }, { + "r" : "221", + "s" : [ { + "r" : "222", + "value" : [ "5", " is " ] + }, { + "r" : "223", + "s" : [ { + "value" : [ "String" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Is", + "localId" : "221", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Literal", + "localId" : "222", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "5", + "annotation" : [ ] + }, + "isTypeSpecifier" : { + "type" : "NamedTypeSpecifier", + "localId" : "223", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } + } + }, { + "localId" : "226", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "StringFiveIsInteger", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "226", + "s" : [ { + "value" : [ "", "define ", "StringFiveIsInteger", ": " ] + }, { + "r" : "227", + "s" : [ { + "r" : "228", + "s" : [ { + "value" : [ "'5'" ] + } ] + }, { + "value" : [ " is " ] + }, { + "r" : "230", + "s" : [ { + "value" : [ "Integer" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Is", + "localId" : "227", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Literal", + "localId" : "228", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "5", + "annotation" : [ ] + }, + "isTypeSpecifier" : { + "type" : "NamedTypeSpecifier", + "localId" : "230", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } }, { - "type" : "Annotation", - "s" : { + "localId" : "233", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "StringFiveIsString", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { "r" : "233", "s" : [ { - "value" : [ "","library TestSnippet version '1'" ] - } ] - } - } ], - "identifier" : { - "id" : "TestSnippet", - "version" : "1" - }, - "schemaIdentifier" : { - "id" : "urn:hl7-org:elm", - "version" : "r1" - }, - "usings" : { - "def" : [ { - "localId" : "1", - "localIdentifier" : "System", - "uri" : "urn:hl7-org:elm-types:r1" - }, { - "localId" : "206", - "localIdentifier" : "Simple", - "uri" : "https://github.com/cqframework/cql-execution/simple", - "version" : "1.0.0", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "206", - "s" : [ { - "value" : [ "","using " ] - }, { - "s" : [ { - "value" : [ "Simple" ] - } ] - }, { - "value" : [ " version '1.0.0'" ] - } ] - } - } ] - } ] - }, - "contexts" : { - "def" : [ { - "localId" : "211", - "name" : "Patient" - } ] - }, - "statements" : { - "def" : [ { - "localId" : "209", - "name" : "Patient", - "context" : "Patient", - "expression" : { - "localId" : "210", - "type" : "SingletonFrom", - "signature" : [ ], - "operand" : { - "localId" : "208", - "dataType" : "{https://github.com/cqframework/cql-execution/simple}Patient", - "type" : "Retrieve", - "include" : [ ], - "codeFilter" : [ ], - "dateFilter" : [ ], - "otherFilter" : [ ] - } - } - }, { - "localId" : "214", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "FiveIsInteger", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "214", - "s" : [ { - "value" : [ "","define ","FiveIsInteger",": " ] - }, { - "r" : "215", - "s" : [ { - "r" : "216", - "value" : [ "5"," is " ] - }, { - "r" : "217", - "s" : [ { - "value" : [ "Integer" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "215", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "Is", - "signature" : [ ], - "operand" : { - "localId" : "216", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal" - }, - "isTypeSpecifier" : { - "localId" : "217", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } - }, { - "localId" : "220", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "FiveIsString", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "220", - "s" : [ { - "value" : [ "","define ","FiveIsString",": " ] - }, { - "r" : "221", - "s" : [ { - "r" : "222", - "value" : [ "5"," is " ] - }, { - "r" : "223", - "s" : [ { - "value" : [ "String" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "221", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "Is", - "signature" : [ ], - "operand" : { - "localId" : "222", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal" - }, - "isTypeSpecifier" : { - "localId" : "223", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } - } - }, { - "localId" : "226", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "StringFiveIsInteger", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "226", - "s" : [ { - "value" : [ "","define ","StringFiveIsInteger",": " ] - }, { - "r" : "227", - "s" : [ { - "r" : "228", - "s" : [ { - "value" : [ "'5'" ] - } ] - }, { - "value" : [ " is " ] - }, { - "r" : "230", - "s" : [ { - "value" : [ "Integer" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "227", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "Is", - "signature" : [ ], - "operand" : { - "localId" : "228", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "5", - "type" : "Literal" - }, - "isTypeSpecifier" : { - "localId" : "230", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } - }, { - "localId" : "233", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "StringFiveIsString", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "233", - "s" : [ { - "value" : [ "","define ","StringFiveIsString",": " ] - }, { - "r" : "234", - "s" : [ { - "r" : "235", - "s" : [ { - "value" : [ "'5'" ] - } ] - }, { - "value" : [ " is " ] - }, { - "r" : "237", - "s" : [ { - "value" : [ "String" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "234", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "Is", - "signature" : [ ], - "operand" : { - "localId" : "235", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "5", - "type" : "Literal" - }, - "isTypeSpecifier" : { - "localId" : "237", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } - } - } ] - } - } + "value" : [ "", "define ", "StringFiveIsString", ": " ] + }, { + "r" : "234", + "s" : [ { + "r" : "235", + "s" : [ { + "value" : [ "'5'" ] + } ] + }, { + "value" : [ " is " ] + }, { + "r" : "237", + "s" : [ { + "value" : [ "String" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Is", + "localId" : "234", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Literal", + "localId" : "235", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "5", + "annotation" : [ ] + }, + "isTypeSpecifier" : { + "type" : "NamedTypeSpecifier", + "localId" : "237", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } + } + } ] + } + } } /* IsListType @@ -297,299 +320,334 @@ define ListOfDecimalsIsListOfIntegers: {1.5, 2.5, 3.5, 4.5, 5.5} is List" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "215", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "Is", - "signature" : [ ], - "operand" : { - "localId" : "216", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "222", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "223", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "element" : [ { - "localId" : "217", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, { - "localId" : "218", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal" - }, { - "localId" : "219", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, { - "localId" : "220", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "4", - "type" : "Literal" - }, { - "localId" : "221", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal" - } ] - }, - "isTypeSpecifier" : { - "localId" : "224", - "type" : "ListTypeSpecifier", - "resultTypeSpecifier" : { - "localId" : "226", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "227", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "elementType" : { - "localId" : "225", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } + "value" : [ "", "using " ] + }, { + "s" : [ { + "value" : [ "Simple" ] + } ] + }, { + "value" : [ " version '1.0.0'" ] + } ] + } + } ] + } ] + }, + "contexts" : { + "def" : [ { + "localId" : "211", + "name" : "Patient", + "annotation" : [ ] + } ] + }, + "statements" : { + "def" : [ { + "localId" : "209", + "name" : "Patient", + "context" : "Patient", + "annotation" : [ ], + "expression" : { + "type" : "SingletonFrom", + "localId" : "210", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Retrieve", + "localId" : "208", + "dataType" : "{https://github.com/cqframework/cql-execution/simple}Patient", + "annotation" : [ ], + "include" : [ ], + "codeFilter" : [ ], + "dateFilter" : [ ], + "otherFilter" : [ ] + } + } + }, { + "localId" : "214", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "ListOfIntegersIsListOfIntegers", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "214", + "s" : [ { + "value" : [ "", "define ", "ListOfIntegersIsListOfIntegers", ": " ] + }, { + "r" : "215", + "s" : [ { + "r" : "216", + "s" : [ { + "r" : "217", + "value" : [ "{", "1", ", ", "2", ", ", "3", ", ", "4", ", ", "5", "}" ] + } ] + }, { + "value" : [ " is " ] + }, { + "r" : "224", + "s" : [ { + "value" : [ "List<" ] + }, { + "r" : "225", + "s" : [ { + "value" : [ "Integer" ] + } ] + }, { + "value" : [ ">" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Is", + "localId" : "215", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "List", + "localId" : "216", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "222", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "223", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "element" : [ { + "type" : "Literal", + "localId" : "217", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "218", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "219", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "220", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "4", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "221", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "5", + "annotation" : [ ] + } ] + }, + "isTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "224", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "226", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "227", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "225", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] } - }, { - "localId" : "230", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "ListOfDecimalsIsListOfIntegers", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "230", + } + } + }, { + "localId" : "230", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "ListOfDecimalsIsListOfIntegers", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "230", + "s" : [ { + "value" : [ "", "define ", "ListOfDecimalsIsListOfIntegers", ": " ] + }, { + "r" : "231", + "s" : [ { + "r" : "232", + "s" : [ { + "r" : "233", + "value" : [ "{", "1.5", ", ", "2.5", ", ", "3.5", ", ", "4.5", ", ", "5.5", "}" ] + } ] + }, { + "value" : [ " is " ] + }, { + "r" : "240", + "s" : [ { + "value" : [ "List<" ] + }, { + "r" : "241", "s" : [ { - "value" : [ "","define ","ListOfDecimalsIsListOfIntegers",": " ] - }, { - "r" : "231", - "s" : [ { - "r" : "232", - "s" : [ { - "r" : "233", - "value" : [ "{","1.5",", ","2.5",", ","3.5",", ","4.5",", ","5.5","}" ] - } ] - }, { - "value" : [ " is " ] - }, { - "r" : "240", - "s" : [ { - "value" : [ "List<" ] - }, { - "r" : "241", - "s" : [ { - "value" : [ "Integer" ] - } ] - }, { - "value" : [ ">" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "231", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "Is", - "signature" : [ ], - "operand" : { - "localId" : "232", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "238", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "239", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } - }, - "element" : [ { - "localId" : "233", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "1.5", - "type" : "Literal" - }, { - "localId" : "234", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "2.5", - "type" : "Literal" - }, { - "localId" : "235", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "3.5", - "type" : "Literal" - }, { - "localId" : "236", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "4.5", - "type" : "Literal" - }, { - "localId" : "237", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "5.5", - "type" : "Literal" - } ] - }, - "isTypeSpecifier" : { - "localId" : "240", - "type" : "ListTypeSpecifier", - "resultTypeSpecifier" : { - "localId" : "242", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "243", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "elementType" : { - "localId" : "241", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } + "value" : [ "Integer" ] + } ] + }, { + "value" : [ ">" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Is", + "localId" : "231", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "List", + "localId" : "232", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "238", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "239", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } + }, + "element" : [ { + "type" : "Literal", + "localId" : "233", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "1.5", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "234", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "2.5", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "235", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "3.5", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "236", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "4.5", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "237", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "5.5", + "annotation" : [ ] + } ] + }, + "isTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "240", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "242", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "243", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "241", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] } - } ] - } - } + } + } + } ] + } + } } /* IsIntervalType @@ -601,269 +659,298 @@ define IntervalOfDecimalsIsIntervalOfIntegers: Interval[1.5, 5.5] is Interval" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Is", + "localId" : "215", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Interval", + "localId" : "218", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "219", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "220", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "low" : { + "type" : "Literal", + "localId" : "216", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "high" : { + "type" : "Literal", + "localId" : "217", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "5", + "annotation" : [ ] } - }, { - "localId" : "214", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "IntervalOfIntegersIsIntervalOfIntegers", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "214", - "s" : [ { - "value" : [ "","define ","IntervalOfIntegersIsIntervalOfIntegers",": " ] - }, { - "r" : "215", - "s" : [ { - "r" : "218", - "s" : [ { - "r" : "216", - "value" : [ "Interval[","1",", ","5","]" ] - } ] - }, { - "value" : [ " is " ] - }, { - "r" : "221", - "s" : [ { - "value" : [ "Interval<" ] - }, { - "r" : "222", - "s" : [ { - "value" : [ "Integer" ] - } ] - }, { - "value" : [ ">" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "215", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "Is", - "signature" : [ ], - "operand" : { - "localId" : "218", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "219", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "220", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "216", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "high" : { - "localId" : "217", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal" - } - }, - "isTypeSpecifier" : { - "localId" : "221", - "type" : "IntervalTypeSpecifier", - "resultTypeSpecifier" : { - "localId" : "223", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "224", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "pointType" : { - "localId" : "222", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } + }, + "isTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "221", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "223", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "224", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "222", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] } - }, { - "localId" : "227", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "IntervalOfDecimalsIsIntervalOfIntegers", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "227", + } + } + }, { + "localId" : "227", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "IntervalOfDecimalsIsIntervalOfIntegers", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "227", + "s" : [ { + "value" : [ "", "define ", "IntervalOfDecimalsIsIntervalOfIntegers", ": " ] + }, { + "r" : "228", + "s" : [ { + "r" : "231", + "s" : [ { + "r" : "229", + "value" : [ "Interval[", "1.5", ", ", "5.5", "]" ] + } ] + }, { + "value" : [ " is " ] + }, { + "r" : "234", + "s" : [ { + "value" : [ "Interval<" ] + }, { + "r" : "235", "s" : [ { - "value" : [ "","define ","IntervalOfDecimalsIsIntervalOfIntegers",": " ] - }, { - "r" : "228", - "s" : [ { - "r" : "231", - "s" : [ { - "r" : "229", - "value" : [ "Interval[","1.5",", ","5.5","]" ] - } ] - }, { - "value" : [ " is " ] - }, { - "r" : "234", - "s" : [ { - "value" : [ "Interval<" ] - }, { - "r" : "235", - "s" : [ { - "value" : [ "Integer" ] - } ] - }, { - "value" : [ ">" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "228", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "Is", - "signature" : [ ], - "operand" : { - "localId" : "231", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "232", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "233", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "229", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "1.5", - "type" : "Literal" - }, - "high" : { - "localId" : "230", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "5.5", - "type" : "Literal" - } - }, - "isTypeSpecifier" : { - "localId" : "234", - "type" : "IntervalTypeSpecifier", - "resultTypeSpecifier" : { - "localId" : "236", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "237", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "pointType" : { - "localId" : "235", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } + "value" : [ "Integer" ] + } ] + }, { + "value" : [ ">" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Is", + "localId" : "228", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Interval", + "localId" : "231", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "232", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "233", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } + }, + "low" : { + "type" : "Literal", + "localId" : "229", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "1.5", + "annotation" : [ ] + }, + "high" : { + "type" : "Literal", + "localId" : "230", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "5.5", + "annotation" : [ ] } - } ] - } - } + }, + "isTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "234", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "236", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "237", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "235", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } + } + } ] + } + } } /* IsTupleType @@ -875,409 +962,456 @@ define TupleOfDecimalsIsTupleOfIntegers: Tuple{ a: 1.5, b: 2.5 } is Tuple{a Inte */ module.exports['IsTupleType'] = { - "library" : { - "localId" : "0", - "annotation" : [ { - "translatorVersion" : "3.27.0", - "translatorOptions" : "EnableDateRangeOptimization,EnableAnnotations,EnableResultTypes", - "signatureLevel" : "All", - "type" : "CqlToElmInfo" + "library" : { + "localId" : "0", + "annotation" : [ { + "type" : "CqlToElmInfo", + "translatorVersion" : "4.2.0", + "translatorOptions" : "EnableDateRangeOptimization,EnableAnnotations,EnableResultTypes", + "signatureLevel" : "All" + }, { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "236", + "s" : [ { + "value" : [ "", "library TestSnippet version '1'" ] + } ] + } + } ], + "identifier" : { + "id" : "TestSnippet", + "version" : "1" + }, + "schemaIdentifier" : { + "id" : "urn:hl7-org:elm", + "version" : "r1" + }, + "usings" : { + "def" : [ { + "localId" : "1", + "localIdentifier" : "System", + "uri" : "urn:hl7-org:elm-types:r1", + "annotation" : [ ] }, { - "type" : "Annotation", - "s" : { - "r" : "236", + "localId" : "206", + "localIdentifier" : "Simple", + "uri" : "https://github.com/cqframework/cql-execution/simple", + "version" : "1.0.0", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "206", "s" : [ { - "value" : [ "","library TestSnippet version '1'" ] - } ] - } - } ], - "identifier" : { - "id" : "TestSnippet", - "version" : "1" - }, - "schemaIdentifier" : { - "id" : "urn:hl7-org:elm", - "version" : "r1" - }, - "usings" : { - "def" : [ { - "localId" : "1", - "localIdentifier" : "System", - "uri" : "urn:hl7-org:elm-types:r1" - }, { - "localId" : "206", - "localIdentifier" : "Simple", - "uri" : "https://github.com/cqframework/cql-execution/simple", - "version" : "1.0.0", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "206", - "s" : [ { - "value" : [ "","using " ] - }, { - "s" : [ { - "value" : [ "Simple" ] - } ] - }, { - "value" : [ " version '1.0.0'" ] - } ] - } - } ] - } ] - }, - "contexts" : { - "def" : [ { - "localId" : "211", - "name" : "Patient" - } ] - }, - "statements" : { - "def" : [ { - "localId" : "209", - "name" : "Patient", - "context" : "Patient", - "expression" : { - "localId" : "210", - "type" : "SingletonFrom", - "signature" : [ ], - "operand" : { - "localId" : "208", - "dataType" : "{https://github.com/cqframework/cql-execution/simple}Patient", - "type" : "Retrieve", - "include" : [ ], - "codeFilter" : [ ], - "dateFilter" : [ ], - "otherFilter" : [ ] - } - } - }, { - "localId" : "214", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "TupleOfIntegersIsTupleOfIntegers", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "214", - "s" : [ { - "value" : [ "","define ","TupleOfIntegersIsTupleOfIntegers",": " ] - }, { - "r" : "215", - "s" : [ { - "r" : "216", - "s" : [ { - "value" : [ "Tuple{ " ] - }, { - "s" : [ { - "r" : "217", - "value" : [ "a",": ","1" ] - } ] - }, { - "value" : [ ", " ] - }, { - "s" : [ { - "r" : "218", - "value" : [ "b",": ","2" ] - } ] - }, { - "value" : [ " }" ] - } ] - }, { - "value" : [ " is " ] - }, { - "r" : "224", - "s" : [ { - "value" : [ "Tuple{" ] - }, { - "r" : "225", - "s" : [ { - "value" : [ "a"," " ] - }, { - "r" : "226", - "s" : [ { - "value" : [ "Integer" ] - } ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "227", - "s" : [ { - "value" : [ "b"," " ] - }, { - "r" : "228", - "s" : [ { - "value" : [ "Integer" ] - } ] - } ] - }, { - "value" : [ "}" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "215", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "Is", - "signature" : [ ], - "operand" : { - "localId" : "216", - "type" : "Tuple", - "resultTypeSpecifier" : { - "localId" : "219", - "type" : "TupleTypeSpecifier", - "element" : [ { - "localId" : "220", - "name" : "a", - "elementType" : { - "localId" : "221", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "222", - "name" : "b", - "elementType" : { - "localId" : "223", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } ] - }, - "element" : [ { - "name" : "a", - "value" : { - "localId" : "217", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - } - }, { - "name" : "b", - "value" : { - "localId" : "218", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal" - } - } ] - }, - "isTypeSpecifier" : { - "localId" : "224", - "type" : "TupleTypeSpecifier", - "resultTypeSpecifier" : { - "localId" : "229", - "type" : "TupleTypeSpecifier", - "element" : [ { - "localId" : "230", - "name" : "a", - "elementType" : { - "localId" : "231", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "232", - "name" : "b", - "elementType" : { - "localId" : "233", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } ] - }, - "element" : [ { - "localId" : "225", - "name" : "a", - "elementType" : { - "localId" : "226", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } + "value" : [ "", "using " ] + }, { + "s" : [ { + "value" : [ "Simple" ] + } ] + }, { + "value" : [ " version '1.0.0'" ] + } ] + } + } ] + } ] + }, + "contexts" : { + "def" : [ { + "localId" : "211", + "name" : "Patient", + "annotation" : [ ] + } ] + }, + "statements" : { + "def" : [ { + "localId" : "209", + "name" : "Patient", + "context" : "Patient", + "annotation" : [ ], + "expression" : { + "type" : "SingletonFrom", + "localId" : "210", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Retrieve", + "localId" : "208", + "dataType" : "{https://github.com/cqframework/cql-execution/simple}Patient", + "annotation" : [ ], + "include" : [ ], + "codeFilter" : [ ], + "dateFilter" : [ ], + "otherFilter" : [ ] + } + } + }, { + "localId" : "214", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "TupleOfIntegersIsTupleOfIntegers", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "214", + "s" : [ { + "value" : [ "", "define ", "TupleOfIntegersIsTupleOfIntegers", ": " ] + }, { + "r" : "215", + "s" : [ { + "r" : "216", + "s" : [ { + "value" : [ "Tuple{ " ] + }, { + "s" : [ { + "r" : "217", + "value" : [ "a", ": ", "1" ] + } ] + }, { + "value" : [ ", " ] + }, { + "s" : [ { + "r" : "218", + "value" : [ "b", ": ", "2" ] + } ] + }, { + "value" : [ " }" ] + } ] + }, { + "value" : [ " is " ] + }, { + "r" : "224", + "s" : [ { + "value" : [ "Tuple{" ] + }, { + "r" : "225", + "s" : [ { + "value" : [ "a", " " ] }, { - "localId" : "227", - "name" : "b", - "elementType" : { - "localId" : "228", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } ] - } - } - }, { - "localId" : "236", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "TupleOfDecimalsIsTupleOfIntegers", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "236", + "r" : "226", + "s" : [ { + "value" : [ "Integer" ] + } ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "227", "s" : [ { - "value" : [ "","define ","TupleOfDecimalsIsTupleOfIntegers",": " ] + "value" : [ "b", " " ] }, { - "r" : "237", - "s" : [ { - "r" : "238", - "s" : [ { - "value" : [ "Tuple{ " ] - }, { - "s" : [ { - "r" : "239", - "value" : [ "a",": ","1.5" ] - } ] - }, { - "value" : [ ", " ] - }, { - "s" : [ { - "r" : "240", - "value" : [ "b",": ","2.5" ] - } ] - }, { - "value" : [ " }" ] - } ] - }, { - "value" : [ " is " ] - }, { - "r" : "246", - "s" : [ { - "value" : [ "Tuple{" ] - }, { - "r" : "247", - "s" : [ { - "value" : [ "a"," " ] - }, { - "r" : "248", - "s" : [ { - "value" : [ "Integer" ] - } ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "249", - "s" : [ { - "value" : [ "b"," " ] - }, { - "r" : "250", - "s" : [ { - "value" : [ "Integer" ] - } ] - } ] - }, { - "value" : [ "}" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "237", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "Is", - "signature" : [ ], - "operand" : { - "localId" : "238", - "type" : "Tuple", - "resultTypeSpecifier" : { - "localId" : "241", - "type" : "TupleTypeSpecifier", - "element" : [ { - "localId" : "242", - "name" : "a", - "elementType" : { - "localId" : "243", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "244", - "name" : "b", - "elementType" : { - "localId" : "245", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } - } ] - }, - "element" : [ { - "name" : "a", - "value" : { - "localId" : "239", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "1.5", - "type" : "Literal" - } + "r" : "228", + "s" : [ { + "value" : [ "Integer" ] + } ] + } ] + }, { + "value" : [ "}" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Is", + "localId" : "215", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Tuple", + "localId" : "216", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "TupleTypeSpecifier", + "localId" : "219", + "annotation" : [ ], + "element" : [ { + "localId" : "220", + "name" : "a", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "221", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, { + "localId" : "222", + "name" : "b", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "223", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } ] + }, + "element" : [ { + "name" : "a", + "value" : { + "type" : "Literal", + "localId" : "217", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + } + }, { + "name" : "b", + "value" : { + "type" : "Literal", + "localId" : "218", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "annotation" : [ ] + } + } ] + }, + "isTypeSpecifier" : { + "type" : "TupleTypeSpecifier", + "localId" : "224", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "TupleTypeSpecifier", + "localId" : "229", + "annotation" : [ ], + "element" : [ { + "localId" : "230", + "name" : "a", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "231", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, { + "localId" : "232", + "name" : "b", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "233", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } ] + }, + "element" : [ { + "localId" : "225", + "name" : "a", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "226", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, { + "localId" : "227", + "name" : "b", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "228", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } ] + } + } + }, { + "localId" : "236", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "TupleOfDecimalsIsTupleOfIntegers", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "236", + "s" : [ { + "value" : [ "", "define ", "TupleOfDecimalsIsTupleOfIntegers", ": " ] + }, { + "r" : "237", + "s" : [ { + "r" : "238", + "s" : [ { + "value" : [ "Tuple{ " ] + }, { + "s" : [ { + "r" : "239", + "value" : [ "a", ": ", "1.5" ] + } ] + }, { + "value" : [ ", " ] + }, { + "s" : [ { + "r" : "240", + "value" : [ "b", ": ", "2.5" ] + } ] + }, { + "value" : [ " }" ] + } ] + }, { + "value" : [ " is " ] + }, { + "r" : "246", + "s" : [ { + "value" : [ "Tuple{" ] + }, { + "r" : "247", + "s" : [ { + "value" : [ "a", " " ] }, { - "name" : "b", - "value" : { - "localId" : "240", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "2.5", - "type" : "Literal" - } - } ] - }, - "isTypeSpecifier" : { - "localId" : "246", - "type" : "TupleTypeSpecifier", - "resultTypeSpecifier" : { - "localId" : "251", - "type" : "TupleTypeSpecifier", - "element" : [ { - "localId" : "252", - "name" : "a", - "elementType" : { - "localId" : "253", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "254", - "name" : "b", - "elementType" : { - "localId" : "255", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } ] - }, - "element" : [ { - "localId" : "247", - "name" : "a", - "elementType" : { - "localId" : "248", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } + "r" : "248", + "s" : [ { + "value" : [ "Integer" ] + } ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "249", + "s" : [ { + "value" : [ "b", " " ] }, { - "localId" : "249", - "name" : "b", - "elementType" : { - "localId" : "250", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } ] - } - } - } ] - } - } + "r" : "250", + "s" : [ { + "value" : [ "Integer" ] + } ] + } ] + }, { + "value" : [ "}" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Is", + "localId" : "237", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Tuple", + "localId" : "238", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "TupleTypeSpecifier", + "localId" : "241", + "annotation" : [ ], + "element" : [ { + "localId" : "242", + "name" : "a", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "243", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } + }, { + "localId" : "244", + "name" : "b", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "245", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } + } ] + }, + "element" : [ { + "name" : "a", + "value" : { + "type" : "Literal", + "localId" : "239", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "1.5", + "annotation" : [ ] + } + }, { + "name" : "b", + "value" : { + "type" : "Literal", + "localId" : "240", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "2.5", + "annotation" : [ ] + } + } ] + }, + "isTypeSpecifier" : { + "type" : "TupleTypeSpecifier", + "localId" : "246", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "TupleTypeSpecifier", + "localId" : "251", + "annotation" : [ ], + "element" : [ { + "localId" : "252", + "name" : "a", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "253", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, { + "localId" : "254", + "name" : "b", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "255", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } ] + }, + "element" : [ { + "localId" : "247", + "name" : "a", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "248", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, { + "localId" : "249", + "name" : "b", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "250", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } ] + } + } + } ] + } + } } /* IsChoiceType @@ -1290,332 +1424,366 @@ define StringIsChoiceOfIntegersAndDecimals: 'Foo' is Choice */ module.exports['IsChoiceType'] = { - "library" : { - "localId" : "0", - "annotation" : [ { - "translatorVersion" : "3.27.0", - "translatorOptions" : "EnableDateRangeOptimization,EnableAnnotations,EnableResultTypes", - "signatureLevel" : "All", - "type" : "CqlToElmInfo" + "library" : { + "localId" : "0", + "annotation" : [ { + "type" : "CqlToElmInfo", + "translatorVersion" : "4.2.0", + "translatorOptions" : "EnableDateRangeOptimization,EnableAnnotations,EnableResultTypes", + "signatureLevel" : "All" + }, { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "236", + "s" : [ { + "value" : [ "", "library TestSnippet version '1'" ] + } ] + } + } ], + "identifier" : { + "id" : "TestSnippet", + "version" : "1" + }, + "schemaIdentifier" : { + "id" : "urn:hl7-org:elm", + "version" : "r1" + }, + "usings" : { + "def" : [ { + "localId" : "1", + "localIdentifier" : "System", + "uri" : "urn:hl7-org:elm-types:r1", + "annotation" : [ ] }, { - "type" : "Annotation", - "s" : { - "r" : "236", + "localId" : "206", + "localIdentifier" : "Simple", + "uri" : "https://github.com/cqframework/cql-execution/simple", + "version" : "1.0.0", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "206", "s" : [ { - "value" : [ "","library TestSnippet version '1'" ] - } ] - } - } ], - "identifier" : { - "id" : "TestSnippet", - "version" : "1" - }, - "schemaIdentifier" : { - "id" : "urn:hl7-org:elm", - "version" : "r1" - }, - "usings" : { - "def" : [ { - "localId" : "1", - "localIdentifier" : "System", - "uri" : "urn:hl7-org:elm-types:r1" - }, { - "localId" : "206", - "localIdentifier" : "Simple", - "uri" : "https://github.com/cqframework/cql-execution/simple", - "version" : "1.0.0", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "206", - "s" : [ { - "value" : [ "","using " ] - }, { - "s" : [ { - "value" : [ "Simple" ] - } ] - }, { - "value" : [ " version '1.0.0'" ] - } ] - } - } ] - } ] - }, - "contexts" : { - "def" : [ { - "localId" : "211", - "name" : "Patient" - } ] - }, - "statements" : { - "def" : [ { - "localId" : "209", - "name" : "Patient", - "context" : "Patient", - "expression" : { - "localId" : "210", - "type" : "SingletonFrom", - "signature" : [ ], - "operand" : { - "localId" : "208", - "dataType" : "{https://github.com/cqframework/cql-execution/simple}Patient", - "type" : "Retrieve", - "include" : [ ], - "codeFilter" : [ ], - "dateFilter" : [ ], - "otherFilter" : [ ] - } - } - }, { - "localId" : "214", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "IntegerIsChoiceOfIntegersAndDecimals", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "214", - "s" : [ { - "value" : [ "","define ","IntegerIsChoiceOfIntegersAndDecimals",": " ] - }, { - "r" : "215", - "s" : [ { - "r" : "216", - "value" : [ "5"," is " ] - }, { - "r" : "219", - "s" : [ { - "value" : [ "Choice<" ] - }, { - "r" : "217", - "s" : [ { - "value" : [ "Integer" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "218", - "s" : [ { - "value" : [ "Decimal" ] - } ] - }, { - "value" : [ ">" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "215", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "Is", - "signature" : [ ], - "operand" : { - "localId" : "216", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal" - }, - "isTypeSpecifier" : { - "localId" : "219", - "type" : "ChoiceTypeSpecifier", - "resultTypeSpecifier" : { - "localId" : "220", - "type" : "ChoiceTypeSpecifier", - "choice" : [ { - "localId" : "221", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "222", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } ] - }, - "choice" : [ { - "localId" : "217", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "218", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } ] - } - } - }, { - "localId" : "225", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "DecimalIsChoiceOfIntegersAndDecimals", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "225", + "value" : [ "", "using " ] + }, { + "s" : [ { + "value" : [ "Simple" ] + } ] + }, { + "value" : [ " version '1.0.0'" ] + } ] + } + } ] + } ] + }, + "contexts" : { + "def" : [ { + "localId" : "211", + "name" : "Patient", + "annotation" : [ ] + } ] + }, + "statements" : { + "def" : [ { + "localId" : "209", + "name" : "Patient", + "context" : "Patient", + "annotation" : [ ], + "expression" : { + "type" : "SingletonFrom", + "localId" : "210", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Retrieve", + "localId" : "208", + "dataType" : "{https://github.com/cqframework/cql-execution/simple}Patient", + "annotation" : [ ], + "include" : [ ], + "codeFilter" : [ ], + "dateFilter" : [ ], + "otherFilter" : [ ] + } + } + }, { + "localId" : "214", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "IntegerIsChoiceOfIntegersAndDecimals", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "214", + "s" : [ { + "value" : [ "", "define ", "IntegerIsChoiceOfIntegersAndDecimals", ": " ] + }, { + "r" : "215", + "s" : [ { + "r" : "216", + "value" : [ "5", " is " ] + }, { + "r" : "219", + "s" : [ { + "value" : [ "Choice<" ] + }, { + "r" : "217", "s" : [ { - "value" : [ "","define ","DecimalIsChoiceOfIntegersAndDecimals",": " ] - }, { - "r" : "226", - "s" : [ { - "r" : "227", - "value" : [ "5.5"," is " ] - }, { - "r" : "230", - "s" : [ { - "value" : [ "Choice<" ] - }, { - "r" : "228", - "s" : [ { - "value" : [ "Integer" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "229", - "s" : [ { - "value" : [ "Decimal" ] - } ] - }, { - "value" : [ ">" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "226", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "Is", - "signature" : [ ], - "operand" : { - "localId" : "227", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "5.5", - "type" : "Literal" - }, - "isTypeSpecifier" : { - "localId" : "230", - "type" : "ChoiceTypeSpecifier", - "resultTypeSpecifier" : { - "localId" : "231", - "type" : "ChoiceTypeSpecifier", - "choice" : [ { - "localId" : "232", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "233", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } ] - }, - "choice" : [ { - "localId" : "228", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "229", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" + "value" : [ "Integer" ] } ] - } - } - }, { - "localId" : "236", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "StringIsChoiceOfIntegersAndDecimals", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "236", + }, { + "value" : [ ", " ] + }, { + "r" : "218", "s" : [ { - "value" : [ "","define ","StringIsChoiceOfIntegersAndDecimals",": " ] - }, { - "r" : "237", - "s" : [ { - "r" : "238", - "s" : [ { - "value" : [ "'Foo'" ] - } ] - }, { - "value" : [ " is " ] - }, { - "r" : "242", - "s" : [ { - "value" : [ "Choice<" ] - }, { - "r" : "240", - "s" : [ { - "value" : [ "Integer" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "241", - "s" : [ { - "value" : [ "Decimal" ] - } ] - }, { - "value" : [ ">" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "237", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "Is", - "signature" : [ ], - "operand" : { - "localId" : "238", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "Foo", - "type" : "Literal" - }, - "isTypeSpecifier" : { - "localId" : "242", - "type" : "ChoiceTypeSpecifier", - "resultTypeSpecifier" : { - "localId" : "243", - "type" : "ChoiceTypeSpecifier", - "choice" : [ { - "localId" : "244", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "245", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" - } ] - }, - "choice" : [ { - "localId" : "240", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "241", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier" + "value" : [ "Decimal" ] } ] - } - } - } ] - } - } + }, { + "value" : [ ">" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Is", + "localId" : "215", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Literal", + "localId" : "216", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "5", + "annotation" : [ ] + }, + "isTypeSpecifier" : { + "type" : "ChoiceTypeSpecifier", + "localId" : "219", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ChoiceTypeSpecifier", + "localId" : "220", + "annotation" : [ ], + "choice" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "221", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "222", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } ] + }, + "choice" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "217", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "218", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } ] + } + } + }, { + "localId" : "225", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "DecimalIsChoiceOfIntegersAndDecimals", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "225", + "s" : [ { + "value" : [ "", "define ", "DecimalIsChoiceOfIntegersAndDecimals", ": " ] + }, { + "r" : "226", + "s" : [ { + "r" : "227", + "value" : [ "5.5", " is " ] + }, { + "r" : "230", + "s" : [ { + "value" : [ "Choice<" ] + }, { + "r" : "228", + "s" : [ { + "value" : [ "Integer" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "229", + "s" : [ { + "value" : [ "Decimal" ] + } ] + }, { + "value" : [ ">" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Is", + "localId" : "226", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Literal", + "localId" : "227", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "5.5", + "annotation" : [ ] + }, + "isTypeSpecifier" : { + "type" : "ChoiceTypeSpecifier", + "localId" : "230", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ChoiceTypeSpecifier", + "localId" : "231", + "annotation" : [ ], + "choice" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "232", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "233", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } ] + }, + "choice" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "228", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "229", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } ] + } + } + }, { + "localId" : "236", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "StringIsChoiceOfIntegersAndDecimals", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "236", + "s" : [ { + "value" : [ "", "define ", "StringIsChoiceOfIntegersAndDecimals", ": " ] + }, { + "r" : "237", + "s" : [ { + "r" : "238", + "s" : [ { + "value" : [ "'Foo'" ] + } ] + }, { + "value" : [ " is " ] + }, { + "r" : "242", + "s" : [ { + "value" : [ "Choice<" ] + }, { + "r" : "240", + "s" : [ { + "value" : [ "Integer" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "241", + "s" : [ { + "value" : [ "Decimal" ] + } ] + }, { + "value" : [ ">" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Is", + "localId" : "237", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Literal", + "localId" : "238", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "Foo", + "annotation" : [ ] + }, + "isTypeSpecifier" : { + "type" : "ChoiceTypeSpecifier", + "localId" : "242", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ChoiceTypeSpecifier", + "localId" : "243", + "annotation" : [ ], + "choice" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "244", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "245", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } ] + }, + "choice" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "240", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "241", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "annotation" : [ ] + } ] + } + } + } ] + } + } } /* IsCustomDataModelType @@ -1630,490 +1798,542 @@ define EncounterIsString: First([Encounter]) is System.String */ module.exports['IsCustomDataModelType'] = { - "library" : { - "localId" : "0", - "annotation" : [ { - "translatorVersion" : "3.27.0", - "translatorOptions" : "EnableDateRangeOptimization,EnableAnnotations,EnableResultTypes", - "signatureLevel" : "All", - "type" : "CqlToElmInfo" + "library" : { + "localId" : "0", + "annotation" : [ { + "type" : "CqlToElmInfo", + "translatorVersion" : "4.2.0", + "translatorOptions" : "EnableDateRangeOptimization,EnableAnnotations,EnableResultTypes", + "signatureLevel" : "All" + }, { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "274", + "s" : [ { + "value" : [ "", "library TestSnippet version '1'" ] + } ] + } + } ], + "identifier" : { + "id" : "TestSnippet", + "version" : "1" + }, + "schemaIdentifier" : { + "id" : "urn:hl7-org:elm", + "version" : "r1" + }, + "usings" : { + "def" : [ { + "localId" : "1", + "localIdentifier" : "System", + "uri" : "urn:hl7-org:elm-types:r1", + "annotation" : [ ] }, { - "type" : "Annotation", - "s" : { - "r" : "274", + "localId" : "206", + "localIdentifier" : "Simple", + "uri" : "https://github.com/cqframework/cql-execution/simple", + "version" : "1.0.0", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "206", "s" : [ { - "value" : [ "","library TestSnippet version '1'" ] - } ] - } - } ], - "identifier" : { - "id" : "TestSnippet", - "version" : "1" - }, - "schemaIdentifier" : { - "id" : "urn:hl7-org:elm", - "version" : "r1" - }, - "usings" : { - "def" : [ { - "localId" : "1", - "localIdentifier" : "System", - "uri" : "urn:hl7-org:elm-types:r1" - }, { - "localId" : "206", - "localIdentifier" : "Simple", - "uri" : "https://github.com/cqframework/cql-execution/simple", - "version" : "1.0.0", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "206", - "s" : [ { - "value" : [ "","using " ] - }, { - "s" : [ { - "value" : [ "Simple" ] - } ] - }, { - "value" : [ " version '1.0.0'" ] - } ] - } - } ] - } ] - }, - "contexts" : { - "def" : [ { - "localId" : "211", - "name" : "Patient" - } ] - }, - "statements" : { - "def" : [ { - "localId" : "209", - "name" : "Patient", - "context" : "Patient", - "expression" : { - "localId" : "210", - "type" : "SingletonFrom", - "signature" : [ ], - "operand" : { - "localId" : "208", - "dataType" : "{https://github.com/cqframework/cql-execution/simple}Patient", - "type" : "Retrieve", - "include" : [ ], - "codeFilter" : [ ], - "dateFilter" : [ ], - "otherFilter" : [ ] - } - } - }, { - "localId" : "214", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "EncounterIsEncounter", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "214", - "s" : [ { - "value" : [ "","define ","EncounterIsEncounter",": " ] - }, { - "r" : "215", - "s" : [ { - "r" : "223", - "s" : [ { - "value" : [ "First","(" ] - }, { - "r" : "216", - "s" : [ { - "value" : [ "[","Encounter","]" ] - } ] - }, { - "value" : [ ")" ] - } ] - }, { - "value" : [ " is " ] - }, { - "r" : "226", - "s" : [ { - "value" : [ "Simple",".","Encounter" ] - } ] - } ] - } ] - } + "value" : [ "", "using " ] + }, { + "s" : [ { + "value" : [ "Simple" ] + } ] + }, { + "value" : [ " version '1.0.0'" ] + } ] + } + } ] + } ] + }, + "contexts" : { + "def" : [ { + "localId" : "211", + "name" : "Patient", + "annotation" : [ ] + } ] + }, + "statements" : { + "def" : [ { + "localId" : "209", + "name" : "Patient", + "context" : "Patient", + "annotation" : [ ], + "expression" : { + "type" : "SingletonFrom", + "localId" : "210", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Retrieve", + "localId" : "208", + "dataType" : "{https://github.com/cqframework/cql-execution/simple}Patient", + "annotation" : [ ], + "include" : [ ], + "codeFilter" : [ ], + "dateFilter" : [ ], + "otherFilter" : [ ] + } + } + }, { + "localId" : "214", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "EncounterIsEncounter", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "214", + "s" : [ { + "value" : [ "", "define ", "EncounterIsEncounter", ": " ] + }, { + "r" : "215", + "s" : [ { + "r" : "223", + "s" : [ { + "value" : [ "First", "(" ] + }, { + "r" : "216", + "s" : [ { + "value" : [ "[", "Encounter", "]" ] + } ] + }, { + "value" : [ ")" ] + } ] + }, { + "value" : [ " is " ] + }, { + "r" : "226", + "s" : [ { + "value" : [ "Simple", ".", "Encounter" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Is", + "localId" : "215", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "First", + "localId" : "223", + "resultTypeName" : "{https://github.com/cqframework/cql-execution/simple}Encounter", + "annotation" : [ ], + "signature" : [ { + "type" : "ListTypeSpecifier", + "localId" : "224", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "225", + "name" : "{https://github.com/cqframework/cql-execution/simple}Encounter", + "annotation" : [ ] + } } ], - "expression" : { - "localId" : "215", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "Is", - "signature" : [ ], - "operand" : { - "localId" : "223", - "resultTypeName" : "{https://github.com/cqframework/cql-execution/simple}Encounter", - "type" : "First", - "signature" : [ { - "localId" : "224", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "225", - "name" : "{https://github.com/cqframework/cql-execution/simple}Encounter", - "type" : "NamedTypeSpecifier" - } - } ], - "source" : { - "localId" : "216", - "dataType" : "{https://github.com/cqframework/cql-execution/simple}Encounter", - "type" : "Retrieve", - "resultTypeSpecifier" : { - "localId" : "217", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "218", - "name" : "{https://github.com/cqframework/cql-execution/simple}Encounter", - "type" : "NamedTypeSpecifier" - } - }, - "include" : [ ], - "codeFilter" : [ ], - "dateFilter" : [ ], - "otherFilter" : [ ] - } - }, - "isTypeSpecifier" : { - "localId" : "226", - "resultTypeName" : "{https://github.com/cqframework/cql-execution/simple}Encounter", + "source" : { + "type" : "Retrieve", + "localId" : "216", + "dataType" : "{https://github.com/cqframework/cql-execution/simple}Encounter", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "217", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "218", "name" : "{https://github.com/cqframework/cql-execution/simple}Encounter", - "type" : "NamedTypeSpecifier" - } + "annotation" : [ ] + } + }, + "include" : [ ], + "codeFilter" : [ ], + "dateFilter" : [ ], + "otherFilter" : [ ] } - }, { - "localId" : "229", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "EncounterIsRecord", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "229", + }, + "isTypeSpecifier" : { + "type" : "NamedTypeSpecifier", + "localId" : "226", + "resultTypeName" : "{https://github.com/cqframework/cql-execution/simple}Encounter", + "name" : "{https://github.com/cqframework/cql-execution/simple}Encounter", + "annotation" : [ ] + } + } + }, { + "localId" : "229", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "EncounterIsRecord", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "229", + "s" : [ { + "value" : [ "", "define ", "EncounterIsRecord", ": " ] + }, { + "r" : "230", + "s" : [ { + "r" : "238", + "s" : [ { + "value" : [ "First", "(" ] + }, { + "r" : "231", "s" : [ { - "value" : [ "","define ","EncounterIsRecord",": " ] - }, { - "r" : "230", - "s" : [ { - "r" : "238", - "s" : [ { - "value" : [ "First","(" ] - }, { - "r" : "231", - "s" : [ { - "value" : [ "[","Encounter","]" ] - } ] - }, { - "value" : [ ")" ] - } ] - }, { - "value" : [ " is " ] - }, { - "r" : "241", - "s" : [ { - "value" : [ "Simple",".","Record" ] - } ] - } ] - } ] - } + "value" : [ "[", "Encounter", "]" ] + } ] + }, { + "value" : [ ")" ] + } ] + }, { + "value" : [ " is " ] + }, { + "r" : "241", + "s" : [ { + "value" : [ "Simple", ".", "Record" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Is", + "localId" : "230", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "First", + "localId" : "238", + "resultTypeName" : "{https://github.com/cqframework/cql-execution/simple}Encounter", + "annotation" : [ ], + "signature" : [ { + "type" : "ListTypeSpecifier", + "localId" : "239", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "240", + "name" : "{https://github.com/cqframework/cql-execution/simple}Encounter", + "annotation" : [ ] + } } ], - "expression" : { - "localId" : "230", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "Is", - "signature" : [ ], - "operand" : { - "localId" : "238", - "resultTypeName" : "{https://github.com/cqframework/cql-execution/simple}Encounter", - "type" : "First", - "signature" : [ { - "localId" : "239", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "240", - "name" : "{https://github.com/cqframework/cql-execution/simple}Encounter", - "type" : "NamedTypeSpecifier" - } - } ], - "source" : { - "localId" : "231", - "dataType" : "{https://github.com/cqframework/cql-execution/simple}Encounter", - "type" : "Retrieve", - "resultTypeSpecifier" : { - "localId" : "232", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "233", - "name" : "{https://github.com/cqframework/cql-execution/simple}Encounter", - "type" : "NamedTypeSpecifier" - } - }, - "include" : [ ], - "codeFilter" : [ ], - "dateFilter" : [ ], - "otherFilter" : [ ] - } - }, - "isTypeSpecifier" : { - "localId" : "241", - "resultTypeName" : "{https://github.com/cqframework/cql-execution/simple}Record", - "name" : "{https://github.com/cqframework/cql-execution/simple}Record", - "type" : "NamedTypeSpecifier" - } + "source" : { + "type" : "Retrieve", + "localId" : "231", + "dataType" : "{https://github.com/cqframework/cql-execution/simple}Encounter", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "232", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "233", + "name" : "{https://github.com/cqframework/cql-execution/simple}Encounter", + "annotation" : [ ] + } + }, + "include" : [ ], + "codeFilter" : [ ], + "dateFilter" : [ ], + "otherFilter" : [ ] } - }, { - "localId" : "244", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "EncounterIsAny", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "244", + }, + "isTypeSpecifier" : { + "type" : "NamedTypeSpecifier", + "localId" : "241", + "resultTypeName" : "{https://github.com/cqframework/cql-execution/simple}Record", + "name" : "{https://github.com/cqframework/cql-execution/simple}Record", + "annotation" : [ ] + } + } + }, { + "localId" : "244", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "EncounterIsAny", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "244", + "s" : [ { + "value" : [ "", "define ", "EncounterIsAny", ": " ] + }, { + "r" : "245", + "s" : [ { + "r" : "253", + "s" : [ { + "value" : [ "First", "(" ] + }, { + "r" : "246", "s" : [ { - "value" : [ "","define ","EncounterIsAny",": " ] - }, { - "r" : "245", - "s" : [ { - "r" : "253", - "s" : [ { - "value" : [ "First","(" ] - }, { - "r" : "246", - "s" : [ { - "value" : [ "[","Encounter","]" ] - } ] - }, { - "value" : [ ")" ] - } ] - }, { - "value" : [ " is " ] - }, { - "r" : "256", - "s" : [ { - "value" : [ "System",".","Any" ] - } ] - } ] - } ] - } + "value" : [ "[", "Encounter", "]" ] + } ] + }, { + "value" : [ ")" ] + } ] + }, { + "value" : [ " is " ] + }, { + "r" : "256", + "s" : [ { + "value" : [ "System", ".", "Any" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Is", + "localId" : "245", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "First", + "localId" : "253", + "resultTypeName" : "{https://github.com/cqframework/cql-execution/simple}Encounter", + "annotation" : [ ], + "signature" : [ { + "type" : "ListTypeSpecifier", + "localId" : "254", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "255", + "name" : "{https://github.com/cqframework/cql-execution/simple}Encounter", + "annotation" : [ ] + } } ], - "expression" : { - "localId" : "245", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "Is", - "signature" : [ ], - "operand" : { - "localId" : "253", - "resultTypeName" : "{https://github.com/cqframework/cql-execution/simple}Encounter", - "type" : "First", - "signature" : [ { - "localId" : "254", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "255", - "name" : "{https://github.com/cqframework/cql-execution/simple}Encounter", - "type" : "NamedTypeSpecifier" - } - } ], - "source" : { - "localId" : "246", - "dataType" : "{https://github.com/cqframework/cql-execution/simple}Encounter", - "type" : "Retrieve", - "resultTypeSpecifier" : { - "localId" : "247", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "248", - "name" : "{https://github.com/cqframework/cql-execution/simple}Encounter", - "type" : "NamedTypeSpecifier" - } - }, - "include" : [ ], - "codeFilter" : [ ], - "dateFilter" : [ ], - "otherFilter" : [ ] - } - }, - "isTypeSpecifier" : { - "localId" : "256", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "name" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "NamedTypeSpecifier" - } + "source" : { + "type" : "Retrieve", + "localId" : "246", + "dataType" : "{https://github.com/cqframework/cql-execution/simple}Encounter", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "247", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "248", + "name" : "{https://github.com/cqframework/cql-execution/simple}Encounter", + "annotation" : [ ] + } + }, + "include" : [ ], + "codeFilter" : [ ], + "dateFilter" : [ ], + "otherFilter" : [ ] } - }, { - "localId" : "259", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "EncounterIsCondition", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "259", - "s" : [ { - "value" : [ "","define ","EncounterIsCondition",": " ] - }, { - "r" : "260", - "s" : [ { - "r" : "268", - "s" : [ { - "value" : [ "First","(" ] - }, { - "r" : "261", - "s" : [ { - "value" : [ "[","Encounter","]" ] - } ] - }, { - "value" : [ ")" ] - } ] - }, { - "value" : [ " is " ] - }, { - "r" : "271", - "s" : [ { - "value" : [ "Simple",".","Condition" ] - } ] - } ] - } ] - } + }, + "isTypeSpecifier" : { + "type" : "NamedTypeSpecifier", + "localId" : "256", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "name" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } + } + }, { + "localId" : "259", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "EncounterIsCondition", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "259", + "s" : [ { + "value" : [ "", "define ", "EncounterIsCondition", ": " ] + }, { + "r" : "260", + "s" : [ { + "r" : "268", + "s" : [ { + "value" : [ "First", "(" ] + }, { + "r" : "261", + "s" : [ { + "value" : [ "[", "Encounter", "]" ] + } ] + }, { + "value" : [ ")" ] + } ] + }, { + "value" : [ " is " ] + }, { + "r" : "271", + "s" : [ { + "value" : [ "Simple", ".", "Condition" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Is", + "localId" : "260", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "First", + "localId" : "268", + "resultTypeName" : "{https://github.com/cqframework/cql-execution/simple}Encounter", + "annotation" : [ ], + "signature" : [ { + "type" : "ListTypeSpecifier", + "localId" : "269", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "270", + "name" : "{https://github.com/cqframework/cql-execution/simple}Encounter", + "annotation" : [ ] + } } ], - "expression" : { - "localId" : "260", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "Is", - "signature" : [ ], - "operand" : { - "localId" : "268", - "resultTypeName" : "{https://github.com/cqframework/cql-execution/simple}Encounter", - "type" : "First", - "signature" : [ { - "localId" : "269", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "270", - "name" : "{https://github.com/cqframework/cql-execution/simple}Encounter", - "type" : "NamedTypeSpecifier" - } - } ], - "source" : { - "localId" : "261", - "dataType" : "{https://github.com/cqframework/cql-execution/simple}Encounter", - "type" : "Retrieve", - "resultTypeSpecifier" : { - "localId" : "262", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "263", - "name" : "{https://github.com/cqframework/cql-execution/simple}Encounter", - "type" : "NamedTypeSpecifier" - } - }, - "include" : [ ], - "codeFilter" : [ ], - "dateFilter" : [ ], - "otherFilter" : [ ] - } - }, - "isTypeSpecifier" : { - "localId" : "271", - "resultTypeName" : "{https://github.com/cqframework/cql-execution/simple}Condition", - "name" : "{https://github.com/cqframework/cql-execution/simple}Condition", - "type" : "NamedTypeSpecifier" - } + "source" : { + "type" : "Retrieve", + "localId" : "261", + "dataType" : "{https://github.com/cqframework/cql-execution/simple}Encounter", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "262", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "263", + "name" : "{https://github.com/cqframework/cql-execution/simple}Encounter", + "annotation" : [ ] + } + }, + "include" : [ ], + "codeFilter" : [ ], + "dateFilter" : [ ], + "otherFilter" : [ ] } - }, { - "localId" : "274", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "name" : "EncounterIsString", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "274", - "s" : [ { - "value" : [ "","define ","EncounterIsString",": " ] - }, { - "r" : "275", - "s" : [ { - "r" : "283", - "s" : [ { - "value" : [ "First","(" ] - }, { - "r" : "276", - "s" : [ { - "value" : [ "[","Encounter","]" ] - } ] - }, { - "value" : [ ")" ] - } ] - }, { - "value" : [ " is " ] - }, { - "r" : "286", - "s" : [ { - "value" : [ "System",".","String" ] - } ] - } ] - } ] - } + }, + "isTypeSpecifier" : { + "type" : "NamedTypeSpecifier", + "localId" : "271", + "resultTypeName" : "{https://github.com/cqframework/cql-execution/simple}Condition", + "name" : "{https://github.com/cqframework/cql-execution/simple}Condition", + "annotation" : [ ] + } + } + }, { + "localId" : "274", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "name" : "EncounterIsString", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "274", + "s" : [ { + "value" : [ "", "define ", "EncounterIsString", ": " ] + }, { + "r" : "275", + "s" : [ { + "r" : "283", + "s" : [ { + "value" : [ "First", "(" ] + }, { + "r" : "276", + "s" : [ { + "value" : [ "[", "Encounter", "]" ] + } ] + }, { + "value" : [ ")" ] + } ] + }, { + "value" : [ " is " ] + }, { + "r" : "286", + "s" : [ { + "value" : [ "System", ".", "String" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "Is", + "localId" : "275", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "First", + "localId" : "283", + "resultTypeName" : "{https://github.com/cqframework/cql-execution/simple}Encounter", + "annotation" : [ ], + "signature" : [ { + "type" : "ListTypeSpecifier", + "localId" : "284", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "285", + "name" : "{https://github.com/cqframework/cql-execution/simple}Encounter", + "annotation" : [ ] + } } ], - "expression" : { - "localId" : "275", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "Is", - "signature" : [ ], - "operand" : { - "localId" : "283", - "resultTypeName" : "{https://github.com/cqframework/cql-execution/simple}Encounter", - "type" : "First", - "signature" : [ { - "localId" : "284", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "285", - "name" : "{https://github.com/cqframework/cql-execution/simple}Encounter", - "type" : "NamedTypeSpecifier" - } - } ], - "source" : { - "localId" : "276", - "dataType" : "{https://github.com/cqframework/cql-execution/simple}Encounter", - "type" : "Retrieve", - "resultTypeSpecifier" : { - "localId" : "277", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "278", - "name" : "{https://github.com/cqframework/cql-execution/simple}Encounter", - "type" : "NamedTypeSpecifier" - } - }, - "include" : [ ], - "codeFilter" : [ ], - "dateFilter" : [ ], - "otherFilter" : [ ] - } - }, - "isTypeSpecifier" : { - "localId" : "286", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } + "source" : { + "type" : "Retrieve", + "localId" : "276", + "dataType" : "{https://github.com/cqframework/cql-execution/simple}Encounter", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "277", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "278", + "name" : "{https://github.com/cqframework/cql-execution/simple}Encounter", + "annotation" : [ ] + } + }, + "include" : [ ], + "codeFilter" : [ ], + "dateFilter" : [ ], + "otherFilter" : [ ] } - } ] - } - } + }, + "isTypeSpecifier" : { + "type" : "NamedTypeSpecifier", + "localId" : "286", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } + } + } ] + } + } } /* AsSystemType @@ -2138,1195 +2358,1312 @@ define CastTupleAsInteger: cast Echo(Tuple{A: 5}) as Integer */ module.exports['AsSystemType'] = { - "library" : { - "localId" : "0", - "annotation" : [ { - "translatorVersion" : "3.27.0", - "translatorOptions" : "EnableDateRangeOptimization,EnableAnnotations,EnableResultTypes", - "signatureLevel" : "All", - "type" : "CqlToElmInfo" + "library" : { + "localId" : "0", + "annotation" : [ { + "type" : "CqlToElmInfo", + "translatorVersion" : "4.2.0", + "translatorOptions" : "EnableDateRangeOptimization,EnableAnnotations,EnableResultTypes", + "signatureLevel" : "All" + }, { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "346", + "s" : [ { + "value" : [ "", "library TestSnippet version '1'" ] + } ] + } + } ], + "identifier" : { + "id" : "TestSnippet", + "version" : "1" + }, + "schemaIdentifier" : { + "id" : "urn:hl7-org:elm", + "version" : "r1" + }, + "usings" : { + "def" : [ { + "localId" : "1", + "localIdentifier" : "System", + "uri" : "urn:hl7-org:elm-types:r1", + "annotation" : [ ] }, { - "type" : "Annotation", - "s" : { - "r" : "346", + "localId" : "206", + "localIdentifier" : "Simple", + "uri" : "https://github.com/cqframework/cql-execution/simple", + "version" : "1.0.0", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "206", "s" : [ { - "value" : [ "","library TestSnippet version '1'" ] - } ] - } - } ], - "identifier" : { - "id" : "TestSnippet", - "version" : "1" - }, - "schemaIdentifier" : { - "id" : "urn:hl7-org:elm", - "version" : "r1" - }, - "usings" : { - "def" : [ { - "localId" : "1", - "localIdentifier" : "System", - "uri" : "urn:hl7-org:elm-types:r1" - }, { - "localId" : "206", - "localIdentifier" : "Simple", - "uri" : "https://github.com/cqframework/cql-execution/simple", - "version" : "1.0.0", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "206", - "s" : [ { - "value" : [ "","using " ] - }, { - "s" : [ { - "value" : [ "Simple" ] - } ] - }, { - "value" : [ " version '1.0.0'" ] - } ] - } - } ] - } ] - }, - "contexts" : { - "def" : [ { - "localId" : "211", - "name" : "Patient" - } ] - }, - "statements" : { - "def" : [ { - "localId" : "209", - "name" : "Patient", - "context" : "Patient", - "expression" : { - "localId" : "210", - "type" : "SingletonFrom", - "signature" : [ ], - "operand" : { - "localId" : "208", - "dataType" : "{https://github.com/cqframework/cql-execution/simple}Patient", - "type" : "Retrieve", - "include" : [ ], - "codeFilter" : [ ], - "dateFilter" : [ ], - "otherFilter" : [ ] - } - } - }, { - "localId" : "212", + "value" : [ "", "using " ] + }, { + "s" : [ { + "value" : [ "Simple" ] + } ] + }, { + "value" : [ " version '1.0.0'" ] + } ] + } + } ] + } ] + }, + "contexts" : { + "def" : [ { + "localId" : "211", + "name" : "Patient", + "annotation" : [ ] + } ] + }, + "statements" : { + "def" : [ { + "localId" : "209", + "name" : "Patient", + "context" : "Patient", + "annotation" : [ ], + "expression" : { + "type" : "SingletonFrom", + "localId" : "210", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Retrieve", + "localId" : "208", + "dataType" : "{https://github.com/cqframework/cql-execution/simple}Patient", + "annotation" : [ ], + "include" : [ ], + "codeFilter" : [ ], + "dateFilter" : [ ], + "otherFilter" : [ ] + } + } + }, { + "type" : "FunctionDef", + "localId" : "212", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "name" : "Echo", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "212", + "s" : [ { + "value" : [ "", "define function Echo(Val Any): " ] + }, { + "r" : "217", + "s" : [ { + "r" : "217", + "s" : [ { + "value" : [ "Val" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "OperandRef", + "localId" : "217", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "name" : "Val", + "annotation" : [ ] + }, + "operand" : [ { + "localId" : "214", + "name" : "Val", + "annotation" : [ ], + "operandTypeSpecifier" : { + "type" : "NamedTypeSpecifier", + "localId" : "213", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "name" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } + } ] + }, { + "localId" : "220", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "name" : "FiveAsInteger", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "220", + "s" : [ { + "value" : [ "// fool CQL-to-ELM into letting the casts compile\n", "define ", "FiveAsInteger", ": " ] + }, { + "r" : "221", + "s" : [ { + "r" : "223", + "s" : [ { + "r" : "222", + "value" : [ "Echo", "(", "5", ")" ] + } ] + }, { + "value" : [ " as " ] + }, { + "r" : "225", + "s" : [ { + "value" : [ "Integer" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "As", + "localId" : "221", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "strict" : false, + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "FunctionRef", + "localId" : "223", "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", "name" : "Echo", - "context" : "Patient", - "accessLevel" : "Public", - "type" : "FunctionDef", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "212", - "s" : [ { - "value" : [ "","define function Echo(Val Any): " ] - }, { - "r" : "217", - "s" : [ { - "r" : "217", - "s" : [ { - "value" : [ "Val" ] - } ] - } ] - } ] - } + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "224", + "name" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] } ], - "expression" : { - "localId" : "217", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "name" : "Val", - "type" : "OperandRef" - }, "operand" : [ { - "localId" : "214", - "name" : "Val", - "operandTypeSpecifier" : { - "localId" : "213", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "name" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "NamedTypeSpecifier" - } + "type" : "Literal", + "localId" : "222", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "5", + "annotation" : [ ] } ] - }, { - "localId" : "220", + }, + "asTypeSpecifier" : { + "type" : "NamedTypeSpecifier", + "localId" : "225", "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "name" : "FiveAsInteger", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "220", - "s" : [ { - "value" : [ "// fool CQL-to-ELM into letting the casts compile\n","define ","FiveAsInteger",": " ] - }, { - "r" : "221", - "s" : [ { - "r" : "223", - "s" : [ { - "r" : "222", - "value" : [ "Echo","(","5",")" ] - } ] - }, { - "value" : [ " as " ] - }, { - "r" : "225", - "s" : [ { - "value" : [ "Integer" ] - } ] - } ] - } ] - } + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } + }, { + "localId" : "228", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "name" : "FiveAsString", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "228", + "s" : [ { + "value" : [ "", "define ", "FiveAsString", ": " ] + }, { + "r" : "229", + "s" : [ { + "r" : "231", + "s" : [ { + "r" : "230", + "value" : [ "Echo", "(", "5", ")" ] + } ] + }, { + "value" : [ " as " ] + }, { + "r" : "233", + "s" : [ { + "value" : [ "String" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "As", + "localId" : "229", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "strict" : false, + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "FunctionRef", + "localId" : "231", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "name" : "Echo", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "232", + "name" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] } ], - "expression" : { - "localId" : "221", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "strict" : false, - "type" : "As", - "signature" : [ ], - "operand" : { - "localId" : "223", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "name" : "Echo", - "type" : "FunctionRef", - "signature" : [ { - "localId" : "224", - "name" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "222", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal" - } ] - }, - "asTypeSpecifier" : { - "localId" : "225", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } - }, { - "localId" : "228", + "operand" : [ { + "type" : "Literal", + "localId" : "230", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "5", + "annotation" : [ ] + } ] + }, + "asTypeSpecifier" : { + "type" : "NamedTypeSpecifier", + "localId" : "233", "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "name" : "FiveAsString", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "228", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } + } + }, { + "localId" : "236", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "name" : "StringFiveAsInteger", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "236", + "s" : [ { + "value" : [ "", "define ", "StringFiveAsInteger", ": " ] + }, { + "r" : "237", + "s" : [ { + "r" : "240", + "s" : [ { + "value" : [ "Echo", "(" ] + }, { + "r" : "238", "s" : [ { - "value" : [ "","define ","FiveAsString",": " ] - }, { - "r" : "229", - "s" : [ { - "r" : "231", - "s" : [ { - "r" : "230", - "value" : [ "Echo","(","5",")" ] - } ] - }, { - "value" : [ " as " ] - }, { - "r" : "233", - "s" : [ { - "value" : [ "String" ] - } ] - } ] - } ] - } + "value" : [ "'5'" ] + } ] + }, { + "value" : [ ")" ] + } ] + }, { + "value" : [ " as " ] + }, { + "r" : "242", + "s" : [ { + "value" : [ "Integer" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "As", + "localId" : "237", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "strict" : false, + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "FunctionRef", + "localId" : "240", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "name" : "Echo", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "241", + "name" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] } ], - "expression" : { - "localId" : "229", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "strict" : false, - "type" : "As", - "signature" : [ ], - "operand" : { - "localId" : "231", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "name" : "Echo", - "type" : "FunctionRef", - "signature" : [ { - "localId" : "232", - "name" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "230", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal" - } ] - }, - "asTypeSpecifier" : { - "localId" : "233", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } - } - }, { - "localId" : "236", + "operand" : [ { + "type" : "Literal", + "localId" : "238", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "5", + "annotation" : [ ] + } ] + }, + "asTypeSpecifier" : { + "type" : "NamedTypeSpecifier", + "localId" : "242", "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "name" : "StringFiveAsInteger", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "236", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } + }, { + "localId" : "245", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "name" : "StringFiveAsString", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "245", + "s" : [ { + "value" : [ "", "define ", "StringFiveAsString", ": " ] + }, { + "r" : "246", + "s" : [ { + "r" : "249", + "s" : [ { + "value" : [ "Echo", "(" ] + }, { + "r" : "247", "s" : [ { - "value" : [ "","define ","StringFiveAsInteger",": " ] - }, { - "r" : "237", - "s" : [ { - "r" : "240", - "s" : [ { - "value" : [ "Echo","(" ] - }, { - "r" : "238", - "s" : [ { - "value" : [ "'5'" ] - } ] - }, { - "value" : [ ")" ] - } ] - }, { - "value" : [ " as " ] - }, { - "r" : "242", - "s" : [ { - "value" : [ "Integer" ] - } ] - } ] - } ] - } + "value" : [ "'5'" ] + } ] + }, { + "value" : [ ")" ] + } ] + }, { + "value" : [ " as " ] + }, { + "r" : "251", + "s" : [ { + "value" : [ "String" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "As", + "localId" : "246", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "strict" : false, + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "FunctionRef", + "localId" : "249", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "name" : "Echo", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "250", + "name" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] } ], - "expression" : { - "localId" : "237", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "strict" : false, - "type" : "As", - "signature" : [ ], - "operand" : { - "localId" : "240", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "name" : "Echo", - "type" : "FunctionRef", - "signature" : [ { - "localId" : "241", - "name" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "238", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "5", - "type" : "Literal" - } ] - }, - "asTypeSpecifier" : { - "localId" : "242", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } - }, { - "localId" : "245", + "operand" : [ { + "type" : "Literal", + "localId" : "247", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "5", + "annotation" : [ ] + } ] + }, + "asTypeSpecifier" : { + "type" : "NamedTypeSpecifier", + "localId" : "251", "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "name" : "StringFiveAsString", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "245", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } + } + }, { + "localId" : "254", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "name" : "ListAsInteger", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "254", + "s" : [ { + "value" : [ "", "define ", "ListAsInteger", ": " ] + }, { + "r" : "255", + "s" : [ { + "r" : "260", + "s" : [ { + "value" : [ "Echo", "(" ] + }, { + "r" : "256", "s" : [ { - "value" : [ "","define ","StringFiveAsString",": " ] - }, { - "r" : "246", - "s" : [ { - "r" : "249", - "s" : [ { - "value" : [ "Echo","(" ] - }, { - "r" : "247", - "s" : [ { - "value" : [ "'5'" ] - } ] - }, { - "value" : [ ")" ] - } ] - }, { - "value" : [ " as " ] - }, { - "r" : "251", - "s" : [ { - "value" : [ "String" ] - } ] - } ] - } ] - } + "r" : "257", + "value" : [ "{", "5", "}" ] + } ] + }, { + "value" : [ ")" ] + } ] + }, { + "value" : [ " as " ] + }, { + "r" : "262", + "s" : [ { + "value" : [ "Integer" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "As", + "localId" : "255", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "strict" : false, + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "FunctionRef", + "localId" : "260", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "name" : "Echo", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "261", + "name" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] } ], - "expression" : { - "localId" : "246", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "strict" : false, - "type" : "As", - "signature" : [ ], - "operand" : { - "localId" : "249", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "name" : "Echo", - "type" : "FunctionRef", - "signature" : [ { - "localId" : "250", - "name" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "247", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "5", - "type" : "Literal" - } ] - }, - "asTypeSpecifier" : { - "localId" : "251", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } - } - }, { - "localId" : "254", + "operand" : [ { + "type" : "List", + "localId" : "256", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "258", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "259", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "element" : [ { + "type" : "Literal", + "localId" : "257", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "5", + "annotation" : [ ] + } ] + } ] + }, + "asTypeSpecifier" : { + "type" : "NamedTypeSpecifier", + "localId" : "262", "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "name" : "ListAsInteger", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "254", - "s" : [ { - "value" : [ "","define ","ListAsInteger",": " ] - }, { - "r" : "255", - "s" : [ { - "r" : "260", - "s" : [ { - "value" : [ "Echo","(" ] - }, { - "r" : "256", - "s" : [ { - "r" : "257", - "value" : [ "{","5","}" ] - } ] - }, { - "value" : [ ")" ] - } ] - }, { - "value" : [ " as " ] - }, { - "r" : "262", - "s" : [ { - "value" : [ "Integer" ] - } ] - } ] - } ] - } + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } + }, { + "localId" : "265", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "name" : "IntervalAsInteger", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "265", + "s" : [ { + "value" : [ "", "define ", "IntervalAsInteger", ": " ] + }, { + "r" : "266", + "s" : [ { + "r" : "272", + "s" : [ { + "value" : [ "Echo", "(" ] + }, { + "r" : "269", + "s" : [ { + "r" : "267", + "value" : [ "Interval[", "1", ", ", "5", "]" ] + } ] + }, { + "value" : [ ")" ] + } ] + }, { + "value" : [ " as " ] + }, { + "r" : "274", + "s" : [ { + "value" : [ "Integer" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "As", + "localId" : "266", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "strict" : false, + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "FunctionRef", + "localId" : "272", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "name" : "Echo", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "273", + "name" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] } ], - "expression" : { - "localId" : "255", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "strict" : false, - "type" : "As", - "signature" : [ ], - "operand" : { - "localId" : "260", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "name" : "Echo", - "type" : "FunctionRef", - "signature" : [ { - "localId" : "261", - "name" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "256", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "258", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "259", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "element" : [ { - "localId" : "257", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal" - } ] - } ] - }, - "asTypeSpecifier" : { - "localId" : "262", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "operand" : [ { + "type" : "Interval", + "localId" : "269", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "270", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "271", "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } - }, { - "localId" : "265", + "annotation" : [ ] + } + }, + "low" : { + "type" : "Literal", + "localId" : "267", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "high" : { + "type" : "Literal", + "localId" : "268", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "5", + "annotation" : [ ] + } + } ] + }, + "asTypeSpecifier" : { + "type" : "NamedTypeSpecifier", + "localId" : "274", "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "name" : "IntervalAsInteger", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "265", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } + }, { + "localId" : "277", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "name" : "TupleAsInteger", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "277", + "s" : [ { + "value" : [ "", "define ", "TupleAsInteger", ": " ] + }, { + "r" : "278", + "s" : [ { + "r" : "284", + "s" : [ { + "value" : [ "Echo", "(" ] + }, { + "r" : "279", "s" : [ { - "value" : [ "","define ","IntervalAsInteger",": " ] - }, { - "r" : "266", - "s" : [ { - "r" : "272", - "s" : [ { - "value" : [ "Echo","(" ] - }, { - "r" : "269", - "s" : [ { - "r" : "267", - "value" : [ "Interval[","1",", ","5","]" ] - } ] - }, { - "value" : [ ")" ] - } ] - }, { - "value" : [ " as " ] - }, { - "r" : "274", - "s" : [ { - "value" : [ "Integer" ] - } ] - } ] - } ] - } + "value" : [ "Tuple{" ] + }, { + "s" : [ { + "r" : "280", + "value" : [ "A", ": ", "5" ] + } ] + }, { + "value" : [ "}" ] + } ] + }, { + "value" : [ ")" ] + } ] + }, { + "value" : [ " as " ] + }, { + "r" : "286", + "s" : [ { + "value" : [ "Integer" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "As", + "localId" : "278", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "strict" : false, + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "FunctionRef", + "localId" : "284", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "name" : "Echo", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "285", + "name" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] } ], - "expression" : { - "localId" : "266", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "strict" : false, - "type" : "As", - "signature" : [ ], - "operand" : { - "localId" : "272", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "name" : "Echo", - "type" : "FunctionRef", - "signature" : [ { - "localId" : "273", - "name" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "269", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "270", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "271", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "267", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "high" : { - "localId" : "268", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal" - } - } ] - }, - "asTypeSpecifier" : { - "localId" : "274", + "operand" : [ { + "type" : "Tuple", + "localId" : "279", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "TupleTypeSpecifier", + "localId" : "281", + "annotation" : [ ], + "element" : [ { + "localId" : "282", + "name" : "A", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "283", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } ] + }, + "element" : [ { + "name" : "A", + "value" : { + "type" : "Literal", + "localId" : "280", "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } - }, { - "localId" : "277", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "5", + "annotation" : [ ] + } + } ] + } ] + }, + "asTypeSpecifier" : { + "type" : "NamedTypeSpecifier", + "localId" : "286", "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "name" : "TupleAsInteger", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "277", - "s" : [ { - "value" : [ "","define ","TupleAsInteger",": " ] - }, { - "r" : "278", - "s" : [ { - "r" : "284", - "s" : [ { - "value" : [ "Echo","(" ] - }, { - "r" : "279", - "s" : [ { - "value" : [ "Tuple{" ] - }, { - "s" : [ { - "r" : "280", - "value" : [ "A",": ","5" ] - } ] - }, { - "value" : [ "}" ] - } ] - }, { - "value" : [ ")" ] - } ] - }, { - "value" : [ " as " ] - }, { - "r" : "286", - "s" : [ { - "value" : [ "Integer" ] - } ] - } ] - } ] - } + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } + }, { + "localId" : "289", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "name" : "CastFiveAsInteger", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "289", + "s" : [ { + "value" : [ "", "define ", "CastFiveAsInteger", ": " ] + }, { + "r" : "290", + "s" : [ { + "value" : [ "cast " ] + }, { + "r" : "292", + "s" : [ { + "r" : "291", + "value" : [ "Echo", "(", "5", ")" ] + } ] + }, { + "value" : [ " as " ] + }, { + "r" : "294", + "s" : [ { + "value" : [ "Integer" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "As", + "localId" : "290", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "strict" : true, + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "FunctionRef", + "localId" : "292", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "name" : "Echo", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "293", + "name" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] } ], - "expression" : { - "localId" : "278", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "strict" : false, - "type" : "As", - "signature" : [ ], - "operand" : { - "localId" : "284", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "name" : "Echo", - "type" : "FunctionRef", - "signature" : [ { - "localId" : "285", - "name" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "279", - "type" : "Tuple", - "resultTypeSpecifier" : { - "localId" : "281", - "type" : "TupleTypeSpecifier", - "element" : [ { - "localId" : "282", - "name" : "A", - "elementType" : { - "localId" : "283", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } ] - }, - "element" : [ { - "name" : "A", - "value" : { - "localId" : "280", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal" - } - } ] - } ] - }, - "asTypeSpecifier" : { - "localId" : "286", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } - }, { - "localId" : "289", + "operand" : [ { + "type" : "Literal", + "localId" : "291", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "5", + "annotation" : [ ] + } ] + }, + "asTypeSpecifier" : { + "type" : "NamedTypeSpecifier", + "localId" : "294", "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "name" : "CastFiveAsInteger", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "289", - "s" : [ { - "value" : [ "","define ","CastFiveAsInteger",": " ] - }, { - "r" : "290", - "s" : [ { - "value" : [ "cast " ] - }, { - "r" : "292", - "s" : [ { - "r" : "291", - "value" : [ "Echo","(","5",")" ] - } ] - }, { - "value" : [ " as " ] - }, { - "r" : "294", - "s" : [ { - "value" : [ "Integer" ] - } ] - } ] - } ] - } + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } + }, { + "localId" : "297", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "name" : "CastFiveAsString", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "297", + "s" : [ { + "value" : [ "", "define ", "CastFiveAsString", ": " ] + }, { + "r" : "298", + "s" : [ { + "value" : [ "cast " ] + }, { + "r" : "300", + "s" : [ { + "r" : "299", + "value" : [ "Echo", "(", "5", ")" ] + } ] + }, { + "value" : [ " as " ] + }, { + "r" : "302", + "s" : [ { + "value" : [ "String" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "As", + "localId" : "298", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "strict" : true, + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "FunctionRef", + "localId" : "300", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "name" : "Echo", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "301", + "name" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] } ], - "expression" : { - "localId" : "290", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "strict" : true, - "type" : "As", - "signature" : [ ], - "operand" : { - "localId" : "292", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "name" : "Echo", - "type" : "FunctionRef", - "signature" : [ { - "localId" : "293", - "name" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "291", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal" - } ] - }, - "asTypeSpecifier" : { - "localId" : "294", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } - }, { - "localId" : "297", + "operand" : [ { + "type" : "Literal", + "localId" : "299", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "5", + "annotation" : [ ] + } ] + }, + "asTypeSpecifier" : { + "type" : "NamedTypeSpecifier", + "localId" : "302", "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "name" : "CastFiveAsString", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "297", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } + } + }, { + "localId" : "305", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "name" : "CastStringFiveAsInteger", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "305", + "s" : [ { + "value" : [ "", "define ", "CastStringFiveAsInteger", ": " ] + }, { + "r" : "306", + "s" : [ { + "value" : [ "cast " ] + }, { + "r" : "309", + "s" : [ { + "value" : [ "Echo", "(" ] + }, { + "r" : "307", "s" : [ { - "value" : [ "","define ","CastFiveAsString",": " ] - }, { - "r" : "298", - "s" : [ { - "value" : [ "cast " ] - }, { - "r" : "300", - "s" : [ { - "r" : "299", - "value" : [ "Echo","(","5",")" ] - } ] - }, { - "value" : [ " as " ] - }, { - "r" : "302", - "s" : [ { - "value" : [ "String" ] - } ] - } ] - } ] - } + "value" : [ "'5'" ] + } ] + }, { + "value" : [ ")" ] + } ] + }, { + "value" : [ " as " ] + }, { + "r" : "311", + "s" : [ { + "value" : [ "Integer" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "As", + "localId" : "306", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "strict" : true, + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "FunctionRef", + "localId" : "309", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "name" : "Echo", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "310", + "name" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] } ], - "expression" : { - "localId" : "298", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "strict" : true, - "type" : "As", - "signature" : [ ], - "operand" : { - "localId" : "300", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "name" : "Echo", - "type" : "FunctionRef", - "signature" : [ { - "localId" : "301", - "name" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "299", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal" - } ] - }, - "asTypeSpecifier" : { - "localId" : "302", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } - } - }, { - "localId" : "305", + "operand" : [ { + "type" : "Literal", + "localId" : "307", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "5", + "annotation" : [ ] + } ] + }, + "asTypeSpecifier" : { + "type" : "NamedTypeSpecifier", + "localId" : "311", "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "name" : "CastStringFiveAsInteger", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "305", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } + }, { + "localId" : "314", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "name" : "CastStringFiveAsString", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "314", + "s" : [ { + "value" : [ "", "define ", "CastStringFiveAsString", ": " ] + }, { + "r" : "315", + "s" : [ { + "value" : [ "cast " ] + }, { + "r" : "318", + "s" : [ { + "value" : [ "Echo", "(" ] + }, { + "r" : "316", "s" : [ { - "value" : [ "","define ","CastStringFiveAsInteger",": " ] - }, { - "r" : "306", - "s" : [ { - "value" : [ "cast " ] - }, { - "r" : "309", - "s" : [ { - "value" : [ "Echo","(" ] - }, { - "r" : "307", - "s" : [ { - "value" : [ "'5'" ] - } ] - }, { - "value" : [ ")" ] - } ] - }, { - "value" : [ " as " ] - }, { - "r" : "311", - "s" : [ { - "value" : [ "Integer" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "306", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "strict" : true, - "type" : "As", - "signature" : [ ], - "operand" : { - "localId" : "309", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "name" : "Echo", - "type" : "FunctionRef", - "signature" : [ { - "localId" : "310", - "name" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "307", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "5", - "type" : "Literal" - } ] - }, - "asTypeSpecifier" : { - "localId" : "311", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } - }, { - "localId" : "314", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "name" : "CastStringFiveAsString", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "314", - "s" : [ { - "value" : [ "","define ","CastStringFiveAsString",": " ] - }, { - "r" : "315", - "s" : [ { - "value" : [ "cast " ] - }, { - "r" : "318", - "s" : [ { - "value" : [ "Echo","(" ] - }, { - "r" : "316", - "s" : [ { - "value" : [ "'5'" ] - } ] - }, { - "value" : [ ")" ] - } ] - }, { - "value" : [ " as " ] - }, { - "r" : "320", - "s" : [ { - "value" : [ "String" ] - } ] - } ] - } ] - } + "value" : [ "'5'" ] + } ] + }, { + "value" : [ ")" ] + } ] + }, { + "value" : [ " as " ] + }, { + "r" : "320", + "s" : [ { + "value" : [ "String" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "As", + "localId" : "315", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "strict" : true, + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "FunctionRef", + "localId" : "318", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "name" : "Echo", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "319", + "name" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] } ], - "expression" : { - "localId" : "315", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "strict" : true, - "type" : "As", - "signature" : [ ], - "operand" : { - "localId" : "318", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "name" : "Echo", - "type" : "FunctionRef", - "signature" : [ { - "localId" : "319", - "name" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "316", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "5", - "type" : "Literal" - } ] - }, - "asTypeSpecifier" : { - "localId" : "320", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } - } - }, { - "localId" : "323", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "name" : "CastListAsInteger", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "323", - "s" : [ { - "value" : [ "","define ","CastListAsInteger",": " ] - }, { - "r" : "324", - "s" : [ { - "value" : [ "cast " ] - }, { - "r" : "329", - "s" : [ { - "value" : [ "Echo","(" ] - }, { - "r" : "325", - "s" : [ { - "r" : "326", - "value" : [ "{","5","}" ] - } ] - }, { - "value" : [ ")" ] - } ] - }, { - "value" : [ " as " ] - }, { - "r" : "331", - "s" : [ { - "value" : [ "Integer" ] - } ] - } ] - } ] - } + "operand" : [ { + "type" : "Literal", + "localId" : "316", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "5", + "annotation" : [ ] + } ] + }, + "asTypeSpecifier" : { + "type" : "NamedTypeSpecifier", + "localId" : "320", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } + } + }, { + "localId" : "323", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "name" : "CastListAsInteger", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "323", + "s" : [ { + "value" : [ "", "define ", "CastListAsInteger", ": " ] + }, { + "r" : "324", + "s" : [ { + "value" : [ "cast " ] + }, { + "r" : "329", + "s" : [ { + "value" : [ "Echo", "(" ] + }, { + "r" : "325", + "s" : [ { + "r" : "326", + "value" : [ "{", "5", "}" ] + } ] + }, { + "value" : [ ")" ] + } ] + }, { + "value" : [ " as " ] + }, { + "r" : "331", + "s" : [ { + "value" : [ "Integer" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "As", + "localId" : "324", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "strict" : true, + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "FunctionRef", + "localId" : "329", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "name" : "Echo", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "330", + "name" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] } ], - "expression" : { - "localId" : "324", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "strict" : true, - "type" : "As", - "signature" : [ ], - "operand" : { - "localId" : "329", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "name" : "Echo", - "type" : "FunctionRef", - "signature" : [ { - "localId" : "330", - "name" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "325", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "327", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "328", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "element" : [ { - "localId" : "326", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal" - } ] - } ] - }, - "asTypeSpecifier" : { - "localId" : "331", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "operand" : [ { + "type" : "List", + "localId" : "325", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "327", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "328", "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } - }, { - "localId" : "334", + "annotation" : [ ] + } + }, + "element" : [ { + "type" : "Literal", + "localId" : "326", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "5", + "annotation" : [ ] + } ] + } ] + }, + "asTypeSpecifier" : { + "type" : "NamedTypeSpecifier", + "localId" : "331", "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "name" : "CastIntervalAsInteger", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "334", - "s" : [ { - "value" : [ "","define ","CastIntervalAsInteger",": " ] - }, { - "r" : "335", - "s" : [ { - "value" : [ "cast " ] - }, { - "r" : "341", - "s" : [ { - "value" : [ "Echo","(" ] - }, { - "r" : "338", - "s" : [ { - "r" : "336", - "value" : [ "Interval[","1",", ","5","]" ] - } ] - }, { - "value" : [ ")" ] - } ] - }, { - "value" : [ " as " ] - }, { - "r" : "343", - "s" : [ { - "value" : [ "Integer" ] - } ] - } ] - } ] - } + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } + }, { + "localId" : "334", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "name" : "CastIntervalAsInteger", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "334", + "s" : [ { + "value" : [ "", "define ", "CastIntervalAsInteger", ": " ] + }, { + "r" : "335", + "s" : [ { + "value" : [ "cast " ] + }, { + "r" : "341", + "s" : [ { + "value" : [ "Echo", "(" ] + }, { + "r" : "338", + "s" : [ { + "r" : "336", + "value" : [ "Interval[", "1", ", ", "5", "]" ] + } ] + }, { + "value" : [ ")" ] + } ] + }, { + "value" : [ " as " ] + }, { + "r" : "343", + "s" : [ { + "value" : [ "Integer" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "As", + "localId" : "335", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "strict" : true, + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "FunctionRef", + "localId" : "341", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "name" : "Echo", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "342", + "name" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] } ], - "expression" : { - "localId" : "335", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "strict" : true, - "type" : "As", - "signature" : [ ], - "operand" : { - "localId" : "341", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "name" : "Echo", - "type" : "FunctionRef", - "signature" : [ { - "localId" : "342", - "name" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "338", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "339", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "340", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "336", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "high" : { - "localId" : "337", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal" - } - } ] - }, - "asTypeSpecifier" : { - "localId" : "343", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "operand" : [ { + "type" : "Interval", + "localId" : "338", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "339", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "340", "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } - }, { - "localId" : "346", + "annotation" : [ ] + } + }, + "low" : { + "type" : "Literal", + "localId" : "336", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "high" : { + "type" : "Literal", + "localId" : "337", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "5", + "annotation" : [ ] + } + } ] + }, + "asTypeSpecifier" : { + "type" : "NamedTypeSpecifier", + "localId" : "343", "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "name" : "CastTupleAsInteger", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "346", - "s" : [ { - "value" : [ "","define ","CastTupleAsInteger",": " ] - }, { - "r" : "347", - "s" : [ { - "value" : [ "cast " ] - }, { - "r" : "353", - "s" : [ { - "value" : [ "Echo","(" ] - }, { - "r" : "348", - "s" : [ { - "value" : [ "Tuple{" ] - }, { - "s" : [ { - "r" : "349", - "value" : [ "A",": ","5" ] - } ] - }, { - "value" : [ "}" ] - } ] - }, { - "value" : [ ")" ] - } ] - }, { - "value" : [ " as " ] - }, { - "r" : "355", - "s" : [ { - "value" : [ "Integer" ] - } ] - } ] - } ] - } + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } + }, { + "localId" : "346", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "name" : "CastTupleAsInteger", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "346", + "s" : [ { + "value" : [ "", "define ", "CastTupleAsInteger", ": " ] + }, { + "r" : "347", + "s" : [ { + "value" : [ "cast " ] + }, { + "r" : "353", + "s" : [ { + "value" : [ "Echo", "(" ] + }, { + "r" : "348", + "s" : [ { + "value" : [ "Tuple{" ] + }, { + "s" : [ { + "r" : "349", + "value" : [ "A", ": ", "5" ] + } ] + }, { + "value" : [ "}" ] + } ] + }, { + "value" : [ ")" ] + } ] + }, { + "value" : [ " as " ] + }, { + "r" : "355", + "s" : [ { + "value" : [ "Integer" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "As", + "localId" : "347", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "strict" : true, + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "FunctionRef", + "localId" : "353", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "name" : "Echo", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "354", + "name" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] } ], - "expression" : { - "localId" : "347", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "strict" : true, - "type" : "As", - "signature" : [ ], - "operand" : { - "localId" : "353", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "name" : "Echo", - "type" : "FunctionRef", - "signature" : [ { - "localId" : "354", - "name" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "348", - "type" : "Tuple", - "resultTypeSpecifier" : { - "localId" : "350", - "type" : "TupleTypeSpecifier", - "element" : [ { - "localId" : "351", - "name" : "A", - "elementType" : { - "localId" : "352", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } ] - }, - "element" : [ { - "name" : "A", - "value" : { - "localId" : "349", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal" - } - } ] - } ] - }, - "asTypeSpecifier" : { - "localId" : "355", + "operand" : [ { + "type" : "Tuple", + "localId" : "348", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "TupleTypeSpecifier", + "localId" : "350", + "annotation" : [ ], + "element" : [ { + "localId" : "351", + "name" : "A", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "352", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } ] + }, + "element" : [ { + "name" : "A", + "value" : { + "type" : "Literal", + "localId" : "349", "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } - } ] - } - } + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "5", + "annotation" : [ ] + } + } ] + } ] + }, + "asTypeSpecifier" : { + "type" : "NamedTypeSpecifier", + "localId" : "355", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } + } ] + } + } } /* AsListType @@ -3347,1457 +3684,1640 @@ define CastTupleAsListOfIntegers: cast Echo(Tuple{A: 5}) as List */ module.exports['AsListType'] = { - "library" : { - "localId" : "0", - "annotation" : [ { - "translatorVersion" : "3.27.0", - "translatorOptions" : "EnableDateRangeOptimization,EnableAnnotations,EnableResultTypes", - "signatureLevel" : "All", - "type" : "CqlToElmInfo" + "library" : { + "localId" : "0", + "annotation" : [ { + "type" : "CqlToElmInfo", + "translatorVersion" : "4.2.0", + "translatorOptions" : "EnableDateRangeOptimization,EnableAnnotations,EnableResultTypes", + "signatureLevel" : "All" + }, { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "401", + "s" : [ { + "value" : [ "", "library TestSnippet version '1'" ] + } ] + } + } ], + "identifier" : { + "id" : "TestSnippet", + "version" : "1" + }, + "schemaIdentifier" : { + "id" : "urn:hl7-org:elm", + "version" : "r1" + }, + "usings" : { + "def" : [ { + "localId" : "1", + "localIdentifier" : "System", + "uri" : "urn:hl7-org:elm-types:r1", + "annotation" : [ ] }, { - "type" : "Annotation", - "s" : { - "r" : "401", + "localId" : "206", + "localIdentifier" : "Simple", + "uri" : "https://github.com/cqframework/cql-execution/simple", + "version" : "1.0.0", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "206", "s" : [ { - "value" : [ "","library TestSnippet version '1'" ] - } ] - } - } ], - "identifier" : { - "id" : "TestSnippet", - "version" : "1" - }, - "schemaIdentifier" : { - "id" : "urn:hl7-org:elm", - "version" : "r1" - }, - "usings" : { - "def" : [ { - "localId" : "1", - "localIdentifier" : "System", - "uri" : "urn:hl7-org:elm-types:r1" - }, { - "localId" : "206", - "localIdentifier" : "Simple", - "uri" : "https://github.com/cqframework/cql-execution/simple", - "version" : "1.0.0", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "206", - "s" : [ { - "value" : [ "","using " ] - }, { - "s" : [ { - "value" : [ "Simple" ] - } ] - }, { - "value" : [ " version '1.0.0'" ] - } ] - } - } ] - } ] - }, - "contexts" : { - "def" : [ { - "localId" : "211", - "name" : "Patient" - } ] - }, - "statements" : { - "def" : [ { - "localId" : "209", - "name" : "Patient", - "context" : "Patient", - "expression" : { - "localId" : "210", - "type" : "SingletonFrom", - "signature" : [ ], - "operand" : { - "localId" : "208", - "dataType" : "{https://github.com/cqframework/cql-execution/simple}Patient", - "type" : "Retrieve", - "include" : [ ], - "codeFilter" : [ ], - "dateFilter" : [ ], - "otherFilter" : [ ] - } + "value" : [ "", "using " ] + }, { + "s" : [ { + "value" : [ "Simple" ] + } ] + }, { + "value" : [ " version '1.0.0'" ] + } ] + } + } ] + } ] + }, + "contexts" : { + "def" : [ { + "localId" : "211", + "name" : "Patient", + "annotation" : [ ] + } ] + }, + "statements" : { + "def" : [ { + "localId" : "209", + "name" : "Patient", + "context" : "Patient", + "annotation" : [ ], + "expression" : { + "type" : "SingletonFrom", + "localId" : "210", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Retrieve", + "localId" : "208", + "dataType" : "{https://github.com/cqframework/cql-execution/simple}Patient", + "annotation" : [ ], + "include" : [ ], + "codeFilter" : [ ], + "dateFilter" : [ ], + "otherFilter" : [ ] + } + } + }, { + "type" : "FunctionDef", + "localId" : "212", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "name" : "Echo", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "212", + "s" : [ { + "value" : [ "", "define function Echo(Val Any): " ] + }, { + "r" : "217", + "s" : [ { + "r" : "217", + "s" : [ { + "value" : [ "Val" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "OperandRef", + "localId" : "217", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "name" : "Val", + "annotation" : [ ] + }, + "operand" : [ { + "localId" : "214", + "name" : "Val", + "annotation" : [ ], + "operandTypeSpecifier" : { + "type" : "NamedTypeSpecifier", + "localId" : "213", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "name" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } + } ] + }, { + "localId" : "220", + "name" : "ListOfIntegersAsListOfIntegers", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "220", + "s" : [ { + "value" : [ "// fool CQL-to-ELM into letting the casts compile\n", "define ", "ListOfIntegersAsListOfIntegers", ": " ] + }, { + "r" : "221", + "s" : [ { + "r" : "230", + "s" : [ { + "value" : [ "Echo", "(" ] + }, { + "r" : "222", + "s" : [ { + "r" : "223", + "value" : [ "{", "1", ", ", "2", ", ", "3", ", ", "4", ", ", "5", "}" ] + } ] + }, { + "value" : [ ")" ] + } ] + }, { + "value" : [ " as " ] + }, { + "r" : "232", + "s" : [ { + "value" : [ "List<" ] + }, { + "r" : "233", + "s" : [ { + "value" : [ "Integer" ] + } ] + }, { + "value" : [ ">" ] + } ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "238", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "239", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "expression" : { + "type" : "As", + "localId" : "221", + "strict" : false, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "236", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "237", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] } - }, { - "localId" : "212", + }, + "signature" : [ ], + "operand" : { + "type" : "FunctionRef", + "localId" : "230", "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", "name" : "Echo", - "context" : "Patient", - "accessLevel" : "Public", - "type" : "FunctionDef", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "212", - "s" : [ { - "value" : [ "","define function Echo(Val Any): " ] - }, { - "r" : "217", - "s" : [ { - "r" : "217", - "s" : [ { - "value" : [ "Val" ] - } ] - } ] - } ] - } + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "231", + "name" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] } ], - "expression" : { - "localId" : "217", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "name" : "Val", - "type" : "OperandRef" - }, "operand" : [ { - "localId" : "214", - "name" : "Val", - "operandTypeSpecifier" : { - "localId" : "213", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "name" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "NamedTypeSpecifier" - } - } ] - }, { - "localId" : "220", - "name" : "ListOfIntegersAsListOfIntegers", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "220", - "s" : [ { - "value" : [ "// fool CQL-to-ELM into letting the casts compile\n","define ","ListOfIntegersAsListOfIntegers",": " ] - }, { - "r" : "221", - "s" : [ { - "r" : "230", - "s" : [ { - "value" : [ "Echo","(" ] - }, { - "r" : "222", - "s" : [ { - "r" : "223", - "value" : [ "{","1",", ","2",", ","3",", ","4",", ","5","}" ] - } ] - }, { - "value" : [ ")" ] - } ] - }, { - "value" : [ " as " ] - }, { - "r" : "232", - "s" : [ { - "value" : [ "List<" ] - }, { - "r" : "233", - "s" : [ { - "value" : [ "Integer" ] - } ] - }, { - "value" : [ ">" ] - } ] - } ] - } ] - } - } ], - "resultTypeSpecifier" : { - "localId" : "238", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "239", + "type" : "List", + "localId" : "222", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "228", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "229", "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } + "annotation" : [ ] + } + }, + "element" : [ { + "type" : "Literal", + "localId" : "223", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "224", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "225", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "226", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "4", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "227", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "5", + "annotation" : [ ] + } ] + } ] + }, + "asTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "232", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "234", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "235", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } }, - "expression" : { - "localId" : "221", - "strict" : false, - "type" : "As", - "resultTypeSpecifier" : { - "localId" : "236", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "237", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "signature" : [ ], - "operand" : { - "localId" : "230", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "name" : "Echo", - "type" : "FunctionRef", - "signature" : [ { - "localId" : "231", - "name" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "222", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "228", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "229", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "element" : [ { - "localId" : "223", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, { - "localId" : "224", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal" - }, { - "localId" : "225", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, { - "localId" : "226", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "4", - "type" : "Literal" - }, { - "localId" : "227", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal" - } ] - } ] - }, - "asTypeSpecifier" : { - "localId" : "232", - "type" : "ListTypeSpecifier", - "resultTypeSpecifier" : { - "localId" : "234", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "235", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "elementType" : { - "localId" : "233", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "233", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] } - }, { - "localId" : "242", - "name" : "ListOfStringsAsListOfIntegers", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "242", - "s" : [ { - "value" : [ "","define ","ListOfStringsAsListOfIntegers",": " ] - }, { - "r" : "243", - "s" : [ { - "r" : "255", - "s" : [ { - "value" : [ "Echo","(" ] - }, { - "r" : "244", - "s" : [ { - "value" : [ "{" ] - }, { - "r" : "245", - "s" : [ { - "value" : [ "'a'" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "247", - "s" : [ { - "value" : [ "'b'" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "249", - "s" : [ { - "value" : [ "'c'" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "251", - "s" : [ { - "value" : [ "'d'" ] - } ] - }, { - "value" : [ "}" ] - } ] - }, { - "value" : [ ")" ] - } ] - }, { - "value" : [ " as " ] - }, { - "r" : "257", - "s" : [ { - "value" : [ "List<" ] - }, { - "r" : "258", - "s" : [ { - "value" : [ "Integer" ] - } ] - }, { - "value" : [ ">" ] - } ] - } ] - } ] - } + } + } + }, { + "localId" : "242", + "name" : "ListOfStringsAsListOfIntegers", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "242", + "s" : [ { + "value" : [ "", "define ", "ListOfStringsAsListOfIntegers", ": " ] + }, { + "r" : "243", + "s" : [ { + "r" : "255", + "s" : [ { + "value" : [ "Echo", "(" ] + }, { + "r" : "244", + "s" : [ { + "value" : [ "{" ] + }, { + "r" : "245", + "s" : [ { + "value" : [ "'a'" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "247", + "s" : [ { + "value" : [ "'b'" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "249", + "s" : [ { + "value" : [ "'c'" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "251", + "s" : [ { + "value" : [ "'d'" ] + } ] + }, { + "value" : [ "}" ] + } ] + }, { + "value" : [ ")" ] + } ] + }, { + "value" : [ " as " ] + }, { + "r" : "257", + "s" : [ { + "value" : [ "List<" ] + }, { + "r" : "258", + "s" : [ { + "value" : [ "Integer" ] + } ] + }, { + "value" : [ ">" ] + } ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "263", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "264", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "expression" : { + "type" : "As", + "localId" : "243", + "strict" : false, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "261", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "262", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "signature" : [ ], + "operand" : { + "type" : "FunctionRef", + "localId" : "255", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "name" : "Echo", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "256", + "name" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] } ], + "operand" : [ { + "type" : "List", + "localId" : "244", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "253", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "254", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } + }, + "element" : [ { + "type" : "Literal", + "localId" : "245", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "a", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "247", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "b", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "249", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "c", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "251", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "d", + "annotation" : [ ] + } ] + } ] + }, + "asTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "257", + "annotation" : [ ], "resultTypeSpecifier" : { - "localId" : "263", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "264", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } + "type" : "ListTypeSpecifier", + "localId" : "259", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "260", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } }, - "expression" : { - "localId" : "243", - "strict" : false, - "type" : "As", - "resultTypeSpecifier" : { - "localId" : "261", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "262", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "signature" : [ ], - "operand" : { - "localId" : "255", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "name" : "Echo", - "type" : "FunctionRef", - "signature" : [ { - "localId" : "256", - "name" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "244", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "253", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "254", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } - }, - "element" : [ { - "localId" : "245", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "a", - "type" : "Literal" - }, { - "localId" : "247", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "b", - "type" : "Literal" - }, { - "localId" : "249", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "c", - "type" : "Literal" - }, { - "localId" : "251", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "d", - "type" : "Literal" - } ] - } ] - }, - "asTypeSpecifier" : { - "localId" : "257", - "type" : "ListTypeSpecifier", - "resultTypeSpecifier" : { - "localId" : "259", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "260", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "elementType" : { - "localId" : "258", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "258", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] } - }, { - "localId" : "267", - "name" : "IntegerAsListOfIntegers", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "267", - "s" : [ { - "value" : [ "","define ","IntegerAsListOfIntegers",": " ] - }, { - "r" : "268", - "s" : [ { - "r" : "270", - "s" : [ { - "r" : "269", - "value" : [ "Echo","(","5",")" ] - } ] - }, { - "value" : [ " as " ] - }, { - "r" : "272", - "s" : [ { - "value" : [ "List<" ] - }, { - "r" : "273", - "s" : [ { - "value" : [ "Integer" ] - } ] - }, { - "value" : [ ">" ] - } ] - } ] - } ] - } + } + } + }, { + "localId" : "267", + "name" : "IntegerAsListOfIntegers", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "267", + "s" : [ { + "value" : [ "", "define ", "IntegerAsListOfIntegers", ": " ] + }, { + "r" : "268", + "s" : [ { + "r" : "270", + "s" : [ { + "r" : "269", + "value" : [ "Echo", "(", "5", ")" ] + } ] + }, { + "value" : [ " as " ] + }, { + "r" : "272", + "s" : [ { + "value" : [ "List<" ] + }, { + "r" : "273", + "s" : [ { + "value" : [ "Integer" ] + } ] + }, { + "value" : [ ">" ] + } ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "278", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "279", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "expression" : { + "type" : "As", + "localId" : "268", + "strict" : false, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "276", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "277", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "signature" : [ ], + "operand" : { + "type" : "FunctionRef", + "localId" : "270", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "name" : "Echo", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "271", + "name" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] } ], + "operand" : [ { + "type" : "Literal", + "localId" : "269", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "5", + "annotation" : [ ] + } ] + }, + "asTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "272", + "annotation" : [ ], "resultTypeSpecifier" : { - "localId" : "278", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "279", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } + "type" : "ListTypeSpecifier", + "localId" : "274", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "275", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } }, - "expression" : { - "localId" : "268", - "strict" : false, - "type" : "As", - "resultTypeSpecifier" : { - "localId" : "276", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "277", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "signature" : [ ], - "operand" : { - "localId" : "270", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "name" : "Echo", - "type" : "FunctionRef", - "signature" : [ { - "localId" : "271", - "name" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "269", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal" - } ] - }, - "asTypeSpecifier" : { - "localId" : "272", - "type" : "ListTypeSpecifier", - "resultTypeSpecifier" : { - "localId" : "274", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "275", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "elementType" : { - "localId" : "273", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "273", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] } - }, { - "localId" : "282", - "name" : "IntervalAsListOfIntegers", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "282", - "s" : [ { - "value" : [ "","define ","IntervalAsListOfIntegers",": " ] - }, { - "r" : "283", - "s" : [ { - "r" : "289", - "s" : [ { - "value" : [ "Echo","(" ] - }, { - "r" : "286", - "s" : [ { - "r" : "284", - "value" : [ "Interval[","1",", ","5","]" ] - } ] - }, { - "value" : [ ")" ] - } ] - }, { - "value" : [ " as " ] - }, { - "r" : "291", - "s" : [ { - "value" : [ "List<" ] - }, { - "r" : "292", - "s" : [ { - "value" : [ "Integer" ] - } ] - }, { - "value" : [ ">" ] - } ] - } ] - } ] - } + } + } + }, { + "localId" : "282", + "name" : "IntervalAsListOfIntegers", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "282", + "s" : [ { + "value" : [ "", "define ", "IntervalAsListOfIntegers", ": " ] + }, { + "r" : "283", + "s" : [ { + "r" : "289", + "s" : [ { + "value" : [ "Echo", "(" ] + }, { + "r" : "286", + "s" : [ { + "r" : "284", + "value" : [ "Interval[", "1", ", ", "5", "]" ] + } ] + }, { + "value" : [ ")" ] + } ] + }, { + "value" : [ " as " ] + }, { + "r" : "291", + "s" : [ { + "value" : [ "List<" ] + }, { + "r" : "292", + "s" : [ { + "value" : [ "Integer" ] + } ] + }, { + "value" : [ ">" ] + } ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "297", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "298", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "expression" : { + "type" : "As", + "localId" : "283", + "strict" : false, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "295", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "296", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "signature" : [ ], + "operand" : { + "type" : "FunctionRef", + "localId" : "289", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "name" : "Echo", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "290", + "name" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] } ], - "resultTypeSpecifier" : { - "localId" : "297", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "298", + "operand" : [ { + "type" : "Interval", + "localId" : "286", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "287", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "288", "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } + "annotation" : [ ] + } + }, + "low" : { + "type" : "Literal", + "localId" : "284", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "high" : { + "type" : "Literal", + "localId" : "285", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "5", + "annotation" : [ ] + } + } ] + }, + "asTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "291", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "293", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "294", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } }, - "expression" : { - "localId" : "283", - "strict" : false, - "type" : "As", - "resultTypeSpecifier" : { - "localId" : "295", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "296", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "signature" : [ ], - "operand" : { - "localId" : "289", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "name" : "Echo", - "type" : "FunctionRef", - "signature" : [ { - "localId" : "290", - "name" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "286", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "287", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "288", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "284", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "high" : { - "localId" : "285", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal" - } - } ] - }, - "asTypeSpecifier" : { - "localId" : "291", - "type" : "ListTypeSpecifier", - "resultTypeSpecifier" : { - "localId" : "293", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "294", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "elementType" : { - "localId" : "292", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "292", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] } - }, { - "localId" : "301", - "name" : "TupleAsListOfIntegers", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "301", - "s" : [ { - "value" : [ "","define ","TupleAsListOfIntegers",": " ] - }, { - "r" : "302", - "s" : [ { - "r" : "308", - "s" : [ { - "value" : [ "Echo","(" ] - }, { - "r" : "303", - "s" : [ { - "value" : [ "Tuple{" ] - }, { - "s" : [ { - "r" : "304", - "value" : [ "A",": ","5" ] - } ] - }, { - "value" : [ "}" ] - } ] - }, { - "value" : [ ")" ] - } ] - }, { - "value" : [ " as " ] - }, { - "r" : "310", - "s" : [ { - "value" : [ "List<" ] - }, { - "r" : "311", - "s" : [ { - "value" : [ "Integer" ] - } ] - }, { - "value" : [ ">" ] - } ] - } ] - } ] - } + } + } + }, { + "localId" : "301", + "name" : "TupleAsListOfIntegers", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "301", + "s" : [ { + "value" : [ "", "define ", "TupleAsListOfIntegers", ": " ] + }, { + "r" : "302", + "s" : [ { + "r" : "308", + "s" : [ { + "value" : [ "Echo", "(" ] + }, { + "r" : "303", + "s" : [ { + "value" : [ "Tuple{" ] + }, { + "s" : [ { + "r" : "304", + "value" : [ "A", ": ", "5" ] + } ] + }, { + "value" : [ "}" ] + } ] + }, { + "value" : [ ")" ] + } ] + }, { + "value" : [ " as " ] + }, { + "r" : "310", + "s" : [ { + "value" : [ "List<" ] + }, { + "r" : "311", + "s" : [ { + "value" : [ "Integer" ] + } ] + }, { + "value" : [ ">" ] + } ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "316", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "317", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "expression" : { + "type" : "As", + "localId" : "302", + "strict" : false, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "314", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "315", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "signature" : [ ], + "operand" : { + "type" : "FunctionRef", + "localId" : "308", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "name" : "Echo", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "309", + "name" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] } ], - "resultTypeSpecifier" : { - "localId" : "316", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "317", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "expression" : { - "localId" : "302", - "strict" : false, - "type" : "As", - "resultTypeSpecifier" : { - "localId" : "314", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "315", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "signature" : [ ], - "operand" : { - "localId" : "308", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "name" : "Echo", - "type" : "FunctionRef", - "signature" : [ { - "localId" : "309", - "name" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "303", - "type" : "Tuple", - "resultTypeSpecifier" : { - "localId" : "305", - "type" : "TupleTypeSpecifier", - "element" : [ { - "localId" : "306", - "name" : "A", - "elementType" : { - "localId" : "307", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } ] - }, - "element" : [ { - "name" : "A", - "value" : { - "localId" : "304", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal" - } - } ] - } ] - }, - "asTypeSpecifier" : { - "localId" : "310", - "type" : "ListTypeSpecifier", - "resultTypeSpecifier" : { - "localId" : "312", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "313", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, + "operand" : [ { + "type" : "Tuple", + "localId" : "303", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "TupleTypeSpecifier", + "localId" : "305", + "annotation" : [ ], + "element" : [ { + "localId" : "306", + "name" : "A", + "annotation" : [ ], "elementType" : { - "localId" : "311", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" + "type" : "NamedTypeSpecifier", + "localId" : "307", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] } - } - } - }, { - "localId" : "320", - "name" : "CastListOfIntegersAsListOfIntegers", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "320", - "s" : [ { - "value" : [ "","define ","CastListOfIntegersAsListOfIntegers",": " ] - }, { - "r" : "321", - "s" : [ { - "value" : [ "cast " ] - }, { - "r" : "330", - "s" : [ { - "value" : [ "Echo","(" ] - }, { - "r" : "322", - "s" : [ { - "r" : "323", - "value" : [ "{","1",", ","2",", ","3",", ","4",", ","5","}" ] - } ] - }, { - "value" : [ ")" ] - } ] - }, { - "value" : [ " as " ] - }, { - "r" : "332", - "s" : [ { - "value" : [ "List<" ] - }, { - "r" : "333", - "s" : [ { - "value" : [ "Integer" ] - } ] - }, { - "value" : [ ">" ] - } ] - } ] - } ] - } - } ], + } ] + }, + "element" : [ { + "name" : "A", + "value" : { + "type" : "Literal", + "localId" : "304", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "5", + "annotation" : [ ] + } + } ] + } ] + }, + "asTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "310", + "annotation" : [ ], "resultTypeSpecifier" : { - "localId" : "338", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "339", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } + "type" : "ListTypeSpecifier", + "localId" : "312", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "313", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } }, - "expression" : { - "localId" : "321", - "strict" : true, - "type" : "As", - "resultTypeSpecifier" : { - "localId" : "336", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "337", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "signature" : [ ], - "operand" : { - "localId" : "330", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "name" : "Echo", - "type" : "FunctionRef", - "signature" : [ { - "localId" : "331", - "name" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "322", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "328", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "329", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "element" : [ { - "localId" : "323", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, { - "localId" : "324", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal" - }, { - "localId" : "325", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, { - "localId" : "326", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "4", - "type" : "Literal" - }, { - "localId" : "327", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal" - } ] - } ] - }, - "asTypeSpecifier" : { - "localId" : "332", - "type" : "ListTypeSpecifier", - "resultTypeSpecifier" : { - "localId" : "334", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "335", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "elementType" : { - "localId" : "333", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "311", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] } - }, { - "localId" : "342", - "name" : "CastListOfStringsAsListOfIntegers", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "342", + } + } + }, { + "localId" : "320", + "name" : "CastListOfIntegersAsListOfIntegers", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "320", + "s" : [ { + "value" : [ "", "define ", "CastListOfIntegersAsListOfIntegers", ": " ] + }, { + "r" : "321", + "s" : [ { + "value" : [ "cast " ] + }, { + "r" : "330", + "s" : [ { + "value" : [ "Echo", "(" ] + }, { + "r" : "322", "s" : [ { - "value" : [ "","define ","CastListOfStringsAsListOfIntegers",": " ] - }, { - "r" : "343", - "s" : [ { - "value" : [ "cast " ] - }, { - "r" : "355", - "s" : [ { - "value" : [ "Echo","(" ] - }, { - "r" : "344", - "s" : [ { - "value" : [ "{" ] - }, { - "r" : "345", - "s" : [ { - "value" : [ "'a'" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "347", - "s" : [ { - "value" : [ "'b'" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "349", - "s" : [ { - "value" : [ "'c'" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "351", - "s" : [ { - "value" : [ "'d'" ] - } ] - }, { - "value" : [ "}" ] - } ] - }, { - "value" : [ ")" ] - } ] - }, { - "value" : [ " as " ] - }, { - "r" : "357", - "s" : [ { - "value" : [ "List<" ] - }, { - "r" : "358", - "s" : [ { - "value" : [ "Integer" ] - } ] - }, { - "value" : [ ">" ] - } ] - } ] - } ] - } + "r" : "323", + "value" : [ "{", "1", ", ", "2", ", ", "3", ", ", "4", ", ", "5", "}" ] + } ] + }, { + "value" : [ ")" ] + } ] + }, { + "value" : [ " as " ] + }, { + "r" : "332", + "s" : [ { + "value" : [ "List<" ] + }, { + "r" : "333", + "s" : [ { + "value" : [ "Integer" ] + } ] + }, { + "value" : [ ">" ] + } ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "338", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "339", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "expression" : { + "type" : "As", + "localId" : "321", + "strict" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "336", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "337", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "signature" : [ ], + "operand" : { + "type" : "FunctionRef", + "localId" : "330", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "name" : "Echo", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "331", + "name" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] } ], - "resultTypeSpecifier" : { - "localId" : "363", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "364", + "operand" : [ { + "type" : "List", + "localId" : "322", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "328", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "329", "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } + "annotation" : [ ] + } + }, + "element" : [ { + "type" : "Literal", + "localId" : "323", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "324", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "325", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "326", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "4", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "327", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "5", + "annotation" : [ ] + } ] + } ] + }, + "asTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "332", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "334", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "335", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } }, - "expression" : { - "localId" : "343", - "strict" : true, - "type" : "As", - "resultTypeSpecifier" : { - "localId" : "361", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "362", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "signature" : [ ], - "operand" : { - "localId" : "355", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "name" : "Echo", - "type" : "FunctionRef", - "signature" : [ { - "localId" : "356", - "name" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "344", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "353", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "354", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } - }, - "element" : [ { - "localId" : "345", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "a", - "type" : "Literal" - }, { - "localId" : "347", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "b", - "type" : "Literal" - }, { - "localId" : "349", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "c", - "type" : "Literal" - }, { - "localId" : "351", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "d", - "type" : "Literal" - } ] - } ] - }, - "asTypeSpecifier" : { - "localId" : "357", - "type" : "ListTypeSpecifier", - "resultTypeSpecifier" : { - "localId" : "359", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "360", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "elementType" : { - "localId" : "358", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "333", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] } - }, { - "localId" : "367", - "name" : "CastIntegerAsListOfIntegers", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "367", - "s" : [ { - "value" : [ "","define ","CastIntegerAsListOfIntegers",": " ] - }, { - "r" : "368", - "s" : [ { - "value" : [ "cast " ] - }, { - "r" : "370", - "s" : [ { - "r" : "369", - "value" : [ "Echo","(","5",")" ] - } ] - }, { - "value" : [ " as " ] - }, { - "r" : "372", - "s" : [ { - "value" : [ "List<" ] - }, { - "r" : "373", - "s" : [ { - "value" : [ "Integer" ] - } ] - }, { - "value" : [ ">" ] - } ] - } ] - } ] - } + } + } + }, { + "localId" : "342", + "name" : "CastListOfStringsAsListOfIntegers", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "342", + "s" : [ { + "value" : [ "", "define ", "CastListOfStringsAsListOfIntegers", ": " ] + }, { + "r" : "343", + "s" : [ { + "value" : [ "cast " ] + }, { + "r" : "355", + "s" : [ { + "value" : [ "Echo", "(" ] + }, { + "r" : "344", + "s" : [ { + "value" : [ "{" ] + }, { + "r" : "345", + "s" : [ { + "value" : [ "'a'" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "347", + "s" : [ { + "value" : [ "'b'" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "349", + "s" : [ { + "value" : [ "'c'" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "351", + "s" : [ { + "value" : [ "'d'" ] + } ] + }, { + "value" : [ "}" ] + } ] + }, { + "value" : [ ")" ] + } ] + }, { + "value" : [ " as " ] + }, { + "r" : "357", + "s" : [ { + "value" : [ "List<" ] + }, { + "r" : "358", + "s" : [ { + "value" : [ "Integer" ] + } ] + }, { + "value" : [ ">" ] + } ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "363", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "364", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "expression" : { + "type" : "As", + "localId" : "343", + "strict" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "361", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "362", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "signature" : [ ], + "operand" : { + "type" : "FunctionRef", + "localId" : "355", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "name" : "Echo", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "356", + "name" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] } ], + "operand" : [ { + "type" : "List", + "localId" : "344", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "353", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "354", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } + }, + "element" : [ { + "type" : "Literal", + "localId" : "345", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "a", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "347", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "b", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "349", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "c", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "351", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "d", + "annotation" : [ ] + } ] + } ] + }, + "asTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "357", + "annotation" : [ ], "resultTypeSpecifier" : { - "localId" : "378", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "379", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } + "type" : "ListTypeSpecifier", + "localId" : "359", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "360", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } }, - "expression" : { - "localId" : "368", - "strict" : true, - "type" : "As", - "resultTypeSpecifier" : { - "localId" : "376", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "377", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "signature" : [ ], - "operand" : { - "localId" : "370", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "name" : "Echo", - "type" : "FunctionRef", - "signature" : [ { - "localId" : "371", - "name" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "369", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal" - } ] - }, - "asTypeSpecifier" : { - "localId" : "372", - "type" : "ListTypeSpecifier", - "resultTypeSpecifier" : { - "localId" : "374", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "375", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "elementType" : { - "localId" : "373", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "358", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] } - }, { - "localId" : "382", - "name" : "CastIntervalAsListOfIntegers", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "382", - "s" : [ { - "value" : [ "","define ","CastIntervalAsListOfIntegers",": " ] - }, { - "r" : "383", - "s" : [ { - "value" : [ "cast " ] - }, { - "r" : "389", - "s" : [ { - "value" : [ "Echo","(" ] - }, { - "r" : "386", - "s" : [ { - "r" : "384", - "value" : [ "Interval[","1",", ","5","]" ] - } ] - }, { - "value" : [ ")" ] - } ] - }, { - "value" : [ " as " ] - }, { - "r" : "391", - "s" : [ { - "value" : [ "List<" ] - }, { - "r" : "392", - "s" : [ { - "value" : [ "Integer" ] - } ] - }, { - "value" : [ ">" ] - } ] - } ] - } ] - } + } + } + }, { + "localId" : "367", + "name" : "CastIntegerAsListOfIntegers", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "367", + "s" : [ { + "value" : [ "", "define ", "CastIntegerAsListOfIntegers", ": " ] + }, { + "r" : "368", + "s" : [ { + "value" : [ "cast " ] + }, { + "r" : "370", + "s" : [ { + "r" : "369", + "value" : [ "Echo", "(", "5", ")" ] + } ] + }, { + "value" : [ " as " ] + }, { + "r" : "372", + "s" : [ { + "value" : [ "List<" ] + }, { + "r" : "373", + "s" : [ { + "value" : [ "Integer" ] + } ] + }, { + "value" : [ ">" ] + } ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "378", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "379", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "expression" : { + "type" : "As", + "localId" : "368", + "strict" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "376", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "377", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "signature" : [ ], + "operand" : { + "type" : "FunctionRef", + "localId" : "370", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "name" : "Echo", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "371", + "name" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] } ], + "operand" : [ { + "type" : "Literal", + "localId" : "369", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "5", + "annotation" : [ ] + } ] + }, + "asTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "372", + "annotation" : [ ], "resultTypeSpecifier" : { - "localId" : "397", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "398", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } + "type" : "ListTypeSpecifier", + "localId" : "374", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "375", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } }, - "expression" : { - "localId" : "383", - "strict" : true, - "type" : "As", - "resultTypeSpecifier" : { - "localId" : "395", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "396", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "signature" : [ ], - "operand" : { - "localId" : "389", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "name" : "Echo", - "type" : "FunctionRef", - "signature" : [ { - "localId" : "390", - "name" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "386", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "387", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "388", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "384", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "high" : { - "localId" : "385", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal" - } - } ] - }, - "asTypeSpecifier" : { - "localId" : "391", - "type" : "ListTypeSpecifier", - "resultTypeSpecifier" : { - "localId" : "393", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "394", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "elementType" : { - "localId" : "392", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "373", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] } - }, { - "localId" : "401", - "name" : "CastTupleAsListOfIntegers", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "401", - "s" : [ { - "value" : [ "","define ","CastTupleAsListOfIntegers",": " ] - }, { - "r" : "402", - "s" : [ { - "value" : [ "cast " ] - }, { - "r" : "408", - "s" : [ { - "value" : [ "Echo","(" ] - }, { - "r" : "403", - "s" : [ { - "value" : [ "Tuple{" ] - }, { - "s" : [ { - "r" : "404", - "value" : [ "A",": ","5" ] - } ] - }, { - "value" : [ "}" ] - } ] - }, { - "value" : [ ")" ] - } ] - }, { - "value" : [ " as " ] - }, { - "r" : "410", - "s" : [ { - "value" : [ "List<" ] - }, { - "r" : "411", - "s" : [ { - "value" : [ "Integer" ] - } ] - }, { - "value" : [ ">" ] - } ] - } ] - } ] - } + } + } + }, { + "localId" : "382", + "name" : "CastIntervalAsListOfIntegers", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "382", + "s" : [ { + "value" : [ "", "define ", "CastIntervalAsListOfIntegers", ": " ] + }, { + "r" : "383", + "s" : [ { + "value" : [ "cast " ] + }, { + "r" : "389", + "s" : [ { + "value" : [ "Echo", "(" ] + }, { + "r" : "386", + "s" : [ { + "r" : "384", + "value" : [ "Interval[", "1", ", ", "5", "]" ] + } ] + }, { + "value" : [ ")" ] + } ] + }, { + "value" : [ " as " ] + }, { + "r" : "391", + "s" : [ { + "value" : [ "List<" ] + }, { + "r" : "392", + "s" : [ { + "value" : [ "Integer" ] + } ] + }, { + "value" : [ ">" ] + } ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "397", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "398", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "expression" : { + "type" : "As", + "localId" : "383", + "strict" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "395", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "396", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "signature" : [ ], + "operand" : { + "type" : "FunctionRef", + "localId" : "389", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "name" : "Echo", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "390", + "name" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] } ], - "resultTypeSpecifier" : { - "localId" : "416", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "417", + "operand" : [ { + "type" : "Interval", + "localId" : "386", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "387", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "388", "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } + "annotation" : [ ] + } + }, + "low" : { + "type" : "Literal", + "localId" : "384", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "high" : { + "type" : "Literal", + "localId" : "385", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "5", + "annotation" : [ ] + } + } ] + }, + "asTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "391", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "393", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "394", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } }, - "expression" : { - "localId" : "402", - "strict" : true, - "type" : "As", - "resultTypeSpecifier" : { - "localId" : "414", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "415", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "signature" : [ ], - "operand" : { - "localId" : "408", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "name" : "Echo", - "type" : "FunctionRef", - "signature" : [ { - "localId" : "409", - "name" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "403", - "type" : "Tuple", - "resultTypeSpecifier" : { - "localId" : "405", - "type" : "TupleTypeSpecifier", - "element" : [ { - "localId" : "406", - "name" : "A", - "elementType" : { - "localId" : "407", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } ] - }, - "element" : [ { - "name" : "A", - "value" : { - "localId" : "404", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal" - } - } ] - } ] - }, - "asTypeSpecifier" : { - "localId" : "410", - "type" : "ListTypeSpecifier", - "resultTypeSpecifier" : { - "localId" : "412", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "413", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "392", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } + } + }, { + "localId" : "401", + "name" : "CastTupleAsListOfIntegers", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "401", + "s" : [ { + "value" : [ "", "define ", "CastTupleAsListOfIntegers", ": " ] + }, { + "r" : "402", + "s" : [ { + "value" : [ "cast " ] + }, { + "r" : "408", + "s" : [ { + "value" : [ "Echo", "(" ] + }, { + "r" : "403", + "s" : [ { + "value" : [ "Tuple{" ] + }, { + "s" : [ { + "r" : "404", + "value" : [ "A", ": ", "5" ] + } ] + }, { + "value" : [ "}" ] + } ] + }, { + "value" : [ ")" ] + } ] + }, { + "value" : [ " as " ] + }, { + "r" : "410", + "s" : [ { + "value" : [ "List<" ] + }, { + "r" : "411", + "s" : [ { + "value" : [ "Integer" ] + } ] + }, { + "value" : [ ">" ] + } ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "416", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "417", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "expression" : { + "type" : "As", + "localId" : "402", + "strict" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "414", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "415", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "signature" : [ ], + "operand" : { + "type" : "FunctionRef", + "localId" : "408", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "name" : "Echo", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "409", + "name" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "Tuple", + "localId" : "403", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "TupleTypeSpecifier", + "localId" : "405", + "annotation" : [ ], + "element" : [ { + "localId" : "406", + "name" : "A", + "annotation" : [ ], "elementType" : { - "localId" : "411", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" + "type" : "NamedTypeSpecifier", + "localId" : "407", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] } - } + } ] + }, + "element" : [ { + "name" : "A", + "value" : { + "type" : "Literal", + "localId" : "404", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "5", + "annotation" : [ ] + } + } ] + } ] + }, + "asTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "410", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "412", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "413", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "411", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] } - } ] - } - } + } + } + } ] + } + } } /* AsIntervalType @@ -4818,1455 +5338,1646 @@ define CastTupleAsIntervalOfIntegers: cast Echo(Tuple{A: 5}) as Interval" ] + } ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "235", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "236", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "expression" : { + "type" : "As", + "localId" : "221", + "strict" : false, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "233", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "234", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] } - }, { - "localId" : "212", + }, + "signature" : [ ], + "operand" : { + "type" : "FunctionRef", + "localId" : "227", "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", "name" : "Echo", - "context" : "Patient", - "accessLevel" : "Public", - "type" : "FunctionDef", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "212", - "s" : [ { - "value" : [ "","define function Echo(Val Any): " ] - }, { - "r" : "217", - "s" : [ { - "r" : "217", - "s" : [ { - "value" : [ "Val" ] - } ] - } ] - } ] - } + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "228", + "name" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] } ], - "expression" : { - "localId" : "217", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "name" : "Val", - "type" : "OperandRef" - }, "operand" : [ { - "localId" : "214", - "name" : "Val", - "operandTypeSpecifier" : { - "localId" : "213", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "name" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "NamedTypeSpecifier" - } - } ] - }, { - "localId" : "220", - "name" : "IntervalOfIntegersAsIntervalOfIntegers", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "220", - "s" : [ { - "value" : [ "// fool CQL-to-ELM into letting the casts compile\n","define ","IntervalOfIntegersAsIntervalOfIntegers",": " ] - }, { - "r" : "221", - "s" : [ { - "r" : "227", - "s" : [ { - "value" : [ "Echo","(" ] - }, { - "r" : "224", - "s" : [ { - "r" : "222", - "value" : [ "Interval[","1",", ","5","]" ] - } ] - }, { - "value" : [ ")" ] - } ] - }, { - "value" : [ " as " ] - }, { - "r" : "229", - "s" : [ { - "value" : [ "Interval<" ] - }, { - "r" : "230", - "s" : [ { - "value" : [ "Integer" ] - } ] - }, { - "value" : [ ">" ] - } ] - } ] - } ] - } - } ], - "resultTypeSpecifier" : { - "localId" : "235", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "236", + "type" : "Interval", + "localId" : "224", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "225", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "226", "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "expression" : { - "localId" : "221", - "strict" : false, - "type" : "As", - "resultTypeSpecifier" : { - "localId" : "233", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "234", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "signature" : [ ], - "operand" : { - "localId" : "227", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "name" : "Echo", - "type" : "FunctionRef", - "signature" : [ { - "localId" : "228", - "name" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "224", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "225", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "226", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "222", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "high" : { - "localId" : "223", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal" - } - } ] - }, - "asTypeSpecifier" : { - "localId" : "229", - "type" : "IntervalTypeSpecifier", - "resultTypeSpecifier" : { - "localId" : "231", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "232", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "pointType" : { - "localId" : "230", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } - } - }, { - "localId" : "239", - "name" : "IntervalOfDatesAsIntervalOfIntegers", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "239", - "s" : [ { - "value" : [ "","define ","IntervalOfDatesAsIntervalOfIntegers",": " ] - }, { - "r" : "240", - "s" : [ { - "r" : "254", - "s" : [ { - "value" : [ "Echo","(" ] - }, { - "r" : "251", - "s" : [ { - "r" : "245", - "value" : [ "Interval[","@2000-01-01",", ","@2000-12-31","]" ] - } ] - }, { - "value" : [ ")" ] - } ] - }, { - "value" : [ " as " ] - }, { - "r" : "256", - "s" : [ { - "value" : [ "Interval<" ] - }, { - "r" : "257", - "s" : [ { - "value" : [ "Integer" ] - } ] - }, { - "value" : [ ">" ] - } ] - } ] - } ] - } - } ], + "annotation" : [ ] + } + }, + "low" : { + "type" : "Literal", + "localId" : "222", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "high" : { + "type" : "Literal", + "localId" : "223", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "5", + "annotation" : [ ] + } + } ] + }, + "asTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "229", + "annotation" : [ ], "resultTypeSpecifier" : { - "localId" : "262", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "263", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } + "type" : "IntervalTypeSpecifier", + "localId" : "231", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "232", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } }, - "expression" : { - "localId" : "240", - "strict" : false, - "type" : "As", - "resultTypeSpecifier" : { - "localId" : "260", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "261", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "signature" : [ ], - "operand" : { - "localId" : "254", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "name" : "Echo", - "type" : "FunctionRef", - "signature" : [ { - "localId" : "255", - "name" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "251", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "252", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "253", - "name" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "245", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "Date", - "signature" : [ ], - "year" : { - "localId" : "242", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "243", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "244", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - } - }, - "high" : { - "localId" : "250", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "Date", - "signature" : [ ], - "year" : { - "localId" : "247", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "248", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "12", - "type" : "Literal" - }, - "day" : { - "localId" : "249", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "31", - "type" : "Literal" - } - } - } ] - }, - "asTypeSpecifier" : { - "localId" : "256", - "type" : "IntervalTypeSpecifier", - "resultTypeSpecifier" : { - "localId" : "258", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "259", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "pointType" : { - "localId" : "257", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "230", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] } - }, { - "localId" : "266", - "name" : "IntegerAsIntervalOfIntegers", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "266", - "s" : [ { - "value" : [ "","define ","IntegerAsIntervalOfIntegers",": " ] - }, { - "r" : "267", - "s" : [ { - "r" : "269", - "s" : [ { - "r" : "268", - "value" : [ "Echo","(","5",")" ] - } ] - }, { - "value" : [ " as " ] - }, { - "r" : "271", - "s" : [ { - "value" : [ "Interval<" ] - }, { - "r" : "272", - "s" : [ { - "value" : [ "Integer" ] - } ] - }, { - "value" : [ ">" ] - } ] - } ] - } ] - } - } ], - "resultTypeSpecifier" : { - "localId" : "277", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "278", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "expression" : { - "localId" : "267", - "strict" : false, - "type" : "As", - "resultTypeSpecifier" : { - "localId" : "275", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "276", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "signature" : [ ], - "operand" : { - "localId" : "269", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "name" : "Echo", - "type" : "FunctionRef", - "signature" : [ { - "localId" : "270", - "name" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "268", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal" - } ] - }, - "asTypeSpecifier" : { - "localId" : "271", - "type" : "IntervalTypeSpecifier", - "resultTypeSpecifier" : { - "localId" : "273", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "274", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "pointType" : { - "localId" : "272", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } + } + } + }, { + "localId" : "239", + "name" : "IntervalOfDatesAsIntervalOfIntegers", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "239", + "s" : [ { + "value" : [ "", "define ", "IntervalOfDatesAsIntervalOfIntegers", ": " ] + }, { + "r" : "240", + "s" : [ { + "r" : "254", + "s" : [ { + "value" : [ "Echo", "(" ] + }, { + "r" : "251", + "s" : [ { + "r" : "245", + "value" : [ "Interval[", "@2000-01-01", ", ", "@2000-12-31", "]" ] + } ] + }, { + "value" : [ ")" ] + } ] + }, { + "value" : [ " as " ] + }, { + "r" : "256", + "s" : [ { + "value" : [ "Interval<" ] + }, { + "r" : "257", + "s" : [ { + "value" : [ "Integer" ] + } ] + }, { + "value" : [ ">" ] + } ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "262", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "263", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "expression" : { + "type" : "As", + "localId" : "240", + "strict" : false, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "260", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "261", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] } - }, { - "localId" : "281", - "name" : "ListAsIntervalOfIntegers", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "281", - "s" : [ { - "value" : [ "","define ","ListAsIntervalOfIntegers",": " ] - }, { - "r" : "282", - "s" : [ { - "r" : "291", - "s" : [ { - "value" : [ "Echo","(" ] - }, { - "r" : "283", - "s" : [ { - "r" : "284", - "value" : [ "{","1",", ","2",", ","3",", ","4",", ","5","}" ] - } ] - }, { - "value" : [ ")" ] - } ] - }, { - "value" : [ " as " ] - }, { - "r" : "293", - "s" : [ { - "value" : [ "Interval<" ] - }, { - "r" : "294", - "s" : [ { - "value" : [ "Integer" ] - } ] - }, { - "value" : [ ">" ] - } ] - } ] - } ] - } + }, + "signature" : [ ], + "operand" : { + "type" : "FunctionRef", + "localId" : "254", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "name" : "Echo", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "255", + "name" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] } ], + "operand" : [ { + "type" : "Interval", + "localId" : "251", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "252", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "253", + "name" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ] + } + }, + "low" : { + "type" : "Date", + "localId" : "245", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ], + "signature" : [ ], + "year" : { + "type" : "Literal", + "localId" : "242", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "243", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "244", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + } + }, + "high" : { + "type" : "Date", + "localId" : "250", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ], + "signature" : [ ], + "year" : { + "type" : "Literal", + "localId" : "247", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "248", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "12", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "249", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "31", + "annotation" : [ ] + } + } + } ] + }, + "asTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "256", + "annotation" : [ ], "resultTypeSpecifier" : { - "localId" : "299", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "300", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } + "type" : "IntervalTypeSpecifier", + "localId" : "258", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "259", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } }, - "expression" : { - "localId" : "282", - "strict" : false, - "type" : "As", - "resultTypeSpecifier" : { - "localId" : "297", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "298", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "signature" : [ ], - "operand" : { - "localId" : "291", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "name" : "Echo", - "type" : "FunctionRef", - "signature" : [ { - "localId" : "292", - "name" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "283", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "289", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "290", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "element" : [ { - "localId" : "284", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, { - "localId" : "285", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal" - }, { - "localId" : "286", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, { - "localId" : "287", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "4", - "type" : "Literal" - }, { - "localId" : "288", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal" - } ] - } ] - }, - "asTypeSpecifier" : { - "localId" : "293", - "type" : "IntervalTypeSpecifier", - "resultTypeSpecifier" : { - "localId" : "295", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "296", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "pointType" : { - "localId" : "294", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "257", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] } - }, { - "localId" : "303", - "name" : "TupleAsIntervalOfIntegers", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "303", + } + } + }, { + "localId" : "266", + "name" : "IntegerAsIntervalOfIntegers", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "266", + "s" : [ { + "value" : [ "", "define ", "IntegerAsIntervalOfIntegers", ": " ] + }, { + "r" : "267", + "s" : [ { + "r" : "269", + "s" : [ { + "r" : "268", + "value" : [ "Echo", "(", "5", ")" ] + } ] + }, { + "value" : [ " as " ] + }, { + "r" : "271", + "s" : [ { + "value" : [ "Interval<" ] + }, { + "r" : "272", "s" : [ { - "value" : [ "","define ","TupleAsIntervalOfIntegers",": " ] - }, { - "r" : "304", - "s" : [ { - "r" : "310", - "s" : [ { - "value" : [ "Echo","(" ] - }, { - "r" : "305", - "s" : [ { - "value" : [ "Tuple{" ] - }, { - "s" : [ { - "r" : "306", - "value" : [ "A",": ","5" ] - } ] - }, { - "value" : [ "}" ] - } ] - }, { - "value" : [ ")" ] - } ] - }, { - "value" : [ " as " ] - }, { - "r" : "312", - "s" : [ { - "value" : [ "Interval<" ] - }, { - "r" : "313", - "s" : [ { - "value" : [ "Integer" ] - } ] - }, { - "value" : [ ">" ] - } ] - } ] - } ] - } + "value" : [ "Integer" ] + } ] + }, { + "value" : [ ">" ] + } ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "277", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "278", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "expression" : { + "type" : "As", + "localId" : "267", + "strict" : false, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "275", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "276", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "signature" : [ ], + "operand" : { + "type" : "FunctionRef", + "localId" : "269", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "name" : "Echo", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "270", + "name" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] } ], + "operand" : [ { + "type" : "Literal", + "localId" : "268", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "5", + "annotation" : [ ] + } ] + }, + "asTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "271", + "annotation" : [ ], "resultTypeSpecifier" : { - "localId" : "318", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "319", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } + "type" : "IntervalTypeSpecifier", + "localId" : "273", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "274", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } }, - "expression" : { - "localId" : "304", - "strict" : false, - "type" : "As", - "resultTypeSpecifier" : { - "localId" : "316", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "317", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "signature" : [ ], - "operand" : { - "localId" : "310", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "name" : "Echo", - "type" : "FunctionRef", - "signature" : [ { - "localId" : "311", - "name" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "305", - "type" : "Tuple", - "resultTypeSpecifier" : { - "localId" : "307", - "type" : "TupleTypeSpecifier", - "element" : [ { - "localId" : "308", - "name" : "A", - "elementType" : { - "localId" : "309", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } ] - }, - "element" : [ { - "name" : "A", - "value" : { - "localId" : "306", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal" - } - } ] - } ] - }, - "asTypeSpecifier" : { - "localId" : "312", - "type" : "IntervalTypeSpecifier", - "resultTypeSpecifier" : { - "localId" : "314", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "315", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "pointType" : { - "localId" : "313", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "272", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] } - }, { - "localId" : "322", - "name" : "CastIntervalOfIntegersAsIntervalOfIntegers", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "322", + } + } + }, { + "localId" : "281", + "name" : "ListAsIntervalOfIntegers", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "281", + "s" : [ { + "value" : [ "", "define ", "ListAsIntervalOfIntegers", ": " ] + }, { + "r" : "282", + "s" : [ { + "r" : "291", + "s" : [ { + "value" : [ "Echo", "(" ] + }, { + "r" : "283", "s" : [ { - "value" : [ "","define ","CastIntervalOfIntegersAsIntervalOfIntegers",": " ] - }, { - "r" : "323", - "s" : [ { - "value" : [ "cast " ] - }, { - "r" : "329", - "s" : [ { - "value" : [ "Echo","(" ] - }, { - "r" : "326", - "s" : [ { - "r" : "324", - "value" : [ "Interval[","1",", ","5","]" ] - } ] - }, { - "value" : [ ")" ] - } ] - }, { - "value" : [ " as " ] - }, { - "r" : "331", - "s" : [ { - "value" : [ "Interval<" ] - }, { - "r" : "332", - "s" : [ { - "value" : [ "Integer" ] - } ] - }, { - "value" : [ ">" ] - } ] - } ] - } ] - } + "r" : "284", + "value" : [ "{", "1", ", ", "2", ", ", "3", ", ", "4", ", ", "5", "}" ] + } ] + }, { + "value" : [ ")" ] + } ] + }, { + "value" : [ " as " ] + }, { + "r" : "293", + "s" : [ { + "value" : [ "Interval<" ] + }, { + "r" : "294", + "s" : [ { + "value" : [ "Integer" ] + } ] + }, { + "value" : [ ">" ] + } ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "299", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "300", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "expression" : { + "type" : "As", + "localId" : "282", + "strict" : false, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "297", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "298", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "signature" : [ ], + "operand" : { + "type" : "FunctionRef", + "localId" : "291", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "name" : "Echo", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "292", + "name" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] } ], - "resultTypeSpecifier" : { - "localId" : "337", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "338", + "operand" : [ { + "type" : "List", + "localId" : "283", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "289", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "290", "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } + "annotation" : [ ] + } + }, + "element" : [ { + "type" : "Literal", + "localId" : "284", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "285", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "286", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "287", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "4", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "288", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "5", + "annotation" : [ ] + } ] + } ] + }, + "asTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "293", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "295", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "296", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } }, - "expression" : { - "localId" : "323", - "strict" : true, - "type" : "As", - "resultTypeSpecifier" : { - "localId" : "335", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "336", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "signature" : [ ], - "operand" : { - "localId" : "329", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "name" : "Echo", - "type" : "FunctionRef", - "signature" : [ { - "localId" : "330", - "name" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "326", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "327", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "328", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "324", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "high" : { - "localId" : "325", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal" - } - } ] - }, - "asTypeSpecifier" : { - "localId" : "331", - "type" : "IntervalTypeSpecifier", - "resultTypeSpecifier" : { - "localId" : "333", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "334", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "pointType" : { - "localId" : "332", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "294", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] } - }, { - "localId" : "341", - "name" : "CastIntervalOfDatesAsIntervalOfIntegers", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "341", + } + } + }, { + "localId" : "303", + "name" : "TupleAsIntervalOfIntegers", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "303", + "s" : [ { + "value" : [ "", "define ", "TupleAsIntervalOfIntegers", ": " ] + }, { + "r" : "304", + "s" : [ { + "r" : "310", + "s" : [ { + "value" : [ "Echo", "(" ] + }, { + "r" : "305", "s" : [ { - "value" : [ "","define ","CastIntervalOfDatesAsIntervalOfIntegers",": " ] - }, { - "r" : "342", - "s" : [ { - "value" : [ "cast " ] - }, { - "r" : "356", - "s" : [ { - "value" : [ "Echo","(" ] - }, { - "r" : "353", - "s" : [ { - "r" : "347", - "value" : [ "Interval[","@2000-01-01",", ","@2000-12-31","]" ] - } ] - }, { - "value" : [ ")" ] - } ] - }, { - "value" : [ " as " ] - }, { - "r" : "358", - "s" : [ { - "value" : [ "Interval<" ] - }, { - "r" : "359", - "s" : [ { - "value" : [ "Integer" ] - } ] - }, { - "value" : [ ">" ] - } ] - } ] - } ] - } + "value" : [ "Tuple{" ] + }, { + "s" : [ { + "r" : "306", + "value" : [ "A", ": ", "5" ] + } ] + }, { + "value" : [ "}" ] + } ] + }, { + "value" : [ ")" ] + } ] + }, { + "value" : [ " as " ] + }, { + "r" : "312", + "s" : [ { + "value" : [ "Interval<" ] + }, { + "r" : "313", + "s" : [ { + "value" : [ "Integer" ] + } ] + }, { + "value" : [ ">" ] + } ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "318", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "319", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "expression" : { + "type" : "As", + "localId" : "304", + "strict" : false, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "316", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "317", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "signature" : [ ], + "operand" : { + "type" : "FunctionRef", + "localId" : "310", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "name" : "Echo", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "311", + "name" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] } ], + "operand" : [ { + "type" : "Tuple", + "localId" : "305", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "TupleTypeSpecifier", + "localId" : "307", + "annotation" : [ ], + "element" : [ { + "localId" : "308", + "name" : "A", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "309", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } ] + }, + "element" : [ { + "name" : "A", + "value" : { + "type" : "Literal", + "localId" : "306", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "5", + "annotation" : [ ] + } + } ] + } ] + }, + "asTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "312", + "annotation" : [ ], "resultTypeSpecifier" : { - "localId" : "364", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "365", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } + "type" : "IntervalTypeSpecifier", + "localId" : "314", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "315", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } }, - "expression" : { - "localId" : "342", - "strict" : true, - "type" : "As", - "resultTypeSpecifier" : { - "localId" : "362", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "363", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "signature" : [ ], - "operand" : { - "localId" : "356", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "name" : "Echo", - "type" : "FunctionRef", - "signature" : [ { - "localId" : "357", - "name" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "353", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "354", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "355", - "name" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "347", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "Date", - "signature" : [ ], - "year" : { - "localId" : "344", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "345", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "day" : { - "localId" : "346", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - } - }, - "high" : { - "localId" : "352", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "Date", - "signature" : [ ], - "year" : { - "localId" : "349", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal" - }, - "month" : { - "localId" : "350", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "12", - "type" : "Literal" - }, - "day" : { - "localId" : "351", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "31", - "type" : "Literal" - } - } - } ] - }, - "asTypeSpecifier" : { - "localId" : "358", - "type" : "IntervalTypeSpecifier", - "resultTypeSpecifier" : { - "localId" : "360", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "361", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "pointType" : { - "localId" : "359", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "313", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] } - }, { - "localId" : "368", - "name" : "CastIntegerAsIntervalOfIntegers", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "368", + } + } + }, { + "localId" : "322", + "name" : "CastIntervalOfIntegersAsIntervalOfIntegers", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "322", + "s" : [ { + "value" : [ "", "define ", "CastIntervalOfIntegersAsIntervalOfIntegers", ": " ] + }, { + "r" : "323", + "s" : [ { + "value" : [ "cast " ] + }, { + "r" : "329", + "s" : [ { + "value" : [ "Echo", "(" ] + }, { + "r" : "326", "s" : [ { - "value" : [ "","define ","CastIntegerAsIntervalOfIntegers",": " ] - }, { - "r" : "369", - "s" : [ { - "value" : [ "cast " ] - }, { - "r" : "371", - "s" : [ { - "r" : "370", - "value" : [ "Echo","(","5",")" ] - } ] - }, { - "value" : [ " as " ] - }, { - "r" : "373", - "s" : [ { - "value" : [ "Interval<" ] - }, { - "r" : "374", - "s" : [ { - "value" : [ "Integer" ] - } ] - }, { - "value" : [ ">" ] - } ] - } ] - } ] - } - } ], - "resultTypeSpecifier" : { - "localId" : "379", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "380", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "expression" : { - "localId" : "369", - "strict" : true, - "type" : "As", - "resultTypeSpecifier" : { - "localId" : "377", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "378", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "signature" : [ ], - "operand" : { - "localId" : "371", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "name" : "Echo", - "type" : "FunctionRef", - "signature" : [ { - "localId" : "372", - "name" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "370", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal" - } ] - }, - "asTypeSpecifier" : { - "localId" : "373", - "type" : "IntervalTypeSpecifier", - "resultTypeSpecifier" : { - "localId" : "375", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "376", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "pointType" : { - "localId" : "374", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } + "r" : "324", + "value" : [ "Interval[", "1", ", ", "5", "]" ] + } ] + }, { + "value" : [ ")" ] + } ] + }, { + "value" : [ " as " ] + }, { + "r" : "331", + "s" : [ { + "value" : [ "Interval<" ] + }, { + "r" : "332", + "s" : [ { + "value" : [ "Integer" ] + } ] + }, { + "value" : [ ">" ] + } ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "337", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "338", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "expression" : { + "type" : "As", + "localId" : "323", + "strict" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "335", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "336", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] } - }, { - "localId" : "383", - "name" : "CastListAsIntervalOfIntegers", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "383", - "s" : [ { - "value" : [ "","define ","CastListAsIntervalOfIntegers",": " ] - }, { - "r" : "384", - "s" : [ { - "value" : [ "cast " ] - }, { - "r" : "393", - "s" : [ { - "value" : [ "Echo","(" ] - }, { - "r" : "385", - "s" : [ { - "r" : "386", - "value" : [ "{","1",", ","2",", ","3",", ","4",", ","5","}" ] - } ] - }, { - "value" : [ ")" ] - } ] - }, { - "value" : [ " as " ] - }, { - "r" : "395", - "s" : [ { - "value" : [ "Interval<" ] - }, { - "r" : "396", - "s" : [ { - "value" : [ "Integer" ] - } ] - }, { - "value" : [ ">" ] - } ] - } ] - } ] - } + }, + "signature" : [ ], + "operand" : { + "type" : "FunctionRef", + "localId" : "329", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "name" : "Echo", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "330", + "name" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] } ], - "resultTypeSpecifier" : { - "localId" : "401", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "402", + "operand" : [ { + "type" : "Interval", + "localId" : "326", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "327", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "328", "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } + "annotation" : [ ] + } + }, + "low" : { + "type" : "Literal", + "localId" : "324", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "high" : { + "type" : "Literal", + "localId" : "325", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "5", + "annotation" : [ ] + } + } ] + }, + "asTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "331", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "333", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "334", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } }, - "expression" : { - "localId" : "384", - "strict" : true, - "type" : "As", - "resultTypeSpecifier" : { - "localId" : "399", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "400", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "signature" : [ ], - "operand" : { - "localId" : "393", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "name" : "Echo", - "type" : "FunctionRef", - "signature" : [ { - "localId" : "394", - "name" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "385", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "391", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "392", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "element" : [ { - "localId" : "386", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, { - "localId" : "387", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal" - }, { - "localId" : "388", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal" - }, { - "localId" : "389", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "4", - "type" : "Literal" - }, { - "localId" : "390", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal" - } ] - } ] - }, - "asTypeSpecifier" : { - "localId" : "395", - "type" : "IntervalTypeSpecifier", - "resultTypeSpecifier" : { - "localId" : "397", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "398", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "pointType" : { - "localId" : "396", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "332", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] } - }, { - "localId" : "405", - "name" : "CastTupleAsIntervalOfIntegers", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "405", + } + } + }, { + "localId" : "341", + "name" : "CastIntervalOfDatesAsIntervalOfIntegers", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "341", + "s" : [ { + "value" : [ "", "define ", "CastIntervalOfDatesAsIntervalOfIntegers", ": " ] + }, { + "r" : "342", + "s" : [ { + "value" : [ "cast " ] + }, { + "r" : "356", + "s" : [ { + "value" : [ "Echo", "(" ] + }, { + "r" : "353", "s" : [ { - "value" : [ "","define ","CastTupleAsIntervalOfIntegers",": " ] - }, { - "r" : "406", - "s" : [ { - "value" : [ "cast " ] - }, { - "r" : "412", - "s" : [ { - "value" : [ "Echo","(" ] - }, { - "r" : "407", - "s" : [ { - "value" : [ "Tuple{" ] - }, { - "s" : [ { - "r" : "408", - "value" : [ "A",": ","5" ] - } ] - }, { - "value" : [ "}" ] - } ] - }, { - "value" : [ ")" ] - } ] - }, { - "value" : [ " as " ] - }, { - "r" : "414", - "s" : [ { - "value" : [ "Interval<" ] - }, { - "r" : "415", - "s" : [ { - "value" : [ "Integer" ] - } ] - }, { - "value" : [ ">" ] - } ] - } ] - } ] - } - } ], - "resultTypeSpecifier" : { - "localId" : "420", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "421", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "expression" : { - "localId" : "406", - "strict" : true, - "type" : "As", - "resultTypeSpecifier" : { - "localId" : "418", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "419", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "signature" : [ ], - "operand" : { - "localId" : "412", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "name" : "Echo", - "type" : "FunctionRef", - "signature" : [ { - "localId" : "413", - "name" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "407", - "type" : "Tuple", - "resultTypeSpecifier" : { - "localId" : "409", - "type" : "TupleTypeSpecifier", - "element" : [ { - "localId" : "410", - "name" : "A", - "elementType" : { - "localId" : "411", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } ] - }, - "element" : [ { - "name" : "A", - "value" : { - "localId" : "408", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal" - } - } ] - } ] - }, - "asTypeSpecifier" : { - "localId" : "414", - "type" : "IntervalTypeSpecifier", - "resultTypeSpecifier" : { - "localId" : "416", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "417", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "pointType" : { - "localId" : "415", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } + "r" : "347", + "value" : [ "Interval[", "@2000-01-01", ", ", "@2000-12-31", "]" ] + } ] + }, { + "value" : [ ")" ] + } ] + }, { + "value" : [ " as " ] + }, { + "r" : "358", + "s" : [ { + "value" : [ "Interval<" ] + }, { + "r" : "359", + "s" : [ { + "value" : [ "Integer" ] + } ] + }, { + "value" : [ ">" ] + } ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "364", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "365", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "expression" : { + "type" : "As", + "localId" : "342", + "strict" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "362", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "363", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] } - } ] - } - } -} - + }, + "signature" : [ ], + "operand" : { + "type" : "FunctionRef", + "localId" : "356", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "name" : "Echo", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "357", + "name" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "Interval", + "localId" : "353", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "354", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "355", + "name" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ] + } + }, + "low" : { + "type" : "Date", + "localId" : "347", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ], + "signature" : [ ], + "year" : { + "type" : "Literal", + "localId" : "344", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "345", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "346", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + } + }, + "high" : { + "type" : "Date", + "localId" : "352", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Date", + "annotation" : [ ], + "signature" : [ ], + "year" : { + "type" : "Literal", + "localId" : "349", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "annotation" : [ ] + }, + "month" : { + "type" : "Literal", + "localId" : "350", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "12", + "annotation" : [ ] + }, + "day" : { + "type" : "Literal", + "localId" : "351", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "31", + "annotation" : [ ] + } + } + } ] + }, + "asTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "358", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "360", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "361", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "359", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } + } + }, { + "localId" : "368", + "name" : "CastIntegerAsIntervalOfIntegers", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "368", + "s" : [ { + "value" : [ "", "define ", "CastIntegerAsIntervalOfIntegers", ": " ] + }, { + "r" : "369", + "s" : [ { + "value" : [ "cast " ] + }, { + "r" : "371", + "s" : [ { + "r" : "370", + "value" : [ "Echo", "(", "5", ")" ] + } ] + }, { + "value" : [ " as " ] + }, { + "r" : "373", + "s" : [ { + "value" : [ "Interval<" ] + }, { + "r" : "374", + "s" : [ { + "value" : [ "Integer" ] + } ] + }, { + "value" : [ ">" ] + } ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "379", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "380", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "expression" : { + "type" : "As", + "localId" : "369", + "strict" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "377", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "378", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "signature" : [ ], + "operand" : { + "type" : "FunctionRef", + "localId" : "371", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "name" : "Echo", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "372", + "name" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "Literal", + "localId" : "370", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "5", + "annotation" : [ ] + } ] + }, + "asTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "373", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "375", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "376", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "374", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } + } + }, { + "localId" : "383", + "name" : "CastListAsIntervalOfIntegers", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "383", + "s" : [ { + "value" : [ "", "define ", "CastListAsIntervalOfIntegers", ": " ] + }, { + "r" : "384", + "s" : [ { + "value" : [ "cast " ] + }, { + "r" : "393", + "s" : [ { + "value" : [ "Echo", "(" ] + }, { + "r" : "385", + "s" : [ { + "r" : "386", + "value" : [ "{", "1", ", ", "2", ", ", "3", ", ", "4", ", ", "5", "}" ] + } ] + }, { + "value" : [ ")" ] + } ] + }, { + "value" : [ " as " ] + }, { + "r" : "395", + "s" : [ { + "value" : [ "Interval<" ] + }, { + "r" : "396", + "s" : [ { + "value" : [ "Integer" ] + } ] + }, { + "value" : [ ">" ] + } ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "401", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "402", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "expression" : { + "type" : "As", + "localId" : "384", + "strict" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "399", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "400", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "signature" : [ ], + "operand" : { + "type" : "FunctionRef", + "localId" : "393", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "name" : "Echo", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "394", + "name" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "List", + "localId" : "385", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "391", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "392", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "element" : [ { + "type" : "Literal", + "localId" : "386", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "387", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "388", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "389", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "4", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "390", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "5", + "annotation" : [ ] + } ] + } ] + }, + "asTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "395", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "397", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "398", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "396", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } + } + }, { + "localId" : "405", + "name" : "CastTupleAsIntervalOfIntegers", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "405", + "s" : [ { + "value" : [ "", "define ", "CastTupleAsIntervalOfIntegers", ": " ] + }, { + "r" : "406", + "s" : [ { + "value" : [ "cast " ] + }, { + "r" : "412", + "s" : [ { + "value" : [ "Echo", "(" ] + }, { + "r" : "407", + "s" : [ { + "value" : [ "Tuple{" ] + }, { + "s" : [ { + "r" : "408", + "value" : [ "A", ": ", "5" ] + } ] + }, { + "value" : [ "}" ] + } ] + }, { + "value" : [ ")" ] + } ] + }, { + "value" : [ " as " ] + }, { + "r" : "414", + "s" : [ { + "value" : [ "Interval<" ] + }, { + "r" : "415", + "s" : [ { + "value" : [ "Integer" ] + } ] + }, { + "value" : [ ">" ] + } ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "420", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "421", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "expression" : { + "type" : "As", + "localId" : "406", + "strict" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "418", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "419", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "signature" : [ ], + "operand" : { + "type" : "FunctionRef", + "localId" : "412", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "name" : "Echo", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "413", + "name" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "Tuple", + "localId" : "407", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "TupleTypeSpecifier", + "localId" : "409", + "annotation" : [ ], + "element" : [ { + "localId" : "410", + "name" : "A", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "411", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } ] + }, + "element" : [ { + "name" : "A", + "value" : { + "type" : "Literal", + "localId" : "408", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "5", + "annotation" : [ ] + } + } ] + } ] + }, + "asTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "414", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "416", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "417", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "415", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } + } + } ] + } + } +} + /* AsTupleType library TestSnippet version '1' using Simple version '1.0.0' @@ -6285,1847 +6996,2102 @@ define CastIntervalAsTupleOfInteger: cast Echo(Interval[1, 5]) as Tuple{A Intege */ module.exports['AsTupleType'] = { - "library" : { - "localId" : "0", - "annotation" : [ { - "translatorVersion" : "3.27.0", - "translatorOptions" : "EnableDateRangeOptimization,EnableAnnotations,EnableResultTypes", - "signatureLevel" : "All", - "type" : "CqlToElmInfo" + "library" : { + "localId" : "0", + "annotation" : [ { + "type" : "CqlToElmInfo", + "translatorVersion" : "4.2.0", + "translatorOptions" : "EnableDateRangeOptimization,EnableAnnotations,EnableResultTypes", + "signatureLevel" : "All" + }, { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "465", + "s" : [ { + "value" : [ "", "library TestSnippet version '1'" ] + } ] + } + } ], + "identifier" : { + "id" : "TestSnippet", + "version" : "1" + }, + "schemaIdentifier" : { + "id" : "urn:hl7-org:elm", + "version" : "r1" + }, + "usings" : { + "def" : [ { + "localId" : "1", + "localIdentifier" : "System", + "uri" : "urn:hl7-org:elm-types:r1", + "annotation" : [ ] }, { - "type" : "Annotation", - "s" : { - "r" : "465", + "localId" : "206", + "localIdentifier" : "Simple", + "uri" : "https://github.com/cqframework/cql-execution/simple", + "version" : "1.0.0", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "206", "s" : [ { - "value" : [ "","library TestSnippet version '1'" ] - } ] - } - } ], - "identifier" : { - "id" : "TestSnippet", - "version" : "1" - }, - "schemaIdentifier" : { - "id" : "urn:hl7-org:elm", - "version" : "r1" - }, - "usings" : { - "def" : [ { - "localId" : "1", - "localIdentifier" : "System", - "uri" : "urn:hl7-org:elm-types:r1" - }, { - "localId" : "206", - "localIdentifier" : "Simple", - "uri" : "https://github.com/cqframework/cql-execution/simple", - "version" : "1.0.0", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "206", - "s" : [ { - "value" : [ "","using " ] + "value" : [ "", "using " ] + }, { + "s" : [ { + "value" : [ "Simple" ] + } ] + }, { + "value" : [ " version '1.0.0'" ] + } ] + } + } ] + } ] + }, + "contexts" : { + "def" : [ { + "localId" : "211", + "name" : "Patient", + "annotation" : [ ] + } ] + }, + "statements" : { + "def" : [ { + "localId" : "209", + "name" : "Patient", + "context" : "Patient", + "annotation" : [ ], + "expression" : { + "type" : "SingletonFrom", + "localId" : "210", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Retrieve", + "localId" : "208", + "dataType" : "{https://github.com/cqframework/cql-execution/simple}Patient", + "annotation" : [ ], + "include" : [ ], + "codeFilter" : [ ], + "dateFilter" : [ ], + "otherFilter" : [ ] + } + } + }, { + "type" : "FunctionDef", + "localId" : "212", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "name" : "Echo", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "212", + "s" : [ { + "value" : [ "", "define function Echo(Val Any): " ] + }, { + "r" : "217", + "s" : [ { + "r" : "217", + "s" : [ { + "value" : [ "Val" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "OperandRef", + "localId" : "217", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "name" : "Val", + "annotation" : [ ] + }, + "operand" : [ { + "localId" : "214", + "name" : "Val", + "annotation" : [ ], + "operandTypeSpecifier" : { + "type" : "NamedTypeSpecifier", + "localId" : "213", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "name" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } + } ] + }, { + "localId" : "220", + "name" : "TupleOfAIntegerBStringAsTupleOfAIntegerBString", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "220", + "s" : [ { + "value" : [ "// fool CQL-to-ELM into letting the casts compile\n", "define ", "TupleOfAIntegerBStringAsTupleOfAIntegerBString", ": " ] + }, { + "r" : "221", + "s" : [ { + "r" : "231", + "s" : [ { + "value" : [ "Echo", "(" ] + }, { + "r" : "222", + "s" : [ { + "value" : [ "Tuple{ " ] + }, { + "s" : [ { + "r" : "223", + "value" : [ "A", ": ", "1" ] + } ] + }, { + "value" : [ ", " ] + }, { + "s" : [ { + "value" : [ "B", ": " ] + }, { + "r" : "224", + "s" : [ { + "value" : [ "'2'" ] + } ] + } ] + }, { + "value" : [ " }" ] + } ] + }, { + "value" : [ ")" ] + } ] + }, { + "value" : [ " as " ] + }, { + "r" : "233", + "s" : [ { + "value" : [ "Tuple{" ] + }, { + "r" : "234", + "s" : [ { + "value" : [ "A", " " ] }, { - "s" : [ { - "value" : [ "Simple" ] - } ] + "r" : "235", + "s" : [ { + "value" : [ "Integer" ] + } ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "236", + "s" : [ { + "value" : [ "B", " " ] }, { - "value" : [ " version '1.0.0'" ] - } ] - } - } ] - } ] - }, - "contexts" : { - "def" : [ { - "localId" : "211", - "name" : "Patient" - } ] - }, - "statements" : { - "def" : [ { - "localId" : "209", - "name" : "Patient", - "context" : "Patient", - "expression" : { - "localId" : "210", - "type" : "SingletonFrom", - "signature" : [ ], - "operand" : { - "localId" : "208", - "dataType" : "{https://github.com/cqframework/cql-execution/simple}Patient", - "type" : "Retrieve", - "include" : [ ], - "codeFilter" : [ ], - "dateFilter" : [ ], - "otherFilter" : [ ] - } + "r" : "237", + "s" : [ { + "value" : [ "String" ] + } ] + } ] + }, { + "value" : [ "}" ] + } ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "TupleTypeSpecifier", + "localId" : "248", + "annotation" : [ ], + "element" : [ { + "localId" : "249", + "name" : "A", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "250", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] } - }, { - "localId" : "212", + }, { + "localId" : "251", + "name" : "B", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "252", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } + } ] + }, + "expression" : { + "type" : "As", + "localId" : "221", + "strict" : false, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "TupleTypeSpecifier", + "localId" : "243", + "annotation" : [ ], + "element" : [ { + "localId" : "244", + "name" : "A", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "245", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, { + "localId" : "246", + "name" : "B", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "247", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } + } ] + }, + "signature" : [ ], + "operand" : { + "type" : "FunctionRef", + "localId" : "231", "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", "name" : "Echo", - "context" : "Patient", - "accessLevel" : "Public", - "type" : "FunctionDef", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "212", - "s" : [ { - "value" : [ "","define function Echo(Val Any): " ] - }, { - "r" : "217", - "s" : [ { - "r" : "217", - "s" : [ { - "value" : [ "Val" ] - } ] - } ] - } ] - } + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "232", + "name" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] } ], - "expression" : { - "localId" : "217", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "name" : "Val", - "type" : "OperandRef" - }, "operand" : [ { - "localId" : "214", - "name" : "Val", - "operandTypeSpecifier" : { - "localId" : "213", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "name" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "NamedTypeSpecifier" - } - } ] - }, { - "localId" : "220", - "name" : "TupleOfAIntegerBStringAsTupleOfAIntegerBString", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "220", - "s" : [ { - "value" : [ "// fool CQL-to-ELM into letting the casts compile\n","define ","TupleOfAIntegerBStringAsTupleOfAIntegerBString",": " ] - }, { - "r" : "221", - "s" : [ { - "r" : "231", - "s" : [ { - "value" : [ "Echo","(" ] - }, { - "r" : "222", - "s" : [ { - "value" : [ "Tuple{ " ] - }, { - "s" : [ { - "r" : "223", - "value" : [ "A",": ","1" ] - } ] - }, { - "value" : [ ", " ] - }, { - "s" : [ { - "value" : [ "B",": " ] - }, { - "r" : "224", - "s" : [ { - "value" : [ "'2'" ] - } ] - } ] - }, { - "value" : [ " }" ] - } ] - }, { - "value" : [ ")" ] - } ] - }, { - "value" : [ " as " ] - }, { - "r" : "233", - "s" : [ { - "value" : [ "Tuple{" ] - }, { - "r" : "234", - "s" : [ { - "value" : [ "A"," " ] - }, { - "r" : "235", - "s" : [ { - "value" : [ "Integer" ] - } ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "236", - "s" : [ { - "value" : [ "B"," " ] - }, { - "r" : "237", - "s" : [ { - "value" : [ "String" ] - } ] - } ] - }, { - "value" : [ "}" ] - } ] - } ] - } ] - } - } ], - "resultTypeSpecifier" : { - "localId" : "248", - "type" : "TupleTypeSpecifier", - "element" : [ { - "localId" : "249", + "type" : "Tuple", + "localId" : "222", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "TupleTypeSpecifier", + "localId" : "226", + "annotation" : [ ], + "element" : [ { + "localId" : "227", "name" : "A", + "annotation" : [ ], "elementType" : { - "localId" : "250", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" + "type" : "NamedTypeSpecifier", + "localId" : "228", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] } - }, { - "localId" : "251", + }, { + "localId" : "229", "name" : "B", + "annotation" : [ ], "elementType" : { - "localId" : "252", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" + "type" : "NamedTypeSpecifier", + "localId" : "230", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] } - } ] + } ] + }, + "element" : [ { + "name" : "A", + "value" : { + "type" : "Literal", + "localId" : "223", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + } + }, { + "name" : "B", + "value" : { + "type" : "Literal", + "localId" : "224", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "2", + "annotation" : [ ] + } + } ] + } ] + }, + "asTypeSpecifier" : { + "type" : "TupleTypeSpecifier", + "localId" : "233", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "TupleTypeSpecifier", + "localId" : "238", + "annotation" : [ ], + "element" : [ { + "localId" : "239", + "name" : "A", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "240", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, { + "localId" : "241", + "name" : "B", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "242", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } + } ] }, - "expression" : { - "localId" : "221", - "strict" : false, - "type" : "As", - "resultTypeSpecifier" : { - "localId" : "243", - "type" : "TupleTypeSpecifier", - "element" : [ { - "localId" : "244", - "name" : "A", - "elementType" : { - "localId" : "245", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } + "element" : [ { + "localId" : "234", + "name" : "A", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "235", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, { + "localId" : "236", + "name" : "B", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "237", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } + } ] + } + } + }, { + "localId" : "255", + "name" : "TupleOfAStringBIntegerAsTupleOfAIntegerBString", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "255", + "s" : [ { + "value" : [ "", "define ", "TupleOfAStringBIntegerAsTupleOfAIntegerBString", ": " ] + }, { + "r" : "256", + "s" : [ { + "r" : "266", + "s" : [ { + "value" : [ "Echo", "(" ] + }, { + "r" : "257", + "s" : [ { + "value" : [ "Tuple{ " ] + }, { + "s" : [ { + "value" : [ "A", ": " ] + }, { + "r" : "258", + "s" : [ { + "value" : [ "'1'" ] + } ] + } ] + }, { + "value" : [ ", " ] + }, { + "s" : [ { + "r" : "260", + "value" : [ "B", ": ", "2" ] + } ] + }, { + "value" : [ " }" ] + } ] + }, { + "value" : [ ")" ] + } ] + }, { + "value" : [ " as " ] + }, { + "r" : "268", + "s" : [ { + "value" : [ "Tuple{" ] + }, { + "r" : "269", + "s" : [ { + "value" : [ "A", " " ] }, { - "localId" : "246", - "name" : "B", - "elementType" : { - "localId" : "247", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } - } ] - }, - "signature" : [ ], - "operand" : { - "localId" : "231", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "name" : "Echo", - "type" : "FunctionRef", - "signature" : [ { - "localId" : "232", - "name" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "222", - "type" : "Tuple", - "resultTypeSpecifier" : { - "localId" : "226", - "type" : "TupleTypeSpecifier", - "element" : [ { - "localId" : "227", - "name" : "A", - "elementType" : { - "localId" : "228", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "229", - "name" : "B", - "elementType" : { - "localId" : "230", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } - } ] - }, - "element" : [ { - "name" : "A", - "value" : { - "localId" : "223", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - } - }, { - "name" : "B", - "value" : { - "localId" : "224", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "2", - "type" : "Literal" - } - } ] - } ] - }, - "asTypeSpecifier" : { - "localId" : "233", - "type" : "TupleTypeSpecifier", - "resultTypeSpecifier" : { - "localId" : "238", - "type" : "TupleTypeSpecifier", - "element" : [ { - "localId" : "239", - "name" : "A", - "elementType" : { - "localId" : "240", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "241", - "name" : "B", - "elementType" : { - "localId" : "242", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } - } ] - }, - "element" : [ { - "localId" : "234", - "name" : "A", - "elementType" : { - "localId" : "235", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } + "r" : "270", + "s" : [ { + "value" : [ "Integer" ] + } ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "271", + "s" : [ { + "value" : [ "B", " " ] }, { - "localId" : "236", - "name" : "B", - "elementType" : { - "localId" : "237", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } - } ] - } + "r" : "272", + "s" : [ { + "value" : [ "String" ] + } ] + } ] + }, { + "value" : [ "}" ] + } ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "TupleTypeSpecifier", + "localId" : "283", + "annotation" : [ ], + "element" : [ { + "localId" : "284", + "name" : "A", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "285", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] } - }, { - "localId" : "255", - "name" : "TupleOfAStringBIntegerAsTupleOfAIntegerBString", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "255", - "s" : [ { - "value" : [ "","define ","TupleOfAStringBIntegerAsTupleOfAIntegerBString",": " ] - }, { - "r" : "256", - "s" : [ { - "r" : "266", - "s" : [ { - "value" : [ "Echo","(" ] - }, { - "r" : "257", - "s" : [ { - "value" : [ "Tuple{ " ] - }, { - "s" : [ { - "value" : [ "A",": " ] - }, { - "r" : "258", - "s" : [ { - "value" : [ "'1'" ] - } ] - } ] - }, { - "value" : [ ", " ] - }, { - "s" : [ { - "r" : "260", - "value" : [ "B",": ","2" ] - } ] - }, { - "value" : [ " }" ] - } ] - }, { - "value" : [ ")" ] - } ] - }, { - "value" : [ " as " ] - }, { - "r" : "268", - "s" : [ { - "value" : [ "Tuple{" ] - }, { - "r" : "269", - "s" : [ { - "value" : [ "A"," " ] - }, { - "r" : "270", - "s" : [ { - "value" : [ "Integer" ] - } ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "271", - "s" : [ { - "value" : [ "B"," " ] - }, { - "r" : "272", - "s" : [ { - "value" : [ "String" ] - } ] - } ] - }, { - "value" : [ "}" ] - } ] - } ] - } ] - } + }, { + "localId" : "286", + "name" : "B", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "287", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } + } ] + }, + "expression" : { + "type" : "As", + "localId" : "256", + "strict" : false, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "TupleTypeSpecifier", + "localId" : "278", + "annotation" : [ ], + "element" : [ { + "localId" : "279", + "name" : "A", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "280", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, { + "localId" : "281", + "name" : "B", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "282", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } + } ] + }, + "signature" : [ ], + "operand" : { + "type" : "FunctionRef", + "localId" : "266", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "name" : "Echo", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "267", + "name" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] } ], - "resultTypeSpecifier" : { - "localId" : "283", - "type" : "TupleTypeSpecifier", - "element" : [ { - "localId" : "284", + "operand" : [ { + "type" : "Tuple", + "localId" : "257", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "TupleTypeSpecifier", + "localId" : "261", + "annotation" : [ ], + "element" : [ { + "localId" : "262", "name" : "A", + "annotation" : [ ], "elementType" : { - "localId" : "285", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" + "type" : "NamedTypeSpecifier", + "localId" : "263", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] } - }, { - "localId" : "286", + }, { + "localId" : "264", "name" : "B", + "annotation" : [ ], "elementType" : { - "localId" : "287", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" + "type" : "NamedTypeSpecifier", + "localId" : "265", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] } - } ] + } ] + }, + "element" : [ { + "name" : "A", + "value" : { + "type" : "Literal", + "localId" : "258", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "1", + "annotation" : [ ] + } + }, { + "name" : "B", + "value" : { + "type" : "Literal", + "localId" : "260", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "annotation" : [ ] + } + } ] + } ] + }, + "asTypeSpecifier" : { + "type" : "TupleTypeSpecifier", + "localId" : "268", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "TupleTypeSpecifier", + "localId" : "273", + "annotation" : [ ], + "element" : [ { + "localId" : "274", + "name" : "A", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "275", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, { + "localId" : "276", + "name" : "B", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "277", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } + } ] }, - "expression" : { - "localId" : "256", - "strict" : false, - "type" : "As", - "resultTypeSpecifier" : { - "localId" : "278", - "type" : "TupleTypeSpecifier", - "element" : [ { - "localId" : "279", - "name" : "A", - "elementType" : { - "localId" : "280", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "281", - "name" : "B", - "elementType" : { - "localId" : "282", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } - } ] - }, - "signature" : [ ], - "operand" : { - "localId" : "266", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "name" : "Echo", - "type" : "FunctionRef", - "signature" : [ { - "localId" : "267", - "name" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "257", - "type" : "Tuple", - "resultTypeSpecifier" : { - "localId" : "261", - "type" : "TupleTypeSpecifier", - "element" : [ { - "localId" : "262", - "name" : "A", - "elementType" : { - "localId" : "263", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "264", - "name" : "B", - "elementType" : { - "localId" : "265", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } ] - }, - "element" : [ { - "name" : "A", - "value" : { - "localId" : "258", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "1", - "type" : "Literal" - } - }, { - "name" : "B", - "value" : { - "localId" : "260", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal" - } - } ] - } ] - }, - "asTypeSpecifier" : { - "localId" : "268", - "type" : "TupleTypeSpecifier", - "resultTypeSpecifier" : { - "localId" : "273", - "type" : "TupleTypeSpecifier", - "element" : [ { - "localId" : "274", - "name" : "A", - "elementType" : { - "localId" : "275", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "276", - "name" : "B", - "elementType" : { - "localId" : "277", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } - } ] - }, - "element" : [ { - "localId" : "269", - "name" : "A", - "elementType" : { - "localId" : "270", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } + "element" : [ { + "localId" : "269", + "name" : "A", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "270", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, { + "localId" : "271", + "name" : "B", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "272", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } + } ] + } + } + }, { + "localId" : "290", + "name" : "IntegerAsTupleOfInteger", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "290", + "s" : [ { + "value" : [ "", "define ", "IntegerAsTupleOfInteger", ": " ] + }, { + "r" : "291", + "s" : [ { + "r" : "293", + "s" : [ { + "r" : "292", + "value" : [ "Echo", "(", "5", ")" ] + } ] + }, { + "value" : [ " as " ] + }, { + "r" : "295", + "s" : [ { + "value" : [ "Tuple{" ] + }, { + "r" : "296", + "s" : [ { + "value" : [ "A", " " ] }, { - "localId" : "271", - "name" : "B", - "elementType" : { - "localId" : "272", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } - } ] - } + "r" : "297", + "s" : [ { + "value" : [ "Integer" ] + } ] + } ] + }, { + "value" : [ "}" ] + } ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "TupleTypeSpecifier", + "localId" : "304", + "annotation" : [ ], + "element" : [ { + "localId" : "305", + "name" : "A", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "306", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] } - }, { - "localId" : "290", - "name" : "IntegerAsTupleOfInteger", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "290", - "s" : [ { - "value" : [ "","define ","IntegerAsTupleOfInteger",": " ] - }, { - "r" : "291", - "s" : [ { - "r" : "293", - "s" : [ { - "r" : "292", - "value" : [ "Echo","(","5",")" ] - } ] - }, { - "value" : [ " as " ] - }, { - "r" : "295", - "s" : [ { - "value" : [ "Tuple{" ] - }, { - "r" : "296", - "s" : [ { - "value" : [ "A"," " ] - }, { - "r" : "297", - "s" : [ { - "value" : [ "Integer" ] - } ] - } ] - }, { - "value" : [ "}" ] - } ] - } ] - } ] - } + } ] + }, + "expression" : { + "type" : "As", + "localId" : "291", + "strict" : false, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "TupleTypeSpecifier", + "localId" : "301", + "annotation" : [ ], + "element" : [ { + "localId" : "302", + "name" : "A", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "303", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } ] + }, + "signature" : [ ], + "operand" : { + "type" : "FunctionRef", + "localId" : "293", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "name" : "Echo", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "294", + "name" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] } ], + "operand" : [ { + "type" : "Literal", + "localId" : "292", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "5", + "annotation" : [ ] + } ] + }, + "asTypeSpecifier" : { + "type" : "TupleTypeSpecifier", + "localId" : "295", + "annotation" : [ ], "resultTypeSpecifier" : { - "localId" : "304", - "type" : "TupleTypeSpecifier", - "element" : [ { - "localId" : "305", - "name" : "A", - "elementType" : { - "localId" : "306", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } ] + "type" : "TupleTypeSpecifier", + "localId" : "298", + "annotation" : [ ], + "element" : [ { + "localId" : "299", + "name" : "A", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "300", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } ] }, - "expression" : { - "localId" : "291", - "strict" : false, - "type" : "As", - "resultTypeSpecifier" : { - "localId" : "301", - "type" : "TupleTypeSpecifier", - "element" : [ { - "localId" : "302", - "name" : "A", - "elementType" : { - "localId" : "303", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } ] - }, - "signature" : [ ], - "operand" : { - "localId" : "293", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "name" : "Echo", - "type" : "FunctionRef", - "signature" : [ { - "localId" : "294", - "name" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "292", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal" - } ] - }, - "asTypeSpecifier" : { - "localId" : "295", - "type" : "TupleTypeSpecifier", - "resultTypeSpecifier" : { - "localId" : "298", - "type" : "TupleTypeSpecifier", - "element" : [ { - "localId" : "299", - "name" : "A", - "elementType" : { - "localId" : "300", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } ] - }, - "element" : [ { - "localId" : "296", - "name" : "A", - "elementType" : { - "localId" : "297", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } ] - } - } - }, { - "localId" : "309", - "name" : "ListAsTupleOfInteger", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "309", - "s" : [ { - "value" : [ "","define ","ListAsTupleOfInteger",": " ] + "element" : [ { + "localId" : "296", + "name" : "A", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "297", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } ] + } + } + }, { + "localId" : "309", + "name" : "ListAsTupleOfInteger", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "309", + "s" : [ { + "value" : [ "", "define ", "ListAsTupleOfInteger", ": " ] + }, { + "r" : "310", + "s" : [ { + "r" : "315", + "s" : [ { + "value" : [ "Echo", "(" ] + }, { + "r" : "311", + "s" : [ { + "r" : "312", + "value" : [ "{", "5", "}" ] + } ] + }, { + "value" : [ ")" ] + } ] + }, { + "value" : [ " as " ] + }, { + "r" : "317", + "s" : [ { + "value" : [ "Tuple{" ] + }, { + "r" : "318", + "s" : [ { + "value" : [ "A", " " ] }, { - "r" : "310", - "s" : [ { - "r" : "315", - "s" : [ { - "value" : [ "Echo","(" ] - }, { - "r" : "311", - "s" : [ { - "r" : "312", - "value" : [ "{","5","}" ] - } ] - }, { - "value" : [ ")" ] - } ] - }, { - "value" : [ " as " ] - }, { - "r" : "317", - "s" : [ { - "value" : [ "Tuple{" ] - }, { - "r" : "318", - "s" : [ { - "value" : [ "A"," " ] - }, { - "r" : "319", - "s" : [ { - "value" : [ "Integer" ] - } ] - } ] - }, { - "value" : [ "}" ] - } ] - } ] - } ] - } + "r" : "319", + "s" : [ { + "value" : [ "Integer" ] + } ] + } ] + }, { + "value" : [ "}" ] + } ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "TupleTypeSpecifier", + "localId" : "326", + "annotation" : [ ], + "element" : [ { + "localId" : "327", + "name" : "A", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "328", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } ] + }, + "expression" : { + "type" : "As", + "localId" : "310", + "strict" : false, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "TupleTypeSpecifier", + "localId" : "323", + "annotation" : [ ], + "element" : [ { + "localId" : "324", + "name" : "A", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "325", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } ] + }, + "signature" : [ ], + "operand" : { + "type" : "FunctionRef", + "localId" : "315", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "name" : "Echo", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "316", + "name" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] } ], + "operand" : [ { + "type" : "List", + "localId" : "311", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "313", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "314", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "element" : [ { + "type" : "Literal", + "localId" : "312", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "5", + "annotation" : [ ] + } ] + } ] + }, + "asTypeSpecifier" : { + "type" : "TupleTypeSpecifier", + "localId" : "317", + "annotation" : [ ], "resultTypeSpecifier" : { - "localId" : "326", - "type" : "TupleTypeSpecifier", - "element" : [ { - "localId" : "327", - "name" : "A", - "elementType" : { - "localId" : "328", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } ] + "type" : "TupleTypeSpecifier", + "localId" : "320", + "annotation" : [ ], + "element" : [ { + "localId" : "321", + "name" : "A", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "322", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } ] }, - "expression" : { - "localId" : "310", - "strict" : false, - "type" : "As", - "resultTypeSpecifier" : { - "localId" : "323", - "type" : "TupleTypeSpecifier", - "element" : [ { - "localId" : "324", - "name" : "A", - "elementType" : { - "localId" : "325", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } ] - }, - "signature" : [ ], - "operand" : { - "localId" : "315", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "name" : "Echo", - "type" : "FunctionRef", - "signature" : [ { - "localId" : "316", - "name" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "311", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "313", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "314", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "element" : [ { - "localId" : "312", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal" - } ] - } ] - }, - "asTypeSpecifier" : { - "localId" : "317", - "type" : "TupleTypeSpecifier", - "resultTypeSpecifier" : { - "localId" : "320", - "type" : "TupleTypeSpecifier", - "element" : [ { - "localId" : "321", - "name" : "A", - "elementType" : { - "localId" : "322", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } ] - }, - "element" : [ { - "localId" : "318", - "name" : "A", - "elementType" : { - "localId" : "319", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } ] - } - } - }, { - "localId" : "331", - "name" : "IntervalAsTupleOfInteger", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "331", - "s" : [ { - "value" : [ "","define ","IntervalAsTupleOfInteger",": " ] + "element" : [ { + "localId" : "318", + "name" : "A", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "319", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } ] + } + } + }, { + "localId" : "331", + "name" : "IntervalAsTupleOfInteger", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "331", + "s" : [ { + "value" : [ "", "define ", "IntervalAsTupleOfInteger", ": " ] + }, { + "r" : "332", + "s" : [ { + "r" : "338", + "s" : [ { + "value" : [ "Echo", "(" ] + }, { + "r" : "335", + "s" : [ { + "r" : "333", + "value" : [ "Interval[", "1", ", ", "5", "]" ] + } ] + }, { + "value" : [ ")" ] + } ] + }, { + "value" : [ " as " ] + }, { + "r" : "340", + "s" : [ { + "value" : [ "Tuple{" ] + }, { + "r" : "341", + "s" : [ { + "value" : [ "A", " " ] }, { - "r" : "332", - "s" : [ { - "r" : "338", - "s" : [ { - "value" : [ "Echo","(" ] - }, { - "r" : "335", - "s" : [ { - "r" : "333", - "value" : [ "Interval[","1",", ","5","]" ] - } ] - }, { - "value" : [ ")" ] - } ] - }, { - "value" : [ " as " ] - }, { - "r" : "340", - "s" : [ { - "value" : [ "Tuple{" ] - }, { - "r" : "341", - "s" : [ { - "value" : [ "A"," " ] - }, { - "r" : "342", - "s" : [ { - "value" : [ "Integer" ] - } ] - } ] - }, { - "value" : [ "}" ] - } ] - } ] - } ] - } + "r" : "342", + "s" : [ { + "value" : [ "Integer" ] + } ] + } ] + }, { + "value" : [ "}" ] + } ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "TupleTypeSpecifier", + "localId" : "349", + "annotation" : [ ], + "element" : [ { + "localId" : "350", + "name" : "A", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "351", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } ] + }, + "expression" : { + "type" : "As", + "localId" : "332", + "strict" : false, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "TupleTypeSpecifier", + "localId" : "346", + "annotation" : [ ], + "element" : [ { + "localId" : "347", + "name" : "A", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "348", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } ] + }, + "signature" : [ ], + "operand" : { + "type" : "FunctionRef", + "localId" : "338", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "name" : "Echo", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "339", + "name" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] } ], + "operand" : [ { + "type" : "Interval", + "localId" : "335", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "336", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "337", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "low" : { + "type" : "Literal", + "localId" : "333", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "high" : { + "type" : "Literal", + "localId" : "334", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "5", + "annotation" : [ ] + } + } ] + }, + "asTypeSpecifier" : { + "type" : "TupleTypeSpecifier", + "localId" : "340", + "annotation" : [ ], "resultTypeSpecifier" : { - "localId" : "349", - "type" : "TupleTypeSpecifier", - "element" : [ { - "localId" : "350", - "name" : "A", - "elementType" : { - "localId" : "351", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } ] + "type" : "TupleTypeSpecifier", + "localId" : "343", + "annotation" : [ ], + "element" : [ { + "localId" : "344", + "name" : "A", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "345", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } ] }, - "expression" : { - "localId" : "332", - "strict" : false, - "type" : "As", - "resultTypeSpecifier" : { - "localId" : "346", - "type" : "TupleTypeSpecifier", - "element" : [ { - "localId" : "347", - "name" : "A", - "elementType" : { - "localId" : "348", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } ] - }, - "signature" : [ ], - "operand" : { - "localId" : "338", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "name" : "Echo", - "type" : "FunctionRef", - "signature" : [ { - "localId" : "339", - "name" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "335", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "336", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "337", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "333", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "high" : { - "localId" : "334", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal" - } - } ] - }, - "asTypeSpecifier" : { - "localId" : "340", - "type" : "TupleTypeSpecifier", - "resultTypeSpecifier" : { - "localId" : "343", - "type" : "TupleTypeSpecifier", - "element" : [ { - "localId" : "344", - "name" : "A", - "elementType" : { - "localId" : "345", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } ] - }, - "element" : [ { - "localId" : "341", - "name" : "A", - "elementType" : { - "localId" : "342", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } ] - } - } - }, { - "localId" : "354", - "name" : "CastTupleOfAIntegerBStringAsTupleOfAIntegerBString", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "354", + "element" : [ { + "localId" : "341", + "name" : "A", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "342", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } ] + } + } + }, { + "localId" : "354", + "name" : "CastTupleOfAIntegerBStringAsTupleOfAIntegerBString", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "354", + "s" : [ { + "value" : [ "", "define ", "CastTupleOfAIntegerBStringAsTupleOfAIntegerBString", ": " ] + }, { + "r" : "355", + "s" : [ { + "value" : [ "cast " ] + }, { + "r" : "365", + "s" : [ { + "value" : [ "Echo", "(" ] + }, { + "r" : "356", "s" : [ { - "value" : [ "","define ","CastTupleOfAIntegerBStringAsTupleOfAIntegerBString",": " ] + "value" : [ "Tuple{ " ] + }, { + "s" : [ { + "r" : "357", + "value" : [ "A", ": ", "1" ] + } ] + }, { + "value" : [ ", " ] + }, { + "s" : [ { + "value" : [ "B", ": " ] + }, { + "r" : "358", + "s" : [ { + "value" : [ "'2'" ] + } ] + } ] + }, { + "value" : [ " }" ] + } ] + }, { + "value" : [ ")" ] + } ] + }, { + "value" : [ " as " ] + }, { + "r" : "367", + "s" : [ { + "value" : [ "Tuple{" ] + }, { + "r" : "368", + "s" : [ { + "value" : [ "A", " " ] + }, { + "r" : "369", + "s" : [ { + "value" : [ "Integer" ] + } ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "370", + "s" : [ { + "value" : [ "B", " " ] }, { - "r" : "355", - "s" : [ { - "value" : [ "cast " ] - }, { - "r" : "365", - "s" : [ { - "value" : [ "Echo","(" ] - }, { - "r" : "356", - "s" : [ { - "value" : [ "Tuple{ " ] - }, { - "s" : [ { - "r" : "357", - "value" : [ "A",": ","1" ] - } ] - }, { - "value" : [ ", " ] - }, { - "s" : [ { - "value" : [ "B",": " ] - }, { - "r" : "358", - "s" : [ { - "value" : [ "'2'" ] - } ] - } ] - }, { - "value" : [ " }" ] - } ] - }, { - "value" : [ ")" ] - } ] - }, { - "value" : [ " as " ] - }, { - "r" : "367", - "s" : [ { - "value" : [ "Tuple{" ] - }, { - "r" : "368", - "s" : [ { - "value" : [ "A"," " ] - }, { - "r" : "369", - "s" : [ { - "value" : [ "Integer" ] - } ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "370", - "s" : [ { - "value" : [ "B"," " ] - }, { - "r" : "371", - "s" : [ { - "value" : [ "String" ] - } ] - } ] - }, { - "value" : [ "}" ] - } ] - } ] - } ] - } + "r" : "371", + "s" : [ { + "value" : [ "String" ] + } ] + } ] + }, { + "value" : [ "}" ] + } ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "TupleTypeSpecifier", + "localId" : "382", + "annotation" : [ ], + "element" : [ { + "localId" : "383", + "name" : "A", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "384", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, { + "localId" : "385", + "name" : "B", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "386", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } + } ] + }, + "expression" : { + "type" : "As", + "localId" : "355", + "strict" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "TupleTypeSpecifier", + "localId" : "377", + "annotation" : [ ], + "element" : [ { + "localId" : "378", + "name" : "A", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "379", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, { + "localId" : "380", + "name" : "B", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "381", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } + } ] + }, + "signature" : [ ], + "operand" : { + "type" : "FunctionRef", + "localId" : "365", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "name" : "Echo", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "366", + "name" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] } ], - "resultTypeSpecifier" : { - "localId" : "382", - "type" : "TupleTypeSpecifier", - "element" : [ { - "localId" : "383", + "operand" : [ { + "type" : "Tuple", + "localId" : "356", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "TupleTypeSpecifier", + "localId" : "360", + "annotation" : [ ], + "element" : [ { + "localId" : "361", "name" : "A", + "annotation" : [ ], "elementType" : { - "localId" : "384", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" + "type" : "NamedTypeSpecifier", + "localId" : "362", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] } - }, { - "localId" : "385", + }, { + "localId" : "363", "name" : "B", + "annotation" : [ ], "elementType" : { - "localId" : "386", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" + "type" : "NamedTypeSpecifier", + "localId" : "364", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] } - } ] - }, - "expression" : { - "localId" : "355", - "strict" : true, - "type" : "As", - "resultTypeSpecifier" : { - "localId" : "377", - "type" : "TupleTypeSpecifier", - "element" : [ { - "localId" : "378", - "name" : "A", - "elementType" : { - "localId" : "379", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "380", - "name" : "B", - "elementType" : { - "localId" : "381", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } - } ] - }, - "signature" : [ ], - "operand" : { - "localId" : "365", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "name" : "Echo", - "type" : "FunctionRef", - "signature" : [ { - "localId" : "366", - "name" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "356", - "type" : "Tuple", - "resultTypeSpecifier" : { - "localId" : "360", - "type" : "TupleTypeSpecifier", - "element" : [ { - "localId" : "361", - "name" : "A", - "elementType" : { - "localId" : "362", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "363", - "name" : "B", - "elementType" : { - "localId" : "364", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } - } ] - }, - "element" : [ { - "name" : "A", - "value" : { - "localId" : "357", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - } - }, { - "name" : "B", - "value" : { - "localId" : "358", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "2", - "type" : "Literal" - } - } ] - } ] - }, - "asTypeSpecifier" : { - "localId" : "367", - "type" : "TupleTypeSpecifier", - "resultTypeSpecifier" : { - "localId" : "372", - "type" : "TupleTypeSpecifier", - "element" : [ { - "localId" : "373", - "name" : "A", - "elementType" : { - "localId" : "374", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "375", - "name" : "B", - "elementType" : { - "localId" : "376", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } - } ] - }, - "element" : [ { - "localId" : "368", - "name" : "A", - "elementType" : { - "localId" : "369", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "370", - "name" : "B", - "elementType" : { - "localId" : "371", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } - } ] - } - } - }, { - "localId" : "389", - "name" : "CastTupleOfAStringBIntegerAsTupleOfAIntegerBString", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "389", - "s" : [ { - "value" : [ "","define ","CastTupleOfAStringBIntegerAsTupleOfAIntegerBString",": " ] - }, { - "r" : "390", - "s" : [ { - "value" : [ "cast " ] - }, { - "r" : "400", - "s" : [ { - "value" : [ "Echo","(" ] - }, { - "r" : "391", - "s" : [ { - "value" : [ "Tuple{ " ] - }, { - "s" : [ { - "value" : [ "A",": " ] - }, { - "r" : "392", - "s" : [ { - "value" : [ "'1'" ] - } ] - } ] - }, { - "value" : [ ", " ] - }, { - "s" : [ { - "r" : "394", - "value" : [ "B",": ","2" ] - } ] - }, { - "value" : [ " }" ] - } ] - }, { - "value" : [ ")" ] - } ] - }, { - "value" : [ " as " ] - }, { - "r" : "402", - "s" : [ { - "value" : [ "Tuple{" ] - }, { - "r" : "403", - "s" : [ { - "value" : [ "A"," " ] - }, { - "r" : "404", - "s" : [ { - "value" : [ "Integer" ] - } ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "405", - "s" : [ { - "value" : [ "B"," " ] - }, { - "r" : "406", - "s" : [ { - "value" : [ "String" ] - } ] - } ] - }, { - "value" : [ "}" ] - } ] - } ] - } ] - } - } ], + } ] + }, + "element" : [ { + "name" : "A", + "value" : { + "type" : "Literal", + "localId" : "357", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + } + }, { + "name" : "B", + "value" : { + "type" : "Literal", + "localId" : "358", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "2", + "annotation" : [ ] + } + } ] + } ] + }, + "asTypeSpecifier" : { + "type" : "TupleTypeSpecifier", + "localId" : "367", + "annotation" : [ ], "resultTypeSpecifier" : { - "localId" : "417", - "type" : "TupleTypeSpecifier", - "element" : [ { - "localId" : "418", + "type" : "TupleTypeSpecifier", + "localId" : "372", + "annotation" : [ ], + "element" : [ { + "localId" : "373", + "name" : "A", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "374", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, { + "localId" : "375", + "name" : "B", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "376", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } + } ] + }, + "element" : [ { + "localId" : "368", + "name" : "A", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "369", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, { + "localId" : "370", + "name" : "B", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "371", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } + } ] + } + } + }, { + "localId" : "389", + "name" : "CastTupleOfAStringBIntegerAsTupleOfAIntegerBString", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "389", + "s" : [ { + "value" : [ "", "define ", "CastTupleOfAStringBIntegerAsTupleOfAIntegerBString", ": " ] + }, { + "r" : "390", + "s" : [ { + "value" : [ "cast " ] + }, { + "r" : "400", + "s" : [ { + "value" : [ "Echo", "(" ] + }, { + "r" : "391", + "s" : [ { + "value" : [ "Tuple{ " ] + }, { + "s" : [ { + "value" : [ "A", ": " ] + }, { + "r" : "392", + "s" : [ { + "value" : [ "'1'" ] + } ] + } ] + }, { + "value" : [ ", " ] + }, { + "s" : [ { + "r" : "394", + "value" : [ "B", ": ", "2" ] + } ] + }, { + "value" : [ " }" ] + } ] + }, { + "value" : [ ")" ] + } ] + }, { + "value" : [ " as " ] + }, { + "r" : "402", + "s" : [ { + "value" : [ "Tuple{" ] + }, { + "r" : "403", + "s" : [ { + "value" : [ "A", " " ] + }, { + "r" : "404", + "s" : [ { + "value" : [ "Integer" ] + } ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "405", + "s" : [ { + "value" : [ "B", " " ] + }, { + "r" : "406", + "s" : [ { + "value" : [ "String" ] + } ] + } ] + }, { + "value" : [ "}" ] + } ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "TupleTypeSpecifier", + "localId" : "417", + "annotation" : [ ], + "element" : [ { + "localId" : "418", + "name" : "A", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "419", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, { + "localId" : "420", + "name" : "B", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "421", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } + } ] + }, + "expression" : { + "type" : "As", + "localId" : "390", + "strict" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "TupleTypeSpecifier", + "localId" : "412", + "annotation" : [ ], + "element" : [ { + "localId" : "413", + "name" : "A", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "414", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, { + "localId" : "415", + "name" : "B", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "416", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } + } ] + }, + "signature" : [ ], + "operand" : { + "type" : "FunctionRef", + "localId" : "400", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "name" : "Echo", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "401", + "name" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "Tuple", + "localId" : "391", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "TupleTypeSpecifier", + "localId" : "395", + "annotation" : [ ], + "element" : [ { + "localId" : "396", "name" : "A", + "annotation" : [ ], "elementType" : { - "localId" : "419", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" + "type" : "NamedTypeSpecifier", + "localId" : "397", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] } - }, { - "localId" : "420", + }, { + "localId" : "398", "name" : "B", + "annotation" : [ ], "elementType" : { - "localId" : "421", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" + "type" : "NamedTypeSpecifier", + "localId" : "399", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] } - } ] + } ] + }, + "element" : [ { + "name" : "A", + "value" : { + "type" : "Literal", + "localId" : "392", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "1", + "annotation" : [ ] + } + }, { + "name" : "B", + "value" : { + "type" : "Literal", + "localId" : "394", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "annotation" : [ ] + } + } ] + } ] + }, + "asTypeSpecifier" : { + "type" : "TupleTypeSpecifier", + "localId" : "402", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "TupleTypeSpecifier", + "localId" : "407", + "annotation" : [ ], + "element" : [ { + "localId" : "408", + "name" : "A", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "409", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, { + "localId" : "410", + "name" : "B", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "411", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } + } ] }, - "expression" : { - "localId" : "390", - "strict" : true, - "type" : "As", - "resultTypeSpecifier" : { - "localId" : "412", - "type" : "TupleTypeSpecifier", - "element" : [ { - "localId" : "413", - "name" : "A", - "elementType" : { - "localId" : "414", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "415", - "name" : "B", - "elementType" : { - "localId" : "416", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } - } ] - }, - "signature" : [ ], - "operand" : { - "localId" : "400", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "name" : "Echo", - "type" : "FunctionRef", - "signature" : [ { - "localId" : "401", - "name" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "391", - "type" : "Tuple", - "resultTypeSpecifier" : { - "localId" : "395", - "type" : "TupleTypeSpecifier", - "element" : [ { - "localId" : "396", - "name" : "A", - "elementType" : { - "localId" : "397", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "398", - "name" : "B", - "elementType" : { - "localId" : "399", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } ] - }, - "element" : [ { - "name" : "A", - "value" : { - "localId" : "392", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "1", - "type" : "Literal" - } - }, { - "name" : "B", - "value" : { - "localId" : "394", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal" - } - } ] - } ] - }, - "asTypeSpecifier" : { - "localId" : "402", - "type" : "TupleTypeSpecifier", - "resultTypeSpecifier" : { - "localId" : "407", - "type" : "TupleTypeSpecifier", - "element" : [ { - "localId" : "408", - "name" : "A", - "elementType" : { - "localId" : "409", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "410", - "name" : "B", - "elementType" : { - "localId" : "411", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } - } ] - }, - "element" : [ { - "localId" : "403", - "name" : "A", - "elementType" : { - "localId" : "404", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } + "element" : [ { + "localId" : "403", + "name" : "A", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "404", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, { + "localId" : "405", + "name" : "B", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "406", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } + } ] + } + } + }, { + "localId" : "424", + "name" : "CastIntegerAsTupleOfInteger", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "424", + "s" : [ { + "value" : [ "", "define ", "CastIntegerAsTupleOfInteger", ": " ] + }, { + "r" : "425", + "s" : [ { + "value" : [ "cast " ] + }, { + "r" : "427", + "s" : [ { + "r" : "426", + "value" : [ "Echo", "(", "5", ")" ] + } ] + }, { + "value" : [ " as " ] + }, { + "r" : "429", + "s" : [ { + "value" : [ "Tuple{" ] + }, { + "r" : "430", + "s" : [ { + "value" : [ "A", " " ] }, { - "localId" : "405", - "name" : "B", - "elementType" : { - "localId" : "406", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } - } ] - } + "r" : "431", + "s" : [ { + "value" : [ "Integer" ] + } ] + } ] + }, { + "value" : [ "}" ] + } ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "TupleTypeSpecifier", + "localId" : "438", + "annotation" : [ ], + "element" : [ { + "localId" : "439", + "name" : "A", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "440", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] } - }, { - "localId" : "424", - "name" : "CastIntegerAsTupleOfInteger", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "424", - "s" : [ { - "value" : [ "","define ","CastIntegerAsTupleOfInteger",": " ] - }, { - "r" : "425", - "s" : [ { - "value" : [ "cast " ] - }, { - "r" : "427", - "s" : [ { - "r" : "426", - "value" : [ "Echo","(","5",")" ] - } ] - }, { - "value" : [ " as " ] - }, { - "r" : "429", - "s" : [ { - "value" : [ "Tuple{" ] - }, { - "r" : "430", - "s" : [ { - "value" : [ "A"," " ] - }, { - "r" : "431", - "s" : [ { - "value" : [ "Integer" ] - } ] - } ] - }, { - "value" : [ "}" ] - } ] - } ] - } ] - } + } ] + }, + "expression" : { + "type" : "As", + "localId" : "425", + "strict" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "TupleTypeSpecifier", + "localId" : "435", + "annotation" : [ ], + "element" : [ { + "localId" : "436", + "name" : "A", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "437", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } ] + }, + "signature" : [ ], + "operand" : { + "type" : "FunctionRef", + "localId" : "427", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "name" : "Echo", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "428", + "name" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] } ], + "operand" : [ { + "type" : "Literal", + "localId" : "426", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "5", + "annotation" : [ ] + } ] + }, + "asTypeSpecifier" : { + "type" : "TupleTypeSpecifier", + "localId" : "429", + "annotation" : [ ], "resultTypeSpecifier" : { - "localId" : "438", - "type" : "TupleTypeSpecifier", - "element" : [ { - "localId" : "439", - "name" : "A", - "elementType" : { - "localId" : "440", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } ] + "type" : "TupleTypeSpecifier", + "localId" : "432", + "annotation" : [ ], + "element" : [ { + "localId" : "433", + "name" : "A", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "434", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } ] }, - "expression" : { - "localId" : "425", - "strict" : true, - "type" : "As", - "resultTypeSpecifier" : { - "localId" : "435", - "type" : "TupleTypeSpecifier", - "element" : [ { - "localId" : "436", - "name" : "A", - "elementType" : { - "localId" : "437", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } ] - }, - "signature" : [ ], - "operand" : { - "localId" : "427", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "name" : "Echo", - "type" : "FunctionRef", - "signature" : [ { - "localId" : "428", - "name" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "426", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal" - } ] - }, - "asTypeSpecifier" : { - "localId" : "429", - "type" : "TupleTypeSpecifier", - "resultTypeSpecifier" : { - "localId" : "432", - "type" : "TupleTypeSpecifier", - "element" : [ { - "localId" : "433", - "name" : "A", - "elementType" : { - "localId" : "434", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } ] - }, - "element" : [ { - "localId" : "430", - "name" : "A", - "elementType" : { - "localId" : "431", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } ] - } - } - }, { - "localId" : "443", - "name" : "CastListAsTupleOfInteger", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "443", + "element" : [ { + "localId" : "430", + "name" : "A", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "431", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } ] + } + } + }, { + "localId" : "443", + "name" : "CastListAsTupleOfInteger", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "443", + "s" : [ { + "value" : [ "", "define ", "CastListAsTupleOfInteger", ": " ] + }, { + "r" : "444", + "s" : [ { + "value" : [ "cast " ] + }, { + "r" : "449", + "s" : [ { + "value" : [ "Echo", "(" ] + }, { + "r" : "445", + "s" : [ { + "r" : "446", + "value" : [ "{", "5", "}" ] + } ] + }, { + "value" : [ ")" ] + } ] + }, { + "value" : [ " as " ] + }, { + "r" : "451", + "s" : [ { + "value" : [ "Tuple{" ] + }, { + "r" : "452", "s" : [ { - "value" : [ "","define ","CastListAsTupleOfInteger",": " ] + "value" : [ "A", " " ] }, { - "r" : "444", - "s" : [ { - "value" : [ "cast " ] - }, { - "r" : "449", - "s" : [ { - "value" : [ "Echo","(" ] - }, { - "r" : "445", - "s" : [ { - "r" : "446", - "value" : [ "{","5","}" ] - } ] - }, { - "value" : [ ")" ] - } ] - }, { - "value" : [ " as " ] - }, { - "r" : "451", - "s" : [ { - "value" : [ "Tuple{" ] - }, { - "r" : "452", - "s" : [ { - "value" : [ "A"," " ] - }, { - "r" : "453", - "s" : [ { - "value" : [ "Integer" ] - } ] - } ] - }, { - "value" : [ "}" ] - } ] - } ] - } ] - } + "r" : "453", + "s" : [ { + "value" : [ "Integer" ] + } ] + } ] + }, { + "value" : [ "}" ] + } ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "TupleTypeSpecifier", + "localId" : "460", + "annotation" : [ ], + "element" : [ { + "localId" : "461", + "name" : "A", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "462", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } ] + }, + "expression" : { + "type" : "As", + "localId" : "444", + "strict" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "TupleTypeSpecifier", + "localId" : "457", + "annotation" : [ ], + "element" : [ { + "localId" : "458", + "name" : "A", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "459", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } ] + }, + "signature" : [ ], + "operand" : { + "type" : "FunctionRef", + "localId" : "449", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "name" : "Echo", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "450", + "name" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] } ], + "operand" : [ { + "type" : "List", + "localId" : "445", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "447", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "448", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "element" : [ { + "type" : "Literal", + "localId" : "446", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "5", + "annotation" : [ ] + } ] + } ] + }, + "asTypeSpecifier" : { + "type" : "TupleTypeSpecifier", + "localId" : "451", + "annotation" : [ ], "resultTypeSpecifier" : { - "localId" : "460", - "type" : "TupleTypeSpecifier", - "element" : [ { - "localId" : "461", - "name" : "A", - "elementType" : { - "localId" : "462", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } ] + "type" : "TupleTypeSpecifier", + "localId" : "454", + "annotation" : [ ], + "element" : [ { + "localId" : "455", + "name" : "A", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "456", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } ] }, - "expression" : { - "localId" : "444", - "strict" : true, - "type" : "As", - "resultTypeSpecifier" : { - "localId" : "457", - "type" : "TupleTypeSpecifier", - "element" : [ { - "localId" : "458", - "name" : "A", - "elementType" : { - "localId" : "459", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } ] - }, - "signature" : [ ], - "operand" : { - "localId" : "449", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "name" : "Echo", - "type" : "FunctionRef", - "signature" : [ { - "localId" : "450", - "name" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "445", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "447", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "448", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "element" : [ { - "localId" : "446", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal" - } ] - } ] - }, - "asTypeSpecifier" : { - "localId" : "451", - "type" : "TupleTypeSpecifier", - "resultTypeSpecifier" : { - "localId" : "454", - "type" : "TupleTypeSpecifier", - "element" : [ { - "localId" : "455", - "name" : "A", - "elementType" : { - "localId" : "456", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } ] - }, - "element" : [ { - "localId" : "452", - "name" : "A", - "elementType" : { - "localId" : "453", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } ] - } - } - }, { - "localId" : "465", - "name" : "CastIntervalAsTupleOfInteger", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "465", - "s" : [ { - "value" : [ "","define ","CastIntervalAsTupleOfInteger",": " ] + "element" : [ { + "localId" : "452", + "name" : "A", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "453", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } ] + } + } + }, { + "localId" : "465", + "name" : "CastIntervalAsTupleOfInteger", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "465", + "s" : [ { + "value" : [ "", "define ", "CastIntervalAsTupleOfInteger", ": " ] + }, { + "r" : "466", + "s" : [ { + "value" : [ "cast " ] + }, { + "r" : "472", + "s" : [ { + "value" : [ "Echo", "(" ] + }, { + "r" : "469", + "s" : [ { + "r" : "467", + "value" : [ "Interval[", "1", ", ", "5", "]" ] + } ] + }, { + "value" : [ ")" ] + } ] + }, { + "value" : [ " as " ] + }, { + "r" : "474", + "s" : [ { + "value" : [ "Tuple{" ] + }, { + "r" : "475", + "s" : [ { + "value" : [ "A", " " ] }, { - "r" : "466", - "s" : [ { - "value" : [ "cast " ] - }, { - "r" : "472", - "s" : [ { - "value" : [ "Echo","(" ] - }, { - "r" : "469", - "s" : [ { - "r" : "467", - "value" : [ "Interval[","1",", ","5","]" ] - } ] - }, { - "value" : [ ")" ] - } ] - }, { - "value" : [ " as " ] - }, { - "r" : "474", - "s" : [ { - "value" : [ "Tuple{" ] - }, { - "r" : "475", - "s" : [ { - "value" : [ "A"," " ] - }, { - "r" : "476", - "s" : [ { - "value" : [ "Integer" ] - } ] - } ] - }, { - "value" : [ "}" ] - } ] - } ] - } ] - } + "r" : "476", + "s" : [ { + "value" : [ "Integer" ] + } ] + } ] + }, { + "value" : [ "}" ] + } ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "TupleTypeSpecifier", + "localId" : "483", + "annotation" : [ ], + "element" : [ { + "localId" : "484", + "name" : "A", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "485", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } ] + }, + "expression" : { + "type" : "As", + "localId" : "466", + "strict" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "TupleTypeSpecifier", + "localId" : "480", + "annotation" : [ ], + "element" : [ { + "localId" : "481", + "name" : "A", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "482", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } ] + }, + "signature" : [ ], + "operand" : { + "type" : "FunctionRef", + "localId" : "472", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "name" : "Echo", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "473", + "name" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] } ], + "operand" : [ { + "type" : "Interval", + "localId" : "469", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "470", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "471", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "low" : { + "type" : "Literal", + "localId" : "467", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "high" : { + "type" : "Literal", + "localId" : "468", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "5", + "annotation" : [ ] + } + } ] + }, + "asTypeSpecifier" : { + "type" : "TupleTypeSpecifier", + "localId" : "474", + "annotation" : [ ], "resultTypeSpecifier" : { - "localId" : "483", - "type" : "TupleTypeSpecifier", - "element" : [ { - "localId" : "484", - "name" : "A", - "elementType" : { - "localId" : "485", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } ] + "type" : "TupleTypeSpecifier", + "localId" : "477", + "annotation" : [ ], + "element" : [ { + "localId" : "478", + "name" : "A", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "479", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } ] }, - "expression" : { - "localId" : "466", - "strict" : true, - "type" : "As", - "resultTypeSpecifier" : { - "localId" : "480", - "type" : "TupleTypeSpecifier", - "element" : [ { - "localId" : "481", - "name" : "A", - "elementType" : { - "localId" : "482", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } ] - }, - "signature" : [ ], - "operand" : { - "localId" : "472", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "name" : "Echo", - "type" : "FunctionRef", - "signature" : [ { - "localId" : "473", - "name" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "469", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "470", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "471", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "467", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "high" : { - "localId" : "468", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal" - } - } ] - }, - "asTypeSpecifier" : { - "localId" : "474", - "type" : "TupleTypeSpecifier", - "resultTypeSpecifier" : { - "localId" : "477", - "type" : "TupleTypeSpecifier", - "element" : [ { - "localId" : "478", - "name" : "A", - "elementType" : { - "localId" : "479", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } ] - }, - "element" : [ { - "localId" : "475", - "name" : "A", - "elementType" : { - "localId" : "476", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - } ] - } - } - } ] - } - } + "element" : [ { + "localId" : "475", + "name" : "A", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "476", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + } ] + } + } + } ] + } + } } /* AsChoiceType @@ -8148,1859 +9114,2104 @@ define CastTupleAsChoiceOfIntegersAndStrings: cast Echo(Tuple{A: 1, B: '2'}) as */ module.exports['AsChoiceType'] = { - "library" : { - "localId" : "0", - "annotation" : [ { - "translatorVersion" : "3.27.0", - "translatorOptions" : "EnableDateRangeOptimization,EnableAnnotations,EnableResultTypes", - "signatureLevel" : "All", - "type" : "CqlToElmInfo" + "library" : { + "localId" : "0", + "annotation" : [ { + "type" : "CqlToElmInfo", + "translatorVersion" : "4.2.0", + "translatorOptions" : "EnableDateRangeOptimization,EnableAnnotations,EnableResultTypes", + "signatureLevel" : "All" + }, { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "457", + "s" : [ { + "value" : [ "", "library TestSnippet version '1'" ] + } ] + } + } ], + "identifier" : { + "id" : "TestSnippet", + "version" : "1" + }, + "schemaIdentifier" : { + "id" : "urn:hl7-org:elm", + "version" : "r1" + }, + "usings" : { + "def" : [ { + "localId" : "1", + "localIdentifier" : "System", + "uri" : "urn:hl7-org:elm-types:r1", + "annotation" : [ ] }, { - "type" : "Annotation", - "s" : { - "r" : "457", + "localId" : "206", + "localIdentifier" : "Simple", + "uri" : "https://github.com/cqframework/cql-execution/simple", + "version" : "1.0.0", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "206", "s" : [ { - "value" : [ "","library TestSnippet version '1'" ] - } ] - } - } ], - "identifier" : { - "id" : "TestSnippet", - "version" : "1" - }, - "schemaIdentifier" : { - "id" : "urn:hl7-org:elm", - "version" : "r1" - }, - "usings" : { - "def" : [ { - "localId" : "1", - "localIdentifier" : "System", - "uri" : "urn:hl7-org:elm-types:r1" - }, { - "localId" : "206", - "localIdentifier" : "Simple", - "uri" : "https://github.com/cqframework/cql-execution/simple", - "version" : "1.0.0", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "206", - "s" : [ { - "value" : [ "","using " ] - }, { - "s" : [ { - "value" : [ "Simple" ] - } ] - }, { - "value" : [ " version '1.0.0'" ] - } ] - } - } ] - } ] - }, - "contexts" : { - "def" : [ { - "localId" : "211", - "name" : "Patient" - } ] - }, - "statements" : { - "def" : [ { - "localId" : "209", - "name" : "Patient", - "context" : "Patient", - "expression" : { - "localId" : "210", - "type" : "SingletonFrom", - "signature" : [ ], - "operand" : { - "localId" : "208", - "dataType" : "{https://github.com/cqframework/cql-execution/simple}Patient", - "type" : "Retrieve", - "include" : [ ], - "codeFilter" : [ ], - "dateFilter" : [ ], - "otherFilter" : [ ] - } - } - }, { - "localId" : "212", + "value" : [ "", "using " ] + }, { + "s" : [ { + "value" : [ "Simple" ] + } ] + }, { + "value" : [ " version '1.0.0'" ] + } ] + } + } ] + } ] + }, + "contexts" : { + "def" : [ { + "localId" : "211", + "name" : "Patient", + "annotation" : [ ] + } ] + }, + "statements" : { + "def" : [ { + "localId" : "209", + "name" : "Patient", + "context" : "Patient", + "annotation" : [ ], + "expression" : { + "type" : "SingletonFrom", + "localId" : "210", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Retrieve", + "localId" : "208", + "dataType" : "{https://github.com/cqframework/cql-execution/simple}Patient", + "annotation" : [ ], + "include" : [ ], + "codeFilter" : [ ], + "dateFilter" : [ ], + "otherFilter" : [ ] + } + } + }, { + "type" : "FunctionDef", + "localId" : "212", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "name" : "Echo", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "212", + "s" : [ { + "value" : [ "", "define function Echo(Val Any): " ] + }, { + "r" : "217", + "s" : [ { + "r" : "217", + "s" : [ { + "value" : [ "Val" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "OperandRef", + "localId" : "217", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "name" : "Val", + "annotation" : [ ] + }, + "operand" : [ { + "localId" : "214", + "name" : "Val", + "annotation" : [ ], + "operandTypeSpecifier" : { + "type" : "NamedTypeSpecifier", + "localId" : "213", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "name" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } + } ] + }, { + "localId" : "220", + "name" : "IntegerAsChoiceOfIntegersAndStrings", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "220", + "s" : [ { + "value" : [ "// fool CQL-to-ELM into letting the casts compile\n", "define ", "IntegerAsChoiceOfIntegersAndStrings", ": " ] + }, { + "r" : "221", + "s" : [ { + "r" : "223", + "s" : [ { + "r" : "222", + "value" : [ "Echo", "(", "5", ")" ] + } ] + }, { + "value" : [ " as " ] + }, { + "r" : "227", + "s" : [ { + "value" : [ "Choice<" ] + }, { + "r" : "225", + "s" : [ { + "value" : [ "Integer" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "226", + "s" : [ { + "value" : [ "String" ] + } ] + }, { + "value" : [ ">" ] + } ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "ChoiceTypeSpecifier", + "localId" : "234", + "annotation" : [ ], + "choice" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "235", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "236", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } ] + }, + "expression" : { + "type" : "As", + "localId" : "221", + "strict" : false, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ChoiceTypeSpecifier", + "localId" : "231", + "annotation" : [ ], + "choice" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "232", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "233", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } ] + }, + "signature" : [ ], + "operand" : { + "type" : "FunctionRef", + "localId" : "223", "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", "name" : "Echo", - "context" : "Patient", - "accessLevel" : "Public", - "type" : "FunctionDef", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "212", - "s" : [ { - "value" : [ "","define function Echo(Val Any): " ] - }, { - "r" : "217", - "s" : [ { - "r" : "217", - "s" : [ { - "value" : [ "Val" ] - } ] - } ] - } ] - } + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "224", + "name" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] } ], - "expression" : { - "localId" : "217", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "name" : "Val", - "type" : "OperandRef" - }, "operand" : [ { - "localId" : "214", - "name" : "Val", - "operandTypeSpecifier" : { - "localId" : "213", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "name" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "NamedTypeSpecifier" - } - } ] - }, { - "localId" : "220", - "name" : "IntegerAsChoiceOfIntegersAndStrings", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "220", - "s" : [ { - "value" : [ "// fool CQL-to-ELM into letting the casts compile\n","define ","IntegerAsChoiceOfIntegersAndStrings",": " ] - }, { - "r" : "221", - "s" : [ { - "r" : "223", - "s" : [ { - "r" : "222", - "value" : [ "Echo","(","5",")" ] - } ] - }, { - "value" : [ " as " ] - }, { - "r" : "227", - "s" : [ { - "value" : [ "Choice<" ] - }, { - "r" : "225", - "s" : [ { - "value" : [ "Integer" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "226", - "s" : [ { - "value" : [ "String" ] - } ] - }, { - "value" : [ ">" ] - } ] - } ] - } ] - } - } ], + "type" : "Literal", + "localId" : "222", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "5", + "annotation" : [ ] + } ] + }, + "asTypeSpecifier" : { + "type" : "ChoiceTypeSpecifier", + "localId" : "227", + "annotation" : [ ], "resultTypeSpecifier" : { - "localId" : "234", - "type" : "ChoiceTypeSpecifier", - "choice" : [ { - "localId" : "235", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "236", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } ] + "type" : "ChoiceTypeSpecifier", + "localId" : "228", + "annotation" : [ ], + "choice" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "229", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "230", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } ] }, - "expression" : { - "localId" : "221", - "strict" : false, - "type" : "As", - "resultTypeSpecifier" : { - "localId" : "231", - "type" : "ChoiceTypeSpecifier", - "choice" : [ { - "localId" : "232", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "233", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" + "choice" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "225", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "226", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } ] + } + } + }, { + "localId" : "239", + "name" : "StringAsChoiceOfIntegersAndStrings", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "239", + "s" : [ { + "value" : [ "", "define ", "StringAsChoiceOfIntegersAndStrings", ": " ] + }, { + "r" : "240", + "s" : [ { + "r" : "243", + "s" : [ { + "value" : [ "Echo", "(" ] + }, { + "r" : "241", + "s" : [ { + "value" : [ "'Foo'" ] + } ] + }, { + "value" : [ ")" ] + } ] + }, { + "value" : [ " as " ] + }, { + "r" : "247", + "s" : [ { + "value" : [ "Choice<" ] + }, { + "r" : "245", + "s" : [ { + "value" : [ "Integer" ] } ] - }, - "signature" : [ ], - "operand" : { - "localId" : "223", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "name" : "Echo", - "type" : "FunctionRef", - "signature" : [ { - "localId" : "224", - "name" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "222", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal" - } ] - }, - "asTypeSpecifier" : { - "localId" : "227", - "type" : "ChoiceTypeSpecifier", - "resultTypeSpecifier" : { - "localId" : "228", - "type" : "ChoiceTypeSpecifier", - "choice" : [ { - "localId" : "229", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "230", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } ] - }, - "choice" : [ { - "localId" : "225", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "226", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" + }, { + "value" : [ ", " ] + }, { + "r" : "246", + "s" : [ { + "value" : [ "String" ] } ] - } - } - }, { - "localId" : "239", - "name" : "StringAsChoiceOfIntegersAndStrings", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "239", - "s" : [ { - "value" : [ "","define ","StringAsChoiceOfIntegersAndStrings",": " ] - }, { - "r" : "240", - "s" : [ { - "r" : "243", - "s" : [ { - "value" : [ "Echo","(" ] - }, { - "r" : "241", - "s" : [ { - "value" : [ "'Foo'" ] - } ] - }, { - "value" : [ ")" ] - } ] - }, { - "value" : [ " as " ] - }, { - "r" : "247", - "s" : [ { - "value" : [ "Choice<" ] - }, { - "r" : "245", - "s" : [ { - "value" : [ "Integer" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "246", - "s" : [ { - "value" : [ "String" ] - } ] - }, { - "value" : [ ">" ] - } ] - } ] - } ] - } + }, { + "value" : [ ">" ] + } ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "ChoiceTypeSpecifier", + "localId" : "254", + "annotation" : [ ], + "choice" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "255", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "256", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } ] + }, + "expression" : { + "type" : "As", + "localId" : "240", + "strict" : false, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ChoiceTypeSpecifier", + "localId" : "251", + "annotation" : [ ], + "choice" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "252", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "253", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } ] + }, + "signature" : [ ], + "operand" : { + "type" : "FunctionRef", + "localId" : "243", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "name" : "Echo", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "244", + "name" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] } ], + "operand" : [ { + "type" : "Literal", + "localId" : "241", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "Foo", + "annotation" : [ ] + } ] + }, + "asTypeSpecifier" : { + "type" : "ChoiceTypeSpecifier", + "localId" : "247", + "annotation" : [ ], "resultTypeSpecifier" : { - "localId" : "254", - "type" : "ChoiceTypeSpecifier", - "choice" : [ { - "localId" : "255", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "256", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } ] + "type" : "ChoiceTypeSpecifier", + "localId" : "248", + "annotation" : [ ], + "choice" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "249", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "250", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } ] }, - "expression" : { - "localId" : "240", - "strict" : false, - "type" : "As", - "resultTypeSpecifier" : { - "localId" : "251", - "type" : "ChoiceTypeSpecifier", - "choice" : [ { - "localId" : "252", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "253", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" + "choice" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "245", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "246", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } ] + } + } + }, { + "localId" : "259", + "name" : "DecimalAsChoiceOfIntegersAndStrings", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "259", + "s" : [ { + "value" : [ "", "define ", "DecimalAsChoiceOfIntegersAndStrings", ": " ] + }, { + "r" : "260", + "s" : [ { + "r" : "262", + "s" : [ { + "r" : "261", + "value" : [ "Echo", "(", "5.5", ")" ] + } ] + }, { + "value" : [ " as " ] + }, { + "r" : "266", + "s" : [ { + "value" : [ "Choice<" ] + }, { + "r" : "264", + "s" : [ { + "value" : [ "Integer" ] } ] - }, - "signature" : [ ], - "operand" : { - "localId" : "243", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "name" : "Echo", - "type" : "FunctionRef", - "signature" : [ { - "localId" : "244", - "name" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "241", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "Foo", - "type" : "Literal" - } ] - }, - "asTypeSpecifier" : { - "localId" : "247", - "type" : "ChoiceTypeSpecifier", - "resultTypeSpecifier" : { - "localId" : "248", - "type" : "ChoiceTypeSpecifier", - "choice" : [ { - "localId" : "249", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "250", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } ] - }, - "choice" : [ { - "localId" : "245", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "246", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" + }, { + "value" : [ ", " ] + }, { + "r" : "265", + "s" : [ { + "value" : [ "String" ] } ] - } - } - }, { - "localId" : "259", - "name" : "DecimalAsChoiceOfIntegersAndStrings", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "259", - "s" : [ { - "value" : [ "","define ","DecimalAsChoiceOfIntegersAndStrings",": " ] - }, { - "r" : "260", - "s" : [ { - "r" : "262", - "s" : [ { - "r" : "261", - "value" : [ "Echo","(","5.5",")" ] - } ] - }, { - "value" : [ " as " ] - }, { - "r" : "266", - "s" : [ { - "value" : [ "Choice<" ] - }, { - "r" : "264", - "s" : [ { - "value" : [ "Integer" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "265", - "s" : [ { - "value" : [ "String" ] - } ] - }, { - "value" : [ ">" ] - } ] - } ] - } ] - } + }, { + "value" : [ ">" ] + } ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "ChoiceTypeSpecifier", + "localId" : "273", + "annotation" : [ ], + "choice" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "274", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "275", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } ] + }, + "expression" : { + "type" : "As", + "localId" : "260", + "strict" : false, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ChoiceTypeSpecifier", + "localId" : "270", + "annotation" : [ ], + "choice" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "271", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "272", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } ] + }, + "signature" : [ ], + "operand" : { + "type" : "FunctionRef", + "localId" : "262", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "name" : "Echo", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "263", + "name" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] } ], + "operand" : [ { + "type" : "Literal", + "localId" : "261", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "5.5", + "annotation" : [ ] + } ] + }, + "asTypeSpecifier" : { + "type" : "ChoiceTypeSpecifier", + "localId" : "266", + "annotation" : [ ], "resultTypeSpecifier" : { - "localId" : "273", - "type" : "ChoiceTypeSpecifier", - "choice" : [ { - "localId" : "274", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "275", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } ] + "type" : "ChoiceTypeSpecifier", + "localId" : "267", + "annotation" : [ ], + "choice" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "268", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "269", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } ] }, - "expression" : { - "localId" : "260", - "strict" : false, - "type" : "As", - "resultTypeSpecifier" : { - "localId" : "270", - "type" : "ChoiceTypeSpecifier", - "choice" : [ { - "localId" : "271", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "272", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" + "choice" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "264", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "265", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } ] + } + } + }, { + "localId" : "278", + "name" : "ListAsChoiceOfIntegersAndStrings", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "278", + "s" : [ { + "value" : [ "", "define ", "ListAsChoiceOfIntegersAndStrings", ": " ] + }, { + "r" : "279", + "s" : [ { + "r" : "286", + "s" : [ { + "value" : [ "Echo", "(" ] + }, { + "r" : "280", + "s" : [ { + "r" : "281", + "value" : [ "{", "5", ", " ] + }, { + "r" : "282", + "s" : [ { + "value" : [ "'a'" ] + } ] + }, { + "value" : [ "}" ] + } ] + }, { + "value" : [ ")" ] + } ] + }, { + "value" : [ " as " ] + }, { + "r" : "290", + "s" : [ { + "value" : [ "Choice<" ] + }, { + "r" : "288", + "s" : [ { + "value" : [ "Integer" ] } ] - }, - "signature" : [ ], - "operand" : { - "localId" : "262", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "name" : "Echo", - "type" : "FunctionRef", - "signature" : [ { - "localId" : "263", - "name" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "261", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "5.5", - "type" : "Literal" - } ] - }, - "asTypeSpecifier" : { - "localId" : "266", - "type" : "ChoiceTypeSpecifier", - "resultTypeSpecifier" : { - "localId" : "267", - "type" : "ChoiceTypeSpecifier", - "choice" : [ { - "localId" : "268", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "269", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } ] - }, - "choice" : [ { - "localId" : "264", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "265", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" + }, { + "value" : [ ", " ] + }, { + "r" : "289", + "s" : [ { + "value" : [ "String" ] } ] - } - } - }, { - "localId" : "278", - "name" : "ListAsChoiceOfIntegersAndStrings", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "278", - "s" : [ { - "value" : [ "","define ","ListAsChoiceOfIntegersAndStrings",": " ] - }, { - "r" : "279", - "s" : [ { - "r" : "286", - "s" : [ { - "value" : [ "Echo","(" ] - }, { - "r" : "280", - "s" : [ { - "r" : "281", - "value" : [ "{","5",", " ] - }, { - "r" : "282", - "s" : [ { - "value" : [ "'a'" ] - } ] - }, { - "value" : [ "}" ] - } ] - }, { - "value" : [ ")" ] - } ] - }, { - "value" : [ " as " ] - }, { - "r" : "290", - "s" : [ { - "value" : [ "Choice<" ] - }, { - "r" : "288", - "s" : [ { - "value" : [ "Integer" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "289", - "s" : [ { - "value" : [ "String" ] - } ] - }, { - "value" : [ ">" ] - } ] - } ] - } ] - } + }, { + "value" : [ ">" ] + } ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "ChoiceTypeSpecifier", + "localId" : "297", + "annotation" : [ ], + "choice" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "298", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "299", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } ] + }, + "expression" : { + "type" : "As", + "localId" : "279", + "strict" : false, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ChoiceTypeSpecifier", + "localId" : "294", + "annotation" : [ ], + "choice" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "295", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "296", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } ] + }, + "signature" : [ ], + "operand" : { + "type" : "FunctionRef", + "localId" : "286", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "name" : "Echo", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "287", + "name" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] } ], + "operand" : [ { + "type" : "List", + "localId" : "280", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "284", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "285", + "name" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } + }, + "element" : [ { + "type" : "Literal", + "localId" : "281", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "5", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "282", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "a", + "annotation" : [ ] + } ] + } ] + }, + "asTypeSpecifier" : { + "type" : "ChoiceTypeSpecifier", + "localId" : "290", + "annotation" : [ ], "resultTypeSpecifier" : { - "localId" : "297", - "type" : "ChoiceTypeSpecifier", - "choice" : [ { - "localId" : "298", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "299", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } ] + "type" : "ChoiceTypeSpecifier", + "localId" : "291", + "annotation" : [ ], + "choice" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "292", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "293", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } ] }, - "expression" : { - "localId" : "279", - "strict" : false, - "type" : "As", - "resultTypeSpecifier" : { - "localId" : "294", - "type" : "ChoiceTypeSpecifier", - "choice" : [ { - "localId" : "295", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "296", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } ] - }, - "signature" : [ ], - "operand" : { - "localId" : "286", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "name" : "Echo", - "type" : "FunctionRef", - "signature" : [ { - "localId" : "287", - "name" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "280", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "284", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "285", - "name" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "NamedTypeSpecifier" - } - }, - "element" : [ { - "localId" : "281", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal" - }, { - "localId" : "282", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "a", - "type" : "Literal" - } ] - } ] - }, - "asTypeSpecifier" : { - "localId" : "290", - "type" : "ChoiceTypeSpecifier", - "resultTypeSpecifier" : { - "localId" : "291", - "type" : "ChoiceTypeSpecifier", - "choice" : [ { - "localId" : "292", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "293", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } ] - }, - "choice" : [ { - "localId" : "288", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "289", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" + "choice" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "288", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "289", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } ] + } + } + }, { + "localId" : "302", + "name" : "IntervalAsChoiceOfIntegersAndStrings", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "302", + "s" : [ { + "value" : [ "", "define ", "IntervalAsChoiceOfIntegersAndStrings", ": " ] + }, { + "r" : "303", + "s" : [ { + "r" : "309", + "s" : [ { + "value" : [ "Echo", "(" ] + }, { + "r" : "306", + "s" : [ { + "r" : "304", + "value" : [ "Interval[", "1", ", ", "5", "]" ] + } ] + }, { + "value" : [ ")" ] + } ] + }, { + "value" : [ " as " ] + }, { + "r" : "313", + "s" : [ { + "value" : [ "Choice<" ] + }, { + "r" : "311", + "s" : [ { + "value" : [ "Integer" ] } ] - } - } - }, { - "localId" : "302", - "name" : "IntervalAsChoiceOfIntegersAndStrings", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "302", - "s" : [ { - "value" : [ "","define ","IntervalAsChoiceOfIntegersAndStrings",": " ] - }, { - "r" : "303", - "s" : [ { - "r" : "309", - "s" : [ { - "value" : [ "Echo","(" ] - }, { - "r" : "306", - "s" : [ { - "r" : "304", - "value" : [ "Interval[","1",", ","5","]" ] - } ] - }, { - "value" : [ ")" ] - } ] - }, { - "value" : [ " as " ] - }, { - "r" : "313", - "s" : [ { - "value" : [ "Choice<" ] - }, { - "r" : "311", - "s" : [ { - "value" : [ "Integer" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "312", - "s" : [ { - "value" : [ "String" ] - } ] - }, { - "value" : [ ">" ] - } ] - } ] - } ] - } + }, { + "value" : [ ", " ] + }, { + "r" : "312", + "s" : [ { + "value" : [ "String" ] + } ] + }, { + "value" : [ ">" ] + } ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "ChoiceTypeSpecifier", + "localId" : "320", + "annotation" : [ ], + "choice" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "321", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "322", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } ] + }, + "expression" : { + "type" : "As", + "localId" : "303", + "strict" : false, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ChoiceTypeSpecifier", + "localId" : "317", + "annotation" : [ ], + "choice" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "318", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "319", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } ] + }, + "signature" : [ ], + "operand" : { + "type" : "FunctionRef", + "localId" : "309", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "name" : "Echo", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "310", + "name" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] } ], - "resultTypeSpecifier" : { - "localId" : "320", - "type" : "ChoiceTypeSpecifier", - "choice" : [ { - "localId" : "321", + "operand" : [ { + "type" : "Interval", + "localId" : "306", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "307", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "308", "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "322", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } ] + "annotation" : [ ] + } + }, + "low" : { + "type" : "Literal", + "localId" : "304", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "high" : { + "type" : "Literal", + "localId" : "305", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "5", + "annotation" : [ ] + } + } ] + }, + "asTypeSpecifier" : { + "type" : "ChoiceTypeSpecifier", + "localId" : "313", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ChoiceTypeSpecifier", + "localId" : "314", + "annotation" : [ ], + "choice" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "315", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "316", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } ] }, - "expression" : { - "localId" : "303", - "strict" : false, - "type" : "As", - "resultTypeSpecifier" : { - "localId" : "317", - "type" : "ChoiceTypeSpecifier", - "choice" : [ { - "localId" : "318", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "319", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } ] - }, - "signature" : [ ], - "operand" : { - "localId" : "309", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "name" : "Echo", - "type" : "FunctionRef", - "signature" : [ { - "localId" : "310", - "name" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "306", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "307", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "308", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "304", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "high" : { - "localId" : "305", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal" - } - } ] - }, - "asTypeSpecifier" : { - "localId" : "313", - "type" : "ChoiceTypeSpecifier", - "resultTypeSpecifier" : { - "localId" : "314", - "type" : "ChoiceTypeSpecifier", - "choice" : [ { - "localId" : "315", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "316", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } ] - }, - "choice" : [ { - "localId" : "311", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "312", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" + "choice" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "311", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "312", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } ] + } + } + }, { + "localId" : "325", + "name" : "TupleAsChoiceOfIntegersAndStrings", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "325", + "s" : [ { + "value" : [ "", "define ", "TupleAsChoiceOfIntegersAndStrings", ": " ] + }, { + "r" : "326", + "s" : [ { + "r" : "336", + "s" : [ { + "value" : [ "Echo", "(" ] + }, { + "r" : "327", + "s" : [ { + "value" : [ "Tuple{" ] + }, { + "s" : [ { + "r" : "328", + "value" : [ "A", ": ", "1" ] + } ] + }, { + "value" : [ ", " ] + }, { + "s" : [ { + "value" : [ "B", ": " ] + }, { + "r" : "329", + "s" : [ { + "value" : [ "'2'" ] + } ] + } ] + }, { + "value" : [ "}" ] + } ] + }, { + "value" : [ ")" ] + } ] + }, { + "value" : [ " as " ] + }, { + "r" : "340", + "s" : [ { + "value" : [ "Choice<" ] + }, { + "r" : "338", + "s" : [ { + "value" : [ "Integer" ] } ] - } - } - }, { - "localId" : "325", - "name" : "TupleAsChoiceOfIntegersAndStrings", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "325", + }, { + "value" : [ ", " ] + }, { + "r" : "339", "s" : [ { - "value" : [ "","define ","TupleAsChoiceOfIntegersAndStrings",": " ] - }, { - "r" : "326", - "s" : [ { - "r" : "336", - "s" : [ { - "value" : [ "Echo","(" ] - }, { - "r" : "327", - "s" : [ { - "value" : [ "Tuple{" ] - }, { - "s" : [ { - "r" : "328", - "value" : [ "A",": ","1" ] - } ] - }, { - "value" : [ ", " ] - }, { - "s" : [ { - "value" : [ "B",": " ] - }, { - "r" : "329", - "s" : [ { - "value" : [ "'2'" ] - } ] - } ] - }, { - "value" : [ "}" ] - } ] - }, { - "value" : [ ")" ] - } ] - }, { - "value" : [ " as " ] - }, { - "r" : "340", - "s" : [ { - "value" : [ "Choice<" ] - }, { - "r" : "338", - "s" : [ { - "value" : [ "Integer" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "339", - "s" : [ { - "value" : [ "String" ] - } ] - }, { - "value" : [ ">" ] - } ] - } ] - } ] - } - } ], - "resultTypeSpecifier" : { - "localId" : "347", - "type" : "ChoiceTypeSpecifier", - "choice" : [ { - "localId" : "348", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "349", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } ] - }, - "expression" : { - "localId" : "326", - "strict" : false, - "type" : "As", - "resultTypeSpecifier" : { - "localId" : "344", - "type" : "ChoiceTypeSpecifier", - "choice" : [ { - "localId" : "345", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "346", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } ] - }, - "signature" : [ ], - "operand" : { - "localId" : "336", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "name" : "Echo", - "type" : "FunctionRef", - "signature" : [ { - "localId" : "337", - "name" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "327", - "type" : "Tuple", - "resultTypeSpecifier" : { - "localId" : "331", - "type" : "TupleTypeSpecifier", - "element" : [ { - "localId" : "332", - "name" : "A", - "elementType" : { - "localId" : "333", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "334", - "name" : "B", - "elementType" : { - "localId" : "335", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } - } ] - }, - "element" : [ { - "name" : "A", - "value" : { - "localId" : "328", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - } - }, { - "name" : "B", - "value" : { - "localId" : "329", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "2", - "type" : "Literal" - } - } ] - } ] - }, - "asTypeSpecifier" : { - "localId" : "340", - "type" : "ChoiceTypeSpecifier", - "resultTypeSpecifier" : { - "localId" : "341", - "type" : "ChoiceTypeSpecifier", - "choice" : [ { - "localId" : "342", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "343", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } ] - }, - "choice" : [ { - "localId" : "338", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "339", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" + "value" : [ "String" ] } ] - } - } - }, { - "localId" : "352", - "name" : "CastIntegerAsChoiceOfIntegersAndStrings", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "352", - "s" : [ { - "value" : [ "","define ","CastIntegerAsChoiceOfIntegersAndStrings",": " ] - }, { - "r" : "353", - "s" : [ { - "value" : [ "cast " ] - }, { - "r" : "355", - "s" : [ { - "r" : "354", - "value" : [ "Echo","(","5",")" ] - } ] - }, { - "value" : [ " as " ] - }, { - "r" : "359", - "s" : [ { - "value" : [ "Choice<" ] - }, { - "r" : "357", - "s" : [ { - "value" : [ "Integer" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "358", - "s" : [ { - "value" : [ "String" ] - } ] - }, { - "value" : [ ">" ] - } ] - } ] - } ] - } + }, { + "value" : [ ">" ] + } ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "ChoiceTypeSpecifier", + "localId" : "347", + "annotation" : [ ], + "choice" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "348", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "349", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } ] + }, + "expression" : { + "type" : "As", + "localId" : "326", + "strict" : false, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ChoiceTypeSpecifier", + "localId" : "344", + "annotation" : [ ], + "choice" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "345", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "346", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } ] + }, + "signature" : [ ], + "operand" : { + "type" : "FunctionRef", + "localId" : "336", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "name" : "Echo", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "337", + "name" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] } ], + "operand" : [ { + "type" : "Tuple", + "localId" : "327", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "TupleTypeSpecifier", + "localId" : "331", + "annotation" : [ ], + "element" : [ { + "localId" : "332", + "name" : "A", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "333", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, { + "localId" : "334", + "name" : "B", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "335", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } + } ] + }, + "element" : [ { + "name" : "A", + "value" : { + "type" : "Literal", + "localId" : "328", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + } + }, { + "name" : "B", + "value" : { + "type" : "Literal", + "localId" : "329", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "2", + "annotation" : [ ] + } + } ] + } ] + }, + "asTypeSpecifier" : { + "type" : "ChoiceTypeSpecifier", + "localId" : "340", + "annotation" : [ ], "resultTypeSpecifier" : { - "localId" : "366", - "type" : "ChoiceTypeSpecifier", - "choice" : [ { - "localId" : "367", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "368", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } ] + "type" : "ChoiceTypeSpecifier", + "localId" : "341", + "annotation" : [ ], + "choice" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "342", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "343", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } ] }, - "expression" : { - "localId" : "353", - "strict" : true, - "type" : "As", - "resultTypeSpecifier" : { - "localId" : "363", - "type" : "ChoiceTypeSpecifier", - "choice" : [ { - "localId" : "364", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "365", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" + "choice" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "338", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "339", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } ] + } + } + }, { + "localId" : "352", + "name" : "CastIntegerAsChoiceOfIntegersAndStrings", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "352", + "s" : [ { + "value" : [ "", "define ", "CastIntegerAsChoiceOfIntegersAndStrings", ": " ] + }, { + "r" : "353", + "s" : [ { + "value" : [ "cast " ] + }, { + "r" : "355", + "s" : [ { + "r" : "354", + "value" : [ "Echo", "(", "5", ")" ] + } ] + }, { + "value" : [ " as " ] + }, { + "r" : "359", + "s" : [ { + "value" : [ "Choice<" ] + }, { + "r" : "357", + "s" : [ { + "value" : [ "Integer" ] } ] - }, - "signature" : [ ], - "operand" : { - "localId" : "355", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "name" : "Echo", - "type" : "FunctionRef", - "signature" : [ { - "localId" : "356", - "name" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "354", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal" - } ] - }, - "asTypeSpecifier" : { - "localId" : "359", - "type" : "ChoiceTypeSpecifier", - "resultTypeSpecifier" : { - "localId" : "360", - "type" : "ChoiceTypeSpecifier", - "choice" : [ { - "localId" : "361", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "362", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } ] - }, - "choice" : [ { - "localId" : "357", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "358", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" + }, { + "value" : [ ", " ] + }, { + "r" : "358", + "s" : [ { + "value" : [ "String" ] } ] - } - } - }, { - "localId" : "371", - "name" : "CastStringAsChoiceOfIntegersAndStrings", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "371", - "s" : [ { - "value" : [ "","define ","CastStringAsChoiceOfIntegersAndStrings",": " ] - }, { - "r" : "372", - "s" : [ { - "value" : [ "cast " ] - }, { - "r" : "375", - "s" : [ { - "value" : [ "Echo","(" ] - }, { - "r" : "373", - "s" : [ { - "value" : [ "'Foo'" ] - } ] - }, { - "value" : [ ")" ] - } ] - }, { - "value" : [ " as " ] - }, { - "r" : "379", - "s" : [ { - "value" : [ "Choice<" ] - }, { - "r" : "377", - "s" : [ { - "value" : [ "Integer" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "378", - "s" : [ { - "value" : [ "String" ] - } ] - }, { - "value" : [ ">" ] - } ] - } ] - } ] - } + }, { + "value" : [ ">" ] + } ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "ChoiceTypeSpecifier", + "localId" : "366", + "annotation" : [ ], + "choice" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "367", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "368", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } ] + }, + "expression" : { + "type" : "As", + "localId" : "353", + "strict" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ChoiceTypeSpecifier", + "localId" : "363", + "annotation" : [ ], + "choice" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "364", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "365", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } ] + }, + "signature" : [ ], + "operand" : { + "type" : "FunctionRef", + "localId" : "355", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "name" : "Echo", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "356", + "name" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] } ], + "operand" : [ { + "type" : "Literal", + "localId" : "354", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "5", + "annotation" : [ ] + } ] + }, + "asTypeSpecifier" : { + "type" : "ChoiceTypeSpecifier", + "localId" : "359", + "annotation" : [ ], "resultTypeSpecifier" : { - "localId" : "386", - "type" : "ChoiceTypeSpecifier", - "choice" : [ { - "localId" : "387", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "388", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } ] + "type" : "ChoiceTypeSpecifier", + "localId" : "360", + "annotation" : [ ], + "choice" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "361", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "362", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } ] }, - "expression" : { - "localId" : "372", - "strict" : true, - "type" : "As", - "resultTypeSpecifier" : { - "localId" : "383", - "type" : "ChoiceTypeSpecifier", - "choice" : [ { - "localId" : "384", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "385", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } ] - }, - "signature" : [ ], - "operand" : { - "localId" : "375", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "name" : "Echo", - "type" : "FunctionRef", - "signature" : [ { - "localId" : "376", - "name" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "373", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "Foo", - "type" : "Literal" - } ] - }, - "asTypeSpecifier" : { - "localId" : "379", - "type" : "ChoiceTypeSpecifier", - "resultTypeSpecifier" : { - "localId" : "380", - "type" : "ChoiceTypeSpecifier", - "choice" : [ { - "localId" : "381", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "382", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } ] - }, - "choice" : [ { - "localId" : "377", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "378", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" + "choice" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "357", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "358", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } ] + } + } + }, { + "localId" : "371", + "name" : "CastStringAsChoiceOfIntegersAndStrings", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "371", + "s" : [ { + "value" : [ "", "define ", "CastStringAsChoiceOfIntegersAndStrings", ": " ] + }, { + "r" : "372", + "s" : [ { + "value" : [ "cast " ] + }, { + "r" : "375", + "s" : [ { + "value" : [ "Echo", "(" ] + }, { + "r" : "373", + "s" : [ { + "value" : [ "'Foo'" ] + } ] + }, { + "value" : [ ")" ] + } ] + }, { + "value" : [ " as " ] + }, { + "r" : "379", + "s" : [ { + "value" : [ "Choice<" ] + }, { + "r" : "377", + "s" : [ { + "value" : [ "Integer" ] } ] - } - } - }, { - "localId" : "391", - "name" : "CastDecimalAsChoiceOfIntegersAndStrings", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "391", + }, { + "value" : [ ", " ] + }, { + "r" : "378", "s" : [ { - "value" : [ "","define ","CastDecimalAsChoiceOfIntegersAndStrings",": " ] - }, { - "r" : "392", - "s" : [ { - "value" : [ "cast " ] - }, { - "r" : "394", - "s" : [ { - "r" : "393", - "value" : [ "Echo","(","5.5",")" ] - } ] - }, { - "value" : [ " as " ] - }, { - "r" : "398", - "s" : [ { - "value" : [ "Choice<" ] - }, { - "r" : "396", - "s" : [ { - "value" : [ "Integer" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "397", - "s" : [ { - "value" : [ "String" ] - } ] - }, { - "value" : [ ">" ] - } ] - } ] - } ] - } + "value" : [ "String" ] + } ] + }, { + "value" : [ ">" ] + } ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "ChoiceTypeSpecifier", + "localId" : "386", + "annotation" : [ ], + "choice" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "387", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "388", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } ] + }, + "expression" : { + "type" : "As", + "localId" : "372", + "strict" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ChoiceTypeSpecifier", + "localId" : "383", + "annotation" : [ ], + "choice" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "384", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "385", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } ] + }, + "signature" : [ ], + "operand" : { + "type" : "FunctionRef", + "localId" : "375", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "name" : "Echo", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "376", + "name" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] } ], + "operand" : [ { + "type" : "Literal", + "localId" : "373", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "Foo", + "annotation" : [ ] + } ] + }, + "asTypeSpecifier" : { + "type" : "ChoiceTypeSpecifier", + "localId" : "379", + "annotation" : [ ], "resultTypeSpecifier" : { - "localId" : "405", - "type" : "ChoiceTypeSpecifier", - "choice" : [ { - "localId" : "406", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "407", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } ] + "type" : "ChoiceTypeSpecifier", + "localId" : "380", + "annotation" : [ ], + "choice" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "381", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "382", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } ] }, - "expression" : { - "localId" : "392", - "strict" : true, - "type" : "As", - "resultTypeSpecifier" : { - "localId" : "402", - "type" : "ChoiceTypeSpecifier", - "choice" : [ { - "localId" : "403", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "404", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" + "choice" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "377", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "378", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } ] + } + } + }, { + "localId" : "391", + "name" : "CastDecimalAsChoiceOfIntegersAndStrings", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "391", + "s" : [ { + "value" : [ "", "define ", "CastDecimalAsChoiceOfIntegersAndStrings", ": " ] + }, { + "r" : "392", + "s" : [ { + "value" : [ "cast " ] + }, { + "r" : "394", + "s" : [ { + "r" : "393", + "value" : [ "Echo", "(", "5.5", ")" ] + } ] + }, { + "value" : [ " as " ] + }, { + "r" : "398", + "s" : [ { + "value" : [ "Choice<" ] + }, { + "r" : "396", + "s" : [ { + "value" : [ "Integer" ] } ] - }, - "signature" : [ ], - "operand" : { - "localId" : "394", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "name" : "Echo", - "type" : "FunctionRef", - "signature" : [ { - "localId" : "395", - "name" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "393", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "5.5", - "type" : "Literal" - } ] - }, - "asTypeSpecifier" : { - "localId" : "398", - "type" : "ChoiceTypeSpecifier", - "resultTypeSpecifier" : { - "localId" : "399", - "type" : "ChoiceTypeSpecifier", - "choice" : [ { - "localId" : "400", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "401", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } ] - }, - "choice" : [ { - "localId" : "396", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "397", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" + }, { + "value" : [ ", " ] + }, { + "r" : "397", + "s" : [ { + "value" : [ "String" ] } ] - } - } - }, { - "localId" : "410", - "name" : "CastListAsChoiceOfIntegersAndStrings", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "410", - "s" : [ { - "value" : [ "","define ","CastListAsChoiceOfIntegersAndStrings",": " ] - }, { - "r" : "411", - "s" : [ { - "value" : [ "cast " ] - }, { - "r" : "418", - "s" : [ { - "value" : [ "Echo","(" ] - }, { - "r" : "412", - "s" : [ { - "r" : "413", - "value" : [ "{","5",", " ] - }, { - "r" : "414", - "s" : [ { - "value" : [ "'a'" ] - } ] - }, { - "value" : [ "}" ] - } ] - }, { - "value" : [ ")" ] - } ] - }, { - "value" : [ " as " ] - }, { - "r" : "422", - "s" : [ { - "value" : [ "Choice<" ] - }, { - "r" : "420", - "s" : [ { - "value" : [ "Integer" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "421", - "s" : [ { - "value" : [ "String" ] - } ] - }, { - "value" : [ ">" ] - } ] - } ] - } ] - } + }, { + "value" : [ ">" ] + } ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "ChoiceTypeSpecifier", + "localId" : "405", + "annotation" : [ ], + "choice" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "406", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "407", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } ] + }, + "expression" : { + "type" : "As", + "localId" : "392", + "strict" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ChoiceTypeSpecifier", + "localId" : "402", + "annotation" : [ ], + "choice" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "403", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "404", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } ] + }, + "signature" : [ ], + "operand" : { + "type" : "FunctionRef", + "localId" : "394", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "name" : "Echo", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "395", + "name" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] } ], + "operand" : [ { + "type" : "Literal", + "localId" : "393", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "5.5", + "annotation" : [ ] + } ] + }, + "asTypeSpecifier" : { + "type" : "ChoiceTypeSpecifier", + "localId" : "398", + "annotation" : [ ], "resultTypeSpecifier" : { - "localId" : "429", - "type" : "ChoiceTypeSpecifier", - "choice" : [ { - "localId" : "430", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "431", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } ] + "type" : "ChoiceTypeSpecifier", + "localId" : "399", + "annotation" : [ ], + "choice" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "400", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "401", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } ] }, - "expression" : { - "localId" : "411", - "strict" : true, - "type" : "As", - "resultTypeSpecifier" : { - "localId" : "426", - "type" : "ChoiceTypeSpecifier", - "choice" : [ { - "localId" : "427", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "428", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } ] - }, - "signature" : [ ], - "operand" : { - "localId" : "418", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "name" : "Echo", - "type" : "FunctionRef", - "signature" : [ { - "localId" : "419", - "name" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "412", - "type" : "List", - "resultTypeSpecifier" : { - "localId" : "416", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "417", - "name" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "NamedTypeSpecifier" - } - }, - "element" : [ { - "localId" : "413", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal" - }, { - "localId" : "414", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "a", - "type" : "Literal" - } ] - } ] - }, - "asTypeSpecifier" : { - "localId" : "422", - "type" : "ChoiceTypeSpecifier", - "resultTypeSpecifier" : { - "localId" : "423", - "type" : "ChoiceTypeSpecifier", - "choice" : [ { - "localId" : "424", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "425", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } ] - }, - "choice" : [ { - "localId" : "420", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "421", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" + "choice" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "396", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "397", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } ] + } + } + }, { + "localId" : "410", + "name" : "CastListAsChoiceOfIntegersAndStrings", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "410", + "s" : [ { + "value" : [ "", "define ", "CastListAsChoiceOfIntegersAndStrings", ": " ] + }, { + "r" : "411", + "s" : [ { + "value" : [ "cast " ] + }, { + "r" : "418", + "s" : [ { + "value" : [ "Echo", "(" ] + }, { + "r" : "412", + "s" : [ { + "r" : "413", + "value" : [ "{", "5", ", " ] + }, { + "r" : "414", + "s" : [ { + "value" : [ "'a'" ] + } ] + }, { + "value" : [ "}" ] + } ] + }, { + "value" : [ ")" ] + } ] + }, { + "value" : [ " as " ] + }, { + "r" : "422", + "s" : [ { + "value" : [ "Choice<" ] + }, { + "r" : "420", + "s" : [ { + "value" : [ "Integer" ] } ] - } - } - }, { - "localId" : "434", - "name" : "CastIntervalAsChoiceOfIntegersAndStrings", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "434", - "s" : [ { - "value" : [ "","define ","CastIntervalAsChoiceOfIntegersAndStrings",": " ] - }, { - "r" : "435", - "s" : [ { - "value" : [ "cast " ] - }, { - "r" : "441", - "s" : [ { - "value" : [ "Echo","(" ] - }, { - "r" : "438", - "s" : [ { - "r" : "436", - "value" : [ "Interval[","1",", ","5","]" ] - } ] - }, { - "value" : [ ")" ] - } ] - }, { - "value" : [ " as " ] - }, { - "r" : "445", - "s" : [ { - "value" : [ "Choice<" ] - }, { - "r" : "443", - "s" : [ { - "value" : [ "Integer" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "444", - "s" : [ { - "value" : [ "String" ] - } ] - }, { - "value" : [ ">" ] - } ] - } ] - } ] - } + }, { + "value" : [ ", " ] + }, { + "r" : "421", + "s" : [ { + "value" : [ "String" ] + } ] + }, { + "value" : [ ">" ] + } ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "ChoiceTypeSpecifier", + "localId" : "429", + "annotation" : [ ], + "choice" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "430", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "431", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } ] + }, + "expression" : { + "type" : "As", + "localId" : "411", + "strict" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ChoiceTypeSpecifier", + "localId" : "426", + "annotation" : [ ], + "choice" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "427", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "428", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } ] + }, + "signature" : [ ], + "operand" : { + "type" : "FunctionRef", + "localId" : "418", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "name" : "Echo", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "419", + "name" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] } ], + "operand" : [ { + "type" : "List", + "localId" : "412", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "416", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "417", + "name" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } + }, + "element" : [ { + "type" : "Literal", + "localId" : "413", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "5", + "annotation" : [ ] + }, { + "type" : "Literal", + "localId" : "414", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "a", + "annotation" : [ ] + } ] + } ] + }, + "asTypeSpecifier" : { + "type" : "ChoiceTypeSpecifier", + "localId" : "422", + "annotation" : [ ], "resultTypeSpecifier" : { - "localId" : "452", - "type" : "ChoiceTypeSpecifier", - "choice" : [ { - "localId" : "453", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "454", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } ] + "type" : "ChoiceTypeSpecifier", + "localId" : "423", + "annotation" : [ ], + "choice" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "424", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "425", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } ] }, - "expression" : { - "localId" : "435", - "strict" : true, - "type" : "As", - "resultTypeSpecifier" : { - "localId" : "449", - "type" : "ChoiceTypeSpecifier", - "choice" : [ { - "localId" : "450", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "451", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } ] - }, - "signature" : [ ], - "operand" : { - "localId" : "441", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "name" : "Echo", - "type" : "FunctionRef", - "signature" : [ { - "localId" : "442", - "name" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "438", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "439", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "440", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "436", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "high" : { - "localId" : "437", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal" - } - } ] - }, - "asTypeSpecifier" : { - "localId" : "445", - "type" : "ChoiceTypeSpecifier", - "resultTypeSpecifier" : { - "localId" : "446", - "type" : "ChoiceTypeSpecifier", - "choice" : [ { - "localId" : "447", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "448", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } ] - }, - "choice" : [ { - "localId" : "443", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "444", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" + "choice" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "420", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "421", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } ] + } + } + }, { + "localId" : "434", + "name" : "CastIntervalAsChoiceOfIntegersAndStrings", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "434", + "s" : [ { + "value" : [ "", "define ", "CastIntervalAsChoiceOfIntegersAndStrings", ": " ] + }, { + "r" : "435", + "s" : [ { + "value" : [ "cast " ] + }, { + "r" : "441", + "s" : [ { + "value" : [ "Echo", "(" ] + }, { + "r" : "438", + "s" : [ { + "r" : "436", + "value" : [ "Interval[", "1", ", ", "5", "]" ] + } ] + }, { + "value" : [ ")" ] + } ] + }, { + "value" : [ " as " ] + }, { + "r" : "445", + "s" : [ { + "value" : [ "Choice<" ] + }, { + "r" : "443", + "s" : [ { + "value" : [ "Integer" ] } ] - } - } - }, { - "localId" : "457", - "name" : "CastTupleAsChoiceOfIntegersAndStrings", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "457", - "s" : [ { - "value" : [ "","define ","CastTupleAsChoiceOfIntegersAndStrings",": " ] - }, { - "r" : "458", - "s" : [ { - "value" : [ "cast " ] - }, { - "r" : "468", - "s" : [ { - "value" : [ "Echo","(" ] - }, { - "r" : "459", - "s" : [ { - "value" : [ "Tuple{" ] - }, { - "s" : [ { - "r" : "460", - "value" : [ "A",": ","1" ] - } ] - }, { - "value" : [ ", " ] - }, { - "s" : [ { - "value" : [ "B",": " ] - }, { - "r" : "461", - "s" : [ { - "value" : [ "'2'" ] - } ] - } ] - }, { - "value" : [ "}" ] - } ] - }, { - "value" : [ ")" ] - } ] - }, { - "value" : [ " as " ] - }, { - "r" : "472", - "s" : [ { - "value" : [ "Choice<" ] - }, { - "r" : "470", - "s" : [ { - "value" : [ "Integer" ] - } ] - }, { - "value" : [ ", " ] - }, { - "r" : "471", - "s" : [ { - "value" : [ "String" ] - } ] - }, { - "value" : [ ">" ] - } ] - } ] - } ] - } + }, { + "value" : [ ", " ] + }, { + "r" : "444", + "s" : [ { + "value" : [ "String" ] + } ] + }, { + "value" : [ ">" ] + } ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "ChoiceTypeSpecifier", + "localId" : "452", + "annotation" : [ ], + "choice" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "453", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "454", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } ] + }, + "expression" : { + "type" : "As", + "localId" : "435", + "strict" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ChoiceTypeSpecifier", + "localId" : "449", + "annotation" : [ ], + "choice" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "450", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "451", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } ] + }, + "signature" : [ ], + "operand" : { + "type" : "FunctionRef", + "localId" : "441", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "name" : "Echo", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "442", + "name" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] } ], - "resultTypeSpecifier" : { - "localId" : "479", - "type" : "ChoiceTypeSpecifier", - "choice" : [ { - "localId" : "480", + "operand" : [ { + "type" : "Interval", + "localId" : "438", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "439", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "440", "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "481", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } ] + "annotation" : [ ] + } + }, + "low" : { + "type" : "Literal", + "localId" : "436", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "high" : { + "type" : "Literal", + "localId" : "437", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "5", + "annotation" : [ ] + } + } ] + }, + "asTypeSpecifier" : { + "type" : "ChoiceTypeSpecifier", + "localId" : "445", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ChoiceTypeSpecifier", + "localId" : "446", + "annotation" : [ ], + "choice" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "447", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "448", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } ] }, - "expression" : { - "localId" : "458", - "strict" : true, - "type" : "As", - "resultTypeSpecifier" : { - "localId" : "476", - "type" : "ChoiceTypeSpecifier", - "choice" : [ { - "localId" : "477", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "478", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } ] - }, - "signature" : [ ], - "operand" : { - "localId" : "468", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "name" : "Echo", - "type" : "FunctionRef", - "signature" : [ { - "localId" : "469", - "name" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "459", - "type" : "Tuple", - "resultTypeSpecifier" : { - "localId" : "463", - "type" : "TupleTypeSpecifier", - "element" : [ { - "localId" : "464", - "name" : "A", - "elementType" : { - "localId" : "465", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, { - "localId" : "466", - "name" : "B", - "elementType" : { - "localId" : "467", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } - } ] - }, - "element" : [ { - "name" : "A", - "value" : { - "localId" : "460", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - } - }, { - "name" : "B", - "value" : { - "localId" : "461", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "2", - "type" : "Literal" - } - } ] - } ] - }, - "asTypeSpecifier" : { - "localId" : "472", - "type" : "ChoiceTypeSpecifier", - "resultTypeSpecifier" : { - "localId" : "473", - "type" : "ChoiceTypeSpecifier", - "choice" : [ { - "localId" : "474", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "475", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } ] - }, - "choice" : [ { - "localId" : "470", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - }, { - "localId" : "471", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" + "choice" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "443", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "444", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } ] + } + } + }, { + "localId" : "457", + "name" : "CastTupleAsChoiceOfIntegersAndStrings", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "457", + "s" : [ { + "value" : [ "", "define ", "CastTupleAsChoiceOfIntegersAndStrings", ": " ] + }, { + "r" : "458", + "s" : [ { + "value" : [ "cast " ] + }, { + "r" : "468", + "s" : [ { + "value" : [ "Echo", "(" ] + }, { + "r" : "459", + "s" : [ { + "value" : [ "Tuple{" ] + }, { + "s" : [ { + "r" : "460", + "value" : [ "A", ": ", "1" ] + } ] + }, { + "value" : [ ", " ] + }, { + "s" : [ { + "value" : [ "B", ": " ] + }, { + "r" : "461", + "s" : [ { + "value" : [ "'2'" ] + } ] + } ] + }, { + "value" : [ "}" ] + } ] + }, { + "value" : [ ")" ] + } ] + }, { + "value" : [ " as " ] + }, { + "r" : "472", + "s" : [ { + "value" : [ "Choice<" ] + }, { + "r" : "470", + "s" : [ { + "value" : [ "Integer" ] } ] - } - } - } ] - } - } + }, { + "value" : [ ", " ] + }, { + "r" : "471", + "s" : [ { + "value" : [ "String" ] + } ] + }, { + "value" : [ ">" ] + } ] + } ] + } ] + } + } ], + "resultTypeSpecifier" : { + "type" : "ChoiceTypeSpecifier", + "localId" : "479", + "annotation" : [ ], + "choice" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "480", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "481", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } ] + }, + "expression" : { + "type" : "As", + "localId" : "458", + "strict" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ChoiceTypeSpecifier", + "localId" : "476", + "annotation" : [ ], + "choice" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "477", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "478", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } ] + }, + "signature" : [ ], + "operand" : { + "type" : "FunctionRef", + "localId" : "468", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "name" : "Echo", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "469", + "name" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } ], + "operand" : [ { + "type" : "Tuple", + "localId" : "459", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "TupleTypeSpecifier", + "localId" : "463", + "annotation" : [ ], + "element" : [ { + "localId" : "464", + "name" : "A", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "465", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, { + "localId" : "466", + "name" : "B", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "467", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } + } ] + }, + "element" : [ { + "name" : "A", + "value" : { + "type" : "Literal", + "localId" : "460", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + } + }, { + "name" : "B", + "value" : { + "type" : "Literal", + "localId" : "461", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "2", + "annotation" : [ ] + } + } ] + } ] + }, + "asTypeSpecifier" : { + "type" : "ChoiceTypeSpecifier", + "localId" : "472", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ChoiceTypeSpecifier", + "localId" : "473", + "annotation" : [ ], + "choice" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "474", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "475", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } ] + }, + "choice" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "470", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + }, { + "type" : "NamedTypeSpecifier", + "localId" : "471", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } ] + } + } + } ] + } + } } /* AsCustomDataModelType @@ -10029,1854 +11240,2045 @@ define CastNamedTupleAsEncounter: Echo(Encounter {id: '1'}) as Simple.Encounter */ module.exports['AsCustomDataModelType'] = { - "library" : { - "localId" : "0", - "annotation" : [ { - "translatorVersion" : "3.27.0", - "translatorOptions" : "EnableDateRangeOptimization,EnableAnnotations,EnableResultTypes", - "signatureLevel" : "All", - "type" : "CqlToElmInfo" + "library" : { + "localId" : "0", + "annotation" : [ { + "type" : "CqlToElmInfo", + "translatorVersion" : "4.2.0", + "translatorOptions" : "EnableDateRangeOptimization,EnableAnnotations,EnableResultTypes", + "signatureLevel" : "All" + }, { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "471", + "s" : [ { + "value" : [ "", "library TestSnippet version '1'" ] + } ] + } + } ], + "identifier" : { + "id" : "TestSnippet", + "version" : "1" + }, + "schemaIdentifier" : { + "id" : "urn:hl7-org:elm", + "version" : "r1" + }, + "usings" : { + "def" : [ { + "localId" : "1", + "localIdentifier" : "System", + "uri" : "urn:hl7-org:elm-types:r1", + "annotation" : [ ] }, { - "type" : "Annotation", - "s" : { - "r" : "471", + "localId" : "206", + "localIdentifier" : "Simple", + "uri" : "https://github.com/cqframework/cql-execution/simple", + "version" : "1.0.0", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "206", "s" : [ { - "value" : [ "","library TestSnippet version '1'" ] - } ] - } - } ], - "identifier" : { - "id" : "TestSnippet", - "version" : "1" - }, - "schemaIdentifier" : { - "id" : "urn:hl7-org:elm", - "version" : "r1" - }, - "usings" : { - "def" : [ { - "localId" : "1", - "localIdentifier" : "System", - "uri" : "urn:hl7-org:elm-types:r1" - }, { - "localId" : "206", - "localIdentifier" : "Simple", - "uri" : "https://github.com/cqframework/cql-execution/simple", - "version" : "1.0.0", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "206", - "s" : [ { - "value" : [ "","using " ] - }, { - "s" : [ { - "value" : [ "Simple" ] - } ] - }, { - "value" : [ " version '1.0.0'" ] - } ] - } - } ] - } ] - }, - "contexts" : { - "def" : [ { - "localId" : "211", - "name" : "Patient" - } ] - }, - "statements" : { - "def" : [ { - "localId" : "209", - "name" : "Patient", - "context" : "Patient", - "expression" : { - "localId" : "210", - "type" : "SingletonFrom", - "signature" : [ ], - "operand" : { - "localId" : "208", - "dataType" : "{https://github.com/cqframework/cql-execution/simple}Patient", - "type" : "Retrieve", - "include" : [ ], - "codeFilter" : [ ], - "dateFilter" : [ ], - "otherFilter" : [ ] - } - } - }, { - "localId" : "212", + "value" : [ "", "using " ] + }, { + "s" : [ { + "value" : [ "Simple" ] + } ] + }, { + "value" : [ " version '1.0.0'" ] + } ] + } + } ] + } ] + }, + "contexts" : { + "def" : [ { + "localId" : "211", + "name" : "Patient", + "annotation" : [ ] + } ] + }, + "statements" : { + "def" : [ { + "localId" : "209", + "name" : "Patient", + "context" : "Patient", + "annotation" : [ ], + "expression" : { + "type" : "SingletonFrom", + "localId" : "210", + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "Retrieve", + "localId" : "208", + "dataType" : "{https://github.com/cqframework/cql-execution/simple}Patient", + "annotation" : [ ], + "include" : [ ], + "codeFilter" : [ ], + "dateFilter" : [ ], + "otherFilter" : [ ] + } + } + }, { + "type" : "FunctionDef", + "localId" : "212", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "name" : "Echo", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "212", + "s" : [ { + "value" : [ "", "define function Echo(Val Any): " ] + }, { + "r" : "217", + "s" : [ { + "r" : "217", + "s" : [ { + "value" : [ "Val" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "OperandRef", + "localId" : "217", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "name" : "Val", + "annotation" : [ ] + }, + "operand" : [ { + "localId" : "214", + "name" : "Val", + "annotation" : [ ], + "operandTypeSpecifier" : { + "type" : "NamedTypeSpecifier", + "localId" : "213", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "name" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } + } ] + }, { + "localId" : "220", + "resultTypeName" : "{https://github.com/cqframework/cql-execution/simple}Encounter", + "name" : "EncounterAsEncounter", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "220", + "s" : [ { + "value" : [ "// fool CQL-to-ELM into letting the casts compile\n", "define ", "EncounterAsEncounter", ": " ] + }, { + "r" : "221", + "s" : [ { + "r" : "232", + "s" : [ { + "value" : [ "Echo", "(" ] + }, { + "r" : "229", + "s" : [ { + "value" : [ "First", "(" ] + }, { + "r" : "222", + "s" : [ { + "value" : [ "[", "Encounter", "]" ] + } ] + }, { + "value" : [ ")" ] + } ] + }, { + "value" : [ ")" ] + } ] + }, { + "value" : [ " as " ] + }, { + "r" : "234", + "s" : [ { + "value" : [ "Simple", ".", "Encounter" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "As", + "localId" : "221", + "resultTypeName" : "{https://github.com/cqframework/cql-execution/simple}Encounter", + "strict" : false, + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "FunctionRef", + "localId" : "232", "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", "name" : "Echo", - "context" : "Patient", - "accessLevel" : "Public", - "type" : "FunctionDef", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "212", - "s" : [ { - "value" : [ "","define function Echo(Val Any): " ] - }, { - "r" : "217", - "s" : [ { - "r" : "217", - "s" : [ { - "value" : [ "Val" ] - } ] - } ] - } ] - } + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "233", + "name" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] } ], - "expression" : { - "localId" : "217", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "name" : "Val", - "type" : "OperandRef" - }, "operand" : [ { - "localId" : "214", - "name" : "Val", - "operandTypeSpecifier" : { - "localId" : "213", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "name" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "NamedTypeSpecifier" - } + "type" : "First", + "localId" : "229", + "resultTypeName" : "{https://github.com/cqframework/cql-execution/simple}Encounter", + "annotation" : [ ], + "signature" : [ { + "type" : "ListTypeSpecifier", + "localId" : "230", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "231", + "name" : "{https://github.com/cqframework/cql-execution/simple}Encounter", + "annotation" : [ ] + } + } ], + "source" : { + "type" : "Retrieve", + "localId" : "222", + "dataType" : "{https://github.com/cqframework/cql-execution/simple}Encounter", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "223", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "224", + "name" : "{https://github.com/cqframework/cql-execution/simple}Encounter", + "annotation" : [ ] + } + }, + "include" : [ ], + "codeFilter" : [ ], + "dateFilter" : [ ], + "otherFilter" : [ ] + } } ] - }, { - "localId" : "220", + }, + "asTypeSpecifier" : { + "type" : "NamedTypeSpecifier", + "localId" : "234", "resultTypeName" : "{https://github.com/cqframework/cql-execution/simple}Encounter", - "name" : "EncounterAsEncounter", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "220", - "s" : [ { - "value" : [ "// fool CQL-to-ELM into letting the casts compile\n","define ","EncounterAsEncounter",": " ] - }, { - "r" : "221", - "s" : [ { - "r" : "232", - "s" : [ { - "value" : [ "Echo","(" ] - }, { - "r" : "229", - "s" : [ { - "value" : [ "First","(" ] - }, { - "r" : "222", - "s" : [ { - "value" : [ "[","Encounter","]" ] - } ] - }, { - "value" : [ ")" ] - } ] - }, { - "value" : [ ")" ] - } ] - }, { - "value" : [ " as " ] - }, { - "r" : "234", - "s" : [ { - "value" : [ "Simple",".","Encounter" ] - } ] - } ] - } ] - } + "name" : "{https://github.com/cqframework/cql-execution/simple}Encounter", + "annotation" : [ ] + } + } + }, { + "localId" : "237", + "resultTypeName" : "{https://github.com/cqframework/cql-execution/simple}Record", + "name" : "EncounterAsRecord", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "237", + "s" : [ { + "value" : [ "", "define ", "EncounterAsRecord", ": " ] + }, { + "r" : "238", + "s" : [ { + "r" : "249", + "s" : [ { + "value" : [ "Echo", "(" ] + }, { + "r" : "246", + "s" : [ { + "value" : [ "First", "(" ] + }, { + "r" : "239", + "s" : [ { + "value" : [ "[", "Encounter", "]" ] + } ] + }, { + "value" : [ ")" ] + } ] + }, { + "value" : [ ")" ] + } ] + }, { + "value" : [ " as " ] + }, { + "r" : "251", + "s" : [ { + "value" : [ "Simple", ".", "Record" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "As", + "localId" : "238", + "resultTypeName" : "{https://github.com/cqframework/cql-execution/simple}Record", + "strict" : false, + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "FunctionRef", + "localId" : "249", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "name" : "Echo", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "250", + "name" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] } ], - "expression" : { - "localId" : "221", - "resultTypeName" : "{https://github.com/cqframework/cql-execution/simple}Encounter", - "strict" : false, - "type" : "As", - "signature" : [ ], - "operand" : { - "localId" : "232", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "name" : "Echo", - "type" : "FunctionRef", - "signature" : [ { - "localId" : "233", - "name" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "229", - "resultTypeName" : "{https://github.com/cqframework/cql-execution/simple}Encounter", - "type" : "First", - "signature" : [ { - "localId" : "230", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "231", - "name" : "{https://github.com/cqframework/cql-execution/simple}Encounter", - "type" : "NamedTypeSpecifier" - } - } ], - "source" : { - "localId" : "222", - "dataType" : "{https://github.com/cqframework/cql-execution/simple}Encounter", - "type" : "Retrieve", - "resultTypeSpecifier" : { - "localId" : "223", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "224", - "name" : "{https://github.com/cqframework/cql-execution/simple}Encounter", - "type" : "NamedTypeSpecifier" - } - }, - "include" : [ ], - "codeFilter" : [ ], - "dateFilter" : [ ], - "otherFilter" : [ ] - } - } ] - }, - "asTypeSpecifier" : { - "localId" : "234", - "resultTypeName" : "{https://github.com/cqframework/cql-execution/simple}Encounter", + "operand" : [ { + "type" : "First", + "localId" : "246", + "resultTypeName" : "{https://github.com/cqframework/cql-execution/simple}Encounter", + "annotation" : [ ], + "signature" : [ { + "type" : "ListTypeSpecifier", + "localId" : "247", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "248", "name" : "{https://github.com/cqframework/cql-execution/simple}Encounter", - "type" : "NamedTypeSpecifier" - } - } - }, { - "localId" : "237", + "annotation" : [ ] + } + } ], + "source" : { + "type" : "Retrieve", + "localId" : "239", + "dataType" : "{https://github.com/cqframework/cql-execution/simple}Encounter", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "240", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "241", + "name" : "{https://github.com/cqframework/cql-execution/simple}Encounter", + "annotation" : [ ] + } + }, + "include" : [ ], + "codeFilter" : [ ], + "dateFilter" : [ ], + "otherFilter" : [ ] + } + } ] + }, + "asTypeSpecifier" : { + "type" : "NamedTypeSpecifier", + "localId" : "251", "resultTypeName" : "{https://github.com/cqframework/cql-execution/simple}Record", - "name" : "EncounterAsRecord", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "237", - "s" : [ { - "value" : [ "","define ","EncounterAsRecord",": " ] - }, { - "r" : "238", - "s" : [ { - "r" : "249", - "s" : [ { - "value" : [ "Echo","(" ] - }, { - "r" : "246", - "s" : [ { - "value" : [ "First","(" ] - }, { - "r" : "239", - "s" : [ { - "value" : [ "[","Encounter","]" ] - } ] - }, { - "value" : [ ")" ] - } ] - }, { - "value" : [ ")" ] - } ] - }, { - "value" : [ " as " ] - }, { - "r" : "251", - "s" : [ { - "value" : [ "Simple",".","Record" ] - } ] - } ] - } ] - } + "name" : "{https://github.com/cqframework/cql-execution/simple}Record", + "annotation" : [ ] + } + } + }, { + "localId" : "254", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "name" : "EncounterAsAny", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "254", + "s" : [ { + "value" : [ "", "define ", "EncounterAsAny", ": " ] + }, { + "r" : "255", + "s" : [ { + "r" : "266", + "s" : [ { + "value" : [ "Echo", "(" ] + }, { + "r" : "263", + "s" : [ { + "value" : [ "First", "(" ] + }, { + "r" : "256", + "s" : [ { + "value" : [ "[", "Encounter", "]" ] + } ] + }, { + "value" : [ ")" ] + } ] + }, { + "value" : [ ")" ] + } ] + }, { + "value" : [ " as " ] + }, { + "r" : "268", + "s" : [ { + "value" : [ "System", ".", "Any" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "As", + "localId" : "255", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "strict" : false, + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "FunctionRef", + "localId" : "266", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "name" : "Echo", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "267", + "name" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] } ], - "expression" : { - "localId" : "238", - "resultTypeName" : "{https://github.com/cqframework/cql-execution/simple}Record", - "strict" : false, - "type" : "As", - "signature" : [ ], - "operand" : { - "localId" : "249", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "name" : "Echo", - "type" : "FunctionRef", - "signature" : [ { - "localId" : "250", - "name" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "246", - "resultTypeName" : "{https://github.com/cqframework/cql-execution/simple}Encounter", - "type" : "First", - "signature" : [ { - "localId" : "247", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "248", - "name" : "{https://github.com/cqframework/cql-execution/simple}Encounter", - "type" : "NamedTypeSpecifier" - } - } ], - "source" : { - "localId" : "239", - "dataType" : "{https://github.com/cqframework/cql-execution/simple}Encounter", - "type" : "Retrieve", - "resultTypeSpecifier" : { - "localId" : "240", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "241", - "name" : "{https://github.com/cqframework/cql-execution/simple}Encounter", - "type" : "NamedTypeSpecifier" - } - }, - "include" : [ ], - "codeFilter" : [ ], - "dateFilter" : [ ], - "otherFilter" : [ ] - } - } ] - }, - "asTypeSpecifier" : { - "localId" : "251", - "resultTypeName" : "{https://github.com/cqframework/cql-execution/simple}Record", - "name" : "{https://github.com/cqframework/cql-execution/simple}Record", - "type" : "NamedTypeSpecifier" - } - } - }, { - "localId" : "254", + "operand" : [ { + "type" : "First", + "localId" : "263", + "resultTypeName" : "{https://github.com/cqframework/cql-execution/simple}Encounter", + "annotation" : [ ], + "signature" : [ { + "type" : "ListTypeSpecifier", + "localId" : "264", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "265", + "name" : "{https://github.com/cqframework/cql-execution/simple}Encounter", + "annotation" : [ ] + } + } ], + "source" : { + "type" : "Retrieve", + "localId" : "256", + "dataType" : "{https://github.com/cqframework/cql-execution/simple}Encounter", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "257", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "258", + "name" : "{https://github.com/cqframework/cql-execution/simple}Encounter", + "annotation" : [ ] + } + }, + "include" : [ ], + "codeFilter" : [ ], + "dateFilter" : [ ], + "otherFilter" : [ ] + } + } ] + }, + "asTypeSpecifier" : { + "type" : "NamedTypeSpecifier", + "localId" : "268", "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "name" : "EncounterAsAny", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "254", - "s" : [ { - "value" : [ "","define ","EncounterAsAny",": " ] - }, { - "r" : "255", - "s" : [ { - "r" : "266", - "s" : [ { - "value" : [ "Echo","(" ] - }, { - "r" : "263", - "s" : [ { - "value" : [ "First","(" ] - }, { - "r" : "256", - "s" : [ { - "value" : [ "[","Encounter","]" ] - } ] - }, { - "value" : [ ")" ] - } ] - }, { - "value" : [ ")" ] - } ] - }, { - "value" : [ " as " ] - }, { - "r" : "268", - "s" : [ { - "value" : [ "System",".","Any" ] - } ] - } ] - } ] - } + "name" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } + } + }, { + "localId" : "271", + "resultTypeName" : "{https://github.com/cqframework/cql-execution/simple}Condition", + "name" : "EncounterAsCondition", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "271", + "s" : [ { + "value" : [ "", "define ", "EncounterAsCondition", ": " ] + }, { + "r" : "272", + "s" : [ { + "r" : "283", + "s" : [ { + "value" : [ "Echo", "(" ] + }, { + "r" : "280", + "s" : [ { + "value" : [ "First", "(" ] + }, { + "r" : "273", + "s" : [ { + "value" : [ "[", "Encounter", "]" ] + } ] + }, { + "value" : [ ")" ] + } ] + }, { + "value" : [ ")" ] + } ] + }, { + "value" : [ " as " ] + }, { + "r" : "285", + "s" : [ { + "value" : [ "Simple", ".", "Condition" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "As", + "localId" : "272", + "resultTypeName" : "{https://github.com/cqframework/cql-execution/simple}Condition", + "strict" : false, + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "FunctionRef", + "localId" : "283", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "name" : "Echo", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "284", + "name" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] } ], - "expression" : { - "localId" : "255", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "strict" : false, - "type" : "As", - "signature" : [ ], - "operand" : { - "localId" : "266", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "name" : "Echo", - "type" : "FunctionRef", - "signature" : [ { - "localId" : "267", - "name" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "263", - "resultTypeName" : "{https://github.com/cqframework/cql-execution/simple}Encounter", - "type" : "First", - "signature" : [ { - "localId" : "264", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "265", - "name" : "{https://github.com/cqframework/cql-execution/simple}Encounter", - "type" : "NamedTypeSpecifier" - } - } ], - "source" : { - "localId" : "256", - "dataType" : "{https://github.com/cqframework/cql-execution/simple}Encounter", - "type" : "Retrieve", - "resultTypeSpecifier" : { - "localId" : "257", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "258", - "name" : "{https://github.com/cqframework/cql-execution/simple}Encounter", - "type" : "NamedTypeSpecifier" - } - }, - "include" : [ ], - "codeFilter" : [ ], - "dateFilter" : [ ], - "otherFilter" : [ ] - } - } ] - }, - "asTypeSpecifier" : { - "localId" : "268", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "name" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "NamedTypeSpecifier" - } - } - }, { - "localId" : "271", + "operand" : [ { + "type" : "First", + "localId" : "280", + "resultTypeName" : "{https://github.com/cqframework/cql-execution/simple}Encounter", + "annotation" : [ ], + "signature" : [ { + "type" : "ListTypeSpecifier", + "localId" : "281", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "282", + "name" : "{https://github.com/cqframework/cql-execution/simple}Encounter", + "annotation" : [ ] + } + } ], + "source" : { + "type" : "Retrieve", + "localId" : "273", + "dataType" : "{https://github.com/cqframework/cql-execution/simple}Encounter", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "274", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "275", + "name" : "{https://github.com/cqframework/cql-execution/simple}Encounter", + "annotation" : [ ] + } + }, + "include" : [ ], + "codeFilter" : [ ], + "dateFilter" : [ ], + "otherFilter" : [ ] + } + } ] + }, + "asTypeSpecifier" : { + "type" : "NamedTypeSpecifier", + "localId" : "285", "resultTypeName" : "{https://github.com/cqframework/cql-execution/simple}Condition", - "name" : "EncounterAsCondition", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "271", + "name" : "{https://github.com/cqframework/cql-execution/simple}Condition", + "annotation" : [ ] + } + } + }, { + "localId" : "288", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "name" : "EncounterAsString", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "288", + "s" : [ { + "value" : [ "", "define ", "EncounterAsString", ": " ] + }, { + "r" : "289", + "s" : [ { + "r" : "300", + "s" : [ { + "value" : [ "Echo", "(" ] + }, { + "r" : "297", "s" : [ { - "value" : [ "","define ","EncounterAsCondition",": " ] - }, { - "r" : "272", - "s" : [ { - "r" : "283", - "s" : [ { - "value" : [ "Echo","(" ] - }, { - "r" : "280", - "s" : [ { - "value" : [ "First","(" ] - }, { - "r" : "273", - "s" : [ { - "value" : [ "[","Encounter","]" ] - } ] - }, { - "value" : [ ")" ] - } ] - }, { - "value" : [ ")" ] - } ] - }, { - "value" : [ " as " ] - }, { - "r" : "285", - "s" : [ { - "value" : [ "Simple",".","Condition" ] - } ] - } ] - } ] - } + "value" : [ "First", "(" ] + }, { + "r" : "290", + "s" : [ { + "value" : [ "[", "Encounter", "]" ] + } ] + }, { + "value" : [ ")" ] + } ] + }, { + "value" : [ ")" ] + } ] + }, { + "value" : [ " as " ] + }, { + "r" : "302", + "s" : [ { + "value" : [ "System", ".", "String" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "As", + "localId" : "289", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "strict" : false, + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "FunctionRef", + "localId" : "300", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "name" : "Echo", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "301", + "name" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] } ], - "expression" : { - "localId" : "272", - "resultTypeName" : "{https://github.com/cqframework/cql-execution/simple}Condition", - "strict" : false, - "type" : "As", - "signature" : [ ], - "operand" : { - "localId" : "283", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "name" : "Echo", - "type" : "FunctionRef", - "signature" : [ { - "localId" : "284", - "name" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "280", - "resultTypeName" : "{https://github.com/cqframework/cql-execution/simple}Encounter", - "type" : "First", - "signature" : [ { - "localId" : "281", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "282", - "name" : "{https://github.com/cqframework/cql-execution/simple}Encounter", - "type" : "NamedTypeSpecifier" - } - } ], - "source" : { - "localId" : "273", - "dataType" : "{https://github.com/cqframework/cql-execution/simple}Encounter", - "type" : "Retrieve", - "resultTypeSpecifier" : { - "localId" : "274", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "275", - "name" : "{https://github.com/cqframework/cql-execution/simple}Encounter", - "type" : "NamedTypeSpecifier" - } - }, - "include" : [ ], - "codeFilter" : [ ], - "dateFilter" : [ ], - "otherFilter" : [ ] - } - } ] - }, - "asTypeSpecifier" : { - "localId" : "285", - "resultTypeName" : "{https://github.com/cqframework/cql-execution/simple}Condition", - "name" : "{https://github.com/cqframework/cql-execution/simple}Condition", - "type" : "NamedTypeSpecifier" - } - } - }, { - "localId" : "288", + "operand" : [ { + "type" : "First", + "localId" : "297", + "resultTypeName" : "{https://github.com/cqframework/cql-execution/simple}Encounter", + "annotation" : [ ], + "signature" : [ { + "type" : "ListTypeSpecifier", + "localId" : "298", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "299", + "name" : "{https://github.com/cqframework/cql-execution/simple}Encounter", + "annotation" : [ ] + } + } ], + "source" : { + "type" : "Retrieve", + "localId" : "290", + "dataType" : "{https://github.com/cqframework/cql-execution/simple}Encounter", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "291", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "292", + "name" : "{https://github.com/cqframework/cql-execution/simple}Encounter", + "annotation" : [ ] + } + }, + "include" : [ ], + "codeFilter" : [ ], + "dateFilter" : [ ], + "otherFilter" : [ ] + } + } ] + }, + "asTypeSpecifier" : { + "type" : "NamedTypeSpecifier", + "localId" : "302", "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "name" : "EncounterAsString", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "288", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } + } + }, { + "localId" : "305", + "resultTypeName" : "{https://github.com/cqframework/cql-execution/simple}Encounter", + "name" : "ListAsEncounter", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "305", + "s" : [ { + "value" : [ "", "define ", "ListAsEncounter", ": " ] + }, { + "r" : "306", + "s" : [ { + "r" : "310", + "s" : [ { + "value" : [ "Echo", "(" ] + }, { + "r" : "307", "s" : [ { - "value" : [ "","define ","EncounterAsString",": " ] - }, { - "r" : "289", - "s" : [ { - "r" : "300", - "s" : [ { - "value" : [ "Echo","(" ] - }, { - "r" : "297", - "s" : [ { - "value" : [ "First","(" ] - }, { - "r" : "290", - "s" : [ { - "value" : [ "[","Encounter","]" ] - } ] - }, { - "value" : [ ")" ] - } ] - }, { - "value" : [ ")" ] - } ] - }, { - "value" : [ " as " ] - }, { - "r" : "302", - "s" : [ { - "value" : [ "System",".","String" ] - } ] - } ] - } ] - } + "value" : [ "[", "Encounter", "]" ] + } ] + }, { + "value" : [ ")" ] + } ] + }, { + "value" : [ " as " ] + }, { + "r" : "312", + "s" : [ { + "value" : [ "Simple", ".", "Encounter" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "As", + "localId" : "306", + "resultTypeName" : "{https://github.com/cqframework/cql-execution/simple}Encounter", + "strict" : false, + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "FunctionRef", + "localId" : "310", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "name" : "Echo", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "311", + "name" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] } ], - "expression" : { - "localId" : "289", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "strict" : false, - "type" : "As", - "signature" : [ ], - "operand" : { - "localId" : "300", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "name" : "Echo", - "type" : "FunctionRef", - "signature" : [ { - "localId" : "301", - "name" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "297", - "resultTypeName" : "{https://github.com/cqframework/cql-execution/simple}Encounter", - "type" : "First", - "signature" : [ { - "localId" : "298", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "299", - "name" : "{https://github.com/cqframework/cql-execution/simple}Encounter", - "type" : "NamedTypeSpecifier" - } - } ], - "source" : { - "localId" : "290", - "dataType" : "{https://github.com/cqframework/cql-execution/simple}Encounter", - "type" : "Retrieve", - "resultTypeSpecifier" : { - "localId" : "291", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "292", - "name" : "{https://github.com/cqframework/cql-execution/simple}Encounter", - "type" : "NamedTypeSpecifier" - } - }, - "include" : [ ], - "codeFilter" : [ ], - "dateFilter" : [ ], - "otherFilter" : [ ] - } - } ] - }, - "asTypeSpecifier" : { - "localId" : "302", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } - } - }, { - "localId" : "305", + "operand" : [ { + "type" : "Retrieve", + "localId" : "307", + "dataType" : "{https://github.com/cqframework/cql-execution/simple}Encounter", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "308", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "309", + "name" : "{https://github.com/cqframework/cql-execution/simple}Encounter", + "annotation" : [ ] + } + }, + "include" : [ ], + "codeFilter" : [ ], + "dateFilter" : [ ], + "otherFilter" : [ ] + } ] + }, + "asTypeSpecifier" : { + "type" : "NamedTypeSpecifier", + "localId" : "312", "resultTypeName" : "{https://github.com/cqframework/cql-execution/simple}Encounter", - "name" : "ListAsEncounter", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "305", + "name" : "{https://github.com/cqframework/cql-execution/simple}Encounter", + "annotation" : [ ] + } + } + }, { + "localId" : "315", + "resultTypeName" : "{https://github.com/cqframework/cql-execution/simple}Encounter", + "name" : "IntervalAsEncounter", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "315", + "s" : [ { + "value" : [ "", "define ", "IntervalAsEncounter", ": " ] + }, { + "r" : "316", + "s" : [ { + "r" : "322", + "s" : [ { + "value" : [ "Echo", "(" ] + }, { + "r" : "319", "s" : [ { - "value" : [ "","define ","ListAsEncounter",": " ] - }, { - "r" : "306", - "s" : [ { - "r" : "310", - "s" : [ { - "value" : [ "Echo","(" ] - }, { - "r" : "307", - "s" : [ { - "value" : [ "[","Encounter","]" ] - } ] - }, { - "value" : [ ")" ] - } ] - }, { - "value" : [ " as " ] - }, { - "r" : "312", - "s" : [ { - "value" : [ "Simple",".","Encounter" ] - } ] - } ] - } ] - } + "r" : "317", + "value" : [ "Interval[", "1", ", ", "5", "]" ] + } ] + }, { + "value" : [ ")" ] + } ] + }, { + "value" : [ " as " ] + }, { + "r" : "324", + "s" : [ { + "value" : [ "Simple", ".", "Encounter" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "As", + "localId" : "316", + "resultTypeName" : "{https://github.com/cqframework/cql-execution/simple}Encounter", + "strict" : false, + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "FunctionRef", + "localId" : "322", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "name" : "Echo", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "323", + "name" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] } ], - "expression" : { - "localId" : "306", - "resultTypeName" : "{https://github.com/cqframework/cql-execution/simple}Encounter", - "strict" : false, - "type" : "As", - "signature" : [ ], - "operand" : { - "localId" : "310", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "name" : "Echo", - "type" : "FunctionRef", - "signature" : [ { - "localId" : "311", - "name" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "307", - "dataType" : "{https://github.com/cqframework/cql-execution/simple}Encounter", - "type" : "Retrieve", - "resultTypeSpecifier" : { - "localId" : "308", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "309", - "name" : "{https://github.com/cqframework/cql-execution/simple}Encounter", - "type" : "NamedTypeSpecifier" - } - }, - "include" : [ ], - "codeFilter" : [ ], - "dateFilter" : [ ], - "otherFilter" : [ ] - } ] - }, - "asTypeSpecifier" : { - "localId" : "312", - "resultTypeName" : "{https://github.com/cqframework/cql-execution/simple}Encounter", - "name" : "{https://github.com/cqframework/cql-execution/simple}Encounter", - "type" : "NamedTypeSpecifier" - } - } - }, { - "localId" : "315", + "operand" : [ { + "type" : "Interval", + "localId" : "319", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "320", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "321", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "low" : { + "type" : "Literal", + "localId" : "317", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "high" : { + "type" : "Literal", + "localId" : "318", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "5", + "annotation" : [ ] + } + } ] + }, + "asTypeSpecifier" : { + "type" : "NamedTypeSpecifier", + "localId" : "324", "resultTypeName" : "{https://github.com/cqframework/cql-execution/simple}Encounter", - "name" : "IntervalAsEncounter", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "315", - "s" : [ { - "value" : [ "","define ","IntervalAsEncounter",": " ] - }, { - "r" : "316", - "s" : [ { - "r" : "322", - "s" : [ { - "value" : [ "Echo","(" ] - }, { - "r" : "319", - "s" : [ { - "r" : "317", - "value" : [ "Interval[","1",", ","5","]" ] - } ] - }, { - "value" : [ ")" ] - } ] - }, { - "value" : [ " as " ] - }, { - "r" : "324", - "s" : [ { - "value" : [ "Simple",".","Encounter" ] - } ] - } ] - } ] - } + "name" : "{https://github.com/cqframework/cql-execution/simple}Encounter", + "annotation" : [ ] + } + } + }, { + "localId" : "327", + "resultTypeName" : "{https://github.com/cqframework/cql-execution/simple}Encounter", + "name" : "TupleAsEncounter", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "327", + "s" : [ { + "value" : [ "", "define ", "TupleAsEncounter", ": " ] + }, { + "r" : "328", + "s" : [ { + "r" : "335", + "s" : [ { + "value" : [ "Echo", "(" ] + }, { + "r" : "329", + "s" : [ { + "value" : [ "{" ] + }, { + "s" : [ { + "value" : [ "id", ": " ] + }, { + "r" : "330", + "s" : [ { + "value" : [ "'1'" ] + } ] + } ] + }, { + "value" : [ "}" ] + } ] + }, { + "value" : [ ")" ] + } ] + }, { + "value" : [ " as " ] + }, { + "r" : "337", + "s" : [ { + "value" : [ "Simple", ".", "Encounter" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "As", + "localId" : "328", + "resultTypeName" : "{https://github.com/cqframework/cql-execution/simple}Encounter", + "strict" : false, + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "FunctionRef", + "localId" : "335", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "name" : "Echo", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "336", + "name" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] } ], - "expression" : { - "localId" : "316", - "resultTypeName" : "{https://github.com/cqframework/cql-execution/simple}Encounter", - "strict" : false, - "type" : "As", - "signature" : [ ], - "operand" : { - "localId" : "322", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "name" : "Echo", - "type" : "FunctionRef", - "signature" : [ { - "localId" : "323", - "name" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "319", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "320", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "321", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "317", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "high" : { - "localId" : "318", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal" - } - } ] - }, - "asTypeSpecifier" : { - "localId" : "324", - "resultTypeName" : "{https://github.com/cqframework/cql-execution/simple}Encounter", - "name" : "{https://github.com/cqframework/cql-execution/simple}Encounter", - "type" : "NamedTypeSpecifier" - } - } - }, { - "localId" : "327", + "operand" : [ { + "type" : "Tuple", + "localId" : "329", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "TupleTypeSpecifier", + "localId" : "332", + "annotation" : [ ], + "element" : [ { + "localId" : "333", + "name" : "id", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "334", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } + } ] + }, + "element" : [ { + "name" : "id", + "value" : { + "type" : "Literal", + "localId" : "330", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "1", + "annotation" : [ ] + } + } ] + } ] + }, + "asTypeSpecifier" : { + "type" : "NamedTypeSpecifier", + "localId" : "337", "resultTypeName" : "{https://github.com/cqframework/cql-execution/simple}Encounter", - "name" : "TupleAsEncounter", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "327", + "name" : "{https://github.com/cqframework/cql-execution/simple}Encounter", + "annotation" : [ ] + } + } + }, { + "localId" : "340", + "resultTypeName" : "{https://github.com/cqframework/cql-execution/simple}Encounter", + "name" : "NamedTupleAsEncounter", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "340", + "s" : [ { + "value" : [ "", "define ", "NamedTupleAsEncounter", ": " ] + }, { + "r" : "341", + "s" : [ { + "r" : "346", + "s" : [ { + "value" : [ "Echo", "(" ] + }, { + "r" : "342", "s" : [ { - "value" : [ "","define ","TupleAsEncounter",": " ] - }, { - "r" : "328", - "s" : [ { - "r" : "335", - "s" : [ { - "value" : [ "Echo","(" ] - }, { - "r" : "329", - "s" : [ { - "value" : [ "{" ] - }, { - "s" : [ { - "value" : [ "id",": " ] - }, { - "r" : "330", - "s" : [ { - "value" : [ "'1'" ] - } ] - } ] - }, { - "value" : [ "}" ] - } ] - }, { - "value" : [ ")" ] - } ] - }, { - "value" : [ " as " ] - }, { - "r" : "337", - "s" : [ { - "value" : [ "Simple",".","Encounter" ] - } ] - } ] - } ] - } + "value" : [ "Encounter", " {" ] + }, { + "s" : [ { + "value" : [ "id", ": " ] + }, { + "r" : "344", + "s" : [ { + "value" : [ "'1'" ] + } ] + } ] + }, { + "value" : [ "}" ] + } ] + }, { + "value" : [ ")" ] + } ] + }, { + "value" : [ " as " ] + }, { + "r" : "348", + "s" : [ { + "value" : [ "Simple", ".", "Encounter" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "As", + "localId" : "341", + "resultTypeName" : "{https://github.com/cqframework/cql-execution/simple}Encounter", + "strict" : false, + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "FunctionRef", + "localId" : "346", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "name" : "Echo", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "347", + "name" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] } ], - "expression" : { - "localId" : "328", - "resultTypeName" : "{https://github.com/cqframework/cql-execution/simple}Encounter", - "strict" : false, - "type" : "As", - "signature" : [ ], - "operand" : { - "localId" : "335", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "name" : "Echo", - "type" : "FunctionRef", - "signature" : [ { - "localId" : "336", - "name" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "329", - "type" : "Tuple", - "resultTypeSpecifier" : { - "localId" : "332", - "type" : "TupleTypeSpecifier", - "element" : [ { - "localId" : "333", - "name" : "id", - "elementType" : { - "localId" : "334", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } - } ] - }, - "element" : [ { - "name" : "id", - "value" : { - "localId" : "330", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "1", - "type" : "Literal" - } - } ] - } ] - }, - "asTypeSpecifier" : { - "localId" : "337", - "resultTypeName" : "{https://github.com/cqframework/cql-execution/simple}Encounter", - "name" : "{https://github.com/cqframework/cql-execution/simple}Encounter", - "type" : "NamedTypeSpecifier" - } - } - }, { - "localId" : "340", + "operand" : [ { + "type" : "Instance", + "localId" : "342", + "resultTypeName" : "{https://github.com/cqframework/cql-execution/simple}Encounter", + "classType" : "{https://github.com/cqframework/cql-execution/simple}Encounter", + "annotation" : [ ], + "element" : [ { + "name" : "id", + "value" : { + "type" : "Literal", + "localId" : "344", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "1", + "annotation" : [ ] + } + } ] + } ] + }, + "asTypeSpecifier" : { + "type" : "NamedTypeSpecifier", + "localId" : "348", "resultTypeName" : "{https://github.com/cqframework/cql-execution/simple}Encounter", - "name" : "NamedTupleAsEncounter", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "340", - "s" : [ { - "value" : [ "","define ","NamedTupleAsEncounter",": " ] - }, { - "r" : "341", - "s" : [ { - "r" : "346", - "s" : [ { - "value" : [ "Echo","(" ] - }, { - "r" : "342", - "s" : [ { - "value" : [ "Encounter"," {" ] - }, { - "s" : [ { - "value" : [ "id",": " ] - }, { - "r" : "344", - "s" : [ { - "value" : [ "'1'" ] - } ] - } ] - }, { - "value" : [ "}" ] - } ] - }, { - "value" : [ ")" ] - } ] - }, { - "value" : [ " as " ] - }, { - "r" : "348", - "s" : [ { - "value" : [ "Simple",".","Encounter" ] - } ] - } ] - } ] - } + "name" : "{https://github.com/cqframework/cql-execution/simple}Encounter", + "annotation" : [ ] + } + } + }, { + "localId" : "351", + "resultTypeName" : "{https://github.com/cqframework/cql-execution/simple}Encounter", + "name" : "CastEncounterAsEncounter", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "351", + "s" : [ { + "value" : [ "", "define ", "CastEncounterAsEncounter", ": " ] + }, { + "r" : "352", + "s" : [ { + "value" : [ "cast " ] + }, { + "r" : "363", + "s" : [ { + "value" : [ "Echo", "(" ] + }, { + "r" : "360", + "s" : [ { + "value" : [ "First", "(" ] + }, { + "r" : "353", + "s" : [ { + "value" : [ "[", "Encounter", "]" ] + } ] + }, { + "value" : [ ")" ] + } ] + }, { + "value" : [ ")" ] + } ] + }, { + "value" : [ " as " ] + }, { + "r" : "365", + "s" : [ { + "value" : [ "Simple", ".", "Encounter" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "As", + "localId" : "352", + "resultTypeName" : "{https://github.com/cqframework/cql-execution/simple}Encounter", + "strict" : true, + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "FunctionRef", + "localId" : "363", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "name" : "Echo", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "364", + "name" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] } ], - "expression" : { - "localId" : "341", - "resultTypeName" : "{https://github.com/cqframework/cql-execution/simple}Encounter", - "strict" : false, - "type" : "As", - "signature" : [ ], - "operand" : { - "localId" : "346", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "name" : "Echo", - "type" : "FunctionRef", - "signature" : [ { - "localId" : "347", - "name" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "342", - "resultTypeName" : "{https://github.com/cqframework/cql-execution/simple}Encounter", - "classType" : "{https://github.com/cqframework/cql-execution/simple}Encounter", - "type" : "Instance", - "element" : [ { - "name" : "id", - "value" : { - "localId" : "344", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "1", - "type" : "Literal" - } - } ] - } ] - }, - "asTypeSpecifier" : { - "localId" : "348", - "resultTypeName" : "{https://github.com/cqframework/cql-execution/simple}Encounter", + "operand" : [ { + "type" : "First", + "localId" : "360", + "resultTypeName" : "{https://github.com/cqframework/cql-execution/simple}Encounter", + "annotation" : [ ], + "signature" : [ { + "type" : "ListTypeSpecifier", + "localId" : "361", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "362", "name" : "{https://github.com/cqframework/cql-execution/simple}Encounter", - "type" : "NamedTypeSpecifier" - } - } - }, { - "localId" : "351", + "annotation" : [ ] + } + } ], + "source" : { + "type" : "Retrieve", + "localId" : "353", + "dataType" : "{https://github.com/cqframework/cql-execution/simple}Encounter", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "354", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "355", + "name" : "{https://github.com/cqframework/cql-execution/simple}Encounter", + "annotation" : [ ] + } + }, + "include" : [ ], + "codeFilter" : [ ], + "dateFilter" : [ ], + "otherFilter" : [ ] + } + } ] + }, + "asTypeSpecifier" : { + "type" : "NamedTypeSpecifier", + "localId" : "365", "resultTypeName" : "{https://github.com/cqframework/cql-execution/simple}Encounter", - "name" : "CastEncounterAsEncounter", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "351", - "s" : [ { - "value" : [ "","define ","CastEncounterAsEncounter",": " ] - }, { - "r" : "352", - "s" : [ { - "value" : [ "cast " ] - }, { - "r" : "363", - "s" : [ { - "value" : [ "Echo","(" ] - }, { - "r" : "360", - "s" : [ { - "value" : [ "First","(" ] - }, { - "r" : "353", - "s" : [ { - "value" : [ "[","Encounter","]" ] - } ] - }, { - "value" : [ ")" ] - } ] - }, { - "value" : [ ")" ] - } ] - }, { - "value" : [ " as " ] - }, { - "r" : "365", - "s" : [ { - "value" : [ "Simple",".","Encounter" ] - } ] - } ] - } ] - } + "name" : "{https://github.com/cqframework/cql-execution/simple}Encounter", + "annotation" : [ ] + } + } + }, { + "localId" : "368", + "resultTypeName" : "{https://github.com/cqframework/cql-execution/simple}Record", + "name" : "CastEncounterAsRecord", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "368", + "s" : [ { + "value" : [ "", "define ", "CastEncounterAsRecord", ": " ] + }, { + "r" : "369", + "s" : [ { + "value" : [ "cast " ] + }, { + "r" : "380", + "s" : [ { + "value" : [ "Echo", "(" ] + }, { + "r" : "377", + "s" : [ { + "value" : [ "First", "(" ] + }, { + "r" : "370", + "s" : [ { + "value" : [ "[", "Encounter", "]" ] + } ] + }, { + "value" : [ ")" ] + } ] + }, { + "value" : [ ")" ] + } ] + }, { + "value" : [ " as " ] + }, { + "r" : "382", + "s" : [ { + "value" : [ "Simple", ".", "Record" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "As", + "localId" : "369", + "resultTypeName" : "{https://github.com/cqframework/cql-execution/simple}Record", + "strict" : true, + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "FunctionRef", + "localId" : "380", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "name" : "Echo", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "381", + "name" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] } ], - "expression" : { - "localId" : "352", - "resultTypeName" : "{https://github.com/cqframework/cql-execution/simple}Encounter", - "strict" : true, - "type" : "As", - "signature" : [ ], - "operand" : { - "localId" : "363", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "name" : "Echo", - "type" : "FunctionRef", - "signature" : [ { - "localId" : "364", - "name" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "360", - "resultTypeName" : "{https://github.com/cqframework/cql-execution/simple}Encounter", - "type" : "First", - "signature" : [ { - "localId" : "361", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "362", - "name" : "{https://github.com/cqframework/cql-execution/simple}Encounter", - "type" : "NamedTypeSpecifier" - } - } ], - "source" : { - "localId" : "353", - "dataType" : "{https://github.com/cqframework/cql-execution/simple}Encounter", - "type" : "Retrieve", - "resultTypeSpecifier" : { - "localId" : "354", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "355", - "name" : "{https://github.com/cqframework/cql-execution/simple}Encounter", - "type" : "NamedTypeSpecifier" - } - }, - "include" : [ ], - "codeFilter" : [ ], - "dateFilter" : [ ], - "otherFilter" : [ ] - } - } ] - }, - "asTypeSpecifier" : { - "localId" : "365", - "resultTypeName" : "{https://github.com/cqframework/cql-execution/simple}Encounter", + "operand" : [ { + "type" : "First", + "localId" : "377", + "resultTypeName" : "{https://github.com/cqframework/cql-execution/simple}Encounter", + "annotation" : [ ], + "signature" : [ { + "type" : "ListTypeSpecifier", + "localId" : "378", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "379", "name" : "{https://github.com/cqframework/cql-execution/simple}Encounter", - "type" : "NamedTypeSpecifier" - } - } - }, { - "localId" : "368", + "annotation" : [ ] + } + } ], + "source" : { + "type" : "Retrieve", + "localId" : "370", + "dataType" : "{https://github.com/cqframework/cql-execution/simple}Encounter", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "371", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "372", + "name" : "{https://github.com/cqframework/cql-execution/simple}Encounter", + "annotation" : [ ] + } + }, + "include" : [ ], + "codeFilter" : [ ], + "dateFilter" : [ ], + "otherFilter" : [ ] + } + } ] + }, + "asTypeSpecifier" : { + "type" : "NamedTypeSpecifier", + "localId" : "382", "resultTypeName" : "{https://github.com/cqframework/cql-execution/simple}Record", - "name" : "CastEncounterAsRecord", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "368", + "name" : "{https://github.com/cqframework/cql-execution/simple}Record", + "annotation" : [ ] + } + } + }, { + "localId" : "385", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "name" : "CastEncounterAsAny", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "385", + "s" : [ { + "value" : [ "", "define ", "CastEncounterAsAny", ": " ] + }, { + "r" : "386", + "s" : [ { + "value" : [ "cast " ] + }, { + "r" : "397", + "s" : [ { + "value" : [ "Echo", "(" ] + }, { + "r" : "394", "s" : [ { - "value" : [ "","define ","CastEncounterAsRecord",": " ] - }, { - "r" : "369", - "s" : [ { - "value" : [ "cast " ] - }, { - "r" : "380", - "s" : [ { - "value" : [ "Echo","(" ] - }, { - "r" : "377", - "s" : [ { - "value" : [ "First","(" ] - }, { - "r" : "370", - "s" : [ { - "value" : [ "[","Encounter","]" ] - } ] - }, { - "value" : [ ")" ] - } ] - }, { - "value" : [ ")" ] - } ] - }, { - "value" : [ " as " ] - }, { - "r" : "382", - "s" : [ { - "value" : [ "Simple",".","Record" ] - } ] - } ] - } ] - } + "value" : [ "First", "(" ] + }, { + "r" : "387", + "s" : [ { + "value" : [ "[", "Encounter", "]" ] + } ] + }, { + "value" : [ ")" ] + } ] + }, { + "value" : [ ")" ] + } ] + }, { + "value" : [ " as " ] + }, { + "r" : "399", + "s" : [ { + "value" : [ "System", ".", "Any" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "As", + "localId" : "386", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "strict" : true, + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "FunctionRef", + "localId" : "397", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "name" : "Echo", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "398", + "name" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] } ], - "expression" : { - "localId" : "369", - "resultTypeName" : "{https://github.com/cqframework/cql-execution/simple}Record", - "strict" : true, - "type" : "As", - "signature" : [ ], - "operand" : { - "localId" : "380", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "name" : "Echo", - "type" : "FunctionRef", - "signature" : [ { - "localId" : "381", - "name" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "377", - "resultTypeName" : "{https://github.com/cqframework/cql-execution/simple}Encounter", - "type" : "First", - "signature" : [ { - "localId" : "378", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "379", - "name" : "{https://github.com/cqframework/cql-execution/simple}Encounter", - "type" : "NamedTypeSpecifier" - } - } ], - "source" : { - "localId" : "370", - "dataType" : "{https://github.com/cqframework/cql-execution/simple}Encounter", - "type" : "Retrieve", - "resultTypeSpecifier" : { - "localId" : "371", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "372", - "name" : "{https://github.com/cqframework/cql-execution/simple}Encounter", - "type" : "NamedTypeSpecifier" - } - }, - "include" : [ ], - "codeFilter" : [ ], - "dateFilter" : [ ], - "otherFilter" : [ ] - } - } ] - }, - "asTypeSpecifier" : { - "localId" : "382", - "resultTypeName" : "{https://github.com/cqframework/cql-execution/simple}Record", - "name" : "{https://github.com/cqframework/cql-execution/simple}Record", - "type" : "NamedTypeSpecifier" - } - } - }, { - "localId" : "385", + "operand" : [ { + "type" : "First", + "localId" : "394", + "resultTypeName" : "{https://github.com/cqframework/cql-execution/simple}Encounter", + "annotation" : [ ], + "signature" : [ { + "type" : "ListTypeSpecifier", + "localId" : "395", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "396", + "name" : "{https://github.com/cqframework/cql-execution/simple}Encounter", + "annotation" : [ ] + } + } ], + "source" : { + "type" : "Retrieve", + "localId" : "387", + "dataType" : "{https://github.com/cqframework/cql-execution/simple}Encounter", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "388", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "389", + "name" : "{https://github.com/cqframework/cql-execution/simple}Encounter", + "annotation" : [ ] + } + }, + "include" : [ ], + "codeFilter" : [ ], + "dateFilter" : [ ], + "otherFilter" : [ ] + } + } ] + }, + "asTypeSpecifier" : { + "type" : "NamedTypeSpecifier", + "localId" : "399", "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "name" : "CastEncounterAsAny", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "385", + "name" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] + } + } + }, { + "localId" : "402", + "resultTypeName" : "{https://github.com/cqframework/cql-execution/simple}Condition", + "name" : "CastEncounterAsCondition", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "402", + "s" : [ { + "value" : [ "", "define ", "CastEncounterAsCondition", ": " ] + }, { + "r" : "403", + "s" : [ { + "value" : [ "cast " ] + }, { + "r" : "414", + "s" : [ { + "value" : [ "Echo", "(" ] + }, { + "r" : "411", "s" : [ { - "value" : [ "","define ","CastEncounterAsAny",": " ] - }, { - "r" : "386", - "s" : [ { - "value" : [ "cast " ] - }, { - "r" : "397", - "s" : [ { - "value" : [ "Echo","(" ] - }, { - "r" : "394", - "s" : [ { - "value" : [ "First","(" ] - }, { - "r" : "387", - "s" : [ { - "value" : [ "[","Encounter","]" ] - } ] - }, { - "value" : [ ")" ] - } ] - }, { - "value" : [ ")" ] - } ] - }, { - "value" : [ " as " ] - }, { - "r" : "399", - "s" : [ { - "value" : [ "System",".","Any" ] - } ] - } ] - } ] - } + "value" : [ "First", "(" ] + }, { + "r" : "404", + "s" : [ { + "value" : [ "[", "Encounter", "]" ] + } ] + }, { + "value" : [ ")" ] + } ] + }, { + "value" : [ ")" ] + } ] + }, { + "value" : [ " as " ] + }, { + "r" : "416", + "s" : [ { + "value" : [ "Simple", ".", "Condition" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "As", + "localId" : "403", + "resultTypeName" : "{https://github.com/cqframework/cql-execution/simple}Condition", + "strict" : true, + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "FunctionRef", + "localId" : "414", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "name" : "Echo", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "415", + "name" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] } ], - "expression" : { - "localId" : "386", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "strict" : true, - "type" : "As", - "signature" : [ ], - "operand" : { - "localId" : "397", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "name" : "Echo", - "type" : "FunctionRef", - "signature" : [ { - "localId" : "398", - "name" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "394", - "resultTypeName" : "{https://github.com/cqframework/cql-execution/simple}Encounter", - "type" : "First", - "signature" : [ { - "localId" : "395", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "396", - "name" : "{https://github.com/cqframework/cql-execution/simple}Encounter", - "type" : "NamedTypeSpecifier" - } - } ], - "source" : { - "localId" : "387", - "dataType" : "{https://github.com/cqframework/cql-execution/simple}Encounter", - "type" : "Retrieve", - "resultTypeSpecifier" : { - "localId" : "388", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "389", - "name" : "{https://github.com/cqframework/cql-execution/simple}Encounter", - "type" : "NamedTypeSpecifier" - } - }, - "include" : [ ], - "codeFilter" : [ ], - "dateFilter" : [ ], - "otherFilter" : [ ] - } - } ] - }, - "asTypeSpecifier" : { - "localId" : "399", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "name" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "NamedTypeSpecifier" - } - } - }, { - "localId" : "402", + "operand" : [ { + "type" : "First", + "localId" : "411", + "resultTypeName" : "{https://github.com/cqframework/cql-execution/simple}Encounter", + "annotation" : [ ], + "signature" : [ { + "type" : "ListTypeSpecifier", + "localId" : "412", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "413", + "name" : "{https://github.com/cqframework/cql-execution/simple}Encounter", + "annotation" : [ ] + } + } ], + "source" : { + "type" : "Retrieve", + "localId" : "404", + "dataType" : "{https://github.com/cqframework/cql-execution/simple}Encounter", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "405", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "406", + "name" : "{https://github.com/cqframework/cql-execution/simple}Encounter", + "annotation" : [ ] + } + }, + "include" : [ ], + "codeFilter" : [ ], + "dateFilter" : [ ], + "otherFilter" : [ ] + } + } ] + }, + "asTypeSpecifier" : { + "type" : "NamedTypeSpecifier", + "localId" : "416", "resultTypeName" : "{https://github.com/cqframework/cql-execution/simple}Condition", - "name" : "CastEncounterAsCondition", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "402", - "s" : [ { - "value" : [ "","define ","CastEncounterAsCondition",": " ] - }, { - "r" : "403", - "s" : [ { - "value" : [ "cast " ] - }, { - "r" : "414", - "s" : [ { - "value" : [ "Echo","(" ] - }, { - "r" : "411", - "s" : [ { - "value" : [ "First","(" ] - }, { - "r" : "404", - "s" : [ { - "value" : [ "[","Encounter","]" ] - } ] - }, { - "value" : [ ")" ] - } ] - }, { - "value" : [ ")" ] - } ] - }, { - "value" : [ " as " ] - }, { - "r" : "416", - "s" : [ { - "value" : [ "Simple",".","Condition" ] - } ] - } ] - } ] - } + "name" : "{https://github.com/cqframework/cql-execution/simple}Condition", + "annotation" : [ ] + } + } + }, { + "localId" : "419", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "name" : "CastEncounterAsString", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "419", + "s" : [ { + "value" : [ "", "define ", "CastEncounterAsString", ": " ] + }, { + "r" : "420", + "s" : [ { + "value" : [ "cast " ] + }, { + "r" : "431", + "s" : [ { + "value" : [ "Echo", "(" ] + }, { + "r" : "428", + "s" : [ { + "value" : [ "First", "(" ] + }, { + "r" : "421", + "s" : [ { + "value" : [ "[", "Encounter", "]" ] + } ] + }, { + "value" : [ ")" ] + } ] + }, { + "value" : [ ")" ] + } ] + }, { + "value" : [ " as " ] + }, { + "r" : "433", + "s" : [ { + "value" : [ "System", ".", "String" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "As", + "localId" : "420", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "strict" : true, + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "FunctionRef", + "localId" : "431", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "name" : "Echo", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "432", + "name" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] } ], - "expression" : { - "localId" : "403", - "resultTypeName" : "{https://github.com/cqframework/cql-execution/simple}Condition", - "strict" : true, - "type" : "As", - "signature" : [ ], - "operand" : { - "localId" : "414", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "name" : "Echo", - "type" : "FunctionRef", - "signature" : [ { - "localId" : "415", - "name" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "411", - "resultTypeName" : "{https://github.com/cqframework/cql-execution/simple}Encounter", - "type" : "First", - "signature" : [ { - "localId" : "412", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "413", - "name" : "{https://github.com/cqframework/cql-execution/simple}Encounter", - "type" : "NamedTypeSpecifier" - } - } ], - "source" : { - "localId" : "404", - "dataType" : "{https://github.com/cqframework/cql-execution/simple}Encounter", - "type" : "Retrieve", - "resultTypeSpecifier" : { - "localId" : "405", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "406", - "name" : "{https://github.com/cqframework/cql-execution/simple}Encounter", - "type" : "NamedTypeSpecifier" - } - }, - "include" : [ ], - "codeFilter" : [ ], - "dateFilter" : [ ], - "otherFilter" : [ ] - } - } ] - }, - "asTypeSpecifier" : { - "localId" : "416", - "resultTypeName" : "{https://github.com/cqframework/cql-execution/simple}Condition", - "name" : "{https://github.com/cqframework/cql-execution/simple}Condition", - "type" : "NamedTypeSpecifier" - } - } - }, { - "localId" : "419", + "operand" : [ { + "type" : "First", + "localId" : "428", + "resultTypeName" : "{https://github.com/cqframework/cql-execution/simple}Encounter", + "annotation" : [ ], + "signature" : [ { + "type" : "ListTypeSpecifier", + "localId" : "429", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "430", + "name" : "{https://github.com/cqframework/cql-execution/simple}Encounter", + "annotation" : [ ] + } + } ], + "source" : { + "type" : "Retrieve", + "localId" : "421", + "dataType" : "{https://github.com/cqframework/cql-execution/simple}Encounter", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "422", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "423", + "name" : "{https://github.com/cqframework/cql-execution/simple}Encounter", + "annotation" : [ ] + } + }, + "include" : [ ], + "codeFilter" : [ ], + "dateFilter" : [ ], + "otherFilter" : [ ] + } + } ] + }, + "asTypeSpecifier" : { + "type" : "NamedTypeSpecifier", + "localId" : "433", "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "name" : "CastEncounterAsString", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "419", - "s" : [ { - "value" : [ "","define ","CastEncounterAsString",": " ] - }, { - "r" : "420", - "s" : [ { - "value" : [ "cast " ] - }, { - "r" : "431", - "s" : [ { - "value" : [ "Echo","(" ] - }, { - "r" : "428", - "s" : [ { - "value" : [ "First","(" ] - }, { - "r" : "421", - "s" : [ { - "value" : [ "[","Encounter","]" ] - } ] - }, { - "value" : [ ")" ] - } ] - }, { - "value" : [ ")" ] - } ] - }, { - "value" : [ " as " ] - }, { - "r" : "433", - "s" : [ { - "value" : [ "System",".","String" ] - } ] - } ] - } ] - } - } ], - "expression" : { - "localId" : "420", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "strict" : true, - "type" : "As", - "signature" : [ ], - "operand" : { - "localId" : "431", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "name" : "Echo", - "type" : "FunctionRef", - "signature" : [ { - "localId" : "432", - "name" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "428", - "resultTypeName" : "{https://github.com/cqframework/cql-execution/simple}Encounter", - "type" : "First", - "signature" : [ { - "localId" : "429", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "430", - "name" : "{https://github.com/cqframework/cql-execution/simple}Encounter", - "type" : "NamedTypeSpecifier" - } - } ], - "source" : { - "localId" : "421", - "dataType" : "{https://github.com/cqframework/cql-execution/simple}Encounter", - "type" : "Retrieve", - "resultTypeSpecifier" : { - "localId" : "422", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "423", - "name" : "{https://github.com/cqframework/cql-execution/simple}Encounter", - "type" : "NamedTypeSpecifier" - } - }, - "include" : [ ], - "codeFilter" : [ ], - "dateFilter" : [ ], - "otherFilter" : [ ] - } - } ] - }, - "asTypeSpecifier" : { - "localId" : "433", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } - } - }, { - "localId" : "436", - "resultTypeName" : "{https://github.com/cqframework/cql-execution/simple}Encounter", - "name" : "CastListAsEncounter", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "436", - "s" : [ { - "value" : [ "","define ","CastListAsEncounter",": " ] - }, { - "r" : "437", - "s" : [ { - "value" : [ "cast " ] - }, { - "r" : "441", - "s" : [ { - "value" : [ "Echo","(" ] - }, { - "r" : "438", - "s" : [ { - "value" : [ "[","Encounter","]" ] - } ] - }, { - "value" : [ ")" ] - } ] - }, { - "value" : [ " as " ] - }, { - "r" : "443", - "s" : [ { - "value" : [ "Simple",".","Encounter" ] - } ] - } ] - } ] - } + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } + } + }, { + "localId" : "436", + "resultTypeName" : "{https://github.com/cqframework/cql-execution/simple}Encounter", + "name" : "CastListAsEncounter", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "436", + "s" : [ { + "value" : [ "", "define ", "CastListAsEncounter", ": " ] + }, { + "r" : "437", + "s" : [ { + "value" : [ "cast " ] + }, { + "r" : "441", + "s" : [ { + "value" : [ "Echo", "(" ] + }, { + "r" : "438", + "s" : [ { + "value" : [ "[", "Encounter", "]" ] + } ] + }, { + "value" : [ ")" ] + } ] + }, { + "value" : [ " as " ] + }, { + "r" : "443", + "s" : [ { + "value" : [ "Simple", ".", "Encounter" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "As", + "localId" : "437", + "resultTypeName" : "{https://github.com/cqframework/cql-execution/simple}Encounter", + "strict" : true, + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "FunctionRef", + "localId" : "441", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "name" : "Echo", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "442", + "name" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] } ], - "expression" : { - "localId" : "437", - "resultTypeName" : "{https://github.com/cqframework/cql-execution/simple}Encounter", - "strict" : true, - "type" : "As", - "signature" : [ ], - "operand" : { - "localId" : "441", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "name" : "Echo", - "type" : "FunctionRef", - "signature" : [ { - "localId" : "442", - "name" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "438", - "dataType" : "{https://github.com/cqframework/cql-execution/simple}Encounter", - "type" : "Retrieve", - "resultTypeSpecifier" : { - "localId" : "439", - "type" : "ListTypeSpecifier", - "elementType" : { - "localId" : "440", - "name" : "{https://github.com/cqframework/cql-execution/simple}Encounter", - "type" : "NamedTypeSpecifier" - } - }, - "include" : [ ], - "codeFilter" : [ ], - "dateFilter" : [ ], - "otherFilter" : [ ] - } ] - }, - "asTypeSpecifier" : { - "localId" : "443", - "resultTypeName" : "{https://github.com/cqframework/cql-execution/simple}Encounter", + "operand" : [ { + "type" : "Retrieve", + "localId" : "438", + "dataType" : "{https://github.com/cqframework/cql-execution/simple}Encounter", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "ListTypeSpecifier", + "localId" : "439", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "440", "name" : "{https://github.com/cqframework/cql-execution/simple}Encounter", - "type" : "NamedTypeSpecifier" - } - } - }, { - "localId" : "446", + "annotation" : [ ] + } + }, + "include" : [ ], + "codeFilter" : [ ], + "dateFilter" : [ ], + "otherFilter" : [ ] + } ] + }, + "asTypeSpecifier" : { + "type" : "NamedTypeSpecifier", + "localId" : "443", "resultTypeName" : "{https://github.com/cqframework/cql-execution/simple}Encounter", - "name" : "CastIntervalAsEncounter", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "446", - "s" : [ { - "value" : [ "","define ","CastIntervalAsEncounter",": " ] - }, { - "r" : "447", - "s" : [ { - "value" : [ "cast " ] - }, { - "r" : "453", - "s" : [ { - "value" : [ "Echo","(" ] - }, { - "r" : "450", - "s" : [ { - "r" : "448", - "value" : [ "Interval[","1",", ","5","]" ] - } ] - }, { - "value" : [ ")" ] - } ] - }, { - "value" : [ " as " ] - }, { - "r" : "455", - "s" : [ { - "value" : [ "Simple",".","Encounter" ] - } ] - } ] - } ] - } + "name" : "{https://github.com/cqframework/cql-execution/simple}Encounter", + "annotation" : [ ] + } + } + }, { + "localId" : "446", + "resultTypeName" : "{https://github.com/cqframework/cql-execution/simple}Encounter", + "name" : "CastIntervalAsEncounter", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "446", + "s" : [ { + "value" : [ "", "define ", "CastIntervalAsEncounter", ": " ] + }, { + "r" : "447", + "s" : [ { + "value" : [ "cast " ] + }, { + "r" : "453", + "s" : [ { + "value" : [ "Echo", "(" ] + }, { + "r" : "450", + "s" : [ { + "r" : "448", + "value" : [ "Interval[", "1", ", ", "5", "]" ] + } ] + }, { + "value" : [ ")" ] + } ] + }, { + "value" : [ " as " ] + }, { + "r" : "455", + "s" : [ { + "value" : [ "Simple", ".", "Encounter" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "As", + "localId" : "447", + "resultTypeName" : "{https://github.com/cqframework/cql-execution/simple}Encounter", + "strict" : true, + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "FunctionRef", + "localId" : "453", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "name" : "Echo", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "454", + "name" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] } ], - "expression" : { - "localId" : "447", - "resultTypeName" : "{https://github.com/cqframework/cql-execution/simple}Encounter", - "strict" : true, - "type" : "As", - "signature" : [ ], - "operand" : { - "localId" : "453", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "name" : "Echo", - "type" : "FunctionRef", - "signature" : [ { - "localId" : "454", - "name" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "450", - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "resultTypeSpecifier" : { - "localId" : "451", - "type" : "IntervalTypeSpecifier", - "pointType" : { - "localId" : "452", - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier" - } - }, - "low" : { - "localId" : "448", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal" - }, - "high" : { - "localId" : "449", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal" - } - } ] - }, - "asTypeSpecifier" : { - "localId" : "455", - "resultTypeName" : "{https://github.com/cqframework/cql-execution/simple}Encounter", - "name" : "{https://github.com/cqframework/cql-execution/simple}Encounter", - "type" : "NamedTypeSpecifier" - } - } - }, { - "localId" : "458", + "operand" : [ { + "type" : "Interval", + "localId" : "450", + "lowClosed" : true, + "highClosed" : true, + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "IntervalTypeSpecifier", + "localId" : "451", + "annotation" : [ ], + "pointType" : { + "type" : "NamedTypeSpecifier", + "localId" : "452", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "annotation" : [ ] + } + }, + "low" : { + "type" : "Literal", + "localId" : "448", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "annotation" : [ ] + }, + "high" : { + "type" : "Literal", + "localId" : "449", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "5", + "annotation" : [ ] + } + } ] + }, + "asTypeSpecifier" : { + "type" : "NamedTypeSpecifier", + "localId" : "455", "resultTypeName" : "{https://github.com/cqframework/cql-execution/simple}Encounter", - "name" : "CastTupleAsEncounter", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "458", - "s" : [ { - "value" : [ "","define ","CastTupleAsEncounter",": " ] - }, { - "r" : "459", - "s" : [ { - "value" : [ "cast " ] - }, { - "r" : "466", - "s" : [ { - "value" : [ "Echo","(" ] - }, { - "r" : "460", - "s" : [ { - "value" : [ "{" ] - }, { - "s" : [ { - "value" : [ "id",": " ] - }, { - "r" : "461", - "s" : [ { - "value" : [ "'1'" ] - } ] - } ] - }, { - "value" : [ "}" ] - } ] - }, { - "value" : [ ")" ] - } ] - }, { - "value" : [ " as " ] - }, { - "r" : "468", - "s" : [ { - "value" : [ "Simple",".","Encounter" ] - } ] - } ] - } ] - } + "name" : "{https://github.com/cqframework/cql-execution/simple}Encounter", + "annotation" : [ ] + } + } + }, { + "localId" : "458", + "resultTypeName" : "{https://github.com/cqframework/cql-execution/simple}Encounter", + "name" : "CastTupleAsEncounter", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "458", + "s" : [ { + "value" : [ "", "define ", "CastTupleAsEncounter", ": " ] + }, { + "r" : "459", + "s" : [ { + "value" : [ "cast " ] + }, { + "r" : "466", + "s" : [ { + "value" : [ "Echo", "(" ] + }, { + "r" : "460", + "s" : [ { + "value" : [ "{" ] + }, { + "s" : [ { + "value" : [ "id", ": " ] + }, { + "r" : "461", + "s" : [ { + "value" : [ "'1'" ] + } ] + } ] + }, { + "value" : [ "}" ] + } ] + }, { + "value" : [ ")" ] + } ] + }, { + "value" : [ " as " ] + }, { + "r" : "468", + "s" : [ { + "value" : [ "Simple", ".", "Encounter" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "As", + "localId" : "459", + "resultTypeName" : "{https://github.com/cqframework/cql-execution/simple}Encounter", + "strict" : true, + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "FunctionRef", + "localId" : "466", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "name" : "Echo", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "467", + "name" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] } ], - "expression" : { - "localId" : "459", - "resultTypeName" : "{https://github.com/cqframework/cql-execution/simple}Encounter", - "strict" : true, - "type" : "As", - "signature" : [ ], - "operand" : { - "localId" : "466", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "name" : "Echo", - "type" : "FunctionRef", - "signature" : [ { - "localId" : "467", - "name" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "460", - "type" : "Tuple", - "resultTypeSpecifier" : { - "localId" : "463", - "type" : "TupleTypeSpecifier", - "element" : [ { - "localId" : "464", - "name" : "id", - "elementType" : { - "localId" : "465", - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier" - } - } ] - }, - "element" : [ { - "name" : "id", - "value" : { - "localId" : "461", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "1", - "type" : "Literal" - } - } ] - } ] - }, - "asTypeSpecifier" : { - "localId" : "468", - "resultTypeName" : "{https://github.com/cqframework/cql-execution/simple}Encounter", - "name" : "{https://github.com/cqframework/cql-execution/simple}Encounter", - "type" : "NamedTypeSpecifier" - } - } - }, { - "localId" : "471", + "operand" : [ { + "type" : "Tuple", + "localId" : "460", + "annotation" : [ ], + "resultTypeSpecifier" : { + "type" : "TupleTypeSpecifier", + "localId" : "463", + "annotation" : [ ], + "element" : [ { + "localId" : "464", + "name" : "id", + "annotation" : [ ], + "elementType" : { + "type" : "NamedTypeSpecifier", + "localId" : "465", + "name" : "{urn:hl7-org:elm-types:r1}String", + "annotation" : [ ] + } + } ] + }, + "element" : [ { + "name" : "id", + "value" : { + "type" : "Literal", + "localId" : "461", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "1", + "annotation" : [ ] + } + } ] + } ] + }, + "asTypeSpecifier" : { + "type" : "NamedTypeSpecifier", + "localId" : "468", "resultTypeName" : "{https://github.com/cqframework/cql-execution/simple}Encounter", - "name" : "CastNamedTupleAsEncounter", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ { - "type" : "Annotation", - "s" : { - "r" : "471", + "name" : "{https://github.com/cqframework/cql-execution/simple}Encounter", + "annotation" : [ ] + } + } + }, { + "localId" : "471", + "resultTypeName" : "{https://github.com/cqframework/cql-execution/simple}Encounter", + "name" : "CastNamedTupleAsEncounter", + "context" : "Patient", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "t" : [ ], + "s" : { + "r" : "471", + "s" : [ { + "value" : [ "", "define ", "CastNamedTupleAsEncounter", ": " ] + }, { + "r" : "472", + "s" : [ { + "r" : "477", + "s" : [ { + "value" : [ "Echo", "(" ] + }, { + "r" : "473", "s" : [ { - "value" : [ "","define ","CastNamedTupleAsEncounter",": " ] - }, { - "r" : "472", - "s" : [ { - "r" : "477", - "s" : [ { - "value" : [ "Echo","(" ] - }, { - "r" : "473", - "s" : [ { - "value" : [ "Encounter"," {" ] - }, { - "s" : [ { - "value" : [ "id",": " ] - }, { - "r" : "475", - "s" : [ { - "value" : [ "'1'" ] - } ] - } ] - }, { - "value" : [ "}" ] - } ] - }, { - "value" : [ ")" ] - } ] - }, { - "value" : [ " as " ] - }, { - "r" : "479", - "s" : [ { - "value" : [ "Simple",".","Encounter" ] - } ] - } ] - } ] - } + "value" : [ "Encounter", " {" ] + }, { + "s" : [ { + "value" : [ "id", ": " ] + }, { + "r" : "475", + "s" : [ { + "value" : [ "'1'" ] + } ] + } ] + }, { + "value" : [ "}" ] + } ] + }, { + "value" : [ ")" ] + } ] + }, { + "value" : [ " as " ] + }, { + "r" : "479", + "s" : [ { + "value" : [ "Simple", ".", "Encounter" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "type" : "As", + "localId" : "472", + "resultTypeName" : "{https://github.com/cqframework/cql-execution/simple}Encounter", + "strict" : false, + "annotation" : [ ], + "signature" : [ ], + "operand" : { + "type" : "FunctionRef", + "localId" : "477", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", + "name" : "Echo", + "annotation" : [ ], + "signature" : [ { + "type" : "NamedTypeSpecifier", + "localId" : "478", + "name" : "{urn:hl7-org:elm-types:r1}Any", + "annotation" : [ ] } ], - "expression" : { - "localId" : "472", - "resultTypeName" : "{https://github.com/cqframework/cql-execution/simple}Encounter", - "strict" : false, - "type" : "As", - "signature" : [ ], - "operand" : { - "localId" : "477", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any", - "name" : "Echo", - "type" : "FunctionRef", - "signature" : [ { - "localId" : "478", - "name" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "NamedTypeSpecifier" - } ], - "operand" : [ { - "localId" : "473", - "resultTypeName" : "{https://github.com/cqframework/cql-execution/simple}Encounter", - "classType" : "{https://github.com/cqframework/cql-execution/simple}Encounter", - "type" : "Instance", - "element" : [ { - "name" : "id", - "value" : { - "localId" : "475", - "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "1", - "type" : "Literal" - } - } ] - } ] - }, - "asTypeSpecifier" : { - "localId" : "479", - "resultTypeName" : "{https://github.com/cqframework/cql-execution/simple}Encounter", - "name" : "{https://github.com/cqframework/cql-execution/simple}Encounter", - "type" : "NamedTypeSpecifier" - } - } - } ] - } - } + "operand" : [ { + "type" : "Instance", + "localId" : "473", + "resultTypeName" : "{https://github.com/cqframework/cql-execution/simple}Encounter", + "classType" : "{https://github.com/cqframework/cql-execution/simple}Encounter", + "annotation" : [ ], + "element" : [ { + "name" : "id", + "value" : { + "type" : "Literal", + "localId" : "475", + "resultTypeName" : "{urn:hl7-org:elm-types:r1}String", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "1", + "annotation" : [ ] + } + } ] + } ] + }, + "asTypeSpecifier" : { + "type" : "NamedTypeSpecifier", + "localId" : "479", + "resultTypeName" : "{https://github.com/cqframework/cql-execution/simple}Encounter", + "name" : "{https://github.com/cqframework/cql-execution/simple}Encounter", + "annotation" : [ ] + } + } + } ] + } + } } diff --git a/test/generator/build.gradle b/test/generator/build.gradle index 291eaa71..e98e4d07 100644 --- a/test/generator/build.gradle +++ b/test/generator/build.gradle @@ -1,37 +1,34 @@ apply plugin:'java' -sourceCompatibility = '17' +java { + sourceCompatibility = '17' +} repositories { mavenCentral() - maven { - url "https://oss.sonatype.org/content/repositories/snapshots" - } } dependencies { - implementation group: 'info.cqframework', name: 'cql-to-elm-cli', version: '3.27.0' - implementation group: 'info.cqframework', name: 'cql-to-elm', version: '3.27.0' - implementation group: 'info.cqframework', name: 'model-jaxb', version: '3.27.0' - implementation group: 'info.cqframework', name: 'elm-jaxb', version: '3.27.0' + implementation group: 'org.cqframework', name: 'cql-to-elm-cli', version: '4.2.0' + implementation group: 'org.cqframework', name: 'cql-to-elm', version: '4.2.0' implementation group: 'net.sf.jopt-simple', name: 'jopt-simple', version: '4.7' - runtimeOnly group: 'org.eclipse.persistence', name: 'org.eclipse.persistence.moxy', version: '2.7.7' + implementation group: 'com.fasterxml.jackson.core', name: 'jackson-databind', version: '2.18.0' } task generateTestData (dependsOn: 'classes', type: JavaExec) { - main = 'JavaScriptTestDataGenerator' + mainClass = 'JavaScriptTestDataGenerator' classpath = sourceSets.main.runtimeClasspath args = ["-r", "-i", "${projectDir}/../elm"] } task watchTestData (dependsOn: 'classes', type: JavaExec) { - main = 'JavaScriptTestDataGenerator' + mainClass = 'JavaScriptTestDataGenerator' classpath = sourceSets.main.runtimeClasspath args = ["-r", "-w", "-i", "${projectDir}/../elm"] } task generateSpecTestData(dependsOn: 'classes', type: JavaExec) { classpath = sourceSets.main.runtimeClasspath - main = 'org.cqframework.cql.cql2elm.cli.Main' + mainClass = 'org.cqframework.cql.cql2elm.cli.Main' args '--input', "${projectDir}/../spec-tests/cql", '--format', 'JSON' } diff --git a/test/generator/gradle/wrapper/gradle-wrapper.jar b/test/generator/gradle/wrapper/gradle-wrapper.jar index 1b33c55b..61285a65 100644 Binary files a/test/generator/gradle/wrapper/gradle-wrapper.jar and b/test/generator/gradle/wrapper/gradle-wrapper.jar differ diff --git a/test/generator/gradle/wrapper/gradle-wrapper.properties b/test/generator/gradle/wrapper/gradle-wrapper.properties index d4081da4..19a6bdeb 100644 --- a/test/generator/gradle/wrapper/gradle-wrapper.properties +++ b/test/generator/gradle/wrapper/gradle-wrapper.properties @@ -1,6 +1,6 @@ distributionBase=GRADLE_USER_HOME distributionPath=wrapper/dists -distributionUrl=https\://services.gradle.org/distributions/gradle-8.14.3-bin.zip +distributionUrl=https\://services.gradle.org/distributions/gradle-9.3.0-bin.zip networkTimeout=10000 validateDistributionUrl=true zipStoreBase=GRADLE_USER_HOME diff --git a/test/generator/gradlew b/test/generator/gradlew index 23d15a93..adff685a 100755 --- a/test/generator/gradlew +++ b/test/generator/gradlew @@ -1,7 +1,7 @@ #!/bin/sh # -# Copyright © 2015-2021 the original authors. +# Copyright © 2015 the original authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. @@ -114,7 +114,6 @@ case "$( uname )" in #( NONSTOP* ) nonstop=true ;; esac -CLASSPATH="\\\"\\\"" # Determine the Java command to use to start the JVM. @@ -172,7 +171,6 @@ fi # For Cygwin or MSYS, switch paths to Windows format before running java if "$cygwin" || "$msys" ; then APP_HOME=$( cygpath --path --mixed "$APP_HOME" ) - CLASSPATH=$( cygpath --path --mixed "$CLASSPATH" ) JAVACMD=$( cygpath --unix "$JAVACMD" ) @@ -212,7 +210,6 @@ DEFAULT_JVM_OPTS='"-Xmx64m" "-Xms64m"' set -- \ "-Dorg.gradle.appname=$APP_BASE_NAME" \ - -classpath "$CLASSPATH" \ -jar "$APP_HOME/gradle/wrapper/gradle-wrapper.jar" \ "$@" diff --git a/test/generator/gradlew.bat b/test/generator/gradlew.bat index 5eed7ee8..e509b2dd 100644 --- a/test/generator/gradlew.bat +++ b/test/generator/gradlew.bat @@ -70,11 +70,10 @@ goto fail :execute @rem Setup the command line -set CLASSPATH= @rem Execute Gradle -"%JAVA_EXE%" %DEFAULT_JVM_OPTS% %JAVA_OPTS% %GRADLE_OPTS% "-Dorg.gradle.appname=%APP_BASE_NAME%" -classpath "%CLASSPATH%" -jar "%APP_HOME%\gradle\wrapper\gradle-wrapper.jar" %* +"%JAVA_EXE%" %DEFAULT_JVM_OPTS% %JAVA_OPTS% %GRADLE_OPTS% "-Dorg.gradle.appname=%APP_BASE_NAME%" -jar "%APP_HOME%\gradle\wrapper\gradle-wrapper.jar" %* :end @rem End local scope for the variables with windows NT shell diff --git a/test/generator/src/main/java/JavaScriptTestDataGenerator.java b/test/generator/src/main/java/JavaScriptTestDataGenerator.java index 0ef636eb..ff013bee 100644 --- a/test/generator/src/main/java/JavaScriptTestDataGenerator.java +++ b/test/generator/src/main/java/JavaScriptTestDataGenerator.java @@ -1,13 +1,15 @@ +import com.fasterxml.jackson.core.JsonProcessingException; +import com.fasterxml.jackson.databind.ObjectMapper; import joptsimple.OptionParser; import joptsimple.OptionSet; import joptsimple.OptionSpec; +import kotlinx.io.Source; import org.cqframework.cql.cql2elm.*; -import org.cqframework.cql.elm.tracking.TrackBack; +import org.cqframework.cql.cql2elm.tracking.TrackBack; import org.hl7.cql.model.ModelIdentifier; import org.hl7.cql.model.ModelInfoProvider; -import org.hl7.elm.r1.VersionedIdentifier; import org.hl7.elm_modelinfo.r1.ModelInfo; -import org.hl7.elm_modelinfo.r1.serializing.ModelInfoReaderFactory; +import org.hl7.elm_modelinfo.r1.serializing.XmlModelInfoReaderKt; import java.io.BufferedReader; import java.io.File; @@ -19,7 +21,6 @@ import java.nio.file.Files; import java.nio.file.Path; import java.nio.file.SimpleFileVisitor; -import java.nio.file.StandardCopyOption; import java.nio.file.StandardWatchEventKinds; import java.nio.file.WatchEvent; import java.nio.file.WatchKey; @@ -33,6 +34,9 @@ import java.util.regex.Pattern; import static java.nio.file.FileVisitResult.CONTINUE; +import static kotlinx.io.CoreKt.buffered; +import static kotlinx.io.JvmCoreKt.asSource; + public class JavaScriptTestDataGenerator { private static final Pattern SNIPPET_START = Pattern.compile("^\\s*\\/\\/\\s+\\@Test\\:\\s+(.*\\S)\\s*$"); @@ -47,9 +51,8 @@ private static Map getCqlSnippets(Path file) throws IOExc String currentSnippetName = null; StringBuilder currentSnippet = null; - try (BufferedReader br = new BufferedReader( - new InputStreamReader(new FileInputStream(file.toFile()), "UTF-8"))) { - for (String line; (line = br.readLine()) != null;) { + try (BufferedReader br = new BufferedReader(new InputStreamReader(new FileInputStream(file.toFile()), "UTF-8"))) { + for (String line; (line = br.readLine()) != null; ) { Matcher snippetMatcher = SNIPPET_START.matcher(line); if (snippetMatcher.matches()) { if (currentSnippetName != null) { @@ -74,9 +77,9 @@ private static Map getCqlSnippets(Path file) throws IOExc public static void loadModelInfo(File modelInfoXML, ModelManager modelManager) { try { - final ModelInfo modelInfo = ModelInfoReaderFactory.getReader("application/xml").read(modelInfoXML); - final ModelIdentifier modelId = new ModelIdentifier().withId(modelInfo.getName()) - .withVersion(modelInfo.getVersion()); + final Source source = buffered(asSource(new FileInputStream(modelInfoXML))); + final ModelInfo modelInfo = XmlModelInfoReaderKt.parseModelInfoXml(source); + final ModelIdentifier modelId = new ModelIdentifier(modelInfo.getName(), null, modelInfo.getVersion()); final ModelInfoProvider modelProvider = (ModelIdentifier modelIdentifier) -> modelInfo; modelManager.getModelInfoLoader().registerModelInfoProvider(modelProvider); } catch (IOException e) { @@ -85,8 +88,7 @@ public static void loadModelInfo(File modelInfoXML, ModelManager modelManager) { } } - private static void writeSnippetsToJavaScriptFile(Map snippets, Path file) - throws IOException { + private static void writeSnippetsToJavaScriptFile(Map snippets, Path file) throws IOException { PrintWriter pw = new PrintWriter(file.toFile(), "UTF-8"); pw.println("/*"); pw.println(" WARNING: This is a GENERATED file. Do not manually edit!"); @@ -97,8 +99,8 @@ private static void writeSnippetsToJavaScriptFile(Map sni pw.println("*/"); pw.println(); if (snippets.size() > 0) { - pw.println("/* eslint-disable */"); - pw.println(); + pw.println("/* eslint-disable */"); + pw.println(); } for (Map.Entry entry : snippets.entrySet()) { @@ -123,23 +125,22 @@ private static void writeSnippetsToJavaScriptFile(Map sni // CqlCompilerOptions.Options.DisableListPromotion, CqlCompilerOptions.Options.EnableResultTypes)); libraryManager.getCqlCompilerOptions().setSignatureLevel(LibraryBuilder.SignatureLevel.All); - libraryManager.getLibrarySourceLoader() - .registerProvider(new DefaultLibrarySourceProvider(file.getParent())); + var parentPath = new kotlinx.io.files.Path(new File(file.getParent().toString())); + libraryManager.getLibrarySourceLoader().registerProvider(new DefaultLibrarySourceProvider(parentPath)); CqlTranslator cqlt = CqlTranslator.fromText(snippet, libraryManager); if (!cqlt.getErrors().isEmpty()) { pw.println("/*"); pw.println("Translation Error(s):"); for (CqlCompilerException e : cqlt.getErrors()) { TrackBack tb = e.getLocator(); - String lines = tb == null ? "[n/a]" - : String.format("[%d:%d, %d:%d]", - tb.getStartLine(), tb.getStartChar(), tb.getEndLine(), tb.getEndChar()); + String lines = tb == null ? "[n/a]" : String.format("[%d:%d, %d:%d]", + tb.getStartLine(), tb.getStartChar(), tb.getEndLine(), tb.getEndChar()); pw.printf("%s %s%n", lines, e.getMessage()); System.err.printf("<%s#%s%s> %s%n", file.toFile().getName(), name, lines, e.getMessage()); } pw.println("*/"); } - pw.println("module.exports['" + name + "'] = " + cqlt.toJson()); + pw.println("module.exports['" + name + "'] = " + prettyPrint(cqlt.toJson())); } catch (Exception e) { pw.println("/*"); pw.println("Translation Exception: " + e.getMessage()); @@ -153,6 +154,12 @@ private static void writeSnippetsToJavaScriptFile(Map sni System.out.println("Generated " + file.toAbsolutePath().normalize()); } + private static String prettyPrint(String jsonString) throws JsonProcessingException { + ObjectMapper objectMapper = new ObjectMapper(); + Object jsonObject = objectMapper.readValue(jsonString, Object.class); + return objectMapper.writerWithDefaultPrettyPrinter().writeValueAsString(jsonObject); + } + private static void updateSnippet(StringBuilder snippet) { // Insert "library" first if (!LIBRARY_CHECK.matcher(snippet).find()) { @@ -202,9 +209,7 @@ public static void main(String[] args) throws IOException, InterruptedException final OptionSet options = parser.parse(args); final File inputFile = input.value(options); - final WatchService watcher = options.has(watch) - ? input.value(options).toPath().getFileSystem().newWatchService() - : null; + final WatchService watcher = options.has(watch) ? input.value(options).toPath().getFileSystem().newWatchService() : null; final HashMap watchKeys = new HashMap<>(); if (options.has(recursive)) { if (inputFile.isFile()) { @@ -227,8 +232,7 @@ public FileVisitResult visitFile(Path file, BasicFileAttributes attrs) throws IO @Override public FileVisitResult postVisitDirectory(Path dir, IOException exc) throws IOException { if (watcher != null) { - WatchKey key = dir.register(watcher, StandardWatchEventKinds.ENTRY_MODIFY, - StandardWatchEventKinds.ENTRY_CREATE); + WatchKey key = dir.register(watcher, StandardWatchEventKinds.ENTRY_MODIFY, StandardWatchEventKinds.ENTRY_CREATE); watchKeys.put(key, dir); } return CONTINUE; @@ -251,7 +255,7 @@ public FileVisitResult postVisitDirectory(Path dir, IOException exc) throws IOEx if (watcher != null) { System.out.println("Watching " + inputFile.toPath().toAbsolutePath().normalize()); - for (;;) { + for (; ; ) { WatchKey watchKey = watcher.take(); if (watchKeys.containsKey(watchKey)) { List> events = watchKey.pollEvents(); @@ -261,10 +265,8 @@ public FileVisitResult postVisitDirectory(Path dir, IOException exc) throws IOEx if (inputFile.isDirectory() || (inputFile.isFile() && file.equals(inputFile.toPath()))) { fileToJavaScript(file); } - } else if (event.kind() == StandardWatchEventKinds.ENTRY_CREATE - && file.toFile().isDirectory()) { - WatchKey key = file.register(watcher, StandardWatchEventKinds.ENTRY_MODIFY, - StandardWatchEventKinds.ENTRY_CREATE); + } else if (event.kind() == StandardWatchEventKinds.ENTRY_CREATE && file.toFile().isDirectory()) { + WatchKey key = file.register(watcher, StandardWatchEventKinds.ENTRY_MODIFY, StandardWatchEventKinds.ENTRY_CREATE); watchKeys.put(key, file); } } @@ -275,4 +277,4 @@ public FileVisitResult postVisitDirectory(Path dir, IOException exc) throws IOEx } } -} +} \ No newline at end of file diff --git a/test/spec-tests/cql/CqlAggregateFunctionsTest.json b/test/spec-tests/cql/CqlAggregateFunctionsTest.json index 0f4d3832..e35d4724 100644 --- a/test/spec-tests/cql/CqlAggregateFunctionsTest.json +++ b/test/spec-tests/cql/CqlAggregateFunctionsTest.json @@ -1,3219 +1,3666 @@ { - "library" : { - "annotation" : [ { - "translatorVersion" : "3.27.0", - "translatorOptions" : "", - "signatureLevel" : "None", - "type" : "CqlToElmInfo" - } ], - "identifier" : { - "id" : "CqlAggregateFunctionsTest", - "version" : "1.4.0" - }, - "schemaIdentifier" : { - "id" : "urn:hl7-org:elm", - "version" : "r1" - }, - "usings" : { - "def" : [ { - "localIdentifier" : "System", - "uri" : "urn:hl7-org:elm-types:r1", - "annotation" : [ ] - }, { - "localIdentifier" : "QUICK", - "uri" : "http://hl7.org/fhir/us/qicore", - "version" : "3.3.0", - "annotation" : [ ] - } ] - }, - "contexts" : { - "def" : [ { - "name" : "Patient", - "annotation" : [ ] - } ] - }, - "statements" : { - "def" : [ { - "name" : "Patient", - "context" : "Patient", - "annotation" : [ ], - "expression" : { - "type" : "SingletonFrom", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "dataType" : "{http://hl7.org/fhir/us/qicore}Patient", - "templateId" : "http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-patient", - "type" : "Retrieve", - "annotation" : [ ], - "include" : [ ], - "codeFilter" : [ ], - "dateFilter" : [ ], - "otherFilter" : [ ] - } + "library": { + "annotation": [ + { + "type": "CqlToElmInfo", + "translatorVersion": "4.2.0", + "translatorOptions": "", + "signatureLevel": "None" + } + ], + "identifier": { + "id": "CqlAggregateFunctionsTest", + "version": "1.4.0" + }, + "schemaIdentifier": { + "id": "urn:hl7-org:elm", + "version": "r1" + }, + "usings": { + "def": [ + { + "localIdentifier": "System", + "uri": "urn:hl7-org:elm-types:r1", + "annotation": [] + }, + { + "localIdentifier": "QUICK", + "uri": "http://hl7.org/fhir/us/qicore", + "version": "3.3.0", + "annotation": [] + } + ] + }, + "contexts": { + "def": [ + { + "name": "Patient", + "annotation": [] + } + ] + }, + "statements": { + "def": [ + { + "name": "Patient", + "context": "Patient", + "annotation": [], + "expression": { + "type": "SingletonFrom", + "annotation": [], + "signature": [], + "operand": { + "type": "Retrieve", + "dataType": "{http://hl7.org/fhir/us/qicore}Patient", + "templateId": "http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-patient", + "annotation": [], + "include": [], + "codeFilter": [], + "dateFilter": [], + "otherFilter": [] } - }, { - "name" : "AllTrue", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ ], - "expression" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "AllTrueAllTrue", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "AllTrue", - "annotation" : [ ], - "signature" : [ ], - "source" : { - "type" : "List", - "annotation" : [ ], - "element" : [ { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "true", - "type" : "Literal", - "annotation" : [ ] - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "true", - "type" : "Literal", - "annotation" : [ ] - } ] - } - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "true", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "AllTrueTrueFirst", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "AllTrue", - "annotation" : [ ], - "signature" : [ ], - "source" : { - "type" : "List", - "annotation" : [ ], - "element" : [ { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "true", - "type" : "Literal", - "annotation" : [ ] - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "false", - "type" : "Literal", - "annotation" : [ ] - } ] - } - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "false", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "AllTrueFalseFirst", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "AllTrue", - "annotation" : [ ], - "signature" : [ ], - "source" : { - "type" : "List", - "annotation" : [ ], - "element" : [ { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "false", - "type" : "Literal", - "annotation" : [ ] - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "true", - "type" : "Literal", - "annotation" : [ ] - } ] - } - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "false", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "AllTrueAllTrueFalseTrue", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "AllTrue", - "annotation" : [ ], - "signature" : [ ], - "source" : { - "type" : "List", - "annotation" : [ ], - "element" : [ { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "true", - "type" : "Literal", - "annotation" : [ ] - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "false", - "type" : "Literal", - "annotation" : [ ] - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "true", - "type" : "Literal", - "annotation" : [ ] - } ] - } - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "false", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "AllTrueAllFalseTrueFalse", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "AllTrue", - "annotation" : [ ], - "signature" : [ ], - "source" : { - "type" : "List", - "annotation" : [ ], - "element" : [ { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "false", - "type" : "Literal", - "annotation" : [ ] - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "true", - "type" : "Literal", - "annotation" : [ ] - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "false", - "type" : "Literal", - "annotation" : [ ] - } ] - } - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "false", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "AllTrueNullFirst", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "AllTrue", - "annotation" : [ ], - "signature" : [ ], - "source" : { - "type" : "List", - "annotation" : [ ], - "element" : [ { - "asType" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "As", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "type" : "Null", - "annotation" : [ ] - } - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "true", - "type" : "Literal", - "annotation" : [ ] - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "true", - "type" : "Literal", - "annotation" : [ ] - } ] - } - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "true", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "AllTrueEmptyList", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "AllTrue", - "annotation" : [ ], - "signature" : [ ], - "source" : { - "type" : "Query", - "annotation" : [ ], - "source" : [ { - "alias" : "X", - "annotation" : [ ], - "expression" : { - "type" : "List", - "annotation" : [ ], - "element" : [ ] - } - } ], - "let" : [ ], - "relationship" : [ ], - "return" : { - "distinct" : false, - "annotation" : [ ], - "expression" : { - "asType" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "As", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "name" : "X", - "type" : "AliasRef", - "annotation" : [ ] - } - } + } + }, + { + "name": "AllTrue", + "context": "Patient", + "accessLevel": "Public", + "annotation": [], + "expression": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "AllTrueAllTrue", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "AllTrue", + "annotation": [], + "signature": [], + "source": { + "type": "List", + "annotation": [], + "element": [ + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "true", + "annotation": [] + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "true", + "annotation": [] + } + ] + } + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "true", + "annotation": [] + } + } + ] + } + }, + { + "name": "AllTrueTrueFirst", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "AllTrue", + "annotation": [], + "signature": [], + "source": { + "type": "List", + "annotation": [], + "element": [ + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "true", + "annotation": [] + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "false", + "annotation": [] + } + ] + } + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "false", + "annotation": [] + } + } + ] + } + }, + { + "name": "AllTrueFalseFirst", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "AllTrue", + "annotation": [], + "signature": [], + "source": { + "type": "List", + "annotation": [], + "element": [ + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "false", + "annotation": [] + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "true", + "annotation": [] + } + ] + } + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "false", + "annotation": [] + } + } + ] + } + }, + { + "name": "AllTrueAllTrueFalseTrue", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "AllTrue", + "annotation": [], + "signature": [], + "source": { + "type": "List", + "annotation": [], + "element": [ + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "true", + "annotation": [] + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "false", + "annotation": [] + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "true", + "annotation": [] + } + ] + } + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "false", + "annotation": [] + } + } + ] + } + }, + { + "name": "AllTrueAllFalseTrueFalse", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "AllTrue", + "annotation": [], + "signature": [], + "source": { + "type": "List", + "annotation": [], + "element": [ + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "false", + "annotation": [] + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "true", + "annotation": [] + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "false", + "annotation": [] + } + ] + } + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "false", + "annotation": [] + } + } + ] + } + }, + { + "name": "AllTrueNullFirst", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "AllTrue", + "annotation": [], + "signature": [], + "source": { + "type": "List", + "annotation": [], + "element": [ + { + "type": "As", + "asType": "{urn:hl7-org:elm-types:r1}Boolean", + "annotation": [], + "signature": [], + "operand": { + "type": "Null", + "annotation": [] } - } - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "true", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "AllTrueIsTrueWhenNull", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "AllTrue", - "annotation" : [ ], - "signature" : [ ], - "source" : { - "type" : "As", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "type" : "Null", - "annotation" : [ ] - }, - "asTypeSpecifier" : { - "type" : "ListTypeSpecifier", - "annotation" : [ ], - "elementType" : { - "name" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "NamedTypeSpecifier", - "annotation" : [ ] - } + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "true", + "annotation": [] + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "true", + "annotation": [] + } + ] + } + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "true", + "annotation": [] + } + } + ] + } + }, + { + "name": "AllTrueEmptyList", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "AllTrue", + "annotation": [], + "signature": [], + "source": { + "type": "Query", + "annotation": [], + "source": [ + { + "alias": "X", + "annotation": [], + "expression": { + "type": "List", + "annotation": [], + "element": [] } - } - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "true", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - } ] - } - }, { - "name" : "AnyTrue", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ ], - "expression" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "AnyTrueAllTrue", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "AnyTrue", - "annotation" : [ ], - "signature" : [ ], - "source" : { - "type" : "List", - "annotation" : [ ], - "element" : [ { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "true", - "type" : "Literal", - "annotation" : [ ] - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "true", - "type" : "Literal", - "annotation" : [ ] - } ] - } - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "true", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "AnyTrueAllFalse", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "AnyTrue", - "annotation" : [ ], - "signature" : [ ], - "source" : { - "type" : "List", - "annotation" : [ ], - "element" : [ { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "false", - "type" : "Literal", - "annotation" : [ ] - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "false", - "type" : "Literal", - "annotation" : [ ] - } ] - } - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "false", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "AnyTrueAllTrueFalseTrue", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "AnyTrue", - "annotation" : [ ], - "signature" : [ ], - "source" : { - "type" : "List", - "annotation" : [ ], - "element" : [ { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "true", - "type" : "Literal", - "annotation" : [ ] - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "false", - "type" : "Literal", - "annotation" : [ ] - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "true", - "type" : "Literal", - "annotation" : [ ] - } ] - } - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "true", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "AnyTrueAllFalseTrueFalse", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "AnyTrue", - "annotation" : [ ], - "signature" : [ ], - "source" : { - "type" : "List", - "annotation" : [ ], - "element" : [ { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "false", - "type" : "Literal", - "annotation" : [ ] - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "true", - "type" : "Literal", - "annotation" : [ ] - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "false", - "type" : "Literal", - "annotation" : [ ] - } ] - } - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "true", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "AnyTrueTrueFirst", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "AnyTrue", - "annotation" : [ ], - "signature" : [ ], - "source" : { - "type" : "List", - "annotation" : [ ], - "element" : [ { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "true", - "type" : "Literal", - "annotation" : [ ] - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "false", - "type" : "Literal", - "annotation" : [ ] - } ] - } - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "true", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "AnyTrueFalseFirst", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "AnyTrue", - "annotation" : [ ], - "signature" : [ ], - "source" : { - "type" : "List", - "annotation" : [ ], - "element" : [ { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "false", - "type" : "Literal", - "annotation" : [ ] - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "true", - "type" : "Literal", - "annotation" : [ ] - } ] - } - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "true", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "AnyTrueNullFirstThenTrue", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "AnyTrue", - "annotation" : [ ], - "signature" : [ ], - "source" : { - "type" : "List", - "annotation" : [ ], - "element" : [ { - "asType" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "As", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "type" : "Null", - "annotation" : [ ] - } - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "true", - "type" : "Literal", - "annotation" : [ ] - } ] - } - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "true", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "AnyTrueNullFirstThenFalse", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "AnyTrue", - "annotation" : [ ], - "signature" : [ ], - "source" : { - "type" : "List", - "annotation" : [ ], - "element" : [ { - "asType" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "As", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "type" : "Null", - "annotation" : [ ] - } - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "false", - "type" : "Literal", - "annotation" : [ ] - } ] - } - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "false", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "AnyTrueEmptyList", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "AnyTrue", - "annotation" : [ ], - "signature" : [ ], - "source" : { - "type" : "Query", - "annotation" : [ ], - "source" : [ { - "alias" : "X", - "annotation" : [ ], - "expression" : { - "type" : "List", - "annotation" : [ ], - "element" : [ ] - } - } ], - "let" : [ ], - "relationship" : [ ], - "return" : { - "distinct" : false, - "annotation" : [ ], - "expression" : { - "asType" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "As", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "name" : "X", - "type" : "AliasRef", - "annotation" : [ ] - } - } + } + ], + "let": [], + "relationship": [], + "return": { + "distinct": false, + "annotation": [], + "expression": { + "type": "As", + "asType": "{urn:hl7-org:elm-types:r1}Boolean", + "annotation": [], + "signature": [], + "operand": { + "type": "AliasRef", + "name": "X", + "annotation": [] } - } - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "false", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "AnyTrueIsFalseWhenNull", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "AnyTrue", - "annotation" : [ ], - "signature" : [ ], - "source" : { - "type" : "As", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "type" : "Null", - "annotation" : [ ] - }, - "asTypeSpecifier" : { - "type" : "ListTypeSpecifier", - "annotation" : [ ], - "elementType" : { - "name" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "NamedTypeSpecifier", - "annotation" : [ ] - } + } + } + } + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "true", + "annotation": [] + } + } + ] + } + }, + { + "name": "AllTrueIsTrueWhenNull", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "AllTrue", + "annotation": [], + "signature": [], + "source": { + "type": "As", + "annotation": [], + "signature": [], + "operand": { + "type": "Null", + "annotation": [] + }, + "asTypeSpecifier": { + "type": "ListTypeSpecifier", + "annotation": [], + "elementType": { + "type": "NamedTypeSpecifier", + "name": "{urn:hl7-org:elm-types:r1}Boolean", + "annotation": [] + } + } + } + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "true", + "annotation": [] + } + } + ] + } + } + ] + } + }, + { + "name": "AnyTrue", + "context": "Patient", + "accessLevel": "Public", + "annotation": [], + "expression": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "AnyTrueAllTrue", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "AnyTrue", + "annotation": [], + "signature": [], + "source": { + "type": "List", + "annotation": [], + "element": [ + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "true", + "annotation": [] + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "true", + "annotation": [] + } + ] + } + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "true", + "annotation": [] + } + } + ] + } + }, + { + "name": "AnyTrueAllFalse", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "AnyTrue", + "annotation": [], + "signature": [], + "source": { + "type": "List", + "annotation": [], + "element": [ + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "false", + "annotation": [] + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "false", + "annotation": [] + } + ] + } + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "false", + "annotation": [] + } + } + ] + } + }, + { + "name": "AnyTrueAllTrueFalseTrue", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "AnyTrue", + "annotation": [], + "signature": [], + "source": { + "type": "List", + "annotation": [], + "element": [ + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "true", + "annotation": [] + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "false", + "annotation": [] + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "true", + "annotation": [] + } + ] + } + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "true", + "annotation": [] + } + } + ] + } + }, + { + "name": "AnyTrueAllFalseTrueFalse", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "AnyTrue", + "annotation": [], + "signature": [], + "source": { + "type": "List", + "annotation": [], + "element": [ + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "false", + "annotation": [] + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "true", + "annotation": [] + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "false", + "annotation": [] + } + ] + } + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "true", + "annotation": [] + } + } + ] + } + }, + { + "name": "AnyTrueTrueFirst", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "AnyTrue", + "annotation": [], + "signature": [], + "source": { + "type": "List", + "annotation": [], + "element": [ + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "true", + "annotation": [] + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "false", + "annotation": [] + } + ] + } + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "true", + "annotation": [] + } + } + ] + } + }, + { + "name": "AnyTrueFalseFirst", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "AnyTrue", + "annotation": [], + "signature": [], + "source": { + "type": "List", + "annotation": [], + "element": [ + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "false", + "annotation": [] + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "true", + "annotation": [] + } + ] + } + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "true", + "annotation": [] + } + } + ] + } + }, + { + "name": "AnyTrueNullFirstThenTrue", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "AnyTrue", + "annotation": [], + "signature": [], + "source": { + "type": "List", + "annotation": [], + "element": [ + { + "type": "As", + "asType": "{urn:hl7-org:elm-types:r1}Boolean", + "annotation": [], + "signature": [], + "operand": { + "type": "Null", + "annotation": [] } - } - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "false", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - } ] - } - }, { - "name" : "Avg", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ ], - "expression" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "AvgTest1", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Avg", - "annotation" : [ ], - "signature" : [ ], - "source" : { - "type" : "List", - "annotation" : [ ], - "element" : [ { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "1.0", - "type" : "Literal", - "annotation" : [ ] - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "2.0", - "type" : "Literal", - "annotation" : [ ] - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "3.0", - "type" : "Literal", - "annotation" : [ ] - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "6.0", - "type" : "Literal", - "annotation" : [ ] - } ] - } - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "3.0", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - } ] - } - }, { - "name" : "Product", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ ], - "expression" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "ProductLong", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "skipped", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "Long not implemented", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - } ] - } - }, { - "name" : "Count", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ ], - "expression" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "CountTest1", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Count", - "annotation" : [ ], - "signature" : [ ], - "source" : { - "type" : "List", - "annotation" : [ ], - "element" : [ { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal", - "annotation" : [ ] - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal", - "annotation" : [ ] - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "99", - "type" : "Literal", - "annotation" : [ ] - }, { - "asType" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "As", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "type" : "Null", - "annotation" : [ ] - } - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - } ] - } - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "4", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "CountTestDateTime", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Count", - "annotation" : [ ], - "signature" : [ ], - "source" : { - "type" : "List", - "annotation" : [ ], - "element" : [ { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2014", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2001", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2010", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "CountTestTime", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Count", - "annotation" : [ ], - "signature" : [ ], - "source" : { - "type" : "List", - "annotation" : [ ], - "element" : [ { - "type" : "Time", - "annotation" : [ ], - "signature" : [ ], - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "999", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "type" : "Time", - "annotation" : [ ], - "signature" : [ ], - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "999", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "type" : "Time", - "annotation" : [ ], - "signature" : [ ], - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "20", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "999", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "CountTestNull", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Count", - "annotation" : [ ], - "signature" : [ ], - "source" : { - "type" : "List", - "annotation" : [ ], - "element" : [ ] - } - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - } ] - } - }, { - "name" : "Max", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ ], - "expression" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "MaxTestInteger", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Max", - "annotation" : [ ], - "signature" : [ ], - "source" : { - "type" : "List", - "annotation" : [ ], - "element" : [ { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal", - "annotation" : [ ] - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "12", - "type" : "Literal", - "annotation" : [ ] - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal", - "annotation" : [ ] - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "4", - "type" : "Literal", - "annotation" : [ ] - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "90", - "type" : "Literal", - "annotation" : [ ] - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "44", - "type" : "Literal", - "annotation" : [ ] - } ] - } - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "90", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "MaxTestLong", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Max", - "annotation" : [ ], - "signature" : [ ], - "source" : { - "type" : "List", - "annotation" : [ ], - "element" : [ { - "valueType" : "{urn:hl7-org:elm-types:r1}Long", - "value" : "5", - "type" : "Literal", - "annotation" : [ ] - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}Long", - "value" : "12", - "type" : "Literal", - "annotation" : [ ] - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}Long", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}Long", - "value" : "15", - "type" : "Literal", - "annotation" : [ ] - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}Long", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}Long", - "value" : "4", - "type" : "Literal", - "annotation" : [ ] - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}Long", - "value" : "90", - "type" : "Literal", - "annotation" : [ ] - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}Long", - "value" : "44", - "type" : "Literal", - "annotation" : [ ] - } ] - } - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Long", - "value" : "90", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "MaxTestString", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Max", - "annotation" : [ ], - "signature" : [ ], - "source" : { - "type" : "List", - "annotation" : [ ], - "element" : [ { - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "hi", - "type" : "Literal", - "annotation" : [ ] - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "bye", - "type" : "Literal", - "annotation" : [ ] - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "zebra", - "type" : "Literal", - "annotation" : [ ] - } ] - } - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "zebra", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "MaxTestDateTime", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Max", - "annotation" : [ ], - "signature" : [ ], - "source" : { - "type" : "List", - "annotation" : [ ], - "element" : [ { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "9", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "6", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - } - }, { - "name" : "output", - "value" : { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "6", - "type" : "Literal", - "annotation" : [ ] - } - } - } ] - } - }, { - "name" : "MaxTestTime", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Max", - "annotation" : [ ], - "signature" : [ ], - "source" : { - "type" : "List", - "annotation" : [ ], - "element" : [ { - "type" : "Time", - "annotation" : [ ], - "signature" : [ ], - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "999", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "type" : "Time", - "annotation" : [ ], - "signature" : [ ], - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "999", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "type" : "Time", - "annotation" : [ ], - "signature" : [ ], - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "20", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "999", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - } - }, { - "name" : "output", - "value" : { - "type" : "Time", - "annotation" : [ ], - "signature" : [ ], - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "20", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "999", - "type" : "Literal", - "annotation" : [ ] - } - } - } ] - } - } ] - } - }, { - "name" : "Median", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ ], - "expression" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "MedianTestDecimal", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Median", - "annotation" : [ ], - "signature" : [ ], - "source" : { - "type" : "List", - "annotation" : [ ], - "element" : [ { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "6.0", - "type" : "Literal", - "annotation" : [ ] - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "5.0", - "type" : "Literal", - "annotation" : [ ] - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "4.0", - "type" : "Literal", - "annotation" : [ ] - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "3.0", - "type" : "Literal", - "annotation" : [ ] - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "2.0", - "type" : "Literal", - "annotation" : [ ] - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "1.0", - "type" : "Literal", - "annotation" : [ ] - } ] - } - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "3.5", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - } ] - } - }, { - "name" : "Min", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ ], - "expression" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "MinTestInteger", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Min", - "annotation" : [ ], - "signature" : [ ], - "source" : { - "type" : "List", - "annotation" : [ ], - "element" : [ { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal", - "annotation" : [ ] - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "12", - "type" : "Literal", - "annotation" : [ ] - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal", - "annotation" : [ ] - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "4", - "type" : "Literal", - "annotation" : [ ] - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "90", - "type" : "Literal", - "annotation" : [ ] - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "44", - "type" : "Literal", - "annotation" : [ ] - } ] - } - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "MinTestLong", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Min", - "annotation" : [ ], - "signature" : [ ], - "source" : { - "type" : "List", - "annotation" : [ ], - "element" : [ { - "valueType" : "{urn:hl7-org:elm-types:r1}Long", - "value" : "5", - "type" : "Literal", - "annotation" : [ ] - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}Long", - "value" : "12", - "type" : "Literal", - "annotation" : [ ] - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}Long", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}Long", - "value" : "15", - "type" : "Literal", - "annotation" : [ ] - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}Long", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}Long", - "value" : "4", - "type" : "Literal", - "annotation" : [ ] - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}Long", - "value" : "90", - "type" : "Literal", - "annotation" : [ ] - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}Long", - "value" : "44", - "type" : "Literal", - "annotation" : [ ] - } ] - } - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Long", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "MinTestString", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Min", - "annotation" : [ ], - "signature" : [ ], - "source" : { - "type" : "List", - "annotation" : [ ], - "element" : [ { - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "hi", - "type" : "Literal", - "annotation" : [ ] - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "bye", - "type" : "Literal", - "annotation" : [ ] - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "zebra", - "type" : "Literal", - "annotation" : [ ] - } ] - } - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "bye", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "MinTestDateTime", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Min", - "annotation" : [ ], - "signature" : [ ], - "source" : { - "type" : "List", - "annotation" : [ ], - "element" : [ { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "9", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "6", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - } - }, { - "name" : "output", - "value" : { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "9", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal", - "annotation" : [ ] - } - } - } ] - } - }, { - "name" : "MinTestTime", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Min", - "annotation" : [ ], - "signature" : [ ], - "source" : { - "type" : "List", - "annotation" : [ ], - "element" : [ { - "type" : "Time", - "annotation" : [ ], - "signature" : [ ], - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "999", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "type" : "Time", - "annotation" : [ ], - "signature" : [ ], - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "999", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "type" : "Time", - "annotation" : [ ], - "signature" : [ ], - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "20", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "999", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - } - }, { - "name" : "output", - "value" : { - "type" : "Time", - "annotation" : [ ], - "signature" : [ ], - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "999", - "type" : "Literal", - "annotation" : [ ] - } - } - } ] - } - } ] - } - }, { - "name" : "Mode", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ ], - "expression" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "ModeTestInteger", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Mode", - "annotation" : [ ], - "signature" : [ ], - "source" : { - "type" : "List", - "annotation" : [ ], - "element" : [ { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal", - "annotation" : [ ] - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "8", - "type" : "Literal", - "annotation" : [ ] - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal", - "annotation" : [ ] - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "9", - "type" : "Literal", - "annotation" : [ ] - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "9", - "type" : "Literal", - "annotation" : [ ] - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "9", - "type" : "Literal", - "annotation" : [ ] - } ] - } - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "9", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "ModeTestDateTime", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Mode", - "annotation" : [ ], - "signature" : [ ], - "source" : { - "type" : "List", - "annotation" : [ ], - "element" : [ { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "9", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "6", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "9", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - } - }, { - "name" : "output", - "value" : { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "9", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal", - "annotation" : [ ] - } - } - } ] - } - }, { - "name" : "ModeTestDateTime2", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Mode", - "annotation" : [ ], - "signature" : [ ], - "source" : { - "type" : "List", - "annotation" : [ ], - "element" : [ { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "6", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "9", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - } - }, { - "name" : "output", - "value" : { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal", - "annotation" : [ ] - } - } - } ] - } - }, { - "name" : "ModeTestTime", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Mode", - "annotation" : [ ], - "signature" : [ ], - "source" : { - "type" : "List", - "annotation" : [ ], - "element" : [ { - "type" : "Time", - "annotation" : [ ], - "signature" : [ ], - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "999", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "type" : "Time", - "annotation" : [ ], - "signature" : [ ], - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "999", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "type" : "Time", - "annotation" : [ ], - "signature" : [ ], - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "20", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "999", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "type" : "Time", - "annotation" : [ ], - "signature" : [ ], - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "999", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - } - }, { - "name" : "output", - "value" : { - "type" : "Time", - "annotation" : [ ], - "signature" : [ ], - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "999", - "type" : "Literal", - "annotation" : [ ] - } - } - } ] - } - } ] - } - }, { - "name" : "PopulationStdDev", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ ], - "expression" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "PopStdDevTest1", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "PopulationStdDev", - "annotation" : [ ], - "signature" : [ ], - "source" : { - "type" : "List", - "annotation" : [ ], - "element" : [ { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "1.0", - "type" : "Literal", - "annotation" : [ ] - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "2.0", - "type" : "Literal", - "annotation" : [ ] - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "3.0", - "type" : "Literal", - "annotation" : [ ] - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "4.0", - "type" : "Literal", - "annotation" : [ ] - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "5.0", - "type" : "Literal", - "annotation" : [ ] - } ] - } - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "1.41421356", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "PopulationStdDevIsNull", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "PopulationStdDev", - "annotation" : [ ], - "signature" : [ ], - "source" : { - "type" : "List", - "annotation" : [ ], - "element" : [ { - "strict" : false, - "type" : "As", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "type" : "Null", - "annotation" : [ ] - }, - "asTypeSpecifier" : { - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier", - "annotation" : [ ] - } - }, { - "strict" : false, - "type" : "As", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "type" : "Null", - "annotation" : [ ] - }, - "asTypeSpecifier" : { - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier", - "annotation" : [ ] - } - }, { - "strict" : false, - "type" : "As", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "type" : "Null", - "annotation" : [ ] - }, - "asTypeSpecifier" : { - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier", - "annotation" : [ ] - } - } ] - } - } - }, { - "name" : "output", - "value" : { - "type" : "Null", - "annotation" : [ ] - } - } ] - } - } ] - } - }, { - "name" : "PopulationVariance", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ ], - "expression" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "PopVarianceTest1", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "PopulationVariance", - "annotation" : [ ], - "signature" : [ ], - "source" : { - "type" : "List", - "annotation" : [ ], - "element" : [ { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "1.0", - "type" : "Literal", - "annotation" : [ ] - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "2.0", - "type" : "Literal", - "annotation" : [ ] - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "3.0", - "type" : "Literal", - "annotation" : [ ] - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "4.0", - "type" : "Literal", - "annotation" : [ ] - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "5.0", - "type" : "Literal", - "annotation" : [ ] - } ] - } - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "2.0", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "PopVarianceIsNull", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "PopulationVariance", - "annotation" : [ ], - "signature" : [ ], - "source" : { - "type" : "List", - "annotation" : [ ], - "element" : [ { - "strict" : false, - "type" : "As", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "type" : "Null", - "annotation" : [ ] - }, - "asTypeSpecifier" : { - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier", - "annotation" : [ ] - } - }, { - "strict" : false, - "type" : "As", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "type" : "Null", - "annotation" : [ ] - }, - "asTypeSpecifier" : { - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier", - "annotation" : [ ] - } - }, { - "strict" : false, - "type" : "As", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "type" : "Null", - "annotation" : [ ] - }, - "asTypeSpecifier" : { - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier", - "annotation" : [ ] - } - } ] - } - } - }, { - "name" : "output", - "value" : { - "type" : "Null", - "annotation" : [ ] - } - } ] - } - } ] - } - }, { - "name" : "StdDev", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ ], - "expression" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "StdDevTest1", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "StdDev", - "annotation" : [ ], - "signature" : [ ], - "source" : { - "type" : "List", - "annotation" : [ ], - "element" : [ { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "1.0", - "type" : "Literal", - "annotation" : [ ] - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "2.0", - "type" : "Literal", - "annotation" : [ ] - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "3.0", - "type" : "Literal", - "annotation" : [ ] - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "4.0", - "type" : "Literal", - "annotation" : [ ] - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "5.0", - "type" : "Literal", - "annotation" : [ ] - } ] - } - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "1.58113883", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "StdDevIsNull", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "StdDev", - "annotation" : [ ], - "signature" : [ ], - "source" : { - "type" : "List", - "annotation" : [ ], - "element" : [ { - "strict" : false, - "type" : "As", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "type" : "Null", - "annotation" : [ ] - }, - "asTypeSpecifier" : { - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier", - "annotation" : [ ] - } - }, { - "strict" : false, - "type" : "As", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "type" : "Null", - "annotation" : [ ] - }, - "asTypeSpecifier" : { - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier", - "annotation" : [ ] - } - }, { - "strict" : false, - "type" : "As", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "type" : "Null", - "annotation" : [ ] - }, - "asTypeSpecifier" : { - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier", - "annotation" : [ ] - } - } ] - } - } - }, { - "name" : "output", - "value" : { - "type" : "Null", - "annotation" : [ ] - } - } ] - } - } ] - } - }, { - "name" : "Sum", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ ], - "expression" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "SumTest1", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Sum", - "annotation" : [ ], - "signature" : [ ], - "source" : { - "type" : "List", - "annotation" : [ ], - "element" : [ { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "6.0", - "type" : "Literal", - "annotation" : [ ] - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "2.0", - "type" : "Literal", - "annotation" : [ ] - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "3.0", - "type" : "Literal", - "annotation" : [ ] - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "4.0", - "type" : "Literal", - "annotation" : [ ] - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "5.0", - "type" : "Literal", - "annotation" : [ ] - } ] - } - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "20.0", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "SumTestLong", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "skipped", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "Long not implemented", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "SumTestQuantity", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Sum", - "annotation" : [ ], - "signature" : [ ], - "source" : { - "type" : "List", - "annotation" : [ ], - "element" : [ { - "value" : 1, - "unit" : "ml", - "type" : "Quantity", - "annotation" : [ ] - }, { - "value" : 2, - "unit" : "ml", - "type" : "Quantity", - "annotation" : [ ] - }, { - "value" : 3, - "unit" : "ml", - "type" : "Quantity", - "annotation" : [ ] - }, { - "value" : 4, - "unit" : "ml", - "type" : "Quantity", - "annotation" : [ ] - }, { - "value" : 5, - "unit" : "ml", - "type" : "Quantity", - "annotation" : [ ] - } ] - } - } - }, { - "name" : "output", - "value" : { - "value" : 15, - "unit" : "ml", - "type" : "Quantity", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "SumTestNull", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Sum", - "annotation" : [ ], - "signature" : [ ], - "source" : { - "type" : "List", - "annotation" : [ ], - "element" : [ { - "asType" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "As", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "type" : "Null", - "annotation" : [ ] - } - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - }, { - "asType" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "As", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "type" : "Null", - "annotation" : [ ] - } - } ] - } - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - } ] - } - }, { - "name" : "Variance", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ ], - "expression" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "VarianceTest1", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Variance", - "annotation" : [ ], - "signature" : [ ], - "source" : { - "type" : "List", - "annotation" : [ ], - "element" : [ { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "1.0", - "type" : "Literal", - "annotation" : [ ] - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "2.0", - "type" : "Literal", - "annotation" : [ ] - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "3.0", - "type" : "Literal", - "annotation" : [ ] - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "4.0", - "type" : "Literal", - "annotation" : [ ] - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "5.0", - "type" : "Literal", - "annotation" : [ ] - } ] - } - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "2.5", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - } ] - } - } ] - } - } + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "true", + "annotation": [] + } + ] + } + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "true", + "annotation": [] + } + } + ] + } + }, + { + "name": "AnyTrueNullFirstThenFalse", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "AnyTrue", + "annotation": [], + "signature": [], + "source": { + "type": "List", + "annotation": [], + "element": [ + { + "type": "As", + "asType": "{urn:hl7-org:elm-types:r1}Boolean", + "annotation": [], + "signature": [], + "operand": { + "type": "Null", + "annotation": [] + } + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "false", + "annotation": [] + } + ] + } + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "false", + "annotation": [] + } + } + ] + } + }, + { + "name": "AnyTrueEmptyList", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "AnyTrue", + "annotation": [], + "signature": [], + "source": { + "type": "Query", + "annotation": [], + "source": [ + { + "alias": "X", + "annotation": [], + "expression": { + "type": "List", + "annotation": [], + "element": [] + } + } + ], + "let": [], + "relationship": [], + "return": { + "distinct": false, + "annotation": [], + "expression": { + "type": "As", + "asType": "{urn:hl7-org:elm-types:r1}Boolean", + "annotation": [], + "signature": [], + "operand": { + "type": "AliasRef", + "name": "X", + "annotation": [] + } + } + } + } + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "false", + "annotation": [] + } + } + ] + } + }, + { + "name": "AnyTrueIsFalseWhenNull", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "AnyTrue", + "annotation": [], + "signature": [], + "source": { + "type": "As", + "annotation": [], + "signature": [], + "operand": { + "type": "Null", + "annotation": [] + }, + "asTypeSpecifier": { + "type": "ListTypeSpecifier", + "annotation": [], + "elementType": { + "type": "NamedTypeSpecifier", + "name": "{urn:hl7-org:elm-types:r1}Boolean", + "annotation": [] + } + } + } + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "false", + "annotation": [] + } + } + ] + } + } + ] + } + }, + { + "name": "Avg", + "context": "Patient", + "accessLevel": "Public", + "annotation": [], + "expression": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "AvgTest1", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Avg", + "annotation": [], + "signature": [], + "source": { + "type": "List", + "annotation": [], + "element": [ + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "1.0", + "annotation": [] + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "2.0", + "annotation": [] + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "3.0", + "annotation": [] + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "6.0", + "annotation": [] + } + ] + } + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "3.0", + "annotation": [] + } + } + ] + } + } + ] + } + }, + { + "name": "Product", + "context": "Patient", + "accessLevel": "Public", + "annotation": [], + "expression": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "ProductLong", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "skipped", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}String", + "value": "Long not implemented", + "annotation": [] + } + } + ] + } + } + ] + } + }, + { + "name": "Count", + "context": "Patient", + "accessLevel": "Public", + "annotation": [], + "expression": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "CountTest1", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Count", + "annotation": [], + "signature": [], + "source": { + "type": "List", + "annotation": [], + "element": [ + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "15", + "annotation": [] + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "5", + "annotation": [] + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "99", + "annotation": [] + }, + { + "type": "As", + "asType": "{urn:hl7-org:elm-types:r1}Integer", + "annotation": [], + "signature": [], + "operand": { + "type": "Null", + "annotation": [] + } + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + } + ] + } + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "4", + "annotation": [] + } + } + ] + } + }, + { + "name": "CountTestDateTime", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Count", + "annotation": [], + "signature": [], + "source": { + "type": "List", + "annotation": [], + "element": [ + { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2014", + "annotation": [] + } + }, + { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2001", + "annotation": [] + } + }, + { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2010", + "annotation": [] + } + } + ] + } + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "3", + "annotation": [] + } + } + ] + } + }, + { + "name": "CountTestTime", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Count", + "annotation": [], + "signature": [], + "source": { + "type": "List", + "annotation": [], + "element": [ + { + "type": "Time", + "annotation": [], + "signature": [], + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "15", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "999", + "annotation": [] + } + }, + { + "type": "Time", + "annotation": [], + "signature": [], + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "5", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "999", + "annotation": [] + } + }, + { + "type": "Time", + "annotation": [], + "signature": [], + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "20", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "999", + "annotation": [] + } + } + ] + } + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "3", + "annotation": [] + } + } + ] + } + }, + { + "name": "CountTestNull", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Count", + "annotation": [], + "signature": [], + "source": { + "type": "List", + "annotation": [], + "element": [] + } + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + } + } + ] + } + } + ] + } + }, + { + "name": "Max", + "context": "Patient", + "accessLevel": "Public", + "annotation": [], + "expression": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "MaxTestInteger", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Max", + "annotation": [], + "signature": [], + "source": { + "type": "List", + "annotation": [], + "element": [ + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "5", + "annotation": [] + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "12", + "annotation": [] + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "15", + "annotation": [] + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "4", + "annotation": [] + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "90", + "annotation": [] + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "44", + "annotation": [] + } + ] + } + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "90", + "annotation": [] + } + } + ] + } + }, + { + "name": "MaxTestLong", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Max", + "annotation": [], + "signature": [], + "source": { + "type": "List", + "annotation": [], + "element": [ + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Long", + "value": "5", + "annotation": [] + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Long", + "value": "12", + "annotation": [] + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Long", + "value": "1", + "annotation": [] + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Long", + "value": "15", + "annotation": [] + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Long", + "value": "0", + "annotation": [] + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Long", + "value": "4", + "annotation": [] + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Long", + "value": "90", + "annotation": [] + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Long", + "value": "44", + "annotation": [] + } + ] + } + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Long", + "value": "90", + "annotation": [] + } + } + ] + } + }, + { + "name": "MaxTestString", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Max", + "annotation": [], + "signature": [], + "source": { + "type": "List", + "annotation": [], + "element": [ + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}String", + "value": "hi", + "annotation": [] + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}String", + "value": "bye", + "annotation": [] + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}String", + "value": "zebra", + "annotation": [] + } + ] + } + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}String", + "value": "zebra", + "annotation": [] + } + } + ] + } + }, + { + "name": "MaxTestDateTime", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Max", + "annotation": [], + "signature": [], + "source": { + "type": "List", + "annotation": [], + "element": [ + { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2012", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "5", + "annotation": [] + } + }, + { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2012", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "9", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "5", + "annotation": [] + } + }, + { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2012", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "6", + "annotation": [] + } + } + ] + } + } + }, + { + "name": "output", + "value": { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2012", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "6", + "annotation": [] + } + } + } + ] + } + }, + { + "name": "MaxTestTime", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Max", + "annotation": [], + "signature": [], + "source": { + "type": "List", + "annotation": [], + "element": [ + { + "type": "Time", + "annotation": [], + "signature": [], + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "15", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "999", + "annotation": [] + } + }, + { + "type": "Time", + "annotation": [], + "signature": [], + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "5", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "999", + "annotation": [] + } + }, + { + "type": "Time", + "annotation": [], + "signature": [], + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "20", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "999", + "annotation": [] + } + } + ] + } + } + }, + { + "name": "output", + "value": { + "type": "Time", + "annotation": [], + "signature": [], + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "20", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "999", + "annotation": [] + } + } + } + ] + } + } + ] + } + }, + { + "name": "Median", + "context": "Patient", + "accessLevel": "Public", + "annotation": [], + "expression": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "MedianTestDecimal", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Median", + "annotation": [], + "signature": [], + "source": { + "type": "List", + "annotation": [], + "element": [ + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "6.0", + "annotation": [] + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "5.0", + "annotation": [] + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "4.0", + "annotation": [] + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "3.0", + "annotation": [] + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "2.0", + "annotation": [] + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "1.0", + "annotation": [] + } + ] + } + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "3.5", + "annotation": [] + } + } + ] + } + } + ] + } + }, + { + "name": "Min", + "context": "Patient", + "accessLevel": "Public", + "annotation": [], + "expression": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "MinTestInteger", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Min", + "annotation": [], + "signature": [], + "source": { + "type": "List", + "annotation": [], + "element": [ + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "5", + "annotation": [] + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "12", + "annotation": [] + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "15", + "annotation": [] + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "4", + "annotation": [] + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "90", + "annotation": [] + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "44", + "annotation": [] + } + ] + } + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + } + } + ] + } + }, + { + "name": "MinTestLong", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Min", + "annotation": [], + "signature": [], + "source": { + "type": "List", + "annotation": [], + "element": [ + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Long", + "value": "5", + "annotation": [] + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Long", + "value": "12", + "annotation": [] + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Long", + "value": "1", + "annotation": [] + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Long", + "value": "15", + "annotation": [] + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Long", + "value": "0", + "annotation": [] + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Long", + "value": "4", + "annotation": [] + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Long", + "value": "90", + "annotation": [] + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Long", + "value": "44", + "annotation": [] + } + ] + } + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Long", + "value": "0", + "annotation": [] + } + } + ] + } + }, + { + "name": "MinTestString", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Min", + "annotation": [], + "signature": [], + "source": { + "type": "List", + "annotation": [], + "element": [ + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}String", + "value": "hi", + "annotation": [] + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}String", + "value": "bye", + "annotation": [] + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}String", + "value": "zebra", + "annotation": [] + } + ] + } + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}String", + "value": "bye", + "annotation": [] + } + } + ] + } + }, + { + "name": "MinTestDateTime", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Min", + "annotation": [], + "signature": [], + "source": { + "type": "List", + "annotation": [], + "element": [ + { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2012", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "5", + "annotation": [] + } + }, + { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2012", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "9", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "5", + "annotation": [] + } + }, + { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2012", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "6", + "annotation": [] + } + } + ] + } + } + }, + { + "name": "output", + "value": { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2012", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "9", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "5", + "annotation": [] + } + } + } + ] + } + }, + { + "name": "MinTestTime", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Min", + "annotation": [], + "signature": [], + "source": { + "type": "List", + "annotation": [], + "element": [ + { + "type": "Time", + "annotation": [], + "signature": [], + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "15", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "999", + "annotation": [] + } + }, + { + "type": "Time", + "annotation": [], + "signature": [], + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "5", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "999", + "annotation": [] + } + }, + { + "type": "Time", + "annotation": [], + "signature": [], + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "20", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "999", + "annotation": [] + } + } + ] + } + } + }, + { + "name": "output", + "value": { + "type": "Time", + "annotation": [], + "signature": [], + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "5", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "999", + "annotation": [] + } + } + } + ] + } + } + ] + } + }, + { + "name": "Mode", + "context": "Patient", + "accessLevel": "Public", + "annotation": [], + "expression": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "ModeTestInteger", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Mode", + "annotation": [], + "signature": [], + "source": { + "type": "List", + "annotation": [], + "element": [ + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2", + "annotation": [] + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "8", + "annotation": [] + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2", + "annotation": [] + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "9", + "annotation": [] + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "9", + "annotation": [] + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "9", + "annotation": [] + } + ] + } + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "9", + "annotation": [] + } + } + ] + } + }, + { + "name": "ModeTestDateTime", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Mode", + "annotation": [], + "signature": [], + "source": { + "type": "List", + "annotation": [], + "element": [ + { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2012", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "5", + "annotation": [] + } + }, + { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2012", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "9", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "5", + "annotation": [] + } + }, + { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2012", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "6", + "annotation": [] + } + }, + { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2012", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "9", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "5", + "annotation": [] + } + } + ] + } + } + }, + { + "name": "output", + "value": { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2012", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "9", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "5", + "annotation": [] + } + } + } + ] + } + }, + { + "name": "ModeTestDateTime2", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Mode", + "annotation": [], + "signature": [], + "source": { + "type": "List", + "annotation": [], + "element": [ + { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2012", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "5", + "annotation": [] + } + }, + { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2012", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "5", + "annotation": [] + } + }, + { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2012", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "6", + "annotation": [] + } + }, + { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2012", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "9", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "5", + "annotation": [] + } + } + ] + } + } + }, + { + "name": "output", + "value": { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2012", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "5", + "annotation": [] + } + } + } + ] + } + }, + { + "name": "ModeTestTime", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Mode", + "annotation": [], + "signature": [], + "source": { + "type": "List", + "annotation": [], + "element": [ + { + "type": "Time", + "annotation": [], + "signature": [], + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "15", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "999", + "annotation": [] + } + }, + { + "type": "Time", + "annotation": [], + "signature": [], + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "5", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "999", + "annotation": [] + } + }, + { + "type": "Time", + "annotation": [], + "signature": [], + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "20", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "999", + "annotation": [] + } + }, + { + "type": "Time", + "annotation": [], + "signature": [], + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "5", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "999", + "annotation": [] + } + } + ] + } + } + }, + { + "name": "output", + "value": { + "type": "Time", + "annotation": [], + "signature": [], + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "5", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "999", + "annotation": [] + } + } + } + ] + } + } + ] + } + }, + { + "name": "PopulationStdDev", + "context": "Patient", + "accessLevel": "Public", + "annotation": [], + "expression": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "PopStdDevTest1", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "PopulationStdDev", + "annotation": [], + "signature": [], + "source": { + "type": "List", + "annotation": [], + "element": [ + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "1.0", + "annotation": [] + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "2.0", + "annotation": [] + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "3.0", + "annotation": [] + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "4.0", + "annotation": [] + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "5.0", + "annotation": [] + } + ] + } + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "1.41421356", + "annotation": [] + } + } + ] + } + }, + { + "name": "PopulationStdDevIsNull", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "PopulationStdDev", + "annotation": [], + "signature": [], + "source": { + "type": "List", + "annotation": [], + "element": [ + { + "type": "As", + "strict": false, + "annotation": [], + "signature": [], + "operand": { + "type": "Null", + "annotation": [] + }, + "asTypeSpecifier": { + "type": "NamedTypeSpecifier", + "name": "{urn:hl7-org:elm-types:r1}Quantity", + "annotation": [] + } + }, + { + "type": "As", + "strict": false, + "annotation": [], + "signature": [], + "operand": { + "type": "Null", + "annotation": [] + }, + "asTypeSpecifier": { + "type": "NamedTypeSpecifier", + "name": "{urn:hl7-org:elm-types:r1}Quantity", + "annotation": [] + } + }, + { + "type": "As", + "strict": false, + "annotation": [], + "signature": [], + "operand": { + "type": "Null", + "annotation": [] + }, + "asTypeSpecifier": { + "type": "NamedTypeSpecifier", + "name": "{urn:hl7-org:elm-types:r1}Quantity", + "annotation": [] + } + } + ] + } + } + }, + { + "name": "output", + "value": { + "type": "Null", + "annotation": [] + } + } + ] + } + } + ] + } + }, + { + "name": "PopulationVariance", + "context": "Patient", + "accessLevel": "Public", + "annotation": [], + "expression": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "PopVarianceTest1", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "PopulationVariance", + "annotation": [], + "signature": [], + "source": { + "type": "List", + "annotation": [], + "element": [ + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "1.0", + "annotation": [] + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "2.0", + "annotation": [] + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "3.0", + "annotation": [] + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "4.0", + "annotation": [] + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "5.0", + "annotation": [] + } + ] + } + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "2.0", + "annotation": [] + } + } + ] + } + }, + { + "name": "PopVarianceIsNull", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "PopulationVariance", + "annotation": [], + "signature": [], + "source": { + "type": "List", + "annotation": [], + "element": [ + { + "type": "As", + "strict": false, + "annotation": [], + "signature": [], + "operand": { + "type": "Null", + "annotation": [] + }, + "asTypeSpecifier": { + "type": "NamedTypeSpecifier", + "name": "{urn:hl7-org:elm-types:r1}Quantity", + "annotation": [] + } + }, + { + "type": "As", + "strict": false, + "annotation": [], + "signature": [], + "operand": { + "type": "Null", + "annotation": [] + }, + "asTypeSpecifier": { + "type": "NamedTypeSpecifier", + "name": "{urn:hl7-org:elm-types:r1}Quantity", + "annotation": [] + } + }, + { + "type": "As", + "strict": false, + "annotation": [], + "signature": [], + "operand": { + "type": "Null", + "annotation": [] + }, + "asTypeSpecifier": { + "type": "NamedTypeSpecifier", + "name": "{urn:hl7-org:elm-types:r1}Quantity", + "annotation": [] + } + } + ] + } + } + }, + { + "name": "output", + "value": { + "type": "Null", + "annotation": [] + } + } + ] + } + } + ] + } + }, + { + "name": "StdDev", + "context": "Patient", + "accessLevel": "Public", + "annotation": [], + "expression": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "StdDevTest1", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "StdDev", + "annotation": [], + "signature": [], + "source": { + "type": "List", + "annotation": [], + "element": [ + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "1.0", + "annotation": [] + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "2.0", + "annotation": [] + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "3.0", + "annotation": [] + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "4.0", + "annotation": [] + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "5.0", + "annotation": [] + } + ] + } + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "1.58113883", + "annotation": [] + } + } + ] + } + }, + { + "name": "StdDevIsNull", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "StdDev", + "annotation": [], + "signature": [], + "source": { + "type": "List", + "annotation": [], + "element": [ + { + "type": "As", + "strict": false, + "annotation": [], + "signature": [], + "operand": { + "type": "Null", + "annotation": [] + }, + "asTypeSpecifier": { + "type": "NamedTypeSpecifier", + "name": "{urn:hl7-org:elm-types:r1}Quantity", + "annotation": [] + } + }, + { + "type": "As", + "strict": false, + "annotation": [], + "signature": [], + "operand": { + "type": "Null", + "annotation": [] + }, + "asTypeSpecifier": { + "type": "NamedTypeSpecifier", + "name": "{urn:hl7-org:elm-types:r1}Quantity", + "annotation": [] + } + }, + { + "type": "As", + "strict": false, + "annotation": [], + "signature": [], + "operand": { + "type": "Null", + "annotation": [] + }, + "asTypeSpecifier": { + "type": "NamedTypeSpecifier", + "name": "{urn:hl7-org:elm-types:r1}Quantity", + "annotation": [] + } + } + ] + } + } + }, + { + "name": "output", + "value": { + "type": "Null", + "annotation": [] + } + } + ] + } + } + ] + } + }, + { + "name": "Sum", + "context": "Patient", + "accessLevel": "Public", + "annotation": [], + "expression": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "SumTest1", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Sum", + "annotation": [], + "signature": [], + "source": { + "type": "List", + "annotation": [], + "element": [ + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "6.0", + "annotation": [] + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "2.0", + "annotation": [] + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "3.0", + "annotation": [] + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "4.0", + "annotation": [] + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "5.0", + "annotation": [] + } + ] + } + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "20.0", + "annotation": [] + } + } + ] + } + }, + { + "name": "SumTestLong", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "skipped", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}String", + "value": "Long not implemented", + "annotation": [] + } + } + ] + } + }, + { + "name": "SumTestQuantity", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Sum", + "annotation": [], + "signature": [], + "source": { + "type": "List", + "annotation": [], + "element": [ + { + "type": "Quantity", + "value": 1, + "unit": "ml", + "annotation": [] + }, + { + "type": "Quantity", + "value": 2, + "unit": "ml", + "annotation": [] + }, + { + "type": "Quantity", + "value": 3, + "unit": "ml", + "annotation": [] + }, + { + "type": "Quantity", + "value": 4, + "unit": "ml", + "annotation": [] + }, + { + "type": "Quantity", + "value": 5, + "unit": "ml", + "annotation": [] + } + ] + } + } + }, + { + "name": "output", + "value": { + "type": "Quantity", + "value": 15, + "unit": "ml", + "annotation": [] + } + } + ] + } + }, + { + "name": "SumTestNull", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Sum", + "annotation": [], + "signature": [], + "source": { + "type": "List", + "annotation": [], + "element": [ + { + "type": "As", + "asType": "{urn:hl7-org:elm-types:r1}Integer", + "annotation": [], + "signature": [], + "operand": { + "type": "Null", + "annotation": [] + } + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + }, + { + "type": "As", + "asType": "{urn:hl7-org:elm-types:r1}Integer", + "annotation": [], + "signature": [], + "operand": { + "type": "Null", + "annotation": [] + } + } + ] + } + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + } + } + ] + } + } + ] + } + }, + { + "name": "Variance", + "context": "Patient", + "accessLevel": "Public", + "annotation": [], + "expression": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "VarianceTest1", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Variance", + "annotation": [], + "signature": [], + "source": { + "type": "List", + "annotation": [], + "element": [ + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "1.0", + "annotation": [] + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "2.0", + "annotation": [] + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "3.0", + "annotation": [] + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "4.0", + "annotation": [] + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "5.0", + "annotation": [] + } + ] + } + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "2.5", + "annotation": [] + } + } + ] + } + } + ] + } + } + ] + } + } } - diff --git a/test/spec-tests/cql/CqlAggregateTest.json b/test/spec-tests/cql/CqlAggregateTest.json index e4b5f114..5b9c5a1b 100644 --- a/test/spec-tests/cql/CqlAggregateTest.json +++ b/test/spec-tests/cql/CqlAggregateTest.json @@ -1,963 +1,1152 @@ { - "library" : { - "annotation" : [ { - "translatorVersion" : "3.27.0", - "translatorOptions" : "", - "signatureLevel" : "None", - "type" : "CqlToElmInfo" - } ], - "identifier" : { - "id" : "CqlAggregateTest", - "version" : "1.4.0" - }, - "schemaIdentifier" : { - "id" : "urn:hl7-org:elm", - "version" : "r1" - }, - "usings" : { - "def" : [ { - "localIdentifier" : "System", - "uri" : "urn:hl7-org:elm-types:r1", - "annotation" : [ ] - }, { - "localIdentifier" : "QUICK", - "uri" : "http://hl7.org/fhir/us/qicore", - "version" : "3.3.0", - "annotation" : [ ] - } ] - }, - "contexts" : { - "def" : [ { - "name" : "Patient", - "annotation" : [ ] - } ] - }, - "statements" : { - "def" : [ { - "name" : "Patient", - "context" : "Patient", - "annotation" : [ ], - "expression" : { - "type" : "SingletonFrom", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "dataType" : "{http://hl7.org/fhir/us/qicore}Patient", - "templateId" : "http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-patient", - "type" : "Retrieve", - "annotation" : [ ], - "include" : [ ], - "codeFilter" : [ ], - "dateFilter" : [ ], - "otherFilter" : [ ] - } + "library": { + "annotation": [ + { + "type": "CqlToElmInfo", + "translatorVersion": "4.2.0", + "translatorOptions": "", + "signatureLevel": "None" + } + ], + "identifier": { + "id": "CqlAggregateTest", + "version": "1.4.0" + }, + "schemaIdentifier": { + "id": "urn:hl7-org:elm", + "version": "r1" + }, + "usings": { + "def": [ + { + "localIdentifier": "System", + "uri": "urn:hl7-org:elm-types:r1", + "annotation": [] + }, + { + "localIdentifier": "QUICK", + "uri": "http://hl7.org/fhir/us/qicore", + "version": "3.3.0", + "annotation": [] + } + ] + }, + "contexts": { + "def": [ + { + "name": "Patient", + "annotation": [] + } + ] + }, + "statements": { + "def": [ + { + "name": "Patient", + "context": "Patient", + "annotation": [], + "expression": { + "type": "SingletonFrom", + "annotation": [], + "signature": [], + "operand": { + "type": "Retrieve", + "dataType": "{http://hl7.org/fhir/us/qicore}Patient", + "templateId": "http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-patient", + "annotation": [], + "include": [], + "codeFilter": [], + "dateFilter": [], + "otherFilter": [] } - }, { - "name" : "AggregateTests", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ ], - "expression" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "FactorialOfFive", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Query", - "annotation" : [ ], - "source" : [ { - "alias" : "Num", - "annotation" : [ ], - "expression" : { - "type" : "List", - "annotation" : [ ], - "element" : [ { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal", - "annotation" : [ ] - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal", - "annotation" : [ ] - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "4", - "type" : "Literal", - "annotation" : [ ] - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal", - "annotation" : [ ] - } ] - } - } ], - "let" : [ ], - "relationship" : [ ], - "aggregate" : { - "identifier" : "Result", - "annotation" : [ ], - "expression" : { - "type" : "Multiply", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "name" : "Result", - "type" : "QueryLetRef", - "annotation" : [ ] - }, { - "name" : "Num", - "type" : "AliasRef", - "annotation" : [ ] - } ] + } + }, + { + "name": "AggregateTests", + "context": "Patient", + "accessLevel": "Public", + "annotation": [], + "expression": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "FactorialOfFive", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Query", + "annotation": [], + "source": [ + { + "alias": "Num", + "annotation": [], + "expression": { + "type": "List", + "annotation": [], + "element": [ + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2", + "annotation": [] + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "3", + "annotation": [] + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "4", + "annotation": [] + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "5", + "annotation": [] + } + ] + } + } + ], + "let": [], + "relationship": [], + "aggregate": { + "identifier": "Result", + "annotation": [], + "expression": { + "type": "Multiply", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "QueryLetRef", + "name": "Result", + "annotation": [] }, - "starting" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] + { + "type": "AliasRef", + "name": "Num", + "annotation": [] } - } - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "120", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "RolledOutIntervals", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "skipped", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "CQL adds an integer to a date (\"S + duration in days of X\"). Should be \"S + Quantity{ value: duration in days of X, unit: 'days' }\". Translator translates it, but probably shouldn't.", - "type" : "Literal", - "annotation" : [ ] + ] + }, + "starting": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + } } - } ] - } - }, { - "name" : "AggregateSumWithStart", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Query", - "annotation" : [ ], - "source" : [ { - "alias" : "Num", - "annotation" : [ ], - "expression" : { - "type" : "List", - "annotation" : [ ], - "element" : [ { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal", - "annotation" : [ ] - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal", - "annotation" : [ ] - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "4", - "type" : "Literal", - "annotation" : [ ] - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal", - "annotation" : [ ] - } ] - } - } ], - "let" : [ ], - "relationship" : [ ], - "aggregate" : { - "identifier" : "Result", - "annotation" : [ ], - "expression" : { - "type" : "Add", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "name" : "Result", - "type" : "QueryLetRef", - "annotation" : [ ] - }, { - "name" : "Num", - "type" : "AliasRef", - "annotation" : [ ] - } ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "120", + "annotation": [] + } + } + ] + } + }, + { + "name": "RolledOutIntervals", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "skipped", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}String", + "value": "CQL adds an integer to a date (\"S + duration in days of X\"). Should be \"S + Quantity{ value: duration in days of X, unit: 'days' }\". Translator translates it, but probably shouldn't.", + "annotation": [] + } + } + ] + } + }, + { + "name": "AggregateSumWithStart", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Query", + "annotation": [], + "source": [ + { + "alias": "Num", + "annotation": [], + "expression": { + "type": "List", + "annotation": [], + "element": [ + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2", + "annotation": [] + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "3", + "annotation": [] + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "4", + "annotation": [] + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "5", + "annotation": [] + } + ] + } + } + ], + "let": [], + "relationship": [], + "aggregate": { + "identifier": "Result", + "annotation": [], + "expression": { + "type": "Add", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "QueryLetRef", + "name": "Result", + "annotation": [] }, - "starting" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] + { + "type": "AliasRef", + "name": "Num", + "annotation": [] } - } - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "16", - "type" : "Literal", - "annotation" : [ ] + ] + }, + "starting": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + } } - } ] - } - }, { - "name" : "AggregateSumWithNull", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Query", - "annotation" : [ ], - "source" : [ { - "alias" : "Num", - "annotation" : [ ], - "expression" : { - "type" : "List", - "annotation" : [ ], - "element" : [ { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal", - "annotation" : [ ] - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal", - "annotation" : [ ] - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "4", - "type" : "Literal", - "annotation" : [ ] - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal", - "annotation" : [ ] - } ] - } - } ], - "let" : [ ], - "relationship" : [ ], - "aggregate" : { - "identifier" : "Result", - "annotation" : [ ], - "expression" : { - "type" : "Add", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "asType" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "As", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "type" : "Coalesce", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "name" : "Result", - "type" : "QueryLetRef", - "annotation" : [ ] - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - } ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "16", + "annotation": [] + } + } + ] + } + }, + { + "name": "AggregateSumWithNull", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Query", + "annotation": [], + "source": [ + { + "alias": "Num", + "annotation": [], + "expression": { + "type": "List", + "annotation": [], + "element": [ + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2", + "annotation": [] + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "3", + "annotation": [] + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "4", + "annotation": [] + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "5", + "annotation": [] + } + ] + } + } + ], + "let": [], + "relationship": [], + "aggregate": { + "identifier": "Result", + "annotation": [], + "expression": { + "type": "Add", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "As", + "asType": "{urn:hl7-org:elm-types:r1}Integer", + "annotation": [], + "signature": [], + "operand": { + "type": "Coalesce", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "QueryLetRef", + "name": "Result", + "annotation": [] + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] } - }, { - "name" : "Num", - "type" : "AliasRef", - "annotation" : [ ] - } ] + ] + } }, - "starting" : { - "type" : "Null", - "annotation" : [ ] + { + "type": "AliasRef", + "name": "Num", + "annotation": [] } - } + ] + }, + "starting": { + "type": "Null", + "annotation": [] + } } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "AggregateSumAll", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Query", - "annotation" : [ ], - "source" : [ { - "alias" : "Num", - "annotation" : [ ], - "expression" : { - "type" : "List", - "annotation" : [ ], - "element" : [ { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal", - "annotation" : [ ] - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal", - "annotation" : [ ] - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal", - "annotation" : [ ] - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal", - "annotation" : [ ] - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "4", - "type" : "Literal", - "annotation" : [ ] - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "4", - "type" : "Literal", - "annotation" : [ ] - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal", - "annotation" : [ ] - } ] - } - } ], - "let" : [ ], - "relationship" : [ ], - "aggregate" : { - "identifier" : "Result", - "distinct" : false, - "annotation" : [ ], - "expression" : { - "type" : "Add", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "asType" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "As", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "type" : "Coalesce", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "name" : "Result", - "type" : "QueryLetRef", - "annotation" : [ ] - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - } ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "15", + "annotation": [] + } + } + ] + } + }, + { + "name": "AggregateSumAll", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Query", + "annotation": [], + "source": [ + { + "alias": "Num", + "annotation": [], + "expression": { + "type": "List", + "annotation": [], + "element": [ + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2", + "annotation": [] + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2", + "annotation": [] + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2", + "annotation": [] + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "3", + "annotation": [] + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "4", + "annotation": [] + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "4", + "annotation": [] + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "5", + "annotation": [] + } + ] + } + } + ], + "let": [], + "relationship": [], + "aggregate": { + "identifier": "Result", + "distinct": false, + "annotation": [], + "expression": { + "type": "Add", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "As", + "asType": "{urn:hl7-org:elm-types:r1}Integer", + "annotation": [], + "signature": [], + "operand": { + "type": "Coalesce", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "QueryLetRef", + "name": "Result", + "annotation": [] + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] } - }, { - "name" : "Num", - "type" : "AliasRef", - "annotation" : [ ] - } ] + ] + } }, - "starting" : { - "type" : "Null", - "annotation" : [ ] + { + "type": "AliasRef", + "name": "Num", + "annotation": [] } - } - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "24", - "type" : "Literal", - "annotation" : [ ] + ] + }, + "starting": { + "type": "Null", + "annotation": [] + } } - } ] - } - }, { - "name" : "AggregateSumDistinct", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Query", - "annotation" : [ ], - "source" : [ { - "alias" : "Num", - "annotation" : [ ], - "expression" : { - "type" : "List", - "annotation" : [ ], - "element" : [ { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal", - "annotation" : [ ] - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal", - "annotation" : [ ] - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal", - "annotation" : [ ] - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal", - "annotation" : [ ] - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "4", - "type" : "Literal", - "annotation" : [ ] - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "4", - "type" : "Literal", - "annotation" : [ ] - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal", - "annotation" : [ ] - } ] - } - } ], - "let" : [ ], - "relationship" : [ ], - "aggregate" : { - "identifier" : "Result", - "distinct" : true, - "annotation" : [ ], - "expression" : { - "type" : "Add", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "asType" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "As", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "type" : "Coalesce", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "name" : "Result", - "type" : "QueryLetRef", - "annotation" : [ ] - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - } ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "24", + "annotation": [] + } + } + ] + } + }, + { + "name": "AggregateSumDistinct", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Query", + "annotation": [], + "source": [ + { + "alias": "Num", + "annotation": [], + "expression": { + "type": "List", + "annotation": [], + "element": [ + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2", + "annotation": [] + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2", + "annotation": [] + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2", + "annotation": [] + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "3", + "annotation": [] + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "4", + "annotation": [] + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "4", + "annotation": [] + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "5", + "annotation": [] + } + ] + } + } + ], + "let": [], + "relationship": [], + "aggregate": { + "identifier": "Result", + "distinct": true, + "annotation": [], + "expression": { + "type": "Add", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "As", + "asType": "{urn:hl7-org:elm-types:r1}Integer", + "annotation": [], + "signature": [], + "operand": { + "type": "Coalesce", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "QueryLetRef", + "name": "Result", + "annotation": [] + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] } - }, { - "name" : "Num", - "type" : "AliasRef", - "annotation" : [ ] - } ] + ] + } }, - "starting" : { - "type" : "Null", - "annotation" : [ ] + { + "type": "AliasRef", + "name": "Num", + "annotation": [] } - } - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal", - "annotation" : [ ] + ] + }, + "starting": { + "type": "Null", + "annotation": [] + } } - } ] - } - }, { - "name" : "Multi", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Query", - "annotation" : [ ], - "source" : [ { - "alias" : "X", - "annotation" : [ ], - "expression" : { - "type" : "List", - "annotation" : [ ], - "element" : [ { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - } ] - } - }, { - "alias" : "Y", - "annotation" : [ ], - "expression" : { - "type" : "List", - "annotation" : [ ], - "element" : [ { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal", - "annotation" : [ ] - } ] - } - }, { - "alias" : "Z", - "annotation" : [ ], - "expression" : { - "type" : "List", - "annotation" : [ ], - "element" : [ { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal", - "annotation" : [ ] - } ] - } - } ], - "let" : [ ], - "relationship" : [ ], - "aggregate" : { - "identifier" : "Agg", - "annotation" : [ ], - "expression" : { - "type" : "Add", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "type" : "Add", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "type" : "Add", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "asType" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "As", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "type" : "Coalesce", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "name" : "Agg", - "type" : "QueryLetRef", - "annotation" : [ ] - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - } ] - } - }, { - "name" : "X", - "type" : "AliasRef", - "annotation" : [ ] - } ] - }, { - "name" : "Y", - "type" : "AliasRef", - "annotation" : [ ] - } ] - }, { - "name" : "Z", - "type" : "AliasRef", - "annotation" : [ ] - } ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "15", + "annotation": [] + } + } + ] + } + }, + { + "name": "Multi", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Query", + "annotation": [], + "source": [ + { + "alias": "X", + "annotation": [], + "expression": { + "type": "List", + "annotation": [], + "element": [ + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + } + ] + } + }, + { + "alias": "Y", + "annotation": [], + "expression": { + "type": "List", + "annotation": [], + "element": [ + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2", + "annotation": [] + } + ] + } + }, + { + "alias": "Z", + "annotation": [], + "expression": { + "type": "List", + "annotation": [], + "element": [ + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "3", + "annotation": [] + } + ] + } + } + ], + "let": [], + "relationship": [], + "aggregate": { + "identifier": "Agg", + "annotation": [], + "expression": { + "type": "Add", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Add", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Add", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "As", + "asType": "{urn:hl7-org:elm-types:r1}Integer", + "annotation": [], + "signature": [], + "operand": { + "type": "Coalesce", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "QueryLetRef", + "name": "Agg", + "annotation": [] + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + } + ] + } + }, + { + "type": "AliasRef", + "name": "X", + "annotation": [] + } + ] + }, + { + "type": "AliasRef", + "name": "Y", + "annotation": [] + } + ] }, - "starting" : { - "type" : "Null", - "annotation" : [ ] + { + "type": "AliasRef", + "name": "Z", + "annotation": [] } - } + ] + }, + "starting": { + "type": "Null", + "annotation": [] + } } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "6", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "MegaMulti", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Query", - "annotation" : [ ], - "source" : [ { - "alias" : "X", - "annotation" : [ ], - "expression" : { - "type" : "List", - "annotation" : [ ], - "element" : [ { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal", - "annotation" : [ ] - } ] - } - }, { - "alias" : "Y", - "annotation" : [ ], - "expression" : { - "type" : "List", - "annotation" : [ ], - "element" : [ { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal", - "annotation" : [ ] - } ] - } - }, { - "alias" : "Z", - "annotation" : [ ], - "expression" : { - "type" : "List", - "annotation" : [ ], - "element" : [ { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal", - "annotation" : [ ] - } ] - } - } ], - "let" : [ ], - "relationship" : [ ], - "aggregate" : { - "identifier" : "Agg", - "annotation" : [ ], - "expression" : { - "type" : "Add", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "type" : "Add", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "type" : "Add", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "name" : "Agg", - "type" : "QueryLetRef", - "annotation" : [ ] - }, { - "name" : "X", - "type" : "AliasRef", - "annotation" : [ ] - } ] - }, { - "name" : "Y", - "type" : "AliasRef", - "annotation" : [ ] - } ] - }, { - "name" : "Z", - "type" : "AliasRef", - "annotation" : [ ] - } ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "6", + "annotation": [] + } + } + ] + } + }, + { + "name": "MegaMulti", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Query", + "annotation": [], + "source": [ + { + "alias": "X", + "annotation": [], + "expression": { + "type": "List", + "annotation": [], + "element": [ + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2", + "annotation": [] + } + ] + } + }, + { + "alias": "Y", + "annotation": [], + "expression": { + "type": "List", + "annotation": [], + "element": [ + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2", + "annotation": [] + } + ] + } + }, + { + "alias": "Z", + "annotation": [], + "expression": { + "type": "List", + "annotation": [], + "element": [ + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2", + "annotation": [] + } + ] + } + } + ], + "let": [], + "relationship": [], + "aggregate": { + "identifier": "Agg", + "annotation": [], + "expression": { + "type": "Add", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Add", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Add", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "QueryLetRef", + "name": "Agg", + "annotation": [] + }, + { + "type": "AliasRef", + "name": "X", + "annotation": [] + } + ] + }, + { + "type": "AliasRef", + "name": "Y", + "annotation": [] + } + ] }, - "starting" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] + { + "type": "AliasRef", + "name": "Z", + "annotation": [] } - } - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "36", - "type" : "Literal", - "annotation" : [ ] + ] + }, + "starting": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + } } - } ] - } - }, { - "name" : "MegaMultiDistinct", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Query", - "annotation" : [ ], - "source" : [ { - "alias" : "X", - "annotation" : [ ], - "expression" : { - "type" : "List", - "annotation" : [ ], - "element" : [ { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal", - "annotation" : [ ] - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal", - "annotation" : [ ] - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - } ] - } - }, { - "alias" : "Y", - "annotation" : [ ], - "expression" : { - "type" : "List", - "annotation" : [ ], - "element" : [ { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal", - "annotation" : [ ] - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal", - "annotation" : [ ] - } ] - } - }, { - "alias" : "Z", - "annotation" : [ ], - "expression" : { - "type" : "List", - "annotation" : [ ], - "element" : [ { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal", - "annotation" : [ ] - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal", - "annotation" : [ ] - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - } ] - } - } ], - "let" : [ ], - "relationship" : [ ], - "aggregate" : { - "identifier" : "Agg", - "distinct" : true, - "annotation" : [ ], - "expression" : { - "type" : "Add", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "type" : "Add", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "type" : "Add", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "name" : "Agg", - "type" : "QueryLetRef", - "annotation" : [ ] - }, { - "name" : "X", - "type" : "AliasRef", - "annotation" : [ ] - } ] - }, { - "name" : "Y", - "type" : "AliasRef", - "annotation" : [ ] - } ] - }, { - "name" : "Z", - "type" : "AliasRef", - "annotation" : [ ] - } ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "36", + "annotation": [] + } + } + ] + } + }, + { + "name": "MegaMultiDistinct", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Query", + "annotation": [], + "source": [ + { + "alias": "X", + "annotation": [], + "expression": { + "type": "List", + "annotation": [], + "element": [ + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2", + "annotation": [] + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2", + "annotation": [] + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + } + ] + } + }, + { + "alias": "Y", + "annotation": [], + "expression": { + "type": "List", + "annotation": [], + "element": [ + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2", + "annotation": [] + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2", + "annotation": [] + } + ] + } + }, + { + "alias": "Z", + "annotation": [], + "expression": { + "type": "List", + "annotation": [], + "element": [ + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2", + "annotation": [] + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2", + "annotation": [] + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + } + ] + } + } + ], + "let": [], + "relationship": [], + "aggregate": { + "identifier": "Agg", + "distinct": true, + "annotation": [], + "expression": { + "type": "Add", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Add", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Add", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "QueryLetRef", + "name": "Agg", + "annotation": [] + }, + { + "type": "AliasRef", + "name": "X", + "annotation": [] + } + ] + }, + { + "type": "AliasRef", + "name": "Y", + "annotation": [] + } + ] }, - "starting" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] + { + "type": "AliasRef", + "name": "Z", + "annotation": [] } - } + ] + }, + "starting": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + } } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "37", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - } ] - } - } ] - } - } + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "37", + "annotation": [] + } + } + ] + } + } + ] + } + } + ] + } + } } - diff --git a/test/spec-tests/cql/CqlArithmeticFunctionsTest.json b/test/spec-tests/cql/CqlArithmeticFunctionsTest.json index 7fea4552..5a898b49 100644 --- a/test/spec-tests/cql/CqlArithmeticFunctionsTest.json +++ b/test/spec-tests/cql/CqlArithmeticFunctionsTest.json @@ -1,7496 +1,8597 @@ { - "library" : { - "annotation" : [ { - "translatorVersion" : "3.27.0", - "translatorOptions" : "", - "signatureLevel" : "None", - "type" : "CqlToElmInfo" - } ], - "identifier" : { - "id" : "CqlArithmeticFunctionsTest", - "version" : "1.4.0" - }, - "schemaIdentifier" : { - "id" : "urn:hl7-org:elm", - "version" : "r1" - }, - "usings" : { - "def" : [ { - "localIdentifier" : "System", - "uri" : "urn:hl7-org:elm-types:r1", - "annotation" : [ ] - }, { - "localIdentifier" : "QUICK", - "uri" : "http://hl7.org/fhir/us/qicore", - "version" : "3.3.0", - "annotation" : [ ] - } ] - }, - "contexts" : { - "def" : [ { - "name" : "Patient", - "annotation" : [ ] - } ] - }, - "statements" : { - "def" : [ { - "name" : "Patient", - "context" : "Patient", - "annotation" : [ ], - "expression" : { - "type" : "SingletonFrom", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "dataType" : "{http://hl7.org/fhir/us/qicore}Patient", - "templateId" : "http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-patient", - "type" : "Retrieve", - "annotation" : [ ], - "include" : [ ], - "codeFilter" : [ ], - "dateFilter" : [ ], - "otherFilter" : [ ] - } - } - }, { - "name" : "Abs", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ ], - "expression" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "AbsNull", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Abs", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "strict" : false, - "type" : "As", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "type" : "Null", - "annotation" : [ ] - }, - "asTypeSpecifier" : { - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier", - "annotation" : [ ] - } - } - } - }, { - "name" : "output", - "value" : { - "type" : "Null", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "Abs0", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Abs", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - } - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "AbsNeg1", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Abs", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "type" : "Negate", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - } - } - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "AbsNeg1Dec", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Abs", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "type" : "Negate", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "1.0", - "type" : "Literal", - "annotation" : [ ] - } - } - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "1.0", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "Abs0Dec", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Abs", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "0.0", - "type" : "Literal", - "annotation" : [ ] - } - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "0.0", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "Abs1cm", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Abs", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "type" : "Negate", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "value" : 1.0, - "unit" : "cm", - "type" : "Quantity", - "annotation" : [ ] - } - } - } - }, { - "name" : "output", - "value" : { - "value" : 1.0, - "unit" : "cm", - "type" : "Quantity", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "AbsLong", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "skipped", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "Long not implemented", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - } ] - } - }, { - "name" : "Add", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ ], - "expression" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "AddNull", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Add", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - }, { - "asType" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "As", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "type" : "Null", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "output", - "value" : { - "type" : "Null", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "Add11", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Add", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "Add1L2L", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "skipped", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "Long not implemented", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "Add1D1D", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Add", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "1.0", - "type" : "Literal", - "annotation" : [ ] - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "1.0", - "type" : "Literal", - "annotation" : [ ] - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "2.0", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "Add1Q1Q", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Add", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "value" : 1, - "unit" : "g/cm3", - "type" : "Quantity", - "annotation" : [ ] - }, { - "value" : 1, - "unit" : "g/cm3", - "type" : "Quantity", - "annotation" : [ ] - } ] - } - }, { - "name" : "output", - "value" : { - "value" : 2.0, - "unit" : "g/cm3", - "type" : "Quantity", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "AddIAndD", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Add", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "type" : "ToDecimal", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "2.0", - "type" : "Literal", - "annotation" : [ ] - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "3.0", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "Add1L1L", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "skipped", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "Long not implemented", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - } ] - } - }, { - "name" : "Ceiling", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ ], - "expression" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "CeilingNull", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Ceiling", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "strict" : false, - "type" : "As", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "type" : "Null", - "annotation" : [ ] - }, - "asTypeSpecifier" : { - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier", - "annotation" : [ ] - } - } - } - }, { - "name" : "output", - "value" : { - "type" : "Null", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "Ceiling1D", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Ceiling", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "1.0", - "type" : "Literal", - "annotation" : [ ] - } - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "Ceiling1D1", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Ceiling", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "1.1", - "type" : "Literal", - "annotation" : [ ] - } - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "CeilingNegD1", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Ceiling", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "type" : "Negate", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "0.1", - "type" : "Literal", - "annotation" : [ ] - } - } - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "CeilingNeg1", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Ceiling", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "type" : "Negate", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "1.0", - "type" : "Literal", - "annotation" : [ ] - } - } - } - }, { - "name" : "output", - "value" : { - "type" : "Negate", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - } - } - } ] - } - }, { - "name" : "CeilingNeg1D1", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Ceiling", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "type" : "Negate", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "1.1", - "type" : "Literal", - "annotation" : [ ] - } - } - } - }, { - "name" : "output", - "value" : { - "type" : "Negate", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - } - } - } ] - } - }, { - "name" : "Ceiling1I", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Ceiling", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "type" : "ToDecimal", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - } - } - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - } ] - } - }, { - "name" : "Divide", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ ], - "expression" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "DivideNull", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Divide", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "type" : "ToDecimal", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "asType" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "As", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "type" : "Null", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "output", - "value" : { - "type" : "Null", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "Divide10", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Divide", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "type" : "ToDecimal", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "type" : "ToDecimal", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "output", - "value" : { - "type" : "Null", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "Divide01", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Divide", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "type" : "ToDecimal", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "type" : "ToDecimal", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "0.0", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "Divide11", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Divide", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "type" : "ToDecimal", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "type" : "ToDecimal", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "1.0", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "Divide1L1L", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Divide", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "type" : "ToDecimal", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Long", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "type" : "ToDecimal", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Long", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "1.0", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "Divide1d1d", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Divide", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "1.0", - "type" : "Literal", - "annotation" : [ ] - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "1.0", - "type" : "Literal", - "annotation" : [ ] - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "1.0", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "Divide103", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Round", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "type" : "Divide", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "type" : "ToDecimal", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "type" : "ToDecimal", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal", - "annotation" : [ ] - } - } ] - }, - "precision" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "8", - "type" : "Literal", - "annotation" : [ ] - } - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "3.33333333", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "Divide1Q1", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Divide", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "value" : 1, - "unit" : "g/cm3", - "type" : "Quantity", - "annotation" : [ ] - }, { - "type" : "ToQuantity", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "1.0", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "output", - "value" : { - "value" : 1.0, - "unit" : "g/cm3", - "type" : "Quantity", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "Divide1Q1Q", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Divide", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "value" : 1, - "unit" : "g/cm3", - "type" : "Quantity", - "annotation" : [ ] - }, { - "value" : 1, - "unit" : "g/cm3", - "type" : "Quantity", - "annotation" : [ ] - } ] - } - }, { - "name" : "output", - "value" : { - "value" : 1.0, - "unit" : "1", - "type" : "Quantity", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "Divide10I5D", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Divide", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "type" : "ToDecimal", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "5.0", - "type" : "Literal", - "annotation" : [ ] - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "2.0", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "Divide10I5I", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Divide", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "type" : "ToDecimal", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "type" : "ToDecimal", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "2.0", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "Divide10Q5I", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Divide", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "value" : 10.0, - "unit" : "g", - "type" : "Quantity", - "annotation" : [ ] - }, { - "type" : "ToQuantity", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "output", - "value" : { - "value" : 2.0, - "unit" : "g", - "type" : "Quantity", - "annotation" : [ ] - } - } ] - } - } ] - } - }, { - "name" : "Floor", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ ], - "expression" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "FloorNull", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Floor", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "strict" : false, - "type" : "As", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "type" : "Null", - "annotation" : [ ] - }, - "asTypeSpecifier" : { - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier", - "annotation" : [ ] - } - } - } - }, { - "name" : "output", - "value" : { - "type" : "Null", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "Floor1", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Floor", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "type" : "ToDecimal", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - } - } - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "Floor1D", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Floor", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "1.0", - "type" : "Literal", - "annotation" : [ ] - } - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "Floor1D1", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Floor", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "1.1", - "type" : "Literal", - "annotation" : [ ] - } - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "FloorNegD1", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Floor", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "type" : "Negate", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "0.1", - "type" : "Literal", - "annotation" : [ ] - } - } - } - }, { - "name" : "output", - "value" : { - "type" : "Negate", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - } - } - } ] - } - }, { - "name" : "FloorNeg1", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Floor", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "type" : "Negate", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "1.0", - "type" : "Literal", - "annotation" : [ ] - } - } - } - }, { - "name" : "output", - "value" : { - "type" : "Negate", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - } - } - } ] - } - }, { - "name" : "FloorNeg1D1", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Floor", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "type" : "Negate", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "1.1", - "type" : "Literal", - "annotation" : [ ] - } - } - } - }, { - "name" : "output", - "value" : { - "type" : "Negate", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal", - "annotation" : [ ] - } - } - } ] - } - }, { - "name" : "Floor2I", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Floor", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "type" : "ToDecimal", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal", - "annotation" : [ ] - } - } - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - } ] - } - }, { - "name" : "Exp", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ ], - "expression" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "ExpNull", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Exp", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "strict" : false, - "type" : "As", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "type" : "Null", - "annotation" : [ ] - }, - "asTypeSpecifier" : { - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier", - "annotation" : [ ] - } - } - } - }, { - "name" : "output", - "value" : { - "type" : "Null", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "Exp0", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Exp", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "type" : "ToDecimal", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - } - } - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "1.0", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "ExpNeg0", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Exp", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "type" : "ToDecimal", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "type" : "Negate", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - } - } - } - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "1.0", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "Exp1", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Round", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "type" : "Exp", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "type" : "ToDecimal", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - } - } - }, - "precision" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "8", - "type" : "Literal", - "annotation" : [ ] - } - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "2.71828183", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "Exp1L", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Round", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "type" : "Exp", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "type" : "ToDecimal", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Long", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - } - } - }, - "precision" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "8", - "type" : "Literal", - "annotation" : [ ] - } - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "2.71828183", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "ExpNeg1", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Round", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "type" : "Exp", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "type" : "ToDecimal", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "type" : "Negate", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - } - } - } - }, - "precision" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "8", - "type" : "Literal", - "annotation" : [ ] - } - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "0.36787944", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "Exp1000", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Exp", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "type" : "ToDecimal", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1000", - "type" : "Literal", - "annotation" : [ ] - } - } - } - }, { - "name" : "invalid", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "true", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "Exp1000D", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Exp", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "1000.0", - "type" : "Literal", - "annotation" : [ ] - } - } - }, { - "name" : "invalid", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "true", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - } ] - } - }, { - "name" : "HighBoundary", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ ], - "expression" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "HighBoundaryDecimal", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "skipped", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "HighBoundary not implemented", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "HighBoundaryDateMonth", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "skipped", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "HighBoundary not implemented", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "HighBoundaryDateTimeMillisecond", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "skipped", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "HighBoundary not implemented", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "HighBoundaryTimeMillisecond", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "skipped", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "HighBoundary not implemented", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - } ] - } - }, { - "name" : "Log", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ ], - "expression" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "LogNullNull", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Log", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "asType" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "As", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "type" : "Null", - "annotation" : [ ] - } - }, { - "asType" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "As", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "type" : "Null", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "output", - "value" : { - "type" : "Null", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "Log1BaseNull", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Log", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "type" : "ToDecimal", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "asType" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "As", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "type" : "Null", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "output", - "value" : { - "type" : "Null", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "Log1Base1", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Log", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "type" : "ToDecimal", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "type" : "ToDecimal", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "output", - "value" : { - "type" : "Null", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "Log2Base1", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Log", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "type" : "ToDecimal", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "type" : "ToDecimal", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "output", - "value" : { - "type" : "Null", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "Log1Base2", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Log", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "type" : "ToDecimal", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "type" : "ToDecimal", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "0.0", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "Log1Base100", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Log", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "type" : "ToDecimal", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "type" : "ToDecimal", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "100", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "0.0", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "Log1Base100L", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Log", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "type" : "ToDecimal", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Long", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "type" : "ToDecimal", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Long", - "value" : "100", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "0.0", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "Log16Base2", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Log", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "type" : "ToDecimal", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "16", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "type" : "ToDecimal", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "4.0", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "LogD125Base2", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Log", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "0.125", - "type" : "Literal", - "annotation" : [ ] - }, { - "type" : "ToDecimal", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "output", - "value" : { - "type" : "Negate", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "3.0", - "type" : "Literal", - "annotation" : [ ] - } - } - } ] - } - } ] - } - }, { - "name" : "LowBoundary", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ ], - "expression" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "LowBoundaryDecimal", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "skipped", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "LowBoundary not implemented", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "LowBoundaryDateMonth", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "skipped", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "LowBoundary not implemented", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "LowBoundaryDateTimeMillisecond", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "skipped", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "LowBoundary not implemented", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "LowBoundaryTimeMillisecond", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "skipped", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "LowBoundary not implemented", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - } ] - } - }, { - "name" : "Ln", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ ], - "expression" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "LnNull", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Ln", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "asType" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "As", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "type" : "Null", - "annotation" : [ ] - } - } - } - }, { - "name" : "output", - "value" : { - "type" : "Null", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "Ln0", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Ln", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "type" : "ToDecimal", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - } - } - } - }, { - "name" : "invalid", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "true", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "LnNeg0", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Ln", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "type" : "ToDecimal", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "type" : "Negate", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - } - } - } - } - }, { - "name" : "invalid", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "true", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "Ln1", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Ln", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "type" : "ToDecimal", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - } - } - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "0.0", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "Ln1L", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Ln", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "type" : "ToDecimal", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Long", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - } - } - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "0.0", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "LnNeg1", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Ln", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "type" : "ToDecimal", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "type" : "Negate", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - } - } - } - } - }, { - "name" : "output", - "value" : { - "type" : "Null", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "Ln1000", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Round", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "type" : "Ln", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "type" : "ToDecimal", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1000", - "type" : "Literal", - "annotation" : [ ] - } - } - }, - "precision" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "8", - "type" : "Literal", - "annotation" : [ ] - } - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "6.90775528", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "Ln1000D", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Round", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "type" : "Ln", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "1000.0", - "type" : "Literal", - "annotation" : [ ] - } - }, - "precision" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "8", - "type" : "Literal", - "annotation" : [ ] - } - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "6.90775528", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - } ] - } - }, { - "name" : "MinValue", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ ], - "expression" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "IntegerMinValue", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "MinValue", - "annotation" : [ ] - } - }, { - "name" : "output", - "value" : { - "type" : "Negate", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2147483648", - "type" : "Literal", - "annotation" : [ ] - } - } - } ] - } - }, { - "name" : "LongMinValue", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "skipped", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "Long not implemented", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "DecimalMinValue", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "MinValue", - "annotation" : [ ] - } - }, { - "name" : "output", - "value" : { - "type" : "Negate", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "99999999999999999999.99999999", - "type" : "Literal", - "annotation" : [ ] - } - } - } ] - } - }, { - "name" : "DateTimeMinValue", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "MinValue", - "annotation" : [ ] - } - }, { - "name" : "output", - "value" : { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - }, - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, - "timezoneOffset" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "0.0", - "type" : "Literal", - "annotation" : [ ] - } - } - } ] - } - }, { - "name" : "DateMinValue", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "MinValue", - "annotation" : [ ] - } - }, { - "name" : "output", - "value" : { - "type" : "Date", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - } - } - } ] - } - }, { - "name" : "TimeMinValue", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Time", - "type" : "MinValue", - "annotation" : [ ] - } - }, { - "name" : "output", - "value" : { - "type" : "Time", - "annotation" : [ ], - "signature" : [ ], - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - } - } - } ] - } - }, { - "name" : "BooleanMinValue", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "MinValue", - "annotation" : [ ] - } - }, { - "name" : "invalid", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "true", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - } ] - } - }, { - "name" : "MaxValue", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ ], - "expression" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "IntegerMaxValue", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "MaxValue", - "annotation" : [ ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2147483647", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "LongMaxValue", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "skipped", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "Long not implemented", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "DecimalMaxValue", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "MaxValue", - "annotation" : [ ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "99999999999999999999.99999999", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "DateTimeMaxValue", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "MaxValue", - "annotation" : [ ] - } - }, { - "name" : "output", - "value" : { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "9999", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "12", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "31", - "type" : "Literal", - "annotation" : [ ] - }, - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "23", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "999", - "type" : "Literal", - "annotation" : [ ] - }, - "timezoneOffset" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "0.0", - "type" : "Literal", - "annotation" : [ ] - } - } - } ] - } - }, { - "name" : "DateMaxValue", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "MaxValue", - "annotation" : [ ] - } - }, { - "name" : "output", - "value" : { - "type" : "Date", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "9999", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "12", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "31", - "type" : "Literal", - "annotation" : [ ] - } - } - } ] - } - }, { - "name" : "TimeMaxValue", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Time", - "type" : "MaxValue", - "annotation" : [ ] - } - }, { - "name" : "output", - "value" : { - "type" : "Time", - "annotation" : [ ], - "signature" : [ ], - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "23", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "999", - "type" : "Literal", - "annotation" : [ ] - } - } - } ] - } - }, { - "name" : "BooleanMaxValue", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "MaxValue", - "annotation" : [ ] - } - }, { - "name" : "invalid", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "true", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - } ] - } - }, { - "name" : "Modulo", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ ], - "expression" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "ModuloNull", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Modulo", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - }, { - "asType" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "As", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "type" : "Null", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "output", - "value" : { - "type" : "Null", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "Modulo0By0", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Modulo", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - } ] - } - }, { - "name" : "output", - "value" : { - "type" : "Null", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "Modulo4By2", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Modulo", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "4", - "type" : "Literal", - "annotation" : [ ] - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal", - "annotation" : [ ] - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "Modulo4LBy2L", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "skipped", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "Long not implemented", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "Modulo4DBy2D", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Modulo", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "4.0", - "type" : "Literal", - "annotation" : [ ] - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "2.0", - "type" : "Literal", - "annotation" : [ ] - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "0.0", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "Modulo10By3", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Modulo", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal", - "annotation" : [ ] - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "Modulo10DBy3D", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Modulo", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "10.0", - "type" : "Literal", - "annotation" : [ ] - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "3.0", - "type" : "Literal", - "annotation" : [ ] - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "1.0", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "Modulo10IBy3D", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Modulo", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "type" : "ToDecimal", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "3.0", - "type" : "Literal", - "annotation" : [ ] - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "1.0", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "ModuloDResult", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Modulo", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "3.5", - "type" : "Literal", - "annotation" : [ ] - }, { - "type" : "ToDecimal", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "0.5", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "ModuloQuantity", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "skipped", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "Modulo not implemented for Quantity", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "Modulo10By3Quantity", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "skipped", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "Modulo not implemented for Quantity", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "Modulo10By0Quantity", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Modulo", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "value" : 10.0, - "unit" : "g", - "type" : "Quantity", - "annotation" : [ ] - }, { - "value" : 0.0, - "unit" : "g", - "type" : "Quantity", - "annotation" : [ ] - } ] - } - }, { - "name" : "output", - "value" : { - "type" : "Null", - "annotation" : [ ] - } - } ] - } - } ] - } - }, { - "name" : "Multiply", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ ], - "expression" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "MultiplyNull", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Multiply", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - }, { - "asType" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "As", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "type" : "Null", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "output", - "value" : { - "type" : "Null", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "Multiply1By1", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Multiply", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "Multiply2LBy3L", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "skipped", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "Long not implemented", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "Multiply1DBy2D", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Multiply", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "1.0", - "type" : "Literal", - "annotation" : [ ] - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "2.0", - "type" : "Literal", - "annotation" : [ ] - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "2.0", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "Multiply1By1L", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "skipped", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "Long not implemented", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "Multiply1IBy2D", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Multiply", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "type" : "ToDecimal", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "2.0", - "type" : "Literal", - "annotation" : [ ] - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "2.0", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "Multiply1CMBy2CM", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Multiply", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "value" : 1.0, - "unit" : "cm", - "type" : "Quantity", - "annotation" : [ ] - }, { - "value" : 2.0, - "unit" : "cm", - "type" : "Quantity", - "annotation" : [ ] - } ] - } - }, { - "name" : "output", - "value" : { - "value" : 2.0, - "unit" : "cm2", - "type" : "Quantity", - "annotation" : [ ] - } - } ] - } - } ] - } - }, { - "name" : "Negate", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ ], - "expression" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "NegateNull", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Negate", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "strict" : false, - "type" : "As", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "type" : "Null", - "annotation" : [ ] - }, - "asTypeSpecifier" : { - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier", - "annotation" : [ ] - } - } - } - }, { - "name" : "output", - "value" : { - "type" : "Null", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "Negate0", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Negate", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - } - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "NegateNeg0", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Negate", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "type" : "Negate", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - } - } - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "Negate1", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Negate", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - } - } - }, { - "name" : "output", - "value" : { - "type" : "Negate", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - } - } - } ] - } - }, { - "name" : "Negate1L", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Negate", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Long", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - } - } - }, { - "name" : "output", - "value" : { - "type" : "Negate", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Long", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - } - } - } ] - } - }, { - "name" : "NegateMaxLong", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Negate", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Long", - "value" : "9223372036854775807", - "type" : "Literal", - "annotation" : [ ] - } - } - }, { - "name" : "output", - "value" : { - "type" : "Negate", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Long", - "value" : "9223372036854775807", - "type" : "Literal", - "annotation" : [ ] - } - } - } ] - } - }, { - "name" : "NegateNeg1", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Negate", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "type" : "Negate", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - } - } - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "NegateNeg1L", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "skipped", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "Long not implemented", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "Negate0D", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Negate", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "0.0", - "type" : "Literal", - "annotation" : [ ] - } - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "0.0", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "NegateNeg0D", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Negate", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "type" : "Negate", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "0.0", - "type" : "Literal", - "annotation" : [ ] - } - } - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "0.0", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "Negate1D", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Negate", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "1.0", - "type" : "Literal", - "annotation" : [ ] - } - } - }, { - "name" : "output", - "value" : { - "type" : "Negate", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "1.0", - "type" : "Literal", - "annotation" : [ ] - } - } - } ] - } - }, { - "name" : "NegateNeg1D", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Negate", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "type" : "Negate", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "1.0", - "type" : "Literal", - "annotation" : [ ] - } - } - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "1.0", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "Negate1CM", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Negate", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "value" : 1, - "unit" : "cm", - "type" : "Quantity", - "annotation" : [ ] - } - } - }, { - "name" : "output", - "value" : { - "type" : "Negate", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "value" : 1.0, - "unit" : "cm", - "type" : "Quantity", - "annotation" : [ ] - } - } - } ] - } - } ] - } - }, { - "name" : "Precision", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ ], - "expression" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "PrecisionDecimal", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "skipped", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "Precision for Decimal not implemented", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "PrecisionYear", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Precision", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "type" : "Date", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2014", - "type" : "Literal", - "annotation" : [ ] - } - } - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "4", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "PrecisionDateTimeMilliseconds", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Precision", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2014", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal", - "annotation" : [ ] - }, - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "30", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - } - } - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "17", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "PrecisionTimeMinutes", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Precision", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "type" : "Time", - "annotation" : [ ], - "signature" : [ ], - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "30", - "type" : "Literal", - "annotation" : [ ] - } - } - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "4", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "PrecisionTimeMilliseconds", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Precision", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "type" : "Time", - "annotation" : [ ], - "signature" : [ ], - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "30", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - } - } - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "9", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - } ] - } - }, { - "name" : "Predecessor", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ ], - "expression" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "PredecessorNull", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Predecessor", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "strict" : false, - "type" : "As", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "type" : "Null", - "annotation" : [ ] - }, - "asTypeSpecifier" : { - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier", - "annotation" : [ ] - } - } - } - }, { - "name" : "output", - "value" : { - "type" : "Null", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "PredecessorOf0", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Predecessor", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - } - } - }, { - "name" : "output", - "value" : { - "type" : "Negate", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - } - } - } ] - } - }, { - "name" : "PredecessorOf1", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Predecessor", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - } - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "PredecessorOf1L", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "skipped", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "Long not implemented", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "PredecessorOf1D", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "skipped", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "Wrong answer (doesn't recognize 1.0 as decimal)", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "PredecessorOf101D", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Predecessor", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "1.01", - "type" : "Literal", - "annotation" : [ ] - } - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "1.00999999", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "PredecessorOf1QCM", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "skipped", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "Wrong answer (doesn't recognize 1.0 as decimal)", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "PredecessorOfJan12000", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Predecessor", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - } - } - } - }, { - "name" : "output", - "value" : { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1999", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "12", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "31", - "type" : "Literal", - "annotation" : [ ] - } - } - } ] - } - }, { - "name" : "PredecessorOfNoon", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Predecessor", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "type" : "Time", - "annotation" : [ ], - "signature" : [ ], - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "12", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - } - } - } - }, { - "name" : "output", - "value" : { - "type" : "Time", - "annotation" : [ ], - "signature" : [ ], - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "11", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "999", - "type" : "Literal", - "annotation" : [ ] - } - } - } ] - } - }, { - "name" : "PredecessorUnderflowDt", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Predecessor", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0001", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - }, - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - } - } - } - }, { - "name" : "invalid", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "true", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "PredecessorUnderflowT", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Predecessor", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "type" : "Time", - "annotation" : [ ], - "signature" : [ ], - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - } - } - } - }, { - "name" : "invalid", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "true", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - } ] - } - }, { - "name" : "Power", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ ], - "expression" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "PowerNullToNull", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Power", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "strict" : false, - "type" : "As", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "type" : "Null", - "annotation" : [ ] - }, - "asTypeSpecifier" : { - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier", - "annotation" : [ ] - } - }, { - "strict" : false, - "type" : "As", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "type" : "Null", - "annotation" : [ ] - }, - "asTypeSpecifier" : { - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "output", - "value" : { - "type" : "Null", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "Power0To0", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Power", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "Power2To2", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Power", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal", - "annotation" : [ ] - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal", - "annotation" : [ ] - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "4", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "PowerNeg2To2", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Power", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "type" : "Negate", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal", - "annotation" : [ ] - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "4", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "Power2ToNeg2", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Power", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal", - "annotation" : [ ] - }, { - "type" : "Negate", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "0.25", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "Power2LTo2L", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "skipped", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "Long not implemented", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "Power2DTo2D", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Power", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "2.0", - "type" : "Literal", - "annotation" : [ ] - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "2.0", - "type" : "Literal", - "annotation" : [ ] - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "4.0", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "PowerNeg2DTo2D", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Power", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "type" : "Negate", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "2.0", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "2.0", - "type" : "Literal", - "annotation" : [ ] - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "4.0", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "Power2DToNeg2D", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Power", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "2.0", - "type" : "Literal", - "annotation" : [ ] - }, { - "type" : "Negate", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "2.0", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "0.25", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "Power2DTo2", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Power", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "2.0", - "type" : "Literal", - "annotation" : [ ] - }, { - "type" : "ToDecimal", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "4.0", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "Power2To2D", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Power", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "type" : "ToDecimal", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "2.0", - "type" : "Literal", - "annotation" : [ ] - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "4.0", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "Power2To4", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Power", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal", - "annotation" : [ ] - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "4", - "type" : "Literal", - "annotation" : [ ] - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "16", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "Power2LTo3L", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "skipped", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "Long not implemented", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "Power2DTo4D", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Power", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "2.0", - "type" : "Literal", - "annotation" : [ ] - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "4.0", - "type" : "Literal", - "annotation" : [ ] - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "16.0", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "Power2DToNeg2DEquivalence", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Equivalent", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "type" : "ToDecimal", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "type" : "Power", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal", - "annotation" : [ ] - }, { - "type" : "Negate", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "0.25", - "type" : "Literal", - "annotation" : [ ] - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "true", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - } ] - } - }, { - "name" : "Round", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ ], - "expression" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "RoundNull", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Round", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "strict" : false, - "type" : "As", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "type" : "Null", - "annotation" : [ ] - }, - "asTypeSpecifier" : { - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier", - "annotation" : [ ] - } - } - } - }, { - "name" : "output", - "value" : { - "type" : "Null", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "Round1", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Round", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "type" : "ToDecimal", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - } - } - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "1.0", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "Round0D5", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Round", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "0.5", - "type" : "Literal", - "annotation" : [ ] - } - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "1.0", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "Round0D4", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Round", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "0.4", - "type" : "Literal", - "annotation" : [ ] - } - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "0.0", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "Round3D14159", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Round", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "3.14159", - "type" : "Literal", - "annotation" : [ ] - }, - "precision" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal", - "annotation" : [ ] - } - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "3.14", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "RoundNeg0D5", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Round", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "type" : "Negate", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "0.5", - "type" : "Literal", - "annotation" : [ ] - } - } - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "0.0", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "RoundNeg0D4", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Round", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "type" : "Negate", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "0.4", - "type" : "Literal", - "annotation" : [ ] - } - } - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "0.0", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "RoundNeg0D6", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Round", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "type" : "Negate", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "0.6", - "type" : "Literal", - "annotation" : [ ] - } - } - } - }, { - "name" : "output", - "value" : { - "type" : "Negate", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "1.0", - "type" : "Literal", - "annotation" : [ ] - } - } - } ] - } - }, { - "name" : "RoundNeg1D1", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Round", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "type" : "Negate", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "1.1", - "type" : "Literal", - "annotation" : [ ] - } - } - } - }, { - "name" : "output", - "value" : { - "type" : "Negate", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "1.0", - "type" : "Literal", - "annotation" : [ ] - } - } - } ] - } - }, { - "name" : "RoundNeg1D5", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Round", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "type" : "Negate", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "1.5", - "type" : "Literal", - "annotation" : [ ] - } - } - } - }, { - "name" : "output", - "value" : { - "type" : "Negate", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "1.0", - "type" : "Literal", - "annotation" : [ ] - } - } - } ] - } - }, { - "name" : "RoundNeg1D6", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Round", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "type" : "Negate", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "1.6", - "type" : "Literal", - "annotation" : [ ] - } - } - } - }, { - "name" : "output", - "value" : { - "type" : "Negate", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "2.0", - "type" : "Literal", - "annotation" : [ ] - } - } - } ] - } - } ] - } - }, { - "name" : "Subtract", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ ], - "expression" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "SubtractNull", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Subtract", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - }, { - "asType" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "As", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "type" : "Null", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "output", - "value" : { - "type" : "Null", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "Subtract1And1", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Subtract", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "Subtract1LAnd1L", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "skipped", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "Long not implemented", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "Subtract1DAnd2D", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Subtract", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "1.0", - "type" : "Literal", - "annotation" : [ ] - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "2.0", - "type" : "Literal", - "annotation" : [ ] - } ] - } - }, { - "name" : "output", - "value" : { - "type" : "Negate", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "1.0", - "type" : "Literal", - "annotation" : [ ] - } - } - } ] - } - }, { - "name" : "Subtract1CMAnd2CM", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Subtract", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "value" : 1.0, - "unit" : "cm", - "type" : "Quantity", - "annotation" : [ ] - }, { - "value" : 2.0, - "unit" : "cm", - "type" : "Quantity", - "annotation" : [ ] - } ] - } - }, { - "name" : "output", - "value" : { - "type" : "Negate", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "value" : 1.0, - "unit" : "cm", - "type" : "Quantity", - "annotation" : [ ] - } - } - } ] - } - }, { - "name" : "Subtract2And11D", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Subtract", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "type" : "ToDecimal", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "1.1", - "type" : "Literal", - "annotation" : [ ] - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "0.9", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - } ] - } - }, { - "name" : "Successor", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ ], - "expression" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "SuccessorNull", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Successor", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "strict" : false, - "type" : "As", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "type" : "Null", - "annotation" : [ ] - }, - "asTypeSpecifier" : { - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier", - "annotation" : [ ] - } - } - } - }, { - "name" : "output", - "value" : { - "type" : "Null", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "SuccessorOf0", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Successor", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - } - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "SuccessorOf1", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Successor", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - } - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "SuccessorOf1L", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "skipped", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "Long not implemented", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "SuccessorOf1D", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "skipped", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "Wrong answer (doesn't recognize 1.0 as decimal)", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "SuccessorOf101D", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Successor", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "1.01", - "type" : "Literal", - "annotation" : [ ] - } - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "1.01000001", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "SuccessorOfJan12000", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Successor", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - } - } - } - }, { - "name" : "output", - "value" : { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal", - "annotation" : [ ] - } - } - } ] - } - }, { - "name" : "SuccessorOfNoon", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Successor", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "type" : "Time", - "annotation" : [ ], - "signature" : [ ], - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "12", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - } - } - } - }, { - "name" : "output", - "value" : { - "type" : "Time", - "annotation" : [ ], - "signature" : [ ], - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "12", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - } - } - } ] - } - }, { - "name" : "SuccessorOverflowDt", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Successor", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "9999", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "12", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "31", - "type" : "Literal", - "annotation" : [ ] - }, - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "23", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "999", - "type" : "Literal", - "annotation" : [ ] - } - } - } - }, { - "name" : "invalid", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "true", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "SuccessorOverflowT", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Successor", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "type" : "Time", - "annotation" : [ ], - "signature" : [ ], - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "23", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "999", - "type" : "Literal", - "annotation" : [ ] - } - } - } - }, { - "name" : "invalid", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "true", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - } ] - } - }, { - "name" : "Truncate", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ ], - "expression" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "TruncateNull", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Truncate", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "strict" : false, - "type" : "As", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "type" : "Null", - "annotation" : [ ] - }, - "asTypeSpecifier" : { - "name" : "{urn:hl7-org:elm-types:r1}Decimal", - "type" : "NamedTypeSpecifier", - "annotation" : [ ] - } - } - } - }, { - "name" : "output", - "value" : { - "type" : "Null", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "Truncate0", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Truncate", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "type" : "ToDecimal", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - } - } - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "Truncate0D0", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Truncate", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "0.0", - "type" : "Literal", - "annotation" : [ ] - } - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "Truncate0D1", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Truncate", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "0.1", - "type" : "Literal", - "annotation" : [ ] - } - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "Truncate1", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Truncate", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "type" : "ToDecimal", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - } - } - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "Truncate1D0", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Truncate", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "1.0", - "type" : "Literal", - "annotation" : [ ] - } - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "Truncate1D1", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Truncate", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "1.1", - "type" : "Literal", - "annotation" : [ ] - } - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "Truncate1D9", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Truncate", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "1.9", - "type" : "Literal", - "annotation" : [ ] - } - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "TruncateNeg1", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Truncate", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "type" : "ToDecimal", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "type" : "Negate", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - } - } - } - } - }, { - "name" : "output", - "value" : { - "type" : "Negate", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - } - } - } ] - } - }, { - "name" : "TruncateNeg1D0", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Truncate", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "type" : "Negate", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "1.0", - "type" : "Literal", - "annotation" : [ ] - } - } - } - }, { - "name" : "output", - "value" : { - "type" : "Negate", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - } - } - } ] - } - }, { - "name" : "TruncateNeg1D1", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Truncate", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "type" : "Negate", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "1.1", - "type" : "Literal", - "annotation" : [ ] - } - } - } - }, { - "name" : "output", - "value" : { - "type" : "Negate", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - } - } - } ] - } - }, { - "name" : "TruncateNeg1D9", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Truncate", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "type" : "Negate", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "1.9", - "type" : "Literal", - "annotation" : [ ] - } - } - } - }, { - "name" : "output", - "value" : { - "type" : "Negate", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - } - } - } ] - } - } ] - } - }, { - "name" : "Truncated Divide", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ ], - "expression" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "TruncatedDivideNull", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "TruncatedDivide", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "strict" : false, - "type" : "As", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "type" : "Null", - "annotation" : [ ] - }, - "asTypeSpecifier" : { - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier", - "annotation" : [ ] - } - }, { - "strict" : false, - "type" : "As", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "type" : "Null", - "annotation" : [ ] - }, - "asTypeSpecifier" : { - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "output", - "value" : { - "type" : "Null", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "TruncatedDivide2By1", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "TruncatedDivide", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal", - "annotation" : [ ] - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "TruncatedDivide2By0", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "TruncatedDivide", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal", - "annotation" : [ ] - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - } ] - } - }, { - "name" : "output", - "value" : { - "type" : "Null", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "TruncatedDivide10By3", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "TruncatedDivide", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal", - "annotation" : [ ] - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "TruncatedDivide10LBy3L", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "skipped", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "Long not implemented", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "TruncatedDivide10LBy0L", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "TruncatedDivide", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "valueType" : "{urn:hl7-org:elm-types:r1}Long", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}Long", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - } ] - } - }, { - "name" : "output", - "value" : { - "type" : "Null", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "TruncatedDivide10d1By3D1", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "TruncatedDivide", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "10.1", - "type" : "Literal", - "annotation" : [ ] - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "3.1", - "type" : "Literal", - "annotation" : [ ] - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "3.0", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "TruncatedDivide10D1By0D", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "TruncatedDivide", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "10.1", - "type" : "Literal", - "annotation" : [ ] - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "0.0", - "type" : "Literal", - "annotation" : [ ] - } ] - } - }, { - "name" : "output", - "value" : { - "type" : "Null", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "TruncatedDivideNeg2ByNeg1", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "TruncatedDivide", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "type" : "Negate", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "type" : "Negate", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "TruncatedDivideNeg10ByNeg3", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "TruncatedDivide", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "type" : "Negate", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "type" : "Negate", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "TruncatedDivideNeg10d1ByNeg3D1", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "TruncatedDivide", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "type" : "Negate", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "10.1", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "type" : "Negate", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "3.1", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "3.0", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "TruncatedDivideNeg2By1", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "TruncatedDivide", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "type" : "Negate", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - } ] - } - }, { - "name" : "output", - "value" : { - "type" : "Negate", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal", - "annotation" : [ ] - } - } - } ] - } - }, { - "name" : "TruncatedDivideNeg10By3", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "TruncatedDivide", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "type" : "Negate", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal", - "annotation" : [ ] - } ] - } - }, { - "name" : "output", - "value" : { - "type" : "Negate", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal", - "annotation" : [ ] - } - } - } ] - } - }, { - "name" : "TruncatedDivideNeg10d1By3D1", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "TruncatedDivide", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "type" : "Negate", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "10.1", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "3.1", - "type" : "Literal", - "annotation" : [ ] - } ] - } - }, { - "name" : "output", - "value" : { - "type" : "Negate", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "3.0", - "type" : "Literal", - "annotation" : [ ] - } - } - } ] - } - }, { - "name" : "TruncatedDivide2ByNeg1", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "TruncatedDivide", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal", - "annotation" : [ ] - }, { - "type" : "Negate", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "output", - "value" : { - "type" : "Negate", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal", - "annotation" : [ ] - } - } - } ] - } - }, { - "name" : "TruncatedDivide10ByNeg3", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "TruncatedDivide", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - }, { - "type" : "Negate", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "output", - "value" : { - "type" : "Negate", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal", - "annotation" : [ ] - } - } - } ] - } - }, { - "name" : "TruncatedDivide10d1ByNeg3D1", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "TruncatedDivide", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "10.1", - "type" : "Literal", - "annotation" : [ ] - }, { - "type" : "Negate", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "3.1", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "output", - "value" : { - "type" : "Negate", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "3.0", - "type" : "Literal", - "annotation" : [ ] - } - } - } ] - } - }, { - "name" : "TruncatedDivide10By5D", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "TruncatedDivide", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "type" : "ToDecimal", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "5.0", - "type" : "Literal", - "annotation" : [ ] - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "2.0", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "TruncatedDivide10d1ByNeg3D1Quantity", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "skipped", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "Truncated divide not implemented for Quantity", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "TruncatedDivide10By5DQuantity", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "skipped", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "Truncated divide not implemented for Quantity", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "TruncatedDivide414By206DQuantity", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "skipped", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "Truncated divide not implemented for Quantity", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "TruncatedDivide10By0DQuantity", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "TruncatedDivide", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "value" : 10.0, - "unit" : "g", - "type" : "Quantity", - "annotation" : [ ] - }, { - "value" : 0.0, - "unit" : "g", - "type" : "Quantity", - "annotation" : [ ] - } ] - } - }, { - "name" : "output", - "value" : { - "type" : "Null", - "annotation" : [ ] - } - } ] - } - } ] - } - } ] + "library": { + "annotation": [ + { + "type": "CqlToElmInfo", + "translatorVersion": "4.2.0", + "translatorOptions": "", + "signatureLevel": "None" } - } + ], + "identifier": { + "id": "CqlArithmeticFunctionsTest", + "version": "1.4.0" + }, + "schemaIdentifier": { + "id": "urn:hl7-org:elm", + "version": "r1" + }, + "usings": { + "def": [ + { + "localIdentifier": "System", + "uri": "urn:hl7-org:elm-types:r1", + "annotation": [] + }, + { + "localIdentifier": "QUICK", + "uri": "http://hl7.org/fhir/us/qicore", + "version": "3.3.0", + "annotation": [] + } + ] + }, + "contexts": { + "def": [ + { + "name": "Patient", + "annotation": [] + } + ] + }, + "statements": { + "def": [ + { + "name": "Patient", + "context": "Patient", + "annotation": [], + "expression": { + "type": "SingletonFrom", + "annotation": [], + "signature": [], + "operand": { + "type": "Retrieve", + "dataType": "{http://hl7.org/fhir/us/qicore}Patient", + "templateId": "http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-patient", + "annotation": [], + "include": [], + "codeFilter": [], + "dateFilter": [], + "otherFilter": [] + } + } + }, + { + "name": "Abs", + "context": "Patient", + "accessLevel": "Public", + "annotation": [], + "expression": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "AbsNull", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Abs", + "annotation": [], + "signature": [], + "operand": { + "type": "As", + "strict": false, + "annotation": [], + "signature": [], + "operand": { + "type": "Null", + "annotation": [] + }, + "asTypeSpecifier": { + "type": "NamedTypeSpecifier", + "name": "{urn:hl7-org:elm-types:r1}Integer", + "annotation": [] + } + } + } + }, + { + "name": "output", + "value": { + "type": "Null", + "annotation": [] + } + } + ] + } + }, + { + "name": "Abs0", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Abs", + "annotation": [], + "signature": [], + "operand": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + } + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + } + } + ] + } + }, + { + "name": "AbsNeg1", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Abs", + "annotation": [], + "signature": [], + "operand": { + "type": "Negate", + "annotation": [], + "signature": [], + "operand": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + } + } + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + } + } + ] + } + }, + { + "name": "AbsNeg1Dec", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Abs", + "annotation": [], + "signature": [], + "operand": { + "type": "Negate", + "annotation": [], + "signature": [], + "operand": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "1.0", + "annotation": [] + } + } + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "1.0", + "annotation": [] + } + } + ] + } + }, + { + "name": "Abs0Dec", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Abs", + "annotation": [], + "signature": [], + "operand": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "0.0", + "annotation": [] + } + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "0.0", + "annotation": [] + } + } + ] + } + }, + { + "name": "Abs1cm", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Abs", + "annotation": [], + "signature": [], + "operand": { + "type": "Negate", + "annotation": [], + "signature": [], + "operand": { + "type": "Quantity", + "value": 1, + "unit": "cm", + "annotation": [] + } + } + } + }, + { + "name": "output", + "value": { + "type": "Quantity", + "value": 1, + "unit": "cm", + "annotation": [] + } + } + ] + } + }, + { + "name": "AbsLong", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "skipped", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}String", + "value": "Long not implemented", + "annotation": [] + } + } + ] + } + } + ] + } + }, + { + "name": "Add", + "context": "Patient", + "accessLevel": "Public", + "annotation": [], + "expression": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "AddNull", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Add", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + }, + { + "type": "As", + "asType": "{urn:hl7-org:elm-types:r1}Integer", + "annotation": [], + "signature": [], + "operand": { + "type": "Null", + "annotation": [] + } + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Null", + "annotation": [] + } + } + ] + } + }, + { + "name": "Add11", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Add", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2", + "annotation": [] + } + } + ] + } + }, + { + "name": "Add1L2L", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "skipped", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}String", + "value": "Long not implemented", + "annotation": [] + } + } + ] + } + }, + { + "name": "Add1D1D", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Add", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "1.0", + "annotation": [] + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "1.0", + "annotation": [] + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "2.0", + "annotation": [] + } + } + ] + } + }, + { + "name": "Add1Q1Q", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Add", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Quantity", + "value": 1, + "unit": "g/cm3", + "annotation": [] + }, + { + "type": "Quantity", + "value": 1, + "unit": "g/cm3", + "annotation": [] + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Quantity", + "value": 2, + "unit": "g/cm3", + "annotation": [] + } + } + ] + } + }, + { + "name": "AddIAndD", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Add", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "ToDecimal", + "annotation": [], + "signature": [], + "operand": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + } + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "2.0", + "annotation": [] + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "3.0", + "annotation": [] + } + } + ] + } + }, + { + "name": "Add1L1L", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "skipped", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}String", + "value": "Long not implemented", + "annotation": [] + } + } + ] + } + } + ] + } + }, + { + "name": "Ceiling", + "context": "Patient", + "accessLevel": "Public", + "annotation": [], + "expression": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "CeilingNull", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Ceiling", + "annotation": [], + "signature": [], + "operand": { + "type": "As", + "strict": false, + "annotation": [], + "signature": [], + "operand": { + "type": "Null", + "annotation": [] + }, + "asTypeSpecifier": { + "type": "NamedTypeSpecifier", + "name": "{urn:hl7-org:elm-types:r1}Decimal", + "annotation": [] + } + } + } + }, + { + "name": "output", + "value": { + "type": "Null", + "annotation": [] + } + } + ] + } + }, + { + "name": "Ceiling1D", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Ceiling", + "annotation": [], + "signature": [], + "operand": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "1.0", + "annotation": [] + } + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + } + } + ] + } + }, + { + "name": "Ceiling1D1", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Ceiling", + "annotation": [], + "signature": [], + "operand": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "1.1", + "annotation": [] + } + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2", + "annotation": [] + } + } + ] + } + }, + { + "name": "CeilingNegD1", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Ceiling", + "annotation": [], + "signature": [], + "operand": { + "type": "Negate", + "annotation": [], + "signature": [], + "operand": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "0.1", + "annotation": [] + } + } + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + } + } + ] + } + }, + { + "name": "CeilingNeg1", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Ceiling", + "annotation": [], + "signature": [], + "operand": { + "type": "Negate", + "annotation": [], + "signature": [], + "operand": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "1.0", + "annotation": [] + } + } + } + }, + { + "name": "output", + "value": { + "type": "Negate", + "annotation": [], + "signature": [], + "operand": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + } + } + } + ] + } + }, + { + "name": "CeilingNeg1D1", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Ceiling", + "annotation": [], + "signature": [], + "operand": { + "type": "Negate", + "annotation": [], + "signature": [], + "operand": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "1.1", + "annotation": [] + } + } + } + }, + { + "name": "output", + "value": { + "type": "Negate", + "annotation": [], + "signature": [], + "operand": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + } + } + } + ] + } + }, + { + "name": "Ceiling1I", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Ceiling", + "annotation": [], + "signature": [], + "operand": { + "type": "ToDecimal", + "annotation": [], + "signature": [], + "operand": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + } + } + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + } + } + ] + } + } + ] + } + }, + { + "name": "Divide", + "context": "Patient", + "accessLevel": "Public", + "annotation": [], + "expression": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "DivideNull", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Divide", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "ToDecimal", + "annotation": [], + "signature": [], + "operand": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + } + }, + { + "type": "As", + "asType": "{urn:hl7-org:elm-types:r1}Decimal", + "annotation": [], + "signature": [], + "operand": { + "type": "Null", + "annotation": [] + } + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Null", + "annotation": [] + } + } + ] + } + }, + { + "name": "Divide10", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Divide", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "ToDecimal", + "annotation": [], + "signature": [], + "operand": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + } + }, + { + "type": "ToDecimal", + "annotation": [], + "signature": [], + "operand": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + } + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Null", + "annotation": [] + } + } + ] + } + }, + { + "name": "Divide01", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Divide", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "ToDecimal", + "annotation": [], + "signature": [], + "operand": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + } + }, + { + "type": "ToDecimal", + "annotation": [], + "signature": [], + "operand": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + } + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "0.0", + "annotation": [] + } + } + ] + } + }, + { + "name": "Divide11", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Divide", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "ToDecimal", + "annotation": [], + "signature": [], + "operand": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + } + }, + { + "type": "ToDecimal", + "annotation": [], + "signature": [], + "operand": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + } + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "1.0", + "annotation": [] + } + } + ] + } + }, + { + "name": "Divide1L1L", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Divide", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "ToDecimal", + "annotation": [], + "signature": [], + "operand": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Long", + "value": "1", + "annotation": [] + } + }, + { + "type": "ToDecimal", + "annotation": [], + "signature": [], + "operand": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Long", + "value": "1", + "annotation": [] + } + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "1.0", + "annotation": [] + } + } + ] + } + }, + { + "name": "Divide1d1d", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Divide", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "1.0", + "annotation": [] + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "1.0", + "annotation": [] + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "1.0", + "annotation": [] + } + } + ] + } + }, + { + "name": "Divide103", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Round", + "annotation": [], + "signature": [], + "operand": { + "type": "Divide", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "ToDecimal", + "annotation": [], + "signature": [], + "operand": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + } + }, + { + "type": "ToDecimal", + "annotation": [], + "signature": [], + "operand": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "3", + "annotation": [] + } + } + ] + }, + "precision": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "8", + "annotation": [] + } + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "3.33333333", + "annotation": [] + } + } + ] + } + }, + { + "name": "Divide1Q1", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Divide", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Quantity", + "value": 1, + "unit": "g/cm3", + "annotation": [] + }, + { + "type": "ToQuantity", + "annotation": [], + "signature": [], + "operand": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "1.0", + "annotation": [] + } + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Quantity", + "value": 1, + "unit": "g/cm3", + "annotation": [] + } + } + ] + } + }, + { + "name": "Divide1Q1Q", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Divide", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Quantity", + "value": 1, + "unit": "g/cm3", + "annotation": [] + }, + { + "type": "Quantity", + "value": 1, + "unit": "g/cm3", + "annotation": [] + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Quantity", + "value": 1, + "unit": "1", + "annotation": [] + } + } + ] + } + }, + { + "name": "Divide10I5D", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Divide", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "ToDecimal", + "annotation": [], + "signature": [], + "operand": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + } + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "5.0", + "annotation": [] + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "2.0", + "annotation": [] + } + } + ] + } + }, + { + "name": "Divide10I5I", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Divide", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "ToDecimal", + "annotation": [], + "signature": [], + "operand": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + } + }, + { + "type": "ToDecimal", + "annotation": [], + "signature": [], + "operand": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "5", + "annotation": [] + } + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "2.0", + "annotation": [] + } + } + ] + } + }, + { + "name": "Divide10Q5I", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Divide", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Quantity", + "value": 10, + "unit": "g", + "annotation": [] + }, + { + "type": "ToQuantity", + "annotation": [], + "signature": [], + "operand": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "5", + "annotation": [] + } + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Quantity", + "value": 2, + "unit": "g", + "annotation": [] + } + } + ] + } + } + ] + } + }, + { + "name": "Floor", + "context": "Patient", + "accessLevel": "Public", + "annotation": [], + "expression": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "FloorNull", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Floor", + "annotation": [], + "signature": [], + "operand": { + "type": "As", + "strict": false, + "annotation": [], + "signature": [], + "operand": { + "type": "Null", + "annotation": [] + }, + "asTypeSpecifier": { + "type": "NamedTypeSpecifier", + "name": "{urn:hl7-org:elm-types:r1}Decimal", + "annotation": [] + } + } + } + }, + { + "name": "output", + "value": { + "type": "Null", + "annotation": [] + } + } + ] + } + }, + { + "name": "Floor1", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Floor", + "annotation": [], + "signature": [], + "operand": { + "type": "ToDecimal", + "annotation": [], + "signature": [], + "operand": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + } + } + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + } + } + ] + } + }, + { + "name": "Floor1D", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Floor", + "annotation": [], + "signature": [], + "operand": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "1.0", + "annotation": [] + } + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + } + } + ] + } + }, + { + "name": "Floor1D1", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Floor", + "annotation": [], + "signature": [], + "operand": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "1.1", + "annotation": [] + } + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + } + } + ] + } + }, + { + "name": "FloorNegD1", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Floor", + "annotation": [], + "signature": [], + "operand": { + "type": "Negate", + "annotation": [], + "signature": [], + "operand": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "0.1", + "annotation": [] + } + } + } + }, + { + "name": "output", + "value": { + "type": "Negate", + "annotation": [], + "signature": [], + "operand": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + } + } + } + ] + } + }, + { + "name": "FloorNeg1", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Floor", + "annotation": [], + "signature": [], + "operand": { + "type": "Negate", + "annotation": [], + "signature": [], + "operand": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "1.0", + "annotation": [] + } + } + } + }, + { + "name": "output", + "value": { + "type": "Negate", + "annotation": [], + "signature": [], + "operand": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + } + } + } + ] + } + }, + { + "name": "FloorNeg1D1", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Floor", + "annotation": [], + "signature": [], + "operand": { + "type": "Negate", + "annotation": [], + "signature": [], + "operand": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "1.1", + "annotation": [] + } + } + } + }, + { + "name": "output", + "value": { + "type": "Negate", + "annotation": [], + "signature": [], + "operand": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2", + "annotation": [] + } + } + } + ] + } + }, + { + "name": "Floor2I", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Floor", + "annotation": [], + "signature": [], + "operand": { + "type": "ToDecimal", + "annotation": [], + "signature": [], + "operand": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2", + "annotation": [] + } + } + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2", + "annotation": [] + } + } + ] + } + } + ] + } + }, + { + "name": "Exp", + "context": "Patient", + "accessLevel": "Public", + "annotation": [], + "expression": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "ExpNull", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Exp", + "annotation": [], + "signature": [], + "operand": { + "type": "As", + "strict": false, + "annotation": [], + "signature": [], + "operand": { + "type": "Null", + "annotation": [] + }, + "asTypeSpecifier": { + "type": "NamedTypeSpecifier", + "name": "{urn:hl7-org:elm-types:r1}Decimal", + "annotation": [] + } + } + } + }, + { + "name": "output", + "value": { + "type": "Null", + "annotation": [] + } + } + ] + } + }, + { + "name": "Exp0", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Exp", + "annotation": [], + "signature": [], + "operand": { + "type": "ToDecimal", + "annotation": [], + "signature": [], + "operand": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + } + } + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "1.0", + "annotation": [] + } + } + ] + } + }, + { + "name": "ExpNeg0", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Exp", + "annotation": [], + "signature": [], + "operand": { + "type": "ToDecimal", + "annotation": [], + "signature": [], + "operand": { + "type": "Negate", + "annotation": [], + "signature": [], + "operand": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + } + } + } + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "1.0", + "annotation": [] + } + } + ] + } + }, + { + "name": "Exp1", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Round", + "annotation": [], + "signature": [], + "operand": { + "type": "Exp", + "annotation": [], + "signature": [], + "operand": { + "type": "ToDecimal", + "annotation": [], + "signature": [], + "operand": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + } + } + }, + "precision": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "8", + "annotation": [] + } + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "2.71828183", + "annotation": [] + } + } + ] + } + }, + { + "name": "Exp1L", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Round", + "annotation": [], + "signature": [], + "operand": { + "type": "Exp", + "annotation": [], + "signature": [], + "operand": { + "type": "ToDecimal", + "annotation": [], + "signature": [], + "operand": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Long", + "value": "1", + "annotation": [] + } + } + }, + "precision": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "8", + "annotation": [] + } + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "2.71828183", + "annotation": [] + } + } + ] + } + }, + { + "name": "ExpNeg1", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Round", + "annotation": [], + "signature": [], + "operand": { + "type": "Exp", + "annotation": [], + "signature": [], + "operand": { + "type": "ToDecimal", + "annotation": [], + "signature": [], + "operand": { + "type": "Negate", + "annotation": [], + "signature": [], + "operand": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + } + } + } + }, + "precision": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "8", + "annotation": [] + } + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "0.36787944", + "annotation": [] + } + } + ] + } + }, + { + "name": "Exp1000", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Exp", + "annotation": [], + "signature": [], + "operand": { + "type": "ToDecimal", + "annotation": [], + "signature": [], + "operand": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1000", + "annotation": [] + } + } + } + }, + { + "name": "invalid", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "true", + "annotation": [] + } + } + ] + } + }, + { + "name": "Exp1000D", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Exp", + "annotation": [], + "signature": [], + "operand": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "1000.0", + "annotation": [] + } + } + }, + { + "name": "invalid", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "true", + "annotation": [] + } + } + ] + } + } + ] + } + }, + { + "name": "HighBoundary", + "context": "Patient", + "accessLevel": "Public", + "annotation": [], + "expression": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "HighBoundaryDecimal", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "skipped", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}String", + "value": "HighBoundary not implemented", + "annotation": [] + } + } + ] + } + }, + { + "name": "HighBoundaryDateMonth", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "skipped", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}String", + "value": "HighBoundary not implemented", + "annotation": [] + } + } + ] + } + }, + { + "name": "HighBoundaryDateTimeMillisecond", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "skipped", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}String", + "value": "HighBoundary not implemented", + "annotation": [] + } + } + ] + } + }, + { + "name": "HighBoundaryTimeMillisecond", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "skipped", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}String", + "value": "HighBoundary not implemented", + "annotation": [] + } + } + ] + } + } + ] + } + }, + { + "name": "Log", + "context": "Patient", + "accessLevel": "Public", + "annotation": [], + "expression": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "LogNullNull", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Log", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "As", + "asType": "{urn:hl7-org:elm-types:r1}Decimal", + "annotation": [], + "signature": [], + "operand": { + "type": "Null", + "annotation": [] + } + }, + { + "type": "As", + "asType": "{urn:hl7-org:elm-types:r1}Decimal", + "annotation": [], + "signature": [], + "operand": { + "type": "Null", + "annotation": [] + } + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Null", + "annotation": [] + } + } + ] + } + }, + { + "name": "Log1BaseNull", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Log", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "ToDecimal", + "annotation": [], + "signature": [], + "operand": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + } + }, + { + "type": "As", + "asType": "{urn:hl7-org:elm-types:r1}Decimal", + "annotation": [], + "signature": [], + "operand": { + "type": "Null", + "annotation": [] + } + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Null", + "annotation": [] + } + } + ] + } + }, + { + "name": "Log1Base1", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Log", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "ToDecimal", + "annotation": [], + "signature": [], + "operand": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + } + }, + { + "type": "ToDecimal", + "annotation": [], + "signature": [], + "operand": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + } + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Null", + "annotation": [] + } + } + ] + } + }, + { + "name": "Log2Base1", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Log", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "ToDecimal", + "annotation": [], + "signature": [], + "operand": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2", + "annotation": [] + } + }, + { + "type": "ToDecimal", + "annotation": [], + "signature": [], + "operand": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + } + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Null", + "annotation": [] + } + } + ] + } + }, + { + "name": "Log1Base2", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Log", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "ToDecimal", + "annotation": [], + "signature": [], + "operand": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + } + }, + { + "type": "ToDecimal", + "annotation": [], + "signature": [], + "operand": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2", + "annotation": [] + } + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "0.0", + "annotation": [] + } + } + ] + } + }, + { + "name": "Log1Base100", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Log", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "ToDecimal", + "annotation": [], + "signature": [], + "operand": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + } + }, + { + "type": "ToDecimal", + "annotation": [], + "signature": [], + "operand": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "100", + "annotation": [] + } + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "0.0", + "annotation": [] + } + } + ] + } + }, + { + "name": "Log1Base100L", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Log", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "ToDecimal", + "annotation": [], + "signature": [], + "operand": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Long", + "value": "1", + "annotation": [] + } + }, + { + "type": "ToDecimal", + "annotation": [], + "signature": [], + "operand": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Long", + "value": "100", + "annotation": [] + } + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "0.0", + "annotation": [] + } + } + ] + } + }, + { + "name": "Log16Base2", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Log", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "ToDecimal", + "annotation": [], + "signature": [], + "operand": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "16", + "annotation": [] + } + }, + { + "type": "ToDecimal", + "annotation": [], + "signature": [], + "operand": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2", + "annotation": [] + } + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "4.0", + "annotation": [] + } + } + ] + } + }, + { + "name": "LogD125Base2", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Log", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "0.125", + "annotation": [] + }, + { + "type": "ToDecimal", + "annotation": [], + "signature": [], + "operand": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2", + "annotation": [] + } + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Negate", + "annotation": [], + "signature": [], + "operand": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "3.0", + "annotation": [] + } + } + } + ] + } + } + ] + } + }, + { + "name": "LowBoundary", + "context": "Patient", + "accessLevel": "Public", + "annotation": [], + "expression": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "LowBoundaryDecimal", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "skipped", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}String", + "value": "LowBoundary not implemented", + "annotation": [] + } + } + ] + } + }, + { + "name": "LowBoundaryDateMonth", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "skipped", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}String", + "value": "LowBoundary not implemented", + "annotation": [] + } + } + ] + } + }, + { + "name": "LowBoundaryDateTimeMillisecond", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "skipped", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}String", + "value": "LowBoundary not implemented", + "annotation": [] + } + } + ] + } + }, + { + "name": "LowBoundaryTimeMillisecond", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "skipped", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}String", + "value": "LowBoundary not implemented", + "annotation": [] + } + } + ] + } + } + ] + } + }, + { + "name": "Ln", + "context": "Patient", + "accessLevel": "Public", + "annotation": [], + "expression": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "LnNull", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Ln", + "annotation": [], + "signature": [], + "operand": { + "type": "As", + "asType": "{urn:hl7-org:elm-types:r1}Decimal", + "annotation": [], + "signature": [], + "operand": { + "type": "Null", + "annotation": [] + } + } + } + }, + { + "name": "output", + "value": { + "type": "Null", + "annotation": [] + } + } + ] + } + }, + { + "name": "Ln0", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Ln", + "annotation": [], + "signature": [], + "operand": { + "type": "ToDecimal", + "annotation": [], + "signature": [], + "operand": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + } + } + } + }, + { + "name": "invalid", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "true", + "annotation": [] + } + } + ] + } + }, + { + "name": "LnNeg0", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Ln", + "annotation": [], + "signature": [], + "operand": { + "type": "ToDecimal", + "annotation": [], + "signature": [], + "operand": { + "type": "Negate", + "annotation": [], + "signature": [], + "operand": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + } + } + } + } + }, + { + "name": "invalid", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "true", + "annotation": [] + } + } + ] + } + }, + { + "name": "Ln1", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Ln", + "annotation": [], + "signature": [], + "operand": { + "type": "ToDecimal", + "annotation": [], + "signature": [], + "operand": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + } + } + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "0.0", + "annotation": [] + } + } + ] + } + }, + { + "name": "Ln1L", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Ln", + "annotation": [], + "signature": [], + "operand": { + "type": "ToDecimal", + "annotation": [], + "signature": [], + "operand": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Long", + "value": "1", + "annotation": [] + } + } + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "0.0", + "annotation": [] + } + } + ] + } + }, + { + "name": "LnNeg1", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Ln", + "annotation": [], + "signature": [], + "operand": { + "type": "ToDecimal", + "annotation": [], + "signature": [], + "operand": { + "type": "Negate", + "annotation": [], + "signature": [], + "operand": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + } + } + } + } + }, + { + "name": "output", + "value": { + "type": "Null", + "annotation": [] + } + } + ] + } + }, + { + "name": "Ln1000", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Round", + "annotation": [], + "signature": [], + "operand": { + "type": "Ln", + "annotation": [], + "signature": [], + "operand": { + "type": "ToDecimal", + "annotation": [], + "signature": [], + "operand": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1000", + "annotation": [] + } + } + }, + "precision": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "8", + "annotation": [] + } + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "6.90775528", + "annotation": [] + } + } + ] + } + }, + { + "name": "Ln1000D", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Round", + "annotation": [], + "signature": [], + "operand": { + "type": "Ln", + "annotation": [], + "signature": [], + "operand": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "1000.0", + "annotation": [] + } + }, + "precision": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "8", + "annotation": [] + } + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "6.90775528", + "annotation": [] + } + } + ] + } + } + ] + } + }, + { + "name": "MinValue", + "context": "Patient", + "accessLevel": "Public", + "annotation": [], + "expression": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "IntegerMinValue", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "MinValue", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "annotation": [] + } + }, + { + "name": "output", + "value": { + "type": "Negate", + "annotation": [], + "signature": [], + "operand": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2147483648", + "annotation": [] + } + } + } + ] + } + }, + { + "name": "LongMinValue", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "skipped", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}String", + "value": "Long not implemented", + "annotation": [] + } + } + ] + } + }, + { + "name": "DecimalMinValue", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "MinValue", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "annotation": [] + } + }, + { + "name": "output", + "value": { + "type": "Negate", + "annotation": [], + "signature": [], + "operand": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "99999999999999999999.99999999", + "annotation": [] + } + } + } + ] + } + }, + { + "name": "DateTimeMinValue", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "MinValue", + "valueType": "{urn:hl7-org:elm-types:r1}DateTime", + "annotation": [] + } + }, + { + "name": "output", + "value": { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + }, + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + "timezoneOffset": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "0.0", + "annotation": [] + } + } + } + ] + } + }, + { + "name": "DateMinValue", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "MinValue", + "valueType": "{urn:hl7-org:elm-types:r1}Date", + "annotation": [] + } + }, + { + "name": "output", + "value": { + "type": "Date", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + } + } + } + ] + } + }, + { + "name": "TimeMinValue", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "MinValue", + "valueType": "{urn:hl7-org:elm-types:r1}Time", + "annotation": [] + } + }, + { + "name": "output", + "value": { + "type": "Time", + "annotation": [], + "signature": [], + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + } + } + } + ] + } + }, + { + "name": "BooleanMinValue", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "MinValue", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "annotation": [] + } + }, + { + "name": "invalid", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "true", + "annotation": [] + } + } + ] + } + } + ] + } + }, + { + "name": "MaxValue", + "context": "Patient", + "accessLevel": "Public", + "annotation": [], + "expression": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "IntegerMaxValue", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "MaxValue", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "annotation": [] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2147483647", + "annotation": [] + } + } + ] + } + }, + { + "name": "LongMaxValue", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "skipped", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}String", + "value": "Long not implemented", + "annotation": [] + } + } + ] + } + }, + { + "name": "DecimalMaxValue", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "MaxValue", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "annotation": [] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "99999999999999999999.99999999", + "annotation": [] + } + } + ] + } + }, + { + "name": "DateTimeMaxValue", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "MaxValue", + "valueType": "{urn:hl7-org:elm-types:r1}DateTime", + "annotation": [] + } + }, + { + "name": "output", + "value": { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "9999", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "12", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "31", + "annotation": [] + }, + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "23", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "999", + "annotation": [] + }, + "timezoneOffset": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "0.0", + "annotation": [] + } + } + } + ] + } + }, + { + "name": "DateMaxValue", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "MaxValue", + "valueType": "{urn:hl7-org:elm-types:r1}Date", + "annotation": [] + } + }, + { + "name": "output", + "value": { + "type": "Date", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "9999", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "12", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "31", + "annotation": [] + } + } + } + ] + } + }, + { + "name": "TimeMaxValue", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "MaxValue", + "valueType": "{urn:hl7-org:elm-types:r1}Time", + "annotation": [] + } + }, + { + "name": "output", + "value": { + "type": "Time", + "annotation": [], + "signature": [], + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "23", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "999", + "annotation": [] + } + } + } + ] + } + }, + { + "name": "BooleanMaxValue", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "MaxValue", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "annotation": [] + } + }, + { + "name": "invalid", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "true", + "annotation": [] + } + } + ] + } + } + ] + } + }, + { + "name": "Modulo", + "context": "Patient", + "accessLevel": "Public", + "annotation": [], + "expression": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "ModuloNull", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Modulo", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + }, + { + "type": "As", + "asType": "{urn:hl7-org:elm-types:r1}Integer", + "annotation": [], + "signature": [], + "operand": { + "type": "Null", + "annotation": [] + } + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Null", + "annotation": [] + } + } + ] + } + }, + { + "name": "Modulo0By0", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Modulo", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Null", + "annotation": [] + } + } + ] + } + }, + { + "name": "Modulo4By2", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Modulo", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "4", + "annotation": [] + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2", + "annotation": [] + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + } + } + ] + } + }, + { + "name": "Modulo4LBy2L", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "skipped", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}String", + "value": "Long not implemented", + "annotation": [] + } + } + ] + } + }, + { + "name": "Modulo4DBy2D", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Modulo", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "4.0", + "annotation": [] + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "2.0", + "annotation": [] + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "0.0", + "annotation": [] + } + } + ] + } + }, + { + "name": "Modulo10By3", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Modulo", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "3", + "annotation": [] + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + } + } + ] + } + }, + { + "name": "Modulo10DBy3D", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Modulo", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "10.0", + "annotation": [] + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "3.0", + "annotation": [] + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "1.0", + "annotation": [] + } + } + ] + } + }, + { + "name": "Modulo10IBy3D", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Modulo", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "ToDecimal", + "annotation": [], + "signature": [], + "operand": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + } + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "3.0", + "annotation": [] + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "1.0", + "annotation": [] + } + } + ] + } + }, + { + "name": "ModuloDResult", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Modulo", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "3.5", + "annotation": [] + }, + { + "type": "ToDecimal", + "annotation": [], + "signature": [], + "operand": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "3", + "annotation": [] + } + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "0.5", + "annotation": [] + } + } + ] + } + }, + { + "name": "ModuloQuantity", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "skipped", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}String", + "value": "Modulo not implemented for Quantity", + "annotation": [] + } + } + ] + } + }, + { + "name": "Modulo10By3Quantity", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "skipped", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}String", + "value": "Modulo not implemented for Quantity", + "annotation": [] + } + } + ] + } + }, + { + "name": "Modulo10By0Quantity", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Modulo", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Quantity", + "value": 10, + "unit": "g", + "annotation": [] + }, + { + "type": "Quantity", + "value": 0, + "unit": "g", + "annotation": [] + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Null", + "annotation": [] + } + } + ] + } + } + ] + } + }, + { + "name": "Multiply", + "context": "Patient", + "accessLevel": "Public", + "annotation": [], + "expression": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "MultiplyNull", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Multiply", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + }, + { + "type": "As", + "asType": "{urn:hl7-org:elm-types:r1}Integer", + "annotation": [], + "signature": [], + "operand": { + "type": "Null", + "annotation": [] + } + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Null", + "annotation": [] + } + } + ] + } + }, + { + "name": "Multiply1By1", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Multiply", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + } + } + ] + } + }, + { + "name": "Multiply2LBy3L", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "skipped", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}String", + "value": "Long not implemented", + "annotation": [] + } + } + ] + } + }, + { + "name": "Multiply1DBy2D", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Multiply", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "1.0", + "annotation": [] + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "2.0", + "annotation": [] + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "2.0", + "annotation": [] + } + } + ] + } + }, + { + "name": "Multiply1By1L", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "skipped", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}String", + "value": "Long not implemented", + "annotation": [] + } + } + ] + } + }, + { + "name": "Multiply1IBy2D", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Multiply", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "ToDecimal", + "annotation": [], + "signature": [], + "operand": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + } + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "2.0", + "annotation": [] + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "2.0", + "annotation": [] + } + } + ] + } + }, + { + "name": "Multiply1CMBy2CM", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Multiply", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Quantity", + "value": 1, + "unit": "cm", + "annotation": [] + }, + { + "type": "Quantity", + "value": 2, + "unit": "cm", + "annotation": [] + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Quantity", + "value": 2, + "unit": "cm2", + "annotation": [] + } + } + ] + } + } + ] + } + }, + { + "name": "Negate", + "context": "Patient", + "accessLevel": "Public", + "annotation": [], + "expression": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "NegateNull", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Negate", + "annotation": [], + "signature": [], + "operand": { + "type": "As", + "strict": false, + "annotation": [], + "signature": [], + "operand": { + "type": "Null", + "annotation": [] + }, + "asTypeSpecifier": { + "type": "NamedTypeSpecifier", + "name": "{urn:hl7-org:elm-types:r1}Integer", + "annotation": [] + } + } + } + }, + { + "name": "output", + "value": { + "type": "Null", + "annotation": [] + } + } + ] + } + }, + { + "name": "Negate0", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Negate", + "annotation": [], + "signature": [], + "operand": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + } + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + } + } + ] + } + }, + { + "name": "NegateNeg0", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Negate", + "annotation": [], + "signature": [], + "operand": { + "type": "Negate", + "annotation": [], + "signature": [], + "operand": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + } + } + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + } + } + ] + } + }, + { + "name": "Negate1", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Negate", + "annotation": [], + "signature": [], + "operand": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + } + } + }, + { + "name": "output", + "value": { + "type": "Negate", + "annotation": [], + "signature": [], + "operand": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + } + } + } + ] + } + }, + { + "name": "Negate1L", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Negate", + "annotation": [], + "signature": [], + "operand": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Long", + "value": "1", + "annotation": [] + } + } + }, + { + "name": "output", + "value": { + "type": "Negate", + "annotation": [], + "signature": [], + "operand": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Long", + "value": "1", + "annotation": [] + } + } + } + ] + } + }, + { + "name": "NegateMaxLong", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Negate", + "annotation": [], + "signature": [], + "operand": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Long", + "value": "9223372036854775807", + "annotation": [] + } + } + }, + { + "name": "output", + "value": { + "type": "Negate", + "annotation": [], + "signature": [], + "operand": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Long", + "value": "9223372036854775807", + "annotation": [] + } + } + } + ] + } + }, + { + "name": "NegateNeg1", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Negate", + "annotation": [], + "signature": [], + "operand": { + "type": "Negate", + "annotation": [], + "signature": [], + "operand": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + } + } + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + } + } + ] + } + }, + { + "name": "NegateNeg1L", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "skipped", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}String", + "value": "Long not implemented", + "annotation": [] + } + } + ] + } + }, + { + "name": "Negate0D", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Negate", + "annotation": [], + "signature": [], + "operand": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "0.0", + "annotation": [] + } + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "0.0", + "annotation": [] + } + } + ] + } + }, + { + "name": "NegateNeg0D", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Negate", + "annotation": [], + "signature": [], + "operand": { + "type": "Negate", + "annotation": [], + "signature": [], + "operand": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "0.0", + "annotation": [] + } + } + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "0.0", + "annotation": [] + } + } + ] + } + }, + { + "name": "Negate1D", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Negate", + "annotation": [], + "signature": [], + "operand": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "1.0", + "annotation": [] + } + } + }, + { + "name": "output", + "value": { + "type": "Negate", + "annotation": [], + "signature": [], + "operand": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "1.0", + "annotation": [] + } + } + } + ] + } + }, + { + "name": "NegateNeg1D", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Negate", + "annotation": [], + "signature": [], + "operand": { + "type": "Negate", + "annotation": [], + "signature": [], + "operand": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "1.0", + "annotation": [] + } + } + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "1.0", + "annotation": [] + } + } + ] + } + }, + { + "name": "Negate1CM", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Negate", + "annotation": [], + "signature": [], + "operand": { + "type": "Quantity", + "value": 1, + "unit": "cm", + "annotation": [] + } + } + }, + { + "name": "output", + "value": { + "type": "Negate", + "annotation": [], + "signature": [], + "operand": { + "type": "Quantity", + "value": 1, + "unit": "cm", + "annotation": [] + } + } + } + ] + } + } + ] + } + }, + { + "name": "Precision", + "context": "Patient", + "accessLevel": "Public", + "annotation": [], + "expression": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "PrecisionDecimal", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "skipped", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}String", + "value": "Precision for Decimal not implemented", + "annotation": [] + } + } + ] + } + }, + { + "name": "PrecisionYear", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Precision", + "annotation": [], + "signature": [], + "operand": { + "type": "Date", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2014", + "annotation": [] + } + } + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "4", + "annotation": [] + } + } + ] + } + }, + { + "name": "PrecisionDateTimeMilliseconds", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Precision", + "annotation": [], + "signature": [], + "operand": { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2014", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "5", + "annotation": [] + }, + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "30", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + } + } + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "17", + "annotation": [] + } + } + ] + } + }, + { + "name": "PrecisionTimeMinutes", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Precision", + "annotation": [], + "signature": [], + "operand": { + "type": "Time", + "annotation": [], + "signature": [], + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "30", + "annotation": [] + } + } + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "4", + "annotation": [] + } + } + ] + } + }, + { + "name": "PrecisionTimeMilliseconds", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Precision", + "annotation": [], + "signature": [], + "operand": { + "type": "Time", + "annotation": [], + "signature": [], + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "30", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + } + } + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "9", + "annotation": [] + } + } + ] + } + } + ] + } + }, + { + "name": "Predecessor", + "context": "Patient", + "accessLevel": "Public", + "annotation": [], + "expression": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "PredecessorNull", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Predecessor", + "annotation": [], + "signature": [], + "operand": { + "type": "As", + "strict": false, + "annotation": [], + "signature": [], + "operand": { + "type": "Null", + "annotation": [] + }, + "asTypeSpecifier": { + "type": "NamedTypeSpecifier", + "name": "{urn:hl7-org:elm-types:r1}Integer", + "annotation": [] + } + } + } + }, + { + "name": "output", + "value": { + "type": "Null", + "annotation": [] + } + } + ] + } + }, + { + "name": "PredecessorOf0", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Predecessor", + "annotation": [], + "signature": [], + "operand": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + } + } + }, + { + "name": "output", + "value": { + "type": "Negate", + "annotation": [], + "signature": [], + "operand": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + } + } + } + ] + } + }, + { + "name": "PredecessorOf1", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Predecessor", + "annotation": [], + "signature": [], + "operand": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + } + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + } + } + ] + } + }, + { + "name": "PredecessorOf1L", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "skipped", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}String", + "value": "Long not implemented", + "annotation": [] + } + } + ] + } + }, + { + "name": "PredecessorOf1D", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "skipped", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}String", + "value": "Wrong answer (doesn't recognize 1.0 as decimal)", + "annotation": [] + } + } + ] + } + }, + { + "name": "PredecessorOf101D", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Predecessor", + "annotation": [], + "signature": [], + "operand": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "1.01", + "annotation": [] + } + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "1.00999999", + "annotation": [] + } + } + ] + } + }, + { + "name": "PredecessorOf1QCM", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "skipped", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}String", + "value": "Wrong answer (doesn't recognize 1.0 as decimal)", + "annotation": [] + } + } + ] + } + }, + { + "name": "PredecessorOfJan12000", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Predecessor", + "annotation": [], + "signature": [], + "operand": { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2000", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + } + } + } + }, + { + "name": "output", + "value": { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1999", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "12", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "31", + "annotation": [] + } + } + } + ] + } + }, + { + "name": "PredecessorOfNoon", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Predecessor", + "annotation": [], + "signature": [], + "operand": { + "type": "Time", + "annotation": [], + "signature": [], + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "12", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + } + } + } + }, + { + "name": "output", + "value": { + "type": "Time", + "annotation": [], + "signature": [], + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "11", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "999", + "annotation": [] + } + } + } + ] + } + }, + { + "name": "PredecessorUnderflowDt", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Predecessor", + "annotation": [], + "signature": [], + "operand": { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0001", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + }, + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + } + } + } + }, + { + "name": "invalid", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "true", + "annotation": [] + } + } + ] + } + }, + { + "name": "PredecessorUnderflowT", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Predecessor", + "annotation": [], + "signature": [], + "operand": { + "type": "Time", + "annotation": [], + "signature": [], + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + } + } + } + }, + { + "name": "invalid", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "true", + "annotation": [] + } + } + ] + } + } + ] + } + }, + { + "name": "Power", + "context": "Patient", + "accessLevel": "Public", + "annotation": [], + "expression": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "PowerNullToNull", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Power", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "As", + "strict": false, + "annotation": [], + "signature": [], + "operand": { + "type": "Null", + "annotation": [] + }, + "asTypeSpecifier": { + "type": "NamedTypeSpecifier", + "name": "{urn:hl7-org:elm-types:r1}Integer", + "annotation": [] + } + }, + { + "type": "As", + "strict": false, + "annotation": [], + "signature": [], + "operand": { + "type": "Null", + "annotation": [] + }, + "asTypeSpecifier": { + "type": "NamedTypeSpecifier", + "name": "{urn:hl7-org:elm-types:r1}Integer", + "annotation": [] + } + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Null", + "annotation": [] + } + } + ] + } + }, + { + "name": "Power0To0", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Power", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + } + } + ] + } + }, + { + "name": "Power2To2", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Power", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2", + "annotation": [] + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2", + "annotation": [] + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "4", + "annotation": [] + } + } + ] + } + }, + { + "name": "PowerNeg2To2", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Power", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Negate", + "annotation": [], + "signature": [], + "operand": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2", + "annotation": [] + } + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2", + "annotation": [] + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "4", + "annotation": [] + } + } + ] + } + }, + { + "name": "Power2ToNeg2", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Power", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2", + "annotation": [] + }, + { + "type": "Negate", + "annotation": [], + "signature": [], + "operand": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2", + "annotation": [] + } + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "0.25", + "annotation": [] + } + } + ] + } + }, + { + "name": "Power2LTo2L", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "skipped", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}String", + "value": "Long not implemented", + "annotation": [] + } + } + ] + } + }, + { + "name": "Power2DTo2D", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Power", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "2.0", + "annotation": [] + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "2.0", + "annotation": [] + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "4.0", + "annotation": [] + } + } + ] + } + }, + { + "name": "PowerNeg2DTo2D", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Power", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Negate", + "annotation": [], + "signature": [], + "operand": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "2.0", + "annotation": [] + } + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "2.0", + "annotation": [] + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "4.0", + "annotation": [] + } + } + ] + } + }, + { + "name": "Power2DToNeg2D", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Power", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "2.0", + "annotation": [] + }, + { + "type": "Negate", + "annotation": [], + "signature": [], + "operand": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "2.0", + "annotation": [] + } + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "0.25", + "annotation": [] + } + } + ] + } + }, + { + "name": "Power2DTo2", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Power", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "2.0", + "annotation": [] + }, + { + "type": "ToDecimal", + "annotation": [], + "signature": [], + "operand": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2", + "annotation": [] + } + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "4.0", + "annotation": [] + } + } + ] + } + }, + { + "name": "Power2To2D", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Power", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "ToDecimal", + "annotation": [], + "signature": [], + "operand": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2", + "annotation": [] + } + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "2.0", + "annotation": [] + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "4.0", + "annotation": [] + } + } + ] + } + }, + { + "name": "Power2To4", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Power", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2", + "annotation": [] + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "4", + "annotation": [] + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "16", + "annotation": [] + } + } + ] + } + }, + { + "name": "Power2LTo3L", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "skipped", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}String", + "value": "Long not implemented", + "annotation": [] + } + } + ] + } + }, + { + "name": "Power2DTo4D", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Power", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "2.0", + "annotation": [] + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "4.0", + "annotation": [] + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "16.0", + "annotation": [] + } + } + ] + } + }, + { + "name": "Power2DToNeg2DEquivalence", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Equivalent", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "ToDecimal", + "annotation": [], + "signature": [], + "operand": { + "type": "Power", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2", + "annotation": [] + }, + { + "type": "Negate", + "annotation": [], + "signature": [], + "operand": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2", + "annotation": [] + } + } + ] + } + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "0.25", + "annotation": [] + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "true", + "annotation": [] + } + } + ] + } + } + ] + } + }, + { + "name": "Round", + "context": "Patient", + "accessLevel": "Public", + "annotation": [], + "expression": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "RoundNull", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Round", + "annotation": [], + "signature": [], + "operand": { + "type": "As", + "strict": false, + "annotation": [], + "signature": [], + "operand": { + "type": "Null", + "annotation": [] + }, + "asTypeSpecifier": { + "type": "NamedTypeSpecifier", + "name": "{urn:hl7-org:elm-types:r1}Decimal", + "annotation": [] + } + } + } + }, + { + "name": "output", + "value": { + "type": "Null", + "annotation": [] + } + } + ] + } + }, + { + "name": "Round1", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Round", + "annotation": [], + "signature": [], + "operand": { + "type": "ToDecimal", + "annotation": [], + "signature": [], + "operand": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + } + } + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "1.0", + "annotation": [] + } + } + ] + } + }, + { + "name": "Round0D5", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Round", + "annotation": [], + "signature": [], + "operand": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "0.5", + "annotation": [] + } + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "1.0", + "annotation": [] + } + } + ] + } + }, + { + "name": "Round0D4", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Round", + "annotation": [], + "signature": [], + "operand": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "0.4", + "annotation": [] + } + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "0.0", + "annotation": [] + } + } + ] + } + }, + { + "name": "Round3D14159", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Round", + "annotation": [], + "signature": [], + "operand": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "3.14159", + "annotation": [] + }, + "precision": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2", + "annotation": [] + } + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "3.14", + "annotation": [] + } + } + ] + } + }, + { + "name": "RoundNeg0D5", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Round", + "annotation": [], + "signature": [], + "operand": { + "type": "Negate", + "annotation": [], + "signature": [], + "operand": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "0.5", + "annotation": [] + } + } + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "0.0", + "annotation": [] + } + } + ] + } + }, + { + "name": "RoundNeg0D4", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Round", + "annotation": [], + "signature": [], + "operand": { + "type": "Negate", + "annotation": [], + "signature": [], + "operand": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "0.4", + "annotation": [] + } + } + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "0.0", + "annotation": [] + } + } + ] + } + }, + { + "name": "RoundNeg0D6", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Round", + "annotation": [], + "signature": [], + "operand": { + "type": "Negate", + "annotation": [], + "signature": [], + "operand": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "0.6", + "annotation": [] + } + } + } + }, + { + "name": "output", + "value": { + "type": "Negate", + "annotation": [], + "signature": [], + "operand": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "1.0", + "annotation": [] + } + } + } + ] + } + }, + { + "name": "RoundNeg1D1", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Round", + "annotation": [], + "signature": [], + "operand": { + "type": "Negate", + "annotation": [], + "signature": [], + "operand": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "1.1", + "annotation": [] + } + } + } + }, + { + "name": "output", + "value": { + "type": "Negate", + "annotation": [], + "signature": [], + "operand": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "1.0", + "annotation": [] + } + } + } + ] + } + }, + { + "name": "RoundNeg1D5", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Round", + "annotation": [], + "signature": [], + "operand": { + "type": "Negate", + "annotation": [], + "signature": [], + "operand": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "1.5", + "annotation": [] + } + } + } + }, + { + "name": "output", + "value": { + "type": "Negate", + "annotation": [], + "signature": [], + "operand": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "1.0", + "annotation": [] + } + } + } + ] + } + }, + { + "name": "RoundNeg1D6", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Round", + "annotation": [], + "signature": [], + "operand": { + "type": "Negate", + "annotation": [], + "signature": [], + "operand": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "1.6", + "annotation": [] + } + } + } + }, + { + "name": "output", + "value": { + "type": "Negate", + "annotation": [], + "signature": [], + "operand": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "2.0", + "annotation": [] + } + } + } + ] + } + } + ] + } + }, + { + "name": "Subtract", + "context": "Patient", + "accessLevel": "Public", + "annotation": [], + "expression": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "SubtractNull", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Subtract", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + }, + { + "type": "As", + "asType": "{urn:hl7-org:elm-types:r1}Integer", + "annotation": [], + "signature": [], + "operand": { + "type": "Null", + "annotation": [] + } + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Null", + "annotation": [] + } + } + ] + } + }, + { + "name": "Subtract1And1", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Subtract", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + } + } + ] + } + }, + { + "name": "Subtract1LAnd1L", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "skipped", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}String", + "value": "Long not implemented", + "annotation": [] + } + } + ] + } + }, + { + "name": "Subtract1DAnd2D", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Subtract", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "1.0", + "annotation": [] + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "2.0", + "annotation": [] + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Negate", + "annotation": [], + "signature": [], + "operand": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "1.0", + "annotation": [] + } + } + } + ] + } + }, + { + "name": "Subtract1CMAnd2CM", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Subtract", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Quantity", + "value": 1, + "unit": "cm", + "annotation": [] + }, + { + "type": "Quantity", + "value": 2, + "unit": "cm", + "annotation": [] + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Negate", + "annotation": [], + "signature": [], + "operand": { + "type": "Quantity", + "value": 1, + "unit": "cm", + "annotation": [] + } + } + } + ] + } + }, + { + "name": "Subtract2And11D", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Subtract", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "ToDecimal", + "annotation": [], + "signature": [], + "operand": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2", + "annotation": [] + } + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "1.1", + "annotation": [] + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "0.9", + "annotation": [] + } + } + ] + } + } + ] + } + }, + { + "name": "Successor", + "context": "Patient", + "accessLevel": "Public", + "annotation": [], + "expression": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "SuccessorNull", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Successor", + "annotation": [], + "signature": [], + "operand": { + "type": "As", + "strict": false, + "annotation": [], + "signature": [], + "operand": { + "type": "Null", + "annotation": [] + }, + "asTypeSpecifier": { + "type": "NamedTypeSpecifier", + "name": "{urn:hl7-org:elm-types:r1}Integer", + "annotation": [] + } + } + } + }, + { + "name": "output", + "value": { + "type": "Null", + "annotation": [] + } + } + ] + } + }, + { + "name": "SuccessorOf0", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Successor", + "annotation": [], + "signature": [], + "operand": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + } + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + } + } + ] + } + }, + { + "name": "SuccessorOf1", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Successor", + "annotation": [], + "signature": [], + "operand": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + } + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2", + "annotation": [] + } + } + ] + } + }, + { + "name": "SuccessorOf1L", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "skipped", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}String", + "value": "Long not implemented", + "annotation": [] + } + } + ] + } + }, + { + "name": "SuccessorOf1D", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "skipped", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}String", + "value": "Wrong answer (doesn't recognize 1.0 as decimal)", + "annotation": [] + } + } + ] + } + }, + { + "name": "SuccessorOf101D", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Successor", + "annotation": [], + "signature": [], + "operand": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "1.01", + "annotation": [] + } + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "1.01000001", + "annotation": [] + } + } + ] + } + }, + { + "name": "SuccessorOfJan12000", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Successor", + "annotation": [], + "signature": [], + "operand": { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2000", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + } + } + } + }, + { + "name": "output", + "value": { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2000", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2", + "annotation": [] + } + } + } + ] + } + }, + { + "name": "SuccessorOfNoon", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Successor", + "annotation": [], + "signature": [], + "operand": { + "type": "Time", + "annotation": [], + "signature": [], + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "12", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + } + } + } + }, + { + "name": "output", + "value": { + "type": "Time", + "annotation": [], + "signature": [], + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "12", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + } + } + } + ] + } + }, + { + "name": "SuccessorOverflowDt", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Successor", + "annotation": [], + "signature": [], + "operand": { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "9999", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "12", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "31", + "annotation": [] + }, + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "23", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "999", + "annotation": [] + } + } + } + }, + { + "name": "invalid", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "true", + "annotation": [] + } + } + ] + } + }, + { + "name": "SuccessorOverflowT", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Successor", + "annotation": [], + "signature": [], + "operand": { + "type": "Time", + "annotation": [], + "signature": [], + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "23", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "999", + "annotation": [] + } + } + } + }, + { + "name": "invalid", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "true", + "annotation": [] + } + } + ] + } + } + ] + } + }, + { + "name": "Truncate", + "context": "Patient", + "accessLevel": "Public", + "annotation": [], + "expression": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "TruncateNull", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Truncate", + "annotation": [], + "signature": [], + "operand": { + "type": "As", + "strict": false, + "annotation": [], + "signature": [], + "operand": { + "type": "Null", + "annotation": [] + }, + "asTypeSpecifier": { + "type": "NamedTypeSpecifier", + "name": "{urn:hl7-org:elm-types:r1}Decimal", + "annotation": [] + } + } + } + }, + { + "name": "output", + "value": { + "type": "Null", + "annotation": [] + } + } + ] + } + }, + { + "name": "Truncate0", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Truncate", + "annotation": [], + "signature": [], + "operand": { + "type": "ToDecimal", + "annotation": [], + "signature": [], + "operand": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + } + } + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + } + } + ] + } + }, + { + "name": "Truncate0D0", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Truncate", + "annotation": [], + "signature": [], + "operand": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "0.0", + "annotation": [] + } + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + } + } + ] + } + }, + { + "name": "Truncate0D1", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Truncate", + "annotation": [], + "signature": [], + "operand": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "0.1", + "annotation": [] + } + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + } + } + ] + } + }, + { + "name": "Truncate1", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Truncate", + "annotation": [], + "signature": [], + "operand": { + "type": "ToDecimal", + "annotation": [], + "signature": [], + "operand": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + } + } + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + } + } + ] + } + }, + { + "name": "Truncate1D0", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Truncate", + "annotation": [], + "signature": [], + "operand": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "1.0", + "annotation": [] + } + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + } + } + ] + } + }, + { + "name": "Truncate1D1", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Truncate", + "annotation": [], + "signature": [], + "operand": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "1.1", + "annotation": [] + } + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + } + } + ] + } + }, + { + "name": "Truncate1D9", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Truncate", + "annotation": [], + "signature": [], + "operand": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "1.9", + "annotation": [] + } + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + } + } + ] + } + }, + { + "name": "TruncateNeg1", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Truncate", + "annotation": [], + "signature": [], + "operand": { + "type": "ToDecimal", + "annotation": [], + "signature": [], + "operand": { + "type": "Negate", + "annotation": [], + "signature": [], + "operand": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + } + } + } + } + }, + { + "name": "output", + "value": { + "type": "Negate", + "annotation": [], + "signature": [], + "operand": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + } + } + } + ] + } + }, + { + "name": "TruncateNeg1D0", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Truncate", + "annotation": [], + "signature": [], + "operand": { + "type": "Negate", + "annotation": [], + "signature": [], + "operand": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "1.0", + "annotation": [] + } + } + } + }, + { + "name": "output", + "value": { + "type": "Negate", + "annotation": [], + "signature": [], + "operand": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + } + } + } + ] + } + }, + { + "name": "TruncateNeg1D1", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Truncate", + "annotation": [], + "signature": [], + "operand": { + "type": "Negate", + "annotation": [], + "signature": [], + "operand": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "1.1", + "annotation": [] + } + } + } + }, + { + "name": "output", + "value": { + "type": "Negate", + "annotation": [], + "signature": [], + "operand": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + } + } + } + ] + } + }, + { + "name": "TruncateNeg1D9", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Truncate", + "annotation": [], + "signature": [], + "operand": { + "type": "Negate", + "annotation": [], + "signature": [], + "operand": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "1.9", + "annotation": [] + } + } + } + }, + { + "name": "output", + "value": { + "type": "Negate", + "annotation": [], + "signature": [], + "operand": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + } + } + } + ] + } + } + ] + } + }, + { + "name": "Truncated Divide", + "context": "Patient", + "accessLevel": "Public", + "annotation": [], + "expression": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "TruncatedDivideNull", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "TruncatedDivide", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "As", + "strict": false, + "annotation": [], + "signature": [], + "operand": { + "type": "Null", + "annotation": [] + }, + "asTypeSpecifier": { + "type": "NamedTypeSpecifier", + "name": "{urn:hl7-org:elm-types:r1}Integer", + "annotation": [] + } + }, + { + "type": "As", + "strict": false, + "annotation": [], + "signature": [], + "operand": { + "type": "Null", + "annotation": [] + }, + "asTypeSpecifier": { + "type": "NamedTypeSpecifier", + "name": "{urn:hl7-org:elm-types:r1}Integer", + "annotation": [] + } + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Null", + "annotation": [] + } + } + ] + } + }, + { + "name": "TruncatedDivide2By1", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "TruncatedDivide", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2", + "annotation": [] + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2", + "annotation": [] + } + } + ] + } + }, + { + "name": "TruncatedDivide2By0", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "TruncatedDivide", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2", + "annotation": [] + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Null", + "annotation": [] + } + } + ] + } + }, + { + "name": "TruncatedDivide10By3", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "TruncatedDivide", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "3", + "annotation": [] + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "3", + "annotation": [] + } + } + ] + } + }, + { + "name": "TruncatedDivide10LBy3L", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "skipped", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}String", + "value": "Long not implemented", + "annotation": [] + } + } + ] + } + }, + { + "name": "TruncatedDivide10LBy0L", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "TruncatedDivide", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Long", + "value": "10", + "annotation": [] + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Long", + "value": "0", + "annotation": [] + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Null", + "annotation": [] + } + } + ] + } + }, + { + "name": "TruncatedDivide10d1By3D1", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "TruncatedDivide", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "10.1", + "annotation": [] + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "3.1", + "annotation": [] + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "3.0", + "annotation": [] + } + } + ] + } + }, + { + "name": "TruncatedDivide10D1By0D", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "TruncatedDivide", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "10.1", + "annotation": [] + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "0.0", + "annotation": [] + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Null", + "annotation": [] + } + } + ] + } + }, + { + "name": "TruncatedDivideNeg2ByNeg1", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "TruncatedDivide", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Negate", + "annotation": [], + "signature": [], + "operand": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2", + "annotation": [] + } + }, + { + "type": "Negate", + "annotation": [], + "signature": [], + "operand": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + } + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2", + "annotation": [] + } + } + ] + } + }, + { + "name": "TruncatedDivideNeg10ByNeg3", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "TruncatedDivide", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Negate", + "annotation": [], + "signature": [], + "operand": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + } + }, + { + "type": "Negate", + "annotation": [], + "signature": [], + "operand": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "3", + "annotation": [] + } + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "3", + "annotation": [] + } + } + ] + } + }, + { + "name": "TruncatedDivideNeg10d1ByNeg3D1", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "TruncatedDivide", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Negate", + "annotation": [], + "signature": [], + "operand": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "10.1", + "annotation": [] + } + }, + { + "type": "Negate", + "annotation": [], + "signature": [], + "operand": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "3.1", + "annotation": [] + } + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "3.0", + "annotation": [] + } + } + ] + } + }, + { + "name": "TruncatedDivideNeg2By1", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "TruncatedDivide", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Negate", + "annotation": [], + "signature": [], + "operand": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2", + "annotation": [] + } + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Negate", + "annotation": [], + "signature": [], + "operand": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2", + "annotation": [] + } + } + } + ] + } + }, + { + "name": "TruncatedDivideNeg10By3", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "TruncatedDivide", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Negate", + "annotation": [], + "signature": [], + "operand": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + } + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "3", + "annotation": [] + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Negate", + "annotation": [], + "signature": [], + "operand": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "3", + "annotation": [] + } + } + } + ] + } + }, + { + "name": "TruncatedDivideNeg10d1By3D1", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "TruncatedDivide", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Negate", + "annotation": [], + "signature": [], + "operand": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "10.1", + "annotation": [] + } + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "3.1", + "annotation": [] + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Negate", + "annotation": [], + "signature": [], + "operand": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "3.0", + "annotation": [] + } + } + } + ] + } + }, + { + "name": "TruncatedDivide2ByNeg1", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "TruncatedDivide", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2", + "annotation": [] + }, + { + "type": "Negate", + "annotation": [], + "signature": [], + "operand": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + } + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Negate", + "annotation": [], + "signature": [], + "operand": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2", + "annotation": [] + } + } + } + ] + } + }, + { + "name": "TruncatedDivide10ByNeg3", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "TruncatedDivide", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + }, + { + "type": "Negate", + "annotation": [], + "signature": [], + "operand": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "3", + "annotation": [] + } + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Negate", + "annotation": [], + "signature": [], + "operand": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "3", + "annotation": [] + } + } + } + ] + } + }, + { + "name": "TruncatedDivide10d1ByNeg3D1", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "TruncatedDivide", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "10.1", + "annotation": [] + }, + { + "type": "Negate", + "annotation": [], + "signature": [], + "operand": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "3.1", + "annotation": [] + } + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Negate", + "annotation": [], + "signature": [], + "operand": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "3.0", + "annotation": [] + } + } + } + ] + } + }, + { + "name": "TruncatedDivide10By5D", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "TruncatedDivide", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "ToDecimal", + "annotation": [], + "signature": [], + "operand": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + } + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "5.0", + "annotation": [] + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "2.0", + "annotation": [] + } + } + ] + } + }, + { + "name": "TruncatedDivide10d1ByNeg3D1Quantity", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "skipped", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}String", + "value": "Truncated divide not implemented for Quantity", + "annotation": [] + } + } + ] + } + }, + { + "name": "TruncatedDivide10By5DQuantity", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "skipped", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}String", + "value": "Truncated divide not implemented for Quantity", + "annotation": [] + } + } + ] + } + }, + { + "name": "TruncatedDivide414By206DQuantity", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "skipped", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}String", + "value": "Truncated divide not implemented for Quantity", + "annotation": [] + } + } + ] + } + }, + { + "name": "TruncatedDivide10By0DQuantity", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "TruncatedDivide", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Quantity", + "value": 10, + "unit": "g", + "annotation": [] + }, + { + "type": "Quantity", + "value": 0, + "unit": "g", + "annotation": [] + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Null", + "annotation": [] + } + } + ] + } + } + ] + } + } + ] + } + } } - diff --git a/test/spec-tests/cql/CqlComparisonOperatorsTest.json b/test/spec-tests/cql/CqlComparisonOperatorsTest.json index d0075d01..9a586338 100644 --- a/test/spec-tests/cql/CqlComparisonOperatorsTest.json +++ b/test/spec-tests/cql/CqlComparisonOperatorsTest.json @@ -1,9972 +1,11539 @@ { - "library" : { - "annotation" : [ { - "translatorVersion" : "3.27.0", - "translatorOptions" : "", - "signatureLevel" : "None", - "type" : "CqlToElmInfo" - } ], - "identifier" : { - "id" : "CqlComparisonOperatorsTest", - "version" : "1.4.0" - }, - "schemaIdentifier" : { - "id" : "urn:hl7-org:elm", - "version" : "r1" - }, - "usings" : { - "def" : [ { - "localIdentifier" : "System", - "uri" : "urn:hl7-org:elm-types:r1", - "annotation" : [ ] - }, { - "localIdentifier" : "QUICK", - "uri" : "http://hl7.org/fhir/us/qicore", - "version" : "3.3.0", - "annotation" : [ ] - } ] - }, - "contexts" : { - "def" : [ { - "name" : "Patient", - "annotation" : [ ] - } ] - }, - "statements" : { - "def" : [ { - "name" : "Patient", - "context" : "Patient", - "annotation" : [ ], - "expression" : { - "type" : "SingletonFrom", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "dataType" : "{http://hl7.org/fhir/us/qicore}Patient", - "templateId" : "http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-patient", - "type" : "Retrieve", - "annotation" : [ ], - "include" : [ ], - "codeFilter" : [ ], - "dateFilter" : [ ], - "otherFilter" : [ ] - } - } - }, { - "name" : "Between", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ ], - "expression" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "BetweenIntTrue", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "And", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "type" : "GreaterOrEqual", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "4", - "type" : "Literal", - "annotation" : [ ] - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal", - "annotation" : [ ] - } ] - }, { - "type" : "LessOrEqual", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "4", - "type" : "Literal", - "annotation" : [ ] - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "6", - "type" : "Literal", - "annotation" : [ ] - } ] - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "true", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - } ] + "library": { + "annotation": [ + { + "type": "CqlToElmInfo", + "translatorVersion": "4.2.0", + "translatorOptions": "", + "signatureLevel": "None" + } + ], + "identifier": { + "id": "CqlComparisonOperatorsTest", + "version": "1.4.0" + }, + "schemaIdentifier": { + "id": "urn:hl7-org:elm", + "version": "r1" + }, + "usings": { + "def": [ + { + "localIdentifier": "System", + "uri": "urn:hl7-org:elm-types:r1", + "annotation": [] + }, + { + "localIdentifier": "QUICK", + "uri": "http://hl7.org/fhir/us/qicore", + "version": "3.3.0", + "annotation": [] + } + ] + }, + "contexts": { + "def": [ + { + "name": "Patient", + "annotation": [] + } + ] + }, + "statements": { + "def": [ + { + "name": "Patient", + "context": "Patient", + "annotation": [], + "expression": { + "type": "SingletonFrom", + "annotation": [], + "signature": [], + "operand": { + "type": "Retrieve", + "dataType": "{http://hl7.org/fhir/us/qicore}Patient", + "templateId": "http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-patient", + "annotation": [], + "include": [], + "codeFilter": [], + "dateFilter": [], + "otherFilter": [] } - }, { - "name" : "Equal", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ ], - "expression" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "SimpleEqTrueTrue", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Equal", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "true", - "type" : "Literal", - "annotation" : [ ] - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "true", - "type" : "Literal", - "annotation" : [ ] - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "true", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "SimpleEqTrueFalse", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Equal", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "true", - "type" : "Literal", - "annotation" : [ ] - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "false", - "type" : "Literal", - "annotation" : [ ] - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "false", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "SimpleEqFalseFalse", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Equal", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "false", - "type" : "Literal", - "annotation" : [ ] - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "false", - "type" : "Literal", - "annotation" : [ ] - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "true", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "SimpleEqFalseTrue", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Equal", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "false", - "type" : "Literal", - "annotation" : [ ] - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "true", - "type" : "Literal", - "annotation" : [ ] - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "false", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "SimpleEqNullNull", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Equal", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "strict" : false, - "type" : "As", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "type" : "Null", - "annotation" : [ ] - }, - "asTypeSpecifier" : { - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier", - "annotation" : [ ] + } + }, + { + "name": "Between", + "context": "Patient", + "accessLevel": "Public", + "annotation": [], + "expression": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "BetweenIntTrue", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "And", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "GreaterOrEqual", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "4", + "annotation": [] + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2", + "annotation": [] } - }, { - "asType" : "{urn:hl7-org:elm-types:r1}String", - "type" : "As", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "type" : "Null", - "annotation" : [ ] + ] + }, + { + "type": "LessOrEqual", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "4", + "annotation": [] + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "6", + "annotation": [] } - } ] - } - }, { - "name" : "output", - "value" : { - "type" : "Null", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "SimpleEqTrueNull", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Equal", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "true", - "type" : "Literal", - "annotation" : [ ] - }, { - "asType" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "As", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "type" : "Null", - "annotation" : [ ] + ] + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "true", + "annotation": [] + } + } + ] + } + } + ] + } + }, + { + "name": "Equal", + "context": "Patient", + "accessLevel": "Public", + "annotation": [], + "expression": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "SimpleEqTrueTrue", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Equal", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "true", + "annotation": [] + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "true", + "annotation": [] + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "true", + "annotation": [] + } + } + ] + } + }, + { + "name": "SimpleEqTrueFalse", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Equal", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "true", + "annotation": [] + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "false", + "annotation": [] + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "false", + "annotation": [] + } + } + ] + } + }, + { + "name": "SimpleEqFalseFalse", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Equal", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "false", + "annotation": [] + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "false", + "annotation": [] + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "true", + "annotation": [] + } + } + ] + } + }, + { + "name": "SimpleEqFalseTrue", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Equal", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "false", + "annotation": [] + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "true", + "annotation": [] + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "false", + "annotation": [] + } + } + ] + } + }, + { + "name": "SimpleEqNullNull", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Equal", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "As", + "strict": false, + "annotation": [], + "signature": [], + "operand": { + "type": "Null", + "annotation": [] + }, + "asTypeSpecifier": { + "type": "NamedTypeSpecifier", + "name": "{urn:hl7-org:elm-types:r1}String", + "annotation": [] + } + }, + { + "type": "As", + "asType": "{urn:hl7-org:elm-types:r1}String", + "annotation": [], + "signature": [], + "operand": { + "type": "Null", + "annotation": [] + } + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Null", + "annotation": [] + } + } + ] + } + }, + { + "name": "SimpleEqTrueNull", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Equal", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "true", + "annotation": [] + }, + { + "type": "As", + "asType": "{urn:hl7-org:elm-types:r1}Boolean", + "annotation": [], + "signature": [], + "operand": { + "type": "Null", + "annotation": [] + } + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Null", + "annotation": [] + } + } + ] + } + }, + { + "name": "SimpleEqNullTrue", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Equal", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "As", + "asType": "{urn:hl7-org:elm-types:r1}Boolean", + "annotation": [], + "signature": [], + "operand": { + "type": "Null", + "annotation": [] + } + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "true", + "annotation": [] + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Null", + "annotation": [] + } + } + ] + } + }, + { + "name": "SimpleEqInt1Int1", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Equal", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "true", + "annotation": [] + } + } + ] + } + }, + { + "name": "SimpleEqInt1Int2", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Equal", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2", + "annotation": [] + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "false", + "annotation": [] + } + } + ] + } + }, + { + "name": "SimpleEqStringAStringA", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Equal", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}String", + "value": "a", + "annotation": [] + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}String", + "value": "a", + "annotation": [] + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "true", + "annotation": [] + } + } + ] + } + }, + { + "name": "SimpleEqStringAStringB", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Equal", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}String", + "value": "a", + "annotation": [] + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}String", + "value": "b", + "annotation": [] + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "false", + "annotation": [] + } + } + ] + } + }, + { + "name": "SimpleEqFloat1Float1", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Equal", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "1.0", + "annotation": [] + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "1.0", + "annotation": [] + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "true", + "annotation": [] + } + } + ] + } + }, + { + "name": "SimpleEqFloat1Float2", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Equal", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "1.0", + "annotation": [] + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "2.0", + "annotation": [] + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "false", + "annotation": [] + } + } + ] + } + }, + { + "name": "SimpleEqFloat1Int1", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Equal", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "1.0", + "annotation": [] + }, + { + "type": "ToDecimal", + "annotation": [], + "signature": [], + "operand": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + } + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "true", + "annotation": [] + } + } + ] + } + }, + { + "name": "SimpleEqFloat1Int2", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Equal", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "1.0", + "annotation": [] + }, + { + "type": "ToDecimal", + "annotation": [], + "signature": [], + "operand": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2", + "annotation": [] + } + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "false", + "annotation": [] + } + } + ] + } + }, + { + "name": "QuantityEqCM1CM1", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Equal", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Quantity", + "value": 1, + "unit": "cm", + "annotation": [] + }, + { + "type": "Quantity", + "value": 1, + "unit": "cm", + "annotation": [] + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "true", + "annotation": [] + } + } + ] + } + }, + { + "name": "QuantityEqCM1M01", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Equal", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Quantity", + "value": 1, + "unit": "cm", + "annotation": [] + }, + { + "type": "Quantity", + "value": 0.01, + "unit": "m", + "annotation": [] + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "true", + "annotation": [] + } + } + ] + } + }, + { + "name": "QuantityEqDiffPrecision", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Equal", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Quantity", + "value": 2, + "unit": "cm", + "annotation": [] + }, + { + "type": "Quantity", + "value": 2, + "unit": "cm", + "annotation": [] + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "true", + "annotation": [] + } + } + ] + } + }, + { + "name": "TupleEqJohnJohn", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Equal", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "Id", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + } + }, + { + "name": "Name", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}String", + "value": "John", + "annotation": [] + } } - } ] - } - }, { - "name" : "output", - "value" : { - "type" : "Null", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "SimpleEqNullTrue", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Equal", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "asType" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "As", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "type" : "Null", - "annotation" : [ ] + ] + }, + { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "Id", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + } + }, + { + "name": "Name", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}String", + "value": "John", + "annotation": [] + } } - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "true", - "type" : "Literal", - "annotation" : [ ] - } ] - } - }, { - "name" : "output", - "value" : { - "type" : "Null", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "SimpleEqInt1Int1", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Equal", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "true", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "SimpleEqInt1Int2", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Equal", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal", - "annotation" : [ ] - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "false", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "SimpleEqStringAStringA", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Equal", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "a", - "type" : "Literal", - "annotation" : [ ] - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "a", - "type" : "Literal", - "annotation" : [ ] - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "true", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "SimpleEqStringAStringB", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Equal", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "a", - "type" : "Literal", - "annotation" : [ ] - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "b", - "type" : "Literal", - "annotation" : [ ] - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "false", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "SimpleEqFloat1Float1", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Equal", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "1.0", - "type" : "Literal", - "annotation" : [ ] - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "1.0", - "type" : "Literal", - "annotation" : [ ] - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "true", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "SimpleEqFloat1Float2", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Equal", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "1.0", - "type" : "Literal", - "annotation" : [ ] - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "2.0", - "type" : "Literal", - "annotation" : [ ] - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "false", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "SimpleEqFloat1Int1", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Equal", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "1.0", - "type" : "Literal", - "annotation" : [ ] - }, { - "type" : "ToDecimal", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] + ] + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "true", + "annotation": [] + } + } + ] + } + }, + { + "name": "TupleEqJohnJane", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Equal", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "Id", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + } + }, + { + "name": "Name", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}String", + "value": "John", + "annotation": [] + } } - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "true", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "SimpleEqFloat1Int2", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Equal", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "1.0", - "type" : "Literal", - "annotation" : [ ] - }, { - "type" : "ToDecimal", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal", - "annotation" : [ ] + ] + }, + { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "Id", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2", + "annotation": [] + } + }, + { + "name": "Name", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}String", + "value": "Jane", + "annotation": [] + } } - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "false", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "QuantityEqCM1CM1", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Equal", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "value" : 1, - "unit" : "cm", - "type" : "Quantity", - "annotation" : [ ] - }, { - "value" : 1, - "unit" : "cm", - "type" : "Quantity", - "annotation" : [ ] - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "true", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "QuantityEqCM1M01", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Equal", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "value" : 1, - "unit" : "cm", - "type" : "Quantity", - "annotation" : [ ] - }, { - "value" : 0.01, - "unit" : "m", - "type" : "Quantity", - "annotation" : [ ] - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "true", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "QuantityEqDiffPrecision", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Equal", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "value" : 2.0, - "unit" : "cm", - "type" : "Quantity", - "annotation" : [ ] - }, { - "value" : 2.00, - "unit" : "cm", - "type" : "Quantity", - "annotation" : [ ] - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "true", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "TupleEqJohnJohn", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Equal", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "Id", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "name" : "Name", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "John", - "type" : "Literal", - "annotation" : [ ] - } - } ] - }, { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "Id", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "name" : "Name", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "John", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "true", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "TupleEqJohnJane", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Equal", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "Id", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "name" : "Name", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "John", - "type" : "Literal", - "annotation" : [ ] - } - } ] - }, { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "Id", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "name" : "Name", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "Jane", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "false", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "TupleEqJohn1John2", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Equal", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "Id", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "name" : "Name", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "John", - "type" : "Literal", - "annotation" : [ ] - } - } ] - }, { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "Id", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "name" : "Name", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "John", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "false", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "TupleEqJohn1John2WithNullName", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Equal", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "Id", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "name" : "Name", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "John", - "type" : "Literal", - "annotation" : [ ] - } - } ] - }, { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "Id", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "name" : "Name", - "value" : { - "type" : "Null", - "annotation" : [ ] - } - } ] - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "false", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "TupleEqDifferentNamesWithOneNullId", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Equal", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "Id", - "value" : { - "type" : "Null", - "annotation" : [ ] - } - }, { - "name" : "Name", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "John", - "type" : "Literal", - "annotation" : [ ] - } - } ] - }, { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "Id", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "name" : "Name", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "James", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "false", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "TupleEqJohn1John1WithBothNamesNull", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Equal", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "Id", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "name" : "Name", - "value" : { - "type" : "Null", - "annotation" : [ ] - } - } ] - }, { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "Id", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "name" : "Name", - "value" : { - "type" : "Null", - "annotation" : [ ] - } - } ] - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "true", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "TupleEqJohnJohnWithBothIdsNull", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Equal", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "Id", - "value" : { - "type" : "Null", - "annotation" : [ ] - } - }, { - "name" : "Name", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "John", - "type" : "Literal", - "annotation" : [ ] - } - } ] - }, { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "Id", - "value" : { - "type" : "Null", - "annotation" : [ ] - } - }, { - "name" : "Name", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "John", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "true", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "TupleEqJohn1John1WithNullName", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Equal", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "Id", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "name" : "Name", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "John", - "type" : "Literal", - "annotation" : [ ] - } - } ] - }, { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "Id", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "name" : "Name", - "value" : { - "type" : "Null", - "annotation" : [ ] - } - } ] - } ] - } - }, { - "name" : "output", - "value" : { - "type" : "Null", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "TupleEqDateTimeTrue", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Equal", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "dateId", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "name" : "Date", - "value" : { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal", - "annotation" : [ ] - }, - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - } - } - } ] - }, { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "dateId", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "name" : "Date", - "value" : { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal", - "annotation" : [ ] - }, - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - } - } - } ] - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "true", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "TupleEqDateTimeFalse", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Equal", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "dateId", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "name" : "Date", - "value" : { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal", - "annotation" : [ ] - }, - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - } - } - } ] - }, { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "dateId", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "name" : "Date", - "value" : { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal", - "annotation" : [ ] - }, - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - } - } - } ] - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "false", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "TupleEqTimeTrue", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Equal", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "timeId", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "55", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "name" : "TheTime", - "value" : { - "type" : "Time", - "annotation" : [ ], - "signature" : [ ], - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "541", - "type" : "Literal", - "annotation" : [ ] - } - } - } ] - }, { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "timeId", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "55", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "name" : "TheTime", - "value" : { - "type" : "Time", - "annotation" : [ ], - "signature" : [ ], - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "541", - "type" : "Literal", - "annotation" : [ ] - } - } - } ] - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "true", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "TupleEqTimeFalse", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Equal", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "timeId", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "55", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "name" : "TheTime", - "value" : { - "type" : "Time", - "annotation" : [ ], - "signature" : [ ], - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "541", - "type" : "Literal", - "annotation" : [ ] - } - } - } ] - }, { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "timeId", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "55", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "name" : "TheTime", - "value" : { - "type" : "Time", - "annotation" : [ ], - "signature" : [ ], - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "540", - "type" : "Literal", - "annotation" : [ ] - } - } - } ] - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "false", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "DateTimeEqTodayToday", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Equal", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "type" : "Today", - "annotation" : [ ], - "signature" : [ ] - }, { - "type" : "Today", - "annotation" : [ ], - "signature" : [ ] - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "true", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "DateTimeEqTodayYesterday", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Equal", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "type" : "Today", - "annotation" : [ ], - "signature" : [ ] - }, { - "type" : "Subtract", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "type" : "Today", - "annotation" : [ ], - "signature" : [ ] - }, { - "value" : 1, - "unit" : "days", - "type" : "Quantity", - "annotation" : [ ] - } ] - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "false", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "DateTimeEqJanJan", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Equal", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2014", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal", - "annotation" : [ ] - }, - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, - "timezoneOffset" : { - "type" : "ToDecimal", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - } + ] + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "false", + "annotation": [] + } + } + ] + } + }, + { + "name": "TupleEqJohn1John2", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Equal", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "Id", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + } + }, + { + "name": "Name", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}String", + "value": "John", + "annotation": [] + } } - }, { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2014", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal", - "annotation" : [ ] - }, - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, - "timezoneOffset" : { - "type" : "ToDecimal", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - } + ] + }, + { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "Id", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2", + "annotation": [] + } + }, + { + "name": "Name", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}String", + "value": "John", + "annotation": [] + } } - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "true", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "DateTimeEqJanJuly", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Equal", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2014", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal", - "annotation" : [ ] - }, - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, - "timezoneOffset" : { - "type" : "ToDecimal", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - } + ] + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "false", + "annotation": [] + } + } + ] + } + }, + { + "name": "TupleEqJohn1John2WithNullName", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Equal", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "Id", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + } + }, + { + "name": "Name", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}String", + "value": "John", + "annotation": [] + } } - }, { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2014", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "7", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal", - "annotation" : [ ] - }, - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, - "timezoneOffset" : { - "type" : "ToDecimal", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - } + ] + }, + { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "Id", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2", + "annotation": [] + } + }, + { + "name": "Name", + "value": { + "type": "Null", + "annotation": [] + } } - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "false", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "DateTimeEqNull", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "skipped", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "Wrong answer (true vs null - due to not evaluating DateTime(null) as null)", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "DateTimeUTC", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Equal", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2014", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "25", - "type" : "Literal", - "annotation" : [ ] - }, - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "14", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "30", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "14", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "559", - "type" : "Literal", - "annotation" : [ ] - }, - "timezoneOffset" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "1.0", - "type" : "Literal", - "annotation" : [ ] + ] + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "false", + "annotation": [] + } + } + ] + } + }, + { + "name": "TupleEqDifferentNamesWithOneNullId", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Equal", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "Id", + "value": { + "type": "Null", + "annotation": [] + } + }, + { + "name": "Name", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}String", + "value": "John", + "annotation": [] + } } - }, { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2014", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "25", - "type" : "Literal", - "annotation" : [ ] - }, - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "14", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "30", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "14", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "559", - "type" : "Literal", - "annotation" : [ ] - }, - "timezoneOffset" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "1.0", - "type" : "Literal", - "annotation" : [ ] + ] + }, + { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "Id", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + } + }, + { + "name": "Name", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}String", + "value": "James", + "annotation": [] + } } - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "true", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "DateTimeDayCompare", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "precision" : "Day", - "type" : "SameAs", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2022", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "22", - "type" : "Literal", - "annotation" : [ ] - }, - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, - "timezoneOffset" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "-5.0", - "type" : "Literal", - "annotation" : [ ] + ] + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "false", + "annotation": [] + } + } + ] + } + }, + { + "name": "TupleEqJohn1John1WithBothNamesNull", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Equal", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "Id", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + } + }, + { + "name": "Name", + "value": { + "type": "Null", + "annotation": [] + } } - }, { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2022", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "22", - "type" : "Literal", - "annotation" : [ ] - }, - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "4", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, - "timezoneOffset" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "0.0", - "type" : "Literal", - "annotation" : [ ] + ] + }, + { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "Id", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + } + }, + { + "name": "Name", + "value": { + "type": "Null", + "annotation": [] + } } - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "true", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "TimeEq10A10A", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Equal", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "type" : "Time", - "annotation" : [ ], - "signature" : [ ], - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] + ] + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "true", + "annotation": [] + } + } + ] + } + }, + { + "name": "TupleEqJohnJohnWithBothIdsNull", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Equal", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "Id", + "value": { + "type": "Null", + "annotation": [] + } + }, + { + "name": "Name", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}String", + "value": "John", + "annotation": [] + } } - }, { - "type" : "Time", - "annotation" : [ ], - "signature" : [ ], - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] + ] + }, + { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "Id", + "value": { + "type": "Null", + "annotation": [] + } + }, + { + "name": "Name", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}String", + "value": "John", + "annotation": [] + } } - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "true", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "TimeEq10A10P", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Equal", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "type" : "Time", - "annotation" : [ ], - "signature" : [ ], - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] + ] + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "true", + "annotation": [] + } + } + ] + } + }, + { + "name": "TupleEqJohn1John1WithNullName", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Equal", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "Id", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + } + }, + { + "name": "Name", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}String", + "value": "John", + "annotation": [] + } } - }, { - "type" : "Time", - "annotation" : [ ], - "signature" : [ ], - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "22", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] + ] + }, + { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "Id", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + } + }, + { + "name": "Name", + "value": { + "type": "Null", + "annotation": [] + } } - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "false", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - } ] - } - }, { - "name" : "Greater", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ ], - "expression" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "GreaterZZ", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Greater", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "false", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "GreaterZ1", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Greater", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "false", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "GreaterZNeg1", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Greater", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, { - "type" : "Negate", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] + ] + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Null", + "annotation": [] + } + } + ] + } + }, + { + "name": "TupleEqDateTimeTrue", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Equal", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "dateId", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + } + }, + { + "name": "Date", + "value": { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2012", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "5", + "annotation": [] + }, + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + } + } } - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "true", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "GreaterDecZZ", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Greater", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "0.0", - "type" : "Literal", - "annotation" : [ ] - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "0.0", - "type" : "Literal", - "annotation" : [ ] - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "false", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "GreaterDecZ1", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Greater", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "0.0", - "type" : "Literal", - "annotation" : [ ] - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "1.0", - "type" : "Literal", - "annotation" : [ ] - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "false", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "GreaterDecZNeg1", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Greater", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "0.0", - "type" : "Literal", - "annotation" : [ ] - }, { - "type" : "Negate", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "1.0", - "type" : "Literal", - "annotation" : [ ] + ] + }, + { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "dateId", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + } + }, + { + "name": "Date", + "value": { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2012", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "5", + "annotation": [] + }, + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + } + } } - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "true", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "GreaterDec1Int2", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Greater", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "1.0", - "type" : "Literal", - "annotation" : [ ] - }, { - "type" : "ToDecimal", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal", - "annotation" : [ ] + ] + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "true", + "annotation": [] + } + } + ] + } + }, + { + "name": "TupleEqDateTimeFalse", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Equal", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "dateId", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + } + }, + { + "name": "Date", + "value": { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2012", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "5", + "annotation": [] + }, + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + } + } } - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "false", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "GreaterCM0CM0", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Greater", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "value" : 0, - "unit" : "cm", - "type" : "Quantity", - "annotation" : [ ] - }, { - "value" : 0, - "unit" : "cm", - "type" : "Quantity", - "annotation" : [ ] - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "false", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "GreaterCM0CM1", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Greater", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "value" : 0, - "unit" : "cm", - "type" : "Quantity", - "annotation" : [ ] - }, { - "value" : 1, - "unit" : "cm", - "type" : "Quantity", - "annotation" : [ ] - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "false", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "GreaterCM0NegCM1", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Greater", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "value" : 0, - "unit" : "cm", - "type" : "Quantity", - "annotation" : [ ] - }, { - "type" : "Negate", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "value" : 1, - "unit" : "cm", - "type" : "Quantity", - "annotation" : [ ] + ] + }, + { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "dateId", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + } + }, + { + "name": "Date", + "value": { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2012", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "5", + "annotation": [] + }, + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "5", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + } + } } - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "true", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "GreaterM1CM1", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Greater", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "value" : 1, - "unit" : "m", - "type" : "Quantity", - "annotation" : [ ] - }, { - "value" : 1, - "unit" : "cm", - "type" : "Quantity", - "annotation" : [ ] - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "true", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "GreaterM1CM10", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Greater", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "value" : 1, - "unit" : "m", - "type" : "Quantity", - "annotation" : [ ] - }, { - "value" : 10, - "unit" : "cm", - "type" : "Quantity", - "annotation" : [ ] - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "true", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "GreaterAA", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Greater", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "a", - "type" : "Literal", - "annotation" : [ ] - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "a", - "type" : "Literal", - "annotation" : [ ] - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "false", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "GreaterAB", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Greater", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "a", - "type" : "Literal", - "annotation" : [ ] - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "b", - "type" : "Literal", - "annotation" : [ ] - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "false", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "GreaterBA", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Greater", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "b", - "type" : "Literal", - "annotation" : [ ] - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "a", - "type" : "Literal", - "annotation" : [ ] - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "true", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "GreaterAThanAA", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Greater", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "a", - "type" : "Literal", - "annotation" : [ ] - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "aa", - "type" : "Literal", - "annotation" : [ ] - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "false", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "GreaterAAThanA", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Greater", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "aa", - "type" : "Literal", - "annotation" : [ ] - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "a", - "type" : "Literal", - "annotation" : [ ] - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "true", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "GreaterJackJill", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Greater", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "Jack", - "type" : "Literal", - "annotation" : [ ] - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "Jill", - "type" : "Literal", - "annotation" : [ ] - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "false", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "DateTimeGreaterTrue", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Greater", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "12", - "type" : "Literal", - "annotation" : [ ] + ] + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "false", + "annotation": [] + } + } + ] + } + }, + { + "name": "TupleEqTimeTrue", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Equal", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "timeId", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "55", + "annotation": [] + } + }, + { + "name": "TheTime", + "value": { + "type": "Time", + "annotation": [], + "signature": [], + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "5", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "15", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "15", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "541", + "annotation": [] + } + } } - }, { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] + ] + }, + { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "timeId", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "55", + "annotation": [] + } + }, + { + "name": "TheTime", + "value": { + "type": "Time", + "annotation": [], + "signature": [], + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "5", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "15", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "15", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "541", + "annotation": [] + } + } } - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "true", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "DateTimeGreaterFalse", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Greater", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "12", - "type" : "Literal", - "annotation" : [ ] + ] + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "true", + "annotation": [] + } + } + ] + } + }, + { + "name": "TupleEqTimeFalse", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Equal", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "timeId", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "55", + "annotation": [] + } + }, + { + "name": "TheTime", + "value": { + "type": "Time", + "annotation": [], + "signature": [], + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "5", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "15", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "15", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "541", + "annotation": [] + } + } } - }, { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "13", - "type" : "Literal", - "annotation" : [ ] + ] + }, + { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "timeId", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "55", + "annotation": [] + } + }, + { + "name": "TheTime", + "value": { + "type": "Time", + "annotation": [], + "signature": [], + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "5", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "15", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "15", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "540", + "annotation": [] + } + } } - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "false", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "TimeGreaterTrue", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Greater", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "type" : "Time", - "annotation" : [ ], - "signature" : [ ], - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] + ] + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "false", + "annotation": [] + } + } + ] + } + }, + { + "name": "DateTimeEqTodayToday", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Equal", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Today", + "annotation": [], + "signature": [] + }, + { + "type": "Today", + "annotation": [], + "signature": [] + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "true", + "annotation": [] + } + } + ] + } + }, + { + "name": "DateTimeEqTodayYesterday", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Equal", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Today", + "annotation": [], + "signature": [] + }, + { + "type": "Subtract", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Today", + "annotation": [], + "signature": [] + }, + { + "type": "Quantity", + "value": 1, + "unit": "days", + "annotation": [] } - }, { - "type" : "Time", - "annotation" : [ ], - "signature" : [ ], - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] + ] + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "false", + "annotation": [] + } + } + ] + } + }, + { + "name": "DateTimeEqJanJan", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Equal", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2014", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "5", + "annotation": [] + }, + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "5", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + "timezoneOffset": { + "type": "ToDecimal", + "annotation": [], + "signature": [], + "operand": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] } - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "true", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "TimeGreaterFalse", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Greater", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "type" : "Time", - "annotation" : [ ], - "signature" : [ ], - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] + } + }, + { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2014", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "5", + "annotation": [] + }, + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "5", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + "timezoneOffset": { + "type": "ToDecimal", + "annotation": [], + "signature": [], + "operand": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] } - }, { - "type" : "Time", - "annotation" : [ ], - "signature" : [ ], - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] + } + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "true", + "annotation": [] + } + } + ] + } + }, + { + "name": "DateTimeEqJanJuly", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Equal", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2014", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "5", + "annotation": [] + }, + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "5", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + "timezoneOffset": { + "type": "ToDecimal", + "annotation": [], + "signature": [], + "operand": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] } - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "false", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "UncertaintyGreaterNull", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Greater", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2014", - "type" : "Literal", - "annotation" : [ ] + } + }, + { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2014", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "7", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "5", + "annotation": [] + }, + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "5", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + "timezoneOffset": { + "type": "ToDecimal", + "annotation": [], + "signature": [], + "operand": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] } - }, { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2014", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal", - "annotation" : [ ] + } + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "false", + "annotation": [] + } + } + ] + } + }, + { + "name": "DateTimeEqNull", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "skipped", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}String", + "value": "Wrong answer (true vs null - due to not evaluating DateTime(null) as null)", + "annotation": [] + } + } + ] + } + }, + { + "name": "DateTimeUTC", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Equal", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2014", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "25", + "annotation": [] + }, + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "14", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "30", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "14", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "559", + "annotation": [] + }, + "timezoneOffset": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "1.0", + "annotation": [] + } + }, + { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2014", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "25", + "annotation": [] + }, + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "14", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "30", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "14", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "559", + "annotation": [] + }, + "timezoneOffset": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "1.0", + "annotation": [] + } + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "true", + "annotation": [] + } + } + ] + } + }, + { + "name": "DateTimeDayCompare", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "SameAs", + "precision": "Day", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2022", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "22", + "annotation": [] + }, + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + "timezoneOffset": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "-5.0", + "annotation": [] + } + }, + { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2022", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "22", + "annotation": [] + }, + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "4", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + "timezoneOffset": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "0.0", + "annotation": [] + } + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "true", + "annotation": [] + } + } + ] + } + }, + { + "name": "TimeEq10A10A", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Equal", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Time", + "annotation": [], + "signature": [], + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + } + }, + { + "type": "Time", + "annotation": [], + "signature": [], + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + } + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "true", + "annotation": [] + } + } + ] + } + }, + { + "name": "TimeEq10A10P", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Equal", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Time", + "annotation": [], + "signature": [], + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + } + }, + { + "type": "Time", + "annotation": [], + "signature": [], + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "22", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + } + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "false", + "annotation": [] + } + } + ] + } + } + ] + } + }, + { + "name": "Greater", + "context": "Patient", + "accessLevel": "Public", + "annotation": [], + "expression": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "GreaterZZ", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Greater", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "false", + "annotation": [] + } + } + ] + } + }, + { + "name": "GreaterZ1", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Greater", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "false", + "annotation": [] + } + } + ] + } + }, + { + "name": "GreaterZNeg1", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Greater", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + { + "type": "Negate", + "annotation": [], + "signature": [], + "operand": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + } + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "true", + "annotation": [] + } + } + ] + } + }, + { + "name": "GreaterDecZZ", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Greater", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "0.0", + "annotation": [] + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "0.0", + "annotation": [] + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "false", + "annotation": [] + } + } + ] + } + }, + { + "name": "GreaterDecZ1", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Greater", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "0.0", + "annotation": [] + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "1.0", + "annotation": [] + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "false", + "annotation": [] + } + } + ] + } + }, + { + "name": "GreaterDecZNeg1", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Greater", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "0.0", + "annotation": [] + }, + { + "type": "Negate", + "annotation": [], + "signature": [], + "operand": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "1.0", + "annotation": [] + } + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "true", + "annotation": [] + } + } + ] + } + }, + { + "name": "GreaterDec1Int2", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Greater", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "1.0", + "annotation": [] + }, + { + "type": "ToDecimal", + "annotation": [], + "signature": [], + "operand": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2", + "annotation": [] + } + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "false", + "annotation": [] + } + } + ] + } + }, + { + "name": "GreaterCM0CM0", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Greater", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Quantity", + "value": 0, + "unit": "cm", + "annotation": [] + }, + { + "type": "Quantity", + "value": 0, + "unit": "cm", + "annotation": [] + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "false", + "annotation": [] + } + } + ] + } + }, + { + "name": "GreaterCM0CM1", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Greater", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Quantity", + "value": 0, + "unit": "cm", + "annotation": [] + }, + { + "type": "Quantity", + "value": 1, + "unit": "cm", + "annotation": [] + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "false", + "annotation": [] + } + } + ] + } + }, + { + "name": "GreaterCM0NegCM1", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Greater", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Quantity", + "value": 0, + "unit": "cm", + "annotation": [] + }, + { + "type": "Negate", + "annotation": [], + "signature": [], + "operand": { + "type": "Quantity", + "value": 1, + "unit": "cm", + "annotation": [] + } + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "true", + "annotation": [] + } + } + ] + } + }, + { + "name": "GreaterM1CM1", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Greater", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Quantity", + "value": 1, + "unit": "m", + "annotation": [] + }, + { + "type": "Quantity", + "value": 1, + "unit": "cm", + "annotation": [] + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "true", + "annotation": [] + } + } + ] + } + }, + { + "name": "GreaterM1CM10", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Greater", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Quantity", + "value": 1, + "unit": "m", + "annotation": [] + }, + { + "type": "Quantity", + "value": 10, + "unit": "cm", + "annotation": [] + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "true", + "annotation": [] + } + } + ] + } + }, + { + "name": "GreaterAA", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Greater", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}String", + "value": "a", + "annotation": [] + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}String", + "value": "a", + "annotation": [] + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "false", + "annotation": [] + } + } + ] + } + }, + { + "name": "GreaterAB", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Greater", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}String", + "value": "a", + "annotation": [] + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}String", + "value": "b", + "annotation": [] + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "false", + "annotation": [] + } + } + ] + } + }, + { + "name": "GreaterBA", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Greater", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}String", + "value": "b", + "annotation": [] + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}String", + "value": "a", + "annotation": [] + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "true", + "annotation": [] + } + } + ] + } + }, + { + "name": "GreaterAThanAA", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Greater", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}String", + "value": "a", + "annotation": [] + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}String", + "value": "aa", + "annotation": [] + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "false", + "annotation": [] + } + } + ] + } + }, + { + "name": "GreaterAAThanA", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Greater", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}String", + "value": "aa", + "annotation": [] + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}String", + "value": "a", + "annotation": [] + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "true", + "annotation": [] + } + } + ] + } + }, + { + "name": "GreaterJackJill", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Greater", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}String", + "value": "Jack", + "annotation": [] + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}String", + "value": "Jill", + "annotation": [] + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "false", + "annotation": [] + } + } + ] + } + }, + { + "name": "DateTimeGreaterTrue", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Greater", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2012", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "12", + "annotation": [] + } + }, + { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2012", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + } + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "true", + "annotation": [] + } + } + ] + } + }, + { + "name": "DateTimeGreaterFalse", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Greater", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2012", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "12", + "annotation": [] + } + }, + { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2012", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "13", + "annotation": [] + } + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "false", + "annotation": [] + } + } + ] + } + }, + { + "name": "TimeGreaterTrue", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Greater", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Time", + "annotation": [], + "signature": [], + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + } + }, + { + "type": "Time", + "annotation": [], + "signature": [], + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + } + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "true", + "annotation": [] + } + } + ] + } + }, + { + "name": "TimeGreaterFalse", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Greater", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Time", + "annotation": [], + "signature": [], + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + } + }, + { + "type": "Time", + "annotation": [], + "signature": [], + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + } + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "false", + "annotation": [] + } + } + ] + } + }, + { + "name": "UncertaintyGreaterNull", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Greater", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2014", + "annotation": [] + } + }, + { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2014", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "15", + "annotation": [] + } + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Null", + "annotation": [] + } + } + ] + } + }, + { + "name": "UncertaintyGreaterTrue", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Greater", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2015", + "annotation": [] + } + }, + { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2014", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "15", + "annotation": [] + } + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "true", + "annotation": [] + } + } + ] + } + }, + { + "name": "UncertaintyGreaterFalse", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Greater", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2013", + "annotation": [] + } + }, + { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2014", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "15", + "annotation": [] + } + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "false", + "annotation": [] + } + } + ] + } + } + ] + } + }, + { + "name": "Greater Or Equal", + "context": "Patient", + "accessLevel": "Public", + "annotation": [], + "expression": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "GreaterOrEqualZZ", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "GreaterOrEqual", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "true", + "annotation": [] + } + } + ] + } + }, + { + "name": "GreaterOrEqualZ1", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "GreaterOrEqual", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "false", + "annotation": [] + } + } + ] + } + }, + { + "name": "GreaterOrEqualZNeg1", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "GreaterOrEqual", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + { + "type": "Negate", + "annotation": [], + "signature": [], + "operand": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + } + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "true", + "annotation": [] + } + } + ] + } + }, + { + "name": "GreaterOrEqualDecZZ", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "GreaterOrEqual", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "0.0", + "annotation": [] + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "0.0", + "annotation": [] + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "true", + "annotation": [] + } + } + ] + } + }, + { + "name": "GreaterOrEqualDecZ1", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "GreaterOrEqual", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "0.0", + "annotation": [] + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "1.0", + "annotation": [] + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "false", + "annotation": [] + } + } + ] + } + }, + { + "name": "GreaterOrEqualDecZNeg1", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "GreaterOrEqual", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "0.0", + "annotation": [] + }, + { + "type": "Negate", + "annotation": [], + "signature": [], + "operand": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "1.0", + "annotation": [] + } + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "true", + "annotation": [] + } + } + ] + } + }, + { + "name": "GreaterOrEqualDec1Int2", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "GreaterOrEqual", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "1.0", + "annotation": [] + }, + { + "type": "ToDecimal", + "annotation": [], + "signature": [], + "operand": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2", + "annotation": [] + } + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "false", + "annotation": [] + } + } + ] + } + }, + { + "name": "GreaterOrEqualCM0CM0", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "GreaterOrEqual", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Quantity", + "value": 0, + "unit": "cm", + "annotation": [] + }, + { + "type": "Quantity", + "value": 0, + "unit": "cm", + "annotation": [] + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "true", + "annotation": [] + } + } + ] + } + }, + { + "name": "GreaterOrEqualCM0CM1", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "GreaterOrEqual", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Quantity", + "value": 0, + "unit": "cm", + "annotation": [] + }, + { + "type": "Quantity", + "value": 1, + "unit": "cm", + "annotation": [] + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "false", + "annotation": [] + } + } + ] + } + }, + { + "name": "GreaterOrEqualCM0NegCM1", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "GreaterOrEqual", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Quantity", + "value": 0, + "unit": "cm", + "annotation": [] + }, + { + "type": "Negate", + "annotation": [], + "signature": [], + "operand": { + "type": "Quantity", + "value": 1, + "unit": "cm", + "annotation": [] + } + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "true", + "annotation": [] + } + } + ] + } + }, + { + "name": "GreaterOrEqualM1CM1", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "GreaterOrEqual", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Quantity", + "value": 1, + "unit": "m", + "annotation": [] + }, + { + "type": "Quantity", + "value": 1, + "unit": "cm", + "annotation": [] + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "true", + "annotation": [] + } + } + ] + } + }, + { + "name": "GreaterOrEqualM1CM10", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "GreaterOrEqual", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Quantity", + "value": 1, + "unit": "m", + "annotation": [] + }, + { + "type": "Quantity", + "value": 10, + "unit": "cm", + "annotation": [] + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "true", + "annotation": [] + } + } + ] + } + }, + { + "name": "GreaterOrEqualAA", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "GreaterOrEqual", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}String", + "value": "a", + "annotation": [] + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}String", + "value": "a", + "annotation": [] + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "true", + "annotation": [] + } + } + ] + } + }, + { + "name": "GreaterOrEqualAB", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "GreaterOrEqual", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}String", + "value": "a", + "annotation": [] + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}String", + "value": "b", + "annotation": [] + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "false", + "annotation": [] + } + } + ] + } + }, + { + "name": "GreaterOrEqualBA", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "GreaterOrEqual", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}String", + "value": "b", + "annotation": [] + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}String", + "value": "a", + "annotation": [] + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "true", + "annotation": [] + } + } + ] + } + }, + { + "name": "GreaterOrEqualAThanAA", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "GreaterOrEqual", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}String", + "value": "a", + "annotation": [] + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}String", + "value": "aa", + "annotation": [] + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "false", + "annotation": [] + } + } + ] + } + }, + { + "name": "GreaterOrEqualAAThanA", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "GreaterOrEqual", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}String", + "value": "aa", + "annotation": [] + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}String", + "value": "a", + "annotation": [] + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "true", + "annotation": [] + } + } + ] + } + }, + { + "name": "GreaterOrEqualJackJill", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "GreaterOrEqual", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}String", + "value": "Jack", + "annotation": [] + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}String", + "value": "Jill", + "annotation": [] + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "false", + "annotation": [] + } + } + ] + } + }, + { + "name": "DateTimeGreaterEqTrue", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "GreaterOrEqual", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2012", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "12", + "annotation": [] + }, + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + } + }, + { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2012", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + }, + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + } + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "true", + "annotation": [] + } + } + ] + } + }, + { + "name": "DateTimeGreaterEqTrue2", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "GreaterOrEqual", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2012", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "12", + "annotation": [] + }, + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + } + }, + { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2012", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "12", + "annotation": [] + }, + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + } + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "true", + "annotation": [] + } + } + ] + } + }, + { + "name": "DateTimeGreaterEqFalse", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "GreaterOrEqual", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2012", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "12", + "annotation": [] + }, + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + } + }, + { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2012", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "13", + "annotation": [] + }, + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + } + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "false", + "annotation": [] + } + } + ] + } + }, + { + "name": "TimeGreaterEqTrue", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "GreaterOrEqual", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Time", + "annotation": [], + "signature": [], + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + } + }, + { + "type": "Time", + "annotation": [], + "signature": [], + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + } + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "true", + "annotation": [] + } + } + ] + } + }, + { + "name": "TimeGreaterEqTrue2", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "GreaterOrEqual", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Time", + "annotation": [], + "signature": [], + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + } + }, + { + "type": "Time", + "annotation": [], + "signature": [], + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + } + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "true", + "annotation": [] + } + } + ] + } + }, + { + "name": "TimeGreaterEqFalse", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "GreaterOrEqual", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Time", + "annotation": [], + "signature": [], + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + } + }, + { + "type": "Time", + "annotation": [], + "signature": [], + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + } + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "false", + "annotation": [] + } + } + ] + } + }, + { + "name": "UncertaintyGreaterEqualNull", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "GreaterOrEqual", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2014", + "annotation": [] + } + }, + { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2014", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "15", + "annotation": [] + } + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Null", + "annotation": [] + } + } + ] + } + }, + { + "name": "UncertaintyGreaterEqualTrue", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "GreaterOrEqual", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2015", + "annotation": [] + } + }, + { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2014", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "15", + "annotation": [] + } + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "true", + "annotation": [] + } + } + ] + } + }, + { + "name": "UncertaintyGreaterEqualFalse", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "GreaterOrEqual", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2013", + "annotation": [] + } + }, + { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2014", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "15", + "annotation": [] + } + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "false", + "annotation": [] + } + } + ] + } + } + ] + } + }, + { + "name": "Less", + "context": "Patient", + "accessLevel": "Public", + "annotation": [], + "expression": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "LessZZ", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Less", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "false", + "annotation": [] + } + } + ] + } + }, + { + "name": "LessZ1", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Less", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "true", + "annotation": [] + } + } + ] + } + }, + { + "name": "LessZNeg1", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Less", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + { + "type": "Negate", + "annotation": [], + "signature": [], + "operand": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + } + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "false", + "annotation": [] + } + } + ] + } + }, + { + "name": "LessDecZZ", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Less", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "0.0", + "annotation": [] + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "0.0", + "annotation": [] + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "false", + "annotation": [] + } + } + ] + } + }, + { + "name": "LessDecZ1", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Less", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "0.0", + "annotation": [] + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "1.0", + "annotation": [] + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "true", + "annotation": [] + } + } + ] + } + }, + { + "name": "LessDecZNeg1", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Less", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "0.0", + "annotation": [] + }, + { + "type": "Negate", + "annotation": [], + "signature": [], + "operand": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "1.0", + "annotation": [] + } + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "false", + "annotation": [] + } + } + ] + } + }, + { + "name": "LessDec1Int2", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Less", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "1.0", + "annotation": [] + }, + { + "type": "ToDecimal", + "annotation": [], + "signature": [], + "operand": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2", + "annotation": [] + } + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "true", + "annotation": [] + } + } + ] + } + }, + { + "name": "LessCM0CM0", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Less", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Quantity", + "value": 0, + "unit": "cm", + "annotation": [] + }, + { + "type": "Quantity", + "value": 0, + "unit": "cm", + "annotation": [] + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "false", + "annotation": [] + } + } + ] + } + }, + { + "name": "LessCM0CM1", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Less", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Quantity", + "value": 0, + "unit": "cm", + "annotation": [] + }, + { + "type": "Quantity", + "value": 1, + "unit": "cm", + "annotation": [] + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "true", + "annotation": [] + } + } + ] + } + }, + { + "name": "LessCM0NegCM1", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Less", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Quantity", + "value": 0, + "unit": "cm", + "annotation": [] + }, + { + "type": "Negate", + "annotation": [], + "signature": [], + "operand": { + "type": "Quantity", + "value": 1, + "unit": "cm", + "annotation": [] + } + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "false", + "annotation": [] + } + } + ] + } + }, + { + "name": "LessM1CM1", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Less", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Quantity", + "value": 1, + "unit": "m", + "annotation": [] + }, + { + "type": "Quantity", + "value": 1, + "unit": "cm", + "annotation": [] + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "false", + "annotation": [] + } + } + ] + } + }, + { + "name": "LessM1CM10", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Less", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Quantity", + "value": 1, + "unit": "m", + "annotation": [] + }, + { + "type": "Quantity", + "value": 10, + "unit": "cm", + "annotation": [] + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "false", + "annotation": [] + } + } + ] + } + }, + { + "name": "LessAA", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Less", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}String", + "value": "a", + "annotation": [] + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}String", + "value": "a", + "annotation": [] + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "false", + "annotation": [] + } + } + ] + } + }, + { + "name": "LessAB", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Less", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}String", + "value": "a", + "annotation": [] + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}String", + "value": "b", + "annotation": [] + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "true", + "annotation": [] + } + } + ] + } + }, + { + "name": "LessBA", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Less", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}String", + "value": "b", + "annotation": [] + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}String", + "value": "a", + "annotation": [] + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "false", + "annotation": [] + } + } + ] + } + }, + { + "name": "LessAThanAA", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Less", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}String", + "value": "a", + "annotation": [] + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}String", + "value": "aa", + "annotation": [] + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "true", + "annotation": [] + } + } + ] + } + }, + { + "name": "LessAAThanA", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Less", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}String", + "value": "aa", + "annotation": [] + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}String", + "value": "a", + "annotation": [] + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "false", + "annotation": [] + } + } + ] + } + }, + { + "name": "LessJackJill", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Less", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}String", + "value": "Jack", + "annotation": [] + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}String", + "value": "Jill", + "annotation": [] + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "true", + "annotation": [] + } + } + ] + } + }, + { + "name": "DateTimeLessTrue", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Less", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2012", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "9", + "annotation": [] + } + }, + { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2012", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + } + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "true", + "annotation": [] + } + } + ] + } + }, + { + "name": "DateTimeLessFalse", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Less", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2012", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "14", + "annotation": [] + } + }, + { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2012", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "13", + "annotation": [] + } + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "false", + "annotation": [] + } + } + ] + } + }, + { + "name": "TimeLessTrue", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Less", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Time", + "annotation": [], + "signature": [], + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + } + }, + { + "type": "Time", + "annotation": [], + "signature": [], + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2", + "annotation": [] + } + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "true", + "annotation": [] + } + } + ] + } + }, + { + "name": "TimeLessFalse", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Less", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Time", + "annotation": [], + "signature": [], + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + } + }, + { + "type": "Time", + "annotation": [], + "signature": [], + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + } + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "false", + "annotation": [] + } + } + ] + } + }, + { + "name": "UncertaintyLessNull", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Less", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2014", + "annotation": [] + } + }, + { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2014", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "15", + "annotation": [] + } + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Null", + "annotation": [] + } + } + ] + } + }, + { + "name": "UncertaintyLessTrue", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Less", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2013", + "annotation": [] + } + }, + { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2014", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "15", + "annotation": [] + } + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "true", + "annotation": [] + } + } + ] + } + }, + { + "name": "UncertaintyLessFalse", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Less", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2015", + "annotation": [] + } + }, + { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2014", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "15", + "annotation": [] + } + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "false", + "annotation": [] + } + } + ] + } + } + ] + } + }, + { + "name": "Less Or Equal", + "context": "Patient", + "accessLevel": "Public", + "annotation": [], + "expression": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "LessOrEqualZZ", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "LessOrEqual", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "true", + "annotation": [] + } + } + ] + } + }, + { + "name": "LessOrEqualZ1", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "LessOrEqual", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "true", + "annotation": [] + } + } + ] + } + }, + { + "name": "LessOrEqualZNeg1", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "LessOrEqual", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + { + "type": "Negate", + "annotation": [], + "signature": [], + "operand": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + } + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "false", + "annotation": [] + } + } + ] + } + }, + { + "name": "LessOrEqualDecZZ", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "LessOrEqual", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "0.0", + "annotation": [] + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "0.0", + "annotation": [] + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "true", + "annotation": [] + } + } + ] + } + }, + { + "name": "LessOrEqualDecZ1", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "LessOrEqual", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "0.0", + "annotation": [] + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "1.0", + "annotation": [] + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "true", + "annotation": [] + } + } + ] + } + }, + { + "name": "LessOrEqualDecZNeg1", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "LessOrEqual", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "0.0", + "annotation": [] + }, + { + "type": "Negate", + "annotation": [], + "signature": [], + "operand": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "1.0", + "annotation": [] + } + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "false", + "annotation": [] + } + } + ] + } + }, + { + "name": "LessOrEqualDec1Int2", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "LessOrEqual", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "1.0", + "annotation": [] + }, + { + "type": "ToDecimal", + "annotation": [], + "signature": [], + "operand": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2", + "annotation": [] + } + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "true", + "annotation": [] + } + } + ] + } + }, + { + "name": "LessOrEqualCM0CM0", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "LessOrEqual", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Quantity", + "value": 0, + "unit": "cm", + "annotation": [] + }, + { + "type": "Quantity", + "value": 0, + "unit": "cm", + "annotation": [] + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "true", + "annotation": [] + } + } + ] + } + }, + { + "name": "LessOrEqualCM0CM1", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "LessOrEqual", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Quantity", + "value": 0, + "unit": "cm", + "annotation": [] + }, + { + "type": "Quantity", + "value": 1, + "unit": "cm", + "annotation": [] + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "true", + "annotation": [] + } + } + ] + } + }, + { + "name": "LessOrEqualCM0NegCM1", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "LessOrEqual", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Quantity", + "value": 0, + "unit": "cm", + "annotation": [] + }, + { + "type": "Negate", + "annotation": [], + "signature": [], + "operand": { + "type": "Quantity", + "value": 1, + "unit": "cm", + "annotation": [] + } + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "false", + "annotation": [] + } + } + ] + } + }, + { + "name": "LessOrEqualM1CM1", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "LessOrEqual", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Quantity", + "value": 1, + "unit": "m", + "annotation": [] + }, + { + "type": "Quantity", + "value": 1, + "unit": "cm", + "annotation": [] + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "false", + "annotation": [] + } + } + ] + } + }, + { + "name": "LessOrEqualM1CM10", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "LessOrEqual", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Quantity", + "value": 1, + "unit": "m", + "annotation": [] + }, + { + "type": "Quantity", + "value": 10, + "unit": "cm", + "annotation": [] + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "false", + "annotation": [] + } + } + ] + } + }, + { + "name": "LessOrEqualAA", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "LessOrEqual", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}String", + "value": "a", + "annotation": [] + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}String", + "value": "a", + "annotation": [] + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "true", + "annotation": [] + } + } + ] + } + }, + { + "name": "LessOrEqualAB", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "LessOrEqual", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}String", + "value": "a", + "annotation": [] + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}String", + "value": "b", + "annotation": [] + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "true", + "annotation": [] + } + } + ] + } + }, + { + "name": "LessOrEqualBA", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "LessOrEqual", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}String", + "value": "b", + "annotation": [] + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}String", + "value": "a", + "annotation": [] + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "false", + "annotation": [] + } + } + ] + } + }, + { + "name": "LessOrEqualAThanAA", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "LessOrEqual", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}String", + "value": "a", + "annotation": [] + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}String", + "value": "aa", + "annotation": [] + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "true", + "annotation": [] + } + } + ] + } + }, + { + "name": "LessOrEqualAAThanA", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "LessOrEqual", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}String", + "value": "aa", + "annotation": [] + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}String", + "value": "a", + "annotation": [] + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "false", + "annotation": [] + } + } + ] + } + }, + { + "name": "LessOrEqualJackJill", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "LessOrEqual", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}String", + "value": "Jack", + "annotation": [] + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}String", + "value": "Jill", + "annotation": [] + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "true", + "annotation": [] + } + } + ] + } + }, + { + "name": "DateTimeLessEqTrue", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "LessOrEqual", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2012", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "9", + "annotation": [] + }, + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + } + }, + { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2012", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + }, + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + } + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "true", + "annotation": [] + } + } + ] + } + }, + { + "name": "DateTimeLessEqTrue2", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "LessOrEqual", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2012", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "12", + "annotation": [] + }, + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + } + }, + { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2012", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "12", + "annotation": [] + }, + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + } + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "true", + "annotation": [] + } + } + ] + } + }, + { + "name": "DateTimeLessEqFalse", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "LessOrEqual", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2012", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "12", + "annotation": [] + }, + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + } + }, + { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2012", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "12", + "annotation": [] + }, + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + } + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "false", + "annotation": [] + } + } + ] + } + }, + { + "name": "TimeLessEqTrue", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "LessOrEqual", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Time", + "annotation": [], + "signature": [], + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + } + }, + { + "type": "Time", + "annotation": [], + "signature": [], + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2", + "annotation": [] + } + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "true", + "annotation": [] + } + } + ] + } + }, + { + "name": "TimeLessEqTrue2", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "LessOrEqual", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Time", + "annotation": [], + "signature": [], + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + } + }, + { + "type": "Time", + "annotation": [], + "signature": [], + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + } + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "true", + "annotation": [] + } + } + ] + } + }, + { + "name": "TimeLessEqFalse", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "LessOrEqual", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Time", + "annotation": [], + "signature": [], + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2", + "annotation": [] + } + }, + { + "type": "Time", + "annotation": [], + "signature": [], + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + } + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "false", + "annotation": [] + } + } + ] + } + }, + { + "name": "UncertaintyLessEqualNull", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "LessOrEqual", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2014", + "annotation": [] + } + }, + { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2014", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "15", + "annotation": [] + } + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Null", + "annotation": [] + } + } + ] + } + }, + { + "name": "UncertaintyLessEqualTrue", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "LessOrEqual", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2013", + "annotation": [] + } + }, + { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2014", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "15", + "annotation": [] + } + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "true", + "annotation": [] + } + } + ] + } + }, + { + "name": "UncertaintyLessEqualFalse", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "LessOrEqual", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2015", + "annotation": [] + } + }, + { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2014", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "15", + "annotation": [] + } + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "false", + "annotation": [] + } + } + ] + } + } + ] + } + }, + { + "name": "Equivalent", + "context": "Patient", + "accessLevel": "Public", + "annotation": [], + "expression": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "EquivTrueTrue", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Equivalent", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "true", + "annotation": [] + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "true", + "annotation": [] + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "true", + "annotation": [] + } + } + ] + } + }, + { + "name": "EquivTrueFalse", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Equivalent", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "true", + "annotation": [] + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "false", + "annotation": [] + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "false", + "annotation": [] + } + } + ] + } + }, + { + "name": "EquivFalseFalse", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Equivalent", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "false", + "annotation": [] + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "false", + "annotation": [] + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "true", + "annotation": [] + } + } + ] + } + }, + { + "name": "EquivFalseTrue", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Equivalent", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "false", + "annotation": [] + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "true", + "annotation": [] + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "false", + "annotation": [] + } + } + ] + } + }, + { + "name": "EquivNullNull", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Equivalent", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "As", + "strict": false, + "annotation": [], + "signature": [], + "operand": { + "type": "Null", + "annotation": [] + }, + "asTypeSpecifier": { + "type": "NamedTypeSpecifier", + "name": "{urn:hl7-org:elm-types:r1}String", + "annotation": [] + } + }, + { + "type": "As", + "asType": "{urn:hl7-org:elm-types:r1}String", + "annotation": [], + "signature": [], + "operand": { + "type": "Null", + "annotation": [] + } + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "true", + "annotation": [] + } + } + ] + } + }, + { + "name": "EquivTrueNull", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Equivalent", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "true", + "annotation": [] + }, + { + "type": "As", + "asType": "{urn:hl7-org:elm-types:r1}Boolean", + "annotation": [], + "signature": [], + "operand": { + "type": "Null", + "annotation": [] + } + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "false", + "annotation": [] + } + } + ] + } + }, + { + "name": "EquivNullTrue", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Equivalent", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "As", + "asType": "{urn:hl7-org:elm-types:r1}Boolean", + "annotation": [], + "signature": [], + "operand": { + "type": "Null", + "annotation": [] + } + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "true", + "annotation": [] + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "false", + "annotation": [] + } + } + ] + } + }, + { + "name": "EquivInt1Int1", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Equivalent", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "true", + "annotation": [] + } + } + ] + } + }, + { + "name": "EquivInt1Int2", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Equivalent", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2", + "annotation": [] + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "false", + "annotation": [] + } + } + ] + } + }, + { + "name": "EquivStringAStringA", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Equivalent", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}String", + "value": "a", + "annotation": [] + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}String", + "value": "a", + "annotation": [] + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "true", + "annotation": [] + } + } + ] + } + }, + { + "name": "EquivStringAStringB", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Equivalent", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}String", + "value": "a", + "annotation": [] + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}String", + "value": "b", + "annotation": [] + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "false", + "annotation": [] + } + } + ] + } + }, + { + "name": "EquivFloat1Float1", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Equivalent", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "1.0", + "annotation": [] + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "1.0", + "annotation": [] + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "true", + "annotation": [] + } + } + ] + } + }, + { + "name": "EquivFloat1Float2", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Equivalent", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "1.0", + "annotation": [] + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "2.0", + "annotation": [] + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "false", + "annotation": [] + } + } + ] + } + }, + { + "name": "EquivFloat1Int1", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Equivalent", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "1.0", + "annotation": [] + }, + { + "type": "ToDecimal", + "annotation": [], + "signature": [], + "operand": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + } + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "true", + "annotation": [] + } + } + ] + } + }, + { + "name": "EquivFloat1Int2", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Equivalent", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "1.0", + "annotation": [] + }, + { + "type": "ToDecimal", + "annotation": [], + "signature": [], + "operand": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2", + "annotation": [] + } + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "false", + "annotation": [] + } + } + ] + } + }, + { + "name": "EquivEqCM1CM1", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Equivalent", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Quantity", + "value": 1, + "unit": "cm", + "annotation": [] + }, + { + "type": "Quantity", + "value": 1, + "unit": "cm", + "annotation": [] + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "true", + "annotation": [] + } + } + ] + } + }, + { + "name": "EquivEqCM1M01", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Equivalent", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Quantity", + "value": 1, + "unit": "cm", + "annotation": [] + }, + { + "type": "Quantity", + "value": 0.01, + "unit": "m", + "annotation": [] + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "true", + "annotation": [] + } + } + ] + } + }, + { + "name": "EquivTupleJohnJohn", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Equivalent", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "Id", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + } + }, + { + "name": "Name", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}String", + "value": "John", + "annotation": [] + } } - } ] - } - }, { - "name" : "output", - "value" : { - "type" : "Null", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "UncertaintyGreaterTrue", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Greater", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2015", - "type" : "Literal", - "annotation" : [ ] + ] + }, + { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "Id", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + } + }, + { + "name": "Name", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}String", + "value": "John", + "annotation": [] + } } - }, { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2014", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal", - "annotation" : [ ] + ] + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "true", + "annotation": [] + } + } + ] + } + }, + { + "name": "EquivTupleJohnJohnWithNulls", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Equivalent", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "Id", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + } + }, + { + "name": "Name", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}String", + "value": "John", + "annotation": [] + } + }, + { + "name": "Position", + "value": { + "type": "Null", + "annotation": [] + } } - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "true", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "UncertaintyGreaterFalse", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Greater", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2013", - "type" : "Literal", - "annotation" : [ ] + ] + }, + { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "Id", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + } + }, + { + "name": "Name", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}String", + "value": "John", + "annotation": [] + } + }, + { + "name": "Position", + "value": { + "type": "Null", + "annotation": [] + } } - }, { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2014", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal", - "annotation" : [ ] + ] + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "true", + "annotation": [] + } + } + ] + } + }, + { + "name": "EquivTupleJohnJane", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Equivalent", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "Id", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + } + }, + { + "name": "Name", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}String", + "value": "John", + "annotation": [] + } } - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "false", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - } ] - } - }, { - "name" : "Greater Or Equal", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ ], - "expression" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "GreaterOrEqualZZ", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "GreaterOrEqual", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "true", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "GreaterOrEqualZ1", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "GreaterOrEqual", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "false", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "GreaterOrEqualZNeg1", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "GreaterOrEqual", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, { - "type" : "Negate", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] + ] + }, + { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "Id", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2", + "annotation": [] + } + }, + { + "name": "Name", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}String", + "value": "Jane", + "annotation": [] + } } - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "true", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "GreaterOrEqualDecZZ", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "GreaterOrEqual", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "0.0", - "type" : "Literal", - "annotation" : [ ] - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "0.0", - "type" : "Literal", - "annotation" : [ ] - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "true", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "GreaterOrEqualDecZ1", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "GreaterOrEqual", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "0.0", - "type" : "Literal", - "annotation" : [ ] - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "1.0", - "type" : "Literal", - "annotation" : [ ] - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "false", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "GreaterOrEqualDecZNeg1", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "GreaterOrEqual", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "0.0", - "type" : "Literal", - "annotation" : [ ] - }, { - "type" : "Negate", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "1.0", - "type" : "Literal", - "annotation" : [ ] + ] + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "false", + "annotation": [] + } + } + ] + } + }, + { + "name": "EquivTupleJohn1John2", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Equivalent", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "Id", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + } + }, + { + "name": "Name", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}String", + "value": "John", + "annotation": [] + } } - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "true", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "GreaterOrEqualDec1Int2", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "GreaterOrEqual", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "1.0", - "type" : "Literal", - "annotation" : [ ] - }, { - "type" : "ToDecimal", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal", - "annotation" : [ ] + ] + }, + { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "Id", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2", + "annotation": [] + } + }, + { + "name": "Name", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}String", + "value": "John", + "annotation": [] + } } - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "false", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "GreaterOrEqualCM0CM0", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "GreaterOrEqual", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "value" : 0, - "unit" : "cm", - "type" : "Quantity", - "annotation" : [ ] - }, { - "value" : 0, - "unit" : "cm", - "type" : "Quantity", - "annotation" : [ ] - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "true", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "GreaterOrEqualCM0CM1", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "GreaterOrEqual", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "value" : 0, - "unit" : "cm", - "type" : "Quantity", - "annotation" : [ ] - }, { - "value" : 1, - "unit" : "cm", - "type" : "Quantity", - "annotation" : [ ] - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "false", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "GreaterOrEqualCM0NegCM1", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "GreaterOrEqual", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "value" : 0, - "unit" : "cm", - "type" : "Quantity", - "annotation" : [ ] - }, { - "type" : "Negate", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "value" : 1, - "unit" : "cm", - "type" : "Quantity", - "annotation" : [ ] + ] + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "false", + "annotation": [] + } + } + ] + } + }, + { + "name": "EquivDateTimeTodayToday", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Equivalent", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Today", + "annotation": [], + "signature": [] + }, + { + "type": "Today", + "annotation": [], + "signature": [] + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "true", + "annotation": [] + } + } + ] + } + }, + { + "name": "EquivDateTimeTodayYesterday", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Equivalent", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Today", + "annotation": [], + "signature": [] + }, + { + "type": "Subtract", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Today", + "annotation": [], + "signature": [] + }, + { + "type": "Quantity", + "value": 1, + "unit": "days", + "annotation": [] } - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "true", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "GreaterOrEqualM1CM1", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "GreaterOrEqual", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "value" : 1, - "unit" : "m", - "type" : "Quantity", - "annotation" : [ ] - }, { - "value" : 1, - "unit" : "cm", - "type" : "Quantity", - "annotation" : [ ] - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "true", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "GreaterOrEqualM1CM10", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "GreaterOrEqual", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "value" : 1, - "unit" : "m", - "type" : "Quantity", - "annotation" : [ ] - }, { - "value" : 10, - "unit" : "cm", - "type" : "Quantity", - "annotation" : [ ] - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "true", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "GreaterOrEqualAA", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "GreaterOrEqual", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "a", - "type" : "Literal", - "annotation" : [ ] - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "a", - "type" : "Literal", - "annotation" : [ ] - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "true", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "GreaterOrEqualAB", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "GreaterOrEqual", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "a", - "type" : "Literal", - "annotation" : [ ] - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "b", - "type" : "Literal", - "annotation" : [ ] - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "false", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "GreaterOrEqualBA", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "GreaterOrEqual", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "b", - "type" : "Literal", - "annotation" : [ ] - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "a", - "type" : "Literal", - "annotation" : [ ] - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "true", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "GreaterOrEqualAThanAA", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "GreaterOrEqual", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "a", - "type" : "Literal", - "annotation" : [ ] - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "aa", - "type" : "Literal", - "annotation" : [ ] - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "false", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "GreaterOrEqualAAThanA", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "GreaterOrEqual", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "aa", - "type" : "Literal", - "annotation" : [ ] - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "a", - "type" : "Literal", - "annotation" : [ ] - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "true", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "GreaterOrEqualJackJill", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "GreaterOrEqual", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "Jack", - "type" : "Literal", - "annotation" : [ ] - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "Jill", - "type" : "Literal", - "annotation" : [ ] - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "false", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "DateTimeGreaterEqTrue", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "GreaterOrEqual", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "12", - "type" : "Literal", - "annotation" : [ ] - }, - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - }, - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "true", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "DateTimeGreaterEqTrue2", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "GreaterOrEqual", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "12", - "type" : "Literal", - "annotation" : [ ] - }, - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "12", - "type" : "Literal", - "annotation" : [ ] - }, - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "true", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "DateTimeGreaterEqFalse", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "GreaterOrEqual", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "12", - "type" : "Literal", - "annotation" : [ ] - }, - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "13", - "type" : "Literal", - "annotation" : [ ] - }, - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "false", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "TimeGreaterEqTrue", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "GreaterOrEqual", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "type" : "Time", - "annotation" : [ ], - "signature" : [ ], - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] + ] + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "false", + "annotation": [] + } + } + ] + } + }, + { + "name": "EquivTime10A10A", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Equivalent", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Time", + "annotation": [], + "signature": [], + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + } + }, + { + "type": "Time", + "annotation": [], + "signature": [], + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + } + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "true", + "annotation": [] + } + } + ] + } + }, + { + "name": "EquivTime10A10P", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Equivalent", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Time", + "annotation": [], + "signature": [], + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + } + }, + { + "type": "Time", + "annotation": [], + "signature": [], + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "22", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + } + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "false", + "annotation": [] + } + } + ] + } + } + ] + } + }, + { + "name": "Not Equal", + "context": "Patient", + "accessLevel": "Public", + "annotation": [], + "expression": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "SimpleNotEqTrueTrue", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Not", + "annotation": [], + "signature": [], + "operand": { + "type": "Equal", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "true", + "annotation": [] + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "true", + "annotation": [] + } + ] + } + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "false", + "annotation": [] + } + } + ] + } + }, + { + "name": "SimpleNotEqTrueFalse", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Not", + "annotation": [], + "signature": [], + "operand": { + "type": "Equal", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "true", + "annotation": [] + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "false", + "annotation": [] + } + ] + } + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "true", + "annotation": [] + } + } + ] + } + }, + { + "name": "SimpleNotEqFalseFalse", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Not", + "annotation": [], + "signature": [], + "operand": { + "type": "Equal", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "false", + "annotation": [] + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "false", + "annotation": [] + } + ] + } + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "false", + "annotation": [] + } + } + ] + } + }, + { + "name": "SimpleNotEqFalseTrue", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Not", + "annotation": [], + "signature": [], + "operand": { + "type": "Equal", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "false", + "annotation": [] + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "true", + "annotation": [] + } + ] + } + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "true", + "annotation": [] + } + } + ] + } + }, + { + "name": "SimpleNotEqNullNull", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Not", + "annotation": [], + "signature": [], + "operand": { + "type": "Equal", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "As", + "strict": false, + "annotation": [], + "signature": [], + "operand": { + "type": "Null", + "annotation": [] + }, + "asTypeSpecifier": { + "type": "NamedTypeSpecifier", + "name": "{urn:hl7-org:elm-types:r1}String", + "annotation": [] } - }, { - "type" : "Time", - "annotation" : [ ], - "signature" : [ ], - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] + }, + { + "type": "As", + "asType": "{urn:hl7-org:elm-types:r1}String", + "annotation": [], + "signature": [], + "operand": { + "type": "Null", + "annotation": [] } - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "true", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "TimeGreaterEqTrue2", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "GreaterOrEqual", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "type" : "Time", - "annotation" : [ ], - "signature" : [ ], - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "type" : "Time", - "annotation" : [ ], - "signature" : [ ], - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "true", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "TimeGreaterEqFalse", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "GreaterOrEqual", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "type" : "Time", - "annotation" : [ ], - "signature" : [ ], - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "type" : "Time", - "annotation" : [ ], - "signature" : [ ], - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "false", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "UncertaintyGreaterEqualNull", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "GreaterOrEqual", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2014", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2014", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal", - "annotation" : [ ] + } + ] + } + } + }, + { + "name": "output", + "value": { + "type": "Null", + "annotation": [] + } + } + ] + } + }, + { + "name": "SimpleNotEqTrueNull", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Not", + "annotation": [], + "signature": [], + "operand": { + "type": "Equal", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "true", + "annotation": [] + }, + { + "type": "As", + "asType": "{urn:hl7-org:elm-types:r1}Boolean", + "annotation": [], + "signature": [], + "operand": { + "type": "Null", + "annotation": [] } - } ] - } - }, { - "name" : "output", - "value" : { - "type" : "Null", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "UncertaintyGreaterEqualTrue", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "GreaterOrEqual", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2015", - "type" : "Literal", - "annotation" : [ ] + } + ] + } + } + }, + { + "name": "output", + "value": { + "type": "Null", + "annotation": [] + } + } + ] + } + }, + { + "name": "SimpleNotEqNullTrue", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Not", + "annotation": [], + "signature": [], + "operand": { + "type": "Equal", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "As", + "asType": "{urn:hl7-org:elm-types:r1}Boolean", + "annotation": [], + "signature": [], + "operand": { + "type": "Null", + "annotation": [] } - }, { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2014", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal", - "annotation" : [ ] + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "true", + "annotation": [] + } + ] + } + } + }, + { + "name": "output", + "value": { + "type": "Null", + "annotation": [] + } + } + ] + } + }, + { + "name": "SimpleNotEqInt1Int1", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Not", + "annotation": [], + "signature": [], + "operand": { + "type": "Equal", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + } + ] + } + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "false", + "annotation": [] + } + } + ] + } + }, + { + "name": "SimpleNotEqInt1Int2", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Not", + "annotation": [], + "signature": [], + "operand": { + "type": "Equal", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2", + "annotation": [] + } + ] + } + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "true", + "annotation": [] + } + } + ] + } + }, + { + "name": "SimpleNotEqStringAStringA", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Not", + "annotation": [], + "signature": [], + "operand": { + "type": "Equal", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}String", + "value": "a", + "annotation": [] + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}String", + "value": "a", + "annotation": [] + } + ] + } + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "false", + "annotation": [] + } + } + ] + } + }, + { + "name": "SimpleNotEqStringAStringB", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Not", + "annotation": [], + "signature": [], + "operand": { + "type": "Equal", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}String", + "value": "a", + "annotation": [] + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}String", + "value": "b", + "annotation": [] + } + ] + } + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "true", + "annotation": [] + } + } + ] + } + }, + { + "name": "SimpleNotEqFloat1Float1", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Not", + "annotation": [], + "signature": [], + "operand": { + "type": "Equal", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "1.0", + "annotation": [] + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "1.0", + "annotation": [] + } + ] + } + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "false", + "annotation": [] + } + } + ] + } + }, + { + "name": "SimpleNotEqFloat1Float2", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Not", + "annotation": [], + "signature": [], + "operand": { + "type": "Equal", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "1.0", + "annotation": [] + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "2.0", + "annotation": [] + } + ] + } + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "true", + "annotation": [] + } + } + ] + } + }, + { + "name": "SimpleNotEqFloat1Int1", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Not", + "annotation": [], + "signature": [], + "operand": { + "type": "Equal", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "1.0", + "annotation": [] + }, + { + "type": "ToDecimal", + "annotation": [], + "signature": [], + "operand": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] } - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "true", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "UncertaintyGreaterEqualFalse", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "GreaterOrEqual", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2013", - "type" : "Literal", - "annotation" : [ ] + } + ] + } + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "false", + "annotation": [] + } + } + ] + } + }, + { + "name": "SimpleNotEqFloat1Int2", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Not", + "annotation": [], + "signature": [], + "operand": { + "type": "Equal", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "1.0", + "annotation": [] + }, + { + "type": "ToDecimal", + "annotation": [], + "signature": [], + "operand": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2", + "annotation": [] } - }, { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2014", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal", - "annotation" : [ ] + } + ] + } + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "true", + "annotation": [] + } + } + ] + } + }, + { + "name": "QuantityNotEqCM1CM1", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Not", + "annotation": [], + "signature": [], + "operand": { + "type": "Equal", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Quantity", + "value": 1, + "unit": "cm", + "annotation": [] + }, + { + "type": "Quantity", + "value": 1, + "unit": "cm", + "annotation": [] + } + ] + } + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "false", + "annotation": [] + } + } + ] + } + }, + { + "name": "QuantityNotEqCM1M01", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Not", + "annotation": [], + "signature": [], + "operand": { + "type": "Equal", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Quantity", + "value": 1, + "unit": "cm", + "annotation": [] + }, + { + "type": "Quantity", + "value": 0.01, + "unit": "m", + "annotation": [] + } + ] + } + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "false", + "annotation": [] + } + } + ] + } + }, + { + "name": "TupleNotEqJohnJohn", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Not", + "annotation": [], + "signature": [], + "operand": { + "type": "Equal", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "Id", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + } + }, + { + "name": "Name", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}String", + "value": "John", + "annotation": [] + } + } + ] + }, + { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "Id", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + } + }, + { + "name": "Name", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}String", + "value": "John", + "annotation": [] + } + } + ] + } + ] + } + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "false", + "annotation": [] + } + } + ] + } + }, + { + "name": "TupleNotEqJohnJane", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Not", + "annotation": [], + "signature": [], + "operand": { + "type": "Equal", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "Id", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + } + }, + { + "name": "Name", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}String", + "value": "John", + "annotation": [] + } + } + ] + }, + { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "Id", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2", + "annotation": [] + } + }, + { + "name": "Name", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}String", + "value": "Jane", + "annotation": [] + } + } + ] + } + ] + } + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "true", + "annotation": [] + } + } + ] + } + }, + { + "name": "TupleNotEqJohn1John2", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Not", + "annotation": [], + "signature": [], + "operand": { + "type": "Equal", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "Id", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + } + }, + { + "name": "Name", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}String", + "value": "John", + "annotation": [] + } + } + ] + }, + { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "Id", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2", + "annotation": [] + } + }, + { + "name": "Name", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}String", + "value": "John", + "annotation": [] + } + } + ] + } + ] + } + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "true", + "annotation": [] + } + } + ] + } + }, + { + "name": "TupleNotEqJohn1John2WithNullName", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Not", + "annotation": [], + "signature": [], + "operand": { + "type": "Equal", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "Id", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + } + }, + { + "name": "Name", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}String", + "value": "John", + "annotation": [] + } + } + ] + }, + { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "Id", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2", + "annotation": [] + } + }, + { + "name": "Name", + "value": { + "type": "Null", + "annotation": [] + } + } + ] + } + ] + } + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "true", + "annotation": [] + } + } + ] + } + }, + { + "name": "TupleNotEqDifferingNamesWithOneNullId", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Not", + "annotation": [], + "signature": [], + "operand": { + "type": "Equal", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "Id", + "value": { + "type": "Null", + "annotation": [] + } + }, + { + "name": "Name", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}String", + "value": "John", + "annotation": [] + } + } + ] + }, + { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "Id", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + } + }, + { + "name": "Name", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}String", + "value": "Joe", + "annotation": [] + } + } + ] + } + ] + } + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "true", + "annotation": [] + } + } + ] + } + }, + { + "name": "TupleNotEqJohn1John1WithBothNamesNull", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Not", + "annotation": [], + "signature": [], + "operand": { + "type": "Equal", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "Id", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + } + }, + { + "name": "Name", + "value": { + "type": "Null", + "annotation": [] + } + } + ] + }, + { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "Id", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + } + }, + { + "name": "Name", + "value": { + "type": "Null", + "annotation": [] + } + } + ] + } + ] + } + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "false", + "annotation": [] + } + } + ] + } + }, + { + "name": "TupleNotEqMatchingNamesWithNullIDs", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Not", + "annotation": [], + "signature": [], + "operand": { + "type": "Equal", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "Id", + "value": { + "type": "Null", + "annotation": [] + } + }, + { + "name": "Name", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}String", + "value": "John", + "annotation": [] + } + } + ] + }, + { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "Id", + "value": { + "type": "Null", + "annotation": [] + } + }, + { + "name": "Name", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}String", + "value": "John", + "annotation": [] + } + } + ] + } + ] + } + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "false", + "annotation": [] + } + } + ] + } + }, + { + "name": "TupleNotEqJohn1John1WithNullName", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Not", + "annotation": [], + "signature": [], + "operand": { + "type": "Equal", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "Id", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + } + }, + { + "name": "Name", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}String", + "value": "John", + "annotation": [] + } + } + ] + }, + { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "Id", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + } + }, + { + "name": "Name", + "value": { + "type": "Null", + "annotation": [] + } + } + ] + } + ] + } + } + }, + { + "name": "output", + "value": { + "type": "Null", + "annotation": [] + } + } + ] + } + }, + { + "name": "DateTimeNotEqTodayToday", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Not", + "annotation": [], + "signature": [], + "operand": { + "type": "Equal", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Today", + "annotation": [], + "signature": [] + }, + { + "type": "Today", + "annotation": [], + "signature": [] + } + ] + } + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "false", + "annotation": [] + } + } + ] + } + }, + { + "name": "DateTimeNotEqTodayYesterday", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Not", + "annotation": [], + "signature": [], + "operand": { + "type": "Equal", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Today", + "annotation": [], + "signature": [] + }, + { + "type": "Subtract", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Today", + "annotation": [], + "signature": [] + }, + { + "type": "Quantity", + "value": 1, + "unit": "days", + "annotation": [] + } + ] + } + ] + } + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "true", + "annotation": [] + } + } + ] + } + }, + { + "name": "TimeNotEq10A10A", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Not", + "annotation": [], + "signature": [], + "operand": { + "type": "Equal", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Time", + "annotation": [], + "signature": [], + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] } - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "false", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - } ] - } - }, { - "name" : "Less", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ ], - "expression" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "LessZZ", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Less", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "false", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "LessZ1", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Less", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "true", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "LessZNeg1", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Less", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, { - "type" : "Negate", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] + }, + { + "type": "Time", + "annotation": [], + "signature": [], + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] } - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "false", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "LessDecZZ", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Less", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "0.0", - "type" : "Literal", - "annotation" : [ ] - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "0.0", - "type" : "Literal", - "annotation" : [ ] - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "false", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "LessDecZ1", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Less", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "0.0", - "type" : "Literal", - "annotation" : [ ] - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "1.0", - "type" : "Literal", - "annotation" : [ ] - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "true", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "LessDecZNeg1", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Less", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "0.0", - "type" : "Literal", - "annotation" : [ ] - }, { - "type" : "Negate", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "1.0", - "type" : "Literal", - "annotation" : [ ] + } + ] + } + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "false", + "annotation": [] + } + } + ] + } + }, + { + "name": "TimeNotEq10A10P", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Not", + "annotation": [], + "signature": [], + "operand": { + "type": "Equal", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Time", + "annotation": [], + "signature": [], + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] } - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "false", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "LessDec1Int2", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Less", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "1.0", - "type" : "Literal", - "annotation" : [ ] - }, { - "type" : "ToDecimal", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal", - "annotation" : [ ] + }, + { + "type": "Time", + "annotation": [], + "signature": [], + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "22", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] } - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "true", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "LessCM0CM0", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Less", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "value" : 0, - "unit" : "cm", - "type" : "Quantity", - "annotation" : [ ] - }, { - "value" : 0, - "unit" : "cm", - "type" : "Quantity", - "annotation" : [ ] - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "false", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "LessCM0CM1", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Less", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "value" : 0, - "unit" : "cm", - "type" : "Quantity", - "annotation" : [ ] - }, { - "value" : 1, - "unit" : "cm", - "type" : "Quantity", - "annotation" : [ ] - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "true", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "LessCM0NegCM1", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Less", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "value" : 0, - "unit" : "cm", - "type" : "Quantity", - "annotation" : [ ] - }, { - "type" : "Negate", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "value" : 1, - "unit" : "cm", - "type" : "Quantity", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "false", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "LessM1CM1", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Less", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "value" : 1, - "unit" : "m", - "type" : "Quantity", - "annotation" : [ ] - }, { - "value" : 1, - "unit" : "cm", - "type" : "Quantity", - "annotation" : [ ] - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "false", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "LessM1CM10", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Less", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "value" : 1, - "unit" : "m", - "type" : "Quantity", - "annotation" : [ ] - }, { - "value" : 10, - "unit" : "cm", - "type" : "Quantity", - "annotation" : [ ] - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "false", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "LessAA", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Less", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "a", - "type" : "Literal", - "annotation" : [ ] - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "a", - "type" : "Literal", - "annotation" : [ ] - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "false", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "LessAB", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Less", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "a", - "type" : "Literal", - "annotation" : [ ] - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "b", - "type" : "Literal", - "annotation" : [ ] - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "true", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "LessBA", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Less", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "b", - "type" : "Literal", - "annotation" : [ ] - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "a", - "type" : "Literal", - "annotation" : [ ] - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "false", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "LessAThanAA", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Less", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "a", - "type" : "Literal", - "annotation" : [ ] - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "aa", - "type" : "Literal", - "annotation" : [ ] - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "true", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "LessAAThanA", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Less", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "aa", - "type" : "Literal", - "annotation" : [ ] - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "a", - "type" : "Literal", - "annotation" : [ ] - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "false", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "LessJackJill", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Less", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "Jack", - "type" : "Literal", - "annotation" : [ ] - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "Jill", - "type" : "Literal", - "annotation" : [ ] - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "true", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "DateTimeLessTrue", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Less", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "9", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "true", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "DateTimeLessFalse", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Less", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "14", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "13", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "false", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "TimeLessTrue", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Less", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "type" : "Time", - "annotation" : [ ], - "signature" : [ ], - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "type" : "Time", - "annotation" : [ ], - "signature" : [ ], - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "true", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "TimeLessFalse", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Less", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "type" : "Time", - "annotation" : [ ], - "signature" : [ ], - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "type" : "Time", - "annotation" : [ ], - "signature" : [ ], - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "false", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "UncertaintyLessNull", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Less", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2014", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2014", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "output", - "value" : { - "type" : "Null", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "UncertaintyLessTrue", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Less", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2013", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2014", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "true", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "UncertaintyLessFalse", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Less", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2015", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2014", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "false", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - } ] - } - }, { - "name" : "Less Or Equal", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ ], - "expression" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "LessOrEqualZZ", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "LessOrEqual", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "true", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "LessOrEqualZ1", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "LessOrEqual", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "true", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "LessOrEqualZNeg1", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "LessOrEqual", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, { - "type" : "Negate", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "false", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "LessOrEqualDecZZ", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "LessOrEqual", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "0.0", - "type" : "Literal", - "annotation" : [ ] - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "0.0", - "type" : "Literal", - "annotation" : [ ] - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "true", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "LessOrEqualDecZ1", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "LessOrEqual", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "0.0", - "type" : "Literal", - "annotation" : [ ] - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "1.0", - "type" : "Literal", - "annotation" : [ ] - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "true", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "LessOrEqualDecZNeg1", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "LessOrEqual", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "0.0", - "type" : "Literal", - "annotation" : [ ] - }, { - "type" : "Negate", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "1.0", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "false", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "LessOrEqualDec1Int2", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "LessOrEqual", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "1.0", - "type" : "Literal", - "annotation" : [ ] - }, { - "type" : "ToDecimal", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "true", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "LessOrEqualCM0CM0", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "LessOrEqual", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "value" : 0, - "unit" : "cm", - "type" : "Quantity", - "annotation" : [ ] - }, { - "value" : 0, - "unit" : "cm", - "type" : "Quantity", - "annotation" : [ ] - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "true", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "LessOrEqualCM0CM1", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "LessOrEqual", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "value" : 0, - "unit" : "cm", - "type" : "Quantity", - "annotation" : [ ] - }, { - "value" : 1, - "unit" : "cm", - "type" : "Quantity", - "annotation" : [ ] - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "true", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "LessOrEqualCM0NegCM1", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "LessOrEqual", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "value" : 0, - "unit" : "cm", - "type" : "Quantity", - "annotation" : [ ] - }, { - "type" : "Negate", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "value" : 1, - "unit" : "cm", - "type" : "Quantity", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "false", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "LessOrEqualM1CM1", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "LessOrEqual", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "value" : 1, - "unit" : "m", - "type" : "Quantity", - "annotation" : [ ] - }, { - "value" : 1, - "unit" : "cm", - "type" : "Quantity", - "annotation" : [ ] - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "false", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "LessOrEqualM1CM10", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "LessOrEqual", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "value" : 1, - "unit" : "m", - "type" : "Quantity", - "annotation" : [ ] - }, { - "value" : 10, - "unit" : "cm", - "type" : "Quantity", - "annotation" : [ ] - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "false", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "LessOrEqualAA", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "LessOrEqual", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "a", - "type" : "Literal", - "annotation" : [ ] - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "a", - "type" : "Literal", - "annotation" : [ ] - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "true", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "LessOrEqualAB", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "LessOrEqual", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "a", - "type" : "Literal", - "annotation" : [ ] - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "b", - "type" : "Literal", - "annotation" : [ ] - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "true", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "LessOrEqualBA", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "LessOrEqual", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "b", - "type" : "Literal", - "annotation" : [ ] - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "a", - "type" : "Literal", - "annotation" : [ ] - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "false", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "LessOrEqualAThanAA", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "LessOrEqual", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "a", - "type" : "Literal", - "annotation" : [ ] - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "aa", - "type" : "Literal", - "annotation" : [ ] - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "true", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "LessOrEqualAAThanA", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "LessOrEqual", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "aa", - "type" : "Literal", - "annotation" : [ ] - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "a", - "type" : "Literal", - "annotation" : [ ] - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "false", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "LessOrEqualJackJill", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "LessOrEqual", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "Jack", - "type" : "Literal", - "annotation" : [ ] - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "Jill", - "type" : "Literal", - "annotation" : [ ] - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "true", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "DateTimeLessEqTrue", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "LessOrEqual", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "9", - "type" : "Literal", - "annotation" : [ ] - }, - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - }, - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "true", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "DateTimeLessEqTrue2", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "LessOrEqual", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "12", - "type" : "Literal", - "annotation" : [ ] - }, - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "12", - "type" : "Literal", - "annotation" : [ ] - }, - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "true", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "DateTimeLessEqFalse", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "LessOrEqual", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "12", - "type" : "Literal", - "annotation" : [ ] - }, - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "12", - "type" : "Literal", - "annotation" : [ ] - }, - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "false", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "TimeLessEqTrue", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "LessOrEqual", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "type" : "Time", - "annotation" : [ ], - "signature" : [ ], - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "type" : "Time", - "annotation" : [ ], - "signature" : [ ], - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "true", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "TimeLessEqTrue2", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "LessOrEqual", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "type" : "Time", - "annotation" : [ ], - "signature" : [ ], - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "type" : "Time", - "annotation" : [ ], - "signature" : [ ], - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "true", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "TimeLessEqFalse", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "LessOrEqual", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "type" : "Time", - "annotation" : [ ], - "signature" : [ ], - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "type" : "Time", - "annotation" : [ ], - "signature" : [ ], - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "false", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "UncertaintyLessEqualNull", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "LessOrEqual", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2014", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2014", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "output", - "value" : { - "type" : "Null", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "UncertaintyLessEqualTrue", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "LessOrEqual", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2013", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2014", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "true", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "UncertaintyLessEqualFalse", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "LessOrEqual", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2015", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2014", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "false", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - } ] - } - }, { - "name" : "Equivalent", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ ], - "expression" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "EquivTrueTrue", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Equivalent", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "true", - "type" : "Literal", - "annotation" : [ ] - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "true", - "type" : "Literal", - "annotation" : [ ] - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "true", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "EquivTrueFalse", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Equivalent", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "true", - "type" : "Literal", - "annotation" : [ ] - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "false", - "type" : "Literal", - "annotation" : [ ] - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "false", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "EquivFalseFalse", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Equivalent", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "false", - "type" : "Literal", - "annotation" : [ ] - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "false", - "type" : "Literal", - "annotation" : [ ] - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "true", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "EquivFalseTrue", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Equivalent", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "false", - "type" : "Literal", - "annotation" : [ ] - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "true", - "type" : "Literal", - "annotation" : [ ] - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "false", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "EquivNullNull", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Equivalent", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "strict" : false, - "type" : "As", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "type" : "Null", - "annotation" : [ ] - }, - "asTypeSpecifier" : { - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier", - "annotation" : [ ] - } - }, { - "asType" : "{urn:hl7-org:elm-types:r1}String", - "type" : "As", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "type" : "Null", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "true", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "EquivTrueNull", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Equivalent", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "true", - "type" : "Literal", - "annotation" : [ ] - }, { - "asType" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "As", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "type" : "Null", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "false", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "EquivNullTrue", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Equivalent", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "asType" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "As", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "type" : "Null", - "annotation" : [ ] - } - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "true", - "type" : "Literal", - "annotation" : [ ] - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "false", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "EquivInt1Int1", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Equivalent", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "true", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "EquivInt1Int2", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Equivalent", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal", - "annotation" : [ ] - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "false", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "EquivStringAStringA", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Equivalent", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "a", - "type" : "Literal", - "annotation" : [ ] - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "a", - "type" : "Literal", - "annotation" : [ ] - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "true", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "EquivStringAStringB", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Equivalent", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "a", - "type" : "Literal", - "annotation" : [ ] - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "b", - "type" : "Literal", - "annotation" : [ ] - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "false", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "EquivFloat1Float1", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Equivalent", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "1.0", - "type" : "Literal", - "annotation" : [ ] - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "1.0", - "type" : "Literal", - "annotation" : [ ] - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "true", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "EquivFloat1Float2", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Equivalent", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "1.0", - "type" : "Literal", - "annotation" : [ ] - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "2.0", - "type" : "Literal", - "annotation" : [ ] - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "false", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "EquivFloat1Int1", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Equivalent", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "1.0", - "type" : "Literal", - "annotation" : [ ] - }, { - "type" : "ToDecimal", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "true", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "EquivFloat1Int2", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Equivalent", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "1.0", - "type" : "Literal", - "annotation" : [ ] - }, { - "type" : "ToDecimal", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "false", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "EquivEqCM1CM1", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Equivalent", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "value" : 1, - "unit" : "cm", - "type" : "Quantity", - "annotation" : [ ] - }, { - "value" : 1, - "unit" : "cm", - "type" : "Quantity", - "annotation" : [ ] - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "true", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "EquivEqCM1M01", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Equivalent", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "value" : 1, - "unit" : "cm", - "type" : "Quantity", - "annotation" : [ ] - }, { - "value" : 0.01, - "unit" : "m", - "type" : "Quantity", - "annotation" : [ ] - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "true", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "EquivTupleJohnJohn", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Equivalent", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "Id", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "name" : "Name", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "John", - "type" : "Literal", - "annotation" : [ ] - } - } ] - }, { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "Id", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "name" : "Name", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "John", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "true", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "EquivTupleJohnJohnWithNulls", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Equivalent", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "Id", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "name" : "Name", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "John", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "name" : "Position", - "value" : { - "type" : "Null", - "annotation" : [ ] - } - } ] - }, { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "Id", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "name" : "Name", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "John", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "name" : "Position", - "value" : { - "type" : "Null", - "annotation" : [ ] - } - } ] - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "true", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "EquivTupleJohnJane", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Equivalent", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "Id", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "name" : "Name", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "John", - "type" : "Literal", - "annotation" : [ ] - } - } ] - }, { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "Id", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "name" : "Name", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "Jane", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "false", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "EquivTupleJohn1John2", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Equivalent", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "Id", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "name" : "Name", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "John", - "type" : "Literal", - "annotation" : [ ] - } - } ] - }, { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "Id", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "name" : "Name", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "John", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "false", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "EquivDateTimeTodayToday", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Equivalent", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "type" : "Today", - "annotation" : [ ], - "signature" : [ ] - }, { - "type" : "Today", - "annotation" : [ ], - "signature" : [ ] - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "true", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "EquivDateTimeTodayYesterday", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Equivalent", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "type" : "Today", - "annotation" : [ ], - "signature" : [ ] - }, { - "type" : "Subtract", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "type" : "Today", - "annotation" : [ ], - "signature" : [ ] - }, { - "value" : 1, - "unit" : "days", - "type" : "Quantity", - "annotation" : [ ] - } ] - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "false", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "EquivTime10A10A", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Equivalent", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "type" : "Time", - "annotation" : [ ], - "signature" : [ ], - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "type" : "Time", - "annotation" : [ ], - "signature" : [ ], - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "true", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "EquivTime10A10P", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Equivalent", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "type" : "Time", - "annotation" : [ ], - "signature" : [ ], - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "type" : "Time", - "annotation" : [ ], - "signature" : [ ], - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "22", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "false", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - } ] - } - }, { - "name" : "Not Equal", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ ], - "expression" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "SimpleNotEqTrueTrue", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Not", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "type" : "Equal", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "true", - "type" : "Literal", - "annotation" : [ ] - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "true", - "type" : "Literal", - "annotation" : [ ] - } ] - } - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "false", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "SimpleNotEqTrueFalse", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Not", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "type" : "Equal", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "true", - "type" : "Literal", - "annotation" : [ ] - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "false", - "type" : "Literal", - "annotation" : [ ] - } ] - } - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "true", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "SimpleNotEqFalseFalse", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Not", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "type" : "Equal", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "false", - "type" : "Literal", - "annotation" : [ ] - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "false", - "type" : "Literal", - "annotation" : [ ] - } ] - } - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "false", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "SimpleNotEqFalseTrue", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Not", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "type" : "Equal", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "false", - "type" : "Literal", - "annotation" : [ ] - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "true", - "type" : "Literal", - "annotation" : [ ] - } ] - } - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "true", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "SimpleNotEqNullNull", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Not", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "type" : "Equal", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "strict" : false, - "type" : "As", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "type" : "Null", - "annotation" : [ ] - }, - "asTypeSpecifier" : { - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier", - "annotation" : [ ] - } - }, { - "asType" : "{urn:hl7-org:elm-types:r1}String", - "type" : "As", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "type" : "Null", - "annotation" : [ ] - } - } ] - } - } - }, { - "name" : "output", - "value" : { - "type" : "Null", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "SimpleNotEqTrueNull", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Not", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "type" : "Equal", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "true", - "type" : "Literal", - "annotation" : [ ] - }, { - "asType" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "As", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "type" : "Null", - "annotation" : [ ] - } - } ] - } - } - }, { - "name" : "output", - "value" : { - "type" : "Null", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "SimpleNotEqNullTrue", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Not", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "type" : "Equal", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "asType" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "As", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "type" : "Null", - "annotation" : [ ] - } - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "true", - "type" : "Literal", - "annotation" : [ ] - } ] - } - } - }, { - "name" : "output", - "value" : { - "type" : "Null", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "SimpleNotEqInt1Int1", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Not", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "type" : "Equal", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - } ] - } - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "false", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "SimpleNotEqInt1Int2", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Not", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "type" : "Equal", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal", - "annotation" : [ ] - } ] - } - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "true", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "SimpleNotEqStringAStringA", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Not", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "type" : "Equal", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "a", - "type" : "Literal", - "annotation" : [ ] - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "a", - "type" : "Literal", - "annotation" : [ ] - } ] - } - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "false", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "SimpleNotEqStringAStringB", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Not", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "type" : "Equal", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "a", - "type" : "Literal", - "annotation" : [ ] - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "b", - "type" : "Literal", - "annotation" : [ ] - } ] - } - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "true", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "SimpleNotEqFloat1Float1", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Not", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "type" : "Equal", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "1.0", - "type" : "Literal", - "annotation" : [ ] - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "1.0", - "type" : "Literal", - "annotation" : [ ] - } ] - } - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "false", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "SimpleNotEqFloat1Float2", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Not", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "type" : "Equal", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "1.0", - "type" : "Literal", - "annotation" : [ ] - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "2.0", - "type" : "Literal", - "annotation" : [ ] - } ] - } - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "true", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "SimpleNotEqFloat1Int1", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Not", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "type" : "Equal", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "1.0", - "type" : "Literal", - "annotation" : [ ] - }, { - "type" : "ToDecimal", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "false", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "SimpleNotEqFloat1Int2", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Not", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "type" : "Equal", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "1.0", - "type" : "Literal", - "annotation" : [ ] - }, { - "type" : "ToDecimal", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "true", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "QuantityNotEqCM1CM1", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Not", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "type" : "Equal", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "value" : 1, - "unit" : "cm", - "type" : "Quantity", - "annotation" : [ ] - }, { - "value" : 1, - "unit" : "cm", - "type" : "Quantity", - "annotation" : [ ] - } ] - } - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "false", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "QuantityNotEqCM1M01", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Not", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "type" : "Equal", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "value" : 1, - "unit" : "cm", - "type" : "Quantity", - "annotation" : [ ] - }, { - "value" : 0.01, - "unit" : "m", - "type" : "Quantity", - "annotation" : [ ] - } ] - } - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "false", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "TupleNotEqJohnJohn", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Not", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "type" : "Equal", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "Id", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "name" : "Name", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "John", - "type" : "Literal", - "annotation" : [ ] - } - } ] - }, { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "Id", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "name" : "Name", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "John", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } ] - } - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "false", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "TupleNotEqJohnJane", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Not", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "type" : "Equal", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "Id", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "name" : "Name", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "John", - "type" : "Literal", - "annotation" : [ ] - } - } ] - }, { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "Id", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "name" : "Name", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "Jane", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } ] - } - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "true", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "TupleNotEqJohn1John2", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Not", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "type" : "Equal", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "Id", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "name" : "Name", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "John", - "type" : "Literal", - "annotation" : [ ] - } - } ] - }, { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "Id", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "name" : "Name", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "John", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } ] - } - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "true", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "TupleNotEqJohn1John2WithNullName", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Not", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "type" : "Equal", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "Id", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "name" : "Name", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "John", - "type" : "Literal", - "annotation" : [ ] - } - } ] - }, { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "Id", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "name" : "Name", - "value" : { - "type" : "Null", - "annotation" : [ ] - } - } ] - } ] - } - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "true", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "TupleNotEqDifferingNamesWithOneNullId", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Not", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "type" : "Equal", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "Id", - "value" : { - "type" : "Null", - "annotation" : [ ] - } - }, { - "name" : "Name", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "John", - "type" : "Literal", - "annotation" : [ ] - } - } ] - }, { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "Id", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "name" : "Name", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "Joe", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } ] - } - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "true", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "TupleNotEqJohn1John1WithBothNamesNull", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Not", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "type" : "Equal", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "Id", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "name" : "Name", - "value" : { - "type" : "Null", - "annotation" : [ ] - } - } ] - }, { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "Id", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "name" : "Name", - "value" : { - "type" : "Null", - "annotation" : [ ] - } - } ] - } ] - } - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "false", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "TupleNotEqMatchingNamesWithNullIDs", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Not", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "type" : "Equal", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "Id", - "value" : { - "type" : "Null", - "annotation" : [ ] - } - }, { - "name" : "Name", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "John", - "type" : "Literal", - "annotation" : [ ] - } - } ] - }, { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "Id", - "value" : { - "type" : "Null", - "annotation" : [ ] - } - }, { - "name" : "Name", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "John", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } ] - } - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "false", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "TupleNotEqJohn1John1WithNullName", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Not", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "type" : "Equal", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "Id", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "name" : "Name", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "John", - "type" : "Literal", - "annotation" : [ ] - } - } ] - }, { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "Id", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "name" : "Name", - "value" : { - "type" : "Null", - "annotation" : [ ] - } - } ] - } ] - } - } - }, { - "name" : "output", - "value" : { - "type" : "Null", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "DateTimeNotEqTodayToday", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Not", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "type" : "Equal", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "type" : "Today", - "annotation" : [ ], - "signature" : [ ] - }, { - "type" : "Today", - "annotation" : [ ], - "signature" : [ ] - } ] - } - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "false", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "DateTimeNotEqTodayYesterday", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Not", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "type" : "Equal", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "type" : "Today", - "annotation" : [ ], - "signature" : [ ] - }, { - "type" : "Subtract", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "type" : "Today", - "annotation" : [ ], - "signature" : [ ] - }, { - "value" : 1, - "unit" : "days", - "type" : "Quantity", - "annotation" : [ ] - } ] - } ] - } - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "true", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "TimeNotEq10A10A", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Not", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "type" : "Equal", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "type" : "Time", - "annotation" : [ ], - "signature" : [ ], - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "type" : "Time", - "annotation" : [ ], - "signature" : [ ], - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "false", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "TimeNotEq10A10P", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Not", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "type" : "Equal", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "type" : "Time", - "annotation" : [ ], - "signature" : [ ], - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "type" : "Time", - "annotation" : [ ], - "signature" : [ ], - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "22", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "true", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - } ] - } - } ] - } - } + } + ] + } + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "true", + "annotation": [] + } + } + ] + } + } + ] + } + } + ] + } + } } - diff --git a/test/spec-tests/cql/CqlConditionalOperatorsTest.json b/test/spec-tests/cql/CqlConditionalOperatorsTest.json index 46334d88..3bb4e3e4 100644 --- a/test/spec-tests/cql/CqlConditionalOperatorsTest.json +++ b/test/spec-tests/cql/CqlConditionalOperatorsTest.json @@ -1,800 +1,934 @@ { - "library" : { - "annotation" : [ { - "translatorVersion" : "3.27.0", - "translatorOptions" : "", - "signatureLevel" : "None", - "type" : "CqlToElmInfo" - } ], - "identifier" : { - "id" : "CqlConditionalOperatorsTest", - "version" : "1.4.0" - }, - "schemaIdentifier" : { - "id" : "urn:hl7-org:elm", - "version" : "r1" - }, - "usings" : { - "def" : [ { - "localIdentifier" : "System", - "uri" : "urn:hl7-org:elm-types:r1", - "annotation" : [ ] - }, { - "localIdentifier" : "QUICK", - "uri" : "http://hl7.org/fhir/us/qicore", - "version" : "3.3.0", - "annotation" : [ ] - } ] - }, - "contexts" : { - "def" : [ { - "name" : "Patient", - "annotation" : [ ] - } ] - }, - "statements" : { - "def" : [ { - "name" : "Patient", - "context" : "Patient", - "annotation" : [ ], - "expression" : { - "type" : "SingletonFrom", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "dataType" : "{http://hl7.org/fhir/us/qicore}Patient", - "templateId" : "http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-patient", - "type" : "Retrieve", - "annotation" : [ ], - "include" : [ ], - "codeFilter" : [ ], - "dateFilter" : [ ], - "otherFilter" : [ ] - } - } - }, { - "name" : "if-then-else", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ ], - "expression" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "IfTrue1", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "If", - "annotation" : [ ], - "condition" : { - "type" : "Greater", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal", - "annotation" : [ ] - } ] - }, - "then" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal", - "annotation" : [ ] - }, - "else" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - } - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "IfFalse1", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "If", - "annotation" : [ ], - "condition" : { - "type" : "Equal", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal", - "annotation" : [ ] - } ] - }, - "then" : { - "type" : "Add", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal", - "annotation" : [ ] - } ] - }, - "else" : { - "type" : "Subtract", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal", - "annotation" : [ ] - } ] - } - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "IfNull1", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "If", - "annotation" : [ ], - "condition" : { - "type" : "Equal", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - }, { - "asType" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "As", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "type" : "Null", - "annotation" : [ ] - } - } ] - }, - "then" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal", - "annotation" : [ ] - }, - "else" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - } - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - } ] + "library": { + "annotation": [ + { + "type": "CqlToElmInfo", + "translatorVersion": "4.2.0", + "translatorOptions": "", + "signatureLevel": "None" + } + ], + "identifier": { + "id": "CqlConditionalOperatorsTest", + "version": "1.4.0" + }, + "schemaIdentifier": { + "id": "urn:hl7-org:elm", + "version": "r1" + }, + "usings": { + "def": [ + { + "localIdentifier": "System", + "uri": "urn:hl7-org:elm-types:r1", + "annotation": [] + }, + { + "localIdentifier": "QUICK", + "uri": "http://hl7.org/fhir/us/qicore", + "version": "3.3.0", + "annotation": [] + } + ] + }, + "contexts": { + "def": [ + { + "name": "Patient", + "annotation": [] + } + ] + }, + "statements": { + "def": [ + { + "name": "Patient", + "context": "Patient", + "annotation": [], + "expression": { + "type": "SingletonFrom", + "annotation": [], + "signature": [], + "operand": { + "type": "Retrieve", + "dataType": "{http://hl7.org/fhir/us/qicore}Patient", + "templateId": "http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-patient", + "annotation": [], + "include": [], + "codeFilter": [], + "dateFilter": [], + "otherFilter": [] } - }, { - "name" : "standard case", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ ], - "expression" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "StandardCase1", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Case", - "annotation" : [ ], - "caseItem" : [ { - "annotation" : [ ], - "when" : { - "type" : "Greater", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal", - "annotation" : [ ] - } ] - }, - "then" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "annotation" : [ ], - "when" : { - "type" : "Greater", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal", - "annotation" : [ ] - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - } ] - }, - "then" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - } - } ], - "else" : { - "asType" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "As", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "type" : "Null", - "annotation" : [ ] - } - } - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "StandardCase2", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Case", - "annotation" : [ ], - "caseItem" : [ { - "annotation" : [ ], - "when" : { - "type" : "Greater", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal", - "annotation" : [ ] - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - } ] - }, - "then" : { - "type" : "Add", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal", - "annotation" : [ ] - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - } ] - } - }, { - "annotation" : [ ], - "when" : { - "type" : "Equal", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal", - "annotation" : [ ] - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - } ] - }, - "then" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - } - } ], - "else" : { - "type" : "Subtract", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal", - "annotation" : [ ] - } ] - } + } + }, + { + "name": "if-then-else", + "context": "Patient", + "accessLevel": "Public", + "annotation": [], + "expression": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "IfTrue1", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "If", + "annotation": [], + "condition": { + "type": "Greater", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "5", + "annotation": [] + } + ] + }, + "then": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "5", + "annotation": [] + }, + "else": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal", - "annotation" : [ ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "5", + "annotation": [] + } + } + ] + } + }, + { + "name": "IfFalse1", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "If", + "annotation": [], + "condition": { + "type": "Equal", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "5", + "annotation": [] + } + ] + }, + "then": { + "type": "Add", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "5", + "annotation": [] + } + ] + }, + "else": { + "type": "Subtract", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "5", + "annotation": [] + } + ] } - } ] - } - }, { - "name" : "StandardCase3", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Case", - "annotation" : [ ], - "caseItem" : [ { - "annotation" : [ ], - "when" : { - "type" : "Equivalent", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "asType" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "As", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "type" : "Null", - "annotation" : [ ] - } - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - } ] - }, - "then" : { - "type" : "Add", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "asType" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "As", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "type" : "Null", - "annotation" : [ ] - } - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - } ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "5", + "annotation": [] + } + } + ] + } + }, + { + "name": "IfNull1", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "If", + "annotation": [], + "condition": { + "type": "Equal", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + }, + { + "type": "As", + "asType": "{urn:hl7-org:elm-types:r1}Integer", + "annotation": [], + "signature": [], + "operand": { + "type": "Null", + "annotation": [] } - }, { - "annotation" : [ ], - "when" : { - "type" : "Equivalent", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "asType" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "As", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "type" : "Null", - "annotation" : [ ] - } - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal", - "annotation" : [ ] - } ] - }, - "then" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal", - "annotation" : [ ] - } - } ], - "else" : { - "type" : "Add", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal", - "annotation" : [ ] - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - } ] - } + } + ] + }, + "then": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "5", + "annotation": [] + }, + "else": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal", - "annotation" : [ ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + } + } + ] + } + } + ] + } + }, + { + "name": "standard case", + "context": "Patient", + "accessLevel": "Public", + "annotation": [], + "expression": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "StandardCase1", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Case", + "annotation": [], + "caseItem": [ + { + "annotation": [], + "when": { + "type": "Greater", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "5", + "annotation": [] + } + ] + }, + "then": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "5", + "annotation": [] + } + }, + { + "annotation": [], + "when": { + "type": "Greater", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "5", + "annotation": [] + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + } + ] + }, + "then": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + } + } + ], + "else": { + "type": "As", + "asType": "{urn:hl7-org:elm-types:r1}Integer", + "annotation": [], + "signature": [], + "operand": { + "type": "Null", + "annotation": [] + } } - } ] - } - } ] - } - }, { - "name" : "selected case", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ ], - "expression" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "SelectedCase1", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Case", - "annotation" : [ ], - "comparand" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal", - "annotation" : [ ] - }, - "caseItem" : [ { - "annotation" : [ ], - "when" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal", - "annotation" : [ ] - }, - "then" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "12", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "annotation" : [ ], - "when" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - }, - "then" : { - "type" : "Add", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal", - "annotation" : [ ] - } ] - } - } ], - "else" : { - "type" : "Subtract", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal", - "annotation" : [ ] - } ] - } + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "5", + "annotation": [] + } + } + ] + } + }, + { + "name": "StandardCase2", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Case", + "annotation": [], + "caseItem": [ + { + "annotation": [], + "when": { + "type": "Greater", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "5", + "annotation": [] + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + } + ] + }, + "then": { + "type": "Add", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "5", + "annotation": [] + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + } + ] + } + }, + { + "annotation": [], + "when": { + "type": "Equal", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "5", + "annotation": [] + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + } + ] + }, + "then": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + } + } + ], + "else": { + "type": "Subtract", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "5", + "annotation": [] + } + ] } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "12", - "type" : "Literal", - "annotation" : [ ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "5", + "annotation": [] + } + } + ] + } + }, + { + "name": "StandardCase3", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Case", + "annotation": [], + "caseItem": [ + { + "annotation": [], + "when": { + "type": "Equivalent", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "As", + "asType": "{urn:hl7-org:elm-types:r1}Integer", + "annotation": [], + "signature": [], + "operand": { + "type": "Null", + "annotation": [] + } + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + } + ] + }, + "then": { + "type": "Add", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "As", + "asType": "{urn:hl7-org:elm-types:r1}Integer", + "annotation": [], + "signature": [], + "operand": { + "type": "Null", + "annotation": [] + } + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + } + ] + } + }, + { + "annotation": [], + "when": { + "type": "Equivalent", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "As", + "asType": "{urn:hl7-org:elm-types:r1}Integer", + "annotation": [], + "signature": [], + "operand": { + "type": "Null", + "annotation": [] + } + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "5", + "annotation": [] + } + ] + }, + "then": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "5", + "annotation": [] + } + } + ], + "else": { + "type": "Add", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "5", + "annotation": [] + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + } + ] } - } ] - } - }, { - "name" : "SelectedCase2", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Case", - "annotation" : [ ], - "comparand" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - }, - "caseItem" : [ { - "annotation" : [ ], - "when" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal", - "annotation" : [ ] - }, - "then" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "12", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "annotation" : [ ], - "when" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - }, - "then" : { - "type" : "Add", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal", - "annotation" : [ ] - } ] - } - } ], - "else" : { - "type" : "Subtract", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal", - "annotation" : [ ] - } ] - } - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal", - "annotation" : [ ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "15", + "annotation": [] + } + } + ] + } + } + ] + } + }, + { + "name": "selected case", + "context": "Patient", + "accessLevel": "Public", + "annotation": [], + "expression": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "SelectedCase1", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Case", + "annotation": [], + "comparand": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "5", + "annotation": [] + }, + "caseItem": [ + { + "annotation": [], + "when": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "5", + "annotation": [] + }, + "then": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "12", + "annotation": [] + } + }, + { + "annotation": [], + "when": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + }, + "then": { + "type": "Add", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "5", + "annotation": [] + } + ] + } + } + ], + "else": { + "type": "Subtract", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "5", + "annotation": [] + } + ] } - } ] - } - }, { - "name" : "SelectedCase3", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Case", - "annotation" : [ ], - "comparand" : { - "type" : "Add", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal", - "annotation" : [ ] - } ] - }, - "caseItem" : [ { - "annotation" : [ ], - "when" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal", - "annotation" : [ ] - }, - "then" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "12", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "annotation" : [ ], - "when" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - }, - "then" : { - "type" : "Add", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal", - "annotation" : [ ] - } ] - } - } ], - "else" : { - "type" : "Subtract", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal", - "annotation" : [ ] - } ] - } + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "12", + "annotation": [] + } + } + ] + } + }, + { + "name": "SelectedCase2", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Case", + "annotation": [], + "comparand": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + }, + "caseItem": [ + { + "annotation": [], + "when": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "5", + "annotation": [] + }, + "then": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "12", + "annotation": [] + } + }, + { + "annotation": [], + "when": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + }, + "then": { + "type": "Add", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "5", + "annotation": [] + } + ] + } + } + ], + "else": { + "type": "Subtract", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "5", + "annotation": [] + } + ] } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal", - "annotation" : [ ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "15", + "annotation": [] + } + } + ] + } + }, + { + "name": "SelectedCase3", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Case", + "annotation": [], + "comparand": { + "type": "Add", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "5", + "annotation": [] + } + ] + }, + "caseItem": [ + { + "annotation": [], + "when": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "5", + "annotation": [] + }, + "then": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "12", + "annotation": [] + } + }, + { + "annotation": [], + "when": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + }, + "then": { + "type": "Add", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "5", + "annotation": [] + } + ] + } + } + ], + "else": { + "type": "Subtract", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "5", + "annotation": [] + } + ] } - } ] - } - } ] - } - } ] - } - } + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "5", + "annotation": [] + } + } + ] + } + } + ] + } + } + ] + } + } } - diff --git a/test/spec-tests/cql/CqlDateTimeOperatorsTest.json b/test/spec-tests/cql/CqlDateTimeOperatorsTest.json index dbd54329..50b0104c 100644 --- a/test/spec-tests/cql/CqlDateTimeOperatorsTest.json +++ b/test/spec-tests/cql/CqlDateTimeOperatorsTest.json @@ -1,25565 +1,27741 @@ { - "library" : { - "annotation" : [ { - "translatorVersion" : "3.27.0", - "translatorOptions" : "", - "signatureLevel" : "None", - "type" : "CqlToElmInfo" - } ], - "identifier" : { - "id" : "CqlDateTimeOperatorsTest", - "version" : "1.4.0" - }, - "schemaIdentifier" : { - "id" : "urn:hl7-org:elm", - "version" : "r1" - }, - "usings" : { - "def" : [ { - "localIdentifier" : "System", - "uri" : "urn:hl7-org:elm-types:r1", - "annotation" : [ ] - }, { - "localIdentifier" : "QUICK", - "uri" : "http://hl7.org/fhir/us/qicore", - "version" : "3.3.0", - "annotation" : [ ] - } ] - }, - "contexts" : { - "def" : [ { - "name" : "Patient", - "annotation" : [ ] - } ] - }, - "statements" : { - "def" : [ { - "name" : "Patient", - "context" : "Patient", - "annotation" : [ ], - "expression" : { - "type" : "SingletonFrom", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "dataType" : "{http://hl7.org/fhir/us/qicore}Patient", - "templateId" : "http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-patient", - "type" : "Retrieve", - "annotation" : [ ], - "include" : [ ], - "codeFilter" : [ ], - "dateFilter" : [ ], - "otherFilter" : [ ] - } - } - }, { - "name" : "Add", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ ], - "expression" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "DateTimeAdd5Years", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Add", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2005", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "value" : 5, - "unit" : "years", - "type" : "Quantity", - "annotation" : [ ] - } ] - } - }, { - "name" : "output", - "value" : { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2010", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - } - } - } ] - } - }, { - "name" : "DateTimeAddInvalidYears", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Add", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2005", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "value" : 8000, - "unit" : "years", - "type" : "Quantity", - "annotation" : [ ] - } ] - } - }, { - "name" : "invalid", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "true", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "DateTimeAdd5Months", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Add", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2005", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "value" : 5, - "unit" : "months", - "type" : "Quantity", - "annotation" : [ ] - } ] - } - }, { - "name" : "output", - "value" : { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2005", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - } - } - } ] - } - }, { - "name" : "DateTimeAddMonthsOverflow", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Add", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2005", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "value" : 10, - "unit" : "months", - "type" : "Quantity", - "annotation" : [ ] - } ] - } - }, { - "name" : "output", - "value" : { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2006", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - } - } - } ] - } - }, { - "name" : "DateTimeAddThreeWeeks", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Equal", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "type" : "Add", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2018", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "value" : 3, - "unit" : "weeks", - "type" : "Quantity", - "annotation" : [ ] - } ] - }, { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2018", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "23", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "true", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "DateTimeAddYearInWeeks", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "skipped", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "Wrong output: 2018-05-23 + 52 weeks should be 2019-05-22 (both dates should be Wednesdays)", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "DateTimeAdd5Days", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Add", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2005", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "value" : 5, - "unit" : "days", - "type" : "Quantity", - "annotation" : [ ] - } ] - } - }, { - "name" : "output", - "value" : { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2005", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal", - "annotation" : [ ] - } - } - } ] - } - }, { - "name" : "DateTimeAddDaysOverflow", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Add", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2016", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "6", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "value" : 21, - "unit" : "days", - "type" : "Quantity", - "annotation" : [ ] - } ] - } - }, { - "name" : "output", - "value" : { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2016", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "7", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - } - } - } ] - } - }, { - "name" : "DateTimeAdd5Hours", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Add", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2005", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - }, - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "value" : 5, - "unit" : "hours", - "type" : "Quantity", - "annotation" : [ ] - } ] - } - }, { - "name" : "output", - "value" : { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2005", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - }, - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - } - } - } ] - } - }, { - "name" : "DateTimeAdd5HoursWithLeftMinPrecisionSecond", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Add", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2005", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - }, - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "20", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "30", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "value" : 5, - "unit" : "hours", - "type" : "Quantity", - "annotation" : [ ] - } ] - } - }, { - "name" : "output", - "value" : { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2005", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - }, - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "20", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "30", - "type" : "Literal", - "annotation" : [ ] - } - } - } ] - } - }, { - "name" : "DateTimeAdd5HoursWithLeftMinPrecisionDay", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Equal", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "type" : "Add", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2005", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "value" : 5, - "unit" : "hours", - "type" : "Quantity", - "annotation" : [ ] - } ] - }, { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2005", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "true", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "DateTimeAdd5HoursWithLeftMinPrecisionDayOverflow", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Equal", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "type" : "Add", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2005", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "value" : 25, - "unit" : "hours", - "type" : "Quantity", - "annotation" : [ ] - } ] - }, { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2005", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "11", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "true", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "DateAdd2YearsAsMonths", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Add", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "type" : "Date", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2014", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "value" : 24, - "unit" : "months", - "type" : "Quantity", - "annotation" : [ ] - } ] - } - }, { - "name" : "output", - "value" : { - "type" : "Date", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2016", - "type" : "Literal", - "annotation" : [ ] - } - } - } ] - } - }, { - "name" : "DateAdd2YearsAsMonthsRem1", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Add", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "type" : "Date", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2014", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "value" : 25, - "unit" : "months", - "type" : "Quantity", - "annotation" : [ ] - } ] - } - }, { - "name" : "output", - "value" : { - "type" : "Date", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2016", - "type" : "Literal", - "annotation" : [ ] - } - } - } ] - } - }, { - "name" : "DateAdd33Days", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Add", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "type" : "Date", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2014", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "6", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "value" : 33, - "unit" : "days", - "type" : "Quantity", - "annotation" : [ ] - } ] - } - }, { - "name" : "output", - "value" : { - "type" : "Date", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2014", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "7", - "type" : "Literal", - "annotation" : [ ] - } - } - } ] - } - }, { - "name" : "DateAdd1Year", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Add", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "type" : "Date", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2014", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "6", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "value" : 1, - "unit" : "year", - "type" : "Quantity", - "annotation" : [ ] - } ] - } - }, { - "name" : "output", - "value" : { - "type" : "Date", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2015", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "6", - "type" : "Literal", - "annotation" : [ ] - } - } - } ] - } - }, { - "name" : "DateTimeAddHoursOverflow", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Add", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2016", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "6", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - }, - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "value" : 19, - "unit" : "hours", - "type" : "Quantity", - "annotation" : [ ] - } ] - } - }, { - "name" : "output", - "value" : { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2016", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "6", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "11", - "type" : "Literal", - "annotation" : [ ] - }, - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - } - } - } ] - } - }, { - "name" : "DateTimeAdd5Minutes", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Add", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2005", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - }, - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "value" : 5, - "unit" : "minutes", - "type" : "Quantity", - "annotation" : [ ] - } ] - } - }, { - "name" : "output", - "value" : { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2005", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - }, - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - } - } - } ] - } - }, { - "name" : "DateTimeAddMinutesOverflow", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Add", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2016", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "6", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - }, - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "value" : 55, - "unit" : "minutes", - "type" : "Quantity", - "annotation" : [ ] - } ] - } - }, { - "name" : "output", - "value" : { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2016", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "6", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - }, - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "6", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - } - } - } ] - } - }, { - "name" : "DateTimeAdd5Seconds", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Add", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2005", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - }, - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "value" : 5, - "unit" : "seconds", - "type" : "Quantity", - "annotation" : [ ] - } ] - } - }, { - "name" : "output", - "value" : { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2005", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - }, - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - } - } - } ] - } - }, { - "name" : "DateTimeAddSecondsOverflow", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Add", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2016", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "6", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - }, - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "value" : 55, - "unit" : "seconds", - "type" : "Quantity", - "annotation" : [ ] - } ] - } - }, { - "name" : "output", - "value" : { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2016", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "6", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - }, - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "6", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - } - } - } ] - } - }, { - "name" : "DateTimeAdd5Milliseconds", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Add", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2005", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - }, - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "value" : 5, - "unit" : "milliseconds", - "type" : "Quantity", - "annotation" : [ ] - } ] - } - }, { - "name" : "output", - "value" : { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2005", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - }, - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - } - } - } ] - } - }, { - "name" : "DateTimeAddMillisecondsOverflow", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Add", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2016", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "6", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - }, - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "value" : 995, - "unit" : "milliseconds", - "type" : "Quantity", - "annotation" : [ ] - } ] - } - }, { - "name" : "output", - "value" : { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2016", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "6", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - }, - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "6", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - } - } - } ] - } - }, { - "name" : "DateTimeAddLeapYear", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Add", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "29", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "value" : 1, - "unit" : "year", - "type" : "Quantity", - "annotation" : [ ] - } ] - } - }, { - "name" : "output", - "value" : { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2013", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "28", - "type" : "Literal", - "annotation" : [ ] - } - } - } ] - } - }, { - "name" : "DateTimeAdd2YearsByMonths", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Add", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2014", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "value" : 24, - "unit" : "months", - "type" : "Quantity", - "annotation" : [ ] - } ] - } - }, { - "name" : "output", - "value" : { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2016", - "type" : "Literal", - "annotation" : [ ] - } - } - } ] - } - }, { - "name" : "DateTimeAdd2YearsByDays", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Add", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2014", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "value" : 730, - "unit" : "days", - "type" : "Quantity", - "annotation" : [ ] - } ] - } - }, { - "name" : "output", - "value" : { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2016", - "type" : "Literal", - "annotation" : [ ] - } - } - } ] - } - }, { - "name" : "DateTimeAdd2YearsByDaysRem5Days", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Add", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2014", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "value" : 735, - "unit" : "days", - "type" : "Quantity", - "annotation" : [ ] - } ] - } - }, { - "name" : "output", - "value" : { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2016", - "type" : "Literal", - "annotation" : [ ] - } - } - } ] - } - }, { - "name" : "TimeAdd5Hours", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Add", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "type" : "Time", - "annotation" : [ ], - "signature" : [ ], - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "999", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "value" : 5, - "unit" : "hours", - "type" : "Quantity", - "annotation" : [ ] - } ] - } - }, { - "name" : "output", - "value" : { - "type" : "Time", - "annotation" : [ ], - "signature" : [ ], - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "20", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "999", - "type" : "Literal", - "annotation" : [ ] - } - } - } ] - } - }, { - "name" : "TimeAdd1Minute", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Add", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "type" : "Time", - "annotation" : [ ], - "signature" : [ ], - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "999", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "value" : 1, - "unit" : "minute", - "type" : "Quantity", - "annotation" : [ ] - } ] - } - }, { - "name" : "output", - "value" : { - "type" : "Time", - "annotation" : [ ], - "signature" : [ ], - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "16", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "999", - "type" : "Literal", - "annotation" : [ ] - } - } - } ] - } - }, { - "name" : "TimeAdd1Second", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Add", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "type" : "Time", - "annotation" : [ ], - "signature" : [ ], - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "999", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "value" : 1, - "unit" : "seconds", - "type" : "Quantity", - "annotation" : [ ] - } ] - } - }, { - "name" : "output", - "value" : { - "type" : "Time", - "annotation" : [ ], - "signature" : [ ], - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "16", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "999", - "type" : "Literal", - "annotation" : [ ] - } - } - } ] - } - }, { - "name" : "TimeAdd1Millisecond", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Add", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "type" : "Time", - "annotation" : [ ], - "signature" : [ ], - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "999", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "value" : 1, - "unit" : "milliseconds", - "type" : "Quantity", - "annotation" : [ ] - } ] - } - }, { - "name" : "output", - "value" : { - "type" : "Time", - "annotation" : [ ], - "signature" : [ ], - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "16", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - } - } - } ] - } - }, { - "name" : "TimeAdd5Hours1Minute", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Add", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "type" : "Add", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "type" : "Time", - "annotation" : [ ], - "signature" : [ ], - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "999", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "value" : 5, - "unit" : "hours", - "type" : "Quantity", - "annotation" : [ ] - } ] - }, { - "value" : 1, - "unit" : "minutes", - "type" : "Quantity", - "annotation" : [ ] - } ] - } - }, { - "name" : "output", - "value" : { - "type" : "Time", - "annotation" : [ ], - "signature" : [ ], - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "21", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "999", - "type" : "Literal", - "annotation" : [ ] - } - } - } ] - } - }, { - "name" : "TimeAdd5hoursByMinute", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Add", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "type" : "Time", - "annotation" : [ ], - "signature" : [ ], - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "999", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "value" : 300, - "unit" : "minutes", - "type" : "Quantity", - "annotation" : [ ] - } ] - } - }, { - "name" : "output", - "value" : { - "type" : "Time", - "annotation" : [ ], - "signature" : [ ], - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "20", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "999", - "type" : "Literal", - "annotation" : [ ] - } - } - } ] - } - } ] - } - }, { - "name" : "After", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ ], - "expression" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "DateTimeAfterYearTrue", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "precision" : "Year", - "type" : "After", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2005", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2004", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "true", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "DateTimeAfterYearFalse", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "precision" : "Year", - "type" : "After", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2004", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "11", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2004", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "false", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "DateTimeAfterMonthTrue", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "precision" : "Month", - "type" : "After", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2004", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "12", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2004", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "11", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "true", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "DateTimeAfterMonthFalse", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "precision" : "Month", - "type" : "After", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2004", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "9", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2004", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "false", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "DateTimeAfterDayTrue", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "precision" : "Day", - "type" : "After", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2004", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "12", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "11", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2004", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "true", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "DateTimeAfterDayTrue2", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "precision" : "Day", - "type" : "After", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2004", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "12", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "09", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2003", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "true", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "DateTimeAfterDayFalse", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "precision" : "Day", - "type" : "After", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2004", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "9", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2004", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "false", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "DateTimeAfterHourTrue", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "precision" : "Hour", - "type" : "After", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2004", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - }, - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2004", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - }, - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "true", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "DateTimeAfterHourFalse", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "precision" : "Hour", - "type" : "After", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2004", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - }, - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "20", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2004", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - }, - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "21", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "false", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "DateTimeAfterMinuteTrue", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "precision" : "Minute", - "type" : "After", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2004", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - }, - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "20", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "30", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2004", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - }, - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "20", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "29", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "true", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "DateTimeAfterMinuteFalse", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "precision" : "Minute", - "type" : "After", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2004", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - }, - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "20", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "30", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2004", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - }, - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "20", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "31", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "false", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "DateTimeAfterSecondTrue", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "precision" : "Second", - "type" : "After", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2004", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - }, - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "20", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "30", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2004", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - }, - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "20", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "30", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "14", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "true", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "DateTimeAfterSecondFalse", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "precision" : "Second", - "type" : "After", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2004", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - }, - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "20", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "30", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2004", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - }, - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "20", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "30", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "16", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "false", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "DateTimeAfterMillisecondTrue", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "precision" : "Millisecond", - "type" : "After", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2004", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - }, - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "20", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "30", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "512", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2004", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - }, - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "20", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "30", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "510", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "true", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "DateTimeAfterMillisecondFalse", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "precision" : "Millisecond", - "type" : "After", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2004", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - }, - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "20", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "30", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "512", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2004", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - }, - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "20", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "30", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "513", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "false", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "DateTimeAfterUncertain", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "precision" : "Day", - "type" : "After", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2005", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2005", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "9", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "true", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "AfterTimezoneTrue", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "precision" : "Hour", - "type" : "After", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - }, - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "20", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "999", - "type" : "Literal", - "annotation" : [ ] - }, - "timezoneOffset" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "7.0", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - }, - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "8", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "20", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "999", - "type" : "Literal", - "annotation" : [ ] - }, - "timezoneOffset" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "6.0", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "true", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "AfterTimezoneFalse", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "precision" : "Hour", - "type" : "After", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - }, - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "20", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "999", - "type" : "Literal", - "annotation" : [ ] - }, - "timezoneOffset" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "7.0", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - }, - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "20", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "999", - "type" : "Literal", - "annotation" : [ ] - }, - "timezoneOffset" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "6.0", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "false", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "TimeAfterHourTrue", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "precision" : "Hour", - "type" : "After", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "type" : "Time", - "annotation" : [ ], - "signature" : [ ], - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "999", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "type" : "Time", - "annotation" : [ ], - "signature" : [ ], - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "14", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "999", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "true", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "TimeAfterHourFalse", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "precision" : "Hour", - "type" : "After", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "type" : "Time", - "annotation" : [ ], - "signature" : [ ], - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "999", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "type" : "Time", - "annotation" : [ ], - "signature" : [ ], - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "16", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "999", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "false", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "TimeAfterMinuteTrue", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "precision" : "Minute", - "type" : "After", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "type" : "Time", - "annotation" : [ ], - "signature" : [ ], - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "999", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "type" : "Time", - "annotation" : [ ], - "signature" : [ ], - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "58", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "999", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "true", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "TimeAfterMinuteFalse", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "precision" : "Minute", - "type" : "After", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "type" : "Time", - "annotation" : [ ], - "signature" : [ ], - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "58", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "999", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "type" : "Time", - "annotation" : [ ], - "signature" : [ ], - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "999", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "false", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "TimeAfterSecondTrue", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "precision" : "Second", - "type" : "After", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "type" : "Time", - "annotation" : [ ], - "signature" : [ ], - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "999", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "type" : "Time", - "annotation" : [ ], - "signature" : [ ], - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "58", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "999", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "true", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "TimeAfterSecondFalse", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "precision" : "Second", - "type" : "After", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "type" : "Time", - "annotation" : [ ], - "signature" : [ ], - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "58", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "999", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "type" : "Time", - "annotation" : [ ], - "signature" : [ ], - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "999", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "false", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "TimeAfterMillisecondTrue", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "precision" : "Millisecond", - "type" : "After", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "type" : "Time", - "annotation" : [ ], - "signature" : [ ], - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "999", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "type" : "Time", - "annotation" : [ ], - "signature" : [ ], - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "998", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "true", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "TimeAfterMillisecondFalse", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "precision" : "Millisecond", - "type" : "After", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "type" : "Time", - "annotation" : [ ], - "signature" : [ ], - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "998", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "type" : "Time", - "annotation" : [ ], - "signature" : [ ], - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "999", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "false", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "TimeAfterTimeCstor", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "precision" : "Hour", - "type" : "After", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "type" : "Time", - "annotation" : [ ], - "signature" : [ ], - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "12", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "30", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "type" : "Time", - "annotation" : [ ], - "signature" : [ ], - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "11", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "55", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "true", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - } ] - } - }, { - "name" : "Before", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ ], - "expression" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "DateTimeBeforeYearTrue", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "precision" : "Year", - "type" : "Before", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2003", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2004", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "true", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "DateTimeBeforeYearFalse", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "precision" : "Year", - "type" : "Before", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2004", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "11", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2003", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "false", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "DateTimeBeforeMonthTrue", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "precision" : "Month", - "type" : "Before", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2004", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2004", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "11", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "true", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "DateTimeBeforeMonthFalse", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "precision" : "Month", - "type" : "Before", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2004", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "11", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2004", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "false", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "DateTimeBeforeDayTrue", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "precision" : "Day", - "type" : "Before", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2004", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2004", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "true", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "DateTimeBeforeDayTrue2", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "precision" : "Day", - "type" : "Before", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2003", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "11", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2004", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "true", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "DateTimeBeforeDayFalse", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "precision" : "Day", - "type" : "Before", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2004", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "11", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2004", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "false", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "DateTimeBeforeHourTrue", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "precision" : "Hour", - "type" : "Before", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2004", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - }, - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2004", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - }, - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "true", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "DateTimeBeforeHourFalse", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "precision" : "Hour", - "type" : "Before", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2004", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - }, - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "23", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2004", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - }, - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "21", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "false", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "DateTimeBeforeMinuteTrue", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "precision" : "Minute", - "type" : "Before", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2004", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - }, - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "20", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "28", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2004", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - }, - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "20", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "29", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "true", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "DateTimeBeforeMinuteFalse", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "precision" : "Minute", - "type" : "Before", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2004", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - }, - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "20", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "35", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2004", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - }, - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "20", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "31", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "false", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "DateTimeBeforeSecondTrue", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "precision" : "Second", - "type" : "Before", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2004", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - }, - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "20", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "30", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "12", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2004", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - }, - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "20", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "30", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "14", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "true", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "DateTimeBeforeSecondFalse", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "precision" : "Second", - "type" : "Before", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2004", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - }, - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "20", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "30", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "55", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2004", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - }, - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "20", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "30", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "16", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "false", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "DateTimeBeforeMillisecondTrue", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "precision" : "Millisecond", - "type" : "Before", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2004", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - }, - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "20", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "30", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "508", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2004", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - }, - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "20", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "30", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "510", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "true", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "DateTimeBeforeMillisecondFalse", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "precision" : "Millisecond", - "type" : "Before", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2004", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - }, - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "20", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "30", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "599", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2004", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - }, - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "20", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "30", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "513", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "false", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "BeforeTimezoneTrue", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "precision" : "Hour", - "type" : "Before", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - }, - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "20", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "999", - "type" : "Literal", - "annotation" : [ ] - }, - "timezoneOffset" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "7.0", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - }, - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "20", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "999", - "type" : "Literal", - "annotation" : [ ] - }, - "timezoneOffset" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "6.0", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "true", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "BeforeTimezoneFalse", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "precision" : "Hour", - "type" : "Before", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - }, - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "20", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "999", - "type" : "Literal", - "annotation" : [ ] - }, - "timezoneOffset" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "7.0", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - }, - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "9", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "20", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "999", - "type" : "Literal", - "annotation" : [ ] - }, - "timezoneOffset" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "6.0", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "false", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "TimeBeforeHourTrue", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "precision" : "Hour", - "type" : "Before", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "type" : "Time", - "annotation" : [ ], - "signature" : [ ], - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "13", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "999", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "type" : "Time", - "annotation" : [ ], - "signature" : [ ], - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "14", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "999", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "true", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "TimeBeforeHourFalse", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "precision" : "Hour", - "type" : "Before", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "type" : "Time", - "annotation" : [ ], - "signature" : [ ], - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "16", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "999", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "type" : "Time", - "annotation" : [ ], - "signature" : [ ], - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "999", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "false", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "TimeBeforeMinuteTrue", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "precision" : "Minute", - "type" : "Before", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "type" : "Time", - "annotation" : [ ], - "signature" : [ ], - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "57", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "999", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "type" : "Time", - "annotation" : [ ], - "signature" : [ ], - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "58", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "999", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "true", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "TimeBeforeMinuteFalse", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "precision" : "Minute", - "type" : "Before", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "type" : "Time", - "annotation" : [ ], - "signature" : [ ], - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "999", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "type" : "Time", - "annotation" : [ ], - "signature" : [ ], - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "999", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "false", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "TimeBeforeSecondTrue", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "precision" : "Second", - "type" : "Before", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "type" : "Time", - "annotation" : [ ], - "signature" : [ ], - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "57", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "999", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "type" : "Time", - "annotation" : [ ], - "signature" : [ ], - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "58", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "999", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "true", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "TimeBeforeSecondFalse", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "precision" : "Second", - "type" : "Before", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "type" : "Time", - "annotation" : [ ], - "signature" : [ ], - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "56", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "999", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "type" : "Time", - "annotation" : [ ], - "signature" : [ ], - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "55", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "999", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "false", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "TimeBeforeMillisecondTrue", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "precision" : "Millisecond", - "type" : "Before", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "type" : "Time", - "annotation" : [ ], - "signature" : [ ], - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "997", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "type" : "Time", - "annotation" : [ ], - "signature" : [ ], - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "998", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "true", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "TimeBeforeMillisecondFalse", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "precision" : "Millisecond", - "type" : "Before", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "type" : "Time", - "annotation" : [ ], - "signature" : [ ], - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "998", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "type" : "Time", - "annotation" : [ ], - "signature" : [ ], - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "997", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "false", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - } ] - } - }, { - "name" : "DateTime", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ ], - "expression" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "DateTimeYear", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2003", - "type" : "Literal", - "annotation" : [ ] - } - } - }, { - "name" : "output", - "value" : { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2003", - "type" : "Literal", - "annotation" : [ ] - } - } - } ] - } - }, { - "name" : "DateTimeMonth", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2003", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - } - } - }, { - "name" : "output", - "value" : { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2003", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - } - } - } ] - } - }, { - "name" : "DateTimeDay", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2003", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "29", - "type" : "Literal", - "annotation" : [ ] - } - } - }, { - "name" : "output", - "value" : { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2003", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "29", - "type" : "Literal", - "annotation" : [ ] - } - } - } ] - } - }, { - "name" : "DateTimeHour", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2003", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "29", - "type" : "Literal", - "annotation" : [ ] - }, - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "20", - "type" : "Literal", - "annotation" : [ ] - } - } - }, { - "name" : "output", - "value" : { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2003", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "29", - "type" : "Literal", - "annotation" : [ ] - }, - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "20", - "type" : "Literal", - "annotation" : [ ] - } - } - } ] - } - }, { - "name" : "DateTimeMinute", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2003", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "29", - "type" : "Literal", - "annotation" : [ ] - }, - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "20", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "50", - "type" : "Literal", - "annotation" : [ ] - } - } - }, { - "name" : "output", - "value" : { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2003", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "29", - "type" : "Literal", - "annotation" : [ ] - }, - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "20", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "50", - "type" : "Literal", - "annotation" : [ ] - } - } - } ] - } - }, { - "name" : "DateTimeSecond", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2003", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "29", - "type" : "Literal", - "annotation" : [ ] - }, - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "20", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "50", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "33", - "type" : "Literal", - "annotation" : [ ] - } - } - }, { - "name" : "output", - "value" : { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2003", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "29", - "type" : "Literal", - "annotation" : [ ] - }, - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "20", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "50", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "33", - "type" : "Literal", - "annotation" : [ ] - } - } - } ] - } - }, { - "name" : "DateTimeMillisecond", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2003", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "29", - "type" : "Literal", - "annotation" : [ ] - }, - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "20", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "50", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "33", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "955", - "type" : "Literal", - "annotation" : [ ] - } - } - }, { - "name" : "output", - "value" : { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2003", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "29", - "type" : "Literal", - "annotation" : [ ] - }, - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "20", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "50", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "33", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "955", - "type" : "Literal", - "annotation" : [ ] - } - } - } ] - } - } ] - } - }, { - "name" : "DateTimeComponentFrom", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ ], - "expression" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "DateTimeComponentFromYear", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "precision" : "Year", - "type" : "DateTimeComponentFrom", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2003", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "29", - "type" : "Literal", - "annotation" : [ ] - }, - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "20", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "50", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "33", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "955", - "type" : "Literal", - "annotation" : [ ] - } - } - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2003", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "DateTimeComponentFromMonth", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "precision" : "Month", - "type" : "DateTimeComponentFrom", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2003", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "29", - "type" : "Literal", - "annotation" : [ ] - }, - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "20", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "50", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "33", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "955", - "type" : "Literal", - "annotation" : [ ] - } - } - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "DateTimeComponentFromMonthMinBoundary", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "precision" : "Month", - "type" : "DateTimeComponentFrom", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2003", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "01", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "29", - "type" : "Literal", - "annotation" : [ ] - }, - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "20", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "50", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "33", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "955", - "type" : "Literal", - "annotation" : [ ] - } - } - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "DateTimeComponentFromDay", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "precision" : "Day", - "type" : "DateTimeComponentFrom", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2003", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "29", - "type" : "Literal", - "annotation" : [ ] - }, - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "20", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "50", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "33", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "955", - "type" : "Literal", - "annotation" : [ ] - } - } - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "29", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "DateTimeComponentFromHour", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "precision" : "Hour", - "type" : "DateTimeComponentFrom", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2003", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "29", - "type" : "Literal", - "annotation" : [ ] - }, - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "20", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "50", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "33", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "955", - "type" : "Literal", - "annotation" : [ ] - } - } - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "20", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "DateTimeComponentFromMinute", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "precision" : "Minute", - "type" : "DateTimeComponentFrom", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2003", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "29", - "type" : "Literal", - "annotation" : [ ] - }, - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "20", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "50", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "33", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "955", - "type" : "Literal", - "annotation" : [ ] - } - } - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "50", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "DateTimeComponentFromSecond", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "precision" : "Second", - "type" : "DateTimeComponentFrom", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2003", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "29", - "type" : "Literal", - "annotation" : [ ] - }, - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "20", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "50", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "33", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "955", - "type" : "Literal", - "annotation" : [ ] - } - } - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "33", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "DateTimeComponentFromMillisecond", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "precision" : "Millisecond", - "type" : "DateTimeComponentFrom", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2003", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "29", - "type" : "Literal", - "annotation" : [ ] - }, - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "20", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "50", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "33", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "955", - "type" : "Literal", - "annotation" : [ ] - } - } - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "955", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "DateTimeComponentFromTimezone", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "skipped", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "Translation Error: Timezone keyword is only valid in 1.3 or lower", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "DateTimeComponentFromTimezone2", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "TimezoneOffsetFrom", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2003", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "29", - "type" : "Literal", - "annotation" : [ ] - }, - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "20", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "50", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "33", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "955", - "type" : "Literal", - "annotation" : [ ] - }, - "timezoneOffset" : { - "type" : "ToDecimal", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - } - } - } - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "1.00", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "DateTimeComponentFromDate", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "DateFrom", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2003", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "29", - "type" : "Literal", - "annotation" : [ ] - }, - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "20", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "50", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "33", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "955", - "type" : "Literal", - "annotation" : [ ] - }, - "timezoneOffset" : { - "type" : "ToDecimal", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - } - } - } - } - }, { - "name" : "output", - "value" : { - "type" : "Date", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2003", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "29", - "type" : "Literal", - "annotation" : [ ] - } - } - } ] - } - }, { - "name" : "TimeComponentFromHour", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "precision" : "Hour", - "type" : "DateTimeComponentFrom", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "type" : "Time", - "annotation" : [ ], - "signature" : [ ], - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "23", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "20", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "555", - "type" : "Literal", - "annotation" : [ ] - } - } - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "23", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "TimeComponentFromMinute", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "precision" : "Minute", - "type" : "DateTimeComponentFrom", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "type" : "Time", - "annotation" : [ ], - "signature" : [ ], - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "23", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "20", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "555", - "type" : "Literal", - "annotation" : [ ] - } - } - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "20", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "TimeComponentFromSecond", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "precision" : "Second", - "type" : "DateTimeComponentFrom", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "type" : "Time", - "annotation" : [ ], - "signature" : [ ], - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "23", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "20", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "555", - "type" : "Literal", - "annotation" : [ ] - } - } - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "TimeComponentFromMilli", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "precision" : "Millisecond", - "type" : "DateTimeComponentFrom", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "type" : "Time", - "annotation" : [ ], - "signature" : [ ], - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "23", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "20", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "555", - "type" : "Literal", - "annotation" : [ ] - } - } - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "555", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - } ] - } - }, { - "name" : "Difference", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ ], - "expression" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "DateTimeDifferenceYear", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "precision" : "Year", - "type" : "DifferenceBetween", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2005", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "12", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "DateTimeDifferenceMonth", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "precision" : "Month", - "type" : "DifferenceBetween", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "8", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "DateTimeDifferenceDay", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "precision" : "Day", - "type" : "DifferenceBetween", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal", - "annotation" : [ ] - }, - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "30", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "25", - "type" : "Literal", - "annotation" : [ ] - }, - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "DateTimeDifferenceHour", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "precision" : "Hour", - "type" : "DifferenceBetween", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "4", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - }, - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "12", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "4", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - }, - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "20", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "8", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "DateTimeDifferenceMinute", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "precision" : "Minute", - "type" : "DifferenceBetween", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2005", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "12", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - }, - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "16", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2005", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "12", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - }, - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "25", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "9", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "DateTimeDifferenceSecond", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "precision" : "Second", - "type" : "DifferenceBetween", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - }, - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "45", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - }, - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "50", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "DateTimeDifferenceMillisecond", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "precision" : "Millisecond", - "type" : "DifferenceBetween", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - }, - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "45", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "500", - "type" : "Literal", - "annotation" : [ ] - }, - "timezoneOffset" : { - "type" : "Negate", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "6.0", - "type" : "Literal", - "annotation" : [ ] - } - } - }, { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - }, - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "45", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "900", - "type" : "Literal", - "annotation" : [ ] - }, - "timezoneOffset" : { - "type" : "Negate", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "7.0", - "type" : "Literal", - "annotation" : [ ] - } - } - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3600400", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "DateTimeDifferenceWeeks", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "precision" : "Week", - "type" : "DifferenceBetween", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "28", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "DateTimeDifferenceWeeks2", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "precision" : "Week", - "type" : "DifferenceBetween", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "29", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "DateTimeDifferenceWeeks3", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "precision" : "Week", - "type" : "DifferenceBetween", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - }, - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "22", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "9", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "24", - "type" : "Literal", - "annotation" : [ ] - }, - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "7", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "19", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "33", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "DateTimeDifferenceNegative", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "precision" : "Year", - "type" : "DifferenceBetween", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2016", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1998", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "output", - "value" : { - "type" : "Negate", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "18", - "type" : "Literal", - "annotation" : [ ] - } - } - } ] - } - }, { - "name" : "DateTimeDifferenceUncertain", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Greater", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "precision" : "Month", - "type" : "DifferenceBetween", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2005", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2006", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "7", - "type" : "Literal", - "annotation" : [ ] - } - } ] - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal", - "annotation" : [ ] - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "true", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "TimeDifferenceHour", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "precision" : "Hour", - "type" : "DifferenceBetween", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "type" : "Time", - "annotation" : [ ], - "signature" : [ ], - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "20", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "type" : "Time", - "annotation" : [ ], - "signature" : [ ], - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "23", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "25", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "555", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "TimeDifferenceMinute", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "precision" : "Minute", - "type" : "DifferenceBetween", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "type" : "Time", - "annotation" : [ ], - "signature" : [ ], - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "20", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "20", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "555", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "type" : "Time", - "annotation" : [ ], - "signature" : [ ], - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "20", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "25", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "555", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "TimeDifferenceSecond", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "precision" : "Second", - "type" : "DifferenceBetween", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "type" : "Time", - "annotation" : [ ], - "signature" : [ ], - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "20", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "20", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "555", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "type" : "Time", - "annotation" : [ ], - "signature" : [ ], - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "20", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "20", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "20", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "555", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "TimeDifferenceMillis", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "precision" : "Millisecond", - "type" : "DifferenceBetween", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "type" : "Time", - "annotation" : [ ], - "signature" : [ ], - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "20", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "20", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "555", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "type" : "Time", - "annotation" : [ ], - "signature" : [ ], - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "20", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "20", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "550", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "output", - "value" : { - "type" : "Negate", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal", - "annotation" : [ ] - } - } - } ] - } - } ] - } - }, { - "name" : "From Github issue #29", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ ], - "expression" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "DateTimeA", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2017", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "12", - "type" : "Literal", - "annotation" : [ ] - }, - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, - "timezoneOffset" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "-7.0", - "type" : "Literal", - "annotation" : [ ] - } - } - }, { - "name" : "output", - "value" : { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2017", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "12", - "type" : "Literal", - "annotation" : [ ] - }, - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, - "timezoneOffset" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "-7.0", - "type" : "Literal", - "annotation" : [ ] - } - } - } ] - } - }, { - "name" : "DateTimeAA", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2017", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "12", - "type" : "Literal", - "annotation" : [ ] - }, - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, - "timezoneOffset" : { - "type" : "Negate", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "7.0", - "type" : "Literal", - "annotation" : [ ] - } - } - } - }, { - "name" : "output", - "value" : { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2017", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "12", - "type" : "Literal", - "annotation" : [ ] - }, - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, - "timezoneOffset" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "-7.0", - "type" : "Literal", - "annotation" : [ ] - } - } - } ] - } - }, { - "name" : "DateTimeB", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2017", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "12", - "type" : "Literal", - "annotation" : [ ] - }, - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, - "timezoneOffset" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "-6.0", - "type" : "Literal", - "annotation" : [ ] - } - } - }, { - "name" : "output", - "value" : { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2017", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "12", - "type" : "Literal", - "annotation" : [ ] - }, - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, - "timezoneOffset" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "-6.0", - "type" : "Literal", - "annotation" : [ ] - } - } - } ] - } - }, { - "name" : "DateTimeBB", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2017", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "12", - "type" : "Literal", - "annotation" : [ ] - }, - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, - "timezoneOffset" : { - "type" : "Negate", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "6.0", - "type" : "Literal", - "annotation" : [ ] - } - } - } - }, { - "name" : "output", - "value" : { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2017", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "12", - "type" : "Literal", - "annotation" : [ ] - }, - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, - "timezoneOffset" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "-6.0", - "type" : "Literal", - "annotation" : [ ] - } - } - } ] - } - }, { - "name" : "DateTimeC", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2017", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "11", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal", - "annotation" : [ ] - }, - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "30", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, - "timezoneOffset" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "-6.0", - "type" : "Literal", - "annotation" : [ ] - } - } - }, { - "name" : "output", - "value" : { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2017", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "11", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal", - "annotation" : [ ] - }, - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "30", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, - "timezoneOffset" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "-6.0", - "type" : "Literal", - "annotation" : [ ] - } - } - } ] - } - }, { - "name" : "DateTimeCC", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2017", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "11", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal", - "annotation" : [ ] - }, - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "30", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, - "timezoneOffset" : { - "type" : "Negate", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "6.0", - "type" : "Literal", - "annotation" : [ ] - } - } - } - }, { - "name" : "output", - "value" : { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2017", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "11", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal", - "annotation" : [ ] - }, - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "30", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, - "timezoneOffset" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "-6.0", - "type" : "Literal", - "annotation" : [ ] - } - } - } ] - } - }, { - "name" : "DateTimeD", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2017", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "11", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal", - "annotation" : [ ] - }, - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, - "timezoneOffset" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "-7.0", - "type" : "Literal", - "annotation" : [ ] - } - } - }, { - "name" : "output", - "value" : { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2017", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "11", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal", - "annotation" : [ ] - }, - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, - "timezoneOffset" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "-7.0", - "type" : "Literal", - "annotation" : [ ] - } - } - } ] - } - }, { - "name" : "DateTimeDD", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2017", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "11", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal", - "annotation" : [ ] - }, - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, - "timezoneOffset" : { - "type" : "Negate", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "7.0", - "type" : "Literal", - "annotation" : [ ] - } - } - } - }, { - "name" : "output", - "value" : { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2017", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "11", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal", - "annotation" : [ ] - }, - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, - "timezoneOffset" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "-7.0", - "type" : "Literal", - "annotation" : [ ] - } - } - } ] - } - }, { - "name" : "DateTimeE", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2017", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "12", - "type" : "Literal", - "annotation" : [ ] - }, - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, - "timezoneOffset" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "-7.0", - "type" : "Literal", - "annotation" : [ ] - } - } - }, { - "name" : "output", - "value" : { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2017", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "12", - "type" : "Literal", - "annotation" : [ ] - }, - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, - "timezoneOffset" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "-7.0", - "type" : "Literal", - "annotation" : [ ] - } - } - } ] - } - }, { - "name" : "DateTimeEE", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2017", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "12", - "type" : "Literal", - "annotation" : [ ] - }, - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, - "timezoneOffset" : { - "type" : "Negate", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "7.0", - "type" : "Literal", - "annotation" : [ ] - } - } - } - }, { - "name" : "output", - "value" : { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2017", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "12", - "type" : "Literal", - "annotation" : [ ] - }, - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, - "timezoneOffset" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "-7.0", - "type" : "Literal", - "annotation" : [ ] - } - } - } ] - } - }, { - "name" : "DateTimeF", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2017", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "13", - "type" : "Literal", - "annotation" : [ ] - }, - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, - "timezoneOffset" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "-6.0", - "type" : "Literal", - "annotation" : [ ] - } - } - }, { - "name" : "output", - "value" : { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2017", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "13", - "type" : "Literal", - "annotation" : [ ] - }, - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, - "timezoneOffset" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "-6.0", - "type" : "Literal", - "annotation" : [ ] - } - } - } ] - } - }, { - "name" : "DateTimeFF", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2017", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "13", - "type" : "Literal", - "annotation" : [ ] - }, - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, - "timezoneOffset" : { - "type" : "Negate", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "6.0", - "type" : "Literal", - "annotation" : [ ] - } - } - } - }, { - "name" : "output", - "value" : { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2017", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "13", - "type" : "Literal", - "annotation" : [ ] - }, - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, - "timezoneOffset" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "-6.0", - "type" : "Literal", - "annotation" : [ ] - } - } - } ] - } - }, { - "name" : "DifferenceInHoursA", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "precision" : "Hour", - "type" : "DifferenceBetween", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2017", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "12", - "type" : "Literal", - "annotation" : [ ] - }, - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, - "timezoneOffset" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "-7.0", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2017", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "12", - "type" : "Literal", - "annotation" : [ ] - }, - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, - "timezoneOffset" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "-6.0", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "DifferenceInMinutesA", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "precision" : "Minute", - "type" : "DifferenceBetween", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2017", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "11", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal", - "annotation" : [ ] - }, - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "30", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, - "timezoneOffset" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "-6.0", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2017", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "11", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal", - "annotation" : [ ] - }, - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, - "timezoneOffset" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "-7.0", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "45", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "DifferenceInDaysA", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "precision" : "Day", - "type" : "DifferenceBetween", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2017", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "12", - "type" : "Literal", - "annotation" : [ ] - }, - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, - "timezoneOffset" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "-7.0", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2017", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "13", - "type" : "Literal", - "annotation" : [ ] - }, - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, - "timezoneOffset" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "-6.0", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "DifferenceInHoursAA", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "precision" : "Hour", - "type" : "DifferenceBetween", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2017", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "12", - "type" : "Literal", - "annotation" : [ ] - }, - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, - "timezoneOffset" : { - "type" : "Negate", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "7.0", - "type" : "Literal", - "annotation" : [ ] - } - } - }, { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2017", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "12", - "type" : "Literal", - "annotation" : [ ] - }, - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, - "timezoneOffset" : { - "type" : "Negate", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "6.0", - "type" : "Literal", - "annotation" : [ ] - } - } - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "DifferenceInMinutesAA", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "precision" : "Minute", - "type" : "DifferenceBetween", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2017", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "11", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal", - "annotation" : [ ] - }, - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "30", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, - "timezoneOffset" : { - "type" : "Negate", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "6.0", - "type" : "Literal", - "annotation" : [ ] - } - } - }, { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2017", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "11", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal", - "annotation" : [ ] - }, - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, - "timezoneOffset" : { - "type" : "Negate", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "7.0", - "type" : "Literal", - "annotation" : [ ] - } - } - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "45", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "DifferenceInDaysAA", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "precision" : "Day", - "type" : "DifferenceBetween", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2017", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "12", - "type" : "Literal", - "annotation" : [ ] - }, - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, - "timezoneOffset" : { - "type" : "Negate", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "7.0", - "type" : "Literal", - "annotation" : [ ] - } - } - }, { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2017", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "13", - "type" : "Literal", - "annotation" : [ ] - }, - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, - "timezoneOffset" : { - "type" : "Negate", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "6.0", - "type" : "Literal", - "annotation" : [ ] - } - } - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - } ] - } - }, { - "name" : "Duration", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ ], - "expression" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "DateTimeDurationBetweenYear", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "precision" : "Year", - "type" : "DurationBetween", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2005", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2010", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "output", - "value" : { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "4", - "type" : "Literal", - "annotation" : [ ] - }, - "high" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal", - "annotation" : [ ] - } - } - } ] - } - }, { - "name" : "DateTimeDurationBetweenYearOffset", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "precision" : "Year", - "type" : "DurationBetween", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2005", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2010", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "4", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "4", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "DateTimeDurationBetweenMonth", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "precision" : "Month", - "type" : "DurationBetween", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "type" : "Date", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2014", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "31", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "type" : "Date", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2014", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "DateTimeDurationBetweenDaysDiffYears", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "precision" : "Day", - "type" : "DurationBetween", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2010", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "12", - "type" : "Literal", - "annotation" : [ ] - }, - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "12", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2008", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "8", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal", - "annotation" : [ ] - }, - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "8", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "8", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "output", - "value" : { - "type" : "Negate", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "788", - "type" : "Literal", - "annotation" : [ ] - } - } - } ] - } - } ] - } - }, { - "name" : "Uncertainty tests", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ ], - "expression" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "DateTimeDurationBetweenUncertainInterval", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "precision" : "Day", - "type" : "DurationBetween", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2014", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2014", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "output", - "value" : { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "16", - "type" : "Literal", - "annotation" : [ ] - }, - "high" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "44", - "type" : "Literal", - "annotation" : [ ] - } - } - } ] - } - }, { - "name" : "DateTimeDurationBetweenUncertainInterval2", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "precision" : "Month", - "type" : "DurationBetween", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2005", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2006", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "output", - "value" : { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "4", - "type" : "Literal", - "annotation" : [ ] - }, - "high" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "16", - "type" : "Literal", - "annotation" : [ ] - } - } - } ] - } - }, { - "name" : "DateTimeDurationBetweenUncertainAdd", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Add", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "precision" : "Day", - "type" : "DurationBetween", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2014", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2014", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal", - "annotation" : [ ] - } - } ] - }, { - "precision" : "Day", - "type" : "DurationBetween", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2014", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2014", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } ] - } - }, { - "name" : "output", - "value" : { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "32", - "type" : "Literal", - "annotation" : [ ] - }, - "high" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "88", - "type" : "Literal", - "annotation" : [ ] - } - } - } ] - } - }, { - "name" : "DateTimeDurationBetweenUncertainSubtract", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Subtract", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "precision" : "Day", - "type" : "DurationBetween", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2014", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2014", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal", - "annotation" : [ ] - } - } ] - }, { - "precision" : "Month", - "type" : "DurationBetween", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2005", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2006", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } ] - } - }, { - "name" : "output", - "value" : { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, - "high" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "40", - "type" : "Literal", - "annotation" : [ ] - } - } - } ] - } - }, { - "name" : "DateTimeDurationBetweenUncertainMultiply", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Multiply", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "precision" : "Day", - "type" : "DurationBetween", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2014", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2014", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal", - "annotation" : [ ] - } - } ] - }, { - "precision" : "Day", - "type" : "DurationBetween", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2014", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2014", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } ] - } - }, { - "name" : "output", - "value" : { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "256", - "type" : "Literal", - "annotation" : [ ] - }, - "high" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1936", - "type" : "Literal", - "annotation" : [ ] - } - } - } ] - } - }, { - "name" : "DateTimeDurationBetweenUncertainDiv", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "TruncatedDivide", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "precision" : "Day", - "type" : "DurationBetween", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2014", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2014", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal", - "annotation" : [ ] - } - } ] - }, { - "precision" : "Month", - "type" : "DurationBetween", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2005", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2006", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } ] - } - }, { - "name" : "invalid", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "true", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "DateTimeDurationBetweenMonthUncertain", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Greater", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "precision" : "Month", - "type" : "DurationBetween", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2005", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2006", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "7", - "type" : "Literal", - "annotation" : [ ] - } - } ] - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal", - "annotation" : [ ] - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "true", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "DateTimeDurationBetweenMonthUncertain2", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Greater", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "precision" : "Month", - "type" : "DurationBetween", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2005", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2006", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal", - "annotation" : [ ] - } - } ] - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal", - "annotation" : [ ] - } ] - } - }, { - "name" : "output", - "value" : { - "type" : "Null", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "DateTimeDurationBetweenMonthUncertain3", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Greater", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "precision" : "Month", - "type" : "DurationBetween", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2005", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2006", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "7", - "type" : "Literal", - "annotation" : [ ] - } - } ] - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "25", - "type" : "Literal", - "annotation" : [ ] - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "false", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "DateTimeDurationBetweenMonthUncertain4", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Less", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "precision" : "Month", - "type" : "DurationBetween", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2005", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2006", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "7", - "type" : "Literal", - "annotation" : [ ] - } - } ] - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "24", - "type" : "Literal", - "annotation" : [ ] - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "true", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "DateTimeDurationBetweenMonthUncertain5", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Equal", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "precision" : "Month", - "type" : "DurationBetween", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2005", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2006", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "7", - "type" : "Literal", - "annotation" : [ ] - } - } ] - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "24", - "type" : "Literal", - "annotation" : [ ] - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "false", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "DateTimeDurationBetweenMonthUncertain6", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "GreaterOrEqual", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "precision" : "Month", - "type" : "DurationBetween", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2005", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2006", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "7", - "type" : "Literal", - "annotation" : [ ] - } - } ] - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal", - "annotation" : [ ] - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "true", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "DateTimeDurationBetweenMonthUncertain7", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "LessOrEqual", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "precision" : "Month", - "type" : "DurationBetween", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2005", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2006", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "7", - "type" : "Literal", - "annotation" : [ ] - } - } ] - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "24", - "type" : "Literal", - "annotation" : [ ] - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "true", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "DateTime1", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - }, - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "20", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - } - } - }, { - "name" : "output", - "value" : { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - }, - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "20", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - } - } - } ] - } - }, { - "name" : "DateTime2", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2013", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - }, - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "9", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "20", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - } - } - }, { - "name" : "output", - "value" : { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2013", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - }, - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "9", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "20", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - } - } - } ] - } - }, { - "name" : "DurationInYears", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "precision" : "Year", - "type" : "DurationBetween", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "type" : "DateFrom", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - }, - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "20", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - } - } - }, { - "type" : "DateFrom", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2013", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - }, - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "9", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "20", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - } - } - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "DurationInWeeks", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "precision" : "Week", - "type" : "DurationBetween", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - }, - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "22", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "9", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "20", - "type" : "Literal", - "annotation" : [ ] - }, - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "7", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "19", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "33", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "DurationInWeeks2", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "precision" : "Week", - "type" : "DurationBetween", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - }, - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "22", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "9", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "24", - "type" : "Literal", - "annotation" : [ ] - }, - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "7", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "19", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "33", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "DurationInWeeks3", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "precision" : "Week", - "type" : "DurationBetween", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - }, - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "6", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "9", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "24", - "type" : "Literal", - "annotation" : [ ] - }, - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "7", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "19", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "33", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "TimeDurationBetweenHour", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "precision" : "Hour", - "type" : "DurationBetween", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "type" : "Time", - "annotation" : [ ], - "signature" : [ ], - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "20", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "26", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "555", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "type" : "Time", - "annotation" : [ ], - "signature" : [ ], - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "23", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "25", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "555", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "TimeDurationBetweenHourDiffPrecision", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "skipped", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "Translation Error: Syntax error at Z", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "TimeDurationBetweenHourDiffPrecision2", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "skipped", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "Wrong output: Duration in hours between T06 and T07:00:00 should be Uncertainty[0, 1]", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "TimeDurationBetweenMinute", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "precision" : "Minute", - "type" : "DurationBetween", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "type" : "Time", - "annotation" : [ ], - "signature" : [ ], - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "23", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "20", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "16", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "555", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "type" : "Time", - "annotation" : [ ], - "signature" : [ ], - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "23", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "25", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "555", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "4", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "TimeDurationBetweenSecond", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "precision" : "Second", - "type" : "DurationBetween", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "type" : "Time", - "annotation" : [ ], - "signature" : [ ], - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "23", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "25", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "556", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "type" : "Time", - "annotation" : [ ], - "signature" : [ ], - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "23", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "25", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "555", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "4", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "TimeDurationBetweenMillis", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "precision" : "Millisecond", - "type" : "DurationBetween", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "type" : "Time", - "annotation" : [ ], - "signature" : [ ], - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "23", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "25", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "25", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "555", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "type" : "Time", - "annotation" : [ ], - "signature" : [ ], - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "23", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "25", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "25", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "560", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "DurationInHoursA", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "precision" : "Hour", - "type" : "DurationBetween", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2017", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "12", - "type" : "Literal", - "annotation" : [ ] - }, - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, - "timezoneOffset" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "-7.0", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2017", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "12", - "type" : "Literal", - "annotation" : [ ] - }, - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, - "timezoneOffset" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "-6.0", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "DurationInMinutesA", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "precision" : "Minute", - "type" : "DurationBetween", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2017", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "11", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal", - "annotation" : [ ] - }, - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "30", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, - "timezoneOffset" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "-6.0", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2017", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "11", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal", - "annotation" : [ ] - }, - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, - "timezoneOffset" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "-7.0", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "45", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "DurationInDaysA", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "precision" : "Day", - "type" : "DurationBetween", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2017", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "12", - "type" : "Literal", - "annotation" : [ ] - }, - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, - "timezoneOffset" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "-7.0", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2017", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "13", - "type" : "Literal", - "annotation" : [ ] - }, - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, - "timezoneOffset" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "-6.0", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "DurationInHoursAA", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "precision" : "Hour", - "type" : "DurationBetween", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2017", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "12", - "type" : "Literal", - "annotation" : [ ] - }, - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, - "timezoneOffset" : { - "type" : "Negate", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "7.0", - "type" : "Literal", - "annotation" : [ ] - } - } - }, { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2017", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "12", - "type" : "Literal", - "annotation" : [ ] - }, - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, - "timezoneOffset" : { - "type" : "Negate", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "6.0", - "type" : "Literal", - "annotation" : [ ] - } - } - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "DurationInMinutesAA", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "precision" : "Minute", - "type" : "DurationBetween", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2017", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "11", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal", - "annotation" : [ ] - }, - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "30", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, - "timezoneOffset" : { - "type" : "Negate", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "6.0", - "type" : "Literal", - "annotation" : [ ] - } - } - }, { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2017", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "11", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal", - "annotation" : [ ] - }, - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, - "timezoneOffset" : { - "type" : "Negate", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "7.0", - "type" : "Literal", - "annotation" : [ ] - } - } - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "45", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "DurationInDaysAA", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "precision" : "Day", - "type" : "DurationBetween", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2017", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "12", - "type" : "Literal", - "annotation" : [ ] - }, - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, - "timezoneOffset" : { - "type" : "Negate", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "7.0", - "type" : "Literal", - "annotation" : [ ] - } - } - }, { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2017", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "13", - "type" : "Literal", - "annotation" : [ ] - }, - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, - "timezoneOffset" : { - "type" : "Negate", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "6.0", - "type" : "Literal", - "annotation" : [ ] - } - } - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - } ] - } - }, { - "name" : "Now", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ ], - "expression" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "DateTimeNow", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Equal", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "type" : "Now", - "annotation" : [ ], - "signature" : [ ] - }, { - "type" : "Now", - "annotation" : [ ], - "signature" : [ ] - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "true", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - } ] - } - }, { - "name" : "SameAs", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ ], - "expression" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "DateTimeSameAsYearTrue", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "precision" : "Year", - "type" : "SameAs", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2014", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2014", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "true", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "DateTimeSameAsYearFalse", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "precision" : "Year", - "type" : "SameAs", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2013", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2014", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "false", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "DateTimeSameAsMonthTrue", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "precision" : "Month", - "type" : "SameAs", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2014", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "12", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2014", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "12", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "true", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "DateTimeSameAsMonthFalse", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "precision" : "Month", - "type" : "SameAs", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2014", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "12", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2014", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "false", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "DateTimeSameAsDayTrue", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "precision" : "Day", - "type" : "SameAs", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2014", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "12", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2014", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "12", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "true", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "DateTimeSameAsDayFalse", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "precision" : "Day", - "type" : "SameAs", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2014", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2014", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "11", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "false", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "DateTimeSameAsHourTrue", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "precision" : "Hour", - "type" : "SameAs", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2014", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "12", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - }, - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "20", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2014", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "12", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - }, - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "20", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "true", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "DateTimeSameAsHourFalse", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "precision" : "Hour", - "type" : "SameAs", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2014", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - }, - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "20", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2014", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - }, - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "21", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "false", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "DateTimeSameAsMinuteTrue", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "precision" : "Minute", - "type" : "SameAs", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2014", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "12", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - }, - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "20", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "55", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2014", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "12", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - }, - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "20", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "55", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "true", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "DateTimeSameAsMinuteFalse", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "precision" : "Minute", - "type" : "SameAs", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2014", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - }, - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "20", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "55", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2014", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - }, - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "21", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "56", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "false", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "DateTimeSameAsSecondTrue", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "precision" : "Second", - "type" : "SameAs", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2014", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "12", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - }, - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "20", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "55", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "45", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2014", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "12", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - }, - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "20", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "55", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "45", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "true", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "DateTimeSameAsSecondFalse", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "precision" : "Second", - "type" : "SameAs", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2014", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - }, - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "20", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "55", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "45", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2014", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - }, - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "21", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "55", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "44", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "false", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "DateTimeSameAsMillisecondTrue", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "precision" : "Millisecond", - "type" : "SameAs", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2014", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "12", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - }, - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "20", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "55", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "45", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "500", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2014", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "12", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - }, - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "20", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "55", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "45", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "500", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "true", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "DateTimeSameAsMillisecondFalse", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "precision" : "Millisecond", - "type" : "SameAs", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2014", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - }, - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "20", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "55", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "45", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "500", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2014", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - }, - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "21", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "55", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "45", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "501", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "false", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "DateTimeSameAsNull", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "precision" : "Day", - "type" : "SameAs", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2014", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2014", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "12", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "output", - "value" : { - "type" : "Null", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "SameAsTimezoneTrue", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "precision" : "Hour", - "type" : "SameAs", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - }, - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "20", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "999", - "type" : "Literal", - "annotation" : [ ] - }, - "timezoneOffset" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "7.0", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - }, - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "9", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "20", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "999", - "type" : "Literal", - "annotation" : [ ] - }, - "timezoneOffset" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "6.0", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "true", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "SameAsTimezoneFalse", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "precision" : "Hour", - "type" : "SameAs", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - }, - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "20", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "999", - "type" : "Literal", - "annotation" : [ ] - }, - "timezoneOffset" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "7.0", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - }, - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "20", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "999", - "type" : "Literal", - "annotation" : [ ] - }, - "timezoneOffset" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "6.0", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "false", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "TimeSameAsHourTrue", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "precision" : "Hour", - "type" : "SameAs", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "type" : "Time", - "annotation" : [ ], - "signature" : [ ], - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "23", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "25", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "25", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "555", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "type" : "Time", - "annotation" : [ ], - "signature" : [ ], - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "23", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "55", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "25", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "900", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "true", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "TimeSameAsHourFalse", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "precision" : "Hour", - "type" : "SameAs", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "type" : "Time", - "annotation" : [ ], - "signature" : [ ], - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "22", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "25", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "25", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "555", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "type" : "Time", - "annotation" : [ ], - "signature" : [ ], - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "23", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "25", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "25", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "555", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "false", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "TimeSameAsMinuteTrue", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "precision" : "Minute", - "type" : "SameAs", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "type" : "Time", - "annotation" : [ ], - "signature" : [ ], - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "23", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "55", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "22", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "555", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "type" : "Time", - "annotation" : [ ], - "signature" : [ ], - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "23", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "55", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "25", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "900", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "true", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "TimeSameAsMinuteFalse", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "precision" : "Minute", - "type" : "SameAs", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "type" : "Time", - "annotation" : [ ], - "signature" : [ ], - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "23", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "26", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "25", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "555", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "type" : "Time", - "annotation" : [ ], - "signature" : [ ], - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "23", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "25", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "25", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "555", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "false", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "TimeSameAsSecondTrue", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "precision" : "Second", - "type" : "SameAs", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "type" : "Time", - "annotation" : [ ], - "signature" : [ ], - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "23", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "55", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "25", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "555", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "type" : "Time", - "annotation" : [ ], - "signature" : [ ], - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "23", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "55", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "25", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "900", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "true", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "TimeSameAsSecondFalse", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "precision" : "Second", - "type" : "SameAs", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "type" : "Time", - "annotation" : [ ], - "signature" : [ ], - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "23", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "25", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "35", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "555", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "type" : "Time", - "annotation" : [ ], - "signature" : [ ], - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "23", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "25", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "25", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "555", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "false", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "TimeSameAsMillisTrue", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "precision" : "Millisecond", - "type" : "SameAs", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "type" : "Time", - "annotation" : [ ], - "signature" : [ ], - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "23", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "55", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "25", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "555", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "type" : "Time", - "annotation" : [ ], - "signature" : [ ], - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "23", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "55", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "25", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "555", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "true", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "TimeSameAsMillisFalse", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "precision" : "Millisecond", - "type" : "SameAs", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "type" : "Time", - "annotation" : [ ], - "signature" : [ ], - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "23", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "25", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "25", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "555", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "type" : "Time", - "annotation" : [ ], - "signature" : [ ], - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "23", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "25", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "25", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "554", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "false", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - } ] - } - }, { - "name" : "SameOrAfter", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ ], - "expression" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "DateTimeSameOrAfterYearTrue1", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "precision" : "Year", - "type" : "SameOrAfter", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2014", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2014", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "true", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "DateTimeSameOrAfterYearTrue2", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "precision" : "Year", - "type" : "SameOrAfter", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2016", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2014", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "true", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "DateTimeSameOrAfterYearFalse", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "precision" : "Year", - "type" : "SameOrAfter", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2013", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2014", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "false", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "DateTimeSameOrAfterMonthTrue1", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "precision" : "Month", - "type" : "SameOrAfter", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2014", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "12", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2014", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "12", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "true", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "DateTimeSameOrAfterMonthTrue2", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "precision" : "Month", - "type" : "SameOrAfter", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2014", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2014", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "9", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "true", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "DateTimeSameOrAfterMonthFalse", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "precision" : "Month", - "type" : "SameOrAfter", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2014", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2014", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "11", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "false", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "DateTimeSameOrAfterDayTrue1", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "precision" : "Day", - "type" : "SameOrAfter", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2014", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "12", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "20", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2014", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "12", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "20", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "true", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "DateTimeSameOrAfterDayTrue2", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "precision" : "Day", - "type" : "SameOrAfter", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2014", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "25", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2014", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "20", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "true", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "DateTimeSameOrAfterDayFalse", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "precision" : "Day", - "type" : "SameOrAfter", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2014", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "20", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2014", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "25", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "false", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "DateTimeSameOrAfterHourTrue1", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "precision" : "Hour", - "type" : "SameOrAfter", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2014", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "12", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "20", - "type" : "Literal", - "annotation" : [ ] - }, - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "12", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2014", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "12", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "20", - "type" : "Literal", - "annotation" : [ ] - }, - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "12", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "true", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "DateTimeSameOrAfterHourTrue2", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "precision" : "Hour", - "type" : "SameOrAfter", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2014", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "25", - "type" : "Literal", - "annotation" : [ ] - }, - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "12", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2014", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "25", - "type" : "Literal", - "annotation" : [ ] - }, - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "true", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "DateTimeSameOrAfterHourFalse", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "precision" : "Hour", - "type" : "SameOrAfter", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2014", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "25", - "type" : "Literal", - "annotation" : [ ] - }, - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "12", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2014", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "25", - "type" : "Literal", - "annotation" : [ ] - }, - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "false", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "DateTimeSameOrAfterMinuteTrue1", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "precision" : "Minute", - "type" : "SameOrAfter", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2014", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "12", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "20", - "type" : "Literal", - "annotation" : [ ] - }, - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "12", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "30", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2014", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "12", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "20", - "type" : "Literal", - "annotation" : [ ] - }, - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "12", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "30", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "true", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "DateTimeSameOrAfterMinuteTrue2", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "precision" : "Minute", - "type" : "SameOrAfter", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2014", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "25", - "type" : "Literal", - "annotation" : [ ] - }, - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "30", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2014", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "25", - "type" : "Literal", - "annotation" : [ ] - }, - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "25", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "true", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "DateTimeSameOrAfterMinuteFalse", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "precision" : "Minute", - "type" : "SameOrAfter", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2014", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "25", - "type" : "Literal", - "annotation" : [ ] - }, - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "30", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2014", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "25", - "type" : "Literal", - "annotation" : [ ] - }, - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "45", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "false", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "DateTimeSameOrAfterSecondTrue1", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "precision" : "Second", - "type" : "SameOrAfter", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2014", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "12", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "20", - "type" : "Literal", - "annotation" : [ ] - }, - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "12", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "30", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2014", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "12", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "20", - "type" : "Literal", - "annotation" : [ ] - }, - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "12", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "30", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "true", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "DateTimeSameOrAfterSecondTrue2", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "precision" : "Second", - "type" : "SameOrAfter", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2014", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "25", - "type" : "Literal", - "annotation" : [ ] - }, - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "25", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "25", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2014", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "25", - "type" : "Literal", - "annotation" : [ ] - }, - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "25", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "20", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "true", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "DateTimeSameOrAfterSecondFalse", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "precision" : "Second", - "type" : "SameOrAfter", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2014", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "25", - "type" : "Literal", - "annotation" : [ ] - }, - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "45", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "20", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2014", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "25", - "type" : "Literal", - "annotation" : [ ] - }, - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "45", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "21", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "false", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "DateTimeSameOrAfterMillisecondTrue1", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "precision" : "Millisecond", - "type" : "SameOrAfter", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2014", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "12", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "20", - "type" : "Literal", - "annotation" : [ ] - }, - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "12", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "30", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "250", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2014", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "12", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "20", - "type" : "Literal", - "annotation" : [ ] - }, - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "12", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "30", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "250", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "true", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "DateTimeSameOrAfterMillisecondTrue2", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "precision" : "Millisecond", - "type" : "SameOrAfter", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2014", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "25", - "type" : "Literal", - "annotation" : [ ] - }, - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "25", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "20", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "500", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2014", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "25", - "type" : "Literal", - "annotation" : [ ] - }, - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "25", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "20", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "499", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "true", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "DateTimeSameOrAfterMillisecondFalse", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "precision" : "Millisecond", - "type" : "SameOrAfter", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2014", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "25", - "type" : "Literal", - "annotation" : [ ] - }, - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "45", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "20", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "500", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2014", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "25", - "type" : "Literal", - "annotation" : [ ] - }, - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "45", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "20", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "501", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "false", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "DateTimeSameOrAfterNull1", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "precision" : "Day", - "type" : "SameOrAfter", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2014", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "12", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "20", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2014", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "12", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "output", - "value" : { - "type" : "Null", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "SameOrAfterTimezoneTrue", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "precision" : "Hour", - "type" : "SameOrAfter", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - }, - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "20", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "999", - "type" : "Literal", - "annotation" : [ ] - }, - "timezoneOffset" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "7.0", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - }, - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "9", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "20", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "999", - "type" : "Literal", - "annotation" : [ ] - }, - "timezoneOffset" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "6.0", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "true", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "SameOrAfterTimezoneFalse", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "precision" : "Hour", - "type" : "SameOrAfter", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - }, - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "20", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "999", - "type" : "Literal", - "annotation" : [ ] - }, - "timezoneOffset" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "7.0", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - }, - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "20", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "999", - "type" : "Literal", - "annotation" : [ ] - }, - "timezoneOffset" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "6.0", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "false", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "TimeSameOrAfterHourTrue1", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "precision" : "Hour", - "type" : "SameOrAfter", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "type" : "Time", - "annotation" : [ ], - "signature" : [ ], - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "23", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "25", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "25", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "555", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "type" : "Time", - "annotation" : [ ], - "signature" : [ ], - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "23", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "55", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "25", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "900", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "true", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "TimeSameOrAfterHourTrue2", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "precision" : "Hour", - "type" : "SameOrAfter", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "type" : "Time", - "annotation" : [ ], - "signature" : [ ], - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "23", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "25", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "25", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "555", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "type" : "Time", - "annotation" : [ ], - "signature" : [ ], - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "22", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "55", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "25", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "900", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "true", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "TimeSameOrAfterHourFalse", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "precision" : "Hour", - "type" : "SameOrAfter", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "type" : "Time", - "annotation" : [ ], - "signature" : [ ], - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "22", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "25", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "25", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "555", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "type" : "Time", - "annotation" : [ ], - "signature" : [ ], - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "23", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "55", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "25", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "900", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "false", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "TimeSameOrAfterMinuteTrue1", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "precision" : "Minute", - "type" : "SameOrAfter", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "type" : "Time", - "annotation" : [ ], - "signature" : [ ], - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "23", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "25", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "25", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "555", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "type" : "Time", - "annotation" : [ ], - "signature" : [ ], - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "23", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "25", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "25", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "900", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "true", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "TimeSameOrAfterMinuteTrue2", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "precision" : "Minute", - "type" : "SameOrAfter", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "type" : "Time", - "annotation" : [ ], - "signature" : [ ], - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "23", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "25", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "25", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "555", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "type" : "Time", - "annotation" : [ ], - "signature" : [ ], - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "22", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "25", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "900", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "true", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "TimeSameOrAfterMinuteFalse", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "precision" : "Minute", - "type" : "SameOrAfter", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "type" : "Time", - "annotation" : [ ], - "signature" : [ ], - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "23", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "25", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "25", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "555", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "type" : "Time", - "annotation" : [ ], - "signature" : [ ], - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "23", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "55", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "25", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "900", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "false", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "TimeSameOrAfterSecondTrue1", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "precision" : "Second", - "type" : "SameOrAfter", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "type" : "Time", - "annotation" : [ ], - "signature" : [ ], - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "23", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "25", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "25", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "555", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "type" : "Time", - "annotation" : [ ], - "signature" : [ ], - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "23", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "25", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "25", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "900", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "true", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "TimeSameOrAfterSecondTrue2", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "precision" : "Second", - "type" : "SameOrAfter", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "type" : "Time", - "annotation" : [ ], - "signature" : [ ], - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "23", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "25", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "35", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "555", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "type" : "Time", - "annotation" : [ ], - "signature" : [ ], - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "22", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "25", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "25", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "900", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "true", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "TimeSameOrAfterSecondFalse", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "precision" : "Second", - "type" : "SameOrAfter", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "type" : "Time", - "annotation" : [ ], - "signature" : [ ], - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "23", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "55", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "25", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "555", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "type" : "Time", - "annotation" : [ ], - "signature" : [ ], - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "23", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "55", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "35", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "900", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "false", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "TimeSameOrAfterMillisTrue1", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "precision" : "Millisecond", - "type" : "SameOrAfter", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "type" : "Time", - "annotation" : [ ], - "signature" : [ ], - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "23", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "25", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "25", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "555", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "type" : "Time", - "annotation" : [ ], - "signature" : [ ], - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "23", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "25", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "25", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "555", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "true", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "TimeSameOrAfterMillisTrue2", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "precision" : "Millisecond", - "type" : "SameOrAfter", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "type" : "Time", - "annotation" : [ ], - "signature" : [ ], - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "23", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "25", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "25", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "555", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "type" : "Time", - "annotation" : [ ], - "signature" : [ ], - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "22", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "25", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "25", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "550", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "true", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "TimeSameOrAfterMillisFalse", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "precision" : "Millisecond", - "type" : "SameOrAfter", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "type" : "Time", - "annotation" : [ ], - "signature" : [ ], - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "23", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "55", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "25", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "555", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "type" : "Time", - "annotation" : [ ], - "signature" : [ ], - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "23", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "55", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "25", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "900", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "false", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "OnOrAfterTrue", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "SameOrAfter", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2017", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "12", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "20", - "type" : "Literal", - "annotation" : [ ] - }, - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "11", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2017", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "12", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "20", - "type" : "Literal", - "annotation" : [ ] - }, - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "11", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "true", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "Issue32DateTime", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "SameOrAfter", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2017", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "12", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "21", - "type" : "Literal", - "annotation" : [ ] - }, - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2017", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "12", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "20", - "type" : "Literal", - "annotation" : [ ] - }, - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "11", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "true", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - } ] - } - }, { - "name" : "SameOrBefore", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ ], - "expression" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "DateTimeSameOrBeforeYearTrue1", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "precision" : "Year", - "type" : "SameOrBefore", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2014", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2014", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "true", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "DateTimeSameOrBeforeYearTrue2", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "precision" : "Year", - "type" : "SameOrBefore", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2013", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2014", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "true", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "DateTimeSameOrBeforeYearFalse", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "precision" : "Year", - "type" : "SameOrBefore", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2015", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2014", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "false", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "DateTimeSameOrBeforeMonthTrue1", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "precision" : "Month", - "type" : "SameOrBefore", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2014", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "12", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2014", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "12", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "true", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "DateTimeSameOrBeforeMonthTrue2", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "precision" : "Month", - "type" : "SameOrBefore", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2014", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "8", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2014", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "9", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "true", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "DateTimeSameOrBeforeMonthFalse", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "precision" : "Month", - "type" : "SameOrBefore", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2014", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "12", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2014", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "11", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "false", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "DateTimeSameOrBeforeDayTrue1", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "precision" : "Day", - "type" : "SameOrBefore", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2014", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "12", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "20", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2014", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "12", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "20", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "true", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "DateTimeSameOrBeforeDayTrue2", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "precision" : "Day", - "type" : "SameOrBefore", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2014", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2014", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "20", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "true", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "DateTimeSameOrBeforeDayFalse", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "precision" : "Day", - "type" : "SameOrBefore", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2014", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "30", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2014", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "25", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "false", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "DateTimeSameOrBeforeHourTrue1", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "precision" : "Hour", - "type" : "SameOrBefore", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2014", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "12", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "20", - "type" : "Literal", - "annotation" : [ ] - }, - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "12", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2014", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "12", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "20", - "type" : "Literal", - "annotation" : [ ] - }, - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "12", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "true", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "DateTimeSameOrBeforeHourTrue2", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "precision" : "Hour", - "type" : "SameOrBefore", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2014", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "25", - "type" : "Literal", - "annotation" : [ ] - }, - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2014", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "25", - "type" : "Literal", - "annotation" : [ ] - }, - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "true", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "DateTimeSameOrBeforeHourFalse", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "precision" : "Hour", - "type" : "SameOrBefore", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2014", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "25", - "type" : "Literal", - "annotation" : [ ] - }, - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "20", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2014", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "25", - "type" : "Literal", - "annotation" : [ ] - }, - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "false", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "DateTimeSameOrBeforeMinuteTrue1", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "precision" : "Minute", - "type" : "SameOrBefore", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2014", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "12", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "20", - "type" : "Literal", - "annotation" : [ ] - }, - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "12", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "30", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2014", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "12", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "20", - "type" : "Literal", - "annotation" : [ ] - }, - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "12", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "30", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "true", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "DateTimeSameOrBeforeMinuteTrue2", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "precision" : "Minute", - "type" : "SameOrBefore", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2014", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "25", - "type" : "Literal", - "annotation" : [ ] - }, - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "20", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2014", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "25", - "type" : "Literal", - "annotation" : [ ] - }, - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "25", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "true", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "DateTimeSameOrBeforeMinuteFalse", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "precision" : "Minute", - "type" : "SameOrBefore", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2014", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "25", - "type" : "Literal", - "annotation" : [ ] - }, - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "55", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2014", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "25", - "type" : "Literal", - "annotation" : [ ] - }, - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "45", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "false", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "DateTimeSameOrBeforeSecondTrue1", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "precision" : "Second", - "type" : "SameOrBefore", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2014", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "12", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "20", - "type" : "Literal", - "annotation" : [ ] - }, - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "12", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "30", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2014", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "12", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "20", - "type" : "Literal", - "annotation" : [ ] - }, - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "12", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "30", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "true", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "DateTimeSameOrBeforeSecondTrue2", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "precision" : "Second", - "type" : "SameOrBefore", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2014", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "25", - "type" : "Literal", - "annotation" : [ ] - }, - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "25", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2014", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "25", - "type" : "Literal", - "annotation" : [ ] - }, - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "25", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "20", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "true", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "DateTimeSameOrBeforeSecondFalse", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "precision" : "Second", - "type" : "SameOrBefore", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2014", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "25", - "type" : "Literal", - "annotation" : [ ] - }, - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "45", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "25", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2014", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "25", - "type" : "Literal", - "annotation" : [ ] - }, - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "45", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "21", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "false", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "DateTimeSameOrBeforeMillisecondTrue1", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "precision" : "Millisecond", - "type" : "SameOrBefore", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2014", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "12", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "20", - "type" : "Literal", - "annotation" : [ ] - }, - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "12", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "30", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "250", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2014", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "12", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "20", - "type" : "Literal", - "annotation" : [ ] - }, - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "12", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "30", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "250", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "true", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "DateTimeSameOrBeforeMillisecondTrue2", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "precision" : "Millisecond", - "type" : "SameOrBefore", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2014", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "25", - "type" : "Literal", - "annotation" : [ ] - }, - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "25", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "20", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "450", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2014", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "25", - "type" : "Literal", - "annotation" : [ ] - }, - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "25", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "20", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "499", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "true", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "DateTimeSameOrBeforeMillisecondFalse", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "precision" : "Millisecond", - "type" : "SameOrBefore", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2014", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "25", - "type" : "Literal", - "annotation" : [ ] - }, - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "45", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "20", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "505", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2014", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "25", - "type" : "Literal", - "annotation" : [ ] - }, - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "45", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "20", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "501", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "false", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "DateTimeSameOrBeforeNull1", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "precision" : "Minute", - "type" : "SameOrBefore", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2014", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "12", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "20", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2014", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "12", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "20", - "type" : "Literal", - "annotation" : [ ] - }, - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "output", - "value" : { - "type" : "Null", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "SameOrBeforeTimezoneTrue", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "precision" : "Hour", - "type" : "SameOrBefore", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - }, - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "9", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "20", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "999", - "type" : "Literal", - "annotation" : [ ] - }, - "timezoneOffset" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "7.0", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - }, - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "20", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "999", - "type" : "Literal", - "annotation" : [ ] - }, - "timezoneOffset" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "6.0", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "true", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "SameOrBeforeTimezoneFalse", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "precision" : "Hour", - "type" : "SameOrBefore", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - }, - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "20", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "999", - "type" : "Literal", - "annotation" : [ ] - }, - "timezoneOffset" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "6.0", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - }, - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "20", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "999", - "type" : "Literal", - "annotation" : [ ] - }, - "timezoneOffset" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "7.0", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "false", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "TimeSameOrBeforeHourTrue1", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "precision" : "Hour", - "type" : "SameOrBefore", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "type" : "Time", - "annotation" : [ ], - "signature" : [ ], - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "23", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "25", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "25", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "555", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "type" : "Time", - "annotation" : [ ], - "signature" : [ ], - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "23", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "55", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "25", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "900", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "true", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "TimeSameOrBeforeHourTrue2", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "precision" : "Hour", - "type" : "SameOrBefore", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "type" : "Time", - "annotation" : [ ], - "signature" : [ ], - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "21", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "25", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "25", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "555", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "type" : "Time", - "annotation" : [ ], - "signature" : [ ], - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "22", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "55", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "25", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "900", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "true", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "TimeSameOrBeforeHourFalse", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "precision" : "Hour", - "type" : "SameOrBefore", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "type" : "Time", - "annotation" : [ ], - "signature" : [ ], - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "22", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "25", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "25", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "555", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "type" : "Time", - "annotation" : [ ], - "signature" : [ ], - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "21", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "55", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "25", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "900", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "false", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "TimeSameOrBeforeMinuteTrue1", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "precision" : "Minute", - "type" : "SameOrBefore", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "type" : "Time", - "annotation" : [ ], - "signature" : [ ], - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "23", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "25", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "25", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "555", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "type" : "Time", - "annotation" : [ ], - "signature" : [ ], - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "23", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "25", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "25", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "900", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "true", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "TimeSameOrBeforeMinuteFalse0", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "precision" : "Minute", - "type" : "SameOrBefore", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "type" : "Time", - "annotation" : [ ], - "signature" : [ ], - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "23", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "25", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "555", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "type" : "Time", - "annotation" : [ ], - "signature" : [ ], - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "22", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "25", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "900", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "false", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "TimeSameOrBeforeMinuteFalse", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "precision" : "Minute", - "type" : "SameOrBefore", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "type" : "Time", - "annotation" : [ ], - "signature" : [ ], - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "23", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "56", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "25", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "555", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "type" : "Time", - "annotation" : [ ], - "signature" : [ ], - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "23", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "55", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "25", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "900", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "false", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "TimeSameOrBeforeSecondTrue1", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "precision" : "Second", - "type" : "SameOrBefore", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "type" : "Time", - "annotation" : [ ], - "signature" : [ ], - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "23", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "25", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "25", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "555", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "type" : "Time", - "annotation" : [ ], - "signature" : [ ], - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "23", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "25", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "25", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "900", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "true", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "TimeSameOrBeforeSecondFalse0", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "precision" : "Second", - "type" : "SameOrBefore", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "type" : "Time", - "annotation" : [ ], - "signature" : [ ], - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "23", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "25", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "35", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "555", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "type" : "Time", - "annotation" : [ ], - "signature" : [ ], - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "22", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "25", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "45", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "900", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "false", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "TimeSameOrBeforeSecondFalse", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "precision" : "Second", - "type" : "SameOrBefore", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "type" : "Time", - "annotation" : [ ], - "signature" : [ ], - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "23", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "55", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "45", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "555", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "type" : "Time", - "annotation" : [ ], - "signature" : [ ], - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "23", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "55", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "35", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "900", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "false", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "TimeSameOrBeforeMillisTrue1", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "precision" : "Millisecond", - "type" : "SameOrBefore", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "type" : "Time", - "annotation" : [ ], - "signature" : [ ], - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "23", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "25", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "25", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "555", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "type" : "Time", - "annotation" : [ ], - "signature" : [ ], - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "23", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "25", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "25", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "555", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "true", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "TimeSameOrBeforeMillisFalse0", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "precision" : "Millisecond", - "type" : "SameOrBefore", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "type" : "Time", - "annotation" : [ ], - "signature" : [ ], - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "23", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "25", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "25", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "200", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "type" : "Time", - "annotation" : [ ], - "signature" : [ ], - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "22", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "25", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "25", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "550", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "false", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "TimeSameOrBeforeMillisFalse", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "precision" : "Millisecond", - "type" : "SameOrBefore", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "type" : "Time", - "annotation" : [ ], - "signature" : [ ], - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "23", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "55", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "25", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "966", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "type" : "Time", - "annotation" : [ ], - "signature" : [ ], - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "23", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "55", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "25", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "900", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "false", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - } ] - } - }, { - "name" : "Subtract", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ ], - "expression" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "DateTimeSubtract5Years", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Subtract", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2005", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "value" : 5, - "unit" : "years", - "type" : "Quantity", - "annotation" : [ ] - } ] - } - }, { - "name" : "output", - "value" : { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - } - } - } ] - } - }, { - "name" : "DateTimeSubtractInvalidYears", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Subtract", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2005", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "value" : 2005, - "unit" : "years", - "type" : "Quantity", - "annotation" : [ ] - } ] - } - }, { - "name" : "invalid", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "true", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "DateTimeSubtract5Months", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Subtract", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2005", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "6", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "value" : 5, - "unit" : "months", - "type" : "Quantity", - "annotation" : [ ] - } ] - } - }, { - "name" : "output", - "value" : { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2005", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - } - } - } ] - } - }, { - "name" : "DateTimeSubtractMonthsUnderflow", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Subtract", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2005", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "value" : 6, - "unit" : "months", - "type" : "Quantity", - "annotation" : [ ] - } ] - } - }, { - "name" : "output", - "value" : { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2004", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "11", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - } - } - } ] - } - }, { - "name" : "DateTimeSubtractThreeWeeks", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Equal", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "type" : "Subtract", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2018", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "23", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "value" : 3, - "unit" : "weeks", - "type" : "Quantity", - "annotation" : [ ] - } ] - }, { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2018", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "true", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "DateTimeSubtractYearInWeeks", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "skipped", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "Wrong output: 2018-05-23 - 52 weeks should be 2019-05-24 (both dates should be Wednesdays)", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "DateTimeSubtract5Days", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Subtract", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2005", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "value" : 5, - "unit" : "days", - "type" : "Quantity", - "annotation" : [ ] - } ] - } - }, { - "name" : "output", - "value" : { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2005", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal", - "annotation" : [ ] - } - } - } ] - } - }, { - "name" : "DateTimeSubtractDaysUnderflow", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Subtract", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2016", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "6", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "value" : 11, - "unit" : "days", - "type" : "Quantity", - "annotation" : [ ] - } ] - } - }, { - "name" : "output", - "value" : { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2016", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "30", - "type" : "Literal", - "annotation" : [ ] - } - } - } ] - } - }, { - "name" : "DateTimeSubtract5Hours", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Subtract", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2005", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - }, - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "value" : 5, - "unit" : "hours", - "type" : "Quantity", - "annotation" : [ ] - } ] - } - }, { - "name" : "output", - "value" : { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2005", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - }, - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal", - "annotation" : [ ] - } - } - } ] - } - }, { - "name" : "DateTimeSubtractHoursUnderflow", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Subtract", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2016", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "6", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - }, - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "value" : 6, - "unit" : "hours", - "type" : "Quantity", - "annotation" : [ ] - } ] - } - }, { - "name" : "output", - "value" : { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2016", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "6", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "9", - "type" : "Literal", - "annotation" : [ ] - }, - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "23", - "type" : "Literal", - "annotation" : [ ] - } - } - } ] - } - }, { - "name" : "DateTimeSubtract5Minutes", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Subtract", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2005", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - }, - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "value" : 5, - "unit" : "minutes", - "type" : "Quantity", - "annotation" : [ ] - } ] - } - }, { - "name" : "output", - "value" : { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2005", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - }, - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal", - "annotation" : [ ] - } - } - } ] - } - }, { - "name" : "DateTimeSubtractMinutesUnderflow", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Subtract", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2016", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "6", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - }, - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "value" : 6, - "unit" : "minutes", - "type" : "Quantity", - "annotation" : [ ] - } ] - } - }, { - "name" : "output", - "value" : { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2016", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "6", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - }, - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "4", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - } - } - } ] - } - }, { - "name" : "DateTimeSubtract5Seconds", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Subtract", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2005", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - }, - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "value" : 5, - "unit" : "seconds", - "type" : "Quantity", - "annotation" : [ ] - } ] - } - }, { - "name" : "output", - "value" : { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2005", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - }, - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal", - "annotation" : [ ] - } - } - } ] - } - }, { - "name" : "DateTimeSubtract1YearInSeconds", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "skipped", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "Spec says to convert more precise duration to most precise unit in Date. How do you convert seconds to months? 31535999 is 364.999 days, which isn't quite 12 months, so we answer 2015-06.", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "DateTimeSubtract15HourPrecisionSecond", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Subtract", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2016", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - }, - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "20", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "30", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "value" : 15, - "unit" : "hours", - "type" : "Quantity", - "annotation" : [ ] - } ] - } - }, { - "name" : "output", - "value" : { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2016", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "9", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "30", - "type" : "Literal", - "annotation" : [ ] - }, - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "19", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "20", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "30", - "type" : "Literal", - "annotation" : [ ] - } - } - } ] - } - }, { - "name" : "DateTimeSubtractSecondsUnderflow", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Subtract", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2016", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "6", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - }, - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "value" : 6, - "unit" : "seconds", - "type" : "Quantity", - "annotation" : [ ] - } ] - } - }, { - "name" : "output", - "value" : { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2016", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "6", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - }, - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "4", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - } - } - } ] - } - }, { - "name" : "DateTimeSubtract5Milliseconds", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Subtract", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2005", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - }, - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "value" : 5, - "unit" : "milliseconds", - "type" : "Quantity", - "annotation" : [ ] - } ] - } - }, { - "name" : "output", - "value" : { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2005", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - }, - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal", - "annotation" : [ ] - } - } - } ] - } - }, { - "name" : "DateTimeSubtractMillisecondsUnderflow", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Subtract", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2016", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "6", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - }, - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "value" : 6, - "unit" : "milliseconds", - "type" : "Quantity", - "annotation" : [ ] - } ] - } - }, { - "name" : "output", - "value" : { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2016", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "6", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - }, - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "4", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "999", - "type" : "Literal", - "annotation" : [ ] - } - } - } ] - } - }, { - "name" : "DateTimeSubtract2YearsAsMonths", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Subtract", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2014", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "value" : 24, - "unit" : "months", - "type" : "Quantity", - "annotation" : [ ] - } ] - } - }, { - "name" : "output", - "value" : { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal", - "annotation" : [ ] - } - } - } ] - } - }, { - "name" : "DateTimeSubtract2YearsAsMonthsRem1", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Subtract", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2014", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "value" : 25, - "unit" : "months", - "type" : "Quantity", - "annotation" : [ ] - } ] - } - }, { - "name" : "output", - "value" : { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal", - "annotation" : [ ] - } - } - } ] - } - }, { - "name" : "DateSubtract2YearsAsMonths", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Subtract", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "type" : "Date", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2014", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "value" : 24, - "unit" : "months", - "type" : "Quantity", - "annotation" : [ ] - } ] - } - }, { - "name" : "output", - "value" : { - "type" : "Date", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal", - "annotation" : [ ] - } - } - } ] - } - }, { - "name" : "DateSubtract2YearsAsMonthsRem1", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Subtract", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "type" : "Date", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2014", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "value" : 25, - "unit" : "months", - "type" : "Quantity", - "annotation" : [ ] - } ] - } - }, { - "name" : "output", - "value" : { - "type" : "Date", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal", - "annotation" : [ ] - } - } - } ] - } - }, { - "name" : "DateSubtract33Days", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Subtract", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "type" : "Date", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2014", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "6", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "value" : 33, - "unit" : "days", - "type" : "Quantity", - "annotation" : [ ] - } ] - } - }, { - "name" : "output", - "value" : { - "type" : "Date", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2014", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal", - "annotation" : [ ] - } - } - } ] - } - }, { - "name" : "DateSubtract1Year", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Subtract", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "type" : "Date", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2014", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "6", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "value" : 1, - "unit" : "year", - "type" : "Quantity", - "annotation" : [ ] - } ] - } - }, { - "name" : "output", - "value" : { - "type" : "Date", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2013", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "6", - "type" : "Literal", - "annotation" : [ ] - } - } - } ] - } - }, { - "name" : "TimeSubtract5Hours", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Subtract", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "type" : "Time", - "annotation" : [ ], - "signature" : [ ], - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "999", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "value" : 5, - "unit" : "hours", - "type" : "Quantity", - "annotation" : [ ] - } ] - } - }, { - "name" : "output", - "value" : { - "type" : "Time", - "annotation" : [ ], - "signature" : [ ], - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "999", - "type" : "Literal", - "annotation" : [ ] - } - } - } ] - } - }, { - "name" : "TimeSubtract1Minute", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Subtract", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "type" : "Time", - "annotation" : [ ], - "signature" : [ ], - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "999", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "value" : 1, - "unit" : "minutes", - "type" : "Quantity", - "annotation" : [ ] - } ] - } - }, { - "name" : "output", - "value" : { - "type" : "Time", - "annotation" : [ ], - "signature" : [ ], - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "58", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "999", - "type" : "Literal", - "annotation" : [ ] - } - } - } ] - } - }, { - "name" : "TimeSubtract1Second", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Subtract", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "type" : "Time", - "annotation" : [ ], - "signature" : [ ], - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "999", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "value" : 1, - "unit" : "seconds", - "type" : "Quantity", - "annotation" : [ ] - } ] - } - }, { - "name" : "output", - "value" : { - "type" : "Time", - "annotation" : [ ], - "signature" : [ ], - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "58", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "999", - "type" : "Literal", - "annotation" : [ ] - } - } - } ] - } - }, { - "name" : "TimeSubtract1Millisecond", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Subtract", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "type" : "Time", - "annotation" : [ ], - "signature" : [ ], - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "value" : 1, - "unit" : "milliseconds", - "type" : "Quantity", - "annotation" : [ ] - } ] - } - }, { - "name" : "output", - "value" : { - "type" : "Time", - "annotation" : [ ], - "signature" : [ ], - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "58", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "999", - "type" : "Literal", - "annotation" : [ ] - } - } - } ] - } - }, { - "name" : "TimeSubtract5Hours1Minute", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Subtract", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "type" : "Subtract", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "type" : "Time", - "annotation" : [ ], - "signature" : [ ], - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "999", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "value" : 5, - "unit" : "hours", - "type" : "Quantity", - "annotation" : [ ] - } ] - }, { - "value" : 1, - "unit" : "minutes", - "type" : "Quantity", - "annotation" : [ ] - } ] - } - }, { - "name" : "output", - "value" : { - "type" : "Time", - "annotation" : [ ], - "signature" : [ ], - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "58", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "999", - "type" : "Literal", - "annotation" : [ ] - } - } - } ] - } - }, { - "name" : "TimeSubtract5hoursByMinute", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Subtract", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "type" : "Time", - "annotation" : [ ], - "signature" : [ ], - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "999", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "value" : 300, - "unit" : "minutes", - "type" : "Quantity", - "annotation" : [ ] - } ] - } - }, { - "name" : "output", - "value" : { - "type" : "Time", - "annotation" : [ ], - "signature" : [ ], - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "999", - "type" : "Literal", - "annotation" : [ ] - } - } - } ] - } - } ] - } - }, { - "name" : "Time", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ ], - "expression" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "TimeTest2", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Time", - "annotation" : [ ], - "signature" : [ ], - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "23", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "999", - "type" : "Literal", - "annotation" : [ ] - } - } - }, { - "name" : "output", - "value" : { - "type" : "Time", - "annotation" : [ ], - "signature" : [ ], - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "23", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "999", - "type" : "Literal", - "annotation" : [ ] - } - } - } ] - } - } ] - } - }, { - "name" : "TimeOfDay", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ ], - "expression" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "TimeOfDayTest", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Equal", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "type" : "TimeOfDay", - "annotation" : [ ], - "signature" : [ ] - }, { - "type" : "TimeOfDay", - "annotation" : [ ], - "signature" : [ ] - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "true", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - } ] - } - }, { - "name" : "Today", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ ], - "expression" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "DateTimeSameOrBeforeTodayTrue1", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "precision" : "Day", - "type" : "SameOrBefore", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "type" : "Today", - "annotation" : [ ], - "signature" : [ ] - }, { - "type" : "Today", - "annotation" : [ ], - "signature" : [ ] - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "true", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "DateTimeSameOrBeforeTodayTrue2", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "precision" : "Day", - "type" : "SameOrBefore", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "type" : "Today", - "annotation" : [ ], - "signature" : [ ] - }, { - "type" : "Add", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "type" : "Today", - "annotation" : [ ], - "signature" : [ ] - }, { - "value" : 1, - "unit" : "days", - "type" : "Quantity", - "annotation" : [ ] - } ] - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "true", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "DateTimeSameOrBeforeTodayFalse", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "precision" : "Day", - "type" : "SameOrBefore", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "type" : "Add", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "type" : "Today", - "annotation" : [ ], - "signature" : [ ] - }, { - "value" : 1, - "unit" : "years", - "type" : "Quantity", - "annotation" : [ ] - } ] - }, { - "type" : "Today", - "annotation" : [ ], - "signature" : [ ] - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "false", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "DateTimeAddTodayTrue", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Greater", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "type" : "Add", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "type" : "Today", - "annotation" : [ ], - "signature" : [ ] - }, { - "value" : 1, - "unit" : "days", - "type" : "Quantity", - "annotation" : [ ] - } ] - }, { - "type" : "Today", - "annotation" : [ ], - "signature" : [ ] - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "true", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "Issue34B", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Equal", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "type" : "Today", - "annotation" : [ ], - "signature" : [ ] - }, { - "type" : "Today", - "annotation" : [ ], - "signature" : [ ] - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "true", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - } ] - } - } ] + "library": { + "annotation": [ + { + "type": "CqlToElmInfo", + "translatorVersion": "4.2.0", + "translatorOptions": "", + "signatureLevel": "None" } - } + ], + "identifier": { + "id": "CqlDateTimeOperatorsTest", + "version": "1.4.0" + }, + "schemaIdentifier": { + "id": "urn:hl7-org:elm", + "version": "r1" + }, + "usings": { + "def": [ + { + "localIdentifier": "System", + "uri": "urn:hl7-org:elm-types:r1", + "annotation": [] + }, + { + "localIdentifier": "QUICK", + "uri": "http://hl7.org/fhir/us/qicore", + "version": "3.3.0", + "annotation": [] + } + ] + }, + "contexts": { + "def": [ + { + "name": "Patient", + "annotation": [] + } + ] + }, + "statements": { + "def": [ + { + "name": "Patient", + "context": "Patient", + "annotation": [], + "expression": { + "type": "SingletonFrom", + "annotation": [], + "signature": [], + "operand": { + "type": "Retrieve", + "dataType": "{http://hl7.org/fhir/us/qicore}Patient", + "templateId": "http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-patient", + "annotation": [], + "include": [], + "codeFilter": [], + "dateFilter": [], + "otherFilter": [] + } + } + }, + { + "name": "Add", + "context": "Patient", + "accessLevel": "Public", + "annotation": [], + "expression": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "DateTimeAdd5Years", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Add", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2005", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + } + }, + { + "type": "Quantity", + "value": 5, + "unit": "years", + "annotation": [] + } + ] + } + }, + { + "name": "output", + "value": { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2010", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + } + } + } + ] + } + }, + { + "name": "DateTimeAddInvalidYears", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Add", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2005", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + } + }, + { + "type": "Quantity", + "value": 8000, + "unit": "years", + "annotation": [] + } + ] + } + }, + { + "name": "invalid", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "true", + "annotation": [] + } + } + ] + } + }, + { + "name": "DateTimeAdd5Months", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Add", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2005", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "5", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + } + }, + { + "type": "Quantity", + "value": 5, + "unit": "months", + "annotation": [] + } + ] + } + }, + { + "name": "output", + "value": { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2005", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + } + } + } + ] + } + }, + { + "name": "DateTimeAddMonthsOverflow", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Add", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2005", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "5", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + } + }, + { + "type": "Quantity", + "value": 10, + "unit": "months", + "annotation": [] + } + ] + } + }, + { + "name": "output", + "value": { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2006", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "3", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + } + } + } + ] + } + }, + { + "name": "DateTimeAddThreeWeeks", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Equal", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Add", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2018", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "5", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2", + "annotation": [] + } + }, + { + "type": "Quantity", + "value": 3, + "unit": "weeks", + "annotation": [] + } + ] + }, + { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2018", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "5", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "23", + "annotation": [] + } + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "true", + "annotation": [] + } + } + ] + } + }, + { + "name": "DateTimeAddYearInWeeks", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "skipped", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}String", + "value": "Wrong output: 2018-05-23 + 52 weeks should be 2019-05-22 (both dates should be Wednesdays)", + "annotation": [] + } + } + ] + } + }, + { + "name": "DateTimeAdd5Days", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Add", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2005", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "5", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + } + }, + { + "type": "Quantity", + "value": 5, + "unit": "days", + "annotation": [] + } + ] + } + }, + { + "name": "output", + "value": { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2005", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "5", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "15", + "annotation": [] + } + } + } + ] + } + }, + { + "name": "DateTimeAddDaysOverflow", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Add", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2016", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "6", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + } + }, + { + "type": "Quantity", + "value": 21, + "unit": "days", + "annotation": [] + } + ] + } + }, + { + "name": "output", + "value": { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2016", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "7", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + } + } + } + ] + } + }, + { + "name": "DateTimeAdd5Hours", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Add", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2005", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "5", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + }, + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "5", + "annotation": [] + } + }, + { + "type": "Quantity", + "value": 5, + "unit": "hours", + "annotation": [] + } + ] + } + }, + { + "name": "output", + "value": { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2005", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "5", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + }, + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + } + } + } + ] + } + }, + { + "name": "DateTimeAdd5HoursWithLeftMinPrecisionSecond", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Add", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2005", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "5", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + }, + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "5", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "20", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "30", + "annotation": [] + } + }, + { + "type": "Quantity", + "value": 5, + "unit": "hours", + "annotation": [] + } + ] + } + }, + { + "name": "output", + "value": { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2005", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "5", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + }, + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "20", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "30", + "annotation": [] + } + } + } + ] + } + }, + { + "name": "DateTimeAdd5HoursWithLeftMinPrecisionDay", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Equal", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Add", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2005", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "5", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + } + }, + { + "type": "Quantity", + "value": 5, + "unit": "hours", + "annotation": [] + } + ] + }, + { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2005", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "5", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + } + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "true", + "annotation": [] + } + } + ] + } + }, + { + "name": "DateTimeAdd5HoursWithLeftMinPrecisionDayOverflow", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Equal", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Add", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2005", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "5", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + } + }, + { + "type": "Quantity", + "value": 25, + "unit": "hours", + "annotation": [] + } + ] + }, + { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2005", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "5", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "11", + "annotation": [] + } + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "true", + "annotation": [] + } + } + ] + } + }, + { + "name": "DateAdd2YearsAsMonths", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Add", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Date", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2014", + "annotation": [] + } + }, + { + "type": "Quantity", + "value": 24, + "unit": "months", + "annotation": [] + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Date", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2016", + "annotation": [] + } + } + } + ] + } + }, + { + "name": "DateAdd2YearsAsMonthsRem1", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Add", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Date", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2014", + "annotation": [] + } + }, + { + "type": "Quantity", + "value": 25, + "unit": "months", + "annotation": [] + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Date", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2016", + "annotation": [] + } + } + } + ] + } + }, + { + "name": "DateAdd33Days", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Add", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Date", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2014", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "6", + "annotation": [] + } + }, + { + "type": "Quantity", + "value": 33, + "unit": "days", + "annotation": [] + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Date", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2014", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "7", + "annotation": [] + } + } + } + ] + } + }, + { + "name": "DateAdd1Year", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Add", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Date", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2014", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "6", + "annotation": [] + } + }, + { + "type": "Quantity", + "value": 1, + "unit": "year", + "annotation": [] + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Date", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2015", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "6", + "annotation": [] + } + } + } + ] + } + }, + { + "name": "DateTimeAddHoursOverflow", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Add", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2016", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "6", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + }, + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "5", + "annotation": [] + } + }, + { + "type": "Quantity", + "value": 19, + "unit": "hours", + "annotation": [] + } + ] + } + }, + { + "name": "output", + "value": { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2016", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "6", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "11", + "annotation": [] + }, + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + } + } + } + ] + } + }, + { + "name": "DateTimeAdd5Minutes", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Add", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2005", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "5", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + }, + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "5", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "5", + "annotation": [] + } + }, + { + "type": "Quantity", + "value": 5, + "unit": "minutes", + "annotation": [] + } + ] + } + }, + { + "name": "output", + "value": { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2005", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "5", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + }, + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "5", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + } + } + } + ] + } + }, + { + "name": "DateTimeAddMinutesOverflow", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Add", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2016", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "6", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + }, + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "5", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "5", + "annotation": [] + } + }, + { + "type": "Quantity", + "value": 55, + "unit": "minutes", + "annotation": [] + } + ] + } + }, + { + "name": "output", + "value": { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2016", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "6", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + }, + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "6", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + } + } + } + ] + } + }, + { + "name": "DateTimeAdd5Seconds", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Add", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2005", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "5", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + }, + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "5", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "5", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "5", + "annotation": [] + } + }, + { + "type": "Quantity", + "value": 5, + "unit": "seconds", + "annotation": [] + } + ] + } + }, + { + "name": "output", + "value": { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2005", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "5", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + }, + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "5", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "5", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + } + } + } + ] + } + }, + { + "name": "DateTimeAddSecondsOverflow", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Add", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2016", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "6", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + }, + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "5", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "5", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "5", + "annotation": [] + } + }, + { + "type": "Quantity", + "value": 55, + "unit": "seconds", + "annotation": [] + } + ] + } + }, + { + "name": "output", + "value": { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2016", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "6", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + }, + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "5", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "6", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + } + } + } + ] + } + }, + { + "name": "DateTimeAdd5Milliseconds", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Add", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2005", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "5", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + }, + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "5", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "5", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "5", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "5", + "annotation": [] + } + }, + { + "type": "Quantity", + "value": 5, + "unit": "milliseconds", + "annotation": [] + } + ] + } + }, + { + "name": "output", + "value": { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2005", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "5", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + }, + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "5", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "5", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "5", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + } + } + } + ] + } + }, + { + "name": "DateTimeAddMillisecondsOverflow", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Add", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2016", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "6", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + }, + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "5", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "5", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "5", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "5", + "annotation": [] + } + }, + { + "type": "Quantity", + "value": 995, + "unit": "milliseconds", + "annotation": [] + } + ] + } + }, + { + "name": "output", + "value": { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2016", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "6", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + }, + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "5", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "5", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "6", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + } + } + } + ] + } + }, + { + "name": "DateTimeAddLeapYear", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Add", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2012", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "29", + "annotation": [] + } + }, + { + "type": "Quantity", + "value": 1, + "unit": "year", + "annotation": [] + } + ] + } + }, + { + "name": "output", + "value": { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2013", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "28", + "annotation": [] + } + } + } + ] + } + }, + { + "name": "DateTimeAdd2YearsByMonths", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Add", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2014", + "annotation": [] + } + }, + { + "type": "Quantity", + "value": 24, + "unit": "months", + "annotation": [] + } + ] + } + }, + { + "name": "output", + "value": { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2016", + "annotation": [] + } + } + } + ] + } + }, + { + "name": "DateTimeAdd2YearsByDays", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Add", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2014", + "annotation": [] + } + }, + { + "type": "Quantity", + "value": 730, + "unit": "days", + "annotation": [] + } + ] + } + }, + { + "name": "output", + "value": { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2016", + "annotation": [] + } + } + } + ] + } + }, + { + "name": "DateTimeAdd2YearsByDaysRem5Days", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Add", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2014", + "annotation": [] + } + }, + { + "type": "Quantity", + "value": 735, + "unit": "days", + "annotation": [] + } + ] + } + }, + { + "name": "output", + "value": { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2016", + "annotation": [] + } + } + } + ] + } + }, + { + "name": "TimeAdd5Hours", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Add", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Time", + "annotation": [], + "signature": [], + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "15", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "999", + "annotation": [] + } + }, + { + "type": "Quantity", + "value": 5, + "unit": "hours", + "annotation": [] + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Time", + "annotation": [], + "signature": [], + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "20", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "999", + "annotation": [] + } + } + } + ] + } + }, + { + "name": "TimeAdd1Minute", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Add", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Time", + "annotation": [], + "signature": [], + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "15", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "999", + "annotation": [] + } + }, + { + "type": "Quantity", + "value": 1, + "unit": "minute", + "annotation": [] + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Time", + "annotation": [], + "signature": [], + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "16", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "999", + "annotation": [] + } + } + } + ] + } + }, + { + "name": "TimeAdd1Second", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Add", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Time", + "annotation": [], + "signature": [], + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "15", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "999", + "annotation": [] + } + }, + { + "type": "Quantity", + "value": 1, + "unit": "seconds", + "annotation": [] + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Time", + "annotation": [], + "signature": [], + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "16", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "999", + "annotation": [] + } + } + } + ] + } + }, + { + "name": "TimeAdd1Millisecond", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Add", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Time", + "annotation": [], + "signature": [], + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "15", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "999", + "annotation": [] + } + }, + { + "type": "Quantity", + "value": 1, + "unit": "milliseconds", + "annotation": [] + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Time", + "annotation": [], + "signature": [], + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "16", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + } + } + } + ] + } + }, + { + "name": "TimeAdd5Hours1Minute", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Add", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Add", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Time", + "annotation": [], + "signature": [], + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "15", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "999", + "annotation": [] + } + }, + { + "type": "Quantity", + "value": 5, + "unit": "hours", + "annotation": [] + } + ] + }, + { + "type": "Quantity", + "value": 1, + "unit": "minutes", + "annotation": [] + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Time", + "annotation": [], + "signature": [], + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "21", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "999", + "annotation": [] + } + } + } + ] + } + }, + { + "name": "TimeAdd5hoursByMinute", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Add", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Time", + "annotation": [], + "signature": [], + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "15", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "999", + "annotation": [] + } + }, + { + "type": "Quantity", + "value": 300, + "unit": "minutes", + "annotation": [] + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Time", + "annotation": [], + "signature": [], + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "20", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "999", + "annotation": [] + } + } + } + ] + } + } + ] + } + }, + { + "name": "After", + "context": "Patient", + "accessLevel": "Public", + "annotation": [], + "expression": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "DateTimeAfterYearTrue", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "After", + "precision": "Year", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2005", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + } + }, + { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2004", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + } + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "true", + "annotation": [] + } + } + ] + } + }, + { + "name": "DateTimeAfterYearFalse", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "After", + "precision": "Year", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2004", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "11", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + } + }, + { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2004", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + } + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "false", + "annotation": [] + } + } + ] + } + }, + { + "name": "DateTimeAfterMonthTrue", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "After", + "precision": "Month", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2004", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "12", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + } + }, + { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2004", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "11", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + } + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "true", + "annotation": [] + } + } + ] + } + }, + { + "name": "DateTimeAfterMonthFalse", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "After", + "precision": "Month", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2004", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "9", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + } + }, + { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2004", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + } + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "false", + "annotation": [] + } + } + ] + } + }, + { + "name": "DateTimeAfterDayTrue", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "After", + "precision": "Day", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2004", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "12", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "11", + "annotation": [] + } + }, + { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2004", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + } + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "true", + "annotation": [] + } + } + ] + } + }, + { + "name": "DateTimeAfterDayTrue2", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "After", + "precision": "Day", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2004", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "12", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "09", + "annotation": [] + } + }, + { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2003", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + } + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "true", + "annotation": [] + } + } + ] + } + }, + { + "name": "DateTimeAfterDayFalse", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "After", + "precision": "Day", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2004", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "9", + "annotation": [] + } + }, + { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2004", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + } + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "false", + "annotation": [] + } + } + ] + } + }, + { + "name": "DateTimeAfterHourTrue", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "After", + "precision": "Hour", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2004", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + }, + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + } + }, + { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2004", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + }, + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "5", + "annotation": [] + } + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "true", + "annotation": [] + } + } + ] + } + }, + { + "name": "DateTimeAfterHourFalse", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "After", + "precision": "Hour", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2004", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + }, + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "20", + "annotation": [] + } + }, + { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2004", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + }, + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "21", + "annotation": [] + } + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "false", + "annotation": [] + } + } + ] + } + }, + { + "name": "DateTimeAfterMinuteTrue", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "After", + "precision": "Minute", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2004", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + }, + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "20", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "30", + "annotation": [] + } + }, + { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2004", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + }, + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "20", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "29", + "annotation": [] + } + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "true", + "annotation": [] + } + } + ] + } + }, + { + "name": "DateTimeAfterMinuteFalse", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "After", + "precision": "Minute", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2004", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + }, + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "20", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "30", + "annotation": [] + } + }, + { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2004", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + }, + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "20", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "31", + "annotation": [] + } + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "false", + "annotation": [] + } + } + ] + } + }, + { + "name": "DateTimeAfterSecondTrue", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "After", + "precision": "Second", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2004", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + }, + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "20", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "30", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "15", + "annotation": [] + } + }, + { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2004", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + }, + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "20", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "30", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "14", + "annotation": [] + } + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "true", + "annotation": [] + } + } + ] + } + }, + { + "name": "DateTimeAfterSecondFalse", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "After", + "precision": "Second", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2004", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + }, + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "20", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "30", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "15", + "annotation": [] + } + }, + { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2004", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + }, + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "20", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "30", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "16", + "annotation": [] + } + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "false", + "annotation": [] + } + } + ] + } + }, + { + "name": "DateTimeAfterMillisecondTrue", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "After", + "precision": "Millisecond", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2004", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + }, + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "20", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "30", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "15", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "512", + "annotation": [] + } + }, + { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2004", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + }, + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "20", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "30", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "15", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "510", + "annotation": [] + } + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "true", + "annotation": [] + } + } + ] + } + }, + { + "name": "DateTimeAfterMillisecondFalse", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "After", + "precision": "Millisecond", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2004", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + }, + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "20", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "30", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "15", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "512", + "annotation": [] + } + }, + { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2004", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + }, + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "20", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "30", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "15", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "513", + "annotation": [] + } + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "false", + "annotation": [] + } + } + ] + } + }, + { + "name": "DateTimeAfterUncertain", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "After", + "precision": "Day", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2005", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + } + }, + { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2005", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "9", + "annotation": [] + } + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "true", + "annotation": [] + } + } + ] + } + }, + { + "name": "AfterTimezoneTrue", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "After", + "precision": "Hour", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2012", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "3", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + }, + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "20", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "999", + "annotation": [] + }, + "timezoneOffset": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "7.0", + "annotation": [] + } + }, + { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2012", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "3", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + }, + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "8", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "20", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "999", + "annotation": [] + }, + "timezoneOffset": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "6.0", + "annotation": [] + } + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "true", + "annotation": [] + } + } + ] + } + }, + { + "name": "AfterTimezoneFalse", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "After", + "precision": "Hour", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2012", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "3", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + }, + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "20", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "999", + "annotation": [] + }, + "timezoneOffset": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "7.0", + "annotation": [] + } + }, + { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2012", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "3", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + }, + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "20", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "999", + "annotation": [] + }, + "timezoneOffset": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "6.0", + "annotation": [] + } + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "false", + "annotation": [] + } + } + ] + } + }, + { + "name": "TimeAfterHourTrue", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "After", + "precision": "Hour", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Time", + "annotation": [], + "signature": [], + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "15", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "999", + "annotation": [] + } + }, + { + "type": "Time", + "annotation": [], + "signature": [], + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "14", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "999", + "annotation": [] + } + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "true", + "annotation": [] + } + } + ] + } + }, + { + "name": "TimeAfterHourFalse", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "After", + "precision": "Hour", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Time", + "annotation": [], + "signature": [], + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "15", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "999", + "annotation": [] + } + }, + { + "type": "Time", + "annotation": [], + "signature": [], + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "16", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "999", + "annotation": [] + } + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "false", + "annotation": [] + } + } + ] + } + }, + { + "name": "TimeAfterMinuteTrue", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "After", + "precision": "Minute", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Time", + "annotation": [], + "signature": [], + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "15", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "999", + "annotation": [] + } + }, + { + "type": "Time", + "annotation": [], + "signature": [], + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "15", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "58", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "999", + "annotation": [] + } + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "true", + "annotation": [] + } + } + ] + } + }, + { + "name": "TimeAfterMinuteFalse", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "After", + "precision": "Minute", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Time", + "annotation": [], + "signature": [], + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "15", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "58", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "999", + "annotation": [] + } + }, + { + "type": "Time", + "annotation": [], + "signature": [], + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "15", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "999", + "annotation": [] + } + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "false", + "annotation": [] + } + } + ] + } + }, + { + "name": "TimeAfterSecondTrue", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "After", + "precision": "Second", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Time", + "annotation": [], + "signature": [], + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "15", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "999", + "annotation": [] + } + }, + { + "type": "Time", + "annotation": [], + "signature": [], + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "15", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "58", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "999", + "annotation": [] + } + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "true", + "annotation": [] + } + } + ] + } + }, + { + "name": "TimeAfterSecondFalse", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "After", + "precision": "Second", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Time", + "annotation": [], + "signature": [], + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "15", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "58", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "999", + "annotation": [] + } + }, + { + "type": "Time", + "annotation": [], + "signature": [], + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "15", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "999", + "annotation": [] + } + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "false", + "annotation": [] + } + } + ] + } + }, + { + "name": "TimeAfterMillisecondTrue", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "After", + "precision": "Millisecond", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Time", + "annotation": [], + "signature": [], + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "15", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "999", + "annotation": [] + } + }, + { + "type": "Time", + "annotation": [], + "signature": [], + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "15", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "998", + "annotation": [] + } + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "true", + "annotation": [] + } + } + ] + } + }, + { + "name": "TimeAfterMillisecondFalse", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "After", + "precision": "Millisecond", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Time", + "annotation": [], + "signature": [], + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "15", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "998", + "annotation": [] + } + }, + { + "type": "Time", + "annotation": [], + "signature": [], + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "15", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "999", + "annotation": [] + } + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "false", + "annotation": [] + } + } + ] + } + }, + { + "name": "TimeAfterTimeCstor", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "After", + "precision": "Hour", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Time", + "annotation": [], + "signature": [], + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "12", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "30", + "annotation": [] + } + }, + { + "type": "Time", + "annotation": [], + "signature": [], + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "11", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "55", + "annotation": [] + } + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "true", + "annotation": [] + } + } + ] + } + } + ] + } + }, + { + "name": "Before", + "context": "Patient", + "accessLevel": "Public", + "annotation": [], + "expression": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "DateTimeBeforeYearTrue", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Before", + "precision": "Year", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2003", + "annotation": [] + } + }, + { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2004", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + } + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "true", + "annotation": [] + } + } + ] + } + }, + { + "name": "DateTimeBeforeYearFalse", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Before", + "precision": "Year", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2004", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "11", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + } + }, + { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2003", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + } + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "false", + "annotation": [] + } + } + ] + } + }, + { + "name": "DateTimeBeforeMonthTrue", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Before", + "precision": "Month", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2004", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + } + }, + { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2004", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "11", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + } + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "true", + "annotation": [] + } + } + ] + } + }, + { + "name": "DateTimeBeforeMonthFalse", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Before", + "precision": "Month", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2004", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "11", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + } + }, + { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2004", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + } + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "false", + "annotation": [] + } + } + ] + } + }, + { + "name": "DateTimeBeforeDayTrue", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Before", + "precision": "Day", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2004", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + } + }, + { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2004", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + } + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "true", + "annotation": [] + } + } + ] + } + }, + { + "name": "DateTimeBeforeDayTrue2", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Before", + "precision": "Day", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2003", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "11", + "annotation": [] + } + }, + { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2004", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + } + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "true", + "annotation": [] + } + } + ] + } + }, + { + "name": "DateTimeBeforeDayFalse", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Before", + "precision": "Day", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2004", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "11", + "annotation": [] + } + }, + { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2004", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + } + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "false", + "annotation": [] + } + } + ] + } + }, + { + "name": "DateTimeBeforeHourTrue", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Before", + "precision": "Hour", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2004", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + }, + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + } + }, + { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2004", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + }, + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "5", + "annotation": [] + } + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "true", + "annotation": [] + } + } + ] + } + }, + { + "name": "DateTimeBeforeHourFalse", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Before", + "precision": "Hour", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2004", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + }, + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "23", + "annotation": [] + } + }, + { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2004", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + }, + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "21", + "annotation": [] + } + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "false", + "annotation": [] + } + } + ] + } + }, + { + "name": "DateTimeBeforeMinuteTrue", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Before", + "precision": "Minute", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2004", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + }, + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "20", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "28", + "annotation": [] + } + }, + { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2004", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + }, + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "20", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "29", + "annotation": [] + } + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "true", + "annotation": [] + } + } + ] + } + }, + { + "name": "DateTimeBeforeMinuteFalse", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Before", + "precision": "Minute", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2004", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + }, + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "20", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "35", + "annotation": [] + } + }, + { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2004", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + }, + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "20", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "31", + "annotation": [] + } + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "false", + "annotation": [] + } + } + ] + } + }, + { + "name": "DateTimeBeforeSecondTrue", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Before", + "precision": "Second", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2004", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + }, + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "20", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "30", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "12", + "annotation": [] + } + }, + { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2004", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + }, + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "20", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "30", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "14", + "annotation": [] + } + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "true", + "annotation": [] + } + } + ] + } + }, + { + "name": "DateTimeBeforeSecondFalse", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Before", + "precision": "Second", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2004", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + }, + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "20", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "30", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "55", + "annotation": [] + } + }, + { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2004", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + }, + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "20", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "30", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "16", + "annotation": [] + } + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "false", + "annotation": [] + } + } + ] + } + }, + { + "name": "DateTimeBeforeMillisecondTrue", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Before", + "precision": "Millisecond", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2004", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + }, + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "20", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "30", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "15", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "508", + "annotation": [] + } + }, + { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2004", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + }, + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "20", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "30", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "15", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "510", + "annotation": [] + } + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "true", + "annotation": [] + } + } + ] + } + }, + { + "name": "DateTimeBeforeMillisecondFalse", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Before", + "precision": "Millisecond", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2004", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + }, + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "20", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "30", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "15", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "599", + "annotation": [] + } + }, + { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2004", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + }, + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "20", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "30", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "15", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "513", + "annotation": [] + } + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "false", + "annotation": [] + } + } + ] + } + }, + { + "name": "BeforeTimezoneTrue", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Before", + "precision": "Hour", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2012", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "3", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + }, + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "20", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "999", + "annotation": [] + }, + "timezoneOffset": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "7.0", + "annotation": [] + } + }, + { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2012", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "3", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + }, + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "20", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "999", + "annotation": [] + }, + "timezoneOffset": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "6.0", + "annotation": [] + } + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "true", + "annotation": [] + } + } + ] + } + }, + { + "name": "BeforeTimezoneFalse", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Before", + "precision": "Hour", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2012", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "3", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + }, + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "20", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "999", + "annotation": [] + }, + "timezoneOffset": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "7.0", + "annotation": [] + } + }, + { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2012", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "3", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + }, + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "9", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "20", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "999", + "annotation": [] + }, + "timezoneOffset": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "6.0", + "annotation": [] + } + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "false", + "annotation": [] + } + } + ] + } + }, + { + "name": "TimeBeforeHourTrue", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Before", + "precision": "Hour", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Time", + "annotation": [], + "signature": [], + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "13", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "999", + "annotation": [] + } + }, + { + "type": "Time", + "annotation": [], + "signature": [], + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "14", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "999", + "annotation": [] + } + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "true", + "annotation": [] + } + } + ] + } + }, + { + "name": "TimeBeforeHourFalse", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Before", + "precision": "Hour", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Time", + "annotation": [], + "signature": [], + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "16", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "999", + "annotation": [] + } + }, + { + "type": "Time", + "annotation": [], + "signature": [], + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "15", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "999", + "annotation": [] + } + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "false", + "annotation": [] + } + } + ] + } + }, + { + "name": "TimeBeforeMinuteTrue", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Before", + "precision": "Minute", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Time", + "annotation": [], + "signature": [], + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "15", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "57", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "999", + "annotation": [] + } + }, + { + "type": "Time", + "annotation": [], + "signature": [], + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "15", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "58", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "999", + "annotation": [] + } + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "true", + "annotation": [] + } + } + ] + } + }, + { + "name": "TimeBeforeMinuteFalse", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Before", + "precision": "Minute", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Time", + "annotation": [], + "signature": [], + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "15", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "999", + "annotation": [] + } + }, + { + "type": "Time", + "annotation": [], + "signature": [], + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "15", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "999", + "annotation": [] + } + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "false", + "annotation": [] + } + } + ] + } + }, + { + "name": "TimeBeforeSecondTrue", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Before", + "precision": "Second", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Time", + "annotation": [], + "signature": [], + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "15", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "57", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "999", + "annotation": [] + } + }, + { + "type": "Time", + "annotation": [], + "signature": [], + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "15", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "58", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "999", + "annotation": [] + } + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "true", + "annotation": [] + } + } + ] + } + }, + { + "name": "TimeBeforeSecondFalse", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Before", + "precision": "Second", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Time", + "annotation": [], + "signature": [], + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "15", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "56", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "999", + "annotation": [] + } + }, + { + "type": "Time", + "annotation": [], + "signature": [], + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "15", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "55", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "999", + "annotation": [] + } + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "false", + "annotation": [] + } + } + ] + } + }, + { + "name": "TimeBeforeMillisecondTrue", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Before", + "precision": "Millisecond", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Time", + "annotation": [], + "signature": [], + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "15", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "997", + "annotation": [] + } + }, + { + "type": "Time", + "annotation": [], + "signature": [], + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "15", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "998", + "annotation": [] + } + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "true", + "annotation": [] + } + } + ] + } + }, + { + "name": "TimeBeforeMillisecondFalse", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Before", + "precision": "Millisecond", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Time", + "annotation": [], + "signature": [], + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "15", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "998", + "annotation": [] + } + }, + { + "type": "Time", + "annotation": [], + "signature": [], + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "15", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "997", + "annotation": [] + } + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "false", + "annotation": [] + } + } + ] + } + } + ] + } + }, + { + "name": "DateTime", + "context": "Patient", + "accessLevel": "Public", + "annotation": [], + "expression": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "DateTimeYear", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2003", + "annotation": [] + } + } + }, + { + "name": "output", + "value": { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2003", + "annotation": [] + } + } + } + ] + } + }, + { + "name": "DateTimeMonth", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2003", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + } + } + }, + { + "name": "output", + "value": { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2003", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + } + } + } + ] + } + }, + { + "name": "DateTimeDay", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2003", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "29", + "annotation": [] + } + } + }, + { + "name": "output", + "value": { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2003", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "29", + "annotation": [] + } + } + } + ] + } + }, + { + "name": "DateTimeHour", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2003", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "29", + "annotation": [] + }, + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "20", + "annotation": [] + } + } + }, + { + "name": "output", + "value": { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2003", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "29", + "annotation": [] + }, + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "20", + "annotation": [] + } + } + } + ] + } + }, + { + "name": "DateTimeMinute", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2003", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "29", + "annotation": [] + }, + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "20", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "50", + "annotation": [] + } + } + }, + { + "name": "output", + "value": { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2003", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "29", + "annotation": [] + }, + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "20", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "50", + "annotation": [] + } + } + } + ] + } + }, + { + "name": "DateTimeSecond", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2003", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "29", + "annotation": [] + }, + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "20", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "50", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "33", + "annotation": [] + } + } + }, + { + "name": "output", + "value": { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2003", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "29", + "annotation": [] + }, + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "20", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "50", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "33", + "annotation": [] + } + } + } + ] + } + }, + { + "name": "DateTimeMillisecond", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2003", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "29", + "annotation": [] + }, + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "20", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "50", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "33", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "955", + "annotation": [] + } + } + }, + { + "name": "output", + "value": { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2003", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "29", + "annotation": [] + }, + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "20", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "50", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "33", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "955", + "annotation": [] + } + } + } + ] + } + } + ] + } + }, + { + "name": "DateTimeComponentFrom", + "context": "Patient", + "accessLevel": "Public", + "annotation": [], + "expression": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "DateTimeComponentFromYear", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "DateTimeComponentFrom", + "precision": "Year", + "annotation": [], + "signature": [], + "operand": { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2003", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "29", + "annotation": [] + }, + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "20", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "50", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "33", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "955", + "annotation": [] + } + } + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2003", + "annotation": [] + } + } + ] + } + }, + { + "name": "DateTimeComponentFromMonth", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "DateTimeComponentFrom", + "precision": "Month", + "annotation": [], + "signature": [], + "operand": { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2003", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "29", + "annotation": [] + }, + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "20", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "50", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "33", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "955", + "annotation": [] + } + } + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + } + } + ] + } + }, + { + "name": "DateTimeComponentFromMonthMinBoundary", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "DateTimeComponentFrom", + "precision": "Month", + "annotation": [], + "signature": [], + "operand": { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2003", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "01", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "29", + "annotation": [] + }, + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "20", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "50", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "33", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "955", + "annotation": [] + } + } + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + } + } + ] + } + }, + { + "name": "DateTimeComponentFromDay", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "DateTimeComponentFrom", + "precision": "Day", + "annotation": [], + "signature": [], + "operand": { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2003", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "29", + "annotation": [] + }, + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "20", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "50", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "33", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "955", + "annotation": [] + } + } + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "29", + "annotation": [] + } + } + ] + } + }, + { + "name": "DateTimeComponentFromHour", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "DateTimeComponentFrom", + "precision": "Hour", + "annotation": [], + "signature": [], + "operand": { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2003", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "29", + "annotation": [] + }, + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "20", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "50", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "33", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "955", + "annotation": [] + } + } + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "20", + "annotation": [] + } + } + ] + } + }, + { + "name": "DateTimeComponentFromMinute", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "DateTimeComponentFrom", + "precision": "Minute", + "annotation": [], + "signature": [], + "operand": { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2003", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "29", + "annotation": [] + }, + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "20", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "50", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "33", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "955", + "annotation": [] + } + } + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "50", + "annotation": [] + } + } + ] + } + }, + { + "name": "DateTimeComponentFromSecond", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "DateTimeComponentFrom", + "precision": "Second", + "annotation": [], + "signature": [], + "operand": { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2003", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "29", + "annotation": [] + }, + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "20", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "50", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "33", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "955", + "annotation": [] + } + } + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "33", + "annotation": [] + } + } + ] + } + }, + { + "name": "DateTimeComponentFromMillisecond", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "DateTimeComponentFrom", + "precision": "Millisecond", + "annotation": [], + "signature": [], + "operand": { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2003", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "29", + "annotation": [] + }, + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "20", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "50", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "33", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "955", + "annotation": [] + } + } + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "955", + "annotation": [] + } + } + ] + } + }, + { + "name": "DateTimeComponentFromTimezone", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "skipped", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}String", + "value": "Translation Error: Timezone keyword is only valid in 1.3 or lower", + "annotation": [] + } + } + ] + } + }, + { + "name": "DateTimeComponentFromTimezone2", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "TimezoneOffsetFrom", + "annotation": [], + "signature": [], + "operand": { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2003", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "29", + "annotation": [] + }, + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "20", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "50", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "33", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "955", + "annotation": [] + }, + "timezoneOffset": { + "type": "ToDecimal", + "annotation": [], + "signature": [], + "operand": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + } + } + } + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "1.00", + "annotation": [] + } + } + ] + } + }, + { + "name": "DateTimeComponentFromDate", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "DateFrom", + "annotation": [], + "signature": [], + "operand": { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2003", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "29", + "annotation": [] + }, + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "20", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "50", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "33", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "955", + "annotation": [] + }, + "timezoneOffset": { + "type": "ToDecimal", + "annotation": [], + "signature": [], + "operand": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + } + } + } + } + }, + { + "name": "output", + "value": { + "type": "Date", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2003", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "29", + "annotation": [] + } + } + } + ] + } + }, + { + "name": "TimeComponentFromHour", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "DateTimeComponentFrom", + "precision": "Hour", + "annotation": [], + "signature": [], + "operand": { + "type": "Time", + "annotation": [], + "signature": [], + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "23", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "20", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "15", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "555", + "annotation": [] + } + } + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "23", + "annotation": [] + } + } + ] + } + }, + { + "name": "TimeComponentFromMinute", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "DateTimeComponentFrom", + "precision": "Minute", + "annotation": [], + "signature": [], + "operand": { + "type": "Time", + "annotation": [], + "signature": [], + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "23", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "20", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "15", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "555", + "annotation": [] + } + } + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "20", + "annotation": [] + } + } + ] + } + }, + { + "name": "TimeComponentFromSecond", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "DateTimeComponentFrom", + "precision": "Second", + "annotation": [], + "signature": [], + "operand": { + "type": "Time", + "annotation": [], + "signature": [], + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "23", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "20", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "15", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "555", + "annotation": [] + } + } + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "15", + "annotation": [] + } + } + ] + } + }, + { + "name": "TimeComponentFromMilli", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "DateTimeComponentFrom", + "precision": "Millisecond", + "annotation": [], + "signature": [], + "operand": { + "type": "Time", + "annotation": [], + "signature": [], + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "23", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "20", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "15", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "555", + "annotation": [] + } + } + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "555", + "annotation": [] + } + } + ] + } + } + ] + } + }, + { + "name": "Difference", + "context": "Patient", + "accessLevel": "Public", + "annotation": [], + "expression": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "DateTimeDifferenceYear", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "DifferenceBetween", + "precision": "Year", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2000", + "annotation": [] + } + }, + { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2005", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "12", + "annotation": [] + } + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "5", + "annotation": [] + } + } + ] + } + }, + { + "name": "DateTimeDifferenceMonth", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "DifferenceBetween", + "precision": "Month", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2000", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2", + "annotation": [] + } + }, + { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2000", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + } + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "8", + "annotation": [] + } + } + ] + } + }, + { + "name": "DateTimeDifferenceDay", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "DifferenceBetween", + "precision": "Day", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2000", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "15", + "annotation": [] + }, + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "30", + "annotation": [] + } + }, + { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2000", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "25", + "annotation": [] + }, + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + } + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + } + } + ] + } + }, + { + "name": "DateTimeDifferenceHour", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "DifferenceBetween", + "precision": "Hour", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2000", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "4", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + }, + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "12", + "annotation": [] + } + }, + { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2000", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "4", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + }, + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "20", + "annotation": [] + } + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "8", + "annotation": [] + } + } + ] + } + }, + { + "name": "DateTimeDifferenceMinute", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "DifferenceBetween", + "precision": "Minute", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2005", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "12", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + }, + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "5", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "16", + "annotation": [] + } + }, + { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2005", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "12", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + }, + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "5", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "25", + "annotation": [] + } + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "9", + "annotation": [] + } + } + ] + } + }, + { + "name": "DateTimeDifferenceSecond", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "DifferenceBetween", + "precision": "Second", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2000", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + }, + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "5", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "45", + "annotation": [] + } + }, + { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2000", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + }, + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "5", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "50", + "annotation": [] + } + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "5", + "annotation": [] + } + } + ] + } + }, + { + "name": "DateTimeDifferenceMillisecond", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "DifferenceBetween", + "precision": "Millisecond", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2000", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + }, + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "5", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "45", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "500", + "annotation": [] + }, + "timezoneOffset": { + "type": "Negate", + "annotation": [], + "signature": [], + "operand": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "6.0", + "annotation": [] + } + } + }, + { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2000", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + }, + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "5", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "45", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "900", + "annotation": [] + }, + "timezoneOffset": { + "type": "Negate", + "annotation": [], + "signature": [], + "operand": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "7.0", + "annotation": [] + } + } + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "3600400", + "annotation": [] + } + } + ] + } + }, + { + "name": "DateTimeDifferenceWeeks", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "DifferenceBetween", + "precision": "Week", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2000", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "15", + "annotation": [] + } + }, + { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2000", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "28", + "annotation": [] + } + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + } + } + ] + } + }, + { + "name": "DateTimeDifferenceWeeks2", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "DifferenceBetween", + "precision": "Week", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2000", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "15", + "annotation": [] + } + }, + { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2000", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "29", + "annotation": [] + } + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2", + "annotation": [] + } + } + ] + } + }, + { + "name": "DateTimeDifferenceWeeks3", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "DifferenceBetween", + "precision": "Week", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2012", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "3", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + }, + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "22", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "5", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "9", + "annotation": [] + } + }, + { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2012", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "3", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "24", + "annotation": [] + }, + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "7", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "19", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "33", + "annotation": [] + } + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2", + "annotation": [] + } + } + ] + } + }, + { + "name": "DateTimeDifferenceNegative", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "DifferenceBetween", + "precision": "Year", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2016", + "annotation": [] + } + }, + { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1998", + "annotation": [] + } + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Negate", + "annotation": [], + "signature": [], + "operand": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "18", + "annotation": [] + } + } + } + ] + } + }, + { + "name": "DateTimeDifferenceUncertain", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Greater", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "DifferenceBetween", + "precision": "Month", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2005", + "annotation": [] + } + }, + { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2006", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "7", + "annotation": [] + } + } + ] + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "5", + "annotation": [] + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "true", + "annotation": [] + } + } + ] + } + }, + { + "name": "TimeDifferenceHour", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "DifferenceBetween", + "precision": "Hour", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Time", + "annotation": [], + "signature": [], + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "20", + "annotation": [] + } + }, + { + "type": "Time", + "annotation": [], + "signature": [], + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "23", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "25", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "15", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "555", + "annotation": [] + } + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "3", + "annotation": [] + } + } + ] + } + }, + { + "name": "TimeDifferenceMinute", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "DifferenceBetween", + "precision": "Minute", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Time", + "annotation": [], + "signature": [], + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "20", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "20", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "15", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "555", + "annotation": [] + } + }, + { + "type": "Time", + "annotation": [], + "signature": [], + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "20", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "25", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "15", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "555", + "annotation": [] + } + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "5", + "annotation": [] + } + } + ] + } + }, + { + "name": "TimeDifferenceSecond", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "DifferenceBetween", + "precision": "Second", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Time", + "annotation": [], + "signature": [], + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "20", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "20", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "15", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "555", + "annotation": [] + } + }, + { + "type": "Time", + "annotation": [], + "signature": [], + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "20", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "20", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "20", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "555", + "annotation": [] + } + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "5", + "annotation": [] + } + } + ] + } + }, + { + "name": "TimeDifferenceMillis", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "DifferenceBetween", + "precision": "Millisecond", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Time", + "annotation": [], + "signature": [], + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "20", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "20", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "15", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "555", + "annotation": [] + } + }, + { + "type": "Time", + "annotation": [], + "signature": [], + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "20", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "20", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "15", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "550", + "annotation": [] + } + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Negate", + "annotation": [], + "signature": [], + "operand": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "5", + "annotation": [] + } + } + } + ] + } + } + ] + } + }, + { + "name": "From Github issue #29", + "context": "Patient", + "accessLevel": "Public", + "annotation": [], + "expression": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "DateTimeA", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2017", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "3", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "12", + "annotation": [] + }, + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + "timezoneOffset": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "-7.0", + "annotation": [] + } + } + }, + { + "name": "output", + "value": { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2017", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "3", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "12", + "annotation": [] + }, + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + "timezoneOffset": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "-7.0", + "annotation": [] + } + } + } + ] + } + }, + { + "name": "DateTimeAA", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2017", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "3", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "12", + "annotation": [] + }, + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + "timezoneOffset": { + "type": "Negate", + "annotation": [], + "signature": [], + "operand": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "7.0", + "annotation": [] + } + } + } + }, + { + "name": "output", + "value": { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2017", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "3", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "12", + "annotation": [] + }, + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + "timezoneOffset": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "-7.0", + "annotation": [] + } + } + } + ] + } + }, + { + "name": "DateTimeB", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2017", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "3", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "12", + "annotation": [] + }, + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "3", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + "timezoneOffset": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "-6.0", + "annotation": [] + } + } + }, + { + "name": "output", + "value": { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2017", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "3", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "12", + "annotation": [] + }, + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "3", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + "timezoneOffset": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "-6.0", + "annotation": [] + } + } + } + ] + } + }, + { + "name": "DateTimeBB", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2017", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "3", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "12", + "annotation": [] + }, + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "3", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + "timezoneOffset": { + "type": "Negate", + "annotation": [], + "signature": [], + "operand": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "6.0", + "annotation": [] + } + } + } + }, + { + "name": "output", + "value": { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2017", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "3", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "12", + "annotation": [] + }, + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "3", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + "timezoneOffset": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "-6.0", + "annotation": [] + } + } + } + ] + } + }, + { + "name": "DateTimeC", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2017", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "11", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "5", + "annotation": [] + }, + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "30", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + "timezoneOffset": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "-6.0", + "annotation": [] + } + } + }, + { + "name": "output", + "value": { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2017", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "11", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "5", + "annotation": [] + }, + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "30", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + "timezoneOffset": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "-6.0", + "annotation": [] + } + } + } + ] + } + }, + { + "name": "DateTimeCC", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2017", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "11", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "5", + "annotation": [] + }, + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "30", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + "timezoneOffset": { + "type": "Negate", + "annotation": [], + "signature": [], + "operand": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "6.0", + "annotation": [] + } + } + } + }, + { + "name": "output", + "value": { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2017", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "11", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "5", + "annotation": [] + }, + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "30", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + "timezoneOffset": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "-6.0", + "annotation": [] + } + } + } + ] + } + }, + { + "name": "DateTimeD", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2017", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "11", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "5", + "annotation": [] + }, + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "15", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + "timezoneOffset": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "-7.0", + "annotation": [] + } + } + }, + { + "name": "output", + "value": { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2017", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "11", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "5", + "annotation": [] + }, + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "15", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + "timezoneOffset": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "-7.0", + "annotation": [] + } + } + } + ] + } + }, + { + "name": "DateTimeDD", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2017", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "11", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "5", + "annotation": [] + }, + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "15", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + "timezoneOffset": { + "type": "Negate", + "annotation": [], + "signature": [], + "operand": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "7.0", + "annotation": [] + } + } + } + }, + { + "name": "output", + "value": { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2017", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "11", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "5", + "annotation": [] + }, + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "15", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + "timezoneOffset": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "-7.0", + "annotation": [] + } + } + } + ] + } + }, + { + "name": "DateTimeE", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2017", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "3", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "12", + "annotation": [] + }, + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + "timezoneOffset": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "-7.0", + "annotation": [] + } + } + }, + { + "name": "output", + "value": { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2017", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "3", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "12", + "annotation": [] + }, + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + "timezoneOffset": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "-7.0", + "annotation": [] + } + } + } + ] + } + }, + { + "name": "DateTimeEE", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2017", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "3", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "12", + "annotation": [] + }, + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + "timezoneOffset": { + "type": "Negate", + "annotation": [], + "signature": [], + "operand": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "7.0", + "annotation": [] + } + } + } + }, + { + "name": "output", + "value": { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2017", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "3", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "12", + "annotation": [] + }, + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + "timezoneOffset": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "-7.0", + "annotation": [] + } + } + } + ] + } + }, + { + "name": "DateTimeF", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2017", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "3", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "13", + "annotation": [] + }, + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + "timezoneOffset": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "-6.0", + "annotation": [] + } + } + }, + { + "name": "output", + "value": { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2017", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "3", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "13", + "annotation": [] + }, + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + "timezoneOffset": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "-6.0", + "annotation": [] + } + } + } + ] + } + }, + { + "name": "DateTimeFF", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2017", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "3", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "13", + "annotation": [] + }, + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + "timezoneOffset": { + "type": "Negate", + "annotation": [], + "signature": [], + "operand": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "6.0", + "annotation": [] + } + } + } + }, + { + "name": "output", + "value": { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2017", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "3", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "13", + "annotation": [] + }, + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + "timezoneOffset": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "-6.0", + "annotation": [] + } + } + } + ] + } + }, + { + "name": "DifferenceInHoursA", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "DifferenceBetween", + "precision": "Hour", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2017", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "3", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "12", + "annotation": [] + }, + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + "timezoneOffset": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "-7.0", + "annotation": [] + } + }, + { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2017", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "3", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "12", + "annotation": [] + }, + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "3", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + "timezoneOffset": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "-6.0", + "annotation": [] + } + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + } + } + ] + } + }, + { + "name": "DifferenceInMinutesA", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "DifferenceBetween", + "precision": "Minute", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2017", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "11", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "5", + "annotation": [] + }, + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "30", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + "timezoneOffset": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "-6.0", + "annotation": [] + } + }, + { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2017", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "11", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "5", + "annotation": [] + }, + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "15", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + "timezoneOffset": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "-7.0", + "annotation": [] + } + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "45", + "annotation": [] + } + } + ] + } + }, + { + "name": "DifferenceInDaysA", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "DifferenceBetween", + "precision": "Day", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2017", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "3", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "12", + "annotation": [] + }, + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + "timezoneOffset": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "-7.0", + "annotation": [] + } + }, + { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2017", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "3", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "13", + "annotation": [] + }, + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + "timezoneOffset": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "-6.0", + "annotation": [] + } + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + } + } + ] + } + }, + { + "name": "DifferenceInHoursAA", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "DifferenceBetween", + "precision": "Hour", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2017", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "3", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "12", + "annotation": [] + }, + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + "timezoneOffset": { + "type": "Negate", + "annotation": [], + "signature": [], + "operand": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "7.0", + "annotation": [] + } + } + }, + { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2017", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "3", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "12", + "annotation": [] + }, + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "3", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + "timezoneOffset": { + "type": "Negate", + "annotation": [], + "signature": [], + "operand": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "6.0", + "annotation": [] + } + } + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + } + } + ] + } + }, + { + "name": "DifferenceInMinutesAA", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "DifferenceBetween", + "precision": "Minute", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2017", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "11", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "5", + "annotation": [] + }, + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "30", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + "timezoneOffset": { + "type": "Negate", + "annotation": [], + "signature": [], + "operand": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "6.0", + "annotation": [] + } + } + }, + { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2017", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "11", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "5", + "annotation": [] + }, + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "15", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + "timezoneOffset": { + "type": "Negate", + "annotation": [], + "signature": [], + "operand": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "7.0", + "annotation": [] + } + } + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "45", + "annotation": [] + } + } + ] + } + }, + { + "name": "DifferenceInDaysAA", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "DifferenceBetween", + "precision": "Day", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2017", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "3", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "12", + "annotation": [] + }, + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + "timezoneOffset": { + "type": "Negate", + "annotation": [], + "signature": [], + "operand": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "7.0", + "annotation": [] + } + } + }, + { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2017", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "3", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "13", + "annotation": [] + }, + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + "timezoneOffset": { + "type": "Negate", + "annotation": [], + "signature": [], + "operand": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "6.0", + "annotation": [] + } + } + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + } + } + ] + } + } + ] + } + }, + { + "name": "Duration", + "context": "Patient", + "accessLevel": "Public", + "annotation": [], + "expression": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "DateTimeDurationBetweenYear", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "DurationBetween", + "precision": "Year", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2005", + "annotation": [] + } + }, + { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2010", + "annotation": [] + } + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "4", + "annotation": [] + }, + "high": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "5", + "annotation": [] + } + } + } + ] + } + }, + { + "name": "DateTimeDurationBetweenYearOffset", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "DurationBetween", + "precision": "Year", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2005", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "5", + "annotation": [] + } + }, + { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2010", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "4", + "annotation": [] + } + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "4", + "annotation": [] + } + } + ] + } + }, + { + "name": "DateTimeDurationBetweenMonth", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "DurationBetween", + "precision": "Month", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Date", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2014", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "31", + "annotation": [] + } + }, + { + "type": "Date", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2014", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + } + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + } + } + ] + } + }, + { + "name": "DateTimeDurationBetweenDaysDiffYears", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "DurationBetween", + "precision": "Day", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2010", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "12", + "annotation": [] + }, + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "12", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "5", + "annotation": [] + } + }, + { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2008", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "8", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "15", + "annotation": [] + }, + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "8", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "8", + "annotation": [] + } + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Negate", + "annotation": [], + "signature": [], + "operand": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "788", + "annotation": [] + } + } + } + ] + } + } + ] + } + }, + { + "name": "Uncertainty tests", + "context": "Patient", + "accessLevel": "Public", + "annotation": [], + "expression": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "DateTimeDurationBetweenUncertainInterval", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "DurationBetween", + "precision": "Day", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2014", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "15", + "annotation": [] + } + }, + { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2014", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2", + "annotation": [] + } + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "16", + "annotation": [] + }, + "high": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "44", + "annotation": [] + } + } + } + ] + } + }, + { + "name": "DateTimeDurationBetweenUncertainInterval2", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "DurationBetween", + "precision": "Month", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2005", + "annotation": [] + } + }, + { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2006", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "5", + "annotation": [] + } + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "4", + "annotation": [] + }, + "high": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "16", + "annotation": [] + } + } + } + ] + } + }, + { + "name": "DateTimeDurationBetweenUncertainAdd", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Add", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "DurationBetween", + "precision": "Day", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2014", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "15", + "annotation": [] + } + }, + { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2014", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2", + "annotation": [] + } + } + ] + }, + { + "type": "DurationBetween", + "precision": "Day", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2014", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "15", + "annotation": [] + } + }, + { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2014", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2", + "annotation": [] + } + } + ] + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "32", + "annotation": [] + }, + "high": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "88", + "annotation": [] + } + } + } + ] + } + }, + { + "name": "DateTimeDurationBetweenUncertainSubtract", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Subtract", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "DurationBetween", + "precision": "Day", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2014", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "15", + "annotation": [] + } + }, + { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2014", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2", + "annotation": [] + } + } + ] + }, + { + "type": "DurationBetween", + "precision": "Month", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2005", + "annotation": [] + } + }, + { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2006", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "5", + "annotation": [] + } + } + ] + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + "high": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "40", + "annotation": [] + } + } + } + ] + } + }, + { + "name": "DateTimeDurationBetweenUncertainMultiply", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Multiply", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "DurationBetween", + "precision": "Day", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2014", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "15", + "annotation": [] + } + }, + { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2014", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2", + "annotation": [] + } + } + ] + }, + { + "type": "DurationBetween", + "precision": "Day", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2014", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "15", + "annotation": [] + } + }, + { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2014", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2", + "annotation": [] + } + } + ] + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "256", + "annotation": [] + }, + "high": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1936", + "annotation": [] + } + } + } + ] + } + }, + { + "name": "DateTimeDurationBetweenUncertainDiv", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "TruncatedDivide", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "DurationBetween", + "precision": "Day", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2014", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "15", + "annotation": [] + } + }, + { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2014", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2", + "annotation": [] + } + } + ] + }, + { + "type": "DurationBetween", + "precision": "Month", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2005", + "annotation": [] + } + }, + { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2006", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "5", + "annotation": [] + } + } + ] + } + ] + } + }, + { + "name": "invalid", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "true", + "annotation": [] + } + } + ] + } + }, + { + "name": "DateTimeDurationBetweenMonthUncertain", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Greater", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "DurationBetween", + "precision": "Month", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2005", + "annotation": [] + } + }, + { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2006", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "7", + "annotation": [] + } + } + ] + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "5", + "annotation": [] + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "true", + "annotation": [] + } + } + ] + } + }, + { + "name": "DateTimeDurationBetweenMonthUncertain2", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Greater", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "DurationBetween", + "precision": "Month", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2005", + "annotation": [] + } + }, + { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2006", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2", + "annotation": [] + } + } + ] + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "5", + "annotation": [] + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Null", + "annotation": [] + } + } + ] + } + }, + { + "name": "DateTimeDurationBetweenMonthUncertain3", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Greater", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "DurationBetween", + "precision": "Month", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2005", + "annotation": [] + } + }, + { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2006", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "7", + "annotation": [] + } + } + ] + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "25", + "annotation": [] + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "false", + "annotation": [] + } + } + ] + } + }, + { + "name": "DateTimeDurationBetweenMonthUncertain4", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Less", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "DurationBetween", + "precision": "Month", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2005", + "annotation": [] + } + }, + { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2006", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "7", + "annotation": [] + } + } + ] + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "24", + "annotation": [] + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "true", + "annotation": [] + } + } + ] + } + }, + { + "name": "DateTimeDurationBetweenMonthUncertain5", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Equal", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "DurationBetween", + "precision": "Month", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2005", + "annotation": [] + } + }, + { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2006", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "7", + "annotation": [] + } + } + ] + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "24", + "annotation": [] + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "false", + "annotation": [] + } + } + ] + } + }, + { + "name": "DateTimeDurationBetweenMonthUncertain6", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "GreaterOrEqual", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "DurationBetween", + "precision": "Month", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2005", + "annotation": [] + } + }, + { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2006", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "7", + "annotation": [] + } + } + ] + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "5", + "annotation": [] + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "true", + "annotation": [] + } + } + ] + } + }, + { + "name": "DateTimeDurationBetweenMonthUncertain7", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "LessOrEqual", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "DurationBetween", + "precision": "Month", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2005", + "annotation": [] + } + }, + { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2006", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "7", + "annotation": [] + } + } + ] + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "24", + "annotation": [] + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "true", + "annotation": [] + } + } + ] + } + }, + { + "name": "DateTime1", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2012", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "3", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + }, + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "20", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + } + } + }, + { + "name": "output", + "value": { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2012", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "3", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + }, + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "20", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + } + } + } + ] + } + }, + { + "name": "DateTime2", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2013", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "3", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + }, + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "9", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "20", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + } + } + }, + { + "name": "output", + "value": { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2013", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "3", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + }, + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "9", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "20", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + } + } + } + ] + } + }, + { + "name": "DurationInYears", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "DurationBetween", + "precision": "Year", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "DateFrom", + "annotation": [], + "signature": [], + "operand": { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2012", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "3", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + }, + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "20", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + } + } + }, + { + "type": "DateFrom", + "annotation": [], + "signature": [], + "operand": { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2013", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "3", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + }, + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "9", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "20", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + } + } + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + } + } + ] + } + }, + { + "name": "DurationInWeeks", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "DurationBetween", + "precision": "Week", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2012", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "3", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + }, + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "22", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "5", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "9", + "annotation": [] + } + }, + { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2012", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "3", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "20", + "annotation": [] + }, + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "7", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "19", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "33", + "annotation": [] + } + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + } + } + ] + } + }, + { + "name": "DurationInWeeks2", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "DurationBetween", + "precision": "Week", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2012", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "3", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + }, + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "22", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "5", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "9", + "annotation": [] + } + }, + { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2012", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "3", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "24", + "annotation": [] + }, + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "7", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "19", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "33", + "annotation": [] + } + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + } + } + ] + } + }, + { + "name": "DurationInWeeks3", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "DurationBetween", + "precision": "Week", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2012", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "3", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + }, + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "6", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "5", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "9", + "annotation": [] + } + }, + { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2012", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "3", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "24", + "annotation": [] + }, + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "7", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "19", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "33", + "annotation": [] + } + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2", + "annotation": [] + } + } + ] + } + }, + { + "name": "TimeDurationBetweenHour", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "DurationBetween", + "precision": "Hour", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Time", + "annotation": [], + "signature": [], + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "20", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "26", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "15", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "555", + "annotation": [] + } + }, + { + "type": "Time", + "annotation": [], + "signature": [], + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "23", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "25", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "15", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "555", + "annotation": [] + } + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2", + "annotation": [] + } + } + ] + } + }, + { + "name": "TimeDurationBetweenHourDiffPrecision", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "skipped", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}String", + "value": "Translation Error: Syntax error at Z", + "annotation": [] + } + } + ] + } + }, + { + "name": "TimeDurationBetweenHourDiffPrecision2", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "skipped", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}String", + "value": "Wrong output: Duration in hours between T06 and T07:00:00 should be Uncertainty[0, 1]", + "annotation": [] + } + } + ] + } + }, + { + "name": "TimeDurationBetweenMinute", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "DurationBetween", + "precision": "Minute", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Time", + "annotation": [], + "signature": [], + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "23", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "20", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "16", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "555", + "annotation": [] + } + }, + { + "type": "Time", + "annotation": [], + "signature": [], + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "23", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "25", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "15", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "555", + "annotation": [] + } + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "4", + "annotation": [] + } + } + ] + } + }, + { + "name": "TimeDurationBetweenSecond", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "DurationBetween", + "precision": "Second", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Time", + "annotation": [], + "signature": [], + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "23", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "25", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "556", + "annotation": [] + } + }, + { + "type": "Time", + "annotation": [], + "signature": [], + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "23", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "25", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "15", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "555", + "annotation": [] + } + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "4", + "annotation": [] + } + } + ] + } + }, + { + "name": "TimeDurationBetweenMillis", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "DurationBetween", + "precision": "Millisecond", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Time", + "annotation": [], + "signature": [], + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "23", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "25", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "25", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "555", + "annotation": [] + } + }, + { + "type": "Time", + "annotation": [], + "signature": [], + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "23", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "25", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "25", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "560", + "annotation": [] + } + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "5", + "annotation": [] + } + } + ] + } + }, + { + "name": "DurationInHoursA", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "DurationBetween", + "precision": "Hour", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2017", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "3", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "12", + "annotation": [] + }, + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + "timezoneOffset": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "-7.0", + "annotation": [] + } + }, + { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2017", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "3", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "12", + "annotation": [] + }, + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "3", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + "timezoneOffset": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "-6.0", + "annotation": [] + } + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + } + } + ] + } + }, + { + "name": "DurationInMinutesA", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "DurationBetween", + "precision": "Minute", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2017", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "11", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "5", + "annotation": [] + }, + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "30", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + "timezoneOffset": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "-6.0", + "annotation": [] + } + }, + { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2017", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "11", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "5", + "annotation": [] + }, + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "15", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + "timezoneOffset": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "-7.0", + "annotation": [] + } + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "45", + "annotation": [] + } + } + ] + } + }, + { + "name": "DurationInDaysA", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "DurationBetween", + "precision": "Day", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2017", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "3", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "12", + "annotation": [] + }, + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + "timezoneOffset": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "-7.0", + "annotation": [] + } + }, + { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2017", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "3", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "13", + "annotation": [] + }, + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + "timezoneOffset": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "-6.0", + "annotation": [] + } + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + } + } + ] + } + }, + { + "name": "DurationInHoursAA", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "DurationBetween", + "precision": "Hour", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2017", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "3", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "12", + "annotation": [] + }, + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + "timezoneOffset": { + "type": "Negate", + "annotation": [], + "signature": [], + "operand": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "7.0", + "annotation": [] + } + } + }, + { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2017", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "3", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "12", + "annotation": [] + }, + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "3", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + "timezoneOffset": { + "type": "Negate", + "annotation": [], + "signature": [], + "operand": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "6.0", + "annotation": [] + } + } + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + } + } + ] + } + }, + { + "name": "DurationInMinutesAA", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "DurationBetween", + "precision": "Minute", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2017", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "11", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "5", + "annotation": [] + }, + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "30", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + "timezoneOffset": { + "type": "Negate", + "annotation": [], + "signature": [], + "operand": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "6.0", + "annotation": [] + } + } + }, + { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2017", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "11", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "5", + "annotation": [] + }, + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "15", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + "timezoneOffset": { + "type": "Negate", + "annotation": [], + "signature": [], + "operand": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "7.0", + "annotation": [] + } + } + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "45", + "annotation": [] + } + } + ] + } + }, + { + "name": "DurationInDaysAA", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "DurationBetween", + "precision": "Day", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2017", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "3", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "12", + "annotation": [] + }, + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + "timezoneOffset": { + "type": "Negate", + "annotation": [], + "signature": [], + "operand": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "7.0", + "annotation": [] + } + } + }, + { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2017", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "3", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "13", + "annotation": [] + }, + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + "timezoneOffset": { + "type": "Negate", + "annotation": [], + "signature": [], + "operand": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "6.0", + "annotation": [] + } + } + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + } + } + ] + } + } + ] + } + }, + { + "name": "Now", + "context": "Patient", + "accessLevel": "Public", + "annotation": [], + "expression": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "DateTimeNow", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Equal", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Now", + "annotation": [], + "signature": [] + }, + { + "type": "Now", + "annotation": [], + "signature": [] + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "true", + "annotation": [] + } + } + ] + } + } + ] + } + }, + { + "name": "SameAs", + "context": "Patient", + "accessLevel": "Public", + "annotation": [], + "expression": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "DateTimeSameAsYearTrue", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "SameAs", + "precision": "Year", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2014", + "annotation": [] + } + }, + { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2014", + "annotation": [] + } + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "true", + "annotation": [] + } + } + ] + } + }, + { + "name": "DateTimeSameAsYearFalse", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "SameAs", + "precision": "Year", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2013", + "annotation": [] + } + }, + { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2014", + "annotation": [] + } + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "false", + "annotation": [] + } + } + ] + } + }, + { + "name": "DateTimeSameAsMonthTrue", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "SameAs", + "precision": "Month", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2014", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "12", + "annotation": [] + } + }, + { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2014", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "12", + "annotation": [] + } + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "true", + "annotation": [] + } + } + ] + } + }, + { + "name": "DateTimeSameAsMonthFalse", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "SameAs", + "precision": "Month", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2014", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "12", + "annotation": [] + } + }, + { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2014", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + } + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "false", + "annotation": [] + } + } + ] + } + }, + { + "name": "DateTimeSameAsDayTrue", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "SameAs", + "precision": "Day", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2014", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "12", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + } + }, + { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2014", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "12", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + } + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "true", + "annotation": [] + } + } + ] + } + }, + { + "name": "DateTimeSameAsDayFalse", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "SameAs", + "precision": "Day", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2014", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + } + }, + { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2014", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "11", + "annotation": [] + } + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "false", + "annotation": [] + } + } + ] + } + }, + { + "name": "DateTimeSameAsHourTrue", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "SameAs", + "precision": "Hour", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2014", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "12", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + }, + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "20", + "annotation": [] + } + }, + { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2014", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "12", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + }, + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "20", + "annotation": [] + } + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "true", + "annotation": [] + } + } + ] + } + }, + { + "name": "DateTimeSameAsHourFalse", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "SameAs", + "precision": "Hour", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2014", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + }, + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "20", + "annotation": [] + } + }, + { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2014", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + }, + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "21", + "annotation": [] + } + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "false", + "annotation": [] + } + } + ] + } + }, + { + "name": "DateTimeSameAsMinuteTrue", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "SameAs", + "precision": "Minute", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2014", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "12", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + }, + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "20", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "55", + "annotation": [] + } + }, + { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2014", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "12", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + }, + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "20", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "55", + "annotation": [] + } + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "true", + "annotation": [] + } + } + ] + } + }, + { + "name": "DateTimeSameAsMinuteFalse", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "SameAs", + "precision": "Minute", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2014", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + }, + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "20", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "55", + "annotation": [] + } + }, + { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2014", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + }, + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "21", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "56", + "annotation": [] + } + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "false", + "annotation": [] + } + } + ] + } + }, + { + "name": "DateTimeSameAsSecondTrue", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "SameAs", + "precision": "Second", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2014", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "12", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + }, + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "20", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "55", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "45", + "annotation": [] + } + }, + { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2014", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "12", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + }, + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "20", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "55", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "45", + "annotation": [] + } + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "true", + "annotation": [] + } + } + ] + } + }, + { + "name": "DateTimeSameAsSecondFalse", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "SameAs", + "precision": "Second", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2014", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + }, + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "20", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "55", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "45", + "annotation": [] + } + }, + { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2014", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + }, + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "21", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "55", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "44", + "annotation": [] + } + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "false", + "annotation": [] + } + } + ] + } + }, + { + "name": "DateTimeSameAsMillisecondTrue", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "SameAs", + "precision": "Millisecond", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2014", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "12", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + }, + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "20", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "55", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "45", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "500", + "annotation": [] + } + }, + { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2014", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "12", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + }, + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "20", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "55", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "45", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "500", + "annotation": [] + } + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "true", + "annotation": [] + } + } + ] + } + }, + { + "name": "DateTimeSameAsMillisecondFalse", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "SameAs", + "precision": "Millisecond", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2014", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + }, + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "20", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "55", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "45", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "500", + "annotation": [] + } + }, + { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2014", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + }, + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "21", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "55", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "45", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "501", + "annotation": [] + } + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "false", + "annotation": [] + } + } + ] + } + }, + { + "name": "DateTimeSameAsNull", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "SameAs", + "precision": "Day", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2014", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + } + }, + { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2014", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "12", + "annotation": [] + } + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Null", + "annotation": [] + } + } + ] + } + }, + { + "name": "SameAsTimezoneTrue", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "SameAs", + "precision": "Hour", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2012", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "3", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + }, + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "20", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "999", + "annotation": [] + }, + "timezoneOffset": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "7.0", + "annotation": [] + } + }, + { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2012", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "3", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + }, + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "9", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "20", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "999", + "annotation": [] + }, + "timezoneOffset": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "6.0", + "annotation": [] + } + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "true", + "annotation": [] + } + } + ] + } + }, + { + "name": "SameAsTimezoneFalse", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "SameAs", + "precision": "Hour", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2012", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "3", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + }, + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "20", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "999", + "annotation": [] + }, + "timezoneOffset": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "7.0", + "annotation": [] + } + }, + { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2012", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "3", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + }, + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "20", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "999", + "annotation": [] + }, + "timezoneOffset": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "6.0", + "annotation": [] + } + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "false", + "annotation": [] + } + } + ] + } + }, + { + "name": "TimeSameAsHourTrue", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "SameAs", + "precision": "Hour", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Time", + "annotation": [], + "signature": [], + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "23", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "25", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "25", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "555", + "annotation": [] + } + }, + { + "type": "Time", + "annotation": [], + "signature": [], + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "23", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "55", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "25", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "900", + "annotation": [] + } + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "true", + "annotation": [] + } + } + ] + } + }, + { + "name": "TimeSameAsHourFalse", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "SameAs", + "precision": "Hour", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Time", + "annotation": [], + "signature": [], + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "22", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "25", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "25", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "555", + "annotation": [] + } + }, + { + "type": "Time", + "annotation": [], + "signature": [], + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "23", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "25", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "25", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "555", + "annotation": [] + } + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "false", + "annotation": [] + } + } + ] + } + }, + { + "name": "TimeSameAsMinuteTrue", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "SameAs", + "precision": "Minute", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Time", + "annotation": [], + "signature": [], + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "23", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "55", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "22", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "555", + "annotation": [] + } + }, + { + "type": "Time", + "annotation": [], + "signature": [], + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "23", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "55", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "25", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "900", + "annotation": [] + } + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "true", + "annotation": [] + } + } + ] + } + }, + { + "name": "TimeSameAsMinuteFalse", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "SameAs", + "precision": "Minute", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Time", + "annotation": [], + "signature": [], + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "23", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "26", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "25", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "555", + "annotation": [] + } + }, + { + "type": "Time", + "annotation": [], + "signature": [], + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "23", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "25", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "25", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "555", + "annotation": [] + } + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "false", + "annotation": [] + } + } + ] + } + }, + { + "name": "TimeSameAsSecondTrue", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "SameAs", + "precision": "Second", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Time", + "annotation": [], + "signature": [], + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "23", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "55", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "25", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "555", + "annotation": [] + } + }, + { + "type": "Time", + "annotation": [], + "signature": [], + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "23", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "55", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "25", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "900", + "annotation": [] + } + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "true", + "annotation": [] + } + } + ] + } + }, + { + "name": "TimeSameAsSecondFalse", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "SameAs", + "precision": "Second", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Time", + "annotation": [], + "signature": [], + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "23", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "25", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "35", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "555", + "annotation": [] + } + }, + { + "type": "Time", + "annotation": [], + "signature": [], + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "23", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "25", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "25", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "555", + "annotation": [] + } + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "false", + "annotation": [] + } + } + ] + } + }, + { + "name": "TimeSameAsMillisTrue", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "SameAs", + "precision": "Millisecond", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Time", + "annotation": [], + "signature": [], + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "23", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "55", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "25", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "555", + "annotation": [] + } + }, + { + "type": "Time", + "annotation": [], + "signature": [], + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "23", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "55", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "25", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "555", + "annotation": [] + } + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "true", + "annotation": [] + } + } + ] + } + }, + { + "name": "TimeSameAsMillisFalse", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "SameAs", + "precision": "Millisecond", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Time", + "annotation": [], + "signature": [], + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "23", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "25", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "25", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "555", + "annotation": [] + } + }, + { + "type": "Time", + "annotation": [], + "signature": [], + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "23", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "25", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "25", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "554", + "annotation": [] + } + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "false", + "annotation": [] + } + } + ] + } + } + ] + } + }, + { + "name": "SameOrAfter", + "context": "Patient", + "accessLevel": "Public", + "annotation": [], + "expression": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "DateTimeSameOrAfterYearTrue1", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "SameOrAfter", + "precision": "Year", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2014", + "annotation": [] + } + }, + { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2014", + "annotation": [] + } + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "true", + "annotation": [] + } + } + ] + } + }, + { + "name": "DateTimeSameOrAfterYearTrue2", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "SameOrAfter", + "precision": "Year", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2016", + "annotation": [] + } + }, + { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2014", + "annotation": [] + } + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "true", + "annotation": [] + } + } + ] + } + }, + { + "name": "DateTimeSameOrAfterYearFalse", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "SameOrAfter", + "precision": "Year", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2013", + "annotation": [] + } + }, + { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2014", + "annotation": [] + } + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "false", + "annotation": [] + } + } + ] + } + }, + { + "name": "DateTimeSameOrAfterMonthTrue1", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "SameOrAfter", + "precision": "Month", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2014", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "12", + "annotation": [] + } + }, + { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2014", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "12", + "annotation": [] + } + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "true", + "annotation": [] + } + } + ] + } + }, + { + "name": "DateTimeSameOrAfterMonthTrue2", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "SameOrAfter", + "precision": "Month", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2014", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + } + }, + { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2014", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "9", + "annotation": [] + } + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "true", + "annotation": [] + } + } + ] + } + }, + { + "name": "DateTimeSameOrAfterMonthFalse", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "SameOrAfter", + "precision": "Month", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2014", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + } + }, + { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2014", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "11", + "annotation": [] + } + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "false", + "annotation": [] + } + } + ] + } + }, + { + "name": "DateTimeSameOrAfterDayTrue1", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "SameOrAfter", + "precision": "Day", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2014", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "12", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "20", + "annotation": [] + } + }, + { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2014", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "12", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "20", + "annotation": [] + } + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "true", + "annotation": [] + } + } + ] + } + }, + { + "name": "DateTimeSameOrAfterDayTrue2", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "SameOrAfter", + "precision": "Day", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2014", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "25", + "annotation": [] + } + }, + { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2014", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "20", + "annotation": [] + } + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "true", + "annotation": [] + } + } + ] + } + }, + { + "name": "DateTimeSameOrAfterDayFalse", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "SameOrAfter", + "precision": "Day", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2014", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "20", + "annotation": [] + } + }, + { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2014", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "25", + "annotation": [] + } + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "false", + "annotation": [] + } + } + ] + } + }, + { + "name": "DateTimeSameOrAfterHourTrue1", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "SameOrAfter", + "precision": "Hour", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2014", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "12", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "20", + "annotation": [] + }, + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "12", + "annotation": [] + } + }, + { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2014", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "12", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "20", + "annotation": [] + }, + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "12", + "annotation": [] + } + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "true", + "annotation": [] + } + } + ] + } + }, + { + "name": "DateTimeSameOrAfterHourTrue2", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "SameOrAfter", + "precision": "Hour", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2014", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "25", + "annotation": [] + }, + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "12", + "annotation": [] + } + }, + { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2014", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "25", + "annotation": [] + }, + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + } + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "true", + "annotation": [] + } + } + ] + } + }, + { + "name": "DateTimeSameOrAfterHourFalse", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "SameOrAfter", + "precision": "Hour", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2014", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "25", + "annotation": [] + }, + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "12", + "annotation": [] + } + }, + { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2014", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "25", + "annotation": [] + }, + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "15", + "annotation": [] + } + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "false", + "annotation": [] + } + } + ] + } + }, + { + "name": "DateTimeSameOrAfterMinuteTrue1", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "SameOrAfter", + "precision": "Minute", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2014", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "12", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "20", + "annotation": [] + }, + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "12", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "30", + "annotation": [] + } + }, + { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2014", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "12", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "20", + "annotation": [] + }, + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "12", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "30", + "annotation": [] + } + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "true", + "annotation": [] + } + } + ] + } + }, + { + "name": "DateTimeSameOrAfterMinuteTrue2", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "SameOrAfter", + "precision": "Minute", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2014", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "25", + "annotation": [] + }, + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "30", + "annotation": [] + } + }, + { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2014", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "25", + "annotation": [] + }, + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "25", + "annotation": [] + } + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "true", + "annotation": [] + } + } + ] + } + }, + { + "name": "DateTimeSameOrAfterMinuteFalse", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "SameOrAfter", + "precision": "Minute", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2014", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "25", + "annotation": [] + }, + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "15", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "30", + "annotation": [] + } + }, + { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2014", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "25", + "annotation": [] + }, + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "15", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "45", + "annotation": [] + } + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "false", + "annotation": [] + } + } + ] + } + }, + { + "name": "DateTimeSameOrAfterSecondTrue1", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "SameOrAfter", + "precision": "Second", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2014", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "12", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "20", + "annotation": [] + }, + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "12", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "30", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "15", + "annotation": [] + } + }, + { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2014", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "12", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "20", + "annotation": [] + }, + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "12", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "30", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "15", + "annotation": [] + } + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "true", + "annotation": [] + } + } + ] + } + }, + { + "name": "DateTimeSameOrAfterSecondTrue2", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "SameOrAfter", + "precision": "Second", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2014", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "25", + "annotation": [] + }, + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "25", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "25", + "annotation": [] + } + }, + { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2014", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "25", + "annotation": [] + }, + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "25", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "20", + "annotation": [] + } + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "true", + "annotation": [] + } + } + ] + } + }, + { + "name": "DateTimeSameOrAfterSecondFalse", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "SameOrAfter", + "precision": "Second", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2014", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "25", + "annotation": [] + }, + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "15", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "45", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "20", + "annotation": [] + } + }, + { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2014", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "25", + "annotation": [] + }, + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "15", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "45", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "21", + "annotation": [] + } + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "false", + "annotation": [] + } + } + ] + } + }, + { + "name": "DateTimeSameOrAfterMillisecondTrue1", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "SameOrAfter", + "precision": "Millisecond", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2014", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "12", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "20", + "annotation": [] + }, + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "12", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "30", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "15", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "250", + "annotation": [] + } + }, + { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2014", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "12", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "20", + "annotation": [] + }, + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "12", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "30", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "15", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "250", + "annotation": [] + } + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "true", + "annotation": [] + } + } + ] + } + }, + { + "name": "DateTimeSameOrAfterMillisecondTrue2", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "SameOrAfter", + "precision": "Millisecond", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2014", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "25", + "annotation": [] + }, + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "25", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "20", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "500", + "annotation": [] + } + }, + { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2014", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "25", + "annotation": [] + }, + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "25", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "20", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "499", + "annotation": [] + } + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "true", + "annotation": [] + } + } + ] + } + }, + { + "name": "DateTimeSameOrAfterMillisecondFalse", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "SameOrAfter", + "precision": "Millisecond", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2014", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "25", + "annotation": [] + }, + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "15", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "45", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "20", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "500", + "annotation": [] + } + }, + { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2014", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "25", + "annotation": [] + }, + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "15", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "45", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "20", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "501", + "annotation": [] + } + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "false", + "annotation": [] + } + } + ] + } + }, + { + "name": "DateTimeSameOrAfterNull1", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "SameOrAfter", + "precision": "Day", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2014", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "12", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "20", + "annotation": [] + } + }, + { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2014", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "12", + "annotation": [] + } + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Null", + "annotation": [] + } + } + ] + } + }, + { + "name": "SameOrAfterTimezoneTrue", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "SameOrAfter", + "precision": "Hour", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2012", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "3", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + }, + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "20", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "999", + "annotation": [] + }, + "timezoneOffset": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "7.0", + "annotation": [] + } + }, + { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2012", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "3", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + }, + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "9", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "20", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "999", + "annotation": [] + }, + "timezoneOffset": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "6.0", + "annotation": [] + } + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "true", + "annotation": [] + } + } + ] + } + }, + { + "name": "SameOrAfterTimezoneFalse", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "SameOrAfter", + "precision": "Hour", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2012", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "3", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + }, + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "20", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "999", + "annotation": [] + }, + "timezoneOffset": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "7.0", + "annotation": [] + } + }, + { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2012", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "3", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + }, + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "20", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "999", + "annotation": [] + }, + "timezoneOffset": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "6.0", + "annotation": [] + } + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "false", + "annotation": [] + } + } + ] + } + }, + { + "name": "TimeSameOrAfterHourTrue1", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "SameOrAfter", + "precision": "Hour", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Time", + "annotation": [], + "signature": [], + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "23", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "25", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "25", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "555", + "annotation": [] + } + }, + { + "type": "Time", + "annotation": [], + "signature": [], + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "23", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "55", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "25", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "900", + "annotation": [] + } + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "true", + "annotation": [] + } + } + ] + } + }, + { + "name": "TimeSameOrAfterHourTrue2", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "SameOrAfter", + "precision": "Hour", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Time", + "annotation": [], + "signature": [], + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "23", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "25", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "25", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "555", + "annotation": [] + } + }, + { + "type": "Time", + "annotation": [], + "signature": [], + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "22", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "55", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "25", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "900", + "annotation": [] + } + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "true", + "annotation": [] + } + } + ] + } + }, + { + "name": "TimeSameOrAfterHourFalse", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "SameOrAfter", + "precision": "Hour", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Time", + "annotation": [], + "signature": [], + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "22", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "25", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "25", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "555", + "annotation": [] + } + }, + { + "type": "Time", + "annotation": [], + "signature": [], + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "23", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "55", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "25", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "900", + "annotation": [] + } + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "false", + "annotation": [] + } + } + ] + } + }, + { + "name": "TimeSameOrAfterMinuteTrue1", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "SameOrAfter", + "precision": "Minute", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Time", + "annotation": [], + "signature": [], + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "23", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "25", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "25", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "555", + "annotation": [] + } + }, + { + "type": "Time", + "annotation": [], + "signature": [], + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "23", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "25", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "25", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "900", + "annotation": [] + } + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "true", + "annotation": [] + } + } + ] + } + }, + { + "name": "TimeSameOrAfterMinuteTrue2", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "SameOrAfter", + "precision": "Minute", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Time", + "annotation": [], + "signature": [], + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "23", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "25", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "25", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "555", + "annotation": [] + } + }, + { + "type": "Time", + "annotation": [], + "signature": [], + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "22", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "15", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "25", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "900", + "annotation": [] + } + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "true", + "annotation": [] + } + } + ] + } + }, + { + "name": "TimeSameOrAfterMinuteFalse", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "SameOrAfter", + "precision": "Minute", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Time", + "annotation": [], + "signature": [], + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "23", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "25", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "25", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "555", + "annotation": [] + } + }, + { + "type": "Time", + "annotation": [], + "signature": [], + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "23", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "55", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "25", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "900", + "annotation": [] + } + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "false", + "annotation": [] + } + } + ] + } + }, + { + "name": "TimeSameOrAfterSecondTrue1", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "SameOrAfter", + "precision": "Second", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Time", + "annotation": [], + "signature": [], + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "23", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "25", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "25", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "555", + "annotation": [] + } + }, + { + "type": "Time", + "annotation": [], + "signature": [], + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "23", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "25", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "25", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "900", + "annotation": [] + } + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "true", + "annotation": [] + } + } + ] + } + }, + { + "name": "TimeSameOrAfterSecondTrue2", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "SameOrAfter", + "precision": "Second", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Time", + "annotation": [], + "signature": [], + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "23", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "25", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "35", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "555", + "annotation": [] + } + }, + { + "type": "Time", + "annotation": [], + "signature": [], + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "22", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "25", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "25", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "900", + "annotation": [] + } + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "true", + "annotation": [] + } + } + ] + } + }, + { + "name": "TimeSameOrAfterSecondFalse", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "SameOrAfter", + "precision": "Second", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Time", + "annotation": [], + "signature": [], + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "23", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "55", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "25", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "555", + "annotation": [] + } + }, + { + "type": "Time", + "annotation": [], + "signature": [], + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "23", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "55", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "35", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "900", + "annotation": [] + } + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "false", + "annotation": [] + } + } + ] + } + }, + { + "name": "TimeSameOrAfterMillisTrue1", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "SameOrAfter", + "precision": "Millisecond", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Time", + "annotation": [], + "signature": [], + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "23", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "25", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "25", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "555", + "annotation": [] + } + }, + { + "type": "Time", + "annotation": [], + "signature": [], + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "23", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "25", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "25", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "555", + "annotation": [] + } + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "true", + "annotation": [] + } + } + ] + } + }, + { + "name": "TimeSameOrAfterMillisTrue2", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "SameOrAfter", + "precision": "Millisecond", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Time", + "annotation": [], + "signature": [], + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "23", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "25", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "25", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "555", + "annotation": [] + } + }, + { + "type": "Time", + "annotation": [], + "signature": [], + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "22", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "25", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "25", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "550", + "annotation": [] + } + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "true", + "annotation": [] + } + } + ] + } + }, + { + "name": "TimeSameOrAfterMillisFalse", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "SameOrAfter", + "precision": "Millisecond", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Time", + "annotation": [], + "signature": [], + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "23", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "55", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "25", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "555", + "annotation": [] + } + }, + { + "type": "Time", + "annotation": [], + "signature": [], + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "23", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "55", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "25", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "900", + "annotation": [] + } + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "false", + "annotation": [] + } + } + ] + } + }, + { + "name": "OnOrAfterTrue", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "SameOrAfter", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2017", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "12", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "20", + "annotation": [] + }, + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "11", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + } + }, + { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2017", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "12", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "20", + "annotation": [] + }, + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "11", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + } + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "true", + "annotation": [] + } + } + ] + } + }, + { + "name": "Issue32DateTime", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "SameOrAfter", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2017", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "12", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "21", + "annotation": [] + }, + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + } + }, + { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2017", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "12", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "20", + "annotation": [] + }, + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "11", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + } + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "true", + "annotation": [] + } + } + ] + } + } + ] + } + }, + { + "name": "SameOrBefore", + "context": "Patient", + "accessLevel": "Public", + "annotation": [], + "expression": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "DateTimeSameOrBeforeYearTrue1", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "SameOrBefore", + "precision": "Year", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2014", + "annotation": [] + } + }, + { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2014", + "annotation": [] + } + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "true", + "annotation": [] + } + } + ] + } + }, + { + "name": "DateTimeSameOrBeforeYearTrue2", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "SameOrBefore", + "precision": "Year", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2013", + "annotation": [] + } + }, + { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2014", + "annotation": [] + } + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "true", + "annotation": [] + } + } + ] + } + }, + { + "name": "DateTimeSameOrBeforeYearFalse", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "SameOrBefore", + "precision": "Year", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2015", + "annotation": [] + } + }, + { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2014", + "annotation": [] + } + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "false", + "annotation": [] + } + } + ] + } + }, + { + "name": "DateTimeSameOrBeforeMonthTrue1", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "SameOrBefore", + "precision": "Month", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2014", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "12", + "annotation": [] + } + }, + { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2014", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "12", + "annotation": [] + } + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "true", + "annotation": [] + } + } + ] + } + }, + { + "name": "DateTimeSameOrBeforeMonthTrue2", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "SameOrBefore", + "precision": "Month", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2014", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "8", + "annotation": [] + } + }, + { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2014", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "9", + "annotation": [] + } + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "true", + "annotation": [] + } + } + ] + } + }, + { + "name": "DateTimeSameOrBeforeMonthFalse", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "SameOrBefore", + "precision": "Month", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2014", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "12", + "annotation": [] + } + }, + { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2014", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "11", + "annotation": [] + } + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "false", + "annotation": [] + } + } + ] + } + }, + { + "name": "DateTimeSameOrBeforeDayTrue1", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "SameOrBefore", + "precision": "Day", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2014", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "12", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "20", + "annotation": [] + } + }, + { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2014", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "12", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "20", + "annotation": [] + } + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "true", + "annotation": [] + } + } + ] + } + }, + { + "name": "DateTimeSameOrBeforeDayTrue2", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "SameOrBefore", + "precision": "Day", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2014", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "15", + "annotation": [] + } + }, + { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2014", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "20", + "annotation": [] + } + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "true", + "annotation": [] + } + } + ] + } + }, + { + "name": "DateTimeSameOrBeforeDayFalse", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "SameOrBefore", + "precision": "Day", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2014", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "30", + "annotation": [] + } + }, + { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2014", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "25", + "annotation": [] + } + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "false", + "annotation": [] + } + } + ] + } + }, + { + "name": "DateTimeSameOrBeforeHourTrue1", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "SameOrBefore", + "precision": "Hour", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2014", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "12", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "20", + "annotation": [] + }, + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "12", + "annotation": [] + } + }, + { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2014", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "12", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "20", + "annotation": [] + }, + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "12", + "annotation": [] + } + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "true", + "annotation": [] + } + } + ] + } + }, + { + "name": "DateTimeSameOrBeforeHourTrue2", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "SameOrBefore", + "precision": "Hour", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2014", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "25", + "annotation": [] + }, + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "5", + "annotation": [] + } + }, + { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2014", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "25", + "annotation": [] + }, + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + } + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "true", + "annotation": [] + } + } + ] + } + }, + { + "name": "DateTimeSameOrBeforeHourFalse", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "SameOrBefore", + "precision": "Hour", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2014", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "25", + "annotation": [] + }, + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "20", + "annotation": [] + } + }, + { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2014", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "25", + "annotation": [] + }, + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "15", + "annotation": [] + } + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "false", + "annotation": [] + } + } + ] + } + }, + { + "name": "DateTimeSameOrBeforeMinuteTrue1", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "SameOrBefore", + "precision": "Minute", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2014", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "12", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "20", + "annotation": [] + }, + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "12", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "30", + "annotation": [] + } + }, + { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2014", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "12", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "20", + "annotation": [] + }, + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "12", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "30", + "annotation": [] + } + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "true", + "annotation": [] + } + } + ] + } + }, + { + "name": "DateTimeSameOrBeforeMinuteTrue2", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "SameOrBefore", + "precision": "Minute", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2014", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "25", + "annotation": [] + }, + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "20", + "annotation": [] + } + }, + { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2014", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "25", + "annotation": [] + }, + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "25", + "annotation": [] + } + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "true", + "annotation": [] + } + } + ] + } + }, + { + "name": "DateTimeSameOrBeforeMinuteFalse", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "SameOrBefore", + "precision": "Minute", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2014", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "25", + "annotation": [] + }, + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "15", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "55", + "annotation": [] + } + }, + { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2014", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "25", + "annotation": [] + }, + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "15", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "45", + "annotation": [] + } + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "false", + "annotation": [] + } + } + ] + } + }, + { + "name": "DateTimeSameOrBeforeSecondTrue1", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "SameOrBefore", + "precision": "Second", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2014", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "12", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "20", + "annotation": [] + }, + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "12", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "30", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "15", + "annotation": [] + } + }, + { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2014", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "12", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "20", + "annotation": [] + }, + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "12", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "30", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "15", + "annotation": [] + } + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "true", + "annotation": [] + } + } + ] + } + }, + { + "name": "DateTimeSameOrBeforeSecondTrue2", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "SameOrBefore", + "precision": "Second", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2014", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "25", + "annotation": [] + }, + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "25", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "15", + "annotation": [] + } + }, + { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2014", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "25", + "annotation": [] + }, + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "25", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "20", + "annotation": [] + } + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "true", + "annotation": [] + } + } + ] + } + }, + { + "name": "DateTimeSameOrBeforeSecondFalse", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "SameOrBefore", + "precision": "Second", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2014", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "25", + "annotation": [] + }, + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "15", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "45", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "25", + "annotation": [] + } + }, + { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2014", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "25", + "annotation": [] + }, + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "15", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "45", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "21", + "annotation": [] + } + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "false", + "annotation": [] + } + } + ] + } + }, + { + "name": "DateTimeSameOrBeforeMillisecondTrue1", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "SameOrBefore", + "precision": "Millisecond", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2014", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "12", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "20", + "annotation": [] + }, + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "12", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "30", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "15", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "250", + "annotation": [] + } + }, + { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2014", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "12", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "20", + "annotation": [] + }, + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "12", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "30", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "15", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "250", + "annotation": [] + } + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "true", + "annotation": [] + } + } + ] + } + }, + { + "name": "DateTimeSameOrBeforeMillisecondTrue2", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "SameOrBefore", + "precision": "Millisecond", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2014", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "25", + "annotation": [] + }, + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "25", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "20", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "450", + "annotation": [] + } + }, + { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2014", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "25", + "annotation": [] + }, + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "25", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "20", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "499", + "annotation": [] + } + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "true", + "annotation": [] + } + } + ] + } + }, + { + "name": "DateTimeSameOrBeforeMillisecondFalse", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "SameOrBefore", + "precision": "Millisecond", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2014", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "25", + "annotation": [] + }, + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "15", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "45", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "20", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "505", + "annotation": [] + } + }, + { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2014", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "25", + "annotation": [] + }, + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "15", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "45", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "20", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "501", + "annotation": [] + } + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "false", + "annotation": [] + } + } + ] + } + }, + { + "name": "DateTimeSameOrBeforeNull1", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "SameOrBefore", + "precision": "Minute", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2014", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "12", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "20", + "annotation": [] + } + }, + { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2014", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "12", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "20", + "annotation": [] + }, + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "15", + "annotation": [] + } + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Null", + "annotation": [] + } + } + ] + } + }, + { + "name": "SameOrBeforeTimezoneTrue", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "SameOrBefore", + "precision": "Hour", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2012", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "3", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + }, + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "9", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "20", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "999", + "annotation": [] + }, + "timezoneOffset": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "7.0", + "annotation": [] + } + }, + { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2012", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "3", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + }, + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "20", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "999", + "annotation": [] + }, + "timezoneOffset": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "6.0", + "annotation": [] + } + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "true", + "annotation": [] + } + } + ] + } + }, + { + "name": "SameOrBeforeTimezoneFalse", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "SameOrBefore", + "precision": "Hour", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2012", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "3", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + }, + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "20", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "999", + "annotation": [] + }, + "timezoneOffset": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "6.0", + "annotation": [] + } + }, + { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2012", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "3", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + }, + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "20", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "999", + "annotation": [] + }, + "timezoneOffset": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "7.0", + "annotation": [] + } + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "false", + "annotation": [] + } + } + ] + } + }, + { + "name": "TimeSameOrBeforeHourTrue1", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "SameOrBefore", + "precision": "Hour", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Time", + "annotation": [], + "signature": [], + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "23", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "25", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "25", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "555", + "annotation": [] + } + }, + { + "type": "Time", + "annotation": [], + "signature": [], + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "23", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "55", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "25", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "900", + "annotation": [] + } + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "true", + "annotation": [] + } + } + ] + } + }, + { + "name": "TimeSameOrBeforeHourTrue2", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "SameOrBefore", + "precision": "Hour", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Time", + "annotation": [], + "signature": [], + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "21", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "25", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "25", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "555", + "annotation": [] + } + }, + { + "type": "Time", + "annotation": [], + "signature": [], + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "22", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "55", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "25", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "900", + "annotation": [] + } + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "true", + "annotation": [] + } + } + ] + } + }, + { + "name": "TimeSameOrBeforeHourFalse", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "SameOrBefore", + "precision": "Hour", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Time", + "annotation": [], + "signature": [], + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "22", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "25", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "25", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "555", + "annotation": [] + } + }, + { + "type": "Time", + "annotation": [], + "signature": [], + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "21", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "55", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "25", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "900", + "annotation": [] + } + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "false", + "annotation": [] + } + } + ] + } + }, + { + "name": "TimeSameOrBeforeMinuteTrue1", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "SameOrBefore", + "precision": "Minute", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Time", + "annotation": [], + "signature": [], + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "23", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "25", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "25", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "555", + "annotation": [] + } + }, + { + "type": "Time", + "annotation": [], + "signature": [], + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "23", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "25", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "25", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "900", + "annotation": [] + } + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "true", + "annotation": [] + } + } + ] + } + }, + { + "name": "TimeSameOrBeforeMinuteFalse0", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "SameOrBefore", + "precision": "Minute", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Time", + "annotation": [], + "signature": [], + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "23", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "25", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "555", + "annotation": [] + } + }, + { + "type": "Time", + "annotation": [], + "signature": [], + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "22", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "15", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "25", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "900", + "annotation": [] + } + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "false", + "annotation": [] + } + } + ] + } + }, + { + "name": "TimeSameOrBeforeMinuteFalse", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "SameOrBefore", + "precision": "Minute", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Time", + "annotation": [], + "signature": [], + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "23", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "56", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "25", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "555", + "annotation": [] + } + }, + { + "type": "Time", + "annotation": [], + "signature": [], + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "23", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "55", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "25", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "900", + "annotation": [] + } + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "false", + "annotation": [] + } + } + ] + } + }, + { + "name": "TimeSameOrBeforeSecondTrue1", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "SameOrBefore", + "precision": "Second", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Time", + "annotation": [], + "signature": [], + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "23", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "25", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "25", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "555", + "annotation": [] + } + }, + { + "type": "Time", + "annotation": [], + "signature": [], + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "23", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "25", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "25", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "900", + "annotation": [] + } + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "true", + "annotation": [] + } + } + ] + } + }, + { + "name": "TimeSameOrBeforeSecondFalse0", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "SameOrBefore", + "precision": "Second", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Time", + "annotation": [], + "signature": [], + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "23", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "25", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "35", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "555", + "annotation": [] + } + }, + { + "type": "Time", + "annotation": [], + "signature": [], + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "22", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "25", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "45", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "900", + "annotation": [] + } + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "false", + "annotation": [] + } + } + ] + } + }, + { + "name": "TimeSameOrBeforeSecondFalse", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "SameOrBefore", + "precision": "Second", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Time", + "annotation": [], + "signature": [], + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "23", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "55", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "45", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "555", + "annotation": [] + } + }, + { + "type": "Time", + "annotation": [], + "signature": [], + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "23", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "55", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "35", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "900", + "annotation": [] + } + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "false", + "annotation": [] + } + } + ] + } + }, + { + "name": "TimeSameOrBeforeMillisTrue1", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "SameOrBefore", + "precision": "Millisecond", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Time", + "annotation": [], + "signature": [], + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "23", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "25", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "25", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "555", + "annotation": [] + } + }, + { + "type": "Time", + "annotation": [], + "signature": [], + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "23", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "25", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "25", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "555", + "annotation": [] + } + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "true", + "annotation": [] + } + } + ] + } + }, + { + "name": "TimeSameOrBeforeMillisFalse0", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "SameOrBefore", + "precision": "Millisecond", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Time", + "annotation": [], + "signature": [], + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "23", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "25", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "25", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "200", + "annotation": [] + } + }, + { + "type": "Time", + "annotation": [], + "signature": [], + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "22", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "25", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "25", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "550", + "annotation": [] + } + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "false", + "annotation": [] + } + } + ] + } + }, + { + "name": "TimeSameOrBeforeMillisFalse", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "SameOrBefore", + "precision": "Millisecond", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Time", + "annotation": [], + "signature": [], + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "23", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "55", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "25", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "966", + "annotation": [] + } + }, + { + "type": "Time", + "annotation": [], + "signature": [], + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "23", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "55", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "25", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "900", + "annotation": [] + } + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "false", + "annotation": [] + } + } + ] + } + } + ] + } + }, + { + "name": "Subtract", + "context": "Patient", + "accessLevel": "Public", + "annotation": [], + "expression": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "DateTimeSubtract5Years", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Subtract", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2005", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + } + }, + { + "type": "Quantity", + "value": 5, + "unit": "years", + "annotation": [] + } + ] + } + }, + { + "name": "output", + "value": { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2000", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + } + } + } + ] + } + }, + { + "name": "DateTimeSubtractInvalidYears", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Subtract", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2005", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + } + }, + { + "type": "Quantity", + "value": 2005, + "unit": "years", + "annotation": [] + } + ] + } + }, + { + "name": "invalid", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "true", + "annotation": [] + } + } + ] + } + }, + { + "name": "DateTimeSubtract5Months", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Subtract", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2005", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "6", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + } + }, + { + "type": "Quantity", + "value": 5, + "unit": "months", + "annotation": [] + } + ] + } + }, + { + "name": "output", + "value": { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2005", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + } + } + } + ] + } + }, + { + "name": "DateTimeSubtractMonthsUnderflow", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Subtract", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2005", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "5", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + } + }, + { + "type": "Quantity", + "value": 6, + "unit": "months", + "annotation": [] + } + ] + } + }, + { + "name": "output", + "value": { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2004", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "11", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + } + } + } + ] + } + }, + { + "name": "DateTimeSubtractThreeWeeks", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Equal", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Subtract", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2018", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "5", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "23", + "annotation": [] + } + }, + { + "type": "Quantity", + "value": 3, + "unit": "weeks", + "annotation": [] + } + ] + }, + { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2018", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "5", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2", + "annotation": [] + } + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "true", + "annotation": [] + } + } + ] + } + }, + { + "name": "DateTimeSubtractYearInWeeks", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "skipped", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}String", + "value": "Wrong output: 2018-05-23 - 52 weeks should be 2019-05-24 (both dates should be Wednesdays)", + "annotation": [] + } + } + ] + } + }, + { + "name": "DateTimeSubtract5Days", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Subtract", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2005", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "5", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + } + }, + { + "type": "Quantity", + "value": 5, + "unit": "days", + "annotation": [] + } + ] + } + }, + { + "name": "output", + "value": { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2005", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "5", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "5", + "annotation": [] + } + } + } + ] + } + }, + { + "name": "DateTimeSubtractDaysUnderflow", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Subtract", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2016", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "6", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + } + }, + { + "type": "Quantity", + "value": 11, + "unit": "days", + "annotation": [] + } + ] + } + }, + { + "name": "output", + "value": { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2016", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "5", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "30", + "annotation": [] + } + } + } + ] + } + }, + { + "name": "DateTimeSubtract5Hours", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Subtract", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2005", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "5", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + }, + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + } + }, + { + "type": "Quantity", + "value": 5, + "unit": "hours", + "annotation": [] + } + ] + } + }, + { + "name": "output", + "value": { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2005", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "5", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + }, + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "5", + "annotation": [] + } + } + } + ] + } + }, + { + "name": "DateTimeSubtractHoursUnderflow", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Subtract", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2016", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "6", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + }, + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "5", + "annotation": [] + } + }, + { + "type": "Quantity", + "value": 6, + "unit": "hours", + "annotation": [] + } + ] + } + }, + { + "name": "output", + "value": { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2016", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "6", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "9", + "annotation": [] + }, + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "23", + "annotation": [] + } + } + } + ] + } + }, + { + "name": "DateTimeSubtract5Minutes", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Subtract", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2005", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "5", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + }, + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "5", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + } + }, + { + "type": "Quantity", + "value": 5, + "unit": "minutes", + "annotation": [] + } + ] + } + }, + { + "name": "output", + "value": { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2005", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "5", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + }, + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "5", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "5", + "annotation": [] + } + } + } + ] + } + }, + { + "name": "DateTimeSubtractMinutesUnderflow", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Subtract", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2016", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "6", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + }, + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "5", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "5", + "annotation": [] + } + }, + { + "type": "Quantity", + "value": 6, + "unit": "minutes", + "annotation": [] + } + ] + } + }, + { + "name": "output", + "value": { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2016", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "6", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + }, + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "4", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + } + } + } + ] + } + }, + { + "name": "DateTimeSubtract5Seconds", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Subtract", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2005", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "5", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + }, + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "5", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "5", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + } + }, + { + "type": "Quantity", + "value": 5, + "unit": "seconds", + "annotation": [] + } + ] + } + }, + { + "name": "output", + "value": { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2005", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "5", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + }, + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "5", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "5", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "5", + "annotation": [] + } + } + } + ] + } + }, + { + "name": "DateTimeSubtract1YearInSeconds", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "skipped", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}String", + "value": "Spec says to convert more precise duration to most precise unit in Date. How do you convert seconds to months? 31535999 is 364.999 days, which isn't quite 12 months, so we answer 2015-06.", + "annotation": [] + } + } + ] + } + }, + { + "name": "DateTimeSubtract15HourPrecisionSecond", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Subtract", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2016", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + }, + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "20", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "30", + "annotation": [] + } + }, + { + "type": "Quantity", + "value": 15, + "unit": "hours", + "annotation": [] + } + ] + } + }, + { + "name": "output", + "value": { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2016", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "9", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "30", + "annotation": [] + }, + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "19", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "20", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "30", + "annotation": [] + } + } + } + ] + } + }, + { + "name": "DateTimeSubtractSecondsUnderflow", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Subtract", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2016", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "6", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + }, + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "5", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "5", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "5", + "annotation": [] + } + }, + { + "type": "Quantity", + "value": 6, + "unit": "seconds", + "annotation": [] + } + ] + } + }, + { + "name": "output", + "value": { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2016", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "6", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + }, + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "5", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "4", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + } + } + } + ] + } + }, + { + "name": "DateTimeSubtract5Milliseconds", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Subtract", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2005", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "5", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + }, + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "5", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "5", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "5", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + } + }, + { + "type": "Quantity", + "value": 5, + "unit": "milliseconds", + "annotation": [] + } + ] + } + }, + { + "name": "output", + "value": { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2005", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "5", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + }, + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "5", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "5", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "5", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "5", + "annotation": [] + } + } + } + ] + } + }, + { + "name": "DateTimeSubtractMillisecondsUnderflow", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Subtract", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2016", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "6", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + }, + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "5", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "5", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "5", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "5", + "annotation": [] + } + }, + { + "type": "Quantity", + "value": 6, + "unit": "milliseconds", + "annotation": [] + } + ] + } + }, + { + "name": "output", + "value": { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2016", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "6", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + }, + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "5", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "5", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "4", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "999", + "annotation": [] + } + } + } + ] + } + }, + { + "name": "DateTimeSubtract2YearsAsMonths", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Subtract", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2014", + "annotation": [] + } + }, + { + "type": "Quantity", + "value": 24, + "unit": "months", + "annotation": [] + } + ] + } + }, + { + "name": "output", + "value": { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2012", + "annotation": [] + } + } + } + ] + } + }, + { + "name": "DateTimeSubtract2YearsAsMonthsRem1", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Subtract", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2014", + "annotation": [] + } + }, + { + "type": "Quantity", + "value": 25, + "unit": "months", + "annotation": [] + } + ] + } + }, + { + "name": "output", + "value": { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2012", + "annotation": [] + } + } + } + ] + } + }, + { + "name": "DateSubtract2YearsAsMonths", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Subtract", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Date", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2014", + "annotation": [] + } + }, + { + "type": "Quantity", + "value": 24, + "unit": "months", + "annotation": [] + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Date", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2012", + "annotation": [] + } + } + } + ] + } + }, + { + "name": "DateSubtract2YearsAsMonthsRem1", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Subtract", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Date", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2014", + "annotation": [] + } + }, + { + "type": "Quantity", + "value": 25, + "unit": "months", + "annotation": [] + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Date", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2012", + "annotation": [] + } + } + } + ] + } + }, + { + "name": "DateSubtract33Days", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Subtract", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Date", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2014", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "6", + "annotation": [] + } + }, + { + "type": "Quantity", + "value": 33, + "unit": "days", + "annotation": [] + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Date", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2014", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "5", + "annotation": [] + } + } + } + ] + } + }, + { + "name": "DateSubtract1Year", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Subtract", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Date", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2014", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "6", + "annotation": [] + } + }, + { + "type": "Quantity", + "value": 1, + "unit": "year", + "annotation": [] + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Date", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2013", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "6", + "annotation": [] + } + } + } + ] + } + }, + { + "name": "TimeSubtract5Hours", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Subtract", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Time", + "annotation": [], + "signature": [], + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "15", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "999", + "annotation": [] + } + }, + { + "type": "Quantity", + "value": 5, + "unit": "hours", + "annotation": [] + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Time", + "annotation": [], + "signature": [], + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "999", + "annotation": [] + } + } + } + ] + } + }, + { + "name": "TimeSubtract1Minute", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Subtract", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Time", + "annotation": [], + "signature": [], + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "15", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "999", + "annotation": [] + } + }, + { + "type": "Quantity", + "value": 1, + "unit": "minutes", + "annotation": [] + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Time", + "annotation": [], + "signature": [], + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "15", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "58", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "999", + "annotation": [] + } + } + } + ] + } + }, + { + "name": "TimeSubtract1Second", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Subtract", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Time", + "annotation": [], + "signature": [], + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "15", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "999", + "annotation": [] + } + }, + { + "type": "Quantity", + "value": 1, + "unit": "seconds", + "annotation": [] + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Time", + "annotation": [], + "signature": [], + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "15", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "58", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "999", + "annotation": [] + } + } + } + ] + } + }, + { + "name": "TimeSubtract1Millisecond", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Subtract", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Time", + "annotation": [], + "signature": [], + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "15", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + } + }, + { + "type": "Quantity", + "value": 1, + "unit": "milliseconds", + "annotation": [] + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Time", + "annotation": [], + "signature": [], + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "15", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "58", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "999", + "annotation": [] + } + } + } + ] + } + }, + { + "name": "TimeSubtract5Hours1Minute", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Subtract", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Subtract", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Time", + "annotation": [], + "signature": [], + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "15", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "999", + "annotation": [] + } + }, + { + "type": "Quantity", + "value": 5, + "unit": "hours", + "annotation": [] + } + ] + }, + { + "type": "Quantity", + "value": 1, + "unit": "minutes", + "annotation": [] + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Time", + "annotation": [], + "signature": [], + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "58", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "999", + "annotation": [] + } + } + } + ] + } + }, + { + "name": "TimeSubtract5hoursByMinute", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Subtract", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Time", + "annotation": [], + "signature": [], + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "15", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "999", + "annotation": [] + } + }, + { + "type": "Quantity", + "value": 300, + "unit": "minutes", + "annotation": [] + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Time", + "annotation": [], + "signature": [], + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "999", + "annotation": [] + } + } + } + ] + } + } + ] + } + }, + { + "name": "Time", + "context": "Patient", + "accessLevel": "Public", + "annotation": [], + "expression": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "TimeTest2", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Time", + "annotation": [], + "signature": [], + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "23", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "999", + "annotation": [] + } + } + }, + { + "name": "output", + "value": { + "type": "Time", + "annotation": [], + "signature": [], + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "23", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "999", + "annotation": [] + } + } + } + ] + } + } + ] + } + }, + { + "name": "TimeOfDay", + "context": "Patient", + "accessLevel": "Public", + "annotation": [], + "expression": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "TimeOfDayTest", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Equal", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "TimeOfDay", + "annotation": [], + "signature": [] + }, + { + "type": "TimeOfDay", + "annotation": [], + "signature": [] + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "true", + "annotation": [] + } + } + ] + } + } + ] + } + }, + { + "name": "Today", + "context": "Patient", + "accessLevel": "Public", + "annotation": [], + "expression": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "DateTimeSameOrBeforeTodayTrue1", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "SameOrBefore", + "precision": "Day", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Today", + "annotation": [], + "signature": [] + }, + { + "type": "Today", + "annotation": [], + "signature": [] + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "true", + "annotation": [] + } + } + ] + } + }, + { + "name": "DateTimeSameOrBeforeTodayTrue2", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "SameOrBefore", + "precision": "Day", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Today", + "annotation": [], + "signature": [] + }, + { + "type": "Add", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Today", + "annotation": [], + "signature": [] + }, + { + "type": "Quantity", + "value": 1, + "unit": "days", + "annotation": [] + } + ] + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "true", + "annotation": [] + } + } + ] + } + }, + { + "name": "DateTimeSameOrBeforeTodayFalse", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "SameOrBefore", + "precision": "Day", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Add", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Today", + "annotation": [], + "signature": [] + }, + { + "type": "Quantity", + "value": 1, + "unit": "years", + "annotation": [] + } + ] + }, + { + "type": "Today", + "annotation": [], + "signature": [] + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "false", + "annotation": [] + } + } + ] + } + }, + { + "name": "DateTimeAddTodayTrue", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Greater", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Add", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Today", + "annotation": [], + "signature": [] + }, + { + "type": "Quantity", + "value": 1, + "unit": "days", + "annotation": [] + } + ] + }, + { + "type": "Today", + "annotation": [], + "signature": [] + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "true", + "annotation": [] + } + } + ] + } + }, + { + "name": "Issue34B", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Equal", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Today", + "annotation": [], + "signature": [] + }, + { + "type": "Today", + "annotation": [], + "signature": [] + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "true", + "annotation": [] + } + } + ] + } + } + ] + } + } + ] + } + } } - diff --git a/test/spec-tests/cql/CqlErrorsAndMessagingOperatorsTest.json b/test/spec-tests/cql/CqlErrorsAndMessagingOperatorsTest.json index 71d90592..af1e3706 100644 --- a/test/spec-tests/cql/CqlErrorsAndMessagingOperatorsTest.json +++ b/test/spec-tests/cql/CqlErrorsAndMessagingOperatorsTest.json @@ -1,315 +1,352 @@ { - "library" : { - "annotation" : [ { - "translatorVersion" : "3.27.0", - "translatorOptions" : "", - "signatureLevel" : "None", - "type" : "CqlToElmInfo" - } ], - "identifier" : { - "id" : "CqlErrorsAndMessagingOperatorsTest", - "version" : "1.4.0" - }, - "schemaIdentifier" : { - "id" : "urn:hl7-org:elm", - "version" : "r1" - }, - "usings" : { - "def" : [ { - "localIdentifier" : "System", - "uri" : "urn:hl7-org:elm-types:r1", - "annotation" : [ ] - }, { - "localIdentifier" : "QUICK", - "uri" : "http://hl7.org/fhir/us/qicore", - "version" : "3.3.0", - "annotation" : [ ] - } ] - }, - "contexts" : { - "def" : [ { - "name" : "Patient", - "annotation" : [ ] - } ] - }, - "statements" : { - "def" : [ { - "name" : "Patient", - "context" : "Patient", - "annotation" : [ ], - "expression" : { - "type" : "SingletonFrom", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "dataType" : "{http://hl7.org/fhir/us/qicore}Patient", - "templateId" : "http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-patient", - "type" : "Retrieve", - "annotation" : [ ], - "include" : [ ], - "codeFilter" : [ ], - "dateFilter" : [ ], - "otherFilter" : [ ] - } + "library": { + "annotation": [ + { + "type": "CqlToElmInfo", + "translatorVersion": "4.2.0", + "translatorOptions": "", + "signatureLevel": "None" + } + ], + "identifier": { + "id": "CqlErrorsAndMessagingOperatorsTest", + "version": "1.4.0" + }, + "schemaIdentifier": { + "id": "urn:hl7-org:elm", + "version": "r1" + }, + "usings": { + "def": [ + { + "localIdentifier": "System", + "uri": "urn:hl7-org:elm-types:r1", + "annotation": [] + }, + { + "localIdentifier": "QUICK", + "uri": "http://hl7.org/fhir/us/qicore", + "version": "3.3.0", + "annotation": [] + } + ] + }, + "contexts": { + "def": [ + { + "name": "Patient", + "annotation": [] + } + ] + }, + "statements": { + "def": [ + { + "name": "Patient", + "context": "Patient", + "annotation": [], + "expression": { + "type": "SingletonFrom", + "annotation": [], + "signature": [], + "operand": { + "type": "Retrieve", + "dataType": "{http://hl7.org/fhir/us/qicore}Patient", + "templateId": "http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-patient", + "annotation": [], + "include": [], + "codeFilter": [], + "dateFilter": [], + "otherFilter": [] } - }, { - "name" : "Group1", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ ], - "expression" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "TestMessageInfo", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Message", - "annotation" : [ ], - "signature" : [ ], - "source" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - }, - "condition" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "true", - "type" : "Literal", - "annotation" : [ ] - }, - "code" : { - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "100", - "type" : "Literal", - "annotation" : [ ] - }, - "severity" : { - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "Message", - "type" : "Literal", - "annotation" : [ ] - }, - "message" : { - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "Test Message", - "type" : "Literal", - "annotation" : [ ] - } - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "TestMessageWarn", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Message", - "annotation" : [ ], - "signature" : [ ], - "source" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal", - "annotation" : [ ] - }, - "condition" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "true", - "type" : "Literal", - "annotation" : [ ] - }, - "code" : { - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "200", - "type" : "Literal", - "annotation" : [ ] - }, - "severity" : { - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "Warning", - "type" : "Literal", - "annotation" : [ ] - }, - "message" : { - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "You have been warned!", - "type" : "Literal", - "annotation" : [ ] - } - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal", - "annotation" : [ ] + } + }, + { + "name": "Group1", + "context": "Patient", + "accessLevel": "Public", + "annotation": [], + "expression": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "TestMessageInfo", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Message", + "annotation": [], + "signature": [], + "source": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + }, + "condition": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "true", + "annotation": [] + }, + "code": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}String", + "value": "100", + "annotation": [] + }, + "severity": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}String", + "value": "Message", + "annotation": [] + }, + "message": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}String", + "value": "Test Message", + "annotation": [] } - } ] - } - }, { - "name" : "TestMessageTrace", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Message", - "annotation" : [ ], - "signature" : [ ], - "source" : { - "type" : "List", - "annotation" : [ ], - "element" : [ { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal", - "annotation" : [ ] - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "4", - "type" : "Literal", - "annotation" : [ ] - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal", - "annotation" : [ ] - } ] - }, - "condition" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "true", - "type" : "Literal", - "annotation" : [ ] - }, - "code" : { - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "300", - "type" : "Literal", - "annotation" : [ ] - }, - "severity" : { - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "Trace", - "type" : "Literal", - "annotation" : [ ] - }, - "message" : { - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "This is a trace", - "type" : "Literal", - "annotation" : [ ] - } + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + } + } + ] + } + }, + { + "name": "TestMessageWarn", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Message", + "annotation": [], + "signature": [], + "source": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2", + "annotation": [] + }, + "condition": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "true", + "annotation": [] + }, + "code": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}String", + "value": "200", + "annotation": [] + }, + "severity": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}String", + "value": "Warning", + "annotation": [] + }, + "message": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}String", + "value": "You have been warned!", + "annotation": [] } - }, { - "name" : "output", - "value" : { - "type" : "List", - "annotation" : [ ], - "element" : [ { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal", - "annotation" : [ ] - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "4", - "type" : "Literal", - "annotation" : [ ] - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal", - "annotation" : [ ] - } ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2", + "annotation": [] + } + } + ] + } + }, + { + "name": "TestMessageTrace", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Message", + "annotation": [], + "signature": [], + "source": { + "type": "List", + "annotation": [], + "element": [ + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "3", + "annotation": [] + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "4", + "annotation": [] + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "5", + "annotation": [] + } + ] + }, + "condition": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "true", + "annotation": [] + }, + "code": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}String", + "value": "300", + "annotation": [] + }, + "severity": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}String", + "value": "Trace", + "annotation": [] + }, + "message": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}String", + "value": "This is a trace", + "annotation": [] } - } ] - } - }, { - "name" : "TestMessageError", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Message", - "annotation" : [ ], - "signature" : [ ], - "source" : { - "type" : "Add", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal", - "annotation" : [ ] - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - } ] - }, - "condition" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "true", - "type" : "Literal", - "annotation" : [ ] - }, - "code" : { - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "400", - "type" : "Literal", - "annotation" : [ ] - }, - "severity" : { - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "Error", - "type" : "Literal", - "annotation" : [ ] - }, - "message" : { - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "This is an error!", - "type" : "Literal", - "annotation" : [ ] - } + } + }, + { + "name": "output", + "value": { + "type": "List", + "annotation": [], + "element": [ + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "3", + "annotation": [] + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "4", + "annotation": [] + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "5", + "annotation": [] + } + ] + } + } + ] + } + }, + { + "name": "TestMessageError", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Message", + "annotation": [], + "signature": [], + "source": { + "type": "Add", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "3", + "annotation": [] + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + } + ] + }, + "condition": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "true", + "annotation": [] + }, + "code": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}String", + "value": "400", + "annotation": [] + }, + "severity": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}String", + "value": "Error", + "annotation": [] + }, + "message": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}String", + "value": "This is an error!", + "annotation": [] } - }, { - "name" : "invalid", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "true", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - } ] - } - } ] - } - } + } + }, + { + "name": "invalid", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "true", + "annotation": [] + } + } + ] + } + } + ] + } + } + ] + } + } } - diff --git a/test/spec-tests/cql/CqlIntervalOperatorsTest.json b/test/spec-tests/cql/CqlIntervalOperatorsTest.json index c878a468..3622329b 100644 --- a/test/spec-tests/cql/CqlIntervalOperatorsTest.json +++ b/test/spec-tests/cql/CqlIntervalOperatorsTest.json @@ -1,34732 +1,37471 @@ { - "library" : { - "annotation" : [ { - "translatorVersion" : "3.27.0", - "translatorOptions" : "", - "signatureLevel" : "None", - "type" : "CqlToElmInfo" - } ], - "identifier" : { - "id" : "CqlIntervalOperatorsTest", - "version" : "1.4.0" - }, - "schemaIdentifier" : { - "id" : "urn:hl7-org:elm", - "version" : "r1" - }, - "usings" : { - "def" : [ { - "localIdentifier" : "System", - "uri" : "urn:hl7-org:elm-types:r1", - "annotation" : [ ] - }, { - "localIdentifier" : "QUICK", - "uri" : "http://hl7.org/fhir/us/qicore", - "version" : "3.3.0", - "annotation" : [ ] - } ] - }, - "contexts" : { - "def" : [ { - "name" : "Patient", - "annotation" : [ ] - } ] - }, - "statements" : { - "def" : [ { - "name" : "Patient", - "context" : "Patient", - "annotation" : [ ], - "expression" : { - "type" : "SingletonFrom", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "dataType" : "{http://hl7.org/fhir/us/qicore}Patient", - "templateId" : "http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-patient", - "type" : "Retrieve", - "annotation" : [ ], - "include" : [ ], - "codeFilter" : [ ], - "dateFilter" : [ ], - "otherFilter" : [ ] - } - } - }, { - "name" : "After", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ ], - "expression" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "TestAfterNull", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "After", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "type" : "If", - "annotation" : [ ], - "condition" : { - "type" : "IsNull", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "strict" : false, - "type" : "As", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "type" : "Null", - "annotation" : [ ] - }, - "asTypeSpecifier" : { - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier", - "annotation" : [ ] - } - } - }, - "then" : { - "type" : "Null", - "annotation" : [ ] - }, - "else" : { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "strict" : false, - "type" : "As", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "type" : "Null", - "annotation" : [ ] - }, - "asTypeSpecifier" : { - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier", - "annotation" : [ ] - } - }, - "high" : { - "strict" : false, - "type" : "As", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "type" : "Null", - "annotation" : [ ] - }, - "asTypeSpecifier" : { - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier", - "annotation" : [ ] - } - } - } - }, { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - }, - "high" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "output", - "value" : { - "type" : "Null", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "IntegerIntervalAfterTrue", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "After", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "11", - "type" : "Literal", - "annotation" : [ ] - }, - "high" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "20", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - }, - "high" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "true", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "IntegerIntervalAfterFalse", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "After", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - }, - "high" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "11", - "type" : "Literal", - "annotation" : [ ] - }, - "high" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "20", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "false", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "IntegerIntervalPointAfterTrue", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "After", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "type" : "If", - "annotation" : [ ], - "condition" : { - "type" : "IsNull", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "12", - "type" : "Literal", - "annotation" : [ ] - } - }, - "then" : { - "type" : "Null", - "annotation" : [ ] - }, - "else" : { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "12", - "type" : "Literal", - "annotation" : [ ] - }, - "high" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "12", - "type" : "Literal", - "annotation" : [ ] - } - } - }, { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - }, - "high" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "true", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "IntegerIntervalPointAfterFalse", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "After", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "type" : "If", - "annotation" : [ ], - "condition" : { - "type" : "IsNull", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "9", - "type" : "Literal", - "annotation" : [ ] - } - }, - "then" : { - "type" : "Null", - "annotation" : [ ] - }, - "else" : { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "9", - "type" : "Literal", - "annotation" : [ ] - }, - "high" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "9", - "type" : "Literal", - "annotation" : [ ] - } - } - }, { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - }, - "high" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "false", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "IntegerIntervalAfterPointTrue", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "After", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "11", - "type" : "Literal", - "annotation" : [ ] - }, - "high" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "20", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "type" : "If", - "annotation" : [ ], - "condition" : { - "type" : "IsNull", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal", - "annotation" : [ ] - } - }, - "then" : { - "type" : "Null", - "annotation" : [ ] - }, - "else" : { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal", - "annotation" : [ ] - }, - "high" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal", - "annotation" : [ ] - } - } - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "true", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "IntegerIntervalAfterPointFalse", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "After", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "11", - "type" : "Literal", - "annotation" : [ ] - }, - "high" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "20", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "type" : "If", - "annotation" : [ ], - "condition" : { - "type" : "IsNull", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "12", - "type" : "Literal", - "annotation" : [ ] - } - }, - "then" : { - "type" : "Null", - "annotation" : [ ] - }, - "else" : { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "12", - "type" : "Literal", - "annotation" : [ ] - }, - "high" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "12", - "type" : "Literal", - "annotation" : [ ] - } - } - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "false", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "DecimalIntervalAfterTrue", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "After", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "11.0", - "type" : "Literal", - "annotation" : [ ] - }, - "high" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "20.0", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "1.0", - "type" : "Literal", - "annotation" : [ ] - }, - "high" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "10.0", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "true", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "DecimalIntervalAfterFalse", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "After", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "1.0", - "type" : "Literal", - "annotation" : [ ] - }, - "high" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "10.0", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "11.0", - "type" : "Literal", - "annotation" : [ ] - }, - "high" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "20.0", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "false", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "DecimalIntervalPointAfterTrue", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "After", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "type" : "If", - "annotation" : [ ], - "condition" : { - "type" : "IsNull", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "12.0", - "type" : "Literal", - "annotation" : [ ] - } - }, - "then" : { - "type" : "Null", - "annotation" : [ ] - }, - "else" : { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "12.0", - "type" : "Literal", - "annotation" : [ ] - }, - "high" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "12.0", - "type" : "Literal", - "annotation" : [ ] - } - } - }, { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "1.0", - "type" : "Literal", - "annotation" : [ ] - }, - "high" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "10.0", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "true", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "DecimalIntervalPointAfterFalse", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "After", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "type" : "If", - "annotation" : [ ], - "condition" : { - "type" : "IsNull", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "9.0", - "type" : "Literal", - "annotation" : [ ] - } - }, - "then" : { - "type" : "Null", - "annotation" : [ ] - }, - "else" : { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "9.0", - "type" : "Literal", - "annotation" : [ ] - }, - "high" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "9.0", - "type" : "Literal", - "annotation" : [ ] - } - } - }, { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "1.0", - "type" : "Literal", - "annotation" : [ ] - }, - "high" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "10.0", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "false", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "DecimalIntervalAfterPointTrue", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "After", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "11.0", - "type" : "Literal", - "annotation" : [ ] - }, - "high" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "20.0", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "type" : "If", - "annotation" : [ ], - "condition" : { - "type" : "IsNull", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "5.0", - "type" : "Literal", - "annotation" : [ ] - } - }, - "then" : { - "type" : "Null", - "annotation" : [ ] - }, - "else" : { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "5.0", - "type" : "Literal", - "annotation" : [ ] - }, - "high" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "5.0", - "type" : "Literal", - "annotation" : [ ] - } - } - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "true", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "DecimalIntervalAfterPointFalse", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "After", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "11.0", - "type" : "Literal", - "annotation" : [ ] - }, - "high" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "20.0", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "type" : "If", - "annotation" : [ ], - "condition" : { - "type" : "IsNull", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "12.0", - "type" : "Literal", - "annotation" : [ ] - } - }, - "then" : { - "type" : "Null", - "annotation" : [ ] - }, - "else" : { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "12.0", - "type" : "Literal", - "annotation" : [ ] - }, - "high" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "12.0", - "type" : "Literal", - "annotation" : [ ] - } - } - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "false", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "QuantityIntervalAfterTrue", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "After", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "value" : 11.0, - "unit" : "g", - "type" : "Quantity", - "annotation" : [ ] - }, - "high" : { - "value" : 20.0, - "unit" : "g", - "type" : "Quantity", - "annotation" : [ ] - } - }, { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "value" : 1.0, - "unit" : "g", - "type" : "Quantity", - "annotation" : [ ] - }, - "high" : { - "value" : 10.0, - "unit" : "g", - "type" : "Quantity", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "true", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "QuantityIntervalAfterFalse", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "After", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "value" : 1.0, - "unit" : "g", - "type" : "Quantity", - "annotation" : [ ] - }, - "high" : { - "value" : 10.0, - "unit" : "g", - "type" : "Quantity", - "annotation" : [ ] - } - }, { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "value" : 11.0, - "unit" : "g", - "type" : "Quantity", - "annotation" : [ ] - }, - "high" : { - "value" : 20.0, - "unit" : "g", - "type" : "Quantity", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "false", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "QuantityIntervalPointAfterTrue", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "After", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "type" : "If", - "annotation" : [ ], - "condition" : { - "type" : "IsNull", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "value" : 12.0, - "unit" : "g", - "type" : "Quantity", - "annotation" : [ ] - } - }, - "then" : { - "type" : "Null", - "annotation" : [ ] - }, - "else" : { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "value" : 12.0, - "unit" : "g", - "type" : "Quantity", - "annotation" : [ ] - }, - "high" : { - "value" : 12.0, - "unit" : "g", - "type" : "Quantity", - "annotation" : [ ] - } - } - }, { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "value" : 1.0, - "unit" : "g", - "type" : "Quantity", - "annotation" : [ ] - }, - "high" : { - "value" : 10.0, - "unit" : "g", - "type" : "Quantity", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "true", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "QuantityIntervalPointAfterFalse", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "After", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "type" : "If", - "annotation" : [ ], - "condition" : { - "type" : "IsNull", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "value" : 9.0, - "unit" : "g", - "type" : "Quantity", - "annotation" : [ ] - } - }, - "then" : { - "type" : "Null", - "annotation" : [ ] - }, - "else" : { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "value" : 9.0, - "unit" : "g", - "type" : "Quantity", - "annotation" : [ ] - }, - "high" : { - "value" : 9.0, - "unit" : "g", - "type" : "Quantity", - "annotation" : [ ] - } - } - }, { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "value" : 1.0, - "unit" : "g", - "type" : "Quantity", - "annotation" : [ ] - }, - "high" : { - "value" : 10.0, - "unit" : "g", - "type" : "Quantity", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "false", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "QuantityIntervalAfterPointTrue", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "After", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "value" : 11.0, - "unit" : "g", - "type" : "Quantity", - "annotation" : [ ] - }, - "high" : { - "value" : 20.0, - "unit" : "g", - "type" : "Quantity", - "annotation" : [ ] - } - }, { - "type" : "If", - "annotation" : [ ], - "condition" : { - "type" : "IsNull", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "value" : 5.0, - "unit" : "g", - "type" : "Quantity", - "annotation" : [ ] - } - }, - "then" : { - "type" : "Null", - "annotation" : [ ] - }, - "else" : { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "value" : 5.0, - "unit" : "g", - "type" : "Quantity", - "annotation" : [ ] - }, - "high" : { - "value" : 5.0, - "unit" : "g", - "type" : "Quantity", - "annotation" : [ ] - } - } - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "true", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "QuantityIntervalAfterPointFalse", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "After", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "value" : 11.0, - "unit" : "g", - "type" : "Quantity", - "annotation" : [ ] - }, - "high" : { - "value" : 20.0, - "unit" : "g", - "type" : "Quantity", - "annotation" : [ ] - } - }, { - "type" : "If", - "annotation" : [ ], - "condition" : { - "type" : "IsNull", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "value" : 12.0, - "unit" : "g", - "type" : "Quantity", - "annotation" : [ ] - } - }, - "then" : { - "type" : "Null", - "annotation" : [ ] - }, - "else" : { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "value" : 12.0, - "unit" : "g", - "type" : "Quantity", - "annotation" : [ ] - }, - "high" : { - "value" : 12.0, - "unit" : "g", - "type" : "Quantity", - "annotation" : [ ] - } - } - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "false", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "DateTimeAfterTrue", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "After", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - } - }, - "high" : { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal", - "annotation" : [ ] - } - } - }, { - "type" : "If", - "annotation" : [ ], - "condition" : { - "type" : "IsNull", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2011", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "12", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "31", - "type" : "Literal", - "annotation" : [ ] - } - } - }, - "then" : { - "type" : "Null", - "annotation" : [ ] - }, - "else" : { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2011", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "12", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "31", - "type" : "Literal", - "annotation" : [ ] - } - }, - "high" : { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2011", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "12", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "31", - "type" : "Literal", - "annotation" : [ ] - } - } - } - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "true", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "DateTimeAfterFalse", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "After", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - } - }, - "high" : { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal", - "annotation" : [ ] - } - } - }, { - "type" : "If", - "annotation" : [ ], - "condition" : { - "type" : "IsNull", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "12", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "31", - "type" : "Literal", - "annotation" : [ ] - } - } - }, - "then" : { - "type" : "Null", - "annotation" : [ ] - }, - "else" : { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "12", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "31", - "type" : "Literal", - "annotation" : [ ] - } - }, - "high" : { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "12", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "31", - "type" : "Literal", - "annotation" : [ ] - } - } - } - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "false", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "TimeAfterTrue", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "After", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "type" : "Time", - "annotation" : [ ], - "signature" : [ ], - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "999", - "type" : "Literal", - "annotation" : [ ] - } - }, - "high" : { - "type" : "Time", - "annotation" : [ ], - "signature" : [ ], - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "20", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "999", - "type" : "Literal", - "annotation" : [ ] - } - } - }, { - "type" : "If", - "annotation" : [ ], - "condition" : { - "type" : "IsNull", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "type" : "Time", - "annotation" : [ ], - "signature" : [ ], - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "12", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "999", - "type" : "Literal", - "annotation" : [ ] - } - } - }, - "then" : { - "type" : "Null", - "annotation" : [ ] - }, - "else" : { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "type" : "Time", - "annotation" : [ ], - "signature" : [ ], - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "12", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "999", - "type" : "Literal", - "annotation" : [ ] - } - }, - "high" : { - "type" : "Time", - "annotation" : [ ], - "signature" : [ ], - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "12", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "999", - "type" : "Literal", - "annotation" : [ ] - } - } - } - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "true", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "TimeAfterFalse", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "After", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "type" : "Time", - "annotation" : [ ], - "signature" : [ ], - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "999", - "type" : "Literal", - "annotation" : [ ] - } - }, - "high" : { - "type" : "Time", - "annotation" : [ ], - "signature" : [ ], - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "20", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "999", - "type" : "Literal", - "annotation" : [ ] - } - } - }, { - "type" : "If", - "annotation" : [ ], - "condition" : { - "type" : "IsNull", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "type" : "Time", - "annotation" : [ ], - "signature" : [ ], - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "17", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "999", - "type" : "Literal", - "annotation" : [ ] - } - } - }, - "then" : { - "type" : "Null", - "annotation" : [ ] - }, - "else" : { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "type" : "Time", - "annotation" : [ ], - "signature" : [ ], - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "17", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "999", - "type" : "Literal", - "annotation" : [ ] - } - }, - "high" : { - "type" : "Time", - "annotation" : [ ], - "signature" : [ ], - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "17", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "999", - "type" : "Literal", - "annotation" : [ ] - } - } - } - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "false", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - } ] - } - }, { - "name" : "Before", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ ], - "expression" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "TestBeforeNull", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Before", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "type" : "If", - "annotation" : [ ], - "condition" : { - "type" : "IsNull", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "strict" : false, - "type" : "As", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "type" : "Null", - "annotation" : [ ] - }, - "asTypeSpecifier" : { - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier", - "annotation" : [ ] - } - } - }, - "then" : { - "type" : "Null", - "annotation" : [ ] - }, - "else" : { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "strict" : false, - "type" : "As", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "type" : "Null", - "annotation" : [ ] - }, - "asTypeSpecifier" : { - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier", - "annotation" : [ ] - } - }, - "high" : { - "strict" : false, - "type" : "As", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "type" : "Null", - "annotation" : [ ] - }, - "asTypeSpecifier" : { - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier", - "annotation" : [ ] - } - } - } - }, { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - }, - "high" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "output", - "value" : { - "type" : "Null", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "IntegerIntervalBeforeFalse", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Before", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "11", - "type" : "Literal", - "annotation" : [ ] - }, - "high" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "20", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - }, - "high" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "false", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "IntegerIntervalBeforeTrue", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Before", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - }, - "high" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "11", - "type" : "Literal", - "annotation" : [ ] - }, - "high" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "20", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "true", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "IntegerIntervalPointBeforeTrue", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Before", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "type" : "If", - "annotation" : [ ], - "condition" : { - "type" : "IsNull", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "9", - "type" : "Literal", - "annotation" : [ ] - } - }, - "then" : { - "type" : "Null", - "annotation" : [ ] - }, - "else" : { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "9", - "type" : "Literal", - "annotation" : [ ] - }, - "high" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "9", - "type" : "Literal", - "annotation" : [ ] - } - } - }, { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "11", - "type" : "Literal", - "annotation" : [ ] - }, - "high" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "20", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "true", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "IntegerIntervalPointBeforeFalse", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Before", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "type" : "If", - "annotation" : [ ], - "condition" : { - "type" : "IsNull", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "9", - "type" : "Literal", - "annotation" : [ ] - } - }, - "then" : { - "type" : "Null", - "annotation" : [ ] - }, - "else" : { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "9", - "type" : "Literal", - "annotation" : [ ] - }, - "high" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "9", - "type" : "Literal", - "annotation" : [ ] - } - } - }, { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - }, - "high" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "false", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "IntegerIntervalBeforePointTrue", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Before", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - }, - "high" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "type" : "If", - "annotation" : [ ], - "condition" : { - "type" : "IsNull", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "11", - "type" : "Literal", - "annotation" : [ ] - } - }, - "then" : { - "type" : "Null", - "annotation" : [ ] - }, - "else" : { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "11", - "type" : "Literal", - "annotation" : [ ] - }, - "high" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "11", - "type" : "Literal", - "annotation" : [ ] - } - } - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "true", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "IntegerIntervalBeforePointFalse", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Before", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - }, - "high" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "type" : "If", - "annotation" : [ ], - "condition" : { - "type" : "IsNull", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "8", - "type" : "Literal", - "annotation" : [ ] - } - }, - "then" : { - "type" : "Null", - "annotation" : [ ] - }, - "else" : { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "8", - "type" : "Literal", - "annotation" : [ ] - }, - "high" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "8", - "type" : "Literal", - "annotation" : [ ] - } - } - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "false", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "DecimalIntervalBeforeFalse", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Before", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "11.0", - "type" : "Literal", - "annotation" : [ ] - }, - "high" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "20.0", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "1.0", - "type" : "Literal", - "annotation" : [ ] - }, - "high" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "10.0", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "false", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "DecimalIntervalBeforeTrue", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Before", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "1.0", - "type" : "Literal", - "annotation" : [ ] - }, - "high" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "10.0", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "11.0", - "type" : "Literal", - "annotation" : [ ] - }, - "high" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "20.0", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "true", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "DecimalIntervalPointBeforeTrue", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Before", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "type" : "If", - "annotation" : [ ], - "condition" : { - "type" : "IsNull", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "9.0", - "type" : "Literal", - "annotation" : [ ] - } - }, - "then" : { - "type" : "Null", - "annotation" : [ ] - }, - "else" : { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "9.0", - "type" : "Literal", - "annotation" : [ ] - }, - "high" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "9.0", - "type" : "Literal", - "annotation" : [ ] - } - } - }, { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "11.0", - "type" : "Literal", - "annotation" : [ ] - }, - "high" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "20.0", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "true", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "DecimalIntervalPointBeforeFalse", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Before", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "type" : "If", - "annotation" : [ ], - "condition" : { - "type" : "IsNull", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "9.0", - "type" : "Literal", - "annotation" : [ ] - } - }, - "then" : { - "type" : "Null", - "annotation" : [ ] - }, - "else" : { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "9.0", - "type" : "Literal", - "annotation" : [ ] - }, - "high" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "9.0", - "type" : "Literal", - "annotation" : [ ] - } - } - }, { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "1.0", - "type" : "Literal", - "annotation" : [ ] - }, - "high" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "10.0", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "false", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "DecimalIntervalBeforePointTrue", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Before", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "1.0", - "type" : "Literal", - "annotation" : [ ] - }, - "high" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "10.0", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "type" : "If", - "annotation" : [ ], - "condition" : { - "type" : "IsNull", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "11.0", - "type" : "Literal", - "annotation" : [ ] - } - }, - "then" : { - "type" : "Null", - "annotation" : [ ] - }, - "else" : { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "11.0", - "type" : "Literal", - "annotation" : [ ] - }, - "high" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "11.0", - "type" : "Literal", - "annotation" : [ ] - } - } - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "true", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "DecimalIntervalBeforePointFalse", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Before", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "1.0", - "type" : "Literal", - "annotation" : [ ] - }, - "high" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "10.0", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "type" : "If", - "annotation" : [ ], - "condition" : { - "type" : "IsNull", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "8.0", - "type" : "Literal", - "annotation" : [ ] - } - }, - "then" : { - "type" : "Null", - "annotation" : [ ] - }, - "else" : { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "8.0", - "type" : "Literal", - "annotation" : [ ] - }, - "high" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "8.0", - "type" : "Literal", - "annotation" : [ ] - } - } - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "false", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "QuantityIntervalBeforeTrue", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Before", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "value" : 1.0, - "unit" : "g", - "type" : "Quantity", - "annotation" : [ ] - }, - "high" : { - "value" : 10.0, - "unit" : "g", - "type" : "Quantity", - "annotation" : [ ] - } - }, { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "value" : 11.0, - "unit" : "g", - "type" : "Quantity", - "annotation" : [ ] - }, - "high" : { - "value" : 20.0, - "unit" : "g", - "type" : "Quantity", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "true", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "QuantityIntervalBeforeFalse", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Before", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "value" : 11.0, - "unit" : "g", - "type" : "Quantity", - "annotation" : [ ] - }, - "high" : { - "value" : 20.0, - "unit" : "g", - "type" : "Quantity", - "annotation" : [ ] - } - }, { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "value" : 1.0, - "unit" : "g", - "type" : "Quantity", - "annotation" : [ ] - }, - "high" : { - "value" : 10.0, - "unit" : "g", - "type" : "Quantity", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "false", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "QuantityIntervalPointBeforeTrue", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Before", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "value" : 1.0, - "unit" : "g", - "type" : "Quantity", - "annotation" : [ ] - }, - "high" : { - "value" : 10.0, - "unit" : "g", - "type" : "Quantity", - "annotation" : [ ] - } - }, { - "type" : "If", - "annotation" : [ ], - "condition" : { - "type" : "IsNull", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "value" : 12.0, - "unit" : "g", - "type" : "Quantity", - "annotation" : [ ] - } - }, - "then" : { - "type" : "Null", - "annotation" : [ ] - }, - "else" : { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "value" : 12.0, - "unit" : "g", - "type" : "Quantity", - "annotation" : [ ] - }, - "high" : { - "value" : 12.0, - "unit" : "g", - "type" : "Quantity", - "annotation" : [ ] - } - } - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "true", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "QuantityIntervalPointBeforeFalse", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Before", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "value" : 1.0, - "unit" : "g", - "type" : "Quantity", - "annotation" : [ ] - }, - "high" : { - "value" : 10.0, - "unit" : "g", - "type" : "Quantity", - "annotation" : [ ] - } - }, { - "type" : "If", - "annotation" : [ ], - "condition" : { - "type" : "IsNull", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "value" : 9.0, - "unit" : "g", - "type" : "Quantity", - "annotation" : [ ] - } - }, - "then" : { - "type" : "Null", - "annotation" : [ ] - }, - "else" : { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "value" : 9.0, - "unit" : "g", - "type" : "Quantity", - "annotation" : [ ] - }, - "high" : { - "value" : 9.0, - "unit" : "g", - "type" : "Quantity", - "annotation" : [ ] - } - } - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "false", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "QuantityIntervalBeforePointTrue", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Before", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "type" : "If", - "annotation" : [ ], - "condition" : { - "type" : "IsNull", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "value" : 5.0, - "unit" : "g", - "type" : "Quantity", - "annotation" : [ ] - } - }, - "then" : { - "type" : "Null", - "annotation" : [ ] - }, - "else" : { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "value" : 5.0, - "unit" : "g", - "type" : "Quantity", - "annotation" : [ ] - }, - "high" : { - "value" : 5.0, - "unit" : "g", - "type" : "Quantity", - "annotation" : [ ] - } - } - }, { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "value" : 11.0, - "unit" : "g", - "type" : "Quantity", - "annotation" : [ ] - }, - "high" : { - "value" : 20.0, - "unit" : "g", - "type" : "Quantity", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "true", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "QuantityIntervalBeforePointFalse", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Before", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "type" : "If", - "annotation" : [ ], - "condition" : { - "type" : "IsNull", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "value" : 12.0, - "unit" : "g", - "type" : "Quantity", - "annotation" : [ ] - } - }, - "then" : { - "type" : "Null", - "annotation" : [ ] - }, - "else" : { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "value" : 12.0, - "unit" : "g", - "type" : "Quantity", - "annotation" : [ ] - }, - "high" : { - "value" : 12.0, - "unit" : "g", - "type" : "Quantity", - "annotation" : [ ] - } - } - }, { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "value" : 11.0, - "unit" : "g", - "type" : "Quantity", - "annotation" : [ ] - }, - "high" : { - "value" : 20.0, - "unit" : "g", - "type" : "Quantity", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "false", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "DateTimeBeforeTrue", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Before", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - } - }, - "high" : { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal", - "annotation" : [ ] - } - } - }, { - "type" : "If", - "annotation" : [ ], - "condition" : { - "type" : "IsNull", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "27", - "type" : "Literal", - "annotation" : [ ] - } - } - }, - "then" : { - "type" : "Null", - "annotation" : [ ] - }, - "else" : { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "27", - "type" : "Literal", - "annotation" : [ ] - } - }, - "high" : { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "27", - "type" : "Literal", - "annotation" : [ ] - } - } - } - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "true", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "DateTimeBeforeFalse", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Before", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - } - }, - "high" : { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal", - "annotation" : [ ] - } - } - }, { - "type" : "If", - "annotation" : [ ], - "condition" : { - "type" : "IsNull", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2011", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "12", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "31", - "type" : "Literal", - "annotation" : [ ] - } - } - }, - "then" : { - "type" : "Null", - "annotation" : [ ] - }, - "else" : { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2011", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "12", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "31", - "type" : "Literal", - "annotation" : [ ] - } - }, - "high" : { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2011", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "12", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "31", - "type" : "Literal", - "annotation" : [ ] - } - } - } - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "false", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "TimeBeforeTrue", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Before", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "type" : "Time", - "annotation" : [ ], - "signature" : [ ], - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "999", - "type" : "Literal", - "annotation" : [ ] - } - }, - "high" : { - "type" : "Time", - "annotation" : [ ], - "signature" : [ ], - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "20", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "999", - "type" : "Literal", - "annotation" : [ ] - } - } - }, { - "type" : "If", - "annotation" : [ ], - "condition" : { - "type" : "IsNull", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "type" : "Time", - "annotation" : [ ], - "signature" : [ ], - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "22", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "999", - "type" : "Literal", - "annotation" : [ ] - } - } - }, - "then" : { - "type" : "Null", - "annotation" : [ ] - }, - "else" : { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "type" : "Time", - "annotation" : [ ], - "signature" : [ ], - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "22", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "999", - "type" : "Literal", - "annotation" : [ ] - } - }, - "high" : { - "type" : "Time", - "annotation" : [ ], - "signature" : [ ], - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "22", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "999", - "type" : "Literal", - "annotation" : [ ] - } - } - } - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "true", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "TimeBeforeFalse", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Before", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "type" : "Time", - "annotation" : [ ], - "signature" : [ ], - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "999", - "type" : "Literal", - "annotation" : [ ] - } - }, - "high" : { - "type" : "Time", - "annotation" : [ ], - "signature" : [ ], - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "20", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "999", - "type" : "Literal", - "annotation" : [ ] - } - } - }, { - "type" : "If", - "annotation" : [ ], - "condition" : { - "type" : "IsNull", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "type" : "Time", - "annotation" : [ ], - "signature" : [ ], - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "999", - "type" : "Literal", - "annotation" : [ ] - } - } - }, - "then" : { - "type" : "Null", - "annotation" : [ ] - }, - "else" : { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "type" : "Time", - "annotation" : [ ], - "signature" : [ ], - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "999", - "type" : "Literal", - "annotation" : [ ] - } - }, - "high" : { - "type" : "Time", - "annotation" : [ ], - "signature" : [ ], - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "999", - "type" : "Literal", - "annotation" : [ ] - } - } - } - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "false", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - } ] + "library": { + "annotation": [ + { + "type": "CqlToElmInfo", + "translatorVersion": "4.2.0", + "translatorOptions": "", + "signatureLevel": "None" + } + ], + "identifier": { + "id": "CqlIntervalOperatorsTest", + "version": "1.4.0" + }, + "schemaIdentifier": { + "id": "urn:hl7-org:elm", + "version": "r1" + }, + "usings": { + "def": [ + { + "localIdentifier": "System", + "uri": "urn:hl7-org:elm-types:r1", + "annotation": [] + }, + { + "localIdentifier": "QUICK", + "uri": "http://hl7.org/fhir/us/qicore", + "version": "3.3.0", + "annotation": [] + } + ] + }, + "contexts": { + "def": [ + { + "name": "Patient", + "annotation": [] + } + ] + }, + "statements": { + "def": [ + { + "name": "Patient", + "context": "Patient", + "annotation": [], + "expression": { + "type": "SingletonFrom", + "annotation": [], + "signature": [], + "operand": { + "type": "Retrieve", + "dataType": "{http://hl7.org/fhir/us/qicore}Patient", + "templateId": "http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-patient", + "annotation": [], + "include": [], + "codeFilter": [], + "dateFilter": [], + "otherFilter": [] } - }, { - "name" : "Collapse", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ ], - "expression" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "TestCollapseNull", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "skipped", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "Wrong answer (Interval(null, null) vs null)", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "IntegerIntervalCollapse", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Collapse", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "type" : "List", - "annotation" : [ ], - "element" : [ { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - }, - "high" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal", - "annotation" : [ ] - }, - "high" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "7", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "12", - "type" : "Literal", - "annotation" : [ ] - }, - "high" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "19", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "7", - "type" : "Literal", - "annotation" : [ ] - }, - "high" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - } - } ] - }, { - "type" : "Null", - "annotation" : [ ] - } ] - } - }, { - "name" : "output", - "value" : { - "type" : "List", - "annotation" : [ ], - "element" : [ { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - }, - "high" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "12", - "type" : "Literal", - "annotation" : [ ] - }, - "high" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "19", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - } ] - } - }, { - "name" : "IntegerIntervalCollapse2", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Collapse", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "type" : "List", - "annotation" : [ ], - "element" : [ { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - }, - "high" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal", - "annotation" : [ ] - }, - "high" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "7", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - }, - "high" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "19", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "7", - "type" : "Literal", - "annotation" : [ ] - }, - "high" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - } - } ] - }, { - "type" : "Null", - "annotation" : [ ] - } ] - } - }, { - "name" : "output", - "value" : { - "type" : "List", - "annotation" : [ ], - "element" : [ { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - }, - "high" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "19", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - } ] - } - }, { - "name" : "IntegerIntervalCollapse3", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Collapse", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "type" : "List", - "annotation" : [ ], - "element" : [ { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "4", - "type" : "Literal", - "annotation" : [ ] - }, - "high" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "6", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "7", - "type" : "Literal", - "annotation" : [ ] - }, - "high" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "8", - "type" : "Literal", - "annotation" : [ ] - } - } ] - }, { - "type" : "Null", - "annotation" : [ ] - } ] - } - }, { - "name" : "output", - "value" : { - "type" : "List", - "annotation" : [ ], - "element" : [ { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "4", - "type" : "Literal", - "annotation" : [ ] - }, - "high" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "8", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - } ] - } - }, { - "name" : "DecimalIntervalCollapse", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Collapse", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "type" : "List", - "annotation" : [ ], - "element" : [ { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "1.0", - "type" : "Literal", - "annotation" : [ ] - }, - "high" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "5.0", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "3.0", - "type" : "Literal", - "annotation" : [ ] - }, - "high" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "7.0", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "12.0", - "type" : "Literal", - "annotation" : [ ] - }, - "high" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "19.0", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "7.0", - "type" : "Literal", - "annotation" : [ ] - }, - "high" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "10.0", - "type" : "Literal", - "annotation" : [ ] - } - } ] - }, { - "type" : "Null", - "annotation" : [ ] - } ] - } - }, { - "name" : "output", - "value" : { - "type" : "List", - "annotation" : [ ], - "element" : [ { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "1.0", - "type" : "Literal", - "annotation" : [ ] - }, - "high" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "10.0", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "12.0", - "type" : "Literal", - "annotation" : [ ] - }, - "high" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "19.0", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - } ] - } - }, { - "name" : "DecimalIntervalCollapse2", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Collapse", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "type" : "List", - "annotation" : [ ], - "element" : [ { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "4.0", - "type" : "Literal", - "annotation" : [ ] - }, - "high" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "6.0", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "6.00000001", - "type" : "Literal", - "annotation" : [ ] - }, - "high" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "8.0", - "type" : "Literal", - "annotation" : [ ] - } - } ] - }, { - "type" : "Null", - "annotation" : [ ] - } ] - } - }, { - "name" : "output", - "value" : { - "type" : "List", - "annotation" : [ ], - "element" : [ { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "4.0", - "type" : "Literal", - "annotation" : [ ] - }, - "high" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "8.0", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - } ] - } - }, { - "name" : "QuantityIntervalCollapse", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Collapse", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "type" : "List", - "annotation" : [ ], - "element" : [ { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "value" : 1.0, - "unit" : "g", - "type" : "Quantity", - "annotation" : [ ] - }, - "high" : { - "value" : 5.0, - "unit" : "g", - "type" : "Quantity", - "annotation" : [ ] - } - }, { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "value" : 3.0, - "unit" : "g", - "type" : "Quantity", - "annotation" : [ ] - }, - "high" : { - "value" : 7.0, - "unit" : "g", - "type" : "Quantity", - "annotation" : [ ] - } - }, { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "value" : 12.0, - "unit" : "g", - "type" : "Quantity", - "annotation" : [ ] - }, - "high" : { - "value" : 19.0, - "unit" : "g", - "type" : "Quantity", - "annotation" : [ ] - } - }, { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "value" : 7.0, - "unit" : "g", - "type" : "Quantity", - "annotation" : [ ] - }, - "high" : { - "value" : 10.0, - "unit" : "g", - "type" : "Quantity", - "annotation" : [ ] - } - } ] - }, { - "type" : "Null", - "annotation" : [ ] - } ] - } - }, { - "name" : "output", - "value" : { - "type" : "List", - "annotation" : [ ], - "element" : [ { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "value" : 1.0, - "unit" : "g", - "type" : "Quantity", - "annotation" : [ ] - }, - "high" : { - "value" : 10.0, - "unit" : "g", - "type" : "Quantity", - "annotation" : [ ] - } - }, { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "value" : 12.0, - "unit" : "g", - "type" : "Quantity", - "annotation" : [ ] - }, - "high" : { - "value" : 19.0, - "unit" : "g", - "type" : "Quantity", - "annotation" : [ ] - } - } ] - } - } ] - } - }, { - "name" : "DateTimeCollapse", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Collapse", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "type" : "List", - "annotation" : [ ], - "element" : [ { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - } - }, - "high" : { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] + } + }, + { + "name": "After", + "context": "Patient", + "accessLevel": "Public", + "annotation": [], + "expression": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "TestAfterNull", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "After", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "If", + "annotation": [], + "condition": { + "type": "IsNull", + "annotation": [], + "signature": [], + "operand": { + "type": "As", + "strict": false, + "annotation": [], + "signature": [], + "operand": { + "type": "Null", + "annotation": [] + }, + "asTypeSpecifier": { + "type": "NamedTypeSpecifier", + "name": "{urn:hl7-org:elm-types:r1}Integer", + "annotation": [] + } + } + }, + "then": { + "type": "Null", + "annotation": [] + }, + "else": { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "As", + "strict": false, + "annotation": [], + "signature": [], + "operand": { + "type": "Null", + "annotation": [] + }, + "asTypeSpecifier": { + "type": "NamedTypeSpecifier", + "name": "{urn:hl7-org:elm-types:r1}Integer", + "annotation": [] + } + }, + "high": { + "type": "As", + "strict": false, + "annotation": [], + "signature": [], + "operand": { + "type": "Null", + "annotation": [] + }, + "asTypeSpecifier": { + "type": "NamedTypeSpecifier", + "name": "{urn:hl7-org:elm-types:r1}Integer", + "annotation": [] + } + } + } + }, + { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + }, + "high": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + } + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Null", + "annotation": [] + } + } + ] + } + }, + { + "name": "IntegerIntervalAfterTrue", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "After", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "11", + "annotation": [] + }, + "high": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "20", + "annotation": [] + } + }, + { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + }, + "high": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + } + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "true", + "annotation": [] + } + } + ] + } + }, + { + "name": "IntegerIntervalAfterFalse", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "After", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + }, + "high": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + } + }, + { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "11", + "annotation": [] + }, + "high": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "20", + "annotation": [] + } + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "false", + "annotation": [] + } + } + ] + } + }, + { + "name": "IntegerIntervalPointAfterTrue", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "After", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "If", + "annotation": [], + "condition": { + "type": "IsNull", + "annotation": [], + "signature": [], + "operand": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "12", + "annotation": [] + } + }, + "then": { + "type": "Null", + "annotation": [] + }, + "else": { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "12", + "annotation": [] + }, + "high": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "12", + "annotation": [] + } + } + }, + { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + }, + "high": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + } + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "true", + "annotation": [] + } + } + ] + } + }, + { + "name": "IntegerIntervalPointAfterFalse", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "After", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "If", + "annotation": [], + "condition": { + "type": "IsNull", + "annotation": [], + "signature": [], + "operand": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "9", + "annotation": [] + } + }, + "then": { + "type": "Null", + "annotation": [] + }, + "else": { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "9", + "annotation": [] + }, + "high": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "9", + "annotation": [] + } + } + }, + { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + }, + "high": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + } + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "false", + "annotation": [] + } + } + ] + } + }, + { + "name": "IntegerIntervalAfterPointTrue", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "After", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "11", + "annotation": [] + }, + "high": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "20", + "annotation": [] + } + }, + { + "type": "If", + "annotation": [], + "condition": { + "type": "IsNull", + "annotation": [], + "signature": [], + "operand": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "5", + "annotation": [] + } + }, + "then": { + "type": "Null", + "annotation": [] + }, + "else": { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "5", + "annotation": [] + }, + "high": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "5", + "annotation": [] + } + } + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "true", + "annotation": [] + } + } + ] + } + }, + { + "name": "IntegerIntervalAfterPointFalse", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "After", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "11", + "annotation": [] + }, + "high": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "20", + "annotation": [] + } + }, + { + "type": "If", + "annotation": [], + "condition": { + "type": "IsNull", + "annotation": [], + "signature": [], + "operand": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "12", + "annotation": [] + } + }, + "then": { + "type": "Null", + "annotation": [] + }, + "else": { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "12", + "annotation": [] + }, + "high": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "12", + "annotation": [] + } + } + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "false", + "annotation": [] + } + } + ] + } + }, + { + "name": "DecimalIntervalAfterTrue", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "After", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "11.0", + "annotation": [] + }, + "high": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "20.0", + "annotation": [] + } + }, + { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "1.0", + "annotation": [] + }, + "high": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "10.0", + "annotation": [] + } + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "true", + "annotation": [] + } + } + ] + } + }, + { + "name": "DecimalIntervalAfterFalse", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "After", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "1.0", + "annotation": [] + }, + "high": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "10.0", + "annotation": [] + } + }, + { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "11.0", + "annotation": [] + }, + "high": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "20.0", + "annotation": [] + } + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "false", + "annotation": [] + } + } + ] + } + }, + { + "name": "DecimalIntervalPointAfterTrue", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "After", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "If", + "annotation": [], + "condition": { + "type": "IsNull", + "annotation": [], + "signature": [], + "operand": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "12.0", + "annotation": [] + } + }, + "then": { + "type": "Null", + "annotation": [] + }, + "else": { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "12.0", + "annotation": [] + }, + "high": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "12.0", + "annotation": [] + } + } + }, + { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "1.0", + "annotation": [] + }, + "high": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "10.0", + "annotation": [] + } + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "true", + "annotation": [] + } + } + ] + } + }, + { + "name": "DecimalIntervalPointAfterFalse", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "After", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "If", + "annotation": [], + "condition": { + "type": "IsNull", + "annotation": [], + "signature": [], + "operand": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "9.0", + "annotation": [] + } + }, + "then": { + "type": "Null", + "annotation": [] + }, + "else": { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "9.0", + "annotation": [] + }, + "high": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "9.0", + "annotation": [] + } + } + }, + { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "1.0", + "annotation": [] + }, + "high": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "10.0", + "annotation": [] + } + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "false", + "annotation": [] + } + } + ] + } + }, + { + "name": "DecimalIntervalAfterPointTrue", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "After", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "11.0", + "annotation": [] + }, + "high": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "20.0", + "annotation": [] + } + }, + { + "type": "If", + "annotation": [], + "condition": { + "type": "IsNull", + "annotation": [], + "signature": [], + "operand": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "5.0", + "annotation": [] + } + }, + "then": { + "type": "Null", + "annotation": [] + }, + "else": { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "5.0", + "annotation": [] + }, + "high": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "5.0", + "annotation": [] + } + } + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "true", + "annotation": [] + } + } + ] + } + }, + { + "name": "DecimalIntervalAfterPointFalse", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "After", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "11.0", + "annotation": [] + }, + "high": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "20.0", + "annotation": [] + } + }, + { + "type": "If", + "annotation": [], + "condition": { + "type": "IsNull", + "annotation": [], + "signature": [], + "operand": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "12.0", + "annotation": [] + } + }, + "then": { + "type": "Null", + "annotation": [] + }, + "else": { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "12.0", + "annotation": [] + }, + "high": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "12.0", + "annotation": [] + } + } + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "false", + "annotation": [] + } + } + ] + } + }, + { + "name": "QuantityIntervalAfterTrue", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "After", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "Quantity", + "value": 11, + "unit": "g", + "annotation": [] + }, + "high": { + "type": "Quantity", + "value": 20, + "unit": "g", + "annotation": [] + } + }, + { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "Quantity", + "value": 1, + "unit": "g", + "annotation": [] + }, + "high": { + "type": "Quantity", + "value": 10, + "unit": "g", + "annotation": [] + } + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "true", + "annotation": [] + } + } + ] + } + }, + { + "name": "QuantityIntervalAfterFalse", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "After", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "Quantity", + "value": 1, + "unit": "g", + "annotation": [] + }, + "high": { + "type": "Quantity", + "value": 10, + "unit": "g", + "annotation": [] + } + }, + { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "Quantity", + "value": 11, + "unit": "g", + "annotation": [] + }, + "high": { + "type": "Quantity", + "value": 20, + "unit": "g", + "annotation": [] + } + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "false", + "annotation": [] + } + } + ] + } + }, + { + "name": "QuantityIntervalPointAfterTrue", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "After", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "If", + "annotation": [], + "condition": { + "type": "IsNull", + "annotation": [], + "signature": [], + "operand": { + "type": "Quantity", + "value": 12, + "unit": "g", + "annotation": [] + } + }, + "then": { + "type": "Null", + "annotation": [] + }, + "else": { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "Quantity", + "value": 12, + "unit": "g", + "annotation": [] + }, + "high": { + "type": "Quantity", + "value": 12, + "unit": "g", + "annotation": [] + } + } + }, + { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "Quantity", + "value": 1, + "unit": "g", + "annotation": [] + }, + "high": { + "type": "Quantity", + "value": 10, + "unit": "g", + "annotation": [] + } + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "true", + "annotation": [] + } + } + ] + } + }, + { + "name": "QuantityIntervalPointAfterFalse", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "After", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "If", + "annotation": [], + "condition": { + "type": "IsNull", + "annotation": [], + "signature": [], + "operand": { + "type": "Quantity", + "value": 9, + "unit": "g", + "annotation": [] + } + }, + "then": { + "type": "Null", + "annotation": [] + }, + "else": { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "Quantity", + "value": 9, + "unit": "g", + "annotation": [] + }, + "high": { + "type": "Quantity", + "value": 9, + "unit": "g", + "annotation": [] + } + } + }, + { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "Quantity", + "value": 1, + "unit": "g", + "annotation": [] + }, + "high": { + "type": "Quantity", + "value": 10, + "unit": "g", + "annotation": [] + } + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "false", + "annotation": [] + } + } + ] + } + }, + { + "name": "QuantityIntervalAfterPointTrue", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "After", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "Quantity", + "value": 11, + "unit": "g", + "annotation": [] + }, + "high": { + "type": "Quantity", + "value": 20, + "unit": "g", + "annotation": [] + } + }, + { + "type": "If", + "annotation": [], + "condition": { + "type": "IsNull", + "annotation": [], + "signature": [], + "operand": { + "type": "Quantity", + "value": 5, + "unit": "g", + "annotation": [] + } + }, + "then": { + "type": "Null", + "annotation": [] + }, + "else": { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "Quantity", + "value": 5, + "unit": "g", + "annotation": [] + }, + "high": { + "type": "Quantity", + "value": 5, + "unit": "g", + "annotation": [] + } + } + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "true", + "annotation": [] + } + } + ] + } + }, + { + "name": "QuantityIntervalAfterPointFalse", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "After", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "Quantity", + "value": 11, + "unit": "g", + "annotation": [] + }, + "high": { + "type": "Quantity", + "value": 20, + "unit": "g", + "annotation": [] + } + }, + { + "type": "If", + "annotation": [], + "condition": { + "type": "IsNull", + "annotation": [], + "signature": [], + "operand": { + "type": "Quantity", + "value": 12, + "unit": "g", + "annotation": [] + } + }, + "then": { + "type": "Null", + "annotation": [] + }, + "else": { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "Quantity", + "value": 12, + "unit": "g", + "annotation": [] + }, + "high": { + "type": "Quantity", + "value": 12, + "unit": "g", + "annotation": [] + } + } + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "false", + "annotation": [] + } + } + ] + } + }, + { + "name": "DateTimeAfterTrue", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "After", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2012", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + } + }, + "high": { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2012", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "15", + "annotation": [] + } + } + }, + { + "type": "If", + "annotation": [], + "condition": { + "type": "IsNull", + "annotation": [], + "signature": [], + "operand": { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2011", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "12", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "31", + "annotation": [] + } + } + }, + "then": { + "type": "Null", + "annotation": [] + }, + "else": { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2011", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "12", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "31", + "annotation": [] + } + }, + "high": { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2011", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "12", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "31", + "annotation": [] + } + } + } + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "true", + "annotation": [] + } + } + ] + } + }, + { + "name": "DateTimeAfterFalse", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "After", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2012", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + } + }, + "high": { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2012", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "15", + "annotation": [] + } + } + }, + { + "type": "If", + "annotation": [], + "condition": { + "type": "IsNull", + "annotation": [], + "signature": [], + "operand": { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2012", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "12", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "31", + "annotation": [] + } + } + }, + "then": { + "type": "Null", + "annotation": [] + }, + "else": { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2012", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "12", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "31", + "annotation": [] + } + }, + "high": { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2012", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "12", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "31", + "annotation": [] + } + } + } + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "false", + "annotation": [] + } + } + ] + } + }, + { + "name": "TimeAfterTrue", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "After", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "Time", + "annotation": [], + "signature": [], + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "15", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "999", + "annotation": [] + } + }, + "high": { + "type": "Time", + "annotation": [], + "signature": [], + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "20", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "999", + "annotation": [] + } + } + }, + { + "type": "If", + "annotation": [], + "condition": { + "type": "IsNull", + "annotation": [], + "signature": [], + "operand": { + "type": "Time", + "annotation": [], + "signature": [], + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "12", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "999", + "annotation": [] + } + } + }, + "then": { + "type": "Null", + "annotation": [] + }, + "else": { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "Time", + "annotation": [], + "signature": [], + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "12", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "999", + "annotation": [] + } + }, + "high": { + "type": "Time", + "annotation": [], + "signature": [], + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "12", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "999", + "annotation": [] + } + } + } + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "true", + "annotation": [] + } + } + ] + } + }, + { + "name": "TimeAfterFalse", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "After", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "Time", + "annotation": [], + "signature": [], + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "15", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "999", + "annotation": [] + } + }, + "high": { + "type": "Time", + "annotation": [], + "signature": [], + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "20", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "999", + "annotation": [] + } + } + }, + { + "type": "If", + "annotation": [], + "condition": { + "type": "IsNull", + "annotation": [], + "signature": [], + "operand": { + "type": "Time", + "annotation": [], + "signature": [], + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "17", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "999", + "annotation": [] + } + } + }, + "then": { + "type": "Null", + "annotation": [] + }, + "else": { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "Time", + "annotation": [], + "signature": [], + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "17", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "999", + "annotation": [] + } + }, + "high": { + "type": "Time", + "annotation": [], + "signature": [], + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "17", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "999", + "annotation": [] + } + } + } + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "false", + "annotation": [] + } + } + ] + } + } + ] + } + }, + { + "name": "Before", + "context": "Patient", + "accessLevel": "Public", + "annotation": [], + "expression": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "TestBeforeNull", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Before", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "If", + "annotation": [], + "condition": { + "type": "IsNull", + "annotation": [], + "signature": [], + "operand": { + "type": "As", + "strict": false, + "annotation": [], + "signature": [], + "operand": { + "type": "Null", + "annotation": [] + }, + "asTypeSpecifier": { + "type": "NamedTypeSpecifier", + "name": "{urn:hl7-org:elm-types:r1}Integer", + "annotation": [] + } + } + }, + "then": { + "type": "Null", + "annotation": [] + }, + "else": { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "As", + "strict": false, + "annotation": [], + "signature": [], + "operand": { + "type": "Null", + "annotation": [] + }, + "asTypeSpecifier": { + "type": "NamedTypeSpecifier", + "name": "{urn:hl7-org:elm-types:r1}Integer", + "annotation": [] + } + }, + "high": { + "type": "As", + "strict": false, + "annotation": [], + "signature": [], + "operand": { + "type": "Null", + "annotation": [] + }, + "asTypeSpecifier": { + "type": "NamedTypeSpecifier", + "name": "{urn:hl7-org:elm-types:r1}Integer", + "annotation": [] + } + } + } + }, + { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + }, + "high": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + } + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Null", + "annotation": [] + } + } + ] + } + }, + { + "name": "IntegerIntervalBeforeFalse", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Before", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "11", + "annotation": [] + }, + "high": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "20", + "annotation": [] + } + }, + { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + }, + "high": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + } + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "false", + "annotation": [] + } + } + ] + } + }, + { + "name": "IntegerIntervalBeforeTrue", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Before", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + }, + "high": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + } + }, + { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "11", + "annotation": [] + }, + "high": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "20", + "annotation": [] + } + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "true", + "annotation": [] + } + } + ] + } + }, + { + "name": "IntegerIntervalPointBeforeTrue", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Before", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "If", + "annotation": [], + "condition": { + "type": "IsNull", + "annotation": [], + "signature": [], + "operand": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "9", + "annotation": [] + } + }, + "then": { + "type": "Null", + "annotation": [] + }, + "else": { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "9", + "annotation": [] + }, + "high": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "9", + "annotation": [] + } + } + }, + { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "11", + "annotation": [] + }, + "high": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "20", + "annotation": [] + } + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "true", + "annotation": [] + } + } + ] + } + }, + { + "name": "IntegerIntervalPointBeforeFalse", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Before", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "If", + "annotation": [], + "condition": { + "type": "IsNull", + "annotation": [], + "signature": [], + "operand": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "9", + "annotation": [] + } + }, + "then": { + "type": "Null", + "annotation": [] + }, + "else": { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "9", + "annotation": [] + }, + "high": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "9", + "annotation": [] + } + } + }, + { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + }, + "high": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + } + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "false", + "annotation": [] + } + } + ] + } + }, + { + "name": "IntegerIntervalBeforePointTrue", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Before", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + }, + "high": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + } + }, + { + "type": "If", + "annotation": [], + "condition": { + "type": "IsNull", + "annotation": [], + "signature": [], + "operand": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "11", + "annotation": [] + } + }, + "then": { + "type": "Null", + "annotation": [] + }, + "else": { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "11", + "annotation": [] + }, + "high": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "11", + "annotation": [] + } + } + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "true", + "annotation": [] + } + } + ] + } + }, + { + "name": "IntegerIntervalBeforePointFalse", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Before", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + }, + "high": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + } + }, + { + "type": "If", + "annotation": [], + "condition": { + "type": "IsNull", + "annotation": [], + "signature": [], + "operand": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "8", + "annotation": [] + } + }, + "then": { + "type": "Null", + "annotation": [] + }, + "else": { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "8", + "annotation": [] + }, + "high": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "8", + "annotation": [] + } + } + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "false", + "annotation": [] + } + } + ] + } + }, + { + "name": "DecimalIntervalBeforeFalse", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Before", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "11.0", + "annotation": [] + }, + "high": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "20.0", + "annotation": [] + } + }, + { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "1.0", + "annotation": [] + }, + "high": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "10.0", + "annotation": [] + } + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "false", + "annotation": [] + } + } + ] + } + }, + { + "name": "DecimalIntervalBeforeTrue", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Before", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "1.0", + "annotation": [] + }, + "high": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "10.0", + "annotation": [] + } + }, + { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "11.0", + "annotation": [] + }, + "high": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "20.0", + "annotation": [] + } + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "true", + "annotation": [] + } + } + ] + } + }, + { + "name": "DecimalIntervalPointBeforeTrue", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Before", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "If", + "annotation": [], + "condition": { + "type": "IsNull", + "annotation": [], + "signature": [], + "operand": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "9.0", + "annotation": [] + } + }, + "then": { + "type": "Null", + "annotation": [] + }, + "else": { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "9.0", + "annotation": [] + }, + "high": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "9.0", + "annotation": [] + } + } + }, + { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "11.0", + "annotation": [] + }, + "high": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "20.0", + "annotation": [] + } + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "true", + "annotation": [] + } + } + ] + } + }, + { + "name": "DecimalIntervalPointBeforeFalse", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Before", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "If", + "annotation": [], + "condition": { + "type": "IsNull", + "annotation": [], + "signature": [], + "operand": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "9.0", + "annotation": [] + } + }, + "then": { + "type": "Null", + "annotation": [] + }, + "else": { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "9.0", + "annotation": [] + }, + "high": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "9.0", + "annotation": [] + } + } + }, + { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "1.0", + "annotation": [] + }, + "high": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "10.0", + "annotation": [] + } + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "false", + "annotation": [] + } + } + ] + } + }, + { + "name": "DecimalIntervalBeforePointTrue", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Before", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "1.0", + "annotation": [] + }, + "high": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "10.0", + "annotation": [] + } + }, + { + "type": "If", + "annotation": [], + "condition": { + "type": "IsNull", + "annotation": [], + "signature": [], + "operand": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "11.0", + "annotation": [] + } + }, + "then": { + "type": "Null", + "annotation": [] + }, + "else": { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "11.0", + "annotation": [] + }, + "high": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "11.0", + "annotation": [] + } + } + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "true", + "annotation": [] + } + } + ] + } + }, + { + "name": "DecimalIntervalBeforePointFalse", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Before", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "1.0", + "annotation": [] + }, + "high": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "10.0", + "annotation": [] + } + }, + { + "type": "If", + "annotation": [], + "condition": { + "type": "IsNull", + "annotation": [], + "signature": [], + "operand": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "8.0", + "annotation": [] + } + }, + "then": { + "type": "Null", + "annotation": [] + }, + "else": { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "8.0", + "annotation": [] + }, + "high": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "8.0", + "annotation": [] + } + } + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "false", + "annotation": [] + } + } + ] + } + }, + { + "name": "QuantityIntervalBeforeTrue", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Before", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "Quantity", + "value": 1, + "unit": "g", + "annotation": [] + }, + "high": { + "type": "Quantity", + "value": 10, + "unit": "g", + "annotation": [] + } + }, + { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "Quantity", + "value": 11, + "unit": "g", + "annotation": [] + }, + "high": { + "type": "Quantity", + "value": 20, + "unit": "g", + "annotation": [] + } + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "true", + "annotation": [] + } + } + ] + } + }, + { + "name": "QuantityIntervalBeforeFalse", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Before", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "Quantity", + "value": 11, + "unit": "g", + "annotation": [] + }, + "high": { + "type": "Quantity", + "value": 20, + "unit": "g", + "annotation": [] + } + }, + { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "Quantity", + "value": 1, + "unit": "g", + "annotation": [] + }, + "high": { + "type": "Quantity", + "value": 10, + "unit": "g", + "annotation": [] + } + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "false", + "annotation": [] + } + } + ] + } + }, + { + "name": "QuantityIntervalPointBeforeTrue", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Before", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "Quantity", + "value": 1, + "unit": "g", + "annotation": [] + }, + "high": { + "type": "Quantity", + "value": 10, + "unit": "g", + "annotation": [] + } + }, + { + "type": "If", + "annotation": [], + "condition": { + "type": "IsNull", + "annotation": [], + "signature": [], + "operand": { + "type": "Quantity", + "value": 12, + "unit": "g", + "annotation": [] + } + }, + "then": { + "type": "Null", + "annotation": [] + }, + "else": { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "Quantity", + "value": 12, + "unit": "g", + "annotation": [] + }, + "high": { + "type": "Quantity", + "value": 12, + "unit": "g", + "annotation": [] + } + } + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "true", + "annotation": [] + } + } + ] + } + }, + { + "name": "QuantityIntervalPointBeforeFalse", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Before", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "Quantity", + "value": 1, + "unit": "g", + "annotation": [] + }, + "high": { + "type": "Quantity", + "value": 10, + "unit": "g", + "annotation": [] + } + }, + { + "type": "If", + "annotation": [], + "condition": { + "type": "IsNull", + "annotation": [], + "signature": [], + "operand": { + "type": "Quantity", + "value": 9, + "unit": "g", + "annotation": [] + } + }, + "then": { + "type": "Null", + "annotation": [] + }, + "else": { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "Quantity", + "value": 9, + "unit": "g", + "annotation": [] + }, + "high": { + "type": "Quantity", + "value": 9, + "unit": "g", + "annotation": [] + } + } + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "false", + "annotation": [] + } + } + ] + } + }, + { + "name": "QuantityIntervalBeforePointTrue", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Before", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "If", + "annotation": [], + "condition": { + "type": "IsNull", + "annotation": [], + "signature": [], + "operand": { + "type": "Quantity", + "value": 5, + "unit": "g", + "annotation": [] + } + }, + "then": { + "type": "Null", + "annotation": [] + }, + "else": { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "Quantity", + "value": 5, + "unit": "g", + "annotation": [] + }, + "high": { + "type": "Quantity", + "value": 5, + "unit": "g", + "annotation": [] + } + } + }, + { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "Quantity", + "value": 11, + "unit": "g", + "annotation": [] + }, + "high": { + "type": "Quantity", + "value": 20, + "unit": "g", + "annotation": [] + } + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "true", + "annotation": [] + } + } + ] + } + }, + { + "name": "QuantityIntervalBeforePointFalse", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Before", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "If", + "annotation": [], + "condition": { + "type": "IsNull", + "annotation": [], + "signature": [], + "operand": { + "type": "Quantity", + "value": 12, + "unit": "g", + "annotation": [] + } + }, + "then": { + "type": "Null", + "annotation": [] + }, + "else": { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "Quantity", + "value": 12, + "unit": "g", + "annotation": [] + }, + "high": { + "type": "Quantity", + "value": 12, + "unit": "g", + "annotation": [] + } + } + }, + { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "Quantity", + "value": 11, + "unit": "g", + "annotation": [] + }, + "high": { + "type": "Quantity", + "value": 20, + "unit": "g", + "annotation": [] + } + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "false", + "annotation": [] + } + } + ] + } + }, + { + "name": "DateTimeBeforeTrue", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Before", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2012", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + } + }, + "high": { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2012", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "15", + "annotation": [] + } + } + }, + { + "type": "If", + "annotation": [], + "condition": { + "type": "IsNull", + "annotation": [], + "signature": [], + "operand": { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2012", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "27", + "annotation": [] + } + } + }, + "then": { + "type": "Null", + "annotation": [] + }, + "else": { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2012", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "27", + "annotation": [] + } + }, + "high": { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2012", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "27", + "annotation": [] + } + } + } + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "true", + "annotation": [] + } + } + ] + } + }, + { + "name": "DateTimeBeforeFalse", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Before", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2012", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + } + }, + "high": { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2012", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "15", + "annotation": [] + } + } + }, + { + "type": "If", + "annotation": [], + "condition": { + "type": "IsNull", + "annotation": [], + "signature": [], + "operand": { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2011", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "12", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "31", + "annotation": [] + } + } + }, + "then": { + "type": "Null", + "annotation": [] + }, + "else": { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2011", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "12", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "31", + "annotation": [] + } + }, + "high": { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2011", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "12", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "31", + "annotation": [] + } + } + } + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "false", + "annotation": [] + } + } + ] + } + }, + { + "name": "TimeBeforeTrue", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Before", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "Time", + "annotation": [], + "signature": [], + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "15", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "999", + "annotation": [] + } + }, + "high": { + "type": "Time", + "annotation": [], + "signature": [], + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "20", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "999", + "annotation": [] + } + } + }, + { + "type": "If", + "annotation": [], + "condition": { + "type": "IsNull", + "annotation": [], + "signature": [], + "operand": { + "type": "Time", + "annotation": [], + "signature": [], + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "22", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "999", + "annotation": [] + } + } + }, + "then": { + "type": "Null", + "annotation": [] + }, + "else": { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "Time", + "annotation": [], + "signature": [], + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "22", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "999", + "annotation": [] + } + }, + "high": { + "type": "Time", + "annotation": [], + "signature": [], + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "22", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "999", + "annotation": [] + } + } + } + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "true", + "annotation": [] + } + } + ] + } + }, + { + "name": "TimeBeforeFalse", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Before", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "Time", + "annotation": [], + "signature": [], + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "15", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "999", + "annotation": [] + } + }, + "high": { + "type": "Time", + "annotation": [], + "signature": [], + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "20", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "999", + "annotation": [] + } + } + }, + { + "type": "If", + "annotation": [], + "condition": { + "type": "IsNull", + "annotation": [], + "signature": [], + "operand": { + "type": "Time", + "annotation": [], + "signature": [], + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "999", + "annotation": [] + } + } + }, + "then": { + "type": "Null", + "annotation": [] + }, + "else": { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "Time", + "annotation": [], + "signature": [], + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "999", + "annotation": [] + } + }, + "high": { + "type": "Time", + "annotation": [], + "signature": [], + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "999", + "annotation": [] + } + } + } + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "false", + "annotation": [] + } + } + ] + } + } + ] + } + }, + { + "name": "Collapse", + "context": "Patient", + "accessLevel": "Public", + "annotation": [], + "expression": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "TestCollapseNull", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "skipped", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}String", + "value": "Wrong answer (Interval(null, null) vs null)", + "annotation": [] + } + } + ] + } + }, + { + "name": "IntegerIntervalCollapse", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Collapse", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "List", + "annotation": [], + "element": [ + { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + }, + "high": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "5", + "annotation": [] + } + }, + { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "3", + "annotation": [] + }, + "high": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "7", + "annotation": [] + } + }, + { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "12", + "annotation": [] + }, + "high": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "19", + "annotation": [] + } + }, + { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "7", + "annotation": [] + }, + "high": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + } + } + ] + }, + { + "type": "Null", + "annotation": [] + } + ] + } + }, + { + "name": "output", + "value": { + "type": "List", + "annotation": [], + "element": [ + { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + }, + "high": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + } + }, + { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "12", + "annotation": [] + }, + "high": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "19", + "annotation": [] + } + } + ] + } + } + ] + } + }, + { + "name": "IntegerIntervalCollapse2", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Collapse", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "List", + "annotation": [], + "element": [ + { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + }, + "high": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2", + "annotation": [] + } + }, + { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "3", + "annotation": [] + }, + "high": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "7", + "annotation": [] + } + }, + { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + }, + "high": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "19", + "annotation": [] + } + }, + { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "7", + "annotation": [] + }, + "high": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + } + } + ] + }, + { + "type": "Null", + "annotation": [] + } + ] + } + }, + { + "name": "output", + "value": { + "type": "List", + "annotation": [], + "element": [ + { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + }, + "high": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "19", + "annotation": [] + } + } + ] + } + } + ] + } + }, + { + "name": "IntegerIntervalCollapse3", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Collapse", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "List", + "annotation": [], + "element": [ + { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "4", + "annotation": [] + }, + "high": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "6", + "annotation": [] + } + }, + { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "7", + "annotation": [] + }, + "high": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "8", + "annotation": [] + } + } + ] + }, + { + "type": "Null", + "annotation": [] + } + ] + } + }, + { + "name": "output", + "value": { + "type": "List", + "annotation": [], + "element": [ + { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "4", + "annotation": [] + }, + "high": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "8", + "annotation": [] + } + } + ] + } + } + ] + } + }, + { + "name": "DecimalIntervalCollapse", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Collapse", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "List", + "annotation": [], + "element": [ + { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "1.0", + "annotation": [] + }, + "high": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "5.0", + "annotation": [] + } + }, + { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "3.0", + "annotation": [] + }, + "high": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "7.0", + "annotation": [] + } + }, + { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "12.0", + "annotation": [] + }, + "high": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "19.0", + "annotation": [] + } + }, + { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "7.0", + "annotation": [] + }, + "high": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "10.0", + "annotation": [] + } + } + ] + }, + { + "type": "Null", + "annotation": [] + } + ] + } + }, + { + "name": "output", + "value": { + "type": "List", + "annotation": [], + "element": [ + { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "1.0", + "annotation": [] + }, + "high": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "10.0", + "annotation": [] + } + }, + { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "12.0", + "annotation": [] + }, + "high": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "19.0", + "annotation": [] + } + } + ] + } + } + ] + } + }, + { + "name": "DecimalIntervalCollapse2", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Collapse", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "List", + "annotation": [], + "element": [ + { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "4.0", + "annotation": [] + }, + "high": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "6.0", + "annotation": [] + } + }, + { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "6.00000001", + "annotation": [] + }, + "high": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "8.0", + "annotation": [] + } + } + ] + }, + { + "type": "Null", + "annotation": [] + } + ] + } + }, + { + "name": "output", + "value": { + "type": "List", + "annotation": [], + "element": [ + { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "4.0", + "annotation": [] + }, + "high": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "8.0", + "annotation": [] + } + } + ] + } + } + ] + } + }, + { + "name": "QuantityIntervalCollapse", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Collapse", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "List", + "annotation": [], + "element": [ + { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "Quantity", + "value": 1, + "unit": "g", + "annotation": [] + }, + "high": { + "type": "Quantity", + "value": 5, + "unit": "g", + "annotation": [] + } + }, + { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "Quantity", + "value": 3, + "unit": "g", + "annotation": [] + }, + "high": { + "type": "Quantity", + "value": 7, + "unit": "g", + "annotation": [] + } + }, + { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "Quantity", + "value": 12, + "unit": "g", + "annotation": [] + }, + "high": { + "type": "Quantity", + "value": 19, + "unit": "g", + "annotation": [] + } + }, + { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "Quantity", + "value": 7, + "unit": "g", + "annotation": [] + }, + "high": { + "type": "Quantity", + "value": 10, + "unit": "g", + "annotation": [] + } + } + ] + }, + { + "type": "Null", + "annotation": [] + } + ] + } + }, + { + "name": "output", + "value": { + "type": "List", + "annotation": [], + "element": [ + { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "Quantity", + "value": 1, + "unit": "g", + "annotation": [] + }, + "high": { + "type": "Quantity", + "value": 10, + "unit": "g", + "annotation": [] + } + }, + { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "Quantity", + "value": 12, + "unit": "g", + "annotation": [] + }, + "high": { + "type": "Quantity", + "value": 19, + "unit": "g", + "annotation": [] + } + } + ] + } + } + ] + } + }, + { + "name": "DateTimeCollapse", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Collapse", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "List", + "annotation": [], + "element": [ + { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2012", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + } + }, + "high": { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2012", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "15", + "annotation": [] + } + } + }, + { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2012", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + } + }, + "high": { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2012", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "25", + "annotation": [] + } + } + }, + { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2012", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "5", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + } + }, + "high": { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2012", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "5", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "25", + "annotation": [] + } + } + }, + { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2012", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "5", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "20", + "annotation": [] + } + }, + "high": { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2012", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "5", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "30", + "annotation": [] + } + } + } + ] + }, + { + "type": "Null", + "annotation": [] + } + ] + } + }, + { + "name": "output", + "value": { + "type": "List", + "annotation": [], + "element": [ + { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2012", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + } + }, + "high": { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2012", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "25", + "annotation": [] + } + } + }, + { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2012", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "5", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + } + }, + "high": { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2012", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "5", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "30", + "annotation": [] + } + } + } + ] + } + } + ] + } + }, + { + "name": "DateTimeCollapse2", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Collapse", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "List", + "annotation": [], + "element": [ + { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2012", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + } + }, + "high": { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2012", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "15", + "annotation": [] + } + } + }, + { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2012", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "16", + "annotation": [] + } + }, + "high": { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2012", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "5", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "25", + "annotation": [] + } + } + } + ] + }, + { + "type": "Null", + "annotation": [] + } + ] + } + }, + { + "name": "output", + "value": { + "type": "List", + "annotation": [], + "element": [ + { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2012", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + } + }, + "high": { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2012", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "5", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "25", + "annotation": [] + } + } + } + ] + } + } + ] + } + }, + { + "name": "TimeCollapse", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Collapse", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "List", + "annotation": [], + "element": [ + { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "Time", + "annotation": [], + "signature": [], + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "999", + "annotation": [] + } + }, + "high": { + "type": "Time", + "annotation": [], + "signature": [], + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "999", + "annotation": [] + } + } + }, + { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "Time", + "annotation": [], + "signature": [], + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "8", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "999", + "annotation": [] + } + }, + "high": { + "type": "Time", + "annotation": [], + "signature": [], + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "15", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "999", + "annotation": [] + } + } + }, + { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "Time", + "annotation": [], + "signature": [], + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "17", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "999", + "annotation": [] + } + }, + "high": { + "type": "Time", + "annotation": [], + "signature": [], + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "20", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "999", + "annotation": [] + } + } + }, + { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "Time", + "annotation": [], + "signature": [], + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "18", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "999", + "annotation": [] + } + }, + "high": { + "type": "Time", + "annotation": [], + "signature": [], + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "22", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "999", + "annotation": [] + } + } + } + ] + }, + { + "type": "Null", + "annotation": [] + } + ] + } + }, + { + "name": "output", + "value": { + "type": "List", + "annotation": [], + "element": [ + { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "Time", + "annotation": [], + "signature": [], + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "999", + "annotation": [] + } + }, + "high": { + "type": "Time", + "annotation": [], + "signature": [], + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "15", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "999", + "annotation": [] + } + } + }, + { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "Time", + "annotation": [], + "signature": [], + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "17", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "999", + "annotation": [] + } + }, + "high": { + "type": "Time", + "annotation": [], + "signature": [], + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "22", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "999", + "annotation": [] + } + } + } + ] + } + } + ] + } + }, + { + "name": "TimeCollapse2", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Collapse", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "List", + "annotation": [], + "element": [ + { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "Time", + "annotation": [], + "signature": [], + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "999", + "annotation": [] + } + }, + "high": { + "type": "Time", + "annotation": [], + "signature": [], + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "999", + "annotation": [] + } + } + }, + { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "Time", + "annotation": [], + "signature": [], + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "11", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + } + }, + "high": { + "type": "Time", + "annotation": [], + "signature": [], + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "15", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "999", + "annotation": [] + } + } + } + ] + }, + { + "type": "Null", + "annotation": [] + } + ] + } + }, + { + "name": "output", + "value": { + "type": "List", + "annotation": [], + "element": [ + { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "Time", + "annotation": [], + "signature": [], + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "999", + "annotation": [] + } + }, + "high": { + "type": "Time", + "annotation": [], + "signature": [], + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "15", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "999", + "annotation": [] + } + } + } + ] + } + } + ] + } + } + ] + } + }, + { + "name": "Expand", + "context": "Patient", + "accessLevel": "Public", + "annotation": [], + "expression": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "ExpandPerDay", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Expand", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "List", + "annotation": [], + "element": [ + { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "Date", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2018", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + } + }, + "high": { + "type": "Date", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2018", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "4", + "annotation": [] + } + } + } + ] + }, + { + "type": "Quantity", + "value": 1, + "unit": "day", + "annotation": [] + } + ] + } + }, + { + "name": "output", + "value": { + "type": "List", + "annotation": [], + "element": [ + { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "Date", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2018", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + } + }, + "high": { + "type": "Date", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2018", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + } + } + }, + { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "Date", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2018", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2", + "annotation": [] + } + }, + "high": { + "type": "Date", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2018", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2", + "annotation": [] + } + } + }, + { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "Date", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2018", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "3", + "annotation": [] + } + }, + "high": { + "type": "Date", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2018", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "3", + "annotation": [] + } + } + }, + { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "Date", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2018", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "4", + "annotation": [] + } + }, + "high": { + "type": "Date", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2018", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "4", + "annotation": [] + } + } + } + ] + } + } + ] + } + }, + { + "name": "ExpandPer2Days", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Expand", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "List", + "annotation": [], + "element": [ + { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "Date", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2018", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + } + }, + "high": { + "type": "Date", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2018", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "4", + "annotation": [] + } + } + } + ] + }, + { + "type": "Quantity", + "value": 2, + "unit": "days", + "annotation": [] + } + ] + } + }, + { + "name": "output", + "value": { + "type": "List", + "annotation": [], + "element": [ + { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "Date", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2018", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + } + }, + "high": { + "type": "Date", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2018", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2", + "annotation": [] + } + } + }, + { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "Date", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2018", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "3", + "annotation": [] + } + }, + "high": { + "type": "Date", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2018", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "4", + "annotation": [] + } + } + } + ] + } + } + ] + } + }, + { + "name": "ExpandPerHour", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "skipped", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}String", + "value": "Wrong output: This test is drawn directly from an example in the spec and yet expects a different answer! See: https://cql.hl7.org/09-b-cqlreference.html#expand", + "annotation": [] + } + } + ] + } + }, + { + "name": "ExpandPer1", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "skipped", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}String", + "value": "Translation Error: Could not resolve call to operator Expand with signature (list>,System.Integer).", + "annotation": [] + } + } + ] + } + }, + { + "name": "ExpandPerMinute", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Expand", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "List", + "annotation": [], + "element": [ + { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "Time", + "annotation": [], + "signature": [], + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + } + }, + "high": { + "type": "Time", + "annotation": [], + "signature": [], + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + } + } + } + ] + }, + { + "type": "Quantity", + "value": 1, + "unit": "minute", + "annotation": [] + } + ] + } + }, + { + "name": "output", + "value": { + "type": "List", + "annotation": [], + "element": [] + } + } + ] + } + }, + { + "name": "ExpandPer0D1", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "skipped", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}String", + "value": "Translation Error: Could not resolve call to operator Expand with signature (list>,System.Decimal).", + "annotation": [] + } + } + ] + } + }, + { + "name": "ExpandInterval", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Expand", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "List", + "annotation": [], + "element": [ + { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + }, + "high": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + } + } + ] + }, + { + "type": "Null", + "annotation": [] + } + ] + } + }, + { + "name": "output", + "value": { + "type": "List", + "annotation": [], + "element": [ + { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + }, + "high": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + } + }, + { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2", + "annotation": [] + }, + "high": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2", + "annotation": [] + } + }, + { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "3", + "annotation": [] + }, + "high": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "3", + "annotation": [] + } + }, + { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "4", + "annotation": [] + }, + "high": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "4", + "annotation": [] + } + }, + { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "5", + "annotation": [] + }, + "high": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "5", + "annotation": [] + } + }, + { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "6", + "annotation": [] + }, + "high": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "6", + "annotation": [] + } + }, + { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "7", + "annotation": [] + }, + "high": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "7", + "annotation": [] + } + }, + { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "8", + "annotation": [] + }, + "high": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "8", + "annotation": [] + } + }, + { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "9", + "annotation": [] + }, + "high": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "9", + "annotation": [] + } + }, + { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + }, + "high": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + } + } + ] + } + } + ] + } + }, + { + "name": "ExpandIntervalPer2", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Expand", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "List", + "annotation": [], + "element": [ + { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + }, + "high": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + } + } + ] + }, + { + "type": "Quantity", + "value": 2, + "unit": "1", + "annotation": [] + } + ] + } + }, + { + "name": "output", + "value": { + "type": "List", + "annotation": [], + "element": [ + { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + }, + "high": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2", + "annotation": [] + } + }, + { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "3", + "annotation": [] + }, + "high": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "4", + "annotation": [] + } + }, + { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "5", + "annotation": [] + }, + "high": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "6", + "annotation": [] + } + }, + { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "7", + "annotation": [] + }, + "high": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "8", + "annotation": [] + } + }, + { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "9", + "annotation": [] + }, + "high": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + } + } + ] + } + } + ] + } + } + ] + } + }, + { + "name": "Contains", + "context": "Patient", + "accessLevel": "Public", + "annotation": [], + "expression": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "TestContainsNull", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Contains", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + }, + "high": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + } + }, + { + "type": "As", + "asType": "{urn:hl7-org:elm-types:r1}Integer", + "annotation": [], + "signature": [], + "operand": { + "type": "Null", + "annotation": [] + } + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Null", + "annotation": [] + } + } + ] + } + }, + { + "name": "TestNullElement1", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Contains", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "As", + "annotation": [], + "signature": [], + "operand": { + "type": "Null", + "annotation": [] + }, + "asTypeSpecifier": { + "type": "IntervalTypeSpecifier", + "annotation": [], + "pointType": { + "type": "NamedTypeSpecifier", + "name": "{urn:hl7-org:elm-types:r1}Integer", + "annotation": [] + } + } + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "5", + "annotation": [] + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "false", + "annotation": [] + } + } + ] + } + }, + { + "name": "TestNullElement2", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Contains", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "As", + "asType": "{urn:hl7-org:elm-types:r1}Integer", + "annotation": [], + "signature": [], + "operand": { + "type": "Null", + "annotation": [] + } + }, + "high": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "5", + "annotation": [] + } + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "false", + "annotation": [] + } + } + ] + } + }, + { + "name": "IntegerIntervalContainsTrue", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Contains", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + }, + "high": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + } + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "5", + "annotation": [] + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "true", + "annotation": [] + } + } + ] + } + }, + { + "name": "IntegerIntervalContainsFalse", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Contains", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + }, + "high": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + } + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "25", + "annotation": [] + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "false", + "annotation": [] + } + } + ] + } + }, + { + "name": "DecimalIntervalContainsTrue", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Contains", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "1.0", + "annotation": [] + }, + "high": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "10.0", + "annotation": [] + } + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "8.0", + "annotation": [] + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "true", + "annotation": [] + } + } + ] + } + }, + { + "name": "DecimalIntervalContainsFalse", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Contains", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "1.0", + "annotation": [] + }, + "high": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "10.0", + "annotation": [] + } + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "255.0", + "annotation": [] + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "false", + "annotation": [] + } + } + ] + } + }, + { + "name": "QuantityIntervalContainsTrue", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Contains", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "Quantity", + "value": 1, + "unit": "g", + "annotation": [] + }, + "high": { + "type": "Quantity", + "value": 10, + "unit": "g", + "annotation": [] + } + }, + { + "type": "Quantity", + "value": 2, + "unit": "g", + "annotation": [] + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "true", + "annotation": [] + } + } + ] + } + }, + { + "name": "QuantityIntervalContainsFalse", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Contains", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "Quantity", + "value": 1, + "unit": "g", + "annotation": [] + }, + "high": { + "type": "Quantity", + "value": 10, + "unit": "g", + "annotation": [] + } + }, + { + "type": "Quantity", + "value": 100, + "unit": "g", + "annotation": [] + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "false", + "annotation": [] + } + } + ] + } + }, + { + "name": "DateTimeContainsTrue", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Contains", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2012", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + } + }, + "high": { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2012", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "15", + "annotation": [] + } + } + }, + { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2012", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + } + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "true", + "annotation": [] + } + } + ] + } + }, + { + "name": "DateTimeContainsFalse", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Contains", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2012", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + } + }, + "high": { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2012", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "15", + "annotation": [] + } + } + }, + { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2012", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "16", + "annotation": [] + } + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "false", + "annotation": [] + } + } + ] + } + }, + { + "name": "TimeContainsTrue", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Contains", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "Time", + "annotation": [], + "signature": [], + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "999", + "annotation": [] + } + }, + "high": { + "type": "Time", + "annotation": [], + "signature": [], + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "999", + "annotation": [] + } + } + }, + { + "type": "Time", + "annotation": [], + "signature": [], + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "5", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "999", + "annotation": [] + } + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "true", + "annotation": [] + } + } + ] + } + }, + { + "name": "TimeContainsFalse", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Contains", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "Time", + "annotation": [], + "signature": [], + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "999", + "annotation": [] + } + }, + "high": { + "type": "Time", + "annotation": [], + "signature": [], + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "999", + "annotation": [] + } + } + }, + { + "type": "Time", + "annotation": [], + "signature": [], + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "15", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "999", + "annotation": [] + } + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "false", + "annotation": [] + } + } + ] + } + } + ] + } + }, + { + "name": "End", + "context": "Patient", + "accessLevel": "Public", + "annotation": [], + "expression": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "IntegerIntervalEnd", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "End", + "annotation": [], + "signature": [], + "operand": { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + }, + "high": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + } + } + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + } + } + ] + } + }, + { + "name": "DecimalIntervalEnd", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "End", + "annotation": [], + "signature": [], + "operand": { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "1.0", + "annotation": [] + }, + "high": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "10.0", + "annotation": [] + } + } + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "10.0", + "annotation": [] + } + } + ] + } + }, + { + "name": "QuantityIntervalEnd", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "End", + "annotation": [], + "signature": [], + "operand": { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "Quantity", + "value": 1, + "unit": "g", + "annotation": [] + }, + "high": { + "type": "Quantity", + "value": 10, + "unit": "g", + "annotation": [] + } + } + } + }, + { + "name": "output", + "value": { + "type": "Quantity", + "value": 10, + "unit": "g", + "annotation": [] + } + } + ] + } + }, + { + "name": "DateTimeIntervalEnd", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "End", + "annotation": [], + "signature": [], + "operand": { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2016", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "5", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + }, + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + } + }, + "high": { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2016", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "5", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2", + "annotation": [] + }, + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + } + } + } + } + }, + { + "name": "output", + "value": { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2016", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "5", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2", + "annotation": [] + }, + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + } + } + } + ] + } + }, + { + "name": "TimeIntervalEnd", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "End", + "annotation": [], + "signature": [], + "operand": { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "Time", + "annotation": [], + "signature": [], + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + } + }, + "high": { + "type": "Time", + "annotation": [], + "signature": [], + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "23", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "599", + "annotation": [] + } + } + } + } + }, + { + "name": "output", + "value": { + "type": "Time", + "annotation": [], + "signature": [], + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "23", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "599", + "annotation": [] + } + } + } + ] + } + } + ] + } + }, + { + "name": "Ends", + "context": "Patient", + "accessLevel": "Public", + "annotation": [], + "expression": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "TestEndsNull", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Ends", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + }, + "high": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + } + }, + { + "type": "Interval", + "annotation": [], + "low": { + "type": "As", + "asType": "{urn:hl7-org:elm-types:r1}Integer", + "annotation": [], + "signature": [], + "operand": { + "type": "Property", + "path": "low", + "annotation": [], + "source": { + "type": "Interval", + "lowClosed": false, + "highClosed": false, + "annotation": [], + "low": { + "type": "Null", + "annotation": [] + }, + "high": { + "type": "Null", + "annotation": [] + } + } + } + }, + "lowClosedExpression": { + "type": "Property", + "path": "lowClosed", + "annotation": [], + "source": { + "type": "Interval", + "lowClosed": false, + "highClosed": false, + "annotation": [], + "low": { + "type": "Null", + "annotation": [] + }, + "high": { + "type": "Null", + "annotation": [] + } + } + }, + "high": { + "type": "As", + "asType": "{urn:hl7-org:elm-types:r1}Integer", + "annotation": [], + "signature": [], + "operand": { + "type": "Property", + "path": "high", + "annotation": [], + "source": { + "type": "Interval", + "lowClosed": false, + "highClosed": false, + "annotation": [], + "low": { + "type": "Null", + "annotation": [] + }, + "high": { + "type": "Null", + "annotation": [] + } + } + } + }, + "highClosedExpression": { + "type": "Property", + "path": "highClosed", + "annotation": [], + "source": { + "type": "Interval", + "lowClosed": false, + "highClosed": false, + "annotation": [], + "low": { + "type": "Null", + "annotation": [] + }, + "high": { + "type": "Null", + "annotation": [] + } + } + } + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Null", + "annotation": [] + } + } + ] + } + }, + { + "name": "IntegerIntervalEndsTrue", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Ends", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "4", + "annotation": [] + }, + "high": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + } + }, + { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + }, + "high": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + } + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "true", + "annotation": [] + } + } + ] + } + }, + { + "name": "IntegerIntervalEndsFalse", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Ends", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "44", + "annotation": [] + }, + "high": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "50", + "annotation": [] + } + }, + { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + }, + "high": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + } + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "false", + "annotation": [] + } + } + ] + } + }, + { + "name": "DecimalIntervalEndsTrue", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Ends", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "4.0", + "annotation": [] + }, + "high": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "10.0", + "annotation": [] + } + }, + { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "1.0", + "annotation": [] + }, + "high": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "10.0", + "annotation": [] + } + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "true", + "annotation": [] + } + } + ] + } + }, + { + "name": "DecimalIntervalEndsFalse", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Ends", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "11.0", + "annotation": [] + }, + "high": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "20.0", + "annotation": [] + } + }, + { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "1.0", + "annotation": [] + }, + "high": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "10.0", + "annotation": [] + } + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "false", + "annotation": [] + } + } + ] + } + }, + { + "name": "QuantityIntervalEndsTrue", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Ends", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "Quantity", + "value": 5, + "unit": "g", + "annotation": [] + }, + "high": { + "type": "Quantity", + "value": 10, + "unit": "g", + "annotation": [] + } + }, + { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "Quantity", + "value": 1, + "unit": "g", + "annotation": [] + }, + "high": { + "type": "Quantity", + "value": 10, + "unit": "g", + "annotation": [] + } + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "true", + "annotation": [] + } + } + ] + } + }, + { + "name": "QuantityIntervalEndsFalse", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Ends", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "Quantity", + "value": 11, + "unit": "g", + "annotation": [] + }, + "high": { + "type": "Quantity", + "value": 20, + "unit": "g", + "annotation": [] + } + }, + { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "Quantity", + "value": 1, + "unit": "g", + "annotation": [] + }, + "high": { + "type": "Quantity", + "value": 10, + "unit": "g", + "annotation": [] + } + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "false", + "annotation": [] + } + } + ] + } + }, + { + "name": "DateTimeEndsTrue", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Ends", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2012", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "5", + "annotation": [] + } + }, + "high": { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2012", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "15", + "annotation": [] + } + } + }, + { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2012", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + } + }, + "high": { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2012", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "15", + "annotation": [] + } + } + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "true", + "annotation": [] + } + } + ] + } + }, + { + "name": "DateTimeEndsFalse", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Ends", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2012", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "5", + "annotation": [] + } + }, + "high": { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2012", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "15", + "annotation": [] + } + } + }, + { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2012", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + } + }, + "high": { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2012", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "16", + "annotation": [] + } + } + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "false", + "annotation": [] + } + } + ] + } + }, + { + "name": "TimeEndsTrue", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Ends", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "Time", + "annotation": [], + "signature": [], + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "5", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "999", + "annotation": [] + } + }, + "high": { + "type": "Time", + "annotation": [], + "signature": [], + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "999", + "annotation": [] + } + } + }, + { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "Time", + "annotation": [], + "signature": [], + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "999", + "annotation": [] + } + }, + "high": { + "type": "Time", + "annotation": [], + "signature": [], + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "999", + "annotation": [] + } + } + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "true", + "annotation": [] + } + } + ] + } + }, + { + "name": "TimeEndsFalse", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Ends", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "Time", + "annotation": [], + "signature": [], + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "5", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "999", + "annotation": [] + } + }, + "high": { + "type": "Time", + "annotation": [], + "signature": [], + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "999", + "annotation": [] + } + } + }, + { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "Time", + "annotation": [], + "signature": [], + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "999", + "annotation": [] + } + }, + "high": { + "type": "Time", + "annotation": [], + "signature": [], + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "11", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "999", + "annotation": [] + } + } + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "false", + "annotation": [] + } + } + ] + } + } + ] + } + }, + { + "name": "Equal", + "context": "Patient", + "accessLevel": "Public", + "annotation": [], + "expression": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "TestEqualNull", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Equal", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + }, + "high": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + } + }, + { + "type": "Interval", + "annotation": [], + "low": { + "type": "As", + "asType": "{urn:hl7-org:elm-types:r1}Integer", + "annotation": [], + "signature": [], + "operand": { + "type": "Property", + "path": "low", + "annotation": [], + "source": { + "type": "Interval", + "lowClosed": false, + "highClosed": false, + "annotation": [], + "low": { + "type": "Null", + "annotation": [] + }, + "high": { + "type": "Null", + "annotation": [] + } + } + } + }, + "lowClosedExpression": { + "type": "Property", + "path": "lowClosed", + "annotation": [], + "source": { + "type": "Interval", + "lowClosed": false, + "highClosed": false, + "annotation": [], + "low": { + "type": "Null", + "annotation": [] + }, + "high": { + "type": "Null", + "annotation": [] + } + } + }, + "high": { + "type": "As", + "asType": "{urn:hl7-org:elm-types:r1}Integer", + "annotation": [], + "signature": [], + "operand": { + "type": "Property", + "path": "high", + "annotation": [], + "source": { + "type": "Interval", + "lowClosed": false, + "highClosed": false, + "annotation": [], + "low": { + "type": "Null", + "annotation": [] + }, + "high": { + "type": "Null", + "annotation": [] + } + } + } + }, + "highClosedExpression": { + "type": "Property", + "path": "highClosed", + "annotation": [], + "source": { + "type": "Interval", + "lowClosed": false, + "highClosed": false, + "annotation": [], + "low": { + "type": "Null", + "annotation": [] + }, + "high": { + "type": "Null", + "annotation": [] + } + } + } + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Null", + "annotation": [] + } + } + ] + } + }, + { + "name": "IntegerIntervalEqualTrue", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Equal", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + }, + "high": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + } + }, + { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + }, + "high": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + } + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "true", + "annotation": [] + } + } + ] + } + }, + { + "name": "IntegerIntervalEqualFalse", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Equal", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + }, + "high": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + } + }, + { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "11", + "annotation": [] + }, + "high": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "20", + "annotation": [] + } + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "false", + "annotation": [] + } + } + ] + } + }, + { + "name": "DecimalIntervalEqualTrue", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Equal", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "1.0", + "annotation": [] + }, + "high": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "10.0", + "annotation": [] + } + }, + { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "1.0", + "annotation": [] + }, + "high": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "10.0", + "annotation": [] + } + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "true", + "annotation": [] + } + } + ] + } + }, + { + "name": "DecimalIntervalEqualFalse", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Equal", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "1.0", + "annotation": [] + }, + "high": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "10.0", + "annotation": [] + } + }, + { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "11.0", + "annotation": [] + }, + "high": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "20.0", + "annotation": [] + } + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "false", + "annotation": [] + } + } + ] + } + }, + { + "name": "QuantityIntervalEqualTrue", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Equal", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "Quantity", + "value": 1, + "unit": "g", + "annotation": [] + }, + "high": { + "type": "Quantity", + "value": 10, + "unit": "g", + "annotation": [] + } + }, + { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "Quantity", + "value": 1, + "unit": "g", + "annotation": [] + }, + "high": { + "type": "Quantity", + "value": 10, + "unit": "g", + "annotation": [] + } + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "true", + "annotation": [] + } + } + ] + } + }, + { + "name": "QuantityIntervalEqualFalse", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Equal", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "Quantity", + "value": 1, + "unit": "g", + "annotation": [] + }, + "high": { + "type": "Quantity", + "value": 10, + "unit": "g", + "annotation": [] + } + }, + { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "Quantity", + "value": 11, + "unit": "g", + "annotation": [] + }, + "high": { + "type": "Quantity", + "value": 20, + "unit": "g", + "annotation": [] + } + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "false", + "annotation": [] + } + } + ] + } + }, + { + "name": "DateTimeEqualTrue", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Equal", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2012", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "5", + "annotation": [] + }, + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + } + }, + "high": { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2012", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "15", + "annotation": [] + }, + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + } + } + }, + { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2012", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "5", + "annotation": [] + }, + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + } + }, + "high": { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2012", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "15", + "annotation": [] + }, + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + } + } + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "true", + "annotation": [] + } + } + ] + } + }, + { + "name": "DateTimeEqualFalse", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Equal", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2012", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "5", + "annotation": [] + }, + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + } + }, + "high": { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2012", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "15", + "annotation": [] + }, + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + } + } + }, + { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2012", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "5", + "annotation": [] + }, + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + } + }, + "high": { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2012", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "16", + "annotation": [] + }, + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + } + } + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "false", + "annotation": [] + } + } + ] + } + }, + { + "name": "TimeEqualTrue", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Equal", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "Time", + "annotation": [], + "signature": [], + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "5", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "999", + "annotation": [] + } + }, + "high": { + "type": "Time", + "annotation": [], + "signature": [], + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "999", + "annotation": [] + } + } + }, + { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "Time", + "annotation": [], + "signature": [], + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "5", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "999", + "annotation": [] + } + }, + "high": { + "type": "Time", + "annotation": [], + "signature": [], + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "999", + "annotation": [] + } + } + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "true", + "annotation": [] + } + } + ] + } + }, + { + "name": "TimeEqualFalse", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Equal", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "Time", + "annotation": [], + "signature": [], + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "5", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "999", + "annotation": [] + } + }, + "high": { + "type": "Time", + "annotation": [], + "signature": [], + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "999", + "annotation": [] + } + } + }, + { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "Time", + "annotation": [], + "signature": [], + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "5", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "999", + "annotation": [] + } + }, + "high": { + "type": "Time", + "annotation": [], + "signature": [], + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "58", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "999", + "annotation": [] + } + } + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "false", + "annotation": [] + } + } + ] + } + } + ] + } + }, + { + "name": "Except", + "context": "Patient", + "accessLevel": "Public", + "annotation": [], + "expression": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "NullInterval", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "skipped", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}String", + "value": "Wrong answer (Interval(null, null) vs null)", + "annotation": [] + } + } + ] + } + }, + { + "name": "TestExceptNull", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Except", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "Null", + "annotation": [] + }, + "high": { + "type": "Null", + "annotation": [] + } + }, + { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "Null", + "annotation": [] + }, + "high": { + "type": "Null", + "annotation": [] + } + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Null", + "annotation": [] + } + } + ] + } + }, + { + "name": "IntegerIntervalExcept1to3", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Except", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + }, + "high": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + } + }, + { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "4", + "annotation": [] + }, + "high": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + } + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + }, + "high": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "3", + "annotation": [] + } + } + } + ] + } + }, + { + "name": "IntegerIntervalExceptNull", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Except", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + }, + "high": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + } + }, + { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "3", + "annotation": [] + }, + "high": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "7", + "annotation": [] + } + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Null", + "annotation": [] + } + } + ] + } + }, + { + "name": "DecimalIntervalExcept1to3", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "skipped", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}String", + "value": "(Sort of) wrong answer (is open 4 end boundary 3 or 3.99999999?)", + "annotation": [] + } + } + ] + } + }, + { + "name": "DecimalIntervalExceptNull", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Except", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "1.0", + "annotation": [] + }, + "high": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "10.0", + "annotation": [] + } + }, + { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "3.0", + "annotation": [] + }, + "high": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "7.0", + "annotation": [] + } + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Null", + "annotation": [] + } + } + ] + } + }, + { + "name": "QuantityIntervalExcept1to4", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "skipped", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}String", + "value": "(Sort of) wrong answer (is open 5 end boundary 4 or 4.99999999?)", + "annotation": [] + } + } + ] + } + }, + { + "name": "Except12", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Except", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + }, + "high": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "4", + "annotation": [] + } + }, + { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "3", + "annotation": [] + }, + "high": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "6", + "annotation": [] + } + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + }, + "high": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2", + "annotation": [] + } + } + } + ] + } + }, + { + "name": "ExceptDateTimeInterval", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Except", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2012", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "5", + "annotation": [] + } + }, + "high": { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2012", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "15", + "annotation": [] + } + } + }, + { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2012", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "7", + "annotation": [] + } + }, + "high": { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2012", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "15", + "annotation": [] + } + } + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2012", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "5", + "annotation": [] + } + }, + "high": { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2012", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "6", + "annotation": [] + } + } + } + } + ] + } + }, + { + "name": "ExceptDateTime2", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Except", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2012", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "7", + "annotation": [] + } + }, + "high": { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2012", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "16", + "annotation": [] + } + } + }, + { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2012", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "5", + "annotation": [] + } + }, + "high": { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2012", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "12", + "annotation": [] + } + } + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2012", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "13", + "annotation": [] + } + }, + "high": { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2012", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "16", + "annotation": [] + } + } + } + } + ] + } + }, + { + "name": "ExceptTimeInterval", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Except", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "Time", + "annotation": [], + "signature": [], + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "5", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "999", + "annotation": [] + } + }, + "high": { + "type": "Time", + "annotation": [], + "signature": [], + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "999", + "annotation": [] + } + } + }, + { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "Time", + "annotation": [], + "signature": [], + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "8", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "999", + "annotation": [] + } + }, + "high": { + "type": "Time", + "annotation": [], + "signature": [], + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "999", + "annotation": [] + } + } + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "Time", + "annotation": [], + "signature": [], + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "5", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "999", + "annotation": [] + } + }, + "high": { + "type": "Time", + "annotation": [], + "signature": [], + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "8", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "998", + "annotation": [] + } + } + } + } + ] + } + }, + { + "name": "ExceptTime2", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Except", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "Time", + "annotation": [], + "signature": [], + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "8", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "999", + "annotation": [] + } + }, + "high": { + "type": "Time", + "annotation": [], + "signature": [], + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "11", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "999", + "annotation": [] + } + } + }, + { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "Time", + "annotation": [], + "signature": [], + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "5", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "999", + "annotation": [] + } + }, + "high": { + "type": "Time", + "annotation": [], + "signature": [], + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "999", + "annotation": [] + } + } + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "Time", + "annotation": [], + "signature": [], + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "11", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + } + }, + "high": { + "type": "Time", + "annotation": [], + "signature": [], + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "11", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "999", + "annotation": [] + } + } + } + } + ] + } + } + ] + } + }, + { + "name": "In", + "context": "Patient", + "accessLevel": "Public", + "annotation": [], + "expression": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "TestInNullBoundaries", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "skipped", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}String", + "value": "Wrong output: According to spec, comparison against null closed boundaries should result in true", + "annotation": [] + } + } + ] + } + }, + { + "name": "IntegerIntervalInTrue", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "In", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "5", + "annotation": [] + }, + { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + }, + "high": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + } + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "true", + "annotation": [] + } + } + ] + } + }, + { + "name": "IntegerIntervalInFalse", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "In", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "500", + "annotation": [] + }, + { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + }, + "high": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + } + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "false", + "annotation": [] + } + } + ] + } + }, + { + "name": "DecimalIntervalInTrue", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "In", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "9.0", + "annotation": [] + }, + { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "1.0", + "annotation": [] + }, + "high": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "10.0", + "annotation": [] + } + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "true", + "annotation": [] + } + } + ] + } + }, + { + "name": "DecimalIntervalInFalse", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "In", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Negate", + "annotation": [], + "signature": [], + "operand": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "2.0", + "annotation": [] + } + }, + { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "1.0", + "annotation": [] + }, + "high": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "10.0", + "annotation": [] + } + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "false", + "annotation": [] + } + } + ] + } + }, + { + "name": "QuantityIntervalInTrue", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "In", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Quantity", + "value": 1, + "unit": "g", + "annotation": [] + }, + { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "Quantity", + "value": 1, + "unit": "g", + "annotation": [] + }, + "high": { + "type": "Quantity", + "value": 10, + "unit": "g", + "annotation": [] + } + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "true", + "annotation": [] + } + } + ] + } + }, + { + "name": "QuantityIntervalInFalse", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "In", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Quantity", + "value": 55, + "unit": "g", + "annotation": [] + }, + { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "Quantity", + "value": 1, + "unit": "g", + "annotation": [] + }, + "high": { + "type": "Quantity", + "value": 10, + "unit": "g", + "annotation": [] + } + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "false", + "annotation": [] + } + } + ] + } + }, + { + "name": "DateTimeInTrue", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "In", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2012", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "7", + "annotation": [] + } + }, + { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2012", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "5", + "annotation": [] + } + }, + "high": { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2012", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "15", + "annotation": [] + } + } + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "true", + "annotation": [] + } + } + ] + } + }, + { + "name": "DateTimeInFalse", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "In", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2012", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "17", + "annotation": [] + } + }, + { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2012", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "5", + "annotation": [] + } + }, + "high": { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2012", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "15", + "annotation": [] + } + } + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "false", + "annotation": [] + } + } + ] + } + }, + { + "name": "DateTimeInNullTrue", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "In", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2012", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "7", + "annotation": [] + } + }, + { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2012", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "5", + "annotation": [] + } + }, + "high": { + "type": "As", + "asType": "{urn:hl7-org:elm-types:r1}DateTime", + "annotation": [], + "signature": [], + "operand": { + "type": "Null", + "annotation": [] + } + } + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "true", + "annotation": [] + } + } + ] + } + }, + { + "name": "TimeInTrue", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "In", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Time", + "annotation": [], + "signature": [], + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "7", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "999", + "annotation": [] + } + }, + { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "Time", + "annotation": [], + "signature": [], + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "5", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "999", + "annotation": [] + } + }, + "high": { + "type": "Time", + "annotation": [], + "signature": [], + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "999", + "annotation": [] + } + } + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "true", + "annotation": [] + } + } + ] + } + }, + { + "name": "TimeInFalse", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "In", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Time", + "annotation": [], + "signature": [], + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "17", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "999", + "annotation": [] + } + }, + { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "Time", + "annotation": [], + "signature": [], + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "5", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "999", + "annotation": [] + } + }, + "high": { + "type": "Time", + "annotation": [], + "signature": [], + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "999", + "annotation": [] + } + } + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "false", + "annotation": [] + } + } + ] + } + }, + { + "name": "TimeInNull", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "In", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "As", + "asType": "{urn:hl7-org:elm-types:r1}Time", + "annotation": [], + "signature": [], + "operand": { + "type": "Null", + "annotation": [] + } + }, + { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "Time", + "annotation": [], + "signature": [], + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "5", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "999", + "annotation": [] + } + }, + "high": { + "type": "Time", + "annotation": [], + "signature": [], + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "999", + "annotation": [] + } + } + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Null", + "annotation": [] + } + } + ] + } + }, + { + "name": "TestPeriod1", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2017", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "12", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "20", + "annotation": [] + }, + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "11", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + } + }, + "high": { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2017", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "12", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "21", + "annotation": [] + }, + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "21", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + } + } + } + }, + { + "name": "output", + "value": { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2017", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "12", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "20", + "annotation": [] + }, + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "11", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + } + }, + "high": { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2017", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "12", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "21", + "annotation": [] + }, + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "21", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + } + } + } + } + ] + } + }, + { + "name": "TestPeriod2", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2017", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "12", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "20", + "annotation": [] + }, + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "30", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + } + }, + "high": { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2017", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "12", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "20", + "annotation": [] + }, + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "12", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + } + } + } + }, + { + "name": "output", + "value": { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2017", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "12", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "20", + "annotation": [] + }, + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "30", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + } + }, + "high": { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2017", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "12", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "20", + "annotation": [] + }, + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "12", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + } + } + } + } + ] + } + }, + { + "name": "Issue32Interval", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "And", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "In", + "precision": "Day", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Start", + "annotation": [], + "signature": [], + "operand": { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2017", + "annotation": [] }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal", - "annotation" : [ ] - } - } - }, { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal", - "annotation" : [ ] + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "12", + "annotation": [] }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "20", + "annotation": [] }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - } - }, - "high" : { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal", - "annotation" : [ ] + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "30", + "annotation": [] }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "25", - "type" : "Literal", - "annotation" : [ ] + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] } - } - }, { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal", - "annotation" : [ ] + }, + "high": { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2017", + "annotation": [] }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - } - }, - "high" : { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal", - "annotation" : [ ] + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "12", + "annotation": [] }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal", - "annotation" : [ ] + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "20", + "annotation": [] }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "25", - "type" : "Literal", - "annotation" : [ ] - } - } - }, { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal", - "annotation" : [ ] + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "12", + "annotation": [] }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal", - "annotation" : [ ] + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "20", - "type" : "Literal", - "annotation" : [ ] + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] } - }, - "high" : { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal", - "annotation" : [ ] + } + } + }, + { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "Start", + "annotation": [], + "signature": [], + "operand": { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2017", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "12", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "20", + "annotation": [] + }, + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "11", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + } }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "30", - "type" : "Literal", - "annotation" : [ ] + "high": { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2017", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "12", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "21", + "annotation": [] + }, + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "21", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + } } - } - } ] - }, { - "type" : "Null", - "annotation" : [ ] - } ] - } - }, { - "name" : "output", - "value" : { - "type" : "List", - "annotation" : [ ], - "element" : [ { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - } - }, - "high" : { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "25", - "type" : "Literal", - "annotation" : [ ] - } - } - }, { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - } - }, - "high" : { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "30", - "type" : "Literal", - "annotation" : [ ] - } - } - } ] - } - } ] - } - }, { - "name" : "DateTimeCollapse2", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Collapse", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "type" : "List", - "annotation" : [ ], - "element" : [ { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] + } + }, + "high": { + "type": "Add", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Start", + "annotation": [], + "signature": [], + "operand": { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2017", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "12", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "20", + "annotation": [] + }, + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "11", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + } + }, + "high": { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2017", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "12", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "21", + "annotation": [] + }, + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "21", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + } + } + } }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] + { + "type": "Quantity", + "value": 1, + "unit": "day", + "annotation": [] } - }, - "high" : { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] + ] + } + } + ] + }, + { + "type": "Not", + "annotation": [], + "signature": [], + "operand": { + "type": "IsNull", + "annotation": [], + "signature": [], + "operand": { + "type": "Start", + "annotation": [], + "signature": [], + "operand": { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2017", + "annotation": [] }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal", - "annotation" : [ ] - } - } - }, { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal", - "annotation" : [ ] + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "12", + "annotation": [] }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "20", + "annotation": [] }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "16", - "type" : "Literal", - "annotation" : [ ] - } - }, - "high" : { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal", - "annotation" : [ ] + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "11", + "annotation": [] }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal", - "annotation" : [ ] + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "25", - "type" : "Literal", - "annotation" : [ ] + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] } - } - } ] - }, { - "type" : "Null", - "annotation" : [ ] - } ] - } - }, { - "name" : "output", - "value" : { - "type" : "List", - "annotation" : [ ], - "element" : [ { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - } - }, - "high" : { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "25", - "type" : "Literal", - "annotation" : [ ] - } - } - } ] - } - } ] - } - }, { - "name" : "TimeCollapse", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Collapse", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "type" : "List", - "annotation" : [ ], - "element" : [ { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "type" : "Time", - "annotation" : [ ], - "signature" : [ ], - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] + }, + "high": { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2017", + "annotation": [] }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "12", + "annotation": [] }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "999", - "type" : "Literal", - "annotation" : [ ] - } - }, - "high" : { - "type" : "Time", - "annotation" : [ ], - "signature" : [ ], - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "21", + "annotation": [] }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "21", + "annotation": [] }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "999", - "type" : "Literal", - "annotation" : [ ] + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] } - } - }, { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "type" : "Time", - "annotation" : [ ], - "signature" : [ ], - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "8", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "999", - "type" : "Literal", - "annotation" : [ ] + } + } + } + } + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "true", + "annotation": [] + } + } + ] + } + } + ] + } + }, + { + "name": "Includes", + "context": "Patient", + "accessLevel": "Public", + "annotation": [], + "expression": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "TestIncludesNull", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Contains", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + }, + "high": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + } + }, + { + "type": "As", + "asType": "{urn:hl7-org:elm-types:r1}Integer", + "annotation": [], + "signature": [], + "operand": { + "type": "Null", + "annotation": [] + } + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Null", + "annotation": [] + } + } + ] + } + }, + { + "name": "IntegerIntervalIncludesTrue", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Includes", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + }, + "high": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + } + }, + { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "4", + "annotation": [] + }, + "high": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + } + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "true", + "annotation": [] + } + } + ] + } + }, + { + "name": "IntegerIntervalIncludesFalse", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Includes", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + }, + "high": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + } + }, + { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "44", + "annotation": [] + }, + "high": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "50", + "annotation": [] + } + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "false", + "annotation": [] + } + } + ] + } + }, + { + "name": "DecimalIntervalIncludesTrue", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Includes", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "1.0", + "annotation": [] + }, + "high": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "10.0", + "annotation": [] + } + }, + { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "4.0", + "annotation": [] + }, + "high": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "10.0", + "annotation": [] + } + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "true", + "annotation": [] + } + } + ] + } + }, + { + "name": "DecimalIntervalIncludesFalse", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Includes", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "1.0", + "annotation": [] + }, + "high": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "10.0", + "annotation": [] + } + }, + { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "11.0", + "annotation": [] + }, + "high": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "20.0", + "annotation": [] + } + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "false", + "annotation": [] + } + } + ] + } + }, + { + "name": "QuantityIntervalIncludesTrue", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Includes", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "Quantity", + "value": 1, + "unit": "g", + "annotation": [] + }, + "high": { + "type": "Quantity", + "value": 10, + "unit": "g", + "annotation": [] + } + }, + { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "Quantity", + "value": 5, + "unit": "g", + "annotation": [] + }, + "high": { + "type": "Quantity", + "value": 10, + "unit": "g", + "annotation": [] + } + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "true", + "annotation": [] + } + } + ] + } + }, + { + "name": "QuantityIntervalIncludesFalse", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Includes", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "Quantity", + "value": 1, + "unit": "g", + "annotation": [] + }, + "high": { + "type": "Quantity", + "value": 10, + "unit": "g", + "annotation": [] + } + }, + { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "Quantity", + "value": 11, + "unit": "g", + "annotation": [] + }, + "high": { + "type": "Quantity", + "value": 20, + "unit": "g", + "annotation": [] + } + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "false", + "annotation": [] + } + } + ] + } + }, + { + "name": "DateTimeIncludesTrue", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Includes", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2012", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "5", + "annotation": [] + } + }, + "high": { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2012", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "15", + "annotation": [] + } + } + }, + { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2012", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "7", + "annotation": [] + } + }, + "high": { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2012", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "14", + "annotation": [] + } + } + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "true", + "annotation": [] + } + } + ] + } + }, + { + "name": "DateTimeIncludesFalse", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Includes", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2012", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "5", + "annotation": [] + } + }, + "high": { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2012", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "15", + "annotation": [] + } + } + }, + { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2012", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "4", + "annotation": [] + } + }, + "high": { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2012", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "14", + "annotation": [] + } + } + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "false", + "annotation": [] + } + } + ] + } + }, + { + "name": "TimeIncludesTrue", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Includes", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "Time", + "annotation": [], + "signature": [], + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "5", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "999", + "annotation": [] + } + }, + "high": { + "type": "Time", + "annotation": [], + "signature": [], + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "999", + "annotation": [] + } + } + }, + { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "Time", + "annotation": [], + "signature": [], + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "6", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "999", + "annotation": [] + } + }, + "high": { + "type": "Time", + "annotation": [], + "signature": [], + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "9", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "999", + "annotation": [] + } + } + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "true", + "annotation": [] + } + } + ] + } + }, + { + "name": "TimeIncludesFalse", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Includes", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "Time", + "annotation": [], + "signature": [], + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "5", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "999", + "annotation": [] + } + }, + "high": { + "type": "Time", + "annotation": [], + "signature": [], + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "999", + "annotation": [] + } + } + }, + { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "Time", + "annotation": [], + "signature": [], + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "4", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "999", + "annotation": [] + } + }, + "high": { + "type": "Time", + "annotation": [], + "signature": [], + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "9", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "999", + "annotation": [] + } + } + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "false", + "annotation": [] + } + } + ] + } + } + ] + } + }, + { + "name": "Included In", + "context": "Patient", + "accessLevel": "Public", + "annotation": [], + "expression": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "TestIncludedInNull", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "In", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "As", + "asType": "{urn:hl7-org:elm-types:r1}Integer", + "annotation": [], + "signature": [], + "operand": { + "type": "Null", + "annotation": [] + } + }, + { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + }, + "high": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + } + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Null", + "annotation": [] + } + } + ] + } + }, + { + "name": "IntegerIntervalIncludedInTrue", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "IncludedIn", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "4", + "annotation": [] + }, + "high": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + } + }, + { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + }, + "high": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + } + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "true", + "annotation": [] + } + } + ] + } + }, + { + "name": "IntegerIntervalIncludedInFalse", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "IncludedIn", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "44", + "annotation": [] + }, + "high": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "50", + "annotation": [] + } + }, + { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + }, + "high": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + } + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "false", + "annotation": [] + } + } + ] + } + }, + { + "name": "DecimalIntervalIncludedInTrue", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "IncludedIn", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "4.0", + "annotation": [] + }, + "high": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "10.0", + "annotation": [] + } + }, + { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "1.0", + "annotation": [] + }, + "high": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "10.0", + "annotation": [] + } + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "true", + "annotation": [] + } + } + ] + } + }, + { + "name": "DecimalIntervalIncludedInFalse", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "IncludedIn", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "11.0", + "annotation": [] + }, + "high": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "20.0", + "annotation": [] + } + }, + { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "1.0", + "annotation": [] + }, + "high": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "10.0", + "annotation": [] + } + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "false", + "annotation": [] + } + } + ] + } + }, + { + "name": "QuantityIntervalIncludedInTrue", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "IncludedIn", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "Quantity", + "value": 5, + "unit": "g", + "annotation": [] + }, + "high": { + "type": "Quantity", + "value": 10, + "unit": "g", + "annotation": [] + } + }, + { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "Quantity", + "value": 1, + "unit": "g", + "annotation": [] + }, + "high": { + "type": "Quantity", + "value": 10, + "unit": "g", + "annotation": [] + } + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "true", + "annotation": [] + } + } + ] + } + }, + { + "name": "QuantityIntervalIncludedInFalse", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "IncludedIn", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "Quantity", + "value": 11, + "unit": "g", + "annotation": [] + }, + "high": { + "type": "Quantity", + "value": 20, + "unit": "g", + "annotation": [] + } + }, + { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "Quantity", + "value": 1, + "unit": "g", + "annotation": [] + }, + "high": { + "type": "Quantity", + "value": 10, + "unit": "g", + "annotation": [] + } + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "false", + "annotation": [] + } + } + ] + } + }, + { + "name": "DateTimeIncludedInTrue", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "IncludedIn", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2012", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "7", + "annotation": [] + } + }, + "high": { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2012", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "14", + "annotation": [] + } + } + }, + { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2012", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "5", + "annotation": [] + } + }, + "high": { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2012", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "15", + "annotation": [] + } + } + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "true", + "annotation": [] + } + } + ] + } + }, + { + "name": "DateTimeIncludedInFalse", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "IncludedIn", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2012", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "4", + "annotation": [] + } + }, + "high": { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2012", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "14", + "annotation": [] + } + } + }, + { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2012", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "5", + "annotation": [] + } + }, + "high": { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2012", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "15", + "annotation": [] + } + } + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "false", + "annotation": [] + } + } + ] + } + }, + { + "name": "TimeIncludedInTrue", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "IncludedIn", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "Time", + "annotation": [], + "signature": [], + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "6", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "999", + "annotation": [] + } + }, + "high": { + "type": "Time", + "annotation": [], + "signature": [], + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "9", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "999", + "annotation": [] + } + } + }, + { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "Time", + "annotation": [], + "signature": [], + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "5", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "999", + "annotation": [] + } + }, + "high": { + "type": "Time", + "annotation": [], + "signature": [], + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "999", + "annotation": [] + } + } + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "true", + "annotation": [] + } + } + ] + } + }, + { + "name": "TimeIncludedInFalse", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "IncludedIn", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "Time", + "annotation": [], + "signature": [], + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "4", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "999", + "annotation": [] + } + }, + "high": { + "type": "Time", + "annotation": [], + "signature": [], + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "9", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "999", + "annotation": [] + } + } + }, + { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "Time", + "annotation": [], + "signature": [], + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "5", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "999", + "annotation": [] + } + }, + "high": { + "type": "Time", + "annotation": [], + "signature": [], + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "999", + "annotation": [] + } + } + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "false", + "annotation": [] + } + } + ] + } + }, + { + "name": "DateTimeIncludedInNull", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "IncludedIn", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2017", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "9", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + }, + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + } + }, + "high": { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2017", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "9", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + }, + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + } + } + }, + { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2017", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "9", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + }, + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + } + }, + "high": { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2017", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "12", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "30", + "annotation": [] + }, + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "23", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "999", + "annotation": [] + } + } + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Null", + "annotation": [] + } + } + ] + } + }, + { + "name": "DateTimeIncludedInPrecisionTrue", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "IncludedIn", + "precision": "Day", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2017", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "9", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + }, + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + } + }, + "high": { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2017", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "9", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + }, + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + } + } + }, + { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2017", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "9", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + }, + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + } + }, + "high": { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2017", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "12", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "30", + "annotation": [] + }, + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "23", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "999", + "annotation": [] + } + } + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "true", + "annotation": [] + } + } + ] + } + }, + { + "name": "DateTimeIncludedInPrecisionNull", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "IncludedIn", + "precision": "Millisecond", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2017", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "9", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + }, + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + } + }, + "high": { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2017", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "9", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + }, + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + } + } + }, + { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2017", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "9", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + }, + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + } + }, + "high": { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2017", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "12", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "30", + "annotation": [] + }, + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "23", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "999", + "annotation": [] + } + } + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Null", + "annotation": [] + } + } + ] + } + } + ] + } + }, + { + "name": "Intersect", + "context": "Patient", + "accessLevel": "Public", + "annotation": [], + "expression": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "TestIntersectNull", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "skipped", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}String", + "value": "Wrong answer (Interval[5, 10] vs Interval[5, null))", + "annotation": [] + } + } + ] + } + }, + { + "name": "TestIntersectNull1", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "LessOrEqual", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Start", + "annotation": [], + "signature": [], + "operand": { + "type": "Intersect", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + }, + "high": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + } + }, + { + "type": "Interval", + "lowClosed": true, + "highClosed": false, + "annotation": [], + "low": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "5", + "annotation": [] + }, + "high": { + "type": "As", + "asType": "{urn:hl7-org:elm-types:r1}Integer", + "annotation": [], + "signature": [], + "operand": { + "type": "Null", + "annotation": [] } - }, - "high" : { - "type" : "Time", - "annotation" : [ ], - "signature" : [ ], - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "999", - "type" : "Literal", - "annotation" : [ ] + } + } + ] + } + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "true", + "annotation": [] + } + } + ] + } + }, + { + "name": "TestIntersectNull2", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "GreaterOrEqual", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Start", + "annotation": [], + "signature": [], + "operand": { + "type": "Intersect", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + }, + "high": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + } + }, + { + "type": "Interval", + "lowClosed": true, + "highClosed": false, + "annotation": [], + "low": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "5", + "annotation": [] + }, + "high": { + "type": "As", + "asType": "{urn:hl7-org:elm-types:r1}Integer", + "annotation": [], + "signature": [], + "operand": { + "type": "Null", + "annotation": [] } - } - }, { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "type" : "Time", - "annotation" : [ ], - "signature" : [ ], - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "17", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "999", - "type" : "Literal", - "annotation" : [ ] + } + } + ] + } + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "5", + "annotation": [] + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "true", + "annotation": [] + } + } + ] + } + }, + { + "name": "TestIntersectNull3", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Greater", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Start", + "annotation": [], + "signature": [], + "operand": { + "type": "Intersect", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + }, + "high": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + } + }, + { + "type": "Interval", + "lowClosed": true, + "highClosed": false, + "annotation": [], + "low": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "5", + "annotation": [] + }, + "high": { + "type": "As", + "asType": "{urn:hl7-org:elm-types:r1}Integer", + "annotation": [], + "signature": [], + "operand": { + "type": "Null", + "annotation": [] } - }, - "high" : { - "type" : "Time", - "annotation" : [ ], - "signature" : [ ], - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "20", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "999", - "type" : "Literal", - "annotation" : [ ] + } + } + ] + } + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "false", + "annotation": [] + } + } + ] + } + }, + { + "name": "TestIntersectNull4", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Less", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Start", + "annotation": [], + "signature": [], + "operand": { + "type": "Intersect", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + }, + "high": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + } + }, + { + "type": "Interval", + "lowClosed": true, + "highClosed": false, + "annotation": [], + "low": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "5", + "annotation": [] + }, + "high": { + "type": "As", + "asType": "{urn:hl7-org:elm-types:r1}Integer", + "annotation": [], + "signature": [], + "operand": { + "type": "Null", + "annotation": [] } - } - }, { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "type" : "Time", - "annotation" : [ ], - "signature" : [ ], - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "18", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "999", - "type" : "Literal", - "annotation" : [ ] - } - }, - "high" : { - "type" : "Time", - "annotation" : [ ], - "signature" : [ ], - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "22", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "999", - "type" : "Literal", - "annotation" : [ ] - } - } - } ] - }, { - "type" : "Null", - "annotation" : [ ] - } ] - } - }, { - "name" : "output", - "value" : { - "type" : "List", - "annotation" : [ ], - "element" : [ { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "type" : "Time", - "annotation" : [ ], - "signature" : [ ], - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "999", - "type" : "Literal", - "annotation" : [ ] - } - }, - "high" : { - "type" : "Time", - "annotation" : [ ], - "signature" : [ ], - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "999", - "type" : "Literal", - "annotation" : [ ] - } - } - }, { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "type" : "Time", - "annotation" : [ ], - "signature" : [ ], - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "17", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "999", - "type" : "Literal", - "annotation" : [ ] - } - }, - "high" : { - "type" : "Time", - "annotation" : [ ], - "signature" : [ ], - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "22", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "999", - "type" : "Literal", - "annotation" : [ ] - } - } - } ] - } - } ] - } - }, { - "name" : "TimeCollapse2", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Collapse", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "type" : "List", - "annotation" : [ ], - "element" : [ { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "type" : "Time", - "annotation" : [ ], - "signature" : [ ], - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "999", - "type" : "Literal", - "annotation" : [ ] - } - }, - "high" : { - "type" : "Time", - "annotation" : [ ], - "signature" : [ ], - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "999", - "type" : "Literal", - "annotation" : [ ] - } - } - }, { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "type" : "Time", - "annotation" : [ ], - "signature" : [ ], - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "11", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - } - }, - "high" : { - "type" : "Time", - "annotation" : [ ], - "signature" : [ ], - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "999", - "type" : "Literal", - "annotation" : [ ] - } - } - } ] - }, { - "type" : "Null", - "annotation" : [ ] - } ] - } - }, { - "name" : "output", - "value" : { - "type" : "List", - "annotation" : [ ], - "element" : [ { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "type" : "Time", - "annotation" : [ ], - "signature" : [ ], - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "999", - "type" : "Literal", - "annotation" : [ ] - } - }, - "high" : { - "type" : "Time", - "annotation" : [ ], - "signature" : [ ], - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "999", - "type" : "Literal", - "annotation" : [ ] - } - } - } ] - } - } ] - } - } ] - } - }, { - "name" : "Expand", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ ], - "expression" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "ExpandPerDay", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Expand", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "type" : "List", - "annotation" : [ ], - "element" : [ { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "type" : "Date", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2018", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - } - }, - "high" : { - "type" : "Date", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2018", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "4", - "type" : "Literal", - "annotation" : [ ] - } - } - } ] - }, { - "value" : 1.0, - "unit" : "day", - "type" : "Quantity", - "annotation" : [ ] - } ] - } - }, { - "name" : "output", - "value" : { - "type" : "List", - "annotation" : [ ], - "element" : [ { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "type" : "Date", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2018", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - } - }, - "high" : { - "type" : "Date", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2018", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - } - } - }, { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "type" : "Date", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2018", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal", - "annotation" : [ ] - } - }, - "high" : { - "type" : "Date", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2018", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal", - "annotation" : [ ] - } - } - }, { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "type" : "Date", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2018", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal", - "annotation" : [ ] - } - }, - "high" : { - "type" : "Date", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2018", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal", - "annotation" : [ ] - } - } - }, { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "type" : "Date", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2018", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "4", - "type" : "Literal", - "annotation" : [ ] - } - }, - "high" : { - "type" : "Date", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2018", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "4", - "type" : "Literal", - "annotation" : [ ] - } - } - } ] - } - } ] - } - }, { - "name" : "ExpandPer2Days", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Expand", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "type" : "List", - "annotation" : [ ], - "element" : [ { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "type" : "Date", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2018", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - } - }, - "high" : { - "type" : "Date", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2018", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "4", - "type" : "Literal", - "annotation" : [ ] - } - } - } ] - }, { - "value" : 2, - "unit" : "days", - "type" : "Quantity", - "annotation" : [ ] - } ] - } - }, { - "name" : "output", - "value" : { - "type" : "List", - "annotation" : [ ], - "element" : [ { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "type" : "Date", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2018", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - } - }, - "high" : { - "type" : "Date", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2018", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal", - "annotation" : [ ] - } - } - }, { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "type" : "Date", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2018", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal", - "annotation" : [ ] - } - }, - "high" : { - "type" : "Date", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2018", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "4", - "type" : "Literal", - "annotation" : [ ] - } - } - } ] - } - } ] - } - }, { - "name" : "ExpandPerHour", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "skipped", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "Wrong output: This test is drawn directly from an example in the spec and yet expects a different answer! See: https://cql.hl7.org/09-b-cqlreference.html#expand", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "ExpandPer1", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "skipped", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "Translation Error: Could not resolve call to operator Expand with signature (list>,System.Integer).", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "ExpandPerMinute", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Expand", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "type" : "List", - "annotation" : [ ], - "element" : [ { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "type" : "Time", - "annotation" : [ ], - "signature" : [ ], - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - } - }, - "high" : { - "type" : "Time", - "annotation" : [ ], - "signature" : [ ], - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - } - } - } ] - }, { - "value" : 1.0, - "unit" : "minute", - "type" : "Quantity", - "annotation" : [ ] - } ] - } - }, { - "name" : "output", - "value" : { - "type" : "List", - "annotation" : [ ], - "element" : [ ] - } - } ] - } - }, { - "name" : "ExpandPer0D1", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "skipped", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "Translation Error: Could not resolve call to operator Expand with signature (list>,System.Decimal).", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "ExpandInterval", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Expand", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "type" : "List", - "annotation" : [ ], - "element" : [ { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - }, - "high" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - } - } ] - }, { - "type" : "Null", - "annotation" : [ ] - } ] - } - }, { - "name" : "output", - "value" : { - "type" : "List", - "annotation" : [ ], - "element" : [ { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - }, - "high" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal", - "annotation" : [ ] - }, - "high" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal", - "annotation" : [ ] - }, - "high" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "4", - "type" : "Literal", - "annotation" : [ ] - }, - "high" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "4", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal", - "annotation" : [ ] - }, - "high" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "6", - "type" : "Literal", - "annotation" : [ ] - }, - "high" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "6", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "7", - "type" : "Literal", - "annotation" : [ ] - }, - "high" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "7", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "8", - "type" : "Literal", - "annotation" : [ ] - }, - "high" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "8", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "9", - "type" : "Literal", - "annotation" : [ ] - }, - "high" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "9", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - }, - "high" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - } ] - } - }, { - "name" : "ExpandIntervalPer2", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Expand", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "type" : "List", - "annotation" : [ ], - "element" : [ { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - }, - "high" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - } - } ] - }, { - "value" : 2, - "unit" : "1", - "type" : "Quantity", - "annotation" : [ ] - } ] - } - }, { - "name" : "output", - "value" : { - "type" : "List", - "annotation" : [ ], - "element" : [ { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - }, - "high" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal", - "annotation" : [ ] - }, - "high" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "4", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal", - "annotation" : [ ] - }, - "high" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "6", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "7", - "type" : "Literal", - "annotation" : [ ] - }, - "high" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "8", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "9", - "type" : "Literal", - "annotation" : [ ] - }, - "high" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - } ] - } - } ] - } - }, { - "name" : "Contains", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ ], - "expression" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "TestContainsNull", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Contains", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - }, - "high" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "asType" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "As", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "type" : "Null", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "output", - "value" : { - "type" : "Null", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "TestNullElement1", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Contains", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "type" : "As", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "type" : "Null", - "annotation" : [ ] - }, - "asTypeSpecifier" : { - "type" : "IntervalTypeSpecifier", - "annotation" : [ ], - "pointType" : { - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier", - "annotation" : [ ] - } - } - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal", - "annotation" : [ ] - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "false", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "TestNullElement2", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Contains", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "asType" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "As", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "type" : "Null", - "annotation" : [ ] - } - }, - "high" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "false", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "IntegerIntervalContainsTrue", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Contains", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - }, - "high" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal", - "annotation" : [ ] - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "true", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "IntegerIntervalContainsFalse", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Contains", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - }, - "high" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "25", - "type" : "Literal", - "annotation" : [ ] - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "false", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "DecimalIntervalContainsTrue", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Contains", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "1.0", - "type" : "Literal", - "annotation" : [ ] - }, - "high" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "10.0", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "8.0", - "type" : "Literal", - "annotation" : [ ] - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "true", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "DecimalIntervalContainsFalse", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Contains", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "1.0", - "type" : "Literal", - "annotation" : [ ] - }, - "high" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "10.0", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "255.0", - "type" : "Literal", - "annotation" : [ ] - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "false", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "QuantityIntervalContainsTrue", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Contains", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "value" : 1.0, - "unit" : "g", - "type" : "Quantity", - "annotation" : [ ] - }, - "high" : { - "value" : 10.0, - "unit" : "g", - "type" : "Quantity", - "annotation" : [ ] - } - }, { - "value" : 2.0, - "unit" : "g", - "type" : "Quantity", - "annotation" : [ ] - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "true", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "QuantityIntervalContainsFalse", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Contains", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "value" : 1.0, - "unit" : "g", - "type" : "Quantity", - "annotation" : [ ] - }, - "high" : { - "value" : 10.0, - "unit" : "g", - "type" : "Quantity", - "annotation" : [ ] - } - }, { - "value" : 100.0, - "unit" : "g", - "type" : "Quantity", - "annotation" : [ ] - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "false", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "DateTimeContainsTrue", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Contains", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - } - }, - "high" : { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal", - "annotation" : [ ] - } - } - }, { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "true", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "DateTimeContainsFalse", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Contains", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - } - }, - "high" : { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal", - "annotation" : [ ] - } - } - }, { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "16", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "false", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "TimeContainsTrue", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Contains", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "type" : "Time", - "annotation" : [ ], - "signature" : [ ], - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "999", - "type" : "Literal", - "annotation" : [ ] - } - }, - "high" : { - "type" : "Time", - "annotation" : [ ], - "signature" : [ ], - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "999", - "type" : "Literal", - "annotation" : [ ] - } - } - }, { - "type" : "Time", - "annotation" : [ ], - "signature" : [ ], - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "999", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "true", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "TimeContainsFalse", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Contains", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "type" : "Time", - "annotation" : [ ], - "signature" : [ ], - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "999", - "type" : "Literal", - "annotation" : [ ] - } - }, - "high" : { - "type" : "Time", - "annotation" : [ ], - "signature" : [ ], - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "999", - "type" : "Literal", - "annotation" : [ ] - } - } - }, { - "type" : "Time", - "annotation" : [ ], - "signature" : [ ], - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "999", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "false", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - } ] - } - }, { - "name" : "End", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ ], - "expression" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "IntegerIntervalEnd", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "End", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - }, - "high" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - } - } - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "DecimalIntervalEnd", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "End", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "1.0", - "type" : "Literal", - "annotation" : [ ] - }, - "high" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "10.0", - "type" : "Literal", - "annotation" : [ ] - } - } - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "10.0", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "QuantityIntervalEnd", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "End", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "value" : 1.0, - "unit" : "g", - "type" : "Quantity", - "annotation" : [ ] - }, - "high" : { - "value" : 10.0, - "unit" : "g", - "type" : "Quantity", - "annotation" : [ ] - } - } - } - }, { - "name" : "output", - "value" : { - "value" : 10.0, - "unit" : "g", - "type" : "Quantity", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "DateTimeIntervalEnd", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "End", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2016", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - }, - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - } - }, - "high" : { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2016", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal", - "annotation" : [ ] - }, - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - } - } - } - } - }, { - "name" : "output", - "value" : { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2016", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal", - "annotation" : [ ] - }, - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - } - } - } ] - } - }, { - "name" : "TimeIntervalEnd", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "End", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "type" : "Time", - "annotation" : [ ], - "signature" : [ ], - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - } - }, - "high" : { - "type" : "Time", - "annotation" : [ ], - "signature" : [ ], - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "23", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "599", - "type" : "Literal", - "annotation" : [ ] - } - } - } - } - }, { - "name" : "output", - "value" : { - "type" : "Time", - "annotation" : [ ], - "signature" : [ ], - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "23", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "599", - "type" : "Literal", - "annotation" : [ ] - } - } - } ] - } - } ] - } - }, { - "name" : "Ends", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ ], - "expression" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "TestEndsNull", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Ends", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - }, - "high" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "type" : "Interval", - "annotation" : [ ], - "low" : { - "asType" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "As", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "path" : "low", - "type" : "Property", - "annotation" : [ ], - "source" : { - "lowClosed" : false, - "highClosed" : false, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "type" : "Null", - "annotation" : [ ] - }, - "high" : { - "type" : "Null", - "annotation" : [ ] - } - } - } - }, - "lowClosedExpression" : { - "path" : "lowClosed", - "type" : "Property", - "annotation" : [ ], - "source" : { - "lowClosed" : false, - "highClosed" : false, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "type" : "Null", - "annotation" : [ ] - }, - "high" : { - "type" : "Null", - "annotation" : [ ] - } - } - }, - "high" : { - "asType" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "As", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "path" : "high", - "type" : "Property", - "annotation" : [ ], - "source" : { - "lowClosed" : false, - "highClosed" : false, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "type" : "Null", - "annotation" : [ ] - }, - "high" : { - "type" : "Null", - "annotation" : [ ] - } - } - } - }, - "highClosedExpression" : { - "path" : "highClosed", - "type" : "Property", - "annotation" : [ ], - "source" : { - "lowClosed" : false, - "highClosed" : false, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "type" : "Null", - "annotation" : [ ] - }, - "high" : { - "type" : "Null", - "annotation" : [ ] - } - } - } - } ] - } - }, { - "name" : "output", - "value" : { - "type" : "Null", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "IntegerIntervalEndsTrue", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Ends", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "4", - "type" : "Literal", - "annotation" : [ ] - }, - "high" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - }, - "high" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "true", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "IntegerIntervalEndsFalse", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Ends", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "44", - "type" : "Literal", - "annotation" : [ ] - }, - "high" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "50", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - }, - "high" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "false", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "DecimalIntervalEndsTrue", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Ends", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "4.0", - "type" : "Literal", - "annotation" : [ ] - }, - "high" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "10.0", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "1.0", - "type" : "Literal", - "annotation" : [ ] - }, - "high" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "10.0", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "true", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "DecimalIntervalEndsFalse", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Ends", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "11.0", - "type" : "Literal", - "annotation" : [ ] - }, - "high" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "20.0", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "1.0", - "type" : "Literal", - "annotation" : [ ] - }, - "high" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "10.0", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "false", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "QuantityIntervalEndsTrue", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Ends", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "value" : 5.0, - "unit" : "g", - "type" : "Quantity", - "annotation" : [ ] - }, - "high" : { - "value" : 10.0, - "unit" : "g", - "type" : "Quantity", - "annotation" : [ ] - } - }, { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "value" : 1.0, - "unit" : "g", - "type" : "Quantity", - "annotation" : [ ] - }, - "high" : { - "value" : 10.0, - "unit" : "g", - "type" : "Quantity", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "true", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "QuantityIntervalEndsFalse", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Ends", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "value" : 11.0, - "unit" : "g", - "type" : "Quantity", - "annotation" : [ ] - }, - "high" : { - "value" : 20.0, - "unit" : "g", - "type" : "Quantity", - "annotation" : [ ] - } - }, { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "value" : 1.0, - "unit" : "g", - "type" : "Quantity", - "annotation" : [ ] - }, - "high" : { - "value" : 10.0, - "unit" : "g", - "type" : "Quantity", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "false", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "DateTimeEndsTrue", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Ends", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal", - "annotation" : [ ] - } - }, - "high" : { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal", - "annotation" : [ ] - } - } - }, { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - } - }, - "high" : { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal", - "annotation" : [ ] - } - } - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "true", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "DateTimeEndsFalse", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Ends", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal", - "annotation" : [ ] - } - }, - "high" : { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal", - "annotation" : [ ] - } - } - }, { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - } - }, - "high" : { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "16", - "type" : "Literal", - "annotation" : [ ] - } - } - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "false", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "TimeEndsTrue", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Ends", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "type" : "Time", - "annotation" : [ ], - "signature" : [ ], - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "999", - "type" : "Literal", - "annotation" : [ ] - } - }, - "high" : { - "type" : "Time", - "annotation" : [ ], - "signature" : [ ], - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "999", - "type" : "Literal", - "annotation" : [ ] - } - } - }, { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "type" : "Time", - "annotation" : [ ], - "signature" : [ ], - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "999", - "type" : "Literal", - "annotation" : [ ] - } - }, - "high" : { - "type" : "Time", - "annotation" : [ ], - "signature" : [ ], - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "999", - "type" : "Literal", - "annotation" : [ ] - } - } - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "true", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "TimeEndsFalse", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Ends", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "type" : "Time", - "annotation" : [ ], - "signature" : [ ], - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "999", - "type" : "Literal", - "annotation" : [ ] - } - }, - "high" : { - "type" : "Time", - "annotation" : [ ], - "signature" : [ ], - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "999", - "type" : "Literal", - "annotation" : [ ] - } - } - }, { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "type" : "Time", - "annotation" : [ ], - "signature" : [ ], - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "999", - "type" : "Literal", - "annotation" : [ ] - } - }, - "high" : { - "type" : "Time", - "annotation" : [ ], - "signature" : [ ], - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "11", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "999", - "type" : "Literal", - "annotation" : [ ] - } - } - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "false", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - } ] - } - }, { - "name" : "Equal", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ ], - "expression" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "TestEqualNull", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Equal", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - }, - "high" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "type" : "Interval", - "annotation" : [ ], - "low" : { - "asType" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "As", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "path" : "low", - "type" : "Property", - "annotation" : [ ], - "source" : { - "lowClosed" : false, - "highClosed" : false, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "type" : "Null", - "annotation" : [ ] - }, - "high" : { - "type" : "Null", - "annotation" : [ ] - } - } - } - }, - "lowClosedExpression" : { - "path" : "lowClosed", - "type" : "Property", - "annotation" : [ ], - "source" : { - "lowClosed" : false, - "highClosed" : false, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "type" : "Null", - "annotation" : [ ] - }, - "high" : { - "type" : "Null", - "annotation" : [ ] - } - } - }, - "high" : { - "asType" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "As", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "path" : "high", - "type" : "Property", - "annotation" : [ ], - "source" : { - "lowClosed" : false, - "highClosed" : false, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "type" : "Null", - "annotation" : [ ] - }, - "high" : { - "type" : "Null", - "annotation" : [ ] - } - } - } - }, - "highClosedExpression" : { - "path" : "highClosed", - "type" : "Property", - "annotation" : [ ], - "source" : { - "lowClosed" : false, - "highClosed" : false, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "type" : "Null", - "annotation" : [ ] - }, - "high" : { - "type" : "Null", - "annotation" : [ ] - } - } - } - } ] - } - }, { - "name" : "output", - "value" : { - "type" : "Null", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "IntegerIntervalEqualTrue", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Equal", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - }, - "high" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - }, - "high" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "true", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "IntegerIntervalEqualFalse", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Equal", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - }, - "high" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "11", - "type" : "Literal", - "annotation" : [ ] - }, - "high" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "20", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "false", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "DecimalIntervalEqualTrue", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Equal", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "1.0", - "type" : "Literal", - "annotation" : [ ] - }, - "high" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "10.0", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "1.0", - "type" : "Literal", - "annotation" : [ ] - }, - "high" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "10.0", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "true", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "DecimalIntervalEqualFalse", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Equal", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "1.0", - "type" : "Literal", - "annotation" : [ ] - }, - "high" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "10.0", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "11.0", - "type" : "Literal", - "annotation" : [ ] - }, - "high" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "20.0", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "false", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "QuantityIntervalEqualTrue", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Equal", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "value" : 1.0, - "unit" : "g", - "type" : "Quantity", - "annotation" : [ ] - }, - "high" : { - "value" : 10.0, - "unit" : "g", - "type" : "Quantity", - "annotation" : [ ] - } - }, { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "value" : 1.0, - "unit" : "g", - "type" : "Quantity", - "annotation" : [ ] - }, - "high" : { - "value" : 10.0, - "unit" : "g", - "type" : "Quantity", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "true", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "QuantityIntervalEqualFalse", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Equal", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "value" : 1.0, - "unit" : "g", - "type" : "Quantity", - "annotation" : [ ] - }, - "high" : { - "value" : 10.0, - "unit" : "g", - "type" : "Quantity", - "annotation" : [ ] - } - }, { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "value" : 11.0, - "unit" : "g", - "type" : "Quantity", - "annotation" : [ ] - }, - "high" : { - "value" : 20.0, - "unit" : "g", - "type" : "Quantity", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "false", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "DateTimeEqualTrue", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Equal", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal", - "annotation" : [ ] - }, - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - } - }, - "high" : { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal", - "annotation" : [ ] - }, - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - } - } - }, { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal", - "annotation" : [ ] - }, - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - } - }, - "high" : { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal", - "annotation" : [ ] - }, - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - } - } - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "true", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "DateTimeEqualFalse", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Equal", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal", - "annotation" : [ ] - }, - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - } - }, - "high" : { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal", - "annotation" : [ ] - }, - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - } - } - }, { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal", - "annotation" : [ ] - }, - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - } - }, - "high" : { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "16", - "type" : "Literal", - "annotation" : [ ] - }, - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - } - } - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "false", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "TimeEqualTrue", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Equal", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "type" : "Time", - "annotation" : [ ], - "signature" : [ ], - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "999", - "type" : "Literal", - "annotation" : [ ] - } - }, - "high" : { - "type" : "Time", - "annotation" : [ ], - "signature" : [ ], - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "999", - "type" : "Literal", - "annotation" : [ ] - } - } - }, { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "type" : "Time", - "annotation" : [ ], - "signature" : [ ], - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "999", - "type" : "Literal", - "annotation" : [ ] - } - }, - "high" : { - "type" : "Time", - "annotation" : [ ], - "signature" : [ ], - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "999", - "type" : "Literal", - "annotation" : [ ] - } - } - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "true", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "TimeEqualFalse", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Equal", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "type" : "Time", - "annotation" : [ ], - "signature" : [ ], - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "999", - "type" : "Literal", - "annotation" : [ ] - } - }, - "high" : { - "type" : "Time", - "annotation" : [ ], - "signature" : [ ], - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "999", - "type" : "Literal", - "annotation" : [ ] - } - } - }, { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "type" : "Time", - "annotation" : [ ], - "signature" : [ ], - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "999", - "type" : "Literal", - "annotation" : [ ] - } - }, - "high" : { - "type" : "Time", - "annotation" : [ ], - "signature" : [ ], - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "58", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "999", - "type" : "Literal", - "annotation" : [ ] - } - } - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "false", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - } ] - } - }, { - "name" : "Except", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ ], - "expression" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "NullInterval", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "skipped", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "Wrong answer (Interval(null, null) vs null)", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "TestExceptNull", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Except", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "type" : "Null", - "annotation" : [ ] - }, - "high" : { - "type" : "Null", - "annotation" : [ ] - } - }, { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "type" : "Null", - "annotation" : [ ] - }, - "high" : { - "type" : "Null", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "output", - "value" : { - "type" : "Null", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "IntegerIntervalExcept1to3", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Except", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - }, - "high" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "4", - "type" : "Literal", - "annotation" : [ ] - }, - "high" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "output", - "value" : { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - }, - "high" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal", - "annotation" : [ ] - } - } - } ] - } - }, { - "name" : "IntegerIntervalExceptNull", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Except", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - }, - "high" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal", - "annotation" : [ ] - }, - "high" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "7", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "output", - "value" : { - "type" : "Null", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "DecimalIntervalExcept1to3", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "skipped", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "(Sort of) wrong answer (is open 4 end boundary 3 or 3.99999999?)", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "DecimalIntervalExceptNull", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Except", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "1.0", - "type" : "Literal", - "annotation" : [ ] - }, - "high" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "10.0", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "3.0", - "type" : "Literal", - "annotation" : [ ] - }, - "high" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "7.0", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "output", - "value" : { - "type" : "Null", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "QuantityIntervalExcept1to4", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "skipped", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "(Sort of) wrong answer (is open 5 end boundary 4 or 4.99999999?)", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "Except12", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Except", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - }, - "high" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "4", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal", - "annotation" : [ ] - }, - "high" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "6", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "output", - "value" : { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - }, - "high" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal", - "annotation" : [ ] - } - } - } ] - } - }, { - "name" : "ExceptDateTimeInterval", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Except", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal", - "annotation" : [ ] - } - }, - "high" : { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal", - "annotation" : [ ] - } - } - }, { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "7", - "type" : "Literal", - "annotation" : [ ] - } - }, - "high" : { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal", - "annotation" : [ ] - } - } - } ] - } - }, { - "name" : "output", - "value" : { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal", - "annotation" : [ ] - } - }, - "high" : { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "6", - "type" : "Literal", - "annotation" : [ ] - } - } - } - } ] - } - }, { - "name" : "ExceptDateTime2", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Except", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "7", - "type" : "Literal", - "annotation" : [ ] - } - }, - "high" : { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "16", - "type" : "Literal", - "annotation" : [ ] - } - } - }, { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal", - "annotation" : [ ] - } - }, - "high" : { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "12", - "type" : "Literal", - "annotation" : [ ] - } - } - } ] - } - }, { - "name" : "output", - "value" : { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "13", - "type" : "Literal", - "annotation" : [ ] - } - }, - "high" : { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "16", - "type" : "Literal", - "annotation" : [ ] - } - } - } - } ] - } - }, { - "name" : "ExceptTimeInterval", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Except", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "type" : "Time", - "annotation" : [ ], - "signature" : [ ], - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "999", - "type" : "Literal", - "annotation" : [ ] - } - }, - "high" : { - "type" : "Time", - "annotation" : [ ], - "signature" : [ ], - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "999", - "type" : "Literal", - "annotation" : [ ] - } - } - }, { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "type" : "Time", - "annotation" : [ ], - "signature" : [ ], - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "8", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "999", - "type" : "Literal", - "annotation" : [ ] - } - }, - "high" : { - "type" : "Time", - "annotation" : [ ], - "signature" : [ ], - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "999", - "type" : "Literal", - "annotation" : [ ] - } - } - } ] - } - }, { - "name" : "output", - "value" : { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "type" : "Time", - "annotation" : [ ], - "signature" : [ ], - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "999", - "type" : "Literal", - "annotation" : [ ] - } - }, - "high" : { - "type" : "Time", - "annotation" : [ ], - "signature" : [ ], - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "8", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "998", - "type" : "Literal", - "annotation" : [ ] - } - } - } - } ] - } - }, { - "name" : "ExceptTime2", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Except", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "type" : "Time", - "annotation" : [ ], - "signature" : [ ], - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "8", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "999", - "type" : "Literal", - "annotation" : [ ] - } - }, - "high" : { - "type" : "Time", - "annotation" : [ ], - "signature" : [ ], - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "11", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "999", - "type" : "Literal", - "annotation" : [ ] - } - } - }, { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "type" : "Time", - "annotation" : [ ], - "signature" : [ ], - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "999", - "type" : "Literal", - "annotation" : [ ] - } - }, - "high" : { - "type" : "Time", - "annotation" : [ ], - "signature" : [ ], - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "999", - "type" : "Literal", - "annotation" : [ ] - } - } - } ] - } - }, { - "name" : "output", - "value" : { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "type" : "Time", - "annotation" : [ ], - "signature" : [ ], - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "11", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - } - }, - "high" : { - "type" : "Time", - "annotation" : [ ], - "signature" : [ ], - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "11", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "999", - "type" : "Literal", - "annotation" : [ ] - } - } - } - } ] - } - } ] - } - }, { - "name" : "In", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ ], - "expression" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "TestInNullBoundaries", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "skipped", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "Wrong output: According to spec, comparison against null closed boundaries should result in true", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "IntegerIntervalInTrue", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "In", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal", - "annotation" : [ ] - }, { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - }, - "high" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "true", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "IntegerIntervalInFalse", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "In", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "500", - "type" : "Literal", - "annotation" : [ ] - }, { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - }, - "high" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "false", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "DecimalIntervalInTrue", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "In", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "9.0", - "type" : "Literal", - "annotation" : [ ] - }, { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "1.0", - "type" : "Literal", - "annotation" : [ ] - }, - "high" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "10.0", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "true", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "DecimalIntervalInFalse", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "In", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "type" : "Negate", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "2.0", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "1.0", - "type" : "Literal", - "annotation" : [ ] - }, - "high" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "10.0", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "false", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "QuantityIntervalInTrue", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "In", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "value" : 1.0, - "unit" : "g", - "type" : "Quantity", - "annotation" : [ ] - }, { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "value" : 1.0, - "unit" : "g", - "type" : "Quantity", - "annotation" : [ ] - }, - "high" : { - "value" : 10.0, - "unit" : "g", - "type" : "Quantity", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "true", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "QuantityIntervalInFalse", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "In", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "value" : 55.0, - "unit" : "g", - "type" : "Quantity", - "annotation" : [ ] - }, { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "value" : 1.0, - "unit" : "g", - "type" : "Quantity", - "annotation" : [ ] - }, - "high" : { - "value" : 10.0, - "unit" : "g", - "type" : "Quantity", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "false", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "DateTimeInTrue", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "In", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "7", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal", - "annotation" : [ ] - } - }, - "high" : { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal", - "annotation" : [ ] - } - } - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "true", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "DateTimeInFalse", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "In", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "17", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal", - "annotation" : [ ] - } - }, - "high" : { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal", - "annotation" : [ ] - } - } - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "false", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "DateTimeInNullTrue", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "In", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "7", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal", - "annotation" : [ ] - } - }, - "high" : { - "asType" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "As", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "type" : "Null", - "annotation" : [ ] - } - } - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "true", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "TimeInTrue", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "In", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "type" : "Time", - "annotation" : [ ], - "signature" : [ ], - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "7", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "999", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "type" : "Time", - "annotation" : [ ], - "signature" : [ ], - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "999", - "type" : "Literal", - "annotation" : [ ] - } - }, - "high" : { - "type" : "Time", - "annotation" : [ ], - "signature" : [ ], - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "999", - "type" : "Literal", - "annotation" : [ ] - } - } - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "true", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "TimeInFalse", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "In", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "type" : "Time", - "annotation" : [ ], - "signature" : [ ], - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "17", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "999", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "type" : "Time", - "annotation" : [ ], - "signature" : [ ], - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "999", - "type" : "Literal", - "annotation" : [ ] - } - }, - "high" : { - "type" : "Time", - "annotation" : [ ], - "signature" : [ ], - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "999", - "type" : "Literal", - "annotation" : [ ] - } - } - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "false", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "TimeInNull", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "In", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "asType" : "{urn:hl7-org:elm-types:r1}Time", - "type" : "As", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "type" : "Null", - "annotation" : [ ] - } - }, { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "type" : "Time", - "annotation" : [ ], - "signature" : [ ], - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "999", - "type" : "Literal", - "annotation" : [ ] - } - }, - "high" : { - "type" : "Time", - "annotation" : [ ], - "signature" : [ ], - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "999", - "type" : "Literal", - "annotation" : [ ] - } - } - } ] - } - }, { - "name" : "output", - "value" : { - "type" : "Null", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "TestPeriod1", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2017", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "12", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "20", - "type" : "Literal", - "annotation" : [ ] - }, - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "11", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - } - }, - "high" : { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2017", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "12", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "21", - "type" : "Literal", - "annotation" : [ ] - }, - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "21", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - } - } - } - }, { - "name" : "output", - "value" : { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2017", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "12", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "20", - "type" : "Literal", - "annotation" : [ ] - }, - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "11", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - } - }, - "high" : { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2017", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "12", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "21", - "type" : "Literal", - "annotation" : [ ] - }, - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "21", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - } - } - } - } ] - } - }, { - "name" : "TestPeriod2", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2017", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "12", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "20", - "type" : "Literal", - "annotation" : [ ] - }, - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "30", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - } - }, - "high" : { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2017", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "12", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "20", - "type" : "Literal", - "annotation" : [ ] - }, - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "12", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - } - } - } - }, { - "name" : "output", - "value" : { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2017", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "12", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "20", - "type" : "Literal", - "annotation" : [ ] - }, - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "30", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - } - }, - "high" : { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2017", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "12", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "20", - "type" : "Literal", - "annotation" : [ ] - }, - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "12", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - } - } - } - } ] - } - }, { - "name" : "Issue32Interval", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "And", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "precision" : "Day", - "type" : "In", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "type" : "Start", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2017", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "12", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "20", - "type" : "Literal", - "annotation" : [ ] - }, - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "30", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - } - }, - "high" : { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2017", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "12", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "20", - "type" : "Literal", - "annotation" : [ ] - }, - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "12", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - } - } - } - }, { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "type" : "Start", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2017", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "12", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "20", - "type" : "Literal", - "annotation" : [ ] - }, - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "11", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - } - }, - "high" : { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2017", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "12", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "21", - "type" : "Literal", - "annotation" : [ ] - }, - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "21", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - } - } - } - }, - "high" : { - "type" : "Add", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "type" : "Start", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2017", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "12", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "20", - "type" : "Literal", - "annotation" : [ ] - }, - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "11", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - } - }, - "high" : { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2017", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "12", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "21", - "type" : "Literal", - "annotation" : [ ] - }, - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "21", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - } - } - } - }, { - "value" : 1, - "unit" : "day", - "type" : "Quantity", - "annotation" : [ ] - } ] - } - } ] - }, { - "type" : "Not", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "type" : "IsNull", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "type" : "Start", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2017", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "12", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "20", - "type" : "Literal", - "annotation" : [ ] - }, - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "11", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - } - }, - "high" : { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2017", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "12", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "21", - "type" : "Literal", - "annotation" : [ ] - }, - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "21", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - } - } - } - } - } - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "true", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - } ] - } - }, { - "name" : "Includes", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ ], - "expression" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "TestIncludesNull", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Contains", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - }, - "high" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "asType" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "As", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "type" : "Null", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "output", - "value" : { - "type" : "Null", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "IntegerIntervalIncludesTrue", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Includes", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - }, - "high" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "4", - "type" : "Literal", - "annotation" : [ ] - }, - "high" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "true", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "IntegerIntervalIncludesFalse", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Includes", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - }, - "high" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "44", - "type" : "Literal", - "annotation" : [ ] - }, - "high" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "50", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "false", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "DecimalIntervalIncludesTrue", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Includes", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "1.0", - "type" : "Literal", - "annotation" : [ ] - }, - "high" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "10.0", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "4.0", - "type" : "Literal", - "annotation" : [ ] - }, - "high" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "10.0", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "true", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "DecimalIntervalIncludesFalse", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Includes", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "1.0", - "type" : "Literal", - "annotation" : [ ] - }, - "high" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "10.0", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "11.0", - "type" : "Literal", - "annotation" : [ ] - }, - "high" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "20.0", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "false", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "QuantityIntervalIncludesTrue", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Includes", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "value" : 1.0, - "unit" : "g", - "type" : "Quantity", - "annotation" : [ ] - }, - "high" : { - "value" : 10.0, - "unit" : "g", - "type" : "Quantity", - "annotation" : [ ] - } - }, { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "value" : 5.0, - "unit" : "g", - "type" : "Quantity", - "annotation" : [ ] - }, - "high" : { - "value" : 10.0, - "unit" : "g", - "type" : "Quantity", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "true", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "QuantityIntervalIncludesFalse", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Includes", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "value" : 1.0, - "unit" : "g", - "type" : "Quantity", - "annotation" : [ ] - }, - "high" : { - "value" : 10.0, - "unit" : "g", - "type" : "Quantity", - "annotation" : [ ] - } - }, { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "value" : 11.0, - "unit" : "g", - "type" : "Quantity", - "annotation" : [ ] - }, - "high" : { - "value" : 20.0, - "unit" : "g", - "type" : "Quantity", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "false", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "DateTimeIncludesTrue", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Includes", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal", - "annotation" : [ ] - } - }, - "high" : { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal", - "annotation" : [ ] - } - } - }, { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "7", - "type" : "Literal", - "annotation" : [ ] - } - }, - "high" : { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "14", - "type" : "Literal", - "annotation" : [ ] - } - } - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "true", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "DateTimeIncludesFalse", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Includes", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal", - "annotation" : [ ] - } - }, - "high" : { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal", - "annotation" : [ ] - } - } - }, { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "4", - "type" : "Literal", - "annotation" : [ ] - } - }, - "high" : { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "14", - "type" : "Literal", - "annotation" : [ ] - } - } - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "false", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "TimeIncludesTrue", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Includes", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "type" : "Time", - "annotation" : [ ], - "signature" : [ ], - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "999", - "type" : "Literal", - "annotation" : [ ] - } - }, - "high" : { - "type" : "Time", - "annotation" : [ ], - "signature" : [ ], - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "999", - "type" : "Literal", - "annotation" : [ ] - } - } - }, { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "type" : "Time", - "annotation" : [ ], - "signature" : [ ], - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "6", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "999", - "type" : "Literal", - "annotation" : [ ] - } - }, - "high" : { - "type" : "Time", - "annotation" : [ ], - "signature" : [ ], - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "9", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "999", - "type" : "Literal", - "annotation" : [ ] - } - } - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "true", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "TimeIncludesFalse", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Includes", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "type" : "Time", - "annotation" : [ ], - "signature" : [ ], - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "999", - "type" : "Literal", - "annotation" : [ ] - } - }, - "high" : { - "type" : "Time", - "annotation" : [ ], - "signature" : [ ], - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "999", - "type" : "Literal", - "annotation" : [ ] - } - } - }, { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "type" : "Time", - "annotation" : [ ], - "signature" : [ ], - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "4", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "999", - "type" : "Literal", - "annotation" : [ ] - } - }, - "high" : { - "type" : "Time", - "annotation" : [ ], - "signature" : [ ], - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "9", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "999", - "type" : "Literal", - "annotation" : [ ] - } - } - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "false", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - } ] - } - }, { - "name" : "Included In", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ ], - "expression" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "TestIncludedInNull", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "In", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "asType" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "As", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "type" : "Null", - "annotation" : [ ] - } - }, { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - }, - "high" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "output", - "value" : { - "type" : "Null", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "IntegerIntervalIncludedInTrue", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "IncludedIn", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "4", - "type" : "Literal", - "annotation" : [ ] - }, - "high" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - }, - "high" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "true", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "IntegerIntervalIncludedInFalse", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "IncludedIn", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "44", - "type" : "Literal", - "annotation" : [ ] - }, - "high" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "50", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - }, - "high" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "false", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "DecimalIntervalIncludedInTrue", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "IncludedIn", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "4.0", - "type" : "Literal", - "annotation" : [ ] - }, - "high" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "10.0", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "1.0", - "type" : "Literal", - "annotation" : [ ] - }, - "high" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "10.0", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "true", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "DecimalIntervalIncludedInFalse", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "IncludedIn", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "11.0", - "type" : "Literal", - "annotation" : [ ] - }, - "high" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "20.0", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "1.0", - "type" : "Literal", - "annotation" : [ ] - }, - "high" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "10.0", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "false", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "QuantityIntervalIncludedInTrue", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "IncludedIn", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "value" : 5.0, - "unit" : "g", - "type" : "Quantity", - "annotation" : [ ] - }, - "high" : { - "value" : 10.0, - "unit" : "g", - "type" : "Quantity", - "annotation" : [ ] - } - }, { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "value" : 1.0, - "unit" : "g", - "type" : "Quantity", - "annotation" : [ ] - }, - "high" : { - "value" : 10.0, - "unit" : "g", - "type" : "Quantity", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "true", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "QuantityIntervalIncludedInFalse", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "IncludedIn", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "value" : 11.0, - "unit" : "g", - "type" : "Quantity", - "annotation" : [ ] - }, - "high" : { - "value" : 20.0, - "unit" : "g", - "type" : "Quantity", - "annotation" : [ ] - } - }, { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "value" : 1.0, - "unit" : "g", - "type" : "Quantity", - "annotation" : [ ] - }, - "high" : { - "value" : 10.0, - "unit" : "g", - "type" : "Quantity", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "false", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "DateTimeIncludedInTrue", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "IncludedIn", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "7", - "type" : "Literal", - "annotation" : [ ] - } - }, - "high" : { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "14", - "type" : "Literal", - "annotation" : [ ] - } - } - }, { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal", - "annotation" : [ ] - } - }, - "high" : { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal", - "annotation" : [ ] - } - } - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "true", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "DateTimeIncludedInFalse", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "IncludedIn", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "4", - "type" : "Literal", - "annotation" : [ ] - } - }, - "high" : { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "14", - "type" : "Literal", - "annotation" : [ ] - } - } - }, { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal", - "annotation" : [ ] - } - }, - "high" : { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal", - "annotation" : [ ] - } - } - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "false", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "TimeIncludedInTrue", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "IncludedIn", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "type" : "Time", - "annotation" : [ ], - "signature" : [ ], - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "6", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "999", - "type" : "Literal", - "annotation" : [ ] - } - }, - "high" : { - "type" : "Time", - "annotation" : [ ], - "signature" : [ ], - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "9", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "999", - "type" : "Literal", - "annotation" : [ ] - } - } - }, { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "type" : "Time", - "annotation" : [ ], - "signature" : [ ], - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "999", - "type" : "Literal", - "annotation" : [ ] - } - }, - "high" : { - "type" : "Time", - "annotation" : [ ], - "signature" : [ ], - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "999", - "type" : "Literal", - "annotation" : [ ] - } - } - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "true", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "TimeIncludedInFalse", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "IncludedIn", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "type" : "Time", - "annotation" : [ ], - "signature" : [ ], - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "4", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "999", - "type" : "Literal", - "annotation" : [ ] - } - }, - "high" : { - "type" : "Time", - "annotation" : [ ], - "signature" : [ ], - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "9", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "999", - "type" : "Literal", - "annotation" : [ ] - } - } - }, { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "type" : "Time", - "annotation" : [ ], - "signature" : [ ], - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "999", - "type" : "Literal", - "annotation" : [ ] - } - }, - "high" : { - "type" : "Time", - "annotation" : [ ], - "signature" : [ ], - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "999", - "type" : "Literal", - "annotation" : [ ] - } - } - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "false", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "DateTimeIncludedInNull", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "IncludedIn", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2017", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "9", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - }, - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - } - }, - "high" : { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2017", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "9", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - }, - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - } - } - }, { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2017", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "9", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - }, - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - } - }, - "high" : { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2017", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "12", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "30", - "type" : "Literal", - "annotation" : [ ] - }, - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "23", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "999", - "type" : "Literal", - "annotation" : [ ] - } - } - } ] - } - }, { - "name" : "output", - "value" : { - "type" : "Null", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "DateTimeIncludedInPrecisionTrue", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "precision" : "Day", - "type" : "IncludedIn", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2017", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "9", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - }, - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - } - }, - "high" : { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2017", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "9", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - }, - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - } - } - }, { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2017", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "9", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - }, - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - } - }, - "high" : { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2017", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "12", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "30", - "type" : "Literal", - "annotation" : [ ] - }, - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "23", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "999", - "type" : "Literal", - "annotation" : [ ] - } - } - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "true", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "DateTimeIncludedInPrecisionNull", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "precision" : "Millisecond", - "type" : "IncludedIn", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2017", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "9", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - }, - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - } - }, - "high" : { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2017", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "9", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - }, - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - } - } - }, { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2017", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "9", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - }, - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - } - }, - "high" : { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2017", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "12", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "30", - "type" : "Literal", - "annotation" : [ ] - }, - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "23", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "999", - "type" : "Literal", - "annotation" : [ ] - } - } - } ] - } - }, { - "name" : "output", - "value" : { - "type" : "Null", - "annotation" : [ ] - } - } ] - } - } ] - } - }, { - "name" : "Intersect", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ ], - "expression" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "TestIntersectNull", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "skipped", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "Wrong answer (Interval[5, 10] vs Interval[5, null))", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "TestIntersectNull1", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "LessOrEqual", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "type" : "Start", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "type" : "Intersect", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - }, - "high" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "lowClosed" : true, - "highClosed" : false, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal", - "annotation" : [ ] - }, - "high" : { - "asType" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "As", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "type" : "Null", - "annotation" : [ ] - } - } - } ] - } - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "true", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "TestIntersectNull2", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "GreaterOrEqual", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "type" : "Start", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "type" : "Intersect", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - }, - "high" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "lowClosed" : true, - "highClosed" : false, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal", - "annotation" : [ ] - }, - "high" : { - "asType" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "As", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "type" : "Null", - "annotation" : [ ] - } - } - } ] - } - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal", - "annotation" : [ ] - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "true", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "TestIntersectNull3", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Greater", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "type" : "Start", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "type" : "Intersect", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - }, - "high" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "lowClosed" : true, - "highClosed" : false, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal", - "annotation" : [ ] - }, - "high" : { - "asType" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "As", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "type" : "Null", - "annotation" : [ ] - } - } - } ] - } - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "false", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "TestIntersectNull4", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Less", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "type" : "Start", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "type" : "Intersect", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - }, - "high" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "lowClosed" : true, - "highClosed" : false, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal", - "annotation" : [ ] - }, - "high" : { - "asType" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "As", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "type" : "Null", - "annotation" : [ ] - } - } - } ] - } - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal", - "annotation" : [ ] - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "false", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "IntegerIntervalIntersectTest4to10", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Intersect", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - }, - "high" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "4", - "type" : "Literal", - "annotation" : [ ] - }, - "high" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "output", - "value" : { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "4", - "type" : "Literal", - "annotation" : [ ] - }, - "high" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - } - } - } ] - } - }, { - "name" : "IntegerIntervalIntersectTestNull", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Intersect", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - }, - "high" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "11", - "type" : "Literal", - "annotation" : [ ] - }, - "high" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "20", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "output", - "value" : { - "type" : "Null", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "DecimalIntervalIntersectTest4to10", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Intersect", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "1.0", - "type" : "Literal", - "annotation" : [ ] - }, - "high" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "10.0", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "4.0", - "type" : "Literal", - "annotation" : [ ] - }, - "high" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "10.0", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "output", - "value" : { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "4.0", - "type" : "Literal", - "annotation" : [ ] - }, - "high" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "10.0", - "type" : "Literal", - "annotation" : [ ] - } - } - } ] - } - }, { - "name" : "DecimalIntervalIntersectTestNull", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Intersect", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "1.0", - "type" : "Literal", - "annotation" : [ ] - }, - "high" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "10.0", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "11.0", - "type" : "Literal", - "annotation" : [ ] - }, - "high" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "20.0", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "output", - "value" : { - "type" : "Null", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "QuantityIntervalIntersectTest5to10", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Intersect", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "value" : 1.0, - "unit" : "g", - "type" : "Quantity", - "annotation" : [ ] - }, - "high" : { - "value" : 10.0, - "unit" : "g", - "type" : "Quantity", - "annotation" : [ ] - } - }, { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "value" : 5.0, - "unit" : "g", - "type" : "Quantity", - "annotation" : [ ] - }, - "high" : { - "value" : 10.0, - "unit" : "g", - "type" : "Quantity", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "output", - "value" : { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "value" : 5.0, - "unit" : "g", - "type" : "Quantity", - "annotation" : [ ] - }, - "high" : { - "value" : 10.0, - "unit" : "g", - "type" : "Quantity", - "annotation" : [ ] - } - } - } ] - } - }, { - "name" : "QuantityIntervalIntersectTestNull", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Intersect", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "value" : 1.0, - "unit" : "g", - "type" : "Quantity", - "annotation" : [ ] - }, - "high" : { - "value" : 10.0, - "unit" : "g", - "type" : "Quantity", - "annotation" : [ ] - } - }, { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "value" : 11.0, - "unit" : "g", - "type" : "Quantity", - "annotation" : [ ] - }, - "high" : { - "value" : 20.0, - "unit" : "g", - "type" : "Quantity", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "output", - "value" : { - "type" : "Null", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "DateTimeIntersect", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Intersect", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "7", - "type" : "Literal", - "annotation" : [ ] - } - }, - "high" : { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "14", - "type" : "Literal", - "annotation" : [ ] - } - } - }, { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "7", - "type" : "Literal", - "annotation" : [ ] - } - }, - "high" : { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - } - } - } ] - } - }, { - "name" : "output", - "value" : { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "7", - "type" : "Literal", - "annotation" : [ ] - } - }, - "high" : { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - } - } - } - } ] - } - }, { - "name" : "TimeIntersect", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Intersect", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "type" : "Time", - "annotation" : [ ], - "signature" : [ ], - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "4", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "999", - "type" : "Literal", - "annotation" : [ ] - } - }, - "high" : { - "type" : "Time", - "annotation" : [ ], - "signature" : [ ], - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "9", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "999", - "type" : "Literal", - "annotation" : [ ] - } - } - }, { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "type" : "Time", - "annotation" : [ ], - "signature" : [ ], - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "4", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "999", - "type" : "Literal", - "annotation" : [ ] - } - }, - "high" : { - "type" : "Time", - "annotation" : [ ], - "signature" : [ ], - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "6", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "999", - "type" : "Literal", - "annotation" : [ ] - } - } - } ] - } - }, { - "name" : "output", - "value" : { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "type" : "Time", - "annotation" : [ ], - "signature" : [ ], - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "4", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "999", - "type" : "Literal", - "annotation" : [ ] - } - }, - "high" : { - "type" : "Time", - "annotation" : [ ], - "signature" : [ ], - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "6", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "999", - "type" : "Literal", - "annotation" : [ ] - } - } - } - } ] - } - } ] - } - }, { - "name" : "Equivalent", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ ], - "expression" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "IntegerIntervalEquivalentTrue", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Equivalent", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - }, - "high" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - }, - "high" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "true", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "IntegerIntervalEquivalentFalse", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Equivalent", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "44", - "type" : "Literal", - "annotation" : [ ] - }, - "high" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "50", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - }, - "high" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "false", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "DecimalIntervalEquivalentTrue", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Equivalent", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "1.0", - "type" : "Literal", - "annotation" : [ ] - }, - "high" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "10.0", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "1.0", - "type" : "Literal", - "annotation" : [ ] - }, - "high" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "10.0", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "true", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "DecimalIntervalEquivalentFalse", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Equivalent", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "11.0", - "type" : "Literal", - "annotation" : [ ] - }, - "high" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "20.0", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "1.0", - "type" : "Literal", - "annotation" : [ ] - }, - "high" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "10.0", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "false", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "QuantityIntervalEquivalentTrue", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Equivalent", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "value" : 1.0, - "unit" : "g", - "type" : "Quantity", - "annotation" : [ ] - }, - "high" : { - "value" : 10.0, - "unit" : "g", - "type" : "Quantity", - "annotation" : [ ] - } - }, { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "value" : 1.0, - "unit" : "g", - "type" : "Quantity", - "annotation" : [ ] - }, - "high" : { - "value" : 10.0, - "unit" : "g", - "type" : "Quantity", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "true", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "QuantityIntervalEquivalentFalse", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Equivalent", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "value" : 11.0, - "unit" : "g", - "type" : "Quantity", - "annotation" : [ ] - }, - "high" : { - "value" : 20.0, - "unit" : "g", - "type" : "Quantity", - "annotation" : [ ] - } - }, { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "value" : 1.0, - "unit" : "g", - "type" : "Quantity", - "annotation" : [ ] - }, - "high" : { - "value" : 10.0, - "unit" : "g", - "type" : "Quantity", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "false", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "DateTimeEquivalentTrue", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Equivalent", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "7", - "type" : "Literal", - "annotation" : [ ] - } - }, - "high" : { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "14", - "type" : "Literal", - "annotation" : [ ] - } - } - }, { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "7", - "type" : "Literal", - "annotation" : [ ] - } - }, - "high" : { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "14", - "type" : "Literal", - "annotation" : [ ] - } - } - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "true", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "DateTimeEquivalentFalse", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Equivalent", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "7", - "type" : "Literal", - "annotation" : [ ] - } - }, - "high" : { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "14", - "type" : "Literal", - "annotation" : [ ] - } - } - }, { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "7", - "type" : "Literal", - "annotation" : [ ] - } - }, - "high" : { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal", - "annotation" : [ ] - } - } - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "false", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "TimeEquivalentTrue", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Equivalent", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "type" : "Time", - "annotation" : [ ], - "signature" : [ ], - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "4", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "999", - "type" : "Literal", - "annotation" : [ ] - } - }, - "high" : { - "type" : "Time", - "annotation" : [ ], - "signature" : [ ], - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "9", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "999", - "type" : "Literal", - "annotation" : [ ] - } - } - }, { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "type" : "Time", - "annotation" : [ ], - "signature" : [ ], - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "4", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "999", - "type" : "Literal", - "annotation" : [ ] - } - }, - "high" : { - "type" : "Time", - "annotation" : [ ], - "signature" : [ ], - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "9", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "999", - "type" : "Literal", - "annotation" : [ ] - } - } - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "true", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "TimeEquivalentFalse", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Equivalent", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "type" : "Time", - "annotation" : [ ], - "signature" : [ ], - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "4", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "999", - "type" : "Literal", - "annotation" : [ ] - } - }, - "high" : { - "type" : "Time", - "annotation" : [ ], - "signature" : [ ], - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "9", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "999", - "type" : "Literal", - "annotation" : [ ] - } - } - }, { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "type" : "Time", - "annotation" : [ ], - "signature" : [ ], - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "4", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "58", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "999", - "type" : "Literal", - "annotation" : [ ] - } - }, - "high" : { - "type" : "Time", - "annotation" : [ ], - "signature" : [ ], - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "9", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "999", - "type" : "Literal", - "annotation" : [ ] - } - } - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "false", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - } ] - } - }, { - "name" : "Meets", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ ], - "expression" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "TestMeetsNull", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Meets", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "lowClosed" : false, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "asType" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "As", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "type" : "Null", - "annotation" : [ ] - } - }, - "high" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "lowClosed" : false, - "highClosed" : false, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "asType" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "As", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "type" : "Null", - "annotation" : [ ] - } - }, - "high" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "output", - "value" : { - "type" : "Null", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "IntegerIntervalMeetsTrue", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Meets", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - }, - "high" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "11", - "type" : "Literal", - "annotation" : [ ] - }, - "high" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "20", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "true", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "IntegerIntervalMeetsFalse", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Meets", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - }, - "high" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "44", - "type" : "Literal", - "annotation" : [ ] - }, - "high" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "50", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "false", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "DecimalIntervalMeetsTrue", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Meets", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "3.01", - "type" : "Literal", - "annotation" : [ ] - }, - "high" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "5.00000001", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "5.00000002", - "type" : "Literal", - "annotation" : [ ] - }, - "high" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "8.50", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "true", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "DecimalIntervalMeetsFalse", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Meets", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "3.01", - "type" : "Literal", - "annotation" : [ ] - }, - "high" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "5.00000001", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "5.5", - "type" : "Literal", - "annotation" : [ ] - }, - "high" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "8.50", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "false", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "QuantityIntervalMeetsTrue", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Meets", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "value" : 3.01, - "unit" : "g", - "type" : "Quantity", - "annotation" : [ ] - }, - "high" : { - "value" : 5.00000001, - "unit" : "g", - "type" : "Quantity", - "annotation" : [ ] - } - }, { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "value" : 5.00000002, - "unit" : "g", - "type" : "Quantity", - "annotation" : [ ] - }, - "high" : { - "value" : 8.50, - "unit" : "g", - "type" : "Quantity", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "true", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "QuantityIntervalMeetsFalse", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Meets", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "value" : 3.01, - "unit" : "g", - "type" : "Quantity", - "annotation" : [ ] - }, - "high" : { - "value" : 5.00000001, - "unit" : "g", - "type" : "Quantity", - "annotation" : [ ] - } - }, { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "value" : 5.5, - "unit" : "g", - "type" : "Quantity", - "annotation" : [ ] - }, - "high" : { - "value" : 8.50, - "unit" : "g", - "type" : "Quantity", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "false", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "DateTimeMeetsTrue", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Meets", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "7", - "type" : "Literal", - "annotation" : [ ] - } - }, - "high" : { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "14", - "type" : "Literal", - "annotation" : [ ] - } - } - }, { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal", - "annotation" : [ ] - } - }, - "high" : { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "25", - "type" : "Literal", - "annotation" : [ ] - } - } - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "true", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "DateTimeMeetsFalse", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Meets", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "7", - "type" : "Literal", - "annotation" : [ ] - } - }, - "high" : { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "14", - "type" : "Literal", - "annotation" : [ ] - } - } - }, { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "20", - "type" : "Literal", - "annotation" : [ ] - } - }, - "high" : { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "25", - "type" : "Literal", - "annotation" : [ ] - } - } - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "false", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "TimeMeetsTrue", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Meets", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "type" : "Time", - "annotation" : [ ], - "signature" : [ ], - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "4", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "999", - "type" : "Literal", - "annotation" : [ ] - } - }, - "high" : { - "type" : "Time", - "annotation" : [ ], - "signature" : [ ], - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "9", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "999", - "type" : "Literal", - "annotation" : [ ] - } - } - }, { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "type" : "Time", - "annotation" : [ ], - "signature" : [ ], - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - } - }, - "high" : { - "type" : "Time", - "annotation" : [ ], - "signature" : [ ], - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "19", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "999", - "type" : "Literal", - "annotation" : [ ] - } - } - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "true", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "TimeMeetsFalse", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Meets", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "type" : "Time", - "annotation" : [ ], - "signature" : [ ], - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "4", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "999", - "type" : "Literal", - "annotation" : [ ] - } - }, - "high" : { - "type" : "Time", - "annotation" : [ ], - "signature" : [ ], - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "9", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "999", - "type" : "Literal", - "annotation" : [ ] - } - } - }, { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "type" : "Time", - "annotation" : [ ], - "signature" : [ ], - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "12", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - } - }, - "high" : { - "type" : "Time", - "annotation" : [ ], - "signature" : [ ], - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "19", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "999", - "type" : "Literal", - "annotation" : [ ] - } - } - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "false", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - } ] - } - }, { - "name" : "MeetsBefore", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ ], - "expression" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "TestMeetsBeforeNull", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "MeetsBefore", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "lowClosed" : false, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "asType" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "As", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "type" : "Null", - "annotation" : [ ] - } - }, - "high" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "lowClosed" : false, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "asType" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "As", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "type" : "Null", - "annotation" : [ ] - } - }, - "high" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "25", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "output", - "value" : { - "type" : "Null", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "IntegerIntervalMeetsBeforeTrue", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "MeetsBefore", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - }, - "high" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "11", - "type" : "Literal", - "annotation" : [ ] - }, - "high" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "20", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "true", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "IntegerIntervalMeetsBeforeFalse", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "MeetsBefore", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - }, - "high" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "44", - "type" : "Literal", - "annotation" : [ ] - }, - "high" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "50", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "false", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "DecimalIntervalMeetsBeforeTrue", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "MeetsBefore", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "3.50000001", - "type" : "Literal", - "annotation" : [ ] - }, - "high" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "5.00000011", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "5.00000012", - "type" : "Literal", - "annotation" : [ ] - }, - "high" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "8.50", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "true", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "DecimalIntervalMeetsBeforeFalse", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "MeetsBefore", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "8.01", - "type" : "Literal", - "annotation" : [ ] - }, - "high" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "15.00000001", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "15.00000000", - "type" : "Literal", - "annotation" : [ ] - }, - "high" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "18.50", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "false", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "QuantityIntervalMeetsBeforeTrue", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "MeetsBefore", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "value" : 3.50000001, - "unit" : "g", - "type" : "Quantity", - "annotation" : [ ] - }, - "high" : { - "value" : 5.00000011, - "unit" : "g", - "type" : "Quantity", - "annotation" : [ ] - } - }, { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "value" : 5.00000012, - "unit" : "g", - "type" : "Quantity", - "annotation" : [ ] - }, - "high" : { - "value" : 8.50, - "unit" : "g", - "type" : "Quantity", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "true", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "QuantityIntervalMeetsBeforeFalse", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "MeetsBefore", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "value" : 8.01, - "unit" : "g", - "type" : "Quantity", - "annotation" : [ ] - }, - "high" : { - "value" : 15.00000001, - "unit" : "g", - "type" : "Quantity", - "annotation" : [ ] - } - }, { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "value" : 15.00000000, - "unit" : "g", - "type" : "Quantity", - "annotation" : [ ] - }, - "high" : { - "value" : 18.50, - "unit" : "g", - "type" : "Quantity", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "false", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "DateTimeMeetsBeforeTrue", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Meets", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "7", - "type" : "Literal", - "annotation" : [ ] - } - }, - "high" : { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "14", - "type" : "Literal", - "annotation" : [ ] - } - } - }, { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal", - "annotation" : [ ] - } - }, - "high" : { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "25", - "type" : "Literal", - "annotation" : [ ] - } - } - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "true", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "DateTimeMeetsBeforeFalse", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Meets", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "7", - "type" : "Literal", - "annotation" : [ ] - } - }, - "high" : { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "14", - "type" : "Literal", - "annotation" : [ ] - } - } - }, { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "20", - "type" : "Literal", - "annotation" : [ ] - } - }, - "high" : { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "25", - "type" : "Literal", - "annotation" : [ ] - } - } - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "false", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "TimeMeetsBeforeTrue", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Meets", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "type" : "Time", - "annotation" : [ ], - "signature" : [ ], - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "4", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "999", - "type" : "Literal", - "annotation" : [ ] - } - }, - "high" : { - "type" : "Time", - "annotation" : [ ], - "signature" : [ ], - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "9", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "999", - "type" : "Literal", - "annotation" : [ ] - } - } - }, { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "type" : "Time", - "annotation" : [ ], - "signature" : [ ], - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - } - }, - "high" : { - "type" : "Time", - "annotation" : [ ], - "signature" : [ ], - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "19", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "999", - "type" : "Literal", - "annotation" : [ ] - } - } - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "true", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "TimeMeetsBeforeFalse", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Meets", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "type" : "Time", - "annotation" : [ ], - "signature" : [ ], - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "4", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "999", - "type" : "Literal", - "annotation" : [ ] - } - }, - "high" : { - "type" : "Time", - "annotation" : [ ], - "signature" : [ ], - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "9", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "999", - "type" : "Literal", - "annotation" : [ ] - } - } - }, { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "type" : "Time", - "annotation" : [ ], - "signature" : [ ], - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "12", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - } - }, - "high" : { - "type" : "Time", - "annotation" : [ ], - "signature" : [ ], - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "19", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "999", - "type" : "Literal", - "annotation" : [ ] - } - } - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "false", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - } ] - } - }, { - "name" : "MeetsAfter", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ ], - "expression" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "TestMeetsAfterNull", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "MeetsAfter", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "lowClosed" : false, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "asType" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "As", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "type" : "Null", - "annotation" : [ ] - } - }, - "high" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "lowClosed" : true, - "highClosed" : false, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "11", - "type" : "Literal", - "annotation" : [ ] - }, - "high" : { - "asType" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "As", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "type" : "Null", - "annotation" : [ ] - } - } - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "false", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "IntegerIntervalMeetsAfterTrue", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "MeetsAfter", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "11", - "type" : "Literal", - "annotation" : [ ] - }, - "high" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "20", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - }, - "high" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "true", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "IntegerIntervalMeetsAfterFalse", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "MeetsAfter", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "44", - "type" : "Literal", - "annotation" : [ ] - }, - "high" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "50", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - }, - "high" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "false", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "DecimalIntervalMeetsAfterTrue", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "MeetsAfter", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "55.00000123", - "type" : "Literal", - "annotation" : [ ] - }, - "high" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "128.032156", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "12.00258", - "type" : "Literal", - "annotation" : [ ] - }, - "high" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "55.00000122", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "true", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "DecimalIntervalMeetsAfterFalse", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "MeetsAfter", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "55.00000124", - "type" : "Literal", - "annotation" : [ ] - }, - "high" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "150.222222", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "12.00258", - "type" : "Literal", - "annotation" : [ ] - }, - "high" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "55.00000122", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "false", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "QuantityIntervalMeetsAfterTrue", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "MeetsAfter", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "value" : 55.00000123, - "unit" : "g", - "type" : "Quantity", - "annotation" : [ ] - }, - "high" : { - "value" : 128.032156, - "unit" : "g", - "type" : "Quantity", - "annotation" : [ ] - } - }, { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "value" : 12.00258, - "unit" : "g", - "type" : "Quantity", - "annotation" : [ ] - }, - "high" : { - "value" : 55.00000122, - "unit" : "g", - "type" : "Quantity", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "true", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "QuantityIntervalMeetsAfterFalse", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "MeetsAfter", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "value" : 55.00000124, - "unit" : "g", - "type" : "Quantity", - "annotation" : [ ] - }, - "high" : { - "value" : 150.222222, - "unit" : "g", - "type" : "Quantity", - "annotation" : [ ] - } - }, { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "value" : 12.00258, - "unit" : "g", - "type" : "Quantity", - "annotation" : [ ] - }, - "high" : { - "value" : 55.00000122, - "unit" : "g", - "type" : "Quantity", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "false", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "DateTimeMeetsAfterTrue", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Meets", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal", - "annotation" : [ ] - } - }, - "high" : { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "25", - "type" : "Literal", - "annotation" : [ ] - } - } - }, { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "7", - "type" : "Literal", - "annotation" : [ ] - } - }, - "high" : { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "14", - "type" : "Literal", - "annotation" : [ ] - } - } - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "true", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "DateTimeMeetsAfterFalse", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Meets", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "20", - "type" : "Literal", - "annotation" : [ ] - } - }, - "high" : { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "25", - "type" : "Literal", - "annotation" : [ ] - } - } - }, { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "7", - "type" : "Literal", - "annotation" : [ ] - } - }, - "high" : { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "14", - "type" : "Literal", - "annotation" : [ ] - } - } - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "false", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "TimeMeetsAfterTrue", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Meets", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "type" : "Time", - "annotation" : [ ], - "signature" : [ ], - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - } - }, - "high" : { - "type" : "Time", - "annotation" : [ ], - "signature" : [ ], - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "19", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "999", - "type" : "Literal", - "annotation" : [ ] - } - } - }, { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "type" : "Time", - "annotation" : [ ], - "signature" : [ ], - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "4", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "999", - "type" : "Literal", - "annotation" : [ ] - } - }, - "high" : { - "type" : "Time", - "annotation" : [ ], - "signature" : [ ], - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "9", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "999", - "type" : "Literal", - "annotation" : [ ] - } - } - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "true", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "TimeMeetsAfterFalse", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Meets", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "type" : "Time", - "annotation" : [ ], - "signature" : [ ], - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "12", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - } - }, - "high" : { - "type" : "Time", - "annotation" : [ ], - "signature" : [ ], - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "19", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "999", - "type" : "Literal", - "annotation" : [ ] - } - } - }, { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "type" : "Time", - "annotation" : [ ], - "signature" : [ ], - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "4", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "999", - "type" : "Literal", - "annotation" : [ ] - } - }, - "high" : { - "type" : "Time", - "annotation" : [ ], - "signature" : [ ], - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "9", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "999", - "type" : "Literal", - "annotation" : [ ] - } - } - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "false", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - } ] - } - }, { - "name" : "NotEqual", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ ], - "expression" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "IntegerIntervalNotEqualTrue", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Not", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "type" : "Equal", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - }, - "high" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "11", - "type" : "Literal", - "annotation" : [ ] - }, - "high" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "20", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "true", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "IntegerIntervalNotEqualFalse", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Not", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "type" : "Equal", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - }, - "high" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - }, - "high" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "false", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "DecimalIntervalNotEqualTrue", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Not", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "type" : "Equal", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "1.0", - "type" : "Literal", - "annotation" : [ ] - }, - "high" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "10.0", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "11.0", - "type" : "Literal", - "annotation" : [ ] - }, - "high" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "20.0", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "true", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "DecimalIntervalNotEqualFalse", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Not", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "type" : "Equal", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "1.0", - "type" : "Literal", - "annotation" : [ ] - }, - "high" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "10.0", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "1.0", - "type" : "Literal", - "annotation" : [ ] - }, - "high" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "10.0", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "false", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "QuantityIntervalNotEqualTrue", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Not", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "type" : "Equal", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "value" : 1.0, - "unit" : "g", - "type" : "Quantity", - "annotation" : [ ] - }, - "high" : { - "value" : 10.0, - "unit" : "g", - "type" : "Quantity", - "annotation" : [ ] - } - }, { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "value" : 11.0, - "unit" : "g", - "type" : "Quantity", - "annotation" : [ ] - }, - "high" : { - "value" : 20.0, - "unit" : "g", - "type" : "Quantity", - "annotation" : [ ] - } - } ] - } - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "true", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "QuantityIntervalNotEqualFalse", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Not", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "type" : "Equal", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "value" : 1.0, - "unit" : "g", - "type" : "Quantity", - "annotation" : [ ] - }, - "high" : { - "value" : 10.0, - "unit" : "g", - "type" : "Quantity", - "annotation" : [ ] - } - }, { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "value" : 1.0, - "unit" : "g", - "type" : "Quantity", - "annotation" : [ ] - }, - "high" : { - "value" : 10.0, - "unit" : "g", - "type" : "Quantity", - "annotation" : [ ] - } - } ] - } - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "false", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "DateTimeNotEqualTrue", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Not", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "type" : "Equal", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal", - "annotation" : [ ] - }, - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - } - }, - "high" : { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "25", - "type" : "Literal", - "annotation" : [ ] - }, - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - } - } - }, { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal", - "annotation" : [ ] - }, - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - } - }, - "high" : { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "25", - "type" : "Literal", - "annotation" : [ ] - }, - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "22", - "type" : "Literal", - "annotation" : [ ] - } - } - } ] - } - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "true", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "DateTimeNotEqualFalse", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Not", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "type" : "Equal", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal", - "annotation" : [ ] - }, - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - } - }, - "high" : { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "25", - "type" : "Literal", - "annotation" : [ ] - }, - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - } - } - }, { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal", - "annotation" : [ ] - }, - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - } - }, - "high" : { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "25", - "type" : "Literal", - "annotation" : [ ] - }, - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - } - } - } ] - } - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "false", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "TimeNotEqualTrue", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Not", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "type" : "Equal", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "type" : "Time", - "annotation" : [ ], - "signature" : [ ], - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - } - }, - "high" : { - "type" : "Time", - "annotation" : [ ], - "signature" : [ ], - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "19", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "999", - "type" : "Literal", - "annotation" : [ ] - } - } - }, { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "type" : "Time", - "annotation" : [ ], - "signature" : [ ], - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - } - }, - "high" : { - "type" : "Time", - "annotation" : [ ], - "signature" : [ ], - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "19", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "999", - "type" : "Literal", - "annotation" : [ ] - } - } - } ] - } - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "true", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "TimeNotEqualFalse", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Not", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "type" : "Equal", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "type" : "Time", - "annotation" : [ ], - "signature" : [ ], - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - } - }, - "high" : { - "type" : "Time", - "annotation" : [ ], - "signature" : [ ], - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "19", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "999", - "type" : "Literal", - "annotation" : [ ] - } - } - }, { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "type" : "Time", - "annotation" : [ ], - "signature" : [ ], - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - } - }, - "high" : { - "type" : "Time", - "annotation" : [ ], - "signature" : [ ], - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "19", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "999", - "type" : "Literal", - "annotation" : [ ] - } - } - } ] - } - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "false", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - } ] - } - }, { - "name" : "OnOrAfter", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ ], - "expression" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "TestOnOrAfterNull", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "SameOrAfter", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "type" : "Date", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "12", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - } - }, - "high" : { - "type" : "Date", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2013", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "12", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - } - } - }, { - "strict" : false, - "type" : "As", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "type" : "Null", - "annotation" : [ ] - }, - "asTypeSpecifier" : { - "type" : "IntervalTypeSpecifier", - "annotation" : [ ], - "pointType" : { - "name" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "NamedTypeSpecifier", - "annotation" : [ ] - } - } - } ] - } - }, { - "name" : "output", - "value" : { - "type" : "Null", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "TestOnOrAfterDateTrue", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "precision" : "Month", - "type" : "SameOrAfter", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "type" : "Date", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "12", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - } - }, - "high" : { - "type" : "Date", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2013", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "12", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - } - } - }, { - "type" : "If", - "annotation" : [ ], - "condition" : { - "type" : "IsNull", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "type" : "Date", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "11", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal", - "annotation" : [ ] - } - } - }, - "then" : { - "type" : "Null", - "annotation" : [ ] - }, - "else" : { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "type" : "Date", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "11", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal", - "annotation" : [ ] - } - }, - "high" : { - "type" : "Date", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "11", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal", - "annotation" : [ ] - } - } - } - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "true", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "TestOnOrAfterDateFalse", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "precision" : "Month", - "type" : "SameOrAfter", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "type" : "If", - "annotation" : [ ], - "condition" : { - "type" : "IsNull", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "type" : "Date", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "11", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal", - "annotation" : [ ] - } - } - }, - "then" : { - "type" : "Null", - "annotation" : [ ] - }, - "else" : { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "type" : "Date", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "11", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal", - "annotation" : [ ] - } - }, - "high" : { - "type" : "Date", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "11", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal", - "annotation" : [ ] - } - } - } - }, { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "type" : "Date", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "12", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - } - }, - "high" : { - "type" : "Date", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2013", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "12", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - } - } - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "false", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "TestOnOrAfterTimeTrue", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "precision" : "Hour", - "type" : "SameOrAfter", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "type" : "Time", - "annotation" : [ ], - "signature" : [ ], - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - } - }, - "high" : { - "type" : "Time", - "annotation" : [ ], - "signature" : [ ], - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "19", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "999", - "type" : "Literal", - "annotation" : [ ] - } - } - }, { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "type" : "Time", - "annotation" : [ ], - "signature" : [ ], - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "8", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - } - }, - "high" : { - "type" : "Time", - "annotation" : [ ], - "signature" : [ ], - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "9", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "999", - "type" : "Literal", - "annotation" : [ ] - } - } - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "true", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "TestOnOrAfterTimeFalse", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "precision" : "Hour", - "type" : "SameOrAfter", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "type" : "Time", - "annotation" : [ ], - "signature" : [ ], - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - } - }, - "high" : { - "type" : "Time", - "annotation" : [ ], - "signature" : [ ], - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "19", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "999", - "type" : "Literal", - "annotation" : [ ] - } - } - }, { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "type" : "Time", - "annotation" : [ ], - "signature" : [ ], - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "8", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - } - }, - "high" : { - "type" : "Time", - "annotation" : [ ], - "signature" : [ ], - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "11", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "999", - "type" : "Literal", - "annotation" : [ ] - } - } - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "false", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "TestOnOrAfterIntegerTrue", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "SameOrAfter", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "6", - "type" : "Literal", - "annotation" : [ ] - }, - "high" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "type" : "If", - "annotation" : [ ], - "condition" : { - "type" : "IsNull", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "6", - "type" : "Literal", - "annotation" : [ ] - } - }, - "then" : { - "type" : "Null", - "annotation" : [ ] - }, - "else" : { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "6", - "type" : "Literal", - "annotation" : [ ] - }, - "high" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "6", - "type" : "Literal", - "annotation" : [ ] - } - } - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "true", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "TestOnOrAfterDecimalFalse", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "SameOrAfter", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "type" : "If", - "annotation" : [ ], - "condition" : { - "type" : "IsNull", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "2.5", - "type" : "Literal", - "annotation" : [ ] - } - }, - "then" : { - "type" : "Null", - "annotation" : [ ] - }, - "else" : { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "2.5", - "type" : "Literal", - "annotation" : [ ] - }, - "high" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "2.5", - "type" : "Literal", - "annotation" : [ ] - } - } - }, { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "1.666", - "type" : "Literal", - "annotation" : [ ] - }, - "high" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "2.50000001", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "false", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "TestOnOrAfterQuantityTrue", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "SameOrAfter", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "type" : "If", - "annotation" : [ ], - "condition" : { - "type" : "IsNull", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "value" : 2.5, - "unit" : "mg", - "type" : "Quantity", - "annotation" : [ ] - } - }, - "then" : { - "type" : "Null", - "annotation" : [ ] - }, - "else" : { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "value" : 2.5, - "unit" : "mg", - "type" : "Quantity", - "annotation" : [ ] - }, - "high" : { - "value" : 2.5, - "unit" : "mg", - "type" : "Quantity", - "annotation" : [ ] - } - } - }, { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "value" : 1.666, - "unit" : "mg", - "type" : "Quantity", - "annotation" : [ ] - }, - "high" : { - "value" : 2.50000000, - "unit" : "mg", - "type" : "Quantity", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "true", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - } ] - } - }, { - "name" : "OnOrBefore", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ ], - "expression" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "TestOnOrBeforeNull", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "SameOrBefore", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "type" : "Date", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "12", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - } - }, - "high" : { - "type" : "Date", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2013", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "12", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - } - } - }, { - "strict" : false, - "type" : "As", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "type" : "Null", - "annotation" : [ ] - }, - "asTypeSpecifier" : { - "type" : "IntervalTypeSpecifier", - "annotation" : [ ], - "pointType" : { - "name" : "{urn:hl7-org:elm-types:r1}Date", - "type" : "NamedTypeSpecifier", - "annotation" : [ ] - } - } - } ] - } - }, { - "name" : "output", - "value" : { - "type" : "Null", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "TestOnOrBeforeDateTrue", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "precision" : "Month", - "type" : "SameOrBefore", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "type" : "Date", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - } - }, - "high" : { - "type" : "Date", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "11", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - } - } - }, { - "type" : "If", - "annotation" : [ ], - "condition" : { - "type" : "IsNull", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "type" : "Date", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "11", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal", - "annotation" : [ ] - } - } - }, - "then" : { - "type" : "Null", - "annotation" : [ ] - }, - "else" : { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "type" : "Date", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "11", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal", - "annotation" : [ ] - } - }, - "high" : { - "type" : "Date", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "11", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal", - "annotation" : [ ] - } - } - } - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "true", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "TestOnOrBeforeDateFalse", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "precision" : "Month", - "type" : "SameOrBefore", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "type" : "If", - "annotation" : [ ], - "condition" : { - "type" : "IsNull", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "type" : "Date", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "11", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal", - "annotation" : [ ] - } - } - }, - "then" : { - "type" : "Null", - "annotation" : [ ] - }, - "else" : { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "type" : "Date", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "11", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal", - "annotation" : [ ] - } - }, - "high" : { - "type" : "Date", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "11", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal", - "annotation" : [ ] - } - } - } - }, { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "type" : "Date", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - } - }, - "high" : { - "type" : "Date", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2013", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "12", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - } - } - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "false", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "TestOnOrBeforeTimeTrue", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "precision" : "Hour", - "type" : "SameOrBefore", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "type" : "Time", - "annotation" : [ ], - "signature" : [ ], - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - } - }, - "high" : { - "type" : "Time", - "annotation" : [ ], - "signature" : [ ], - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "7", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "999", - "type" : "Literal", - "annotation" : [ ] - } - } - }, { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "type" : "Time", - "annotation" : [ ], - "signature" : [ ], - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "8", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - } - }, - "high" : { - "type" : "Time", - "annotation" : [ ], - "signature" : [ ], - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "9", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "999", - "type" : "Literal", - "annotation" : [ ] - } - } - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "true", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "TestOnOrBeforeTimeFalse", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "precision" : "Hour", - "type" : "SameOrBefore", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "type" : "Time", - "annotation" : [ ], - "signature" : [ ], - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - } - }, - "high" : { - "type" : "Time", - "annotation" : [ ], - "signature" : [ ], - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "19", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "999", - "type" : "Literal", - "annotation" : [ ] - } - } - }, { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "type" : "Time", - "annotation" : [ ], - "signature" : [ ], - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "8", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - } - }, - "high" : { - "type" : "Time", - "annotation" : [ ], - "signature" : [ ], - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "11", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "999", - "type" : "Literal", - "annotation" : [ ] - } - } - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "false", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "TestOnOrBeforeIntegerTrue", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "SameOrBefore", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "4", - "type" : "Literal", - "annotation" : [ ] - }, - "high" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "6", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "type" : "If", - "annotation" : [ ], - "condition" : { - "type" : "IsNull", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "6", - "type" : "Literal", - "annotation" : [ ] - } - }, - "then" : { - "type" : "Null", - "annotation" : [ ] - }, - "else" : { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "6", - "type" : "Literal", - "annotation" : [ ] - }, - "high" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "6", - "type" : "Literal", - "annotation" : [ ] - } - } - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "true", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "TestOnOrBeforeDecimalFalse", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "SameOrBefore", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "type" : "If", - "annotation" : [ ], - "condition" : { - "type" : "IsNull", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "1.6667", - "type" : "Literal", - "annotation" : [ ] - } - }, - "then" : { - "type" : "Null", - "annotation" : [ ] - }, - "else" : { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "1.6667", - "type" : "Literal", - "annotation" : [ ] - }, - "high" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "1.6667", - "type" : "Literal", - "annotation" : [ ] - } - } - }, { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "1.666", - "type" : "Literal", - "annotation" : [ ] - }, - "high" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "2.50000001", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "false", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "TestOnOrBeforeQuantityTrue", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "SameOrBefore", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "type" : "If", - "annotation" : [ ], - "condition" : { - "type" : "IsNull", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "value" : 1.666, - "unit" : "mg", - "type" : "Quantity", - "annotation" : [ ] - } - }, - "then" : { - "type" : "Null", - "annotation" : [ ] - }, - "else" : { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "value" : 1.666, - "unit" : "mg", - "type" : "Quantity", - "annotation" : [ ] - }, - "high" : { - "value" : 1.666, - "unit" : "mg", - "type" : "Quantity", - "annotation" : [ ] - } - } - }, { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "value" : 1.666, - "unit" : "mg", - "type" : "Quantity", - "annotation" : [ ] - }, - "high" : { - "value" : 2.50000000, - "unit" : "mg", - "type" : "Quantity", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "true", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - } ] - } - }, { - "name" : "Overlaps", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ ], - "expression" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "TestOverlapsNull", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Overlaps", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "type" : "Null", - "annotation" : [ ] - }, - "high" : { - "type" : "Null", - "annotation" : [ ] - } - }, { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - }, - "high" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "output", - "value" : { - "type" : "Null", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "IntegerIntervalOverlapsTrue", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Overlaps", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - }, - "high" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "4", - "type" : "Literal", - "annotation" : [ ] - }, - "high" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "true", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "IntegerIntervalOverlapsTrue2", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Overlaps", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "4", - "type" : "Literal", - "annotation" : [ ] - }, - "high" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "4", - "type" : "Literal", - "annotation" : [ ] - }, - "high" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "true", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "IntegerIntervalOverlapsTrue3", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Overlaps", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - }, - "high" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "4", - "type" : "Literal", - "annotation" : [ ] - }, - "high" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "true", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "IntegerIntervalOverlapsFalse", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Overlaps", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - }, - "high" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "11", - "type" : "Literal", - "annotation" : [ ] - }, - "high" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "20", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "false", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "IntegerIntervalExclusiveOverlapsTrue", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Overlaps", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "lowClosed" : true, - "highClosed" : false, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "4", - "type" : "Literal", - "annotation" : [ ] - }, - "high" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "lowClosed" : true, - "highClosed" : false, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "4", - "type" : "Literal", - "annotation" : [ ] - }, - "high" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "true", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "IntegerIntervalExclusiveOverlapsTrue2", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Overlaps", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "lowClosed" : true, - "highClosed" : false, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "4", - "type" : "Literal", - "annotation" : [ ] - }, - "high" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "11", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - }, - "high" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "20", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "true", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "IntegerIntervalExclusiveOverlapsTrue3", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Overlaps", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "4", - "type" : "Literal", - "annotation" : [ ] - }, - "high" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "lowClosed" : false, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "9", - "type" : "Literal", - "annotation" : [ ] - }, - "high" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "20", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "true", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "IntegerIntervalExclusiveOverlapsTrue4", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Overlaps", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "lowClosed" : true, - "highClosed" : false, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "4", - "type" : "Literal", - "annotation" : [ ] - }, - "high" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "11", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "lowClosed" : false, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "9", - "type" : "Literal", - "annotation" : [ ] - }, - "high" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "20", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "true", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "IntegerIntervalExclusiveOverlapsFalse", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Overlaps", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "4", - "type" : "Literal", - "annotation" : [ ] - }, - "high" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "lowClosed" : false, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - }, - "high" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "20", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "false", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "IntegerIntervalExclusiveOverlapsFalse2", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Overlaps", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "lowClosed" : true, - "highClosed" : false, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "4", - "type" : "Literal", - "annotation" : [ ] - }, - "high" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - }, - "high" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "20", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "false", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "IntegerIntervalExclusiveOverlapsFalse3", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Overlaps", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "lowClosed" : true, - "highClosed" : false, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "4", - "type" : "Literal", - "annotation" : [ ] - }, - "high" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "lowClosed" : false, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - }, - "high" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "20", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "false", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "IntegerIntervalExclusiveOverlapsFalse4", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Overlaps", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "lowClosed" : true, - "highClosed" : false, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "4", - "type" : "Literal", - "annotation" : [ ] - }, - "high" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "lowClosed" : false, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "9", - "type" : "Literal", - "annotation" : [ ] - }, - "high" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "20", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "false", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "DecimalIntervalOverlapsTrue", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Overlaps", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "1.0", - "type" : "Literal", - "annotation" : [ ] - }, - "high" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "10.0", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "4.0", - "type" : "Literal", - "annotation" : [ ] - }, - "high" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "10.0", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "true", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "DecimalIntervalOverlapsFalse", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Overlaps", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "1.0", - "type" : "Literal", - "annotation" : [ ] - }, - "high" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "10.0", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "11.0", - "type" : "Literal", - "annotation" : [ ] - }, - "high" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "20.0", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "false", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "QuantityIntervalOverlapsTrue", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Overlaps", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "value" : 1.0, - "unit" : "g", - "type" : "Quantity", - "annotation" : [ ] - }, - "high" : { - "value" : 10.0, - "unit" : "g", - "type" : "Quantity", - "annotation" : [ ] - } - }, { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "value" : 5.0, - "unit" : "g", - "type" : "Quantity", - "annotation" : [ ] - }, - "high" : { - "value" : 10.0, - "unit" : "g", - "type" : "Quantity", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "true", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "QuantityIntervalOverlapsFalse", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Overlaps", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "value" : 1.0, - "unit" : "g", - "type" : "Quantity", - "annotation" : [ ] - }, - "high" : { - "value" : 10.0, - "unit" : "g", - "type" : "Quantity", - "annotation" : [ ] - } - }, { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "value" : 11.0, - "unit" : "g", - "type" : "Quantity", - "annotation" : [ ] - }, - "high" : { - "value" : 20.0, - "unit" : "g", - "type" : "Quantity", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "false", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "DateTimeOverlapsTrue", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Overlaps", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal", - "annotation" : [ ] - } - }, - "high" : { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "25", - "type" : "Literal", - "annotation" : [ ] - } - } - }, { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal", - "annotation" : [ ] - } - }, - "high" : { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "28", - "type" : "Literal", - "annotation" : [ ] - } - } - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "true", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "DateTimeOverlapsFalse", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Overlaps", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal", - "annotation" : [ ] - } - }, - "high" : { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "25", - "type" : "Literal", - "annotation" : [ ] - } - } - }, { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "26", - "type" : "Literal", - "annotation" : [ ] - } - }, - "high" : { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "28", - "type" : "Literal", - "annotation" : [ ] - } - } - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "false", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "DateTimeOverlapsPrecisionLeftPossiblyStartsDuringRight", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Overlaps", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "25", - "type" : "Literal", - "annotation" : [ ] - } - }, - "high" : { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "26", - "type" : "Literal", - "annotation" : [ ] - } - } - }, { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - } - }, - "high" : { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal", - "annotation" : [ ] - } - } - } ] - } - }, { - "name" : "output", - "value" : { - "type" : "Null", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "DateTimeOverlapsPrecisioLeftPossiblyEndsDuringRight", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Overlaps", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "25", - "type" : "Literal", - "annotation" : [ ] - } - }, - "high" : { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "26", - "type" : "Literal", - "annotation" : [ ] - } - } - }, { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal", - "annotation" : [ ] - } - }, - "high" : { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "28", - "type" : "Literal", - "annotation" : [ ] - } - } - } ] - } - }, { - "name" : "output", - "value" : { - "type" : "Null", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "DateTimeOverlapsPrecisionLeftPossiblyStartsAndEndsDuringRight", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Overlaps", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal", - "annotation" : [ ] - } - }, - "high" : { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal", - "annotation" : [ ] - } - } - }, { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2011", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - } - }, - "high" : { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal", - "annotation" : [ ] - } - } - } ] - } - }, { - "name" : "output", - "value" : { - "type" : "Null", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "DateTimeOverlapsPrecisionRightPossiblyStartsDuringLeftButEndsDuringLeft", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Overlaps", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal", - "annotation" : [ ] - } - }, - "high" : { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2013", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal", - "annotation" : [ ] - } - } - }, { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal", - "annotation" : [ ] - } - }, - "high" : { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2013", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal", - "annotation" : [ ] - } - } - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "true", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "DateTimeOverlapsPrecisionRightStartsDuringLeftAndPossiblyEndsDuringLeft", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Overlaps", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal", - "annotation" : [ ] - } - }, - "high" : { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2013", - "type" : "Literal", - "annotation" : [ ] - } - } - }, { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal", - "annotation" : [ ] - } - }, - "high" : { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2013", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal", - "annotation" : [ ] - } - } - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "true", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "TimeOverlapsTrue", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Overlaps", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "type" : "Time", - "annotation" : [ ], - "signature" : [ ], - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - } - }, - "high" : { - "type" : "Time", - "annotation" : [ ], - "signature" : [ ], - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "19", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "999", - "type" : "Literal", - "annotation" : [ ] - } - } - }, { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "type" : "Time", - "annotation" : [ ], - "signature" : [ ], - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "12", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - } - }, - "high" : { - "type" : "Time", - "annotation" : [ ], - "signature" : [ ], - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "21", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "999", - "type" : "Literal", - "annotation" : [ ] - } - } - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "true", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "TimeOverlapsFalse", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Overlaps", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "type" : "Time", - "annotation" : [ ], - "signature" : [ ], - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - } - }, - "high" : { - "type" : "Time", - "annotation" : [ ], - "signature" : [ ], - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "19", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "999", - "type" : "Literal", - "annotation" : [ ] - } - } - }, { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "type" : "Time", - "annotation" : [ ], - "signature" : [ ], - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "20", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - } - }, - "high" : { - "type" : "Time", - "annotation" : [ ], - "signature" : [ ], - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "21", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "999", - "type" : "Literal", - "annotation" : [ ] - } - } - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "false", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - } ] - } - }, { - "name" : "OverlapsBefore", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ ], - "expression" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "TestOverlapsBeforeNull", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "OverlapsBefore", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "type" : "Null", - "annotation" : [ ] - }, - "high" : { - "type" : "Null", - "annotation" : [ ] - } - }, { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - }, - "high" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "output", - "value" : { - "type" : "Null", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "IntegerIntervalOverlapsBeforeTrue", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "OverlapsBefore", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - }, - "high" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "4", - "type" : "Literal", - "annotation" : [ ] - }, - "high" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "true", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "IntegerIntervalOverlapsBeforeFalse", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "OverlapsBefore", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "4", - "type" : "Literal", - "annotation" : [ ] - }, - "high" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - }, - "high" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "false", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "IntegerIntervalOverlapsBeforeFalse2", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "OverlapsBefore", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "4", - "type" : "Literal", - "annotation" : [ ] - }, - "high" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "4", - "type" : "Literal", - "annotation" : [ ] - }, - "high" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "false", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "IntegerIntervalExclusiveOverlapsBeforeTrue", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "OverlapsBefore", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "4", - "type" : "Literal", - "annotation" : [ ] - }, - "high" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "lowClosed" : false, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "4", - "type" : "Literal", - "annotation" : [ ] - }, - "high" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "true", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "IntegerIntervalExclusiveOverlapsBeforeTrue2", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "OverlapsBefore", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "lowClosed" : false, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal", - "annotation" : [ ] - }, - "high" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "lowClosed" : false, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "4", - "type" : "Literal", - "annotation" : [ ] - }, - "high" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "true", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "IntegerIntervalExclusiveOverlapsBeforeTrue3", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "OverlapsBefore", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "lowClosed" : false, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal", - "annotation" : [ ] - }, - "high" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal", - "annotation" : [ ] - }, - "high" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "true", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "IntegerIntervalExclusiveOverlapsBeforeFalse", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "OverlapsBefore", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "lowClosed" : false, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal", - "annotation" : [ ] - }, - "high" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "lowClosed" : false, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal", - "annotation" : [ ] - }, - "high" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "false", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "IntegerIntervalExclusiveOverlapsBeforeFalse2", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "OverlapsBefore", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "lowClosed" : false, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal", - "annotation" : [ ] - }, - "high" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "4", - "type" : "Literal", - "annotation" : [ ] - }, - "high" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "false", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "IntegerIntervalExclusiveOverlapsBeforeFalse3", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "OverlapsBefore", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "4", - "type" : "Literal", - "annotation" : [ ] - }, - "high" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "lowClosed" : false, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal", - "annotation" : [ ] - }, - "high" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "false", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "DecimalIntervalOverlapsBeforeTrue", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "OverlapsBefore", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "1.0", - "type" : "Literal", - "annotation" : [ ] - }, - "high" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "10.0", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "4.0", - "type" : "Literal", - "annotation" : [ ] - }, - "high" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "10.0", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "true", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "DecimalIntervalOverlapsBeforeFalse", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "OverlapsBefore", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "4.0", - "type" : "Literal", - "annotation" : [ ] - }, - "high" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "10.0", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "1.0", - "type" : "Literal", - "annotation" : [ ] - }, - "high" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "10.0", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "false", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "QuantityIntervalOverlapsBeforeTrue", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "OverlapsBefore", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "value" : 1.0, - "unit" : "g", - "type" : "Quantity", - "annotation" : [ ] - }, - "high" : { - "value" : 10.0, - "unit" : "g", - "type" : "Quantity", - "annotation" : [ ] - } - }, { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "value" : 5.0, - "unit" : "g", - "type" : "Quantity", - "annotation" : [ ] - }, - "high" : { - "value" : 10.0, - "unit" : "g", - "type" : "Quantity", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "true", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "QuantityIntervalOverlapsBeforeFalse", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "OverlapsBefore", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "value" : 5.0, - "unit" : "g", - "type" : "Quantity", - "annotation" : [ ] - }, - "high" : { - "value" : 10.0, - "unit" : "g", - "type" : "Quantity", - "annotation" : [ ] - } - }, { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "value" : 1.0, - "unit" : "g", - "type" : "Quantity", - "annotation" : [ ] - }, - "high" : { - "value" : 10.0, - "unit" : "g", - "type" : "Quantity", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "false", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "DateTimeOverlapsBeforeTrue", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Overlaps", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal", - "annotation" : [ ] - } - }, - "high" : { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "25", - "type" : "Literal", - "annotation" : [ ] - } - } - }, { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal", - "annotation" : [ ] - } - }, - "high" : { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "28", - "type" : "Literal", - "annotation" : [ ] - } - } - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "true", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "DateTimeOverlapsBeforeFalse", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Overlaps", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal", - "annotation" : [ ] - } - }, - "high" : { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "25", - "type" : "Literal", - "annotation" : [ ] - } - } - }, { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "26", - "type" : "Literal", - "annotation" : [ ] - } - }, - "high" : { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "28", - "type" : "Literal", - "annotation" : [ ] - } - } - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "false", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "TimeOverlapsBeforeTrue", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Overlaps", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "type" : "Time", - "annotation" : [ ], - "signature" : [ ], - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - } - }, - "high" : { - "type" : "Time", - "annotation" : [ ], - "signature" : [ ], - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "19", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "999", - "type" : "Literal", - "annotation" : [ ] - } - } - }, { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "type" : "Time", - "annotation" : [ ], - "signature" : [ ], - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "12", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - } - }, - "high" : { - "type" : "Time", - "annotation" : [ ], - "signature" : [ ], - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "21", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "999", - "type" : "Literal", - "annotation" : [ ] - } - } - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "true", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "TimeOverlapsBeforeFalse", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Overlaps", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "type" : "Time", - "annotation" : [ ], - "signature" : [ ], - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - } - }, - "high" : { - "type" : "Time", - "annotation" : [ ], - "signature" : [ ], - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "19", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "999", - "type" : "Literal", - "annotation" : [ ] - } - } - }, { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "type" : "Time", - "annotation" : [ ], - "signature" : [ ], - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "20", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - } - }, - "high" : { - "type" : "Time", - "annotation" : [ ], - "signature" : [ ], - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "21", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "999", - "type" : "Literal", - "annotation" : [ ] - } - } - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "false", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - } ] - } - }, { - "name" : "OverlapsAfter", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ ], - "expression" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "TestOverlapsAfterNull", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "OverlapsAfter", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "type" : "Null", - "annotation" : [ ] - }, - "high" : { - "type" : "Null", - "annotation" : [ ] - } - }, { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - }, - "high" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "output", - "value" : { - "type" : "Null", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "IntegerIntervalOverlapsAfterTrue", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "OverlapsAfter", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "4", - "type" : "Literal", - "annotation" : [ ] - }, - "high" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - }, - "high" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "true", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "IntegerIntervalOverlapsAfterFalse", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "OverlapsAfter", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "4", - "type" : "Literal", - "annotation" : [ ] - }, - "high" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - }, - "high" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "false", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "IntegerIntervalOverlapsAfterFalse2", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "OverlapsAfter", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "4", - "type" : "Literal", - "annotation" : [ ] - }, - "high" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "4", - "type" : "Literal", - "annotation" : [ ] - }, - "high" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "false", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "IntegerIntervalExclusiveOverlapsAfterTrue", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "OverlapsAfter", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "lowClosed" : true, - "highClosed" : false, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "4", - "type" : "Literal", - "annotation" : [ ] - }, - "high" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "11", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "4", - "type" : "Literal", - "annotation" : [ ] - }, - "high" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "9", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "true", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "IntegerIntervalExclusiveOverlapsAfterTrue2", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "OverlapsAfter", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "lowClosed" : true, - "highClosed" : false, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "4", - "type" : "Literal", - "annotation" : [ ] - }, - "high" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "11", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "lowClosed" : true, - "highClosed" : false, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "4", - "type" : "Literal", - "annotation" : [ ] - }, - "high" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "true", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "IntegerIntervalExclusiveOverlapsAfterTrue3", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "OverlapsAfter", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "4", - "type" : "Literal", - "annotation" : [ ] - }, - "high" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "lowClosed" : true, - "highClosed" : false, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "4", - "type" : "Literal", - "annotation" : [ ] - }, - "high" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "true", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "IntegerIntervalExclusiveOverlapsAfterFalse", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "OverlapsAfter", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "lowClosed" : true, - "highClosed" : false, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "4", - "type" : "Literal", - "annotation" : [ ] - }, - "high" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "11", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "lowClosed" : true, - "highClosed" : false, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "4", - "type" : "Literal", - "annotation" : [ ] - }, - "high" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "11", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "false", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "IntegerIntervalExclusiveOverlapsAfterFalse2", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "OverlapsAfter", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "lowClosed" : true, - "highClosed" : false, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "4", - "type" : "Literal", - "annotation" : [ ] - }, - "high" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "11", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "4", - "type" : "Literal", - "annotation" : [ ] - }, - "high" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "false", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "IntegerIntervalExclusiveOverlapsAfterFalse3", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "OverlapsAfter", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "4", - "type" : "Literal", - "annotation" : [ ] - }, - "high" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "lowClosed" : true, - "highClosed" : false, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "4", - "type" : "Literal", - "annotation" : [ ] - }, - "high" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "11", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "false", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "DecimalIntervalOverlapsAfterTrue", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "OverlapsAfter", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "4.0", - "type" : "Literal", - "annotation" : [ ] - }, - "high" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "15.0", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "1.0", - "type" : "Literal", - "annotation" : [ ] - }, - "high" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "10.0", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "true", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "DecimalIntervalOverlapsAfterFalse", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "OverlapsAfter", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "4.0", - "type" : "Literal", - "annotation" : [ ] - }, - "high" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "10.0", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "1.0", - "type" : "Literal", - "annotation" : [ ] - }, - "high" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "10.0", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "false", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "QuantityIntervalOverlapsAfterTrue", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "OverlapsAfter", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "value" : 5.0, - "unit" : "g", - "type" : "Quantity", - "annotation" : [ ] - }, - "high" : { - "value" : 15.0, - "unit" : "g", - "type" : "Quantity", - "annotation" : [ ] - } - }, { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "value" : 1.0, - "unit" : "g", - "type" : "Quantity", - "annotation" : [ ] - }, - "high" : { - "value" : 10.0, - "unit" : "g", - "type" : "Quantity", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "true", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "QuantityIntervalOverlapsAfterFalse", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "OverlapsAfter", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "value" : 5.0, - "unit" : "g", - "type" : "Quantity", - "annotation" : [ ] - }, - "high" : { - "value" : 10.0, - "unit" : "g", - "type" : "Quantity", - "annotation" : [ ] - } - }, { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "value" : 1.0, - "unit" : "g", - "type" : "Quantity", - "annotation" : [ ] - }, - "high" : { - "value" : 10.0, - "unit" : "g", - "type" : "Quantity", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "false", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "DateTimeOverlapsAfterTrue", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Overlaps", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal", - "annotation" : [ ] - } - }, - "high" : { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "28", - "type" : "Literal", - "annotation" : [ ] - } - } - }, { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal", - "annotation" : [ ] - } - }, - "high" : { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "25", - "type" : "Literal", - "annotation" : [ ] - } - } - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "true", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "DateTimeOverlapsAfterFalse", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Overlaps", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "26", - "type" : "Literal", - "annotation" : [ ] - } - }, - "high" : { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "28", - "type" : "Literal", - "annotation" : [ ] - } - } - }, { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal", - "annotation" : [ ] - } - }, - "high" : { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "25", - "type" : "Literal", - "annotation" : [ ] - } - } - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "false", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "TimeOverlapsAfterTrue", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Overlaps", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "type" : "Time", - "annotation" : [ ], - "signature" : [ ], - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "12", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - } - }, - "high" : { - "type" : "Time", - "annotation" : [ ], - "signature" : [ ], - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "21", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "999", - "type" : "Literal", - "annotation" : [ ] - } - } - }, { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "type" : "Time", - "annotation" : [ ], - "signature" : [ ], - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - } - }, - "high" : { - "type" : "Time", - "annotation" : [ ], - "signature" : [ ], - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "19", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "999", - "type" : "Literal", - "annotation" : [ ] - } - } - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "true", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "TimeOverlapsAfterFalse", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Overlaps", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "type" : "Time", - "annotation" : [ ], - "signature" : [ ], - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "20", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - } - }, - "high" : { - "type" : "Time", - "annotation" : [ ], - "signature" : [ ], - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "21", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "999", - "type" : "Literal", - "annotation" : [ ] - } - } - }, { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "type" : "Time", - "annotation" : [ ], - "signature" : [ ], - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - } - }, - "high" : { - "type" : "Time", - "annotation" : [ ], - "signature" : [ ], - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "19", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "999", - "type" : "Literal", - "annotation" : [ ] - } - } - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "false", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - } ] - } - }, { - "name" : "PointFrom", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ ], - "expression" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "TestPointFromNull", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "skipped", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "PointFrom not implemented", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "TestPointFromInteger", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "skipped", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "PointFrom not implemented", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "TestPointFromDecimal", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "skipped", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "PointFrom not implemented", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "TestPointFromQuantity", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "skipped", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "PointFrom not implemented", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - } ] - } - }, { - "name" : "ProperContains", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ ], - "expression" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "TimeProperContainsTrue", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "skipped", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "ProperContains not implemented", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "TimeProperContainsFalse", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "skipped", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "ProperContains not implemented", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "TimeProperContainsNull", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "skipped", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "ProperContains not implemented", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "TimeProperContainsPrecisionTrue", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "skipped", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "ProperContains not implemented", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "TimeProperContainsPrecisionFalse", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "skipped", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "ProperContains not implemented", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "TimeProperContainsPrecisionNull", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "skipped", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "ProperContains not implemented", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - } ] - } - }, { - "name" : "ProperIn", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ ], - "expression" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "TimeProperInTrue", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "skipped", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "ProperIn not implemented", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "TimeProperInFalse", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "skipped", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "ProperIn not implemented", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "TimeProperInNull", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "skipped", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "ProperIn not implemented", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "TimeProperInPrecisionTrue", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "skipped", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "ProperIn not implemented", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "TimeProperInPrecisionFalse", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "skipped", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "ProperIn not implemented", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "TimeProperInPrecisionNull", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "skipped", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "ProperIn not implemented", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - } ] - } - }, { - "name" : "ProperlyIncludes", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ ], - "expression" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "NullBoundariesProperlyIncludesIntegerInterval", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "ProperIncludes", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "strict" : false, - "type" : "As", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "type" : "Null", - "annotation" : [ ] - }, - "asTypeSpecifier" : { - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier", - "annotation" : [ ] - } - }, - "high" : { - "strict" : false, - "type" : "As", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "type" : "Null", - "annotation" : [ ] - }, - "asTypeSpecifier" : { - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier", - "annotation" : [ ] - } - } - }, { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - }, - "high" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "true", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "IntegerIntervalProperlyIncludesTrue", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "ProperIncludes", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - }, - "high" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "4", - "type" : "Literal", - "annotation" : [ ] - }, - "high" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "true", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "IntegerIntervalProperlyIncludesFalse", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "ProperIncludes", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - }, - "high" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "4", - "type" : "Literal", - "annotation" : [ ] - }, - "high" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "false", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "DecimalIntervalProperlyIncludesTrue", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "ProperIncludes", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "1.0", - "type" : "Literal", - "annotation" : [ ] - }, - "high" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "10.0", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "4.0", - "type" : "Literal", - "annotation" : [ ] - }, - "high" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "10.0", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "true", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "DecimalIntervalProperlyIncludesFalse", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "ProperIncludes", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "1.0", - "type" : "Literal", - "annotation" : [ ] - }, - "high" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "10.0", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "4.0", - "type" : "Literal", - "annotation" : [ ] - }, - "high" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "15.0", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "false", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "QuantityIntervalProperlyIncludesTrue", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "ProperIncludes", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "value" : 1.0, - "unit" : "g", - "type" : "Quantity", - "annotation" : [ ] - }, - "high" : { - "value" : 10.0, - "unit" : "g", - "type" : "Quantity", - "annotation" : [ ] - } - }, { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "value" : 5.0, - "unit" : "g", - "type" : "Quantity", - "annotation" : [ ] - }, - "high" : { - "value" : 10.0, - "unit" : "g", - "type" : "Quantity", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "true", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "QuantityIntervalProperlyIncludesFalse", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "ProperIncludes", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "value" : 1.0, - "unit" : "g", - "type" : "Quantity", - "annotation" : [ ] - }, - "high" : { - "value" : 10.0, - "unit" : "g", - "type" : "Quantity", - "annotation" : [ ] - } - }, { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "value" : 5.0, - "unit" : "g", - "type" : "Quantity", - "annotation" : [ ] - }, - "high" : { - "value" : 15.0, - "unit" : "g", - "type" : "Quantity", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "false", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "DateTimeProperlyIncludesTrue", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "ProperIncludes", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal", - "annotation" : [ ] - } - }, - "high" : { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "28", - "type" : "Literal", - "annotation" : [ ] - } - } - }, { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "16", - "type" : "Literal", - "annotation" : [ ] - } - }, - "high" : { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "27", - "type" : "Literal", - "annotation" : [ ] - } - } - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "true", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "DateTimeProperlyIncludesFalse", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "ProperIncludes", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal", - "annotation" : [ ] - } - }, - "high" : { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "28", - "type" : "Literal", - "annotation" : [ ] - } - } - }, { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "16", - "type" : "Literal", - "annotation" : [ ] - } - }, - "high" : { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "29", - "type" : "Literal", - "annotation" : [ ] - } - } - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "false", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "TimeProperlyIncludesTrue", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "ProperIncludes", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "type" : "Time", - "annotation" : [ ], - "signature" : [ ], - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "12", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - } - }, - "high" : { - "type" : "Time", - "annotation" : [ ], - "signature" : [ ], - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "21", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "999", - "type" : "Literal", - "annotation" : [ ] - } - } - }, { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "type" : "Time", - "annotation" : [ ], - "signature" : [ ], - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "12", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - } - }, - "high" : { - "type" : "Time", - "annotation" : [ ], - "signature" : [ ], - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "21", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "998", - "type" : "Literal", - "annotation" : [ ] - } - } - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "true", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "TimeProperlyIncludesFalse", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "ProperIncludes", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "type" : "Time", - "annotation" : [ ], - "signature" : [ ], - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "12", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - } - }, - "high" : { - "type" : "Time", - "annotation" : [ ], - "signature" : [ ], - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "21", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "999", - "type" : "Literal", - "annotation" : [ ] - } - } - }, { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "type" : "Time", - "annotation" : [ ], - "signature" : [ ], - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "12", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - } - }, - "high" : { - "type" : "Time", - "annotation" : [ ], - "signature" : [ ], - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "22", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - } - } - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "false", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - } ] - } - }, { - "name" : "ProperlyIncludedIn", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ ], - "expression" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "IntegerIntervalProperlyIncludedInNullBoundaries", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "ProperIncludedIn", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - }, - "high" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "type" : "Interval", - "annotation" : [ ], - "low" : { - "asType" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "As", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "path" : "low", - "type" : "Property", - "annotation" : [ ], - "source" : { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "type" : "Null", - "annotation" : [ ] - }, - "high" : { - "type" : "Null", - "annotation" : [ ] - } - } - } - }, - "lowClosedExpression" : { - "path" : "lowClosed", - "type" : "Property", - "annotation" : [ ], - "source" : { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "type" : "Null", - "annotation" : [ ] - }, - "high" : { - "type" : "Null", - "annotation" : [ ] - } - } - }, - "high" : { - "asType" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "As", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "path" : "high", - "type" : "Property", - "annotation" : [ ], - "source" : { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "type" : "Null", - "annotation" : [ ] - }, - "high" : { - "type" : "Null", - "annotation" : [ ] - } - } - } - }, - "highClosedExpression" : { - "path" : "highClosed", - "type" : "Property", - "annotation" : [ ], - "source" : { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "type" : "Null", - "annotation" : [ ] - }, - "high" : { - "type" : "Null", - "annotation" : [ ] - } - } - } - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "true", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "IntegerIntervalProperlyIncludedInTrue", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "ProperIncludedIn", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "4", - "type" : "Literal", - "annotation" : [ ] - }, - "high" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - }, - "high" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "true", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "IntegerIntervalProperlyIncludedInFalse", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "ProperIncludedIn", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "4", - "type" : "Literal", - "annotation" : [ ] - }, - "high" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - }, - "high" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "false", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "DecimalIntervalProperlyIncludedInTrue", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "ProperIncludedIn", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "4.0", - "type" : "Literal", - "annotation" : [ ] - }, - "high" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "10.0", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "1.0", - "type" : "Literal", - "annotation" : [ ] - }, - "high" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "10.0", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "true", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "DecimalIntervalProperlyIncludedInFalse", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "ProperIncludedIn", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "4.0", - "type" : "Literal", - "annotation" : [ ] - }, - "high" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "15.0", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "1.0", - "type" : "Literal", - "annotation" : [ ] - }, - "high" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "10.0", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "false", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "QuantityIntervalProperlyIncludedInTrue", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "ProperIncludedIn", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "value" : 5.0, - "unit" : "g", - "type" : "Quantity", - "annotation" : [ ] - }, - "high" : { - "value" : 10.0, - "unit" : "g", - "type" : "Quantity", - "annotation" : [ ] - } - }, { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "value" : 1.0, - "unit" : "g", - "type" : "Quantity", - "annotation" : [ ] - }, - "high" : { - "value" : 10.0, - "unit" : "g", - "type" : "Quantity", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "true", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "QuantityIntervalProperlyIncludedInFalse", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "ProperIncludedIn", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "value" : 1.0, - "unit" : "g", - "type" : "Quantity", - "annotation" : [ ] - }, - "high" : { - "value" : 10.0, - "unit" : "g", - "type" : "Quantity", - "annotation" : [ ] - } - }, { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "value" : 5.0, - "unit" : "g", - "type" : "Quantity", - "annotation" : [ ] - }, - "high" : { - "value" : 15.0, - "unit" : "g", - "type" : "Quantity", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "false", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "DateTimeProperlyIncludedInTrue", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "ProperIncludedIn", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "16", - "type" : "Literal", - "annotation" : [ ] - } - }, - "high" : { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "27", - "type" : "Literal", - "annotation" : [ ] - } - } - }, { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal", - "annotation" : [ ] - } - }, - "high" : { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "28", - "type" : "Literal", - "annotation" : [ ] - } - } - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "true", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "DateTimeProperlyIncludedInFalse", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "ProperIncludedIn", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "16", - "type" : "Literal", - "annotation" : [ ] - } - }, - "high" : { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "29", - "type" : "Literal", - "annotation" : [ ] - } - } - }, { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal", - "annotation" : [ ] - } - }, - "high" : { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "28", - "type" : "Literal", - "annotation" : [ ] - } - } - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "false", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "TimeProperlyIncludedInTrue", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "ProperIncludedIn", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "type" : "Time", - "annotation" : [ ], - "signature" : [ ], - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "12", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - } - }, - "high" : { - "type" : "Time", - "annotation" : [ ], - "signature" : [ ], - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "21", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "998", - "type" : "Literal", - "annotation" : [ ] - } - } - }, { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "type" : "Time", - "annotation" : [ ], - "signature" : [ ], - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "12", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - } - }, - "high" : { - "type" : "Time", - "annotation" : [ ], - "signature" : [ ], - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "21", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "999", - "type" : "Literal", - "annotation" : [ ] - } - } - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "true", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "TimeProperlyIncludedInFalse", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "ProperIncludedIn", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "type" : "Time", - "annotation" : [ ], - "signature" : [ ], - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "12", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - } - }, - "high" : { - "type" : "Time", - "annotation" : [ ], - "signature" : [ ], - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "22", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - } - } - }, { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "type" : "Time", - "annotation" : [ ], - "signature" : [ ], - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "12", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - } - }, - "high" : { - "type" : "Time", - "annotation" : [ ], - "signature" : [ ], - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "21", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "999", - "type" : "Literal", - "annotation" : [ ] - } - } - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "false", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - } ] - } - }, { - "name" : "Start", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ ], - "expression" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "IntegerIntervalStart", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Start", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - }, - "high" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - } - } - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "DecimalIntervalStart", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Start", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "1.0", - "type" : "Literal", - "annotation" : [ ] - }, - "high" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "10.0", - "type" : "Literal", - "annotation" : [ ] - } - } - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "1.0", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "QuantityIntervalStart", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Start", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "value" : 1.0, - "unit" : "g", - "type" : "Quantity", - "annotation" : [ ] - }, - "high" : { - "value" : 10.0, - "unit" : "g", - "type" : "Quantity", - "annotation" : [ ] - } - } - } - }, { - "name" : "output", - "value" : { - "value" : 1.0, - "unit" : "g", - "type" : "Quantity", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "DateTimeIntervalStart", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Start", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2016", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - }, - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - } - }, - "high" : { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2016", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal", - "annotation" : [ ] - }, - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - } - } - } - } - }, { - "name" : "output", - "value" : { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2016", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - }, - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - } - } - } ] - } - }, { - "name" : "TimeIntervalStart", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Start", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "type" : "Time", - "annotation" : [ ], - "signature" : [ ], - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - } - }, - "high" : { - "type" : "Time", - "annotation" : [ ], - "signature" : [ ], - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "23", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "599", - "type" : "Literal", - "annotation" : [ ] - } - } - } - } - }, { - "name" : "output", - "value" : { - "type" : "Time", - "annotation" : [ ], - "signature" : [ ], - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - } - } - } ] - } - } ] - } - }, { - "name" : "Starts", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ ], - "expression" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "TestStartsNull", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Starts", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "type" : "Null", - "annotation" : [ ] - }, - "high" : { - "type" : "Null", - "annotation" : [ ] - } - }, { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - }, - "high" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "output", - "value" : { - "type" : "Null", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "IntegerIntervalStartsTrue", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Starts", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "4", - "type" : "Literal", - "annotation" : [ ] - }, - "high" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "4", - "type" : "Literal", - "annotation" : [ ] - }, - "high" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "true", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "IntegerIntervalStartsFalse", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Starts", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - }, - "high" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "4", - "type" : "Literal", - "annotation" : [ ] - }, - "high" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "false", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "DecimalIntervalStartsTrue", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Starts", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "4.0", - "type" : "Literal", - "annotation" : [ ] - }, - "high" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "10.0", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "4.0", - "type" : "Literal", - "annotation" : [ ] - }, - "high" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "15.0", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "true", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "DecimalIntervalStartsFalse", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Starts", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "1.0", - "type" : "Literal", - "annotation" : [ ] - }, - "high" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "10.0", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "4.0", - "type" : "Literal", - "annotation" : [ ] - }, - "high" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "10.0", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "false", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "QuantityIntervalStartsTrue", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Starts", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "value" : 5.0, - "unit" : "g", - "type" : "Quantity", - "annotation" : [ ] - }, - "high" : { - "value" : 10.0, - "unit" : "g", - "type" : "Quantity", - "annotation" : [ ] - } - }, { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "value" : 5.0, - "unit" : "g", - "type" : "Quantity", - "annotation" : [ ] - }, - "high" : { - "value" : 15.0, - "unit" : "g", - "type" : "Quantity", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "true", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "QuantityIntervalStartsFalse", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Starts", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "value" : 1.0, - "unit" : "g", - "type" : "Quantity", - "annotation" : [ ] - }, - "high" : { - "value" : 10.0, - "unit" : "g", - "type" : "Quantity", - "annotation" : [ ] - } - }, { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "value" : 5.0, - "unit" : "g", - "type" : "Quantity", - "annotation" : [ ] - }, - "high" : { - "value" : 10.0, - "unit" : "g", - "type" : "Quantity", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "false", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "DateTimeStartsTrue", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Starts", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal", - "annotation" : [ ] - } - }, - "high" : { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "25", - "type" : "Literal", - "annotation" : [ ] - } - } - }, { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal", - "annotation" : [ ] - } - }, - "high" : { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "27", - "type" : "Literal", - "annotation" : [ ] - } - } - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "true", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "DateTimeStartsFalse", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Starts", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal", - "annotation" : [ ] - } - }, - "high" : { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "25", - "type" : "Literal", - "annotation" : [ ] - } - } - }, { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "6", - "type" : "Literal", - "annotation" : [ ] - } - }, - "high" : { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "27", - "type" : "Literal", - "annotation" : [ ] - } - } - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "false", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "TimeStartsTrue", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Starts", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "type" : "Time", - "annotation" : [ ], - "signature" : [ ], - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "999", - "type" : "Literal", - "annotation" : [ ] - } - }, - "high" : { - "type" : "Time", - "annotation" : [ ], - "signature" : [ ], - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "999", - "type" : "Literal", - "annotation" : [ ] - } - } - }, { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "type" : "Time", - "annotation" : [ ], - "signature" : [ ], - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "999", - "type" : "Literal", - "annotation" : [ ] - } - }, - "high" : { - "type" : "Time", - "annotation" : [ ], - "signature" : [ ], - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "17", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "999", - "type" : "Literal", - "annotation" : [ ] - } - } - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "true", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "TimeStartsFalse", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Starts", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "type" : "Time", - "annotation" : [ ], - "signature" : [ ], - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "999", - "type" : "Literal", - "annotation" : [ ] - } - }, - "high" : { - "type" : "Time", - "annotation" : [ ], - "signature" : [ ], - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "999", - "type" : "Literal", - "annotation" : [ ] - } - } - }, { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "type" : "Time", - "annotation" : [ ], - "signature" : [ ], - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "4", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "999", - "type" : "Literal", - "annotation" : [ ] - } - }, - "high" : { - "type" : "Time", - "annotation" : [ ], - "signature" : [ ], - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "17", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "999", - "type" : "Literal", - "annotation" : [ ] - } - } - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "false", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - } ] - } - }, { - "name" : "Union", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ ], - "expression" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "TestUnionNull", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Union", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "type" : "Null", - "annotation" : [ ] - }, - "high" : { - "type" : "Null", - "annotation" : [ ] - } - }, { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - }, - "high" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "output", - "value" : { - "type" : "Null", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "IntegerIntervalUnion1To15", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Union", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - }, - "high" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "4", - "type" : "Literal", - "annotation" : [ ] - }, - "high" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "output", - "value" : { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - }, - "high" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal", - "annotation" : [ ] - } - } - } ] - } - }, { - "name" : "IntegerIntervalUnionNull", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Union", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - }, - "high" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "44", - "type" : "Literal", - "annotation" : [ ] - }, - "high" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "50", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "output", - "value" : { - "type" : "Null", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "DecimalIntervalUnion1To15", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Union", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "1.0", - "type" : "Literal", - "annotation" : [ ] - }, - "high" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "10.0", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "4.0", - "type" : "Literal", - "annotation" : [ ] - }, - "high" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "15.0", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "output", - "value" : { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "1.0", - "type" : "Literal", - "annotation" : [ ] - }, - "high" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "15.0", - "type" : "Literal", - "annotation" : [ ] - } - } - } ] - } - }, { - "name" : "DecimalIntervalUnionNull", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Union", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "1.0", - "type" : "Literal", - "annotation" : [ ] - }, - "high" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "10.0", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "14.0", - "type" : "Literal", - "annotation" : [ ] - }, - "high" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "15.0", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "output", - "value" : { - "type" : "Null", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "QuantityIntervalUnion1To15", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Union", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "value" : 1.0, - "unit" : "g", - "type" : "Quantity", - "annotation" : [ ] - }, - "high" : { - "value" : 10.0, - "unit" : "g", - "type" : "Quantity", - "annotation" : [ ] - } - }, { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "value" : 5.0, - "unit" : "g", - "type" : "Quantity", - "annotation" : [ ] - }, - "high" : { - "value" : 15.0, - "unit" : "g", - "type" : "Quantity", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "output", - "value" : { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "value" : 1.0, - "unit" : "g", - "type" : "Quantity", - "annotation" : [ ] - }, - "high" : { - "value" : 15.0, - "unit" : "g", - "type" : "Quantity", - "annotation" : [ ] - } - } - } ] - } - }, { - "name" : "QuantityIntervalUnionNull", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Union", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "value" : 1.0, - "unit" : "g", - "type" : "Quantity", - "annotation" : [ ] - }, - "high" : { - "value" : 10.0, - "unit" : "g", - "type" : "Quantity", - "annotation" : [ ] - } - }, { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "value" : 14.0, - "unit" : "g", - "type" : "Quantity", - "annotation" : [ ] - }, - "high" : { - "value" : 15.0, - "unit" : "g", - "type" : "Quantity", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "output", - "value" : { - "type" : "Null", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "DateTimeUnion", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Union", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal", - "annotation" : [ ] - } - }, - "high" : { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "25", - "type" : "Literal", - "annotation" : [ ] - } - } - }, { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "25", - "type" : "Literal", - "annotation" : [ ] - } - }, - "high" : { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "28", - "type" : "Literal", - "annotation" : [ ] - } - } - } ] - } - }, { - "name" : "output", - "value" : { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal", - "annotation" : [ ] - } - }, - "high" : { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "28", - "type" : "Literal", - "annotation" : [ ] - } - } - } - } ] - } - }, { - "name" : "DateTimeUnionNull", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Union", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal", - "annotation" : [ ] - } - }, - "high" : { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "25", - "type" : "Literal", - "annotation" : [ ] - } - } - }, { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "27", - "type" : "Literal", - "annotation" : [ ] - } - }, - "high" : { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "28", - "type" : "Literal", - "annotation" : [ ] - } - } - } ] - } - }, { - "name" : "output", - "value" : { - "type" : "Null", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "TimeUnion", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Union", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "type" : "Time", - "annotation" : [ ], - "signature" : [ ], - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "999", - "type" : "Literal", - "annotation" : [ ] - } - }, - "high" : { - "type" : "Time", - "annotation" : [ ], - "signature" : [ ], - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "999", - "type" : "Literal", - "annotation" : [ ] - } - } - }, { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "type" : "Time", - "annotation" : [ ], - "signature" : [ ], - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "999", - "type" : "Literal", - "annotation" : [ ] - } - }, - "high" : { - "type" : "Time", - "annotation" : [ ], - "signature" : [ ], - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "20", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "999", - "type" : "Literal", - "annotation" : [ ] - } - } - } ] - } - }, { - "name" : "output", - "value" : { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "type" : "Time", - "annotation" : [ ], - "signature" : [ ], - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "999", - "type" : "Literal", - "annotation" : [ ] - } - }, - "high" : { - "type" : "Time", - "annotation" : [ ], - "signature" : [ ], - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "20", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "999", - "type" : "Literal", - "annotation" : [ ] - } - } - } - } ] - } - }, { - "name" : "TimeUnionNull", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Union", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "type" : "Time", - "annotation" : [ ], - "signature" : [ ], - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "999", - "type" : "Literal", - "annotation" : [ ] - } - }, - "high" : { - "type" : "Time", - "annotation" : [ ], - "signature" : [ ], - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "999", - "type" : "Literal", - "annotation" : [ ] - } - } - }, { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "type" : "Time", - "annotation" : [ ], - "signature" : [ ], - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "16", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "999", - "type" : "Literal", - "annotation" : [ ] - } - }, - "high" : { - "type" : "Time", - "annotation" : [ ], - "signature" : [ ], - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "20", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "999", - "type" : "Literal", - "annotation" : [ ] - } - } - } ] - } - }, { - "name" : "output", - "value" : { - "type" : "Null", - "annotation" : [ ] - } - } ] - } - } ] - } - }, { - "name" : "Width", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ ], - "expression" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "IntegerIntervalTestWidth9", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Width", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - }, - "high" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - } - } - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "9", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "IntervalTestWidthNull", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Width", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "strict" : false, - "type" : "As", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "type" : "Null", - "annotation" : [ ] - }, - "asTypeSpecifier" : { - "type" : "IntervalTypeSpecifier", - "annotation" : [ ], - "pointType" : { - "name" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "NamedTypeSpecifier", - "annotation" : [ ] - } - } - } - } - }, { - "name" : "output", - "value" : { - "type" : "Null", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "DecimalIntervalTestWidth11", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Width", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "4.0", - "type" : "Literal", - "annotation" : [ ] - }, - "high" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "15.0", - "type" : "Literal", - "annotation" : [ ] - } - } - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "11.0", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "QuantityIntervalTestWidth5", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Width", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "value" : 5.0, - "unit" : "g", - "type" : "Quantity", - "annotation" : [ ] - }, - "high" : { - "value" : 10.0, - "unit" : "g", - "type" : "Quantity", - "annotation" : [ ] - } - } - } - }, { - "name" : "output", - "value" : { - "value" : 5.0, - "unit" : "g", - "type" : "Quantity", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "DateTimeWidth", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Width", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal", - "annotation" : [ ] - } - }, - "high" : { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "25", - "type" : "Literal", - "annotation" : [ ] - } - } - } - } - }, { - "name" : "invalid", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "true", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "TimeWidth", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Width", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "type" : "Time", - "annotation" : [ ], - "signature" : [ ], - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "999", - "type" : "Literal", - "annotation" : [ ] - } - }, - "high" : { - "type" : "Time", - "annotation" : [ ], - "signature" : [ ], - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "999", - "type" : "Literal", - "annotation" : [ ] - } - } - } - } - }, { - "name" : "invalid", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "true", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - } ] - } - }, { - "name" : "Interval", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ ], - "expression" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "IntegerIntervalTest", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - }, - "high" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - } - } - }, { - "name" : "output", - "value" : { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - }, - "high" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - } - } - } ] - } - }, { - "name" : "IntegerIntervalTest2", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "11", - "type" : "Literal", - "annotation" : [ ] - }, - "high" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "20", - "type" : "Literal", - "annotation" : [ ] - } - } - }, { - "name" : "output", - "value" : { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "11", - "type" : "Literal", - "annotation" : [ ] - }, - "high" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "20", - "type" : "Literal", - "annotation" : [ ] - } - } - } ] - } - }, { - "name" : "IntegerIntervalTest3", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "44", - "type" : "Literal", - "annotation" : [ ] - }, - "high" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "50", - "type" : "Literal", - "annotation" : [ ] - } - } - }, { - "name" : "output", - "value" : { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "44", - "type" : "Literal", - "annotation" : [ ] - }, - "high" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "50", - "type" : "Literal", - "annotation" : [ ] - } - } - } ] - } - }, { - "name" : "IntegerIntervalTest4", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "4", - "type" : "Literal", - "annotation" : [ ] - }, - "high" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - } - } - }, { - "name" : "output", - "value" : { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "4", - "type" : "Literal", - "annotation" : [ ] - }, - "high" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - } - } - } ] - } - }, { - "name" : "IntegerIntervalTest5", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "4", - "type" : "Literal", - "annotation" : [ ] - }, - "high" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal", - "annotation" : [ ] - } - } - }, { - "name" : "output", - "value" : { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "4", - "type" : "Literal", - "annotation" : [ ] - }, - "high" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal", - "annotation" : [ ] - } - } - } ] - } - }, { - "name" : "DecimalIntervalTest", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "1.0", - "type" : "Literal", - "annotation" : [ ] - }, - "high" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "10.0", - "type" : "Literal", - "annotation" : [ ] - } - } - }, { - "name" : "output", - "value" : { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "1.0", - "type" : "Literal", - "annotation" : [ ] - }, - "high" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "10.0", - "type" : "Literal", - "annotation" : [ ] - } - } - } ] - } - }, { - "name" : "DecimalIntervalTest2", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "11.0", - "type" : "Literal", - "annotation" : [ ] - }, - "high" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "20.0", - "type" : "Literal", - "annotation" : [ ] - } - } - }, { - "name" : "output", - "value" : { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "11.0", - "type" : "Literal", - "annotation" : [ ] - }, - "high" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "20.0", - "type" : "Literal", - "annotation" : [ ] - } - } - } ] - } - }, { - "name" : "DecimalIntervalTest3", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "4.0", - "type" : "Literal", - "annotation" : [ ] - }, - "high" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "10.0", - "type" : "Literal", - "annotation" : [ ] - } - } - }, { - "name" : "output", - "value" : { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "4.0", - "type" : "Literal", - "annotation" : [ ] - }, - "high" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "10.0", - "type" : "Literal", - "annotation" : [ ] - } - } - } ] - } - }, { - "name" : "DecimalIntervalTest4", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "4.0", - "type" : "Literal", - "annotation" : [ ] - }, - "high" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "15.0", - "type" : "Literal", - "annotation" : [ ] - } - } - }, { - "name" : "output", - "value" : { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "4.0", - "type" : "Literal", - "annotation" : [ ] - }, - "high" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "15.0", - "type" : "Literal", - "annotation" : [ ] - } - } - } ] - } - }, { - "name" : "DecimalIntervalTest5", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "14.0", - "type" : "Literal", - "annotation" : [ ] - }, - "high" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "15.0", - "type" : "Literal", - "annotation" : [ ] - } - } - }, { - "name" : "output", - "value" : { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "14.0", - "type" : "Literal", - "annotation" : [ ] - }, - "high" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "15.0", - "type" : "Literal", - "annotation" : [ ] - } - } - } ] - } - }, { - "name" : "QuantityIntervalTest", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "value" : 1.0, - "unit" : "g", - "type" : "Quantity", - "annotation" : [ ] - }, - "high" : { - "value" : 10.0, - "unit" : "g", - "type" : "Quantity", - "annotation" : [ ] - } - } - }, { - "name" : "output", - "value" : { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "value" : 1.0, - "unit" : "g", - "type" : "Quantity", - "annotation" : [ ] - }, - "high" : { - "value" : 10.0, - "unit" : "g", - "type" : "Quantity", - "annotation" : [ ] - } - } - } ] - } - }, { - "name" : "QuantityIntervalTest2", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "value" : 11.0, - "unit" : "g", - "type" : "Quantity", - "annotation" : [ ] - }, - "high" : { - "value" : 20.0, - "unit" : "g", - "type" : "Quantity", - "annotation" : [ ] - } - } - }, { - "name" : "output", - "value" : { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "value" : 11.0, - "unit" : "g", - "type" : "Quantity", - "annotation" : [ ] - }, - "high" : { - "value" : 20.0, - "unit" : "g", - "type" : "Quantity", - "annotation" : [ ] - } - } - } ] - } - }, { - "name" : "QuantityIntervalTest3", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "value" : 5.0, - "unit" : "g", - "type" : "Quantity", - "annotation" : [ ] - }, - "high" : { - "value" : 10.0, - "unit" : "g", - "type" : "Quantity", - "annotation" : [ ] - } - } - }, { - "name" : "output", - "value" : { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "value" : 5.0, - "unit" : "g", - "type" : "Quantity", - "annotation" : [ ] - }, - "high" : { - "value" : 10.0, - "unit" : "g", - "type" : "Quantity", - "annotation" : [ ] - } - } - } ] - } - }, { - "name" : "QuantityIntervalTest4", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "value" : 5.0, - "unit" : "g", - "type" : "Quantity", - "annotation" : [ ] - }, - "high" : { - "value" : 15.0, - "unit" : "g", - "type" : "Quantity", - "annotation" : [ ] - } - } - }, { - "name" : "output", - "value" : { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "value" : 5.0, - "unit" : "g", - "type" : "Quantity", - "annotation" : [ ] - }, - "high" : { - "value" : 15.0, - "unit" : "g", - "type" : "Quantity", - "annotation" : [ ] - } - } - } ] - } - }, { - "name" : "QuantityIntervalTest5", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "value" : 14.0, - "unit" : "g", - "type" : "Quantity", - "annotation" : [ ] - }, - "high" : { - "value" : 15.0, - "unit" : "g", - "type" : "Quantity", - "annotation" : [ ] - } - } - }, { - "name" : "output", - "value" : { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "value" : 14.0, - "unit" : "g", - "type" : "Quantity", - "annotation" : [ ] - }, - "high" : { - "value" : 15.0, - "unit" : "g", - "type" : "Quantity", - "annotation" : [ ] - } - } - } ] - } - }, { - "name" : "DateTimeIntervalTest", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2016", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - }, - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - } - }, - "high" : { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2016", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal", - "annotation" : [ ] - }, - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - } - } - } - }, { - "name" : "output", - "value" : { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2016", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - }, - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - } - }, - "high" : { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2016", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal", - "annotation" : [ ] - }, - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - } - } - } - } ] - } - }, { - "name" : "TimeIntervalTest", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "type" : "Time", - "annotation" : [ ], - "signature" : [ ], - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - } - }, - "high" : { - "type" : "Time", - "annotation" : [ ], - "signature" : [ ], - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "23", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "599", - "type" : "Literal", - "annotation" : [ ] - } - } - } - }, { - "name" : "output", - "value" : { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "type" : "Time", - "annotation" : [ ], - "signature" : [ ], - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - } - }, - "high" : { - "type" : "Time", - "annotation" : [ ], - "signature" : [ ], - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "23", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "599", - "type" : "Literal", - "annotation" : [ ] - } - } - } - } ] - } - }, { - "name" : "CollapseIntervalTestInteger", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "List", - "annotation" : [ ], - "element" : [ { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - }, - "high" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "11", - "type" : "Literal", - "annotation" : [ ] - }, - "high" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "20", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "44", - "type" : "Literal", - "annotation" : [ ] - }, - "high" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "50", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "output", - "value" : { - "type" : "List", - "annotation" : [ ], - "element" : [ { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - }, - "high" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "11", - "type" : "Literal", - "annotation" : [ ] - }, - "high" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "20", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "44", - "type" : "Literal", - "annotation" : [ ] - }, - "high" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "50", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - } ] - } - }, { - "name" : "InvalidIntegerInterval", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal", - "annotation" : [ ] - }, - "high" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal", - "annotation" : [ ] - } - } - }, { - "name" : "invalid", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "true", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "InvalidIntegerIntervalA", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "lowClosed" : true, - "highClosed" : false, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal", - "annotation" : [ ] - }, - "high" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal", - "annotation" : [ ] - } - } - }, { - "name" : "invalid", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "true", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - } ] - } - } ] - } - } + } + } + ] + } + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "5", + "annotation": [] + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "false", + "annotation": [] + } + } + ] + } + }, + { + "name": "IntegerIntervalIntersectTest4to10", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Intersect", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + }, + "high": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + } + }, + { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "4", + "annotation": [] + }, + "high": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + } + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "4", + "annotation": [] + }, + "high": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + } + } + } + ] + } + }, + { + "name": "IntegerIntervalIntersectTestNull", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Intersect", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + }, + "high": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + } + }, + { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "11", + "annotation": [] + }, + "high": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "20", + "annotation": [] + } + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Null", + "annotation": [] + } + } + ] + } + }, + { + "name": "DecimalIntervalIntersectTest4to10", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Intersect", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "1.0", + "annotation": [] + }, + "high": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "10.0", + "annotation": [] + } + }, + { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "4.0", + "annotation": [] + }, + "high": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "10.0", + "annotation": [] + } + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "4.0", + "annotation": [] + }, + "high": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "10.0", + "annotation": [] + } + } + } + ] + } + }, + { + "name": "DecimalIntervalIntersectTestNull", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Intersect", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "1.0", + "annotation": [] + }, + "high": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "10.0", + "annotation": [] + } + }, + { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "11.0", + "annotation": [] + }, + "high": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "20.0", + "annotation": [] + } + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Null", + "annotation": [] + } + } + ] + } + }, + { + "name": "QuantityIntervalIntersectTest5to10", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Intersect", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "Quantity", + "value": 1, + "unit": "g", + "annotation": [] + }, + "high": { + "type": "Quantity", + "value": 10, + "unit": "g", + "annotation": [] + } + }, + { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "Quantity", + "value": 5, + "unit": "g", + "annotation": [] + }, + "high": { + "type": "Quantity", + "value": 10, + "unit": "g", + "annotation": [] + } + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "Quantity", + "value": 5, + "unit": "g", + "annotation": [] + }, + "high": { + "type": "Quantity", + "value": 10, + "unit": "g", + "annotation": [] + } + } + } + ] + } + }, + { + "name": "QuantityIntervalIntersectTestNull", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Intersect", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "Quantity", + "value": 1, + "unit": "g", + "annotation": [] + }, + "high": { + "type": "Quantity", + "value": 10, + "unit": "g", + "annotation": [] + } + }, + { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "Quantity", + "value": 11, + "unit": "g", + "annotation": [] + }, + "high": { + "type": "Quantity", + "value": 20, + "unit": "g", + "annotation": [] + } + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Null", + "annotation": [] + } + } + ] + } + }, + { + "name": "DateTimeIntersect", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Intersect", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2012", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "7", + "annotation": [] + } + }, + "high": { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2012", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "14", + "annotation": [] + } + } + }, + { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2012", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "7", + "annotation": [] + } + }, + "high": { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2012", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + } + } + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2012", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "7", + "annotation": [] + } + }, + "high": { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2012", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + } + } + } + } + ] + } + }, + { + "name": "TimeIntersect", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Intersect", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "Time", + "annotation": [], + "signature": [], + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "4", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "999", + "annotation": [] + } + }, + "high": { + "type": "Time", + "annotation": [], + "signature": [], + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "9", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "999", + "annotation": [] + } + } + }, + { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "Time", + "annotation": [], + "signature": [], + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "4", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "999", + "annotation": [] + } + }, + "high": { + "type": "Time", + "annotation": [], + "signature": [], + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "6", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "999", + "annotation": [] + } + } + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "Time", + "annotation": [], + "signature": [], + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "4", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "999", + "annotation": [] + } + }, + "high": { + "type": "Time", + "annotation": [], + "signature": [], + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "6", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "999", + "annotation": [] + } + } + } + } + ] + } + } + ] + } + }, + { + "name": "Equivalent", + "context": "Patient", + "accessLevel": "Public", + "annotation": [], + "expression": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "IntegerIntervalEquivalentTrue", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Equivalent", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + }, + "high": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + } + }, + { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + }, + "high": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + } + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "true", + "annotation": [] + } + } + ] + } + }, + { + "name": "IntegerIntervalEquivalentFalse", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Equivalent", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "44", + "annotation": [] + }, + "high": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "50", + "annotation": [] + } + }, + { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + }, + "high": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + } + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "false", + "annotation": [] + } + } + ] + } + }, + { + "name": "DecimalIntervalEquivalentTrue", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Equivalent", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "1.0", + "annotation": [] + }, + "high": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "10.0", + "annotation": [] + } + }, + { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "1.0", + "annotation": [] + }, + "high": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "10.0", + "annotation": [] + } + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "true", + "annotation": [] + } + } + ] + } + }, + { + "name": "DecimalIntervalEquivalentFalse", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Equivalent", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "11.0", + "annotation": [] + }, + "high": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "20.0", + "annotation": [] + } + }, + { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "1.0", + "annotation": [] + }, + "high": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "10.0", + "annotation": [] + } + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "false", + "annotation": [] + } + } + ] + } + }, + { + "name": "QuantityIntervalEquivalentTrue", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Equivalent", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "Quantity", + "value": 1, + "unit": "g", + "annotation": [] + }, + "high": { + "type": "Quantity", + "value": 10, + "unit": "g", + "annotation": [] + } + }, + { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "Quantity", + "value": 1, + "unit": "g", + "annotation": [] + }, + "high": { + "type": "Quantity", + "value": 10, + "unit": "g", + "annotation": [] + } + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "true", + "annotation": [] + } + } + ] + } + }, + { + "name": "QuantityIntervalEquivalentFalse", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Equivalent", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "Quantity", + "value": 11, + "unit": "g", + "annotation": [] + }, + "high": { + "type": "Quantity", + "value": 20, + "unit": "g", + "annotation": [] + } + }, + { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "Quantity", + "value": 1, + "unit": "g", + "annotation": [] + }, + "high": { + "type": "Quantity", + "value": 10, + "unit": "g", + "annotation": [] + } + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "false", + "annotation": [] + } + } + ] + } + }, + { + "name": "DateTimeEquivalentTrue", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Equivalent", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2012", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "7", + "annotation": [] + } + }, + "high": { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2012", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "14", + "annotation": [] + } + } + }, + { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2012", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "7", + "annotation": [] + } + }, + "high": { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2012", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "14", + "annotation": [] + } + } + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "true", + "annotation": [] + } + } + ] + } + }, + { + "name": "DateTimeEquivalentFalse", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Equivalent", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2012", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "7", + "annotation": [] + } + }, + "high": { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2012", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "14", + "annotation": [] + } + } + }, + { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2012", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "7", + "annotation": [] + } + }, + "high": { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2012", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "15", + "annotation": [] + } + } + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "false", + "annotation": [] + } + } + ] + } + }, + { + "name": "TimeEquivalentTrue", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Equivalent", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "Time", + "annotation": [], + "signature": [], + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "4", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "999", + "annotation": [] + } + }, + "high": { + "type": "Time", + "annotation": [], + "signature": [], + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "9", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "999", + "annotation": [] + } + } + }, + { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "Time", + "annotation": [], + "signature": [], + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "4", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "999", + "annotation": [] + } + }, + "high": { + "type": "Time", + "annotation": [], + "signature": [], + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "9", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "999", + "annotation": [] + } + } + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "true", + "annotation": [] + } + } + ] + } + }, + { + "name": "TimeEquivalentFalse", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Equivalent", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "Time", + "annotation": [], + "signature": [], + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "4", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "999", + "annotation": [] + } + }, + "high": { + "type": "Time", + "annotation": [], + "signature": [], + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "9", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "999", + "annotation": [] + } + } + }, + { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "Time", + "annotation": [], + "signature": [], + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "4", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "58", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "999", + "annotation": [] + } + }, + "high": { + "type": "Time", + "annotation": [], + "signature": [], + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "9", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "999", + "annotation": [] + } + } + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "false", + "annotation": [] + } + } + ] + } + } + ] + } + }, + { + "name": "Meets", + "context": "Patient", + "accessLevel": "Public", + "annotation": [], + "expression": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "TestMeetsNull", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Meets", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Interval", + "lowClosed": false, + "highClosed": true, + "annotation": [], + "low": { + "type": "As", + "asType": "{urn:hl7-org:elm-types:r1}Integer", + "annotation": [], + "signature": [], + "operand": { + "type": "Null", + "annotation": [] + } + }, + "high": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "5", + "annotation": [] + } + }, + { + "type": "Interval", + "lowClosed": false, + "highClosed": false, + "annotation": [], + "low": { + "type": "As", + "asType": "{urn:hl7-org:elm-types:r1}Integer", + "annotation": [], + "signature": [], + "operand": { + "type": "Null", + "annotation": [] + } + }, + "high": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "15", + "annotation": [] + } + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Null", + "annotation": [] + } + } + ] + } + }, + { + "name": "IntegerIntervalMeetsTrue", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Meets", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + }, + "high": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + } + }, + { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "11", + "annotation": [] + }, + "high": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "20", + "annotation": [] + } + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "true", + "annotation": [] + } + } + ] + } + }, + { + "name": "IntegerIntervalMeetsFalse", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Meets", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + }, + "high": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + } + }, + { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "44", + "annotation": [] + }, + "high": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "50", + "annotation": [] + } + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "false", + "annotation": [] + } + } + ] + } + }, + { + "name": "DecimalIntervalMeetsTrue", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Meets", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "3.01", + "annotation": [] + }, + "high": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "5.00000001", + "annotation": [] + } + }, + { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "5.00000002", + "annotation": [] + }, + "high": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "8.50", + "annotation": [] + } + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "true", + "annotation": [] + } + } + ] + } + }, + { + "name": "DecimalIntervalMeetsFalse", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Meets", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "3.01", + "annotation": [] + }, + "high": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "5.00000001", + "annotation": [] + } + }, + { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "5.5", + "annotation": [] + }, + "high": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "8.50", + "annotation": [] + } + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "false", + "annotation": [] + } + } + ] + } + }, + { + "name": "QuantityIntervalMeetsTrue", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Meets", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "Quantity", + "value": 3.01, + "unit": "g", + "annotation": [] + }, + "high": { + "type": "Quantity", + "value": 5.00000001, + "unit": "g", + "annotation": [] + } + }, + { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "Quantity", + "value": 5.00000002, + "unit": "g", + "annotation": [] + }, + "high": { + "type": "Quantity", + "value": 8.5, + "unit": "g", + "annotation": [] + } + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "true", + "annotation": [] + } + } + ] + } + }, + { + "name": "QuantityIntervalMeetsFalse", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Meets", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "Quantity", + "value": 3.01, + "unit": "g", + "annotation": [] + }, + "high": { + "type": "Quantity", + "value": 5.00000001, + "unit": "g", + "annotation": [] + } + }, + { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "Quantity", + "value": 5.5, + "unit": "g", + "annotation": [] + }, + "high": { + "type": "Quantity", + "value": 8.5, + "unit": "g", + "annotation": [] + } + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "false", + "annotation": [] + } + } + ] + } + }, + { + "name": "DateTimeMeetsTrue", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Meets", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2012", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "7", + "annotation": [] + } + }, + "high": { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2012", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "14", + "annotation": [] + } + } + }, + { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2012", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "15", + "annotation": [] + } + }, + "high": { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2012", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "25", + "annotation": [] + } + } + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "true", + "annotation": [] + } + } + ] + } + }, + { + "name": "DateTimeMeetsFalse", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Meets", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2012", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "7", + "annotation": [] + } + }, + "high": { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2012", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "14", + "annotation": [] + } + } + }, + { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2012", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "20", + "annotation": [] + } + }, + "high": { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2012", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "25", + "annotation": [] + } + } + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "false", + "annotation": [] + } + } + ] + } + }, + { + "name": "TimeMeetsTrue", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Meets", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "Time", + "annotation": [], + "signature": [], + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "4", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "999", + "annotation": [] + } + }, + "high": { + "type": "Time", + "annotation": [], + "signature": [], + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "9", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "999", + "annotation": [] + } + } + }, + { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "Time", + "annotation": [], + "signature": [], + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + } + }, + "high": { + "type": "Time", + "annotation": [], + "signature": [], + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "19", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "999", + "annotation": [] + } + } + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "true", + "annotation": [] + } + } + ] + } + }, + { + "name": "TimeMeetsFalse", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Meets", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "Time", + "annotation": [], + "signature": [], + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "4", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "999", + "annotation": [] + } + }, + "high": { + "type": "Time", + "annotation": [], + "signature": [], + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "9", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "999", + "annotation": [] + } + } + }, + { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "Time", + "annotation": [], + "signature": [], + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "12", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + } + }, + "high": { + "type": "Time", + "annotation": [], + "signature": [], + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "19", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "999", + "annotation": [] + } + } + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "false", + "annotation": [] + } + } + ] + } + } + ] + } + }, + { + "name": "MeetsBefore", + "context": "Patient", + "accessLevel": "Public", + "annotation": [], + "expression": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "TestMeetsBeforeNull", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "MeetsBefore", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Interval", + "lowClosed": false, + "highClosed": true, + "annotation": [], + "low": { + "type": "As", + "asType": "{urn:hl7-org:elm-types:r1}Integer", + "annotation": [], + "signature": [], + "operand": { + "type": "Null", + "annotation": [] + } + }, + "high": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "5", + "annotation": [] + } + }, + { + "type": "Interval", + "lowClosed": false, + "highClosed": true, + "annotation": [], + "low": { + "type": "As", + "asType": "{urn:hl7-org:elm-types:r1}Integer", + "annotation": [], + "signature": [], + "operand": { + "type": "Null", + "annotation": [] + } + }, + "high": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "25", + "annotation": [] + } + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Null", + "annotation": [] + } + } + ] + } + }, + { + "name": "IntegerIntervalMeetsBeforeTrue", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "MeetsBefore", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + }, + "high": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + } + }, + { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "11", + "annotation": [] + }, + "high": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "20", + "annotation": [] + } + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "true", + "annotation": [] + } + } + ] + } + }, + { + "name": "IntegerIntervalMeetsBeforeFalse", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "MeetsBefore", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + }, + "high": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + } + }, + { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "44", + "annotation": [] + }, + "high": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "50", + "annotation": [] + } + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "false", + "annotation": [] + } + } + ] + } + }, + { + "name": "DecimalIntervalMeetsBeforeTrue", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "MeetsBefore", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "3.50000001", + "annotation": [] + }, + "high": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "5.00000011", + "annotation": [] + } + }, + { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "5.00000012", + "annotation": [] + }, + "high": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "8.50", + "annotation": [] + } + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "true", + "annotation": [] + } + } + ] + } + }, + { + "name": "DecimalIntervalMeetsBeforeFalse", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "MeetsBefore", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "8.01", + "annotation": [] + }, + "high": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "15.00000001", + "annotation": [] + } + }, + { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "15.00000000", + "annotation": [] + }, + "high": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "18.50", + "annotation": [] + } + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "false", + "annotation": [] + } + } + ] + } + }, + { + "name": "QuantityIntervalMeetsBeforeTrue", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "MeetsBefore", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "Quantity", + "value": 3.50000001, + "unit": "g", + "annotation": [] + }, + "high": { + "type": "Quantity", + "value": 5.00000011, + "unit": "g", + "annotation": [] + } + }, + { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "Quantity", + "value": 5.00000012, + "unit": "g", + "annotation": [] + }, + "high": { + "type": "Quantity", + "value": 8.5, + "unit": "g", + "annotation": [] + } + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "true", + "annotation": [] + } + } + ] + } + }, + { + "name": "QuantityIntervalMeetsBeforeFalse", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "MeetsBefore", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "Quantity", + "value": 8.01, + "unit": "g", + "annotation": [] + }, + "high": { + "type": "Quantity", + "value": 15.00000001, + "unit": "g", + "annotation": [] + } + }, + { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "Quantity", + "value": 15, + "unit": "g", + "annotation": [] + }, + "high": { + "type": "Quantity", + "value": 18.5, + "unit": "g", + "annotation": [] + } + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "false", + "annotation": [] + } + } + ] + } + }, + { + "name": "DateTimeMeetsBeforeTrue", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Meets", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2012", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "7", + "annotation": [] + } + }, + "high": { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2012", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "14", + "annotation": [] + } + } + }, + { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2012", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "15", + "annotation": [] + } + }, + "high": { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2012", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "25", + "annotation": [] + } + } + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "true", + "annotation": [] + } + } + ] + } + }, + { + "name": "DateTimeMeetsBeforeFalse", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Meets", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2012", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "7", + "annotation": [] + } + }, + "high": { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2012", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "14", + "annotation": [] + } + } + }, + { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2012", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "20", + "annotation": [] + } + }, + "high": { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2012", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "25", + "annotation": [] + } + } + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "false", + "annotation": [] + } + } + ] + } + }, + { + "name": "TimeMeetsBeforeTrue", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Meets", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "Time", + "annotation": [], + "signature": [], + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "4", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "999", + "annotation": [] + } + }, + "high": { + "type": "Time", + "annotation": [], + "signature": [], + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "9", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "999", + "annotation": [] + } + } + }, + { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "Time", + "annotation": [], + "signature": [], + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + } + }, + "high": { + "type": "Time", + "annotation": [], + "signature": [], + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "19", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "999", + "annotation": [] + } + } + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "true", + "annotation": [] + } + } + ] + } + }, + { + "name": "TimeMeetsBeforeFalse", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Meets", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "Time", + "annotation": [], + "signature": [], + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "4", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "999", + "annotation": [] + } + }, + "high": { + "type": "Time", + "annotation": [], + "signature": [], + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "9", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "999", + "annotation": [] + } + } + }, + { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "Time", + "annotation": [], + "signature": [], + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "12", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + } + }, + "high": { + "type": "Time", + "annotation": [], + "signature": [], + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "19", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "999", + "annotation": [] + } + } + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "false", + "annotation": [] + } + } + ] + } + } + ] + } + }, + { + "name": "MeetsAfter", + "context": "Patient", + "accessLevel": "Public", + "annotation": [], + "expression": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "TestMeetsAfterNull", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "MeetsAfter", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Interval", + "lowClosed": false, + "highClosed": true, + "annotation": [], + "low": { + "type": "As", + "asType": "{urn:hl7-org:elm-types:r1}Integer", + "annotation": [], + "signature": [], + "operand": { + "type": "Null", + "annotation": [] + } + }, + "high": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "5", + "annotation": [] + } + }, + { + "type": "Interval", + "lowClosed": true, + "highClosed": false, + "annotation": [], + "low": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "11", + "annotation": [] + }, + "high": { + "type": "As", + "asType": "{urn:hl7-org:elm-types:r1}Integer", + "annotation": [], + "signature": [], + "operand": { + "type": "Null", + "annotation": [] + } + } + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "false", + "annotation": [] + } + } + ] + } + }, + { + "name": "IntegerIntervalMeetsAfterTrue", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "MeetsAfter", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "11", + "annotation": [] + }, + "high": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "20", + "annotation": [] + } + }, + { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + }, + "high": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + } + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "true", + "annotation": [] + } + } + ] + } + }, + { + "name": "IntegerIntervalMeetsAfterFalse", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "MeetsAfter", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "44", + "annotation": [] + }, + "high": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "50", + "annotation": [] + } + }, + { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + }, + "high": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + } + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "false", + "annotation": [] + } + } + ] + } + }, + { + "name": "DecimalIntervalMeetsAfterTrue", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "MeetsAfter", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "55.00000123", + "annotation": [] + }, + "high": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "128.032156", + "annotation": [] + } + }, + { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "12.00258", + "annotation": [] + }, + "high": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "55.00000122", + "annotation": [] + } + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "true", + "annotation": [] + } + } + ] + } + }, + { + "name": "DecimalIntervalMeetsAfterFalse", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "MeetsAfter", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "55.00000124", + "annotation": [] + }, + "high": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "150.222222", + "annotation": [] + } + }, + { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "12.00258", + "annotation": [] + }, + "high": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "55.00000122", + "annotation": [] + } + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "false", + "annotation": [] + } + } + ] + } + }, + { + "name": "QuantityIntervalMeetsAfterTrue", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "MeetsAfter", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "Quantity", + "value": 55.00000123, + "unit": "g", + "annotation": [] + }, + "high": { + "type": "Quantity", + "value": 128.032156, + "unit": "g", + "annotation": [] + } + }, + { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "Quantity", + "value": 12.00258, + "unit": "g", + "annotation": [] + }, + "high": { + "type": "Quantity", + "value": 55.00000122, + "unit": "g", + "annotation": [] + } + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "true", + "annotation": [] + } + } + ] + } + }, + { + "name": "QuantityIntervalMeetsAfterFalse", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "MeetsAfter", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "Quantity", + "value": 55.00000124, + "unit": "g", + "annotation": [] + }, + "high": { + "type": "Quantity", + "value": 150.222222, + "unit": "g", + "annotation": [] + } + }, + { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "Quantity", + "value": 12.00258, + "unit": "g", + "annotation": [] + }, + "high": { + "type": "Quantity", + "value": 55.00000122, + "unit": "g", + "annotation": [] + } + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "false", + "annotation": [] + } + } + ] + } + }, + { + "name": "DateTimeMeetsAfterTrue", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Meets", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2012", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "15", + "annotation": [] + } + }, + "high": { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2012", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "25", + "annotation": [] + } + } + }, + { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2012", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "7", + "annotation": [] + } + }, + "high": { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2012", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "14", + "annotation": [] + } + } + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "true", + "annotation": [] + } + } + ] + } + }, + { + "name": "DateTimeMeetsAfterFalse", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Meets", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2012", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "20", + "annotation": [] + } + }, + "high": { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2012", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "25", + "annotation": [] + } + } + }, + { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2012", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "7", + "annotation": [] + } + }, + "high": { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2012", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "14", + "annotation": [] + } + } + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "false", + "annotation": [] + } + } + ] + } + }, + { + "name": "TimeMeetsAfterTrue", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Meets", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "Time", + "annotation": [], + "signature": [], + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + } + }, + "high": { + "type": "Time", + "annotation": [], + "signature": [], + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "19", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "999", + "annotation": [] + } + } + }, + { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "Time", + "annotation": [], + "signature": [], + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "4", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "999", + "annotation": [] + } + }, + "high": { + "type": "Time", + "annotation": [], + "signature": [], + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "9", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "999", + "annotation": [] + } + } + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "true", + "annotation": [] + } + } + ] + } + }, + { + "name": "TimeMeetsAfterFalse", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Meets", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "Time", + "annotation": [], + "signature": [], + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "12", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + } + }, + "high": { + "type": "Time", + "annotation": [], + "signature": [], + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "19", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "999", + "annotation": [] + } + } + }, + { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "Time", + "annotation": [], + "signature": [], + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "4", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "999", + "annotation": [] + } + }, + "high": { + "type": "Time", + "annotation": [], + "signature": [], + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "9", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "999", + "annotation": [] + } + } + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "false", + "annotation": [] + } + } + ] + } + } + ] + } + }, + { + "name": "NotEqual", + "context": "Patient", + "accessLevel": "Public", + "annotation": [], + "expression": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "IntegerIntervalNotEqualTrue", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Not", + "annotation": [], + "signature": [], + "operand": { + "type": "Equal", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + }, + "high": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + } + }, + { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "11", + "annotation": [] + }, + "high": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "20", + "annotation": [] + } + } + ] + } + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "true", + "annotation": [] + } + } + ] + } + }, + { + "name": "IntegerIntervalNotEqualFalse", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Not", + "annotation": [], + "signature": [], + "operand": { + "type": "Equal", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + }, + "high": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + } + }, + { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + }, + "high": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + } + } + ] + } + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "false", + "annotation": [] + } + } + ] + } + }, + { + "name": "DecimalIntervalNotEqualTrue", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Not", + "annotation": [], + "signature": [], + "operand": { + "type": "Equal", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "1.0", + "annotation": [] + }, + "high": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "10.0", + "annotation": [] + } + }, + { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "11.0", + "annotation": [] + }, + "high": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "20.0", + "annotation": [] + } + } + ] + } + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "true", + "annotation": [] + } + } + ] + } + }, + { + "name": "DecimalIntervalNotEqualFalse", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Not", + "annotation": [], + "signature": [], + "operand": { + "type": "Equal", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "1.0", + "annotation": [] + }, + "high": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "10.0", + "annotation": [] + } + }, + { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "1.0", + "annotation": [] + }, + "high": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "10.0", + "annotation": [] + } + } + ] + } + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "false", + "annotation": [] + } + } + ] + } + }, + { + "name": "QuantityIntervalNotEqualTrue", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Not", + "annotation": [], + "signature": [], + "operand": { + "type": "Equal", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "Quantity", + "value": 1, + "unit": "g", + "annotation": [] + }, + "high": { + "type": "Quantity", + "value": 10, + "unit": "g", + "annotation": [] + } + }, + { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "Quantity", + "value": 11, + "unit": "g", + "annotation": [] + }, + "high": { + "type": "Quantity", + "value": 20, + "unit": "g", + "annotation": [] + } + } + ] + } + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "true", + "annotation": [] + } + } + ] + } + }, + { + "name": "QuantityIntervalNotEqualFalse", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Not", + "annotation": [], + "signature": [], + "operand": { + "type": "Equal", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "Quantity", + "value": 1, + "unit": "g", + "annotation": [] + }, + "high": { + "type": "Quantity", + "value": 10, + "unit": "g", + "annotation": [] + } + }, + { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "Quantity", + "value": 1, + "unit": "g", + "annotation": [] + }, + "high": { + "type": "Quantity", + "value": 10, + "unit": "g", + "annotation": [] + } + } + ] + } + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "false", + "annotation": [] + } + } + ] + } + }, + { + "name": "DateTimeNotEqualTrue", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Not", + "annotation": [], + "signature": [], + "operand": { + "type": "Equal", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2012", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "15", + "annotation": [] + }, + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + } + }, + "high": { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2012", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "25", + "annotation": [] + }, + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + } + } + }, + { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2012", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "15", + "annotation": [] + }, + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + } + }, + "high": { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2012", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "25", + "annotation": [] + }, + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "22", + "annotation": [] + } + } + } + ] + } + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "true", + "annotation": [] + } + } + ] + } + }, + { + "name": "DateTimeNotEqualFalse", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Not", + "annotation": [], + "signature": [], + "operand": { + "type": "Equal", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2012", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "15", + "annotation": [] + }, + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + } + }, + "high": { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2012", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "25", + "annotation": [] + }, + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + } + } + }, + { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2012", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "15", + "annotation": [] + }, + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + } + }, + "high": { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2012", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "25", + "annotation": [] + }, + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + } + } + } + ] + } + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "false", + "annotation": [] + } + } + ] + } + }, + { + "name": "TimeNotEqualTrue", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Not", + "annotation": [], + "signature": [], + "operand": { + "type": "Equal", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "Time", + "annotation": [], + "signature": [], + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + } + }, + "high": { + "type": "Time", + "annotation": [], + "signature": [], + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "19", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "999", + "annotation": [] + } + } + }, + { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "Time", + "annotation": [], + "signature": [], + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + } + }, + "high": { + "type": "Time", + "annotation": [], + "signature": [], + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "19", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "999", + "annotation": [] + } + } + } + ] + } + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "true", + "annotation": [] + } + } + ] + } + }, + { + "name": "TimeNotEqualFalse", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Not", + "annotation": [], + "signature": [], + "operand": { + "type": "Equal", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "Time", + "annotation": [], + "signature": [], + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + } + }, + "high": { + "type": "Time", + "annotation": [], + "signature": [], + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "19", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "999", + "annotation": [] + } + } + }, + { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "Time", + "annotation": [], + "signature": [], + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + } + }, + "high": { + "type": "Time", + "annotation": [], + "signature": [], + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "19", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "999", + "annotation": [] + } + } + } + ] + } + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "false", + "annotation": [] + } + } + ] + } + } + ] + } + }, + { + "name": "OnOrAfter", + "context": "Patient", + "accessLevel": "Public", + "annotation": [], + "expression": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "TestOnOrAfterNull", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "SameOrAfter", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "Date", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2012", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "12", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + } + }, + "high": { + "type": "Date", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2013", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "12", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + } + } + }, + { + "type": "As", + "strict": false, + "annotation": [], + "signature": [], + "operand": { + "type": "Null", + "annotation": [] + }, + "asTypeSpecifier": { + "type": "IntervalTypeSpecifier", + "annotation": [], + "pointType": { + "type": "NamedTypeSpecifier", + "name": "{urn:hl7-org:elm-types:r1}Date", + "annotation": [] + } + } + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Null", + "annotation": [] + } + } + ] + } + }, + { + "name": "TestOnOrAfterDateTrue", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "SameOrAfter", + "precision": "Month", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "Date", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2012", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "12", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + } + }, + "high": { + "type": "Date", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2013", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "12", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + } + } + }, + { + "type": "If", + "annotation": [], + "condition": { + "type": "IsNull", + "annotation": [], + "signature": [], + "operand": { + "type": "Date", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2012", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "11", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "15", + "annotation": [] + } + } + }, + "then": { + "type": "Null", + "annotation": [] + }, + "else": { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "Date", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2012", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "11", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "15", + "annotation": [] + } + }, + "high": { + "type": "Date", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2012", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "11", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "15", + "annotation": [] + } + } + } + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "true", + "annotation": [] + } + } + ] + } + }, + { + "name": "TestOnOrAfterDateFalse", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "SameOrAfter", + "precision": "Month", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "If", + "annotation": [], + "condition": { + "type": "IsNull", + "annotation": [], + "signature": [], + "operand": { + "type": "Date", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2012", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "11", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "15", + "annotation": [] + } + } + }, + "then": { + "type": "Null", + "annotation": [] + }, + "else": { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "Date", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2012", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "11", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "15", + "annotation": [] + } + }, + "high": { + "type": "Date", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2012", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "11", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "15", + "annotation": [] + } + } + } + }, + { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "Date", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2012", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "12", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + } + }, + "high": { + "type": "Date", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2013", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "12", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + } + } + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "false", + "annotation": [] + } + } + ] + } + }, + { + "name": "TestOnOrAfterTimeTrue", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "SameOrAfter", + "precision": "Hour", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "Time", + "annotation": [], + "signature": [], + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + } + }, + "high": { + "type": "Time", + "annotation": [], + "signature": [], + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "19", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "999", + "annotation": [] + } + } + }, + { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "Time", + "annotation": [], + "signature": [], + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "8", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + } + }, + "high": { + "type": "Time", + "annotation": [], + "signature": [], + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "9", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "999", + "annotation": [] + } + } + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "true", + "annotation": [] + } + } + ] + } + }, + { + "name": "TestOnOrAfterTimeFalse", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "SameOrAfter", + "precision": "Hour", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "Time", + "annotation": [], + "signature": [], + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + } + }, + "high": { + "type": "Time", + "annotation": [], + "signature": [], + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "19", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "999", + "annotation": [] + } + } + }, + { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "Time", + "annotation": [], + "signature": [], + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "8", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + } + }, + "high": { + "type": "Time", + "annotation": [], + "signature": [], + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "11", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "999", + "annotation": [] + } + } + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "false", + "annotation": [] + } + } + ] + } + }, + { + "name": "TestOnOrAfterIntegerTrue", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "SameOrAfter", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "6", + "annotation": [] + }, + "high": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + } + }, + { + "type": "If", + "annotation": [], + "condition": { + "type": "IsNull", + "annotation": [], + "signature": [], + "operand": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "6", + "annotation": [] + } + }, + "then": { + "type": "Null", + "annotation": [] + }, + "else": { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "6", + "annotation": [] + }, + "high": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "6", + "annotation": [] + } + } + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "true", + "annotation": [] + } + } + ] + } + }, + { + "name": "TestOnOrAfterDecimalFalse", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "SameOrAfter", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "If", + "annotation": [], + "condition": { + "type": "IsNull", + "annotation": [], + "signature": [], + "operand": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "2.5", + "annotation": [] + } + }, + "then": { + "type": "Null", + "annotation": [] + }, + "else": { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "2.5", + "annotation": [] + }, + "high": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "2.5", + "annotation": [] + } + } + }, + { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "1.666", + "annotation": [] + }, + "high": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "2.50000001", + "annotation": [] + } + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "false", + "annotation": [] + } + } + ] + } + }, + { + "name": "TestOnOrAfterQuantityTrue", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "SameOrAfter", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "If", + "annotation": [], + "condition": { + "type": "IsNull", + "annotation": [], + "signature": [], + "operand": { + "type": "Quantity", + "value": 2.5, + "unit": "mg", + "annotation": [] + } + }, + "then": { + "type": "Null", + "annotation": [] + }, + "else": { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "Quantity", + "value": 2.5, + "unit": "mg", + "annotation": [] + }, + "high": { + "type": "Quantity", + "value": 2.5, + "unit": "mg", + "annotation": [] + } + } + }, + { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "Quantity", + "value": 1.666, + "unit": "mg", + "annotation": [] + }, + "high": { + "type": "Quantity", + "value": 2.5, + "unit": "mg", + "annotation": [] + } + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "true", + "annotation": [] + } + } + ] + } + } + ] + } + }, + { + "name": "OnOrBefore", + "context": "Patient", + "accessLevel": "Public", + "annotation": [], + "expression": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "TestOnOrBeforeNull", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "SameOrBefore", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "Date", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2012", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "12", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + } + }, + "high": { + "type": "Date", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2013", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "12", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + } + } + }, + { + "type": "As", + "strict": false, + "annotation": [], + "signature": [], + "operand": { + "type": "Null", + "annotation": [] + }, + "asTypeSpecifier": { + "type": "IntervalTypeSpecifier", + "annotation": [], + "pointType": { + "type": "NamedTypeSpecifier", + "name": "{urn:hl7-org:elm-types:r1}Date", + "annotation": [] + } + } + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Null", + "annotation": [] + } + } + ] + } + }, + { + "name": "TestOnOrBeforeDateTrue", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "SameOrBefore", + "precision": "Month", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "Date", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2012", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + } + }, + "high": { + "type": "Date", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2012", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "11", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + } + } + }, + { + "type": "If", + "annotation": [], + "condition": { + "type": "IsNull", + "annotation": [], + "signature": [], + "operand": { + "type": "Date", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2012", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "11", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "15", + "annotation": [] + } + } + }, + "then": { + "type": "Null", + "annotation": [] + }, + "else": { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "Date", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2012", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "11", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "15", + "annotation": [] + } + }, + "high": { + "type": "Date", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2012", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "11", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "15", + "annotation": [] + } + } + } + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "true", + "annotation": [] + } + } + ] + } + }, + { + "name": "TestOnOrBeforeDateFalse", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "SameOrBefore", + "precision": "Month", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "If", + "annotation": [], + "condition": { + "type": "IsNull", + "annotation": [], + "signature": [], + "operand": { + "type": "Date", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2012", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "11", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "15", + "annotation": [] + } + } + }, + "then": { + "type": "Null", + "annotation": [] + }, + "else": { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "Date", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2012", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "11", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "15", + "annotation": [] + } + }, + "high": { + "type": "Date", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2012", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "11", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "15", + "annotation": [] + } + } + } + }, + { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "Date", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2012", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + } + }, + "high": { + "type": "Date", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2013", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "12", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + } + } + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "false", + "annotation": [] + } + } + ] + } + }, + { + "name": "TestOnOrBeforeTimeTrue", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "SameOrBefore", + "precision": "Hour", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "Time", + "annotation": [], + "signature": [], + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "5", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + } + }, + "high": { + "type": "Time", + "annotation": [], + "signature": [], + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "7", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "999", + "annotation": [] + } + } + }, + { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "Time", + "annotation": [], + "signature": [], + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "8", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + } + }, + "high": { + "type": "Time", + "annotation": [], + "signature": [], + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "9", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "999", + "annotation": [] + } + } + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "true", + "annotation": [] + } + } + ] + } + }, + { + "name": "TestOnOrBeforeTimeFalse", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "SameOrBefore", + "precision": "Hour", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "Time", + "annotation": [], + "signature": [], + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + } + }, + "high": { + "type": "Time", + "annotation": [], + "signature": [], + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "19", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "999", + "annotation": [] + } + } + }, + { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "Time", + "annotation": [], + "signature": [], + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "8", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + } + }, + "high": { + "type": "Time", + "annotation": [], + "signature": [], + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "11", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "999", + "annotation": [] + } + } + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "false", + "annotation": [] + } + } + ] + } + }, + { + "name": "TestOnOrBeforeIntegerTrue", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "SameOrBefore", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "4", + "annotation": [] + }, + "high": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "6", + "annotation": [] + } + }, + { + "type": "If", + "annotation": [], + "condition": { + "type": "IsNull", + "annotation": [], + "signature": [], + "operand": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "6", + "annotation": [] + } + }, + "then": { + "type": "Null", + "annotation": [] + }, + "else": { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "6", + "annotation": [] + }, + "high": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "6", + "annotation": [] + } + } + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "true", + "annotation": [] + } + } + ] + } + }, + { + "name": "TestOnOrBeforeDecimalFalse", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "SameOrBefore", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "If", + "annotation": [], + "condition": { + "type": "IsNull", + "annotation": [], + "signature": [], + "operand": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "1.6667", + "annotation": [] + } + }, + "then": { + "type": "Null", + "annotation": [] + }, + "else": { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "1.6667", + "annotation": [] + }, + "high": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "1.6667", + "annotation": [] + } + } + }, + { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "1.666", + "annotation": [] + }, + "high": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "2.50000001", + "annotation": [] + } + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "false", + "annotation": [] + } + } + ] + } + }, + { + "name": "TestOnOrBeforeQuantityTrue", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "SameOrBefore", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "If", + "annotation": [], + "condition": { + "type": "IsNull", + "annotation": [], + "signature": [], + "operand": { + "type": "Quantity", + "value": 1.666, + "unit": "mg", + "annotation": [] + } + }, + "then": { + "type": "Null", + "annotation": [] + }, + "else": { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "Quantity", + "value": 1.666, + "unit": "mg", + "annotation": [] + }, + "high": { + "type": "Quantity", + "value": 1.666, + "unit": "mg", + "annotation": [] + } + } + }, + { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "Quantity", + "value": 1.666, + "unit": "mg", + "annotation": [] + }, + "high": { + "type": "Quantity", + "value": 2.5, + "unit": "mg", + "annotation": [] + } + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "true", + "annotation": [] + } + } + ] + } + } + ] + } + }, + { + "name": "Overlaps", + "context": "Patient", + "accessLevel": "Public", + "annotation": [], + "expression": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "TestOverlapsNull", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Overlaps", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "Null", + "annotation": [] + }, + "high": { + "type": "Null", + "annotation": [] + } + }, + { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + }, + "high": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + } + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Null", + "annotation": [] + } + } + ] + } + }, + { + "name": "IntegerIntervalOverlapsTrue", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Overlaps", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + }, + "high": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + } + }, + { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "4", + "annotation": [] + }, + "high": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + } + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "true", + "annotation": [] + } + } + ] + } + }, + { + "name": "IntegerIntervalOverlapsTrue2", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Overlaps", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "4", + "annotation": [] + }, + "high": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + } + }, + { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "4", + "annotation": [] + }, + "high": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + } + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "true", + "annotation": [] + } + } + ] + } + }, + { + "name": "IntegerIntervalOverlapsTrue3", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Overlaps", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + }, + "high": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "15", + "annotation": [] + } + }, + { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "4", + "annotation": [] + }, + "high": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + } + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "true", + "annotation": [] + } + } + ] + } + }, + { + "name": "IntegerIntervalOverlapsFalse", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Overlaps", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + }, + "high": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + } + }, + { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "11", + "annotation": [] + }, + "high": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "20", + "annotation": [] + } + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "false", + "annotation": [] + } + } + ] + } + }, + { + "name": "IntegerIntervalExclusiveOverlapsTrue", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Overlaps", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Interval", + "lowClosed": true, + "highClosed": false, + "annotation": [], + "low": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "4", + "annotation": [] + }, + "high": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + } + }, + { + "type": "Interval", + "lowClosed": true, + "highClosed": false, + "annotation": [], + "low": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "4", + "annotation": [] + }, + "high": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + } + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "true", + "annotation": [] + } + } + ] + } + }, + { + "name": "IntegerIntervalExclusiveOverlapsTrue2", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Overlaps", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Interval", + "lowClosed": true, + "highClosed": false, + "annotation": [], + "low": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "4", + "annotation": [] + }, + "high": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "11", + "annotation": [] + } + }, + { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + }, + "high": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "20", + "annotation": [] + } + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "true", + "annotation": [] + } + } + ] + } + }, + { + "name": "IntegerIntervalExclusiveOverlapsTrue3", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Overlaps", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "4", + "annotation": [] + }, + "high": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + } + }, + { + "type": "Interval", + "lowClosed": false, + "highClosed": true, + "annotation": [], + "low": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "9", + "annotation": [] + }, + "high": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "20", + "annotation": [] + } + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "true", + "annotation": [] + } + } + ] + } + }, + { + "name": "IntegerIntervalExclusiveOverlapsTrue4", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Overlaps", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Interval", + "lowClosed": true, + "highClosed": false, + "annotation": [], + "low": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "4", + "annotation": [] + }, + "high": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "11", + "annotation": [] + } + }, + { + "type": "Interval", + "lowClosed": false, + "highClosed": true, + "annotation": [], + "low": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "9", + "annotation": [] + }, + "high": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "20", + "annotation": [] + } + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "true", + "annotation": [] + } + } + ] + } + }, + { + "name": "IntegerIntervalExclusiveOverlapsFalse", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Overlaps", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "4", + "annotation": [] + }, + "high": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + } + }, + { + "type": "Interval", + "lowClosed": false, + "highClosed": true, + "annotation": [], + "low": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + }, + "high": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "20", + "annotation": [] + } + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "false", + "annotation": [] + } + } + ] + } + }, + { + "name": "IntegerIntervalExclusiveOverlapsFalse2", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Overlaps", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Interval", + "lowClosed": true, + "highClosed": false, + "annotation": [], + "low": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "4", + "annotation": [] + }, + "high": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + } + }, + { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + }, + "high": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "20", + "annotation": [] + } + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "false", + "annotation": [] + } + } + ] + } + }, + { + "name": "IntegerIntervalExclusiveOverlapsFalse3", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Overlaps", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Interval", + "lowClosed": true, + "highClosed": false, + "annotation": [], + "low": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "4", + "annotation": [] + }, + "high": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + } + }, + { + "type": "Interval", + "lowClosed": false, + "highClosed": true, + "annotation": [], + "low": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + }, + "high": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "20", + "annotation": [] + } + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "false", + "annotation": [] + } + } + ] + } + }, + { + "name": "IntegerIntervalExclusiveOverlapsFalse4", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Overlaps", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Interval", + "lowClosed": true, + "highClosed": false, + "annotation": [], + "low": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "4", + "annotation": [] + }, + "high": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + } + }, + { + "type": "Interval", + "lowClosed": false, + "highClosed": true, + "annotation": [], + "low": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "9", + "annotation": [] + }, + "high": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "20", + "annotation": [] + } + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "false", + "annotation": [] + } + } + ] + } + }, + { + "name": "DecimalIntervalOverlapsTrue", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Overlaps", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "1.0", + "annotation": [] + }, + "high": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "10.0", + "annotation": [] + } + }, + { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "4.0", + "annotation": [] + }, + "high": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "10.0", + "annotation": [] + } + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "true", + "annotation": [] + } + } + ] + } + }, + { + "name": "DecimalIntervalOverlapsFalse", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Overlaps", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "1.0", + "annotation": [] + }, + "high": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "10.0", + "annotation": [] + } + }, + { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "11.0", + "annotation": [] + }, + "high": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "20.0", + "annotation": [] + } + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "false", + "annotation": [] + } + } + ] + } + }, + { + "name": "QuantityIntervalOverlapsTrue", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Overlaps", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "Quantity", + "value": 1, + "unit": "g", + "annotation": [] + }, + "high": { + "type": "Quantity", + "value": 10, + "unit": "g", + "annotation": [] + } + }, + { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "Quantity", + "value": 5, + "unit": "g", + "annotation": [] + }, + "high": { + "type": "Quantity", + "value": 10, + "unit": "g", + "annotation": [] + } + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "true", + "annotation": [] + } + } + ] + } + }, + { + "name": "QuantityIntervalOverlapsFalse", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Overlaps", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "Quantity", + "value": 1, + "unit": "g", + "annotation": [] + }, + "high": { + "type": "Quantity", + "value": 10, + "unit": "g", + "annotation": [] + } + }, + { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "Quantity", + "value": 11, + "unit": "g", + "annotation": [] + }, + "high": { + "type": "Quantity", + "value": 20, + "unit": "g", + "annotation": [] + } + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "false", + "annotation": [] + } + } + ] + } + }, + { + "name": "DateTimeOverlapsTrue", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Overlaps", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2012", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "5", + "annotation": [] + } + }, + "high": { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2012", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "25", + "annotation": [] + } + } + }, + { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2012", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "15", + "annotation": [] + } + }, + "high": { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2012", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "28", + "annotation": [] + } + } + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "true", + "annotation": [] + } + } + ] + } + }, + { + "name": "DateTimeOverlapsFalse", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Overlaps", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2012", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "5", + "annotation": [] + } + }, + "high": { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2012", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "25", + "annotation": [] + } + } + }, + { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2012", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "26", + "annotation": [] + } + }, + "high": { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2012", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "28", + "annotation": [] + } + } + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "false", + "annotation": [] + } + } + ] + } + }, + { + "name": "DateTimeOverlapsPrecisionLeftPossiblyStartsDuringRight", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Overlaps", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2012", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "25", + "annotation": [] + } + }, + "high": { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2012", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "3", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "26", + "annotation": [] + } + } + }, + { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2012", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + } + }, + "high": { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2012", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2", + "annotation": [] + } + } + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Null", + "annotation": [] + } + } + ] + } + }, + { + "name": "DateTimeOverlapsPrecisioLeftPossiblyEndsDuringRight", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Overlaps", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2012", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "25", + "annotation": [] + } + }, + "high": { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2012", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "26", + "annotation": [] + } + } + }, + { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2012", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2", + "annotation": [] + } + }, + "high": { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2012", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "3", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "28", + "annotation": [] + } + } + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Null", + "annotation": [] + } + } + ] + } + }, + { + "name": "DateTimeOverlapsPrecisionLeftPossiblyStartsAndEndsDuringRight", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Overlaps", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2012", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2", + "annotation": [] + } + }, + "high": { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2012", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "3", + "annotation": [] + } + } + }, + { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2011", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + } + }, + "high": { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2012", + "annotation": [] + } + } + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Null", + "annotation": [] + } + } + ] + } + }, + { + "name": "DateTimeOverlapsPrecisionRightPossiblyStartsDuringLeftButEndsDuringLeft", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Overlaps", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2012", + "annotation": [] + } + }, + "high": { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2013", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "3", + "annotation": [] + } + } + }, + { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2012", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2", + "annotation": [] + } + }, + "high": { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2013", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2", + "annotation": [] + } + } + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "true", + "annotation": [] + } + } + ] + } + }, + { + "name": "DateTimeOverlapsPrecisionRightStartsDuringLeftAndPossiblyEndsDuringLeft", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Overlaps", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2012", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2", + "annotation": [] + } + }, + "high": { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2013", + "annotation": [] + } + } + }, + { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2012", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "3", + "annotation": [] + } + }, + "high": { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2013", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2", + "annotation": [] + } + } + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "true", + "annotation": [] + } + } + ] + } + }, + { + "name": "TimeOverlapsTrue", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Overlaps", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "Time", + "annotation": [], + "signature": [], + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + } + }, + "high": { + "type": "Time", + "annotation": [], + "signature": [], + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "19", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "999", + "annotation": [] + } + } + }, + { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "Time", + "annotation": [], + "signature": [], + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "12", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + } + }, + "high": { + "type": "Time", + "annotation": [], + "signature": [], + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "21", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "999", + "annotation": [] + } + } + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "true", + "annotation": [] + } + } + ] + } + }, + { + "name": "TimeOverlapsFalse", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Overlaps", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "Time", + "annotation": [], + "signature": [], + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + } + }, + "high": { + "type": "Time", + "annotation": [], + "signature": [], + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "19", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "999", + "annotation": [] + } + } + }, + { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "Time", + "annotation": [], + "signature": [], + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "20", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + } + }, + "high": { + "type": "Time", + "annotation": [], + "signature": [], + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "21", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "999", + "annotation": [] + } + } + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "false", + "annotation": [] + } + } + ] + } + } + ] + } + }, + { + "name": "OverlapsBefore", + "context": "Patient", + "accessLevel": "Public", + "annotation": [], + "expression": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "TestOverlapsBeforeNull", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "OverlapsBefore", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "Null", + "annotation": [] + }, + "high": { + "type": "Null", + "annotation": [] + } + }, + { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + }, + "high": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + } + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Null", + "annotation": [] + } + } + ] + } + }, + { + "name": "IntegerIntervalOverlapsBeforeTrue", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "OverlapsBefore", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + }, + "high": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + } + }, + { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "4", + "annotation": [] + }, + "high": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + } + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "true", + "annotation": [] + } + } + ] + } + }, + { + "name": "IntegerIntervalOverlapsBeforeFalse", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "OverlapsBefore", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "4", + "annotation": [] + }, + "high": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + } + }, + { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + }, + "high": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + } + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "false", + "annotation": [] + } + } + ] + } + }, + { + "name": "IntegerIntervalOverlapsBeforeFalse2", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "OverlapsBefore", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "4", + "annotation": [] + }, + "high": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + } + }, + { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "4", + "annotation": [] + }, + "high": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + } + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "false", + "annotation": [] + } + } + ] + } + }, + { + "name": "IntegerIntervalExclusiveOverlapsBeforeTrue", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "OverlapsBefore", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "4", + "annotation": [] + }, + "high": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + } + }, + { + "type": "Interval", + "lowClosed": false, + "highClosed": true, + "annotation": [], + "low": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "4", + "annotation": [] + }, + "high": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + } + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "true", + "annotation": [] + } + } + ] + } + }, + { + "name": "IntegerIntervalExclusiveOverlapsBeforeTrue2", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "OverlapsBefore", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Interval", + "lowClosed": false, + "highClosed": true, + "annotation": [], + "low": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "3", + "annotation": [] + }, + "high": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + } + }, + { + "type": "Interval", + "lowClosed": false, + "highClosed": true, + "annotation": [], + "low": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "4", + "annotation": [] + }, + "high": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + } + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "true", + "annotation": [] + } + } + ] + } + }, + { + "name": "IntegerIntervalExclusiveOverlapsBeforeTrue3", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "OverlapsBefore", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Interval", + "lowClosed": false, + "highClosed": true, + "annotation": [], + "low": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "3", + "annotation": [] + }, + "high": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + } + }, + { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "5", + "annotation": [] + }, + "high": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + } + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "true", + "annotation": [] + } + } + ] + } + }, + { + "name": "IntegerIntervalExclusiveOverlapsBeforeFalse", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "OverlapsBefore", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Interval", + "lowClosed": false, + "highClosed": true, + "annotation": [], + "low": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "3", + "annotation": [] + }, + "high": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + } + }, + { + "type": "Interval", + "lowClosed": false, + "highClosed": true, + "annotation": [], + "low": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "3", + "annotation": [] + }, + "high": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + } + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "false", + "annotation": [] + } + } + ] + } + }, + { + "name": "IntegerIntervalExclusiveOverlapsBeforeFalse2", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "OverlapsBefore", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Interval", + "lowClosed": false, + "highClosed": true, + "annotation": [], + "low": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "3", + "annotation": [] + }, + "high": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + } + }, + { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "4", + "annotation": [] + }, + "high": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + } + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "false", + "annotation": [] + } + } + ] + } + }, + { + "name": "IntegerIntervalExclusiveOverlapsBeforeFalse3", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "OverlapsBefore", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "4", + "annotation": [] + }, + "high": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + } + }, + { + "type": "Interval", + "lowClosed": false, + "highClosed": true, + "annotation": [], + "low": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "3", + "annotation": [] + }, + "high": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + } + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "false", + "annotation": [] + } + } + ] + } + }, + { + "name": "DecimalIntervalOverlapsBeforeTrue", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "OverlapsBefore", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "1.0", + "annotation": [] + }, + "high": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "10.0", + "annotation": [] + } + }, + { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "4.0", + "annotation": [] + }, + "high": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "10.0", + "annotation": [] + } + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "true", + "annotation": [] + } + } + ] + } + }, + { + "name": "DecimalIntervalOverlapsBeforeFalse", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "OverlapsBefore", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "4.0", + "annotation": [] + }, + "high": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "10.0", + "annotation": [] + } + }, + { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "1.0", + "annotation": [] + }, + "high": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "10.0", + "annotation": [] + } + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "false", + "annotation": [] + } + } + ] + } + }, + { + "name": "QuantityIntervalOverlapsBeforeTrue", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "OverlapsBefore", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "Quantity", + "value": 1, + "unit": "g", + "annotation": [] + }, + "high": { + "type": "Quantity", + "value": 10, + "unit": "g", + "annotation": [] + } + }, + { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "Quantity", + "value": 5, + "unit": "g", + "annotation": [] + }, + "high": { + "type": "Quantity", + "value": 10, + "unit": "g", + "annotation": [] + } + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "true", + "annotation": [] + } + } + ] + } + }, + { + "name": "QuantityIntervalOverlapsBeforeFalse", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "OverlapsBefore", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "Quantity", + "value": 5, + "unit": "g", + "annotation": [] + }, + "high": { + "type": "Quantity", + "value": 10, + "unit": "g", + "annotation": [] + } + }, + { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "Quantity", + "value": 1, + "unit": "g", + "annotation": [] + }, + "high": { + "type": "Quantity", + "value": 10, + "unit": "g", + "annotation": [] + } + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "false", + "annotation": [] + } + } + ] + } + }, + { + "name": "DateTimeOverlapsBeforeTrue", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Overlaps", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2012", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "5", + "annotation": [] + } + }, + "high": { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2012", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "25", + "annotation": [] + } + } + }, + { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2012", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "15", + "annotation": [] + } + }, + "high": { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2012", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "28", + "annotation": [] + } + } + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "true", + "annotation": [] + } + } + ] + } + }, + { + "name": "DateTimeOverlapsBeforeFalse", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Overlaps", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2012", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "5", + "annotation": [] + } + }, + "high": { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2012", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "25", + "annotation": [] + } + } + }, + { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2012", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "26", + "annotation": [] + } + }, + "high": { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2012", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "28", + "annotation": [] + } + } + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "false", + "annotation": [] + } + } + ] + } + }, + { + "name": "TimeOverlapsBeforeTrue", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Overlaps", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "Time", + "annotation": [], + "signature": [], + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + } + }, + "high": { + "type": "Time", + "annotation": [], + "signature": [], + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "19", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "999", + "annotation": [] + } + } + }, + { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "Time", + "annotation": [], + "signature": [], + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "12", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + } + }, + "high": { + "type": "Time", + "annotation": [], + "signature": [], + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "21", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "999", + "annotation": [] + } + } + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "true", + "annotation": [] + } + } + ] + } + }, + { + "name": "TimeOverlapsBeforeFalse", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Overlaps", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "Time", + "annotation": [], + "signature": [], + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + } + }, + "high": { + "type": "Time", + "annotation": [], + "signature": [], + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "19", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "999", + "annotation": [] + } + } + }, + { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "Time", + "annotation": [], + "signature": [], + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "20", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + } + }, + "high": { + "type": "Time", + "annotation": [], + "signature": [], + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "21", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "999", + "annotation": [] + } + } + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "false", + "annotation": [] + } + } + ] + } + } + ] + } + }, + { + "name": "OverlapsAfter", + "context": "Patient", + "accessLevel": "Public", + "annotation": [], + "expression": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "TestOverlapsAfterNull", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "OverlapsAfter", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "Null", + "annotation": [] + }, + "high": { + "type": "Null", + "annotation": [] + } + }, + { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + }, + "high": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + } + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Null", + "annotation": [] + } + } + ] + } + }, + { + "name": "IntegerIntervalOverlapsAfterTrue", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "OverlapsAfter", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "4", + "annotation": [] + }, + "high": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "15", + "annotation": [] + } + }, + { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + }, + "high": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + } + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "true", + "annotation": [] + } + } + ] + } + }, + { + "name": "IntegerIntervalOverlapsAfterFalse", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "OverlapsAfter", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "4", + "annotation": [] + }, + "high": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + } + }, + { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + }, + "high": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + } + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "false", + "annotation": [] + } + } + ] + } + }, + { + "name": "IntegerIntervalOverlapsAfterFalse2", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "OverlapsAfter", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "4", + "annotation": [] + }, + "high": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + } + }, + { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "4", + "annotation": [] + }, + "high": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + } + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "false", + "annotation": [] + } + } + ] + } + }, + { + "name": "IntegerIntervalExclusiveOverlapsAfterTrue", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "OverlapsAfter", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Interval", + "lowClosed": true, + "highClosed": false, + "annotation": [], + "low": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "4", + "annotation": [] + }, + "high": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "11", + "annotation": [] + } + }, + { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "4", + "annotation": [] + }, + "high": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "9", + "annotation": [] + } + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "true", + "annotation": [] + } + } + ] + } + }, + { + "name": "IntegerIntervalExclusiveOverlapsAfterTrue2", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "OverlapsAfter", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Interval", + "lowClosed": true, + "highClosed": false, + "annotation": [], + "low": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "4", + "annotation": [] + }, + "high": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "11", + "annotation": [] + } + }, + { + "type": "Interval", + "lowClosed": true, + "highClosed": false, + "annotation": [], + "low": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "4", + "annotation": [] + }, + "high": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + } + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "true", + "annotation": [] + } + } + ] + } + }, + { + "name": "IntegerIntervalExclusiveOverlapsAfterTrue3", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "OverlapsAfter", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "4", + "annotation": [] + }, + "high": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + } + }, + { + "type": "Interval", + "lowClosed": true, + "highClosed": false, + "annotation": [], + "low": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "4", + "annotation": [] + }, + "high": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + } + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "true", + "annotation": [] + } + } + ] + } + }, + { + "name": "IntegerIntervalExclusiveOverlapsAfterFalse", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "OverlapsAfter", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Interval", + "lowClosed": true, + "highClosed": false, + "annotation": [], + "low": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "4", + "annotation": [] + }, + "high": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "11", + "annotation": [] + } + }, + { + "type": "Interval", + "lowClosed": true, + "highClosed": false, + "annotation": [], + "low": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "4", + "annotation": [] + }, + "high": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "11", + "annotation": [] + } + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "false", + "annotation": [] + } + } + ] + } + }, + { + "name": "IntegerIntervalExclusiveOverlapsAfterFalse2", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "OverlapsAfter", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Interval", + "lowClosed": true, + "highClosed": false, + "annotation": [], + "low": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "4", + "annotation": [] + }, + "high": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "11", + "annotation": [] + } + }, + { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "4", + "annotation": [] + }, + "high": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + } + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "false", + "annotation": [] + } + } + ] + } + }, + { + "name": "IntegerIntervalExclusiveOverlapsAfterFalse3", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "OverlapsAfter", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "4", + "annotation": [] + }, + "high": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + } + }, + { + "type": "Interval", + "lowClosed": true, + "highClosed": false, + "annotation": [], + "low": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "4", + "annotation": [] + }, + "high": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "11", + "annotation": [] + } + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "false", + "annotation": [] + } + } + ] + } + }, + { + "name": "DecimalIntervalOverlapsAfterTrue", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "OverlapsAfter", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "4.0", + "annotation": [] + }, + "high": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "15.0", + "annotation": [] + } + }, + { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "1.0", + "annotation": [] + }, + "high": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "10.0", + "annotation": [] + } + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "true", + "annotation": [] + } + } + ] + } + }, + { + "name": "DecimalIntervalOverlapsAfterFalse", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "OverlapsAfter", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "4.0", + "annotation": [] + }, + "high": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "10.0", + "annotation": [] + } + }, + { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "1.0", + "annotation": [] + }, + "high": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "10.0", + "annotation": [] + } + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "false", + "annotation": [] + } + } + ] + } + }, + { + "name": "QuantityIntervalOverlapsAfterTrue", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "OverlapsAfter", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "Quantity", + "value": 5, + "unit": "g", + "annotation": [] + }, + "high": { + "type": "Quantity", + "value": 15, + "unit": "g", + "annotation": [] + } + }, + { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "Quantity", + "value": 1, + "unit": "g", + "annotation": [] + }, + "high": { + "type": "Quantity", + "value": 10, + "unit": "g", + "annotation": [] + } + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "true", + "annotation": [] + } + } + ] + } + }, + { + "name": "QuantityIntervalOverlapsAfterFalse", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "OverlapsAfter", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "Quantity", + "value": 5, + "unit": "g", + "annotation": [] + }, + "high": { + "type": "Quantity", + "value": 10, + "unit": "g", + "annotation": [] + } + }, + { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "Quantity", + "value": 1, + "unit": "g", + "annotation": [] + }, + "high": { + "type": "Quantity", + "value": 10, + "unit": "g", + "annotation": [] + } + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "false", + "annotation": [] + } + } + ] + } + }, + { + "name": "DateTimeOverlapsAfterTrue", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Overlaps", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2012", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "15", + "annotation": [] + } + }, + "high": { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2012", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "28", + "annotation": [] + } + } + }, + { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2012", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "5", + "annotation": [] + } + }, + "high": { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2012", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "25", + "annotation": [] + } + } + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "true", + "annotation": [] + } + } + ] + } + }, + { + "name": "DateTimeOverlapsAfterFalse", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Overlaps", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2012", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "26", + "annotation": [] + } + }, + "high": { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2012", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "28", + "annotation": [] + } + } + }, + { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2012", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "5", + "annotation": [] + } + }, + "high": { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2012", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "25", + "annotation": [] + } + } + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "false", + "annotation": [] + } + } + ] + } + }, + { + "name": "TimeOverlapsAfterTrue", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Overlaps", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "Time", + "annotation": [], + "signature": [], + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "12", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + } + }, + "high": { + "type": "Time", + "annotation": [], + "signature": [], + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "21", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "999", + "annotation": [] + } + } + }, + { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "Time", + "annotation": [], + "signature": [], + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + } + }, + "high": { + "type": "Time", + "annotation": [], + "signature": [], + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "19", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "999", + "annotation": [] + } + } + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "true", + "annotation": [] + } + } + ] + } + }, + { + "name": "TimeOverlapsAfterFalse", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Overlaps", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "Time", + "annotation": [], + "signature": [], + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "20", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + } + }, + "high": { + "type": "Time", + "annotation": [], + "signature": [], + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "21", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "999", + "annotation": [] + } + } + }, + { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "Time", + "annotation": [], + "signature": [], + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + } + }, + "high": { + "type": "Time", + "annotation": [], + "signature": [], + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "19", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "999", + "annotation": [] + } + } + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "false", + "annotation": [] + } + } + ] + } + } + ] + } + }, + { + "name": "PointFrom", + "context": "Patient", + "accessLevel": "Public", + "annotation": [], + "expression": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "TestPointFromNull", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "skipped", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}String", + "value": "PointFrom not implemented", + "annotation": [] + } + } + ] + } + }, + { + "name": "TestPointFromInteger", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "skipped", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}String", + "value": "PointFrom not implemented", + "annotation": [] + } + } + ] + } + }, + { + "name": "TestPointFromDecimal", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "skipped", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}String", + "value": "PointFrom not implemented", + "annotation": [] + } + } + ] + } + }, + { + "name": "TestPointFromQuantity", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "skipped", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}String", + "value": "PointFrom not implemented", + "annotation": [] + } + } + ] + } + } + ] + } + }, + { + "name": "ProperContains", + "context": "Patient", + "accessLevel": "Public", + "annotation": [], + "expression": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "TimeProperContainsTrue", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "skipped", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}String", + "value": "ProperContains not implemented", + "annotation": [] + } + } + ] + } + }, + { + "name": "TimeProperContainsFalse", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "skipped", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}String", + "value": "ProperContains not implemented", + "annotation": [] + } + } + ] + } + }, + { + "name": "TimeProperContainsNull", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "skipped", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}String", + "value": "ProperContains not implemented", + "annotation": [] + } + } + ] + } + }, + { + "name": "TimeProperContainsPrecisionTrue", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "skipped", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}String", + "value": "ProperContains not implemented", + "annotation": [] + } + } + ] + } + }, + { + "name": "TimeProperContainsPrecisionFalse", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "skipped", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}String", + "value": "ProperContains not implemented", + "annotation": [] + } + } + ] + } + }, + { + "name": "TimeProperContainsPrecisionNull", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "skipped", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}String", + "value": "ProperContains not implemented", + "annotation": [] + } + } + ] + } + } + ] + } + }, + { + "name": "ProperIn", + "context": "Patient", + "accessLevel": "Public", + "annotation": [], + "expression": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "TimeProperInTrue", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "skipped", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}String", + "value": "ProperIn not implemented", + "annotation": [] + } + } + ] + } + }, + { + "name": "TimeProperInFalse", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "skipped", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}String", + "value": "ProperIn not implemented", + "annotation": [] + } + } + ] + } + }, + { + "name": "TimeProperInNull", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "skipped", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}String", + "value": "ProperIn not implemented", + "annotation": [] + } + } + ] + } + }, + { + "name": "TimeProperInPrecisionTrue", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "skipped", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}String", + "value": "ProperIn not implemented", + "annotation": [] + } + } + ] + } + }, + { + "name": "TimeProperInPrecisionFalse", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "skipped", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}String", + "value": "ProperIn not implemented", + "annotation": [] + } + } + ] + } + }, + { + "name": "TimeProperInPrecisionNull", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "skipped", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}String", + "value": "ProperIn not implemented", + "annotation": [] + } + } + ] + } + } + ] + } + }, + { + "name": "ProperlyIncludes", + "context": "Patient", + "accessLevel": "Public", + "annotation": [], + "expression": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "NullBoundariesProperlyIncludesIntegerInterval", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "ProperIncludes", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "As", + "strict": false, + "annotation": [], + "signature": [], + "operand": { + "type": "Null", + "annotation": [] + }, + "asTypeSpecifier": { + "type": "NamedTypeSpecifier", + "name": "{urn:hl7-org:elm-types:r1}Integer", + "annotation": [] + } + }, + "high": { + "type": "As", + "strict": false, + "annotation": [], + "signature": [], + "operand": { + "type": "Null", + "annotation": [] + }, + "asTypeSpecifier": { + "type": "NamedTypeSpecifier", + "name": "{urn:hl7-org:elm-types:r1}Integer", + "annotation": [] + } + } + }, + { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + }, + "high": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + } + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "true", + "annotation": [] + } + } + ] + } + }, + { + "name": "IntegerIntervalProperlyIncludesTrue", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "ProperIncludes", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + }, + "high": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + } + }, + { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "4", + "annotation": [] + }, + "high": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + } + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "true", + "annotation": [] + } + } + ] + } + }, + { + "name": "IntegerIntervalProperlyIncludesFalse", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "ProperIncludes", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + }, + "high": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + } + }, + { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "4", + "annotation": [] + }, + "high": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "15", + "annotation": [] + } + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "false", + "annotation": [] + } + } + ] + } + }, + { + "name": "DecimalIntervalProperlyIncludesTrue", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "ProperIncludes", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "1.0", + "annotation": [] + }, + "high": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "10.0", + "annotation": [] + } + }, + { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "4.0", + "annotation": [] + }, + "high": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "10.0", + "annotation": [] + } + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "true", + "annotation": [] + } + } + ] + } + }, + { + "name": "DecimalIntervalProperlyIncludesFalse", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "ProperIncludes", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "1.0", + "annotation": [] + }, + "high": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "10.0", + "annotation": [] + } + }, + { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "4.0", + "annotation": [] + }, + "high": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "15.0", + "annotation": [] + } + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "false", + "annotation": [] + } + } + ] + } + }, + { + "name": "QuantityIntervalProperlyIncludesTrue", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "ProperIncludes", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "Quantity", + "value": 1, + "unit": "g", + "annotation": [] + }, + "high": { + "type": "Quantity", + "value": 10, + "unit": "g", + "annotation": [] + } + }, + { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "Quantity", + "value": 5, + "unit": "g", + "annotation": [] + }, + "high": { + "type": "Quantity", + "value": 10, + "unit": "g", + "annotation": [] + } + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "true", + "annotation": [] + } + } + ] + } + }, + { + "name": "QuantityIntervalProperlyIncludesFalse", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "ProperIncludes", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "Quantity", + "value": 1, + "unit": "g", + "annotation": [] + }, + "high": { + "type": "Quantity", + "value": 10, + "unit": "g", + "annotation": [] + } + }, + { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "Quantity", + "value": 5, + "unit": "g", + "annotation": [] + }, + "high": { + "type": "Quantity", + "value": 15, + "unit": "g", + "annotation": [] + } + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "false", + "annotation": [] + } + } + ] + } + }, + { + "name": "DateTimeProperlyIncludesTrue", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "ProperIncludes", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2012", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "15", + "annotation": [] + } + }, + "high": { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2012", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "28", + "annotation": [] + } + } + }, + { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2012", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "16", + "annotation": [] + } + }, + "high": { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2012", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "27", + "annotation": [] + } + } + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "true", + "annotation": [] + } + } + ] + } + }, + { + "name": "DateTimeProperlyIncludesFalse", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "ProperIncludes", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2012", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "15", + "annotation": [] + } + }, + "high": { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2012", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "28", + "annotation": [] + } + } + }, + { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2012", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "16", + "annotation": [] + } + }, + "high": { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2012", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "29", + "annotation": [] + } + } + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "false", + "annotation": [] + } + } + ] + } + }, + { + "name": "TimeProperlyIncludesTrue", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "ProperIncludes", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "Time", + "annotation": [], + "signature": [], + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "12", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + } + }, + "high": { + "type": "Time", + "annotation": [], + "signature": [], + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "21", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "999", + "annotation": [] + } + } + }, + { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "Time", + "annotation": [], + "signature": [], + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "12", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + } + }, + "high": { + "type": "Time", + "annotation": [], + "signature": [], + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "21", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "998", + "annotation": [] + } + } + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "true", + "annotation": [] + } + } + ] + } + }, + { + "name": "TimeProperlyIncludesFalse", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "ProperIncludes", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "Time", + "annotation": [], + "signature": [], + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "12", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + } + }, + "high": { + "type": "Time", + "annotation": [], + "signature": [], + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "21", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "999", + "annotation": [] + } + } + }, + { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "Time", + "annotation": [], + "signature": [], + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "12", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + } + }, + "high": { + "type": "Time", + "annotation": [], + "signature": [], + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "22", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + } + } + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "false", + "annotation": [] + } + } + ] + } + } + ] + } + }, + { + "name": "ProperlyIncludedIn", + "context": "Patient", + "accessLevel": "Public", + "annotation": [], + "expression": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "IntegerIntervalProperlyIncludedInNullBoundaries", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "ProperIncludedIn", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + }, + "high": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + } + }, + { + "type": "Interval", + "annotation": [], + "low": { + "type": "As", + "asType": "{urn:hl7-org:elm-types:r1}Integer", + "annotation": [], + "signature": [], + "operand": { + "type": "Property", + "path": "low", + "annotation": [], + "source": { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "Null", + "annotation": [] + }, + "high": { + "type": "Null", + "annotation": [] + } + } + } + }, + "lowClosedExpression": { + "type": "Property", + "path": "lowClosed", + "annotation": [], + "source": { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "Null", + "annotation": [] + }, + "high": { + "type": "Null", + "annotation": [] + } + } + }, + "high": { + "type": "As", + "asType": "{urn:hl7-org:elm-types:r1}Integer", + "annotation": [], + "signature": [], + "operand": { + "type": "Property", + "path": "high", + "annotation": [], + "source": { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "Null", + "annotation": [] + }, + "high": { + "type": "Null", + "annotation": [] + } + } + } + }, + "highClosedExpression": { + "type": "Property", + "path": "highClosed", + "annotation": [], + "source": { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "Null", + "annotation": [] + }, + "high": { + "type": "Null", + "annotation": [] + } + } + } + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "true", + "annotation": [] + } + } + ] + } + }, + { + "name": "IntegerIntervalProperlyIncludedInTrue", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "ProperIncludedIn", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "4", + "annotation": [] + }, + "high": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + } + }, + { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + }, + "high": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + } + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "true", + "annotation": [] + } + } + ] + } + }, + { + "name": "IntegerIntervalProperlyIncludedInFalse", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "ProperIncludedIn", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "4", + "annotation": [] + }, + "high": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "15", + "annotation": [] + } + }, + { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + }, + "high": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + } + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "false", + "annotation": [] + } + } + ] + } + }, + { + "name": "DecimalIntervalProperlyIncludedInTrue", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "ProperIncludedIn", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "4.0", + "annotation": [] + }, + "high": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "10.0", + "annotation": [] + } + }, + { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "1.0", + "annotation": [] + }, + "high": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "10.0", + "annotation": [] + } + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "true", + "annotation": [] + } + } + ] + } + }, + { + "name": "DecimalIntervalProperlyIncludedInFalse", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "ProperIncludedIn", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "4.0", + "annotation": [] + }, + "high": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "15.0", + "annotation": [] + } + }, + { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "1.0", + "annotation": [] + }, + "high": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "10.0", + "annotation": [] + } + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "false", + "annotation": [] + } + } + ] + } + }, + { + "name": "QuantityIntervalProperlyIncludedInTrue", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "ProperIncludedIn", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "Quantity", + "value": 5, + "unit": "g", + "annotation": [] + }, + "high": { + "type": "Quantity", + "value": 10, + "unit": "g", + "annotation": [] + } + }, + { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "Quantity", + "value": 1, + "unit": "g", + "annotation": [] + }, + "high": { + "type": "Quantity", + "value": 10, + "unit": "g", + "annotation": [] + } + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "true", + "annotation": [] + } + } + ] + } + }, + { + "name": "QuantityIntervalProperlyIncludedInFalse", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "ProperIncludedIn", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "Quantity", + "value": 1, + "unit": "g", + "annotation": [] + }, + "high": { + "type": "Quantity", + "value": 10, + "unit": "g", + "annotation": [] + } + }, + { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "Quantity", + "value": 5, + "unit": "g", + "annotation": [] + }, + "high": { + "type": "Quantity", + "value": 15, + "unit": "g", + "annotation": [] + } + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "false", + "annotation": [] + } + } + ] + } + }, + { + "name": "DateTimeProperlyIncludedInTrue", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "ProperIncludedIn", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2012", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "16", + "annotation": [] + } + }, + "high": { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2012", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "27", + "annotation": [] + } + } + }, + { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2012", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "15", + "annotation": [] + } + }, + "high": { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2012", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "28", + "annotation": [] + } + } + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "true", + "annotation": [] + } + } + ] + } + }, + { + "name": "DateTimeProperlyIncludedInFalse", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "ProperIncludedIn", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2012", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "16", + "annotation": [] + } + }, + "high": { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2012", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "29", + "annotation": [] + } + } + }, + { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2012", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "15", + "annotation": [] + } + }, + "high": { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2012", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "28", + "annotation": [] + } + } + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "false", + "annotation": [] + } + } + ] + } + }, + { + "name": "TimeProperlyIncludedInTrue", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "ProperIncludedIn", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "Time", + "annotation": [], + "signature": [], + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "12", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + } + }, + "high": { + "type": "Time", + "annotation": [], + "signature": [], + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "21", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "998", + "annotation": [] + } + } + }, + { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "Time", + "annotation": [], + "signature": [], + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "12", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + } + }, + "high": { + "type": "Time", + "annotation": [], + "signature": [], + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "21", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "999", + "annotation": [] + } + } + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "true", + "annotation": [] + } + } + ] + } + }, + { + "name": "TimeProperlyIncludedInFalse", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "ProperIncludedIn", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "Time", + "annotation": [], + "signature": [], + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "12", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + } + }, + "high": { + "type": "Time", + "annotation": [], + "signature": [], + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "22", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + } + } + }, + { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "Time", + "annotation": [], + "signature": [], + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "12", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + } + }, + "high": { + "type": "Time", + "annotation": [], + "signature": [], + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "21", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "999", + "annotation": [] + } + } + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "false", + "annotation": [] + } + } + ] + } + } + ] + } + }, + { + "name": "Start", + "context": "Patient", + "accessLevel": "Public", + "annotation": [], + "expression": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "IntegerIntervalStart", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Start", + "annotation": [], + "signature": [], + "operand": { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + }, + "high": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + } + } + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + } + } + ] + } + }, + { + "name": "DecimalIntervalStart", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Start", + "annotation": [], + "signature": [], + "operand": { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "1.0", + "annotation": [] + }, + "high": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "10.0", + "annotation": [] + } + } + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "1.0", + "annotation": [] + } + } + ] + } + }, + { + "name": "QuantityIntervalStart", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Start", + "annotation": [], + "signature": [], + "operand": { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "Quantity", + "value": 1, + "unit": "g", + "annotation": [] + }, + "high": { + "type": "Quantity", + "value": 10, + "unit": "g", + "annotation": [] + } + } + } + }, + { + "name": "output", + "value": { + "type": "Quantity", + "value": 1, + "unit": "g", + "annotation": [] + } + } + ] + } + }, + { + "name": "DateTimeIntervalStart", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Start", + "annotation": [], + "signature": [], + "operand": { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2016", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "5", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + }, + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + } + }, + "high": { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2016", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "5", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2", + "annotation": [] + }, + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + } + } + } + } + }, + { + "name": "output", + "value": { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2016", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "5", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + }, + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + } + } + } + ] + } + }, + { + "name": "TimeIntervalStart", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Start", + "annotation": [], + "signature": [], + "operand": { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "Time", + "annotation": [], + "signature": [], + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + } + }, + "high": { + "type": "Time", + "annotation": [], + "signature": [], + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "23", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "599", + "annotation": [] + } + } + } + } + }, + { + "name": "output", + "value": { + "type": "Time", + "annotation": [], + "signature": [], + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + } + } + } + ] + } + } + ] + } + }, + { + "name": "Starts", + "context": "Patient", + "accessLevel": "Public", + "annotation": [], + "expression": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "TestStartsNull", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Starts", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "Null", + "annotation": [] + }, + "high": { + "type": "Null", + "annotation": [] + } + }, + { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + }, + "high": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + } + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Null", + "annotation": [] + } + } + ] + } + }, + { + "name": "IntegerIntervalStartsTrue", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Starts", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "4", + "annotation": [] + }, + "high": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + } + }, + { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "4", + "annotation": [] + }, + "high": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "15", + "annotation": [] + } + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "true", + "annotation": [] + } + } + ] + } + }, + { + "name": "IntegerIntervalStartsFalse", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Starts", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + }, + "high": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + } + }, + { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "4", + "annotation": [] + }, + "high": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + } + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "false", + "annotation": [] + } + } + ] + } + }, + { + "name": "DecimalIntervalStartsTrue", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Starts", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "4.0", + "annotation": [] + }, + "high": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "10.0", + "annotation": [] + } + }, + { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "4.0", + "annotation": [] + }, + "high": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "15.0", + "annotation": [] + } + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "true", + "annotation": [] + } + } + ] + } + }, + { + "name": "DecimalIntervalStartsFalse", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Starts", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "1.0", + "annotation": [] + }, + "high": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "10.0", + "annotation": [] + } + }, + { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "4.0", + "annotation": [] + }, + "high": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "10.0", + "annotation": [] + } + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "false", + "annotation": [] + } + } + ] + } + }, + { + "name": "QuantityIntervalStartsTrue", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Starts", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "Quantity", + "value": 5, + "unit": "g", + "annotation": [] + }, + "high": { + "type": "Quantity", + "value": 10, + "unit": "g", + "annotation": [] + } + }, + { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "Quantity", + "value": 5, + "unit": "g", + "annotation": [] + }, + "high": { + "type": "Quantity", + "value": 15, + "unit": "g", + "annotation": [] + } + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "true", + "annotation": [] + } + } + ] + } + }, + { + "name": "QuantityIntervalStartsFalse", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Starts", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "Quantity", + "value": 1, + "unit": "g", + "annotation": [] + }, + "high": { + "type": "Quantity", + "value": 10, + "unit": "g", + "annotation": [] + } + }, + { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "Quantity", + "value": 5, + "unit": "g", + "annotation": [] + }, + "high": { + "type": "Quantity", + "value": 10, + "unit": "g", + "annotation": [] + } + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "false", + "annotation": [] + } + } + ] + } + }, + { + "name": "DateTimeStartsTrue", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Starts", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2012", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "5", + "annotation": [] + } + }, + "high": { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2012", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "25", + "annotation": [] + } + } + }, + { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2012", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "5", + "annotation": [] + } + }, + "high": { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2012", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "27", + "annotation": [] + } + } + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "true", + "annotation": [] + } + } + ] + } + }, + { + "name": "DateTimeStartsFalse", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Starts", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2012", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "5", + "annotation": [] + } + }, + "high": { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2012", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "25", + "annotation": [] + } + } + }, + { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2012", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "6", + "annotation": [] + } + }, + "high": { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2012", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "27", + "annotation": [] + } + } + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "false", + "annotation": [] + } + } + ] + } + }, + { + "name": "TimeStartsTrue", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Starts", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "Time", + "annotation": [], + "signature": [], + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "5", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "999", + "annotation": [] + } + }, + "high": { + "type": "Time", + "annotation": [], + "signature": [], + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "15", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "999", + "annotation": [] + } + } + }, + { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "Time", + "annotation": [], + "signature": [], + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "5", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "999", + "annotation": [] + } + }, + "high": { + "type": "Time", + "annotation": [], + "signature": [], + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "17", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "999", + "annotation": [] + } + } + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "true", + "annotation": [] + } + } + ] + } + }, + { + "name": "TimeStartsFalse", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Starts", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "Time", + "annotation": [], + "signature": [], + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "5", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "999", + "annotation": [] + } + }, + "high": { + "type": "Time", + "annotation": [], + "signature": [], + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "15", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "999", + "annotation": [] + } + } + }, + { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "Time", + "annotation": [], + "signature": [], + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "4", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "999", + "annotation": [] + } + }, + "high": { + "type": "Time", + "annotation": [], + "signature": [], + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "17", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "999", + "annotation": [] + } + } + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "false", + "annotation": [] + } + } + ] + } + } + ] + } + }, + { + "name": "Union", + "context": "Patient", + "accessLevel": "Public", + "annotation": [], + "expression": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "TestUnionNull", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Union", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "Null", + "annotation": [] + }, + "high": { + "type": "Null", + "annotation": [] + } + }, + { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + }, + "high": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + } + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Null", + "annotation": [] + } + } + ] + } + }, + { + "name": "IntegerIntervalUnion1To15", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Union", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + }, + "high": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + } + }, + { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "4", + "annotation": [] + }, + "high": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "15", + "annotation": [] + } + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + }, + "high": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "15", + "annotation": [] + } + } + } + ] + } + }, + { + "name": "IntegerIntervalUnionNull", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Union", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + }, + "high": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + } + }, + { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "44", + "annotation": [] + }, + "high": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "50", + "annotation": [] + } + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Null", + "annotation": [] + } + } + ] + } + }, + { + "name": "DecimalIntervalUnion1To15", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Union", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "1.0", + "annotation": [] + }, + "high": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "10.0", + "annotation": [] + } + }, + { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "4.0", + "annotation": [] + }, + "high": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "15.0", + "annotation": [] + } + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "1.0", + "annotation": [] + }, + "high": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "15.0", + "annotation": [] + } + } + } + ] + } + }, + { + "name": "DecimalIntervalUnionNull", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Union", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "1.0", + "annotation": [] + }, + "high": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "10.0", + "annotation": [] + } + }, + { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "14.0", + "annotation": [] + }, + "high": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "15.0", + "annotation": [] + } + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Null", + "annotation": [] + } + } + ] + } + }, + { + "name": "QuantityIntervalUnion1To15", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Union", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "Quantity", + "value": 1, + "unit": "g", + "annotation": [] + }, + "high": { + "type": "Quantity", + "value": 10, + "unit": "g", + "annotation": [] + } + }, + { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "Quantity", + "value": 5, + "unit": "g", + "annotation": [] + }, + "high": { + "type": "Quantity", + "value": 15, + "unit": "g", + "annotation": [] + } + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "Quantity", + "value": 1, + "unit": "g", + "annotation": [] + }, + "high": { + "type": "Quantity", + "value": 15, + "unit": "g", + "annotation": [] + } + } + } + ] + } + }, + { + "name": "QuantityIntervalUnionNull", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Union", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "Quantity", + "value": 1, + "unit": "g", + "annotation": [] + }, + "high": { + "type": "Quantity", + "value": 10, + "unit": "g", + "annotation": [] + } + }, + { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "Quantity", + "value": 14, + "unit": "g", + "annotation": [] + }, + "high": { + "type": "Quantity", + "value": 15, + "unit": "g", + "annotation": [] + } + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Null", + "annotation": [] + } + } + ] + } + }, + { + "name": "DateTimeUnion", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Union", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2012", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "5", + "annotation": [] + } + }, + "high": { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2012", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "25", + "annotation": [] + } + } + }, + { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2012", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "25", + "annotation": [] + } + }, + "high": { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2012", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "28", + "annotation": [] + } + } + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2012", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "5", + "annotation": [] + } + }, + "high": { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2012", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "28", + "annotation": [] + } + } + } + } + ] + } + }, + { + "name": "DateTimeUnionNull", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Union", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2012", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "5", + "annotation": [] + } + }, + "high": { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2012", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "25", + "annotation": [] + } + } + }, + { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2012", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "27", + "annotation": [] + } + }, + "high": { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2012", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "28", + "annotation": [] + } + } + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Null", + "annotation": [] + } + } + ] + } + }, + { + "name": "TimeUnion", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Union", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "Time", + "annotation": [], + "signature": [], + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "5", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "999", + "annotation": [] + } + }, + "high": { + "type": "Time", + "annotation": [], + "signature": [], + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "15", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "999", + "annotation": [] + } + } + }, + { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "Time", + "annotation": [], + "signature": [], + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "999", + "annotation": [] + } + }, + "high": { + "type": "Time", + "annotation": [], + "signature": [], + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "20", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "999", + "annotation": [] + } + } + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "Time", + "annotation": [], + "signature": [], + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "5", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "999", + "annotation": [] + } + }, + "high": { + "type": "Time", + "annotation": [], + "signature": [], + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "20", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "999", + "annotation": [] + } + } + } + } + ] + } + }, + { + "name": "TimeUnionNull", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Union", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "Time", + "annotation": [], + "signature": [], + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "5", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "999", + "annotation": [] + } + }, + "high": { + "type": "Time", + "annotation": [], + "signature": [], + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "15", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "999", + "annotation": [] + } + } + }, + { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "Time", + "annotation": [], + "signature": [], + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "16", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "999", + "annotation": [] + } + }, + "high": { + "type": "Time", + "annotation": [], + "signature": [], + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "20", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "999", + "annotation": [] + } + } + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Null", + "annotation": [] + } + } + ] + } + } + ] + } + }, + { + "name": "Width", + "context": "Patient", + "accessLevel": "Public", + "annotation": [], + "expression": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "IntegerIntervalTestWidth9", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Width", + "annotation": [], + "signature": [], + "operand": { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + }, + "high": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + } + } + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "9", + "annotation": [] + } + } + ] + } + }, + { + "name": "IntervalTestWidthNull", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Width", + "annotation": [], + "signature": [], + "operand": { + "type": "As", + "strict": false, + "annotation": [], + "signature": [], + "operand": { + "type": "Null", + "annotation": [] + }, + "asTypeSpecifier": { + "type": "IntervalTypeSpecifier", + "annotation": [], + "pointType": { + "type": "NamedTypeSpecifier", + "name": "{urn:hl7-org:elm-types:r1}Any", + "annotation": [] + } + } + } + } + }, + { + "name": "output", + "value": { + "type": "Null", + "annotation": [] + } + } + ] + } + }, + { + "name": "DecimalIntervalTestWidth11", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Width", + "annotation": [], + "signature": [], + "operand": { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "4.0", + "annotation": [] + }, + "high": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "15.0", + "annotation": [] + } + } + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "11.0", + "annotation": [] + } + } + ] + } + }, + { + "name": "QuantityIntervalTestWidth5", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Width", + "annotation": [], + "signature": [], + "operand": { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "Quantity", + "value": 5, + "unit": "g", + "annotation": [] + }, + "high": { + "type": "Quantity", + "value": 10, + "unit": "g", + "annotation": [] + } + } + } + }, + { + "name": "output", + "value": { + "type": "Quantity", + "value": 5, + "unit": "g", + "annotation": [] + } + } + ] + } + }, + { + "name": "DateTimeWidth", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Width", + "annotation": [], + "signature": [], + "operand": { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2012", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "5", + "annotation": [] + } + }, + "high": { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2012", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "25", + "annotation": [] + } + } + } + } + }, + { + "name": "invalid", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "true", + "annotation": [] + } + } + ] + } + }, + { + "name": "TimeWidth", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Width", + "annotation": [], + "signature": [], + "operand": { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "Time", + "annotation": [], + "signature": [], + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "5", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "999", + "annotation": [] + } + }, + "high": { + "type": "Time", + "annotation": [], + "signature": [], + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "15", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "999", + "annotation": [] + } + } + } + } + }, + { + "name": "invalid", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "true", + "annotation": [] + } + } + ] + } + } + ] + } + }, + { + "name": "Interval", + "context": "Patient", + "accessLevel": "Public", + "annotation": [], + "expression": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "IntegerIntervalTest", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + }, + "high": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + } + } + }, + { + "name": "output", + "value": { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + }, + "high": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + } + } + } + ] + } + }, + { + "name": "IntegerIntervalTest2", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "11", + "annotation": [] + }, + "high": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "20", + "annotation": [] + } + } + }, + { + "name": "output", + "value": { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "11", + "annotation": [] + }, + "high": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "20", + "annotation": [] + } + } + } + ] + } + }, + { + "name": "IntegerIntervalTest3", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "44", + "annotation": [] + }, + "high": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "50", + "annotation": [] + } + } + }, + { + "name": "output", + "value": { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "44", + "annotation": [] + }, + "high": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "50", + "annotation": [] + } + } + } + ] + } + }, + { + "name": "IntegerIntervalTest4", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "4", + "annotation": [] + }, + "high": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + } + } + }, + { + "name": "output", + "value": { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "4", + "annotation": [] + }, + "high": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + } + } + } + ] + } + }, + { + "name": "IntegerIntervalTest5", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "4", + "annotation": [] + }, + "high": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "15", + "annotation": [] + } + } + }, + { + "name": "output", + "value": { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "4", + "annotation": [] + }, + "high": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "15", + "annotation": [] + } + } + } + ] + } + }, + { + "name": "DecimalIntervalTest", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "1.0", + "annotation": [] + }, + "high": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "10.0", + "annotation": [] + } + } + }, + { + "name": "output", + "value": { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "1.0", + "annotation": [] + }, + "high": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "10.0", + "annotation": [] + } + } + } + ] + } + }, + { + "name": "DecimalIntervalTest2", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "11.0", + "annotation": [] + }, + "high": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "20.0", + "annotation": [] + } + } + }, + { + "name": "output", + "value": { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "11.0", + "annotation": [] + }, + "high": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "20.0", + "annotation": [] + } + } + } + ] + } + }, + { + "name": "DecimalIntervalTest3", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "4.0", + "annotation": [] + }, + "high": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "10.0", + "annotation": [] + } + } + }, + { + "name": "output", + "value": { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "4.0", + "annotation": [] + }, + "high": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "10.0", + "annotation": [] + } + } + } + ] + } + }, + { + "name": "DecimalIntervalTest4", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "4.0", + "annotation": [] + }, + "high": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "15.0", + "annotation": [] + } + } + }, + { + "name": "output", + "value": { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "4.0", + "annotation": [] + }, + "high": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "15.0", + "annotation": [] + } + } + } + ] + } + }, + { + "name": "DecimalIntervalTest5", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "14.0", + "annotation": [] + }, + "high": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "15.0", + "annotation": [] + } + } + }, + { + "name": "output", + "value": { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "14.0", + "annotation": [] + }, + "high": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "15.0", + "annotation": [] + } + } + } + ] + } + }, + { + "name": "QuantityIntervalTest", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "Quantity", + "value": 1, + "unit": "g", + "annotation": [] + }, + "high": { + "type": "Quantity", + "value": 10, + "unit": "g", + "annotation": [] + } + } + }, + { + "name": "output", + "value": { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "Quantity", + "value": 1, + "unit": "g", + "annotation": [] + }, + "high": { + "type": "Quantity", + "value": 10, + "unit": "g", + "annotation": [] + } + } + } + ] + } + }, + { + "name": "QuantityIntervalTest2", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "Quantity", + "value": 11, + "unit": "g", + "annotation": [] + }, + "high": { + "type": "Quantity", + "value": 20, + "unit": "g", + "annotation": [] + } + } + }, + { + "name": "output", + "value": { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "Quantity", + "value": 11, + "unit": "g", + "annotation": [] + }, + "high": { + "type": "Quantity", + "value": 20, + "unit": "g", + "annotation": [] + } + } + } + ] + } + }, + { + "name": "QuantityIntervalTest3", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "Quantity", + "value": 5, + "unit": "g", + "annotation": [] + }, + "high": { + "type": "Quantity", + "value": 10, + "unit": "g", + "annotation": [] + } + } + }, + { + "name": "output", + "value": { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "Quantity", + "value": 5, + "unit": "g", + "annotation": [] + }, + "high": { + "type": "Quantity", + "value": 10, + "unit": "g", + "annotation": [] + } + } + } + ] + } + }, + { + "name": "QuantityIntervalTest4", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "Quantity", + "value": 5, + "unit": "g", + "annotation": [] + }, + "high": { + "type": "Quantity", + "value": 15, + "unit": "g", + "annotation": [] + } + } + }, + { + "name": "output", + "value": { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "Quantity", + "value": 5, + "unit": "g", + "annotation": [] + }, + "high": { + "type": "Quantity", + "value": 15, + "unit": "g", + "annotation": [] + } + } + } + ] + } + }, + { + "name": "QuantityIntervalTest5", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "Quantity", + "value": 14, + "unit": "g", + "annotation": [] + }, + "high": { + "type": "Quantity", + "value": 15, + "unit": "g", + "annotation": [] + } + } + }, + { + "name": "output", + "value": { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "Quantity", + "value": 14, + "unit": "g", + "annotation": [] + }, + "high": { + "type": "Quantity", + "value": 15, + "unit": "g", + "annotation": [] + } + } + } + ] + } + }, + { + "name": "DateTimeIntervalTest", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2016", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "5", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + }, + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + } + }, + "high": { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2016", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "5", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2", + "annotation": [] + }, + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + } + } + } + }, + { + "name": "output", + "value": { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2016", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "5", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + }, + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + } + }, + "high": { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2016", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "5", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2", + "annotation": [] + }, + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + } + } + } + } + ] + } + }, + { + "name": "TimeIntervalTest", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "Time", + "annotation": [], + "signature": [], + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + } + }, + "high": { + "type": "Time", + "annotation": [], + "signature": [], + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "23", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "599", + "annotation": [] + } + } + } + }, + { + "name": "output", + "value": { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "Time", + "annotation": [], + "signature": [], + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + } + }, + "high": { + "type": "Time", + "annotation": [], + "signature": [], + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "23", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "599", + "annotation": [] + } + } + } + } + ] + } + }, + { + "name": "CollapseIntervalTestInteger", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "List", + "annotation": [], + "element": [ + { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + }, + "high": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + } + }, + { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "11", + "annotation": [] + }, + "high": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "20", + "annotation": [] + } + }, + { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "44", + "annotation": [] + }, + "high": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "50", + "annotation": [] + } + } + ] + } + }, + { + "name": "output", + "value": { + "type": "List", + "annotation": [], + "element": [ + { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + }, + "high": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + } + }, + { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "11", + "annotation": [] + }, + "high": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "20", + "annotation": [] + } + }, + { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "44", + "annotation": [] + }, + "high": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "50", + "annotation": [] + } + } + ] + } + } + ] + } + }, + { + "name": "InvalidIntegerInterval", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "5", + "annotation": [] + }, + "high": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "3", + "annotation": [] + } + } + }, + { + "name": "invalid", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "true", + "annotation": [] + } + } + ] + } + }, + { + "name": "InvalidIntegerIntervalA", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Interval", + "lowClosed": true, + "highClosed": false, + "annotation": [], + "low": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "5", + "annotation": [] + }, + "high": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "5", + "annotation": [] + } + } + }, + { + "name": "invalid", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "true", + "annotation": [] + } + } + ] + } + } + ] + } + } + ] + } + } } - diff --git a/test/spec-tests/cql/CqlListOperatorsTest.json b/test/spec-tests/cql/CqlListOperatorsTest.json index 7af64ff7..a30b07c5 100644 --- a/test/spec-tests/cql/CqlListOperatorsTest.json +++ b/test/spec-tests/cql/CqlListOperatorsTest.json @@ -1,17595 +1,19946 @@ { - "library" : { - "annotation" : [ { - "translatorVersion" : "3.27.0", - "translatorOptions" : "", - "signatureLevel" : "None", - "type" : "CqlToElmInfo" - }, { - "libraryId" : "CqlListOperatorsTest", - "libraryVersion" : "1.4.0", - "startLine" : 357, - "startChar" : 17, - "endLine" : 357, - "endChar" : 18, - "message" : "List-valued expression was demoted to a singleton.", - "errorType" : "semantic", - "errorSeverity" : "warning", - "type" : "CqlToElmError" - }, { - "libraryId" : "CqlListOperatorsTest", - "libraryVersion" : "1.4.0", - "startLine" : 361, - "startChar" : 17, - "endLine" : 361, - "endChar" : 22, - "message" : "List-valued expression was demoted to a singleton.", - "errorType" : "semantic", - "errorSeverity" : "warning", - "type" : "CqlToElmError" - }, { - "libraryId" : "CqlListOperatorsTest", - "libraryVersion" : "1.4.0", - "startLine" : 365, - "startChar" : 36, - "endLine" : 365, - "endChar" : 37, - "message" : "List-valued expression was demoted to a singleton.", - "errorType" : "semantic", - "errorSeverity" : "warning", - "type" : "CqlToElmError" - }, { - "libraryId" : "CqlListOperatorsTest", - "libraryVersion" : "1.4.0", - "startLine" : 369, - "startChar" : 36, - "endLine" : 369, - "endChar" : 38, - "message" : "List-valued expression was demoted to a singleton.", - "errorType" : "semantic", - "errorSeverity" : "warning", - "type" : "CqlToElmError" - }, { - "libraryId" : "CqlListOperatorsTest", - "libraryVersion" : "1.4.0", - "startLine" : 373, - "startChar" : 36, - "endLine" : 373, - "endChar" : 38, - "message" : "List-valued expression was demoted to a singleton.", - "errorType" : "semantic", - "errorSeverity" : "warning", - "type" : "CqlToElmError" - }, { - "libraryId" : "CqlListOperatorsTest", - "libraryVersion" : "1.4.0", - "startLine" : 377, - "startChar" : 97, - "endLine" : 377, - "endChar" : 119, - "message" : "List-valued expression was demoted to a singleton.", - "errorType" : "semantic", - "errorSeverity" : "warning", - "type" : "CqlToElmError" - }, { - "libraryId" : "CqlListOperatorsTest", - "libraryVersion" : "1.4.0", - "startLine" : 381, - "startChar" : 97, - "endLine" : 381, - "endChar" : 119, - "message" : "List-valued expression was demoted to a singleton.", - "errorType" : "semantic", - "errorSeverity" : "warning", - "type" : "CqlToElmError" - }, { - "libraryId" : "CqlListOperatorsTest", - "libraryVersion" : "1.4.0", - "startLine" : 414, - "startChar" : 17, - "endLine" : 414, - "endChar" : 18, - "message" : "List-valued expression was demoted to a singleton.", - "errorType" : "semantic", - "errorSeverity" : "warning", - "type" : "CqlToElmError" - }, { - "libraryId" : "CqlListOperatorsTest", - "libraryVersion" : "1.4.0", - "startLine" : 418, - "startChar" : 17, - "endLine" : 418, - "endChar" : 21, - "message" : "List-valued expression was demoted to a singleton.", - "errorType" : "semantic", - "errorSeverity" : "warning", - "type" : "CqlToElmError" - }, { - "libraryId" : "CqlListOperatorsTest", - "libraryVersion" : "1.4.0", - "startLine" : 422, - "startChar" : 17, - "endLine" : 422, - "endChar" : 21, - "message" : "List-valued expression was demoted to a singleton.", - "errorType" : "semantic", - "errorSeverity" : "warning", - "type" : "CqlToElmError" - }, { - "libraryId" : "CqlListOperatorsTest", - "libraryVersion" : "1.4.0", - "startLine" : 426, - "startChar" : 17, - "endLine" : 426, - "endChar" : 40, - "message" : "List-valued expression was demoted to a singleton.", - "errorType" : "semantic", - "errorSeverity" : "warning", - "type" : "CqlToElmError" - }, { - "libraryId" : "CqlListOperatorsTest", - "libraryVersion" : "1.4.0", - "startLine" : 430, - "startChar" : 17, - "endLine" : 430, - "endChar" : 39, - "message" : "List-valued expression was demoted to a singleton.", - "errorType" : "semantic", - "errorSeverity" : "warning", - "type" : "CqlToElmError" - }, { - "libraryId" : "CqlListOperatorsTest", - "libraryVersion" : "1.4.0", - "startLine" : 760, - "startChar" : 45, - "endLine" : 760, - "endChar" : 46, - "message" : "List-valued expression was demoted to a singleton.", - "errorType" : "semantic", - "errorSeverity" : "warning", - "type" : "CqlToElmError" - }, { - "libraryId" : "CqlListOperatorsTest", - "libraryVersion" : "1.4.0", - "startLine" : 764, - "startChar" : 45, - "endLine" : 764, - "endChar" : 47, - "message" : "List-valued expression was demoted to a singleton.", - "errorType" : "semantic", - "errorSeverity" : "warning", - "type" : "CqlToElmError" - }, { - "libraryId" : "CqlListOperatorsTest", - "libraryVersion" : "1.4.0", - "startLine" : 768, - "startChar" : 45, - "endLine" : 768, - "endChar" : 47, - "message" : "List-valued expression was demoted to a singleton.", - "errorType" : "semantic", - "errorSeverity" : "warning", - "type" : "CqlToElmError" - }, { - "libraryId" : "CqlListOperatorsTest", - "libraryVersion" : "1.4.0", - "startLine" : 772, - "startChar" : 106, - "endLine" : 772, - "endChar" : 152, - "message" : "List-valued expression was demoted to a singleton.", - "errorType" : "semantic", - "errorSeverity" : "warning", - "type" : "CqlToElmError" - }, { - "libraryId" : "CqlListOperatorsTest", - "libraryVersion" : "1.4.0", - "startLine" : 776, - "startChar" : 106, - "endLine" : 776, - "endChar" : 175, - "message" : "List-valued expression was demoted to a singleton.", - "errorType" : "semantic", - "errorSeverity" : "warning", - "type" : "CqlToElmError" - }, { - "libraryId" : "CqlListOperatorsTest", - "libraryVersion" : "1.4.0", - "startLine" : 780, - "startChar" : 86, - "endLine" : 780, - "endChar" : 119, - "message" : "List-valued expression was demoted to a singleton.", - "errorType" : "semantic", - "errorSeverity" : "warning", - "type" : "CqlToElmError" - }, { - "libraryId" : "CqlListOperatorsTest", - "libraryVersion" : "1.4.0", - "startLine" : 784, - "startChar" : 86, - "endLine" : 784, - "endChar" : 135, - "message" : "List-valued expression was demoted to a singleton.", - "errorType" : "semantic", - "errorSeverity" : "warning", - "type" : "CqlToElmError" - }, { - "libraryId" : "CqlListOperatorsTest", - "libraryVersion" : "1.4.0", - "startLine" : 803, - "startChar" : 17, - "endLine" : 803, - "endChar" : 18, - "message" : "List-valued expression was demoted to a singleton.", - "errorType" : "semantic", - "errorSeverity" : "warning", - "type" : "CqlToElmError" - }, { - "libraryId" : "CqlListOperatorsTest", - "libraryVersion" : "1.4.0", - "startLine" : 807, - "startChar" : 17, - "endLine" : 807, - "endChar" : 19, - "message" : "List-valued expression was demoted to a singleton.", - "errorType" : "semantic", - "errorSeverity" : "warning", - "type" : "CqlToElmError" - }, { - "libraryId" : "CqlListOperatorsTest", - "libraryVersion" : "1.4.0", - "startLine" : 811, - "startChar" : 17, - "endLine" : 811, - "endChar" : 19, - "message" : "List-valued expression was demoted to a singleton.", - "errorType" : "semantic", - "errorSeverity" : "warning", - "type" : "CqlToElmError" - }, { - "libraryId" : "CqlListOperatorsTest", - "libraryVersion" : "1.4.0", - "startLine" : 815, - "startChar" : 17, - "endLine" : 815, - "endChar" : 63, - "message" : "List-valued expression was demoted to a singleton.", - "errorType" : "semantic", - "errorSeverity" : "warning", - "type" : "CqlToElmError" - }, { - "libraryId" : "CqlListOperatorsTest", - "libraryVersion" : "1.4.0", - "startLine" : 819, - "startChar" : 17, - "endLine" : 819, - "endChar" : 86, - "message" : "List-valued expression was demoted to a singleton.", - "errorType" : "semantic", - "errorSeverity" : "warning", - "type" : "CqlToElmError" - }, { - "libraryId" : "CqlListOperatorsTest", - "libraryVersion" : "1.4.0", - "startLine" : 823, - "startChar" : 17, - "endLine" : 823, - "endChar" : 50, - "message" : "List-valued expression was demoted to a singleton.", - "errorType" : "semantic", - "errorSeverity" : "warning", - "type" : "CqlToElmError" - }, { - "libraryId" : "CqlListOperatorsTest", - "libraryVersion" : "1.4.0", - "startLine" : 827, - "startChar" : 17, - "endLine" : 827, - "endChar" : 66, - "message" : "List-valued expression was demoted to a singleton.", - "errorType" : "semantic", - "errorSeverity" : "warning", - "type" : "CqlToElmError" - } ], - "identifier" : { - "id" : "CqlListOperatorsTest", - "version" : "1.4.0" + "library": { + "annotation": [ + { + "type": "CqlToElmInfo", + "translatorVersion": "4.2.0", + "translatorOptions": "", + "signatureLevel": "None" }, - "schemaIdentifier" : { - "id" : "urn:hl7-org:elm", - "version" : "r1" + { + "type": "CqlToElmError", + "libraryId": "CqlListOperatorsTest", + "libraryVersion": "1.4.0", + "startLine": 357, + "startChar": 17, + "endLine": 357, + "endChar": 18, + "message": "List-valued expression was demoted to a singleton.", + "errorType": "semantic", + "errorSeverity": "warning" }, - "usings" : { - "def" : [ { - "localIdentifier" : "System", - "uri" : "urn:hl7-org:elm-types:r1", - "annotation" : [ ] - }, { - "localIdentifier" : "QUICK", - "uri" : "http://hl7.org/fhir/us/qicore", - "version" : "3.3.0", - "annotation" : [ ] - } ] + { + "type": "CqlToElmError", + "libraryId": "CqlListOperatorsTest", + "libraryVersion": "1.4.0", + "startLine": 361, + "startChar": 17, + "endLine": 361, + "endChar": 22, + "message": "List-valued expression was demoted to a singleton.", + "errorType": "semantic", + "errorSeverity": "warning" }, - "contexts" : { - "def" : [ { - "name" : "Patient", - "annotation" : [ ] - } ] + { + "type": "CqlToElmError", + "libraryId": "CqlListOperatorsTest", + "libraryVersion": "1.4.0", + "startLine": 365, + "startChar": 36, + "endLine": 365, + "endChar": 37, + "message": "List-valued expression was demoted to a singleton.", + "errorType": "semantic", + "errorSeverity": "warning" }, - "statements" : { - "def" : [ { - "name" : "Patient", - "context" : "Patient", - "annotation" : [ ], - "expression" : { - "type" : "SingletonFrom", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "dataType" : "{http://hl7.org/fhir/us/qicore}Patient", - "templateId" : "http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-patient", - "type" : "Retrieve", - "annotation" : [ ], - "include" : [ ], - "codeFilter" : [ ], - "dateFilter" : [ ], - "otherFilter" : [ ] - } + { + "type": "CqlToElmError", + "libraryId": "CqlListOperatorsTest", + "libraryVersion": "1.4.0", + "startLine": 369, + "startChar": 36, + "endLine": 369, + "endChar": 38, + "message": "List-valued expression was demoted to a singleton.", + "errorType": "semantic", + "errorSeverity": "warning" + }, + { + "type": "CqlToElmError", + "libraryId": "CqlListOperatorsTest", + "libraryVersion": "1.4.0", + "startLine": 373, + "startChar": 36, + "endLine": 373, + "endChar": 38, + "message": "List-valued expression was demoted to a singleton.", + "errorType": "semantic", + "errorSeverity": "warning" + }, + { + "type": "CqlToElmError", + "libraryId": "CqlListOperatorsTest", + "libraryVersion": "1.4.0", + "startLine": 377, + "startChar": 97, + "endLine": 377, + "endChar": 119, + "message": "List-valued expression was demoted to a singleton.", + "errorType": "semantic", + "errorSeverity": "warning" + }, + { + "type": "CqlToElmError", + "libraryId": "CqlListOperatorsTest", + "libraryVersion": "1.4.0", + "startLine": 381, + "startChar": 97, + "endLine": 381, + "endChar": 119, + "message": "List-valued expression was demoted to a singleton.", + "errorType": "semantic", + "errorSeverity": "warning" + }, + { + "type": "CqlToElmError", + "libraryId": "CqlListOperatorsTest", + "libraryVersion": "1.4.0", + "startLine": 414, + "startChar": 17, + "endLine": 414, + "endChar": 18, + "message": "List-valued expression was demoted to a singleton.", + "errorType": "semantic", + "errorSeverity": "warning" + }, + { + "type": "CqlToElmError", + "libraryId": "CqlListOperatorsTest", + "libraryVersion": "1.4.0", + "startLine": 418, + "startChar": 17, + "endLine": 418, + "endChar": 21, + "message": "List-valued expression was demoted to a singleton.", + "errorType": "semantic", + "errorSeverity": "warning" + }, + { + "type": "CqlToElmError", + "libraryId": "CqlListOperatorsTest", + "libraryVersion": "1.4.0", + "startLine": 422, + "startChar": 17, + "endLine": 422, + "endChar": 21, + "message": "List-valued expression was demoted to a singleton.", + "errorType": "semantic", + "errorSeverity": "warning" + }, + { + "type": "CqlToElmError", + "libraryId": "CqlListOperatorsTest", + "libraryVersion": "1.4.0", + "startLine": 426, + "startChar": 17, + "endLine": 426, + "endChar": 40, + "message": "List-valued expression was demoted to a singleton.", + "errorType": "semantic", + "errorSeverity": "warning" + }, + { + "type": "CqlToElmError", + "libraryId": "CqlListOperatorsTest", + "libraryVersion": "1.4.0", + "startLine": 430, + "startChar": 17, + "endLine": 430, + "endChar": 39, + "message": "List-valued expression was demoted to a singleton.", + "errorType": "semantic", + "errorSeverity": "warning" + }, + { + "type": "CqlToElmError", + "libraryId": "CqlListOperatorsTest", + "libraryVersion": "1.4.0", + "startLine": 760, + "startChar": 45, + "endLine": 760, + "endChar": 46, + "message": "List-valued expression was demoted to a singleton.", + "errorType": "semantic", + "errorSeverity": "warning" + }, + { + "type": "CqlToElmError", + "libraryId": "CqlListOperatorsTest", + "libraryVersion": "1.4.0", + "startLine": 764, + "startChar": 45, + "endLine": 764, + "endChar": 47, + "message": "List-valued expression was demoted to a singleton.", + "errorType": "semantic", + "errorSeverity": "warning" + }, + { + "type": "CqlToElmError", + "libraryId": "CqlListOperatorsTest", + "libraryVersion": "1.4.0", + "startLine": 768, + "startChar": 45, + "endLine": 768, + "endChar": 47, + "message": "List-valued expression was demoted to a singleton.", + "errorType": "semantic", + "errorSeverity": "warning" + }, + { + "type": "CqlToElmError", + "libraryId": "CqlListOperatorsTest", + "libraryVersion": "1.4.0", + "startLine": 772, + "startChar": 106, + "endLine": 772, + "endChar": 152, + "message": "List-valued expression was demoted to a singleton.", + "errorType": "semantic", + "errorSeverity": "warning" + }, + { + "type": "CqlToElmError", + "libraryId": "CqlListOperatorsTest", + "libraryVersion": "1.4.0", + "startLine": 776, + "startChar": 106, + "endLine": 776, + "endChar": 175, + "message": "List-valued expression was demoted to a singleton.", + "errorType": "semantic", + "errorSeverity": "warning" + }, + { + "type": "CqlToElmError", + "libraryId": "CqlListOperatorsTest", + "libraryVersion": "1.4.0", + "startLine": 780, + "startChar": 86, + "endLine": 780, + "endChar": 119, + "message": "List-valued expression was demoted to a singleton.", + "errorType": "semantic", + "errorSeverity": "warning" + }, + { + "type": "CqlToElmError", + "libraryId": "CqlListOperatorsTest", + "libraryVersion": "1.4.0", + "startLine": 784, + "startChar": 86, + "endLine": 784, + "endChar": 135, + "message": "List-valued expression was demoted to a singleton.", + "errorType": "semantic", + "errorSeverity": "warning" + }, + { + "type": "CqlToElmError", + "libraryId": "CqlListOperatorsTest", + "libraryVersion": "1.4.0", + "startLine": 803, + "startChar": 17, + "endLine": 803, + "endChar": 18, + "message": "List-valued expression was demoted to a singleton.", + "errorType": "semantic", + "errorSeverity": "warning" + }, + { + "type": "CqlToElmError", + "libraryId": "CqlListOperatorsTest", + "libraryVersion": "1.4.0", + "startLine": 807, + "startChar": 17, + "endLine": 807, + "endChar": 19, + "message": "List-valued expression was demoted to a singleton.", + "errorType": "semantic", + "errorSeverity": "warning" + }, + { + "type": "CqlToElmError", + "libraryId": "CqlListOperatorsTest", + "libraryVersion": "1.4.0", + "startLine": 811, + "startChar": 17, + "endLine": 811, + "endChar": 19, + "message": "List-valued expression was demoted to a singleton.", + "errorType": "semantic", + "errorSeverity": "warning" + }, + { + "type": "CqlToElmError", + "libraryId": "CqlListOperatorsTest", + "libraryVersion": "1.4.0", + "startLine": 815, + "startChar": 17, + "endLine": 815, + "endChar": 63, + "message": "List-valued expression was demoted to a singleton.", + "errorType": "semantic", + "errorSeverity": "warning" + }, + { + "type": "CqlToElmError", + "libraryId": "CqlListOperatorsTest", + "libraryVersion": "1.4.0", + "startLine": 819, + "startChar": 17, + "endLine": 819, + "endChar": 86, + "message": "List-valued expression was demoted to a singleton.", + "errorType": "semantic", + "errorSeverity": "warning" + }, + { + "type": "CqlToElmError", + "libraryId": "CqlListOperatorsTest", + "libraryVersion": "1.4.0", + "startLine": 823, + "startChar": 17, + "endLine": 823, + "endChar": 50, + "message": "List-valued expression was demoted to a singleton.", + "errorType": "semantic", + "errorSeverity": "warning" + }, + { + "type": "CqlToElmError", + "libraryId": "CqlListOperatorsTest", + "libraryVersion": "1.4.0", + "startLine": 827, + "startChar": 17, + "endLine": 827, + "endChar": 66, + "message": "List-valued expression was demoted to a singleton.", + "errorType": "semantic", + "errorSeverity": "warning" + } + ], + "identifier": { + "id": "CqlListOperatorsTest", + "version": "1.4.0" + }, + "schemaIdentifier": { + "id": "urn:hl7-org:elm", + "version": "r1" + }, + "usings": { + "def": [ + { + "localIdentifier": "System", + "uri": "urn:hl7-org:elm-types:r1", + "annotation": [] + }, + { + "localIdentifier": "QUICK", + "uri": "http://hl7.org/fhir/us/qicore", + "version": "3.3.0", + "annotation": [] + } + ] + }, + "contexts": { + "def": [ + { + "name": "Patient", + "annotation": [] + } + ] + }, + "statements": { + "def": [ + { + "name": "Patient", + "context": "Patient", + "annotation": [], + "expression": { + "type": "SingletonFrom", + "annotation": [], + "signature": [], + "operand": { + "type": "Retrieve", + "dataType": "{http://hl7.org/fhir/us/qicore}Patient", + "templateId": "http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-patient", + "annotation": [], + "include": [], + "codeFilter": [], + "dateFilter": [], + "otherFilter": [] } - }, { - "name" : "Sort", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ ], - "expression" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "simpleSortAsc", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "skipped", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "Wrong output: Queries return distinct lists by default; need to use \"all\" to retain duplicates", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "simpleSortDesc", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "skipped", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "Wrong output: Queries return distinct lists by default; need to use \"all\" to retain duplicates", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "simpleSortStringAsc", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Query", - "annotation" : [ ], - "source" : [ { - "alias" : "sls", - "annotation" : [ ], - "expression" : { - "type" : "List", - "annotation" : [ ], - "element" : [ { - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "back", - "type" : "Literal", - "annotation" : [ ] - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "aardvark", - "type" : "Literal", - "annotation" : [ ] - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "alligator", - "type" : "Literal", - "annotation" : [ ] - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "zebra", - "type" : "Literal", - "annotation" : [ ] - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "iguana", - "type" : "Literal", - "annotation" : [ ] - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "Wolf", - "type" : "Literal", - "annotation" : [ ] - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "Armadillo", - "type" : "Literal", - "annotation" : [ ] - } ] + } + }, + { + "name": "Sort", + "context": "Patient", + "accessLevel": "Public", + "annotation": [], + "expression": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "simpleSortAsc", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "skipped", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}String", + "value": "Wrong output: Queries return distinct lists by default; need to use \"all\" to retain duplicates", + "annotation": [] + } + } + ] + } + }, + { + "name": "simpleSortDesc", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "skipped", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}String", + "value": "Wrong output: Queries return distinct lists by default; need to use \"all\" to retain duplicates", + "annotation": [] + } + } + ] + } + }, + { + "name": "simpleSortStringAsc", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Query", + "annotation": [], + "source": [ + { + "alias": "sls", + "annotation": [], + "expression": { + "type": "List", + "annotation": [], + "element": [ + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}String", + "value": "back", + "annotation": [] + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}String", + "value": "aardvark", + "annotation": [] + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}String", + "value": "alligator", + "annotation": [] + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}String", + "value": "zebra", + "annotation": [] + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}String", + "value": "iguana", + "annotation": [] + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}String", + "value": "Wolf", + "annotation": [] + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}String", + "value": "Armadillo", + "annotation": [] + } + ] + } + } + ], + "let": [], + "relationship": [], + "sort": { + "annotation": [], + "by": [ + { + "type": "ByDirection", + "direction": "asc", + "annotation": [] + } + ] + } + } + }, + { + "name": "output", + "value": { + "type": "List", + "annotation": [], + "element": [ + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}String", + "value": "Armadillo", + "annotation": [] + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}String", + "value": "Wolf", + "annotation": [] + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}String", + "value": "aardvark", + "annotation": [] + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}String", + "value": "alligator", + "annotation": [] + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}String", + "value": "back", + "annotation": [] + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}String", + "value": "iguana", + "annotation": [] + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}String", + "value": "zebra", + "annotation": [] + } + ] + } + } + ] + } + }, + { + "name": "simpleSortStringDesc", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Query", + "annotation": [], + "source": [ + { + "alias": "sls", + "annotation": [], + "expression": { + "type": "List", + "annotation": [], + "element": [ + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}String", + "value": "back", + "annotation": [] + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}String", + "value": "aardvark", + "annotation": [] + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}String", + "value": "alligator", + "annotation": [] + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}String", + "value": "zebra", + "annotation": [] + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}String", + "value": "iguana", + "annotation": [] + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}String", + "value": "Wolf", + "annotation": [] + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}String", + "value": "Armadillo", + "annotation": [] + } + ] + } + } + ], + "let": [], + "relationship": [], + "sort": { + "annotation": [], + "by": [ + { + "type": "ByDirection", + "direction": "desc", + "annotation": [] + } + ] + } + } + }, + { + "name": "output", + "value": { + "type": "List", + "annotation": [], + "element": [ + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}String", + "value": "zebra", + "annotation": [] + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}String", + "value": "iguana", + "annotation": [] + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}String", + "value": "back", + "annotation": [] + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}String", + "value": "alligator", + "annotation": [] + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}String", + "value": "aardvark", + "annotation": [] + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}String", + "value": "Wolf", + "annotation": [] + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}String", + "value": "Armadillo", + "annotation": [] + } + ] + } + } + ] + } + }, + { + "name": "SortDatesAsc", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Query", + "annotation": [], + "source": [ + { + "alias": "S", + "annotation": [], + "expression": { + "type": "List", + "annotation": [], + "element": [ + { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2012", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "5", + "annotation": [] + }, + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + } + }, + { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2012", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + } + }, + { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2012", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + }, + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "12", + "annotation": [] + } + }, + { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2012", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "5", + "annotation": [] + } + } + ] + } + } + ], + "let": [], + "relationship": [], + "sort": { + "annotation": [], + "by": [ + { + "type": "ByDirection", + "direction": "asc", + "annotation": [] + } + ] + } + } + }, + { + "name": "output", + "value": { + "type": "List", + "annotation": [], + "element": [ + { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2012", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + } + }, + { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2012", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + }, + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "12", + "annotation": [] + } + }, + { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2012", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "5", + "annotation": [] + } + }, + { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2012", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "5", + "annotation": [] + }, + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + } + } + ] + } + } + ] + } + }, + { + "name": "SortDatesDesc", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Query", + "annotation": [], + "source": [ + { + "alias": "S", + "annotation": [], + "expression": { + "type": "List", + "annotation": [], + "element": [ + { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2012", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "5", + "annotation": [] + }, + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + } + }, + { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2012", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + } + }, + { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2012", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + }, + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "12", + "annotation": [] + } + }, + { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2012", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "5", + "annotation": [] + } + } + ] + } + } + ], + "let": [], + "relationship": [], + "sort": { + "annotation": [], + "by": [ + { + "type": "ByDirection", + "direction": "desc", + "annotation": [] + } + ] + } + } + }, + { + "name": "output", + "value": { + "type": "List", + "annotation": [], + "element": [ + { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2012", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "5", + "annotation": [] + }, + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + } + }, + { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2012", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "5", + "annotation": [] + } + }, + { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2012", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + }, + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "12", + "annotation": [] + } + }, + { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2012", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + } + } + ] + } + } + ] + } + }, + { + "name": "intList", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "List", + "annotation": [], + "element": [ + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "3", + "annotation": [] + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2", + "annotation": [] + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + } + ] + } + }, + { + "name": "output", + "value": { + "type": "List", + "annotation": [], + "element": [ + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "3", + "annotation": [] + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2", + "annotation": [] + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + } + ] + } + } + ] + } + }, + { + "name": "decimalList", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "List", + "annotation": [], + "element": [ + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "3.8", + "annotation": [] + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "2.4", + "annotation": [] + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "1.9", + "annotation": [] + } + ] + } + }, + { + "name": "output", + "value": { + "type": "List", + "annotation": [], + "element": [ + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "3.8", + "annotation": [] + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "2.4", + "annotation": [] + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "1.9", + "annotation": [] + } + ] + } + } + ] + } + }, + { + "name": "quantityList", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "List", + "annotation": [], + "element": [ + { + "type": "Quantity", + "value": 19.99, + "unit": "[lb_av]", + "annotation": [] + }, + { + "type": "Quantity", + "value": 17.33, + "unit": "[lb_av]", + "annotation": [] + }, + { + "type": "Quantity", + "value": 10.66, + "unit": "[lb_av]", + "annotation": [] + } + ] + } + }, + { + "name": "output", + "value": { + "type": "List", + "annotation": [], + "element": [ + { + "type": "Quantity", + "value": 19.99, + "unit": "[lb_av]", + "annotation": [] + }, + { + "type": "Quantity", + "value": 17.33, + "unit": "[lb_av]", + "annotation": [] + }, + { + "type": "Quantity", + "value": 10.66, + "unit": "[lb_av]", + "annotation": [] + } + ] + } + } + ] + } + }, + { + "name": "dateTimeList", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "List", + "annotation": [], + "element": [ + { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2016", + "annotation": [] + } + }, + { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2015", + "annotation": [] + } + }, + { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2010", + "annotation": [] + } + } + ] + } + }, + { + "name": "output", + "value": { + "type": "List", + "annotation": [], + "element": [ + { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2016", + "annotation": [] + } + }, + { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2015", + "annotation": [] + } + }, + { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2010", + "annotation": [] + } + } + ] + } + } + ] + } + }, + { + "name": "timeList", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "List", + "annotation": [], + "element": [ + { + "type": "Time", + "annotation": [], + "signature": [], + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "15", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "999", + "annotation": [] + } + }, + { + "type": "Time", + "annotation": [], + "signature": [], + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "15", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "12", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "999", + "annotation": [] + } + }, + { + "type": "Time", + "annotation": [], + "signature": [], + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "15", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "12", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "13", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "999", + "annotation": [] + } + } + ] + } + }, + { + "name": "output", + "value": { + "type": "List", + "annotation": [], + "element": [ + { + "type": "Time", + "annotation": [], + "signature": [], + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "15", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "999", + "annotation": [] + } + }, + { + "type": "Time", + "annotation": [], + "signature": [], + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "15", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "12", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "999", + "annotation": [] + } + }, + { + "type": "Time", + "annotation": [], + "signature": [], + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "15", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "12", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "13", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "999", + "annotation": [] + } + } + ] + } + } + ] + } + } + ] + } + }, + { + "name": "Contains", + "context": "Patient", + "accessLevel": "Public", + "annotation": [], + "expression": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "ContainsABNullHasNull", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Contains", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "List", + "annotation": [], + "element": [ + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}String", + "value": "a", + "annotation": [] + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}String", + "value": "b", + "annotation": [] + }, + { + "type": "As", + "asType": "{urn:hl7-org:elm-types:r1}String", + "annotation": [], + "signature": [], + "operand": { + "type": "Null", + "annotation": [] + } } - } ], - "let" : [ ], - "relationship" : [ ], - "sort" : { - "annotation" : [ ], - "by" : [ { - "direction" : "asc", - "type" : "ByDirection", - "annotation" : [ ] - } ] - } - } - }, { - "name" : "output", - "value" : { - "type" : "List", - "annotation" : [ ], - "element" : [ { - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "Armadillo", - "type" : "Literal", - "annotation" : [ ] - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "Wolf", - "type" : "Literal", - "annotation" : [ ] - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "aardvark", - "type" : "Literal", - "annotation" : [ ] - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "alligator", - "type" : "Literal", - "annotation" : [ ] - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "back", - "type" : "Literal", - "annotation" : [ ] - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "iguana", - "type" : "Literal", - "annotation" : [ ] - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "zebra", - "type" : "Literal", - "annotation" : [ ] - } ] - } - } ] - } - }, { - "name" : "simpleSortStringDesc", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Query", - "annotation" : [ ], - "source" : [ { - "alias" : "sls", - "annotation" : [ ], - "expression" : { - "type" : "List", - "annotation" : [ ], - "element" : [ { - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "back", - "type" : "Literal", - "annotation" : [ ] - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "aardvark", - "type" : "Literal", - "annotation" : [ ] - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "alligator", - "type" : "Literal", - "annotation" : [ ] - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "zebra", - "type" : "Literal", - "annotation" : [ ] - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "iguana", - "type" : "Literal", - "annotation" : [ ] - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "Wolf", - "type" : "Literal", - "annotation" : [ ] - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "Armadillo", - "type" : "Literal", - "annotation" : [ ] - } ] + ] + }, + { + "type": "As", + "asType": "{urn:hl7-org:elm-types:r1}String", + "annotation": [], + "signature": [], + "operand": { + "type": "Null", + "annotation": [] + } + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "true", + "annotation": [] + } + } + ] + } + }, + { + "name": "ContainsNullFirst", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Contains", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "List", + "annotation": [], + "element": [ + { + "type": "As", + "asType": "{urn:hl7-org:elm-types:r1}String", + "annotation": [], + "signature": [], + "operand": { + "type": "Null", + "annotation": [] + } + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}String", + "value": "b", + "annotation": [] + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}String", + "value": "c", + "annotation": [] } - } ], - "let" : [ ], - "relationship" : [ ], - "sort" : { - "annotation" : [ ], - "by" : [ { - "direction" : "desc", - "type" : "ByDirection", - "annotation" : [ ] - } ] - } - } - }, { - "name" : "output", - "value" : { - "type" : "List", - "annotation" : [ ], - "element" : [ { - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "zebra", - "type" : "Literal", - "annotation" : [ ] - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "iguana", - "type" : "Literal", - "annotation" : [ ] - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "back", - "type" : "Literal", - "annotation" : [ ] - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "alligator", - "type" : "Literal", - "annotation" : [ ] - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "aardvark", - "type" : "Literal", - "annotation" : [ ] - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "Wolf", - "type" : "Literal", - "annotation" : [ ] - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "Armadillo", - "type" : "Literal", - "annotation" : [ ] - } ] - } - } ] - } - }, { - "name" : "SortDatesAsc", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Query", - "annotation" : [ ], - "source" : [ { - "alias" : "S", - "annotation" : [ ], - "expression" : { - "type" : "List", - "annotation" : [ ], - "element" : [ { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal", - "annotation" : [ ] - }, - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - }, - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "12", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal", - "annotation" : [ ] - } - } ] + ] + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}String", + "value": "a", + "annotation": [] + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "false", + "annotation": [] + } + } + ] + } + }, + { + "name": "ContainsABCHasA", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Contains", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "List", + "annotation": [], + "element": [ + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}String", + "value": "a", + "annotation": [] + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}String", + "value": "b", + "annotation": [] + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}String", + "value": "c", + "annotation": [] } - } ], - "let" : [ ], - "relationship" : [ ], - "sort" : { - "annotation" : [ ], - "by" : [ { - "direction" : "asc", - "type" : "ByDirection", - "annotation" : [ ] - } ] - } - } - }, { - "name" : "output", - "value" : { - "type" : "List", - "annotation" : [ ], - "element" : [ { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] + ] + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}String", + "value": "a", + "annotation": [] + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "true", + "annotation": [] + } + } + ] + } + }, + { + "name": "ContainsJan2012True", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Contains", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "List", + "annotation": [], + "element": [ + { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2012", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "5", + "annotation": [] + } + }, + { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2012", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "9", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "5", + "annotation": [] + } + }, + { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2012", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + } } - }, { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - }, - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "12", - "type" : "Literal", - "annotation" : [ ] + ] + }, + { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2012", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + } + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "true", + "annotation": [] + } + } + ] + } + }, + { + "name": "ContainsJan2012False", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Contains", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "List", + "annotation": [], + "element": [ + { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2012", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "5", + "annotation": [] + } + }, + { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2012", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "9", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "5", + "annotation": [] + } + }, + { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2012", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + } } - }, { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal", - "annotation" : [ ] + ] + }, + { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2012", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + } + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "false", + "annotation": [] + } + } + ] + } + }, + { + "name": "ContainsTimeTrue", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Contains", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "List", + "annotation": [], + "element": [ + { + "type": "Time", + "annotation": [], + "signature": [], + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "15", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "999", + "annotation": [] + } + }, + { + "type": "Time", + "annotation": [], + "signature": [], + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "5", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "999", + "annotation": [] + } + }, + { + "type": "Time", + "annotation": [], + "signature": [], + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "20", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "999", + "annotation": [] + } } - }, { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal", - "annotation" : [ ] - }, - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] + ] + }, + { + "type": "Time", + "annotation": [], + "signature": [], + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "5", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "999", + "annotation": [] + } + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "true", + "annotation": [] + } + } + ] + } + }, + { + "name": "ContainsTimeFalse", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Contains", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "List", + "annotation": [], + "element": [ + { + "type": "Time", + "annotation": [], + "signature": [], + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "15", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "999", + "annotation": [] + } + }, + { + "type": "Time", + "annotation": [], + "signature": [], + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "5", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "999", + "annotation": [] + } + }, + { + "type": "Time", + "annotation": [], + "signature": [], + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "20", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "999", + "annotation": [] + } } - } ] - } - } ] - } - }, { - "name" : "SortDatesDesc", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Query", - "annotation" : [ ], - "source" : [ { - "alias" : "S", - "annotation" : [ ], - "expression" : { - "type" : "List", - "annotation" : [ ], - "element" : [ { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal", - "annotation" : [ ] - }, - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - }, - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "12", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal", - "annotation" : [ ] - } - } ] + ] + }, + { + "type": "Time", + "annotation": [], + "signature": [], + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "8", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "999", + "annotation": [] + } + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "false", + "annotation": [] + } + } + ] + } + }, + { + "name": "ContainsNullLeft", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Contains", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "As", + "annotation": [], + "signature": [], + "operand": { + "type": "Null", + "annotation": [] + }, + "asTypeSpecifier": { + "type": "ListTypeSpecifier", + "annotation": [], + "elementType": { + "type": "NamedTypeSpecifier", + "name": "{urn:hl7-org:elm-types:r1}String", + "annotation": [] } - } ], - "let" : [ ], - "relationship" : [ ], - "sort" : { - "annotation" : [ ], - "by" : [ { - "direction" : "desc", - "type" : "ByDirection", - "annotation" : [ ] - } ] - } - } - }, { - "name" : "output", - "value" : { - "type" : "List", - "annotation" : [ ], - "element" : [ { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal", - "annotation" : [ ] - }, - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] + } + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}String", + "value": "a", + "annotation": [] + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "false", + "annotation": [] + } + } + ] + } + } + ] + } + }, + { + "name": "Descendents", + "context": "Patient", + "accessLevel": "Public", + "annotation": [], + "expression": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "DescendentsEmptyList", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "skipped", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}String", + "value": "Descendents not implemented", + "annotation": [] + } + } + ] + } + } + ] + } + }, + { + "name": "Distinct", + "context": "Patient", + "accessLevel": "Public", + "annotation": [], + "expression": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "DistinctEmptyList", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Distinct", + "annotation": [], + "signature": [], + "operand": { + "type": "List", + "annotation": [], + "element": [] + } + } + }, + { + "name": "output", + "value": { + "type": "List", + "annotation": [], + "element": [] + } + } + ] + } + }, + { + "name": "DistinctNullNullNull", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Distinct", + "annotation": [], + "signature": [], + "operand": { + "type": "List", + "annotation": [], + "element": [ + { + "type": "Null", + "annotation": [] + }, + { + "type": "Null", + "annotation": [] + }, + { + "type": "Null", + "annotation": [] + } + ] + } + } + }, + { + "name": "output", + "value": { + "type": "List", + "annotation": [], + "element": [ + { + "type": "Null", + "annotation": [] + } + ] + } + } + ] + } + }, + { + "name": "DistinctANullANull", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Distinct", + "annotation": [], + "signature": [], + "operand": { + "type": "List", + "annotation": [], + "element": [ + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}String", + "value": "a", + "annotation": [] + }, + { + "type": "As", + "asType": "{urn:hl7-org:elm-types:r1}String", + "annotation": [], + "signature": [], + "operand": { + "type": "Null", + "annotation": [] } - }, { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal", - "annotation" : [ ] + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}String", + "value": "a", + "annotation": [] + }, + { + "type": "As", + "asType": "{urn:hl7-org:elm-types:r1}String", + "annotation": [], + "signature": [], + "operand": { + "type": "Null", + "annotation": [] } - }, { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - }, - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "12", - "type" : "Literal", - "annotation" : [ ] + } + ] + } + } + }, + { + "name": "output", + "value": { + "type": "List", + "annotation": [], + "element": [ + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}String", + "value": "a", + "annotation": [] + }, + { + "type": "As", + "asType": "{urn:hl7-org:elm-types:r1}String", + "annotation": [], + "signature": [], + "operand": { + "type": "Null", + "annotation": [] + } + } + ] + } + } + ] + } + }, + { + "name": "Distinct112233", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Distinct", + "annotation": [], + "signature": [], + "operand": { + "type": "List", + "annotation": [], + "element": [ + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2", + "annotation": [] + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2", + "annotation": [] + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "3", + "annotation": [] + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "3", + "annotation": [] + } + ] + } + } + }, + { + "name": "output", + "value": { + "type": "List", + "annotation": [], + "element": [ + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2", + "annotation": [] + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "3", + "annotation": [] + } + ] + } + } + ] + } + }, + { + "name": "Distinct123123", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Distinct", + "annotation": [], + "signature": [], + "operand": { + "type": "List", + "annotation": [], + "element": [ + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2", + "annotation": [] + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "3", + "annotation": [] + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2", + "annotation": [] + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "3", + "annotation": [] + } + ] + } + } + }, + { + "name": "output", + "value": { + "type": "List", + "annotation": [], + "element": [ + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2", + "annotation": [] + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "3", + "annotation": [] + } + ] + } + } + ] + } + }, + { + "name": "DistinctAABBCC", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Distinct", + "annotation": [], + "signature": [], + "operand": { + "type": "List", + "annotation": [], + "element": [ + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}String", + "value": "a", + "annotation": [] + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}String", + "value": "a", + "annotation": [] + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}String", + "value": "b", + "annotation": [] + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}String", + "value": "b", + "annotation": [] + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}String", + "value": "c", + "annotation": [] + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}String", + "value": "c", + "annotation": [] + } + ] + } + } + }, + { + "name": "output", + "value": { + "type": "List", + "annotation": [], + "element": [ + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}String", + "value": "a", + "annotation": [] + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}String", + "value": "b", + "annotation": [] + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}String", + "value": "c", + "annotation": [] + } + ] + } + } + ] + } + }, + { + "name": "DistinctABCABC", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Distinct", + "annotation": [], + "signature": [], + "operand": { + "type": "List", + "annotation": [], + "element": [ + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}String", + "value": "a", + "annotation": [] + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}String", + "value": "b", + "annotation": [] + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}String", + "value": "c", + "annotation": [] + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}String", + "value": "a", + "annotation": [] + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}String", + "value": "b", + "annotation": [] + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}String", + "value": "c", + "annotation": [] + } + ] + } + } + }, + { + "name": "output", + "value": { + "type": "List", + "annotation": [], + "element": [ + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}String", + "value": "a", + "annotation": [] + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}String", + "value": "b", + "annotation": [] + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}String", + "value": "c", + "annotation": [] + } + ] + } + } + ] + } + }, + { + "name": "DistinctDateTime", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Distinct", + "annotation": [], + "signature": [], + "operand": { + "type": "List", + "annotation": [], + "element": [ + { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2012", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "5", + "annotation": [] } - }, { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] + }, + { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2012", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] } - } ] - } - } ] - } - }, { - "name" : "intList", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "List", - "annotation" : [ ], - "element" : [ { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal", - "annotation" : [ ] - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal", - "annotation" : [ ] - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - } ] - } - }, { - "name" : "output", - "value" : { - "type" : "List", - "annotation" : [ ], - "element" : [ { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal", - "annotation" : [ ] - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal", - "annotation" : [ ] - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - } ] - } - } ] - } - }, { - "name" : "decimalList", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "List", - "annotation" : [ ], - "element" : [ { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "3.8", - "type" : "Literal", - "annotation" : [ ] - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "2.4", - "type" : "Literal", - "annotation" : [ ] - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "1.9", - "type" : "Literal", - "annotation" : [ ] - } ] - } - }, { - "name" : "output", - "value" : { - "type" : "List", - "annotation" : [ ], - "element" : [ { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "3.8", - "type" : "Literal", - "annotation" : [ ] - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "2.4", - "type" : "Literal", - "annotation" : [ ] - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "1.9", - "type" : "Literal", - "annotation" : [ ] - } ] - } - } ] - } - }, { - "name" : "quantityList", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "List", - "annotation" : [ ], - "element" : [ { - "value" : 19.99, - "unit" : "[lb_av]", - "type" : "Quantity", - "annotation" : [ ] - }, { - "value" : 17.33, - "unit" : "[lb_av]", - "type" : "Quantity", - "annotation" : [ ] - }, { - "value" : 10.66, - "unit" : "[lb_av]", - "type" : "Quantity", - "annotation" : [ ] - } ] - } - }, { - "name" : "output", - "value" : { - "type" : "List", - "annotation" : [ ], - "element" : [ { - "value" : 19.99, - "unit" : "[lb_av]", - "type" : "Quantity", - "annotation" : [ ] - }, { - "value" : 17.33, - "unit" : "[lb_av]", - "type" : "Quantity", - "annotation" : [ ] - }, { - "value" : 10.66, - "unit" : "[lb_av]", - "type" : "Quantity", - "annotation" : [ ] - } ] - } - } ] - } - }, { - "name" : "dateTimeList", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "List", - "annotation" : [ ], - "element" : [ { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2016", - "type" : "Literal", - "annotation" : [ ] + }, + { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2012", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] } - }, { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2015", - "type" : "Literal", - "annotation" : [ ] + } + ] + } + } + }, + { + "name": "output", + "value": { + "type": "List", + "annotation": [], + "element": [ + { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2012", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "5", + "annotation": [] + } + }, + { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2012", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + } + } + ] + } + } + ] + } + }, + { + "name": "DistinctTime", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Distinct", + "annotation": [], + "signature": [], + "operand": { + "type": "List", + "annotation": [], + "element": [ + { + "type": "Time", + "annotation": [], + "signature": [], + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "15", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "999", + "annotation": [] } - }, { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2010", - "type" : "Literal", - "annotation" : [ ] + }, + { + "type": "Time", + "annotation": [], + "signature": [], + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "20", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "999", + "annotation": [] } - } ] - } - }, { - "name" : "output", - "value" : { - "type" : "List", - "annotation" : [ ], - "element" : [ { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2016", - "type" : "Literal", - "annotation" : [ ] + } + ] + } + } + }, + { + "name": "output", + "value": { + "type": "List", + "annotation": [], + "element": [ + { + "type": "Time", + "annotation": [], + "signature": [], + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "15", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "999", + "annotation": [] + } + }, + { + "type": "Time", + "annotation": [], + "signature": [], + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "20", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "999", + "annotation": [] + } + } + ] + } + } + ] + } + } + ] + } + }, + { + "name": "Equal", + "context": "Patient", + "accessLevel": "Public", + "annotation": [], + "expression": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "EqualNullNull", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "skipped", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}String", + "value": "Wrong output: According to spec, if either list contains a null, the result is null", + "annotation": [] + } + } + ] + } + }, + { + "name": "EqualEmptyListNull", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Equal", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "As", + "strict": false, + "annotation": [], + "signature": [], + "operand": { + "type": "List", + "annotation": [], + "element": [] + }, + "asTypeSpecifier": { + "type": "ListTypeSpecifier", + "annotation": [], + "elementType": { + "type": "NamedTypeSpecifier", + "name": "{urn:hl7-org:elm-types:r1}String", + "annotation": [] } - }, { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2015", - "type" : "Literal", - "annotation" : [ ] + } + }, + { + "type": "As", + "annotation": [], + "signature": [], + "operand": { + "type": "Null", + "annotation": [] + }, + "asTypeSpecifier": { + "type": "ListTypeSpecifier", + "annotation": [], + "elementType": { + "type": "NamedTypeSpecifier", + "name": "{urn:hl7-org:elm-types:r1}String", + "annotation": [] } - }, { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2010", - "type" : "Literal", - "annotation" : [ ] + } + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Null", + "annotation": [] + } + } + ] + } + }, + { + "name": "EqualNullEmptyList", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Equal", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "As", + "annotation": [], + "signature": [], + "operand": { + "type": "Null", + "annotation": [] + }, + "asTypeSpecifier": { + "type": "ListTypeSpecifier", + "annotation": [], + "elementType": { + "type": "NamedTypeSpecifier", + "name": "{urn:hl7-org:elm-types:r1}String", + "annotation": [] } - } ] - } - } ] - } - }, { - "name" : "timeList", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "List", - "annotation" : [ ], - "element" : [ { - "type" : "Time", - "annotation" : [ ], - "signature" : [ ], - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "999", - "type" : "Literal", - "annotation" : [ ] + } + }, + { + "type": "As", + "strict": false, + "annotation": [], + "signature": [], + "operand": { + "type": "List", + "annotation": [], + "element": [] + }, + "asTypeSpecifier": { + "type": "ListTypeSpecifier", + "annotation": [], + "elementType": { + "type": "NamedTypeSpecifier", + "name": "{urn:hl7-org:elm-types:r1}String", + "annotation": [] } - }, { - "type" : "Time", - "annotation" : [ ], - "signature" : [ ], - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "12", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "999", - "type" : "Literal", - "annotation" : [ ] + } + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Null", + "annotation": [] + } + } + ] + } + }, + { + "name": "EqualEmptyListAndEmptyList", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Equal", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "List", + "annotation": [], + "element": [] + }, + { + "type": "List", + "annotation": [], + "element": [] + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "true", + "annotation": [] + } + } + ] + } + }, + { + "name": "EqualABCAndABC", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Equal", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "List", + "annotation": [], + "element": [ + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}String", + "value": "a", + "annotation": [] + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}String", + "value": "b", + "annotation": [] + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}String", + "value": "c", + "annotation": [] } - }, { - "type" : "Time", - "annotation" : [ ], - "signature" : [ ], - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "12", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "13", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "999", - "type" : "Literal", - "annotation" : [ ] + ] + }, + { + "type": "List", + "annotation": [], + "element": [ + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}String", + "value": "a", + "annotation": [] + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}String", + "value": "b", + "annotation": [] + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}String", + "value": "c", + "annotation": [] } - } ] - } - }, { - "name" : "output", - "value" : { - "type" : "List", - "annotation" : [ ], - "element" : [ { - "type" : "Time", - "annotation" : [ ], - "signature" : [ ], - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "999", - "type" : "Literal", - "annotation" : [ ] + ] + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "true", + "annotation": [] + } + } + ] + } + }, + { + "name": "EqualABCAndAB", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Equal", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "List", + "annotation": [], + "element": [ + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}String", + "value": "a", + "annotation": [] + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}String", + "value": "b", + "annotation": [] + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}String", + "value": "c", + "annotation": [] } - }, { - "type" : "Time", - "annotation" : [ ], - "signature" : [ ], - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "12", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "999", - "type" : "Literal", - "annotation" : [ ] + ] + }, + { + "type": "List", + "annotation": [], + "element": [ + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}String", + "value": "a", + "annotation": [] + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}String", + "value": "b", + "annotation": [] } - }, { - "type" : "Time", - "annotation" : [ ], - "signature" : [ ], - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "12", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "13", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "999", - "type" : "Literal", - "annotation" : [ ] + ] + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "false", + "annotation": [] + } + } + ] + } + }, + { + "name": "EqualABCAnd123", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Equal", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "List", + "annotation": [], + "element": [ + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}String", + "value": "a", + "annotation": [] + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}String", + "value": "b", + "annotation": [] + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}String", + "value": "c", + "annotation": [] } - } ] - } - } ] - } - } ] - } - }, { - "name" : "Contains", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ ], - "expression" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "ContainsABNullHasNull", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Contains", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "type" : "List", - "annotation" : [ ], - "element" : [ { - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "a", - "type" : "Literal", - "annotation" : [ ] - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "b", - "type" : "Literal", - "annotation" : [ ] - }, { - "asType" : "{urn:hl7-org:elm-types:r1}String", - "type" : "As", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "type" : "Null", - "annotation" : [ ] - } - } ] - }, { - "asType" : "{urn:hl7-org:elm-types:r1}String", - "type" : "As", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "type" : "Null", - "annotation" : [ ] + ] + }, + { + "type": "List", + "annotation": [], + "element": [ + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2", + "annotation": [] + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "3", + "annotation": [] } - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "true", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "ContainsNullFirst", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Contains", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "type" : "List", - "annotation" : [ ], - "element" : [ { - "asType" : "{urn:hl7-org:elm-types:r1}String", - "type" : "As", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "type" : "Null", - "annotation" : [ ] - } - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "b", - "type" : "Literal", - "annotation" : [ ] - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "c", - "type" : "Literal", - "annotation" : [ ] - } ] - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "a", - "type" : "Literal", - "annotation" : [ ] - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "false", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "ContainsABCHasA", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Contains", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "type" : "List", - "annotation" : [ ], - "element" : [ { - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "a", - "type" : "Literal", - "annotation" : [ ] - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "b", - "type" : "Literal", - "annotation" : [ ] - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "c", - "type" : "Literal", - "annotation" : [ ] - } ] - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "a", - "type" : "Literal", - "annotation" : [ ] - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "true", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "ContainsJan2012True", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Contains", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "type" : "List", - "annotation" : [ ], - "element" : [ { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "9", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - } - } ] - }, { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] + ] + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "false", + "annotation": [] + } + } + ] + } + }, + { + "name": "Equal123AndABC", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Equal", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "List", + "annotation": [], + "element": [ + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2", + "annotation": [] + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "3", + "annotation": [] } - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "true", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "ContainsJan2012False", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Contains", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "type" : "List", - "annotation" : [ ], - "element" : [ { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "9", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - } - } ] - }, { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] + ] + }, + { + "type": "List", + "annotation": [], + "element": [ + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}String", + "value": "a", + "annotation": [] + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}String", + "value": "b", + "annotation": [] + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}String", + "value": "c", + "annotation": [] } - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "false", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "ContainsTimeTrue", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Contains", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "type" : "List", - "annotation" : [ ], - "element" : [ { - "type" : "Time", - "annotation" : [ ], - "signature" : [ ], - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "999", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "type" : "Time", - "annotation" : [ ], - "signature" : [ ], - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "999", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "type" : "Time", - "annotation" : [ ], - "signature" : [ ], - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "20", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "999", - "type" : "Literal", - "annotation" : [ ] - } - } ] - }, { - "type" : "Time", - "annotation" : [ ], - "signature" : [ ], - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "999", - "type" : "Literal", - "annotation" : [ ] + ] + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "false", + "annotation": [] + } + } + ] + } + }, + { + "name": "Equal123AndString123", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Equal", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "List", + "annotation": [], + "element": [ + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2", + "annotation": [] + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "3", + "annotation": [] } - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "true", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "ContainsTimeFalse", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Contains", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "type" : "List", - "annotation" : [ ], - "element" : [ { - "type" : "Time", - "annotation" : [ ], - "signature" : [ ], - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "999", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "type" : "Time", - "annotation" : [ ], - "signature" : [ ], - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "999", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "type" : "Time", - "annotation" : [ ], - "signature" : [ ], - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "20", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "999", - "type" : "Literal", - "annotation" : [ ] - } - } ] - }, { - "type" : "Time", - "annotation" : [ ], - "signature" : [ ], - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "8", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "999", - "type" : "Literal", - "annotation" : [ ] + ] + }, + { + "type": "List", + "annotation": [], + "element": [ + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}String", + "value": "1", + "annotation": [] + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}String", + "value": "2", + "annotation": [] + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}String", + "value": "3", + "annotation": [] } - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "false", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "ContainsNullLeft", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Contains", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "type" : "As", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "type" : "Null", - "annotation" : [ ] - }, - "asTypeSpecifier" : { - "type" : "ListTypeSpecifier", - "annotation" : [ ], - "elementType" : { - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier", - "annotation" : [ ] - } + ] + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "false", + "annotation": [] + } + } + ] + } + }, + { + "name": "Equal12And123", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Equal", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "List", + "annotation": [], + "element": [ + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2", + "annotation": [] } - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "a", - "type" : "Literal", - "annotation" : [ ] - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "false", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - } ] - } - }, { - "name" : "Descendents", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ ], - "expression" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "DescendentsEmptyList", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "skipped", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "Descendents not implemented", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - } ] - } - }, { - "name" : "Distinct", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ ], - "expression" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "DistinctEmptyList", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Distinct", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "type" : "List", - "annotation" : [ ], - "element" : [ ] - } - } - }, { - "name" : "output", - "value" : { - "type" : "List", - "annotation" : [ ], - "element" : [ ] - } - } ] - } - }, { - "name" : "DistinctNullNullNull", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Distinct", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "type" : "List", - "annotation" : [ ], - "element" : [ { - "type" : "Null", - "annotation" : [ ] - }, { - "type" : "Null", - "annotation" : [ ] - }, { - "type" : "Null", - "annotation" : [ ] - } ] - } - } - }, { - "name" : "output", - "value" : { - "type" : "List", - "annotation" : [ ], - "element" : [ { - "type" : "Null", - "annotation" : [ ] - } ] - } - } ] - } - }, { - "name" : "DistinctANullANull", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Distinct", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "type" : "List", - "annotation" : [ ], - "element" : [ { - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "a", - "type" : "Literal", - "annotation" : [ ] - }, { - "asType" : "{urn:hl7-org:elm-types:r1}String", - "type" : "As", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "type" : "Null", - "annotation" : [ ] - } - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "a", - "type" : "Literal", - "annotation" : [ ] - }, { - "asType" : "{urn:hl7-org:elm-types:r1}String", - "type" : "As", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "type" : "Null", - "annotation" : [ ] - } - } ] - } - } - }, { - "name" : "output", - "value" : { - "type" : "List", - "annotation" : [ ], - "element" : [ { - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "a", - "type" : "Literal", - "annotation" : [ ] - }, { - "asType" : "{urn:hl7-org:elm-types:r1}String", - "type" : "As", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "type" : "Null", - "annotation" : [ ] + ] + }, + { + "type": "List", + "annotation": [], + "element": [ + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2", + "annotation": [] + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "3", + "annotation": [] } - } ] - } - } ] - } - }, { - "name" : "Distinct112233", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Distinct", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "type" : "List", - "annotation" : [ ], - "element" : [ { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal", - "annotation" : [ ] - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal", - "annotation" : [ ] - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal", - "annotation" : [ ] - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal", - "annotation" : [ ] - } ] - } - } - }, { - "name" : "output", - "value" : { - "type" : "List", - "annotation" : [ ], - "element" : [ { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal", - "annotation" : [ ] - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal", - "annotation" : [ ] - } ] - } - } ] - } - }, { - "name" : "Distinct123123", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Distinct", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "type" : "List", - "annotation" : [ ], - "element" : [ { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal", - "annotation" : [ ] - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal", - "annotation" : [ ] - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal", - "annotation" : [ ] - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal", - "annotation" : [ ] - } ] - } - } - }, { - "name" : "output", - "value" : { - "type" : "List", - "annotation" : [ ], - "element" : [ { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal", - "annotation" : [ ] - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal", - "annotation" : [ ] - } ] - } - } ] - } - }, { - "name" : "DistinctAABBCC", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Distinct", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "type" : "List", - "annotation" : [ ], - "element" : [ { - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "a", - "type" : "Literal", - "annotation" : [ ] - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "a", - "type" : "Literal", - "annotation" : [ ] - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "b", - "type" : "Literal", - "annotation" : [ ] - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "b", - "type" : "Literal", - "annotation" : [ ] - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "c", - "type" : "Literal", - "annotation" : [ ] - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "c", - "type" : "Literal", - "annotation" : [ ] - } ] - } - } - }, { - "name" : "output", - "value" : { - "type" : "List", - "annotation" : [ ], - "element" : [ { - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "a", - "type" : "Literal", - "annotation" : [ ] - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "b", - "type" : "Literal", - "annotation" : [ ] - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "c", - "type" : "Literal", - "annotation" : [ ] - } ] - } - } ] - } - }, { - "name" : "DistinctABCABC", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Distinct", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "type" : "List", - "annotation" : [ ], - "element" : [ { - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "a", - "type" : "Literal", - "annotation" : [ ] - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "b", - "type" : "Literal", - "annotation" : [ ] - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "c", - "type" : "Literal", - "annotation" : [ ] - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "a", - "type" : "Literal", - "annotation" : [ ] - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "b", - "type" : "Literal", - "annotation" : [ ] - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "c", - "type" : "Literal", - "annotation" : [ ] - } ] - } - } - }, { - "name" : "output", - "value" : { - "type" : "List", - "annotation" : [ ], - "element" : [ { - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "a", - "type" : "Literal", - "annotation" : [ ] - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "b", - "type" : "Literal", - "annotation" : [ ] - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "c", - "type" : "Literal", - "annotation" : [ ] - } ] - } - } ] - } - }, { - "name" : "DistinctDateTime", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Distinct", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "type" : "List", - "annotation" : [ ], - "element" : [ { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - } - }, { - "name" : "output", - "value" : { - "type" : "List", - "annotation" : [ ], - "element" : [ { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal", - "annotation" : [ ] + ] + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "false", + "annotation": [] + } + } + ] + } + }, + { + "name": "Equal123And12", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Equal", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "List", + "annotation": [], + "element": [ + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2", + "annotation": [] + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "3", + "annotation": [] } - }, { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] + ] + }, + { + "type": "List", + "annotation": [], + "element": [ + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2", + "annotation": [] } - } ] - } - } ] - } - }, { - "name" : "DistinctTime", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Distinct", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "type" : "List", - "annotation" : [ ], - "element" : [ { - "type" : "Time", - "annotation" : [ ], - "signature" : [ ], - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "999", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "type" : "Time", - "annotation" : [ ], - "signature" : [ ], - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "20", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "999", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - } - }, { - "name" : "output", - "value" : { - "type" : "List", - "annotation" : [ ], - "element" : [ { - "type" : "Time", - "annotation" : [ ], - "signature" : [ ], - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "999", - "type" : "Literal", - "annotation" : [ ] + ] + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "false", + "annotation": [] + } + } + ] + } + }, + { + "name": "Equal123And123", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Equal", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "List", + "annotation": [], + "element": [ + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2", + "annotation": [] + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "3", + "annotation": [] } - }, { - "type" : "Time", - "annotation" : [ ], - "signature" : [ ], - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "20", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "999", - "type" : "Literal", - "annotation" : [ ] + ] + }, + { + "type": "List", + "annotation": [], + "element": [ + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2", + "annotation": [] + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "3", + "annotation": [] } - } ] - } - } ] - } - } ] - } - }, { - "name" : "Equal", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ ], - "expression" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "EqualNullNull", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "skipped", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "Wrong output: According to spec, if either list contains a null, the result is null", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "EqualEmptyListNull", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Equal", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "strict" : false, - "type" : "As", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "type" : "List", - "annotation" : [ ], - "element" : [ ] - }, - "asTypeSpecifier" : { - "type" : "ListTypeSpecifier", - "annotation" : [ ], - "elementType" : { - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier", - "annotation" : [ ] - } + ] + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "true", + "annotation": [] + } + } + ] + } + }, + { + "name": "EqualDateTimeTrue", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Equal", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "List", + "annotation": [], + "element": [ + { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2012", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "5", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + }, + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + } + }, + { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2014", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "12", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + }, + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + } } - }, { - "type" : "As", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "type" : "Null", - "annotation" : [ ] - }, - "asTypeSpecifier" : { - "type" : "ListTypeSpecifier", - "annotation" : [ ], - "elementType" : { - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier", - "annotation" : [ ] - } + ] + }, + { + "type": "List", + "annotation": [], + "element": [ + { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2012", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "5", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + }, + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + } + }, + { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2014", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "12", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + }, + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + } } - } ] - } - }, { - "name" : "output", - "value" : { - "type" : "Null", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "EqualNullEmptyList", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Equal", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "type" : "As", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "type" : "Null", - "annotation" : [ ] - }, - "asTypeSpecifier" : { - "type" : "ListTypeSpecifier", - "annotation" : [ ], - "elementType" : { - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier", - "annotation" : [ ] - } + ] + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "true", + "annotation": [] + } + } + ] + } + }, + { + "name": "EqualDateTimeFalse", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Equal", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "List", + "annotation": [], + "element": [ + { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2012", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "5", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + }, + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + } + }, + { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2014", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "12", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + }, + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + } } - }, { - "strict" : false, - "type" : "As", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "type" : "List", - "annotation" : [ ], - "element" : [ ] - }, - "asTypeSpecifier" : { - "type" : "ListTypeSpecifier", - "annotation" : [ ], - "elementType" : { - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier", - "annotation" : [ ] - } + ] + }, + { + "type": "List", + "annotation": [], + "element": [ + { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2012", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + }, + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + } + }, + { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2014", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "12", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + }, + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + } } - } ] - } - }, { - "name" : "output", - "value" : { - "type" : "Null", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "EqualEmptyListAndEmptyList", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Equal", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "type" : "List", - "annotation" : [ ], - "element" : [ ] - }, { - "type" : "List", - "annotation" : [ ], - "element" : [ ] - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "true", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "EqualABCAndABC", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Equal", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "type" : "List", - "annotation" : [ ], - "element" : [ { - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "a", - "type" : "Literal", - "annotation" : [ ] - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "b", - "type" : "Literal", - "annotation" : [ ] - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "c", - "type" : "Literal", - "annotation" : [ ] - } ] - }, { - "type" : "List", - "annotation" : [ ], - "element" : [ { - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "a", - "type" : "Literal", - "annotation" : [ ] - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "b", - "type" : "Literal", - "annotation" : [ ] - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "c", - "type" : "Literal", - "annotation" : [ ] - } ] - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "true", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "EqualABCAndAB", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Equal", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "type" : "List", - "annotation" : [ ], - "element" : [ { - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "a", - "type" : "Literal", - "annotation" : [ ] - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "b", - "type" : "Literal", - "annotation" : [ ] - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "c", - "type" : "Literal", - "annotation" : [ ] - } ] - }, { - "type" : "List", - "annotation" : [ ], - "element" : [ { - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "a", - "type" : "Literal", - "annotation" : [ ] - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "b", - "type" : "Literal", - "annotation" : [ ] - } ] - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "false", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "EqualABCAnd123", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Equal", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "type" : "List", - "annotation" : [ ], - "element" : [ { - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "a", - "type" : "Literal", - "annotation" : [ ] - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "b", - "type" : "Literal", - "annotation" : [ ] - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "c", - "type" : "Literal", - "annotation" : [ ] - } ] - }, { - "type" : "List", - "annotation" : [ ], - "element" : [ { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal", - "annotation" : [ ] - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal", - "annotation" : [ ] - } ] - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "false", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "Equal123AndABC", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Equal", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "type" : "List", - "annotation" : [ ], - "element" : [ { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal", - "annotation" : [ ] - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal", - "annotation" : [ ] - } ] - }, { - "type" : "List", - "annotation" : [ ], - "element" : [ { - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "a", - "type" : "Literal", - "annotation" : [ ] - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "b", - "type" : "Literal", - "annotation" : [ ] - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "c", - "type" : "Literal", - "annotation" : [ ] - } ] - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "false", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "Equal123AndString123", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Equal", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "type" : "List", - "annotation" : [ ], - "element" : [ { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal", - "annotation" : [ ] - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal", - "annotation" : [ ] - } ] - }, { - "type" : "List", - "annotation" : [ ], - "element" : [ { - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "2", - "type" : "Literal", - "annotation" : [ ] - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "3", - "type" : "Literal", - "annotation" : [ ] - } ] - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "false", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "Equal12And123", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Equal", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "type" : "List", - "annotation" : [ ], - "element" : [ { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal", - "annotation" : [ ] - } ] - }, { - "type" : "List", - "annotation" : [ ], - "element" : [ { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal", - "annotation" : [ ] - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal", - "annotation" : [ ] - } ] - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "false", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "Equal123And12", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Equal", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "type" : "List", - "annotation" : [ ], - "element" : [ { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal", - "annotation" : [ ] - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal", - "annotation" : [ ] - } ] - }, { - "type" : "List", - "annotation" : [ ], - "element" : [ { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal", - "annotation" : [ ] - } ] - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "false", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "Equal123And123", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Equal", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "type" : "List", - "annotation" : [ ], - "element" : [ { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal", - "annotation" : [ ] - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal", - "annotation" : [ ] - } ] - }, { - "type" : "List", - "annotation" : [ ], - "element" : [ { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal", - "annotation" : [ ] - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal", - "annotation" : [ ] - } ] - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "true", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "EqualDateTimeTrue", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Equal", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "type" : "List", - "annotation" : [ ], - "element" : [ { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - }, - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2014", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "12", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - }, - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - } - } ] - }, { - "type" : "List", - "annotation" : [ ], - "element" : [ { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - }, - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2014", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "12", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - }, - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "true", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "EqualDateTimeFalse", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Equal", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "type" : "List", - "annotation" : [ ], - "element" : [ { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - }, - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2014", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "12", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - }, - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - } - } ] - }, { - "type" : "List", - "annotation" : [ ], - "element" : [ { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - }, - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2014", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "12", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - }, - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "false", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "EqualTimeTrue", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Equal", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "type" : "List", - "annotation" : [ ], - "element" : [ { - "type" : "Time", - "annotation" : [ ], - "signature" : [ ], - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "999", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "type" : "Time", - "annotation" : [ ], - "signature" : [ ], - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "20", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "999", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "type" : "Time", - "annotation" : [ ], - "signature" : [ ], - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "20", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "999", - "type" : "Literal", - "annotation" : [ ] - } - } ] - }, { - "type" : "List", - "annotation" : [ ], - "element" : [ { - "type" : "Time", - "annotation" : [ ], - "signature" : [ ], - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "999", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "type" : "Time", - "annotation" : [ ], - "signature" : [ ], - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "20", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "999", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "type" : "Time", - "annotation" : [ ], - "signature" : [ ], - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "20", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "999", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "true", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "EqualTimeFalse", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Equal", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "type" : "List", - "annotation" : [ ], - "element" : [ { - "type" : "Time", - "annotation" : [ ], - "signature" : [ ], - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "999", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "type" : "Time", - "annotation" : [ ], - "signature" : [ ], - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "20", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "999", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "type" : "Time", - "annotation" : [ ], - "signature" : [ ], - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "20", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "999", - "type" : "Literal", - "annotation" : [ ] - } - } ] - }, { - "type" : "List", - "annotation" : [ ], - "element" : [ { - "type" : "Time", - "annotation" : [ ], - "signature" : [ ], - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "999", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "type" : "Time", - "annotation" : [ ], - "signature" : [ ], - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "20", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "999", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "type" : "Time", - "annotation" : [ ], - "signature" : [ ], - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "20", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "999", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "false", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - } ] - } - }, { - "name" : "Except", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ ], - "expression" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "ExceptEmptyListAndEmptyList", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Except", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "type" : "List", - "annotation" : [ ], - "element" : [ ] - }, { - "type" : "List", - "annotation" : [ ], - "element" : [ ] - } ] - } - }, { - "name" : "output", - "value" : { - "type" : "List", - "annotation" : [ ], - "element" : [ ] - } - } ] - } - }, { - "name" : "Except1234And23", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Except", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "type" : "List", - "annotation" : [ ], - "element" : [ { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal", - "annotation" : [ ] - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal", - "annotation" : [ ] - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "4", - "type" : "Literal", - "annotation" : [ ] - } ] - }, { - "type" : "List", - "annotation" : [ ], - "element" : [ { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal", - "annotation" : [ ] - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal", - "annotation" : [ ] - } ] - } ] - } - }, { - "name" : "output", - "value" : { - "type" : "List", - "annotation" : [ ], - "element" : [ { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "4", - "type" : "Literal", - "annotation" : [ ] - } ] - } - } ] - } - }, { - "name" : "Except23And1234", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Except", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "type" : "List", - "annotation" : [ ], - "element" : [ { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal", - "annotation" : [ ] - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal", - "annotation" : [ ] - } ] - }, { - "type" : "List", - "annotation" : [ ], - "element" : [ { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal", - "annotation" : [ ] - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal", - "annotation" : [ ] - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "4", - "type" : "Literal", - "annotation" : [ ] - } ] - } ] - } - }, { - "name" : "output", - "value" : { - "type" : "List", - "annotation" : [ ], - "element" : [ ] - } - } ] - } - }, { - "name" : "ExceptDateTimeList", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Except", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "type" : "List", - "annotation" : [ ], - "element" : [ { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2014", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "12", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2010", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - } - } ] - }, { - "type" : "List", - "annotation" : [ ], - "element" : [ { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2014", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "12", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2010", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } ] - } - }, { - "name" : "output", - "value" : { - "type" : "List", - "annotation" : [ ], - "element" : [ { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] + ] + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "false", + "annotation": [] + } + } + ] + } + }, + { + "name": "EqualTimeTrue", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Equal", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "List", + "annotation": [], + "element": [ + { + "type": "Time", + "annotation": [], + "signature": [], + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "15", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "999", + "annotation": [] + } + }, + { + "type": "Time", + "annotation": [], + "signature": [], + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "20", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "999", + "annotation": [] + } + }, + { + "type": "Time", + "annotation": [], + "signature": [], + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "20", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "999", + "annotation": [] + } } - } ] - } - } ] - } - }, { - "name" : "ExceptTimeList", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Except", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "type" : "List", - "annotation" : [ ], - "element" : [ { - "type" : "Time", - "annotation" : [ ], - "signature" : [ ], - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "999", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "type" : "Time", - "annotation" : [ ], - "signature" : [ ], - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "20", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "999", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "type" : "Time", - "annotation" : [ ], - "signature" : [ ], - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "12", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "999", - "type" : "Literal", - "annotation" : [ ] - } - } ] - }, { - "type" : "List", - "annotation" : [ ], - "element" : [ { - "type" : "Time", - "annotation" : [ ], - "signature" : [ ], - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "20", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "999", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "type" : "Time", - "annotation" : [ ], - "signature" : [ ], - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "12", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "999", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } ] - } - }, { - "name" : "output", - "value" : { - "type" : "List", - "annotation" : [ ], - "element" : [ { - "type" : "Time", - "annotation" : [ ], - "signature" : [ ], - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "999", - "type" : "Literal", - "annotation" : [ ] + ] + }, + { + "type": "List", + "annotation": [], + "element": [ + { + "type": "Time", + "annotation": [], + "signature": [], + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "15", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "999", + "annotation": [] + } + }, + { + "type": "Time", + "annotation": [], + "signature": [], + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "20", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "999", + "annotation": [] + } + }, + { + "type": "Time", + "annotation": [], + "signature": [], + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "20", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "999", + "annotation": [] + } } - } ] - } - } ] - } - }, { - "name" : "ExceptNullRight", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Except", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "type" : "List", - "annotation" : [ ], - "element" : [ { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "4", - "type" : "Literal", - "annotation" : [ ] - } ] - }, { - "type" : "As", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "type" : "Null", - "annotation" : [ ] - }, - "asTypeSpecifier" : { - "type" : "ListTypeSpecifier", - "annotation" : [ ], - "elementType" : { - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier", - "annotation" : [ ] - } + ] + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "true", + "annotation": [] + } + } + ] + } + }, + { + "name": "EqualTimeFalse", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Equal", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "List", + "annotation": [], + "element": [ + { + "type": "Time", + "annotation": [], + "signature": [], + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "15", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "999", + "annotation": [] + } + }, + { + "type": "Time", + "annotation": [], + "signature": [], + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "20", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "999", + "annotation": [] + } + }, + { + "type": "Time", + "annotation": [], + "signature": [], + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "20", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "999", + "annotation": [] + } } - } ] - } - }, { - "name" : "output", - "value" : { - "type" : "List", - "annotation" : [ ], - "element" : [ { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "4", - "type" : "Literal", - "annotation" : [ ] - } ] - } - } ] - } - } ] - } - }, { - "name" : "Exists", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ ], - "expression" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "ExistsEmpty", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Exists", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "type" : "List", - "annotation" : [ ], - "element" : [ ] - } - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "false", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "ExistsListNull", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Exists", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "type" : "List", - "annotation" : [ ], - "element" : [ { - "type" : "Null", - "annotation" : [ ] - } ] - } - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "false", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "Exists1", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Exists", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "type" : "List", - "annotation" : [ ], - "element" : [ { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - } ] - } - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "true", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "Exists12", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Exists", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "type" : "List", - "annotation" : [ ], - "element" : [ { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal", - "annotation" : [ ] - } ] - } - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "true", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "ExistsDateTime", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Exists", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "type" : "List", - "annotation" : [ ], - "element" : [ { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2014", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "12", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "true", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "ExistsTime", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Exists", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "type" : "List", - "annotation" : [ ], - "element" : [ { - "type" : "Time", - "annotation" : [ ], - "signature" : [ ], - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "999", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "type" : "Time", - "annotation" : [ ], - "signature" : [ ], - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "20", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "999", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "true", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "ExistsNull", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Exists", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "type" : "As", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "type" : "Null", - "annotation" : [ ] - }, - "asTypeSpecifier" : { - "type" : "ListTypeSpecifier", - "annotation" : [ ], - "elementType" : { - "name" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "NamedTypeSpecifier", - "annotation" : [ ] - } + ] + }, + { + "type": "List", + "annotation": [], + "element": [ + { + "type": "Time", + "annotation": [], + "signature": [], + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "999", + "annotation": [] + } + }, + { + "type": "Time", + "annotation": [], + "signature": [], + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "20", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "999", + "annotation": [] + } + }, + { + "type": "Time", + "annotation": [], + "signature": [], + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "20", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "999", + "annotation": [] + } } - } - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "false", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - } ] - } - }, { - "name" : "Flatten", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ ], - "expression" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "FlattenEmpty", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Flatten", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "type" : "List", - "annotation" : [ ], - "element" : [ { - "type" : "List", - "annotation" : [ ], - "element" : [ ] - }, { - "type" : "List", - "annotation" : [ ], - "element" : [ ] - } ] - } - } - }, { - "name" : "output", - "value" : { - "type" : "List", - "annotation" : [ ], - "element" : [ ] - } - } ] - } - }, { - "name" : "FlattenListNullAndNull", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Flatten", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "type" : "List", - "annotation" : [ ], - "element" : [ { - "type" : "List", - "annotation" : [ ], - "element" : [ { - "type" : "Null", - "annotation" : [ ] - } ] - }, { - "type" : "List", - "annotation" : [ ], - "element" : [ { - "type" : "Null", - "annotation" : [ ] - } ] - } ] - } - } - }, { - "name" : "output", - "value" : { - "type" : "List", - "annotation" : [ ], - "element" : [ { - "type" : "Null", - "annotation" : [ ] - }, { - "type" : "Null", - "annotation" : [ ] - } ] - } - } ] - } - }, { - "name" : "FlattenList12And34", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Flatten", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "type" : "List", - "annotation" : [ ], - "element" : [ { - "type" : "List", - "annotation" : [ ], - "element" : [ { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal", - "annotation" : [ ] - } ] - }, { - "type" : "List", - "annotation" : [ ], - "element" : [ { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal", - "annotation" : [ ] - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "4", - "type" : "Literal", - "annotation" : [ ] - } ] - } ] - } - } - }, { - "name" : "output", - "value" : { - "type" : "List", - "annotation" : [ ], - "element" : [ { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal", - "annotation" : [ ] - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal", - "annotation" : [ ] - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "4", - "type" : "Literal", - "annotation" : [ ] - } ] - } - } ] - } - }, { - "name" : "FlattenDateTime", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Flatten", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "type" : "List", - "annotation" : [ ], - "element" : [ { - "type" : "List", - "annotation" : [ ], - "element" : [ { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - } - } ] - }, { - "type" : "List", - "annotation" : [ ], - "element" : [ { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2014", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "12", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } ] - } - } - }, { - "name" : "output", - "value" : { - "type" : "List", - "annotation" : [ ], - "element" : [ { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] + ] + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "false", + "annotation": [] + } + } + ] + } + } + ] + } + }, + { + "name": "Except", + "context": "Patient", + "accessLevel": "Public", + "annotation": [], + "expression": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "ExceptEmptyListAndEmptyList", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Except", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "List", + "annotation": [], + "element": [] + }, + { + "type": "List", + "annotation": [], + "element": [] + } + ] + } + }, + { + "name": "output", + "value": { + "type": "List", + "annotation": [], + "element": [] + } + } + ] + } + }, + { + "name": "Except1234And23", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Except", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "List", + "annotation": [], + "element": [ + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2", + "annotation": [] + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "3", + "annotation": [] + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "4", + "annotation": [] } - }, { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2014", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "12", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] + ] + }, + { + "type": "List", + "annotation": [], + "element": [ + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2", + "annotation": [] + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "3", + "annotation": [] } - } ] - } - } ] - } - }, { - "name" : "FlattenTime", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Flatten", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "type" : "List", - "annotation" : [ ], - "element" : [ { - "type" : "List", - "annotation" : [ ], - "element" : [ { - "type" : "Time", - "annotation" : [ ], - "signature" : [ ], - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "999", - "type" : "Literal", - "annotation" : [ ] - } - } ] - }, { - "type" : "List", - "annotation" : [ ], - "element" : [ { - "type" : "Time", - "annotation" : [ ], - "signature" : [ ], - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "20", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "999", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } ] - } - } - }, { - "name" : "output", - "value" : { - "type" : "List", - "annotation" : [ ], - "element" : [ { - "type" : "Time", - "annotation" : [ ], - "signature" : [ ], - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "999", - "type" : "Literal", - "annotation" : [ ] + ] + } + ] + } + }, + { + "name": "output", + "value": { + "type": "List", + "annotation": [], + "element": [ + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "4", + "annotation": [] + } + ] + } + } + ] + } + }, + { + "name": "Except23And1234", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Except", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "List", + "annotation": [], + "element": [ + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2", + "annotation": [] + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "3", + "annotation": [] } - }, { - "type" : "Time", - "annotation" : [ ], - "signature" : [ ], - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "20", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "999", - "type" : "Literal", - "annotation" : [ ] + ] + }, + { + "type": "List", + "annotation": [], + "element": [ + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2", + "annotation": [] + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "3", + "annotation": [] + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "4", + "annotation": [] } - } ] - } - } ] - } - } ] - } - }, { - "name" : "First", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ ], - "expression" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "FirstEmpty", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "First", - "annotation" : [ ], - "signature" : [ ], - "source" : { - "type" : "List", - "annotation" : [ ], - "element" : [ ] - } - } - }, { - "name" : "output", - "value" : { - "type" : "Null", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "FirstNull1", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "First", - "annotation" : [ ], - "signature" : [ ], - "source" : { - "type" : "List", - "annotation" : [ ], - "element" : [ { - "asType" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "As", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "type" : "Null", - "annotation" : [ ] - } - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - } ] - } - } - }, { - "name" : "output", - "value" : { - "type" : "Null", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "First1Null", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "First", - "annotation" : [ ], - "signature" : [ ], - "source" : { - "type" : "List", - "annotation" : [ ], - "element" : [ { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - }, { - "asType" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "As", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "type" : "Null", - "annotation" : [ ] - } - } ] - } - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "First12", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "First", - "annotation" : [ ], - "signature" : [ ], - "source" : { - "type" : "List", - "annotation" : [ ], - "element" : [ { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal", - "annotation" : [ ] - } ] - } - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "FirstDateTime", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "First", - "annotation" : [ ], - "signature" : [ ], - "source" : { - "type" : "List", - "annotation" : [ ], - "element" : [ { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2014", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "12", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - } - }, { - "name" : "output", - "value" : { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - } - } - } ] - } - }, { - "name" : "FirstTime", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "First", - "annotation" : [ ], - "signature" : [ ], - "source" : { - "type" : "List", - "annotation" : [ ], - "element" : [ { - "type" : "Time", - "annotation" : [ ], - "signature" : [ ], - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "999", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "type" : "Time", - "annotation" : [ ], - "signature" : [ ], - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "20", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "999", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - } - }, { - "name" : "output", - "value" : { - "type" : "Time", - "annotation" : [ ], - "signature" : [ ], - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "999", - "type" : "Literal", - "annotation" : [ ] - } - } - } ] - } - } ] - } - }, { - "name" : "In", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ ], - "expression" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "InNullEmpty", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "In", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "type" : "Null", - "annotation" : [ ] - }, { - "type" : "List", - "annotation" : [ ], - "element" : [ ] - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "false", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "InNullAnd1Null", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "In", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "type" : "Null", - "annotation" : [ ] - }, { - "type" : "List", - "annotation" : [ ], - "element" : [ { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - }, { - "asType" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "As", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "type" : "Null", - "annotation" : [ ] - } - } ] - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "true", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "In1Null", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "In", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - }, { - "type" : "As", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "type" : "Null", - "annotation" : [ ] - }, - "asTypeSpecifier" : { - "type" : "IntervalTypeSpecifier", - "annotation" : [ ], - "pointType" : { - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier", - "annotation" : [ ] - } + ] + } + ] + } + }, + { + "name": "output", + "value": { + "type": "List", + "annotation": [], + "element": [] + } + } + ] + } + }, + { + "name": "ExceptDateTimeList", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Except", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "List", + "annotation": [], + "element": [ + { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2012", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "5", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + } + }, + { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2014", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "12", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + } + }, + { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2010", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + } } - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "false", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "In1And12", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "In", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - }, { - "type" : "List", - "annotation" : [ ], - "element" : [ { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal", - "annotation" : [ ] - } ] - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "true", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "In3And12", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "In", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal", - "annotation" : [ ] - }, { - "type" : "List", - "annotation" : [ ], - "element" : [ { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal", - "annotation" : [ ] - } ] - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "false", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "InDateTimeTrue", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "In", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] + ] + }, + { + "type": "List", + "annotation": [], + "element": [ + { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2014", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "12", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + } + }, + { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2010", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + } } - }, { - "type" : "List", - "annotation" : [ ], - "element" : [ { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2001", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "9", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "11", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2014", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "12", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "true", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "InDateTimeFalse", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "In", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "6", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] + ] + } + ] + } + }, + { + "name": "output", + "value": { + "type": "List", + "annotation": [], + "element": [ + { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2012", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "5", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + } + } + ] + } + } + ] + } + }, + { + "name": "ExceptTimeList", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Except", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "List", + "annotation": [], + "element": [ + { + "type": "Time", + "annotation": [], + "signature": [], + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "15", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "999", + "annotation": [] + } + }, + { + "type": "Time", + "annotation": [], + "signature": [], + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "20", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "999", + "annotation": [] + } + }, + { + "type": "Time", + "annotation": [], + "signature": [], + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "12", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "999", + "annotation": [] + } } - }, { - "type" : "List", - "annotation" : [ ], - "element" : [ { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2001", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "9", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "11", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2014", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "12", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "false", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "InTimeTrue", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "In", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "type" : "Time", - "annotation" : [ ], - "signature" : [ ], - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "999", - "type" : "Literal", - "annotation" : [ ] + ] + }, + { + "type": "List", + "annotation": [], + "element": [ + { + "type": "Time", + "annotation": [], + "signature": [], + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "20", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "999", + "annotation": [] + } + }, + { + "type": "Time", + "annotation": [], + "signature": [], + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "12", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "999", + "annotation": [] + } } - }, { - "type" : "List", - "annotation" : [ ], - "element" : [ { - "type" : "Time", - "annotation" : [ ], - "signature" : [ ], - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "29", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "156", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "type" : "Time", - "annotation" : [ ], - "signature" : [ ], - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "999", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "type" : "Time", - "annotation" : [ ], - "signature" : [ ], - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "20", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "999", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "true", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "InTimeFalse", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "In", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "type" : "Time", - "annotation" : [ ], - "signature" : [ ], - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "16", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "999", - "type" : "Literal", - "annotation" : [ ] + ] + } + ] + } + }, + { + "name": "output", + "value": { + "type": "List", + "annotation": [], + "element": [ + { + "type": "Time", + "annotation": [], + "signature": [], + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "15", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "999", + "annotation": [] + } + } + ] + } + } + ] + } + }, + { + "name": "ExceptNullRight", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Except", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "List", + "annotation": [], + "element": [ + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "4", + "annotation": [] } - }, { - "type" : "List", - "annotation" : [ ], - "element" : [ { - "type" : "Time", - "annotation" : [ ], - "signature" : [ ], - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "29", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "156", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "type" : "Time", - "annotation" : [ ], - "signature" : [ ], - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "999", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "type" : "Time", - "annotation" : [ ], - "signature" : [ ], - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "20", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "999", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "false", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - } ] - } - }, { - "name" : "Includes", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ ], - "expression" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "IncludesEmptyAndEmpty", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Includes", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "type" : "List", - "annotation" : [ ], - "element" : [ ] - }, { - "type" : "List", - "annotation" : [ ], - "element" : [ ] - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "true", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "IncludesListNullAndListNull", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Includes", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "type" : "List", - "annotation" : [ ], - "element" : [ { - "type" : "Null", - "annotation" : [ ] - } ] - }, { - "type" : "List", - "annotation" : [ ], - "element" : [ { - "type" : "Null", - "annotation" : [ ] - } ] - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "true", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "Includes123AndEmpty", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Includes", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "type" : "List", - "annotation" : [ ], - "element" : [ { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal", - "annotation" : [ ] - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal", - "annotation" : [ ] - } ] - }, { - "type" : "Query", - "annotation" : [ ], - "source" : [ { - "alias" : "X", - "annotation" : [ ], - "expression" : { - "type" : "List", - "annotation" : [ ], - "element" : [ ] - } - } ], - "let" : [ ], - "relationship" : [ ], - "return" : { - "distinct" : false, - "annotation" : [ ], - "expression" : { - "asType" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "As", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "name" : "X", - "type" : "AliasRef", - "annotation" : [ ] - } - } + ] + }, + { + "type": "As", + "annotation": [], + "signature": [], + "operand": { + "type": "Null", + "annotation": [] + }, + "asTypeSpecifier": { + "type": "ListTypeSpecifier", + "annotation": [], + "elementType": { + "type": "NamedTypeSpecifier", + "name": "{urn:hl7-org:elm-types:r1}Integer", + "annotation": [] } - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "true", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "Includes123And2", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Includes", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "type" : "List", - "annotation" : [ ], - "element" : [ { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal", - "annotation" : [ ] - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal", - "annotation" : [ ] - } ] - }, { - "type" : "List", - "annotation" : [ ], - "element" : [ { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal", - "annotation" : [ ] - } ] - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "true", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "Includes123And4", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Includes", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "type" : "List", - "annotation" : [ ], - "element" : [ { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal", - "annotation" : [ ] - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal", - "annotation" : [ ] - } ] - }, { - "type" : "List", - "annotation" : [ ], - "element" : [ { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "4", - "type" : "Literal", - "annotation" : [ ] - } ] - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "false", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "IncludesDateTimeTrue", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Includes", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "type" : "List", - "annotation" : [ ], - "element" : [ { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2001", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "9", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "11", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2014", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "12", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - } - } ] - }, { - "type" : "List", - "annotation" : [ ], - "element" : [ { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "true", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "IncludesDateTimeFalse", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Includes", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "type" : "List", - "annotation" : [ ], - "element" : [ { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2001", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "9", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "11", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2014", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "12", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - } - } ] - }, { - "type" : "List", - "annotation" : [ ], - "element" : [ { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "11", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "false", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "IncludesTimeTrue", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Contains", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "type" : "List", - "annotation" : [ ], - "element" : [ { - "type" : "Time", - "annotation" : [ ], - "signature" : [ ], - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "29", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "156", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "type" : "Time", - "annotation" : [ ], - "signature" : [ ], - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "999", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "type" : "Time", - "annotation" : [ ], - "signature" : [ ], - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "20", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "999", - "type" : "Literal", - "annotation" : [ ] - } - } ] - }, { - "type" : "Time", - "annotation" : [ ], - "signature" : [ ], - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "999", - "type" : "Literal", - "annotation" : [ ] + } + } + ] + } + }, + { + "name": "output", + "value": { + "type": "List", + "annotation": [], + "element": [ + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "4", + "annotation": [] + } + ] + } + } + ] + } + } + ] + } + }, + { + "name": "Exists", + "context": "Patient", + "accessLevel": "Public", + "annotation": [], + "expression": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "ExistsEmpty", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Exists", + "annotation": [], + "signature": [], + "operand": { + "type": "List", + "annotation": [], + "element": [] + } + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "false", + "annotation": [] + } + } + ] + } + }, + { + "name": "ExistsListNull", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Exists", + "annotation": [], + "signature": [], + "operand": { + "type": "List", + "annotation": [], + "element": [ + { + "type": "Null", + "annotation": [] + } + ] + } + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "false", + "annotation": [] + } + } + ] + } + }, + { + "name": "Exists1", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Exists", + "annotation": [], + "signature": [], + "operand": { + "type": "List", + "annotation": [], + "element": [ + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + } + ] + } + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "true", + "annotation": [] + } + } + ] + } + }, + { + "name": "Exists12", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Exists", + "annotation": [], + "signature": [], + "operand": { + "type": "List", + "annotation": [], + "element": [ + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2", + "annotation": [] + } + ] + } + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "true", + "annotation": [] + } + } + ] + } + }, + { + "name": "ExistsDateTime", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Exists", + "annotation": [], + "signature": [], + "operand": { + "type": "List", + "annotation": [], + "element": [ + { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2012", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "5", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] } - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "true", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "IncludesTimeFalse", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Contains", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "type" : "List", - "annotation" : [ ], - "element" : [ { - "type" : "Time", - "annotation" : [ ], - "signature" : [ ], - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "29", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "156", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "type" : "Time", - "annotation" : [ ], - "signature" : [ ], - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "999", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "type" : "Time", - "annotation" : [ ], - "signature" : [ ], - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "20", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "999", - "type" : "Literal", - "annotation" : [ ] - } - } ] - }, { - "type" : "Time", - "annotation" : [ ], - "signature" : [ ], - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "16", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "999", - "type" : "Literal", - "annotation" : [ ] + }, + { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2014", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "12", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] } - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "false", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "IncludesNullLeft", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Includes", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "type" : "As", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "type" : "Null", - "annotation" : [ ] - }, - "asTypeSpecifier" : { - "type" : "ListTypeSpecifier", - "annotation" : [ ], - "elementType" : { - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier", - "annotation" : [ ] - } + } + ] + } + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "true", + "annotation": [] + } + } + ] + } + }, + { + "name": "ExistsTime", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Exists", + "annotation": [], + "signature": [], + "operand": { + "type": "List", + "annotation": [], + "element": [ + { + "type": "Time", + "annotation": [], + "signature": [], + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "15", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "999", + "annotation": [] } - }, { - "type" : "List", - "annotation" : [ ], - "element" : [ { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal", - "annotation" : [ ] - } ] - } ] - } - }, { - "name" : "output", - "value" : { - "type" : "Null", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "IncludesNullRight", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "skipped", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "Treats null as point overload, translating to \"Contains\" operator, which has different semantics (and different result)", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - } ] - } - }, { - "name" : "IncludedIn", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ ], - "expression" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "IncludedInEmptyAndEmpty", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "IncludedIn", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "type" : "List", - "annotation" : [ ], - "element" : [ ] - }, { - "type" : "List", - "annotation" : [ ], - "element" : [ ] - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "true", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "IncludedInListNullAndListNull", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "IncludedIn", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "type" : "List", - "annotation" : [ ], - "element" : [ { - "type" : "Null", - "annotation" : [ ] - } ] - }, { - "type" : "List", - "annotation" : [ ], - "element" : [ { - "type" : "Null", - "annotation" : [ ] - } ] - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "true", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "IncludedInEmptyAnd123", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "IncludedIn", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "type" : "List", - "annotation" : [ ], - "element" : [ ] - }, { - "type" : "List", - "annotation" : [ ], - "element" : [ { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal", - "annotation" : [ ] - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal", - "annotation" : [ ] - } ] - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "true", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "IncludedIn2And123", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "IncludedIn", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "type" : "List", - "annotation" : [ ], - "element" : [ { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal", - "annotation" : [ ] - } ] - }, { - "type" : "List", - "annotation" : [ ], - "element" : [ { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal", - "annotation" : [ ] - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal", - "annotation" : [ ] - } ] - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "true", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "IncludedIn4And123", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "IncludedIn", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "type" : "List", - "annotation" : [ ], - "element" : [ { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "4", - "type" : "Literal", - "annotation" : [ ] - } ] - }, { - "type" : "List", - "annotation" : [ ], - "element" : [ { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal", - "annotation" : [ ] - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal", - "annotation" : [ ] - } ] - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "false", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "IncludedInDateTimeTrue", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "IncludedIn", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "type" : "List", - "annotation" : [ ], - "element" : [ { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - } - } ] - }, { - "type" : "List", - "annotation" : [ ], - "element" : [ { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2001", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "9", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "11", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2014", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "12", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "true", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "IncludedInDateTimeFalse", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "IncludedIn", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "type" : "List", - "annotation" : [ ], - "element" : [ { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "11", - "type" : "Literal", - "annotation" : [ ] - } - } ] - }, { - "type" : "List", - "annotation" : [ ], - "element" : [ { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2001", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "9", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "11", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2014", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "12", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "false", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "IncludedInTimeTrue", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "In", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "type" : "Time", - "annotation" : [ ], - "signature" : [ ], - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "999", - "type" : "Literal", - "annotation" : [ ] + }, + { + "type": "Time", + "annotation": [], + "signature": [], + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "20", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "999", + "annotation": [] } - }, { - "type" : "List", - "annotation" : [ ], - "element" : [ { - "type" : "Time", - "annotation" : [ ], - "signature" : [ ], - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "29", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "156", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "type" : "Time", - "annotation" : [ ], - "signature" : [ ], - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "999", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "type" : "Time", - "annotation" : [ ], - "signature" : [ ], - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "20", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "999", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "true", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "IncludedInTimeFalse", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "In", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "type" : "Time", - "annotation" : [ ], - "signature" : [ ], - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "16", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "999", - "type" : "Literal", - "annotation" : [ ] + } + ] + } + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "true", + "annotation": [] + } + } + ] + } + }, + { + "name": "ExistsNull", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Exists", + "annotation": [], + "signature": [], + "operand": { + "type": "As", + "annotation": [], + "signature": [], + "operand": { + "type": "Null", + "annotation": [] + }, + "asTypeSpecifier": { + "type": "ListTypeSpecifier", + "annotation": [], + "elementType": { + "type": "NamedTypeSpecifier", + "name": "{urn:hl7-org:elm-types:r1}Any", + "annotation": [] + } + } + } + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "false", + "annotation": [] + } + } + ] + } + } + ] + } + }, + { + "name": "Flatten", + "context": "Patient", + "accessLevel": "Public", + "annotation": [], + "expression": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "FlattenEmpty", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Flatten", + "annotation": [], + "signature": [], + "operand": { + "type": "List", + "annotation": [], + "element": [ + { + "type": "List", + "annotation": [], + "element": [] + }, + { + "type": "List", + "annotation": [], + "element": [] + } + ] + } + } + }, + { + "name": "output", + "value": { + "type": "List", + "annotation": [], + "element": [] + } + } + ] + } + }, + { + "name": "FlattenListNullAndNull", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Flatten", + "annotation": [], + "signature": [], + "operand": { + "type": "List", + "annotation": [], + "element": [ + { + "type": "List", + "annotation": [], + "element": [ + { + "type": "Null", + "annotation": [] + } + ] + }, + { + "type": "List", + "annotation": [], + "element": [ + { + "type": "Null", + "annotation": [] + } + ] + } + ] + } + } + }, + { + "name": "output", + "value": { + "type": "List", + "annotation": [], + "element": [ + { + "type": "Null", + "annotation": [] + }, + { + "type": "Null", + "annotation": [] + } + ] + } + } + ] + } + }, + { + "name": "FlattenList12And34", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Flatten", + "annotation": [], + "signature": [], + "operand": { + "type": "List", + "annotation": [], + "element": [ + { + "type": "List", + "annotation": [], + "element": [ + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2", + "annotation": [] + } + ] + }, + { + "type": "List", + "annotation": [], + "element": [ + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "3", + "annotation": [] + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "4", + "annotation": [] + } + ] + } + ] + } + } + }, + { + "name": "output", + "value": { + "type": "List", + "annotation": [], + "element": [ + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2", + "annotation": [] + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "3", + "annotation": [] + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "4", + "annotation": [] + } + ] + } + } + ] + } + }, + { + "name": "FlattenDateTime", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Flatten", + "annotation": [], + "signature": [], + "operand": { + "type": "List", + "annotation": [], + "element": [ + { + "type": "List", + "annotation": [], + "element": [ + { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2012", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "5", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + } + } + ] + }, + { + "type": "List", + "annotation": [], + "element": [ + { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2014", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "12", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + } + } + ] + } + ] + } + } + }, + { + "name": "output", + "value": { + "type": "List", + "annotation": [], + "element": [ + { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2012", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "5", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + } + }, + { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2014", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "12", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + } + } + ] + } + } + ] + } + }, + { + "name": "FlattenTime", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Flatten", + "annotation": [], + "signature": [], + "operand": { + "type": "List", + "annotation": [], + "element": [ + { + "type": "List", + "annotation": [], + "element": [ + { + "type": "Time", + "annotation": [], + "signature": [], + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "15", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "999", + "annotation": [] + } + } + ] + }, + { + "type": "List", + "annotation": [], + "element": [ + { + "type": "Time", + "annotation": [], + "signature": [], + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "20", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "999", + "annotation": [] + } + } + ] + } + ] + } + } + }, + { + "name": "output", + "value": { + "type": "List", + "annotation": [], + "element": [ + { + "type": "Time", + "annotation": [], + "signature": [], + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "15", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "999", + "annotation": [] + } + }, + { + "type": "Time", + "annotation": [], + "signature": [], + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "20", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "999", + "annotation": [] + } + } + ] + } + } + ] + } + } + ] + } + }, + { + "name": "First", + "context": "Patient", + "accessLevel": "Public", + "annotation": [], + "expression": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "FirstEmpty", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "First", + "annotation": [], + "signature": [], + "source": { + "type": "List", + "annotation": [], + "element": [] + } + } + }, + { + "name": "output", + "value": { + "type": "Null", + "annotation": [] + } + } + ] + } + }, + { + "name": "FirstNull1", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "First", + "annotation": [], + "signature": [], + "source": { + "type": "List", + "annotation": [], + "element": [ + { + "type": "As", + "asType": "{urn:hl7-org:elm-types:r1}Integer", + "annotation": [], + "signature": [], + "operand": { + "type": "Null", + "annotation": [] } - }, { - "type" : "List", - "annotation" : [ ], - "element" : [ { - "type" : "Time", - "annotation" : [ ], - "signature" : [ ], - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "29", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "156", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "type" : "Time", - "annotation" : [ ], - "signature" : [ ], - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "999", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "type" : "Time", - "annotation" : [ ], - "signature" : [ ], - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "20", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "999", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "false", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "IncludedInNullLeft", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "skipped", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "Treats null as point overload, translating to \"In\" operator, which has different semantics (and different result)", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "IncludedInNullRight", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "skipped", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "Converts included in to in, which has different semantics when second argument is null", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - } ] - } - }, { - "name" : "Indexer", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ ], - "expression" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "IndexerNull1List", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Indexer", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "strict" : false, - "type" : "As", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "type" : "Null", - "annotation" : [ ] - }, - "asTypeSpecifier" : { - "type" : "ListTypeSpecifier", - "annotation" : [ ], - "elementType" : { - "name" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "NamedTypeSpecifier", - "annotation" : [ ] - } + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + } + ] + } + } + }, + { + "name": "output", + "value": { + "type": "Null", + "annotation": [] + } + } + ] + } + }, + { + "name": "First1Null", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "First", + "annotation": [], + "signature": [], + "source": { + "type": "List", + "annotation": [], + "element": [ + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + }, + { + "type": "As", + "asType": "{urn:hl7-org:elm-types:r1}Integer", + "annotation": [], + "signature": [], + "operand": { + "type": "Null", + "annotation": [] } - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - } ] - } - }, { - "name" : "output", - "value" : { - "type" : "Null", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "Indexer0Of12", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Indexer", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "type" : "List", - "annotation" : [ ], - "element" : [ { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal", - "annotation" : [ ] - } ] - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "Indexer1Of12", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Indexer", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "type" : "List", - "annotation" : [ ], - "element" : [ { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal", - "annotation" : [ ] - } ] - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "Indexer2Of12", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Indexer", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "type" : "List", - "annotation" : [ ], - "element" : [ { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal", - "annotation" : [ ] - } ] - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal", - "annotation" : [ ] - } ] - } - }, { - "name" : "output", - "value" : { - "type" : "Null", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "IndexerNeg1Of12", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Indexer", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "type" : "List", - "annotation" : [ ], - "element" : [ { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal", - "annotation" : [ ] - } ] - }, { - "type" : "Negate", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] + } + ] + } + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + } + } + ] + } + }, + { + "name": "First12", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "First", + "annotation": [], + "signature": [], + "source": { + "type": "List", + "annotation": [], + "element": [ + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2", + "annotation": [] + } + ] + } + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + } + } + ] + } + }, + { + "name": "FirstDateTime", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "First", + "annotation": [], + "signature": [], + "source": { + "type": "List", + "annotation": [], + "element": [ + { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2012", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "5", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + } + }, + { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2014", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "12", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + } + } + ] + } + } + }, + { + "name": "output", + "value": { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2012", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "5", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + } + } + } + ] + } + }, + { + "name": "FirstTime", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "First", + "annotation": [], + "signature": [], + "source": { + "type": "List", + "annotation": [], + "element": [ + { + "type": "Time", + "annotation": [], + "signature": [], + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "15", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "999", + "annotation": [] + } + }, + { + "type": "Time", + "annotation": [], + "signature": [], + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "20", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "999", + "annotation": [] + } + } + ] + } + } + }, + { + "name": "output", + "value": { + "type": "Time", + "annotation": [], + "signature": [], + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "15", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "999", + "annotation": [] + } + } + } + ] + } + } + ] + } + }, + { + "name": "In", + "context": "Patient", + "accessLevel": "Public", + "annotation": [], + "expression": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "InNullEmpty", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "In", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Null", + "annotation": [] + }, + { + "type": "List", + "annotation": [], + "element": [] + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "false", + "annotation": [] + } + } + ] + } + }, + { + "name": "InNullAnd1Null", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "In", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Null", + "annotation": [] + }, + { + "type": "List", + "annotation": [], + "element": [ + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + }, + { + "type": "As", + "asType": "{urn:hl7-org:elm-types:r1}Integer", + "annotation": [], + "signature": [], + "operand": { + "type": "Null", + "annotation": [] + } + } + ] + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "true", + "annotation": [] + } + } + ] + } + }, + { + "name": "In1Null", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "In", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + }, + { + "type": "As", + "annotation": [], + "signature": [], + "operand": { + "type": "Null", + "annotation": [] + }, + "asTypeSpecifier": { + "type": "IntervalTypeSpecifier", + "annotation": [], + "pointType": { + "type": "NamedTypeSpecifier", + "name": "{urn:hl7-org:elm-types:r1}Integer", + "annotation": [] + } + } + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "false", + "annotation": [] + } + } + ] + } + }, + { + "name": "In1And12", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "In", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + }, + { + "type": "List", + "annotation": [], + "element": [ + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2", + "annotation": [] + } + ] + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "true", + "annotation": [] + } + } + ] + } + }, + { + "name": "In3And12", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "In", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "3", + "annotation": [] + }, + { + "type": "List", + "annotation": [], + "element": [ + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2", + "annotation": [] + } + ] + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "false", + "annotation": [] + } + } + ] + } + }, + { + "name": "InDateTimeTrue", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "In", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2012", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "5", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + } + }, + { + "type": "List", + "annotation": [], + "element": [ + { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2001", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "9", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "11", + "annotation": [] + } + }, + { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2012", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "5", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + } + }, + { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2014", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "12", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + } + } + ] + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "true", + "annotation": [] + } + } + ] + } + }, + { + "name": "InDateTimeFalse", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "In", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2012", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "6", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + } + }, + { + "type": "List", + "annotation": [], + "element": [ + { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2001", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "9", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "11", + "annotation": [] + } + }, + { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2012", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "5", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + } + }, + { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2014", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "12", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + } + } + ] + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "false", + "annotation": [] + } + } + ] + } + }, + { + "name": "InTimeTrue", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "In", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Time", + "annotation": [], + "signature": [], + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "15", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "999", + "annotation": [] + } + }, + { + "type": "List", + "annotation": [], + "element": [ + { + "type": "Time", + "annotation": [], + "signature": [], + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "29", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "15", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "156", + "annotation": [] + } + }, + { + "type": "Time", + "annotation": [], + "signature": [], + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "15", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "999", + "annotation": [] + } + }, + { + "type": "Time", + "annotation": [], + "signature": [], + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "20", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "999", + "annotation": [] + } + } + ] + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "true", + "annotation": [] + } + } + ] + } + }, + { + "name": "InTimeFalse", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "In", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Time", + "annotation": [], + "signature": [], + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "16", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "999", + "annotation": [] + } + }, + { + "type": "List", + "annotation": [], + "element": [ + { + "type": "Time", + "annotation": [], + "signature": [], + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "29", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "15", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "156", + "annotation": [] + } + }, + { + "type": "Time", + "annotation": [], + "signature": [], + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "15", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "999", + "annotation": [] + } + }, + { + "type": "Time", + "annotation": [], + "signature": [], + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "20", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "999", + "annotation": [] + } + } + ] + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "false", + "annotation": [] + } + } + ] + } + } + ] + } + }, + { + "name": "Includes", + "context": "Patient", + "accessLevel": "Public", + "annotation": [], + "expression": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "IncludesEmptyAndEmpty", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Includes", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "List", + "annotation": [], + "element": [] + }, + { + "type": "List", + "annotation": [], + "element": [] + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "true", + "annotation": [] + } + } + ] + } + }, + { + "name": "IncludesListNullAndListNull", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Includes", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "List", + "annotation": [], + "element": [ + { + "type": "Null", + "annotation": [] + } + ] + }, + { + "type": "List", + "annotation": [], + "element": [ + { + "type": "Null", + "annotation": [] + } + ] + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "true", + "annotation": [] + } + } + ] + } + }, + { + "name": "Includes123AndEmpty", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Includes", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "List", + "annotation": [], + "element": [ + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2", + "annotation": [] + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "3", + "annotation": [] + } + ] + }, + { + "type": "Query", + "annotation": [], + "source": [ + { + "alias": "X", + "annotation": [], + "expression": { + "type": "List", + "annotation": [], + "element": [] + } + } + ], + "let": [], + "relationship": [], + "return": { + "distinct": false, + "annotation": [], + "expression": { + "type": "As", + "asType": "{urn:hl7-org:elm-types:r1}Integer", + "annotation": [], + "signature": [], + "operand": { + "type": "AliasRef", + "name": "X", + "annotation": [] + } + } + } + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "true", + "annotation": [] + } + } + ] + } + }, + { + "name": "Includes123And2", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Includes", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "List", + "annotation": [], + "element": [ + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2", + "annotation": [] + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "3", + "annotation": [] + } + ] + }, + { + "type": "List", + "annotation": [], + "element": [ + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2", + "annotation": [] + } + ] + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "true", + "annotation": [] + } + } + ] + } + }, + { + "name": "Includes123And4", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Includes", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "List", + "annotation": [], + "element": [ + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2", + "annotation": [] + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "3", + "annotation": [] + } + ] + }, + { + "type": "List", + "annotation": [], + "element": [ + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "4", + "annotation": [] + } + ] + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "false", + "annotation": [] + } + } + ] + } + }, + { + "name": "IncludesDateTimeTrue", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Includes", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "List", + "annotation": [], + "element": [ + { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2001", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "9", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "11", + "annotation": [] + } + }, + { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2012", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "5", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + } + }, + { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2014", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "12", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + } + } + ] + }, + { + "type": "List", + "annotation": [], + "element": [ + { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2012", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "5", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + } + } + ] + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "true", + "annotation": [] + } + } + ] + } + }, + { + "name": "IncludesDateTimeFalse", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Includes", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "List", + "annotation": [], + "element": [ + { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2001", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "9", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "11", + "annotation": [] + } + }, + { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2012", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "5", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + } + }, + { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2014", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "12", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + } + } + ] + }, + { + "type": "List", + "annotation": [], + "element": [ + { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2012", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "5", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "11", + "annotation": [] + } + } + ] + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "false", + "annotation": [] + } + } + ] + } + }, + { + "name": "IncludesTimeTrue", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Contains", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "List", + "annotation": [], + "element": [ + { + "type": "Time", + "annotation": [], + "signature": [], + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "29", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "15", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "156", + "annotation": [] + } + }, + { + "type": "Time", + "annotation": [], + "signature": [], + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "15", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "999", + "annotation": [] + } + }, + { + "type": "Time", + "annotation": [], + "signature": [], + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "20", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "999", + "annotation": [] + } + } + ] + }, + { + "type": "Time", + "annotation": [], + "signature": [], + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "15", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "999", + "annotation": [] + } + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "true", + "annotation": [] + } + } + ] + } + }, + { + "name": "IncludesTimeFalse", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Contains", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "List", + "annotation": [], + "element": [ + { + "type": "Time", + "annotation": [], + "signature": [], + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "29", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "15", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "156", + "annotation": [] + } + }, + { + "type": "Time", + "annotation": [], + "signature": [], + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "15", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "999", + "annotation": [] + } + }, + { + "type": "Time", + "annotation": [], + "signature": [], + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "20", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "999", + "annotation": [] + } + } + ] + }, + { + "type": "Time", + "annotation": [], + "signature": [], + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "16", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "999", + "annotation": [] + } + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "false", + "annotation": [] + } + } + ] + } + }, + { + "name": "IncludesNullLeft", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Includes", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "As", + "annotation": [], + "signature": [], + "operand": { + "type": "Null", + "annotation": [] + }, + "asTypeSpecifier": { + "type": "ListTypeSpecifier", + "annotation": [], + "elementType": { + "type": "NamedTypeSpecifier", + "name": "{urn:hl7-org:elm-types:r1}Integer", + "annotation": [] + } + } + }, + { + "type": "List", + "annotation": [], + "element": [ + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2", + "annotation": [] + } + ] + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Null", + "annotation": [] + } + } + ] + } + }, + { + "name": "IncludesNullRight", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "skipped", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}String", + "value": "Treats null as point overload, translating to \"Contains\" operator, which has different semantics (and different result)", + "annotation": [] + } + } + ] + } + } + ] + } + }, + { + "name": "IncludedIn", + "context": "Patient", + "accessLevel": "Public", + "annotation": [], + "expression": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "IncludedInEmptyAndEmpty", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "IncludedIn", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "List", + "annotation": [], + "element": [] + }, + { + "type": "List", + "annotation": [], + "element": [] + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "true", + "annotation": [] + } + } + ] + } + }, + { + "name": "IncludedInListNullAndListNull", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "IncludedIn", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "List", + "annotation": [], + "element": [ + { + "type": "Null", + "annotation": [] + } + ] + }, + { + "type": "List", + "annotation": [], + "element": [ + { + "type": "Null", + "annotation": [] + } + ] + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "true", + "annotation": [] + } + } + ] + } + }, + { + "name": "IncludedInEmptyAnd123", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "IncludedIn", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "List", + "annotation": [], + "element": [] + }, + { + "type": "List", + "annotation": [], + "element": [ + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2", + "annotation": [] + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "3", + "annotation": [] + } + ] + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "true", + "annotation": [] + } + } + ] + } + }, + { + "name": "IncludedIn2And123", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "IncludedIn", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "List", + "annotation": [], + "element": [ + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2", + "annotation": [] + } + ] + }, + { + "type": "List", + "annotation": [], + "element": [ + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2", + "annotation": [] + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "3", + "annotation": [] + } + ] + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "true", + "annotation": [] + } + } + ] + } + }, + { + "name": "IncludedIn4And123", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "IncludedIn", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "List", + "annotation": [], + "element": [ + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "4", + "annotation": [] + } + ] + }, + { + "type": "List", + "annotation": [], + "element": [ + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2", + "annotation": [] + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "3", + "annotation": [] + } + ] + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "false", + "annotation": [] + } + } + ] + } + }, + { + "name": "IncludedInDateTimeTrue", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "IncludedIn", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "List", + "annotation": [], + "element": [ + { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2012", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "5", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + } + } + ] + }, + { + "type": "List", + "annotation": [], + "element": [ + { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2001", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "9", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "11", + "annotation": [] + } + }, + { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2012", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "5", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + } + }, + { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2014", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "12", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + } + } + ] + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "true", + "annotation": [] + } + } + ] + } + }, + { + "name": "IncludedInDateTimeFalse", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "IncludedIn", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "List", + "annotation": [], + "element": [ + { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2012", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "5", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "11", + "annotation": [] + } + } + ] + }, + { + "type": "List", + "annotation": [], + "element": [ + { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2001", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "9", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "11", + "annotation": [] + } + }, + { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2012", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "5", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + } + }, + { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2014", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "12", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + } + } + ] + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "false", + "annotation": [] + } + } + ] + } + }, + { + "name": "IncludedInTimeTrue", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "In", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Time", + "annotation": [], + "signature": [], + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "15", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "999", + "annotation": [] + } + }, + { + "type": "List", + "annotation": [], + "element": [ + { + "type": "Time", + "annotation": [], + "signature": [], + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "29", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "15", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "156", + "annotation": [] + } + }, + { + "type": "Time", + "annotation": [], + "signature": [], + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "15", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "999", + "annotation": [] + } + }, + { + "type": "Time", + "annotation": [], + "signature": [], + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "20", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "999", + "annotation": [] + } + } + ] + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "true", + "annotation": [] + } + } + ] + } + }, + { + "name": "IncludedInTimeFalse", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "In", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Time", + "annotation": [], + "signature": [], + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "16", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "999", + "annotation": [] + } + }, + { + "type": "List", + "annotation": [], + "element": [ + { + "type": "Time", + "annotation": [], + "signature": [], + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "29", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "15", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "156", + "annotation": [] + } + }, + { + "type": "Time", + "annotation": [], + "signature": [], + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "15", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "999", + "annotation": [] + } + }, + { + "type": "Time", + "annotation": [], + "signature": [], + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "20", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "999", + "annotation": [] + } + } + ] + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "false", + "annotation": [] + } + } + ] + } + }, + { + "name": "IncludedInNullLeft", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "skipped", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}String", + "value": "Treats null as point overload, translating to \"In\" operator, which has different semantics (and different result)", + "annotation": [] + } + } + ] + } + }, + { + "name": "IncludedInNullRight", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "skipped", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}String", + "value": "Converts included in to in, which has different semantics when second argument is null", + "annotation": [] + } + } + ] + } + } + ] + } + }, + { + "name": "Indexer", + "context": "Patient", + "accessLevel": "Public", + "annotation": [], + "expression": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "IndexerNull1List", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Indexer", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "As", + "strict": false, + "annotation": [], + "signature": [], + "operand": { + "type": "Null", + "annotation": [] + }, + "asTypeSpecifier": { + "type": "ListTypeSpecifier", + "annotation": [], + "elementType": { + "type": "NamedTypeSpecifier", + "name": "{urn:hl7-org:elm-types:r1}Any", + "annotation": [] + } + } + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Null", + "annotation": [] + } + } + ] + } + }, + { + "name": "Indexer0Of12", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Indexer", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "List", + "annotation": [], + "element": [ + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2", + "annotation": [] + } + ] + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + } + } + ] + } + }, + { + "name": "Indexer1Of12", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Indexer", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "List", + "annotation": [], + "element": [ + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2", + "annotation": [] + } + ] + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2", + "annotation": [] + } + } + ] + } + }, + { + "name": "Indexer2Of12", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Indexer", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "List", + "annotation": [], + "element": [ + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2", + "annotation": [] + } + ] + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2", + "annotation": [] + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Null", + "annotation": [] + } + } + ] + } + }, + { + "name": "IndexerNeg1Of12", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Indexer", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "List", + "annotation": [], + "element": [ + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2", + "annotation": [] + } + ] + }, + { + "type": "Negate", + "annotation": [], + "signature": [], + "operand": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + } + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Null", + "annotation": [] + } + } + ] + } + }, + { + "name": "IndexerDateTime", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Indexer", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "List", + "annotation": [], + "element": [ + { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2001", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "9", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "11", + "annotation": [] + } + }, + { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2012", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "5", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + } + }, + { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2014", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "12", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + } + } + ] + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + } + ] + } + }, + { + "name": "output", + "value": { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2012", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "5", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + } + } + } + ] + } + }, + { + "name": "IndexerTime", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Indexer", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "List", + "annotation": [], + "element": [ + { + "type": "Time", + "annotation": [], + "signature": [], + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "29", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "15", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "156", + "annotation": [] + } + }, + { + "type": "Time", + "annotation": [], + "signature": [], + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "15", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "999", + "annotation": [] + } + }, + { + "type": "Time", + "annotation": [], + "signature": [], + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "20", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "999", + "annotation": [] + } + } + ] + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Time", + "annotation": [], + "signature": [], + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "15", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "999", + "annotation": [] + } + } + } + ] + } + } + ] + } + }, + { + "name": "IndexOf", + "context": "Patient", + "accessLevel": "Public", + "annotation": [], + "expression": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "IndexOfEmptyNull", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "IndexOf", + "annotation": [], + "signature": [], + "source": { + "type": "List", + "annotation": [], + "element": [] + }, + "element": { + "type": "Null", + "annotation": [] + } + } + }, + { + "name": "output", + "value": { + "type": "Null", + "annotation": [] + } + } + ] + } + }, + { + "name": "IndexOfNullEmpty", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "IndexOf", + "annotation": [], + "signature": [], + "source": { + "type": "As", + "annotation": [], + "signature": [], + "operand": { + "type": "Null", + "annotation": [] + }, + "asTypeSpecifier": { + "type": "ListTypeSpecifier", + "annotation": [], + "elementType": { + "type": "NamedTypeSpecifier", + "name": "{urn:hl7-org:elm-types:r1}Any", + "annotation": [] + } + } + }, + "element": { + "type": "List", + "annotation": [], + "element": [] + } + } + }, + { + "name": "output", + "value": { + "type": "Null", + "annotation": [] + } + } + ] + } + }, + { + "name": "IndexOfNullIn1Null", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "IndexOf", + "annotation": [], + "signature": [], + "source": { + "type": "List", + "annotation": [], + "element": [ + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + }, + { + "type": "As", + "asType": "{urn:hl7-org:elm-types:r1}Integer", + "annotation": [], + "signature": [], + "operand": { + "type": "Null", + "annotation": [] + } + } + ] + }, + "element": { + "type": "As", + "asType": "{urn:hl7-org:elm-types:r1}Integer", + "annotation": [], + "signature": [], + "operand": { + "type": "Null", + "annotation": [] + } + } + } + }, + { + "name": "output", + "value": { + "type": "Null", + "annotation": [] + } + } + ] + } + }, + { + "name": "IndexOf1In12", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "IndexOf", + "annotation": [], + "signature": [], + "source": { + "type": "List", + "annotation": [], + "element": [ + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2", + "annotation": [] + } + ] + }, + "element": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + } + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + } + } + ] + } + }, + { + "name": "IndexOf2In12", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "IndexOf", + "annotation": [], + "signature": [], + "source": { + "type": "List", + "annotation": [], + "element": [ + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2", + "annotation": [] + } + ] + }, + "element": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2", + "annotation": [] + } + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + } + } + ] + } + }, + { + "name": "IndexOf3In12", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "IndexOf", + "annotation": [], + "signature": [], + "source": { + "type": "List", + "annotation": [], + "element": [ + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2", + "annotation": [] + } + ] + }, + "element": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "3", + "annotation": [] + } + } + }, + { + "name": "output", + "value": { + "type": "Negate", + "annotation": [], + "signature": [], + "operand": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + } + } + } + ] + } + }, + { + "name": "IndexOfDateTime", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "IndexOf", + "annotation": [], + "signature": [], + "source": { + "type": "List", + "annotation": [], + "element": [ + { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2001", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "9", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "11", + "annotation": [] + } + }, + { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2012", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "5", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + } + }, + { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2014", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "12", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + } + } + ] + }, + "element": { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2014", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "12", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + } + } + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2", + "annotation": [] + } + } + ] + } + }, + { + "name": "IndexOfTime", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "IndexOf", + "annotation": [], + "signature": [], + "source": { + "type": "List", + "annotation": [], + "element": [ + { + "type": "Time", + "annotation": [], + "signature": [], + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "29", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "15", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "156", + "annotation": [] + } + }, + { + "type": "Time", + "annotation": [], + "signature": [], + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "15", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "999", + "annotation": [] + } + }, + { + "type": "Time", + "annotation": [], + "signature": [], + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "20", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "999", + "annotation": [] + } + } + ] + }, + "element": { + "type": "Time", + "annotation": [], + "signature": [], + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "15", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "999", + "annotation": [] + } + } + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + } + } + ] + } + } + ] + } + }, + { + "name": "Intersect", + "context": "Patient", + "accessLevel": "Public", + "annotation": [], + "expression": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "IntersectEmptyListAndEmptyList", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Intersect", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "List", + "annotation": [], + "element": [] + }, + { + "type": "List", + "annotation": [], + "element": [] + } + ] + } + }, + { + "name": "output", + "value": { + "type": "List", + "annotation": [], + "element": [] + } + } + ] + } + }, + { + "name": "Intersect1234And23", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Intersect", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "List", + "annotation": [], + "element": [ + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2", + "annotation": [] + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "3", + "annotation": [] + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "4", + "annotation": [] + } + ] + }, + { + "type": "List", + "annotation": [], + "element": [ + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2", + "annotation": [] + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "3", + "annotation": [] + } + ] + } + ] + } + }, + { + "name": "output", + "value": { + "type": "List", + "annotation": [], + "element": [ + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2", + "annotation": [] + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "3", + "annotation": [] + } + ] + } + } + ] + } + }, + { + "name": "Intersect23And1234", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Intersect", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "List", + "annotation": [], + "element": [ + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2", + "annotation": [] + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "3", + "annotation": [] + } + ] + }, + { + "type": "List", + "annotation": [], + "element": [ + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2", + "annotation": [] + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "3", + "annotation": [] + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "4", + "annotation": [] + } + ] + } + ] + } + }, + { + "name": "output", + "value": { + "type": "List", + "annotation": [], + "element": [ + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2", + "annotation": [] + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "3", + "annotation": [] + } + ] + } + } + ] + } + }, + { + "name": "IntersectDateTime", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Intersect", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "List", + "annotation": [], + "element": [ + { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2001", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "9", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "11", + "annotation": [] + } + }, + { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2012", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "5", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + } + }, + { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2014", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "12", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + } + } + ] + }, + { + "type": "List", + "annotation": [], + "element": [ + { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2012", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "5", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + } + }, + { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2014", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "12", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + } + }, + { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2000", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "5", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "5", + "annotation": [] + } + } + ] + } + ] + } + }, + { + "name": "output", + "value": { + "type": "List", + "annotation": [], + "element": [ + { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2012", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "5", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + } + }, + { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2014", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "12", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + } + } + ] + } + } + ] + } + }, + { + "name": "IntersectTime", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Intersect", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "List", + "annotation": [], + "element": [ + { + "type": "Time", + "annotation": [], + "signature": [], + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "29", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "15", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "156", + "annotation": [] + } + }, + { + "type": "Time", + "annotation": [], + "signature": [], + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "15", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "999", + "annotation": [] + } + }, + { + "type": "Time", + "annotation": [], + "signature": [], + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "20", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "999", + "annotation": [] + } + } + ] + }, + { + "type": "List", + "annotation": [], + "element": [ + { + "type": "Time", + "annotation": [], + "signature": [], + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "29", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "15", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "156", + "annotation": [] + } + }, + { + "type": "Time", + "annotation": [], + "signature": [], + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "15", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "999", + "annotation": [] + } + }, + { + "type": "Time", + "annotation": [], + "signature": [], + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "20", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "999", + "annotation": [] + } + } + ] + } + ] + } + }, + { + "name": "output", + "value": { + "type": "List", + "annotation": [], + "element": [ + { + "type": "Time", + "annotation": [], + "signature": [], + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "15", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "999", + "annotation": [] + } + }, + { + "type": "Time", + "annotation": [], + "signature": [], + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "20", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "999", + "annotation": [] + } + } + ] + } + } + ] + } + } + ] + } + }, + { + "name": "Last", + "context": "Patient", + "accessLevel": "Public", + "annotation": [], + "expression": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "LastEmpty", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Last", + "annotation": [], + "signature": [], + "source": { + "type": "List", + "annotation": [], + "element": [] + } + } + }, + { + "name": "output", + "value": { + "type": "Null", + "annotation": [] + } + } + ] + } + }, + { + "name": "LastNull1", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Last", + "annotation": [], + "signature": [], + "source": { + "type": "List", + "annotation": [], + "element": [ + { + "type": "As", + "asType": "{urn:hl7-org:elm-types:r1}Integer", + "annotation": [], + "signature": [], + "operand": { + "type": "Null", + "annotation": [] + } + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + } + ] + } + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + } + } + ] + } + }, + { + "name": "Last1Null", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Last", + "annotation": [], + "signature": [], + "source": { + "type": "List", + "annotation": [], + "element": [ + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + }, + { + "type": "As", + "asType": "{urn:hl7-org:elm-types:r1}Integer", + "annotation": [], + "signature": [], + "operand": { + "type": "Null", + "annotation": [] + } + } + ] + } + } + }, + { + "name": "output", + "value": { + "type": "Null", + "annotation": [] + } + } + ] + } + }, + { + "name": "Last12", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Last", + "annotation": [], + "signature": [], + "source": { + "type": "List", + "annotation": [], + "element": [ + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2", + "annotation": [] + } + ] + } + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2", + "annotation": [] + } + } + ] + } + }, + { + "name": "LastDateTime", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Last", + "annotation": [], + "signature": [], + "source": { + "type": "List", + "annotation": [], + "element": [ + { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2012", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "5", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + } + }, + { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2014", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "12", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + } + } + ] + } + } + }, + { + "name": "output", + "value": { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2014", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "12", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + } + } + } + ] + } + }, + { + "name": "LastTime", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Last", + "annotation": [], + "signature": [], + "source": { + "type": "List", + "annotation": [], + "element": [ + { + "type": "Time", + "annotation": [], + "signature": [], + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "15", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "999", + "annotation": [] + } + }, + { + "type": "Time", + "annotation": [], + "signature": [], + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "20", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "999", + "annotation": [] + } + } + ] + } + } + }, + { + "name": "output", + "value": { + "type": "Time", + "annotation": [], + "signature": [], + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "20", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "999", + "annotation": [] + } + } + } + ] + } + } + ] + } + }, + { + "name": "Length", + "context": "Patient", + "accessLevel": "Public", + "annotation": [], + "expression": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "LengthEmptyList", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Length", + "annotation": [], + "signature": [], + "operand": { + "type": "List", + "annotation": [], + "element": [] + } + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + } + } + ] + } + }, + { + "name": "LengthNull1", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Length", + "annotation": [], + "signature": [], + "operand": { + "type": "List", + "annotation": [], + "element": [ + { + "type": "As", + "asType": "{urn:hl7-org:elm-types:r1}Integer", + "annotation": [], + "signature": [], + "operand": { + "type": "Null", + "annotation": [] + } + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + } + ] + } + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2", + "annotation": [] + } + } + ] + } + }, + { + "name": "Length1Null", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Length", + "annotation": [], + "signature": [], + "operand": { + "type": "List", + "annotation": [], + "element": [ + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + }, + { + "type": "As", + "asType": "{urn:hl7-org:elm-types:r1}Integer", + "annotation": [], + "signature": [], + "operand": { + "type": "Null", + "annotation": [] + } + } + ] + } + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2", + "annotation": [] + } + } + ] + } + }, + { + "name": "Length12", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Length", + "annotation": [], + "signature": [], + "operand": { + "type": "List", + "annotation": [], + "element": [ + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2", + "annotation": [] + } + ] + } + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2", + "annotation": [] + } + } + ] + } + }, + { + "name": "LengthDateTime", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Length", + "annotation": [], + "signature": [], + "operand": { + "type": "List", + "annotation": [], + "element": [ + { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2001", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "9", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "11", + "annotation": [] + } + }, + { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2012", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "5", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + } + }, + { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2014", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "12", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + } + } + ] + } + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "3", + "annotation": [] + } + } + ] + } + }, + { + "name": "LengthTime", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Length", + "annotation": [], + "signature": [], + "operand": { + "type": "List", + "annotation": [], + "element": [ + { + "type": "Time", + "annotation": [], + "signature": [], + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "15", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "999", + "annotation": [] + } + }, + { + "type": "Time", + "annotation": [], + "signature": [], + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "20", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "999", + "annotation": [] + } + }, + { + "type": "Time", + "annotation": [], + "signature": [], + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "15", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "999", + "annotation": [] + } + }, + { + "type": "Time", + "annotation": [], + "signature": [], + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "20", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "999", + "annotation": [] + } + }, + { + "type": "Time", + "annotation": [], + "signature": [], + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "15", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "999", + "annotation": [] + } + }, + { + "type": "Time", + "annotation": [], + "signature": [], + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "20", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "999", + "annotation": [] + } + } + ] + } + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "6", + "annotation": [] + } + } + ] + } + }, + { + "name": "LengthNullList", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Length", + "annotation": [], + "signature": [], + "operand": { + "type": "As", + "strict": false, + "annotation": [], + "signature": [], + "operand": { + "type": "Null", + "annotation": [] + }, + "asTypeSpecifier": { + "type": "ListTypeSpecifier", + "annotation": [], + "elementType": { + "type": "NamedTypeSpecifier", + "name": "{urn:hl7-org:elm-types:r1}Any", + "annotation": [] + } + } + } + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + } + } + ] + } + } + ] + } + }, + { + "name": "Equivalent", + "context": "Patient", + "accessLevel": "Public", + "annotation": [], + "expression": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "EquivalentEmptyAndEmpty", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Equivalent", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "List", + "annotation": [], + "element": [] + }, + { + "type": "List", + "annotation": [], + "element": [] + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "true", + "annotation": [] + } + } + ] + } + }, + { + "name": "EquivalentABCAndABC", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Equivalent", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "List", + "annotation": [], + "element": [ + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}String", + "value": "a", + "annotation": [] + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}String", + "value": "b", + "annotation": [] + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}String", + "value": "c", + "annotation": [] + } + ] + }, + { + "type": "List", + "annotation": [], + "element": [ + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}String", + "value": "a", + "annotation": [] + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}String", + "value": "b", + "annotation": [] + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}String", + "value": "c", + "annotation": [] + } + ] + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "true", + "annotation": [] + } + } + ] + } + }, + { + "name": "EquivalentABCAndAB", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Equivalent", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "List", + "annotation": [], + "element": [ + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}String", + "value": "a", + "annotation": [] + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}String", + "value": "b", + "annotation": [] + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}String", + "value": "c", + "annotation": [] + } + ] + }, + { + "type": "List", + "annotation": [], + "element": [ + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}String", + "value": "a", + "annotation": [] + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}String", + "value": "b", + "annotation": [] + } + ] + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "false", + "annotation": [] + } + } + ] + } + }, + { + "name": "EquivalentABCAnd123", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Equivalent", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "List", + "annotation": [], + "element": [ + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}String", + "value": "a", + "annotation": [] + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}String", + "value": "b", + "annotation": [] + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}String", + "value": "c", + "annotation": [] + } + ] + }, + { + "type": "List", + "annotation": [], + "element": [ + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2", + "annotation": [] + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "3", + "annotation": [] + } + ] + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "false", + "annotation": [] + } + } + ] + } + }, + { + "name": "Equivalent123AndABC", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Equivalent", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "List", + "annotation": [], + "element": [ + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2", + "annotation": [] + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "3", + "annotation": [] + } + ] + }, + { + "type": "List", + "annotation": [], + "element": [ + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}String", + "value": "a", + "annotation": [] + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}String", + "value": "b", + "annotation": [] + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}String", + "value": "c", + "annotation": [] + } + ] + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "false", + "annotation": [] + } + } + ] + } + }, + { + "name": "Equivalent123AndString123", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Equivalent", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "List", + "annotation": [], + "element": [ + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2", + "annotation": [] + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "3", + "annotation": [] + } + ] + }, + { + "type": "List", + "annotation": [], + "element": [ + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}String", + "value": "1", + "annotation": [] + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}String", + "value": "2", + "annotation": [] + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}String", + "value": "3", + "annotation": [] + } + ] + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "false", + "annotation": [] + } + } + ] + } + }, + { + "name": "EquivalentDateTimeTrue", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Equivalent", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "List", + "annotation": [], + "element": [ + { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2001", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "9", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "11", + "annotation": [] + } + }, + { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2012", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "5", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + } + }, + { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2014", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "12", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + } + }, + { + "type": "As", + "asType": "{urn:hl7-org:elm-types:r1}DateTime", + "annotation": [], + "signature": [], + "operand": { + "type": "Null", + "annotation": [] + } + } + ] + }, + { + "type": "List", + "annotation": [], + "element": [ + { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2001", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "9", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "11", + "annotation": [] + } + }, + { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2012", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "5", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + } + }, + { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2014", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "12", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + } + }, + { + "type": "As", + "asType": "{urn:hl7-org:elm-types:r1}DateTime", + "annotation": [], + "signature": [], + "operand": { + "type": "Null", + "annotation": [] + } + } + ] + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "true", + "annotation": [] + } + } + ] + } + }, + { + "name": "EquivalentDateTimeNull", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Equivalent", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "List", + "annotation": [], + "element": [ + { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2001", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "9", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "11", + "annotation": [] + } + }, + { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2012", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "5", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + } + }, + { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2014", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "12", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + } + } + ] + }, + { + "type": "List", + "annotation": [], + "element": [ + { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2001", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "9", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "11", + "annotation": [] + } + }, + { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2012", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "5", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + } + }, + { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2014", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "12", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + } + }, + { + "type": "As", + "asType": "{urn:hl7-org:elm-types:r1}DateTime", + "annotation": [], + "signature": [], + "operand": { + "type": "Null", + "annotation": [] + } + } + ] + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "false", + "annotation": [] + } + } + ] + } + }, + { + "name": "EquivalentDateTimeFalse", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Equivalent", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "List", + "annotation": [], + "element": [ + { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2001", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "9", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "11", + "annotation": [] + } + }, + { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2012", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "5", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + } + }, + { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2014", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "12", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + } + } + ] + }, + { + "type": "List", + "annotation": [], + "element": [ + { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2001", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "9", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "11", + "annotation": [] + } + }, + { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2012", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "5", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + } + }, + { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2014", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "12", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + } + } + ] + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "false", + "annotation": [] + } + } + ] + } + }, + { + "name": "EquivalentTimeTrue", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Equivalent", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "List", + "annotation": [], + "element": [ + { + "type": "Time", + "annotation": [], + "signature": [], + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "15", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "999", + "annotation": [] + } + }, + { + "type": "Time", + "annotation": [], + "signature": [], + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "20", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "999", + "annotation": [] + } + } + ] + }, + { + "type": "List", + "annotation": [], + "element": [ + { + "type": "Time", + "annotation": [], + "signature": [], + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "15", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "999", + "annotation": [] + } + }, + { + "type": "Time", + "annotation": [], + "signature": [], + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "20", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "999", + "annotation": [] + } + } + ] + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "true", + "annotation": [] + } + } + ] + } + }, + { + "name": "EquivalentTimeNull", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Equivalent", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "List", + "annotation": [], + "element": [ + { + "type": "Time", + "annotation": [], + "signature": [], + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "15", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "999", + "annotation": [] + } + }, + { + "type": "Time", + "annotation": [], + "signature": [], + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "20", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "999", + "annotation": [] + } + } + ] + }, + { + "type": "List", + "annotation": [], + "element": [ + { + "type": "Time", + "annotation": [], + "signature": [], + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "15", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "999", + "annotation": [] + } + }, + { + "type": "Time", + "annotation": [], + "signature": [], + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "20", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "999", + "annotation": [] + } + }, + { + "type": "As", + "asType": "{urn:hl7-org:elm-types:r1}Time", + "annotation": [], + "signature": [], + "operand": { + "type": "Null", + "annotation": [] + } + } + ] + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "false", + "annotation": [] + } + } + ] + } + }, + { + "name": "EquivalentTimeFalse", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Equivalent", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "List", + "annotation": [], + "element": [ + { + "type": "Time", + "annotation": [], + "signature": [], + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "15", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "999", + "annotation": [] + } + }, + { + "type": "Time", + "annotation": [], + "signature": [], + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "20", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "999", + "annotation": [] + } + } + ] + }, + { + "type": "List", + "annotation": [], + "element": [ + { + "type": "Time", + "annotation": [], + "signature": [], + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "15", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "999", + "annotation": [] + } + }, + { + "type": "Time", + "annotation": [], + "signature": [], + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "20", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "995", + "annotation": [] + } + } + ] + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "false", + "annotation": [] + } + } + ] + } + } + ] + } + }, + { + "name": "NotEqual", + "context": "Patient", + "accessLevel": "Public", + "annotation": [], + "expression": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "NotEqualEmptyAndEmpty", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Not", + "annotation": [], + "signature": [], + "operand": { + "type": "Equal", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "List", + "annotation": [], + "element": [] + }, + { + "type": "List", + "annotation": [], + "element": [] + } + ] + } + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "false", + "annotation": [] + } + } + ] + } + }, + { + "name": "NotEqualABCAndABC", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Not", + "annotation": [], + "signature": [], + "operand": { + "type": "Equal", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "List", + "annotation": [], + "element": [ + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}String", + "value": "a", + "annotation": [] + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}String", + "value": "b", + "annotation": [] + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}String", + "value": "c", + "annotation": [] + } + ] + }, + { + "type": "List", + "annotation": [], + "element": [ + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}String", + "value": "a", + "annotation": [] + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}String", + "value": "b", + "annotation": [] + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}String", + "value": "c", + "annotation": [] + } + ] + } + ] + } + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "false", + "annotation": [] + } + } + ] + } + }, + { + "name": "NotEqualABCAndAB", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Not", + "annotation": [], + "signature": [], + "operand": { + "type": "Equal", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "List", + "annotation": [], + "element": [ + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}String", + "value": "a", + "annotation": [] + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}String", + "value": "b", + "annotation": [] + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}String", + "value": "c", + "annotation": [] + } + ] + }, + { + "type": "List", + "annotation": [], + "element": [ + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}String", + "value": "a", + "annotation": [] + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}String", + "value": "b", + "annotation": [] + } + ] + } + ] + } + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "true", + "annotation": [] + } + } + ] + } + }, + { + "name": "NotEqualABCAnd123", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Not", + "annotation": [], + "signature": [], + "operand": { + "type": "Equal", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "List", + "annotation": [], + "element": [ + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}String", + "value": "a", + "annotation": [] + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}String", + "value": "b", + "annotation": [] + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}String", + "value": "c", + "annotation": [] + } + ] + }, + { + "type": "List", + "annotation": [], + "element": [ + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2", + "annotation": [] + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "3", + "annotation": [] + } + ] + } + ] + } + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "true", + "annotation": [] + } + } + ] + } + }, + { + "name": "NotEqual123AndABC", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Not", + "annotation": [], + "signature": [], + "operand": { + "type": "Equal", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "List", + "annotation": [], + "element": [ + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2", + "annotation": [] + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "3", + "annotation": [] + } + ] + }, + { + "type": "List", + "annotation": [], + "element": [ + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}String", + "value": "a", + "annotation": [] + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}String", + "value": "b", + "annotation": [] + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}String", + "value": "c", + "annotation": [] + } + ] + } + ] + } + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "true", + "annotation": [] + } + } + ] + } + }, + { + "name": "NotEqual123AndString123", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Not", + "annotation": [], + "signature": [], + "operand": { + "type": "Equal", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "List", + "annotation": [], + "element": [ + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2", + "annotation": [] + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "3", + "annotation": [] + } + ] + }, + { + "type": "List", + "annotation": [], + "element": [ + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}String", + "value": "1", + "annotation": [] + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}String", + "value": "2", + "annotation": [] + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}String", + "value": "3", + "annotation": [] + } + ] + } + ] + } + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "true", + "annotation": [] + } + } + ] + } + }, + { + "name": "NotEqualDateTimeTrue", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Not", + "annotation": [], + "signature": [], + "operand": { + "type": "Equal", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "List", + "annotation": [], + "element": [ + { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2001", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "9", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "11", + "annotation": [] + }, + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + } + }, + { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2012", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "5", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + }, + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + } + }, + { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2014", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "12", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + }, + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + } + } + ] + }, + { + "type": "List", + "annotation": [], + "element": [ + { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2001", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "9", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "11", + "annotation": [] + }, + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + } + }, + { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2012", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "5", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + }, + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + } + }, + { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2014", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "12", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + }, + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + } + } + ] + } + ] + } + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "true", + "annotation": [] + } + } + ] + } + }, + { + "name": "NotEqualDateTimeFalse", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Not", + "annotation": [], + "signature": [], + "operand": { + "type": "Equal", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "List", + "annotation": [], + "element": [ + { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2001", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "9", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "11", + "annotation": [] + }, + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + } + }, + { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2012", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "5", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + }, + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + } + }, + { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2014", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "12", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + }, + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + } + } + ] + }, + { + "type": "List", + "annotation": [], + "element": [ + { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2001", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "9", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "11", + "annotation": [] + }, + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + } + }, + { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2012", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "5", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + }, + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + } + }, + { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2014", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "12", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + }, + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + } + } + ] + } + ] + } + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "false", + "annotation": [] + } + } + ] + } + }, + { + "name": "NotEqualTimeTrue", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Equal", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "List", + "annotation": [], + "element": [ + { + "type": "Time", + "annotation": [], + "signature": [], + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "15", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "999", + "annotation": [] + } + }, + { + "type": "Time", + "annotation": [], + "signature": [], + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "20", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "999", + "annotation": [] + } + } + ] + }, + { + "type": "List", + "annotation": [], + "element": [ + { + "type": "Time", + "annotation": [], + "signature": [], + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "15", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "999", + "annotation": [] + } + }, + { + "type": "Time", + "annotation": [], + "signature": [], + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "20", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "999", + "annotation": [] + } + } + ] + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "true", + "annotation": [] + } + } + ] + } + }, + { + "name": "NotEqualTimeFalse", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Equal", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "List", + "annotation": [], + "element": [ + { + "type": "Time", + "annotation": [], + "signature": [], + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "15", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "999", + "annotation": [] + } + }, + { + "type": "Time", + "annotation": [], + "signature": [], + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "20", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "999", + "annotation": [] + } + } + ] + }, + { + "type": "List", + "annotation": [], + "element": [ + { + "type": "Time", + "annotation": [], + "signature": [], + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "15", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "999", + "annotation": [] + } + }, + { + "type": "Time", + "annotation": [], + "signature": [], + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "20", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "49", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "999", + "annotation": [] + } + } + ] + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "false", + "annotation": [] + } + } + ] + } + } + ] + } + }, + { + "name": "ProperContains", + "context": "Patient", + "accessLevel": "Public", + "annotation": [], + "expression": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "ProperContainsNullRightFalse", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "skipped", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}String", + "value": "ProperContains not implemented", + "annotation": [] + } + } + ] + } + }, + { + "name": "ProperContainsNullRightTrue", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "skipped", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}String", + "value": "ProperContains not implemented", + "annotation": [] + } + } + ] + } + }, + { + "name": "ProperContainsTimeTrue", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "skipped", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}String", + "value": "ProperContains not implemented", + "annotation": [] + } + } + ] + } + }, + { + "name": "ProperContainsTimeNull", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "skipped", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}String", + "value": "ProperContains not implemented", + "annotation": [] + } + } + ] + } + } + ] + } + }, + { + "name": "ProperIn", + "context": "Patient", + "accessLevel": "Public", + "annotation": [], + "expression": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "ProperInNullRightFalse", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "skipped", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}String", + "value": "ProperIn not implemented", + "annotation": [] + } + } + ] + } + }, + { + "name": "ProperInNullRightTrue", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "skipped", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}String", + "value": "ProperIn not implemented", + "annotation": [] + } + } + ] + } + }, + { + "name": "ProperInTimeTrue", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "skipped", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}String", + "value": "ProperIn not implemented", + "annotation": [] + } + } + ] + } + }, + { + "name": "ProperInTimeNull", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "skipped", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}String", + "value": "ProperIn not implemented", + "annotation": [] + } + } + ] + } + } + ] + } + }, + { + "name": "ProperlyIncludes", + "context": "Patient", + "accessLevel": "Public", + "annotation": [], + "expression": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "ProperIncludesEmptyAndEmpty", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "ProperIncludes", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "List", + "annotation": [], + "element": [] + }, + { + "type": "List", + "annotation": [], + "element": [] + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "false", + "annotation": [] + } + } + ] + } + }, + { + "name": "ProperIncludesListNullAndListNull", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "ProperIncludes", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "List", + "annotation": [], + "element": [ + { + "type": "Null", + "annotation": [] + } + ] + }, + { + "type": "List", + "annotation": [], + "element": [ + { + "type": "Null", + "annotation": [] + } + ] + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "false", + "annotation": [] + } + } + ] + } + }, + { + "name": "ProperIncludes123AndEmpty", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "ProperIncludes", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "List", + "annotation": [], + "element": [ + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2", + "annotation": [] + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "3", + "annotation": [] + } + ] + }, + { + "type": "Query", + "annotation": [], + "source": [ + { + "alias": "X", + "annotation": [], + "expression": { + "type": "List", + "annotation": [], + "element": [] + } + } + ], + "let": [], + "relationship": [], + "return": { + "distinct": false, + "annotation": [], + "expression": { + "type": "As", + "asType": "{urn:hl7-org:elm-types:r1}Integer", + "annotation": [], + "signature": [], + "operand": { + "type": "AliasRef", + "name": "X", + "annotation": [] + } + } + } + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "true", + "annotation": [] + } + } + ] + } + }, + { + "name": "ProperIncludes123And2", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "ProperIncludes", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "List", + "annotation": [], + "element": [ + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2", + "annotation": [] + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "3", + "annotation": [] + } + ] + }, + { + "type": "List", + "annotation": [], + "element": [ + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2", + "annotation": [] + } + ] + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "true", + "annotation": [] + } + } + ] + } + }, + { + "name": "ProperIncludes123And4", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "ProperIncludes", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "List", + "annotation": [], + "element": [ + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2", + "annotation": [] + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "3", + "annotation": [] + } + ] + }, + { + "type": "List", + "annotation": [], + "element": [ + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "4", + "annotation": [] + } + ] + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "false", + "annotation": [] + } + } + ] + } + }, + { + "name": "ProperIncludesDateTimeTrue", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "ProperIncludes", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "List", + "annotation": [], + "element": [ + { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2001", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "9", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "11", + "annotation": [] + } + }, + { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2012", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "5", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + } + }, + { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2014", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "12", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + } + } + ] + }, + { + "type": "List", + "annotation": [], + "element": [ + { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2012", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "5", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + } + }, + { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2014", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "12", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + } + } + ] + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "true", + "annotation": [] + } + } + ] + } + }, + { + "name": "ProperIncludesDateTimeFalse", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "ProperIncludes", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "List", + "annotation": [], + "element": [ + { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2001", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "9", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "11", + "annotation": [] + } + }, + { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2012", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "5", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + } + }, + { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2014", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "12", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + } + } + ] + }, + { + "type": "List", + "annotation": [], + "element": [ + { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2001", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "9", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "11", + "annotation": [] + } + }, + { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2012", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "5", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + } + }, + { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2014", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "12", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + } + } + ] + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "false", + "annotation": [] + } + } + ] + } + }, + { + "name": "ProperIncludesTimeTrue", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "ProperIncludes", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "List", + "annotation": [], + "element": [ + { + "type": "Time", + "annotation": [], + "signature": [], + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "15", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "999", + "annotation": [] + } + }, + { + "type": "Time", + "annotation": [], + "signature": [], + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "20", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "999", + "annotation": [] + } + }, + { + "type": "Time", + "annotation": [], + "signature": [], + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "20", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "49", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "999", + "annotation": [] + } + } + ] + }, + { + "type": "List", + "annotation": [], + "element": [ + { + "type": "Time", + "annotation": [], + "signature": [], + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "15", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "999", + "annotation": [] + } + }, + { + "type": "Time", + "annotation": [], + "signature": [], + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "20", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "999", + "annotation": [] + } + } + ] + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "true", + "annotation": [] + } + } + ] + } + }, + { + "name": "ProperIncludesTimeFalse", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "ProperIncludes", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "List", + "annotation": [], + "element": [ + { + "type": "Time", + "annotation": [], + "signature": [], + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "15", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "999", + "annotation": [] + } + }, + { + "type": "Time", + "annotation": [], + "signature": [], + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "20", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "999", + "annotation": [] + } + }, + { + "type": "Time", + "annotation": [], + "signature": [], + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "20", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "49", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "999", + "annotation": [] + } + } + ] + }, + { + "type": "List", + "annotation": [], + "element": [ + { + "type": "Time", + "annotation": [], + "signature": [], + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "15", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "999", + "annotation": [] + } + }, + { + "type": "Time", + "annotation": [], + "signature": [], + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "20", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "999", + "annotation": [] + } + }, + { + "type": "Time", + "annotation": [], + "signature": [], + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "14", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "22", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "999", + "annotation": [] + } + } + ] + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "false", + "annotation": [] + } + } + ] + } + }, + { + "name": "ProperlyIncludesNullLeft", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "ProperIncludes", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "As", + "annotation": [], + "signature": [], + "operand": { + "type": "Null", + "annotation": [] + }, + "asTypeSpecifier": { + "type": "ListTypeSpecifier", + "annotation": [], + "elementType": { + "type": "NamedTypeSpecifier", + "name": "{urn:hl7-org:elm-types:r1}Integer", + "annotation": [] + } + } + }, + { + "type": "List", + "annotation": [], + "element": [ + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2", + "annotation": [] + } + ] + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Null", + "annotation": [] + } + } + ] + } + } + ] + } + }, + { + "name": "ProperlyIncludedIn", + "context": "Patient", + "accessLevel": "Public", + "annotation": [], + "expression": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "ProperIncludedInEmptyAndEmpty", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "ProperIncludedIn", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "List", + "annotation": [], + "element": [] + }, + { + "type": "List", + "annotation": [], + "element": [] + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "false", + "annotation": [] + } + } + ] + } + }, + { + "name": "ProperIncludedInListNullAndListNull", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "ProperIncludedIn", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "List", + "annotation": [], + "element": [ + { + "type": "Null", + "annotation": [] + } + ] + }, + { + "type": "List", + "annotation": [], + "element": [ + { + "type": "Null", + "annotation": [] + } + ] + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "false", + "annotation": [] + } + } + ] + } + }, + { + "name": "ProperIncludedInEmptyAnd123", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "ProperIncludedIn", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "List", + "annotation": [], + "element": [] + }, + { + "type": "List", + "annotation": [], + "element": [ + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2", + "annotation": [] + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "3", + "annotation": [] + } + ] + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "true", + "annotation": [] + } + } + ] + } + }, + { + "name": "ProperIncludedIn2And123", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "ProperIncludedIn", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "List", + "annotation": [], + "element": [ + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2", + "annotation": [] + } + ] + }, + { + "type": "List", + "annotation": [], + "element": [ + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2", + "annotation": [] + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "3", + "annotation": [] + } + ] + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "true", + "annotation": [] + } + } + ] + } + }, + { + "name": "ProperIncludedIn4And123", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "ProperIncludedIn", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "List", + "annotation": [], + "element": [ + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "4", + "annotation": [] + } + ] + }, + { + "type": "List", + "annotation": [], + "element": [ + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2", + "annotation": [] + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "3", + "annotation": [] } - } ] - } - }, { - "name" : "output", - "value" : { - "type" : "Null", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "IndexerDateTime", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Indexer", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "type" : "List", - "annotation" : [ ], - "element" : [ { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2001", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "9", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "11", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2014", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "12", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - } - } ] - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - } ] - } - }, { - "name" : "output", - "value" : { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - } - } - } ] - } - }, { - "name" : "IndexerTime", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Indexer", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "type" : "List", - "annotation" : [ ], - "element" : [ { - "type" : "Time", - "annotation" : [ ], - "signature" : [ ], - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "29", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "156", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "type" : "Time", - "annotation" : [ ], - "signature" : [ ], - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "999", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "type" : "Time", - "annotation" : [ ], - "signature" : [ ], - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "20", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "999", - "type" : "Literal", - "annotation" : [ ] - } - } ] - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - } ] - } - }, { - "name" : "output", - "value" : { - "type" : "Time", - "annotation" : [ ], - "signature" : [ ], - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "999", - "type" : "Literal", - "annotation" : [ ] - } - } - } ] - } - } ] - } - }, { - "name" : "IndexOf", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ ], - "expression" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "IndexOfEmptyNull", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "IndexOf", - "annotation" : [ ], - "signature" : [ ], - "source" : { - "type" : "List", - "annotation" : [ ], - "element" : [ ] - }, - "element" : { - "type" : "Null", - "annotation" : [ ] - } - } - }, { - "name" : "output", - "value" : { - "type" : "Null", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "IndexOfNullEmpty", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "IndexOf", - "annotation" : [ ], - "signature" : [ ], - "source" : { - "type" : "As", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "type" : "Null", - "annotation" : [ ] - }, - "asTypeSpecifier" : { - "type" : "ListTypeSpecifier", - "annotation" : [ ], - "elementType" : { - "name" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "NamedTypeSpecifier", - "annotation" : [ ] - } + ] + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "false", + "annotation": [] + } + } + ] + } + }, + { + "name": "ProperIncludedInDateTimeTrue", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "ProperIncludedIn", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "List", + "annotation": [], + "element": [ + { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2012", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "5", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + } + }, + { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2014", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "12", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + } } - }, - "element" : { - "type" : "List", - "annotation" : [ ], - "element" : [ ] - } - } - }, { - "name" : "output", - "value" : { - "type" : "Null", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "IndexOfNullIn1Null", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "IndexOf", - "annotation" : [ ], - "signature" : [ ], - "source" : { - "type" : "List", - "annotation" : [ ], - "element" : [ { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - }, { - "asType" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "As", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "type" : "Null", - "annotation" : [ ] - } - } ] - }, - "element" : { - "asType" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "As", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "type" : "Null", - "annotation" : [ ] + ] + }, + { + "type": "List", + "annotation": [], + "element": [ + { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2001", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "9", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "11", + "annotation": [] + } + }, + { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2012", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "5", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + } + }, + { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2014", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "12", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + } } - } - } - }, { - "name" : "output", - "value" : { - "type" : "Null", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "IndexOf1In12", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "IndexOf", - "annotation" : [ ], - "signature" : [ ], - "source" : { - "type" : "List", - "annotation" : [ ], - "element" : [ { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal", - "annotation" : [ ] - } ] - }, - "element" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - } - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "IndexOf2In12", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "IndexOf", - "annotation" : [ ], - "signature" : [ ], - "source" : { - "type" : "List", - "annotation" : [ ], - "element" : [ { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal", - "annotation" : [ ] - } ] - }, - "element" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal", - "annotation" : [ ] - } - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "IndexOf3In12", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "IndexOf", - "annotation" : [ ], - "signature" : [ ], - "source" : { - "type" : "List", - "annotation" : [ ], - "element" : [ { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal", - "annotation" : [ ] - } ] - }, - "element" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal", - "annotation" : [ ] - } - } - }, { - "name" : "output", - "value" : { - "type" : "Negate", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - } - } - } ] - } - }, { - "name" : "IndexOfDateTime", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "IndexOf", - "annotation" : [ ], - "signature" : [ ], - "source" : { - "type" : "List", - "annotation" : [ ], - "element" : [ { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2001", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "9", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "11", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2014", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "12", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - } - } ] - }, - "element" : { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2014", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "12", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] + ] + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "true", + "annotation": [] + } + } + ] + } + }, + { + "name": "ProperIncludedInDateTimeFalse", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "ProperIncludedIn", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "List", + "annotation": [], + "element": [ + { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2001", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "9", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "11", + "annotation": [] + } + }, + { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2012", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "5", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + } + }, + { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2014", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "12", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + } } - } - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "IndexOfTime", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "IndexOf", - "annotation" : [ ], - "signature" : [ ], - "source" : { - "type" : "List", - "annotation" : [ ], - "element" : [ { - "type" : "Time", - "annotation" : [ ], - "signature" : [ ], - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "29", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "156", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "type" : "Time", - "annotation" : [ ], - "signature" : [ ], - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "999", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "type" : "Time", - "annotation" : [ ], - "signature" : [ ], - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "20", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "999", - "type" : "Literal", - "annotation" : [ ] - } - } ] - }, - "element" : { - "type" : "Time", - "annotation" : [ ], - "signature" : [ ], - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "999", - "type" : "Literal", - "annotation" : [ ] + ] + }, + { + "type": "List", + "annotation": [], + "element": [ + { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2001", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "9", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "11", + "annotation": [] + } + }, + { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2012", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "5", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + } + }, + { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2014", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "12", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + } } - } - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - } ] - } - }, { - "name" : "Intersect", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ ], - "expression" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "IntersectEmptyListAndEmptyList", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Intersect", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "type" : "List", - "annotation" : [ ], - "element" : [ ] - }, { - "type" : "List", - "annotation" : [ ], - "element" : [ ] - } ] - } - }, { - "name" : "output", - "value" : { - "type" : "List", - "annotation" : [ ], - "element" : [ ] - } - } ] - } - }, { - "name" : "Intersect1234And23", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Intersect", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "type" : "List", - "annotation" : [ ], - "element" : [ { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal", - "annotation" : [ ] - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal", - "annotation" : [ ] - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "4", - "type" : "Literal", - "annotation" : [ ] - } ] - }, { - "type" : "List", - "annotation" : [ ], - "element" : [ { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal", - "annotation" : [ ] - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal", - "annotation" : [ ] - } ] - } ] - } - }, { - "name" : "output", - "value" : { - "type" : "List", - "annotation" : [ ], - "element" : [ { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal", - "annotation" : [ ] - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal", - "annotation" : [ ] - } ] - } - } ] - } - }, { - "name" : "Intersect23And1234", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Intersect", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "type" : "List", - "annotation" : [ ], - "element" : [ { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal", - "annotation" : [ ] - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal", - "annotation" : [ ] - } ] - }, { - "type" : "List", - "annotation" : [ ], - "element" : [ { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal", - "annotation" : [ ] - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal", - "annotation" : [ ] - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "4", - "type" : "Literal", - "annotation" : [ ] - } ] - } ] - } - }, { - "name" : "output", - "value" : { - "type" : "List", - "annotation" : [ ], - "element" : [ { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal", - "annotation" : [ ] - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal", - "annotation" : [ ] - } ] - } - } ] - } - }, { - "name" : "IntersectDateTime", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Intersect", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "type" : "List", - "annotation" : [ ], - "element" : [ { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2001", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "9", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "11", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2014", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "12", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - } - } ] - }, { - "type" : "List", - "annotation" : [ ], - "element" : [ { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2014", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "12", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } ] - } - }, { - "name" : "output", - "value" : { - "type" : "List", - "annotation" : [ ], - "element" : [ { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] + ] + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "false", + "annotation": [] + } + } + ] + } + }, + { + "name": "ProperIncludedInTimeTrue", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "ProperIncludedIn", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "List", + "annotation": [], + "element": [ + { + "type": "Time", + "annotation": [], + "signature": [], + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "15", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "999", + "annotation": [] + } + }, + { + "type": "Time", + "annotation": [], + "signature": [], + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "20", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "999", + "annotation": [] + } } - }, { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2014", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "12", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] + ] + }, + { + "type": "List", + "annotation": [], + "element": [ + { + "type": "Time", + "annotation": [], + "signature": [], + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "15", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "999", + "annotation": [] + } + }, + { + "type": "Time", + "annotation": [], + "signature": [], + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "20", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "999", + "annotation": [] + } + }, + { + "type": "Time", + "annotation": [], + "signature": [], + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "20", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "49", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "999", + "annotation": [] + } } - } ] - } - } ] - } - }, { - "name" : "IntersectTime", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Intersect", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "type" : "List", - "annotation" : [ ], - "element" : [ { - "type" : "Time", - "annotation" : [ ], - "signature" : [ ], - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "29", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "156", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "type" : "Time", - "annotation" : [ ], - "signature" : [ ], - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "999", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "type" : "Time", - "annotation" : [ ], - "signature" : [ ], - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "20", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "999", - "type" : "Literal", - "annotation" : [ ] - } - } ] - }, { - "type" : "List", - "annotation" : [ ], - "element" : [ { - "type" : "Time", - "annotation" : [ ], - "signature" : [ ], - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "29", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "156", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "type" : "Time", - "annotation" : [ ], - "signature" : [ ], - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "999", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "type" : "Time", - "annotation" : [ ], - "signature" : [ ], - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "20", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "999", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } ] - } - }, { - "name" : "output", - "value" : { - "type" : "List", - "annotation" : [ ], - "element" : [ { - "type" : "Time", - "annotation" : [ ], - "signature" : [ ], - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "999", - "type" : "Literal", - "annotation" : [ ] + ] + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "true", + "annotation": [] + } + } + ] + } + }, + { + "name": "ProperIncludedInTimeFalse", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "ProperIncludedIn", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "List", + "annotation": [], + "element": [ + { + "type": "Time", + "annotation": [], + "signature": [], + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "15", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "999", + "annotation": [] + } + }, + { + "type": "Time", + "annotation": [], + "signature": [], + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "20", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "999", + "annotation": [] + } + }, + { + "type": "Time", + "annotation": [], + "signature": [], + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "14", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "22", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "999", + "annotation": [] + } } - }, { - "type" : "Time", - "annotation" : [ ], - "signature" : [ ], - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "20", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "999", - "type" : "Literal", - "annotation" : [ ] + ] + }, + { + "type": "List", + "annotation": [], + "element": [ + { + "type": "Time", + "annotation": [], + "signature": [], + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "15", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "999", + "annotation": [] + } + }, + { + "type": "Time", + "annotation": [], + "signature": [], + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "20", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "999", + "annotation": [] + } + }, + { + "type": "Time", + "annotation": [], + "signature": [], + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "20", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "49", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "999", + "annotation": [] + } } - } ] - } - } ] - } - } ] - } - }, { - "name" : "Last", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ ], - "expression" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "LastEmpty", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Last", - "annotation" : [ ], - "signature" : [ ], - "source" : { - "type" : "List", - "annotation" : [ ], - "element" : [ ] - } - } - }, { - "name" : "output", - "value" : { - "type" : "Null", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "LastNull1", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Last", - "annotation" : [ ], - "signature" : [ ], - "source" : { - "type" : "List", - "annotation" : [ ], - "element" : [ { - "asType" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "As", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "type" : "Null", - "annotation" : [ ] - } - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - } ] - } - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "Last1Null", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Last", - "annotation" : [ ], - "signature" : [ ], - "source" : { - "type" : "List", - "annotation" : [ ], - "element" : [ { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - }, { - "asType" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "As", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "type" : "Null", - "annotation" : [ ] - } - } ] - } - } - }, { - "name" : "output", - "value" : { - "type" : "Null", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "Last12", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Last", - "annotation" : [ ], - "signature" : [ ], - "source" : { - "type" : "List", - "annotation" : [ ], - "element" : [ { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal", - "annotation" : [ ] - } ] - } - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "LastDateTime", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Last", - "annotation" : [ ], - "signature" : [ ], - "source" : { - "type" : "List", - "annotation" : [ ], - "element" : [ { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2014", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "12", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - } - }, { - "name" : "output", - "value" : { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2014", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "12", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - } - } - } ] - } - }, { - "name" : "LastTime", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Last", - "annotation" : [ ], - "signature" : [ ], - "source" : { - "type" : "List", - "annotation" : [ ], - "element" : [ { - "type" : "Time", - "annotation" : [ ], - "signature" : [ ], - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "999", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "type" : "Time", - "annotation" : [ ], - "signature" : [ ], - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "20", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "999", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - } - }, { - "name" : "output", - "value" : { - "type" : "Time", - "annotation" : [ ], - "signature" : [ ], - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "20", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "999", - "type" : "Literal", - "annotation" : [ ] - } - } - } ] - } - } ] - } - }, { - "name" : "Length", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ ], - "expression" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "LengthEmptyList", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Length", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "type" : "List", - "annotation" : [ ], - "element" : [ ] - } - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "LengthNull1", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Length", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "type" : "List", - "annotation" : [ ], - "element" : [ { - "asType" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "As", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "type" : "Null", - "annotation" : [ ] - } - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - } ] - } - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "Length1Null", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Length", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "type" : "List", - "annotation" : [ ], - "element" : [ { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - }, { - "asType" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "As", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "type" : "Null", - "annotation" : [ ] - } - } ] - } - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "Length12", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Length", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "type" : "List", - "annotation" : [ ], - "element" : [ { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal", - "annotation" : [ ] - } ] - } - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "LengthDateTime", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Length", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "type" : "List", - "annotation" : [ ], - "element" : [ { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2001", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "9", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "11", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2014", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "12", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "LengthTime", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Length", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "type" : "List", - "annotation" : [ ], - "element" : [ { - "type" : "Time", - "annotation" : [ ], - "signature" : [ ], - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "999", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "type" : "Time", - "annotation" : [ ], - "signature" : [ ], - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "20", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "999", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "type" : "Time", - "annotation" : [ ], - "signature" : [ ], - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "999", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "type" : "Time", - "annotation" : [ ], - "signature" : [ ], - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "20", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "999", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "type" : "Time", - "annotation" : [ ], - "signature" : [ ], - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "999", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "type" : "Time", - "annotation" : [ ], - "signature" : [ ], - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "20", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "999", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "6", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "LengthNullList", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Length", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "strict" : false, - "type" : "As", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "type" : "Null", - "annotation" : [ ] - }, - "asTypeSpecifier" : { - "type" : "ListTypeSpecifier", - "annotation" : [ ], - "elementType" : { - "name" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "NamedTypeSpecifier", - "annotation" : [ ] - } + ] + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "false", + "annotation": [] + } + } + ] + } + }, + { + "name": "ProperlyIncludedInNulRight", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "skipped", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}String", + "value": "ProperIn not implemented", + "annotation": [] + } + } + ] + } + } + ] + } + }, + { + "name": "SingletonFrom", + "context": "Patient", + "accessLevel": "Public", + "annotation": [], + "expression": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "SingletonFromEmpty", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "SingletonFrom", + "annotation": [], + "signature": [], + "operand": { + "type": "List", + "annotation": [], + "element": [] + } + } + }, + { + "name": "output", + "value": { + "type": "Null", + "annotation": [] + } + } + ] + } + }, + { + "name": "SingletonFromListNull", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "SingletonFrom", + "annotation": [], + "signature": [], + "operand": { + "type": "List", + "annotation": [], + "element": [ + { + "type": "Null", + "annotation": [] + } + ] + } + } + }, + { + "name": "output", + "value": { + "type": "Null", + "annotation": [] + } + } + ] + } + }, + { + "name": "SingletonFrom1", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "SingletonFrom", + "annotation": [], + "signature": [], + "operand": { + "type": "List", + "annotation": [], + "element": [ + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + } + ] + } + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + } + } + ] + } + }, + { + "name": "SingletonFrom12", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "SingletonFrom", + "annotation": [], + "signature": [], + "operand": { + "type": "List", + "annotation": [], + "element": [ + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2", + "annotation": [] + } + ] + } + } + }, + { + "name": "invalid", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "true", + "annotation": [] + } + } + ] + } + }, + { + "name": "SingletonFromDateTime", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "SingletonFrom", + "annotation": [], + "signature": [], + "operand": { + "type": "List", + "annotation": [], + "element": [ + { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2012", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "5", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] } - } - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - } ] - } - }, { - "name" : "Equivalent", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ ], - "expression" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "EquivalentEmptyAndEmpty", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Equivalent", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "type" : "List", - "annotation" : [ ], - "element" : [ ] - }, { - "type" : "List", - "annotation" : [ ], - "element" : [ ] - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "true", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "EquivalentABCAndABC", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Equivalent", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "type" : "List", - "annotation" : [ ], - "element" : [ { - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "a", - "type" : "Literal", - "annotation" : [ ] - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "b", - "type" : "Literal", - "annotation" : [ ] - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "c", - "type" : "Literal", - "annotation" : [ ] - } ] - }, { - "type" : "List", - "annotation" : [ ], - "element" : [ { - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "a", - "type" : "Literal", - "annotation" : [ ] - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "b", - "type" : "Literal", - "annotation" : [ ] - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "c", - "type" : "Literal", - "annotation" : [ ] - } ] - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "true", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "EquivalentABCAndAB", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Equivalent", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "type" : "List", - "annotation" : [ ], - "element" : [ { - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "a", - "type" : "Literal", - "annotation" : [ ] - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "b", - "type" : "Literal", - "annotation" : [ ] - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "c", - "type" : "Literal", - "annotation" : [ ] - } ] - }, { - "type" : "List", - "annotation" : [ ], - "element" : [ { - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "a", - "type" : "Literal", - "annotation" : [ ] - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "b", - "type" : "Literal", - "annotation" : [ ] - } ] - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "false", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "EquivalentABCAnd123", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Equivalent", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "type" : "List", - "annotation" : [ ], - "element" : [ { - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "a", - "type" : "Literal", - "annotation" : [ ] - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "b", - "type" : "Literal", - "annotation" : [ ] - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "c", - "type" : "Literal", - "annotation" : [ ] - } ] - }, { - "type" : "List", - "annotation" : [ ], - "element" : [ { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal", - "annotation" : [ ] - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal", - "annotation" : [ ] - } ] - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "false", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "Equivalent123AndABC", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Equivalent", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "type" : "List", - "annotation" : [ ], - "element" : [ { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal", - "annotation" : [ ] - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal", - "annotation" : [ ] - } ] - }, { - "type" : "List", - "annotation" : [ ], - "element" : [ { - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "a", - "type" : "Literal", - "annotation" : [ ] - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "b", - "type" : "Literal", - "annotation" : [ ] - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "c", - "type" : "Literal", - "annotation" : [ ] - } ] - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "false", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "Equivalent123AndString123", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Equivalent", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "type" : "List", - "annotation" : [ ], - "element" : [ { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal", - "annotation" : [ ] - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal", - "annotation" : [ ] - } ] - }, { - "type" : "List", - "annotation" : [ ], - "element" : [ { - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "2", - "type" : "Literal", - "annotation" : [ ] - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "3", - "type" : "Literal", - "annotation" : [ ] - } ] - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "false", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "EquivalentDateTimeTrue", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Equivalent", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "type" : "List", - "annotation" : [ ], - "element" : [ { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2001", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "9", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "11", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2014", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "12", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "asType" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "As", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "type" : "Null", - "annotation" : [ ] - } - } ] - }, { - "type" : "List", - "annotation" : [ ], - "element" : [ { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2001", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "9", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "11", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2014", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "12", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "asType" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "As", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "type" : "Null", - "annotation" : [ ] - } - } ] - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "true", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "EquivalentDateTimeNull", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Equivalent", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "type" : "List", - "annotation" : [ ], - "element" : [ { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2001", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "9", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "11", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2014", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "12", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - } - } ] - }, { - "type" : "List", - "annotation" : [ ], - "element" : [ { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2001", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "9", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "11", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2014", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "12", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "asType" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "As", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "type" : "Null", - "annotation" : [ ] - } - } ] - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "false", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "EquivalentDateTimeFalse", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Equivalent", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "type" : "List", - "annotation" : [ ], - "element" : [ { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2001", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "9", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "11", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2014", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "12", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - } - } ] - }, { - "type" : "List", - "annotation" : [ ], - "element" : [ { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2001", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "9", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "11", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2014", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "12", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "false", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "EquivalentTimeTrue", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Equivalent", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "type" : "List", - "annotation" : [ ], - "element" : [ { - "type" : "Time", - "annotation" : [ ], - "signature" : [ ], - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "999", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "type" : "Time", - "annotation" : [ ], - "signature" : [ ], - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "20", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "999", - "type" : "Literal", - "annotation" : [ ] - } - } ] - }, { - "type" : "List", - "annotation" : [ ], - "element" : [ { - "type" : "Time", - "annotation" : [ ], - "signature" : [ ], - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "999", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "type" : "Time", - "annotation" : [ ], - "signature" : [ ], - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "20", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "999", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "true", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "EquivalentTimeNull", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Equivalent", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "type" : "List", - "annotation" : [ ], - "element" : [ { - "type" : "Time", - "annotation" : [ ], - "signature" : [ ], - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "999", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "type" : "Time", - "annotation" : [ ], - "signature" : [ ], - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "20", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "999", - "type" : "Literal", - "annotation" : [ ] - } - } ] - }, { - "type" : "List", - "annotation" : [ ], - "element" : [ { - "type" : "Time", - "annotation" : [ ], - "signature" : [ ], - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "999", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "type" : "Time", - "annotation" : [ ], - "signature" : [ ], - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "20", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "999", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "asType" : "{urn:hl7-org:elm-types:r1}Time", - "type" : "As", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "type" : "Null", - "annotation" : [ ] - } - } ] - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "false", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "EquivalentTimeFalse", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Equivalent", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "type" : "List", - "annotation" : [ ], - "element" : [ { - "type" : "Time", - "annotation" : [ ], - "signature" : [ ], - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "999", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "type" : "Time", - "annotation" : [ ], - "signature" : [ ], - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "20", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "999", - "type" : "Literal", - "annotation" : [ ] - } - } ] - }, { - "type" : "List", - "annotation" : [ ], - "element" : [ { - "type" : "Time", - "annotation" : [ ], - "signature" : [ ], - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "999", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "type" : "Time", - "annotation" : [ ], - "signature" : [ ], - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "20", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "995", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "false", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - } ] - } - }, { - "name" : "NotEqual", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ ], - "expression" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "NotEqualEmptyAndEmpty", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Not", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "type" : "Equal", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "type" : "List", - "annotation" : [ ], - "element" : [ ] - }, { - "type" : "List", - "annotation" : [ ], - "element" : [ ] - } ] - } - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "false", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "NotEqualABCAndABC", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Not", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "type" : "Equal", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "type" : "List", - "annotation" : [ ], - "element" : [ { - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "a", - "type" : "Literal", - "annotation" : [ ] - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "b", - "type" : "Literal", - "annotation" : [ ] - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "c", - "type" : "Literal", - "annotation" : [ ] - } ] - }, { - "type" : "List", - "annotation" : [ ], - "element" : [ { - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "a", - "type" : "Literal", - "annotation" : [ ] - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "b", - "type" : "Literal", - "annotation" : [ ] - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "c", - "type" : "Literal", - "annotation" : [ ] - } ] - } ] - } - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "false", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "NotEqualABCAndAB", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Not", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "type" : "Equal", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "type" : "List", - "annotation" : [ ], - "element" : [ { - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "a", - "type" : "Literal", - "annotation" : [ ] - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "b", - "type" : "Literal", - "annotation" : [ ] - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "c", - "type" : "Literal", - "annotation" : [ ] - } ] - }, { - "type" : "List", - "annotation" : [ ], - "element" : [ { - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "a", - "type" : "Literal", - "annotation" : [ ] - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "b", - "type" : "Literal", - "annotation" : [ ] - } ] - } ] - } - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "true", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "NotEqualABCAnd123", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Not", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "type" : "Equal", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "type" : "List", - "annotation" : [ ], - "element" : [ { - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "a", - "type" : "Literal", - "annotation" : [ ] - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "b", - "type" : "Literal", - "annotation" : [ ] - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "c", - "type" : "Literal", - "annotation" : [ ] - } ] - }, { - "type" : "List", - "annotation" : [ ], - "element" : [ { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal", - "annotation" : [ ] - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal", - "annotation" : [ ] - } ] - } ] - } - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "true", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "NotEqual123AndABC", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Not", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "type" : "Equal", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "type" : "List", - "annotation" : [ ], - "element" : [ { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal", - "annotation" : [ ] - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal", - "annotation" : [ ] - } ] - }, { - "type" : "List", - "annotation" : [ ], - "element" : [ { - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "a", - "type" : "Literal", - "annotation" : [ ] - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "b", - "type" : "Literal", - "annotation" : [ ] - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "c", - "type" : "Literal", - "annotation" : [ ] - } ] - } ] - } - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "true", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "NotEqual123AndString123", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Not", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "type" : "Equal", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "type" : "List", - "annotation" : [ ], - "element" : [ { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal", - "annotation" : [ ] - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal", - "annotation" : [ ] - } ] - }, { - "type" : "List", - "annotation" : [ ], - "element" : [ { - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "2", - "type" : "Literal", - "annotation" : [ ] - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "3", - "type" : "Literal", - "annotation" : [ ] - } ] - } ] - } - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "true", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "NotEqualDateTimeTrue", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Not", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "type" : "Equal", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "type" : "List", - "annotation" : [ ], - "element" : [ { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2001", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "9", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "11", - "type" : "Literal", - "annotation" : [ ] - }, - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - }, - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2014", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "12", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - }, - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - } - } ] - }, { - "type" : "List", - "annotation" : [ ], - "element" : [ { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2001", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "9", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "11", - "type" : "Literal", - "annotation" : [ ] - }, - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - }, - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2014", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "12", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - }, - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } ] - } - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "true", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "NotEqualDateTimeFalse", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Not", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "type" : "Equal", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "type" : "List", - "annotation" : [ ], - "element" : [ { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2001", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "9", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "11", - "type" : "Literal", - "annotation" : [ ] - }, - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - }, - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2014", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "12", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - }, - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - } - } ] - }, { - "type" : "List", - "annotation" : [ ], - "element" : [ { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2001", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "9", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "11", - "type" : "Literal", - "annotation" : [ ] - }, - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - }, - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2014", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "12", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - }, - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } ] - } - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "false", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "NotEqualTimeTrue", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Equal", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "type" : "List", - "annotation" : [ ], - "element" : [ { - "type" : "Time", - "annotation" : [ ], - "signature" : [ ], - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "999", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "type" : "Time", - "annotation" : [ ], - "signature" : [ ], - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "20", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "999", - "type" : "Literal", - "annotation" : [ ] - } - } ] - }, { - "type" : "List", - "annotation" : [ ], - "element" : [ { - "type" : "Time", - "annotation" : [ ], - "signature" : [ ], - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "999", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "type" : "Time", - "annotation" : [ ], - "signature" : [ ], - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "20", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "999", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "true", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "NotEqualTimeFalse", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Equal", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "type" : "List", - "annotation" : [ ], - "element" : [ { - "type" : "Time", - "annotation" : [ ], - "signature" : [ ], - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "999", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "type" : "Time", - "annotation" : [ ], - "signature" : [ ], - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "20", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "999", - "type" : "Literal", - "annotation" : [ ] - } - } ] - }, { - "type" : "List", - "annotation" : [ ], - "element" : [ { - "type" : "Time", - "annotation" : [ ], - "signature" : [ ], - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "999", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "type" : "Time", - "annotation" : [ ], - "signature" : [ ], - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "20", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "49", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "999", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "false", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - } ] - } - }, { - "name" : "ProperContains", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ ], - "expression" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "ProperContainsNullRightFalse", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "skipped", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "ProperContains not implemented", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "ProperContainsNullRightTrue", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "skipped", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "ProperContains not implemented", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "ProperContainsTimeTrue", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "skipped", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "ProperContains not implemented", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "ProperContainsTimeNull", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "skipped", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "ProperContains not implemented", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - } ] - } - }, { - "name" : "ProperIn", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ ], - "expression" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "ProperInNullRightFalse", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "skipped", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "ProperIn not implemented", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "ProperInNullRightTrue", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "skipped", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "ProperIn not implemented", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "ProperInTimeTrue", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "skipped", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "ProperIn not implemented", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "ProperInTimeNull", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "skipped", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "ProperIn not implemented", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - } ] - } - }, { - "name" : "ProperlyIncludes", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ ], - "expression" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "ProperIncludesEmptyAndEmpty", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "ProperIncludes", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "type" : "List", - "annotation" : [ ], - "element" : [ ] - }, { - "type" : "List", - "annotation" : [ ], - "element" : [ ] - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "false", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "ProperIncludesListNullAndListNull", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "ProperIncludes", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "type" : "List", - "annotation" : [ ], - "element" : [ { - "type" : "Null", - "annotation" : [ ] - } ] - }, { - "type" : "List", - "annotation" : [ ], - "element" : [ { - "type" : "Null", - "annotation" : [ ] - } ] - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "false", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "ProperIncludes123AndEmpty", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "ProperIncludes", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "type" : "List", - "annotation" : [ ], - "element" : [ { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal", - "annotation" : [ ] - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal", - "annotation" : [ ] - } ] - }, { - "type" : "Query", - "annotation" : [ ], - "source" : [ { - "alias" : "X", - "annotation" : [ ], - "expression" : { - "type" : "List", - "annotation" : [ ], - "element" : [ ] - } - } ], - "let" : [ ], - "relationship" : [ ], - "return" : { - "distinct" : false, - "annotation" : [ ], - "expression" : { - "asType" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "As", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "name" : "X", - "type" : "AliasRef", - "annotation" : [ ] - } - } + } + ] + } + } + }, + { + "name": "output", + "value": { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2012", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "5", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + } + } + } + ] + } + }, + { + "name": "SingletonFromTime", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "SingletonFrom", + "annotation": [], + "signature": [], + "operand": { + "type": "List", + "annotation": [], + "element": [ + { + "type": "Time", + "annotation": [], + "signature": [], + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "15", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "999", + "annotation": [] } - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "true", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "ProperIncludes123And2", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "ProperIncludes", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "type" : "List", - "annotation" : [ ], - "element" : [ { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal", - "annotation" : [ ] - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal", - "annotation" : [ ] - } ] - }, { - "type" : "List", - "annotation" : [ ], - "element" : [ { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal", - "annotation" : [ ] - } ] - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "true", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "ProperIncludes123And4", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "ProperIncludes", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "type" : "List", - "annotation" : [ ], - "element" : [ { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal", - "annotation" : [ ] - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal", - "annotation" : [ ] - } ] - }, { - "type" : "List", - "annotation" : [ ], - "element" : [ { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "4", - "type" : "Literal", - "annotation" : [ ] - } ] - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "false", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "ProperIncludesDateTimeTrue", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "ProperIncludes", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "type" : "List", - "annotation" : [ ], - "element" : [ { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2001", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "9", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "11", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2014", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "12", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - } - } ] - }, { - "type" : "List", - "annotation" : [ ], - "element" : [ { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2014", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "12", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "true", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "ProperIncludesDateTimeFalse", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "ProperIncludes", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "type" : "List", - "annotation" : [ ], - "element" : [ { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2001", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "9", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "11", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2014", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "12", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - } - } ] - }, { - "type" : "List", - "annotation" : [ ], - "element" : [ { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2001", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "9", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "11", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2014", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "12", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "false", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "ProperIncludesTimeTrue", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "ProperIncludes", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "type" : "List", - "annotation" : [ ], - "element" : [ { - "type" : "Time", - "annotation" : [ ], - "signature" : [ ], - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "999", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "type" : "Time", - "annotation" : [ ], - "signature" : [ ], - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "20", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "999", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "type" : "Time", - "annotation" : [ ], - "signature" : [ ], - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "20", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "49", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "999", - "type" : "Literal", - "annotation" : [ ] - } - } ] - }, { - "type" : "List", - "annotation" : [ ], - "element" : [ { - "type" : "Time", - "annotation" : [ ], - "signature" : [ ], - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "999", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "type" : "Time", - "annotation" : [ ], - "signature" : [ ], - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "20", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "999", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "true", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "ProperIncludesTimeFalse", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "ProperIncludes", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "type" : "List", - "annotation" : [ ], - "element" : [ { - "type" : "Time", - "annotation" : [ ], - "signature" : [ ], - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "999", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "type" : "Time", - "annotation" : [ ], - "signature" : [ ], - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "20", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "999", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "type" : "Time", - "annotation" : [ ], - "signature" : [ ], - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "20", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "49", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "999", - "type" : "Literal", - "annotation" : [ ] - } - } ] - }, { - "type" : "List", - "annotation" : [ ], - "element" : [ { - "type" : "Time", - "annotation" : [ ], - "signature" : [ ], - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "999", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "type" : "Time", - "annotation" : [ ], - "signature" : [ ], - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "20", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "999", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "type" : "Time", - "annotation" : [ ], - "signature" : [ ], - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "14", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "22", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "999", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "false", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "ProperlyIncludesNullLeft", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "ProperIncludes", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "type" : "As", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "type" : "Null", - "annotation" : [ ] - }, - "asTypeSpecifier" : { - "type" : "ListTypeSpecifier", - "annotation" : [ ], - "elementType" : { - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier", - "annotation" : [ ] - } + } + ] + } + } + }, + { + "name": "output", + "value": { + "type": "Time", + "annotation": [], + "signature": [], + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "15", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "999", + "annotation": [] + } + } + } + ] + } + } + ] + } + }, + { + "name": "Skip", + "context": "Patient", + "accessLevel": "Public", + "annotation": [], + "expression": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "SkipNull", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Slice", + "annotation": [], + "signature": [], + "source": { + "type": "As", + "annotation": [], + "signature": [], + "operand": { + "type": "Null", + "annotation": [] + }, + "asTypeSpecifier": { + "type": "ListTypeSpecifier", + "annotation": [], + "elementType": { + "type": "NamedTypeSpecifier", + "name": "{urn:hl7-org:elm-types:r1}Any", + "annotation": [] + } + } + }, + "startIndex": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "3", + "annotation": [] + }, + "endIndex": { + "type": "Null", + "annotation": [] + } + } + }, + { + "name": "output", + "value": { + "type": "Null", + "annotation": [] + } + } + ] + } + }, + { + "name": "SkipEven", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Slice", + "annotation": [], + "signature": [], + "source": { + "type": "List", + "annotation": [], + "element": [ + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2", + "annotation": [] + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "3", + "annotation": [] + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "4", + "annotation": [] + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "5", + "annotation": [] + } + ] + }, + "startIndex": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2", + "annotation": [] + }, + "endIndex": { + "type": "Null", + "annotation": [] + } + } + }, + { + "name": "output", + "value": { + "type": "List", + "annotation": [], + "element": [ + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "3", + "annotation": [] + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "4", + "annotation": [] + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "5", + "annotation": [] + } + ] + } + } + ] + } + }, + { + "name": "SkipOdd", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Slice", + "annotation": [], + "signature": [], + "source": { + "type": "List", + "annotation": [], + "element": [ + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2", + "annotation": [] + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "3", + "annotation": [] + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "4", + "annotation": [] + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "5", + "annotation": [] + } + ] + }, + "startIndex": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "3", + "annotation": [] + }, + "endIndex": { + "type": "Null", + "annotation": [] + } + } + }, + { + "name": "output", + "value": { + "type": "List", + "annotation": [], + "element": [ + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "4", + "annotation": [] + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "5", + "annotation": [] + } + ] + } + } + ] + } + }, + { + "name": "SkipNone", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Slice", + "annotation": [], + "signature": [], + "source": { + "type": "List", + "annotation": [], + "element": [ + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2", + "annotation": [] + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "3", + "annotation": [] + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "4", + "annotation": [] + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "5", + "annotation": [] + } + ] + }, + "startIndex": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + "endIndex": { + "type": "Null", + "annotation": [] + } + } + }, + { + "name": "output", + "value": { + "type": "List", + "annotation": [], + "element": [ + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2", + "annotation": [] + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "3", + "annotation": [] + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "4", + "annotation": [] + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "5", + "annotation": [] + } + ] + } + } + ] + } + }, + { + "name": "SkipAll", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Slice", + "annotation": [], + "signature": [], + "source": { + "type": "List", + "annotation": [], + "element": [ + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2", + "annotation": [] + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "3", + "annotation": [] + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "4", + "annotation": [] + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "5", + "annotation": [] + } + ] + }, + "startIndex": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "5", + "annotation": [] + }, + "endIndex": { + "type": "Null", + "annotation": [] + } + } + }, + { + "name": "output", + "value": { + "type": "List", + "annotation": [], + "element": [] + } + } + ] + } + } + ] + } + }, + { + "name": "Tail", + "context": "Patient", + "accessLevel": "Public", + "annotation": [], + "expression": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "TailNull", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Slice", + "annotation": [], + "signature": [], + "source": { + "type": "As", + "annotation": [], + "signature": [], + "operand": { + "type": "Null", + "annotation": [] + }, + "asTypeSpecifier": { + "type": "ListTypeSpecifier", + "annotation": [], + "elementType": { + "type": "NamedTypeSpecifier", + "name": "{urn:hl7-org:elm-types:r1}Any", + "annotation": [] + } + } + }, + "startIndex": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + }, + "endIndex": { + "type": "Null", + "annotation": [] + } + } + }, + { + "name": "output", + "value": { + "type": "Null", + "annotation": [] + } + } + ] + } + }, + { + "name": "TailEven", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Slice", + "annotation": [], + "signature": [], + "source": { + "type": "List", + "annotation": [], + "element": [ + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2", + "annotation": [] + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "3", + "annotation": [] + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "4", + "annotation": [] + } + ] + }, + "startIndex": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + }, + "endIndex": { + "type": "Null", + "annotation": [] + } + } + }, + { + "name": "output", + "value": { + "type": "List", + "annotation": [], + "element": [ + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2", + "annotation": [] + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "3", + "annotation": [] + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "4", + "annotation": [] + } + ] + } + } + ] + } + }, + { + "name": "TailOdd", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Slice", + "annotation": [], + "signature": [], + "source": { + "type": "List", + "annotation": [], + "element": [ + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2", + "annotation": [] + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "3", + "annotation": [] + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "4", + "annotation": [] + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "5", + "annotation": [] + } + ] + }, + "startIndex": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + }, + "endIndex": { + "type": "Null", + "annotation": [] + } + } + }, + { + "name": "output", + "value": { + "type": "List", + "annotation": [], + "element": [ + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2", + "annotation": [] + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "3", + "annotation": [] + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "4", + "annotation": [] + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "5", + "annotation": [] + } + ] + } + } + ] + } + }, + { + "name": "TailEmpty", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Slice", + "annotation": [], + "signature": [], + "source": { + "type": "List", + "annotation": [], + "element": [] + }, + "startIndex": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + }, + "endIndex": { + "type": "Null", + "annotation": [] + } + } + }, + { + "name": "output", + "value": { + "type": "List", + "annotation": [], + "element": [] + } + } + ] + } + }, + { + "name": "TailOneElement", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Slice", + "annotation": [], + "signature": [], + "source": { + "type": "List", + "annotation": [], + "element": [ + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + } + ] + }, + "startIndex": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + }, + "endIndex": { + "type": "Null", + "annotation": [] + } + } + }, + { + "name": "output", + "value": { + "type": "List", + "annotation": [], + "element": [] + } + } + ] + } + } + ] + } + }, + { + "name": "Take", + "context": "Patient", + "accessLevel": "Public", + "annotation": [], + "expression": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "TakeNull", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Slice", + "annotation": [], + "signature": [], + "source": { + "type": "As", + "annotation": [], + "signature": [], + "operand": { + "type": "Null", + "annotation": [] + }, + "asTypeSpecifier": { + "type": "ListTypeSpecifier", + "annotation": [], + "elementType": { + "type": "NamedTypeSpecifier", + "name": "{urn:hl7-org:elm-types:r1}Any", + "annotation": [] + } + } + }, + "startIndex": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + "endIndex": { + "type": "Coalesce", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "3", + "annotation": [] + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + } + ] + } + } + }, + { + "name": "output", + "value": { + "type": "Null", + "annotation": [] + } + } + ] + } + }, + { + "name": "TakeNullEmpty", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Slice", + "annotation": [], + "signature": [], + "source": { + "type": "List", + "annotation": [], + "element": [ + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2", + "annotation": [] + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "3", + "annotation": [] + } + ] + }, + "startIndex": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + "endIndex": { + "type": "Coalesce", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "As", + "strict": false, + "annotation": [], + "signature": [], + "operand": { + "type": "Null", + "annotation": [] + }, + "asTypeSpecifier": { + "type": "NamedTypeSpecifier", + "name": "{urn:hl7-org:elm-types:r1}Integer", + "annotation": [] } - }, { - "type" : "List", - "annotation" : [ ], - "element" : [ { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal", - "annotation" : [ ] - } ] - } ] - } - }, { - "name" : "output", - "value" : { - "type" : "Null", - "annotation" : [ ] - } - } ] - } - } ] - } - }, { - "name" : "ProperlyIncludedIn", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ ], - "expression" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "ProperIncludedInEmptyAndEmpty", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "ProperIncludedIn", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "type" : "List", - "annotation" : [ ], - "element" : [ ] - }, { - "type" : "List", - "annotation" : [ ], - "element" : [ ] - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "false", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "ProperIncludedInListNullAndListNull", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "ProperIncludedIn", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "type" : "List", - "annotation" : [ ], - "element" : [ { - "type" : "Null", - "annotation" : [ ] - } ] - }, { - "type" : "List", - "annotation" : [ ], - "element" : [ { - "type" : "Null", - "annotation" : [ ] - } ] - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "false", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "ProperIncludedInEmptyAnd123", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "ProperIncludedIn", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "type" : "List", - "annotation" : [ ], - "element" : [ ] - }, { - "type" : "List", - "annotation" : [ ], - "element" : [ { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal", - "annotation" : [ ] - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal", - "annotation" : [ ] - } ] - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "true", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "ProperIncludedIn2And123", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "ProperIncludedIn", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "type" : "List", - "annotation" : [ ], - "element" : [ { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal", - "annotation" : [ ] - } ] - }, { - "type" : "List", - "annotation" : [ ], - "element" : [ { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal", - "annotation" : [ ] - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal", - "annotation" : [ ] - } ] - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "true", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "ProperIncludedIn4And123", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "ProperIncludedIn", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "type" : "List", - "annotation" : [ ], - "element" : [ { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "4", - "type" : "Literal", - "annotation" : [ ] - } ] - }, { - "type" : "List", - "annotation" : [ ], - "element" : [ { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal", - "annotation" : [ ] - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal", - "annotation" : [ ] - } ] - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "false", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "ProperIncludedInDateTimeTrue", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "ProperIncludedIn", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "type" : "List", - "annotation" : [ ], - "element" : [ { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2014", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "12", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - } - } ] - }, { - "type" : "List", - "annotation" : [ ], - "element" : [ { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2001", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "9", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "11", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2014", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "12", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "true", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "ProperIncludedInDateTimeFalse", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "ProperIncludedIn", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "type" : "List", - "annotation" : [ ], - "element" : [ { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2001", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "9", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "11", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2014", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "12", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - } - } ] - }, { - "type" : "List", - "annotation" : [ ], - "element" : [ { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2001", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "9", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "11", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2014", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "12", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "false", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "ProperIncludedInTimeTrue", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "ProperIncludedIn", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "type" : "List", - "annotation" : [ ], - "element" : [ { - "type" : "Time", - "annotation" : [ ], - "signature" : [ ], - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "999", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "type" : "Time", - "annotation" : [ ], - "signature" : [ ], - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "20", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "999", - "type" : "Literal", - "annotation" : [ ] - } - } ] - }, { - "type" : "List", - "annotation" : [ ], - "element" : [ { - "type" : "Time", - "annotation" : [ ], - "signature" : [ ], - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "999", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "type" : "Time", - "annotation" : [ ], - "signature" : [ ], - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "20", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "999", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "type" : "Time", - "annotation" : [ ], - "signature" : [ ], - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "20", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "49", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "999", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "true", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "ProperIncludedInTimeFalse", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "ProperIncludedIn", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "type" : "List", - "annotation" : [ ], - "element" : [ { - "type" : "Time", - "annotation" : [ ], - "signature" : [ ], - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "999", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "type" : "Time", - "annotation" : [ ], - "signature" : [ ], - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "20", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "999", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "type" : "Time", - "annotation" : [ ], - "signature" : [ ], - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "14", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "22", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "999", - "type" : "Literal", - "annotation" : [ ] - } - } ] - }, { - "type" : "List", - "annotation" : [ ], - "element" : [ { - "type" : "Time", - "annotation" : [ ], - "signature" : [ ], - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "999", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "type" : "Time", - "annotation" : [ ], - "signature" : [ ], - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "20", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "999", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "type" : "Time", - "annotation" : [ ], - "signature" : [ ], - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "20", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "49", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "999", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "false", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "ProperlyIncludedInNulRight", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "skipped", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "ProperIn not implemented", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - } ] - } - }, { - "name" : "SingletonFrom", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ ], - "expression" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "SingletonFromEmpty", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "SingletonFrom", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "type" : "List", - "annotation" : [ ], - "element" : [ ] - } - } - }, { - "name" : "output", - "value" : { - "type" : "Null", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "SingletonFromListNull", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "SingletonFrom", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "type" : "List", - "annotation" : [ ], - "element" : [ { - "type" : "Null", - "annotation" : [ ] - } ] - } - } - }, { - "name" : "output", - "value" : { - "type" : "Null", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "SingletonFrom1", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "SingletonFrom", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "type" : "List", - "annotation" : [ ], - "element" : [ { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - } ] - } - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "SingletonFrom12", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "SingletonFrom", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "type" : "List", - "annotation" : [ ], - "element" : [ { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal", - "annotation" : [ ] - } ] - } - } - }, { - "name" : "invalid", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "true", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "SingletonFromDateTime", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "SingletonFrom", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "type" : "List", - "annotation" : [ ], - "element" : [ { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - } - }, { - "name" : "output", - "value" : { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - } - } - } ] - } - }, { - "name" : "SingletonFromTime", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "SingletonFrom", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "type" : "List", - "annotation" : [ ], - "element" : [ { - "type" : "Time", - "annotation" : [ ], - "signature" : [ ], - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "999", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - } - }, { - "name" : "output", - "value" : { - "type" : "Time", - "annotation" : [ ], - "signature" : [ ], - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "999", - "type" : "Literal", - "annotation" : [ ] - } - } - } ] - } - } ] - } - }, { - "name" : "Skip", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ ], - "expression" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "SkipNull", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Slice", - "annotation" : [ ], - "signature" : [ ], - "source" : { - "type" : "As", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "type" : "Null", - "annotation" : [ ] - }, - "asTypeSpecifier" : { - "type" : "ListTypeSpecifier", - "annotation" : [ ], - "elementType" : { - "name" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "NamedTypeSpecifier", - "annotation" : [ ] - } + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + } + ] + } + } + }, + { + "name": "output", + "value": { + "type": "List", + "annotation": [], + "element": [] + } + } + ] + } + }, + { + "name": "TakeEmpty", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Slice", + "annotation": [], + "signature": [], + "source": { + "type": "List", + "annotation": [], + "element": [ + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2", + "annotation": [] + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "3", + "annotation": [] + } + ] + }, + "startIndex": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + "endIndex": { + "type": "Coalesce", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + } + ] + } + } + }, + { + "name": "output", + "value": { + "type": "List", + "annotation": [], + "element": [] + } + } + ] + } + }, + { + "name": "TakeEven", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Slice", + "annotation": [], + "signature": [], + "source": { + "type": "List", + "annotation": [], + "element": [ + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2", + "annotation": [] + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "3", + "annotation": [] + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "4", + "annotation": [] + } + ] + }, + "startIndex": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + "endIndex": { + "type": "Coalesce", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2", + "annotation": [] + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + } + ] + } + } + }, + { + "name": "output", + "value": { + "type": "List", + "annotation": [], + "element": [ + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2", + "annotation": [] + } + ] + } + } + ] + } + }, + { + "name": "TakeOdd", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Slice", + "annotation": [], + "signature": [], + "source": { + "type": "List", + "annotation": [], + "element": [ + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2", + "annotation": [] + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "3", + "annotation": [] + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "4", + "annotation": [] + } + ] + }, + "startIndex": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + "endIndex": { + "type": "Coalesce", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "3", + "annotation": [] + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + } + ] + } + } + }, + { + "name": "output", + "value": { + "type": "List", + "annotation": [], + "element": [ + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2", + "annotation": [] + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "3", + "annotation": [] + } + ] + } + } + ] + } + }, + { + "name": "TakeAll", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Slice", + "annotation": [], + "signature": [], + "source": { + "type": "List", + "annotation": [], + "element": [ + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2", + "annotation": [] + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "3", + "annotation": [] + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "4", + "annotation": [] + } + ] + }, + "startIndex": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + "endIndex": { + "type": "Coalesce", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "4", + "annotation": [] + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + } + ] + } + } + }, + { + "name": "output", + "value": { + "type": "List", + "annotation": [], + "element": [ + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2", + "annotation": [] + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "3", + "annotation": [] + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "4", + "annotation": [] + } + ] + } + } + ] + } + } + ] + } + }, + { + "name": "Union", + "context": "Patient", + "accessLevel": "Public", + "annotation": [], + "expression": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "UnionEmptyAndEmpty", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Union", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "List", + "annotation": [], + "element": [] + }, + { + "type": "List", + "annotation": [], + "element": [] + } + ] + } + }, + { + "name": "output", + "value": { + "type": "List", + "annotation": [], + "element": [] + } + } + ] + } + }, + { + "name": "UnionListNullAndListNull", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Union", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "List", + "annotation": [], + "element": [ + { + "type": "Null", + "annotation": [] } - }, - "startIndex" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal", - "annotation" : [ ] - }, - "endIndex" : { - "type" : "Null", - "annotation" : [ ] - } - } - }, { - "name" : "output", - "value" : { - "type" : "Null", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "SkipEven", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Slice", - "annotation" : [ ], - "signature" : [ ], - "source" : { - "type" : "List", - "annotation" : [ ], - "element" : [ { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal", - "annotation" : [ ] - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal", - "annotation" : [ ] - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "4", - "type" : "Literal", - "annotation" : [ ] - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal", - "annotation" : [ ] - } ] - }, - "startIndex" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal", - "annotation" : [ ] - }, - "endIndex" : { - "type" : "Null", - "annotation" : [ ] - } - } - }, { - "name" : "output", - "value" : { - "type" : "List", - "annotation" : [ ], - "element" : [ { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal", - "annotation" : [ ] - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "4", - "type" : "Literal", - "annotation" : [ ] - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal", - "annotation" : [ ] - } ] - } - } ] - } - }, { - "name" : "SkipOdd", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Slice", - "annotation" : [ ], - "signature" : [ ], - "source" : { - "type" : "List", - "annotation" : [ ], - "element" : [ { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal", - "annotation" : [ ] - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal", - "annotation" : [ ] - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "4", - "type" : "Literal", - "annotation" : [ ] - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal", - "annotation" : [ ] - } ] - }, - "startIndex" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal", - "annotation" : [ ] - }, - "endIndex" : { - "type" : "Null", - "annotation" : [ ] - } - } - }, { - "name" : "output", - "value" : { - "type" : "List", - "annotation" : [ ], - "element" : [ { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "4", - "type" : "Literal", - "annotation" : [ ] - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal", - "annotation" : [ ] - } ] - } - } ] - } - }, { - "name" : "SkipNone", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Slice", - "annotation" : [ ], - "signature" : [ ], - "source" : { - "type" : "List", - "annotation" : [ ], - "element" : [ { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal", - "annotation" : [ ] - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal", - "annotation" : [ ] - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "4", - "type" : "Literal", - "annotation" : [ ] - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal", - "annotation" : [ ] - } ] - }, - "startIndex" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, - "endIndex" : { - "type" : "Null", - "annotation" : [ ] - } - } - }, { - "name" : "output", - "value" : { - "type" : "List", - "annotation" : [ ], - "element" : [ { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal", - "annotation" : [ ] - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal", - "annotation" : [ ] - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "4", - "type" : "Literal", - "annotation" : [ ] - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal", - "annotation" : [ ] - } ] - } - } ] - } - }, { - "name" : "SkipAll", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Slice", - "annotation" : [ ], - "signature" : [ ], - "source" : { - "type" : "List", - "annotation" : [ ], - "element" : [ { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal", - "annotation" : [ ] - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal", - "annotation" : [ ] - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "4", - "type" : "Literal", - "annotation" : [ ] - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal", - "annotation" : [ ] - } ] - }, - "startIndex" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal", - "annotation" : [ ] - }, - "endIndex" : { - "type" : "Null", - "annotation" : [ ] - } - } - }, { - "name" : "output", - "value" : { - "type" : "List", - "annotation" : [ ], - "element" : [ ] - } - } ] - } - } ] - } - }, { - "name" : "Tail", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ ], - "expression" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "TailNull", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Slice", - "annotation" : [ ], - "signature" : [ ], - "source" : { - "type" : "As", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "type" : "Null", - "annotation" : [ ] - }, - "asTypeSpecifier" : { - "type" : "ListTypeSpecifier", - "annotation" : [ ], - "elementType" : { - "name" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "NamedTypeSpecifier", - "annotation" : [ ] - } + ] + }, + { + "type": "List", + "annotation": [], + "element": [ + { + "type": "Null", + "annotation": [] } - }, - "startIndex" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - }, - "endIndex" : { - "type" : "Null", - "annotation" : [ ] - } - } - }, { - "name" : "output", - "value" : { - "type" : "Null", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "TailEven", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Slice", - "annotation" : [ ], - "signature" : [ ], - "source" : { - "type" : "List", - "annotation" : [ ], - "element" : [ { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal", - "annotation" : [ ] - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal", - "annotation" : [ ] - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "4", - "type" : "Literal", - "annotation" : [ ] - } ] - }, - "startIndex" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - }, - "endIndex" : { - "type" : "Null", - "annotation" : [ ] - } - } - }, { - "name" : "output", - "value" : { - "type" : "List", - "annotation" : [ ], - "element" : [ { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal", - "annotation" : [ ] - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal", - "annotation" : [ ] - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "4", - "type" : "Literal", - "annotation" : [ ] - } ] - } - } ] - } - }, { - "name" : "TailOdd", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Slice", - "annotation" : [ ], - "signature" : [ ], - "source" : { - "type" : "List", - "annotation" : [ ], - "element" : [ { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal", - "annotation" : [ ] - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal", - "annotation" : [ ] - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "4", - "type" : "Literal", - "annotation" : [ ] - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal", - "annotation" : [ ] - } ] - }, - "startIndex" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - }, - "endIndex" : { - "type" : "Null", - "annotation" : [ ] - } - } - }, { - "name" : "output", - "value" : { - "type" : "List", - "annotation" : [ ], - "element" : [ { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal", - "annotation" : [ ] - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal", - "annotation" : [ ] - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "4", - "type" : "Literal", - "annotation" : [ ] - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal", - "annotation" : [ ] - } ] - } - } ] - } - }, { - "name" : "TailEmpty", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Slice", - "annotation" : [ ], - "signature" : [ ], - "source" : { - "type" : "List", - "annotation" : [ ], - "element" : [ ] - }, - "startIndex" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - }, - "endIndex" : { - "type" : "Null", - "annotation" : [ ] - } - } - }, { - "name" : "output", - "value" : { - "type" : "List", - "annotation" : [ ], - "element" : [ ] - } - } ] - } - }, { - "name" : "TailOneElement", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Slice", - "annotation" : [ ], - "signature" : [ ], - "source" : { - "type" : "List", - "annotation" : [ ], - "element" : [ { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - } ] - }, - "startIndex" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - }, - "endIndex" : { - "type" : "Null", - "annotation" : [ ] - } - } - }, { - "name" : "output", - "value" : { - "type" : "List", - "annotation" : [ ], - "element" : [ ] - } - } ] - } - } ] - } - }, { - "name" : "Take", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ ], - "expression" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "TakeNull", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Slice", - "annotation" : [ ], - "signature" : [ ], - "source" : { - "type" : "As", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "type" : "Null", - "annotation" : [ ] - }, - "asTypeSpecifier" : { - "type" : "ListTypeSpecifier", - "annotation" : [ ], - "elementType" : { - "name" : "{urn:hl7-org:elm-types:r1}Any", - "type" : "NamedTypeSpecifier", - "annotation" : [ ] - } + ] + } + ] + } + }, + { + "name": "output", + "value": { + "type": "List", + "annotation": [], + "element": [ + { + "type": "Null", + "annotation": [] + } + ] + } + } + ] + } + }, + { + "name": "Union123AndEmpty", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Union", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "List", + "annotation": [], + "element": [ + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2", + "annotation": [] + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "3", + "annotation": [] } - }, - "startIndex" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, - "endIndex" : { - "type" : "Coalesce", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal", - "annotation" : [ ] - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - } ] - } - } - }, { - "name" : "output", - "value" : { - "type" : "Null", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "TakeNullEmpty", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Slice", - "annotation" : [ ], - "signature" : [ ], - "source" : { - "type" : "List", - "annotation" : [ ], - "element" : [ { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal", - "annotation" : [ ] - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal", - "annotation" : [ ] - } ] - }, - "startIndex" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, - "endIndex" : { - "type" : "Coalesce", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "strict" : false, - "type" : "As", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "type" : "Null", - "annotation" : [ ] - }, - "asTypeSpecifier" : { - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier", - "annotation" : [ ] - } - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - } ] - } - } - }, { - "name" : "output", - "value" : { - "type" : "List", - "annotation" : [ ], - "element" : [ ] - } - } ] - } - }, { - "name" : "TakeEmpty", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Slice", - "annotation" : [ ], - "signature" : [ ], - "source" : { - "type" : "List", - "annotation" : [ ], - "element" : [ { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal", - "annotation" : [ ] - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal", - "annotation" : [ ] - } ] - }, - "startIndex" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, - "endIndex" : { - "type" : "Coalesce", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - } ] - } - } - }, { - "name" : "output", - "value" : { - "type" : "List", - "annotation" : [ ], - "element" : [ ] - } - } ] - } - }, { - "name" : "TakeEven", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Slice", - "annotation" : [ ], - "signature" : [ ], - "source" : { - "type" : "List", - "annotation" : [ ], - "element" : [ { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal", - "annotation" : [ ] - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal", - "annotation" : [ ] - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "4", - "type" : "Literal", - "annotation" : [ ] - } ] - }, - "startIndex" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, - "endIndex" : { - "type" : "Coalesce", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal", - "annotation" : [ ] - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - } ] - } - } - }, { - "name" : "output", - "value" : { - "type" : "List", - "annotation" : [ ], - "element" : [ { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal", - "annotation" : [ ] - } ] - } - } ] - } - }, { - "name" : "TakeOdd", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Slice", - "annotation" : [ ], - "signature" : [ ], - "source" : { - "type" : "List", - "annotation" : [ ], - "element" : [ { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal", - "annotation" : [ ] - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal", - "annotation" : [ ] - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "4", - "type" : "Literal", - "annotation" : [ ] - } ] - }, - "startIndex" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, - "endIndex" : { - "type" : "Coalesce", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal", - "annotation" : [ ] - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - } ] - } - } - }, { - "name" : "output", - "value" : { - "type" : "List", - "annotation" : [ ], - "element" : [ { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal", - "annotation" : [ ] - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal", - "annotation" : [ ] - } ] - } - } ] - } - }, { - "name" : "TakeAll", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Slice", - "annotation" : [ ], - "signature" : [ ], - "source" : { - "type" : "List", - "annotation" : [ ], - "element" : [ { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal", - "annotation" : [ ] - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal", - "annotation" : [ ] - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "4", - "type" : "Literal", - "annotation" : [ ] - } ] - }, - "startIndex" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, - "endIndex" : { - "type" : "Coalesce", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "4", - "type" : "Literal", - "annotation" : [ ] - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - } ] - } - } - }, { - "name" : "output", - "value" : { - "type" : "List", - "annotation" : [ ], - "element" : [ { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal", - "annotation" : [ ] - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal", - "annotation" : [ ] - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "4", - "type" : "Literal", - "annotation" : [ ] - } ] - } - } ] - } - } ] - } - }, { - "name" : "Union", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ ], - "expression" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "UnionEmptyAndEmpty", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Union", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "type" : "List", - "annotation" : [ ], - "element" : [ ] - }, { - "type" : "List", - "annotation" : [ ], - "element" : [ ] - } ] - } - }, { - "name" : "output", - "value" : { - "type" : "List", - "annotation" : [ ], - "element" : [ ] - } - } ] - } - }, { - "name" : "UnionListNullAndListNull", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Union", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "type" : "List", - "annotation" : [ ], - "element" : [ { - "type" : "Null", - "annotation" : [ ] - } ] - }, { - "type" : "List", - "annotation" : [ ], - "element" : [ { - "type" : "Null", - "annotation" : [ ] - } ] - } ] - } - }, { - "name" : "output", - "value" : { - "type" : "List", - "annotation" : [ ], - "element" : [ { - "type" : "Null", - "annotation" : [ ] - } ] - } - } ] - } - }, { - "name" : "Union123AndEmpty", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Union", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "type" : "List", - "annotation" : [ ], - "element" : [ { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal", - "annotation" : [ ] - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal", - "annotation" : [ ] - } ] - }, { - "type" : "Query", - "annotation" : [ ], - "source" : [ { - "alias" : "X", - "annotation" : [ ], - "expression" : { - "type" : "List", - "annotation" : [ ], - "element" : [ ] - } - } ], - "let" : [ ], - "relationship" : [ ], - "return" : { - "distinct" : false, - "annotation" : [ ], - "expression" : { - "asType" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "As", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "name" : "X", - "type" : "AliasRef", - "annotation" : [ ] - } - } + ] + }, + { + "type": "Query", + "annotation": [], + "source": [ + { + "alias": "X", + "annotation": [], + "expression": { + "type": "List", + "annotation": [], + "element": [] + } } - } ] - } - }, { - "name" : "output", - "value" : { - "type" : "List", - "annotation" : [ ], - "element" : [ { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal", - "annotation" : [ ] - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal", - "annotation" : [ ] - } ] - } - } ] - } - }, { - "name" : "Union123And2", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Union", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "type" : "List", - "annotation" : [ ], - "element" : [ { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal", - "annotation" : [ ] - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal", - "annotation" : [ ] - } ] - }, { - "type" : "List", - "annotation" : [ ], - "element" : [ { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal", - "annotation" : [ ] - } ] - } ] - } - }, { - "name" : "output", - "value" : { - "type" : "List", - "annotation" : [ ], - "element" : [ { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal", - "annotation" : [ ] - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal", - "annotation" : [ ] - } ] - } - } ] - } - }, { - "name" : "Union123And4", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Union", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "type" : "List", - "annotation" : [ ], - "element" : [ { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal", - "annotation" : [ ] - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal", - "annotation" : [ ] - } ] - }, { - "type" : "List", - "annotation" : [ ], - "element" : [ { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "4", - "type" : "Literal", - "annotation" : [ ] - } ] - } ] - } - }, { - "name" : "output", - "value" : { - "type" : "List", - "annotation" : [ ], - "element" : [ { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal", - "annotation" : [ ] - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal", - "annotation" : [ ] - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "4", - "type" : "Literal", - "annotation" : [ ] - } ] - } - } ] - } - }, { - "name" : "UnionDateTime", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Union", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "type" : "List", - "annotation" : [ ], - "element" : [ { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2001", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "9", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "11", - "type" : "Literal", - "annotation" : [ ] - } - } ] - }, { - "type" : "List", - "annotation" : [ ], - "element" : [ { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2014", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "12", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } ] - } - }, { - "name" : "output", - "value" : { - "type" : "List", - "annotation" : [ ], - "element" : [ { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2001", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "9", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "11", - "type" : "Literal", - "annotation" : [ ] + ], + "let": [], + "relationship": [], + "return": { + "distinct": false, + "annotation": [], + "expression": { + "type": "As", + "asType": "{urn:hl7-org:elm-types:r1}Integer", + "annotation": [], + "signature": [], + "operand": { + "type": "AliasRef", + "name": "X", + "annotation": [] + } } - }, { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] + } + } + ] + } + }, + { + "name": "output", + "value": { + "type": "List", + "annotation": [], + "element": [ + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2", + "annotation": [] + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "3", + "annotation": [] + } + ] + } + } + ] + } + }, + { + "name": "Union123And2", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Union", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "List", + "annotation": [], + "element": [ + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2", + "annotation": [] + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "3", + "annotation": [] } - }, { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2014", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "12", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] + ] + }, + { + "type": "List", + "annotation": [], + "element": [ + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2", + "annotation": [] } - } ] - } - } ] - } - }, { - "name" : "UnionTime", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Union", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "type" : "List", - "annotation" : [ ], - "element" : [ { - "type" : "Time", - "annotation" : [ ], - "signature" : [ ], - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "999", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "type" : "Time", - "annotation" : [ ], - "signature" : [ ], - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "20", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "999", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "type" : "Time", - "annotation" : [ ], - "signature" : [ ], - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "12", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "999", - "type" : "Literal", - "annotation" : [ ] - } - } ] - }, { - "type" : "List", - "annotation" : [ ], - "element" : [ { - "type" : "Time", - "annotation" : [ ], - "signature" : [ ], - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "999", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } ] - } - }, { - "name" : "output", - "value" : { - "type" : "List", - "annotation" : [ ], - "element" : [ { - "type" : "Time", - "annotation" : [ ], - "signature" : [ ], - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "999", - "type" : "Literal", - "annotation" : [ ] + ] + } + ] + } + }, + { + "name": "output", + "value": { + "type": "List", + "annotation": [], + "element": [ + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2", + "annotation": [] + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "3", + "annotation": [] + } + ] + } + } + ] + } + }, + { + "name": "Union123And4", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Union", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "List", + "annotation": [], + "element": [ + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2", + "annotation": [] + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "3", + "annotation": [] } - }, { - "type" : "Time", - "annotation" : [ ], - "signature" : [ ], - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "20", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "999", - "type" : "Literal", - "annotation" : [ ] + ] + }, + { + "type": "List", + "annotation": [], + "element": [ + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "4", + "annotation": [] } - }, { - "type" : "Time", - "annotation" : [ ], - "signature" : [ ], - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "12", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "999", - "type" : "Literal", - "annotation" : [ ] + ] + } + ] + } + }, + { + "name": "output", + "value": { + "type": "List", + "annotation": [], + "element": [ + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2", + "annotation": [] + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "3", + "annotation": [] + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "4", + "annotation": [] + } + ] + } + } + ] + } + }, + { + "name": "UnionDateTime", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Union", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "List", + "annotation": [], + "element": [ + { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2001", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "9", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "11", + "annotation": [] + } } - }, { - "type" : "Time", - "annotation" : [ ], - "signature" : [ ], - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "999", - "type" : "Literal", - "annotation" : [ ] + ] + }, + { + "type": "List", + "annotation": [], + "element": [ + { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2012", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "5", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + } + }, + { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2014", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "12", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + } } - } ] - } - } ] - } - } ] - } - } ] - } - } + ] + } + ] + } + }, + { + "name": "output", + "value": { + "type": "List", + "annotation": [], + "element": [ + { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2001", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "9", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "11", + "annotation": [] + } + }, + { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2012", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "5", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + } + }, + { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2014", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "12", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + } + } + ] + } + } + ] + } + }, + { + "name": "UnionTime", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Union", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "List", + "annotation": [], + "element": [ + { + "type": "Time", + "annotation": [], + "signature": [], + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "15", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "999", + "annotation": [] + } + }, + { + "type": "Time", + "annotation": [], + "signature": [], + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "20", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "999", + "annotation": [] + } + }, + { + "type": "Time", + "annotation": [], + "signature": [], + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "12", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "999", + "annotation": [] + } + } + ] + }, + { + "type": "List", + "annotation": [], + "element": [ + { + "type": "Time", + "annotation": [], + "signature": [], + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "999", + "annotation": [] + } + } + ] + } + ] + } + }, + { + "name": "output", + "value": { + "type": "List", + "annotation": [], + "element": [ + { + "type": "Time", + "annotation": [], + "signature": [], + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "15", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "999", + "annotation": [] + } + }, + { + "type": "Time", + "annotation": [], + "signature": [], + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "20", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "999", + "annotation": [] + } + }, + { + "type": "Time", + "annotation": [], + "signature": [], + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "12", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "999", + "annotation": [] + } + }, + { + "type": "Time", + "annotation": [], + "signature": [], + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "999", + "annotation": [] + } + } + ] + } + } + ] + } + } + ] + } + } + ] + } + } } - diff --git a/test/spec-tests/cql/CqlLogicalOperatorsTest.json b/test/spec-tests/cql/CqlLogicalOperatorsTest.json index 407b57ab..07d3c85a 100644 --- a/test/spec-tests/cql/CqlLogicalOperatorsTest.json +++ b/test/spec-tests/cql/CqlLogicalOperatorsTest.json @@ -1,1451 +1,1733 @@ { - "library" : { - "annotation" : [ { - "translatorVersion" : "3.27.0", - "translatorOptions" : "", - "signatureLevel" : "None", - "type" : "CqlToElmInfo" - } ], - "identifier" : { - "id" : "CqlLogicalOperatorsTest", - "version" : "1.4.0" - }, - "schemaIdentifier" : { - "id" : "urn:hl7-org:elm", - "version" : "r1" - }, - "usings" : { - "def" : [ { - "localIdentifier" : "System", - "uri" : "urn:hl7-org:elm-types:r1", - "annotation" : [ ] - }, { - "localIdentifier" : "QUICK", - "uri" : "http://hl7.org/fhir/us/qicore", - "version" : "3.3.0", - "annotation" : [ ] - } ] - }, - "contexts" : { - "def" : [ { - "name" : "Patient", - "annotation" : [ ] - } ] - }, - "statements" : { - "def" : [ { - "name" : "Patient", - "context" : "Patient", - "annotation" : [ ], - "expression" : { - "type" : "SingletonFrom", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "dataType" : "{http://hl7.org/fhir/us/qicore}Patient", - "templateId" : "http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-patient", - "type" : "Retrieve", - "annotation" : [ ], - "include" : [ ], - "codeFilter" : [ ], - "dateFilter" : [ ], - "otherFilter" : [ ] - } - } - }, { - "name" : "And", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ ], - "expression" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "TrueAndTrue", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "And", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "true", - "type" : "Literal", - "annotation" : [ ] - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "true", - "type" : "Literal", - "annotation" : [ ] - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "true", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "TrueAndFalse", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "And", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "true", - "type" : "Literal", - "annotation" : [ ] - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "false", - "type" : "Literal", - "annotation" : [ ] - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "false", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "TrueAndNull", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "And", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "true", - "type" : "Literal", - "annotation" : [ ] - }, { - "asType" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "As", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "type" : "Null", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "output", - "value" : { - "type" : "Null", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "FalseAndTrue", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "And", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "false", - "type" : "Literal", - "annotation" : [ ] - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "true", - "type" : "Literal", - "annotation" : [ ] - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "false", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "FalseAndFalse", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "And", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "false", - "type" : "Literal", - "annotation" : [ ] - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "false", - "type" : "Literal", - "annotation" : [ ] - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "false", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "FalseAndNull", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "And", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "false", - "type" : "Literal", - "annotation" : [ ] - }, { - "asType" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "As", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "type" : "Null", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "false", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "NullAndTrue", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "And", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "asType" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "As", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "type" : "Null", - "annotation" : [ ] - } - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "true", - "type" : "Literal", - "annotation" : [ ] - } ] - } - }, { - "name" : "output", - "value" : { - "type" : "Null", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "NullAndFalse", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "And", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "asType" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "As", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "type" : "Null", - "annotation" : [ ] - } - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "false", - "type" : "Literal", - "annotation" : [ ] - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "false", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "NullAndNull", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "And", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "asType" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "As", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "type" : "Null", - "annotation" : [ ] - } - }, { - "asType" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "As", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "type" : "Null", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "output", - "value" : { - "type" : "Null", - "annotation" : [ ] - } - } ] - } - } ] - } - }, { - "name" : "Implies", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ ], - "expression" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "TrueImpliesTrue", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Implies", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "true", - "type" : "Literal", - "annotation" : [ ] - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "true", - "type" : "Literal", - "annotation" : [ ] - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "true", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "TrueImpliesFalse", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Implies", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "true", - "type" : "Literal", - "annotation" : [ ] - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "false", - "type" : "Literal", - "annotation" : [ ] - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "false", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "TrueImpliesNull", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Implies", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "true", - "type" : "Literal", - "annotation" : [ ] - }, { - "asType" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "As", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "type" : "Null", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "output", - "value" : { - "type" : "Null", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "FalseImpliesTrue", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Implies", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "false", - "type" : "Literal", - "annotation" : [ ] - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "true", - "type" : "Literal", - "annotation" : [ ] - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "true", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "FalseImpliesFalse", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Implies", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "false", - "type" : "Literal", - "annotation" : [ ] - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "false", - "type" : "Literal", - "annotation" : [ ] - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "true", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "FalseImpliesNull", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Implies", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "false", - "type" : "Literal", - "annotation" : [ ] - }, { - "asType" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "As", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "type" : "Null", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "true", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "NullImpliesTrue", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Implies", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "asType" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "As", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "type" : "Null", - "annotation" : [ ] - } - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "true", - "type" : "Literal", - "annotation" : [ ] - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "true", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "NullImpliesFalse", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Implies", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "asType" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "As", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "type" : "Null", - "annotation" : [ ] - } - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "false", - "type" : "Literal", - "annotation" : [ ] - } ] - } - }, { - "name" : "output", - "value" : { - "type" : "Null", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "NullImpliesNull", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Implies", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "asType" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "As", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "type" : "Null", - "annotation" : [ ] - } - }, { - "asType" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "As", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "type" : "Null", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "output", - "value" : { - "type" : "Null", - "annotation" : [ ] - } - } ] - } - } ] - } - }, { - "name" : "Not", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ ], - "expression" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "NotTrue", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Not", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "true", - "type" : "Literal", - "annotation" : [ ] - } - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "false", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "NotFalse", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Not", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "false", - "type" : "Literal", - "annotation" : [ ] - } - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "true", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "NotNull", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Not", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "asType" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "As", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "type" : "Null", - "annotation" : [ ] - } - } - } - }, { - "name" : "output", - "value" : { - "type" : "Null", - "annotation" : [ ] - } - } ] - } - } ] - } - }, { - "name" : "Or", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ ], - "expression" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "TrueOrTrue", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Or", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "true", - "type" : "Literal", - "annotation" : [ ] - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "true", - "type" : "Literal", - "annotation" : [ ] - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "true", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "TrueOrFalse", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Or", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "true", - "type" : "Literal", - "annotation" : [ ] - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "false", - "type" : "Literal", - "annotation" : [ ] - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "true", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "TrueOrNull", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Or", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "true", - "type" : "Literal", - "annotation" : [ ] - }, { - "asType" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "As", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "type" : "Null", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "true", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "FalseOrTrue", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Or", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "false", - "type" : "Literal", - "annotation" : [ ] - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "true", - "type" : "Literal", - "annotation" : [ ] - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "true", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "FalseOrFalse", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Or", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "false", - "type" : "Literal", - "annotation" : [ ] - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "false", - "type" : "Literal", - "annotation" : [ ] - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "false", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "FalseOrNull", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Or", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "false", - "type" : "Literal", - "annotation" : [ ] - }, { - "asType" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "As", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "type" : "Null", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "output", - "value" : { - "type" : "Null", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "NullOrTrue", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Or", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "asType" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "As", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "type" : "Null", - "annotation" : [ ] - } - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "true", - "type" : "Literal", - "annotation" : [ ] - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "true", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "NullOrFalse", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Or", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "asType" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "As", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "type" : "Null", - "annotation" : [ ] - } - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "false", - "type" : "Literal", - "annotation" : [ ] - } ] - } - }, { - "name" : "output", - "value" : { - "type" : "Null", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "NullOrNull", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Or", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "asType" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "As", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "type" : "Null", - "annotation" : [ ] - } - }, { - "asType" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "As", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "type" : "Null", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "output", - "value" : { - "type" : "Null", - "annotation" : [ ] - } - } ] - } - } ] - } - }, { - "name" : "Xor", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ ], - "expression" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "TrueXorTrue", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Xor", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "true", - "type" : "Literal", - "annotation" : [ ] - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "true", - "type" : "Literal", - "annotation" : [ ] - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "false", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "TrueXorFalse", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Xor", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "true", - "type" : "Literal", - "annotation" : [ ] - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "false", - "type" : "Literal", - "annotation" : [ ] - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "true", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "TrueXorNull", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Xor", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "true", - "type" : "Literal", - "annotation" : [ ] - }, { - "asType" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "As", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "type" : "Null", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "output", - "value" : { - "type" : "Null", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "FalseXorTrue", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Xor", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "false", - "type" : "Literal", - "annotation" : [ ] - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "true", - "type" : "Literal", - "annotation" : [ ] - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "true", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "FalseXorFalse", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Xor", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "false", - "type" : "Literal", - "annotation" : [ ] - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "false", - "type" : "Literal", - "annotation" : [ ] - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "false", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "FalseXorNull", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Xor", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "false", - "type" : "Literal", - "annotation" : [ ] - }, { - "asType" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "As", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "type" : "Null", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "output", - "value" : { - "type" : "Null", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "NullXorTrue", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Xor", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "asType" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "As", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "type" : "Null", - "annotation" : [ ] - } - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "true", - "type" : "Literal", - "annotation" : [ ] - } ] - } - }, { - "name" : "output", - "value" : { - "type" : "Null", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "NullXorFalse", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Xor", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "asType" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "As", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "type" : "Null", - "annotation" : [ ] - } - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "false", - "type" : "Literal", - "annotation" : [ ] - } ] - } - }, { - "name" : "output", - "value" : { - "type" : "Null", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "NullXorNull", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Xor", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "asType" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "As", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "type" : "Null", - "annotation" : [ ] - } - }, { - "asType" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "As", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "type" : "Null", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "output", - "value" : { - "type" : "Null", - "annotation" : [ ] - } - } ] - } - } ] - } - } ] + "library": { + "annotation": [ + { + "type": "CqlToElmInfo", + "translatorVersion": "4.2.0", + "translatorOptions": "", + "signatureLevel": "None" } - } + ], + "identifier": { + "id": "CqlLogicalOperatorsTest", + "version": "1.4.0" + }, + "schemaIdentifier": { + "id": "urn:hl7-org:elm", + "version": "r1" + }, + "usings": { + "def": [ + { + "localIdentifier": "System", + "uri": "urn:hl7-org:elm-types:r1", + "annotation": [] + }, + { + "localIdentifier": "QUICK", + "uri": "http://hl7.org/fhir/us/qicore", + "version": "3.3.0", + "annotation": [] + } + ] + }, + "contexts": { + "def": [ + { + "name": "Patient", + "annotation": [] + } + ] + }, + "statements": { + "def": [ + { + "name": "Patient", + "context": "Patient", + "annotation": [], + "expression": { + "type": "SingletonFrom", + "annotation": [], + "signature": [], + "operand": { + "type": "Retrieve", + "dataType": "{http://hl7.org/fhir/us/qicore}Patient", + "templateId": "http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-patient", + "annotation": [], + "include": [], + "codeFilter": [], + "dateFilter": [], + "otherFilter": [] + } + } + }, + { + "name": "And", + "context": "Patient", + "accessLevel": "Public", + "annotation": [], + "expression": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "TrueAndTrue", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "And", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "true", + "annotation": [] + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "true", + "annotation": [] + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "true", + "annotation": [] + } + } + ] + } + }, + { + "name": "TrueAndFalse", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "And", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "true", + "annotation": [] + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "false", + "annotation": [] + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "false", + "annotation": [] + } + } + ] + } + }, + { + "name": "TrueAndNull", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "And", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "true", + "annotation": [] + }, + { + "type": "As", + "asType": "{urn:hl7-org:elm-types:r1}Boolean", + "annotation": [], + "signature": [], + "operand": { + "type": "Null", + "annotation": [] + } + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Null", + "annotation": [] + } + } + ] + } + }, + { + "name": "FalseAndTrue", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "And", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "false", + "annotation": [] + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "true", + "annotation": [] + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "false", + "annotation": [] + } + } + ] + } + }, + { + "name": "FalseAndFalse", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "And", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "false", + "annotation": [] + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "false", + "annotation": [] + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "false", + "annotation": [] + } + } + ] + } + }, + { + "name": "FalseAndNull", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "And", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "false", + "annotation": [] + }, + { + "type": "As", + "asType": "{urn:hl7-org:elm-types:r1}Boolean", + "annotation": [], + "signature": [], + "operand": { + "type": "Null", + "annotation": [] + } + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "false", + "annotation": [] + } + } + ] + } + }, + { + "name": "NullAndTrue", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "And", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "As", + "asType": "{urn:hl7-org:elm-types:r1}Boolean", + "annotation": [], + "signature": [], + "operand": { + "type": "Null", + "annotation": [] + } + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "true", + "annotation": [] + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Null", + "annotation": [] + } + } + ] + } + }, + { + "name": "NullAndFalse", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "And", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "As", + "asType": "{urn:hl7-org:elm-types:r1}Boolean", + "annotation": [], + "signature": [], + "operand": { + "type": "Null", + "annotation": [] + } + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "false", + "annotation": [] + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "false", + "annotation": [] + } + } + ] + } + }, + { + "name": "NullAndNull", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "And", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "As", + "asType": "{urn:hl7-org:elm-types:r1}Boolean", + "annotation": [], + "signature": [], + "operand": { + "type": "Null", + "annotation": [] + } + }, + { + "type": "As", + "asType": "{urn:hl7-org:elm-types:r1}Boolean", + "annotation": [], + "signature": [], + "operand": { + "type": "Null", + "annotation": [] + } + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Null", + "annotation": [] + } + } + ] + } + } + ] + } + }, + { + "name": "Implies", + "context": "Patient", + "accessLevel": "Public", + "annotation": [], + "expression": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "TrueImpliesTrue", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Implies", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "true", + "annotation": [] + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "true", + "annotation": [] + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "true", + "annotation": [] + } + } + ] + } + }, + { + "name": "TrueImpliesFalse", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Implies", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "true", + "annotation": [] + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "false", + "annotation": [] + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "false", + "annotation": [] + } + } + ] + } + }, + { + "name": "TrueImpliesNull", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Implies", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "true", + "annotation": [] + }, + { + "type": "As", + "asType": "{urn:hl7-org:elm-types:r1}Boolean", + "annotation": [], + "signature": [], + "operand": { + "type": "Null", + "annotation": [] + } + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Null", + "annotation": [] + } + } + ] + } + }, + { + "name": "FalseImpliesTrue", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Implies", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "false", + "annotation": [] + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "true", + "annotation": [] + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "true", + "annotation": [] + } + } + ] + } + }, + { + "name": "FalseImpliesFalse", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Implies", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "false", + "annotation": [] + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "false", + "annotation": [] + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "true", + "annotation": [] + } + } + ] + } + }, + { + "name": "FalseImpliesNull", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Implies", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "false", + "annotation": [] + }, + { + "type": "As", + "asType": "{urn:hl7-org:elm-types:r1}Boolean", + "annotation": [], + "signature": [], + "operand": { + "type": "Null", + "annotation": [] + } + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "true", + "annotation": [] + } + } + ] + } + }, + { + "name": "NullImpliesTrue", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Implies", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "As", + "asType": "{urn:hl7-org:elm-types:r1}Boolean", + "annotation": [], + "signature": [], + "operand": { + "type": "Null", + "annotation": [] + } + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "true", + "annotation": [] + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "true", + "annotation": [] + } + } + ] + } + }, + { + "name": "NullImpliesFalse", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Implies", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "As", + "asType": "{urn:hl7-org:elm-types:r1}Boolean", + "annotation": [], + "signature": [], + "operand": { + "type": "Null", + "annotation": [] + } + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "false", + "annotation": [] + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Null", + "annotation": [] + } + } + ] + } + }, + { + "name": "NullImpliesNull", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Implies", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "As", + "asType": "{urn:hl7-org:elm-types:r1}Boolean", + "annotation": [], + "signature": [], + "operand": { + "type": "Null", + "annotation": [] + } + }, + { + "type": "As", + "asType": "{urn:hl7-org:elm-types:r1}Boolean", + "annotation": [], + "signature": [], + "operand": { + "type": "Null", + "annotation": [] + } + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Null", + "annotation": [] + } + } + ] + } + } + ] + } + }, + { + "name": "Not", + "context": "Patient", + "accessLevel": "Public", + "annotation": [], + "expression": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "NotTrue", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Not", + "annotation": [], + "signature": [], + "operand": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "true", + "annotation": [] + } + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "false", + "annotation": [] + } + } + ] + } + }, + { + "name": "NotFalse", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Not", + "annotation": [], + "signature": [], + "operand": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "false", + "annotation": [] + } + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "true", + "annotation": [] + } + } + ] + } + }, + { + "name": "NotNull", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Not", + "annotation": [], + "signature": [], + "operand": { + "type": "As", + "asType": "{urn:hl7-org:elm-types:r1}Boolean", + "annotation": [], + "signature": [], + "operand": { + "type": "Null", + "annotation": [] + } + } + } + }, + { + "name": "output", + "value": { + "type": "Null", + "annotation": [] + } + } + ] + } + } + ] + } + }, + { + "name": "Or", + "context": "Patient", + "accessLevel": "Public", + "annotation": [], + "expression": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "TrueOrTrue", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Or", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "true", + "annotation": [] + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "true", + "annotation": [] + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "true", + "annotation": [] + } + } + ] + } + }, + { + "name": "TrueOrFalse", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Or", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "true", + "annotation": [] + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "false", + "annotation": [] + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "true", + "annotation": [] + } + } + ] + } + }, + { + "name": "TrueOrNull", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Or", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "true", + "annotation": [] + }, + { + "type": "As", + "asType": "{urn:hl7-org:elm-types:r1}Boolean", + "annotation": [], + "signature": [], + "operand": { + "type": "Null", + "annotation": [] + } + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "true", + "annotation": [] + } + } + ] + } + }, + { + "name": "FalseOrTrue", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Or", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "false", + "annotation": [] + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "true", + "annotation": [] + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "true", + "annotation": [] + } + } + ] + } + }, + { + "name": "FalseOrFalse", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Or", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "false", + "annotation": [] + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "false", + "annotation": [] + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "false", + "annotation": [] + } + } + ] + } + }, + { + "name": "FalseOrNull", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Or", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "false", + "annotation": [] + }, + { + "type": "As", + "asType": "{urn:hl7-org:elm-types:r1}Boolean", + "annotation": [], + "signature": [], + "operand": { + "type": "Null", + "annotation": [] + } + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Null", + "annotation": [] + } + } + ] + } + }, + { + "name": "NullOrTrue", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Or", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "As", + "asType": "{urn:hl7-org:elm-types:r1}Boolean", + "annotation": [], + "signature": [], + "operand": { + "type": "Null", + "annotation": [] + } + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "true", + "annotation": [] + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "true", + "annotation": [] + } + } + ] + } + }, + { + "name": "NullOrFalse", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Or", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "As", + "asType": "{urn:hl7-org:elm-types:r1}Boolean", + "annotation": [], + "signature": [], + "operand": { + "type": "Null", + "annotation": [] + } + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "false", + "annotation": [] + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Null", + "annotation": [] + } + } + ] + } + }, + { + "name": "NullOrNull", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Or", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "As", + "asType": "{urn:hl7-org:elm-types:r1}Boolean", + "annotation": [], + "signature": [], + "operand": { + "type": "Null", + "annotation": [] + } + }, + { + "type": "As", + "asType": "{urn:hl7-org:elm-types:r1}Boolean", + "annotation": [], + "signature": [], + "operand": { + "type": "Null", + "annotation": [] + } + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Null", + "annotation": [] + } + } + ] + } + } + ] + } + }, + { + "name": "Xor", + "context": "Patient", + "accessLevel": "Public", + "annotation": [], + "expression": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "TrueXorTrue", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Xor", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "true", + "annotation": [] + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "true", + "annotation": [] + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "false", + "annotation": [] + } + } + ] + } + }, + { + "name": "TrueXorFalse", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Xor", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "true", + "annotation": [] + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "false", + "annotation": [] + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "true", + "annotation": [] + } + } + ] + } + }, + { + "name": "TrueXorNull", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Xor", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "true", + "annotation": [] + }, + { + "type": "As", + "asType": "{urn:hl7-org:elm-types:r1}Boolean", + "annotation": [], + "signature": [], + "operand": { + "type": "Null", + "annotation": [] + } + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Null", + "annotation": [] + } + } + ] + } + }, + { + "name": "FalseXorTrue", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Xor", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "false", + "annotation": [] + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "true", + "annotation": [] + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "true", + "annotation": [] + } + } + ] + } + }, + { + "name": "FalseXorFalse", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Xor", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "false", + "annotation": [] + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "false", + "annotation": [] + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "false", + "annotation": [] + } + } + ] + } + }, + { + "name": "FalseXorNull", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Xor", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "false", + "annotation": [] + }, + { + "type": "As", + "asType": "{urn:hl7-org:elm-types:r1}Boolean", + "annotation": [], + "signature": [], + "operand": { + "type": "Null", + "annotation": [] + } + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Null", + "annotation": [] + } + } + ] + } + }, + { + "name": "NullXorTrue", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Xor", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "As", + "asType": "{urn:hl7-org:elm-types:r1}Boolean", + "annotation": [], + "signature": [], + "operand": { + "type": "Null", + "annotation": [] + } + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "true", + "annotation": [] + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Null", + "annotation": [] + } + } + ] + } + }, + { + "name": "NullXorFalse", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Xor", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "As", + "asType": "{urn:hl7-org:elm-types:r1}Boolean", + "annotation": [], + "signature": [], + "operand": { + "type": "Null", + "annotation": [] + } + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "false", + "annotation": [] + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Null", + "annotation": [] + } + } + ] + } + }, + { + "name": "NullXorNull", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Xor", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "As", + "asType": "{urn:hl7-org:elm-types:r1}Boolean", + "annotation": [], + "signature": [], + "operand": { + "type": "Null", + "annotation": [] + } + }, + { + "type": "As", + "asType": "{urn:hl7-org:elm-types:r1}Boolean", + "annotation": [], + "signature": [], + "operand": { + "type": "Null", + "annotation": [] + } + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Null", + "annotation": [] + } + } + ] + } + } + ] + } + } + ] + } + } } - diff --git a/test/spec-tests/cql/CqlNullologicalOperatorsTest.json b/test/spec-tests/cql/CqlNullologicalOperatorsTest.json index 92f2b515..5e9a7447 100644 --- a/test/spec-tests/cql/CqlNullologicalOperatorsTest.json +++ b/test/spec-tests/cql/CqlNullologicalOperatorsTest.json @@ -1,1080 +1,1240 @@ { - "library" : { - "annotation" : [ { - "translatorVersion" : "3.27.0", - "translatorOptions" : "", - "signatureLevel" : "None", - "type" : "CqlToElmInfo" - } ], - "identifier" : { - "id" : "CqlNullologicalOperatorsTest", - "version" : "1.4.0" - }, - "schemaIdentifier" : { - "id" : "urn:hl7-org:elm", - "version" : "r1" - }, - "usings" : { - "def" : [ { - "localIdentifier" : "System", - "uri" : "urn:hl7-org:elm-types:r1", - "annotation" : [ ] - }, { - "localIdentifier" : "QUICK", - "uri" : "http://hl7.org/fhir/us/qicore", - "version" : "3.3.0", - "annotation" : [ ] - } ] - }, - "contexts" : { - "def" : [ { - "name" : "Patient", - "annotation" : [ ] - } ] - }, - "statements" : { - "def" : [ { - "name" : "Patient", - "context" : "Patient", - "annotation" : [ ], - "expression" : { - "type" : "SingletonFrom", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "dataType" : "{http://hl7.org/fhir/us/qicore}Patient", - "templateId" : "http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-patient", - "type" : "Retrieve", - "annotation" : [ ], - "include" : [ ], - "codeFilter" : [ ], - "dateFilter" : [ ], - "otherFilter" : [ ] - } + "library": { + "annotation": [ + { + "type": "CqlToElmInfo", + "translatorVersion": "4.2.0", + "translatorOptions": "", + "signatureLevel": "None" + } + ], + "identifier": { + "id": "CqlNullologicalOperatorsTest", + "version": "1.4.0" + }, + "schemaIdentifier": { + "id": "urn:hl7-org:elm", + "version": "r1" + }, + "usings": { + "def": [ + { + "localIdentifier": "System", + "uri": "urn:hl7-org:elm-types:r1", + "annotation": [] + }, + { + "localIdentifier": "QUICK", + "uri": "http://hl7.org/fhir/us/qicore", + "version": "3.3.0", + "annotation": [] + } + ] + }, + "contexts": { + "def": [ + { + "name": "Patient", + "annotation": [] + } + ] + }, + "statements": { + "def": [ + { + "name": "Patient", + "context": "Patient", + "annotation": [], + "expression": { + "type": "SingletonFrom", + "annotation": [], + "signature": [], + "operand": { + "type": "Retrieve", + "dataType": "{http://hl7.org/fhir/us/qicore}Patient", + "templateId": "http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-patient", + "annotation": [], + "include": [], + "codeFilter": [], + "dateFilter": [], + "otherFilter": [] } - }, { - "name" : "Coalesce", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ ], - "expression" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "CoalesceANull", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Coalesce", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "a", - "type" : "Literal", - "annotation" : [ ] - }, { - "asType" : "{urn:hl7-org:elm-types:r1}String", - "type" : "As", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "type" : "Null", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "a", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "CoalesceNullA", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Coalesce", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "asType" : "{urn:hl7-org:elm-types:r1}String", - "type" : "As", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "type" : "Null", - "annotation" : [ ] - } - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "a", - "type" : "Literal", - "annotation" : [ ] - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "a", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "CoalesceEmptyList", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Coalesce", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "type" : "List", - "annotation" : [ ], - "element" : [ ] - } ] - } - }, { - "name" : "output", - "value" : { - "type" : "Null", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "CoalesceListFirstA", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Coalesce", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "type" : "List", - "annotation" : [ ], - "element" : [ { - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "a", - "type" : "Literal", - "annotation" : [ ] - }, { - "asType" : "{urn:hl7-org:elm-types:r1}String", - "type" : "As", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "type" : "Null", - "annotation" : [ ] - } - }, { - "asType" : "{urn:hl7-org:elm-types:r1}String", - "type" : "As", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "type" : "Null", - "annotation" : [ ] - } - } ] - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "a", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "CoalesceListLastA", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Coalesce", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "type" : "List", - "annotation" : [ ], - "element" : [ { - "asType" : "{urn:hl7-org:elm-types:r1}String", - "type" : "As", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "type" : "Null", - "annotation" : [ ] - } - }, { - "asType" : "{urn:hl7-org:elm-types:r1}String", - "type" : "As", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "type" : "Null", - "annotation" : [ ] - } - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "a", - "type" : "Literal", - "annotation" : [ ] - } ] - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "a", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "CoalesceFirstList", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Coalesce", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "type" : "List", - "annotation" : [ ], - "element" : [ { - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "a", - "type" : "Literal", - "annotation" : [ ] - } ] - }, { - "type" : "As", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "type" : "Null", - "annotation" : [ ] + } + }, + { + "name": "Coalesce", + "context": "Patient", + "accessLevel": "Public", + "annotation": [], + "expression": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "CoalesceANull", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Coalesce", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}String", + "value": "a", + "annotation": [] + }, + { + "type": "As", + "asType": "{urn:hl7-org:elm-types:r1}String", + "annotation": [], + "signature": [], + "operand": { + "type": "Null", + "annotation": [] + } + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}String", + "value": "a", + "annotation": [] + } + } + ] + } + }, + { + "name": "CoalesceNullA", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Coalesce", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "As", + "asType": "{urn:hl7-org:elm-types:r1}String", + "annotation": [], + "signature": [], + "operand": { + "type": "Null", + "annotation": [] + } + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}String", + "value": "a", + "annotation": [] + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}String", + "value": "a", + "annotation": [] + } + } + ] + } + }, + { + "name": "CoalesceEmptyList", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Coalesce", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "List", + "annotation": [], + "element": [] + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Null", + "annotation": [] + } + } + ] + } + }, + { + "name": "CoalesceListFirstA", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Coalesce", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "List", + "annotation": [], + "element": [ + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}String", + "value": "a", + "annotation": [] }, - "asTypeSpecifier" : { - "type" : "ListTypeSpecifier", - "annotation" : [ ], - "elementType" : { - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier", - "annotation" : [ ] - } - } - }, { - "type" : "As", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "type" : "Null", - "annotation" : [ ] + { + "type": "As", + "asType": "{urn:hl7-org:elm-types:r1}String", + "annotation": [], + "signature": [], + "operand": { + "type": "Null", + "annotation": [] + } }, - "asTypeSpecifier" : { - "type" : "ListTypeSpecifier", - "annotation" : [ ], - "elementType" : { - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier", - "annotation" : [ ] - } + { + "type": "As", + "asType": "{urn:hl7-org:elm-types:r1}String", + "annotation": [], + "signature": [], + "operand": { + "type": "Null", + "annotation": [] + } } - } ] - } - }, { - "name" : "output", - "value" : { - "type" : "List", - "annotation" : [ ], - "element" : [ { - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "a", - "type" : "Literal", - "annotation" : [ ] - } ] - } - } ] - } - }, { - "name" : "CoalesceLastList", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Coalesce", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "type" : "As", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "type" : "Null", - "annotation" : [ ] + ] + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}String", + "value": "a", + "annotation": [] + } + } + ] + } + }, + { + "name": "CoalesceListLastA", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Coalesce", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "List", + "annotation": [], + "element": [ + { + "type": "As", + "asType": "{urn:hl7-org:elm-types:r1}String", + "annotation": [], + "signature": [], + "operand": { + "type": "Null", + "annotation": [] + } }, - "asTypeSpecifier" : { - "type" : "ListTypeSpecifier", - "annotation" : [ ], - "elementType" : { - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier", - "annotation" : [ ] - } - } - }, { - "type" : "As", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "type" : "Null", - "annotation" : [ ] + { + "type": "As", + "asType": "{urn:hl7-org:elm-types:r1}String", + "annotation": [], + "signature": [], + "operand": { + "type": "Null", + "annotation": [] + } }, - "asTypeSpecifier" : { - "type" : "ListTypeSpecifier", - "annotation" : [ ], - "elementType" : { - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier", - "annotation" : [ ] - } + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}String", + "value": "a", + "annotation": [] } - }, { - "type" : "List", - "annotation" : [ ], - "element" : [ { - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "a", - "type" : "Literal", - "annotation" : [ ] - } ] - } ] - } - }, { - "name" : "output", - "value" : { - "type" : "List", - "annotation" : [ ], - "element" : [ { - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "a", - "type" : "Literal", - "annotation" : [ ] - } ] + ] + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}String", + "value": "a", + "annotation": [] + } + } + ] + } + }, + { + "name": "CoalesceFirstList", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Coalesce", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "List", + "annotation": [], + "element": [ + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}String", + "value": "a", + "annotation": [] + } + ] + }, + { + "type": "As", + "annotation": [], + "signature": [], + "operand": { + "type": "Null", + "annotation": [] + }, + "asTypeSpecifier": { + "type": "ListTypeSpecifier", + "annotation": [], + "elementType": { + "type": "NamedTypeSpecifier", + "name": "{urn:hl7-org:elm-types:r1}String", + "annotation": [] + } + } + }, + { + "type": "As", + "annotation": [], + "signature": [], + "operand": { + "type": "Null", + "annotation": [] + }, + "asTypeSpecifier": { + "type": "ListTypeSpecifier", + "annotation": [], + "elementType": { + "type": "NamedTypeSpecifier", + "name": "{urn:hl7-org:elm-types:r1}String", + "annotation": [] + } + } + } + ] + } + }, + { + "name": "output", + "value": { + "type": "List", + "annotation": [], + "element": [ + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}String", + "value": "a", + "annotation": [] + } + ] + } + } + ] + } + }, + { + "name": "CoalesceLastList", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Coalesce", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "As", + "annotation": [], + "signature": [], + "operand": { + "type": "Null", + "annotation": [] + }, + "asTypeSpecifier": { + "type": "ListTypeSpecifier", + "annotation": [], + "elementType": { + "type": "NamedTypeSpecifier", + "name": "{urn:hl7-org:elm-types:r1}String", + "annotation": [] + } + } + }, + { + "type": "As", + "annotation": [], + "signature": [], + "operand": { + "type": "Null", + "annotation": [] + }, + "asTypeSpecifier": { + "type": "ListTypeSpecifier", + "annotation": [], + "elementType": { + "type": "NamedTypeSpecifier", + "name": "{urn:hl7-org:elm-types:r1}String", + "annotation": [] + } + } + }, + { + "type": "List", + "annotation": [], + "element": [ + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}String", + "value": "a", + "annotation": [] + } + ] + } + ] + } + }, + { + "name": "output", + "value": { + "type": "List", + "annotation": [], + "element": [ + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}String", + "value": "a", + "annotation": [] + } + ] + } + } + ] + } + }, + { + "name": "DateTimeCoalesce", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Coalesce", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Null", + "annotation": [] + }, + { + "type": "Null", + "annotation": [] + }, + { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2012", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "5", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "18", + "annotation": [] + } + } + ] + } + }, + { + "name": "output", + "value": { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2012", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "5", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "18", + "annotation": [] } - } ] - } - }, { - "name" : "DateTimeCoalesce", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Coalesce", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "type" : "Null", - "annotation" : [ ] - }, { - "type" : "Null", - "annotation" : [ ] - }, { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal", - "annotation" : [ ] + } + } + ] + } + }, + { + "name": "DateTimeListCoalesce", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Coalesce", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "List", + "annotation": [], + "element": [ + { + "type": "As", + "asType": "{urn:hl7-org:elm-types:r1}DateTime", + "annotation": [], + "signature": [], + "operand": { + "type": "Null", + "annotation": [] + } }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal", - "annotation" : [ ] + { + "type": "As", + "asType": "{urn:hl7-org:elm-types:r1}DateTime", + "annotation": [], + "signature": [], + "operand": { + "type": "Null", + "annotation": [] + } }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "18", - "type" : "Literal", - "annotation" : [ ] + { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2012", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "5", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "18", + "annotation": [] + } } - } ] + ] + } + ] + } + }, + { + "name": "output", + "value": { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2012", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "5", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "18", + "annotation": [] } - }, { - "name" : "output", - "value" : { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "18", - "type" : "Literal", - "annotation" : [ ] - } + } + } + ] + } + }, + { + "name": "TimeCoalesce", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Coalesce", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Null", + "annotation": [] + }, + { + "type": "Null", + "annotation": [] + }, + { + "type": "Time", + "annotation": [], + "signature": [], + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "5", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "15", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "33", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "556", + "annotation": [] + } + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Time", + "annotation": [], + "signature": [], + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "5", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "15", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "33", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "556", + "annotation": [] } - } ] - } - }, { - "name" : "DateTimeListCoalesce", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Coalesce", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "type" : "List", - "annotation" : [ ], - "element" : [ { - "asType" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "As", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "type" : "Null", - "annotation" : [ ] - } - }, { - "asType" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "As", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "type" : "Null", - "annotation" : [ ] - } - }, { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "18", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } ] - } - }, { - "name" : "output", - "value" : { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "18", - "type" : "Literal", - "annotation" : [ ] - } - } - } ] - } - }, { - "name" : "TimeCoalesce", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Coalesce", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "type" : "Null", - "annotation" : [ ] - }, { - "type" : "Null", - "annotation" : [ ] - }, { - "type" : "Time", - "annotation" : [ ], - "signature" : [ ], - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal", - "annotation" : [ ] + } + } + ] + } + }, + { + "name": "TimeListCoalesce", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Coalesce", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "List", + "annotation": [], + "element": [ + { + "type": "As", + "asType": "{urn:hl7-org:elm-types:r1}Time", + "annotation": [], + "signature": [], + "operand": { + "type": "Null", + "annotation": [] + } }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "33", - "type" : "Literal", - "annotation" : [ ] + { + "type": "As", + "asType": "{urn:hl7-org:elm-types:r1}Time", + "annotation": [], + "signature": [], + "operand": { + "type": "Null", + "annotation": [] + } }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "556", - "type" : "Literal", - "annotation" : [ ] + { + "type": "Time", + "annotation": [], + "signature": [], + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "5", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "15", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "33", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "556", + "annotation": [] + } } - } ] - } - }, { - "name" : "output", - "value" : { - "type" : "Time", - "annotation" : [ ], - "signature" : [ ], - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "33", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "556", - "type" : "Literal", - "annotation" : [ ] - } - } - } ] - } - }, { - "name" : "TimeListCoalesce", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Coalesce", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "type" : "List", - "annotation" : [ ], - "element" : [ { - "asType" : "{urn:hl7-org:elm-types:r1}Time", - "type" : "As", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "type" : "Null", - "annotation" : [ ] - } - }, { - "asType" : "{urn:hl7-org:elm-types:r1}Time", - "type" : "As", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "type" : "Null", - "annotation" : [ ] - } - }, { - "type" : "Time", - "annotation" : [ ], - "signature" : [ ], - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "33", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "556", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } ] - } - }, { - "name" : "output", - "value" : { - "type" : "Time", - "annotation" : [ ], - "signature" : [ ], - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "15", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "33", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "556", - "type" : "Literal", - "annotation" : [ ] - } - } - } ] - } - } ] - } - }, { - "name" : "IsNull", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ ], - "expression" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "IsNullTrue", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "IsNull", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "type" : "Null", - "annotation" : [ ] - } - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "true", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "IsNullFalseEmptyString", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "IsNull", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "", - "type" : "Literal", - "annotation" : [ ] - } - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "false", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "IsNullAlsoFalseAbcString", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "IsNull", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "abc", - "type" : "Literal", - "annotation" : [ ] - } + ] + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Time", + "annotation": [], + "signature": [], + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "5", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "15", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "33", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "556", + "annotation": [] } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "false", - "type" : "Literal", - "annotation" : [ ] + } + } + ] + } + } + ] + } + }, + { + "name": "IsNull", + "context": "Patient", + "accessLevel": "Public", + "annotation": [], + "expression": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "IsNullTrue", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "IsNull", + "annotation": [], + "signature": [], + "operand": { + "type": "Null", + "annotation": [] } - } ] - } - }, { - "name" : "IsNullAlsoFalseNumber1", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "IsNull", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - } + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "true", + "annotation": [] + } + } + ] + } + }, + { + "name": "IsNullFalseEmptyString", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "IsNull", + "annotation": [], + "signature": [], + "operand": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}String", + "value": "", + "annotation": [] } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "false", - "type" : "Literal", - "annotation" : [ ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "false", + "annotation": [] + } + } + ] + } + }, + { + "name": "IsNullAlsoFalseAbcString", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "IsNull", + "annotation": [], + "signature": [], + "operand": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}String", + "value": "abc", + "annotation": [] } - } ] - } - }, { - "name" : "IsNullAlsoFalseNumberZero", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "IsNull", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - } + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "false", + "annotation": [] + } + } + ] + } + }, + { + "name": "IsNullAlsoFalseNumber1", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "IsNull", + "annotation": [], + "signature": [], + "operand": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "false", - "type" : "Literal", - "annotation" : [ ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "false", + "annotation": [] + } + } + ] + } + }, + { + "name": "IsNullAlsoFalseNumberZero", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "IsNull", + "annotation": [], + "signature": [], + "operand": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] } - } ] - } - } ] - } - }, { - "name" : "IsFalse", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ ], - "expression" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "IsFalseFalse", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "IsFalse", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "false", - "type" : "Literal", - "annotation" : [ ] - } - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "true", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "IsFalseTrue", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "IsFalse", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "true", - "type" : "Literal", - "annotation" : [ ] - } - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "false", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "IsFalseNull", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "IsFalse", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "asType" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "As", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "type" : "Null", - "annotation" : [ ] - } - } + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "false", + "annotation": [] + } + } + ] + } + } + ] + } + }, + { + "name": "IsFalse", + "context": "Patient", + "accessLevel": "Public", + "annotation": [], + "expression": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "IsFalseFalse", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "IsFalse", + "annotation": [], + "signature": [], + "operand": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "false", + "annotation": [] } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "false", - "type" : "Literal", - "annotation" : [ ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "true", + "annotation": [] + } + } + ] + } + }, + { + "name": "IsFalseTrue", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "IsFalse", + "annotation": [], + "signature": [], + "operand": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "true", + "annotation": [] } - } ] - } - } ] - } - }, { - "name" : "IsTrue", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ ], - "expression" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "IsTrueTrue", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "IsTrue", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "true", - "type" : "Literal", - "annotation" : [ ] - } - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "true", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "IsTrueFalse", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "IsTrue", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "false", - "type" : "Literal", - "annotation" : [ ] - } + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "false", + "annotation": [] + } + } + ] + } + }, + { + "name": "IsFalseNull", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "IsFalse", + "annotation": [], + "signature": [], + "operand": { + "type": "As", + "asType": "{urn:hl7-org:elm-types:r1}Boolean", + "annotation": [], + "signature": [], + "operand": { + "type": "Null", + "annotation": [] + } } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "false", - "type" : "Literal", - "annotation" : [ ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "false", + "annotation": [] + } + } + ] + } + } + ] + } + }, + { + "name": "IsTrue", + "context": "Patient", + "accessLevel": "Public", + "annotation": [], + "expression": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "IsTrueTrue", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "IsTrue", + "annotation": [], + "signature": [], + "operand": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "true", + "annotation": [] } - } ] - } - }, { - "name" : "IsTrueNull", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "IsTrue", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "asType" : "{urn:hl7-org:elm-types:r1}Boolean", - "type" : "As", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "type" : "Null", - "annotation" : [ ] - } - } + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "true", + "annotation": [] + } + } + ] + } + }, + { + "name": "IsTrueFalse", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "IsTrue", + "annotation": [], + "signature": [], + "operand": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "false", + "annotation": [] } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "false", - "type" : "Literal", - "annotation" : [ ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "false", + "annotation": [] + } + } + ] + } + }, + { + "name": "IsTrueNull", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "IsTrue", + "annotation": [], + "signature": [], + "operand": { + "type": "As", + "asType": "{urn:hl7-org:elm-types:r1}Boolean", + "annotation": [], + "signature": [], + "operand": { + "type": "Null", + "annotation": [] + } } - } ] - } - } ] - } - } ] - } - } + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "false", + "annotation": [] + } + } + ] + } + } + ] + } + } + ] + } + } } - diff --git a/test/spec-tests/cql/CqlOverloadMatching.json b/test/spec-tests/cql/CqlOverloadMatching.json index c926ff4e..e37cbac3 100644 --- a/test/spec-tests/cql/CqlOverloadMatching.json +++ b/test/spec-tests/cql/CqlOverloadMatching.json @@ -1,84 +1,97 @@ { - "library" : { - "annotation" : [ { - "translatorVersion" : "3.27.0", - "translatorOptions" : "", - "signatureLevel" : "None", - "type" : "CqlToElmInfo" - } ], - "identifier" : { - "id" : "OverloadMatching", - "version" : "1.4.0" - }, - "schemaIdentifier" : { - "id" : "urn:hl7-org:elm", - "version" : "r1" - }, - "usings" : { - "def" : [ { - "localIdentifier" : "System", - "uri" : "urn:hl7-org:elm-types:r1", - "annotation" : [ ] - }, { - "localIdentifier" : "QUICK", - "uri" : "http://hl7.org/fhir/us/qicore", - "version" : "3.3.0", - "annotation" : [ ] - } ] - }, - "contexts" : { - "def" : [ { - "name" : "Patient", - "annotation" : [ ] - } ] - }, - "statements" : { - "def" : [ { - "name" : "Patient", - "context" : "Patient", - "annotation" : [ ], - "expression" : { - "type" : "SingletonFrom", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "dataType" : "{http://hl7.org/fhir/us/qicore}Patient", - "templateId" : "http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-patient", - "type" : "Retrieve", - "annotation" : [ ], - "include" : [ ], - "codeFilter" : [ ], - "dateFilter" : [ ], - "otherFilter" : [ ] - } - } - }, { - "name" : "OverloadMatching", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ ], - "expression" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "SimpleOverloadMatching", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "skipped", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "Test tag not supported in cql-execution test runner", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - } ] - } - } ] + "library": { + "annotation": [ + { + "type": "CqlToElmInfo", + "translatorVersion": "4.2.0", + "translatorOptions": "", + "signatureLevel": "None" } - } + ], + "identifier": { + "id": "OverloadMatching", + "version": "1.4.0" + }, + "schemaIdentifier": { + "id": "urn:hl7-org:elm", + "version": "r1" + }, + "usings": { + "def": [ + { + "localIdentifier": "System", + "uri": "urn:hl7-org:elm-types:r1", + "annotation": [] + }, + { + "localIdentifier": "QUICK", + "uri": "http://hl7.org/fhir/us/qicore", + "version": "3.3.0", + "annotation": [] + } + ] + }, + "contexts": { + "def": [ + { + "name": "Patient", + "annotation": [] + } + ] + }, + "statements": { + "def": [ + { + "name": "Patient", + "context": "Patient", + "annotation": [], + "expression": { + "type": "SingletonFrom", + "annotation": [], + "signature": [], + "operand": { + "type": "Retrieve", + "dataType": "{http://hl7.org/fhir/us/qicore}Patient", + "templateId": "http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-patient", + "annotation": [], + "include": [], + "codeFilter": [], + "dateFilter": [], + "otherFilter": [] + } + } + }, + { + "name": "OverloadMatching", + "context": "Patient", + "accessLevel": "Public", + "annotation": [], + "expression": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "SimpleOverloadMatching", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "skipped", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}String", + "value": "Test tag not supported in cql-execution test runner", + "annotation": [] + } + } + ] + } + } + ] + } + } + ] + } + } } - diff --git a/test/spec-tests/cql/CqlQueryTests.json b/test/spec-tests/cql/CqlQueryTests.json index 9cee13c4..7dc681e2 100644 --- a/test/spec-tests/cql/CqlQueryTests.json +++ b/test/spec-tests/cql/CqlQueryTests.json @@ -1,1575 +1,1773 @@ { - "library" : { - "annotation" : [ { - "translatorVersion" : "3.27.0", - "translatorOptions" : "", - "signatureLevel" : "None", - "type" : "CqlToElmInfo" - } ], - "identifier" : { - "id" : "CqlQueryTest", - "version" : "1.4.0" - }, - "schemaIdentifier" : { - "id" : "urn:hl7-org:elm", - "version" : "r1" - }, - "usings" : { - "def" : [ { - "localIdentifier" : "System", - "uri" : "urn:hl7-org:elm-types:r1", - "annotation" : [ ] - }, { - "localIdentifier" : "QUICK", - "uri" : "http://hl7.org/fhir/us/qicore", - "version" : "3.3.0", - "annotation" : [ ] - } ] - }, - "contexts" : { - "def" : [ { - "name" : "Patient", - "annotation" : [ ] - } ] - }, - "statements" : { - "def" : [ { - "name" : "Patient", - "context" : "Patient", - "annotation" : [ ], - "expression" : { - "type" : "SingletonFrom", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "dataType" : "{http://hl7.org/fhir/us/qicore}Patient", - "templateId" : "http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-patient", - "type" : "Retrieve", - "annotation" : [ ], - "include" : [ ], - "codeFilter" : [ ], - "dateFilter" : [ ], - "otherFilter" : [ ] - } - } - }, { - "name" : "SimpleQueries", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ ], - "expression" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "NonListSource", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Query", - "annotation" : [ ], - "source" : [ { - "alias" : "l", - "annotation" : [ ], - "expression" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "4", - "type" : "Literal", - "annotation" : [ ] - } - } ], - "let" : [ ], - "relationship" : [ ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "4", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "NonListSourceWithReturn", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Query", - "annotation" : [ ], - "source" : [ { - "alias" : "l", - "annotation" : [ ], - "expression" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "4", - "type" : "Literal", - "annotation" : [ ] - } - } ], - "let" : [ ], - "relationship" : [ ], - "return" : { - "annotation" : [ ], - "expression" : { - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "Hello World", - "type" : "Literal", - "annotation" : [ ] - } - } - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "Hello World", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "MultiSource", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Query", - "annotation" : [ ], - "source" : [ { - "alias" : "A", - "annotation" : [ ], - "expression" : { - "type" : "List", - "annotation" : [ ], - "element" : [ { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal", - "annotation" : [ ] - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal", - "annotation" : [ ] - } ] - } - }, { - "alias" : "B", - "annotation" : [ ], - "expression" : { - "type" : "List", - "annotation" : [ ], - "element" : [ { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal", - "annotation" : [ ] - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "6", - "type" : "Literal", - "annotation" : [ ] - } ] - } - } ], - "let" : [ ], - "relationship" : [ ], - "return" : { - "distinct" : true, - "annotation" : [ ], - "expression" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "A", - "value" : { - "name" : "A", - "type" : "AliasRef", - "annotation" : [ ] - } - }, { - "name" : "B", - "value" : { - "name" : "B", - "type" : "AliasRef", - "annotation" : [ ] - } - } ] - } - } - } - }, { - "name" : "output", - "value" : { - "type" : "List", - "annotation" : [ ], - "element" : [ { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "A", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "name" : "B", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal", - "annotation" : [ ] - } - } ] - }, { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "A", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "name" : "B", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "6", - "type" : "Literal", - "annotation" : [ ] - } - } ] - }, { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "A", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "name" : "B", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal", - "annotation" : [ ] - } - } ] - }, { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "A", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "name" : "B", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "6", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } ] - } - } ] - } - } ] + "library": { + "annotation": [ + { + "type": "CqlToElmInfo", + "translatorVersion": "4.2.0", + "translatorOptions": "", + "signatureLevel": "None" + } + ], + "identifier": { + "id": "CqlQueryTest", + "version": "1.4.0" + }, + "schemaIdentifier": { + "id": "urn:hl7-org:elm", + "version": "r1" + }, + "usings": { + "def": [ + { + "localIdentifier": "System", + "uri": "urn:hl7-org:elm-types:r1", + "annotation": [] + }, + { + "localIdentifier": "QUICK", + "uri": "http://hl7.org/fhir/us/qicore", + "version": "3.3.0", + "annotation": [] + } + ] + }, + "contexts": { + "def": [ + { + "name": "Patient", + "annotation": [] + } + ] + }, + "statements": { + "def": [ + { + "name": "Patient", + "context": "Patient", + "annotation": [], + "expression": { + "type": "SingletonFrom", + "annotation": [], + "signature": [], + "operand": { + "type": "Retrieve", + "dataType": "{http://hl7.org/fhir/us/qicore}Patient", + "templateId": "http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-patient", + "annotation": [], + "include": [], + "codeFilter": [], + "dateFilter": [], + "otherFilter": [] } - }, { - "name" : "Sort", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ ], - "expression" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "IntegerDescending", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Query", - "annotation" : [ ], - "source" : [ { - "alias" : "l", - "annotation" : [ ], - "expression" : { - "type" : "List", - "annotation" : [ ], - "element" : [ { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal", - "annotation" : [ ] - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal", - "annotation" : [ ] - } ] - } - } ], - "let" : [ ], - "relationship" : [ ], - "sort" : { - "annotation" : [ ], - "by" : [ { - "direction" : "desc", - "type" : "ByDirection", - "annotation" : [ ] - } ] - } + } + }, + { + "name": "SimpleQueries", + "context": "Patient", + "accessLevel": "Public", + "annotation": [], + "expression": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "NonListSource", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Query", + "annotation": [], + "source": [ + { + "alias": "l", + "annotation": [], + "expression": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "4", + "annotation": [] + } + } + ], + "let": [], + "relationship": [] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "4", + "annotation": [] + } + } + ] + } + }, + { + "name": "NonListSourceWithReturn", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Query", + "annotation": [], + "source": [ + { + "alias": "l", + "annotation": [], + "expression": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "4", + "annotation": [] + } + } + ], + "let": [], + "relationship": [], + "return": { + "annotation": [], + "expression": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}String", + "value": "Hello World", + "annotation": [] + } } - }, { - "name" : "output", - "value" : { - "type" : "List", - "annotation" : [ ], - "element" : [ { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal", - "annotation" : [ ] - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal", - "annotation" : [ ] - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - } ] - } - } ] - } - }, { - "name" : "IntegerAscending", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Query", - "annotation" : [ ], - "source" : [ { - "alias" : "l", - "annotation" : [ ], - "expression" : { - "type" : "List", - "annotation" : [ ], - "element" : [ { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal", - "annotation" : [ ] - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal", - "annotation" : [ ] - } ] - } - } ], - "let" : [ ], - "relationship" : [ ], - "sort" : { - "annotation" : [ ], - "by" : [ { - "direction" : "ascending", - "type" : "ByDirection", - "annotation" : [ ] - } ] - } - } - }, { - "name" : "output", - "value" : { - "type" : "List", - "annotation" : [ ], - "element" : [ { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal", - "annotation" : [ ] - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal", - "annotation" : [ ] - } ] - } - } ] - } - }, { - "name" : "DateTimeDescending", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Query", - "annotation" : [ ], - "source" : [ { - "alias" : "l", - "annotation" : [ ], - "expression" : { - "type" : "List", - "annotation" : [ ], - "element" : [ { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2013", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal", - "annotation" : [ ] - }, - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, - "timezoneOffset" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "0.0", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2014", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal", - "annotation" : [ ] - }, - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, - "timezoneOffset" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "0.0", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2015", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal", - "annotation" : [ ] - }, - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, - "timezoneOffset" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "0.0", - "type" : "Literal", - "annotation" : [ ] - } - } ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}String", + "value": "Hello World", + "annotation": [] + } + } + ] + } + }, + { + "name": "MultiSource", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Query", + "annotation": [], + "source": [ + { + "alias": "A", + "annotation": [], + "expression": { + "type": "List", + "annotation": [], + "element": [ + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2", + "annotation": [] + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "3", + "annotation": [] + } + ] + } + }, + { + "alias": "B", + "annotation": [], + "expression": { + "type": "List", + "annotation": [], + "element": [ + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "5", + "annotation": [] + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "6", + "annotation": [] + } + ] + } + } + ], + "let": [], + "relationship": [], + "return": { + "distinct": true, + "annotation": [], + "expression": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "A", + "value": { + "type": "AliasRef", + "name": "A", + "annotation": [] + } + }, + { + "name": "B", + "value": { + "type": "AliasRef", + "name": "B", + "annotation": [] + } } - } ], - "let" : [ ], - "relationship" : [ ], - "sort" : { - "annotation" : [ ], - "by" : [ { - "direction" : "desc", - "type" : "ByDirection", - "annotation" : [ ] - } ] - } + ] + } } - }, { - "name" : "output", - "value" : { - "type" : "List", - "annotation" : [ ], - "element" : [ { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2015", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal", - "annotation" : [ ] - }, - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] + } + }, + { + "name": "output", + "value": { + "type": "List", + "annotation": [], + "element": [ + { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "A", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2", + "annotation": [] + } }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, - "timezoneOffset" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "0.0", - "type" : "Literal", - "annotation" : [ ] + { + "name": "B", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "5", + "annotation": [] + } } - }, { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2014", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal", - "annotation" : [ ] + ] + }, + { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "A", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2", + "annotation": [] + } }, - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, - "timezoneOffset" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "0.0", - "type" : "Literal", - "annotation" : [ ] + { + "name": "B", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "6", + "annotation": [] + } } - }, { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2013", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal", - "annotation" : [ ] + ] + }, + { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "A", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "3", + "annotation": [] + } }, - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] + { + "name": "B", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "5", + "annotation": [] + } + } + ] + }, + { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "A", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "3", + "annotation": [] + } }, - "timezoneOffset" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "0.0", - "type" : "Literal", - "annotation" : [ ] + { + "name": "B", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "6", + "annotation": [] + } } - } ] + ] + } + ] + } + } + ] + } + } + ] + } + }, + { + "name": "Sort", + "context": "Patient", + "accessLevel": "Public", + "annotation": [], + "expression": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "IntegerDescending", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Query", + "annotation": [], + "source": [ + { + "alias": "l", + "annotation": [], + "expression": { + "type": "List", + "annotation": [], + "element": [ + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2", + "annotation": [] + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "3", + "annotation": [] + } + ] + } + } + ], + "let": [], + "relationship": [], + "sort": { + "annotation": [], + "by": [ + { + "type": "ByDirection", + "direction": "desc", + "annotation": [] + } + ] } - } ] - } - }, { - "name" : "DateTimeAscending", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Query", - "annotation" : [ ], - "source" : [ { - "alias" : "l", - "annotation" : [ ], - "expression" : { - "type" : "List", - "annotation" : [ ], - "element" : [ { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2013", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal", - "annotation" : [ ] - }, - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, - "timezoneOffset" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "0.0", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2015", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal", - "annotation" : [ ] - }, - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, - "timezoneOffset" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "0.0", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2014", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal", - "annotation" : [ ] - }, - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, - "timezoneOffset" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "0.0", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - } ], - "let" : [ ], - "relationship" : [ ], - "sort" : { - "annotation" : [ ], - "by" : [ { - "direction" : "ascending", - "type" : "ByDirection", - "annotation" : [ ] - } ] - } + } + }, + { + "name": "output", + "value": { + "type": "List", + "annotation": [], + "element": [ + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "3", + "annotation": [] + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2", + "annotation": [] + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + } + ] + } + } + ] + } + }, + { + "name": "IntegerAscending", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Query", + "annotation": [], + "source": [ + { + "alias": "l", + "annotation": [], + "expression": { + "type": "List", + "annotation": [], + "element": [ + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "3", + "annotation": [] + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2", + "annotation": [] + } + ] + } + } + ], + "let": [], + "relationship": [], + "sort": { + "annotation": [], + "by": [ + { + "type": "ByDirection", + "direction": "ascending", + "annotation": [] + } + ] } - }, { - "name" : "output", - "value" : { - "type" : "List", - "annotation" : [ ], - "element" : [ { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2013", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal", - "annotation" : [ ] - }, - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, - "timezoneOffset" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "0.0", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2014", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal", - "annotation" : [ ] - }, - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, - "timezoneOffset" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "0.0", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2015", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal", - "annotation" : [ ] - }, - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, - "timezoneOffset" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "0.0", - "type" : "Literal", - "annotation" : [ ] - } - } ] + } + }, + { + "name": "output", + "value": { + "type": "List", + "annotation": [], + "element": [ + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2", + "annotation": [] + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "3", + "annotation": [] + } + ] + } + } + ] + } + }, + { + "name": "DateTimeDescending", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Query", + "annotation": [], + "source": [ + { + "alias": "l", + "annotation": [], + "expression": { + "type": "List", + "annotation": [], + "element": [ + { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2013", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2", + "annotation": [] + }, + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + "timezoneOffset": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "0.0", + "annotation": [] + } + }, + { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2014", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2", + "annotation": [] + }, + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + "timezoneOffset": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "0.0", + "annotation": [] + } + }, + { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2015", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2", + "annotation": [] + }, + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + "timezoneOffset": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "0.0", + "annotation": [] + } + } + ] + } + } + ], + "let": [], + "relationship": [], + "sort": { + "annotation": [], + "by": [ + { + "type": "ByDirection", + "direction": "desc", + "annotation": [] + } + ] } - } ] - } - } ] - } - }, { - "name" : "Aggregate", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ ], - "expression" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "MultiplyIntegers", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Query", - "annotation" : [ ], - "source" : [ { - "alias" : "L", - "annotation" : [ ], - "expression" : { - "type" : "List", - "annotation" : [ ], - "element" : [ { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal", - "annotation" : [ ] - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal", - "annotation" : [ ] - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal", - "annotation" : [ ] - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "4", - "type" : "Literal", - "annotation" : [ ] - } ] - } - } ], - "let" : [ ], - "relationship" : [ ], - "aggregate" : { - "identifier" : "A", - "annotation" : [ ], - "expression" : { - "type" : "Multiply", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "name" : "A", - "type" : "QueryLetRef", - "annotation" : [ ] - }, { - "name" : "L", - "type" : "AliasRef", - "annotation" : [ ] - } ] + } + }, + { + "name": "output", + "value": { + "type": "List", + "annotation": [], + "element": [ + { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2015", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2", + "annotation": [] + }, + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + "timezoneOffset": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "0.0", + "annotation": [] + } + }, + { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2014", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2", + "annotation": [] + }, + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + "timezoneOffset": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "0.0", + "annotation": [] + } + }, + { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2013", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2", + "annotation": [] + }, + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + "timezoneOffset": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "0.0", + "annotation": [] + } + } + ] + } + } + ] + } + }, + { + "name": "DateTimeAscending", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Query", + "annotation": [], + "source": [ + { + "alias": "l", + "annotation": [], + "expression": { + "type": "List", + "annotation": [], + "element": [ + { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2013", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2", + "annotation": [] + }, + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + "timezoneOffset": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "0.0", + "annotation": [] + } + }, + { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2015", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2", + "annotation": [] + }, + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + "timezoneOffset": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "0.0", + "annotation": [] + } + }, + { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2014", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2", + "annotation": [] + }, + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + "timezoneOffset": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "0.0", + "annotation": [] + } + } + ] + } + } + ], + "let": [], + "relationship": [], + "sort": { + "annotation": [], + "by": [ + { + "type": "ByDirection", + "direction": "ascending", + "annotation": [] + } + ] + } + } + }, + { + "name": "output", + "value": { + "type": "List", + "annotation": [], + "element": [ + { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2013", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2", + "annotation": [] + }, + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + "timezoneOffset": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "0.0", + "annotation": [] + } + }, + { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2014", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2", + "annotation": [] + }, + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + "timezoneOffset": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "0.0", + "annotation": [] + } + }, + { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2015", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2", + "annotation": [] + }, + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + "timezoneOffset": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "0.0", + "annotation": [] + } + } + ] + } + } + ] + } + } + ] + } + }, + { + "name": "Aggregate", + "context": "Patient", + "accessLevel": "Public", + "annotation": [], + "expression": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "MultiplyIntegers", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Query", + "annotation": [], + "source": [ + { + "alias": "L", + "annotation": [], + "expression": { + "type": "List", + "annotation": [], + "element": [ + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2", + "annotation": [] + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "3", + "annotation": [] + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "3", + "annotation": [] + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "4", + "annotation": [] + } + ] + } + } + ], + "let": [], + "relationship": [], + "aggregate": { + "identifier": "A", + "annotation": [], + "expression": { + "type": "Multiply", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "QueryLetRef", + "name": "A", + "annotation": [] }, - "starting" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] + { + "type": "AliasRef", + "name": "L", + "annotation": [] } - } - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "72", - "type" : "Literal", - "annotation" : [ ] + ] + }, + "starting": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + } } - } ] - } - }, { - "name" : "MultiplyIntegersAll", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Query", - "annotation" : [ ], - "source" : [ { - "alias" : "L", - "annotation" : [ ], - "expression" : { - "type" : "List", - "annotation" : [ ], - "element" : [ { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal", - "annotation" : [ ] - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal", - "annotation" : [ ] - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal", - "annotation" : [ ] - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "4", - "type" : "Literal", - "annotation" : [ ] - } ] - } - } ], - "let" : [ ], - "relationship" : [ ], - "aggregate" : { - "identifier" : "A", - "distinct" : false, - "annotation" : [ ], - "expression" : { - "type" : "Multiply", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "name" : "A", - "type" : "QueryLetRef", - "annotation" : [ ] - }, { - "name" : "L", - "type" : "AliasRef", - "annotation" : [ ] - } ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "72", + "annotation": [] + } + } + ] + } + }, + { + "name": "MultiplyIntegersAll", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Query", + "annotation": [], + "source": [ + { + "alias": "L", + "annotation": [], + "expression": { + "type": "List", + "annotation": [], + "element": [ + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2", + "annotation": [] + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "3", + "annotation": [] + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "3", + "annotation": [] + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "4", + "annotation": [] + } + ] + } + } + ], + "let": [], + "relationship": [], + "aggregate": { + "identifier": "A", + "distinct": false, + "annotation": [], + "expression": { + "type": "Multiply", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "QueryLetRef", + "name": "A", + "annotation": [] }, - "starting" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] + { + "type": "AliasRef", + "name": "L", + "annotation": [] } - } - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "72", - "type" : "Literal", - "annotation" : [ ] + ] + }, + "starting": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + } } - } ] - } - }, { - "name" : "MultiplyIntegersDistinct", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Query", - "annotation" : [ ], - "source" : [ { - "alias" : "L", - "annotation" : [ ], - "expression" : { - "type" : "List", - "annotation" : [ ], - "element" : [ { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal", - "annotation" : [ ] - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal", - "annotation" : [ ] - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal", - "annotation" : [ ] - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "4", - "type" : "Literal", - "annotation" : [ ] - } ] - } - } ], - "let" : [ ], - "relationship" : [ ], - "aggregate" : { - "identifier" : "A", - "distinct" : true, - "annotation" : [ ], - "expression" : { - "type" : "Multiply", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "name" : "A", - "type" : "QueryLetRef", - "annotation" : [ ] - }, { - "name" : "L", - "type" : "AliasRef", - "annotation" : [ ] - } ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "72", + "annotation": [] + } + } + ] + } + }, + { + "name": "MultiplyIntegersDistinct", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Query", + "annotation": [], + "source": [ + { + "alias": "L", + "annotation": [], + "expression": { + "type": "List", + "annotation": [], + "element": [ + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2", + "annotation": [] + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "3", + "annotation": [] + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "3", + "annotation": [] + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "4", + "annotation": [] + } + ] + } + } + ], + "let": [], + "relationship": [], + "aggregate": { + "identifier": "A", + "distinct": true, + "annotation": [], + "expression": { + "type": "Multiply", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "QueryLetRef", + "name": "A", + "annotation": [] }, - "starting" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] + { + "type": "AliasRef", + "name": "L", + "annotation": [] } - } - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "24", - "type" : "Literal", - "annotation" : [ ] + ] + }, + "starting": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + } } - } ] - } - }, { - "name" : "MultiplyIntegersNoStartingExpression", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Query", - "annotation" : [ ], - "source" : [ { - "alias" : "L", - "annotation" : [ ], - "expression" : { - "type" : "List", - "annotation" : [ ], - "element" : [ { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal", - "annotation" : [ ] - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal", - "annotation" : [ ] - } ] - } - } ], - "let" : [ ], - "relationship" : [ ], - "aggregate" : { - "identifier" : "A", - "annotation" : [ ], - "expression" : { - "type" : "Multiply", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "asType" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "As", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "name" : "A", - "type" : "QueryLetRef", - "annotation" : [ ] - } - }, { - "name" : "L", - "type" : "AliasRef", - "annotation" : [ ] - } ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "24", + "annotation": [] + } + } + ] + } + }, + { + "name": "MultiplyIntegersNoStartingExpression", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Query", + "annotation": [], + "source": [ + { + "alias": "L", + "annotation": [], + "expression": { + "type": "List", + "annotation": [], + "element": [ + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2", + "annotation": [] + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "3", + "annotation": [] + } + ] + } + } + ], + "let": [], + "relationship": [], + "aggregate": { + "identifier": "A", + "annotation": [], + "expression": { + "type": "Multiply", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "As", + "asType": "{urn:hl7-org:elm-types:r1}Integer", + "annotation": [], + "signature": [], + "operand": { + "type": "QueryLetRef", + "name": "A", + "annotation": [] + } }, - "starting" : { - "type" : "Null", - "annotation" : [ ] + { + "type": "AliasRef", + "name": "L", + "annotation": [] } - } - } - }, { - "name" : "output", - "value" : { - "type" : "Null", - "annotation" : [ ] + ] + }, + "starting": { + "type": "Null", + "annotation": [] + } } - } ] - } - }, { - "name" : "Multi-Source", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Query", - "annotation" : [ ], - "source" : [ { - "alias" : "B", - "annotation" : [ ], - "expression" : { - "type" : "List", - "annotation" : [ ], - "element" : [ { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal", - "annotation" : [ ] - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal", - "annotation" : [ ] - } ] - } - }, { - "alias" : "C", - "annotation" : [ ], - "expression" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "4", - "type" : "Literal", - "annotation" : [ ] - } - } ], - "let" : [ ], - "relationship" : [ ], - "aggregate" : { - "identifier" : "A", - "annotation" : [ ], - "expression" : { - "type" : "Add", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "type" : "Add", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "asType" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "As", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "name" : "A", - "type" : "QueryLetRef", - "annotation" : [ ] - } - }, { - "name" : "B", - "type" : "AliasRef", - "annotation" : [ ] - } ] - }, { - "name" : "C", - "type" : "AliasRef", - "annotation" : [ ] - } ] + } + }, + { + "name": "output", + "value": { + "type": "Null", + "annotation": [] + } + } + ] + } + }, + { + "name": "Multi-Source", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Query", + "annotation": [], + "source": [ + { + "alias": "B", + "annotation": [], + "expression": { + "type": "List", + "annotation": [], + "element": [ + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2", + "annotation": [] + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "3", + "annotation": [] + } + ] + } + }, + { + "alias": "C", + "annotation": [], + "expression": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "4", + "annotation": [] + } + } + ], + "let": [], + "relationship": [], + "aggregate": { + "identifier": "A", + "annotation": [], + "expression": { + "type": "Add", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Add", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "As", + "asType": "{urn:hl7-org:elm-types:r1}Integer", + "annotation": [], + "signature": [], + "operand": { + "type": "QueryLetRef", + "name": "A", + "annotation": [] + } + }, + { + "type": "AliasRef", + "name": "B", + "annotation": [] + } + ] }, - "starting" : { - "type" : "Null", - "annotation" : [ ] + { + "type": "AliasRef", + "name": "C", + "annotation": [] } - } - } - }, { - "name" : "output", - "value" : { - "type" : "Null", - "annotation" : [ ] + ] + }, + "starting": { + "type": "Null", + "annotation": [] + } } - } ] - } - } ] - } - } ] - } - } + } + }, + { + "name": "output", + "value": { + "type": "Null", + "annotation": [] + } + } + ] + } + } + ] + } + } + ] + } + } } - diff --git a/test/spec-tests/cql/CqlStringOperatorsTest.json b/test/spec-tests/cql/CqlStringOperatorsTest.json index 480ec521..946f21fc 100644 --- a/test/spec-tests/cql/CqlStringOperatorsTest.json +++ b/test/spec-tests/cql/CqlStringOperatorsTest.json @@ -1,3108 +1,3586 @@ { - "library" : { - "annotation" : [ { - "translatorVersion" : "3.27.0", - "translatorOptions" : "", - "signatureLevel" : "None", - "type" : "CqlToElmInfo" - } ], - "identifier" : { - "id" : "CqlStringOperatorsTest", - "version" : "1.4.0" - }, - "schemaIdentifier" : { - "id" : "urn:hl7-org:elm", - "version" : "r1" - }, - "usings" : { - "def" : [ { - "localIdentifier" : "System", - "uri" : "urn:hl7-org:elm-types:r1", - "annotation" : [ ] - }, { - "localIdentifier" : "QUICK", - "uri" : "http://hl7.org/fhir/us/qicore", - "version" : "3.3.0", - "annotation" : [ ] - } ] - }, - "contexts" : { - "def" : [ { - "name" : "Patient", - "annotation" : [ ] - } ] - }, - "statements" : { - "def" : [ { - "name" : "Patient", - "context" : "Patient", - "annotation" : [ ], - "expression" : { - "type" : "SingletonFrom", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "dataType" : "{http://hl7.org/fhir/us/qicore}Patient", - "templateId" : "http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-patient", - "type" : "Retrieve", - "annotation" : [ ], - "include" : [ ], - "codeFilter" : [ ], - "dateFilter" : [ ], - "otherFilter" : [ ] - } - } - }, { - "name" : "Combine", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ ], - "expression" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "CombineNull", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Combine", - "annotation" : [ ], - "signature" : [ ], - "source" : { - "type" : "As", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "type" : "Null", - "annotation" : [ ] - }, - "asTypeSpecifier" : { - "type" : "ListTypeSpecifier", - "annotation" : [ ], - "elementType" : { - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier", - "annotation" : [ ] - } - } - } - } - }, { - "name" : "output", - "value" : { - "type" : "Null", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "CombineEmptyList", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Combine", - "annotation" : [ ], - "signature" : [ ], - "source" : { - "type" : "Query", - "annotation" : [ ], - "source" : [ { - "alias" : "X", - "annotation" : [ ], - "expression" : { - "type" : "List", - "annotation" : [ ], - "element" : [ ] - } - } ], - "let" : [ ], - "relationship" : [ ], - "return" : { - "distinct" : false, - "annotation" : [ ], - "expression" : { - "asType" : "{urn:hl7-org:elm-types:r1}String", - "type" : "As", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "name" : "X", - "type" : "AliasRef", - "annotation" : [ ] - } - } - } - } - } - }, { - "name" : "output", - "value" : { - "type" : "Null", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "CombineABC", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Combine", - "annotation" : [ ], - "signature" : [ ], - "source" : { - "type" : "List", - "annotation" : [ ], - "element" : [ { - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "a", - "type" : "Literal", - "annotation" : [ ] - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "b", - "type" : "Literal", - "annotation" : [ ] - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "c", - "type" : "Literal", - "annotation" : [ ] - } ] - } - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "abc", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "CombineABCSepDash", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Combine", - "annotation" : [ ], - "signature" : [ ], - "source" : { - "type" : "List", - "annotation" : [ ], - "element" : [ { - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "a", - "type" : "Literal", - "annotation" : [ ] - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "b", - "type" : "Literal", - "annotation" : [ ] - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "c", - "type" : "Literal", - "annotation" : [ ] - } ] - }, - "separator" : { - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "-", - "type" : "Literal", - "annotation" : [ ] - } - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "a-b-c", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - } ] - } - }, { - "name" : "Concatenate", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ ], - "expression" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "ConcatenateNullNull", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Concatenate", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "asType" : "{urn:hl7-org:elm-types:r1}String", - "type" : "As", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "type" : "Null", - "annotation" : [ ] - } - }, { - "asType" : "{urn:hl7-org:elm-types:r1}String", - "type" : "As", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "type" : "Null", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "output", - "value" : { - "type" : "Null", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "ConcatenateANull", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Concatenate", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "a", - "type" : "Literal", - "annotation" : [ ] - }, { - "asType" : "{urn:hl7-org:elm-types:r1}String", - "type" : "As", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "type" : "Null", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "output", - "value" : { - "type" : "Null", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "ConcatenateNullB", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Concatenate", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "asType" : "{urn:hl7-org:elm-types:r1}String", - "type" : "As", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "type" : "Null", - "annotation" : [ ] - } - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "b", - "type" : "Literal", - "annotation" : [ ] - } ] - } - }, { - "name" : "output", - "value" : { - "type" : "Null", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "ConcatenateAB", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Concatenate", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "a", - "type" : "Literal", - "annotation" : [ ] - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "b", - "type" : "Literal", - "annotation" : [ ] - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "ab", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "ConcatenateABWithAdd", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Concatenate", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "a", - "type" : "Literal", - "annotation" : [ ] - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "b", - "type" : "Literal", - "annotation" : [ ] - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "ab", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - } ] - } - }, { - "name" : "EndsWith", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ ], - "expression" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "EndsWithNull", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "EndsWith", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "asType" : "{urn:hl7-org:elm-types:r1}String", - "type" : "As", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "type" : "Null", - "annotation" : [ ] - } - }, { - "asType" : "{urn:hl7-org:elm-types:r1}String", - "type" : "As", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "type" : "Null", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "output", - "value" : { - "type" : "Null", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "EndsWithTrue", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "EndsWith", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "Chris Schuler is the man!!", - "type" : "Literal", - "annotation" : [ ] - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "n!!", - "type" : "Literal", - "annotation" : [ ] - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "true", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "EndsWithFalse", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "EndsWith", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "Chris Schuler is the man!!", - "type" : "Literal", - "annotation" : [ ] - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "n!", - "type" : "Literal", - "annotation" : [ ] - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "false", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - } ] - } - }, { - "name" : "Indexer", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ ], - "expression" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "IndexerNullNull", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Indexer", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "strict" : false, - "type" : "As", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "type" : "Null", - "annotation" : [ ] - }, - "asTypeSpecifier" : { - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier", - "annotation" : [ ] - } - }, { - "asType" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "As", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "type" : "Null", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "output", - "value" : { - "type" : "Null", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "IndexerANull", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Indexer", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "a", - "type" : "Literal", - "annotation" : [ ] - }, { - "asType" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "As", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "type" : "Null", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "output", - "value" : { - "type" : "Null", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "IndexerNull1String", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Indexer", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "strict" : false, - "type" : "As", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "type" : "Null", - "annotation" : [ ] - }, - "asTypeSpecifier" : { - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier", - "annotation" : [ ] - } - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - } ] - } - }, { - "name" : "output", - "value" : { - "type" : "Null", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "IndexerAB0", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Indexer", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "ab", - "type" : "Literal", - "annotation" : [ ] - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "a", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "IndexerAB1", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Indexer", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "ab", - "type" : "Literal", - "annotation" : [ ] - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "b", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "IndexerAB2", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Indexer", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "ab", - "type" : "Literal", - "annotation" : [ ] - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal", - "annotation" : [ ] - } ] - } - }, { - "name" : "output", - "value" : { - "type" : "Null", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "IndexerABNeg1", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Indexer", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "ab", - "type" : "Literal", - "annotation" : [ ] - }, { - "type" : "Negate", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "output", - "value" : { - "type" : "Null", - "annotation" : [ ] - } - } ] - } - } ] - } - }, { - "name" : "LastPositionOf", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ ], - "expression" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "LastPositionOfNull", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "LastPositionOf", - "annotation" : [ ], - "signature" : [ ], - "pattern" : { - "asType" : "{urn:hl7-org:elm-types:r1}String", - "type" : "As", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "type" : "Null", - "annotation" : [ ] - } - }, - "string" : { - "asType" : "{urn:hl7-org:elm-types:r1}String", - "type" : "As", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "type" : "Null", - "annotation" : [ ] - } - } - } - }, { - "name" : "output", - "value" : { - "type" : "Null", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "LastPositionOfNull1", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "LastPositionOf", - "annotation" : [ ], - "signature" : [ ], - "pattern" : { - "asType" : "{urn:hl7-org:elm-types:r1}String", - "type" : "As", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "type" : "Null", - "annotation" : [ ] - } - }, - "string" : { - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "hi", - "type" : "Literal", - "annotation" : [ ] - } - } - }, { - "name" : "output", - "value" : { - "type" : "Null", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "LastPositionOfNull2", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "LastPositionOf", - "annotation" : [ ], - "signature" : [ ], - "pattern" : { - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "hi", - "type" : "Literal", - "annotation" : [ ] - }, - "string" : { - "asType" : "{urn:hl7-org:elm-types:r1}String", - "type" : "As", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "type" : "Null", - "annotation" : [ ] - } - } - } - }, { - "name" : "output", - "value" : { - "type" : "Null", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "LastPositionOf1", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "LastPositionOf", - "annotation" : [ ], - "signature" : [ ], - "pattern" : { - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "hi", - "type" : "Literal", - "annotation" : [ ] - }, - "string" : { - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "Ohio is the place to be!", - "type" : "Literal", - "annotation" : [ ] - } - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "LastPositionOf2", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "LastPositionOf", - "annotation" : [ ], - "signature" : [ ], - "pattern" : { - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "hi", - "type" : "Literal", - "annotation" : [ ] - }, - "string" : { - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "Say hi to Ohio!", - "type" : "Literal", - "annotation" : [ ] - } - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "11", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - } ] - } - }, { - "name" : "Length", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ ], - "expression" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "LengthNullString", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Length", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "strict" : false, - "type" : "As", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "type" : "Null", - "annotation" : [ ] - }, - "asTypeSpecifier" : { - "name" : "{urn:hl7-org:elm-types:r1}String", - "type" : "NamedTypeSpecifier", - "annotation" : [ ] - } - } - } - }, { - "name" : "output", - "value" : { - "type" : "Null", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "LengthEmptyString", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Length", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "", - "type" : "Literal", - "annotation" : [ ] - } - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "LengthA", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Length", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "a", - "type" : "Literal", - "annotation" : [ ] - } - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "LengthAB", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Length", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "ab", - "type" : "Literal", - "annotation" : [ ] - } - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - } ] - } - }, { - "name" : "Lower", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ ], - "expression" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "LowerNull", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Lower", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "asType" : "{urn:hl7-org:elm-types:r1}String", - "type" : "As", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "type" : "Null", - "annotation" : [ ] - } - } - } - }, { - "name" : "output", - "value" : { - "type" : "Null", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "LowerEmpty", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Lower", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "", - "type" : "Literal", - "annotation" : [ ] - } - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "LowerA", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Lower", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "A", - "type" : "Literal", - "annotation" : [ ] - } - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "a", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "LowerB", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Lower", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "b", - "type" : "Literal", - "annotation" : [ ] - } - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "b", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "LowerAB", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Lower", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "Ab", - "type" : "Literal", - "annotation" : [ ] - } - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "ab", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - } ] - } - }, { - "name" : "Matches", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ ], - "expression" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "MatchesNull", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Matches", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "Not all who wander are lost", - "type" : "Literal", - "annotation" : [ ] - }, { - "asType" : "{urn:hl7-org:elm-types:r1}String", - "type" : "As", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "type" : "Null", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "output", - "value" : { - "type" : "Null", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "MatchesNumberFalse", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Matches", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "Not all who wander are lost", - "type" : "Literal", - "annotation" : [ ] - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : ".*\\d+", - "type" : "Literal", - "annotation" : [ ] - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "false", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "MatchesNumberTrue", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Matches", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "Not all who wander are lost - circa 2017", - "type" : "Literal", - "annotation" : [ ] - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : ".*\\d+", - "type" : "Literal", - "annotation" : [ ] - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "true", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "MatchesAllTrue", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Matches", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "Not all who wander are lost", - "type" : "Literal", - "annotation" : [ ] - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : ".*", - "type" : "Literal", - "annotation" : [ ] - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "true", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "MatchesWordsAndSpacesTrue", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Matches", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "Not all who wander are lost", - "type" : "Literal", - "annotation" : [ ] - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "[\\w|\\s]+", - "type" : "Literal", - "annotation" : [ ] - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "true", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "MatchesWordsAndSpacesFalse", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Matches", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "Not all who wander are lost - circa 2017", - "type" : "Literal", - "annotation" : [ ] - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "^[\\w\\s]+$", - "type" : "Literal", - "annotation" : [ ] - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "false", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "MatchesNotWords", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Matches", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : " ", - "type" : "Literal", - "annotation" : [ ] - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "\\W+", - "type" : "Literal", - "annotation" : [ ] - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "true", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "MatchesWhiteSpace", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Matches", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : " \n\t", - "type" : "Literal", - "annotation" : [ ] - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "\\s+", - "type" : "Literal", - "annotation" : [ ] - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "true", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - } ] - } - }, { - "name" : "PositionOf", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ ], - "expression" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "PositionOfNullNull", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "PositionOf", - "annotation" : [ ], - "signature" : [ ], - "pattern" : { - "asType" : "{urn:hl7-org:elm-types:r1}String", - "type" : "As", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "type" : "Null", - "annotation" : [ ] - } - }, - "string" : { - "asType" : "{urn:hl7-org:elm-types:r1}String", - "type" : "As", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "type" : "Null", - "annotation" : [ ] - } - } - } - }, { - "name" : "output", - "value" : { - "type" : "Null", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "PositionOfANull", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "PositionOf", - "annotation" : [ ], - "signature" : [ ], - "pattern" : { - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "a", - "type" : "Literal", - "annotation" : [ ] - }, - "string" : { - "asType" : "{urn:hl7-org:elm-types:r1}String", - "type" : "As", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "type" : "Null", - "annotation" : [ ] - } - } - } - }, { - "name" : "output", - "value" : { - "type" : "Null", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "PositionOfNullA", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "PositionOf", - "annotation" : [ ], - "signature" : [ ], - "pattern" : { - "asType" : "{urn:hl7-org:elm-types:r1}String", - "type" : "As", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "type" : "Null", - "annotation" : [ ] - } - }, - "string" : { - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "a", - "type" : "Literal", - "annotation" : [ ] - } - } - }, { - "name" : "output", - "value" : { - "type" : "Null", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "PositionOfAInAB", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "PositionOf", - "annotation" : [ ], - "signature" : [ ], - "pattern" : { - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "a", - "type" : "Literal", - "annotation" : [ ] - }, - "string" : { - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "ab", - "type" : "Literal", - "annotation" : [ ] - } - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "PositionOfBInAB", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "PositionOf", - "annotation" : [ ], - "signature" : [ ], - "pattern" : { - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "b", - "type" : "Literal", - "annotation" : [ ] - }, - "string" : { - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "ab", - "type" : "Literal", - "annotation" : [ ] - } - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "PositionOfCInAB", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "PositionOf", - "annotation" : [ ], - "signature" : [ ], - "pattern" : { - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "c", - "type" : "Literal", - "annotation" : [ ] - }, - "string" : { - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "ab", - "type" : "Literal", - "annotation" : [ ] - } - } - }, { - "name" : "output", - "value" : { - "type" : "Negate", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - } - } - } ] - } - } ] - } - }, { - "name" : "ReplaceMatches", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ ], - "expression" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "ReplaceMatchesNull", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "ReplaceMatches", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "Not all who wander are lost", - "type" : "Literal", - "annotation" : [ ] - }, { - "asType" : "{urn:hl7-org:elm-types:r1}String", - "type" : "As", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "type" : "Null", - "annotation" : [ ] - } - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "But I am...", - "type" : "Literal", - "annotation" : [ ] - } ] - } - }, { - "name" : "output", - "value" : { - "type" : "Null", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "ReplaceMatchesAll", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "ReplaceMatches", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "Not all who wander are lost", - "type" : "Literal", - "annotation" : [ ] - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "Not all who wander are lost", - "type" : "Literal", - "annotation" : [ ] - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "But still waters run deep", - "type" : "Literal", - "annotation" : [ ] - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "But still waters run deep", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "ReplaceMatchesMany", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "ReplaceMatches", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "Who put the bop in the bop she bop she bop?", - "type" : "Literal", - "annotation" : [ ] - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "bop", - "type" : "Literal", - "annotation" : [ ] - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "bang", - "type" : "Literal", - "annotation" : [ ] - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "Who put the bang in the bang she bang she bang?", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "ReplaceMatchesSpaces", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "ReplaceMatches", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "All that glitters is not gold", - "type" : "Literal", - "annotation" : [ ] - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "\\s", - "type" : "Literal", - "annotation" : [ ] - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "\\$", - "type" : "Literal", - "annotation" : [ ] - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "All$that$glitters$is$not$gold", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - } ] - } - }, { - "name" : "Split", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ ], - "expression" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "SplitNullNull", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Split", - "annotation" : [ ], - "signature" : [ ], - "stringToSplit" : { - "asType" : "{urn:hl7-org:elm-types:r1}String", - "type" : "As", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "type" : "Null", - "annotation" : [ ] - } - }, - "separator" : { - "asType" : "{urn:hl7-org:elm-types:r1}String", - "type" : "As", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "type" : "Null", - "annotation" : [ ] - } - } - } - }, { - "name" : "output", - "value" : { - "type" : "Null", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "SplitNullComma", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Split", - "annotation" : [ ], - "signature" : [ ], - "stringToSplit" : { - "asType" : "{urn:hl7-org:elm-types:r1}String", - "type" : "As", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "type" : "Null", - "annotation" : [ ] - } - }, - "separator" : { - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : ",", - "type" : "Literal", - "annotation" : [ ] - } - } - }, { - "name" : "output", - "value" : { - "type" : "Null", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "SplitABNull", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Split", - "annotation" : [ ], - "signature" : [ ], - "stringToSplit" : { - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "a,b", - "type" : "Literal", - "annotation" : [ ] - }, - "separator" : { - "asType" : "{urn:hl7-org:elm-types:r1}String", - "type" : "As", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "type" : "Null", - "annotation" : [ ] - } - } - } - }, { - "name" : "output", - "value" : { - "type" : "List", - "annotation" : [ ], - "element" : [ { - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "a,b", - "type" : "Literal", - "annotation" : [ ] - } ] - } - } ] - } - }, { - "name" : "SplitABDash", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Split", - "annotation" : [ ], - "signature" : [ ], - "stringToSplit" : { - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "a,b", - "type" : "Literal", - "annotation" : [ ] - }, - "separator" : { - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "-", - "type" : "Literal", - "annotation" : [ ] - } - } - }, { - "name" : "output", - "value" : { - "type" : "List", - "annotation" : [ ], - "element" : [ { - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "a,b", - "type" : "Literal", - "annotation" : [ ] - } ] - } - } ] - } - }, { - "name" : "SplitABComma", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Split", - "annotation" : [ ], - "signature" : [ ], - "stringToSplit" : { - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "a,b", - "type" : "Literal", - "annotation" : [ ] - }, - "separator" : { - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : ",", - "type" : "Literal", - "annotation" : [ ] - } - } - }, { - "name" : "output", - "value" : { - "type" : "List", - "annotation" : [ ], - "element" : [ { - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "a", - "type" : "Literal", - "annotation" : [ ] - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "b", - "type" : "Literal", - "annotation" : [ ] - } ] - } - } ] - } - } ] - } - }, { - "name" : "StartsWith", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ ], - "expression" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "StartsWithNull", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "StartsWith", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "asType" : "{urn:hl7-org:elm-types:r1}String", - "type" : "As", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "type" : "Null", - "annotation" : [ ] - } - }, { - "asType" : "{urn:hl7-org:elm-types:r1}String", - "type" : "As", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "type" : "Null", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "output", - "value" : { - "type" : "Null", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "StartsWithNull1", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "StartsWith", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "hi", - "type" : "Literal", - "annotation" : [ ] - }, { - "asType" : "{urn:hl7-org:elm-types:r1}String", - "type" : "As", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "type" : "Null", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "output", - "value" : { - "type" : "Null", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "StartsWithNull2", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "StartsWith", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "asType" : "{urn:hl7-org:elm-types:r1}String", - "type" : "As", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "type" : "Null", - "annotation" : [ ] - } - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "hi", - "type" : "Literal", - "annotation" : [ ] - } ] - } - }, { - "name" : "output", - "value" : { - "type" : "Null", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "StartsWithTrue1", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "StartsWith", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "Breathe deep the gathering gloom", - "type" : "Literal", - "annotation" : [ ] - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "Bre", - "type" : "Literal", - "annotation" : [ ] - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "true", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "StartsWithFalse1", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "StartsWith", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "Breathe deep the gathering gloom", - "type" : "Literal", - "annotation" : [ ] - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "bre", - "type" : "Literal", - "annotation" : [ ] - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "false", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - } ] - } - }, { - "name" : "Substring", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ ], - "expression" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "SubstringNullNull", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Substring", - "annotation" : [ ], - "signature" : [ ], - "stringToSub" : { - "asType" : "{urn:hl7-org:elm-types:r1}String", - "type" : "As", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "type" : "Null", - "annotation" : [ ] - } - }, - "startIndex" : { - "asType" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "As", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "type" : "Null", - "annotation" : [ ] - } - } - } - }, { - "name" : "output", - "value" : { - "type" : "Null", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "SubstringANull", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Substring", - "annotation" : [ ], - "signature" : [ ], - "stringToSub" : { - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "a", - "type" : "Literal", - "annotation" : [ ] - }, - "startIndex" : { - "asType" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "As", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "type" : "Null", - "annotation" : [ ] - } - } - } - }, { - "name" : "output", - "value" : { - "type" : "Null", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "SubstringNull1", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Substring", - "annotation" : [ ], - "signature" : [ ], - "stringToSub" : { - "asType" : "{urn:hl7-org:elm-types:r1}String", - "type" : "As", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "type" : "Null", - "annotation" : [ ] - } - }, - "startIndex" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - } - } - }, { - "name" : "output", - "value" : { - "type" : "Null", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "SubstringAB0", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Substring", - "annotation" : [ ], - "signature" : [ ], - "stringToSub" : { - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "ab", - "type" : "Literal", - "annotation" : [ ] - }, - "startIndex" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - } - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "ab", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "SubstringAB1", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Substring", - "annotation" : [ ], - "signature" : [ ], - "stringToSub" : { - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "ab", - "type" : "Literal", - "annotation" : [ ] - }, - "startIndex" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - } - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "b", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "SubstringAB2", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Substring", - "annotation" : [ ], - "signature" : [ ], - "stringToSub" : { - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "ab", - "type" : "Literal", - "annotation" : [ ] - }, - "startIndex" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal", - "annotation" : [ ] - } - } - }, { - "name" : "output", - "value" : { - "type" : "Null", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "SubstringABNeg1", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Substring", - "annotation" : [ ], - "signature" : [ ], - "stringToSub" : { - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "ab", - "type" : "Literal", - "annotation" : [ ] - }, - "startIndex" : { - "type" : "Negate", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - } - } - } - }, { - "name" : "output", - "value" : { - "type" : "Null", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "SubstringAB0To1", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Substring", - "annotation" : [ ], - "signature" : [ ], - "stringToSub" : { - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "ab", - "type" : "Literal", - "annotation" : [ ] - }, - "startIndex" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, - "length" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - } - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "a", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "SubstringABC1To1", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Substring", - "annotation" : [ ], - "signature" : [ ], - "stringToSub" : { - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "abc", - "type" : "Literal", - "annotation" : [ ] - }, - "startIndex" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - }, - "length" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - } - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "b", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "SubstringAB0To3", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Substring", - "annotation" : [ ], - "signature" : [ ], - "stringToSub" : { - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "ab", - "type" : "Literal", - "annotation" : [ ] - }, - "startIndex" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, - "length" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal", - "annotation" : [ ] - } - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "ab", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - } ] - } - }, { - "name" : "Upper", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ ], - "expression" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "UpperNull", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Upper", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "asType" : "{urn:hl7-org:elm-types:r1}String", - "type" : "As", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "type" : "Null", - "annotation" : [ ] - } - } - } - }, { - "name" : "output", - "value" : { - "type" : "Null", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "UpperEmpty", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Upper", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "", - "type" : "Literal", - "annotation" : [ ] - } - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "UpperA", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Upper", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "a", - "type" : "Literal", - "annotation" : [ ] - } - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "A", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "UpperB", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Upper", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "B", - "type" : "Literal", - "annotation" : [ ] - } - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "B", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "UpperAB", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Upper", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "aB", - "type" : "Literal", - "annotation" : [ ] - } - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "AB", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - } ] + "library": { + "annotation": [ + { + "type": "CqlToElmInfo", + "translatorVersion": "4.2.0", + "translatorOptions": "", + "signatureLevel": "None" + } + ], + "identifier": { + "id": "CqlStringOperatorsTest", + "version": "1.4.0" + }, + "schemaIdentifier": { + "id": "urn:hl7-org:elm", + "version": "r1" + }, + "usings": { + "def": [ + { + "localIdentifier": "System", + "uri": "urn:hl7-org:elm-types:r1", + "annotation": [] + }, + { + "localIdentifier": "QUICK", + "uri": "http://hl7.org/fhir/us/qicore", + "version": "3.3.0", + "annotation": [] + } + ] + }, + "contexts": { + "def": [ + { + "name": "Patient", + "annotation": [] + } + ] + }, + "statements": { + "def": [ + { + "name": "Patient", + "context": "Patient", + "annotation": [], + "expression": { + "type": "SingletonFrom", + "annotation": [], + "signature": [], + "operand": { + "type": "Retrieve", + "dataType": "{http://hl7.org/fhir/us/qicore}Patient", + "templateId": "http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-patient", + "annotation": [], + "include": [], + "codeFilter": [], + "dateFilter": [], + "otherFilter": [] } - }, { - "name" : "toString tests", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ ], - "expression" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "QuantityToString", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "ToString", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "value" : 125, - "unit" : "cm", - "type" : "Quantity", - "annotation" : [ ] - } - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "125 'cm'", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "DateTimeToString1", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "ToString", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] + } + }, + { + "name": "Combine", + "context": "Patient", + "accessLevel": "Public", + "annotation": [], + "expression": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "CombineNull", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Combine", + "annotation": [], + "signature": [], + "source": { + "type": "As", + "annotation": [], + "signature": [], + "operand": { + "type": "Null", + "annotation": [] + }, + "asTypeSpecifier": { + "type": "ListTypeSpecifier", + "annotation": [], + "elementType": { + "type": "NamedTypeSpecifier", + "name": "{urn:hl7-org:elm-types:r1}String", + "annotation": [] + } + } + } + } + }, + { + "name": "output", + "value": { + "type": "Null", + "annotation": [] + } + } + ] + } + }, + { + "name": "CombineEmptyList", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Combine", + "annotation": [], + "signature": [], + "source": { + "type": "Query", + "annotation": [], + "source": [ + { + "alias": "X", + "annotation": [], + "expression": { + "type": "List", + "annotation": [], + "element": [] } - } - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "2000-01-01", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "DateTimeToString2", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "skipped", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "Answer does not include timezone offset, but default offset depends on test environment", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "DateTimeToString3", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "ToString", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2000", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - }, - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "8", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "25", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "25", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "300", - "type" : "Literal", - "annotation" : [ ] - }, - "timezoneOffset" : { - "type" : "ToDecimal", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "type" : "Negate", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "7", - "type" : "Literal", - "annotation" : [ ] - } - } + } + ], + "let": [], + "relationship": [], + "return": { + "distinct": false, + "annotation": [], + "expression": { + "type": "As", + "asType": "{urn:hl7-org:elm-types:r1}String", + "annotation": [], + "signature": [], + "operand": { + "type": "AliasRef", + "name": "X", + "annotation": [] } - } - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "2000-01-01T08:25:25.300-07:00", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "TimeToString1", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "ToString", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "type" : "Time", - "annotation" : [ ], - "signature" : [ ], - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "9", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "30", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal", - "annotation" : [ ] + } + } + } + } + }, + { + "name": "output", + "value": { + "type": "Null", + "annotation": [] + } + } + ] + } + }, + { + "name": "CombineABC", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Combine", + "annotation": [], + "signature": [], + "source": { + "type": "List", + "annotation": [], + "element": [ + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}String", + "value": "a", + "annotation": [] + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}String", + "value": "b", + "annotation": [] + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}String", + "value": "c", + "annotation": [] + } + ] + } + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}String", + "value": "abc", + "annotation": [] + } + } + ] + } + }, + { + "name": "CombineABCSepDash", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Combine", + "annotation": [], + "signature": [], + "source": { + "type": "List", + "annotation": [], + "element": [ + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}String", + "value": "a", + "annotation": [] + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}String", + "value": "b", + "annotation": [] + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}String", + "value": "c", + "annotation": [] + } + ] + }, + "separator": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}String", + "value": "-", + "annotation": [] + } + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}String", + "value": "a-b-c", + "annotation": [] + } + } + ] + } + } + ] + } + }, + { + "name": "Concatenate", + "context": "Patient", + "accessLevel": "Public", + "annotation": [], + "expression": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "ConcatenateNullNull", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Concatenate", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "As", + "asType": "{urn:hl7-org:elm-types:r1}String", + "annotation": [], + "signature": [], + "operand": { + "type": "Null", + "annotation": [] + } + }, + { + "type": "As", + "asType": "{urn:hl7-org:elm-types:r1}String", + "annotation": [], + "signature": [], + "operand": { + "type": "Null", + "annotation": [] + } + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Null", + "annotation": [] + } + } + ] + } + }, + { + "name": "ConcatenateANull", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Concatenate", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}String", + "value": "a", + "annotation": [] + }, + { + "type": "As", + "asType": "{urn:hl7-org:elm-types:r1}String", + "annotation": [], + "signature": [], + "operand": { + "type": "Null", + "annotation": [] + } + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Null", + "annotation": [] + } + } + ] + } + }, + { + "name": "ConcatenateNullB", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Concatenate", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "As", + "asType": "{urn:hl7-org:elm-types:r1}String", + "annotation": [], + "signature": [], + "operand": { + "type": "Null", + "annotation": [] + } + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}String", + "value": "b", + "annotation": [] + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Null", + "annotation": [] + } + } + ] + } + }, + { + "name": "ConcatenateAB", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Concatenate", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}String", + "value": "a", + "annotation": [] + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}String", + "value": "b", + "annotation": [] + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}String", + "value": "ab", + "annotation": [] + } + } + ] + } + }, + { + "name": "ConcatenateABWithAdd", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Concatenate", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}String", + "value": "a", + "annotation": [] + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}String", + "value": "b", + "annotation": [] + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}String", + "value": "ab", + "annotation": [] + } + } + ] + } + } + ] + } + }, + { + "name": "EndsWith", + "context": "Patient", + "accessLevel": "Public", + "annotation": [], + "expression": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "EndsWithNull", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "EndsWith", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "As", + "asType": "{urn:hl7-org:elm-types:r1}String", + "annotation": [], + "signature": [], + "operand": { + "type": "Null", + "annotation": [] + } + }, + { + "type": "As", + "asType": "{urn:hl7-org:elm-types:r1}String", + "annotation": [], + "signature": [], + "operand": { + "type": "Null", + "annotation": [] + } + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Null", + "annotation": [] + } + } + ] + } + }, + { + "name": "EndsWithTrue", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "EndsWith", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}String", + "value": "Chris Schuler is the man!!", + "annotation": [] + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}String", + "value": "n!!", + "annotation": [] + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "true", + "annotation": [] + } + } + ] + } + }, + { + "name": "EndsWithFalse", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "EndsWith", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}String", + "value": "Chris Schuler is the man!!", + "annotation": [] + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}String", + "value": "n!", + "annotation": [] + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "false", + "annotation": [] + } + } + ] + } + } + ] + } + }, + { + "name": "Indexer", + "context": "Patient", + "accessLevel": "Public", + "annotation": [], + "expression": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "IndexerNullNull", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Indexer", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "As", + "strict": false, + "annotation": [], + "signature": [], + "operand": { + "type": "Null", + "annotation": [] + }, + "asTypeSpecifier": { + "type": "NamedTypeSpecifier", + "name": "{urn:hl7-org:elm-types:r1}String", + "annotation": [] + } + }, + { + "type": "As", + "asType": "{urn:hl7-org:elm-types:r1}Integer", + "annotation": [], + "signature": [], + "operand": { + "type": "Null", + "annotation": [] + } + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Null", + "annotation": [] + } + } + ] + } + }, + { + "name": "IndexerANull", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Indexer", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}String", + "value": "a", + "annotation": [] + }, + { + "type": "As", + "asType": "{urn:hl7-org:elm-types:r1}Integer", + "annotation": [], + "signature": [], + "operand": { + "type": "Null", + "annotation": [] + } + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Null", + "annotation": [] + } + } + ] + } + }, + { + "name": "IndexerNull1String", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Indexer", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "As", + "strict": false, + "annotation": [], + "signature": [], + "operand": { + "type": "Null", + "annotation": [] + }, + "asTypeSpecifier": { + "type": "NamedTypeSpecifier", + "name": "{urn:hl7-org:elm-types:r1}String", + "annotation": [] + } + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Null", + "annotation": [] + } + } + ] + } + }, + { + "name": "IndexerAB0", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Indexer", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}String", + "value": "ab", + "annotation": [] + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}String", + "value": "a", + "annotation": [] + } + } + ] + } + }, + { + "name": "IndexerAB1", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Indexer", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}String", + "value": "ab", + "annotation": [] + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}String", + "value": "b", + "annotation": [] + } + } + ] + } + }, + { + "name": "IndexerAB2", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Indexer", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}String", + "value": "ab", + "annotation": [] + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2", + "annotation": [] + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Null", + "annotation": [] + } + } + ] + } + }, + { + "name": "IndexerABNeg1", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Indexer", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}String", + "value": "ab", + "annotation": [] + }, + { + "type": "Negate", + "annotation": [], + "signature": [], + "operand": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + } + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Null", + "annotation": [] + } + } + ] + } + } + ] + } + }, + { + "name": "LastPositionOf", + "context": "Patient", + "accessLevel": "Public", + "annotation": [], + "expression": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "LastPositionOfNull", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "LastPositionOf", + "annotation": [], + "signature": [], + "pattern": { + "type": "As", + "asType": "{urn:hl7-org:elm-types:r1}String", + "annotation": [], + "signature": [], + "operand": { + "type": "Null", + "annotation": [] + } + }, + "string": { + "type": "As", + "asType": "{urn:hl7-org:elm-types:r1}String", + "annotation": [], + "signature": [], + "operand": { + "type": "Null", + "annotation": [] + } + } + } + }, + { + "name": "output", + "value": { + "type": "Null", + "annotation": [] + } + } + ] + } + }, + { + "name": "LastPositionOfNull1", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "LastPositionOf", + "annotation": [], + "signature": [], + "pattern": { + "type": "As", + "asType": "{urn:hl7-org:elm-types:r1}String", + "annotation": [], + "signature": [], + "operand": { + "type": "Null", + "annotation": [] + } + }, + "string": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}String", + "value": "hi", + "annotation": [] + } + } + }, + { + "name": "output", + "value": { + "type": "Null", + "annotation": [] + } + } + ] + } + }, + { + "name": "LastPositionOfNull2", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "LastPositionOf", + "annotation": [], + "signature": [], + "pattern": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}String", + "value": "hi", + "annotation": [] + }, + "string": { + "type": "As", + "asType": "{urn:hl7-org:elm-types:r1}String", + "annotation": [], + "signature": [], + "operand": { + "type": "Null", + "annotation": [] + } + } + } + }, + { + "name": "output", + "value": { + "type": "Null", + "annotation": [] + } + } + ] + } + }, + { + "name": "LastPositionOf1", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "LastPositionOf", + "annotation": [], + "signature": [], + "pattern": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}String", + "value": "hi", + "annotation": [] + }, + "string": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}String", + "value": "Ohio is the place to be!", + "annotation": [] + } + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + } + } + ] + } + }, + { + "name": "LastPositionOf2", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "LastPositionOf", + "annotation": [], + "signature": [], + "pattern": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}String", + "value": "hi", + "annotation": [] + }, + "string": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}String", + "value": "Say hi to Ohio!", + "annotation": [] + } + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "11", + "annotation": [] + } + } + ] + } + } + ] + } + }, + { + "name": "Length", + "context": "Patient", + "accessLevel": "Public", + "annotation": [], + "expression": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "LengthNullString", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Length", + "annotation": [], + "signature": [], + "operand": { + "type": "As", + "strict": false, + "annotation": [], + "signature": [], + "operand": { + "type": "Null", + "annotation": [] + }, + "asTypeSpecifier": { + "type": "NamedTypeSpecifier", + "name": "{urn:hl7-org:elm-types:r1}String", + "annotation": [] + } + } + } + }, + { + "name": "output", + "value": { + "type": "Null", + "annotation": [] + } + } + ] + } + }, + { + "name": "LengthEmptyString", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Length", + "annotation": [], + "signature": [], + "operand": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}String", + "value": "", + "annotation": [] + } + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + } + } + ] + } + }, + { + "name": "LengthA", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Length", + "annotation": [], + "signature": [], + "operand": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}String", + "value": "a", + "annotation": [] + } + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + } + } + ] + } + }, + { + "name": "LengthAB", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Length", + "annotation": [], + "signature": [], + "operand": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}String", + "value": "ab", + "annotation": [] + } + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2", + "annotation": [] + } + } + ] + } + } + ] + } + }, + { + "name": "Lower", + "context": "Patient", + "accessLevel": "Public", + "annotation": [], + "expression": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "LowerNull", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Lower", + "annotation": [], + "signature": [], + "operand": { + "type": "As", + "asType": "{urn:hl7-org:elm-types:r1}String", + "annotation": [], + "signature": [], + "operand": { + "type": "Null", + "annotation": [] + } + } + } + }, + { + "name": "output", + "value": { + "type": "Null", + "annotation": [] + } + } + ] + } + }, + { + "name": "LowerEmpty", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Lower", + "annotation": [], + "signature": [], + "operand": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}String", + "value": "", + "annotation": [] + } + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}String", + "value": "", + "annotation": [] + } + } + ] + } + }, + { + "name": "LowerA", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Lower", + "annotation": [], + "signature": [], + "operand": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}String", + "value": "A", + "annotation": [] + } + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}String", + "value": "a", + "annotation": [] + } + } + ] + } + }, + { + "name": "LowerB", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Lower", + "annotation": [], + "signature": [], + "operand": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}String", + "value": "b", + "annotation": [] + } + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}String", + "value": "b", + "annotation": [] + } + } + ] + } + }, + { + "name": "LowerAB", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Lower", + "annotation": [], + "signature": [], + "operand": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}String", + "value": "Ab", + "annotation": [] + } + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}String", + "value": "ab", + "annotation": [] + } + } + ] + } + } + ] + } + }, + { + "name": "Matches", + "context": "Patient", + "accessLevel": "Public", + "annotation": [], + "expression": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "MatchesNull", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Matches", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}String", + "value": "Not all who wander are lost", + "annotation": [] + }, + { + "type": "As", + "asType": "{urn:hl7-org:elm-types:r1}String", + "annotation": [], + "signature": [], + "operand": { + "type": "Null", + "annotation": [] + } + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Null", + "annotation": [] + } + } + ] + } + }, + { + "name": "MatchesNumberFalse", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Matches", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}String", + "value": "Not all who wander are lost", + "annotation": [] + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}String", + "value": ".*\\d+", + "annotation": [] + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "false", + "annotation": [] + } + } + ] + } + }, + { + "name": "MatchesNumberTrue", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Matches", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}String", + "value": "Not all who wander are lost - circa 2017", + "annotation": [] + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}String", + "value": ".*\\d+", + "annotation": [] + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "true", + "annotation": [] + } + } + ] + } + }, + { + "name": "MatchesAllTrue", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Matches", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}String", + "value": "Not all who wander are lost", + "annotation": [] + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}String", + "value": ".*", + "annotation": [] + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "true", + "annotation": [] + } + } + ] + } + }, + { + "name": "MatchesWordsAndSpacesTrue", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Matches", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}String", + "value": "Not all who wander are lost", + "annotation": [] + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}String", + "value": "[\\w|\\s]+", + "annotation": [] + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "true", + "annotation": [] + } + } + ] + } + }, + { + "name": "MatchesWordsAndSpacesFalse", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Matches", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}String", + "value": "Not all who wander are lost - circa 2017", + "annotation": [] + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}String", + "value": "^[\\w\\s]+$", + "annotation": [] + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "false", + "annotation": [] + } + } + ] + } + }, + { + "name": "MatchesNotWords", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Matches", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}String", + "value": " ", + "annotation": [] + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}String", + "value": "\\W+", + "annotation": [] + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "true", + "annotation": [] + } + } + ] + } + }, + { + "name": "MatchesWhiteSpace", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Matches", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}String", + "value": " \n\t", + "annotation": [] + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}String", + "value": "\\s+", + "annotation": [] + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "true", + "annotation": [] + } + } + ] + } + } + ] + } + }, + { + "name": "PositionOf", + "context": "Patient", + "accessLevel": "Public", + "annotation": [], + "expression": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "PositionOfNullNull", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "PositionOf", + "annotation": [], + "signature": [], + "pattern": { + "type": "As", + "asType": "{urn:hl7-org:elm-types:r1}String", + "annotation": [], + "signature": [], + "operand": { + "type": "Null", + "annotation": [] + } + }, + "string": { + "type": "As", + "asType": "{urn:hl7-org:elm-types:r1}String", + "annotation": [], + "signature": [], + "operand": { + "type": "Null", + "annotation": [] + } + } + } + }, + { + "name": "output", + "value": { + "type": "Null", + "annotation": [] + } + } + ] + } + }, + { + "name": "PositionOfANull", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "PositionOf", + "annotation": [], + "signature": [], + "pattern": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}String", + "value": "a", + "annotation": [] + }, + "string": { + "type": "As", + "asType": "{urn:hl7-org:elm-types:r1}String", + "annotation": [], + "signature": [], + "operand": { + "type": "Null", + "annotation": [] + } + } + } + }, + { + "name": "output", + "value": { + "type": "Null", + "annotation": [] + } + } + ] + } + }, + { + "name": "PositionOfNullA", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "PositionOf", + "annotation": [], + "signature": [], + "pattern": { + "type": "As", + "asType": "{urn:hl7-org:elm-types:r1}String", + "annotation": [], + "signature": [], + "operand": { + "type": "Null", + "annotation": [] + } + }, + "string": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}String", + "value": "a", + "annotation": [] + } + } + }, + { + "name": "output", + "value": { + "type": "Null", + "annotation": [] + } + } + ] + } + }, + { + "name": "PositionOfAInAB", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "PositionOf", + "annotation": [], + "signature": [], + "pattern": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}String", + "value": "a", + "annotation": [] + }, + "string": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}String", + "value": "ab", + "annotation": [] + } + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + } + } + ] + } + }, + { + "name": "PositionOfBInAB", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "PositionOf", + "annotation": [], + "signature": [], + "pattern": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}String", + "value": "b", + "annotation": [] + }, + "string": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}String", + "value": "ab", + "annotation": [] + } + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + } + } + ] + } + }, + { + "name": "PositionOfCInAB", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "PositionOf", + "annotation": [], + "signature": [], + "pattern": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}String", + "value": "c", + "annotation": [] + }, + "string": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}String", + "value": "ab", + "annotation": [] + } + } + }, + { + "name": "output", + "value": { + "type": "Negate", + "annotation": [], + "signature": [], + "operand": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + } + } + } + ] + } + } + ] + } + }, + { + "name": "ReplaceMatches", + "context": "Patient", + "accessLevel": "Public", + "annotation": [], + "expression": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "ReplaceMatchesNull", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "ReplaceMatches", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}String", + "value": "Not all who wander are lost", + "annotation": [] + }, + { + "type": "As", + "asType": "{urn:hl7-org:elm-types:r1}String", + "annotation": [], + "signature": [], + "operand": { + "type": "Null", + "annotation": [] + } + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}String", + "value": "But I am...", + "annotation": [] + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Null", + "annotation": [] + } + } + ] + } + }, + { + "name": "ReplaceMatchesAll", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "ReplaceMatches", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}String", + "value": "Not all who wander are lost", + "annotation": [] + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}String", + "value": "Not all who wander are lost", + "annotation": [] + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}String", + "value": "But still waters run deep", + "annotation": [] + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}String", + "value": "But still waters run deep", + "annotation": [] + } + } + ] + } + }, + { + "name": "ReplaceMatchesMany", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "ReplaceMatches", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}String", + "value": "Who put the bop in the bop she bop she bop?", + "annotation": [] + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}String", + "value": "bop", + "annotation": [] + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}String", + "value": "bang", + "annotation": [] + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}String", + "value": "Who put the bang in the bang she bang she bang?", + "annotation": [] + } + } + ] + } + }, + { + "name": "ReplaceMatchesSpaces", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "ReplaceMatches", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}String", + "value": "All that glitters is not gold", + "annotation": [] + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}String", + "value": "\\s", + "annotation": [] + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}String", + "value": "\\$", + "annotation": [] + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}String", + "value": "All$that$glitters$is$not$gold", + "annotation": [] + } + } + ] + } + } + ] + } + }, + { + "name": "Split", + "context": "Patient", + "accessLevel": "Public", + "annotation": [], + "expression": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "SplitNullNull", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Split", + "annotation": [], + "signature": [], + "stringToSplit": { + "type": "As", + "asType": "{urn:hl7-org:elm-types:r1}String", + "annotation": [], + "signature": [], + "operand": { + "type": "Null", + "annotation": [] + } + }, + "separator": { + "type": "As", + "asType": "{urn:hl7-org:elm-types:r1}String", + "annotation": [], + "signature": [], + "operand": { + "type": "Null", + "annotation": [] + } + } + } + }, + { + "name": "output", + "value": { + "type": "Null", + "annotation": [] + } + } + ] + } + }, + { + "name": "SplitNullComma", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Split", + "annotation": [], + "signature": [], + "stringToSplit": { + "type": "As", + "asType": "{urn:hl7-org:elm-types:r1}String", + "annotation": [], + "signature": [], + "operand": { + "type": "Null", + "annotation": [] + } + }, + "separator": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}String", + "value": ",", + "annotation": [] + } + } + }, + { + "name": "output", + "value": { + "type": "Null", + "annotation": [] + } + } + ] + } + }, + { + "name": "SplitABNull", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Split", + "annotation": [], + "signature": [], + "stringToSplit": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}String", + "value": "a,b", + "annotation": [] + }, + "separator": { + "type": "As", + "asType": "{urn:hl7-org:elm-types:r1}String", + "annotation": [], + "signature": [], + "operand": { + "type": "Null", + "annotation": [] + } + } + } + }, + { + "name": "output", + "value": { + "type": "List", + "annotation": [], + "element": [ + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}String", + "value": "a,b", + "annotation": [] + } + ] + } + } + ] + } + }, + { + "name": "SplitABDash", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Split", + "annotation": [], + "signature": [], + "stringToSplit": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}String", + "value": "a,b", + "annotation": [] + }, + "separator": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}String", + "value": "-", + "annotation": [] + } + } + }, + { + "name": "output", + "value": { + "type": "List", + "annotation": [], + "element": [ + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}String", + "value": "a,b", + "annotation": [] + } + ] + } + } + ] + } + }, + { + "name": "SplitABComma", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Split", + "annotation": [], + "signature": [], + "stringToSplit": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}String", + "value": "a,b", + "annotation": [] + }, + "separator": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}String", + "value": ",", + "annotation": [] + } + } + }, + { + "name": "output", + "value": { + "type": "List", + "annotation": [], + "element": [ + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}String", + "value": "a", + "annotation": [] + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}String", + "value": "b", + "annotation": [] + } + ] + } + } + ] + } + } + ] + } + }, + { + "name": "StartsWith", + "context": "Patient", + "accessLevel": "Public", + "annotation": [], + "expression": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "StartsWithNull", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "StartsWith", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "As", + "asType": "{urn:hl7-org:elm-types:r1}String", + "annotation": [], + "signature": [], + "operand": { + "type": "Null", + "annotation": [] + } + }, + { + "type": "As", + "asType": "{urn:hl7-org:elm-types:r1}String", + "annotation": [], + "signature": [], + "operand": { + "type": "Null", + "annotation": [] + } + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Null", + "annotation": [] + } + } + ] + } + }, + { + "name": "StartsWithNull1", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "StartsWith", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}String", + "value": "hi", + "annotation": [] + }, + { + "type": "As", + "asType": "{urn:hl7-org:elm-types:r1}String", + "annotation": [], + "signature": [], + "operand": { + "type": "Null", + "annotation": [] + } + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Null", + "annotation": [] + } + } + ] + } + }, + { + "name": "StartsWithNull2", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "StartsWith", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "As", + "asType": "{urn:hl7-org:elm-types:r1}String", + "annotation": [], + "signature": [], + "operand": { + "type": "Null", + "annotation": [] + } + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}String", + "value": "hi", + "annotation": [] + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Null", + "annotation": [] + } + } + ] + } + }, + { + "name": "StartsWithTrue1", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "StartsWith", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}String", + "value": "Breathe deep the gathering gloom", + "annotation": [] + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}String", + "value": "Bre", + "annotation": [] + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "true", + "annotation": [] + } + } + ] + } + }, + { + "name": "StartsWithFalse1", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "StartsWith", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}String", + "value": "Breathe deep the gathering gloom", + "annotation": [] + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}String", + "value": "bre", + "annotation": [] + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "false", + "annotation": [] + } + } + ] + } + } + ] + } + }, + { + "name": "Substring", + "context": "Patient", + "accessLevel": "Public", + "annotation": [], + "expression": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "SubstringNullNull", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Substring", + "annotation": [], + "signature": [], + "stringToSub": { + "type": "As", + "asType": "{urn:hl7-org:elm-types:r1}String", + "annotation": [], + "signature": [], + "operand": { + "type": "Null", + "annotation": [] + } + }, + "startIndex": { + "type": "As", + "asType": "{urn:hl7-org:elm-types:r1}Integer", + "annotation": [], + "signature": [], + "operand": { + "type": "Null", + "annotation": [] + } + } + } + }, + { + "name": "output", + "value": { + "type": "Null", + "annotation": [] + } + } + ] + } + }, + { + "name": "SubstringANull", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Substring", + "annotation": [], + "signature": [], + "stringToSub": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}String", + "value": "a", + "annotation": [] + }, + "startIndex": { + "type": "As", + "asType": "{urn:hl7-org:elm-types:r1}Integer", + "annotation": [], + "signature": [], + "operand": { + "type": "Null", + "annotation": [] + } + } + } + }, + { + "name": "output", + "value": { + "type": "Null", + "annotation": [] + } + } + ] + } + }, + { + "name": "SubstringNull1", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Substring", + "annotation": [], + "signature": [], + "stringToSub": { + "type": "As", + "asType": "{urn:hl7-org:elm-types:r1}String", + "annotation": [], + "signature": [], + "operand": { + "type": "Null", + "annotation": [] + } + }, + "startIndex": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + } + } + }, + { + "name": "output", + "value": { + "type": "Null", + "annotation": [] + } + } + ] + } + }, + { + "name": "SubstringAB0", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Substring", + "annotation": [], + "signature": [], + "stringToSub": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}String", + "value": "ab", + "annotation": [] + }, + "startIndex": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + } + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}String", + "value": "ab", + "annotation": [] + } + } + ] + } + }, + { + "name": "SubstringAB1", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Substring", + "annotation": [], + "signature": [], + "stringToSub": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}String", + "value": "ab", + "annotation": [] + }, + "startIndex": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + } + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}String", + "value": "b", + "annotation": [] + } + } + ] + } + }, + { + "name": "SubstringAB2", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Substring", + "annotation": [], + "signature": [], + "stringToSub": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}String", + "value": "ab", + "annotation": [] + }, + "startIndex": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2", + "annotation": [] + } + } + }, + { + "name": "output", + "value": { + "type": "Null", + "annotation": [] + } + } + ] + } + }, + { + "name": "SubstringABNeg1", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Substring", + "annotation": [], + "signature": [], + "stringToSub": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}String", + "value": "ab", + "annotation": [] + }, + "startIndex": { + "type": "Negate", + "annotation": [], + "signature": [], + "operand": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + } + } + } + }, + { + "name": "output", + "value": { + "type": "Null", + "annotation": [] + } + } + ] + } + }, + { + "name": "SubstringAB0To1", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Substring", + "annotation": [], + "signature": [], + "stringToSub": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}String", + "value": "ab", + "annotation": [] + }, + "startIndex": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + "length": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + } + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}String", + "value": "a", + "annotation": [] + } + } + ] + } + }, + { + "name": "SubstringABC1To1", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Substring", + "annotation": [], + "signature": [], + "stringToSub": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}String", + "value": "abc", + "annotation": [] + }, + "startIndex": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + }, + "length": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + } + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}String", + "value": "b", + "annotation": [] + } + } + ] + } + }, + { + "name": "SubstringAB0To3", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Substring", + "annotation": [], + "signature": [], + "stringToSub": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}String", + "value": "ab", + "annotation": [] + }, + "startIndex": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + "length": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "3", + "annotation": [] + } + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}String", + "value": "ab", + "annotation": [] + } + } + ] + } + } + ] + } + }, + { + "name": "Upper", + "context": "Patient", + "accessLevel": "Public", + "annotation": [], + "expression": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "UpperNull", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Upper", + "annotation": [], + "signature": [], + "operand": { + "type": "As", + "asType": "{urn:hl7-org:elm-types:r1}String", + "annotation": [], + "signature": [], + "operand": { + "type": "Null", + "annotation": [] + } + } + } + }, + { + "name": "output", + "value": { + "type": "Null", + "annotation": [] + } + } + ] + } + }, + { + "name": "UpperEmpty", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Upper", + "annotation": [], + "signature": [], + "operand": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}String", + "value": "", + "annotation": [] + } + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}String", + "value": "", + "annotation": [] + } + } + ] + } + }, + { + "name": "UpperA", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Upper", + "annotation": [], + "signature": [], + "operand": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}String", + "value": "a", + "annotation": [] + } + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}String", + "value": "A", + "annotation": [] + } + } + ] + } + }, + { + "name": "UpperB", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Upper", + "annotation": [], + "signature": [], + "operand": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}String", + "value": "B", + "annotation": [] + } + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}String", + "value": "B", + "annotation": [] + } + } + ] + } + }, + { + "name": "UpperAB", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Upper", + "annotation": [], + "signature": [], + "operand": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}String", + "value": "aB", + "annotation": [] + } + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}String", + "value": "AB", + "annotation": [] + } + } + ] + } + } + ] + } + }, + { + "name": "toString tests", + "context": "Patient", + "accessLevel": "Public", + "annotation": [], + "expression": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "QuantityToString", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "ToString", + "annotation": [], + "signature": [], + "operand": { + "type": "Quantity", + "value": 125, + "unit": "cm", + "annotation": [] + } + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}String", + "value": "125 'cm'", + "annotation": [] + } + } + ] + } + }, + { + "name": "DateTimeToString1", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "ToString", + "annotation": [], + "signature": [], + "operand": { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2000", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + } + } + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}String", + "value": "2000-01-01", + "annotation": [] + } + } + ] + } + }, + { + "name": "DateTimeToString2", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "skipped", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}String", + "value": "Answer does not include timezone offset, but default offset depends on test environment", + "annotation": [] + } + } + ] + } + }, + { + "name": "DateTimeToString3", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "ToString", + "annotation": [], + "signature": [], + "operand": { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2000", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + }, + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "8", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "25", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "25", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "300", + "annotation": [] + }, + "timezoneOffset": { + "type": "ToDecimal", + "annotation": [], + "signature": [], + "operand": { + "type": "Negate", + "annotation": [], + "signature": [], + "operand": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "7", + "annotation": [] } - } - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "09:30:01.003", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - } ] - } - } ] - } - } + } + } + } + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}String", + "value": "2000-01-01T08:25:25.300-07:00", + "annotation": [] + } + } + ] + } + }, + { + "name": "TimeToString1", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "ToString", + "annotation": [], + "signature": [], + "operand": { + "type": "Time", + "annotation": [], + "signature": [], + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "9", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "30", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "3", + "annotation": [] + } + } + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}String", + "value": "09:30:01.003", + "annotation": [] + } + } + ] + } + } + ] + } + } + ] + } + } } - diff --git a/test/spec-tests/cql/CqlTypeOperatorsTest.json b/test/spec-tests/cql/CqlTypeOperatorsTest.json index 82d69497..018a1a62 100644 --- a/test/spec-tests/cql/CqlTypeOperatorsTest.json +++ b/test/spec-tests/cql/CqlTypeOperatorsTest.json @@ -1,1521 +1,1695 @@ { - "library" : { - "annotation" : [ { - "translatorVersion" : "3.27.0", - "translatorOptions" : "", - "signatureLevel" : "None", - "type" : "CqlToElmInfo" - } ], - "identifier" : { - "id" : "CqlTypeOperatorsTest", - "version" : "1.4.0" - }, - "schemaIdentifier" : { - "id" : "urn:hl7-org:elm", - "version" : "r1" - }, - "usings" : { - "def" : [ { - "localIdentifier" : "System", - "uri" : "urn:hl7-org:elm-types:r1", - "annotation" : [ ] - }, { - "localIdentifier" : "QUICK", - "uri" : "http://hl7.org/fhir/us/qicore", - "version" : "3.3.0", - "annotation" : [ ] - } ] - }, - "contexts" : { - "def" : [ { - "name" : "Patient", - "annotation" : [ ] - } ] - }, - "statements" : { - "def" : [ { - "name" : "Patient", - "context" : "Patient", - "annotation" : [ ], - "expression" : { - "type" : "SingletonFrom", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "dataType" : "{http://hl7.org/fhir/us/qicore}Patient", - "templateId" : "http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-patient", - "type" : "Retrieve", - "annotation" : [ ], - "include" : [ ], - "codeFilter" : [ ], - "dateFilter" : [ ], - "otherFilter" : [ ] - } - } - }, { - "name" : "As", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ ], - "expression" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "AsQuantity", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "strict" : false, - "type" : "As", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "value" : 45.5, - "unit" : "g", - "type" : "Quantity", - "annotation" : [ ] - }, - "asTypeSpecifier" : { - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier", - "annotation" : [ ] - } - } - }, { - "name" : "output", - "value" : { - "value" : 45.5, - "unit" : "g", - "type" : "Quantity", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "CastAsQuantity", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "strict" : true, - "type" : "As", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "value" : 45.5, - "unit" : "g", - "type" : "Quantity", - "annotation" : [ ] - }, - "asTypeSpecifier" : { - "name" : "{urn:hl7-org:elm-types:r1}Quantity", - "type" : "NamedTypeSpecifier", - "annotation" : [ ] - } - } - }, { - "name" : "output", - "value" : { - "value" : 45.5, - "unit" : "g", - "type" : "Quantity", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "AsDateTime", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "strict" : false, - "type" : "As", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2014", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "01", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "01", - "type" : "Literal", - "annotation" : [ ] - } - }, - "asTypeSpecifier" : { - "name" : "{urn:hl7-org:elm-types:r1}DateTime", - "type" : "NamedTypeSpecifier", - "annotation" : [ ] - } - } - }, { - "name" : "output", - "value" : { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2014", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - } - } - } ] - } - } ] - } - }, { - "name" : "Convert", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ ], - "expression" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "IntegerToDecimal", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "ToDecimal", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal", - "annotation" : [ ] - } - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "5.0", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "IntegerToString", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "ToString", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal", - "annotation" : [ ] - } - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "5", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "StringToIntegerError", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "ToInteger", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "foo", - "type" : "Literal", - "annotation" : [ ] - } - } - }, { - "name" : "output", - "value" : { - "type" : "Null", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "StringToDateTime", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "skipped", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "Wrong answer (different offsets)", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "StringToTime", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "ToTime", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "T14:30:00.0", - "type" : "Literal", - "annotation" : [ ] - } - } - }, { - "name" : "output", - "value" : { - "type" : "Time", - "annotation" : [ ], - "signature" : [ ], - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "14", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "30", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - } - } - } ] - } - }, { - "name" : "StringToDateTimeMalformed", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "ToDateTime", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "2014/01/01", - "type" : "Literal", - "annotation" : [ ] - } - } - }, { - "name" : "output", - "value" : { - "type" : "Null", - "annotation" : [ ] - } - } ] - } - } ] - } - }, { - "name" : "Is", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ ], - "expression" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "IntegerIsInteger", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Is", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal", - "annotation" : [ ] - }, - "isTypeSpecifier" : { - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier", - "annotation" : [ ] - } - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "true", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "StringIsInteger", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Is", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "5", - "type" : "Literal", - "annotation" : [ ] - }, - "isTypeSpecifier" : { - "name" : "{urn:hl7-org:elm-types:r1}Integer", - "type" : "NamedTypeSpecifier", - "annotation" : [ ] - } - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "false", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "ValueSetIsVocabulary", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Is", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "classType" : "{urn:hl7-org:elm-types:r1}ValueSet", - "type" : "Instance", - "annotation" : [ ], - "element" : [ { - "name" : "id", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "123", - "type" : "Literal", - "annotation" : [ ] - } - } ] - }, - "isTypeSpecifier" : { - "name" : "{urn:hl7-org:elm-types:r1}Vocabulary", - "type" : "NamedTypeSpecifier", - "annotation" : [ ] - } - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "true", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - } ] - } - }, { - "name" : "ToBoolean", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ ], - "expression" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "StringNoToBoolean", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "ToBoolean", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "NO", - "type" : "Literal", - "annotation" : [ ] - } - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "false", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - } ] + "library": { + "annotation": [ + { + "type": "CqlToElmInfo", + "translatorVersion": "4.2.0", + "translatorOptions": "", + "signatureLevel": "None" + } + ], + "identifier": { + "id": "CqlTypeOperatorsTest", + "version": "1.4.0" + }, + "schemaIdentifier": { + "id": "urn:hl7-org:elm", + "version": "r1" + }, + "usings": { + "def": [ + { + "localIdentifier": "System", + "uri": "urn:hl7-org:elm-types:r1", + "annotation": [] + }, + { + "localIdentifier": "QUICK", + "uri": "http://hl7.org/fhir/us/qicore", + "version": "3.3.0", + "annotation": [] + } + ] + }, + "contexts": { + "def": [ + { + "name": "Patient", + "annotation": [] + } + ] + }, + "statements": { + "def": [ + { + "name": "Patient", + "context": "Patient", + "annotation": [], + "expression": { + "type": "SingletonFrom", + "annotation": [], + "signature": [], + "operand": { + "type": "Retrieve", + "dataType": "{http://hl7.org/fhir/us/qicore}Patient", + "templateId": "http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-patient", + "annotation": [], + "include": [], + "codeFilter": [], + "dateFilter": [], + "otherFilter": [] } - }, { - "name" : "ToConcept", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ ], - "expression" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "CodeToConcept1", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "ToConcept", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "classType" : "{urn:hl7-org:elm-types:r1}Code", - "type" : "Instance", - "annotation" : [ ], - "element" : [ { - "name" : "code", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "8480-6", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - } - }, { - "name" : "output", - "value" : { - "classType" : "{urn:hl7-org:elm-types:r1}Concept", - "type" : "Instance", - "annotation" : [ ], - "element" : [ { - "name" : "codes", - "value" : { - "type" : "ToList", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "classType" : "{urn:hl7-org:elm-types:r1}Code", - "type" : "Instance", - "annotation" : [ ], - "element" : [ { - "name" : "code", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "8480-6", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } + } + }, + { + "name": "As", + "context": "Patient", + "accessLevel": "Public", + "annotation": [], + "expression": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "AsQuantity", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "As", + "strict": false, + "annotation": [], + "signature": [], + "operand": { + "type": "Quantity", + "value": 45.5, + "unit": "g", + "annotation": [] + }, + "asTypeSpecifier": { + "type": "NamedTypeSpecifier", + "name": "{urn:hl7-org:elm-types:r1}Quantity", + "annotation": [] + } + } + }, + { + "name": "output", + "value": { + "type": "Quantity", + "value": 45.5, + "unit": "g", + "annotation": [] + } + } + ] + } + }, + { + "name": "CastAsQuantity", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "As", + "strict": true, + "annotation": [], + "signature": [], + "operand": { + "type": "Quantity", + "value": 45.5, + "unit": "g", + "annotation": [] + }, + "asTypeSpecifier": { + "type": "NamedTypeSpecifier", + "name": "{urn:hl7-org:elm-types:r1}Quantity", + "annotation": [] + } + } + }, + { + "name": "output", + "value": { + "type": "Quantity", + "value": 45.5, + "unit": "g", + "annotation": [] + } + } + ] + } + }, + { + "name": "AsDateTime", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "As", + "strict": false, + "annotation": [], + "signature": [], + "operand": { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2014", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "01", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "01", + "annotation": [] + } + }, + "asTypeSpecifier": { + "type": "NamedTypeSpecifier", + "name": "{urn:hl7-org:elm-types:r1}DateTime", + "annotation": [] + } + } + }, + { + "name": "output", + "value": { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2014", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + } + } + } + ] + } + } + ] + } + }, + { + "name": "Convert", + "context": "Patient", + "accessLevel": "Public", + "annotation": [], + "expression": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "IntegerToDecimal", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "ToDecimal", + "annotation": [], + "signature": [], + "operand": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "5", + "annotation": [] + } + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "5.0", + "annotation": [] + } + } + ] + } + }, + { + "name": "IntegerToString", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "ToString", + "annotation": [], + "signature": [], + "operand": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "5", + "annotation": [] + } + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}String", + "value": "5", + "annotation": [] + } + } + ] + } + }, + { + "name": "StringToIntegerError", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "ToInteger", + "annotation": [], + "signature": [], + "operand": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}String", + "value": "foo", + "annotation": [] + } + } + }, + { + "name": "output", + "value": { + "type": "Null", + "annotation": [] + } + } + ] + } + }, + { + "name": "StringToDateTime", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "skipped", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}String", + "value": "Wrong answer (different offsets)", + "annotation": [] + } + } + ] + } + }, + { + "name": "StringToTime", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "ToTime", + "annotation": [], + "signature": [], + "operand": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}String", + "value": "T14:30:00.0", + "annotation": [] + } + } + }, + { + "name": "output", + "value": { + "type": "Time", + "annotation": [], + "signature": [], + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "14", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "30", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + } + } + } + ] + } + }, + { + "name": "StringToDateTimeMalformed", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "ToDateTime", + "annotation": [], + "signature": [], + "operand": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}String", + "value": "2014/01/01", + "annotation": [] + } + } + }, + { + "name": "output", + "value": { + "type": "Null", + "annotation": [] + } + } + ] + } + } + ] + } + }, + { + "name": "Is", + "context": "Patient", + "accessLevel": "Public", + "annotation": [], + "expression": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "IntegerIsInteger", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Is", + "annotation": [], + "signature": [], + "operand": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "5", + "annotation": [] + }, + "isTypeSpecifier": { + "type": "NamedTypeSpecifier", + "name": "{urn:hl7-org:elm-types:r1}Integer", + "annotation": [] + } + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "true", + "annotation": [] + } + } + ] + } + }, + { + "name": "StringIsInteger", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Is", + "annotation": [], + "signature": [], + "operand": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}String", + "value": "5", + "annotation": [] + }, + "isTypeSpecifier": { + "type": "NamedTypeSpecifier", + "name": "{urn:hl7-org:elm-types:r1}Integer", + "annotation": [] + } + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "false", + "annotation": [] + } + } + ] + } + }, + { + "name": "ValueSetIsVocabulary", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Is", + "annotation": [], + "signature": [], + "operand": { + "type": "Instance", + "classType": "{urn:hl7-org:elm-types:r1}ValueSet", + "annotation": [], + "element": [ + { + "name": "id", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}String", + "value": "123", + "annotation": [] } - } ] - } - } ] - } - } ] - } - }, { - "name" : "ToDateTime", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ ], - "expression" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "ToDateTime1", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "skipped", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "Wrong answer (different offsets)", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "ToDateTime2", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "skipped", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "Wrong answer (different offsets)", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "ToDateTime3", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "skipped", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "Wrong answer (different offsets)", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "ToDateTime4", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "ToDateTime", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "2014-01-01T12:05:05.955+01:30", - "type" : "Literal", - "annotation" : [ ] - } - } - }, { - "name" : "output", - "value" : { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2014", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - }, - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "12", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "955", - "type" : "Literal", - "annotation" : [ ] - }, - "timezoneOffset" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "1.5", - "type" : "Literal", - "annotation" : [ ] - } - } - } ] - } - }, { - "name" : "ToDateTime5", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "ToDateTime", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "2014-01-01T12:05:05.955-01:15", - "type" : "Literal", - "annotation" : [ ] - } - } - }, { - "name" : "output", - "value" : { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2014", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - }, - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "12", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "955", - "type" : "Literal", - "annotation" : [ ] - }, - "timezoneOffset" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "-1.25", - "type" : "Literal", - "annotation" : [ ] - } - } - } ] - } - }, { - "name" : "ToDateTime6", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "ToDateTime", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "2014-01-01T12:05:05.955Z", - "type" : "Literal", - "annotation" : [ ] - } - } - }, { - "name" : "output", - "value" : { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2014", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - }, - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "12", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "955", - "type" : "Literal", - "annotation" : [ ] - }, - "timezoneOffset" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "0.0", - "type" : "Literal", - "annotation" : [ ] - } - } - } ] - } - }, { - "name" : "ToDateTimeMalformed", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "ToDateTime", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "2014/01/01T12:05:05.955Z", - "type" : "Literal", - "annotation" : [ ] - } - } - }, { - "name" : "output", - "value" : { - "type" : "Null", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "ToDateTimeDate", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "ToDateTime", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "type" : "Date", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2014", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] + } + ] + }, + "isTypeSpecifier": { + "type": "NamedTypeSpecifier", + "name": "{urn:hl7-org:elm-types:r1}Vocabulary", + "annotation": [] + } + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "true", + "annotation": [] + } + } + ] + } + } + ] + } + }, + { + "name": "ToBoolean", + "context": "Patient", + "accessLevel": "Public", + "annotation": [], + "expression": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "StringNoToBoolean", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "ToBoolean", + "annotation": [], + "signature": [], + "operand": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}String", + "value": "NO", + "annotation": [] + } + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "false", + "annotation": [] + } + } + ] + } + } + ] + } + }, + { + "name": "ToConcept", + "context": "Patient", + "accessLevel": "Public", + "annotation": [], + "expression": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "CodeToConcept1", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "ToConcept", + "annotation": [], + "signature": [], + "operand": { + "type": "Instance", + "classType": "{urn:hl7-org:elm-types:r1}Code", + "annotation": [], + "element": [ + { + "name": "code", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}String", + "value": "8480-6", + "annotation": [] } - } - } - }, { - "name" : "output", - "value" : { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2014", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - } - } - } ] - } - }, { - "name" : "ToDateTimeTimeUnspecified", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "IsNull", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "precision" : "Hour", - "type" : "DateTimeComponentFrom", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "type" : "ToDateTime", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "type" : "Date", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2014", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] + } + ] + } + } + }, + { + "name": "output", + "value": { + "type": "Instance", + "classType": "{urn:hl7-org:elm-types:r1}Concept", + "annotation": [], + "element": [ + { + "name": "codes", + "value": { + "type": "ToList", + "annotation": [], + "signature": [], + "operand": { + "type": "Instance", + "classType": "{urn:hl7-org:elm-types:r1}Code", + "annotation": [], + "element": [ + { + "name": "code", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}String", + "value": "8480-6", + "annotation": [] } - } + } + ] } - } - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "true", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - } ] - } - }, { - "name" : "ToDecimal", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ ], - "expression" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "String25D5ToDecimal", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "ToDecimal", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "+25.5", - "type" : "Literal", - "annotation" : [ ] - } - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "25.5", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - } ] - } - }, { - "name" : "ToInteger", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ ], - "expression" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "StringNeg25ToInteger", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "ToInteger", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "-25", - "type" : "Literal", - "annotation" : [ ] - } - } - }, { - "name" : "output", - "value" : { - "type" : "Negate", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "25", - "type" : "Literal", - "annotation" : [ ] - } - } - } ] - } - } ] - } - }, { - "name" : "ToQuantity", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ ], - "expression" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "String5D5CMToQuantity", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "ToQuantity", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "5.5 'cm'", - "type" : "Literal", - "annotation" : [ ] - } - } - }, { - "name" : "output", - "value" : { - "value" : 5.5, - "unit" : "cm", - "type" : "Quantity", - "annotation" : [ ] - } - } ] - } - } ] - } - }, { - "name" : "ToString", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ ], - "expression" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "IntegerNeg5ToString", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "ToString", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "type" : "Negate", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal", - "annotation" : [ ] + } + } + ] + } + } + ] + } + } + ] + } + }, + { + "name": "ToDateTime", + "context": "Patient", + "accessLevel": "Public", + "annotation": [], + "expression": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "ToDateTime1", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "skipped", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}String", + "value": "Wrong answer (different offsets)", + "annotation": [] + } + } + ] + } + }, + { + "name": "ToDateTime2", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "skipped", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}String", + "value": "Wrong answer (different offsets)", + "annotation": [] + } + } + ] + } + }, + { + "name": "ToDateTime3", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "skipped", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}String", + "value": "Wrong answer (different offsets)", + "annotation": [] + } + } + ] + } + }, + { + "name": "ToDateTime4", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "ToDateTime", + "annotation": [], + "signature": [], + "operand": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}String", + "value": "2014-01-01T12:05:05.955+01:30", + "annotation": [] + } + } + }, + { + "name": "output", + "value": { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2014", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + }, + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "12", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "5", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "5", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "955", + "annotation": [] + }, + "timezoneOffset": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "1.5", + "annotation": [] + } + } + } + ] + } + }, + { + "name": "ToDateTime5", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "ToDateTime", + "annotation": [], + "signature": [], + "operand": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}String", + "value": "2014-01-01T12:05:05.955-01:15", + "annotation": [] + } + } + }, + { + "name": "output", + "value": { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2014", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + }, + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "12", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "5", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "5", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "955", + "annotation": [] + }, + "timezoneOffset": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "-1.25", + "annotation": [] + } + } + } + ] + } + }, + { + "name": "ToDateTime6", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "ToDateTime", + "annotation": [], + "signature": [], + "operand": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}String", + "value": "2014-01-01T12:05:05.955Z", + "annotation": [] + } + } + }, + { + "name": "output", + "value": { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2014", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + }, + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "12", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "5", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "5", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "955", + "annotation": [] + }, + "timezoneOffset": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "0.0", + "annotation": [] + } + } + } + ] + } + }, + { + "name": "ToDateTimeMalformed", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "ToDateTime", + "annotation": [], + "signature": [], + "operand": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}String", + "value": "2014/01/01T12:05:05.955Z", + "annotation": [] + } + } + }, + { + "name": "output", + "value": { + "type": "Null", + "annotation": [] + } + } + ] + } + }, + { + "name": "ToDateTimeDate", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "ToDateTime", + "annotation": [], + "signature": [], + "operand": { + "type": "Date", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2014", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + } + } + } + }, + { + "name": "output", + "value": { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2014", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + } + } + } + ] + } + }, + { + "name": "ToDateTimeTimeUnspecified", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "IsNull", + "annotation": [], + "signature": [], + "operand": { + "type": "DateTimeComponentFrom", + "precision": "Hour", + "annotation": [], + "signature": [], + "operand": { + "type": "ToDateTime", + "annotation": [], + "signature": [], + "operand": { + "type": "Date", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2014", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] } - } - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "-5", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "Decimal18D55ToString", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "ToString", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "18.55", - "type" : "Literal", - "annotation" : [ ] - } - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "18.55", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "Quantity5D5CMToString", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "ToString", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "value" : 5.5, - "unit" : "cm", - "type" : "Quantity", - "annotation" : [ ] - } - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "5.5 'cm'", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "BooleanTrueToString", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "ToString", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "true", - "type" : "Literal", - "annotation" : [ ] - } - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "true", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - } ] - } - }, { - "name" : "ToTime", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ ], - "expression" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "ToTime1", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "ToTime", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "T14:30:00.0", - "type" : "Literal", - "annotation" : [ ] - } - } - }, { - "name" : "output", - "value" : { - "type" : "Time", - "annotation" : [ ], - "signature" : [ ], - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "14", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "30", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - } - } - } ] - } - }, { - "name" : "ToTime2", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "ToTime", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "T14:30:00.0+05:30", - "type" : "Literal", - "annotation" : [ ] - } - } - }, { - "name" : "output", - "value" : { - "type" : "Time", - "annotation" : [ ], - "signature" : [ ], - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "14", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "30", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - } - } - } ] - } - }, { - "name" : "ToTime3", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "ToTime", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "T14:30:00.0-05:45", - "type" : "Literal", - "annotation" : [ ] - } - } - }, { - "name" : "output", - "value" : { - "type" : "Time", - "annotation" : [ ], - "signature" : [ ], - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "14", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "30", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - } - } - } ] - } - }, { - "name" : "ToTime4", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "ToTime", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "T14:30:00.0Z", - "type" : "Literal", - "annotation" : [ ] - } - } - }, { - "name" : "output", - "value" : { - "type" : "Time", - "annotation" : [ ], - "signature" : [ ], - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "14", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "30", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - } - } - } ] - } - }, { - "name" : "ToTimeMalformed", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "ToTime", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "T14-30-00.0", - "type" : "Literal", - "annotation" : [ ] - } - } - }, { - "name" : "output", - "value" : { - "type" : "Null", - "annotation" : [ ] - } - } ] - } - } ] - } - } ] - } - } + } + } + } + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "true", + "annotation": [] + } + } + ] + } + } + ] + } + }, + { + "name": "ToDecimal", + "context": "Patient", + "accessLevel": "Public", + "annotation": [], + "expression": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "String25D5ToDecimal", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "ToDecimal", + "annotation": [], + "signature": [], + "operand": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}String", + "value": "+25.5", + "annotation": [] + } + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "25.5", + "annotation": [] + } + } + ] + } + } + ] + } + }, + { + "name": "ToInteger", + "context": "Patient", + "accessLevel": "Public", + "annotation": [], + "expression": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "StringNeg25ToInteger", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "ToInteger", + "annotation": [], + "signature": [], + "operand": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}String", + "value": "-25", + "annotation": [] + } + } + }, + { + "name": "output", + "value": { + "type": "Negate", + "annotation": [], + "signature": [], + "operand": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "25", + "annotation": [] + } + } + } + ] + } + } + ] + } + }, + { + "name": "ToQuantity", + "context": "Patient", + "accessLevel": "Public", + "annotation": [], + "expression": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "String5D5CMToQuantity", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "ToQuantity", + "annotation": [], + "signature": [], + "operand": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}String", + "value": "5.5 'cm'", + "annotation": [] + } + } + }, + { + "name": "output", + "value": { + "type": "Quantity", + "value": 5.5, + "unit": "cm", + "annotation": [] + } + } + ] + } + } + ] + } + }, + { + "name": "ToString", + "context": "Patient", + "accessLevel": "Public", + "annotation": [], + "expression": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "IntegerNeg5ToString", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "ToString", + "annotation": [], + "signature": [], + "operand": { + "type": "Negate", + "annotation": [], + "signature": [], + "operand": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "5", + "annotation": [] + } + } + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}String", + "value": "-5", + "annotation": [] + } + } + ] + } + }, + { + "name": "Decimal18D55ToString", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "ToString", + "annotation": [], + "signature": [], + "operand": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "18.55", + "annotation": [] + } + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}String", + "value": "18.55", + "annotation": [] + } + } + ] + } + }, + { + "name": "Quantity5D5CMToString", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "ToString", + "annotation": [], + "signature": [], + "operand": { + "type": "Quantity", + "value": 5.5, + "unit": "cm", + "annotation": [] + } + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}String", + "value": "5.5 'cm'", + "annotation": [] + } + } + ] + } + }, + { + "name": "BooleanTrueToString", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "ToString", + "annotation": [], + "signature": [], + "operand": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "true", + "annotation": [] + } + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}String", + "value": "true", + "annotation": [] + } + } + ] + } + } + ] + } + }, + { + "name": "ToTime", + "context": "Patient", + "accessLevel": "Public", + "annotation": [], + "expression": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "ToTime1", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "ToTime", + "annotation": [], + "signature": [], + "operand": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}String", + "value": "T14:30:00.0", + "annotation": [] + } + } + }, + { + "name": "output", + "value": { + "type": "Time", + "annotation": [], + "signature": [], + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "14", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "30", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + } + } + } + ] + } + }, + { + "name": "ToTime2", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "ToTime", + "annotation": [], + "signature": [], + "operand": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}String", + "value": "T14:30:00.0+05:30", + "annotation": [] + } + } + }, + { + "name": "output", + "value": { + "type": "Time", + "annotation": [], + "signature": [], + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "14", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "30", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + } + } + } + ] + } + }, + { + "name": "ToTime3", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "ToTime", + "annotation": [], + "signature": [], + "operand": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}String", + "value": "T14:30:00.0-05:45", + "annotation": [] + } + } + }, + { + "name": "output", + "value": { + "type": "Time", + "annotation": [], + "signature": [], + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "14", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "30", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + } + } + } + ] + } + }, + { + "name": "ToTime4", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "ToTime", + "annotation": [], + "signature": [], + "operand": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}String", + "value": "T14:30:00.0Z", + "annotation": [] + } + } + }, + { + "name": "output", + "value": { + "type": "Time", + "annotation": [], + "signature": [], + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "14", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "30", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + } + } + } + ] + } + }, + { + "name": "ToTimeMalformed", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "ToTime", + "annotation": [], + "signature": [], + "operand": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}String", + "value": "T14-30-00.0", + "annotation": [] + } + } + }, + { + "name": "output", + "value": { + "type": "Null", + "annotation": [] + } + } + ] + } + } + ] + } + } + ] + } + } } - diff --git a/test/spec-tests/cql/CqlTypesTest.json b/test/spec-tests/cql/CqlTypesTest.json index 23f53156..b1551874 100644 --- a/test/spec-tests/cql/CqlTypesTest.json +++ b/test/spec-tests/cql/CqlTypesTest.json @@ -1,1497 +1,1642 @@ { - "library" : { - "annotation" : [ { - "translatorVersion" : "3.27.0", - "translatorOptions" : "", - "signatureLevel" : "None", - "type" : "CqlToElmInfo" - } ], - "identifier" : { - "id" : "CqlTypesTest", - "version" : "1.4.0" - }, - "schemaIdentifier" : { - "id" : "urn:hl7-org:elm", - "version" : "r1" - }, - "usings" : { - "def" : [ { - "localIdentifier" : "System", - "uri" : "urn:hl7-org:elm-types:r1", - "annotation" : [ ] - }, { - "localIdentifier" : "QUICK", - "uri" : "http://hl7.org/fhir/us/qicore", - "version" : "3.3.0", - "annotation" : [ ] - } ] - }, - "contexts" : { - "def" : [ { - "name" : "Patient", - "annotation" : [ ] - } ] - }, - "statements" : { - "def" : [ { - "name" : "Patient", - "context" : "Patient", - "annotation" : [ ], - "expression" : { - "type" : "SingletonFrom", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "dataType" : "{http://hl7.org/fhir/us/qicore}Patient", - "templateId" : "http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-patient", - "type" : "Retrieve", - "annotation" : [ ], - "include" : [ ], - "codeFilter" : [ ], - "dateFilter" : [ ], - "otherFilter" : [ ] - } - } - }, { - "name" : "Any", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ ], - "expression" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "AnyQuantity", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "value" : 5.0, - "unit" : "g", - "type" : "Quantity", - "annotation" : [ ] - } - }, { - "name" : "output", - "value" : { - "value" : 5.0, - "unit" : "g", - "type" : "Quantity", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "AnyDateTime", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "4", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "4", - "type" : "Literal", - "annotation" : [ ] - } - } - }, { - "name" : "output", - "value" : { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2012", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "4", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "4", - "type" : "Literal", - "annotation" : [ ] - } - } - } ] - } - }, { - "name" : "AnyTime", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Time", - "annotation" : [ ], - "signature" : [ ], - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "9", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - } - } - }, { - "name" : "output", - "value" : { - "type" : "Time", - "annotation" : [ ], - "signature" : [ ], - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "9", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - } - } - } ] - } - }, { - "name" : "AnyInterval", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal", - "annotation" : [ ] - }, - "high" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "7", - "type" : "Literal", - "annotation" : [ ] - } - } - }, { - "name" : "output", - "value" : { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal", - "annotation" : [ ] - }, - "high" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "7", - "type" : "Literal", - "annotation" : [ ] - } - } - } ] - } - }, { - "name" : "AnyList", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "List", - "annotation" : [ ], - "element" : [ { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal", - "annotation" : [ ] - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal", - "annotation" : [ ] - } ] - } - }, { - "name" : "output", - "value" : { - "type" : "List", - "annotation" : [ ], - "element" : [ { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal", - "annotation" : [ ] - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal", - "annotation" : [ ] - } ] - } - } ] - } - }, { - "name" : "AnyTuple", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "id", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "name" : "name", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "Chris", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "output", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "id", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "name" : "name", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "Chris", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - } ] - } - }, { - "name" : "AnyString", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "path" : "name", - "type" : "Property", - "annotation" : [ ], - "source" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "id", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "5", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "name" : "name", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "Chris", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "Chris", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - } ] + "library": { + "annotation": [ + { + "type": "CqlToElmInfo", + "translatorVersion": "4.2.0", + "translatorOptions": "", + "signatureLevel": "None" + } + ], + "identifier": { + "id": "CqlTypesTest", + "version": "1.4.0" + }, + "schemaIdentifier": { + "id": "urn:hl7-org:elm", + "version": "r1" + }, + "usings": { + "def": [ + { + "localIdentifier": "System", + "uri": "urn:hl7-org:elm-types:r1", + "annotation": [] + }, + { + "localIdentifier": "QUICK", + "uri": "http://hl7.org/fhir/us/qicore", + "version": "3.3.0", + "annotation": [] + } + ] + }, + "contexts": { + "def": [ + { + "name": "Patient", + "annotation": [] + } + ] + }, + "statements": { + "def": [ + { + "name": "Patient", + "context": "Patient", + "annotation": [], + "expression": { + "type": "SingletonFrom", + "annotation": [], + "signature": [], + "operand": { + "type": "Retrieve", + "dataType": "{http://hl7.org/fhir/us/qicore}Patient", + "templateId": "http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-patient", + "annotation": [], + "include": [], + "codeFilter": [], + "dateFilter": [], + "otherFilter": [] } - }, { - "name" : "DateTime", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ ], - "expression" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "DateTimeNull", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "skipped", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "Should DateTime(null) really evaluate to null?", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "DateTimeUpperBoundExcept", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10000", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "12", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "31", - "type" : "Literal", - "annotation" : [ ] - }, - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "23", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "999", - "type" : "Literal", - "annotation" : [ ] - } - } - }, { - "name" : "invalid", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "true", - "type" : "Literal", - "annotation" : [ ] + } + }, + { + "name": "Any", + "context": "Patient", + "accessLevel": "Public", + "annotation": [], + "expression": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "AnyQuantity", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Quantity", + "value": 5, + "unit": "g", + "annotation": [] + } + }, + { + "name": "output", + "value": { + "type": "Quantity", + "value": 5, + "unit": "g", + "annotation": [] + } + } + ] + } + }, + { + "name": "AnyDateTime", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2012", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "4", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "4", + "annotation": [] } - } ] - } - }, { - "name" : "DateTimeLowerBoundExcept", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0000", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - }, - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - } + } + }, + { + "name": "output", + "value": { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2012", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "4", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "4", + "annotation": [] } - }, { - "name" : "invalid", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "true", - "type" : "Literal", - "annotation" : [ ] + } + } + ] + } + }, + { + "name": "AnyTime", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Time", + "annotation": [], + "signature": [], + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "9", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] } - } ] - } - }, { - "name" : "DateTimeProper", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2016", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "7", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "7", - "type" : "Literal", - "annotation" : [ ] - }, - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "6", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "25", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "33", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "910", - "type" : "Literal", - "annotation" : [ ] - } + } + }, + { + "name": "output", + "value": { + "type": "Time", + "annotation": [], + "signature": [], + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "9", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] } - }, { - "name" : "output", - "value" : { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2016", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "7", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "7", - "type" : "Literal", - "annotation" : [ ] - }, - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "6", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "25", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "33", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "910", - "type" : "Literal", - "annotation" : [ ] - } + } + } + ] + } + }, + { + "name": "AnyInterval", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2", + "annotation": [] + }, + "high": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "7", + "annotation": [] } - } ] - } - }, { - "name" : "DateTimeIncomplete", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2015", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - } + } + }, + { + "name": "output", + "value": { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2", + "annotation": [] + }, + "high": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "7", + "annotation": [] } - }, { - "name" : "output", - "value" : { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2015", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - } - } - } ] - } - }, { - "name" : "DateTimeUncertain", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "precision" : "Day", - "type" : "DurationBetween", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2015", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2015", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "3", - "type" : "Literal", - "annotation" : [ ] + } + } + ] + } + }, + { + "name": "AnyList", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "List", + "annotation": [], + "element": [ + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2", + "annotation": [] + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "3", + "annotation": [] + } + ] + } + }, + { + "name": "output", + "value": { + "type": "List", + "annotation": [], + "element": [ + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2", + "annotation": [] + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "3", + "annotation": [] + } + ] + } + } + ] + } + }, + { + "name": "AnyTuple", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "id", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "5", + "annotation": [] + } + }, + { + "name": "name", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}String", + "value": "Chris", + "annotation": [] + } + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "id", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "5", + "annotation": [] + } + }, + { + "name": "name", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}String", + "value": "Chris", + "annotation": [] + } + } + ] + } + } + ] + } + }, + { + "name": "AnyString", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Property", + "path": "name", + "annotation": [], + "source": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "id", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "5", + "annotation": [] } - } ] - } - }, { - "name" : "output", - "value" : { - "lowClosed" : true, - "highClosed" : true, - "type" : "Interval", - "annotation" : [ ], - "low" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "18", - "type" : "Literal", - "annotation" : [ ] - }, - "high" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "49", - "type" : "Literal", - "annotation" : [ ] - } - } - } ] - } - }, { - "name" : "DateTimeMin", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0001", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - }, - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - } - } - }, { - "name" : "output", - "value" : { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - }, - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - } - } - } ] - } - }, { - "name" : "DateTimeMax", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "9999", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "12", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "31", - "type" : "Literal", - "annotation" : [ ] - }, - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "23", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "999", - "type" : "Literal", - "annotation" : [ ] - } - } - }, { - "name" : "output", - "value" : { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "9999", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "12", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "31", - "type" : "Literal", - "annotation" : [ ] - }, - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "23", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "999", - "type" : "Literal", - "annotation" : [ ] - } - } - } ] - } - }, { - "name" : "DateTimeTimeUnspecified", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "IsNull", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "precision" : "Hour", - "type" : "DateTimeComponentFrom", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "type" : "DateTime", - "annotation" : [ ], - "signature" : [ ], - "year" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2015", - "type" : "Literal", - "annotation" : [ ] - }, - "month" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal", - "annotation" : [ ] - }, - "day" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - } + }, + { + "name": "name", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}String", + "value": "Chris", + "annotation": [] } - } + } + ] } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "true", - "type" : "Literal", - "annotation" : [ ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}String", + "value": "Chris", + "annotation": [] + } + } + ] + } + } + ] + } + }, + { + "name": "DateTime", + "context": "Patient", + "accessLevel": "Public", + "annotation": [], + "expression": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "DateTimeNull", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "skipped", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}String", + "value": "Should DateTime(null) really evaluate to null?", + "annotation": [] + } + } + ] + } + }, + { + "name": "DateTimeUpperBoundExcept", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10000", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "12", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "31", + "annotation": [] + }, + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "23", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "999", + "annotation": [] } - } ] - } - } ] - } - }, { - "name" : "Quantity", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ ], - "expression" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "QuantityTest", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "value" : 150.2, - "unit" : "[lb_av]", - "type" : "Quantity", - "annotation" : [ ] + } + }, + { + "name": "invalid", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "true", + "annotation": [] + } + } + ] + } + }, + { + "name": "DateTimeLowerBoundExcept", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0000", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + }, + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] } - }, { - "name" : "output", - "value" : { - "value" : 150.2, - "unit" : "[lb_av]", - "type" : "Quantity", - "annotation" : [ ] + } + }, + { + "name": "invalid", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "true", + "annotation": [] + } + } + ] + } + }, + { + "name": "DateTimeProper", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2016", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "7", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "7", + "annotation": [] + }, + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "6", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "25", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "33", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "910", + "annotation": [] } - } ] - } - }, { - "name" : "QuantityTest2", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "skipped", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "Invalid UCUM unit: According to UCUM spec, custom units only support ASCII characters 33-126, which does not include the space character", - "type" : "Literal", - "annotation" : [ ] + } + }, + { + "name": "output", + "value": { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2016", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "7", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "7", + "annotation": [] + }, + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "6", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "25", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "33", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "910", + "annotation": [] } - } ] - } - }, { - "name" : "QuantityFractionalTooBig", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "value" : 5.999999999, - "unit" : "g", - "type" : "Quantity", - "annotation" : [ ] + } + } + ] + } + }, + { + "name": "DateTimeIncomplete", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2015", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] } - }, { - "name" : "output", - "value" : { - "value" : 5.999999999, - "unit" : "g", - "type" : "Quantity", - "annotation" : [ ] + } + }, + { + "name": "output", + "value": { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2015", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] } - } ] - } - } ] - } - }, { - "name" : "String", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ ], - "expression" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "StringTestEscapeQuotes", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "'I start with a single quote and end with a double quote\"", - "type" : "Literal", - "annotation" : [ ] + } + } + ] + } + }, + { + "name": "DateTimeUncertain", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "DurationBetween", + "precision": "Day", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2015", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + } + }, + { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2015", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "3", + "annotation": [] + } + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Interval", + "lowClosed": true, + "highClosed": true, + "annotation": [], + "low": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "18", + "annotation": [] + }, + "high": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "49", + "annotation": [] } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "'I start with a single quote and end with a double quote\"", - "type" : "Literal", - "annotation" : [ ] + } + } + ] + } + }, + { + "name": "DateTimeMin", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0001", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + }, + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] } - } ] - } - }, { - "name" : "StringUnicodeTest", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "Hi", - "type" : "Literal", - "annotation" : [ ] + } + }, + { + "name": "output", + "value": { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + }, + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "Hi", - "type" : "Literal", - "annotation" : [ ] + } + } + ] + } + }, + { + "name": "DateTimeMax", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "9999", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "12", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "31", + "annotation": [] + }, + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "23", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "999", + "annotation": [] } - } ] - } - } ] - } - }, { - "name" : "Time", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ ], - "expression" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "TimeUpperBoundHours", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "skipped", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "Translation Error: Invalid time input (T24:59:59.999). Use ISO 8601 time representation (hh:mm:ss.fff).", - "type" : "Literal", - "annotation" : [ ] + } + }, + { + "name": "output", + "value": { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "9999", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "12", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "31", + "annotation": [] + }, + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "23", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "999", + "annotation": [] } - } ] - } - }, { - "name" : "TimeUpperBoundMinutes", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "skipped", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "Translation Error: Invalid time input (T23:60:59.999). Use ISO 8601 time representation (hh:mm:ss.fff).", - "type" : "Literal", - "annotation" : [ ] + } + } + ] + } + }, + { + "name": "DateTimeTimeUnspecified", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "IsNull", + "annotation": [], + "signature": [], + "operand": { + "type": "DateTimeComponentFrom", + "precision": "Hour", + "annotation": [], + "signature": [], + "operand": { + "type": "DateTime", + "annotation": [], + "signature": [], + "year": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2015", + "annotation": [] + }, + "month": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2", + "annotation": [] + }, + "day": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + } + } } - } ] - } - }, { - "name" : "TimeUpperBoundSeconds", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "skipped", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "Translation Error: Invalid time input (T23:59:60.999). Use ISO 8601 time representation (hh:mm:ss.fff).", - "type" : "Literal", - "annotation" : [ ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "true", + "annotation": [] + } + } + ] + } + } + ] + } + }, + { + "name": "Quantity", + "context": "Patient", + "accessLevel": "Public", + "annotation": [], + "expression": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "QuantityTest", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Quantity", + "value": 150.2, + "unit": "[lb_av]", + "annotation": [] + } + }, + { + "name": "output", + "value": { + "type": "Quantity", + "value": 150.2, + "unit": "[lb_av]", + "annotation": [] + } + } + ] + } + }, + { + "name": "QuantityTest2", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "skipped", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}String", + "value": "Invalid UCUM unit: According to UCUM spec, custom units only support ASCII characters 33-126, which does not include the space character", + "annotation": [] + } + } + ] + } + }, + { + "name": "QuantityFractionalTooBig", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Quantity", + "value": 5.999999999, + "unit": "g", + "annotation": [] + } + }, + { + "name": "output", + "value": { + "type": "Quantity", + "value": 5.999999999, + "unit": "g", + "annotation": [] + } + } + ] + } + } + ] + } + }, + { + "name": "String", + "context": "Patient", + "accessLevel": "Public", + "annotation": [], + "expression": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "StringTestEscapeQuotes", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}String", + "value": "'I start with a single quote and end with a double quote\"", + "annotation": [] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}String", + "value": "'I start with a single quote and end with a double quote\"", + "annotation": [] + } + } + ] + } + }, + { + "name": "StringUnicodeTest", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}String", + "value": "Hi", + "annotation": [] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}String", + "value": "Hi", + "annotation": [] + } + } + ] + } + } + ] + } + }, + { + "name": "Time", + "context": "Patient", + "accessLevel": "Public", + "annotation": [], + "expression": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "TimeUpperBoundHours", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "skipped", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}String", + "value": "Translation Error: Invalid time input (T24:59:59.999). Use ISO 8601 time representation (hh:mm:ss.fff).", + "annotation": [] + } + } + ] + } + }, + { + "name": "TimeUpperBoundMinutes", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "skipped", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}String", + "value": "Translation Error: Invalid time input (T23:60:59.999). Use ISO 8601 time representation (hh:mm:ss.fff).", + "annotation": [] + } + } + ] + } + }, + { + "name": "TimeUpperBoundSeconds", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "skipped", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}String", + "value": "Translation Error: Invalid time input (T23:59:60.999). Use ISO 8601 time representation (hh:mm:ss.fff).", + "annotation": [] + } + } + ] + } + }, + { + "name": "TimeUpperBoundMillis", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Time", + "annotation": [], + "signature": [], + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "23", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10000", + "annotation": [] } - } ] - } - }, { - "name" : "TimeUpperBoundMillis", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Time", - "annotation" : [ ], - "signature" : [ ], - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "23", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10000", - "type" : "Literal", - "annotation" : [ ] - } + } + }, + { + "name": "invalid", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}String", + "value": "semantic", + "annotation": [] + } + } + ] + } + }, + { + "name": "TimeProper", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Time", + "annotation": [], + "signature": [], + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "25", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "12", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "863", + "annotation": [] } - }, { - "name" : "invalid", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "semantic", - "type" : "Literal", - "annotation" : [ ] + } + }, + { + "name": "output", + "value": { + "type": "Time", + "annotation": [], + "signature": [], + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "25", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "12", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "863", + "annotation": [] } - } ] - } - }, { - "name" : "TimeProper", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Time", - "annotation" : [ ], - "signature" : [ ], - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "25", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "12", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "863", - "type" : "Literal", - "annotation" : [ ] - } + } + } + ] + } + }, + { + "name": "TimeAllMax", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Time", + "annotation": [], + "signature": [], + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "23", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "999", + "annotation": [] } - }, { - "name" : "output", - "value" : { - "type" : "Time", - "annotation" : [ ], - "signature" : [ ], - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "25", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "12", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "863", - "type" : "Literal", - "annotation" : [ ] - } + } + }, + { + "name": "output", + "value": { + "type": "Time", + "annotation": [], + "signature": [], + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "23", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "59", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "999", + "annotation": [] } - } ] - } - }, { - "name" : "TimeAllMax", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Time", - "annotation" : [ ], - "signature" : [ ], - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "23", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "999", - "type" : "Literal", - "annotation" : [ ] - } + } + } + ] + } + }, + { + "name": "TimeAllMin", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Time", + "annotation": [], + "signature": [], + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] } - }, { - "name" : "output", - "value" : { - "type" : "Time", - "annotation" : [ ], - "signature" : [ ], - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "23", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "59", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "999", - "type" : "Literal", - "annotation" : [ ] - } + } + }, + { + "name": "output", + "value": { + "type": "Time", + "annotation": [], + "signature": [], + "hour": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + "minute": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + "second": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + }, + "millisecond": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] } - } ] - } - }, { - "name" : "TimeAllMin", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Time", - "annotation" : [ ], - "signature" : [ ], - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - } - } - }, { - "name" : "output", - "value" : { - "type" : "Time", - "annotation" : [ ], - "signature" : [ ], - "hour" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, - "minute" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, - "second" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - }, - "millisecond" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - } - } - } ] - } - } ] - } - } ] - } - } + } + } + ] + } + } + ] + } + } + ] + } + } } - diff --git a/test/spec-tests/cql/ValueLiteralsAndSelectors.json b/test/spec-tests/cql/ValueLiteralsAndSelectors.json index d8503884..01843faa 100644 --- a/test/spec-tests/cql/ValueLiteralsAndSelectors.json +++ b/test/spec-tests/cql/ValueLiteralsAndSelectors.json @@ -1,2259 +1,2675 @@ { - "library" : { - "annotation" : [ { - "translatorVersion" : "3.27.0", - "translatorOptions" : "", - "signatureLevel" : "None", - "type" : "CqlToElmInfo" - } ], - "identifier" : { - "id" : "ValueLiteralsAndSelectors", - "version" : "1.4.0" - }, - "schemaIdentifier" : { - "id" : "urn:hl7-org:elm", - "version" : "r1" - }, - "usings" : { - "def" : [ { - "localIdentifier" : "System", - "uri" : "urn:hl7-org:elm-types:r1", - "annotation" : [ ] - }, { - "localIdentifier" : "QUICK", - "uri" : "http://hl7.org/fhir/us/qicore", - "version" : "3.3.0", - "annotation" : [ ] - } ] - }, - "contexts" : { - "def" : [ { - "name" : "Patient", - "annotation" : [ ] - } ] - }, - "statements" : { - "def" : [ { - "name" : "Patient", - "context" : "Patient", - "annotation" : [ ], - "expression" : { - "type" : "SingletonFrom", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "dataType" : "{http://hl7.org/fhir/us/qicore}Patient", - "templateId" : "http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-patient", - "type" : "Retrieve", - "annotation" : [ ], - "include" : [ ], - "codeFilter" : [ ], - "dateFilter" : [ ], - "otherFilter" : [ ] - } - } - }, { - "name" : "Null", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ ], - "expression" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "Null", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Null", - "annotation" : [ ] - } - }, { - "name" : "output", - "value" : { - "type" : "Null", - "annotation" : [ ] - } - } ] - } - } ] - } - }, { - "name" : "Boolean", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ ], - "expression" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "BooleanFalse", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "false", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "false", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "BooleanTrue", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "true", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "true", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - } ] + "library": { + "annotation": [ + { + "type": "CqlToElmInfo", + "translatorVersion": "4.2.0", + "translatorOptions": "", + "signatureLevel": "None" + } + ], + "identifier": { + "id": "ValueLiteralsAndSelectors", + "version": "1.4.0" + }, + "schemaIdentifier": { + "id": "urn:hl7-org:elm", + "version": "r1" + }, + "usings": { + "def": [ + { + "localIdentifier": "System", + "uri": "urn:hl7-org:elm-types:r1", + "annotation": [] + }, + { + "localIdentifier": "QUICK", + "uri": "http://hl7.org/fhir/us/qicore", + "version": "3.3.0", + "annotation": [] + } + ] + }, + "contexts": { + "def": [ + { + "name": "Patient", + "annotation": [] + } + ] + }, + "statements": { + "def": [ + { + "name": "Patient", + "context": "Patient", + "annotation": [], + "expression": { + "type": "SingletonFrom", + "annotation": [], + "signature": [], + "operand": { + "type": "Retrieve", + "dataType": "{http://hl7.org/fhir/us/qicore}Patient", + "templateId": "http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-patient", + "annotation": [], + "include": [], + "codeFilter": [], + "dateFilter": [], + "otherFilter": [] } - }, { - "name" : "Integer", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ ], - "expression" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "IntegerZero", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "IntegerPosZero", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "IntegerNegZero", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Negate", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - } - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "0", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "IntegerOne", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "IntegerPosOne", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "IntegerNegOne", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Negate", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - } - } - }, { - "name" : "output", - "value" : { - "type" : "Negate", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - } - } - } ] - } - }, { - "name" : "IntegerTwo", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "IntegerPosTwo", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "IntegerNegTwo", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Negate", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal", - "annotation" : [ ] - } - } - }, { - "name" : "output", - "value" : { - "type" : "Negate", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal", - "annotation" : [ ] - } - } - } ] - } - }, { - "name" : "Integer10Pow9", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Power", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "9", - "type" : "Literal", - "annotation" : [ ] - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1000000000", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "IntegerPos10Pow9", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Power", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "9", - "type" : "Literal", - "annotation" : [ ] - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1000000000", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "IntegerNeg10Pow9", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Negate", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "type" : "Power", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "9", - "type" : "Literal", - "annotation" : [ ] - } ] - } - } - }, { - "name" : "output", - "value" : { - "type" : "Negate", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1000000000", - "type" : "Literal", - "annotation" : [ ] - } - } - } ] - } - }, { - "name" : "Integer2Pow31ToZero1IntegerMaxValue", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Add", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "type" : "Subtract", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "type" : "Power", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal", - "annotation" : [ ] - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "30", - "type" : "Literal", - "annotation" : [ ] - } ] - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - } ] - }, { - "type" : "Power", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal", - "annotation" : [ ] - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "30", - "type" : "Literal", - "annotation" : [ ] - } ] - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2147483647", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "IntegerPos2Pow31ToZero1IntegerMaxValue", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Add", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "type" : "Subtract", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "type" : "Power", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal", - "annotation" : [ ] - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "30", - "type" : "Literal", - "annotation" : [ ] - } ] - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - } ] - }, { - "type" : "Power", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal", - "annotation" : [ ] - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "30", - "type" : "Literal", - "annotation" : [ ] - } ] - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2147483647", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "IntegerNeg2Pow31ToZero1", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Subtract", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "type" : "Add", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "type" : "Negate", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "type" : "Power", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal", - "annotation" : [ ] - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "30", - "type" : "Literal", - "annotation" : [ ] - } ] - } - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - } ] - }, { - "type" : "Power", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal", - "annotation" : [ ] - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "30", - "type" : "Literal", - "annotation" : [ ] - } ] - } ] - } - }, { - "name" : "output", - "value" : { - "type" : "Negate", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2147483647", - "type" : "Literal", - "annotation" : [ ] - } - } - } ] - } - }, { - "name" : "Integer2Pow31", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2147483648", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "name" : "invalid", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "true", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "IntegerPos2Pow31", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2147483648", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "name" : "invalid", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "true", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "IntegerNeg2Pow31IntegerMinValue", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Subtract", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "type" : "Negate", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "type" : "Power", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal", - "annotation" : [ ] - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "30", - "type" : "Literal", - "annotation" : [ ] - } ] + } + }, + { + "name": "Null", + "context": "Patient", + "accessLevel": "Public", + "annotation": [], + "expression": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "Null", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Null", + "annotation": [] + } + }, + { + "name": "output", + "value": { + "type": "Null", + "annotation": [] + } + } + ] + } + } + ] + } + }, + { + "name": "Boolean", + "context": "Patient", + "accessLevel": "Public", + "annotation": [], + "expression": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "BooleanFalse", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "false", + "annotation": [] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "false", + "annotation": [] + } + } + ] + } + }, + { + "name": "BooleanTrue", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "true", + "annotation": [] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "true", + "annotation": [] + } + } + ] + } + } + ] + } + }, + { + "name": "Integer", + "context": "Patient", + "accessLevel": "Public", + "annotation": [], + "expression": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "IntegerZero", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + } + } + ] + } + }, + { + "name": "IntegerPosZero", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + } + } + ] + } + }, + { + "name": "IntegerNegZero", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Negate", + "annotation": [], + "signature": [], + "operand": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + } + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "0", + "annotation": [] + } + } + ] + } + }, + { + "name": "IntegerOne", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + } + } + ] + } + }, + { + "name": "IntegerPosOne", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + } + } + ] + } + }, + { + "name": "IntegerNegOne", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Negate", + "annotation": [], + "signature": [], + "operand": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + } + } + }, + { + "name": "output", + "value": { + "type": "Negate", + "annotation": [], + "signature": [], + "operand": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + } + } + } + ] + } + }, + { + "name": "IntegerTwo", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2", + "annotation": [] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2", + "annotation": [] + } + } + ] + } + }, + { + "name": "IntegerPosTwo", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2", + "annotation": [] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2", + "annotation": [] + } + } + ] + } + }, + { + "name": "IntegerNegTwo", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Negate", + "annotation": [], + "signature": [], + "operand": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2", + "annotation": [] + } + } + }, + { + "name": "output", + "value": { + "type": "Negate", + "annotation": [], + "signature": [], + "operand": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2", + "annotation": [] + } + } + } + ] + } + }, + { + "name": "Integer10Pow9", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Power", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "9", + "annotation": [] + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1000000000", + "annotation": [] + } + } + ] + } + }, + { + "name": "IntegerPos10Pow9", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Power", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "9", + "annotation": [] + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1000000000", + "annotation": [] + } + } + ] + } + }, + { + "name": "IntegerNeg10Pow9", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Negate", + "annotation": [], + "signature": [], + "operand": { + "type": "Power", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "9", + "annotation": [] + } + ] + } + } + }, + { + "name": "output", + "value": { + "type": "Negate", + "annotation": [], + "signature": [], + "operand": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1000000000", + "annotation": [] + } + } + } + ] + } + }, + { + "name": "Integer2Pow31ToZero1IntegerMaxValue", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Add", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Subtract", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Power", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2", + "annotation": [] + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "30", + "annotation": [] + } + ] + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] } - }, { - "type" : "Power", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2", - "type" : "Literal", - "annotation" : [ ] - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "30", - "type" : "Literal", - "annotation" : [ ] - } ] - } ] - } - }, { - "name" : "output", - "value" : { - "type" : "Negate", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2147483648", - "type" : "Literal", - "annotation" : [ ] - } - } - } ] - } - }, { - "name" : "Integer2Pow31ToInf1", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2147483649", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "name" : "invalid", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "true", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "IntegerPos2Pow31ToInf1", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2147483649", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "name" : "invalid", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "true", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "IntegerNeg2Pow31ToInf1", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Negate", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "2147483649", - "type" : "Literal", - "annotation" : [ ] - } - } - }, { - "name" : "invalid", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "true", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - } ] - } - }, { - "name" : "Decimal", - "context" : "Patient", - "accessLevel" : "Public", - "annotation" : [ ], - "expression" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "DecimalZero", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "0.0", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "0.0", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "DecimalPosZero", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "0.0", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "0.0", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "DecimalNegZero", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Negate", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "0.0", - "type" : "Literal", - "annotation" : [ ] - } - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "0.0", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "DecimalOne", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "1.0", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "1.0", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "DecimalPosOne", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "1.0", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "1.0", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "DecimalNegOne", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Negate", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "1.0", - "type" : "Literal", - "annotation" : [ ] - } - } - }, { - "name" : "output", - "value" : { - "type" : "Negate", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "1.0", - "type" : "Literal", - "annotation" : [ ] - } - } - } ] - } - }, { - "name" : "DecimalTwo", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "2.0", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "2.0", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "DecimalPosTwo", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "2.0", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "2.0", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "DecimalNegTwo", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Negate", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "2.0", - "type" : "Literal", - "annotation" : [ ] - } - } - }, { - "name" : "output", - "value" : { - "type" : "Negate", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "2.0", - "type" : "Literal", - "annotation" : [ ] - } - } - } ] - } - }, { - "name" : "Decimal10Pow9", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Power", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "10.0", - "type" : "Literal", - "annotation" : [ ] - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "9.0", - "type" : "Literal", - "annotation" : [ ] - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "1000000000.0", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "DecimalPos10Pow9", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Power", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "10.0", - "type" : "Literal", - "annotation" : [ ] - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "9.0", - "type" : "Literal", - "annotation" : [ ] - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "1000000000.0", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "DecimalNeg10Pow9", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Negate", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "type" : "Power", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "10.0", - "type" : "Literal", - "annotation" : [ ] - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "9.0", - "type" : "Literal", - "annotation" : [ ] - } ] - } - } - }, { - "name" : "output", - "value" : { - "type" : "Negate", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "1000000000.0", - "type" : "Literal", - "annotation" : [ ] - } - } - } ] - } - }, { - "name" : "Decimal2Pow31ToZero1", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Add", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "type" : "Subtract", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "type" : "Power", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "2.0", - "type" : "Literal", - "annotation" : [ ] - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "30.0", - "type" : "Literal", - "annotation" : [ ] - } ] - }, { - "type" : "ToDecimal", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - } - } ] - }, { - "type" : "Power", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "2.0", - "type" : "Literal", - "annotation" : [ ] - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "30.0", - "type" : "Literal", - "annotation" : [ ] - } ] - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "2147483647.0", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "DecimalPos2Pow31ToZero1", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Add", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "type" : "Subtract", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "type" : "Power", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "2.0", - "type" : "Literal", - "annotation" : [ ] - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "30.0", - "type" : "Literal", - "annotation" : [ ] - } ] - }, { - "type" : "ToDecimal", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "1", - "type" : "Literal", - "annotation" : [ ] - } - } ] - }, { - "type" : "Power", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "2.0", - "type" : "Literal", - "annotation" : [ ] - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "30.0", - "type" : "Literal", - "annotation" : [ ] - } ] - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "2147483647.0", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "DecimalNeg2Pow31ToZero1", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Subtract", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "type" : "Add", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "type" : "Negate", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "type" : "Power", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "2.0", - "type" : "Literal", - "annotation" : [ ] - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "30.0", - "type" : "Literal", - "annotation" : [ ] - } ] - } - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "1.0", - "type" : "Literal", - "annotation" : [ ] - } ] - }, { - "type" : "Power", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "2.0", - "type" : "Literal", - "annotation" : [ ] - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "30.0", - "type" : "Literal", - "annotation" : [ ] - } ] - } ] - } - }, { - "name" : "output", - "value" : { - "type" : "Negate", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "2147483647.0", - "type" : "Literal", - "annotation" : [ ] - } - } - } ] - } - }, { - "name" : "Decimal2Pow31", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "skipped", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "Overflows because it thinks it is an integer", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "DecimalPos2Pow31", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "skipped", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "Overflows because it thinks it is an integer", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "DecimalNeg2Pow31", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Subtract", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "type" : "Negate", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "type" : "Power", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "2.0", - "type" : "Literal", - "annotation" : [ ] - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "30.0", - "type" : "Literal", - "annotation" : [ ] - } ] + ] + }, + { + "type": "Power", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2", + "annotation": [] + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "30", + "annotation": [] } - }, { - "type" : "Power", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "2.0", - "type" : "Literal", - "annotation" : [ ] - }, { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "30.0", - "type" : "Literal", - "annotation" : [ ] - } ] - } ] - } - }, { - "name" : "output", - "value" : { - "type" : "Negate", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "2147483648.0", - "type" : "Literal", - "annotation" : [ ] - } - } - } ] - } - }, { - "name" : "Decimal2Pow31ToInf1", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "skipped", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "Overflows because it thinks it is an integer", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "DecimalPos2Pow31ToInf1", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "skipped", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "Overflows because it thinks it is an integer", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "DecimalNeg2Pow31ToInf1", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "skipped", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "Underflows because it thinks it is an integer", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "DecimalZeroStep", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "0.00000000", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "0.00000000", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "DecimalPosZeroStep", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "0.00000000", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "0.00000000", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "DecimalNegZeroStep", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Negate", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "0.00000000", - "type" : "Literal", - "annotation" : [ ] - } - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "0.00000000", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "DecimalOneStep", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Power", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - }, { - "type" : "Negate", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "8", - "type" : "Literal", - "annotation" : [ ] + ] + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2147483647", + "annotation": [] + } + } + ] + } + }, + { + "name": "IntegerPos2Pow31ToZero1IntegerMaxValue", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Add", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Subtract", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Power", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2", + "annotation": [] + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "30", + "annotation": [] + } + ] + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] } - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "0.00000001", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "DecimalPosOneStep", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Power", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - }, { - "type" : "Negate", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "8", - "type" : "Literal", - "annotation" : [ ] + ] + }, + { + "type": "Power", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2", + "annotation": [] + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "30", + "annotation": [] } - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "0.00000001", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "DecimalNegOneStep", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Negate", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "type" : "Power", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - }, { - "type" : "Negate", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "8", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - } - }, { - "name" : "output", - "value" : { - "type" : "Negate", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "0.00000001", - "type" : "Literal", - "annotation" : [ ] - } - } - } ] - } - }, { - "name" : "DecimalTwoStep", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Multiply", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "2.0", - "type" : "Literal", - "annotation" : [ ] - }, { - "type" : "ToDecimal", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "type" : "Power", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - }, { - "type" : "Negate", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "8", - "type" : "Literal", - "annotation" : [ ] + ] + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2147483647", + "annotation": [] + } + } + ] + } + }, + { + "name": "IntegerNeg2Pow31ToZero1", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Subtract", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Add", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Negate", + "annotation": [], + "signature": [], + "operand": { + "type": "Power", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2", + "annotation": [] + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "30", + "annotation": [] } - } ] + ] + } + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] } - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "0.00000002", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "DecimalPosTwoStep", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Multiply", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "2.0", - "type" : "Literal", - "annotation" : [ ] - }, { - "type" : "ToDecimal", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "type" : "Power", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - }, { - "type" : "Negate", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "8", - "type" : "Literal", - "annotation" : [ ] - } - } ] + ] + }, + { + "type": "Power", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2", + "annotation": [] + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "30", + "annotation": [] } - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "0.00000002", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "DecimalNegTwoStep", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Multiply", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "type" : "Negate", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "2.0", - "type" : "Literal", - "annotation" : [ ] + ] + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Negate", + "annotation": [], + "signature": [], + "operand": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2147483647", + "annotation": [] + } + } + } + ] + } + }, + { + "name": "Integer2Pow31", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2147483648", + "annotation": [] + } + }, + { + "name": "invalid", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "true", + "annotation": [] + } + } + ] + } + }, + { + "name": "IntegerPos2Pow31", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2147483648", + "annotation": [] + } + }, + { + "name": "invalid", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "true", + "annotation": [] + } + } + ] + } + }, + { + "name": "IntegerNeg2Pow31IntegerMinValue", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Subtract", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Negate", + "annotation": [], + "signature": [], + "operand": { + "type": "Power", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2", + "annotation": [] + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "30", + "annotation": [] + } + ] + } + }, + { + "type": "Power", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2", + "annotation": [] + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "30", + "annotation": [] + } + ] + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Negate", + "annotation": [], + "signature": [], + "operand": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2147483648", + "annotation": [] + } + } + } + ] + } + }, + { + "name": "Integer2Pow31ToInf1", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2147483649", + "annotation": [] + } + }, + { + "name": "invalid", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "true", + "annotation": [] + } + } + ] + } + }, + { + "name": "IntegerPos2Pow31ToInf1", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2147483649", + "annotation": [] + } + }, + { + "name": "invalid", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "true", + "annotation": [] + } + } + ] + } + }, + { + "name": "IntegerNeg2Pow31ToInf1", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Negate", + "annotation": [], + "signature": [], + "operand": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "2147483649", + "annotation": [] + } + } + }, + { + "name": "invalid", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "true", + "annotation": [] + } + } + ] + } + } + ] + } + }, + { + "name": "Decimal", + "context": "Patient", + "accessLevel": "Public", + "annotation": [], + "expression": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "DecimalZero", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "0.0", + "annotation": [] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "0.0", + "annotation": [] + } + } + ] + } + }, + { + "name": "DecimalPosZero", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "0.0", + "annotation": [] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "0.0", + "annotation": [] + } + } + ] + } + }, + { + "name": "DecimalNegZero", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Negate", + "annotation": [], + "signature": [], + "operand": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "0.0", + "annotation": [] + } + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "0.0", + "annotation": [] + } + } + ] + } + }, + { + "name": "DecimalOne", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "1.0", + "annotation": [] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "1.0", + "annotation": [] + } + } + ] + } + }, + { + "name": "DecimalPosOne", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "1.0", + "annotation": [] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "1.0", + "annotation": [] + } + } + ] + } + }, + { + "name": "DecimalNegOne", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Negate", + "annotation": [], + "signature": [], + "operand": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "1.0", + "annotation": [] + } + } + }, + { + "name": "output", + "value": { + "type": "Negate", + "annotation": [], + "signature": [], + "operand": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "1.0", + "annotation": [] + } + } + } + ] + } + }, + { + "name": "DecimalTwo", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "2.0", + "annotation": [] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "2.0", + "annotation": [] + } + } + ] + } + }, + { + "name": "DecimalPosTwo", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "2.0", + "annotation": [] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "2.0", + "annotation": [] + } + } + ] + } + }, + { + "name": "DecimalNegTwo", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Negate", + "annotation": [], + "signature": [], + "operand": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "2.0", + "annotation": [] + } + } + }, + { + "name": "output", + "value": { + "type": "Negate", + "annotation": [], + "signature": [], + "operand": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "2.0", + "annotation": [] + } + } + } + ] + } + }, + { + "name": "Decimal10Pow9", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Power", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "10.0", + "annotation": [] + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "9.0", + "annotation": [] + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "1000000000.0", + "annotation": [] + } + } + ] + } + }, + { + "name": "DecimalPos10Pow9", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Power", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "10.0", + "annotation": [] + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "9.0", + "annotation": [] + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "1000000000.0", + "annotation": [] + } + } + ] + } + }, + { + "name": "DecimalNeg10Pow9", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Negate", + "annotation": [], + "signature": [], + "operand": { + "type": "Power", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "10.0", + "annotation": [] + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "9.0", + "annotation": [] + } + ] + } + } + }, + { + "name": "output", + "value": { + "type": "Negate", + "annotation": [], + "signature": [], + "operand": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "1000000000.0", + "annotation": [] + } + } + } + ] + } + }, + { + "name": "Decimal2Pow31ToZero1", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Add", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Subtract", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Power", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "2.0", + "annotation": [] + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "30.0", + "annotation": [] + } + ] + }, + { + "type": "ToDecimal", + "annotation": [], + "signature": [], + "operand": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + } + } + ] + }, + { + "type": "Power", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "2.0", + "annotation": [] + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "30.0", + "annotation": [] } - }, { - "type" : "ToDecimal", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "type" : "Power", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - }, { - "type" : "Negate", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "8", - "type" : "Literal", - "annotation" : [ ] + ] + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "2147483647.0", + "annotation": [] + } + } + ] + } + }, + { + "name": "DecimalPos2Pow31ToZero1", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Add", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Subtract", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Power", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "2.0", + "annotation": [] + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "30.0", + "annotation": [] + } + ] + }, + { + "type": "ToDecimal", + "annotation": [], + "signature": [], + "operand": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "1", + "annotation": [] + } + } + ] + }, + { + "type": "Power", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "2.0", + "annotation": [] + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "30.0", + "annotation": [] + } + ] + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "2147483647.0", + "annotation": [] + } + } + ] + } + }, + { + "name": "DecimalNeg2Pow31ToZero1", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Subtract", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Add", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Negate", + "annotation": [], + "signature": [], + "operand": { + "type": "Power", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "2.0", + "annotation": [] + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "30.0", + "annotation": [] } - } ] + ] + } + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "1.0", + "annotation": [] } - } ] - } - }, { - "name" : "output", - "value" : { - "type" : "Negate", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "0.00000002", - "type" : "Literal", - "annotation" : [ ] - } - } - } ] - } - }, { - "name" : "DecimalTenStep", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Power", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - }, { - "type" : "Negate", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "7", - "type" : "Literal", - "annotation" : [ ] + ] + }, + { + "type": "Power", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "2.0", + "annotation": [] + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "30.0", + "annotation": [] } - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "0.0000001", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "DecimalPosTenStep", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Power", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - }, { - "type" : "Negate", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "7", - "type" : "Literal", - "annotation" : [ ] + ] + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Negate", + "annotation": [], + "signature": [], + "operand": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "2147483647.0", + "annotation": [] + } + } + } + ] + } + }, + { + "name": "Decimal2Pow31", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "skipped", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}String", + "value": "Overflows because it thinks it is an integer", + "annotation": [] + } + } + ] + } + }, + { + "name": "DecimalPos2Pow31", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "skipped", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}String", + "value": "Overflows because it thinks it is an integer", + "annotation": [] + } + } + ] + } + }, + { + "name": "DecimalNeg2Pow31", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Subtract", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Negate", + "annotation": [], + "signature": [], + "operand": { + "type": "Power", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "2.0", + "annotation": [] + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "30.0", + "annotation": [] + } + ] + } + }, + { + "type": "Power", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "2.0", + "annotation": [] + }, + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "30.0", + "annotation": [] } - } ] - } - }, { - "name" : "output", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "0.0000001", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "DecimalNegTenStep", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Negate", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "type" : "Power", - "annotation" : [ ], - "signature" : [ ], - "operand" : [ { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "10", - "type" : "Literal", - "annotation" : [ ] - }, { - "type" : "Negate", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Integer", - "value" : "7", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - } - }, { - "name" : "output", - "value" : { - "type" : "Negate", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "0.0000001", - "type" : "Literal", - "annotation" : [ ] - } - } - } ] - } - }, { - "name" : "DecimalTenthStep", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "0.000000001", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "name" : "invalid", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "true", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "DecimalPosTenthStep", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "0.000000001", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "name" : "invalid", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "true", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "DecimalNegTenthStep", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Negate", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "0.000000001", - "type" : "Literal", - "annotation" : [ ] - } - } - }, { - "name" : "invalid", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "true", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "Decimal10Pow28ToZeroOneStepDecimalMaxValue", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "skipped", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "Wrong answer (null vs big number)", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "DecimalPos10Pow28ToZeroOneStepDecimalMaxValue", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "skipped", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "Wrong answer (null vs big number)", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "DecimalNeg10Pow28ToZeroOneStepDecimalMinValue", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "skipped", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}String", - "value" : "Wrong answer (null vs big number)", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "Decimal10Pow28", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "10000000000000000000000000000.00000000", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "name" : "invalid", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "true", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "DecimalPos10Pow28", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "10000000000000000000000000000.00000000", - "type" : "Literal", - "annotation" : [ ] - } - }, { - "name" : "invalid", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "true", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - }, { - "name" : "DecimalNeg10Pow28", - "value" : { - "type" : "Tuple", - "annotation" : [ ], - "element" : [ { - "name" : "expression", - "value" : { - "type" : "Negate", - "annotation" : [ ], - "signature" : [ ], - "operand" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", - "value" : "10000000000000000000000000000.00000000", - "type" : "Literal", - "annotation" : [ ] - } - } - }, { - "name" : "invalid", - "value" : { - "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", - "value" : "true", - "type" : "Literal", - "annotation" : [ ] - } - } ] - } - } ] - } - } ] - } - } + ] + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Negate", + "annotation": [], + "signature": [], + "operand": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "2147483648.0", + "annotation": [] + } + } + } + ] + } + }, + { + "name": "Decimal2Pow31ToInf1", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "skipped", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}String", + "value": "Overflows because it thinks it is an integer", + "annotation": [] + } + } + ] + } + }, + { + "name": "DecimalPos2Pow31ToInf1", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "skipped", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}String", + "value": "Overflows because it thinks it is an integer", + "annotation": [] + } + } + ] + } + }, + { + "name": "DecimalNeg2Pow31ToInf1", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "skipped", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}String", + "value": "Underflows because it thinks it is an integer", + "annotation": [] + } + } + ] + } + }, + { + "name": "DecimalZeroStep", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "0.00000000", + "annotation": [] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "0.00000000", + "annotation": [] + } + } + ] + } + }, + { + "name": "DecimalPosZeroStep", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "0.00000000", + "annotation": [] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "0.00000000", + "annotation": [] + } + } + ] + } + }, + { + "name": "DecimalNegZeroStep", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Negate", + "annotation": [], + "signature": [], + "operand": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "0.00000000", + "annotation": [] + } + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "0.00000000", + "annotation": [] + } + } + ] + } + }, + { + "name": "DecimalOneStep", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Power", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + }, + { + "type": "Negate", + "annotation": [], + "signature": [], + "operand": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "8", + "annotation": [] + } + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "0.00000001", + "annotation": [] + } + } + ] + } + }, + { + "name": "DecimalPosOneStep", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Power", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + }, + { + "type": "Negate", + "annotation": [], + "signature": [], + "operand": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "8", + "annotation": [] + } + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "0.00000001", + "annotation": [] + } + } + ] + } + }, + { + "name": "DecimalNegOneStep", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Negate", + "annotation": [], + "signature": [], + "operand": { + "type": "Power", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + }, + { + "type": "Negate", + "annotation": [], + "signature": [], + "operand": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "8", + "annotation": [] + } + } + ] + } + } + }, + { + "name": "output", + "value": { + "type": "Negate", + "annotation": [], + "signature": [], + "operand": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "0.00000001", + "annotation": [] + } + } + } + ] + } + }, + { + "name": "DecimalTwoStep", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Multiply", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "2.0", + "annotation": [] + }, + { + "type": "ToDecimal", + "annotation": [], + "signature": [], + "operand": { + "type": "Power", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + }, + { + "type": "Negate", + "annotation": [], + "signature": [], + "operand": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "8", + "annotation": [] + } + } + ] + } + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "0.00000002", + "annotation": [] + } + } + ] + } + }, + { + "name": "DecimalPosTwoStep", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Multiply", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "2.0", + "annotation": [] + }, + { + "type": "ToDecimal", + "annotation": [], + "signature": [], + "operand": { + "type": "Power", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + }, + { + "type": "Negate", + "annotation": [], + "signature": [], + "operand": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "8", + "annotation": [] + } + } + ] + } + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "0.00000002", + "annotation": [] + } + } + ] + } + }, + { + "name": "DecimalNegTwoStep", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Multiply", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Negate", + "annotation": [], + "signature": [], + "operand": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "2.0", + "annotation": [] + } + }, + { + "type": "ToDecimal", + "annotation": [], + "signature": [], + "operand": { + "type": "Power", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + }, + { + "type": "Negate", + "annotation": [], + "signature": [], + "operand": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "8", + "annotation": [] + } + } + ] + } + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Negate", + "annotation": [], + "signature": [], + "operand": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "0.00000002", + "annotation": [] + } + } + } + ] + } + }, + { + "name": "DecimalTenStep", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Power", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + }, + { + "type": "Negate", + "annotation": [], + "signature": [], + "operand": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "7", + "annotation": [] + } + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "0.0000001", + "annotation": [] + } + } + ] + } + }, + { + "name": "DecimalPosTenStep", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Power", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + }, + { + "type": "Negate", + "annotation": [], + "signature": [], + "operand": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "7", + "annotation": [] + } + } + ] + } + }, + { + "name": "output", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "0.0000001", + "annotation": [] + } + } + ] + } + }, + { + "name": "DecimalNegTenStep", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Negate", + "annotation": [], + "signature": [], + "operand": { + "type": "Power", + "annotation": [], + "signature": [], + "operand": [ + { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "10", + "annotation": [] + }, + { + "type": "Negate", + "annotation": [], + "signature": [], + "operand": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Integer", + "value": "7", + "annotation": [] + } + } + ] + } + } + }, + { + "name": "output", + "value": { + "type": "Negate", + "annotation": [], + "signature": [], + "operand": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "0.0000001", + "annotation": [] + } + } + } + ] + } + }, + { + "name": "DecimalTenthStep", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "0.000000001", + "annotation": [] + } + }, + { + "name": "invalid", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "true", + "annotation": [] + } + } + ] + } + }, + { + "name": "DecimalPosTenthStep", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "0.000000001", + "annotation": [] + } + }, + { + "name": "invalid", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "true", + "annotation": [] + } + } + ] + } + }, + { + "name": "DecimalNegTenthStep", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Negate", + "annotation": [], + "signature": [], + "operand": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "0.000000001", + "annotation": [] + } + } + }, + { + "name": "invalid", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "true", + "annotation": [] + } + } + ] + } + }, + { + "name": "Decimal10Pow28ToZeroOneStepDecimalMaxValue", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "skipped", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}String", + "value": "Wrong answer (null vs big number)", + "annotation": [] + } + } + ] + } + }, + { + "name": "DecimalPos10Pow28ToZeroOneStepDecimalMaxValue", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "skipped", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}String", + "value": "Wrong answer (null vs big number)", + "annotation": [] + } + } + ] + } + }, + { + "name": "DecimalNeg10Pow28ToZeroOneStepDecimalMinValue", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "skipped", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}String", + "value": "Wrong answer (null vs big number)", + "annotation": [] + } + } + ] + } + }, + { + "name": "Decimal10Pow28", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "10000000000000000000000000000.00000000", + "annotation": [] + } + }, + { + "name": "invalid", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "true", + "annotation": [] + } + } + ] + } + }, + { + "name": "DecimalPos10Pow28", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "10000000000000000000000000000.00000000", + "annotation": [] + } + }, + { + "name": "invalid", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "true", + "annotation": [] + } + } + ] + } + }, + { + "name": "DecimalNeg10Pow28", + "value": { + "type": "Tuple", + "annotation": [], + "element": [ + { + "name": "expression", + "value": { + "type": "Negate", + "annotation": [], + "signature": [], + "operand": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Decimal", + "value": "10000000000000000000000000000.00000000", + "annotation": [] + } + } + }, + { + "name": "invalid", + "value": { + "type": "Literal", + "valueType": "{urn:hl7-org:elm-types:r1}Boolean", + "value": "true", + "annotation": [] + } + } + ] + } + } + ] + } + } + ] + } + } } - diff --git a/test/spec-tests/prettify-json.js b/test/spec-tests/prettify-json.js new file mode 100644 index 00000000..0f41d765 --- /dev/null +++ b/test/spec-tests/prettify-json.js @@ -0,0 +1,31 @@ +/* eslint-disable no-console */ +const fs = require('fs'); +const path = require('path'); + +const cqlDir = path.join(__dirname, 'cql'); + +let entries; +try { + entries = fs.readdirSync(cqlDir, { withFileTypes: true }); +} catch (e) { + console.error(`ERROR: Could not read folder: ${cqlDir}\n${e.message}`); + process.exit(1); +} + +const jsonFiles = entries + .filter(e => e.isFile() && e.name.toLowerCase().endsWith('.json')) + .map(e => path.join(cqlDir, e.name)); + +for (const file of jsonFiles) { + try { + const json = JSON.parse(fs.readFileSync(file, 'utf8')); + const prettyJSON = JSON.stringify(json, null, 2) + '\n'; + + if (prettyJSON !== json) { + fs.writeFileSync(file, prettyJSON, 'utf8'); + console.log(`Prettified ${file}`); + } + } catch (err) { + console.error(`ERROR: Failed to prettify ${file}:\n ${err.message}`); + } +}